2020-09-24 05:16:13 +02:00
|
|
|
.set noat # allow manual use of $at
|
2020-08-04 08:49:11 +02:00
|
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
|
|
|
|
glabel func_80057224
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 32624 80057224 27BDFFE8 */ addiu $sp, $sp, -0x18
|
|
|
|
/* 32628 80057228 308400FF */ andi $a0, $a0, 0xff
|
|
|
|
/* 3262C 8005722C 00041140 */ sll $v0, $a0, 5
|
|
|
|
/* 32630 80057230 3C038008 */ lui $v1, 0x8008
|
|
|
|
/* 32634 80057234 8C638E54 */ lw $v1, -0x71ac($v1)
|
|
|
|
/* 32638 80057238 00441023 */ subu $v0, $v0, $a0
|
|
|
|
/* 3263C 8005723C AFBF0010 */ sw $ra, 0x10($sp)
|
|
|
|
/* 32640 80057240 8C63001C */ lw $v1, 0x1c($v1)
|
|
|
|
/* 32644 80057244 00021080 */ sll $v0, $v0, 2
|
|
|
|
/* 32648 80057248 00623021 */ addu $a2, $v1, $v0
|
|
|
|
/* 3264C 8005724C ACC50018 */ sw $a1, 0x18($a2)
|
|
|
|
/* 32650 80057250 24C50004 */ addiu $a1, $a2, 4
|
|
|
|
/* 32654 80057254 8CA20014 */ lw $v0, 0x14($a1)
|
|
|
|
/* 32658 80057258 8C420000 */ lw $v0, ($v0)
|
|
|
|
/* 3265C 8005725C ACC00028 */ sw $zero, 0x28($a2)
|
|
|
|
/* 32660 80057260 ACC20034 */ sw $v0, 0x34($a2)
|
|
|
|
/* 32664 80057264 8CA40014 */ lw $a0, 0x14($a1)
|
|
|
|
/* 32668 80057268 90830024 */ lbu $v1, 0x24($a0)
|
|
|
|
/* 3266C 8005726C 10600005 */ beqz $v1, .L80057284
|
|
|
|
/* 32670 80057270 24020001 */ addiu $v0, $zero, 1
|
|
|
|
/* 32674 80057274 10620022 */ beq $v1, $v0, .L80057300
|
|
|
|
/* 32678 80057278 00000000 */ nop
|
|
|
|
/* 3267C 8005727C 08015CCE */ j .L80057338
|
|
|
|
/* 32680 80057280 00000000 */ nop
|
2020-08-04 08:49:11 +02:00
|
|
|
.L80057284:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 32684 80057284 3C0338E3 */ lui $v1, 0x38e3
|
|
|
|
/* 32688 80057288 8C820004 */ lw $v0, 4($a0)
|
|
|
|
/* 3268C 8005728C 34638E39 */ ori $v1, $v1, 0x8e39
|
|
|
|
/* 32690 80057290 00430019 */ multu $v0, $v1
|
|
|
|
/* 32694 80057294 00003810 */ mfhi $a3
|
|
|
|
/* 32698 80057298 00071842 */ srl $v1, $a3, 1
|
|
|
|
/* 3269C 8005729C 000310C0 */ sll $v0, $v1, 3
|
|
|
|
/* 326A0 800572A0 00431021 */ addu $v0, $v0, $v1
|
|
|
|
/* 326A4 800572A4 AC820004 */ sw $v0, 4($a0)
|
|
|
|
/* 326A8 800572A8 8CA20014 */ lw $v0, 0x14($a1)
|
|
|
|
/* 326AC 800572AC 9442001C */ lhu $v0, 0x1c($v0)
|
|
|
|
/* 326B0 800572B0 ACC2001C */ sw $v0, 0x1c($a2)
|
|
|
|
/* 326B4 800572B4 8CA30014 */ lw $v1, 0x14($a1)
|
|
|
|
/* 326B8 800572B8 8C620010 */ lw $v0, 0x10($v1)
|
|
|
|
/* 326BC 800572BC 5040001C */ beql $v0, $zero, .L80057330
|
|
|
|
/* 326C0 800572C0 ACC00014 */ sw $zero, 0x14($a2)
|
|
|
|
/* 326C4 800572C4 8C62000C */ lw $v0, 0xc($v1)
|
|
|
|
/* 326C8 800572C8 ACC2000C */ sw $v0, 0xc($a2)
|
|
|
|
/* 326CC 800572CC 8CA20014 */ lw $v0, 0x14($a1)
|
|
|
|
/* 326D0 800572D0 8C420010 */ lw $v0, 0x10($v0)
|
|
|
|
/* 326D4 800572D4 ACC20010 */ sw $v0, 0x10($a2)
|
|
|
|
/* 326D8 800572D8 8CA20014 */ lw $v0, 0x14($a1)
|
|
|
|
/* 326DC 800572DC 8C420014 */ lw $v0, 0x14($v0)
|
|
|
|
/* 326E0 800572E0 ACC20014 */ sw $v0, 0x14($a2)
|
|
|
|
/* 326E4 800572E4 8CA20014 */ lw $v0, 0x14($a1)
|
|
|
|
/* 326E8 800572E8 8CC50008 */ lw $a1, 8($a2)
|
|
|
|
/* 326EC 800572EC 8C440008 */ lw $a0, 8($v0)
|
|
|
|
/* 326F0 800572F0 0C015FF6 */ jal func_80057FD8
|
|
|
|
/* 326F4 800572F4 24060020 */ addiu $a2, $zero, 0x20
|
|
|
|
/* 326F8 800572F8 08015CCE */ j .L80057338
|
|
|
|
/* 326FC 800572FC 00000000 */ nop
|
2020-08-04 08:49:11 +02:00
|
|
|
.L80057300:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 32700 80057300 8C820010 */ lw $v0, 0x10($a0)
|
|
|
|
/* 32704 80057304 5040000A */ beql $v0, $zero, .L80057330
|
|
|
|
/* 32708 80057308 ACC00014 */ sw $zero, 0x14($a2)
|
|
|
|
/* 3270C 8005730C 8C82000C */ lw $v0, 0xc($a0)
|
|
|
|
/* 32710 80057310 ACC2000C */ sw $v0, 0xc($a2)
|
|
|
|
/* 32714 80057314 8CA20014 */ lw $v0, 0x14($a1)
|
|
|
|
/* 32718 80057318 8C420010 */ lw $v0, 0x10($v0)
|
|
|
|
/* 3271C 8005731C ACC20010 */ sw $v0, 0x10($a2)
|
|
|
|
/* 32720 80057320 8CA20014 */ lw $v0, 0x14($a1)
|
|
|
|
/* 32724 80057324 8C420014 */ lw $v0, 0x14($v0)
|
|
|
|
/* 32728 80057328 08015CCE */ j .L80057338
|
|
|
|
/* 3272C 8005732C ACC20014 */ sw $v0, 0x14($a2)
|
2020-08-04 08:49:11 +02:00
|
|
|
.L80057330:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 32730 80057330 ACC00010 */ sw $zero, 0x10($a2)
|
|
|
|
/* 32734 80057334 ACC0000C */ sw $zero, 0xc($a2)
|
2020-08-04 08:49:11 +02:00
|
|
|
.L80057338:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 32738 80057338 8FBF0010 */ lw $ra, 0x10($sp)
|
|
|
|
/* 3273C 8005733C 03E00008 */ jr $ra
|
|
|
|
/* 32740 80057340 27BD0018 */ addiu $sp, $sp, 0x18
|