Merge branch 'master' of github.com:pmret/papermario into werror

This commit is contained in:
Alex Bates 2021-02-10 15:05:49 +00:00
commit e07dcb4da6
178 changed files with 12469 additions and 9486 deletions

View File

@ -11,3 +11,6 @@ indent_size = 2
[{Makefile,*.mk}] [{Makefile,*.mk}]
indent_style = tab indent_style = tab
[*.msg]
indent_style = tab

File diff suppressed because one or more lines are too long

View File

@ -1,164 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802187E0_431180
/* 431180 802187E0 27BDFFA8 */ addiu $sp, $sp, -0x58
/* 431184 802187E4 AFB40020 */ sw $s4, 0x20($sp)
/* 431188 802187E8 0080A02D */ daddu $s4, $a0, $zero
/* 43118C 802187EC AFBF0024 */ sw $ra, 0x24($sp)
/* 431190 802187F0 AFB3001C */ sw $s3, 0x1c($sp)
/* 431194 802187F4 AFB20018 */ sw $s2, 0x18($sp)
/* 431198 802187F8 AFB10014 */ sw $s1, 0x14($sp)
/* 43119C 802187FC AFB00010 */ sw $s0, 0x10($sp)
/* 4311A0 80218800 F7BE0050 */ sdc1 $f30, 0x50($sp)
/* 4311A4 80218804 F7BC0048 */ sdc1 $f28, 0x48($sp)
/* 4311A8 80218808 F7BA0040 */ sdc1 $f26, 0x40($sp)
/* 4311AC 8021880C F7B80038 */ sdc1 $f24, 0x38($sp)
/* 4311B0 80218810 F7B60030 */ sdc1 $f22, 0x30($sp)
/* 4311B4 80218814 F7B40028 */ sdc1 $f20, 0x28($sp)
/* 4311B8 80218818 8E90000C */ lw $s0, 0xc($s4)
/* 4311BC 8021881C 8E050000 */ lw $a1, ($s0)
/* 4311C0 80218820 0C0B1EAF */ jal get_variable
/* 4311C4 80218824 26100004 */ addiu $s0, $s0, 4
/* 4311C8 80218828 44820000 */ mtc1 $v0, $f0
/* 4311CC 8021882C 00000000 */ nop
/* 4311D0 80218830 46800021 */ cvt.d.w $f0, $f0
/* 4311D4 80218834 8E110000 */ lw $s1, ($s0)
/* 4311D8 80218838 26100004 */ addiu $s0, $s0, 4
/* 4311DC 8021883C 3C014024 */ lui $at, 0x4024
/* 4311E0 80218840 44811800 */ mtc1 $at, $f3
/* 4311E4 80218844 44801000 */ mtc1 $zero, $f2
/* 4311E8 80218848 3C0140C9 */ lui $at, 0x40c9
/* 4311EC 8021884C 34210FD0 */ ori $at, $at, 0xfd0
/* 4311F0 80218850 4481A000 */ mtc1 $at, $f20
/* 4311F4 80218854 8E130000 */ lw $s3, ($s0)
/* 4311F8 80218858 46220003 */ div.d $f0, $f0, $f2
/* 4311FC 8021885C 462007A0 */ cvt.s.d $f30, $f0
/* 431200 80218860 4614F502 */ mul.s $f20, $f30, $f20
/* 431204 80218864 00000000 */ nop
/* 431208 80218868 26100004 */ addiu $s0, $s0, 4
/* 43120C 8021886C 8E120000 */ lw $s2, ($s0)
/* 431210 80218870 3C0143B4 */ lui $at, 0x43b4
/* 431214 80218874 44810000 */ mtc1 $at, $f0
/* 431218 80218878 8E100004 */ lw $s0, 4($s0)
/* 43121C 8021887C 4600A503 */ div.s $f20, $f20, $f0
/* 431220 80218880 0C00A85B */ jal sin_rad
/* 431224 80218884 4600A306 */ mov.s $f12, $f20
/* 431228 80218888 3C014100 */ lui $at, 0x4100
/* 43122C 8021888C 44816000 */ mtc1 $at, $f12
/* 431230 80218890 00000000 */ nop
/* 431234 80218894 460CA302 */ mul.s $f12, $f20, $f12
/* 431238 80218898 00000000 */ nop
/* 43123C 8021889C 3C014316 */ lui $at, 0x4316
/* 431240 802188A0 4481E000 */ mtc1 $at, $f28
/* 431244 802188A4 00000000 */ nop
/* 431248 802188A8 461C0582 */ mul.s $f22, $f0, $f28
/* 43124C 802188AC 00000000 */ nop
/* 431250 802188B0 4480D000 */ mtc1 $zero, $f26
/* 431254 802188B4 0C00A85B */ jal sin_rad
/* 431258 802188B8 461AB580 */ add.s $f22, $f22, $f26
/* 43125C 802188BC 3C014120 */ lui $at, 0x4120
/* 431260 802188C0 44811000 */ mtc1 $at, $f2
/* 431264 802188C4 00000000 */ nop
/* 431268 802188C8 46020602 */ mul.s $f24, $f0, $f2
/* 43126C 802188CC 00000000 */ nop
/* 431270 802188D0 4600A306 */ mov.s $f12, $f20
/* 431274 802188D4 0C00A874 */ jal cos_rad
/* 431278 802188D8 461AC600 */ add.s $f24, $f24, $f26
/* 43127C 802188DC 0280202D */ daddu $a0, $s4, $zero
/* 431280 802188E0 461C0502 */ mul.s $f20, $f0, $f28
/* 431284 802188E4 00000000 */ nop
/* 431288 802188E8 0220282D */ daddu $a1, $s1, $zero
/* 43128C 802188EC 4406B000 */ mfc1 $a2, $f22
/* 431290 802188F0 3C0141A0 */ lui $at, 0x41a0
/* 431294 802188F4 44810000 */ mtc1 $at, $f0
/* 431298 802188F8 3C01C248 */ lui $at, 0xc248
/* 43129C 802188FC 44811000 */ mtc1 $at, $f2
/* 4312A0 80218900 4600A503 */ div.s $f20, $f20, $f0
/* 4312A4 80218904 0C0B2190 */ jal set_float_variable
/* 4312A8 80218908 4602A500 */ add.s $f20, $f20, $f2
/* 4312AC 8021890C 0280202D */ daddu $a0, $s4, $zero
/* 4312B0 80218910 4406C000 */ mfc1 $a2, $f24
/* 4312B4 80218914 0C0B2190 */ jal set_float_variable
/* 4312B8 80218918 0260282D */ daddu $a1, $s3, $zero
/* 4312BC 8021891C 0280202D */ daddu $a0, $s4, $zero
/* 4312C0 80218920 4406A000 */ mfc1 $a2, $f20
/* 4312C4 80218924 0C0B2190 */ jal set_float_variable
/* 4312C8 80218928 0240282D */ daddu $a1, $s2, $zero
/* 4312CC 8021892C 3C0142B4 */ lui $at, 0x42b4
/* 4312D0 80218930 44810000 */ mtc1 $at, $f0
/* 4312D4 80218934 00000000 */ nop
/* 4312D8 80218938 461E003C */ c.lt.s $f0, $f30
/* 4312DC 8021893C 00000000 */ nop
/* 4312E0 80218940 4500000B */ bc1f .L80218970
/* 4312E4 80218944 0000302D */ daddu $a2, $zero, $zero
/* 4312E8 80218948 3C014387 */ lui $at, 0x4387
/* 4312EC 8021894C 44810000 */ mtc1 $at, $f0
/* 4312F0 80218950 00000000 */ nop
/* 4312F4 80218954 4600F03C */ c.lt.s $f30, $f0
/* 4312F8 80218958 00000000 */ nop
/* 4312FC 8021895C 45030001 */ bc1tl .L80218964
/* 431300 80218960 240600B4 */ addiu $a2, $zero, 0xb4
.L80218964:
/* 431304 80218964 3C0142B4 */ lui $at, 0x42b4
/* 431308 80218968 44810000 */ mtc1 $at, $f0
/* 43130C 8021896C 00000000 */ nop
.L80218970:
/* 431310 80218970 461E0001 */ sub.s $f0, $f0, $f30
/* 431314 80218974 46000005 */ abs.s $f0, $f0
/* 431318 80218978 4600010D */ trunc.w.s $f4, $f0
/* 43131C 8021897C 44022000 */ mfc1 $v0, $f4
/* 431320 80218980 00000000 */ nop
/* 431324 80218984 2842002D */ slti $v0, $v0, 0x2d
/* 431328 80218988 10400008 */ beqz $v0, .L802189AC
/* 43132C 8021898C 00000000 */ nop
/* 431330 80218990 3C014234 */ lui $at, 0x4234
/* 431334 80218994 44810000 */ mtc1 $at, $f0
/* 431338 80218998 00000000 */ nop
/* 43133C 8021899C 4600F001 */ sub.s $f0, $f30, $f0
/* 431340 802189A0 46000000 */ add.s $f0, $f0, $f0
/* 431344 802189A4 4600010D */ trunc.w.s $f4, $f0
/* 431348 802189A8 44062000 */ mfc1 $a2, $f4
.L802189AC:
/* 43134C 802189AC 3C014387 */ lui $at, 0x4387
/* 431350 802189B0 44810000 */ mtc1 $at, $f0
/* 431354 802189B4 00000000 */ nop
/* 431358 802189B8 461E0001 */ sub.s $f0, $f0, $f30
/* 43135C 802189BC 46000005 */ abs.s $f0, $f0
/* 431360 802189C0 4600010D */ trunc.w.s $f4, $f0
/* 431364 802189C4 44022000 */ mfc1 $v0, $f4
/* 431368 802189C8 00000000 */ nop
/* 43136C 802189CC 2842002D */ slti $v0, $v0, 0x2d
/* 431370 802189D0 1040000C */ beqz $v0, .L80218A04
/* 431374 802189D4 0280202D */ daddu $a0, $s4, $zero
/* 431378 802189D8 3C014361 */ lui $at, 0x4361
/* 43137C 802189DC 44810000 */ mtc1 $at, $f0
/* 431380 802189E0 00000000 */ nop
/* 431384 802189E4 4600F001 */ sub.s $f0, $f30, $f0
/* 431388 802189E8 46000000 */ add.s $f0, $f0, $f0
/* 43138C 802189EC 3C014334 */ lui $at, 0x4334
/* 431390 802189F0 44811000 */ mtc1 $at, $f2
/* 431394 802189F4 00000000 */ nop
/* 431398 802189F8 46020000 */ add.s $f0, $f0, $f2
/* 43139C 802189FC 4600010D */ trunc.w.s $f4, $f0
/* 4313A0 80218A00 44062000 */ mfc1 $a2, $f4
.L80218A04:
/* 4313A4 80218A04 0C0B2026 */ jal set_variable
/* 4313A8 80218A08 0200282D */ daddu $a1, $s0, $zero
/* 4313AC 80218A0C 8FBF0024 */ lw $ra, 0x24($sp)
/* 4313B0 80218A10 8FB40020 */ lw $s4, 0x20($sp)
/* 4313B4 80218A14 8FB3001C */ lw $s3, 0x1c($sp)
/* 4313B8 80218A18 8FB20018 */ lw $s2, 0x18($sp)
/* 4313BC 80218A1C 8FB10014 */ lw $s1, 0x14($sp)
/* 4313C0 80218A20 8FB00010 */ lw $s0, 0x10($sp)
/* 4313C4 80218A24 D7BE0050 */ ldc1 $f30, 0x50($sp)
/* 4313C8 80218A28 D7BC0048 */ ldc1 $f28, 0x48($sp)
/* 4313CC 80218A2C D7BA0040 */ ldc1 $f26, 0x40($sp)
/* 4313D0 80218A30 D7B80038 */ ldc1 $f24, 0x38($sp)
/* 4313D4 80218A34 D7B60030 */ ldc1 $f22, 0x30($sp)
/* 4313D8 80218A38 D7B40028 */ ldc1 $f20, 0x28($sp)
/* 4313DC 80218A3C 24020002 */ addiu $v0, $zero, 2
/* 4313E0 80218A40 03E00008 */ jr $ra
/* 4313E4 80218A44 27BD0058 */ addiu $sp, $sp, 0x58
/* 4313E8 80218A48 00000000 */ nop
/* 4313EC 80218A4C 00000000 */ nop

View File

@ -1,164 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218A50_4313F0
/* 4313F0 80218A50 27BDFFA8 */ addiu $sp, $sp, -0x58
/* 4313F4 80218A54 AFB40020 */ sw $s4, 0x20($sp)
/* 4313F8 80218A58 0080A02D */ daddu $s4, $a0, $zero
/* 4313FC 80218A5C AFBF0024 */ sw $ra, 0x24($sp)
/* 431400 80218A60 AFB3001C */ sw $s3, 0x1c($sp)
/* 431404 80218A64 AFB20018 */ sw $s2, 0x18($sp)
/* 431408 80218A68 AFB10014 */ sw $s1, 0x14($sp)
/* 43140C 80218A6C AFB00010 */ sw $s0, 0x10($sp)
/* 431410 80218A70 F7BE0050 */ sdc1 $f30, 0x50($sp)
/* 431414 80218A74 F7BC0048 */ sdc1 $f28, 0x48($sp)
/* 431418 80218A78 F7BA0040 */ sdc1 $f26, 0x40($sp)
/* 43141C 80218A7C F7B80038 */ sdc1 $f24, 0x38($sp)
/* 431420 80218A80 F7B60030 */ sdc1 $f22, 0x30($sp)
/* 431424 80218A84 F7B40028 */ sdc1 $f20, 0x28($sp)
/* 431428 80218A88 8E90000C */ lw $s0, 0xc($s4)
/* 43142C 80218A8C 8E050000 */ lw $a1, ($s0)
/* 431430 80218A90 0C0B1EAF */ jal get_variable
/* 431434 80218A94 26100004 */ addiu $s0, $s0, 4
/* 431438 80218A98 44820000 */ mtc1 $v0, $f0
/* 43143C 80218A9C 00000000 */ nop
/* 431440 80218AA0 46800021 */ cvt.d.w $f0, $f0
/* 431444 80218AA4 8E110000 */ lw $s1, ($s0)
/* 431448 80218AA8 26100004 */ addiu $s0, $s0, 4
/* 43144C 80218AAC 3C014024 */ lui $at, 0x4024
/* 431450 80218AB0 44811800 */ mtc1 $at, $f3
/* 431454 80218AB4 44801000 */ mtc1 $zero, $f2
/* 431458 80218AB8 3C0140C9 */ lui $at, 0x40c9
/* 43145C 80218ABC 34210FD0 */ ori $at, $at, 0xfd0
/* 431460 80218AC0 4481A000 */ mtc1 $at, $f20
/* 431464 80218AC4 8E130000 */ lw $s3, ($s0)
/* 431468 80218AC8 46220003 */ div.d $f0, $f0, $f2
/* 43146C 80218ACC 462007A0 */ cvt.s.d $f30, $f0
/* 431470 80218AD0 4614F502 */ mul.s $f20, $f30, $f20
/* 431474 80218AD4 00000000 */ nop
/* 431478 80218AD8 26100004 */ addiu $s0, $s0, 4
/* 43147C 80218ADC 8E120000 */ lw $s2, ($s0)
/* 431480 80218AE0 3C0143B4 */ lui $at, 0x43b4
/* 431484 80218AE4 44810000 */ mtc1 $at, $f0
/* 431488 80218AE8 8E100004 */ lw $s0, 4($s0)
/* 43148C 80218AEC 4600A503 */ div.s $f20, $f20, $f0
/* 431490 80218AF0 0C00A85B */ jal sin_rad
/* 431494 80218AF4 4600A306 */ mov.s $f12, $f20
/* 431498 80218AF8 3C014100 */ lui $at, 0x4100
/* 43149C 80218AFC 44816000 */ mtc1 $at, $f12
/* 4314A0 80218B00 00000000 */ nop
/* 4314A4 80218B04 460CA302 */ mul.s $f12, $f20, $f12
/* 4314A8 80218B08 00000000 */ nop
/* 4314AC 80218B0C 3C014316 */ lui $at, 0x4316
/* 4314B0 80218B10 4481E000 */ mtc1 $at, $f28
/* 4314B4 80218B14 00000000 */ nop
/* 4314B8 80218B18 461C0582 */ mul.s $f22, $f0, $f28
/* 4314BC 80218B1C 00000000 */ nop
/* 4314C0 80218B20 4480D000 */ mtc1 $zero, $f26
/* 4314C4 80218B24 0C00A85B */ jal sin_rad
/* 4314C8 80218B28 461AB580 */ add.s $f22, $f22, $f26
/* 4314CC 80218B2C 3C014120 */ lui $at, 0x4120
/* 4314D0 80218B30 44811000 */ mtc1 $at, $f2
/* 4314D4 80218B34 00000000 */ nop
/* 4314D8 80218B38 46020602 */ mul.s $f24, $f0, $f2
/* 4314DC 80218B3C 00000000 */ nop
/* 4314E0 80218B40 4600A306 */ mov.s $f12, $f20
/* 4314E4 80218B44 0C00A874 */ jal cos_rad
/* 4314E8 80218B48 461AC600 */ add.s $f24, $f24, $f26
/* 4314EC 80218B4C 0280202D */ daddu $a0, $s4, $zero
/* 4314F0 80218B50 461C0502 */ mul.s $f20, $f0, $f28
/* 4314F4 80218B54 00000000 */ nop
/* 4314F8 80218B58 0220282D */ daddu $a1, $s1, $zero
/* 4314FC 80218B5C 4406B000 */ mfc1 $a2, $f22
/* 431500 80218B60 3C0141A0 */ lui $at, 0x41a0
/* 431504 80218B64 44810000 */ mtc1 $at, $f0
/* 431508 80218B68 3C01C248 */ lui $at, 0xc248
/* 43150C 80218B6C 44811000 */ mtc1 $at, $f2
/* 431510 80218B70 4600A503 */ div.s $f20, $f20, $f0
/* 431514 80218B74 0C0B2190 */ jal set_float_variable
/* 431518 80218B78 4602A500 */ add.s $f20, $f20, $f2
/* 43151C 80218B7C 0280202D */ daddu $a0, $s4, $zero
/* 431520 80218B80 4406C000 */ mfc1 $a2, $f24
/* 431524 80218B84 0C0B2190 */ jal set_float_variable
/* 431528 80218B88 0260282D */ daddu $a1, $s3, $zero
/* 43152C 80218B8C 0280202D */ daddu $a0, $s4, $zero
/* 431530 80218B90 4406A000 */ mfc1 $a2, $f20
/* 431534 80218B94 0C0B2190 */ jal set_float_variable
/* 431538 80218B98 0240282D */ daddu $a1, $s2, $zero
/* 43153C 80218B9C 3C0142B4 */ lui $at, 0x42b4
/* 431540 80218BA0 44810000 */ mtc1 $at, $f0
/* 431544 80218BA4 00000000 */ nop
/* 431548 80218BA8 461E003C */ c.lt.s $f0, $f30
/* 43154C 80218BAC 00000000 */ nop
/* 431550 80218BB0 4500000B */ bc1f .L80218BE0
/* 431554 80218BB4 0000302D */ daddu $a2, $zero, $zero
/* 431558 80218BB8 3C014387 */ lui $at, 0x4387
/* 43155C 80218BBC 44810000 */ mtc1 $at, $f0
/* 431560 80218BC0 00000000 */ nop
/* 431564 80218BC4 4600F03C */ c.lt.s $f30, $f0
/* 431568 80218BC8 00000000 */ nop
/* 43156C 80218BCC 45030001 */ bc1tl .L80218BD4
/* 431570 80218BD0 240600B4 */ addiu $a2, $zero, 0xb4
.L80218BD4:
/* 431574 80218BD4 3C0142B4 */ lui $at, 0x42b4
/* 431578 80218BD8 44810000 */ mtc1 $at, $f0
/* 43157C 80218BDC 00000000 */ nop
.L80218BE0:
/* 431580 80218BE0 461E0001 */ sub.s $f0, $f0, $f30
/* 431584 80218BE4 46000005 */ abs.s $f0, $f0
/* 431588 80218BE8 4600010D */ trunc.w.s $f4, $f0
/* 43158C 80218BEC 44022000 */ mfc1 $v0, $f4
/* 431590 80218BF0 00000000 */ nop
/* 431594 80218BF4 2842002D */ slti $v0, $v0, 0x2d
/* 431598 80218BF8 10400008 */ beqz $v0, .L80218C1C
/* 43159C 80218BFC 00000000 */ nop
/* 4315A0 80218C00 3C014234 */ lui $at, 0x4234
/* 4315A4 80218C04 44810000 */ mtc1 $at, $f0
/* 4315A8 80218C08 00000000 */ nop
/* 4315AC 80218C0C 4600F001 */ sub.s $f0, $f30, $f0
/* 4315B0 80218C10 46000000 */ add.s $f0, $f0, $f0
/* 4315B4 80218C14 4600010D */ trunc.w.s $f4, $f0
/* 4315B8 80218C18 44062000 */ mfc1 $a2, $f4
.L80218C1C:
/* 4315BC 80218C1C 3C014387 */ lui $at, 0x4387
/* 4315C0 80218C20 44810000 */ mtc1 $at, $f0
/* 4315C4 80218C24 00000000 */ nop
/* 4315C8 80218C28 461E0001 */ sub.s $f0, $f0, $f30
/* 4315CC 80218C2C 46000005 */ abs.s $f0, $f0
/* 4315D0 80218C30 4600010D */ trunc.w.s $f4, $f0
/* 4315D4 80218C34 44022000 */ mfc1 $v0, $f4
/* 4315D8 80218C38 00000000 */ nop
/* 4315DC 80218C3C 2842002D */ slti $v0, $v0, 0x2d
/* 4315E0 80218C40 1040000C */ beqz $v0, .L80218C74
/* 4315E4 80218C44 0280202D */ daddu $a0, $s4, $zero
/* 4315E8 80218C48 3C014361 */ lui $at, 0x4361
/* 4315EC 80218C4C 44810000 */ mtc1 $at, $f0
/* 4315F0 80218C50 00000000 */ nop
/* 4315F4 80218C54 4600F001 */ sub.s $f0, $f30, $f0
/* 4315F8 80218C58 46000000 */ add.s $f0, $f0, $f0
/* 4315FC 80218C5C 3C014334 */ lui $at, 0x4334
/* 431600 80218C60 44811000 */ mtc1 $at, $f2
/* 431604 80218C64 00000000 */ nop
/* 431608 80218C68 46020000 */ add.s $f0, $f0, $f2
/* 43160C 80218C6C 4600010D */ trunc.w.s $f4, $f0
/* 431610 80218C70 44062000 */ mfc1 $a2, $f4
.L80218C74:
/* 431614 80218C74 0C0B2026 */ jal set_variable
/* 431618 80218C78 0200282D */ daddu $a1, $s0, $zero
/* 43161C 80218C7C 8FBF0024 */ lw $ra, 0x24($sp)
/* 431620 80218C80 8FB40020 */ lw $s4, 0x20($sp)
/* 431624 80218C84 8FB3001C */ lw $s3, 0x1c($sp)
/* 431628 80218C88 8FB20018 */ lw $s2, 0x18($sp)
/* 43162C 80218C8C 8FB10014 */ lw $s1, 0x14($sp)
/* 431630 80218C90 8FB00010 */ lw $s0, 0x10($sp)
/* 431634 80218C94 D7BE0050 */ ldc1 $f30, 0x50($sp)
/* 431638 80218C98 D7BC0048 */ ldc1 $f28, 0x48($sp)
/* 43163C 80218C9C D7BA0040 */ ldc1 $f26, 0x40($sp)
/* 431640 80218CA0 D7B80038 */ ldc1 $f24, 0x38($sp)
/* 431644 80218CA4 D7B60030 */ ldc1 $f22, 0x30($sp)
/* 431648 80218CA8 D7B40028 */ ldc1 $f20, 0x28($sp)
/* 43164C 80218CAC 24020002 */ addiu $v0, $zero, 2
/* 431650 80218CB0 03E00008 */ jr $ra
/* 431654 80218CB4 27BD0058 */ addiu $sp, $sp, 0x58
/* 431658 80218CB8 00000000 */ nop
/* 43165C 80218CBC 00000000 */ nop

View File

@ -1,164 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218CC0_431660
/* 431660 80218CC0 27BDFFA8 */ addiu $sp, $sp, -0x58
/* 431664 80218CC4 AFB40020 */ sw $s4, 0x20($sp)
/* 431668 80218CC8 0080A02D */ daddu $s4, $a0, $zero
/* 43166C 80218CCC AFBF0024 */ sw $ra, 0x24($sp)
/* 431670 80218CD0 AFB3001C */ sw $s3, 0x1c($sp)
/* 431674 80218CD4 AFB20018 */ sw $s2, 0x18($sp)
/* 431678 80218CD8 AFB10014 */ sw $s1, 0x14($sp)
/* 43167C 80218CDC AFB00010 */ sw $s0, 0x10($sp)
/* 431680 80218CE0 F7BE0050 */ sdc1 $f30, 0x50($sp)
/* 431684 80218CE4 F7BC0048 */ sdc1 $f28, 0x48($sp)
/* 431688 80218CE8 F7BA0040 */ sdc1 $f26, 0x40($sp)
/* 43168C 80218CEC F7B80038 */ sdc1 $f24, 0x38($sp)
/* 431690 80218CF0 F7B60030 */ sdc1 $f22, 0x30($sp)
/* 431694 80218CF4 F7B40028 */ sdc1 $f20, 0x28($sp)
/* 431698 80218CF8 8E90000C */ lw $s0, 0xc($s4)
/* 43169C 80218CFC 8E050000 */ lw $a1, ($s0)
/* 4316A0 80218D00 0C0B1EAF */ jal get_variable
/* 4316A4 80218D04 26100004 */ addiu $s0, $s0, 4
/* 4316A8 80218D08 44820000 */ mtc1 $v0, $f0
/* 4316AC 80218D0C 00000000 */ nop
/* 4316B0 80218D10 46800021 */ cvt.d.w $f0, $f0
/* 4316B4 80218D14 8E110000 */ lw $s1, ($s0)
/* 4316B8 80218D18 26100004 */ addiu $s0, $s0, 4
/* 4316BC 80218D1C 3C014024 */ lui $at, 0x4024
/* 4316C0 80218D20 44811800 */ mtc1 $at, $f3
/* 4316C4 80218D24 44801000 */ mtc1 $zero, $f2
/* 4316C8 80218D28 3C0140C9 */ lui $at, 0x40c9
/* 4316CC 80218D2C 34210FD0 */ ori $at, $at, 0xfd0
/* 4316D0 80218D30 4481A000 */ mtc1 $at, $f20
/* 4316D4 80218D34 8E130000 */ lw $s3, ($s0)
/* 4316D8 80218D38 46220003 */ div.d $f0, $f0, $f2
/* 4316DC 80218D3C 462007A0 */ cvt.s.d $f30, $f0
/* 4316E0 80218D40 4614F502 */ mul.s $f20, $f30, $f20
/* 4316E4 80218D44 00000000 */ nop
/* 4316E8 80218D48 26100004 */ addiu $s0, $s0, 4
/* 4316EC 80218D4C 8E120000 */ lw $s2, ($s0)
/* 4316F0 80218D50 3C0143B4 */ lui $at, 0x43b4
/* 4316F4 80218D54 44810000 */ mtc1 $at, $f0
/* 4316F8 80218D58 8E100004 */ lw $s0, 4($s0)
/* 4316FC 80218D5C 4600A503 */ div.s $f20, $f20, $f0
/* 431700 80218D60 0C00A85B */ jal sin_rad
/* 431704 80218D64 4600A306 */ mov.s $f12, $f20
/* 431708 80218D68 3C014100 */ lui $at, 0x4100
/* 43170C 80218D6C 44816000 */ mtc1 $at, $f12
/* 431710 80218D70 00000000 */ nop
/* 431714 80218D74 460CA302 */ mul.s $f12, $f20, $f12
/* 431718 80218D78 00000000 */ nop
/* 43171C 80218D7C 3C014316 */ lui $at, 0x4316
/* 431720 80218D80 4481E000 */ mtc1 $at, $f28
/* 431724 80218D84 00000000 */ nop
/* 431728 80218D88 461C0582 */ mul.s $f22, $f0, $f28
/* 43172C 80218D8C 00000000 */ nop
/* 431730 80218D90 4480D000 */ mtc1 $zero, $f26
/* 431734 80218D94 0C00A85B */ jal sin_rad
/* 431738 80218D98 461AB580 */ add.s $f22, $f22, $f26
/* 43173C 80218D9C 3C014120 */ lui $at, 0x4120
/* 431740 80218DA0 44811000 */ mtc1 $at, $f2
/* 431744 80218DA4 00000000 */ nop
/* 431748 80218DA8 46020602 */ mul.s $f24, $f0, $f2
/* 43174C 80218DAC 00000000 */ nop
/* 431750 80218DB0 4600A306 */ mov.s $f12, $f20
/* 431754 80218DB4 0C00A874 */ jal cos_rad
/* 431758 80218DB8 461AC600 */ add.s $f24, $f24, $f26
/* 43175C 80218DBC 0280202D */ daddu $a0, $s4, $zero
/* 431760 80218DC0 461C0502 */ mul.s $f20, $f0, $f28
/* 431764 80218DC4 00000000 */ nop
/* 431768 80218DC8 0220282D */ daddu $a1, $s1, $zero
/* 43176C 80218DCC 4406B000 */ mfc1 $a2, $f22
/* 431770 80218DD0 3C0141A0 */ lui $at, 0x41a0
/* 431774 80218DD4 44810000 */ mtc1 $at, $f0
/* 431778 80218DD8 3C01C248 */ lui $at, 0xc248
/* 43177C 80218DDC 44811000 */ mtc1 $at, $f2
/* 431780 80218DE0 4600A503 */ div.s $f20, $f20, $f0
/* 431784 80218DE4 0C0B2190 */ jal set_float_variable
/* 431788 80218DE8 4602A500 */ add.s $f20, $f20, $f2
/* 43178C 80218DEC 0280202D */ daddu $a0, $s4, $zero
/* 431790 80218DF0 4406C000 */ mfc1 $a2, $f24
/* 431794 80218DF4 0C0B2190 */ jal set_float_variable
/* 431798 80218DF8 0260282D */ daddu $a1, $s3, $zero
/* 43179C 80218DFC 0280202D */ daddu $a0, $s4, $zero
/* 4317A0 80218E00 4406A000 */ mfc1 $a2, $f20
/* 4317A4 80218E04 0C0B2190 */ jal set_float_variable
/* 4317A8 80218E08 0240282D */ daddu $a1, $s2, $zero
/* 4317AC 80218E0C 3C0142B4 */ lui $at, 0x42b4
/* 4317B0 80218E10 44810000 */ mtc1 $at, $f0
/* 4317B4 80218E14 00000000 */ nop
/* 4317B8 80218E18 461E003C */ c.lt.s $f0, $f30
/* 4317BC 80218E1C 00000000 */ nop
/* 4317C0 80218E20 4500000B */ bc1f .L80218E50
/* 4317C4 80218E24 0000302D */ daddu $a2, $zero, $zero
/* 4317C8 80218E28 3C014387 */ lui $at, 0x4387
/* 4317CC 80218E2C 44810000 */ mtc1 $at, $f0
/* 4317D0 80218E30 00000000 */ nop
/* 4317D4 80218E34 4600F03C */ c.lt.s $f30, $f0
/* 4317D8 80218E38 00000000 */ nop
/* 4317DC 80218E3C 45030001 */ bc1tl .L80218E44
/* 4317E0 80218E40 240600B4 */ addiu $a2, $zero, 0xb4
.L80218E44:
/* 4317E4 80218E44 3C0142B4 */ lui $at, 0x42b4
/* 4317E8 80218E48 44810000 */ mtc1 $at, $f0
/* 4317EC 80218E4C 00000000 */ nop
.L80218E50:
/* 4317F0 80218E50 461E0001 */ sub.s $f0, $f0, $f30
/* 4317F4 80218E54 46000005 */ abs.s $f0, $f0
/* 4317F8 80218E58 4600010D */ trunc.w.s $f4, $f0
/* 4317FC 80218E5C 44022000 */ mfc1 $v0, $f4
/* 431800 80218E60 00000000 */ nop
/* 431804 80218E64 2842002D */ slti $v0, $v0, 0x2d
/* 431808 80218E68 10400008 */ beqz $v0, .L80218E8C
/* 43180C 80218E6C 00000000 */ nop
/* 431810 80218E70 3C014234 */ lui $at, 0x4234
/* 431814 80218E74 44810000 */ mtc1 $at, $f0
/* 431818 80218E78 00000000 */ nop
/* 43181C 80218E7C 4600F001 */ sub.s $f0, $f30, $f0
/* 431820 80218E80 46000000 */ add.s $f0, $f0, $f0
/* 431824 80218E84 4600010D */ trunc.w.s $f4, $f0
/* 431828 80218E88 44062000 */ mfc1 $a2, $f4
.L80218E8C:
/* 43182C 80218E8C 3C014387 */ lui $at, 0x4387
/* 431830 80218E90 44810000 */ mtc1 $at, $f0
/* 431834 80218E94 00000000 */ nop
/* 431838 80218E98 461E0001 */ sub.s $f0, $f0, $f30
/* 43183C 80218E9C 46000005 */ abs.s $f0, $f0
/* 431840 80218EA0 4600010D */ trunc.w.s $f4, $f0
/* 431844 80218EA4 44022000 */ mfc1 $v0, $f4
/* 431848 80218EA8 00000000 */ nop
/* 43184C 80218EAC 2842002D */ slti $v0, $v0, 0x2d
/* 431850 80218EB0 1040000C */ beqz $v0, .L80218EE4
/* 431854 80218EB4 0280202D */ daddu $a0, $s4, $zero
/* 431858 80218EB8 3C014361 */ lui $at, 0x4361
/* 43185C 80218EBC 44810000 */ mtc1 $at, $f0
/* 431860 80218EC0 00000000 */ nop
/* 431864 80218EC4 4600F001 */ sub.s $f0, $f30, $f0
/* 431868 80218EC8 46000000 */ add.s $f0, $f0, $f0
/* 43186C 80218ECC 3C014334 */ lui $at, 0x4334
/* 431870 80218ED0 44811000 */ mtc1 $at, $f2
/* 431874 80218ED4 00000000 */ nop
/* 431878 80218ED8 46020000 */ add.s $f0, $f0, $f2
/* 43187C 80218EDC 4600010D */ trunc.w.s $f4, $f0
/* 431880 80218EE0 44062000 */ mfc1 $a2, $f4
.L80218EE4:
/* 431884 80218EE4 0C0B2026 */ jal set_variable
/* 431888 80218EE8 0200282D */ daddu $a1, $s0, $zero
/* 43188C 80218EEC 8FBF0024 */ lw $ra, 0x24($sp)
/* 431890 80218EF0 8FB40020 */ lw $s4, 0x20($sp)
/* 431894 80218EF4 8FB3001C */ lw $s3, 0x1c($sp)
/* 431898 80218EF8 8FB20018 */ lw $s2, 0x18($sp)
/* 43189C 80218EFC 8FB10014 */ lw $s1, 0x14($sp)
/* 4318A0 80218F00 8FB00010 */ lw $s0, 0x10($sp)
/* 4318A4 80218F04 D7BE0050 */ ldc1 $f30, 0x50($sp)
/* 4318A8 80218F08 D7BC0048 */ ldc1 $f28, 0x48($sp)
/* 4318AC 80218F0C D7BA0040 */ ldc1 $f26, 0x40($sp)
/* 4318B0 80218F10 D7B80038 */ ldc1 $f24, 0x38($sp)
/* 4318B4 80218F14 D7B60030 */ ldc1 $f22, 0x30($sp)
/* 4318B8 80218F18 D7B40028 */ ldc1 $f20, 0x28($sp)
/* 4318BC 80218F1C 24020002 */ addiu $v0, $zero, 2
/* 4318C0 80218F20 03E00008 */ jr $ra
/* 4318C4 80218F24 27BD0058 */ addiu $sp, $sp, 0x58
/* 4318C8 80218F28 00000000 */ nop
/* 4318CC 80218F2C 00000000 */ nop

View File

@ -1,162 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218F30_4318D0
/* 4318D0 80218F30 27BDFFA8 */ addiu $sp, $sp, -0x58
/* 4318D4 80218F34 AFB40020 */ sw $s4, 0x20($sp)
/* 4318D8 80218F38 0080A02D */ daddu $s4, $a0, $zero
/* 4318DC 80218F3C AFBF0024 */ sw $ra, 0x24($sp)
/* 4318E0 80218F40 AFB3001C */ sw $s3, 0x1c($sp)
/* 4318E4 80218F44 AFB20018 */ sw $s2, 0x18($sp)
/* 4318E8 80218F48 AFB10014 */ sw $s1, 0x14($sp)
/* 4318EC 80218F4C AFB00010 */ sw $s0, 0x10($sp)
/* 4318F0 80218F50 F7BE0050 */ sdc1 $f30, 0x50($sp)
/* 4318F4 80218F54 F7BC0048 */ sdc1 $f28, 0x48($sp)
/* 4318F8 80218F58 F7BA0040 */ sdc1 $f26, 0x40($sp)
/* 4318FC 80218F5C F7B80038 */ sdc1 $f24, 0x38($sp)
/* 431900 80218F60 F7B60030 */ sdc1 $f22, 0x30($sp)
/* 431904 80218F64 F7B40028 */ sdc1 $f20, 0x28($sp)
/* 431908 80218F68 8E90000C */ lw $s0, 0xc($s4)
/* 43190C 80218F6C 8E050000 */ lw $a1, ($s0)
/* 431910 80218F70 0C0B1EAF */ jal get_variable
/* 431914 80218F74 26100004 */ addiu $s0, $s0, 4
/* 431918 80218F78 44820000 */ mtc1 $v0, $f0
/* 43191C 80218F7C 00000000 */ nop
/* 431920 80218F80 46800021 */ cvt.d.w $f0, $f0
/* 431924 80218F84 8E110000 */ lw $s1, ($s0)
/* 431928 80218F88 26100004 */ addiu $s0, $s0, 4
/* 43192C 80218F8C 3C014024 */ lui $at, 0x4024
/* 431930 80218F90 44811800 */ mtc1 $at, $f3
/* 431934 80218F94 44801000 */ mtc1 $zero, $f2
/* 431938 80218F98 3C0140C9 */ lui $at, 0x40c9
/* 43193C 80218F9C 34210FD0 */ ori $at, $at, 0xfd0
/* 431940 80218FA0 4481A000 */ mtc1 $at, $f20
/* 431944 80218FA4 8E130000 */ lw $s3, ($s0)
/* 431948 80218FA8 46220003 */ div.d $f0, $f0, $f2
/* 43194C 80218FAC 462007A0 */ cvt.s.d $f30, $f0
/* 431950 80218FB0 4614F502 */ mul.s $f20, $f30, $f20
/* 431954 80218FB4 00000000 */ nop
/* 431958 80218FB8 26100004 */ addiu $s0, $s0, 4
/* 43195C 80218FBC 8E120000 */ lw $s2, ($s0)
/* 431960 80218FC0 3C0143B4 */ lui $at, 0x43b4
/* 431964 80218FC4 44810000 */ mtc1 $at, $f0
/* 431968 80218FC8 8E100004 */ lw $s0, 4($s0)
/* 43196C 80218FCC 4600A503 */ div.s $f20, $f20, $f0
/* 431970 80218FD0 0C00A85B */ jal sin_rad
/* 431974 80218FD4 4600A306 */ mov.s $f12, $f20
/* 431978 80218FD8 3C014100 */ lui $at, 0x4100
/* 43197C 80218FDC 44816000 */ mtc1 $at, $f12
/* 431980 80218FE0 00000000 */ nop
/* 431984 80218FE4 460CA302 */ mul.s $f12, $f20, $f12
/* 431988 80218FE8 00000000 */ nop
/* 43198C 80218FEC 3C014316 */ lui $at, 0x4316
/* 431990 80218FF0 4481E000 */ mtc1 $at, $f28
/* 431994 80218FF4 00000000 */ nop
/* 431998 80218FF8 461C0582 */ mul.s $f22, $f0, $f28
/* 43199C 80218FFC 00000000 */ nop
/* 4319A0 80219000 4480D000 */ mtc1 $zero, $f26
/* 4319A4 80219004 0C00A85B */ jal sin_rad
/* 4319A8 80219008 461AB580 */ add.s $f22, $f22, $f26
/* 4319AC 8021900C 3C014120 */ lui $at, 0x4120
/* 4319B0 80219010 44811000 */ mtc1 $at, $f2
/* 4319B4 80219014 00000000 */ nop
/* 4319B8 80219018 46020602 */ mul.s $f24, $f0, $f2
/* 4319BC 8021901C 00000000 */ nop
/* 4319C0 80219020 4600A306 */ mov.s $f12, $f20
/* 4319C4 80219024 0C00A874 */ jal cos_rad
/* 4319C8 80219028 461AC600 */ add.s $f24, $f24, $f26
/* 4319CC 8021902C 0280202D */ daddu $a0, $s4, $zero
/* 4319D0 80219030 461C0502 */ mul.s $f20, $f0, $f28
/* 4319D4 80219034 00000000 */ nop
/* 4319D8 80219038 0220282D */ daddu $a1, $s1, $zero
/* 4319DC 8021903C 4406B000 */ mfc1 $a2, $f22
/* 4319E0 80219040 3C0141A0 */ lui $at, 0x41a0
/* 4319E4 80219044 44810000 */ mtc1 $at, $f0
/* 4319E8 80219048 3C01C248 */ lui $at, 0xc248
/* 4319EC 8021904C 44811000 */ mtc1 $at, $f2
/* 4319F0 80219050 4600A503 */ div.s $f20, $f20, $f0
/* 4319F4 80219054 0C0B2190 */ jal set_float_variable
/* 4319F8 80219058 4602A500 */ add.s $f20, $f20, $f2
/* 4319FC 8021905C 0280202D */ daddu $a0, $s4, $zero
/* 431A00 80219060 4406C000 */ mfc1 $a2, $f24
/* 431A04 80219064 0C0B2190 */ jal set_float_variable
/* 431A08 80219068 0260282D */ daddu $a1, $s3, $zero
/* 431A0C 8021906C 0280202D */ daddu $a0, $s4, $zero
/* 431A10 80219070 4406A000 */ mfc1 $a2, $f20
/* 431A14 80219074 0C0B2190 */ jal set_float_variable
/* 431A18 80219078 0240282D */ daddu $a1, $s2, $zero
/* 431A1C 8021907C 3C0142B4 */ lui $at, 0x42b4
/* 431A20 80219080 44810000 */ mtc1 $at, $f0
/* 431A24 80219084 00000000 */ nop
/* 431A28 80219088 461E003C */ c.lt.s $f0, $f30
/* 431A2C 8021908C 00000000 */ nop
/* 431A30 80219090 4500000B */ bc1f .L802190C0
/* 431A34 80219094 0000302D */ daddu $a2, $zero, $zero
/* 431A38 80219098 3C014387 */ lui $at, 0x4387
/* 431A3C 8021909C 44810000 */ mtc1 $at, $f0
/* 431A40 802190A0 00000000 */ nop
/* 431A44 802190A4 4600F03C */ c.lt.s $f30, $f0
/* 431A48 802190A8 00000000 */ nop
/* 431A4C 802190AC 45030001 */ bc1tl .L802190B4
/* 431A50 802190B0 240600B4 */ addiu $a2, $zero, 0xb4
.L802190B4:
/* 431A54 802190B4 3C0142B4 */ lui $at, 0x42b4
/* 431A58 802190B8 44810000 */ mtc1 $at, $f0
/* 431A5C 802190BC 00000000 */ nop
.L802190C0:
/* 431A60 802190C0 461E0001 */ sub.s $f0, $f0, $f30
/* 431A64 802190C4 46000005 */ abs.s $f0, $f0
/* 431A68 802190C8 4600010D */ trunc.w.s $f4, $f0
/* 431A6C 802190CC 44022000 */ mfc1 $v0, $f4
/* 431A70 802190D0 00000000 */ nop
/* 431A74 802190D4 2842002D */ slti $v0, $v0, 0x2d
/* 431A78 802190D8 10400008 */ beqz $v0, .L802190FC
/* 431A7C 802190DC 00000000 */ nop
/* 431A80 802190E0 3C014234 */ lui $at, 0x4234
/* 431A84 802190E4 44810000 */ mtc1 $at, $f0
/* 431A88 802190E8 00000000 */ nop
/* 431A8C 802190EC 4600F001 */ sub.s $f0, $f30, $f0
/* 431A90 802190F0 46000000 */ add.s $f0, $f0, $f0
/* 431A94 802190F4 4600010D */ trunc.w.s $f4, $f0
/* 431A98 802190F8 44062000 */ mfc1 $a2, $f4
.L802190FC:
/* 431A9C 802190FC 3C014387 */ lui $at, 0x4387
/* 431AA0 80219100 44810000 */ mtc1 $at, $f0
/* 431AA4 80219104 00000000 */ nop
/* 431AA8 80219108 461E0001 */ sub.s $f0, $f0, $f30
/* 431AAC 8021910C 46000005 */ abs.s $f0, $f0
/* 431AB0 80219110 4600010D */ trunc.w.s $f4, $f0
/* 431AB4 80219114 44022000 */ mfc1 $v0, $f4
/* 431AB8 80219118 00000000 */ nop
/* 431ABC 8021911C 2842002D */ slti $v0, $v0, 0x2d
/* 431AC0 80219120 1040000C */ beqz $v0, .L80219154
/* 431AC4 80219124 0280202D */ daddu $a0, $s4, $zero
/* 431AC8 80219128 3C014361 */ lui $at, 0x4361
/* 431ACC 8021912C 44810000 */ mtc1 $at, $f0
/* 431AD0 80219130 00000000 */ nop
/* 431AD4 80219134 4600F001 */ sub.s $f0, $f30, $f0
/* 431AD8 80219138 46000000 */ add.s $f0, $f0, $f0
/* 431ADC 8021913C 3C014334 */ lui $at, 0x4334
/* 431AE0 80219140 44811000 */ mtc1 $at, $f2
/* 431AE4 80219144 00000000 */ nop
/* 431AE8 80219148 46020000 */ add.s $f0, $f0, $f2
/* 431AEC 8021914C 4600010D */ trunc.w.s $f4, $f0
/* 431AF0 80219150 44062000 */ mfc1 $a2, $f4
.L80219154:
/* 431AF4 80219154 0C0B2026 */ jal set_variable
/* 431AF8 80219158 0200282D */ daddu $a1, $s0, $zero
/* 431AFC 8021915C 8FBF0024 */ lw $ra, 0x24($sp)
/* 431B00 80219160 8FB40020 */ lw $s4, 0x20($sp)
/* 431B04 80219164 8FB3001C */ lw $s3, 0x1c($sp)
/* 431B08 80219168 8FB20018 */ lw $s2, 0x18($sp)
/* 431B0C 8021916C 8FB10014 */ lw $s1, 0x14($sp)
/* 431B10 80219170 8FB00010 */ lw $s0, 0x10($sp)
/* 431B14 80219174 D7BE0050 */ ldc1 $f30, 0x50($sp)
/* 431B18 80219178 D7BC0048 */ ldc1 $f28, 0x48($sp)
/* 431B1C 8021917C D7BA0040 */ ldc1 $f26, 0x40($sp)
/* 431B20 80219180 D7B80038 */ ldc1 $f24, 0x38($sp)
/* 431B24 80219184 D7B60030 */ ldc1 $f22, 0x30($sp)
/* 431B28 80219188 D7B40028 */ ldc1 $f20, 0x28($sp)
/* 431B2C 8021918C 24020002 */ addiu $v0, $zero, 2
/* 431B30 80219190 03E00008 */ jr $ra
/* 431B34 80219194 27BD0058 */ addiu $sp, $sp, 0x58

View File

@ -1,22 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80219198_431B38
/* 431B38 80219198 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 431B3C 8021919C 240403D4 */ addiu $a0, $zero, 0x3d4
/* 431B40 802191A0 AFBF0010 */ sw $ra, 0x10($sp)
/* 431B44 802191A4 0C046EDD */ jal set_world_fog_dist
/* 431B48 802191A8 240503E8 */ addiu $a1, $zero, 0x3e8
/* 431B4C 802191AC 2404000F */ addiu $a0, $zero, 0xf
/* 431B50 802191B0 24050005 */ addiu $a1, $zero, 5
/* 431B54 802191B4 24060037 */ addiu $a2, $zero, 0x37
/* 431B58 802191B8 0C046EE2 */ jal set_world_fog_color
/* 431B5C 802191BC 240700FF */ addiu $a3, $zero, 0xff
/* 431B60 802191C0 0C046ED4 */ jal enable_world_fog
/* 431B64 802191C4 00000000 */ nop
/* 431B68 802191C8 8FBF0010 */ lw $ra, 0x10($sp)
/* 431B6C 802191CC 24020002 */ addiu $v0, $zero, 2
/* 431B70 802191D0 03E00008 */ jr $ra
/* 431B74 802191D4 27BD0018 */ addiu $sp, $sp, 0x18
/* 431B78 802191D8 00000000 */ nop
/* 431B7C 802191DC 00000000 */ nop

View File

@ -15,8 +15,8 @@ glabel func_8023808C_710F7C
/* 710FA4 802380B4 A082009A */ sb $v0, 0x9a($a0) /* 710FA4 802380B4 A082009A */ sb $v0, 0x9a($a0)
.L802380B8: .L802380B8:
/* 710FA8 802380B8 3C02FBFF */ lui $v0, 0xfbff /* 710FA8 802380B8 3C02FBFF */ lui $v0, 0xfbff
/* 710FAC 802380BC 3C038028 */ lui $v1, %hi(D_80283370) /* 710FAC 802380BC 3C038028 */ lui $v1, %hi(bMarioHideAnims)
/* 710FB0 802380C0 24633370 */ addiu $v1, $v1, %lo(D_80283370) /* 710FB0 802380C0 24633370 */ addiu $v1, $v1, %lo(bMarioHideAnims)
/* 710FB4 802380C4 ACA30094 */ sw $v1, 0x94($a1) /* 710FB4 802380C4 ACA30094 */ sw $v1, 0x94($a1)
/* 710FB8 802380C8 8C830000 */ lw $v1, ($a0) /* 710FB8 802380C8 8C830000 */ lw $v1, ($a0)
/* 710FBC 802380CC 3442FFFF */ ori $v0, $v0, 0xffff /* 710FBC 802380CC 3442FFFF */ ori $v0, $v0, 0xffff

View File

@ -5,8 +5,8 @@ glabel func_802381C8_7110B8
/* 7110B8 802381C8 3C02800E */ lui $v0, %hi(gBattleStatus+0xD8) /* 7110B8 802381C8 3C02800E */ lui $v0, %hi(gBattleStatus+0xD8)
/* 7110BC 802381CC 8C42C148 */ lw $v0, %lo(gBattleStatus+0xD8)($v0) /* 7110BC 802381CC 8C42C148 */ lw $v0, %lo(gBattleStatus+0xD8)($v0)
/* 7110C0 802381D0 8C4301F4 */ lw $v1, 0x1f4($v0) /* 7110C0 802381D0 8C4301F4 */ lw $v1, 0x1f4($v0)
/* 7110C4 802381D4 3C028028 */ lui $v0, %hi(D_80283238) /* 7110C4 802381D4 3C028028 */ lui $v0, %hi(bMarioIdleAnims)
/* 7110C8 802381D8 24423238 */ addiu $v0, $v0, %lo(D_80283238) /* 7110C8 802381D8 24423238 */ addiu $v0, $v0, %lo(bMarioIdleAnims)
/* 7110CC 802381DC AC620094 */ sw $v0, 0x94($v1) /* 7110CC 802381DC AC620094 */ sw $v0, 0x94($v1)
/* 7110D0 802381E0 03E00008 */ jr $ra /* 7110D0 802381E0 03E00008 */ jr $ra
/* 7110D4 802381E4 24020002 */ addiu $v0, $zero, 2 /* 7110D4 802381E4 24020002 */ addiu $v0, $zero, 2

View File

@ -13,11 +13,11 @@ glabel func_80238B60_6F1C40
/* 6F1C60 80238B80 0040202D */ daddu $a0, $v0, $zero /* 6F1C60 80238B80 0040202D */ daddu $a0, $v0, $zero
/* 6F1C64 80238B84 90820136 */ lbu $v0, 0x136($a0) /* 6F1C64 80238B84 90820136 */ lbu $v0, 0x136($a0)
/* 6F1C68 80238B88 00021080 */ sll $v0, $v0, 2 /* 6F1C68 80238B88 00021080 */ sll $v0, $v0, 2
/* 6F1C6C 80238B8C 3C018028 */ lui $at, %hi(D_80282B98) /* 6F1C6C 80238B8C 3C018028 */ lui $at, %hi(gActorTattles)
/* 6F1C70 80238B90 00220821 */ addu $at, $at, $v0 /* 6F1C70 80238B90 00220821 */ addu $at, $at, $v0
/* 6F1C74 80238B94 8C222B98 */ lw $v0, %lo(D_80282B98)($at) /* 6F1C74 80238B94 8C222B98 */ lw $v0, %lo(gActorTattles)($at)
/* 6F1C78 80238B98 3C038028 */ lui $v1, %hi(D_80282B98) /* 6F1C78 80238B98 3C038028 */ lui $v1, %hi(gActorTattles)
/* 6F1C7C 80238B9C 24632B98 */ addiu $v1, $v1, %lo(D_80282B98) /* 6F1C7C 80238B9C 24632B98 */ addiu $v1, $v1, %lo(gActorTattles)
/* 6F1C80 80238BA0 14400003 */ bnez $v0, .L80238BB0 /* 6F1C80 80238BA0 14400003 */ bnez $v0, .L80238BB0
/* 6F1C84 80238BA4 AE020084 */ sw $v0, 0x84($s0) /* 6F1C84 80238BA4 AE020084 */ sw $v0, 0x84($s0)
/* 6F1C88 80238BA8 8C620000 */ lw $v0, ($v1) /* 6F1C88 80238BA8 8C620000 */ lw $v0, ($v1)

View File

@ -121,9 +121,9 @@ glabel func_80238BCC_6F1CAC
/* 6F1E6C 80238D8C AE020090 */ sw $v0, 0x90($s0) /* 6F1E6C 80238D8C AE020090 */ sw $v0, 0x90($s0)
/* 6F1E70 80238D90 90820136 */ lbu $v0, 0x136($a0) /* 6F1E70 80238D90 90820136 */ lbu $v0, 0x136($a0)
/* 6F1E74 80238D94 00021080 */ sll $v0, $v0, 2 /* 6F1E74 80238D94 00021080 */ sll $v0, $v0, 2
/* 6F1E78 80238D98 3C038028 */ lui $v1, %hi(D_80282EE8) /* 6F1E78 80238D98 3C038028 */ lui $v1, %hi(gActorCamOffsets)
/* 6F1E7C 80238D9C 00621821 */ addu $v1, $v1, $v0 /* 6F1E7C 80238D9C 00621821 */ addu $v1, $v1, $v0
/* 6F1E80 80238DA0 80632EE8 */ lb $v1, %lo(D_80282EE8)($v1) /* 6F1E80 80238DA0 80632EE8 */ lb $v1, %lo(gActorCamOffsets)($v1)
/* 6F1E84 80238DA4 8E020084 */ lw $v0, 0x84($s0) /* 6F1E84 80238DA4 8E020084 */ lw $v0, 0x84($s0)
/* 6F1E88 80238DA8 00431021 */ addu $v0, $v0, $v1 /* 6F1E88 80238DA8 00431021 */ addu $v0, $v0, $v1
/* 6F1E8C 80238DAC AE020084 */ sw $v0, 0x84($s0) /* 6F1E8C 80238DAC AE020084 */ sw $v0, 0x84($s0)

View File

@ -1,6 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80246B2C
/* 17540C 80246B2C 03E00008 */ jr $ra
/* 175410 80246B30 00000000 */ nop

View File

@ -25,7 +25,7 @@ glabel func_80250818
glabel L80250868_17F148 glabel L80250868_17F148
/* 17F148 80250868 86620012 */ lh $v0, 0x12($s3) /* 17F148 80250868 86620012 */ lh $v0, 0x12($s3)
/* 17F14C 8025086C 00021080 */ sll $v0, $v0, 2 /* 17F14C 8025086C 00021080 */ sll $v0, $v0, 2
/* 17F150 80250870 3C108028 */ lui $s0, %hi(D_80283770) /* 17F150 80250870 3C108028 */ lui $s0, %hi(bMessages)
/* 17F154 80250874 02028021 */ addu $s0, $s0, $v0 /* 17F154 80250874 02028021 */ addu $s0, $s0, $v0
/* 17F158 80250878 8E103770 */ lw $s0, %lo(D_80283770)($s0) /* 17F158 80250878 8E103770 */ lw $s0, %lo(D_80283770)($s0)
/* 17F15C 8025087C 0C04992C */ jal get_msg_lines /* 17F15C 8025087C 0C04992C */ jal get_msg_lines
@ -48,9 +48,9 @@ glabel L80250868_17F148
glabel L802508C0_17F1A0 glabel L802508C0_17F1A0
/* 17F1A0 802508C0 86620012 */ lh $v0, 0x12($s3) /* 17F1A0 802508C0 86620012 */ lh $v0, 0x12($s3)
/* 17F1A4 802508C4 00021080 */ sll $v0, $v0, 2 /* 17F1A4 802508C4 00021080 */ sll $v0, $v0, 2
/* 17F1A8 802508C8 3C108028 */ lui $s0, %hi(D_80283770) /* 17F1A8 802508C8 3C108028 */ lui $s0, %hi(bMessages)
/* 17F1AC 802508CC 02028021 */ addu $s0, $s0, $v0 /* 17F1AC 802508CC 02028021 */ addu $s0, $s0, $v0
/* 17F1B0 802508D0 8E103770 */ lw $s0, %lo(D_80283770)($s0) /* 17F1B0 802508D0 8E103770 */ lw $s0, %lo(bMessages)($s0)
/* 17F1B4 802508D4 0C04992C */ jal get_msg_lines /* 17F1B4 802508D4 0C04992C */ jal get_msg_lines
/* 17F1B8 802508D8 0200202D */ daddu $a0, $s0, $zero /* 17F1B8 802508D8 0200202D */ daddu $a0, $s0, $zero
/* 17F1BC 802508DC 2443FFFF */ addiu $v1, $v0, -1 /* 17F1BC 802508DC 2443FFFF */ addiu $v1, $v0, -1
@ -68,9 +68,9 @@ glabel L802508C0_17F1A0
glabel L8025090C_17F1EC glabel L8025090C_17F1EC
/* 17F1EC 8025090C 86620012 */ lh $v0, 0x12($s3) /* 17F1EC 8025090C 86620012 */ lh $v0, 0x12($s3)
/* 17F1F0 80250910 00021080 */ sll $v0, $v0, 2 /* 17F1F0 80250910 00021080 */ sll $v0, $v0, 2
/* 17F1F4 80250914 3C108028 */ lui $s0, %hi(D_80283770) /* 17F1F4 80250914 3C108028 */ lui $s0, %hi(bMessages)
/* 17F1F8 80250918 02028021 */ addu $s0, $s0, $v0 /* 17F1F8 80250918 02028021 */ addu $s0, $s0, $v0
/* 17F1FC 8025091C 8E103770 */ lw $s0, %lo(D_80283770)($s0) /* 17F1FC 8025091C 8E103770 */ lw $s0, %lo(bMessages)($s0)
/* 17F200 80250920 0C04992C */ jal get_msg_lines /* 17F200 80250920 0C04992C */ jal get_msg_lines
/* 17F204 80250924 0200202D */ daddu $a0, $s0, $zero /* 17F204 80250924 0200202D */ daddu $a0, $s0, $zero
/* 17F208 80250928 2443FFFF */ addiu $v1, $v0, -1 /* 17F208 80250928 2443FFFF */ addiu $v1, $v0, -1
@ -82,9 +82,9 @@ glabel L8025090C_17F1EC
/* 17F220 80250940 00230821 */ addu $at, $at, $v1 /* 17F220 80250940 00230821 */ addu $at, $at, $v1
/* 17F224 80250944 842335D4 */ lh $v1, %lo(D_802835D4)($at) /* 17F224 80250944 842335D4 */ lh $v1, %lo(D_802835D4)($at)
/* 17F228 80250948 00021080 */ sll $v0, $v0, 2 /* 17F228 80250948 00021080 */ sll $v0, $v0, 2
/* 17F22C 8025094C 3C048028 */ lui $a0, %hi(D_802838C4) /* 17F22C 8025094C 3C048028 */ lui $a0, %hi(bActorMessages)
/* 17F230 80250950 00822021 */ addu $a0, $a0, $v0 /* 17F230 80250950 00822021 */ addu $a0, $a0, $v0
/* 17F234 80250954 8C8438C4 */ lw $a0, %lo(D_802838C4)($a0) /* 17F234 80250954 8C8438C4 */ lw $a0, %lo(bActorMessages)($a0)
/* 17F238 80250958 0C0496CF */ jal set_message_string /* 17F238 80250958 0C0496CF */ jal set_message_string
/* 17F23C 8025095C 02238821 */ addu $s1, $s1, $v1 /* 17F23C 8025095C 02238821 */ addu $s1, $s1, $v1
/* 17F240 80250960 0200202D */ daddu $a0, $s0, $zero /* 17F240 80250960 0200202D */ daddu $a0, $s0, $zero
@ -104,9 +104,9 @@ glabel L80250988_17F268
/* 17F270 80250990 86620012 */ lh $v0, 0x12($s3) /* 17F270 80250990 86620012 */ lh $v0, 0x12($s3)
/* 17F274 80250994 240700FF */ addiu $a3, $zero, 0xff /* 17F274 80250994 240700FF */ addiu $a3, $zero, 0xff
/* 17F278 80250998 00021080 */ sll $v0, $v0, 2 /* 17F278 80250998 00021080 */ sll $v0, $v0, 2
/* 17F27C 8025099C 3C108028 */ lui $s0, %hi(D_80283770) /* 17F27C 8025099C 3C108028 */ lui $s0, %hi(bMessages)
/* 17F280 802509A0 02028021 */ addu $s0, $s0, $v0 /* 17F280 802509A0 02028021 */ addu $s0, $s0, $v0
/* 17F284 802509A4 8E103770 */ lw $s0, %lo(D_80283770)($s0) /* 17F284 802509A4 8E103770 */ lw $s0, %lo(bMessages)($s0)
/* 17F288 802509A8 2402000F */ addiu $v0, $zero, 0xf /* 17F288 802509A8 2402000F */ addiu $v0, $zero, 0xf
/* 17F28C 802509AC AFA20010 */ sw $v0, 0x10($sp) /* 17F28C 802509AC AFA20010 */ sw $v0, 0x10($sp)
/* 17F290 802509B0 AFA00014 */ sw $zero, 0x14($sp) /* 17F290 802509B0 AFA00014 */ sw $zero, 0x14($sp)
@ -134,9 +134,9 @@ glabel L802509DC_17F2BC
.L80250A00: .L80250A00:
/* 17F2E0 80250A00 2652FFF5 */ addiu $s2, $s2, -0xb /* 17F2E0 80250A00 2652FFF5 */ addiu $s2, $s2, -0xb
/* 17F2E4 80250A04 00031080 */ sll $v0, $v1, 2 /* 17F2E4 80250A04 00031080 */ sll $v0, $v1, 2
/* 17F2E8 80250A08 3C108028 */ lui $s0, %hi(D_80283770) /* 17F2E8 80250A08 3C108028 */ lui $s0, %hi(bMessages)
/* 17F2EC 80250A0C 02028021 */ addu $s0, $s0, $v0 /* 17F2EC 80250A0C 02028021 */ addu $s0, $s0, $v0
/* 17F2F0 80250A10 8E103770 */ lw $s0, %lo(D_80283770)($s0) /* 17F2F0 80250A10 8E103770 */ lw $s0, %lo(bMessages)($s0)
/* 17F2F4 80250A14 2631FFFA */ addiu $s1, $s1, -6 /* 17F2F4 80250A14 2631FFFA */ addiu $s1, $s1, -6
/* 17F2F8 80250A18 0C04992C */ jal get_msg_lines /* 17F2F8 80250A18 0C04992C */ jal get_msg_lines
/* 17F2FC 80250A1C 0200202D */ daddu $a0, $s0, $zero /* 17F2FC 80250A1C 0200202D */ daddu $a0, $s0, $zero

View File

@ -27,9 +27,9 @@ glabel L80250EEC_17F7CC
/* 17F7D8 80250EF8 86620012 */ lh $v0, 0x12($s3) /* 17F7D8 80250EF8 86620012 */ lh $v0, 0x12($s3)
/* 17F7DC 80250EFC A2600017 */ sb $zero, 0x17($s3) /* 17F7DC 80250EFC A2600017 */ sb $zero, 0x17($s3)
/* 17F7E0 80250F00 00021080 */ sll $v0, $v0, 2 /* 17F7E0 80250F00 00021080 */ sll $v0, $v0, 2
/* 17F7E4 80250F04 3C108028 */ lui $s0, %hi(D_80283770) /* 17F7E4 80250F04 3C108028 */ lui $s0, %hi(bMessages)
/* 17F7E8 80250F08 02028021 */ addu $s0, $s0, $v0 /* 17F7E8 80250F08 02028021 */ addu $s0, $s0, $v0
/* 17F7EC 80250F0C 8E103770 */ lw $s0, %lo(D_80283770)($s0) /* 17F7EC 80250F0C 8E103770 */ lw $s0, %lo(bMessages)($s0)
/* 17F7F0 80250F10 0C04991D */ jal get_string_width /* 17F7F0 80250F10 0C04991D */ jal get_string_width
/* 17F7F4 80250F14 0200202D */ daddu $a0, $s0, $zero /* 17F7F4 80250F14 0200202D */ daddu $a0, $s0, $zero
/* 17F7F8 80250F18 2447001E */ addiu $a3, $v0, 0x1e /* 17F7F8 80250F18 2447001E */ addiu $a3, $v0, 0x1e
@ -69,9 +69,9 @@ glabel L80250F90_17F870
/* 17F87C 80250F9C 86620012 */ lh $v0, 0x12($s3) /* 17F87C 80250F9C 86620012 */ lh $v0, 0x12($s3)
/* 17F880 80250FA0 A2600017 */ sb $zero, 0x17($s3) /* 17F880 80250FA0 A2600017 */ sb $zero, 0x17($s3)
/* 17F884 80250FA4 00021080 */ sll $v0, $v0, 2 /* 17F884 80250FA4 00021080 */ sll $v0, $v0, 2
/* 17F888 80250FA8 3C048028 */ lui $a0, %hi(D_80283770) /* 17F888 80250FA8 3C048028 */ lui $a0, %hi(bMessages)
/* 17F88C 80250FAC 00822021 */ addu $a0, $a0, $v0 /* 17F88C 80250FAC 00822021 */ addu $a0, $a0, $v0
/* 17F890 80250FB0 8C843770 */ lw $a0, %lo(D_80283770)($a0) /* 17F890 80250FB0 8C843770 */ lw $a0, %lo(bMessages)($a0)
/* 17F894 80250FB4 0C04991D */ jal get_string_width /* 17F894 80250FB4 0C04991D */ jal get_string_width
/* 17F898 80250FB8 0000282D */ daddu $a1, $zero, $zero /* 17F898 80250FB8 0000282D */ daddu $a1, $zero, $zero
/* 17F89C 80250FBC 24470037 */ addiu $a3, $v0, 0x37 /* 17F89C 80250FBC 24470037 */ addiu $a3, $v0, 0x37
@ -104,9 +104,9 @@ glabel L80251010_17F8F0
/* 17F904 80251024 3C04802A */ lui $a0, %hi(D_8029F640) /* 17F904 80251024 3C04802A */ lui $a0, %hi(D_8029F640)
/* 17F908 80251028 8484F640 */ lh $a0, %lo(D_8029F640)($a0) /* 17F908 80251028 8484F640 */ lh $a0, %lo(D_8029F640)($a0)
/* 17F90C 8025102C 00021080 */ sll $v0, $v0, 2 /* 17F90C 8025102C 00021080 */ sll $v0, $v0, 2
/* 17F910 80251030 3C108028 */ lui $s0, %hi(D_80283770) /* 17F910 80251030 3C108028 */ lui $s0, %hi(bMessages)
/* 17F914 80251034 02028021 */ addu $s0, $s0, $v0 /* 17F914 80251034 02028021 */ addu $s0, $s0, $v0
/* 17F918 80251038 8E103770 */ lw $s0, %lo(D_80283770)($s0) /* 17F918 80251038 8E103770 */ lw $s0, %lo(bMessages)($s0)
/* 17F91C 8025103C 0C0496FA */ jal set_message_value /* 17F91C 8025103C 0C0496FA */ jal set_message_value
/* 17F920 80251040 0000282D */ daddu $a1, $zero, $zero /* 17F920 80251040 0000282D */ daddu $a1, $zero, $zero
/* 17F924 80251044 0000282D */ daddu $a1, $zero, $zero /* 17F924 80251044 0000282D */ daddu $a1, $zero, $zero
@ -152,12 +152,12 @@ glabel L802510C8_17F9A8
/* 17F9C0 802510E0 86620012 */ lh $v0, 0x12($s3) /* 17F9C0 802510E0 86620012 */ lh $v0, 0x12($s3)
/* 17F9C4 802510E4 00031880 */ sll $v1, $v1, 2 /* 17F9C4 802510E4 00031880 */ sll $v1, $v1, 2
/* 17F9C8 802510E8 00021080 */ sll $v0, $v0, 2 /* 17F9C8 802510E8 00021080 */ sll $v0, $v0, 2
/* 17F9CC 802510EC 3C048028 */ lui $a0, %hi(D_802838C4) /* 17F9CC 802510EC 3C048028 */ lui $a0, %hi(bActorMessages)
/* 17F9D0 802510F0 00832021 */ addu $a0, $a0, $v1 /* 17F9D0 802510F0 00832021 */ addu $a0, $a0, $v1
/* 17F9D4 802510F4 8C8438C4 */ lw $a0, %lo(D_802838C4)($a0) /* 17F9D4 802510F4 8C8438C4 */ lw $a0, %lo(bActorMessages)($a0)
/* 17F9D8 802510F8 3C108028 */ lui $s0, %hi(D_80283770) /* 17F9D8 802510F8 3C108028 */ lui $s0, %hi(bMessages)
/* 17F9DC 802510FC 02028021 */ addu $s0, $s0, $v0 /* 17F9DC 802510FC 02028021 */ addu $s0, $s0, $v0
/* 17F9E0 80251100 8E103770 */ lw $s0, %lo(D_80283770)($s0) /* 17F9E0 80251100 8E103770 */ lw $s0, %lo(bMessages)($s0)
/* 17F9E4 80251104 0C0496CF */ jal set_message_string /* 17F9E4 80251104 0C0496CF */ jal set_message_string
/* 17F9E8 80251108 0000282D */ daddu $a1, $zero, $zero /* 17F9E8 80251108 0000282D */ daddu $a1, $zero, $zero
/* 17F9EC 8025110C 0200202D */ daddu $a0, $s0, $zero /* 17F9EC 8025110C 0200202D */ daddu $a0, $s0, $zero
@ -200,9 +200,9 @@ glabel L80251190_17FA70
/* 17FA7C 8025119C 86620012 */ lh $v0, 0x12($s3) /* 17FA7C 8025119C 86620012 */ lh $v0, 0x12($s3)
/* 17FA80 802511A0 A2600017 */ sb $zero, 0x17($s3) /* 17FA80 802511A0 A2600017 */ sb $zero, 0x17($s3)
/* 17FA84 802511A4 00021080 */ sll $v0, $v0, 2 /* 17FA84 802511A4 00021080 */ sll $v0, $v0, 2
/* 17FA88 802511A8 3C108028 */ lui $s0, %hi(D_80283770) /* 17FA88 802511A8 3C108028 */ lui $s0, %hi(bMessages)
/* 17FA8C 802511AC 02028021 */ addu $s0, $s0, $v0 /* 17FA8C 802511AC 02028021 */ addu $s0, $s0, $v0
/* 17FA90 802511B0 8E103770 */ lw $s0, %lo(D_80283770)($s0) /* 17FA90 802511B0 8E103770 */ lw $s0, %lo(bMessages)($s0)
/* 17FA94 802511B4 241400C0 */ addiu $s4, $zero, 0xc0 /* 17FA94 802511B4 241400C0 */ addiu $s4, $zero, 0xc0
/* 17FA98 802511B8 0C04991D */ jal get_string_width /* 17FA98 802511B8 0C04991D */ jal get_string_width
/* 17FA9C 802511BC 0200202D */ daddu $a0, $s0, $zero /* 17FA9C 802511BC 0200202D */ daddu $a0, $s0, $zero

View File

@ -347,9 +347,9 @@ glabel update_actor_shadow
/* 1847A0 80255EC0 E6220014 */ swc1 $f2, 0x14($s1) /* 1847A0 80255EC0 E6220014 */ swc1 $f2, 0x14($s1)
/* 1847A4 80255EC4 92420136 */ lbu $v0, 0x136($s2) /* 1847A4 80255EC4 92420136 */ lbu $v0, 0x136($s2)
/* 1847A8 80255EC8 00021080 */ sll $v0, $v0, 2 /* 1847A8 80255EC8 00021080 */ sll $v0, $v0, 2
/* 1847AC 80255ECC 3C018028 */ lui $at, %hi(D_80282EEB) /* 1847AC 80255ECC 3C018028 */ lui $at, %hi(gActorCamOffsets+3)
/* 1847B0 80255ED0 00220821 */ addu $at, $at, $v0 /* 1847B0 80255ED0 00220821 */ addu $at, $at, $v0
/* 1847B4 80255ED4 80222EEB */ lb $v0, %lo(D_80282EEB)($at) /* 1847B4 80255ED4 80222EEB */ lb $v0, %lo(gActorCamOffsets+3)($at)
/* 1847B8 80255ED8 C7A00020 */ lwc1 $f0, 0x20($sp) /* 1847B8 80255ED8 C7A00020 */ lwc1 $f0, 0x20($sp)
/* 1847BC 80255EDC 44821000 */ mtc1 $v0, $f2 /* 1847BC 80255EDC 44821000 */ mtc1 $v0, $f2
/* 1847C0 80255EE0 00000000 */ nop /* 1847C0 80255EE0 00000000 */ nop

View File

@ -19,8 +19,8 @@ glabel activate_defend_command
/* 18F41C 80260B3C 0080282D */ daddu $a1, $a0, $zero /* 18F41C 80260B3C 0080282D */ daddu $a1, $a0, $zero
/* 18F420 80260B40 00431025 */ or $v0, $v0, $v1 /* 18F420 80260B40 00431025 */ or $v0, $v0, $v1
/* 18F424 80260B44 AE020000 */ sw $v0, ($s0) /* 18F424 80260B44 AE020000 */ sw $v0, ($s0)
/* 18F428 80260B48 3C028028 */ lui $v0, %hi(D_802832D4) /* 18F428 80260B48 3C028028 */ lui $v0, %hi(bMarioDefendAnims)
/* 18F42C 80260B4C 244232D4 */ addiu $v0, $v0, %lo(D_802832D4) /* 18F42C 80260B4C 244232D4 */ addiu $v0, $v0, %lo(bMarioDefendAnims)
/* 18F430 80260B50 0C098F3F */ jal set_animation /* 18F430 80260B50 0C098F3F */ jal set_animation
/* 18F434 80260B54 AE220094 */ sw $v0, 0x94($s1) /* 18F434 80260B54 AE220094 */ sw $v0, 0x94($s1)
/* 18F438 80260B58 8FBF0018 */ lw $ra, 0x18($sp) /* 18F438 80260B58 8FBF0018 */ lw $ra, 0x18($sp)

View File

@ -13,8 +13,8 @@ glabel func_80260A60
/* 18F360 80260A80 8C6301F4 */ lw $v1, 0x1f4($v1) /* 18F360 80260A80 8C6301F4 */ lw $v1, 0x1f4($v1)
/* 18F364 80260A84 1040000A */ beqz $v0, .L80260AB0 /* 18F364 80260A84 1040000A */ beqz $v0, .L80260AB0
/* 18F368 80260A88 3C06000A */ lui $a2, 0xa /* 18F368 80260A88 3C06000A */ lui $a2, 0xa
/* 18F36C 80260A8C 3C028028 */ lui $v0, %hi(D_8028340C) /* 18F36C 80260A8C 3C028028 */ lui $v0, %hi(bPeachIdleAnims)
/* 18F370 80260A90 2442340C */ addiu $v0, $v0, %lo(D_8028340C) /* 18F370 80260A90 2442340C */ addiu $v0, $v0, %lo(bPeachIdleAnims)
/* 18F374 80260A94 AC620094 */ sw $v0, 0x94($v1) /* 18F374 80260A94 AC620094 */ sw $v0, 0x94($v1)
/* 18F378 80260A98 34C60002 */ ori $a2, $a2, 2 /* 18F378 80260A98 34C60002 */ ori $a2, $a2, 2
/* 18F37C 80260A9C 0000202D */ daddu $a0, $zero, $zero /* 18F37C 80260A9C 0000202D */ daddu $a0, $zero, $zero
@ -26,8 +26,8 @@ glabel func_80260A60
/* 18F390 80260AB0 8082009A */ lb $v0, 0x9a($a0) /* 18F390 80260AB0 8082009A */ lb $v0, 0x9a($a0)
/* 18F394 80260AB4 14400004 */ bnez $v0, .L80260AC8 /* 18F394 80260AB4 14400004 */ bnez $v0, .L80260AC8
/* 18F398 80260AB8 00000000 */ nop /* 18F398 80260AB8 00000000 */ nop
/* 18F39C 80260ABC 3C028028 */ lui $v0, %hi(D_80283238) /* 18F39C 80260ABC 3C028028 */ lui $v0, %hi(bMarioIdleAnims)
/* 18F3A0 80260AC0 24423238 */ addiu $v0, $v0, %lo(D_80283238) /* 18F3A0 80260AC0 24423238 */ addiu $v0, $v0, %lo(bMarioIdleAnims)
/* 18F3A4 80260AC4 AC620094 */ sw $v0, 0x94($v1) /* 18F3A4 80260AC4 AC620094 */ sw $v0, 0x94($v1)
.L80260AC8: .L80260AC8:
/* 18F3A8 80260AC8 8FBF0010 */ lw $ra, 0x10($sp) /* 18F3A8 80260AC8 8FBF0010 */ lw $ra, 0x10($sp)

View File

@ -206,59 +206,59 @@ glabel create_actor
/* 193F8C 802656AC 000310C0 */ sll $v0, $v1, 3 /* 193F8C 802656AC 000310C0 */ sll $v0, $v1, 3
/* 193F90 802656B0 00431023 */ subu $v0, $v0, $v1 /* 193F90 802656B0 00431023 */ subu $v0, $v0, $v1
/* 193F94 802656B4 00021080 */ sll $v0, $v0, 2 /* 193F94 802656B4 00021080 */ sll $v0, $v0, 2
/* 193F98 802656B8 3C018028 */ lui $at, %hi(D_80281468) /* 193F98 802656B8 3C018028 */ lui $at, %hi(gActorSoundTable)
/* 193F9C 802656BC 00220821 */ addu $at, $at, $v0 /* 193F9C 802656BC 00220821 */ addu $at, $at, $v0
/* 193FA0 802656C0 8C221468 */ lw $v0, %lo(D_80281468)($at) /* 193FA0 802656C0 8C221468 */ lw $v0, %lo(gActorSoundTable)($at)
/* 193FA4 802656C4 AE22019C */ sw $v0, 0x19c($s1) /* 193FA4 802656C4 AE22019C */ sw $v0, 0x19c($s1)
/* 193FA8 802656C8 000310C0 */ sll $v0, $v1, 3 /* 193FA8 802656C8 000310C0 */ sll $v0, $v1, 3
/* 193FAC 802656CC 00431023 */ subu $v0, $v0, $v1 /* 193FAC 802656CC 00431023 */ subu $v0, $v0, $v1
/* 193FB0 802656D0 00021080 */ sll $v0, $v0, 2 /* 193FB0 802656D0 00021080 */ sll $v0, $v0, 2
/* 193FB4 802656D4 3C018028 */ lui $at, %hi(D_8028146C) /* 193FB4 802656D4 3C018028 */ lui $at, %hi(gActorSoundTable+4)
/* 193FB8 802656D8 00220821 */ addu $at, $at, $v0 /* 193FB8 802656D8 00220821 */ addu $at, $at, $v0
/* 193FBC 802656DC 8C22146C */ lw $v0, %lo(D_8028146C)($at) /* 193FBC 802656DC 8C22146C */ lw $v0, %lo(gActorSoundTable+4)($at)
/* 193FC0 802656E0 AE2201A0 */ sw $v0, 0x1a0($s1) /* 193FC0 802656E0 AE2201A0 */ sw $v0, 0x1a0($s1)
/* 193FC4 802656E4 000310C0 */ sll $v0, $v1, 3 /* 193FC4 802656E4 000310C0 */ sll $v0, $v1, 3
/* 193FC8 802656E8 00431023 */ subu $v0, $v0, $v1 /* 193FC8 802656E8 00431023 */ subu $v0, $v0, $v1
/* 193FCC 802656EC 00021080 */ sll $v0, $v0, 2 /* 193FCC 802656EC 00021080 */ sll $v0, $v0, 2
/* 193FD0 802656F0 3C018028 */ lui $at, %hi(D_80281470) /* 193FD0 802656F0 3C018028 */ lui $at, %hi(gActorSoundTable+8)
/* 193FD4 802656F4 00220821 */ addu $at, $at, $v0 /* 193FD4 802656F4 00220821 */ addu $at, $at, $v0
/* 193FD8 802656F8 8C221470 */ lw $v0, %lo(D_80281470)($at) /* 193FD8 802656F8 8C221470 */ lw $v0, %lo(gActorSoundTable+8)($at)
/* 193FDC 802656FC AE2201A4 */ sw $v0, 0x1a4($s1) /* 193FDC 802656FC AE2201A4 */ sw $v0, 0x1a4($s1)
/* 193FE0 80265700 000310C0 */ sll $v0, $v1, 3 /* 193FE0 80265700 000310C0 */ sll $v0, $v1, 3
/* 193FE4 80265704 00431023 */ subu $v0, $v0, $v1 /* 193FE4 80265704 00431023 */ subu $v0, $v0, $v1
/* 193FE8 80265708 00021080 */ sll $v0, $v0, 2 /* 193FE8 80265708 00021080 */ sll $v0, $v0, 2
/* 193FEC 8026570C 3C018028 */ lui $at, %hi(D_80281474) /* 193FEC 8026570C 3C018028 */ lui $at, %hi(gActorSoundTable+12)
/* 193FF0 80265710 00220821 */ addu $at, $at, $v0 /* 193FF0 80265710 00220821 */ addu $at, $at, $v0
/* 193FF4 80265714 8C221474 */ lw $v0, %lo(D_80281474)($at) /* 193FF4 80265714 8C221474 */ lw $v0, %lo(gActorSoundTable+12)($at)
/* 193FF8 80265718 AE2201A8 */ sw $v0, 0x1a8($s1) /* 193FF8 80265718 AE2201A8 */ sw $v0, 0x1a8($s1)
/* 193FFC 8026571C 000310C0 */ sll $v0, $v1, 3 /* 193FFC 8026571C 000310C0 */ sll $v0, $v1, 3
/* 194000 80265720 00431023 */ subu $v0, $v0, $v1 /* 194000 80265720 00431023 */ subu $v0, $v0, $v1
/* 194004 80265724 00021080 */ sll $v0, $v0, 2 /* 194004 80265724 00021080 */ sll $v0, $v0, 2
/* 194008 80265728 3C018028 */ lui $at, %hi(D_80281478) /* 194008 80265728 3C018028 */ lui $at, %hi(gActorSoundTable+16)
/* 19400C 8026572C 00220821 */ addu $at, $at, $v0 /* 19400C 8026572C 00220821 */ addu $at, $at, $v0
/* 194010 80265730 8C221478 */ lw $v0, %lo(D_80281478)($at) /* 194010 80265730 8C221478 */ lw $v0, %lo(gActorSoundTable+16)($at)
/* 194014 80265734 AE2201AC */ sw $v0, 0x1ac($s1) /* 194014 80265734 AE2201AC */ sw $v0, 0x1ac($s1)
/* 194018 80265738 000310C0 */ sll $v0, $v1, 3 /* 194018 80265738 000310C0 */ sll $v0, $v1, 3
/* 19401C 8026573C 00431023 */ subu $v0, $v0, $v1 /* 19401C 8026573C 00431023 */ subu $v0, $v0, $v1
/* 194020 80265740 00021080 */ sll $v0, $v0, 2 /* 194020 80265740 00021080 */ sll $v0, $v0, 2
/* 194024 80265744 3C018028 */ lui $at, %hi(D_8028147C) /* 194024 80265744 3C018028 */ lui $at, %hi(gActorSoundTable+20)
/* 194028 80265748 00220821 */ addu $at, $at, $v0 /* 194028 80265748 00220821 */ addu $at, $at, $v0
/* 19402C 8026574C 8C22147C */ lw $v0, %lo(D_8028147C)($at) /* 19402C 8026574C 8C22147C */ lw $v0, %lo(gActorSoundTable+20)($at)
/* 194030 80265750 AE2201B0 */ sw $v0, 0x1b0($s1) /* 194030 80265750 AE2201B0 */ sw $v0, 0x1b0($s1)
/* 194034 80265754 000310C0 */ sll $v0, $v1, 3 /* 194034 80265754 000310C0 */ sll $v0, $v1, 3
/* 194038 80265758 00431023 */ subu $v0, $v0, $v1 /* 194038 80265758 00431023 */ subu $v0, $v0, $v1
/* 19403C 8026575C 00021080 */ sll $v0, $v0, 2 /* 19403C 8026575C 00021080 */ sll $v0, $v0, 2
/* 194040 80265760 3C018028 */ lui $at, %hi(D_80281480) /* 194040 80265760 3C018028 */ lui $at, %hi(gActorSoundTable+24)
/* 194044 80265764 00220821 */ addu $at, $at, $v0 /* 194044 80265764 00220821 */ addu $at, $at, $v0
/* 194048 80265768 94221480 */ lhu $v0, %lo(D_80281480)($at) /* 194048 80265768 94221480 */ lhu $v0, %lo(gActorSoundTable+24)($at)
/* 19404C 8026576C 24100001 */ addiu $s0, $zero, 1 /* 19404C 8026576C 24100001 */ addiu $s0, $zero, 1
/* 194050 80265770 A62201B4 */ sh $v0, 0x1b4($s1) /* 194050 80265770 A62201B4 */ sh $v0, 0x1b4($s1)
/* 194054 80265774 000310C0 */ sll $v0, $v1, 3 /* 194054 80265774 000310C0 */ sll $v0, $v1, 3
/* 194058 80265778 00431023 */ subu $v0, $v0, $v1 /* 194058 80265778 00431023 */ subu $v0, $v0, $v1
/* 19405C 8026577C 00021080 */ sll $v0, $v0, 2 /* 19405C 8026577C 00021080 */ sll $v0, $v0, 2
/* 194060 80265780 3C018028 */ lui $at, %hi(D_80281482) /* 194060 80265780 3C018028 */ lui $at, %hi(gActorSoundTable+0x1A)
/* 194064 80265784 00220821 */ addu $at, $at, $v0 /* 194064 80265784 00220821 */ addu $at, $at, $v0
/* 194068 80265788 94221482 */ lhu $v0, %lo(D_80281482)($at) /* 194068 80265788 94221482 */ lhu $v0, %lo(gActorSoundTable+0x1A)($at)
/* 19406C 8026578C 26230004 */ addiu $v1, $s1, 4 /* 19406C 8026578C 26230004 */ addiu $v1, $s1, 4
/* 194070 80265790 A62201B6 */ sh $v0, 0x1b6($s1) /* 194070 80265790 A62201B6 */ sh $v0, 0x1b6($s1)
.L80265794: .L80265794:
@ -290,8 +290,8 @@ glabel create_actor
/* 1940D0 802657F0 0000982D */ daddu $s3, $zero, $zero /* 1940D0 802657F0 0000982D */ daddu $s3, $zero, $zero
/* 1940D4 802657F4 3C013F80 */ lui $at, 0x3f80 /* 1940D4 802657F4 3C013F80 */ lui $at, 0x3f80
/* 1940D8 802657F8 4481A000 */ mtc1 $at, $f20 /* 1940D8 802657F8 4481A000 */ mtc1 $at, $f20
/* 1940DC 802657FC 3C128028 */ lui $s2, %hi(D_80281468) /* 1940DC 802657FC 3C128028 */ lui $s2, %hi(gActorSoundTable)
/* 1940E0 80265800 26521468 */ addiu $s2, $s2, %lo(D_80281468) /* 1940E0 80265800 26521468 */ addiu $s2, $s2, %lo(gActorSoundTable)
/* 1940E4 80265804 0260A82D */ daddu $s5, $s3, $zero /* 1940E4 80265804 0260A82D */ daddu $s5, $s3, $zero
.L80265808: .L80265808:
/* 1940E8 80265808 8E82000C */ lw $v0, 0xc($s4) /* 1940E8 80265808 8E82000C */ lw $v0, 0xc($s4)

View File

@ -188,59 +188,59 @@ glabel load_partner_actor
/* 193714 80264E34 000310C0 */ sll $v0, $v1, 3 /* 193714 80264E34 000310C0 */ sll $v0, $v1, 3
/* 193718 80264E38 00431023 */ subu $v0, $v0, $v1 /* 193718 80264E38 00431023 */ subu $v0, $v0, $v1
/* 19371C 80264E3C 00021080 */ sll $v0, $v0, 2 /* 19371C 80264E3C 00021080 */ sll $v0, $v0, 2
/* 193720 80264E40 3C018028 */ lui $at, %hi(D_80281468) /* 193720 80264E40 3C018028 */ lui $at, %hi(gActorSoundTable)
/* 193724 80264E44 00220821 */ addu $at, $at, $v0 /* 193724 80264E44 00220821 */ addu $at, $at, $v0
/* 193728 80264E48 8C221468 */ lw $v0, %lo(D_80281468)($at) /* 193728 80264E48 8C221468 */ lw $v0, %lo(gActorSoundTable)($at)
/* 19372C 80264E4C AE22019C */ sw $v0, 0x19c($s1) /* 19372C 80264E4C AE22019C */ sw $v0, 0x19c($s1)
/* 193730 80264E50 000310C0 */ sll $v0, $v1, 3 /* 193730 80264E50 000310C0 */ sll $v0, $v1, 3
/* 193734 80264E54 00431023 */ subu $v0, $v0, $v1 /* 193734 80264E54 00431023 */ subu $v0, $v0, $v1
/* 193738 80264E58 00021080 */ sll $v0, $v0, 2 /* 193738 80264E58 00021080 */ sll $v0, $v0, 2
/* 19373C 80264E5C 3C018028 */ lui $at, %hi(D_8028146C) /* 19373C 80264E5C 3C018028 */ lui $at, %hi(gActorSoundTable+4)
/* 193740 80264E60 00220821 */ addu $at, $at, $v0 /* 193740 80264E60 00220821 */ addu $at, $at, $v0
/* 193744 80264E64 8C22146C */ lw $v0, %lo(D_8028146C)($at) /* 193744 80264E64 8C22146C */ lw $v0, %lo(gActorSoundTable+4)($at)
/* 193748 80264E68 AE2201A0 */ sw $v0, 0x1a0($s1) /* 193748 80264E68 AE2201A0 */ sw $v0, 0x1a0($s1)
/* 19374C 80264E6C 000310C0 */ sll $v0, $v1, 3 /* 19374C 80264E6C 000310C0 */ sll $v0, $v1, 3
/* 193750 80264E70 00431023 */ subu $v0, $v0, $v1 /* 193750 80264E70 00431023 */ subu $v0, $v0, $v1
/* 193754 80264E74 00021080 */ sll $v0, $v0, 2 /* 193754 80264E74 00021080 */ sll $v0, $v0, 2
/* 193758 80264E78 3C018028 */ lui $at, %hi(D_80281470) /* 193758 80264E78 3C018028 */ lui $at, %hi(gActorSoundTable+8)
/* 19375C 80264E7C 00220821 */ addu $at, $at, $v0 /* 19375C 80264E7C 00220821 */ addu $at, $at, $v0
/* 193760 80264E80 8C221470 */ lw $v0, %lo(D_80281470)($at) /* 193760 80264E80 8C221470 */ lw $v0, %lo(gActorSoundTable+8)($at)
/* 193764 80264E84 AE2201A4 */ sw $v0, 0x1a4($s1) /* 193764 80264E84 AE2201A4 */ sw $v0, 0x1a4($s1)
/* 193768 80264E88 000310C0 */ sll $v0, $v1, 3 /* 193768 80264E88 000310C0 */ sll $v0, $v1, 3
/* 19376C 80264E8C 00431023 */ subu $v0, $v0, $v1 /* 19376C 80264E8C 00431023 */ subu $v0, $v0, $v1
/* 193770 80264E90 00021080 */ sll $v0, $v0, 2 /* 193770 80264E90 00021080 */ sll $v0, $v0, 2
/* 193774 80264E94 3C018028 */ lui $at, %hi(D_80281474) /* 193774 80264E94 3C018028 */ lui $at, %hi(gActorSoundTable+12)
/* 193778 80264E98 00220821 */ addu $at, $at, $v0 /* 193778 80264E98 00220821 */ addu $at, $at, $v0
/* 19377C 80264E9C 8C221474 */ lw $v0, %lo(D_80281474)($at) /* 19377C 80264E9C 8C221474 */ lw $v0, %lo(gActorSoundTable+12)($at)
/* 193780 80264EA0 AE2201A8 */ sw $v0, 0x1a8($s1) /* 193780 80264EA0 AE2201A8 */ sw $v0, 0x1a8($s1)
/* 193784 80264EA4 000310C0 */ sll $v0, $v1, 3 /* 193784 80264EA4 000310C0 */ sll $v0, $v1, 3
/* 193788 80264EA8 00431023 */ subu $v0, $v0, $v1 /* 193788 80264EA8 00431023 */ subu $v0, $v0, $v1
/* 19378C 80264EAC 00021080 */ sll $v0, $v0, 2 /* 19378C 80264EAC 00021080 */ sll $v0, $v0, 2
/* 193790 80264EB0 3C018028 */ lui $at, %hi(D_80281478) /* 193790 80264EB0 3C018028 */ lui $at, %hi(gActorSoundTable+16)
/* 193794 80264EB4 00220821 */ addu $at, $at, $v0 /* 193794 80264EB4 00220821 */ addu $at, $at, $v0
/* 193798 80264EB8 8C221478 */ lw $v0, %lo(D_80281478)($at) /* 193798 80264EB8 8C221478 */ lw $v0, %lo(gActorSoundTable+16)($at)
/* 19379C 80264EBC AE2201AC */ sw $v0, 0x1ac($s1) /* 19379C 80264EBC AE2201AC */ sw $v0, 0x1ac($s1)
/* 1937A0 80264EC0 000310C0 */ sll $v0, $v1, 3 /* 1937A0 80264EC0 000310C0 */ sll $v0, $v1, 3
/* 1937A4 80264EC4 00431023 */ subu $v0, $v0, $v1 /* 1937A4 80264EC4 00431023 */ subu $v0, $v0, $v1
/* 1937A8 80264EC8 00021080 */ sll $v0, $v0, 2 /* 1937A8 80264EC8 00021080 */ sll $v0, $v0, 2
/* 1937AC 80264ECC 3C018028 */ lui $at, %hi(D_8028147C) /* 1937AC 80264ECC 3C018028 */ lui $at, %hi(gActorSoundTable+20)
/* 1937B0 80264ED0 00220821 */ addu $at, $at, $v0 /* 1937B0 80264ED0 00220821 */ addu $at, $at, $v0
/* 1937B4 80264ED4 8C22147C */ lw $v0, %lo(D_8028147C)($at) /* 1937B4 80264ED4 8C22147C */ lw $v0, %lo(gActorSoundTable+20)($at)
/* 1937B8 80264ED8 AE2201B0 */ sw $v0, 0x1b0($s1) /* 1937B8 80264ED8 AE2201B0 */ sw $v0, 0x1b0($s1)
/* 1937BC 80264EDC 000310C0 */ sll $v0, $v1, 3 /* 1937BC 80264EDC 000310C0 */ sll $v0, $v1, 3
/* 1937C0 80264EE0 00431023 */ subu $v0, $v0, $v1 /* 1937C0 80264EE0 00431023 */ subu $v0, $v0, $v1
/* 1937C4 80264EE4 00021080 */ sll $v0, $v0, 2 /* 1937C4 80264EE4 00021080 */ sll $v0, $v0, 2
/* 1937C8 80264EE8 3C018028 */ lui $at, %hi(D_80281480) /* 1937C8 80264EE8 3C018028 */ lui $at, %hi(gActorSoundTable+24)
/* 1937CC 80264EEC 00220821 */ addu $at, $at, $v0 /* 1937CC 80264EEC 00220821 */ addu $at, $at, $v0
/* 1937D0 80264EF0 94221480 */ lhu $v0, %lo(D_80281480)($at) /* 1937D0 80264EF0 94221480 */ lhu $v0, %lo(gActorSoundTable+24)($at)
/* 1937D4 80264EF4 24040001 */ addiu $a0, $zero, 1 /* 1937D4 80264EF4 24040001 */ addiu $a0, $zero, 1
/* 1937D8 80264EF8 A62201B4 */ sh $v0, 0x1b4($s1) /* 1937D8 80264EF8 A62201B4 */ sh $v0, 0x1b4($s1)
/* 1937DC 80264EFC 000310C0 */ sll $v0, $v1, 3 /* 1937DC 80264EFC 000310C0 */ sll $v0, $v1, 3
/* 1937E0 80264F00 00431023 */ subu $v0, $v0, $v1 /* 1937E0 80264F00 00431023 */ subu $v0, $v0, $v1
/* 1937E4 80264F04 00021080 */ sll $v0, $v0, 2 /* 1937E4 80264F04 00021080 */ sll $v0, $v0, 2
/* 1937E8 80264F08 3C018028 */ lui $at, %hi(D_80281482) /* 1937E8 80264F08 3C018028 */ lui $at, %hi(gActorSoundTable+0x1A)
/* 1937EC 80264F0C 00220821 */ addu $at, $at, $v0 /* 1937EC 80264F0C 00220821 */ addu $at, $at, $v0
/* 1937F0 80264F10 94221482 */ lhu $v0, %lo(D_80281482)($at) /* 1937F0 80264F10 94221482 */ lhu $v0, %lo(gActorSoundTable+0x1A)($at)
/* 1937F4 80264F14 26230004 */ addiu $v1, $s1, 4 /* 1937F4 80264F14 26230004 */ addiu $v1, $s1, 4
/* 1937F8 80264F18 A62201B6 */ sh $v0, 0x1b6($s1) /* 1937F8 80264F18 A62201B6 */ sh $v0, 0x1b6($s1)
.L80264F1C: .L80264F1C:
@ -261,8 +261,8 @@ glabel load_partner_actor
/* 19382C 80264F4C 0000982D */ daddu $s3, $zero, $zero /* 19382C 80264F4C 0000982D */ daddu $s3, $zero, $zero
/* 193830 80264F50 3C013F80 */ lui $at, 0x3f80 /* 193830 80264F50 3C013F80 */ lui $at, 0x3f80
/* 193834 80264F54 4481A000 */ mtc1 $at, $f20 /* 193834 80264F54 4481A000 */ mtc1 $at, $f20
/* 193838 80264F58 3C128028 */ lui $s2, %hi(D_80281468) /* 193838 80264F58 3C128028 */ lui $s2, %hi(gActorSoundTable)
/* 19383C 80264F5C 26521468 */ addiu $s2, $s2, %lo(D_80281468) /* 19383C 80264F5C 26521468 */ addiu $s2, $s2, %lo(gActorSoundTable)
/* 193840 80264F60 0260A82D */ daddu $s5, $s3, $zero /* 193840 80264F60 0260A82D */ daddu $s5, $s3, $zero
.L80264F64: .L80264F64:
/* 193844 80264F64 8E83000C */ lw $v1, 0xc($s4) /* 193844 80264F64 8E83000C */ lw $v1, 0xc($s4)

View File

@ -20,8 +20,8 @@ glabel load_player_actor
/* 192DB8 802644D8 92230093 */ lbu $v1, 0x93($s1) /* 192DB8 802644D8 92230093 */ lbu $v1, 0x93($s1)
/* 192DBC 802644DC 24620001 */ addiu $v0, $v1, 1 /* 192DBC 802644DC 24620001 */ addiu $v0, $v1, 1
/* 192DC0 802644E0 A2220093 */ sb $v0, 0x93($s1) /* 192DC0 802644E0 A2220093 */ sb $v0, 0x93($s1)
/* 192DC4 802644E4 3C028028 */ lui $v0, %hi(D_802834D8) /* 192DC4 802644E4 3C028028 */ lui $v0, %hi(bPlayerActorDesc)
/* 192DC8 802644E8 244234D8 */ addiu $v0, $v0, %lo(D_802834D8) /* 192DC8 802644E8 244234D8 */ addiu $v0, $v0, %lo(bPlayerActorDesc)
/* 192DCC 802644EC A2030134 */ sb $v1, 0x134($s0) /* 192DCC 802644EC A2030134 */ sb $v1, 0x134($s0)
/* 192DD0 802644F0 A2000135 */ sb $zero, 0x135($s0) /* 192DD0 802644F0 A2000135 */ sb $zero, 0x135($s0)
/* 192DD4 802644F4 AE000000 */ sw $zero, ($s0) /* 192DD4 802644F4 AE000000 */ sw $zero, ($s0)
@ -109,8 +109,8 @@ glabel load_player_actor
/* 192F10 80264630 A2000204 */ sb $zero, 0x204($s0) /* 192F10 80264630 A2000204 */ sb $zero, 0x204($s0)
/* 192F14 80264634 A2000205 */ sb $zero, 0x205($s0) /* 192F14 80264634 A2000205 */ sb $zero, 0x205($s0)
/* 192F18 80264638 92030136 */ lbu $v1, 0x136($s0) /* 192F18 80264638 92030136 */ lbu $v1, 0x136($s0)
/* 192F1C 8026463C 3C028028 */ lui $v0, %hi(D_8028342C) /* 192F1C 8026463C 3C028028 */ lui $v0, %hi(bPlayerStatusTable)
/* 192F20 80264640 2442342C */ addiu $v0, $v0, %lo(D_8028342C) /* 192F20 80264640 2442342C */ addiu $v0, $v0, %lo(bPlayerStatusTable)
/* 192F24 80264644 A2000194 */ sb $zero, 0x194($s0) /* 192F24 80264644 A2000194 */ sb $zero, 0x194($s0)
/* 192F28 80264648 A2000195 */ sb $zero, 0x195($s0) /* 192F28 80264648 A2000195 */ sb $zero, 0x195($s0)
/* 192F2C 8026464C A2000196 */ sb $zero, 0x196($s0) /* 192F2C 8026464C A2000196 */ sb $zero, 0x196($s0)
@ -146,59 +146,59 @@ glabel load_player_actor
/* 192FA4 802646C4 000310C0 */ sll $v0, $v1, 3 /* 192FA4 802646C4 000310C0 */ sll $v0, $v1, 3
/* 192FA8 802646C8 00431023 */ subu $v0, $v0, $v1 /* 192FA8 802646C8 00431023 */ subu $v0, $v0, $v1
/* 192FAC 802646CC 00021080 */ sll $v0, $v0, 2 /* 192FAC 802646CC 00021080 */ sll $v0, $v0, 2
/* 192FB0 802646D0 3C018028 */ lui $at, %hi(D_80281468) /* 192FB0 802646D0 3C018028 */ lui $at, %hi(gActorSoundTable)
/* 192FB4 802646D4 00220821 */ addu $at, $at, $v0 /* 192FB4 802646D4 00220821 */ addu $at, $at, $v0
/* 192FB8 802646D8 8C221468 */ lw $v0, %lo(D_80281468)($at) /* 192FB8 802646D8 8C221468 */ lw $v0, %lo(gActorSoundTable)($at)
/* 192FBC 802646DC AE02019C */ sw $v0, 0x19c($s0) /* 192FBC 802646DC AE02019C */ sw $v0, 0x19c($s0)
/* 192FC0 802646E0 000310C0 */ sll $v0, $v1, 3 /* 192FC0 802646E0 000310C0 */ sll $v0, $v1, 3
/* 192FC4 802646E4 00431023 */ subu $v0, $v0, $v1 /* 192FC4 802646E4 00431023 */ subu $v0, $v0, $v1
/* 192FC8 802646E8 00021080 */ sll $v0, $v0, 2 /* 192FC8 802646E8 00021080 */ sll $v0, $v0, 2
/* 192FCC 802646EC 3C018028 */ lui $at, %hi(D_8028146C) /* 192FCC 802646EC 3C018028 */ lui $at, %hi(gActorSoundTable+4)
/* 192FD0 802646F0 00220821 */ addu $at, $at, $v0 /* 192FD0 802646F0 00220821 */ addu $at, $at, $v0
/* 192FD4 802646F4 8C22146C */ lw $v0, %lo(D_8028146C)($at) /* 192FD4 802646F4 8C22146C */ lw $v0, %lo(gActorSoundTable+4)($at)
/* 192FD8 802646F8 AE0201A0 */ sw $v0, 0x1a0($s0) /* 192FD8 802646F8 AE0201A0 */ sw $v0, 0x1a0($s0)
/* 192FDC 802646FC 000310C0 */ sll $v0, $v1, 3 /* 192FDC 802646FC 000310C0 */ sll $v0, $v1, 3
/* 192FE0 80264700 00431023 */ subu $v0, $v0, $v1 /* 192FE0 80264700 00431023 */ subu $v0, $v0, $v1
/* 192FE4 80264704 00021080 */ sll $v0, $v0, 2 /* 192FE4 80264704 00021080 */ sll $v0, $v0, 2
/* 192FE8 80264708 3C018028 */ lui $at, %hi(D_80281470) /* 192FE8 80264708 3C018028 */ lui $at, %hi(gActorSoundTable+8)
/* 192FEC 8026470C 00220821 */ addu $at, $at, $v0 /* 192FEC 8026470C 00220821 */ addu $at, $at, $v0
/* 192FF0 80264710 8C221470 */ lw $v0, %lo(D_80281470)($at) /* 192FF0 80264710 8C221470 */ lw $v0, %lo(gActorSoundTable+8)($at)
/* 192FF4 80264714 AE0201A4 */ sw $v0, 0x1a4($s0) /* 192FF4 80264714 AE0201A4 */ sw $v0, 0x1a4($s0)
/* 192FF8 80264718 000310C0 */ sll $v0, $v1, 3 /* 192FF8 80264718 000310C0 */ sll $v0, $v1, 3
/* 192FFC 8026471C 00431023 */ subu $v0, $v0, $v1 /* 192FFC 8026471C 00431023 */ subu $v0, $v0, $v1
/* 193000 80264720 00021080 */ sll $v0, $v0, 2 /* 193000 80264720 00021080 */ sll $v0, $v0, 2
/* 193004 80264724 3C018028 */ lui $at, %hi(D_80281474) /* 193004 80264724 3C018028 */ lui $at, %hi(gActorSoundTable+12)
/* 193008 80264728 00220821 */ addu $at, $at, $v0 /* 193008 80264728 00220821 */ addu $at, $at, $v0
/* 19300C 8026472C 8C221474 */ lw $v0, %lo(D_80281474)($at) /* 19300C 8026472C 8C221474 */ lw $v0, %lo(gActorSoundTable+12)($at)
/* 193010 80264730 AE0201A8 */ sw $v0, 0x1a8($s0) /* 193010 80264730 AE0201A8 */ sw $v0, 0x1a8($s0)
/* 193014 80264734 000310C0 */ sll $v0, $v1, 3 /* 193014 80264734 000310C0 */ sll $v0, $v1, 3
/* 193018 80264738 00431023 */ subu $v0, $v0, $v1 /* 193018 80264738 00431023 */ subu $v0, $v0, $v1
/* 19301C 8026473C 00021080 */ sll $v0, $v0, 2 /* 19301C 8026473C 00021080 */ sll $v0, $v0, 2
/* 193020 80264740 3C018028 */ lui $at, %hi(D_80281478) /* 193020 80264740 3C018028 */ lui $at, %hi(gActorSoundTable+16)
/* 193024 80264744 00220821 */ addu $at, $at, $v0 /* 193024 80264744 00220821 */ addu $at, $at, $v0
/* 193028 80264748 8C221478 */ lw $v0, %lo(D_80281478)($at) /* 193028 80264748 8C221478 */ lw $v0, %lo(gActorSoundTable+16)($at)
/* 19302C 8026474C AE0201AC */ sw $v0, 0x1ac($s0) /* 19302C 8026474C AE0201AC */ sw $v0, 0x1ac($s0)
/* 193030 80264750 000310C0 */ sll $v0, $v1, 3 /* 193030 80264750 000310C0 */ sll $v0, $v1, 3
/* 193034 80264754 00431023 */ subu $v0, $v0, $v1 /* 193034 80264754 00431023 */ subu $v0, $v0, $v1
/* 193038 80264758 00021080 */ sll $v0, $v0, 2 /* 193038 80264758 00021080 */ sll $v0, $v0, 2
/* 19303C 8026475C 3C018028 */ lui $at, %hi(D_8028147C) /* 19303C 8026475C 3C018028 */ lui $at, %hi(gActorSoundTable+20)
/* 193040 80264760 00220821 */ addu $at, $at, $v0 /* 193040 80264760 00220821 */ addu $at, $at, $v0
/* 193044 80264764 8C22147C */ lw $v0, %lo(D_8028147C)($at) /* 193044 80264764 8C22147C */ lw $v0, %lo(gActorSoundTable+20)($at)
/* 193048 80264768 AE0201B0 */ sw $v0, 0x1b0($s0) /* 193048 80264768 AE0201B0 */ sw $v0, 0x1b0($s0)
/* 19304C 8026476C 000310C0 */ sll $v0, $v1, 3 /* 19304C 8026476C 000310C0 */ sll $v0, $v1, 3
/* 193050 80264770 00431023 */ subu $v0, $v0, $v1 /* 193050 80264770 00431023 */ subu $v0, $v0, $v1
/* 193054 80264774 00021080 */ sll $v0, $v0, 2 /* 193054 80264774 00021080 */ sll $v0, $v0, 2
/* 193058 80264778 3C018028 */ lui $at, %hi(D_80281480) /* 193058 80264778 3C018028 */ lui $at, %hi(gActorSoundTable+24)
/* 19305C 8026477C 00220821 */ addu $at, $at, $v0 /* 19305C 8026477C 00220821 */ addu $at, $at, $v0
/* 193060 80264780 94221480 */ lhu $v0, %lo(D_80281480)($at) /* 193060 80264780 94221480 */ lhu $v0, %lo(gActorSoundTable+24)($at)
/* 193064 80264784 24040001 */ addiu $a0, $zero, 1 /* 193064 80264784 24040001 */ addiu $a0, $zero, 1
/* 193068 80264788 A60201B4 */ sh $v0, 0x1b4($s0) /* 193068 80264788 A60201B4 */ sh $v0, 0x1b4($s0)
/* 19306C 8026478C 000310C0 */ sll $v0, $v1, 3 /* 19306C 8026478C 000310C0 */ sll $v0, $v1, 3
/* 193070 80264790 00431023 */ subu $v0, $v0, $v1 /* 193070 80264790 00431023 */ subu $v0, $v0, $v1
/* 193074 80264794 00021080 */ sll $v0, $v0, 2 /* 193074 80264794 00021080 */ sll $v0, $v0, 2
/* 193078 80264798 3C018028 */ lui $at, %hi(D_80281482) /* 193078 80264798 3C018028 */ lui $at, %hi(gActorSoundTable+0x1A)
/* 19307C 8026479C 00220821 */ addu $at, $at, $v0 /* 19307C 8026479C 00220821 */ addu $at, $at, $v0
/* 193080 802647A0 94221482 */ lhu $v0, %lo(D_80281482)($at) /* 193080 802647A0 94221482 */ lhu $v0, %lo(gActorSoundTable+0x1A)($at)
/* 193084 802647A4 26030004 */ addiu $v1, $s0, 4 /* 193084 802647A4 26030004 */ addiu $v1, $s0, 4
/* 193088 802647A8 A60201B6 */ sh $v0, 0x1b6($s0) /* 193088 802647A8 A60201B6 */ sh $v0, 0x1b6($s0)
.L802647AC: .L802647AC:
@ -217,8 +217,8 @@ glabel load_player_actor
.L802647D8: .L802647D8:
/* 1930B8 802647D8 24020001 */ addiu $v0, $zero, 1 /* 1930B8 802647D8 24020001 */ addiu $v0, $zero, 1
/* 1930BC 802647DC A20201F3 */ sb $v0, 0x1f3($s0) /* 1930BC 802647DC A20201F3 */ sb $v0, 0x1f3($s0)
/* 1930C0 802647E0 3C028028 */ lui $v0, %hi(D_80283500) /* 1930C0 802647E0 3C028028 */ lui $v0, %hi(bMarioParts)
/* 1930C4 802647E4 24423500 */ addiu $v0, $v0, %lo(D_80283500) /* 1930C4 802647E4 24423500 */ addiu $v0, $v0, %lo(bMarioParts)
/* 1930C8 802647E8 AE220008 */ sw $v0, 8($s1) /* 1930C8 802647E8 AE220008 */ sw $v0, 8($s1)
/* 1930CC 802647EC 2402000C */ addiu $v0, $zero, 0xc /* 1930CC 802647EC 2402000C */ addiu $v0, $zero, 0xc
/* 1930D0 802647F0 A6200014 */ sh $zero, 0x14($s1) /* 1930D0 802647F0 A6200014 */ sh $zero, 0x14($s1)
@ -229,8 +229,8 @@ glabel load_player_actor
/* 1930E4 80264804 24020005 */ addiu $v0, $zero, 5 /* 1930E4 80264804 24020005 */ addiu $v0, $zero, 5
/* 1930E8 80264808 A6200018 */ sh $zero, 0x18($s1) /* 1930E8 80264808 A6200018 */ sh $zero, 0x18($s1)
/* 1930EC 8026480C A6220018 */ sh $v0, 0x18($s1) /* 1930EC 8026480C A6220018 */ sh $v0, 0x18($s1)
/* 1930F0 80264810 3C028028 */ lui $v0, %hi(D_80283420) /* 1930F0 80264810 3C028028 */ lui $v0, %hi(bMarioDefenseTable)
/* 1930F4 80264814 24423420 */ addiu $v0, $v0, %lo(D_80283420) /* 1930F4 80264814 24423420 */ addiu $v0, $v0, %lo(bMarioDefenseTable)
/* 1930F8 80264818 AE2000C0 */ sw $zero, 0xc0($s1) /* 1930F8 80264818 AE2000C0 */ sw $zero, 0xc0($s1)
/* 1930FC 8026481C AE200000 */ sw $zero, ($s1) /* 1930FC 8026481C AE200000 */ sw $zero, ($s1)
/* 193100 80264820 AE200004 */ sw $zero, 4($s1) /* 193100 80264820 AE200004 */ sw $zero, 4($s1)
@ -252,13 +252,13 @@ glabel load_player_actor
/* 193140 80264860 30420040 */ andi $v0, $v0, 0x40 /* 193140 80264860 30420040 */ andi $v0, $v0, 0x40
/* 193144 80264864 10400005 */ beqz $v0, .L8026487C /* 193144 80264864 10400005 */ beqz $v0, .L8026487C
/* 193148 80264868 00000000 */ nop /* 193148 80264868 00000000 */ nop
/* 19314C 8026486C 3C028028 */ lui $v0, %hi(D_8028340C) /* 19314C 8026486C 3C028028 */ lui $v0, %hi(bPeachIdleAnims)
/* 193150 80264870 2442340C */ addiu $v0, $v0, %lo(D_8028340C) /* 193150 80264870 2442340C */ addiu $v0, $v0, %lo(bPeachIdleAnims)
/* 193154 80264874 08099222 */ j .L80264888 /* 193154 80264874 08099222 */ j .L80264888
/* 193158 80264878 AE220094 */ sw $v0, 0x94($s1) /* 193158 80264878 AE220094 */ sw $v0, 0x94($s1)
.L8026487C: .L8026487C:
/* 19315C 8026487C 3C028028 */ lui $v0, %hi(D_80283238) /* 19315C 8026487C 3C028028 */ lui $v0, %hi(bMarioIdleAnims)
/* 193160 80264880 24423238 */ addiu $v0, $v0, %lo(D_80283238) /* 193160 80264880 24423238 */ addiu $v0, $v0, %lo(bMarioIdleAnims)
/* 193164 80264884 AE220094 */ sw $v0, 0x94($s1) /* 193164 80264884 AE220094 */ sw $v0, 0x94($s1)
.L80264888: .L80264888:
/* 193168 80264888 240200FF */ addiu $v0, $zero, 0xff /* 193168 80264888 240200FF */ addiu $v0, $zero, 0xff
@ -295,65 +295,65 @@ glabel load_player_actor
/* 1931E4 80264904 000310C0 */ sll $v0, $v1, 3 /* 1931E4 80264904 000310C0 */ sll $v0, $v1, 3
/* 1931E8 80264908 00431023 */ subu $v0, $v0, $v1 /* 1931E8 80264908 00431023 */ subu $v0, $v0, $v1
/* 1931EC 8026490C 00021080 */ sll $v0, $v0, 2 /* 1931EC 8026490C 00021080 */ sll $v0, $v0, 2
/* 1931F0 80264910 3C018028 */ lui $at, %hi(D_80281468) /* 1931F0 80264910 3C018028 */ lui $at, %hi(gActorSoundTable)
/* 1931F4 80264914 00220821 */ addu $at, $at, $v0 /* 1931F4 80264914 00220821 */ addu $at, $at, $v0
/* 1931F8 80264918 8C221468 */ lw $v0, %lo(D_80281468)($at) /* 1931F8 80264918 8C221468 */ lw $v0, %lo(gActorSoundTable)($at)
/* 1931FC 8026491C AE2200A4 */ sw $v0, 0xa4($s1) /* 1931FC 8026491C AE2200A4 */ sw $v0, 0xa4($s1)
/* 193200 80264920 92030136 */ lbu $v1, 0x136($s0) /* 193200 80264920 92030136 */ lbu $v1, 0x136($s0)
/* 193204 80264924 000310C0 */ sll $v0, $v1, 3 /* 193204 80264924 000310C0 */ sll $v0, $v1, 3
/* 193208 80264928 00431023 */ subu $v0, $v0, $v1 /* 193208 80264928 00431023 */ subu $v0, $v0, $v1
/* 19320C 8026492C 00021080 */ sll $v0, $v0, 2 /* 19320C 8026492C 00021080 */ sll $v0, $v0, 2
/* 193210 80264930 3C018028 */ lui $at, %hi(D_8028146C) /* 193210 80264930 3C018028 */ lui $at, %hi(gActorSoundTable+4)
/* 193214 80264934 00220821 */ addu $at, $at, $v0 /* 193214 80264934 00220821 */ addu $at, $at, $v0
/* 193218 80264938 8C22146C */ lw $v0, %lo(D_8028146C)($at) /* 193218 80264938 8C22146C */ lw $v0, %lo(gActorSoundTable+4)($at)
/* 19321C 8026493C AE2200A8 */ sw $v0, 0xa8($s1) /* 19321C 8026493C AE2200A8 */ sw $v0, 0xa8($s1)
/* 193220 80264940 92030136 */ lbu $v1, 0x136($s0) /* 193220 80264940 92030136 */ lbu $v1, 0x136($s0)
/* 193224 80264944 000310C0 */ sll $v0, $v1, 3 /* 193224 80264944 000310C0 */ sll $v0, $v1, 3
/* 193228 80264948 00431023 */ subu $v0, $v0, $v1 /* 193228 80264948 00431023 */ subu $v0, $v0, $v1
/* 19322C 8026494C 00021080 */ sll $v0, $v0, 2 /* 19322C 8026494C 00021080 */ sll $v0, $v0, 2
/* 193230 80264950 3C018028 */ lui $at, %hi(D_80281470) /* 193230 80264950 3C018028 */ lui $at, %hi(gActorSoundTable+8)
/* 193234 80264954 00220821 */ addu $at, $at, $v0 /* 193234 80264954 00220821 */ addu $at, $at, $v0
/* 193238 80264958 8C221470 */ lw $v0, %lo(D_80281470)($at) /* 193238 80264958 8C221470 */ lw $v0, %lo(gActorSoundTable+8)($at)
/* 19323C 8026495C AE2200AC */ sw $v0, 0xac($s1) /* 19323C 8026495C AE2200AC */ sw $v0, 0xac($s1)
/* 193240 80264960 92030136 */ lbu $v1, 0x136($s0) /* 193240 80264960 92030136 */ lbu $v1, 0x136($s0)
/* 193244 80264964 000310C0 */ sll $v0, $v1, 3 /* 193244 80264964 000310C0 */ sll $v0, $v1, 3
/* 193248 80264968 00431023 */ subu $v0, $v0, $v1 /* 193248 80264968 00431023 */ subu $v0, $v0, $v1
/* 19324C 8026496C 00021080 */ sll $v0, $v0, 2 /* 19324C 8026496C 00021080 */ sll $v0, $v0, 2
/* 193250 80264970 3C018028 */ lui $at, %hi(D_80281474) /* 193250 80264970 3C018028 */ lui $at, %hi(gActorSoundTable+12)
/* 193254 80264974 00220821 */ addu $at, $at, $v0 /* 193254 80264974 00220821 */ addu $at, $at, $v0
/* 193258 80264978 8C221474 */ lw $v0, %lo(D_80281474)($at) /* 193258 80264978 8C221474 */ lw $v0, %lo(gActorSoundTable+12)($at)
/* 19325C 8026497C AE2200B0 */ sw $v0, 0xb0($s1) /* 19325C 8026497C AE2200B0 */ sw $v0, 0xb0($s1)
/* 193260 80264980 92030136 */ lbu $v1, 0x136($s0) /* 193260 80264980 92030136 */ lbu $v1, 0x136($s0)
/* 193264 80264984 000310C0 */ sll $v0, $v1, 3 /* 193264 80264984 000310C0 */ sll $v0, $v1, 3
/* 193268 80264988 00431023 */ subu $v0, $v0, $v1 /* 193268 80264988 00431023 */ subu $v0, $v0, $v1
/* 19326C 8026498C 00021080 */ sll $v0, $v0, 2 /* 19326C 8026498C 00021080 */ sll $v0, $v0, 2
/* 193270 80264990 3C018028 */ lui $at, %hi(D_80281478) /* 193270 80264990 3C018028 */ lui $at, %hi(gActorSoundTable+16)
/* 193274 80264994 00220821 */ addu $at, $at, $v0 /* 193274 80264994 00220821 */ addu $at, $at, $v0
/* 193278 80264998 8C221478 */ lw $v0, %lo(D_80281478)($at) /* 193278 80264998 8C221478 */ lw $v0, %lo(gActorSoundTable+16)($at)
/* 19327C 8026499C AE2200B4 */ sw $v0, 0xb4($s1) /* 19327C 8026499C AE2200B4 */ sw $v0, 0xb4($s1)
/* 193280 802649A0 92030136 */ lbu $v1, 0x136($s0) /* 193280 802649A0 92030136 */ lbu $v1, 0x136($s0)
/* 193284 802649A4 000310C0 */ sll $v0, $v1, 3 /* 193284 802649A4 000310C0 */ sll $v0, $v1, 3
/* 193288 802649A8 00431023 */ subu $v0, $v0, $v1 /* 193288 802649A8 00431023 */ subu $v0, $v0, $v1
/* 19328C 802649AC 00021080 */ sll $v0, $v0, 2 /* 19328C 802649AC 00021080 */ sll $v0, $v0, 2
/* 193290 802649B0 3C018028 */ lui $at, %hi(D_8028147C) /* 193290 802649B0 3C018028 */ lui $at, %hi(gActorSoundTable+20)
/* 193294 802649B4 00220821 */ addu $at, $at, $v0 /* 193294 802649B4 00220821 */ addu $at, $at, $v0
/* 193298 802649B8 8C22147C */ lw $v0, %lo(D_8028147C)($at) /* 193298 802649B8 8C22147C */ lw $v0, %lo(gActorSoundTable+20)($at)
/* 19329C 802649BC AE2200B8 */ sw $v0, 0xb8($s1) /* 19329C 802649BC AE2200B8 */ sw $v0, 0xb8($s1)
/* 1932A0 802649C0 92030136 */ lbu $v1, 0x136($s0) /* 1932A0 802649C0 92030136 */ lbu $v1, 0x136($s0)
/* 1932A4 802649C4 000310C0 */ sll $v0, $v1, 3 /* 1932A4 802649C4 000310C0 */ sll $v0, $v1, 3
/* 1932A8 802649C8 00431023 */ subu $v0, $v0, $v1 /* 1932A8 802649C8 00431023 */ subu $v0, $v0, $v1
/* 1932AC 802649CC 00021080 */ sll $v0, $v0, 2 /* 1932AC 802649CC 00021080 */ sll $v0, $v0, 2
/* 1932B0 802649D0 3C018028 */ lui $at, %hi(D_80281480) /* 1932B0 802649D0 3C018028 */ lui $at, %hi(gActorSoundTable+24)
/* 1932B4 802649D4 00220821 */ addu $at, $at, $v0 /* 1932B4 802649D4 00220821 */ addu $at, $at, $v0
/* 1932B8 802649D8 94221480 */ lhu $v0, %lo(D_80281480)($at) /* 1932B8 802649D8 94221480 */ lhu $v0, %lo(gActorSoundTable+24)($at)
/* 1932BC 802649DC A62200BC */ sh $v0, 0xbc($s1) /* 1932BC 802649DC A62200BC */ sh $v0, 0xbc($s1)
/* 1932C0 802649E0 92030136 */ lbu $v1, 0x136($s0) /* 1932C0 802649E0 92030136 */ lbu $v1, 0x136($s0)
/* 1932C4 802649E4 000310C0 */ sll $v0, $v1, 3 /* 1932C4 802649E4 000310C0 */ sll $v0, $v1, 3
/* 1932C8 802649E8 00431023 */ subu $v0, $v0, $v1 /* 1932C8 802649E8 00431023 */ subu $v0, $v0, $v1
/* 1932CC 802649EC 00021080 */ sll $v0, $v0, 2 /* 1932CC 802649EC 00021080 */ sll $v0, $v0, 2
/* 1932D0 802649F0 3C018028 */ lui $at, %hi(D_80281482) /* 1932D0 802649F0 3C018028 */ lui $at, %hi(gActorSoundTable+0x1A)
/* 1932D4 802649F4 00220821 */ addu $at, $at, $v0 /* 1932D4 802649F4 00220821 */ addu $at, $at, $v0
/* 1932D8 802649F8 94221482 */ lhu $v0, %lo(D_80281482)($at) /* 1932D8 802649F8 94221482 */ lhu $v0, %lo(gActorSoundTable+0x1A)($at)
/* 1932DC 802649FC 8E230094 */ lw $v1, 0x94($s1) /* 1932DC 802649FC 8E230094 */ lw $v1, 0x94($s1)
/* 1932E0 80264A00 10600030 */ beqz $v1, .L80264AC4 /* 1932E0 80264A00 10600030 */ beqz $v1, .L80264AC4
/* 1932E4 80264A04 A62200BE */ sh $v0, 0xbe($s1) /* 1932E4 80264A04 A62200BE */ sh $v0, 0xbe($s1)

View File

@ -7,58 +7,58 @@ glabel reset_all_actor_sounds
/* 196384 80267AA4 000310C0 */ sll $v0, $v1, 3 /* 196384 80267AA4 000310C0 */ sll $v0, $v1, 3
/* 196388 80267AA8 00431023 */ subu $v0, $v0, $v1 /* 196388 80267AA8 00431023 */ subu $v0, $v0, $v1
/* 19638C 80267AAC 00021080 */ sll $v0, $v0, 2 /* 19638C 80267AAC 00021080 */ sll $v0, $v0, 2
/* 196390 80267AB0 3C018028 */ lui $at, %hi(D_80281468) /* 196390 80267AB0 3C018028 */ lui $at, %hi(gActorSoundTable)
/* 196394 80267AB4 00220821 */ addu $at, $at, $v0 /* 196394 80267AB4 00220821 */ addu $at, $at, $v0
/* 196398 80267AB8 8C221468 */ lw $v0, %lo(D_80281468)($at) /* 196398 80267AB8 8C221468 */ lw $v0, %lo(gActorSoundTable)($at)
/* 19639C 80267ABC AC82019C */ sw $v0, 0x19c($a0) /* 19639C 80267ABC AC82019C */ sw $v0, 0x19c($a0)
/* 1963A0 80267AC0 000310C0 */ sll $v0, $v1, 3 /* 1963A0 80267AC0 000310C0 */ sll $v0, $v1, 3
/* 1963A4 80267AC4 00431023 */ subu $v0, $v0, $v1 /* 1963A4 80267AC4 00431023 */ subu $v0, $v0, $v1
/* 1963A8 80267AC8 00021080 */ sll $v0, $v0, 2 /* 1963A8 80267AC8 00021080 */ sll $v0, $v0, 2
/* 1963AC 80267ACC 3C018028 */ lui $at, %hi(D_8028146C) /* 1963AC 80267ACC 3C018028 */ lui $at, %hi(gActorSoundTable+4)
/* 1963B0 80267AD0 00220821 */ addu $at, $at, $v0 /* 1963B0 80267AD0 00220821 */ addu $at, $at, $v0
/* 1963B4 80267AD4 8C22146C */ lw $v0, %lo(D_8028146C)($at) /* 1963B4 80267AD4 8C22146C */ lw $v0, %lo(gActorSoundTable+4)($at)
/* 1963B8 80267AD8 AC8201A0 */ sw $v0, 0x1a0($a0) /* 1963B8 80267AD8 AC8201A0 */ sw $v0, 0x1a0($a0)
/* 1963BC 80267ADC 000310C0 */ sll $v0, $v1, 3 /* 1963BC 80267ADC 000310C0 */ sll $v0, $v1, 3
/* 1963C0 80267AE0 00431023 */ subu $v0, $v0, $v1 /* 1963C0 80267AE0 00431023 */ subu $v0, $v0, $v1
/* 1963C4 80267AE4 00021080 */ sll $v0, $v0, 2 /* 1963C4 80267AE4 00021080 */ sll $v0, $v0, 2
/* 1963C8 80267AE8 3C018028 */ lui $at, %hi(D_80281470) /* 1963C8 80267AE8 3C018028 */ lui $at, %hi(gActorSoundTable+8)
/* 1963CC 80267AEC 00220821 */ addu $at, $at, $v0 /* 1963CC 80267AEC 00220821 */ addu $at, $at, $v0
/* 1963D0 80267AF0 8C221470 */ lw $v0, %lo(D_80281470)($at) /* 1963D0 80267AF0 8C221470 */ lw $v0, %lo(gActorSoundTable+8)($at)
/* 1963D4 80267AF4 AC8201A4 */ sw $v0, 0x1a4($a0) /* 1963D4 80267AF4 AC8201A4 */ sw $v0, 0x1a4($a0)
/* 1963D8 80267AF8 000310C0 */ sll $v0, $v1, 3 /* 1963D8 80267AF8 000310C0 */ sll $v0, $v1, 3
/* 1963DC 80267AFC 00431023 */ subu $v0, $v0, $v1 /* 1963DC 80267AFC 00431023 */ subu $v0, $v0, $v1
/* 1963E0 80267B00 00021080 */ sll $v0, $v0, 2 /* 1963E0 80267B00 00021080 */ sll $v0, $v0, 2
/* 1963E4 80267B04 3C018028 */ lui $at, %hi(D_80281474) /* 1963E4 80267B04 3C018028 */ lui $at, %hi(gActorSoundTable+12)
/* 1963E8 80267B08 00220821 */ addu $at, $at, $v0 /* 1963E8 80267B08 00220821 */ addu $at, $at, $v0
/* 1963EC 80267B0C 8C221474 */ lw $v0, %lo(D_80281474)($at) /* 1963EC 80267B0C 8C221474 */ lw $v0, %lo(gActorSoundTable+12)($at)
/* 1963F0 80267B10 AC8201A8 */ sw $v0, 0x1a8($a0) /* 1963F0 80267B10 AC8201A8 */ sw $v0, 0x1a8($a0)
/* 1963F4 80267B14 000310C0 */ sll $v0, $v1, 3 /* 1963F4 80267B14 000310C0 */ sll $v0, $v1, 3
/* 1963F8 80267B18 00431023 */ subu $v0, $v0, $v1 /* 1963F8 80267B18 00431023 */ subu $v0, $v0, $v1
/* 1963FC 80267B1C 00021080 */ sll $v0, $v0, 2 /* 1963FC 80267B1C 00021080 */ sll $v0, $v0, 2
/* 196400 80267B20 3C018028 */ lui $at, %hi(D_80281478) /* 196400 80267B20 3C018028 */ lui $at, %hi(gActorSoundTable+16)
/* 196404 80267B24 00220821 */ addu $at, $at, $v0 /* 196404 80267B24 00220821 */ addu $at, $at, $v0
/* 196408 80267B28 8C221478 */ lw $v0, %lo(D_80281478)($at) /* 196408 80267B28 8C221478 */ lw $v0, %lo(gActorSoundTable+16)($at)
/* 19640C 80267B2C AC8201AC */ sw $v0, 0x1ac($a0) /* 19640C 80267B2C AC8201AC */ sw $v0, 0x1ac($a0)
/* 196410 80267B30 000310C0 */ sll $v0, $v1, 3 /* 196410 80267B30 000310C0 */ sll $v0, $v1, 3
/* 196414 80267B34 00431023 */ subu $v0, $v0, $v1 /* 196414 80267B34 00431023 */ subu $v0, $v0, $v1
/* 196418 80267B38 00021080 */ sll $v0, $v0, 2 /* 196418 80267B38 00021080 */ sll $v0, $v0, 2
/* 19641C 80267B3C 3C018028 */ lui $at, %hi(D_8028147C) /* 19641C 80267B3C 3C018028 */ lui $at, %hi(gActorSoundTable+20)
/* 196420 80267B40 00220821 */ addu $at, $at, $v0 /* 196420 80267B40 00220821 */ addu $at, $at, $v0
/* 196424 80267B44 8C22147C */ lw $v0, %lo(D_8028147C)($at) /* 196424 80267B44 8C22147C */ lw $v0, %lo(gActorSoundTable+20)($at)
/* 196428 80267B48 AC8201B0 */ sw $v0, 0x1b0($a0) /* 196428 80267B48 AC8201B0 */ sw $v0, 0x1b0($a0)
/* 19642C 80267B4C 000310C0 */ sll $v0, $v1, 3 /* 19642C 80267B4C 000310C0 */ sll $v0, $v1, 3
/* 196430 80267B50 00431023 */ subu $v0, $v0, $v1 /* 196430 80267B50 00431023 */ subu $v0, $v0, $v1
/* 196434 80267B54 00021080 */ sll $v0, $v0, 2 /* 196434 80267B54 00021080 */ sll $v0, $v0, 2
/* 196438 80267B58 3C018028 */ lui $at, %hi(D_80281480) /* 196438 80267B58 3C018028 */ lui $at, %hi(gActorSoundTable+24)
/* 19643C 80267B5C 00220821 */ addu $at, $at, $v0 /* 19643C 80267B5C 00220821 */ addu $at, $at, $v0
/* 196440 80267B60 94221480 */ lhu $v0, %lo(D_80281480)($at) /* 196440 80267B60 94221480 */ lhu $v0, %lo(gActorSoundTable+24)($at)
/* 196444 80267B64 A48201B4 */ sh $v0, 0x1b4($a0) /* 196444 80267B64 A48201B4 */ sh $v0, 0x1b4($a0)
/* 196448 80267B68 000310C0 */ sll $v0, $v1, 3 /* 196448 80267B68 000310C0 */ sll $v0, $v1, 3
/* 19644C 80267B6C 00431023 */ subu $v0, $v0, $v1 /* 19644C 80267B6C 00431023 */ subu $v0, $v0, $v1
/* 196450 80267B70 00021080 */ sll $v0, $v0, 2 /* 196450 80267B70 00021080 */ sll $v0, $v0, 2
/* 196454 80267B74 3C018028 */ lui $at, %hi(D_80281482) /* 196454 80267B74 3C018028 */ lui $at, %hi(gActorSoundTable+0x1A)
/* 196458 80267B78 00220821 */ addu $at, $at, $v0 /* 196458 80267B78 00220821 */ addu $at, $at, $v0
/* 19645C 80267B7C 94221482 */ lhu $v0, %lo(D_80281482)($at) /* 19645C 80267B7C 94221482 */ lhu $v0, %lo(gActorSoundTable+0x1A)($at)
/* 196460 80267B80 10A00014 */ beqz $a1, .L80267BD4 /* 196460 80267B80 10A00014 */ beqz $a1, .L80267BD4
/* 196464 80267B84 A48201B6 */ sh $v0, 0x1b6($a0) /* 196464 80267B84 A48201B6 */ sh $v0, 0x1b6($a0)
.L80267B88: .L80267B88:

View File

@ -47,16 +47,16 @@ glabel L8026F8D4_19E1B4
/* 19E1B8 8026F8D8 000310C0 */ sll $v0, $v1, 3 /* 19E1B8 8026F8D8 000310C0 */ sll $v0, $v1, 3
/* 19E1BC 8026F8DC 00431023 */ subu $v0, $v0, $v1 /* 19E1BC 8026F8DC 00431023 */ subu $v0, $v0, $v1
/* 19E1C0 8026F8E0 00021080 */ sll $v0, $v0, 2 /* 19E1C0 8026F8E0 00021080 */ sll $v0, $v0, 2
/* 19E1C4 8026F8E4 3C018028 */ lui $at, %hi(D_80281468) /* 19E1C4 8026F8E4 3C018028 */ lui $at, %hi(gActorSoundTable)
/* 19E1C8 8026F8E8 00220821 */ addu $at, $at, $v0 /* 19E1C8 8026F8E8 00220821 */ addu $at, $at, $v0
/* 19E1CC 8026F8EC 8C221468 */ lw $v0, %lo(D_80281468)($at) /* 19E1CC 8026F8EC 8C221468 */ lw $v0, %lo(gActorSoundTable)($at)
/* 19E1D0 8026F8F0 AC82019C */ sw $v0, 0x19c($a0) /* 19E1D0 8026F8F0 AC82019C */ sw $v0, 0x19c($a0)
/* 19E1D4 8026F8F4 000310C0 */ sll $v0, $v1, 3 /* 19E1D4 8026F8F4 000310C0 */ sll $v0, $v1, 3
/* 19E1D8 8026F8F8 00431023 */ subu $v0, $v0, $v1 /* 19E1D8 8026F8F8 00431023 */ subu $v0, $v0, $v1
/* 19E1DC 8026F8FC 00021080 */ sll $v0, $v0, 2 /* 19E1DC 8026F8FC 00021080 */ sll $v0, $v0, 2
/* 19E1E0 8026F900 3C018028 */ lui $at, %hi(D_8028146C) /* 19E1E0 8026F900 3C018028 */ lui $at, %hi(gActorSoundTable+4)
/* 19E1E4 8026F904 00220821 */ addu $at, $at, $v0 /* 19E1E4 8026F904 00220821 */ addu $at, $at, $v0
/* 19E1E8 8026F908 8C22146C */ lw $v0, %lo(D_8028146C)($at) /* 19E1E8 8026F908 8C22146C */ lw $v0, %lo(gActorSoundTable+4)($at)
/* 19E1EC 8026F90C 0809BE78 */ j .L8026F9E0 /* 19E1EC 8026F90C 0809BE78 */ j .L8026F9E0
/* 19E1F0 8026F910 AC8201A0 */ sw $v0, 0x1a0($a0) /* 19E1F0 8026F910 AC8201A0 */ sw $v0, 0x1a0($a0)
glabel L8026F914_19E1F4 glabel L8026F914_19E1F4
@ -64,16 +64,16 @@ glabel L8026F914_19E1F4
/* 19E1F8 8026F918 000310C0 */ sll $v0, $v1, 3 /* 19E1F8 8026F918 000310C0 */ sll $v0, $v1, 3
/* 19E1FC 8026F91C 00431023 */ subu $v0, $v0, $v1 /* 19E1FC 8026F91C 00431023 */ subu $v0, $v0, $v1
/* 19E200 8026F920 00021080 */ sll $v0, $v0, 2 /* 19E200 8026F920 00021080 */ sll $v0, $v0, 2
/* 19E204 8026F924 3C018028 */ lui $at, %hi(D_80281470) /* 19E204 8026F924 3C018028 */ lui $at, %hi(gActorSoundTable+8)
/* 19E208 8026F928 00220821 */ addu $at, $at, $v0 /* 19E208 8026F928 00220821 */ addu $at, $at, $v0
/* 19E20C 8026F92C 8C221470 */ lw $v0, %lo(D_80281470)($at) /* 19E20C 8026F92C 8C221470 */ lw $v0, %lo(gActorSoundTable+8)($at)
/* 19E210 8026F930 AC8201A4 */ sw $v0, 0x1a4($a0) /* 19E210 8026F930 AC8201A4 */ sw $v0, 0x1a4($a0)
/* 19E214 8026F934 000310C0 */ sll $v0, $v1, 3 /* 19E214 8026F934 000310C0 */ sll $v0, $v1, 3
/* 19E218 8026F938 00431023 */ subu $v0, $v0, $v1 /* 19E218 8026F938 00431023 */ subu $v0, $v0, $v1
/* 19E21C 8026F93C 00021080 */ sll $v0, $v0, 2 /* 19E21C 8026F93C 00021080 */ sll $v0, $v0, 2
/* 19E220 8026F940 3C018028 */ lui $at, %hi(D_80281474) /* 19E220 8026F940 3C018028 */ lui $at, %hi(gActorSoundTable+12)
/* 19E224 8026F944 00220821 */ addu $at, $at, $v0 /* 19E224 8026F944 00220821 */ addu $at, $at, $v0
/* 19E228 8026F948 8C221474 */ lw $v0, %lo(D_80281474)($at) /* 19E228 8026F948 8C221474 */ lw $v0, %lo(gActorSoundTable+12)($at)
/* 19E22C 8026F94C 0809BE78 */ j .L8026F9E0 /* 19E22C 8026F94C 0809BE78 */ j .L8026F9E0
/* 19E230 8026F950 AC8201A8 */ sw $v0, 0x1a8($a0) /* 19E230 8026F950 AC8201A8 */ sw $v0, 0x1a8($a0)
glabel L8026F954_19E234 glabel L8026F954_19E234
@ -81,9 +81,9 @@ glabel L8026F954_19E234
/* 19E238 8026F958 000218C0 */ sll $v1, $v0, 3 /* 19E238 8026F958 000218C0 */ sll $v1, $v0, 3
/* 19E23C 8026F95C 00621823 */ subu $v1, $v1, $v0 /* 19E23C 8026F95C 00621823 */ subu $v1, $v1, $v0
/* 19E240 8026F960 00031880 */ sll $v1, $v1, 2 /* 19E240 8026F960 00031880 */ sll $v1, $v1, 2
/* 19E244 8026F964 3C028028 */ lui $v0, %hi(D_80281478) /* 19E244 8026F964 3C028028 */ lui $v0, %hi(gActorSoundTable+16)
/* 19E248 8026F968 00431021 */ addu $v0, $v0, $v1 /* 19E248 8026F968 00431021 */ addu $v0, $v0, $v1
/* 19E24C 8026F96C 8C421478 */ lw $v0, %lo(D_80281478)($v0) /* 19E24C 8026F96C 8C421478 */ lw $v0, %lo(gActorSoundTable+16)($v0)
/* 19E250 8026F970 0809BE78 */ j .L8026F9E0 /* 19E250 8026F970 0809BE78 */ j .L8026F9E0
/* 19E254 8026F974 AC8201AC */ sw $v0, 0x1ac($a0) /* 19E254 8026F974 AC8201AC */ sw $v0, 0x1ac($a0)
glabel L8026F978_19E258 glabel L8026F978_19E258
@ -91,9 +91,9 @@ glabel L8026F978_19E258
/* 19E25C 8026F97C 000218C0 */ sll $v1, $v0, 3 /* 19E25C 8026F97C 000218C0 */ sll $v1, $v0, 3
/* 19E260 8026F980 00621823 */ subu $v1, $v1, $v0 /* 19E260 8026F980 00621823 */ subu $v1, $v1, $v0
/* 19E264 8026F984 00031880 */ sll $v1, $v1, 2 /* 19E264 8026F984 00031880 */ sll $v1, $v1, 2
/* 19E268 8026F988 3C028028 */ lui $v0, %hi(D_8028147C) /* 19E268 8026F988 3C028028 */ lui $v0, %hi(gActorSoundTable+20)
/* 19E26C 8026F98C 00431021 */ addu $v0, $v0, $v1 /* 19E26C 8026F98C 00431021 */ addu $v0, $v0, $v1
/* 19E270 8026F990 8C42147C */ lw $v0, %lo(D_8028147C)($v0) /* 19E270 8026F990 8C42147C */ lw $v0, %lo(gActorSoundTable+20)($v0)
/* 19E274 8026F994 0809BE78 */ j .L8026F9E0 /* 19E274 8026F994 0809BE78 */ j .L8026F9E0
/* 19E278 8026F998 AC8201B0 */ sw $v0, 0x1b0($a0) /* 19E278 8026F998 AC8201B0 */ sw $v0, 0x1b0($a0)
glabel L8026F99C_19E27C glabel L8026F99C_19E27C
@ -101,9 +101,9 @@ glabel L8026F99C_19E27C
/* 19E280 8026F9A0 000218C0 */ sll $v1, $v0, 3 /* 19E280 8026F9A0 000218C0 */ sll $v1, $v0, 3
/* 19E284 8026F9A4 00621823 */ subu $v1, $v1, $v0 /* 19E284 8026F9A4 00621823 */ subu $v1, $v1, $v0
/* 19E288 8026F9A8 00031880 */ sll $v1, $v1, 2 /* 19E288 8026F9A8 00031880 */ sll $v1, $v1, 2
/* 19E28C 8026F9AC 3C028028 */ lui $v0, %hi(D_80281480) /* 19E28C 8026F9AC 3C028028 */ lui $v0, %hi(gActorSoundTable+24)
/* 19E290 8026F9B0 00431021 */ addu $v0, $v0, $v1 /* 19E290 8026F9B0 00431021 */ addu $v0, $v0, $v1
/* 19E294 8026F9B4 94421480 */ lhu $v0, %lo(D_80281480)($v0) /* 19E294 8026F9B4 94421480 */ lhu $v0, %lo(gActorSoundTable+24)($v0)
/* 19E298 8026F9B8 0809BE78 */ j .L8026F9E0 /* 19E298 8026F9B8 0809BE78 */ j .L8026F9E0
/* 19E29C 8026F9BC A48201B4 */ sh $v0, 0x1b4($a0) /* 19E29C 8026F9BC A48201B4 */ sh $v0, 0x1b4($a0)
glabel L8026F9C0_19E2A0 glabel L8026F9C0_19E2A0
@ -111,9 +111,9 @@ glabel L8026F9C0_19E2A0
/* 19E2A4 8026F9C4 000218C0 */ sll $v1, $v0, 3 /* 19E2A4 8026F9C4 000218C0 */ sll $v1, $v0, 3
/* 19E2A8 8026F9C8 00621823 */ subu $v1, $v1, $v0 /* 19E2A8 8026F9C8 00621823 */ subu $v1, $v1, $v0
/* 19E2AC 8026F9CC 00031880 */ sll $v1, $v1, 2 /* 19E2AC 8026F9CC 00031880 */ sll $v1, $v1, 2
/* 19E2B0 8026F9D0 3C028028 */ lui $v0, %hi(D_80281482) /* 19E2B0 8026F9D0 3C028028 */ lui $v0, %hi(gActorSoundTable+0x1A)
/* 19E2B4 8026F9D4 00431021 */ addu $v0, $v0, $v1 /* 19E2B4 8026F9D4 00431021 */ addu $v0, $v0, $v1
/* 19E2B8 8026F9D8 94421482 */ lhu $v0, %lo(D_80281482)($v0) /* 19E2B8 8026F9D8 94421482 */ lhu $v0, %lo(gActorSoundTable+0x1A)($v0)
/* 19E2BC 8026F9DC A48201B6 */ sh $v0, 0x1b6($a0) /* 19E2BC 8026F9DC A48201B6 */ sh $v0, 0x1b6($a0)
.L8026F9E0: .L8026F9E0:
/* 19E2C0 8026F9E0 8FBF0020 */ lw $ra, 0x20($sp) /* 19E2C0 8026F9E0 8FBF0020 */ lw $ra, 0x20($sp)

View File

@ -1,45 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80050B90
/* 2BF90 80050B90 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 2BF94 80050B94 AFB00010 */ sw $s0, 0x10($sp)
/* 2BF98 80050B98 0080802D */ daddu $s0, $a0, $zero
/* 2BF9C 80050B9C AFB3001C */ sw $s3, 0x1c($sp)
/* 2BFA0 80050BA0 00E0982D */ daddu $s3, $a3, $zero
/* 2BFA4 80050BA4 AFB10014 */ sw $s1, 0x14($sp)
/* 2BFA8 80050BA8 00A0882D */ daddu $s1, $a1, $zero
/* 2BFAC 80050BAC AFB20018 */ sw $s2, 0x18($sp)
/* 2BFB0 80050BB0 00C0902D */ daddu $s2, $a2, $zero
/* 2BFB4 80050BB4 24050834 */ addiu $a1, $zero, 0x834
/* 2BFB8 80050BB8 AFBF0020 */ sw $ra, 0x20($sp)
/* 2BFBC 80050BBC 0C0153A4 */ jal func_80054E90
/* 2BFC0 80050BC0 0000302D */ daddu $a2, $zero, $zero
/* 2BFC4 80050BC4 0000182D */ daddu $v1, $zero, $zero
/* 2BFC8 80050BC8 24060001 */ addiu $a2, $zero, 1
/* 2BFCC 80050BCC 3C057F00 */ lui $a1, 0x7f00
/* 2BFD0 80050BD0 24040024 */ addiu $a0, $zero, 0x24
.L80050BD4:
/* 2BFD4 80050BD4 02041021 */ addu $v0, $s0, $a0
/* 2BFD8 80050BD8 A0430014 */ sb $v1, 0x14($v0)
/* 2BFDC 80050BDC 24630001 */ addiu $v1, $v1, 1
/* 2BFE0 80050BE0 AC460018 */ sw $a2, 0x18($v0)
/* 2BFE4 80050BE4 AC450038 */ sw $a1, 0x38($v0)
/* 2BFE8 80050BE8 28620004 */ slti $v0, $v1, 4
/* 2BFEC 80050BEC 1440FFF9 */ bnez $v0, .L80050BD4
/* 2BFF0 80050BF0 248401E4 */ addiu $a0, $a0, 0x1e4
/* 2BFF4 80050BF4 24020001 */ addiu $v0, $zero, 1
/* 2BFF8 80050BF8 AE020004 */ sw $v0, 4($s0)
/* 2BFFC 80050BFC 24020002 */ addiu $v0, $zero, 2
/* 2C000 80050C00 AE130000 */ sw $s3, ($s0)
/* 2C004 80050C04 AE02000C */ sw $v0, 0xc($s0)
/* 2C008 80050C08 AE020008 */ sw $v0, 8($s0)
/* 2C00C 80050C0C A2110022 */ sb $s1, 0x22($s0)
/* 2C010 80050C10 A2120023 */ sb $s2, 0x23($s0)
/* 2C014 80050C14 8FBF0020 */ lw $ra, 0x20($sp)
/* 2C018 80050C18 8FB3001C */ lw $s3, 0x1c($sp)
/* 2C01C 80050C1C 8FB20018 */ lw $s2, 0x18($sp)
/* 2C020 80050C20 8FB10014 */ lw $s1, 0x14($sp)
/* 2C024 80050C24 8FB00010 */ lw $s0, 0x10($sp)
/* 2C028 80050C28 03E00008 */ jr $ra
/* 2C02C 80050C2C 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -1,20 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80050C64
/* 2C064 80050C64 3C03800A */ lui $v1, %hi(D_8009A628)
/* 2C068 80050C68 8C63A628 */ lw $v1, %lo(D_8009A628)($v1)
/* 2C06C 80050C6C 00041100 */ sll $v0, $a0, 4
/* 2C070 80050C70 00441023 */ subu $v0, $v0, $a0
/* 2C074 80050C74 000210C0 */ sll $v0, $v0, 3
/* 2C078 80050C78 00441021 */ addu $v0, $v0, $a0
/* 2C07C 80050C7C 00021080 */ sll $v0, $v0, 2
/* 2C080 80050C80 24420024 */ addiu $v0, $v0, 0x24
/* 2C084 80050C84 14A00003 */ bnez $a1, .L80050C94
/* 2C088 80050C88 00621821 */ addu $v1, $v1, $v0
/* 2C08C 80050C8C 03E00008 */ jr $ra
/* 2C090 80050C90 A0600025 */ sb $zero, 0x25($v1)
.L80050C94:
/* 2C094 80050C94 24020002 */ addiu $v0, $zero, 2
/* 2C098 80050C98 03E00008 */ jr $ra
/* 2C09C 80050C9C A0620025 */ sb $v0, 0x25($v1)

View File

@ -1,51 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80050CA0
/* 2C0A0 80050CA0 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 2C0A4 80050CA4 0080302D */ daddu $a2, $a0, $zero
/* 2C0A8 80050CA8 AFB20018 */ sw $s2, 0x18($sp)
/* 2C0AC 80050CAC 00A0902D */ daddu $s2, $a1, $zero
/* 2C0B0 80050CB0 AFB10014 */ sw $s1, 0x14($sp)
/* 2C0B4 80050CB4 0000882D */ daddu $s1, $zero, $zero
/* 2C0B8 80050CB8 00061900 */ sll $v1, $a2, 4
/* 2C0BC 80050CBC 00661823 */ subu $v1, $v1, $a2
/* 2C0C0 80050CC0 000318C0 */ sll $v1, $v1, 3
/* 2C0C4 80050CC4 00661821 */ addu $v1, $v1, $a2
/* 2C0C8 80050CC8 00031880 */ sll $v1, $v1, 2
/* 2C0CC 80050CCC 24630024 */ addiu $v1, $v1, 0x24
/* 2C0D0 80050CD0 3C04800A */ lui $a0, %hi(D_8009A628)
/* 2C0D4 80050CD4 8C84A628 */ lw $a0, %lo(D_8009A628)($a0)
/* 2C0D8 80050CD8 00061080 */ sll $v0, $a2, 2
/* 2C0DC 80050CDC AFBF001C */ sw $ra, 0x1c($sp)
/* 2C0E0 80050CE0 AFB00010 */ sw $s0, 0x10($sp)
/* 2C0E4 80050CE4 00821021 */ addu $v0, $a0, $v0
/* 2C0E8 80050CE8 8C450010 */ lw $a1, 0x10($v0)
/* 2C0EC 80050CEC 10A00010 */ beqz $a1, .L80050D30
/* 2C0F0 80050CF0 00838021 */ addu $s0, $a0, $v1
/* 2C0F4 80050CF4 8E020020 */ lw $v0, 0x20($s0)
/* 2C0F8 80050CF8 5440000E */ bnel $v0, $zero, .L80050D34
/* 2C0FC 80050CFC 24110001 */ addiu $s1, $zero, 1
/* 2C100 80050D00 0C014429 */ jal func_800510A4
/* 2C104 80050D04 00000000 */ nop
/* 2C108 80050D08 1240000A */ beqz $s2, .L80050D34
/* 2C10C 80050D0C 0200202D */ daddu $a0, $s0, $zero
/* 2C110 80050D10 2402007F */ addiu $v0, $zero, 0x7f
/* 2C114 80050D14 A4920028 */ sh $s2, 0x28($a0)
/* 2C118 80050D18 A080002A */ sb $zero, 0x2a($a0)
/* 2C11C 80050D1C A082002B */ sb $v0, 0x2b($a0)
/* 2C120 80050D20 0C014354 */ jal func_80050D50
/* 2C124 80050D24 A0800026 */ sb $zero, 0x26($a0)
/* 2C128 80050D28 0801434E */ j .L80050D38
/* 2C12C 80050D2C 0220102D */ daddu $v0, $s1, $zero
.L80050D30:
/* 2C130 80050D30 24110002 */ addiu $s1, $zero, 2
.L80050D34:
/* 2C134 80050D34 0220102D */ daddu $v0, $s1, $zero
.L80050D38:
/* 2C138 80050D38 8FBF001C */ lw $ra, 0x1c($sp)
/* 2C13C 80050D3C 8FB20018 */ lw $s2, 0x18($sp)
/* 2C140 80050D40 8FB10014 */ lw $s1, 0x14($sp)
/* 2C144 80050D44 8FB00010 */ lw $s0, 0x10($sp)
/* 2C148 80050D48 03E00008 */ jr $ra
/* 2C14C 80050D4C 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,58 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80050D50
/* 2C150 80050D50 0080302D */ daddu $a2, $a0, $zero
/* 2C154 80050D54 240300FF */ addiu $v1, $zero, 0xff
/* 2C158 80050D58 90C2002A */ lbu $v0, 0x2a($a2)
/* 2C15C 80050D5C 94C50028 */ lhu $a1, 0x28($a2)
/* 2C160 80050D60 14430004 */ bne $v0, $v1, .L80050D74
/* 2C164 80050D64 24A2FF06 */ addiu $v0, $a1, -0xfa
/* 2C168 80050D68 80C20038 */ lb $v0, 0x38($a2)
/* 2C16C 80050D6C A0C2002A */ sb $v0, 0x2a($a2)
/* 2C170 80050D70 24A2FF06 */ addiu $v0, $a1, -0xfa
.L80050D74:
/* 2C174 80050D74 3042FFFF */ andi $v0, $v0, 0xffff
/* 2C178 80050D78 2C422617 */ sltiu $v0, $v0, 0x2617
/* 2C17C 80050D7C 10400022 */ beqz $v0, .L80050E08
/* 2C180 80050D80 3C041CF0 */ lui $a0, 0x1cf0
/* 2C184 80050D84 34846ADB */ ori $a0, $a0, 0x6adb
/* 2C188 80050D88 30A3FFFF */ andi $v1, $a1, 0xffff
/* 2C18C 80050D8C 00031080 */ sll $v0, $v1, 2
/* 2C190 80050D90 00431021 */ addu $v0, $v0, $v1
/* 2C194 80050D94 00021040 */ sll $v0, $v0, 1
/* 2C198 80050D98 00440019 */ multu $v0, $a0
/* 2C19C 80050D9C 90C3002B */ lbu $v1, 0x2b($a2)
/* 2C1A0 80050DA0 00002010 */ mfhi $a0
/* 2C1A4 80050DA4 00441023 */ subu $v0, $v0, $a0
/* 2C1A8 80050DA8 00021042 */ srl $v0, $v0, 1
/* 2C1AC 80050DAC 00822021 */ addu $a0, $a0, $v0
/* 2C1B0 80050DB0 90C2002A */ lbu $v0, 0x2a($a2)
/* 2C1B4 80050DB4 00042182 */ srl $a0, $a0, 6
/* 2C1B8 80050DB8 00621823 */ subu $v1, $v1, $v0
/* 2C1BC 80050DBC 00031E00 */ sll $v1, $v1, 0x18
/* 2C1C0 80050DC0 3082FFFF */ andi $v0, $a0, 0xffff
/* 2C1C4 80050DC4 14400002 */ bnez $v0, .L80050DD0
/* 2C1C8 80050DC8 0062001A */ div $zero, $v1, $v0
/* 2C1CC 80050DCC 0007000D */ break 7
.L80050DD0:
/* 2C1D0 80050DD0 2401FFFF */ addiu $at, $zero, -1
/* 2C1D4 80050DD4 14410004 */ bne $v0, $at, .L80050DE8
/* 2C1D8 80050DD8 3C018000 */ lui $at, 0x8000
/* 2C1DC 80050DDC 14610002 */ bne $v1, $at, .L80050DE8
/* 2C1E0 80050DE0 00000000 */ nop
/* 2C1E4 80050DE4 0006000D */ break 6
.L80050DE8:
/* 2C1E8 80050DE8 00001812 */ mflo $v1
/* 2C1EC 80050DEC 90C5002B */ lbu $a1, 0x2b($a2)
/* 2C1F0 80050DF0 90C2002A */ lbu $v0, 0x2a($a2)
/* 2C1F4 80050DF4 A0C50042 */ sb $a1, 0x42($a2)
/* 2C1F8 80050DF8 A4C40040 */ sh $a0, 0x40($a2)
/* 2C1FC 80050DFC 00021600 */ sll $v0, $v0, 0x18
/* 2C200 80050E00 ACC20038 */ sw $v0, 0x38($a2)
/* 2C204 80050E04 ACC3003C */ sw $v1, 0x3c($a2)
.L80050E08:
/* 2C208 80050E08 A4C00028 */ sh $zero, 0x28($a2)
/* 2C20C 80050E0C A0C0002A */ sb $zero, 0x2a($a2)
/* 2C210 80050E10 03E00008 */ jr $ra
/* 2C214 80050E14 A0C0002B */ sb $zero, 0x2b($a2)

View File

@ -1,33 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80050E18
/* 2C218 80050E18 00041100 */ sll $v0, $a0, 4
/* 2C21C 80050E1C 00441023 */ subu $v0, $v0, $a0
/* 2C220 80050E20 000210C0 */ sll $v0, $v0, 3
/* 2C224 80050E24 00441021 */ addu $v0, $v0, $a0
/* 2C228 80050E28 00021080 */ sll $v0, $v0, 2
/* 2C22C 80050E2C 3C03800A */ lui $v1, %hi(D_8009A628)
/* 2C230 80050E30 8C63A628 */ lw $v1, %lo(D_8009A628)($v1)
/* 2C234 80050E34 24420024 */ addiu $v0, $v0, 0x24
/* 2C238 80050E38 00621821 */ addu $v1, $v1, $v0
/* 2C23C 80050E3C 8C620004 */ lw $v0, 4($v1)
/* 2C240 80050E40 1040000E */ beqz $v0, .L80050E7C
/* 2C244 80050E44 00000000 */ nop
/* 2C248 80050E48 8C620008 */ lw $v0, 8($v1)
/* 2C24C 80050E4C 1040000B */ beqz $v0, .L80050E7C
/* 2C250 80050E50 00000000 */ nop
/* 2C254 80050E54 10A00008 */ beqz $a1, .L80050E78
/* 2C258 80050E58 24020003 */ addiu $v0, $zero, 3
/* 2C25C 80050E5C 240200FF */ addiu $v0, $zero, 0xff
/* 2C260 80050E60 A062002A */ sb $v0, 0x2a($v1)
/* 2C264 80050E64 24020002 */ addiu $v0, $zero, 2
/* 2C268 80050E68 A4650028 */ sh $a1, 0x28($v1)
/* 2C26C 80050E6C A060002B */ sb $zero, 0x2b($v1)
/* 2C270 80050E70 03E00008 */ jr $ra
/* 2C274 80050E74 A0620026 */ sb $v0, 0x26($v1)
.L80050E78:
/* 2C278 80050E78 A0620024 */ sb $v0, 0x24($v1)
.L80050E7C:
/* 2C27C 80050E7C 03E00008 */ jr $ra
/* 2C280 80050E80 00000000 */ nop

View File

@ -1,34 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80050E84
/* 2C284 80050E84 00041100 */ sll $v0, $a0, 4
/* 2C288 80050E88 00441023 */ subu $v0, $v0, $a0
/* 2C28C 80050E8C 000210C0 */ sll $v0, $v0, 3
/* 2C290 80050E90 00441021 */ addu $v0, $v0, $a0
/* 2C294 80050E94 00021080 */ sll $v0, $v0, 2
/* 2C298 80050E98 3C03800A */ lui $v1, %hi(D_8009A628)
/* 2C29C 80050E9C 8C63A628 */ lw $v1, %lo(D_8009A628)($v1)
/* 2C2A0 80050EA0 24420024 */ addiu $v0, $v0, 0x24
/* 2C2A4 80050EA4 00621821 */ addu $v1, $v1, $v0
/* 2C2A8 80050EA8 8C620004 */ lw $v0, 4($v1)
/* 2C2AC 80050EAC 1040000E */ beqz $v0, .L80050EE8
/* 2C2B0 80050EB0 00000000 */ nop
/* 2C2B4 80050EB4 8C620008 */ lw $v0, 8($v1)
/* 2C2B8 80050EB8 1040000B */ beqz $v0, .L80050EE8
/* 2C2BC 80050EBC 24020001 */ addiu $v0, $zero, 1
/* 2C2C0 80050EC0 10A00003 */ beqz $a1, .L80050ED0
/* 2C2C4 80050EC4 A0620024 */ sb $v0, 0x24($v1)
/* 2C2C8 80050EC8 080143B6 */ j .L80050ED8
/* 2C2CC 80050ECC A4650028 */ sh $a1, 0x28($v1)
.L80050ED0:
/* 2C2D0 80050ED0 240200FA */ addiu $v0, $zero, 0xfa
/* 2C2D4 80050ED4 A4620028 */ sh $v0, 0x28($v1)
.L80050ED8:
/* 2C2D8 80050ED8 2402007F */ addiu $v0, $zero, 0x7f
/* 2C2DC 80050EDC A060002A */ sb $zero, 0x2a($v1)
/* 2C2E0 80050EE0 A062002B */ sb $v0, 0x2b($v1)
/* 2C2E4 80050EE4 A0600026 */ sb $zero, 0x26($v1)
.L80050EE8:
/* 2C2E8 80050EE8 03E00008 */ jr $ra
/* 2C2EC 80050EEC 00000000 */ nop

View File

@ -1,35 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80050EF0
/* 2C2F0 80050EF0 00041100 */ sll $v0, $a0, 4
/* 2C2F4 80050EF4 00441023 */ subu $v0, $v0, $a0
/* 2C2F8 80050EF8 000210C0 */ sll $v0, $v0, 3
/* 2C2FC 80050EFC 00441021 */ addu $v0, $v0, $a0
/* 2C300 80050F00 00021080 */ sll $v0, $v0, 2
/* 2C304 80050F04 3C03800A */ lui $v1, %hi(D_8009A628)
/* 2C308 80050F08 8C63A628 */ lw $v1, %lo(D_8009A628)($v1)
/* 2C30C 80050F0C 24420024 */ addiu $v0, $v0, 0x24
/* 2C310 80050F10 00621821 */ addu $v1, $v1, $v0
/* 2C314 80050F14 8C620004 */ lw $v0, 4($v1)
/* 2C318 80050F18 10400010 */ beqz $v0, .L80050F5C
/* 2C31C 80050F1C 00000000 */ nop
/* 2C320 80050F20 8C620008 */ lw $v0, 8($v1)
/* 2C324 80050F24 1040000D */ beqz $v0, .L80050F5C
/* 2C328 80050F28 00000000 */ nop
/* 2C32C 80050F2C 90620024 */ lbu $v0, 0x24($v1)
/* 2C330 80050F30 10400005 */ beqz $v0, .L80050F48
/* 2C334 80050F34 00000000 */ nop
/* 2C338 80050F38 AC600008 */ sw $zero, 8($v1)
/* 2C33C 80050F3C AC600020 */ sw $zero, 0x20($v1)
/* 2C340 80050F40 03E00008 */ jr $ra
/* 2C344 80050F44 A0600024 */ sb $zero, 0x24($v1)
.L80050F48:
/* 2C348 80050F48 3C028008 */ lui $v0, %hi(D_80078520)
/* 2C34C 80050F4C 24428520 */ addiu $v0, $v0, %lo(D_80078520)
/* 2C350 80050F50 AC620008 */ sw $v0, 8($v1)
/* 2C354 80050F54 24020001 */ addiu $v0, $zero, 1
/* 2C358 80050F58 AC620018 */ sw $v0, 0x18($v1)
.L80050F5C:
/* 2C35C 80050F5C 03E00008 */ jr $ra
/* 2C360 80050F60 00000000 */ nop

View File

@ -1,34 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80050F64
/* 2C364 80050F64 00041100 */ sll $v0, $a0, 4
/* 2C368 80050F68 00441023 */ subu $v0, $v0, $a0
/* 2C36C 80050F6C 000210C0 */ sll $v0, $v0, 3
/* 2C370 80050F70 00441021 */ addu $v0, $v0, $a0
/* 2C374 80050F74 00021080 */ sll $v0, $v0, 2
/* 2C378 80050F78 3C03800A */ lui $v1, %hi(D_8009A628)
/* 2C37C 80050F7C 8C63A628 */ lw $v1, %lo(D_8009A628)($v1)
/* 2C380 80050F80 24420024 */ addiu $v0, $v0, 0x24
/* 2C384 80050F84 00621821 */ addu $v1, $v1, $v0
/* 2C388 80050F88 8C620004 */ lw $v0, 4($v1)
/* 2C38C 80050F8C 1040000E */ beqz $v0, .L80050FC8
/* 2C390 80050F90 00000000 */ nop
/* 2C394 80050F94 8C620008 */ lw $v0, 8($v1)
/* 2C398 80050F98 1040000B */ beqz $v0, .L80050FC8
/* 2C39C 80050F9C 00000000 */ nop
/* 2C3A0 80050FA0 10A00003 */ beqz $a1, .L80050FB0
/* 2C3A4 80050FA4 240200FA */ addiu $v0, $zero, 0xfa
/* 2C3A8 80050FA8 080143ED */ j .L80050FB4
/* 2C3AC 80050FAC A4650028 */ sh $a1, 0x28($v1)
.L80050FB0:
/* 2C3B0 80050FB0 A4620028 */ sh $v0, 0x28($v1)
.L80050FB4:
/* 2C3B4 80050FB4 240200FF */ addiu $v0, $zero, 0xff
/* 2C3B8 80050FB8 A062002A */ sb $v0, 0x2a($v1)
/* 2C3BC 80050FBC 24020001 */ addiu $v0, $zero, 1
/* 2C3C0 80050FC0 A060002B */ sb $zero, 0x2b($v1)
/* 2C3C4 80050FC4 A0620026 */ sb $v0, 0x26($v1)
.L80050FC8:
/* 2C3C8 80050FC8 03E00008 */ jr $ra
/* 2C3CC 80050FCC 00000000 */ nop

View File

@ -1,41 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80050FD0
/* 2C3D0 80050FD0 00041100 */ sll $v0, $a0, 4
/* 2C3D4 80050FD4 00441023 */ subu $v0, $v0, $a0
/* 2C3D8 80050FD8 000210C0 */ sll $v0, $v0, 3
/* 2C3DC 80050FDC 00441021 */ addu $v0, $v0, $a0
/* 2C3E0 80050FE0 00021080 */ sll $v0, $v0, 2
/* 2C3E4 80050FE4 3C03800A */ lui $v1, %hi(D_8009A628)
/* 2C3E8 80050FE8 8C63A628 */ lw $v1, %lo(D_8009A628)($v1)
/* 2C3EC 80050FEC 24420024 */ addiu $v0, $v0, 0x24
/* 2C3F0 80050FF0 00621821 */ addu $v1, $v1, $v0
/* 2C3F4 80050FF4 8C620004 */ lw $v0, 4($v1)
/* 2C3F8 80050FF8 10400013 */ beqz $v0, .L80051048
/* 2C3FC 80050FFC 00000000 */ nop
/* 2C400 80051000 8C620008 */ lw $v0, 8($v1)
/* 2C404 80051004 10400010 */ beqz $v0, .L80051048
/* 2C408 80051008 00000000 */ nop
/* 2C40C 8005100C 1CC00003 */ bgtz $a2, .L8005101C
/* 2C410 80051010 28C20080 */ slti $v0, $a2, 0x80
/* 2C414 80051014 08014409 */ j .L80051024
/* 2C418 80051018 24060001 */ addiu $a2, $zero, 1
.L8005101C:
/* 2C41C 8005101C 50400001 */ beql $v0, $zero, .L80051024
/* 2C420 80051020 2406007F */ addiu $a2, $zero, 0x7f
.L80051024:
/* 2C424 80051024 10A00003 */ beqz $a1, .L80051034
/* 2C428 80051028 240200FA */ addiu $v0, $zero, 0xfa
/* 2C42C 8005102C 0801440E */ j .L80051038
/* 2C430 80051030 A4650028 */ sh $a1, 0x28($v1)
.L80051034:
/* 2C434 80051034 A4620028 */ sh $v0, 0x28($v1)
.L80051038:
/* 2C438 80051038 240200FF */ addiu $v0, $zero, 0xff
/* 2C43C 8005103C A062002A */ sb $v0, 0x2a($v1)
/* 2C440 80051040 A066002B */ sb $a2, 0x2b($v1)
/* 2C444 80051044 A0600026 */ sb $zero, 0x26($v1)
.L80051048:
/* 2C448 80051048 03E00008 */ jr $ra
/* 2C44C 8005104C 00000000 */ nop

View File

@ -1,26 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80051050
/* 2C450 80051050 00041100 */ sll $v0, $a0, 4
/* 2C454 80051054 00441023 */ subu $v0, $v0, $a0
/* 2C458 80051058 000210C0 */ sll $v0, $v0, 3
/* 2C45C 8005105C 00441021 */ addu $v0, $v0, $a0
/* 2C460 80051060 00021080 */ sll $v0, $v0, 2
/* 2C464 80051064 3C03800A */ lui $v1, %hi(D_8009A628)
/* 2C468 80051068 8C63A628 */ lw $v1, %lo(D_8009A628)($v1)
/* 2C46C 8005106C 24420024 */ addiu $v0, $v0, 0x24
/* 2C470 80051070 00621821 */ addu $v1, $v1, $v0
/* 2C474 80051074 8C620004 */ lw $v0, 4($v1)
/* 2C478 80051078 10400008 */ beqz $v0, .L8005109C
/* 2C47C 8005107C 0000202D */ daddu $a0, $zero, $zero
/* 2C480 80051080 8C620008 */ lw $v0, 8($v1)
/* 2C484 80051084 10400005 */ beqz $v0, .L8005109C
/* 2C488 80051088 00000000 */ nop
/* 2C48C 8005108C 90620024 */ lbu $v0, 0x24($v1)
/* 2C490 80051090 10400002 */ beqz $v0, .L8005109C
/* 2C494 80051094 24040001 */ addiu $a0, $zero, 1
/* 2C498 80051098 24040002 */ addiu $a0, $zero, 2
.L8005109C:
/* 2C49C 8005109C 03E00008 */ jr $ra
/* 2C4A0 800510A0 0080102D */ daddu $v0, $a0, $zero

View File

@ -1,76 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_800510A4
/* 2C4A4 800510A4 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 2C4A8 800510A8 AFB3001C */ sw $s3, 0x1c($sp)
/* 2C4AC 800510AC 0080982D */ daddu $s3, $a0, $zero
/* 2C4B0 800510B0 AFB00010 */ sw $s0, 0x10($sp)
/* 2C4B4 800510B4 00A0802D */ daddu $s0, $a1, $zero
/* 2C4B8 800510B8 AFB10014 */ sw $s1, 0x14($sp)
/* 2C4BC 800510BC 00C0882D */ daddu $s1, $a2, $zero
/* 2C4C0 800510C0 00111100 */ sll $v0, $s1, 4
/* 2C4C4 800510C4 00511023 */ subu $v0, $v0, $s1
/* 2C4C8 800510C8 000210C0 */ sll $v0, $v0, 3
/* 2C4CC 800510CC 00511021 */ addu $v0, $v0, $s1
/* 2C4D0 800510D0 00021080 */ sll $v0, $v0, 2
/* 2C4D4 800510D4 24420024 */ addiu $v0, $v0, 0x24
/* 2C4D8 800510D8 AFB20018 */ sw $s2, 0x18($sp)
/* 2C4DC 800510DC 02629021 */ addu $s2, $s3, $v0
/* 2C4E0 800510E0 0240202D */ daddu $a0, $s2, $zero
/* 2C4E4 800510E4 240501E4 */ addiu $a1, $zero, 0x1e4
/* 2C4E8 800510E8 AFBF0020 */ sw $ra, 0x20($sp)
/* 2C4EC 800510EC 0C0153A4 */ jal func_80054E90
/* 2C4F0 800510F0 0000302D */ daddu $a2, $zero, $zero
/* 2C4F4 800510F4 AE500000 */ sw $s0, ($s2)
/* 2C4F8 800510F8 96030010 */ lhu $v1, 0x10($s0)
/* 2C4FC 800510FC 24020001 */ addiu $v0, $zero, 1
/* 2C500 80051100 AE420018 */ sw $v0, 0x18($s2)
/* 2C504 80051104 3C027F00 */ lui $v0, 0x7f00
/* 2C508 80051108 AE420038 */ sw $v0, 0x38($s2)
/* 2C50C 8005110C 2402007F */ addiu $v0, $zero, 0x7f
/* 2C510 80051110 A2420042 */ sb $v0, 0x42($s2)
/* 2C514 80051114 0200102D */ daddu $v0, $s0, $zero
/* 2C518 80051118 A2510014 */ sb $s1, 0x14($s2)
/* 2C51C 8005111C 02038021 */ addu $s0, $s0, $v1
/* 2C520 80051120 AE500008 */ sw $s0, 8($s2)
/* 2C524 80051124 AE500010 */ sw $s0, 0x10($s2)
/* 2C528 80051128 AE50000C */ sw $s0, 0xc($s2)
/* 2C52C 8005112C AE500004 */ sw $s0, 4($s2)
/* 2C530 80051130 8C420008 */ lw $v0, 8($v0)
/* 2C534 80051134 8E430000 */ lw $v1, ($s2)
/* 2C538 80051138 AE420020 */ sw $v0, 0x20($s2)
/* 2C53C 8005113C 9062000C */ lbu $v0, 0xc($v1)
/* 2C540 80051140 AE420030 */ sw $v0, 0x30($s2)
/* 2C544 80051144 24420010 */ addiu $v0, $v0, 0x10
/* 2C548 80051148 AE420034 */ sw $v0, 0x34($s2)
/* 2C54C 8005114C 2C420019 */ sltiu $v0, $v0, 0x19
/* 2C550 80051150 14400003 */ bnez $v0, .L80051160
/* 2C554 80051154 0000282D */ daddu $a1, $zero, $zero
/* 2C558 80051158 24020018 */ addiu $v0, $zero, 0x18
/* 2C55C 8005115C AE420034 */ sw $v0, 0x34($s2)
.L80051160:
/* 2C560 80051160 3C067FFF */ lui $a2, 0x7fff
/* 2C564 80051164 34C6FFFF */ ori $a2, $a2, 0xffff
/* 2C568 80051168 24070040 */ addiu $a3, $zero, 0x40
/* 2C56C 8005116C 24040044 */ addiu $a0, $zero, 0x44
.L80051170:
/* 2C570 80051170 02441821 */ addu $v1, $s2, $a0
/* 2C574 80051174 8E620000 */ lw $v0, ($s3)
/* 2C578 80051178 8C420004 */ lw $v0, 4($v0)
/* 2C57C 8005117C 24A50001 */ addiu $a1, $a1, 1
/* 2C580 80051180 AC660018 */ sw $a2, 0x18($v1)
/* 2C584 80051184 A0670024 */ sb $a3, 0x24($v1)
/* 2C588 80051188 AC620000 */ sw $v0, ($v1)
/* 2C58C 8005118C 28A2000A */ slti $v0, $a1, 0xa
/* 2C590 80051190 1440FFF7 */ bnez $v0, .L80051170
/* 2C594 80051194 24840028 */ addiu $a0, $a0, 0x28
/* 2C598 80051198 24020001 */ addiu $v0, $zero, 1
/* 2C59C 8005119C A2420043 */ sb $v0, 0x43($s2)
/* 2C5A0 800511A0 8FBF0020 */ lw $ra, 0x20($sp)
/* 2C5A4 800511A4 8FB3001C */ lw $s3, 0x1c($sp)
/* 2C5A8 800511A8 8FB20018 */ lw $s2, 0x18($sp)
/* 2C5AC 800511AC 8FB10014 */ lw $s1, 0x14($sp)
/* 2C5B0 800511B0 8FB00010 */ lw $s0, 0x10($sp)
/* 2C5B4 800511B4 03E00008 */ jr $ra
/* 2C5B8 800511B8 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -1,77 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80051334
/* 2C734 80051334 8CA30000 */ lw $v1, ($a1)
/* 2C738 80051338 9067000D */ lbu $a3, 0xd($v1)
/* 2C73C 8005133C 10E0003B */ beqz $a3, .L8005142C
/* 2C740 80051340 00000000 */ nop
/* 2C744 80051344 9462000E */ lhu $v0, 0xe($v1)
/* 2C748 80051348 10400038 */ beqz $v0, .L8005142C
/* 2C74C 8005134C 24E7FFFF */ addiu $a3, $a3, -1
/* 2C750 80051350 24090001 */ addiu $t1, $zero, 1
/* 2C754 80051354 00624021 */ addu $t0, $v1, $v0
/* 2C758 80051358 25040006 */ addiu $a0, $t0, 6
.L8005135C:
/* 2C75C 8005135C 91030000 */ lbu $v1, ($t0)
/* 2C760 80051360 00031080 */ sll $v0, $v1, 2
/* 2C764 80051364 00431021 */ addu $v0, $v0, $v1
/* 2C768 80051368 000210C0 */ sll $v0, $v0, 3
/* 2C76C 8005136C 24420044 */ addiu $v0, $v0, 0x44
/* 2C770 80051370 9083FFFB */ lbu $v1, -5($a0)
/* 2C774 80051374 14600014 */ bnez $v1, .L800513C8
/* 2C778 80051378 00A23021 */ addu $a2, $a1, $v0
/* 2C77C 8005137C 9482FFFC */ lhu $v0, -4($a0)
/* 2C780 80051380 A4C20014 */ sh $v0, 0x14($a2)
/* 2C784 80051384 8482FFFE */ lh $v0, -2($a0)
/* 2C788 80051388 8483FFFC */ lh $v1, -4($a0)
/* 2C78C 8005138C 00021400 */ sll $v0, $v0, 0x10
/* 2C790 80051390 14600002 */ bnez $v1, .L8005139C
/* 2C794 80051394 0043001A */ div $zero, $v0, $v1
/* 2C798 80051398 0007000D */ break 7
.L8005139C:
/* 2C79C 8005139C 2401FFFF */ addiu $at, $zero, -1
/* 2C7A0 800513A0 14610004 */ bne $v1, $at, .L800513B4
/* 2C7A4 800513A4 3C018000 */ lui $at, 0x8000
/* 2C7A8 800513A8 14410002 */ bne $v0, $at, .L800513B4
/* 2C7AC 800513AC 00000000 */ nop
/* 2C7B0 800513B0 0006000D */ break 6
.L800513B4:
/* 2C7B4 800513B4 00001012 */ mflo $v0
/* 2C7B8 800513B8 ACC20010 */ sw $v0, 0x10($a2)
/* 2C7BC 800513BC 94820000 */ lhu $v0, ($a0)
/* 2C7C0 800513C0 08014506 */ j .L80051418
/* 2C7C4 800513C4 A4C20016 */ sh $v0, 0x16($a2)
.L800513C8:
/* 2C7C8 800513C8 54690014 */ bnel $v1, $t1, .L8005141C
/* 2C7CC 800513CC 24840008 */ addiu $a0, $a0, 8
/* 2C7D0 800513D0 9482FFFC */ lhu $v0, -4($a0)
/* 2C7D4 800513D4 A4C20020 */ sh $v0, 0x20($a2)
/* 2C7D8 800513D8 8482FFFE */ lh $v0, -2($a0)
/* 2C7DC 800513DC 8483FFFC */ lh $v1, -4($a0)
/* 2C7E0 800513E0 00021400 */ sll $v0, $v0, 0x10
/* 2C7E4 800513E4 14600002 */ bnez $v1, .L800513F0
/* 2C7E8 800513E8 0043001A */ div $zero, $v0, $v1
/* 2C7EC 800513EC 0007000D */ break 7
.L800513F0:
/* 2C7F0 800513F0 2401FFFF */ addiu $at, $zero, -1
/* 2C7F4 800513F4 14610004 */ bne $v1, $at, .L80051408
/* 2C7F8 800513F8 3C018000 */ lui $at, 0x8000
/* 2C7FC 800513FC 14410002 */ bne $v0, $at, .L80051408
/* 2C800 80051400 00000000 */ nop
/* 2C804 80051404 0006000D */ break 6
.L80051408:
/* 2C808 80051408 00001012 */ mflo $v0
/* 2C80C 8005140C ACC2001C */ sw $v0, 0x1c($a2)
/* 2C810 80051410 94820000 */ lhu $v0, ($a0)
/* 2C814 80051414 A4C20022 */ sh $v0, 0x22($a2)
.L80051418:
/* 2C818 80051418 24840008 */ addiu $a0, $a0, 8
.L8005141C:
/* 2C81C 8005141C 25080008 */ addiu $t0, $t0, 8
/* 2C820 80051420 00E0102D */ daddu $v0, $a3, $zero
/* 2C824 80051424 1440FFCD */ bnez $v0, .L8005135C
/* 2C828 80051428 24E7FFFF */ addiu $a3, $a3, -1
.L8005142C:
/* 2C82C 8005142C 03E00008 */ jr $ra
/* 2C830 80051430 00000000 */ nop

View File

@ -1,941 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80051434
/* 2C834 80051434 27BDFF90 */ addiu $sp, $sp, -0x70
/* 2C838 80051438 AFB5005C */ sw $s5, 0x5c($sp)
/* 2C83C 8005143C 00A0A82D */ daddu $s5, $a1, $zero
/* 2C840 80051440 AFB00048 */ sw $s0, 0x48($sp)
/* 2C844 80051444 0000802D */ daddu $s0, $zero, $zero
/* 2C848 80051448 27A50010 */ addiu $a1, $sp, 0x10
/* 2C84C 8005144C AFBF006C */ sw $ra, 0x6c($sp)
/* 2C850 80051450 AFBE0068 */ sw $fp, 0x68($sp)
/* 2C854 80051454 AFB70064 */ sw $s7, 0x64($sp)
/* 2C858 80051458 AFB60060 */ sw $s6, 0x60($sp)
/* 2C85C 8005145C AFB40058 */ sw $s4, 0x58($sp)
/* 2C860 80051460 AFB30054 */ sw $s3, 0x54($sp)
/* 2C864 80051464 AFB20050 */ sw $s2, 0x50($sp)
/* 2C868 80051468 AFB1004C */ sw $s1, 0x4c($sp)
/* 2C86C 8005146C AFA40070 */ sw $a0, 0x70($sp)
/* 2C870 80051470 8C880000 */ lw $t0, ($a0)
/* 2C874 80051474 27A40020 */ addiu $a0, $sp, 0x20
/* 2C878 80051478 A3A00034 */ sb $zero, 0x34($sp)
/* 2C87C 8005147C AFA80030 */ sw $t0, 0x30($sp)
.L80051480:
/* 2C880 80051480 00B01021 */ addu $v0, $a1, $s0
/* 2C884 80051484 00901821 */ addu $v1, $a0, $s0
/* 2C888 80051488 26100001 */ addiu $s0, $s0, 1
/* 2C88C 8005148C A0400000 */ sb $zero, ($v0)
/* 2C890 80051490 2E020010 */ sltiu $v0, $s0, 0x10
/* 2C894 80051494 1440FFFA */ bnez $v0, .L80051480
/* 2C898 80051498 A0600000 */ sb $zero, ($v1)
/* 2C89C 8005149C 92A20043 */ lbu $v0, 0x43($s5)
/* 2C8A0 800514A0 24100001 */ addiu $s0, $zero, 1
/* 2C8A4 800514A4 14500005 */ bne $v0, $s0, .L800514BC
/* 2C8A8 800514A8 00000000 */ nop
/* 2C8AC 800514AC 8FA40070 */ lw $a0, 0x70($sp)
/* 2C8B0 800514B0 0C01487A */ jal func_800521E8
/* 2C8B4 800514B4 02A0282D */ daddu $a1, $s5, $zero
/* 2C8B8 800514B8 A2A00043 */ sb $zero, 0x43($s5)
.L800514BC:
/* 2C8BC 800514BC 96A20040 */ lhu $v0, 0x40($s5)
/* 2C8C0 800514C0 10400024 */ beqz $v0, .L80051554
/* 2C8C4 800514C4 0000B02D */ daddu $s6, $zero, $zero
/* 2C8C8 800514C8 8EA20038 */ lw $v0, 0x38($s5)
/* 2C8CC 800514CC 8EA4003C */ lw $a0, 0x3c($s5)
/* 2C8D0 800514D0 96A30040 */ lhu $v1, 0x40($s5)
/* 2C8D4 800514D4 00441021 */ addu $v0, $v0, $a0
/* 2C8D8 800514D8 2463FFFF */ addiu $v1, $v1, -1
/* 2C8DC 800514DC A6A30040 */ sh $v1, 0x40($s5)
/* 2C8E0 800514E0 3063FFFF */ andi $v1, $v1, 0xffff
/* 2C8E4 800514E4 14600018 */ bnez $v1, .L80051548
/* 2C8E8 800514E8 AEA20038 */ sw $v0, 0x38($s5)
/* 2C8EC 800514EC 92A20042 */ lbu $v0, 0x42($s5)
/* 2C8F0 800514F0 92A30026 */ lbu $v1, 0x26($s5)
/* 2C8F4 800514F4 00021600 */ sll $v0, $v0, 0x18
/* 2C8F8 800514F8 10600013 */ beqz $v1, .L80051548
/* 2C8FC 800514FC AEA20038 */ sw $v0, 0x38($s5)
/* 2C900 80051500 1470000D */ bne $v1, $s0, .L80051538
/* 2C904 80051504 24020002 */ addiu $v0, $zero, 2
/* 2C908 80051508 3C028008 */ lui $v0, %hi(D_80078520)
/* 2C90C 8005150C 24428520 */ addiu $v0, $v0, %lo(D_80078520)
/* 2C910 80051510 AEA20008 */ sw $v0, 8($s5)
/* 2C914 80051514 08014552 */ j .L80051548
/* 2C918 80051518 AEA30018 */ sw $v1, 0x18($s5)
.L8005151C:
/* 2C91C 8005151C 8FA40070 */ lw $a0, 0x70($sp)
/* 2C920 80051520 02A0282D */ daddu $a1, $s5, $zero
/* 2C924 80051524 AEA00008 */ sw $zero, 8($s5)
/* 2C928 80051528 0C01487A */ jal func_800521E8
/* 2C92C 8005152C AEA00020 */ sw $zero, 0x20($s5)
/* 2C930 80051530 0801482F */ j .L800520BC
/* 2C934 80051534 00000000 */ nop
.L80051538:
/* 2C938 80051538 14620004 */ bne $v1, $v0, .L8005154C
/* 2C93C 8005153C 24080001 */ addiu $t0, $zero, 1
/* 2C940 80051540 24020003 */ addiu $v0, $zero, 3
/* 2C944 80051544 A2A20024 */ sb $v0, 0x24($s5)
.L80051548:
/* 2C948 80051548 24080001 */ addiu $t0, $zero, 1
.L8005154C:
/* 2C94C 8005154C A3A80034 */ sb $t0, 0x34($sp)
/* 2C950 80051550 0000B02D */ daddu $s6, $zero, $zero
.L80051554:
/* 2C954 80051554 27A80020 */ addiu $t0, $sp, 0x20
/* 2C958 80051558 AFA80038 */ sw $t0, 0x38($sp)
/* 2C95C 8005155C 241E0044 */ addiu $fp, $zero, 0x44
.L80051560:
/* 2C960 80051560 02BE9821 */ addu $s3, $s5, $fp
/* 2C964 80051564 86620014 */ lh $v0, 0x14($s3)
/* 2C968 80051568 96630014 */ lhu $v1, 0x14($s3)
/* 2C96C 8005156C 10400042 */ beqz $v0, .L80051678
/* 2C970 80051570 2462FFFF */ addiu $v0, $v1, -1
/* 2C974 80051574 A6620014 */ sh $v0, 0x14($s3)
/* 2C978 80051578 00021400 */ sll $v0, $v0, 0x10
/* 2C97C 8005157C 10400005 */ beqz $v0, .L80051594
/* 2C980 80051580 00000000 */ nop
/* 2C984 80051584 8E62000C */ lw $v0, 0xc($s3)
/* 2C988 80051588 8E630010 */ lw $v1, 0x10($s3)
/* 2C98C 8005158C 08014567 */ j .L8005159C
/* 2C990 80051590 00431021 */ addu $v0, $v0, $v1
.L80051594:
/* 2C994 80051594 86620016 */ lh $v0, 0x16($s3)
/* 2C998 80051598 00021400 */ sll $v0, $v0, 0x10
.L8005159C:
/* 2C99C 8005159C AE62000C */ sw $v0, 0xc($s3)
/* 2C9A0 800515A0 00162400 */ sll $a0, $s6, 0x10
/* 2C9A4 800515A4 8EB00030 */ lw $s0, 0x30($s5)
/* 2C9A8 800515A8 8EA30014 */ lw $v1, 0x14($s5)
/* 2C9AC 800515AC 8EA20034 */ lw $v0, 0x34($s5)
/* 2C9B0 800515B0 0202102B */ sltu $v0, $s0, $v0
/* 2C9B4 800515B4 10400030 */ beqz $v0, .L80051678
/* 2C9B8 800515B8 0064B821 */ addu $s7, $v1, $a0
/* 2C9BC 800515BC 001010C0 */ sll $v0, $s0, 3
/* 2C9C0 800515C0 00501021 */ addu $v0, $v0, $s0
/* 2C9C4 800515C4 000210C0 */ sll $v0, $v0, 3
/* 2C9C8 800515C8 24541320 */ addiu $s4, $v0, 0x1320
.L800515CC:
/* 2C9CC 800515CC 8EA20030 */ lw $v0, 0x30($s5)
/* 2C9D0 800515D0 8FA80070 */ lw $t0, 0x70($sp)
/* 2C9D4 800515D4 02021023 */ subu $v0, $s0, $v0
/* 2C9D8 800515D8 000210C0 */ sll $v0, $v0, 3
/* 2C9DC 800515DC 244207B4 */ addiu $v0, $v0, 0x7b4
/* 2C9E0 800515E0 01029021 */ addu $s2, $t0, $v0
/* 2C9E4 800515E4 8E420000 */ lw $v0, ($s2)
/* 2C9E8 800515E8 3C08FFFF */ lui $t0, 0xffff
/* 2C9EC 800515EC 00481024 */ and $v0, $v0, $t0
/* 2C9F0 800515F0 1457001C */ bne $v0, $s7, .L80051664
/* 2C9F4 800515F4 00000000 */ nop
/* 2C9F8 800515F8 8FA80030 */ lw $t0, 0x30($sp)
/* 2C9FC 800515FC 01148821 */ addu $s1, $t0, $s4
/* 2CA00 80051600 8FA80070 */ lw $t0, 0x70($sp)
/* 2CA04 80051604 92230045 */ lbu $v1, 0x45($s1)
/* 2CA08 80051608 91020022 */ lbu $v0, 0x22($t0)
/* 2CA0C 8005160C 14620015 */ bne $v1, $v0, .L80051664
/* 2CA10 80051610 24080009 */ addiu $t0, $zero, 9
/* 2CA14 80051614 12C80013 */ beq $s6, $t0, .L80051664
/* 2CA18 80051618 00000000 */ nop
/* 2CA1C 8005161C 86420004 */ lh $v0, 4($s2)
/* 2CA20 80051620 8664000C */ lh $a0, 0xc($s3)
/* 2CA24 80051624 0C014E3E */ jal func_800538F8
/* 2CA28 80051628 00442021 */ addu $a0, $v0, $a0
/* 2CA2C 8005162C 8E620000 */ lw $v0, ($s3)
/* 2CA30 80051630 C4420020 */ lwc1 $f2, 0x20($v0)
/* 2CA34 80051634 46020002 */ mul.s $f0, $f0, $f2
/* 2CA38 80051638 00000000 */ nop
/* 2CA3C 8005163C 92220043 */ lbu $v0, 0x43($s1)
/* 2CA40 80051640 34420008 */ ori $v0, $v0, 8
/* 2CA44 80051644 A2220043 */ sb $v0, 0x43($s1)
/* 2CA48 80051648 E6200004 */ swc1 $f0, 4($s1)
/* 2CA4C 8005164C 8EA20030 */ lw $v0, 0x30($s5)
/* 2CA50 80051650 8FA80038 */ lw $t0, 0x38($sp)
/* 2CA54 80051654 02021023 */ subu $v0, $s0, $v0
/* 2CA58 80051658 01021021 */ addu $v0, $t0, $v0
/* 2CA5C 8005165C 24080001 */ addiu $t0, $zero, 1
/* 2CA60 80051660 A0480000 */ sb $t0, ($v0)
.L80051664:
/* 2CA64 80051664 8EA20034 */ lw $v0, 0x34($s5)
/* 2CA68 80051668 26100001 */ addiu $s0, $s0, 1
/* 2CA6C 8005166C 0202102B */ sltu $v0, $s0, $v0
/* 2CA70 80051670 1440FFD6 */ bnez $v0, .L800515CC
/* 2CA74 80051674 26940048 */ addiu $s4, $s4, 0x48
.L80051678:
/* 2CA78 80051678 26D60001 */ addiu $s6, $s6, 1
/* 2CA7C 8005167C 2EC2000A */ sltiu $v0, $s6, 0xa
/* 2CA80 80051680 1440FFB7 */ bnez $v0, .L80051560
/* 2CA84 80051684 27DE0028 */ addiu $fp, $fp, 0x28
/* 2CA88 80051688 0000B02D */ daddu $s6, $zero, $zero
/* 2CA8C 8005168C 3C06FFFF */ lui $a2, 0xffff
/* 2CA90 80051690 24050044 */ addiu $a1, $zero, 0x44
.L80051694:
/* 2CA94 80051694 02A59821 */ addu $s3, $s5, $a1
/* 2CA98 80051698 86620020 */ lh $v0, 0x20($s3)
/* 2CA9C 8005169C 96630020 */ lhu $v1, 0x20($s3)
/* 2CAA0 800516A0 1040003F */ beqz $v0, .L800517A0
/* 2CAA4 800516A4 2462FFFF */ addiu $v0, $v1, -1
/* 2CAA8 800516A8 A6620020 */ sh $v0, 0x20($s3)
/* 2CAAC 800516AC 00021400 */ sll $v0, $v0, 0x10
/* 2CAB0 800516B0 10400005 */ beqz $v0, .L800516C8
/* 2CAB4 800516B4 00000000 */ nop
/* 2CAB8 800516B8 8E620018 */ lw $v0, 0x18($s3)
/* 2CABC 800516BC 8E63001C */ lw $v1, 0x1c($s3)
/* 2CAC0 800516C0 080145B4 */ j .L800516D0
/* 2CAC4 800516C4 00431021 */ addu $v0, $v0, $v1
.L800516C8:
/* 2CAC8 800516C8 86620022 */ lh $v0, 0x22($s3)
/* 2CACC 800516CC 00021400 */ sll $v0, $v0, 0x10
.L800516D0:
/* 2CAD0 800516D0 AE620018 */ sw $v0, 0x18($s3)
/* 2CAD4 800516D4 00162400 */ sll $a0, $s6, 0x10
/* 2CAD8 800516D8 8EB00030 */ lw $s0, 0x30($s5)
/* 2CADC 800516DC 8EA30014 */ lw $v1, 0x14($s5)
/* 2CAE0 800516E0 8EA20034 */ lw $v0, 0x34($s5)
/* 2CAE4 800516E4 0202102B */ sltu $v0, $s0, $v0
/* 2CAE8 800516E8 1040002D */ beqz $v0, .L800517A0
/* 2CAEC 800516EC 0064B821 */ addu $s7, $v1, $a0
/* 2CAF0 800516F0 001010C0 */ sll $v0, $s0, 3
/* 2CAF4 800516F4 00501021 */ addu $v0, $v0, $s0
/* 2CAF8 800516F8 000210C0 */ sll $v0, $v0, 3
/* 2CAFC 800516FC 24441320 */ addiu $a0, $v0, 0x1320
.L80051700:
/* 2CB00 80051700 8EA20030 */ lw $v0, 0x30($s5)
/* 2CB04 80051704 8FA80070 */ lw $t0, 0x70($sp)
/* 2CB08 80051708 02021023 */ subu $v0, $s0, $v0
/* 2CB0C 8005170C 000210C0 */ sll $v0, $v0, 3
/* 2CB10 80051710 244207B4 */ addiu $v0, $v0, 0x7b4
/* 2CB14 80051714 01029021 */ addu $s2, $t0, $v0
/* 2CB18 80051718 8E420000 */ lw $v0, ($s2)
/* 2CB1C 8005171C 00461024 */ and $v0, $v0, $a2
/* 2CB20 80051720 1457001A */ bne $v0, $s7, .L8005178C
/* 2CB24 80051724 00000000 */ nop
/* 2CB28 80051728 8FA80030 */ lw $t0, 0x30($sp)
/* 2CB2C 8005172C 01048821 */ addu $s1, $t0, $a0
/* 2CB30 80051730 8FA80070 */ lw $t0, 0x70($sp)
/* 2CB34 80051734 92230045 */ lbu $v1, 0x45($s1)
/* 2CB38 80051738 91020022 */ lbu $v0, 0x22($t0)
/* 2CB3C 8005173C 14620013 */ bne $v1, $v0, .L8005178C
/* 2CB40 80051740 00000000 */ nop
/* 2CB44 80051744 92430001 */ lbu $v1, 1($s2)
/* 2CB48 80051748 00031080 */ sll $v0, $v1, 2
/* 2CB4C 8005174C 00431021 */ addu $v0, $v0, $v1
/* 2CB50 80051750 000210C0 */ sll $v0, $v0, 3
/* 2CB54 80051754 00559821 */ addu $s3, $v0, $s5
/* 2CB58 80051758 82A30038 */ lb $v1, 0x38($s5)
/* 2CB5C 8005175C 8662005C */ lh $v0, 0x5c($s3)
/* 2CB60 80051760 00620018 */ mult $v1, $v0
/* 2CB64 80051764 00004012 */ mflo $t0
/* 2CB68 80051768 82420006 */ lb $v0, 6($s2)
/* 2CB6C 8005176C 00000000 */ nop
/* 2CB70 80051770 01020018 */ mult $t0, $v0
/* 2CB74 80051774 9222003D */ lbu $v0, 0x3d($s1)
/* 2CB78 80051778 34420020 */ ori $v0, $v0, 0x20
/* 2CB7C 8005177C A222003D */ sb $v0, 0x3d($s1)
/* 2CB80 80051780 00004012 */ mflo $t0
/* 2CB84 80051784 00081383 */ sra $v0, $t0, 0xe
/* 2CB88 80051788 A6220040 */ sh $v0, 0x40($s1)
.L8005178C:
/* 2CB8C 8005178C 8EA20034 */ lw $v0, 0x34($s5)
/* 2CB90 80051790 26100001 */ addiu $s0, $s0, 1
/* 2CB94 80051794 0202102B */ sltu $v0, $s0, $v0
/* 2CB98 80051798 1440FFD9 */ bnez $v0, .L80051700
/* 2CB9C 8005179C 24840048 */ addiu $a0, $a0, 0x48
.L800517A0:
/* 2CBA0 800517A0 26D60001 */ addiu $s6, $s6, 1
/* 2CBA4 800517A4 2EC2000A */ sltiu $v0, $s6, 0xa
/* 2CBA8 800517A8 1440FFBA */ bnez $v0, .L80051694
/* 2CBAC 800517AC 24A50028 */ addiu $a1, $a1, 0x28
/* 2CBB0 800517B0 8EA20018 */ lw $v0, 0x18($s5)
/* 2CBB4 800517B4 2442FFFF */ addiu $v0, $v0, -1
/* 2CBB8 800517B8 1C400240 */ bgtz $v0, .L800520BC
/* 2CBBC 800517BC AEA20018 */ sw $v0, 0x18($s5)
/* 2CBC0 800517C0 1440023E */ bnez $v0, .L800520BC
/* 2CBC4 800517C4 00000000 */ nop
/* 2CBC8 800517C8 241E0001 */ addiu $fp, $zero, 1
/* 2CBCC 800517CC 27A80010 */ addiu $t0, $sp, 0x10
/* 2CBD0 800517D0 AFA80040 */ sw $t0, 0x40($sp)
/* 2CBD4 800517D4 27A80020 */ addiu $t0, $sp, 0x20
/* 2CBD8 800517D8 AFA8003C */ sw $t0, 0x3c($sp)
.L800517DC:
/* 2CBDC 800517DC 0C014874 */ jal func_800521D0
/* 2CBE0 800517E0 02A0202D */ daddu $a0, $s5, $zero
/* 2CBE4 800517E4 0040802D */ daddu $s0, $v0, $zero
/* 2CBE8 800517E8 00101600 */ sll $v0, $s0, 0x18
/* 2CBEC 800517EC 0440000E */ bltz $v0, .L80051828
/* 2CBF0 800517F0 320300FF */ andi $v1, $s0, 0xff
/* 2CBF4 800517F4 1060FF49 */ beqz $v1, .L8005151C
/* 2CBF8 800517F8 2C620078 */ sltiu $v0, $v1, 0x78
/* 2CBFC 800517FC 5440022C */ bnel $v0, $zero, .L800520B0
/* 2CC00 80051800 AEA30018 */ sw $v1, 0x18($s5)
/* 2CC04 80051804 0C014874 */ jal func_800521D0
/* 2CC08 80051808 02A0202D */ daddu $a0, $s5, $zero
/* 2CC0C 8005180C 32030007 */ andi $v1, $s0, 7
/* 2CC10 80051810 00031A00 */ sll $v1, $v1, 8
/* 2CC14 80051814 304200FF */ andi $v0, $v0, 0xff
/* 2CC18 80051818 00621821 */ addu $v1, $v1, $v0
/* 2CC1C 8005181C 24630078 */ addiu $v1, $v1, 0x78
/* 2CC20 80051820 0801482C */ j .L800520B0
/* 2CC24 80051824 AEA30018 */ sw $v1, 0x18($s5)
.L80051828:
/* 2CC28 80051828 0C014874 */ jal func_800521D0
/* 2CC2C 8005182C 02A0202D */ daddu $a0, $s5, $zero
/* 2CC30 80051830 3216000F */ andi $s6, $s0, 0xf
/* 2CC34 80051834 00161880 */ sll $v1, $s6, 2
/* 2CC38 80051838 00761821 */ addu $v1, $v1, $s6
/* 2CC3C 8005183C 000318C0 */ sll $v1, $v1, 3
/* 2CC40 80051840 24630044 */ addiu $v1, $v1, 0x44
/* 2CC44 80051844 02A39821 */ addu $s3, $s5, $v1
/* 2CC48 80051848 0040B82D */ daddu $s7, $v0, $zero
/* 2CC4C 8005184C 320300F0 */ andi $v1, $s0, 0xf0
/* 2CC50 80051850 240200B0 */ addiu $v0, $zero, 0xb0
/* 2CC54 80051854 1062018E */ beq $v1, $v0, .L80051E90
/* 2CC58 80051858 286200B1 */ slti $v0, $v1, 0xb1
/* 2CC5C 8005185C 1040000E */ beqz $v0, .L80051898
/* 2CC60 80051860 24020090 */ addiu $v0, $zero, 0x90
/* 2CC64 80051864 10620047 */ beq $v1, $v0, .L80051984
/* 2CC68 80051868 28620091 */ slti $v0, $v1, 0x91
/* 2CC6C 8005186C 10400005 */ beqz $v0, .L80051884
/* 2CC70 80051870 24020080 */ addiu $v0, $zero, 0x80
/* 2CC74 80051874 10620011 */ beq $v1, $v0, .L800518BC
/* 2CC78 80051878 00000000 */ nop
/* 2CC7C 8005187C 0801482C */ j .L800520B0
/* 2CC80 80051880 00000000 */ nop
.L80051884:
/* 2CC84 80051884 240200A0 */ addiu $v0, $zero, 0xa0
/* 2CC88 80051888 10620111 */ beq $v1, $v0, .L80051CD0
/* 2CC8C 8005188C 32E20080 */ andi $v0, $s7, 0x80
/* 2CC90 80051890 0801482C */ j .L800520B0
/* 2CC94 80051894 00000000 */ nop
.L80051898:
/* 2CC98 80051898 240200E0 */ addiu $v0, $zero, 0xe0
/* 2CC9C 8005189C 106201C8 */ beq $v1, $v0, .L80051FC0
/* 2CCA0 800518A0 286200E1 */ slti $v0, $v1, 0xe1
/* 2CCA4 800518A4 10400202 */ beqz $v0, .L800520B0
/* 2CCA8 800518A8 240200C0 */ addiu $v0, $zero, 0xc0
/* 2CCAC 800518AC 106201B7 */ beq $v1, $v0, .L80051F8C
/* 2CCB0 800518B0 00000000 */ nop
/* 2CCB4 800518B4 0801482C */ j .L800520B0
/* 2CCB8 800518B8 00000000 */ nop
.L800518BC:
/* 2CCBC 800518BC 92A20025 */ lbu $v0, 0x25($s5)
/* 2CCC0 800518C0 144001FB */ bnez $v0, .L800520B0
/* 2CCC4 800518C4 00161400 */ sll $v0, $s6, 0x10
/* 2CCC8 800518C8 8EB00030 */ lw $s0, 0x30($s5)
/* 2CCCC 800518CC 8EA40014 */ lw $a0, 0x14($s5)
/* 2CCD0 800518D0 8EA30034 */ lw $v1, 0x34($s5)
/* 2CCD4 800518D4 00822021 */ addu $a0, $a0, $v0
/* 2CCD8 800518D8 32E200FF */ andi $v0, $s7, 0xff
/* 2CCDC 800518DC 00021200 */ sll $v0, $v0, 8
/* 2CCE0 800518E0 0203182B */ sltu $v1, $s0, $v1
/* 2CCE4 800518E4 106001F2 */ beqz $v1, .L800520B0
/* 2CCE8 800518E8 0082B821 */ addu $s7, $a0, $v0
/* 2CCEC 800518EC 001010C0 */ sll $v0, $s0, 3
/* 2CCF0 800518F0 00501021 */ addu $v0, $v0, $s0
/* 2CCF4 800518F4 000210C0 */ sll $v0, $v0, 3
/* 2CCF8 800518F8 24441320 */ addiu $a0, $v0, 0x1320
.L800518FC:
/* 2CCFC 800518FC 8EA20030 */ lw $v0, 0x30($s5)
/* 2CD00 80051900 8FA80070 */ lw $t0, 0x70($sp)
/* 2CD04 80051904 02021023 */ subu $v0, $s0, $v0
/* 2CD08 80051908 000210C0 */ sll $v0, $v0, 3
/* 2CD0C 8005190C 01021821 */ addu $v1, $t0, $v0
/* 2CD10 80051910 8C6207B4 */ lw $v0, 0x7b4($v1)
/* 2CD14 80051914 1457000C */ bne $v0, $s7, .L80051948
/* 2CD18 80051918 00000000 */ nop
/* 2CD1C 8005191C 8FA80030 */ lw $t0, 0x30($sp)
/* 2CD20 80051920 A07E07B7 */ sb $fp, 0x7b7($v1)
/* 2CD24 80051924 01048821 */ addu $s1, $t0, $a0
/* 2CD28 80051928 8FA80070 */ lw $t0, 0x70($sp)
/* 2CD2C 8005192C 92230045 */ lbu $v1, 0x45($s1)
/* 2CD30 80051930 91020022 */ lbu $v0, 0x22($t0)
/* 2CD34 80051934 14620004 */ bne $v1, $v0, .L80051948
/* 2CD38 80051938 00000000 */ nop
/* 2CD3C 8005193C 9222003D */ lbu $v0, 0x3d($s1)
/* 2CD40 80051940 34420010 */ ori $v0, $v0, 0x10
/* 2CD44 80051944 A222003D */ sb $v0, 0x3d($s1)
.L80051948:
/* 2CD48 80051948 8EA20034 */ lw $v0, 0x34($s5)
/* 2CD4C 8005194C 26100001 */ addiu $s0, $s0, 1
/* 2CD50 80051950 0202102B */ sltu $v0, $s0, $v0
/* 2CD54 80051954 1440FFE9 */ bnez $v0, .L800518FC
/* 2CD58 80051958 24840048 */ addiu $a0, $a0, 0x48
/* 2CD5C 8005195C 0801482C */ j .L800520B0
/* 2CD60 80051960 00000000 */ nop
.L80051964:
/* 2CD64 80051964 0C014E31 */ jal func_800538C4
/* 2CD68 80051968 320500FF */ andi $a1, $s0, 0xff
/* 2CD6C 8005196C 0801468F */ j .L80051A3C
/* 2CD70 80051970 00000000 */ nop
.L80051974:
/* 2CD74 80051974 0C014E31 */ jal func_800538C4
/* 2CD78 80051978 320500FF */ andi $a1, $s0, 0xff
/* 2CD7C 8005197C 080146A8 */ j .L80051AA0
/* 2CD80 80051980 00000000 */ nop
.L80051984:
/* 2CD84 80051984 0C014874 */ jal func_800521D0
/* 2CD88 80051988 02A0202D */ daddu $a0, $s5, $zero
/* 2CD8C 8005198C 92A30025 */ lbu $v1, 0x25($s5)
/* 2CD90 80051990 146001C7 */ bnez $v1, .L800520B0
/* 2CD94 80051994 0040A02D */ daddu $s4, $v0, $zero
/* 2CD98 80051998 8EB00030 */ lw $s0, 0x30($s5)
/* 2CD9C 8005199C 8EA40034 */ lw $a0, 0x34($s5)
/* 2CDA0 800519A0 0204102B */ sltu $v0, $s0, $a0
/* 2CDA4 800519A4 10400012 */ beqz $v0, .L800519F0
/* 2CDA8 800519A8 001010C0 */ sll $v0, $s0, 3
/* 2CDAC 800519AC 00501021 */ addu $v0, $v0, $s0
/* 2CDB0 800519B0 000210C0 */ sll $v0, $v0, 3
/* 2CDB4 800519B4 24431320 */ addiu $v1, $v0, 0x1320
/* 2CDB8 800519B8 8FA80030 */ lw $t0, 0x30($sp)
.L800519BC:
/* 2CDBC 800519BC 01038821 */ addu $s1, $t0, $v1
/* 2CDC0 800519C0 92220045 */ lbu $v0, 0x45($s1)
/* 2CDC4 800519C4 10400005 */ beqz $v0, .L800519DC
/* 2CDC8 800519C8 00000000 */ nop
/* 2CDCC 800519CC 26100001 */ addiu $s0, $s0, 1
/* 2CDD0 800519D0 0204102B */ sltu $v0, $s0, $a0
/* 2CDD4 800519D4 1440FFF9 */ bnez $v0, .L800519BC
/* 2CDD8 800519D8 24630048 */ addiu $v1, $v1, 0x48
.L800519DC:
/* 2CDDC 800519DC 8EA20034 */ lw $v0, 0x34($s5)
/* 2CDE0 800519E0 0202102B */ sltu $v0, $s0, $v0
/* 2CDE4 800519E4 14400032 */ bnez $v0, .L80051AB0
/* 2CDE8 800519E8 00000000 */ nop
/* 2CDEC 800519EC 8EB00030 */ lw $s0, 0x30($s5)
.L800519F0:
/* 2CDF0 800519F0 8EA30034 */ lw $v1, 0x34($s5)
/* 2CDF4 800519F4 0203102B */ sltu $v0, $s0, $v1
/* 2CDF8 800519F8 10400014 */ beqz $v0, .L80051A4C
/* 2CDFC 800519FC 001010C0 */ sll $v0, $s0, 3
/* 2CE00 80051A00 0060202D */ daddu $a0, $v1, $zero
/* 2CE04 80051A04 00501021 */ addu $v0, $v0, $s0
/* 2CE08 80051A08 000210C0 */ sll $v0, $v0, 3
/* 2CE0C 80051A0C 8FA80070 */ lw $t0, 0x70($sp)
/* 2CE10 80051A10 24431320 */ addiu $v1, $v0, 0x1320
/* 2CE14 80051A14 91050022 */ lbu $a1, 0x22($t0)
/* 2CE18 80051A18 8FA80030 */ lw $t0, 0x30($sp)
.L80051A1C:
/* 2CE1C 80051A1C 01038821 */ addu $s1, $t0, $v1
/* 2CE20 80051A20 92220045 */ lbu $v0, 0x45($s1)
/* 2CE24 80051A24 5045FFCF */ beql $v0, $a1, .L80051964
/* 2CE28 80051A28 0220202D */ daddu $a0, $s1, $zero
/* 2CE2C 80051A2C 26100001 */ addiu $s0, $s0, 1
/* 2CE30 80051A30 0204102B */ sltu $v0, $s0, $a0
/* 2CE34 80051A34 1440FFF9 */ bnez $v0, .L80051A1C
/* 2CE38 80051A38 24630048 */ addiu $v1, $v1, 0x48
.L80051A3C:
/* 2CE3C 80051A3C 8EA20034 */ lw $v0, 0x34($s5)
/* 2CE40 80051A40 0202102B */ sltu $v0, $s0, $v0
/* 2CE44 80051A44 1440001A */ bnez $v0, .L80051AB0
/* 2CE48 80051A48 00000000 */ nop
.L80051A4C:
/* 2CE4C 80051A4C 8EB00030 */ lw $s0, 0x30($s5)
/* 2CE50 80051A50 8EA30034 */ lw $v1, 0x34($s5)
/* 2CE54 80051A54 0203102B */ sltu $v0, $s0, $v1
/* 2CE58 80051A58 10400195 */ beqz $v0, .L800520B0
/* 2CE5C 80051A5C 001010C0 */ sll $v0, $s0, 3
/* 2CE60 80051A60 0060202D */ daddu $a0, $v1, $zero
/* 2CE64 80051A64 00501021 */ addu $v0, $v0, $s0
/* 2CE68 80051A68 000210C0 */ sll $v0, $v0, 3
/* 2CE6C 80051A6C 8FA80070 */ lw $t0, 0x70($sp)
/* 2CE70 80051A70 24431320 */ addiu $v1, $v0, 0x1320
/* 2CE74 80051A74 91050022 */ lbu $a1, 0x22($t0)
/* 2CE78 80051A78 8FA80030 */ lw $t0, 0x30($sp)
.L80051A7C:
/* 2CE7C 80051A7C 01038821 */ addu $s1, $t0, $v1
/* 2CE80 80051A80 92220045 */ lbu $v0, 0x45($s1)
/* 2CE84 80051A84 0045102B */ sltu $v0, $v0, $a1
/* 2CE88 80051A88 5440FFBA */ bnel $v0, $zero, .L80051974
/* 2CE8C 80051A8C 0220202D */ daddu $a0, $s1, $zero
/* 2CE90 80051A90 26100001 */ addiu $s0, $s0, 1
/* 2CE94 80051A94 0204102B */ sltu $v0, $s0, $a0
/* 2CE98 80051A98 1440FFF8 */ bnez $v0, .L80051A7C
/* 2CE9C 80051A9C 24630048 */ addiu $v1, $v1, 0x48
.L80051AA0:
/* 2CEA0 80051AA0 8EA20034 */ lw $v0, 0x34($s5)
/* 2CEA4 80051AA4 0202102B */ sltu $v0, $s0, $v0
/* 2CEA8 80051AA8 10400181 */ beqz $v0, .L800520B0
/* 2CEAC 80051AAC 00000000 */ nop
.L80051AB0:
/* 2CEB0 80051AB0 8EA20030 */ lw $v0, 0x30($s5)
/* 2CEB4 80051AB4 8FA80040 */ lw $t0, 0x40($sp)
/* 2CEB8 80051AB8 02021023 */ subu $v0, $s0, $v0
/* 2CEBC 80051ABC 01021021 */ addu $v0, $t0, $v0
/* 2CEC0 80051AC0 A05E0000 */ sb $fp, ($v0)
/* 2CEC4 80051AC4 8EA20030 */ lw $v0, 0x30($s5)
/* 2CEC8 80051AC8 8FA8003C */ lw $t0, 0x3c($sp)
/* 2CECC 80051ACC 02021023 */ subu $v0, $s0, $v0
/* 2CED0 80051AD0 01021021 */ addu $v0, $t0, $v0
/* 2CED4 80051AD4 A05E0000 */ sb $fp, ($v0)
/* 2CED8 80051AD8 8EA20030 */ lw $v0, 0x30($s5)
/* 2CEDC 80051ADC 8FA80070 */ lw $t0, 0x70($sp)
/* 2CEE0 80051AE0 8EA30014 */ lw $v1, 0x14($s5)
/* 2CEE4 80051AE4 02021023 */ subu $v0, $s0, $v0
/* 2CEE8 80051AE8 000210C0 */ sll $v0, $v0, 3
/* 2CEEC 80051AEC 244207B4 */ addiu $v0, $v0, 0x7b4
/* 2CEF0 80051AF0 01029021 */ addu $s2, $t0, $v0
/* 2CEF4 80051AF4 00161400 */ sll $v0, $s6, 0x10
/* 2CEF8 80051AF8 00621821 */ addu $v1, $v1, $v0
/* 2CEFC 80051AFC 32E200FF */ andi $v0, $s7, 0xff
/* 2CF00 80051B00 00021200 */ sll $v0, $v0, 8
/* 2CF04 80051B04 00621821 */ addu $v1, $v1, $v0
/* 2CF08 80051B08 AE430000 */ sw $v1, ($s2)
/* 2CF0C 80051B0C 92620026 */ lbu $v0, 0x26($s3)
/* 2CF10 80051B10 30420001 */ andi $v0, $v0, 1
/* 2CF14 80051B14 50400002 */ beql $v0, $zero, .L80051B20
/* 2CF18 80051B18 A2400007 */ sb $zero, 7($s2)
/* 2CF1C 80051B1C A25E0007 */ sb $fp, 7($s2)
.L80051B20:
/* 2CF20 80051B20 24080009 */ addiu $t0, $zero, 9
/* 2CF24 80051B24 12C80033 */ beq $s6, $t0, .L80051BF4
/* 2CF28 80051B28 32E3007F */ andi $v1, $s7, 0x7f
/* 2CF2C 80051B2C 92620026 */ lbu $v0, 0x26($s3)
/* 2CF30 80051B30 30420001 */ andi $v0, $v0, 1
/* 2CF34 80051B34 50400002 */ beql $v0, $zero, .L80051B40
/* 2CF38 80051B38 A2400007 */ sb $zero, 7($s2)
/* 2CF3C 80051B3C A25E0007 */ sb $fp, 7($s2)
.L80051B40:
/* 2CF40 80051B40 3284007F */ andi $a0, $s4, 0x7f
/* 2CF44 80051B44 8E620000 */ lw $v0, ($s3)
/* 2CF48 80051B48 32E3007F */ andi $v1, $s7, 0x7f
/* 2CF4C 80051B4C 9445001E */ lhu $a1, 0x1e($v0)
/* 2CF50 80051B50 00031040 */ sll $v0, $v1, 1
/* 2CF54 80051B54 00431021 */ addu $v0, $v0, $v1
/* 2CF58 80051B58 000210C0 */ sll $v0, $v0, 3
/* 2CF5C 80051B5C 00431021 */ addu $v0, $v0, $v1
/* 2CF60 80051B60 00021080 */ sll $v0, $v0, 2
/* 2CF64 80051B64 A2440006 */ sb $a0, 6($s2)
/* 2CF68 80051B68 00451023 */ subu $v0, $v0, $a1
/* 2CF6C 80051B6C A6420004 */ sh $v0, 4($s2)
/* 2CF70 80051B70 82A30038 */ lb $v1, 0x38($s5)
/* 2CF74 80051B74 86620018 */ lh $v0, 0x18($s3)
/* 2CF78 80051B78 00620018 */ mult $v1, $v0
/* 2CF7C 80051B7C 00004012 */ mflo $t0
/* 2CF80 80051B80 00000000 */ nop
/* 2CF84 80051B84 00000000 */ nop
/* 2CF88 80051B88 01040018 */ mult $t0, $a0
/* 2CF8C 80051B8C 00004012 */ mflo $t0
/* 2CF90 80051B90 00081383 */ sra $v0, $t0, 0xe
/* 2CF94 80051B94 A6220040 */ sh $v0, 0x40($s1)
/* 2CF98 80051B98 86420004 */ lh $v0, 4($s2)
/* 2CF9C 80051B9C 8664000C */ lh $a0, 0xc($s3)
/* 2CFA0 80051BA0 0C014E3E */ jal func_800538F8
/* 2CFA4 80051BA4 00442021 */ addu $a0, $v0, $a0
/* 2CFA8 80051BA8 8E620000 */ lw $v0, ($s3)
/* 2CFAC 80051BAC C4420020 */ lwc1 $f2, 0x20($v0)
/* 2CFB0 80051BB0 46020002 */ mul.s $f0, $f0, $f2
/* 2CFB4 80051BB4 00000000 */ nop
/* 2CFB8 80051BB8 E6200004 */ swc1 $f0, 4($s1)
/* 2CFBC 80051BBC 92620024 */ lbu $v0, 0x24($s3)
/* 2CFC0 80051BC0 A222000E */ sb $v0, 0xe($s1)
/* 2CFC4 80051BC4 92620025 */ lbu $v0, 0x25($s3)
/* 2CFC8 80051BC8 A222000F */ sb $v0, 0xf($s1)
/* 2CFCC 80051BCC 8E620000 */ lw $v0, ($s3)
/* 2CFD0 80051BD0 AE220000 */ sw $v0, ($s1)
/* 2CFD4 80051BD4 8FA80070 */ lw $t0, 0x70($sp)
/* 2CFD8 80051BD8 91020023 */ lbu $v0, 0x23($t0)
/* 2CFDC 80051BDC A2220010 */ sb $v0, 0x10($s1)
/* 2CFE0 80051BE0 8E620004 */ lw $v0, 4($s3)
/* 2CFE4 80051BE4 AE220014 */ sw $v0, 0x14($s1)
/* 2CFE8 80051BE8 8E620008 */ lw $v0, 8($s3)
/* 2CFEC 80051BEC 0801472D */ j .L80051CB4
/* 2CFF0 80051BF0 AE220018 */ sw $v0, 0x18($s1)
.L80051BF4:
/* 2CFF4 80051BF4 A2400007 */ sb $zero, 7($s2)
/* 2CFF8 80051BF8 8FA80070 */ lw $t0, 0x70($sp)
/* 2CFFC 80051BFC 00031040 */ sll $v0, $v1, 1
/* 2D000 80051C00 8D040000 */ lw $a0, ($t0)
/* 2D004 80051C04 00431021 */ addu $v0, $v0, $v1
/* 2D008 80051C08 8C900054 */ lw $s0, 0x54($a0)
/* 2D00C 80051C0C 00021080 */ sll $v0, $v0, 2
/* 2D010 80051C10 02028021 */ addu $s0, $s0, $v0
/* 2D014 80051C14 96060000 */ lhu $a2, ($s0)
/* 2D018 80051C18 26270014 */ addiu $a3, $s1, 0x14
/* 2D01C 80051C1C 00062A02 */ srl $a1, $a2, 8
/* 2D020 80051C20 0C014EFA */ jal func_80053BE8
/* 2D024 80051C24 30C600FF */ andi $a2, $a2, 0xff
/* 2D028 80051C28 AE220000 */ sw $v0, ($s1)
/* 2D02C 80051C2C 96030002 */ lhu $v1, 2($s0)
/* 2D030 80051C30 9442001E */ lhu $v0, 0x1e($v0)
/* 2D034 80051C34 00621823 */ subu $v1, $v1, $v0
/* 2D038 80051C38 A6430004 */ sh $v1, 4($s2)
/* 2D03C 80051C3C 92030004 */ lbu $v1, 4($s0)
/* 2D040 80051C40 3282007F */ andi $v0, $s4, 0x7f
/* 2D044 80051C44 00430018 */ mult $v0, $v1
/* 2D048 80051C48 00004012 */ mflo $t0
/* 2D04C 80051C4C 000819C3 */ sra $v1, $t0, 7
/* 2D050 80051C50 A2430006 */ sb $v1, 6($s2)
/* 2D054 80051C54 82A40038 */ lb $a0, 0x38($s5)
/* 2D058 80051C58 86620018 */ lh $v0, 0x18($s3)
/* 2D05C 80051C5C 00820018 */ mult $a0, $v0
/* 2D060 80051C60 00004012 */ mflo $t0
/* 2D064 80051C64 00031E00 */ sll $v1, $v1, 0x18
/* 2D068 80051C68 00031E03 */ sra $v1, $v1, 0x18
/* 2D06C 80051C6C 01030018 */ mult $t0, $v1
/* 2D070 80051C70 00004012 */ mflo $t0
/* 2D074 80051C74 00081383 */ sra $v0, $t0, 0xe
/* 2D078 80051C78 A6220040 */ sh $v0, 0x40($s1)
/* 2D07C 80051C7C 0C014E3E */ jal func_800538F8
/* 2D080 80051C80 86440004 */ lh $a0, 4($s2)
/* 2D084 80051C84 8E220000 */ lw $v0, ($s1)
/* 2D088 80051C88 C4420020 */ lwc1 $f2, 0x20($v0)
/* 2D08C 80051C8C 46020002 */ mul.s $f0, $f0, $f2
/* 2D090 80051C90 00000000 */ nop
/* 2D094 80051C94 E6200004 */ swc1 $f0, 4($s1)
/* 2D098 80051C98 92020005 */ lbu $v0, 5($s0)
/* 2D09C 80051C9C A222000E */ sb $v0, 0xe($s1)
/* 2D0A0 80051CA0 92020006 */ lbu $v0, 6($s0)
/* 2D0A4 80051CA4 A222000F */ sb $v0, 0xf($s1)
/* 2D0A8 80051CA8 8FA80070 */ lw $t0, 0x70($sp)
/* 2D0AC 80051CAC 91020023 */ lbu $v0, 0x23($t0)
/* 2D0B0 80051CB0 A2220010 */ sb $v0, 0x10($s1)
.L80051CB4:
/* 2D0B4 80051CB4 24020002 */ addiu $v0, $zero, 2
/* 2D0B8 80051CB8 A2220043 */ sb $v0, 0x43($s1)
/* 2D0BC 80051CBC 8FA80070 */ lw $t0, 0x70($sp)
/* 2D0C0 80051CC0 91020022 */ lbu $v0, 0x22($t0)
/* 2D0C4 80051CC4 A2220045 */ sb $v0, 0x45($s1)
/* 2D0C8 80051CC8 0801482C */ j .L800520B0
/* 2D0CC 80051CCC A2220044 */ sb $v0, 0x44($s1)
.L80051CD0:
/* 2D0D0 80051CD0 1040002C */ beqz $v0, .L80051D84
/* 2D0D4 80051CD4 32E2007F */ andi $v0, $s7, 0x7f
/* 2D0D8 80051CD8 00162400 */ sll $a0, $s6, 0x10
/* 2D0DC 80051CDC A2620024 */ sb $v0, 0x24($s3)
/* 2D0E0 80051CE0 8EB00030 */ lw $s0, 0x30($s5)
/* 2D0E4 80051CE4 8EA30014 */ lw $v1, 0x14($s5)
/* 2D0E8 80051CE8 8EA20034 */ lw $v0, 0x34($s5)
/* 2D0EC 80051CEC 0202102B */ sltu $v0, $s0, $v0
/* 2D0F0 80051CF0 104000EF */ beqz $v0, .L800520B0
/* 2D0F4 80051CF4 0064B821 */ addu $s7, $v1, $a0
/* 2D0F8 80051CF8 001010C0 */ sll $v0, $s0, 3
/* 2D0FC 80051CFC 00501021 */ addu $v0, $v0, $s0
/* 2D100 80051D00 000210C0 */ sll $v0, $v0, 3
/* 2D104 80051D04 24441320 */ addiu $a0, $v0, 0x1320
.L80051D08:
/* 2D108 80051D08 8EA20030 */ lw $v0, 0x30($s5)
/* 2D10C 80051D0C 8FA80070 */ lw $t0, 0x70($sp)
/* 2D110 80051D10 02021023 */ subu $v0, $s0, $v0
/* 2D114 80051D14 000210C0 */ sll $v0, $v0, 3
/* 2D118 80051D18 00489021 */ addu $s2, $v0, $t0
/* 2D11C 80051D1C 8E4207B4 */ lw $v0, 0x7b4($s2)
/* 2D120 80051D20 3C08FFFF */ lui $t0, 0xffff
/* 2D124 80051D24 00481024 */ and $v0, $v0, $t0
/* 2D128 80051D28 1457000F */ bne $v0, $s7, .L80051D68
/* 2D12C 80051D2C 00000000 */ nop
/* 2D130 80051D30 8FA80030 */ lw $t0, 0x30($sp)
/* 2D134 80051D34 01048821 */ addu $s1, $t0, $a0
/* 2D138 80051D38 8FA80070 */ lw $t0, 0x70($sp)
/* 2D13C 80051D3C 92230045 */ lbu $v1, 0x45($s1)
/* 2D140 80051D40 91020022 */ lbu $v0, 0x22($t0)
/* 2D144 80051D44 14620008 */ bne $v1, $v0, .L80051D68
/* 2D148 80051D48 24080009 */ addiu $t0, $zero, 9
/* 2D14C 80051D4C 12C80006 */ beq $s6, $t0, .L80051D68
/* 2D150 80051D50 00000000 */ nop
/* 2D154 80051D54 92220043 */ lbu $v0, 0x43($s1)
/* 2D158 80051D58 92630024 */ lbu $v1, 0x24($s3)
/* 2D15C 80051D5C 34420010 */ ori $v0, $v0, 0x10
/* 2D160 80051D60 A223000E */ sb $v1, 0xe($s1)
/* 2D164 80051D64 A2220043 */ sb $v0, 0x43($s1)
.L80051D68:
/* 2D168 80051D68 8EA20034 */ lw $v0, 0x34($s5)
/* 2D16C 80051D6C 26100001 */ addiu $s0, $s0, 1
/* 2D170 80051D70 0202102B */ sltu $v0, $s0, $v0
/* 2D174 80051D74 1440FFE4 */ bnez $v0, .L80051D08
/* 2D178 80051D78 24840048 */ addiu $a0, $a0, 0x48
/* 2D17C 80051D7C 0801482C */ j .L800520B0
/* 2D180 80051D80 00000000 */ nop
.L80051D84:
/* 2D184 80051D84 00171E00 */ sll $v1, $s7, 0x18
/* 2D188 80051D88 10600005 */ beqz $v1, .L80051DA0
/* 2D18C 80051D8C AE630018 */ sw $v1, 0x18($s3)
/* 2D190 80051D90 3C0200FF */ lui $v0, 0xff
/* 2D194 80051D94 3442FFFF */ ori $v0, $v0, 0xffff
/* 2D198 80051D98 00621025 */ or $v0, $v1, $v0
/* 2D19C 80051D9C AE620018 */ sw $v0, 0x18($s3)
.L80051DA0:
/* 2D1A0 80051DA0 00162400 */ sll $a0, $s6, 0x10
/* 2D1A4 80051DA4 8EB00030 */ lw $s0, 0x30($s5)
/* 2D1A8 80051DA8 8EA30014 */ lw $v1, 0x14($s5)
/* 2D1AC 80051DAC 8EA20034 */ lw $v0, 0x34($s5)
/* 2D1B0 80051DB0 0202102B */ sltu $v0, $s0, $v0
/* 2D1B4 80051DB4 104000BE */ beqz $v0, .L800520B0
/* 2D1B8 80051DB8 0064B821 */ addu $s7, $v1, $a0
/* 2D1BC 80051DBC 001010C0 */ sll $v0, $s0, 3
/* 2D1C0 80051DC0 00501021 */ addu $v0, $v0, $s0
/* 2D1C4 80051DC4 000210C0 */ sll $v0, $v0, 3
/* 2D1C8 80051DC8 24441320 */ addiu $a0, $v0, 0x1320
.L80051DCC:
/* 2D1CC 80051DCC 8EA20030 */ lw $v0, 0x30($s5)
/* 2D1D0 80051DD0 8FA80070 */ lw $t0, 0x70($sp)
/* 2D1D4 80051DD4 02021023 */ subu $v0, $s0, $v0
/* 2D1D8 80051DD8 000210C0 */ sll $v0, $v0, 3
/* 2D1DC 80051DDC 244207B4 */ addiu $v0, $v0, 0x7b4
/* 2D1E0 80051DE0 01029021 */ addu $s2, $t0, $v0
/* 2D1E4 80051DE4 8E420000 */ lw $v0, ($s2)
/* 2D1E8 80051DE8 3C08FFFF */ lui $t0, 0xffff
/* 2D1EC 80051DEC 00481024 */ and $v0, $v0, $t0
/* 2D1F0 80051DF0 14570020 */ bne $v0, $s7, .L80051E74
/* 2D1F4 80051DF4 00000000 */ nop
/* 2D1F8 80051DF8 8FA80030 */ lw $t0, 0x30($sp)
/* 2D1FC 80051DFC 01048821 */ addu $s1, $t0, $a0
/* 2D200 80051E00 8FA80070 */ lw $t0, 0x70($sp)
/* 2D204 80051E04 92230045 */ lbu $v1, 0x45($s1)
/* 2D208 80051E08 91020022 */ lbu $v0, 0x22($t0)
/* 2D20C 80051E0C 14620019 */ bne $v1, $v0, .L80051E74
/* 2D210 80051E10 00000000 */ nop
/* 2D214 80051E14 82A30038 */ lb $v1, 0x38($s5)
/* 2D218 80051E18 86620018 */ lh $v0, 0x18($s3)
/* 2D21C 80051E1C 00620018 */ mult $v1, $v0
/* 2D220 80051E20 00004012 */ mflo $t0
/* 2D224 80051E24 82420006 */ lb $v0, 6($s2)
/* 2D228 80051E28 00000000 */ nop
/* 2D22C 80051E2C 01020018 */ mult $t0, $v0
/* 2D230 80051E30 00004012 */ mflo $t0
/* 2D234 80051E34 00081383 */ sra $v0, $t0, 0xe
/* 2D238 80051E38 A6220040 */ sh $v0, 0x40($s1)
/* 2D23C 80051E3C 8EA20030 */ lw $v0, 0x30($s5)
/* 2D240 80051E40 8FA80040 */ lw $t0, 0x40($sp)
/* 2D244 80051E44 02021023 */ subu $v0, $s0, $v0
/* 2D248 80051E48 01021021 */ addu $v0, $t0, $v0
/* 2D24C 80051E4C 90420000 */ lbu $v0, ($v0)
/* 2D250 80051E50 14400008 */ bnez $v0, .L80051E74
/* 2D254 80051E54 00000000 */ nop
/* 2D258 80051E58 9222003D */ lbu $v0, 0x3d($s1)
/* 2D25C 80051E5C 34420020 */ ori $v0, $v0, 0x20
/* 2D260 80051E60 A222003D */ sb $v0, 0x3d($s1)
/* 2D264 80051E64 8EA20030 */ lw $v0, 0x30($s5)
/* 2D268 80051E68 02021023 */ subu $v0, $s0, $v0
/* 2D26C 80051E6C 01021021 */ addu $v0, $t0, $v0
/* 2D270 80051E70 A05E0000 */ sb $fp, ($v0)
.L80051E74:
/* 2D274 80051E74 8EA20034 */ lw $v0, 0x34($s5)
/* 2D278 80051E78 26100001 */ addiu $s0, $s0, 1
/* 2D27C 80051E7C 0202102B */ sltu $v0, $s0, $v0
/* 2D280 80051E80 1440FFD2 */ bnez $v0, .L80051DCC
/* 2D284 80051E84 24840048 */ addiu $a0, $a0, 0x48
/* 2D288 80051E88 0801482C */ j .L800520B0
/* 2D28C 80051E8C 00000000 */ nop
.L80051E90:
/* 2D290 80051E90 0C014874 */ jal func_800521D0
/* 2D294 80051E94 02A0202D */ daddu $a0, $s5, $zero
/* 2D298 80051E98 0040A02D */ daddu $s4, $v0, $zero
/* 2D29C 80051E9C 32E300FF */ andi $v1, $s7, 0xff
/* 2D2A0 80051EA0 24020067 */ addiu $v0, $zero, 0x67
/* 2D2A4 80051EA4 10620013 */ beq $v1, $v0, .L80051EF4
/* 2D2A8 80051EA8 28620068 */ slti $v0, $v1, 0x68
/* 2D2AC 80051EAC 10400005 */ beqz $v0, .L80051EC4
/* 2D2B0 80051EB0 24020066 */ addiu $v0, $zero, 0x66
/* 2D2B4 80051EB4 1062000A */ beq $v1, $v0, .L80051EE0
/* 2D2B8 80051EB8 32820001 */ andi $v0, $s4, 1
/* 2D2BC 80051EBC 0801482C */ j .L800520B0
/* 2D2C0 80051EC0 00000000 */ nop
.L80051EC4:
/* 2D2C4 80051EC4 24020068 */ addiu $v0, $zero, 0x68
/* 2D2C8 80051EC8 10620027 */ beq $v1, $v0, .L80051F68
/* 2D2CC 80051ECC 24020069 */ addiu $v0, $zero, 0x69
/* 2D2D0 80051ED0 10620027 */ beq $v1, $v0, .L80051F70
/* 2D2D4 80051ED4 328300FF */ andi $v1, $s4, 0xff
/* 2D2D8 80051ED8 0801482C */ j .L800520B0
/* 2D2DC 80051EDC 00000000 */ nop
.L80051EE0:
/* 2D2E0 80051EE0 00021080 */ sll $v0, $v0, 2
/* 2D2E4 80051EE4 8EA30008 */ lw $v1, 8($s5)
/* 2D2E8 80051EE8 02A21021 */ addu $v0, $s5, $v0
/* 2D2EC 80051EEC 0801482C */ j .L800520B0
/* 2D2F0 80051EF0 AC43000C */ sw $v1, 0xc($v0)
.L80051EF4:
/* 2D2F4 80051EF4 3282007C */ andi $v0, $s4, 0x7c
/* 2D2F8 80051EF8 00022882 */ srl $a1, $v0, 2
/* 2D2FC 80051EFC 10A00013 */ beqz $a1, .L80051F4C
/* 2D300 80051F00 32840001 */ andi $a0, $s4, 1
/* 2D304 80051F04 02A41821 */ addu $v1, $s5, $a0
/* 2D308 80051F08 9062002C */ lbu $v0, 0x2c($v1)
/* 2D30C 80051F0C 10400009 */ beqz $v0, .L80051F34
/* 2D310 80051F10 2442FFFF */ addiu $v0, $v0, -1
/* 2D314 80051F14 A062002C */ sb $v0, 0x2c($v1)
/* 2D318 80051F18 304200FF */ andi $v0, $v0, 0xff
/* 2D31C 80051F1C 10400064 */ beqz $v0, .L800520B0
/* 2D320 80051F20 00041080 */ sll $v0, $a0, 2
/* 2D324 80051F24 02A21021 */ addu $v0, $s5, $v0
/* 2D328 80051F28 8C42000C */ lw $v0, 0xc($v0)
/* 2D32C 80051F2C 0801482C */ j .L800520B0
/* 2D330 80051F30 AEA20008 */ sw $v0, 8($s5)
.L80051F34:
/* 2D334 80051F34 00041080 */ sll $v0, $a0, 2
/* 2D338 80051F38 02A21021 */ addu $v0, $s5, $v0
/* 2D33C 80051F3C 8C42000C */ lw $v0, 0xc($v0)
/* 2D340 80051F40 AEA20008 */ sw $v0, 8($s5)
/* 2D344 80051F44 0801482C */ j .L800520B0
/* 2D348 80051F48 A065002C */ sb $a1, 0x2c($v1)
.L80051F4C:
/* 2D34C 80051F4C 00041080 */ sll $v0, $a0, 2
/* 2D350 80051F50 02A21021 */ addu $v0, $s5, $v0
/* 2D354 80051F54 8C42000C */ lw $v0, 0xc($v0)
/* 2D358 80051F58 AEA20008 */ sw $v0, 8($s5)
/* 2D35C 80051F5C 02A41021 */ addu $v0, $s5, $a0
/* 2D360 80051F60 0801482C */ j .L800520B0
/* 2D364 80051F64 A040002C */ sb $zero, 0x2c($v0)
.L80051F68:
/* 2D368 80051F68 0801482C */ j .L800520B0
/* 2D36C 80051F6C A2740025 */ sb $s4, 0x25($s3)
.L80051F70:
/* 2D370 80051F70 24020001 */ addiu $v0, $zero, 1
/* 2D374 80051F74 1462004E */ bne $v1, $v0, .L800520B0
/* 2D378 80051F78 00000000 */ nop
/* 2D37C 80051F7C 92620026 */ lbu $v0, 0x26($s3)
/* 2D380 80051F80 34420001 */ ori $v0, $v0, 1
/* 2D384 80051F84 0801482C */ j .L800520B0
/* 2D388 80051F88 A2620026 */ sb $v0, 0x26($s3)
.L80051F8C:
/* 2D38C 80051F8C 0C014874 */ jal func_800521D0
/* 2D390 80051F90 02A0202D */ daddu $a0, $s5, $zero
/* 2D394 80051F94 24080009 */ addiu $t0, $zero, 9
/* 2D398 80051F98 12C80045 */ beq $s6, $t0, .L800520B0
/* 2D39C 80051F9C 0040A02D */ daddu $s4, $v0, $zero
/* 2D3A0 80051FA0 32E500FF */ andi $a1, $s7, 0xff
/* 2D3A4 80051FA4 8FA80070 */ lw $t0, 0x70($sp)
/* 2D3A8 80051FA8 328600FF */ andi $a2, $s4, 0xff
/* 2D3AC 80051FAC 8D040000 */ lw $a0, ($t0)
/* 2D3B0 80051FB0 0C014EFA */ jal func_80053BE8
/* 2D3B4 80051FB4 26670004 */ addiu $a3, $s3, 4
/* 2D3B8 80051FB8 0801482C */ j .L800520B0
/* 2D3BC 80051FBC AE620000 */ sw $v0, ($s3)
.L80051FC0:
/* 2D3C0 80051FC0 0C014874 */ jal func_800521D0
/* 2D3C4 80051FC4 02A0202D */ daddu $a0, $s5, $zero
/* 2D3C8 80051FC8 00171E00 */ sll $v1, $s7, 0x18
/* 2D3CC 80051FCC 304200FF */ andi $v0, $v0, 0xff
/* 2D3D0 80051FD0 00021400 */ sll $v0, $v0, 0x10
/* 2D3D4 80051FD4 00621821 */ addu $v1, $v1, $v0
/* 2D3D8 80051FD8 00162400 */ sll $a0, $s6, 0x10
/* 2D3DC 80051FDC AE63000C */ sw $v1, 0xc($s3)
/* 2D3E0 80051FE0 8EB00030 */ lw $s0, 0x30($s5)
/* 2D3E4 80051FE4 8EA30014 */ lw $v1, 0x14($s5)
/* 2D3E8 80051FE8 8EA20034 */ lw $v0, 0x34($s5)
/* 2D3EC 80051FEC 0202102B */ sltu $v0, $s0, $v0
/* 2D3F0 80051FF0 1040002F */ beqz $v0, .L800520B0
/* 2D3F4 80051FF4 0064B821 */ addu $s7, $v1, $a0
/* 2D3F8 80051FF8 001010C0 */ sll $v0, $s0, 3
/* 2D3FC 80051FFC 00501021 */ addu $v0, $v0, $s0
/* 2D400 80052000 000210C0 */ sll $v0, $v0, 3
/* 2D404 80052004 24541320 */ addiu $s4, $v0, 0x1320
.L80052008:
/* 2D408 80052008 8EA20030 */ lw $v0, 0x30($s5)
/* 2D40C 8005200C 8FA80070 */ lw $t0, 0x70($sp)
/* 2D410 80052010 02021023 */ subu $v0, $s0, $v0
/* 2D414 80052014 000210C0 */ sll $v0, $v0, 3
/* 2D418 80052018 244207B4 */ addiu $v0, $v0, 0x7b4
/* 2D41C 8005201C 01029021 */ addu $s2, $t0, $v0
/* 2D420 80052020 8E420000 */ lw $v0, ($s2)
/* 2D424 80052024 3C08FFFF */ lui $t0, 0xffff
/* 2D428 80052028 00481024 */ and $v0, $v0, $t0
/* 2D42C 8005202C 1457001B */ bne $v0, $s7, .L8005209C
/* 2D430 80052030 00000000 */ nop
/* 2D434 80052034 8FA80030 */ lw $t0, 0x30($sp)
/* 2D438 80052038 01148821 */ addu $s1, $t0, $s4
/* 2D43C 8005203C 8FA80070 */ lw $t0, 0x70($sp)
/* 2D440 80052040 92230045 */ lbu $v1, 0x45($s1)
/* 2D444 80052044 91020022 */ lbu $v0, 0x22($t0)
/* 2D448 80052048 14620014 */ bne $v1, $v0, .L8005209C
/* 2D44C 8005204C 24080009 */ addiu $t0, $zero, 9
/* 2D450 80052050 12C80012 */ beq $s6, $t0, .L8005209C
/* 2D454 80052054 00000000 */ nop
/* 2D458 80052058 86420004 */ lh $v0, 4($s2)
/* 2D45C 8005205C 8664000C */ lh $a0, 0xc($s3)
/* 2D460 80052060 0C014E3E */ jal func_800538F8
/* 2D464 80052064 00442021 */ addu $a0, $v0, $a0
/* 2D468 80052068 8E620000 */ lw $v0, ($s3)
/* 2D46C 8005206C C4420020 */ lwc1 $f2, 0x20($v0)
/* 2D470 80052070 46020002 */ mul.s $f0, $f0, $f2
/* 2D474 80052074 00000000 */ nop
/* 2D478 80052078 92220043 */ lbu $v0, 0x43($s1)
/* 2D47C 8005207C 34420008 */ ori $v0, $v0, 8
/* 2D480 80052080 A2220043 */ sb $v0, 0x43($s1)
/* 2D484 80052084 E6200004 */ swc1 $f0, 4($s1)
/* 2D488 80052088 8EA20030 */ lw $v0, 0x30($s5)
/* 2D48C 8005208C 8FA8003C */ lw $t0, 0x3c($sp)
/* 2D490 80052090 02021023 */ subu $v0, $s0, $v0
/* 2D494 80052094 01021021 */ addu $v0, $t0, $v0
/* 2D498 80052098 A05E0000 */ sb $fp, ($v0)
.L8005209C:
/* 2D49C 8005209C 8EA20034 */ lw $v0, 0x34($s5)
/* 2D4A0 800520A0 26100001 */ addiu $s0, $s0, 1
/* 2D4A4 800520A4 0202102B */ sltu $v0, $s0, $v0
/* 2D4A8 800520A8 1440FFD7 */ bnez $v0, .L80052008
/* 2D4AC 800520AC 26940048 */ addiu $s4, $s4, 0x48
.L800520B0:
/* 2D4B0 800520B0 8EA20018 */ lw $v0, 0x18($s5)
/* 2D4B4 800520B4 1040FDC9 */ beqz $v0, .L800517DC
/* 2D4B8 800520B8 00000000 */ nop
.L800520BC:
/* 2D4BC 800520BC 93A20034 */ lbu $v0, 0x34($sp)
/* 2D4C0 800520C0 10400037 */ beqz $v0, .L800521A0
/* 2D4C4 800520C4 00000000 */ nop
/* 2D4C8 800520C8 8EB00030 */ lw $s0, 0x30($s5)
/* 2D4CC 800520CC 8EA20034 */ lw $v0, 0x34($s5)
/* 2D4D0 800520D0 0202102B */ sltu $v0, $s0, $v0
/* 2D4D4 800520D4 10400032 */ beqz $v0, .L800521A0
/* 2D4D8 800520D8 001010C0 */ sll $v0, $s0, 3
/* 2D4DC 800520DC 3C07FF00 */ lui $a3, 0xff00
/* 2D4E0 800520E0 27A60010 */ addiu $a2, $sp, 0x10
/* 2D4E4 800520E4 00501021 */ addu $v0, $v0, $s0
/* 2D4E8 800520E8 000210C0 */ sll $v0, $v0, 3
/* 2D4EC 800520EC 24451320 */ addiu $a1, $v0, 0x1320
.L800520F0:
/* 2D4F0 800520F0 8EA20030 */ lw $v0, 0x30($s5)
/* 2D4F4 800520F4 8FA80070 */ lw $t0, 0x70($sp)
/* 2D4F8 800520F8 02022023 */ subu $a0, $s0, $v0
/* 2D4FC 800520FC 000410C0 */ sll $v0, $a0, 3
/* 2D500 80052100 244207B4 */ addiu $v0, $v0, 0x7b4
/* 2D504 80052104 01029021 */ addu $s2, $t0, $v0
/* 2D508 80052108 8E420000 */ lw $v0, ($s2)
/* 2D50C 8005210C 8EA30014 */ lw $v1, 0x14($s5)
/* 2D510 80052110 00471024 */ and $v0, $v0, $a3
/* 2D514 80052114 1443001D */ bne $v0, $v1, .L8005218C
/* 2D518 80052118 00000000 */ nop
/* 2D51C 8005211C 8FA80030 */ lw $t0, 0x30($sp)
/* 2D520 80052120 01058821 */ addu $s1, $t0, $a1
/* 2D524 80052124 8FA80070 */ lw $t0, 0x70($sp)
/* 2D528 80052128 92230045 */ lbu $v1, 0x45($s1)
/* 2D52C 8005212C 91020022 */ lbu $v0, 0x22($t0)
/* 2D530 80052130 14620016 */ bne $v1, $v0, .L8005218C
/* 2D534 80052134 00C41021 */ addu $v0, $a2, $a0
/* 2D538 80052138 90420000 */ lbu $v0, ($v0)
/* 2D53C 8005213C 14400013 */ bnez $v0, .L8005218C
/* 2D540 80052140 00000000 */ nop
/* 2D544 80052144 92430001 */ lbu $v1, 1($s2)
/* 2D548 80052148 00031080 */ sll $v0, $v1, 2
/* 2D54C 8005214C 00431021 */ addu $v0, $v0, $v1
/* 2D550 80052150 000210C0 */ sll $v0, $v0, 3
/* 2D554 80052154 00559821 */ addu $s3, $v0, $s5
/* 2D558 80052158 82A30038 */ lb $v1, 0x38($s5)
/* 2D55C 8005215C 8662005C */ lh $v0, 0x5c($s3)
/* 2D560 80052160 00620018 */ mult $v1, $v0
/* 2D564 80052164 00004012 */ mflo $t0
/* 2D568 80052168 82420006 */ lb $v0, 6($s2)
/* 2D56C 8005216C 00000000 */ nop
/* 2D570 80052170 01020018 */ mult $t0, $v0
/* 2D574 80052174 9222003D */ lbu $v0, 0x3d($s1)
/* 2D578 80052178 34420020 */ ori $v0, $v0, 0x20
/* 2D57C 8005217C A222003D */ sb $v0, 0x3d($s1)
/* 2D580 80052180 00004012 */ mflo $t0
/* 2D584 80052184 00081383 */ sra $v0, $t0, 0xe
/* 2D588 80052188 A6220040 */ sh $v0, 0x40($s1)
.L8005218C:
/* 2D58C 8005218C 8EA20034 */ lw $v0, 0x34($s5)
/* 2D590 80052190 26100001 */ addiu $s0, $s0, 1
/* 2D594 80052194 0202102B */ sltu $v0, $s0, $v0
/* 2D598 80052198 1440FFD5 */ bnez $v0, .L800520F0
/* 2D59C 8005219C 24A50048 */ addiu $a1, $a1, 0x48
.L800521A0:
/* 2D5A0 800521A0 8FBF006C */ lw $ra, 0x6c($sp)
/* 2D5A4 800521A4 8FBE0068 */ lw $fp, 0x68($sp)
/* 2D5A8 800521A8 8FB70064 */ lw $s7, 0x64($sp)
/* 2D5AC 800521AC 8FB60060 */ lw $s6, 0x60($sp)
/* 2D5B0 800521B0 8FB5005C */ lw $s5, 0x5c($sp)
/* 2D5B4 800521B4 8FB40058 */ lw $s4, 0x58($sp)
/* 2D5B8 800521B8 8FB30054 */ lw $s3, 0x54($sp)
/* 2D5BC 800521BC 8FB20050 */ lw $s2, 0x50($sp)
/* 2D5C0 800521C0 8FB1004C */ lw $s1, 0x4c($sp)
/* 2D5C4 800521C4 8FB00048 */ lw $s0, 0x48($sp)
/* 2D5C8 800521C8 03E00008 */ jr $ra
/* 2D5CC 800521CC 27BD0070 */ addiu $sp, $sp, 0x70

View File

@ -1,10 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_800521D0
/* 2D5D0 800521D0 8C830008 */ lw $v1, 8($a0)
/* 2D5D4 800521D4 90620000 */ lbu $v0, ($v1)
/* 2D5D8 800521D8 24630001 */ addiu $v1, $v1, 1
/* 2D5DC 800521DC AC830008 */ sw $v1, 8($a0)
/* 2D5E0 800521E0 03E00008 */ jr $ra
/* 2D5E4 800521E4 304200FF */ andi $v0, $v0, 0xff

View File

@ -1,55 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_800521E8
/* 2D5E8 800521E8 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 2D5EC 800521EC AFB3001C */ sw $s3, 0x1c($sp)
/* 2D5F0 800521F0 00A0982D */ daddu $s3, $a1, $zero
/* 2D5F4 800521F4 AFBF0024 */ sw $ra, 0x24($sp)
/* 2D5F8 800521F8 AFB40020 */ sw $s4, 0x20($sp)
/* 2D5FC 800521FC AFB20018 */ sw $s2, 0x18($sp)
/* 2D600 80052200 AFB10014 */ sw $s1, 0x14($sp)
/* 2D604 80052204 AFB00010 */ sw $s0, 0x10($sp)
/* 2D608 80052208 8E700030 */ lw $s0, 0x30($s3)
/* 2D60C 8005220C 8E620034 */ lw $v0, 0x34($s3)
/* 2D610 80052210 0202102B */ sltu $v0, $s0, $v0
/* 2D614 80052214 1040001C */ beqz $v0, .L80052288
/* 2D618 80052218 0080A02D */ daddu $s4, $a0, $zero
/* 2D61C 8005221C 001010C0 */ sll $v0, $s0, 3
/* 2D620 80052220 00501021 */ addu $v0, $v0, $s0
/* 2D624 80052224 000210C0 */ sll $v0, $v0, 3
/* 2D628 80052228 24521320 */ addiu $s2, $v0, 0x1320
.L8005222C:
/* 2D62C 8005222C 8E620030 */ lw $v0, 0x30($s3)
/* 2D630 80052230 02021023 */ subu $v0, $s0, $v0
/* 2D634 80052234 000210C0 */ sll $v0, $v0, 3
/* 2D638 80052238 244207B4 */ addiu $v0, $v0, 0x7b4
/* 2D63C 8005223C 02828821 */ addu $s1, $s4, $v0
/* 2D640 80052240 92230000 */ lbu $v1, ($s1)
/* 2D644 80052244 92620014 */ lbu $v0, 0x14($s3)
/* 2D648 80052248 1462000A */ bne $v1, $v0, .L80052274
/* 2D64C 8005224C 00000000 */ nop
/* 2D650 80052250 8E820000 */ lw $v0, ($s4)
/* 2D654 80052254 00522021 */ addu $a0, $v0, $s2
/* 2D658 80052258 90830045 */ lbu $v1, 0x45($a0)
/* 2D65C 8005225C 92820022 */ lbu $v0, 0x22($s4)
/* 2D660 80052260 54620004 */ bnel $v1, $v0, .L80052274
/* 2D664 80052264 AE200000 */ sw $zero, ($s1)
/* 2D668 80052268 0C014E31 */ jal func_800538C4
/* 2D66C 8005226C 320500FF */ andi $a1, $s0, 0xff
/* 2D670 80052270 AE200000 */ sw $zero, ($s1)
.L80052274:
/* 2D674 80052274 8E620034 */ lw $v0, 0x34($s3)
/* 2D678 80052278 26100001 */ addiu $s0, $s0, 1
/* 2D67C 8005227C 0202102B */ sltu $v0, $s0, $v0
/* 2D680 80052280 1440FFEA */ bnez $v0, .L8005222C
/* 2D684 80052284 26520048 */ addiu $s2, $s2, 0x48
.L80052288:
/* 2D688 80052288 8FBF0024 */ lw $ra, 0x24($sp)
/* 2D68C 8005228C 8FB40020 */ lw $s4, 0x20($sp)
/* 2D690 80052290 8FB3001C */ lw $s3, 0x1c($sp)
/* 2D694 80052294 8FB20018 */ lw $s2, 0x18($sp)
/* 2D698 80052298 8FB10014 */ lw $s1, 0x14($sp)
/* 2D69C 8005229C 8FB00010 */ lw $s0, 0x10($sp)
/* 2D6A0 800522A0 03E00008 */ jr $ra
/* 2D6A4 800522A4 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -1,40 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_800522A8
/* 2D6A8 800522A8 24A901D4 */ addiu $t1, $a1, 0x1d4
/* 2D6AC 800522AC 8CA70030 */ lw $a3, 0x30($a1)
/* 2D6B0 800522B0 8CA20034 */ lw $v0, 0x34($a1)
/* 2D6B4 800522B4 00E2102B */ sltu $v0, $a3, $v0
/* 2D6B8 800522B8 1040001A */ beqz $v0, .L80052324
/* 2D6BC 800522BC 0000402D */ daddu $t0, $zero, $zero
/* 2D6C0 800522C0 24A601D6 */ addiu $a2, $a1, 0x1d6
.L800522C4:
/* 2D6C4 800522C4 8CA20030 */ lw $v0, 0x30($a1)
/* 2D6C8 800522C8 00E21023 */ subu $v0, $a3, $v0
/* 2D6CC 800522CC 000210C0 */ sll $v0, $v0, 3
/* 2D6D0 800522D0 244207B4 */ addiu $v0, $v0, 0x7b4
/* 2D6D4 800522D4 00821821 */ addu $v1, $a0, $v0
/* 2D6D8 800522D8 90620007 */ lbu $v0, 7($v1)
/* 2D6DC 800522DC 1040000C */ beqz $v0, .L80052310
/* 2D6E0 800522E0 00000000 */ nop
/* 2D6E4 800522E4 90620001 */ lbu $v0, 1($v1)
/* 2D6E8 800522E8 A1220000 */ sb $v0, ($t1)
/* 2D6EC 800522EC 90620002 */ lbu $v0, 2($v1)
/* 2D6F0 800522F0 25080001 */ addiu $t0, $t0, 1
/* 2D6F4 800522F4 A0C2FFFF */ sb $v0, -1($a2)
/* 2D6F8 800522F8 90620006 */ lbu $v0, 6($v1)
/* 2D6FC 800522FC 25290004 */ addiu $t1, $t1, 4
/* 2D700 80052300 A0C20000 */ sb $v0, ($a2)
/* 2D704 80052304 2D020004 */ sltiu $v0, $t0, 4
/* 2D708 80052308 10400006 */ beqz $v0, .L80052324
/* 2D70C 8005230C 24C60004 */ addiu $a2, $a2, 4
.L80052310:
/* 2D710 80052310 8CA20034 */ lw $v0, 0x34($a1)
/* 2D714 80052314 24E70001 */ addiu $a3, $a3, 1
/* 2D718 80052318 00E2102B */ sltu $v0, $a3, $v0
/* 2D71C 8005231C 1440FFE9 */ bnez $v0, .L800522C4
/* 2D720 80052320 00000000 */ nop
.L80052324:
/* 2D724 80052324 03E00008 */ jr $ra
/* 2D728 80052328 00000000 */ nop

View File

@ -1,172 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8005232C
/* 2D72C 8005232C 27BDFFC8 */ addiu $sp, $sp, -0x38
/* 2D730 80052330 AFB60028 */ sw $s6, 0x28($sp)
/* 2D734 80052334 0080B02D */ daddu $s6, $a0, $zero
/* 2D738 80052338 AFB40020 */ sw $s4, 0x20($sp)
/* 2D73C 8005233C 00A0A02D */ daddu $s4, $a1, $zero
/* 2D740 80052340 AFBF0030 */ sw $ra, 0x30($sp)
/* 2D744 80052344 AFB7002C */ sw $s7, 0x2c($sp)
/* 2D748 80052348 AFB50024 */ sw $s5, 0x24($sp)
/* 2D74C 8005234C AFB3001C */ sw $s3, 0x1c($sp)
/* 2D750 80052350 AFB20018 */ sw $s2, 0x18($sp)
/* 2D754 80052354 AFB10014 */ sw $s1, 0x14($sp)
/* 2D758 80052358 AFB00010 */ sw $s0, 0x10($sp)
/* 2D75C 8005235C 92820025 */ lbu $v0, 0x25($s4)
/* 2D760 80052360 8ED70000 */ lw $s7, ($s6)
/* 2D764 80052364 14400081 */ bnez $v0, .L8005256C
/* 2D768 80052368 0000A82D */ daddu $s5, $zero, $zero
.L8005236C:
/* 2D76C 8005236C 00151080 */ sll $v0, $s5, 2
/* 2D770 80052370 244201D4 */ addiu $v0, $v0, 0x1d4
/* 2D774 80052374 02829821 */ addu $s3, $s4, $v0
/* 2D778 80052378 92620001 */ lbu $v0, 1($s3)
/* 2D77C 8005237C 50400076 */ beql $v0, $zero, .L80052558
/* 2D780 80052380 26B50001 */ addiu $s5, $s5, 1
/* 2D784 80052384 92620000 */ lbu $v0, ($s3)
/* 2D788 80052388 8E900030 */ lw $s0, 0x30($s4)
/* 2D78C 8005238C 8E840034 */ lw $a0, 0x34($s4)
/* 2D790 80052390 00021880 */ sll $v1, $v0, 2
/* 2D794 80052394 00621821 */ addu $v1, $v1, $v0
/* 2D798 80052398 000318C0 */ sll $v1, $v1, 3
/* 2D79C 8005239C 24630044 */ addiu $v1, $v1, 0x44
/* 2D7A0 800523A0 0204102B */ sltu $v0, $s0, $a0
/* 2D7A4 800523A4 10400012 */ beqz $v0, .L800523F0
/* 2D7A8 800523A8 02839021 */ addu $s2, $s4, $v1
/* 2D7AC 800523AC 001010C0 */ sll $v0, $s0, 3
/* 2D7B0 800523B0 00501021 */ addu $v0, $v0, $s0
/* 2D7B4 800523B4 000210C0 */ sll $v0, $v0, 3
/* 2D7B8 800523B8 24431320 */ addiu $v1, $v0, 0x1320
.L800523BC:
/* 2D7BC 800523BC 02E38821 */ addu $s1, $s7, $v1
/* 2D7C0 800523C0 92220045 */ lbu $v0, 0x45($s1)
/* 2D7C4 800523C4 10400005 */ beqz $v0, .L800523DC
/* 2D7C8 800523C8 00000000 */ nop
/* 2D7CC 800523CC 26100001 */ addiu $s0, $s0, 1
/* 2D7D0 800523D0 0204102B */ sltu $v0, $s0, $a0
/* 2D7D4 800523D4 1440FFF9 */ bnez $v0, .L800523BC
/* 2D7D8 800523D8 24630048 */ addiu $v1, $v1, 0x48
.L800523DC:
/* 2D7DC 800523DC 8E820034 */ lw $v0, 0x34($s4)
/* 2D7E0 800523E0 0202102B */ sltu $v0, $s0, $v0
/* 2D7E4 800523E4 1440001C */ bnez $v0, .L80052458
/* 2D7E8 800523E8 00000000 */ nop
/* 2D7EC 800523EC 8E900030 */ lw $s0, 0x30($s4)
.L800523F0:
/* 2D7F0 800523F0 8E820034 */ lw $v0, 0x34($s4)
/* 2D7F4 800523F4 0202102B */ sltu $v0, $s0, $v0
/* 2D7F8 800523F8 10400056 */ beqz $v0, .L80052554
/* 2D7FC 800523FC 001010C0 */ sll $v0, $s0, 3
/* 2D800 80052400 00501021 */ addu $v0, $v0, $s0
/* 2D804 80052404 000210C0 */ sll $v0, $v0, 3
/* 2D808 80052408 24441320 */ addiu $a0, $v0, 0x1320
.L8005240C:
/* 2D80C 8005240C 02E48821 */ addu $s1, $s7, $a0
/* 2D810 80052410 92220045 */ lbu $v0, 0x45($s1)
/* 2D814 80052414 92C30022 */ lbu $v1, 0x22($s6)
/* 2D818 80052418 0043102B */ sltu $v0, $v0, $v1
/* 2D81C 8005241C 50400006 */ beql $v0, $zero, .L80052438
/* 2D820 80052420 26100001 */ addiu $s0, $s0, 1
/* 2D824 80052424 0220202D */ daddu $a0, $s1, $zero
/* 2D828 80052428 0C014E31 */ jal func_800538C4
/* 2D82C 8005242C 320500FF */ andi $a1, $s0, 0xff
/* 2D830 80052430 08014912 */ j .L80052448
/* 2D834 80052434 00000000 */ nop
.L80052438:
/* 2D838 80052438 8E820034 */ lw $v0, 0x34($s4)
/* 2D83C 8005243C 0202102B */ sltu $v0, $s0, $v0
/* 2D840 80052440 1440FFF2 */ bnez $v0, .L8005240C
/* 2D844 80052444 24840048 */ addiu $a0, $a0, 0x48
.L80052448:
/* 2D848 80052448 8E820034 */ lw $v0, 0x34($s4)
/* 2D84C 8005244C 0202102B */ sltu $v0, $s0, $v0
/* 2D850 80052450 50400041 */ beql $v0, $zero, .L80052558
/* 2D854 80052454 26B50001 */ addiu $s5, $s5, 1
.L80052458:
/* 2D858 80052458 8E850030 */ lw $a1, 0x30($s4)
/* 2D85C 8005245C 92640000 */ lbu $a0, ($s3)
/* 2D860 80052460 8E830014 */ lw $v1, 0x14($s4)
/* 2D864 80052464 92620001 */ lbu $v0, 1($s3)
/* 2D868 80052468 02052823 */ subu $a1, $s0, $a1
/* 2D86C 8005246C 000528C0 */ sll $a1, $a1, 3
/* 2D870 80052470 24A507B4 */ addiu $a1, $a1, 0x7b4
/* 2D874 80052474 02C52821 */ addu $a1, $s6, $a1
/* 2D878 80052478 00042400 */ sll $a0, $a0, 0x10
/* 2D87C 8005247C 00641821 */ addu $v1, $v1, $a0
/* 2D880 80052480 00021200 */ sll $v0, $v0, 8
/* 2D884 80052484 00621821 */ addu $v1, $v1, $v0
/* 2D888 80052488 ACA30000 */ sw $v1, ($a1)
/* 2D88C 8005248C 92630001 */ lbu $v1, 1($s3)
/* 2D890 80052490 8E440000 */ lw $a0, ($s2)
/* 2D894 80052494 3063007F */ andi $v1, $v1, 0x7f
/* 2D898 80052498 00031040 */ sll $v0, $v1, 1
/* 2D89C 8005249C 00431021 */ addu $v0, $v0, $v1
/* 2D8A0 800524A0 000210C0 */ sll $v0, $v0, 3
/* 2D8A4 800524A4 00431021 */ addu $v0, $v0, $v1
/* 2D8A8 800524A8 9483001E */ lhu $v1, 0x1e($a0)
/* 2D8AC 800524AC 00021080 */ sll $v0, $v0, 2
/* 2D8B0 800524B0 00431023 */ subu $v0, $v0, $v1
/* 2D8B4 800524B4 A4A20004 */ sh $v0, 4($a1)
/* 2D8B8 800524B8 92630002 */ lbu $v1, 2($s3)
/* 2D8BC 800524BC 3063007F */ andi $v1, $v1, 0x7f
/* 2D8C0 800524C0 A0A30006 */ sb $v1, 6($a1)
/* 2D8C4 800524C4 82840038 */ lb $a0, 0x38($s4)
/* 2D8C8 800524C8 86420018 */ lh $v0, 0x18($s2)
/* 2D8CC 800524CC 00820018 */ mult $a0, $v0
/* 2D8D0 800524D0 00003012 */ mflo $a2
/* 2D8D4 800524D4 00000000 */ nop
/* 2D8D8 800524D8 00000000 */ nop
/* 2D8DC 800524DC 00C30018 */ mult $a2, $v1
/* 2D8E0 800524E0 00003012 */ mflo $a2
/* 2D8E4 800524E4 00061383 */ sra $v0, $a2, 0xe
/* 2D8E8 800524E8 A6220040 */ sh $v0, 0x40($s1)
/* 2D8EC 800524EC 84A20004 */ lh $v0, 4($a1)
/* 2D8F0 800524F0 8644000C */ lh $a0, 0xc($s2)
/* 2D8F4 800524F4 0C014E3E */ jal func_800538F8
/* 2D8F8 800524F8 00442021 */ addu $a0, $v0, $a0
/* 2D8FC 800524FC 8E420000 */ lw $v0, ($s2)
/* 2D900 80052500 C4420020 */ lwc1 $f2, 0x20($v0)
/* 2D904 80052504 46020002 */ mul.s $f0, $f0, $f2
/* 2D908 80052508 00000000 */ nop
/* 2D90C 8005250C E6200004 */ swc1 $f0, 4($s1)
/* 2D910 80052510 92420024 */ lbu $v0, 0x24($s2)
/* 2D914 80052514 A222000E */ sb $v0, 0xe($s1)
/* 2D918 80052518 92420025 */ lbu $v0, 0x25($s2)
/* 2D91C 8005251C A222000F */ sb $v0, 0xf($s1)
/* 2D920 80052520 8E420000 */ lw $v0, ($s2)
/* 2D924 80052524 AE220000 */ sw $v0, ($s1)
/* 2D928 80052528 92C20023 */ lbu $v0, 0x23($s6)
/* 2D92C 8005252C A2220010 */ sb $v0, 0x10($s1)
/* 2D930 80052530 8E420004 */ lw $v0, 4($s2)
/* 2D934 80052534 AE220014 */ sw $v0, 0x14($s1)
/* 2D938 80052538 8E430008 */ lw $v1, 8($s2)
/* 2D93C 8005253C 24020002 */ addiu $v0, $zero, 2
/* 2D940 80052540 A2220043 */ sb $v0, 0x43($s1)
/* 2D944 80052544 AE230018 */ sw $v1, 0x18($s1)
/* 2D948 80052548 92C20022 */ lbu $v0, 0x22($s6)
/* 2D94C 8005254C A2220045 */ sb $v0, 0x45($s1)
/* 2D950 80052550 A2220044 */ sb $v0, 0x44($s1)
.L80052554:
/* 2D954 80052554 26B50001 */ addiu $s5, $s5, 1
.L80052558:
/* 2D958 80052558 2EA20004 */ sltiu $v0, $s5, 4
/* 2D95C 8005255C A2600000 */ sb $zero, ($s3)
/* 2D960 80052560 A2600001 */ sb $zero, 1($s3)
/* 2D964 80052564 1440FF81 */ bnez $v0, .L8005236C
/* 2D968 80052568 A2600002 */ sb $zero, 2($s3)
.L8005256C:
/* 2D96C 8005256C 8FBF0030 */ lw $ra, 0x30($sp)
/* 2D970 80052570 8FB7002C */ lw $s7, 0x2c($sp)
/* 2D974 80052574 8FB60028 */ lw $s6, 0x28($sp)
/* 2D978 80052578 8FB50024 */ lw $s5, 0x24($sp)
/* 2D97C 8005257C 8FB40020 */ lw $s4, 0x20($sp)
/* 2D980 80052580 8FB3001C */ lw $s3, 0x1c($sp)
/* 2D984 80052584 8FB20018 */ lw $s2, 0x18($sp)
/* 2D988 80052588 8FB10014 */ lw $s1, 0x14($sp)
/* 2D98C 8005258C 8FB00010 */ lw $s0, 0x10($sp)
/* 2D990 80052590 03E00008 */ jr $ra
/* 2D994 80052594 27BD0038 */ addiu $sp, $sp, 0x38
/* 2D998 80052598 00000000 */ nop
/* 2D99C 8005259C 00000000 */ nop

View File

@ -13,11 +13,11 @@ glabel func_80238B60_6F1C40
/* 6F1C60 80238B80 0040202D */ daddu $a0, $v0, $zero /* 6F1C60 80238B80 0040202D */ daddu $a0, $v0, $zero
/* 6F1C64 80238B84 90820136 */ lbu $v0, 0x136($a0) /* 6F1C64 80238B84 90820136 */ lbu $v0, 0x136($a0)
/* 6F1C68 80238B88 00021080 */ sll $v0, $v0, 2 /* 6F1C68 80238B88 00021080 */ sll $v0, $v0, 2
/* 6F1C6C 80238B8C 3C018028 */ lui $at, %hi(D_80282B98) /* 6F1C6C 80238B8C 3C018028 */ lui $at, %hi(gActorTattles)
/* 6F1C70 80238B90 00220821 */ addu $at, $at, $v0 /* 6F1C70 80238B90 00220821 */ addu $at, $at, $v0
/* 6F1C74 80238B94 8C222B98 */ lw $v0, %lo(D_80282B98)($at) /* 6F1C74 80238B94 8C222B98 */ lw $v0, %lo(gActorTattles)($at)
/* 6F1C78 80238B98 3C038028 */ lui $v1, %hi(D_80282B98) /* 6F1C78 80238B98 3C038028 */ lui $v1, %hi(gActorTattles)
/* 6F1C7C 80238B9C 24632B98 */ addiu $v1, $v1, %lo(D_80282B98) /* 6F1C7C 80238B9C 24632B98 */ addiu $v1, $v1, %lo(gActorTattles)
/* 6F1C80 80238BA0 14400003 */ bnez $v0, .L80238BB0 /* 6F1C80 80238BA0 14400003 */ bnez $v0, .L80238BB0
/* 6F1C84 80238BA4 AE020084 */ sw $v0, 0x84($s0) /* 6F1C84 80238BA4 AE020084 */ sw $v0, 0x84($s0)
/* 6F1C88 80238BA8 8C620000 */ lw $v0, ($v1) /* 6F1C88 80238BA8 8C620000 */ lw $v0, ($v1)

View File

@ -121,9 +121,9 @@ glabel func_80238BCC_6F1CAC
/* 6F1E6C 80238D8C AE020090 */ sw $v0, 0x90($s0) /* 6F1E6C 80238D8C AE020090 */ sw $v0, 0x90($s0)
/* 6F1E70 80238D90 90820136 */ lbu $v0, 0x136($a0) /* 6F1E70 80238D90 90820136 */ lbu $v0, 0x136($a0)
/* 6F1E74 80238D94 00021080 */ sll $v0, $v0, 2 /* 6F1E74 80238D94 00021080 */ sll $v0, $v0, 2
/* 6F1E78 80238D98 3C038028 */ lui $v1, %hi(D_80282EE8) /* 6F1E78 80238D98 3C038028 */ lui $v1, %hi(gActorCamOffsets)
/* 6F1E7C 80238D9C 00621821 */ addu $v1, $v1, $v0 /* 6F1E7C 80238D9C 00621821 */ addu $v1, $v1, $v0
/* 6F1E80 80238DA0 80632EE8 */ lb $v1, %lo(D_80282EE8)($v1) /* 6F1E80 80238DA0 80632EE8 */ lb $v1, %lo(gActorCamOffsets)($v1)
/* 6F1E84 80238DA4 8E020084 */ lw $v0, 0x84($s0) /* 6F1E84 80238DA4 8E020084 */ lw $v0, 0x84($s0)
/* 6F1E88 80238DA8 00431021 */ addu $v0, $v0, $v1 /* 6F1E88 80238DA8 00431021 */ addu $v0, $v0, $v1
/* 6F1E8C 80238DAC AE020084 */ sw $v0, 0x84($s0) /* 6F1E8C 80238DAC AE020084 */ sw $v0, 0x84($s0)

View File

@ -1,85 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80238E5C_70494C
/* 70494C 80238E5C 27BDFFC8 */ addiu $sp, $sp, -0x38
/* 704950 80238E60 AFB60028 */ sw $s6, 0x28($sp)
/* 704954 80238E64 3C16800E */ lui $s6, %hi(gBattleStatus+0xDC)
/* 704958 80238E68 8ED6C14C */ lw $s6, %lo(gBattleStatus+0xDC)($s6)
/* 70495C 80238E6C AFBE0030 */ sw $fp, 0x30($sp)
/* 704960 80238E70 0080F02D */ daddu $fp, $a0, $zero
/* 704964 80238E74 AFB40020 */ sw $s4, 0x20($sp)
/* 704968 80238E78 0000A02D */ daddu $s4, $zero, $zero
/* 70496C 80238E7C AFB50024 */ sw $s5, 0x24($sp)
/* 704970 80238E80 0280A82D */ daddu $s5, $s4, $zero
/* 704974 80238E84 AFBF0034 */ sw $ra, 0x34($sp)
/* 704978 80238E88 AFB7002C */ sw $s7, 0x2c($sp)
/* 70497C 80238E8C AFB3001C */ sw $s3, 0x1c($sp)
/* 704980 80238E90 AFB20018 */ sw $s2, 0x18($sp)
/* 704984 80238E94 AFB10014 */ sw $s1, 0x14($sp)
/* 704988 80238E98 AFB00010 */ sw $s0, 0x10($sp)
/* 70498C 80238E9C 82C2040C */ lb $v0, 0x40c($s6)
/* 704990 80238EA0 1840001E */ blez $v0, .L80238F1C
/* 704994 80238EA4 0280982D */ daddu $s3, $s4, $zero
/* 704998 80238EA8 2417000E */ addiu $s7, $zero, 0xe
/* 70499C 80238EAC 02C0902D */ daddu $s2, $s6, $zero
.L80238EB0:
/* 7049A0 80238EB0 0C09A75B */ jal get_actor
/* 7049A4 80238EB4 8644022C */ lh $a0, 0x22c($s2)
/* 7049A8 80238EB8 0040802D */ daddu $s0, $v0, $zero
/* 7049AC 80238EBC 8645022E */ lh $a1, 0x22e($s2)
/* 7049B0 80238EC0 0C099117 */ jal get_actor_part
/* 7049B4 80238EC4 0200202D */ daddu $a0, $s0, $zero
/* 7049B8 80238EC8 24050005 */ addiu $a1, $zero, 5
/* 7049BC 80238ECC 8E04020C */ lw $a0, 0x20c($s0)
/* 7049C0 80238ED0 0C0997A6 */ jal lookup_status_chance
/* 7049C4 80238ED4 0040882D */ daddu $s1, $v0, $zero
/* 7049C8 80238ED8 82030218 */ lb $v1, 0x218($s0)
/* 7049CC 80238EDC 14770002 */ bne $v1, $s7, .L80238EE8
/* 7049D0 80238EE0 0040202D */ daddu $a0, $v0, $zero
/* 7049D4 80238EE4 0000202D */ daddu $a0, $zero, $zero
.L80238EE8:
/* 7049D8 80238EE8 8E22007C */ lw $v0, 0x7c($s1)
/* 7049DC 80238EEC 30420020 */ andi $v0, $v0, 0x20
/* 7049E0 80238EF0 54400001 */ bnel $v0, $zero, .L80238EF8
/* 7049E4 80238EF4 0000202D */ daddu $a0, $zero, $zero
.L80238EF8:
/* 7049E8 80238EF8 18800003 */ blez $a0, .L80238F08
/* 7049EC 80238EFC 00000000 */ nop
/* 7049F0 80238F00 02649821 */ addu $s3, $s3, $a0
/* 7049F4 80238F04 26940001 */ addiu $s4, $s4, 1
.L80238F08:
/* 7049F8 80238F08 82C2040C */ lb $v0, 0x40c($s6)
/* 7049FC 80238F0C 26B50001 */ addiu $s5, $s5, 1
/* 704A00 80238F10 02A2102A */ slt $v0, $s5, $v0
/* 704A04 80238F14 1440FFE6 */ bnez $v0, .L80238EB0
/* 704A08 80238F18 26520014 */ addiu $s2, $s2, 0x14
.L80238F1C:
/* 704A0C 80238F1C 5A80000C */ blezl $s4, .L80238F50
/* 704A10 80238F20 AFC00084 */ sw $zero, 0x84($fp)
/* 704A14 80238F24 16800002 */ bnez $s4, .L80238F30
/* 704A18 80238F28 0274001A */ div $zero, $s3, $s4
/* 704A1C 80238F2C 0007000D */ break 7
.L80238F30:
/* 704A20 80238F30 2401FFFF */ addiu $at, $zero, -1
/* 704A24 80238F34 16810004 */ bne $s4, $at, .L80238F48
/* 704A28 80238F38 3C018000 */ lui $at, 0x8000
/* 704A2C 80238F3C 16610002 */ bne $s3, $at, .L80238F48
/* 704A30 80238F40 00000000 */ nop
/* 704A34 80238F44 0006000D */ break 6
.L80238F48:
/* 704A38 80238F48 00001012 */ mflo $v0
/* 704A3C 80238F4C AFC20084 */ sw $v0, 0x84($fp)
.L80238F50:
/* 704A40 80238F50 8FBF0034 */ lw $ra, 0x34($sp)
/* 704A44 80238F54 8FBE0030 */ lw $fp, 0x30($sp)
/* 704A48 80238F58 8FB7002C */ lw $s7, 0x2c($sp)
/* 704A4C 80238F5C 8FB60028 */ lw $s6, 0x28($sp)
/* 704A50 80238F60 8FB50024 */ lw $s5, 0x24($sp)
/* 704A54 80238F64 8FB40020 */ lw $s4, 0x20($sp)
/* 704A58 80238F68 8FB3001C */ lw $s3, 0x1c($sp)
/* 704A5C 80238F6C 8FB20018 */ lw $s2, 0x18($sp)
/* 704A60 80238F70 8FB10014 */ lw $s1, 0x14($sp)
/* 704A64 80238F74 8FB00010 */ lw $s0, 0x10($sp)
/* 704A68 80238F78 24020002 */ addiu $v0, $zero, 2
/* 704A6C 80238F7C 03E00008 */ jr $ra

View File

@ -1,22 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80238D48_70CA58
/* 70CA58 80238D48 3C05800E */ lui $a1, %hi(gBattleStatus)
/* 70CA5C 80238D4C 24A5C070 */ addiu $a1, $a1, %lo(gBattleStatus)
/* 70CA60 80238D50 80A200A4 */ lb $v0, 0xa4($a1)
/* 70CA64 80238D54 8C8300AC */ lw $v1, 0xac($a0)
/* 70CA68 80238D58 0043102A */ slt $v0, $v0, $v1
/* 70CA6C 80238D5C 10400009 */ beqz $v0, .L80238D84
/* 70CA70 80238D60 24020032 */ addiu $v0, $zero, 0x32
/* 70CA74 80238D64 908300AF */ lbu $v1, 0xaf($a0)
/* 70CA78 80238D68 A0A200A5 */ sb $v0, 0xa5($a1)
/* 70CA7C 80238D6C 8CA2043C */ lw $v0, 0x43c($a1)
/* 70CA80 80238D70 A0A300A4 */ sb $v1, 0xa4($a1)
/* 70CA84 80238D74 00031E00 */ sll $v1, $v1, 0x18
/* 70CA88 80238D78 8C42000C */ lw $v0, 0xc($v0)
/* 70CA8C 80238D7C 00031E03 */ sra $v1, $v1, 0x18
/* 70CA90 80238D80 A443001A */ sh $v1, 0x1a($v0)
.L80238D84:
/* 70CA94 80238D84 03E00008 */ jr $ra
/* 70CA98 80238D88 24020002 */ addiu $v0, $zero, 2

View File

@ -15,8 +15,8 @@ glabel func_8023808C_710F7C
/* 710FA4 802380B4 A082009A */ sb $v0, 0x9a($a0) /* 710FA4 802380B4 A082009A */ sb $v0, 0x9a($a0)
.L802380B8: .L802380B8:
/* 710FA8 802380B8 3C02FBFF */ lui $v0, 0xfbff /* 710FA8 802380B8 3C02FBFF */ lui $v0, 0xfbff
/* 710FAC 802380BC 3C038028 */ lui $v1, %hi(D_80283370) /* 710FAC 802380BC 3C038028 */ lui $v1, %hi(bMarioHideAnims)
/* 710FB0 802380C0 24633370 */ addiu $v1, $v1, %lo(D_80283370) /* 710FB0 802380C0 24633370 */ addiu $v1, $v1, %lo(bMarioHideAnims)
/* 710FB4 802380C4 ACA30094 */ sw $v1, 0x94($a1) /* 710FB4 802380C4 ACA30094 */ sw $v1, 0x94($a1)
/* 710FB8 802380C8 8C830000 */ lw $v1, ($a0) /* 710FB8 802380C8 8C830000 */ lw $v1, ($a0)
/* 710FBC 802380CC 3442FFFF */ ori $v0, $v0, 0xffff /* 710FBC 802380CC 3442FFFF */ ori $v0, $v0, 0xffff

View File

@ -5,8 +5,8 @@ glabel func_802381C8_7110B8
/* 7110B8 802381C8 3C02800E */ lui $v0, %hi(gBattleStatus+0xD8) /* 7110B8 802381C8 3C02800E */ lui $v0, %hi(gBattleStatus+0xD8)
/* 7110BC 802381CC 8C42C148 */ lw $v0, %lo(gBattleStatus+0xD8)($v0) /* 7110BC 802381CC 8C42C148 */ lw $v0, %lo(gBattleStatus+0xD8)($v0)
/* 7110C0 802381D0 8C4301F4 */ lw $v1, 0x1f4($v0) /* 7110C0 802381D0 8C4301F4 */ lw $v1, 0x1f4($v0)
/* 7110C4 802381D4 3C028028 */ lui $v0, %hi(D_80283238) /* 7110C4 802381D4 3C028028 */ lui $v0, %hi(bMarioIdleAnims)
/* 7110C8 802381D8 24423238 */ addiu $v0, $v0, %lo(D_80283238) /* 7110C8 802381D8 24423238 */ addiu $v0, $v0, %lo(bMarioIdleAnims)
/* 7110CC 802381DC AC620094 */ sw $v0, 0x94($v1) /* 7110CC 802381DC AC620094 */ sw $v0, 0x94($v1)
/* 7110D0 802381E0 03E00008 */ jr $ra /* 7110D0 802381E0 03E00008 */ jr $ra
/* 7110D4 802381E4 24020002 */ addiu $v0, $zero, 2 /* 7110D4 802381E4 24020002 */ addiu $v0, $zero, 2

View File

@ -1,125 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1000_71D770
/* 71D770 802A1000 27BDFF98 */ addiu $sp, $sp, -0x68
/* 71D774 802A1004 AFB50044 */ sw $s5, 0x44($sp)
/* 71D778 802A1008 0080A82D */ daddu $s5, $a0, $zero
/* 71D77C 802A100C AFB10034 */ sw $s1, 0x34($sp)
/* 71D780 802A1010 0000882D */ daddu $s1, $zero, $zero
/* 71D784 802A1014 2405001D */ addiu $a1, $zero, 0x1d
/* 71D788 802A1018 F7B40050 */ sdc1 $f20, 0x50($sp)
/* 71D78C 802A101C 4480A000 */ mtc1 $zero, $f20
/* 71D790 802A1020 3C02800E */ lui $v0, %hi(gBattleStatus)
/* 71D794 802A1024 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus)
/* 71D798 802A1028 AFBF0048 */ sw $ra, 0x48($sp)
/* 71D79C 802A102C AFB40040 */ sw $s4, 0x40($sp)
/* 71D7A0 802A1030 AFB3003C */ sw $s3, 0x3c($sp)
/* 71D7A4 802A1034 AFB20038 */ sw $s2, 0x38($sp)
/* 71D7A8 802A1038 AFB00030 */ sw $s0, 0x30($sp)
/* 71D7AC 802A103C F7B80060 */ sdc1 $f24, 0x60($sp)
/* 71D7B0 802A1040 F7B60058 */ sdc1 $f22, 0x58($sp)
/* 71D7B4 802A1044 8C5300D8 */ lw $s3, 0xd8($v0)
/* 71D7B8 802A1048 8442017A */ lh $v0, 0x17a($v0)
/* 71D7BC 802A104C 0260202D */ daddu $a0, $s3, $zero
/* 71D7C0 802A1050 00021140 */ sll $v0, $v0, 5
/* 71D7C4 802A1054 3C128008 */ lui $s2, %hi(gItemTable+0xC)
/* 71D7C8 802A1058 02429021 */ addu $s2, $s2, $v0
/* 71D7CC 802A105C 865278EC */ lh $s2, %lo(gItemTable+0xC)($s2)
/* 71D7D0 802A1060 92620191 */ lbu $v0, 0x191($s3)
/* 71D7D4 802A1064 C6620148 */ lwc1 $f2, 0x148($s3)
/* 71D7D8 802A1068 44820000 */ mtc1 $v0, $f0
/* 71D7DC 802A106C 00000000 */ nop
/* 71D7E0 802A1070 46800020 */ cvt.s.w $f0, $f0
/* 71D7E4 802A1074 0C099CAB */ jal heroes_is_ability_active
/* 71D7E8 802A1078 46001580 */ add.s $f22, $f2, $f0
/* 71D7EC 802A107C 50400048 */ beql $v0, $zero, .L802A11A0
/* 71D7F0 802A1080 AEB10084 */ sw $s1, 0x84($s5)
/* 71D7F4 802A1084 1A400045 */ blez $s2, .L802A119C
/* 71D7F8 802A1088 3C0451EB */ lui $a0, 0x51eb
/* 71D7FC 802A108C 3484851F */ ori $a0, $a0, 0x851f
/* 71D800 802A1090 00121880 */ sll $v1, $s2, 2
/* 71D804 802A1094 00721821 */ addu $v1, $v1, $s2
/* 71D808 802A1098 00031100 */ sll $v0, $v1, 4
/* 71D80C 802A109C 00431023 */ subu $v0, $v0, $v1
/* 71D810 802A10A0 24420063 */ addiu $v0, $v0, 0x63
/* 71D814 802A10A4 00440018 */ mult $v0, $a0
/* 71D818 802A10A8 000217C3 */ sra $v0, $v0, 0x1f
/* 71D81C 802A10AC 00004010 */ mfhi $t0
/* 71D820 802A10B0 00081943 */ sra $v1, $t0, 5
/* 71D824 802A10B4 00629023 */ subu $s2, $v1, $v0
/* 71D828 802A10B8 0232102A */ slt $v0, $s1, $s2
/* 71D82C 802A10BC 10400019 */ beqz $v0, .L802A1124
/* 71D830 802A10C0 0220802D */ daddu $s0, $s1, $zero
/* 71D834 802A10C4 24140017 */ addiu $s4, $zero, 0x17
/* 71D838 802A10C8 3C0141F0 */ lui $at, 0x41f0
/* 71D83C 802A10CC 4481C000 */ mtc1 $at, $f24
/* 71D840 802A10D0 24110001 */ addiu $s1, $zero, 1
.L802A10D4:
/* 71D844 802A10D4 C6600144 */ lwc1 $f0, 0x144($s3)
/* 71D848 802A10D8 C662014C */ lwc1 $f2, 0x14c($s3)
/* 71D84C 802A10DC 4600A10D */ trunc.w.s $f4, $f20
/* 71D850 802A10E0 E7A40018 */ swc1 $f4, 0x18($sp)
/* 71D854 802A10E4 24040157 */ addiu $a0, $zero, 0x157
/* 71D858 802A10E8 AFB10014 */ sw $s1, 0x14($sp)
/* 71D85C 802A10EC 26310003 */ addiu $s1, $s1, 3
/* 71D860 802A10F0 26100001 */ addiu $s0, $s0, 1
/* 71D864 802A10F4 4406B000 */ mfc1 $a2, $f22
/* 71D868 802A10F8 44050000 */ mfc1 $a1, $f0
/* 71D86C 802A10FC 44071000 */ mfc1 $a3, $f2
/* 71D870 802A1100 4618A500 */ add.s $f20, $f20, $f24
/* 71D874 802A1104 AFB40010 */ sw $s4, 0x10($sp)
/* 71D878 802A1108 0C04C4FD */ jal make_item_entity
/* 71D87C 802A110C AFA0001C */ sw $zero, 0x1c($sp)
/* 71D880 802A1110 0C03A830 */ jal add_coins
/* 71D884 802A1114 24040001 */ addiu $a0, $zero, 1
/* 71D888 802A1118 0212102A */ slt $v0, $s0, $s2
/* 71D88C 802A111C 1440FFED */ bnez $v0, .L802A10D4
/* 71D890 802A1120 00000000 */ nop
.L802A1124:
/* 71D894 802A1124 00101040 */ sll $v0, $s0, 1
/* 71D898 802A1128 00501021 */ addu $v0, $v0, $s0
/* 71D89C 802A112C 2451001E */ addiu $s1, $v0, 0x1e
/* 71D8A0 802A1130 C6600144 */ lwc1 $f0, 0x144($s3)
/* 71D8A4 802A1134 C6760148 */ lwc1 $f22, 0x148($s3)
/* 71D8A8 802A1138 C662014C */ lwc1 $f2, 0x14c($s3)
/* 71D8AC 802A113C 3C048007 */ lui $a0, %hi(gCurrentCameraID)
/* 71D8B0 802A1140 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
/* 71D8B4 802A1144 27A20020 */ addiu $v0, $sp, 0x20
/* 71D8B8 802A1148 AFA20010 */ sw $v0, 0x10($sp)
/* 71D8BC 802A114C 27A20024 */ addiu $v0, $sp, 0x24
/* 71D8C0 802A1150 AFA20014 */ sw $v0, 0x14($sp)
/* 71D8C4 802A1154 44050000 */ mfc1 $a1, $f0
/* 71D8C8 802A1158 4406B000 */ mfc1 $a2, $f22
/* 71D8CC 802A115C 44071000 */ mfc1 $a3, $f2
/* 71D8D0 802A1160 27A20028 */ addiu $v0, $sp, 0x28
/* 71D8D4 802A1164 0C00B94E */ jal get_screen_coords
/* 71D8D8 802A1168 AFA20018 */ sw $v0, 0x18($sp)
/* 71D8DC 802A116C 3C048011 */ lui $a0, %hi(D_80108A64)
/* 71D8E0 802A1170 24848A64 */ addiu $a0, $a0, %lo(D_80108A64)
/* 71D8E4 802A1174 0C050529 */ jal create_icon
/* 71D8E8 802A1178 00000000 */ nop
/* 71D8EC 802A117C 8FA50020 */ lw $a1, 0x20($sp)
/* 71D8F0 802A1180 8FA60024 */ lw $a2, 0x24($sp)
/* 71D8F4 802A1184 0040202D */ daddu $a0, $v0, $zero
/* 71D8F8 802A1188 3C01802A */ lui $at, %hi(D_802A1EE0)
/* 71D8FC 802A118C AC241EE0 */ sw $a0, %lo(D_802A1EE0)($at)
/* 71D900 802A1190 24A50024 */ addiu $a1, $a1, 0x24
/* 71D904 802A1194 0C051261 */ jal set_icon_render_pos
/* 71D908 802A1198 24C6FFC1 */ addiu $a2, $a2, -0x3f
.L802A119C:
/* 71D90C 802A119C AEB10084 */ sw $s1, 0x84($s5)
.L802A11A0:
/* 71D910 802A11A0 8FBF0048 */ lw $ra, 0x48($sp)
/* 71D914 802A11A4 8FB50044 */ lw $s5, 0x44($sp)
/* 71D918 802A11A8 8FB40040 */ lw $s4, 0x40($sp)
/* 71D91C 802A11AC 8FB3003C */ lw $s3, 0x3c($sp)
/* 71D920 802A11B0 8FB20038 */ lw $s2, 0x38($sp)
/* 71D924 802A11B4 8FB10034 */ lw $s1, 0x34($sp)
/* 71D928 802A11B8 8FB00030 */ lw $s0, 0x30($sp)
/* 71D92C 802A11BC D7B80060 */ ldc1 $f24, 0x60($sp)
/* 71D930 802A11C0 D7B60058 */ ldc1 $f22, 0x58($sp)
/* 71D934 802A11C4 D7B40050 */ ldc1 $f20, 0x50($sp)
/* 71D938 802A11C8 24020002 */ addiu $v0, $zero, 2
/* 71D93C 802A11CC 03E00008 */ jr $ra
/* 71D940 802A11D0 27BD0068 */ addiu $sp, $sp, 0x68

View File

@ -1,31 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A11D4_71D944
/* 71D944 802A11D4 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 71D948 802A11D8 3C03800E */ lui $v1, %hi(gBattleStatus)
/* 71D94C 802A11DC 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
/* 71D950 802A11E0 AFBF0014 */ sw $ra, 0x14($sp)
/* 71D954 802A11E4 AFB00010 */ sw $s0, 0x10($sp)
/* 71D958 802A11E8 8462017A */ lh $v0, 0x17a($v1)
/* 71D95C 802A11EC 8C6400D8 */ lw $a0, 0xd8($v1)
/* 71D960 802A11F0 00021140 */ sll $v0, $v0, 5
/* 71D964 802A11F4 3C108008 */ lui $s0, %hi(gItemTable+0xC)
/* 71D968 802A11F8 02028021 */ addu $s0, $s0, $v0
/* 71D96C 802A11FC 861078EC */ lh $s0, %lo(gItemTable+0xC)($s0)
/* 71D970 802A1200 0C099CAB */ jal heroes_is_ability_active
/* 71D974 802A1204 2405001D */ addiu $a1, $zero, 0x1d
/* 71D978 802A1208 10400007 */ beqz $v0, .L802A1228
/* 71D97C 802A120C 00000000 */ nop
/* 71D980 802A1210 1A000005 */ blez $s0, .L802A1228
/* 71D984 802A1214 00000000 */ nop
/* 71D988 802A1218 3C04802A */ lui $a0, %hi(D_802A1EE0)
/* 71D98C 802A121C 8C841EE0 */ lw $a0, %lo(D_802A1EE0)($a0)
/* 71D990 802A1220 0C05123D */ jal free_icon
/* 71D994 802A1224 00000000 */ nop
.L802A1228:
/* 71D998 802A1228 8FBF0014 */ lw $ra, 0x14($sp)
/* 71D99C 802A122C 8FB00010 */ lw $s0, 0x10($sp)
/* 71D9A0 802A1230 24020002 */ addiu $v0, $zero, 2
/* 71D9A4 802A1234 03E00008 */ jr $ra
/* 71D9A8 802A1238 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,89 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A123C_71D9AC
/* 71D9AC 802A123C 27BDFFC0 */ addiu $sp, $sp, -0x40
/* 71D9B0 802A1240 AFB00020 */ sw $s0, 0x20($sp)
/* 71D9B4 802A1244 0080802D */ daddu $s0, $a0, $zero
/* 71D9B8 802A1248 AFBF002C */ sw $ra, 0x2c($sp)
/* 71D9BC 802A124C AFB20028 */ sw $s2, 0x28($sp)
/* 71D9C0 802A1250 AFB10024 */ sw $s1, 0x24($sp)
/* 71D9C4 802A1254 F7B60038 */ sdc1 $f22, 0x38($sp)
/* 71D9C8 802A1258 F7B40030 */ sdc1 $f20, 0x30($sp)
/* 71D9CC 802A125C 0C00A67F */ jal rand_int
/* 71D9D0 802A1260 240400C8 */ addiu $a0, $zero, 0xc8
/* 71D9D4 802A1264 24040028 */ addiu $a0, $zero, 0x28
/* 71D9D8 802A1268 0C00A67F */ jal rand_int
/* 71D9DC 802A126C 24510064 */ addiu $s1, $v0, 0x64
/* 71D9E0 802A1270 241200C8 */ addiu $s2, $zero, 0xc8
/* 71D9E4 802A1274 8E030084 */ lw $v1, 0x84($s0)
/* 71D9E8 802A1278 30630003 */ andi $v1, $v1, 3
/* 71D9EC 802A127C 10600013 */ beqz $v1, .L802A12CC
/* 71D9F0 802A1280 0040802D */ daddu $s0, $v0, $zero
/* 71D9F4 802A1284 0C00A67F */ jal rand_int
/* 71D9F8 802A1288 24040064 */ addiu $a0, $zero, 0x64
/* 71D9FC 802A128C 00521021 */ addu $v0, $v0, $s2
/* 71DA00 802A1290 02221023 */ subu $v0, $s1, $v0
/* 71DA04 802A1294 4482B000 */ mtc1 $v0, $f22
/* 71DA08 802A1298 00000000 */ nop
/* 71DA0C 802A129C 4680B5A0 */ cvt.s.w $f22, $f22
/* 71DA10 802A12A0 0C00A67F */ jal rand_int
/* 71DA14 802A12A4 24040064 */ addiu $a0, $zero, 0x64
/* 71DA18 802A12A8 2442FFCE */ addiu $v0, $v0, -0x32
/* 71DA1C 802A12AC 02021023 */ subu $v0, $s0, $v0
/* 71DA20 802A12B0 4482A000 */ mtc1 $v0, $f20
/* 71DA24 802A12B4 00000000 */ nop
/* 71DA28 802A12B8 4680A520 */ cvt.s.w $f20, $f20
/* 71DA2C 802A12BC 0C00A67F */ jal rand_int
/* 71DA30 802A12C0 2404000A */ addiu $a0, $zero, 0xa
/* 71DA34 802A12C4 080A84C4 */ j .L802A1310
/* 71DA38 802A12C8 24040002 */ addiu $a0, $zero, 2
.L802A12CC:
/* 71DA3C 802A12CC 0C00A67F */ jal rand_int
/* 71DA40 802A12D0 24040064 */ addiu $a0, $zero, 0x64
/* 71DA44 802A12D4 244200C8 */ addiu $v0, $v0, 0xc8
/* 71DA48 802A12D8 02221023 */ subu $v0, $s1, $v0
/* 71DA4C 802A12DC 4482B000 */ mtc1 $v0, $f22
/* 71DA50 802A12E0 00000000 */ nop
/* 71DA54 802A12E4 4680B5A0 */ cvt.s.w $f22, $f22
/* 71DA58 802A12E8 0C00A67F */ jal rand_int
/* 71DA5C 802A12EC 24040064 */ addiu $a0, $zero, 0x64
/* 71DA60 802A12F0 2442FFCE */ addiu $v0, $v0, -0x32
/* 71DA64 802A12F4 02021023 */ subu $v0, $s0, $v0
/* 71DA68 802A12F8 4482A000 */ mtc1 $v0, $f20
/* 71DA6C 802A12FC 00000000 */ nop
/* 71DA70 802A1300 4680A520 */ cvt.s.w $f20, $f20
/* 71DA74 802A1304 0C00A67F */ jal rand_int
/* 71DA78 802A1308 2404000A */ addiu $a0, $zero, 0xa
/* 71DA7C 802A130C 24040003 */ addiu $a0, $zero, 3
.L802A1310:
/* 71DA80 802A1310 44911000 */ mtc1 $s1, $f2
/* 71DA84 802A1314 00000000 */ nop
/* 71DA88 802A1318 468010A0 */ cvt.s.w $f2, $f2
/* 71DA8C 802A131C 44051000 */ mfc1 $a1, $f2
/* 71DA90 802A1320 44921000 */ mtc1 $s2, $f2
/* 71DA94 802A1324 00000000 */ nop
/* 71DA98 802A1328 468010A0 */ cvt.s.w $f2, $f2
/* 71DA9C 802A132C 44061000 */ mfc1 $a2, $f2
/* 71DAA0 802A1330 44901000 */ mtc1 $s0, $f2
/* 71DAA4 802A1334 00000000 */ nop
/* 71DAA8 802A1338 468010A0 */ cvt.s.w $f2, $f2
/* 71DAAC 802A133C 24420007 */ addiu $v0, $v0, 7
/* 71DAB0 802A1340 44071000 */ mfc1 $a3, $f2
/* 71DAB4 802A1344 44820000 */ mtc1 $v0, $f0
/* 71DAB8 802A1348 00000000 */ nop
/* 71DABC 802A134C 46800020 */ cvt.s.w $f0, $f0
/* 71DAC0 802A1350 E7B60010 */ swc1 $f22, 0x10($sp)
/* 71DAC4 802A1354 AFA00014 */ sw $zero, 0x14($sp)
/* 71DAC8 802A1358 E7B40018 */ swc1 $f20, 0x18($sp)
/* 71DACC 802A135C 0C01BF8C */ jal func_8006FE30
/* 71DAD0 802A1360 E7A0001C */ swc1 $f0, 0x1c($sp)
/* 71DAD4 802A1364 8FBF002C */ lw $ra, 0x2c($sp)
/* 71DAD8 802A1368 8FB20028 */ lw $s2, 0x28($sp)
/* 71DADC 802A136C 8FB10024 */ lw $s1, 0x24($sp)
/* 71DAE0 802A1370 8FB00020 */ lw $s0, 0x20($sp)
/* 71DAE4 802A1374 D7B60038 */ ldc1 $f22, 0x38($sp)
/* 71DAE8 802A1378 D7B40030 */ ldc1 $f20, 0x30($sp)
/* 71DAEC 802A137C 24020002 */ addiu $v0, $zero, 2
/* 71DAF0 802A1380 03E00008 */ jr $ra
/* 71DAF4 802A1384 27BD0040 */ addiu $sp, $sp, 0x40

View File

@ -1,51 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1388_71DAF8
/* 71DAF8 802A1388 27BDFFD0 */ addiu $sp, $sp, -0x30
/* 71DAFC 802A138C AFB10024 */ sw $s1, 0x24($sp)
/* 71DB00 802A1390 0080882D */ daddu $s1, $a0, $zero
/* 71DB04 802A1394 AFBF002C */ sw $ra, 0x2c($sp)
/* 71DB08 802A1398 AFB20028 */ sw $s2, 0x28($sp)
/* 71DB0C 802A139C AFB00020 */ sw $s0, 0x20($sp)
/* 71DB10 802A13A0 8E30000C */ lw $s0, 0xc($s1)
/* 71DB14 802A13A4 8E050000 */ lw $a1, ($s0)
/* 71DB18 802A13A8 0C0B1EAF */ jal get_variable
/* 71DB1C 802A13AC 26100004 */ addiu $s0, $s0, 4
/* 71DB20 802A13B0 8E050000 */ lw $a1, ($s0)
/* 71DB24 802A13B4 26100004 */ addiu $s0, $s0, 4
/* 71DB28 802A13B8 0220202D */ daddu $a0, $s1, $zero
/* 71DB2C 802A13BC 0C0B1EAF */ jal get_variable
/* 71DB30 802A13C0 0040902D */ daddu $s2, $v0, $zero
/* 71DB34 802A13C4 0220202D */ daddu $a0, $s1, $zero
/* 71DB38 802A13C8 8E050000 */ lw $a1, ($s0)
/* 71DB3C 802A13CC 0C0B1EAF */ jal get_variable
/* 71DB40 802A13D0 0040802D */ daddu $s0, $v0, $zero
/* 71DB44 802A13D4 24040002 */ addiu $a0, $zero, 2
/* 71DB48 802A13D8 44921000 */ mtc1 $s2, $f2
/* 71DB4C 802A13DC 00000000 */ nop
/* 71DB50 802A13E0 468010A0 */ cvt.s.w $f2, $f2
/* 71DB54 802A13E4 44051000 */ mfc1 $a1, $f2
/* 71DB58 802A13E8 44901000 */ mtc1 $s0, $f2
/* 71DB5C 802A13EC 00000000 */ nop
/* 71DB60 802A13F0 468010A0 */ cvt.s.w $f2, $f2
/* 71DB64 802A13F4 44061000 */ mfc1 $a2, $f2
/* 71DB68 802A13F8 44821000 */ mtc1 $v0, $f2
/* 71DB6C 802A13FC 00000000 */ nop
/* 71DB70 802A1400 468010A0 */ cvt.s.w $f2, $f2
/* 71DB74 802A1404 3C01BF80 */ lui $at, 0xbf80
/* 71DB78 802A1408 44810000 */ mtc1 $at, $f0
/* 71DB7C 802A140C 44071000 */ mfc1 $a3, $f2
/* 71DB80 802A1410 24030005 */ addiu $v1, $zero, 5
/* 71DB84 802A1414 AFA00010 */ sw $zero, 0x10($sp)
/* 71DB88 802A1418 AFA00018 */ sw $zero, 0x18($sp)
/* 71DB8C 802A141C AFA3001C */ sw $v1, 0x1c($sp)
/* 71DB90 802A1420 0C01C064 */ jal func_80070190
/* 71DB94 802A1424 E7A00014 */ swc1 $f0, 0x14($sp)
/* 71DB98 802A1428 8FBF002C */ lw $ra, 0x2c($sp)
/* 71DB9C 802A142C 8FB20028 */ lw $s2, 0x28($sp)
/* 71DBA0 802A1430 8FB10024 */ lw $s1, 0x24($sp)
/* 71DBA4 802A1434 8FB00020 */ lw $s0, 0x20($sp)
/* 71DBA8 802A1438 24020002 */ addiu $v0, $zero, 2
/* 71DBAC 802A143C 03E00008 */ jr $ra
/* 71DBB0 802A1440 27BD0030 */ addiu $sp, $sp, 0x30

View File

@ -1,41 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1444_71DBB4
/* 71DBB4 802A1444 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 71DBB8 802A1448 AFB00010 */ sw $s0, 0x10($sp)
/* 71DBBC 802A144C 0080802D */ daddu $s0, $a0, $zero
/* 71DBC0 802A1450 10A0000E */ beqz $a1, .L802A148C
/* 71DBC4 802A1454 AFBF0014 */ sw $ra, 0x14($sp)
/* 71DBC8 802A1458 0C04760B */ jal func_8011D82C
/* 71DBCC 802A145C 24040001 */ addiu $a0, $zero, 1
/* 71DBD0 802A1460 0000202D */ daddu $a0, $zero, $zero
/* 71DBD4 802A1464 0080282D */ daddu $a1, $a0, $zero
/* 71DBD8 802A1468 0080302D */ daddu $a2, $a0, $zero
/* 71DBDC 802A146C 0080382D */ daddu $a3, $a0, $zero
/* 71DBE0 802A1470 3C028015 */ lui $v0, %hi(D_801512F0)
/* 71DBE4 802A1474 8C4212F0 */ lw $v0, %lo(D_801512F0)($v0)
/* 71DBE8 802A1478 24030001 */ addiu $v1, $zero, 1
/* 71DBEC 802A147C 0C046F97 */ jal set_background_color_blend
/* 71DBF0 802A1480 A0430000 */ sb $v1, ($v0)
/* 71DBF4 802A1484 2402000A */ addiu $v0, $zero, 0xa
/* 71DBF8 802A1488 AE020070 */ sw $v0, 0x70($s0)
.L802A148C:
/* 71DBFC 802A148C 0000202D */ daddu $a0, $zero, $zero
/* 71DC00 802A1490 0080282D */ daddu $a1, $a0, $zero
/* 71DC04 802A1494 0080302D */ daddu $a2, $a0, $zero
/* 71DC08 802A1498 8E020070 */ lw $v0, 0x70($s0)
/* 71DC0C 802A149C 2407000A */ addiu $a3, $zero, 0xa
/* 71DC10 802A14A0 00E23823 */ subu $a3, $a3, $v0
/* 71DC14 802A14A4 00073900 */ sll $a3, $a3, 4
/* 71DC18 802A14A8 0C046F97 */ jal set_background_color_blend
/* 71DC1C 802A14AC 30E700F0 */ andi $a3, $a3, 0xf0
/* 71DC20 802A14B0 8E020070 */ lw $v0, 0x70($s0)
/* 71DC24 802A14B4 2442FFFF */ addiu $v0, $v0, -1
/* 71DC28 802A14B8 AE020070 */ sw $v0, 0x70($s0)
/* 71DC2C 802A14BC 2C420001 */ sltiu $v0, $v0, 1
/* 71DC30 802A14C0 8FBF0014 */ lw $ra, 0x14($sp)
/* 71DC34 802A14C4 8FB00010 */ lw $s0, 0x10($sp)
/* 71DC38 802A14C8 00021040 */ sll $v0, $v0, 1
/* 71DC3C 802A14CC 03E00008 */ jr $ra
/* 71DC40 802A14D0 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,38 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A14D4_71DC44
/* 71DC44 802A14D4 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 71DC48 802A14D8 AFB00010 */ sw $s0, 0x10($sp)
/* 71DC4C 802A14DC 0080802D */ daddu $s0, $a0, $zero
/* 71DC50 802A14E0 10A00003 */ beqz $a1, .L802A14F0
/* 71DC54 802A14E4 AFBF0014 */ sw $ra, 0x14($sp)
/* 71DC58 802A14E8 2402000A */ addiu $v0, $zero, 0xa
/* 71DC5C 802A14EC AE020070 */ sw $v0, 0x70($s0)
.L802A14F0:
/* 71DC60 802A14F0 0000202D */ daddu $a0, $zero, $zero
/* 71DC64 802A14F4 0080282D */ daddu $a1, $a0, $zero
/* 71DC68 802A14F8 8E070070 */ lw $a3, 0x70($s0)
/* 71DC6C 802A14FC 0080302D */ daddu $a2, $a0, $zero
/* 71DC70 802A1500 00073900 */ sll $a3, $a3, 4
/* 71DC74 802A1504 0C046F97 */ jal set_background_color_blend
/* 71DC78 802A1508 30E700F0 */ andi $a3, $a3, 0xf0
/* 71DC7C 802A150C 8E020070 */ lw $v0, 0x70($s0)
/* 71DC80 802A1510 2442FFFF */ addiu $v0, $v0, -1
/* 71DC84 802A1514 10400003 */ beqz $v0, .L802A1524
/* 71DC88 802A1518 AE020070 */ sw $v0, 0x70($s0)
/* 71DC8C 802A151C 080A854F */ j .L802A153C
/* 71DC90 802A1520 0000102D */ daddu $v0, $zero, $zero
.L802A1524:
/* 71DC94 802A1524 0000202D */ daddu $a0, $zero, $zero
/* 71DC98 802A1528 0080282D */ daddu $a1, $a0, $zero
/* 71DC9C 802A152C 0080302D */ daddu $a2, $a0, $zero
/* 71DCA0 802A1530 0C046F97 */ jal set_background_color_blend
/* 71DCA4 802A1534 0080382D */ daddu $a3, $a0, $zero
/* 71DCA8 802A1538 24020002 */ addiu $v0, $zero, 2
.L802A153C:
/* 71DCAC 802A153C 8FBF0014 */ lw $ra, 0x14($sp)
/* 71DCB0 802A1540 8FB00010 */ lw $s0, 0x10($sp)
/* 71DCB4 802A1544 03E00008 */ jr $ra
/* 71DCB8 802A1548 27BD0018 */ addiu $sp, $sp, 0x18
/* 71DCBC 802A154C 00000000 */ nop

View File

@ -1,125 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1000_724240
/* 724240 802A1000 27BDFF98 */ addiu $sp, $sp, -0x68
/* 724244 802A1004 AFB50044 */ sw $s5, 0x44($sp)
/* 724248 802A1008 0080A82D */ daddu $s5, $a0, $zero
/* 72424C 802A100C AFB10034 */ sw $s1, 0x34($sp)
/* 724250 802A1010 0000882D */ daddu $s1, $zero, $zero
/* 724254 802A1014 2405001D */ addiu $a1, $zero, 0x1d
/* 724258 802A1018 F7B40050 */ sdc1 $f20, 0x50($sp)
/* 72425C 802A101C 4480A000 */ mtc1 $zero, $f20
/* 724260 802A1020 3C02800E */ lui $v0, %hi(gBattleStatus)
/* 724264 802A1024 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus)
/* 724268 802A1028 AFBF0048 */ sw $ra, 0x48($sp)
/* 72426C 802A102C AFB40040 */ sw $s4, 0x40($sp)
/* 724270 802A1030 AFB3003C */ sw $s3, 0x3c($sp)
/* 724274 802A1034 AFB20038 */ sw $s2, 0x38($sp)
/* 724278 802A1038 AFB00030 */ sw $s0, 0x30($sp)
/* 72427C 802A103C F7B80060 */ sdc1 $f24, 0x60($sp)
/* 724280 802A1040 F7B60058 */ sdc1 $f22, 0x58($sp)
/* 724284 802A1044 8C5300D8 */ lw $s3, 0xd8($v0)
/* 724288 802A1048 8442017A */ lh $v0, 0x17a($v0)
/* 72428C 802A104C 0260202D */ daddu $a0, $s3, $zero
/* 724290 802A1050 00021140 */ sll $v0, $v0, 5
/* 724294 802A1054 3C128008 */ lui $s2, %hi(gItemTable+0xC)
/* 724298 802A1058 02429021 */ addu $s2, $s2, $v0
/* 72429C 802A105C 865278EC */ lh $s2, %lo(gItemTable+0xC)($s2)
/* 7242A0 802A1060 92620191 */ lbu $v0, 0x191($s3)
/* 7242A4 802A1064 C6620148 */ lwc1 $f2, 0x148($s3)
/* 7242A8 802A1068 44820000 */ mtc1 $v0, $f0
/* 7242AC 802A106C 00000000 */ nop
/* 7242B0 802A1070 46800020 */ cvt.s.w $f0, $f0
/* 7242B4 802A1074 0C099CAB */ jal heroes_is_ability_active
/* 7242B8 802A1078 46001580 */ add.s $f22, $f2, $f0
/* 7242BC 802A107C 50400048 */ beql $v0, $zero, .L802A11A0
/* 7242C0 802A1080 AEB10084 */ sw $s1, 0x84($s5)
/* 7242C4 802A1084 1A400045 */ blez $s2, .L802A119C
/* 7242C8 802A1088 3C0451EB */ lui $a0, 0x51eb
/* 7242CC 802A108C 3484851F */ ori $a0, $a0, 0x851f
/* 7242D0 802A1090 00121880 */ sll $v1, $s2, 2
/* 7242D4 802A1094 00721821 */ addu $v1, $v1, $s2
/* 7242D8 802A1098 00031100 */ sll $v0, $v1, 4
/* 7242DC 802A109C 00431023 */ subu $v0, $v0, $v1
/* 7242E0 802A10A0 24420063 */ addiu $v0, $v0, 0x63
/* 7242E4 802A10A4 00440018 */ mult $v0, $a0
/* 7242E8 802A10A8 000217C3 */ sra $v0, $v0, 0x1f
/* 7242EC 802A10AC 00004010 */ mfhi $t0
/* 7242F0 802A10B0 00081943 */ sra $v1, $t0, 5
/* 7242F4 802A10B4 00629023 */ subu $s2, $v1, $v0
/* 7242F8 802A10B8 0232102A */ slt $v0, $s1, $s2
/* 7242FC 802A10BC 10400019 */ beqz $v0, .L802A1124
/* 724300 802A10C0 0220802D */ daddu $s0, $s1, $zero
/* 724304 802A10C4 24140017 */ addiu $s4, $zero, 0x17
/* 724308 802A10C8 3C0141F0 */ lui $at, 0x41f0
/* 72430C 802A10CC 4481C000 */ mtc1 $at, $f24
/* 724310 802A10D0 24110001 */ addiu $s1, $zero, 1
.L802A10D4:
/* 724314 802A10D4 C6600144 */ lwc1 $f0, 0x144($s3)
/* 724318 802A10D8 C662014C */ lwc1 $f2, 0x14c($s3)
/* 72431C 802A10DC 4600A10D */ trunc.w.s $f4, $f20
/* 724320 802A10E0 E7A40018 */ swc1 $f4, 0x18($sp)
/* 724324 802A10E4 24040157 */ addiu $a0, $zero, 0x157
/* 724328 802A10E8 AFB10014 */ sw $s1, 0x14($sp)
/* 72432C 802A10EC 26310003 */ addiu $s1, $s1, 3
/* 724330 802A10F0 26100001 */ addiu $s0, $s0, 1
/* 724334 802A10F4 4406B000 */ mfc1 $a2, $f22
/* 724338 802A10F8 44050000 */ mfc1 $a1, $f0
/* 72433C 802A10FC 44071000 */ mfc1 $a3, $f2
/* 724340 802A1100 4618A500 */ add.s $f20, $f20, $f24
/* 724344 802A1104 AFB40010 */ sw $s4, 0x10($sp)
/* 724348 802A1108 0C04C4FD */ jal make_item_entity
/* 72434C 802A110C AFA0001C */ sw $zero, 0x1c($sp)
/* 724350 802A1110 0C03A830 */ jal add_coins
/* 724354 802A1114 24040001 */ addiu $a0, $zero, 1
/* 724358 802A1118 0212102A */ slt $v0, $s0, $s2
/* 72435C 802A111C 1440FFED */ bnez $v0, .L802A10D4
/* 724360 802A1120 00000000 */ nop
.L802A1124:
/* 724364 802A1124 00101040 */ sll $v0, $s0, 1
/* 724368 802A1128 00501021 */ addu $v0, $v0, $s0
/* 72436C 802A112C 2451001E */ addiu $s1, $v0, 0x1e
/* 724370 802A1130 C6600144 */ lwc1 $f0, 0x144($s3)
/* 724374 802A1134 C6760148 */ lwc1 $f22, 0x148($s3)
/* 724378 802A1138 C662014C */ lwc1 $f2, 0x14c($s3)
/* 72437C 802A113C 3C048007 */ lui $a0, %hi(gCurrentCameraID)
/* 724380 802A1140 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
/* 724384 802A1144 27A20020 */ addiu $v0, $sp, 0x20
/* 724388 802A1148 AFA20010 */ sw $v0, 0x10($sp)
/* 72438C 802A114C 27A20024 */ addiu $v0, $sp, 0x24
/* 724390 802A1150 AFA20014 */ sw $v0, 0x14($sp)
/* 724394 802A1154 44050000 */ mfc1 $a1, $f0
/* 724398 802A1158 4406B000 */ mfc1 $a2, $f22
/* 72439C 802A115C 44071000 */ mfc1 $a3, $f2
/* 7243A0 802A1160 27A20028 */ addiu $v0, $sp, 0x28
/* 7243A4 802A1164 0C00B94E */ jal get_screen_coords
/* 7243A8 802A1168 AFA20018 */ sw $v0, 0x18($sp)
/* 7243AC 802A116C 3C048011 */ lui $a0, %hi(D_80108A64)
/* 7243B0 802A1170 24848A64 */ addiu $a0, $a0, %lo(D_80108A64)
/* 7243B4 802A1174 0C050529 */ jal create_icon
/* 7243B8 802A1178 00000000 */ nop
/* 7243BC 802A117C 8FA50020 */ lw $a1, 0x20($sp)
/* 7243C0 802A1180 8FA60024 */ lw $a2, 0x24($sp)
/* 7243C4 802A1184 0040202D */ daddu $a0, $v0, $zero
/* 7243C8 802A1188 3C01802A */ lui $at, %hi(D_802A1AA0)
/* 7243CC 802A118C AC241AA0 */ sw $a0, %lo(D_802A1AA0)($at)
/* 7243D0 802A1190 24A50024 */ addiu $a1, $a1, 0x24
/* 7243D4 802A1194 0C051261 */ jal set_icon_render_pos
/* 7243D8 802A1198 24C6FFC1 */ addiu $a2, $a2, -0x3f
.L802A119C:
/* 7243DC 802A119C AEB10084 */ sw $s1, 0x84($s5)
.L802A11A0:
/* 7243E0 802A11A0 8FBF0048 */ lw $ra, 0x48($sp)
/* 7243E4 802A11A4 8FB50044 */ lw $s5, 0x44($sp)
/* 7243E8 802A11A8 8FB40040 */ lw $s4, 0x40($sp)
/* 7243EC 802A11AC 8FB3003C */ lw $s3, 0x3c($sp)
/* 7243F0 802A11B0 8FB20038 */ lw $s2, 0x38($sp)
/* 7243F4 802A11B4 8FB10034 */ lw $s1, 0x34($sp)
/* 7243F8 802A11B8 8FB00030 */ lw $s0, 0x30($sp)
/* 7243FC 802A11BC D7B80060 */ ldc1 $f24, 0x60($sp)
/* 724400 802A11C0 D7B60058 */ ldc1 $f22, 0x58($sp)
/* 724404 802A11C4 D7B40050 */ ldc1 $f20, 0x50($sp)
/* 724408 802A11C8 24020002 */ addiu $v0, $zero, 2
/* 72440C 802A11CC 03E00008 */ jr $ra
/* 724410 802A11D0 27BD0068 */ addiu $sp, $sp, 0x68

View File

@ -1,31 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A11D4_724414
/* 724414 802A11D4 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 724418 802A11D8 3C03800E */ lui $v1, %hi(gBattleStatus)
/* 72441C 802A11DC 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
/* 724420 802A11E0 AFBF0014 */ sw $ra, 0x14($sp)
/* 724424 802A11E4 AFB00010 */ sw $s0, 0x10($sp)
/* 724428 802A11E8 8462017A */ lh $v0, 0x17a($v1)
/* 72442C 802A11EC 8C6400D8 */ lw $a0, 0xd8($v1)
/* 724430 802A11F0 00021140 */ sll $v0, $v0, 5
/* 724434 802A11F4 3C108008 */ lui $s0, %hi(gItemTable+0xC)
/* 724438 802A11F8 02028021 */ addu $s0, $s0, $v0
/* 72443C 802A11FC 861078EC */ lh $s0, %lo(gItemTable+0xC)($s0)
/* 724440 802A1200 0C099CAB */ jal heroes_is_ability_active
/* 724444 802A1204 2405001D */ addiu $a1, $zero, 0x1d
/* 724448 802A1208 10400007 */ beqz $v0, .L802A1228
/* 72444C 802A120C 00000000 */ nop
/* 724450 802A1210 1A000005 */ blez $s0, .L802A1228
/* 724454 802A1214 00000000 */ nop
/* 724458 802A1218 3C04802A */ lui $a0, %hi(D_802A1AA0)
/* 72445C 802A121C 8C841AA0 */ lw $a0, %lo(D_802A1AA0)($a0)
/* 724460 802A1220 0C05123D */ jal free_icon
/* 724464 802A1224 00000000 */ nop
.L802A1228:
/* 724468 802A1228 8FBF0014 */ lw $ra, 0x14($sp)
/* 72446C 802A122C 8FB00010 */ lw $s0, 0x10($sp)
/* 724470 802A1230 24020002 */ addiu $v0, $zero, 2
/* 724474 802A1234 03E00008 */ jr $ra
/* 724478 802A1238 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,52 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A123C_72447C
/* 72447C 802A123C 27BDFFD0 */ addiu $sp, $sp, -0x30
/* 724480 802A1240 AFB1001C */ sw $s1, 0x1c($sp)
/* 724484 802A1244 0080882D */ daddu $s1, $a0, $zero
/* 724488 802A1248 AFBF0028 */ sw $ra, 0x28($sp)
/* 72448C 802A124C AFB30024 */ sw $s3, 0x24($sp)
/* 724490 802A1250 AFB20020 */ sw $s2, 0x20($sp)
/* 724494 802A1254 AFB00018 */ sw $s0, 0x18($sp)
/* 724498 802A1258 8E30000C */ lw $s0, 0xc($s1)
/* 72449C 802A125C 8E050000 */ lw $a1, ($s0)
/* 7244A0 802A1260 0C0B1EAF */ jal get_variable
/* 7244A4 802A1264 26100004 */ addiu $s0, $s0, 4
/* 7244A8 802A1268 8E050000 */ lw $a1, ($s0)
/* 7244AC 802A126C 26100004 */ addiu $s0, $s0, 4
/* 7244B0 802A1270 0220202D */ daddu $a0, $s1, $zero
/* 7244B4 802A1274 0C0B1EAF */ jal get_variable
/* 7244B8 802A1278 0040982D */ daddu $s3, $v0, $zero
/* 7244BC 802A127C 8E050000 */ lw $a1, ($s0)
/* 7244C0 802A1280 26100004 */ addiu $s0, $s0, 4
/* 7244C4 802A1284 0220202D */ daddu $a0, $s1, $zero
/* 7244C8 802A1288 0C0B1EAF */ jal get_variable
/* 7244CC 802A128C 0040902D */ daddu $s2, $v0, $zero
/* 7244D0 802A1290 0220202D */ daddu $a0, $s1, $zero
/* 7244D4 802A1294 8E050000 */ lw $a1, ($s0)
/* 7244D8 802A1298 0C0B1EAF */ jal get_variable
/* 7244DC 802A129C 0040802D */ daddu $s0, $v0, $zero
/* 7244E0 802A12A0 44930000 */ mtc1 $s3, $f0
/* 7244E4 802A12A4 00000000 */ nop
/* 7244E8 802A12A8 46800020 */ cvt.s.w $f0, $f0
/* 7244EC 802A12AC 44050000 */ mfc1 $a1, $f0
/* 7244F0 802A12B0 44920000 */ mtc1 $s2, $f0
/* 7244F4 802A12B4 00000000 */ nop
/* 7244F8 802A12B8 46800020 */ cvt.s.w $f0, $f0
/* 7244FC 802A12BC 44060000 */ mfc1 $a2, $f0
/* 724500 802A12C0 44900000 */ mtc1 $s0, $f0
/* 724504 802A12C4 00000000 */ nop
/* 724508 802A12C8 46800020 */ cvt.s.w $f0, $f0
/* 72450C 802A12CC 44070000 */ mfc1 $a3, $f0
/* 724510 802A12D0 0000202D */ daddu $a0, $zero, $zero
/* 724514 802A12D4 0C01C424 */ jal func_80071090
/* 724518 802A12D8 AFA20010 */ sw $v0, 0x10($sp)
/* 72451C 802A12DC 8FBF0028 */ lw $ra, 0x28($sp)
/* 724520 802A12E0 8FB30024 */ lw $s3, 0x24($sp)
/* 724524 802A12E4 8FB20020 */ lw $s2, 0x20($sp)
/* 724528 802A12E8 8FB1001C */ lw $s1, 0x1c($sp)
/* 72452C 802A12EC 8FB00018 */ lw $s0, 0x18($sp)
/* 724530 802A12F0 24020002 */ addiu $v0, $zero, 2
/* 724534 802A12F4 03E00008 */ jr $ra
/* 724538 802A12F8 27BD0030 */ addiu $sp, $sp, 0x30

View File

@ -1,18 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A12FC_72453C
/* 72453C 802A12FC 3C048011 */ lui $a0, %hi(gPlayerData)
/* 724540 802A1300 2484F290 */ addiu $a0, $a0, %lo(gPlayerData)
/* 724544 802A1304 90820002 */ lbu $v0, 2($a0)
/* 724548 802A1308 80830003 */ lb $v1, 3($a0)
/* 72454C 802A130C 24420014 */ addiu $v0, $v0, 0x14
/* 724550 802A1310 A0820002 */ sb $v0, 2($a0)
/* 724554 802A1314 00021600 */ sll $v0, $v0, 0x18
/* 724558 802A1318 00021603 */ sra $v0, $v0, 0x18
/* 72455C 802A131C 0062182A */ slt $v1, $v1, $v0
/* 724560 802A1320 90820003 */ lbu $v0, 3($a0)
/* 724564 802A1324 54600001 */ bnel $v1, $zero, .L802A132C
/* 724568 802A1328 A0820002 */ sb $v0, 2($a0)
.L802A132C:
/* 72456C 802A132C 03E00008 */ jr $ra

View File

@ -1,125 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1000_727910
/* 727910 802A1000 27BDFF98 */ addiu $sp, $sp, -0x68
/* 727914 802A1004 AFB50044 */ sw $s5, 0x44($sp)
/* 727918 802A1008 0080A82D */ daddu $s5, $a0, $zero
/* 72791C 802A100C AFB10034 */ sw $s1, 0x34($sp)
/* 727920 802A1010 0000882D */ daddu $s1, $zero, $zero
/* 727924 802A1014 2405001D */ addiu $a1, $zero, 0x1d
/* 727928 802A1018 F7B40050 */ sdc1 $f20, 0x50($sp)
/* 72792C 802A101C 4480A000 */ mtc1 $zero, $f20
/* 727930 802A1020 3C02800E */ lui $v0, %hi(gBattleStatus)
/* 727934 802A1024 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus)
/* 727938 802A1028 AFBF0048 */ sw $ra, 0x48($sp)
/* 72793C 802A102C AFB40040 */ sw $s4, 0x40($sp)
/* 727940 802A1030 AFB3003C */ sw $s3, 0x3c($sp)
/* 727944 802A1034 AFB20038 */ sw $s2, 0x38($sp)
/* 727948 802A1038 AFB00030 */ sw $s0, 0x30($sp)
/* 72794C 802A103C F7B80060 */ sdc1 $f24, 0x60($sp)
/* 727950 802A1040 F7B60058 */ sdc1 $f22, 0x58($sp)
/* 727954 802A1044 8C5300D8 */ lw $s3, 0xd8($v0)
/* 727958 802A1048 8442017A */ lh $v0, 0x17a($v0)
/* 72795C 802A104C 0260202D */ daddu $a0, $s3, $zero
/* 727960 802A1050 00021140 */ sll $v0, $v0, 5
/* 727964 802A1054 3C128008 */ lui $s2, %hi(gItemTable+0xC)
/* 727968 802A1058 02429021 */ addu $s2, $s2, $v0
/* 72796C 802A105C 865278EC */ lh $s2, %lo(gItemTable+0xC)($s2)
/* 727970 802A1060 92620191 */ lbu $v0, 0x191($s3)
/* 727974 802A1064 C6620148 */ lwc1 $f2, 0x148($s3)
/* 727978 802A1068 44820000 */ mtc1 $v0, $f0
/* 72797C 802A106C 00000000 */ nop
/* 727980 802A1070 46800020 */ cvt.s.w $f0, $f0
/* 727984 802A1074 0C099CAB */ jal heroes_is_ability_active
/* 727988 802A1078 46001580 */ add.s $f22, $f2, $f0
/* 72798C 802A107C 50400048 */ beql $v0, $zero, .L802A11A0
/* 727990 802A1080 AEB10084 */ sw $s1, 0x84($s5)
/* 727994 802A1084 1A400045 */ blez $s2, .L802A119C
/* 727998 802A1088 3C0451EB */ lui $a0, 0x51eb
/* 72799C 802A108C 3484851F */ ori $a0, $a0, 0x851f
/* 7279A0 802A1090 00121880 */ sll $v1, $s2, 2
/* 7279A4 802A1094 00721821 */ addu $v1, $v1, $s2
/* 7279A8 802A1098 00031100 */ sll $v0, $v1, 4
/* 7279AC 802A109C 00431023 */ subu $v0, $v0, $v1
/* 7279B0 802A10A0 24420063 */ addiu $v0, $v0, 0x63
/* 7279B4 802A10A4 00440018 */ mult $v0, $a0
/* 7279B8 802A10A8 000217C3 */ sra $v0, $v0, 0x1f
/* 7279BC 802A10AC 00004010 */ mfhi $t0
/* 7279C0 802A10B0 00081943 */ sra $v1, $t0, 5
/* 7279C4 802A10B4 00629023 */ subu $s2, $v1, $v0
/* 7279C8 802A10B8 0232102A */ slt $v0, $s1, $s2
/* 7279CC 802A10BC 10400019 */ beqz $v0, .L802A1124
/* 7279D0 802A10C0 0220802D */ daddu $s0, $s1, $zero
/* 7279D4 802A10C4 24140017 */ addiu $s4, $zero, 0x17
/* 7279D8 802A10C8 3C0141F0 */ lui $at, 0x41f0
/* 7279DC 802A10CC 4481C000 */ mtc1 $at, $f24
/* 7279E0 802A10D0 24110001 */ addiu $s1, $zero, 1
.L802A10D4:
/* 7279E4 802A10D4 C6600144 */ lwc1 $f0, 0x144($s3)
/* 7279E8 802A10D8 C662014C */ lwc1 $f2, 0x14c($s3)
/* 7279EC 802A10DC 4600A10D */ trunc.w.s $f4, $f20
/* 7279F0 802A10E0 E7A40018 */ swc1 $f4, 0x18($sp)
/* 7279F4 802A10E4 24040157 */ addiu $a0, $zero, 0x157
/* 7279F8 802A10E8 AFB10014 */ sw $s1, 0x14($sp)
/* 7279FC 802A10EC 26310003 */ addiu $s1, $s1, 3
/* 727A00 802A10F0 26100001 */ addiu $s0, $s0, 1
/* 727A04 802A10F4 4406B000 */ mfc1 $a2, $f22
/* 727A08 802A10F8 44050000 */ mfc1 $a1, $f0
/* 727A0C 802A10FC 44071000 */ mfc1 $a3, $f2
/* 727A10 802A1100 4618A500 */ add.s $f20, $f20, $f24
/* 727A14 802A1104 AFB40010 */ sw $s4, 0x10($sp)
/* 727A18 802A1108 0C04C4FD */ jal make_item_entity
/* 727A1C 802A110C AFA0001C */ sw $zero, 0x1c($sp)
/* 727A20 802A1110 0C03A830 */ jal add_coins
/* 727A24 802A1114 24040001 */ addiu $a0, $zero, 1
/* 727A28 802A1118 0212102A */ slt $v0, $s0, $s2
/* 727A2C 802A111C 1440FFED */ bnez $v0, .L802A10D4
/* 727A30 802A1120 00000000 */ nop
.L802A1124:
/* 727A34 802A1124 00101040 */ sll $v0, $s0, 1
/* 727A38 802A1128 00501021 */ addu $v0, $v0, $s0
/* 727A3C 802A112C 2451001E */ addiu $s1, $v0, 0x1e
/* 727A40 802A1130 C6600144 */ lwc1 $f0, 0x144($s3)
/* 727A44 802A1134 C6760148 */ lwc1 $f22, 0x148($s3)
/* 727A48 802A1138 C662014C */ lwc1 $f2, 0x14c($s3)
/* 727A4C 802A113C 3C048007 */ lui $a0, %hi(gCurrentCameraID)
/* 727A50 802A1140 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
/* 727A54 802A1144 27A20020 */ addiu $v0, $sp, 0x20
/* 727A58 802A1148 AFA20010 */ sw $v0, 0x10($sp)
/* 727A5C 802A114C 27A20024 */ addiu $v0, $sp, 0x24
/* 727A60 802A1150 AFA20014 */ sw $v0, 0x14($sp)
/* 727A64 802A1154 44050000 */ mfc1 $a1, $f0
/* 727A68 802A1158 4406B000 */ mfc1 $a2, $f22
/* 727A6C 802A115C 44071000 */ mfc1 $a3, $f2
/* 727A70 802A1160 27A20028 */ addiu $v0, $sp, 0x28
/* 727A74 802A1164 0C00B94E */ jal get_screen_coords
/* 727A78 802A1168 AFA20018 */ sw $v0, 0x18($sp)
/* 727A7C 802A116C 3C048011 */ lui $a0, %hi(D_80108A64)
/* 727A80 802A1170 24848A64 */ addiu $a0, $a0, %lo(D_80108A64)
/* 727A84 802A1174 0C050529 */ jal create_icon
/* 727A88 802A1178 00000000 */ nop
/* 727A8C 802A117C 8FA50020 */ lw $a1, 0x20($sp)
/* 727A90 802A1180 8FA60024 */ lw $a2, 0x24($sp)
/* 727A94 802A1184 0040202D */ daddu $a0, $v0, $zero
/* 727A98 802A1188 3C01802A */ lui $at, %hi(D_802A1CD4)
/* 727A9C 802A118C AC241CD4 */ sw $a0, %lo(D_802A1CD4)($at)
/* 727AA0 802A1190 24A50024 */ addiu $a1, $a1, 0x24
/* 727AA4 802A1194 0C051261 */ jal set_icon_render_pos
/* 727AA8 802A1198 24C6FFC1 */ addiu $a2, $a2, -0x3f
.L802A119C:
/* 727AAC 802A119C AEB10084 */ sw $s1, 0x84($s5)
.L802A11A0:
/* 727AB0 802A11A0 8FBF0048 */ lw $ra, 0x48($sp)
/* 727AB4 802A11A4 8FB50044 */ lw $s5, 0x44($sp)
/* 727AB8 802A11A8 8FB40040 */ lw $s4, 0x40($sp)
/* 727ABC 802A11AC 8FB3003C */ lw $s3, 0x3c($sp)
/* 727AC0 802A11B0 8FB20038 */ lw $s2, 0x38($sp)
/* 727AC4 802A11B4 8FB10034 */ lw $s1, 0x34($sp)
/* 727AC8 802A11B8 8FB00030 */ lw $s0, 0x30($sp)
/* 727ACC 802A11BC D7B80060 */ ldc1 $f24, 0x60($sp)
/* 727AD0 802A11C0 D7B60058 */ ldc1 $f22, 0x58($sp)
/* 727AD4 802A11C4 D7B40050 */ ldc1 $f20, 0x50($sp)
/* 727AD8 802A11C8 24020002 */ addiu $v0, $zero, 2
/* 727ADC 802A11CC 03E00008 */ jr $ra
/* 727AE0 802A11D0 27BD0068 */ addiu $sp, $sp, 0x68

View File

@ -1,31 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A11D4_727AE4
/* 727AE4 802A11D4 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 727AE8 802A11D8 3C03800E */ lui $v1, %hi(gBattleStatus)
/* 727AEC 802A11DC 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
/* 727AF0 802A11E0 AFBF0014 */ sw $ra, 0x14($sp)
/* 727AF4 802A11E4 AFB00010 */ sw $s0, 0x10($sp)
/* 727AF8 802A11E8 8462017A */ lh $v0, 0x17a($v1)
/* 727AFC 802A11EC 8C6400D8 */ lw $a0, 0xd8($v1)
/* 727B00 802A11F0 00021140 */ sll $v0, $v0, 5
/* 727B04 802A11F4 3C108008 */ lui $s0, %hi(gItemTable+0xC)
/* 727B08 802A11F8 02028021 */ addu $s0, $s0, $v0
/* 727B0C 802A11FC 861078EC */ lh $s0, %lo(gItemTable+0xC)($s0)
/* 727B10 802A1200 0C099CAB */ jal heroes_is_ability_active
/* 727B14 802A1204 2405001D */ addiu $a1, $zero, 0x1d
/* 727B18 802A1208 10400007 */ beqz $v0, .L802A1228
/* 727B1C 802A120C 00000000 */ nop
/* 727B20 802A1210 1A000005 */ blez $s0, .L802A1228
/* 727B24 802A1214 00000000 */ nop
/* 727B28 802A1218 3C04802A */ lui $a0, %hi(D_802A1CD4)
/* 727B2C 802A121C 8C841CD4 */ lw $a0, %lo(D_802A1CD4)($a0)
/* 727B30 802A1220 0C05123D */ jal free_icon
/* 727B34 802A1224 00000000 */ nop
.L802A1228:
/* 727B38 802A1228 8FBF0014 */ lw $ra, 0x14($sp)
/* 727B3C 802A122C 8FB00010 */ lw $s0, 0x10($sp)
/* 727B40 802A1230 24020002 */ addiu $v0, $zero, 2
/* 727B44 802A1234 03E00008 */ jr $ra
/* 727B48 802A1238 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,17 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A123C_727B4C
/* 727B4C 802A123C 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 727B50 802A1240 0000202D */ daddu $a0, $zero, $zero
/* 727B54 802A1244 0080282D */ daddu $a1, $a0, $zero
/* 727B58 802A1248 24060140 */ addiu $a2, $zero, 0x140
/* 727B5C 802A124C 3C014320 */ lui $at, 0x4320
/* 727B60 802A1250 44810000 */ mtc1 $at, $f0
/* 727B64 802A1254 240700F0 */ addiu $a3, $zero, 0xf0
/* 727B68 802A1258 AFBF0018 */ sw $ra, 0x18($sp)
/* 727B6C 802A125C 0C04E362 */ jal func_80138D88
/* 727B70 802A1260 E7A00010 */ swc1 $f0, 0x10($sp)
/* 727B74 802A1264 8FBF0018 */ lw $ra, 0x18($sp)
/* 727B78 802A1268 03E00008 */ jr $ra
/* 727B7C 802A126C 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,96 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1270_727B80
/* 727B80 802A1270 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 727B84 802A1274 AFB00018 */ sw $s0, 0x18($sp)
/* 727B88 802A1278 0080802D */ daddu $s0, $a0, $zero
/* 727B8C 802A127C AFB1001C */ sw $s1, 0x1c($sp)
/* 727B90 802A1280 3C11800B */ lui $s1, %hi(D_800B22D8)
/* 727B94 802A1284 263122D8 */ addiu $s1, $s1, %lo(D_800B22D8)
/* 727B98 802A1288 10A00002 */ beqz $a1, .L802A1294
/* 727B9C 802A128C AFBF0020 */ sw $ra, 0x20($sp)
/* 727BA0 802A1290 AE000070 */ sw $zero, 0x70($s0)
.L802A1294:
/* 727BA4 802A1294 8E030070 */ lw $v1, 0x70($s0)
/* 727BA8 802A1298 10600005 */ beqz $v1, .L802A12B0
/* 727BAC 802A129C 24020001 */ addiu $v0, $zero, 1
/* 727BB0 802A12A0 10620010 */ beq $v1, $v0, .L802A12E4
/* 727BB4 802A12A4 0000102D */ daddu $v0, $zero, $zero
/* 727BB8 802A12A8 080A84EF */ j .L802A13BC
/* 727BBC 802A12AC 00000000 */ nop
.L802A12B0:
/* 727BC0 802A12B0 24042033 */ addiu $a0, $zero, 0x2033
/* 727BC4 802A12B4 AE000074 */ sw $zero, 0x74($s0)
/* 727BC8 802A12B8 0C05272D */ jal play_sound
/* 727BCC 802A12BC AE000078 */ sw $zero, 0x78($s0)
/* 727BD0 802A12C0 0000202D */ daddu $a0, $zero, $zero
/* 727BD4 802A12C4 3C05802A */ lui $a1, %hi(func_802A123C_727B4C)
/* 727BD8 802A12C8 24A5123C */ addiu $a1, $a1, %lo(func_802A123C_727B4C)
/* 727BDC 802A12CC 0C048C8F */ jal bind_dynamic_entity_7
/* 727BE0 802A12D0 A620001C */ sh $zero, 0x1c($s1)
/* 727BE4 802A12D4 3C01802A */ lui $at, %hi(D_802A1CD0)
/* 727BE8 802A12D8 AC221CD0 */ sw $v0, %lo(D_802A1CD0)($at)
/* 727BEC 802A12DC 24020001 */ addiu $v0, $zero, 1
/* 727BF0 802A12E0 AE020070 */ sw $v0, 0x70($s0)
.L802A12E4:
/* 727BF4 802A12E4 96220000 */ lhu $v0, ($s1)
/* 727BF8 802A12E8 34420008 */ ori $v0, $v0, 8
/* 727BFC 802A12EC A6220000 */ sh $v0, ($s1)
/* 727C00 802A12F0 C6000074 */ lwc1 $f0, 0x74($s0)
/* 727C04 802A12F4 46800020 */ cvt.s.w $f0, $f0
/* 727C08 802A12F8 44050000 */ mfc1 $a1, $f0
/* 727C0C 802A12FC 44800000 */ mtc1 $zero, $f0
/* 727C10 802A1300 3C013F80 */ lui $at, 0x3f80
/* 727C14 802A1304 44811000 */ mtc1 $at, $f2
/* 727C18 802A1308 44060000 */ mfc1 $a2, $f0
/* 727C1C 802A130C 26240194 */ addiu $a0, $s1, 0x194
/* 727C20 802A1310 E7A20010 */ swc1 $f2, 0x10($sp)
/* 727C24 802A1314 0C019EC8 */ jal guRotateF
/* 727C28 802A1318 00C0382D */ daddu $a3, $a2, $zero
/* 727C2C 802A131C 8E020078 */ lw $v0, 0x78($s0)
/* 727C30 802A1320 3C0140C9 */ lui $at, 0x40c9
/* 727C34 802A1324 34210FD0 */ ori $at, $at, 0xfd0
/* 727C38 802A1328 44810000 */ mtc1 $at, $f0
/* 727C3C 802A132C 2442005A */ addiu $v0, $v0, 0x5a
/* 727C40 802A1330 44826000 */ mtc1 $v0, $f12
/* 727C44 802A1334 00000000 */ nop
/* 727C48 802A1338 46806320 */ cvt.s.w $f12, $f12
/* 727C4C 802A133C 46006302 */ mul.s $f12, $f12, $f0
/* 727C50 802A1340 00000000 */ nop
/* 727C54 802A1344 3C0143B4 */ lui $at, 0x43b4
/* 727C58 802A1348 44810000 */ mtc1 $at, $f0
/* 727C5C 802A134C 0C00A85B */ jal sin_rad
/* 727C60 802A1350 46006303 */ div.s $f12, $f12, $f0
/* 727C64 802A1354 3C013FF0 */ lui $at, 0x3ff0
/* 727C68 802A1358 44811800 */ mtc1 $at, $f3
/* 727C6C 802A135C 44801000 */ mtc1 $zero, $f2
/* 727C70 802A1360 46000021 */ cvt.d.s $f0, $f0
/* 727C74 802A1364 46201081 */ sub.d $f2, $f2, $f0
/* 727C78 802A1368 3C01802A */ lui $at, %hi(D_802A1CC0_7285D0)
/* 727C7C 802A136C D4201CC0 */ ldc1 $f0, %lo(D_802A1CC0_7285D0)($at)
/* 727C80 802A1370 46201082 */ mul.d $f2, $f2, $f0
/* 727C84 802A1374 00000000 */ nop
/* 727C88 802A1378 8E020078 */ lw $v0, 0x78($s0)
/* 727C8C 802A137C 24420001 */ addiu $v0, $v0, 1
/* 727C90 802A1380 46221080 */ add.d $f2, $f2, $f2
/* 727C94 802A1384 AE020078 */ sw $v0, 0x78($s0)
/* 727C98 802A1388 2842005B */ slti $v0, $v0, 0x5b
/* 727C9C 802A138C 4620110D */ trunc.w.d $f4, $f2
/* 727CA0 802A1390 E6040074 */ swc1 $f4, 0x74($s0)
/* 727CA4 802A1394 54400009 */ bnel $v0, $zero, .L802A13BC
/* 727CA8 802A1398 0000102D */ daddu $v0, $zero, $zero
/* 727CAC 802A139C 3C04802A */ lui $a0, %hi(D_802A1CD0)
/* 727CB0 802A13A0 8C841CD0 */ lw $a0, %lo(D_802A1CD0)($a0)
/* 727CB4 802A13A4 96220000 */ lhu $v0, ($s1)
/* 727CB8 802A13A8 A620001C */ sh $zero, 0x1c($s1)
/* 727CBC 802A13AC 3042FFF7 */ andi $v0, $v0, 0xfff7
/* 727CC0 802A13B0 0C048D70 */ jal func_801235C0
/* 727CC4 802A13B4 A6220000 */ sh $v0, ($s1)
/* 727CC8 802A13B8 24020002 */ addiu $v0, $zero, 2
.L802A13BC:
/* 727CCC 802A13BC 8FBF0020 */ lw $ra, 0x20($sp)
/* 727CD0 802A13C0 8FB1001C */ lw $s1, 0x1c($sp)
/* 727CD4 802A13C4 8FB00018 */ lw $s0, 0x18($sp)
/* 727CD8 802A13C8 03E00008 */ jr $ra
/* 727CDC 802A13CC 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -1,125 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1000_72E530
/* 72E530 802A1000 27BDFF98 */ addiu $sp, $sp, -0x68
/* 72E534 802A1004 AFB50044 */ sw $s5, 0x44($sp)
/* 72E538 802A1008 0080A82D */ daddu $s5, $a0, $zero
/* 72E53C 802A100C AFB10034 */ sw $s1, 0x34($sp)
/* 72E540 802A1010 0000882D */ daddu $s1, $zero, $zero
/* 72E544 802A1014 2405001D */ addiu $a1, $zero, 0x1d
/* 72E548 802A1018 F7B40050 */ sdc1 $f20, 0x50($sp)
/* 72E54C 802A101C 4480A000 */ mtc1 $zero, $f20
/* 72E550 802A1020 3C02800E */ lui $v0, %hi(gBattleStatus)
/* 72E554 802A1024 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus)
/* 72E558 802A1028 AFBF0048 */ sw $ra, 0x48($sp)
/* 72E55C 802A102C AFB40040 */ sw $s4, 0x40($sp)
/* 72E560 802A1030 AFB3003C */ sw $s3, 0x3c($sp)
/* 72E564 802A1034 AFB20038 */ sw $s2, 0x38($sp)
/* 72E568 802A1038 AFB00030 */ sw $s0, 0x30($sp)
/* 72E56C 802A103C F7B80060 */ sdc1 $f24, 0x60($sp)
/* 72E570 802A1040 F7B60058 */ sdc1 $f22, 0x58($sp)
/* 72E574 802A1044 8C5300D8 */ lw $s3, 0xd8($v0)
/* 72E578 802A1048 8442017A */ lh $v0, 0x17a($v0)
/* 72E57C 802A104C 0260202D */ daddu $a0, $s3, $zero
/* 72E580 802A1050 00021140 */ sll $v0, $v0, 5
/* 72E584 802A1054 3C128008 */ lui $s2, %hi(gItemTable+0xC)
/* 72E588 802A1058 02429021 */ addu $s2, $s2, $v0
/* 72E58C 802A105C 865278EC */ lh $s2, %lo(gItemTable+0xC)($s2)
/* 72E590 802A1060 92620191 */ lbu $v0, 0x191($s3)
/* 72E594 802A1064 C6620148 */ lwc1 $f2, 0x148($s3)
/* 72E598 802A1068 44820000 */ mtc1 $v0, $f0
/* 72E59C 802A106C 00000000 */ nop
/* 72E5A0 802A1070 46800020 */ cvt.s.w $f0, $f0
/* 72E5A4 802A1074 0C099CAB */ jal heroes_is_ability_active
/* 72E5A8 802A1078 46001580 */ add.s $f22, $f2, $f0
/* 72E5AC 802A107C 50400048 */ beql $v0, $zero, .L802A11A0
/* 72E5B0 802A1080 AEB10084 */ sw $s1, 0x84($s5)
/* 72E5B4 802A1084 1A400045 */ blez $s2, .L802A119C
/* 72E5B8 802A1088 3C0451EB */ lui $a0, 0x51eb
/* 72E5BC 802A108C 3484851F */ ori $a0, $a0, 0x851f
/* 72E5C0 802A1090 00121880 */ sll $v1, $s2, 2
/* 72E5C4 802A1094 00721821 */ addu $v1, $v1, $s2
/* 72E5C8 802A1098 00031100 */ sll $v0, $v1, 4
/* 72E5CC 802A109C 00431023 */ subu $v0, $v0, $v1
/* 72E5D0 802A10A0 24420063 */ addiu $v0, $v0, 0x63
/* 72E5D4 802A10A4 00440018 */ mult $v0, $a0
/* 72E5D8 802A10A8 000217C3 */ sra $v0, $v0, 0x1f
/* 72E5DC 802A10AC 00004010 */ mfhi $t0
/* 72E5E0 802A10B0 00081943 */ sra $v1, $t0, 5
/* 72E5E4 802A10B4 00629023 */ subu $s2, $v1, $v0
/* 72E5E8 802A10B8 0232102A */ slt $v0, $s1, $s2
/* 72E5EC 802A10BC 10400019 */ beqz $v0, .L802A1124
/* 72E5F0 802A10C0 0220802D */ daddu $s0, $s1, $zero
/* 72E5F4 802A10C4 24140017 */ addiu $s4, $zero, 0x17
/* 72E5F8 802A10C8 3C0141F0 */ lui $at, 0x41f0
/* 72E5FC 802A10CC 4481C000 */ mtc1 $at, $f24
/* 72E600 802A10D0 24110001 */ addiu $s1, $zero, 1
.L802A10D4:
/* 72E604 802A10D4 C6600144 */ lwc1 $f0, 0x144($s3)
/* 72E608 802A10D8 C662014C */ lwc1 $f2, 0x14c($s3)
/* 72E60C 802A10DC 4600A10D */ trunc.w.s $f4, $f20
/* 72E610 802A10E0 E7A40018 */ swc1 $f4, 0x18($sp)
/* 72E614 802A10E4 24040157 */ addiu $a0, $zero, 0x157
/* 72E618 802A10E8 AFB10014 */ sw $s1, 0x14($sp)
/* 72E61C 802A10EC 26310003 */ addiu $s1, $s1, 3
/* 72E620 802A10F0 26100001 */ addiu $s0, $s0, 1
/* 72E624 802A10F4 4406B000 */ mfc1 $a2, $f22
/* 72E628 802A10F8 44050000 */ mfc1 $a1, $f0
/* 72E62C 802A10FC 44071000 */ mfc1 $a3, $f2
/* 72E630 802A1100 4618A500 */ add.s $f20, $f20, $f24
/* 72E634 802A1104 AFB40010 */ sw $s4, 0x10($sp)
/* 72E638 802A1108 0C04C4FD */ jal make_item_entity
/* 72E63C 802A110C AFA0001C */ sw $zero, 0x1c($sp)
/* 72E640 802A1110 0C03A830 */ jal add_coins
/* 72E644 802A1114 24040001 */ addiu $a0, $zero, 1
/* 72E648 802A1118 0212102A */ slt $v0, $s0, $s2
/* 72E64C 802A111C 1440FFED */ bnez $v0, .L802A10D4
/* 72E650 802A1120 00000000 */ nop
.L802A1124:
/* 72E654 802A1124 00101040 */ sll $v0, $s0, 1
/* 72E658 802A1128 00501021 */ addu $v0, $v0, $s0
/* 72E65C 802A112C 2451001E */ addiu $s1, $v0, 0x1e
/* 72E660 802A1130 C6600144 */ lwc1 $f0, 0x144($s3)
/* 72E664 802A1134 C6760148 */ lwc1 $f22, 0x148($s3)
/* 72E668 802A1138 C662014C */ lwc1 $f2, 0x14c($s3)
/* 72E66C 802A113C 3C048007 */ lui $a0, %hi(gCurrentCameraID)
/* 72E670 802A1140 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
/* 72E674 802A1144 27A20020 */ addiu $v0, $sp, 0x20
/* 72E678 802A1148 AFA20010 */ sw $v0, 0x10($sp)
/* 72E67C 802A114C 27A20024 */ addiu $v0, $sp, 0x24
/* 72E680 802A1150 AFA20014 */ sw $v0, 0x14($sp)
/* 72E684 802A1154 44050000 */ mfc1 $a1, $f0
/* 72E688 802A1158 4406B000 */ mfc1 $a2, $f22
/* 72E68C 802A115C 44071000 */ mfc1 $a3, $f2
/* 72E690 802A1160 27A20028 */ addiu $v0, $sp, 0x28
/* 72E694 802A1164 0C00B94E */ jal get_screen_coords
/* 72E698 802A1168 AFA20018 */ sw $v0, 0x18($sp)
/* 72E69C 802A116C 3C048011 */ lui $a0, %hi(D_80108A64)
/* 72E6A0 802A1170 24848A64 */ addiu $a0, $a0, %lo(D_80108A64)
/* 72E6A4 802A1174 0C050529 */ jal create_icon
/* 72E6A8 802A1178 00000000 */ nop
/* 72E6AC 802A117C 8FA50020 */ lw $a1, 0x20($sp)
/* 72E6B0 802A1180 8FA60024 */ lw $a2, 0x24($sp)
/* 72E6B4 802A1184 0040202D */ daddu $a0, $v0, $zero
/* 72E6B8 802A1188 3C01802A */ lui $at, %hi(D_802A21F0)
/* 72E6BC 802A118C AC2421F0 */ sw $a0, %lo(D_802A21F0)($at)
/* 72E6C0 802A1190 24A50024 */ addiu $a1, $a1, 0x24
/* 72E6C4 802A1194 0C051261 */ jal set_icon_render_pos
/* 72E6C8 802A1198 24C6FFC1 */ addiu $a2, $a2, -0x3f
.L802A119C:
/* 72E6CC 802A119C AEB10084 */ sw $s1, 0x84($s5)
.L802A11A0:
/* 72E6D0 802A11A0 8FBF0048 */ lw $ra, 0x48($sp)
/* 72E6D4 802A11A4 8FB50044 */ lw $s5, 0x44($sp)
/* 72E6D8 802A11A8 8FB40040 */ lw $s4, 0x40($sp)
/* 72E6DC 802A11AC 8FB3003C */ lw $s3, 0x3c($sp)
/* 72E6E0 802A11B0 8FB20038 */ lw $s2, 0x38($sp)
/* 72E6E4 802A11B4 8FB10034 */ lw $s1, 0x34($sp)
/* 72E6E8 802A11B8 8FB00030 */ lw $s0, 0x30($sp)
/* 72E6EC 802A11BC D7B80060 */ ldc1 $f24, 0x60($sp)
/* 72E6F0 802A11C0 D7B60058 */ ldc1 $f22, 0x58($sp)
/* 72E6F4 802A11C4 D7B40050 */ ldc1 $f20, 0x50($sp)
/* 72E6F8 802A11C8 24020002 */ addiu $v0, $zero, 2
/* 72E6FC 802A11CC 03E00008 */ jr $ra
/* 72E700 802A11D0 27BD0068 */ addiu $sp, $sp, 0x68

View File

@ -1,31 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A11D4_72E704
/* 72E704 802A11D4 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 72E708 802A11D8 3C03800E */ lui $v1, %hi(gBattleStatus)
/* 72E70C 802A11DC 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
/* 72E710 802A11E0 AFBF0014 */ sw $ra, 0x14($sp)
/* 72E714 802A11E4 AFB00010 */ sw $s0, 0x10($sp)
/* 72E718 802A11E8 8462017A */ lh $v0, 0x17a($v1)
/* 72E71C 802A11EC 8C6400D8 */ lw $a0, 0xd8($v1)
/* 72E720 802A11F0 00021140 */ sll $v0, $v0, 5
/* 72E724 802A11F4 3C108008 */ lui $s0, %hi(gItemTable+0xC)
/* 72E728 802A11F8 02028021 */ addu $s0, $s0, $v0
/* 72E72C 802A11FC 861078EC */ lh $s0, %lo(gItemTable+0xC)($s0)
/* 72E730 802A1200 0C099CAB */ jal heroes_is_ability_active
/* 72E734 802A1204 2405001D */ addiu $a1, $zero, 0x1d
/* 72E738 802A1208 10400007 */ beqz $v0, .L802A1228
/* 72E73C 802A120C 00000000 */ nop
/* 72E740 802A1210 1A000005 */ blez $s0, .L802A1228
/* 72E744 802A1214 00000000 */ nop
/* 72E748 802A1218 3C04802A */ lui $a0, %hi(D_802A21F0)
/* 72E74C 802A121C 8C8421F0 */ lw $a0, %lo(D_802A21F0)($a0)
/* 72E750 802A1220 0C05123D */ jal free_icon
/* 72E754 802A1224 00000000 */ nop
.L802A1228:
/* 72E758 802A1228 8FBF0014 */ lw $ra, 0x14($sp)
/* 72E75C 802A122C 8FB00010 */ lw $s0, 0x10($sp)
/* 72E760 802A1230 24020002 */ addiu $v0, $zero, 2
/* 72E764 802A1234 03E00008 */ jr $ra
/* 72E768 802A1238 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,48 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A123C_72E76C
/* 72E76C 802A123C 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 72E770 802A1240 AFB10014 */ sw $s1, 0x14($sp)
/* 72E774 802A1244 0080882D */ daddu $s1, $a0, $zero
/* 72E778 802A1248 AFBF0020 */ sw $ra, 0x20($sp)
/* 72E77C 802A124C AFB3001C */ sw $s3, 0x1c($sp)
/* 72E780 802A1250 AFB20018 */ sw $s2, 0x18($sp)
/* 72E784 802A1254 AFB00010 */ sw $s0, 0x10($sp)
/* 72E788 802A1258 8E30000C */ lw $s0, 0xc($s1)
/* 72E78C 802A125C 8E050000 */ lw $a1, ($s0)
/* 72E790 802A1260 0C0B1EAF */ jal get_variable
/* 72E794 802A1264 26100004 */ addiu $s0, $s0, 4
/* 72E798 802A1268 8E050000 */ lw $a1, ($s0)
/* 72E79C 802A126C 26100004 */ addiu $s0, $s0, 4
/* 72E7A0 802A1270 0220202D */ daddu $a0, $s1, $zero
/* 72E7A4 802A1274 0C0B1EAF */ jal get_variable
/* 72E7A8 802A1278 0040982D */ daddu $s3, $v0, $zero
/* 72E7AC 802A127C 0220202D */ daddu $a0, $s1, $zero
/* 72E7B0 802A1280 8E050000 */ lw $a1, ($s0)
/* 72E7B4 802A1284 0C0B1EAF */ jal get_variable
/* 72E7B8 802A1288 0040902D */ daddu $s2, $v0, $zero
/* 72E7BC 802A128C 8E2400BC */ lw $a0, 0xbc($s1)
/* 72E7C0 802A1290 0C04C3D6 */ jal get_item_entity
/* 72E7C4 802A1294 0040802D */ daddu $s0, $v0, $zero
/* 72E7C8 802A1298 0040182D */ daddu $v1, $v0, $zero
/* 72E7CC 802A129C 44930000 */ mtc1 $s3, $f0
/* 72E7D0 802A12A0 00000000 */ nop
/* 72E7D4 802A12A4 46800020 */ cvt.s.w $f0, $f0
/* 72E7D8 802A12A8 E4600008 */ swc1 $f0, 8($v1)
/* 72E7DC 802A12AC 44920000 */ mtc1 $s2, $f0
/* 72E7E0 802A12B0 00000000 */ nop
/* 72E7E4 802A12B4 46800020 */ cvt.s.w $f0, $f0
/* 72E7E8 802A12B8 E460000C */ swc1 $f0, 0xc($v1)
/* 72E7EC 802A12BC 44900000 */ mtc1 $s0, $f0
/* 72E7F0 802A12C0 00000000 */ nop
/* 72E7F4 802A12C4 46800020 */ cvt.s.w $f0, $f0
/* 72E7F8 802A12C8 E4600010 */ swc1 $f0, 0x10($v1)
/* 72E7FC 802A12CC 8FBF0020 */ lw $ra, 0x20($sp)
/* 72E800 802A12D0 8FB3001C */ lw $s3, 0x1c($sp)
/* 72E804 802A12D4 8FB20018 */ lw $s2, 0x18($sp)
/* 72E808 802A12D8 8FB10014 */ lw $s1, 0x14($sp)
/* 72E80C 802A12DC 8FB00010 */ lw $s0, 0x10($sp)
/* 72E810 802A12E0 24020002 */ addiu $v0, $zero, 2
/* 72E814 802A12E4 03E00008 */ jr $ra
/* 72E818 802A12E8 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -1,43 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A12EC_72E81C
/* 72E81C 802A12EC 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 72E820 802A12F0 AFB00010 */ sw $s0, 0x10($sp)
/* 72E824 802A12F4 3C10800E */ lui $s0, %hi(gBattleStatus+0xDC)
/* 72E828 802A12F8 8E10C14C */ lw $s0, %lo(gBattleStatus+0xDC)($s0)
/* 72E82C 802A12FC AFBF0014 */ sw $ra, 0x14($sp)
/* 72E830 802A1300 82020217 */ lb $v0, 0x217($s0)
/* 72E834 802A1304 8C85000C */ lw $a1, 0xc($a0)
/* 72E838 802A1308 10400017 */ beqz $v0, .L802A1368
/* 72E83C 802A130C 24020002 */ addiu $v0, $zero, 2
/* 72E840 802A1310 8CA50000 */ lw $a1, ($a1)
/* 72E844 802A1314 0C0B1EAF */ jal get_variable
/* 72E848 802A1318 00000000 */ nop
/* 72E84C 802A131C 92030217 */ lbu $v1, 0x217($s0)
/* 72E850 802A1320 00621823 */ subu $v1, $v1, $v0
/* 72E854 802A1324 A2030217 */ sb $v1, 0x217($s0)
/* 72E858 802A1328 00031E00 */ sll $v1, $v1, 0x18
/* 72E85C 802A132C 04620001 */ bltzl $v1, .L802A1334
/* 72E860 802A1330 A2000217 */ sb $zero, 0x217($s0)
.L802A1334:
/* 72E864 802A1334 82030217 */ lb $v1, 0x217($s0)
/* 72E868 802A1338 18600005 */ blez $v1, .L802A1350
/* 72E86C 802A133C 24040034 */ addiu $a0, $zero, 0x34
/* 72E870 802A1340 8E020440 */ lw $v0, 0x440($s0)
/* 72E874 802A1344 8C42000C */ lw $v0, 0xc($v0)
/* 72E878 802A1348 080A84D9 */ j .L802A1364
/* 72E87C 802A134C AC43003C */ sw $v1, 0x3c($v0)
.L802A1350:
/* 72E880 802A1350 0C09F7A0 */ jal dispatch_event_partner
/* 72E884 802A1354 A2000216 */ sb $zero, 0x216($s0)
/* 72E888 802A1358 8E020440 */ lw $v0, 0x440($s0)
/* 72E88C 802A135C 8C42000C */ lw $v0, 0xc($v0)
/* 72E890 802A1360 AC40003C */ sw $zero, 0x3c($v0)
.L802A1364:
/* 72E894 802A1364 24020002 */ addiu $v0, $zero, 2
.L802A1368:
/* 72E898 802A1368 8FBF0014 */ lw $ra, 0x14($sp)
/* 72E89C 802A136C 8FB00010 */ lw $s0, 0x10($sp)
/* 72E8A0 802A1370 03E00008 */ jr $ra
/* 72E8A4 802A1374 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,52 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1378_72E8A8
/* 72E8A8 802A1378 27BDFFD0 */ addiu $sp, $sp, -0x30
/* 72E8AC 802A137C AFB1001C */ sw $s1, 0x1c($sp)
/* 72E8B0 802A1380 0080882D */ daddu $s1, $a0, $zero
/* 72E8B4 802A1384 AFBF0028 */ sw $ra, 0x28($sp)
/* 72E8B8 802A1388 AFB30024 */ sw $s3, 0x24($sp)
/* 72E8BC 802A138C AFB20020 */ sw $s2, 0x20($sp)
/* 72E8C0 802A1390 AFB00018 */ sw $s0, 0x18($sp)
/* 72E8C4 802A1394 8E30000C */ lw $s0, 0xc($s1)
/* 72E8C8 802A1398 8E050000 */ lw $a1, ($s0)
/* 72E8CC 802A139C 0C0B1EAF */ jal get_variable
/* 72E8D0 802A13A0 26100004 */ addiu $s0, $s0, 4
/* 72E8D4 802A13A4 8E050000 */ lw $a1, ($s0)
/* 72E8D8 802A13A8 26100004 */ addiu $s0, $s0, 4
/* 72E8DC 802A13AC 0220202D */ daddu $a0, $s1, $zero
/* 72E8E0 802A13B0 0C0B1EAF */ jal get_variable
/* 72E8E4 802A13B4 0040982D */ daddu $s3, $v0, $zero
/* 72E8E8 802A13B8 8E050000 */ lw $a1, ($s0)
/* 72E8EC 802A13BC 26100004 */ addiu $s0, $s0, 4
/* 72E8F0 802A13C0 0220202D */ daddu $a0, $s1, $zero
/* 72E8F4 802A13C4 0C0B1EAF */ jal get_variable
/* 72E8F8 802A13C8 0040902D */ daddu $s2, $v0, $zero
/* 72E8FC 802A13CC 0220202D */ daddu $a0, $s1, $zero
/* 72E900 802A13D0 8E050000 */ lw $a1, ($s0)
/* 72E904 802A13D4 0C0B1EAF */ jal get_variable
/* 72E908 802A13D8 0040802D */ daddu $s0, $v0, $zero
/* 72E90C 802A13DC 44930000 */ mtc1 $s3, $f0
/* 72E910 802A13E0 00000000 */ nop
/* 72E914 802A13E4 46800020 */ cvt.s.w $f0, $f0
/* 72E918 802A13E8 44050000 */ mfc1 $a1, $f0
/* 72E91C 802A13EC 44920000 */ mtc1 $s2, $f0
/* 72E920 802A13F0 00000000 */ nop
/* 72E924 802A13F4 46800020 */ cvt.s.w $f0, $f0
/* 72E928 802A13F8 44060000 */ mfc1 $a2, $f0
/* 72E92C 802A13FC 44900000 */ mtc1 $s0, $f0
/* 72E930 802A1400 00000000 */ nop
/* 72E934 802A1404 46800020 */ cvt.s.w $f0, $f0
/* 72E938 802A1408 44070000 */ mfc1 $a3, $f0
/* 72E93C 802A140C 0000202D */ daddu $a0, $zero, $zero
/* 72E940 802A1410 0C01C424 */ jal func_80071090
/* 72E944 802A1414 AFA20010 */ sw $v0, 0x10($sp)
/* 72E948 802A1418 8FBF0028 */ lw $ra, 0x28($sp)
/* 72E94C 802A141C 8FB30024 */ lw $s3, 0x24($sp)
/* 72E950 802A1420 8FB20020 */ lw $s2, 0x20($sp)
/* 72E954 802A1424 8FB1001C */ lw $s1, 0x1c($sp)
/* 72E958 802A1428 8FB00018 */ lw $s0, 0x18($sp)
/* 72E95C 802A142C 24020002 */ addiu $v0, $zero, 2
/* 72E960 802A1430 03E00008 */ jr $ra
/* 72E964 802A1434 27BD0030 */ addiu $sp, $sp, 0x30

View File

@ -1,24 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1438_72E968
/* 72E968 802A1438 3C058011 */ lui $a1, %hi(gPlayerData)
/* 72E96C 802A143C 24A5F290 */ addiu $a1, $a1, %lo(gPlayerData)
/* 72E970 802A1440 90A20002 */ lbu $v0, 2($a1)
/* 72E974 802A1444 3C068009 */ lui $a2, %hi(gItemTable+0x12BB)
/* 72E978 802A1448 90C68B9B */ lbu $a2, %lo(gItemTable+0x12BB)($a2)
/* 72E97C 802A144C 80A30003 */ lb $v1, 3($a1)
/* 72E980 802A1450 00461021 */ addu $v0, $v0, $a2
/* 72E984 802A1454 A0A20002 */ sb $v0, 2($a1)
/* 72E988 802A1458 00021600 */ sll $v0, $v0, 0x18
/* 72E98C 802A145C 00021603 */ sra $v0, $v0, 0x18
/* 72E990 802A1460 0062182A */ slt $v1, $v1, $v0
/* 72E994 802A1464 90A20003 */ lbu $v0, 3($a1)
/* 72E998 802A1468 54600001 */ bnel $v1, $zero, .L802A1470
/* 72E99C 802A146C A0A20002 */ sb $v0, 2($a1)
.L802A1470:
/* 72E9A0 802A1470 00061600 */ sll $v0, $a2, 0x18
/* 72E9A4 802A1474 00021603 */ sra $v0, $v0, 0x18
/* 72E9A8 802A1478 AC820090 */ sw $v0, 0x90($a0)
/* 72E9AC 802A147C 03E00008 */ jr $ra
/* 72E9B0 802A1480 24020002 */ addiu $v0, $zero, 2

View File

@ -1,33 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1484_72E9B4
/* 72E9B4 802A1484 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 72E9B8 802A1488 AFB00010 */ sw $s0, 0x10($sp)
/* 72E9BC 802A148C 0080802D */ daddu $s0, $a0, $zero
/* 72E9C0 802A1490 AFBF0014 */ sw $ra, 0x14($sp)
/* 72E9C4 802A1494 8E02000C */ lw $v0, 0xc($s0)
/* 72E9C8 802A1498 0C0B1EAF */ jal get_variable
/* 72E9CC 802A149C 8C450000 */ lw $a1, ($v0)
/* 72E9D0 802A14A0 3C038008 */ lui $v1, %hi(gItemTable)
/* 72E9D4 802A14A4 246378E0 */ addiu $v1, $v1, %lo(gItemTable)
/* 72E9D8 802A14A8 00021140 */ sll $v0, $v0, 5
/* 72E9DC 802A14AC 00431021 */ addu $v0, $v0, $v1
/* 72E9E0 802A14B0 8043001B */ lb $v1, 0x1b($v0)
/* 72E9E4 802A14B4 AE0300B0 */ sw $v1, 0xb0($s0)
/* 72E9E8 802A14B8 8044001C */ lb $a0, 0x1c($v0)
/* 72E9EC 802A14BC 0000102D */ daddu $v0, $zero, $zero
/* 72E9F0 802A14C0 04600005 */ bltz $v1, .L802A14D8
/* 72E9F4 802A14C4 AE0400B4 */ sw $a0, 0xb4($s0)
/* 72E9F8 802A14C8 5C600005 */ bgtzl $v1, .L802A14E0
/* 72E9FC 802A14CC AE0200C0 */ sw $v0, 0xc0($s0)
/* 72EA00 802A14D0 04830003 */ bgezl $a0, .L802A14E0
/* 72EA04 802A14D4 AE0200C0 */ sw $v0, 0xc0($s0)
.L802A14D8:
/* 72EA08 802A14D8 24020001 */ addiu $v0, $zero, 1
/* 72EA0C 802A14DC AE0200C0 */ sw $v0, 0xc0($s0)
.L802A14E0:
/* 72EA10 802A14E0 8FBF0014 */ lw $ra, 0x14($sp)
/* 72EA14 802A14E4 8FB00010 */ lw $s0, 0x10($sp)
/* 72EA18 802A14E8 24020002 */ addiu $v0, $zero, 2
/* 72EA1C 802A14EC 03E00008 */ jr $ra

View File

@ -1,125 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1000_731300
/* 731300 802A1000 27BDFF98 */ addiu $sp, $sp, -0x68
/* 731304 802A1004 AFB50044 */ sw $s5, 0x44($sp)
/* 731308 802A1008 0080A82D */ daddu $s5, $a0, $zero
/* 73130C 802A100C AFB10034 */ sw $s1, 0x34($sp)
/* 731310 802A1010 0000882D */ daddu $s1, $zero, $zero
/* 731314 802A1014 2405001D */ addiu $a1, $zero, 0x1d
/* 731318 802A1018 F7B40050 */ sdc1 $f20, 0x50($sp)
/* 73131C 802A101C 4480A000 */ mtc1 $zero, $f20
/* 731320 802A1020 3C02800E */ lui $v0, %hi(gBattleStatus)
/* 731324 802A1024 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus)
/* 731328 802A1028 AFBF0048 */ sw $ra, 0x48($sp)
/* 73132C 802A102C AFB40040 */ sw $s4, 0x40($sp)
/* 731330 802A1030 AFB3003C */ sw $s3, 0x3c($sp)
/* 731334 802A1034 AFB20038 */ sw $s2, 0x38($sp)
/* 731338 802A1038 AFB00030 */ sw $s0, 0x30($sp)
/* 73133C 802A103C F7B80060 */ sdc1 $f24, 0x60($sp)
/* 731340 802A1040 F7B60058 */ sdc1 $f22, 0x58($sp)
/* 731344 802A1044 8C5300D8 */ lw $s3, 0xd8($v0)
/* 731348 802A1048 8442017A */ lh $v0, 0x17a($v0)
/* 73134C 802A104C 0260202D */ daddu $a0, $s3, $zero
/* 731350 802A1050 00021140 */ sll $v0, $v0, 5
/* 731354 802A1054 3C128008 */ lui $s2, %hi(gItemTable+0xC)
/* 731358 802A1058 02429021 */ addu $s2, $s2, $v0
/* 73135C 802A105C 865278EC */ lh $s2, %lo(gItemTable+0xC)($s2)
/* 731360 802A1060 92620191 */ lbu $v0, 0x191($s3)
/* 731364 802A1064 C6620148 */ lwc1 $f2, 0x148($s3)
/* 731368 802A1068 44820000 */ mtc1 $v0, $f0
/* 73136C 802A106C 00000000 */ nop
/* 731370 802A1070 46800020 */ cvt.s.w $f0, $f0
/* 731374 802A1074 0C099CAB */ jal heroes_is_ability_active
/* 731378 802A1078 46001580 */ add.s $f22, $f2, $f0
/* 73137C 802A107C 50400048 */ beql $v0, $zero, .L802A11A0
/* 731380 802A1080 AEB10084 */ sw $s1, 0x84($s5)
/* 731384 802A1084 1A400045 */ blez $s2, .L802A119C
/* 731388 802A1088 3C0451EB */ lui $a0, 0x51eb
/* 73138C 802A108C 3484851F */ ori $a0, $a0, 0x851f
/* 731390 802A1090 00121880 */ sll $v1, $s2, 2
/* 731394 802A1094 00721821 */ addu $v1, $v1, $s2
/* 731398 802A1098 00031100 */ sll $v0, $v1, 4
/* 73139C 802A109C 00431023 */ subu $v0, $v0, $v1
/* 7313A0 802A10A0 24420063 */ addiu $v0, $v0, 0x63
/* 7313A4 802A10A4 00440018 */ mult $v0, $a0
/* 7313A8 802A10A8 000217C3 */ sra $v0, $v0, 0x1f
/* 7313AC 802A10AC 00004010 */ mfhi $t0
/* 7313B0 802A10B0 00081943 */ sra $v1, $t0, 5
/* 7313B4 802A10B4 00629023 */ subu $s2, $v1, $v0
/* 7313B8 802A10B8 0232102A */ slt $v0, $s1, $s2
/* 7313BC 802A10BC 10400019 */ beqz $v0, .L802A1124
/* 7313C0 802A10C0 0220802D */ daddu $s0, $s1, $zero
/* 7313C4 802A10C4 24140017 */ addiu $s4, $zero, 0x17
/* 7313C8 802A10C8 3C0141F0 */ lui $at, 0x41f0
/* 7313CC 802A10CC 4481C000 */ mtc1 $at, $f24
/* 7313D0 802A10D0 24110001 */ addiu $s1, $zero, 1
.L802A10D4:
/* 7313D4 802A10D4 C6600144 */ lwc1 $f0, 0x144($s3)
/* 7313D8 802A10D8 C662014C */ lwc1 $f2, 0x14c($s3)
/* 7313DC 802A10DC 4600A10D */ trunc.w.s $f4, $f20
/* 7313E0 802A10E0 E7A40018 */ swc1 $f4, 0x18($sp)
/* 7313E4 802A10E4 24040157 */ addiu $a0, $zero, 0x157
/* 7313E8 802A10E8 AFB10014 */ sw $s1, 0x14($sp)
/* 7313EC 802A10EC 26310003 */ addiu $s1, $s1, 3
/* 7313F0 802A10F0 26100001 */ addiu $s0, $s0, 1
/* 7313F4 802A10F4 4406B000 */ mfc1 $a2, $f22
/* 7313F8 802A10F8 44050000 */ mfc1 $a1, $f0
/* 7313FC 802A10FC 44071000 */ mfc1 $a3, $f2
/* 731400 802A1100 4618A500 */ add.s $f20, $f20, $f24
/* 731404 802A1104 AFB40010 */ sw $s4, 0x10($sp)
/* 731408 802A1108 0C04C4FD */ jal make_item_entity
/* 73140C 802A110C AFA0001C */ sw $zero, 0x1c($sp)
/* 731410 802A1110 0C03A830 */ jal add_coins
/* 731414 802A1114 24040001 */ addiu $a0, $zero, 1
/* 731418 802A1118 0212102A */ slt $v0, $s0, $s2
/* 73141C 802A111C 1440FFED */ bnez $v0, .L802A10D4
/* 731420 802A1120 00000000 */ nop
.L802A1124:
/* 731424 802A1124 00101040 */ sll $v0, $s0, 1
/* 731428 802A1128 00501021 */ addu $v0, $v0, $s0
/* 73142C 802A112C 2451001E */ addiu $s1, $v0, 0x1e
/* 731430 802A1130 C6600144 */ lwc1 $f0, 0x144($s3)
/* 731434 802A1134 C6760148 */ lwc1 $f22, 0x148($s3)
/* 731438 802A1138 C662014C */ lwc1 $f2, 0x14c($s3)
/* 73143C 802A113C 3C048007 */ lui $a0, %hi(gCurrentCameraID)
/* 731440 802A1140 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
/* 731444 802A1144 27A20020 */ addiu $v0, $sp, 0x20
/* 731448 802A1148 AFA20010 */ sw $v0, 0x10($sp)
/* 73144C 802A114C 27A20024 */ addiu $v0, $sp, 0x24
/* 731450 802A1150 AFA20014 */ sw $v0, 0x14($sp)
/* 731454 802A1154 44050000 */ mfc1 $a1, $f0
/* 731458 802A1158 4406B000 */ mfc1 $a2, $f22
/* 73145C 802A115C 44071000 */ mfc1 $a3, $f2
/* 731460 802A1160 27A20028 */ addiu $v0, $sp, 0x28
/* 731464 802A1164 0C00B94E */ jal get_screen_coords
/* 731468 802A1168 AFA20018 */ sw $v0, 0x18($sp)
/* 73146C 802A116C 3C048011 */ lui $a0, %hi(D_80108A64)
/* 731470 802A1170 24848A64 */ addiu $a0, $a0, %lo(D_80108A64)
/* 731474 802A1174 0C050529 */ jal create_icon
/* 731478 802A1178 00000000 */ nop
/* 73147C 802A117C 8FA50020 */ lw $a1, 0x20($sp)
/* 731480 802A1180 8FA60024 */ lw $a2, 0x24($sp)
/* 731484 802A1184 0040202D */ daddu $a0, $v0, $zero
/* 731488 802A1188 3C01802A */ lui $at, %hi(D_802A2DD0)
/* 73148C 802A118C AC242DD0 */ sw $a0, %lo(D_802A2DD0)($at)
/* 731490 802A1190 24A50024 */ addiu $a1, $a1, 0x24
/* 731494 802A1194 0C051261 */ jal set_icon_render_pos
/* 731498 802A1198 24C6FFC1 */ addiu $a2, $a2, -0x3f
.L802A119C:
/* 73149C 802A119C AEB10084 */ sw $s1, 0x84($s5)
.L802A11A0:
/* 7314A0 802A11A0 8FBF0048 */ lw $ra, 0x48($sp)
/* 7314A4 802A11A4 8FB50044 */ lw $s5, 0x44($sp)
/* 7314A8 802A11A8 8FB40040 */ lw $s4, 0x40($sp)
/* 7314AC 802A11AC 8FB3003C */ lw $s3, 0x3c($sp)
/* 7314B0 802A11B0 8FB20038 */ lw $s2, 0x38($sp)
/* 7314B4 802A11B4 8FB10034 */ lw $s1, 0x34($sp)
/* 7314B8 802A11B8 8FB00030 */ lw $s0, 0x30($sp)
/* 7314BC 802A11BC D7B80060 */ ldc1 $f24, 0x60($sp)
/* 7314C0 802A11C0 D7B60058 */ ldc1 $f22, 0x58($sp)
/* 7314C4 802A11C4 D7B40050 */ ldc1 $f20, 0x50($sp)
/* 7314C8 802A11C8 24020002 */ addiu $v0, $zero, 2
/* 7314CC 802A11CC 03E00008 */ jr $ra
/* 7314D0 802A11D0 27BD0068 */ addiu $sp, $sp, 0x68

View File

@ -1,31 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A11D4_7314D4
/* 7314D4 802A11D4 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 7314D8 802A11D8 3C03800E */ lui $v1, %hi(gBattleStatus)
/* 7314DC 802A11DC 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
/* 7314E0 802A11E0 AFBF0014 */ sw $ra, 0x14($sp)
/* 7314E4 802A11E4 AFB00010 */ sw $s0, 0x10($sp)
/* 7314E8 802A11E8 8462017A */ lh $v0, 0x17a($v1)
/* 7314EC 802A11EC 8C6400D8 */ lw $a0, 0xd8($v1)
/* 7314F0 802A11F0 00021140 */ sll $v0, $v0, 5
/* 7314F4 802A11F4 3C108008 */ lui $s0, %hi(gItemTable+0xC)
/* 7314F8 802A11F8 02028021 */ addu $s0, $s0, $v0
/* 7314FC 802A11FC 861078EC */ lh $s0, %lo(gItemTable+0xC)($s0)
/* 731500 802A1200 0C099CAB */ jal heroes_is_ability_active
/* 731504 802A1204 2405001D */ addiu $a1, $zero, 0x1d
/* 731508 802A1208 10400007 */ beqz $v0, .L802A1228
/* 73150C 802A120C 00000000 */ nop
/* 731510 802A1210 1A000005 */ blez $s0, .L802A1228
/* 731514 802A1214 00000000 */ nop
/* 731518 802A1218 3C04802A */ lui $a0, %hi(D_802A2DD0)
/* 73151C 802A121C 8C842DD0 */ lw $a0, %lo(D_802A2DD0)($a0)
/* 731520 802A1220 0C05123D */ jal free_icon
/* 731524 802A1224 00000000 */ nop
.L802A1228:
/* 731528 802A1228 8FBF0014 */ lw $ra, 0x14($sp)
/* 73152C 802A122C 8FB00010 */ lw $s0, 0x10($sp)
/* 731530 802A1230 24020002 */ addiu $v0, $zero, 2
/* 731534 802A1234 03E00008 */ jr $ra
/* 731538 802A1238 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,112 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A123C_73153C
/* 73153C 802A123C 3C03802A */ lui $v1, %hi(D_802A2DEC)
/* 731540 802A1240 8C632DEC */ lw $v1, %lo(D_802A2DEC)($v1)
/* 731544 802A1244 27BDFF98 */ addiu $sp, $sp, -0x68
/* 731548 802A1248 AFBF0064 */ sw $ra, 0x64($sp)
/* 73154C 802A124C AFB40060 */ sw $s4, 0x60($sp)
/* 731550 802A1250 AFB3005C */ sw $s3, 0x5c($sp)
/* 731554 802A1254 AFB20058 */ sw $s2, 0x58($sp)
/* 731558 802A1258 AFB10054 */ sw $s1, 0x54($sp)
/* 73155C 802A125C 28620006 */ slti $v0, $v1, 6
/* 731560 802A1260 10400058 */ beqz $v0, .L802A13C4
/* 731564 802A1264 AFB00050 */ sw $s0, 0x50($sp)
/* 731568 802A1268 18600056 */ blez $v1, .L802A13C4
/* 73156C 802A126C 24050007 */ addiu $a1, $zero, 7
/* 731570 802A1270 0000202D */ daddu $a0, $zero, $zero
/* 731574 802A1274 2406006A */ addiu $a2, $zero, 0x6a
/* 731578 802A1278 24020024 */ addiu $v0, $zero, 0x24
/* 73157C 802A127C AFA20014 */ sw $v0, 0x14($sp)
/* 731580 802A1280 AFA20018 */ sw $v0, 0x18($sp)
/* 731584 802A1284 240200FF */ addiu $v0, $zero, 0xff
/* 731588 802A1288 AFA2001C */ sw $v0, 0x1c($sp)
/* 73158C 802A128C 24020140 */ addiu $v0, $zero, 0x140
/* 731590 802A1290 AFA20044 */ sw $v0, 0x44($sp)
/* 731594 802A1294 240200F0 */ addiu $v0, $zero, 0xf0
/* 731598 802A1298 24070056 */ addiu $a3, $zero, 0x56
/* 73159C 802A129C AFA00010 */ sw $zero, 0x10($sp)
/* 7315A0 802A12A0 AFA00020 */ sw $zero, 0x20($sp)
/* 7315A4 802A12A4 AFA00024 */ sw $zero, 0x24($sp)
/* 7315A8 802A12A8 AFA00028 */ sw $zero, 0x28($sp)
/* 7315AC 802A12AC AFA0002C */ sw $zero, 0x2c($sp)
/* 7315B0 802A12B0 AFA00030 */ sw $zero, 0x30($sp)
/* 7315B4 802A12B4 AFA00034 */ sw $zero, 0x34($sp)
/* 7315B8 802A12B8 AFA00038 */ sw $zero, 0x38($sp)
/* 7315BC 802A12BC AFA0003C */ sw $zero, 0x3c($sp)
/* 7315C0 802A12C0 AFA00040 */ sw $zero, 0x40($sp)
/* 7315C4 802A12C4 AFA20048 */ sw $v0, 0x48($sp)
/* 7315C8 802A12C8 0C03D4B8 */ jal draw_box
/* 7315CC 802A12CC AFA0004C */ sw $zero, 0x4c($sp)
/* 7315D0 802A12D0 3C06ED1B */ lui $a2, 0xed1b
/* 7315D4 802A12D4 34C60168 */ ori $a2, $a2, 0x168
/* 7315D8 802A12D8 3C050022 */ lui $a1, 0x22
/* 7315DC 802A12DC 34A5C1D8 */ ori $a1, $a1, 0xc1d8
/* 7315E0 802A12E0 0000882D */ daddu $s1, $zero, $zero
/* 7315E4 802A12E4 3C1451EB */ lui $s4, 0x51eb
/* 7315E8 802A12E8 3694851F */ ori $s4, $s4, 0x851f
/* 7315EC 802A12EC 0220982D */ daddu $s3, $s1, $zero
/* 7315F0 802A12F0 3C04800A */ lui $a0, %hi(gMasterGfxPos)
/* 7315F4 802A12F4 2484A66C */ addiu $a0, $a0, %lo(gMasterGfxPos)
/* 7315F8 802A12F8 8C820000 */ lw $v0, ($a0)
/* 7315FC 802A12FC 3C12802A */ lui $s2, %hi(D_802A2DD8)
/* 731600 802A1300 26522DD8 */ addiu $s2, $s2, %lo(D_802A2DD8)
/* 731604 802A1304 0040182D */ daddu $v1, $v0, $zero
/* 731608 802A1308 24420008 */ addiu $v0, $v0, 8
/* 73160C 802A130C AC820000 */ sw $v0, ($a0)
/* 731610 802A1310 AC660000 */ sw $a2, ($v1)
/* 731614 802A1314 AC650004 */ sw $a1, 4($v1)
.L802A1318:
/* 731618 802A1318 2405007C */ addiu $a1, $zero, 0x7c
/* 73161C 802A131C 3C02802A */ lui $v0, %hi(D_802A2DF4)
/* 731620 802A1320 8C422DF4 */ lw $v0, %lo(D_802A2DF4)($v0)
/* 731624 802A1324 8E500000 */ lw $s0, ($s2)
/* 731628 802A1328 00540018 */ mult $v0, $s4
/* 73162C 802A132C 26520004 */ addiu $s2, $s2, 4
/* 731630 802A1330 26310001 */ addiu $s1, $s1, 1
/* 731634 802A1334 0200202D */ daddu $a0, $s0, $zero
/* 731638 802A1338 000217C3 */ sra $v0, $v0, 0x1f
/* 73163C 802A133C 00004010 */ mfhi $t0
/* 731640 802A1340 00083143 */ sra $a2, $t0, 5
/* 731644 802A1344 00C23023 */ subu $a2, $a2, $v0
/* 731648 802A1348 24C6FF98 */ addiu $a2, $a2, -0x68
/* 73164C 802A134C 0C051261 */ jal set_icon_render_pos
/* 731650 802A1350 02663023 */ subu $a2, $s3, $a2
/* 731654 802A1354 0C0511F8 */ jal draw_icon_2
/* 731658 802A1358 0200202D */ daddu $a0, $s0, $zero
/* 73165C 802A135C 2A220005 */ slti $v0, $s1, 5
/* 731660 802A1360 1440FFED */ bnez $v0, .L802A1318
/* 731664 802A1364 2673001A */ addiu $s3, $s3, 0x1a
/* 731668 802A1368 3C0251EB */ lui $v0, 0x51eb
/* 73166C 802A136C 3442851F */ ori $v0, $v0, 0x851f
/* 731670 802A1370 2405007C */ addiu $a1, $zero, 0x7c
/* 731674 802A1374 00113040 */ sll $a2, $s1, 1
/* 731678 802A1378 00D13021 */ addu $a2, $a2, $s1
/* 73167C 802A137C 00063080 */ sll $a2, $a2, 2
/* 731680 802A1380 3C03802A */ lui $v1, %hi(D_802A2DF4)
/* 731684 802A1384 8C632DF4 */ lw $v1, %lo(D_802A2DF4)($v1)
/* 731688 802A1388 00D13021 */ addu $a2, $a2, $s1
/* 73168C 802A138C 00620018 */ mult $v1, $v0
/* 731690 802A1390 3C10802A */ lui $s0, %hi(D_802A2DD8)
/* 731694 802A1394 8E102DD8 */ lw $s0, %lo(D_802A2DD8)($s0)
/* 731698 802A1398 00063040 */ sll $a2, $a2, 1
/* 73169C 802A139C 0200202D */ daddu $a0, $s0, $zero
/* 7316A0 802A13A0 00031FC3 */ sra $v1, $v1, 0x1f
/* 7316A4 802A13A4 00004010 */ mfhi $t0
/* 7316A8 802A13A8 00081143 */ sra $v0, $t0, 5
/* 7316AC 802A13AC 00431023 */ subu $v0, $v0, $v1
/* 7316B0 802A13B0 2442FF98 */ addiu $v0, $v0, -0x68
/* 7316B4 802A13B4 0C051261 */ jal set_icon_render_pos
/* 7316B8 802A13B8 00C23023 */ subu $a2, $a2, $v0
/* 7316BC 802A13BC 0C0511F8 */ jal draw_icon_2
/* 7316C0 802A13C0 0200202D */ daddu $a0, $s0, $zero
.L802A13C4:
/* 7316C4 802A13C4 8FBF0064 */ lw $ra, 0x64($sp)
/* 7316C8 802A13C8 8FB40060 */ lw $s4, 0x60($sp)
/* 7316CC 802A13CC 8FB3005C */ lw $s3, 0x5c($sp)
/* 7316D0 802A13D0 8FB20058 */ lw $s2, 0x58($sp)
/* 7316D4 802A13D4 8FB10054 */ lw $s1, 0x54($sp)
/* 7316D8 802A13D8 8FB00050 */ lw $s0, 0x50($sp)
/* 7316DC 802A13DC 03E00008 */ jr $ra
/* 7316E0 802A13E0 27BD0068 */ addiu $sp, $sp, 0x68

View File

@ -1,296 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A13E4_7316E4
/* 7316E4 802A13E4 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 7316E8 802A13E8 0080302D */ daddu $a2, $a0, $zero
/* 7316EC 802A13EC AFBF0020 */ sw $ra, 0x20($sp)
/* 7316F0 802A13F0 AFB3001C */ sw $s3, 0x1c($sp)
/* 7316F4 802A13F4 AFB20018 */ sw $s2, 0x18($sp)
/* 7316F8 802A13F8 AFB10014 */ sw $s1, 0x14($sp)
/* 7316FC 802A13FC 10A00003 */ beqz $a1, .L802A140C
/* 731700 802A1400 AFB00010 */ sw $s0, 0x10($sp)
/* 731704 802A1404 3C01802A */ lui $at, %hi(D_802A2DEC)
/* 731708 802A1408 AC202DEC */ sw $zero, %lo(D_802A2DEC)($at)
.L802A140C:
/* 73170C 802A140C 3C03802A */ lui $v1, %hi(D_802A2DEC)
/* 731710 802A1410 8C632DEC */ lw $v1, %lo(D_802A2DEC)($v1)
/* 731714 802A1414 2C620006 */ sltiu $v0, $v1, 6
/* 731718 802A1418 104000F7 */ beqz $v0, .L802A17F8
/* 73171C 802A141C 00031080 */ sll $v0, $v1, 2
/* 731720 802A1420 3C01802A */ lui $at, %hi(jtbl_802A2DB0_7330B0)
/* 731724 802A1424 00220821 */ addu $at, $at, $v0
/* 731728 802A1428 8C222DB0 */ lw $v0, %lo(jtbl_802A2DB0_7330B0)($at)
/* 73172C 802A142C 00400008 */ jr $v0
/* 731730 802A1430 00000000 */ nop
glabel L802A1434_731734
/* 731734 802A1434 3C05802A */ lui $a1, %hi(func_802A123C_73153C)
/* 731738 802A1438 24A5123C */ addiu $a1, $a1, %lo(func_802A123C_73153C)
/* 73173C 802A143C 0C048C8F */ jal bind_dynamic_entity_7
/* 731740 802A1440 0000202D */ daddu $a0, $zero, $zero
/* 731744 802A1444 3C01802A */ lui $at, %hi(D_802A2E00)
/* 731748 802A1448 AC222E00 */ sw $v0, %lo(D_802A2E00)($at)
/* 73174C 802A144C 0C00A67F */ jal rand_int
/* 731750 802A1450 240432C8 */ addiu $a0, $zero, 0x32c8
/* 731754 802A1454 0000802D */ daddu $s0, $zero, $zero
/* 731758 802A1458 3C13802A */ lui $s3, %hi(D_802A2848_732B48)
/* 73175C 802A145C 26732848 */ addiu $s3, $s3, %lo(D_802A2848_732B48)
/* 731760 802A1460 3C12802A */ lui $s2, %hi(D_802A2DD8)
/* 731764 802A1464 26522DD8 */ addiu $s2, $s2, %lo(D_802A2DD8)
/* 731768 802A1468 3C11802A */ lui $s1, %hi(D_802A2858_732B58)
/* 73176C 802A146C 26312858 */ addiu $s1, $s1, %lo(D_802A2858_732B58)
/* 731770 802A1470 3C01802A */ lui $at, %hi(D_802A2DF4)
/* 731774 802A1474 AC222DF4 */ sw $v0, %lo(D_802A2DF4)($at)
/* 731778 802A1478 240203E8 */ addiu $v0, $zero, 0x3e8
/* 73177C 802A147C 3C01802A */ lui $at, %hi(D_802A2DF8)
/* 731780 802A1480 AC222DF8 */ sw $v0, %lo(D_802A2DF8)($at)
.L802A1484:
/* 731784 802A1484 8E220000 */ lw $v0, ($s1)
/* 731788 802A1488 26310004 */ addiu $s1, $s1, 4
/* 73178C 802A148C 00021080 */ sll $v0, $v0, 2
/* 731790 802A1490 00531021 */ addu $v0, $v0, $s3
/* 731794 802A1494 8C440000 */ lw $a0, ($v0)
/* 731798 802A1498 0C050529 */ jal create_icon
/* 73179C 802A149C 26100001 */ addiu $s0, $s0, 1
/* 7317A0 802A14A0 0040202D */ daddu $a0, $v0, $zero
/* 7317A4 802A14A4 24050080 */ addiu $a1, $zero, 0x80
/* 7317A8 802A14A8 0C051280 */ jal set_icon_flags
/* 7317AC 802A14AC AE440000 */ sw $a0, ($s2)
/* 7317B0 802A14B0 2A020005 */ slti $v0, $s0, 5
/* 7317B4 802A14B4 1440FFF3 */ bnez $v0, .L802A1484
/* 7317B8 802A14B8 26520004 */ addiu $s2, $s2, 4
/* 7317BC 802A14BC 24020001 */ addiu $v0, $zero, 1
/* 7317C0 802A14C0 3C01802A */ lui $at, %hi(D_802A2DEC)
/* 7317C4 802A14C4 AC222DEC */ sw $v0, %lo(D_802A2DEC)($at)
/* 7317C8 802A14C8 080A85FF */ j .L802A17FC
/* 7317CC 802A14CC 0000102D */ daddu $v0, $zero, $zero
glabel L802A14D0_7317D0
/* 7317D0 802A14D0 3C0351EB */ lui $v1, 0x51eb
/* 7317D4 802A14D4 3C06802A */ lui $a2, %hi(D_802A2DF4)
/* 7317D8 802A14D8 24C62DF4 */ addiu $a2, $a2, %lo(D_802A2DF4)
/* 7317DC 802A14DC 3C07802A */ lui $a3, %hi(D_802A2DF8)
/* 7317E0 802A14E0 24E72DF8 */ addiu $a3, $a3, %lo(D_802A2DF8)
/* 7317E4 802A14E4 8CC20000 */ lw $v0, ($a2)
/* 7317E8 802A14E8 8CE50000 */ lw $a1, ($a3)
/* 7317EC 802A14EC 3463851F */ ori $v1, $v1, 0x851f
/* 7317F0 802A14F0 00452021 */ addu $a0, $v0, $a1
/* 7317F4 802A14F4 00830018 */ mult $a0, $v1
/* 7317F8 802A14F8 00041FC3 */ sra $v1, $a0, 0x1f
/* 7317FC 802A14FC 00004010 */ mfhi $t0
/* 731800 802A1500 00081143 */ sra $v0, $t0, 5
/* 731804 802A1504 00431023 */ subu $v0, $v0, $v1
/* 731808 802A1508 28420082 */ slti $v0, $v0, 0x82
/* 73180C 802A150C 14400003 */ bnez $v0, .L802A151C
/* 731810 802A1510 ACC40000 */ sw $a0, ($a2)
/* 731814 802A1514 2482CD38 */ addiu $v0, $a0, -0x32c8
/* 731818 802A1518 ACC20000 */ sw $v0, ($a2)
.L802A151C:
/* 73181C 802A151C 00A0182D */ daddu $v1, $a1, $zero
/* 731820 802A1520 28620191 */ slti $v0, $v1, 0x191
/* 731824 802A1524 14400003 */ bnez $v0, .L802A1534
/* 731828 802A1528 28620065 */ slti $v0, $v1, 0x65
/* 73182C 802A152C 080A8550 */ j .L802A1540
/* 731830 802A1530 2462FFF6 */ addiu $v0, $v1, -0xa
.L802A1534:
/* 731834 802A1534 14400002 */ bnez $v0, .L802A1540
/* 731838 802A1538 24A2FFFF */ addiu $v0, $a1, -1
/* 73183C 802A153C 2462FFFB */ addiu $v0, $v1, -5
.L802A1540:
/* 731840 802A1540 ACE20000 */ sw $v0, ($a3)
/* 731844 802A1544 3C02802A */ lui $v0, %hi(D_802A2DF8)
/* 731848 802A1548 8C422DF8 */ lw $v0, %lo(D_802A2DF8)($v0)
/* 73184C 802A154C 2842000A */ slti $v0, $v0, 0xa
/* 731850 802A1550 104000A9 */ beqz $v0, .L802A17F8
/* 731854 802A1554 3C0351EB */ lui $v1, 0x51eb
/* 731858 802A1558 3C02802A */ lui $v0, %hi(D_802A2DF4)
/* 73185C 802A155C 8C422DF4 */ lw $v0, %lo(D_802A2DF4)($v0)
/* 731860 802A1560 3463851F */ ori $v1, $v1, 0x851f
/* 731864 802A1564 00430018 */ mult $v0, $v1
/* 731868 802A1568 3C044EC4 */ lui $a0, 0x4ec4
/* 73186C 802A156C 3484EC4F */ ori $a0, $a0, 0xec4f
/* 731870 802A1570 000217C3 */ sra $v0, $v0, 0x1f
/* 731874 802A1574 00004010 */ mfhi $t0
/* 731878 802A1578 00081943 */ sra $v1, $t0, 5
/* 73187C 802A157C 00621823 */ subu $v1, $v1, $v0
/* 731880 802A1580 00640018 */ mult $v1, $a0
/* 731884 802A1584 000317C3 */ sra $v0, $v1, 0x1f
/* 731888 802A1588 3C01802A */ lui $at, %hi(D_802A2DF0)
/* 73188C 802A158C AC232DF0 */ sw $v1, %lo(D_802A2DF0)($at)
/* 731890 802A1590 00004010 */ mfhi $t0
/* 731894 802A1594 000820C3 */ sra $a0, $t0, 3
/* 731898 802A1598 00822023 */ subu $a0, $a0, $v0
/* 73189C 802A159C 00041040 */ sll $v0, $a0, 1
/* 7318A0 802A15A0 00441021 */ addu $v0, $v0, $a0
/* 7318A4 802A15A4 00021080 */ sll $v0, $v0, 2
/* 7318A8 802A15A8 00441021 */ addu $v0, $v0, $a0
/* 7318AC 802A15AC 00021040 */ sll $v0, $v0, 1
/* 7318B0 802A15B0 00621823 */ subu $v1, $v1, $v0
/* 7318B4 802A15B4 2863000D */ slti $v1, $v1, 0xd
/* 7318B8 802A15B8 10600008 */ beqz $v1, .L802A15DC
/* 7318BC 802A15BC 00000000 */ nop
/* 7318C0 802A15C0 0C00A67F */ jal rand_int
/* 7318C4 802A15C4 24040064 */ addiu $a0, $zero, 0x64
/* 7318C8 802A15C8 28420050 */ slti $v0, $v0, 0x50
/* 7318CC 802A15CC 1440000D */ bnez $v0, .L802A1604
/* 7318D0 802A15D0 24020002 */ addiu $v0, $zero, 2
/* 7318D4 802A15D4 080A857C */ j .L802A15F0
/* 7318D8 802A15D8 24020003 */ addiu $v0, $zero, 3
.L802A15DC:
/* 7318DC 802A15DC 0C00A67F */ jal rand_int
/* 7318E0 802A15E0 24040064 */ addiu $a0, $zero, 0x64
/* 7318E4 802A15E4 2842003C */ slti $v0, $v0, 0x3c
/* 7318E8 802A15E8 10400005 */ beqz $v0, .L802A1600
/* 7318EC 802A15EC 24020003 */ addiu $v0, $zero, 3
.L802A15F0:
/* 7318F0 802A15F0 3C01802A */ lui $at, %hi(D_802A2DEC)
/* 7318F4 802A15F4 AC222DEC */ sw $v0, %lo(D_802A2DEC)($at)
/* 7318F8 802A15F8 080A85FF */ j .L802A17FC
/* 7318FC 802A15FC 0000102D */ daddu $v0, $zero, $zero
.L802A1600:
/* 731900 802A1600 24020002 */ addiu $v0, $zero, 2
.L802A1604:
/* 731904 802A1604 3C01802A */ lui $at, %hi(D_802A2DEC)
/* 731908 802A1608 AC222DEC */ sw $v0, %lo(D_802A2DEC)($at)
/* 73190C 802A160C 080A85FF */ j .L802A17FC
/* 731910 802A1610 0000102D */ daddu $v0, $zero, $zero
glabel L802A1614_731914
/* 731914 802A1614 3C024EC4 */ lui $v0, 0x4ec4
/* 731918 802A1618 3C06802A */ lui $a2, %hi(D_802A2DF0)
/* 73191C 802A161C 24C62DF0 */ addiu $a2, $a2, %lo(D_802A2DF0)
/* 731920 802A1620 8CC50000 */ lw $a1, ($a2)
/* 731924 802A1624 3442EC4F */ ori $v0, $v0, 0xec4f
/* 731928 802A1628 00A20018 */ mult $a1, $v0
/* 73192C 802A162C 000517C3 */ sra $v0, $a1, 0x1f
/* 731930 802A1630 00004010 */ mfhi $t0
/* 731934 802A1634 000818C3 */ sra $v1, $t0, 3
/* 731938 802A1638 00622023 */ subu $a0, $v1, $v0
/* 73193C 802A163C 00041040 */ sll $v0, $a0, 1
/* 731940 802A1640 00441021 */ addu $v0, $v0, $a0
/* 731944 802A1644 00021080 */ sll $v0, $v0, 2
/* 731948 802A1648 00441021 */ addu $v0, $v0, $a0
/* 73194C 802A164C 00021040 */ sll $v0, $v0, 1
/* 731950 802A1650 00A22023 */ subu $a0, $a1, $v0
/* 731954 802A1654 24820003 */ addiu $v0, $a0, 3
/* 731958 802A1658 04420001 */ bltzl $v0, .L802A1660
/* 73195C 802A165C 24820006 */ addiu $v0, $a0, 6
.L802A1660:
/* 731960 802A1660 00022083 */ sra $a0, $v0, 2
/* 731964 802A1664 00A41823 */ subu $v1, $a1, $a0
/* 731968 802A1668 00031040 */ sll $v0, $v1, 1
/* 73196C 802A166C 00431021 */ addu $v0, $v0, $v1
/* 731970 802A1670 000210C0 */ sll $v0, $v0, 3
/* 731974 802A1674 00431021 */ addu $v0, $v0, $v1
/* 731978 802A1678 00021080 */ sll $v0, $v0, 2
/* 73197C 802A167C ACC30000 */ sw $v1, ($a2)
/* 731980 802A1680 3C01802A */ lui $at, %hi(D_802A2DF4)
/* 731984 802A1684 AC222DF4 */ sw $v0, %lo(D_802A2DF4)($at)
/* 731988 802A1688 1480005C */ bnez $a0, .L802A17FC
/* 73198C 802A168C 0000102D */ daddu $v0, $zero, $zero
/* 731990 802A1690 080A85B9 */ j .L802A16E4
/* 731994 802A1694 24020004 */ addiu $v0, $zero, 4
glabel L802A1698_731998
/* 731998 802A1698 3C024EC4 */ lui $v0, 0x4ec4
/* 73199C 802A169C 3C06802A */ lui $a2, %hi(D_802A2DF0)
/* 7319A0 802A16A0 24C62DF0 */ addiu $a2, $a2, %lo(D_802A2DF0)
/* 7319A4 802A16A4 8CC50000 */ lw $a1, ($a2)
/* 7319A8 802A16A8 3442EC4F */ ori $v0, $v0, 0xec4f
/* 7319AC 802A16AC 00A20018 */ mult $a1, $v0
/* 7319B0 802A16B0 000517C3 */ sra $v0, $a1, 0x1f
/* 7319B4 802A16B4 00004010 */ mfhi $t0
/* 7319B8 802A16B8 000818C3 */ sra $v1, $t0, 3
/* 7319BC 802A16BC 00621823 */ subu $v1, $v1, $v0
/* 7319C0 802A16C0 00031040 */ sll $v0, $v1, 1
/* 7319C4 802A16C4 00431021 */ addu $v0, $v0, $v1
/* 7319C8 802A16C8 00021080 */ sll $v0, $v0, 2
/* 7319CC 802A16CC 00431021 */ addu $v0, $v0, $v1
/* 7319D0 802A16D0 00021040 */ sll $v0, $v0, 1
/* 7319D4 802A16D4 00A21823 */ subu $v1, $a1, $v0
/* 7319D8 802A16D8 14600006 */ bnez $v1, .L802A16F4
/* 7319DC 802A16DC 2402001A */ addiu $v0, $zero, 0x1a
/* 7319E0 802A16E0 24020004 */ addiu $v0, $zero, 4
.L802A16E4:
/* 7319E4 802A16E4 3C01802A */ lui $at, %hi(D_802A2DEC)
/* 7319E8 802A16E8 AC222DEC */ sw $v0, %lo(D_802A2DEC)($at)
/* 7319EC 802A16EC 080A85FF */ j .L802A17FC
/* 7319F0 802A16F0 0000102D */ daddu $v0, $zero, $zero
.L802A16F4:
/* 7319F4 802A16F4 00432023 */ subu $a0, $v0, $v1
/* 7319F8 802A16F8 24820003 */ addiu $v0, $a0, 3
/* 7319FC 802A16FC 04420001 */ bltzl $v0, .L802A1704
/* 731A00 802A1700 24820006 */ addiu $v0, $a0, 6
.L802A1704:
/* 731A04 802A1704 00022083 */ sra $a0, $v0, 2
/* 731A08 802A1708 00A41821 */ addu $v1, $a1, $a0
/* 731A0C 802A170C 00031040 */ sll $v0, $v1, 1
/* 731A10 802A1710 00431021 */ addu $v0, $v0, $v1
/* 731A14 802A1714 000210C0 */ sll $v0, $v0, 3
/* 731A18 802A1718 00431021 */ addu $v0, $v0, $v1
/* 731A1C 802A171C 00021080 */ sll $v0, $v0, 2
/* 731A20 802A1720 ACC30000 */ sw $v1, ($a2)
/* 731A24 802A1724 3C01802A */ lui $at, %hi(D_802A2DF4)
/* 731A28 802A1728 AC222DF4 */ sw $v0, %lo(D_802A2DF4)($at)
/* 731A2C 802A172C 080A85FF */ j .L802A17FC
/* 731A30 802A1730 0000102D */ daddu $v0, $zero, $zero
glabel L802A1734_731A34
/* 731A34 802A1734 24020014 */ addiu $v0, $zero, 0x14
/* 731A38 802A1738 3C01802A */ lui $at, %hi(D_802A2DFC)
/* 731A3C 802A173C AC222DFC */ sw $v0, %lo(D_802A2DFC)($at)
/* 731A40 802A1740 24020005 */ addiu $v0, $zero, 5
/* 731A44 802A1744 3C01802A */ lui $at, %hi(D_802A2DEC)
/* 731A48 802A1748 AC222DEC */ sw $v0, %lo(D_802A2DEC)($at)
/* 731A4C 802A174C 080A85FF */ j .L802A17FC
/* 731A50 802A1750 0000102D */ daddu $v0, $zero, $zero
glabel L802A1754_731A54
/* 731A54 802A1754 3C03802A */ lui $v1, %hi(D_802A2DFC)
/* 731A58 802A1758 24632DFC */ addiu $v1, $v1, %lo(D_802A2DFC)
/* 731A5C 802A175C 8C620000 */ lw $v0, ($v1)
/* 731A60 802A1760 10400003 */ beqz $v0, .L802A1770
/* 731A64 802A1764 2442FFFF */ addiu $v0, $v0, -1
/* 731A68 802A1768 080A85FE */ j .L802A17F8
/* 731A6C 802A176C AC620000 */ sw $v0, ($v1)
.L802A1770:
/* 731A70 802A1770 3C034EC4 */ lui $v1, 0x4ec4
/* 731A74 802A1774 3C02802A */ lui $v0, %hi(D_802A2DF0)
/* 731A78 802A1778 8C422DF0 */ lw $v0, %lo(D_802A2DF0)($v0)
/* 731A7C 802A177C 3463EC4F */ ori $v1, $v1, 0xec4f
/* 731A80 802A1780 00430018 */ mult $v0, $v1
/* 731A84 802A1784 3C11802A */ lui $s1, %hi(D_802A2DD8)
/* 731A88 802A1788 26312DD8 */ addiu $s1, $s1, %lo(D_802A2DD8)
/* 731A8C 802A178C 3C04802A */ lui $a0, %hi(D_802A2E00)
/* 731A90 802A1790 8C842E00 */ lw $a0, %lo(D_802A2E00)($a0)
/* 731A94 802A1794 000217C3 */ sra $v0, $v0, 0x1f
/* 731A98 802A1798 00004010 */ mfhi $t0
/* 731A9C 802A179C 000818C3 */ sra $v1, $t0, 3
/* 731AA0 802A17A0 00628023 */ subu $s0, $v1, $v0
/* 731AA4 802A17A4 00101080 */ sll $v0, $s0, 2
/* 731AA8 802A17A8 0000802D */ daddu $s0, $zero, $zero
/* 731AAC 802A17AC 3C01802A */ lui $at, %hi(D_802A285A_732B5A)
/* 731AB0 802A17B0 00220821 */ addu $at, $at, $v0
/* 731AB4 802A17B4 9422285A */ lhu $v0, %lo(D_802A285A_732B5A)($at)
/* 731AB8 802A17B8 3C03800E */ lui $v1, %hi(gBattleStatus)
/* 731ABC 802A17BC 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
/* 731AC0 802A17C0 A462017A */ sh $v0, 0x17a($v1)
/* 731AC4 802A17C4 00021400 */ sll $v0, $v0, 0x10
/* 731AC8 802A17C8 00021403 */ sra $v0, $v0, 0x10
/* 731ACC 802A17CC 0C048D70 */ jal func_801235C0
/* 731AD0 802A17D0 ACC20084 */ sw $v0, 0x84($a2)
.L802A17D4:
/* 731AD4 802A17D4 8E240000 */ lw $a0, ($s1)
/* 731AD8 802A17D8 26310004 */ addiu $s1, $s1, 4
/* 731ADC 802A17DC 0C05123D */ jal free_icon
/* 731AE0 802A17E0 26100001 */ addiu $s0, $s0, 1
/* 731AE4 802A17E4 2A020005 */ slti $v0, $s0, 5
/* 731AE8 802A17E8 1440FFFA */ bnez $v0, .L802A17D4
/* 731AEC 802A17EC 24020002 */ addiu $v0, $zero, 2
/* 731AF0 802A17F0 080A85FF */ j .L802A17FC
/* 731AF4 802A17F4 00000000 */ nop
.L802A17F8:
/* 731AF8 802A17F8 0000102D */ daddu $v0, $zero, $zero
.L802A17FC:
/* 731AFC 802A17FC 8FBF0020 */ lw $ra, 0x20($sp)
/* 731B00 802A1800 8FB3001C */ lw $s3, 0x1c($sp)
/* 731B04 802A1804 8FB20018 */ lw $s2, 0x18($sp)
/* 731B08 802A1808 8FB10014 */ lw $s1, 0x14($sp)
/* 731B0C 802A180C 8FB00010 */ lw $s0, 0x10($sp)
/* 731B10 802A1810 03E00008 */ jr $ra
/* 731B14 802A1814 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -1,52 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1818_731B18
/* 731B18 802A1818 27BDFFD0 */ addiu $sp, $sp, -0x30
/* 731B1C 802A181C AFB1001C */ sw $s1, 0x1c($sp)
/* 731B20 802A1820 0080882D */ daddu $s1, $a0, $zero
/* 731B24 802A1824 AFBF0028 */ sw $ra, 0x28($sp)
/* 731B28 802A1828 AFB30024 */ sw $s3, 0x24($sp)
/* 731B2C 802A182C AFB20020 */ sw $s2, 0x20($sp)
/* 731B30 802A1830 AFB00018 */ sw $s0, 0x18($sp)
/* 731B34 802A1834 8E30000C */ lw $s0, 0xc($s1)
/* 731B38 802A1838 8E050000 */ lw $a1, ($s0)
/* 731B3C 802A183C 0C0B1EAF */ jal get_variable
/* 731B40 802A1840 26100004 */ addiu $s0, $s0, 4
/* 731B44 802A1844 8E050000 */ lw $a1, ($s0)
/* 731B48 802A1848 26100004 */ addiu $s0, $s0, 4
/* 731B4C 802A184C 0220202D */ daddu $a0, $s1, $zero
/* 731B50 802A1850 0C0B1EAF */ jal get_variable
/* 731B54 802A1854 0040982D */ daddu $s3, $v0, $zero
/* 731B58 802A1858 8E050000 */ lw $a1, ($s0)
/* 731B5C 802A185C 26100004 */ addiu $s0, $s0, 4
/* 731B60 802A1860 0220202D */ daddu $a0, $s1, $zero
/* 731B64 802A1864 0C0B1EAF */ jal get_variable
/* 731B68 802A1868 0040902D */ daddu $s2, $v0, $zero
/* 731B6C 802A186C 0220202D */ daddu $a0, $s1, $zero
/* 731B70 802A1870 8E050000 */ lw $a1, ($s0)
/* 731B74 802A1874 0C0B1EAF */ jal get_variable
/* 731B78 802A1878 0040802D */ daddu $s0, $v0, $zero
/* 731B7C 802A187C 44930000 */ mtc1 $s3, $f0
/* 731B80 802A1880 00000000 */ nop
/* 731B84 802A1884 46800020 */ cvt.s.w $f0, $f0
/* 731B88 802A1888 44050000 */ mfc1 $a1, $f0
/* 731B8C 802A188C 44920000 */ mtc1 $s2, $f0
/* 731B90 802A1890 00000000 */ nop
/* 731B94 802A1894 46800020 */ cvt.s.w $f0, $f0
/* 731B98 802A1898 44060000 */ mfc1 $a2, $f0
/* 731B9C 802A189C 44900000 */ mtc1 $s0, $f0
/* 731BA0 802A18A0 00000000 */ nop
/* 731BA4 802A18A4 46800020 */ cvt.s.w $f0, $f0
/* 731BA8 802A18A8 44070000 */ mfc1 $a3, $f0
/* 731BAC 802A18AC 0000202D */ daddu $a0, $zero, $zero
/* 731BB0 802A18B0 0C01C424 */ jal func_80071090
/* 731BB4 802A18B4 AFA20010 */ sw $v0, 0x10($sp)
/* 731BB8 802A18B8 8FBF0028 */ lw $ra, 0x28($sp)
/* 731BBC 802A18BC 8FB30024 */ lw $s3, 0x24($sp)
/* 731BC0 802A18C0 8FB20020 */ lw $s2, 0x20($sp)
/* 731BC4 802A18C4 8FB1001C */ lw $s1, 0x1c($sp)
/* 731BC8 802A18C8 8FB00018 */ lw $s0, 0x18($sp)
/* 731BCC 802A18CC 24020002 */ addiu $v0, $zero, 2
/* 731BD0 802A18D0 03E00008 */ jr $ra
/* 731BD4 802A18D4 27BD0030 */ addiu $sp, $sp, 0x30

View File

@ -1,52 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A18D8_731BD8
/* 731BD8 802A18D8 27BDFFD0 */ addiu $sp, $sp, -0x30
/* 731BDC 802A18DC AFB1001C */ sw $s1, 0x1c($sp)
/* 731BE0 802A18E0 0080882D */ daddu $s1, $a0, $zero
/* 731BE4 802A18E4 AFBF0028 */ sw $ra, 0x28($sp)
/* 731BE8 802A18E8 AFB30024 */ sw $s3, 0x24($sp)
/* 731BEC 802A18EC AFB20020 */ sw $s2, 0x20($sp)
/* 731BF0 802A18F0 AFB00018 */ sw $s0, 0x18($sp)
/* 731BF4 802A18F4 8E30000C */ lw $s0, 0xc($s1)
/* 731BF8 802A18F8 8E050000 */ lw $a1, ($s0)
/* 731BFC 802A18FC 0C0B1EAF */ jal get_variable
/* 731C00 802A1900 26100004 */ addiu $s0, $s0, 4
/* 731C04 802A1904 8E050000 */ lw $a1, ($s0)
/* 731C08 802A1908 26100004 */ addiu $s0, $s0, 4
/* 731C0C 802A190C 0220202D */ daddu $a0, $s1, $zero
/* 731C10 802A1910 0C0B1EAF */ jal get_variable
/* 731C14 802A1914 0040982D */ daddu $s3, $v0, $zero
/* 731C18 802A1918 8E050000 */ lw $a1, ($s0)
/* 731C1C 802A191C 26100004 */ addiu $s0, $s0, 4
/* 731C20 802A1920 0220202D */ daddu $a0, $s1, $zero
/* 731C24 802A1924 0C0B1EAF */ jal get_variable
/* 731C28 802A1928 0040902D */ daddu $s2, $v0, $zero
/* 731C2C 802A192C 0220202D */ daddu $a0, $s1, $zero
/* 731C30 802A1930 8E050000 */ lw $a1, ($s0)
/* 731C34 802A1934 0C0B1EAF */ jal get_variable
/* 731C38 802A1938 0040802D */ daddu $s0, $v0, $zero
/* 731C3C 802A193C 44930000 */ mtc1 $s3, $f0
/* 731C40 802A1940 00000000 */ nop
/* 731C44 802A1944 46800020 */ cvt.s.w $f0, $f0
/* 731C48 802A1948 44050000 */ mfc1 $a1, $f0
/* 731C4C 802A194C 44920000 */ mtc1 $s2, $f0
/* 731C50 802A1950 00000000 */ nop
/* 731C54 802A1954 46800020 */ cvt.s.w $f0, $f0
/* 731C58 802A1958 44060000 */ mfc1 $a2, $f0
/* 731C5C 802A195C 44900000 */ mtc1 $s0, $f0
/* 731C60 802A1960 00000000 */ nop
/* 731C64 802A1964 46800020 */ cvt.s.w $f0, $f0
/* 731C68 802A1968 44070000 */ mfc1 $a3, $f0
/* 731C6C 802A196C 24040001 */ addiu $a0, $zero, 1
/* 731C70 802A1970 0C01C424 */ jal func_80071090
/* 731C74 802A1974 AFA20010 */ sw $v0, 0x10($sp)
/* 731C78 802A1978 8FBF0028 */ lw $ra, 0x28($sp)
/* 731C7C 802A197C 8FB30024 */ lw $s3, 0x24($sp)
/* 731C80 802A1980 8FB20020 */ lw $s2, 0x20($sp)
/* 731C84 802A1984 8FB1001C */ lw $s1, 0x1c($sp)
/* 731C88 802A1988 8FB00018 */ lw $s0, 0x18($sp)
/* 731C8C 802A198C 24020002 */ addiu $v0, $zero, 2
/* 731C90 802A1990 03E00008 */ jr $ra
/* 731C94 802A1994 27BD0030 */ addiu $sp, $sp, 0x30

View File

@ -1,26 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1998_731C98
/* 731C98 802A1998 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 731C9C 802A199C AFBF0014 */ sw $ra, 0x14($sp)
/* 731CA0 802A19A0 AFB00010 */ sw $s0, 0x10($sp)
/* 731CA4 802A19A4 8C82000C */ lw $v0, 0xc($a0)
/* 731CA8 802A19A8 0C0B1EAF */ jal get_variable
/* 731CAC 802A19AC 8C450000 */ lw $a1, ($v0)
/* 731CB0 802A19B0 3C038011 */ lui $v1, %hi(gPlayerData)
/* 731CB4 802A19B4 2463F290 */ addiu $v1, $v1, %lo(gPlayerData)
/* 731CB8 802A19B8 80640002 */ lb $a0, 2($v1)
/* 731CBC 802A19BC 80650003 */ lb $a1, 3($v1)
/* 731CC0 802A19C0 00822021 */ addu $a0, $a0, $v0
/* 731CC4 802A19C4 00A4102A */ slt $v0, $a1, $a0
/* 731CC8 802A19C8 10400002 */ beqz $v0, .L802A19D4
/* 731CCC 802A19CC 0060802D */ daddu $s0, $v1, $zero
/* 731CD0 802A19D0 00A0202D */ daddu $a0, $a1, $zero
.L802A19D4:
/* 731CD4 802A19D4 A2040002 */ sb $a0, 2($s0)
/* 731CD8 802A19D8 8FBF0014 */ lw $ra, 0x14($sp)
/* 731CDC 802A19DC 8FB00010 */ lw $s0, 0x10($sp)
/* 731CE0 802A19E0 24020002 */ addiu $v0, $zero, 2
/* 731CE4 802A19E4 03E00008 */ jr $ra
/* 731CE8 802A19E8 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,26 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A19EC_731CEC
/* 731CEC 802A19EC 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 731CF0 802A19F0 AFBF0014 */ sw $ra, 0x14($sp)
/* 731CF4 802A19F4 AFB00010 */ sw $s0, 0x10($sp)
/* 731CF8 802A19F8 8C82000C */ lw $v0, 0xc($a0)
/* 731CFC 802A19FC 0C0B1EAF */ jal get_variable
/* 731D00 802A1A00 8C450000 */ lw $a1, ($v0)
/* 731D04 802A1A04 3C038011 */ lui $v1, %hi(gPlayerData)
/* 731D08 802A1A08 2463F290 */ addiu $v1, $v1, %lo(gPlayerData)
/* 731D0C 802A1A0C 80640005 */ lb $a0, 5($v1)
/* 731D10 802A1A10 80650006 */ lb $a1, 6($v1)
/* 731D14 802A1A14 00822021 */ addu $a0, $a0, $v0
/* 731D18 802A1A18 00A4102A */ slt $v0, $a1, $a0
/* 731D1C 802A1A1C 10400002 */ beqz $v0, .L802A1A28
/* 731D20 802A1A20 0060802D */ daddu $s0, $v1, $zero
/* 731D24 802A1A24 00A0202D */ daddu $a0, $a1, $zero
.L802A1A28:
/* 731D28 802A1A28 A2040005 */ sb $a0, 5($s0)
/* 731D2C 802A1A2C 8FBF0014 */ lw $ra, 0x14($sp)
/* 731D30 802A1A30 8FB00010 */ lw $s0, 0x10($sp)
/* 731D34 802A1A34 24020002 */ addiu $v0, $zero, 2
/* 731D38 802A1A38 03E00008 */ jr $ra
/* 731D3C 802A1A3C 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,24 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1A40_731D40
/* 731D40 802A1A40 3C058011 */ lui $a1, %hi(gPlayerData)
/* 731D44 802A1A44 24A5F290 */ addiu $a1, $a1, %lo(gPlayerData)
/* 731D48 802A1A48 90A20002 */ lbu $v0, 2($a1)
/* 731D4C 802A1A4C 3C068009 */ lui $a2, %hi(gItemTable+0x1A7B)
/* 731D50 802A1A50 90C6935B */ lbu $a2, %lo(gItemTable+0x1A7B)($a2)
/* 731D54 802A1A54 80A30003 */ lb $v1, 3($a1)
/* 731D58 802A1A58 00461021 */ addu $v0, $v0, $a2
/* 731D5C 802A1A5C A0A20002 */ sb $v0, 2($a1)
/* 731D60 802A1A60 00021600 */ sll $v0, $v0, 0x18
/* 731D64 802A1A64 00021603 */ sra $v0, $v0, 0x18
/* 731D68 802A1A68 0062182A */ slt $v1, $v1, $v0
/* 731D6C 802A1A6C 90A20003 */ lbu $v0, 3($a1)
/* 731D70 802A1A70 54600001 */ bnel $v1, $zero, .L802A1A78
/* 731D74 802A1A74 A0A20002 */ sb $v0, 2($a1)
.L802A1A78:
/* 731D78 802A1A78 00061600 */ sll $v0, $a2, 0x18
/* 731D7C 802A1A7C 00021603 */ sra $v0, $v0, 0x18
/* 731D80 802A1A80 AC820090 */ sw $v0, 0x90($a0)
/* 731D84 802A1A84 03E00008 */ jr $ra
/* 731D88 802A1A88 24020002 */ addiu $v0, $zero, 2

View File

@ -1,24 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1A8C_731D8C
/* 731D8C 802A1A8C 3C058011 */ lui $a1, %hi(gPlayerData)
/* 731D90 802A1A90 24A5F290 */ addiu $a1, $a1, %lo(gPlayerData)
/* 731D94 802A1A94 90A20005 */ lbu $v0, 5($a1)
/* 731D98 802A1A98 3C068009 */ lui $a2, %hi(gItemTable+0x1A7C)
/* 731D9C 802A1A9C 90C6935C */ lbu $a2, %lo(gItemTable+0x1A7C)($a2)
/* 731DA0 802A1AA0 80A30006 */ lb $v1, 6($a1)
/* 731DA4 802A1AA4 00461021 */ addu $v0, $v0, $a2
/* 731DA8 802A1AA8 A0A20005 */ sb $v0, 5($a1)
/* 731DAC 802A1AAC 00021600 */ sll $v0, $v0, 0x18
/* 731DB0 802A1AB0 00021603 */ sra $v0, $v0, 0x18
/* 731DB4 802A1AB4 0062182A */ slt $v1, $v1, $v0
/* 731DB8 802A1AB8 90A20006 */ lbu $v0, 6($a1)
/* 731DBC 802A1ABC 54600001 */ bnel $v1, $zero, .L802A1AC4
/* 731DC0 802A1AC0 A0A20005 */ sb $v0, 5($a1)
.L802A1AC4:
/* 731DC4 802A1AC4 00061600 */ sll $v0, $a2, 0x18
/* 731DC8 802A1AC8 00021603 */ sra $v0, $v0, 0x18
/* 731DCC 802A1ACC AC820090 */ sw $v0, 0x90($a0)
/* 731DD0 802A1AD0 03E00008 */ jr $ra
/* 731DD4 802A1AD4 24020002 */ addiu $v0, $zero, 2

View File

@ -1,19 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1AD8_731DD8
/* 731DD8 802A1AD8 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 731DDC 802A1ADC 2405000B */ addiu $a1, $zero, 0xb
/* 731DE0 802A1AE0 AFB00010 */ sw $s0, 0x10($sp)
/* 731DE4 802A1AE4 3C10800E */ lui $s0, %hi(gBattleStatus+0xD8)
/* 731DE8 802A1AE8 8E10C148 */ lw $s0, %lo(gBattleStatus+0xD8)($s0)
/* 731DEC 802A1AEC 24060003 */ addiu $a2, $zero, 3
/* 731DF0 802A1AF0 AFBF0014 */ sw $ra, 0x14($sp)
/* 731DF4 802A1AF4 0C0997D0 */ jal inflict_status
/* 731DF8 802A1AF8 0200202D */ daddu $a0, $s0, $zero
/* 731DFC 802A1AFC A200021C */ sb $zero, 0x21c($s0)
/* 731E00 802A1B00 8FBF0014 */ lw $ra, 0x14($sp)
/* 731E04 802A1B04 8FB00010 */ lw $s0, 0x10($sp)
/* 731E08 802A1B08 24020002 */ addiu $v0, $zero, 2
/* 731E0C 802A1B0C 03E00008 */ jr $ra
/* 731E10 802A1B10 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,25 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1B14_731E14
/* 731E14 802A1B14 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 731E18 802A1B18 2405000E */ addiu $a1, $zero, 0xe
/* 731E1C 802A1B1C AFB00010 */ sw $s0, 0x10($sp)
/* 731E20 802A1B20 3C10800E */ lui $s0, %hi(gBattleStatus+0xD8)
/* 731E24 802A1B24 8E10C148 */ lw $s0, %lo(gBattleStatus+0xD8)($s0)
/* 731E28 802A1B28 24060003 */ addiu $a2, $zero, 3
/* 731E2C 802A1B2C AFBF0018 */ sw $ra, 0x18($sp)
/* 731E30 802A1B30 AFB10014 */ sw $s1, 0x14($sp)
/* 731E34 802A1B34 8E1101F4 */ lw $s1, 0x1f4($s0)
/* 731E38 802A1B38 0C0997D0 */ jal inflict_status
/* 731E3C 802A1B3C 0200202D */ daddu $a0, $s0, $zero
/* 731E40 802A1B40 A200021C */ sb $zero, 0x21c($s0)
/* 731E44 802A1B44 8E230000 */ lw $v1, ($s1)
/* 731E48 802A1B48 34630100 */ ori $v1, $v1, 0x100
/* 731E4C 802A1B4C AE230000 */ sw $v1, ($s1)
/* 731E50 802A1B50 8FBF0018 */ lw $ra, 0x18($sp)
/* 731E54 802A1B54 8FB10014 */ lw $s1, 0x14($sp)
/* 731E58 802A1B58 8FB00010 */ lw $s0, 0x10($sp)
/* 731E5C 802A1B5C 24020002 */ addiu $v0, $zero, 2
/* 731E60 802A1B60 03E00008 */ jr $ra
/* 731E64 802A1B64 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,18 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1B68_731E68
/* 731E68 802A1B68 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 731E6C 802A1B6C 24050006 */ addiu $a1, $zero, 6
/* 731E70 802A1B70 AFB00010 */ sw $s0, 0x10($sp)
/* 731E74 802A1B74 3C10800E */ lui $s0, %hi(gBattleStatus+0xD8)
/* 731E78 802A1B78 8E10C148 */ lw $s0, %lo(gBattleStatus+0xD8)($s0)
/* 731E7C 802A1B7C 24060003 */ addiu $a2, $zero, 3
/* 731E80 802A1B80 AFBF0014 */ sw $ra, 0x14($sp)
/* 731E84 802A1B84 0C0997D0 */ jal inflict_status
/* 731E88 802A1B88 0200202D */ daddu $a0, $s0, $zero
/* 731E8C 802A1B8C A200021C */ sb $zero, 0x21c($s0)
/* 731E90 802A1B90 8FBF0014 */ lw $ra, 0x14($sp)
/* 731E94 802A1B94 8FB00010 */ lw $s0, 0x10($sp)
/* 731E98 802A1B98 24020002 */ addiu $v0, $zero, 2
/* 731E9C 802A1B9C 03E00008 */ jr $ra

View File

@ -1,63 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1000_740CC0
/* 740CC0 802A1000 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 740CC4 802A1004 3C03800E */ lui $v1, %hi(gBattleStatus)
/* 740CC8 802A1008 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
/* 740CCC 802A100C AFBF0020 */ sw $ra, 0x20($sp)
/* 740CD0 802A1010 AFB1001C */ sw $s1, 0x1c($sp)
/* 740CD4 802A1014 AFB00018 */ sw $s0, 0x18($sp)
/* 740CD8 802A1018 8C6200D8 */ lw $v0, 0xd8($v1)
/* 740CDC 802A101C 0080802D */ daddu $s0, $a0, $zero
/* 740CE0 802A1020 C442001C */ lwc1 $f2, 0x1c($v0)
/* 740CE4 802A1024 C44C0144 */ lwc1 $f12, 0x144($v0)
/* 740CE8 802A1028 C44E0148 */ lwc1 $f14, 0x148($v0)
/* 740CEC 802A102C C444014C */ lwc1 $f4, 0x14c($v0)
/* 740CF0 802A1030 C4460018 */ lwc1 $f6, 0x18($v0)
/* 740CF4 802A1034 C4400020 */ lwc1 $f0, 0x20($v0)
/* 740CF8 802A1038 44062000 */ mfc1 $a2, $f4
/* 740CFC 802A103C 44073000 */ mfc1 $a3, $f6
/* 740D00 802A1040 0060882D */ daddu $s1, $v1, $zero
/* 740D04 802A1044 E7A20010 */ swc1 $f2, 0x10($sp)
/* 740D08 802A1048 0C00A7CB */ jal dist3D
/* 740D0C 802A104C E7A00014 */ swc1 $f0, 0x14($sp)
/* 740D10 802A1050 3C014170 */ lui $at, 0x4170
/* 740D14 802A1054 44811000 */ mtc1 $at, $f2
/* 740D18 802A1058 00000000 */ nop
/* 740D1C 802A105C 46020002 */ mul.s $f0, $f0, $f2
/* 740D20 802A1060 00000000 */ nop
/* 740D24 802A1064 3C0142C8 */ lui $at, 0x42c8
/* 740D28 802A1068 44811000 */ mtc1 $at, $f2
/* 740D2C 802A106C 00000000 */ nop
/* 740D30 802A1070 46020003 */ div.s $f0, $f0, $f2
/* 740D34 802A1074 4600020D */ trunc.w.s $f8, $f0
/* 740D38 802A1078 44024000 */ mfc1 $v0, $f8
/* 740D3C 802A107C 00000000 */ nop
/* 740D40 802A1080 AE020084 */ sw $v0, 0x84($s0)
/* 740D44 802A1084 28420015 */ slti $v0, $v0, 0x15
/* 740D48 802A1088 14400002 */ bnez $v0, .L802A1094
/* 740D4C 802A108C 24020014 */ addiu $v0, $zero, 0x14
/* 740D50 802A1090 AE020084 */ sw $v0, 0x84($s0)
.L802A1094:
/* 740D54 802A1094 82220083 */ lb $v0, 0x83($s1)
/* 740D58 802A1098 10400007 */ beqz $v0, .L802A10B8
/* 740D5C 802A109C 00000000 */ nop
/* 740D60 802A10A0 8E020084 */ lw $v0, 0x84($s0)
/* 740D64 802A10A4 28420006 */ slti $v0, $v0, 6
/* 740D68 802A10A8 10400008 */ beqz $v0, .L802A10CC
/* 740D6C 802A10AC 24020006 */ addiu $v0, $zero, 6
/* 740D70 802A10B0 080A8433 */ j .L802A10CC
/* 740D74 802A10B4 AE020084 */ sw $v0, 0x84($s0)
.L802A10B8:
/* 740D78 802A10B8 8E020084 */ lw $v0, 0x84($s0)
/* 740D7C 802A10BC 2842000C */ slti $v0, $v0, 0xc
/* 740D80 802A10C0 10400002 */ beqz $v0, .L802A10CC
/* 740D84 802A10C4 2402000C */ addiu $v0, $zero, 0xc
/* 740D88 802A10C8 AE020084 */ sw $v0, 0x84($s0)
.L802A10CC:
/* 740D8C 802A10CC 8FBF0020 */ lw $ra, 0x20($sp)
/* 740D90 802A10D0 8FB1001C */ lw $s1, 0x1c($sp)
/* 740D94 802A10D4 8FB00018 */ lw $s0, 0x18($sp)
/* 740D98 802A10D8 24020002 */ addiu $v0, $zero, 2
/* 740D9C 802A10DC 03E00008 */ jr $ra

View File

@ -1,63 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1000_748DD0
/* 748DD0 802A1000 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 748DD4 802A1004 3C03800E */ lui $v1, %hi(gBattleStatus)
/* 748DD8 802A1008 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
/* 748DDC 802A100C AFBF0020 */ sw $ra, 0x20($sp)
/* 748DE0 802A1010 AFB1001C */ sw $s1, 0x1c($sp)
/* 748DE4 802A1014 AFB00018 */ sw $s0, 0x18($sp)
/* 748DE8 802A1018 8C6200D8 */ lw $v0, 0xd8($v1)
/* 748DEC 802A101C 0080802D */ daddu $s0, $a0, $zero
/* 748DF0 802A1020 C442001C */ lwc1 $f2, 0x1c($v0)
/* 748DF4 802A1024 C44C0144 */ lwc1 $f12, 0x144($v0)
/* 748DF8 802A1028 C44E0148 */ lwc1 $f14, 0x148($v0)
/* 748DFC 802A102C C444014C */ lwc1 $f4, 0x14c($v0)
/* 748E00 802A1030 C4460018 */ lwc1 $f6, 0x18($v0)
/* 748E04 802A1034 C4400020 */ lwc1 $f0, 0x20($v0)
/* 748E08 802A1038 44062000 */ mfc1 $a2, $f4
/* 748E0C 802A103C 44073000 */ mfc1 $a3, $f6
/* 748E10 802A1040 0060882D */ daddu $s1, $v1, $zero
/* 748E14 802A1044 E7A20010 */ swc1 $f2, 0x10($sp)
/* 748E18 802A1048 0C00A7CB */ jal dist3D
/* 748E1C 802A104C E7A00014 */ swc1 $f0, 0x14($sp)
/* 748E20 802A1050 3C014170 */ lui $at, 0x4170
/* 748E24 802A1054 44811000 */ mtc1 $at, $f2
/* 748E28 802A1058 00000000 */ nop
/* 748E2C 802A105C 46020002 */ mul.s $f0, $f0, $f2
/* 748E30 802A1060 00000000 */ nop
/* 748E34 802A1064 3C0142C8 */ lui $at, 0x42c8
/* 748E38 802A1068 44811000 */ mtc1 $at, $f2
/* 748E3C 802A106C 00000000 */ nop
/* 748E40 802A1070 46020003 */ div.s $f0, $f0, $f2
/* 748E44 802A1074 4600020D */ trunc.w.s $f8, $f0
/* 748E48 802A1078 44024000 */ mfc1 $v0, $f8
/* 748E4C 802A107C 00000000 */ nop
/* 748E50 802A1080 AE020084 */ sw $v0, 0x84($s0)
/* 748E54 802A1084 28420015 */ slti $v0, $v0, 0x15
/* 748E58 802A1088 14400002 */ bnez $v0, .L802A1094
/* 748E5C 802A108C 24020014 */ addiu $v0, $zero, 0x14
/* 748E60 802A1090 AE020084 */ sw $v0, 0x84($s0)
.L802A1094:
/* 748E64 802A1094 82220083 */ lb $v0, 0x83($s1)
/* 748E68 802A1098 10400007 */ beqz $v0, .L802A10B8
/* 748E6C 802A109C 00000000 */ nop
/* 748E70 802A10A0 8E020084 */ lw $v0, 0x84($s0)
/* 748E74 802A10A4 28420006 */ slti $v0, $v0, 6
/* 748E78 802A10A8 10400008 */ beqz $v0, .L802A10CC
/* 748E7C 802A10AC 24020006 */ addiu $v0, $zero, 6
/* 748E80 802A10B0 080A8433 */ j .L802A10CC
/* 748E84 802A10B4 AE020084 */ sw $v0, 0x84($s0)
.L802A10B8:
/* 748E88 802A10B8 8E020084 */ lw $v0, 0x84($s0)
/* 748E8C 802A10BC 2842000C */ slti $v0, $v0, 0xc
/* 748E90 802A10C0 10400002 */ beqz $v0, .L802A10CC
/* 748E94 802A10C4 2402000C */ addiu $v0, $zero, 0xc
/* 748E98 802A10C8 AE020084 */ sw $v0, 0x84($s0)
.L802A10CC:
/* 748E9C 802A10CC 8FBF0020 */ lw $ra, 0x20($sp)
/* 748EA0 802A10D0 8FB1001C */ lw $s1, 0x1c($sp)
/* 748EA4 802A10D4 8FB00018 */ lw $s0, 0x18($sp)
/* 748EA8 802A10D8 24020002 */ addiu $v0, $zero, 2
/* 748EAC 802A10DC 03E00008 */ jr $ra

View File

@ -1,25 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1000_74F130
/* 74F130 802A1000 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 74F134 802A1004 AFB00010 */ sw $s0, 0x10($sp)
/* 74F138 802A1008 0080802D */ daddu $s0, $a0, $zero
/* 74F13C 802A100C 2402000F */ addiu $v0, $zero, 0xf
/* 74F140 802A1010 3C03800E */ lui $v1, %hi(gBattleStatus+0x83)
/* 74F144 802A1014 8063C0F3 */ lb $v1, %lo(gBattleStatus+0x83)($v1)
/* 74F148 802A1018 24040015 */ addiu $a0, $zero, 0x15
/* 74F14C 802A101C AFBF0014 */ sw $ra, 0x14($sp)
/* 74F150 802A1020 AE020088 */ sw $v0, 0x88($s0)
/* 74F154 802A1024 0C03A752 */ jal is_ability_active
/* 74F158 802A1028 AE030084 */ sw $v1, 0x84($s0)
/* 74F15C 802A102C 10400003 */ beqz $v0, .L802A103C
/* 74F160 802A1030 24020028 */ addiu $v0, $zero, 0x28
/* 74F164 802A1034 AE000084 */ sw $zero, 0x84($s0)
/* 74F168 802A1038 AE020088 */ sw $v0, 0x88($s0)
.L802A103C:
/* 74F16C 802A103C 8FBF0014 */ lw $ra, 0x14($sp)
/* 74F170 802A1040 8FB00010 */ lw $s0, 0x10($sp)
/* 74F174 802A1044 24020002 */ addiu $v0, $zero, 2
/* 74F178 802A1048 03E00008 */ jr $ra
/* 74F17C 802A104C 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,27 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1050_74F180
/* 74F180 802A1050 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 74F184 802A1054 AFB00010 */ sw $s0, 0x10($sp)
/* 74F188 802A1058 0080802D */ daddu $s0, $a0, $zero
/* 74F18C 802A105C 24040016 */ addiu $a0, $zero, 0x16
/* 74F190 802A1060 AFBF0014 */ sw $ra, 0x14($sp)
/* 74F194 802A1064 0C03A752 */ jal is_ability_active
/* 74F198 802A1068 AE000084 */ sw $zero, 0x84($s0)
/* 74F19C 802A106C 10400002 */ beqz $v0, .L802A1078
/* 74F1A0 802A1070 24020001 */ addiu $v0, $zero, 1
/* 74F1A4 802A1074 AE020084 */ sw $v0, 0x84($s0)
.L802A1078:
/* 74F1A8 802A1078 3C02800E */ lui $v0, %hi(gBattleStatus)
/* 74F1AC 802A107C 8C42C070 */ lw $v0, %lo(gBattleStatus)($v0)
/* 74F1B0 802A1080 30421000 */ andi $v0, $v0, 0x1000
/* 74F1B4 802A1084 10400002 */ beqz $v0, .L802A1090
/* 74F1B8 802A1088 24020001 */ addiu $v0, $zero, 1
/* 74F1BC 802A108C AE020084 */ sw $v0, 0x84($s0)
.L802A1090:
/* 74F1C0 802A1090 8FBF0014 */ lw $ra, 0x14($sp)
/* 74F1C4 802A1094 8FB00010 */ lw $s0, 0x10($sp)
/* 74F1C8 802A1098 24020002 */ addiu $v0, $zero, 2
/* 74F1CC 802A109C 03E00008 */ jr $ra
/* 74F1D0 802A10A0 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,14 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A10A4_74F1D4
/* 74F1D4 802A10A4 AC800084 */ sw $zero, 0x84($a0)
/* 74F1D8 802A10A8 3C02800E */ lui $v0, %hi(gBattleStatus+0x96)
/* 74F1DC 802A10AC 8042C106 */ lb $v0, %lo(gBattleStatus+0x96)($v0)
/* 74F1E0 802A10B0 28420063 */ slti $v0, $v0, 0x63
/* 74F1E4 802A10B4 14400002 */ bnez $v0, .L802A10C0
/* 74F1E8 802A10B8 24020001 */ addiu $v0, $zero, 1
/* 74F1EC 802A10BC AC820084 */ sw $v0, 0x84($a0)
.L802A10C0:
/* 74F1F0 802A10C0 03E00008 */ jr $ra
/* 74F1F4 802A10C4 24020002 */ addiu $v0, $zero, 2

View File

@ -1,70 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A10C8_74F1F8
/* 74F1F8 802A10C8 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 74F1FC 802A10CC AFB1001C */ sw $s1, 0x1c($sp)
/* 74F200 802A10D0 0080882D */ daddu $s1, $a0, $zero
/* 74F204 802A10D4 AFBF0024 */ sw $ra, 0x24($sp)
/* 74F208 802A10D8 AFB20020 */ sw $s2, 0x20($sp)
/* 74F20C 802A10DC AFB00018 */ sw $s0, 0x18($sp)
/* 74F210 802A10E0 8E30000C */ lw $s0, 0xc($s1)
/* 74F214 802A10E4 8E050000 */ lw $a1, ($s0)
/* 74F218 802A10E8 0C0B1EAF */ jal get_variable
/* 74F21C 802A10EC 26100004 */ addiu $s0, $s0, 4
/* 74F220 802A10F0 8E050000 */ lw $a1, ($s0)
/* 74F224 802A10F4 26100004 */ addiu $s0, $s0, 4
/* 74F228 802A10F8 0220202D */ daddu $a0, $s1, $zero
/* 74F22C 802A10FC 0C0B1EAF */ jal get_variable
/* 74F230 802A1100 0040902D */ daddu $s2, $v0, $zero
/* 74F234 802A1104 0220202D */ daddu $a0, $s1, $zero
/* 74F238 802A1108 8E050000 */ lw $a1, ($s0)
/* 74F23C 802A110C 0C0B1EAF */ jal get_variable
/* 74F240 802A1110 0040802D */ daddu $s0, $v0, $zero
/* 74F244 802A1114 0000202D */ daddu $a0, $zero, $zero
/* 74F248 802A1118 44921000 */ mtc1 $s2, $f2
/* 74F24C 802A111C 00000000 */ nop
/* 74F250 802A1120 468010A0 */ cvt.s.w $f2, $f2
/* 74F254 802A1124 44051000 */ mfc1 $a1, $f2
/* 74F258 802A1128 44901000 */ mtc1 $s0, $f2
/* 74F25C 802A112C 00000000 */ nop
/* 74F260 802A1130 468010A0 */ cvt.s.w $f2, $f2
/* 74F264 802A1134 44061000 */ mfc1 $a2, $f2
/* 74F268 802A1138 44821000 */ mtc1 $v0, $f2
/* 74F26C 802A113C 00000000 */ nop
/* 74F270 802A1140 468010A0 */ cvt.s.w $f2, $f2
/* 74F274 802A1144 3C013F80 */ lui $at, 0x3f80
/* 74F278 802A1148 44810000 */ mtc1 $at, $f0
/* 74F27C 802A114C 44071000 */ mfc1 $a3, $f2
/* 74F280 802A1150 2403003C */ addiu $v1, $zero, 0x3c
/* 74F284 802A1154 AFA30014 */ sw $v1, 0x14($sp)
/* 74F288 802A1158 0C01C634 */ jal func_800718D0
/* 74F28C 802A115C E7A00010 */ swc1 $f0, 0x10($sp)
/* 74F290 802A1160 3C10800E */ lui $s0, %hi(gBattleStatus)
/* 74F294 802A1164 2610C070 */ addiu $s0, $s0, %lo(gBattleStatus)
/* 74F298 802A1168 92020096 */ lbu $v0, 0x96($s0)
/* 74F29C 802A116C 24420001 */ addiu $v0, $v0, 1
/* 74F2A0 802A1170 A2020096 */ sb $v0, 0x96($s0)
/* 74F2A4 802A1174 00021600 */ sll $v0, $v0, 0x18
/* 74F2A8 802A1178 00021603 */ sra $v0, $v0, 0x18
/* 74F2AC 802A117C 28420064 */ slti $v0, $v0, 0x64
/* 74F2B0 802A1180 14400003 */ bnez $v0, .L802A1190
/* 74F2B4 802A1184 0200882D */ daddu $s1, $s0, $zero
/* 74F2B8 802A1188 24020063 */ addiu $v0, $zero, 0x63
/* 74F2BC 802A118C A2020096 */ sb $v0, 0x96($s0)
.L802A1190:
/* 74F2C0 802A1190 3C03DFFF */ lui $v1, 0xdfff
/* 74F2C4 802A1194 3463FFFF */ ori $v1, $v1, 0xffff
/* 74F2C8 802A1198 8E240000 */ lw $a0, ($s1)
/* 74F2CC 802A119C 3C051000 */ lui $a1, 0x1000
/* 74F2D0 802A11A0 A2200097 */ sb $zero, 0x97($s1)
/* 74F2D4 802A11A4 00852025 */ or $a0, $a0, $a1
/* 74F2D8 802A11A8 00832024 */ and $a0, $a0, $v1
/* 74F2DC 802A11AC AE240000 */ sw $a0, ($s1)
/* 74F2E0 802A11B0 8FBF0024 */ lw $ra, 0x24($sp)
/* 74F2E4 802A11B4 8FB20020 */ lw $s2, 0x20($sp)
/* 74F2E8 802A11B8 8FB1001C */ lw $s1, 0x1c($sp)
/* 74F2EC 802A11BC 8FB00018 */ lw $s0, 0x18($sp)
/* 74F2F0 802A11C0 24020002 */ addiu $v0, $zero, 2
/* 74F2F4 802A11C4 03E00008 */ jr $ra
/* 74F2F8 802A11C8 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -1,57 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A11CC_74F2FC
/* 74F2FC 802A11CC 27BDFFD0 */ addiu $sp, $sp, -0x30
/* 74F300 802A11D0 AFB1001C */ sw $s1, 0x1c($sp)
/* 74F304 802A11D4 0080882D */ daddu $s1, $a0, $zero
/* 74F308 802A11D8 AFBF0028 */ sw $ra, 0x28($sp)
/* 74F30C 802A11DC AFB30024 */ sw $s3, 0x24($sp)
/* 74F310 802A11E0 AFB20020 */ sw $s2, 0x20($sp)
/* 74F314 802A11E4 AFB00018 */ sw $s0, 0x18($sp)
/* 74F318 802A11E8 8E30000C */ lw $s0, 0xc($s1)
/* 74F31C 802A11EC 8E050000 */ lw $a1, ($s0)
/* 74F320 802A11F0 0C0B1EAF */ jal get_variable
/* 74F324 802A11F4 26100004 */ addiu $s0, $s0, 4
/* 74F328 802A11F8 8E050000 */ lw $a1, ($s0)
/* 74F32C 802A11FC 26100004 */ addiu $s0, $s0, 4
/* 74F330 802A1200 0220202D */ daddu $a0, $s1, $zero
/* 74F334 802A1204 0C0B1EAF */ jal get_variable
/* 74F338 802A1208 0040982D */ daddu $s3, $v0, $zero
/* 74F33C 802A120C 8E050000 */ lw $a1, ($s0)
/* 74F340 802A1210 26100004 */ addiu $s0, $s0, 4
/* 74F344 802A1214 0220202D */ daddu $a0, $s1, $zero
/* 74F348 802A1218 0C0B1EAF */ jal get_variable
/* 74F34C 802A121C 0040902D */ daddu $s2, $v0, $zero
/* 74F350 802A1220 0220202D */ daddu $a0, $s1, $zero
/* 74F354 802A1224 8E050000 */ lw $a1, ($s0)
/* 74F358 802A1228 0C0B210B */ jal get_float_variable
/* 74F35C 802A122C 0040802D */ daddu $s0, $v0, $zero
/* 74F360 802A1230 24040006 */ addiu $a0, $zero, 6
/* 74F364 802A1234 2673000A */ addiu $s3, $s3, 0xa
/* 74F368 802A1238 44931000 */ mtc1 $s3, $f2
/* 74F36C 802A123C 00000000 */ nop
/* 74F370 802A1240 468010A0 */ cvt.s.w $f2, $f2
/* 74F374 802A1244 26520012 */ addiu $s2, $s2, 0x12
/* 74F378 802A1248 44051000 */ mfc1 $a1, $f2
/* 74F37C 802A124C 44921000 */ mtc1 $s2, $f2
/* 74F380 802A1250 00000000 */ nop
/* 74F384 802A1254 468010A0 */ cvt.s.w $f2, $f2
/* 74F388 802A1258 44061000 */ mfc1 $a2, $f2
/* 74F38C 802A125C 44901000 */ mtc1 $s0, $f2
/* 74F390 802A1260 00000000 */ nop
/* 74F394 802A1264 468010A0 */ cvt.s.w $f2, $f2
/* 74F398 802A1268 44071000 */ mfc1 $a3, $f2
/* 74F39C 802A126C 2402002D */ addiu $v0, $zero, 0x2d
/* 74F3A0 802A1270 E7A00010 */ swc1 $f0, 0x10($sp)
/* 74F3A4 802A1274 0C01C82C */ jal func_800720B0
/* 74F3A8 802A1278 AFA20014 */ sw $v0, 0x14($sp)
/* 74F3AC 802A127C 8FBF0028 */ lw $ra, 0x28($sp)
/* 74F3B0 802A1280 8FB30024 */ lw $s3, 0x24($sp)
/* 74F3B4 802A1284 8FB20020 */ lw $s2, 0x20($sp)
/* 74F3B8 802A1288 8FB1001C */ lw $s1, 0x1c($sp)
/* 74F3BC 802A128C 8FB00018 */ lw $s0, 0x18($sp)
/* 74F3C0 802A1290 24020002 */ addiu $v0, $zero, 2
/* 74F3C4 802A1294 03E00008 */ jr $ra
/* 74F3C8 802A1298 27BD0030 */ addiu $sp, $sp, 0x30
/* 74F3CC 802A129C 00000000 */ nop

View File

@ -1,78 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A10C8_759678
/* 759678 802A10C8 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 75967C 802A10CC AFB1001C */ sw $s1, 0x1c($sp)
/* 759680 802A10D0 0080882D */ daddu $s1, $a0, $zero
/* 759684 802A10D4 AFBF0024 */ sw $ra, 0x24($sp)
/* 759688 802A10D8 AFB20020 */ sw $s2, 0x20($sp)
/* 75968C 802A10DC AFB00018 */ sw $s0, 0x18($sp)
/* 759690 802A10E0 8E30000C */ lw $s0, 0xc($s1)
/* 759694 802A10E4 8E050000 */ lw $a1, ($s0)
/* 759698 802A10E8 0C0B1EAF */ jal get_variable
/* 75969C 802A10EC 26100004 */ addiu $s0, $s0, 4
/* 7596A0 802A10F0 8E050000 */ lw $a1, ($s0)
/* 7596A4 802A10F4 26100004 */ addiu $s0, $s0, 4
/* 7596A8 802A10F8 0220202D */ daddu $a0, $s1, $zero
/* 7596AC 802A10FC 0C0B1EAF */ jal get_variable
/* 7596B0 802A1100 0040902D */ daddu $s2, $v0, $zero
/* 7596B4 802A1104 0220202D */ daddu $a0, $s1, $zero
/* 7596B8 802A1108 8E050000 */ lw $a1, ($s0)
/* 7596BC 802A110C 0C0B1EAF */ jal get_variable
/* 7596C0 802A1110 0040802D */ daddu $s0, $v0, $zero
/* 7596C4 802A1114 24040001 */ addiu $a0, $zero, 1
/* 7596C8 802A1118 44921000 */ mtc1 $s2, $f2
/* 7596CC 802A111C 00000000 */ nop
/* 7596D0 802A1120 468010A0 */ cvt.s.w $f2, $f2
/* 7596D4 802A1124 44051000 */ mfc1 $a1, $f2
/* 7596D8 802A1128 44901000 */ mtc1 $s0, $f2
/* 7596DC 802A112C 00000000 */ nop
/* 7596E0 802A1130 468010A0 */ cvt.s.w $f2, $f2
/* 7596E4 802A1134 44061000 */ mfc1 $a2, $f2
/* 7596E8 802A1138 44821000 */ mtc1 $v0, $f2
/* 7596EC 802A113C 00000000 */ nop
/* 7596F0 802A1140 468010A0 */ cvt.s.w $f2, $f2
/* 7596F4 802A1144 3C013F80 */ lui $at, 0x3f80
/* 7596F8 802A1148 44810000 */ mtc1 $at, $f0
/* 7596FC 802A114C 44071000 */ mfc1 $a3, $f2
/* 759700 802A1150 2403003C */ addiu $v1, $zero, 0x3c
/* 759704 802A1154 AFA30014 */ sw $v1, 0x14($sp)
/* 759708 802A1158 0C01C634 */ jal func_800718D0
/* 75970C 802A115C E7A00010 */ swc1 $f0, 0x10($sp)
/* 759710 802A1160 3C04802A */ lui $a0, %hi(D_802A43D0)
/* 759714 802A1164 248443D0 */ addiu $a0, $a0, %lo(D_802A43D0)
/* 759718 802A1168 3C10800E */ lui $s0, %hi(gBattleStatus)
/* 75971C 802A116C 2610C070 */ addiu $s0, $s0, %lo(gBattleStatus)
/* 759720 802A1170 AC800000 */ sw $zero, ($a0)
/* 759724 802A1174 82020096 */ lb $v0, 0x96($s0)
/* 759728 802A1178 92030096 */ lbu $v1, 0x96($s0)
/* 75972C 802A117C 18400003 */ blez $v0, .L802A118C
/* 759730 802A1180 0200882D */ daddu $s1, $s0, $zero
/* 759734 802A1184 24020001 */ addiu $v0, $zero, 1
/* 759738 802A1188 AC820000 */ sw $v0, ($a0)
.L802A118C:
/* 75973C 802A118C 24620002 */ addiu $v0, $v1, 2
/* 759740 802A1190 A2020096 */ sb $v0, 0x96($s0)
/* 759744 802A1194 00021600 */ sll $v0, $v0, 0x18
/* 759748 802A1198 00021603 */ sra $v0, $v0, 0x18
/* 75974C 802A119C 28420064 */ slti $v0, $v0, 0x64
/* 759750 802A11A0 14400003 */ bnez $v0, .L802A11B0
/* 759754 802A11A4 3C03DFFF */ lui $v1, 0xdfff
/* 759758 802A11A8 24020063 */ addiu $v0, $zero, 0x63
/* 75975C 802A11AC A2020096 */ sb $v0, 0x96($s0)
.L802A11B0:
/* 759760 802A11B0 3463FFFF */ ori $v1, $v1, 0xffff
/* 759764 802A11B4 8E240000 */ lw $a0, ($s1)
/* 759768 802A11B8 3C051000 */ lui $a1, 0x1000
/* 75976C 802A11BC A2200097 */ sb $zero, 0x97($s1)
/* 759770 802A11C0 00852025 */ or $a0, $a0, $a1
/* 759774 802A11C4 00832024 */ and $a0, $a0, $v1
/* 759778 802A11C8 AE240000 */ sw $a0, ($s1)
/* 75977C 802A11CC 8FBF0024 */ lw $ra, 0x24($sp)
/* 759780 802A11D0 8FB20020 */ lw $s2, 0x20($sp)
/* 759784 802A11D4 8FB1001C */ lw $s1, 0x1c($sp)
/* 759788 802A11D8 8FB00018 */ lw $s0, 0x18($sp)
/* 75978C 802A11DC 24020002 */ addiu $v0, $zero, 2
/* 759790 802A11E0 03E00008 */ jr $ra
/* 759794 802A11E4 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -1,73 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A11E8_759798
/* 759798 802A11E8 27BDFFB0 */ addiu $sp, $sp, -0x50
/* 75979C 802A11EC AFB20020 */ sw $s2, 0x20($sp)
/* 7597A0 802A11F0 0080902D */ daddu $s2, $a0, $zero
/* 7597A4 802A11F4 AFBF0028 */ sw $ra, 0x28($sp)
/* 7597A8 802A11F8 AFB30024 */ sw $s3, 0x24($sp)
/* 7597AC 802A11FC AFB1001C */ sw $s1, 0x1c($sp)
/* 7597B0 802A1200 AFB00018 */ sw $s0, 0x18($sp)
/* 7597B4 802A1204 F7BA0048 */ sdc1 $f26, 0x48($sp)
/* 7597B8 802A1208 F7B80040 */ sdc1 $f24, 0x40($sp)
/* 7597BC 802A120C F7B60038 */ sdc1 $f22, 0x38($sp)
/* 7597C0 802A1210 F7B40030 */ sdc1 $f20, 0x30($sp)
/* 7597C4 802A1214 8E50000C */ lw $s0, 0xc($s2)
/* 7597C8 802A1218 8E050000 */ lw $a1, ($s0)
/* 7597CC 802A121C 0C0B1EAF */ jal get_variable
/* 7597D0 802A1220 26100004 */ addiu $s0, $s0, 4
/* 7597D4 802A1224 8E050000 */ lw $a1, ($s0)
/* 7597D8 802A1228 26100004 */ addiu $s0, $s0, 4
/* 7597DC 802A122C 0240202D */ daddu $a0, $s2, $zero
/* 7597E0 802A1230 0C0B1EAF */ jal get_variable
/* 7597E4 802A1234 0040982D */ daddu $s3, $v0, $zero
/* 7597E8 802A1238 8E050000 */ lw $a1, ($s0)
/* 7597EC 802A123C 26100004 */ addiu $s0, $s0, 4
/* 7597F0 802A1240 0240202D */ daddu $a0, $s2, $zero
/* 7597F4 802A1244 0C0B1EAF */ jal get_variable
/* 7597F8 802A1248 0040882D */ daddu $s1, $v0, $zero
/* 7597FC 802A124C 0240202D */ daddu $a0, $s2, $zero
/* 759800 802A1250 8E050000 */ lw $a1, ($s0)
/* 759804 802A1254 0C0B210B */ jal get_float_variable
/* 759808 802A1258 0040802D */ daddu $s0, $v0, $zero
/* 75980C 802A125C 24040006 */ addiu $a0, $zero, 6
/* 759810 802A1260 2673000A */ addiu $s3, $s3, 0xa
/* 759814 802A1264 4493D000 */ mtc1 $s3, $f26
/* 759818 802A1268 00000000 */ nop
/* 75981C 802A126C 4680D6A0 */ cvt.s.w $f26, $f26
/* 759820 802A1270 26310012 */ addiu $s1, $s1, 0x12
/* 759824 802A1274 4491C000 */ mtc1 $s1, $f24
/* 759828 802A1278 00000000 */ nop
/* 75982C 802A127C 4680C620 */ cvt.s.w $f24, $f24
/* 759830 802A1280 4490A000 */ mtc1 $s0, $f20
/* 759834 802A1284 00000000 */ nop
/* 759838 802A1288 4680A520 */ cvt.s.w $f20, $f20
/* 75983C 802A128C 46000586 */ mov.s $f22, $f0
/* 759840 802A1290 4405D000 */ mfc1 $a1, $f26
/* 759844 802A1294 4406C000 */ mfc1 $a2, $f24
/* 759848 802A1298 4407A000 */ mfc1 $a3, $f20
/* 75984C 802A129C 2402002D */ addiu $v0, $zero, 0x2d
/* 759850 802A12A0 E7B60010 */ swc1 $f22, 0x10($sp)
/* 759854 802A12A4 0C01C82C */ jal func_800720B0
/* 759858 802A12A8 AFA20014 */ sw $v0, 0x14($sp)
/* 75985C 802A12AC 2404000C */ addiu $a0, $zero, 0xc
/* 759860 802A12B0 4405D000 */ mfc1 $a1, $f26
/* 759864 802A12B4 4406C000 */ mfc1 $a2, $f24
/* 759868 802A12B8 4407A000 */ mfc1 $a3, $f20
/* 75986C 802A12BC 2402001E */ addiu $v0, $zero, 0x1e
/* 759870 802A12C0 E7B60010 */ swc1 $f22, 0x10($sp)
/* 759874 802A12C4 0C01C2EC */ jal func_80070BB0
/* 759878 802A12C8 AFA20014 */ sw $v0, 0x14($sp)
/* 75987C 802A12CC 8FBF0028 */ lw $ra, 0x28($sp)
/* 759880 802A12D0 8FB30024 */ lw $s3, 0x24($sp)
/* 759884 802A12D4 8FB20020 */ lw $s2, 0x20($sp)
/* 759888 802A12D8 8FB1001C */ lw $s1, 0x1c($sp)
/* 75988C 802A12DC 8FB00018 */ lw $s0, 0x18($sp)
/* 759890 802A12E0 D7BA0048 */ ldc1 $f26, 0x48($sp)
/* 759894 802A12E4 D7B80040 */ ldc1 $f24, 0x40($sp)
/* 759898 802A12E8 D7B60038 */ ldc1 $f22, 0x38($sp)
/* 75989C 802A12EC D7B40030 */ ldc1 $f20, 0x30($sp)
/* 7598A0 802A12F0 24020002 */ addiu $v0, $zero, 2
/* 7598A4 802A12F4 03E00008 */ jr $ra
/* 7598A8 802A12F8 27BD0050 */ addiu $sp, $sp, 0x50

View File

@ -1,25 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1000_75E5D0
/* 75E5D0 802A1000 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 75E5D4 802A1004 AFB00010 */ sw $s0, 0x10($sp)
/* 75E5D8 802A1008 0080802D */ daddu $s0, $a0, $zero
/* 75E5DC 802A100C 2402000F */ addiu $v0, $zero, 0xf
/* 75E5E0 802A1010 3C03800E */ lui $v1, %hi(gBattleStatus+0x83)
/* 75E5E4 802A1014 8063C0F3 */ lb $v1, %lo(gBattleStatus+0x83)($v1)
/* 75E5E8 802A1018 24040015 */ addiu $a0, $zero, 0x15
/* 75E5EC 802A101C AFBF0014 */ sw $ra, 0x14($sp)
/* 75E5F0 802A1020 AE020088 */ sw $v0, 0x88($s0)
/* 75E5F4 802A1024 0C03A752 */ jal is_ability_active
/* 75E5F8 802A1028 AE030084 */ sw $v1, 0x84($s0)
/* 75E5FC 802A102C 10400003 */ beqz $v0, .L802A103C
/* 75E600 802A1030 24020028 */ addiu $v0, $zero, 0x28
/* 75E604 802A1034 AE000084 */ sw $zero, 0x84($s0)
/* 75E608 802A1038 AE020088 */ sw $v0, 0x88($s0)
.L802A103C:
/* 75E60C 802A103C 8FBF0014 */ lw $ra, 0x14($sp)
/* 75E610 802A1040 8FB00010 */ lw $s0, 0x10($sp)
/* 75E614 802A1044 24020002 */ addiu $v0, $zero, 2
/* 75E618 802A1048 03E00008 */ jr $ra
/* 75E61C 802A104C 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,27 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1050_75E620
/* 75E620 802A1050 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 75E624 802A1054 AFB00010 */ sw $s0, 0x10($sp)
/* 75E628 802A1058 0080802D */ daddu $s0, $a0, $zero
/* 75E62C 802A105C 24040016 */ addiu $a0, $zero, 0x16
/* 75E630 802A1060 AFBF0014 */ sw $ra, 0x14($sp)
/* 75E634 802A1064 0C03A752 */ jal is_ability_active
/* 75E638 802A1068 AE000084 */ sw $zero, 0x84($s0)
/* 75E63C 802A106C 10400002 */ beqz $v0, .L802A1078
/* 75E640 802A1070 24020001 */ addiu $v0, $zero, 1
/* 75E644 802A1074 AE020084 */ sw $v0, 0x84($s0)
.L802A1078:
/* 75E648 802A1078 3C02800E */ lui $v0, %hi(gBattleStatus)
/* 75E64C 802A107C 8C42C070 */ lw $v0, %lo(gBattleStatus)($v0)
/* 75E650 802A1080 30421000 */ andi $v0, $v0, 0x1000
/* 75E654 802A1084 10400002 */ beqz $v0, .L802A1090
/* 75E658 802A1088 24020001 */ addiu $v0, $zero, 1
/* 75E65C 802A108C AE020084 */ sw $v0, 0x84($s0)
.L802A1090:
/* 75E660 802A1090 8FBF0014 */ lw $ra, 0x14($sp)
/* 75E664 802A1094 8FB00010 */ lw $s0, 0x10($sp)
/* 75E668 802A1098 24020002 */ addiu $v0, $zero, 2
/* 75E66C 802A109C 03E00008 */ jr $ra
/* 75E670 802A10A0 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,14 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A10A4_75E674
/* 75E674 802A10A4 AC800084 */ sw $zero, 0x84($a0)
/* 75E678 802A10A8 3C02800E */ lui $v0, %hi(gBattleStatus+0x96)
/* 75E67C 802A10AC 8042C106 */ lb $v0, %lo(gBattleStatus+0x96)($v0)
/* 75E680 802A10B0 28420063 */ slti $v0, $v0, 0x63
/* 75E684 802A10B4 14400002 */ bnez $v0, .L802A10C0
/* 75E688 802A10B8 24020001 */ addiu $v0, $zero, 1
/* 75E68C 802A10BC AC820084 */ sw $v0, 0x84($a0)
.L802A10C0:
/* 75E690 802A10C0 03E00008 */ jr $ra
/* 75E694 802A10C4 24020002 */ addiu $v0, $zero, 2

View File

@ -1,78 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A10C8_75E698
/* 75E698 802A10C8 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 75E69C 802A10CC AFB1001C */ sw $s1, 0x1c($sp)
/* 75E6A0 802A10D0 0080882D */ daddu $s1, $a0, $zero
/* 75E6A4 802A10D4 AFBF0024 */ sw $ra, 0x24($sp)
/* 75E6A8 802A10D8 AFB20020 */ sw $s2, 0x20($sp)
/* 75E6AC 802A10DC AFB00018 */ sw $s0, 0x18($sp)
/* 75E6B0 802A10E0 8E30000C */ lw $s0, 0xc($s1)
/* 75E6B4 802A10E4 8E050000 */ lw $a1, ($s0)
/* 75E6B8 802A10E8 0C0B1EAF */ jal get_variable
/* 75E6BC 802A10EC 26100004 */ addiu $s0, $s0, 4
/* 75E6C0 802A10F0 8E050000 */ lw $a1, ($s0)
/* 75E6C4 802A10F4 26100004 */ addiu $s0, $s0, 4
/* 75E6C8 802A10F8 0220202D */ daddu $a0, $s1, $zero
/* 75E6CC 802A10FC 0C0B1EAF */ jal get_variable
/* 75E6D0 802A1100 0040902D */ daddu $s2, $v0, $zero
/* 75E6D4 802A1104 0220202D */ daddu $a0, $s1, $zero
/* 75E6D8 802A1108 8E050000 */ lw $a1, ($s0)
/* 75E6DC 802A110C 0C0B1EAF */ jal get_variable
/* 75E6E0 802A1110 0040802D */ daddu $s0, $v0, $zero
/* 75E6E4 802A1114 24040002 */ addiu $a0, $zero, 2
/* 75E6E8 802A1118 44921000 */ mtc1 $s2, $f2
/* 75E6EC 802A111C 00000000 */ nop
/* 75E6F0 802A1120 468010A0 */ cvt.s.w $f2, $f2
/* 75E6F4 802A1124 44051000 */ mfc1 $a1, $f2
/* 75E6F8 802A1128 44901000 */ mtc1 $s0, $f2
/* 75E6FC 802A112C 00000000 */ nop
/* 75E700 802A1130 468010A0 */ cvt.s.w $f2, $f2
/* 75E704 802A1134 44061000 */ mfc1 $a2, $f2
/* 75E708 802A1138 44821000 */ mtc1 $v0, $f2
/* 75E70C 802A113C 00000000 */ nop
/* 75E710 802A1140 468010A0 */ cvt.s.w $f2, $f2
/* 75E714 802A1144 3C013F80 */ lui $at, 0x3f80
/* 75E718 802A1148 44810000 */ mtc1 $at, $f0
/* 75E71C 802A114C 44071000 */ mfc1 $a3, $f2
/* 75E720 802A1150 2403003C */ addiu $v1, $zero, 0x3c
/* 75E724 802A1154 AFA30014 */ sw $v1, 0x14($sp)
/* 75E728 802A1158 0C01C634 */ jal func_800718D0
/* 75E72C 802A115C E7A00010 */ swc1 $f0, 0x10($sp)
/* 75E730 802A1160 3C04802A */ lui $a0, %hi(D_802A4350)
/* 75E734 802A1164 24844350 */ addiu $a0, $a0, %lo(D_802A4350)
/* 75E738 802A1168 3C10800E */ lui $s0, %hi(gBattleStatus)
/* 75E73C 802A116C 2610C070 */ addiu $s0, $s0, %lo(gBattleStatus)
/* 75E740 802A1170 AC800000 */ sw $zero, ($a0)
/* 75E744 802A1174 82020096 */ lb $v0, 0x96($s0)
/* 75E748 802A1178 92030096 */ lbu $v1, 0x96($s0)
/* 75E74C 802A117C 18400003 */ blez $v0, .L802A118C
/* 75E750 802A1180 0200882D */ daddu $s1, $s0, $zero
/* 75E754 802A1184 24020001 */ addiu $v0, $zero, 1
/* 75E758 802A1188 AC820000 */ sw $v0, ($a0)
.L802A118C:
/* 75E75C 802A118C 24620003 */ addiu $v0, $v1, 3
/* 75E760 802A1190 A2020096 */ sb $v0, 0x96($s0)
/* 75E764 802A1194 00021600 */ sll $v0, $v0, 0x18
/* 75E768 802A1198 00021603 */ sra $v0, $v0, 0x18
/* 75E76C 802A119C 28420064 */ slti $v0, $v0, 0x64
/* 75E770 802A11A0 14400003 */ bnez $v0, .L802A11B0
/* 75E774 802A11A4 3C03DFFF */ lui $v1, 0xdfff
/* 75E778 802A11A8 24020063 */ addiu $v0, $zero, 0x63
/* 75E77C 802A11AC A2020096 */ sb $v0, 0x96($s0)
.L802A11B0:
/* 75E780 802A11B0 3463FFFF */ ori $v1, $v1, 0xffff
/* 75E784 802A11B4 8E240000 */ lw $a0, ($s1)
/* 75E788 802A11B8 3C051000 */ lui $a1, 0x1000
/* 75E78C 802A11BC A2200097 */ sb $zero, 0x97($s1)
/* 75E790 802A11C0 00852025 */ or $a0, $a0, $a1
/* 75E794 802A11C4 00832024 */ and $a0, $a0, $v1
/* 75E798 802A11C8 AE240000 */ sw $a0, ($s1)
/* 75E79C 802A11CC 8FBF0024 */ lw $ra, 0x24($sp)
/* 75E7A0 802A11D0 8FB20020 */ lw $s2, 0x20($sp)
/* 75E7A4 802A11D4 8FB1001C */ lw $s1, 0x1c($sp)
/* 75E7A8 802A11D8 8FB00018 */ lw $s0, 0x18($sp)
/* 75E7AC 802A11DC 24020002 */ addiu $v0, $zero, 2
/* 75E7B0 802A11E0 03E00008 */ jr $ra
/* 75E7B4 802A11E4 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -1,73 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A11E8_75E7B8
/* 75E7B8 802A11E8 27BDFFB0 */ addiu $sp, $sp, -0x50
/* 75E7BC 802A11EC AFB20020 */ sw $s2, 0x20($sp)
/* 75E7C0 802A11F0 0080902D */ daddu $s2, $a0, $zero
/* 75E7C4 802A11F4 AFBF0028 */ sw $ra, 0x28($sp)
/* 75E7C8 802A11F8 AFB30024 */ sw $s3, 0x24($sp)
/* 75E7CC 802A11FC AFB1001C */ sw $s1, 0x1c($sp)
/* 75E7D0 802A1200 AFB00018 */ sw $s0, 0x18($sp)
/* 75E7D4 802A1204 F7BA0048 */ sdc1 $f26, 0x48($sp)
/* 75E7D8 802A1208 F7B80040 */ sdc1 $f24, 0x40($sp)
/* 75E7DC 802A120C F7B60038 */ sdc1 $f22, 0x38($sp)
/* 75E7E0 802A1210 F7B40030 */ sdc1 $f20, 0x30($sp)
/* 75E7E4 802A1214 8E50000C */ lw $s0, 0xc($s2)
/* 75E7E8 802A1218 8E050000 */ lw $a1, ($s0)
/* 75E7EC 802A121C 0C0B1EAF */ jal get_variable
/* 75E7F0 802A1220 26100004 */ addiu $s0, $s0, 4
/* 75E7F4 802A1224 8E050000 */ lw $a1, ($s0)
/* 75E7F8 802A1228 26100004 */ addiu $s0, $s0, 4
/* 75E7FC 802A122C 0240202D */ daddu $a0, $s2, $zero
/* 75E800 802A1230 0C0B1EAF */ jal get_variable
/* 75E804 802A1234 0040982D */ daddu $s3, $v0, $zero
/* 75E808 802A1238 8E050000 */ lw $a1, ($s0)
/* 75E80C 802A123C 26100004 */ addiu $s0, $s0, 4
/* 75E810 802A1240 0240202D */ daddu $a0, $s2, $zero
/* 75E814 802A1244 0C0B1EAF */ jal get_variable
/* 75E818 802A1248 0040882D */ daddu $s1, $v0, $zero
/* 75E81C 802A124C 0240202D */ daddu $a0, $s2, $zero
/* 75E820 802A1250 8E050000 */ lw $a1, ($s0)
/* 75E824 802A1254 0C0B210B */ jal get_float_variable
/* 75E828 802A1258 0040802D */ daddu $s0, $v0, $zero
/* 75E82C 802A125C 24040006 */ addiu $a0, $zero, 6
/* 75E830 802A1260 2673000A */ addiu $s3, $s3, 0xa
/* 75E834 802A1264 4493D000 */ mtc1 $s3, $f26
/* 75E838 802A1268 00000000 */ nop
/* 75E83C 802A126C 4680D6A0 */ cvt.s.w $f26, $f26
/* 75E840 802A1270 26310012 */ addiu $s1, $s1, 0x12
/* 75E844 802A1274 4491C000 */ mtc1 $s1, $f24
/* 75E848 802A1278 00000000 */ nop
/* 75E84C 802A127C 4680C620 */ cvt.s.w $f24, $f24
/* 75E850 802A1280 4490A000 */ mtc1 $s0, $f20
/* 75E854 802A1284 00000000 */ nop
/* 75E858 802A1288 4680A520 */ cvt.s.w $f20, $f20
/* 75E85C 802A128C 46000586 */ mov.s $f22, $f0
/* 75E860 802A1290 4405D000 */ mfc1 $a1, $f26
/* 75E864 802A1294 4406C000 */ mfc1 $a2, $f24
/* 75E868 802A1298 4407A000 */ mfc1 $a3, $f20
/* 75E86C 802A129C 2402002D */ addiu $v0, $zero, 0x2d
/* 75E870 802A12A0 E7B60010 */ swc1 $f22, 0x10($sp)
/* 75E874 802A12A4 0C01C82C */ jal func_800720B0
/* 75E878 802A12A8 AFA20014 */ sw $v0, 0x14($sp)
/* 75E87C 802A12AC 2404000D */ addiu $a0, $zero, 0xd
/* 75E880 802A12B0 4405D000 */ mfc1 $a1, $f26
/* 75E884 802A12B4 4406C000 */ mfc1 $a2, $f24
/* 75E888 802A12B8 4407A000 */ mfc1 $a3, $f20
/* 75E88C 802A12BC 2402001E */ addiu $v0, $zero, 0x1e
/* 75E890 802A12C0 E7B60010 */ swc1 $f22, 0x10($sp)
/* 75E894 802A12C4 0C01C2EC */ jal func_80070BB0
/* 75E898 802A12C8 AFA20014 */ sw $v0, 0x14($sp)
/* 75E89C 802A12CC 8FBF0028 */ lw $ra, 0x28($sp)
/* 75E8A0 802A12D0 8FB30024 */ lw $s3, 0x24($sp)
/* 75E8A4 802A12D4 8FB20020 */ lw $s2, 0x20($sp)
/* 75E8A8 802A12D8 8FB1001C */ lw $s1, 0x1c($sp)
/* 75E8AC 802A12DC 8FB00018 */ lw $s0, 0x18($sp)
/* 75E8B0 802A12E0 D7BA0048 */ ldc1 $f26, 0x48($sp)
/* 75E8B4 802A12E4 D7B80040 */ ldc1 $f24, 0x40($sp)
/* 75E8B8 802A12E8 D7B60038 */ ldc1 $f22, 0x38($sp)
/* 75E8BC 802A12EC D7B40030 */ ldc1 $f20, 0x30($sp)
/* 75E8C0 802A12F0 24020002 */ addiu $v0, $zero, 2
/* 75E8C4 802A12F4 03E00008 */ jr $ra
/* 75E8C8 802A12F8 27BD0050 */ addiu $sp, $sp, 0x50

View File

@ -1,14 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A12FC_75E8CC
/* 75E8CC 802A12FC 3C02802A */ lui $v0, %hi(D_802A4350)
/* 75E8D0 802A1300 8C424350 */ lw $v0, %lo(D_802A4350)($v0)
/* 75E8D4 802A1304 54400002 */ bnel $v0, $zero, .L802A1310
/* 75E8D8 802A1308 24020005 */ addiu $v0, $zero, 5
/* 75E8DC 802A130C 24020004 */ addiu $v0, $zero, 4
.L802A1310:
/* 75E8E0 802A1310 AC820084 */ sw $v0, 0x84($a0)
/* 75E8E4 802A1314 03E00008 */ jr $ra
/* 75E8E8 802A1318 24020002 */ addiu $v0, $zero, 2
/* 75E8EC 802A131C 00000000 */ nop

View File

@ -1,25 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1000_763540
/* 763540 802A1000 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 763544 802A1004 AFB00010 */ sw $s0, 0x10($sp)
/* 763548 802A1008 0080802D */ daddu $s0, $a0, $zero
/* 76354C 802A100C 2402000F */ addiu $v0, $zero, 0xf
/* 763550 802A1010 3C03800E */ lui $v1, %hi(gBattleStatus+0x83)
/* 763554 802A1014 8063C0F3 */ lb $v1, %lo(gBattleStatus+0x83)($v1)
/* 763558 802A1018 24040015 */ addiu $a0, $zero, 0x15
/* 76355C 802A101C AFBF0014 */ sw $ra, 0x14($sp)
/* 763560 802A1020 AE020088 */ sw $v0, 0x88($s0)
/* 763564 802A1024 0C03A752 */ jal is_ability_active
/* 763568 802A1028 AE030084 */ sw $v1, 0x84($s0)
/* 76356C 802A102C 10400003 */ beqz $v0, .L802A103C
/* 763570 802A1030 24020028 */ addiu $v0, $zero, 0x28
/* 763574 802A1034 AE000084 */ sw $zero, 0x84($s0)
/* 763578 802A1038 AE020088 */ sw $v0, 0x88($s0)
.L802A103C:
/* 76357C 802A103C 8FBF0014 */ lw $ra, 0x14($sp)
/* 763580 802A1040 8FB00010 */ lw $s0, 0x10($sp)
/* 763584 802A1044 24020002 */ addiu $v0, $zero, 2
/* 763588 802A1048 03E00008 */ jr $ra
/* 76358C 802A104C 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,26 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1050_763590
/* 763590 802A1050 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 763594 802A1054 AFB00010 */ sw $s0, 0x10($sp)
/* 763598 802A1058 0080802D */ daddu $s0, $a0, $zero
/* 76359C 802A105C 24040016 */ addiu $a0, $zero, 0x16
/* 7635A0 802A1060 AFBF0014 */ sw $ra, 0x14($sp)
/* 7635A4 802A1064 0C03A752 */ jal is_ability_active
/* 7635A8 802A1068 AE000084 */ sw $zero, 0x84($s0)
/* 7635AC 802A106C 10400002 */ beqz $v0, .L802A1078
/* 7635B0 802A1070 24020001 */ addiu $v0, $zero, 1
/* 7635B4 802A1074 AE020084 */ sw $v0, 0x84($s0)
.L802A1078:
/* 7635B8 802A1078 3C02800E */ lui $v0, %hi(gBattleStatus)
/* 7635BC 802A107C 8C42C070 */ lw $v0, %lo(gBattleStatus)($v0)
/* 7635C0 802A1080 30421000 */ andi $v0, $v0, 0x1000
/* 7635C4 802A1084 10400002 */ beqz $v0, .L802A1090
/* 7635C8 802A1088 24020001 */ addiu $v0, $zero, 1
/* 7635CC 802A108C AE020084 */ sw $v0, 0x84($s0)
.L802A1090:
/* 7635D0 802A1090 8FBF0014 */ lw $ra, 0x14($sp)
/* 7635D4 802A1094 8FB00010 */ lw $s0, 0x10($sp)
/* 7635D8 802A1098 24020002 */ addiu $v0, $zero, 2
/* 7635DC 802A109C 03E00008 */ jr $ra

View File

@ -1,63 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1000_76D760
/* 76D760 802A1000 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 76D764 802A1004 3C03800E */ lui $v1, %hi(gBattleStatus)
/* 76D768 802A1008 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
/* 76D76C 802A100C AFBF0020 */ sw $ra, 0x20($sp)
/* 76D770 802A1010 AFB1001C */ sw $s1, 0x1c($sp)
/* 76D774 802A1014 AFB00018 */ sw $s0, 0x18($sp)
/* 76D778 802A1018 8C6200D8 */ lw $v0, 0xd8($v1)
/* 76D77C 802A101C 0080802D */ daddu $s0, $a0, $zero
/* 76D780 802A1020 C442001C */ lwc1 $f2, 0x1c($v0)
/* 76D784 802A1024 C44C0144 */ lwc1 $f12, 0x144($v0)
/* 76D788 802A1028 C44E0148 */ lwc1 $f14, 0x148($v0)
/* 76D78C 802A102C C444014C */ lwc1 $f4, 0x14c($v0)
/* 76D790 802A1030 C4460018 */ lwc1 $f6, 0x18($v0)
/* 76D794 802A1034 C4400020 */ lwc1 $f0, 0x20($v0)
/* 76D798 802A1038 44062000 */ mfc1 $a2, $f4
/* 76D79C 802A103C 44073000 */ mfc1 $a3, $f6
/* 76D7A0 802A1040 0060882D */ daddu $s1, $v1, $zero
/* 76D7A4 802A1044 E7A20010 */ swc1 $f2, 0x10($sp)
/* 76D7A8 802A1048 0C00A7CB */ jal dist3D
/* 76D7AC 802A104C E7A00014 */ swc1 $f0, 0x14($sp)
/* 76D7B0 802A1050 3C014170 */ lui $at, 0x4170
/* 76D7B4 802A1054 44811000 */ mtc1 $at, $f2
/* 76D7B8 802A1058 00000000 */ nop
/* 76D7BC 802A105C 46020002 */ mul.s $f0, $f0, $f2
/* 76D7C0 802A1060 00000000 */ nop
/* 76D7C4 802A1064 3C0142C8 */ lui $at, 0x42c8
/* 76D7C8 802A1068 44811000 */ mtc1 $at, $f2
/* 76D7CC 802A106C 00000000 */ nop
/* 76D7D0 802A1070 46020003 */ div.s $f0, $f0, $f2
/* 76D7D4 802A1074 4600020D */ trunc.w.s $f8, $f0
/* 76D7D8 802A1078 44024000 */ mfc1 $v0, $f8
/* 76D7DC 802A107C 00000000 */ nop
/* 76D7E0 802A1080 AE020084 */ sw $v0, 0x84($s0)
/* 76D7E4 802A1084 28420015 */ slti $v0, $v0, 0x15
/* 76D7E8 802A1088 14400002 */ bnez $v0, .L802A1094
/* 76D7EC 802A108C 24020014 */ addiu $v0, $zero, 0x14
/* 76D7F0 802A1090 AE020084 */ sw $v0, 0x84($s0)
.L802A1094:
/* 76D7F4 802A1094 82220083 */ lb $v0, 0x83($s1)
/* 76D7F8 802A1098 10400007 */ beqz $v0, .L802A10B8
/* 76D7FC 802A109C 00000000 */ nop
/* 76D800 802A10A0 8E020084 */ lw $v0, 0x84($s0)
/* 76D804 802A10A4 28420006 */ slti $v0, $v0, 6
/* 76D808 802A10A8 10400008 */ beqz $v0, .L802A10CC
/* 76D80C 802A10AC 24020006 */ addiu $v0, $zero, 6
/* 76D810 802A10B0 080A8433 */ j .L802A10CC
/* 76D814 802A10B4 AE020084 */ sw $v0, 0x84($s0)
.L802A10B8:
/* 76D818 802A10B8 8E020084 */ lw $v0, 0x84($s0)
/* 76D81C 802A10BC 2842000C */ slti $v0, $v0, 0xc
/* 76D820 802A10C0 10400002 */ beqz $v0, .L802A10CC
/* 76D824 802A10C4 2402000C */ addiu $v0, $zero, 0xc
/* 76D828 802A10C8 AE020084 */ sw $v0, 0x84($s0)
.L802A10CC:
/* 76D82C 802A10CC 8FBF0020 */ lw $ra, 0x20($sp)
/* 76D830 802A10D0 8FB1001C */ lw $s1, 0x1c($sp)
/* 76D834 802A10D4 8FB00018 */ lw $s0, 0x18($sp)
/* 76D838 802A10D8 24020002 */ addiu $v0, $zero, 2
/* 76D83C 802A10DC 03E00008 */ jr $ra

View File

@ -1,63 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1000_76F330
/* 76F330 802A1000 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 76F334 802A1004 3C03800E */ lui $v1, %hi(gBattleStatus)
/* 76F338 802A1008 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
/* 76F33C 802A100C AFBF0020 */ sw $ra, 0x20($sp)
/* 76F340 802A1010 AFB1001C */ sw $s1, 0x1c($sp)
/* 76F344 802A1014 AFB00018 */ sw $s0, 0x18($sp)
/* 76F348 802A1018 8C6200D8 */ lw $v0, 0xd8($v1)
/* 76F34C 802A101C 0080802D */ daddu $s0, $a0, $zero
/* 76F350 802A1020 C442001C */ lwc1 $f2, 0x1c($v0)
/* 76F354 802A1024 C44C0144 */ lwc1 $f12, 0x144($v0)
/* 76F358 802A1028 C44E0148 */ lwc1 $f14, 0x148($v0)
/* 76F35C 802A102C C444014C */ lwc1 $f4, 0x14c($v0)
/* 76F360 802A1030 C4460018 */ lwc1 $f6, 0x18($v0)
/* 76F364 802A1034 C4400020 */ lwc1 $f0, 0x20($v0)
/* 76F368 802A1038 44062000 */ mfc1 $a2, $f4
/* 76F36C 802A103C 44073000 */ mfc1 $a3, $f6
/* 76F370 802A1040 0060882D */ daddu $s1, $v1, $zero
/* 76F374 802A1044 E7A20010 */ swc1 $f2, 0x10($sp)
/* 76F378 802A1048 0C00A7CB */ jal dist3D
/* 76F37C 802A104C E7A00014 */ swc1 $f0, 0x14($sp)
/* 76F380 802A1050 3C014170 */ lui $at, 0x4170
/* 76F384 802A1054 44811000 */ mtc1 $at, $f2
/* 76F388 802A1058 00000000 */ nop
/* 76F38C 802A105C 46020002 */ mul.s $f0, $f0, $f2
/* 76F390 802A1060 00000000 */ nop
/* 76F394 802A1064 3C0142C8 */ lui $at, 0x42c8
/* 76F398 802A1068 44811000 */ mtc1 $at, $f2
/* 76F39C 802A106C 00000000 */ nop
/* 76F3A0 802A1070 46020003 */ div.s $f0, $f0, $f2
/* 76F3A4 802A1074 4600020D */ trunc.w.s $f8, $f0
/* 76F3A8 802A1078 44024000 */ mfc1 $v0, $f8
/* 76F3AC 802A107C 00000000 */ nop
/* 76F3B0 802A1080 AE020084 */ sw $v0, 0x84($s0)
/* 76F3B4 802A1084 28420015 */ slti $v0, $v0, 0x15
/* 76F3B8 802A1088 14400002 */ bnez $v0, .L802A1094
/* 76F3BC 802A108C 24020014 */ addiu $v0, $zero, 0x14
/* 76F3C0 802A1090 AE020084 */ sw $v0, 0x84($s0)
.L802A1094:
/* 76F3C4 802A1094 82220083 */ lb $v0, 0x83($s1)
/* 76F3C8 802A1098 10400007 */ beqz $v0, .L802A10B8
/* 76F3CC 802A109C 00000000 */ nop
/* 76F3D0 802A10A0 8E020084 */ lw $v0, 0x84($s0)
/* 76F3D4 802A10A4 28420006 */ slti $v0, $v0, 6
/* 76F3D8 802A10A8 10400008 */ beqz $v0, .L802A10CC
/* 76F3DC 802A10AC 24020006 */ addiu $v0, $zero, 6
/* 76F3E0 802A10B0 080A8433 */ j .L802A10CC
/* 76F3E4 802A10B4 AE020084 */ sw $v0, 0x84($s0)
.L802A10B8:
/* 76F3E8 802A10B8 8E020084 */ lw $v0, 0x84($s0)
/* 76F3EC 802A10BC 2842000C */ slti $v0, $v0, 0xc
/* 76F3F0 802A10C0 10400002 */ beqz $v0, .L802A10CC
/* 76F3F4 802A10C4 2402000C */ addiu $v0, $zero, 0xc
/* 76F3F8 802A10C8 AE020084 */ sw $v0, 0x84($s0)
.L802A10CC:
/* 76F3FC 802A10CC 8FBF0020 */ lw $ra, 0x20($sp)
/* 76F400 802A10D0 8FB1001C */ lw $s1, 0x1c($sp)
/* 76F404 802A10D4 8FB00018 */ lw $s0, 0x18($sp)
/* 76F408 802A10D8 24020002 */ addiu $v0, $zero, 2
/* 76F40C 802A10DC 03E00008 */ jr $ra

View File

@ -1,64 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1000_779C90
/* 779C90 802A1000 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 779C94 802A1004 3C03800E */ lui $v1, %hi(gBattleStatus)
/* 779C98 802A1008 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
/* 779C9C 802A100C AFBF0020 */ sw $ra, 0x20($sp)
/* 779CA0 802A1010 AFB1001C */ sw $s1, 0x1c($sp)
/* 779CA4 802A1014 AFB00018 */ sw $s0, 0x18($sp)
/* 779CA8 802A1018 8C6200D8 */ lw $v0, 0xd8($v1)
/* 779CAC 802A101C 0080802D */ daddu $s0, $a0, $zero
/* 779CB0 802A1020 C442001C */ lwc1 $f2, 0x1c($v0)
/* 779CB4 802A1024 C44C0144 */ lwc1 $f12, 0x144($v0)
/* 779CB8 802A1028 C44E0148 */ lwc1 $f14, 0x148($v0)
/* 779CBC 802A102C C444014C */ lwc1 $f4, 0x14c($v0)
/* 779CC0 802A1030 C4460018 */ lwc1 $f6, 0x18($v0)
/* 779CC4 802A1034 C4400020 */ lwc1 $f0, 0x20($v0)
/* 779CC8 802A1038 44062000 */ mfc1 $a2, $f4
/* 779CCC 802A103C 44073000 */ mfc1 $a3, $f6
/* 779CD0 802A1040 0060882D */ daddu $s1, $v1, $zero
/* 779CD4 802A1044 E7A20010 */ swc1 $f2, 0x10($sp)
/* 779CD8 802A1048 0C00A7CB */ jal dist3D
/* 779CDC 802A104C E7A00014 */ swc1 $f0, 0x14($sp)
/* 779CE0 802A1050 3C014170 */ lui $at, 0x4170
/* 779CE4 802A1054 44811000 */ mtc1 $at, $f2
/* 779CE8 802A1058 00000000 */ nop
/* 779CEC 802A105C 46020002 */ mul.s $f0, $f0, $f2
/* 779CF0 802A1060 00000000 */ nop
/* 779CF4 802A1064 3C0142C8 */ lui $at, 0x42c8
/* 779CF8 802A1068 44811000 */ mtc1 $at, $f2
/* 779CFC 802A106C 00000000 */ nop
/* 779D00 802A1070 46020003 */ div.s $f0, $f0, $f2
/* 779D04 802A1074 4600020D */ trunc.w.s $f8, $f0
/* 779D08 802A1078 44024000 */ mfc1 $v0, $f8
/* 779D0C 802A107C 00000000 */ nop
/* 779D10 802A1080 AE020084 */ sw $v0, 0x84($s0)
/* 779D14 802A1084 28420015 */ slti $v0, $v0, 0x15
/* 779D18 802A1088 14400002 */ bnez $v0, .L802A1094
/* 779D1C 802A108C 24020014 */ addiu $v0, $zero, 0x14
/* 779D20 802A1090 AE020084 */ sw $v0, 0x84($s0)
.L802A1094:
/* 779D24 802A1094 82220083 */ lb $v0, 0x83($s1)
/* 779D28 802A1098 10400007 */ beqz $v0, .L802A10B8
/* 779D2C 802A109C 00000000 */ nop
/* 779D30 802A10A0 8E020084 */ lw $v0, 0x84($s0)
/* 779D34 802A10A4 28420006 */ slti $v0, $v0, 6
/* 779D38 802A10A8 10400008 */ beqz $v0, .L802A10CC
/* 779D3C 802A10AC 24020006 */ addiu $v0, $zero, 6
/* 779D40 802A10B0 080A8433 */ j .L802A10CC
/* 779D44 802A10B4 AE020084 */ sw $v0, 0x84($s0)
.L802A10B8:
/* 779D48 802A10B8 8E020084 */ lw $v0, 0x84($s0)
/* 779D4C 802A10BC 2842000C */ slti $v0, $v0, 0xc
/* 779D50 802A10C0 10400002 */ beqz $v0, .L802A10CC
/* 779D54 802A10C4 2402000C */ addiu $v0, $zero, 0xc
/* 779D58 802A10C8 AE020084 */ sw $v0, 0x84($s0)
.L802A10CC:
/* 779D5C 802A10CC 8FBF0020 */ lw $ra, 0x20($sp)
/* 779D60 802A10D0 8FB1001C */ lw $s1, 0x1c($sp)
/* 779D64 802A10D4 8FB00018 */ lw $s0, 0x18($sp)
/* 779D68 802A10D8 24020002 */ addiu $v0, $zero, 2
/* 779D6C 802A10DC 03E00008 */ jr $ra
/* 779D70 802A10E0 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -1,49 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A10E4_779D74
/* 779D74 802A10E4 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 779D78 802A10E8 AFB20018 */ sw $s2, 0x18($sp)
/* 779D7C 802A10EC 0080902D */ daddu $s2, $a0, $zero
/* 779D80 802A10F0 AFBF001C */ sw $ra, 0x1c($sp)
/* 779D84 802A10F4 AFB10014 */ sw $s1, 0x14($sp)
/* 779D88 802A10F8 AFB00010 */ sw $s0, 0x10($sp)
/* 779D8C 802A10FC 0C09A75B */ jal get_actor
/* 779D90 802A1100 8E440148 */ lw $a0, 0x148($s2)
/* 779D94 802A1104 0C09A75B */ jal get_actor
/* 779D98 802A1108 84440428 */ lh $a0, 0x428($v0)
/* 779D9C 802A110C 24030063 */ addiu $v1, $zero, 0x63
/* 779DA0 802A1110 AE430084 */ sw $v1, 0x84($s2)
/* 779DA4 802A1114 8C420008 */ lw $v0, 8($v0)
/* 779DA8 802A1118 9051001E */ lbu $s1, 0x1e($v0)
/* 779DAC 802A111C 0C03A752 */ jal is_ability_active
/* 779DB0 802A1120 0000202D */ daddu $a0, $zero, $zero
/* 779DB4 802A1124 54400001 */ bnel $v0, $zero, .L802A112C
/* 779DB8 802A1128 26310007 */ addiu $s1, $s1, 7
.L802A112C:
/* 779DBC 802A112C 3C10802A */ lui $s0, %hi(D_802A26D0_77B360)
/* 779DC0 802A1130 261026D0 */ addiu $s0, $s0, %lo(D_802A26D0_77B360)
/* 779DC4 802A1134 8E030000 */ lw $v1, ($s0)
/* 779DC8 802A1138 00710018 */ mult $v1, $s1
/* 779DCC 802A113C 00001812 */ mflo $v1
/* 779DD0 802A1140 3C0251EB */ lui $v0, 0x51eb
/* 779DD4 802A1144 3442851F */ ori $v0, $v0, 0x851f
/* 779DD8 802A1148 00620018 */ mult $v1, $v0
/* 779DDC 802A114C 24040064 */ addiu $a0, $zero, 0x64
/* 779DE0 802A1150 00031FC3 */ sra $v1, $v1, 0x1f
/* 779DE4 802A1154 00003010 */ mfhi $a2
/* 779DE8 802A1158 00061143 */ sra $v0, $a2, 5
/* 779DEC 802A115C 00431023 */ subu $v0, $v0, $v1
/* 779DF0 802A1160 0C00A67F */ jal rand_int
/* 779DF4 802A1164 AE020000 */ sw $v0, ($s0)
/* 779DF8 802A1168 8E030000 */ lw $v1, ($s0)
/* 779DFC 802A116C 0062182A */ slt $v1, $v1, $v0
/* 779E00 802A1170 54600001 */ bnel $v1, $zero, .L802A1178
/* 779E04 802A1174 AE400084 */ sw $zero, 0x84($s2)
.L802A1178:
/* 779E08 802A1178 8FBF001C */ lw $ra, 0x1c($sp)
/* 779E0C 802A117C 8FB20018 */ lw $s2, 0x18($sp)
/* 779E10 802A1180 8FB10014 */ lw $s1, 0x14($sp)
/* 779E14 802A1184 8FB00010 */ lw $s0, 0x10($sp)
/* 779E18 802A1188 24020002 */ addiu $v0, $zero, 2
/* 779E1C 802A118C 03E00008 */ jr $ra

Some files were not shown because too many files have changed in this diff Show More