diff --git a/papermario/asm/code_20ec0_len_5040.s b/papermario/asm/code_20ec0_len_5040.s index f2e265dbb7..2c57591c2f 100644 --- a/papermario/asm/code_20ec0_len_5040.s +++ b/papermario/asm/code_20ec0_len_5040.s @@ -2528,7 +2528,6 @@ func_80047E1C: /* 023244 80047E44 03E00008 */ jr $ra /* 023248 80047E48 AC620000 */ sw $v0, ($v1) -func_80047E4C: /* 02324C 80047E4C 27BDFFE0 */ addiu $sp, $sp, -0x20 /* 023250 80047E50 00041040 */ sll $v0, $a0, 1 /* 023254 80047E54 00441021 */ addu $v0, $v0, $a0 @@ -2589,7 +2588,6 @@ func_80047EDC: /* 023320 80047F20 03E00008 */ jr $ra /* 023324 80047F24 27BD0018 */ addiu $sp, $sp, 0x18 -func_80047F28: /* 023328 80047F28 00041040 */ sll $v0, $a0, 1 /* 02332C 80047F2C 00441021 */ addu $v0, $v0, $a0 /* 023330 80047F30 00021080 */ sll $v0, $v0, 2 @@ -2603,7 +2601,6 @@ func_80047F28: /* 023350 80047F50 03E00008 */ jr $ra /* 023354 80047F54 AC620000 */ sw $v0, ($v1) -func_80047F58: /* 023358 80047F58 27BDFFE0 */ addiu $sp, $sp, -0x20 /* 02335C 80047F5C 00041040 */ sll $v0, $a0, 1 /* 023360 80047F60 00441021 */ addu $v0, $v0, $a0 @@ -2664,7 +2661,6 @@ func_80047FE8: /* 02342C 8004802C 03E00008 */ jr $ra /* 023430 80048030 27BD0018 */ addiu $sp, $sp, 0x18 -func_80048034: /* 023434 80048034 00041040 */ sll $v0, $a0, 1 /* 023438 80048038 00441021 */ addu $v0, $v0, $a0 /* 02343C 8004803C 00021080 */ sll $v0, $v0, 2 @@ -2739,7 +2735,6 @@ func_800480F4: /* 023538 80048138 03E00008 */ jr $ra /* 02353C 8004813C 27BD0018 */ addiu $sp, $sp, 0x18 -func_80048140: /* 023540 80048140 00041040 */ sll $v0, $a0, 1 /* 023544 80048144 00441021 */ addu $v0, $v0, $a0 /* 023548 80048148 00021080 */ sll $v0, $v0, 2 @@ -2814,7 +2809,6 @@ func_80048200: /* 023644 80048244 03E00008 */ jr $ra /* 023648 80048248 27BD0018 */ addiu $sp, $sp, 0x18 -func_8004824C: /* 02364C 8004824C 00041040 */ sll $v0, $a0, 1 /* 023650 80048250 00441021 */ addu $v0, $v0, $a0 /* 023654 80048254 00021080 */ sll $v0, $v0, 2 diff --git a/papermario/asm/code_415D90.s b/papermario/asm/code_415D90.s index fbacee3467..d2e8350c51 100644 --- a/papermario/asm/code_415D90.s +++ b/papermario/asm/code_415D90.s @@ -162,7 +162,7 @@ func_802A11B0: /* 415FA4 802A1214 2402FFFF */ addiu $v0, $zero, -1 /* 415FA8 802A1218 10620245 */ beq $v1, $v0, .L802A1B30 /* 415FAC 802A121C 24030064 */ addiu $v1, $zero, 0x64 -/* 415FB0 802A1220 080A870A */ j func_802A1C28 +/* 415FB0 802A1220 080A870A */ j .L802A1C28 /* 415FB4 802A1224 0000102D */ daddu $v0, $zero, $zero .L802A1228: @@ -170,7 +170,7 @@ func_802A11B0: /* 415FBC 802A122C 24020002 */ addiu $v0, $zero, 2 /* 415FC0 802A1230 106201EC */ beq $v1, $v0, .L802A19E4 /* 415FC4 802A1234 0000102D */ daddu $v0, $zero, $zero -/* 415FC8 802A1238 080A870A */ j func_802A1C28 +/* 415FC8 802A1238 080A870A */ j .L802A1C28 /* 415FCC 802A123C 00000000 */ nop .L802A1240: @@ -184,7 +184,7 @@ func_802A11B0: /* 415FEC 802A125C 24020014 */ addiu $v0, $zero, 0x14 /* 415FF0 802A1260 1062024C */ beq $v1, $v0, .L802A1B94 /* 415FF4 802A1264 24020003 */ addiu $v0, $zero, 3 -/* 415FF8 802A1268 080A870A */ j func_802A1C28 +/* 415FF8 802A1268 080A870A */ j .L802A1C28 /* 415FFC 802A126C 0000102D */ daddu $v0, $zero, $zero .L802A1270: @@ -193,7 +193,7 @@ func_802A11B0: /* 416008 802A1278 24020065 */ addiu $v0, $zero, 0x65 /* 41600C 802A127C 10620260 */ beq $v1, $v0, .L802A1C00 /* 416010 802A1280 0000102D */ daddu $v0, $zero, $zero -/* 416014 802A1284 080A870A */ j func_802A1C28 +/* 416014 802A1284 080A870A */ j .L802A1C28 /* 416018 802A1288 00000000 */ nop .L802A128C: @@ -518,7 +518,7 @@ func_802A11B0: /* 41650C 802A177C 4680A520 */ cvt.s.w $f20, $f20 /* 416510 802A1780 3C01802B */ lui $at, 0x802b /* 416514 802A1784 E434D06C */ swc1 $f20, -0x2f94($at) -/* 416518 802A1788 080A870A */ j func_802A1C28 +/* 416518 802A1788 080A870A */ j .L802A1C28 /* 41651C 802A178C 0000102D */ daddu $v0, $zero, $zero .L802A1790: @@ -548,7 +548,7 @@ func_802A11B0: /* 41657C 802A17EC 24050002 */ addiu $a1, $zero, 2 .L802A17F0: /* 416580 802A17F0 92020000 */ lbu $v0, ($s0) -/* 416584 802A17F4 080A8708 */ j func_802A1C20 +/* 416584 802A17F4 080A8708 */ j .L802A1C20 /* 416588 802A17F8 2442FFFF */ addiu $v0, $v0, -1 .L802A17FC: @@ -674,7 +674,7 @@ func_802A11B0: /* 416760 802A19D0 24020002 */ addiu $v0, $zero, 2 /* 416764 802A19D4 3C01802B */ lui $at, 0x802b /* 416768 802A19D8 A022D000 */ sb $v0, -0x3000($at) -/* 41676C 802A19DC 080A870A */ j func_802A1C28 +/* 41676C 802A19DC 080A870A */ j .L802A1C28 /* 416770 802A19E0 0000102D */ daddu $v0, $zero, $zero .L802A19E4: @@ -697,7 +697,7 @@ func_802A11B0: /* 4167B4 802A1A24 00000000 */ nop /* 4167B8 802A1A28 0C05272D */ jal play_sound /* 4167BC 802A1A2C 240400C9 */ addiu $a0, $zero, 0xc9 -/* 4167C0 802A1A30 080A8708 */ j func_802A1C20 +/* 4167C0 802A1A30 080A8708 */ j .L802A1C20 /* 4167C4 802A1A34 2402FFFF */ addiu $v0, $zero, -1 .L802A1A38: @@ -714,7 +714,7 @@ func_802A11B0: /* 4167F0 802A1A60 A2020000 */ sb $v0, ($s0) /* 4167F4 802A1A64 3C01802B */ lui $at, 0x802b /* 4167F8 802A1A68 A023D068 */ sb $v1, -0x2f98($at) -/* 4167FC 802A1A6C 080A870A */ j func_802A1C28 +/* 4167FC 802A1A6C 080A870A */ j .L802A1C28 /* 416800 802A1A70 0000102D */ daddu $v0, $zero, $zero .L802A1A74: @@ -765,7 +765,7 @@ func_802A11B0: /* 4168AC 802A1B1C A022D004 */ sb $v0, -0x2ffc($at) /* 4168B0 802A1B20 0C05272D */ jal play_sound /* 4168B4 802A1B24 240400C8 */ addiu $a0, $zero, 0xc8 -/* 4168B8 802A1B28 080A870A */ j func_802A1C28 +/* 4168B8 802A1B28 080A870A */ j .L802A1C28 /* 4168BC 802A1B2C 0000102D */ daddu $v0, $zero, $zero .L802A1B30: @@ -775,7 +775,7 @@ func_802A11B0: /* 4168CC 802A1B3C 8084D06B */ lb $a0, -0x2f95($a0) /* 4168D0 802A1B40 3C01802B */ lui $at, 0x802b /* 4168D4 802A1B44 A423D008 */ sh $v1, -0x2ff8($at) -/* 4168D8 802A1B48 080A86F1 */ j func_802A1BC4 +/* 4168D8 802A1B48 080A86F1 */ j .L802A1BC4 /* 4168DC 802A1B4C 00441021 */ addu $v0, $v0, $a0 .L802A1B50: @@ -787,7 +787,7 @@ func_802A11B0: /* 4168F4 802A1B64 A020D001 */ sb $zero, -0x2fff($at) /* 4168F8 802A1B68 3C01802B */ lui $at, 0x802b /* 4168FC 802A1B6C A420D006 */ sh $zero, -0x2ffa($at) -/* 416900 802A1B70 080A86EF */ j func_802A1BBC +/* 416900 802A1B70 080A86EF */ j .L802A1BBC /* 416904 802A1B74 2403000B */ addiu $v1, $zero, 0xb .L802A1B78: @@ -796,7 +796,7 @@ func_802A11B0: /* 416910 802A1B80 3C03802B */ lui $v1, 0x802b /* 416914 802A1B84 8063D06B */ lb $v1, -0x2f95($v1) /* 416918 802A1B88 00431021 */ addu $v0, $v0, $v1 -/* 41691C 802A1B8C 080A870A */ j func_802A1C28 +/* 41691C 802A1B8C 080A870A */ j .L802A1C28 /* 416920 802A1B90 24420001 */ addiu $v0, $v0, 1 .L802A1B94: @@ -810,11 +810,11 @@ func_802A11B0: /* 416940 802A1BB0 3C04802B */ lui $a0, 0x802b /* 416944 802A1BB4 8084D06B */ lb $a0, -0x2f95($a0) /* 416948 802A1BB8 24030002 */ addiu $v1, $zero, 2 -func_802A1BBC: +.L802A1BBC: /* 41694C 802A1BBC A2030000 */ sb $v1, ($s0) /* 416950 802A1BC0 00441021 */ addu $v0, $v0, $a0 -func_802A1BC4: -/* 416954 802A1BC4 080A870A */ j func_802A1C28 +.L802A1BC4: +/* 416954 802A1BC4 080A870A */ j .L802A1C28 /* 416958 802A1BC8 24420001 */ addiu $v0, $v0, 1 .L802A1BCC: @@ -823,7 +823,7 @@ func_802A1BC4: /* 416964 802A1BD4 240200FF */ addiu $v0, $zero, 0xff /* 416968 802A1BD8 3C01802B */ lui $at, 0x802b /* 41696C 802A1BDC A422D006 */ sh $v0, -0x2ffa($at) -/* 416970 802A1BE0 080A8708 */ j func_802A1C20 +/* 416970 802A1BE0 080A8708 */ j .L802A1C20 /* 416974 802A1BE4 2402FFFF */ addiu $v0, $zero, -1 .L802A1BE8: @@ -831,7 +831,7 @@ func_802A1BC4: /* 41697C 802A1BEC 8084D068 */ lb $a0, -0x2f98($a0) /* 416980 802A1BF0 0C093E58 */ jal show_battle_message /* 416984 802A1BF4 2405005A */ addiu $a1, $zero, 0x5a -/* 416988 802A1BF8 080A8708 */ j func_802A1C20 +/* 416988 802A1BF8 080A8708 */ j .L802A1C20 /* 41698C 802A1BFC 24020065 */ addiu $v0, $zero, 0x65 .L802A1C00: @@ -843,11 +843,10 @@ func_802A1BC4: /* 4169A4 802A1C14 3C01802B */ lui $at, 0x802b /* 4169A8 802A1C18 A022D068 */ sb $v0, -0x2f98($at) /* 4169AC 802A1C1C 24020002 */ addiu $v0, $zero, 2 -func_802A1C20: +.L802A1C20: /* 4169B0 802A1C20 A2020000 */ sb $v0, ($s0) .L802A1C24: /* 4169B4 802A1C24 0000102D */ daddu $v0, $zero, $zero -func_802A1C28: .L802A1C28: /* 4169B8 802A1C28 8FBF0030 */ lw $ra, 0x30($sp) /* 4169BC 802A1C2C 8FB5002C */ lw $s5, 0x2c($sp) @@ -948,7 +947,7 @@ func_802A1C54: /* 416B30 802A1DA0 24C600D4 */ addiu $a2, $a2, 0xd4 /* 416B34 802A1DA4 0C05108E */ jal func_80144238 /* 416B38 802A1DA8 0260202D */ daddu $a0, $s3, $zero -/* 416B3C 802A1DAC 080A8991 */ j func_802A2644 +/* 416B3C 802A1DAC 080A8991 */ j .L802A2644 /* 416B40 802A1DB0 00000000 */ nop /* 416B44 802A1DB4 3C03802B */ lui $v1, 0x802b @@ -989,7 +988,7 @@ func_802A1C54: /* 416BD0 802A1E40 C420D070 */ lwc1 $f0, -0x2f90($at) /* 416BD4 802A1E44 46001001 */ sub.s $f0, $f2, $f0 /* 416BD8 802A1E48 4618003C */ c.lt.s $f0, $f24 -/* 416BDC 802A1E4C 080A879F */ j func_802A1E7C +/* 416BDC 802A1E4C 080A879F */ j .L802A1E7C /* 416BE0 802A1E50 E4400000 */ swc1 $f0, ($v0) .L802A1E54: @@ -1003,7 +1002,7 @@ func_802A1C54: /* 416C00 802A1E70 E4400000 */ swc1 $f0, ($v0) /* 416C04 802A1E74 4600C03C */ c.lt.s $f24, $f0 /* 416C08 802A1E78 00000000 */ nop -func_802A1E7C: +.L802A1E7C: /* 416C0C 802A1E7C 45000003 */ bc1f .L802A1E8C /* 416C10 802A1E80 00000000 */ nop /* 416C14 802A1E84 E4580000 */ swc1 $f24, ($v0) @@ -1024,7 +1023,7 @@ func_802A1E7C: /* 416C4C 802A1EBC 46220002 */ mul.d $f0, $f0, $f2 /* 416C50 802A1EC0 00000000 */ nop /* 416C54 802A1EC4 46200020 */ cvt.s.d $f0, $f0 -/* 416C58 802A1EC8 080A87BB */ j func_802A1EEC +/* 416C58 802A1EC8 080A87BB */ j .L802A1EEC /* 416C5C 802A1ECC E4400000 */ swc1 $f0, ($v0) .L802A1ED0: @@ -1035,7 +1034,7 @@ func_802A1E7C: /* 416C70 802A1EE0 A020D004 */ sb $zero, -0x2ffc($at) /* 416C74 802A1EE4 3C01802B */ lui $at, 0x802b /* 416C78 802A1EE8 E420D070 */ swc1 $f0, -0x2f90($at) -func_802A1EEC: +.L802A1EEC: /* 416C7C 802A1EEC 3C02802B */ lui $v0, 0x802b /* 416C80 802A1EF0 8C42D0AC */ lw $v0, -0x2f54($v0) /* 416C84 802A1EF4 3C01802B */ lui $at, 0x802b @@ -1167,13 +1166,13 @@ func_802A1EEC: /* 416E74 802A20E4 0260202D */ daddu $a0, $s3, $zero /* 416E78 802A20E8 0C051280 */ jal set_icon_flags /* 416E7C 802A20EC 24050002 */ addiu $a1, $zero, 2 -/* 416E80 802A20F0 080A8840 */ j func_802A2100 +/* 416E80 802A20F0 080A8840 */ j .L802A2100 /* 416E84 802A20F4 00000000 */ nop .L802A20F8: /* 416E88 802A20F8 0C05128B */ jal clear_icon_flags /* 416E8C 802A20FC 24050002 */ addiu $a1, $zero, 2 -func_802A2100: +.L802A2100: /* 416E90 802A2100 0C05108E */ jal func_80144238 /* 416E94 802A2104 0260202D */ daddu $a0, $s3, $zero /* 416E98 802A2108 26940001 */ addiu $s4, $s4, 1 @@ -1520,7 +1519,6 @@ func_802A2100: /* 4173C8 802A2638 0260202D */ daddu $a0, $s3, $zero /* 4173CC 802A263C 0C0511EA */ jal draw_icon_0 /* 4173D0 802A2640 0260202D */ daddu $a0, $s3, $zero -func_802A2644: .L802A2644: /* 4173D4 802A2644 8FBF0054 */ lw $ra, 0x54($sp) /* 4173D8 802A2648 8FBE0050 */ lw $fp, 0x50($sp) @@ -1652,14 +1650,14 @@ func_802A27E4: /* 4175A0 802A2810 24040002 */ addiu $a0, $zero, 2 /* 4175A4 802A2814 0C051F9F */ jal func_80147E7C /* 4175A8 802A2818 0080282D */ daddu $a1, $a0, $zero -/* 4175AC 802A281C 080A8A0C */ j func_802A2830 +/* 4175AC 802A281C 080A8A0C */ j .L802A2830 /* 4175B0 802A2820 24040003 */ addiu $a0, $zero, 3 .L802A2824: /* 4175B4 802A2824 0C051F9F */ jal func_80147E7C /* 4175B8 802A2828 24050002 */ addiu $a1, $zero, 2 /* 4175BC 802A282C 24040005 */ addiu $a0, $zero, 5 -func_802A2830: +.L802A2830: /* 4175C0 802A2830 0C051F9F */ jal func_80147E7C /* 4175C4 802A2834 24050002 */ addiu $a1, $zero, 2 /* 4175C8 802A2838 24040008 */ addiu $a0, $zero, 8 @@ -1806,14 +1804,14 @@ func_802A2910: /* 4177D4 802A2A44 24040002 */ addiu $a0, $zero, 2 /* 4177D8 802A2A48 0C051F9F */ jal func_80147E7C /* 4177DC 802A2A4C 24050005 */ addiu $a1, $zero, 5 -/* 4177E0 802A2A50 080A8A99 */ j func_802A2A64 +/* 4177E0 802A2A50 080A8A99 */ j .L802A2A64 /* 4177E4 802A2A54 24040003 */ addiu $a0, $zero, 3 .L802A2A58: /* 4177E8 802A2A58 0C051F9F */ jal func_80147E7C /* 4177EC 802A2A5C 24050005 */ addiu $a1, $zero, 5 /* 4177F0 802A2A60 24040005 */ addiu $a0, $zero, 5 -func_802A2A64: +.L802A2A64: /* 4177F4 802A2A64 0C051F9F */ jal func_80147E7C /* 4177F8 802A2A68 24050005 */ addiu $a1, $zero, 5 /* 4177FC 802A2A6C 24040008 */ addiu $a0, $zero, 8 @@ -1851,14 +1849,14 @@ func_802A2AB8: /* 417874 802A2AE4 24040002 */ addiu $a0, $zero, 2 /* 417878 802A2AE8 0C051F9F */ jal func_80147E7C /* 41787C 802A2AEC 24050005 */ addiu $a1, $zero, 5 -/* 417880 802A2AF0 080A8AC1 */ j func_802A2B04 +/* 417880 802A2AF0 080A8AC1 */ j .L802A2B04 /* 417884 802A2AF4 24040003 */ addiu $a0, $zero, 3 .L802A2AF8: /* 417888 802A2AF8 0C051F9F */ jal func_80147E7C /* 41788C 802A2AFC 24050005 */ addiu $a1, $zero, 5 /* 417890 802A2B00 24040005 */ addiu $a0, $zero, 5 -func_802A2B04: +.L802A2B04: /* 417894 802A2B04 0C051F9F */ jal func_80147E7C /* 417898 802A2B08 24050005 */ addiu $a1, $zero, 5 /* 41789C 802A2B0C 24040008 */ addiu $a0, $zero, 8 @@ -2198,7 +2196,7 @@ func_802A2C84: /* 417D8C 802A2FFC 0040902D */ daddu $s2, $v0, $zero /* 417D90 802A3000 3C01802B */ lui $at, 0x802b /* 417D94 802A3004 AC22D188 */ sw $v0, -0x2e78($at) -/* 417D98 802A3008 080A8C0F */ j func_802A303C +/* 417D98 802A3008 080A8C0F */ j .L802A303C /* 417D9C 802A300C 0240202D */ daddu $a0, $s2, $zero .L802A3010: @@ -2213,7 +2211,7 @@ func_802A2C84: /* 417DC0 802A3030 0C051308 */ jal func_80144C20 /* 417DC4 802A3034 0240202D */ daddu $a0, $s2, $zero /* 417DC8 802A3038 0240202D */ daddu $a0, $s2, $zero -func_802A303C: +.L802A303C: /* 417DCC 802A303C 0C051280 */ jal set_icon_flags /* 417DD0 802A3040 24050080 */ addiu $a1, $zero, 0x80 /* 417DD4 802A3044 0240202D */ daddu $a0, $s2, $zero @@ -2244,25 +2242,25 @@ func_802A303C: /* 417E34 802A30A4 00000000 */ nop /* 417E38 802A30A8 10560007 */ beq $v0, $s6, .L802A30C8 /* 417E3C 802A30AC 00000000 */ nop -/* 417E40 802A30B0 080A8C36 */ j func_802A30D8 +/* 417E40 802A30B0 080A8C36 */ j .L802A30D8 /* 417E44 802A30B4 00000000 */ nop .L802A30B8: /* 417E48 802A30B8 3C048010 */ lui $a0, 0x8010 /* 417E4C 802A30BC 24847638 */ addiu $a0, $a0, 0x7638 -/* 417E50 802A30C0 080A8C47 */ j func_802A311C +/* 417E50 802A30C0 080A8C47 */ j .L802A311C /* 417E54 802A30C4 00000000 */ nop .L802A30C8: /* 417E58 802A30C8 3C048010 */ lui $a0, 0x8010 /* 417E5C 802A30CC 24847664 */ addiu $a0, $a0, 0x7664 -/* 417E60 802A30D0 080A8C47 */ j func_802A311C +/* 417E60 802A30D0 080A8C47 */ j .L802A311C /* 417E64 802A30D4 00000000 */ nop -func_802A30D8: +.L802A30D8: /* 417E68 802A30D8 3C048010 */ lui $a0, 0x8010 /* 417E6C 802A30DC 24847690 */ addiu $a0, $a0, 0x7690 -/* 417E70 802A30E0 080A8C4F */ j func_802A313C +/* 417E70 802A30E0 080A8C4F */ j .L802A313C /* 417E74 802A30E4 00000000 */ nop .L802A30E8: @@ -2271,35 +2269,35 @@ func_802A30D8: /* 417E80 802A30F0 00000000 */ nop /* 417E84 802A30F4 10560007 */ beq $v0, $s6, .L802A3114 /* 417E88 802A30F8 00000000 */ nop -/* 417E8C 802A30FC 080A8C4D */ j func_802A3134 +/* 417E8C 802A30FC 080A8C4D */ j .L802A3134 /* 417E90 802A3100 00000000 */ nop .L802A3104: /* 417E94 802A3104 3C048010 */ lui $a0, 0x8010 /* 417E98 802A3108 248476E8 */ addiu $a0, $a0, 0x76e8 -/* 417E9C 802A310C 080A8C47 */ j func_802A311C +/* 417E9C 802A310C 080A8C47 */ j .L802A311C /* 417EA0 802A3110 00000000 */ nop .L802A3114: /* 417EA4 802A3114 3C048010 */ lui $a0, 0x8010 /* 417EA8 802A3118 24847714 */ addiu $a0, $a0, 0x7714 -func_802A311C: +.L802A311C: /* 417EAC 802A311C 0C050529 */ jal create_icon /* 417EB0 802A3120 00000000 */ nop /* 417EB4 802A3124 0040902D */ daddu $s2, $v0, $zero /* 417EB8 802A3128 02351021 */ addu $v0, $s1, $s5 -/* 417EBC 802A312C 080A8C53 */ j func_802A314C +/* 417EBC 802A312C 080A8C53 */ j .L802A314C /* 417EC0 802A3130 AC520000 */ sw $s2, ($v0) -func_802A3134: +.L802A3134: /* 417EC4 802A3134 3C048010 */ lui $a0, 0x8010 /* 417EC8 802A3138 24847740 */ addiu $a0, $a0, 0x7740 -func_802A313C: +.L802A313C: /* 417ECC 802A313C 0C050529 */ jal create_icon /* 417ED0 802A3140 00000000 */ nop /* 417ED4 802A3144 0040902D */ daddu $s2, $v0, $zero /* 417ED8 802A3148 AE720000 */ sw $s2, ($s3) -func_802A314C: +.L802A314C: /* 417EDC 802A314C 0240202D */ daddu $a0, $s2, $zero /* 417EE0 802A3150 0C051280 */ jal set_icon_flags /* 417EE4 802A3154 24050080 */ addiu $a1, $zero, 0x80 @@ -2368,7 +2366,7 @@ func_802A314C: /* 417FDC 802A324C 26650072 */ addiu $a1, $s3, 0x72 /* 417FE0 802A3250 2646FFF4 */ addiu $a2, $s2, -0xc /* 417FE4 802A3254 24070020 */ addiu $a3, $zero, 0x20 -/* 417FE8 802A3258 080A8CBE */ j func_802A32F8 +/* 417FE8 802A3258 080A8CBE */ j .L802A32F8 /* 417FEC 802A325C 00E0102D */ daddu $v0, $a3, $zero .L802A3260: @@ -2410,7 +2408,7 @@ func_802A314C: /* 41807C 802A32EC 2646FFF4 */ addiu $a2, $s2, -0xc /* 418080 802A32F0 24070020 */ addiu $a3, $zero, 0x20 /* 418084 802A32F4 24020023 */ addiu $v0, $zero, 0x23 -func_802A32F8: +.L802A32F8: /* 418088 802A32F8 AFA20010 */ sw $v0, 0x10($sp) /* 41808C 802A32FC 3C02802A */ lui $v0, 0x802a /* 418090 802A3300 24424448 */ addiu $v0, $v0, 0x4448 @@ -2444,14 +2442,14 @@ func_802A32F8: /* 418100 802A3370 24040002 */ addiu $a0, $zero, 2 /* 418104 802A3374 0C051F9F */ jal func_80147E7C /* 418108 802A3378 24050001 */ addiu $a1, $zero, 1 -/* 41810C 802A337C 080A8CE4 */ j func_802A3390 +/* 41810C 802A337C 080A8CE4 */ j .L802A3390 /* 418110 802A3380 24040003 */ addiu $a0, $zero, 3 .L802A3384: /* 418114 802A3384 0C051F9F */ jal func_80147E7C /* 418118 802A3388 24050001 */ addiu $a1, $zero, 1 /* 41811C 802A338C 24040005 */ addiu $a0, $zero, 5 -func_802A3390: +.L802A3390: /* 418120 802A3390 0C051F9F */ jal func_80147E7C /* 418124 802A3394 24050001 */ addiu $a1, $zero, 1 /* 418128 802A3398 24040008 */ addiu $a0, $zero, 8 @@ -2516,7 +2514,7 @@ func_802A3390: /* 41820C 802A347C 00441021 */ addu $v0, $v0, $a0 /* 418210 802A3480 3C01802B */ lui $at, 0x802b /* 418214 802A3484 A422D112 */ sh $v0, -0x2eee($at) -/* 418218 802A3488 080A8F1C */ j func_802A3C70 +/* 418218 802A3488 080A8F1C */ j .L802A3C70 /* 41821C 802A348C 0000102D */ daddu $v0, $zero, $zero /* 418220 802A3490 3C050001 */ lui $a1, 1 @@ -2664,7 +2662,7 @@ func_802A3390: /* 418434 802A36A4 00000000 */ nop /* 418438 802A36A8 0C05272D */ jal play_sound /* 41843C 802A36AC 240400C9 */ addiu $a0, $zero, 0xc9 -/* 418440 802A36B0 080A8F19 */ j func_802A3C64 +/* 418440 802A36B0 080A8F19 */ j .L802A3C64 /* 418444 802A36B4 2402FFFF */ addiu $v0, $zero, -1 .L802A36B8: @@ -2683,7 +2681,7 @@ func_802A3390: /* 418478 802A36E8 54400001 */ bnezl $v0, .L802A36F0 /* 41847C 802A36EC AC620000 */ sw $v0, ($v1) .L802A36F0: -/* 418480 802A36F0 080A8F19 */ j func_802A3C64 +/* 418480 802A36F0 080A8F19 */ j .L802A3C64 /* 418484 802A36F4 24020028 */ addiu $v0, $zero, 0x28 .L802A36F8: @@ -2693,7 +2691,7 @@ func_802A3390: /* 418494 802A3704 240400CA */ addiu $a0, $zero, 0xca /* 418498 802A3708 0C0A89F9 */ jal func_802A27E4 /* 41849C 802A370C 00000000 */ nop -/* 4184A0 802A3710 080A8F19 */ j func_802A3C64 +/* 4184A0 802A3710 080A8F19 */ j .L802A3C64 /* 4184A4 802A3714 2402FFFE */ addiu $v0, $zero, -2 /* 4184A8 802A3718 3C02802B */ lui $v0, 0x802b @@ -2779,14 +2777,14 @@ func_802A3390: /* 4185D8 802A3848 24040002 */ addiu $a0, $zero, 2 /* 4185DC 802A384C 0C051F9F */ jal func_80147E7C /* 4185E0 802A3850 24050004 */ addiu $a1, $zero, 4 -/* 4185E4 802A3854 080A8E1A */ j func_802A3868 +/* 4185E4 802A3854 080A8E1A */ j .L802A3868 /* 4185E8 802A3858 24040003 */ addiu $a0, $zero, 3 .L802A385C: /* 4185EC 802A385C 0C051F9F */ jal func_80147E7C /* 4185F0 802A3860 0080282D */ daddu $a1, $a0, $zero /* 4185F4 802A3864 24040005 */ addiu $a0, $zero, 5 -func_802A3868: +.L802A3868: /* 4185F8 802A3868 0C051F9F */ jal func_80147E7C /* 4185FC 802A386C 24050004 */ addiu $a1, $zero, 4 /* 418600 802A3870 24040008 */ addiu $a0, $zero, 8 @@ -2798,13 +2796,13 @@ func_802A3868: /* 418618 802A3888 00000000 */ nop /* 41861C 802A388C 0C03A674 */ jal status_menu_stop_blinking_fp /* 418620 802A3890 00000000 */ nop -/* 418624 802A3894 080A8E5D */ j func_802A3974 +/* 418624 802A3894 080A8E5D */ j .L802A3974 /* 418628 802A3898 00000000 */ nop .L802A389C: /* 41862C 802A389C 0C03A6A5 */ jal status_menu_stop_blinking_sp /* 418630 802A38A0 00000000 */ nop -/* 418634 802A38A4 080A8E5D */ j func_802A3974 +/* 418634 802A38A4 080A8E5D */ j .L802A3974 /* 418638 802A38A8 00000000 */ nop /* 41863C 802A38AC 3C02802B */ lui $v0, 0x802b @@ -2813,13 +2811,13 @@ func_802A3868: /* 418648 802A38B8 00000000 */ nop /* 41864C 802A38BC 0C03A674 */ jal status_menu_stop_blinking_fp /* 418650 802A38C0 00000000 */ nop -/* 418654 802A38C4 080A8F1C */ j func_802A3C70 +/* 418654 802A38C4 080A8F1C */ j .L802A3C70 /* 418658 802A38C8 240200FF */ addiu $v0, $zero, 0xff .L802A38CC: /* 41865C 802A38CC 0C03A6A5 */ jal status_menu_stop_blinking_sp /* 418660 802A38D0 00000000 */ nop -/* 418664 802A38D4 080A8F1C */ j func_802A3C70 +/* 418664 802A38D4 080A8F1C */ j .L802A3C70 /* 418668 802A38D8 240200FF */ addiu $v0, $zero, 0xff /* 41866C 802A38DC 24040001 */ addiu $a0, $zero, 1 @@ -2832,14 +2830,14 @@ func_802A3868: /* 418688 802A38F8 24040002 */ addiu $a0, $zero, 2 /* 41868C 802A38FC 0C051F9F */ jal func_80147E7C /* 418690 802A3900 0080282D */ daddu $a1, $a0, $zero -/* 418694 802A3904 080A8E46 */ j func_802A3918 +/* 418694 802A3904 080A8E46 */ j .L802A3918 /* 418698 802A3908 24040003 */ addiu $a0, $zero, 3 .L802A390C: /* 41869C 802A390C 0C051F9F */ jal func_80147E7C /* 4186A0 802A3910 24050002 */ addiu $a1, $zero, 2 /* 4186A4 802A3914 24040005 */ addiu $a0, $zero, 5 -func_802A3918: +.L802A3918: /* 4186A8 802A3918 0C051F9F */ jal func_80147E7C /* 4186AC 802A391C 24050002 */ addiu $a1, $zero, 2 /* 4186B0 802A3920 24040008 */ addiu $a0, $zero, 8 @@ -2851,23 +2849,23 @@ func_802A3918: /* 4186C8 802A3938 00000000 */ nop /* 4186CC 802A393C 0C03A674 */ jal status_menu_stop_blinking_fp /* 4186D0 802A3940 00000000 */ nop -/* 4186D4 802A3944 080A8E55 */ j func_802A3954 +/* 4186D4 802A3944 080A8E55 */ j .L802A3954 /* 4186D8 802A3948 00000000 */ nop .L802A394C: /* 4186DC 802A394C 0C03A6A5 */ jal status_menu_stop_blinking_sp /* 4186E0 802A3950 00000000 */ nop -func_802A3954: +.L802A3954: /* 4186E4 802A3954 3C04802B */ lui $a0, 0x802b /* 4186E8 802A3958 8084D109 */ lb $a0, -0x2ef7($a0) /* 4186EC 802A395C 00041080 */ sll $v0, $a0, 2 /* 4186F0 802A3960 3C01802B */ lui $at, 0x802b /* 4186F4 802A3964 00220821 */ addu $at, $at, $v0 /* 4186F8 802A3968 8C22D1F8 */ lw $v0, -0x2e08($at) -/* 4186FC 802A396C 080A8E82 */ j func_802A3A08 +/* 4186FC 802A396C 080A8E82 */ j .L802A3A08 /* 418700 802A3970 2403000B */ addiu $v1, $zero, 0xb -func_802A3974: +.L802A3974: /* 418704 802A3974 3C03802B */ lui $v1, 0x802b /* 418708 802A3978 8063D109 */ lb $v1, -0x2ef7($v1) /* 41870C 802A397C 00031080 */ sll $v0, $v1, 2 @@ -2876,7 +2874,7 @@ func_802A3974: /* 418718 802A3988 8C22D1F8 */ lw $v0, -0x2e08($at) /* 41871C 802A398C 3C01802B */ lui $at, 0x802b /* 418720 802A3990 AC23D600 */ sw $v1, -0x2a00($at) -/* 418724 802A3994 080A8F1C */ j func_802A3C70 +/* 418724 802A3994 080A8F1C */ j .L802A3C70 /* 418728 802A3998 24420001 */ addiu $v0, $v0, 1 /* 41872C 802A399C 24040001 */ addiu $a0, $zero, 1 @@ -2889,14 +2887,14 @@ func_802A3974: /* 418748 802A39B8 24040002 */ addiu $a0, $zero, 2 /* 41874C 802A39BC 0C051F9F */ jal func_80147E7C /* 418750 802A39C0 24050001 */ addiu $a1, $zero, 1 -/* 418754 802A39C4 080A8E76 */ j func_802A39D8 +/* 418754 802A39C4 080A8E76 */ j .L802A39D8 /* 418758 802A39C8 24040003 */ addiu $a0, $zero, 3 .L802A39CC: /* 41875C 802A39CC 0C051F9F */ jal func_80147E7C /* 418760 802A39D0 24050001 */ addiu $a1, $zero, 1 /* 418764 802A39D4 24040005 */ addiu $a0, $zero, 5 -func_802A39D8: +.L802A39D8: /* 418768 802A39D8 0C051F9F */ jal func_80147E7C /* 41876C 802A39DC 24050001 */ addiu $a1, $zero, 1 /* 418770 802A39E0 24040008 */ addiu $a0, $zero, 8 @@ -2909,12 +2907,12 @@ func_802A39D8: /* 41878C 802A39FC 00220821 */ addu $at, $at, $v0 /* 418790 802A3A00 8C22D1F8 */ lw $v0, -0x2e08($at) /* 418794 802A3A04 24030001 */ addiu $v1, $zero, 1 -func_802A3A08: +.L802A3A08: /* 418798 802A3A08 3C01802B */ lui $at, 0x802b /* 41879C 802A3A0C A023D108 */ sb $v1, -0x2ef8($at) /* 4187A0 802A3A10 3C01802B */ lui $at, 0x802b /* 4187A4 802A3A14 AC24D600 */ sw $a0, -0x2a00($at) -/* 4187A8 802A3A18 080A8F1C */ j func_802A3C70 +/* 4187A8 802A3A18 080A8F1C */ j .L802A3C70 /* 4187AC 802A3A1C 24420001 */ addiu $v0, $v0, 1 /* 4187B0 802A3A20 24040001 */ addiu $a0, $zero, 1 @@ -2927,20 +2925,20 @@ func_802A3A08: /* 4187CC 802A3A3C 24040002 */ addiu $a0, $zero, 2 /* 4187D0 802A3A40 0C051F9F */ jal func_80147E7C /* 4187D4 802A3A44 24050009 */ addiu $a1, $zero, 9 -/* 4187D8 802A3A48 080A8E97 */ j func_802A3A5C +/* 4187D8 802A3A48 080A8E97 */ j .L802A3A5C /* 4187DC 802A3A4C 24040003 */ addiu $a0, $zero, 3 .L802A3A50: /* 4187E0 802A3A50 0C051F9F */ jal func_80147E7C /* 4187E4 802A3A54 24050009 */ addiu $a1, $zero, 9 /* 4187E8 802A3A58 24040005 */ addiu $a0, $zero, 5 -func_802A3A5C: +.L802A3A5C: /* 4187EC 802A3A5C 0C051F9F */ jal func_80147E7C /* 4187F0 802A3A60 24050009 */ addiu $a1, $zero, 9 /* 4187F4 802A3A64 24040008 */ addiu $a0, $zero, 8 /* 4187F8 802A3A68 0C051F9F */ jal func_80147E7C /* 4187FC 802A3A6C 24050002 */ addiu $a1, $zero, 2 -/* 418800 802A3A70 080A8F19 */ j func_802A3C64 +/* 418800 802A3A70 080A8F19 */ j .L802A3C64 /* 418804 802A3A74 2402FFFF */ addiu $v0, $zero, -1 /* 418808 802A3A78 2402FFFF */ addiu $v0, $zero, -1 @@ -2950,7 +2948,7 @@ func_802A3A5C: /* 418818 802A3A88 24030029 */ addiu $v1, $zero, 0x29 /* 41881C 802A3A8C 3C01802B */ lui $at, 0x802b /* 418820 802A3A90 A023D108 */ sb $v1, -0x2ef8($at) -/* 418824 802A3A94 080A8F1C */ j func_802A3C70 +/* 418824 802A3A94 080A8F1C */ j .L802A3C70 /* 418828 802A3A98 00000000 */ nop /* 41882C 802A3A9C 24040001 */ addiu $a0, $zero, 1 @@ -2963,14 +2961,14 @@ func_802A3A5C: /* 418848 802A3AB8 24040002 */ addiu $a0, $zero, 2 /* 41884C 802A3ABC 0C051F9F */ jal func_80147E7C /* 418850 802A3AC0 0080282D */ daddu $a1, $a0, $zero -/* 418854 802A3AC4 080A8EB6 */ j func_802A3AD8 +/* 418854 802A3AC4 080A8EB6 */ j .L802A3AD8 /* 418858 802A3AC8 24040003 */ addiu $a0, $zero, 3 .L802A3ACC: /* 41885C 802A3ACC 0C051F9F */ jal func_80147E7C /* 418860 802A3AD0 24050002 */ addiu $a1, $zero, 2 /* 418864 802A3AD4 24040005 */ addiu $a0, $zero, 5 -func_802A3AD8: +.L802A3AD8: /* 418868 802A3AD8 0C051F9F */ jal func_80147E7C /* 41886C 802A3ADC 24050002 */ addiu $a1, $zero, 2 /* 418870 802A3AE0 24040008 */ addiu $a0, $zero, 8 @@ -3028,7 +3026,7 @@ func_802A3AD8: /* 41893C 802A3BAC 2403002A */ addiu $v1, $zero, 0x2a /* 418940 802A3BB0 3C01802B */ lui $at, 0x802b /* 418944 802A3BB4 A023D108 */ sb $v1, -0x2ef8($at) -/* 418948 802A3BB8 080A8F1C */ j func_802A3C70 +/* 418948 802A3BB8 080A8F1C */ j .L802A3C70 /* 41894C 802A3BBC 2402FFFF */ addiu $v0, $zero, -1 /* 418950 802A3BC0 3C028007 */ lui $v0, 0x8007 @@ -3047,7 +3045,7 @@ func_802A3AD8: /* 418980 802A3BF0 10400004 */ beqz $v0, .L802A3C04 /* 418984 802A3BF4 2462FFFF */ addiu $v0, $v1, -1 /* 418988 802A3BF8 A0820000 */ sb $v0, ($a0) -/* 41898C 802A3BFC 080A8F1C */ j func_802A3C70 +/* 41898C 802A3BFC 080A8F1C */ j .L802A3C70 /* 418990 802A3C00 2402FFFF */ addiu $v0, $zero, -1 .L802A3C04: @@ -3064,26 +3062,25 @@ func_802A3AD8: /* 4189BC 802A3C2C 24040002 */ addiu $a0, $zero, 2 /* 4189C0 802A3C30 0C051F9F */ jal func_80147E7C /* 4189C4 802A3C34 24050001 */ addiu $a1, $zero, 1 -/* 4189C8 802A3C38 080A8F13 */ j func_802A3C4C +/* 4189C8 802A3C38 080A8F13 */ j .L802A3C4C /* 4189CC 802A3C3C 24040003 */ addiu $a0, $zero, 3 .L802A3C40: /* 4189D0 802A3C40 0C051F9F */ jal func_80147E7C /* 4189D4 802A3C44 24050001 */ addiu $a1, $zero, 1 /* 4189D8 802A3C48 24040005 */ addiu $a0, $zero, 5 -func_802A3C4C: +.L802A3C4C: /* 4189DC 802A3C4C 0C051F9F */ jal func_80147E7C /* 4189E0 802A3C50 24050001 */ addiu $a1, $zero, 1 /* 4189E4 802A3C54 24040008 */ addiu $a0, $zero, 8 /* 4189E8 802A3C58 0C051F9F */ jal func_80147E7C /* 4189EC 802A3C5C 24050001 */ addiu $a1, $zero, 1 /* 4189F0 802A3C60 24020001 */ addiu $v0, $zero, 1 -func_802A3C64: +.L802A3C64: /* 4189F4 802A3C64 3C01802B */ lui $at, 0x802b /* 4189F8 802A3C68 A022D108 */ sb $v0, -0x2ef8($at) .L802A3C6C: /* 4189FC 802A3C6C 0000102D */ daddu $v0, $zero, $zero -func_802A3C70: .L802A3C70: /* 418A00 802A3C70 8FBF0044 */ lw $ra, 0x44($sp) /* 418A04 802A3C74 8FB60040 */ lw $s6, 0x40($sp) @@ -3301,13 +3298,13 @@ func_802A3C70: .L802A3FAC: /* 418D3C 802A3FAC 0C03A674 */ jal status_menu_stop_blinking_fp /* 418D40 802A3FB0 00000000 */ nop -/* 418D44 802A3FB4 080A9007 */ j func_802A401C +/* 418D44 802A3FB4 080A9007 */ j .L802A401C /* 418D48 802A3FB8 00131080 */ sll $v0, $s3, 2 .L802A3FBC: /* 418D4C 802A3FBC 0C03A663 */ jal status_menu_start_blinking_fp /* 418D50 802A3FC0 00000000 */ nop -/* 418D54 802A3FC4 080A9007 */ j func_802A401C +/* 418D54 802A3FC4 080A9007 */ j .L802A401C /* 418D58 802A3FC8 00131080 */ sll $v0, $s3, 2 .L802A3FCC: @@ -3326,7 +3323,7 @@ func_802A3C70: .L802A3FFC: /* 418D8C 802A3FFC 0C03A6A5 */ jal status_menu_stop_blinking_sp /* 418D90 802A4000 00000000 */ nop -/* 418D94 802A4004 080A9007 */ j func_802A401C +/* 418D94 802A4004 080A9007 */ j .L802A401C /* 418D98 802A4008 00131080 */ sll $v0, $s3, 2 .L802A400C: @@ -3334,7 +3331,6 @@ func_802A3C70: /* 418DA0 802A4010 0C03A6AE */ jal status_menu_start_blinking_sp_bars /* 418DA4 802A4014 00000000 */ nop /* 418DA8 802A4018 00131080 */ sll $v0, $s3, 2 -func_802A401C: .L802A401C: /* 418DAC 802A401C 3C03802B */ lui $v1, 0x802b /* 418DB0 802A4020 00621821 */ addu $v1, $v1, $v0 @@ -3343,16 +3339,16 @@ func_802A401C: /* 418DBC 802A402C 24020001 */ addiu $v0, $zero, 1 /* 418DC0 802A4030 10620005 */ beq $v1, $v0, .L802A4048 /* 418DC4 802A4034 24080038 */ addiu $t0, $zero, 0x38 -/* 418DC8 802A4038 080A9013 */ j func_802A404C +/* 418DC8 802A4038 080A9013 */ j .L802A404C /* 418DCC 802A403C 00000000 */ nop .L802A4040: -/* 418DD0 802A4040 080A9013 */ j func_802A404C +/* 418DD0 802A4040 080A9013 */ j .L802A404C /* 418DD4 802A4044 2408000A */ addiu $t0, $zero, 0xa .L802A4048: /* 418DD8 802A4048 24080037 */ addiu $t0, $zero, 0x37 -func_802A404C: +.L802A404C: /* 418DDC 802A404C 8E820000 */ lw $v0, ($s4) /* 418DE0 802A4050 00021880 */ sll $v1, $v0, 2 /* 418DE4 802A4054 00761021 */ addu $v0, $v1, $s6 @@ -3393,7 +3389,7 @@ func_802A404C: /* 418E6C 802A40DC 0200202D */ daddu $a0, $s0, $zero /* 418E70 802A40E0 0200202D */ daddu $a0, $s0, $zero .L802A40E4: -/* 418E74 802A40E4 080A9051 */ j func_802A4144 +/* 418E74 802A40E4 080A9051 */ j .L802A4144 /* 418E78 802A40E8 26A50074 */ addiu $a1, $s5, 0x74 .L802A40EC: @@ -3420,7 +3416,7 @@ func_802A404C: /* 418ECC 802A413C 0200202D */ daddu $a0, $s0, $zero .L802A4140: /* 418ED0 802A4140 26A50066 */ addiu $a1, $s5, 0x66 -func_802A4144: +.L802A4144: /* 418ED4 802A4144 0C051261 */ jal set_icon_render_pos /* 418ED8 802A4148 26260007 */ addiu $a2, $s1, 7 /* 418EDC 802A414C 3C05802B */ lui $a1, 0x802b @@ -3465,7 +3461,7 @@ func_802A4144: /* 418F6C 802A41DC 0053102A */ slt $v0, $v0, $s3 /* 418F70 802A41E0 10400003 */ beqz $v0, .L802A41F0 /* 418F74 802A41E4 02A0282D */ daddu $a1, $s5, $zero -/* 418F78 802A41E8 080A9087 */ j func_802A421C +/* 418F78 802A41E8 080A9087 */ j .L802A421C /* 418F7C 802A41EC 2631000D */ addiu $s1, $s1, 0xd .L802A41F0: @@ -3480,7 +3476,6 @@ func_802A4144: /* 418FA0 802A4210 0200202D */ daddu $a0, $s0, $zero /* 418FA4 802A4214 0C0511F8 */ jal func_801447E0 /* 418FA8 802A4218 0200202D */ daddu $a0, $s0, $zero -func_802A421C: .L802A421C: /* 418FAC 802A421C 26730001 */ addiu $s3, $s3, 1 /* 418FB0 802A4220 3C02802B */ lui $v0, 0x802b @@ -3582,13 +3577,12 @@ func_802A421C: /* 419120 802A4390 00000000 */ nop /* 419124 802A4394 0C03A674 */ jal status_menu_stop_blinking_fp /* 419128 802A4398 00000000 */ nop -/* 41912C 802A439C 080A90EB */ j func_802A43AC +/* 41912C 802A439C 080A90EB */ j .L802A43AC /* 419130 802A43A0 00000000 */ nop .L802A43A4: /* 419134 802A43A4 0C03A6A5 */ jal status_menu_stop_blinking_sp /* 419138 802A43A8 00000000 */ nop -func_802A43AC: .L802A43AC: /* 41913C 802A43AC 8FBF0044 */ lw $ra, 0x44($sp) /* 419140 802A43B0 8FBE0040 */ lw $fp, 0x40($sp) @@ -3614,7 +3608,7 @@ func_802A43AC: /* 41918C 802A43FC 24C60002 */ addiu $a2, $a2, 2 /* 419190 802A4400 3C07802B */ lui $a3, 0x802b /* 419194 802A4404 84E7D116 */ lh $a3, -0x2eea($a3) -/* 419198 802A4408 080A910B */ j func_802A442C +/* 419198 802A4408 080A910B */ j .L802A442C /* 41919C 802A440C 24020030 */ addiu $v0, $zero, 0x30 .L802A4410: @@ -3625,7 +3619,7 @@ func_802A43AC: /* 4191B0 802A4420 3C07802B */ lui $a3, 0x802b /* 4191B4 802A4424 84E7D116 */ lh $a3, -0x2eea($a3) /* 4191B8 802A4428 24020031 */ addiu $v0, $zero, 0x31 -func_802A442C: +.L802A442C: /* 4191BC 802A442C AFA20010 */ sw $v0, 0x10($sp) /* 4191C0 802A4430 24020001 */ addiu $v0, $zero, 1 /* 4191C4 802A4434 0C04993B */ jal draw_string @@ -3707,7 +3701,7 @@ func_802A442C: /* 4192E4 802A4554 10400004 */ beqz $v0, .L802A4568 /* 4192E8 802A4558 AFB00018 */ sw $s0, 0x18($sp) /* 4192EC 802A455C 3C10001D */ lui $s0, 0x1d -/* 4192F0 802A4560 080A9161 */ j func_802A4584 +/* 4192F0 802A4560 080A9161 */ j .L802A4584 /* 4192F4 802A4564 361000C3 */ ori $s0, $s0, 0xc3 .L802A4568: @@ -3718,7 +3712,6 @@ func_802A442C: /* 419308 802A4578 361000A0 */ ori $s0, $s0, 0xa0 /* 41930C 802A457C 3C10001D */ lui $s0, 0x1d /* 419310 802A4580 3610009F */ ori $s0, $s0, 0x9f -func_802A4584: .L802A4584: /* 419314 802A4584 0C04992C */ jal func_801264B0 /* 419318 802A4588 0200202D */ daddu $a0, $s0, $zero @@ -4243,7 +4236,7 @@ func_802A4A54: /* 419AC8 802A4D38 0200282D */ daddu $a1, $s0, $zero /* 419ACC 802A4D3C 3C01802B */ lui $at, 0x802b /* 419AD0 802A4D40 A030D604 */ sb $s0, -0x29fc($at) -/* 419AD4 802A4D44 080A949D */ j func_802A5274 +/* 419AD4 802A4D44 080A949D */ j .L802A5274 /* 419AD8 802A4D48 0000102D */ daddu $v0, $zero, $zero /* 419ADC 802A4D4C 3C02802B */ lui $v0, 0x802b @@ -4369,7 +4362,7 @@ func_802A4A54: /* 419C94 802A4F04 00000000 */ nop /* 419C98 802A4F08 0C05272D */ jal play_sound /* 419C9C 802A4F0C 240400C9 */ addiu $a0, $zero, 0xc9 -/* 419CA0 802A4F10 080A949A */ j func_802A5268 +/* 419CA0 802A4F10 080A949A */ j .L802A5268 /* 419CA4 802A4F14 2402FFFF */ addiu $v0, $zero, -1 .L802A4F18: @@ -4385,7 +4378,7 @@ func_802A4A54: /* 419CCC 802A4F3C A022D604 */ sb $v0, -0x29fc($at) /* 419CD0 802A4F40 3C01802B */ lui $at, 0x802b /* 419CD4 802A4F44 A423D610 */ sh $v1, -0x29f0($at) -/* 419CD8 802A4F48 080A949D */ j func_802A5274 +/* 419CD8 802A4F48 080A949D */ j .L802A5274 /* 419CDC 802A4F4C 0000102D */ daddu $v0, $zero, $zero .L802A4F50: @@ -4396,7 +4389,7 @@ func_802A4A54: /* 419CF0 802A4F60 240400CA */ addiu $a0, $zero, 0xca /* 419CF4 802A4F64 0C0A91CB */ jal func_802A472C /* 419CF8 802A4F68 00000000 */ nop -/* 419CFC 802A4F6C 080A949A */ j func_802A5268 +/* 419CFC 802A4F6C 080A949A */ j .L802A5268 /* 419D00 802A4F70 2402FFFE */ addiu $v0, $zero, -2 /* 419D04 802A4F74 3C02802B */ lui $v0, 0x802b @@ -4455,10 +4448,10 @@ func_802A4A54: /* 419DD0 802A5040 24040008 */ addiu $a0, $zero, 8 /* 419DD4 802A5044 0C051F9F */ jal func_80147E7C /* 419DD8 802A5048 24050002 */ addiu $a1, $zero, 2 -/* 419DDC 802A504C 080A9424 */ j func_802A5090 +/* 419DDC 802A504C 080A9424 */ j .L802A5090 /* 419DE0 802A5050 00000000 */ nop -/* 419DE4 802A5054 080A949D */ j func_802A5274 +/* 419DE4 802A5054 080A949D */ j .L802A5274 /* 419DE8 802A5058 240200FF */ addiu $v0, $zero, 0xff /* 419DEC 802A505C 24040006 */ addiu $a0, $zero, 6 @@ -4472,13 +4465,13 @@ func_802A4A54: /* 419E0C 802A507C 24050002 */ addiu $a1, $zero, 2 /* 419E10 802A5080 3C02802B */ lui $v0, 0x802b /* 419E14 802A5084 8042D605 */ lb $v0, -0x29fb($v0) -/* 419E18 802A5088 080A9434 */ j func_802A50D0 +/* 419E18 802A5088 080A9434 */ j .L802A50D0 /* 419E1C 802A508C 2403000B */ addiu $v1, $zero, 0xb -func_802A5090: +.L802A5090: /* 419E20 802A5090 3C02802B */ lui $v0, 0x802b /* 419E24 802A5094 8042D605 */ lb $v0, -0x29fb($v0) -/* 419E28 802A5098 080A949D */ j func_802A5274 +/* 419E28 802A5098 080A949D */ j .L802A5274 /* 419E2C 802A509C 24420001 */ addiu $v0, $v0, 1 /* 419E30 802A50A0 24040006 */ addiu $a0, $zero, 6 @@ -4493,10 +4486,10 @@ func_802A5090: /* 419E54 802A50C4 3C02802B */ lui $v0, 0x802b /* 419E58 802A50C8 8042D605 */ lb $v0, -0x29fb($v0) /* 419E5C 802A50CC 24030001 */ addiu $v1, $zero, 1 -func_802A50D0: +.L802A50D0: /* 419E60 802A50D0 3C01802B */ lui $at, 0x802b /* 419E64 802A50D4 A023D604 */ sb $v1, -0x29fc($at) -/* 419E68 802A50D8 080A949D */ j func_802A5274 +/* 419E68 802A50D8 080A949D */ j .L802A5274 /* 419E6C 802A50DC 24420001 */ addiu $v0, $v0, 1 /* 419E70 802A50E0 24040006 */ addiu $a0, $zero, 6 @@ -4508,7 +4501,7 @@ func_802A50D0: /* 419E88 802A50F8 24040008 */ addiu $a0, $zero, 8 /* 419E8C 802A50FC 0C051F9F */ jal func_80147E7C /* 419E90 802A5100 24050001 */ addiu $a1, $zero, 1 -/* 419E94 802A5104 080A949A */ j func_802A5268 +/* 419E94 802A5104 080A949A */ j .L802A5268 /* 419E98 802A5108 2402FFFF */ addiu $v0, $zero, -1 /* 419E9C 802A510C 2402FFFF */ addiu $v0, $zero, -1 @@ -4518,7 +4511,7 @@ func_802A50D0: /* 419EAC 802A511C 24030029 */ addiu $v1, $zero, 0x29 /* 419EB0 802A5120 3C01802B */ lui $at, 0x802b /* 419EB4 802A5124 A023D604 */ sb $v1, -0x29fc($at) -/* 419EB8 802A5128 080A949D */ j func_802A5274 +/* 419EB8 802A5128 080A949D */ j .L802A5274 /* 419EBC 802A512C 00000000 */ nop /* 419EC0 802A5130 24040006 */ addiu $a0, $zero, 6 @@ -4534,12 +4527,12 @@ func_802A50D0: /* 419EE8 802A5158 8463D610 */ lh $v1, -0x29f0($v1) /* 419EEC 802A515C 14600003 */ bnez $v1, .L802A516C /* 419EF0 802A5160 3C04001D */ lui $a0, 0x1d -/* 419EF4 802A5164 080A945C */ j func_802A5170 +/* 419EF4 802A5164 080A945C */ j .L802A5170 /* 419EF8 802A5168 348400CB */ ori $a0, $a0, 0xcb .L802A516C: /* 419EFC 802A516C 348400CC */ ori $a0, $a0, 0xcc -func_802A5170: +.L802A5170: /* 419F00 802A5170 0C04991D */ jal get_string_width /* 419F04 802A5174 0000282D */ daddu $a1, $zero, $zero /* 419F08 802A5178 24040009 */ addiu $a0, $zero, 9 @@ -4570,7 +4563,7 @@ func_802A5170: /* 419F6C 802A51DC 2403002A */ addiu $v1, $zero, 0x2a /* 419F70 802A51E0 3C01802B */ lui $at, 0x802b /* 419F74 802A51E4 A023D604 */ sb $v1, -0x29fc($at) -/* 419F78 802A51E8 080A949D */ j func_802A5274 +/* 419F78 802A51E8 080A949D */ j .L802A5274 /* 419F7C 802A51EC 2402FFFF */ addiu $v0, $zero, -1 /* 419F80 802A51F0 3C028007 */ lui $v0, 0x8007 @@ -4589,7 +4582,7 @@ func_802A5170: /* 419FB0 802A5220 10400004 */ beqz $v0, .L802A5234 /* 419FB4 802A5224 2462FFFF */ addiu $v0, $v1, -1 /* 419FB8 802A5228 A4820000 */ sh $v0, ($a0) -/* 419FBC 802A522C 080A949D */ j func_802A5274 +/* 419FBC 802A522C 080A949D */ j .L802A5274 /* 419FC0 802A5230 2402FFFF */ addiu $v0, $zero, -1 .L802A5234: @@ -4606,12 +4599,11 @@ func_802A5170: /* 419FEC 802A525C 0C051F9F */ jal func_80147E7C /* 419FF0 802A5260 24050001 */ addiu $a1, $zero, 1 /* 419FF4 802A5264 24020001 */ addiu $v0, $zero, 1 -func_802A5268: +.L802A5268: /* 419FF8 802A5268 3C01802B */ lui $at, 0x802b /* 419FFC 802A526C A022D604 */ sb $v0, -0x29fc($at) .L802A5270: /* 41A000 802A5270 0000102D */ daddu $v0, $zero, $zero -func_802A5274: .L802A5274: /* 41A004 802A5274 8FBF0038 */ lw $ra, 0x38($sp) /* 41A008 802A5278 8FB30034 */ lw $s3, 0x34($sp) @@ -4843,12 +4835,12 @@ func_802A5274: /* 41A370 802A55E0 00000000 */ nop /* 41A374 802A55E4 10400003 */ beqz $v0, .L802A55F4 /* 41A378 802A55E8 26F5000A */ addiu $s5, $s7, 0xa -/* 41A37C 802A55EC 080A957E */ j func_802A55F8 +/* 41A37C 802A55EC 080A957E */ j .L802A55F8 /* 41A380 802A55F0 01024021 */ addu $t0, $t0, $v0 .L802A55F4: /* 41A384 802A55F4 0220402D */ daddu $t0, $s1, $zero -func_802A55F8: +.L802A55F8: /* 41A388 802A55F8 02A0282D */ daddu $a1, $s5, $zero /* 41A38C 802A55FC 00083400 */ sll $a2, $t0, 0x10 /* 41A390 802A5600 00063403 */ sra $a2, $a2, 0x10 @@ -4979,13 +4971,13 @@ func_802A55F8: /* 41A56C 802A57DC 14600004 */ bnez $v1, .L802A57F0 /* 41A570 802A57E0 AFBF0018 */ sw $ra, 0x18($sp) /* 41A574 802A57E4 3C04001D */ lui $a0, 0x1d -/* 41A578 802A57E8 080A95FE */ j func_802A57F8 +/* 41A578 802A57E8 080A95FE */ j .L802A57F8 /* 41A57C 802A57EC 348400CB */ ori $a0, $a0, 0xcb .L802A57F0: /* 41A580 802A57F0 3C04001D */ lui $a0, 0x1d /* 41A584 802A57F4 348400CC */ ori $a0, $a0, 0xcc -func_802A57F8: +.L802A57F8: /* 41A588 802A57F8 2402000F */ addiu $v0, $zero, 0xf /* 41A58C 802A57FC 240700FF */ addiu $a3, $zero, 0xff /* 41A590 802A5800 AFA20010 */ sw $v0, 0x10($sp) @@ -5142,7 +5134,7 @@ update_player_menu: /* 41A778 802A59E8 2402012C */ addiu $v0, $zero, 0x12c /* 41A77C 802A59EC 10620023 */ beq $v1, $v0, .L802A5A7C /* 41A780 802A59F0 00000000 */ nop -/* 41A784 802A59F4 080A9709 */ j func_802A5C24 +/* 41A784 802A59F4 080A9709 */ j .L802A5C24 /* 41A788 802A59F8 00000000 */ nop .L802A59FC: @@ -5163,7 +5155,7 @@ update_player_menu: /* 41A7C4 802A5A34 14400004 */ bnez $v0, .L802A5A48 /* 41A7C8 802A5A38 2402012C */ addiu $v0, $zero, 0x12c /* 41A7CC 802A5A3C 2402012E */ addiu $v0, $zero, 0x12e -/* 41A7D0 802A5A40 080A9709 */ j func_802A5C24 +/* 41A7D0 802A5A40 080A9709 */ j .L802A5C24 /* 41A7D4 802A5A44 AE020000 */ sw $v0, ($s0) .L802A5A48: @@ -5178,7 +5170,7 @@ update_player_menu: /* 41A7F8 802A5A68 24020004 */ addiu $v0, $zero, 4 /* 41A7FC 802A5A6C A6220070 */ sh $v0, 0x70($s1) /* 41A800 802A5A70 AE200054 */ sw $zero, 0x54($s1) -/* 41A804 802A5A74 080A9709 */ j func_802A5C24 +/* 41A804 802A5A74 080A9709 */ j .L802A5C24 /* 41A808 802A5A78 E6200020 */ swc1 $f0, 0x20($s1) .L802A5A7C: @@ -5264,7 +5256,7 @@ update_player_menu: /* 41A944 802A5BB4 10400004 */ beqz $v0, .L802A5BC8 /* 41A948 802A5BB8 E6200054 */ swc1 $f0, 0x54($s1) /* 41A94C 802A5BBC 2462FFFF */ addiu $v0, $v1, -1 -/* 41A950 802A5BC0 080A9709 */ j func_802A5C24 +/* 41A950 802A5BC0 080A9709 */ j .L802A5C24 /* 41A954 802A5BC4 A6220070 */ sh $v0, 0x70($s1) .L802A5BC8: @@ -5291,7 +5283,7 @@ update_player_menu: /* 41A9A8 802A5C18 AE030000 */ sw $v1, ($s0) /* 41A9AC 802A5C1C 00441024 */ and $v0, $v0, $a0 /* 41A9B0 802A5C20 AEC20000 */ sw $v0, ($s6) -func_802A5C24: +.L802A5C24: /* 41A9B4 802A5C24 3C02800E */ lui $v0, 0x800e /* 41A9B8 802A5C28 8C42C4DC */ lw $v0, -0x3b24($v0) /* 41A9BC 802A5C2C 2443FFFF */ addiu $v1, $v0, -1 @@ -5641,13 +5633,13 @@ func_802A5C24: /* 41AEC0 802A6130 24020001 */ addiu $v0, $zero, 1 /* 41AEC4 802A6134 3C01802B */ lui $at, 0x802b /* 41AEC8 802A6138 AC22D104 */ sw $v0, -0x2efc($at) -/* 41AECC 802A613C 080A9853 */ j func_802A614C +/* 41AECC 802A613C 080A9853 */ j .L802A614C /* 41AED0 802A6140 00000000 */ nop .L802A6144: /* 41AED4 802A6144 3C01802B */ lui $at, 0x802b /* 41AED8 802A6148 AC20D104 */ sw $zero, -0x2efc($at) -func_802A614C: +.L802A614C: /* 41AEDC 802A614C 0C0A8400 */ jal func_802A1000 /* 41AEE0 802A6150 00000000 */ nop /* 41AEE4 802A6154 24020008 */ addiu $v0, $zero, 8 @@ -5655,7 +5647,7 @@ func_802A614C: /* 41AEEC 802A615C AC22CC60 */ sw $v0, -0x33a0($at) /* 41AEF0 802A6160 3C01802B */ lui $at, 0x802b /* 41AEF4 802A6164 AC20CC6C */ sw $zero, -0x3394($at) -/* 41AEF8 802A6168 080AA04F */ j func_802A813C +/* 41AEF8 802A6168 080AA04F */ j .L802A813C /* 41AEFC 802A616C 24020001 */ addiu $v0, $zero, 1 /* 41AF00 802A6170 82C2008B */ lb $v0, 0x8b($s6) @@ -5663,7 +5655,7 @@ func_802A614C: /* 41AF08 802A6178 0000202D */ daddu $a0, $zero, $zero /* 41AF0C 802A617C 0080282D */ daddu $a1, $a0, $zero /* 41AF10 802A6180 3C060001 */ lui $a2, 1 -/* 41AF14 802A6184 080A9868 */ j func_802A61A0 +/* 41AF14 802A6184 080A9868 */ j .L802A61A0 /* 41AF18 802A6188 34C60027 */ ori $a2, $a2, 0x27 .L802A618C: @@ -5672,7 +5664,7 @@ func_802A614C: /* 41AF24 802A6194 0000202D */ daddu $a0, $zero, $zero /* 41AF28 802A6198 0080282D */ daddu $a1, $a0, $zero /* 41AF2C 802A619C 0040302D */ daddu $a2, $v0, $zero -func_802A61A0: +.L802A61A0: /* 41AF30 802A61A0 0C098F3F */ jal set_animation /* 41AF34 802A61A4 00000000 */ nop /* 41AF38 802A61A8 0C0A846C */ jal func_802A11B0 @@ -5683,7 +5675,7 @@ func_802A61A0: /* 41AF4C 802A61BC 10600004 */ beqz $v1, .L802A61D0 /* 41AF50 802A61C0 0040802D */ daddu $s0, $v0, $zero /* 41AF54 802A61C4 2462FFFF */ addiu $v0, $v1, -1 -/* 41AF58 802A61C8 080A98A3 */ j func_802A628C +/* 41AF58 802A61C8 080A98A3 */ j .L802A628C /* 41AF5C 802A61CC AC820000 */ sw $v0, ($a0) .L802A61D0: @@ -5719,7 +5711,7 @@ func_802A61A0: /* 41AFD4 802A6244 9022D0BB */ lbu $v0, -0x2f45($at) /* 41AFD8 802A6248 0C0A842E */ jal func_802A10B8 /* 41AFDC 802A624C A2C2004C */ sb $v0, 0x4c($s6) -/* 41AFE0 802A6250 080A9F71 */ j func_802A7DC4 +/* 41AFE0 802A6250 080A9F71 */ j .L802A7DC4 /* 41AFE4 802A6254 00000000 */ nop .L802A6258: @@ -5734,10 +5726,9 @@ func_802A61A0: /* 41B008 802A6278 00000000 */ nop /* 41B00C 802A627C 0C05272D */ jal play_sound /* 41B010 802A6280 2404021D */ addiu $a0, $zero, 0x21d -/* 41B014 802A6284 080AA04F */ j func_802A813C +/* 41B014 802A6284 080AA04F */ j .L802A813C /* 41B018 802A6288 24020008 */ addiu $v0, $zero, 8 -func_802A628C: .L802A628C: /* 41B01C 802A628C 3C03802B */ lui $v1, 0x802b /* 41B020 802A6290 2463CC60 */ addiu $v1, $v1, -0x33a0 @@ -5775,7 +5766,7 @@ func_802A628C: /* 41B09C 802A630C 24020002 */ addiu $v0, $zero, 2 /* 41B0A0 802A6310 10600059 */ beqz $v1, .L802A6478 /* 41B0A4 802A6314 00000000 */ nop -/* 41B0A8 802A6318 080A99AC */ j func_802A66B0 +/* 41B0A8 802A6318 080A99AC */ j .L802A66B0 /* 41B0AC 802A631C 00000000 */ nop .L802A6320: @@ -5783,7 +5774,7 @@ func_802A628C: /* 41B0B4 802A6324 24020008 */ addiu $v0, $zero, 8 /* 41B0B8 802A6328 1062005E */ beq $v1, $v0, .L802A64A4 /* 41B0BC 802A632C 24140001 */ addiu $s4, $zero, 1 -/* 41B0C0 802A6330 080A99AC */ j func_802A66B0 +/* 41B0C0 802A6330 080A99AC */ j .L802A66B0 /* 41B0C4 802A6334 00000000 */ nop .L802A6338: @@ -5866,19 +5857,19 @@ func_802A628C: /* 41B1E4 802A6454 24020001 */ addiu $v0, $zero, 1 /* 41B1E8 802A6458 16820095 */ bne $s4, $v0, .L802A66B0 /* 41B1EC 802A645C A2D4020E */ sb $s4, 0x20e($s6) -/* 41B1F0 802A6460 080A99AC */ j func_802A66B0 +/* 41B1F0 802A6460 080A99AC */ j .L802A66B0 /* 41B1F4 802A6464 A2C0020E */ sb $zero, 0x20e($s6) .L802A6468: /* 41B1F8 802A6468 0C098DB9 */ jal func_802636E4 /* 41B1FC 802A646C 00000000 */ nop -/* 41B200 802A6470 080A9920 */ j func_802A6480 +/* 41B200 802A6470 080A9920 */ j .L802A6480 /* 41B204 802A6474 00000000 */ nop .L802A6478: /* 41B208 802A6478 0C098D2E */ jal func_802634B8 /* 41B20C 802A647C 00000000 */ nop -func_802A6480: +.L802A6480: /* 41B210 802A6480 92C2020E */ lbu $v0, 0x20e($s6) /* 41B214 802A6484 50500001 */ beql $v0, $s0, .L802A648C /* 41B218 802A6488 A2C0020E */ sb $zero, 0x20e($s6) @@ -5887,7 +5878,7 @@ func_802A6480: /* 41B220 802A6490 24020002 */ addiu $v0, $zero, 2 /* 41B224 802A6494 50620086 */ beql $v1, $v0, .L802A66B0 /* 41B228 802A6498 A2C0020E */ sb $zero, 0x20e($s6) -/* 41B22C 802A649C 080A99AC */ j func_802A66B0 +/* 41B22C 802A649C 080A99AC */ j .L802A66B0 /* 41B230 802A64A0 00000000 */ nop .L802A64A4: @@ -6037,13 +6028,12 @@ func_802A6480: .L802A66A8: /* 41B438 802A66A8 26940001 */ addiu $s4, $s4, 1 /* 41B43C 802A66AC A2D4020E */ sb $s4, 0x20e($s6) -func_802A66B0: .L802A66B0: /* 41B440 802A66B0 82D00048 */ lb $s0, 0x48($s6) /* 41B444 802A66B4 24020008 */ addiu $v0, $zero, 8 /* 41B448 802A66B8 16020003 */ bne $s0, $v0, .L802A66C8 /* 41B44C 802A66BC 24020007 */ addiu $v0, $zero, 7 -/* 41B450 802A66C0 080A9FE1 */ j func_802A7F84 +/* 41B450 802A66C0 080A9FE1 */ j .L802A7F84 /* 41B454 802A66C4 2402003C */ addiu $v0, $zero, 0x3c .L802A66C8: @@ -6065,7 +6055,7 @@ func_802A66B0: /* 41B490 802A6700 A6C0017A */ sh $zero, 0x17a($s6) /* 41B494 802A6704 0C090464 */ jal func_80241190 /* 41B498 802A6708 A6C0017C */ sh $zero, 0x17c($s6) -/* 41B49C 802A670C 080AA051 */ j func_802A8144 +/* 41B49C 802A670C 080AA051 */ j .L802A8144 /* 41B4A0 802A6710 00000000 */ nop .L802A6714: @@ -6074,7 +6064,7 @@ func_802A66B0: /* 41B4AC 802A671C 24020002 */ addiu $v0, $zero, 2 /* 41B4B0 802A6720 16020686 */ bne $s0, $v0, .L802A813C /* 41B4B4 802A6724 2402000A */ addiu $v0, $zero, 0xa -/* 41B4B8 802A6728 080A9FE1 */ j func_802A7F84 +/* 41B4B8 802A6728 080A9FE1 */ j .L802A7F84 /* 41B4BC 802A672C 24020028 */ addiu $v0, $zero, 0x28 .L802A6730: @@ -6247,7 +6237,7 @@ func_802A66B0: /* 41B71C 802A698C AC22D4A4 */ sw $v0, -0x2b5c($at) /* 41B720 802A6990 0C0A89A1 */ jal func_802A2684 /* 41B724 802A6994 00000000 */ nop -/* 41B728 802A6998 080AA04F */ j func_802A813C +/* 41B728 802A6998 080AA04F */ j .L802A813C /* 41B72C 802A699C 24020002 */ addiu $v0, $zero, 2 /* 41B730 802A69A0 0C0A8B21 */ jal func_802A2C84 @@ -6268,7 +6258,7 @@ func_802A66B0: /* 41B76C 802A69DC 24020004 */ addiu $v0, $zero, 4 /* 41B770 802A69E0 3C01802B */ lui $at, 0x802b /* 41B774 802A69E4 AC22CC6C */ sw $v0, -0x3394($at) -/* 41B778 802A69E8 080A9FE1 */ j func_802A7F84 +/* 41B778 802A69E8 080A9FE1 */ j .L802A7F84 /* 41B77C 802A69EC 24020001 */ addiu $v0, $zero, 1 .L802A69F0: @@ -6304,7 +6294,7 @@ func_802A66B0: /* 41B7EC 802A6A5C 9042D603 */ lbu $v0, -0x29fd($v0) /* 41B7F0 802A6A60 14640003 */ bne $v1, $a0, .L802A6A70 /* 41B7F4 802A6A64 A2C2004F */ sb $v0, 0x4f($s6) -/* 41B7F8 802A6A68 080A9FE1 */ j func_802A7F84 +/* 41B7F8 802A6A68 080A9FE1 */ j .L802A7F84 /* 41B7FC 802A6A6C 24020014 */ addiu $v0, $zero, 0x14 .L802A6A70: @@ -6312,7 +6302,7 @@ func_802A66B0: /* 41B804 802A6A74 00000000 */ nop /* 41B808 802A6A78 0C0A840C */ jal func_802A1030 /* 41B80C 802A6A7C 00000000 */ nop -/* 41B810 802A6A80 080AA04F */ j func_802A813C +/* 41B810 802A6A80 080AA04F */ j .L802A813C /* 41B814 802A6A84 24020003 */ addiu $v0, $zero, 3 /* 41B818 802A6A88 0C0A8B21 */ jal func_802A2C84 @@ -6327,7 +6317,7 @@ func_802A66B0: /* 41B83C 802A6AAC 00000000 */ nop /* 41B840 802A6AB0 0C0A8426 */ jal func_802A1098 /* 41B844 802A6AB4 00000000 */ nop -/* 41B848 802A6AB8 080AA04F */ j func_802A813C +/* 41B848 802A6AB8 080AA04F */ j .L802A813C /* 41B84C 802A6ABC 24020004 */ addiu $v0, $zero, 4 .L802A6AC0: @@ -6360,30 +6350,30 @@ func_802A66B0: /* 41B8B8 802A6B28 24020004 */ addiu $v0, $zero, 4 /* 41B8BC 802A6B2C 12000007 */ beqz $s0, .L802A6B4C /* 41B8C0 802A6B30 24040011 */ addiu $a0, $zero, 0x11 -/* 41B8C4 802A6B34 080AA051 */ j func_802A8144 +/* 41B8C4 802A6B34 080AA051 */ j .L802A8144 /* 41B8C8 802A6B38 00000000 */ nop .L802A6B3C: /* 41B8CC 802A6B3C 1202000F */ beq $s0, $v0, .L802A6B7C /* 41B8D0 802A6B40 00000000 */ nop -/* 41B8D4 802A6B44 080AA051 */ j func_802A8144 +/* 41B8D4 802A6B44 080AA051 */ j .L802A8144 /* 41B8D8 802A6B48 00000000 */ nop .L802A6B4C: /* 41B8DC 802A6B4C 92A20000 */ lbu $v0, ($s5) -/* 41B8E0 802A6B50 080A9AD9 */ j func_802A6B64 +/* 41B8E0 802A6B50 080A9AD9 */ j .L802A6B64 /* 41B8E4 802A6B54 A2C00178 */ sb $zero, 0x178($s6) .L802A6B58: /* 41B8E8 802A6B58 92A20001 */ lbu $v0, 1($s5) /* 41B8EC 802A6B5C 24040011 */ addiu $a0, $zero, 0x11 /* 41B8F0 802A6B60 A2D00178 */ sb $s0, 0x178($s6) -func_802A6B64: +.L802A6B64: /* 41B8F4 802A6B64 00021600 */ sll $v0, $v0, 0x18 /* 41B8F8 802A6B68 00021603 */ sra $v0, $v0, 0x18 /* 41B8FC 802A6B6C 0C090464 */ jal func_80241190 /* 41B900 802A6B70 A6C2017A */ sh $v0, 0x17a($s6) -/* 41B904 802A6B74 080AA051 */ j func_802A8144 +/* 41B904 802A6B74 080AA051 */ j .L802A8144 /* 41B908 802A6B78 00000000 */ nop .L802A6B7C: @@ -6392,7 +6382,7 @@ func_802A6B64: /* 41B914 802A6B84 AC22C4DC */ sw $v0, -0x3b24($at) /* 41B918 802A6B88 0C0A9662 */ jal update_player_menu /* 41B91C 802A6B8C 00000000 */ nop -/* 41B920 802A6B90 080A9F69 */ j func_802A7DA4 +/* 41B920 802A6B90 080A9F69 */ j .L802A7DA4 /* 41B924 802A6B94 24040019 */ addiu $a0, $zero, 0x19 /* 41B928 802A6B98 0C0A8B21 */ jal func_802A2C84 @@ -6401,14 +6391,14 @@ func_802A6B64: /* 41B934 802A6BA4 00000000 */ nop /* 41B938 802A6BA8 10400566 */ beqz $v0, .L802A8144 /* 41B93C 802A6BAC 24020002 */ addiu $v0, $zero, 2 -/* 41B940 802A6BB0 080AA04F */ j func_802A813C +/* 41B940 802A6BB0 080AA04F */ j .L802A813C /* 41B944 802A6BB4 00000000 */ nop /* 41B948 802A6BB8 0C0A8AAE */ jal func_802A2AB8 /* 41B94C 802A6BBC 00000000 */ nop /* 41B950 802A6BC0 0C0A8426 */ jal func_802A1098 /* 41B954 802A6BC4 00000000 */ nop -/* 41B958 802A6BC8 080AA04F */ j func_802A813C +/* 41B958 802A6BC8 080AA04F */ j .L802A813C /* 41B95C 802A6BCC 24020004 */ addiu $v0, $zero, 4 /* 41B960 802A6BD0 0C0A8B21 */ jal func_802A2C84 @@ -6416,7 +6406,7 @@ func_802A6B64: /* 41B968 802A6BD8 2403FFFF */ addiu $v1, $zero, -1 /* 41B96C 802A6BDC 10430559 */ beq $v0, $v1, .L802A8144 /* 41B970 802A6BE0 24020002 */ addiu $v0, $zero, 2 -/* 41B974 802A6BE4 080AA04F */ j func_802A813C +/* 41B974 802A6BE4 080AA04F */ j .L802A813C /* 41B978 802A6BE8 00000000 */ nop /* 41B97C 802A6BEC 3C02800E */ lui $v0, 0x800e @@ -6425,20 +6415,20 @@ func_802A6B64: /* 41B988 802A6BF8 10400004 */ beqz $v0, .L802A6C0C /* 41B98C 802A6BFC 24040050 */ addiu $a0, $zero, 0x50 /* 41B990 802A6C00 2405003C */ addiu $a1, $zero, 0x3c -/* 41B994 802A6C04 080A9B06 */ j func_802A6C18 +/* 41B994 802A6C04 080A9B06 */ j .L802A6C18 /* 41B998 802A6C08 0000302D */ daddu $a2, $zero, $zero .L802A6C0C: /* 41B99C 802A6C0C 24040051 */ addiu $a0, $zero, 0x51 /* 41B9A0 802A6C10 82A60012 */ lb $a2, 0x12($s5) /* 41B9A4 802A6C14 2405003C */ addiu $a1, $zero, 0x3c -func_802A6C18: +.L802A6C18: /* 41B9A8 802A6C18 0C093E81 */ jal show_variable_battle_message /* 41B9AC 802A6C1C 00000000 */ nop /* 41B9B0 802A6C20 24020001 */ addiu $v0, $zero, 1 /* 41B9B4 802A6C24 3C01802B */ lui $at, 0x802b /* 41B9B8 802A6C28 A022D607 */ sb $v0, -0x29f9($at) -/* 41B9BC 802A6C2C 080AA04F */ j func_802A813C +/* 41B9BC 802A6C2C 080AA04F */ j .L802A813C /* 41B9C0 802A6C30 24020009 */ addiu $v0, $zero, 9 /* 41B9C4 802A6C34 0C093EAD */ jal is_popup_displayed @@ -6451,12 +6441,12 @@ func_802A6C18: /* 41B9E0 802A6C50 A020D607 */ sb $zero, -0x29f9($at) /* 41B9E4 802A6C54 3C01802B */ lui $at, 0x802b /* 41B9E8 802A6C58 AC20CC60 */ sw $zero, -0x33a0($at) -/* 41B9EC 802A6C5C 080AA04F */ j func_802A813C +/* 41B9EC 802A6C5C 080AA04F */ j .L802A813C /* 41B9F0 802A6C60 24020001 */ addiu $v0, $zero, 1 /* 41B9F4 802A6C64 0C0A840C */ jal func_802A1030 /* 41B9F8 802A6C68 00000000 */ nop -/* 41B9FC 802A6C6C 080AA04F */ j func_802A813C +/* 41B9FC 802A6C6C 080AA04F */ j .L802A813C /* 41BA00 802A6C70 2402000B */ addiu $v0, $zero, 0xb /* 41BA04 802A6C74 0C0A846C */ jal func_802A11B0 @@ -6469,7 +6459,7 @@ func_802A6C18: /* 41BA20 802A6C90 00000000 */ nop /* 41BA24 802A6C94 0C0A841E */ jal func_802A1078 /* 41BA28 802A6C98 00000000 */ nop -/* 41BA2C 802A6C9C 080AA04F */ j func_802A813C +/* 41BA2C 802A6C9C 080AA04F */ j .L802A813C /* 41BA30 802A6CA0 2402000C */ addiu $v0, $zero, 0xc .L802A6CA4: @@ -6485,7 +6475,7 @@ func_802A6C18: /* 41BA54 802A6CC4 24020001 */ addiu $v0, $zero, 1 /* 41BA58 802A6CC8 1082000C */ beq $a0, $v0, .L802A6CFC /* 41BA5C 802A6CCC 00000000 */ nop -/* 41BA60 802A6CD0 080A9B56 */ j func_802A6D58 +/* 41BA60 802A6CD0 080A9B56 */ j .L802A6D58 /* 41BA64 802A6CD4 00000000 */ nop .L802A6CD8: @@ -6496,7 +6486,7 @@ func_802A6C18: /* 41BA78 802A6CE8 00031E03 */ sra $v1, $v1, 0x18 /* 41BA7C 802A6CEC 00021600 */ sll $v0, $v0, 0x18 /* 41BA80 802A6CF0 00021603 */ sra $v0, $v0, 0x18 -/* 41BA84 802A6CF4 080A9B47 */ j func_802A6D1C +/* 41BA84 802A6CF4 080A9B47 */ j .L802A6D1C /* 41BA88 802A6CF8 2442001A */ addiu $v0, $v0, 0x1a .L802A6CFC: @@ -6508,7 +6498,7 @@ func_802A6C18: /* 41BAA0 802A6D10 00021600 */ sll $v0, $v0, 0x18 /* 41BAA4 802A6D14 00021603 */ sra $v0, $v0, 0x18 /* 41BAA8 802A6D18 24420003 */ addiu $v0, $v0, 3 -func_802A6D1C: +.L802A6D1C: /* 41BAAC 802A6D1C A6C2017C */ sh $v0, 0x17c($s6) /* 41BAB0 802A6D20 00021400 */ sll $v0, $v0, 0x10 /* 41BAB4 802A6D24 00021403 */ sra $v0, $v0, 0x10 @@ -6522,10 +6512,10 @@ func_802A6D1C: /* 41BAD4 802A6D44 24040011 */ addiu $a0, $zero, 0x11 /* 41BAD8 802A6D48 0C090464 */ jal func_80241190 /* 41BADC 802A6D4C AEC20184 */ sw $v0, 0x184($s6) -/* 41BAE0 802A6D50 080AA051 */ j func_802A8144 +/* 41BAE0 802A6D50 080AA051 */ j .L802A8144 /* 41BAE4 802A6D54 00000000 */ nop -func_802A6D58: +.L802A6D58: /* 41BAE8 802A6D58 0C0A846C */ jal func_802A11B0 /* 41BAEC 802A6D5C 00000000 */ nop /* 41BAF0 802A6D60 104004F8 */ beqz $v0, .L802A8144 @@ -6535,12 +6525,12 @@ func_802A6D58: /* 41BB00 802A6D70 24020004 */ addiu $v0, $zero, 4 /* 41BB04 802A6D74 3C01802B */ lui $at, 0x802b /* 41BB08 802A6D78 AC22CC6C */ sw $v0, -0x3394($at) -/* 41BB0C 802A6D7C 080AA04F */ j func_802A813C +/* 41BB0C 802A6D7C 080AA04F */ j .L802A813C /* 41BB10 802A6D80 24020001 */ addiu $v0, $zero, 1 /* 41BB14 802A6D84 0C0A841E */ jal func_802A1078 /* 41BB18 802A6D88 00000000 */ nop -/* 41BB1C 802A6D8C 080AA04F */ j func_802A813C +/* 41BB1C 802A6D8C 080AA04F */ j .L802A813C /* 41BB20 802A6D90 2402000C */ addiu $v0, $zero, 0xc /* 41BB24 802A6D94 86C3017C */ lh $v1, 0x17c($s6) @@ -6648,7 +6638,7 @@ func_802A6D58: /* 41BC98 802A6F08 AC9E0328 */ sw $fp, 0x328($a0) /* 41BC9C 802A6F0C 0C03D4AF */ jal func_800F52BC /* 41BCA0 802A6F10 00000000 */ nop -/* 41BCA4 802A6F14 080AA04F */ j func_802A813C +/* 41BCA4 802A6F14 080AA04F */ j .L802A813C /* 41BCA8 802A6F18 24020015 */ addiu $v0, $zero, 0x15 /* 41BCAC 802A6F1C 3C03802B */ lui $v1, 0x802b @@ -6661,7 +6651,7 @@ func_802A6D58: /* 41BCC8 802A6F38 00000000 */ nop /* 41BCCC 802A6F3C 24020002 */ addiu $v0, $zero, 2 /* 41BCD0 802A6F40 A6C0017C */ sh $zero, 0x17c($s6) -/* 41BCD4 802A6F44 080A9FE1 */ j func_802A7F84 +/* 41BCD4 802A6F44 080A9FE1 */ j .L802A7F84 /* 41BCD8 802A6F48 A2C00088 */ sb $zero, 0x88($s6) .L802A6F4C: @@ -6697,7 +6687,7 @@ func_802A6D58: /* 41BD50 802A6FC0 00000000 */ nop /* 41BD54 802A6FC4 0C0A840C */ jal func_802A1030 /* 41BD58 802A6FC8 00000000 */ nop -/* 41BD5C 802A6FCC 080AA04F */ j func_802A813C +/* 41BD5C 802A6FCC 080AA04F */ j .L802A813C /* 41BD60 802A6FD0 24020016 */ addiu $v0, $zero, 0x16 /* 41BD64 802A6FD4 8EC20214 */ lw $v0, 0x214($s6) @@ -6715,7 +6705,7 @@ func_802A6D58: /* 41BD94 802A7004 0C0A8426 */ jal func_802A1098 /* 41BD98 802A7008 00000000 */ nop /* 41BD9C 802A700C 24020017 */ addiu $v0, $zero, 0x17 -/* 41BDA0 802A7010 080AA04F */ j func_802A813C +/* 41BDA0 802A7010 080AA04F */ j .L802A813C /* 41BDA4 802A7014 A6C0017C */ sh $zero, 0x17c($s6) .L802A7018: @@ -6726,7 +6716,7 @@ func_802A6D58: /* 41BDB4 802A7024 00000000 */ nop /* 41BDB8 802A7028 10400446 */ beqz $v0, .L802A8144 /* 41BDBC 802A702C 00000000 */ nop -/* 41BDC0 802A7030 080A9E2B */ j func_802A78AC +/* 41BDC0 802A7030 080A9E2B */ j .L802A78AC /* 41BDC4 802A7034 00000000 */ nop /* 41BDC8 802A7038 0C0A8B21 */ jal func_802A2C84 @@ -6735,7 +6725,7 @@ func_802A6D58: /* 41BDD4 802A7044 00000000 */ nop /* 41BDD8 802A7048 1040043E */ beqz $v0, .L802A8144 /* 41BDDC 802A704C 24020015 */ addiu $v0, $zero, 0x15 -/* 41BDE0 802A7050 080AA04F */ j func_802A813C +/* 41BDE0 802A7050 080AA04F */ j .L802A813C /* 41BDE4 802A7054 00000000 */ nop /* 41BDE8 802A7058 0C03C5B3 */ jal func_800F16CC @@ -6746,12 +6736,12 @@ func_802A6D58: /* 41BDFC 802A706C 00000000 */ nop /* 41BE00 802A7070 0C0A8B21 */ jal func_802A2C84 /* 41BE04 802A7074 00000000 */ nop -/* 41BE08 802A7078 080AA04F */ j func_802A813C +/* 41BE08 802A7078 080AA04F */ j .L802A813C /* 41BE0C 802A707C 24020017 */ addiu $v0, $zero, 0x17 /* 41BE10 802A7080 0C03C54E */ jal func_800F1538 /* 41BE14 802A7084 00000000 */ nop -/* 41BE18 802A7088 080A9D8B */ j func_802A762C +/* 41BE18 802A7088 080A9D8B */ j .L802A762C /* 41BE1C 802A708C 00000000 */ nop /* 41BE20 802A7090 0000A02D */ daddu $s4, $zero, $zero @@ -6823,7 +6813,7 @@ func_802A6D58: /* 41BF14 802A7184 AC9E0328 */ sw $fp, 0x328($a0) /* 41BF18 802A7188 0C03D4AF */ jal func_800F52BC /* 41BF1C 802A718C 00000000 */ nop -/* 41BF20 802A7190 080AA04F */ j func_802A813C +/* 41BF20 802A7190 080AA04F */ j .L802A813C /* 41BF24 802A7194 24020029 */ addiu $v0, $zero, 0x29 /* 41BF28 802A7198 3C03802B */ lui $v1, 0x802b @@ -6840,7 +6830,7 @@ func_802A6D58: /* 41BF54 802A71C4 24020004 */ addiu $v0, $zero, 4 /* 41BF58 802A71C8 3C01802B */ lui $at, 0x802b /* 41BF5C 802A71CC AC22CC6C */ sw $v0, -0x3394($at) -/* 41BF60 802A71D0 080A9FE1 */ j func_802A7F84 +/* 41BF60 802A71D0 080A9FE1 */ j .L802A7F84 /* 41BF64 802A71D4 24020001 */ addiu $v0, $zero, 1 .L802A71D8: @@ -6877,7 +6867,7 @@ func_802A6D58: /* 41BFE0 802A7250 AEC30184 */ sw $v1, 0x184($s6) /* 41BFE4 802A7254 0C0A840C */ jal func_802A1030 /* 41BFE8 802A7258 00000000 */ nop -/* 41BFEC 802A725C 080AA04F */ j func_802A813C +/* 41BFEC 802A725C 080AA04F */ j .L802A813C /* 41BFF0 802A7260 2402002A */ addiu $v0, $zero, 0x2a /* 41BFF4 802A7264 8EC20214 */ lw $v0, 0x214($s6) @@ -6892,29 +6882,29 @@ func_802A6D58: /* 41C018 802A7288 00000000 */ nop /* 41C01C 802A728C 0C0A8426 */ jal func_802A1098 /* 41C020 802A7290 00000000 */ nop -/* 41C024 802A7294 080AA04F */ j func_802A813C +/* 41C024 802A7294 080AA04F */ j .L802A813C /* 41C028 802A7298 2402002B */ addiu $v0, $zero, 0x2b /* 41C02C 802A729C 0C0A846C */ jal func_802A11B0 /* 41C030 802A72A0 00000000 */ nop /* 41C034 802A72A4 104003A7 */ beqz $v0, .L802A8144 /* 41C038 802A72A8 24020029 */ addiu $v0, $zero, 0x29 -/* 41C03C 802A72AC 080AA04F */ j func_802A813C +/* 41C03C 802A72AC 080AA04F */ j .L802A813C /* 41C040 802A72B0 00000000 */ nop /* 41C044 802A72B4 0C03C5B3 */ jal func_800F16CC /* 41C048 802A72B8 00000000 */ nop /* 41C04C 802A72BC 0C0A8426 */ jal func_802A1098 /* 41C050 802A72C0 00000000 */ nop -/* 41C054 802A72C4 080AA04F */ j func_802A813C +/* 41C054 802A72C4 080AA04F */ j .L802A813C /* 41C058 802A72C8 2402002B */ addiu $v0, $zero, 0x2b /* 41C05C 802A72CC 0C03C54E */ jal func_800F1538 /* 41C060 802A72D0 00000000 */ nop -func_802A72D4: +.L802A72D4: /* 41C064 802A72D4 0C0A842E */ jal func_802A10B8 /* 41C068 802A72D8 00000000 */ nop -/* 41C06C 802A72DC 080AA051 */ j func_802A8144 +/* 41C06C 802A72DC 080AA051 */ j .L802A8144 /* 41C070 802A72E0 00000000 */ nop /* 41C074 802A72E4 92C2020E */ lbu $v0, 0x20e($s6) @@ -7035,7 +7025,7 @@ func_802A72D4: /* 41C220 802A7490 AC3ED4A8 */ sw $fp, -0x2b58($at) /* 41C224 802A7494 0C0A89A1 */ jal func_802A2684 /* 41C228 802A7498 00000000 */ nop -/* 41C22C 802A749C 080AA04F */ j func_802A813C +/* 41C22C 802A749C 080AA04F */ j .L802A813C /* 41C230 802A74A0 2402003D */ addiu $v0, $zero, 0x3d /* 41C234 802A74A4 0C0A8B21 */ jal func_802A2C84 @@ -7056,7 +7046,7 @@ func_802A72D4: /* 41C270 802A74E0 24020004 */ addiu $v0, $zero, 4 /* 41C274 802A74E4 3C01802B */ lui $at, 0x802b /* 41C278 802A74E8 AC22CC6C */ sw $v0, -0x3394($at) -/* 41C27C 802A74EC 080A9FE1 */ j func_802A7F84 +/* 41C27C 802A74EC 080A9FE1 */ j .L802A7F84 /* 41C280 802A74F0 24020001 */ addiu $v0, $zero, 1 .L802A74F4: @@ -7071,7 +7061,7 @@ func_802A72D4: /* 41C2A4 802A7514 A2C30052 */ sb $v1, 0x52($s6) /* 41C2A8 802A7518 0C0A840C */ jal func_802A1030 /* 41C2AC 802A751C 00000000 */ nop -/* 41C2B0 802A7520 080AA04F */ j func_802A813C +/* 41C2B0 802A7520 080AA04F */ j .L802A813C /* 41C2B4 802A7524 2402003E */ addiu $v0, $zero, 0x3e /* 41C2B8 802A7528 0C0A8B21 */ jal func_802A2C84 @@ -7086,7 +7076,7 @@ func_802A72D4: /* 41C2DC 802A754C 00000000 */ nop /* 41C2E0 802A7550 0C0A8426 */ jal func_802A1098 /* 41C2E4 802A7554 00000000 */ nop -/* 41C2E8 802A7558 080AA04F */ j func_802A813C +/* 41C2E8 802A7558 080AA04F */ j .L802A813C /* 41C2EC 802A755C 2402003F */ addiu $v0, $zero, 0x3f .L802A7560: @@ -7125,7 +7115,7 @@ func_802A72D4: /* 41C370 802A75E0 24030008 */ addiu $v1, $zero, 8 /* 41C374 802A75E4 144300B1 */ bne $v0, $v1, .L802A78AC /* 41C378 802A75E8 24820001 */ addiu $v0, $a0, 1 -/* 41C37C 802A75EC 080A9E2B */ j func_802A78AC +/* 41C37C 802A75EC 080A9E2B */ j .L802A78AC /* 41C380 802A75F0 A6C2017A */ sh $v0, 0x17a($s6) /* 41C384 802A75F4 0C0A8B21 */ jal func_802A2C84 @@ -7134,20 +7124,20 @@ func_802A72D4: /* 41C390 802A7600 00000000 */ nop /* 41C394 802A7604 104002CF */ beqz $v0, .L802A8144 /* 41C398 802A7608 2402003D */ addiu $v0, $zero, 0x3d -/* 41C39C 802A760C 080AA04F */ j func_802A813C +/* 41C39C 802A760C 080AA04F */ j .L802A813C /* 41C3A0 802A7610 00000000 */ nop /* 41C3A4 802A7614 0C0A8AAE */ jal func_802A2AB8 /* 41C3A8 802A7618 00000000 */ nop /* 41C3AC 802A761C 0C0A8426 */ jal func_802A1098 /* 41C3B0 802A7620 00000000 */ nop -/* 41C3B4 802A7624 080AA04F */ j func_802A813C +/* 41C3B4 802A7624 080AA04F */ j .L802A813C /* 41C3B8 802A7628 2402003F */ addiu $v0, $zero, 0x3f -func_802A762C: +.L802A762C: /* 41C3BC 802A762C 0C0A89F9 */ jal func_802A27E4 /* 41C3C0 802A7630 00000000 */ nop -/* 41C3C4 802A7634 080A9CB5 */ j func_802A72D4 +/* 41C3C4 802A7634 080A9CB5 */ j .L802A72D4 /* 41C3C8 802A7638 00000000 */ nop /* 41C3CC 802A763C 0C0A8B21 */ jal func_802A2C84 @@ -7155,7 +7145,7 @@ func_802A762C: /* 41C3D4 802A7644 2403FFFF */ addiu $v1, $zero, -1 /* 41C3D8 802A7648 104302BE */ beq $v0, $v1, .L802A8144 /* 41C3DC 802A764C 2402003D */ addiu $v0, $zero, 0x3d -/* 41C3E0 802A7650 080AA04F */ j func_802A813C +/* 41C3E0 802A7650 080AA04F */ j .L802A813C /* 41C3E4 802A7654 00000000 */ nop /* 41C3E8 802A7658 0C0A9606 */ jal can_switch_to_player @@ -7163,7 +7153,7 @@ func_802A762C: /* 41C3F0 802A7660 14400004 */ bnez $v0, .L802A7674 /* 41C3F4 802A7664 0000A02D */ daddu $s4, $zero, $zero /* 41C3F8 802A7668 24020001 */ addiu $v0, $zero, 1 -/* 41C3FC 802A766C 080A9F5D */ j func_802A7D74 +/* 41C3FC 802A766C 080A9F5D */ j .L802A7D74 /* 41C400 802A7670 A2C20088 */ sb $v0, 0x88($s6) .L802A7674: @@ -7223,7 +7213,7 @@ func_802A762C: /* 41C4C8 802A7738 16800004 */ bnez $s4, .L802A774C /* 41C4CC 802A773C 24020035 */ addiu $v0, $zero, 0x35 /* 41C4D0 802A7740 24020001 */ addiu $v0, $zero, 1 -/* 41C4D4 802A7744 080A9F5D */ j func_802A7D74 +/* 41C4D4 802A7744 080A9F5D */ j .L802A7D74 /* 41C4D8 802A7748 A2C20088 */ sb $v0, 0x88($s6) .L802A774C: @@ -7269,7 +7259,7 @@ func_802A762C: /* 41C56C 802A77DC AC9E0328 */ sw $fp, 0x328($a0) /* 41C570 802A77E0 0C03D4AF */ jal func_800F52BC /* 41C574 802A77E4 00000000 */ nop -/* 41C578 802A77E8 080AA04F */ j func_802A813C +/* 41C578 802A77E8 080AA04F */ j .L802A813C /* 41C57C 802A77EC 24020047 */ addiu $v0, $zero, 0x47 /* 41C580 802A77F0 3C03802B */ lui $v1, 0x802b @@ -7279,7 +7269,7 @@ func_802A762C: /* 41C590 802A7800 14620004 */ bne $v1, $v0, .L802A7814 /* 41C594 802A7804 2402004A */ addiu $v0, $zero, 0x4a /* 41C598 802A7808 24020001 */ addiu $v0, $zero, 1 -/* 41C59C 802A780C 080A9F5D */ j func_802A7D74 +/* 41C59C 802A780C 080A9F5D */ j .L802A7D74 /* 41C5A0 802A7810 A2C20088 */ sb $v0, 0x88($s6) .L802A7814: @@ -7314,7 +7304,7 @@ func_802A762C: /* 41C614 802A7884 24020005 */ addiu $v0, $zero, 5 /* 41C618 802A7888 3C01802B */ lui $at, 0x802b /* 41C61C 802A788C AC22CC60 */ sw $v0, -0x33a0($at) -/* 41C620 802A7890 080AA04F */ j func_802A813C +/* 41C620 802A7890 080AA04F */ j .L802A813C /* 41C624 802A7894 24020048 */ addiu $v0, $zero, 0x48 /* 41C628 802A7898 3C03802B */ lui $v1, 0x802b @@ -7322,11 +7312,10 @@ func_802A762C: /* 41C630 802A78A0 8C620000 */ lw $v0, ($v1) /* 41C634 802A78A4 1440000A */ bnez $v0, .L802A78D0 /* 41C638 802A78A8 2442FFFF */ addiu $v0, $v0, -1 -func_802A78AC: .L802A78AC: /* 41C63C 802A78AC 0C090464 */ jal func_80241190 /* 41C640 802A78B0 24040011 */ addiu $a0, $zero, 0x11 -/* 41C644 802A78B4 080AA051 */ j func_802A8144 +/* 41C644 802A78B4 080AA051 */ j .L802A8144 /* 41C648 802A78B8 00000000 */ nop /* 41C64C 802A78BC 3C03802B */ lui $v1, 0x802b @@ -7335,11 +7324,11 @@ func_802A78AC: /* 41C658 802A78C8 10400003 */ beqz $v0, .L802A78D8 /* 41C65C 802A78CC 2442FFFF */ addiu $v0, $v0, -1 .L802A78D0: -/* 41C660 802A78D0 080AA051 */ j func_802A8144 +/* 41C660 802A78D0 080AA051 */ j .L802A8144 /* 41C664 802A78D4 AC620000 */ sw $v0, ($v1) .L802A78D8: -/* 41C668 802A78D8 080AA04F */ j func_802A813C +/* 41C668 802A78D8 080AA04F */ j .L802A813C /* 41C66C 802A78DC 24020047 */ addiu $v0, $zero, 0x47 /* 41C670 802A78E0 0C03C5B3 */ jal func_800F16CC @@ -7347,12 +7336,12 @@ func_802A78AC: /* 41C678 802A78E8 24020005 */ addiu $v0, $zero, 5 /* 41C67C 802A78EC 3C01802B */ lui $at, 0x802b /* 41C680 802A78F0 AC22CC60 */ sw $v0, -0x33a0($at) -/* 41C684 802A78F4 080AA04F */ j func_802A813C +/* 41C684 802A78F4 080AA04F */ j .L802A813C /* 41C688 802A78F8 24020049 */ addiu $v0, $zero, 0x49 /* 41C68C 802A78FC 0C03C54E */ jal func_800F1538 /* 41C690 802A7900 00000000 */ nop -/* 41C694 802A7904 080AA051 */ j func_802A8144 +/* 41C694 802A7904 080AA051 */ j .L802A8144 /* 41C698 802A7908 00000000 */ nop /* 41C69C 802A790C 82A20000 */ lb $v0, ($s5) @@ -7363,12 +7352,12 @@ func_802A78AC: /* 41C6B0 802A7920 0C098C0B */ jal player_create_target_list /* 41C6B4 802A7924 AEC20184 */ sw $v0, 0x184($s6) /* 41C6B8 802A7928 82F1040C */ lb $s1, 0x40c($s7) -/* 41C6BC 802A792C 080A9E4E */ j func_802A7938 +/* 41C6BC 802A792C 080A9E4E */ j .L802A7938 /* 41C6C0 802A7930 00000000 */ nop .L802A7934: /* 41C6C4 802A7934 0000882D */ daddu $s1, $zero, $zero -func_802A7938: +.L802A7938: /* 41C6C8 802A7938 82A20001 */ lb $v0, 1($s5) /* 41C6CC 802A793C 04400008 */ bltz $v0, .L802A7960 /* 41C6D0 802A7940 02E0202D */ daddu $a0, $s7, $zero @@ -7377,12 +7366,12 @@ func_802A7938: /* 41C6DC 802A794C 0C098C0B */ jal player_create_target_list /* 41C6E0 802A7950 AEC20184 */ sw $v0, 0x184($s6) /* 41C6E4 802A7954 82E2040C */ lb $v0, 0x40c($s7) -/* 41C6E8 802A7958 080A9E59 */ j func_802A7964 +/* 41C6E8 802A7958 080A9E59 */ j .L802A7964 /* 41C6EC 802A795C 00000000 */ nop .L802A7960: /* 41C6F0 802A7960 0000102D */ daddu $v0, $zero, $zero -func_802A7964: +.L802A7964: /* 41C6F4 802A7964 1E200009 */ bgtz $s1, .L802A798C /* 41C6F8 802A7968 00000000 */ nop /* 41C6FC 802A796C 1C400007 */ bgtz $v0, .L802A798C @@ -7391,7 +7380,7 @@ func_802A7964: /* 41C708 802A7978 A2C20178 */ sb $v0, 0x178($s6) /* 41C70C 802A797C 0C090464 */ jal func_80241190 /* 41C710 802A7980 A2C00095 */ sb $zero, 0x95($s6) -/* 41C714 802A7984 080AA051 */ j func_802A8144 +/* 41C714 802A7984 080AA051 */ j .L802A8144 /* 41C718 802A7988 00000000 */ nop .L802A798C: @@ -7416,7 +7405,7 @@ func_802A7964: /* 41C75C 802A79CC 00021600 */ sll $v0, $v0, 0x18 /* 41C760 802A79D0 00021603 */ sra $v0, $v0, 0x18 /* 41C764 802A79D4 AEC30184 */ sw $v1, 0x184($s6) -/* 41C768 802A79D8 080A9E83 */ j func_802A7A0C +/* 41C768 802A79D8 080A9E83 */ j .L802A7A0C /* 41C76C 802A79DC A6C2017A */ sh $v0, 0x17a($s6) .L802A79E0: @@ -7431,12 +7420,12 @@ func_802A7964: /* 41C790 802A7A00 00031E03 */ sra $v1, $v1, 0x18 /* 41C794 802A7A04 AEC20184 */ sw $v0, 0x184($s6) /* 41C798 802A7A08 A6C3017A */ sh $v1, 0x17a($s6) -func_802A7A0C: +.L802A7A0C: /* 41C79C 802A7A0C 0C098C0B */ jal player_create_target_list /* 41C7A0 802A7A10 00000000 */ nop /* 41C7A4 802A7A14 0C090464 */ jal func_80241190 /* 41C7A8 802A7A18 24040012 */ addiu $a0, $zero, 0x12 -/* 41C7AC 802A7A1C 080AA051 */ j func_802A8144 +/* 41C7AC 802A7A1C 080AA051 */ j .L802A8144 /* 41C7B0 802A7A20 00000000 */ nop /* 41C7B4 802A7A24 0C098C9A */ jal func_80263268 @@ -7555,7 +7544,7 @@ func_802A7A0C: /* 41C968 802A7BD8 AC3ED670 */ sw $fp, -0x2990($at) /* 41C96C 802A7BDC 0C0A9176 */ jal func_802A45D8 /* 41C970 802A7BE0 00000000 */ nop -/* 41C974 802A7BE4 080AA04F */ j func_802A813C +/* 41C974 802A7BE4 080AA04F */ j .L802A813C /* 41C978 802A7BE8 240200C9 */ addiu $v0, $zero, 0xc9 /* 41C97C 802A7BEC 0C0A9295 */ jal func_802A4A54 @@ -7576,7 +7565,7 @@ func_802A7A0C: /* 41C9B8 802A7C28 24020004 */ addiu $v0, $zero, 4 /* 41C9BC 802A7C2C 3C01802B */ lui $at, 0x802b /* 41C9C0 802A7C30 AC22CC6C */ sw $v0, -0x3394($at) -/* 41C9C4 802A7C34 080A9FE1 */ j func_802A7F84 +/* 41C9C4 802A7C34 080A9FE1 */ j .L802A7F84 /* 41C9C8 802A7C38 24020001 */ addiu $v0, $zero, 1 .L802A7C3C: @@ -7594,7 +7583,7 @@ func_802A7A0C: /* 41C9F8 802A7C68 00000000 */ nop /* 41C9FC 802A7C6C 0C0A840C */ jal func_802A1030 /* 41CA00 802A7C70 00000000 */ nop -/* 41CA04 802A7C74 080AA04F */ j func_802A813C +/* 41CA04 802A7C74 080AA04F */ j .L802A813C /* 41CA08 802A7C78 240200CA */ addiu $v0, $zero, 0xca /* 41CA0C 802A7C7C 0C0A9295 */ jal func_802A4A54 @@ -7609,7 +7598,7 @@ func_802A7A0C: /* 41CA30 802A7CA0 00000000 */ nop /* 41CA34 802A7CA4 0C0A8426 */ jal func_802A1098 /* 41CA38 802A7CA8 00000000 */ nop -/* 41CA3C 802A7CAC 080AA04F */ j func_802A813C +/* 41CA3C 802A7CAC 080AA04F */ j .L802A813C /* 41CA40 802A7CB0 240200CB */ addiu $v0, $zero, 0xcb .L802A7CB4: @@ -7628,7 +7617,7 @@ func_802A7A0C: /* 41CA74 802A7CE4 24020003 */ addiu $v0, $zero, 3 /* 41CA78 802A7CE8 1202000A */ beq $s0, $v0, .L802A7D14 /* 41CA7C 802A7CEC 240200CD */ addiu $v0, $zero, 0xcd -/* 41CA80 802A7CF0 080AA051 */ j func_802A8144 +/* 41CA80 802A7CF0 080AA051 */ j .L802A8144 /* 41CA84 802A7CF4 00000000 */ nop .L802A7CF8: @@ -7637,7 +7626,7 @@ func_802A7A0C: /* 41CA90 802A7D00 2402000A */ addiu $v0, $zero, 0xa /* 41CA94 802A7D04 1202002B */ beq $s0, $v0, .L802A7DB4 /* 41CA98 802A7D08 240200CD */ addiu $v0, $zero, 0xcd -/* 41CA9C 802A7D0C 080AA051 */ j func_802A8144 +/* 41CA9C 802A7D0C 080AA051 */ j .L802A8144 /* 41CAA0 802A7D10 00000000 */ nop .L802A7D14: @@ -7650,7 +7639,7 @@ func_802A7A0C: /* 41CABC 802A7D2C A2D00178 */ sb $s0, 0x178($s6) /* 41CAC0 802A7D30 0C090464 */ jal func_80241190 /* 41CAC4 802A7D34 A6C2017C */ sh $v0, 0x17c($s6) -/* 41CAC8 802A7D38 080AA051 */ j func_802A8144 +/* 41CAC8 802A7D38 080AA051 */ j .L802A8144 /* 41CACC 802A7D3C 00000000 */ nop .L802A7D40: @@ -7667,11 +7656,10 @@ func_802A7A0C: /* 41CAF8 802A7D68 AC24C4DC */ sw $a0, -0x3b24($at) /* 41CAFC 802A7D6C 0C0A9662 */ jal update_player_menu /* 41CB00 802A7D70 00000000 */ nop -func_802A7D74: .L802A7D74: /* 41CB04 802A7D74 0C090464 */ jal func_80241190 /* 41CB08 802A7D78 24040016 */ addiu $a0, $zero, 0x16 -/* 41CB0C 802A7D7C 080AA051 */ j func_802A8144 +/* 41CB0C 802A7D7C 080AA051 */ j .L802A8144 /* 41CB10 802A7D80 00000000 */ nop .L802A7D84: @@ -7683,10 +7671,10 @@ func_802A7D74: /* 41CB28 802A7D98 24040019 */ addiu $a0, $zero, 0x19 /* 41CB2C 802A7D9C 24020031 */ addiu $v0, $zero, 0x31 /* 41CB30 802A7DA0 A6C2017C */ sh $v0, 0x17c($s6) -func_802A7DA4: +.L802A7DA4: /* 41CB34 802A7DA4 0C090464 */ jal func_80241190 /* 41CB38 802A7DA8 A2D00178 */ sb $s0, 0x178($s6) -/* 41CB3C 802A7DAC 080AA051 */ j func_802A8144 +/* 41CB3C 802A7DAC 080AA051 */ j .L802A8144 /* 41CB40 802A7DB0 00000000 */ nop .L802A7DB4: @@ -7694,10 +7682,10 @@ func_802A7DA4: /* 41CB48 802A7DB8 AC22C4DC */ sw $v0, -0x3b24($at) /* 41CB4C 802A7DBC 0C0A9662 */ jal update_player_menu /* 41CB50 802A7DC0 00000000 */ nop -func_802A7DC4: +.L802A7DC4: /* 41CB54 802A7DC4 0C090464 */ jal func_80241190 /* 41CB58 802A7DC8 2404000B */ addiu $a0, $zero, 0xb -/* 41CB5C 802A7DCC 080AA051 */ j func_802A8144 +/* 41CB5C 802A7DCC 080AA051 */ j .L802A8144 /* 41CB60 802A7DD0 00000000 */ nop /* 41CB64 802A7DD4 0C0A9295 */ jal func_802A4A54 @@ -7711,14 +7699,14 @@ func_802A7DC4: /* 41CB84 802A7DF4 24020004 */ addiu $v0, $zero, 4 /* 41CB88 802A7DF8 3C01802B */ lui $at, 0x802b /* 41CB8C 802A7DFC AC22CC6C */ sw $v0, -0x3394($at) -/* 41CB90 802A7E00 080AA04F */ j func_802A813C +/* 41CB90 802A7E00 080AA04F */ j .L802A813C /* 41CB94 802A7E04 24020001 */ addiu $v0, $zero, 1 /* 41CB98 802A7E08 0C0A923F */ jal func_802A48FC /* 41CB9C 802A7E0C 00000000 */ nop /* 41CBA0 802A7E10 0C0A8426 */ jal func_802A1098 /* 41CBA4 802A7E14 00000000 */ nop -/* 41CBA8 802A7E18 080AA04F */ j func_802A813C +/* 41CBA8 802A7E18 080AA04F */ j .L802A813C /* 41CBAC 802A7E1C 240200CB */ addiu $v0, $zero, 0xcb /* 41CBB0 802A7E20 0C0A9295 */ jal func_802A4A54 @@ -7726,7 +7714,7 @@ func_802A7DC4: /* 41CBB8 802A7E28 2403FFFF */ addiu $v1, $zero, -1 /* 41CBBC 802A7E2C 104300C5 */ beq $v0, $v1, .L802A8144 /* 41CBC0 802A7E30 240200C9 */ addiu $v0, $zero, 0xc9 -/* 41CBC4 802A7E34 080AA04F */ j func_802A813C +/* 41CBC4 802A7E34 080AA04F */ j .L802A813C /* 41CBC8 802A7E38 00000000 */ nop /* 41CBCC 802A7E3C 0000A02D */ daddu $s4, $zero, $zero @@ -7801,7 +7789,7 @@ func_802A7DC4: /* 41CCD0 802A7F40 AC820328 */ sw $v0, 0x328($a0) /* 41CCD4 802A7F44 0C03D4AF */ jal func_800F52BC /* 41CCD8 802A7F48 00000000 */ nop -/* 41CCDC 802A7F4C 080AA04F */ j func_802A813C +/* 41CCDC 802A7F4C 080AA04F */ j .L802A813C /* 41CCE0 802A7F50 2402001F */ addiu $v0, $zero, 0x1f /* 41CCE4 802A7F54 3C03802B */ lui $v1, 0x802b @@ -7816,7 +7804,6 @@ func_802A7DC4: /* 41CD08 802A7F78 0C0A91F8 */ jal func_802A47E0 /* 41CD0C 802A7F7C 00000000 */ nop /* 41CD10 802A7F80 240200C9 */ addiu $v0, $zero, 0xc9 -func_802A7F84: .L802A7F84: /* 41CD14 802A7F84 3C01800E */ lui $at, 0x800e /* 41CD18 802A7F88 AC22C4DC */ sw $v0, -0x3b24($at) @@ -7824,7 +7811,7 @@ func_802A7F84: /* 41CD20 802A7F90 00000000 */ nop /* 41CD24 802A7F94 0C0A9662 */ jal update_player_menu /* 41CD28 802A7F98 00000000 */ nop -/* 41CD2C 802A7F9C 080AA051 */ j func_802A8144 +/* 41CD2C 802A7F9C 080AA051 */ j .L802A8144 /* 41CD30 802A7FA0 00000000 */ nop .L802A7FA4: @@ -7858,7 +7845,7 @@ func_802A7F84: /* 41CDA0 802A8010 00000000 */ nop /* 41CDA4 802A8014 0C0A840C */ jal func_802A1030 /* 41CDA8 802A8018 00000000 */ nop -/* 41CDAC 802A801C 080AA04F */ j func_802A813C +/* 41CDAC 802A801C 080AA04F */ j .L802A813C /* 41CDB0 802A8020 24020020 */ addiu $v0, $zero, 0x20 /* 41CDB4 802A8024 8EC20214 */ lw $v0, 0x214($s6) @@ -7875,7 +7862,7 @@ func_802A7F84: /* 41CDE0 802A8050 00000000 */ nop /* 41CDE4 802A8054 0C0A8426 */ jal func_802A1098 /* 41CDE8 802A8058 00000000 */ nop -/* 41CDEC 802A805C 080AA04F */ j func_802A813C +/* 41CDEC 802A805C 080AA04F */ j .L802A813C /* 41CDF0 802A8060 24020021 */ addiu $v0, $zero, 0x21 .L802A8064: @@ -7892,7 +7879,7 @@ func_802A7F84: /* 41CE1C 802A808C 00000000 */ nop /* 41CE20 802A8090 0C090464 */ jal func_80241190 /* 41CE24 802A8094 2404001D */ addiu $a0, $zero, 0x1d -/* 41CE28 802A8098 080AA051 */ j func_802A8144 +/* 41CE28 802A8098 080AA051 */ j .L802A8144 /* 41CE2C 802A809C 00000000 */ nop /* 41CE30 802A80A0 0C0A9295 */ jal func_802A4A54 @@ -7901,7 +7888,7 @@ func_802A7F84: /* 41CE3C 802A80AC 00000000 */ nop /* 41CE40 802A80B0 10400024 */ beqz $v0, .L802A8144 /* 41CE44 802A80B4 2402001F */ addiu $v0, $zero, 0x1f -/* 41CE48 802A80B8 080AA04F */ j func_802A813C +/* 41CE48 802A80B8 080AA04F */ j .L802A813C /* 41CE4C 802A80BC 00000000 */ nop /* 41CE50 802A80C0 0C03C5B3 */ jal func_800F16CC @@ -7910,14 +7897,14 @@ func_802A7F84: /* 41CE5C 802A80CC 00000000 */ nop /* 41CE60 802A80D0 0C0A8426 */ jal func_802A1098 /* 41CE64 802A80D4 00000000 */ nop -/* 41CE68 802A80D8 080AA04F */ j func_802A813C +/* 41CE68 802A80D8 080AA04F */ j .L802A813C /* 41CE6C 802A80DC 24020021 */ addiu $v0, $zero, 0x21 /* 41CE70 802A80E0 0C03C54E */ jal func_800F1538 /* 41CE74 802A80E4 00000000 */ nop /* 41CE78 802A80E8 0C0A91CB */ jal func_802A472C /* 41CE7C 802A80EC 00000000 */ nop -/* 41CE80 802A80F0 080A9CB5 */ j func_802A72D4 +/* 41CE80 802A80F0 080A9CB5 */ j .L802A72D4 /* 41CE84 802A80F4 00000000 */ nop /* 41CE88 802A80F8 24040006 */ addiu $a0, $zero, 6 @@ -7937,11 +7924,9 @@ func_802A7F84: /* 41CEC0 802A8130 0C051F9F */ jal func_80147E7C /* 41CEC4 802A8134 24050009 */ addiu $a1, $zero, 9 /* 41CEC8 802A8138 2402001F */ addiu $v0, $zero, 0x1f -func_802A813C: .L802A813C: /* 41CECC 802A813C 3C01800E */ lui $at, 0x800e /* 41CED0 802A8140 AC22C4DC */ sw $v0, -0x3b24($at) -func_802A8144: .L802A8144: /* 41CED4 802A8144 8FBF0034 */ lw $ra, 0x34($sp) /* 41CED8 802A8148 8FBE0030 */ lw $fp, 0x30($sp) @@ -8016,7 +8001,7 @@ update_partner_menu: /* 41CFD8 802A8248 00000000 */ nop /* 41CFDC 802A824C 0C090464 */ jal func_80241190 /* 41CFE0 802A8250 24040009 */ addiu $a0, $zero, 9 -/* 41CFE4 802A8254 080AA0B8 */ j func_802A82E0 +/* 41CFE4 802A8254 080AA0B8 */ j .L802A82E0 /* 41CFE8 802A8258 00000000 */ nop .L802A825C: @@ -8038,7 +8023,7 @@ update_partner_menu: /* 41D028 802A8298 00431024 */ and $v0, $v0, $v1 /* 41D02C 802A829C 10400003 */ beqz $v0, .L802A82AC /* 41D030 802A82A0 2402012E */ addiu $v0, $zero, 0x12e -/* 41D034 802A82A4 080AA0B8 */ j func_802A82E0 +/* 41D034 802A82A4 080AA0B8 */ j .L802A82E0 /* 41D038 802A82A8 AE220000 */ sw $v0, ($s1) .L802A82AC: @@ -8055,7 +8040,7 @@ update_partner_menu: /* 41D064 802A82D4 A6020070 */ sh $v0, 0x70($s0) /* 41D068 802A82D8 AE000054 */ sw $zero, 0x54($s0) /* 41D06C 802A82DC E6000020 */ swc1 $f0, 0x20($s0) -func_802A82E0: +.L802A82E0: /* 41D070 802A82E0 3C11800E */ lui $s1, 0x800e /* 41D074 802A82E4 2631C4DC */ addiu $s1, $s1, -0x3b24 .L802A82E8: @@ -8342,13 +8327,13 @@ func_802A82E0: /* 41D4A4 802A8714 00000000 */ nop /* 41D4A8 802A8718 3C01802B */ lui $at, 0x802b /* 41D4AC 802A871C AC30D104 */ sw $s0, -0x2efc($at) -/* 41D4B0 802A8720 080AA1CC */ j func_802A8730 +/* 41D4B0 802A8720 080AA1CC */ j .L802A8730 /* 41D4B4 802A8724 00000000 */ nop .L802A8728: /* 41D4B8 802A8728 3C01802B */ lui $at, 0x802b /* 41D4BC 802A872C AC20D104 */ sw $zero, -0x2efc($at) -func_802A8730: +.L802A8730: /* 41D4C0 802A8730 0C0A8400 */ jal func_802A1000 /* 41D4C4 802A8734 00000000 */ nop /* 41D4C8 802A8738 24020008 */ addiu $v0, $zero, 8 @@ -8356,7 +8341,7 @@ func_802A8730: /* 41D4D0 802A8740 AC22CC60 */ sw $v0, -0x33a0($at) /* 41D4D4 802A8744 3C01802B */ lui $at, 0x802b /* 41D4D8 802A8748 AC20CC6C */ sw $zero, -0x3394($at) -/* 41D4DC 802A874C 080AA6A9 */ j func_802A9AA4 +/* 41D4DC 802A874C 080AA6A9 */ j .L802A9AA4 /* 41D4E0 802A8750 24020002 */ addiu $v0, $zero, 2 /* 41D4E4 802A8754 82E20012 */ lb $v0, 0x12($s7) @@ -8378,7 +8363,7 @@ func_802A8730: /* 41D524 802A8794 10600004 */ beqz $v1, .L802A87A8 /* 41D528 802A8798 0040802D */ daddu $s0, $v0, $zero /* 41D52C 802A879C 2462FFFF */ addiu $v0, $v1, -1 -/* 41D530 802A87A0 080AA20D */ j func_802A8834 +/* 41D530 802A87A0 080AA20D */ j .L802A8834 /* 41D534 802A87A4 AC820000 */ sw $v0, ($a0) .L802A87A8: @@ -8411,23 +8396,22 @@ func_802A8730: /* 41D5A0 802A8810 9022D0BB */ lbu $v0, -0x2f45($at) /* 41D5A4 802A8814 0C0A842E */ jal func_802A10B8 /* 41D5A8 802A8818 A282005C */ sb $v0, 0x5c($s4) -/* 41D5AC 802A881C 080AA5DD */ j func_802A9774 +/* 41D5AC 802A881C 080AA5DD */ j .L802A9774 /* 41D5B0 802A8820 00000000 */ nop .L802A8824: /* 41D5B4 802A8824 0C05272D */ jal play_sound /* 41D5B8 802A8828 2404021D */ addiu $a0, $zero, 0x21d -/* 41D5BC 802A882C 080AA6A9 */ j func_802A9AA4 +/* 41D5BC 802A882C 080AA6A9 */ j .L802A9AA4 /* 41D5C0 802A8830 24020008 */ addiu $v0, $zero, 8 -func_802A8834: .L802A8834: /* 41D5C4 802A8834 3C03802B */ lui $v1, 0x802b /* 41D5C8 802A8838 2463CC60 */ addiu $v1, $v1, -0x33a0 /* 41D5CC 802A883C 8C620000 */ lw $v0, ($v1) /* 41D5D0 802A8840 10400003 */ beqz $v0, .L802A8850 /* 41D5D4 802A8844 2442FFFF */ addiu $v0, $v0, -1 -/* 41D5D8 802A8848 080AA6AB */ j func_802A9AAC +/* 41D5D8 802A8848 080AA6AB */ j .L802A9AAC /* 41D5DC 802A884C AC620000 */ sw $v0, ($v1) .L802A8850: @@ -8450,38 +8434,38 @@ func_802A8834: /* 41D620 802A8890 24050007 */ addiu $a1, $zero, 7 /* 41D624 802A8894 14650003 */ bne $v1, $a1, .L802A88A4 /* 41D628 802A8898 A282005C */ sb $v0, 0x5c($s4) -/* 41D62C 802A889C 080AA641 */ j func_802A9904 +/* 41D62C 802A889C 080AA641 */ j .L802A9904 /* 41D630 802A88A0 240200C8 */ addiu $v0, $zero, 0xc8 .L802A88A4: /* 41D634 802A88A4 24040006 */ addiu $a0, $zero, 6 /* 41D638 802A88A8 14640003 */ bne $v1, $a0, .L802A88B8 /* 41D63C 802A88AC 24020008 */ addiu $v0, $zero, 8 -/* 41D640 802A88B0 080AA641 */ j func_802A9904 +/* 41D640 802A88B0 080AA641 */ j .L802A9904 /* 41D644 802A88B4 2402000A */ addiu $v0, $zero, 0xa .L802A88B8: /* 41D648 802A88B8 14620003 */ bne $v1, $v0, .L802A88C8 /* 41D64C 802A88BC 24020002 */ addiu $v0, $zero, 2 -/* 41D650 802A88C0 080AA641 */ j func_802A9904 +/* 41D650 802A88C0 080AA641 */ j .L802A9904 /* 41D654 802A88C4 2402003C */ addiu $v0, $zero, 0x3c .L802A88C8: /* 41D658 802A88C8 14620003 */ bne $v1, $v0, .L802A88D8 /* 41D65C 802A88CC 24020005 */ addiu $v0, $zero, 5 -/* 41D660 802A88D0 080AA641 */ j func_802A9904 +/* 41D660 802A88D0 080AA641 */ j .L802A9904 /* 41D664 802A88D4 24020028 */ addiu $v0, $zero, 0x28 .L802A88D8: /* 41D668 802A88D8 54620003 */ bnel $v1, $v0, .L802A88E8 /* 41D66C 802A88DC A684006C */ sh $a0, 0x6c($s4) -/* 41D670 802A88E0 080AA641 */ j func_802A9904 +/* 41D670 802A88E0 080AA641 */ j .L802A9904 /* 41D674 802A88E4 24020032 */ addiu $v0, $zero, 0x32 .L802A88E8: /* 41D678 802A88E8 0C0A840C */ jal func_802A1030 /* 41D67C 802A88EC A685006E */ sh $a1, 0x6e($s4) -/* 41D680 802A88F0 080AA6A9 */ j func_802A9AA4 +/* 41D680 802A88F0 080AA6A9 */ j .L802A9AA4 /* 41D684 802A88F4 24020004 */ addiu $v0, $zero, 4 /* 41D688 802A88F8 0C0A846C */ jal func_802A11B0 @@ -8494,7 +8478,7 @@ func_802A8834: /* 41D6A4 802A8914 24040011 */ addiu $a0, $zero, 0x11 /* 41D6A8 802A8918 0C0A841E */ jal func_802A1078 /* 41D6AC 802A891C 00000000 */ nop -/* 41D6B0 802A8920 080AA6A9 */ j func_802A9AA4 +/* 41D6B0 802A8920 080AA6A9 */ j .L802A9AA4 /* 41D6B4 802A8924 24020005 */ addiu $v0, $zero, 5 .L802A8928: @@ -8507,7 +8491,7 @@ func_802A8834: /* 41D6CC 802A893C 8C63F9B0 */ lw $v1, -0x650($v1) /* 41D6D0 802A8940 24020077 */ addiu $v0, $zero, 0x77 /* 41D6D4 802A8944 A682017C */ sh $v0, 0x17c($s4) -/* 41D6D8 802A8948 080AA34A */ j func_802A8D28 +/* 41D6D8 802A8948 080AA34A */ j .L802A8D28 /* 41D6DC 802A894C A680017A */ sh $zero, 0x17a($s4) /* 41D6E0 802A8950 0C0A846C */ jal func_802A11B0 @@ -8519,12 +8503,12 @@ func_802A8834: /* 41D6F8 802A8968 24020004 */ addiu $v0, $zero, 4 /* 41D6FC 802A896C 3C01802B */ lui $at, 0x802b /* 41D700 802A8970 AC22CC6C */ sw $v0, -0x3394($at) -/* 41D704 802A8974 080AA6A9 */ j func_802A9AA4 +/* 41D704 802A8974 080AA6A9 */ j .L802A9AA4 /* 41D708 802A8978 24020002 */ addiu $v0, $zero, 2 /* 41D70C 802A897C 0C0A841E */ jal func_802A1078 /* 41D710 802A8980 00000000 */ nop -/* 41D714 802A8984 080AA6A9 */ j func_802A9AA4 +/* 41D714 802A8984 080AA6A9 */ j .L802A9AA4 /* 41D718 802A8988 24020005 */ addiu $v0, $zero, 5 /* 41D71C 802A898C 0C0A9606 */ jal can_switch_to_player @@ -8539,7 +8523,7 @@ func_802A8834: /* 41D73C 802A89AC 24020001 */ addiu $v0, $zero, 1 /* 41D740 802A89B0 3C01802B */ lui $at, 0x802b /* 41D744 802A89B4 A022D607 */ sb $v0, -0x29f9($at) -/* 41D748 802A89B8 080AA6A9 */ j func_802A9AA4 +/* 41D748 802A89B8 080AA6A9 */ j .L802A9AA4 /* 41D74C 802A89BC 24020009 */ addiu $v0, $zero, 9 /* 41D750 802A89C0 0C093EAD */ jal is_popup_displayed @@ -8552,7 +8536,7 @@ func_802A8834: /* 41D76C 802A89DC AC20CC60 */ sw $zero, -0x33a0($at) /* 41D770 802A89E0 3C01802B */ lui $at, 0x802b /* 41D774 802A89E4 A020D607 */ sb $zero, -0x29f9($at) -/* 41D778 802A89E8 080AA6A9 */ j func_802A9AA4 +/* 41D778 802A89E8 080AA6A9 */ j .L802A9AA4 /* 41D77C 802A89EC 24020002 */ addiu $v0, $zero, 2 /* 41D780 802A89F0 9282020E */ lbu $v0, 0x20e($s4) @@ -8701,7 +8685,7 @@ func_802A8834: /* 41D998 802A8C08 AC31D4A8 */ sw $s1, -0x2b58($at) /* 41D99C 802A8C0C 0C0A89A1 */ jal func_802A2684 /* 41D9A0 802A8C10 00000000 */ nop -/* 41D9A4 802A8C14 080AA6A9 */ j func_802A9AA4 +/* 41D9A4 802A8C14 080AA6A9 */ j .L802A9AA4 /* 41D9A8 802A8C18 2402000B */ addiu $v0, $zero, 0xb /* 41D9AC 802A8C1C 0C0A8B21 */ jal func_802A2C84 @@ -8722,7 +8706,7 @@ func_802A8834: /* 41D9E8 802A8C58 24020004 */ addiu $v0, $zero, 4 /* 41D9EC 802A8C5C 3C01802B */ lui $at, 0x802b /* 41D9F0 802A8C60 AC22CC6C */ sw $v0, -0x3394($at) -/* 41D9F4 802A8C64 080AA641 */ j func_802A9904 +/* 41D9F4 802A8C64 080AA641 */ j .L802A9904 /* 41D9F8 802A8C68 24020002 */ addiu $v0, $zero, 2 .L802A8C6C: @@ -8730,7 +8714,7 @@ func_802A8834: /* 41DA00 802A8C70 A282004B */ sb $v0, 0x4b($s4) /* 41DA04 802A8C74 0C0A840C */ jal func_802A1030 /* 41DA08 802A8C78 00000000 */ nop -/* 41DA0C 802A8C7C 080AA6A9 */ j func_802A9AA4 +/* 41DA0C 802A8C7C 080AA6A9 */ j .L802A9AA4 /* 41DA10 802A8C80 2402000C */ addiu $v0, $zero, 0xc /* 41DA14 802A8C84 0C0A8B21 */ jal func_802A2C84 @@ -8745,7 +8729,7 @@ func_802A8834: /* 41DA38 802A8CA8 00000000 */ nop /* 41DA3C 802A8CAC 0C0A8426 */ jal func_802A1098 /* 41DA40 802A8CB0 00000000 */ nop -/* 41DA44 802A8CB4 080AA6A9 */ j func_802A9AA4 +/* 41DA44 802A8CB4 080AA6A9 */ j .L802A9AA4 /* 41DA48 802A8CB8 2402000D */ addiu $v0, $zero, 0xd .L802A8CBC: @@ -8776,10 +8760,10 @@ func_802A8834: /* 41DAAC 802A8D1C A682006C */ sh $v0, 0x6c($s4) /* 41DAB0 802A8D20 2402000F */ addiu $v0, $zero, 0xf /* 41DAB4 802A8D24 A682006E */ sh $v0, 0x6e($s4) -func_802A8D28: +.L802A8D28: /* 41DAB8 802A8D28 0C090464 */ jal func_80241190 /* 41DABC 802A8D2C AE830184 */ sw $v1, 0x184($s4) -/* 41DAC0 802A8D30 080AA6AB */ j func_802A9AAC +/* 41DAC0 802A8D30 080AA6AB */ j .L802A9AAC /* 41DAC4 802A8D34 00000000 */ nop /* 41DAC8 802A8D38 0C0A8B21 */ jal func_802A2C84 @@ -8788,14 +8772,14 @@ func_802A8D28: /* 41DAD4 802A8D44 00000000 */ nop /* 41DAD8 802A8D48 10400358 */ beqz $v0, .L802A9AAC /* 41DADC 802A8D4C 2402000B */ addiu $v0, $zero, 0xb -/* 41DAE0 802A8D50 080AA6A9 */ j func_802A9AA4 +/* 41DAE0 802A8D50 080AA6A9 */ j .L802A9AA4 /* 41DAE4 802A8D54 00000000 */ nop /* 41DAE8 802A8D58 0C0A8AAE */ jal func_802A2AB8 /* 41DAEC 802A8D5C 00000000 */ nop /* 41DAF0 802A8D60 0C0A8426 */ jal func_802A1098 /* 41DAF4 802A8D64 00000000 */ nop -/* 41DAF8 802A8D68 080AA6A9 */ j func_802A9AA4 +/* 41DAF8 802A8D68 080AA6A9 */ j .L802A9AA4 /* 41DAFC 802A8D6C 2402000D */ addiu $v0, $zero, 0xd /* 41DB00 802A8D70 0C0A8B21 */ jal func_802A2C84 @@ -8803,7 +8787,7 @@ func_802A8D28: /* 41DB08 802A8D78 2403FFFF */ addiu $v1, $zero, -1 /* 41DB0C 802A8D7C 1043034B */ beq $v0, $v1, .L802A9AAC /* 41DB10 802A8D80 2402000B */ addiu $v0, $zero, 0xb -/* 41DB14 802A8D84 080AA6A9 */ j func_802A9AA4 +/* 41DB14 802A8D84 080AA6A9 */ j .L802A9AA4 /* 41DB18 802A8D88 00000000 */ nop /* 41DB1C 802A8D8C 0000802D */ daddu $s0, $zero, $zero @@ -8858,7 +8842,7 @@ func_802A8D28: /* 41DBD0 802A8E40 AC910328 */ sw $s1, 0x328($a0) /* 41DBD4 802A8E44 0C03D4AF */ jal func_800F52BC /* 41DBD8 802A8E48 00000000 */ nop -/* 41DBDC 802A8E4C 080AA6A9 */ j func_802A9AA4 +/* 41DBDC 802A8E4C 080AA6A9 */ j .L802A9AA4 /* 41DBE0 802A8E50 24020029 */ addiu $v0, $zero, 0x29 /* 41DBE4 802A8E54 8643032C */ lh $v1, 0x32c($s2) @@ -8874,7 +8858,7 @@ func_802A8D28: /* 41DC0C 802A8E7C 24020004 */ addiu $v0, $zero, 4 /* 41DC10 802A8E80 3C01802B */ lui $at, 0x802b /* 41DC14 802A8E84 AC22CC6C */ sw $v0, -0x3394($at) -/* 41DC18 802A8E88 080AA641 */ j func_802A9904 +/* 41DC18 802A8E88 080AA641 */ j .L802A9904 /* 41DC1C 802A8E8C 24020002 */ addiu $v0, $zero, 2 .L802A8E90: @@ -8904,7 +8888,7 @@ func_802A8D28: /* 41DC7C 802A8EEC AE830184 */ sw $v1, 0x184($s4) /* 41DC80 802A8EF0 0C0A840C */ jal func_802A1030 /* 41DC84 802A8EF4 00000000 */ nop -/* 41DC88 802A8EF8 080AA6A9 */ j func_802A9AA4 +/* 41DC88 802A8EF8 080AA6A9 */ j .L802A9AA4 /* 41DC8C 802A8EFC 2402002A */ addiu $v0, $zero, 0x2a /* 41DC90 802A8F00 8E820214 */ lw $v0, 0x214($s4) @@ -8918,7 +8902,7 @@ func_802A8D28: /* 41DCB0 802A8F20 00000000 */ nop /* 41DCB4 802A8F24 0C0A8426 */ jal func_802A1098 /* 41DCB8 802A8F28 00000000 */ nop -/* 41DCBC 802A8F2C 080AA6A9 */ j func_802A9AA4 +/* 41DCBC 802A8F2C 080AA6A9 */ j .L802A9AA4 /* 41DCC0 802A8F30 2402002B */ addiu $v0, $zero, 0x2b .L802A8F34: @@ -8928,21 +8912,21 @@ func_802A8D28: /* 41DCD0 802A8F40 00000000 */ nop /* 41DCD4 802A8F44 0C090464 */ jal func_80241190 /* 41DCD8 802A8F48 24040011 */ addiu $a0, $zero, 0x11 -/* 41DCDC 802A8F4C 080AA6AB */ j func_802A9AAC +/* 41DCDC 802A8F4C 080AA6AB */ j .L802A9AAC /* 41DCE0 802A8F50 00000000 */ nop /* 41DCE4 802A8F54 0C0A846C */ jal func_802A11B0 /* 41DCE8 802A8F58 00000000 */ nop /* 41DCEC 802A8F5C 104002D3 */ beqz $v0, .L802A9AAC /* 41DCF0 802A8F60 24020029 */ addiu $v0, $zero, 0x29 -/* 41DCF4 802A8F64 080AA6A9 */ j func_802A9AA4 +/* 41DCF4 802A8F64 080AA6A9 */ j .L802A9AA4 /* 41DCF8 802A8F68 00000000 */ nop /* 41DCFC 802A8F6C 0C03C5B3 */ jal func_800F16CC /* 41DD00 802A8F70 00000000 */ nop /* 41DD04 802A8F74 0C0A8426 */ jal func_802A1098 /* 41DD08 802A8F78 00000000 */ nop -/* 41DD0C 802A8F7C 080AA6A9 */ j func_802A9AA4 +/* 41DD0C 802A8F7C 080AA6A9 */ j .L802A9AA4 /* 41DD10 802A8F80 2402002B */ addiu $v0, $zero, 0x2b /* 41DD14 802A8F84 0000802D */ daddu $s0, $zero, $zero @@ -9013,7 +8997,7 @@ func_802A8D28: /* 41DE08 802A9078 AC820328 */ sw $v0, 0x328($a0) /* 41DE0C 802A907C 0C03D4AF */ jal func_800F52BC /* 41DE10 802A9080 00000000 */ nop -/* 41DE14 802A9084 080AA6A9 */ j func_802A9AA4 +/* 41DE14 802A9084 080AA6A9 */ j .L802A9AA4 /* 41DE18 802A9088 24020033 */ addiu $v0, $zero, 0x33 /* 41DE1C 802A908C 8643032C */ lh $v1, 0x32c($s2) @@ -9032,7 +9016,7 @@ func_802A8D28: /* 41DE50 802A90C0 24020004 */ addiu $v0, $zero, 4 /* 41DE54 802A90C4 3C01802B */ lui $at, 0x802b /* 41DE58 802A90C8 AC22CC6C */ sw $v0, -0x3394($at) -/* 41DE5C 802A90CC 080AA641 */ j func_802A9904 +/* 41DE5C 802A90CC 080AA641 */ j .L802A9904 /* 41DE60 802A90D0 24020002 */ addiu $v0, $zero, 2 .L802A90D4: @@ -9060,7 +9044,7 @@ func_802A8D28: /* 41DEB8 802A9128 A2820061 */ sb $v0, 0x61($s4) /* 41DEBC 802A912C 0C0A840C */ jal func_802A1030 /* 41DEC0 802A9130 00000000 */ nop -/* 41DEC4 802A9134 080AA6A9 */ j func_802A9AA4 +/* 41DEC4 802A9134 080AA6A9 */ j .L802A9AA4 /* 41DEC8 802A9138 24020034 */ addiu $v0, $zero, 0x34 /* 41DECC 802A913C 8E820214 */ lw $v0, 0x214($s4) @@ -9074,36 +9058,36 @@ func_802A8D28: /* 41DEEC 802A915C 00000000 */ nop /* 41DEF0 802A9160 0C0A8426 */ jal func_802A1098 /* 41DEF4 802A9164 00000000 */ nop -/* 41DEF8 802A9168 080AA6A9 */ j func_802A9AA4 +/* 41DEF8 802A9168 080AA6A9 */ j .L802A9AA4 /* 41DEFC 802A916C 24020035 */ addiu $v0, $zero, 0x35 /* 41DF00 802A9170 0C0A846C */ jal func_802A11B0 /* 41DF04 802A9174 00000000 */ nop /* 41DF08 802A9178 1040024C */ beqz $v0, .L802A9AAC /* 41DF0C 802A917C 24020033 */ addiu $v0, $zero, 0x33 -/* 41DF10 802A9180 080AA6A9 */ j func_802A9AA4 +/* 41DF10 802A9180 080AA6A9 */ j .L802A9AA4 /* 41DF14 802A9184 00000000 */ nop /* 41DF18 802A9188 0C03C5B3 */ jal func_800F16CC /* 41DF1C 802A918C 00000000 */ nop /* 41DF20 802A9190 0C0A8426 */ jal func_802A1098 /* 41DF24 802A9194 00000000 */ nop -/* 41DF28 802A9198 080AA6A9 */ j func_802A9AA4 +/* 41DF28 802A9198 080AA6A9 */ j .L802A9AA4 /* 41DF2C 802A919C 24020035 */ addiu $v0, $zero, 0x35 /* 41DF30 802A91A0 0C03C54E */ jal func_800F1538 /* 41DF34 802A91A4 00000000 */ nop -func_802A91A8: +.L802A91A8: /* 41DF38 802A91A8 0C0A842E */ jal func_802A10B8 /* 41DF3C 802A91AC 00000000 */ nop -/* 41DF40 802A91B0 080AA6AB */ j func_802A9AAC +/* 41DF40 802A91B0 080AA6AB */ j .L802A9AAC /* 41DF44 802A91B4 00000000 */ nop /* 41DF48 802A91B8 8643032C */ lh $v1, 0x32c($s2) /* 41DF4C 802A91BC 2402FFFF */ addiu $v0, $zero, -1 /* 41DF50 802A91C0 1062023A */ beq $v1, $v0, .L802A9AAC /* 41DF54 802A91C4 24020033 */ addiu $v0, $zero, 0x33 -/* 41DF58 802A91C8 080AA6A9 */ j func_802A9AA4 +/* 41DF58 802A91C8 080AA6A9 */ j .L802A9AA4 /* 41DF5C 802A91CC 00000000 */ nop /* 41DF60 802A91D0 24100001 */ addiu $s0, $zero, 1 @@ -9221,7 +9205,7 @@ func_802A9310: /* 41E0D8 802A9348 AC31D4A8 */ sw $s1, -0x2b58($at) /* 41E0DC 802A934C 0C0A89A1 */ jal func_802A2684 /* 41E0E0 802A9350 00000000 */ nop -/* 41E0E4 802A9354 080AA6A9 */ j func_802A9AA4 +/* 41E0E4 802A9354 080AA6A9 */ j .L802A9AA4 /* 41E0E8 802A9358 2402003D */ addiu $v0, $zero, 0x3d /* 41E0EC 802A935C 0C0A8B21 */ jal func_802A2C84 @@ -9241,7 +9225,7 @@ func_802A9378: /* 41E11C 802A938C 24020004 */ addiu $v0, $zero, 4 /* 41E120 802A9390 3C01802B */ lui $at, 0x802b /* 41E124 802A9394 AC22CC6C */ sw $v0, -0x3394($at) -/* 41E128 802A9398 080AA641 */ j func_802A9904 +/* 41E128 802A9398 080AA641 */ j .L802A9904 /* 41E12C 802A939C 24020002 */ addiu $v0, $zero, 2 .L802A93A0: @@ -9253,7 +9237,7 @@ func_802A9378: /* 41E144 802A93B4 A282004B */ sb $v0, 0x4b($s4) /* 41E148 802A93B8 0C0A840C */ jal func_802A1030 /* 41E14C 802A93BC 00000000 */ nop -/* 41E150 802A93C0 080AA6A9 */ j func_802A9AA4 +/* 41E150 802A93C0 080AA6A9 */ j .L802A9AA4 /* 41E154 802A93C4 2402003E */ addiu $v0, $zero, 0x3e /* 41E158 802A93C8 0C0A8B21 */ jal func_802A2C84 @@ -9268,7 +9252,7 @@ func_802A9378: /* 41E17C 802A93EC 00000000 */ nop /* 41E180 802A93F0 0C0A8426 */ jal func_802A1098 /* 41E184 802A93F4 00000000 */ nop -/* 41E188 802A93F8 080AA6A9 */ j func_802A9AA4 +/* 41E188 802A93F8 080AA6A9 */ j .L802A9AA4 /* 41E18C 802A93FC 2402003F */ addiu $v0, $zero, 0x3f .L802A9400: @@ -9304,7 +9288,7 @@ func_802A9378: /* 41E204 802A9474 A2820062 */ sb $v0, 0x62($s4) /* 41E208 802A9478 0C090464 */ jal func_80241190 /* 41E20C 802A947C AE850184 */ sw $a1, 0x184($s4) -/* 41E210 802A9480 080AA6AB */ j func_802A9AAC +/* 41E210 802A9480 080AA6AB */ j .L802A9AAC /* 41E214 802A9484 00000000 */ nop /* 41E218 802A9488 0C0A8B21 */ jal func_802A2C84 @@ -9314,7 +9298,7 @@ func_802A948C: /* 41E224 802A9494 00000000 */ nop /* 41E228 802A9498 10400184 */ beqz $v0, .L802A9AAC /* 41E22C 802A949C 2402003D */ addiu $v0, $zero, 0x3d -/* 41E230 802A94A0 080AA6A9 */ j func_802A9AA4 +/* 41E230 802A94A0 080AA6A9 */ j .L802A9AA4 func_802A94A4: /* 41E234 802A94A4 00000000 */ nop @@ -9322,12 +9306,12 @@ func_802A94A4: /* 41E23C 802A94AC 00000000 */ nop /* 41E240 802A94B0 0C0A8426 */ jal func_802A1098 /* 41E244 802A94B4 00000000 */ nop -/* 41E248 802A94B8 080AA6A9 */ j func_802A9AA4 +/* 41E248 802A94B8 080AA6A9 */ j .L802A9AA4 /* 41E24C 802A94BC 2402003F */ addiu $v0, $zero, 0x3f /* 41E250 802A94C0 0C0A89F9 */ jal func_802A27E4 /* 41E254 802A94C4 00000000 */ nop -/* 41E258 802A94C8 080AA46A */ j func_802A91A8 +/* 41E258 802A94C8 080AA46A */ j .L802A91A8 /* 41E25C 802A94CC 00000000 */ nop /* 41E260 802A94D0 0C098C9A */ jal func_80263268 @@ -9412,7 +9396,7 @@ func_802A959C: /* 41E37C 802A95EC AC31D670 */ sw $s1, -0x2990($at) /* 41E380 802A95F0 0C0A9176 */ jal func_802A45D8 /* 41E384 802A95F4 00000000 */ nop -/* 41E388 802A95F8 080AA6A9 */ j func_802A9AA4 +/* 41E388 802A95F8 080AA6A9 */ j .L802A9AA4 /* 41E38C 802A95FC 240200C9 */ addiu $v0, $zero, 0xc9 /* 41E390 802A9600 0C0A9295 */ jal func_802A4A54 @@ -9432,7 +9416,7 @@ func_802A9634: /* 41E3C4 802A9634 3C01802B */ lui $at, 0x802b /* 41E3C8 802A9638 AC22CC6C */ sw $v0, -0x3394($at) func_802A963C: -/* 41E3CC 802A963C 080AA641 */ j func_802A9904 +/* 41E3CC 802A963C 080AA641 */ j .L802A9904 /* 41E3D0 802A9640 24020002 */ addiu $v0, $zero, 2 .L802A9644: @@ -9451,7 +9435,7 @@ func_802A9664: /* 41E400 802A9670 00000000 */ nop /* 41E404 802A9674 0C0A840C */ jal func_802A1030 /* 41E408 802A9678 00000000 */ nop -/* 41E40C 802A967C 080AA6A9 */ j func_802A9AA4 +/* 41E40C 802A967C 080AA6A9 */ j .L802A9AA4 /* 41E410 802A9680 240200CA */ addiu $v0, $zero, 0xca /* 41E414 802A9684 0C0A9295 */ jal func_802A4A54 @@ -9466,7 +9450,7 @@ func_802A9664: /* 41E438 802A96A8 00000000 */ nop /* 41E43C 802A96AC 0C0A8426 */ jal func_802A1098 /* 41E440 802A96B0 00000000 */ nop -/* 41E444 802A96B4 080AA6A9 */ j func_802A9AA4 +/* 41E444 802A96B4 080AA6A9 */ j .L802A9AA4 func_802A96B8: /* 41E448 802A96B8 240200CB */ addiu $v0, $zero, 0xcb @@ -9489,7 +9473,7 @@ func_802A96EC: /* 41E480 802A96F0 12020011 */ beq $s0, $v0, .L802A9738 func_802A96F4: /* 41E484 802A96F4 240200CD */ addiu $v0, $zero, 0xcd -/* 41E488 802A96F8 080AA6AB */ j func_802A9AAC +/* 41E488 802A96F8 080AA6AB */ j .L802A9AAC /* 41E48C 802A96FC 00000000 */ nop .L802A9700: @@ -9497,7 +9481,7 @@ func_802A96F4: /* 41E494 802A9704 12020017 */ beq $s0, $v0, .L802A9764 func_802A9708: /* 41E498 802A9708 240200CD */ addiu $v0, $zero, 0xcd -/* 41E49C 802A970C 080AA6AB */ j func_802A9AAC +/* 41E49C 802A970C 080AA6AB */ j .L802A9AAC /* 41E4A0 802A9710 00000000 */ nop .L802A9714: @@ -9510,7 +9494,7 @@ func_802A9720: /* 41E4B4 802A9724 00000000 */ nop /* 41E4B8 802A9728 0C090464 */ jal func_80241190 /* 41E4BC 802A972C 24040017 */ addiu $a0, $zero, 0x17 -/* 41E4C0 802A9730 080AA6AB */ j func_802A9AAC +/* 41E4C0 802A9730 080AA6AB */ j .L802A9AAC /* 41E4C4 802A9734 00000000 */ nop .L802A9738: @@ -9525,19 +9509,18 @@ func_802A9744: /* 41E4E0 802A9750 A2900178 */ sb $s0, 0x178($s4) /* 41E4E4 802A9754 0C090464 */ jal func_80241190 /* 41E4E8 802A9758 A682017C */ sh $v0, 0x17c($s4) -/* 41E4EC 802A975C 080AA6AB */ j func_802A9AAC +/* 41E4EC 802A975C 080AA6AB */ j .L802A9AAC /* 41E4F0 802A9760 00000000 */ nop -func_802A9764: .L802A9764: /* 41E4F4 802A9764 3C01800E */ lui $at, 0x800e /* 41E4F8 802A9768 AC22C4DC */ sw $v0, -0x3b24($at) /* 41E4FC 802A976C 0C0AA072 */ jal update_partner_menu /* 41E500 802A9770 00000000 */ nop -func_802A9774: +.L802A9774: /* 41E504 802A9774 0C090464 */ jal func_80241190 /* 41E508 802A9778 2404000A */ addiu $a0, $zero, 0xa -/* 41E50C 802A977C 080AA6AB */ j func_802A9AAC +/* 41E50C 802A977C 080AA6AB */ j .L802A9AAC /* 41E510 802A9780 00000000 */ nop /* 41E514 802A9784 0C0A9295 */ jal func_802A4A54 @@ -9552,7 +9535,7 @@ func_802A9774: /* 41E538 802A97A8 3C01802B */ lui $at, 0x802b func_802A97AC: /* 41E53C 802A97AC AC22CC6C */ sw $v0, -0x3394($at) -/* 41E540 802A97B0 080AA6A9 */ j func_802A9AA4 +/* 41E540 802A97B0 080AA6A9 */ j .L802A9AA4 /* 41E544 802A97B4 24020002 */ addiu $v0, $zero, 2 /* 41E548 802A97B8 0C0A923F */ jal func_802A48FC @@ -9560,7 +9543,7 @@ func_802A97BC: /* 41E54C 802A97BC 00000000 */ nop /* 41E550 802A97C0 0C0A8426 */ jal func_802A1098 /* 41E554 802A97C4 00000000 */ nop -/* 41E558 802A97C8 080AA6A9 */ j func_802A9AA4 +/* 41E558 802A97C8 080AA6A9 */ j .L802A9AA4 func_802A97CC: /* 41E55C 802A97CC 240200CB */ addiu $v0, $zero, 0xcb @@ -9642,7 +9625,7 @@ func_802A98B0: /* 41E658 802A98C8 0C03D4AF */ jal func_800F52BC /* 41E65C 802A98CC 00000000 */ nop func_802A98D0: -/* 41E660 802A98D0 080AA6A9 */ j func_802A9AA4 +/* 41E660 802A98D0 080AA6A9 */ j .L802A9AA4 /* 41E664 802A98D4 2402001F */ addiu $v0, $zero, 0x1f /* 41E668 802A98D8 8643032C */ lh $v1, 0x32c($s2) @@ -9658,7 +9641,6 @@ func_802A98E0: /* 41E688 802A98F8 0C0A91F8 */ jal func_802A47E0 /* 41E68C 802A98FC 00000000 */ nop /* 41E690 802A9900 240200C9 */ addiu $v0, $zero, 0xc9 -func_802A9904: .L802A9904: /* 41E694 802A9904 3C01800E */ lui $at, 0x800e /* 41E698 802A9908 AC22C4DC */ sw $v0, -0x3b24($at) @@ -9667,7 +9649,7 @@ func_802A9904: func_802A9914: /* 41E6A4 802A9914 0C0AA072 */ jal update_partner_menu /* 41E6A8 802A9918 00000000 */ nop -/* 41E6AC 802A991C 080AA6AB */ j func_802A9AAC +/* 41E6AC 802A991C 080AA6AB */ j .L802A9AAC /* 41E6B0 802A9920 00000000 */ nop .L802A9924: @@ -9698,7 +9680,7 @@ func_802A992C: /* 41E710 802A9980 00000000 */ nop /* 41E714 802A9984 0C0A840C */ jal func_802A1030 /* 41E718 802A9988 00000000 */ nop -/* 41E71C 802A998C 080AA6A9 */ j func_802A9AA4 +/* 41E71C 802A998C 080AA6A9 */ j .L802A9AA4 func_802A9990: /* 41E720 802A9990 24020020 */ addiu $v0, $zero, 0x20 @@ -9715,7 +9697,7 @@ func_802A9990: /* 41E74C 802A99BC 00000000 */ nop /* 41E750 802A99C0 0C0A8426 */ jal func_802A1098 /* 41E754 802A99C4 00000000 */ nop -/* 41E758 802A99C8 080AA6A9 */ j func_802A9AA4 +/* 41E758 802A99C8 080AA6A9 */ j .L802A9AA4 /* 41E75C 802A99CC 24020021 */ addiu $v0, $zero, 0x21 .L802A99D0: @@ -9734,7 +9716,7 @@ func_802A99D4: /* 41E788 802A99F8 00000000 */ nop /* 41E78C 802A99FC 0C090464 */ jal func_80241190 /* 41E790 802A9A00 2404001D */ addiu $a0, $zero, 0x1d -/* 41E794 802A9A04 080AA6AB */ j func_802A9AAC +/* 41E794 802A9A04 080AA6AB */ j .L802A9AAC /* 41E798 802A9A08 00000000 */ nop /* 41E79C 802A9A0C 0C0A9295 */ jal func_802A4A54 @@ -9743,7 +9725,7 @@ func_802A99D4: /* 41E7A8 802A9A18 00000000 */ nop /* 41E7AC 802A9A1C 10400023 */ beqz $v0, .L802A9AAC /* 41E7B0 802A9A20 2402001F */ addiu $v0, $zero, 0x1f -/* 41E7B4 802A9A24 080AA6A9 */ j func_802A9AA4 +/* 41E7B4 802A9A24 080AA6A9 */ j .L802A9AA4 /* 41E7B8 802A9A28 00000000 */ nop /* 41E7BC 802A9A2C 0C03C5B3 */ jal func_800F16CC @@ -9753,7 +9735,7 @@ func_802A9A30: /* 41E7C8 802A9A38 00000000 */ nop /* 41E7CC 802A9A3C 0C0A8426 */ jal func_802A1098 /* 41E7D0 802A9A40 00000000 */ nop -/* 41E7D4 802A9A44 080AA6A9 */ j func_802A9AA4 +/* 41E7D4 802A9A44 080AA6A9 */ j .L802A9AA4 /* 41E7D8 802A9A48 24020021 */ addiu $v0, $zero, 0x21 /* 41E7DC 802A9A4C 0C03C54E */ jal func_800F1538 @@ -9761,7 +9743,7 @@ func_802A9A30: func_802A9A54: /* 41E7E4 802A9A54 0C0A91CB */ jal func_802A472C /* 41E7E8 802A9A58 00000000 */ nop -/* 41E7EC 802A9A5C 080AA46A */ j func_802A91A8 +/* 41E7EC 802A9A5C 080AA46A */ j .L802A91A8 /* 41E7F0 802A9A60 00000000 */ nop /* 41E7F4 802A9A64 24040006 */ addiu $a0, $zero, 6 @@ -9780,11 +9762,9 @@ func_802A9A54: /* 41E828 802A9A98 0C051F9F */ jal func_80147E7C /* 41E82C 802A9A9C 24050009 */ addiu $a1, $zero, 9 /* 41E830 802A9AA0 2402001F */ addiu $v0, $zero, 0x1f -func_802A9AA4: .L802A9AA4: /* 41E834 802A9AA4 3C01800E */ lui $at, 0x800e /* 41E838 802A9AA8 AC22C4DC */ sw $v0, -0x3b24($at) -func_802A9AAC: .L802A9AAC: /* 41E83C 802A9AAC 8FBF0034 */ lw $ra, 0x34($sp) /* 41E840 802A9AB0 8FBE0030 */ lw $fp, 0x30($sp) @@ -9863,7 +9843,7 @@ func_802A9B44: /* 41E948 802A9BB8 00431024 */ and $v0, $v0, $v1 /* 41E94C 802A9BBC 14400003 */ bnez $v0, .L802A9BCC /* 41E950 802A9BC0 2402000A */ addiu $v0, $zero, 0xa -/* 41E954 802A9BC4 080AA80C */ j func_802AA030 +/* 41E954 802A9BC4 080AA80C */ j .L802AA030 /* 41E958 802A9BC8 2402000B */ addiu $v0, $zero, 0xb .L802A9BCC: @@ -9879,7 +9859,7 @@ func_802A9B44: /* 41E980 802A9BF0 24020004 */ addiu $v0, $zero, 4 /* 41E984 802A9BF4 A6020070 */ sh $v0, 0x70($s0) /* 41E988 802A9BF8 AE000054 */ sw $zero, 0x54($s0) -/* 41E98C 802A9BFC 080AA80E */ j func_802AA038 +/* 41E98C 802A9BFC 080AA80E */ j .L802AA038 /* 41E990 802A9C00 E6000020 */ swc1 $f0, 0x20($s0) /* 41E994 802A9C04 86020070 */ lh $v0, 0x70($s0) @@ -9964,7 +9944,7 @@ func_802A9B44: /* 41EACC 802A9D3C 10400004 */ beqz $v0, .L802A9D50 /* 41EAD0 802A9D40 E6000054 */ swc1 $f0, 0x54($s0) /* 41EAD4 802A9D44 2462FFFF */ addiu $v0, $v1, -1 -/* 41EAD8 802A9D48 080AA80E */ j func_802AA038 +/* 41EAD8 802A9D48 080AA80E */ j .L802AA038 /* 41EADC 802A9D4C A6020070 */ sh $v0, 0x70($s0) .L802A9D50: @@ -10047,14 +10027,14 @@ func_802A9B44: /* 41EC08 802A9E78 24020002 */ addiu $v0, $zero, 2 /* 41EC0C 802A9E7C 3C01802B */ lui $at, 0x802b /* 41EC10 802A9E80 AC30D104 */ sw $s0, -0x2efc($at) -/* 41EC14 802A9E84 080AA7A6 */ j func_802A9E98 +/* 41EC14 802A9E84 080AA7A6 */ j .L802A9E98 /* 41EC18 802A9E88 00511023 */ subu $v0, $v0, $s1 .L802A9E8C: /* 41EC1C 802A9E8C 3C01802B */ lui $at, 0x802b /* 41EC20 802A9E90 AC20D104 */ sw $zero, -0x2efc($at) /* 41EC24 802A9E94 00511023 */ subu $v0, $v0, $s1 -func_802A9E98: +.L802A9E98: /* 41EC28 802A9E98 3C01802B */ lui $at, 0x802b /* 41EC2C 802A9E9C AC30D0AC */ sw $s0, -0x2f54($at) /* 41EC30 802A9EA0 3C01802B */ lui $at, 0x802b @@ -10068,7 +10048,7 @@ func_802A9E98: /* 41EC50 802A9EC0 24020008 */ addiu $v0, $zero, 8 /* 41EC54 802A9EC4 3C01802B */ lui $at, 0x802b /* 41EC58 802A9EC8 AC22CC60 */ sw $v0, -0x33a0($at) -/* 41EC5C 802A9ECC 080AA80C */ j func_802AA030 +/* 41EC5C 802A9ECC 080AA80C */ j .L802AA030 /* 41EC60 802A9ED0 24020001 */ addiu $v0, $zero, 1 /* 41EC64 802A9ED4 0000202D */ daddu $a0, $zero, $zero @@ -10084,7 +10064,7 @@ func_802A9E98: /* 41EC8C 802A9EFC 10600004 */ beqz $v1, .L802A9F10 /* 41EC90 802A9F00 0040802D */ daddu $s0, $v0, $zero /* 41EC94 802A9F04 2462FFFF */ addiu $v0, $v1, -1 -/* 41EC98 802A9F08 080AA80E */ j func_802AA038 +/* 41EC98 802A9F08 080AA80E */ j .L802AA038 /* 41EC9C 802A9F0C AE220000 */ sw $v0, ($s1) .L802A9F10: @@ -10106,7 +10086,7 @@ func_802A9E98: /* 41ECDC 802A9F4C 24020004 */ addiu $v0, $zero, 4 /* 41ECE0 802A9F50 3C01802B */ lui $at, 0x802b /* 41ECE4 802A9F54 AC22CC6C */ sw $v0, -0x3394($at) -/* 41ECE8 802A9F58 080AA80C */ j func_802AA030 +/* 41ECE8 802A9F58 080AA80C */ j .L802AA030 /* 41ECEC 802A9F5C 24020002 */ addiu $v0, $zero, 2 /* 41ECF0 802A9F60 0C0A846C */ jal func_802A11B0 @@ -10127,7 +10107,7 @@ func_802A9E98: /* 41ED2C 802A9F9C A642017A */ sh $v0, 0x17a($s2) /* 41ED30 802A9FA0 0C090464 */ jal func_80241190 /* 41ED34 802A9FA4 AE430184 */ sw $v1, 0x184($s2) -/* 41ED38 802A9FA8 080AA80E */ j func_802AA038 +/* 41ED38 802A9FA8 080AA80E */ j .L802AA038 /* 41ED3C 802A9FAC 00000000 */ nop /* 41ED40 802A9FB0 0C0A8414 */ jal func_802A1050 @@ -10139,12 +10119,12 @@ func_802A9E98: /* 41ED58 802A9FC8 00000000 */ nop /* 41ED5C 802A9FCC 0C0AA6D1 */ jal func_802A9B44 /* 41ED60 802A9FD0 00000000 */ nop -/* 41ED64 802A9FD4 080AA80E */ j func_802AA038 +/* 41ED64 802A9FD4 080AA80E */ j .L802AA038 /* 41ED68 802A9FD8 00000000 */ nop /* 41ED6C 802A9FDC 0C0A842E */ jal func_802A10B8 /* 41ED70 802A9FE0 00000000 */ nop -/* 41ED74 802A9FE4 080AA80E */ j func_802AA038 +/* 41ED74 802A9FE4 080AA80E */ j .L802AA038 /* 41ED78 802A9FE8 00000000 */ nop /* 41ED7C 802A9FEC 24040050 */ addiu $a0, $zero, 0x50 @@ -10154,7 +10134,7 @@ func_802A9E98: /* 41ED8C 802A9FFC 24020001 */ addiu $v0, $zero, 1 /* 41ED90 802AA000 3C01802B */ lui $at, 0x802b /* 41ED94 802AA004 A022D607 */ sb $v0, -0x29f9($at) -/* 41ED98 802AA008 080AA80C */ j func_802AA030 +/* 41ED98 802AA008 080AA80C */ j .L802AA030 /* 41ED9C 802AA00C 24020009 */ addiu $v0, $zero, 9 /* 41EDA0 802AA010 0C093EAD */ jal is_popup_displayed @@ -10166,10 +10146,9 @@ func_802AA014: /* 41EDB4 802AA024 A020D607 */ sb $zero, -0x29f9($at) /* 41EDB8 802AA028 3C01802B */ lui $at, 0x802b /* 41EDBC 802AA02C AC20CC60 */ sw $zero, -0x33a0($at) -func_802AA030: +.L802AA030: /* 41EDC0 802AA030 3C01800E */ lui $at, 0x800e /* 41EDC4 802AA034 AC22C4DC */ sw $v0, -0x3b24($at) -func_802AA038: .L802AA038: /* 41EDC8 802AA038 8FBF001C */ lw $ra, 0x1c($sp) /* 41EDCC 802AA03C 8FB20018 */ lw $s2, 0x18($sp) @@ -10270,7 +10249,7 @@ func_802AA0D8: /* 41EF0C 802AA17C 00000000 */ nop /* 41EF10 802AA180 0C090464 */ jal func_80241190 /* 41EF14 802AA184 24040016 */ addiu $a0, $zero, 0x16 -/* 41EF18 802AA188 080AA987 */ j func_802AA61C +/* 41EF18 802AA188 080AA987 */ j .L802AA61C /* 41EF1C 802AA18C 00000000 */ nop .L802AA190: @@ -10296,7 +10275,7 @@ func_802AA0D8: /* 41EF6C 802AA1DC AC22C4DC */ sw $v0, -0x3b24($at) /* 41EF70 802AA1E0 A6120070 */ sh $s2, 0x70($s0) /* 41EF74 802AA1E4 AE000054 */ sw $zero, 0x54($s0) -/* 41EF78 802AA1E8 080AA987 */ j func_802AA61C +/* 41EF78 802AA1E8 080AA987 */ j .L802AA61C /* 41EF7C 802AA1EC E6000020 */ swc1 $f0, 0x20($s0) /* 41EF80 802AA1F0 86020070 */ lh $v0, 0x70($s0) @@ -10381,7 +10360,7 @@ func_802AA0D8: /* 41F0B8 802AA328 10400004 */ beqz $v0, .L802AA33C /* 41F0BC 802AA32C E6000054 */ swc1 $f0, 0x54($s0) /* 41F0C0 802AA330 2462FFFF */ addiu $v0, $v1, -1 -/* 41F0C4 802AA334 080AA987 */ j func_802AA61C +/* 41F0C4 802AA334 080AA987 */ j .L802AA61C /* 41F0C8 802AA338 A6020070 */ sh $v0, 0x70($s0) .L802AA33C: @@ -10463,14 +10442,14 @@ func_802AA0D8: /* 41F1F0 802AA460 24020002 */ addiu $v0, $zero, 2 /* 41F1F4 802AA464 3C01802B */ lui $at, 0x802b /* 41F1F8 802AA468 AC30D104 */ sw $s0, -0x2efc($at) -/* 41F1FC 802AA46C 080AA920 */ j func_802AA480 +/* 41F1FC 802AA46C 080AA920 */ j .L802AA480 /* 41F200 802AA470 00511023 */ subu $v0, $v0, $s1 .L802AA474: /* 41F204 802AA474 3C01802B */ lui $at, 0x802b /* 41F208 802AA478 AC20D104 */ sw $zero, -0x2efc($at) /* 41F20C 802AA47C 00511023 */ subu $v0, $v0, $s1 -func_802AA480: +.L802AA480: /* 41F210 802AA480 3C01802B */ lui $at, 0x802b /* 41F214 802AA484 AC30D0AC */ sw $s0, -0x2f54($at) /* 41F218 802AA488 3C01802B */ lui $at, 0x802b @@ -10484,7 +10463,7 @@ func_802AA480: /* 41F238 802AA4A8 24020008 */ addiu $v0, $zero, 8 /* 41F23C 802AA4AC 3C01802B */ lui $at, 0x802b /* 41F240 802AA4B0 AC22CC60 */ sw $v0, -0x33a0($at) -/* 41F244 802AA4B4 080AA985 */ j func_802AA614 +/* 41F244 802AA4B4 080AA985 */ j .L802AA614 /* 41F248 802AA4B8 24020001 */ addiu $v0, $zero, 1 /* 41F24C 802AA4BC 24040100 */ addiu $a0, $zero, 0x100 @@ -10500,7 +10479,7 @@ func_802AA480: /* 41F274 802AA4E4 10600004 */ beqz $v1, .L802AA4F8 /* 41F278 802AA4E8 0040802D */ daddu $s0, $v0, $zero /* 41F27C 802AA4EC 2462FFFF */ addiu $v0, $v1, -1 -/* 41F280 802AA4F0 080AA987 */ j func_802AA61C +/* 41F280 802AA4F0 080AA987 */ j .L802AA61C /* 41F284 802AA4F4 AE220000 */ sw $v0, ($s1) .L802AA4F8: @@ -10522,7 +10501,7 @@ func_802AA480: /* 41F2C4 802AA534 24020004 */ addiu $v0, $zero, 4 /* 41F2C8 802AA538 3C01802B */ lui $at, 0x802b /* 41F2CC 802AA53C AC22CC6C */ sw $v0, -0x3394($at) -/* 41F2D0 802AA540 080AA985 */ j func_802AA614 +/* 41F2D0 802AA540 080AA985 */ j .L802AA614 /* 41F2D4 802AA544 24020002 */ addiu $v0, $zero, 2 /* 41F2D8 802AA548 0C0A846C */ jal func_802A11B0 @@ -10542,7 +10521,7 @@ func_802AA480: /* 41F310 802AA580 A640017A */ sh $zero, 0x17a($s2) /* 41F314 802AA584 0C090464 */ jal func_80241190 /* 41F318 802AA588 AE430184 */ sw $v1, 0x184($s2) -/* 41F31C 802AA58C 080AA987 */ j func_802AA61C +/* 41F31C 802AA58C 080AA987 */ j .L802AA61C /* 41F320 802AA590 00000000 */ nop /* 41F324 802AA594 0C0A8414 */ jal func_802A1050 @@ -10554,12 +10533,12 @@ func_802AA480: /* 41F33C 802AA5AC 00000000 */ nop /* 41F340 802AA5B0 0C0AA82E */ jal func_802AA0B8 /* 41F344 802AA5B4 00000000 */ nop -/* 41F348 802AA5B8 080AA987 */ j func_802AA61C +/* 41F348 802AA5B8 080AA987 */ j .L802AA61C /* 41F34C 802AA5BC 00000000 */ nop /* 41F350 802AA5C0 0C0A842E */ jal func_802A10B8 /* 41F354 802AA5C4 00000000 */ nop -/* 41F358 802AA5C8 080AA987 */ j func_802AA61C +/* 41F358 802AA5C8 080AA987 */ j .L802AA61C /* 41F35C 802AA5CC 00000000 */ nop /* 41F360 802AA5D0 24040050 */ addiu $a0, $zero, 0x50 @@ -10569,7 +10548,7 @@ func_802AA480: /* 41F370 802AA5E0 24020001 */ addiu $v0, $zero, 1 /* 41F374 802AA5E4 3C01802B */ lui $at, 0x802b /* 41F378 802AA5E8 A022D607 */ sb $v0, -0x29f9($at) -/* 41F37C 802AA5EC 080AA985 */ j func_802AA614 +/* 41F37C 802AA5EC 080AA985 */ j .L802AA614 /* 41F380 802AA5F0 24020009 */ addiu $v0, $zero, 9 /* 41F384 802AA5F4 0C093EAD */ jal is_popup_displayed @@ -10580,11 +10559,9 @@ func_802AA480: /* 41F398 802AA608 A020D607 */ sb $zero, -0x29f9($at) /* 41F39C 802AA60C 3C01802B */ lui $at, 0x802b /* 41F3A0 802AA610 AC20CC60 */ sw $zero, -0x33a0($at) -func_802AA614: .L802AA614: /* 41F3A4 802AA614 3C01800E */ lui $at, 0x800e /* 41F3A8 802AA618 AC22C4DC */ sw $v0, -0x3b24($at) -func_802AA61C: .L802AA61C: /* 41F3AC 802AA61C 8FBF001C */ lw $ra, 0x1c($sp) /* 41F3B0 802AA620 8FB20018 */ lw $s2, 0x18($sp) @@ -10634,13 +10611,13 @@ update_targeting_enemies: /* 41F44C 802AA6BC 14400004 */ bnez $v0, .L802AA6D0 /* 41F450 802AA6C0 3C02F7FF */ lui $v0, 0xf7ff /* 41F454 802AA6C4 8E9200D8 */ lw $s2, 0xd8($s4) -/* 41F458 802AA6C8 080AA9B6 */ j func_802AA6D8 +/* 41F458 802AA6C8 080AA9B6 */ j .L802AA6D8 /* 41F45C 802AA6CC 3442FFFF */ ori $v0, $v0, 0xffff .L802AA6D0: /* 41F460 802AA6D0 8E9200DC */ lw $s2, 0xdc($s4) /* 41F464 802AA6D4 3442FFFF */ ori $v0, $v0, 0xffff -func_802AA6D8: +.L802AA6D8: /* 41F468 802AA6D8 8253040C */ lb $s3, 0x40c($s2) /* 41F46C 802AA6DC 8E430000 */ lw $v1, ($s2) /* 41F470 802AA6E0 82500425 */ lb $s0, 0x425($s2) @@ -10656,7 +10633,7 @@ func_802AA6D8: /* 41F498 802AA708 24020002 */ addiu $v0, $zero, 2 /* 41F49C 802AA70C 10600009 */ beqz $v1, .L802AA734 /* 41F4A0 802AA710 24040015 */ addiu $a0, $zero, 0x15 -/* 41F4A4 802AA714 080AAB2D */ j func_802AACB4 +/* 41F4A4 802AA714 080AAB2D */ j .L802AACB4 /* 41F4A8 802AA718 00000000 */ nop .L802AA71C: @@ -10664,7 +10641,7 @@ func_802AA6D8: /* 41F4B0 802AA720 2402000A */ addiu $v0, $zero, 0xa /* 41F4B4 802AA724 1062011B */ beq $v1, $v0, .L802AAB94 /* 41F4B8 802AA728 00000000 */ nop -/* 41F4BC 802AA72C 080AAB2D */ j func_802AACB4 +/* 41F4BC 802AA72C 080AAB2D */ j .L802AACB4 /* 41F4C0 802AA730 00000000 */ nop .L802AA734: @@ -10746,10 +10723,9 @@ func_802AA6D8: /* 41F5DC 802AA84C 8683006E */ lh $v1, 0x6e($s4) /* 41F5E0 802AA850 3C01800E */ lui $at, 0x800e /* 41F5E4 802AA854 AC23C4DC */ sw $v1, -0x3b24($at) -/* 41F5E8 802AA858 080AAACE */ j func_802AAB38 +/* 41F5E8 802AA858 080AAACE */ j .L802AAB38 /* 41F5EC 802AA85C 00000000 */ nop -func_802AA860: .L802AA860: /* 41F5F0 802AA860 8C820004 */ lw $v0, 4($a0) /* 41F5F4 802AA864 8683006E */ lh $v1, 0x6e($s4) @@ -10758,7 +10734,7 @@ func_802AA860: /* 41F600 802AA870 AC23C4DC */ sw $v1, -0x3b24($at) /* 41F604 802AA874 104000C1 */ beqz $v0, .L802AAB7C /* 41F608 802AA878 00000000 */ nop -/* 41F60C 802AA87C 080AAADB */ j func_802AAB6C +/* 41F60C 802AA87C 080AAADB */ j .L802AAB6C /* 41F610 802AA880 00000000 */ nop .L802AA884: @@ -10770,7 +10746,7 @@ func_802AA860: /* 41F628 802AA898 00431024 */ and $v0, $v0, $v1 /* 41F62C 802AA89C 1040FFEB */ beqz $v0, .L802AA84C /* 41F630 802AA8A0 00000000 */ nop -/* 41F634 802AA8A4 080AAA18 */ j func_802AA860 +/* 41F634 802AA8A4 080AAA18 */ j .L802AA860 /* 41F638 802AA8A8 00000000 */ nop .L802AA8AC: @@ -10799,7 +10775,7 @@ func_802AA860: /* 41F68C 802AA8FC 24020001 */ addiu $v0, $zero, 1 /* 41F690 802AA900 3C01800E */ lui $at, 0x800e /* 41F694 802AA904 AC22C4DC */ sw $v0, -0x3b24($at) -/* 41F698 802AA908 080AAB2D */ j func_802AACB4 +/* 41F698 802AA908 080AAB2D */ j .L802AACB4 /* 41F69C 802AA90C 00000000 */ nop .L802AA910: @@ -10821,7 +10797,7 @@ func_802AA860: /* 41F6D8 802AA948 2402000A */ addiu $v0, $zero, 0xa /* 41F6DC 802AA94C 3C01800E */ lui $at, 0x800e /* 41F6E0 802AA950 AC22C4DC */ sw $v0, -0x3b24($at) -/* 41F6E4 802AA954 080AAB2D */ j func_802AACB4 +/* 41F6E4 802AA954 080AAB2D */ j .L802AACB4 /* 41F6E8 802AA958 00000000 */ nop .L802AA95C: @@ -10838,7 +10814,7 @@ func_802AA860: /* 41F714 802AA984 24020002 */ addiu $v0, $zero, 2 /* 41F718 802AA988 3C01800E */ lui $at, 0x800e /* 41F71C 802AA98C AC22C4DC */ sw $v0, -0x3b24($at) -/* 41F720 802AA990 080AAB2D */ j func_802AACB4 +/* 41F720 802AA990 080AAB2D */ j .L802AACB4 /* 41F724 802AA994 00000000 */ nop .L802AA998: @@ -10852,7 +10828,7 @@ func_802AA860: /* 41F744 802AA9B4 AC830000 */ sw $v1, ($a0) /* 41F748 802AA9B8 2402FFFD */ addiu $v0, $zero, -3 /* 41F74C 802AA9BC 00621024 */ and $v0, $v1, $v0 -/* 41F750 802AA9C0 080AAB2D */ j func_802AACB4 +/* 41F750 802AA9C0 080AAB2D */ j .L802AACB4 /* 41F754 802AA9C4 AC820000 */ sw $v0, ($a0) .L802AA9C8: @@ -10895,19 +10871,19 @@ func_802AA860: /* 41F7D8 802AAA48 0220202D */ daddu $a0, $s1, $zero /* 41F7DC 802AAA4C 3C058008 */ lui $a1, 0x8008 /* 41F7E0 802AAA50 24A50208 */ addiu $a1, $a1, 0x208 -/* 41F7E4 802AAA54 080AAA99 */ j func_802AAA64 +/* 41F7E4 802AAA54 080AAA99 */ j .L802AAA64 /* 41F7E8 802AAA58 00000000 */ nop .L802AAA5C: /* 41F7EC 802AAA5C 3C058008 */ lui $a1, 0x8008 /* 41F7F0 802AAA60 24A5FF20 */ addiu $a1, $a1, -0xe0 -func_802AAA64: +.L802AAA64: /* 41F7F4 802AAA64 0C0511FF */ jal set_menu_icon_script /* 41F7F8 802AAA68 00000000 */ nop /* 41F7FC 802AAA6C 0C05272D */ jal play_sound /* 41F800 802AAA70 240400C7 */ addiu $a0, $zero, 0xc7 .L802AAA74: -/* 41F804 802AAA74 080AAB2D */ j func_802AACB4 +/* 41F804 802AAA74 080AAB2D */ j .L802AACB4 /* 41F808 802AAA78 A2500425 */ sb $s0, 0x425($s2) .L802AAA7C: @@ -10958,17 +10934,16 @@ func_802AAA64: /* 41F8B4 802AAB24 00000000 */ nop /* 41F8B8 802AAB28 0C0AA6D1 */ jal func_802A9B44 /* 41F8BC 802AAB2C 00000000 */ nop -/* 41F8C0 802AAB30 080AAAD0 */ j func_802AAB40 +/* 41F8C0 802AAB30 080AAAD0 */ j .L802AAB40 /* 41F8C4 802AAB34 00000000 */ nop -func_802AAB38: .L802AAB38: /* 41F8C8 802AAB38 0C0A9662 */ jal update_player_menu /* 41F8CC 802AAB3C 00000000 */ nop -func_802AAB40: +.L802AAB40: /* 41F8D0 802AAB40 0C090464 */ jal func_80241190 /* 41F8D4 802AAB44 24040012 */ addiu $a0, $zero, 0x12 -/* 41F8D8 802AAB48 080AAB2D */ j func_802AACB4 +/* 41F8D8 802AAB48 080AAB2D */ j .L802AACB4 /* 41F8DC 802AAB4C 00000000 */ nop .L802AAB50: @@ -10979,19 +10954,19 @@ func_802AAB40: /* 41F8F0 802AAB60 AC23C4DC */ sw $v1, -0x3b24($at) /* 41F8F4 802AAB64 10400005 */ beqz $v0, .L802AAB7C /* 41F8F8 802AAB68 00000000 */ nop -func_802AAB6C: +.L802AAB6C: /* 41F8FC 802AAB6C 0C0AA82E */ jal func_802AA0B8 /* 41F900 802AAB70 00000000 */ nop -/* 41F904 802AAB74 080AAAE1 */ j func_802AAB84 +/* 41F904 802AAB74 080AAAE1 */ j .L802AAB84 /* 41F908 802AAB78 00000000 */ nop .L802AAB7C: /* 41F90C 802AAB7C 0C0AA072 */ jal update_partner_menu /* 41F910 802AAB80 00000000 */ nop -func_802AAB84: +.L802AAB84: /* 41F914 802AAB84 0C090464 */ jal func_80241190 /* 41F918 802AAB88 24040013 */ addiu $a0, $zero, 0x13 -/* 41F91C 802AAB8C 080AAB2D */ j func_802AACB4 +/* 41F91C 802AAB8C 080AAB2D */ j .L802AACB4 /* 41F920 802AAB90 00000000 */ nop .L802AAB94: @@ -11031,7 +11006,7 @@ func_802AAB84: /* 41F9A0 802AAC10 AC23C4DC */ sw $v1, -0x3b24($at) /* 41F9A4 802AAC14 10400014 */ beqz $v0, .L802AAC68 /* 41F9A8 802AAC18 00000000 */ nop -/* 41F9AC 802AAC1C 080AAB16 */ j func_802AAC58 +/* 41F9AC 802AAC1C 080AAB16 */ j .L802AAC58 /* 41F9B0 802AAC20 00000000 */ nop .L802AAC24: @@ -11048,16 +11023,16 @@ func_802AAB84: /* 41F9DC 802AAC4C AC23C4DC */ sw $v1, -0x3b24($at) /* 41F9E0 802AAC50 10400005 */ beqz $v0, .L802AAC68 /* 41F9E4 802AAC54 00000000 */ nop -func_802AAC58: +.L802AAC58: /* 41F9E8 802AAC58 0C0AA6D1 */ jal func_802A9B44 /* 41F9EC 802AAC5C 00000000 */ nop -/* 41F9F0 802AAC60 080AAB2D */ j func_802AACB4 +/* 41F9F0 802AAC60 080AAB2D */ j .L802AACB4 /* 41F9F4 802AAC64 00000000 */ nop .L802AAC68: /* 41F9F8 802AAC68 0C0A9662 */ jal update_player_menu /* 41F9FC 802AAC6C 00000000 */ nop -/* 41FA00 802AAC70 080AAB2D */ j func_802AACB4 +/* 41FA00 802AAC70 080AAB2D */ j .L802AACB4 /* 41FA04 802AAC74 00000000 */ nop .L802AAC78: @@ -11072,13 +11047,12 @@ func_802AAC58: /* 41FA28 802AAC98 00000000 */ nop /* 41FA2C 802AAC9C 0C0AA82E */ jal func_802AA0B8 /* 41FA30 802AACA0 00000000 */ nop -/* 41FA34 802AACA4 080AAB2D */ j func_802AACB4 +/* 41FA34 802AACA4 080AAB2D */ j .L802AACB4 /* 41FA38 802AACA8 00000000 */ nop .L802AACAC: /* 41FA3C 802AACAC 0C0AA072 */ jal update_partner_menu /* 41FA40 802AACB0 00000000 */ nop -func_802AACB4: .L802AACB4: /* 41FA44 802AACB4 8FBF0028 */ lw $ra, 0x28($sp) /* 41FA48 802AACB8 8FB50024 */ lw $s5, 0x24($sp) @@ -11113,13 +11087,13 @@ func_802AACD8: /* 41FAB4 802AAD24 00000000 */ nop /* 41FAB8 802AAD28 3C16800E */ lui $s6, 0x800e /* 41FABC 802AAD2C 8ED6C148 */ lw $s6, -0x3eb8($s6) -/* 41FAC0 802AAD30 080AAB50 */ j func_802AAD40 +/* 41FAC0 802AAD30 080AAB50 */ j .L802AAD40 /* 41FAC4 802AAD34 00000000 */ nop .L802AAD38: /* 41FAC8 802AAD38 3C16800E */ lui $s6, 0x800e /* 41FACC 802AAD3C 8ED6C14C */ lw $s6, -0x3eb4($s6) -func_802AAD40: +.L802AAD40: /* 41FAD0 802AAD40 82C9040C */ lb $t1, 0x40c($s6) /* 41FAD4 802AAD44 AFA9005C */ sw $t1, 0x5c($sp) /* 41FAD8 802AAD48 82C90425 */ lb $t1, 0x425($s6) @@ -11166,7 +11140,7 @@ func_802AAD40: /* 41FB7C 802AADEC 0200202D */ daddu $a0, $s0, $zero /* 41FB80 802AADF0 3C058008 */ lui $a1, 0x8008 /* 41FB84 802AADF4 24A50208 */ addiu $a1, $a1, 0x208 -/* 41FB88 802AADF8 080AAB86 */ j func_802AAE18 +/* 41FB88 802AADF8 080AAB86 */ j .L802AAE18 /* 41FB8C 802AADFC 00000000 */ nop .L802AAE00: @@ -11176,7 +11150,7 @@ func_802AAD40: /* 41FB9C 802AAE0C 0200202D */ daddu $a0, $s0, $zero /* 41FBA0 802AAE10 3C058008 */ lui $a1, 0x8008 /* 41FBA4 802AAE14 24A5FF20 */ addiu $a1, $a1, -0xe0 -func_802AAE18: +.L802AAE18: /* 41FBA8 802AAE18 50450004 */ beql $v0, $a1, .L802AAE2C /* 41FBAC 802AAE1C 24040001 */ addiu $a0, $zero, 1 /* 41FBB0 802AAE20 0C0511FF */ jal set_menu_icon_script @@ -11203,7 +11177,7 @@ func_802AAE18: /* 41FC00 802AAE70 8CA5CC64 */ lw $a1, -0x339c($a1) /* 41FC04 802AAE74 0C0513AC */ jal func_80144EB0 /* 41FC08 802AAE78 0200202D */ daddu $a0, $s0, $zero -/* 41FC0C 802AAE7C 080AABED */ j func_802AAFB4 +/* 41FC0C 802AAE7C 080AABED */ j .L802AAFB4 /* 41FC10 802AAE80 00000000 */ nop .L802AAE84: @@ -11247,7 +11221,7 @@ func_802AAE18: /* 41FCA4 802AAF14 25290208 */ addiu $t1, $t1, 0x208 /* 41FCA8 802AAF18 1049000C */ beq $v0, $t1, .L802AAF4C /* 41FCAC 802AAF1C 0120282D */ daddu $a1, $t1, $zero -/* 41FCB0 802AAF20 080AABD1 */ j func_802AAF44 +/* 41FCB0 802AAF20 080AABD1 */ j .L802AAF44 /* 41FCB4 802AAF24 0200202D */ daddu $a0, $s0, $zero .L802AAF28: @@ -11258,7 +11232,7 @@ func_802AAE18: /* 41FCC8 802AAF38 105E0004 */ beq $v0, $fp, .L802AAF4C /* 41FCCC 802AAF3C 03C0282D */ daddu $a1, $fp, $zero /* 41FCD0 802AAF40 0200202D */ daddu $a0, $s0, $zero -func_802AAF44: +.L802AAF44: /* 41FCD4 802AAF44 0C0511FF */ jal set_menu_icon_script /* 41FCD8 802AAF48 00000000 */ nop .L802AAF4C: @@ -11288,7 +11262,6 @@ func_802AAF44: /* 41FD38 802AAFA8 0249102A */ slt $v0, $s2, $t1 /* 41FD3C 802AAFAC 1440FFBB */ bnez $v0, .L802AAE9C /* 41FD40 802AAFB0 26B50004 */ addiu $s5, $s5, 4 -func_802AAFB4: .L802AAFB4: /* 41FD44 802AAFB4 3C028011 */ lui $v0, 0x8011 /* 41FD48 802AAFB8 2442F290 */ addiu $v0, $v0, -0xd70 @@ -11316,7 +11289,7 @@ func_802AAFB4: /* 41FD98 802AB008 14600004 */ bnez $v1, .L802AB01C /* 41FD9C 802AB00C 24020100 */ addiu $v0, $zero, 0x100 /* 41FDA0 802AB010 3C04001D */ lui $a0, 0x1d -/* 41FDA4 802AB014 080AAC3C */ j func_802AB0F0 +/* 41FDA4 802AB014 080AAC3C */ j .L802AB0F0 /* 41FDA8 802AB018 348400C4 */ ori $a0, $a0, 0xc4 .L802AB01C: @@ -11324,7 +11297,7 @@ func_802AAFB4: /* 41FDB0 802AB020 00121080 */ sll $v0, $s2, 2 /* 41FDB4 802AB024 3C04802B */ lui $a0, 0x802b /* 41FDB8 802AB028 00822021 */ addu $a0, $a0, $v0 -/* 41FDBC 802AB02C 080AAC3C */ j func_802AB0F0 +/* 41FDBC 802AB02C 080AAC3C */ j .L802AB0F0 /* 41FDC0 802AB030 8C84B738 */ lw $a0, -0x48c8($a0) .L802AB034: @@ -11351,7 +11324,7 @@ func_802AAFB4: /* 41FE14 802AB084 3C048028 */ lui $a0, 0x8028 /* 41FE18 802AB088 00822021 */ addu $a0, $a0, $v0 /* 41FE1C 802AB08C 8C841104 */ lw $a0, 0x1104($a0) -/* 41FE20 802AB090 080AAC3C */ j func_802AB0F0 +/* 41FE20 802AB090 080AAC3C */ j .L802AB0F0 /* 41FE24 802AB094 00000000 */ nop .L802AB098: @@ -11367,7 +11340,7 @@ func_802AAFB4: /* 41FE4C 802AB0BC 14600004 */ bnez $v1, .L802AB0D0 /* 41FE50 802AB0C0 24020100 */ addiu $v0, $zero, 0x100 /* 41FE54 802AB0C4 3C04001D */ lui $a0, 0x1d -/* 41FE58 802AB0C8 080AAC3C */ j func_802AB0F0 +/* 41FE58 802AB0C8 080AAC3C */ j .L802AB0F0 /* 41FE5C 802AB0CC 348400C4 */ ori $a0, $a0, 0xc4 .L802AB0D0: @@ -11376,12 +11349,11 @@ func_802AAFB4: /* 41FE68 802AB0D8 00121080 */ sll $v0, $s2, 2 /* 41FE6C 802AB0DC 3C04802B */ lui $a0, 0x802b /* 41FE70 802AB0E0 00822021 */ addu $a0, $a0, $v0 -/* 41FE74 802AB0E4 080AAC3C */ j func_802AB0F0 +/* 41FE74 802AB0E4 080AAC3C */ j .L802AB0F0 /* 41FE78 802AB0E8 8C84B738 */ lw $a0, -0x48c8($a0) .L802AB0EC: /* 41FE7C 802AB0EC 348400C5 */ ori $a0, $a0, 0xc5 -func_802AB0F0: .L802AB0F0: /* 41FE80 802AB0F0 0C04991D */ jal get_string_width /* 41FE84 802AB0F4 0000282D */ daddu $a1, $zero, $zero @@ -11434,7 +11406,7 @@ func_802AB0F0: /* 41FF3C 802AB1AC 14600004 */ bnez $v1, .L802AB1C0 /* 41FF40 802AB1B0 24020100 */ addiu $v0, $zero, 0x100 /* 41FF44 802AB1B4 3C04001D */ lui $a0, 0x1d -/* 41FF48 802AB1B8 080AACB5 */ j func_802AB2D4 +/* 41FF48 802AB1B8 080AACB5 */ j .L802AB2D4 /* 41FF4C 802AB1BC 348400C4 */ ori $a0, $a0, 0xc4 .L802AB1C0: @@ -11447,7 +11419,7 @@ func_802AB0F0: /* 41FF68 802AB1D8 3C04802B */ lui $a0, 0x802b /* 41FF6C 802AB1DC 00822021 */ addu $a0, $a0, $v0 /* 41FF70 802AB1E0 8C84B738 */ lw $a0, -0x48c8($a0) -/* 41FF74 802AB1E4 080AACBA */ j func_802AB2E8 +/* 41FF74 802AB1E4 080AACBA */ j .L802AB2E8 /* 41FF78 802AB1E8 240700FF */ addiu $a3, $zero, 0xff .L802AB1EC: @@ -11482,7 +11454,7 @@ func_802AB0F0: /* 41FFE8 802AB258 24020036 */ addiu $v0, $zero, 0x36 /* 41FFEC 802AB25C AFA20010 */ sw $v0, 0x10($sp) /* 41FFF0 802AB260 AFA00014 */ sw $zero, 0x14($sp) -/* 41FFF4 802AB264 080AACBB */ j func_802AB2EC +/* 41FFF4 802AB264 080AACBB */ j .L802AB2EC /* 41FFF8 802AB268 00652821 */ addu $a1, $v1, $a1 .L802AB26C: @@ -11497,7 +11469,7 @@ func_802AB0F0: /* 42001C 802AB28C 14600004 */ bnez $v1, .L802AB2A0 /* 420020 802AB290 24020100 */ addiu $v0, $zero, 0x100 /* 420024 802AB294 3C04001D */ lui $a0, 0x1d -/* 420028 802AB298 080AACB5 */ j func_802AB2D4 +/* 420028 802AB298 080AACB5 */ j .L802AB2D4 /* 42002C 802AB29C 348400C4 */ ori $a0, $a0, 0xc4 .L802AB2A0: @@ -11511,20 +11483,20 @@ func_802AB0F0: /* 42004C 802AB2BC 3C04802B */ lui $a0, 0x802b /* 420050 802AB2C0 00822021 */ addu $a0, $a0, $v0 /* 420054 802AB2C4 8C84B738 */ lw $a0, -0x48c8($a0) -/* 420058 802AB2C8 080AACBA */ j func_802AB2E8 +/* 420058 802AB2C8 080AACBA */ j .L802AB2E8 /* 42005C 802AB2CC 240700FF */ addiu $a3, $zero, 0xff .L802AB2D0: /* 420060 802AB2D0 348400C5 */ ori $a0, $a0, 0xc5 -func_802AB2D4: +.L802AB2D4: /* 420064 802AB2D4 240700FF */ addiu $a3, $zero, 0xff /* 420068 802AB2D8 8E050000 */ lw $a1, ($s0) /* 42006C 802AB2DC 24020036 */ addiu $v0, $zero, 0x36 /* 420070 802AB2E0 AFA20010 */ sw $v0, 0x10($sp) /* 420074 802AB2E4 AFA00014 */ sw $zero, 0x14($sp) -func_802AB2E8: +.L802AB2E8: /* 420078 802AB2E8 01052821 */ addu $a1, $t0, $a1 -func_802AB2EC: +.L802AB2EC: /* 42007C 802AB2EC 0C04993B */ jal draw_string /* 420080 802AB2F0 00000000 */ nop .L802AB2F4: diff --git a/papermario/asm/code_759b0_len_61b0.s b/papermario/asm/code_759b0_len_61b0.s new file mode 100644 index 0000000000..ebaa8f798b --- /dev/null +++ b/papermario/asm/code_759b0_len_61b0.s @@ -0,0 +1,6730 @@ +# %s disassembly and split file +# generated by n64split v%s - N64 ROM splitter + +# assembler directives +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches +.set gp=64 # allow use of 64-bit general purpose registers + +.include "globals.inc" + + +.section .text800DC500, "ax" + +func_800DC500: +/* 0759B0 800DC500 27BDFF60 */ addiu $sp, $sp, -0xa0 +/* 0759B4 800DC504 AFB00070 */ sw $s0, 0x70($sp) +/* 0759B8 800DC508 0080802D */ daddu $s0, $a0, $zero +/* 0759BC 800DC50C AFB20078 */ sw $s2, 0x78($sp) +/* 0759C0 800DC510 00A0902D */ daddu $s2, $a1, $zero +/* 0759C4 800DC514 AFB3007C */ sw $s3, 0x7c($sp) +/* 0759C8 800DC518 00C0982D */ daddu $s3, $a2, $zero +/* 0759CC 800DC51C AFB40080 */ sw $s4, 0x80($sp) +/* 0759D0 800DC520 00E0A02D */ daddu $s4, $a3, $zero +/* 0759D4 800DC524 AFB50084 */ sw $s5, 0x84($sp) +/* 0759D8 800DC528 8FB500B0 */ lw $s5, 0xb0($sp) +/* 0759DC 800DC52C 27A20038 */ addiu $v0, $sp, 0x38 +/* 0759E0 800DC530 AFBF0088 */ sw $ra, 0x88($sp) +/* 0759E4 800DC534 AFB10074 */ sw $s1, 0x74($sp) +/* 0759E8 800DC538 F7B60098 */ sdc1 $f22, 0x98($sp) +/* 0759EC 800DC53C F7B40090 */ sdc1 $f20, 0x90($sp) +/* 0759F0 800DC540 C6A00000 */ lwc1 $f0, ($s5) +/* 0759F4 800DC544 3C01BF80 */ lui $at, 0xbf80 +/* 0759F8 800DC548 4481A000 */ mtc1 $at, $f20 +/* 0759FC 800DC54C 46000005 */ abs.s $f0, $f0 +/* 075A00 800DC550 E7A00044 */ swc1 $f0, 0x44($sp) +/* 075A04 800DC554 E7A00060 */ swc1 $f0, 0x60($sp) +/* 075A08 800DC558 C6440000 */ lwc1 $f4, ($s2) +/* 075A0C 800DC55C C6600000 */ lwc1 $f0, ($s3) +/* 075A10 800DC560 C6820000 */ lwc1 $f2, ($s4) +/* 075A14 800DC564 AFA2001C */ sw $v0, 0x1c($sp) +/* 075A18 800DC568 27A2003C */ addiu $v0, $sp, 0x3c +/* 075A1C 800DC56C AFA20020 */ sw $v0, 0x20($sp) +/* 075A20 800DC570 27A20040 */ addiu $v0, $sp, 0x40 +/* 075A24 800DC574 AFA20024 */ sw $v0, 0x24($sp) +/* 075A28 800DC578 27A20044 */ addiu $v0, $sp, 0x44 +/* 075A2C 800DC57C AFA20028 */ sw $v0, 0x28($sp) +/* 075A30 800DC580 27A20048 */ addiu $v0, $sp, 0x48 +/* 075A34 800DC584 AFA2002C */ sw $v0, 0x2c($sp) +/* 075A38 800DC588 27A2004C */ addiu $v0, $sp, 0x4c +/* 075A3C 800DC58C AFA20030 */ sw $v0, 0x30($sp) +/* 075A40 800DC590 44060000 */ mfc1 $a2, $f0 +/* 075A44 800DC594 44071000 */ mfc1 $a3, $f2 +/* 075A48 800DC598 44052000 */ mfc1 $a1, $f4 +/* 075A4C 800DC59C 27A20050 */ addiu $v0, $sp, 0x50 +/* 075A50 800DC5A0 AFA00010 */ sw $zero, 0x10($sp) +/* 075A54 800DC5A4 E7B40014 */ swc1 $f20, 0x14($sp) +/* 075A58 800DC5A8 AFA00018 */ sw $zero, 0x18($sp) +/* 075A5C 800DC5AC 0C017334 */ jal test_ray_colliders +/* 075A60 800DC5B0 AFA20034 */ sw $v0, 0x34($sp) +/* 075A64 800DC5B4 0040882D */ daddu $s1, $v0, $zero +/* 075A68 800DC5B8 3C020004 */ lui $v0, 4 +/* 075A6C 800DC5BC 02028024 */ and $s0, $s0, $v0 +/* 075A70 800DC5C0 1600002E */ bnez $s0, .L800DC67C +/* 075A74 800DC5C4 27A20054 */ addiu $v0, $sp, 0x54 +/* 075A78 800DC5C8 44800000 */ mtc1 $zero, $f0 +/* 075A7C 800DC5CC AFA20018 */ sw $v0, 0x18($sp) +/* 075A80 800DC5D0 27A20058 */ addiu $v0, $sp, 0x58 +/* 075A84 800DC5D4 AFA2001C */ sw $v0, 0x1c($sp) +/* 075A88 800DC5D8 27A2005C */ addiu $v0, $sp, 0x5c +/* 075A8C 800DC5DC AFA20020 */ sw $v0, 0x20($sp) +/* 075A90 800DC5E0 27A20060 */ addiu $v0, $sp, 0x60 +/* 075A94 800DC5E4 AFA20024 */ sw $v0, 0x24($sp) +/* 075A98 800DC5E8 27A20064 */ addiu $v0, $sp, 0x64 +/* 075A9C 800DC5EC AFA20028 */ sw $v0, 0x28($sp) +/* 075AA0 800DC5F0 27A20068 */ addiu $v0, $sp, 0x68 +/* 075AA4 800DC5F4 AFA2002C */ sw $v0, 0x2c($sp) +/* 075AA8 800DC5F8 27A2006C */ addiu $v0, $sp, 0x6c +/* 075AAC 800DC5FC E7B40010 */ swc1 $f20, 0x10($sp) +/* 075AB0 800DC600 AFA20030 */ sw $v0, 0x30($sp) +/* 075AB4 800DC604 E7A00014 */ swc1 $f0, 0x14($sp) +/* 075AB8 800DC608 C64C0000 */ lwc1 $f12, ($s2) +/* 075ABC 800DC60C C66E0000 */ lwc1 $f14, ($s3) +/* 075AC0 800DC610 8E860000 */ lw $a2, ($s4) +/* 075AC4 800DC614 44070000 */ mfc1 $a3, $f0 +/* 075AC8 800DC618 0C017512 */ jal test_ray_entities +/* 075ACC 800DC61C 00000000 */ nop +/* 075AD0 800DC620 04400014 */ bltz $v0, .L800DC674 +/* 075AD4 800DC624 00000000 */ nop +/* 075AD8 800DC628 C7AC0060 */ lwc1 $f12, 0x60($sp) +/* 075ADC 800DC62C C7A00044 */ lwc1 $f0, 0x44($sp) +/* 075AE0 800DC630 4600603C */ c.lt.s $f12, $f0 +/* 075AE4 800DC634 00000000 */ nop +/* 075AE8 800DC638 4500000E */ bc1f .L800DC674 +/* 075AEC 800DC63C 34514000 */ ori $s1, $v0, 0x4000 +/* 075AF0 800DC640 C7A00054 */ lwc1 $f0, 0x54($sp) +/* 075AF4 800DC644 C7A20058 */ lwc1 $f2, 0x58($sp) +/* 075AF8 800DC648 C7A4005C */ lwc1 $f4, 0x5c($sp) +/* 075AFC 800DC64C C7A60064 */ lwc1 $f6, 0x64($sp) +/* 075B00 800DC650 C7A80068 */ lwc1 $f8, 0x68($sp) +/* 075B04 800DC654 C7AA006C */ lwc1 $f10, 0x6c($sp) +/* 075B08 800DC658 E7AC0044 */ swc1 $f12, 0x44($sp) +/* 075B0C 800DC65C E7A00038 */ swc1 $f0, 0x38($sp) +/* 075B10 800DC660 E7A2003C */ swc1 $f2, 0x3c($sp) +/* 075B14 800DC664 E7A40040 */ swc1 $f4, 0x40($sp) +/* 075B18 800DC668 E7A60048 */ swc1 $f6, 0x48($sp) +/* 075B1C 800DC66C E7A8004C */ swc1 $f8, 0x4c($sp) +/* 075B20 800DC670 E7AA0050 */ swc1 $f10, 0x50($sp) +.L800DC674: +/* 075B24 800DC674 06200035 */ bltz $s1, .L800DC74C +/* 075B28 800DC678 0220102D */ daddu $v0, $s1, $zero +.L800DC67C: +/* 075B2C 800DC67C C7A00044 */ lwc1 $f0, 0x44($sp) +/* 075B30 800DC680 E6A00000 */ swc1 $f0, ($s5) +/* 075B34 800DC684 C7A00038 */ lwc1 $f0, 0x38($sp) +/* 075B38 800DC688 E6400000 */ swc1 $f0, ($s2) +/* 075B3C 800DC68C C7A0003C */ lwc1 $f0, 0x3c($sp) +/* 075B40 800DC690 E6600000 */ swc1 $f0, ($s3) +/* 075B44 800DC694 C7A00040 */ lwc1 $f0, 0x40($sp) +/* 075B48 800DC698 0620002B */ bltz $s1, .L800DC748 +/* 075B4C 800DC69C E6800000 */ swc1 $f0, ($s4) +/* 075B50 800DC6A0 C7A40050 */ lwc1 $f4, 0x50($sp) +/* 075B54 800DC6A4 3C0142C8 */ lui $at, 0x42c8 +/* 075B58 800DC6A8 4481A000 */ mtc1 $at, $f20 +/* 075B5C 800DC6AC 00000000 */ nop +/* 075B60 800DC6B0 46142402 */ mul.s $f16, $f4, $f20 +/* 075B64 800DC6B4 00000000 */ nop +/* 075B68 800DC6B8 3C108007 */ lui $s0, 0x8007 +/* 075B6C 800DC6BC 2610419C */ addiu $s0, $s0, 0x419c +/* 075B70 800DC6C0 C7A2004C */ lwc1 $f2, 0x4c($sp) +/* 075B74 800DC6C4 44068000 */ mfc1 $a2, $f16 +/* 075B78 800DC6C8 46141402 */ mul.s $f16, $f2, $f20 +/* 075B7C 800DC6CC 00000000 */ nop +/* 075B80 800DC6D0 4480B000 */ mtc1 $zero, $f22 +/* 075B84 800DC6D4 8E020000 */ lw $v0, ($s0) +/* 075B88 800DC6D8 C7A00048 */ lwc1 $f0, 0x48($sp) +/* 075B8C 800DC6DC 4600B306 */ mov.s $f12, $f22 +/* 075B90 800DC6E0 44078000 */ mfc1 $a3, $f16 +/* 075B94 800DC6E4 4600B386 */ mov.s $f14, $f22 +/* 075B98 800DC6E8 E4400128 */ swc1 $f0, 0x128($v0) +/* 075B9C 800DC6EC E442012C */ swc1 $f2, 0x12c($v0) +/* 075BA0 800DC6F0 0C00A720 */ jal atan2 +/* 075BA4 800DC6F4 E4440130 */ swc1 $f4, 0x130($v0) +/* 075BA8 800DC6F8 C7A20048 */ lwc1 $f2, 0x48($sp) +/* 075BAC 800DC6FC 46141082 */ mul.s $f2, $f2, $f20 +/* 075BB0 800DC700 00000000 */ nop +/* 075BB4 800DC704 44061000 */ mfc1 $a2, $f2 +/* 075BB8 800DC708 C7A2004C */ lwc1 $f2, 0x4c($sp) +/* 075BBC 800DC70C 46141082 */ mul.s $f2, $f2, $f20 +/* 075BC0 800DC710 00000000 */ nop +/* 075BC4 800DC714 4600B306 */ mov.s $f12, $f22 +/* 075BC8 800DC718 46006386 */ mov.s $f14, $f12 +/* 075BCC 800DC71C 8E020000 */ lw $v0, ($s0) +/* 075BD0 800DC720 44071000 */ mfc1 $a3, $f2 +/* 075BD4 800DC724 46000007 */ neg.s $f0, $f0 +/* 075BD8 800DC728 E440011C */ swc1 $f0, 0x11c($v0) +/* 075BDC 800DC72C 0C00A720 */ jal atan2 +/* 075BE0 800DC730 E44C0120 */ swc1 $f12, 0x120($v0) +/* 075BE4 800DC734 0220102D */ daddu $v0, $s1, $zero +/* 075BE8 800DC738 8E030000 */ lw $v1, ($s0) +/* 075BEC 800DC73C 46000007 */ neg.s $f0, $f0 +/* 075BF0 800DC740 080371D3 */ j .L800DC74C +/* 075BF4 800DC744 E4600124 */ swc1 $f0, 0x124($v1) + +.L800DC748: +/* 075BF8 800DC748 0220102D */ daddu $v0, $s1, $zero +.L800DC74C: +/* 075BFC 800DC74C 8FBF0088 */ lw $ra, 0x88($sp) +/* 075C00 800DC750 8FB50084 */ lw $s5, 0x84($sp) +/* 075C04 800DC754 8FB40080 */ lw $s4, 0x80($sp) +/* 075C08 800DC758 8FB3007C */ lw $s3, 0x7c($sp) +/* 075C0C 800DC75C 8FB20078 */ lw $s2, 0x78($sp) +/* 075C10 800DC760 8FB10074 */ lw $s1, 0x74($sp) +/* 075C14 800DC764 8FB00070 */ lw $s0, 0x70($sp) +/* 075C18 800DC768 D7B60098 */ ldc1 $f22, 0x98($sp) +/* 075C1C 800DC76C D7B40090 */ ldc1 $f20, 0x90($sp) +/* 075C20 800DC770 03E00008 */ jr $ra +/* 075C24 800DC774 27BD00A0 */ addiu $sp, $sp, 0xa0 + +func_800DC778: +/* 075C28 800DC778 27BDFF78 */ addiu $sp, $sp, -0x88 +/* 075C2C 800DC77C F7B80068 */ sdc1 $f24, 0x68($sp) +/* 075C30 800DC780 C7B800A0 */ lwc1 $f24, 0xa0($sp) +/* 075C34 800DC784 AFB40050 */ sw $s4, 0x50($sp) +/* 075C38 800DC788 8FB40098 */ lw $s4, 0x98($sp) +/* 075C3C 800DC78C AFBF0054 */ sw $ra, 0x54($sp) +/* 075C40 800DC790 AFB3004C */ sw $s3, 0x4c($sp) +/* 075C44 800DC794 AFB20048 */ sw $s2, 0x48($sp) +/* 075C48 800DC798 AFB10044 */ sw $s1, 0x44($sp) +/* 075C4C 800DC79C AFB00040 */ sw $s0, 0x40($sp) +/* 075C50 800DC7A0 F7BE0080 */ sdc1 $f30, 0x80($sp) +/* 075C54 800DC7A4 F7BC0078 */ sdc1 $f28, 0x78($sp) +/* 075C58 800DC7A8 F7BA0070 */ sdc1 $f26, 0x70($sp) +/* 075C5C 800DC7AC F7B60060 */ sdc1 $f22, 0x60($sp) +/* 075C60 800DC7B0 F7B40058 */ sdc1 $f20, 0x58($sp) +/* 075C64 800DC7B4 C4A60000 */ lwc1 $f6, ($a1) +/* 075C68 800DC7B8 00C0882D */ daddu $s1, $a2, $zero +/* 075C6C 800DC7BC E7A60028 */ swc1 $f6, 0x28($sp) +/* 075C70 800DC7C0 C6260000 */ lwc1 $f6, ($s1) +/* 075C74 800DC7C4 0080902D */ daddu $s2, $a0, $zero +/* 075C78 800DC7C8 E7A6002C */ swc1 $f6, 0x2c($sp) +/* 075C7C 800DC7CC C4E60000 */ lwc1 $f6, ($a3) +/* 075C80 800DC7D0 3C138011 */ lui $s3, 0x8011 +/* 075C84 800DC7D4 2673C970 */ addiu $s3, $s3, -0x3690 +/* 075C88 800DC7D8 E7A60030 */ swc1 $f6, 0x30($sp) +/* 075C8C 800DC7DC C7A6002C */ lwc1 $f6, 0x2c($sp) +/* 075C90 800DC7E0 44806000 */ mtc1 $zero, $f12 +/* 075C94 800DC7E4 4600318D */ trunc.w.s $f6, $f6 +/* 075C98 800DC7E8 E6660000 */ swc1 $f6, ($s3) +/* 075C9C 800DC7EC C6200000 */ lwc1 $f0, ($s1) +/* 075CA0 800DC7F0 3C014004 */ lui $at, 0x4004 +/* 075CA4 800DC7F4 44811800 */ mtc1 $at, $f3 +/* 075CA8 800DC7F8 44801000 */ mtc1 $zero, $f2 +/* 075CAC 800DC7FC 4600018D */ trunc.w.s $f6, $f0 +/* 075CB0 800DC800 3C018011 */ lui $at, 0x8011 +/* 075CB4 800DC804 E426C94C */ swc1 $f6, -0x36b4($at) +/* 075CB8 800DC808 C7A6009C */ lwc1 $f6, 0x9c($sp) +/* 075CBC 800DC80C C6200000 */ lwc1 $f0, ($s1) +/* 075CC0 800DC810 460C3300 */ add.s $f12, $f6, $f12 +/* 075CC4 800DC814 4600018D */ trunc.w.s $f6, $f0 +/* 075CC8 800DC818 3C018011 */ lui $at, 0x8011 +/* 075CCC 800DC81C E426C974 */ swc1 $f6, -0x368c($at) +/* 075CD0 800DC820 4600C021 */ cvt.d.s $f0, $f24 +/* 075CD4 800DC824 46220003 */ div.d $f0, $f0, $f2 +/* 075CD8 800DC828 C6820000 */ lwc1 $f2, ($s4) +/* 075CDC 800DC82C 46200620 */ cvt.s.d $f24, $f0 +/* 075CE0 800DC830 0C00A6C9 */ jal clamp_angle +/* 075CE4 800DC834 46001685 */ abs.s $f26, $f2 +/* 075CE8 800DC838 3C0140C9 */ lui $at, 0x40c9 +/* 075CEC 800DC83C 34210FD0 */ ori $at, $at, 0xfd0 +/* 075CF0 800DC840 44811000 */ mtc1 $at, $f2 +/* 075CF4 800DC844 00000000 */ nop +/* 075CF8 800DC848 46020002 */ mul.s $f0, $f0, $f2 +/* 075CFC 800DC84C 00000000 */ nop +/* 075D00 800DC850 3C0143B4 */ lui $at, 0x43b4 +/* 075D04 800DC854 44811000 */ mtc1 $at, $f2 +/* 075D08 800DC858 00000000 */ nop +/* 075D0C 800DC85C 46020503 */ div.s $f20, $f0, $f2 +/* 075D10 800DC860 0C00A85B */ jal sin_rad +/* 075D14 800DC864 4600A306 */ mov.s $f12, $f20 +/* 075D18 800DC868 46000586 */ mov.s $f22, $f0 +/* 075D1C 800DC86C 0C00A874 */ jal cos_rad +/* 075D20 800DC870 4600A306 */ mov.s $f12, $f20 +/* 075D24 800DC874 4616C102 */ mul.s $f4, $f24, $f22 +/* 075D28 800DC878 00000000 */ nop +/* 075D2C 800DC87C 0000802D */ daddu $s0, $zero, $zero +/* 075D30 800DC880 0240202D */ daddu $a0, $s2, $zero +/* 075D34 800DC884 27A50018 */ addiu $a1, $sp, 0x18 +/* 075D38 800DC888 4600C087 */ neg.s $f2, $f24 +/* 075D3C 800DC88C 46001002 */ mul.s $f0, $f2, $f0 +/* 075D40 800DC890 00000000 */ nop +/* 075D44 800DC894 27A6001C */ addiu $a2, $sp, 0x1c +/* 075D48 800DC898 27A70020 */ addiu $a3, $sp, 0x20 +/* 075D4C 800DC89C C7A60028 */ lwc1 $f6, 0x28($sp) +/* 075D50 800DC8A0 3C01C6FF */ lui $at, 0xc6ff +/* 075D54 800DC8A4 3421FE00 */ ori $at, $at, 0xfe00 +/* 075D58 800DC8A8 4481E000 */ mtc1 $at, $f28 +/* 075D5C 800DC8AC 46043080 */ add.s $f2, $f6, $f4 +/* 075D60 800DC8B0 C7A6002C */ lwc1 $f6, 0x2c($sp) +/* 075D64 800DC8B4 27A20024 */ addiu $v0, $sp, 0x24 +/* 075D68 800DC8B8 E7BA0024 */ swc1 $f26, 0x24($sp) +/* 075D6C 800DC8BC E7A6001C */ swc1 $f6, 0x1c($sp) +/* 075D70 800DC8C0 C7A60030 */ lwc1 $f6, 0x30($sp) +/* 075D74 800DC8C4 4600E786 */ mov.s $f30, $f28 +/* 075D78 800DC8C8 46003000 */ add.s $f0, $f6, $f0 +/* 075D7C 800DC8CC E7BC0038 */ swc1 $f28, 0x38($sp) +/* 075D80 800DC8D0 E7A20018 */ swc1 $f2, 0x18($sp) +/* 075D84 800DC8D4 E7A00020 */ swc1 $f0, 0x20($sp) +/* 075D88 800DC8D8 0C037140 */ jal func_800DC500 +/* 075D8C 800DC8DC AFA20010 */ sw $v0, 0x10($sp) +/* 075D90 800DC8E0 0440000F */ bltz $v0, .L800DC920 +/* 075D94 800DC8E4 E7BA0034 */ swc1 $f26, 0x34($sp) +/* 075D98 800DC8E8 C7A00024 */ lwc1 $f0, 0x24($sp) +/* 075D9C 800DC8EC 461A003E */ c.le.s $f0, $f26 +/* 075DA0 800DC8F0 00000000 */ nop +/* 075DA4 800DC8F4 4500000A */ bc1f .L800DC920 +/* 075DA8 800DC8F8 00000000 */ nop +/* 075DAC 800DC8FC 46000686 */ mov.s $f26, $f0 +/* 075DB0 800DC900 C7BC001C */ lwc1 $f28, 0x1c($sp) +/* 075DB4 800DC904 24100001 */ addiu $s0, $zero, 1 +/* 075DB8 800DC908 3C018011 */ lui $at, 0x8011 +/* 075DBC 800DC90C AC22C978 */ sw $v0, -0x3688($at) +/* 075DC0 800DC910 3C018011 */ lui $at, 0x8011 +/* 075DC4 800DC914 AC22C98C */ sw $v0, -0x3674($at) +/* 075DC8 800DC918 4600E18D */ trunc.w.s $f6, $f28 +/* 075DCC 800DC91C E6660000 */ swc1 $f6, ($s3) +.L800DC920: +/* 075DD0 800DC920 3C0142F0 */ lui $at, 0x42f0 +/* 075DD4 800DC924 44816000 */ mtc1 $at, $f12 +/* 075DD8 800DC928 C7A6009C */ lwc1 $f6, 0x9c($sp) +/* 075DDC 800DC92C 0C00A6C9 */ jal clamp_angle +/* 075DE0 800DC930 460C3300 */ add.s $f12, $f6, $f12 +/* 075DE4 800DC934 3C0140C9 */ lui $at, 0x40c9 +/* 075DE8 800DC938 34210FD0 */ ori $at, $at, 0xfd0 +/* 075DEC 800DC93C 44811000 */ mtc1 $at, $f2 +/* 075DF0 800DC940 00000000 */ nop +/* 075DF4 800DC944 46020002 */ mul.s $f0, $f0, $f2 +/* 075DF8 800DC948 00000000 */ nop +/* 075DFC 800DC94C 3C0143B4 */ lui $at, 0x43b4 +/* 075E00 800DC950 44811000 */ mtc1 $at, $f2 +/* 075E04 800DC954 00000000 */ nop +/* 075E08 800DC958 46020503 */ div.s $f20, $f0, $f2 +/* 075E0C 800DC95C 0C00A85B */ jal sin_rad +/* 075E10 800DC960 4600A306 */ mov.s $f12, $f20 +/* 075E14 800DC964 46000586 */ mov.s $f22, $f0 +/* 075E18 800DC968 0C00A874 */ jal cos_rad +/* 075E1C 800DC96C 4600A306 */ mov.s $f12, $f20 +/* 075E20 800DC970 4616C102 */ mul.s $f4, $f24, $f22 +/* 075E24 800DC974 00000000 */ nop +/* 075E28 800DC978 4600C087 */ neg.s $f2, $f24 +/* 075E2C 800DC97C 46001002 */ mul.s $f0, $f2, $f0 +/* 075E30 800DC980 00000000 */ nop +/* 075E34 800DC984 0240202D */ daddu $a0, $s2, $zero +/* 075E38 800DC988 C7A60028 */ lwc1 $f6, 0x28($sp) +/* 075E3C 800DC98C 27A50018 */ addiu $a1, $sp, 0x18 +/* 075E40 800DC990 46043080 */ add.s $f2, $f6, $f4 +/* 075E44 800DC994 C7A6002C */ lwc1 $f6, 0x2c($sp) +/* 075E48 800DC998 27A6001C */ addiu $a2, $sp, 0x1c +/* 075E4C 800DC99C E7A6001C */ swc1 $f6, 0x1c($sp) +/* 075E50 800DC9A0 C7A60030 */ lwc1 $f6, 0x30($sp) +/* 075E54 800DC9A4 27A70020 */ addiu $a3, $sp, 0x20 +/* 075E58 800DC9A8 46003000 */ add.s $f0, $f6, $f0 +/* 075E5C 800DC9AC C7A60034 */ lwc1 $f6, 0x34($sp) +/* 075E60 800DC9B0 27A20024 */ addiu $v0, $sp, 0x24 +/* 075E64 800DC9B4 E7A20018 */ swc1 $f2, 0x18($sp) +/* 075E68 800DC9B8 E7A60024 */ swc1 $f6, 0x24($sp) +/* 075E6C 800DC9BC E7A00020 */ swc1 $f0, 0x20($sp) +/* 075E70 800DC9C0 0C037140 */ jal func_800DC500 +/* 075E74 800DC9C4 AFA20010 */ sw $v0, 0x10($sp) +/* 075E78 800DC9C8 04400010 */ bltz $v0, .L800DCA0C +/* 075E7C 800DC9CC 00000000 */ nop +/* 075E80 800DC9D0 C7A00024 */ lwc1 $f0, 0x24($sp) +/* 075E84 800DC9D4 461A003E */ c.le.s $f0, $f26 +/* 075E88 800DC9D8 00000000 */ nop +/* 075E8C 800DC9DC 4500000B */ bc1f .L800DCA0C +/* 075E90 800DC9E0 00000000 */ nop +/* 075E94 800DC9E4 46000686 */ mov.s $f26, $f0 +/* 075E98 800DC9E8 C7BE001C */ lwc1 $f30, 0x1c($sp) +/* 075E9C 800DC9EC 24100001 */ addiu $s0, $zero, 1 +/* 075EA0 800DC9F0 3C018011 */ lui $at, 0x8011 +/* 075EA4 800DC9F4 AC22C978 */ sw $v0, -0x3688($at) +/* 075EA8 800DC9F8 3C018011 */ lui $at, 0x8011 +/* 075EAC 800DC9FC AC22C968 */ sw $v0, -0x3698($at) +/* 075EB0 800DCA00 4600F18D */ trunc.w.s $f6, $f30 +/* 075EB4 800DCA04 3C018011 */ lui $at, 0x8011 +/* 075EB8 800DCA08 E426C94C */ swc1 $f6, -0x36b4($at) +.L800DCA0C: +/* 075EBC 800DCA0C 3C0142F0 */ lui $at, 0x42f0 +/* 075EC0 800DCA10 44816000 */ mtc1 $at, $f12 +/* 075EC4 800DCA14 C7A6009C */ lwc1 $f6, 0x9c($sp) +/* 075EC8 800DCA18 0C00A6C9 */ jal clamp_angle +/* 075ECC 800DCA1C 460C3301 */ sub.s $f12, $f6, $f12 +/* 075ED0 800DCA20 3C0140C9 */ lui $at, 0x40c9 +/* 075ED4 800DCA24 34210FD0 */ ori $at, $at, 0xfd0 +/* 075ED8 800DCA28 44811000 */ mtc1 $at, $f2 +/* 075EDC 800DCA2C 00000000 */ nop +/* 075EE0 800DCA30 46020002 */ mul.s $f0, $f0, $f2 +/* 075EE4 800DCA34 00000000 */ nop +/* 075EE8 800DCA38 3C0143B4 */ lui $at, 0x43b4 +/* 075EEC 800DCA3C 44811000 */ mtc1 $at, $f2 +/* 075EF0 800DCA40 00000000 */ nop +/* 075EF4 800DCA44 46020503 */ div.s $f20, $f0, $f2 +/* 075EF8 800DCA48 0C00A85B */ jal sin_rad +/* 075EFC 800DCA4C 4600A306 */ mov.s $f12, $f20 +/* 075F00 800DCA50 46000586 */ mov.s $f22, $f0 +/* 075F04 800DCA54 0C00A874 */ jal cos_rad +/* 075F08 800DCA58 4600A306 */ mov.s $f12, $f20 +/* 075F0C 800DCA5C 4616C102 */ mul.s $f4, $f24, $f22 +/* 075F10 800DCA60 00000000 */ nop +/* 075F14 800DCA64 4600C087 */ neg.s $f2, $f24 +/* 075F18 800DCA68 46001002 */ mul.s $f0, $f2, $f0 +/* 075F1C 800DCA6C 00000000 */ nop +/* 075F20 800DCA70 0240202D */ daddu $a0, $s2, $zero +/* 075F24 800DCA74 C7A60028 */ lwc1 $f6, 0x28($sp) +/* 075F28 800DCA78 27A50018 */ addiu $a1, $sp, 0x18 +/* 075F2C 800DCA7C 46043080 */ add.s $f2, $f6, $f4 +/* 075F30 800DCA80 C7A6002C */ lwc1 $f6, 0x2c($sp) +/* 075F34 800DCA84 27A6001C */ addiu $a2, $sp, 0x1c +/* 075F38 800DCA88 E7A6001C */ swc1 $f6, 0x1c($sp) +/* 075F3C 800DCA8C C7A60030 */ lwc1 $f6, 0x30($sp) +/* 075F40 800DCA90 27A70020 */ addiu $a3, $sp, 0x20 +/* 075F44 800DCA94 46003000 */ add.s $f0, $f6, $f0 +/* 075F48 800DCA98 C7A60034 */ lwc1 $f6, 0x34($sp) +/* 075F4C 800DCA9C 27A20024 */ addiu $v0, $sp, 0x24 +/* 075F50 800DCAA0 E7A20018 */ swc1 $f2, 0x18($sp) +/* 075F54 800DCAA4 E7A60024 */ swc1 $f6, 0x24($sp) +/* 075F58 800DCAA8 E7A00020 */ swc1 $f0, 0x20($sp) +/* 075F5C 800DCAAC 0C037140 */ jal func_800DC500 +/* 075F60 800DCAB0 AFA20010 */ sw $v0, 0x10($sp) +/* 075F64 800DCAB4 04400011 */ bltz $v0, .L800DCAFC +/* 075F68 800DCAB8 00000000 */ nop +/* 075F6C 800DCABC C7A00024 */ lwc1 $f0, 0x24($sp) +/* 075F70 800DCAC0 461A003E */ c.le.s $f0, $f26 +/* 075F74 800DCAC4 00000000 */ nop +/* 075F78 800DCAC8 4500000C */ bc1f .L800DCAFC +/* 075F7C 800DCACC 00000000 */ nop +/* 075F80 800DCAD0 46000686 */ mov.s $f26, $f0 +/* 075F84 800DCAD4 C7A6001C */ lwc1 $f6, 0x1c($sp) +/* 075F88 800DCAD8 24100001 */ addiu $s0, $zero, 1 +/* 075F8C 800DCADC 3C018011 */ lui $at, 0x8011 +/* 075F90 800DCAE0 AC22C978 */ sw $v0, -0x3688($at) +/* 075F94 800DCAE4 3C018011 */ lui $at, 0x8011 +/* 075F98 800DCAE8 AC22C968 */ sw $v0, -0x3698($at) +/* 075F9C 800DCAEC E7A60038 */ swc1 $f6, 0x38($sp) +/* 075FA0 800DCAF0 4600318D */ trunc.w.s $f6, $f6 +/* 075FA4 800DCAF4 3C018011 */ lui $at, 0x8011 +/* 075FA8 800DCAF8 E426C974 */ swc1 $f6, -0x368c($at) +.L800DCAFC: +/* 075FAC 800DCAFC 1200000F */ beqz $s0, .L800DCB3C +/* 075FB0 800DCB00 0000102D */ daddu $v0, $zero, $zero +/* 075FB4 800DCB04 461EE03C */ c.lt.s $f28, $f30 +/* 075FB8 800DCB08 00000000 */ nop +/* 075FBC 800DCB0C 45020002 */ bc1fl .L800DCB18 +/* 075FC0 800DCB10 E63C0000 */ swc1 $f28, ($s1) +/* 075FC4 800DCB14 E63E0000 */ swc1 $f30, ($s1) +.L800DCB18: +/* 075FC8 800DCB18 C6200000 */ lwc1 $f0, ($s1) +/* 075FCC 800DCB1C C7A60038 */ lwc1 $f6, 0x38($sp) +/* 075FD0 800DCB20 4606003C */ c.lt.s $f0, $f6 +/* 075FD4 800DCB24 00000000 */ nop +/* 075FD8 800DCB28 45030001 */ bc1tl .L800DCB30 +/* 075FDC 800DCB2C E6260000 */ swc1 $f6, ($s1) +.L800DCB30: +/* 075FE0 800DCB30 E69A0000 */ swc1 $f26, ($s4) +/* 075FE4 800DCB34 080372D1 */ j .L800DCB44 +/* 075FE8 800DCB38 24020001 */ addiu $v0, $zero, 1 + +.L800DCB3C: +/* 075FEC 800DCB3C C7A0001C */ lwc1 $f0, 0x1c($sp) +/* 075FF0 800DCB40 E6200000 */ swc1 $f0, ($s1) +.L800DCB44: +/* 075FF4 800DCB44 8FBF0054 */ lw $ra, 0x54($sp) +/* 075FF8 800DCB48 8FB40050 */ lw $s4, 0x50($sp) +/* 075FFC 800DCB4C 8FB3004C */ lw $s3, 0x4c($sp) +/* 076000 800DCB50 8FB20048 */ lw $s2, 0x48($sp) +/* 076004 800DCB54 8FB10044 */ lw $s1, 0x44($sp) +/* 076008 800DCB58 8FB00040 */ lw $s0, 0x40($sp) +/* 07600C 800DCB5C D7BE0080 */ ldc1 $f30, 0x80($sp) +/* 076010 800DCB60 D7BC0078 */ ldc1 $f28, 0x78($sp) +/* 076014 800DCB64 D7BA0070 */ ldc1 $f26, 0x70($sp) +/* 076018 800DCB68 D7B80068 */ ldc1 $f24, 0x68($sp) +/* 07601C 800DCB6C D7B60060 */ ldc1 $f22, 0x60($sp) +/* 076020 800DCB70 D7B40058 */ ldc1 $f20, 0x58($sp) +/* 076024 800DCB74 03E00008 */ jr $ra +/* 076028 800DCB78 27BD0088 */ addiu $sp, $sp, 0x88 + +func_800DCB7C: +/* 07602C 800DCB7C 27BDFF80 */ addiu $sp, $sp, -0x80 +/* 076030 800DCB80 AFB40048 */ sw $s4, 0x48($sp) +/* 076034 800DCB84 8FB40090 */ lw $s4, 0x90($sp) +/* 076038 800DCB88 AFBF004C */ sw $ra, 0x4c($sp) +/* 07603C 800DCB8C AFB30044 */ sw $s3, 0x44($sp) +/* 076040 800DCB90 AFB20040 */ sw $s2, 0x40($sp) +/* 076044 800DCB94 AFB1003C */ sw $s1, 0x3c($sp) +/* 076048 800DCB98 AFB00038 */ sw $s0, 0x38($sp) +/* 07604C 800DCB9C F7BE0078 */ sdc1 $f30, 0x78($sp) +/* 076050 800DCBA0 F7BC0070 */ sdc1 $f28, 0x70($sp) +/* 076054 800DCBA4 F7BA0068 */ sdc1 $f26, 0x68($sp) +/* 076058 800DCBA8 F7B80060 */ sdc1 $f24, 0x60($sp) +/* 07605C 800DCBAC F7B60058 */ sdc1 $f22, 0x58($sp) +/* 076060 800DCBB0 F7B40050 */ sdc1 $f20, 0x50($sp) +/* 076064 800DCBB4 C4A60000 */ lwc1 $f6, ($a1) +/* 076068 800DCBB8 00C0882D */ daddu $s1, $a2, $zero +/* 07606C 800DCBBC E7A60028 */ swc1 $f6, 0x28($sp) +/* 076070 800DCBC0 C63E0000 */ lwc1 $f30, ($s1) +/* 076074 800DCBC4 C4E60000 */ lwc1 $f6, ($a3) +/* 076078 800DCBC8 3C128011 */ lui $s2, 0x8011 +/* 07607C 800DCBCC 2652C970 */ addiu $s2, $s2, -0x3690 +/* 076080 800DCBD0 E7A6002C */ swc1 $f6, 0x2c($sp) +/* 076084 800DCBD4 4600F18D */ trunc.w.s $f6, $f30 +/* 076088 800DCBD8 E6460000 */ swc1 $f6, ($s2) +/* 07608C 800DCBDC C6200000 */ lwc1 $f0, ($s1) +/* 076090 800DCBE0 4600018D */ trunc.w.s $f6, $f0 +/* 076094 800DCBE4 3C018011 */ lui $at, 0x8011 +/* 076098 800DCBE8 E426C94C */ swc1 $f6, -0x36b4($at) +/* 07609C 800DCBEC C6200000 */ lwc1 $f0, ($s1) +/* 0760A0 800DCBF0 0080982D */ daddu $s3, $a0, $zero +/* 0760A4 800DCBF4 4600018D */ trunc.w.s $f6, $f0 +/* 0760A8 800DCBF8 3C018011 */ lui $at, 0x8011 +/* 0760AC 800DCBFC E426C974 */ swc1 $f6, -0x368c($at) +/* 0760B0 800DCC00 C6800000 */ lwc1 $f0, ($s4) +/* 0760B4 800DCC04 44806000 */ mtc1 $zero, $f12 +/* 0760B8 800DCC08 0C00A6C9 */ jal clamp_angle +/* 0760BC 800DCC0C 46000605 */ abs.s $f24, $f0 +/* 0760C0 800DCC10 3C0140C9 */ lui $at, 0x40c9 +/* 0760C4 800DCC14 34210FD0 */ ori $at, $at, 0xfd0 +/* 0760C8 800DCC18 44811000 */ mtc1 $at, $f2 +/* 0760CC 800DCC1C 00000000 */ nop +/* 0760D0 800DCC20 46020002 */ mul.s $f0, $f0, $f2 +/* 0760D4 800DCC24 00000000 */ nop +/* 0760D8 800DCC28 3C0143B4 */ lui $at, 0x43b4 +/* 0760DC 800DCC2C 44811000 */ mtc1 $at, $f2 +/* 0760E0 800DCC30 00000000 */ nop +/* 0760E4 800DCC34 46020503 */ div.s $f20, $f0, $f2 +/* 0760E8 800DCC38 0C00A85B */ jal sin_rad +/* 0760EC 800DCC3C 4600A306 */ mov.s $f12, $f20 +/* 0760F0 800DCC40 46000586 */ mov.s $f22, $f0 +/* 0760F4 800DCC44 0C00A874 */ jal cos_rad +/* 0760F8 800DCC48 4600A306 */ mov.s $f12, $f20 +/* 0760FC 800DCC4C 3C014120 */ lui $at, 0x4120 +/* 076100 800DCC50 44813000 */ mtc1 $at, $f6 +/* 076104 800DCC54 00000000 */ nop +/* 076108 800DCC58 4606B102 */ mul.s $f4, $f22, $f6 +/* 07610C 800DCC5C 00000000 */ nop +/* 076110 800DCC60 0000802D */ daddu $s0, $zero, $zero +/* 076114 800DCC64 0260202D */ daddu $a0, $s3, $zero +/* 076118 800DCC68 27A50018 */ addiu $a1, $sp, 0x18 +/* 07611C 800DCC6C 46003087 */ neg.s $f2, $f6 +/* 076120 800DCC70 46020002 */ mul.s $f0, $f0, $f2 +/* 076124 800DCC74 00000000 */ nop +/* 076128 800DCC78 27A6001C */ addiu $a2, $sp, 0x1c +/* 07612C 800DCC7C 27A70020 */ addiu $a3, $sp, 0x20 +/* 076130 800DCC80 C7A60028 */ lwc1 $f6, 0x28($sp) +/* 076134 800DCC84 3C01C6FF */ lui $at, 0xc6ff +/* 076138 800DCC88 3421FE00 */ ori $at, $at, 0xfe00 +/* 07613C 800DCC8C 4481D000 */ mtc1 $at, $f26 +/* 076140 800DCC90 46043080 */ add.s $f2, $f6, $f4 +/* 076144 800DCC94 C7A6002C */ lwc1 $f6, 0x2c($sp) +/* 076148 800DCC98 27A20024 */ addiu $v0, $sp, 0x24 +/* 07614C 800DCC9C E7BE001C */ swc1 $f30, 0x1c($sp) +/* 076150 800DCCA0 E7B80024 */ swc1 $f24, 0x24($sp) +/* 076154 800DCCA4 46003000 */ add.s $f0, $f6, $f0 +/* 076158 800DCCA8 4600D706 */ mov.s $f28, $f26 +/* 07615C 800DCCAC E7A20018 */ swc1 $f2, 0x18($sp) +/* 076160 800DCCB0 E7A00020 */ swc1 $f0, 0x20($sp) +/* 076164 800DCCB4 0C037140 */ jal func_800DC500 +/* 076168 800DCCB8 AFA20010 */ sw $v0, 0x10($sp) +/* 07616C 800DCCBC 0440000F */ bltz $v0, .L800DCCFC +/* 076170 800DCCC0 E7B80030 */ swc1 $f24, 0x30($sp) +/* 076174 800DCCC4 C7A00024 */ lwc1 $f0, 0x24($sp) +/* 076178 800DCCC8 4618003E */ c.le.s $f0, $f24 +/* 07617C 800DCCCC 00000000 */ nop +/* 076180 800DCCD0 4500000A */ bc1f .L800DCCFC +/* 076184 800DCCD4 00000000 */ nop +/* 076188 800DCCD8 46000606 */ mov.s $f24, $f0 +/* 07618C 800DCCDC C7BA001C */ lwc1 $f26, 0x1c($sp) +/* 076190 800DCCE0 24100001 */ addiu $s0, $zero, 1 +/* 076194 800DCCE4 3C018011 */ lui $at, 0x8011 +/* 076198 800DCCE8 AC22C978 */ sw $v0, -0x3688($at) +/* 07619C 800DCCEC 3C018011 */ lui $at, 0x8011 +/* 0761A0 800DCCF0 AC22C98C */ sw $v0, -0x3674($at) +/* 0761A4 800DCCF4 4600D18D */ trunc.w.s $f6, $f26 +/* 0761A8 800DCCF8 E6460000 */ swc1 $f6, ($s2) +.L800DCCFC: +/* 0761AC 800DCCFC 3C014334 */ lui $at, 0x4334 +/* 0761B0 800DCD00 44816000 */ mtc1 $at, $f12 +/* 0761B4 800DCD04 44803000 */ mtc1 $zero, $f6 +/* 0761B8 800DCD08 0C00A6C9 */ jal clamp_angle +/* 0761BC 800DCD0C 460C3300 */ add.s $f12, $f6, $f12 +/* 0761C0 800DCD10 3C0140C9 */ lui $at, 0x40c9 +/* 0761C4 800DCD14 34210FD0 */ ori $at, $at, 0xfd0 +/* 0761C8 800DCD18 44811000 */ mtc1 $at, $f2 +/* 0761CC 800DCD1C 00000000 */ nop +/* 0761D0 800DCD20 46020002 */ mul.s $f0, $f0, $f2 +/* 0761D4 800DCD24 00000000 */ nop +/* 0761D8 800DCD28 3C0143B4 */ lui $at, 0x43b4 +/* 0761DC 800DCD2C 44811000 */ mtc1 $at, $f2 +/* 0761E0 800DCD30 00000000 */ nop +/* 0761E4 800DCD34 46020503 */ div.s $f20, $f0, $f2 +/* 0761E8 800DCD38 0C00A85B */ jal sin_rad +/* 0761EC 800DCD3C 4600A306 */ mov.s $f12, $f20 +/* 0761F0 800DCD40 46000586 */ mov.s $f22, $f0 +/* 0761F4 800DCD44 0C00A874 */ jal cos_rad +/* 0761F8 800DCD48 4600A306 */ mov.s $f12, $f20 +/* 0761FC 800DCD4C 3C014120 */ lui $at, 0x4120 +/* 076200 800DCD50 44813000 */ mtc1 $at, $f6 +/* 076204 800DCD54 00000000 */ nop +/* 076208 800DCD58 46163102 */ mul.s $f4, $f6, $f22 +/* 07620C 800DCD5C 00000000 */ nop +/* 076210 800DCD60 46003087 */ neg.s $f2, $f6 +/* 076214 800DCD64 46001002 */ mul.s $f0, $f2, $f0 +/* 076218 800DCD68 00000000 */ nop +/* 07621C 800DCD6C 0260202D */ daddu $a0, $s3, $zero +/* 076220 800DCD70 27A50018 */ addiu $a1, $sp, 0x18 +/* 076224 800DCD74 C7A60028 */ lwc1 $f6, 0x28($sp) +/* 076228 800DCD78 27A6001C */ addiu $a2, $sp, 0x1c +/* 07622C 800DCD7C 46043080 */ add.s $f2, $f6, $f4 +/* 076230 800DCD80 C7A6002C */ lwc1 $f6, 0x2c($sp) +/* 076234 800DCD84 27A70020 */ addiu $a3, $sp, 0x20 +/* 076238 800DCD88 46003000 */ add.s $f0, $f6, $f0 +/* 07623C 800DCD8C C7A60030 */ lwc1 $f6, 0x30($sp) +/* 076240 800DCD90 27A20024 */ addiu $v0, $sp, 0x24 +/* 076244 800DCD94 E7BE001C */ swc1 $f30, 0x1c($sp) +/* 076248 800DCD98 E7A60024 */ swc1 $f6, 0x24($sp) +/* 07624C 800DCD9C E7A20018 */ swc1 $f2, 0x18($sp) +/* 076250 800DCDA0 E7A00020 */ swc1 $f0, 0x20($sp) +/* 076254 800DCDA4 0C037140 */ jal func_800DC500 +/* 076258 800DCDA8 AFA20010 */ sw $v0, 0x10($sp) +/* 07625C 800DCDAC 04400010 */ bltz $v0, .L800DCDF0 +/* 076260 800DCDB0 00000000 */ nop +/* 076264 800DCDB4 C7A00024 */ lwc1 $f0, 0x24($sp) +/* 076268 800DCDB8 4618003E */ c.le.s $f0, $f24 +/* 07626C 800DCDBC 00000000 */ nop +/* 076270 800DCDC0 4500000B */ bc1f .L800DCDF0 +/* 076274 800DCDC4 00000000 */ nop +/* 076278 800DCDC8 46000606 */ mov.s $f24, $f0 +/* 07627C 800DCDCC C7BC001C */ lwc1 $f28, 0x1c($sp) +/* 076280 800DCDD0 24100001 */ addiu $s0, $zero, 1 +/* 076284 800DCDD4 3C018011 */ lui $at, 0x8011 +/* 076288 800DCDD8 AC22C978 */ sw $v0, -0x3688($at) +/* 07628C 800DCDDC 3C018011 */ lui $at, 0x8011 +/* 076290 800DCDE0 AC22C968 */ sw $v0, -0x3698($at) +/* 076294 800DCDE4 4600E18D */ trunc.w.s $f6, $f28 +/* 076298 800DCDE8 3C018011 */ lui $at, 0x8011 +/* 07629C 800DCDEC E426C94C */ swc1 $f6, -0x36b4($at) +.L800DCDF0: +/* 0762A0 800DCDF0 12000011 */ beqz $s0, .L800DCE38 +/* 0762A4 800DCDF4 0000102D */ daddu $v0, $zero, $zero +/* 0762A8 800DCDF8 461CD03C */ c.lt.s $f26, $f28 +/* 0762AC 800DCDFC 00000000 */ nop +/* 0762B0 800DCE00 45020002 */ bc1fl .L800DCE0C +/* 0762B4 800DCE04 E63A0000 */ swc1 $f26, ($s1) +/* 0762B8 800DCE08 E63C0000 */ swc1 $f28, ($s1) +.L800DCE0C: +/* 0762BC 800DCE0C C6200000 */ lwc1 $f0, ($s1) +/* 0762C0 800DCE10 3C01C6FF */ lui $at, 0xc6ff +/* 0762C4 800DCE14 3421FE00 */ ori $at, $at, 0xfe00 +/* 0762C8 800DCE18 44813000 */ mtc1 $at, $f6 +/* 0762CC 800DCE1C 00000000 */ nop +/* 0762D0 800DCE20 4606003C */ c.lt.s $f0, $f6 +/* 0762D4 800DCE24 00000000 */ nop +/* 0762D8 800DCE28 45030001 */ bc1tl .L800DCE30 +/* 0762DC 800DCE2C E6260000 */ swc1 $f6, ($s1) +.L800DCE30: +/* 0762E0 800DCE30 E6980000 */ swc1 $f24, ($s4) +/* 0762E4 800DCE34 24020001 */ addiu $v0, $zero, 1 +.L800DCE38: +/* 0762E8 800DCE38 8FBF004C */ lw $ra, 0x4c($sp) +/* 0762EC 800DCE3C 8FB40048 */ lw $s4, 0x48($sp) +/* 0762F0 800DCE40 8FB30044 */ lw $s3, 0x44($sp) +/* 0762F4 800DCE44 8FB20040 */ lw $s2, 0x40($sp) +/* 0762F8 800DCE48 8FB1003C */ lw $s1, 0x3c($sp) +/* 0762FC 800DCE4C 8FB00038 */ lw $s0, 0x38($sp) +/* 076300 800DCE50 D7BE0078 */ ldc1 $f30, 0x78($sp) +/* 076304 800DCE54 D7BC0070 */ ldc1 $f28, 0x70($sp) +/* 076308 800DCE58 D7BA0068 */ ldc1 $f26, 0x68($sp) +/* 07630C 800DCE5C D7B80060 */ ldc1 $f24, 0x60($sp) +/* 076310 800DCE60 D7B60058 */ ldc1 $f22, 0x58($sp) +/* 076314 800DCE64 D7B40050 */ ldc1 $f20, 0x50($sp) +/* 076318 800DCE68 03E00008 */ jr $ra +/* 07631C 800DCE6C 27BD0080 */ addiu $sp, $sp, 0x80 + +func_800DCE70: +/* 076320 800DCE70 27BDFF50 */ addiu $sp, $sp, -0xb0 +/* 076324 800DCE74 AFB20078 */ sw $s2, 0x78($sp) +/* 076328 800DCE78 8FB200C0 */ lw $s2, 0xc0($sp) +/* 07632C 800DCE7C F7BA00A8 */ sdc1 $f26, 0xa8($sp) +/* 076330 800DCE80 3C013F80 */ lui $at, 0x3f80 +/* 076334 800DCE84 4481D000 */ mtc1 $at, $f26 +/* 076338 800DCE88 AFB00070 */ sw $s0, 0x70($sp) +/* 07633C 800DCE8C 0080802D */ daddu $s0, $a0, $zero +/* 076340 800DCE90 AFB3007C */ sw $s3, 0x7c($sp) +/* 076344 800DCE94 00A0982D */ daddu $s3, $a1, $zero +/* 076348 800DCE98 AFB40080 */ sw $s4, 0x80($sp) +/* 07634C 800DCE9C 00C0A02D */ daddu $s4, $a2, $zero +/* 076350 800DCEA0 AFB50084 */ sw $s5, 0x84($sp) +/* 076354 800DCEA4 00E0A82D */ daddu $s5, $a3, $zero +/* 076358 800DCEA8 AFBF0088 */ sw $ra, 0x88($sp) +/* 07635C 800DCEAC AFB10074 */ sw $s1, 0x74($sp) +/* 076360 800DCEB0 F7B800A0 */ sdc1 $f24, 0xa0($sp) +/* 076364 800DCEB4 F7B60098 */ sdc1 $f22, 0x98($sp) +/* 076368 800DCEB8 F7B40090 */ sdc1 $f20, 0x90($sp) +/* 07636C 800DCEBC C6400000 */ lwc1 $f0, ($s2) +/* 076370 800DCEC0 27A20038 */ addiu $v0, $sp, 0x38 +/* 076374 800DCEC4 E7A00044 */ swc1 $f0, 0x44($sp) +/* 076378 800DCEC8 E7A00060 */ swc1 $f0, 0x60($sp) +/* 07637C 800DCECC C6760000 */ lwc1 $f22, ($s3) +/* 076380 800DCED0 C6980000 */ lwc1 $f24, ($s4) +/* 076384 800DCED4 C6B40000 */ lwc1 $f20, ($s5) +/* 076388 800DCED8 AFA2001C */ sw $v0, 0x1c($sp) +/* 07638C 800DCEDC 27A2003C */ addiu $v0, $sp, 0x3c +/* 076390 800DCEE0 AFA20020 */ sw $v0, 0x20($sp) +/* 076394 800DCEE4 27A20040 */ addiu $v0, $sp, 0x40 +/* 076398 800DCEE8 AFA20024 */ sw $v0, 0x24($sp) +/* 07639C 800DCEEC 27A20044 */ addiu $v0, $sp, 0x44 +/* 0763A0 800DCEF0 AFA20028 */ sw $v0, 0x28($sp) +/* 0763A4 800DCEF4 27A20048 */ addiu $v0, $sp, 0x48 +/* 0763A8 800DCEF8 AFA2002C */ sw $v0, 0x2c($sp) +/* 0763AC 800DCEFC 27A2004C */ addiu $v0, $sp, 0x4c +/* 0763B0 800DCF00 AFA20030 */ sw $v0, 0x30($sp) +/* 0763B4 800DCF04 4406C000 */ mfc1 $a2, $f24 +/* 0763B8 800DCF08 4407A000 */ mfc1 $a3, $f20 +/* 0763BC 800DCF0C 4405B000 */ mfc1 $a1, $f22 +/* 0763C0 800DCF10 27A20050 */ addiu $v0, $sp, 0x50 +/* 0763C4 800DCF14 AFA00010 */ sw $zero, 0x10($sp) +/* 0763C8 800DCF18 E7BA0014 */ swc1 $f26, 0x14($sp) +/* 0763CC 800DCF1C AFA00018 */ sw $zero, 0x18($sp) +/* 0763D0 800DCF20 0C017334 */ jal test_ray_colliders +/* 0763D4 800DCF24 AFA20034 */ sw $v0, 0x34($sp) +/* 0763D8 800DCF28 0040882D */ daddu $s1, $v0, $zero +/* 0763DC 800DCF2C 3C020004 */ lui $v0, 4 +/* 0763E0 800DCF30 02028024 */ and $s0, $s0, $v0 +/* 0763E4 800DCF34 16000029 */ bnez $s0, .L800DCFDC +/* 0763E8 800DCF38 0220182D */ daddu $v1, $s1, $zero +/* 0763EC 800DCF3C 27A20054 */ addiu $v0, $sp, 0x54 +/* 0763F0 800DCF40 AFA20018 */ sw $v0, 0x18($sp) +/* 0763F4 800DCF44 27A20058 */ addiu $v0, $sp, 0x58 +/* 0763F8 800DCF48 AFA2001C */ sw $v0, 0x1c($sp) +/* 0763FC 800DCF4C 27A2005C */ addiu $v0, $sp, 0x5c +/* 076400 800DCF50 AFA20020 */ sw $v0, 0x20($sp) +/* 076404 800DCF54 27A20060 */ addiu $v0, $sp, 0x60 +/* 076408 800DCF58 AFA20024 */ sw $v0, 0x24($sp) +/* 07640C 800DCF5C 27A20064 */ addiu $v0, $sp, 0x64 +/* 076410 800DCF60 AFA20028 */ sw $v0, 0x28($sp) +/* 076414 800DCF64 27A20068 */ addiu $v0, $sp, 0x68 +/* 076418 800DCF68 AFA2002C */ sw $v0, 0x2c($sp) +/* 07641C 800DCF6C 27A2006C */ addiu $v0, $sp, 0x6c +/* 076420 800DCF70 4600B306 */ mov.s $f12, $f22 +/* 076424 800DCF74 44800000 */ mtc1 $zero, $f0 +/* 076428 800DCF78 4406A000 */ mfc1 $a2, $f20 +/* 07642C 800DCF7C 44070000 */ mfc1 $a3, $f0 +/* 076430 800DCF80 4600C386 */ mov.s $f14, $f24 +/* 076434 800DCF84 E7BA0010 */ swc1 $f26, 0x10($sp) +/* 076438 800DCF88 AFA20030 */ sw $v0, 0x30($sp) +/* 07643C 800DCF8C 0C017512 */ jal test_ray_entities +/* 076440 800DCF90 AFA70014 */ sw $a3, 0x14($sp) +/* 076444 800DCF94 04400010 */ bltz $v0, .L800DCFD8 +/* 076448 800DCF98 34434000 */ ori $v1, $v0, 0x4000 +/* 07644C 800DCF9C C7A00060 */ lwc1 $f0, 0x60($sp) +/* 076450 800DCFA0 C7A20054 */ lwc1 $f2, 0x54($sp) +/* 076454 800DCFA4 C7A40058 */ lwc1 $f4, 0x58($sp) +/* 076458 800DCFA8 C7A6005C */ lwc1 $f6, 0x5c($sp) +/* 07645C 800DCFAC C7A80064 */ lwc1 $f8, 0x64($sp) +/* 076460 800DCFB0 C7AA0068 */ lwc1 $f10, 0x68($sp) +/* 076464 800DCFB4 C7AC006C */ lwc1 $f12, 0x6c($sp) +/* 076468 800DCFB8 E7A00044 */ swc1 $f0, 0x44($sp) +/* 07646C 800DCFBC E7A20038 */ swc1 $f2, 0x38($sp) +/* 076470 800DCFC0 E7A4003C */ swc1 $f4, 0x3c($sp) +/* 076474 800DCFC4 E7A60040 */ swc1 $f6, 0x40($sp) +/* 076478 800DCFC8 E7A80048 */ swc1 $f8, 0x48($sp) +/* 07647C 800DCFCC E7AA004C */ swc1 $f10, 0x4c($sp) +/* 076480 800DCFD0 080373F7 */ j .L800DCFDC +/* 076484 800DCFD4 E7AC0050 */ swc1 $f12, 0x50($sp) + +.L800DCFD8: +/* 076488 800DCFD8 0220182D */ daddu $v1, $s1, $zero +.L800DCFDC: +/* 07648C 800DCFDC 0460000D */ bltz $v1, .L800DD014 +/* 076490 800DCFE0 24020001 */ addiu $v0, $zero, 1 +/* 076494 800DCFE4 C7A00044 */ lwc1 $f0, 0x44($sp) +/* 076498 800DCFE8 E6400000 */ swc1 $f0, ($s2) +/* 07649C 800DCFEC C7A00038 */ lwc1 $f0, 0x38($sp) +/* 0764A0 800DCFF0 E6600000 */ swc1 $f0, ($s3) +/* 0764A4 800DCFF4 C7A0003C */ lwc1 $f0, 0x3c($sp) +/* 0764A8 800DCFF8 E6800000 */ swc1 $f0, ($s4) +/* 0764AC 800DCFFC C7A00040 */ lwc1 $f0, 0x40($sp) +/* 0764B0 800DD000 E6A00000 */ swc1 $f0, ($s5) +/* 0764B4 800DD004 3C018011 */ lui $at, 0x8011 +/* 0764B8 800DD008 AC23C978 */ sw $v1, -0x3688($at) +/* 0764BC 800DD00C 08037406 */ j .L800DD018 +/* 0764C0 800DD010 00000000 */ nop + +.L800DD014: +/* 0764C4 800DD014 0000102D */ daddu $v0, $zero, $zero +.L800DD018: +/* 0764C8 800DD018 8FBF0088 */ lw $ra, 0x88($sp) +/* 0764CC 800DD01C 8FB50084 */ lw $s5, 0x84($sp) +/* 0764D0 800DD020 8FB40080 */ lw $s4, 0x80($sp) +/* 0764D4 800DD024 8FB3007C */ lw $s3, 0x7c($sp) +/* 0764D8 800DD028 8FB20078 */ lw $s2, 0x78($sp) +/* 0764DC 800DD02C 8FB10074 */ lw $s1, 0x74($sp) +/* 0764E0 800DD030 8FB00070 */ lw $s0, 0x70($sp) +/* 0764E4 800DD034 D7BA00A8 */ ldc1 $f26, 0xa8($sp) +/* 0764E8 800DD038 D7B800A0 */ ldc1 $f24, 0xa0($sp) +/* 0764EC 800DD03C D7B60098 */ ldc1 $f22, 0x98($sp) +/* 0764F0 800DD040 D7B40090 */ ldc1 $f20, 0x90($sp) +/* 0764F4 800DD044 03E00008 */ jr $ra +/* 0764F8 800DD048 27BD00B0 */ addiu $sp, $sp, 0xb0 + +func_800DD04C: +/* 0764FC 800DD04C 27BDFF60 */ addiu $sp, $sp, -0xa0 +/* 076500 800DD050 AFB20060 */ sw $s2, 0x60($sp) +/* 076504 800DD054 00A0902D */ daddu $s2, $a1, $zero +/* 076508 800DD058 AFB30064 */ sw $s3, 0x64($sp) +/* 07650C 800DD05C 00C0982D */ daddu $s3, $a2, $zero +/* 076510 800DD060 AFB40068 */ sw $s4, 0x68($sp) +/* 076514 800DD064 00E0A02D */ daddu $s4, $a3, $zero +/* 076518 800DD068 AFB00058 */ sw $s0, 0x58($sp) +/* 07651C 800DD06C 2410FFFF */ addiu $s0, $zero, -1 +/* 076520 800DD070 AFBF006C */ sw $ra, 0x6c($sp) +/* 076524 800DD074 AFB1005C */ sw $s1, 0x5c($sp) +/* 076528 800DD078 F7BE0098 */ sdc1 $f30, 0x98($sp) +/* 07652C 800DD07C F7BC0090 */ sdc1 $f28, 0x90($sp) +/* 076530 800DD080 F7BA0088 */ sdc1 $f26, 0x88($sp) +/* 076534 800DD084 F7B80080 */ sdc1 $f24, 0x80($sp) +/* 076538 800DD088 F7B60078 */ sdc1 $f22, 0x78($sp) +/* 07653C 800DD08C F7B40070 */ sdc1 $f20, 0x70($sp) +/* 076540 800DD090 C6580000 */ lwc1 $f24, ($s2) +/* 076544 800DD094 C6760000 */ lwc1 $f22, ($s3) +/* 076548 800DD098 C6940000 */ lwc1 $f20, ($s4) +/* 07654C 800DD09C 8FB100B0 */ lw $s1, 0xb0($sp) +/* 076550 800DD0A0 3C013F80 */ lui $at, 0x3f80 +/* 076554 800DD0A4 44811000 */ mtc1 $at, $f2 +/* 076558 800DD0A8 4406B000 */ mfc1 $a2, $f22 +/* 07655C 800DD0AC 4407A000 */ mfc1 $a3, $f20 +/* 076560 800DD0B0 C6200000 */ lwc1 $f0, ($s1) +/* 076564 800DD0B4 4405C000 */ mfc1 $a1, $f24 +/* 076568 800DD0B8 27A20038 */ addiu $v0, $sp, 0x38 +/* 07656C 800DD0BC E7A00044 */ swc1 $f0, 0x44($sp) +/* 076570 800DD0C0 AFA2001C */ sw $v0, 0x1c($sp) +/* 076574 800DD0C4 27A2003C */ addiu $v0, $sp, 0x3c +/* 076578 800DD0C8 AFA20020 */ sw $v0, 0x20($sp) +/* 07657C 800DD0CC 27A20040 */ addiu $v0, $sp, 0x40 +/* 076580 800DD0D0 AFA20024 */ sw $v0, 0x24($sp) +/* 076584 800DD0D4 27A20044 */ addiu $v0, $sp, 0x44 +/* 076588 800DD0D8 AFA20028 */ sw $v0, 0x28($sp) +/* 07658C 800DD0DC 27A20048 */ addiu $v0, $sp, 0x48 +/* 076590 800DD0E0 AFA2002C */ sw $v0, 0x2c($sp) +/* 076594 800DD0E4 27A2004C */ addiu $v0, $sp, 0x4c +/* 076598 800DD0E8 AFA20030 */ sw $v0, 0x30($sp) +/* 07659C 800DD0EC 27A20050 */ addiu $v0, $sp, 0x50 +/* 0765A0 800DD0F0 AFA00010 */ sw $zero, 0x10($sp) +/* 0765A4 800DD0F4 E7A20014 */ swc1 $f2, 0x14($sp) +/* 0765A8 800DD0F8 AFA00018 */ sw $zero, 0x18($sp) +/* 0765AC 800DD0FC 0C017334 */ jal test_ray_colliders +/* 0765B0 800DD100 AFA20034 */ sw $v0, 0x34($sp) +/* 0765B4 800DD104 4600C686 */ mov.s $f26, $f24 +/* 0765B8 800DD108 4600B706 */ mov.s $f28, $f22 +/* 0765BC 800DD10C 0440000C */ bltz $v0, .L800DD140 +/* 0765C0 800DD110 4600A786 */ mov.s $f30, $f20 +/* 0765C4 800DD114 C6200000 */ lwc1 $f0, ($s1) +/* 0765C8 800DD118 C7A20044 */ lwc1 $f2, 0x44($sp) +/* 0765CC 800DD11C 4600103C */ c.lt.s $f2, $f0 +/* 0765D0 800DD120 00000000 */ nop +/* 0765D4 800DD124 45020007 */ bc1fl .L800DD144 +/* 0765D8 800DD128 4600D606 */ mov.s $f24, $f26 +/* 0765DC 800DD12C 0040802D */ daddu $s0, $v0, $zero +/* 0765E0 800DD130 E6220000 */ swc1 $f2, ($s1) +/* 0765E4 800DD134 E6580000 */ swc1 $f24, ($s2) +/* 0765E8 800DD138 E6760000 */ swc1 $f22, ($s3) +/* 0765EC 800DD13C E6940000 */ swc1 $f20, ($s4) +.L800DD140: +/* 0765F0 800DD140 4600D606 */ mov.s $f24, $f26 +.L800DD144: +/* 0765F4 800DD144 4600E586 */ mov.s $f22, $f28 +/* 0765F8 800DD148 3C014120 */ lui $at, 0x4120 +/* 0765FC 800DD14C 44811000 */ mtc1 $at, $f2 +/* 076600 800DD150 44802000 */ mtc1 $zero, $f4 +/* 076604 800DD154 3C013F80 */ lui $at, 0x3f80 +/* 076608 800DD158 44810000 */ mtc1 $at, $f0 +/* 07660C 800DD15C 27A20038 */ addiu $v0, $sp, 0x38 +/* 076610 800DD160 E7A20044 */ swc1 $f2, 0x44($sp) +/* 076614 800DD164 AFA20018 */ sw $v0, 0x18($sp) +/* 076618 800DD168 27A2003C */ addiu $v0, $sp, 0x3c +/* 07661C 800DD16C AFA2001C */ sw $v0, 0x1c($sp) +/* 076620 800DD170 27A20040 */ addiu $v0, $sp, 0x40 +/* 076624 800DD174 AFA20020 */ sw $v0, 0x20($sp) +/* 076628 800DD178 27A20044 */ addiu $v0, $sp, 0x44 +/* 07662C 800DD17C AFA20024 */ sw $v0, 0x24($sp) +/* 076630 800DD180 27A20048 */ addiu $v0, $sp, 0x48 +/* 076634 800DD184 AFA20028 */ sw $v0, 0x28($sp) +/* 076638 800DD188 27A2004C */ addiu $v0, $sp, 0x4c +/* 07663C 800DD18C AFA2002C */ sw $v0, 0x2c($sp) +/* 076640 800DD190 27A20050 */ addiu $v0, $sp, 0x50 +/* 076644 800DD194 E7A00010 */ swc1 $f0, 0x10($sp) +/* 076648 800DD198 E7A40014 */ swc1 $f4, 0x14($sp) +/* 07664C 800DD19C AFA20030 */ sw $v0, 0x30($sp) +/* 076650 800DD1A0 8E860000 */ lw $a2, ($s4) +/* 076654 800DD1A4 44072000 */ mfc1 $a3, $f4 +/* 076658 800DD1A8 C64C0000 */ lwc1 $f12, ($s2) +/* 07665C 800DD1AC C66E0000 */ lwc1 $f14, ($s3) +/* 076660 800DD1B0 0C017512 */ jal test_ray_entities +/* 076664 800DD1B4 4600F506 */ mov.s $f20, $f30 +/* 076668 800DD1B8 0442000D */ bltzl $v0, .L800DD1F0 +/* 07666C 800DD1BC 0200102D */ daddu $v0, $s0, $zero +/* 076670 800DD1C0 C6200000 */ lwc1 $f0, ($s1) +/* 076674 800DD1C4 C7A20044 */ lwc1 $f2, 0x44($sp) +/* 076678 800DD1C8 4600103C */ c.lt.s $f2, $f0 +/* 07667C 800DD1CC 00000000 */ nop +/* 076680 800DD1D0 45020007 */ bc1fl .L800DD1F0 +/* 076684 800DD1D4 0200102D */ daddu $v0, $s0, $zero +/* 076688 800DD1D8 34504000 */ ori $s0, $v0, 0x4000 +/* 07668C 800DD1DC E6220000 */ swc1 $f2, ($s1) +/* 076690 800DD1E0 E6580000 */ swc1 $f24, ($s2) +/* 076694 800DD1E4 E6760000 */ swc1 $f22, ($s3) +/* 076698 800DD1E8 E6940000 */ swc1 $f20, ($s4) +/* 07669C 800DD1EC 0200102D */ daddu $v0, $s0, $zero +.L800DD1F0: +/* 0766A0 800DD1F0 8FBF006C */ lw $ra, 0x6c($sp) +/* 0766A4 800DD1F4 8FB40068 */ lw $s4, 0x68($sp) +/* 0766A8 800DD1F8 8FB30064 */ lw $s3, 0x64($sp) +/* 0766AC 800DD1FC 8FB20060 */ lw $s2, 0x60($sp) +/* 0766B0 800DD200 8FB1005C */ lw $s1, 0x5c($sp) +/* 0766B4 800DD204 8FB00058 */ lw $s0, 0x58($sp) +/* 0766B8 800DD208 D7BE0098 */ ldc1 $f30, 0x98($sp) +/* 0766BC 800DD20C D7BC0090 */ ldc1 $f28, 0x90($sp) +/* 0766C0 800DD210 D7BA0088 */ ldc1 $f26, 0x88($sp) +/* 0766C4 800DD214 D7B80080 */ ldc1 $f24, 0x80($sp) +/* 0766C8 800DD218 D7B60078 */ ldc1 $f22, 0x78($sp) +/* 0766CC 800DD21C D7B40070 */ ldc1 $f20, 0x70($sp) +/* 0766D0 800DD220 03E00008 */ jr $ra +/* 0766D4 800DD224 27BD00A0 */ addiu $sp, $sp, 0xa0 + +/* 0766D8 800DD228 27BDFF88 */ addiu $sp, $sp, -0x78 +/* 0766DC 800DD22C F7B40050 */ sdc1 $f20, 0x50($sp) +/* 0766E0 800DD230 C7B4008C */ lwc1 $f20, 0x8c($sp) +/* 0766E4 800DD234 3C0140C9 */ lui $at, 0x40c9 +/* 0766E8 800DD238 34210FD0 */ ori $at, $at, 0xfd0 +/* 0766EC 800DD23C 44810000 */ mtc1 $at, $f0 +/* 0766F0 800DD240 AFB60040 */ sw $s6, 0x40($sp) +/* 0766F4 800DD244 8FB60088 */ lw $s6, 0x88($sp) +/* 0766F8 800DD248 F7B60058 */ sdc1 $f22, 0x58($sp) +/* 0766FC 800DD24C C7B60090 */ lwc1 $f22, 0x90($sp) +/* 076700 800DD250 AFB5003C */ sw $s5, 0x3c($sp) +/* 076704 800DD254 0080A82D */ daddu $s5, $a0, $zero +/* 076708 800DD258 AFB70044 */ sw $s7, 0x44($sp) +/* 07670C 800DD25C 00A0B82D */ daddu $s7, $a1, $zero +/* 076710 800DD260 AFBE0048 */ sw $fp, 0x48($sp) +/* 076714 800DD264 4600A502 */ mul.s $f20, $f20, $f0 +/* 076718 800DD268 00000000 */ nop +/* 07671C 800DD26C 3C0143B4 */ lui $at, 0x43b4 +/* 076720 800DD270 44810000 */ mtc1 $at, $f0 +/* 076724 800DD274 00C0F02D */ daddu $fp, $a2, $zero +/* 076728 800DD278 AFBF004C */ sw $ra, 0x4c($sp) +/* 07672C 800DD27C AFB40038 */ sw $s4, 0x38($sp) +/* 076730 800DD280 AFB30034 */ sw $s3, 0x34($sp) +/* 076734 800DD284 AFB20030 */ sw $s2, 0x30($sp) +/* 076738 800DD288 AFB1002C */ sw $s1, 0x2c($sp) +/* 07673C 800DD28C AFB00028 */ sw $s0, 0x28($sp) +/* 076740 800DD290 F7BC0070 */ sdc1 $f28, 0x70($sp) +/* 076744 800DD294 F7BA0068 */ sdc1 $f26, 0x68($sp) +/* 076748 800DD298 F7B80060 */ sdc1 $f24, 0x60($sp) +/* 07674C 800DD29C AFA70084 */ sw $a3, 0x84($sp) +/* 076750 800DD2A0 4600A503 */ div.s $f20, $f20, $f0 +/* 076754 800DD2A4 0C00A85B */ jal sin_rad +/* 076758 800DD2A8 4600A306 */ mov.s $f12, $f20 +/* 07675C 800DD2AC 4600B702 */ mul.s $f28, $f22, $f0 +/* 076760 800DD2B0 00000000 */ nop +/* 076764 800DD2B4 2414FFFF */ addiu $s4, $zero, -1 +/* 076768 800DD2B8 4600A306 */ mov.s $f12, $f20 +/* 07676C 800DD2BC 0C00A874 */ jal cos_rad +/* 076770 800DD2C0 4600B587 */ neg.s $f22, $f22 +/* 076774 800DD2C4 02A0202D */ daddu $a0, $s5, $zero +/* 076778 800DD2C8 27B30018 */ addiu $s3, $sp, 0x18 +/* 07677C 800DD2CC 0260282D */ daddu $a1, $s3, $zero +/* 076780 800DD2D0 27B2001C */ addiu $s2, $sp, 0x1c +/* 076784 800DD2D4 0240302D */ daddu $a2, $s2, $zero +/* 076788 800DD2D8 27B10020 */ addiu $s1, $sp, 0x20 +/* 07678C 800DD2DC 0220382D */ daddu $a3, $s1, $zero +/* 076790 800DD2E0 4600B682 */ mul.s $f26, $f22, $f0 +/* 076794 800DD2E4 00000000 */ nop +/* 076798 800DD2E8 C6F60000 */ lwc1 $f22, ($s7) +/* 07679C 800DD2EC C7D80000 */ lwc1 $f24, ($fp) +/* 0767A0 800DD2F0 8FA30084 */ lw $v1, 0x84($sp) +/* 0767A4 800DD2F4 C6C00000 */ lwc1 $f0, ($s6) +/* 0767A8 800DD2F8 C4740000 */ lwc1 $f20, ($v1) +/* 0767AC 800DD2FC 461CB080 */ add.s $f2, $f22, $f28 +/* 0767B0 800DD300 27B00024 */ addiu $s0, $sp, 0x24 +/* 0767B4 800DD304 E7A00024 */ swc1 $f0, 0x24($sp) +/* 0767B8 800DD308 461AA000 */ add.s $f0, $f20, $f26 +/* 0767BC 800DD30C E7B8001C */ swc1 $f24, 0x1c($sp) +/* 0767C0 800DD310 E7A20018 */ swc1 $f2, 0x18($sp) +/* 0767C4 800DD314 E7A00020 */ swc1 $f0, 0x20($sp) +/* 0767C8 800DD318 0C037413 */ jal func_800DD04C +/* 0767CC 800DD31C AFB00010 */ sw $s0, 0x10($sp) +/* 0767D0 800DD320 04410025 */ bgez $v0, .L800DD3B8 +/* 0767D4 800DD324 02A0202D */ daddu $a0, $s5, $zero +/* 0767D8 800DD328 0260282D */ daddu $a1, $s3, $zero +/* 0767DC 800DD32C 461CB081 */ sub.s $f2, $f22, $f28 +/* 0767E0 800DD330 0240302D */ daddu $a2, $s2, $zero +/* 0767E4 800DD334 0220382D */ daddu $a3, $s1, $zero +/* 0767E8 800DD338 461AA001 */ sub.s $f0, $f20, $f26 +/* 0767EC 800DD33C E7B8001C */ swc1 $f24, 0x1c($sp) +/* 0767F0 800DD340 E7A20018 */ swc1 $f2, 0x18($sp) +/* 0767F4 800DD344 E7A00020 */ swc1 $f0, 0x20($sp) +/* 0767F8 800DD348 0C037413 */ jal func_800DD04C +/* 0767FC 800DD34C AFB00010 */ sw $s0, 0x10($sp) +/* 076800 800DD350 04410019 */ bgez $v0, .L800DD3B8 +/* 076804 800DD354 02A0202D */ daddu $a0, $s5, $zero +/* 076808 800DD358 0260282D */ daddu $a1, $s3, $zero +/* 07680C 800DD35C 461AB080 */ add.s $f2, $f22, $f26 +/* 076810 800DD360 0240302D */ daddu $a2, $s2, $zero +/* 076814 800DD364 0220382D */ daddu $a3, $s1, $zero +/* 076818 800DD368 461CA000 */ add.s $f0, $f20, $f28 +/* 07681C 800DD36C E7B8001C */ swc1 $f24, 0x1c($sp) +/* 076820 800DD370 E7A20018 */ swc1 $f2, 0x18($sp) +/* 076824 800DD374 E7A00020 */ swc1 $f0, 0x20($sp) +/* 076828 800DD378 0C037413 */ jal func_800DD04C +/* 07682C 800DD37C AFB00010 */ sw $s0, 0x10($sp) +/* 076830 800DD380 0441000D */ bgez $v0, .L800DD3B8 +/* 076834 800DD384 02A0202D */ daddu $a0, $s5, $zero +/* 076838 800DD388 0260282D */ daddu $a1, $s3, $zero +/* 07683C 800DD38C 461AB081 */ sub.s $f2, $f22, $f26 +/* 076840 800DD390 0240302D */ daddu $a2, $s2, $zero +/* 076844 800DD394 0220382D */ daddu $a3, $s1, $zero +/* 076848 800DD398 461CA001 */ sub.s $f0, $f20, $f28 +/* 07684C 800DD39C E7B8001C */ swc1 $f24, 0x1c($sp) +/* 076850 800DD3A0 E7A20018 */ swc1 $f2, 0x18($sp) +/* 076854 800DD3A4 E7A00020 */ swc1 $f0, 0x20($sp) +/* 076858 800DD3A8 0C037413 */ jal func_800DD04C +/* 07685C 800DD3AC AFB00010 */ sw $s0, 0x10($sp) +/* 076860 800DD3B0 0440000B */ bltz $v0, .L800DD3E0 +/* 076864 800DD3B4 00000000 */ nop +.L800DD3B8: +/* 076868 800DD3B8 C7A00018 */ lwc1 $f0, 0x18($sp) +/* 07686C 800DD3BC E6E00000 */ swc1 $f0, ($s7) +/* 076870 800DD3C0 C7A0001C */ lwc1 $f0, 0x1c($sp) +/* 076874 800DD3C4 E7C00000 */ swc1 $f0, ($fp) +/* 076878 800DD3C8 C7A00020 */ lwc1 $f0, 0x20($sp) +/* 07687C 800DD3CC 8FA30084 */ lw $v1, 0x84($sp) +/* 076880 800DD3D0 E4600000 */ swc1 $f0, ($v1) +/* 076884 800DD3D4 C7A00024 */ lwc1 $f0, 0x24($sp) +/* 076888 800DD3D8 0040A02D */ daddu $s4, $v0, $zero +/* 07688C 800DD3DC E6C00000 */ swc1 $f0, ($s6) +.L800DD3E0: +/* 076890 800DD3E0 06810009 */ bgez $s4, .L800DD408 +/* 076894 800DD3E4 0280102D */ daddu $v0, $s4, $zero +/* 076898 800DD3E8 C7A00018 */ lwc1 $f0, 0x18($sp) +/* 07689C 800DD3EC E6E00000 */ swc1 $f0, ($s7) +/* 0768A0 800DD3F0 C7A0001C */ lwc1 $f0, 0x1c($sp) +/* 0768A4 800DD3F4 E7C00000 */ swc1 $f0, ($fp) +/* 0768A8 800DD3F8 C7A00020 */ lwc1 $f0, 0x20($sp) +/* 0768AC 800DD3FC 8FA30084 */ lw $v1, 0x84($sp) +/* 0768B0 800DD400 E4600000 */ swc1 $f0, ($v1) +/* 0768B4 800DD404 AEC00000 */ sw $zero, ($s6) +.L800DD408: +/* 0768B8 800DD408 8FBF004C */ lw $ra, 0x4c($sp) +/* 0768BC 800DD40C 8FBE0048 */ lw $fp, 0x48($sp) +/* 0768C0 800DD410 8FB70044 */ lw $s7, 0x44($sp) +/* 0768C4 800DD414 8FB60040 */ lw $s6, 0x40($sp) +/* 0768C8 800DD418 8FB5003C */ lw $s5, 0x3c($sp) +/* 0768CC 800DD41C 8FB40038 */ lw $s4, 0x38($sp) +/* 0768D0 800DD420 8FB30034 */ lw $s3, 0x34($sp) +/* 0768D4 800DD424 8FB20030 */ lw $s2, 0x30($sp) +/* 0768D8 800DD428 8FB1002C */ lw $s1, 0x2c($sp) +/* 0768DC 800DD42C 8FB00028 */ lw $s0, 0x28($sp) +/* 0768E0 800DD430 D7BC0070 */ ldc1 $f28, 0x70($sp) +/* 0768E4 800DD434 D7BA0068 */ ldc1 $f26, 0x68($sp) +/* 0768E8 800DD438 D7B80060 */ ldc1 $f24, 0x60($sp) +/* 0768EC 800DD43C D7B60058 */ ldc1 $f22, 0x58($sp) +/* 0768F0 800DD440 D7B40050 */ ldc1 $f20, 0x50($sp) +/* 0768F4 800DD444 03E00008 */ jr $ra +/* 0768F8 800DD448 27BD0078 */ addiu $sp, $sp, 0x78 + +func_800DD44C: +/* 0768FC 800DD44C 27BDFF70 */ addiu $sp, $sp, -0x90 +/* 076900 800DD450 F7B40060 */ sdc1 $f20, 0x60($sp) +/* 076904 800DD454 4485A000 */ mtc1 $a1, $f20 +/* 076908 800DD458 F7BA0078 */ sdc1 $f26, 0x78($sp) +/* 07690C 800DD45C 4486D000 */ mtc1 $a2, $f26 +/* 076910 800DD460 F7B80070 */ sdc1 $f24, 0x70($sp) +/* 076914 800DD464 4487C000 */ mtc1 $a3, $f24 +/* 076918 800DD468 F7B60068 */ sdc1 $f22, 0x68($sp) +/* 07691C 800DD46C C7B600A0 */ lwc1 $f22, 0xa0($sp) +/* 076920 800DD470 F7BC0080 */ sdc1 $f28, 0x80($sp) +/* 076924 800DD474 C7BC00A4 */ lwc1 $f28, 0xa4($sp) +/* 076928 800DD478 F7BE0088 */ sdc1 $f30, 0x88($sp) +/* 07692C 800DD47C C7BE00A8 */ lwc1 $f30, 0xa8($sp) +/* 076930 800DD480 AFB20040 */ sw $s2, 0x40($sp) +/* 076934 800DD484 8FB200AC */ lw $s2, 0xac($sp) +/* 076938 800DD488 AFB30044 */ sw $s3, 0x44($sp) +/* 07693C 800DD48C 8FB300B0 */ lw $s3, 0xb0($sp) +/* 076940 800DD490 AFB40048 */ sw $s4, 0x48($sp) +/* 076944 800DD494 8FB400B4 */ lw $s4, 0xb4($sp) +/* 076948 800DD498 AFB5004C */ sw $s5, 0x4c($sp) +/* 07694C 800DD49C 8FB500B8 */ lw $s5, 0xb8($sp) +/* 076950 800DD4A0 AFB60050 */ sw $s6, 0x50($sp) +/* 076954 800DD4A4 8FB600BC */ lw $s6, 0xbc($sp) +/* 076958 800DD4A8 AFB1003C */ sw $s1, 0x3c($sp) +/* 07695C 800DD4AC 0080882D */ daddu $s1, $a0, $zero +/* 076960 800DD4B0 AFB00038 */ sw $s0, 0x38($sp) +/* 076964 800DD4B4 2410FFFF */ addiu $s0, $zero, -1 +/* 076968 800DD4B8 AFB70054 */ sw $s7, 0x54($sp) +/* 07696C 800DD4BC 8FB700C0 */ lw $s7, 0xc0($sp) +/* 076970 800DD4C0 3C020010 */ lui $v0, 0x10 +/* 076974 800DD4C4 AFBE0058 */ sw $fp, 0x58($sp) +/* 076978 800DD4C8 8FBE00C4 */ lw $fp, 0xc4($sp) +/* 07697C 800DD4CC 02221024 */ and $v0, $s1, $v0 +/* 076980 800DD4D0 14400015 */ bnez $v0, .L800DD528 +/* 076984 800DD4D4 AFBF005C */ sw $ra, 0x5c($sp) +/* 076988 800DD4D8 4406D000 */ mfc1 $a2, $f26 +/* 07698C 800DD4DC 4407C000 */ mfc1 $a3, $f24 +/* 076990 800DD4E0 4405A000 */ mfc1 $a1, $f20 +/* 076994 800DD4E4 0220202D */ daddu $a0, $s1, $zero +/* 076998 800DD4E8 E7B60010 */ swc1 $f22, 0x10($sp) +/* 07699C 800DD4EC E7BC0014 */ swc1 $f28, 0x14($sp) +/* 0769A0 800DD4F0 E7BE0018 */ swc1 $f30, 0x18($sp) +/* 0769A4 800DD4F4 AFB2001C */ sw $s2, 0x1c($sp) +/* 0769A8 800DD4F8 AFB30020 */ sw $s3, 0x20($sp) +/* 0769AC 800DD4FC AFB40024 */ sw $s4, 0x24($sp) +/* 0769B0 800DD500 AFB50028 */ sw $s5, 0x28($sp) +/* 0769B4 800DD504 AFB6002C */ sw $s6, 0x2c($sp) +/* 0769B8 800DD508 AFB70030 */ sw $s7, 0x30($sp) +/* 0769BC 800DD50C 0C017334 */ jal test_ray_colliders +/* 0769C0 800DD510 AFBE0034 */ sw $fp, 0x34($sp) +/* 0769C4 800DD514 0040802D */ daddu $s0, $v0, $zero +/* 0769C8 800DD518 3C020004 */ lui $v0, 4 +/* 0769CC 800DD51C 02221024 */ and $v0, $s1, $v0 +/* 0769D0 800DD520 14400012 */ bnez $v0, .L800DD56C +/* 0769D4 800DD524 0200102D */ daddu $v0, $s0, $zero +.L800DD528: +/* 0769D8 800DD528 4600A306 */ mov.s $f12, $f20 +/* 0769DC 800DD52C 4406C000 */ mfc1 $a2, $f24 +/* 0769E0 800DD530 4407B000 */ mfc1 $a3, $f22 +/* 0769E4 800DD534 4600D386 */ mov.s $f14, $f26 +/* 0769E8 800DD538 E7BC0010 */ swc1 $f28, 0x10($sp) +/* 0769EC 800DD53C E7BE0014 */ swc1 $f30, 0x14($sp) +/* 0769F0 800DD540 AFB20018 */ sw $s2, 0x18($sp) +/* 0769F4 800DD544 AFB3001C */ sw $s3, 0x1c($sp) +/* 0769F8 800DD548 AFB40020 */ sw $s4, 0x20($sp) +/* 0769FC 800DD54C AFB50024 */ sw $s5, 0x24($sp) +/* 076A00 800DD550 AFB60028 */ sw $s6, 0x28($sp) +/* 076A04 800DD554 AFB7002C */ sw $s7, 0x2c($sp) +/* 076A08 800DD558 0C017512 */ jal test_ray_entities +/* 076A0C 800DD55C AFBE0030 */ sw $fp, 0x30($sp) +/* 076A10 800DD560 04430001 */ bgezl $v0, .L800DD568 +/* 076A14 800DD564 34504000 */ ori $s0, $v0, 0x4000 +.L800DD568: +/* 076A18 800DD568 0200102D */ daddu $v0, $s0, $zero +.L800DD56C: +/* 076A1C 800DD56C 8FBF005C */ lw $ra, 0x5c($sp) +/* 076A20 800DD570 8FBE0058 */ lw $fp, 0x58($sp) +/* 076A24 800DD574 8FB70054 */ lw $s7, 0x54($sp) +/* 076A28 800DD578 8FB60050 */ lw $s6, 0x50($sp) +/* 076A2C 800DD57C 8FB5004C */ lw $s5, 0x4c($sp) +/* 076A30 800DD580 8FB40048 */ lw $s4, 0x48($sp) +/* 076A34 800DD584 8FB30044 */ lw $s3, 0x44($sp) +/* 076A38 800DD588 8FB20040 */ lw $s2, 0x40($sp) +/* 076A3C 800DD58C 8FB1003C */ lw $s1, 0x3c($sp) +/* 076A40 800DD590 8FB00038 */ lw $s0, 0x38($sp) +/* 076A44 800DD594 D7BE0088 */ ldc1 $f30, 0x88($sp) +/* 076A48 800DD598 D7BC0080 */ ldc1 $f28, 0x80($sp) +/* 076A4C 800DD59C D7BA0078 */ ldc1 $f26, 0x78($sp) +/* 076A50 800DD5A0 D7B80070 */ ldc1 $f24, 0x70($sp) +/* 076A54 800DD5A4 D7B60068 */ ldc1 $f22, 0x68($sp) +/* 076A58 800DD5A8 D7B40060 */ ldc1 $f20, 0x60($sp) +/* 076A5C 800DD5AC 03E00008 */ jr $ra +/* 076A60 800DD5B0 27BD0090 */ addiu $sp, $sp, 0x90 + +func_800DD5B4: +/* 076A64 800DD5B4 44863000 */ mtc1 $a2, $f6 +/* 076A68 800DD5B8 C7A40010 */ lwc1 $f4, 0x10($sp) +/* 076A6C 800DD5BC 46043082 */ mul.s $f2, $f6, $f4 +/* 076A70 800DD5C0 00000000 */ nop +/* 076A74 800DD5C4 44874000 */ mtc1 $a3, $f8 +/* 076A78 800DD5C8 C7AA0014 */ lwc1 $f10, 0x14($sp) +/* 076A7C 800DD5CC 460A4002 */ mul.s $f0, $f8, $f10 +/* 076A80 800DD5D0 00000000 */ nop +/* 076A84 800DD5D4 46001080 */ add.s $f2, $f2, $f0 +/* 076A88 800DD5D8 46041102 */ mul.s $f4, $f2, $f4 +/* 076A8C 800DD5DC 00000000 */ nop +/* 076A90 800DD5E0 460A1082 */ mul.s $f2, $f2, $f10 +/* 076A94 800DD5E4 00000000 */ nop +/* 076A98 800DD5E8 46043181 */ sub.s $f6, $f6, $f4 +/* 076A9C 800DD5EC 3C013F00 */ lui $at, 0x3f00 +/* 076AA0 800DD5F0 44810000 */ mtc1 $at, $f0 +/* 076AA4 800DD5F4 00000000 */ nop +/* 076AA8 800DD5F8 46003182 */ mul.s $f6, $f6, $f0 +/* 076AAC 800DD5FC 00000000 */ nop +/* 076AB0 800DD600 46024201 */ sub.s $f8, $f8, $f2 +/* 076AB4 800DD604 46004202 */ mul.s $f8, $f8, $f0 +/* 076AB8 800DD608 00000000 */ nop +/* 076ABC 800DD60C E4860000 */ swc1 $f6, ($a0) +/* 076AC0 800DD610 03E00008 */ jr $ra +/* 076AC4 800DD614 E4A80000 */ swc1 $f8, ($a1) + +func_800DD618: +/* 076AC8 800DD618 27BDFF50 */ addiu $sp, $sp, -0xb0 +/* 076ACC 800DD61C C7AC00C4 */ lwc1 $f12, 0xc4($sp) +/* 076AD0 800DD620 3C0140C9 */ lui $at, 0x40c9 +/* 076AD4 800DD624 34210FD0 */ ori $at, $at, 0xfd0 +/* 076AD8 800DD628 44810000 */ mtc1 $at, $f0 +/* 076ADC 800DD62C AFB00068 */ sw $s0, 0x68($sp) +/* 076AE0 800DD630 0080802D */ daddu $s0, $a0, $zero +/* 076AE4 800DD634 AFB30074 */ sw $s3, 0x74($sp) +/* 076AE8 800DD638 00A0982D */ daddu $s3, $a1, $zero +/* 076AEC 800DD63C AFB1006C */ sw $s1, 0x6c($sp) +/* 076AF0 800DD640 00C0882D */ daddu $s1, $a2, $zero +/* 076AF4 800DD644 AFB40078 */ sw $s4, 0x78($sp) +/* 076AF8 800DD648 00E0A02D */ daddu $s4, $a3, $zero +/* 076AFC 800DD64C F7B80098 */ sdc1 $f24, 0x98($sp) +/* 076B00 800DD650 C7B800C0 */ lwc1 $f24, 0xc0($sp) +/* 076B04 800DD654 27A50038 */ addiu $a1, $sp, 0x38 +/* 076B08 800DD658 F7B40088 */ sdc1 $f20, 0x88($sp) +/* 076B0C 800DD65C C7B400C8 */ lwc1 $f20, 0xc8($sp) +/* 076B10 800DD660 46006302 */ mul.s $f12, $f12, $f0 +/* 076B14 800DD664 00000000 */ nop +/* 076B18 800DD668 3C0143B4 */ lui $at, 0x43b4 +/* 076B1C 800DD66C 44810000 */ mtc1 $at, $f0 +/* 076B20 800DD670 27A6003C */ addiu $a2, $sp, 0x3c +/* 076B24 800DD674 AFBF0080 */ sw $ra, 0x80($sp) +/* 076B28 800DD678 AFB5007C */ sw $s5, 0x7c($sp) +/* 076B2C 800DD67C AFB20070 */ sw $s2, 0x70($sp) +/* 076B30 800DD680 F7BC00A8 */ sdc1 $f28, 0xa8($sp) +/* 076B34 800DD684 F7BA00A0 */ sdc1 $f26, 0xa0($sp) +/* 076B38 800DD688 F7B60090 */ sdc1 $f22, 0x90($sp) +/* 076B3C 800DD68C 0C00A82D */ jal sin_cos_rad +/* 076B40 800DD690 46006303 */ div.s $f12, $f12, $f0 +/* 076B44 800DD694 C7A40038 */ lwc1 $f4, 0x38($sp) +/* 076B48 800DD698 4604C702 */ mul.s $f28, $f24, $f4 +/* 076B4C 800DD69C 00000000 */ nop +/* 076B50 800DD6A0 4604A182 */ mul.s $f6, $f20, $f4 +/* 076B54 800DD6A4 00000000 */ nop +/* 076B58 800DD6A8 3C013F00 */ lui $at, 0x3f00 +/* 076B5C 800DD6AC 44814000 */ mtc1 $at, $f8 +/* 076B60 800DD6B0 00000000 */ nop +/* 076B64 800DD6B4 4608A082 */ mul.s $f2, $f20, $f8 +/* 076B68 800DD6B8 00000000 */ nop +/* 076B6C 800DD6BC 46083182 */ mul.s $f6, $f6, $f8 +/* 076B70 800DD6C0 00000000 */ nop +/* 076B74 800DD6C4 2412FFFF */ addiu $s2, $zero, -1 +/* 076B78 800DD6C8 4614C000 */ add.s $f0, $f24, $f20 +/* 076B7C 800DD6CC 0000A82D */ daddu $s5, $zero, $zero +/* 076B80 800DD6D0 46020580 */ add.s $f22, $f0, $f2 +/* 076B84 800DD6D4 C7A2003C */ lwc1 $f2, 0x3c($sp) +/* 076B88 800DD6D8 27A20040 */ addiu $v0, $sp, 0x40 +/* 076B8C 800DD6DC 46001087 */ neg.s $f2, $f2 +/* 076B90 800DD6E0 E7A2003C */ swc1 $f2, 0x3c($sp) +/* 076B94 800DD6E4 E7B6004C */ swc1 $f22, 0x4c($sp) +/* 076B98 800DD6E8 C66A0000 */ lwc1 $f10, ($s3) +/* 076B9C 800DD6EC C68C0000 */ lwc1 $f12, ($s4) +/* 076BA0 800DD6F0 4602A002 */ mul.s $f0, $f20, $f2 +/* 076BA4 800DD6F4 00000000 */ nop +/* 076BA8 800DD6F8 AFA2001C */ sw $v0, 0x1c($sp) +/* 076BAC 800DD6FC 27A20044 */ addiu $v0, $sp, 0x44 +/* 076BB0 800DD700 AFA20020 */ sw $v0, 0x20($sp) +/* 076BB4 800DD704 27A20048 */ addiu $v0, $sp, 0x48 +/* 076BB8 800DD708 AFA20024 */ sw $v0, 0x24($sp) +/* 076BBC 800DD70C 27A2004C */ addiu $v0, $sp, 0x4c +/* 076BC0 800DD710 AFA20028 */ sw $v0, 0x28($sp) +/* 076BC4 800DD714 27A20050 */ addiu $v0, $sp, 0x50 +/* 076BC8 800DD718 AFA2002C */ sw $v0, 0x2c($sp) +/* 076BCC 800DD71C 27A20054 */ addiu $v0, $sp, 0x54 +/* 076BD0 800DD720 46080002 */ mul.s $f0, $f0, $f8 +/* 076BD4 800DD724 00000000 */ nop +/* 076BD8 800DD728 AFA20030 */ sw $v0, 0x30($sp) +/* 076BDC 800DD72C 27A20058 */ addiu $v0, $sp, 0x58 +/* 076BE0 800DD730 E7A40010 */ swc1 $f4, 0x10($sp) +/* 076BE4 800DD734 AFA00014 */ sw $zero, 0x14($sp) +/* 076BE8 800DD738 46065281 */ sub.s $f10, $f10, $f6 +/* 076BEC 800DD73C E7A20018 */ swc1 $f2, 0x18($sp) +/* 076BF0 800DD740 AFA20034 */ sw $v0, 0x34($sp) +/* 076BF4 800DD744 46006301 */ sub.s $f12, $f12, $f0 +/* 076BF8 800DD748 8E260000 */ lw $a2, ($s1) +/* 076BFC 800DD74C 44055000 */ mfc1 $a1, $f10 +/* 076C00 800DD750 44076000 */ mfc1 $a3, $f12 +/* 076C04 800DD754 4602C682 */ mul.s $f26, $f24, $f2 +/* 076C08 800DD758 00000000 */ nop +/* 076C0C 800DD75C 0C037513 */ jal func_800DD44C +/* 076C10 800DD760 0200202D */ daddu $a0, $s0, $zero +/* 076C14 800DD764 0040802D */ daddu $s0, $v0, $zero +/* 076C18 800DD768 0600004E */ bltz $s0, .L800DD8A4 +/* 076C1C 800DD76C 00000000 */ nop +/* 076C20 800DD770 C7A0004C */ lwc1 $f0, 0x4c($sp) +/* 076C24 800DD774 4616003E */ c.le.s $f0, $f22 +/* 076C28 800DD778 00000000 */ nop +/* 076C2C 800DD77C 45000049 */ bc1f .L800DD8A4 +/* 076C30 800DD780 00000000 */ nop +/* 076C34 800DD784 C7A20050 */ lwc1 $f2, 0x50($sp) +/* 076C38 800DD788 46021082 */ mul.s $f2, $f2, $f2 +/* 076C3C 800DD78C 00000000 */ nop +/* 076C40 800DD790 C7A00058 */ lwc1 $f0, 0x58($sp) +/* 076C44 800DD794 46000002 */ mul.s $f0, $f0, $f0 +/* 076C48 800DD798 00000000 */ nop +/* 076C4C 800DD79C 46001300 */ add.s $f12, $f2, $f0 +/* 076C50 800DD7A0 46006004 */ sqrt.s $f0, $f12 +/* 076C54 800DD7A4 46000032 */ c.eq.s $f0, $f0 +/* 076C58 800DD7A8 00000000 */ nop +/* 076C5C 800DD7AC 45010003 */ bc1t .L800DD7BC +/* 076C60 800DD7B0 00000000 */ nop +/* 076C64 800DD7B4 0C0187BC */ jal sqrtf +/* 076C68 800DD7B8 00000000 */ nop +.L800DD7BC: +/* 076C6C 800DD7BC 44060000 */ mfc1 $a2, $f0 +/* 076C70 800DD7C0 C7A00054 */ lwc1 $f0, 0x54($sp) +/* 076C74 800DD7C4 44806000 */ mtc1 $zero, $f12 +/* 076C78 800DD7C8 46000007 */ neg.s $f0, $f0 +/* 076C7C 800DD7CC 44070000 */ mfc1 $a3, $f0 +/* 076C80 800DD7D0 0C00A720 */ jal atan2 +/* 076C84 800DD7D4 46006386 */ mov.s $f14, $f12 +/* 076C88 800DD7D8 3C014270 */ lui $at, 0x4270 +/* 076C8C 800DD7DC 44811000 */ mtc1 $at, $f2 +/* 076C90 800DD7E0 46000106 */ mov.s $f4, $f0 +/* 076C94 800DD7E4 4604103C */ c.lt.s $f2, $f4 +/* 076C98 800DD7E8 00000000 */ nop +/* 076C9C 800DD7EC 45000008 */ bc1f .L800DD810 +/* 076CA0 800DD7F0 00000000 */ nop +/* 076CA4 800DD7F4 3C0142B4 */ lui $at, 0x42b4 +/* 076CA8 800DD7F8 44810000 */ mtc1 $at, $f0 +/* 076CAC 800DD7FC 00000000 */ nop +/* 076CB0 800DD800 4600203C */ c.lt.s $f4, $f0 +/* 076CB4 800DD804 00000000 */ nop +/* 076CB8 800DD808 45030001 */ bc1tl .L800DD810 +/* 076CBC 800DD80C 24150001 */ addiu $s5, $zero, 1 +.L800DD810: +/* 076CC0 800DD810 3C013F00 */ lui $at, 0x3f00 +/* 076CC4 800DD814 44810000 */ mtc1 $at, $f0 +/* 076CC8 800DD818 00000000 */ nop +/* 076CCC 800DD81C 4600A002 */ mul.s $f0, $f20, $f0 +/* 076CD0 800DD820 00000000 */ nop +/* 076CD4 800DD824 4614C080 */ add.s $f2, $f24, $f20 +/* 076CD8 800DD828 27A4005C */ addiu $a0, $sp, 0x5c +/* 076CDC 800DD82C 4406E000 */ mfc1 $a2, $f28 +/* 076CE0 800DD830 46001080 */ add.s $f2, $f2, $f0 +/* 076CE4 800DD834 C7B4004C */ lwc1 $f20, 0x4c($sp) +/* 076CE8 800DD838 4407D000 */ mfc1 $a3, $f26 +/* 076CEC 800DD83C 4602A501 */ sub.s $f20, $f20, $f2 +/* 076CF0 800DD840 C7B60038 */ lwc1 $f22, 0x38($sp) +/* 076CF4 800DD844 C7A00050 */ lwc1 $f0, 0x50($sp) +/* 076CF8 800DD848 4616A582 */ mul.s $f22, $f20, $f22 +/* 076CFC 800DD84C 00000000 */ nop +/* 076D00 800DD850 C7A2003C */ lwc1 $f2, 0x3c($sp) +/* 076D04 800DD854 27A50060 */ addiu $a1, $sp, 0x60 +/* 076D08 800DD858 E7A00010 */ swc1 $f0, 0x10($sp) +/* 076D0C 800DD85C C7A00058 */ lwc1 $f0, 0x58($sp) +/* 076D10 800DD860 4602A502 */ mul.s $f20, $f20, $f2 +/* 076D14 800DD864 00000000 */ nop +/* 076D18 800DD868 0C03756D */ jal func_800DD5B4 +/* 076D1C 800DD86C E7A00014 */ swc1 $f0, 0x14($sp) +/* 076D20 800DD870 C7A0005C */ lwc1 $f0, 0x5c($sp) +/* 076D24 800DD874 4600B580 */ add.s $f22, $f22, $f0 +/* 076D28 800DD878 C6600000 */ lwc1 $f0, ($s3) +/* 076D2C 800DD87C 46160000 */ add.s $f0, $f0, $f22 +/* 076D30 800DD880 E6600000 */ swc1 $f0, ($s3) +/* 076D34 800DD884 C7A00060 */ lwc1 $f0, 0x60($sp) +/* 076D38 800DD888 4600A500 */ add.s $f20, $f20, $f0 +/* 076D3C 800DD88C C6800000 */ lwc1 $f0, ($s4) +/* 076D40 800DD890 46140000 */ add.s $f0, $f0, $f20 +/* 076D44 800DD894 0200902D */ daddu $s2, $s0, $zero +/* 076D48 800DD898 E6800000 */ swc1 $f0, ($s4) +/* 076D4C 800DD89C 3C018011 */ lui $at, 0x8011 +/* 076D50 800DD8A0 AC32C978 */ sw $s2, -0x3688($at) +.L800DD8A4: +/* 076D54 800DD8A4 16A00007 */ bnez $s5, .L800DD8C4 +/* 076D58 800DD8A8 0240102D */ daddu $v0, $s2, $zero +/* 076D5C 800DD8AC C6600000 */ lwc1 $f0, ($s3) +/* 076D60 800DD8B0 461C0000 */ add.s $f0, $f0, $f28 +/* 076D64 800DD8B4 E6600000 */ swc1 $f0, ($s3) +/* 076D68 800DD8B8 C6800000 */ lwc1 $f0, ($s4) +/* 076D6C 800DD8BC 461A0000 */ add.s $f0, $f0, $f26 +/* 076D70 800DD8C0 E6800000 */ swc1 $f0, ($s4) +.L800DD8C4: +/* 076D74 800DD8C4 8FBF0080 */ lw $ra, 0x80($sp) +/* 076D78 800DD8C8 8FB5007C */ lw $s5, 0x7c($sp) +/* 076D7C 800DD8CC 8FB40078 */ lw $s4, 0x78($sp) +/* 076D80 800DD8D0 8FB30074 */ lw $s3, 0x74($sp) +/* 076D84 800DD8D4 8FB20070 */ lw $s2, 0x70($sp) +/* 076D88 800DD8D8 8FB1006C */ lw $s1, 0x6c($sp) +/* 076D8C 800DD8DC 8FB00068 */ lw $s0, 0x68($sp) +/* 076D90 800DD8E0 D7BC00A8 */ ldc1 $f28, 0xa8($sp) +/* 076D94 800DD8E4 D7BA00A0 */ ldc1 $f26, 0xa0($sp) +/* 076D98 800DD8E8 D7B80098 */ ldc1 $f24, 0x98($sp) +/* 076D9C 800DD8EC D7B60090 */ ldc1 $f22, 0x90($sp) +/* 076DA0 800DD8F0 D7B40088 */ ldc1 $f20, 0x88($sp) +/* 076DA4 800DD8F4 03E00008 */ jr $ra +/* 076DA8 800DD8F8 27BD00B0 */ addiu $sp, $sp, 0xb0 + +func_800DD8FC: +/* 076DAC 800DD8FC 27BDFF68 */ addiu $sp, $sp, -0x98 +/* 076DB0 800DD900 C7AC00AC */ lwc1 $f12, 0xac($sp) +/* 076DB4 800DD904 3C0140C9 */ lui $at, 0x40c9 +/* 076DB8 800DD908 34210FD0 */ ori $at, $at, 0xfd0 +/* 076DBC 800DD90C 44810000 */ mtc1 $at, $f0 +/* 076DC0 800DD910 AFB10064 */ sw $s1, 0x64($sp) +/* 076DC4 800DD914 0080882D */ daddu $s1, $a0, $zero +/* 076DC8 800DD918 AFB3006C */ sw $s3, 0x6c($sp) +/* 076DCC 800DD91C 00A0982D */ daddu $s3, $a1, $zero +/* 076DD0 800DD920 AFB00060 */ sw $s0, 0x60($sp) +/* 076DD4 800DD924 00C0802D */ daddu $s0, $a2, $zero +/* 076DD8 800DD928 AFB40070 */ sw $s4, 0x70($sp) +/* 076DDC 800DD92C 00E0A02D */ daddu $s4, $a3, $zero +/* 076DE0 800DD930 F7B60080 */ sdc1 $f22, 0x80($sp) +/* 076DE4 800DD934 C7B600A8 */ lwc1 $f22, 0xa8($sp) +/* 076DE8 800DD938 27A50038 */ addiu $a1, $sp, 0x38 +/* 076DEC 800DD93C F7B40078 */ sdc1 $f20, 0x78($sp) +/* 076DF0 800DD940 C7B400B0 */ lwc1 $f20, 0xb0($sp) +/* 076DF4 800DD944 46006302 */ mul.s $f12, $f12, $f0 +/* 076DF8 800DD948 00000000 */ nop +/* 076DFC 800DD94C 3C0143B4 */ lui $at, 0x43b4 +/* 076E00 800DD950 44810000 */ mtc1 $at, $f0 +/* 076E04 800DD954 27A6003C */ addiu $a2, $sp, 0x3c +/* 076E08 800DD958 AFBF0074 */ sw $ra, 0x74($sp) +/* 076E0C 800DD95C AFB20068 */ sw $s2, 0x68($sp) +/* 076E10 800DD960 F7BA0090 */ sdc1 $f26, 0x90($sp) +/* 076E14 800DD964 F7B80088 */ sdc1 $f24, 0x88($sp) +/* 076E18 800DD968 0C00A82D */ jal sin_cos_rad +/* 076E1C 800DD96C 46006303 */ div.s $f12, $f12, $f0 +/* 076E20 800DD970 3C013F00 */ lui $at, 0x3f00 +/* 076E24 800DD974 44813000 */ mtc1 $at, $f6 +/* 076E28 800DD978 00000000 */ nop +/* 076E2C 800DD97C 4606A082 */ mul.s $f2, $f20, $f6 +/* 076E30 800DD980 00000000 */ nop +/* 076E34 800DD984 4614B000 */ add.s $f0, $f22, $f20 +/* 076E38 800DD988 46020600 */ add.s $f24, $f0, $f2 +/* 076E3C 800DD98C C7A00038 */ lwc1 $f0, 0x38($sp) +/* 076E40 800DD990 4600B682 */ mul.s $f26, $f22, $f0 +/* 076E44 800DD994 00000000 */ nop +/* 076E48 800DD998 2412FFFF */ addiu $s2, $zero, -1 +/* 076E4C 800DD99C 27A20040 */ addiu $v0, $sp, 0x40 +/* 076E50 800DD9A0 C7A2003C */ lwc1 $f2, 0x3c($sp) +/* 076E54 800DD9A4 46001087 */ neg.s $f2, $f2 +/* 076E58 800DD9A8 4600A102 */ mul.s $f4, $f20, $f0 +/* 076E5C 800DD9AC 00000000 */ nop +/* 076E60 800DD9B0 E7A2003C */ swc1 $f2, 0x3c($sp) +/* 076E64 800DD9B4 E7B8004C */ swc1 $f24, 0x4c($sp) +/* 076E68 800DD9B8 C6680000 */ lwc1 $f8, ($s3) +/* 076E6C 800DD9BC C68A0000 */ lwc1 $f10, ($s4) +/* 076E70 800DD9C0 4602A502 */ mul.s $f20, $f20, $f2 +/* 076E74 800DD9C4 00000000 */ nop +/* 076E78 800DD9C8 AFA2001C */ sw $v0, 0x1c($sp) +/* 076E7C 800DD9CC 27A20044 */ addiu $v0, $sp, 0x44 +/* 076E80 800DD9D0 AFA20020 */ sw $v0, 0x20($sp) +/* 076E84 800DD9D4 27A20048 */ addiu $v0, $sp, 0x48 +/* 076E88 800DD9D8 AFA20024 */ sw $v0, 0x24($sp) +/* 076E8C 800DD9DC 27A2004C */ addiu $v0, $sp, 0x4c +/* 076E90 800DD9E0 46062102 */ mul.s $f4, $f4, $f6 +/* 076E94 800DD9E4 00000000 */ nop +/* 076E98 800DD9E8 AFA20028 */ sw $v0, 0x28($sp) +/* 076E9C 800DD9EC 27A20050 */ addiu $v0, $sp, 0x50 +/* 076EA0 800DD9F0 AFA2002C */ sw $v0, 0x2c($sp) +/* 076EA4 800DD9F4 27A20054 */ addiu $v0, $sp, 0x54 +/* 076EA8 800DD9F8 4606A502 */ mul.s $f20, $f20, $f6 +/* 076EAC 800DD9FC 00000000 */ nop +/* 076EB0 800DDA00 AFA20030 */ sw $v0, 0x30($sp) +/* 076EB4 800DDA04 27A20058 */ addiu $v0, $sp, 0x58 +/* 076EB8 800DDA08 E7A00010 */ swc1 $f0, 0x10($sp) +/* 076EBC 800DDA0C AFA00014 */ sw $zero, 0x14($sp) +/* 076EC0 800DDA10 46044201 */ sub.s $f8, $f8, $f4 +/* 076EC4 800DDA14 E7A20018 */ swc1 $f2, 0x18($sp) +/* 076EC8 800DDA18 AFA20034 */ sw $v0, 0x34($sp) +/* 076ECC 800DDA1C 46145281 */ sub.s $f10, $f10, $f20 +/* 076ED0 800DDA20 8E060000 */ lw $a2, ($s0) +/* 076ED4 800DDA24 44054000 */ mfc1 $a1, $f8 +/* 076ED8 800DDA28 44075000 */ mfc1 $a3, $f10 +/* 076EDC 800DDA2C 4602B582 */ mul.s $f22, $f22, $f2 +/* 076EE0 800DDA30 00000000 */ nop +/* 076EE4 800DDA34 0C037513 */ jal func_800DD44C +/* 076EE8 800DDA38 0220202D */ daddu $a0, $s1, $zero +/* 076EEC 800DDA3C 04400016 */ bltz $v0, .L800DDA98 +/* 076EF0 800DDA40 00000000 */ nop +/* 076EF4 800DDA44 C7A4004C */ lwc1 $f4, 0x4c($sp) +/* 076EF8 800DDA48 4618203E */ c.le.s $f4, $f24 +/* 076EFC 800DDA4C 00000000 */ nop +/* 076F00 800DDA50 45000011 */ bc1f .L800DDA98 +/* 076F04 800DDA54 00000000 */ nop +/* 076F08 800DDA58 46182101 */ sub.s $f4, $f4, $f24 +/* 076F0C 800DDA5C C7A00038 */ lwc1 $f0, 0x38($sp) +/* 076F10 800DDA60 46002002 */ mul.s $f0, $f4, $f0 +/* 076F14 800DDA64 00000000 */ nop +/* 076F18 800DDA68 C6620000 */ lwc1 $f2, ($s3) +/* 076F1C 800DDA6C 46001080 */ add.s $f2, $f2, $f0 +/* 076F20 800DDA70 C7A0003C */ lwc1 $f0, 0x3c($sp) +/* 076F24 800DDA74 46002102 */ mul.s $f4, $f4, $f0 +/* 076F28 800DDA78 00000000 */ nop +/* 076F2C 800DDA7C E6620000 */ swc1 $f2, ($s3) +/* 076F30 800DDA80 C6800000 */ lwc1 $f0, ($s4) +/* 076F34 800DDA84 46040000 */ add.s $f0, $f0, $f4 +/* 076F38 800DDA88 0040902D */ daddu $s2, $v0, $zero +/* 076F3C 800DDA8C E6800000 */ swc1 $f0, ($s4) +/* 076F40 800DDA90 3C018011 */ lui $at, 0x8011 +/* 076F44 800DDA94 AC32C978 */ sw $s2, -0x3688($at) +.L800DDA98: +/* 076F48 800DDA98 C6600000 */ lwc1 $f0, ($s3) +/* 076F4C 800DDA9C 461A0000 */ add.s $f0, $f0, $f26 +/* 076F50 800DDAA0 E6600000 */ swc1 $f0, ($s3) +/* 076F54 800DDAA4 C6800000 */ lwc1 $f0, ($s4) +/* 076F58 800DDAA8 46160000 */ add.s $f0, $f0, $f22 +/* 076F5C 800DDAAC 0240102D */ daddu $v0, $s2, $zero +/* 076F60 800DDAB0 E6800000 */ swc1 $f0, ($s4) +/* 076F64 800DDAB4 8FBF0074 */ lw $ra, 0x74($sp) +/* 076F68 800DDAB8 8FB40070 */ lw $s4, 0x70($sp) +/* 076F6C 800DDABC 8FB3006C */ lw $s3, 0x6c($sp) +/* 076F70 800DDAC0 8FB20068 */ lw $s2, 0x68($sp) +/* 076F74 800DDAC4 8FB10064 */ lw $s1, 0x64($sp) +/* 076F78 800DDAC8 8FB00060 */ lw $s0, 0x60($sp) +/* 076F7C 800DDACC D7BA0090 */ ldc1 $f26, 0x90($sp) +/* 076F80 800DDAD0 D7B80088 */ ldc1 $f24, 0x88($sp) +/* 076F84 800DDAD4 D7B60080 */ ldc1 $f22, 0x80($sp) +/* 076F88 800DDAD8 D7B40078 */ ldc1 $f20, 0x78($sp) +/* 076F8C 800DDADC 03E00008 */ jr $ra +/* 076F90 800DDAE0 27BD0098 */ addiu $sp, $sp, 0x98 + +func_800DDAE4: +/* 076F94 800DDAE4 27BDFF98 */ addiu $sp, $sp, -0x68 +/* 076F98 800DDAE8 F7B40050 */ sdc1 $f20, 0x50($sp) +/* 076F9C 800DDAEC C7B40084 */ lwc1 $f20, 0x84($sp) +/* 076FA0 800DDAF0 C7A40078 */ lwc1 $f4, 0x78($sp) +/* 076FA4 800DDAF4 AFB60048 */ sw $s6, 0x48($sp) +/* 076FA8 800DDAF8 0080B02D */ daddu $s6, $a0, $zero +/* 076FAC 800DDAFC AFB3003C */ sw $s3, 0x3c($sp) +/* 076FB0 800DDB00 00A0982D */ daddu $s3, $a1, $zero +/* 076FB4 800DDB04 AFB50044 */ sw $s5, 0x44($sp) +/* 076FB8 800DDB08 00C0A82D */ daddu $s5, $a2, $zero +/* 076FBC 800DDB0C AFB40040 */ sw $s4, 0x40($sp) +/* 076FC0 800DDB10 00E0A02D */ daddu $s4, $a3, $zero +/* 076FC4 800DDB14 F7B80060 */ sdc1 $f24, 0x60($sp) +/* 076FC8 800DDB18 C7B8007C */ lwc1 $f24, 0x7c($sp) +/* 076FCC 800DDB1C C7A20080 */ lwc1 $f2, 0x80($sp) +/* 076FD0 800DDB20 AFBF004C */ sw $ra, 0x4c($sp) +/* 076FD4 800DDB24 AFB20038 */ sw $s2, 0x38($sp) +/* 076FD8 800DDB28 AFB10034 */ sw $s1, 0x34($sp) +/* 076FDC 800DDB2C AFB00030 */ sw $s0, 0x30($sp) +/* 076FE0 800DDB30 F7B60058 */ sdc1 $f22, 0x58($sp) +/* 076FE4 800DDB34 C6600000 */ lwc1 $f0, ($s3) +/* 076FE8 800DDB38 27B20020 */ addiu $s2, $sp, 0x20 +/* 076FEC 800DDB3C E7A00020 */ swc1 $f0, 0x20($sp) +/* 076FF0 800DDB40 C6A00000 */ lwc1 $f0, ($s5) +/* 076FF4 800DDB44 0240282D */ daddu $a1, $s2, $zero +/* 076FF8 800DDB48 46020000 */ add.s $f0, $f0, $f2 +/* 076FFC 800DDB4C 3C013F80 */ lui $at, 0x3f80 +/* 077000 800DDB50 44811000 */ mtc1 $at, $f2 +/* 077004 800DDB54 27B10024 */ addiu $s1, $sp, 0x24 +/* 077008 800DDB58 46020001 */ sub.s $f0, $f0, $f2 +/* 07700C 800DDB5C 3C013F00 */ lui $at, 0x3f00 +/* 077010 800DDB60 44811000 */ mtc1 $at, $f2 +/* 077014 800DDB64 0220302D */ daddu $a2, $s1, $zero +/* 077018 800DDB68 4602A502 */ mul.s $f20, $f20, $f2 +/* 07701C 800DDB6C 00000000 */ nop +/* 077020 800DDB70 27B00028 */ addiu $s0, $sp, 0x28 +/* 077024 800DDB74 0200382D */ daddu $a3, $s0, $zero +/* 077028 800DDB78 E7A00024 */ swc1 $f0, 0x24($sp) +/* 07702C 800DDB7C C6800000 */ lwc1 $f0, ($s4) +/* 077030 800DDB80 46002585 */ abs.s $f22, $f4 +/* 077034 800DDB84 E7A00028 */ swc1 $f0, 0x28($sp) +/* 077038 800DDB88 E7B60010 */ swc1 $f22, 0x10($sp) +/* 07703C 800DDB8C E7B80014 */ swc1 $f24, 0x14($sp) +/* 077040 800DDB90 0C037586 */ jal func_800DD618 +/* 077044 800DDB94 E7B40018 */ swc1 $f20, 0x18($sp) +/* 077048 800DDB98 04430019 */ bgezl $v0, .L800DDC00 +/* 07704C 800DDB9C 24020001 */ addiu $v0, $zero, 1 +/* 077050 800DDBA0 C6600000 */ lwc1 $f0, ($s3) +/* 077054 800DDBA4 3C014120 */ lui $at, 0x4120 +/* 077058 800DDBA8 342128F6 */ ori $at, $at, 0x28f6 +/* 07705C 800DDBAC 44811000 */ mtc1 $at, $f2 +/* 077060 800DDBB0 E7A00020 */ swc1 $f0, 0x20($sp) +/* 077064 800DDBB4 C6A00000 */ lwc1 $f0, ($s5) +/* 077068 800DDBB8 02C0202D */ daddu $a0, $s6, $zero +/* 07706C 800DDBBC 46020000 */ add.s $f0, $f0, $f2 +/* 077070 800DDBC0 0240282D */ daddu $a1, $s2, $zero +/* 077074 800DDBC4 0220302D */ daddu $a2, $s1, $zero +/* 077078 800DDBC8 E7A00024 */ swc1 $f0, 0x24($sp) +/* 07707C 800DDBCC C6800000 */ lwc1 $f0, ($s4) +/* 077080 800DDBD0 0200382D */ daddu $a3, $s0, $zero +/* 077084 800DDBD4 E7A00028 */ swc1 $f0, 0x28($sp) +/* 077088 800DDBD8 E7B60010 */ swc1 $f22, 0x10($sp) +/* 07708C 800DDBDC E7B80014 */ swc1 $f24, 0x14($sp) +/* 077090 800DDBE0 0C037586 */ jal func_800DD618 +/* 077094 800DDBE4 E7B40018 */ swc1 $f20, 0x18($sp) +/* 077098 800DDBE8 C7A00020 */ lwc1 $f0, 0x20($sp) +/* 07709C 800DDBEC 00021027 */ nor $v0, $zero, $v0 +/* 0770A0 800DDBF0 E6600000 */ swc1 $f0, ($s3) +/* 0770A4 800DDBF4 C7A00028 */ lwc1 $f0, 0x28($sp) +/* 0770A8 800DDBF8 08037703 */ j .L800DDC0C +/* 0770AC 800DDBFC 000217C2 */ srl $v0, $v0, 0x1f + +.L800DDC00: +/* 0770B0 800DDC00 C7A00020 */ lwc1 $f0, 0x20($sp) +/* 0770B4 800DDC04 E6600000 */ swc1 $f0, ($s3) +/* 0770B8 800DDC08 C7A00028 */ lwc1 $f0, 0x28($sp) +.L800DDC0C: +/* 0770BC 800DDC0C E6800000 */ swc1 $f0, ($s4) +/* 0770C0 800DDC10 8FBF004C */ lw $ra, 0x4c($sp) +/* 0770C4 800DDC14 8FB60048 */ lw $s6, 0x48($sp) +/* 0770C8 800DDC18 8FB50044 */ lw $s5, 0x44($sp) +/* 0770CC 800DDC1C 8FB40040 */ lw $s4, 0x40($sp) +/* 0770D0 800DDC20 8FB3003C */ lw $s3, 0x3c($sp) +/* 0770D4 800DDC24 8FB20038 */ lw $s2, 0x38($sp) +/* 0770D8 800DDC28 8FB10034 */ lw $s1, 0x34($sp) +/* 0770DC 800DDC2C 8FB00030 */ lw $s0, 0x30($sp) +/* 0770E0 800DDC30 D7B80060 */ ldc1 $f24, 0x60($sp) +/* 0770E4 800DDC34 D7B60058 */ ldc1 $f22, 0x58($sp) +/* 0770E8 800DDC38 D7B40050 */ ldc1 $f20, 0x50($sp) +/* 0770EC 800DDC3C 03E00008 */ jr $ra +/* 0770F0 800DDC40 27BD0068 */ addiu $sp, $sp, 0x68 + +func_800DDC44: +/* 0770F4 800DDC44 27BDFFC0 */ addiu $sp, $sp, -0x40 +/* 0770F8 800DDC48 AFB10034 */ sw $s1, 0x34($sp) +/* 0770FC 800DDC4C 00A0882D */ daddu $s1, $a1, $zero +/* 077100 800DDC50 AFBF0038 */ sw $ra, 0x38($sp) +/* 077104 800DDC54 AFB00030 */ sw $s0, 0x30($sp) +/* 077108 800DDC58 C6200000 */ lwc1 $f0, ($s1) +/* 07710C 800DDC5C C7A40050 */ lwc1 $f4, 0x50($sp) +/* 077110 800DDC60 C7A80054 */ lwc1 $f8, 0x54($sp) +/* 077114 800DDC64 C7A6005C */ lwc1 $f6, 0x5c($sp) +/* 077118 800DDC68 3C014120 */ lui $at, 0x4120 +/* 07711C 800DDC6C 342128F6 */ ori $at, $at, 0x28f6 +/* 077120 800DDC70 44811000 */ mtc1 $at, $f2 +/* 077124 800DDC74 E7A00020 */ swc1 $f0, 0x20($sp) +/* 077128 800DDC78 C4C00000 */ lwc1 $f0, ($a2) +/* 07712C 800DDC7C 00E0802D */ daddu $s0, $a3, $zero +/* 077130 800DDC80 46020000 */ add.s $f0, $f0, $f2 +/* 077134 800DDC84 3C013F00 */ lui $at, 0x3f00 +/* 077138 800DDC88 44811000 */ mtc1 $at, $f2 +/* 07713C 800DDC8C 27A50020 */ addiu $a1, $sp, 0x20 +/* 077140 800DDC90 46023182 */ mul.s $f6, $f6, $f2 +/* 077144 800DDC94 00000000 */ nop +/* 077148 800DDC98 27A70028 */ addiu $a3, $sp, 0x28 +/* 07714C 800DDC9C 27A60024 */ addiu $a2, $sp, 0x24 +/* 077150 800DDCA0 E7A00024 */ swc1 $f0, 0x24($sp) +/* 077154 800DDCA4 C6000000 */ lwc1 $f0, ($s0) +/* 077158 800DDCA8 46002105 */ abs.s $f4, $f4 +/* 07715C 800DDCAC E7A00028 */ swc1 $f0, 0x28($sp) +/* 077160 800DDCB0 E7A40010 */ swc1 $f4, 0x10($sp) +/* 077164 800DDCB4 E7A80014 */ swc1 $f8, 0x14($sp) +/* 077168 800DDCB8 0C037586 */ jal func_800DD618 +/* 07716C 800DDCBC E7A60018 */ swc1 $f6, 0x18($sp) +/* 077170 800DDCC0 C7A00020 */ lwc1 $f0, 0x20($sp) +/* 077174 800DDCC4 E6200000 */ swc1 $f0, ($s1) +/* 077178 800DDCC8 C7A00028 */ lwc1 $f0, 0x28($sp) +/* 07717C 800DDCCC 00021027 */ nor $v0, $zero, $v0 +/* 077180 800DDCD0 E6000000 */ swc1 $f0, ($s0) +/* 077184 800DDCD4 8FBF0038 */ lw $ra, 0x38($sp) +/* 077188 800DDCD8 8FB10034 */ lw $s1, 0x34($sp) +/* 07718C 800DDCDC 8FB00030 */ lw $s0, 0x30($sp) +/* 077190 800DDCE0 000217C2 */ srl $v0, $v0, 0x1f +/* 077194 800DDCE4 03E00008 */ jr $ra +/* 077198 800DDCE8 27BD0040 */ addiu $sp, $sp, 0x40 + +/* 07719C 800DDCEC 27BDFFC0 */ addiu $sp, $sp, -0x40 +/* 0771A0 800DDCF0 AFB10034 */ sw $s1, 0x34($sp) +/* 0771A4 800DDCF4 00A0882D */ daddu $s1, $a1, $zero +/* 0771A8 800DDCF8 AFBF0038 */ sw $ra, 0x38($sp) +/* 0771AC 800DDCFC AFB00030 */ sw $s0, 0x30($sp) +/* 0771B0 800DDD00 C6200000 */ lwc1 $f0, ($s1) +/* 0771B4 800DDD04 C7A40050 */ lwc1 $f4, 0x50($sp) +/* 0771B8 800DDD08 C7A80054 */ lwc1 $f8, 0x54($sp) +/* 0771BC 800DDD0C C7A6005C */ lwc1 $f6, 0x5c($sp) +/* 0771C0 800DDD10 3C014120 */ lui $at, 0x4120 +/* 0771C4 800DDD14 342128F6 */ ori $at, $at, 0x28f6 +/* 0771C8 800DDD18 44811000 */ mtc1 $at, $f2 +/* 0771CC 800DDD1C E7A00020 */ swc1 $f0, 0x20($sp) +/* 0771D0 800DDD20 C4C00000 */ lwc1 $f0, ($a2) +/* 0771D4 800DDD24 00E0802D */ daddu $s0, $a3, $zero +/* 0771D8 800DDD28 46020000 */ add.s $f0, $f0, $f2 +/* 0771DC 800DDD2C 3C013F00 */ lui $at, 0x3f00 +/* 0771E0 800DDD30 44811000 */ mtc1 $at, $f2 +/* 0771E4 800DDD34 27A50020 */ addiu $a1, $sp, 0x20 +/* 0771E8 800DDD38 46023182 */ mul.s $f6, $f6, $f2 +/* 0771EC 800DDD3C 00000000 */ nop +/* 0771F0 800DDD40 27A70028 */ addiu $a3, $sp, 0x28 +/* 0771F4 800DDD44 27A60024 */ addiu $a2, $sp, 0x24 +/* 0771F8 800DDD48 E7A00024 */ swc1 $f0, 0x24($sp) +/* 0771FC 800DDD4C C6000000 */ lwc1 $f0, ($s0) +/* 077200 800DDD50 46002105 */ abs.s $f4, $f4 +/* 077204 800DDD54 E7A00028 */ swc1 $f0, 0x28($sp) +/* 077208 800DDD58 E7A40010 */ swc1 $f4, 0x10($sp) +/* 07720C 800DDD5C E7A80014 */ swc1 $f8, 0x14($sp) +/* 077210 800DDD60 0C03763F */ jal func_800DD8FC +/* 077214 800DDD64 E7A60018 */ swc1 $f6, 0x18($sp) +/* 077218 800DDD68 C7A00020 */ lwc1 $f0, 0x20($sp) +/* 07721C 800DDD6C E6200000 */ swc1 $f0, ($s1) +/* 077220 800DDD70 C7A00028 */ lwc1 $f0, 0x28($sp) +/* 077224 800DDD74 00021027 */ nor $v0, $zero, $v0 +/* 077228 800DDD78 E6000000 */ swc1 $f0, ($s0) +/* 07722C 800DDD7C 8FBF0038 */ lw $ra, 0x38($sp) +/* 077230 800DDD80 8FB10034 */ lw $s1, 0x34($sp) +/* 077234 800DDD84 8FB00030 */ lw $s0, 0x30($sp) +/* 077238 800DDD88 000217C2 */ srl $v0, $v0, 0x1f +/* 07723C 800DDD8C 03E00008 */ jr $ra +/* 077240 800DDD90 27BD0040 */ addiu $sp, $sp, 0x40 + +func_800DDD94: +/* 077244 800DDD94 27BDFF90 */ addiu $sp, $sp, -0x70 +/* 077248 800DDD98 F7B40058 */ sdc1 $f20, 0x58($sp) +/* 07724C 800DDD9C C7B4008C */ lwc1 $f20, 0x8c($sp) +/* 077250 800DDDA0 C7A40080 */ lwc1 $f4, 0x80($sp) +/* 077254 800DDDA4 AFB7004C */ sw $s7, 0x4c($sp) +/* 077258 800DDDA8 0080B82D */ daddu $s7, $a0, $zero +/* 07725C 800DDDAC AFB10034 */ sw $s1, 0x34($sp) +/* 077260 800DDDB0 00A0882D */ daddu $s1, $a1, $zero +/* 077264 800DDDB4 AFB60048 */ sw $s6, 0x48($sp) +/* 077268 800DDDB8 00C0B02D */ daddu $s6, $a2, $zero +/* 07726C 800DDDBC AFB20038 */ sw $s2, 0x38($sp) +/* 077270 800DDDC0 00E0902D */ daddu $s2, $a3, $zero +/* 077274 800DDDC4 AFB40040 */ sw $s4, 0x40($sp) +/* 077278 800DDDC8 0000A02D */ daddu $s4, $zero, $zero +/* 07727C 800DDDCC F7B80068 */ sdc1 $f24, 0x68($sp) +/* 077280 800DDDD0 C7B80084 */ lwc1 $f24, 0x84($sp) +/* 077284 800DDDD4 C7A20088 */ lwc1 $f2, 0x88($sp) +/* 077288 800DDDD8 AFBF0050 */ sw $ra, 0x50($sp) +/* 07728C 800DDDDC AFB50044 */ sw $s5, 0x44($sp) +/* 077290 800DDDE0 AFB3003C */ sw $s3, 0x3c($sp) +/* 077294 800DDDE4 AFB00030 */ sw $s0, 0x30($sp) +/* 077298 800DDDE8 F7B60060 */ sdc1 $f22, 0x60($sp) +/* 07729C 800DDDEC C6200000 */ lwc1 $f0, ($s1) +/* 0772A0 800DDDF0 27B50020 */ addiu $s5, $sp, 0x20 +/* 0772A4 800DDDF4 E7A00020 */ swc1 $f0, 0x20($sp) +/* 0772A8 800DDDF8 C6C00000 */ lwc1 $f0, ($s6) +/* 0772AC 800DDDFC 02A0282D */ daddu $a1, $s5, $zero +/* 0772B0 800DDE00 46020000 */ add.s $f0, $f0, $f2 +/* 0772B4 800DDE04 3C013F80 */ lui $at, 0x3f80 +/* 0772B8 800DDE08 44811000 */ mtc1 $at, $f2 +/* 0772BC 800DDE0C 27B30024 */ addiu $s3, $sp, 0x24 +/* 0772C0 800DDE10 46020001 */ sub.s $f0, $f0, $f2 +/* 0772C4 800DDE14 3C013F00 */ lui $at, 0x3f00 +/* 0772C8 800DDE18 44811000 */ mtc1 $at, $f2 +/* 0772CC 800DDE1C 0260302D */ daddu $a2, $s3, $zero +/* 0772D0 800DDE20 4602A502 */ mul.s $f20, $f20, $f2 +/* 0772D4 800DDE24 00000000 */ nop +/* 0772D8 800DDE28 27B00028 */ addiu $s0, $sp, 0x28 +/* 0772DC 800DDE2C 0200382D */ daddu $a3, $s0, $zero +/* 0772E0 800DDE30 E7A00024 */ swc1 $f0, 0x24($sp) +/* 0772E4 800DDE34 C6400000 */ lwc1 $f0, ($s2) +/* 0772E8 800DDE38 46002585 */ abs.s $f22, $f4 +/* 0772EC 800DDE3C E7A00028 */ swc1 $f0, 0x28($sp) +/* 0772F0 800DDE40 E7B60010 */ swc1 $f22, 0x10($sp) +/* 0772F4 800DDE44 E7B80014 */ swc1 $f24, 0x14($sp) +/* 0772F8 800DDE48 0C037586 */ jal func_800DD618 +/* 0772FC 800DDE4C E7B40018 */ swc1 $f20, 0x18($sp) +/* 077300 800DDE50 04400006 */ bltz $v0, .L800DDE6C +/* 077304 800DDE54 00000000 */ nop +/* 077308 800DDE58 C7A00020 */ lwc1 $f0, 0x20($sp) +/* 07730C 800DDE5C E6200000 */ swc1 $f0, ($s1) +/* 077310 800DDE60 C7A00028 */ lwc1 $f0, 0x28($sp) +/* 077314 800DDE64 24140004 */ addiu $s4, $zero, 4 +/* 077318 800DDE68 E6400000 */ swc1 $f0, ($s2) +.L800DDE6C: +/* 07731C 800DDE6C C6200000 */ lwc1 $f0, ($s1) +/* 077320 800DDE70 3C0141A0 */ lui $at, 0x41a0 +/* 077324 800DDE74 44811000 */ mtc1 $at, $f2 +/* 077328 800DDE78 E7A00020 */ swc1 $f0, 0x20($sp) +/* 07732C 800DDE7C C6C00000 */ lwc1 $f0, ($s6) +/* 077330 800DDE80 02E0202D */ daddu $a0, $s7, $zero +/* 077334 800DDE84 46020000 */ add.s $f0, $f0, $f2 +/* 077338 800DDE88 02A0282D */ daddu $a1, $s5, $zero +/* 07733C 800DDE8C 0260302D */ daddu $a2, $s3, $zero +/* 077340 800DDE90 E7A00024 */ swc1 $f0, 0x24($sp) +/* 077344 800DDE94 C6400000 */ lwc1 $f0, ($s2) +/* 077348 800DDE98 0200382D */ daddu $a3, $s0, $zero +/* 07734C 800DDE9C E7A00028 */ swc1 $f0, 0x28($sp) +/* 077350 800DDEA0 E7B60010 */ swc1 $f22, 0x10($sp) +/* 077354 800DDEA4 E7B80014 */ swc1 $f24, 0x14($sp) +/* 077358 800DDEA8 0C037586 */ jal func_800DD618 +/* 07735C 800DDEAC E7B40018 */ swc1 $f20, 0x18($sp) +/* 077360 800DDEB0 04400006 */ bltz $v0, .L800DDECC +/* 077364 800DDEB4 00000000 */ nop +/* 077368 800DDEB8 C7A00020 */ lwc1 $f0, 0x20($sp) +/* 07736C 800DDEBC E6200000 */ swc1 $f0, ($s1) +/* 077370 800DDEC0 C7A00028 */ lwc1 $f0, 0x28($sp) +/* 077374 800DDEC4 24140003 */ addiu $s4, $zero, 3 +/* 077378 800DDEC8 E6400000 */ swc1 $f0, ($s2) +.L800DDECC: +/* 07737C 800DDECC C6200000 */ lwc1 $f0, ($s1) +/* 077380 800DDED0 3C014170 */ lui $at, 0x4170 +/* 077384 800DDED4 342128F6 */ ori $at, $at, 0x28f6 +/* 077388 800DDED8 44811000 */ mtc1 $at, $f2 +/* 07738C 800DDEDC E7A00020 */ swc1 $f0, 0x20($sp) +/* 077390 800DDEE0 C6C00000 */ lwc1 $f0, ($s6) +/* 077394 800DDEE4 02E0202D */ daddu $a0, $s7, $zero +/* 077398 800DDEE8 46020000 */ add.s $f0, $f0, $f2 +/* 07739C 800DDEEC 02A0282D */ daddu $a1, $s5, $zero +/* 0773A0 800DDEF0 0260302D */ daddu $a2, $s3, $zero +/* 0773A4 800DDEF4 E7A00024 */ swc1 $f0, 0x24($sp) +/* 0773A8 800DDEF8 C6400000 */ lwc1 $f0, ($s2) +/* 0773AC 800DDEFC 0200382D */ daddu $a3, $s0, $zero +/* 0773B0 800DDF00 E7A00028 */ swc1 $f0, 0x28($sp) +/* 0773B4 800DDF04 E7B60010 */ swc1 $f22, 0x10($sp) +/* 0773B8 800DDF08 E7B80014 */ swc1 $f24, 0x14($sp) +/* 0773BC 800DDF0C 0C037586 */ jal func_800DD618 +/* 0773C0 800DDF10 E7B40018 */ swc1 $f20, 0x18($sp) +/* 0773C4 800DDF14 04400006 */ bltz $v0, .L800DDF30 +/* 0773C8 800DDF18 00000000 */ nop +/* 0773CC 800DDF1C C7A00020 */ lwc1 $f0, 0x20($sp) +/* 0773D0 800DDF20 E6200000 */ swc1 $f0, ($s1) +/* 0773D4 800DDF24 C7A00028 */ lwc1 $f0, 0x28($sp) +/* 0773D8 800DDF28 24140002 */ addiu $s4, $zero, 2 +/* 0773DC 800DDF2C E6400000 */ swc1 $f0, ($s2) +.L800DDF30: +/* 0773E0 800DDF30 C6200000 */ lwc1 $f0, ($s1) +/* 0773E4 800DDF34 3C014120 */ lui $at, 0x4120 +/* 0773E8 800DDF38 342128F6 */ ori $at, $at, 0x28f6 +/* 0773EC 800DDF3C 44811000 */ mtc1 $at, $f2 +/* 0773F0 800DDF40 E7A00020 */ swc1 $f0, 0x20($sp) +/* 0773F4 800DDF44 C6C00000 */ lwc1 $f0, ($s6) +/* 0773F8 800DDF48 02E0202D */ daddu $a0, $s7, $zero +/* 0773FC 800DDF4C 46020000 */ add.s $f0, $f0, $f2 +/* 077400 800DDF50 02A0282D */ daddu $a1, $s5, $zero +/* 077404 800DDF54 0260302D */ daddu $a2, $s3, $zero +/* 077408 800DDF58 E7A00024 */ swc1 $f0, 0x24($sp) +/* 07740C 800DDF5C C6400000 */ lwc1 $f0, ($s2) +/* 077410 800DDF60 0200382D */ daddu $a3, $s0, $zero +/* 077414 800DDF64 E7A00028 */ swc1 $f0, 0x28($sp) +/* 077418 800DDF68 E7B60010 */ swc1 $f22, 0x10($sp) +/* 07741C 800DDF6C E7B80014 */ swc1 $f24, 0x14($sp) +/* 077420 800DDF70 0C037586 */ jal func_800DD618 +/* 077424 800DDF74 E7B40018 */ swc1 $f20, 0x18($sp) +/* 077428 800DDF78 C7A00020 */ lwc1 $f0, 0x20($sp) +/* 07742C 800DDF7C E6200000 */ swc1 $f0, ($s1) +/* 077430 800DDF80 C7A00028 */ lwc1 $f0, 0x28($sp) +/* 077434 800DDF84 04400002 */ bltz $v0, .L800DDF90 +/* 077438 800DDF88 E6400000 */ swc1 $f0, ($s2) +/* 07743C 800DDF8C 24140001 */ addiu $s4, $zero, 1 +.L800DDF90: +/* 077440 800DDF90 0280102D */ daddu $v0, $s4, $zero +/* 077444 800DDF94 8FBF0050 */ lw $ra, 0x50($sp) +/* 077448 800DDF98 8FB7004C */ lw $s7, 0x4c($sp) +/* 07744C 800DDF9C 8FB60048 */ lw $s6, 0x48($sp) +/* 077450 800DDFA0 8FB50044 */ lw $s5, 0x44($sp) +/* 077454 800DDFA4 8FB40040 */ lw $s4, 0x40($sp) +/* 077458 800DDFA8 8FB3003C */ lw $s3, 0x3c($sp) +/* 07745C 800DDFAC 8FB20038 */ lw $s2, 0x38($sp) +/* 077460 800DDFB0 8FB10034 */ lw $s1, 0x34($sp) +/* 077464 800DDFB4 8FB00030 */ lw $s0, 0x30($sp) +/* 077468 800DDFB8 D7B80068 */ ldc1 $f24, 0x68($sp) +/* 07746C 800DDFBC D7B60060 */ ldc1 $f22, 0x60($sp) +/* 077470 800DDFC0 D7B40058 */ ldc1 $f20, 0x58($sp) +/* 077474 800DDFC4 03E00008 */ jr $ra +/* 077478 800DDFC8 27BD0070 */ addiu $sp, $sp, 0x70 + +/* 07747C 800DDFCC 00000000 */ nop +test_below_player: +/* 077480 800DDFD0 27BDFF80 */ addiu $sp, $sp, -0x80 +/* 077484 800DDFD4 AFB40038 */ sw $s4, 0x38($sp) +/* 077488 800DDFD8 8FB40090 */ lw $s4, 0x90($sp) +/* 07748C 800DDFDC AFB1002C */ sw $s1, 0x2c($sp) +/* 077490 800DDFE0 8FB10094 */ lw $s1, 0x94($sp) +/* 077494 800DDFE4 AFB5003C */ sw $s5, 0x3c($sp) +/* 077498 800DDFE8 8FB50098 */ lw $s5, 0x98($sp) +/* 07749C 800DDFEC AFB60040 */ sw $s6, 0x40($sp) +/* 0774A0 800DDFF0 8FB6009C */ lw $s6, 0x9c($sp) +/* 0774A4 800DDFF4 AFB20030 */ sw $s2, 0x30($sp) +/* 0774A8 800DDFF8 00C0902D */ daddu $s2, $a2, $zero +/* 0774AC 800DDFFC AFB30034 */ sw $s3, 0x34($sp) +/* 0774B0 800DE000 00E0982D */ daddu $s3, $a3, $zero +/* 0774B4 800DE004 AFB70044 */ sw $s7, 0x44($sp) +/* 0774B8 800DE008 8FB700A0 */ lw $s7, 0xa0($sp) +/* 0774BC 800DE00C 3C0140C9 */ lui $at, 0x40c9 +/* 0774C0 800DE010 34210FD0 */ ori $at, $at, 0xfd0 +/* 0774C4 800DE014 44810000 */ mtc1 $at, $f0 +/* 0774C8 800DE018 27A50010 */ addiu $a1, $sp, 0x10 +/* 0774CC 800DE01C AFBE0048 */ sw $fp, 0x48($sp) +/* 0774D0 800DE020 8FBE00A4 */ lw $fp, 0xa4($sp) +/* 0774D4 800DE024 46006082 */ mul.s $f2, $f12, $f0 +/* 0774D8 800DE028 00000000 */ nop +/* 0774DC 800DE02C 3C0143B4 */ lui $at, 0x43b4 +/* 0774E0 800DE030 44816000 */ mtc1 $at, $f12 +/* 0774E4 800DE034 3C013E8F */ lui $at, 0x3e8f +/* 0774E8 800DE038 34215C29 */ ori $at, $at, 0x5c29 +/* 0774EC 800DE03C 44810000 */ mtc1 $at, $f0 +/* 0774F0 800DE040 27A60014 */ addiu $a2, $sp, 0x14 +/* 0774F4 800DE044 AFBF004C */ sw $ra, 0x4c($sp) +/* 0774F8 800DE048 AFB00028 */ sw $s0, 0x28($sp) +/* 0774FC 800DE04C F7BE0078 */ sdc1 $f30, 0x78($sp) +/* 077500 800DE050 F7BC0070 */ sdc1 $f28, 0x70($sp) +/* 077504 800DE054 F7BA0068 */ sdc1 $f26, 0x68($sp) +/* 077508 800DE058 F7B80060 */ sdc1 $f24, 0x60($sp) +/* 07750C 800DE05C F7B60058 */ sdc1 $f22, 0x58($sp) +/* 077510 800DE060 F7B40050 */ sdc1 $f20, 0x50($sp) +/* 077514 800DE064 AEA00000 */ sw $zero, ($s5) +/* 077518 800DE068 AEC00000 */ sw $zero, ($s6) +/* 07751C 800DE06C AEE00000 */ sw $zero, ($s7) +/* 077520 800DE070 AFC00000 */ sw $zero, ($fp) +/* 077524 800DE074 C63E0000 */ lwc1 $f30, ($s1) +/* 077528 800DE078 46007502 */ mul.s $f20, $f14, $f0 +/* 07752C 800DE07C 00000000 */ nop +/* 077530 800DE080 0C00A82D */ jal sin_cos_rad +/* 077534 800DE084 460C1303 */ div.s $f12, $f2, $f12 +/* 077538 800DE088 C7A00010 */ lwc1 $f0, 0x10($sp) +/* 07753C 800DE08C 4600A582 */ mul.s $f22, $f20, $f0 +/* 077540 800DE090 00000000 */ nop +/* 077544 800DE094 2410FFFF */ addiu $s0, $zero, -1 +/* 077548 800DE098 27A40018 */ addiu $a0, $sp, 0x18 +/* 07754C 800DE09C 27A5001C */ addiu $a1, $sp, 0x1c +/* 077550 800DE0A0 C7A00014 */ lwc1 $f0, 0x14($sp) +/* 077554 800DE0A4 4600A507 */ neg.s $f20, $f20 +/* 077558 800DE0A8 4600A502 */ mul.s $f20, $f20, $f0 +/* 07755C 800DE0AC 00000000 */ nop +/* 077560 800DE0B0 27A60020 */ addiu $a2, $sp, 0x20 +/* 077564 800DE0B4 C65C0000 */ lwc1 $f28, ($s2) +/* 077568 800DE0B8 C6780000 */ lwc1 $f24, ($s3) +/* 07756C 800DE0BC C69A0000 */ lwc1 $f26, ($s4) +/* 077570 800DE0C0 4616E080 */ add.s $f2, $f28, $f22 +/* 077574 800DE0C4 27A70024 */ addiu $a3, $sp, 0x24 +/* 077578 800DE0C8 E7BE0024 */ swc1 $f30, 0x24($sp) +/* 07757C 800DE0CC 4614D000 */ add.s $f0, $f26, $f20 +/* 077580 800DE0D0 E7B8001C */ swc1 $f24, 0x1c($sp) +/* 077584 800DE0D4 E7A20018 */ swc1 $f2, 0x18($sp) +/* 077588 800DE0D8 0C037953 */ jal trace_below_player +/* 07758C 800DE0DC E7A00020 */ swc1 $f0, 0x20($sp) +/* 077590 800DE0E0 0040202D */ daddu $a0, $v0, $zero +/* 077594 800DE0E4 0482001E */ bltzl $a0, .L800DE160 +/* 077598 800DE0E8 27A40018 */ addiu $a0, $sp, 0x18 +/* 07759C 800DE0EC C6200000 */ lwc1 $f0, ($s1) +/* 0775A0 800DE0F0 C7A20024 */ lwc1 $f2, 0x24($sp) +/* 0775A4 800DE0F4 46000005 */ abs.s $f0, $f0 +/* 0775A8 800DE0F8 4600103E */ c.le.s $f2, $f0 +/* 0775AC 800DE0FC 00000000 */ nop +/* 0775B0 800DE100 45020017 */ bc1fl .L800DE160 +/* 0775B4 800DE104 27A40018 */ addiu $a0, $sp, 0x18 +/* 0775B8 800DE108 3C038007 */ lui $v1, 0x8007 +/* 0775BC 800DE10C 2463419C */ addiu $v1, $v1, 0x419c +/* 0775C0 800DE110 8C620000 */ lw $v0, ($v1) +/* 0775C4 800DE114 C440011C */ lwc1 $f0, 0x11c($v0) +/* 0775C8 800DE118 46000007 */ neg.s $f0, $f0 +/* 0775CC 800DE11C E6A00000 */ swc1 $f0, ($s5) +/* 0775D0 800DE120 8C620000 */ lw $v0, ($v1) +/* 0775D4 800DE124 C4400124 */ lwc1 $f0, 0x124($v0) +/* 0775D8 800DE128 46000007 */ neg.s $f0, $f0 +/* 0775DC 800DE12C E6C00000 */ swc1 $f0, ($s6) +/* 0775E0 800DE130 C7A00018 */ lwc1 $f0, 0x18($sp) +/* 0775E4 800DE134 E6400000 */ swc1 $f0, ($s2) +/* 0775E8 800DE138 C7A0001C */ lwc1 $f0, 0x1c($sp) +/* 0775EC 800DE13C E6600000 */ swc1 $f0, ($s3) +/* 0775F0 800DE140 C7A00020 */ lwc1 $f0, 0x20($sp) +/* 0775F4 800DE144 E6800000 */ swc1 $f0, ($s4) +/* 0775F8 800DE148 C7A00024 */ lwc1 $f0, 0x24($sp) +/* 0775FC 800DE14C 0080802D */ daddu $s0, $a0, $zero +/* 077600 800DE150 E6200000 */ swc1 $f0, ($s1) +/* 077604 800DE154 E6F60000 */ swc1 $f22, ($s7) +/* 077608 800DE158 E7D40000 */ swc1 $f20, ($fp) +/* 07760C 800DE15C 27A40018 */ addiu $a0, $sp, 0x18 +.L800DE160: +/* 077610 800DE160 27A5001C */ addiu $a1, $sp, 0x1c +/* 077614 800DE164 4616E081 */ sub.s $f2, $f28, $f22 +/* 077618 800DE168 27A60020 */ addiu $a2, $sp, 0x20 +/* 07761C 800DE16C 27A70024 */ addiu $a3, $sp, 0x24 +/* 077620 800DE170 4614D001 */ sub.s $f0, $f26, $f20 +/* 077624 800DE174 E7B8001C */ swc1 $f24, 0x1c($sp) +/* 077628 800DE178 E7BE0024 */ swc1 $f30, 0x24($sp) +/* 07762C 800DE17C E7A20018 */ swc1 $f2, 0x18($sp) +/* 077630 800DE180 0C037953 */ jal trace_below_player +/* 077634 800DE184 E7A00020 */ swc1 $f0, 0x20($sp) +/* 077638 800DE188 0040202D */ daddu $a0, $v0, $zero +/* 07763C 800DE18C 04820020 */ bltzl $a0, .L800DE210 +/* 077640 800DE190 27A40018 */ addiu $a0, $sp, 0x18 +/* 077644 800DE194 C6200000 */ lwc1 $f0, ($s1) +/* 077648 800DE198 C7A20024 */ lwc1 $f2, 0x24($sp) +/* 07764C 800DE19C 46000005 */ abs.s $f0, $f0 +/* 077650 800DE1A0 4600103E */ c.le.s $f2, $f0 +/* 077654 800DE1A4 00000000 */ nop +/* 077658 800DE1A8 45020019 */ bc1fl .L800DE210 +/* 07765C 800DE1AC 27A40018 */ addiu $a0, $sp, 0x18 +/* 077660 800DE1B0 3C038007 */ lui $v1, 0x8007 +/* 077664 800DE1B4 2463419C */ addiu $v1, $v1, 0x419c +/* 077668 800DE1B8 8C620000 */ lw $v0, ($v1) +/* 07766C 800DE1BC C440011C */ lwc1 $f0, 0x11c($v0) +/* 077670 800DE1C0 46000007 */ neg.s $f0, $f0 +/* 077674 800DE1C4 E6A00000 */ swc1 $f0, ($s5) +/* 077678 800DE1C8 8C620000 */ lw $v0, ($v1) +/* 07767C 800DE1CC C4400124 */ lwc1 $f0, 0x124($v0) +/* 077680 800DE1D0 46000007 */ neg.s $f0, $f0 +/* 077684 800DE1D4 E6C00000 */ swc1 $f0, ($s6) +/* 077688 800DE1D8 C7A00018 */ lwc1 $f0, 0x18($sp) +/* 07768C 800DE1DC E6400000 */ swc1 $f0, ($s2) +/* 077690 800DE1E0 C7A0001C */ lwc1 $f0, 0x1c($sp) +/* 077694 800DE1E4 E6600000 */ swc1 $f0, ($s3) +/* 077698 800DE1E8 C7A00020 */ lwc1 $f0, 0x20($sp) +/* 07769C 800DE1EC E6800000 */ swc1 $f0, ($s4) +/* 0776A0 800DE1F0 C7A00024 */ lwc1 $f0, 0x24($sp) +/* 0776A4 800DE1F4 0080802D */ daddu $s0, $a0, $zero +/* 0776A8 800DE1F8 E6200000 */ swc1 $f0, ($s1) +/* 0776AC 800DE1FC 4600B007 */ neg.s $f0, $f22 +/* 0776B0 800DE200 E6E00000 */ swc1 $f0, ($s7) +/* 0776B4 800DE204 4600A007 */ neg.s $f0, $f20 +/* 0776B8 800DE208 E7C00000 */ swc1 $f0, ($fp) +/* 0776BC 800DE20C 27A40018 */ addiu $a0, $sp, 0x18 +.L800DE210: +/* 0776C0 800DE210 27A5001C */ addiu $a1, $sp, 0x1c +/* 0776C4 800DE214 4614E080 */ add.s $f2, $f28, $f20 +/* 0776C8 800DE218 27A60020 */ addiu $a2, $sp, 0x20 +/* 0776CC 800DE21C 27A70024 */ addiu $a3, $sp, 0x24 +/* 0776D0 800DE220 4616D000 */ add.s $f0, $f26, $f22 +/* 0776D4 800DE224 E7B8001C */ swc1 $f24, 0x1c($sp) +/* 0776D8 800DE228 E7BE0024 */ swc1 $f30, 0x24($sp) +/* 0776DC 800DE22C E7A20018 */ swc1 $f2, 0x18($sp) +/* 0776E0 800DE230 0C037953 */ jal trace_below_player +/* 0776E4 800DE234 E7A00020 */ swc1 $f0, 0x20($sp) +/* 0776E8 800DE238 0040202D */ daddu $a0, $v0, $zero +/* 0776EC 800DE23C 0482001E */ bltzl $a0, .L800DE2B8 +/* 0776F0 800DE240 27A40018 */ addiu $a0, $sp, 0x18 +/* 0776F4 800DE244 C6200000 */ lwc1 $f0, ($s1) +/* 0776F8 800DE248 C7A20024 */ lwc1 $f2, 0x24($sp) +/* 0776FC 800DE24C 46000005 */ abs.s $f0, $f0 +/* 077700 800DE250 4600103E */ c.le.s $f2, $f0 +/* 077704 800DE254 00000000 */ nop +/* 077708 800DE258 45020017 */ bc1fl .L800DE2B8 +/* 07770C 800DE25C 27A40018 */ addiu $a0, $sp, 0x18 +/* 077710 800DE260 3C038007 */ lui $v1, 0x8007 +/* 077714 800DE264 2463419C */ addiu $v1, $v1, 0x419c +/* 077718 800DE268 8C620000 */ lw $v0, ($v1) +/* 07771C 800DE26C C440011C */ lwc1 $f0, 0x11c($v0) +/* 077720 800DE270 46000007 */ neg.s $f0, $f0 +/* 077724 800DE274 E6A00000 */ swc1 $f0, ($s5) +/* 077728 800DE278 8C620000 */ lw $v0, ($v1) +/* 07772C 800DE27C C4400124 */ lwc1 $f0, 0x124($v0) +/* 077730 800DE280 46000007 */ neg.s $f0, $f0 +/* 077734 800DE284 E6C00000 */ swc1 $f0, ($s6) +/* 077738 800DE288 C7A00018 */ lwc1 $f0, 0x18($sp) +/* 07773C 800DE28C E6400000 */ swc1 $f0, ($s2) +/* 077740 800DE290 C7A0001C */ lwc1 $f0, 0x1c($sp) +/* 077744 800DE294 E6600000 */ swc1 $f0, ($s3) +/* 077748 800DE298 C7A00020 */ lwc1 $f0, 0x20($sp) +/* 07774C 800DE29C E6800000 */ swc1 $f0, ($s4) +/* 077750 800DE2A0 C7A00024 */ lwc1 $f0, 0x24($sp) +/* 077754 800DE2A4 0080802D */ daddu $s0, $a0, $zero +/* 077758 800DE2A8 E6200000 */ swc1 $f0, ($s1) +/* 07775C 800DE2AC E6F60000 */ swc1 $f22, ($s7) +/* 077760 800DE2B0 E7D40000 */ swc1 $f20, ($fp) +/* 077764 800DE2B4 27A40018 */ addiu $a0, $sp, 0x18 +.L800DE2B8: +/* 077768 800DE2B8 27A5001C */ addiu $a1, $sp, 0x1c +/* 07776C 800DE2BC 4614E081 */ sub.s $f2, $f28, $f20 +/* 077770 800DE2C0 27A60020 */ addiu $a2, $sp, 0x20 +/* 077774 800DE2C4 27A70024 */ addiu $a3, $sp, 0x24 +/* 077778 800DE2C8 4616D001 */ sub.s $f0, $f26, $f22 +/* 07777C 800DE2CC E7B8001C */ swc1 $f24, 0x1c($sp) +/* 077780 800DE2D0 E7BE0024 */ swc1 $f30, 0x24($sp) +/* 077784 800DE2D4 E7A20018 */ swc1 $f2, 0x18($sp) +/* 077788 800DE2D8 0C037953 */ jal trace_below_player +/* 07778C 800DE2DC E7A00020 */ swc1 $f0, 0x20($sp) +/* 077790 800DE2E0 0040202D */ daddu $a0, $v0, $zero +/* 077794 800DE2E4 04820020 */ bltzl $a0, .L800DE368 +/* 077798 800DE2E8 27A40018 */ addiu $a0, $sp, 0x18 +/* 07779C 800DE2EC C6200000 */ lwc1 $f0, ($s1) +/* 0777A0 800DE2F0 C7A20024 */ lwc1 $f2, 0x24($sp) +/* 0777A4 800DE2F4 46000005 */ abs.s $f0, $f0 +/* 0777A8 800DE2F8 4600103E */ c.le.s $f2, $f0 +/* 0777AC 800DE2FC 00000000 */ nop +/* 0777B0 800DE300 45020019 */ bc1fl .L800DE368 +/* 0777B4 800DE304 27A40018 */ addiu $a0, $sp, 0x18 +/* 0777B8 800DE308 3C038007 */ lui $v1, 0x8007 +/* 0777BC 800DE30C 2463419C */ addiu $v1, $v1, 0x419c +/* 0777C0 800DE310 8C620000 */ lw $v0, ($v1) +/* 0777C4 800DE314 C440011C */ lwc1 $f0, 0x11c($v0) +/* 0777C8 800DE318 46000007 */ neg.s $f0, $f0 +/* 0777CC 800DE31C E6A00000 */ swc1 $f0, ($s5) +/* 0777D0 800DE320 8C620000 */ lw $v0, ($v1) +/* 0777D4 800DE324 C4400124 */ lwc1 $f0, 0x124($v0) +/* 0777D8 800DE328 46000007 */ neg.s $f0, $f0 +/* 0777DC 800DE32C E6C00000 */ swc1 $f0, ($s6) +/* 0777E0 800DE330 C7A00018 */ lwc1 $f0, 0x18($sp) +/* 0777E4 800DE334 E6400000 */ swc1 $f0, ($s2) +/* 0777E8 800DE338 C7A0001C */ lwc1 $f0, 0x1c($sp) +/* 0777EC 800DE33C E6600000 */ swc1 $f0, ($s3) +/* 0777F0 800DE340 C7A00020 */ lwc1 $f0, 0x20($sp) +/* 0777F4 800DE344 E6800000 */ swc1 $f0, ($s4) +/* 0777F8 800DE348 C7A00024 */ lwc1 $f0, 0x24($sp) +/* 0777FC 800DE34C 0080802D */ daddu $s0, $a0, $zero +/* 077800 800DE350 E6200000 */ swc1 $f0, ($s1) +/* 077804 800DE354 4600B007 */ neg.s $f0, $f22 +/* 077808 800DE358 E6E00000 */ swc1 $f0, ($s7) +/* 07780C 800DE35C 4600A007 */ neg.s $f0, $f20 +/* 077810 800DE360 E7C00000 */ swc1 $f0, ($fp) +/* 077814 800DE364 27A40018 */ addiu $a0, $sp, 0x18 +.L800DE368: +/* 077818 800DE368 27A5001C */ addiu $a1, $sp, 0x1c +/* 07781C 800DE36C 27A60020 */ addiu $a2, $sp, 0x20 +/* 077820 800DE370 27A70024 */ addiu $a3, $sp, 0x24 +/* 077824 800DE374 E7BC0018 */ swc1 $f28, 0x18($sp) +/* 077828 800DE378 E7B8001C */ swc1 $f24, 0x1c($sp) +/* 07782C 800DE37C E7BA0020 */ swc1 $f26, 0x20($sp) +/* 077830 800DE380 0C037953 */ jal trace_below_player +/* 077834 800DE384 E7BE0024 */ swc1 $f30, 0x24($sp) +/* 077838 800DE388 0040202D */ daddu $a0, $v0, $zero +/* 07783C 800DE38C 0480001D */ bltz $a0, .L800DE404 +/* 077840 800DE390 00000000 */ nop +/* 077844 800DE394 C6200000 */ lwc1 $f0, ($s1) +/* 077848 800DE398 C7A20024 */ lwc1 $f2, 0x24($sp) +/* 07784C 800DE39C 46000005 */ abs.s $f0, $f0 +/* 077850 800DE3A0 4600103E */ c.le.s $f2, $f0 +/* 077854 800DE3A4 00000000 */ nop +/* 077858 800DE3A8 45000016 */ bc1f .L800DE404 +/* 07785C 800DE3AC 00000000 */ nop +/* 077860 800DE3B0 3C038007 */ lui $v1, 0x8007 +/* 077864 800DE3B4 2463419C */ addiu $v1, $v1, 0x419c +/* 077868 800DE3B8 8C620000 */ lw $v0, ($v1) +/* 07786C 800DE3BC C440011C */ lwc1 $f0, 0x11c($v0) +/* 077870 800DE3C0 46000007 */ neg.s $f0, $f0 +/* 077874 800DE3C4 E6A00000 */ swc1 $f0, ($s5) +/* 077878 800DE3C8 8C620000 */ lw $v0, ($v1) +/* 07787C 800DE3CC C4400124 */ lwc1 $f0, 0x124($v0) +/* 077880 800DE3D0 46000007 */ neg.s $f0, $f0 +/* 077884 800DE3D4 E6C00000 */ swc1 $f0, ($s6) +/* 077888 800DE3D8 C7A00018 */ lwc1 $f0, 0x18($sp) +/* 07788C 800DE3DC E6400000 */ swc1 $f0, ($s2) +/* 077890 800DE3E0 C7A0001C */ lwc1 $f0, 0x1c($sp) +/* 077894 800DE3E4 E6600000 */ swc1 $f0, ($s3) +/* 077898 800DE3E8 C7A00020 */ lwc1 $f0, 0x20($sp) +/* 07789C 800DE3EC E6800000 */ swc1 $f0, ($s4) +/* 0778A0 800DE3F0 C7A00024 */ lwc1 $f0, 0x24($sp) +/* 0778A4 800DE3F4 0080802D */ daddu $s0, $a0, $zero +/* 0778A8 800DE3F8 E6200000 */ swc1 $f0, ($s1) +/* 0778AC 800DE3FC AEE00000 */ sw $zero, ($s7) +/* 0778B0 800DE400 AFC00000 */ sw $zero, ($fp) +.L800DE404: +/* 0778B4 800DE404 06010007 */ bgez $s0, .L800DE424 +/* 0778B8 800DE408 0200102D */ daddu $v0, $s0, $zero +/* 0778BC 800DE40C C7A00018 */ lwc1 $f0, 0x18($sp) +/* 0778C0 800DE410 E6400000 */ swc1 $f0, ($s2) +/* 0778C4 800DE414 C7A0001C */ lwc1 $f0, 0x1c($sp) +/* 0778C8 800DE418 E6600000 */ swc1 $f0, ($s3) +/* 0778CC 800DE41C C7A00020 */ lwc1 $f0, 0x20($sp) +/* 0778D0 800DE420 E6800000 */ swc1 $f0, ($s4) +.L800DE424: +/* 0778D4 800DE424 8FBF004C */ lw $ra, 0x4c($sp) +/* 0778D8 800DE428 8FBE0048 */ lw $fp, 0x48($sp) +/* 0778DC 800DE42C 8FB70044 */ lw $s7, 0x44($sp) +/* 0778E0 800DE430 8FB60040 */ lw $s6, 0x40($sp) +/* 0778E4 800DE434 8FB5003C */ lw $s5, 0x3c($sp) +/* 0778E8 800DE438 8FB40038 */ lw $s4, 0x38($sp) +/* 0778EC 800DE43C 8FB30034 */ lw $s3, 0x34($sp) +/* 0778F0 800DE440 8FB20030 */ lw $s2, 0x30($sp) +/* 0778F4 800DE444 8FB1002C */ lw $s1, 0x2c($sp) +/* 0778F8 800DE448 8FB00028 */ lw $s0, 0x28($sp) +/* 0778FC 800DE44C D7BE0078 */ ldc1 $f30, 0x78($sp) +/* 077900 800DE450 D7BC0070 */ ldc1 $f28, 0x70($sp) +/* 077904 800DE454 D7BA0068 */ ldc1 $f26, 0x68($sp) +/* 077908 800DE458 D7B80060 */ ldc1 $f24, 0x60($sp) +/* 07790C 800DE45C D7B60058 */ ldc1 $f22, 0x58($sp) +/* 077910 800DE460 D7B40050 */ ldc1 $f20, 0x50($sp) +/* 077914 800DE464 03E00008 */ jr $ra +/* 077918 800DE468 27BD0080 */ addiu $sp, $sp, 0x80 + +func_800DE46C: +/* 07791C 800DE46C 27BDFFD0 */ addiu $sp, $sp, -0x30 +/* 077920 800DE470 AFBF0028 */ sw $ra, 0x28($sp) +/* 077924 800DE474 C48200A8 */ lwc1 $f2, 0xa8($a0) +/* 077928 800DE478 3C0142B4 */ lui $at, 0x42b4 +/* 07792C 800DE47C 44810000 */ mtc1 $at, $f0 +/* 077930 800DE480 44802000 */ mtc1 $zero, $f4 +/* 077934 800DE484 4602003E */ c.le.s $f0, $f2 +/* 077938 800DE488 00000000 */ nop +/* 07793C 800DE48C 4500000A */ bc1f .L800DE4B8 +/* 077940 800DE490 00C0402D */ daddu $t0, $a2, $zero +/* 077944 800DE494 3C014387 */ lui $at, 0x4387 +/* 077948 800DE498 44810000 */ mtc1 $at, $f0 +/* 07794C 800DE49C 00000000 */ nop +/* 077950 800DE4A0 4600103C */ c.lt.s $f2, $f0 +/* 077954 800DE4A4 00000000 */ nop +/* 077958 800DE4A8 45000003 */ bc1f .L800DE4B8 +/* 07795C 800DE4AC 00000000 */ nop +/* 077960 800DE4B0 3C014334 */ lui $at, 0x4334 +/* 077964 800DE4B4 44812000 */ mtc1 $at, $f4 +.L800DE4B8: +/* 077968 800DE4B8 3C038007 */ lui $v1, 0x8007 +/* 07796C 800DE4BC 8C637410 */ lw $v1, 0x7410($v1) +/* 077970 800DE4C0 3C0142B4 */ lui $at, 0x42b4 +/* 077974 800DE4C4 44816000 */ mtc1 $at, $f12 +/* 077978 800DE4C8 00031080 */ sll $v0, $v1, 2 +/* 07797C 800DE4CC 00431021 */ addu $v0, $v0, $v1 +/* 077980 800DE4D0 00021080 */ sll $v0, $v0, 2 +/* 077984 800DE4D4 00431023 */ subu $v0, $v0, $v1 +/* 077988 800DE4D8 000218C0 */ sll $v1, $v0, 3 +/* 07798C 800DE4DC 00431021 */ addu $v0, $v0, $v1 +/* 077990 800DE4E0 000210C0 */ sll $v0, $v0, 3 +/* 077994 800DE4E4 3C01800B */ lui $at, 0x800b +/* 077998 800DE4E8 00220821 */ addu $at, $at, $v0 +/* 07799C 800DE4EC C4201DEC */ lwc1 $f0, 0x1dec($at) +/* 0779A0 800DE4F0 848300B2 */ lh $v1, 0xb2($a0) +/* 0779A4 800DE4F4 8FA20040 */ lw $v0, 0x40($sp) +/* 0779A8 800DE4F8 00A0302D */ daddu $a2, $a1, $zero +/* 0779AC 800DE4FC AFA70010 */ sw $a3, 0x10($sp) +/* 0779B0 800DE500 AFA20014 */ sw $v0, 0x14($sp) +/* 0779B4 800DE504 8FA20044 */ lw $v0, 0x44($sp) +/* 0779B8 800DE508 0100382D */ daddu $a3, $t0, $zero +/* 0779BC 800DE50C AFA20018 */ sw $v0, 0x18($sp) +/* 0779C0 800DE510 8FA20048 */ lw $v0, 0x48($sp) +/* 0779C4 800DE514 460C2301 */ sub.s $f12, $f4, $f12 +/* 0779C8 800DE518 AFA2001C */ sw $v0, 0x1c($sp) +/* 0779CC 800DE51C 8FA2004C */ lw $v0, 0x4c($sp) +/* 0779D0 800DE520 46006300 */ add.s $f12, $f12, $f0 +/* 0779D4 800DE524 AFA20020 */ sw $v0, 0x20($sp) +/* 0779D8 800DE528 8FA20050 */ lw $v0, 0x50($sp) +/* 0779DC 800DE52C 44837000 */ mtc1 $v1, $f14 +/* 0779E0 800DE530 00000000 */ nop +/* 0779E4 800DE534 468073A0 */ cvt.s.w $f14, $f14 +/* 0779E8 800DE538 0C0377F4 */ jal test_below_player +/* 0779EC 800DE53C AFA20024 */ sw $v0, 0x24($sp) +/* 0779F0 800DE540 8FBF0028 */ lw $ra, 0x28($sp) +/* 0779F4 800DE544 03E00008 */ jr $ra +/* 0779F8 800DE548 27BD0030 */ addiu $sp, $sp, 0x30 + +trace_below_player: +/* 0779FC 800DE54C 27BDFF78 */ addiu $sp, $sp, -0x88 +/* 077A00 800DE550 AFB20060 */ sw $s2, 0x60($sp) +/* 077A04 800DE554 0080902D */ daddu $s2, $a0, $zero +/* 077A08 800DE558 AFB30064 */ sw $s3, 0x64($sp) +/* 077A0C 800DE55C 00A0982D */ daddu $s3, $a1, $zero +/* 077A10 800DE560 AFB40068 */ sw $s4, 0x68($sp) +/* 077A14 800DE564 00C0A02D */ daddu $s4, $a2, $zero +/* 077A18 800DE568 AFB5006C */ sw $s5, 0x6c($sp) +/* 077A1C 800DE56C 00E0A82D */ daddu $s5, $a3, $zero +/* 077A20 800DE570 AFBF0070 */ sw $ra, 0x70($sp) +/* 077A24 800DE574 AFB1005C */ sw $s1, 0x5c($sp) +/* 077A28 800DE578 AFB00058 */ sw $s0, 0x58($sp) +/* 077A2C 800DE57C F7B60080 */ sdc1 $f22, 0x80($sp) +/* 077A30 800DE580 F7B40078 */ sdc1 $f20, 0x78($sp) +/* 077A34 800DE584 C6A20000 */ lwc1 $f2, ($s5) +/* 077A38 800DE588 44802000 */ mtc1 $zero, $f4 +/* 077A3C 800DE58C 3C01BF80 */ lui $at, 0xbf80 +/* 077A40 800DE590 44810000 */ mtc1 $at, $f0 +/* 077A44 800DE594 27A20038 */ addiu $v0, $sp, 0x38 +/* 077A48 800DE598 E7A20044 */ swc1 $f2, 0x44($sp) +/* 077A4C 800DE59C AFA20018 */ sw $v0, 0x18($sp) +/* 077A50 800DE5A0 27A2003C */ addiu $v0, $sp, 0x3c +/* 077A54 800DE5A4 AFA2001C */ sw $v0, 0x1c($sp) +/* 077A58 800DE5A8 27A20040 */ addiu $v0, $sp, 0x40 +/* 077A5C 800DE5AC AFA20020 */ sw $v0, 0x20($sp) +/* 077A60 800DE5B0 27A20044 */ addiu $v0, $sp, 0x44 +/* 077A64 800DE5B4 AFA20024 */ sw $v0, 0x24($sp) +/* 077A68 800DE5B8 27A20048 */ addiu $v0, $sp, 0x48 +/* 077A6C 800DE5BC AFA20028 */ sw $v0, 0x28($sp) +/* 077A70 800DE5C0 27A2004C */ addiu $v0, $sp, 0x4c +/* 077A74 800DE5C4 AFA2002C */ sw $v0, 0x2c($sp) +/* 077A78 800DE5C8 27A20050 */ addiu $v0, $sp, 0x50 +/* 077A7C 800DE5CC E7A00010 */ swc1 $f0, 0x10($sp) +/* 077A80 800DE5D0 E7A40014 */ swc1 $f4, 0x14($sp) +/* 077A84 800DE5D4 AFA20030 */ sw $v0, 0x30($sp) +/* 077A88 800DE5D8 C64C0000 */ lwc1 $f12, ($s2) +/* 077A8C 800DE5DC C66E0000 */ lwc1 $f14, ($s3) +/* 077A90 800DE5E0 8E860000 */ lw $a2, ($s4) +/* 077A94 800DE5E4 44072000 */ mfc1 $a3, $f4 +/* 077A98 800DE5E8 0C017512 */ jal test_ray_entities +/* 077A9C 800DE5EC 2411FFFF */ addiu $s1, $zero, -1 +/* 077AA0 800DE5F0 0040802D */ daddu $s0, $v0, $zero +/* 077AA4 800DE5F4 0600000E */ bltz $s0, .L800DE630 +/* 077AA8 800DE5F8 00000000 */ nop +/* 077AAC 800DE5FC 0C04417A */ jal get_entity_by_index +/* 077AB0 800DE600 0200202D */ daddu $a0, $s0, $zero +/* 077AB4 800DE604 0040202D */ daddu $a0, $v0, $zero +/* 077AB8 800DE608 9082000B */ lbu $v0, 0xb($a0) +/* 077ABC 800DE60C 2C4200FF */ sltiu $v0, $v0, 0xff +/* 077AC0 800DE610 10400006 */ beqz $v0, .L800DE62C +/* 077AC4 800DE614 24030004 */ addiu $v1, $zero, 4 +/* 077AC8 800DE618 8C820000 */ lw $v0, ($a0) +/* 077ACC 800DE61C A0830007 */ sb $v1, 7($a0) +/* 077AD0 800DE620 34420040 */ ori $v0, $v0, 0x40 +/* 077AD4 800DE624 0803798C */ j .L800DE630 +/* 077AD8 800DE628 AC820000 */ sw $v0, ($a0) + +.L800DE62C: +/* 077ADC 800DE62C 36114000 */ ori $s1, $s0, 0x4000 +.L800DE630: +/* 077AE0 800DE630 3C01BF80 */ lui $at, 0xbf80 +/* 077AE4 800DE634 44810000 */ mtc1 $at, $f0 +/* 077AE8 800DE638 27A20038 */ addiu $v0, $sp, 0x38 +/* 077AEC 800DE63C AFA2001C */ sw $v0, 0x1c($sp) +/* 077AF0 800DE640 27A2003C */ addiu $v0, $sp, 0x3c +/* 077AF4 800DE644 AFA20020 */ sw $v0, 0x20($sp) +/* 077AF8 800DE648 27A20040 */ addiu $v0, $sp, 0x40 +/* 077AFC 800DE64C AFA20024 */ sw $v0, 0x24($sp) +/* 077B00 800DE650 27A20044 */ addiu $v0, $sp, 0x44 +/* 077B04 800DE654 AFA20028 */ sw $v0, 0x28($sp) +/* 077B08 800DE658 27A20048 */ addiu $v0, $sp, 0x48 +/* 077B0C 800DE65C AFA2002C */ sw $v0, 0x2c($sp) +/* 077B10 800DE660 27A2004C */ addiu $v0, $sp, 0x4c +/* 077B14 800DE664 AFA20030 */ sw $v0, 0x30($sp) +/* 077B18 800DE668 27A20050 */ addiu $v0, $sp, 0x50 +/* 077B1C 800DE66C AFA00010 */ sw $zero, 0x10($sp) +/* 077B20 800DE670 AFA00018 */ sw $zero, 0x18($sp) +/* 077B24 800DE674 AFA20034 */ sw $v0, 0x34($sp) +/* 077B28 800DE678 E7A00014 */ swc1 $f0, 0x14($sp) +/* 077B2C 800DE67C 8E660000 */ lw $a2, ($s3) +/* 077B30 800DE680 8E870000 */ lw $a3, ($s4) +/* 077B34 800DE684 8E450000 */ lw $a1, ($s2) +/* 077B38 800DE688 0C017334 */ jal test_ray_colliders +/* 077B3C 800DE68C 3C040001 */ lui $a0, 1 +/* 077B40 800DE690 04430001 */ bgezl $v0, .L800DE698 +/* 077B44 800DE694 0040882D */ daddu $s1, $v0, $zero +.L800DE698: +/* 077B48 800DE698 06200041 */ bltz $s1, .L800DE7A0 +/* 077B4C 800DE69C 00000000 */ nop +/* 077B50 800DE6A0 C7A00044 */ lwc1 $f0, 0x44($sp) +/* 077B54 800DE6A4 E6A00000 */ swc1 $f0, ($s5) +/* 077B58 800DE6A8 C7A00038 */ lwc1 $f0, 0x38($sp) +/* 077B5C 800DE6AC E6400000 */ swc1 $f0, ($s2) +/* 077B60 800DE6B0 C7A0003C */ lwc1 $f0, 0x3c($sp) +/* 077B64 800DE6B4 E6600000 */ swc1 $f0, ($s3) +/* 077B68 800DE6B8 C7A00040 */ lwc1 $f0, 0x40($sp) +/* 077B6C 800DE6BC 3C108007 */ lui $s0, 0x8007 +/* 077B70 800DE6C0 2610419C */ addiu $s0, $s0, 0x419c +/* 077B74 800DE6C4 E6800000 */ swc1 $f0, ($s4) +/* 077B78 800DE6C8 8E020000 */ lw $v0, ($s0) +/* 077B7C 800DE6CC C7A00048 */ lwc1 $f0, 0x48($sp) +/* 077B80 800DE6D0 C7A2004C */ lwc1 $f2, 0x4c($sp) +/* 077B84 800DE6D4 C7A40050 */ lwc1 $f4, 0x50($sp) +/* 077B88 800DE6D8 E4400128 */ swc1 $f0, 0x128($v0) +/* 077B8C 800DE6DC E442012C */ swc1 $f2, 0x12c($v0) +/* 077B90 800DE6E0 0C00A788 */ jal get_player_normal_yaw +/* 077B94 800DE6E4 E4440130 */ swc1 $f4, 0x130($v0) +/* 077B98 800DE6E8 3C018011 */ lui $at, 0x8011 +/* 077B9C 800DE6EC E420C938 */ swc1 $f0, -0x36c8($at) +/* 077BA0 800DE6F0 0C00A794 */ jal get_player_normal_pitch +/* 077BA4 800DE6F4 00000000 */ nop +/* 077BA8 800DE6F8 C7A40050 */ lwc1 $f4, 0x50($sp) +/* 077BAC 800DE6FC 3C014059 */ lui $at, 0x4059 +/* 077BB0 800DE700 4481A800 */ mtc1 $at, $f21 +/* 077BB4 800DE704 4480A000 */ mtc1 $zero, $f20 +/* 077BB8 800DE708 46002121 */ cvt.d.s $f4, $f4 +/* 077BBC 800DE70C 46342102 */ mul.d $f4, $f4, $f20 +/* 077BC0 800DE710 00000000 */ nop +/* 077BC4 800DE714 C7A2004C */ lwc1 $f2, 0x4c($sp) +/* 077BC8 800DE718 460010A1 */ cvt.d.s $f2, $f2 +/* 077BCC 800DE71C 46341082 */ mul.d $f2, $f2, $f20 +/* 077BD0 800DE720 00000000 */ nop +/* 077BD4 800DE724 4480B000 */ mtc1 $zero, $f22 +/* 077BD8 800DE728 3C018011 */ lui $at, 0x8011 +/* 077BDC 800DE72C E420C990 */ swc1 $f0, -0x3670($at) +/* 077BE0 800DE730 4600B306 */ mov.s $f12, $f22 +/* 077BE4 800DE734 46202120 */ cvt.s.d $f4, $f4 +/* 077BE8 800DE738 462010A0 */ cvt.s.d $f2, $f2 +/* 077BEC 800DE73C 44062000 */ mfc1 $a2, $f4 +/* 077BF0 800DE740 44071000 */ mfc1 $a3, $f2 +/* 077BF4 800DE744 0C00A720 */ jal atan2 +/* 077BF8 800DE748 4600B386 */ mov.s $f14, $f22 +/* 077BFC 800DE74C C7A40048 */ lwc1 $f4, 0x48($sp) +/* 077C00 800DE750 46002121 */ cvt.d.s $f4, $f4 +/* 077C04 800DE754 46342102 */ mul.d $f4, $f4, $f20 +/* 077C08 800DE758 00000000 */ nop +/* 077C0C 800DE75C C7A2004C */ lwc1 $f2, 0x4c($sp) +/* 077C10 800DE760 460010A1 */ cvt.d.s $f2, $f2 +/* 077C14 800DE764 46341082 */ mul.d $f2, $f2, $f20 +/* 077C18 800DE768 00000000 */ nop +/* 077C1C 800DE76C 4600B306 */ mov.s $f12, $f22 +/* 077C20 800DE770 8E020000 */ lw $v0, ($s0) +/* 077C24 800DE774 46202120 */ cvt.s.d $f4, $f4 +/* 077C28 800DE778 462010A0 */ cvt.s.d $f2, $f2 +/* 077C2C 800DE77C 44062000 */ mfc1 $a2, $f4 +/* 077C30 800DE780 44071000 */ mfc1 $a3, $f2 +/* 077C34 800DE784 46006386 */ mov.s $f14, $f12 +/* 077C38 800DE788 E440011C */ swc1 $f0, 0x11c($v0) +/* 077C3C 800DE78C 0C00A720 */ jal atan2 +/* 077C40 800DE790 E44C0120 */ swc1 $f12, 0x120($v0) +/* 077C44 800DE794 8E020000 */ lw $v0, ($s0) +/* 077C48 800DE798 080379ED */ j .L800DE7B4 +/* 077C4C 800DE79C E4400124 */ swc1 $f0, 0x124($v0) + +.L800DE7A0: +/* 077C50 800DE7A0 3C028007 */ lui $v0, 0x8007 +/* 077C54 800DE7A4 8C42419C */ lw $v0, 0x419c($v0) +/* 077C58 800DE7A8 AC40011C */ sw $zero, 0x11c($v0) +/* 077C5C 800DE7AC AC400120 */ sw $zero, 0x120($v0) +/* 077C60 800DE7B0 AC400124 */ sw $zero, 0x124($v0) +.L800DE7B4: +/* 077C64 800DE7B4 0220102D */ daddu $v0, $s1, $zero +/* 077C68 800DE7B8 8FBF0070 */ lw $ra, 0x70($sp) +/* 077C6C 800DE7BC 8FB5006C */ lw $s5, 0x6c($sp) +/* 077C70 800DE7C0 8FB40068 */ lw $s4, 0x68($sp) +/* 077C74 800DE7C4 8FB30064 */ lw $s3, 0x64($sp) +/* 077C78 800DE7C8 8FB20060 */ lw $s2, 0x60($sp) +/* 077C7C 800DE7CC 8FB1005C */ lw $s1, 0x5c($sp) +/* 077C80 800DE7D0 8FB00058 */ lw $s0, 0x58($sp) +/* 077C84 800DE7D4 D7B60080 */ ldc1 $f22, 0x80($sp) +/* 077C88 800DE7D8 D7B40078 */ ldc1 $f20, 0x78($sp) +/* 077C8C 800DE7DC 03E00008 */ jr $ra +/* 077C90 800DE7E0 27BD0088 */ addiu $sp, $sp, 0x88 + +func_800DE7E4: +/* 077C94 800DE7E4 27BDFF90 */ addiu $sp, $sp, -0x70 +/* 077C98 800DE7E8 F7B40048 */ sdc1 $f20, 0x48($sp) +/* 077C9C 800DE7EC C7B40084 */ lwc1 $f20, 0x84($sp) +/* 077CA0 800DE7F0 3C0140C9 */ lui $at, 0x40c9 +/* 077CA4 800DE7F4 34210FD0 */ ori $at, $at, 0xfd0 +/* 077CA8 800DE7F8 44810000 */ mtc1 $at, $f0 +/* 077CAC 800DE7FC AFB60038 */ sw $s6, 0x38($sp) +/* 077CB0 800DE800 00A0B02D */ daddu $s6, $a1, $zero +/* 077CB4 800DE804 AFB7003C */ sw $s7, 0x3c($sp) +/* 077CB8 800DE808 00C0B82D */ daddu $s7, $a2, $zero +/* 077CBC 800DE80C AFBE0040 */ sw $fp, 0x40($sp) +/* 077CC0 800DE810 00E0F02D */ daddu $fp, $a3, $zero +/* 077CC4 800DE814 AFB40030 */ sw $s4, 0x30($sp) +/* 077CC8 800DE818 2414FFFF */ addiu $s4, $zero, -1 +/* 077CCC 800DE81C AFBF0044 */ sw $ra, 0x44($sp) +/* 077CD0 800DE820 AFB50034 */ sw $s5, 0x34($sp) +/* 077CD4 800DE824 AFB3002C */ sw $s3, 0x2c($sp) +/* 077CD8 800DE828 AFB20028 */ sw $s2, 0x28($sp) +/* 077CDC 800DE82C AFB10024 */ sw $s1, 0x24($sp) +/* 077CE0 800DE830 AFB00020 */ sw $s0, 0x20($sp) +/* 077CE4 800DE834 F7BC0068 */ sdc1 $f28, 0x68($sp) +/* 077CE8 800DE838 F7BA0060 */ sdc1 $f26, 0x60($sp) +/* 077CEC 800DE83C F7B80058 */ sdc1 $f24, 0x58($sp) +/* 077CF0 800DE840 F7B60050 */ sdc1 $f22, 0x50($sp) +/* 077CF4 800DE844 848200B2 */ lh $v0, 0xb2($a0) +/* 077CF8 800DE848 4600A502 */ mul.s $f20, $f20, $f0 +/* 077CFC 800DE84C 00000000 */ nop +/* 077D00 800DE850 3C013E99 */ lui $at, 0x3e99 +/* 077D04 800DE854 3421999A */ ori $at, $at, 0x999a +/* 077D08 800DE858 44811000 */ mtc1 $at, $f2 +/* 077D0C 800DE85C 8FB50080 */ lw $s5, 0x80($sp) +/* 077D10 800DE860 4482B000 */ mtc1 $v0, $f22 +/* 077D14 800DE864 00000000 */ nop +/* 077D18 800DE868 4680B5A0 */ cvt.s.w $f22, $f22 +/* 077D1C 800DE86C 3C0143B4 */ lui $at, 0x43b4 +/* 077D20 800DE870 44810000 */ mtc1 $at, $f0 +/* 077D24 800DE874 4602B582 */ mul.s $f22, $f22, $f2 +/* 077D28 800DE878 00000000 */ nop +/* 077D2C 800DE87C 4600A503 */ div.s $f20, $f20, $f0 +/* 077D30 800DE880 0C00A85B */ jal sin_rad +/* 077D34 800DE884 4600A306 */ mov.s $f12, $f20 +/* 077D38 800DE888 4600B702 */ mul.s $f28, $f22, $f0 +/* 077D3C 800DE88C 00000000 */ nop +/* 077D40 800DE890 0C00A874 */ jal cos_rad +/* 077D44 800DE894 4600A306 */ mov.s $f12, $f20 +/* 077D48 800DE898 27B30010 */ addiu $s3, $sp, 0x10 +/* 077D4C 800DE89C 0260202D */ daddu $a0, $s3, $zero +/* 077D50 800DE8A0 27B20014 */ addiu $s2, $sp, 0x14 +/* 077D54 800DE8A4 0240282D */ daddu $a1, $s2, $zero +/* 077D58 800DE8A8 27B10018 */ addiu $s1, $sp, 0x18 +/* 077D5C 800DE8AC 0220302D */ daddu $a2, $s1, $zero +/* 077D60 800DE8B0 27B0001C */ addiu $s0, $sp, 0x1c +/* 077D64 800DE8B4 4600B587 */ neg.s $f22, $f22 +/* 077D68 800DE8B8 4600B682 */ mul.s $f26, $f22, $f0 +/* 077D6C 800DE8BC 00000000 */ nop +/* 077D70 800DE8C0 C6D60000 */ lwc1 $f22, ($s6) +/* 077D74 800DE8C4 C6F80000 */ lwc1 $f24, ($s7) +/* 077D78 800DE8C8 C7D40000 */ lwc1 $f20, ($fp) +/* 077D7C 800DE8CC C6A00000 */ lwc1 $f0, ($s5) +/* 077D80 800DE8D0 461CB080 */ add.s $f2, $f22, $f28 +/* 077D84 800DE8D4 0200382D */ daddu $a3, $s0, $zero +/* 077D88 800DE8D8 E7A0001C */ swc1 $f0, 0x1c($sp) +/* 077D8C 800DE8DC 461AA000 */ add.s $f0, $f20, $f26 +/* 077D90 800DE8E0 E7B80014 */ swc1 $f24, 0x14($sp) +/* 077D94 800DE8E4 E7A20010 */ swc1 $f2, 0x10($sp) +/* 077D98 800DE8E8 0C037A82 */ jal trace_above_player +/* 077D9C 800DE8EC E7A00018 */ swc1 $f0, 0x18($sp) +/* 077DA0 800DE8F0 04410022 */ bgez $v0, .L800DE97C +/* 077DA4 800DE8F4 0260202D */ daddu $a0, $s3, $zero +/* 077DA8 800DE8F8 0240282D */ daddu $a1, $s2, $zero +/* 077DAC 800DE8FC 461CB081 */ sub.s $f2, $f22, $f28 +/* 077DB0 800DE900 0220302D */ daddu $a2, $s1, $zero +/* 077DB4 800DE904 0200382D */ daddu $a3, $s0, $zero +/* 077DB8 800DE908 461AA001 */ sub.s $f0, $f20, $f26 +/* 077DBC 800DE90C E7B80014 */ swc1 $f24, 0x14($sp) +/* 077DC0 800DE910 E7A20010 */ swc1 $f2, 0x10($sp) +/* 077DC4 800DE914 0C037A82 */ jal trace_above_player +/* 077DC8 800DE918 E7A00018 */ swc1 $f0, 0x18($sp) +/* 077DCC 800DE91C 04410017 */ bgez $v0, .L800DE97C +/* 077DD0 800DE920 0260202D */ daddu $a0, $s3, $zero +/* 077DD4 800DE924 0240282D */ daddu $a1, $s2, $zero +/* 077DD8 800DE928 461AB080 */ add.s $f2, $f22, $f26 +/* 077DDC 800DE92C 0220302D */ daddu $a2, $s1, $zero +/* 077DE0 800DE930 0200382D */ daddu $a3, $s0, $zero +/* 077DE4 800DE934 461CA000 */ add.s $f0, $f20, $f28 +/* 077DE8 800DE938 E7B80014 */ swc1 $f24, 0x14($sp) +/* 077DEC 800DE93C E7A20010 */ swc1 $f2, 0x10($sp) +/* 077DF0 800DE940 0C037A82 */ jal trace_above_player +/* 077DF4 800DE944 E7A00018 */ swc1 $f0, 0x18($sp) +/* 077DF8 800DE948 0441000C */ bgez $v0, .L800DE97C +/* 077DFC 800DE94C 0260202D */ daddu $a0, $s3, $zero +/* 077E00 800DE950 0240282D */ daddu $a1, $s2, $zero +/* 077E04 800DE954 461AB081 */ sub.s $f2, $f22, $f26 +/* 077E08 800DE958 0220302D */ daddu $a2, $s1, $zero +/* 077E0C 800DE95C 0200382D */ daddu $a3, $s0, $zero +/* 077E10 800DE960 461CA001 */ sub.s $f0, $f20, $f28 +/* 077E14 800DE964 E7B80014 */ swc1 $f24, 0x14($sp) +/* 077E18 800DE968 E7A20010 */ swc1 $f2, 0x10($sp) +/* 077E1C 800DE96C 0C037A82 */ jal trace_above_player +/* 077E20 800DE970 E7A00018 */ swc1 $f0, 0x18($sp) +/* 077E24 800DE974 0440000A */ bltz $v0, .L800DE9A0 +/* 077E28 800DE978 00000000 */ nop +.L800DE97C: +/* 077E2C 800DE97C C7A00010 */ lwc1 $f0, 0x10($sp) +/* 077E30 800DE980 E6C00000 */ swc1 $f0, ($s6) +/* 077E34 800DE984 C7A00014 */ lwc1 $f0, 0x14($sp) +/* 077E38 800DE988 E6E00000 */ swc1 $f0, ($s7) +/* 077E3C 800DE98C C7A00018 */ lwc1 $f0, 0x18($sp) +/* 077E40 800DE990 E7C00000 */ swc1 $f0, ($fp) +/* 077E44 800DE994 C7A0001C */ lwc1 $f0, 0x1c($sp) +/* 077E48 800DE998 0040A02D */ daddu $s4, $v0, $zero +/* 077E4C 800DE99C E6A00000 */ swc1 $f0, ($s5) +.L800DE9A0: +/* 077E50 800DE9A0 06810008 */ bgez $s4, .L800DE9C4 +/* 077E54 800DE9A4 0280102D */ daddu $v0, $s4, $zero +/* 077E58 800DE9A8 C7A00010 */ lwc1 $f0, 0x10($sp) +/* 077E5C 800DE9AC E6C00000 */ swc1 $f0, ($s6) +/* 077E60 800DE9B0 C7A00014 */ lwc1 $f0, 0x14($sp) +/* 077E64 800DE9B4 E6E00000 */ swc1 $f0, ($s7) +/* 077E68 800DE9B8 C7A00018 */ lwc1 $f0, 0x18($sp) +/* 077E6C 800DE9BC E7C00000 */ swc1 $f0, ($fp) +/* 077E70 800DE9C0 AEA00000 */ sw $zero, ($s5) +.L800DE9C4: +/* 077E74 800DE9C4 8FBF0044 */ lw $ra, 0x44($sp) +/* 077E78 800DE9C8 8FBE0040 */ lw $fp, 0x40($sp) +/* 077E7C 800DE9CC 8FB7003C */ lw $s7, 0x3c($sp) +/* 077E80 800DE9D0 8FB60038 */ lw $s6, 0x38($sp) +/* 077E84 800DE9D4 8FB50034 */ lw $s5, 0x34($sp) +/* 077E88 800DE9D8 8FB40030 */ lw $s4, 0x30($sp) +/* 077E8C 800DE9DC 8FB3002C */ lw $s3, 0x2c($sp) +/* 077E90 800DE9E0 8FB20028 */ lw $s2, 0x28($sp) +/* 077E94 800DE9E4 8FB10024 */ lw $s1, 0x24($sp) +/* 077E98 800DE9E8 8FB00020 */ lw $s0, 0x20($sp) +/* 077E9C 800DE9EC D7BC0068 */ ldc1 $f28, 0x68($sp) +/* 077EA0 800DE9F0 D7BA0060 */ ldc1 $f26, 0x60($sp) +/* 077EA4 800DE9F4 D7B80058 */ ldc1 $f24, 0x58($sp) +/* 077EA8 800DE9F8 D7B60050 */ ldc1 $f22, 0x50($sp) +/* 077EAC 800DE9FC D7B40048 */ ldc1 $f20, 0x48($sp) +/* 077EB0 800DEA00 03E00008 */ jr $ra +/* 077EB4 800DEA04 27BD0070 */ addiu $sp, $sp, 0x70 + +trace_above_player: +/* 077EB8 800DEA08 27BDFF58 */ addiu $sp, $sp, -0xa8 +/* 077EBC 800DEA0C AFB30064 */ sw $s3, 0x64($sp) +/* 077EC0 800DEA10 0080982D */ daddu $s3, $a0, $zero +/* 077EC4 800DEA14 AFB40068 */ sw $s4, 0x68($sp) +/* 077EC8 800DEA18 00A0A02D */ daddu $s4, $a1, $zero +/* 077ECC 800DEA1C AFB5006C */ sw $s5, 0x6c($sp) +/* 077ED0 800DEA20 00C0A82D */ daddu $s5, $a2, $zero +/* 077ED4 800DEA24 AFB20060 */ sw $s2, 0x60($sp) +/* 077ED8 800DEA28 00E0902D */ daddu $s2, $a3, $zero +/* 077EDC 800DEA2C AFB1005C */ sw $s1, 0x5c($sp) +/* 077EE0 800DEA30 2411FFFF */ addiu $s1, $zero, -1 +/* 077EE4 800DEA34 3C040001 */ lui $a0, 1 +/* 077EE8 800DEA38 AFBF0070 */ sw $ra, 0x70($sp) +/* 077EEC 800DEA3C AFB00058 */ sw $s0, 0x58($sp) +/* 077EF0 800DEA40 F7BE00A0 */ sdc1 $f30, 0xa0($sp) +/* 077EF4 800DEA44 F7BC0098 */ sdc1 $f28, 0x98($sp) +/* 077EF8 800DEA48 F7BA0090 */ sdc1 $f26, 0x90($sp) +/* 077EFC 800DEA4C F7B80088 */ sdc1 $f24, 0x88($sp) +/* 077F00 800DEA50 F7B60080 */ sdc1 $f22, 0x80($sp) +/* 077F04 800DEA54 F7B40078 */ sdc1 $f20, 0x78($sp) +/* 077F08 800DEA58 C6780000 */ lwc1 $f24, ($s3) +/* 077F0C 800DEA5C C6960000 */ lwc1 $f22, ($s4) +/* 077F10 800DEA60 C6B40000 */ lwc1 $f20, ($s5) +/* 077F14 800DEA64 C6400000 */ lwc1 $f0, ($s2) +/* 077F18 800DEA68 3C013F80 */ lui $at, 0x3f80 +/* 077F1C 800DEA6C 44811000 */ mtc1 $at, $f2 +/* 077F20 800DEA70 4406B000 */ mfc1 $a2, $f22 +/* 077F24 800DEA74 4407A000 */ mfc1 $a3, $f20 +/* 077F28 800DEA78 4405C000 */ mfc1 $a1, $f24 +/* 077F2C 800DEA7C 27A20038 */ addiu $v0, $sp, 0x38 +/* 077F30 800DEA80 E7A00044 */ swc1 $f0, 0x44($sp) +/* 077F34 800DEA84 AFA2001C */ sw $v0, 0x1c($sp) +/* 077F38 800DEA88 27A2003C */ addiu $v0, $sp, 0x3c +/* 077F3C 800DEA8C AFA20020 */ sw $v0, 0x20($sp) +/* 077F40 800DEA90 27A20040 */ addiu $v0, $sp, 0x40 +/* 077F44 800DEA94 AFA20024 */ sw $v0, 0x24($sp) +/* 077F48 800DEA98 27A20044 */ addiu $v0, $sp, 0x44 +/* 077F4C 800DEA9C AFA20028 */ sw $v0, 0x28($sp) +/* 077F50 800DEAA0 27A20048 */ addiu $v0, $sp, 0x48 +/* 077F54 800DEAA4 AFA2002C */ sw $v0, 0x2c($sp) +/* 077F58 800DEAA8 27A2004C */ addiu $v0, $sp, 0x4c +/* 077F5C 800DEAAC AFA20030 */ sw $v0, 0x30($sp) +/* 077F60 800DEAB0 27A20050 */ addiu $v0, $sp, 0x50 +/* 077F64 800DEAB4 AFA00010 */ sw $zero, 0x10($sp) +/* 077F68 800DEAB8 E7A20014 */ swc1 $f2, 0x14($sp) +/* 077F6C 800DEABC AFA00018 */ sw $zero, 0x18($sp) +/* 077F70 800DEAC0 0C017334 */ jal test_ray_colliders +/* 077F74 800DEAC4 AFA20034 */ sw $v0, 0x34($sp) +/* 077F78 800DEAC8 0040802D */ daddu $s0, $v0, $zero +/* 077F7C 800DEACC 4600C686 */ mov.s $f26, $f24 +/* 077F80 800DEAD0 4600B706 */ mov.s $f28, $f22 +/* 077F84 800DEAD4 0600000C */ bltz $s0, .L800DEB08 +/* 077F88 800DEAD8 4600A786 */ mov.s $f30, $f20 +/* 077F8C 800DEADC C6400000 */ lwc1 $f0, ($s2) +/* 077F90 800DEAE0 C7A20044 */ lwc1 $f2, 0x44($sp) +/* 077F94 800DEAE4 4600103C */ c.lt.s $f2, $f0 +/* 077F98 800DEAE8 00000000 */ nop +/* 077F9C 800DEAEC 45020007 */ bc1fl .L800DEB0C +/* 077FA0 800DEAF0 4600D606 */ mov.s $f24, $f26 +/* 077FA4 800DEAF4 0200882D */ daddu $s1, $s0, $zero +/* 077FA8 800DEAF8 E6420000 */ swc1 $f2, ($s2) +/* 077FAC 800DEAFC E6780000 */ swc1 $f24, ($s3) +/* 077FB0 800DEB00 E6960000 */ swc1 $f22, ($s4) +/* 077FB4 800DEB04 E6B40000 */ swc1 $f20, ($s5) +.L800DEB08: +/* 077FB8 800DEB08 4600D606 */ mov.s $f24, $f26 +.L800DEB0C: +/* 077FBC 800DEB0C 4600E586 */ mov.s $f22, $f28 +/* 077FC0 800DEB10 3C014120 */ lui $at, 0x4120 +/* 077FC4 800DEB14 44811000 */ mtc1 $at, $f2 +/* 077FC8 800DEB18 44802000 */ mtc1 $zero, $f4 +/* 077FCC 800DEB1C 3C013F80 */ lui $at, 0x3f80 +/* 077FD0 800DEB20 44810000 */ mtc1 $at, $f0 +/* 077FD4 800DEB24 27A20038 */ addiu $v0, $sp, 0x38 +/* 077FD8 800DEB28 E7A20044 */ swc1 $f2, 0x44($sp) +/* 077FDC 800DEB2C AFA20018 */ sw $v0, 0x18($sp) +/* 077FE0 800DEB30 27A2003C */ addiu $v0, $sp, 0x3c +/* 077FE4 800DEB34 AFA2001C */ sw $v0, 0x1c($sp) +/* 077FE8 800DEB38 27A20040 */ addiu $v0, $sp, 0x40 +/* 077FEC 800DEB3C AFA20020 */ sw $v0, 0x20($sp) +/* 077FF0 800DEB40 27A20044 */ addiu $v0, $sp, 0x44 +/* 077FF4 800DEB44 AFA20024 */ sw $v0, 0x24($sp) +/* 077FF8 800DEB48 27A20048 */ addiu $v0, $sp, 0x48 +/* 077FFC 800DEB4C AFA20028 */ sw $v0, 0x28($sp) +/* 078000 800DEB50 27A2004C */ addiu $v0, $sp, 0x4c +/* 078004 800DEB54 AFA2002C */ sw $v0, 0x2c($sp) +/* 078008 800DEB58 27A20050 */ addiu $v0, $sp, 0x50 +/* 07800C 800DEB5C E7A00010 */ swc1 $f0, 0x10($sp) +/* 078010 800DEB60 E7A40014 */ swc1 $f4, 0x14($sp) +/* 078014 800DEB64 AFA20030 */ sw $v0, 0x30($sp) +/* 078018 800DEB68 8EA60000 */ lw $a2, ($s5) +/* 07801C 800DEB6C 44072000 */ mfc1 $a3, $f4 +/* 078020 800DEB70 C66C0000 */ lwc1 $f12, ($s3) +/* 078024 800DEB74 C68E0000 */ lwc1 $f14, ($s4) +/* 078028 800DEB78 0C017512 */ jal test_ray_entities +/* 07802C 800DEB7C 4600F506 */ mov.s $f20, $f30 +/* 078030 800DEB80 0040802D */ daddu $s0, $v0, $zero +/* 078034 800DEB84 06000010 */ bltz $s0, .L800DEBC8 +/* 078038 800DEB88 0220102D */ daddu $v0, $s1, $zero +/* 07803C 800DEB8C C6420000 */ lwc1 $f2, ($s2) +/* 078040 800DEB90 C7A00044 */ lwc1 $f0, 0x44($sp) +/* 078044 800DEB94 4602003C */ c.lt.s $f0, $f2 +/* 078048 800DEB98 00000000 */ nop +/* 07804C 800DEB9C 4500000A */ bc1f .L800DEBC8 +/* 078050 800DEBA0 00000000 */ nop +/* 078054 800DEBA4 0C04417A */ jal get_entity_by_index +/* 078058 800DEBA8 0200202D */ daddu $a0, $s0, $zero +/* 07805C 800DEBAC C7A00044 */ lwc1 $f0, 0x44($sp) +/* 078060 800DEBB0 36114000 */ ori $s1, $s0, 0x4000 +/* 078064 800DEBB4 E6400000 */ swc1 $f0, ($s2) +/* 078068 800DEBB8 E6780000 */ swc1 $f24, ($s3) +/* 07806C 800DEBBC E6960000 */ swc1 $f22, ($s4) +/* 078070 800DEBC0 E6B40000 */ swc1 $f20, ($s5) +/* 078074 800DEBC4 0220102D */ daddu $v0, $s1, $zero +.L800DEBC8: +/* 078078 800DEBC8 8FBF0070 */ lw $ra, 0x70($sp) +/* 07807C 800DEBCC 8FB5006C */ lw $s5, 0x6c($sp) +/* 078080 800DEBD0 8FB40068 */ lw $s4, 0x68($sp) +/* 078084 800DEBD4 8FB30064 */ lw $s3, 0x64($sp) +/* 078088 800DEBD8 8FB20060 */ lw $s2, 0x60($sp) +/* 07808C 800DEBDC 8FB1005C */ lw $s1, 0x5c($sp) +/* 078090 800DEBE0 8FB00058 */ lw $s0, 0x58($sp) +/* 078094 800DEBE4 D7BE00A0 */ ldc1 $f30, 0xa0($sp) +/* 078098 800DEBE8 D7BC0098 */ ldc1 $f28, 0x98($sp) +/* 07809C 800DEBEC D7BA0090 */ ldc1 $f26, 0x90($sp) +/* 0780A0 800DEBF0 D7B80088 */ ldc1 $f24, 0x88($sp) +/* 0780A4 800DEBF4 D7B60080 */ ldc1 $f22, 0x80($sp) +/* 0780A8 800DEBF8 D7B40078 */ ldc1 $f20, 0x78($sp) +/* 0780AC 800DEBFC 03E00008 */ jr $ra +/* 0780B0 800DEC00 27BD00A8 */ addiu $sp, $sp, 0xa8 + +func_800DEC04: +/* 0780B4 800DEC04 27BDFF58 */ addiu $sp, $sp, -0xa8 +/* 0780B8 800DEC08 AFB40078 */ sw $s4, 0x78($sp) +/* 0780BC 800DEC0C 0080A02D */ daddu $s4, $a0, $zero +/* 0780C0 800DEC10 AFB20070 */ sw $s2, 0x70($sp) +/* 0780C4 800DEC14 00C0902D */ daddu $s2, $a2, $zero +/* 0780C8 800DEC18 AFB00068 */ sw $s0, 0x68($sp) +/* 0780CC 800DEC1C 00E0802D */ daddu $s0, $a3, $zero +/* 0780D0 800DEC20 AFB30074 */ sw $s3, 0x74($sp) +/* 0780D4 800DEC24 AFBF007C */ sw $ra, 0x7c($sp) +/* 0780D8 800DEC28 AFB1006C */ sw $s1, 0x6c($sp) +/* 0780DC 800DEC2C F7BC00A0 */ sdc1 $f28, 0xa0($sp) +/* 0780E0 800DEC30 F7BA0098 */ sdc1 $f26, 0x98($sp) +/* 0780E4 800DEC34 F7B80090 */ sdc1 $f24, 0x90($sp) +/* 0780E8 800DEC38 F7B60088 */ sdc1 $f22, 0x88($sp) +/* 0780EC 800DEC3C F7B40080 */ sdc1 $f20, 0x80($sp) +/* 0780F0 800DEC40 84A200B2 */ lh $v0, 0xb2($a1) +/* 0780F4 800DEC44 3C013F00 */ lui $at, 0x3f00 +/* 0780F8 800DEC48 44810000 */ mtc1 $at, $f0 +/* 0780FC 800DEC4C 8FB100B8 */ lw $s1, 0xb8($sp) +/* 078100 800DEC50 C7B400BC */ lwc1 $f20, 0xbc($sp) +/* 078104 800DEC54 44821000 */ mtc1 $v0, $f2 +/* 078108 800DEC58 00000000 */ nop +/* 07810C 800DEC5C 468010A0 */ cvt.s.w $f2, $f2 +/* 078110 800DEC60 8CA20000 */ lw $v0, ($a1) +/* 078114 800DEC64 46001702 */ mul.s $f28, $f2, $f0 +/* 078118 800DEC68 00000000 */ nop +/* 07811C 800DEC6C 30420006 */ andi $v0, $v0, 6 +/* 078120 800DEC70 1440000B */ bnez $v0, .L800DECA0 +/* 078124 800DEC74 2413FFFF */ addiu $s3, $zero, -1 +/* 078128 800DEC78 84A200B0 */ lh $v0, 0xb0($a1) +/* 07812C 800DEC7C 3C013E92 */ lui $at, 0x3e92 +/* 078130 800DEC80 34216E98 */ ori $at, $at, 0x6e98 +/* 078134 800DEC84 44811000 */ mtc1 $at, $f2 +/* 078138 800DEC88 44820000 */ mtc1 $v0, $f0 +/* 07813C 800DEC8C 00000000 */ nop +/* 078140 800DEC90 46800020 */ cvt.s.w $f0, $f0 +/* 078144 800DEC94 46020582 */ mul.s $f22, $f0, $f2 +/* 078148 800DEC98 08037B2A */ j .L800DECA8 +/* 07814C 800DEC9C 00000000 */ nop + +.L800DECA0: +/* 078150 800DECA0 3C013F80 */ lui $at, 0x3f80 +/* 078154 800DECA4 4481B000 */ mtc1 $at, $f22 +.L800DECA8: +/* 078158 800DECA8 3C0140C9 */ lui $at, 0x40c9 +/* 07815C 800DECAC 34210FD0 */ ori $at, $at, 0xfd0 +/* 078160 800DECB0 44810000 */ mtc1 $at, $f0 +/* 078164 800DECB4 C7AC00C0 */ lwc1 $f12, 0xc0($sp) +/* 078168 800DECB8 46006302 */ mul.s $f12, $f12, $f0 +/* 07816C 800DECBC 00000000 */ nop +/* 078170 800DECC0 27A50038 */ addiu $a1, $sp, 0x38 +/* 078174 800DECC4 3C0143B4 */ lui $at, 0x43b4 +/* 078178 800DECC8 44810000 */ mtc1 $at, $f0 +/* 07817C 800DECCC 27A6003C */ addiu $a2, $sp, 0x3c +/* 078180 800DECD0 0C00A82D */ jal sin_cos_rad +/* 078184 800DECD4 46006303 */ div.s $f12, $f12, $f0 +/* 078188 800DECD8 461CA080 */ add.s $f2, $f20, $f28 +/* 07818C 800DECDC C7A0003C */ lwc1 $f0, 0x3c($sp) +/* 078190 800DECE0 46000007 */ neg.s $f0, $f0 +/* 078194 800DECE4 E7A0003C */ swc1 $f0, 0x3c($sp) +/* 078198 800DECE8 E7A2004C */ swc1 $f2, 0x4c($sp) +/* 07819C 800DECEC C7A20038 */ lwc1 $f2, 0x38($sp) +/* 0781A0 800DECF0 C6040000 */ lwc1 $f4, ($s0) +/* 0781A4 800DECF4 27A20040 */ addiu $v0, $sp, 0x40 +/* 0781A8 800DECF8 AFA2001C */ sw $v0, 0x1c($sp) +/* 0781AC 800DECFC 27A20044 */ addiu $v0, $sp, 0x44 +/* 0781B0 800DED00 AFA20020 */ sw $v0, 0x20($sp) +/* 0781B4 800DED04 27A20048 */ addiu $v0, $sp, 0x48 +/* 0781B8 800DED08 AFA20024 */ sw $v0, 0x24($sp) +/* 0781BC 800DED0C 27A2004C */ addiu $v0, $sp, 0x4c +/* 0781C0 800DED10 AFA20028 */ sw $v0, 0x28($sp) +/* 0781C4 800DED14 27A20050 */ addiu $v0, $sp, 0x50 +/* 0781C8 800DED18 AFA2002C */ sw $v0, 0x2c($sp) +/* 0781CC 800DED1C 27A20054 */ addiu $v0, $sp, 0x54 +/* 0781D0 800DED20 AFA20030 */ sw $v0, 0x30($sp) +/* 0781D4 800DED24 27A20058 */ addiu $v0, $sp, 0x58 +/* 0781D8 800DED28 AFA00014 */ sw $zero, 0x14($sp) +/* 0781DC 800DED2C E7A00018 */ swc1 $f0, 0x18($sp) +/* 0781E0 800DED30 AFA20034 */ sw $v0, 0x34($sp) +/* 0781E4 800DED34 46162100 */ add.s $f4, $f4, $f22 +/* 0781E8 800DED38 E7A20010 */ swc1 $f2, 0x10($sp) +/* 0781EC 800DED3C 8E450000 */ lw $a1, ($s2) +/* 0781F0 800DED40 8E270000 */ lw $a3, ($s1) +/* 0781F4 800DED44 44062000 */ mfc1 $a2, $f4 +/* 0781F8 800DED48 0C037B97 */ jal func_800DEE5C +/* 0781FC 800DED4C 0280202D */ daddu $a0, $s4, $zero +/* 078200 800DED50 0040802D */ daddu $s0, $v0, $zero +/* 078204 800DED54 24020003 */ addiu $v0, $zero, 3 +/* 078208 800DED58 16820004 */ bne $s4, $v0, .L800DED6C +/* 07820C 800DED5C 00000000 */ nop +/* 078210 800DED60 4480C000 */ mtc1 $zero, $f24 +/* 078214 800DED64 08037B61 */ j .L800DED84 +/* 078218 800DED68 4600C686 */ mov.s $f26, $f24 + +.L800DED6C: +/* 07821C 800DED6C C7A00038 */ lwc1 $f0, 0x38($sp) +/* 078220 800DED70 4600A682 */ mul.s $f26, $f20, $f0 +/* 078224 800DED74 00000000 */ nop +/* 078228 800DED78 C7A0003C */ lwc1 $f0, 0x3c($sp) +/* 07822C 800DED7C 4600A602 */ mul.s $f24, $f20, $f0 +/* 078230 800DED80 00000000 */ nop +.L800DED84: +/* 078234 800DED84 06000021 */ bltz $s0, .L800DEE0C +/* 078238 800DED88 00000000 */ nop +/* 07823C 800DED8C 461CA080 */ add.s $f2, $f20, $f28 +/* 078240 800DED90 C7B6004C */ lwc1 $f22, 0x4c($sp) +/* 078244 800DED94 4602B03E */ c.le.s $f22, $f2 +/* 078248 800DED98 00000000 */ nop +/* 07824C 800DED9C 4500001B */ bc1f .L800DEE0C +/* 078250 800DEDA0 27A4005C */ addiu $a0, $sp, 0x5c +/* 078254 800DEDA4 4602B581 */ sub.s $f22, $f22, $f2 +/* 078258 800DEDA8 4406D000 */ mfc1 $a2, $f26 +/* 07825C 800DEDAC C7B40038 */ lwc1 $f20, 0x38($sp) +/* 078260 800DEDB0 4407C000 */ mfc1 $a3, $f24 +/* 078264 800DEDB4 C7A2003C */ lwc1 $f2, 0x3c($sp) +/* 078268 800DEDB8 4614B502 */ mul.s $f20, $f22, $f20 +/* 07826C 800DEDBC 00000000 */ nop +/* 078270 800DEDC0 C7A00050 */ lwc1 $f0, 0x50($sp) +/* 078274 800DEDC4 27A50060 */ addiu $a1, $sp, 0x60 +/* 078278 800DEDC8 E7A00010 */ swc1 $f0, 0x10($sp) +/* 07827C 800DEDCC C7A00058 */ lwc1 $f0, 0x58($sp) +/* 078280 800DEDD0 4602B582 */ mul.s $f22, $f22, $f2 +/* 078284 800DEDD4 00000000 */ nop +/* 078288 800DEDD8 0C037CFF */ jal func_800DF3FC +/* 07828C 800DEDDC E7A00014 */ swc1 $f0, 0x14($sp) +/* 078290 800DEDE0 C7A0005C */ lwc1 $f0, 0x5c($sp) +/* 078294 800DEDE4 4600A500 */ add.s $f20, $f20, $f0 +/* 078298 800DEDE8 C6400000 */ lwc1 $f0, ($s2) +/* 07829C 800DEDEC 46140000 */ add.s $f0, $f0, $f20 +/* 0782A0 800DEDF0 E6400000 */ swc1 $f0, ($s2) +/* 0782A4 800DEDF4 C7A00060 */ lwc1 $f0, 0x60($sp) +/* 0782A8 800DEDF8 4600B580 */ add.s $f22, $f22, $f0 +/* 0782AC 800DEDFC C6200000 */ lwc1 $f0, ($s1) +/* 0782B0 800DEE00 46160000 */ add.s $f0, $f0, $f22 +/* 0782B4 800DEE04 0200982D */ daddu $s3, $s0, $zero +/* 0782B8 800DEE08 E6200000 */ swc1 $f0, ($s1) +.L800DEE0C: +/* 0782BC 800DEE0C C6400000 */ lwc1 $f0, ($s2) +/* 0782C0 800DEE10 461A0000 */ add.s $f0, $f0, $f26 +/* 0782C4 800DEE14 E6400000 */ swc1 $f0, ($s2) +/* 0782C8 800DEE18 C6200000 */ lwc1 $f0, ($s1) +/* 0782CC 800DEE1C 46180000 */ add.s $f0, $f0, $f24 +/* 0782D0 800DEE20 0260102D */ daddu $v0, $s3, $zero +/* 0782D4 800DEE24 E6200000 */ swc1 $f0, ($s1) +/* 0782D8 800DEE28 8FBF007C */ lw $ra, 0x7c($sp) +/* 0782DC 800DEE2C 8FB40078 */ lw $s4, 0x78($sp) +/* 0782E0 800DEE30 8FB30074 */ lw $s3, 0x74($sp) +/* 0782E4 800DEE34 8FB20070 */ lw $s2, 0x70($sp) +/* 0782E8 800DEE38 8FB1006C */ lw $s1, 0x6c($sp) +/* 0782EC 800DEE3C 8FB00068 */ lw $s0, 0x68($sp) +/* 0782F0 800DEE40 D7BC00A0 */ ldc1 $f28, 0xa0($sp) +/* 0782F4 800DEE44 D7BA0098 */ ldc1 $f26, 0x98($sp) +/* 0782F8 800DEE48 D7B80090 */ ldc1 $f24, 0x90($sp) +/* 0782FC 800DEE4C D7B60088 */ ldc1 $f22, 0x88($sp) +/* 078300 800DEE50 D7B40080 */ ldc1 $f20, 0x80($sp) +/* 078304 800DEE54 03E00008 */ jr $ra +/* 078308 800DEE58 27BD00A8 */ addiu $sp, $sp, 0xa8 + +func_800DEE5C: +/* 07830C 800DEE5C 27BDFF70 */ addiu $sp, $sp, -0x90 +/* 078310 800DEE60 F7B40060 */ sdc1 $f20, 0x60($sp) +/* 078314 800DEE64 4485A000 */ mtc1 $a1, $f20 +/* 078318 800DEE68 F7BA0078 */ sdc1 $f26, 0x78($sp) +/* 07831C 800DEE6C 4486D000 */ mtc1 $a2, $f26 +/* 078320 800DEE70 F7BC0080 */ sdc1 $f28, 0x80($sp) +/* 078324 800DEE74 4487E000 */ mtc1 $a3, $f28 +/* 078328 800DEE78 F7BE0088 */ sdc1 $f30, 0x88($sp) +/* 07832C 800DEE7C C7BE00A0 */ lwc1 $f30, 0xa0($sp) +/* 078330 800DEE80 F7B60068 */ sdc1 $f22, 0x68($sp) +/* 078334 800DEE84 C7B600A4 */ lwc1 $f22, 0xa4($sp) +/* 078338 800DEE88 F7B80070 */ sdc1 $f24, 0x70($sp) +/* 07833C 800DEE8C C7B800A8 */ lwc1 $f24, 0xa8($sp) +/* 078340 800DEE90 AFB5004C */ sw $s5, 0x4c($sp) +/* 078344 800DEE94 8FB500AC */ lw $s5, 0xac($sp) +/* 078348 800DEE98 AFB60050 */ sw $s6, 0x50($sp) +/* 07834C 800DEE9C 8FB600B0 */ lw $s6, 0xb0($sp) +/* 078350 800DEEA0 AFB70054 */ sw $s7, 0x54($sp) +/* 078354 800DEEA4 8FB700B4 */ lw $s7, 0xb4($sp) +/* 078358 800DEEA8 AFBE0058 */ sw $fp, 0x58($sp) +/* 07835C 800DEEAC 8FBE00B8 */ lw $fp, 0xb8($sp) +/* 078360 800DEEB0 AFB40048 */ sw $s4, 0x48($sp) +/* 078364 800DEEB4 8FB400C0 */ lw $s4, 0xc0($sp) +/* 078368 800DEEB8 AFB30044 */ sw $s3, 0x44($sp) +/* 07836C 800DEEBC 8FB300C4 */ lw $s3, 0xc4($sp) +/* 078370 800DEEC0 8FA800BC */ lw $t0, 0xbc($sp) +/* 078374 800DEEC4 AFB20040 */ sw $s2, 0x40($sp) +/* 078378 800DEEC8 0080902D */ daddu $s2, $a0, $zero +/* 07837C 800DEECC AFB1003C */ sw $s1, 0x3c($sp) +/* 078380 800DEED0 2411FFFF */ addiu $s1, $zero, -1 +/* 078384 800DEED4 AFBF005C */ sw $ra, 0x5c($sp) +/* 078388 800DEED8 AFB00038 */ sw $s0, 0x38($sp) +/* 07838C 800DEEDC 4600A306 */ mov.s $f12, $f20 +/* 078390 800DEEE0 4406E000 */ mfc1 $a2, $f28 +/* 078394 800DEEE4 4407F000 */ mfc1 $a3, $f30 +/* 078398 800DEEE8 4600D386 */ mov.s $f14, $f26 +/* 07839C 800DEEEC E7B60010 */ swc1 $f22, 0x10($sp) +/* 0783A0 800DEEF0 E7B80014 */ swc1 $f24, 0x14($sp) +/* 0783A4 800DEEF4 AFB50018 */ sw $s5, 0x18($sp) +/* 0783A8 800DEEF8 AFB6001C */ sw $s6, 0x1c($sp) +/* 0783AC 800DEEFC AFB70020 */ sw $s7, 0x20($sp) +/* 0783B0 800DEF00 AFBE0024 */ sw $fp, 0x24($sp) +/* 0783B4 800DEF04 AFA80028 */ sw $t0, 0x28($sp) +/* 0783B8 800DEF08 AFB4002C */ sw $s4, 0x2c($sp) +/* 0783BC 800DEF0C 0C017512 */ jal test_ray_entities +/* 0783C0 800DEF10 AFB30030 */ sw $s3, 0x30($sp) +/* 0783C4 800DEF14 0040802D */ daddu $s0, $v0, $zero +/* 0783C8 800DEF18 0600000D */ bltz $s0, .L800DEF50 +/* 0783CC 800DEF1C 24020003 */ addiu $v0, $zero, 3 +/* 0783D0 800DEF20 0C04417A */ jal get_entity_by_index +/* 0783D4 800DEF24 0200202D */ daddu $a0, $s0, $zero +/* 0783D8 800DEF28 0040182D */ daddu $v1, $v0, $zero +/* 0783DC 800DEF2C 9062000B */ lbu $v0, 0xb($v1) +/* 0783E0 800DEF30 2C4200FF */ sltiu $v0, $v0, 0xff +/* 0783E4 800DEF34 50400019 */ beql $v0, $zero, .L800DEF9C +/* 0783E8 800DEF38 36114000 */ ori $s1, $s0, 0x4000 +/* 0783EC 800DEF3C 8C620000 */ lw $v0, ($v1) +/* 0783F0 800DEF40 A0600007 */ sb $zero, 7($v1) +/* 0783F4 800DEF44 34420040 */ ori $v0, $v0, 0x40 +/* 0783F8 800DEF48 08037BE7 */ j .L800DEF9C +/* 0783FC 800DEF4C AC620000 */ sw $v0, ($v1) + +.L800DEF50: +/* 078400 800DEF50 16420013 */ bne $s2, $v0, .L800DEFA0 +/* 078404 800DEF54 24020001 */ addiu $v0, $zero, 1 +/* 078408 800DEF58 4405A000 */ mfc1 $a1, $f20 +/* 07840C 800DEF5C 4406D000 */ mfc1 $a2, $f26 +/* 078410 800DEF60 4407E000 */ mfc1 $a3, $f28 +/* 078414 800DEF64 8FA800BC */ lw $t0, 0xbc($sp) +/* 078418 800DEF68 34048000 */ ori $a0, $zero, 0x8000 +/* 07841C 800DEF6C E7BE0010 */ swc1 $f30, 0x10($sp) +/* 078420 800DEF70 E7B60014 */ swc1 $f22, 0x14($sp) +/* 078424 800DEF74 E7B80018 */ swc1 $f24, 0x18($sp) +/* 078428 800DEF78 AFB5001C */ sw $s5, 0x1c($sp) +/* 07842C 800DEF7C AFB60020 */ sw $s6, 0x20($sp) +/* 078430 800DEF80 AFB70024 */ sw $s7, 0x24($sp) +/* 078434 800DEF84 AFBE0028 */ sw $fp, 0x28($sp) +/* 078438 800DEF88 AFB40030 */ sw $s4, 0x30($sp) +/* 07843C 800DEF8C AFB30034 */ sw $s3, 0x34($sp) +/* 078440 800DEF90 0C017334 */ jal test_ray_colliders +/* 078444 800DEF94 AFA8002C */ sw $t0, 0x2c($sp) +/* 078448 800DEF98 0040882D */ daddu $s1, $v0, $zero +.L800DEF9C: +/* 07844C 800DEF9C 24020001 */ addiu $v0, $zero, 1 +.L800DEFA0: +/* 078450 800DEFA0 1242005B */ beq $s2, $v0, .L800DF110 +/* 078454 800DEFA4 24020003 */ addiu $v0, $zero, 3 +/* 078458 800DEFA8 12420059 */ beq $s2, $v0, .L800DF110 +/* 07845C 800DEFAC 24020004 */ addiu $v0, $zero, 4 +/* 078460 800DEFB0 16420002 */ bne $s2, $v0, .L800DEFBC +/* 078464 800DEFB4 3C040001 */ lui $a0, 1 +/* 078468 800DEFB8 3C040008 */ lui $a0, 8 +.L800DEFBC: +/* 07846C 800DEFBC 4405A000 */ mfc1 $a1, $f20 +/* 078470 800DEFC0 4406D000 */ mfc1 $a2, $f26 +/* 078474 800DEFC4 4407E000 */ mfc1 $a3, $f28 +/* 078478 800DEFC8 8FA800BC */ lw $t0, 0xbc($sp) +/* 07847C 800DEFCC E7BE0010 */ swc1 $f30, 0x10($sp) +/* 078480 800DEFD0 E7B60014 */ swc1 $f22, 0x14($sp) +/* 078484 800DEFD4 E7B80018 */ swc1 $f24, 0x18($sp) +/* 078488 800DEFD8 AFB5001C */ sw $s5, 0x1c($sp) +/* 07848C 800DEFDC AFB60020 */ sw $s6, 0x20($sp) +/* 078490 800DEFE0 AFB70024 */ sw $s7, 0x24($sp) +/* 078494 800DEFE4 AFBE0028 */ sw $fp, 0x28($sp) +/* 078498 800DEFE8 AFB40030 */ sw $s4, 0x30($sp) +/* 07849C 800DEFEC AFB30034 */ sw $s3, 0x34($sp) +/* 0784A0 800DEFF0 0C017334 */ jal test_ray_colliders +/* 0784A4 800DEFF4 AFA8002C */ sw $t0, 0x2c($sp) +/* 0784A8 800DEFF8 06210004 */ bgez $s1, .L800DF00C +/* 0784AC 800DEFFC 00000000 */ nop +/* 0784B0 800DF000 0040882D */ daddu $s1, $v0, $zero +/* 0784B4 800DF004 06200043 */ bltz $s1, .L800DF114 +/* 0784B8 800DF008 0220102D */ daddu $v0, $s1, $zero +.L800DF00C: +/* 0784BC 800DF00C C6620000 */ lwc1 $f2, ($s3) +/* 0784C0 800DF010 3C014059 */ lui $at, 0x4059 +/* 0784C4 800DF014 4481A800 */ mtc1 $at, $f21 +/* 0784C8 800DF018 4480A000 */ mtc1 $zero, $f20 +/* 0784CC 800DF01C 460010A1 */ cvt.d.s $f2, $f2 +/* 0784D0 800DF020 46341082 */ mul.d $f2, $f2, $f20 +/* 0784D4 800DF024 00000000 */ nop +/* 0784D8 800DF028 C6800000 */ lwc1 $f0, ($s4) +/* 0784DC 800DF02C 46000021 */ cvt.d.s $f0, $f0 +/* 0784E0 800DF030 46340002 */ mul.d $f0, $f0, $f20 +/* 0784E4 800DF034 00000000 */ nop +/* 0784E8 800DF038 4480B000 */ mtc1 $zero, $f22 +/* 0784EC 800DF03C 00000000 */ nop +/* 0784F0 800DF040 4600B306 */ mov.s $f12, $f22 +/* 0784F4 800DF044 462010A0 */ cvt.s.d $f2, $f2 +/* 0784F8 800DF048 46200020 */ cvt.s.d $f0, $f0 +/* 0784FC 800DF04C 44061000 */ mfc1 $a2, $f2 +/* 078500 800DF050 44070000 */ mfc1 $a3, $f0 +/* 078504 800DF054 0C00A720 */ jal atan2 +/* 078508 800DF058 4600B386 */ mov.s $f14, $f22 +/* 07850C 800DF05C C6820000 */ lwc1 $f2, ($s4) +/* 078510 800DF060 460010A1 */ cvt.d.s $f2, $f2 +/* 078514 800DF064 46341082 */ mul.d $f2, $f2, $f20 +/* 078518 800DF068 00000000 */ nop +/* 07851C 800DF06C 8FA800BC */ lw $t0, 0xbc($sp) +/* 078520 800DF070 C5040000 */ lwc1 $f4, ($t0) +/* 078524 800DF074 46002121 */ cvt.d.s $f4, $f4 +/* 078528 800DF078 46342102 */ mul.d $f4, $f4, $f20 +/* 07852C 800DF07C 00000000 */ nop +/* 078530 800DF080 3C014334 */ lui $at, 0x4334 +/* 078534 800DF084 4481A000 */ mtc1 $at, $f20 +/* 078538 800DF088 4600B306 */ mov.s $f12, $f22 +/* 07853C 800DF08C 4600A581 */ sub.s $f22, $f20, $f0 +/* 078540 800DF090 462010A0 */ cvt.s.d $f2, $f2 +/* 078544 800DF094 44071000 */ mfc1 $a3, $f2 +/* 078548 800DF098 46202120 */ cvt.s.d $f4, $f4 +/* 07854C 800DF09C 44062000 */ mfc1 $a2, $f4 +/* 078550 800DF0A0 0C00A720 */ jal atan2 +/* 078554 800DF0A4 46006386 */ mov.s $f14, $f12 +/* 078558 800DF0A8 3C0142B4 */ lui $at, 0x42b4 +/* 07855C 800DF0AC 44811000 */ mtc1 $at, $f2 +/* 078560 800DF0B0 00000000 */ nop +/* 078564 800DF0B4 4602B032 */ c.eq.s $f22, $f2 +/* 078568 800DF0B8 00000000 */ nop +/* 07856C 800DF0BC 45000005 */ bc1f .L800DF0D4 +/* 078570 800DF0C0 4600A501 */ sub.s $f20, $f20, $f0 +/* 078574 800DF0C4 4602A032 */ c.eq.s $f20, $f2 +/* 078578 800DF0C8 00000000 */ nop +/* 07857C 800DF0CC 45010011 */ bc1t .L800DF114 +/* 078580 800DF0D0 0220102D */ daddu $v0, $s1, $zero +.L800DF0D4: +/* 078584 800DF0D4 4600B021 */ cvt.d.s $f0, $f22 +/* 078588 800DF0D8 3C01403E */ lui $at, 0x403e +/* 07858C 800DF0DC 44811800 */ mtc1 $at, $f3 +/* 078590 800DF0E0 44801000 */ mtc1 $zero, $f2 +/* 078594 800DF0E4 46200005 */ abs.d $f0, $f0 +/* 078598 800DF0E8 4620103E */ c.le.d $f2, $f0 +/* 07859C 800DF0EC 00000000 */ nop +/* 0785A0 800DF0F0 45010008 */ bc1t .L800DF114 +/* 0785A4 800DF0F4 0220102D */ daddu $v0, $s1, $zero +/* 0785A8 800DF0F8 4600A021 */ cvt.d.s $f0, $f20 +/* 0785AC 800DF0FC 46200005 */ abs.d $f0, $f0 +/* 0785B0 800DF100 4620103E */ c.le.d $f2, $f0 +/* 0785B4 800DF104 00000000 */ nop +/* 0785B8 800DF108 45020001 */ bc1fl .L800DF110 +/* 0785BC 800DF10C 2411FFFF */ addiu $s1, $zero, -1 +.L800DF110: +/* 0785C0 800DF110 0220102D */ daddu $v0, $s1, $zero +.L800DF114: +/* 0785C4 800DF114 8FBF005C */ lw $ra, 0x5c($sp) +/* 0785C8 800DF118 8FBE0058 */ lw $fp, 0x58($sp) +/* 0785CC 800DF11C 8FB70054 */ lw $s7, 0x54($sp) +/* 0785D0 800DF120 8FB60050 */ lw $s6, 0x50($sp) +/* 0785D4 800DF124 8FB5004C */ lw $s5, 0x4c($sp) +/* 0785D8 800DF128 8FB40048 */ lw $s4, 0x48($sp) +/* 0785DC 800DF12C 8FB30044 */ lw $s3, 0x44($sp) +/* 0785E0 800DF130 8FB20040 */ lw $s2, 0x40($sp) +/* 0785E4 800DF134 8FB1003C */ lw $s1, 0x3c($sp) +/* 0785E8 800DF138 8FB00038 */ lw $s0, 0x38($sp) +/* 0785EC 800DF13C D7BE0088 */ ldc1 $f30, 0x88($sp) +/* 0785F0 800DF140 D7BC0080 */ ldc1 $f28, 0x80($sp) +/* 0785F4 800DF144 D7BA0078 */ ldc1 $f26, 0x78($sp) +/* 0785F8 800DF148 D7B80070 */ ldc1 $f24, 0x70($sp) +/* 0785FC 800DF14C D7B60068 */ ldc1 $f22, 0x68($sp) +/* 078600 800DF150 D7B40060 */ ldc1 $f20, 0x60($sp) +/* 078604 800DF154 03E00008 */ jr $ra +/* 078608 800DF158 27BD0090 */ addiu $sp, $sp, 0x90 + +func_800DF15C: +/* 07860C 800DF15C 27BDFF60 */ addiu $sp, $sp, -0xa0 +/* 078610 800DF160 AFB1006C */ sw $s1, 0x6c($sp) +/* 078614 800DF164 00A0882D */ daddu $s1, $a1, $zero +/* 078618 800DF168 AFB00068 */ sw $s0, 0x68($sp) +/* 07861C 800DF16C 00C0802D */ daddu $s0, $a2, $zero +/* 078620 800DF170 AFBF0078 */ sw $ra, 0x78($sp) +/* 078624 800DF174 AFB30074 */ sw $s3, 0x74($sp) +/* 078628 800DF178 AFB20070 */ sw $s2, 0x70($sp) +/* 07862C 800DF17C F7BA0098 */ sdc1 $f26, 0x98($sp) +/* 078630 800DF180 F7B80090 */ sdc1 $f24, 0x90($sp) +/* 078634 800DF184 F7B60088 */ sdc1 $f22, 0x88($sp) +/* 078638 800DF188 F7B40080 */ sdc1 $f20, 0x80($sp) +/* 07863C 800DF18C 848200B2 */ lh $v0, 0xb2($a0) +/* 078640 800DF190 3C013F00 */ lui $at, 0x3f00 +/* 078644 800DF194 44811000 */ mtc1 $at, $f2 +/* 078648 800DF198 44820000 */ mtc1 $v0, $f0 +/* 07864C 800DF19C 00000000 */ nop +/* 078650 800DF1A0 46800020 */ cvt.s.w $f0, $f0 +/* 078654 800DF1A4 46020582 */ mul.s $f22, $f0, $f2 +/* 078658 800DF1A8 00000000 */ nop +/* 07865C 800DF1AC 00E0902D */ daddu $s2, $a3, $zero +/* 078660 800DF1B0 C7A200B4 */ lwc1 $f2, 0xb4($sp) +/* 078664 800DF1B4 3C0140C9 */ lui $at, 0x40c9 +/* 078668 800DF1B8 34210FD0 */ ori $at, $at, 0xfd0 +/* 07866C 800DF1BC 44810000 */ mtc1 $at, $f0 +/* 078670 800DF1C0 27A50038 */ addiu $a1, $sp, 0x38 +/* 078674 800DF1C4 46001082 */ mul.s $f2, $f2, $f0 +/* 078678 800DF1C8 00000000 */ nop +/* 07867C 800DF1CC 27A6003C */ addiu $a2, $sp, 0x3c +/* 078680 800DF1D0 848200B0 */ lh $v0, 0xb0($a0) +/* 078684 800DF1D4 3C013E92 */ lui $at, 0x3e92 +/* 078688 800DF1D8 34216E98 */ ori $at, $at, 0x6e98 +/* 07868C 800DF1DC 44810000 */ mtc1 $at, $f0 +/* 078690 800DF1E0 44822000 */ mtc1 $v0, $f4 +/* 078694 800DF1E4 00000000 */ nop +/* 078698 800DF1E8 46802120 */ cvt.s.w $f4, $f4 +/* 07869C 800DF1EC 46002682 */ mul.s $f26, $f4, $f0 +/* 0786A0 800DF1F0 00000000 */ nop +/* 0786A4 800DF1F4 3C0143B4 */ lui $at, 0x43b4 +/* 0786A8 800DF1F8 44816000 */ mtc1 $at, $f12 +/* 0786AC 800DF1FC C7B800B0 */ lwc1 $f24, 0xb0($sp) +/* 0786B0 800DF200 0C00A82D */ jal sin_cos_rad +/* 0786B4 800DF204 460C1303 */ div.s $f12, $f2, $f12 +/* 0786B8 800DF208 4616C500 */ add.s $f20, $f24, $f22 +/* 0786BC 800DF20C C7A0003C */ lwc1 $f0, 0x3c($sp) +/* 0786C0 800DF210 C7A40038 */ lwc1 $f4, 0x38($sp) +/* 0786C4 800DF214 46000007 */ neg.s $f0, $f0 +/* 0786C8 800DF218 E7A0003C */ swc1 $f0, 0x3c($sp) +/* 0786CC 800DF21C E7B4004C */ swc1 $f20, 0x4c($sp) +/* 0786D0 800DF220 C6020000 */ lwc1 $f2, ($s0) +/* 0786D4 800DF224 2413FFFF */ addiu $s3, $zero, -1 +/* 0786D8 800DF228 E7A00018 */ swc1 $f0, 0x18($sp) +/* 0786DC 800DF22C 3C018011 */ lui $at, 0x8011 +/* 0786E0 800DF230 D420BC50 */ ldc1 $f0, -0x43b0($at) +/* 0786E4 800DF234 27A20040 */ addiu $v0, $sp, 0x40 +/* 0786E8 800DF238 AFA2001C */ sw $v0, 0x1c($sp) +/* 0786EC 800DF23C 27A20044 */ addiu $v0, $sp, 0x44 +/* 0786F0 800DF240 AFA20020 */ sw $v0, 0x20($sp) +/* 0786F4 800DF244 27A20048 */ addiu $v0, $sp, 0x48 +/* 0786F8 800DF248 AFA20024 */ sw $v0, 0x24($sp) +/* 0786FC 800DF24C 27A2004C */ addiu $v0, $sp, 0x4c +/* 078700 800DF250 AFA20028 */ sw $v0, 0x28($sp) +/* 078704 800DF254 27A20050 */ addiu $v0, $sp, 0x50 +/* 078708 800DF258 AFA2002C */ sw $v0, 0x2c($sp) +/* 07870C 800DF25C 27A20054 */ addiu $v0, $sp, 0x54 +/* 078710 800DF260 AFA20030 */ sw $v0, 0x30($sp) +/* 078714 800DF264 27A20058 */ addiu $v0, $sp, 0x58 +/* 078718 800DF268 E7A40010 */ swc1 $f4, 0x10($sp) +/* 07871C 800DF26C AFA00014 */ sw $zero, 0x14($sp) +/* 078720 800DF270 AFA20034 */ sw $v0, 0x34($sp) +/* 078724 800DF274 460010A1 */ cvt.d.s $f2, $f2 +/* 078728 800DF278 46201080 */ add.d $f2, $f2, $f0 +/* 07872C 800DF27C 8E250000 */ lw $a1, ($s1) +/* 078730 800DF280 8E470000 */ lw $a3, ($s2) +/* 078734 800DF284 462010A0 */ cvt.s.d $f2, $f2 +/* 078738 800DF288 44061000 */ mfc1 $a2, $f2 +/* 07873C 800DF28C 0C037B97 */ jal func_800DEE5C +/* 078740 800DF290 0000202D */ daddu $a0, $zero, $zero +/* 078744 800DF294 04420009 */ bltzl $v0, .L800DF2BC +/* 078748 800DF298 4616C500 */ add.s $f20, $f24, $f22 +/* 07874C 800DF29C C7A0004C */ lwc1 $f0, 0x4c($sp) +/* 078750 800DF2A0 4614003E */ c.le.s $f0, $f20 +/* 078754 800DF2A4 00000000 */ nop +/* 078758 800DF2A8 45000003 */ bc1f .L800DF2B8 +/* 07875C 800DF2AC 24030001 */ addiu $v1, $zero, 1 +/* 078760 800DF2B0 8FA200B8 */ lw $v0, 0xb8($sp) +/* 078764 800DF2B4 AC430000 */ sw $v1, ($v0) +.L800DF2B8: +/* 078768 800DF2B8 4616C500 */ add.s $f20, $f24, $f22 +.L800DF2BC: +/* 07876C 800DF2BC C7A00038 */ lwc1 $f0, 0x38($sp) +/* 078770 800DF2C0 C7A2003C */ lwc1 $f2, 0x3c($sp) +/* 078774 800DF2C4 E7B4004C */ swc1 $f20, 0x4c($sp) +/* 078778 800DF2C8 C6040000 */ lwc1 $f4, ($s0) +/* 07877C 800DF2CC 27A20040 */ addiu $v0, $sp, 0x40 +/* 078780 800DF2D0 AFA2001C */ sw $v0, 0x1c($sp) +/* 078784 800DF2D4 27A20044 */ addiu $v0, $sp, 0x44 +/* 078788 800DF2D8 AFA20020 */ sw $v0, 0x20($sp) +/* 07878C 800DF2DC 27A20048 */ addiu $v0, $sp, 0x48 +/* 078790 800DF2E0 AFA20024 */ sw $v0, 0x24($sp) +/* 078794 800DF2E4 27A2004C */ addiu $v0, $sp, 0x4c +/* 078798 800DF2E8 AFA20028 */ sw $v0, 0x28($sp) +/* 07879C 800DF2EC 27A20050 */ addiu $v0, $sp, 0x50 +/* 0787A0 800DF2F0 AFA2002C */ sw $v0, 0x2c($sp) +/* 0787A4 800DF2F4 27A20054 */ addiu $v0, $sp, 0x54 +/* 0787A8 800DF2F8 AFA20030 */ sw $v0, 0x30($sp) +/* 0787AC 800DF2FC 27A20058 */ addiu $v0, $sp, 0x58 +/* 0787B0 800DF300 E7A00010 */ swc1 $f0, 0x10($sp) +/* 0787B4 800DF304 AFA00014 */ sw $zero, 0x14($sp) +/* 0787B8 800DF308 E7A20018 */ swc1 $f2, 0x18($sp) +/* 0787BC 800DF30C AFA20034 */ sw $v0, 0x34($sp) +/* 0787C0 800DF310 461A2100 */ add.s $f4, $f4, $f26 +/* 0787C4 800DF314 8E250000 */ lw $a1, ($s1) +/* 0787C8 800DF318 8E470000 */ lw $a3, ($s2) +/* 0787CC 800DF31C 44062000 */ mfc1 $a2, $f4 +/* 0787D0 800DF320 0C037B97 */ jal func_800DEE5C +/* 0787D4 800DF324 0000202D */ daddu $a0, $zero, $zero +/* 0787D8 800DF328 4480C000 */ mtc1 $zero, $f24 +/* 0787DC 800DF32C 0040802D */ daddu $s0, $v0, $zero +/* 0787E0 800DF330 06000020 */ bltz $s0, .L800DF3B4 +/* 0787E4 800DF334 4600C686 */ mov.s $f26, $f24 +/* 0787E8 800DF338 C7B6004C */ lwc1 $f22, 0x4c($sp) +/* 0787EC 800DF33C 4614B03E */ c.le.s $f22, $f20 +/* 0787F0 800DF340 00000000 */ nop +/* 0787F4 800DF344 4500001B */ bc1f .L800DF3B4 +/* 0787F8 800DF348 27A4005C */ addiu $a0, $sp, 0x5c +/* 0787FC 800DF34C 4614B581 */ sub.s $f22, $f22, $f20 +/* 078800 800DF350 4406C000 */ mfc1 $a2, $f24 +/* 078804 800DF354 C7B40038 */ lwc1 $f20, 0x38($sp) +/* 078808 800DF358 4407C000 */ mfc1 $a3, $f24 +/* 07880C 800DF35C C7A2003C */ lwc1 $f2, 0x3c($sp) +/* 078810 800DF360 4614B502 */ mul.s $f20, $f22, $f20 +/* 078814 800DF364 00000000 */ nop +/* 078818 800DF368 C7A00050 */ lwc1 $f0, 0x50($sp) +/* 07881C 800DF36C 27A50060 */ addiu $a1, $sp, 0x60 +/* 078820 800DF370 E7A00010 */ swc1 $f0, 0x10($sp) +/* 078824 800DF374 C7A00058 */ lwc1 $f0, 0x58($sp) +/* 078828 800DF378 4602B582 */ mul.s $f22, $f22, $f2 +/* 07882C 800DF37C 00000000 */ nop +/* 078830 800DF380 0C037CFF */ jal func_800DF3FC +/* 078834 800DF384 E7A00014 */ swc1 $f0, 0x14($sp) +/* 078838 800DF388 C7A0005C */ lwc1 $f0, 0x5c($sp) +/* 07883C 800DF38C 4600A500 */ add.s $f20, $f20, $f0 +/* 078840 800DF390 C6200000 */ lwc1 $f0, ($s1) +/* 078844 800DF394 46140000 */ add.s $f0, $f0, $f20 +/* 078848 800DF398 E6200000 */ swc1 $f0, ($s1) +/* 07884C 800DF39C C7A00060 */ lwc1 $f0, 0x60($sp) +/* 078850 800DF3A0 4600B580 */ add.s $f22, $f22, $f0 +/* 078854 800DF3A4 C6400000 */ lwc1 $f0, ($s2) +/* 078858 800DF3A8 46160000 */ add.s $f0, $f0, $f22 +/* 07885C 800DF3AC 0200982D */ daddu $s3, $s0, $zero +/* 078860 800DF3B0 E6400000 */ swc1 $f0, ($s2) +.L800DF3B4: +/* 078864 800DF3B4 C6200000 */ lwc1 $f0, ($s1) +/* 078868 800DF3B8 461A0000 */ add.s $f0, $f0, $f26 +/* 07886C 800DF3BC E6200000 */ swc1 $f0, ($s1) +/* 078870 800DF3C0 C6400000 */ lwc1 $f0, ($s2) +/* 078874 800DF3C4 46180000 */ add.s $f0, $f0, $f24 +/* 078878 800DF3C8 0260102D */ daddu $v0, $s3, $zero +/* 07887C 800DF3CC E6400000 */ swc1 $f0, ($s2) +/* 078880 800DF3D0 8FBF0078 */ lw $ra, 0x78($sp) +/* 078884 800DF3D4 8FB30074 */ lw $s3, 0x74($sp) +/* 078888 800DF3D8 8FB20070 */ lw $s2, 0x70($sp) +/* 07888C 800DF3DC 8FB1006C */ lw $s1, 0x6c($sp) +/* 078890 800DF3E0 8FB00068 */ lw $s0, 0x68($sp) +/* 078894 800DF3E4 D7BA0098 */ ldc1 $f26, 0x98($sp) +/* 078898 800DF3E8 D7B80090 */ ldc1 $f24, 0x90($sp) +/* 07889C 800DF3EC D7B60088 */ ldc1 $f22, 0x88($sp) +/* 0788A0 800DF3F0 D7B40080 */ ldc1 $f20, 0x80($sp) +/* 0788A4 800DF3F4 03E00008 */ jr $ra +/* 0788A8 800DF3F8 27BD00A0 */ addiu $sp, $sp, 0xa0 + +func_800DF3FC: +/* 0788AC 800DF3FC 44863000 */ mtc1 $a2, $f6 +/* 0788B0 800DF400 C7A40010 */ lwc1 $f4, 0x10($sp) +/* 0788B4 800DF404 46043082 */ mul.s $f2, $f6, $f4 +/* 0788B8 800DF408 00000000 */ nop +/* 0788BC 800DF40C 44874000 */ mtc1 $a3, $f8 +/* 0788C0 800DF410 C7AA0014 */ lwc1 $f10, 0x14($sp) +/* 0788C4 800DF414 460A4002 */ mul.s $f0, $f8, $f10 +/* 0788C8 800DF418 00000000 */ nop +/* 0788CC 800DF41C 46001080 */ add.s $f2, $f2, $f0 +/* 0788D0 800DF420 46041102 */ mul.s $f4, $f2, $f4 +/* 0788D4 800DF424 00000000 */ nop +/* 0788D8 800DF428 460A1082 */ mul.s $f2, $f2, $f10 +/* 0788DC 800DF42C 00000000 */ nop +/* 0788E0 800DF430 46043181 */ sub.s $f6, $f6, $f4 +/* 0788E4 800DF434 3C013F00 */ lui $at, 0x3f00 +/* 0788E8 800DF438 44810000 */ mtc1 $at, $f0 +/* 0788EC 800DF43C 00000000 */ nop +/* 0788F0 800DF440 46003182 */ mul.s $f6, $f6, $f0 +/* 0788F4 800DF444 00000000 */ nop +/* 0788F8 800DF448 46024201 */ sub.s $f8, $f8, $f2 +/* 0788FC 800DF44C 46004202 */ mul.s $f8, $f8, $f0 +/* 078900 800DF450 00000000 */ nop +/* 078904 800DF454 E4860000 */ swc1 $f6, ($a0) +/* 078908 800DF458 03E00008 */ jr $ra +/* 07890C 800DF45C E4A80000 */ swc1 $f8, ($a1) + +test_player_lateral: +/* 078910 800DF460 27BDFF48 */ addiu $sp, $sp, -0xb8 +/* 078914 800DF464 AFB40078 */ sw $s4, 0x78($sp) +/* 078918 800DF468 0080A02D */ daddu $s4, $a0, $zero +/* 07891C 800DF46C AFB1006C */ sw $s1, 0x6c($sp) +/* 078920 800DF470 00A0882D */ daddu $s1, $a1, $zero +/* 078924 800DF474 AFB5007C */ sw $s5, 0x7c($sp) +/* 078928 800DF478 00C0A82D */ daddu $s5, $a2, $zero +/* 07892C 800DF47C AFB20070 */ sw $s2, 0x70($sp) +/* 078930 800DF480 00E0902D */ daddu $s2, $a3, $zero +/* 078934 800DF484 AFB30074 */ sw $s3, 0x74($sp) +/* 078938 800DF488 AFBF0080 */ sw $ra, 0x80($sp) +/* 07893C 800DF48C AFB00068 */ sw $s0, 0x68($sp) +/* 078940 800DF490 F7BE00B0 */ sdc1 $f30, 0xb0($sp) +/* 078944 800DF494 F7BC00A8 */ sdc1 $f28, 0xa8($sp) +/* 078948 800DF498 F7BA00A0 */ sdc1 $f26, 0xa0($sp) +/* 07894C 800DF49C F7B80098 */ sdc1 $f24, 0x98($sp) +/* 078950 800DF4A0 F7B60090 */ sdc1 $f22, 0x90($sp) +/* 078954 800DF4A4 F7B40088 */ sdc1 $f20, 0x88($sp) +/* 078958 800DF4A8 8E820000 */ lw $v0, ($s4) +/* 07895C 800DF4AC 4480A000 */ mtc1 $zero, $f20 +/* 078960 800DF4B0 C7BC00C8 */ lwc1 $f28, 0xc8($sp) +/* 078964 800DF4B4 30420006 */ andi $v0, $v0, 6 +/* 078968 800DF4B8 14400004 */ bnez $v0, .L800DF4CC +/* 07896C 800DF4BC 2413FFFF */ addiu $s3, $zero, -1 +/* 078970 800DF4C0 3C014120 */ lui $at, 0x4120 +/* 078974 800DF4C4 342128F6 */ ori $at, $at, 0x28f6 +/* 078978 800DF4C8 4481A000 */ mtc1 $at, $f20 +.L800DF4CC: +/* 07897C 800DF4CC 27A50038 */ addiu $a1, $sp, 0x38 +/* 078980 800DF4D0 3C0140C9 */ lui $at, 0x40c9 +/* 078984 800DF4D4 34210FD0 */ ori $at, $at, 0xfd0 +/* 078988 800DF4D8 44810000 */ mtc1 $at, $f0 +/* 07898C 800DF4DC C7A400CC */ lwc1 $f4, 0xcc($sp) +/* 078990 800DF4E0 27A6003C */ addiu $a2, $sp, 0x3c +/* 078994 800DF4E4 46002102 */ mul.s $f4, $f4, $f0 +/* 078998 800DF4E8 00000000 */ nop +/* 07899C 800DF4EC 868200B2 */ lh $v0, 0xb2($s4) +/* 0789A0 800DF4F0 3C013F00 */ lui $at, 0x3f00 +/* 0789A4 800DF4F4 44811000 */ mtc1 $at, $f2 +/* 0789A8 800DF4F8 3C0143B4 */ lui $at, 0x43b4 +/* 0789AC 800DF4FC 44816000 */ mtc1 $at, $f12 +/* 0789B0 800DF500 44820000 */ mtc1 $v0, $f0 +/* 0789B4 800DF504 00000000 */ nop +/* 0789B8 800DF508 46800020 */ cvt.s.w $f0, $f0 +/* 0789BC 800DF50C 46020782 */ mul.s $f30, $f0, $f2 +/* 0789C0 800DF510 00000000 */ nop +/* 0789C4 800DF514 0C00A82D */ jal sin_cos_rad +/* 0789C8 800DF518 460C2303 */ div.s $f12, $f4, $f12 +/* 0789CC 800DF51C 27A20040 */ addiu $v0, $sp, 0x40 +/* 0789D0 800DF520 461EE580 */ add.s $f22, $f28, $f30 +/* 0789D4 800DF524 C7A0003C */ lwc1 $f0, 0x3c($sp) +/* 0789D8 800DF528 C7A20038 */ lwc1 $f2, 0x38($sp) +/* 0789DC 800DF52C 46000007 */ neg.s $f0, $f0 +/* 0789E0 800DF530 E7A0003C */ swc1 $f0, 0x3c($sp) +/* 0789E4 800DF534 E7B6004C */ swc1 $f22, 0x4c($sp) +/* 0789E8 800DF538 C6A40000 */ lwc1 $f4, ($s5) +/* 0789EC 800DF53C 4602E682 */ mul.s $f26, $f28, $f2 +/* 0789F0 800DF540 00000000 */ nop +/* 0789F4 800DF544 AFA2001C */ sw $v0, 0x1c($sp) +/* 0789F8 800DF548 27A20044 */ addiu $v0, $sp, 0x44 +/* 0789FC 800DF54C AFA20020 */ sw $v0, 0x20($sp) +/* 078A00 800DF550 27A20048 */ addiu $v0, $sp, 0x48 +/* 078A04 800DF554 AFA20024 */ sw $v0, 0x24($sp) +/* 078A08 800DF558 27A2004C */ addiu $v0, $sp, 0x4c +/* 078A0C 800DF55C AFA20028 */ sw $v0, 0x28($sp) +/* 078A10 800DF560 27A20050 */ addiu $v0, $sp, 0x50 +/* 078A14 800DF564 AFA2002C */ sw $v0, 0x2c($sp) +/* 078A18 800DF568 27A20054 */ addiu $v0, $sp, 0x54 +/* 078A1C 800DF56C AFA20030 */ sw $v0, 0x30($sp) +/* 078A20 800DF570 27A20058 */ addiu $v0, $sp, 0x58 +/* 078A24 800DF574 E7A20010 */ swc1 $f2, 0x10($sp) +/* 078A28 800DF578 AFA00014 */ sw $zero, 0x14($sp) +/* 078A2C 800DF57C E7A00018 */ swc1 $f0, 0x18($sp) +/* 078A30 800DF580 AFA20034 */ sw $v0, 0x34($sp) +/* 078A34 800DF584 46142100 */ add.s $f4, $f4, $f20 +/* 078A38 800DF588 8E250000 */ lw $a1, ($s1) +/* 078A3C 800DF58C 8E470000 */ lw $a3, ($s2) +/* 078A40 800DF590 44062000 */ mfc1 $a2, $f4 +/* 078A44 800DF594 4600E602 */ mul.s $f24, $f28, $f0 +/* 078A48 800DF598 00000000 */ nop +/* 078A4C 800DF59C 0C037B97 */ jal func_800DEE5C +/* 078A50 800DF5A0 0000202D */ daddu $a0, $zero, $zero +/* 078A54 800DF5A4 0040802D */ daddu $s0, $v0, $zero +/* 078A58 800DF5A8 06000008 */ bltz $s0, .L800DF5CC +/* 078A5C 800DF5AC 00000000 */ nop +/* 078A60 800DF5B0 C7A4004C */ lwc1 $f4, 0x4c($sp) +/* 078A64 800DF5B4 4616203E */ c.le.s $f4, $f22 +/* 078A68 800DF5B8 00000000 */ nop +/* 078A6C 800DF5BC 45000003 */ bc1f .L800DF5CC +/* 078A70 800DF5C0 27A4005C */ addiu $a0, $sp, 0x5c +/* 078A74 800DF5C4 08037DA1 */ j .L800DF684 +/* 078A78 800DF5C8 46162101 */ sub.s $f4, $f4, $f22 + +.L800DF5CC: +/* 078A7C 800DF5CC 868300B0 */ lh $v1, 0xb0($s4) +/* 078A80 800DF5D0 C6A60000 */ lwc1 $f6, ($s5) +/* 078A84 800DF5D4 C7A00038 */ lwc1 $f0, 0x38($sp) +/* 078A88 800DF5D8 AFA00014 */ sw $zero, 0x14($sp) +/* 078A8C 800DF5DC E7A00010 */ swc1 $f0, 0x10($sp) +/* 078A90 800DF5E0 C7A4003C */ lwc1 $f4, 0x3c($sp) +/* 078A94 800DF5E4 27A20040 */ addiu $v0, $sp, 0x40 +/* 078A98 800DF5E8 AFA2001C */ sw $v0, 0x1c($sp) +/* 078A9C 800DF5EC 27A20044 */ addiu $v0, $sp, 0x44 +/* 078AA0 800DF5F0 AFA20020 */ sw $v0, 0x20($sp) +/* 078AA4 800DF5F4 27A20048 */ addiu $v0, $sp, 0x48 +/* 078AA8 800DF5F8 AFA20024 */ sw $v0, 0x24($sp) +/* 078AAC 800DF5FC 27A2004C */ addiu $v0, $sp, 0x4c +/* 078AB0 800DF600 3C013FE8 */ lui $at, 0x3fe8 +/* 078AB4 800DF604 44810800 */ mtc1 $at, $f1 +/* 078AB8 800DF608 44800000 */ mtc1 $zero, $f0 +/* 078ABC 800DF60C 44831000 */ mtc1 $v1, $f2 +/* 078AC0 800DF610 00000000 */ nop +/* 078AC4 800DF614 468010A1 */ cvt.d.w $f2, $f2 +/* 078AC8 800DF618 AFA20028 */ sw $v0, 0x28($sp) +/* 078ACC 800DF61C 46201082 */ mul.d $f2, $f2, $f0 +/* 078AD0 800DF620 00000000 */ nop +/* 078AD4 800DF624 27A20050 */ addiu $v0, $sp, 0x50 +/* 078AD8 800DF628 AFA2002C */ sw $v0, 0x2c($sp) +/* 078ADC 800DF62C 27A20054 */ addiu $v0, $sp, 0x54 +/* 078AE0 800DF630 AFA20030 */ sw $v0, 0x30($sp) +/* 078AE4 800DF634 27A20058 */ addiu $v0, $sp, 0x58 +/* 078AE8 800DF638 AFA20034 */ sw $v0, 0x34($sp) +/* 078AEC 800DF63C E7A40018 */ swc1 $f4, 0x18($sp) +/* 078AF0 800DF640 46201520 */ cvt.s.d $f20, $f2 +/* 078AF4 800DF644 46143180 */ add.s $f6, $f6, $f20 +/* 078AF8 800DF648 8E250000 */ lw $a1, ($s1) +/* 078AFC 800DF64C 8E470000 */ lw $a3, ($s2) +/* 078B00 800DF650 44063000 */ mfc1 $a2, $f6 +/* 078B04 800DF654 0C037B97 */ jal func_800DEE5C +/* 078B08 800DF658 0000202D */ daddu $a0, $zero, $zero +/* 078B0C 800DF65C 0040802D */ daddu $s0, $v0, $zero +/* 078B10 800DF660 06000021 */ bltz $s0, .L800DF6E8 +/* 078B14 800DF664 00000000 */ nop +/* 078B18 800DF668 461EE000 */ add.s $f0, $f28, $f30 +/* 078B1C 800DF66C C7A4004C */ lwc1 $f4, 0x4c($sp) +/* 078B20 800DF670 4600203E */ c.le.s $f4, $f0 +/* 078B24 800DF674 00000000 */ nop +/* 078B28 800DF678 4500001B */ bc1f .L800DF6E8 +/* 078B2C 800DF67C 27A4005C */ addiu $a0, $sp, 0x5c +/* 078B30 800DF680 46002101 */ sub.s $f4, $f4, $f0 +.L800DF684: +/* 078B34 800DF684 4406D000 */ mfc1 $a2, $f26 +/* 078B38 800DF688 C7A00038 */ lwc1 $f0, 0x38($sp) +/* 078B3C 800DF68C 4407C000 */ mfc1 $a3, $f24 +/* 078B40 800DF690 C7A2003C */ lwc1 $f2, 0x3c($sp) +/* 078B44 800DF694 46002582 */ mul.s $f22, $f4, $f0 +/* 078B48 800DF698 00000000 */ nop +/* 078B4C 800DF69C C7A00050 */ lwc1 $f0, 0x50($sp) +/* 078B50 800DF6A0 27A50060 */ addiu $a1, $sp, 0x60 +/* 078B54 800DF6A4 E7A00010 */ swc1 $f0, 0x10($sp) +/* 078B58 800DF6A8 C7A00058 */ lwc1 $f0, 0x58($sp) +/* 078B5C 800DF6AC 46022502 */ mul.s $f20, $f4, $f2 +/* 078B60 800DF6B0 00000000 */ nop +/* 078B64 800DF6B4 0C037CFF */ jal func_800DF3FC +/* 078B68 800DF6B8 E7A00014 */ swc1 $f0, 0x14($sp) +/* 078B6C 800DF6BC C7A2005C */ lwc1 $f2, 0x5c($sp) +/* 078B70 800DF6C0 4602B080 */ add.s $f2, $f22, $f2 +/* 078B74 800DF6C4 C6200000 */ lwc1 $f0, ($s1) +/* 078B78 800DF6C8 46020000 */ add.s $f0, $f0, $f2 +/* 078B7C 800DF6CC E6200000 */ swc1 $f0, ($s1) +/* 078B80 800DF6D0 C7A00060 */ lwc1 $f0, 0x60($sp) +/* 078B84 800DF6D4 4600A000 */ add.s $f0, $f20, $f0 +/* 078B88 800DF6D8 C6420000 */ lwc1 $f2, ($s2) +/* 078B8C 800DF6DC 46001080 */ add.s $f2, $f2, $f0 +/* 078B90 800DF6E0 0200982D */ daddu $s3, $s0, $zero +/* 078B94 800DF6E4 E6420000 */ swc1 $f2, ($s2) +.L800DF6E8: +/* 078B98 800DF6E8 C6200000 */ lwc1 $f0, ($s1) +/* 078B9C 800DF6EC 461A0000 */ add.s $f0, $f0, $f26 +/* 078BA0 800DF6F0 E6200000 */ swc1 $f0, ($s1) +/* 078BA4 800DF6F4 C6400000 */ lwc1 $f0, ($s2) +/* 078BA8 800DF6F8 46180000 */ add.s $f0, $f0, $f24 +/* 078BAC 800DF6FC 0260102D */ daddu $v0, $s3, $zero +/* 078BB0 800DF700 E6400000 */ swc1 $f0, ($s2) +/* 078BB4 800DF704 8FBF0080 */ lw $ra, 0x80($sp) +/* 078BB8 800DF708 8FB5007C */ lw $s5, 0x7c($sp) +/* 078BBC 800DF70C 8FB40078 */ lw $s4, 0x78($sp) +/* 078BC0 800DF710 8FB30074 */ lw $s3, 0x74($sp) +/* 078BC4 800DF714 8FB20070 */ lw $s2, 0x70($sp) +/* 078BC8 800DF718 8FB1006C */ lw $s1, 0x6c($sp) +/* 078BCC 800DF71C 8FB00068 */ lw $s0, 0x68($sp) +/* 078BD0 800DF720 D7BE00B0 */ ldc1 $f30, 0xb0($sp) +/* 078BD4 800DF724 D7BC00A8 */ ldc1 $f28, 0xa8($sp) +/* 078BD8 800DF728 D7BA00A0 */ ldc1 $f26, 0xa0($sp) +/* 078BDC 800DF72C D7B80098 */ ldc1 $f24, 0x98($sp) +/* 078BE0 800DF730 D7B60090 */ ldc1 $f22, 0x90($sp) +/* 078BE4 800DF734 D7B40088 */ ldc1 $f20, 0x88($sp) +/* 078BE8 800DF738 03E00008 */ jr $ra +/* 078BEC 800DF73C 27BD00B8 */ addiu $sp, $sp, 0xb8 + +func_800DF740: +/* 078BF0 800DF740 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 078BF4 800DF744 AFBF0018 */ sw $ra, 0x18($sp) +/* 078BF8 800DF748 AFB10014 */ sw $s1, 0x14($sp) +/* 078BFC 800DF74C 0C0382CE */ jal func_800E0B38 +/* 078C00 800DF750 AFB00010 */ sw $s0, 0x10($sp) +/* 078C04 800DF754 3C108011 */ lui $s0, 0x8011 +/* 078C08 800DF758 2610EFC8 */ addiu $s0, $s0, -0x1038 +/* 078C0C 800DF75C 860200C0 */ lh $v0, 0xc0($s0) +/* 078C10 800DF760 3C118016 */ lui $s1, 0x8016 +/* 078C14 800DF764 2631A550 */ addiu $s1, $s1, -0x5ab0 +/* 078C18 800DF768 28420065 */ slti $v0, $v0, 0x65 +/* 078C1C 800DF76C 10400009 */ beqz $v0, .L800DF794 +/* 078C20 800DF770 00000000 */ nop +/* 078C24 800DF774 C602002C */ lwc1 $f2, 0x2c($s0) +/* 078C28 800DF778 3C01C4FA */ lui $at, 0xc4fa +/* 078C2C 800DF77C 44810000 */ mtc1 $at, $f0 +/* 078C30 800DF780 00000000 */ nop +/* 078C34 800DF784 4600103C */ c.lt.s $f2, $f0 +/* 078C38 800DF788 00000000 */ nop +/* 078C3C 800DF78C 45000039 */ bc1f .L800DF874 +/* 078C40 800DF790 2402FFFF */ addiu $v0, $zero, -1 +.L800DF794: +/* 078C44 800DF794 8E040004 */ lw $a0, 4($s0) +/* 078C48 800DF798 3C021000 */ lui $v0, 0x1000 +/* 078C4C 800DF79C 00821024 */ and $v0, $a0, $v0 +/* 078C50 800DF7A0 14400034 */ bnez $v0, .L800DF874 +/* 078C54 800DF7A4 2402FFFF */ addiu $v0, $zero, -1 +/* 078C58 800DF7A8 86020016 */ lh $v0, 0x16($s0) +/* 078C5C 800DF7AC 8603001A */ lh $v1, 0x1a($s0) +/* 078C60 800DF7B0 44820000 */ mtc1 $v0, $f0 +/* 078C64 800DF7B4 00000000 */ nop +/* 078C68 800DF7B8 46800020 */ cvt.s.w $f0, $f0 +/* 078C6C 800DF7BC 86020018 */ lh $v0, 0x18($s0) +/* 078C70 800DF7C0 A60000C0 */ sh $zero, 0xc0($s0) +/* 078C74 800DF7C4 E6000028 */ swc1 $f0, 0x28($s0) +/* 078C78 800DF7C8 44820000 */ mtc1 $v0, $f0 +/* 078C7C 800DF7CC 00000000 */ nop +/* 078C80 800DF7D0 46800020 */ cvt.s.w $f0, $f0 +/* 078C84 800DF7D4 E600002C */ swc1 $f0, 0x2c($s0) +/* 078C88 800DF7D8 44830000 */ mtc1 $v1, $f0 +/* 078C8C 800DF7DC 00000000 */ nop +/* 078C90 800DF7E0 46800020 */ cvt.s.w $f0, $f0 +/* 078C94 800DF7E4 3C020040 */ lui $v0, 0x40 +/* 078C98 800DF7E8 00821024 */ and $v0, $a0, $v0 +/* 078C9C 800DF7EC 1040001E */ beqz $v0, .L800DF868 +/* 078CA0 800DF7F0 E6000030 */ swc1 $f0, 0x30($s0) +/* 078CA4 800DF7F4 3C022000 */ lui $v0, 0x2000 +/* 078CA8 800DF7F8 34420004 */ ori $v0, $v0, 4 +/* 078CAC 800DF7FC 00821025 */ or $v0, $a0, $v0 +/* 078CB0 800DF800 2404FFFC */ addiu $a0, $zero, -4 +/* 078CB4 800DF804 0C00EABB */ jal get_npc_unsafe +/* 078CB8 800DF808 AE020004 */ sw $v0, 4($s0) +/* 078CBC 800DF80C 86030016 */ lh $v1, 0x16($s0) +/* 078CC0 800DF810 44830000 */ mtc1 $v1, $f0 +/* 078CC4 800DF814 00000000 */ nop +/* 078CC8 800DF818 46800020 */ cvt.s.w $f0, $f0 +/* 078CCC 800DF81C E4400038 */ swc1 $f0, 0x38($v0) +/* 078CD0 800DF820 86030018 */ lh $v1, 0x18($s0) +/* 078CD4 800DF824 860400B0 */ lh $a0, 0xb0($s0) +/* 078CD8 800DF828 00641821 */ addu $v1, $v1, $a0 +/* 078CDC 800DF82C 44830000 */ mtc1 $v1, $f0 +/* 078CE0 800DF830 00000000 */ nop +/* 078CE4 800DF834 46800020 */ cvt.s.w $f0, $f0 +/* 078CE8 800DF838 E440003C */ swc1 $f0, 0x3c($v0) +/* 078CEC 800DF83C 8603001A */ lh $v1, 0x1a($s0) +/* 078CF0 800DF840 44830000 */ mtc1 $v1, $f0 +/* 078CF4 800DF844 00000000 */ nop +/* 078CF8 800DF848 46800020 */ cvt.s.w $f0, $f0 +/* 078CFC 800DF84C E4400040 */ swc1 $f0, 0x40($v0) +/* 078D00 800DF850 86030018 */ lh $v1, 0x18($s0) +/* 078D04 800DF854 44830000 */ mtc1 $v1, $f0 +/* 078D08 800DF858 00000000 */ nop +/* 078D0C 800DF85C 46800020 */ cvt.s.w $f0, $f0 +/* 078D10 800DF860 08037E1C */ j .L800DF870 +/* 078D14 800DF864 E4400064 */ swc1 $f0, 0x64($v0) + +.L800DF868: +/* 078D18 800DF868 2402000A */ addiu $v0, $zero, 0xa +/* 078D1C 800DF86C A60200C0 */ sh $v0, 0xc0($s0) +.L800DF870: +/* 078D20 800DF870 2402FFFF */ addiu $v0, $zero, -1 +.L800DF874: +/* 078D24 800DF874 A6220012 */ sh $v0, 0x12($s1) +/* 078D28 800DF878 A6220014 */ sh $v0, 0x14($s1) +/* 078D2C 800DF87C A622000A */ sh $v0, 0xa($s1) +/* 078D30 800DF880 24020001 */ addiu $v0, $zero, 1 +/* 078D34 800DF884 0C0387E4 */ jal func_800E1F90 +/* 078D38 800DF888 A6220006 */ sh $v0, 6($s1) +/* 078D3C 800DF88C 8E020000 */ lw $v0, ($s0) +/* 078D40 800DF890 2403FBFF */ addiu $v1, $zero, -0x401 +/* 078D44 800DF894 00431024 */ and $v0, $v0, $v1 +/* 078D48 800DF898 0C037FF3 */ jal func_800DFFCC +/* 078D4C 800DF89C AE020000 */ sw $v0, ($s0) +/* 078D50 800DF8A0 8E020000 */ lw $v0, ($s0) +/* 078D54 800DF8A4 30421000 */ andi $v0, $v0, 0x1000 +/* 078D58 800DF8A8 1040000B */ beqz $v0, .L800DF8D8 +/* 078D5C 800DF8AC 24020017 */ addiu $v0, $zero, 0x17 +/* 078D60 800DF8B0 0C03968B */ jal func_800E5A2C +/* 078D64 800DF8B4 00000000 */ nop +/* 078D68 800DF8B8 0C038082 */ jal func_800E0208 +/* 078D6C 800DF8BC 00000000 */ nop +/* 078D70 800DF8C0 1440000E */ bnez $v0, .L800DF8FC +/* 078D74 800DF8C4 00000000 */ nop +/* 078D78 800DF8C8 0C038D8F */ jal func_800E363C +/* 078D7C 800DF8CC 00000000 */ nop +/* 078D80 800DF8D0 08037E3F */ j .L800DF8FC +/* 078D84 800DF8D4 00000000 */ nop + +.L800DF8D8: +/* 078D88 800DF8D8 820300B4 */ lb $v1, 0xb4($s0) +/* 078D8C 800DF8DC 10620005 */ beq $v1, $v0, .L800DF8F4 +/* 078D90 800DF8E0 00000000 */ nop +/* 078D94 800DF8E4 0C037EAB */ jal func_800DFAAC +/* 078D98 800DF8E8 00000000 */ nop +/* 078D9C 800DF8EC 08037E3F */ j .L800DF8FC +/* 078DA0 800DF8F0 00000000 */ nop + +.L800DF8F4: +/* 078DA4 800DF8F4 0C037EFA */ jal func_800DFBE8 +/* 078DA8 800DF8F8 00000000 */ nop +.L800DF8FC: +/* 078DAC 800DF8FC 8E020000 */ lw $v0, ($s0) +/* 078DB0 800DF900 30424000 */ andi $v0, $v0, 0x4000 +/* 078DB4 800DF904 1040000B */ beqz $v0, .L800DF934 +/* 078DB8 800DF908 00000000 */ nop +/* 078DBC 800DF90C 96020012 */ lhu $v0, 0x12($s0) +/* 078DC0 800DF910 2442FFFF */ addiu $v0, $v0, -1 +/* 078DC4 800DF914 A6020012 */ sh $v0, 0x12($s0) +/* 078DC8 800DF918 00021400 */ sll $v0, $v0, 0x10 +/* 078DCC 800DF91C 1C400005 */ bgtz $v0, .L800DF934 +/* 078DD0 800DF920 2403BFFF */ addiu $v1, $zero, -0x4001 +/* 078DD4 800DF924 8E020000 */ lw $v0, ($s0) +/* 078DD8 800DF928 A6000012 */ sh $zero, 0x12($s0) +/* 078DDC 800DF92C 00431024 */ and $v0, $v0, $v1 +/* 078DE0 800DF930 AE020000 */ sw $v0, ($s0) +.L800DF934: +/* 078DE4 800DF934 8E020004 */ lw $v0, 4($s0) +/* 078DE8 800DF938 30421000 */ andi $v0, $v0, 0x1000 +/* 078DEC 800DF93C 14400003 */ bnez $v0, .L800DF94C +/* 078DF0 800DF940 00000000 */ nop +/* 078DF4 800DF944 0C03BF42 */ jal func_800EFD08 +/* 078DF8 800DF948 00000000 */ nop +.L800DF94C: +/* 078DFC 800DF94C 0C0382E4 */ jal func_800E0B90 +/* 078E00 800DF950 00000000 */ nop +/* 078E04 800DF954 3C028007 */ lui $v0, 0x8007 +/* 078E08 800DF958 8C42419C */ lw $v0, 0x419c($v0) +/* 078E0C 800DF95C C6000028 */ lwc1 $f0, 0x28($s0) +/* 078E10 800DF960 E4400098 */ swc1 $f0, 0x98($v0) +/* 078E14 800DF964 C600002C */ lwc1 $f0, 0x2c($s0) +/* 078E18 800DF968 E440009C */ swc1 $f0, 0x9c($v0) +/* 078E1C 800DF96C C6000030 */ lwc1 $f0, 0x30($s0) +/* 078E20 800DF970 E44000A0 */ swc1 $f0, 0xa0($v0) +/* 078E24 800DF974 C6000084 */ lwc1 $f0, 0x84($s0) +/* 078E28 800DF978 0C039B39 */ jal func_800E6CE4 +/* 078E2C 800DF97C E44000A4 */ swc1 $f0, 0xa4($v0) +/* 078E30 800DF980 8E020004 */ lw $v0, 4($s0) +/* 078E34 800DF984 30421000 */ andi $v0, $v0, 0x1000 +/* 078E38 800DF988 14400003 */ bnez $v0, .L800DF998 +/* 078E3C 800DF98C 00000000 */ nop +/* 078E40 800DF990 0C039CA3 */ jal check_input_status_menu +/* 078E44 800DF994 00000000 */ nop +.L800DF998: +/* 078E48 800DF998 0C0386F1 */ jal update_below_player +/* 078E4C 800DF99C 00000000 */ nop +/* 078E50 800DF9A0 0C038206 */ jal func_800E0818 +/* 078E54 800DF9A4 00000000 */ nop +/* 078E58 800DF9A8 0C038160 */ jal func_800E0580 +/* 078E5C 800DF9AC 00000000 */ nop +/* 078E60 800DF9B0 0C0380E6 */ jal func_800E0398 +/* 078E64 800DF9B4 00000000 */ nop +/* 078E68 800DF9B8 0C0380A5 */ jal func_800E0294 +/* 078E6C 800DF9BC 00000000 */ nop +/* 078E70 800DF9C0 8E020000 */ lw $v0, ($s0) +/* 078E74 800DF9C4 2403FFEF */ addiu $v1, $zero, -0x11 +/* 078E78 800DF9C8 AE00001C */ sw $zero, 0x1c($s0) +/* 078E7C 800DF9CC AE000020 */ sw $zero, 0x20($s0) +/* 078E80 800DF9D0 AE000024 */ sw $zero, 0x24($s0) +/* 078E84 800DF9D4 00431024 */ and $v0, $v0, $v1 +/* 078E88 800DF9D8 AE020000 */ sw $v0, ($s0) +/* 078E8C 800DF9DC 8E020004 */ lw $v0, 4($s0) +/* 078E90 800DF9E0 2403FFF7 */ addiu $v1, $zero, -9 +/* 078E94 800DF9E4 00431024 */ and $v0, $v0, $v1 +/* 078E98 800DF9E8 AE020004 */ sw $v0, 4($s0) +/* 078E9C 800DF9EC 8FBF0018 */ lw $ra, 0x18($sp) +/* 078EA0 800DF9F0 8FB10014 */ lw $s1, 0x14($sp) +/* 078EA4 800DF9F4 8FB00010 */ lw $s0, 0x10($sp) +/* 078EA8 800DF9F8 03E00008 */ jr $ra +/* 078EAC 800DF9FC 27BD0020 */ addiu $sp, $sp, 0x20 + +check_input_use_partner: +/* 078EB0 800DFA00 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 078EB4 800DFA04 3C038011 */ lui $v1, 0x8011 +/* 078EB8 800DFA08 2463EFC8 */ addiu $v1, $v1, -0x1038 +/* 078EBC 800DFA0C AFBF0010 */ sw $ra, 0x10($sp) +/* 078EC0 800DFA10 8C640004 */ lw $a0, 4($v1) +/* 078EC4 800DFA14 806600B4 */ lb $a2, 0xb4($v1) +/* 078EC8 800DFA18 30824000 */ andi $v0, $a0, 0x4000 +/* 078ECC 800DFA1C 14400020 */ bnez $v0, .L800DFAA0 +/* 078ED0 800DFA20 0060282D */ daddu $a1, $v1, $zero +/* 078ED4 800DFA24 30820008 */ andi $v0, $a0, 8 +/* 078ED8 800DFA28 14400004 */ bnez $v0, .L800DFA3C +/* 078EDC 800DFA2C 00000000 */ nop +/* 078EE0 800DFA30 80620015 */ lb $v0, 0x15($v1) +/* 078EE4 800DFA34 1440001A */ bnez $v0, .L800DFAA0 +/* 078EE8 800DFA38 00000000 */ nop +.L800DFA3C: +/* 078EEC 800DFA3C 8CA300E0 */ lw $v1, 0xe0($a1) +/* 078EF0 800DFA40 30620004 */ andi $v0, $v1, 4 +/* 078EF4 800DFA44 10400016 */ beqz $v0, .L800DFAA0 +/* 078EF8 800DFA48 00000000 */ nop +/* 078EFC 800DFA4C 8CA20000 */ lw $v0, ($a1) +/* 078F00 800DFA50 30420080 */ andi $v0, $v0, 0x80 +/* 078F04 800DFA54 14400012 */ bnez $v0, .L800DFAA0 +/* 078F08 800DFA58 30624000 */ andi $v0, $v1, 0x4000 +/* 078F0C 800DFA5C 14400010 */ bnez $v0, .L800DFAA0 +/* 078F10 800DFA60 30821000 */ andi $v0, $a0, 0x1000 +/* 078F14 800DFA64 1440000E */ bnez $v0, .L800DFAA0 +/* 078F18 800DFA68 2CC20003 */ sltiu $v0, $a2, 3 +/* 078F1C 800DFA6C 1040000C */ beqz $v0, .L800DFAA0 +/* 078F20 800DFA70 00000000 */ nop +/* 078F24 800DFA74 3C028011 */ lui $v0, 0x8011 +/* 078F28 800DFA78 2442F290 */ addiu $v0, $v0, -0xd70 +/* 078F2C 800DFA7C 80430012 */ lb $v1, 0x12($v0) +/* 078F30 800DFA80 24020001 */ addiu $v0, $zero, 1 +/* 078F34 800DFA84 14620004 */ bne $v1, $v0, .L800DFA98 +/* 078F38 800DFA88 00000000 */ nop +/* 078F3C 800DFA8C 84A200C6 */ lh $v0, 0xc6($a1) +/* 078F40 800DFA90 3C01802C */ lui $at, 0x802c +/* 078F44 800DFA94 AC22DF60 */ sw $v0, -0x20a0($at) +.L800DFA98: +/* 078F48 800DFA98 0C03ACC5 */ jal use_partner_ability +/* 078F4C 800DFA9C 00000000 */ nop +.L800DFAA0: +/* 078F50 800DFAA0 8FBF0010 */ lw $ra, 0x10($sp) +/* 078F54 800DFAA4 03E00008 */ jr $ra +/* 078F58 800DFAA8 27BD0018 */ addiu $sp, $sp, 0x18 + +func_800DFAAC: +/* 078F5C 800DFAAC 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 078F60 800DFAB0 AFBF0014 */ sw $ra, 0x14($sp) +/* 078F64 800DFAB4 0C037E80 */ jal check_input_use_partner +/* 078F68 800DFAB8 AFB00010 */ sw $s0, 0x10($sp) +/* 078F6C 800DFABC 0C03968B */ jal func_800E5A2C +/* 078F70 800DFAC0 00000000 */ nop +/* 078F74 800DFAC4 3C108011 */ lui $s0, 0x8011 +/* 078F78 800DFAC8 2610EFC8 */ addiu $s0, $s0, -0x1038 +/* 078F7C 800DFACC 8E030000 */ lw $v1, ($s0) +/* 078F80 800DFAD0 30620008 */ andi $v0, $v1, 8 +/* 078F84 800DFAD4 14400008 */ bnez $v0, .L800DFAF8 +/* 078F88 800DFAD8 30620004 */ andi $v0, $v1, 4 +/* 078F8C 800DFADC 30620002 */ andi $v0, $v1, 2 +/* 078F90 800DFAE0 10400005 */ beqz $v0, .L800DFAF8 +/* 078F94 800DFAE4 30620004 */ andi $v0, $v1, 4 +/* 078F98 800DFAE8 0C038B46 */ jal func_800E2D18 +/* 078F9C 800DFAEC 00000000 */ nop +/* 078FA0 800DFAF0 8E030000 */ lw $v1, ($s0) +/* 078FA4 800DFAF4 30620004 */ andi $v0, $v1, 4 +.L800DFAF8: +/* 078FA8 800DFAF8 10400005 */ beqz $v0, .L800DFB10 +/* 078FAC 800DFAFC 30620008 */ andi $v0, $v1, 8 +/* 078FB0 800DFB00 14400003 */ bnez $v0, .L800DFB10 +/* 078FB4 800DFB04 00000000 */ nop +/* 078FB8 800DFB08 0C038C40 */ jal func_800E3100 +/* 078FBC 800DFB0C 00000000 */ nop +.L800DFB10: +/* 078FC0 800DFB10 0C0393F3 */ jal check_input_midair_jump +/* 078FC4 800DFB14 00000000 */ nop +/* 078FC8 800DFB18 820300B4 */ lb $v1, 0xb4($s0) +/* 078FCC 800DFB1C 24020011 */ addiu $v0, $zero, 0x11 +/* 078FD0 800DFB20 1062001A */ beq $v1, $v0, .L800DFB8C +/* 078FD4 800DFB24 00000000 */ nop +/* 078FD8 800DFB28 0C038D8F */ jal func_800E363C +/* 078FDC 800DFB2C 00000000 */ nop +/* 078FE0 800DFB30 0C039142 */ jal func_800E4508 +/* 078FE4 800DFB34 00000000 */ nop +/* 078FE8 800DFB38 0C0389F8 */ jal func_800E27E0 +/* 078FEC 800DFB3C 00000000 */ nop +/* 078FF0 800DFB40 0441000A */ bgez $v0, .L800DFB6C +/* 078FF4 800DFB44 00000000 */ nop +/* 078FF8 800DFB48 860200C0 */ lh $v0, 0xc0($s0) +/* 078FFC 800DFB4C 14400007 */ bnez $v0, .L800DFB6C +/* 079000 800DFB50 00000000 */ nop +/* 079004 800DFB54 8E020004 */ lw $v0, 4($s0) +/* 079008 800DFB58 30421000 */ andi $v0, $v0, 0x1000 +/* 07900C 800DFB5C 10400003 */ beqz $v0, .L800DFB6C +/* 079010 800DFB60 00000000 */ nop +/* 079014 800DFB64 0C0393C4 */ jal func_800E4F10 +/* 079018 800DFB68 00000000 */ nop +.L800DFB6C: +/* 07901C 800DFB6C 820300B4 */ lb $v1, 0xb4($s0) +/* 079020 800DFB70 2402001B */ addiu $v0, $zero, 0x1b +/* 079024 800DFB74 10620005 */ beq $v1, $v0, .L800DFB8C +/* 079028 800DFB78 24020022 */ addiu $v0, $zero, 0x22 +/* 07902C 800DFB7C 10620003 */ beq $v1, $v0, .L800DFB8C +/* 079030 800DFB80 00000000 */ nop +/* 079034 800DFB84 0C0391D1 */ jal func_800E4744 +/* 079038 800DFB88 00000000 */ nop +.L800DFB8C: +/* 07903C 800DFB8C 8E020004 */ lw $v0, 4($s0) +/* 079040 800DFB90 30420002 */ andi $v0, $v0, 2 +/* 079044 800DFB94 10400003 */ beqz $v0, .L800DFBA4 +/* 079048 800DFB98 00000000 */ nop +/* 07904C 800DFB9C 0C0AF81C */ jal func_802BE070 +/* 079050 800DFBA0 00000000 */ nop +.L800DFBA4: +/* 079054 800DFBA4 8E020000 */ lw $v0, ($s0) +/* 079058 800DFBA8 3C030400 */ lui $v1, 0x400 +/* 07905C 800DFBAC 00431024 */ and $v0, $v0, $v1 +/* 079060 800DFBB0 14400009 */ bnez $v0, .L800DFBD8 +/* 079064 800DFBB4 00000000 */ nop +/* 079068 800DFBB8 C6000028 */ lwc1 $f0, 0x28($s0) +/* 07906C 800DFBBC C602002C */ lwc1 $f2, 0x2c($s0) +/* 079070 800DFBC0 C6040030 */ lwc1 $f4, 0x30($s0) +/* 079074 800DFBC4 3C02800B */ lui $v0, 0x800b +/* 079078 800DFBC8 24421D80 */ addiu $v0, $v0, 0x1d80 +/* 07907C 800DFBCC E4400060 */ swc1 $f0, 0x60($v0) +/* 079080 800DFBD0 E4420064 */ swc1 $f2, 0x64($v0) +/* 079084 800DFBD4 E4440068 */ swc1 $f4, 0x68($v0) +.L800DFBD8: +/* 079088 800DFBD8 8FBF0014 */ lw $ra, 0x14($sp) +/* 07908C 800DFBDC 8FB00010 */ lw $s0, 0x10($sp) +/* 079090 800DFBE0 03E00008 */ jr $ra +/* 079094 800DFBE4 27BD0018 */ addiu $sp, $sp, 0x18 + +func_800DFBE8: +/* 079098 800DFBE8 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 07909C 800DFBEC AFBF0010 */ sw $ra, 0x10($sp) +/* 0790A0 800DFBF0 0C03968B */ jal func_800E5A2C +/* 0790A4 800DFBF4 00000000 */ nop +/* 0790A8 800DFBF8 0C038D8F */ jal func_800E363C +/* 0790AC 800DFBFC 00000000 */ nop +/* 0790B0 800DFC00 0C0392EE */ jal func_800E4BB8 +/* 0790B4 800DFC04 00000000 */ nop +/* 0790B8 800DFC08 3C04800F */ lui $a0, 0x800f +/* 0790BC 800DFC0C 8C847B30 */ lw $a0, 0x7b30($a0) +/* 0790C0 800DFC10 8C820000 */ lw $v0, ($a0) +/* 0790C4 800DFC14 3C030400 */ lui $v1, 0x400 +/* 0790C8 800DFC18 00431024 */ and $v0, $v0, $v1 +/* 0790CC 800DFC1C 14400009 */ bnez $v0, .L800DFC44 +/* 0790D0 800DFC20 00000000 */ nop +/* 0790D4 800DFC24 C4800028 */ lwc1 $f0, 0x28($a0) +/* 0790D8 800DFC28 3C02800B */ lui $v0, 0x800b +/* 0790DC 800DFC2C 24421D80 */ addiu $v0, $v0, 0x1d80 +/* 0790E0 800DFC30 E4400060 */ swc1 $f0, 0x60($v0) +/* 0790E4 800DFC34 C480002C */ lwc1 $f0, 0x2c($a0) +/* 0790E8 800DFC38 E4400064 */ swc1 $f0, 0x64($v0) +/* 0790EC 800DFC3C C4800030 */ lwc1 $f0, 0x30($a0) +/* 0790F0 800DFC40 E4400068 */ swc1 $f0, 0x68($v0) +.L800DFC44: +/* 0790F4 800DFC44 8FBF0010 */ lw $ra, 0x10($sp) +/* 0790F8 800DFC48 03E00008 */ jr $ra +/* 0790FC 800DFC4C 27BD0018 */ addiu $sp, $sp, 0x18 + +clear_player_status: +/* 079100 800DFC50 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 079104 800DFC54 3C048011 */ lui $a0, 0x8011 +/* 079108 800DFC58 2484EFC8 */ addiu $a0, $a0, -0x1038 +/* 07910C 800DFC5C AFBF0010 */ sw $ra, 0x10($sp) +/* 079110 800DFC60 0C00A580 */ jal mem_clear +/* 079114 800DFC64 24050288 */ addiu $a1, $zero, 0x288 +/* 079118 800DFC68 8FBF0010 */ lw $ra, 0x10($sp) +/* 07911C 800DFC6C 03E00008 */ jr $ra +/* 079120 800DFC70 27BD0018 */ addiu $sp, $sp, 0x18 + +func_800DFC74: +/* 079124 800DFC74 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 079128 800DFC78 AFB00010 */ sw $s0, 0x10($sp) +/* 07912C 800DFC7C 3C108011 */ lui $s0, 0x8011 +/* 079130 800DFC80 2610EFC8 */ addiu $s0, $s0, -0x1038 +/* 079134 800DFC84 0200202D */ daddu $a0, $s0, $zero +/* 079138 800DFC88 AFBF0014 */ sw $ra, 0x14($sp) +/* 07913C 800DFC8C 0C00A580 */ jal mem_clear +/* 079140 800DFC90 24050288 */ addiu $a1, $zero, 0x288 +/* 079144 800DFC94 24020001 */ addiu $v0, $zero, 1 +/* 079148 800DFC98 0C038817 */ jal func_800E205C +/* 07914C 800DFC9C AE020000 */ sw $v0, ($s0) +/* 079150 800DFCA0 8E050028 */ lw $a1, 0x28($s0) +/* 079154 800DFCA4 8E06002C */ lw $a2, 0x2c($s0) +/* 079158 800DFCA8 8E070030 */ lw $a3, 0x30($s0) +/* 07915C 800DFCAC 0C044898 */ jal create_shadow_type +/* 079160 800DFCB0 0000202D */ daddu $a0, $zero, $zero +/* 079164 800DFCB4 0C039ADA */ jal func_800E6B68 +/* 079168 800DFCB8 AE0200CC */ sw $v0, 0xcc($s0) +/* 07916C 800DFCBC 0C0382C5 */ jal func_800E0B14 +/* 079170 800DFCC0 00000000 */ nop +/* 079174 800DFCC4 0C0381A7 */ jal func_800E069C +/* 079178 800DFCC8 00000000 */ nop +/* 07917C 800DFCCC 0C038145 */ jal func_800E0514 +/* 079180 800DFCD0 00000000 */ nop +/* 079184 800DFCD4 0C0380DD */ jal func_800E0374 +/* 079188 800DFCD8 00000000 */ nop +/* 07918C 800DFCDC 0C039548 */ jal func_800E5520 +/* 079190 800DFCE0 00000000 */ nop +/* 079194 800DFCE4 8FBF0014 */ lw $ra, 0x14($sp) +/* 079198 800DFCE8 8FB00010 */ lw $s0, 0x10($sp) +/* 07919C 800DFCEC 03E00008 */ jr $ra +/* 0791A0 800DFCF0 27BD0018 */ addiu $sp, $sp, 0x18 + +func_800DFCF4: +/* 0791A4 800DFCF4 3C048011 */ lui $a0, 0x8011 +/* 0791A8 800DFCF8 2484EBB0 */ addiu $a0, $a0, -0x1450 +/* 0791AC 800DFCFC 80830000 */ lb $v1, ($a0) +/* 0791B0 800DFD00 24020001 */ addiu $v0, $zero, 1 +/* 0791B4 800DFD04 1462000E */ bne $v1, $v0, .L800DFD40 +/* 0791B8 800DFD08 24020006 */ addiu $v0, $zero, 6 +/* 0791BC 800DFD0C 80830003 */ lb $v1, 3($a0) +/* 0791C0 800DFD10 10620009 */ beq $v1, $v0, .L800DFD38 +/* 0791C4 800DFD14 24020009 */ addiu $v0, $zero, 9 +/* 0791C8 800DFD18 10620007 */ beq $v1, $v0, .L800DFD38 +/* 0791CC 800DFD1C 24020007 */ addiu $v0, $zero, 7 +/* 0791D0 800DFD20 10620005 */ beq $v1, $v0, .L800DFD38 +/* 0791D4 800DFD24 24020004 */ addiu $v0, $zero, 4 +/* 0791D8 800DFD28 10620003 */ beq $v1, $v0, .L800DFD38 +/* 0791DC 800DFD2C 24020008 */ addiu $v0, $zero, 8 +/* 0791E0 800DFD30 14620003 */ bne $v1, $v0, .L800DFD40 +/* 0791E4 800DFD34 00000000 */ nop +.L800DFD38: +/* 0791E8 800DFD38 03E00008 */ jr $ra +/* 0791EC 800DFD3C 0000102D */ daddu $v0, $zero, $zero + +.L800DFD40: +/* 0791F0 800DFD40 03E00008 */ jr $ra +/* 0791F4 800DFD44 24020001 */ addiu $v0, $zero, 1 + +func_800DFD48: +/* 0791F8 800DFD48 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 0791FC 800DFD4C AFB00010 */ sw $s0, 0x10($sp) +/* 079200 800DFD50 0080802D */ daddu $s0, $a0, $zero +/* 079204 800DFD54 3C058011 */ lui $a1, 0x8011 +/* 079208 800DFD58 24A5EFC8 */ addiu $a1, $a1, -0x1038 +/* 07920C 800DFD5C 3C048011 */ lui $a0, 0x8011 +/* 079210 800DFD60 2484EBB0 */ addiu $a0, $a0, -0x1450 +/* 079214 800DFD64 AFBF0014 */ sw $ra, 0x14($sp) +/* 079218 800DFD68 80A300B4 */ lb $v1, 0xb4($a1) +/* 07921C 800DFD6C 2402001D */ addiu $v0, $zero, 0x1d +/* 079220 800DFD70 14620007 */ bne $v1, $v0, .L800DFD90 +/* 079224 800DFD74 3C020001 */ lui $v0, 1 +/* 079228 800DFD78 3442002B */ ori $v0, $v0, 0x2b +/* 07922C 800DFD7C 12020004 */ beq $s0, $v0, .L800DFD90 +/* 079230 800DFD80 3C020001 */ lui $v0, 1 +/* 079234 800DFD84 34420007 */ ori $v0, $v0, 7 +/* 079238 800DFD88 16020058 */ bne $s0, $v0, .L800DFEEC +/* 07923C 800DFD8C 2402FFFF */ addiu $v0, $zero, -1 +.L800DFD90: +/* 079240 800DFD90 80820000 */ lb $v0, ($a0) +/* 079244 800DFD94 10400017 */ beqz $v0, .L800DFDF4 +/* 079248 800DFD98 24020008 */ addiu $v0, $zero, 8 +/* 07924C 800DFD9C 80830003 */ lb $v1, 3($a0) +/* 079250 800DFDA0 14620006 */ bne $v1, $v0, .L800DFDBC +/* 079254 800DFDA4 3C020001 */ lui $v0, 1 +/* 079258 800DFDA8 34420002 */ ori $v0, $v0, 2 +/* 07925C 800DFDAC 16020003 */ bne $s0, $v0, .L800DFDBC +/* 079260 800DFDB0 00000000 */ nop +/* 079264 800DFDB4 3C100008 */ lui $s0, 8 +/* 079268 800DFDB8 3610000E */ ori $s0, $s0, 0xe +.L800DFDBC: +/* 07926C 800DFDBC 80820000 */ lb $v0, ($a0) +/* 079270 800DFDC0 1040000C */ beqz $v0, .L800DFDF4 +/* 079274 800DFDC4 24020009 */ addiu $v0, $zero, 9 +/* 079278 800DFDC8 80830003 */ lb $v1, 3($a0) +/* 07927C 800DFDCC 1462000A */ bne $v1, $v0, .L800DFDF8 +/* 079280 800DFDD0 3C020001 */ lui $v0, 1 +/* 079284 800DFDD4 34420014 */ ori $v0, $v0, 0x14 +/* 079288 800DFDD8 12020006 */ beq $s0, $v0, .L800DFDF4 +/* 07928C 800DFDDC 3C020001 */ lui $v0, 1 +/* 079290 800DFDE0 34420002 */ ori $v0, $v0, 2 +/* 079294 800DFDE4 12020004 */ beq $s0, $v0, .L800DFDF8 +/* 079298 800DFDE8 3C020001 */ lui $v0, 1 +.L800DFDEC: +/* 07929C 800DFDEC 08037FBB */ j .L800DFEEC +/* 0792A0 800DFDF0 2402FFFF */ addiu $v0, $zero, -1 + +.L800DFDF4: +/* 0792A4 800DFDF4 3C020001 */ lui $v0, 1 +.L800DFDF8: +/* 0792A8 800DFDF8 34420032 */ ori $v0, $v0, 0x32 +/* 0792AC 800DFDFC 16020005 */ bne $s0, $v0, .L800DFE14 +/* 0792B0 800DFE00 3C020006 */ lui $v0, 6 +/* 0792B4 800DFE04 80830000 */ lb $v1, ($a0) +/* 0792B8 800DFE08 24020001 */ addiu $v0, $zero, 1 +/* 0792BC 800DFE0C 1062FFF7 */ beq $v1, $v0, .L800DFDEC +/* 0792C0 800DFE10 3C020006 */ lui $v0, 6 +.L800DFE14: +/* 0792C4 800DFE14 3442000C */ ori $v0, $v0, 0xc +/* 0792C8 800DFE18 12020007 */ beq $s0, $v0, .L800DFE38 +/* 0792CC 800DFE1C 3C02000C */ lui $v0, 0xc +/* 0792D0 800DFE20 34420010 */ ori $v0, $v0, 0x10 +/* 0792D4 800DFE24 12020004 */ beq $s0, $v0, .L800DFE38 +/* 0792D8 800DFE28 3C020001 */ lui $v0, 1 +/* 0792DC 800DFE2C 34420002 */ ori $v0, $v0, 2 +/* 0792E0 800DFE30 1602001A */ bne $s0, $v0, .L800DFE9C +/* 0792E4 800DFE34 00000000 */ nop +.L800DFE38: +/* 0792E8 800DFE38 8CA30004 */ lw $v1, 4($a1) +/* 0792EC 800DFE3C 30621000 */ andi $v0, $v1, 0x1000 +/* 0792F0 800DFE40 14400007 */ bnez $v0, .L800DFE60 +/* 0792F4 800DFE44 30622000 */ andi $v0, $v1, 0x2000 +/* 0792F8 800DFE48 0C037F3D */ jal func_800DFCF4 +/* 0792FC 800DFE4C 00000000 */ nop +/* 079300 800DFE50 1440001E */ bnez $v0, .L800DFECC +/* 079304 800DFE54 3C020008 */ lui $v0, 8 +/* 079308 800DFE58 08037FBB */ j .L800DFEEC +/* 07930C 800DFE5C 2402FFFF */ addiu $v0, $zero, -1 + +.L800DFE60: +/* 079310 800DFE60 14400003 */ bnez $v0, .L800DFE70 +/* 079314 800DFE64 3C10000C */ lui $s0, 0xc +/* 079318 800DFE68 08037FB2 */ j .L800DFEC8 +/* 07931C 800DFE6C 36100010 */ ori $s0, $s0, 0x10 + +.L800DFE70: +/* 079320 800DFE70 80A3000C */ lb $v1, 0xc($a1) +/* 079324 800DFE74 00031040 */ sll $v0, $v1, 1 +/* 079328 800DFE78 00431021 */ addu $v0, $v0, $v1 +/* 07932C 800DFE7C 000210C0 */ sll $v0, $v0, 3 +/* 079330 800DFE80 3C04800F */ lui $a0, 0x800f +/* 079334 800DFE84 00822021 */ addu $a0, $a0, $v0 +/* 079338 800DFE88 8C847C30 */ lw $a0, 0x7c30($a0) +/* 07933C 800DFE8C 0C0398DB */ jal func_800E636C +/* 079340 800DFE90 00000000 */ nop +/* 079344 800DFE94 08037FBB */ j .L800DFEEC +/* 079348 800DFE98 2402FFFF */ addiu $v0, $zero, -1 + +.L800DFE9C: +/* 07934C 800DFE9C 8CA20004 */ lw $v0, 4($a1) +/* 079350 800DFEA0 30421000 */ andi $v0, $v0, 0x1000 +/* 079354 800DFEA4 10400009 */ beqz $v0, .L800DFECC +/* 079358 800DFEA8 3C020008 */ lui $v0, 8 +/* 07935C 800DFEAC 80A200C4 */ lb $v0, 0xc4($a1) +/* 079360 800DFEB0 10400005 */ beqz $v0, .L800DFEC8 +/* 079364 800DFEB4 3C02FFF4 */ lui $v0, 0xfff4 +/* 079368 800DFEB8 02021021 */ addu $v0, $s0, $v0 +/* 07936C 800DFEBC 2C420003 */ sltiu $v0, $v0, 3 +/* 079370 800DFEC0 54400001 */ bnezl $v0, .L800DFEC8 +/* 079374 800DFEC4 3C10000D */ lui $s0, 0xd +.L800DFEC8: +/* 079378 800DFEC8 3C020008 */ lui $v0, 8 +.L800DFECC: +/* 07937C 800DFECC 34420003 */ ori $v0, $v0, 3 +/* 079380 800DFED0 16020006 */ bne $s0, $v0, .L800DFEEC +/* 079384 800DFED4 0200102D */ daddu $v0, $s0, $zero +/* 079388 800DFED8 0000202D */ daddu $a0, $zero, $zero +/* 07938C 800DFEDC 0080282D */ daddu $a1, $a0, $zero +/* 079390 800DFEE0 0C0B2D5B */ jal exec_ShakeCam1 +/* 079394 800DFEE4 24060002 */ addiu $a2, $zero, 2 +/* 079398 800DFEE8 0200102D */ daddu $v0, $s0, $zero +.L800DFEEC: +/* 07939C 800DFEEC 8FBF0014 */ lw $ra, 0x14($sp) +/* 0793A0 800DFEF0 8FB00010 */ lw $s0, 0x10($sp) +/* 0793A4 800DFEF4 03E00008 */ jr $ra +/* 0793A8 800DFEF8 27BD0018 */ addiu $sp, $sp, 0x18 + +func_800DFEFC: +/* 0793AC 800DFEFC 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 0793B0 800DFF00 AFB00010 */ sw $s0, 0x10($sp) +/* 0793B4 800DFF04 3C108011 */ lui $s0, 0x8011 +/* 0793B8 800DFF08 2610EFC8 */ addiu $s0, $s0, -0x1038 +/* 0793BC 800DFF0C AFBF0014 */ sw $ra, 0x14($sp) +/* 0793C0 800DFF10 0C037F52 */ jal func_800DFD48 +/* 0793C4 800DFF14 00000000 */ nop +/* 0793C8 800DFF18 0040202D */ daddu $a0, $v0, $zero +/* 0793CC 800DFF1C 2402FFFF */ addiu $v0, $zero, -1 +/* 0793D0 800DFF20 10820007 */ beq $a0, $v0, .L800DFF40 +/* 0793D4 800DFF24 3C03EFFF */ lui $v1, 0xefff +/* 0793D8 800DFF28 8E020000 */ lw $v0, ($s0) +/* 0793DC 800DFF2C 3463FFFF */ ori $v1, $v1, 0xffff +/* 0793E0 800DFF30 AE0400B8 */ sw $a0, 0xb8($s0) +/* 0793E4 800DFF34 A60000BC */ sh $zero, 0xbc($s0) +/* 0793E8 800DFF38 00431024 */ and $v0, $v0, $v1 +/* 0793EC 800DFF3C AE020000 */ sw $v0, ($s0) +.L800DFF40: +/* 0793F0 800DFF40 8FBF0014 */ lw $ra, 0x14($sp) +/* 0793F4 800DFF44 8FB00010 */ lw $s0, 0x10($sp) +/* 0793F8 800DFF48 03E00008 */ jr $ra +/* 0793FC 800DFF4C 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 079400 800DFF50 3C02EFFF */ lui $v0, 0xefff +/* 079404 800DFF54 3C038011 */ lui $v1, 0x8011 +/* 079408 800DFF58 2463EFC8 */ addiu $v1, $v1, -0x1038 +/* 07940C 800DFF5C 8C650000 */ lw $a1, ($v1) +/* 079410 800DFF60 3442FFFF */ ori $v0, $v0, 0xffff +/* 079414 800DFF64 AC6400B8 */ sw $a0, 0xb8($v1) +/* 079418 800DFF68 A46000BC */ sh $zero, 0xbc($v1) +/* 07941C 800DFF6C 00A22824 */ and $a1, $a1, $v0 +/* 079420 800DFF70 03E00008 */ jr $ra +/* 079424 800DFF74 AC650000 */ sw $a1, ($v1) + +func_800DFF78: +/* 079428 800DFF78 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 07942C 800DFF7C AFB00010 */ sw $s0, 0x10($sp) +/* 079430 800DFF80 3C108011 */ lui $s0, 0x8011 +/* 079434 800DFF84 2610EFC8 */ addiu $s0, $s0, -0x1038 +/* 079438 800DFF88 AFBF0014 */ sw $ra, 0x14($sp) +/* 07943C 800DFF8C 0C037F52 */ jal func_800DFD48 +/* 079440 800DFF90 00000000 */ nop +/* 079444 800DFF94 0040182D */ daddu $v1, $v0, $zero +/* 079448 800DFF98 2402FFFF */ addiu $v0, $zero, -1 +/* 07944C 800DFF9C 10620007 */ beq $v1, $v0, .L800DFFBC +/* 079450 800DFFA0 00000000 */ nop +/* 079454 800DFFA4 8E020000 */ lw $v0, ($s0) +/* 079458 800DFFA8 AE0300B8 */ sw $v1, 0xb8($s0) +/* 07945C 800DFFAC 3C031000 */ lui $v1, 0x1000 +/* 079460 800DFFB0 A60000BC */ sh $zero, 0xbc($s0) +/* 079464 800DFFB4 00431025 */ or $v0, $v0, $v1 +/* 079468 800DFFB8 AE020000 */ sw $v0, ($s0) +.L800DFFBC: +/* 07946C 800DFFBC 8FBF0014 */ lw $ra, 0x14($sp) +/* 079470 800DFFC0 8FB00010 */ lw $s0, 0x10($sp) +/* 079474 800DFFC4 03E00008 */ jr $ra +/* 079478 800DFFC8 27BD0018 */ addiu $sp, $sp, 0x18 + +func_800DFFCC: +/* 07947C 800DFFCC 3C058011 */ lui $a1, 0x8011 +/* 079480 800DFFD0 24A5EFC8 */ addiu $a1, $a1, -0x1038 +/* 079484 800DFFD4 3C048011 */ lui $a0, 0x8011 +/* 079488 800DFFD8 2484EBB0 */ addiu $a0, $a0, -0x1450 +/* 07948C 800DFFDC 80830003 */ lb $v1, 3($a0) +/* 079490 800DFFE0 24020009 */ addiu $v0, $zero, 9 +/* 079494 800DFFE4 14620003 */ bne $v1, $v0, .L800DFFF4 +/* 079498 800DFFE8 0000302D */ daddu $a2, $zero, $zero +/* 07949C 800DFFEC 80820000 */ lb $v0, ($a0) +/* 0794A0 800DFFF0 00C2302B */ sltu $a2, $a2, $v0 +.L800DFFF4: +/* 0794A4 800DFFF4 84A20010 */ lh $v0, 0x10($a1) +/* 0794A8 800DFFF8 94A40010 */ lhu $a0, 0x10($a1) +/* 0794AC 800DFFFC 18400020 */ blez $v0, .L800E0080 +/* 0794B0 800E0000 2482FFFF */ addiu $v0, $a0, -1 +/* 0794B4 800E0004 3C038007 */ lui $v1, 0x8007 +/* 0794B8 800E0008 8C63419C */ lw $v1, 0x419c($v1) +/* 0794BC 800E000C A4A20010 */ sh $v0, 0x10($a1) +/* 0794C0 800E0010 94620134 */ lhu $v0, 0x134($v1) +/* 0794C4 800E0014 30420001 */ andi $v0, $v0, 1 +/* 0794C8 800E0018 14400005 */ bnez $v0, .L800E0030 +/* 0794CC 800E001C 24A4000E */ addiu $a0, $a1, 0xe +/* 0794D0 800E0020 10C00004 */ beqz $a2, .L800E0034 +/* 0794D4 800E0024 240300FF */ addiu $v1, $zero, 0xff +/* 0794D8 800E0028 0803800D */ j .L800E0034 +/* 0794DC 800E002C 240300C0 */ addiu $v1, $zero, 0xc0 + +.L800E0030: +/* 0794E0 800E0030 24030060 */ addiu $v1, $zero, 0x60 +.L800E0034: +/* 0794E4 800E0034 84A20010 */ lh $v0, 0x10($a1) +/* 0794E8 800E0038 1440000E */ bnez $v0, .L800E0074 +/* 0794EC 800E003C A0830000 */ sb $v1, ($a0) +/* 0794F0 800E0040 10C00004 */ beqz $a2, .L800E0054 +/* 0794F4 800E0044 24030080 */ addiu $v1, $zero, 0x80 +/* 0794F8 800E0048 8CA20000 */ lw $v0, ($a1) +/* 0794FC 800E004C 0803801E */ j .L800E0078 +/* 079500 800E0050 A0A3000E */ sb $v1, 0xe($a1) + +.L800E0054: +/* 079504 800E0054 3C02FFFF */ lui $v0, 0xffff +/* 079508 800E0058 34427FFF */ ori $v0, $v0, 0x7fff +/* 07950C 800E005C 8CA30000 */ lw $v1, ($a1) +/* 079510 800E0060 240400FF */ addiu $a0, $zero, 0xff +/* 079514 800E0064 A0A4000E */ sb $a0, 0xe($a1) +/* 079518 800E0068 00621824 */ and $v1, $v1, $v0 +/* 07951C 800E006C 03E00008 */ jr $ra +/* 079520 800E0070 ACA30000 */ sw $v1, ($a1) + +.L800E0074: +/* 079524 800E0074 8CA20000 */ lw $v0, ($a1) +.L800E0078: +/* 079528 800E0078 34428000 */ ori $v0, $v0, 0x8000 +/* 07952C 800E007C ACA20000 */ sw $v0, ($a1) +.L800E0080: +/* 079530 800E0080 03E00008 */ jr $ra +/* 079534 800E0084 00000000 */ nop + +func_800E0088: +/* 079538 800E0088 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 07953C 800E008C 3C028011 */ lui $v0, 0x8011 +/* 079540 800E0090 2442EFC8 */ addiu $v0, $v0, -0x1038 +/* 079544 800E0094 AFBF0010 */ sw $ra, 0x10($sp) +/* 079548 800E0098 8C460028 */ lw $a2, 0x28($v0) +/* 07954C 800E009C 0C00A7B5 */ jal dist2D +/* 079550 800E00A0 8C470030 */ lw $a3, 0x30($v0) +/* 079554 800E00A4 8FBF0010 */ lw $ra, 0x10($sp) +/* 079558 800E00A8 03E00008 */ jr $ra +/* 07955C 800E00AC 27BD0018 */ addiu $sp, $sp, 0x18 + +enable_player_shadow: +/* 079560 800E00B0 3C048011 */ lui $a0, 0x8011 +/* 079564 800E00B4 8C84F094 */ lw $a0, -0xf6c($a0) +/* 079568 800E00B8 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 07956C 800E00BC AFBF0010 */ sw $ra, 0x10($sp) +/* 079570 800E00C0 0C044181 */ jal get_shadow_by_index +/* 079574 800E00C4 00000000 */ nop +/* 079578 800E00C8 8C430000 */ lw $v1, ($v0) +/* 07957C 800E00CC 2404FFFE */ addiu $a0, $zero, -2 +/* 079580 800E00D0 00641824 */ and $v1, $v1, $a0 +/* 079584 800E00D4 AC430000 */ sw $v1, ($v0) +/* 079588 800E00D8 8FBF0010 */ lw $ra, 0x10($sp) +/* 07958C 800E00DC 03E00008 */ jr $ra +/* 079590 800E00E0 27BD0018 */ addiu $sp, $sp, 0x18 + +disable_player_shadow: +/* 079594 800E00E4 3C048011 */ lui $a0, 0x8011 +/* 079598 800E00E8 8C84F094 */ lw $a0, -0xf6c($a0) +/* 07959C 800E00EC 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 0795A0 800E00F0 AFBF0010 */ sw $ra, 0x10($sp) +/* 0795A4 800E00F4 0C044181 */ jal get_shadow_by_index +/* 0795A8 800E00F8 00000000 */ nop +/* 0795AC 800E00FC 8C430000 */ lw $v1, ($v0) +/* 0795B0 800E0100 34630001 */ ori $v1, $v1, 1 +/* 0795B4 800E0104 AC430000 */ sw $v1, ($v0) +/* 0795B8 800E0108 8FBF0010 */ lw $ra, 0x10($sp) +/* 0795BC 800E010C 03E00008 */ jr $ra +/* 0795C0 800E0110 27BD0018 */ addiu $sp, $sp, 0x18 + +enable_player_physics: +/* 0795C4 800E0114 3C038011 */ lui $v1, 0x8011 +/* 0795C8 800E0118 2463EFC8 */ addiu $v1, $v1, -0x1038 +/* 0795CC 800E011C 8C640000 */ lw $a0, ($v1) +/* 0795D0 800E0120 90620014 */ lbu $v0, 0x14($v1) +/* 0795D4 800E0124 34841000 */ ori $a0, $a0, 0x1000 +/* 0795D8 800E0128 24420001 */ addiu $v0, $v0, 1 +/* 0795DC 800E012C A0620014 */ sb $v0, 0x14($v1) +/* 0795E0 800E0130 00021600 */ sll $v0, $v0, 0x18 +/* 0795E4 800E0134 00021603 */ sra $v0, $v0, 0x18 +/* 0795E8 800E0138 03E00008 */ jr $ra +/* 0795EC 800E013C AC640000 */ sw $a0, ($v1) + +disable_player_physics: +/* 0795F0 800E0140 3C048011 */ lui $a0, 0x8011 +/* 0795F4 800E0144 2484EFC8 */ addiu $a0, $a0, -0x1038 +/* 0795F8 800E0148 90820014 */ lbu $v0, 0x14($a0) +/* 0795FC 800E014C 2442FFFF */ addiu $v0, $v0, -1 +/* 079600 800E0150 A0820014 */ sb $v0, 0x14($a0) +/* 079604 800E0154 00021600 */ sll $v0, $v0, 0x18 +/* 079608 800E0158 00022E03 */ sra $a1, $v0, 0x18 +/* 07960C 800E015C 14A00004 */ bnez $a1, .L800E0170 +/* 079610 800E0160 2403EFFF */ addiu $v1, $zero, -0x1001 +/* 079614 800E0164 8C820000 */ lw $v0, ($a0) +/* 079618 800E0168 00431024 */ and $v0, $v0, $v1 +/* 07961C 800E016C AC820000 */ sw $v0, ($a0) +.L800E0170: +/* 079620 800E0170 03E00008 */ jr $ra +/* 079624 800E0174 00A0102D */ daddu $v0, $a1, $zero + +func_800E0178: +/* 079628 800E0178 3C038011 */ lui $v1, 0x8011 +/* 07962C 800E017C 2463EFC8 */ addiu $v1, $v1, -0x1038 +/* 079630 800E0180 8C640000 */ lw $a0, ($v1) +/* 079634 800E0184 90620015 */ lbu $v0, 0x15($v1) +/* 079638 800E0188 34842000 */ ori $a0, $a0, 0x2000 +/* 07963C 800E018C 24420001 */ addiu $v0, $v0, 1 +/* 079640 800E0190 A0620015 */ sb $v0, 0x15($v1) +/* 079644 800E0194 00021600 */ sll $v0, $v0, 0x18 +/* 079648 800E0198 00021603 */ sra $v0, $v0, 0x18 +/* 07964C 800E019C 03E00008 */ jr $ra +/* 079650 800E01A0 AC640000 */ sw $a0, ($v1) + +func_800E01A4: +/* 079654 800E01A4 3C048011 */ lui $a0, 0x8011 +/* 079658 800E01A8 2484EFC8 */ addiu $a0, $a0, -0x1038 +/* 07965C 800E01AC 90820015 */ lbu $v0, 0x15($a0) +/* 079660 800E01B0 2442FFFF */ addiu $v0, $v0, -1 +/* 079664 800E01B4 A0820015 */ sb $v0, 0x15($a0) +/* 079668 800E01B8 00021600 */ sll $v0, $v0, 0x18 +/* 07966C 800E01BC 00022E03 */ sra $a1, $v0, 0x18 +/* 079670 800E01C0 14A00004 */ bnez $a1, .L800E01D4 +/* 079674 800E01C4 2403DFFF */ addiu $v1, $zero, -0x2001 +/* 079678 800E01C8 8C820000 */ lw $v0, ($a0) +/* 07967C 800E01CC 00431024 */ and $v0, $v0, $v1 +/* 079680 800E01D0 AC820000 */ sw $v0, ($a0) +.L800E01D4: +/* 079684 800E01D4 03E00008 */ jr $ra +/* 079688 800E01D8 00A0102D */ daddu $v0, $a1, $zero + +func_800E01DC: +/* 07968C 800E01DC 3C048011 */ lui $a0, 0x8011 +/* 079690 800E01E0 2484EFC8 */ addiu $a0, $a0, -0x1038 +/* 079694 800E01E4 8C820004 */ lw $v0, 4($a0) +/* 079698 800E01E8 30420010 */ andi $v0, $v0, 0x10 +/* 07969C 800E01EC 10400004 */ beqz $v0, .L800E0200 +/* 0796A0 800E01F0 3C030800 */ lui $v1, 0x800 +/* 0796A4 800E01F4 8C820000 */ lw $v0, ($a0) +/* 0796A8 800E01F8 00431025 */ or $v0, $v0, $v1 +/* 0796AC 800E01FC AC820000 */ sw $v0, ($a0) +.L800E0200: +/* 0796B0 800E0200 03E00008 */ jr $ra +/* 0796B4 800E0204 00000000 */ nop + +func_800E0208: +/* 0796B8 800E0208 3C038007 */ lui $v1, 0x8007 +/* 0796BC 800E020C 8C63419C */ lw $v1, 0x419c($v1) +/* 0796C0 800E0210 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 0796C4 800E0214 AFBF0010 */ sw $ra, 0x10($sp) +/* 0796C8 800E0218 80620078 */ lb $v0, 0x78($v1) +/* 0796CC 800E021C 1040000C */ beqz $v0, .L800E0250 +/* 0796D0 800E0220 0000202D */ daddu $a0, $zero, $zero +/* 0796D4 800E0224 8C620000 */ lw $v0, ($v1) +/* 0796D8 800E0228 30420010 */ andi $v0, $v0, 0x10 +/* 0796DC 800E022C 10400008 */ beqz $v0, .L800E0250 +/* 0796E0 800E0230 00000000 */ nop +/* 0796E4 800E0234 3C028011 */ lui $v0, 0x8011 +/* 0796E8 800E0238 8042EBB0 */ lb $v0, -0x1450($v0) +/* 0796EC 800E023C 54400004 */ bnezl $v0, .L800E0250 +/* 0796F0 800E0240 24040001 */ addiu $a0, $zero, 1 +/* 0796F4 800E0244 0C039769 */ jal set_action_state +/* 0796F8 800E0248 00000000 */ nop +/* 0796FC 800E024C 24040001 */ addiu $a0, $zero, 1 +.L800E0250: +/* 079700 800E0250 8FBF0010 */ lw $ra, 0x10($sp) +/* 079704 800E0254 0080102D */ daddu $v0, $a0, $zero +/* 079708 800E0258 03E00008 */ jr $ra +/* 07970C 800E025C 27BD0018 */ addiu $sp, $sp, 0x18 + +func_800E0260: +/* 079710 800E0260 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 079714 800E0264 AFBF0010 */ sw $ra, 0x10($sp) +/* 079718 800E0268 0C038196 */ jal func_800E0658 +/* 07971C 800E026C 00000000 */ nop +/* 079720 800E0270 0C0382B4 */ jal func_800E0AD0 +/* 079724 800E0274 00000000 */ nop +/* 079728 800E0278 0C038134 */ jal func_800E04D0 +/* 07972C 800E027C 00000000 */ nop +/* 079730 800E0280 0C0380CC */ jal func_800E0330 +/* 079734 800E0284 00000000 */ nop +/* 079738 800E0288 8FBF0010 */ lw $ra, 0x10($sp) +/* 07973C 800E028C 03E00008 */ jr $ra +/* 079740 800E0290 27BD0018 */ addiu $sp, $sp, 0x18 + +func_800E0294: +/* 079744 800E0294 3C028016 */ lui $v0, 0x8016 +/* 079748 800E0298 8042A57A */ lb $v0, -0x5a86($v0) +/* 07974C 800E029C 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 079750 800E02A0 AFBF0014 */ sw $ra, 0x14($sp) +/* 079754 800E02A4 10400016 */ beqz $v0, .L800E0300 +/* 079758 800E02A8 AFB00010 */ sw $s0, 0x10($sp) +/* 07975C 800E02AC 3C108011 */ lui $s0, 0x8011 +/* 079760 800E02B0 2610C93C */ addiu $s0, $s0, -0x36c4 +/* 079764 800E02B4 8E020000 */ lw $v0, ($s0) +/* 079768 800E02B8 14400015 */ bnez $v0, .L800E0310 +/* 07976C 800E02BC 00000000 */ nop +/* 079770 800E02C0 3C028011 */ lui $v0, 0x8011 +/* 079774 800E02C4 2442EFC8 */ addiu $v0, $v0, -0x1038 +/* 079778 800E02C8 8C420004 */ lw $v0, 4($v0) +/* 07977C 800E02CC 30420030 */ andi $v0, $v0, 0x30 +/* 079780 800E02D0 1440000B */ bnez $v0, .L800E0300 +/* 079784 800E02D4 00000000 */ nop +/* 079788 800E02D8 3C06802B */ lui $a2, 0x802b +/* 07978C 800E02DC 3C0400E2 */ lui $a0, 0xe2 +/* 079790 800E02E0 248425B0 */ addiu $a0, $a0, 0x25b0 +/* 079794 800E02E4 3C0500E2 */ lui $a1, 0xe2 +/* 079798 800E02E8 24A53260 */ addiu $a1, $a1, 0x3260 +/* 07979C 800E02EC 0C00A5CF */ jal dma_copy +/* 0797A0 800E02F0 34C67000 */ ori $a2, $a2, 0x7000 +/* 0797A4 800E02F4 3C02802B */ lui $v0, 0x802b +/* 0797A8 800E02F8 244272C0 */ addiu $v0, $v0, 0x72c0 +/* 0797AC 800E02FC AE020000 */ sw $v0, ($s0) +.L800E0300: +/* 0797B0 800E0300 3C028011 */ lui $v0, 0x8011 +/* 0797B4 800E0304 8C42C93C */ lw $v0, -0x36c4($v0) +/* 0797B8 800E0308 10400005 */ beqz $v0, .L800E0320 +/* 0797BC 800E030C 00000000 */ nop +.L800E0310: +/* 0797C0 800E0310 3C028011 */ lui $v0, 0x8011 +/* 0797C4 800E0314 8C42C93C */ lw $v0, -0x36c4($v0) +/* 0797C8 800E0318 0040F809 */ jalr $v0 +/* 0797CC 800E031C 00000000 */ nop +.L800E0320: +/* 0797D0 800E0320 8FBF0014 */ lw $ra, 0x14($sp) +/* 0797D4 800E0324 8FB00010 */ lw $s0, 0x10($sp) +/* 0797D8 800E0328 03E00008 */ jr $ra +/* 0797DC 800E032C 27BD0018 */ addiu $sp, $sp, 0x18 + +func_800E0330: +/* 0797E0 800E0330 3C02800F */ lui $v0, 0x800f +/* 0797E4 800E0334 8C427B30 */ lw $v0, 0x7b30($v0) +/* 0797E8 800E0338 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 0797EC 800E033C AFBF0010 */ sw $ra, 0x10($sp) +/* 0797F0 800E0340 8C420004 */ lw $v0, 4($v0) +/* 0797F4 800E0344 30420100 */ andi $v0, $v0, 0x100 +/* 0797F8 800E0348 10400007 */ beqz $v0, .L800E0368 +/* 0797FC 800E034C 00000000 */ nop +/* 079800 800E0350 3C028011 */ lui $v0, 0x8011 +/* 079804 800E0354 8C42C93C */ lw $v0, -0x36c4($v0) +/* 079808 800E0358 10400003 */ beqz $v0, .L800E0368 +/* 07980C 800E035C 00000000 */ nop +/* 079810 800E0360 0C0ADC00 */ jal func_802B7000 +/* 079814 800E0364 00000000 */ nop +.L800E0368: +/* 079818 800E0368 8FBF0010 */ lw $ra, 0x10($sp) +/* 07981C 800E036C 03E00008 */ jr $ra +/* 079820 800E0370 27BD0018 */ addiu $sp, $sp, 0x18 + +func_800E0374: +/* 079824 800E0374 3C02800F */ lui $v0, 0x800f +/* 079828 800E0378 8C427B30 */ lw $v0, 0x7b30($v0) +/* 07982C 800E037C 8C430004 */ lw $v1, 4($v0) +/* 079830 800E0380 2404FEFF */ addiu $a0, $zero, -0x101 +/* 079834 800E0384 3C018011 */ lui $at, 0x8011 +/* 079838 800E0388 AC20C93C */ sw $zero, -0x36c4($at) +/* 07983C 800E038C 00641824 */ and $v1, $v1, $a0 +/* 079840 800E0390 03E00008 */ jr $ra +/* 079844 800E0394 AC430004 */ sw $v1, 4($v0) + +func_800E0398: +/* 079848 800E0398 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 07984C 800E039C AFB00010 */ sw $s0, 0x10($sp) +/* 079850 800E03A0 3C108011 */ lui $s0, 0x8011 +/* 079854 800E03A4 2610C920 */ addiu $s0, $s0, -0x36e0 +/* 079858 800E03A8 AFBF0014 */ sw $ra, 0x14($sp) +/* 07985C 800E03AC 8E020000 */ lw $v0, ($s0) +/* 079860 800E03B0 3C078011 */ lui $a3, 0x8011 +/* 079864 800E03B4 24E7EFC8 */ addiu $a3, $a3, -0x1038 +/* 079868 800E03B8 1440003D */ bnez $v0, .L800E04B0 +/* 07986C 800E03BC 00000000 */ nop +/* 079870 800E03C0 8CE60004 */ lw $a2, 4($a3) +/* 079874 800E03C4 30C20100 */ andi $v0, $a2, 0x100 +/* 079878 800E03C8 1440003D */ bnez $v0, .L800E04C0 +/* 07987C 800E03CC 2402000A */ addiu $v0, $zero, 0xa +/* 079880 800E03D0 3C058007 */ lui $a1, 0x8007 +/* 079884 800E03D4 8CA5419C */ lw $a1, 0x419c($a1) +/* 079888 800E03D8 84A30086 */ lh $v1, 0x86($a1) +/* 07988C 800E03DC 14620038 */ bne $v1, $v0, .L800E04C0 +/* 079890 800E03E0 00000000 */ nop +/* 079894 800E03E4 80A20070 */ lb $v0, 0x70($a1) +/* 079898 800E03E8 14400035 */ bnez $v0, .L800E04C0 +/* 07989C 800E03EC 3C049249 */ lui $a0, 0x9249 +/* 0798A0 800E03F0 94A3008C */ lhu $v1, 0x8c($a1) +/* 0798A4 800E03F4 34842493 */ ori $a0, $a0, 0x2493 +/* 0798A8 800E03F8 00031C00 */ sll $v1, $v1, 0x10 +/* 0798AC 800E03FC 00031403 */ sra $v0, $v1, 0x10 +/* 0798B0 800E0400 00440018 */ mult $v0, $a0 +/* 0798B4 800E0404 00031FC3 */ sra $v1, $v1, 0x1f +/* 0798B8 800E0408 00004010 */ mfhi $t0 +/* 0798BC 800E040C 01022021 */ addu $a0, $t0, $v0 +/* 0798C0 800E0410 00042083 */ sra $a0, $a0, 2 +/* 0798C4 800E0414 00832023 */ subu $a0, $a0, $v1 +/* 0798C8 800E0418 000418C0 */ sll $v1, $a0, 3 +/* 0798CC 800E041C 00641823 */ subu $v1, $v1, $a0 +/* 0798D0 800E0420 00431023 */ subu $v0, $v0, $v1 +/* 0798D4 800E0424 00021400 */ sll $v0, $v0, 0x10 +/* 0798D8 800E0428 00021403 */ sra $v0, $v0, 0x10 +/* 0798DC 800E042C 2442FFFE */ addiu $v0, $v0, -2 +/* 0798E0 800E0430 04420001 */ bltzl $v0, .L800E0438 +/* 0798E4 800E0434 00021023 */ negu $v0, $v0 +.L800E0438: +/* 0798E8 800E0438 00042400 */ sll $a0, $a0, 0x10 +/* 0798EC 800E043C 00042403 */ sra $a0, $a0, 0x10 +/* 0798F0 800E0440 00441021 */ addu $v0, $v0, $a0 +/* 0798F4 800E0444 28420006 */ slti $v0, $v0, 6 +/* 0798F8 800E0448 1040001D */ beqz $v0, .L800E04C0 +/* 0798FC 800E044C 30C200C0 */ andi $v0, $a2, 0xc0 +/* 079900 800E0450 1040001B */ beqz $v0, .L800E04C0 +/* 079904 800E0454 00000000 */ nop +/* 079908 800E0458 8CE20000 */ lw $v0, ($a3) +/* 07990C 800E045C 30420020 */ andi $v0, $v0, 0x20 +/* 079910 800E0460 14400017 */ bnez $v0, .L800E04C0 +/* 079914 800E0464 00000000 */ nop +/* 079918 800E0468 80E20015 */ lb $v0, 0x15($a3) +/* 07991C 800E046C 14400014 */ bnez $v0, .L800E04C0 +/* 079920 800E0470 30C20030 */ andi $v0, $a2, 0x30 +/* 079924 800E0474 1440000B */ bnez $v0, .L800E04A4 +/* 079928 800E0478 00000000 */ nop +/* 07992C 800E047C 3C06802B */ lui $a2, 0x802b +/* 079930 800E0480 3C0400E2 */ lui $a0, 0xe2 +/* 079934 800E0484 24841870 */ addiu $a0, $a0, 0x1870 +/* 079938 800E0488 3C0500E2 */ lui $a1, 0xe2 +/* 07993C 800E048C 24A525B0 */ addiu $a1, $a1, 0x25b0 +/* 079940 800E0490 0C00A5CF */ jal dma_copy +/* 079944 800E0494 34C67000 */ ori $a2, $a2, 0x7000 +/* 079948 800E0498 3C02802B */ lui $v0, 0x802b +/* 07994C 800E049C 24427140 */ addiu $v0, $v0, 0x7140 +/* 079950 800E04A0 AE020000 */ sw $v0, ($s0) +.L800E04A4: +/* 079954 800E04A4 8E020000 */ lw $v0, ($s0) +/* 079958 800E04A8 10400005 */ beqz $v0, .L800E04C0 +/* 07995C 800E04AC 00000000 */ nop +.L800E04B0: +/* 079960 800E04B0 3C028011 */ lui $v0, 0x8011 +/* 079964 800E04B4 8C42C920 */ lw $v0, -0x36e0($v0) +/* 079968 800E04B8 0040F809 */ jalr $v0 +/* 07996C 800E04BC 00000000 */ nop +.L800E04C0: +/* 079970 800E04C0 8FBF0014 */ lw $ra, 0x14($sp) +/* 079974 800E04C4 8FB00010 */ lw $s0, 0x10($sp) +/* 079978 800E04C8 03E00008 */ jr $ra +/* 07997C 800E04CC 27BD0018 */ addiu $sp, $sp, 0x18 + +func_800E04D0: +/* 079980 800E04D0 3C02800F */ lui $v0, 0x800f +/* 079984 800E04D4 8C427B30 */ lw $v0, 0x7b30($v0) +/* 079988 800E04D8 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 07998C 800E04DC AFBF0010 */ sw $ra, 0x10($sp) +/* 079990 800E04E0 8C420004 */ lw $v0, 4($v0) +/* 079994 800E04E4 30420040 */ andi $v0, $v0, 0x40 +/* 079998 800E04E8 10400007 */ beqz $v0, .L800E0508 +/* 07999C 800E04EC 00000000 */ nop +/* 0799A0 800E04F0 3C028011 */ lui $v0, 0x8011 +/* 0799A4 800E04F4 8C42C920 */ lw $v0, -0x36e0($v0) +/* 0799A8 800E04F8 10400003 */ beqz $v0, .L800E0508 +/* 0799AC 800E04FC 00000000 */ nop +/* 0799B0 800E0500 0C0ADC75 */ jal func_802B71D4 +/* 0799B4 800E0504 00000000 */ nop +.L800E0508: +/* 0799B8 800E0508 8FBF0010 */ lw $ra, 0x10($sp) +/* 0799BC 800E050C 03E00008 */ jr $ra +/* 0799C0 800E0510 27BD0018 */ addiu $sp, $sp, 0x18 + +func_800E0514: +/* 0799C4 800E0514 3C02800F */ lui $v0, 0x800f +/* 0799C8 800E0518 8C427B30 */ lw $v0, 0x7b30($v0) +/* 0799CC 800E051C 8C430004 */ lw $v1, 4($v0) +/* 0799D0 800E0520 2404FFBF */ addiu $a0, $zero, -0x41 +/* 0799D4 800E0524 3C018011 */ lui $at, 0x8011 +/* 0799D8 800E0528 AC20C920 */ sw $zero, -0x36e0($at) +/* 0799DC 800E052C 00641824 */ and $v1, $v1, $a0 +/* 0799E0 800E0530 03E00008 */ jr $ra +/* 0799E4 800E0534 AC430004 */ sw $v1, 4($v0) + +func_800E0538: +/* 0799E8 800E0538 3C058011 */ lui $a1, 0x8011 +/* 0799EC 800E053C 24A5EFC8 */ addiu $a1, $a1, -0x1038 +/* 0799F0 800E0540 8CA200C8 */ lw $v0, 0xc8($a1) +/* 0799F4 800E0544 1040000C */ beqz $v0, .L800E0578 +/* 0799F8 800E0548 0000202D */ daddu $a0, $zero, $zero +/* 0799FC 800E054C 8C420000 */ lw $v0, ($v0) +/* 079A00 800E0550 3C031000 */ lui $v1, 0x1000 +/* 079A04 800E0554 00431024 */ and $v0, $v0, $v1 +/* 079A08 800E0558 14400007 */ bnez $v0, .L800E0578 +/* 079A0C 800E055C 3C020200 */ lui $v0, 0x200 +/* 079A10 800E0560 8CA30000 */ lw $v1, ($a1) +/* 079A14 800E0564 34422000 */ ori $v0, $v0, 0x2000 +/* 079A18 800E0568 00621824 */ and $v1, $v1, $v0 +/* 079A1C 800E056C 3C020200 */ lui $v0, 0x200 +/* 079A20 800E0570 00621826 */ xor $v1, $v1, $v0 +/* 079A24 800E0574 2C640001 */ sltiu $a0, $v1, 1 +.L800E0578: +/* 079A28 800E0578 03E00008 */ jr $ra +/* 079A2C 800E057C 0080102D */ daddu $v0, $a0, $zero + +func_800E0580: +/* 079A30 800E0580 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 079A34 800E0584 3C038011 */ lui $v1, 0x8011 +/* 079A38 800E0588 2463EFC8 */ addiu $v1, $v1, -0x1038 +/* 079A3C 800E058C AFBF0014 */ sw $ra, 0x14($sp) +/* 079A40 800E0590 AFB00010 */ sw $s0, 0x10($sp) +/* 079A44 800E0594 8C620004 */ lw $v0, 4($v1) +/* 079A48 800E0598 30420100 */ andi $v0, $v0, 0x100 +/* 079A4C 800E059C 1440002A */ bnez $v0, .L800E0648 +/* 079A50 800E05A0 00000000 */ nop +/* 079A54 800E05A4 3C028011 */ lui $v0, 0x8011 +/* 079A58 800E05A8 8C42C958 */ lw $v0, -0x36a8($v0) +/* 079A5C 800E05AC 14400026 */ bnez $v0, .L800E0648 +/* 079A60 800E05B0 00000000 */ nop +/* 079A64 800E05B4 3C028011 */ lui $v0, 0x8011 +/* 079A68 800E05B8 8C42C920 */ lw $v0, -0x36e0($v0) +/* 079A6C 800E05BC 14400022 */ bnez $v0, .L800E0648 +/* 079A70 800E05C0 00000000 */ nop +/* 079A74 800E05C4 3C108011 */ lui $s0, 0x8011 +/* 079A78 800E05C8 2610C940 */ addiu $s0, $s0, -0x36c0 +/* 079A7C 800E05CC 8E020000 */ lw $v0, ($s0) +/* 079A80 800E05D0 14400019 */ bnez $v0, .L800E0638 +/* 079A84 800E05D4 00000000 */ nop +/* 079A88 800E05D8 80620015 */ lb $v0, 0x15($v1) +/* 079A8C 800E05DC 1440001A */ bnez $v0, .L800E0648 +/* 079A90 800E05E0 00000000 */ nop +/* 079A94 800E05E4 8C620000 */ lw $v0, ($v1) +/* 079A98 800E05E8 30420020 */ andi $v0, $v0, 0x20 +/* 079A9C 800E05EC 14400016 */ bnez $v0, .L800E0648 +/* 079AA0 800E05F0 00000000 */ nop +/* 079AA4 800E05F4 0C03814E */ jal func_800E0538 +/* 079AA8 800E05F8 00000000 */ nop +/* 079AAC 800E05FC 14400003 */ bnez $v0, .L800E060C +/* 079AB0 800E0600 3C06802B */ lui $a2, 0x802b +/* 079AB4 800E0604 08038192 */ j .L800E0648 +/* 079AB8 800E0608 AE000000 */ sw $zero, ($s0) + +.L800E060C: +/* 079ABC 800E060C 34C67000 */ ori $a2, $a2, 0x7000 +/* 079AC0 800E0610 3C0400E2 */ lui $a0, 0xe2 +/* 079AC4 800E0614 24840EB0 */ addiu $a0, $a0, 0xeb0 +/* 079AC8 800E0618 3C0500E2 */ lui $a1, 0xe2 +/* 079ACC 800E061C 24A51870 */ addiu $a1, $a1, 0x1870 +/* 079AD0 800E0620 0C00A5CF */ jal dma_copy +/* 079AD4 800E0624 AE000000 */ sw $zero, ($s0) +/* 079AD8 800E0628 3C02802B */ lui $v0, 0x802b +/* 079ADC 800E062C 244270B4 */ addiu $v0, $v0, 0x70b4 +/* 079AE0 800E0630 10400005 */ beqz $v0, .L800E0648 +/* 079AE4 800E0634 AE020000 */ sw $v0, ($s0) +.L800E0638: +/* 079AE8 800E0638 3C028011 */ lui $v0, 0x8011 +/* 079AEC 800E063C 8C42C940 */ lw $v0, -0x36c0($v0) +/* 079AF0 800E0640 0040F809 */ jalr $v0 +/* 079AF4 800E0644 00000000 */ nop +.L800E0648: +/* 079AF8 800E0648 8FBF0014 */ lw $ra, 0x14($sp) +/* 079AFC 800E064C 8FB00010 */ lw $s0, 0x10($sp) +/* 079B00 800E0650 03E00008 */ jr $ra +/* 079B04 800E0654 27BD0018 */ addiu $sp, $sp, 0x18 + +func_800E0658: +/* 079B08 800E0658 3C02800F */ lui $v0, 0x800f +/* 079B0C 800E065C 8C427B30 */ lw $v0, 0x7b30($v0) +/* 079B10 800E0660 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 079B14 800E0664 AFBF0010 */ sw $ra, 0x10($sp) +/* 079B18 800E0668 8C420004 */ lw $v0, 4($v0) +/* 079B1C 800E066C 30420020 */ andi $v0, $v0, 0x20 +/* 079B20 800E0670 10400007 */ beqz $v0, .L800E0690 +/* 079B24 800E0674 00000000 */ nop +/* 079B28 800E0678 3C028011 */ lui $v0, 0x8011 +/* 079B2C 800E067C 8C42C940 */ lw $v0, -0x36c0($v0) +/* 079B30 800E0680 10400003 */ beqz $v0, .L800E0690 +/* 079B34 800E0684 00000000 */ nop +/* 079B38 800E0688 0C0ADC72 */ jal func_802B71C8 +/* 079B3C 800E068C 00000000 */ nop +.L800E0690: +/* 079B40 800E0690 8FBF0010 */ lw $ra, 0x10($sp) +/* 079B44 800E0694 03E00008 */ jr $ra +/* 079B48 800E0698 27BD0018 */ addiu $sp, $sp, 0x18 + +func_800E069C: +/* 079B4C 800E069C 3C02800F */ lui $v0, 0x800f +/* 079B50 800E06A0 8C427B30 */ lw $v0, 0x7b30($v0) +/* 079B54 800E06A4 8C430004 */ lw $v1, 4($v0) +/* 079B58 800E06A8 2404FFDF */ addiu $a0, $zero, -0x21 +/* 079B5C 800E06AC 3C018011 */ lui $at, 0x8011 +/* 079B60 800E06B0 AC20C940 */ sw $zero, -0x36c0($at) +/* 079B64 800E06B4 00641824 */ and $v1, $v1, $a0 +/* 079B68 800E06B8 03E00008 */ jr $ra +/* 079B6C 800E06BC AC430004 */ sw $v1, 4($v0) + +func_800E06C0: +/* 079B70 800E06C0 38840001 */ xori $a0, $a0, 1 +/* 079B74 800E06C4 2C840001 */ sltiu $a0, $a0, 1 +/* 079B78 800E06C8 3C018011 */ lui $at, 0x8011 +/* 079B7C 800E06CC AC24C950 */ sw $a0, -0x36b0($at) +/* 079B80 800E06D0 03E00008 */ jr $ra +/* 079B84 800E06D4 00000000 */ nop + +/* 079B88 800E06D8 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 079B8C 800E06DC AFB10014 */ sw $s1, 0x14($sp) +/* 079B90 800E06E0 3C118011 */ lui $s1, 0x8011 +/* 079B94 800E06E4 2631EFC8 */ addiu $s1, $s1, -0x1038 +/* 079B98 800E06E8 AFBF001C */ sw $ra, 0x1c($sp) +/* 079B9C 800E06EC AFB20018 */ sw $s2, 0x18($sp) +/* 079BA0 800E06F0 AFB00010 */ sw $s0, 0x10($sp) +/* 079BA4 800E06F4 8E2400C8 */ lw $a0, 0xc8($s1) +/* 079BA8 800E06F8 862200C0 */ lh $v0, 0xc0($s1) +/* 079BAC 800E06FC 863200C6 */ lh $s2, 0xc6($s1) +/* 079BB0 800E0700 1440003F */ bnez $v0, .L800E0800 +/* 079BB4 800E0704 0000102D */ daddu $v0, $zero, $zero +/* 079BB8 800E0708 82220015 */ lb $v0, 0x15($s1) +/* 079BBC 800E070C 1440003C */ bnez $v0, .L800E0800 +/* 079BC0 800E0710 0000102D */ daddu $v0, $zero, $zero +/* 079BC4 800E0714 3C028016 */ lui $v0, 0x8016 +/* 079BC8 800E0718 8442A562 */ lh $v0, -0x5a9e($v0) +/* 079BCC 800E071C 2405FFFF */ addiu $a1, $zero, -1 +/* 079BD0 800E0720 14450003 */ bne $v0, $a1, .L800E0730 +/* 079BD4 800E0724 3C020200 */ lui $v0, 0x200 +.L800E0728: +/* 079BD8 800E0728 08038200 */ j .L800E0800 +/* 079BDC 800E072C 0000102D */ daddu $v0, $zero, $zero + +.L800E0730: +/* 079BE0 800E0730 8E230000 */ lw $v1, ($s1) +/* 079BE4 800E0734 34422000 */ ori $v0, $v0, 0x2000 +/* 079BE8 800E0738 00621824 */ and $v1, $v1, $v0 +/* 079BEC 800E073C 3C020200 */ lui $v0, 0x200 +/* 079BF0 800E0740 14620009 */ bne $v1, $v0, .L800E0768 +/* 079BF4 800E0744 00000000 */ nop +/* 079BF8 800E0748 10800007 */ beqz $a0, .L800E0768 +/* 079BFC 800E074C 3C031000 */ lui $v1, 0x1000 +/* 079C00 800E0750 8C820000 */ lw $v0, ($a0) +/* 079C04 800E0754 00431024 */ and $v0, $v0, $v1 +/* 079C08 800E0758 10400003 */ beqz $v0, .L800E0768 +/* 079C0C 800E075C 00000000 */ nop +/* 079C10 800E0760 080381FF */ j .L800E07FC +/* 079C14 800E0764 A62500C6 */ sh $a1, 0xc6($s1) + +.L800E0768: +/* 079C18 800E0768 3C108016 */ lui $s0, 0x8016 +/* 079C1C 800E076C 8610A562 */ lh $s0, -0x5a9e($s0) +/* 079C20 800E0770 32024000 */ andi $v0, $s0, 0x4000 +/* 079C24 800E0774 14400007 */ bnez $v0, .L800E0794 +/* 079C28 800E0778 00000000 */ nop +/* 079C2C 800E077C 0C05173A */ jal func_80145CE8 +/* 079C30 800E0780 0200202D */ daddu $a0, $s0, $zero +/* 079C34 800E0784 1440000E */ bnez $v0, .L800E07C0 +/* 079C38 800E0788 0000102D */ daddu $v0, $zero, $zero +/* 079C3C 800E078C 08038200 */ j .L800E0800 +/* 079C40 800E0790 00000000 */ nop + +.L800E0794: +/* 079C44 800E0794 0C0394BE */ jal func_800E52F8 +/* 079C48 800E0798 00000000 */ nop +/* 079C4C 800E079C 14400003 */ bnez $v0, .L800E07AC +/* 079C50 800E07A0 2402FFFF */ addiu $v0, $zero, -1 +/* 079C54 800E07A4 080381CA */ j .L800E0728 +/* 079C58 800E07A8 A62200C6 */ sh $v0, 0xc6($s1) + +.L800E07AC: +/* 079C5C 800E07AC 0C0441A9 */ jal func_801106A4 +/* 079C60 800E07B0 0200202D */ daddu $a0, $s0, $zero +/* 079C64 800E07B4 2403000C */ addiu $v1, $zero, 0xc +/* 079C68 800E07B8 10430011 */ beq $v0, $v1, .L800E0800 +/* 079C6C 800E07BC 0000102D */ daddu $v0, $zero, $zero +.L800E07C0: +/* 079C70 800E07C0 16500008 */ bne $s2, $s0, .L800E07E4 +/* 079C74 800E07C4 3C03F7FF */ lui $v1, 0xf7ff +/* 079C78 800E07C8 8E220000 */ lw $v0, ($s1) +/* 079C7C 800E07CC 3C030800 */ lui $v1, 0x800 +/* 079C80 800E07D0 00431024 */ and $v0, $v0, $v1 +/* 079C84 800E07D4 10400007 */ beqz $v0, .L800E07F4 +/* 079C88 800E07D8 0000102D */ daddu $v0, $zero, $zero +/* 079C8C 800E07DC 08038200 */ j .L800E0800 +/* 079C90 800E07E0 00000000 */ nop + +.L800E07E4: +/* 079C94 800E07E4 8E220000 */ lw $v0, ($s1) +/* 079C98 800E07E8 3463FFFF */ ori $v1, $v1, 0xffff +/* 079C9C 800E07EC 00431024 */ and $v0, $v0, $v1 +/* 079CA0 800E07F0 AE220000 */ sw $v0, ($s1) +.L800E07F4: +/* 079CA4 800E07F4 2402FFFF */ addiu $v0, $zero, -1 +/* 079CA8 800E07F8 A62200C6 */ sh $v0, 0xc6($s1) +.L800E07FC: +/* 079CAC 800E07FC 24020001 */ addiu $v0, $zero, 1 +.L800E0800: +/* 079CB0 800E0800 8FBF001C */ lw $ra, 0x1c($sp) +/* 079CB4 800E0804 8FB20018 */ lw $s2, 0x18($sp) +/* 079CB8 800E0808 8FB10014 */ lw $s1, 0x14($sp) +/* 079CBC 800E080C 8FB00010 */ lw $s0, 0x10($sp) +/* 079CC0 800E0810 03E00008 */ jr $ra +/* 079CC4 800E0814 27BD0020 */ addiu $sp, $sp, 0x20 + +func_800E0818: +/* 079CC8 800E0818 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 079CCC 800E081C AFB10014 */ sw $s1, 0x14($sp) +/* 079CD0 800E0820 3C118011 */ lui $s1, 0x8011 +/* 079CD4 800E0824 2631EFC8 */ addiu $s1, $s1, -0x1038 +/* 079CD8 800E0828 AFBF0020 */ sw $ra, 0x20($sp) +/* 079CDC 800E082C AFB3001C */ sw $s3, 0x1c($sp) +/* 079CE0 800E0830 AFB20018 */ sw $s2, 0x18($sp) +/* 079CE4 800E0834 AFB00010 */ sw $s0, 0x10($sp) +/* 079CE8 800E0838 8E220004 */ lw $v0, 4($s1) +/* 079CEC 800E083C 8E2500C8 */ lw $a1, 0xc8($s1) +/* 079CF0 800E0840 30420100 */ andi $v0, $v0, 0x100 +/* 079CF4 800E0844 1440009B */ bnez $v0, .L800E0AB4 +/* 079CF8 800E0848 00000000 */ nop +/* 079CFC 800E084C 3C028011 */ lui $v0, 0x8011 +/* 079D00 800E0850 8C42C940 */ lw $v0, -0x36c0($v0) +/* 079D04 800E0854 14400097 */ bnez $v0, .L800E0AB4 +/* 079D08 800E0858 00000000 */ nop +/* 079D0C 800E085C 3C028011 */ lui $v0, 0x8011 +/* 079D10 800E0860 8C42C920 */ lw $v0, -0x36e0($v0) +/* 079D14 800E0864 14400093 */ bnez $v0, .L800E0AB4 +/* 079D18 800E0868 00000000 */ nop +/* 079D1C 800E086C 3C028011 */ lui $v0, 0x8011 +/* 079D20 800E0870 8C42C958 */ lw $v0, -0x36a8($v0) +/* 079D24 800E0874 14400073 */ bnez $v0, .L800E0A44 +/* 079D28 800E0878 00000000 */ nop +/* 079D2C 800E087C 3C038016 */ lui $v1, 0x8016 +/* 079D30 800E0880 2463A550 */ addiu $v1, $v1, -0x5ab0 +/* 079D34 800E0884 82220015 */ lb $v0, 0x15($s1) +/* 079D38 800E0888 10400006 */ beqz $v0, .L800E08A4 +/* 079D3C 800E088C 84700012 */ lh $s0, 0x12($v1) +/* 079D40 800E0890 862200C6 */ lh $v0, 0xc6($s1) +/* 079D44 800E0894 54500087 */ bnel $v0, $s0, .L800E0AB4 +/* 079D48 800E0898 A63000C6 */ sh $s0, 0xc6($s1) +/* 079D4C 800E089C 080382AD */ j .L800E0AB4 +/* 079D50 800E08A0 00000000 */ nop + +.L800E08A4: +/* 079D54 800E08A4 862200C0 */ lh $v0, 0xc0($s1) +/* 079D58 800E08A8 14400082 */ bnez $v0, .L800E0AB4 +/* 079D5C 800E08AC 2413FFFF */ addiu $s3, $zero, -1 +/* 079D60 800E08B0 1613002E */ bne $s0, $s3, .L800E096C +/* 079D64 800E08B4 32024000 */ andi $v0, $s0, 0x4000 +/* 079D68 800E08B8 84640002 */ lh $a0, 2($v1) +/* 079D6C 800E08BC 04800010 */ bltz $a0, .L800E0900 +/* 079D70 800E08C0 30824000 */ andi $v0, $a0, 0x4000 +/* 079D74 800E08C4 1040000E */ beqz $v0, .L800E0900 +/* 079D78 800E08C8 24120001 */ addiu $s2, $zero, 1 +/* 079D7C 800E08CC 0C0441A9 */ jal func_801106A4 +/* 079D80 800E08D0 0080802D */ daddu $s0, $a0, $zero +/* 079D84 800E08D4 2443FFFD */ addiu $v1, $v0, -3 +/* 079D88 800E08D8 2C620031 */ sltiu $v0, $v1, 0x31 +/* 079D8C 800E08DC 10400038 */ beqz $v0, .L800E09C0 +/* 079D90 800E08E0 00031080 */ sll $v0, $v1, 2 +/* 079D94 800E08E4 3C018011 */ lui $at, 0x8011 +/* 079D98 800E08E8 00220821 */ addu $at, $at, $v0 +/* 079D9C 800E08EC 8C22BC60 */ lw $v0, -0x43a0($at) +/* 079DA0 800E08F0 00400008 */ jr $v0 +/* 079DA4 800E08F4 00000000 */ nop +/* 079DA8 800E08F8 08038270 */ j .L800E09C0 +/* 079DAC 800E08FC 2410FFFF */ addiu $s0, $zero, -1 + +.L800E0900: +/* 079DB0 800E0900 3C020200 */ lui $v0, 0x200 +/* 079DB4 800E0904 8E230000 */ lw $v1, ($s1) +/* 079DB8 800E0908 34422000 */ ori $v0, $v0, 0x2000 +/* 079DBC 800E090C 00621824 */ and $v1, $v1, $v0 +/* 079DC0 800E0910 3C020200 */ lui $v0, 0x200 +/* 079DC4 800E0914 1462000E */ bne $v1, $v0, .L800E0950 +/* 079DC8 800E0918 3C02F7FF */ lui $v0, 0xf7ff +/* 079DCC 800E091C 10A0000C */ beqz $a1, .L800E0950 +/* 079DD0 800E0920 3C031000 */ lui $v1, 0x1000 +/* 079DD4 800E0924 8CA20000 */ lw $v0, ($a1) +/* 079DD8 800E0928 00431024 */ and $v0, $v0, $v1 +/* 079DDC 800E092C 10400008 */ beqz $v0, .L800E0950 +/* 079DE0 800E0930 3C02F7FF */ lui $v0, 0xf7ff +/* 079DE4 800E0934 80A200A4 */ lb $v0, 0xa4($a1) +/* 079DE8 800E0938 862300C6 */ lh $v1, 0xc6($s1) +/* 079DEC 800E093C 34502000 */ ori $s0, $v0, 0x2000 +/* 079DF0 800E0940 1070005C */ beq $v1, $s0, .L800E0AB4 +/* 079DF4 800E0944 0000902D */ daddu $s2, $zero, $zero +/* 079DF8 800E0948 08038270 */ j .L800E09C0 +/* 079DFC 800E094C 00000000 */ nop + +.L800E0950: +/* 079E00 800E0950 3442FFFF */ ori $v0, $v0, 0xffff +/* 079E04 800E0954 8E230000 */ lw $v1, ($s1) +/* 079E08 800E0958 2404FFFF */ addiu $a0, $zero, -1 +/* 079E0C 800E095C A62400C6 */ sh $a0, 0xc6($s1) +/* 079E10 800E0960 00621824 */ and $v1, $v1, $v0 +/* 079E14 800E0964 080382AD */ j .L800E0AB4 +/* 079E18 800E0968 AE230000 */ sw $v1, ($s1) + +.L800E096C: +/* 079E1C 800E096C 14400009 */ bnez $v0, .L800E0994 +/* 079E20 800E0970 32022000 */ andi $v0, $s0, 0x2000 +/* 079E24 800E0974 14400012 */ bnez $v0, .L800E09C0 +/* 079E28 800E0978 0000902D */ daddu $s2, $zero, $zero +/* 079E2C 800E097C 0C05173A */ jal func_80145CE8 +/* 079E30 800E0980 0200202D */ daddu $a0, $s0, $zero +/* 079E34 800E0984 1440000E */ bnez $v0, .L800E09C0 +/* 079E38 800E0988 3C03F7FF */ lui $v1, 0xf7ff +/* 079E3C 800E098C 0803826A */ j .L800E09A8 +/* 079E40 800E0990 00000000 */ nop + +.L800E0994: +/* 079E44 800E0994 0C0394BE */ jal func_800E52F8 +/* 079E48 800E0998 00000000 */ nop +/* 079E4C 800E099C 14400008 */ bnez $v0, .L800E09C0 +/* 079E50 800E09A0 24120001 */ addiu $s2, $zero, 1 +/* 079E54 800E09A4 3C03F7FF */ lui $v1, 0xf7ff +.L800E09A8: +/* 079E58 800E09A8 8E220000 */ lw $v0, ($s1) +/* 079E5C 800E09AC 3463FFFF */ ori $v1, $v1, 0xffff +/* 079E60 800E09B0 A63300C6 */ sh $s3, 0xc6($s1) +/* 079E64 800E09B4 00431024 */ and $v0, $v0, $v1 +/* 079E68 800E09B8 080382AD */ j .L800E0AB4 +/* 079E6C 800E09BC AE220000 */ sw $v0, ($s1) + +.L800E09C0: +/* 079E70 800E09C0 862200C6 */ lh $v0, 0xc6($s1) +/* 079E74 800E09C4 14500008 */ bne $v0, $s0, .L800E09E8 +/* 079E78 800E09C8 3C03F7FF */ lui $v1, 0xf7ff +/* 079E7C 800E09CC 8E220000 */ lw $v0, ($s1) +/* 079E80 800E09D0 3C030800 */ lui $v1, 0x800 +/* 079E84 800E09D4 00431024 */ and $v0, $v0, $v1 +/* 079E88 800E09D8 14400036 */ bnez $v0, .L800E0AB4 +/* 079E8C 800E09DC 00000000 */ nop +/* 079E90 800E09E0 0803827F */ j .L800E09FC +/* 079E94 800E09E4 A63000C6 */ sh $s0, 0xc6($s1) + +.L800E09E8: +/* 079E98 800E09E8 8E220000 */ lw $v0, ($s1) +/* 079E9C 800E09EC 3463FFFF */ ori $v1, $v1, 0xffff +/* 079EA0 800E09F0 00431024 */ and $v0, $v0, $v1 +/* 079EA4 800E09F4 AE220000 */ sw $v0, ($s1) +/* 079EA8 800E09F8 A63000C6 */ sh $s0, 0xc6($s1) +.L800E09FC: +/* 079EAC 800E09FC 12400009 */ beqz $s2, .L800E0A24 +/* 079EB0 800E0A00 00000000 */ nop +/* 079EB4 800E0A04 0600000F */ bltz $s0, .L800E0A44 +/* 079EB8 800E0A08 00000000 */ nop +/* 079EBC 800E0A0C 0C04417A */ jal get_entity_by_index +/* 079EC0 800E0A10 0200202D */ daddu $a0, $s0, $zero +/* 079EC4 800E0A14 8C420000 */ lw $v0, ($v0) +/* 079EC8 800E0A18 30421000 */ andi $v0, $v0, 0x1000 +/* 079ECC 800E0A1C 10400009 */ beqz $v0, .L800E0A44 +/* 079ED0 800E0A20 00000000 */ nop +.L800E0A24: +/* 079ED4 800E0A24 922200B4 */ lbu $v0, 0xb4($s1) +/* 079ED8 800E0A28 2C420003 */ sltiu $v0, $v0, 3 +/* 079EDC 800E0A2C 10400005 */ beqz $v0, .L800E0A44 +/* 079EE0 800E0A30 24040002 */ addiu $a0, $zero, 2 +/* 079EE4 800E0A34 8E220004 */ lw $v0, 4($s1) +/* 079EE8 800E0A38 34420010 */ ori $v0, $v0, 0x10 +/* 079EEC 800E0A3C 0C03BCF5 */ jal func_800EF3D4 +/* 079EF0 800E0A40 AE220004 */ sw $v0, 4($s1) +.L800E0A44: +/* 079EF4 800E0A44 8E220004 */ lw $v0, 4($s1) +/* 079EF8 800E0A48 30420010 */ andi $v0, $v0, 0x10 +/* 079EFC 800E0A4C 14400007 */ bnez $v0, .L800E0A6C +/* 079F00 800E0A50 00000000 */ nop +/* 079F04 800E0A54 0C03BCF5 */ jal func_800EF3D4 +/* 079F08 800E0A58 0000202D */ daddu $a0, $zero, $zero +/* 079F0C 800E0A5C 0C03BCE9 */ jal func_800EF3A4 +/* 079F10 800E0A60 00000000 */ nop +/* 079F14 800E0A64 080382AD */ j .L800E0AB4 +/* 079F18 800E0A68 00000000 */ nop + +.L800E0A6C: +/* 079F1C 800E0A6C 3C108011 */ lui $s0, 0x8011 +/* 079F20 800E0A70 2610C958 */ addiu $s0, $s0, -0x36a8 +/* 079F24 800E0A74 8E020000 */ lw $v0, ($s0) +/* 079F28 800E0A78 1440000C */ bnez $v0, .L800E0AAC +/* 079F2C 800E0A7C 3C06802B */ lui $a2, 0x802b +/* 079F30 800E0A80 3C0400E2 */ lui $a0, 0xe2 +/* 079F34 800E0A84 24840110 */ addiu $a0, $a0, 0x110 +/* 079F38 800E0A88 3C0500E2 */ lui $a1, 0xe2 +/* 079F3C 800E0A8C 24A50EB0 */ addiu $a1, $a1, 0xeb0 +/* 079F40 800E0A90 0C00A5CF */ jal dma_copy +/* 079F44 800E0A94 34C67000 */ ori $a2, $a2, 0x7000 +/* 079F48 800E0A98 3C02802B */ lui $v0, 0x802b +/* 079F4C 800E0A9C 244270B4 */ addiu $v0, $v0, 0x70b4 +/* 079F50 800E0AA0 10400004 */ beqz $v0, .L800E0AB4 +/* 079F54 800E0AA4 AE020000 */ sw $v0, ($s0) +/* 079F58 800E0AA8 8E020000 */ lw $v0, ($s0) +.L800E0AAC: +/* 079F5C 800E0AAC 0040F809 */ jalr $v0 +/* 079F60 800E0AB0 00000000 */ nop +.L800E0AB4: +/* 079F64 800E0AB4 8FBF0020 */ lw $ra, 0x20($sp) +/* 079F68 800E0AB8 8FB3001C */ lw $s3, 0x1c($sp) +/* 079F6C 800E0ABC 8FB20018 */ lw $s2, 0x18($sp) +/* 079F70 800E0AC0 8FB10014 */ lw $s1, 0x14($sp) +/* 079F74 800E0AC4 8FB00010 */ lw $s0, 0x10($sp) +/* 079F78 800E0AC8 03E00008 */ jr $ra +/* 079F7C 800E0ACC 27BD0028 */ addiu $sp, $sp, 0x28 + +func_800E0AD0: +/* 079F80 800E0AD0 3C02800F */ lui $v0, 0x800f +/* 079F84 800E0AD4 8C427B30 */ lw $v0, 0x7b30($v0) +/* 079F88 800E0AD8 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 079F8C 800E0ADC AFBF0010 */ sw $ra, 0x10($sp) +/* 079F90 800E0AE0 8C420004 */ lw $v0, 4($v0) +/* 079F94 800E0AE4 30420010 */ andi $v0, $v0, 0x10 +/* 079F98 800E0AE8 10400007 */ beqz $v0, .L800E0B08 +/* 079F9C 800E0AEC 00000000 */ nop +/* 079FA0 800E0AF0 3C028011 */ lui $v0, 0x8011 +/* 079FA4 800E0AF4 8C42C958 */ lw $v0, -0x36a8($v0) +/* 079FA8 800E0AF8 10400003 */ beqz $v0, .L800E0B08 +/* 079FAC 800E0AFC 00000000 */ nop +/* 079FB0 800E0B00 0C0ADC7A */ jal func_802B71E8 +/* 079FB4 800E0B04 00000000 */ nop +.L800E0B08: +/* 079FB8 800E0B08 8FBF0010 */ lw $ra, 0x10($sp) +/* 079FBC 800E0B0C 03E00008 */ jr $ra +/* 079FC0 800E0B10 27BD0018 */ addiu $sp, $sp, 0x18 + +func_800E0B14: +/* 079FC4 800E0B14 3C02800F */ lui $v0, 0x800f +/* 079FC8 800E0B18 8C427B30 */ lw $v0, 0x7b30($v0) +/* 079FCC 800E0B1C 8C430004 */ lw $v1, 4($v0) +/* 079FD0 800E0B20 2404FFEF */ addiu $a0, $zero, -0x11 +/* 079FD4 800E0B24 3C018011 */ lui $at, 0x8011 +/* 079FD8 800E0B28 AC20C958 */ sw $zero, -0x36a8($at) +/* 079FDC 800E0B2C 00641824 */ and $v1, $v1, $a0 +/* 079FE0 800E0B30 03E00008 */ jr $ra +/* 079FE4 800E0B34 AC430004 */ sw $v1, 4($v0) + +func_800E0B38: +/* 079FE8 800E0B38 3C028007 */ lui $v0, 0x8007 +/* 079FEC 800E0B3C 8C42419C */ lw $v0, 0x419c($v0) +/* 079FF0 800E0B40 80420070 */ lb $v0, 0x70($v0) +/* 079FF4 800E0B44 3C048011 */ lui $a0, 0x8011 +/* 079FF8 800E0B48 2484F290 */ addiu $a0, $a0, -0xd70 +/* 079FFC 800E0B4C 1440000E */ bnez $v0, .L800E0B88 +/* 07A000 800E0B50 24050001 */ addiu $a1, $zero, 1 +/* 07A004 800E0B54 24830004 */ addiu $v1, $a0, 4 +/* 07A008 800E0B58 24840008 */ addiu $a0, $a0, 8 +.L800E0B5C: +/* 07A00C 800E0B5C 90820014 */ lbu $v0, 0x14($a0) +/* 07A010 800E0B60 50400005 */ beql $v0, $zero, .L800E0B78 +/* 07A014 800E0B64 24630004 */ addiu $v1, $v1, 4 +/* 07A018 800E0B68 8C6202C4 */ lw $v0, 0x2c4($v1) +/* 07A01C 800E0B6C 24420001 */ addiu $v0, $v0, 1 +/* 07A020 800E0B70 AC6202C4 */ sw $v0, 0x2c4($v1) +/* 07A024 800E0B74 24630004 */ addiu $v1, $v1, 4 +.L800E0B78: +/* 07A028 800E0B78 24A50001 */ addiu $a1, $a1, 1 +/* 07A02C 800E0B7C 28A2000C */ slti $v0, $a1, 0xc +/* 07A030 800E0B80 1440FFF6 */ bnez $v0, .L800E0B5C +/* 07A034 800E0B84 24840008 */ addiu $a0, $a0, 8 +.L800E0B88: +/* 07A038 800E0B88 03E00008 */ jr $ra +/* 07A03C 800E0B8C 00000000 */ nop + +func_800E0B90: +/* 07A040 800E0B90 3C038007 */ lui $v1, 0x8007 +/* 07A044 800E0B94 8C637410 */ lw $v1, 0x7410($v1) +/* 07A048 800E0B98 27BDFFD0 */ addiu $sp, $sp, -0x30 +/* 07A04C 800E0B9C AFB10014 */ sw $s1, 0x14($sp) +/* 07A050 800E0BA0 3C118011 */ lui $s1, 0x8011 +/* 07A054 800E0BA4 2631EFC8 */ addiu $s1, $s1, -0x1038 +/* 07A058 800E0BA8 AFBF0018 */ sw $ra, 0x18($sp) +/* 07A05C 800E0BAC AFB00010 */ sw $s0, 0x10($sp) +/* 07A060 800E0BB0 F7B60028 */ sdc1 $f22, 0x28($sp) +/* 07A064 800E0BB4 F7B40020 */ sdc1 $f20, 0x20($sp) +/* 07A068 800E0BB8 00031080 */ sll $v0, $v1, 2 +/* 07A06C 800E0BBC 00431021 */ addu $v0, $v0, $v1 +/* 07A070 800E0BC0 00021080 */ sll $v0, $v0, 2 +/* 07A074 800E0BC4 00431023 */ subu $v0, $v0, $v1 +/* 07A078 800E0BC8 000218C0 */ sll $v1, $v0, 3 +/* 07A07C 800E0BCC 00431021 */ addu $v0, $v0, $v1 +/* 07A080 800E0BD0 000210C0 */ sll $v0, $v0, 3 +/* 07A084 800E0BD4 3C01800B */ lui $at, 0x800b +/* 07A088 800E0BD8 00220821 */ addu $at, $at, $v0 +/* 07A08C 800E0BDC C4361DEC */ lwc1 $f22, 0x1dec($at) +/* 07A090 800E0BE0 C62E0084 */ lwc1 $f14, 0x84($s1) +/* 07A094 800E0BE4 0C00A70A */ jal get_clamped_angle_diff +/* 07A098 800E0BE8 4600B306 */ mov.s $f12, $f22 +/* 07A09C 800E0BEC 46000506 */ mov.s $f20, $f0 +/* 07A0A0 800E0BF0 3C01C0A0 */ lui $at, 0xc0a0 +/* 07A0A4 800E0BF4 44810000 */ mtc1 $at, $f0 +/* 07A0A8 800E0BF8 3C02800F */ lui $v0, 0x800f +/* 07A0AC 800E0BFC 24427B48 */ addiu $v0, $v0, 0x7b48 +/* 07A0B0 800E0C00 4600A03C */ c.lt.s $f20, $f0 +/* 07A0B4 800E0C04 00000000 */ nop +/* 07A0B8 800E0C08 4500000B */ bc1f .L800E0C38 +/* 07A0BC 800E0C0C AC400000 */ sw $zero, ($v0) +/* 07A0C0 800E0C10 3C01C32F */ lui $at, 0xc32f +/* 07A0C4 800E0C14 44810000 */ mtc1 $at, $f0 +/* 07A0C8 800E0C18 00000000 */ nop +/* 07A0CC 800E0C1C 4614003C */ c.lt.s $f0, $f20 +/* 07A0D0 800E0C20 00000000 */ nop +/* 07A0D4 800E0C24 45000004 */ bc1f .L800E0C38 +/* 07A0D8 800E0C28 0000182D */ daddu $v1, $zero, $zero +/* 07A0DC 800E0C2C C4540000 */ lwc1 $f20, ($v0) +/* 07A0E0 800E0C30 08038324 */ j .L800E0C90 +/* 07A0E4 800E0C34 00000000 */ nop + +.L800E0C38: +/* 07A0E8 800E0C38 3C0140A0 */ lui $at, 0x40a0 +/* 07A0EC 800E0C3C 44810000 */ mtc1 $at, $f0 +/* 07A0F0 800E0C40 00000000 */ nop +/* 07A0F4 800E0C44 4614003C */ c.lt.s $f0, $f20 +/* 07A0F8 800E0C48 00000000 */ nop +/* 07A0FC 800E0C4C 4500000C */ bc1f .L800E0C80 +/* 07A100 800E0C50 00000000 */ nop +/* 07A104 800E0C54 3C01432F */ lui $at, 0x432f +/* 07A108 800E0C58 44810000 */ mtc1 $at, $f0 +/* 07A10C 800E0C5C 00000000 */ nop +/* 07A110 800E0C60 4600A03C */ c.lt.s $f20, $f0 +/* 07A114 800E0C64 00000000 */ nop +/* 07A118 800E0C68 45000005 */ bc1f .L800E0C80 +/* 07A11C 800E0C6C 24030001 */ addiu $v1, $zero, 1 +/* 07A120 800E0C70 3C014334 */ lui $at, 0x4334 +/* 07A124 800E0C74 4481A000 */ mtc1 $at, $f20 +/* 07A128 800E0C78 08038324 */ j .L800E0C90 +/* 07A12C 800E0C7C 00000000 */ nop + +.L800E0C80: +/* 07A130 800E0C80 3C01800F */ lui $at, 0x800f +/* 07A134 800E0C84 C4347B40 */ lwc1 $f20, 0x7b40($at) +/* 07A138 800E0C88 4680A520 */ cvt.s.w $f20, $f20 +/* 07A13C 800E0C8C 24030002 */ addiu $v1, $zero, 2 +.L800E0C90: +/* 07A140 800E0C90 3C048011 */ lui $a0, 0x8011 +/* 07A144 800E0C94 2484C95C */ addiu $a0, $a0, -0x36a4 +/* 07A148 800E0C98 8C820000 */ lw $v0, ($a0) +/* 07A14C 800E0C9C 10430022 */ beq $v0, $v1, .L800E0D28 +/* 07A150 800E0CA0 24020002 */ addiu $v0, $zero, 2 +/* 07A154 800E0CA4 10620020 */ beq $v1, $v0, .L800E0D28 +/* 07A158 800E0CA8 00000000 */ nop +/* 07A15C 800E0CAC 3C028007 */ lui $v0, 0x8007 +/* 07A160 800E0CB0 8C427410 */ lw $v0, 0x7410($v0) +/* 07A164 800E0CB4 AC830000 */ sw $v1, ($a0) +/* 07A168 800E0CB8 00021080 */ sll $v0, $v0, 2 +/* 07A16C 800E0CBC 10600005 */ beqz $v1, .L800E0CD4 +/* 07A170 800E0CC0 02221021 */ addu $v0, $s1, $v0 +/* 07A174 800E0CC4 3C014334 */ lui $at, 0x4334 +/* 07A178 800E0CC8 44810000 */ mtc1 $at, $f0 +/* 07A17C 800E0CCC 08038339 */ j .L800E0CE4 +/* 07A180 800E0CD0 E4400090 */ swc1 $f0, 0x90($v0) + +.L800E0CD4: +/* 07A184 800E0CD4 3C01C334 */ lui $at, 0xc334 +/* 07A188 800E0CD8 44810000 */ mtc1 $at, $f0 +/* 07A18C 800E0CDC 00000000 */ nop +/* 07A190 800E0CE0 E4400090 */ swc1 $f0, 0x90($v0) +.L800E0CE4: +/* 07A194 800E0CE4 C62E0084 */ lwc1 $f14, 0x84($s1) +/* 07A198 800E0CE8 0C00A70A */ jal get_clamped_angle_diff +/* 07A19C 800E0CEC 4600B306 */ mov.s $f12, $f22 +/* 07A1A0 800E0CF0 3C0142B4 */ lui $at, 0x42b4 +/* 07A1A4 800E0CF4 44811000 */ mtc1 $at, $f2 +/* 07A1A8 800E0CF8 46000005 */ abs.s $f0, $f0 +/* 07A1AC 800E0CFC 4600103E */ c.le.s $f2, $f0 +/* 07A1B0 800E0D00 00000000 */ nop +/* 07A1B4 800E0D04 45000008 */ bc1f .L800E0D28 +/* 07A1B8 800E0D08 00000000 */ nop +/* 07A1BC 800E0D0C 3C028007 */ lui $v0, 0x8007 +/* 07A1C0 800E0D10 8C427410 */ lw $v0, 0x7410($v0) +/* 07A1C4 800E0D14 00021080 */ sll $v0, $v0, 2 +/* 07A1C8 800E0D18 02221021 */ addu $v0, $s1, $v0 +/* 07A1CC 800E0D1C C4400090 */ lwc1 $f0, 0x90($v0) +/* 07A1D0 800E0D20 46000007 */ neg.s $f0, $f0 +/* 07A1D4 800E0D24 E4400090 */ swc1 $f0, 0x90($v0) +.L800E0D28: +/* 07A1D8 800E0D28 3C028007 */ lui $v0, 0x8007 +/* 07A1DC 800E0D2C 8C427410 */ lw $v0, 0x7410($v0) +/* 07A1E0 800E0D30 44801000 */ mtc1 $zero, $f2 +/* 07A1E4 800E0D34 00021080 */ sll $v0, $v0, 2 +/* 07A1E8 800E0D38 02221021 */ addu $v0, $s1, $v0 +/* 07A1EC 800E0D3C C4440090 */ lwc1 $f4, 0x90($v0) +/* 07A1F0 800E0D40 46022032 */ c.eq.s $f4, $f2 +/* 07A1F4 800E0D44 00000000 */ nop +/* 07A1F8 800E0D48 4501001B */ bc1t .L800E0DB8 +/* 07A1FC 800E0D4C 00000000 */ nop +/* 07A200 800E0D50 4602203C */ c.lt.s $f4, $f2 +/* 07A204 800E0D54 00000000 */ nop +/* 07A208 800E0D58 4500000B */ bc1f .L800E0D88 +/* 07A20C 800E0D5C 00000000 */ nop +/* 07A210 800E0D60 3C0141E0 */ lui $at, 0x41e0 +/* 07A214 800E0D64 44810000 */ mtc1 $at, $f0 +/* 07A218 800E0D68 00000000 */ nop +/* 07A21C 800E0D6C 46002100 */ add.s $f4, $f4, $f0 +/* 07A220 800E0D70 4604103C */ c.lt.s $f2, $f4 +/* 07A224 800E0D74 00000000 */ nop +/* 07A228 800E0D78 45030003 */ bc1tl .L800E0D88 +/* 07A22C 800E0D7C 46001106 */ mov.s $f4, $f2 +/* 07A230 800E0D80 44801000 */ mtc1 $zero, $f2 +/* 07A234 800E0D84 00000000 */ nop +.L800E0D88: +/* 07A238 800E0D88 4604103C */ c.lt.s $f2, $f4 +/* 07A23C 800E0D8C 00000000 */ nop +/* 07A240 800E0D90 45000009 */ bc1f .L800E0DB8 +/* 07A244 800E0D94 00000000 */ nop +/* 07A248 800E0D98 3C0141E0 */ lui $at, 0x41e0 +/* 07A24C 800E0D9C 44810000 */ mtc1 $at, $f0 +/* 07A250 800E0DA0 00000000 */ nop +/* 07A254 800E0DA4 46002101 */ sub.s $f4, $f4, $f0 +/* 07A258 800E0DA8 4602203C */ c.lt.s $f4, $f2 +/* 07A25C 800E0DAC 00000000 */ nop +/* 07A260 800E0DB0 45030001 */ bc1tl .L800E0DB8 +/* 07A264 800E0DB4 46001106 */ mov.s $f4, $f2 +.L800E0DB8: +/* 07A268 800E0DB8 8E220000 */ lw $v0, ($s1) +/* 07A26C 800E0DBC 3C030020 */ lui $v1, 0x20 +/* 07A270 800E0DC0 00431024 */ and $v0, $v0, $v1 +/* 07A274 800E0DC4 10400002 */ beqz $v0, .L800E0DD0 +/* 07A278 800E0DC8 00000000 */ nop +/* 07A27C 800E0DCC 44802000 */ mtc1 $zero, $f4 +.L800E0DD0: +/* 07A280 800E0DD0 3C108007 */ lui $s0, 0x8007 +/* 07A284 800E0DD4 26107410 */ addiu $s0, $s0, 0x7410 +/* 07A288 800E0DD8 8E020000 */ lw $v0, ($s0) +/* 07A28C 800E0DDC 4600A306 */ mov.s $f12, $f20 +/* 07A290 800E0DE0 00021080 */ sll $v0, $v0, 2 +/* 07A294 800E0DE4 02221021 */ addu $v0, $s1, $v0 +/* 07A298 800E0DE8 0C00A6C9 */ jal clamp_angle +/* 07A29C 800E0DEC E4440090 */ swc1 $f4, 0x90($v0) +/* 07A2A0 800E0DF0 8E020000 */ lw $v0, ($s0) +/* 07A2A4 800E0DF4 00021080 */ sll $v0, $v0, 2 +/* 07A2A8 800E0DF8 02221021 */ addu $v0, $s1, $v0 +/* 07A2AC 800E0DFC C44C0090 */ lwc1 $f12, 0x90($v0) +/* 07A2B0 800E0E00 46000106 */ mov.s $f4, $f0 +/* 07A2B4 800E0E04 4600220D */ trunc.w.s $f8, $f4 +/* 07A2B8 800E0E08 3C01800F */ lui $at, 0x800f +/* 07A2BC 800E0E0C E4287B40 */ swc1 $f8, 0x7b40($at) +/* 07A2C0 800E0E10 0C00A6C9 */ jal clamp_angle +/* 07A2C4 800E0E14 46046300 */ add.s $f12, $f12, $f4 +/* 07A2C8 800E0E18 C6220054 */ lwc1 $f2, 0x54($s1) +/* 07A2CC 800E0E1C 44803000 */ mtc1 $zero, $f6 +/* 07A2D0 800E0E20 00000000 */ nop +/* 07A2D4 800E0E24 46061032 */ c.eq.s $f2, $f6 +/* 07A2D8 800E0E28 00000000 */ nop +/* 07A2DC 800E0E2C 45000003 */ bc1f .L800E0E3C +/* 07A2E0 800E0E30 46000106 */ mov.s $f4, $f0 +/* 07A2E4 800E0E34 3C01800F */ lui $at, 0x800f +/* 07A2E8 800E0E38 E4267B48 */ swc1 $f6, 0x7b48($at) +.L800E0E3C: +/* 07A2EC 800E0E3C 3C020002 */ lui $v0, 2 +/* 07A2F0 800E0E40 8E250000 */ lw $a1, ($s1) +/* 07A2F4 800E0E44 8E3000B8 */ lw $s0, 0xb8($s1) +/* 07A2F8 800E0E48 00A21024 */ and $v0, $a1, $v0 +/* 07A2FC 800E0E4C 5440004A */ bnezl $v0, .L800E0F78 +/* 07A300 800E0E50 AE3000A4 */ sw $s0, 0xa4($s1) +/* 07A304 800E0E54 00101403 */ sra $v0, $s0, 0x10 +/* 07A308 800E0E58 304400FF */ andi $a0, $v0, 0xff +/* 07A30C 800E0E5C 822300B4 */ lb $v1, 0xb4($s1) +/* 07A310 800E0E60 2402000F */ addiu $v0, $zero, 0xf +/* 07A314 800E0E64 10620024 */ beq $v1, $v0, .L800E0EF8 +/* 07A318 800E0E68 3C020010 */ lui $v0, 0x10 +/* 07A31C 800E0E6C 00A21024 */ and $v0, $a1, $v0 +/* 07A320 800E0E70 14400022 */ bnez $v0, .L800E0EFC +/* 07A324 800E0E74 3C031000 */ lui $v1, 0x1000 +/* 07A328 800E0E78 3C01800F */ lui $at, 0x800f +/* 07A32C 800E0E7C C4207B48 */ lwc1 $f0, 0x7b48($at) +/* 07A330 800E0E80 8E220000 */ lw $v0, ($s1) +/* 07A334 800E0E84 46002000 */ add.s $f0, $f4, $f0 +/* 07A338 800E0E88 8E3000B8 */ lw $s0, 0xb8($s1) +/* 07A33C 800E0E8C 00431024 */ and $v0, $v0, $v1 +/* 07A340 800E0E90 14400015 */ bnez $v0, .L800E0EE8 +/* 07A344 800E0E94 E62000A8 */ swc1 $f0, 0xa8($s1) +/* 07A348 800E0E98 24020001 */ addiu $v0, $zero, 1 +/* 07A34C 800E0E9C 10820005 */ beq $a0, $v0, .L800E0EB4 +/* 07A350 800E0EA0 24020006 */ addiu $v0, $zero, 6 +/* 07A354 800E0EA4 10820003 */ beq $a0, $v0, .L800E0EB4 +/* 07A358 800E0EA8 2402000A */ addiu $v0, $zero, 0xa +/* 07A35C 800E0EAC 1482000E */ bne $a0, $v0, .L800E0EE8 +/* 07A360 800E0EB0 00000000 */ nop +.L800E0EB4: +/* 07A364 800E0EB4 C62E0084 */ lwc1 $f14, 0x84($s1) +/* 07A368 800E0EB8 0C00A70A */ jal get_clamped_angle_diff +/* 07A36C 800E0EBC 4600B306 */ mov.s $f12, $f22 +/* 07A370 800E0EC0 3C014270 */ lui $at, 0x4270 +/* 07A374 800E0EC4 44811000 */ mtc1 $at, $f2 +/* 07A378 800E0EC8 46000005 */ abs.s $f0, $f0 +/* 07A37C 800E0ECC 4602003C */ c.lt.s $f0, $f2 +/* 07A380 800E0ED0 00000000 */ nop +/* 07A384 800E0ED4 45000004 */ bc1f .L800E0EE8 +/* 07A388 800E0ED8 00000000 */ nop +/* 07A38C 800E0EDC 0C0383FB */ jal func_800E0FEC +/* 07A390 800E0EE0 0200202D */ daddu $a0, $s0, $zero +/* 07A394 800E0EE4 0040802D */ daddu $s0, $v0, $zero +.L800E0EE8: +/* 07A398 800E0EE8 C6200080 */ lwc1 $f0, 0x80($s1) +/* 07A39C 800E0EEC AE3000A4 */ sw $s0, 0xa4($s1) +/* 07A3A0 800E0EF0 080383DE */ j .L800E0F78 +/* 07A3A4 800E0EF4 E6200084 */ swc1 $f0, 0x84($s1) + +.L800E0EF8: +/* 07A3A8 800E0EF8 3C031000 */ lui $v1, 0x1000 +.L800E0EFC: +/* 07A3AC 800E0EFC 8E220000 */ lw $v0, ($s1) +/* 07A3B0 800E0F00 8E3000B8 */ lw $s0, 0xb8($s1) +/* 07A3B4 800E0F04 00431024 */ and $v0, $v0, $v1 +/* 07A3B8 800E0F08 5440001B */ bnezl $v0, .L800E0F78 +/* 07A3BC 800E0F0C AE3000A4 */ sw $s0, 0xa4($s1) +/* 07A3C0 800E0F10 24020001 */ addiu $v0, $zero, 1 +/* 07A3C4 800E0F14 10820005 */ beq $a0, $v0, .L800E0F2C +/* 07A3C8 800E0F18 24020006 */ addiu $v0, $zero, 6 +/* 07A3CC 800E0F1C 10820003 */ beq $a0, $v0, .L800E0F2C +/* 07A3D0 800E0F20 2402000A */ addiu $v0, $zero, 0xa +/* 07A3D4 800E0F24 54820014 */ bnel $a0, $v0, .L800E0F78 +/* 07A3D8 800E0F28 AE3000A4 */ sw $s0, 0xa4($s1) +.L800E0F2C: +/* 07A3DC 800E0F2C C62200A8 */ lwc1 $f2, 0xa8($s1) +/* 07A3E0 800E0F30 3C0143AF */ lui $at, 0x43af +/* 07A3E4 800E0F34 44810000 */ mtc1 $at, $f0 +/* 07A3E8 800E0F38 00000000 */ nop +/* 07A3EC 800E0F3C 4600103C */ c.lt.s $f2, $f0 +/* 07A3F0 800E0F40 00000000 */ nop +/* 07A3F4 800E0F44 4502000C */ bc1fl .L800E0F78 +/* 07A3F8 800E0F48 AE3000A4 */ sw $s0, 0xa4($s1) +/* 07A3FC 800E0F4C 3C01433E */ lui $at, 0x433e +/* 07A400 800E0F50 44810000 */ mtc1 $at, $f0 +/* 07A404 800E0F54 00000000 */ nop +/* 07A408 800E0F58 4602003C */ c.lt.s $f0, $f2 +/* 07A40C 800E0F5C 00000000 */ nop +/* 07A410 800E0F60 45020005 */ bc1fl .L800E0F78 +/* 07A414 800E0F64 AE3000A4 */ sw $s0, 0xa4($s1) +/* 07A418 800E0F68 0C0383FB */ jal func_800E0FEC +/* 07A41C 800E0F6C 0200202D */ daddu $a0, $s0, $zero +/* 07A420 800E0F70 0040802D */ daddu $s0, $v0, $zero +/* 07A424 800E0F74 AE3000A4 */ sw $s0, 0xa4($s1) +.L800E0F78: +/* 07A428 800E0F78 3C020004 */ lui $v0, 4 +/* 07A42C 800E0F7C 8E230000 */ lw $v1, ($s1) +/* 07A430 800E0F80 3C013F80 */ lui $at, 0x3f80 +/* 07A434 800E0F84 44810000 */ mtc1 $at, $f0 +/* 07A438 800E0F88 00621024 */ and $v0, $v1, $v0 +/* 07A43C 800E0F8C 10400003 */ beqz $v0, .L800E0F9C +/* 07A440 800E0F90 3C022000 */ lui $v0, 0x2000 +/* 07A444 800E0F94 3C013F00 */ lui $at, 0x3f00 +/* 07A448 800E0F98 44810000 */ mtc1 $at, $f0 +.L800E0F9C: +/* 07A44C 800E0F9C 00621024 */ and $v0, $v1, $v0 +/* 07A450 800E0FA0 10400002 */ beqz $v0, .L800E0FAC +/* 07A454 800E0FA4 00000000 */ nop +/* 07A458 800E0FA8 44800000 */ mtc1 $zero, $f0 +.L800E0FAC: +/* 07A45C 800E0FAC 8E2500A4 */ lw $a1, 0xa4($s1) +/* 07A460 800E0FB0 44060000 */ mfc1 $a2, $f0 +/* 07A464 800E0FB4 0C0B76A3 */ jal func_802DDA8C +/* 07A468 800E0FB8 0000202D */ daddu $a0, $zero, $zero +/* 07A46C 800E0FBC A62200BC */ sh $v0, 0xbc($s1) +/* 07A470 800E0FC0 8E220000 */ lw $v0, ($s1) +/* 07A474 800E0FC4 3C034000 */ lui $v1, 0x4000 +/* 07A478 800E0FC8 00431025 */ or $v0, $v0, $v1 +/* 07A47C 800E0FCC AE220000 */ sw $v0, ($s1) +/* 07A480 800E0FD0 8FBF0018 */ lw $ra, 0x18($sp) +/* 07A484 800E0FD4 8FB10014 */ lw $s1, 0x14($sp) +/* 07A488 800E0FD8 8FB00010 */ lw $s0, 0x10($sp) +/* 07A48C 800E0FDC D7B60028 */ ldc1 $f22, 0x28($sp) +/* 07A490 800E0FE0 D7B40020 */ ldc1 $f20, 0x20($sp) +/* 07A494 800E0FE4 03E00008 */ jr $ra +/* 07A498 800E0FE8 27BD0030 */ addiu $sp, $sp, 0x30 + +func_800E0FEC: +/* 07A49C 800E0FEC 00041403 */ sra $v0, $a0, 0x10 +/* 07A4A0 800E0FF0 304300FF */ andi $v1, $v0, 0xff +/* 07A4A4 800E0FF4 24020001 */ addiu $v0, $zero, 1 +/* 07A4A8 800E0FF8 10620009 */ beq $v1, $v0, .L800E1020 +/* 07A4AC 800E0FFC 0000282D */ daddu $a1, $zero, $zero +/* 07A4B0 800E1000 24020006 */ addiu $v0, $zero, 6 +/* 07A4B4 800E1004 10620003 */ beq $v1, $v0, .L800E1014 +/* 07A4B8 800E1008 2402000A */ addiu $v0, $zero, 0xa +/* 07A4BC 800E100C 14620009 */ bne $v1, $v0, .L800E1034 +/* 07A4C0 800E1010 00000000 */ nop +.L800E1014: +/* 07A4C4 800E1014 24020001 */ addiu $v0, $zero, 1 +/* 07A4C8 800E1018 14620008 */ bne $v1, $v0, .L800E103C +/* 07A4CC 800E101C 24020006 */ addiu $v0, $zero, 6 +.L800E1020: +/* 07A4D0 800E1020 3C020001 */ lui $v0, 1 +/* 07A4D4 800E1024 3442000C */ ori $v0, $v0, 0xc +/* 07A4D8 800E1028 0044102A */ slt $v0, $v0, $a0 +/* 07A4DC 800E102C 1040003C */ beqz $v0, .L800E1120 +/* 07A4E0 800E1030 00000000 */ nop +.L800E1034: +/* 07A4E4 800E1034 03E00008 */ jr $ra +/* 07A4E8 800E1038 0080102D */ daddu $v0, $a0, $zero + +.L800E103C: +/* 07A4EC 800E103C 14620032 */ bne $v1, $v0, .L800E1108 +/* 07A4F0 800E1040 2402000A */ addiu $v0, $zero, 0xa +/* 07A4F4 800E1044 3C020006 */ lui $v0, 6 +/* 07A4F8 800E1048 3442000C */ ori $v0, $v0, 0xc +/* 07A4FC 800E104C 14820004 */ bne $a0, $v0, .L800E1060 +/* 07A500 800E1050 3C020006 */ lui $v0, 6 +/* 07A504 800E1054 3C050006 */ lui $a1, 6 +/* 07A508 800E1058 08038448 */ j .L800E1120 +/* 07A50C 800E105C 34A5000D */ ori $a1, $a1, 0xd + +.L800E1060: +/* 07A510 800E1060 3442000E */ ori $v0, $v0, 0xe +/* 07A514 800E1064 14820004 */ bne $a0, $v0, .L800E1078 +/* 07A518 800E1068 3C020006 */ lui $v0, 6 +/* 07A51C 800E106C 3C050006 */ lui $a1, 6 +/* 07A520 800E1070 08038448 */ j .L800E1120 +/* 07A524 800E1074 34A5000F */ ori $a1, $a1, 0xf + +.L800E1078: +/* 07A528 800E1078 34420010 */ ori $v0, $v0, 0x10 +/* 07A52C 800E107C 14820004 */ bne $a0, $v0, .L800E1090 +/* 07A530 800E1080 3C020006 */ lui $v0, 6 +/* 07A534 800E1084 3C050006 */ lui $a1, 6 +/* 07A538 800E1088 08038448 */ j .L800E1120 +/* 07A53C 800E108C 34A50011 */ ori $a1, $a1, 0x11 + +.L800E1090: +/* 07A540 800E1090 34420012 */ ori $v0, $v0, 0x12 +/* 07A544 800E1094 14820004 */ bne $a0, $v0, .L800E10A8 +/* 07A548 800E1098 3C020006 */ lui $v0, 6 +/* 07A54C 800E109C 3C050006 */ lui $a1, 6 +/* 07A550 800E10A0 08038448 */ j .L800E1120 +/* 07A554 800E10A4 34A50013 */ ori $a1, $a1, 0x13 + +.L800E10A8: +/* 07A558 800E10A8 34420014 */ ori $v0, $v0, 0x14 +/* 07A55C 800E10AC 14820004 */ bne $a0, $v0, .L800E10C0 +/* 07A560 800E10B0 3C020006 */ lui $v0, 6 +/* 07A564 800E10B4 3C050006 */ lui $a1, 6 +/* 07A568 800E10B8 08038448 */ j .L800E1120 +/* 07A56C 800E10BC 34A50015 */ ori $a1, $a1, 0x15 + +.L800E10C0: +/* 07A570 800E10C0 34420016 */ ori $v0, $v0, 0x16 +/* 07A574 800E10C4 14820004 */ bne $a0, $v0, .L800E10D8 +/* 07A578 800E10C8 3C020006 */ lui $v0, 6 +/* 07A57C 800E10CC 3C050006 */ lui $a1, 6 +/* 07A580 800E10D0 08038448 */ j .L800E1120 +/* 07A584 800E10D4 34A50017 */ ori $a1, $a1, 0x17 + +.L800E10D8: +/* 07A588 800E10D8 34420018 */ ori $v0, $v0, 0x18 +/* 07A58C 800E10DC 14820004 */ bne $a0, $v0, .L800E10F0 +/* 07A590 800E10E0 3C020006 */ lui $v0, 6 +/* 07A594 800E10E4 3C050006 */ lui $a1, 6 +/* 07A598 800E10E8 08038448 */ j .L800E1120 +/* 07A59C 800E10EC 34A50019 */ ori $a1, $a1, 0x19 + +.L800E10F0: +/* 07A5A0 800E10F0 3442001A */ ori $v0, $v0, 0x1a +/* 07A5A4 800E10F4 1482000A */ bne $a0, $v0, .L800E1120 +/* 07A5A8 800E10F8 00000000 */ nop +/* 07A5AC 800E10FC 3C050006 */ lui $a1, 6 +/* 07A5B0 800E1100 08038448 */ j .L800E1120 +/* 07A5B4 800E1104 34A5001B */ ori $a1, $a1, 0x1b + +.L800E1108: +/* 07A5B8 800E1108 14620005 */ bne $v1, $v0, .L800E1120 +/* 07A5BC 800E110C 3C02000A */ lui $v0, 0xa +/* 07A5C0 800E1110 34420006 */ ori $v0, $v0, 6 +/* 07A5C4 800E1114 0044102A */ slt $v0, $v0, $a0 +/* 07A5C8 800E1118 54400001 */ bnezl $v0, .L800E1120 +/* 07A5CC 800E111C 24850001 */ addiu $a1, $a0, 1 +.L800E1120: +/* 07A5D0 800E1120 14A00003 */ bnez $a1, .L800E1130 +/* 07A5D4 800E1124 3C020100 */ lui $v0, 0x100 +/* 07A5D8 800E1128 03E00008 */ jr $ra +/* 07A5DC 800E112C 00821025 */ or $v0, $a0, $v0 + +.L800E1130: +/* 07A5E0 800E1130 03E00008 */ jr $ra +/* 07A5E4 800E1134 00A0102D */ daddu $v0, $a1, $zero + +render_player: +/* 07A5E8 800E1138 3C028007 */ lui $v0, 0x8007 +/* 07A5EC 800E113C 8C42419C */ lw $v0, 0x419c($v0) +/* 07A5F0 800E1140 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 07A5F4 800E1144 AFBF0010 */ sw $ra, 0x10($sp) +/* 07A5F8 800E1148 80420078 */ lb $v0, 0x78($v0) +/* 07A5FC 800E114C 14400003 */ bnez $v0, .L800E115C +/* 07A600 800E1150 00000000 */ nop +/* 07A604 800E1154 0C03845A */ jal render_player_model +/* 07A608 800E1158 00000000 */ nop +.L800E115C: +/* 07A60C 800E115C 8FBF0010 */ lw $ra, 0x10($sp) +/* 07A610 800E1160 03E00008 */ jr $ra +/* 07A614 800E1164 27BD0018 */ addiu $sp, $sp, 0x18 + +render_player_model: +/* 07A618 800E1168 27BDFFB0 */ addiu $sp, $sp, -0x50 +/* 07A61C 800E116C AFB10044 */ sw $s1, 0x44($sp) +/* 07A620 800E1170 AFB00040 */ sw $s0, 0x40($sp) +/* 07A624 800E1174 3C108011 */ lui $s0, 0x8011 +/* 07A628 800E1178 2610EFC8 */ addiu $s0, $s0, -0x1038 +/* 07A62C 800E117C AFBF0048 */ sw $ra, 0x48($sp) +/* 07A630 800E1180 8E030000 */ lw $v1, ($s0) +/* 07A634 800E1184 3C024000 */ lui $v0, 0x4000 +/* 07A638 800E1188 00621024 */ and $v0, $v1, $v0 +/* 07A63C 800E118C 10400054 */ beqz $v0, .L800E12E0 +/* 07A640 800E1190 27B10020 */ addiu $s1, $sp, 0x20 +/* 07A644 800E1194 3C02BFFF */ lui $v0, 0xbfff +/* 07A648 800E1198 3442FFFF */ ori $v0, $v0, 0xffff +/* 07A64C 800E119C 8E050028 */ lw $a1, 0x28($s0) +/* 07A650 800E11A0 8E06002C */ lw $a2, 0x2c($s0) +/* 07A654 800E11A4 8E070030 */ lw $a3, 0x30($s0) +/* 07A658 800E11A8 3C04800A */ lui $a0, 0x800a +/* 07A65C 800E11AC 8484A634 */ lh $a0, -0x59cc($a0) +/* 07A660 800E11B0 00621024 */ and $v0, $v1, $v0 +/* 07A664 800E11B4 AE020000 */ sw $v0, ($s0) +/* 07A668 800E11B8 27A20030 */ addiu $v0, $sp, 0x30 +/* 07A66C 800E11BC AFA20010 */ sw $v0, 0x10($sp) +/* 07A670 800E11C0 27A20034 */ addiu $v0, $sp, 0x34 +/* 07A674 800E11C4 AFA20014 */ sw $v0, 0x14($sp) +/* 07A678 800E11C8 27A20038 */ addiu $v0, $sp, 0x38 +/* 07A67C 800E11CC 0C00B94E */ jal get_screen_coords +/* 07A680 800E11D0 AFA20018 */ sw $v0, 0x18($sp) +/* 07A684 800E11D4 8E020000 */ lw $v0, ($s0) +/* 07A688 800E11D8 3C030002 */ lui $v1, 2 +/* 07A68C 800E11DC 00431024 */ and $v0, $v0, $v1 +/* 07A690 800E11E0 14400026 */ bnez $v0, .L800E127C +/* 07A694 800E11E4 24020011 */ addiu $v0, $zero, 0x11 +/* 07A698 800E11E8 9203000E */ lbu $v1, 0xe($s0) +/* 07A69C 800E11EC 9202000F */ lbu $v0, 0xf($s0) +/* 07A6A0 800E11F0 1062001F */ beq $v1, $v0, .L800E1270 +/* 07A6A4 800E11F4 2C6200FE */ sltiu $v0, $v1, 0xfe +/* 07A6A8 800E11F8 10400011 */ beqz $v0, .L800E1240 +/* 07A6AC 800E11FC 3C030100 */ lui $v1, 0x100 +/* 07A6B0 800E1200 8E020004 */ lw $v0, 4($s0) +/* 07A6B4 800E1204 00431024 */ and $v0, $v0, $v1 +/* 07A6B8 800E1208 14400002 */ bnez $v0, .L800E1214 +/* 07A6BC 800E120C 24080016 */ addiu $t0, $zero, 0x16 +/* 07A6C0 800E1210 24080011 */ addiu $t0, $zero, 0x11 +.L800E1214: +/* 07A6C4 800E1214 0000202D */ daddu $a0, $zero, $zero +/* 07A6C8 800E1218 2405FFFF */ addiu $a1, $zero, -1 +/* 07A6CC 800E121C 24060007 */ addiu $a2, $zero, 7 +/* 07A6D0 800E1220 9202000E */ lbu $v0, 0xe($s0) +/* 07A6D4 800E1224 0080382D */ daddu $a3, $a0, $zero +/* 07A6D8 800E1228 A20800BE */ sb $t0, 0xbe($s0) +/* 07A6DC 800E122C AFA00010 */ sw $zero, 0x10($sp) +/* 07A6E0 800E1230 AFA00014 */ sw $zero, 0x14($sp) +/* 07A6E4 800E1234 AFA0001C */ sw $zero, 0x1c($sp) +/* 07A6E8 800E1238 0803849A */ j .L800E1268 +/* 07A6EC 800E123C AFA20018 */ sw $v0, 0x18($sp) + +.L800E1240: +/* 07A6F0 800E1240 0000202D */ daddu $a0, $zero, $zero +/* 07A6F4 800E1244 2405FFFF */ addiu $a1, $zero, -1 +/* 07A6F8 800E1248 0080302D */ daddu $a2, $a0, $zero +/* 07A6FC 800E124C 0080382D */ daddu $a3, $a0, $zero +/* 07A700 800E1250 2402000D */ addiu $v0, $zero, 0xd +/* 07A704 800E1254 A20200BE */ sb $v0, 0xbe($s0) +/* 07A708 800E1258 AFA00010 */ sw $zero, 0x10($sp) +/* 07A70C 800E125C AFA00014 */ sw $zero, 0x14($sp) +/* 07A710 800E1260 AFA00018 */ sw $zero, 0x18($sp) +/* 07A714 800E1264 AFA0001C */ sw $zero, 0x1c($sp) +.L800E1268: +/* 07A718 800E1268 0C0B77B9 */ jal func_802DDEE4 +/* 07A71C 800E126C 00000000 */ nop +.L800E1270: +/* 07A720 800E1270 9202000E */ lbu $v0, 0xe($s0) +/* 07A724 800E1274 080384A1 */ j .L800E1284 +/* 07A728 800E1278 A202000F */ sb $v0, 0xf($s0) + +.L800E127C: +/* 07A72C 800E127C A20200BE */ sb $v0, 0xbe($s0) +/* 07A730 800E1280 A200000F */ sb $zero, 0xf($s0) +.L800E1284: +/* 07A734 800E1284 8E020004 */ lw $v0, 4($s0) +/* 07A738 800E1288 30422000 */ andi $v0, $v0, 0x2000 +/* 07A73C 800E128C 14400012 */ bnez $v0, .L800E12D8 +/* 07A740 800E1290 3C030002 */ lui $v1, 2 +/* 07A744 800E1294 8FA20038 */ lw $v0, 0x38($sp) +/* 07A748 800E1298 AE300008 */ sw $s0, 8($s1) +/* 07A74C 800E129C 00021023 */ negu $v0, $v0 +/* 07A750 800E12A0 AE220004 */ sw $v0, 4($s1) +/* 07A754 800E12A4 820200BE */ lb $v0, 0xbe($s0) +/* 07A758 800E12A8 3C04800E */ lui $a0, 0x800e +/* 07A75C 800E12AC 24841704 */ addiu $a0, $a0, 0x1704 +/* 07A760 800E12B0 AE220000 */ sw $v0, ($s1) +/* 07A764 800E12B4 8E020000 */ lw $v0, ($s0) +/* 07A768 800E12B8 00431024 */ and $v0, $v0, $v1 +/* 07A76C 800E12BC 54400004 */ bnezl $v0, .L800E12D0 +/* 07A770 800E12C0 AE24000C */ sw $a0, 0xc($s1) +/* 07A774 800E12C4 3C04800E */ lui $a0, 0x800e +/* 07A778 800E12C8 248412F4 */ addiu $a0, $a0, 0x12f4 +/* 07A77C 800E12CC AE24000C */ sw $a0, 0xc($s1) +.L800E12D0: +/* 07A780 800E12D0 0C047644 */ jal queue_render_task +/* 07A784 800E12D4 0220202D */ daddu $a0, $s1, $zero +.L800E12D8: +/* 07A788 800E12D8 0C03C327 */ jal func_800F0C9C +/* 07A78C 800E12DC 00000000 */ nop +.L800E12E0: +/* 07A790 800E12E0 8FBF0048 */ lw $ra, 0x48($sp) +/* 07A794 800E12E4 8FB10044 */ lw $s1, 0x44($sp) +/* 07A798 800E12E8 8FB00040 */ lw $s0, 0x40($sp) +/* 07A79C 800E12EC 03E00008 */ jr $ra +/* 07A7A0 800E12F0 27BD0050 */ addiu $sp, $sp, 0x50 + +make_player_display_list: +/* 07A7A4 800E12F4 3C03800A */ lui $v1, 0x800a +/* 07A7A8 800E12F8 8463A634 */ lh $v1, -0x59cc($v1) +/* 07A7AC 800E12FC 27BDFEB0 */ addiu $sp, $sp, -0x150 +/* 07A7B0 800E1300 AFB20128 */ sw $s2, 0x128($sp) +/* 07A7B4 800E1304 3C128011 */ lui $s2, 0x8011 +/* 07A7B8 800E1308 2652EFC8 */ addiu $s2, $s2, -0x1038 +/* 07A7BC 800E130C AFBF012C */ sw $ra, 0x12c($sp) +/* 07A7C0 800E1310 AFB10124 */ sw $s1, 0x124($sp) +/* 07A7C4 800E1314 AFB00120 */ sw $s0, 0x120($sp) +/* 07A7C8 800E1318 F7BA0148 */ sdc1 $f26, 0x148($sp) +/* 07A7CC 800E131C F7B80140 */ sdc1 $f24, 0x140($sp) +/* 07A7D0 800E1320 F7B60138 */ sdc1 $f22, 0x138($sp) +/* 07A7D4 800E1324 F7B40130 */ sdc1 $f20, 0x130($sp) +/* 07A7D8 800E1328 00031080 */ sll $v0, $v1, 2 +/* 07A7DC 800E132C 00431021 */ addu $v0, $v0, $v1 +/* 07A7E0 800E1330 00021080 */ sll $v0, $v0, 2 +/* 07A7E4 800E1334 00431023 */ subu $v0, $v0, $v1 +/* 07A7E8 800E1338 000218C0 */ sll $v1, $v0, 3 +/* 07A7EC 800E133C 00431021 */ addu $v0, $v0, $v1 +/* 07A7F0 800E1340 000210C0 */ sll $v0, $v0, 3 +/* 07A7F4 800E1344 24030011 */ addiu $v1, $zero, 0x11 +/* 07A7F8 800E1348 3C01800B */ lui $at, 0x800b +/* 07A7FC 800E134C 00220821 */ addu $at, $at, $v0 +/* 07A800 800E1350 C4201DEC */ lwc1 $f0, 0x1dec($at) +/* 07A804 800E1354 824200B4 */ lb $v0, 0xb4($s2) +/* 07A808 800E1358 14430035 */ bne $v0, $v1, .L800E1430 +/* 07A80C 800E135C 46000687 */ neg.s $f26, $f0 +/* 07A810 800E1360 3C013F36 */ lui $at, 0x3f36 +/* 07A814 800E1364 3421DB6E */ ori $at, $at, 0xdb6e +/* 07A818 800E1368 44810000 */ mtc1 $at, $f0 +/* 07A81C 800E136C 27B000E0 */ addiu $s0, $sp, 0xe0 +/* 07A820 800E1370 44050000 */ mfc1 $a1, $f0 +/* 07A824 800E1374 0200202D */ daddu $a0, $s0, $zero +/* 07A828 800E1378 00A0302D */ daddu $a2, $a1, $zero +/* 07A82C 800E137C 0C019DF0 */ jal guScaleF +/* 07A830 800E1380 00A0382D */ daddu $a3, $a1, $zero +/* 07A834 800E1384 4405D000 */ mfc1 $a1, $f26 +/* 07A838 800E1388 4480A000 */ mtc1 $zero, $f20 +/* 07A83C 800E138C 3C013F80 */ lui $at, 0x3f80 +/* 07A840 800E1390 4481B000 */ mtc1 $at, $f22 +/* 07A844 800E1394 4406A000 */ mfc1 $a2, $f20 +/* 07A848 800E1398 4407B000 */ mfc1 $a3, $f22 +/* 07A84C 800E139C 27A40020 */ addiu $a0, $sp, 0x20 +/* 07A850 800E13A0 0C019EC8 */ jal guRotateF +/* 07A854 800E13A4 E7B40010 */ swc1 $f20, 0x10($sp) +/* 07A858 800E13A8 0200202D */ daddu $a0, $s0, $zero +/* 07A85C 800E13AC 27A50020 */ addiu $a1, $sp, 0x20 +/* 07A860 800E13B0 0C019D80 */ jal guMtxCatF +/* 07A864 800E13B4 00A0302D */ daddu $a2, $a1, $zero +/* 07A868 800E13B8 27B000A0 */ addiu $s0, $sp, 0xa0 +/* 07A86C 800E13BC 8E4500A8 */ lw $a1, 0xa8($s2) +/* 07A870 800E13C0 4406A000 */ mfc1 $a2, $f20 +/* 07A874 800E13C4 4407B000 */ mfc1 $a3, $f22 +/* 07A878 800E13C8 0200202D */ daddu $a0, $s0, $zero +/* 07A87C 800E13CC 0C019EC8 */ jal guRotateF +/* 07A880 800E13D0 AFA60010 */ sw $a2, 0x10($sp) +/* 07A884 800E13D4 27A40020 */ addiu $a0, $sp, 0x20 +/* 07A888 800E13D8 0200282D */ daddu $a1, $s0, $zero +/* 07A88C 800E13DC 0C019D80 */ jal guMtxCatF +/* 07A890 800E13E0 0080302D */ daddu $a2, $a0, $zero +/* 07A894 800E13E4 C640002C */ lwc1 $f0, 0x2c($s2) +/* 07A898 800E13E8 27B00060 */ addiu $s0, $sp, 0x60 +/* 07A89C 800E13EC 46160001 */ sub.s $f0, $f0, $f22 +/* 07A8A0 800E13F0 8E450028 */ lw $a1, 0x28($s2) +/* 07A8A4 800E13F4 8E470030 */ lw $a3, 0x30($s2) +/* 07A8A8 800E13F8 44060000 */ mfc1 $a2, $f0 +/* 07A8AC 800E13FC 0C019E40 */ jal guTranslateF +/* 07A8B0 800E1400 0200202D */ daddu $a0, $s0, $zero +/* 07A8B4 800E1404 27A40020 */ addiu $a0, $sp, 0x20 +/* 07A8B8 800E1408 0200282D */ daddu $a1, $s0, $zero +/* 07A8BC 800E140C 0C019D80 */ jal guMtxCatF +/* 07A8C0 800E1410 0080302D */ daddu $a2, $a0, $zero +/* 07A8C4 800E1414 0000202D */ daddu $a0, $zero, $zero +/* 07A8C8 800E1418 0080282D */ daddu $a1, $a0, $zero +/* 07A8CC 800E141C 0080302D */ daddu $a2, $a0, $zero +/* 07A8D0 800E1420 0080382D */ daddu $a3, $a0, $zero +/* 07A8D4 800E1424 27A20020 */ addiu $v0, $sp, 0x20 +/* 07A8D8 800E1428 080385AD */ j .L800E16B4 +/* 07A8DC 800E142C AFA20010 */ sw $v0, 0x10($sp) + +.L800E1430: +/* 07A8E0 800E1430 27B000A0 */ addiu $s0, $sp, 0xa0 +/* 07A8E4 800E1434 4405D000 */ mfc1 $a1, $f26 +/* 07A8E8 800E1438 4480A000 */ mtc1 $zero, $f20 +/* 07A8EC 800E143C 3C07BF80 */ lui $a3, 0xbf80 +/* 07A8F0 800E1440 4406A000 */ mfc1 $a2, $f20 +/* 07A8F4 800E1444 0200202D */ daddu $a0, $s0, $zero +/* 07A8F8 800E1448 0C019EC8 */ jal guRotateF +/* 07A8FC 800E144C E7B40010 */ swc1 $f20, 0x10($sp) +/* 07A900 800E1450 C64C008C */ lwc1 $f12, 0x8c($s2) +/* 07A904 800E1454 0C00A6C9 */ jal clamp_angle +/* 07A908 800E1458 00000000 */ nop +/* 07A90C 800E145C 44050000 */ mfc1 $a1, $f0 +/* 07A910 800E1460 4406A000 */ mfc1 $a2, $f20 +/* 07A914 800E1464 4407A000 */ mfc1 $a3, $f20 +/* 07A918 800E1468 3C013F80 */ lui $at, 0x3f80 +/* 07A91C 800E146C 4481B000 */ mtc1 $at, $f22 +/* 07A920 800E1470 27A40020 */ addiu $a0, $sp, 0x20 +/* 07A924 800E1474 0C019EC8 */ jal guRotateF +/* 07A928 800E1478 E7B60010 */ swc1 $f22, 0x10($sp) +/* 07A92C 800E147C 0200202D */ daddu $a0, $s0, $zero +/* 07A930 800E1480 27A50020 */ addiu $a1, $sp, 0x20 +/* 07A934 800E1484 0C019D80 */ jal guMtxCatF +/* 07A938 800E1488 00A0302D */ daddu $a2, $a1, $zero +/* 07A93C 800E148C 864200B0 */ lh $v0, 0xb0($s2) +/* 07A940 800E1490 3C013F00 */ lui $at, 0x3f00 +/* 07A944 800E1494 4481C000 */ mtc1 $at, $f24 +/* 07A948 800E1498 00021023 */ negu $v0, $v0 +/* 07A94C 800E149C 44820000 */ mtc1 $v0, $f0 +/* 07A950 800E14A0 00000000 */ nop +/* 07A954 800E14A4 46800020 */ cvt.s.w $f0, $f0 +/* 07A958 800E14A8 46180002 */ mul.s $f0, $f0, $f24 +/* 07A95C 800E14AC 00000000 */ nop +/* 07A960 800E14B0 27B10060 */ addiu $s1, $sp, 0x60 +/* 07A964 800E14B4 4405A000 */ mfc1 $a1, $f20 +/* 07A968 800E14B8 4407A000 */ mfc1 $a3, $f20 +/* 07A96C 800E14BC 44060000 */ mfc1 $a2, $f0 +/* 07A970 800E14C0 0C019E40 */ jal guTranslateF +/* 07A974 800E14C4 0220202D */ daddu $a0, $s1, $zero +/* 07A978 800E14C8 0220202D */ daddu $a0, $s1, $zero +/* 07A97C 800E14CC 27A50020 */ addiu $a1, $sp, 0x20 +/* 07A980 800E14D0 0C019D80 */ jal guMtxCatF +/* 07A984 800E14D4 00A0302D */ daddu $a2, $a1, $zero +/* 07A988 800E14D8 4405D000 */ mfc1 $a1, $f26 +/* 07A98C 800E14DC 4406A000 */ mfc1 $a2, $f20 +/* 07A990 800E14E0 4407B000 */ mfc1 $a3, $f22 +/* 07A994 800E14E4 0200202D */ daddu $a0, $s0, $zero +/* 07A998 800E14E8 0C019EC8 */ jal guRotateF +/* 07A99C 800E14EC E7B40010 */ swc1 $f20, 0x10($sp) +/* 07A9A0 800E14F0 27A40020 */ addiu $a0, $sp, 0x20 +/* 07A9A4 800E14F4 0200282D */ daddu $a1, $s0, $zero +/* 07A9A8 800E14F8 0C019D80 */ jal guMtxCatF +/* 07A9AC 800E14FC 0080302D */ daddu $a2, $a0, $zero +/* 07A9B0 800E1500 8E4500A8 */ lw $a1, 0xa8($s2) +/* 07A9B4 800E1504 4406A000 */ mfc1 $a2, $f20 +/* 07A9B8 800E1508 4407B000 */ mfc1 $a3, $f22 +/* 07A9BC 800E150C 0200202D */ daddu $a0, $s0, $zero +/* 07A9C0 800E1510 0C019EC8 */ jal guRotateF +/* 07A9C4 800E1514 E7B40010 */ swc1 $f20, 0x10($sp) +/* 07A9C8 800E1518 27A40020 */ addiu $a0, $sp, 0x20 +/* 07A9CC 800E151C 0200282D */ daddu $a1, $s0, $zero +/* 07A9D0 800E1520 0C019D80 */ jal guMtxCatF +/* 07A9D4 800E1524 0080302D */ daddu $a2, $a0, $zero +/* 07A9D8 800E1528 864200B0 */ lh $v0, 0xb0($s2) +/* 07A9DC 800E152C 44820000 */ mtc1 $v0, $f0 +/* 07A9E0 800E1530 00000000 */ nop +/* 07A9E4 800E1534 46800020 */ cvt.s.w $f0, $f0 +/* 07A9E8 800E1538 46180002 */ mul.s $f0, $f0, $f24 +/* 07A9EC 800E153C 00000000 */ nop +/* 07A9F0 800E1540 0220202D */ daddu $a0, $s1, $zero +/* 07A9F4 800E1544 4405A000 */ mfc1 $a1, $f20 +/* 07A9F8 800E1548 44060000 */ mfc1 $a2, $f0 +/* 07A9FC 800E154C 0C019E40 */ jal guTranslateF +/* 07AA00 800E1550 00A0382D */ daddu $a3, $a1, $zero +/* 07AA04 800E1554 27A40020 */ addiu $a0, $sp, 0x20 +/* 07AA08 800E1558 0220282D */ daddu $a1, $s1, $zero +/* 07AA0C 800E155C 0C019D80 */ jal guMtxCatF +/* 07AA10 800E1560 0080302D */ daddu $a2, $a0, $zero +/* 07AA14 800E1564 3C013F36 */ lui $at, 0x3f36 +/* 07AA18 800E1568 3421DB6E */ ori $at, $at, 0xdb6e +/* 07AA1C 800E156C 44810000 */ mtc1 $at, $f0 +/* 07AA20 800E1570 27B000E0 */ addiu $s0, $sp, 0xe0 +/* 07AA24 800E1574 44050000 */ mfc1 $a1, $f0 +/* 07AA28 800E1578 0200202D */ daddu $a0, $s0, $zero +/* 07AA2C 800E157C 00A0302D */ daddu $a2, $a1, $zero +/* 07AA30 800E1580 0C019DF0 */ jal guScaleF +/* 07AA34 800E1584 00A0382D */ daddu $a3, $a1, $zero +/* 07AA38 800E1588 27A40020 */ addiu $a0, $sp, 0x20 +/* 07AA3C 800E158C 0200282D */ daddu $a1, $s0, $zero +/* 07AA40 800E1590 0C019D80 */ jal guMtxCatF +/* 07AA44 800E1594 0080302D */ daddu $a2, $a0, $zero +/* 07AA48 800E1598 8E450028 */ lw $a1, 0x28($s2) +/* 07AA4C 800E159C 8E46002C */ lw $a2, 0x2c($s2) +/* 07AA50 800E15A0 8E470030 */ lw $a3, 0x30($s2) +/* 07AA54 800E15A4 0C019E40 */ jal guTranslateF +/* 07AA58 800E15A8 0220202D */ daddu $a0, $s1, $zero +/* 07AA5C 800E15AC 27A40020 */ addiu $a0, $sp, 0x20 +/* 07AA60 800E15B0 0220282D */ daddu $a1, $s1, $zero +/* 07AA64 800E15B4 0C019D80 */ jal guMtxCatF +/* 07AA68 800E15B8 0080302D */ daddu $a2, $a0, $zero +/* 07AA6C 800E15BC 8E430004 */ lw $v1, 4($s2) +/* 07AA70 800E15C0 30620400 */ andi $v0, $v1, 0x400 +/* 07AA74 800E15C4 10400017 */ beqz $v0, .L800E1624 +/* 07AA78 800E15C8 0000202D */ daddu $a0, $zero, $zero +/* 07AA7C 800E15CC 2405FFFF */ addiu $a1, $zero, -1 +/* 07AA80 800E15D0 0080302D */ daddu $a2, $a0, $zero +/* 07AA84 800E15D4 0080382D */ daddu $a3, $a0, $zero +/* 07AA88 800E15D8 2402FBFF */ addiu $v0, $zero, -0x401 +/* 07AA8C 800E15DC 00621024 */ and $v0, $v1, $v0 +/* 07AA90 800E15E0 AE420004 */ sw $v0, 4($s2) +/* 07AA94 800E15E4 24020016 */ addiu $v0, $zero, 0x16 +/* 07AA98 800E15E8 A242000A */ sb $v0, 0xa($s2) +/* 07AA9C 800E15EC AFA00010 */ sw $zero, 0x10($sp) +/* 07AAA0 800E15F0 AFA00014 */ sw $zero, 0x14($sp) +/* 07AAA4 800E15F4 AFA00018 */ sw $zero, 0x18($sp) +/* 07AAA8 800E15F8 0C0B77B9 */ jal func_802DDEE4 +/* 07AAAC 800E15FC AFA0001C */ sw $zero, 0x1c($sp) +/* 07AAB0 800E1600 24050005 */ addiu $a1, $zero, 5 +/* 07AAB4 800E1604 24060001 */ addiu $a2, $zero, 1 +/* 07AAB8 800E1608 00C0382D */ daddu $a3, $a2, $zero +/* 07AABC 800E160C 8E4400B8 */ lw $a0, 0xb8($s2) +/* 07AAC0 800E1610 00C0102D */ daddu $v0, $a2, $zero +/* 07AAC4 800E1614 AFA20010 */ sw $v0, 0x10($sp) +/* 07AAC8 800E1618 AFA00014 */ sw $zero, 0x14($sp) +/* 07AACC 800E161C 0C0B77FE */ jal func_802DDFF8 +/* 07AAD0 800E1620 AFA00018 */ sw $zero, 0x18($sp) +.L800E1624: +/* 07AAD4 800E1624 8242000A */ lb $v0, 0xa($s2) +/* 07AAD8 800E1628 9243000A */ lbu $v1, 0xa($s2) +/* 07AADC 800E162C 1040000D */ beqz $v0, .L800E1664 +/* 07AAE0 800E1630 2462FFFF */ addiu $v0, $v1, -1 +/* 07AAE4 800E1634 A242000A */ sb $v0, 0xa($s2) +/* 07AAE8 800E1638 00021600 */ sll $v0, $v0, 0x18 +/* 07AAEC 800E163C 14400009 */ bnez $v0, .L800E1664 +/* 07AAF0 800E1640 0000202D */ daddu $a0, $zero, $zero +/* 07AAF4 800E1644 2405FFFF */ addiu $a1, $zero, -1 +/* 07AAF8 800E1648 0080302D */ daddu $a2, $a0, $zero +/* 07AAFC 800E164C 0080382D */ daddu $a3, $a0, $zero +/* 07AB00 800E1650 AFA00010 */ sw $zero, 0x10($sp) +/* 07AB04 800E1654 AFA00014 */ sw $zero, 0x14($sp) +/* 07AB08 800E1658 AFA00018 */ sw $zero, 0x18($sp) +/* 07AB0C 800E165C 0C0B77B9 */ jal func_802DDEE4 +/* 07AB10 800E1660 AFA0001C */ sw $zero, 0x1c($sp) +.L800E1664: +/* 07AB14 800E1664 C64200A8 */ lwc1 $f2, 0xa8($s2) +/* 07AB18 800E1668 3C0142B4 */ lui $at, 0x42b4 +/* 07AB1C 800E166C 44810000 */ mtc1 $at, $f0 +/* 07AB20 800E1670 00000000 */ nop +/* 07AB24 800E1674 4602003E */ c.le.s $f0, $f2 +/* 07AB28 800E1678 00000000 */ nop +/* 07AB2C 800E167C 45000008 */ bc1f .L800E16A0 +/* 07AB30 800E1680 0000202D */ daddu $a0, $zero, $zero +/* 07AB34 800E1684 3C014387 */ lui $at, 0x4387 +/* 07AB38 800E1688 44810000 */ mtc1 $at, $f0 +/* 07AB3C 800E168C 00000000 */ nop +/* 07AB40 800E1690 4600103C */ c.lt.s $f2, $f0 +/* 07AB44 800E1694 00000000 */ nop +/* 07AB48 800E1698 45030001 */ bc1tl .L800E16A0 +/* 07AB4C 800E169C 3C041000 */ lui $a0, 0x1000 +.L800E16A0: +/* 07AB50 800E16A0 27A20020 */ addiu $v0, $sp, 0x20 +/* 07AB54 800E16A4 AFA20010 */ sw $v0, 0x10($sp) +/* 07AB58 800E16A8 0000282D */ daddu $a1, $zero, $zero +/* 07AB5C 800E16AC 00A0302D */ daddu $a2, $a1, $zero +/* 07AB60 800E16B0 00A0382D */ daddu $a3, $a1, $zero +.L800E16B4: +/* 07AB64 800E16B4 0C0B7710 */ jal render_sprite +/* 07AB68 800E16B8 00000000 */ nop +/* 07AB6C 800E16BC 3C03800F */ lui $v1, 0x800f +/* 07AB70 800E16C0 24637B4C */ addiu $v1, $v1, 0x7b4c +/* 07AB74 800E16C4 8C620000 */ lw $v0, ($v1) +/* 07AB78 800E16C8 24420001 */ addiu $v0, $v0, 1 +/* 07AB7C 800E16CC AC620000 */ sw $v0, ($v1) +/* 07AB80 800E16D0 28420003 */ slti $v0, $v0, 3 +/* 07AB84 800E16D4 50400001 */ beql $v0, $zero, .L800E16DC +/* 07AB88 800E16D8 AC600000 */ sw $zero, ($v1) +.L800E16DC: +/* 07AB8C 800E16DC 8FBF012C */ lw $ra, 0x12c($sp) +/* 07AB90 800E16E0 8FB20128 */ lw $s2, 0x128($sp) +/* 07AB94 800E16E4 8FB10124 */ lw $s1, 0x124($sp) +/* 07AB98 800E16E8 8FB00120 */ lw $s0, 0x120($sp) +/* 07AB9C 800E16EC D7BA0148 */ ldc1 $f26, 0x148($sp) +/* 07ABA0 800E16F0 D7B80140 */ ldc1 $f24, 0x140($sp) +/* 07ABA4 800E16F4 D7B60138 */ ldc1 $f22, 0x138($sp) +/* 07ABA8 800E16F8 D7B40130 */ ldc1 $f20, 0x130($sp) +/* 07ABAC 800E16FC 03E00008 */ jr $ra +/* 07ABB0 800E1700 27BD0150 */ addiu $sp, $sp, 0x150 + +make_spinning_player_display_list: +/* 07ABB4 800E1704 27BDFE80 */ addiu $sp, $sp, -0x180 +/* 07ABB8 800E1708 F7B60158 */ sdc1 $f22, 0x158($sp) +/* 07ABBC 800E170C 4480B000 */ mtc1 $zero, $f22 +/* 07ABC0 800E1710 AFB10134 */ sw $s1, 0x134($sp) +/* 07ABC4 800E1714 3C118011 */ lui $s1, 0x8011 +/* 07ABC8 800E1718 2631EFC8 */ addiu $s1, $s1, -0x1038 +/* 07ABCC 800E171C AFB3013C */ sw $s3, 0x13c($sp) +/* 07ABD0 800E1720 0000982D */ daddu $s3, $zero, $zero +/* 07ABD4 800E1724 AFB60148 */ sw $s6, 0x148($sp) +/* 07ABD8 800E1728 3C16800B */ lui $s6, 0x800b +/* 07ABDC 800E172C 26D61D80 */ addiu $s6, $s6, 0x1d80 +/* 07ABE0 800E1730 AFB50144 */ sw $s5, 0x144($sp) +/* 07ABE4 800E1734 241500FF */ addiu $s5, $zero, 0xff +/* 07ABE8 800E1738 AFB00130 */ sw $s0, 0x130($sp) +/* 07ABEC 800E173C 27B000A0 */ addiu $s0, $sp, 0xa0 +/* 07ABF0 800E1740 AFB20138 */ sw $s2, 0x138($sp) +/* 07ABF4 800E1744 27B20060 */ addiu $s2, $sp, 0x60 +/* 07ABF8 800E1748 AFB40140 */ sw $s4, 0x140($sp) +/* 07ABFC 800E174C 27B400E0 */ addiu $s4, $sp, 0xe0 +/* 07AC00 800E1750 AFBF014C */ sw $ra, 0x14c($sp) +/* 07AC04 800E1754 F7BE0178 */ sdc1 $f30, 0x178($sp) +/* 07AC08 800E1758 F7BC0170 */ sdc1 $f28, 0x170($sp) +/* 07AC0C 800E175C F7BA0168 */ sdc1 $f26, 0x168($sp) +/* 07AC10 800E1760 F7B80160 */ sdc1 $f24, 0x160($sp) +/* 07AC14 800E1764 F7B40150 */ sdc1 $f20, 0x150($sp) +.L800E1768: +/* 07AC18 800E1768 3C03800A */ lui $v1, 0x800a +/* 07AC1C 800E176C 8463A634 */ lh $v1, -0x59cc($v1) +/* 07AC20 800E1770 00031080 */ sll $v0, $v1, 2 +/* 07AC24 800E1774 00431021 */ addu $v0, $v0, $v1 +/* 07AC28 800E1778 00021080 */ sll $v0, $v0, 2 +/* 07AC2C 800E177C 00431023 */ subu $v0, $v0, $v1 +/* 07AC30 800E1780 000218C0 */ sll $v1, $v0, 3 +/* 07AC34 800E1784 00431021 */ addu $v0, $v0, $v1 +/* 07AC38 800E1788 000210C0 */ sll $v0, $v0, 3 +/* 07AC3C 800E178C 00561021 */ addu $v0, $v0, $s6 +/* 07AC40 800E1790 C440006C */ lwc1 $f0, 0x6c($v0) +/* 07AC44 800E1794 16600064 */ bnez $s3, .L800E1928 +/* 07AC48 800E1798 46000507 */ neg.s $f20, $f0 +/* 07AC4C 800E179C C62200A8 */ lwc1 $f2, 0xa8($s1) +/* 07AC50 800E17A0 3C0142B4 */ lui $at, 0x42b4 +/* 07AC54 800E17A4 44810000 */ mtc1 $at, $f0 +/* 07AC58 800E17A8 00000000 */ nop +/* 07AC5C 800E17AC 4602003C */ c.lt.s $f0, $f2 +/* 07AC60 800E17B0 00000000 */ nop +/* 07AC64 800E17B4 4500000A */ bc1f .L800E17E0 +/* 07AC68 800E17B8 00000000 */ nop +/* 07AC6C 800E17BC 3C014334 */ lui $at, 0x4334 +/* 07AC70 800E17C0 44812000 */ mtc1 $at, $f4 +/* 07AC74 800E17C4 00000000 */ nop +/* 07AC78 800E17C8 4604103E */ c.le.s $f2, $f4 +/* 07AC7C 800E17CC 00000000 */ nop +/* 07AC80 800E17D0 45000003 */ bc1f .L800E17E0 +/* 07AC84 800E17D4 00000000 */ nop +/* 07AC88 800E17D8 0803861C */ j .L800E1870 +/* 07AC8C 800E17DC 46022501 */ sub.s $f20, $f4, $f2 + +.L800E17E0: +/* 07AC90 800E17E0 C62000A8 */ lwc1 $f0, 0xa8($s1) +/* 07AC94 800E17E4 3C014334 */ lui $at, 0x4334 +/* 07AC98 800E17E8 44812000 */ mtc1 $at, $f4 +/* 07AC9C 800E17EC 00000000 */ nop +/* 07ACA0 800E17F0 4600203C */ c.lt.s $f4, $f0 +/* 07ACA4 800E17F4 00000000 */ nop +/* 07ACA8 800E17F8 4500000C */ bc1f .L800E182C +/* 07ACAC 800E17FC 00000000 */ nop +/* 07ACB0 800E1800 3C014387 */ lui $at, 0x4387 +/* 07ACB4 800E1804 44812000 */ mtc1 $at, $f4 +/* 07ACB8 800E1808 00000000 */ nop +/* 07ACBC 800E180C 4604003E */ c.le.s $f0, $f4 +/* 07ACC0 800E1810 00000000 */ nop +/* 07ACC4 800E1814 45000008 */ bc1f .L800E1838 +/* 07ACC8 800E1818 00000000 */ nop +/* 07ACCC 800E181C 3C014334 */ lui $at, 0x4334 +/* 07ACD0 800E1820 44812000 */ mtc1 $at, $f4 +/* 07ACD4 800E1824 0803861C */ j .L800E1870 +/* 07ACD8 800E1828 46040501 */ sub.s $f20, $f0, $f4 + +.L800E182C: +/* 07ACDC 800E182C 3C014387 */ lui $at, 0x4387 +/* 07ACE0 800E1830 44812000 */ mtc1 $at, $f4 +/* 07ACE4 800E1834 00000000 */ nop +.L800E1838: +/* 07ACE8 800E1838 4600203C */ c.lt.s $f4, $f0 +/* 07ACEC 800E183C 00000000 */ nop +/* 07ACF0 800E1840 4500000A */ bc1f .L800E186C +/* 07ACF4 800E1844 00000000 */ nop +/* 07ACF8 800E1848 3C0143B4 */ lui $at, 0x43b4 +/* 07ACFC 800E184C 44811000 */ mtc1 $at, $f2 +/* 07AD00 800E1850 00000000 */ nop +/* 07AD04 800E1854 4602003E */ c.le.s $f0, $f2 +/* 07AD08 800E1858 00000000 */ nop +/* 07AD0C 800E185C 45000003 */ bc1f .L800E186C +/* 07AD10 800E1860 00000000 */ nop +/* 07AD14 800E1864 0803861C */ j .L800E1870 +/* 07AD18 800E1868 46001501 */ sub.s $f20, $f2, $f0 + +.L800E186C: +/* 07AD1C 800E186C C63400A8 */ lwc1 $f20, 0xa8($s1) +.L800E1870: +/* 07AD20 800E1870 3C0141C8 */ lui $at, 0x41c8 +/* 07AD24 800E1874 44810000 */ mtc1 $at, $f0 +/* 07AD28 800E1878 00000000 */ nop +/* 07AD2C 800E187C 4600A003 */ div.s $f0, $f20, $f0 +/* 07AD30 800E1880 4600010D */ trunc.w.s $f4, $f0 +/* 07AD34 800E1884 44062000 */ mfc1 $a2, $f4 +/* 07AD38 800E1888 00000000 */ nop +/* 07AD3C 800E188C 00061100 */ sll $v0, $a2, 4 +/* 07AD40 800E1890 00461023 */ subu $v0, $v0, $a2 +/* 07AD44 800E1894 00021080 */ sll $v0, $v0, 2 +/* 07AD48 800E1898 02A23023 */ subu $a2, $s5, $v0 +/* 07AD4C 800E189C 28C20064 */ slti $v0, $a2, 0x64 +/* 07AD50 800E18A0 54400001 */ bnezl $v0, .L800E18A8 +/* 07AD54 800E18A4 24060064 */ addiu $a2, $zero, 0x64 +.L800E18A8: +/* 07AD58 800E18A8 0000202D */ daddu $a0, $zero, $zero +/* 07AD5C 800E18AC 24050006 */ addiu $a1, $zero, 6 +/* 07AD60 800E18B0 00C0382D */ daddu $a3, $a2, $zero +/* 07AD64 800E18B4 AFA60010 */ sw $a2, 0x10($sp) +/* 07AD68 800E18B8 AFB50014 */ sw $s5, 0x14($sp) +/* 07AD6C 800E18BC 0C0B77FE */ jal func_802DDFF8 +/* 07AD70 800E18C0 AFA00018 */ sw $zero, 0x18($sp) +/* 07AD74 800E18C4 4405A000 */ mfc1 $a1, $f20 +/* 07AD78 800E18C8 4406B000 */ mfc1 $a2, $f22 +/* 07AD7C 800E18CC 3C07BF80 */ lui $a3, 0xbf80 +/* 07AD80 800E18D0 0200202D */ daddu $a0, $s0, $zero +/* 07AD84 800E18D4 0C019EC8 */ jal guRotateF +/* 07AD88 800E18D8 E7B60010 */ swc1 $f22, 0x10($sp) +/* 07AD8C 800E18DC C62C008C */ lwc1 $f12, 0x8c($s1) +/* 07AD90 800E18E0 0C00A6C9 */ jal clamp_angle +/* 07AD94 800E18E4 00000000 */ nop +/* 07AD98 800E18E8 44050000 */ mfc1 $a1, $f0 +/* 07AD9C 800E18EC 4406B000 */ mfc1 $a2, $f22 +/* 07ADA0 800E18F0 4407B000 */ mfc1 $a3, $f22 +/* 07ADA4 800E18F4 3C013F80 */ lui $at, 0x3f80 +/* 07ADA8 800E18F8 44812000 */ mtc1 $at, $f4 +/* 07ADAC 800E18FC 27A40020 */ addiu $a0, $sp, 0x20 +/* 07ADB0 800E1900 0C019EC8 */ jal guRotateF +/* 07ADB4 800E1904 E7A40010 */ swc1 $f4, 0x10($sp) +/* 07ADB8 800E1908 0200202D */ daddu $a0, $s0, $zero +/* 07ADBC 800E190C 27A50020 */ addiu $a1, $sp, 0x20 +/* 07ADC0 800E1910 0C019D80 */ jal guMtxCatF +/* 07ADC4 800E1914 00A0302D */ daddu $a2, $a1, $zero +/* 07ADC8 800E1918 C63E0028 */ lwc1 $f30, 0x28($s1) +/* 07ADCC 800E191C C638002C */ lwc1 $f24, 0x2c($s1) +/* 07ADD0 800E1920 0803867B */ j .L800E19EC +/* 07ADD4 800E1924 C63C0030 */ lwc1 $f28, 0x30($s1) + +.L800E1928: +/* 07ADD8 800E1928 0260202D */ daddu $a0, $s3, $zero +/* 07ADDC 800E192C 27A50120 */ addiu $a1, $sp, 0x120 +/* 07ADE0 800E1930 27A60124 */ addiu $a2, $sp, 0x124 +/* 07ADE4 800E1934 0C03964E */ jal func_800E5938 +/* 07ADE8 800E1938 27A70128 */ addiu $a3, $sp, 0x128 +/* 07ADEC 800E193C 8FA60124 */ lw $a2, 0x124($sp) +/* 07ADF0 800E1940 3C028000 */ lui $v0, 0x8000 +/* 07ADF4 800E1944 14C20004 */ bne $a2, $v0, .L800E1958 +/* 07ADF8 800E1948 46000686 */ mov.s $f26, $f0 +/* 07ADFC 800E194C C638002C */ lwc1 $f24, 0x2c($s1) +/* 07AE00 800E1950 0803865A */ j .L800E1968 +/* 07AE04 800E1954 0000202D */ daddu $a0, $zero, $zero + +.L800E1958: +/* 07AE08 800E1958 4486C000 */ mtc1 $a2, $f24 +/* 07AE0C 800E195C 00000000 */ nop +/* 07AE10 800E1960 4680C620 */ cvt.s.w $f24, $f24 +/* 07AE14 800E1964 0000202D */ daddu $a0, $zero, $zero +.L800E1968: +/* 07AE18 800E1968 2405FFFF */ addiu $a1, $zero, -1 +/* 07AE1C 800E196C 24060007 */ addiu $a2, $zero, 7 +/* 07AE20 800E1970 0080382D */ daddu $a3, $a0, $zero +/* 07AE24 800E1974 C63E0028 */ lwc1 $f30, 0x28($s1) +/* 07AE28 800E1978 C63C0030 */ lwc1 $f28, 0x30($s1) +/* 07AE2C 800E197C 24020040 */ addiu $v0, $zero, 0x40 +/* 07AE30 800E1980 AFA00010 */ sw $zero, 0x10($sp) +/* 07AE34 800E1984 AFA00014 */ sw $zero, 0x14($sp) +/* 07AE38 800E1988 AFA20018 */ sw $v0, 0x18($sp) +/* 07AE3C 800E198C 0C0B77B9 */ jal func_802DDEE4 +/* 07AE40 800E1990 AFA0001C */ sw $zero, 0x1c($sp) +/* 07AE44 800E1994 4405A000 */ mfc1 $a1, $f20 +/* 07AE48 800E1998 4406B000 */ mfc1 $a2, $f22 +/* 07AE4C 800E199C 3C07BF80 */ lui $a3, 0xbf80 +/* 07AE50 800E19A0 27A40020 */ addiu $a0, $sp, 0x20 +/* 07AE54 800E19A4 0C019EC8 */ jal guRotateF +/* 07AE58 800E19A8 E7B60010 */ swc1 $f22, 0x10($sp) +/* 07AE5C 800E19AC 4405A000 */ mfc1 $a1, $f20 +/* 07AE60 800E19B0 4406B000 */ mfc1 $a2, $f22 +/* 07AE64 800E19B4 3C07BF80 */ lui $a3, 0xbf80 +/* 07AE68 800E19B8 0200202D */ daddu $a0, $s0, $zero +/* 07AE6C 800E19BC 0C019EC8 */ jal guRotateF +/* 07AE70 800E19C0 E7B60010 */ swc1 $f22, 0x10($sp) +/* 07AE74 800E19C4 4405D000 */ mfc1 $a1, $f26 +/* 07AE78 800E19C8 4406B000 */ mfc1 $a2, $f22 +/* 07AE7C 800E19CC 3C073F80 */ lui $a3, 0x3f80 +/* 07AE80 800E19D0 27A40020 */ addiu $a0, $sp, 0x20 +/* 07AE84 800E19D4 0C019EC8 */ jal guRotateF +/* 07AE88 800E19D8 E7B60010 */ swc1 $f22, 0x10($sp) +/* 07AE8C 800E19DC 0200202D */ daddu $a0, $s0, $zero +/* 07AE90 800E19E0 27A50020 */ addiu $a1, $sp, 0x20 +/* 07AE94 800E19E4 0C019D80 */ jal guMtxCatF +/* 07AE98 800E19E8 00A0302D */ daddu $a2, $a1, $zero +.L800E19EC: +/* 07AE9C 800E19EC 862200B0 */ lh $v0, 0xb0($s1) +/* 07AEA0 800E19F0 3C013F00 */ lui $at, 0x3f00 +/* 07AEA4 800E19F4 44812000 */ mtc1 $at, $f4 +/* 07AEA8 800E19F8 00021023 */ negu $v0, $v0 +/* 07AEAC 800E19FC 44820000 */ mtc1 $v0, $f0 +/* 07AEB0 800E1A00 00000000 */ nop +/* 07AEB4 800E1A04 46800020 */ cvt.s.w $f0, $f0 +/* 07AEB8 800E1A08 46040102 */ mul.s $f4, $f0, $f4 +/* 07AEBC 800E1A0C 00000000 */ nop +/* 07AEC0 800E1A10 4405B000 */ mfc1 $a1, $f22 +/* 07AEC4 800E1A14 4407B000 */ mfc1 $a3, $f22 +/* 07AEC8 800E1A18 44062000 */ mfc1 $a2, $f4 +/* 07AECC 800E1A1C 0C019E40 */ jal guTranslateF +/* 07AED0 800E1A20 0240202D */ daddu $a0, $s2, $zero +/* 07AED4 800E1A24 0240202D */ daddu $a0, $s2, $zero +/* 07AED8 800E1A28 27A50020 */ addiu $a1, $sp, 0x20 +/* 07AEDC 800E1A2C 0C019D80 */ jal guMtxCatF +/* 07AEE0 800E1A30 00A0302D */ daddu $a2, $a1, $zero +/* 07AEE4 800E1A34 4405A000 */ mfc1 $a1, $f20 +/* 07AEE8 800E1A38 4406B000 */ mfc1 $a2, $f22 +/* 07AEEC 800E1A3C 3C073F80 */ lui $a3, 0x3f80 +/* 07AEF0 800E1A40 0200202D */ daddu $a0, $s0, $zero +/* 07AEF4 800E1A44 0C019EC8 */ jal guRotateF +/* 07AEF8 800E1A48 E7B60010 */ swc1 $f22, 0x10($sp) +/* 07AEFC 800E1A4C 27A40020 */ addiu $a0, $sp, 0x20 +/* 07AF00 800E1A50 0200282D */ daddu $a1, $s0, $zero +/* 07AF04 800E1A54 0C019D80 */ jal guMtxCatF +/* 07AF08 800E1A58 0080302D */ daddu $a2, $a0, $zero +/* 07AF0C 800E1A5C 8E2500A8 */ lw $a1, 0xa8($s1) +/* 07AF10 800E1A60 4406B000 */ mfc1 $a2, $f22 +/* 07AF14 800E1A64 3C073F80 */ lui $a3, 0x3f80 +/* 07AF18 800E1A68 0200202D */ daddu $a0, $s0, $zero +/* 07AF1C 800E1A6C 0C019EC8 */ jal guRotateF +/* 07AF20 800E1A70 E7B60010 */ swc1 $f22, 0x10($sp) +/* 07AF24 800E1A74 27A40020 */ addiu $a0, $sp, 0x20 +/* 07AF28 800E1A78 0200282D */ daddu $a1, $s0, $zero +/* 07AF2C 800E1A7C 0C019D80 */ jal guMtxCatF +/* 07AF30 800E1A80 0080302D */ daddu $a2, $a0, $zero +/* 07AF34 800E1A84 862200B0 */ lh $v0, 0xb0($s1) +/* 07AF38 800E1A88 3C013F00 */ lui $at, 0x3f00 +/* 07AF3C 800E1A8C 44812000 */ mtc1 $at, $f4 +/* 07AF40 800E1A90 44820000 */ mtc1 $v0, $f0 +/* 07AF44 800E1A94 00000000 */ nop +/* 07AF48 800E1A98 46800020 */ cvt.s.w $f0, $f0 +/* 07AF4C 800E1A9C 46040102 */ mul.s $f4, $f0, $f4 +/* 07AF50 800E1AA0 00000000 */ nop +/* 07AF54 800E1AA4 4405B000 */ mfc1 $a1, $f22 +/* 07AF58 800E1AA8 4407B000 */ mfc1 $a3, $f22 +/* 07AF5C 800E1AAC 44062000 */ mfc1 $a2, $f4 +/* 07AF60 800E1AB0 0C019E40 */ jal guTranslateF +/* 07AF64 800E1AB4 0240202D */ daddu $a0, $s2, $zero +/* 07AF68 800E1AB8 27A40020 */ addiu $a0, $sp, 0x20 +/* 07AF6C 800E1ABC 0240282D */ daddu $a1, $s2, $zero +/* 07AF70 800E1AC0 0C019D80 */ jal guMtxCatF +/* 07AF74 800E1AC4 0080302D */ daddu $a2, $a0, $zero +/* 07AF78 800E1AC8 3C013F36 */ lui $at, 0x3f36 +/* 07AF7C 800E1ACC 3421DB6E */ ori $at, $at, 0xdb6e +/* 07AF80 800E1AD0 44810000 */ mtc1 $at, $f0 +/* 07AF84 800E1AD4 00000000 */ nop +/* 07AF88 800E1AD8 44050000 */ mfc1 $a1, $f0 +/* 07AF8C 800E1ADC 0280202D */ daddu $a0, $s4, $zero +/* 07AF90 800E1AE0 00A0302D */ daddu $a2, $a1, $zero +/* 07AF94 800E1AE4 0C019DF0 */ jal guScaleF +/* 07AF98 800E1AE8 00A0382D */ daddu $a3, $a1, $zero +/* 07AF9C 800E1AEC 27A40020 */ addiu $a0, $sp, 0x20 +/* 07AFA0 800E1AF0 0280282D */ daddu $a1, $s4, $zero +/* 07AFA4 800E1AF4 0C019D80 */ jal guMtxCatF +/* 07AFA8 800E1AF8 0080302D */ daddu $a2, $a0, $zero +/* 07AFAC 800E1AFC 4405F000 */ mfc1 $a1, $f30 +/* 07AFB0 800E1B00 4406C000 */ mfc1 $a2, $f24 +/* 07AFB4 800E1B04 4407E000 */ mfc1 $a3, $f28 +/* 07AFB8 800E1B08 0C019E40 */ jal guTranslateF +/* 07AFBC 800E1B0C 0240202D */ daddu $a0, $s2, $zero +/* 07AFC0 800E1B10 27A40020 */ addiu $a0, $sp, 0x20 +/* 07AFC4 800E1B14 0240282D */ daddu $a1, $s2, $zero +/* 07AFC8 800E1B18 0C019D80 */ jal guMtxCatF +/* 07AFCC 800E1B1C 0080302D */ daddu $a2, $a0, $zero +/* 07AFD0 800E1B20 C62200A8 */ lwc1 $f2, 0xa8($s1) +/* 07AFD4 800E1B24 3C0142B4 */ lui $at, 0x42b4 +/* 07AFD8 800E1B28 44810000 */ mtc1 $at, $f0 +/* 07AFDC 800E1B2C 00000000 */ nop +/* 07AFE0 800E1B30 4602003E */ c.le.s $f0, $f2 +/* 07AFE4 800E1B34 00000000 */ nop +/* 07AFE8 800E1B38 45000008 */ bc1f .L800E1B5C +/* 07AFEC 800E1B3C 0000202D */ daddu $a0, $zero, $zero +/* 07AFF0 800E1B40 3C014387 */ lui $at, 0x4387 +/* 07AFF4 800E1B44 44812000 */ mtc1 $at, $f4 +/* 07AFF8 800E1B48 00000000 */ nop +/* 07AFFC 800E1B4C 4604103C */ c.lt.s $f2, $f4 +/* 07B000 800E1B50 00000000 */ nop +/* 07B004 800E1B54 45030001 */ bc1tl .L800E1B5C +/* 07B008 800E1B58 3C041000 */ lui $a0, 0x1000 +.L800E1B5C: +/* 07B00C 800E1B5C 27A20020 */ addiu $v0, $sp, 0x20 +/* 07B010 800E1B60 AFA20010 */ sw $v0, 0x10($sp) +/* 07B014 800E1B64 0000282D */ daddu $a1, $zero, $zero +/* 07B018 800E1B68 00A0302D */ daddu $a2, $a1, $zero +/* 07B01C 800E1B6C 0C0B7710 */ jal render_sprite +/* 07B020 800E1B70 00A0382D */ daddu $a3, $a1, $zero +/* 07B024 800E1B74 26730001 */ addiu $s3, $s3, 1 +/* 07B028 800E1B78 2A620002 */ slti $v0, $s3, 2 +/* 07B02C 800E1B7C 1440FEFA */ bnez $v0, .L800E1768 +/* 07B030 800E1B80 00000000 */ nop +/* 07B034 800E1B84 8FBF014C */ lw $ra, 0x14c($sp) +/* 07B038 800E1B88 8FB60148 */ lw $s6, 0x148($sp) +/* 07B03C 800E1B8C 8FB50144 */ lw $s5, 0x144($sp) +/* 07B040 800E1B90 8FB40140 */ lw $s4, 0x140($sp) +/* 07B044 800E1B94 8FB3013C */ lw $s3, 0x13c($sp) +/* 07B048 800E1B98 8FB20138 */ lw $s2, 0x138($sp) +/* 07B04C 800E1B9C 8FB10134 */ lw $s1, 0x134($sp) +/* 07B050 800E1BA0 8FB00130 */ lw $s0, 0x130($sp) +/* 07B054 800E1BA4 D7BE0178 */ ldc1 $f30, 0x178($sp) +/* 07B058 800E1BA8 D7BC0170 */ ldc1 $f28, 0x170($sp) +/* 07B05C 800E1BAC D7BA0168 */ ldc1 $f26, 0x168($sp) +/* 07B060 800E1BB0 D7B80160 */ ldc1 $f24, 0x160($sp) +/* 07B064 800E1BB4 D7B60158 */ ldc1 $f22, 0x158($sp) +/* 07B068 800E1BB8 D7B40150 */ ldc1 $f20, 0x150($sp) +/* 07B06C 800E1BBC 03E00008 */ jr $ra +/* 07B070 800E1BC0 27BD0180 */ addiu $sp, $sp, 0x180 + +update_below_player: +/* 07B074 800E1BC4 3C02800F */ lui $v0, 0x800f +/* 07B078 800E1BC8 8C427B30 */ lw $v0, 0x7b30($v0) +/* 07B07C 800E1BCC 27BDFF90 */ addiu $sp, $sp, -0x70 +/* 07B080 800E1BD0 AFBF0058 */ sw $ra, 0x58($sp) +/* 07B084 800E1BD4 AFB30054 */ sw $s3, 0x54($sp) +/* 07B088 800E1BD8 AFB20050 */ sw $s2, 0x50($sp) +/* 07B08C 800E1BDC AFB1004C */ sw $s1, 0x4c($sp) +/* 07B090 800E1BE0 AFB00048 */ sw $s0, 0x48($sp) +/* 07B094 800E1BE4 F7B60068 */ sdc1 $f22, 0x68($sp) +/* 07B098 800E1BE8 F7B40060 */ sdc1 $f20, 0x60($sp) +/* 07B09C 800E1BEC 0C044181 */ jal get_shadow_by_index +/* 07B0A0 800E1BF0 8C4400CC */ lw $a0, 0xcc($v0) +/* 07B0A4 800E1BF4 3C128011 */ lui $s2, 0x8011 +/* 07B0A8 800E1BF8 2652EFC8 */ addiu $s2, $s2, -0x1038 +/* 07B0AC 800E1BFC 0040802D */ daddu $s0, $v0, $zero +/* 07B0B0 800E1C00 3C04800B */ lui $a0, 0x800b +/* 07B0B4 800E1C04 24841D80 */ addiu $a0, $a0, 0x1d80 +/* 07B0B8 800E1C08 44801000 */ mtc1 $zero, $f2 +/* 07B0BC 800E1C0C C64400A8 */ lwc1 $f4, 0xa8($s2) +/* 07B0C0 800E1C10 3C0142B4 */ lui $at, 0x42b4 +/* 07B0C4 800E1C14 44810000 */ mtc1 $at, $f0 +/* 07B0C8 800E1C18 3C038007 */ lui $v1, 0x8007 +/* 07B0CC 800E1C1C 8C637410 */ lw $v1, 0x7410($v1) +/* 07B0D0 800E1C20 46001206 */ mov.s $f8, $f2 +/* 07B0D4 800E1C24 00031080 */ sll $v0, $v1, 2 +/* 07B0D8 800E1C28 00431021 */ addu $v0, $v0, $v1 +/* 07B0DC 800E1C2C 00021080 */ sll $v0, $v0, 2 +/* 07B0E0 800E1C30 00431023 */ subu $v0, $v0, $v1 +/* 07B0E4 800E1C34 000218C0 */ sll $v1, $v0, 3 +/* 07B0E8 800E1C38 00431021 */ addu $v0, $v0, $v1 +/* 07B0EC 800E1C3C 000210C0 */ sll $v0, $v0, 3 +/* 07B0F0 800E1C40 00448821 */ addu $s1, $v0, $a0 +/* 07B0F4 800E1C44 4604003E */ c.le.s $f0, $f4 +/* 07B0F8 800E1C48 00000000 */ nop +/* 07B0FC 800E1C4C 4500000A */ bc1f .L800E1C78 +/* 07B100 800E1C50 E7A80034 */ swc1 $f8, 0x34($sp) +/* 07B104 800E1C54 3C014387 */ lui $at, 0x4387 +/* 07B108 800E1C58 44810000 */ mtc1 $at, $f0 +/* 07B10C 800E1C5C 00000000 */ nop +/* 07B110 800E1C60 4600203C */ c.lt.s $f4, $f0 +/* 07B114 800E1C64 00000000 */ nop +/* 07B118 800E1C68 45000003 */ bc1f .L800E1C78 +/* 07B11C 800E1C6C 00000000 */ nop +/* 07B120 800E1C70 3C014334 */ lui $at, 0x4334 +/* 07B124 800E1C74 44814000 */ mtc1 $at, $f8 +.L800E1C78: +/* 07B128 800E1C78 3C038007 */ lui $v1, 0x8007 +/* 07B12C 800E1C7C 8C637410 */ lw $v1, 0x7410($v1) +/* 07B130 800E1C80 C6420028 */ lwc1 $f2, 0x28($s2) +/* 07B134 800E1C84 3C014480 */ lui $at, 0x4480 +/* 07B138 800E1C88 44810000 */ mtc1 $at, $f0 +/* 07B13C 800E1C8C 3C0142B4 */ lui $at, 0x42b4 +/* 07B140 800E1C90 44816000 */ mtc1 $at, $f12 +/* 07B144 800E1C94 00031080 */ sll $v0, $v1, 2 +/* 07B148 800E1C98 00431021 */ addu $v0, $v0, $v1 +/* 07B14C 800E1C9C 00021080 */ sll $v0, $v0, 2 +/* 07B150 800E1CA0 00431023 */ subu $v0, $v0, $v1 +/* 07B154 800E1CA4 000218C0 */ sll $v1, $v0, 3 +/* 07B158 800E1CA8 00431021 */ addu $v0, $v0, $v1 +/* 07B15C 800E1CAC 000210C0 */ sll $v0, $v0, 3 +/* 07B160 800E1CB0 3C01800B */ lui $at, 0x800b +/* 07B164 800E1CB4 00220821 */ addu $at, $at, $v0 +/* 07B168 800E1CB8 C4261DEC */ lwc1 $f6, 0x1dec($at) +/* 07B16C 800E1CBC E6020010 */ swc1 $f2, 0x10($s0) +/* 07B170 800E1CC0 C6440030 */ lwc1 $f4, 0x30($s2) +/* 07B174 800E1CC4 E6040018 */ swc1 $f4, 0x18($s0) +/* 07B178 800E1CC8 864200B0 */ lh $v0, 0xb0($s2) +/* 07B17C 800E1CCC 27A60028 */ addiu $a2, $sp, 0x28 +/* 07B180 800E1CD0 E7A00034 */ swc1 $f0, 0x34($sp) +/* 07B184 800E1CD4 3C014060 */ lui $at, 0x4060 +/* 07B188 800E1CD8 44810000 */ mtc1 $at, $f0 +/* 07B18C 800E1CDC 460C4301 */ sub.s $f12, $f8, $f12 +/* 07B190 800E1CE0 E7A20028 */ swc1 $f2, 0x28($sp) +/* 07B194 800E1CE4 44821000 */ mtc1 $v0, $f2 +/* 07B198 800E1CE8 00000000 */ nop +/* 07B19C 800E1CEC 468010A0 */ cvt.s.w $f2, $f2 +/* 07B1A0 800E1CF0 46001083 */ div.s $f2, $f2, $f0 +/* 07B1A4 800E1CF4 46066300 */ add.s $f12, $f12, $f6 +/* 07B1A8 800E1CF8 C640002C */ lwc1 $f0, 0x2c($s2) +/* 07B1AC 800E1CFC 864200B2 */ lh $v0, 0xb2($s2) +/* 07B1B0 800E1D00 27A7002C */ addiu $a3, $sp, 0x2c +/* 07B1B4 800E1D04 E7A40030 */ swc1 $f4, 0x30($sp) +/* 07B1B8 800E1D08 46020000 */ add.s $f0, $f0, $f2 +/* 07B1BC 800E1D0C 44827000 */ mtc1 $v0, $f14 +/* 07B1C0 800E1D10 00000000 */ nop +/* 07B1C4 800E1D14 468073A0 */ cvt.s.w $f14, $f14 +/* 07B1C8 800E1D18 27A20030 */ addiu $v0, $sp, 0x30 +/* 07B1CC 800E1D1C E7A0002C */ swc1 $f0, 0x2c($sp) +/* 07B1D0 800E1D20 AFA20010 */ sw $v0, 0x10($sp) +/* 07B1D4 800E1D24 27A20034 */ addiu $v0, $sp, 0x34 +/* 07B1D8 800E1D28 AFA20014 */ sw $v0, 0x14($sp) +/* 07B1DC 800E1D2C 27A20038 */ addiu $v0, $sp, 0x38 +/* 07B1E0 800E1D30 AFA20018 */ sw $v0, 0x18($sp) +/* 07B1E4 800E1D34 27A2003C */ addiu $v0, $sp, 0x3c +/* 07B1E8 800E1D38 AFA2001C */ sw $v0, 0x1c($sp) +/* 07B1EC 800E1D3C 27A20040 */ addiu $v0, $sp, 0x40 +/* 07B1F0 800E1D40 AFA20020 */ sw $v0, 0x20($sp) +/* 07B1F4 800E1D44 27A20044 */ addiu $v0, $sp, 0x44 +/* 07B1F8 800E1D48 0C0377F4 */ jal test_below_player +/* 07B1FC 800E1D4C AFA20024 */ sw $v0, 0x24($sp) +/* 07B200 800E1D50 C7A00038 */ lwc1 $f0, 0x38($sp) +/* 07B204 800E1D54 C7A2003C */ lwc1 $f2, 0x3c($sp) +/* 07B208 800E1D58 3C018016 */ lui $at, 0x8016 +/* 07B20C 800E1D5C A422A556 */ sh $v0, -0x5aaa($at) +/* 07B210 800E1D60 E6000028 */ swc1 $f0, 0x28($s0) +/* 07B214 800E1D64 E6020030 */ swc1 $f2, 0x30($s0) +/* 07B218 800E1D68 C62C006C */ lwc1 $f12, 0x6c($s1) +/* 07B21C 800E1D6C 0C00A6C9 */ jal clamp_angle +/* 07B220 800E1D70 46006307 */ neg.s $f12, $f12 +/* 07B224 800E1D74 C7A40038 */ lwc1 $f4, 0x38($sp) +/* 07B228 800E1D78 3C014334 */ lui $at, 0x4334 +/* 07B22C 800E1D7C 44813000 */ mtc1 $at, $f6 +/* 07B230 800E1D80 00000000 */ nop +/* 07B234 800E1D84 46062100 */ add.s $f4, $f4, $f6 +/* 07B238 800E1D88 C7A2003C */ lwc1 $f2, 0x3c($sp) +/* 07B23C 800E1D8C 4480B000 */ mtc1 $zero, $f22 +/* 07B240 800E1D90 46061080 */ add.s $f2, $f2, $f6 +/* 07B244 800E1D94 E600002C */ swc1 $f0, 0x2c($s0) +/* 07B248 800E1D98 46162032 */ c.eq.s $f4, $f22 +/* 07B24C 800E1D9C E7A40038 */ swc1 $f4, 0x38($sp) +/* 07B250 800E1DA0 45000005 */ bc1f .L800E1DB8 +/* 07B254 800E1DA4 E7A2003C */ swc1 $f2, 0x3c($sp) +/* 07B258 800E1DA8 46161032 */ c.eq.s $f2, $f22 +/* 07B25C 800E1DAC 00000000 */ nop +/* 07B260 800E1DB0 45010041 */ bc1t .L800E1EB8 +/* 07B264 800E1DB4 00000000 */ nop +.L800E1DB8: +/* 07B268 800E1DB8 C7AC0028 */ lwc1 $f12, 0x28($sp) +/* 07B26C 800E1DBC C7AE0030 */ lwc1 $f14, 0x30($sp) +/* 07B270 800E1DC0 8E460028 */ lw $a2, 0x28($s2) +/* 07B274 800E1DC4 0C00A7B5 */ jal dist2D +/* 07B278 800E1DC8 8E470030 */ lw $a3, 0x30($s2) +/* 07B27C 800E1DCC C64C0028 */ lwc1 $f12, 0x28($s2) +/* 07B280 800E1DD0 C64E0030 */ lwc1 $f14, 0x30($s2) +/* 07B284 800E1DD4 8FA60028 */ lw $a2, 0x28($sp) +/* 07B288 800E1DD8 8FA70030 */ lw $a3, 0x30($sp) +/* 07B28C 800E1DDC 4600028D */ trunc.w.s $f10, $f0 +/* 07B290 800E1DE0 44135000 */ mfc1 $s3, $f10 +/* 07B294 800E1DE4 0C00A720 */ jal atan2 +/* 07B298 800E1DE8 00000000 */ nop +/* 07B29C 800E1DEC 0C00A788 */ jal get_player_normal_yaw +/* 07B2A0 800E1DF0 46000506 */ mov.s $f20, $f0 +/* 07B2A4 800E1DF4 3C01C2B4 */ lui $at, 0xc2b4 +/* 07B2A8 800E1DF8 44816000 */ mtc1 $at, $f12 +/* 07B2AC 800E1DFC 00000000 */ nop +/* 07B2B0 800E1E00 46146301 */ sub.s $f12, $f12, $f20 +/* 07B2B4 800E1E04 0C00A6C9 */ jal clamp_angle +/* 07B2B8 800E1E08 46006300 */ add.s $f12, $f12, $f0 +/* 07B2BC 800E1E0C 3C118007 */ lui $s1, 0x8007 +/* 07B2C0 800E1E10 2631419C */ addiu $s1, $s1, 0x419c +/* 07B2C4 800E1E14 8E220000 */ lw $v0, ($s1) +/* 07B2C8 800E1E18 C442012C */ lwc1 $f2, 0x12c($v0) +/* 07B2CC 800E1E1C 4600028D */ trunc.w.s $f10, $f0 +/* 07B2D0 800E1E20 44025000 */ mfc1 $v0, $f10 +/* 07B2D4 800E1E24 46161032 */ c.eq.s $f2, $f22 +/* 07B2D8 800E1E28 00000000 */ nop +/* 07B2DC 800E1E2C 45010022 */ bc1t .L800E1EB8 +/* 07B2E0 800E1E30 00000000 */ nop +/* 07B2E4 800E1E34 44826000 */ mtc1 $v0, $f12 +/* 07B2E8 800E1E38 00000000 */ nop +/* 07B2EC 800E1E3C 0C00A8BB */ jal sin_deg +/* 07B2F0 800E1E40 46806320 */ cvt.s.w $f12, $f12 +/* 07B2F4 800E1E44 8E220000 */ lw $v0, ($s1) +/* 07B2F8 800E1E48 C4440128 */ lwc1 $f4, 0x128($v0) +/* 07B2FC 800E1E4C 46042102 */ mul.s $f4, $f4, $f4 +/* 07B300 800E1E50 00000000 */ nop +/* 07B304 800E1E54 C4420130 */ lwc1 $f2, 0x130($v0) +/* 07B308 800E1E58 46021082 */ mul.s $f2, $f2, $f2 +/* 07B30C 800E1E5C 00000000 */ nop +/* 07B310 800E1E60 46022300 */ add.s $f12, $f4, $f2 +/* 07B314 800E1E64 46006084 */ sqrt.s $f2, $f12 +/* 07B318 800E1E68 46021032 */ c.eq.s $f2, $f2 +/* 07B31C 800E1E6C 00000000 */ nop +/* 07B320 800E1E70 45010005 */ bc1t .L800E1E88 +/* 07B324 800E1E74 46000506 */ mov.s $f20, $f0 +/* 07B328 800E1E78 0C0187BC */ jal sqrtf +/* 07B32C 800E1E7C 00000000 */ nop +/* 07B330 800E1E80 46000086 */ mov.s $f2, $f0 +/* 07B334 800E1E84 8E220000 */ lw $v0, ($s1) +.L800E1E88: +/* 07B338 800E1E88 C440012C */ lwc1 $f0, 0x12c($v0) +/* 07B33C 800E1E8C 46001003 */ div.s $f0, $f2, $f0 +/* 07B340 800E1E90 44931000 */ mtc1 $s3, $f2 +/* 07B344 800E1E94 00000000 */ nop +/* 07B348 800E1E98 468010A0 */ cvt.s.w $f2, $f2 +/* 07B34C 800E1E9C 46020002 */ mul.s $f0, $f0, $f2 +/* 07B350 800E1EA0 00000000 */ nop +/* 07B354 800E1EA4 46140002 */ mul.s $f0, $f0, $f20 +/* 07B358 800E1EA8 00000000 */ nop +/* 07B35C 800E1EAC C7A2002C */ lwc1 $f2, 0x2c($sp) +/* 07B360 800E1EB0 46001081 */ sub.s $f2, $f2, $f0 +/* 07B364 800E1EB4 E7A2002C */ swc1 $f2, 0x2c($sp) +.L800E1EB8: +/* 07B368 800E1EB8 C7A0002C */ lwc1 $f0, 0x2c($sp) +/* 07B36C 800E1EBC E6000014 */ swc1 $f0, 0x14($s0) +/* 07B370 800E1EC0 9242000E */ lbu $v0, 0xe($s2) +/* 07B374 800E1EC4 3C013FE0 */ lui $at, 0x3fe0 +/* 07B378 800E1EC8 44811800 */ mtc1 $at, $f3 +/* 07B37C 800E1ECC 44801000 */ mtc1 $zero, $f2 +/* 07B380 800E1ED0 44820000 */ mtc1 $v0, $f0 +/* 07B384 800E1ED4 00000000 */ nop +/* 07B388 800E1ED8 46800021 */ cvt.d.w $f0, $f0 +/* 07B38C 800E1EDC 46220002 */ mul.d $f0, $f0, $f2 +/* 07B390 800E1EE0 00000000 */ nop +/* 07B394 800E1EE4 3C0141E0 */ lui $at, 0x41e0 +/* 07B398 800E1EE8 44811800 */ mtc1 $at, $f3 +/* 07B39C 800E1EEC 44801000 */ mtc1 $zero, $f2 +/* 07B3A0 800E1EF0 00000000 */ nop +/* 07B3A4 800E1EF4 4620103E */ c.le.d $f2, $f0 +/* 07B3A8 800E1EF8 00000000 */ nop +/* 07B3AC 800E1EFC 45010005 */ bc1t .L800E1F14 +/* 07B3B0 800E1F00 26040005 */ addiu $a0, $s0, 5 +/* 07B3B4 800E1F04 4620028D */ trunc.w.d $f10, $f0 +/* 07B3B8 800E1F08 44035000 */ mfc1 $v1, $f10 +/* 07B3BC 800E1F0C 080387CC */ j .L800E1F30 +/* 07B3C0 800E1F10 A0830000 */ sb $v1, ($a0) + +.L800E1F14: +/* 07B3C4 800E1F14 46220001 */ sub.d $f0, $f0, $f2 +/* 07B3C8 800E1F18 3C028000 */ lui $v0, 0x8000 +/* 07B3CC 800E1F1C 4620028D */ trunc.w.d $f10, $f0 +/* 07B3D0 800E1F20 44035000 */ mfc1 $v1, $f10 +/* 07B3D4 800E1F24 00000000 */ nop +/* 07B3D8 800E1F28 00621825 */ or $v1, $v1, $v0 +/* 07B3DC 800E1F2C A0830000 */ sb $v1, ($a0) +.L800E1F30: +/* 07B3E0 800E1F30 3C028007 */ lui $v0, 0x8007 +/* 07B3E4 800E1F34 8C42419C */ lw $v0, 0x419c($v0) +/* 07B3E8 800E1F38 9042007E */ lbu $v0, 0x7e($v0) +/* 07B3EC 800E1F3C 30420001 */ andi $v0, $v0, 1 +/* 07B3F0 800E1F40 14400006 */ bnez $v0, .L800E1F5C +/* 07B3F4 800E1F44 00000000 */ nop +/* 07B3F8 800E1F48 8FA50034 */ lw $a1, 0x34($sp) +/* 07B3FC 800E1F4C 0C044A17 */ jal set_standard_shadow_scale +/* 07B400 800E1F50 0200202D */ daddu $a0, $s0, $zero +/* 07B404 800E1F54 080387DA */ j .L800E1F68 +/* 07B408 800E1F58 00000000 */ nop + +.L800E1F5C: +/* 07B40C 800E1F5C 8FA50034 */ lw $a1, 0x34($sp) +/* 07B410 800E1F60 0C044A75 */ jal set_shadow_scale_peach +/* 07B414 800E1F64 0200202D */ daddu $a0, $s0, $zero +.L800E1F68: +/* 07B418 800E1F68 8FBF0058 */ lw $ra, 0x58($sp) +/* 07B41C 800E1F6C 8FB30054 */ lw $s3, 0x54($sp) +/* 07B420 800E1F70 8FB20050 */ lw $s2, 0x50($sp) +/* 07B424 800E1F74 8FB1004C */ lw $s1, 0x4c($sp) +/* 07B428 800E1F78 8FB00048 */ lw $s0, 0x48($sp) +/* 07B42C 800E1F7C D7B60068 */ ldc1 $f22, 0x68($sp) +/* 07B430 800E1F80 D7B40060 */ ldc1 $f20, 0x60($sp) +/* 07B434 800E1F84 03E00008 */ jr $ra +/* 07B438 800E1F88 27BD0070 */ addiu $sp, $sp, 0x70 + +/* 07B43C 800E1F8C 00000000 */ nop +func_800E1F90: +/* 07B440 800E1F90 3C048011 */ lui $a0, 0x8011 +/* 07B444 800E1F94 2484EFC8 */ addiu $a0, $a0, -0x1038 +/* 07B448 800E1F98 3C038007 */ lui $v1, 0x8007 +/* 07B44C 800E1F9C 8C63419C */ lw $v1, 0x419c($v1) +/* 07B450 800E1FA0 8C8501B8 */ lw $a1, 0x1b8($a0) +/* 07B454 800E1FA4 80660040 */ lb $a2, 0x40($v1) +/* 07B458 800E1FA8 AC8600E8 */ sw $a2, 0xe8($a0) +/* 07B45C 800E1FAC 80620044 */ lb $v0, 0x44($v1) +/* 07B460 800E1FB0 AC8200EC */ sw $v0, 0xec($a0) +/* 07B464 800E1FB4 8C620000 */ lw $v0, ($v1) +/* 07B468 800E1FB8 AC8200DC */ sw $v0, 0xdc($a0) +/* 07B46C 800E1FBC 8C620010 */ lw $v0, 0x10($v1) +/* 07B470 800E1FC0 AC8200E0 */ sw $v0, 0xe0($a0) +/* 07B474 800E1FC4 8C620020 */ lw $v0, 0x20($v1) +/* 07B478 800E1FC8 24A50001 */ addiu $a1, $a1, 1 +/* 07B47C 800E1FCC AC8200E4 */ sw $v0, 0xe4($a0) +/* 07B480 800E1FD0 28A2000A */ slti $v0, $a1, 0xa +/* 07B484 800E1FD4 14400002 */ bnez $v0, .L800E1FE0 +/* 07B488 800E1FD8 0080382D */ daddu $a3, $a0, $zero +/* 07B48C 800E1FDC 0000282D */ daddu $a1, $zero, $zero +.L800E1FE0: +/* 07B490 800E1FE0 00051080 */ sll $v0, $a1, 2 +/* 07B494 800E1FE4 00441021 */ addu $v0, $v0, $a0 +/* 07B498 800E1FE8 AC460168 */ sw $a2, 0x168($v0) +/* 07B49C 800E1FEC 8C8300EC */ lw $v1, 0xec($a0) +/* 07B4A0 800E1FF0 AC430190 */ sw $v1, 0x190($v0) +/* 07B4A4 800E1FF4 8C8300DC */ lw $v1, 0xdc($a0) +/* 07B4A8 800E1FF8 AC4300F0 */ sw $v1, 0xf0($v0) +/* 07B4AC 800E1FFC 8C8300E0 */ lw $v1, 0xe0($a0) +/* 07B4B0 800E2000 AC430118 */ sw $v1, 0x118($v0) +/* 07B4B4 800E2004 8C8300E4 */ lw $v1, 0xe4($a0) +/* 07B4B8 800E2008 AC430140 */ sw $v1, 0x140($v0) +/* 07B4BC 800E200C 8C820000 */ lw $v0, ($a0) +/* 07B4C0 800E2010 30423000 */ andi $v0, $v0, 0x3000 +/* 07B4C4 800E2014 10400006 */ beqz $v0, .L800E2030 +/* 07B4C8 800E2018 AC8501B8 */ sw $a1, 0x1b8($a0) +/* 07B4CC 800E201C AC8000E8 */ sw $zero, 0xe8($a0) +/* 07B4D0 800E2020 AC8000EC */ sw $zero, 0xec($a0) +/* 07B4D4 800E2024 AC8000DC */ sw $zero, 0xdc($a0) +/* 07B4D8 800E2028 AC8000E0 */ sw $zero, 0xe0($a0) +/* 07B4DC 800E202C AC8000E4 */ sw $zero, 0xe4($a0) +.L800E2030: +/* 07B4E0 800E2030 8CE40004 */ lw $a0, 4($a3) +/* 07B4E4 800E2034 30820008 */ andi $v0, $a0, 8 +/* 07B4E8 800E2038 10400006 */ beqz $v0, .L800E2054 +/* 07B4EC 800E203C 3C020020 */ lui $v0, 0x20 +/* 07B4F0 800E2040 8CE300E0 */ lw $v1, 0xe0($a3) +/* 07B4F4 800E2044 00821025 */ or $v0, $a0, $v0 +/* 07B4F8 800E2048 ACE20004 */ sw $v0, 4($a3) +/* 07B4FC 800E204C 34630004 */ ori $v1, $v1, 4 +/* 07B500 800E2050 ACE300E0 */ sw $v1, 0xe0($a3) +.L800E2054: +/* 07B504 800E2054 03E00008 */ jr $ra +/* 07B508 800E2058 00000000 */ nop + +func_800E205C: +/* 07B50C 800E205C 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 07B510 800E2060 2402FFFF */ addiu $v0, $zero, -1 +/* 07B514 800E2064 3C058011 */ lui $a1, 0x8011 +/* 07B518 800E2068 24A5C92C */ addiu $a1, $a1, -0x36d4 +/* 07B51C 800E206C AFB00010 */ sw $s0, 0x10($sp) +/* 07B520 800E2070 3C108011 */ lui $s0, 0x8011 +/* 07B524 800E2074 2610EFC8 */ addiu $s0, $s0, -0x1038 +/* 07B528 800E2078 3C018011 */ lui $at, 0x8011 +/* 07B52C 800E207C AC22C96C */ sw $v0, -0x3694($at) +/* 07B530 800E2080 24020001 */ addiu $v0, $zero, 1 +/* 07B534 800E2084 AFBF0014 */ sw $ra, 0x14($sp) +/* 07B538 800E2088 3C018011 */ lui $at, 0x8011 +/* 07B53C 800E208C AC20C954 */ sw $zero, -0x36ac($at) +/* 07B540 800E2090 3C018011 */ lui $at, 0x8011 +/* 07B544 800E2094 AC20C920 */ sw $zero, -0x36e0($at) +/* 07B548 800E2098 3C018011 */ lui $at, 0x8011 +/* 07B54C 800E209C AC20C940 */ sw $zero, -0x36c0($at) +/* 07B550 800E20A0 3C018011 */ lui $at, 0x8011 +/* 07B554 800E20A4 AC20C958 */ sw $zero, -0x36a8($at) +/* 07B558 800E20A8 ACA00000 */ sw $zero, ($a1) +/* 07B55C 800E20AC 3C018011 */ lui $at, 0x8011 +/* 07B560 800E20B0 AC20C95C */ sw $zero, -0x36a4($at) +/* 07B564 800E20B4 3C018011 */ lui $at, 0x8011 +/* 07B568 800E20B8 AC20C980 */ sw $zero, -0x3680($at) +/* 07B56C 800E20BC 3C01800F */ lui $at, 0x800f +/* 07B570 800E20C0 AC207B40 */ sw $zero, 0x7b40($at) +/* 07B574 800E20C4 3C01800F */ lui $at, 0x800f +/* 07B578 800E20C8 AC207B44 */ sw $zero, 0x7b44($at) +/* 07B57C 800E20CC 3C018011 */ lui $at, 0x8011 +/* 07B580 800E20D0 AC20C938 */ sw $zero, -0x36c8($at) +/* 07B584 800E20D4 3C018011 */ lui $at, 0x8011 +/* 07B588 800E20D8 AC20C990 */ sw $zero, -0x3670($at) +/* 07B58C 800E20DC A202000D */ sb $v0, 0xd($s0) +/* 07B590 800E20E0 2402000D */ addiu $v0, $zero, 0xd +/* 07B594 800E20E4 3C048007 */ lui $a0, 0x8007 +/* 07B598 800E20E8 2484419C */ addiu $a0, $a0, 0x419c +/* 07B59C 800E20EC A20200BE */ sb $v0, 0xbe($s0) +/* 07B5A0 800E20F0 8C830000 */ lw $v1, ($a0) +/* 07B5A4 800E20F4 240200FF */ addiu $v0, $zero, 0xff +/* 07B5A8 800E20F8 A202000E */ sb $v0, 0xe($s0) +/* 07B5AC 800E20FC A202000F */ sb $v0, 0xf($s0) +/* 07B5B0 800E2100 9062007E */ lbu $v0, 0x7e($v1) +/* 07B5B4 800E2104 304200F7 */ andi $v0, $v0, 0xf7 +/* 07B5B8 800E2108 A062007E */ sb $v0, 0x7e($v1) +/* 07B5BC 800E210C 8C830000 */ lw $v1, ($a0) +/* 07B5C0 800E2110 9062007E */ lbu $v0, 0x7e($v1) +/* 07B5C4 800E2114 304200EF */ andi $v0, $v0, 0xef +/* 07B5C8 800E2118 A062007E */ sb $v0, 0x7e($v1) +/* 07B5CC 800E211C 8C840000 */ lw $a0, ($a0) +/* 07B5D0 800E2120 9082007E */ lbu $v0, 0x7e($a0) +/* 07B5D4 800E2124 3C013F80 */ lui $at, 0x3f80 +/* 07B5D8 800E2128 44811000 */ mtc1 $at, $f2 +/* 07B5DC 800E212C 30420001 */ andi $v0, $v0, 1 +/* 07B5E0 800E2130 1040000F */ beqz $v0, .L800E2170 +/* 07B5E4 800E2134 24020037 */ addiu $v0, $zero, 0x37 +/* 07B5E8 800E2138 A60200B0 */ sh $v0, 0xb0($s0) +/* 07B5EC 800E213C 8E020004 */ lw $v0, 4($s0) +/* 07B5F0 800E2140 24030026 */ addiu $v1, $zero, 0x26 +/* 07B5F4 800E2144 A60300B2 */ sh $v1, 0xb2($s0) +/* 07B5F8 800E2148 34421000 */ ori $v0, $v0, 0x1000 +/* 07B5FC 800E214C AE020004 */ sw $v0, 4($s0) +/* 07B600 800E2150 9082007E */ lbu $v0, 0x7e($a0) +/* 07B604 800E2154 30420002 */ andi $v0, $v0, 2 +/* 07B608 800E2158 1040000A */ beqz $v0, .L800E2184 +/* 07B60C 800E215C 24020002 */ addiu $v0, $zero, 2 +/* 07B610 800E2160 ACA20000 */ sw $v0, ($a1) +/* 07B614 800E2164 9082007F */ lbu $v0, 0x7f($a0) +/* 07B618 800E2168 08038861 */ j .L800E2184 +/* 07B61C 800E216C A202000C */ sb $v0, 0xc($s0) + +.L800E2170: +/* 07B620 800E2170 24020025 */ addiu $v0, $zero, 0x25 +/* 07B624 800E2174 A60200B0 */ sh $v0, 0xb0($s0) +/* 07B628 800E2178 2402001A */ addiu $v0, $zero, 0x1a +/* 07B62C 800E217C A60200B2 */ sh $v0, 0xb2($s0) +/* 07B630 800E2180 A0800080 */ sb $zero, 0x80($a0) +.L800E2184: +/* 07B634 800E2184 3C02800F */ lui $v0, 0x800f +/* 07B638 800E2188 24427B70 */ addiu $v0, $v0, 0x7b70 +/* 07B63C 800E218C C4400000 */ lwc1 $f0, ($v0) +/* 07B640 800E2190 46020002 */ mul.s $f0, $f0, $f2 +/* 07B644 800E2194 00000000 */ nop +/* 07B648 800E2198 24420004 */ addiu $v0, $v0, 4 +/* 07B64C 800E219C E6000058 */ swc1 $f0, 0x58($s0) +/* 07B650 800E21A0 C4400000 */ lwc1 $f0, ($v0) +/* 07B654 800E21A4 46020002 */ mul.s $f0, $f0, $f2 +/* 07B658 800E21A8 00000000 */ nop +/* 07B65C 800E21AC E600005C */ swc1 $f0, 0x5c($s0) +/* 07B660 800E21B0 C4400004 */ lwc1 $f0, 4($v0) +/* 07B664 800E21B4 46020002 */ mul.s $f0, $f0, $f2 +/* 07B668 800E21B8 00000000 */ nop +/* 07B66C 800E21BC 0000202D */ daddu $a0, $zero, $zero +/* 07B670 800E21C0 0C039769 */ jal set_action_state +/* 07B674 800E21C4 E600006C */ swc1 $f0, 0x6c($s0) +/* 07B678 800E21C8 3C068007 */ lui $a2, 0x8007 +/* 07B67C 800E21CC 8CC6419C */ lw $a2, 0x419c($a2) +/* 07B680 800E21D0 AE000054 */ sw $zero, 0x54($s0) +/* 07B684 800E21D4 AE000080 */ sw $zero, 0x80($s0) +/* 07B688 800E21D8 AE000064 */ sw $zero, 0x64($s0) +/* 07B68C 800E21DC AE000088 */ sw $zero, 0x88($s0) +/* 07B690 800E21E0 AE0000B8 */ sw $zero, 0xb8($s0) +/* 07B694 800E21E4 A60000C0 */ sh $zero, 0xc0($s0) +/* 07B698 800E21E8 AE000028 */ sw $zero, 0x28($s0) +/* 07B69C 800E21EC AE00002C */ sw $zero, 0x2c($s0) +/* 07B6A0 800E21F0 AE000030 */ sw $zero, 0x30($s0) +/* 07B6A4 800E21F4 AE000084 */ sw $zero, 0x84($s0) +/* 07B6A8 800E21F8 AE000090 */ sw $zero, 0x90($s0) +/* 07B6AC 800E21FC AE000094 */ sw $zero, 0x94($s0) +/* 07B6B0 800E2200 AE000098 */ sw $zero, 0x98($s0) +/* 07B6B4 800E2204 AE00009C */ sw $zero, 0x9c($s0) +/* 07B6B8 800E2208 84C30086 */ lh $v1, 0x86($a2) +/* 07B6BC 800E220C 84C2008C */ lh $v0, 0x8c($a2) +/* 07B6C0 800E2210 00031900 */ sll $v1, $v1, 4 +/* 07B6C4 800E2214 3C018009 */ lui $at, 0x8009 +/* 07B6C8 800E2218 00230821 */ addu $at, $at, $v1 +/* 07B6CC 800E221C 8C2334F4 */ lw $v1, 0x34f4($at) +/* 07B6D0 800E2220 00021140 */ sll $v0, $v0, 5 +/* 07B6D4 800E2224 00431021 */ addu $v0, $v0, $v1 +/* 07B6D8 800E2228 8C440004 */ lw $a0, 4($v0) +/* 07B6DC 800E222C 8C850014 */ lw $a1, 0x14($a0) +/* 07B6E0 800E2230 10A0001B */ beqz $a1, .L800E22A0 +/* 07B6E4 800E2234 00000000 */ nop +/* 07B6E8 800E2238 84C3008E */ lh $v1, 0x8e($a2) +/* 07B6EC 800E223C 8C820018 */ lw $v0, 0x18($a0) +/* 07B6F0 800E2240 0062102A */ slt $v0, $v1, $v0 +/* 07B6F4 800E2244 10400016 */ beqz $v0, .L800E22A0 +/* 07B6F8 800E2248 00031100 */ sll $v0, $v1, 4 +/* 07B6FC 800E224C 00451021 */ addu $v0, $v0, $a1 +/* 07B700 800E2250 C4400000 */ lwc1 $f0, ($v0) +/* 07B704 800E2254 E6000028 */ swc1 $f0, 0x28($s0) +/* 07B708 800E2258 84C2008E */ lh $v0, 0x8e($a2) +/* 07B70C 800E225C 8C830014 */ lw $v1, 0x14($a0) +/* 07B710 800E2260 00021100 */ sll $v0, $v0, 4 +/* 07B714 800E2264 00431021 */ addu $v0, $v0, $v1 +/* 07B718 800E2268 C4400004 */ lwc1 $f0, 4($v0) +/* 07B71C 800E226C E600002C */ swc1 $f0, 0x2c($s0) +/* 07B720 800E2270 84C2008E */ lh $v0, 0x8e($a2) +/* 07B724 800E2274 8C830014 */ lw $v1, 0x14($a0) +/* 07B728 800E2278 00021100 */ sll $v0, $v0, 4 +/* 07B72C 800E227C 00431021 */ addu $v0, $v0, $v1 +/* 07B730 800E2280 C4400008 */ lwc1 $f0, 8($v0) +/* 07B734 800E2284 E6000030 */ swc1 $f0, 0x30($s0) +/* 07B738 800E2288 84C2008E */ lh $v0, 0x8e($a2) +/* 07B73C 800E228C 8C830014 */ lw $v1, 0x14($a0) +/* 07B740 800E2290 00021100 */ sll $v0, $v0, 4 +/* 07B744 800E2294 00431021 */ addu $v0, $v0, $v1 +/* 07B748 800E2298 C440000C */ lwc1 $f0, 0xc($v0) +/* 07B74C 800E229C E6000084 */ swc1 $f0, 0x84($s0) +.L800E22A0: +/* 07B750 800E22A0 C6000028 */ lwc1 $f0, 0x28($s0) +/* 07B754 800E22A4 C602002C */ lwc1 $f2, 0x2c($s0) +/* 07B758 800E22A8 C6040030 */ lwc1 $f4, 0x30($s0) +/* 07B75C 800E22AC 3C02800B */ lui $v0, 0x800b +/* 07B760 800E22B0 24421D80 */ addiu $v0, $v0, 0x1d80 +/* 07B764 800E22B4 E4400060 */ swc1 $f0, 0x60($v0) +/* 07B768 800E22B8 E4420064 */ swc1 $f2, 0x64($v0) +/* 07B76C 800E22BC 0C039668 */ jal func_800E59A0 +/* 07B770 800E22C0 E4440068 */ swc1 $f4, 0x68($v0) +/* 07B774 800E22C4 3C048011 */ lui $a0, 0x8011 +/* 07B778 800E22C8 2484F250 */ addiu $a0, $a0, -0xdb0 +/* 07B77C 800E22CC 0C00A580 */ jal mem_clear +/* 07B780 800E22D0 24050034 */ addiu $a1, $zero, 0x34 +/* 07B784 800E22D4 8FBF0014 */ lw $ra, 0x14($sp) +/* 07B788 800E22D8 8FB00010 */ lw $s0, 0x10($sp) +/* 07B78C 800E22DC 03E00008 */ jr $ra +/* 07B790 800E22E0 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 07B794 800E22E4 3C028011 */ lui $v0, 0x8011 +/* 07B798 800E22E8 2442EFC8 */ addiu $v0, $v0, -0x1038 +/* 07B79C 800E22EC 8C4300E0 */ lw $v1, 0xe0($v0) +/* 07B7A0 800E22F0 944200DE */ lhu $v0, 0xde($v0) +/* 07B7A4 800E22F4 00031C00 */ sll $v1, $v1, 0x10 +/* 07B7A8 800E22F8 00431025 */ or $v0, $v0, $v1 +/* 07B7AC 800E22FC 03E00008 */ jr $ra +/* 07B7B0 800E2300 AC820000 */ sw $v0, ($a0) + +func_800E2304: +/* 07B7B4 800E2304 27BDFFB8 */ addiu $sp, $sp, -0x48 +/* 07B7B8 800E2308 AFB10014 */ sw $s1, 0x14($sp) +/* 07B7BC 800E230C 0080882D */ daddu $s1, $a0, $zero +/* 07B7C0 800E2310 AFB20018 */ sw $s2, 0x18($sp) +/* 07B7C4 800E2314 00A0902D */ daddu $s2, $a1, $zero +/* 07B7C8 800E2318 3C038011 */ lui $v1, 0x8011 +/* 07B7CC 800E231C 2463EFC8 */ addiu $v1, $v1, -0x1038 +/* 07B7D0 800E2320 AFBF001C */ sw $ra, 0x1c($sp) +/* 07B7D4 800E2324 AFB00010 */ sw $s0, 0x10($sp) +/* 07B7D8 800E2328 F7BC0040 */ sdc1 $f28, 0x40($sp) +/* 07B7DC 800E232C F7BA0038 */ sdc1 $f26, 0x38($sp) +/* 07B7E0 800E2330 F7B80030 */ sdc1 $f24, 0x30($sp) +/* 07B7E4 800E2334 F7B60028 */ sdc1 $f22, 0x28($sp) +/* 07B7E8 800E2338 F7B40020 */ sdc1 $f20, 0x20($sp) +/* 07B7EC 800E233C C47C00E8 */ lwc1 $f28, 0xe8($v1) +/* 07B7F0 800E2340 4680E720 */ cvt.s.w $f28, $f28 +/* 07B7F4 800E2344 0060802D */ daddu $s0, $v1, $zero +/* 07B7F8 800E2348 4480D000 */ mtc1 $zero, $f26 +/* 07B7FC 800E234C 4406E000 */ mfc1 $a2, $f28 +/* 07B800 800E2350 8C6200EC */ lw $v0, 0xec($v1) +/* 07B804 800E2354 4600D306 */ mov.s $f12, $f26 +/* 07B808 800E2358 00021023 */ negu $v0, $v0 +/* 07B80C 800E235C 4482C000 */ mtc1 $v0, $f24 +/* 07B810 800E2360 00000000 */ nop +/* 07B814 800E2364 4680C620 */ cvt.s.w $f24, $f24 +/* 07B818 800E2368 4407C000 */ mfc1 $a3, $f24 +/* 07B81C 800E236C 0C00A7B5 */ jal dist2D +/* 07B820 800E2370 4600D386 */ mov.s $f14, $f26 +/* 07B824 800E2374 3C01428C */ lui $at, 0x428c +/* 07B828 800E2378 4481B000 */ mtc1 $at, $f22 +/* 07B82C 800E237C 46000506 */ mov.s $f20, $f0 +/* 07B830 800E2380 4614B03E */ c.le.s $f22, $f20 +/* 07B834 800E2384 00000000 */ nop +/* 07B838 800E2388 45030001 */ bc1tl .L800E2390 +/* 07B83C 800E238C 4600B506 */ mov.s $f20, $f22 +.L800E2390: +/* 07B840 800E2390 4600D306 */ mov.s $f12, $f26 +/* 07B844 800E2394 4406E000 */ mfc1 $a2, $f28 +/* 07B848 800E2398 4407C000 */ mfc1 $a3, $f24 +/* 07B84C 800E239C 0C00A720 */ jal atan2 +/* 07B850 800E23A0 4600D386 */ mov.s $f14, $f26 +/* 07B854 800E23A4 3C01800B */ lui $at, 0x800b +/* 07B858 800E23A8 C42C1DEC */ lwc1 $f12, 0x1dec($at) +/* 07B85C 800E23AC 0C00A6C9 */ jal clamp_angle +/* 07B860 800E23B0 460C0300 */ add.s $f12, $f0, $f12 +/* 07B864 800E23B4 461AA032 */ c.eq.s $f20, $f26 +/* 07B868 800E23B8 00000000 */ nop +/* 07B86C 800E23BC 45020003 */ bc1fl .L800E23CC +/* 07B870 800E23C0 E6200000 */ swc1 $f0, ($s1) +/* 07B874 800E23C4 C6000080 */ lwc1 $f0, 0x80($s0) +/* 07B878 800E23C8 E6200000 */ swc1 $f0, ($s1) +.L800E23CC: +/* 07B87C 800E23CC E6540000 */ swc1 $f20, ($s2) +/* 07B880 800E23D0 8FBF001C */ lw $ra, 0x1c($sp) +/* 07B884 800E23D4 8FB20018 */ lw $s2, 0x18($sp) +/* 07B888 800E23D8 8FB10014 */ lw $s1, 0x14($sp) +/* 07B88C 800E23DC 8FB00010 */ lw $s0, 0x10($sp) +/* 07B890 800E23E0 D7BC0040 */ ldc1 $f28, 0x40($sp) +/* 07B894 800E23E4 D7BA0038 */ ldc1 $f26, 0x38($sp) +/* 07B898 800E23E8 D7B80030 */ ldc1 $f24, 0x30($sp) +/* 07B89C 800E23EC D7B60028 */ ldc1 $f22, 0x28($sp) +/* 07B8A0 800E23F0 D7B40020 */ ldc1 $f20, 0x20($sp) +/* 07B8A4 800E23F4 03E00008 */ jr $ra +/* 07B8A8 800E23F8 27BD0048 */ addiu $sp, $sp, 0x48 + +/* 07B8AC 800E23FC 3C038007 */ lui $v1, 0x8007 +/* 07B8B0 800E2400 8C63419C */ lw $v1, 0x419c($v1) +/* 07B8B4 800E2404 27BDFFB8 */ addiu $sp, $sp, -0x48 +/* 07B8B8 800E2408 F7BA0038 */ sdc1 $f26, 0x38($sp) +/* 07B8BC 800E240C 4480D000 */ mtc1 $zero, $f26 +/* 07B8C0 800E2410 AFB00010 */ sw $s0, 0x10($sp) +/* 07B8C4 800E2414 0080802D */ daddu $s0, $a0, $zero +/* 07B8C8 800E2418 AFB10014 */ sw $s1, 0x14($sp) +/* 07B8CC 800E241C 00A0882D */ daddu $s1, $a1, $zero +/* 07B8D0 800E2420 AFBF0018 */ sw $ra, 0x18($sp) +/* 07B8D4 800E2424 F7BC0040 */ sdc1 $f28, 0x40($sp) +/* 07B8D8 800E2428 F7B80030 */ sdc1 $f24, 0x30($sp) +/* 07B8DC 800E242C F7B60028 */ sdc1 $f22, 0x28($sp) +/* 07B8E0 800E2430 F7B40020 */ sdc1 $f20, 0x20($sp) +/* 07B8E4 800E2434 80620040 */ lb $v0, 0x40($v1) +/* 07B8E8 800E2438 4600D306 */ mov.s $f12, $f26 +/* 07B8EC 800E243C 4482E000 */ mtc1 $v0, $f28 +/* 07B8F0 800E2440 00000000 */ nop +/* 07B8F4 800E2444 4680E720 */ cvt.s.w $f28, $f28 +/* 07B8F8 800E2448 80620044 */ lb $v0, 0x44($v1) +/* 07B8FC 800E244C 4406E000 */ mfc1 $a2, $f28 +/* 07B900 800E2450 00021023 */ negu $v0, $v0 +/* 07B904 800E2454 4482C000 */ mtc1 $v0, $f24 +/* 07B908 800E2458 00000000 */ nop +/* 07B90C 800E245C 4680C620 */ cvt.s.w $f24, $f24 +/* 07B910 800E2460 4407C000 */ mfc1 $a3, $f24 +/* 07B914 800E2464 0C00A7B5 */ jal dist2D +/* 07B918 800E2468 4600D386 */ mov.s $f14, $f26 +/* 07B91C 800E246C 3C01428C */ lui $at, 0x428c +/* 07B920 800E2470 4481B000 */ mtc1 $at, $f22 +/* 07B924 800E2474 46000506 */ mov.s $f20, $f0 +/* 07B928 800E2478 4614B03E */ c.le.s $f22, $f20 +/* 07B92C 800E247C 00000000 */ nop +/* 07B930 800E2480 45030001 */ bc1tl .L800E2488 +/* 07B934 800E2484 4600B506 */ mov.s $f20, $f22 +.L800E2488: +/* 07B938 800E2488 4600D306 */ mov.s $f12, $f26 +/* 07B93C 800E248C 4406E000 */ mfc1 $a2, $f28 +/* 07B940 800E2490 4407C000 */ mfc1 $a3, $f24 +/* 07B944 800E2494 0C00A720 */ jal atan2 +/* 07B948 800E2498 4600D386 */ mov.s $f14, $f26 +/* 07B94C 800E249C 3C01800B */ lui $at, 0x800b +/* 07B950 800E24A0 C42C1DEC */ lwc1 $f12, 0x1dec($at) +/* 07B954 800E24A4 0C00A6C9 */ jal clamp_angle +/* 07B958 800E24A8 460C0300 */ add.s $f12, $f0, $f12 +/* 07B95C 800E24AC 461AA032 */ c.eq.s $f20, $f26 +/* 07B960 800E24B0 00000000 */ nop +/* 07B964 800E24B4 45020005 */ bc1fl .L800E24CC +/* 07B968 800E24B8 E6000000 */ swc1 $f0, ($s0) +/* 07B96C 800E24BC 3C028011 */ lui $v0, 0x8011 +/* 07B970 800E24C0 2442EFC8 */ addiu $v0, $v0, -0x1038 +/* 07B974 800E24C4 C4400080 */ lwc1 $f0, 0x80($v0) +/* 07B978 800E24C8 E6000000 */ swc1 $f0, ($s0) +.L800E24CC: +/* 07B97C 800E24CC E6340000 */ swc1 $f20, ($s1) +/* 07B980 800E24D0 8FBF0018 */ lw $ra, 0x18($sp) +/* 07B984 800E24D4 8FB10014 */ lw $s1, 0x14($sp) +/* 07B988 800E24D8 8FB00010 */ lw $s0, 0x10($sp) +/* 07B98C 800E24DC D7BC0040 */ ldc1 $f28, 0x40($sp) +/* 07B990 800E24E0 D7BA0038 */ ldc1 $f26, 0x38($sp) +/* 07B994 800E24E4 D7B80030 */ ldc1 $f24, 0x30($sp) +/* 07B998 800E24E8 D7B60028 */ ldc1 $f22, 0x28($sp) +/* 07B99C 800E24EC D7B40020 */ ldc1 $f20, 0x20($sp) +/* 07B9A0 800E24F0 03E00008 */ jr $ra +/* 07B9A4 800E24F4 27BD0048 */ addiu $sp, $sp, 0x48 + +func_800E24F8: +/* 07B9A8 800E24F8 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 07B9AC 800E24FC AFB00010 */ sw $s0, 0x10($sp) +/* 07B9B0 800E2500 3C108011 */ lui $s0, 0x8011 +/* 07B9B4 800E2504 2610EFC8 */ addiu $s0, $s0, -0x1038 +/* 07B9B8 800E2508 AFBF0014 */ sw $ra, 0x14($sp) +/* 07B9BC 800E250C 0C044181 */ jal get_shadow_by_index +/* 07B9C0 800E2510 8E0400CC */ lw $a0, 0xcc($s0) +/* 07B9C4 800E2514 C4400028 */ lwc1 $f0, 0x28($v0) +/* 07B9C8 800E2518 3C018011 */ lui $at, 0x8011 +/* 07B9CC 800E251C D424BD30 */ ldc1 $f4, -0x42d0($at) +/* 07B9D0 800E2520 C4420030 */ lwc1 $f2, 0x30($v0) +/* 07B9D4 800E2524 46000021 */ cvt.d.s $f0, $f0 +/* 07B9D8 800E2528 46240000 */ add.d $f0, $f0, $f4 +/* 07B9DC 800E252C 3C05800B */ lui $a1, 0x800b +/* 07B9E0 800E2530 24A51D80 */ addiu $a1, $a1, 0x1d80 +/* 07B9E4 800E2534 460010A1 */ cvt.d.s $f2, $f2 +/* 07B9E8 800E2538 46241080 */ add.d $f2, $f2, $f4 +/* 07B9EC 800E253C 44802000 */ mtc1 $zero, $f4 +/* 07B9F0 800E2540 46200020 */ cvt.s.d $f0, $f0 +/* 07B9F4 800E2544 46040032 */ c.eq.s $f0, $f4 +/* 07B9F8 800E2548 00000000 */ nop +/* 07B9FC 800E254C 45000005 */ bc1f .L800E2564 +/* 07BA00 800E2550 462010A0 */ cvt.s.d $f2, $f2 +/* 07BA04 800E2554 46041032 */ c.eq.s $f2, $f4 +/* 07BA08 800E2558 00000000 */ nop +/* 07BA0C 800E255C 4501003D */ bc1t .L800E2654 +/* 07BA10 800E2560 00000000 */ nop +.L800E2564: +/* 07BA14 800E2564 920200B4 */ lbu $v0, 0xb4($s0) +/* 07BA18 800E2568 2442FFFF */ addiu $v0, $v0, -1 +/* 07BA1C 800E256C 00021600 */ sll $v0, $v0, 0x18 +/* 07BA20 800E2570 00021E03 */ sra $v1, $v0, 0x18 +/* 07BA24 800E2574 2C620011 */ sltiu $v0, $v1, 0x11 +/* 07BA28 800E2578 1040002D */ beqz $v0, .L800E2630 +/* 07BA2C 800E257C 00031080 */ sll $v0, $v1, 2 +/* 07BA30 800E2580 3C018011 */ lui $at, 0x8011 +/* 07BA34 800E2584 00220821 */ addu $at, $at, $v0 +/* 07BA38 800E2588 8C22BD38 */ lw $v0, -0x42c8($at) +/* 07BA3C 800E258C 00400008 */ jr $v0 +/* 07BA40 800E2590 00000000 */ nop +/* 07BA44 800E2594 3C014200 */ lui $at, 0x4200 +/* 07BA48 800E2598 44812000 */ mtc1 $at, $f4 +/* 07BA4C 800E259C 080389A5 */ j .L800E2694 +/* 07BA50 800E25A0 E4A4049C */ swc1 $f4, 0x49c($a1) + +/* 07BA54 800E25A4 84A20034 */ lh $v0, 0x34($a1) +/* 07BA58 800E25A8 28420082 */ slti $v0, $v0, 0x82 +/* 07BA5C 800E25AC 10400005 */ beqz $v0, .L800E25C4 +/* 07BA60 800E25B0 00000000 */ nop +/* 07BA64 800E25B4 3C014040 */ lui $at, 0x4040 +/* 07BA68 800E25B8 44810000 */ mtc1 $at, $f0 +/* 07BA6C 800E25BC 080389A5 */ j .L800E2694 +/* 07BA70 800E25C0 E4A0049C */ swc1 $f0, 0x49c($a1) + +.L800E25C4: +/* 07BA74 800E25C4 3C048011 */ lui $a0, 0x8011 +/* 07BA78 800E25C8 2484C9A0 */ addiu $a0, $a0, -0x3660 +/* 07BA7C 800E25CC 8C820000 */ lw $v0, ($a0) +/* 07BA80 800E25D0 3C014040 */ lui $at, 0x4040 +/* 07BA84 800E25D4 44812000 */ mtc1 $at, $f4 +/* 07BA88 800E25D8 0040182D */ daddu $v1, $v0, $zero +/* 07BA8C 800E25DC 24420001 */ addiu $v0, $v0, 1 +/* 07BA90 800E25E0 2863000B */ slti $v1, $v1, 0xb +/* 07BA94 800E25E4 1460002B */ bnez $v1, .L800E2694 +/* 07BA98 800E25E8 AC820000 */ sw $v0, ($a0) +/* 07BA9C 800E25EC C4A0049C */ lwc1 $f0, 0x49c($a1) +/* 07BAA0 800E25F0 3C014000 */ lui $at, 0x4000 +/* 07BAA4 800E25F4 44811000 */ mtc1 $at, $f2 +/* 07BAA8 800E25F8 00000000 */ nop +/* 07BAAC 800E25FC 46020001 */ sub.s $f0, $f0, $f2 +/* 07BAB0 800E2600 2402000A */ addiu $v0, $zero, 0xa +/* 07BAB4 800E2604 AC820000 */ sw $v0, ($a0) +.L800E2608: +/* 07BAB8 800E2608 4604003C */ c.lt.s $f0, $f4 +/* 07BABC 800E260C 00000000 */ nop +/* 07BAC0 800E2610 45000020 */ bc1f .L800E2694 +/* 07BAC4 800E2614 E4A0049C */ swc1 $f0, 0x49c($a1) +/* 07BAC8 800E2618 080389A5 */ j .L800E2694 +/* 07BACC 800E261C E4A4049C */ swc1 $f4, 0x49c($a1) + +/* 07BAD0 800E2620 3C014040 */ lui $at, 0x4040 +/* 07BAD4 800E2624 44812000 */ mtc1 $at, $f4 +/* 07BAD8 800E2628 080389A5 */ j .L800E2694 +/* 07BADC 800E262C E4A4049C */ swc1 $f4, 0x49c($a1) + +.L800E2630: +/* 07BAE0 800E2630 C4A0049C */ lwc1 $f0, 0x49c($a1) +/* 07BAE4 800E2634 3C014000 */ lui $at, 0x4000 +/* 07BAE8 800E2638 44811000 */ mtc1 $at, $f2 +/* 07BAEC 800E263C 3C014040 */ lui $at, 0x4040 +/* 07BAF0 800E2640 44812000 */ mtc1 $at, $f4 +/* 07BAF4 800E2644 3C018011 */ lui $at, 0x8011 +/* 07BAF8 800E2648 AC20C9A0 */ sw $zero, -0x3660($at) +/* 07BAFC 800E264C 08038982 */ j .L800E2608 +/* 07BB00 800E2650 46020001 */ sub.s $f0, $f0, $f2 + +.L800E2654: +/* 07BB04 800E2654 820300B4 */ lb $v1, 0xb4($s0) +/* 07BB08 800E2658 1860000A */ blez $v1, .L800E2684 +/* 07BB0C 800E265C 28620004 */ slti $v0, $v1, 4 +/* 07BB10 800E2660 14400003 */ bnez $v0, .L800E2670 +/* 07BB14 800E2664 24020011 */ addiu $v0, $zero, 0x11 +/* 07BB18 800E2668 14620006 */ bne $v1, $v0, .L800E2684 +/* 07BB1C 800E266C 00000000 */ nop +.L800E2670: +/* 07BB20 800E2670 3C0140E6 */ lui $at, 0x40e6 +/* 07BB24 800E2674 34216666 */ ori $at, $at, 0x6666 +/* 07BB28 800E2678 44812000 */ mtc1 $at, $f4 +/* 07BB2C 800E267C 080389A5 */ j .L800E2694 +/* 07BB30 800E2680 E4A4049C */ swc1 $f4, 0x49c($a1) + +.L800E2684: +/* 07BB34 800E2684 3C0141C0 */ lui $at, 0x41c0 +/* 07BB38 800E2688 44812000 */ mtc1 $at, $f4 +/* 07BB3C 800E268C 00000000 */ nop +/* 07BB40 800E2690 E4A4049C */ swc1 $f4, 0x49c($a1) +.L800E2694: +/* 07BB44 800E2694 8FBF0014 */ lw $ra, 0x14($sp) +/* 07BB48 800E2698 8FB00010 */ lw $s0, 0x10($sp) +/* 07BB4C 800E269C 03E00008 */ jr $ra +/* 07BB50 800E26A0 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 07BB54 800E26A4 00000000 */ nop +/* 07BB58 800E26A8 00000000 */ nop +/* 07BB5C 800E26AC 00000000 */ nop diff --git a/papermario/asm/code_7bb60_len_41b0.s b/papermario/asm/code_7bb60_len_41b0.s new file mode 100644 index 0000000000..f15b14f335 --- /dev/null +++ b/papermario/asm/code_7bb60_len_41b0.s @@ -0,0 +1,4622 @@ +# %s disassembly and split file +# generated by n64split v%s - N64 ROM splitter + +# assembler directives +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches +.set gp=64 # allow use of 64-bit general purpose registers + +.include "globals.inc" + + +.section .text800E26B0, "ax" + +func_800E26B0: +/* 07BB60 800E26B0 3C028011 */ lui $v0, 0x8011 +/* 07BB64 800E26B4 2442EFC8 */ addiu $v0, $v0, -0x1038 +/* 07BB68 800E26B8 C440002C */ lwc1 $f0, 0x2c($v0) +/* 07BB6C 800E26BC 03E00008 */ jr $ra +/* 07BB70 800E26C0 E4400050 */ swc1 $f0, 0x50($v0) + +func_800E26C4: +/* 07BB74 800E26C4 3C04800F */ lui $a0, 0x800f +/* 07BB78 800E26C8 8C847B30 */ lw $a0, 0x7b30($a0) +/* 07BB7C 800E26CC 808300B4 */ lb $v1, 0xb4($a0) +/* 07BB80 800E26D0 3C058011 */ lui $a1, 0x8011 +/* 07BB84 800E26D4 24A5EBB0 */ addiu $a1, $a1, -0x1450 +/* 07BB88 800E26D8 2C620003 */ sltiu $v0, $v1, 3 +/* 07BB8C 800E26DC 14400005 */ bnez $v0, .L800E26F4 +/* 07BB90 800E26E0 2402001F */ addiu $v0, $zero, 0x1f +/* 07BB94 800E26E4 10620003 */ beq $v1, $v0, .L800E26F4 +/* 07BB98 800E26E8 2402001A */ addiu $v0, $zero, 0x1a +/* 07BB9C 800E26EC 14620003 */ bne $v1, $v0, .L800E26FC +/* 07BBA0 800E26F0 24020021 */ addiu $v0, $zero, 0x21 +.L800E26F4: +/* 07BBA4 800E26F4 03E00008 */ jr $ra +/* 07BBA8 800E26F8 24020001 */ addiu $v0, $zero, 1 + +.L800E26FC: +/* 07BBAC 800E26FC 1462001C */ bne $v1, $v0, .L800E2770 +/* 07BBB0 800E2700 00000000 */ nop +/* 07BBB4 800E2704 3C028011 */ lui $v0, 0x8011 +/* 07BBB8 800E2708 2442F290 */ addiu $v0, $v0, -0xd70 +/* 07BBBC 800E270C 90420012 */ lbu $v0, 0x12($v0) +/* 07BBC0 800E2710 2442FFF8 */ addiu $v0, $v0, -8 +/* 07BBC4 800E2714 2C420002 */ sltiu $v0, $v0, 2 +/* 07BBC8 800E2718 10400009 */ beqz $v0, .L800E2740 +/* 07BBCC 800E271C 00000000 */ nop +/* 07BBD0 800E2720 80A20000 */ lb $v0, ($a1) +/* 07BBD4 800E2724 1440FFF3 */ bnez $v0, .L800E26F4 +/* 07BBD8 800E2728 00000000 */ nop +.L800E272C: +/* 07BBDC 800E272C 8C830004 */ lw $v1, 4($a0) +/* 07BBE0 800E2730 0000102D */ daddu $v0, $zero, $zero +/* 07BBE4 800E2734 34630004 */ ori $v1, $v1, 4 +/* 07BBE8 800E2738 03E00008 */ jr $ra +/* 07BBEC 800E273C AC830004 */ sw $v1, 4($a0) + +.L800E2740: +/* 07BBF0 800E2740 90A30003 */ lbu $v1, 3($a1) +/* 07BBF4 800E2744 2462FFFA */ addiu $v0, $v1, -6 +/* 07BBF8 800E2748 2C420002 */ sltiu $v0, $v0, 2 +/* 07BBFC 800E274C 50400004 */ beql $v0, $zero, .L800E2760 +/* 07BC00 800E2750 00031600 */ sll $v0, $v1, 0x18 +/* 07BC04 800E2754 80A20000 */ lb $v0, ($a1) +/* 07BC08 800E2758 03E00008 */ jr $ra +/* 07BC0C 800E275C 0002102B */ sltu $v0, $zero, $v0 + +.L800E2760: +/* 07BC10 800E2760 00021603 */ sra $v0, $v0, 0x18 +/* 07BC14 800E2764 24030004 */ addiu $v1, $zero, 4 +/* 07BC18 800E2768 1043FFF0 */ beq $v0, $v1, .L800E272C +/* 07BC1C 800E276C 00000000 */ nop +.L800E2770: +/* 07BC20 800E2770 03E00008 */ jr $ra +/* 07BC24 800E2774 0000102D */ daddu $v0, $zero, $zero + +move_player: +/* 07BC28 800E2778 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 07BC2C 800E277C 44861000 */ mtc1 $a2, $f2 +/* 07BC30 800E2780 3C068011 */ lui $a2, 0x8011 +/* 07BC34 800E2784 24C6EFC8 */ addiu $a2, $a2, -0x1038 +/* 07BC38 800E2788 AFBF0010 */ sw $ra, 0x10($sp) +/* 07BC3C 800E278C 8CC20000 */ lw $v0, ($a2) +/* 07BC40 800E2790 34424000 */ ori $v0, $v0, 0x4000 +/* 07BC44 800E2794 ACC20000 */ sw $v0, ($a2) +/* 07BC48 800E2798 8CC20004 */ lw $v0, 4($a2) +/* 07BC4C 800E279C 3C030040 */ lui $v1, 0x40 +/* 07BC50 800E27A0 ACC500A0 */ sw $a1, 0xa0($a2) +/* 07BC54 800E27A4 A4C40012 */ sh $a0, 0x12($a2) +/* 07BC58 800E27A8 00431024 */ and $v0, $v0, $v1 +/* 07BC5C 800E27AC 14400009 */ bnez $v0, .L800E27D4 +/* 07BC60 800E27B0 E4C20054 */ swc1 $f2, 0x54($a2) +/* 07BC64 800E27B4 C4C00058 */ lwc1 $f0, 0x58($a2) +/* 07BC68 800E27B8 4602003C */ c.lt.s $f0, $f2 +/* 07BC6C 800E27BC 00000000 */ nop +/* 07BC70 800E27C0 45000002 */ bc1f .L800E27CC +/* 07BC74 800E27C4 24040001 */ addiu $a0, $zero, 1 +/* 07BC78 800E27C8 24040002 */ addiu $a0, $zero, 2 +.L800E27CC: +/* 07BC7C 800E27CC 0C039769 */ jal set_action_state +/* 07BC80 800E27D0 00000000 */ nop +.L800E27D4: +/* 07BC84 800E27D4 8FBF0010 */ lw $ra, 0x10($sp) +/* 07BC88 800E27D8 03E00008 */ jr $ra +/* 07BC8C 800E27DC 27BD0018 */ addiu $sp, $sp, 0x18 + +func_800E27E0: +/* 07BC90 800E27E0 27BDFFB8 */ addiu $sp, $sp, -0x48 +/* 07BC94 800E27E4 AFB10034 */ sw $s1, 0x34($sp) +/* 07BC98 800E27E8 3C118011 */ lui $s1, 0x8011 +/* 07BC9C 800E27EC 2631EFC8 */ addiu $s1, $s1, -0x1038 +/* 07BCA0 800E27F0 AFBF003C */ sw $ra, 0x3c($sp) +/* 07BCA4 800E27F4 AFB20038 */ sw $s2, 0x38($sp) +/* 07BCA8 800E27F8 AFB00030 */ sw $s0, 0x30($sp) +/* 07BCAC 800E27FC F7B40040 */ sdc1 $f20, 0x40($sp) +/* 07BCB0 800E2800 862200B0 */ lh $v0, 0xb0($s1) +/* 07BCB4 800E2804 3C013F00 */ lui $at, 0x3f00 +/* 07BCB8 800E2808 44811000 */ mtc1 $at, $f2 +/* 07BCBC 800E280C 44820000 */ mtc1 $v0, $f0 +/* 07BCC0 800E2810 00000000 */ nop +/* 07BCC4 800E2814 46800020 */ cvt.s.w $f0, $f0 +/* 07BCC8 800E2818 46020002 */ mul.s $f0, $f0, $f2 +/* 07BCCC 800E281C 00000000 */ nop +/* 07BCD0 800E2820 27A40018 */ addiu $a0, $sp, 0x18 +/* 07BCD4 800E2824 C6220028 */ lwc1 $f2, 0x28($s1) +/* 07BCD8 800E2828 27A5001C */ addiu $a1, $sp, 0x1c +/* 07BCDC 800E282C E7A20020 */ swc1 $f2, 0x20($sp) +/* 07BCE0 800E2830 46000506 */ mov.s $f20, $f0 +/* 07BCE4 800E2834 C620002C */ lwc1 $f0, 0x2c($s1) +/* 07BCE8 800E2838 C6220030 */ lwc1 $f2, 0x30($s1) +/* 07BCEC 800E283C 46140000 */ add.s $f0, $f0, $f20 +/* 07BCF0 800E2840 E7A20028 */ swc1 $f2, 0x28($sp) +/* 07BCF4 800E2844 E7B4002C */ swc1 $f20, 0x2c($sp) +/* 07BCF8 800E2848 0C0388C1 */ jal func_800E2304 +/* 07BCFC 800E284C E7A00024 */ swc1 $f0, 0x24($sp) +/* 07BD00 800E2850 C7A2001C */ lwc1 $f2, 0x1c($sp) +/* 07BD04 800E2854 44800000 */ mtc1 $zero, $f0 +/* 07BD08 800E2858 3C128016 */ lui $s2, 0x8016 +/* 07BD0C 800E285C 2652A550 */ addiu $s2, $s2, -0x5ab0 +/* 07BD10 800E2860 46001032 */ c.eq.s $f2, $f0 +/* 07BD14 800E2864 00000000 */ nop +/* 07BD18 800E2868 45010004 */ bc1t .L800E287C +/* 07BD1C 800E286C 0220202D */ daddu $a0, $s1, $zero +/* 07BD20 800E2870 C6220080 */ lwc1 $f2, 0x80($s1) +/* 07BD24 800E2874 08038A31 */ j .L800E28C4 +/* 07BD28 800E2878 27A50020 */ addiu $a1, $sp, 0x20 + +.L800E287C: +/* 07BD2C 800E287C 3C038007 */ lui $v1, 0x8007 +/* 07BD30 800E2880 8C637410 */ lw $v1, 0x7410($v1) +/* 07BD34 800E2884 C62200A8 */ lwc1 $f2, 0xa8($s1) +/* 07BD38 800E2888 3C0142B4 */ lui $at, 0x42b4 +/* 07BD3C 800E288C 44810000 */ mtc1 $at, $f0 +/* 07BD40 800E2890 00031080 */ sll $v0, $v1, 2 +/* 07BD44 800E2894 00431021 */ addu $v0, $v0, $v1 +/* 07BD48 800E2898 00021080 */ sll $v0, $v0, 2 +/* 07BD4C 800E289C 00431023 */ subu $v0, $v0, $v1 +/* 07BD50 800E28A0 000218C0 */ sll $v1, $v0, 3 +/* 07BD54 800E28A4 00431021 */ addu $v0, $v0, $v1 +/* 07BD58 800E28A8 000210C0 */ sll $v0, $v0, 3 +/* 07BD5C 800E28AC 46001081 */ sub.s $f2, $f2, $f0 +/* 07BD60 800E28B0 3C01800B */ lui $at, 0x800b +/* 07BD64 800E28B4 00220821 */ addu $at, $at, $v0 +/* 07BD68 800E28B8 C4201DEC */ lwc1 $f0, 0x1dec($at) +/* 07BD6C 800E28BC 46001080 */ add.s $f2, $f2, $f0 +/* 07BD70 800E28C0 27A50020 */ addiu $a1, $sp, 0x20 +.L800E28C4: +/* 07BD74 800E28C4 27A2002C */ addiu $v0, $sp, 0x2c +/* 07BD78 800E28C8 27A60024 */ addiu $a2, $sp, 0x24 +/* 07BD7C 800E28CC 27A70028 */ addiu $a3, $sp, 0x28 +/* 07BD80 800E28D0 E7A20018 */ swc1 $f2, 0x18($sp) +/* 07BD84 800E28D4 AFA20010 */ sw $v0, 0x10($sp) +/* 07BD88 800E28D8 0C0379F9 */ jal func_800DE7E4 +/* 07BD8C 800E28DC E7A20014 */ swc1 $f2, 0x14($sp) +/* 07BD90 800E28E0 0040802D */ daddu $s0, $v0, $zero +/* 07BD94 800E28E4 06000030 */ bltz $s0, .L800E29A8 +/* 07BD98 800E28E8 A6500008 */ sh $s0, 8($s2) +/* 07BD9C 800E28EC 922200B4 */ lbu $v0, 0xb4($s1) +/* 07BDA0 800E28F0 2442FFF8 */ addiu $v0, $v0, -8 +/* 07BDA4 800E28F4 2C420002 */ sltiu $v0, $v0, 2 +/* 07BDA8 800E28F8 1440002C */ bnez $v0, .L800E29AC +/* 07BDAC 800E28FC 0200102D */ daddu $v0, $s0, $zero +/* 07BDB0 800E2900 86420002 */ lh $v0, 2($s2) +/* 07BDB4 800E2904 04410029 */ bgez $v0, .L800E29AC +/* 07BDB8 800E2908 0200102D */ daddu $v0, $s0, $zero +/* 07BDBC 800E290C C6200070 */ lwc1 $f0, 0x70($s1) +/* 07BDC0 800E2910 4600A000 */ add.s $f0, $f20, $f0 +/* 07BDC4 800E2914 C7A2002C */ lwc1 $f2, 0x2c($sp) +/* 07BDC8 800E2918 46000005 */ abs.s $f0, $f0 +/* 07BDCC 800E291C 4600103E */ c.le.s $f2, $f0 +/* 07BDD0 800E2920 00000000 */ nop +/* 07BDD4 800E2924 45000020 */ bc1f .L800E29A8 +/* 07BDD8 800E2928 32024000 */ andi $v0, $s0, 0x4000 +/* 07BDDC 800E292C 10400006 */ beqz $v0, .L800E2948 +/* 07BDE0 800E2930 00000000 */ nop +/* 07BDE4 800E2934 0C0441A9 */ jal func_801106A4 +/* 07BDE8 800E2938 0200202D */ daddu $a0, $s0, $zero +/* 07BDEC 800E293C 2403000D */ addiu $v1, $zero, 0xd +/* 07BDF0 800E2940 1043001A */ beq $v0, $v1, .L800E29AC +/* 07BDF4 800E2944 0200102D */ daddu $v0, $s0, $zero +.L800E2948: +/* 07BDF8 800E2948 862200B0 */ lh $v0, 0xb0($s1) +/* 07BDFC 800E294C 3C0140A0 */ lui $at, 0x40a0 +/* 07BE00 800E2950 44810000 */ mtc1 $at, $f0 +/* 07BE04 800E2954 3C014040 */ lui $at, 0x4040 +/* 07BE08 800E2958 44812000 */ mtc1 $at, $f4 +/* 07BE0C 800E295C 44821000 */ mtc1 $v0, $f2 +/* 07BE10 800E2960 00000000 */ nop +/* 07BE14 800E2964 468010A0 */ cvt.s.w $f2, $f2 +/* 07BE18 800E2968 46001083 */ div.s $f2, $f2, $f0 +/* 07BE1C 800E296C 46041082 */ mul.s $f2, $f2, $f4 +/* 07BE20 800E2970 00000000 */ nop +/* 07BE24 800E2974 C7A00024 */ lwc1 $f0, 0x24($sp) +/* 07BE28 800E2978 46020001 */ sub.s $f0, $f0, $f2 +/* 07BE2C 800E297C 822300B4 */ lb $v1, 0xb4($s1) +/* 07BE30 800E2980 2402000F */ addiu $v0, $zero, 0xf +/* 07BE34 800E2984 10620008 */ beq $v1, $v0, .L800E29A8 +/* 07BE38 800E2988 E620002C */ swc1 $f0, 0x2c($s1) +/* 07BE3C 800E298C 2402000D */ addiu $v0, $zero, 0xd +/* 07BE40 800E2990 10620006 */ beq $v1, $v0, .L800E29AC +/* 07BE44 800E2994 0200102D */ daddu $v0, $s0, $zero +/* 07BE48 800E2998 AE200070 */ sw $zero, 0x70($s1) +/* 07BE4C 800E299C AE200074 */ sw $zero, 0x74($s1) +/* 07BE50 800E29A0 AE200078 */ sw $zero, 0x78($s1) +/* 07BE54 800E29A4 AE20007C */ sw $zero, 0x7c($s1) +.L800E29A8: +/* 07BE58 800E29A8 0200102D */ daddu $v0, $s0, $zero +.L800E29AC: +/* 07BE5C 800E29AC 8FBF003C */ lw $ra, 0x3c($sp) +/* 07BE60 800E29B0 8FB20038 */ lw $s2, 0x38($sp) +/* 07BE64 800E29B4 8FB10034 */ lw $s1, 0x34($sp) +/* 07BE68 800E29B8 8FB00030 */ lw $s0, 0x30($sp) +/* 07BE6C 800E29BC D7B40040 */ ldc1 $f20, 0x40($sp) +/* 07BE70 800E29C0 03E00008 */ jr $ra +/* 07BE74 800E29C4 27BD0048 */ addiu $sp, $sp, 0x48 + +func_800E29C8: +/* 07BE78 800E29C8 27BDFFC8 */ addiu $sp, $sp, -0x38 +/* 07BE7C 800E29CC AFB00018 */ sw $s0, 0x18($sp) +/* 07BE80 800E29D0 3C108011 */ lui $s0, 0x8011 +/* 07BE84 800E29D4 2610EFC8 */ addiu $s0, $s0, -0x1038 +/* 07BE88 800E29D8 AFBF0028 */ sw $ra, 0x28($sp) +/* 07BE8C 800E29DC AFB30024 */ sw $s3, 0x24($sp) +/* 07BE90 800E29E0 AFB20020 */ sw $s2, 0x20($sp) +/* 07BE94 800E29E4 AFB1001C */ sw $s1, 0x1c($sp) +/* 07BE98 800E29E8 F7B40030 */ sdc1 $f20, 0x30($sp) +/* 07BE9C 800E29EC 8E030000 */ lw $v1, ($s0) +/* 07BEA0 800E29F0 04610006 */ bgez $v1, .L800E2A0C +/* 07BEA4 800E29F4 0200982D */ daddu $s3, $s0, $zero +/* 07BEA8 800E29F8 3C027FFF */ lui $v0, 0x7fff +/* 07BEAC 800E29FC 3442FFFF */ ori $v0, $v0, 0xffff +/* 07BEB0 800E2A00 00621024 */ and $v0, $v1, $v0 +/* 07BEB4 800E2A04 AE020000 */ sw $v0, ($s0) +/* 07BEB8 800E2A08 A20000B6 */ sb $zero, 0xb6($s0) +.L800E2A0C: +/* 07BEBC 800E2A0C 820300B6 */ lb $v1, 0xb6($s0) +/* 07BEC0 800E2A10 14600031 */ bnez $v1, .L800E2AD8 +/* 07BEC4 800E2A14 24020002 */ addiu $v0, $zero, 2 +/* 07BEC8 800E2A18 3C018011 */ lui $at, 0x8011 +/* 07BECC 800E2A1C C42CC960 */ lwc1 $f12, -0x36a0($at) +/* 07BED0 800E2A20 3C018011 */ lui $at, 0x8011 +/* 07BED4 800E2A24 C42EC97C */ lwc1 $f14, -0x3684($at) +/* 07BED8 800E2A28 8E060028 */ lw $a2, 0x28($s0) +/* 07BEDC 800E2A2C 8E070030 */ lw $a3, 0x30($s0) +/* 07BEE0 800E2A30 0C00A7B5 */ jal dist2D +/* 07BEE4 800E2A34 26110028 */ addiu $s1, $s0, 0x28 +/* 07BEE8 800E2A38 3C0141B0 */ lui $at, 0x41b0 +/* 07BEEC 800E2A3C 44811000 */ mtc1 $at, $f2 +/* 07BEF0 800E2A40 00000000 */ nop +/* 07BEF4 800E2A44 4602003E */ c.le.s $f0, $f2 +/* 07BEF8 800E2A48 00000000 */ nop +/* 07BEFC 800E2A4C 45000006 */ bc1f .L800E2A68 +/* 07BF00 800E2A50 26120030 */ addiu $s2, $s0, 0x30 +/* 07BF04 800E2A54 0220202D */ daddu $a0, $s1, $zero +/* 07BF08 800E2A58 3C0640A0 */ lui $a2, 0x40a0 +/* 07BF0C 800E2A5C 8E070080 */ lw $a3, 0x80($s0) +/* 07BF10 800E2A60 0C00A7E7 */ jal add_vec2D_polar +/* 07BF14 800E2A64 0240282D */ daddu $a1, $s2, $zero +.L800E2A68: +/* 07BF18 800E2A68 0C038D12 */ jal func_800E3448 +/* 07BF1C 800E2A6C 00000000 */ nop +/* 07BF20 800E2A70 C6020070 */ lwc1 $f2, 0x70($s0) +/* 07BF24 800E2A74 44800000 */ mtc1 $zero, $f0 +/* 07BF28 800E2A78 00000000 */ nop +/* 07BF2C 800E2A7C 4600103E */ c.le.s $f2, $f0 +/* 07BF30 800E2A80 00000000 */ nop +/* 07BF34 800E2A84 45000009 */ bc1f .L800E2AAC +/* 07BF38 800E2A88 00000000 */ nop +/* 07BF3C 800E2A8C 0C0389AC */ jal func_800E26B0 +/* 07BF40 800E2A90 00000000 */ nop +/* 07BF44 800E2A94 0C038C1B */ jal func_800E306C +/* 07BF48 800E2A98 00000000 */ nop +/* 07BF4C 800E2A9C 0C038D12 */ jal func_800E3448 +/* 07BF50 800E2AA0 00000000 */ nop +/* 07BF54 800E2AA4 24020001 */ addiu $v0, $zero, 1 +/* 07BF58 800E2AA8 A20200B6 */ sb $v0, 0xb6($s0) +.L800E2AAC: +/* 07BF5C 800E2AAC C6000070 */ lwc1 $f0, 0x70($s0) +/* 07BF60 800E2AB0 C602006C */ lwc1 $f2, 0x6c($s0) +/* 07BF64 800E2AB4 4600103C */ c.lt.s $f2, $f0 +/* 07BF68 800E2AB8 00000000 */ nop +/* 07BF6C 800E2ABC 45030001 */ bc1tl .L800E2AC4 +/* 07BF70 800E2AC0 E6020070 */ swc1 $f2, 0x70($s0) +.L800E2AC4: +/* 07BF74 800E2AC4 C600002C */ lwc1 $f0, 0x2c($s0) +/* 07BF78 800E2AC8 C6020070 */ lwc1 $f2, 0x70($s0) +/* 07BF7C 800E2ACC 46020000 */ add.s $f0, $f0, $f2 +/* 07BF80 800E2AD0 08038AE4 */ j .L800E2B90 +/* 07BF84 800E2AD4 E600002C */ swc1 $f0, 0x2c($s0) + +.L800E2AD8: +/* 07BF88 800E2AD8 1462002D */ bne $v1, $v0, .L800E2B90 +/* 07BF8C 800E2ADC 00000000 */ nop +/* 07BF90 800E2AE0 3C018011 */ lui $at, 0x8011 +/* 07BF94 800E2AE4 C42CC960 */ lwc1 $f12, -0x36a0($at) +/* 07BF98 800E2AE8 3C018011 */ lui $at, 0x8011 +/* 07BF9C 800E2AEC C42EC97C */ lwc1 $f14, -0x3684($at) +/* 07BFA0 800E2AF0 8E060028 */ lw $a2, 0x28($s0) +/* 07BFA4 800E2AF4 8E070030 */ lw $a3, 0x30($s0) +/* 07BFA8 800E2AF8 0C00A7B5 */ jal dist2D +/* 07BFAC 800E2AFC 26110028 */ addiu $s1, $s0, 0x28 +/* 07BFB0 800E2B00 3C0141B0 */ lui $at, 0x41b0 +/* 07BFB4 800E2B04 44811000 */ mtc1 $at, $f2 +/* 07BFB8 800E2B08 00000000 */ nop +/* 07BFBC 800E2B0C 4602003E */ c.le.s $f0, $f2 +/* 07BFC0 800E2B10 00000000 */ nop +/* 07BFC4 800E2B14 45000006 */ bc1f .L800E2B30 +/* 07BFC8 800E2B18 26120030 */ addiu $s2, $s0, 0x30 +/* 07BFCC 800E2B1C 0220202D */ daddu $a0, $s1, $zero +/* 07BFD0 800E2B20 3C0640A0 */ lui $a2, 0x40a0 +/* 07BFD4 800E2B24 8E070080 */ lw $a3, 0x80($s0) +/* 07BFD8 800E2B28 0C00A7E7 */ jal add_vec2D_polar +/* 07BFDC 800E2B2C 0240282D */ daddu $a1, $s2, $zero +.L800E2B30: +/* 07BFE0 800E2B30 0C038D36 */ jal func_800E34D8 +/* 07BFE4 800E2B34 00000000 */ nop +/* 07BFE8 800E2B38 46000306 */ mov.s $f12, $f0 +/* 07BFEC 800E2B3C 0C038D45 */ jal func_800E3514 +/* 07BFF0 800E2B40 27A50010 */ addiu $a1, $sp, 0x10 +/* 07BFF4 800E2B44 8FA40010 */ lw $a0, 0x10($sp) +/* 07BFF8 800E2B48 0C038C57 */ jal func_800E315C +/* 07BFFC 800E2B4C 46000506 */ mov.s $f20, $f0 +/* 07C000 800E2B50 8FA20010 */ lw $v0, 0x10($sp) +/* 07C004 800E2B54 0440000E */ bltz $v0, .L800E2B90 +/* 07C008 800E2B58 E674002C */ swc1 $f20, 0x2c($s3) +/* 07C00C 800E2B5C 3C040006 */ lui $a0, 6 +/* 07C010 800E2B60 8E620004 */ lw $v0, 4($s3) +/* 07C014 800E2B64 30420001 */ andi $v0, $v0, 1 +/* 07C018 800E2B68 14400003 */ bnez $v0, .L800E2B78 +/* 07C01C 800E2B6C 3484000B */ ori $a0, $a0, 0xb +/* 07C020 800E2B70 3C040001 */ lui $a0, 1 +/* 07C024 800E2B74 34840009 */ ori $a0, $a0, 9 +.L800E2B78: +/* 07C028 800E2B78 0C037FBF */ jal func_800DFEFC +/* 07C02C 800E2B7C 00000000 */ nop +/* 07C030 800E2B80 0C038069 */ jal func_800E01A4 +/* 07C034 800E2B84 00000000 */ nop +/* 07C038 800E2B88 0C038C9E */ jal func_800E3278 +/* 07C03C 800E2B8C 00000000 */ nop +.L800E2B90: +/* 07C040 800E2B90 8FBF0028 */ lw $ra, 0x28($sp) +/* 07C044 800E2B94 8FB30024 */ lw $s3, 0x24($sp) +/* 07C048 800E2B98 8FB20020 */ lw $s2, 0x20($sp) +/* 07C04C 800E2B9C 8FB1001C */ lw $s1, 0x1c($sp) +/* 07C050 800E2BA0 8FB00018 */ lw $s0, 0x18($sp) +/* 07C054 800E2BA4 D7B40030 */ ldc1 $f20, 0x30($sp) +/* 07C058 800E2BA8 03E00008 */ jr $ra +/* 07C05C 800E2BAC 27BD0038 */ addiu $sp, $sp, 0x38 + +func_800E2BB0: +/* 07C060 800E2BB0 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 07C064 800E2BB4 AFB00010 */ sw $s0, 0x10($sp) +/* 07C068 800E2BB8 3C108011 */ lui $s0, 0x8011 +/* 07C06C 800E2BBC 2610EFC8 */ addiu $s0, $s0, -0x1038 +/* 07C070 800E2BC0 AFBF0014 */ sw $ra, 0x14($sp) +/* 07C074 800E2BC4 C602007C */ lwc1 $f2, 0x7c($s0) +/* 07C078 800E2BC8 C6000078 */ lwc1 $f0, 0x78($s0) +/* 07C07C 800E2BCC 46001000 */ add.s $f0, $f2, $f0 +/* 07C080 800E2BD0 C604002C */ lwc1 $f4, 0x2c($s0) +/* 07C084 800E2BD4 4600203C */ c.lt.s $f4, $f0 +/* 07C088 800E2BD8 00000000 */ nop +/* 07C08C 800E2BDC 45000026 */ bc1f .L800E2C78 +/* 07C090 800E2BE0 0000102D */ daddu $v0, $zero, $zero +/* 07C094 800E2BE4 46041081 */ sub.s $f2, $f2, $f4 +/* 07C098 800E2BE8 3C014442 */ lui $at, 0x4442 +/* 07C09C 800E2BEC 34214000 */ ori $at, $at, 0x4000 +/* 07C0A0 800E2BF0 44810000 */ mtc1 $at, $f0 +/* 07C0A4 800E2BF4 00000000 */ nop +/* 07C0A8 800E2BF8 46001183 */ div.s $f6, $f2, $f0 +/* 07C0AC 800E2BFC 3C018011 */ lui $at, 0x8011 +/* 07C0B0 800E2C00 D422BD80 */ ldc1 $f2, -0x4280($at) +/* 07C0B4 800E2C04 46003021 */ cvt.d.s $f0, $f6 +/* 07C0B8 800E2C08 4622003C */ c.lt.d $f0, $f2 +/* 07C0BC 800E2C0C 00000000 */ nop +/* 07C0C0 800E2C10 45000004 */ bc1f .L800E2C24 +/* 07C0C4 800E2C14 00000000 */ nop +/* 07C0C8 800E2C18 3C01BEF0 */ lui $at, 0xbef0 +/* 07C0CC 800E2C1C 3421A3D7 */ ori $at, $at, 0xa3d7 +/* 07C0D0 800E2C20 44813000 */ mtc1 $at, $f6 +.L800E2C24: +/* 07C0D4 800E2C24 3C018011 */ lui $at, 0x8011 +/* 07C0D8 800E2C28 D422BD88 */ ldc1 $f2, -0x4278($at) +/* 07C0DC 800E2C2C 46003021 */ cvt.d.s $f0, $f6 +/* 07C0E0 800E2C30 4620103C */ c.lt.d $f2, $f0 +/* 07C0E4 800E2C34 00000000 */ nop +/* 07C0E8 800E2C38 45000004 */ bc1f .L800E2C4C +/* 07C0EC 800E2C3C 00000000 */ nop +/* 07C0F0 800E2C40 3C013A83 */ lui $at, 0x3a83 +/* 07C0F4 800E2C44 3421126F */ ori $at, $at, 0x126f +/* 07C0F8 800E2C48 44813000 */ mtc1 $at, $f6 +.L800E2C4C: +/* 07C0FC 800E2C4C C6000070 */ lwc1 $f0, 0x70($s0) +/* 07C100 800E2C50 46060000 */ add.s $f0, $f0, $f6 +/* 07C104 800E2C54 44801000 */ mtc1 $zero, $f2 +/* 07C108 800E2C58 46002100 */ add.s $f4, $f4, $f0 +/* 07C10C 800E2C5C E6000070 */ swc1 $f0, 0x70($s0) +/* 07C110 800E2C60 4602003E */ c.le.s $f0, $f2 +/* 07C114 800E2C64 00000000 */ nop +/* 07C118 800E2C68 45000011 */ bc1f .L800E2CB0 +/* 07C11C 800E2C6C E604002C */ swc1 $f4, 0x2c($s0) +/* 07C120 800E2C70 08038B2C */ j .L800E2CB0 +/* 07C124 800E2C74 24020001 */ addiu $v0, $zero, 1 + +.L800E2C78: +/* 07C128 800E2C78 C6000070 */ lwc1 $f0, 0x70($s0) +/* 07C12C 800E2C7C 3C018011 */ lui $at, 0x8011 +/* 07C130 800E2C80 D422BD90 */ ldc1 $f2, -0x4270($at) +/* 07C134 800E2C84 46000021 */ cvt.d.s $f0, $f0 +/* 07C138 800E2C88 46220000 */ add.d $f0, $f0, $f2 +/* 07C13C 800E2C8C 44801000 */ mtc1 $zero, $f2 +/* 07C140 800E2C90 46200020 */ cvt.s.d $f0, $f0 +/* 07C144 800E2C94 4602003E */ c.le.s $f0, $f2 +/* 07C148 800E2C98 00000000 */ nop +/* 07C14C 800E2C9C 45000002 */ bc1f .L800E2CA8 +/* 07C150 800E2CA0 E6000070 */ swc1 $f0, 0x70($s0) +/* 07C154 800E2CA4 24020001 */ addiu $v0, $zero, 1 +.L800E2CA8: +/* 07C158 800E2CA8 46002000 */ add.s $f0, $f4, $f0 +/* 07C15C 800E2CAC E600002C */ swc1 $f0, 0x2c($s0) +.L800E2CB0: +/* 07C160 800E2CB0 10400015 */ beqz $v0, .L800E2D08 +/* 07C164 800E2CB4 00000000 */ nop +/* 07C168 800E2CB8 0C0389AC */ jal func_800E26B0 +/* 07C16C 800E2CBC 00000000 */ nop +/* 07C170 800E2CC0 3C013DEA */ lui $at, 0x3dea +/* 07C174 800E2CC4 3421161E */ ori $at, $at, 0x161e +/* 07C178 800E2CC8 44810000 */ mtc1 $at, $f0 +/* 07C17C 800E2CCC 3C01BE92 */ lui $at, 0xbe92 +/* 07C180 800E2CD0 3421FEC5 */ ori $at, $at, 0xfec5 +/* 07C184 800E2CD4 44811000 */ mtc1 $at, $f2 +/* 07C188 800E2CD8 3C01BE3A */ lui $at, 0xbe3a +/* 07C18C 800E2CDC 3421ACDA */ ori $at, $at, 0xacda +/* 07C190 800E2CE0 44812000 */ mtc1 $at, $f4 +/* 07C194 800E2CE4 3C013C3C */ lui $at, 0x3c3c +/* 07C198 800E2CE8 3421BE62 */ ori $at, $at, 0xbe62 +/* 07C19C 800E2CEC 44813000 */ mtc1 $at, $f6 +/* 07C1A0 800E2CF0 24040008 */ addiu $a0, $zero, 8 +/* 07C1A4 800E2CF4 E6000070 */ swc1 $f0, 0x70($s0) +/* 07C1A8 800E2CF8 E6020074 */ swc1 $f2, 0x74($s0) +/* 07C1AC 800E2CFC E6040078 */ swc1 $f4, 0x78($s0) +/* 07C1B0 800E2D00 0C039769 */ jal set_action_state +/* 07C1B4 800E2D04 E606007C */ swc1 $f6, 0x7c($s0) +.L800E2D08: +/* 07C1B8 800E2D08 8FBF0014 */ lw $ra, 0x14($sp) +/* 07C1BC 800E2D0C 8FB00010 */ lw $s0, 0x10($sp) +/* 07C1C0 800E2D10 03E00008 */ jr $ra +/* 07C1C4 800E2D14 27BD0018 */ addiu $sp, $sp, 0x18 + +func_800E2D18: +/* 07C1C8 800E2D18 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 07C1CC 800E2D1C AFB00010 */ sw $s0, 0x10($sp) +/* 07C1D0 800E2D20 3C108011 */ lui $s0, 0x8011 +/* 07C1D4 800E2D24 2610EFC8 */ addiu $s0, $s0, -0x1038 +/* 07C1D8 800E2D28 AFBF0014 */ sw $ra, 0x14($sp) +/* 07C1DC 800E2D2C F7B40018 */ sdc1 $f20, 0x18($sp) +/* 07C1E0 800E2D30 860200C0 */ lh $v0, 0xc0($s0) +/* 07C1E4 800E2D34 1040006A */ beqz $v0, .L800E2EE0 +/* 07C1E8 800E2D38 00000000 */ nop +/* 07C1EC 800E2D3C 920200B4 */ lbu $v0, 0xb4($s0) +/* 07C1F0 800E2D40 2442FFFC */ addiu $v0, $v0, -4 +/* 07C1F4 800E2D44 00021600 */ sll $v0, $v0, 0x18 +/* 07C1F8 800E2D48 00021E03 */ sra $v1, $v0, 0x18 +/* 07C1FC 800E2D4C 2C620014 */ sltiu $v0, $v1, 0x14 +/* 07C200 800E2D50 10400045 */ beqz $v0, .L800E2E68 +/* 07C204 800E2D54 00031080 */ sll $v0, $v1, 2 +/* 07C208 800E2D58 3C018011 */ lui $at, 0x8011 +/* 07C20C 800E2D5C 00220821 */ addu $at, $at, $v0 +/* 07C210 800E2D60 8C22BD98 */ lw $v0, -0x4268($at) +/* 07C214 800E2D64 00400008 */ jr $v0 +/* 07C218 800E2D68 00000000 */ nop +/* 07C21C 800E2D6C 0C038AEC */ jal func_800E2BB0 +/* 07C220 800E2D70 00000000 */ nop +/* 07C224 800E2D74 08038BD3 */ j .L800E2F4C +/* 07C228 800E2D78 00000000 */ nop + +/* 07C22C 800E2D7C 0C038A72 */ jal func_800E29C8 +/* 07C230 800E2D80 00000000 */ nop +/* 07C234 800E2D84 08038BD3 */ j .L800E2F4C +/* 07C238 800E2D88 00000000 */ nop + +/* 07C23C 800E2D8C 0C038D12 */ jal func_800E3448 +/* 07C240 800E2D90 00000000 */ nop +/* 07C244 800E2D94 C600002C */ lwc1 $f0, 0x2c($s0) +/* 07C248 800E2D98 C6020070 */ lwc1 $f2, 0x70($s0) +/* 07C24C 800E2D9C 46020000 */ add.s $f0, $f0, $f2 +/* 07C250 800E2DA0 4480A000 */ mtc1 $zero, $f20 +/* 07C254 800E2DA4 00000000 */ nop +/* 07C258 800E2DA8 4614103E */ c.le.s $f2, $f20 +/* 07C25C 800E2DAC 00000000 */ nop +/* 07C260 800E2DB0 45000066 */ bc1f .L800E2F4C +/* 07C264 800E2DB4 E600002C */ swc1 $f0, 0x2c($s0) +/* 07C268 800E2DB8 0C0389AC */ jal func_800E26B0 +/* 07C26C 800E2DBC 00000000 */ nop +/* 07C270 800E2DC0 0C011052 */ jal func_80044148 +/* 07C274 800E2DC4 00000000 */ nop +/* 07C278 800E2DC8 1040001F */ beqz $v0, .L800E2E48 +/* 07C27C 800E2DCC 00000000 */ nop +/* 07C280 800E2DD0 3C013E1E */ lui $at, 0x3e1e +/* 07C284 800E2DD4 34210C17 */ ori $at, $at, 0xc17 +/* 07C288 800E2DD8 44810000 */ mtc1 $at, $f0 +/* 07C28C 800E2DDC 3C01BEB3 */ lui $at, 0xbeb3 +/* 07C290 800E2DE0 34213DB0 */ ori $at, $at, 0x3db0 +/* 07C294 800E2DE4 44811000 */ mtc1 $at, $f2 +/* 07C298 800E2DE8 E6140078 */ swc1 $f20, 0x78($s0) +/* 07C29C 800E2DEC E614007C */ swc1 $f20, 0x7c($s0) +/* 07C2A0 800E2DF0 E6000070 */ swc1 $f0, 0x70($s0) +/* 07C2A4 800E2DF4 08038B94 */ j .L800E2E50 +/* 07C2A8 800E2DF8 E6020074 */ swc1 $f2, 0x74($s0) + +/* 07C2AC 800E2DFC C6000070 */ lwc1 $f0, 0x70($s0) +/* 07C2B0 800E2E00 3C014012 */ lui $at, 0x4012 +/* 07C2B4 800E2E04 44811800 */ mtc1 $at, $f3 +/* 07C2B8 800E2E08 44801000 */ mtc1 $zero, $f2 +/* 07C2BC 800E2E0C 46000021 */ cvt.d.s $f0, $f0 +/* 07C2C0 800E2E10 46220001 */ sub.d $f0, $f0, $f2 +/* 07C2C4 800E2E14 C602002C */ lwc1 $f2, 0x2c($s0) +/* 07C2C8 800E2E18 46200020 */ cvt.s.d $f0, $f0 +/* 07C2CC 800E2E1C E6000070 */ swc1 $f0, 0x70($s0) +/* 07C2D0 800E2E20 46000106 */ mov.s $f4, $f0 +/* 07C2D4 800E2E24 46001080 */ add.s $f2, $f2, $f0 +/* 07C2D8 800E2E28 44800000 */ mtc1 $zero, $f0 +/* 07C2DC 800E2E2C 00000000 */ nop +/* 07C2E0 800E2E30 4600203E */ c.le.s $f4, $f0 +/* 07C2E4 800E2E34 00000000 */ nop +/* 07C2E8 800E2E38 45000044 */ bc1f .L800E2F4C +/* 07C2EC 800E2E3C E602002C */ swc1 $f2, 0x2c($s0) +/* 07C2F0 800E2E40 0C0389AC */ jal func_800E26B0 +/* 07C2F4 800E2E44 00000000 */ nop +.L800E2E48: +/* 07C2F8 800E2E48 0C038C1B */ jal func_800E306C +/* 07C2FC 800E2E4C 00000000 */ nop +.L800E2E50: +/* 07C300 800E2E50 0C038D12 */ jal func_800E3448 +/* 07C304 800E2E54 00000000 */ nop +/* 07C308 800E2E58 0C039769 */ jal set_action_state +/* 07C30C 800E2E5C 24040008 */ addiu $a0, $zero, 8 +/* 07C310 800E2E60 08038BD3 */ j .L800E2F4C +/* 07C314 800E2E64 00000000 */ nop + +.L800E2E68: +/* 07C318 800E2E68 8E0200DC */ lw $v0, 0xdc($s0) +/* 07C31C 800E2E6C 30428000 */ andi $v0, $v0, 0x8000 +/* 07C320 800E2E70 1440001B */ bnez $v0, .L800E2EE0 +/* 07C324 800E2E74 00000000 */ nop +/* 07C328 800E2E78 0C0389AC */ jal func_800E26B0 +/* 07C32C 800E2E7C 00000000 */ nop +/* 07C330 800E2E80 0C039769 */ jal set_action_state +/* 07C334 800E2E84 24040005 */ addiu $a0, $zero, 5 +/* 07C338 800E2E88 0C038D12 */ jal func_800E3448 +/* 07C33C 800E2E8C 00000000 */ nop +/* 07C340 800E2E90 8E020000 */ lw $v0, ($s0) +/* 07C344 800E2E94 3C030004 */ lui $v1, 4 +/* 07C348 800E2E98 00431024 */ and $v0, $v0, $v1 +/* 07C34C 800E2E9C 10400010 */ beqz $v0, .L800E2EE0 +/* 07C350 800E2EA0 00000000 */ nop +/* 07C354 800E2EA4 C6060074 */ lwc1 $f6, 0x74($s0) +/* 07C358 800E2EA8 3C013F00 */ lui $at, 0x3f00 +/* 07C35C 800E2EAC 44811000 */ mtc1 $at, $f2 +/* 07C360 800E2EB0 00000000 */ nop +/* 07C364 800E2EB4 46023182 */ mul.s $f6, $f6, $f2 +/* 07C368 800E2EB8 00000000 */ nop +/* 07C36C 800E2EBC C6040078 */ lwc1 $f4, 0x78($s0) +/* 07C370 800E2EC0 46022102 */ mul.s $f4, $f4, $f2 +/* 07C374 800E2EC4 00000000 */ nop +/* 07C378 800E2EC8 C600007C */ lwc1 $f0, 0x7c($s0) +/* 07C37C 800E2ECC 46020002 */ mul.s $f0, $f0, $f2 +/* 07C380 800E2ED0 00000000 */ nop +/* 07C384 800E2ED4 E6060074 */ swc1 $f6, 0x74($s0) +/* 07C388 800E2ED8 E6040078 */ swc1 $f4, 0x78($s0) +/* 07C38C 800E2EDC E600007C */ swc1 $f0, 0x7c($s0) +.L800E2EE0: +/* 07C390 800E2EE0 0C038D12 */ jal func_800E3448 +/* 07C394 800E2EE4 00000000 */ nop +/* 07C398 800E2EE8 C6020070 */ lwc1 $f2, 0x70($s0) +/* 07C39C 800E2EEC 44800000 */ mtc1 $zero, $f0 +/* 07C3A0 800E2EF0 00000000 */ nop +/* 07C3A4 800E2EF4 4600103E */ c.le.s $f2, $f0 +/* 07C3A8 800E2EF8 00000000 */ nop +/* 07C3AC 800E2EFC 45000009 */ bc1f .L800E2F24 +/* 07C3B0 800E2F00 00000000 */ nop +/* 07C3B4 800E2F04 0C0389AC */ jal func_800E26B0 +/* 07C3B8 800E2F08 00000000 */ nop +/* 07C3BC 800E2F0C 0C038C1B */ jal func_800E306C +/* 07C3C0 800E2F10 00000000 */ nop +/* 07C3C4 800E2F14 0C038D12 */ jal func_800E3448 +/* 07C3C8 800E2F18 00000000 */ nop +/* 07C3CC 800E2F1C 0C039769 */ jal set_action_state +/* 07C3D0 800E2F20 24040008 */ addiu $a0, $zero, 8 +.L800E2F24: +/* 07C3D4 800E2F24 C6000070 */ lwc1 $f0, 0x70($s0) +/* 07C3D8 800E2F28 C602006C */ lwc1 $f2, 0x6c($s0) +/* 07C3DC 800E2F2C 4600103C */ c.lt.s $f2, $f0 +/* 07C3E0 800E2F30 00000000 */ nop +/* 07C3E4 800E2F34 45030001 */ bc1tl .L800E2F3C +/* 07C3E8 800E2F38 E6020070 */ swc1 $f2, 0x70($s0) +.L800E2F3C: +/* 07C3EC 800E2F3C C600002C */ lwc1 $f0, 0x2c($s0) +/* 07C3F0 800E2F40 C6020070 */ lwc1 $f2, 0x70($s0) +/* 07C3F4 800E2F44 46020000 */ add.s $f0, $f0, $f2 +/* 07C3F8 800E2F48 E600002C */ swc1 $f0, 0x2c($s0) +.L800E2F4C: +/* 07C3FC 800E2F4C 8FBF0014 */ lw $ra, 0x14($sp) +/* 07C400 800E2F50 8FB00010 */ lw $s0, 0x10($sp) +/* 07C404 800E2F54 D7B40018 */ ldc1 $f20, 0x18($sp) +/* 07C408 800E2F58 03E00008 */ jr $ra +/* 07C40C 800E2F5C 27BD0020 */ addiu $sp, $sp, 0x20 + +/* 07C410 800E2F60 3C058011 */ lui $a1, 0x8011 +/* 07C414 800E2F64 24A5EFC8 */ addiu $a1, $a1, -0x1038 +/* 07C418 800E2F68 90A200B4 */ lbu $v0, 0xb4($a1) +/* 07C41C 800E2F6C 2442FFFD */ addiu $v0, $v0, -3 +/* 07C420 800E2F70 00021600 */ sll $v0, $v0, 0x18 +/* 07C424 800E2F74 00021E03 */ sra $v1, $v0, 0x18 +/* 07C428 800E2F78 2C620015 */ sltiu $v0, $v1, 0x15 +/* 07C42C 800E2F7C 10400039 */ beqz $v0, .L800E3064 +/* 07C430 800E2F80 00031080 */ sll $v0, $v1, 2 +/* 07C434 800E2F84 3C018011 */ lui $at, 0x8011 +/* 07C438 800E2F88 00220821 */ addu $at, $at, $v0 +/* 07C43C 800E2F8C 8C22BDE8 */ lw $v0, -0x4218($at) +/* 07C440 800E2F90 00400008 */ jr $v0 +/* 07C444 800E2F94 00000000 */ nop +/* 07C448 800E2F98 3C014120 */ lui $at, 0x4120 +/* 07C44C 800E2F9C 44810000 */ mtc1 $at, $f0 +/* 07C450 800E2FA0 3C01C0A0 */ lui $at, 0xc0a0 +/* 07C454 800E2FA4 44811000 */ mtc1 $at, $f2 +/* 07C458 800E2FA8 3C013FC0 */ lui $at, 0x3fc0 +/* 07C45C 800E2FAC 44812000 */ mtc1 $at, $f4 +/* 07C460 800E2FB0 3C01BE99 */ lui $at, 0xbe99 +/* 07C464 800E2FB4 3421999A */ ori $at, $at, 0x999a +/* 07C468 800E2FB8 44813000 */ mtc1 $at, $f6 +/* 07C46C 800E2FBC E4A00070 */ swc1 $f0, 0x70($a1) +/* 07C470 800E2FC0 E4A20074 */ swc1 $f2, 0x74($a1) +/* 07C474 800E2FC4 E4A40078 */ swc1 $f4, 0x78($a1) +/* 07C478 800E2FC8 03E00008 */ jr $ra +/* 07C47C 800E2FCC E4A6007C */ swc1 $f6, 0x7c($a1) + +/* 07C480 800E2FD0 3C04800F */ lui $a0, 0x800f +/* 07C484 800E2FD4 24847B50 */ addiu $a0, $a0, 0x7b50 +/* 07C488 800E2FD8 8CA20000 */ lw $v0, ($a1) +/* 07C48C 800E2FDC 3C030004 */ lui $v1, 4 +/* 07C490 800E2FE0 00431024 */ and $v0, $v0, $v1 +/* 07C494 800E2FE4 1440000C */ bnez $v0, .L800E3018 +/* 07C498 800E2FE8 0080302D */ daddu $a2, $a0, $zero +/* 07C49C 800E2FEC C4800000 */ lwc1 $f0, ($a0) +/* 07C4A0 800E2FF0 24840004 */ addiu $a0, $a0, 4 +/* 07C4A4 800E2FF4 E4A00070 */ swc1 $f0, 0x70($a1) +/* 07C4A8 800E2FF8 C4800000 */ lwc1 $f0, ($a0) +/* 07C4AC 800E2FFC 24840004 */ addiu $a0, $a0, 4 +/* 07C4B0 800E3000 E4A00074 */ swc1 $f0, 0x74($a1) +/* 07C4B4 800E3004 C4800000 */ lwc1 $f0, ($a0) +/* 07C4B8 800E3008 E4A00078 */ swc1 $f0, 0x78($a1) +/* 07C4BC 800E300C C4800004 */ lwc1 $f0, 4($a0) +/* 07C4C0 800E3010 03E00008 */ jr $ra +/* 07C4C4 800E3014 E4A0007C */ swc1 $f0, 0x7c($a1) + +.L800E3018: +/* 07C4C8 800E3018 C4880000 */ lwc1 $f8, ($a0) +/* 07C4CC 800E301C 3C013F00 */ lui $at, 0x3f00 +/* 07C4D0 800E3020 44811000 */ mtc1 $at, $f2 +/* 07C4D4 800E3024 00000000 */ nop +/* 07C4D8 800E3028 46024202 */ mul.s $f8, $f8, $f2 +/* 07C4DC 800E302C 00000000 */ nop +/* 07C4E0 800E3030 C4C60004 */ lwc1 $f6, 4($a2) +/* 07C4E4 800E3034 46023182 */ mul.s $f6, $f6, $f2 +/* 07C4E8 800E3038 00000000 */ nop +/* 07C4EC 800E303C C4C40008 */ lwc1 $f4, 8($a2) +/* 07C4F0 800E3040 46022102 */ mul.s $f4, $f4, $f2 +/* 07C4F4 800E3044 00000000 */ nop +/* 07C4F8 800E3048 C4C0000C */ lwc1 $f0, 0xc($a2) +/* 07C4FC 800E304C 46020002 */ mul.s $f0, $f0, $f2 +/* 07C500 800E3050 00000000 */ nop +/* 07C504 800E3054 E4A80070 */ swc1 $f8, 0x70($a1) +/* 07C508 800E3058 E4A60074 */ swc1 $f6, 0x74($a1) +/* 07C50C 800E305C E4A40078 */ swc1 $f4, 0x78($a1) +/* 07C510 800E3060 E4A0007C */ swc1 $f0, 0x7c($a1) +.L800E3064: +/* 07C514 800E3064 03E00008 */ jr $ra +/* 07C518 800E3068 00000000 */ nop + +func_800E306C: +/* 07C51C 800E306C 3C04800F */ lui $a0, 0x800f +/* 07C520 800E3070 24847B60 */ addiu $a0, $a0, 0x7b60 +/* 07C524 800E3074 3C068011 */ lui $a2, 0x8011 +/* 07C528 800E3078 24C6EFC8 */ addiu $a2, $a2, -0x1038 +/* 07C52C 800E307C 8CC20000 */ lw $v0, ($a2) +/* 07C530 800E3080 3C030004 */ lui $v1, 4 +/* 07C534 800E3084 00431024 */ and $v0, $v0, $v1 +/* 07C538 800E3088 10400012 */ beqz $v0, .L800E30D4 +/* 07C53C 800E308C 00C0282D */ daddu $a1, $a2, $zero +/* 07C540 800E3090 C4800000 */ lwc1 $f0, ($a0) +/* 07C544 800E3094 3C014140 */ lui $at, 0x4140 +/* 07C548 800E3098 44811000 */ mtc1 $at, $f2 +/* 07C54C 800E309C 24840004 */ addiu $a0, $a0, 4 +/* 07C550 800E30A0 46020003 */ div.s $f0, $f0, $f2 +/* 07C554 800E30A4 E4C00070 */ swc1 $f0, 0x70($a2) +/* 07C558 800E30A8 C4800000 */ lwc1 $f0, ($a0) +/* 07C55C 800E30AC 24840004 */ addiu $a0, $a0, 4 +/* 07C560 800E30B0 46020003 */ div.s $f0, $f0, $f2 +/* 07C564 800E30B4 E4C00074 */ swc1 $f0, 0x74($a2) +/* 07C568 800E30B8 C4800000 */ lwc1 $f0, ($a0) +/* 07C56C 800E30BC 46020003 */ div.s $f0, $f0, $f2 +/* 07C570 800E30C0 E4C00078 */ swc1 $f0, 0x78($a2) +/* 07C574 800E30C4 C4800004 */ lwc1 $f0, 4($a0) +/* 07C578 800E30C8 46020003 */ div.s $f0, $f0, $f2 +/* 07C57C 800E30CC 03E00008 */ jr $ra +/* 07C580 800E30D0 E4C0007C */ swc1 $f0, 0x7c($a2) + +.L800E30D4: +/* 07C584 800E30D4 C4800000 */ lwc1 $f0, ($a0) +/* 07C588 800E30D8 24840004 */ addiu $a0, $a0, 4 +/* 07C58C 800E30DC E4A00070 */ swc1 $f0, 0x70($a1) +/* 07C590 800E30E0 C4800000 */ lwc1 $f0, ($a0) +/* 07C594 800E30E4 24840004 */ addiu $a0, $a0, 4 +/* 07C598 800E30E8 E4A00074 */ swc1 $f0, 0x74($a1) +/* 07C59C 800E30EC C4800000 */ lwc1 $f0, ($a0) +/* 07C5A0 800E30F0 E4A00078 */ swc1 $f0, 0x78($a1) +/* 07C5A4 800E30F4 C4800004 */ lwc1 $f0, 4($a0) +/* 07C5A8 800E30F8 03E00008 */ jr $ra +/* 07C5AC 800E30FC E4A0007C */ swc1 $f0, 0x7c($a1) + +func_800E3100: +/* 07C5B0 800E3100 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 07C5B4 800E3104 AFB00018 */ sw $s0, 0x18($sp) +/* 07C5B8 800E3108 3C108011 */ lui $s0, 0x8011 +/* 07C5BC 800E310C 2610EFC8 */ addiu $s0, $s0, -0x1038 +/* 07C5C0 800E3110 AFBF001C */ sw $ra, 0x1c($sp) +/* 07C5C4 800E3114 820300B4 */ lb $v1, 0xb4($s0) +/* 07C5C8 800E3118 24020007 */ addiu $v0, $zero, 7 +/* 07C5CC 800E311C 1062000B */ beq $v1, $v0, .L800E314C +/* 07C5D0 800E3120 24020004 */ addiu $v0, $zero, 4 +/* 07C5D4 800E3124 10620009 */ beq $v1, $v0, .L800E314C +/* 07C5D8 800E3128 00000000 */ nop +/* 07C5DC 800E312C 0C038D36 */ jal func_800E34D8 +/* 07C5E0 800E3130 00000000 */ nop +/* 07C5E4 800E3134 46000306 */ mov.s $f12, $f0 +/* 07C5E8 800E3138 0C038D45 */ jal func_800E3514 +/* 07C5EC 800E313C 27A50010 */ addiu $a1, $sp, 0x10 +/* 07C5F0 800E3140 8FA40010 */ lw $a0, 0x10($sp) +/* 07C5F4 800E3144 0C038C57 */ jal func_800E315C +/* 07C5F8 800E3148 E600002C */ swc1 $f0, 0x2c($s0) +.L800E314C: +/* 07C5FC 800E314C 8FBF001C */ lw $ra, 0x1c($sp) +/* 07C600 800E3150 8FB00018 */ lw $s0, 0x18($sp) +/* 07C604 800E3154 03E00008 */ jr $ra +/* 07C608 800E3158 27BD0020 */ addiu $sp, $sp, 0x20 + +func_800E315C: +/* 07C60C 800E315C 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 07C610 800E3160 AFB00010 */ sw $s0, 0x10($sp) +/* 07C614 800E3164 3C108011 */ lui $s0, 0x8011 +/* 07C618 800E3168 2610EFC8 */ addiu $s0, $s0, -0x1038 +/* 07C61C 800E316C AFB10014 */ sw $s1, 0x14($sp) +/* 07C620 800E3170 3C118011 */ lui $s1, 0x8011 +/* 07C624 800E3174 2631EBB0 */ addiu $s1, $s1, -0x1450 +/* 07C628 800E3178 0480003A */ bltz $a0, .L800E3264 +/* 07C62C 800E317C AFBF0018 */ sw $ra, 0x18($sp) +/* 07C630 800E3180 0C016F6A */ jal get_collider_type_by_id +/* 07C634 800E3184 00000000 */ nop +/* 07C638 800E3188 304200FF */ andi $v0, $v0, 0xff +/* 07C63C 800E318C 2443FFFF */ addiu $v1, $v0, -1 +/* 07C640 800E3190 2C620005 */ sltiu $v0, $v1, 5 +/* 07C644 800E3194 10400031 */ beqz $v0, .L800E325C +/* 07C648 800E3198 00031080 */ sll $v0, $v1, 2 +/* 07C64C 800E319C 3C018011 */ lui $at, 0x8011 +/* 07C650 800E31A0 00220821 */ addu $at, $at, $v0 +/* 07C654 800E31A4 8C22BE40 */ lw $v0, -0x41c0($at) +/* 07C658 800E31A8 00400008 */ jr $v0 +/* 07C65C 800E31AC 00000000 */ nop +/* 07C660 800E31B0 0C039769 */ jal set_action_state +/* 07C664 800E31B4 2404000A */ addiu $a0, $zero, 0xa +/* 07C668 800E31B8 08038C99 */ j .L800E3264 +/* 07C66C 800E31BC 00000000 */ nop + +/* 07C670 800E31C0 3C04FF00 */ lui $a0, 0xff00 +/* 07C674 800E31C4 348400FF */ ori $a0, $a0, 0xff +/* 07C678 800E31C8 3C030100 */ lui $v1, 0x100 +/* 07C67C 800E31CC 8E220000 */ lw $v0, ($s1) +/* 07C680 800E31D0 34630009 */ ori $v1, $v1, 9 +/* 07C684 800E31D4 00441024 */ and $v0, $v0, $a0 +/* 07C688 800E31D8 10430022 */ beq $v0, $v1, .L800E3264 +/* 07C68C 800E31DC 00000000 */ nop +/* 07C690 800E31E0 86020010 */ lh $v0, 0x10($s0) +/* 07C694 800E31E4 14400019 */ bnez $v0, .L800E324C +/* 07C698 800E31E8 24020017 */ addiu $v0, $zero, 0x17 +/* 07C69C 800E31EC 820300B4 */ lb $v1, 0xb4($s0) +/* 07C6A0 800E31F0 1062001C */ beq $v1, $v0, .L800E3264 +/* 07C6A4 800E31F4 24020001 */ addiu $v0, $zero, 1 +/* 07C6A8 800E31F8 08038C8F */ j .L800E323C +/* 07C6AC 800E31FC A20200BF */ sb $v0, 0xbf($s0) + +/* 07C6B0 800E3200 3C04FF00 */ lui $a0, 0xff00 +/* 07C6B4 800E3204 348400FF */ ori $a0, $a0, 0xff +/* 07C6B8 800E3208 3C030100 */ lui $v1, 0x100 +/* 07C6BC 800E320C 8E220000 */ lw $v0, ($s1) +/* 07C6C0 800E3210 34630009 */ ori $v1, $v1, 9 +/* 07C6C4 800E3214 00441024 */ and $v0, $v0, $a0 +/* 07C6C8 800E3218 10430012 */ beq $v0, $v1, .L800E3264 +/* 07C6CC 800E321C 00000000 */ nop +/* 07C6D0 800E3220 86020010 */ lh $v0, 0x10($s0) +/* 07C6D4 800E3224 14400009 */ bnez $v0, .L800E324C +/* 07C6D8 800E3228 24020015 */ addiu $v0, $zero, 0x15 +/* 07C6DC 800E322C 820300B4 */ lb $v1, 0xb4($s0) +/* 07C6E0 800E3230 1062000C */ beq $v1, $v0, .L800E3264 +/* 07C6E4 800E3234 24020002 */ addiu $v0, $zero, 2 +/* 07C6E8 800E3238 A20200BF */ sb $v0, 0xbf($s0) +.L800E323C: +/* 07C6EC 800E323C 0C039769 */ jal set_action_state +/* 07C6F0 800E3240 24040017 */ addiu $a0, $zero, 0x17 +/* 07C6F4 800E3244 08038C99 */ j .L800E3264 +/* 07C6F8 800E3248 00000000 */ nop + +.L800E324C: +/* 07C6FC 800E324C 0C039769 */ jal set_action_state +/* 07C700 800E3250 24040016 */ addiu $a0, $zero, 0x16 +/* 07C704 800E3254 08038C99 */ j .L800E3264 +/* 07C708 800E3258 00000000 */ nop + +.L800E325C: +/* 07C70C 800E325C 0C038C9E */ jal func_800E3278 +/* 07C710 800E3260 00000000 */ nop +.L800E3264: +/* 07C714 800E3264 8FBF0018 */ lw $ra, 0x18($sp) +/* 07C718 800E3268 8FB10014 */ lw $s1, 0x14($sp) +/* 07C71C 800E326C 8FB00010 */ lw $s0, 0x10($sp) +/* 07C720 800E3270 03E00008 */ jr $ra +/* 07C724 800E3274 27BD0020 */ addiu $sp, $sp, 0x20 + +func_800E3278: +/* 07C728 800E3278 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 07C72C 800E327C 3C02FF7F */ lui $v0, 0xff7f +/* 07C730 800E3280 3442FFFF */ ori $v0, $v0, 0xffff +/* 07C734 800E3284 24040148 */ addiu $a0, $zero, 0x148 +/* 07C738 800E3288 AFB00018 */ sw $s0, 0x18($sp) +/* 07C73C 800E328C 3C108011 */ lui $s0, 0x8011 +/* 07C740 800E3290 2610EFC8 */ addiu $s0, $s0, -0x1038 +/* 07C744 800E3294 AFBF0020 */ sw $ra, 0x20($sp) +/* 07C748 800E3298 AFB1001C */ sw $s1, 0x1c($sp) +/* 07C74C 800E329C 8E030000 */ lw $v1, ($s0) +/* 07C750 800E32A0 C6000028 */ lwc1 $f0, 0x28($s0) +/* 07C754 800E32A4 C6020030 */ lwc1 $f2, 0x30($s0) +/* 07C758 800E32A8 0000282D */ daddu $a1, $zero, $zero +/* 07C75C 800E32AC A60000C0 */ sh $zero, 0xc0($s0) +/* 07C760 800E32B0 A60000C2 */ sh $zero, 0xc2($s0) +/* 07C764 800E32B4 00621824 */ and $v1, $v1, $v0 +/* 07C768 800E32B8 2402FFF1 */ addiu $v0, $zero, -0xf +/* 07C76C 800E32BC AE030000 */ sw $v1, ($s0) +/* 07C770 800E32C0 00621824 */ and $v1, $v1, $v0 +/* 07C774 800E32C4 E6000044 */ swc1 $f0, 0x44($s0) +/* 07C778 800E32C8 E6020048 */ swc1 $f2, 0x48($s0) +/* 07C77C 800E32CC 0C052736 */ jal play_sound_at_player +/* 07C780 800E32D0 AE030000 */ sw $v1, ($s0) +/* 07C784 800E32D4 3C038016 */ lui $v1, 0x8016 +/* 07C788 800E32D8 2463A550 */ addiu $v1, $v1, -0x5ab0 +/* 07C78C 800E32DC 94620002 */ lhu $v0, 2($v1) +/* 07C790 800E32E0 30424000 */ andi $v0, $v0, 0x4000 +/* 07C794 800E32E4 14400003 */ bnez $v0, .L800E32F4 +/* 07C798 800E32E8 0060882D */ daddu $s1, $v1, $zero +/* 07C79C 800E32EC 0C03954C */ jal func_800E5530 +/* 07C7A0 800E32F0 00000000 */ nop +.L800E32F4: +/* 07C7A4 800E32F4 96240002 */ lhu $a0, 2($s1) +/* 07C7A8 800E32F8 2402FFFF */ addiu $v0, $zero, -1 +/* 07C7AC 800E32FC A6220004 */ sh $v0, 4($s1) +/* 07C7B0 800E3300 30824000 */ andi $v0, $a0, 0x4000 +/* 07C7B4 800E3304 10400022 */ beqz $v0, .L800E3390 +/* 07C7B8 800E3308 00042400 */ sll $a0, $a0, 0x10 +/* 07C7BC 800E330C 0C0441A9 */ jal func_801106A4 +/* 07C7C0 800E3310 00042403 */ sra $a0, $a0, 0x10 +/* 07C7C4 800E3314 0040182D */ daddu $v1, $v0, $zero +/* 07C7C8 800E3318 28620009 */ slti $v0, $v1, 9 +/* 07C7CC 800E331C 1040001C */ beqz $v0, .L800E3390 +/* 07C7D0 800E3320 28620007 */ slti $v0, $v1, 7 +/* 07C7D4 800E3324 1440001A */ bnez $v0, .L800E3390 +/* 07C7D8 800E3328 00000000 */ nop +/* 07C7DC 800E332C 0C04417A */ jal get_entity_by_index +/* 07C7E0 800E3330 86240002 */ lh $a0, 2($s1) +/* 07C7E4 800E3334 90430006 */ lbu $v1, 6($v0) +/* 07C7E8 800E3338 34630001 */ ori $v1, $v1, 1 +/* 07C7EC 800E333C A0430006 */ sb $v1, 6($v0) +/* 07C7F0 800E3340 920300B4 */ lbu $v1, 0xb4($s0) +/* 07C7F4 800E3344 2462FFF1 */ addiu $v0, $v1, -0xf +/* 07C7F8 800E3348 2C420002 */ sltiu $v0, $v0, 2 +/* 07C7FC 800E334C 1440000B */ bnez $v0, .L800E337C +/* 07C800 800E3350 00031600 */ sll $v0, $v1, 0x18 +/* 07C804 800E3354 00021E03 */ sra $v1, $v0, 0x18 +/* 07C808 800E3358 2402000D */ addiu $v0, $zero, 0xd +/* 07C80C 800E335C 10620007 */ beq $v1, $v0, .L800E337C +/* 07C810 800E3360 2402000E */ addiu $v0, $zero, 0xe +/* 07C814 800E3364 10620005 */ beq $v1, $v0, .L800E337C +/* 07C818 800E3368 00000000 */ nop +/* 07C81C 800E336C 0C039769 */ jal set_action_state +/* 07C820 800E3370 24040007 */ addiu $a0, $zero, 7 +/* 07C824 800E3374 08038D0D */ j .L800E3434 +/* 07C828 800E3378 00000000 */ nop + +.L800E337C: +/* 07C82C 800E337C 0C03805E */ jal func_800E0178 +/* 07C830 800E3380 00000000 */ nop +/* 07C834 800E3384 2402000B */ addiu $v0, $zero, 0xb +/* 07C838 800E3388 08038D0D */ j .L800E3434 +/* 07C83C 800E338C A20200B6 */ sb $v0, 0xb6($s0) + +.L800E3390: +/* 07C840 800E3390 8E020000 */ lw $v0, ($s0) +/* 07C844 800E3394 30424000 */ andi $v0, $v0, 0x4000 +/* 07C848 800E3398 10400005 */ beqz $v0, .L800E33B0 +/* 07C84C 800E339C 24020007 */ addiu $v0, $zero, 7 +/* 07C850 800E33A0 0C039769 */ jal set_action_state +/* 07C854 800E33A4 24040002 */ addiu $a0, $zero, 2 +/* 07C858 800E33A8 08038D0D */ j .L800E3434 +/* 07C85C 800E33AC 00000000 */ nop + +.L800E33B0: +/* 07C860 800E33B0 820300B4 */ lb $v1, 0xb4($s0) +/* 07C864 800E33B4 14620005 */ bne $v1, $v0, .L800E33CC +/* 07C868 800E33B8 27A40010 */ addiu $a0, $sp, 0x10 +/* 07C86C 800E33BC 0C039769 */ jal set_action_state +/* 07C870 800E33C0 24040020 */ addiu $a0, $zero, 0x20 +/* 07C874 800E33C4 08038D0D */ j .L800E3434 +/* 07C878 800E33C8 00000000 */ nop + +.L800E33CC: +/* 07C87C 800E33CC 0C0388C1 */ jal func_800E2304 +/* 07C880 800E33D0 27A50014 */ addiu $a1, $sp, 0x14 +/* 07C884 800E33D4 C7A00014 */ lwc1 $f0, 0x14($sp) +/* 07C888 800E33D8 44801000 */ mtc1 $zero, $f2 +/* 07C88C 800E33DC 00000000 */ nop +/* 07C890 800E33E0 46020032 */ c.eq.s $f0, $f2 +/* 07C894 800E33E4 00000000 */ nop +/* 07C898 800E33E8 4500000C */ bc1f .L800E341C +/* 07C89C 800E33EC 24020009 */ addiu $v0, $zero, 9 +/* 07C8A0 800E33F0 820300B4 */ lb $v1, 0xb4($s0) +/* 07C8A4 800E33F4 10620005 */ beq $v1, $v0, .L800E340C +/* 07C8A8 800E33F8 00000000 */ nop +/* 07C8AC 800E33FC 0C039769 */ jal set_action_state +/* 07C8B0 800E3400 2404000A */ addiu $a0, $zero, 0xa +/* 07C8B4 800E3404 08038D0D */ j .L800E3434 +/* 07C8B8 800E3408 00000000 */ nop + +.L800E340C: +/* 07C8BC 800E340C 0C039769 */ jal set_action_state +/* 07C8C0 800E3410 2404000B */ addiu $a0, $zero, 0xb +/* 07C8C4 800E3414 08038D0D */ j .L800E3434 +/* 07C8C8 800E3418 00000000 */ nop + +.L800E341C: +/* 07C8CC 800E341C 45010003 */ bc1t .L800E342C +/* 07C8D0 800E3420 00000000 */ nop +/* 07C8D4 800E3424 C7A00010 */ lwc1 $f0, 0x10($sp) +/* 07C8D8 800E3428 E6000080 */ swc1 $f0, 0x80($s0) +.L800E342C: +/* 07C8DC 800E342C 0C0397DA */ jal update_locomotion_state +/* 07C8E0 800E3430 00000000 */ nop +.L800E3434: +/* 07C8E4 800E3434 8FBF0020 */ lw $ra, 0x20($sp) +/* 07C8E8 800E3438 8FB1001C */ lw $s1, 0x1c($sp) +/* 07C8EC 800E343C 8FB00018 */ lw $s0, 0x18($sp) +/* 07C8F0 800E3440 03E00008 */ jr $ra +/* 07C8F4 800E3444 27BD0028 */ addiu $sp, $sp, 0x28 + +func_800E3448: +/* 07C8F8 800E3448 3C048011 */ lui $a0, 0x8011 +/* 07C8FC 800E344C 2484EFC8 */ addiu $a0, $a0, -0x1038 +/* 07C900 800E3450 8C820000 */ lw $v0, ($a0) +/* 07C904 800E3454 3C030004 */ lui $v1, 4 +/* 07C908 800E3458 00431024 */ and $v0, $v0, $v1 +/* 07C90C 800E345C 10400012 */ beqz $v0, .L800E34A8 +/* 07C910 800E3460 00000000 */ nop +/* 07C914 800E3464 C480007C */ lwc1 $f0, 0x7c($a0) +/* 07C918 800E3468 3C013FD9 */ lui $at, 0x3fd9 +/* 07C91C 800E346C 3421999A */ ori $at, $at, 0x999a +/* 07C920 800E3470 44812000 */ mtc1 $at, $f4 +/* 07C924 800E3474 C4860078 */ lwc1 $f6, 0x78($a0) +/* 07C928 800E3478 46040003 */ div.s $f0, $f0, $f4 +/* 07C92C 800E347C 46003180 */ add.s $f6, $f6, $f0 +/* 07C930 800E3480 C4820074 */ lwc1 $f2, 0x74($a0) +/* 07C934 800E3484 46043003 */ div.s $f0, $f6, $f4 +/* 07C938 800E3488 46001080 */ add.s $f2, $f2, $f0 +/* 07C93C 800E348C C4800070 */ lwc1 $f0, 0x70($a0) +/* 07C940 800E3490 46041103 */ div.s $f4, $f2, $f4 +/* 07C944 800E3494 46040000 */ add.s $f0, $f0, $f4 +/* 07C948 800E3498 E4860078 */ swc1 $f6, 0x78($a0) +/* 07C94C 800E349C E4820074 */ swc1 $f2, 0x74($a0) +/* 07C950 800E34A0 08038D34 */ j .L800E34D0 +/* 07C954 800E34A4 E4800070 */ swc1 $f0, 0x70($a0) + +.L800E34A8: +/* 07C958 800E34A8 C4840078 */ lwc1 $f4, 0x78($a0) +/* 07C95C 800E34AC C480007C */ lwc1 $f0, 0x7c($a0) +/* 07C960 800E34B0 46002100 */ add.s $f4, $f4, $f0 +/* 07C964 800E34B4 C4800074 */ lwc1 $f0, 0x74($a0) +/* 07C968 800E34B8 46040000 */ add.s $f0, $f0, $f4 +/* 07C96C 800E34BC C4820070 */ lwc1 $f2, 0x70($a0) +/* 07C970 800E34C0 46001080 */ add.s $f2, $f2, $f0 +/* 07C974 800E34C4 E4840078 */ swc1 $f4, 0x78($a0) +/* 07C978 800E34C8 E4800074 */ swc1 $f0, 0x74($a0) +/* 07C97C 800E34CC E4820070 */ swc1 $f2, 0x70($a0) +.L800E34D0: +/* 07C980 800E34D0 03E00008 */ jr $ra +/* 07C984 800E34D4 C4800070 */ lwc1 $f0, 0x70($a0) + +func_800E34D8: +/* 07C988 800E34D8 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 07C98C 800E34DC AFBF0010 */ sw $ra, 0x10($sp) +/* 07C990 800E34E0 0C038D12 */ jal func_800E3448 +/* 07C994 800E34E4 F7B40018 */ sdc1 $f20, 0x18($sp) +/* 07C998 800E34E8 0C038082 */ jal func_800E0208 +/* 07C99C 800E34EC 46000506 */ mov.s $f20, $f0 +/* 07C9A0 800E34F0 10400004 */ beqz $v0, .L800E3504 +/* 07C9A4 800E34F4 4600A006 */ mov.s $f0, $f20 +/* 07C9A8 800E34F8 4480A000 */ mtc1 $zero, $f20 +/* 07C9AC 800E34FC 00000000 */ nop +/* 07C9B0 800E3500 4600A006 */ mov.s $f0, $f20 +.L800E3504: +/* 07C9B4 800E3504 8FBF0010 */ lw $ra, 0x10($sp) +/* 07C9B8 800E3508 D7B40018 */ ldc1 $f20, 0x18($sp) +/* 07C9BC 800E350C 03E00008 */ jr $ra +/* 07C9C0 800E3510 27BD0020 */ addiu $sp, $sp, 0x20 + +func_800E3514: +/* 07C9C4 800E3514 27BDFFA0 */ addiu $sp, $sp, -0x60 +/* 07C9C8 800E3518 F7B40058 */ sdc1 $f20, 0x58($sp) +/* 07C9CC 800E351C 46006506 */ mov.s $f20, $f12 +/* 07C9D0 800E3520 AFB00048 */ sw $s0, 0x48($sp) +/* 07C9D4 800E3524 00A0802D */ daddu $s0, $a1, $zero +/* 07C9D8 800E3528 AFB1004C */ sw $s1, 0x4c($sp) +/* 07C9DC 800E352C 3C118011 */ lui $s1, 0x8011 +/* 07C9E0 800E3530 2631EFC8 */ addiu $s1, $s1, -0x1038 +/* 07C9E4 800E3534 AFBF0054 */ sw $ra, 0x54($sp) +/* 07C9E8 800E3538 AFB20050 */ sw $s2, 0x50($sp) +/* 07C9EC 800E353C 862200B0 */ lh $v0, 0xb0($s1) +/* 07C9F0 800E3540 3C013F00 */ lui $at, 0x3f00 +/* 07C9F4 800E3544 44810000 */ mtc1 $at, $f0 +/* 07C9F8 800E3548 44822000 */ mtc1 $v0, $f4 +/* 07C9FC 800E354C 00000000 */ nop +/* 07CA00 800E3550 46802120 */ cvt.s.w $f4, $f4 +/* 07CA04 800E3554 46002102 */ mul.s $f4, $f4, $f0 +/* 07CA08 800E3558 00000000 */ nop +/* 07CA0C 800E355C 0220202D */ daddu $a0, $s1, $zero +/* 07CA10 800E3560 27A50028 */ addiu $a1, $sp, 0x28 +/* 07CA14 800E3564 27A6002C */ addiu $a2, $sp, 0x2c +/* 07CA18 800E3568 27A70030 */ addiu $a3, $sp, 0x30 +/* 07CA1C 800E356C 4600A085 */ abs.s $f2, $f20 +/* 07CA20 800E3570 C6200028 */ lwc1 $f0, 0x28($s1) +/* 07CA24 800E3574 27A20034 */ addiu $v0, $sp, 0x34 +/* 07CA28 800E3578 E7A00028 */ swc1 $f0, 0x28($sp) +/* 07CA2C 800E357C 46041080 */ add.s $f2, $f2, $f4 +/* 07CA30 800E3580 C620002C */ lwc1 $f0, 0x2c($s1) +/* 07CA34 800E3584 C6260030 */ lwc1 $f6, 0x30($s1) +/* 07CA38 800E3588 46040000 */ add.s $f0, $f0, $f4 +/* 07CA3C 800E358C E7A60030 */ swc1 $f6, 0x30($sp) +/* 07CA40 800E3590 E7A20034 */ swc1 $f2, 0x34($sp) +/* 07CA44 800E3594 E7A0002C */ swc1 $f0, 0x2c($sp) +/* 07CA48 800E3598 AFA20010 */ sw $v0, 0x10($sp) +/* 07CA4C 800E359C 27A20038 */ addiu $v0, $sp, 0x38 +/* 07CA50 800E35A0 AFA20014 */ sw $v0, 0x14($sp) +/* 07CA54 800E35A4 27A2003C */ addiu $v0, $sp, 0x3c +/* 07CA58 800E35A8 AFA20018 */ sw $v0, 0x18($sp) +/* 07CA5C 800E35AC 27A20040 */ addiu $v0, $sp, 0x40 +/* 07CA60 800E35B0 AFA2001C */ sw $v0, 0x1c($sp) +/* 07CA64 800E35B4 27A20044 */ addiu $v0, $sp, 0x44 +/* 07CA68 800E35B8 0C03791B */ jal func_800DE46C +/* 07CA6C 800E35BC AFA20020 */ sw $v0, 0x20($sp) +/* 07CA70 800E35C0 3C128016 */ lui $s2, 0x8016 +/* 07CA74 800E35C4 2652A550 */ addiu $s2, $s2, -0x5ab0 +/* 07CA78 800E35C8 AE020000 */ sw $v0, ($s0) +/* 07CA7C 800E35CC 04410010 */ bgez $v0, .L800E3610 +/* 07CA80 800E35D0 0240802D */ daddu $s0, $s2, $zero +/* 07CA84 800E35D4 44800000 */ mtc1 $zero, $f0 +/* 07CA88 800E35D8 00000000 */ nop +/* 07CA8C 800E35DC 4614003E */ c.le.s $f0, $f20 +/* 07CA90 800E35E0 00000000 */ nop +/* 07CA94 800E35E4 45000006 */ bc1f .L800E3600 +/* 07CA98 800E35E8 00000000 */ nop +/* 07CA9C 800E35EC 86420008 */ lh $v0, 8($s2) +/* 07CAA0 800E35F0 04400003 */ bltz $v0, .L800E3600 +/* 07CAA4 800E35F4 00000000 */ nop +/* 07CAA8 800E35F8 08038D88 */ j .L800E3620 +/* 07CAAC 800E35FC C620002C */ lwc1 $f0, 0x2c($s1) + +.L800E3600: +/* 07CAB0 800E3600 C620002C */ lwc1 $f0, 0x2c($s1) +/* 07CAB4 800E3604 46140000 */ add.s $f0, $f0, $f20 +/* 07CAB8 800E3608 08038D87 */ j .L800E361C +/* 07CABC 800E360C E7A0002C */ swc1 $f0, 0x2c($sp) + +.L800E3610: +/* 07CAC0 800E3610 A6020002 */ sh $v0, 2($s0) +/* 07CAC4 800E3614 2402FFFF */ addiu $v0, $zero, -1 +/* 07CAC8 800E3618 A6020004 */ sh $v0, 4($s0) +.L800E361C: +/* 07CACC 800E361C C7A0002C */ lwc1 $f0, 0x2c($sp) +.L800E3620: +/* 07CAD0 800E3620 8FBF0054 */ lw $ra, 0x54($sp) +/* 07CAD4 800E3624 8FB20050 */ lw $s2, 0x50($sp) +/* 07CAD8 800E3628 8FB1004C */ lw $s1, 0x4c($sp) +/* 07CADC 800E362C 8FB00048 */ lw $s0, 0x48($sp) +/* 07CAE0 800E3630 D7B40058 */ ldc1 $f20, 0x58($sp) +/* 07CAE4 800E3634 03E00008 */ jr $ra +/* 07CAE8 800E3638 27BD0060 */ addiu $sp, $sp, 0x60 + +func_800E363C: +/* 07CAEC 800E363C 27BDFF80 */ addiu $sp, $sp, -0x80 +/* 07CAF0 800E3640 AFB1005C */ sw $s1, 0x5c($sp) +/* 07CAF4 800E3644 3C118011 */ lui $s1, 0x8011 +/* 07CAF8 800E3648 2631EFC8 */ addiu $s1, $s1, -0x1038 +/* 07CAFC 800E364C AFB40068 */ sw $s4, 0x68($sp) +/* 07CB00 800E3650 3C148016 */ lui $s4, 0x8016 +/* 07CB04 800E3654 2694A550 */ addiu $s4, $s4, -0x5ab0 +/* 07CB08 800E3658 AFBF006C */ sw $ra, 0x6c($sp) +/* 07CB0C 800E365C AFB30064 */ sw $s3, 0x64($sp) +/* 07CB10 800E3660 AFB20060 */ sw $s2, 0x60($sp) +/* 07CB14 800E3664 AFB00058 */ sw $s0, 0x58($sp) +/* 07CB18 800E3668 F7B60078 */ sdc1 $f22, 0x78($sp) +/* 07CB1C 800E366C F7B40070 */ sdc1 $f20, 0x70($sp) +/* 07CB20 800E3670 8E230000 */ lw $v1, ($s1) +/* 07CB24 800E3674 2402FFFF */ addiu $v0, $zero, -1 +/* 07CB28 800E3678 A6820000 */ sh $v0, ($s4) +/* 07CB2C 800E367C 30624000 */ andi $v0, $v1, 0x4000 +/* 07CB30 800E3680 10400012 */ beqz $v0, .L800E36CC +/* 07CB34 800E3684 3C020004 */ lui $v0, 4 +/* 07CB38 800E3688 C6220054 */ lwc1 $f2, 0x54($s1) +/* 07CB3C 800E368C 00621024 */ and $v0, $v1, $v0 +/* 07CB40 800E3690 10400007 */ beqz $v0, .L800E36B0 +/* 07CB44 800E3694 E7A20030 */ swc1 $f2, 0x30($sp) +/* 07CB48 800E3698 3C013F00 */ lui $at, 0x3f00 +/* 07CB4C 800E369C 44810000 */ mtc1 $at, $f0 +/* 07CB50 800E36A0 00000000 */ nop +/* 07CB54 800E36A4 46001002 */ mul.s $f0, $f2, $f0 +/* 07CB58 800E36A8 00000000 */ nop +/* 07CB5C 800E36AC E7A00030 */ swc1 $f0, 0x30($sp) +.L800E36B0: +/* 07CB60 800E36B0 26240028 */ addiu $a0, $s1, 0x28 +/* 07CB64 800E36B4 8FA60030 */ lw $a2, 0x30($sp) +/* 07CB68 800E36B8 8E2700A0 */ lw $a3, 0xa0($s1) +/* 07CB6C 800E36BC 0C00A7E7 */ jal add_vec2D_polar +/* 07CB70 800E36C0 26250030 */ addiu $a1, $s1, 0x30 +/* 07CB74 800E36C4 080390B8 */ j .L800E42E0 +/* 07CB78 800E36C8 00000000 */ nop + +.L800E36CC: +/* 07CB7C 800E36CC 922200B4 */ lbu $v0, 0xb4($s1) +/* 07CB80 800E36D0 2442FFF9 */ addiu $v0, $v0, -7 +/* 07CB84 800E36D4 00021600 */ sll $v0, $v0, 0x18 +/* 07CB88 800E36D8 00021E03 */ sra $v1, $v0, 0x18 +/* 07CB8C 800E36DC 2C620020 */ sltiu $v0, $v1, 0x20 +/* 07CB90 800E36E0 1040010D */ beqz $v0, .L800E3B18 +/* 07CB94 800E36E4 00031080 */ sll $v0, $v1, 2 +/* 07CB98 800E36E8 3C018011 */ lui $at, 0x8011 +/* 07CB9C 800E36EC 00220821 */ addu $at, $at, $v0 +/* 07CBA0 800E36F0 8C22BE58 */ lw $v0, -0x41a8($at) +/* 07CBA4 800E36F4 00400008 */ jr $v0 +/* 07CBA8 800E36F8 00000000 */ nop +/* 07CBAC 800E36FC 3C038007 */ lui $v1, 0x8007 +/* 07CBB0 800E3700 8C637410 */ lw $v1, 0x7410($v1) +/* 07CBB4 800E3704 C62200A8 */ lwc1 $f2, 0xa8($s1) +/* 07CBB8 800E3708 3C0142B4 */ lui $at, 0x42b4 +/* 07CBBC 800E370C 44810000 */ mtc1 $at, $f0 +/* 07CBC0 800E3710 00031080 */ sll $v0, $v1, 2 +/* 07CBC4 800E3714 00431021 */ addu $v0, $v0, $v1 +/* 07CBC8 800E3718 00021080 */ sll $v0, $v0, 2 +/* 07CBCC 800E371C 00431023 */ subu $v0, $v0, $v1 +/* 07CBD0 800E3720 000218C0 */ sll $v1, $v0, 3 +/* 07CBD4 800E3724 00431021 */ addu $v0, $v0, $v1 +/* 07CBD8 800E3728 000210C0 */ sll $v0, $v0, 3 +/* 07CBDC 800E372C 46001081 */ sub.s $f2, $f2, $f0 +/* 07CBE0 800E3730 3C01800B */ lui $at, 0x800b +/* 07CBE4 800E3734 00220821 */ addu $at, $at, $v0 +/* 07CBE8 800E3738 C4201DEC */ lwc1 $f0, 0x1dec($at) +/* 07CBEC 800E373C 46001080 */ add.s $f2, $f2, $f0 +/* 07CBF0 800E3740 0000202D */ daddu $a0, $zero, $zero +/* 07CBF4 800E3744 44061000 */ mfc1 $a2, $f2 +/* 07CBF8 800E3748 080390B6 */ j .L800E42D8 +/* 07CBFC 800E374C 0080282D */ daddu $a1, $a0, $zero + +/* 07CC00 800E3750 0C039422 */ jal func_800E5088 +/* 07CC04 800E3754 00000000 */ nop +/* 07CC08 800E3758 00021600 */ sll $v0, $v0, 0x18 +/* 07CC0C 800E375C 00021603 */ sra $v0, $v0, 0x18 +/* 07CC10 800E3760 24030009 */ addiu $v1, $zero, 9 +/* 07CC14 800E3764 144302DE */ bne $v0, $v1, .L800E42E0 +/* 07CC18 800E3768 00000000 */ nop +/* 07CC1C 800E376C C6260028 */ lwc1 $f6, 0x28($s1) +/* 07CC20 800E3770 C620001C */ lwc1 $f0, 0x1c($s1) +/* 07CC24 800E3774 C624002C */ lwc1 $f4, 0x2c($s1) +/* 07CC28 800E3778 C628001C */ lwc1 $f8, 0x1c($s1) +/* 07CC2C 800E377C 46003180 */ add.s $f6, $f6, $f0 +/* 07CC30 800E3780 C6200020 */ lwc1 $f0, 0x20($s1) +/* 07CC34 800E3784 44805000 */ mtc1 $zero, $f10 +/* 07CC38 800E3788 46002100 */ add.s $f4, $f4, $f0 +/* 07CC3C 800E378C C6220024 */ lwc1 $f2, 0x24($s1) +/* 07CC40 800E3790 C6200030 */ lwc1 $f0, 0x30($s1) +/* 07CC44 800E3794 460A4032 */ c.eq.s $f8, $f10 +/* 07CC48 800E3798 46020000 */ add.s $f0, $f0, $f2 +/* 07CC4C 800E379C E6260028 */ swc1 $f6, 0x28($s1) +/* 07CC50 800E37A0 E624002C */ swc1 $f4, 0x2c($s1) +/* 07CC54 800E37A4 4500000A */ bc1f .L800E37D0 +/* 07CC58 800E37A8 E6200030 */ swc1 $f0, 0x30($s1) +/* 07CC5C 800E37AC C6200020 */ lwc1 $f0, 0x20($s1) +/* 07CC60 800E37B0 460A0032 */ c.eq.s $f0, $f10 +/* 07CC64 800E37B4 00000000 */ nop +/* 07CC68 800E37B8 45000005 */ bc1f .L800E37D0 +/* 07CC6C 800E37BC 46001006 */ mov.s $f0, $f2 +/* 07CC70 800E37C0 460A0032 */ c.eq.s $f0, $f10 +/* 07CC74 800E37C4 00000000 */ nop +/* 07CC78 800E37C8 450102C5 */ bc1t .L800E42E0 +/* 07CC7C 800E37CC 00000000 */ nop +.L800E37D0: +/* 07CC80 800E37D0 C6200028 */ lwc1 $f0, 0x28($s1) +/* 07CC84 800E37D4 C622002C */ lwc1 $f2, 0x2c($s1) +/* 07CC88 800E37D8 C6240030 */ lwc1 $f4, 0x30($s1) +/* 07CC8C 800E37DC 3C02800B */ lui $v0, 0x800b +/* 07CC90 800E37E0 24421D80 */ addiu $v0, $v0, 0x1d80 +/* 07CC94 800E37E4 E4400060 */ swc1 $f0, 0x60($v0) +/* 07CC98 800E37E8 E4420064 */ swc1 $f2, 0x64($v0) +/* 07CC9C 800E37EC E4440068 */ swc1 $f4, 0x68($v0) +/* 07CCA0 800E37F0 9223000E */ lbu $v1, 0xe($s1) +/* 07CCA4 800E37F4 24020080 */ addiu $v0, $zero, 0x80 +/* 07CCA8 800E37F8 106202B9 */ beq $v1, $v0, .L800E42E0 +/* 07CCAC 800E37FC 00000000 */ nop +/* 07CCB0 800E3800 8E26001C */ lw $a2, 0x1c($s1) +/* 07CCB4 800E3804 44806000 */ mtc1 $zero, $f12 +/* 07CCB8 800E3808 8E270024 */ lw $a3, 0x24($s1) +/* 07CCBC 800E380C 0C00A720 */ jal atan2 +/* 07CCC0 800E3810 46006386 */ mov.s $f14, $f12 +/* 07CCC4 800E3814 0000202D */ daddu $a0, $zero, $zero +/* 07CCC8 800E3818 44060000 */ mfc1 $a2, $f0 +/* 07CCCC 800E381C 080390B6 */ j .L800E42D8 +/* 07CCD0 800E3820 0080282D */ daddu $a1, $a0, $zero + +/* 07CCD4 800E3824 C6260028 */ lwc1 $f6, 0x28($s1) +/* 07CCD8 800E3828 C620001C */ lwc1 $f0, 0x1c($s1) +/* 07CCDC 800E382C C624002C */ lwc1 $f4, 0x2c($s1) +/* 07CCE0 800E3830 C628001C */ lwc1 $f8, 0x1c($s1) +/* 07CCE4 800E3834 46003180 */ add.s $f6, $f6, $f0 +/* 07CCE8 800E3838 C6200020 */ lwc1 $f0, 0x20($s1) +/* 07CCEC 800E383C 44805000 */ mtc1 $zero, $f10 +/* 07CCF0 800E3840 46002100 */ add.s $f4, $f4, $f0 +/* 07CCF4 800E3844 C6220024 */ lwc1 $f2, 0x24($s1) +/* 07CCF8 800E3848 C6200030 */ lwc1 $f0, 0x30($s1) +/* 07CCFC 800E384C 460A4032 */ c.eq.s $f8, $f10 +/* 07CD00 800E3850 46020000 */ add.s $f0, $f0, $f2 +/* 07CD04 800E3854 E6260028 */ swc1 $f6, 0x28($s1) +/* 07CD08 800E3858 E624002C */ swc1 $f4, 0x2c($s1) +/* 07CD0C 800E385C 4500000A */ bc1f .L800E3888 +/* 07CD10 800E3860 E6200030 */ swc1 $f0, 0x30($s1) +/* 07CD14 800E3864 C6200020 */ lwc1 $f0, 0x20($s1) +/* 07CD18 800E3868 460A0032 */ c.eq.s $f0, $f10 +/* 07CD1C 800E386C 00000000 */ nop +/* 07CD20 800E3870 45000005 */ bc1f .L800E3888 +/* 07CD24 800E3874 46001006 */ mov.s $f0, $f2 +/* 07CD28 800E3878 460A0032 */ c.eq.s $f0, $f10 +/* 07CD2C 800E387C 00000000 */ nop +/* 07CD30 800E3880 45010009 */ bc1t .L800E38A8 +/* 07CD34 800E3884 00000000 */ nop +.L800E3888: +/* 07CD38 800E3888 C6200028 */ lwc1 $f0, 0x28($s1) +/* 07CD3C 800E388C C622002C */ lwc1 $f2, 0x2c($s1) +/* 07CD40 800E3890 C6240030 */ lwc1 $f4, 0x30($s1) +/* 07CD44 800E3894 3C02800B */ lui $v0, 0x800b +/* 07CD48 800E3898 24421D80 */ addiu $v0, $v0, 0x1d80 +/* 07CD4C 800E389C E4400060 */ swc1 $f0, 0x60($v0) +/* 07CD50 800E38A0 E4420064 */ swc1 $f2, 0x64($v0) +/* 07CD54 800E38A4 E4440068 */ swc1 $f4, 0x68($v0) +.L800E38A8: +/* 07CD58 800E38A8 C620001C */ lwc1 $f0, 0x1c($s1) +/* 07CD5C 800E38AC 44801000 */ mtc1 $zero, $f2 +/* 07CD60 800E38B0 00000000 */ nop +/* 07CD64 800E38B4 46020032 */ c.eq.s $f0, $f2 +/* 07CD68 800E38B8 00000000 */ nop +/* 07CD6C 800E38BC 4500000B */ bc1f .L800E38EC +/* 07CD70 800E38C0 00000000 */ nop +/* 07CD74 800E38C4 C6200020 */ lwc1 $f0, 0x20($s1) +/* 07CD78 800E38C8 46020032 */ c.eq.s $f0, $f2 +/* 07CD7C 800E38CC 00000000 */ nop +/* 07CD80 800E38D0 45000006 */ bc1f .L800E38EC +/* 07CD84 800E38D4 00000000 */ nop +/* 07CD88 800E38D8 C6200024 */ lwc1 $f0, 0x24($s1) +/* 07CD8C 800E38DC 46020032 */ c.eq.s $f0, $f2 +/* 07CD90 800E38E0 00000000 */ nop +/* 07CD94 800E38E4 4501027E */ bc1t .L800E42E0 +/* 07CD98 800E38E8 00000000 */ nop +.L800E38EC: +/* 07CD9C 800E38EC 3C038007 */ lui $v1, 0x8007 +/* 07CDA0 800E38F0 8C637410 */ lw $v1, 0x7410($v1) +/* 07CDA4 800E38F4 C62200A8 */ lwc1 $f2, 0xa8($s1) +/* 07CDA8 800E38F8 3C0142B4 */ lui $at, 0x42b4 +/* 07CDAC 800E38FC 44810000 */ mtc1 $at, $f0 +/* 07CDB0 800E3900 00031080 */ sll $v0, $v1, 2 +/* 07CDB4 800E3904 00431021 */ addu $v0, $v0, $v1 +/* 07CDB8 800E3908 00021080 */ sll $v0, $v0, 2 +/* 07CDBC 800E390C 00431023 */ subu $v0, $v0, $v1 +/* 07CDC0 800E3910 000218C0 */ sll $v1, $v0, 3 +/* 07CDC4 800E3914 00431021 */ addu $v0, $v0, $v1 +/* 07CDC8 800E3918 000210C0 */ sll $v0, $v0, 3 +/* 07CDCC 800E391C 46001081 */ sub.s $f2, $f2, $f0 +/* 07CDD0 800E3920 3C01800B */ lui $at, 0x800b +/* 07CDD4 800E3924 00220821 */ addu $at, $at, $v0 +/* 07CDD8 800E3928 C4201DEC */ lwc1 $f0, 0x1dec($at) +/* 07CDDC 800E392C 46001080 */ add.s $f2, $f2, $f0 +/* 07CDE0 800E3930 0000202D */ daddu $a0, $zero, $zero +/* 07CDE4 800E3934 44061000 */ mfc1 $a2, $f2 +/* 07CDE8 800E3938 080390B6 */ j .L800E42D8 +/* 07CDEC 800E393C 0080282D */ daddu $a1, $a0, $zero + +/* 07CDF0 800E3940 C6260028 */ lwc1 $f6, 0x28($s1) +/* 07CDF4 800E3944 C620001C */ lwc1 $f0, 0x1c($s1) +/* 07CDF8 800E3948 C624002C */ lwc1 $f4, 0x2c($s1) +/* 07CDFC 800E394C C628001C */ lwc1 $f8, 0x1c($s1) +/* 07CE00 800E3950 46003180 */ add.s $f6, $f6, $f0 +/* 07CE04 800E3954 C6200020 */ lwc1 $f0, 0x20($s1) +/* 07CE08 800E3958 44805000 */ mtc1 $zero, $f10 +/* 07CE0C 800E395C 46002100 */ add.s $f4, $f4, $f0 +/* 07CE10 800E3960 C6220024 */ lwc1 $f2, 0x24($s1) +/* 07CE14 800E3964 C6200030 */ lwc1 $f0, 0x30($s1) +/* 07CE18 800E3968 460A4032 */ c.eq.s $f8, $f10 +/* 07CE1C 800E396C 46020000 */ add.s $f0, $f0, $f2 +/* 07CE20 800E3970 E6260028 */ swc1 $f6, 0x28($s1) +/* 07CE24 800E3974 E624002C */ swc1 $f4, 0x2c($s1) +/* 07CE28 800E3978 4500000A */ bc1f .L800E39A4 +/* 07CE2C 800E397C E6200030 */ swc1 $f0, 0x30($s1) +/* 07CE30 800E3980 C6200020 */ lwc1 $f0, 0x20($s1) +/* 07CE34 800E3984 460A0032 */ c.eq.s $f0, $f10 +/* 07CE38 800E3988 00000000 */ nop +/* 07CE3C 800E398C 45000005 */ bc1f .L800E39A4 +/* 07CE40 800E3990 46001006 */ mov.s $f0, $f2 +/* 07CE44 800E3994 460A0032 */ c.eq.s $f0, $f10 +/* 07CE48 800E3998 00000000 */ nop +/* 07CE4C 800E399C 45010009 */ bc1t .L800E39C4 +/* 07CE50 800E39A0 00000000 */ nop +.L800E39A4: +/* 07CE54 800E39A4 C6200028 */ lwc1 $f0, 0x28($s1) +/* 07CE58 800E39A8 C622002C */ lwc1 $f2, 0x2c($s1) +/* 07CE5C 800E39AC C6240030 */ lwc1 $f4, 0x30($s1) +/* 07CE60 800E39B0 3C02800B */ lui $v0, 0x800b +/* 07CE64 800E39B4 24421D80 */ addiu $v0, $v0, 0x1d80 +/* 07CE68 800E39B8 E4400060 */ swc1 $f0, 0x60($v0) +/* 07CE6C 800E39BC E4420064 */ swc1 $f2, 0x64($v0) +/* 07CE70 800E39C0 E4440068 */ swc1 $f4, 0x68($v0) +.L800E39C4: +/* 07CE74 800E39C4 C6260028 */ lwc1 $f6, 0x28($s1) +/* 07CE78 800E39C8 C628002C */ lwc1 $f8, 0x2c($s1) +/* 07CE7C 800E39CC C6220054 */ lwc1 $f2, 0x54($s1) +/* 07CE80 800E39D0 44800000 */ mtc1 $zero, $f0 +/* 07CE84 800E39D4 C6240030 */ lwc1 $f4, 0x30($s1) +/* 07CE88 800E39D8 46001032 */ c.eq.s $f2, $f0 +/* 07CE8C 800E39DC E7A60020 */ swc1 $f6, 0x20($sp) +/* 07CE90 800E39E0 E7A80024 */ swc1 $f8, 0x24($sp) +/* 07CE94 800E39E4 45010004 */ bc1t .L800E39F8 +/* 07CE98 800E39E8 E7A40028 */ swc1 $f4, 0x28($sp) +/* 07CE9C 800E39EC C6200080 */ lwc1 $f0, 0x80($s1) +/* 07CEA0 800E39F0 08038E90 */ j .L800E3A40 +/* 07CEA4 800E39F4 E7A0002C */ swc1 $f0, 0x2c($sp) + +.L800E39F8: +/* 07CEA8 800E39F8 3C038007 */ lui $v1, 0x8007 +/* 07CEAC 800E39FC 8C637410 */ lw $v1, 0x7410($v1) +/* 07CEB0 800E3A00 C62000A8 */ lwc1 $f0, 0xa8($s1) +/* 07CEB4 800E3A04 3C0142B4 */ lui $at, 0x42b4 +/* 07CEB8 800E3A08 44811000 */ mtc1 $at, $f2 +/* 07CEBC 800E3A0C 00031080 */ sll $v0, $v1, 2 +/* 07CEC0 800E3A10 00431021 */ addu $v0, $v0, $v1 +/* 07CEC4 800E3A14 00021080 */ sll $v0, $v0, 2 +/* 07CEC8 800E3A18 00431023 */ subu $v0, $v0, $v1 +/* 07CECC 800E3A1C 000218C0 */ sll $v1, $v0, 3 +/* 07CED0 800E3A20 00431021 */ addu $v0, $v0, $v1 +/* 07CED4 800E3A24 000210C0 */ sll $v0, $v0, 3 +/* 07CED8 800E3A28 46020001 */ sub.s $f0, $f0, $f2 +/* 07CEDC 800E3A2C 3C01800B */ lui $at, 0x800b +/* 07CEE0 800E3A30 00220821 */ addu $at, $at, $v0 +/* 07CEE4 800E3A34 C4221DEC */ lwc1 $f2, 0x1dec($at) +/* 07CEE8 800E3A38 46020000 */ add.s $f0, $f0, $f2 +/* 07CEEC 800E3A3C E7A0002C */ swc1 $f0, 0x2c($sp) +.L800E3A40: +/* 07CEF0 800E3A40 862200B2 */ lh $v0, 0xb2($s1) +/* 07CEF4 800E3A44 3C013F00 */ lui $at, 0x3f00 +/* 07CEF8 800E3A48 44811000 */ mtc1 $at, $f2 +/* 07CEFC 800E3A4C 44820000 */ mtc1 $v0, $f0 +/* 07CF00 800E3A50 00000000 */ nop +/* 07CF04 800E3A54 46800020 */ cvt.s.w $f0, $f0 +/* 07CF08 800E3A58 46020002 */ mul.s $f0, $f0, $f2 +/* 07CF0C 800E3A5C 00000000 */ nop +/* 07CF10 800E3A60 0220202D */ daddu $a0, $s1, $zero +/* 07CF14 800E3A64 27A50020 */ addiu $a1, $sp, 0x20 +/* 07CF18 800E3A68 27A60024 */ addiu $a2, $sp, 0x24 +/* 07CF1C 800E3A6C E7A00010 */ swc1 $f0, 0x10($sp) +/* 07CF20 800E3A70 C7A0002C */ lwc1 $f0, 0x2c($sp) +/* 07CF24 800E3A74 27A70028 */ addiu $a3, $sp, 0x28 +/* 07CF28 800E3A78 0C037D18 */ jal test_player_lateral +/* 07CF2C 800E3A7C E7A00014 */ swc1 $f0, 0x14($sp) +/* 07CF30 800E3A80 C620001C */ lwc1 $f0, 0x1c($s1) +/* 07CF34 800E3A84 44801000 */ mtc1 $zero, $f2 +/* 07CF38 800E3A88 00000000 */ nop +/* 07CF3C 800E3A8C 46020032 */ c.eq.s $f0, $f2 +/* 07CF40 800E3A90 00000000 */ nop +/* 07CF44 800E3A94 4500000B */ bc1f .L800E3AC4 +/* 07CF48 800E3A98 A6820012 */ sh $v0, 0x12($s4) +/* 07CF4C 800E3A9C C6200020 */ lwc1 $f0, 0x20($s1) +/* 07CF50 800E3AA0 46020032 */ c.eq.s $f0, $f2 +/* 07CF54 800E3AA4 00000000 */ nop +/* 07CF58 800E3AA8 45000006 */ bc1f .L800E3AC4 +/* 07CF5C 800E3AAC 00000000 */ nop +/* 07CF60 800E3AB0 C6200024 */ lwc1 $f0, 0x24($s1) +/* 07CF64 800E3AB4 46020032 */ c.eq.s $f0, $f2 +/* 07CF68 800E3AB8 00000000 */ nop +/* 07CF6C 800E3ABC 45010208 */ bc1t .L800E42E0 +/* 07CF70 800E3AC0 00000000 */ nop +.L800E3AC4: +/* 07CF74 800E3AC4 3C038007 */ lui $v1, 0x8007 +/* 07CF78 800E3AC8 8C637410 */ lw $v1, 0x7410($v1) +/* 07CF7C 800E3ACC C62200A8 */ lwc1 $f2, 0xa8($s1) +/* 07CF80 800E3AD0 3C0142B4 */ lui $at, 0x42b4 +/* 07CF84 800E3AD4 44810000 */ mtc1 $at, $f0 +/* 07CF88 800E3AD8 00031080 */ sll $v0, $v1, 2 +/* 07CF8C 800E3ADC 00431021 */ addu $v0, $v0, $v1 +/* 07CF90 800E3AE0 00021080 */ sll $v0, $v0, 2 +/* 07CF94 800E3AE4 00431023 */ subu $v0, $v0, $v1 +/* 07CF98 800E3AE8 000218C0 */ sll $v1, $v0, 3 +/* 07CF9C 800E3AEC 00431021 */ addu $v0, $v0, $v1 +/* 07CFA0 800E3AF0 000210C0 */ sll $v0, $v0, 3 +/* 07CFA4 800E3AF4 46001081 */ sub.s $f2, $f2, $f0 +/* 07CFA8 800E3AF8 3C01800B */ lui $at, 0x800b +/* 07CFAC 800E3AFC 00220821 */ addu $at, $at, $v0 +/* 07CFB0 800E3B00 C4201DEC */ lwc1 $f0, 0x1dec($at) +/* 07CFB4 800E3B04 46001080 */ add.s $f2, $f2, $f0 +/* 07CFB8 800E3B08 0000202D */ daddu $a0, $zero, $zero +/* 07CFBC 800E3B0C 44061000 */ mfc1 $a2, $f2 +/* 07CFC0 800E3B10 080390B6 */ j .L800E42D8 +/* 07CFC4 800E3B14 0080282D */ daddu $a1, $a0, $zero + +.L800E3B18: +/* 07CFC8 800E3B18 8E220000 */ lw $v0, ($s1) +/* 07CFCC 800E3B1C 30420008 */ andi $v0, $v0, 8 +/* 07CFD0 800E3B20 144001EF */ bnez $v0, .L800E42E0 +/* 07CFD4 800E3B24 3C030080 */ lui $v1, 0x80 +/* 07CFD8 800E3B28 8E220000 */ lw $v0, ($s1) +/* 07CFDC 800E3B2C 34632000 */ ori $v1, $v1, 0x2000 +/* 07CFE0 800E3B30 00431024 */ and $v0, $v0, $v1 +/* 07CFE4 800E3B34 144000AA */ bnez $v0, .L800E3DE0 +/* 07CFE8 800E3B38 AFA00030 */ sw $zero, 0x30($sp) +/* 07CFEC 800E3B3C 27A4002C */ addiu $a0, $sp, 0x2c +/* 07CFF0 800E3B40 0C0388C1 */ jal func_800E2304 +/* 07CFF4 800E3B44 27A50030 */ addiu $a1, $sp, 0x30 +/* 07CFF8 800E3B48 8E220004 */ lw $v0, 4($s1) +/* 07CFFC 800E3B4C 3C030001 */ lui $v1, 1 +/* 07D000 800E3B50 00431024 */ and $v0, $v0, $v1 +/* 07D004 800E3B54 1440002C */ bnez $v0, .L800E3C08 +/* 07D008 800E3B58 00000000 */ nop +/* 07D00C 800E3B5C C7A20030 */ lwc1 $f2, 0x30($sp) +/* 07D010 800E3B60 3C013D00 */ lui $at, 0x3d00 +/* 07D014 800E3B64 44810000 */ mtc1 $at, $f0 +/* 07D018 800E3B68 00000000 */ nop +/* 07D01C 800E3B6C 46001002 */ mul.s $f0, $f2, $f0 +/* 07D020 800E3B70 00000000 */ nop +/* 07D024 800E3B74 8E220000 */ lw $v0, ($s1) +/* 07D028 800E3B78 30420006 */ andi $v0, $v0, 6 +/* 07D02C 800E3B7C 14400009 */ bnez $v0, .L800E3BA4 +/* 07D030 800E3B80 E7A00030 */ swc1 $f0, 0x30($sp) +/* 07D034 800E3B84 3C013FD0 */ lui $at, 0x3fd0 +/* 07D038 800E3B88 44811800 */ mtc1 $at, $f3 +/* 07D03C 800E3B8C 44801000 */ mtc1 $zero, $f2 +/* 07D040 800E3B90 46000021 */ cvt.d.s $f0, $f0 +/* 07D044 800E3B94 46220002 */ mul.d $f0, $f0, $f2 +/* 07D048 800E3B98 00000000 */ nop +/* 07D04C 800E3B9C 46200020 */ cvt.s.d $f0, $f0 +/* 07D050 800E3BA0 E7A00030 */ swc1 $f0, 0x30($sp) +.L800E3BA4: +/* 07D054 800E3BA4 822300B4 */ lb $v1, 0xb4($s1) +/* 07D058 800E3BA8 24020006 */ addiu $v0, $zero, 6 +/* 07D05C 800E3BAC 1462000A */ bne $v1, $v0, .L800E3BD8 +/* 07D060 800E3BB0 00000000 */ nop +/* 07D064 800E3BB4 C7A00030 */ lwc1 $f0, 0x30($sp) +/* 07D068 800E3BB8 3C013FF8 */ lui $at, 0x3ff8 +/* 07D06C 800E3BBC 44811800 */ mtc1 $at, $f3 +/* 07D070 800E3BC0 44801000 */ mtc1 $zero, $f2 +/* 07D074 800E3BC4 46000021 */ cvt.d.s $f0, $f0 +/* 07D078 800E3BC8 46220002 */ mul.d $f0, $f0, $f2 +/* 07D07C 800E3BCC 00000000 */ nop +/* 07D080 800E3BD0 46200020 */ cvt.s.d $f0, $f0 +/* 07D084 800E3BD4 E7A00030 */ swc1 $f0, 0x30($sp) +.L800E3BD8: +/* 07D088 800E3BD8 8E220000 */ lw $v0, ($s1) +/* 07D08C 800E3BDC 3C030004 */ lui $v1, 4 +/* 07D090 800E3BE0 00431024 */ and $v0, $v0, $v1 +/* 07D094 800E3BE4 10400008 */ beqz $v0, .L800E3C08 +/* 07D098 800E3BE8 00000000 */ nop +/* 07D09C 800E3BEC C7A00030 */ lwc1 $f0, 0x30($sp) +/* 07D0A0 800E3BF0 3C013F00 */ lui $at, 0x3f00 +/* 07D0A4 800E3BF4 44811000 */ mtc1 $at, $f2 +/* 07D0A8 800E3BF8 00000000 */ nop +/* 07D0AC 800E3BFC 46020002 */ mul.s $f0, $f0, $f2 +/* 07D0B0 800E3C00 00000000 */ nop +/* 07D0B4 800E3C04 E7A00030 */ swc1 $f0, 0x30($sp) +.L800E3C08: +/* 07D0B8 800E3C08 C7AC002C */ lwc1 $f12, 0x2c($sp) +/* 07D0BC 800E3C0C 3C0140C9 */ lui $at, 0x40c9 +/* 07D0C0 800E3C10 34210FD0 */ ori $at, $at, 0xfd0 +/* 07D0C4 800E3C14 44810000 */ mtc1 $at, $f0 +/* 07D0C8 800E3C18 00000000 */ nop +/* 07D0CC 800E3C1C 46006302 */ mul.s $f12, $f12, $f0 +/* 07D0D0 800E3C20 00000000 */ nop +/* 07D0D4 800E3C24 27A50034 */ addiu $a1, $sp, 0x34 +/* 07D0D8 800E3C28 3C0143B4 */ lui $at, 0x43b4 +/* 07D0DC 800E3C2C 44810000 */ mtc1 $at, $f0 +/* 07D0E0 800E3C30 27A60038 */ addiu $a2, $sp, 0x38 +/* 07D0E4 800E3C34 0C00A82D */ jal sin_cos_rad +/* 07D0E8 800E3C38 46006303 */ div.s $f12, $f12, $f0 +/* 07D0EC 800E3C3C 822300B4 */ lb $v1, 0xb4($s1) +/* 07D0F0 800E3C40 24020014 */ addiu $v0, $zero, 0x14 +/* 07D0F4 800E3C44 14620014 */ bne $v1, $v0, .L800E3C98 +/* 07D0F8 800E3C48 3C030001 */ lui $v1, 1 +/* 07D0FC 800E3C4C C7A60034 */ lwc1 $f6, 0x34($sp) +/* 07D100 800E3C50 C7A40038 */ lwc1 $f4, 0x38($sp) +/* 07D104 800E3C54 46003085 */ abs.s $f2, $f6 +/* 07D108 800E3C58 46002005 */ abs.s $f0, $f4 +/* 07D10C 800E3C5C 4602003C */ c.lt.s $f0, $f2 +/* 07D110 800E3C60 00000000 */ nop +/* 07D114 800E3C64 45000006 */ bc1f .L800E3C80 +/* 07D118 800E3C68 00000000 */ nop +/* 07D11C 800E3C6C C7A00030 */ lwc1 $f0, 0x30($sp) +/* 07D120 800E3C70 4480A000 */ mtc1 $zero, $f20 +/* 07D124 800E3C74 46060582 */ mul.s $f22, $f0, $f6 +/* 07D128 800E3C78 08038F36 */ j .L800E3CD8 +/* 07D12C 800E3C7C 00000000 */ nop + +.L800E3C80: +/* 07D130 800E3C80 C7A00030 */ lwc1 $f0, 0x30($sp) +/* 07D134 800E3C84 4480B000 */ mtc1 $zero, $f22 +/* 07D138 800E3C88 46000007 */ neg.s $f0, $f0 +/* 07D13C 800E3C8C 46040502 */ mul.s $f20, $f0, $f4 +/* 07D140 800E3C90 08038F36 */ j .L800E3CD8 +/* 07D144 800E3C94 00000000 */ nop + +.L800E3C98: +/* 07D148 800E3C98 8E220004 */ lw $v0, 4($s1) +/* 07D14C 800E3C9C 00431024 */ and $v0, $v0, $v1 +/* 07D150 800E3CA0 1440000A */ bnez $v0, .L800E3CCC +/* 07D154 800E3CA4 00000000 */ nop +/* 07D158 800E3CA8 C7A00030 */ lwc1 $f0, 0x30($sp) +/* 07D15C 800E3CAC C7A20034 */ lwc1 $f2, 0x34($sp) +/* 07D160 800E3CB0 46020582 */ mul.s $f22, $f0, $f2 +/* 07D164 800E3CB4 00000000 */ nop +/* 07D168 800E3CB8 C7A20038 */ lwc1 $f2, 0x38($sp) +/* 07D16C 800E3CBC 46000007 */ neg.s $f0, $f0 +/* 07D170 800E3CC0 46020502 */ mul.s $f20, $f0, $f2 +/* 07D174 800E3CC4 08038F36 */ j .L800E3CD8 +/* 07D178 800E3CC8 00000000 */ nop + +.L800E3CCC: +/* 07D17C 800E3CCC 4480A000 */ mtc1 $zero, $f20 +/* 07D180 800E3CD0 00000000 */ nop +/* 07D184 800E3CD4 4600A586 */ mov.s $f22, $f20 +.L800E3CD8: +/* 07D188 800E3CD8 C62C0080 */ lwc1 $f12, 0x80($s1) +/* 07D18C 800E3CDC 3C0140C9 */ lui $at, 0x40c9 +/* 07D190 800E3CE0 34210FD0 */ ori $at, $at, 0xfd0 +/* 07D194 800E3CE4 44810000 */ mtc1 $at, $f0 +/* 07D198 800E3CE8 00000000 */ nop +/* 07D19C 800E3CEC 46006302 */ mul.s $f12, $f12, $f0 +/* 07D1A0 800E3CF0 00000000 */ nop +/* 07D1A4 800E3CF4 27A50034 */ addiu $a1, $sp, 0x34 +/* 07D1A8 800E3CF8 3C0143B4 */ lui $at, 0x43b4 +/* 07D1AC 800E3CFC 44810000 */ mtc1 $at, $f0 +/* 07D1B0 800E3D00 27A60038 */ addiu $a2, $sp, 0x38 +/* 07D1B4 800E3D04 0C00A82D */ jal sin_cos_rad +/* 07D1B8 800E3D08 46006303 */ div.s $f12, $f12, $f0 +/* 07D1BC 800E3D0C C6220054 */ lwc1 $f2, 0x54($s1) +/* 07D1C0 800E3D10 E7A20030 */ swc1 $f2, 0x30($sp) +/* 07D1C4 800E3D14 8E220000 */ lw $v0, ($s1) +/* 07D1C8 800E3D18 3C030004 */ lui $v1, 4 +/* 07D1CC 800E3D1C 00431024 */ and $v0, $v0, $v1 +/* 07D1D0 800E3D20 10400007 */ beqz $v0, .L800E3D40 +/* 07D1D4 800E3D24 00000000 */ nop +/* 07D1D8 800E3D28 3C013F00 */ lui $at, 0x3f00 +/* 07D1DC 800E3D2C 44810000 */ mtc1 $at, $f0 +/* 07D1E0 800E3D30 00000000 */ nop +/* 07D1E4 800E3D34 46001002 */ mul.s $f0, $f2, $f0 +/* 07D1E8 800E3D38 00000000 */ nop +/* 07D1EC 800E3D3C E7A00030 */ swc1 $f0, 0x30($sp) +.L800E3D40: +/* 07D1F0 800E3D40 C7A40030 */ lwc1 $f4, 0x30($sp) +/* 07D1F4 800E3D44 C7A20034 */ lwc1 $f2, 0x34($sp) +/* 07D1F8 800E3D48 46022082 */ mul.s $f2, $f4, $f2 +/* 07D1FC 800E3D4C 00000000 */ nop +/* 07D200 800E3D50 C7A00038 */ lwc1 $f0, 0x38($sp) +/* 07D204 800E3D54 46002102 */ mul.s $f4, $f4, $f0 +/* 07D208 800E3D58 00000000 */ nop +/* 07D20C 800E3D5C 4602B080 */ add.s $f2, $f22, $f2 +/* 07D210 800E3D60 4604A101 */ sub.s $f4, $f20, $f4 +/* 07D214 800E3D64 44806000 */ mtc1 $zero, $f12 +/* 07D218 800E3D68 44061000 */ mfc1 $a2, $f2 +/* 07D21C 800E3D6C 44072000 */ mfc1 $a3, $f4 +/* 07D220 800E3D70 46006386 */ mov.s $f14, $f12 +/* 07D224 800E3D74 AFA60020 */ sw $a2, 0x20($sp) +/* 07D228 800E3D78 0C00A720 */ jal atan2 +/* 07D22C 800E3D7C AFA70028 */ sw $a3, 0x28($sp) +/* 07D230 800E3D80 C7A40020 */ lwc1 $f4, 0x20($sp) +/* 07D234 800E3D84 46042102 */ mul.s $f4, $f4, $f4 +/* 07D238 800E3D88 00000000 */ nop +/* 07D23C 800E3D8C C7A20028 */ lwc1 $f2, 0x28($sp) +/* 07D240 800E3D90 46021082 */ mul.s $f2, $f2, $f2 +/* 07D244 800E3D94 00000000 */ nop +/* 07D248 800E3D98 46022300 */ add.s $f12, $f4, $f2 +/* 07D24C 800E3D9C E7A0002C */ swc1 $f0, 0x2c($sp) +/* 07D250 800E3DA0 46006004 */ sqrt.s $f0, $f12 +/* 07D254 800E3DA4 46000032 */ c.eq.s $f0, $f0 +/* 07D258 800E3DA8 00000000 */ nop +/* 07D25C 800E3DAC 45010003 */ bc1t .L800E3DBC +/* 07D260 800E3DB0 00000000 */ nop +/* 07D264 800E3DB4 0C0187BC */ jal sqrtf +/* 07D268 800E3DB8 00000000 */ nop +.L800E3DBC: +/* 07D26C 800E3DBC 8E220000 */ lw $v0, ($s1) +/* 07D270 800E3DC0 30420006 */ andi $v0, $v0, 6 +/* 07D274 800E3DC4 10400006 */ beqz $v0, .L800E3DE0 +/* 07D278 800E3DC8 E7A00030 */ swc1 $f0, 0x30($sp) +/* 07D27C 800E3DCC C622005C */ lwc1 $f2, 0x5c($s1) +/* 07D280 800E3DD0 4600103C */ c.lt.s $f2, $f0 +/* 07D284 800E3DD4 00000000 */ nop +/* 07D288 800E3DD8 45030001 */ bc1tl .L800E3DE0 +/* 07D28C 800E3DDC E7A20030 */ swc1 $f2, 0x30($sp) +.L800E3DE0: +/* 07D290 800E3DE0 C6240028 */ lwc1 $f4, 0x28($s1) +/* 07D294 800E3DE4 C620001C */ lwc1 $f0, 0x1c($s1) +/* 07D298 800E3DE8 C6220030 */ lwc1 $f2, 0x30($s1) +/* 07D29C 800E3DEC 46002100 */ add.s $f4, $f4, $f0 +/* 07D2A0 800E3DF0 C6200024 */ lwc1 $f0, 0x24($s1) +/* 07D2A4 800E3DF4 862200C0 */ lh $v0, 0xc0($s1) +/* 07D2A8 800E3DF8 46001080 */ add.s $f2, $f2, $f0 +/* 07D2AC 800E3DFC E6240028 */ swc1 $f4, 0x28($s1) +/* 07D2B0 800E3E00 14400005 */ bnez $v0, .L800E3E18 +/* 07D2B4 800E3E04 E6220030 */ swc1 $f2, 0x30($s1) +/* 07D2B8 800E3E08 C620002C */ lwc1 $f0, 0x2c($s1) +/* 07D2BC 800E3E0C C6220020 */ lwc1 $f2, 0x20($s1) +/* 07D2C0 800E3E10 46020000 */ add.s $f0, $f0, $f2 +/* 07D2C4 800E3E14 E620002C */ swc1 $f0, 0x2c($s1) +.L800E3E18: +/* 07D2C8 800E3E18 C620001C */ lwc1 $f0, 0x1c($s1) +/* 07D2CC 800E3E1C 44801000 */ mtc1 $zero, $f2 +/* 07D2D0 800E3E20 00000000 */ nop +/* 07D2D4 800E3E24 46020032 */ c.eq.s $f0, $f2 +/* 07D2D8 800E3E28 00000000 */ nop +/* 07D2DC 800E3E2C 4500000B */ bc1f .L800E3E5C +/* 07D2E0 800E3E30 00000000 */ nop +/* 07D2E4 800E3E34 C6200020 */ lwc1 $f0, 0x20($s1) +/* 07D2E8 800E3E38 46020032 */ c.eq.s $f0, $f2 +/* 07D2EC 800E3E3C 00000000 */ nop +/* 07D2F0 800E3E40 45000006 */ bc1f .L800E3E5C +/* 07D2F4 800E3E44 00000000 */ nop +/* 07D2F8 800E3E48 C6200024 */ lwc1 $f0, 0x24($s1) +/* 07D2FC 800E3E4C 46020032 */ c.eq.s $f0, $f2 +/* 07D300 800E3E50 00000000 */ nop +/* 07D304 800E3E54 4501000A */ bc1t .L800E3E80 +/* 07D308 800E3E58 0220202D */ daddu $a0, $s1, $zero +.L800E3E5C: +/* 07D30C 800E3E5C C6200028 */ lwc1 $f0, 0x28($s1) +/* 07D310 800E3E60 C622002C */ lwc1 $f2, 0x2c($s1) +/* 07D314 800E3E64 C6240030 */ lwc1 $f4, 0x30($s1) +/* 07D318 800E3E68 3C02800B */ lui $v0, 0x800b +/* 07D31C 800E3E6C 24421D80 */ addiu $v0, $v0, 0x1d80 +/* 07D320 800E3E70 E4400060 */ swc1 $f0, 0x60($v0) +/* 07D324 800E3E74 E4420064 */ swc1 $f2, 0x64($v0) +/* 07D328 800E3E78 E4440068 */ swc1 $f4, 0x68($v0) +/* 07D32C 800E3E7C 0220202D */ daddu $a0, $s1, $zero +.L800E3E80: +/* 07D330 800E3E80 27B30020 */ addiu $s3, $sp, 0x20 +/* 07D334 800E3E84 0260282D */ daddu $a1, $s3, $zero +/* 07D338 800E3E88 27B00024 */ addiu $s0, $sp, 0x24 +/* 07D33C 800E3E8C 0200302D */ daddu $a2, $s0, $zero +/* 07D340 800E3E90 27B20028 */ addiu $s2, $sp, 0x28 +/* 07D344 800E3E94 0240382D */ daddu $a3, $s2, $zero +/* 07D348 800E3E98 862200B2 */ lh $v0, 0xb2($s1) +/* 07D34C 800E3E9C C6240028 */ lwc1 $f4, 0x28($s1) +/* 07D350 800E3EA0 C626002C */ lwc1 $f6, 0x2c($s1) +/* 07D354 800E3EA4 C6280030 */ lwc1 $f8, 0x30($s1) +/* 07D358 800E3EA8 3C013F00 */ lui $at, 0x3f00 +/* 07D35C 800E3EAC 4481B000 */ mtc1 $at, $f22 +/* 07D360 800E3EB0 C6220080 */ lwc1 $f2, 0x80($s1) +/* 07D364 800E3EB4 44820000 */ mtc1 $v0, $f0 +/* 07D368 800E3EB8 00000000 */ nop +/* 07D36C 800E3EBC 46800020 */ cvt.s.w $f0, $f0 +/* 07D370 800E3EC0 46160002 */ mul.s $f0, $f0, $f22 +/* 07D374 800E3EC4 00000000 */ nop +/* 07D378 800E3EC8 E7A40020 */ swc1 $f4, 0x20($sp) +/* 07D37C 800E3ECC E7A60024 */ swc1 $f6, 0x24($sp) +/* 07D380 800E3ED0 E7A80028 */ swc1 $f8, 0x28($sp) +/* 07D384 800E3ED4 E7A20014 */ swc1 $f2, 0x14($sp) +/* 07D388 800E3ED8 0C037D18 */ jal test_player_lateral +/* 07D38C 800E3EDC E7A00010 */ swc1 $f0, 0x10($sp) +/* 07D390 800E3EE0 C7A20030 */ lwc1 $f2, 0x30($sp) +/* 07D394 800E3EE4 44800000 */ mtc1 $zero, $f0 +/* 07D398 800E3EE8 00000000 */ nop +/* 07D39C 800E3EEC 46001032 */ c.eq.s $f2, $f0 +/* 07D3A0 800E3EF0 00000000 */ nop +/* 07D3A4 800E3EF4 45020045 */ bc1fl .L800E400C +/* 07D3A8 800E3EF8 A6820012 */ sh $v0, 0x12($s4) +/* 07D3AC 800E3EFC 04430043 */ bgezl $v0, .L800E400C +/* 07D3B0 800E3F00 A6820012 */ sh $v0, 0x12($s4) +/* 07D3B4 800E3F04 3C038007 */ lui $v1, 0x8007 +/* 07D3B8 800E3F08 8C637410 */ lw $v1, 0x7410($v1) +/* 07D3BC 800E3F0C C62200A8 */ lwc1 $f2, 0xa8($s1) +/* 07D3C0 800E3F10 3C0142B4 */ lui $at, 0x42b4 +/* 07D3C4 800E3F14 44810000 */ mtc1 $at, $f0 +/* 07D3C8 800E3F18 00031080 */ sll $v0, $v1, 2 +/* 07D3CC 800E3F1C 00431021 */ addu $v0, $v0, $v1 +/* 07D3D0 800E3F20 00021080 */ sll $v0, $v0, 2 +/* 07D3D4 800E3F24 00431023 */ subu $v0, $v0, $v1 +/* 07D3D8 800E3F28 000218C0 */ sll $v1, $v0, 3 +/* 07D3DC 800E3F2C 00431021 */ addu $v0, $v0, $v1 +/* 07D3E0 800E3F30 000210C0 */ sll $v0, $v0, 3 +/* 07D3E4 800E3F34 46001081 */ sub.s $f2, $f2, $f0 +/* 07D3E8 800E3F38 3C01800B */ lui $at, 0x800b +/* 07D3EC 800E3F3C 00220821 */ addu $at, $at, $v0 +/* 07D3F0 800E3F40 C4201DEC */ lwc1 $f0, 0x1dec($at) +/* 07D3F4 800E3F44 46001500 */ add.s $f20, $f2, $f0 +/* 07D3F8 800E3F48 3C014334 */ lui $at, 0x4334 +/* 07D3FC 800E3F4C 44816000 */ mtc1 $at, $f12 +/* 07D400 800E3F50 00000000 */ nop +/* 07D404 800E3F54 460CA300 */ add.s $f12, $f20, $f12 +/* 07D408 800E3F58 3C0140C9 */ lui $at, 0x40c9 +/* 07D40C 800E3F5C 34210FD0 */ ori $at, $at, 0xfd0 +/* 07D410 800E3F60 44810000 */ mtc1 $at, $f0 +/* 07D414 800E3F64 00000000 */ nop +/* 07D418 800E3F68 46006302 */ mul.s $f12, $f12, $f0 +/* 07D41C 800E3F6C 00000000 */ nop +/* 07D420 800E3F70 27A50034 */ addiu $a1, $sp, 0x34 +/* 07D424 800E3F74 3C0143B4 */ lui $at, 0x43b4 +/* 07D428 800E3F78 44810000 */ mtc1 $at, $f0 +/* 07D42C 800E3F7C 27A60038 */ addiu $a2, $sp, 0x38 +/* 07D430 800E3F80 0C00A82D */ jal sin_cos_rad +/* 07D434 800E3F84 46006303 */ div.s $f12, $f12, $f0 +/* 07D438 800E3F88 862200B2 */ lh $v0, 0xb2($s1) +/* 07D43C 800E3F8C C7A60034 */ lwc1 $f6, 0x34($sp) +/* 07D440 800E3F90 44820000 */ mtc1 $v0, $f0 +/* 07D444 800E3F94 00000000 */ nop +/* 07D448 800E3F98 46800020 */ cvt.s.w $f0, $f0 +/* 07D44C 800E3F9C 46003182 */ mul.s $f6, $f6, $f0 +/* 07D450 800E3FA0 00000000 */ nop +/* 07D454 800E3FA4 C7A40038 */ lwc1 $f4, 0x38($sp) +/* 07D458 800E3FA8 46002102 */ mul.s $f4, $f4, $f0 +/* 07D45C 800E3FAC 00000000 */ nop +/* 07D460 800E3FB0 46163182 */ mul.s $f6, $f6, $f22 +/* 07D464 800E3FB4 00000000 */ nop +/* 07D468 800E3FB8 46162102 */ mul.s $f4, $f4, $f22 +/* 07D46C 800E3FBC 00000000 */ nop +/* 07D470 800E3FC0 0220202D */ daddu $a0, $s1, $zero +/* 07D474 800E3FC4 0260282D */ daddu $a1, $s3, $zero +/* 07D478 800E3FC8 C6220028 */ lwc1 $f2, 0x28($s1) +/* 07D47C 800E3FCC 0200302D */ daddu $a2, $s0, $zero +/* 07D480 800E3FD0 46061080 */ add.s $f2, $f2, $f6 +/* 07D484 800E3FD4 C6200030 */ lwc1 $f0, 0x30($s1) +/* 07D488 800E3FD8 C626002C */ lwc1 $f6, 0x2c($s1) +/* 07D48C 800E3FDC 46040001 */ sub.s $f0, $f0, $f4 +/* 07D490 800E3FE0 0240382D */ daddu $a3, $s2, $zero +/* 07D494 800E3FE4 E7A60024 */ swc1 $f6, 0x24($sp) +/* 07D498 800E3FE8 E7A00028 */ swc1 $f0, 0x28($sp) +/* 07D49C 800E3FEC 44820000 */ mtc1 $v0, $f0 +/* 07D4A0 800E3FF0 00000000 */ nop +/* 07D4A4 800E3FF4 46800020 */ cvt.s.w $f0, $f0 +/* 07D4A8 800E3FF8 E7A20020 */ swc1 $f2, 0x20($sp) +/* 07D4AC 800E3FFC E7A00010 */ swc1 $f0, 0x10($sp) +/* 07D4B0 800E4000 0C037D18 */ jal test_player_lateral +/* 07D4B4 800E4004 E7B40014 */ swc1 $f20, 0x14($sp) +/* 07D4B8 800E4008 A6820012 */ sh $v0, 0x12($s4) +.L800E400C: +/* 07D4BC 800E400C 8E220000 */ lw $v0, ($s1) +/* 07D4C0 800E4010 3C030040 */ lui $v1, 0x40 +/* 07D4C4 800E4014 00431024 */ and $v0, $v0, $v1 +/* 07D4C8 800E4018 144000B1 */ bnez $v0, .L800E42E0 +/* 07D4CC 800E401C 24020012 */ addiu $v0, $zero, 0x12 +/* 07D4D0 800E4020 822300B4 */ lb $v1, 0xb4($s1) +/* 07D4D4 800E4024 106200AE */ beq $v1, $v0, .L800E42E0 +/* 07D4D8 800E4028 00000000 */ nop +/* 07D4DC 800E402C C7A60030 */ lwc1 $f6, 0x30($sp) +/* 07D4E0 800E4030 44800000 */ mtc1 $zero, $f0 +/* 07D4E4 800E4034 00000000 */ nop +/* 07D4E8 800E4038 46003032 */ c.eq.s $f6, $f0 +/* 07D4EC 800E403C 00000000 */ nop +/* 07D4F0 800E4040 45000015 */ bc1f .L800E4098 +/* 07D4F4 800E4044 0000202D */ daddu $a0, $zero, $zero +/* 07D4F8 800E4048 3C038007 */ lui $v1, 0x8007 +/* 07D4FC 800E404C 8C637410 */ lw $v1, 0x7410($v1) +/* 07D500 800E4050 C62200A8 */ lwc1 $f2, 0xa8($s1) +/* 07D504 800E4054 3C0142B4 */ lui $at, 0x42b4 +/* 07D508 800E4058 44810000 */ mtc1 $at, $f0 +/* 07D50C 800E405C 00031080 */ sll $v0, $v1, 2 +/* 07D510 800E4060 00431021 */ addu $v0, $v0, $v1 +/* 07D514 800E4064 00021080 */ sll $v0, $v0, 2 +/* 07D518 800E4068 00431023 */ subu $v0, $v0, $v1 +/* 07D51C 800E406C 000218C0 */ sll $v1, $v0, 3 +/* 07D520 800E4070 00431021 */ addu $v0, $v0, $v1 +/* 07D524 800E4074 000210C0 */ sll $v0, $v0, 3 +/* 07D528 800E4078 46001081 */ sub.s $f2, $f2, $f0 +/* 07D52C 800E407C 3C01800B */ lui $at, 0x800b +/* 07D530 800E4080 00220821 */ addu $at, $at, $v0 +/* 07D534 800E4084 C4201DEC */ lwc1 $f0, 0x1dec($at) +/* 07D538 800E4088 46001080 */ add.s $f2, $f2, $f0 +/* 07D53C 800E408C 44061000 */ mfc1 $a2, $f2 +/* 07D540 800E4090 080390B6 */ j .L800E42D8 +/* 07D544 800E4094 0080282D */ daddu $a1, $a0, $zero + +.L800E4098: +/* 07D548 800E4098 C7B4002C */ lwc1 $f20, 0x2c($sp) +/* 07D54C 800E409C C6200028 */ lwc1 $f0, 0x28($s1) +/* 07D550 800E40A0 C6240030 */ lwc1 $f4, 0x30($s1) +/* 07D554 800E40A4 3C014080 */ lui $at, 0x4080 +/* 07D558 800E40A8 4481B000 */ mtc1 $at, $f22 +/* 07D55C 800E40AC C622002C */ lwc1 $f2, 0x2c($s1) +/* 07D560 800E40B0 4606B03C */ c.lt.s $f22, $f6 +/* 07D564 800E40B4 E7A00020 */ swc1 $f0, 0x20($sp) +/* 07D568 800E40B8 E7A40028 */ swc1 $f4, 0x28($sp) +/* 07D56C 800E40BC 45000016 */ bc1f .L800E4118 +/* 07D570 800E40C0 E7A20024 */ swc1 $f2, 0x24($sp) +/* 07D574 800E40C4 0220202D */ daddu $a0, $s1, $zero +/* 07D578 800E40C8 27B00020 */ addiu $s0, $sp, 0x20 +/* 07D57C 800E40CC 0200282D */ daddu $a1, $s0, $zero +/* 07D580 800E40D0 27B20024 */ addiu $s2, $sp, 0x24 +/* 07D584 800E40D4 0240302D */ daddu $a2, $s2, $zero +/* 07D588 800E40D8 27B30028 */ addiu $s3, $sp, 0x28 +/* 07D58C 800E40DC 0260382D */ daddu $a3, $s3, $zero +/* 07D590 800E40E0 E7B60010 */ swc1 $f22, 0x10($sp) +/* 07D594 800E40E4 0C037D18 */ jal test_player_lateral +/* 07D598 800E40E8 E7B40014 */ swc1 $f20, 0x14($sp) +/* 07D59C 800E40EC 04430013 */ bgezl $v0, .L800E413C +/* 07D5A0 800E40F0 A6820000 */ sh $v0, ($s4) +/* 07D5A4 800E40F4 0220202D */ daddu $a0, $s1, $zero +/* 07D5A8 800E40F8 0200282D */ daddu $a1, $s0, $zero +/* 07D5AC 800E40FC C7A00030 */ lwc1 $f0, 0x30($sp) +/* 07D5B0 800E4100 0240302D */ daddu $a2, $s2, $zero +/* 07D5B4 800E4104 46160001 */ sub.s $f0, $f0, $f22 +/* 07D5B8 800E4108 0260382D */ daddu $a3, $s3, $zero +/* 07D5BC 800E410C E7B40014 */ swc1 $f20, 0x14($sp) +/* 07D5C0 800E4110 0803904C */ j .L800E4130 +/* 07D5C4 800E4114 E7A00010 */ swc1 $f0, 0x10($sp) + +.L800E4118: +/* 07D5C8 800E4118 0220202D */ daddu $a0, $s1, $zero +/* 07D5CC 800E411C 27A50020 */ addiu $a1, $sp, 0x20 +/* 07D5D0 800E4120 27A60024 */ addiu $a2, $sp, 0x24 +/* 07D5D4 800E4124 27A70028 */ addiu $a3, $sp, 0x28 +/* 07D5D8 800E4128 E7A60010 */ swc1 $f6, 0x10($sp) +/* 07D5DC 800E412C E7B40014 */ swc1 $f20, 0x14($sp) +.L800E4130: +/* 07D5E0 800E4130 0C037D18 */ jal test_player_lateral +/* 07D5E4 800E4134 00000000 */ nop +/* 07D5E8 800E4138 A6820000 */ sh $v0, ($s4) +.L800E413C: +/* 07D5EC 800E413C C7A00020 */ lwc1 $f0, 0x20($sp) +/* 07D5F0 800E4140 C7A20024 */ lwc1 $f2, 0x24($sp) +/* 07D5F4 800E4144 3C018011 */ lui $at, 0x8011 +/* 07D5F8 800E4148 D436BED8 */ ldc1 $f22, -0x4128($at) +/* 07D5FC 800E414C 4600A521 */ cvt.d.s $f20, $f20 +/* 07D600 800E4150 E7A0003C */ swc1 $f0, 0x3c($sp) +/* 07D604 800E4154 C7A00028 */ lwc1 $f0, 0x28($sp) +/* 07D608 800E4158 4636A301 */ sub.d $f12, $f20, $f22 +/* 07D60C 800E415C E7A20040 */ swc1 $f2, 0x40($sp) +/* 07D610 800E4160 E7A00044 */ swc1 $f0, 0x44($sp) +/* 07D614 800E4164 0C00A6C9 */ jal clamp_angle +/* 07D618 800E4168 46206320 */ cvt.s.d $f12, $f12 +/* 07D61C 800E416C 0000202D */ daddu $a0, $zero, $zero +/* 07D620 800E4170 0220282D */ daddu $a1, $s1, $zero +/* 07D624 800E4174 27A6003C */ addiu $a2, $sp, 0x3c +/* 07D628 800E4178 27A70040 */ addiu $a3, $sp, 0x40 +/* 07D62C 800E417C 27A20044 */ addiu $v0, $sp, 0x44 +/* 07D630 800E4180 E7A0002C */ swc1 $f0, 0x2c($sp) +/* 07D634 800E4184 AFA20010 */ sw $v0, 0x10($sp) +/* 07D638 800E4188 AFA00014 */ sw $zero, 0x14($sp) +/* 07D63C 800E418C 0C037B01 */ jal func_800DEC04 +/* 07D640 800E4190 E7A00018 */ swc1 $f0, 0x18($sp) +/* 07D644 800E4194 C7A00020 */ lwc1 $f0, 0x20($sp) +/* 07D648 800E4198 C7A20028 */ lwc1 $f2, 0x28($sp) +/* 07D64C 800E419C 4636A500 */ add.d $f20, $f20, $f22 +/* 07D650 800E41A0 E7A00048 */ swc1 $f0, 0x48($sp) +/* 07D654 800E41A4 C7A00024 */ lwc1 $f0, 0x24($sp) +/* 07D658 800E41A8 0040802D */ daddu $s0, $v0, $zero +/* 07D65C 800E41AC E7A20050 */ swc1 $f2, 0x50($sp) +/* 07D660 800E41B0 4620A320 */ cvt.s.d $f12, $f20 +/* 07D664 800E41B4 0C00A6C9 */ jal clamp_angle +/* 07D668 800E41B8 E7A0004C */ swc1 $f0, 0x4c($sp) +/* 07D66C 800E41BC 0000202D */ daddu $a0, $zero, $zero +/* 07D670 800E41C0 0220282D */ daddu $a1, $s1, $zero +/* 07D674 800E41C4 27A60048 */ addiu $a2, $sp, 0x48 +/* 07D678 800E41C8 27A7004C */ addiu $a3, $sp, 0x4c +/* 07D67C 800E41CC 27A20050 */ addiu $v0, $sp, 0x50 +/* 07D680 800E41D0 E7A0002C */ swc1 $f0, 0x2c($sp) +/* 07D684 800E41D4 AFA20010 */ sw $v0, 0x10($sp) +/* 07D688 800E41D8 AFA00014 */ sw $zero, 0x14($sp) +/* 07D68C 800E41DC 0C037B01 */ jal func_800DEC04 +/* 07D690 800E41E0 E7A00018 */ swc1 $f0, 0x18($sp) +/* 07D694 800E41E4 0601000B */ bgez $s0, .L800E4214 +/* 07D698 800E41E8 00000000 */ nop +/* 07D69C 800E41EC 04410005 */ bgez $v0, .L800E4204 +/* 07D6A0 800E41F0 00000000 */ nop +/* 07D6A4 800E41F4 C7A00020 */ lwc1 $f0, 0x20($sp) +/* 07D6A8 800E41F8 C7A20028 */ lwc1 $f2, 0x28($sp) +/* 07D6AC 800E41FC 0803908A */ j .L800E4228 +/* 07D6B0 800E4200 E6200028 */ swc1 $f0, 0x28($s1) + +.L800E4204: +/* 07D6B4 800E4204 C7A0003C */ lwc1 $f0, 0x3c($sp) +/* 07D6B8 800E4208 C7A20044 */ lwc1 $f2, 0x44($sp) +/* 07D6BC 800E420C 0803908A */ j .L800E4228 +/* 07D6C0 800E4210 E6200028 */ swc1 $f0, 0x28($s1) + +.L800E4214: +/* 07D6C4 800E4214 04410005 */ bgez $v0, .L800E422C +/* 07D6C8 800E4218 00000000 */ nop +/* 07D6CC 800E421C C7A00048 */ lwc1 $f0, 0x48($sp) +/* 07D6D0 800E4220 C7A20050 */ lwc1 $f2, 0x50($sp) +/* 07D6D4 800E4224 E6200028 */ swc1 $f0, 0x28($s1) +.L800E4228: +/* 07D6D8 800E4228 E6220030 */ swc1 $f2, 0x30($s1) +.L800E422C: +/* 07D6DC 800E422C 82220014 */ lb $v0, 0x14($s1) +/* 07D6E0 800E4230 1440002B */ bnez $v0, .L800E42E0 +/* 07D6E4 800E4234 3C030001 */ lui $v1, 1 +/* 07D6E8 800E4238 8E220004 */ lw $v0, 4($s1) +/* 07D6EC 800E423C 00431024 */ and $v0, $v0, $v1 +/* 07D6F0 800E4240 10400004 */ beqz $v0, .L800E4254 +/* 07D6F4 800E4244 0000202D */ daddu $a0, $zero, $zero +/* 07D6F8 800E4248 C6340080 */ lwc1 $f20, 0x80($s1) +/* 07D6FC 800E424C 080390A6 */ j .L800E4298 +/* 07D700 800E4250 00000000 */ nop + +.L800E4254: +/* 07D704 800E4254 3C038007 */ lui $v1, 0x8007 +/* 07D708 800E4258 8C637410 */ lw $v1, 0x7410($v1) +/* 07D70C 800E425C C62200A8 */ lwc1 $f2, 0xa8($s1) +/* 07D710 800E4260 3C0142B4 */ lui $at, 0x42b4 +/* 07D714 800E4264 44810000 */ mtc1 $at, $f0 +/* 07D718 800E4268 00031080 */ sll $v0, $v1, 2 +/* 07D71C 800E426C 00431021 */ addu $v0, $v0, $v1 +/* 07D720 800E4270 00021080 */ sll $v0, $v0, 2 +/* 07D724 800E4274 00431023 */ subu $v0, $v0, $v1 +/* 07D728 800E4278 000218C0 */ sll $v1, $v0, 3 +/* 07D72C 800E427C 00431021 */ addu $v0, $v0, $v1 +/* 07D730 800E4280 000210C0 */ sll $v0, $v0, 3 +/* 07D734 800E4284 46001081 */ sub.s $f2, $f2, $f0 +/* 07D738 800E4288 3C01800B */ lui $at, 0x800b +/* 07D73C 800E428C 00220821 */ addu $at, $at, $v0 +/* 07D740 800E4290 C4201DEC */ lwc1 $f0, 0x1dec($at) +/* 07D744 800E4294 46001500 */ add.s $f20, $f2, $f0 +.L800E4298: +/* 07D748 800E4298 4406A000 */ mfc1 $a2, $f20 +/* 07D74C 800E429C 0C0390C2 */ jal func_800E4308 +/* 07D750 800E42A0 0080282D */ daddu $a1, $a0, $zero +/* 07D754 800E42A4 0441000E */ bgez $v0, .L800E42E0 +/* 07D758 800E42A8 24040001 */ addiu $a0, $zero, 1 +/* 07D75C 800E42AC 862200B0 */ lh $v0, 0xb0($s1) +/* 07D760 800E42B0 3C013F40 */ lui $at, 0x3f40 +/* 07D764 800E42B4 44811000 */ mtc1 $at, $f2 +/* 07D768 800E42B8 44820000 */ mtc1 $v0, $f0 +/* 07D76C 800E42BC 00000000 */ nop +/* 07D770 800E42C0 46800020 */ cvt.s.w $f0, $f0 +/* 07D774 800E42C4 46020002 */ mul.s $f0, $f0, $f2 +/* 07D778 800E42C8 00000000 */ nop +/* 07D77C 800E42CC 4406A000 */ mfc1 $a2, $f20 +/* 07D780 800E42D0 4600040D */ trunc.w.s $f16, $f0 +/* 07D784 800E42D4 44058000 */ mfc1 $a1, $f16 +.L800E42D8: +/* 07D788 800E42D8 0C0390C2 */ jal func_800E4308 +/* 07D78C 800E42DC 00000000 */ nop +.L800E42E0: +/* 07D790 800E42E0 8FBF006C */ lw $ra, 0x6c($sp) +/* 07D794 800E42E4 8FB40068 */ lw $s4, 0x68($sp) +/* 07D798 800E42E8 8FB30064 */ lw $s3, 0x64($sp) +/* 07D79C 800E42EC 8FB20060 */ lw $s2, 0x60($sp) +/* 07D7A0 800E42F0 8FB1005C */ lw $s1, 0x5c($sp) +/* 07D7A4 800E42F4 8FB00058 */ lw $s0, 0x58($sp) +/* 07D7A8 800E42F8 D7B60078 */ ldc1 $f22, 0x78($sp) +/* 07D7AC 800E42FC D7B40070 */ ldc1 $f20, 0x70($sp) +/* 07D7B0 800E4300 03E00008 */ jr $ra +/* 07D7B4 800E4304 27BD0080 */ addiu $sp, $sp, 0x80 + +func_800E4308: +/* 07D7B8 800E4308 27BDFFA0 */ addiu $sp, $sp, -0x60 +/* 07D7BC 800E430C F7B40048 */ sdc1 $f20, 0x48($sp) +/* 07D7C0 800E4310 4480A000 */ mtc1 $zero, $f20 +/* 07D7C4 800E4314 F7B80058 */ sdc1 $f24, 0x58($sp) +/* 07D7C8 800E4318 3C0142B4 */ lui $at, 0x42b4 +/* 07D7CC 800E431C 4481C000 */ mtc1 $at, $f24 +/* 07D7D0 800E4320 AFB40040 */ sw $s4, 0x40($sp) +/* 07D7D4 800E4324 0080A02D */ daddu $s4, $a0, $zero +/* 07D7D8 800E4328 AFB20038 */ sw $s2, 0x38($sp) +/* 07D7DC 800E432C 2412FFFF */ addiu $s2, $zero, -1 +/* 07D7E0 800E4330 AFB10034 */ sw $s1, 0x34($sp) +/* 07D7E4 800E4334 0000882D */ daddu $s1, $zero, $zero +/* 07D7E8 800E4338 AFB00030 */ sw $s0, 0x30($sp) +/* 07D7EC 800E433C 3C10800F */ lui $s0, 0x800f +/* 07D7F0 800E4340 26107B30 */ addiu $s0, $s0, 0x7b30 +/* 07D7F4 800E4344 F7B60050 */ sdc1 $f22, 0x50($sp) +/* 07D7F8 800E4348 4485B000 */ mtc1 $a1, $f22 +/* 07D7FC 800E434C 00000000 */ nop +/* 07D800 800E4350 4680B5A0 */ cvt.s.w $f22, $f22 +/* 07D804 800E4354 AFB3003C */ sw $s3, 0x3c($sp) +/* 07D808 800E4358 27B30028 */ addiu $s3, $sp, 0x28 +/* 07D80C 800E435C AFBF0044 */ sw $ra, 0x44($sp) +.L800E4360: +/* 07D810 800E4360 0280202D */ daddu $a0, $s4, $zero +/* 07D814 800E4364 8E020000 */ lw $v0, ($s0) +/* 07D818 800E4368 27A60020 */ addiu $a2, $sp, 0x20 +/* 07D81C 800E436C 0040182D */ daddu $v1, $v0, $zero +/* 07D820 800E4370 C4440028 */ lwc1 $f4, 0x28($v0) +/* 07D824 800E4374 C440002C */ lwc1 $f0, 0x2c($v0) +/* 07D828 800E4378 C4620030 */ lwc1 $f2, 0x30($v1) +/* 07D82C 800E437C 46160000 */ add.s $f0, $f0, $f22 +/* 07D830 800E4380 E7A40020 */ swc1 $f4, 0x20($sp) +/* 07D834 800E4384 E7A20028 */ swc1 $f2, 0x28($sp) +/* 07D838 800E4388 E7A00024 */ swc1 $f0, 0x24($sp) +/* 07D83C 800E438C AFB30010 */ sw $s3, 0x10($sp) +/* 07D840 800E4390 AFA00014 */ sw $zero, 0x14($sp) +/* 07D844 800E4394 E7B40018 */ swc1 $f20, 0x18($sp) +/* 07D848 800E4398 8E050000 */ lw $a1, ($s0) +/* 07D84C 800E439C 0C037B01 */ jal func_800DEC04 +/* 07D850 800E43A0 27A70024 */ addiu $a3, $sp, 0x24 +/* 07D854 800E43A4 0040182D */ daddu $v1, $v0, $zero +/* 07D858 800E43A8 04630001 */ bgezl $v1, .L800E43B0 +/* 07D85C 800E43AC 0060902D */ daddu $s2, $v1, $zero +.L800E43B0: +/* 07D860 800E43B0 26310001 */ addiu $s1, $s1, 1 +/* 07D864 800E43B4 8E020000 */ lw $v0, ($s0) +/* 07D868 800E43B8 C7A00020 */ lwc1 $f0, 0x20($sp) +/* 07D86C 800E43BC C7A20028 */ lwc1 $f2, 0x28($sp) +/* 07D870 800E43C0 E4400028 */ swc1 $f0, 0x28($v0) +/* 07D874 800E43C4 E4420030 */ swc1 $f2, 0x30($v0) +/* 07D878 800E43C8 2A220004 */ slti $v0, $s1, 4 +/* 07D87C 800E43CC 1440FFE4 */ bnez $v0, .L800E4360 +/* 07D880 800E43D0 4618A500 */ add.s $f20, $f20, $f24 +/* 07D884 800E43D4 0240102D */ daddu $v0, $s2, $zero +/* 07D888 800E43D8 8FBF0044 */ lw $ra, 0x44($sp) +/* 07D88C 800E43DC 8FB40040 */ lw $s4, 0x40($sp) +/* 07D890 800E43E0 8FB3003C */ lw $s3, 0x3c($sp) +/* 07D894 800E43E4 8FB20038 */ lw $s2, 0x38($sp) +/* 07D898 800E43E8 8FB10034 */ lw $s1, 0x34($sp) +/* 07D89C 800E43EC 8FB00030 */ lw $s0, 0x30($sp) +/* 07D8A0 800E43F0 D7B80058 */ ldc1 $f24, 0x58($sp) +/* 07D8A4 800E43F4 D7B60050 */ ldc1 $f22, 0x50($sp) +/* 07D8A8 800E43F8 D7B40048 */ ldc1 $f20, 0x48($sp) +/* 07D8AC 800E43FC 03E00008 */ jr $ra +/* 07D8B0 800E4400 27BD0060 */ addiu $sp, $sp, 0x60 + +func_800E4404: +/* 07D8B4 800E4404 27BDFF98 */ addiu $sp, $sp, -0x68 +/* 07D8B8 800E4408 AFB50044 */ sw $s5, 0x44($sp) +/* 07D8BC 800E440C 8FB50078 */ lw $s5, 0x78($sp) +/* 07D8C0 800E4410 AFB20038 */ sw $s2, 0x38($sp) +/* 07D8C4 800E4414 8FB2007C */ lw $s2, 0x7c($sp) +/* 07D8C8 800E4418 F7B40050 */ sdc1 $f20, 0x50($sp) +/* 07D8CC 800E441C 4480A000 */ mtc1 $zero, $f20 +/* 07D8D0 800E4420 F7B80060 */ sdc1 $f24, 0x60($sp) +/* 07D8D4 800E4424 3C0142B4 */ lui $at, 0x42b4 +/* 07D8D8 800E4428 4481C000 */ mtc1 $at, $f24 +/* 07D8DC 800E442C AFB60048 */ sw $s6, 0x48($sp) +/* 07D8E0 800E4430 0080B02D */ daddu $s6, $a0, $zero +/* 07D8E4 800E4434 AFB3003C */ sw $s3, 0x3c($sp) +/* 07D8E8 800E4438 00E0982D */ daddu $s3, $a3, $zero +/* 07D8EC 800E443C AFB10034 */ sw $s1, 0x34($sp) +/* 07D8F0 800E4440 2411FFFF */ addiu $s1, $zero, -1 +/* 07D8F4 800E4444 AFB00030 */ sw $s0, 0x30($sp) +/* 07D8F8 800E4448 0000802D */ daddu $s0, $zero, $zero +/* 07D8FC 800E444C F7B60058 */ sdc1 $f22, 0x58($sp) +/* 07D900 800E4450 4485B000 */ mtc1 $a1, $f22 +/* 07D904 800E4454 00000000 */ nop +/* 07D908 800E4458 4680B5A0 */ cvt.s.w $f22, $f22 +/* 07D90C 800E445C AFB40040 */ sw $s4, 0x40($sp) +/* 07D910 800E4460 27B40028 */ addiu $s4, $sp, 0x28 +/* 07D914 800E4464 AFBF004C */ sw $ra, 0x4c($sp) +.L800E4468: +/* 07D918 800E4468 C6600000 */ lwc1 $f0, ($s3) +/* 07D91C 800E446C E7A00020 */ swc1 $f0, 0x20($sp) +/* 07D920 800E4470 C6A00000 */ lwc1 $f0, ($s5) +/* 07D924 800E4474 02C0202D */ daddu $a0, $s6, $zero +/* 07D928 800E4478 46160000 */ add.s $f0, $f0, $f22 +/* 07D92C 800E447C 3C05800F */ lui $a1, 0x800f +/* 07D930 800E4480 8CA57B30 */ lw $a1, 0x7b30($a1) +/* 07D934 800E4484 27A60020 */ addiu $a2, $sp, 0x20 +/* 07D938 800E4488 E7A00024 */ swc1 $f0, 0x24($sp) +/* 07D93C 800E448C C6400000 */ lwc1 $f0, ($s2) +/* 07D940 800E4490 27A70024 */ addiu $a3, $sp, 0x24 +/* 07D944 800E4494 E7A00028 */ swc1 $f0, 0x28($sp) +/* 07D948 800E4498 AFB40010 */ sw $s4, 0x10($sp) +/* 07D94C 800E449C AFA00014 */ sw $zero, 0x14($sp) +/* 07D950 800E44A0 0C037B01 */ jal func_800DEC04 +/* 07D954 800E44A4 E7B40018 */ swc1 $f20, 0x18($sp) +/* 07D958 800E44A8 04430001 */ bgezl $v0, .L800E44B0 +/* 07D95C 800E44AC 0040882D */ daddu $s1, $v0, $zero +.L800E44B0: +/* 07D960 800E44B0 26100001 */ addiu $s0, $s0, 1 +/* 07D964 800E44B4 C7A00020 */ lwc1 $f0, 0x20($sp) +/* 07D968 800E44B8 2A020004 */ slti $v0, $s0, 4 +/* 07D96C 800E44BC E6600000 */ swc1 $f0, ($s3) +/* 07D970 800E44C0 C7A00028 */ lwc1 $f0, 0x28($sp) +/* 07D974 800E44C4 4618A500 */ add.s $f20, $f20, $f24 +/* 07D978 800E44C8 1440FFE7 */ bnez $v0, .L800E4468 +/* 07D97C 800E44CC E6400000 */ swc1 $f0, ($s2) +/* 07D980 800E44D0 0220102D */ daddu $v0, $s1, $zero +/* 07D984 800E44D4 8FBF004C */ lw $ra, 0x4c($sp) +/* 07D988 800E44D8 8FB60048 */ lw $s6, 0x48($sp) +/* 07D98C 800E44DC 8FB50044 */ lw $s5, 0x44($sp) +/* 07D990 800E44E0 8FB40040 */ lw $s4, 0x40($sp) +/* 07D994 800E44E4 8FB3003C */ lw $s3, 0x3c($sp) +/* 07D998 800E44E8 8FB20038 */ lw $s2, 0x38($sp) +/* 07D99C 800E44EC 8FB10034 */ lw $s1, 0x34($sp) +/* 07D9A0 800E44F0 8FB00030 */ lw $s0, 0x30($sp) +/* 07D9A4 800E44F4 D7B80060 */ ldc1 $f24, 0x60($sp) +/* 07D9A8 800E44F8 D7B60058 */ ldc1 $f22, 0x58($sp) +/* 07D9AC 800E44FC D7B40050 */ ldc1 $f20, 0x50($sp) +/* 07D9B0 800E4500 03E00008 */ jr $ra +/* 07D9B4 800E4504 27BD0068 */ addiu $sp, $sp, 0x68 + +func_800E4508: +/* 07D9B8 800E4508 27BDFFB0 */ addiu $sp, $sp, -0x50 +/* 07D9BC 800E450C AFB00030 */ sw $s0, 0x30($sp) +/* 07D9C0 800E4510 3C108011 */ lui $s0, 0x8011 +/* 07D9C4 800E4514 2610EFC8 */ addiu $s0, $s0, -0x1038 +/* 07D9C8 800E4518 AFBF0038 */ sw $ra, 0x38($sp) +/* 07D9CC 800E451C AFB10034 */ sw $s1, 0x34($sp) +/* 07D9D0 800E4520 F7B60048 */ sdc1 $f22, 0x48($sp) +/* 07D9D4 800E4524 F7B40040 */ sdc1 $f20, 0x40($sp) +/* 07D9D8 800E4528 C6140064 */ lwc1 $f20, 0x64($s0) +/* 07D9DC 800E452C 4480B000 */ mtc1 $zero, $f22 +/* 07D9E0 800E4530 00000000 */ nop +/* 07D9E4 800E4534 4616A032 */ c.eq.s $f20, $f22 +/* 07D9E8 800E4538 00000000 */ nop +/* 07D9EC 800E453C 45010021 */ bc1t .L800E45C4 +/* 07D9F0 800E4540 0200882D */ daddu $s1, $s0, $zero +/* 07D9F4 800E4544 27A20028 */ addiu $v0, $sp, 0x28 +/* 07D9F8 800E4548 0000202D */ daddu $a0, $zero, $zero +/* 07D9FC 800E454C 0200282D */ daddu $a1, $s0, $zero +/* 07DA00 800E4550 C6000028 */ lwc1 $f0, 0x28($s0) +/* 07DA04 800E4554 C602002C */ lwc1 $f2, 0x2c($s0) +/* 07DA08 800E4558 C6040030 */ lwc1 $f4, 0x30($s0) +/* 07DA0C 800E455C 27A60020 */ addiu $a2, $sp, 0x20 +/* 07DA10 800E4560 E7A00020 */ swc1 $f0, 0x20($sp) +/* 07DA14 800E4564 E7A20024 */ swc1 $f2, 0x24($sp) +/* 07DA18 800E4568 E7A40028 */ swc1 $f4, 0x28($sp) +/* 07DA1C 800E456C C6000088 */ lwc1 $f0, 0x88($s0) +/* 07DA20 800E4570 27A70024 */ addiu $a3, $sp, 0x24 +/* 07DA24 800E4574 AFA20010 */ sw $v0, 0x10($sp) +/* 07DA28 800E4578 E7B40014 */ swc1 $f20, 0x14($sp) +/* 07DA2C 800E457C 0C037B01 */ jal func_800DEC04 +/* 07DA30 800E4580 E7A00018 */ swc1 $f0, 0x18($sp) +/* 07DA34 800E4584 C602005C */ lwc1 $f2, 0x5c($s0) +/* 07DA38 800E4588 3C014120 */ lui $at, 0x4120 +/* 07DA3C 800E458C 44810000 */ mtc1 $at, $f0 +/* 07DA40 800E4590 C7A40024 */ lwc1 $f4, 0x24($sp) +/* 07DA44 800E4594 C7A60028 */ lwc1 $f6, 0x28($sp) +/* 07DA48 800E4598 46001083 */ div.s $f2, $f2, $f0 +/* 07DA4C 800E459C C7A00020 */ lwc1 $f0, 0x20($sp) +/* 07DA50 800E45A0 4602A501 */ sub.s $f20, $f20, $f2 +/* 07DA54 800E45A4 E604002C */ swc1 $f4, 0x2c($s0) +/* 07DA58 800E45A8 E6060030 */ swc1 $f6, 0x30($s0) +/* 07DA5C 800E45AC 4616A03C */ c.lt.s $f20, $f22 +/* 07DA60 800E45B0 00000000 */ nop +/* 07DA64 800E45B4 45000002 */ bc1f .L800E45C0 +/* 07DA68 800E45B8 E6000028 */ swc1 $f0, 0x28($s0) +/* 07DA6C 800E45BC 4600B506 */ mov.s $f20, $f22 +.L800E45C0: +/* 07DA70 800E45C0 E6340064 */ swc1 $f20, 0x64($s1) +.L800E45C4: +/* 07DA74 800E45C4 8FBF0038 */ lw $ra, 0x38($sp) +/* 07DA78 800E45C8 8FB10034 */ lw $s1, 0x34($sp) +/* 07DA7C 800E45CC 8FB00030 */ lw $s0, 0x30($sp) +/* 07DA80 800E45D0 D7B60048 */ ldc1 $f22, 0x48($sp) +/* 07DA84 800E45D4 D7B40040 */ ldc1 $f20, 0x40($sp) +/* 07DA88 800E45D8 03E00008 */ jr $ra +/* 07DA8C 800E45DC 27BD0050 */ addiu $sp, $sp, 0x50 + +func_800E45E0: +/* 07DA90 800E45E0 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 07DA94 800E45E4 AFB00010 */ sw $s0, 0x10($sp) +/* 07DA98 800E45E8 3C108011 */ lui $s0, 0x8011 +/* 07DA9C 800E45EC 2610EFC8 */ addiu $s0, $s0, -0x1038 +/* 07DAA0 800E45F0 AFBF0014 */ sw $ra, 0x14($sp) +/* 07DAA4 800E45F4 0C044181 */ jal get_shadow_by_index +/* 07DAA8 800E45F8 8E0400CC */ lw $a0, 0xcc($s0) +/* 07DAAC 800E45FC 3C068007 */ lui $a2, 0x8007 +/* 07DAB0 800E4600 8CC6419C */ lw $a2, 0x419c($a2) +/* 07DAB4 800E4604 0040202D */ daddu $a0, $v0, $zero +/* 07DAB8 800E4608 84C30086 */ lh $v1, 0x86($a2) +/* 07DABC 800E460C 24020008 */ addiu $v0, $zero, 8 +/* 07DAC0 800E4610 14620028 */ bne $v1, $v0, .L800E46B4 +/* 07DAC4 800E4614 0000282D */ daddu $a1, $zero, $zero +/* 07DAC8 800E4618 C4800030 */ lwc1 $f0, 0x30($a0) +/* 07DACC 800E461C 3C018011 */ lui $at, 0x8011 +/* 07DAD0 800E4620 D422BEE0 */ ldc1 $f2, -0x4120($at) +/* 07DAD4 800E4624 46000021 */ cvt.d.s $f0, $f0 +/* 07DAD8 800E4628 46220000 */ add.d $f0, $f0, $f2 +/* 07DADC 800E462C 44801000 */ mtc1 $zero, $f2 +/* 07DAE0 800E4630 46200020 */ cvt.s.d $f0, $f0 +/* 07DAE4 800E4634 46020032 */ c.eq.s $f0, $f2 +/* 07DAE8 800E4638 00000000 */ nop +/* 07DAEC 800E463C 4501001D */ bc1t .L800E46B4 +/* 07DAF0 800E4640 00000000 */ nop +/* 07DAF4 800E4644 84C2008C */ lh $v0, 0x8c($a2) +/* 07DAF8 800E4648 10400005 */ beqz $v0, .L800E4660 +/* 07DAFC 800E464C 24050001 */ addiu $a1, $zero, 1 +/* 07DB00 800E4650 10450009 */ beq $v0, $a1, .L800E4678 +/* 07DB04 800E4654 00000000 */ nop +/* 07DB08 800E4658 080391AD */ j .L800E46B4 +/* 07DB0C 800E465C 00000000 */ nop + +.L800E4660: +/* 07DB10 800E4660 3C0141A0 */ lui $at, 0x41a0 +/* 07DB14 800E4664 44811000 */ mtc1 $at, $f2 +/* 07DB18 800E4668 46000005 */ abs.s $f0, $f0 +/* 07DB1C 800E466C 4602003C */ c.lt.s $f0, $f2 +/* 07DB20 800E4670 080391AB */ j .L800E46AC +/* 07DB24 800E4674 00000000 */ nop + +.L800E4678: +/* 07DB28 800E4678 C6020028 */ lwc1 $f2, 0x28($s0) +/* 07DB2C 800E467C 3C01C396 */ lui $at, 0xc396 +/* 07DB30 800E4680 44810000 */ mtc1 $at, $f0 +/* 07DB34 800E4684 00000000 */ nop +/* 07DB38 800E4688 4602003E */ c.le.s $f0, $f2 +/* 07DB3C 800E468C 00000000 */ nop +/* 07DB40 800E4690 45000008 */ bc1f .L800E46B4 +/* 07DB44 800E4694 00000000 */ nop +/* 07DB48 800E4698 3C01C30C */ lui $at, 0xc30c +/* 07DB4C 800E469C 44810000 */ mtc1 $at, $f0 +/* 07DB50 800E46A0 00000000 */ nop +/* 07DB54 800E46A4 4600103E */ c.le.s $f2, $f0 +/* 07DB58 800E46A8 00000000 */ nop +.L800E46AC: +/* 07DB5C 800E46AC 45030001 */ bc1tl .L800E46B4 +/* 07DB60 800E46B0 0000282D */ daddu $a1, $zero, $zero +.L800E46B4: +/* 07DB64 800E46B4 8FBF0014 */ lw $ra, 0x14($sp) +/* 07DB68 800E46B8 8FB00010 */ lw $s0, 0x10($sp) +/* 07DB6C 800E46BC 00A0102D */ daddu $v0, $a1, $zero +/* 07DB70 800E46C0 03E00008 */ jr $ra +/* 07DB74 800E46C4 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 07DB78 800E46C8 3C048011 */ lui $a0, 0x8011 +/* 07DB7C 800E46CC 8C84F094 */ lw $a0, -0xf6c($a0) +/* 07DB80 800E46D0 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 07DB84 800E46D4 AFBF0010 */ sw $ra, 0x10($sp) +/* 07DB88 800E46D8 0C044181 */ jal get_shadow_by_index +/* 07DB8C 800E46DC 00000000 */ nop +/* 07DB90 800E46E0 C4400030 */ lwc1 $f0, 0x30($v0) +/* 07DB94 800E46E4 3C018011 */ lui $at, 0x8011 +/* 07DB98 800E46E8 D424BEE8 */ ldc1 $f4, -0x4118($at) +/* 07DB9C 800E46EC C4420028 */ lwc1 $f2, 0x28($v0) +/* 07DBA0 800E46F0 46000021 */ cvt.d.s $f0, $f0 +/* 07DBA4 800E46F4 46240000 */ add.d $f0, $f0, $f4 +/* 07DBA8 800E46F8 24020001 */ addiu $v0, $zero, 1 +/* 07DBAC 800E46FC 460010A1 */ cvt.d.s $f2, $f2 +/* 07DBB0 800E4700 46241080 */ add.d $f2, $f2, $f4 +/* 07DBB4 800E4704 3C0141A0 */ lui $at, 0x41a0 +/* 07DBB8 800E4708 44812000 */ mtc1 $at, $f4 +/* 07DBBC 800E470C 46200020 */ cvt.s.d $f0, $f0 +/* 07DBC0 800E4710 46000005 */ abs.s $f0, $f0 +/* 07DBC4 800E4714 4604003C */ c.lt.s $f0, $f4 +/* 07DBC8 800E4718 00000000 */ nop +/* 07DBCC 800E471C 45000006 */ bc1f .L800E4738 +/* 07DBD0 800E4720 46201020 */ cvt.s.d $f0, $f2 +/* 07DBD4 800E4724 46000005 */ abs.s $f0, $f0 +/* 07DBD8 800E4728 4604003C */ c.lt.s $f0, $f4 +/* 07DBDC 800E472C 00000000 */ nop +/* 07DBE0 800E4730 45030001 */ bc1tl .L800E4738 +/* 07DBE4 800E4734 0000102D */ daddu $v0, $zero, $zero +.L800E4738: +/* 07DBE8 800E4738 8FBF0010 */ lw $ra, 0x10($sp) +/* 07DBEC 800E473C 03E00008 */ jr $ra +/* 07DBF0 800E4740 27BD0018 */ addiu $sp, $sp, 0x18 + +func_800E4744: +/* 07DBF4 800E4744 27BDFF88 */ addiu $sp, $sp, -0x78 +/* 07DBF8 800E4748 AFB00048 */ sw $s0, 0x48($sp) +/* 07DBFC 800E474C 3C108011 */ lui $s0, 0x8011 +/* 07DC00 800E4750 2610EFC8 */ addiu $s0, $s0, -0x1038 +/* 07DC04 800E4754 0200202D */ daddu $a0, $s0, $zero +/* 07DC08 800E4758 27A50028 */ addiu $a1, $sp, 0x28 +/* 07DC0C 800E475C 27A6002C */ addiu $a2, $sp, 0x2c +/* 07DC10 800E4760 AFBF005C */ sw $ra, 0x5c($sp) +/* 07DC14 800E4764 AFB40058 */ sw $s4, 0x58($sp) +/* 07DC18 800E4768 AFB30054 */ sw $s3, 0x54($sp) +/* 07DC1C 800E476C AFB20050 */ sw $s2, 0x50($sp) +/* 07DC20 800E4770 AFB1004C */ sw $s1, 0x4c($sp) +/* 07DC24 800E4774 F7B80070 */ sdc1 $f24, 0x70($sp) +/* 07DC28 800E4778 F7B60068 */ sdc1 $f22, 0x68($sp) +/* 07DC2C 800E477C F7B40060 */ sdc1 $f20, 0x60($sp) +/* 07DC30 800E4780 860200B0 */ lh $v0, 0xb0($s0) +/* 07DC34 800E4784 3C013F00 */ lui $at, 0x3f00 +/* 07DC38 800E4788 4481A000 */ mtc1 $at, $f20 +/* 07DC3C 800E478C C6000028 */ lwc1 $f0, 0x28($s0) +/* 07DC40 800E4790 44822000 */ mtc1 $v0, $f4 +/* 07DC44 800E4794 00000000 */ nop +/* 07DC48 800E4798 46802120 */ cvt.s.w $f4, $f4 +/* 07DC4C 800E479C 46142582 */ mul.s $f22, $f4, $f20 +/* 07DC50 800E47A0 00000000 */ nop +/* 07DC54 800E47A4 27A70030 */ addiu $a3, $sp, 0x30 +/* 07DC58 800E47A8 E7A00028 */ swc1 $f0, 0x28($sp) +/* 07DC5C 800E47AC C600002C */ lwc1 $f0, 0x2c($s0) +/* 07DC60 800E47B0 C6020030 */ lwc1 $f2, 0x30($s0) +/* 07DC64 800E47B4 46160000 */ add.s $f0, $f0, $f22 +/* 07DC68 800E47B8 27A20034 */ addiu $v0, $sp, 0x34 +/* 07DC6C 800E47BC E7A40034 */ swc1 $f4, 0x34($sp) +/* 07DC70 800E47C0 E7A0002C */ swc1 $f0, 0x2c($sp) +/* 07DC74 800E47C4 3C0140E0 */ lui $at, 0x40e0 +/* 07DC78 800E47C8 44810000 */ mtc1 $at, $f0 +/* 07DC7C 800E47CC 46042100 */ add.s $f4, $f4, $f4 +/* 07DC80 800E47D0 E7A20030 */ swc1 $f2, 0x30($sp) +/* 07DC84 800E47D4 AFA20010 */ sw $v0, 0x10($sp) +/* 07DC88 800E47D8 27A20038 */ addiu $v0, $sp, 0x38 +/* 07DC8C 800E47DC AFA20014 */ sw $v0, 0x14($sp) +/* 07DC90 800E47E0 27A2003C */ addiu $v0, $sp, 0x3c +/* 07DC94 800E47E4 AFA20018 */ sw $v0, 0x18($sp) +/* 07DC98 800E47E8 27A20040 */ addiu $v0, $sp, 0x40 +/* 07DC9C 800E47EC AFA2001C */ sw $v0, 0x1c($sp) +/* 07DCA0 800E47F0 27A20044 */ addiu $v0, $sp, 0x44 +/* 07DCA4 800E47F4 AFA20020 */ sw $v0, 0x20($sp) +/* 07DCA8 800E47F8 0C03791B */ jal func_800DE46C +/* 07DCAC 800E47FC 46002603 */ div.s $f24, $f4, $f0 +/* 07DCB0 800E4800 0C00A794 */ jal get_player_normal_pitch +/* 07DCB4 800E4804 0040882D */ daddu $s1, $v0, $zero +/* 07DCB8 800E4808 4614C502 */ mul.s $f20, $f24, $f20 +/* 07DCBC 800E480C 00000000 */ nop +/* 07DCC0 800E4810 3C138011 */ lui $s3, 0x8011 +/* 07DCC4 800E4814 2673EBB0 */ addiu $s3, $s3, -0x1450 +/* 07DCC8 800E4818 C7A20034 */ lwc1 $f2, 0x34($sp) +/* 07DCCC 800E481C 4614B500 */ add.s $f20, $f22, $f20 +/* 07DCD0 800E4820 3C148016 */ lui $s4, 0x8016 +/* 07DCD4 800E4824 2694A550 */ addiu $s4, $s4, -0x5ab0 +/* 07DCD8 800E4828 4602A03C */ c.lt.s $f20, $f2 +/* 07DCDC 800E482C 00000000 */ nop +/* 07DCE0 800E4830 45000002 */ bc1f .L800E483C +/* 07DCE4 800E4834 E6000068 */ swc1 $f0, 0x68($s0) +/* 07DCE8 800E4838 2411FFFF */ addiu $s1, $zero, -1 +.L800E483C: +/* 07DCEC 800E483C 860200C0 */ lh $v0, 0xc0($s0) +/* 07DCF0 800E4840 50400001 */ beql $v0, $zero, .L800E4848 +/* 07DCF4 800E4844 A6910002 */ sh $s1, 2($s4) +.L800E4848: +/* 07DCF8 800E4848 06200005 */ bltz $s1, .L800E4860 +/* 07DCFC 800E484C 00000000 */ nop +/* 07DD00 800E4850 C7A00040 */ lwc1 $f0, 0x40($sp) +/* 07DD04 800E4854 C7A20044 */ lwc1 $f2, 0x44($sp) +/* 07DD08 800E4858 E6000034 */ swc1 $f0, 0x34($s0) +/* 07DD0C 800E485C E6020038 */ swc1 $f2, 0x38($s0) +.L800E4860: +/* 07DD10 800E4860 0C038082 */ jal func_800E0208 +/* 07DD14 800E4864 00000000 */ nop +/* 07DD18 800E4868 14400090 */ bnez $v0, .L800E4AAC +/* 07DD1C 800E486C 00000000 */ nop +/* 07DD20 800E4870 8E030000 */ lw $v1, ($s0) +/* 07DD24 800E4874 3062000E */ andi $v0, $v1, 0xe +/* 07DD28 800E4878 1440008C */ bnez $v0, .L800E4AAC +/* 07DD2C 800E487C 24120011 */ addiu $s2, $zero, 0x11 +/* 07DD30 800E4880 820200B4 */ lb $v0, 0xb4($s0) +/* 07DD34 800E4884 10520089 */ beq $v0, $s2, .L800E4AAC +/* 07DD38 800E4888 30620010 */ andi $v0, $v1, 0x10 +/* 07DD3C 800E488C 1040000C */ beqz $v0, .L800E48C0 +/* 07DD40 800E4890 00000000 */ nop +/* 07DD44 800E4894 0C03954C */ jal func_800E5530 +/* 07DD48 800E4898 00000000 */ nop +/* 07DD4C 800E489C 0C039178 */ jal func_800E45E0 +/* 07DD50 800E48A0 00000000 */ nop +/* 07DD54 800E48A4 10400006 */ beqz $v0, .L800E48C0 +/* 07DD58 800E48A8 00000000 */ nop +/* 07DD5C 800E48AC 0C039769 */ jal set_action_state +/* 07DD60 800E48B0 0240202D */ daddu $a0, $s2, $zero +/* 07DD64 800E48B4 820200B4 */ lb $v0, 0xb4($s0) +/* 07DD68 800E48B8 1052007C */ beq $v0, $s2, .L800E4AAC +/* 07DD6C 800E48BC 00000000 */ nop +.L800E48C0: +/* 07DD70 800E48C0 0620005D */ bltz $s1, .L800E4A38 +/* 07DD74 800E48C4 00000000 */ nop +/* 07DD78 800E48C8 0C016F6A */ jal get_collider_type_by_id +/* 07DD7C 800E48CC 0220202D */ daddu $a0, $s1, $zero +/* 07DD80 800E48D0 304400FF */ andi $a0, $v0, 0xff +/* 07DD84 800E48D4 24020002 */ addiu $v0, $zero, 2 +/* 07DD88 800E48D8 10820005 */ beq $a0, $v0, .L800E48F0 +/* 07DD8C 800E48DC 24020003 */ addiu $v0, $zero, 3 +/* 07DD90 800E48E0 10820011 */ beq $a0, $v0, .L800E4928 +/* 07DD94 800E48E4 0000282D */ daddu $a1, $zero, $zero +/* 07DD98 800E48E8 0803925F */ j .L800E497C +/* 07DD9C 800E48EC 00000000 */ nop + +.L800E48F0: +/* 07DDA0 800E48F0 82620000 */ lb $v0, ($s3) +/* 07DDA4 800E48F4 10400004 */ beqz $v0, .L800E4908 +/* 07DDA8 800E48F8 24020009 */ addiu $v0, $zero, 9 +/* 07DDAC 800E48FC 82630003 */ lb $v1, 3($s3) +/* 07DDB0 800E4900 1062006A */ beq $v1, $v0, .L800E4AAC +/* 07DDB4 800E4904 00000000 */ nop +.L800E4908: +/* 07DDB8 800E4908 86020010 */ lh $v0, 0x10($s0) +/* 07DDBC 800E490C 14400017 */ bnez $v0, .L800E496C +/* 07DDC0 800E4910 24020017 */ addiu $v0, $zero, 0x17 +/* 07DDC4 800E4914 820300B4 */ lb $v1, 0xb4($s0) +/* 07DDC8 800E4918 10620064 */ beq $v1, $v0, .L800E4AAC +/* 07DDCC 800E491C 00000000 */ nop +/* 07DDD0 800E4920 08039257 */ j .L800E495C +/* 07DDD4 800E4924 A20400BF */ sb $a0, 0xbf($s0) + +.L800E4928: +/* 07DDD8 800E4928 82620000 */ lb $v0, ($s3) +/* 07DDDC 800E492C 10400004 */ beqz $v0, .L800E4940 +/* 07DDE0 800E4930 24020009 */ addiu $v0, $zero, 9 +/* 07DDE4 800E4934 82630003 */ lb $v1, 3($s3) +/* 07DDE8 800E4938 1062005C */ beq $v1, $v0, .L800E4AAC +/* 07DDEC 800E493C 00000000 */ nop +.L800E4940: +/* 07DDF0 800E4940 86020010 */ lh $v0, 0x10($s0) +/* 07DDF4 800E4944 14400009 */ bnez $v0, .L800E496C +/* 07DDF8 800E4948 24020017 */ addiu $v0, $zero, 0x17 +/* 07DDFC 800E494C 820300B4 */ lb $v1, 0xb4($s0) +/* 07DE00 800E4950 10620056 */ beq $v1, $v0, .L800E4AAC +/* 07DE04 800E4954 24020001 */ addiu $v0, $zero, 1 +/* 07DE08 800E4958 A20200BF */ sb $v0, 0xbf($s0) +.L800E495C: +/* 07DE0C 800E495C 0C039769 */ jal set_action_state +/* 07DE10 800E4960 24040017 */ addiu $a0, $zero, 0x17 +/* 07DE14 800E4964 080392AB */ j .L800E4AAC +/* 07DE18 800E4968 00000000 */ nop + +.L800E496C: +/* 07DE1C 800E496C 0C039769 */ jal set_action_state +/* 07DE20 800E4970 24040016 */ addiu $a0, $zero, 0x16 +/* 07DE24 800E4974 080392AB */ j .L800E4AAC +/* 07DE28 800E4978 00000000 */ nop + +.L800E497C: +/* 07DE2C 800E497C 96840002 */ lhu $a0, 2($s4) +/* 07DE30 800E4980 30824000 */ andi $v0, $a0, 0x4000 +/* 07DE34 800E4984 10400006 */ beqz $v0, .L800E49A0 +/* 07DE38 800E4988 00000000 */ nop +/* 07DE3C 800E498C 00042400 */ sll $a0, $a0, 0x10 +/* 07DE40 800E4990 0C0441A9 */ jal func_801106A4 +/* 07DE44 800E4994 00042403 */ sra $a0, $a0, 0x10 +/* 07DE48 800E4998 38420030 */ xori $v0, $v0, 0x30 +/* 07DE4C 800E499C 2C450001 */ sltiu $a1, $v0, 1 +.L800E49A0: +/* 07DE50 800E49A0 820300B4 */ lb $v1, 0xb4($s0) +/* 07DE54 800E49A4 24020022 */ addiu $v0, $zero, 0x22 +/* 07DE58 800E49A8 10620040 */ beq $v1, $v0, .L800E4AAC +/* 07DE5C 800E49AC 00000000 */ nop +/* 07DE60 800E49B0 14A0003E */ bnez $a1, .L800E4AAC +/* 07DE64 800E49B4 00000000 */ nop +/* 07DE68 800E49B8 8E020004 */ lw $v0, 4($s0) +/* 07DE6C 800E49BC 30421000 */ andi $v0, $v0, 0x1000 +/* 07DE70 800E49C0 14400017 */ bnez $v0, .L800E4A20 +/* 07DE74 800E49C4 00000000 */ nop +/* 07DE78 800E49C8 C7A4002C */ lwc1 $f4, 0x2c($sp) +/* 07DE7C 800E49CC C600002C */ lwc1 $f0, 0x2c($s0) +/* 07DE80 800E49D0 46002001 */ sub.s $f0, $f4, $f0 +/* 07DE84 800E49D4 3C0140C0 */ lui $at, 0x40c0 +/* 07DE88 800E49D8 44811000 */ mtc1 $at, $f2 +/* 07DE8C 800E49DC 00000000 */ nop +/* 07DE90 800E49E0 4602003C */ c.lt.s $f0, $f2 +/* 07DE94 800E49E4 00000000 */ nop +/* 07DE98 800E49E8 45000003 */ bc1f .L800E49F8 +/* 07DE9C 800E49EC 00000000 */ nop +/* 07DEA0 800E49F0 0803928A */ j .L800E4A28 +/* 07DEA4 800E49F4 E604002C */ swc1 $f4, 0x2c($s0) + +.L800E49F8: +/* 07DEA8 800E49F8 0C039769 */ jal set_action_state +/* 07DEAC 800E49FC 24040022 */ addiu $a0, $zero, 0x22 +/* 07DEB0 800E4A00 C7A0002C */ lwc1 $f0, 0x2c($sp) +/* 07DEB4 800E4A04 C6020080 */ lwc1 $f2, 0x80($s0) +/* 07DEB8 800E4A08 3C018011 */ lui $at, 0x8011 +/* 07DEBC 800E4A0C E420C928 */ swc1 $f0, -0x36d8($at) +/* 07DEC0 800E4A10 3C018011 */ lui $at, 0x8011 +/* 07DEC4 800E4A14 E422C984 */ swc1 $f2, -0x367c($at) +/* 07DEC8 800E4A18 0803928A */ j .L800E4A28 +/* 07DECC 800E4A1C 00000000 */ nop + +.L800E4A20: +/* 07DED0 800E4A20 C7A0002C */ lwc1 $f0, 0x2c($sp) +/* 07DED4 800E4A24 E600002C */ swc1 $f0, 0x2c($s0) +.L800E4A28: +/* 07DED8 800E4A28 0C039538 */ jal func_800E54E0 +/* 07DEDC 800E4A2C 00000000 */ nop +/* 07DEE0 800E4A30 080392AB */ j .L800E4AAC +/* 07DEE4 800E4A34 00000000 */ nop + +.L800E4A38: +/* 07DEE8 800E4A38 8E020000 */ lw $v0, ($s0) +/* 07DEEC 800E4A3C 30420008 */ andi $v0, $v0, 8 +/* 07DEF0 800E4A40 1440001A */ bnez $v0, .L800E4AAC +/* 07DEF4 800E4A44 2402001D */ addiu $v0, $zero, 0x1d +/* 07DEF8 800E4A48 820300B4 */ lb $v1, 0xb4($s0) +/* 07DEFC 800E4A4C 10620017 */ beq $v1, $v0, .L800E4AAC +/* 07DF00 800E4A50 00000000 */ nop +/* 07DF04 800E4A54 4618B080 */ add.s $f2, $f22, $f24 +/* 07DF08 800E4A58 C7A00034 */ lwc1 $f0, 0x34($sp) +/* 07DF0C 800E4A5C 4602003E */ c.le.s $f0, $f2 +/* 07DF10 800E4A60 00000000 */ nop +/* 07DF14 800E4A64 4500000D */ bc1f .L800E4A9C +/* 07DF18 800E4A68 24040008 */ addiu $a0, $zero, 8 +/* 07DF1C 800E4A6C C7A00040 */ lwc1 $f0, 0x40($sp) +/* 07DF20 800E4A70 44801000 */ mtc1 $zero, $f2 +/* 07DF24 800E4A74 00000000 */ nop +/* 07DF28 800E4A78 46020032 */ c.eq.s $f0, $f2 +/* 07DF2C 800E4A7C 00000000 */ nop +/* 07DF30 800E4A80 45000006 */ bc1f .L800E4A9C +/* 07DF34 800E4A84 00000000 */ nop +/* 07DF38 800E4A88 C7A00044 */ lwc1 $f0, 0x44($sp) +/* 07DF3C 800E4A8C 46020032 */ c.eq.s $f0, $f2 +/* 07DF40 800E4A90 00000000 */ nop +/* 07DF44 800E4A94 45030001 */ bc1tl .L800E4A9C +/* 07DF48 800E4A98 24040009 */ addiu $a0, $zero, 9 +.L800E4A9C: +/* 07DF4C 800E4A9C 0C039769 */ jal set_action_state +/* 07DF50 800E4AA0 00000000 */ nop +/* 07DF54 800E4AA4 0C038C1B */ jal func_800E306C +/* 07DF58 800E4AA8 00000000 */ nop +.L800E4AAC: +/* 07DF5C 800E4AAC 8FBF005C */ lw $ra, 0x5c($sp) +/* 07DF60 800E4AB0 8FB40058 */ lw $s4, 0x58($sp) +/* 07DF64 800E4AB4 8FB30054 */ lw $s3, 0x54($sp) +/* 07DF68 800E4AB8 8FB20050 */ lw $s2, 0x50($sp) +/* 07DF6C 800E4ABC 8FB1004C */ lw $s1, 0x4c($sp) +/* 07DF70 800E4AC0 8FB00048 */ lw $s0, 0x48($sp) +/* 07DF74 800E4AC4 D7B80070 */ ldc1 $f24, 0x70($sp) +/* 07DF78 800E4AC8 D7B60068 */ ldc1 $f22, 0x68($sp) +/* 07DF7C 800E4ACC D7B40060 */ ldc1 $f20, 0x60($sp) +/* 07DF80 800E4AD0 03E00008 */ jr $ra +/* 07DF84 800E4AD4 27BD0078 */ addiu $sp, $sp, 0x78 + +/* 07DF88 800E4AD8 3C038007 */ lui $v1, 0x8007 +/* 07DF8C 800E4ADC 8C637410 */ lw $v1, 0x7410($v1) +/* 07DF90 800E4AE0 3C018011 */ lui $at, 0x8011 +/* 07DF94 800E4AE4 C422F070 */ lwc1 $f2, -0xf90($at) +/* 07DF98 800E4AE8 3C0142B4 */ lui $at, 0x42b4 +/* 07DF9C 800E4AEC 44810000 */ mtc1 $at, $f0 +/* 07DFA0 800E4AF0 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 07DFA4 800E4AF4 AFBF0010 */ sw $ra, 0x10($sp) +/* 07DFA8 800E4AF8 00031080 */ sll $v0, $v1, 2 +/* 07DFAC 800E4AFC 00431021 */ addu $v0, $v0, $v1 +/* 07DFB0 800E4B00 00021080 */ sll $v0, $v0, 2 +/* 07DFB4 800E4B04 00431023 */ subu $v0, $v0, $v1 +/* 07DFB8 800E4B08 000218C0 */ sll $v1, $v0, 3 +/* 07DFBC 800E4B0C 00431021 */ addu $v0, $v0, $v1 +/* 07DFC0 800E4B10 000210C0 */ sll $v0, $v0, 3 +/* 07DFC4 800E4B14 46001081 */ sub.s $f2, $f2, $f0 +/* 07DFC8 800E4B18 3C01800B */ lui $at, 0x800b +/* 07DFCC 800E4B1C 00220821 */ addu $at, $at, $v0 +/* 07DFD0 800E4B20 C4201DEC */ lwc1 $f0, 0x1dec($at) +/* 07DFD4 800E4B24 46001080 */ add.s $f2, $f2, $f0 +/* 07DFD8 800E4B28 44061000 */ mfc1 $a2, $f2 +/* 07DFDC 800E4B2C 0C0390C2 */ jal func_800E4308 +/* 07DFE0 800E4B30 0000282D */ daddu $a1, $zero, $zero +/* 07DFE4 800E4B34 8FBF0010 */ lw $ra, 0x10($sp) +/* 07DFE8 800E4B38 03E00008 */ jr $ra +/* 07DFEC 800E4B3C 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 07DFF0 800E4B40 3C038007 */ lui $v1, 0x8007 +/* 07DFF4 800E4B44 8C637410 */ lw $v1, 0x7410($v1) +/* 07DFF8 800E4B48 3C018011 */ lui $at, 0x8011 +/* 07DFFC 800E4B4C C420F070 */ lwc1 $f0, -0xf90($at) +/* 07E000 800E4B50 3C0142B4 */ lui $at, 0x42b4 +/* 07E004 800E4B54 44811000 */ mtc1 $at, $f2 +/* 07E008 800E4B58 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 07E00C 800E4B5C AFBF0018 */ sw $ra, 0x18($sp) +/* 07E010 800E4B60 00031080 */ sll $v0, $v1, 2 +/* 07E014 800E4B64 00431021 */ addu $v0, $v0, $v1 +/* 07E018 800E4B68 00021080 */ sll $v0, $v0, 2 +/* 07E01C 800E4B6C 00431023 */ subu $v0, $v0, $v1 +/* 07E020 800E4B70 000218C0 */ sll $v1, $v0, 3 +/* 07E024 800E4B74 00431021 */ addu $v0, $v0, $v1 +/* 07E028 800E4B78 000210C0 */ sll $v0, $v0, 3 +/* 07E02C 800E4B7C 46020001 */ sub.s $f0, $f0, $f2 +/* 07E030 800E4B80 3C01800B */ lui $at, 0x800b +/* 07E034 800E4B84 00220821 */ addu $at, $at, $v0 +/* 07E038 800E4B88 C4241DEC */ lwc1 $f4, 0x1dec($at) +/* 07E03C 800E4B8C 00A0402D */ daddu $t0, $a1, $zero +/* 07E040 800E4B90 AFA60010 */ sw $a2, 0x10($sp) +/* 07E044 800E4B94 46040000 */ add.s $f0, $f0, $f4 +/* 07E048 800E4B98 0000282D */ daddu $a1, $zero, $zero +/* 07E04C 800E4B9C AFA70014 */ sw $a3, 0x14($sp) +/* 07E050 800E4BA0 44060000 */ mfc1 $a2, $f0 +/* 07E054 800E4BA4 0C039101 */ jal func_800E4404 +/* 07E058 800E4BA8 0100382D */ daddu $a3, $t0, $zero +/* 07E05C 800E4BAC 8FBF0018 */ lw $ra, 0x18($sp) +/* 07E060 800E4BB0 03E00008 */ jr $ra +/* 07E064 800E4BB4 27BD0020 */ addiu $sp, $sp, 0x20 + +func_800E4BB8: +/* 07E068 800E4BB8 27BDFFA8 */ addiu $sp, $sp, -0x58 +/* 07E06C 800E4BBC 3C038011 */ lui $v1, 0x8011 +/* 07E070 800E4BC0 2463EFC8 */ addiu $v1, $v1, -0x1038 +/* 07E074 800E4BC4 AFBF0040 */ sw $ra, 0x40($sp) +/* 07E078 800E4BC8 AFB3003C */ sw $s3, 0x3c($sp) +/* 07E07C 800E4BCC AFB20038 */ sw $s2, 0x38($sp) +/* 07E080 800E4BD0 AFB10034 */ sw $s1, 0x34($sp) +/* 07E084 800E4BD4 AFB00030 */ sw $s0, 0x30($sp) +/* 07E088 800E4BD8 F7B60050 */ sdc1 $f22, 0x50($sp) +/* 07E08C 800E4BDC F7B40048 */ sdc1 $f20, 0x48($sp) +/* 07E090 800E4BE0 8C620004 */ lw $v0, 4($v1) +/* 07E094 800E4BE4 30421000 */ andi $v0, $v0, 0x1000 +/* 07E098 800E4BE8 10400005 */ beqz $v0, .L800E4C00 +/* 07E09C 800E4BEC 0060982D */ daddu $s3, $v1, $zero +/* 07E0A0 800E4BF0 0C0393C4 */ jal func_800E4F10 +/* 07E0A4 800E4BF4 00000000 */ nop +/* 07E0A8 800E4BF8 080393BB */ j .L800E4EEC +/* 07E0AC 800E4BFC 00000000 */ nop + +.L800E4C00: +/* 07E0B0 800E4C00 C66C0080 */ lwc1 $f12, 0x80($s3) +/* 07E0B4 800E4C04 3C01403E */ lui $at, 0x403e +/* 07E0B8 800E4C08 4481A800 */ mtc1 $at, $f21 +/* 07E0BC 800E4C0C 4480A000 */ mtc1 $zero, $f20 +/* 07E0C0 800E4C10 46006321 */ cvt.d.s $f12, $f12 +/* 07E0C4 800E4C14 46346301 */ sub.d $f12, $f12, $f20 +/* 07E0C8 800E4C18 0C00A6C9 */ jal clamp_angle +/* 07E0CC 800E4C1C 46206320 */ cvt.s.d $f12, $f12 +/* 07E0D0 800E4C20 0000202D */ daddu $a0, $zero, $zero +/* 07E0D4 800E4C24 0260282D */ daddu $a1, $s3, $zero +/* 07E0D8 800E4C28 27B20020 */ addiu $s2, $sp, 0x20 +/* 07E0DC 800E4C2C 0240302D */ daddu $a2, $s2, $zero +/* 07E0E0 800E4C30 27B10024 */ addiu $s1, $sp, 0x24 +/* 07E0E4 800E4C34 0220382D */ daddu $a3, $s1, $zero +/* 07E0E8 800E4C38 866200B0 */ lh $v0, 0xb0($s3) +/* 07E0EC 800E4C3C 3C013F40 */ lui $at, 0x3f40 +/* 07E0F0 800E4C40 4481B000 */ mtc1 $at, $f22 +/* 07E0F4 800E4C44 44822000 */ mtc1 $v0, $f4 +/* 07E0F8 800E4C48 00000000 */ nop +/* 07E0FC 800E4C4C 46802120 */ cvt.s.w $f4, $f4 +/* 07E100 800E4C50 46162102 */ mul.s $f4, $f4, $f22 +/* 07E104 800E4C54 00000000 */ nop +/* 07E108 800E4C58 27B00028 */ addiu $s0, $sp, 0x28 +/* 07E10C 800E4C5C C662002C */ lwc1 $f2, 0x2c($s3) +/* 07E110 800E4C60 C6660028 */ lwc1 $f6, 0x28($s3) +/* 07E114 800E4C64 C6680030 */ lwc1 $f8, 0x30($s3) +/* 07E118 800E4C68 46041080 */ add.s $f2, $f2, $f4 +/* 07E11C 800E4C6C E7A60020 */ swc1 $f6, 0x20($sp) +/* 07E120 800E4C70 E7A80028 */ swc1 $f8, 0x28($sp) +/* 07E124 800E4C74 E7A20024 */ swc1 $f2, 0x24($sp) +/* 07E128 800E4C78 AFB00010 */ sw $s0, 0x10($sp) +/* 07E12C 800E4C7C AFA00014 */ sw $zero, 0x14($sp) +/* 07E130 800E4C80 0C037B01 */ jal func_800DEC04 +/* 07E134 800E4C84 E7A00018 */ swc1 $f0, 0x18($sp) +/* 07E138 800E4C88 C66C0080 */ lwc1 $f12, 0x80($s3) +/* 07E13C 800E4C8C C7A00020 */ lwc1 $f0, 0x20($sp) +/* 07E140 800E4C90 C7A20028 */ lwc1 $f2, 0x28($sp) +/* 07E144 800E4C94 46006321 */ cvt.d.s $f12, $f12 +/* 07E148 800E4C98 46346300 */ add.d $f12, $f12, $f20 +/* 07E14C 800E4C9C E6600028 */ swc1 $f0, 0x28($s3) +/* 07E150 800E4CA0 E6620030 */ swc1 $f2, 0x30($s3) +/* 07E154 800E4CA4 0C00A6C9 */ jal clamp_angle +/* 07E158 800E4CA8 46206320 */ cvt.s.d $f12, $f12 +/* 07E15C 800E4CAC 0000202D */ daddu $a0, $zero, $zero +/* 07E160 800E4CB0 0260282D */ daddu $a1, $s3, $zero +/* 07E164 800E4CB4 866200B0 */ lh $v0, 0xb0($s3) +/* 07E168 800E4CB8 0240302D */ daddu $a2, $s2, $zero +/* 07E16C 800E4CBC 44821000 */ mtc1 $v0, $f2 +/* 07E170 800E4CC0 00000000 */ nop +/* 07E174 800E4CC4 468010A0 */ cvt.s.w $f2, $f2 +/* 07E178 800E4CC8 46161082 */ mul.s $f2, $f2, $f22 +/* 07E17C 800E4CCC 00000000 */ nop +/* 07E180 800E4CD0 0220382D */ daddu $a3, $s1, $zero +/* 07E184 800E4CD4 C664002C */ lwc1 $f4, 0x2c($s3) +/* 07E188 800E4CD8 C6660028 */ lwc1 $f6, 0x28($s3) +/* 07E18C 800E4CDC C6680030 */ lwc1 $f8, 0x30($s3) +/* 07E190 800E4CE0 46022100 */ add.s $f4, $f4, $f2 +/* 07E194 800E4CE4 E7A60020 */ swc1 $f6, 0x20($sp) +/* 07E198 800E4CE8 E7A80028 */ swc1 $f8, 0x28($sp) +/* 07E19C 800E4CEC E7A40024 */ swc1 $f4, 0x24($sp) +/* 07E1A0 800E4CF0 AFB00010 */ sw $s0, 0x10($sp) +/* 07E1A4 800E4CF4 AFA00014 */ sw $zero, 0x14($sp) +/* 07E1A8 800E4CF8 0C037B01 */ jal func_800DEC04 +/* 07E1AC 800E4CFC E7A00018 */ swc1 $f0, 0x18($sp) +/* 07E1B0 800E4D00 C66C0080 */ lwc1 $f12, 0x80($s3) +/* 07E1B4 800E4D04 C7A00020 */ lwc1 $f0, 0x20($sp) +/* 07E1B8 800E4D08 C7A20028 */ lwc1 $f2, 0x28($sp) +/* 07E1BC 800E4D0C 46006321 */ cvt.d.s $f12, $f12 +/* 07E1C0 800E4D10 46346301 */ sub.d $f12, $f12, $f20 +/* 07E1C4 800E4D14 E6600028 */ swc1 $f0, 0x28($s3) +/* 07E1C8 800E4D18 E6620030 */ swc1 $f2, 0x30($s3) +/* 07E1CC 800E4D1C 0C00A6C9 */ jal clamp_angle +/* 07E1D0 800E4D20 46206320 */ cvt.s.d $f12, $f12 +/* 07E1D4 800E4D24 0000202D */ daddu $a0, $zero, $zero +/* 07E1D8 800E4D28 0260282D */ daddu $a1, $s3, $zero +/* 07E1DC 800E4D2C 0240302D */ daddu $a2, $s2, $zero +/* 07E1E0 800E4D30 C6620028 */ lwc1 $f2, 0x28($s3) +/* 07E1E4 800E4D34 C664002C */ lwc1 $f4, 0x2c($s3) +/* 07E1E8 800E4D38 C6660030 */ lwc1 $f6, 0x30($s3) +/* 07E1EC 800E4D3C 0220382D */ daddu $a3, $s1, $zero +/* 07E1F0 800E4D40 E7A20020 */ swc1 $f2, 0x20($sp) +/* 07E1F4 800E4D44 E7A40024 */ swc1 $f4, 0x24($sp) +/* 07E1F8 800E4D48 E7A60028 */ swc1 $f6, 0x28($sp) +/* 07E1FC 800E4D4C AFB00010 */ sw $s0, 0x10($sp) +/* 07E200 800E4D50 AFA00014 */ sw $zero, 0x14($sp) +/* 07E204 800E4D54 0C037B01 */ jal func_800DEC04 +/* 07E208 800E4D58 E7A00018 */ swc1 $f0, 0x18($sp) +/* 07E20C 800E4D5C C66C0080 */ lwc1 $f12, 0x80($s3) +/* 07E210 800E4D60 C7A00020 */ lwc1 $f0, 0x20($sp) +/* 07E214 800E4D64 C7A20028 */ lwc1 $f2, 0x28($sp) +/* 07E218 800E4D68 46006321 */ cvt.d.s $f12, $f12 +/* 07E21C 800E4D6C 46346300 */ add.d $f12, $f12, $f20 +/* 07E220 800E4D70 E6600028 */ swc1 $f0, 0x28($s3) +/* 07E224 800E4D74 E6620030 */ swc1 $f2, 0x30($s3) +/* 07E228 800E4D78 0C00A6C9 */ jal clamp_angle +/* 07E22C 800E4D7C 46206320 */ cvt.s.d $f12, $f12 +/* 07E230 800E4D80 0000202D */ daddu $a0, $zero, $zero +/* 07E234 800E4D84 0260282D */ daddu $a1, $s3, $zero +/* 07E238 800E4D88 0240302D */ daddu $a2, $s2, $zero +/* 07E23C 800E4D8C C6620028 */ lwc1 $f2, 0x28($s3) +/* 07E240 800E4D90 C664002C */ lwc1 $f4, 0x2c($s3) +/* 07E244 800E4D94 C6660030 */ lwc1 $f6, 0x30($s3) +/* 07E248 800E4D98 0220382D */ daddu $a3, $s1, $zero +/* 07E24C 800E4D9C E7A20020 */ swc1 $f2, 0x20($sp) +/* 07E250 800E4DA0 E7A40024 */ swc1 $f4, 0x24($sp) +/* 07E254 800E4DA4 E7A60028 */ swc1 $f6, 0x28($sp) +/* 07E258 800E4DA8 AFB00010 */ sw $s0, 0x10($sp) +/* 07E25C 800E4DAC AFA00014 */ sw $zero, 0x14($sp) +/* 07E260 800E4DB0 0C037B01 */ jal func_800DEC04 +/* 07E264 800E4DB4 E7A00018 */ swc1 $f0, 0x18($sp) +/* 07E268 800E4DB8 C66C0080 */ lwc1 $f12, 0x80($s3) +/* 07E26C 800E4DBC C7A20020 */ lwc1 $f2, 0x20($sp) +/* 07E270 800E4DC0 3C018011 */ lui $at, 0x8011 +/* 07E274 800E4DC4 D434BEF0 */ ldc1 $f20, -0x4110($at) +/* 07E278 800E4DC8 C7A00028 */ lwc1 $f0, 0x28($sp) +/* 07E27C 800E4DCC 46006321 */ cvt.d.s $f12, $f12 +/* 07E280 800E4DD0 46346300 */ add.d $f12, $f12, $f20 +/* 07E284 800E4DD4 E6620028 */ swc1 $f2, 0x28($s3) +/* 07E288 800E4DD8 E6600030 */ swc1 $f0, 0x30($s3) +/* 07E28C 800E4DDC 0C00A6C9 */ jal clamp_angle +/* 07E290 800E4DE0 46206320 */ cvt.s.d $f12, $f12 +/* 07E294 800E4DE4 0000202D */ daddu $a0, $zero, $zero +/* 07E298 800E4DE8 0260282D */ daddu $a1, $s3, $zero +/* 07E29C 800E4DEC 0240302D */ daddu $a2, $s2, $zero +/* 07E2A0 800E4DF0 C6620028 */ lwc1 $f2, 0x28($s3) +/* 07E2A4 800E4DF4 C664002C */ lwc1 $f4, 0x2c($s3) +/* 07E2A8 800E4DF8 C6660030 */ lwc1 $f6, 0x30($s3) +/* 07E2AC 800E4DFC 0220382D */ daddu $a3, $s1, $zero +/* 07E2B0 800E4E00 E7A20020 */ swc1 $f2, 0x20($sp) +/* 07E2B4 800E4E04 E7A40024 */ swc1 $f4, 0x24($sp) +/* 07E2B8 800E4E08 E7A60028 */ swc1 $f6, 0x28($sp) +/* 07E2BC 800E4E0C AFB00010 */ sw $s0, 0x10($sp) +/* 07E2C0 800E4E10 AFA00014 */ sw $zero, 0x14($sp) +/* 07E2C4 800E4E14 0C037B01 */ jal func_800DEC04 +/* 07E2C8 800E4E18 E7A00018 */ swc1 $f0, 0x18($sp) +/* 07E2CC 800E4E1C C66C0080 */ lwc1 $f12, 0x80($s3) +/* 07E2D0 800E4E20 C7A00020 */ lwc1 $f0, 0x20($sp) +/* 07E2D4 800E4E24 C7A20028 */ lwc1 $f2, 0x28($sp) +/* 07E2D8 800E4E28 46006321 */ cvt.d.s $f12, $f12 +/* 07E2DC 800E4E2C 46346301 */ sub.d $f12, $f12, $f20 +/* 07E2E0 800E4E30 E6600028 */ swc1 $f0, 0x28($s3) +/* 07E2E4 800E4E34 E6620030 */ swc1 $f2, 0x30($s3) +/* 07E2E8 800E4E38 0C00A6C9 */ jal clamp_angle +/* 07E2EC 800E4E3C 46206320 */ cvt.s.d $f12, $f12 +/* 07E2F0 800E4E40 0000202D */ daddu $a0, $zero, $zero +/* 07E2F4 800E4E44 0260282D */ daddu $a1, $s3, $zero +/* 07E2F8 800E4E48 0240302D */ daddu $a2, $s2, $zero +/* 07E2FC 800E4E4C C6620028 */ lwc1 $f2, 0x28($s3) +/* 07E300 800E4E50 C664002C */ lwc1 $f4, 0x2c($s3) +/* 07E304 800E4E54 C6660030 */ lwc1 $f6, 0x30($s3) +/* 07E308 800E4E58 0220382D */ daddu $a3, $s1, $zero +/* 07E30C 800E4E5C E7A20020 */ swc1 $f2, 0x20($sp) +/* 07E310 800E4E60 E7A40024 */ swc1 $f4, 0x24($sp) +/* 07E314 800E4E64 E7A60028 */ swc1 $f6, 0x28($sp) +/* 07E318 800E4E68 AFB00010 */ sw $s0, 0x10($sp) +/* 07E31C 800E4E6C AFA00014 */ sw $zero, 0x14($sp) +/* 07E320 800E4E70 0C037B01 */ jal func_800DEC04 +/* 07E324 800E4E74 E7A00018 */ swc1 $f0, 0x18($sp) +/* 07E328 800E4E78 C66C0080 */ lwc1 $f12, 0x80($s3) +/* 07E32C 800E4E7C C7A40020 */ lwc1 $f4, 0x20($sp) +/* 07E330 800E4E80 3C018011 */ lui $at, 0x8011 +/* 07E334 800E4E84 D420BEF8 */ ldc1 $f0, -0x4108($at) +/* 07E338 800E4E88 C7A20028 */ lwc1 $f2, 0x28($sp) +/* 07E33C 800E4E8C 46006321 */ cvt.d.s $f12, $f12 +/* 07E340 800E4E90 46206300 */ add.d $f12, $f12, $f0 +/* 07E344 800E4E94 E6640028 */ swc1 $f4, 0x28($s3) +/* 07E348 800E4E98 E6620030 */ swc1 $f2, 0x30($s3) +/* 07E34C 800E4E9C 0C00A6C9 */ jal clamp_angle +/* 07E350 800E4EA0 46206320 */ cvt.s.d $f12, $f12 +/* 07E354 800E4EA4 0000202D */ daddu $a0, $zero, $zero +/* 07E358 800E4EA8 0260282D */ daddu $a1, $s3, $zero +/* 07E35C 800E4EAC 0240302D */ daddu $a2, $s2, $zero +/* 07E360 800E4EB0 C6620028 */ lwc1 $f2, 0x28($s3) +/* 07E364 800E4EB4 C664002C */ lwc1 $f4, 0x2c($s3) +/* 07E368 800E4EB8 C6660030 */ lwc1 $f6, 0x30($s3) +/* 07E36C 800E4EBC 0220382D */ daddu $a3, $s1, $zero +/* 07E370 800E4EC0 E7A20020 */ swc1 $f2, 0x20($sp) +/* 07E374 800E4EC4 E7A40024 */ swc1 $f4, 0x24($sp) +/* 07E378 800E4EC8 E7A60028 */ swc1 $f6, 0x28($sp) +/* 07E37C 800E4ECC AFB00010 */ sw $s0, 0x10($sp) +/* 07E380 800E4ED0 AFA00014 */ sw $zero, 0x14($sp) +/* 07E384 800E4ED4 0C037B01 */ jal func_800DEC04 +/* 07E388 800E4ED8 E7A00018 */ swc1 $f0, 0x18($sp) +/* 07E38C 800E4EDC C7A00020 */ lwc1 $f0, 0x20($sp) +/* 07E390 800E4EE0 C7A20028 */ lwc1 $f2, 0x28($sp) +/* 07E394 800E4EE4 E6600028 */ swc1 $f0, 0x28($s3) +/* 07E398 800E4EE8 E6620030 */ swc1 $f2, 0x30($s3) +.L800E4EEC: +/* 07E39C 800E4EEC 8FBF0040 */ lw $ra, 0x40($sp) +/* 07E3A0 800E4EF0 8FB3003C */ lw $s3, 0x3c($sp) +/* 07E3A4 800E4EF4 8FB20038 */ lw $s2, 0x38($sp) +/* 07E3A8 800E4EF8 8FB10034 */ lw $s1, 0x34($sp) +/* 07E3AC 800E4EFC 8FB00030 */ lw $s0, 0x30($sp) +/* 07E3B0 800E4F00 D7B60050 */ ldc1 $f22, 0x50($sp) +/* 07E3B4 800E4F04 D7B40048 */ ldc1 $f20, 0x48($sp) +/* 07E3B8 800E4F08 03E00008 */ jr $ra +/* 07E3BC 800E4F0C 27BD0058 */ addiu $sp, $sp, 0x58 + +func_800E4F10: +/* 07E3C0 800E4F10 27BDFFC8 */ addiu $sp, $sp, -0x38 +/* 07E3C4 800E4F14 AFB00030 */ sw $s0, 0x30($sp) +/* 07E3C8 800E4F18 3C108011 */ lui $s0, 0x8011 +/* 07E3CC 800E4F1C 2610EFC8 */ addiu $s0, $s0, -0x1038 +/* 07E3D0 800E4F20 0200202D */ daddu $a0, $s0, $zero +/* 07E3D4 800E4F24 27A2002C */ addiu $v0, $sp, 0x2c +/* 07E3D8 800E4F28 27A50020 */ addiu $a1, $sp, 0x20 +/* 07E3DC 800E4F2C 27A60024 */ addiu $a2, $sp, 0x24 +/* 07E3E0 800E4F30 AFBF0034 */ sw $ra, 0x34($sp) +/* 07E3E4 800E4F34 C6060080 */ lwc1 $f6, 0x80($s0) +/* 07E3E8 800E4F38 C6000028 */ lwc1 $f0, 0x28($s0) +/* 07E3EC 800E4F3C C602002C */ lwc1 $f2, 0x2c($s0) +/* 07E3F0 800E4F40 C6040030 */ lwc1 $f4, 0x30($s0) +/* 07E3F4 800E4F44 27A70028 */ addiu $a3, $sp, 0x28 +/* 07E3F8 800E4F48 AFA0002C */ sw $zero, 0x2c($sp) +/* 07E3FC 800E4F4C E7A00020 */ swc1 $f0, 0x20($sp) +/* 07E400 800E4F50 E7A20024 */ swc1 $f2, 0x24($sp) +/* 07E404 800E4F54 E7A40028 */ swc1 $f4, 0x28($sp) +/* 07E408 800E4F58 AFA00010 */ sw $zero, 0x10($sp) +/* 07E40C 800E4F5C E7A60014 */ swc1 $f6, 0x14($sp) +/* 07E410 800E4F60 0C037C57 */ jal func_800DF15C +/* 07E414 800E4F64 AFA20018 */ sw $v0, 0x18($sp) +/* 07E418 800E4F68 C7A00020 */ lwc1 $f0, 0x20($sp) +/* 07E41C 800E4F6C C7A20028 */ lwc1 $f2, 0x28($sp) +/* 07E420 800E4F70 E6000028 */ swc1 $f0, 0x28($s0) +/* 07E424 800E4F74 E6020030 */ swc1 $f2, 0x30($s0) +/* 07E428 800E4F78 8FA3002C */ lw $v1, 0x2c($sp) +/* 07E42C 800E4F7C 1060000F */ beqz $v1, .L800E4FBC +/* 07E430 800E4F80 00000000 */ nop +/* 07E434 800E4F84 0441000D */ bgez $v0, .L800E4FBC +/* 07E438 800E4F88 24020018 */ addiu $v0, $zero, 0x18 +/* 07E43C 800E4F8C 820300B4 */ lb $v1, 0xb4($s0) +/* 07E440 800E4F90 1062000A */ beq $v1, $v0, .L800E4FBC +/* 07E444 800E4F94 00000000 */ nop +/* 07E448 800E4F98 C6020054 */ lwc1 $f2, 0x54($s0) +/* 07E44C 800E4F9C 44800000 */ mtc1 $zero, $f0 +/* 07E450 800E4FA0 00000000 */ nop +/* 07E454 800E4FA4 46001032 */ c.eq.s $f2, $f0 +/* 07E458 800E4FA8 00000000 */ nop +/* 07E45C 800E4FAC 45010003 */ bc1t .L800E4FBC +/* 07E460 800E4FB0 00000000 */ nop +/* 07E464 800E4FB4 0C039769 */ jal set_action_state +/* 07E468 800E4FB8 0040202D */ daddu $a0, $v0, $zero +.L800E4FBC: +/* 07E46C 800E4FBC 8FBF0034 */ lw $ra, 0x34($sp) +/* 07E470 800E4FC0 8FB00030 */ lw $s0, 0x30($sp) +/* 07E474 800E4FC4 03E00008 */ jr $ra +/* 07E478 800E4FC8 27BD0038 */ addiu $sp, $sp, 0x38 + +check_input_midair_jump: +/* 07E47C 800E4FCC 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 07E480 800E4FD0 3C030080 */ lui $v1, 0x80 +/* 07E484 800E4FD4 AFB00010 */ sw $s0, 0x10($sp) +/* 07E488 800E4FD8 3C108011 */ lui $s0, 0x8011 +/* 07E48C 800E4FDC 2610EFC8 */ addiu $s0, $s0, -0x1038 +/* 07E490 800E4FE0 AFBF0014 */ sw $ra, 0x14($sp) +/* 07E494 800E4FE4 8E020000 */ lw $v0, ($s0) +/* 07E498 800E4FE8 34630018 */ ori $v1, $v1, 0x18 +/* 07E49C 800E4FEC 00431024 */ and $v0, $v0, $v1 +/* 07E4A0 800E4FF0 14400021 */ bnez $v0, .L800E5078 +/* 07E4A4 800E4FF4 00000000 */ nop +/* 07E4A8 800E4FF8 8E020004 */ lw $v0, 4($s0) +/* 07E4AC 800E4FFC 30424001 */ andi $v0, $v0, 0x4001 +/* 07E4B0 800E5000 1440001D */ bnez $v0, .L800E5078 +/* 07E4B4 800E5004 00000000 */ nop +/* 07E4B8 800E5008 860200C2 */ lh $v0, 0xc2($s0) +/* 07E4BC 800E500C 28420006 */ slti $v0, $v0, 6 +/* 07E4C0 800E5010 14400019 */ bnez $v0, .L800E5078 +/* 07E4C4 800E5014 00000000 */ nop +/* 07E4C8 800E5018 860200C0 */ lh $v0, 0xc0($s0) +/* 07E4CC 800E501C 28420012 */ slti $v0, $v0, 0x12 +/* 07E4D0 800E5020 10400015 */ beqz $v0, .L800E5078 +/* 07E4D4 800E5024 00000000 */ nop +/* 07E4D8 800E5028 8E0200E0 */ lw $v0, 0xe0($s0) +/* 07E4DC 800E502C 30428000 */ andi $v0, $v0, 0x8000 +/* 07E4E0 800E5030 10400011 */ beqz $v0, .L800E5078 +/* 07E4E4 800E5034 24020001 */ addiu $v0, $zero, 1 +/* 07E4E8 800E5038 3C038011 */ lui $v1, 0x8011 +/* 07E4EC 800E503C 8063F290 */ lb $v1, -0xd70($v1) +/* 07E4F0 800E5040 10620007 */ beq $v1, $v0, .L800E5060 +/* 07E4F4 800E5044 28620002 */ slti $v0, $v1, 2 +/* 07E4F8 800E5048 1440000B */ bnez $v0, .L800E5078 +/* 07E4FC 800E504C 24020002 */ addiu $v0, $zero, 2 +/* 07E500 800E5050 10620004 */ beq $v1, $v0, .L800E5064 +/* 07E504 800E5054 2404000F */ addiu $a0, $zero, 0xf +/* 07E508 800E5058 0803941E */ j .L800E5078 +/* 07E50C 800E505C 00000000 */ nop + +.L800E5060: +/* 07E510 800E5060 2404000D */ addiu $a0, $zero, 0xd +.L800E5064: +/* 07E514 800E5064 0C039769 */ jal set_action_state +/* 07E518 800E5068 00000000 */ nop +/* 07E51C 800E506C 8E020000 */ lw $v0, ($s0) +/* 07E520 800E5070 34420008 */ ori $v0, $v0, 8 +/* 07E524 800E5074 AE020000 */ sw $v0, ($s0) +.L800E5078: +/* 07E528 800E5078 8FBF0014 */ lw $ra, 0x14($sp) +/* 07E52C 800E507C 8FB00010 */ lw $s0, 0x10($sp) +/* 07E530 800E5080 03E00008 */ jr $ra +/* 07E534 800E5084 27BD0018 */ addiu $sp, $sp, 0x18 + +func_800E5088: +/* 07E538 800E5088 3C028011 */ lui $v0, 0x8011 +/* 07E53C 800E508C 8042F2A2 */ lb $v0, -0xd5e($v0) +/* 07E540 800E5090 03E00008 */ jr $ra +/* 07E544 800E5094 00000000 */ nop + +/* 07E548 800E5098 3C028007 */ lui $v0, 0x8007 +/* 07E54C 800E509C 8C42419C */ lw $v0, 0x419c($v0) +/* 07E550 800E50A0 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 07E554 800E50A4 AFBF0014 */ sw $ra, 0x14($sp) +/* 07E558 800E50A8 AFB00010 */ sw $s0, 0x10($sp) +/* 07E55C 800E50AC 94420134 */ lhu $v0, 0x134($v0) +/* 07E560 800E50B0 14800002 */ bnez $a0, .L800E50BC +/* 07E564 800E50B4 0044001A */ div $zero, $v0, $a0 +/* 07E568 800E50B8 0007000D */ break 7 +.L800E50BC: +/* 07E56C 800E50BC 2401FFFF */ addiu $at, $zero, -1 +/* 07E570 800E50C0 14810004 */ bne $a0, $at, .L800E50D4 +/* 07E574 800E50C4 3C018000 */ lui $at, 0x8000 +/* 07E578 800E50C8 14410002 */ bne $v0, $at, .L800E50D4 +/* 07E57C 800E50CC 00000000 */ nop +/* 07E580 800E50D0 0006000D */ break 6 +.L800E50D4: +/* 07E584 800E50D4 00001810 */ mfhi $v1 +/* 07E588 800E50D8 14600019 */ bnez $v1, .L800E5140 +/* 07E58C 800E50DC 00000000 */ nop +/* 07E590 800E50E0 3C048016 */ lui $a0, 0x8016 +/* 07E594 800E50E4 8484A552 */ lh $a0, -0x5aae($a0) +/* 07E598 800E50E8 0C016F6A */ jal get_collider_type_by_id +/* 07E59C 800E50EC 00000000 */ nop +/* 07E5A0 800E50F0 304300FF */ andi $v1, $v0, 0xff +/* 07E5A4 800E50F4 24020006 */ addiu $v0, $zero, 6 +/* 07E5A8 800E50F8 10620003 */ beq $v1, $v0, .L800E5108 +/* 07E5AC 800E50FC 24020009 */ addiu $v0, $zero, 9 +/* 07E5B0 800E5100 14620004 */ bne $v1, $v0, .L800E5114 +/* 07E5B4 800E5104 24040141 */ addiu $a0, $zero, 0x141 +.L800E5108: +/* 07E5B8 800E5108 24040143 */ addiu $a0, $zero, 0x143 +/* 07E5BC 800E510C 08039446 */ j .L800E5118 +/* 07E5C0 800E5110 24030144 */ addiu $v1, $zero, 0x144 + +.L800E5114: +/* 07E5C4 800E5114 24030142 */ addiu $v1, $zero, 0x142 +.L800E5118: +/* 07E5C8 800E5118 3C10800F */ lui $s0, 0x800f +/* 07E5CC 800E511C 26107B80 */ addiu $s0, $s0, 0x7b80 +/* 07E5D0 800E5120 86020000 */ lh $v0, ($s0) +/* 07E5D4 800E5124 50400001 */ beql $v0, $zero, .L800E512C +/* 07E5D8 800E5128 0060202D */ daddu $a0, $v1, $zero +.L800E512C: +/* 07E5DC 800E512C 0C052736 */ jal play_sound_at_player +/* 07E5E0 800E5130 0000282D */ daddu $a1, $zero, $zero +/* 07E5E4 800E5134 96020000 */ lhu $v0, ($s0) +/* 07E5E8 800E5138 38420001 */ xori $v0, $v0, 1 +/* 07E5EC 800E513C A6020000 */ sh $v0, ($s0) +.L800E5140: +/* 07E5F0 800E5140 8FBF0014 */ lw $ra, 0x14($sp) +/* 07E5F4 800E5144 8FB00010 */ lw $s0, 0x10($sp) +/* 07E5F8 800E5148 03E00008 */ jr $ra +/* 07E5FC 800E514C 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 07E600 800E5150 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 07E604 800E5154 AFBF0010 */ sw $ra, 0x10($sp) +/* 07E608 800E5158 0C03945D */ jal func_800E5174 +/* 07E60C 800E515C 00000000 */ nop +/* 07E610 800E5160 8FBF0010 */ lw $ra, 0x10($sp) +/* 07E614 800E5164 3C018016 */ lui $at, 0x8016 +/* 07E618 800E5168 A422A55A */ sh $v0, -0x5aa6($at) +/* 07E61C 800E516C 03E00008 */ jr $ra +/* 07E620 800E5170 27BD0018 */ addiu $sp, $sp, 0x18 + +func_800E5174: +/* 07E624 800E5174 27BDFFB8 */ addiu $sp, $sp, -0x48 +/* 07E628 800E5178 2404FFFF */ addiu $a0, $zero, -1 +/* 07E62C 800E517C 3C038011 */ lui $v1, 0x8011 +/* 07E630 800E5180 2463EFC8 */ addiu $v1, $v1, -0x1038 +/* 07E634 800E5184 AFBF0038 */ sw $ra, 0x38($sp) +/* 07E638 800E5188 AFB30034 */ sw $s3, 0x34($sp) +/* 07E63C 800E518C AFB20030 */ sw $s2, 0x30($sp) +/* 07E640 800E5190 AFB1002C */ sw $s1, 0x2c($sp) +/* 07E644 800E5194 AFB00028 */ sw $s0, 0x28($sp) +/* 07E648 800E5198 F7B40040 */ sdc1 $f20, 0x40($sp) +/* 07E64C 800E519C 8C620000 */ lw $v0, ($v1) +/* 07E650 800E51A0 30422000 */ andi $v0, $v0, 0x2000 +/* 07E654 800E51A4 1440004B */ bnez $v0, .L800E52D4 +/* 07E658 800E51A8 0060802D */ daddu $s0, $v1, $zero +/* 07E65C 800E51AC 8E0200E0 */ lw $v0, 0xe0($s0) +/* 07E660 800E51B0 30428000 */ andi $v0, $v0, 0x8000 +/* 07E664 800E51B4 10400047 */ beqz $v0, .L800E52D4 +/* 07E668 800E51B8 27B20018 */ addiu $s2, $sp, 0x18 +/* 07E66C 800E51BC 0200202D */ daddu $a0, $s0, $zero +/* 07E670 800E51C0 0240282D */ daddu $a1, $s2, $zero +/* 07E674 800E51C4 27B1001C */ addiu $s1, $sp, 0x1c +/* 07E678 800E51C8 0220302D */ daddu $a2, $s1, $zero +/* 07E67C 800E51CC 27B30020 */ addiu $s3, $sp, 0x20 +/* 07E680 800E51D0 0260382D */ daddu $a3, $s3, $zero +/* 07E684 800E51D4 860200B2 */ lh $v0, 0xb2($s0) +/* 07E688 800E51D8 C6080080 */ lwc1 $f8, 0x80($s0) +/* 07E68C 800E51DC C6040028 */ lwc1 $f4, 0x28($s0) +/* 07E690 800E51E0 C606002C */ lwc1 $f6, 0x2c($s0) +/* 07E694 800E51E4 3C013F00 */ lui $at, 0x3f00 +/* 07E698 800E51E8 4481A000 */ mtc1 $at, $f20 +/* 07E69C 800E51EC C6020030 */ lwc1 $f2, 0x30($s0) +/* 07E6A0 800E51F0 44820000 */ mtc1 $v0, $f0 +/* 07E6A4 800E51F4 00000000 */ nop +/* 07E6A8 800E51F8 46800020 */ cvt.s.w $f0, $f0 +/* 07E6AC 800E51FC 46140002 */ mul.s $f0, $f0, $f20 +/* 07E6B0 800E5200 00000000 */ nop +/* 07E6B4 800E5204 E7A40018 */ swc1 $f4, 0x18($sp) +/* 07E6B8 800E5208 E7A6001C */ swc1 $f6, 0x1c($sp) +/* 07E6BC 800E520C E7A20020 */ swc1 $f2, 0x20($sp) +/* 07E6C0 800E5210 E7A80014 */ swc1 $f8, 0x14($sp) +/* 07E6C4 800E5214 0C037D18 */ jal test_player_lateral +/* 07E6C8 800E5218 E7A00010 */ swc1 $f0, 0x10($sp) +/* 07E6CC 800E521C 0040202D */ daddu $a0, $v0, $zero +/* 07E6D0 800E5220 0481002D */ bgez $a0, .L800E52D8 +/* 07E6D4 800E5224 0080102D */ daddu $v0, $a0, $zero +/* 07E6D8 800E5228 C6020054 */ lwc1 $f2, 0x54($s0) +/* 07E6DC 800E522C 44800000 */ mtc1 $zero, $f0 +/* 07E6E0 800E5230 00000000 */ nop +/* 07E6E4 800E5234 46001032 */ c.eq.s $f2, $f0 +/* 07E6E8 800E5238 00000000 */ nop +/* 07E6EC 800E523C 45000026 */ bc1f .L800E52D8 +/* 07E6F0 800E5240 0240282D */ daddu $a1, $s2, $zero +/* 07E6F4 800E5244 0200202D */ daddu $a0, $s0, $zero +/* 07E6F8 800E5248 0220302D */ daddu $a2, $s1, $zero +/* 07E6FC 800E524C 0260382D */ daddu $a3, $s3, $zero +/* 07E700 800E5250 3C038007 */ lui $v1, 0x8007 +/* 07E704 800E5254 8C637410 */ lw $v1, 0x7410($v1) +/* 07E708 800E5258 C4800028 */ lwc1 $f0, 0x28($a0) +/* 07E70C 800E525C C482002C */ lwc1 $f2, 0x2c($a0) +/* 07E710 800E5260 00031080 */ sll $v0, $v1, 2 +/* 07E714 800E5264 00431021 */ addu $v0, $v0, $v1 +/* 07E718 800E5268 00021080 */ sll $v0, $v0, 2 +/* 07E71C 800E526C 00431023 */ subu $v0, $v0, $v1 +/* 07E720 800E5270 E7A00018 */ swc1 $f0, 0x18($sp) +/* 07E724 800E5274 E7A2001C */ swc1 $f2, 0x1c($sp) +/* 07E728 800E5278 848300B2 */ lh $v1, 0xb2($a0) +/* 07E72C 800E527C 000240C0 */ sll $t0, $v0, 3 +/* 07E730 800E5280 44833000 */ mtc1 $v1, $f6 +/* 07E734 800E5284 00000000 */ nop +/* 07E738 800E5288 468031A0 */ cvt.s.w $f6, $f6 +/* 07E73C 800E528C 46143182 */ mul.s $f6, $f6, $f20 +/* 07E740 800E5290 00000000 */ nop +/* 07E744 800E5294 00481021 */ addu $v0, $v0, $t0 +/* 07E748 800E5298 C48000A8 */ lwc1 $f0, 0xa8($a0) +/* 07E74C 800E529C 3C0142B4 */ lui $at, 0x42b4 +/* 07E750 800E52A0 44811000 */ mtc1 $at, $f2 +/* 07E754 800E52A4 000210C0 */ sll $v0, $v0, 3 +/* 07E758 800E52A8 46020001 */ sub.s $f0, $f0, $f2 +/* 07E75C 800E52AC 3C01800B */ lui $at, 0x800b +/* 07E760 800E52B0 00220821 */ addu $at, $at, $v0 +/* 07E764 800E52B4 C4221DEC */ lwc1 $f2, 0x1dec($at) +/* 07E768 800E52B8 C4840030 */ lwc1 $f4, 0x30($a0) +/* 07E76C 800E52BC 46020200 */ add.s $f8, $f0, $f2 +/* 07E770 800E52C0 E7A40020 */ swc1 $f4, 0x20($sp) +/* 07E774 800E52C4 E7A60010 */ swc1 $f6, 0x10($sp) +/* 07E778 800E52C8 0C037D18 */ jal test_player_lateral +/* 07E77C 800E52CC E7A80014 */ swc1 $f8, 0x14($sp) +/* 07E780 800E52D0 0040202D */ daddu $a0, $v0, $zero +.L800E52D4: +/* 07E784 800E52D4 0080102D */ daddu $v0, $a0, $zero +.L800E52D8: +/* 07E788 800E52D8 8FBF0038 */ lw $ra, 0x38($sp) +/* 07E78C 800E52DC 8FB30034 */ lw $s3, 0x34($sp) +/* 07E790 800E52E0 8FB20030 */ lw $s2, 0x30($sp) +/* 07E794 800E52E4 8FB1002C */ lw $s1, 0x2c($sp) +/* 07E798 800E52E8 8FB00028 */ lw $s0, 0x28($sp) +/* 07E79C 800E52EC D7B40040 */ ldc1 $f20, 0x40($sp) +/* 07E7A0 800E52F0 03E00008 */ jr $ra +/* 07E7A4 800E52F4 27BD0048 */ addiu $sp, $sp, 0x48 + +func_800E52F8: +/* 07E7A8 800E52F8 3C028011 */ lui $v0, 0x8011 +/* 07E7AC 800E52FC 2442EBB0 */ addiu $v0, $v0, -0x1450 +/* 07E7B0 800E5300 80440000 */ lb $a0, ($v0) +/* 07E7B4 800E5304 10800008 */ beqz $a0, .L800E5328 +/* 07E7B8 800E5308 24030001 */ addiu $v1, $zero, 1 +/* 07E7BC 800E530C 80430003 */ lb $v1, 3($v0) +/* 07E7C0 800E5310 24020003 */ addiu $v0, $zero, 3 +/* 07E7C4 800E5314 1462000A */ bne $v1, $v0, .L800E5340 +/* 07E7C8 800E5318 0000182D */ daddu $v1, $zero, $zero +/* 07E7CC 800E531C 0082102A */ slt $v0, $a0, $v0 +/* 07E7D0 800E5320 080394D0 */ j .L800E5340 +/* 07E7D4 800E5324 38430001 */ xori $v1, $v0, 1 + +.L800E5328: +/* 07E7D8 800E5328 3C028011 */ lui $v0, 0x8011 +/* 07E7DC 800E532C 2442EFC8 */ addiu $v0, $v0, -0x1038 +/* 07E7E0 800E5330 904200B4 */ lbu $v0, 0xb4($v0) +/* 07E7E4 800E5334 2C420003 */ sltiu $v0, $v0, 3 +/* 07E7E8 800E5338 50400001 */ beql $v0, $zero, .L800E5340 +/* 07E7EC 800E533C 0000182D */ daddu $v1, $zero, $zero +.L800E5340: +/* 07E7F0 800E5340 03E00008 */ jr $ra +/* 07E7F4 800E5344 0060102D */ daddu $v0, $v1, $zero + +func_800E5348: +/* 07E7F8 800E5348 3C038007 */ lui $v1, 0x8007 +/* 07E7FC 800E534C 8C637410 */ lw $v1, 0x7410($v1) +/* 07E800 800E5350 3C018011 */ lui $at, 0x8011 +/* 07E804 800E5354 C42EF04C */ lwc1 $f14, -0xfb4($at) +/* 07E808 800E5358 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 07E80C 800E535C AFBF0010 */ sw $ra, 0x10($sp) +/* 07E810 800E5360 00031080 */ sll $v0, $v1, 2 +/* 07E814 800E5364 00431021 */ addu $v0, $v0, $v1 +/* 07E818 800E5368 00021080 */ sll $v0, $v0, 2 +/* 07E81C 800E536C 00431023 */ subu $v0, $v0, $v1 +/* 07E820 800E5370 000218C0 */ sll $v1, $v0, 3 +/* 07E824 800E5374 00431021 */ addu $v0, $v0, $v1 +/* 07E828 800E5378 000210C0 */ sll $v0, $v0, 3 +/* 07E82C 800E537C 3C01800B */ lui $at, 0x800b +/* 07E830 800E5380 00220821 */ addu $at, $at, $v0 +/* 07E834 800E5384 C42C1DEC */ lwc1 $f12, 0x1dec($at) +/* 07E838 800E5388 0C00A70A */ jal get_clamped_angle_diff +/* 07E83C 800E538C 00000000 */ nop +/* 07E840 800E5390 3C01C0A0 */ lui $at, 0xc0a0 +/* 07E844 800E5394 44811000 */ mtc1 $at, $f2 +/* 07E848 800E5398 46000106 */ mov.s $f4, $f0 +/* 07E84C 800E539C 4602203C */ c.lt.s $f4, $f2 +/* 07E850 800E53A0 00000000 */ nop +/* 07E854 800E53A4 4500000B */ bc1f .L800E53D4 +/* 07E858 800E53A8 00000000 */ nop +/* 07E85C 800E53AC 3C01C32F */ lui $at, 0xc32f +/* 07E860 800E53B0 44810000 */ mtc1 $at, $f0 +/* 07E864 800E53B4 00000000 */ nop +/* 07E868 800E53B8 4604003C */ c.lt.s $f0, $f4 +/* 07E86C 800E53BC 00000000 */ nop +/* 07E870 800E53C0 45000004 */ bc1f .L800E53D4 +/* 07E874 800E53C4 00000000 */ nop +/* 07E878 800E53C8 44802000 */ mtc1 $zero, $f4 +/* 07E87C 800E53CC 08039507 */ j .L800E541C +/* 07E880 800E53D0 00000000 */ nop + +.L800E53D4: +/* 07E884 800E53D4 3C0140A0 */ lui $at, 0x40a0 +/* 07E888 800E53D8 44810000 */ mtc1 $at, $f0 +/* 07E88C 800E53DC 00000000 */ nop +/* 07E890 800E53E0 4604003C */ c.lt.s $f0, $f4 +/* 07E894 800E53E4 00000000 */ nop +/* 07E898 800E53E8 45000009 */ bc1f .L800E5410 +/* 07E89C 800E53EC 00000000 */ nop +/* 07E8A0 800E53F0 3C01432F */ lui $at, 0x432f +/* 07E8A4 800E53F4 44810000 */ mtc1 $at, $f0 +/* 07E8A8 800E53F8 00000000 */ nop +/* 07E8AC 800E53FC 4600203C */ c.lt.s $f4, $f0 +/* 07E8B0 800E5400 3C014334 */ lui $at, 0x4334 +/* 07E8B4 800E5404 44812000 */ mtc1 $at, $f4 +/* 07E8B8 800E5408 45010004 */ bc1t .L800E541C +/* 07E8BC 800E540C 00000000 */ nop +.L800E5410: +/* 07E8C0 800E5410 3C01800F */ lui $at, 0x800f +/* 07E8C4 800E5414 C4247B40 */ lwc1 $f4, 0x7b40($at) +/* 07E8C8 800E5418 46802120 */ cvt.s.w $f4, $f4 +.L800E541C: +/* 07E8CC 800E541C 3C038007 */ lui $v1, 0x8007 +/* 07E8D0 800E5420 8C637410 */ lw $v1, 0x7410($v1) +/* 07E8D4 800E5424 3C0142B4 */ lui $at, 0x42b4 +/* 07E8D8 800E5428 44816000 */ mtc1 $at, $f12 +/* 07E8DC 800E542C 00031080 */ sll $v0, $v1, 2 +/* 07E8E0 800E5430 00431021 */ addu $v0, $v0, $v1 +/* 07E8E4 800E5434 00021080 */ sll $v0, $v0, 2 +/* 07E8E8 800E5438 00431023 */ subu $v0, $v0, $v1 +/* 07E8EC 800E543C 000218C0 */ sll $v1, $v0, 3 +/* 07E8F0 800E5440 00431021 */ addu $v0, $v0, $v1 +/* 07E8F4 800E5444 000210C0 */ sll $v0, $v0, 3 +/* 07E8F8 800E5448 460C2301 */ sub.s $f12, $f4, $f12 +/* 07E8FC 800E544C 3C01800B */ lui $at, 0x800b +/* 07E900 800E5450 00220821 */ addu $at, $at, $v0 +/* 07E904 800E5454 C4201DEC */ lwc1 $f0, 0x1dec($at) +/* 07E908 800E5458 0C00A6C9 */ jal clamp_angle +/* 07E90C 800E545C 46006300 */ add.s $f12, $f12, $f0 +/* 07E910 800E5460 8FBF0010 */ lw $ra, 0x10($sp) +/* 07E914 800E5464 03E00008 */ jr $ra +/* 07E918 800E5468 27BD0018 */ addiu $sp, $sp, 0x18 + +func_800E546C: +/* 07E91C 800E546C 3C018011 */ lui $at, 0x8011 +/* 07E920 800E5470 C424F070 */ lwc1 $f4, -0xf90($at) +/* 07E924 800E5474 3C0142B4 */ lui $at, 0x42b4 +/* 07E928 800E5478 44810000 */ mtc1 $at, $f0 +/* 07E92C 800E547C 44801000 */ mtc1 $zero, $f2 +/* 07E930 800E5480 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 07E934 800E5484 4604003E */ c.le.s $f0, $f4 +/* 07E938 800E5488 00000000 */ nop +/* 07E93C 800E548C 4500000A */ bc1f .L800E54B8 +/* 07E940 800E5490 AFBF0010 */ sw $ra, 0x10($sp) +/* 07E944 800E5494 3C014387 */ lui $at, 0x4387 +/* 07E948 800E5498 44810000 */ mtc1 $at, $f0 +/* 07E94C 800E549C 00000000 */ nop +/* 07E950 800E54A0 4600203C */ c.lt.s $f4, $f0 +/* 07E954 800E54A4 00000000 */ nop +/* 07E958 800E54A8 45000003 */ bc1f .L800E54B8 +/* 07E95C 800E54AC 00000000 */ nop +/* 07E960 800E54B0 3C014334 */ lui $at, 0x4334 +/* 07E964 800E54B4 44811000 */ mtc1 $at, $f2 +.L800E54B8: +/* 07E968 800E54B8 3C01800B */ lui $at, 0x800b +/* 07E96C 800E54BC C42C1DEC */ lwc1 $f12, 0x1dec($at) +/* 07E970 800E54C0 460C1300 */ add.s $f12, $f2, $f12 +/* 07E974 800E54C4 3C0142B4 */ lui $at, 0x42b4 +/* 07E978 800E54C8 44810000 */ mtc1 $at, $f0 +/* 07E97C 800E54CC 0C00A6C9 */ jal clamp_angle +/* 07E980 800E54D0 46006300 */ add.s $f12, $f12, $f0 +/* 07E984 800E54D4 8FBF0010 */ lw $ra, 0x10($sp) +/* 07E988 800E54D8 03E00008 */ jr $ra +/* 07E98C 800E54DC 27BD0018 */ addiu $sp, $sp, 0x18 + +func_800E54E0: +/* 07E990 800E54E0 3C038011 */ lui $v1, 0x8011 +/* 07E994 800E54E4 2463EFC8 */ addiu $v1, $v1, -0x1038 +/* 07E998 800E54E8 C4600028 */ lwc1 $f0, 0x28($v1) +/* 07E99C 800E54EC C4620030 */ lwc1 $f2, 0x30($v1) +/* 07E9A0 800E54F0 4600010D */ trunc.w.s $f4, $f0 +/* 07E9A4 800E54F4 44022000 */ mfc1 $v0, $f4 +/* 07E9A8 800E54F8 C460002C */ lwc1 $f0, 0x2c($v1) +/* 07E9AC 800E54FC A4620016 */ sh $v0, 0x16($v1) +/* 07E9B0 800E5500 4600010D */ trunc.w.s $f4, $f0 +/* 07E9B4 800E5504 44022000 */ mfc1 $v0, $f4 +/* 07E9B8 800E5508 00000000 */ nop +/* 07E9BC 800E550C A4620018 */ sh $v0, 0x18($v1) +/* 07E9C0 800E5510 4600110D */ trunc.w.s $f4, $f2 +/* 07E9C4 800E5514 44022000 */ mfc1 $v0, $f4 +/* 07E9C8 800E5518 03E00008 */ jr $ra +/* 07E9CC 800E551C A462001A */ sh $v0, 0x1a($v1) + +func_800E5520: +/* 07E9D0 800E5520 3C018011 */ lui $at, 0x8011 +/* 07E9D4 800E5524 A420C9B0 */ sh $zero, -0x3650($at) +/* 07E9D8 800E5528 03E00008 */ jr $ra +/* 07E9DC 800E552C 00000000 */ nop + +func_800E5530: +/* 07E9E0 800E5530 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 07E9E4 800E5534 AFB00010 */ sw $s0, 0x10($sp) +/* 07E9E8 800E5538 AFB10014 */ sw $s1, 0x14($sp) +/* 07E9EC 800E553C 3C118011 */ lui $s1, 0x8011 +/* 07E9F0 800E5540 2631EBB0 */ addiu $s1, $s1, -0x1450 +/* 07E9F4 800E5544 3C038007 */ lui $v1, 0x8007 +/* 07E9F8 800E5548 8C63419C */ lw $v1, 0x419c($v1) +/* 07E9FC 800E554C 3C058011 */ lui $a1, 0x8011 +/* 07EA00 800E5550 24A5EFC8 */ addiu $a1, $a1, -0x1038 +/* 07EA04 800E5554 AFBF0018 */ sw $ra, 0x18($sp) +/* 07EA08 800E5558 84640086 */ lh $a0, 0x86($v1) +/* 07EA0C 800E555C 2402000B */ addiu $v0, $zero, 0xb +/* 07EA10 800E5560 10820008 */ beq $a0, $v0, .L800E5584 +/* 07EA14 800E5564 24100001 */ addiu $s0, $zero, 1 +/* 07EA18 800E5568 2402000D */ addiu $v0, $zero, 0xd +/* 07EA1C 800E556C 148200B5 */ bne $a0, $v0, .L800E5844 +/* 07EA20 800E5570 24020001 */ addiu $v0, $zero, 1 +/* 07EA24 800E5574 8462008C */ lh $v0, 0x8c($v1) +/* 07EA28 800E5578 38420004 */ xori $v0, $v0, 4 +/* 07EA2C 800E557C 08039610 */ j .L800E5840 +/* 07EA30 800E5580 0002802B */ sltu $s0, $zero, $v0 + +.L800E5584: +/* 07EA34 800E5584 8463008C */ lh $v1, 0x8c($v1) +/* 07EA38 800E5588 2C62000C */ sltiu $v0, $v1, 0xc +/* 07EA3C 800E558C 104000AC */ beqz $v0, .L800E5840 +/* 07EA40 800E5590 00031080 */ sll $v0, $v1, 2 +/* 07EA44 800E5594 3C018011 */ lui $at, 0x8011 +/* 07EA48 800E5598 00220821 */ addu $at, $at, $v0 +/* 07EA4C 800E559C 8C22BF00 */ lw $v0, -0x4100($at) +/* 07EA50 800E55A0 00400008 */ jr $v0 +/* 07EA54 800E55A4 00000000 */ nop +/* 07EA58 800E55A8 3C038011 */ lui $v1, 0x8011 +/* 07EA5C 800E55AC 2463C9B0 */ addiu $v1, $v1, -0x3650 +/* 07EA60 800E55B0 84620000 */ lh $v0, ($v1) +/* 07EA64 800E55B4 1440000A */ bnez $v0, .L800E55E0 +/* 07EA68 800E55B8 00000000 */ nop +/* 07EA6C 800E55BC C4A2002C */ lwc1 $f2, 0x2c($a1) +/* 07EA70 800E55C0 44800000 */ mtc1 $zero, $f0 +/* 07EA74 800E55C4 00000000 */ nop +/* 07EA78 800E55C8 4600103E */ c.le.s $f2, $f0 +/* 07EA7C 800E55CC 00000000 */ nop +/* 07EA80 800E55D0 4500009A */ bc1f .L800E583C +/* 07EA84 800E55D4 24020001 */ addiu $v0, $zero, 1 +/* 07EA88 800E55D8 0803960F */ j .L800E583C +/* 07EA8C 800E55DC A4620000 */ sh $v0, ($v1) + +.L800E55E0: +/* 07EA90 800E55E0 C4A2002C */ lwc1 $f2, 0x2c($a1) +/* 07EA94 800E55E4 44800000 */ mtc1 $zero, $f0 +/* 07EA98 800E55E8 080395E6 */ j .L800E5798 +/* 07EA9C 800E55EC 00000000 */ nop + +/* 07EAA0 800E55F0 C4A2002C */ lwc1 $f2, 0x2c($a1) +/* 07EAA4 800E55F4 3C0141C8 */ lui $at, 0x41c8 +/* 07EAA8 800E55F8 44810000 */ mtc1 $at, $f0 +/* 07EAAC 800E55FC 080395E6 */ j .L800E5798 +/* 07EAB0 800E5600 00000000 */ nop + +/* 07EAB4 800E5604 C4A2002C */ lwc1 $f2, 0x2c($a1) +/* 07EAB8 800E5608 3C014248 */ lui $at, 0x4248 +/* 07EABC 800E560C 44810000 */ mtc1 $at, $f0 +/* 07EAC0 800E5610 080395E6 */ j .L800E5798 +/* 07EAC4 800E5614 00000000 */ nop + +/* 07EAC8 800E5618 C4A2002C */ lwc1 $f2, 0x2c($a1) +/* 07EACC 800E561C 3C01C3C3 */ lui $at, 0xc3c3 +/* 07EAD0 800E5620 44810000 */ mtc1 $at, $f0 +/* 07EAD4 800E5624 00000000 */ nop +/* 07EAD8 800E5628 4602003C */ c.lt.s $f0, $f2 +/* 07EADC 800E562C 00000000 */ nop +/* 07EAE0 800E5630 45030083 */ bc1tl .L800E5840 +/* 07EAE4 800E5634 0000802D */ daddu $s0, $zero, $zero +/* 07EAE8 800E5638 3C01C3F7 */ lui $at, 0xc3f7 +/* 07EAEC 800E563C 34218000 */ ori $at, $at, 0x8000 +/* 07EAF0 800E5640 44810000 */ mtc1 $at, $f0 +/* 07EAF4 800E5644 00000000 */ nop +/* 07EAF8 800E5648 4600103C */ c.lt.s $f2, $f0 +/* 07EAFC 800E564C 080395E8 */ j .L800E57A0 +/* 07EB00 800E5650 00000000 */ nop + +/* 07EB04 800E5654 C4A2002C */ lwc1 $f2, 0x2c($a1) +/* 07EB08 800E5658 3C01C2B4 */ lui $at, 0xc2b4 +/* 07EB0C 800E565C 44810000 */ mtc1 $at, $f0 +/* 07EB10 800E5660 00000000 */ nop +/* 07EB14 800E5664 4602003C */ c.lt.s $f0, $f2 +/* 07EB18 800E5668 00000000 */ nop +/* 07EB1C 800E566C 45030074 */ bc1tl .L800E5840 +/* 07EB20 800E5670 0000802D */ daddu $s0, $zero, $zero +/* 07EB24 800E5674 3C01C3B9 */ lui $at, 0xc3b9 +/* 07EB28 800E5678 44810000 */ mtc1 $at, $f0 +/* 07EB2C 800E567C 00000000 */ nop +/* 07EB30 800E5680 4600103C */ c.lt.s $f2, $f0 +/* 07EB34 800E5684 080395E8 */ j .L800E57A0 +/* 07EB38 800E5688 00000000 */ nop + +/* 07EB3C 800E568C 3C028007 */ lui $v0, 0x8007 +/* 07EB40 800E5690 8C42419C */ lw $v0, 0x419c($v0) +/* 07EB44 800E5694 8442008E */ lh $v0, 0x8e($v0) +/* 07EB48 800E5698 54400069 */ bnezl $v0, .L800E5840 +/* 07EB4C 800E569C 24100002 */ addiu $s0, $zero, 2 +/* 07EB50 800E56A0 3C038011 */ lui $v1, 0x8011 +/* 07EB54 800E56A4 2463C9B0 */ addiu $v1, $v1, -0x3650 +/* 07EB58 800E56A8 84620000 */ lh $v0, ($v1) +/* 07EB5C 800E56AC 1440000A */ bnez $v0, .L800E56D8 +/* 07EB60 800E56B0 00000000 */ nop +/* 07EB64 800E56B4 C4A2002C */ lwc1 $f2, 0x2c($a1) +/* 07EB68 800E56B8 44800000 */ mtc1 $zero, $f0 +/* 07EB6C 800E56BC 00000000 */ nop +/* 07EB70 800E56C0 4602003C */ c.lt.s $f0, $f2 +/* 07EB74 800E56C4 00000000 */ nop +/* 07EB78 800E56C8 4503005D */ bc1tl .L800E5840 +/* 07EB7C 800E56CC 24100002 */ addiu $s0, $zero, 2 +/* 07EB80 800E56D0 24020001 */ addiu $v0, $zero, 1 +/* 07EB84 800E56D4 A4620000 */ sh $v0, ($v1) +.L800E56D8: +/* 07EB88 800E56D8 C4A2002C */ lwc1 $f2, 0x2c($a1) +/* 07EB8C 800E56DC 44800000 */ mtc1 $zero, $f0 +/* 07EB90 800E56E0 080395E6 */ j .L800E5798 +/* 07EB94 800E56E4 00000000 */ nop + +/* 07EB98 800E56E8 3C028007 */ lui $v0, 0x8007 +/* 07EB9C 800E56EC 8C42419C */ lw $v0, 0x419c($v0) +/* 07EBA0 800E56F0 8442008E */ lh $v0, 0x8e($v0) +/* 07EBA4 800E56F4 54400052 */ bnezl $v0, .L800E5840 +/* 07EBA8 800E56F8 24100002 */ addiu $s0, $zero, 2 +/* 07EBAC 800E56FC 3C038011 */ lui $v1, 0x8011 +/* 07EBB0 800E5700 2463C9B0 */ addiu $v1, $v1, -0x3650 +/* 07EBB4 800E5704 84620000 */ lh $v0, ($v1) +/* 07EBB8 800E5708 1440000B */ bnez $v0, .L800E5738 +/* 07EBBC 800E570C 00000000 */ nop +/* 07EBC0 800E5710 C4A2002C */ lwc1 $f2, 0x2c($a1) +/* 07EBC4 800E5714 3C01C302 */ lui $at, 0xc302 +/* 07EBC8 800E5718 44810000 */ mtc1 $at, $f0 +/* 07EBCC 800E571C 00000000 */ nop +/* 07EBD0 800E5720 4602003C */ c.lt.s $f0, $f2 +/* 07EBD4 800E5724 00000000 */ nop +/* 07EBD8 800E5728 45030045 */ bc1tl .L800E5840 +/* 07EBDC 800E572C 24100002 */ addiu $s0, $zero, 2 +/* 07EBE0 800E5730 24020001 */ addiu $v0, $zero, 1 +/* 07EBE4 800E5734 A4620000 */ sh $v0, ($v1) +.L800E5738: +/* 07EBE8 800E5738 C4A2002C */ lwc1 $f2, 0x2c($a1) +/* 07EBEC 800E573C 3C01C302 */ lui $at, 0xc302 +/* 07EBF0 800E5740 44810000 */ mtc1 $at, $f0 +/* 07EBF4 800E5744 080395E6 */ j .L800E5798 +/* 07EBF8 800E5748 00000000 */ nop + +/* 07EBFC 800E574C 3C038011 */ lui $v1, 0x8011 +/* 07EC00 800E5750 2463C9B0 */ addiu $v1, $v1, -0x3650 +/* 07EC04 800E5754 84620000 */ lh $v0, ($v1) +/* 07EC08 800E5758 1440000B */ bnez $v0, .L800E5788 +/* 07EC0C 800E575C 00000000 */ nop +/* 07EC10 800E5760 C4A2002C */ lwc1 $f2, 0x2c($a1) +/* 07EC14 800E5764 3C01C402 */ lui $at, 0xc402 +/* 07EC18 800E5768 44810000 */ mtc1 $at, $f0 +/* 07EC1C 800E576C 00000000 */ nop +/* 07EC20 800E5770 4602003C */ c.lt.s $f0, $f2 +/* 07EC24 800E5774 00000000 */ nop +/* 07EC28 800E5778 45030031 */ bc1tl .L800E5840 +/* 07EC2C 800E577C 24100002 */ addiu $s0, $zero, 2 +/* 07EC30 800E5780 24020001 */ addiu $v0, $zero, 1 +/* 07EC34 800E5784 A4620000 */ sh $v0, ($v1) +.L800E5788: +/* 07EC38 800E5788 C4A2002C */ lwc1 $f2, 0x2c($a1) +/* 07EC3C 800E578C 3C01C402 */ lui $at, 0xc402 +/* 07EC40 800E5790 44810000 */ mtc1 $at, $f0 +/* 07EC44 800E5794 00000000 */ nop +.L800E5798: +/* 07EC48 800E5798 4602003C */ c.lt.s $f0, $f2 +/* 07EC4C 800E579C 00000000 */ nop +.L800E57A0: +/* 07EC50 800E57A0 45000028 */ bc1f .L800E5844 +/* 07EC54 800E57A4 24020001 */ addiu $v0, $zero, 1 +/* 07EC58 800E57A8 08039611 */ j .L800E5844 +/* 07EC5C 800E57AC 0000802D */ daddu $s0, $zero, $zero + +/* 07EC60 800E57B0 3C028007 */ lui $v0, 0x8007 +/* 07EC64 800E57B4 8C42419C */ lw $v0, 0x419c($v0) +/* 07EC68 800E57B8 8442008E */ lh $v0, 0x8e($v0) +/* 07EC6C 800E57BC 14400019 */ bnez $v0, .L800E5824 +/* 07EC70 800E57C0 0000202D */ daddu $a0, $zero, $zero +/* 07EC74 800E57C4 3C038011 */ lui $v1, 0x8011 +/* 07EC78 800E57C8 2463C9B0 */ addiu $v1, $v1, -0x3650 +/* 07EC7C 800E57CC 84620000 */ lh $v0, ($v1) +/* 07EC80 800E57D0 1440000B */ bnez $v0, .L800E5800 +/* 07EC84 800E57D4 00000000 */ nop +/* 07EC88 800E57D8 C4A2002C */ lwc1 $f2, 0x2c($a1) +/* 07EC8C 800E57DC 3C01C402 */ lui $at, 0xc402 +/* 07EC90 800E57E0 44810000 */ mtc1 $at, $f0 +/* 07EC94 800E57E4 00000000 */ nop +/* 07EC98 800E57E8 4602003C */ c.lt.s $f0, $f2 +/* 07EC9C 800E57EC 00000000 */ nop +/* 07ECA0 800E57F0 45030013 */ bc1tl .L800E5840 +/* 07ECA4 800E57F4 24100002 */ addiu $s0, $zero, 2 +/* 07ECA8 800E57F8 24020001 */ addiu $v0, $zero, 1 +/* 07ECAC 800E57FC A4620000 */ sh $v0, ($v1) +.L800E5800: +/* 07ECB0 800E5800 C4A2002C */ lwc1 $f2, 0x2c($a1) +/* 07ECB4 800E5804 3C01C402 */ lui $at, 0xc402 +/* 07ECB8 800E5808 44810000 */ mtc1 $at, $f0 +/* 07ECBC 800E580C 00000000 */ nop +/* 07ECC0 800E5810 4602003C */ c.lt.s $f0, $f2 +/* 07ECC4 800E5814 00000000 */ nop +/* 07ECC8 800E5818 45030001 */ bc1tl .L800E5820 +/* 07ECCC 800E581C 0000802D */ daddu $s0, $zero, $zero +.L800E5820: +/* 07ECD0 800E5820 0000202D */ daddu $a0, $zero, $zero +.L800E5824: +/* 07ECD4 800E5824 3C05F5DE */ lui $a1, 0xf5de +/* 07ECD8 800E5828 0C0B1EAF */ jal get_variable +/* 07ECDC 800E582C 34A50180 */ ori $a1, $a1, 0x180 +/* 07ECE0 800E5830 2842FFC6 */ slti $v0, $v0, -0x3a +/* 07ECE4 800E5834 14400003 */ bnez $v0, .L800E5844 +/* 07ECE8 800E5838 24020001 */ addiu $v0, $zero, 1 +.L800E583C: +/* 07ECEC 800E583C 24100002 */ addiu $s0, $zero, 2 +.L800E5840: +/* 07ECF0 800E5840 24020001 */ addiu $v0, $zero, 1 +.L800E5844: +/* 07ECF4 800E5844 16020014 */ bne $s0, $v0, .L800E5898 +/* 07ECF8 800E5848 00000000 */ nop +/* 07ECFC 800E584C 3C048016 */ lui $a0, 0x8016 +/* 07ED00 800E5850 8484A552 */ lh $a0, -0x5aae($a0) +/* 07ED04 800E5854 0C016F6A */ jal get_collider_type_by_id +/* 07ED08 800E5858 00000000 */ nop +/* 07ED0C 800E585C 304200FF */ andi $v0, $v0, 0xff +/* 07ED10 800E5860 24030003 */ addiu $v1, $zero, 3 +/* 07ED14 800E5864 14430007 */ bne $v0, $v1, .L800E5884 +/* 07ED18 800E5868 00000000 */ nop +/* 07ED1C 800E586C 3C03800B */ lui $v1, 0x800b +/* 07ED20 800E5870 24631D80 */ addiu $v1, $v1, 0x1d80 +/* 07ED24 800E5874 94620002 */ lhu $v0, 2($v1) +/* 07ED28 800E5878 0000802D */ daddu $s0, $zero, $zero +/* 07ED2C 800E587C 08039635 */ j .L800E58D4 +/* 07ED30 800E5880 34420001 */ ori $v0, $v0, 1 + +.L800E5884: +/* 07ED34 800E5884 3C03800B */ lui $v1, 0x800b +/* 07ED38 800E5888 24631D80 */ addiu $v1, $v1, 0x1d80 +/* 07ED3C 800E588C 94620002 */ lhu $v0, 2($v1) +/* 07ED40 800E5890 08039635 */ j .L800E58D4 +/* 07ED44 800E5894 3042FFFE */ andi $v0, $v0, 0xfffe + +.L800E5898: +/* 07ED48 800E5898 82220000 */ lb $v0, ($s1) +/* 07ED4C 800E589C 10400009 */ beqz $v0, .L800E58C4 +/* 07ED50 800E58A0 24020004 */ addiu $v0, $zero, 4 +/* 07ED54 800E58A4 82230003 */ lb $v1, 3($s1) +/* 07ED58 800E58A8 14620006 */ bne $v1, $v0, .L800E58C4 +/* 07ED5C 800E58AC 00000000 */ nop +/* 07ED60 800E58B0 3C03800B */ lui $v1, 0x800b +/* 07ED64 800E58B4 24631D80 */ addiu $v1, $v1, 0x1d80 +/* 07ED68 800E58B8 94620002 */ lhu $v0, 2($v1) +/* 07ED6C 800E58BC 08039635 */ j .L800E58D4 +/* 07ED70 800E58C0 34420002 */ ori $v0, $v0, 2 + +.L800E58C4: +/* 07ED74 800E58C4 3C03800B */ lui $v1, 0x800b +/* 07ED78 800E58C8 24631D80 */ addiu $v1, $v1, 0x1d80 +/* 07ED7C 800E58CC 94620002 */ lhu $v0, 2($v1) +/* 07ED80 800E58D0 3042FFFD */ andi $v0, $v0, 0xfffd +.L800E58D4: +/* 07ED84 800E58D4 A4620002 */ sh $v0, 2($v1) +/* 07ED88 800E58D8 0200102D */ daddu $v0, $s0, $zero +/* 07ED8C 800E58DC 8FBF0018 */ lw $ra, 0x18($sp) +/* 07ED90 800E58E0 8FB10014 */ lw $s1, 0x14($sp) +/* 07ED94 800E58E4 8FB00010 */ lw $s0, 0x10($sp) +/* 07ED98 800E58E8 03E00008 */ jr $ra +/* 07ED9C 800E58EC 27BD0020 */ addiu $sp, $sp, 0x20 + +/* 07EDA0 800E58F0 3C018011 */ lui $at, 0x8011 +/* 07EDA4 800E58F4 AC20C944 */ sw $zero, -0x36bc($at) +/* 07EDA8 800E58F8 0000282D */ daddu $a1, $zero, $zero +/* 07EDAC 800E58FC 240700B4 */ addiu $a3, $zero, 0xb4 +/* 07EDB0 800E5900 3C068000 */ lui $a2, 0x8000 +/* 07EDB4 800E5904 3C048011 */ lui $a0, 0x8011 +/* 07EDB8 800E5908 2484EF10 */ addiu $a0, $a0, -0x10f0 +/* 07EDBC 800E590C 3C038011 */ lui $v1, 0x8011 +/* 07EDC0 800E5910 2463F6B8 */ addiu $v1, $v1, -0x948 +.L800E5914: +/* 07EDC4 800E5914 A4670000 */ sh $a3, ($v1) +/* 07EDC8 800E5918 AC860000 */ sw $a2, ($a0) +/* 07EDCC 800E591C 24840004 */ addiu $a0, $a0, 4 +/* 07EDD0 800E5920 24A50001 */ addiu $a1, $a1, 1 +/* 07EDD4 800E5924 28A20005 */ slti $v0, $a1, 5 +/* 07EDD8 800E5928 1440FFFA */ bnez $v0, .L800E5914 +/* 07EDDC 800E592C 24630002 */ addiu $v1, $v1, 2 +/* 07EDE0 800E5930 03E00008 */ jr $ra +/* 07EDE4 800E5934 00000000 */ nop + +func_800E5938: +/* 07EDE8 800E5938 3C088011 */ lui $t0, 0x8011 +/* 07EDEC 800E593C 8D08C944 */ lw $t0, -0x36bc($t0) +/* 07EDF0 800E5940 01044023 */ subu $t0, $t0, $a0 +/* 07EDF4 800E5944 05020001 */ bltzl $t0, .L800E594C +/* 07EDF8 800E5948 25080005 */ addiu $t0, $t0, 5 +.L800E594C: +/* 07EDFC 800E594C 00081880 */ sll $v1, $t0, 2 +/* 07EE00 800E5950 3C028011 */ lui $v0, 0x8011 +/* 07EE04 800E5954 00431021 */ addu $v0, $v0, $v1 +/* 07EE08 800E5958 8C42EF28 */ lw $v0, -0x10d8($v0) +/* 07EE0C 800E595C ACA20000 */ sw $v0, ($a1) +/* 07EE10 800E5960 3C028011 */ lui $v0, 0x8011 +/* 07EE14 800E5964 00431021 */ addu $v0, $v0, $v1 +/* 07EE18 800E5968 8C42EF10 */ lw $v0, -0x10f0($v0) +/* 07EE1C 800E596C ACC20000 */ sw $v0, ($a2) +/* 07EE20 800E5970 3C028011 */ lui $v0, 0x8011 +/* 07EE24 800E5974 00431021 */ addu $v0, $v0, $v1 +/* 07EE28 800E5978 8C42EF40 */ lw $v0, -0x10c0($v0) +/* 07EE2C 800E597C ACE20000 */ sw $v0, ($a3) +/* 07EE30 800E5980 00081040 */ sll $v0, $t0, 1 +/* 07EE34 800E5984 3C018011 */ lui $at, 0x8011 +/* 07EE38 800E5988 00220821 */ addu $at, $at, $v0 +/* 07EE3C 800E598C 8422F6B8 */ lh $v0, -0x948($at) +/* 07EE40 800E5990 44820000 */ mtc1 $v0, $f0 +/* 07EE44 800E5994 00000000 */ nop +/* 07EE48 800E5998 03E00008 */ jr $ra +/* 07EE4C 800E599C 46800020 */ cvt.s.w $f0, $f0 + +func_800E59A0: +/* 07EE50 800E59A0 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 07EE54 800E59A4 3C048011 */ lui $a0, 0x8011 +/* 07EE58 800E59A8 2484F250 */ addiu $a0, $a0, -0xdb0 +/* 07EE5C 800E59AC AFBF0010 */ sw $ra, 0x10($sp) +/* 07EE60 800E59B0 0C00A580 */ jal mem_clear +/* 07EE64 800E59B4 24050034 */ addiu $a1, $zero, 0x34 +/* 07EE68 800E59B8 0000382D */ daddu $a3, $zero, $zero +/* 07EE6C 800E59BC 3C068011 */ lui $a2, 0x8011 +/* 07EE70 800E59C0 24C6EF40 */ addiu $a2, $a2, -0x10c0 +/* 07EE74 800E59C4 3C058011 */ lui $a1, 0x8011 +/* 07EE78 800E59C8 24A5EF10 */ addiu $a1, $a1, -0x10f0 +/* 07EE7C 800E59CC 3C048011 */ lui $a0, 0x8011 +/* 07EE80 800E59D0 2484EF28 */ addiu $a0, $a0, -0x10d8 +/* 07EE84 800E59D4 3C038011 */ lui $v1, 0x8011 +/* 07EE88 800E59D8 2463F6B8 */ addiu $v1, $v1, -0x948 +/* 07EE8C 800E59DC 3C018011 */ lui $at, 0x8011 +/* 07EE90 800E59E0 AC20C944 */ sw $zero, -0x36bc($at) +.L800E59E4: +/* 07EE94 800E59E4 A4600000 */ sh $zero, ($v1) +/* 07EE98 800E59E8 AC800000 */ sw $zero, ($a0) +/* 07EE9C 800E59EC ACA00000 */ sw $zero, ($a1) +/* 07EEA0 800E59F0 ACC00000 */ sw $zero, ($a2) +/* 07EEA4 800E59F4 24C60004 */ addiu $a2, $a2, 4 +/* 07EEA8 800E59F8 24A50004 */ addiu $a1, $a1, 4 +/* 07EEAC 800E59FC 24840004 */ addiu $a0, $a0, 4 +/* 07EEB0 800E5A00 24E70001 */ addiu $a3, $a3, 1 +/* 07EEB4 800E5A04 28E20005 */ slti $v0, $a3, 5 +/* 07EEB8 800E5A08 1440FFF6 */ bnez $v0, .L800E59E4 +/* 07EEBC 800E5A0C 24630002 */ addiu $v1, $v1, 2 +/* 07EEC0 800E5A10 8FBF0010 */ lw $ra, 0x10($sp) +/* 07EEC4 800E5A14 3C018011 */ lui $at, 0x8011 +/* 07EEC8 800E5A18 AC20C964 */ sw $zero, -0x369c($at) +/* 07EECC 800E5A1C 3C018011 */ lui $at, 0x8011 +/* 07EED0 800E5A20 AC20C924 */ sw $zero, -0x36dc($at) +/* 07EED4 800E5A24 03E00008 */ jr $ra +/* 07EED8 800E5A28 27BD0018 */ addiu $sp, $sp, 0x18 + +func_800E5A2C: +/* 07EEDC 800E5A2C 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 07EEE0 800E5A30 3C04800B */ lui $a0, 0x800b +/* 07EEE4 800E5A34 24841D80 */ addiu $a0, $a0, 0x1d80 +/* 07EEE8 800E5A38 AFB40020 */ sw $s4, 0x20($sp) +/* 07EEEC 800E5A3C 3C148011 */ lui $s4, 0x8011 +/* 07EEF0 800E5A40 2694EBB0 */ addiu $s4, $s4, -0x1450 +/* 07EEF4 800E5A44 AFB00010 */ sw $s0, 0x10($sp) +/* 07EEF8 800E5A48 3C108011 */ lui $s0, 0x8011 +/* 07EEFC 800E5A4C 2610EFC8 */ addiu $s0, $s0, -0x1038 +/* 07EF00 800E5A50 AFB10014 */ sw $s1, 0x14($sp) +/* 07EF04 800E5A54 3C118011 */ lui $s1, 0x8011 +/* 07EF08 800E5A58 2631F250 */ addiu $s1, $s1, -0xdb0 +/* 07EF0C 800E5A5C AFBF0024 */ sw $ra, 0x24($sp) +/* 07EF10 800E5A60 AFB3001C */ sw $s3, 0x1c($sp) +/* 07EF14 800E5A64 AFB20018 */ sw $s2, 0x18($sp) +/* 07EF18 800E5A68 8E030000 */ lw $v1, ($s0) +/* 07EF1C 800E5A6C 3C020004 */ lui $v0, 4 +/* 07EF20 800E5A70 00621024 */ and $v0, $v1, $v0 +/* 07EF24 800E5A74 14400004 */ bnez $v0, .L800E5A88 +/* 07EF28 800E5A78 3C02DFFF */ lui $v0, 0xdfff +/* 07EF2C 800E5A7C 3442FFFF */ ori $v0, $v0, 0xffff +/* 07EF30 800E5A80 00621024 */ and $v0, $v1, $v0 +/* 07EF34 800E5A84 AE020000 */ sw $v0, ($s0) +.L800E5A88: +/* 07EF38 800E5A88 8E020004 */ lw $v0, 4($s0) +/* 07EF3C 800E5A8C 30421000 */ andi $v0, $v0, 0x1000 +/* 07EF40 800E5A90 10400005 */ beqz $v0, .L800E5AA8 +/* 07EF44 800E5A94 00000000 */ nop +/* 07EF48 800E5A98 0C03971E */ jal func_800E5C78 +/* 07EF4C 800E5A9C 00000000 */ nop +/* 07EF50 800E5AA0 08039716 */ j .L800E5C58 +/* 07EF54 800E5AA4 00000000 */ nop + +.L800E5AA8: +/* 07EF58 800E5AA8 820200C5 */ lb $v0, 0xc5($s0) +/* 07EF5C 800E5AAC 920300C5 */ lbu $v1, 0xc5($s0) +/* 07EF60 800E5AB0 10400008 */ beqz $v0, .L800E5AD4 +/* 07EF64 800E5AB4 2462FFFF */ addiu $v0, $v1, -1 +/* 07EF68 800E5AB8 A20200C5 */ sb $v0, 0xc5($s0) +/* 07EF6C 800E5ABC 00021600 */ sll $v0, $v0, 0x18 +/* 07EF70 800E5AC0 14400004 */ bnez $v0, .L800E5AD4 +/* 07EF74 800E5AC4 00000000 */ nop +/* 07EF78 800E5AC8 94820002 */ lhu $v0, 2($a0) +/* 07EF7C 800E5ACC 34420004 */ ori $v0, $v0, 4 +/* 07EF80 800E5AD0 A4820002 */ sh $v0, 2($a0) +.L800E5AD4: +/* 07EF84 800E5AD4 860200C0 */ lh $v0, 0xc0($s0) +/* 07EF88 800E5AD8 10400011 */ beqz $v0, .L800E5B20 +/* 07EF8C 800E5ADC 960300C0 */ lhu $v1, 0xc0($s0) +/* 07EF90 800E5AE0 C6000070 */ lwc1 $f0, 0x70($s0) +/* 07EF94 800E5AE4 44801000 */ mtc1 $zero, $f2 +/* 07EF98 800E5AE8 00000000 */ nop +/* 07EF9C 800E5AEC 4602003E */ c.le.s $f0, $f2 +/* 07EFA0 800E5AF0 00000000 */ nop +/* 07EFA4 800E5AF4 45000008 */ bc1f .L800E5B18 +/* 07EFA8 800E5AF8 00000000 */ nop +/* 07EFAC 800E5AFC 3C01800F */ lui $at, 0x800f +/* 07EFB0 800E5B00 C4207B90 */ lwc1 $f0, 0x7b90($at) +/* 07EFB4 800E5B04 4600103C */ c.lt.s $f2, $f0 +/* 07EFB8 800E5B08 00000000 */ nop +/* 07EFBC 800E5B0C 45030001 */ bc1tl .L800E5B14 +/* 07EFC0 800E5B10 A60300C2 */ sh $v1, 0xc2($s0) +.L800E5B14: +/* 07EFC4 800E5B14 C6000070 */ lwc1 $f0, 0x70($s0) +.L800E5B18: +/* 07EFC8 800E5B18 3C01800F */ lui $at, 0x800f +/* 07EFCC 800E5B1C E4207B90 */ swc1 $f0, 0x7b90($at) +.L800E5B20: +/* 07EFD0 800E5B20 0C03893E */ jal func_800E24F8 +/* 07EFD4 800E5B24 00000000 */ nop +/* 07EFD8 800E5B28 82220000 */ lb $v0, ($s1) +/* 07EFDC 800E5B2C 92230000 */ lbu $v1, ($s1) +/* 07EFE0 800E5B30 1040000E */ beqz $v0, .L800E5B6C +/* 07EFE4 800E5B34 2462FFFF */ addiu $v0, $v1, -1 +/* 07EFE8 800E5B38 A2220000 */ sb $v0, ($s1) +/* 07EFEC 800E5B3C 00021600 */ sll $v0, $v0, 0x18 +/* 07EFF0 800E5B40 1440000B */ bnez $v0, .L800E5B70 +/* 07EFF4 800E5B44 3C138000 */ lui $s3, 0x8000 +/* 07EFF8 800E5B48 3C03FFFE */ lui $v1, 0xfffe +/* 07EFFC 800E5B4C 3463FFFF */ ori $v1, $v1, 0xffff +/* 07F000 800E5B50 8E020004 */ lw $v0, 4($s0) +/* 07F004 800E5B54 8E240030 */ lw $a0, 0x30($s1) +/* 07F008 800E5B58 00431024 */ and $v0, $v0, $v1 +/* 07F00C 800E5B5C 10800004 */ beqz $a0, .L800E5B70 +/* 07F010 800E5B60 AE020004 */ sw $v0, 4($s0) +/* 07F014 800E5B64 0C05271B */ jal stop_sound +/* 07F018 800E5B68 00000000 */ nop +.L800E5B6C: +/* 07F01C 800E5B6C 3C138000 */ lui $s3, 0x8000 +.L800E5B70: +/* 07F020 800E5B70 3C11800F */ lui $s1, 0x800f +/* 07F024 800E5B74 26317C8C */ addiu $s1, $s1, 0x7c8c +/* 07F028 800E5B78 3C128011 */ lui $s2, 0x8011 +/* 07F02C 800E5B7C 2652C924 */ addiu $s2, $s2, -0x36dc +.L800E5B80: +/* 07F030 800E5B80 820200B4 */ lb $v0, 0xb4($s0) +/* 07F034 800E5B84 2C420003 */ sltiu $v0, $v0, 3 +/* 07F038 800E5B88 10400015 */ beqz $v0, .L800E5BE0 +/* 07F03C 800E5B8C 00000000 */ nop +/* 07F040 800E5B90 8E020000 */ lw $v0, ($s0) +/* 07F044 800E5B94 30422000 */ andi $v0, $v0, 0x2000 +/* 07F048 800E5B98 14400004 */ bnez $v0, .L800E5BAC +/* 07F04C 800E5B9C 0000182D */ daddu $v1, $zero, $zero +/* 07F050 800E5BA0 0C010C77 */ jal func_800431DC +/* 07F054 800E5BA4 00000000 */ nop +/* 07F058 800E5BA8 0040182D */ daddu $v1, $v0, $zero +.L800E5BAC: +/* 07F05C 800E5BAC 82820000 */ lb $v0, ($s4) +/* 07F060 800E5BB0 14400009 */ bnez $v0, .L800E5BD8 +/* 07F064 800E5BB4 00000000 */ nop +/* 07F068 800E5BB8 8E020000 */ lw $v0, ($s0) +/* 07F06C 800E5BBC 30420020 */ andi $v0, $v0, 0x20 +/* 07F070 800E5BC0 14400005 */ bnez $v0, .L800E5BD8 +/* 07F074 800E5BC4 00000000 */ nop +/* 07F078 800E5BC8 10600003 */ beqz $v1, .L800E5BD8 +/* 07F07C 800E5BCC 00000000 */ nop +/* 07F080 800E5BD0 0C039769 */ jal set_action_state +/* 07F084 800E5BD4 2404000C */ addiu $a0, $zero, 0xc +.L800E5BD8: +/* 07F088 800E5BD8 0C03989A */ jal check_input_spin +/* 07F08C 800E5BDC 00000000 */ nop +.L800E5BE0: +/* 07F090 800E5BE0 8E020000 */ lw $v0, ($s0) +/* 07F094 800E5BE4 00531024 */ and $v0, $v0, $s3 +/* 07F098 800E5BE8 10400011 */ beqz $v0, .L800E5C30 +/* 07F09C 800E5BEC 00000000 */ nop +/* 07F0A0 800E5BF0 820200B4 */ lb $v0, 0xb4($s0) +/* 07F0A4 800E5BF4 00021100 */ sll $v0, $v0, 4 +/* 07F0A8 800E5BF8 00511021 */ addu $v0, $v0, $s1 +/* 07F0AC 800E5BFC 8C440004 */ lw $a0, 4($v0) +/* 07F0B0 800E5C00 1080000B */ beqz $a0, .L800E5C30 +/* 07F0B4 800E5C04 00000000 */ nop +/* 07F0B8 800E5C08 8E420000 */ lw $v0, ($s2) +/* 07F0BC 800E5C0C 10820008 */ beq $a0, $v0, .L800E5C30 +/* 07F0C0 800E5C10 3C06802B */ lui $a2, 0x802b +/* 07F0C4 800E5C14 820200B4 */ lb $v0, 0xb4($s0) +/* 07F0C8 800E5C18 00021100 */ sll $v0, $v0, 4 +/* 07F0CC 800E5C1C 00511021 */ addu $v0, $v0, $s1 +/* 07F0D0 800E5C20 8C450008 */ lw $a1, 8($v0) +/* 07F0D4 800E5C24 34C66000 */ ori $a2, $a2, 0x6000 +/* 07F0D8 800E5C28 0C00A5CF */ jal dma_copy +/* 07F0DC 800E5C2C AE440000 */ sw $a0, ($s2) +.L800E5C30: +/* 07F0E0 800E5C30 820200B4 */ lb $v0, 0xb4($s0) +/* 07F0E4 800E5C34 00021100 */ sll $v0, $v0, 4 +/* 07F0E8 800E5C38 00511021 */ addu $v0, $v0, $s1 +/* 07F0EC 800E5C3C 8C420000 */ lw $v0, ($v0) +/* 07F0F0 800E5C40 0040F809 */ jalr $v0 +/* 07F0F4 800E5C44 00000000 */ nop +/* 07F0F8 800E5C48 8E020000 */ lw $v0, ($s0) +/* 07F0FC 800E5C4C 00531024 */ and $v0, $v0, $s3 +/* 07F100 800E5C50 1440FFCB */ bnez $v0, .L800E5B80 +/* 07F104 800E5C54 00000000 */ nop +.L800E5C58: +/* 07F108 800E5C58 8FBF0024 */ lw $ra, 0x24($sp) +/* 07F10C 800E5C5C 8FB40020 */ lw $s4, 0x20($sp) +/* 07F110 800E5C60 8FB3001C */ lw $s3, 0x1c($sp) +/* 07F114 800E5C64 8FB20018 */ lw $s2, 0x18($sp) +/* 07F118 800E5C68 8FB10014 */ lw $s1, 0x14($sp) +/* 07F11C 800E5C6C 8FB00010 */ lw $s0, 0x10($sp) +/* 07F120 800E5C70 03E00008 */ jr $ra +/* 07F124 800E5C74 27BD0028 */ addiu $sp, $sp, 0x28 + +func_800E5C78: +/* 07F128 800E5C78 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 07F12C 800E5C7C AFB00010 */ sw $s0, 0x10($sp) +/* 07F130 800E5C80 3C108011 */ lui $s0, 0x8011 +/* 07F134 800E5C84 2610EFC8 */ addiu $s0, $s0, -0x1038 +/* 07F138 800E5C88 AFBF0020 */ sw $ra, 0x20($sp) +/* 07F13C 800E5C8C AFB3001C */ sw $s3, 0x1c($sp) +/* 07F140 800E5C90 AFB20018 */ sw $s2, 0x18($sp) +/* 07F144 800E5C94 0C03893E */ jal func_800E24F8 +/* 07F148 800E5C98 AFB10014 */ sw $s1, 0x14($sp) +/* 07F14C 800E5C9C 3C138000 */ lui $s3, 0x8000 +/* 07F150 800E5CA0 3C11800F */ lui $s1, 0x800f +/* 07F154 800E5CA4 26317C8C */ addiu $s1, $s1, 0x7c8c +/* 07F158 800E5CA8 3C128011 */ lui $s2, 0x8011 +/* 07F15C 800E5CAC 2652C924 */ addiu $s2, $s2, -0x36dc +.L800E5CB0: +/* 07F160 800E5CB0 8E020000 */ lw $v0, ($s0) +/* 07F164 800E5CB4 30420020 */ andi $v0, $v0, 0x20 +/* 07F168 800E5CB8 14400007 */ bnez $v0, .L800E5CD8 +/* 07F16C 800E5CBC 00000000 */ nop +/* 07F170 800E5CC0 0C010C77 */ jal func_800431DC +/* 07F174 800E5CC4 00000000 */ nop +/* 07F178 800E5CC8 10400003 */ beqz $v0, .L800E5CD8 +/* 07F17C 800E5CCC 00000000 */ nop +/* 07F180 800E5CD0 0C039769 */ jal set_action_state +/* 07F184 800E5CD4 2404000C */ addiu $a0, $zero, 0xc +.L800E5CD8: +/* 07F188 800E5CD8 8E020000 */ lw $v0, ($s0) +/* 07F18C 800E5CDC 00531024 */ and $v0, $v0, $s3 +/* 07F190 800E5CE0 10400014 */ beqz $v0, .L800E5D34 +/* 07F194 800E5CE4 00000000 */ nop +/* 07F198 800E5CE8 820200B4 */ lb $v0, 0xb4($s0) +/* 07F19C 800E5CEC 00021100 */ sll $v0, $v0, 4 +/* 07F1A0 800E5CF0 00512021 */ addu $a0, $v0, $s1 +/* 07F1A4 800E5CF4 8082000C */ lb $v0, 0xc($a0) +/* 07F1A8 800E5CF8 10400017 */ beqz $v0, .L800E5D58 +/* 07F1AC 800E5CFC 00000000 */ nop +/* 07F1B0 800E5D00 8C840004 */ lw $a0, 4($a0) +/* 07F1B4 800E5D04 1080000B */ beqz $a0, .L800E5D34 +/* 07F1B8 800E5D08 00000000 */ nop +/* 07F1BC 800E5D0C 8E420000 */ lw $v0, ($s2) +/* 07F1C0 800E5D10 10820008 */ beq $a0, $v0, .L800E5D34 +/* 07F1C4 800E5D14 3C06802B */ lui $a2, 0x802b +/* 07F1C8 800E5D18 820200B4 */ lb $v0, 0xb4($s0) +/* 07F1CC 800E5D1C 00021100 */ sll $v0, $v0, 4 +/* 07F1D0 800E5D20 00511021 */ addu $v0, $v0, $s1 +/* 07F1D4 800E5D24 8C450008 */ lw $a1, 8($v0) +/* 07F1D8 800E5D28 34C66000 */ ori $a2, $a2, 0x6000 +/* 07F1DC 800E5D2C 0C00A5CF */ jal dma_copy +/* 07F1E0 800E5D30 AE440000 */ sw $a0, ($s2) +.L800E5D34: +/* 07F1E4 800E5D34 820200B4 */ lb $v0, 0xb4($s0) +/* 07F1E8 800E5D38 00021100 */ sll $v0, $v0, 4 +/* 07F1EC 800E5D3C 00511821 */ addu $v1, $v0, $s1 +/* 07F1F0 800E5D40 8062000C */ lb $v0, 0xc($v1) +/* 07F1F4 800E5D44 10400004 */ beqz $v0, .L800E5D58 +/* 07F1F8 800E5D48 00000000 */ nop +/* 07F1FC 800E5D4C 8C620000 */ lw $v0, ($v1) +/* 07F200 800E5D50 0040F809 */ jalr $v0 +/* 07F204 800E5D54 00000000 */ nop +.L800E5D58: +/* 07F208 800E5D58 8E020000 */ lw $v0, ($s0) +/* 07F20C 800E5D5C 00531024 */ and $v0, $v0, $s3 +/* 07F210 800E5D60 1440FFD3 */ bnez $v0, .L800E5CB0 +/* 07F214 800E5D64 00000000 */ nop +/* 07F218 800E5D68 0C03990A */ jal func_800E6428 +/* 07F21C 800E5D6C 00000000 */ nop +/* 07F220 800E5D70 8E020004 */ lw $v0, 4($s0) +/* 07F224 800E5D74 30422000 */ andi $v0, $v0, 0x2000 +/* 07F228 800E5D78 10400003 */ beqz $v0, .L800E5D88 +/* 07F22C 800E5D7C 00000000 */ nop +/* 07F230 800E5D80 0C039940 */ jal func_800E6500 +/* 07F234 800E5D84 00000000 */ nop +.L800E5D88: +/* 07F238 800E5D88 8FBF0020 */ lw $ra, 0x20($sp) +/* 07F23C 800E5D8C 8FB3001C */ lw $s3, 0x1c($sp) +/* 07F240 800E5D90 8FB20018 */ lw $s2, 0x18($sp) +/* 07F244 800E5D94 8FB10014 */ lw $s1, 0x14($sp) +/* 07F248 800E5D98 8FB00010 */ lw $s0, 0x10($sp) +/* 07F24C 800E5D9C 03E00008 */ jr $ra +/* 07F250 800E5DA0 27BD0028 */ addiu $sp, $sp, 0x28 + +set_action_state: +/* 07F254 800E5DA4 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 07F258 800E5DA8 AFB00010 */ sw $s0, 0x10($sp) +/* 07F25C 800E5DAC 3C108011 */ lui $s0, 0x8011 +/* 07F260 800E5DB0 2610EFC8 */ addiu $s0, $s0, -0x1038 +/* 07F264 800E5DB4 AFBF0018 */ sw $ra, 0x18($sp) +/* 07F268 800E5DB8 AFB10014 */ sw $s1, 0x14($sp) +/* 07F26C 800E5DBC 8E030000 */ lw $v1, ($s0) +/* 07F270 800E5DC0 30620200 */ andi $v0, $v1, 0x200 +/* 07F274 800E5DC4 10400005 */ beqz $v0, .L800E5DDC +/* 07F278 800E5DC8 0080882D */ daddu $s1, $a0, $zero +/* 07F27C 800E5DCC 2402FDFF */ addiu $v0, $zero, -0x201 +/* 07F280 800E5DD0 00621024 */ and $v0, $v1, $v0 +/* 07F284 800E5DD4 0C038069 */ jal func_800E01A4 +/* 07F288 800E5DD8 AE020000 */ sw $v0, ($s0) +.L800E5DDC: +/* 07F28C 800E5DDC 8E040004 */ lw $a0, 4($s0) +/* 07F290 800E5DE0 30824000 */ andi $v0, $a0, 0x4000 +/* 07F294 800E5DE4 1040000C */ beqz $v0, .L800E5E18 +/* 07F298 800E5DE8 2A22000C */ slti $v0, $s1, 0xc +/* 07F29C 800E5DEC 10400059 */ beqz $v0, .L800E5F54 +/* 07F2A0 800E5DF0 00000000 */ nop +/* 07F2A4 800E5DF4 06200057 */ bltz $s1, .L800E5F54 +/* 07F2A8 800E5DF8 3C038000 */ lui $v1, 0x8000 +/* 07F2AC 800E5DFC 920200B4 */ lbu $v0, 0xb4($s0) +/* 07F2B0 800E5E00 A20200B5 */ sb $v0, 0xb5($s0) +/* 07F2B4 800E5E04 8E020000 */ lw $v0, ($s0) +/* 07F2B8 800E5E08 A21100B4 */ sb $s1, 0xb4($s0) +/* 07F2BC 800E5E0C 00431025 */ or $v0, $v0, $v1 +/* 07F2C0 800E5E10 080397D5 */ j .L800E5F54 +/* 07F2C4 800E5E14 AE020000 */ sw $v0, ($s0) + +.L800E5E18: +/* 07F2C8 800E5E18 24020015 */ addiu $v0, $zero, 0x15 +/* 07F2CC 800E5E1C 12220003 */ beq $s1, $v0, .L800E5E2C +/* 07F2D0 800E5E20 24020017 */ addiu $v0, $zero, 0x17 +/* 07F2D4 800E5E24 1622001A */ bne $s1, $v0, .L800E5E90 +/* 07F2D8 800E5E28 24020011 */ addiu $v0, $zero, 0x11 +.L800E5E2C: +/* 07F2DC 800E5E2C 820300BF */ lb $v1, 0xbf($s0) +/* 07F2E0 800E5E30 24020003 */ addiu $v0, $zero, 3 +/* 07F2E4 800E5E34 50620001 */ beql $v1, $v0, .L800E5E3C +/* 07F2E8 800E5E38 24110015 */ addiu $s1, $zero, 0x15 +.L800E5E3C: +/* 07F2EC 800E5E3C 3C028011 */ lui $v0, 0x8011 +/* 07F2F0 800E5E40 2442F290 */ addiu $v0, $v0, -0xd70 +/* 07F2F4 800E5E44 90430012 */ lbu $v1, 0x12($v0) +/* 07F2F8 800E5E48 2462FFF9 */ addiu $v0, $v1, -7 +/* 07F2FC 800E5E4C 2C420002 */ sltiu $v0, $v0, 2 +/* 07F300 800E5E50 14400005 */ bnez $v0, .L800E5E68 +/* 07F304 800E5E54 00031600 */ sll $v0, $v1, 0x18 +/* 07F308 800E5E58 00021603 */ sra $v0, $v0, 0x18 +/* 07F30C 800E5E5C 24030004 */ addiu $v1, $zero, 4 +/* 07F310 800E5E60 1443000B */ bne $v0, $v1, .L800E5E90 +/* 07F314 800E5E64 24020011 */ addiu $v0, $zero, 0x11 +.L800E5E68: +/* 07F318 800E5E68 3C028011 */ lui $v0, 0x8011 +/* 07F31C 800E5E6C 8042EBB0 */ lb $v0, -0x1450($v0) +/* 07F320 800E5E70 10400006 */ beqz $v0, .L800E5E8C +/* 07F324 800E5E74 34830004 */ ori $v1, $a0, 4 +/* 07F328 800E5E78 8E020000 */ lw $v0, ($s0) +/* 07F32C 800E5E7C AE030004 */ sw $v1, 4($s0) +/* 07F330 800E5E80 34420800 */ ori $v0, $v0, 0x800 +/* 07F334 800E5E84 080397D5 */ j .L800E5F54 +/* 07F338 800E5E88 AE020000 */ sw $v0, ($s0) + +.L800E5E8C: +/* 07F33C 800E5E8C 24020011 */ addiu $v0, $zero, 0x11 +.L800E5E90: +/* 07F340 800E5E90 16220007 */ bne $s1, $v0, .L800E5EB0 +/* 07F344 800E5E94 2403BFFF */ addiu $v1, $zero, -0x4001 +/* 07F348 800E5E98 8E020000 */ lw $v0, ($s0) +/* 07F34C 800E5E9C A6000012 */ sh $zero, 0x12($s0) +/* 07F350 800E5EA0 34420010 */ ori $v0, $v0, 0x10 +/* 07F354 800E5EA4 AE020000 */ sw $v0, ($s0) +/* 07F358 800E5EA8 00431024 */ and $v0, $v0, $v1 +/* 07F35C 800E5EAC AE020000 */ sw $v0, ($s0) +.L800E5EB0: +/* 07F360 800E5EB0 920200B4 */ lbu $v0, 0xb4($s0) +/* 07F364 800E5EB4 A20200B5 */ sb $v0, 0xb5($s0) +/* 07F368 800E5EB8 2402001F */ addiu $v0, $zero, 0x1f +/* 07F36C 800E5EBC 52220001 */ beql $s1, $v0, .L800E5EC4 +/* 07F370 800E5EC0 A20000B5 */ sb $zero, 0xb5($s0) +.L800E5EC4: +/* 07F374 800E5EC4 2402001B */ addiu $v0, $zero, 0x1b +/* 07F378 800E5EC8 16220004 */ bne $s1, $v0, .L800E5EDC +/* 07F37C 800E5ECC 00000000 */ nop +/* 07F380 800E5ED0 8E020004 */ lw $v0, 4($s0) +/* 07F384 800E5ED4 34420004 */ ori $v0, $v0, 4 +/* 07F388 800E5ED8 AE020004 */ sw $v0, 4($s0) +.L800E5EDC: +/* 07F38C 800E5EDC 8E030000 */ lw $v1, ($s0) +/* 07F390 800E5EE0 3C028000 */ lui $v0, 0x8000 +/* 07F394 800E5EE4 A21100B4 */ sb $s1, 0xb4($s0) +/* 07F398 800E5EE8 00622825 */ or $a1, $v1, $v0 +/* 07F39C 800E5EEC 820300B4 */ lb $v1, 0xb4($s0) +/* 07F3A0 800E5EF0 2402001A */ addiu $v0, $zero, 0x1a +/* 07F3A4 800E5EF4 10620017 */ beq $v1, $v0, .L800E5F54 +/* 07F3A8 800E5EF8 AE050000 */ sw $a1, ($s0) +/* 07F3AC 800E5EFC 3C02FFFD */ lui $v0, 0xfffd +/* 07F3B0 800E5F00 3442FFFF */ ori $v0, $v0, 0xffff +/* 07F3B4 800E5F04 3C04FFFE */ lui $a0, 0xfffe +/* 07F3B8 800E5F08 3484FFFF */ ori $a0, $a0, 0xffff +/* 07F3BC 800E5F0C 00A21024 */ and $v0, $a1, $v0 +/* 07F3C0 800E5F10 3C038011 */ lui $v1, 0x8011 +/* 07F3C4 800E5F14 2463F250 */ addiu $v1, $v1, -0xdb0 +/* 07F3C8 800E5F18 AE020000 */ sw $v0, ($s0) +/* 07F3CC 800E5F1C 8E020004 */ lw $v0, 4($s0) +/* 07F3D0 800E5F20 8C630030 */ lw $v1, 0x30($v1) +/* 07F3D4 800E5F24 00441024 */ and $v0, $v0, $a0 +/* 07F3D8 800E5F28 10600003 */ beqz $v1, .L800E5F38 +/* 07F3DC 800E5F2C AE020004 */ sw $v0, 4($s0) +/* 07F3E0 800E5F30 0C05271B */ jal stop_sound +/* 07F3E4 800E5F34 0060202D */ daddu $a0, $v1, $zero +.L800E5F38: +/* 07F3E8 800E5F38 8E0200D8 */ lw $v0, 0xd8($s0) +/* 07F3EC 800E5F3C 10400005 */ beqz $v0, .L800E5F54 +/* 07F3F0 800E5F40 00000000 */ nop +/* 07F3F4 800E5F44 8C43000C */ lw $v1, 0xc($v0) +/* 07F3F8 800E5F48 2402000A */ addiu $v0, $zero, 0xa +/* 07F3FC 800E5F4C AC620024 */ sw $v0, 0x24($v1) +/* 07F400 800E5F50 AE0000D8 */ sw $zero, 0xd8($s0) +.L800E5F54: +/* 07F404 800E5F54 8FBF0018 */ lw $ra, 0x18($sp) +/* 07F408 800E5F58 8FB10014 */ lw $s1, 0x14($sp) +/* 07F40C 800E5F5C 8FB00010 */ lw $s0, 0x10($sp) +/* 07F410 800E5F60 03E00008 */ jr $ra +/* 07F414 800E5F64 27BD0020 */ addiu $sp, $sp, 0x20 + +update_locomotion_state: +/* 07F418 800E5F68 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 07F41C 800E5F6C AFB00010 */ sw $s0, 0x10($sp) +/* 07F420 800E5F70 3C108011 */ lui $s0, 0x8011 +/* 07F424 800E5F74 2610EFC8 */ addiu $s0, $s0, -0x1038 +/* 07F428 800E5F78 AFBF0014 */ sw $ra, 0x14($sp) +/* 07F42C 800E5F7C 0C03A752 */ jal is_ability_active +/* 07F430 800E5F80 2404000B */ addiu $a0, $zero, 0xb +/* 07F434 800E5F84 1440000C */ bnez $v0, .L800E5FB8 +/* 07F438 800E5F88 24040001 */ addiu $a0, $zero, 1 +/* 07F43C 800E5F8C 8E0200E8 */ lw $v0, 0xe8($s0) +/* 07F440 800E5F90 00420018 */ mult $v0, $v0 +/* 07F444 800E5F94 00001812 */ mflo $v1 +/* 07F448 800E5F98 8E0200EC */ lw $v0, 0xec($s0) +/* 07F44C 800E5F9C 00000000 */ nop +/* 07F450 800E5FA0 00420018 */ mult $v0, $v0 +/* 07F454 800E5FA4 00003012 */ mflo $a2 +/* 07F458 800E5FA8 00661021 */ addu $v0, $v1, $a2 +/* 07F45C 800E5FAC 28420BD2 */ slti $v0, $v0, 0xbd2 +/* 07F460 800E5FB0 50400001 */ beql $v0, $zero, .L800E5FB8 +/* 07F464 800E5FB4 24040002 */ addiu $a0, $zero, 2 +.L800E5FB8: +/* 07F468 800E5FB8 0C039769 */ jal set_action_state +/* 07F46C 800E5FBC 00000000 */ nop +/* 07F470 800E5FC0 8FBF0014 */ lw $ra, 0x14($sp) +/* 07F474 800E5FC4 8FB00010 */ lw $s0, 0x10($sp) +/* 07F478 800E5FC8 03E00008 */ jr $ra +/* 07F47C 800E5FCC 27BD0018 */ addiu $sp, $sp, 0x18 + +start_falling: +/* 07F480 800E5FD0 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 07F484 800E5FD4 AFBF0010 */ sw $ra, 0x10($sp) +/* 07F488 800E5FD8 0C039769 */ jal set_action_state +/* 07F48C 800E5FDC 24040008 */ addiu $a0, $zero, 8 +/* 07F490 800E5FE0 3C013DEA */ lui $at, 0x3dea +/* 07F494 800E5FE4 3421161E */ ori $at, $at, 0x161e +/* 07F498 800E5FE8 44810000 */ mtc1 $at, $f0 +/* 07F49C 800E5FEC 3C01BE92 */ lui $at, 0xbe92 +/* 07F4A0 800E5FF0 3421FEC5 */ ori $at, $at, 0xfec5 +/* 07F4A4 800E5FF4 44811000 */ mtc1 $at, $f2 +/* 07F4A8 800E5FF8 3C01BE3A */ lui $at, 0xbe3a +/* 07F4AC 800E5FFC 3421ACDA */ ori $at, $at, 0xacda +/* 07F4B0 800E6000 44812000 */ mtc1 $at, $f4 +/* 07F4B4 800E6004 3C013C3C */ lui $at, 0x3c3c +/* 07F4B8 800E6008 3421BE62 */ ori $at, $at, 0xbe62 +/* 07F4BC 800E600C 44813000 */ mtc1 $at, $f6 +/* 07F4C0 800E6010 3C028011 */ lui $v0, 0x8011 +/* 07F4C4 800E6014 2442EFC8 */ addiu $v0, $v0, -0x1038 +/* 07F4C8 800E6018 E4400070 */ swc1 $f0, 0x70($v0) +/* 07F4CC 800E601C E4420074 */ swc1 $f2, 0x74($v0) +/* 07F4D0 800E6020 E4440078 */ swc1 $f4, 0x78($v0) +/* 07F4D4 800E6024 E446007C */ swc1 $f6, 0x7c($v0) +/* 07F4D8 800E6028 8FBF0010 */ lw $ra, 0x10($sp) +/* 07F4DC 800E602C 03E00008 */ jr $ra +/* 07F4E0 800E6030 27BD0018 */ addiu $sp, $sp, 0x18 + +start_bounce_a: +/* 07F4E4 800E6034 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 07F4E8 800E6038 AFBF0010 */ sw $ra, 0x10($sp) +/* 07F4EC 800E603C 0C039769 */ jal set_action_state +/* 07F4F0 800E6040 24040004 */ addiu $a0, $zero, 4 +/* 07F4F4 800E6044 3C014120 */ lui $at, 0x4120 +/* 07F4F8 800E6048 44810000 */ mtc1 $at, $f0 +/* 07F4FC 800E604C 3C01C000 */ lui $at, 0xc000 +/* 07F500 800E6050 44811000 */ mtc1 $at, $f2 +/* 07F504 800E6054 3C013F4C */ lui $at, 0x3f4c +/* 07F508 800E6058 3421CCCD */ ori $at, $at, 0xcccd +/* 07F50C 800E605C 44812000 */ mtc1 $at, $f4 +/* 07F510 800E6060 3C01BF40 */ lui $at, 0xbf40 +/* 07F514 800E6064 44813000 */ mtc1 $at, $f6 +/* 07F518 800E6068 3C028011 */ lui $v0, 0x8011 +/* 07F51C 800E606C 2442EFC8 */ addiu $v0, $v0, -0x1038 +/* 07F520 800E6070 E4400070 */ swc1 $f0, 0x70($v0) +/* 07F524 800E6074 E4420074 */ swc1 $f2, 0x74($v0) +/* 07F528 800E6078 E4440078 */ swc1 $f4, 0x78($v0) +/* 07F52C 800E607C E446007C */ swc1 $f6, 0x7c($v0) +/* 07F530 800E6080 8FBF0010 */ lw $ra, 0x10($sp) +/* 07F534 800E6084 03E00008 */ jr $ra +/* 07F538 800E6088 27BD0018 */ addiu $sp, $sp, 0x18 + +start_bounce_b: +/* 07F53C 800E608C 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 07F540 800E6090 AFBF0010 */ sw $ra, 0x10($sp) +/* 07F544 800E6094 0C039769 */ jal set_action_state +/* 07F548 800E6098 24040004 */ addiu $a0, $zero, 4 +/* 07F54C 800E609C 3C048011 */ lui $a0, 0x8011 +/* 07F550 800E60A0 2484EFC8 */ addiu $a0, $a0, -0x1038 +/* 07F554 800E60A4 3C014100 */ lui $at, 0x4100 +/* 07F558 800E60A8 44810000 */ mtc1 $at, $f0 +/* 07F55C 800E60AC 3C01BF80 */ lui $at, 0xbf80 +/* 07F560 800E60B0 44811000 */ mtc1 $at, $f2 +/* 07F564 800E60B4 8C820000 */ lw $v0, ($a0) +/* 07F568 800E60B8 3C030080 */ lui $v1, 0x80 +/* 07F56C 800E60BC AC800078 */ sw $zero, 0x78($a0) +/* 07F570 800E60C0 AC80007C */ sw $zero, 0x7c($a0) +/* 07F574 800E60C4 00431025 */ or $v0, $v0, $v1 +/* 07F578 800E60C8 E4800070 */ swc1 $f0, 0x70($a0) +/* 07F57C 800E60CC E4820074 */ swc1 $f2, 0x74($a0) +/* 07F580 800E60D0 AC820000 */ sw $v0, ($a0) +/* 07F584 800E60D4 8FBF0010 */ lw $ra, 0x10($sp) +/* 07F588 800E60D8 03E00008 */ jr $ra +/* 07F58C 800E60DC 27BD0018 */ addiu $sp, $sp, 0x18 + +check_input_hammer: +/* 07F590 800E60E0 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 07F594 800E60E4 3C038011 */ lui $v1, 0x8011 +/* 07F598 800E60E8 2463EFC8 */ addiu $v1, $v1, -0x1038 +/* 07F59C 800E60EC AFBF0010 */ sw $ra, 0x10($sp) +/* 07F5A0 800E60F0 8C6200E0 */ lw $v0, 0xe0($v1) +/* 07F5A4 800E60F4 3C048011 */ lui $a0, 0x8011 +/* 07F5A8 800E60F8 2484F290 */ addiu $a0, $a0, -0xd70 +/* 07F5AC 800E60FC 30424000 */ andi $v0, $v0, 0x4000 +/* 07F5B0 800E6100 10400014 */ beqz $v0, .L800E6154 +/* 07F5B4 800E6104 0000102D */ daddu $v0, $zero, $zero +/* 07F5B8 800E6108 8C620000 */ lw $v0, ($v1) +/* 07F5BC 800E610C 30420004 */ andi $v0, $v0, 4 +/* 07F5C0 800E6110 14400010 */ bnez $v0, .L800E6154 +/* 07F5C4 800E6114 0000102D */ daddu $v0, $zero, $zero +/* 07F5C8 800E6118 3C038011 */ lui $v1, 0x8011 +/* 07F5CC 800E611C 8063EBB0 */ lb $v1, -0x1450($v1) +/* 07F5D0 800E6120 24020001 */ addiu $v0, $zero, 1 +/* 07F5D4 800E6124 14620004 */ bne $v1, $v0, .L800E6138 +/* 07F5D8 800E6128 24020006 */ addiu $v0, $zero, 6 +/* 07F5DC 800E612C 80830012 */ lb $v1, 0x12($a0) +/* 07F5E0 800E6130 10620008 */ beq $v1, $v0, .L800E6154 +/* 07F5E4 800E6134 0000102D */ daddu $v0, $zero, $zero +.L800E6138: +/* 07F5E8 800E6138 80830001 */ lb $v1, 1($a0) +/* 07F5EC 800E613C 2402FFFF */ addiu $v0, $zero, -1 +/* 07F5F0 800E6140 10620004 */ beq $v1, $v0, .L800E6154 +/* 07F5F4 800E6144 0000102D */ daddu $v0, $zero, $zero +/* 07F5F8 800E6148 0C039769 */ jal set_action_state +/* 07F5FC 800E614C 24040012 */ addiu $a0, $zero, 0x12 +/* 07F600 800E6150 24020001 */ addiu $v0, $zero, 1 +.L800E6154: +/* 07F604 800E6154 8FBF0010 */ lw $ra, 0x10($sp) +/* 07F608 800E6158 03E00008 */ jr $ra +/* 07F60C 800E615C 27BD0018 */ addiu $sp, $sp, 0x18 + +check_input_jump: +/* 07F610 800E6160 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 07F614 800E6164 AFB10014 */ sw $s1, 0x14($sp) +/* 07F618 800E6168 3C118011 */ lui $s1, 0x8011 +/* 07F61C 800E616C 2631EFC8 */ addiu $s1, $s1, -0x1038 +/* 07F620 800E6170 AFBF0018 */ sw $ra, 0x18($sp) +/* 07F624 800E6174 AFB00010 */ sw $s0, 0x10($sp) +/* 07F628 800E6178 8E2200E0 */ lw $v0, 0xe0($s1) +/* 07F62C 800E617C 3C108016 */ lui $s0, 0x8016 +/* 07F630 800E6180 2610A550 */ addiu $s0, $s0, -0x5ab0 +/* 07F634 800E6184 30428000 */ andi $v0, $v0, 0x8000 +/* 07F638 800E6188 10400032 */ beqz $v0, .L800E6254 +/* 07F63C 800E618C 0000102D */ daddu $v0, $zero, $zero +/* 07F640 800E6190 96040002 */ lhu $a0, 2($s0) +/* 07F644 800E6194 0C016F6A */ jal get_collider_type_by_id +/* 07F648 800E6198 00000000 */ nop +/* 07F64C 800E619C 24030005 */ addiu $v1, $zero, 5 +/* 07F650 800E61A0 14430007 */ bne $v0, $v1, .L800E61C0 +/* 07F654 800E61A4 00000000 */ nop +/* 07F658 800E61A8 0C039178 */ jal func_800E45E0 +/* 07F65C 800E61AC 00000000 */ nop +/* 07F660 800E61B0 10400003 */ beqz $v0, .L800E61C0 +/* 07F664 800E61B4 00000000 */ nop +.L800E61B8: +/* 07F668 800E61B8 08039895 */ j .L800E6254 +/* 07F66C 800E61BC 0000102D */ daddu $v0, $zero, $zero + +.L800E61C0: +/* 07F670 800E61C0 86020016 */ lh $v0, 0x16($s0) +/* 07F674 800E61C4 14400023 */ bnez $v0, .L800E6254 +/* 07F678 800E61C8 0000102D */ daddu $v0, $zero, $zero +/* 07F67C 800E61CC 8E220004 */ lw $v0, 4($s1) +/* 07F680 800E61D0 30420030 */ andi $v0, $v0, 0x30 +/* 07F684 800E61D4 1440001F */ bnez $v0, .L800E6254 +/* 07F688 800E61D8 0000102D */ daddu $v0, $zero, $zero +/* 07F68C 800E61DC 2402FFFF */ addiu $v0, $zero, -1 +/* 07F690 800E61E0 8604000A */ lh $a0, 0xa($s0) +/* 07F694 800E61E4 9603000A */ lhu $v1, 0xa($s0) +/* 07F698 800E61E8 10820017 */ beq $a0, $v0, .L800E6248 +/* 07F69C 800E61EC 30624000 */ andi $v0, $v1, 0x4000 +/* 07F6A0 800E61F0 10400015 */ beqz $v0, .L800E6248 +/* 07F6A4 800E61F4 00000000 */ nop +/* 07F6A8 800E61F8 0C04417A */ jal get_entity_by_index +/* 07F6AC 800E61FC 00000000 */ nop +/* 07F6B0 800E6200 0040182D */ daddu $v1, $v0, $zero +/* 07F6B4 800E6204 8C440000 */ lw $a0, ($v0) +/* 07F6B8 800E6208 30821000 */ andi $v0, $a0, 0x1000 +/* 07F6BC 800E620C 1040000E */ beqz $v0, .L800E6248 +/* 07F6C0 800E6210 00000000 */ nop +/* 07F6C4 800E6214 8C620028 */ lw $v0, 0x28($v1) +/* 07F6C8 800E6218 10400003 */ beqz $v0, .L800E6228 +/* 07F6CC 800E621C 30824000 */ andi $v0, $a0, 0x4000 +/* 07F6D0 800E6220 1040000C */ beqz $v0, .L800E6254 +/* 07F6D4 800E6224 0000102D */ daddu $v0, $zero, $zero +.L800E6228: +/* 07F6D8 800E6228 9063000A */ lbu $v1, 0xa($v1) +/* 07F6DC 800E622C 24020039 */ addiu $v0, $zero, 0x39 +/* 07F6E0 800E6230 1062FFE1 */ beq $v1, $v0, .L800E61B8 +/* 07F6E4 800E6234 24020035 */ addiu $v0, $zero, 0x35 +/* 07F6E8 800E6238 1062FFDF */ beq $v1, $v0, .L800E61B8 +/* 07F6EC 800E623C 24020036 */ addiu $v0, $zero, 0x36 +/* 07F6F0 800E6240 10620004 */ beq $v1, $v0, .L800E6254 +/* 07F6F4 800E6244 0000102D */ daddu $v0, $zero, $zero +.L800E6248: +/* 07F6F8 800E6248 0C039769 */ jal set_action_state +/* 07F6FC 800E624C 24040003 */ addiu $a0, $zero, 3 +/* 07F700 800E6250 24020001 */ addiu $v0, $zero, 1 +.L800E6254: +/* 07F704 800E6254 8FBF0018 */ lw $ra, 0x18($sp) +/* 07F708 800E6258 8FB10014 */ lw $s1, 0x14($sp) +/* 07F70C 800E625C 8FB00010 */ lw $s0, 0x10($sp) +/* 07F710 800E6260 03E00008 */ jr $ra +/* 07F714 800E6264 27BD0020 */ addiu $sp, $sp, 0x20 + +check_input_spin: +/* 07F718 800E6268 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 07F71C 800E626C AFB00010 */ sw $s0, 0x10($sp) +/* 07F720 800E6270 3C108011 */ lui $s0, 0x8011 +/* 07F724 800E6274 2610EFC8 */ addiu $s0, $s0, -0x1038 +/* 07F728 800E6278 AFB10014 */ sw $s1, 0x14($sp) +/* 07F72C 800E627C 3C118011 */ lui $s1, 0x8011 +/* 07F730 800E6280 2631F250 */ addiu $s1, $s1, -0xdb0 +/* 07F734 800E6284 AFBF001C */ sw $ra, 0x1c($sp) +/* 07F738 800E6288 AFB20018 */ sw $s2, 0x18($sp) +/* 07F73C 800E628C 8E020000 */ lw $v0, ($s0) +/* 07F740 800E6290 30425000 */ andi $v0, $v0, 0x5000 +/* 07F744 800E6294 1440002F */ bnez $v0, .L800E6354 +/* 07F748 800E6298 0220902D */ daddu $s2, $s1, $zero +/* 07F74C 800E629C 8E020004 */ lw $v0, 4($s0) +/* 07F750 800E62A0 30420001 */ andi $v0, $v0, 1 +/* 07F754 800E62A4 1440002B */ bnez $v0, .L800E6354 +/* 07F758 800E62A8 00000000 */ nop +/* 07F75C 800E62AC 8E0200DC */ lw $v0, 0xdc($s0) +/* 07F760 800E62B0 30420004 */ andi $v0, $v0, 4 +/* 07F764 800E62B4 14400027 */ bnez $v0, .L800E6354 +/* 07F768 800E62B8 00000000 */ nop +/* 07F76C 800E62BC 0C03A752 */ jal is_ability_active +/* 07F770 800E62C0 2404000B */ addiu $a0, $zero, 0xb +/* 07F774 800E62C4 14400023 */ bnez $v0, .L800E6354 +/* 07F778 800E62C8 00000000 */ nop +/* 07F77C 800E62CC 8E0200E0 */ lw $v0, 0xe0($s0) +/* 07F780 800E62D0 820300B4 */ lb $v1, 0xb4($s0) +/* 07F784 800E62D4 30442000 */ andi $a0, $v0, 0x2000 +/* 07F788 800E62D8 24020021 */ addiu $v0, $zero, 0x21 +/* 07F78C 800E62DC 1062001D */ beq $v1, $v0, .L800E6354 +/* 07F790 800E62E0 28620022 */ slti $v0, $v1, 0x22 +/* 07F794 800E62E4 1040001B */ beqz $v0, .L800E6354 +/* 07F798 800E62E8 28620003 */ slti $v0, $v1, 3 +/* 07F79C 800E62EC 10400019 */ beqz $v0, .L800E6354 +/* 07F7A0 800E62F0 00000000 */ nop +/* 07F7A4 800E62F4 04600017 */ bltz $v1, .L800E6354 +/* 07F7A8 800E62F8 3C030001 */ lui $v1, 1 +/* 07F7AC 800E62FC 8E020004 */ lw $v0, 4($s0) +/* 07F7B0 800E6300 00431024 */ and $v0, $v0, $v1 +/* 07F7B4 800E6304 14400013 */ bnez $v0, .L800E6354 +/* 07F7B8 800E6308 00000000 */ nop +/* 07F7BC 800E630C 14800004 */ bnez $a0, .L800E6320 +/* 07F7C0 800E6310 00000000 */ nop +/* 07F7C4 800E6314 82220001 */ lb $v0, 1($s1) +/* 07F7C8 800E6318 1040000E */ beqz $v0, .L800E6354 +/* 07F7CC 800E631C 00000000 */ nop +.L800E6320: +/* 07F7D0 800E6320 0C039769 */ jal set_action_state +/* 07F7D4 800E6324 2404001A */ addiu $a0, $zero, 0x1a +/* 07F7D8 800E6328 82220001 */ lb $v0, 1($s1) +/* 07F7DC 800E632C 10400009 */ beqz $v0, .L800E6354 +/* 07F7E0 800E6330 00000000 */ nop +/* 07F7E4 800E6334 8E220008 */ lw $v0, 8($s1) +/* 07F7E8 800E6338 14400004 */ bnez $v0, .L800E634C +/* 07F7EC 800E633C 00000000 */ nop +/* 07F7F0 800E6340 8E22000C */ lw $v0, 0xc($s1) +/* 07F7F4 800E6344 50400003 */ beql $v0, $zero, .L800E6354 +/* 07F7F8 800E6348 A20000B5 */ sb $zero, 0xb5($s0) +.L800E634C: +/* 07F7FC 800E634C 92420007 */ lbu $v0, 7($s2) +/* 07F800 800E6350 A20200B5 */ sb $v0, 0xb5($s0) +.L800E6354: +/* 07F804 800E6354 8FBF001C */ lw $ra, 0x1c($sp) +/* 07F808 800E6358 8FB20018 */ lw $s2, 0x18($sp) +/* 07F80C 800E635C 8FB10014 */ lw $s1, 0x14($sp) +/* 07F810 800E6360 8FB00010 */ lw $s0, 0x10($sp) +/* 07F814 800E6364 03E00008 */ jr $ra +/* 07F818 800E6368 27BD0020 */ addiu $sp, $sp, 0x20 + +func_800E636C: +/* 07F81C 800E636C 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 07F820 800E6370 AFB00010 */ sw $s0, 0x10($sp) +/* 07F824 800E6374 0080802D */ daddu $s0, $a0, $zero +/* 07F828 800E6378 3C048011 */ lui $a0, 0x8011 +/* 07F82C 800E637C 8C84C96C */ lw $a0, -0x3694($a0) +/* 07F830 800E6380 04800004 */ bltz $a0, .L800E6394 +/* 07F834 800E6384 AFBF0014 */ sw $ra, 0x14($sp) +/* 07F838 800E6388 0C00E2B7 */ jal get_npc_by_index +/* 07F83C 800E638C 00000000 */ nop +/* 07F840 800E6390 AC500028 */ sw $s0, 0x28($v0) +.L800E6394: +/* 07F844 800E6394 8FBF0014 */ lw $ra, 0x14($sp) +/* 07F848 800E6398 8FB00010 */ lw $s0, 0x10($sp) +/* 07F84C 800E639C 03E00008 */ jr $ra +/* 07F850 800E63A0 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 07F854 800E63A4 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 07F858 800E63A8 AFB00010 */ sw $s0, 0x10($sp) +/* 07F85C 800E63AC 3C108011 */ lui $s0, 0x8011 +/* 07F860 800E63B0 2610EFC8 */ addiu $s0, $s0, -0x1038 +/* 07F864 800E63B4 10800005 */ beqz $a0, .L800E63CC +/* 07F868 800E63B8 AFBF0014 */ sw $ra, 0x14($sp) +/* 07F86C 800E63BC 0C039769 */ jal set_action_state +/* 07F870 800E63C0 24040019 */ addiu $a0, $zero, 0x19 +/* 07F874 800E63C4 08039906 */ j .L800E6418 +/* 07F878 800E63C8 00000000 */ nop + +.L800E63CC: +/* 07F87C 800E63CC 2403DFFF */ addiu $v1, $zero, -0x2001 +/* 07F880 800E63D0 8E020004 */ lw $v0, 4($s0) +/* 07F884 800E63D4 3C048007 */ lui $a0, 0x8007 +/* 07F888 800E63D8 8C84419C */ lw $a0, 0x419c($a0) +/* 07F88C 800E63DC 00431024 */ and $v0, $v0, $v1 +/* 07F890 800E63E0 AE020004 */ sw $v0, 4($s0) +/* 07F894 800E63E4 9082007E */ lbu $v0, 0x7e($a0) +/* 07F898 800E63E8 304200FD */ andi $v0, $v0, 0xfd +/* 07F89C 800E63EC A082007E */ sb $v0, 0x7e($a0) +/* 07F8A0 800E63F0 3C048011 */ lui $a0, 0x8011 +/* 07F8A4 800E63F4 8C84C96C */ lw $a0, -0x3694($a0) +/* 07F8A8 800E63F8 0C00E228 */ jal func_800388A0 +/* 07F8AC 800E63FC A200000C */ sb $zero, 0xc($s0) +/* 07F8B0 800E6400 0C039769 */ jal set_action_state +/* 07F8B4 800E6404 0000202D */ daddu $a0, $zero, $zero +/* 07F8B8 800E6408 24020037 */ addiu $v0, $zero, 0x37 +/* 07F8BC 800E640C A60200B0 */ sh $v0, 0xb0($s0) +/* 07F8C0 800E6410 24020026 */ addiu $v0, $zero, 0x26 +/* 07F8C4 800E6414 A60200B2 */ sh $v0, 0xb2($s0) +.L800E6418: +/* 07F8C8 800E6418 8FBF0014 */ lw $ra, 0x14($sp) +/* 07F8CC 800E641C 8FB00010 */ lw $s0, 0x10($sp) +/* 07F8D0 800E6420 03E00008 */ jr $ra +/* 07F8D4 800E6424 27BD0018 */ addiu $sp, $sp, 0x18 + +func_800E6428: +/* 07F8D8 800E6428 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 07F8DC 800E642C 3C048011 */ lui $a0, 0x8011 +/* 07F8E0 800E6430 2484EFC8 */ addiu $a0, $a0, -0x1038 +/* 07F8E4 800E6434 AFBF0010 */ sw $ra, 0x10($sp) +/* 07F8E8 800E6438 808200B4 */ lb $v0, 0xb4($a0) +/* 07F8EC 800E643C 2C420003 */ sltiu $v0, $v0, 3 +/* 07F8F0 800E6440 1040002C */ beqz $v0, .L800E64F4 +/* 07F8F4 800E6444 0080282D */ daddu $a1, $a0, $zero +/* 07F8F8 800E6448 3C038011 */ lui $v1, 0x8011 +/* 07F8FC 800E644C 2463C92C */ addiu $v1, $v1, -0x36d4 +/* 07F900 800E6450 8C620000 */ lw $v0, ($v1) +/* 07F904 800E6454 1040001B */ beqz $v0, .L800E64C4 +/* 07F908 800E6458 2442FFFF */ addiu $v0, $v0, -1 +/* 07F90C 800E645C 14400025 */ bnez $v0, .L800E64F4 +/* 07F910 800E6460 AC620000 */ sw $v0, ($v1) +/* 07F914 800E6464 3C058007 */ lui $a1, 0x8007 +/* 07F918 800E6468 24A5419C */ addiu $a1, $a1, 0x419c +/* 07F91C 800E646C 8CA30000 */ lw $v1, ($a1) +/* 07F920 800E6470 9062007E */ lbu $v0, 0x7e($v1) +/* 07F924 800E6474 30420002 */ andi $v0, $v0, 2 +/* 07F928 800E6478 1040001E */ beqz $v0, .L800E64F4 +/* 07F92C 800E647C 00000000 */ nop +/* 07F930 800E6480 8C820004 */ lw $v0, 4($a0) +/* 07F934 800E6484 34422000 */ ori $v0, $v0, 0x2000 +/* 07F938 800E6488 AC820004 */ sw $v0, 4($a0) +/* 07F93C 800E648C 9062007E */ lbu $v0, 0x7e($v1) +/* 07F940 800E6490 34420002 */ ori $v0, $v0, 2 +/* 07F944 800E6494 A062007E */ sb $v0, 0x7e($v1) +/* 07F948 800E6498 8CA20000 */ lw $v0, ($a1) +/* 07F94C 800E649C 0C03995F */ jal func_800E657C +/* 07F950 800E64A0 8044007F */ lb $a0, 0x7f($v0) +/* 07F954 800E64A4 0040202D */ daddu $a0, $v0, $zero +/* 07F958 800E64A8 10800012 */ beqz $a0, .L800E64F4 +/* 07F95C 800E64AC 3C03FFFB */ lui $v1, 0xfffb +/* 07F960 800E64B0 8C820000 */ lw $v0, ($a0) +/* 07F964 800E64B4 3463FFFF */ ori $v1, $v1, 0xffff +/* 07F968 800E64B8 00431024 */ and $v0, $v0, $v1 +/* 07F96C 800E64BC 0803993D */ j .L800E64F4 +/* 07F970 800E64C0 AC820000 */ sw $v0, ($a0) + +.L800E64C4: +/* 07F974 800E64C4 3C028007 */ lui $v0, 0x8007 +/* 07F978 800E64C8 8C42419C */ lw $v0, 0x419c($v0) +/* 07F97C 800E64CC 9042007E */ lbu $v0, 0x7e($v0) +/* 07F980 800E64D0 30420004 */ andi $v0, $v0, 4 +/* 07F984 800E64D4 10400007 */ beqz $v0, .L800E64F4 +/* 07F988 800E64D8 00000000 */ nop +/* 07F98C 800E64DC 8CA200E0 */ lw $v0, 0xe0($a1) +/* 07F990 800E64E0 30424000 */ andi $v0, $v0, 0x4000 +/* 07F994 800E64E4 10400003 */ beqz $v0, .L800E64F4 +/* 07F998 800E64E8 00000000 */ nop +/* 07F99C 800E64EC 0C039769 */ jal set_action_state +/* 07F9A0 800E64F0 24040019 */ addiu $a0, $zero, 0x19 +.L800E64F4: +/* 07F9A4 800E64F4 8FBF0010 */ lw $ra, 0x10($sp) +/* 07F9A8 800E64F8 03E00008 */ jr $ra +/* 07F9AC 800E64FC 27BD0018 */ addiu $sp, $sp, 0x18 + +func_800E6500: +/* 07F9B0 800E6500 3C048011 */ lui $a0, 0x8011 +/* 07F9B4 800E6504 8C84C96C */ lw $a0, -0x3694($a0) +/* 07F9B8 800E6508 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 07F9BC 800E650C AFB00010 */ sw $s0, 0x10($sp) +/* 07F9C0 800E6510 3C108011 */ lui $s0, 0x8011 +/* 07F9C4 800E6514 2610EFC8 */ addiu $s0, $s0, -0x1038 +/* 07F9C8 800E6518 04800014 */ bltz $a0, .L800E656C +/* 07F9CC 800E651C AFBF0014 */ sw $ra, 0x14($sp) +/* 07F9D0 800E6520 0C00E2B7 */ jal get_npc_by_index +/* 07F9D4 800E6524 00000000 */ nop +/* 07F9D8 800E6528 0040202D */ daddu $a0, $v0, $zero +/* 07F9DC 800E652C 8C820000 */ lw $v0, ($a0) +/* 07F9E0 800E6530 3C030004 */ lui $v1, 4 +/* 07F9E4 800E6534 00431024 */ and $v0, $v0, $v1 +/* 07F9E8 800E6538 10400004 */ beqz $v0, .L800E654C +/* 07F9EC 800E653C 00000000 */ nop +/* 07F9F0 800E6540 C60000A8 */ lwc1 $f0, 0xa8($s0) +/* 07F9F4 800E6544 08039955 */ j .L800E6554 +/* 07F9F8 800E6548 E4800034 */ swc1 $f0, 0x34($a0) + +.L800E654C: +/* 07F9FC 800E654C C6000080 */ lwc1 $f0, 0x80($s0) +/* 07FA00 800E6550 E480000C */ swc1 $f0, 0xc($a0) +.L800E6554: +/* 07FA04 800E6554 C6000028 */ lwc1 $f0, 0x28($s0) +/* 07FA08 800E6558 E4800038 */ swc1 $f0, 0x38($a0) +/* 07FA0C 800E655C C600002C */ lwc1 $f0, 0x2c($s0) +/* 07FA10 800E6560 E480003C */ swc1 $f0, 0x3c($a0) +/* 07FA14 800E6564 C6000030 */ lwc1 $f0, 0x30($s0) +/* 07FA18 800E6568 E4800040 */ swc1 $f0, 0x40($a0) +.L800E656C: +/* 07FA1C 800E656C 8FBF0014 */ lw $ra, 0x14($sp) +/* 07FA20 800E6570 8FB00010 */ lw $s0, 0x10($sp) +/* 07FA24 800E6574 03E00008 */ jr $ra +/* 07FA28 800E6578 27BD0018 */ addiu $sp, $sp, 0x18 + +func_800E657C: +/* 07FA2C 800E657C 27BDFFD0 */ addiu $sp, $sp, -0x30 +/* 07FA30 800E6580 0080282D */ daddu $a1, $a0, $zero +/* 07FA34 800E6584 AFB10024 */ sw $s1, 0x24($sp) +/* 07FA38 800E6588 3C118011 */ lui $s1, 0x8011 +/* 07FA3C 800E658C 2631EFC8 */ addiu $s1, $s1, -0x1038 +/* 07FA40 800E6590 27A60010 */ addiu $a2, $sp, 0x10 +/* 07FA44 800E6594 AFBF0028 */ sw $ra, 0x28($sp) +/* 07FA48 800E6598 14A00003 */ bnez $a1, .L800E65A8 +/* 07FA4C 800E659C AFB00020 */ sw $s0, 0x20($sp) +/* 07FA50 800E65A0 080399AC */ j .L800E66B0 +/* 07FA54 800E65A4 0000102D */ daddu $v0, $zero, $zero + +.L800E65A8: +/* 07FA58 800E65A8 3C040004 */ lui $a0, 4 +/* 07FA5C 800E65AC 3C038007 */ lui $v1, 0x8007 +/* 07FA60 800E65B0 8C63419C */ lw $v1, 0x419c($v1) +/* 07FA64 800E65B4 24020025 */ addiu $v0, $zero, 0x25 +/* 07FA68 800E65B8 A62200B0 */ sh $v0, 0xb0($s1) +/* 07FA6C 800E65BC 24020026 */ addiu $v0, $zero, 0x26 +/* 07FA70 800E65C0 A62200B2 */ sh $v0, 0xb2($s1) +/* 07FA74 800E65C4 A225000C */ sb $a1, 0xc($s1) +/* 07FA78 800E65C8 A065007F */ sb $a1, 0x7f($v1) +/* 07FA7C 800E65CC 8223000C */ lb $v1, 0xc($s1) +/* 07FA80 800E65D0 34840148 */ ori $a0, $a0, 0x148 +/* 07FA84 800E65D4 AFA40010 */ sw $a0, 0x10($sp) +/* 07FA88 800E65D8 00031040 */ sll $v0, $v1, 1 +/* 07FA8C 800E65DC 00431021 */ addu $v0, $v0, $v1 +/* 07FA90 800E65E0 000210C0 */ sll $v0, $v0, 3 +/* 07FA94 800E65E4 3C01800F */ lui $at, 0x800f +/* 07FA98 800E65E8 00220821 */ addu $at, $at, $v0 +/* 07FA9C 800E65EC 8C227C1C */ lw $v0, 0x7c1c($at) +/* 07FAA0 800E65F0 00031880 */ sll $v1, $v1, 2 +/* 07FAA4 800E65F4 AFA00018 */ sw $zero, 0x18($sp) +/* 07FAA8 800E65F8 AFA0001C */ sw $zero, 0x1c($sp) +/* 07FAAC 800E65FC AFA20014 */ sw $v0, 0x14($sp) +/* 07FAB0 800E6600 3C05800F */ lui $a1, 0x800f +/* 07FAB4 800E6604 00A32821 */ addu $a1, $a1, $v1 +/* 07FAB8 800E6608 8CA57C7C */ lw $a1, 0x7c7c($a1) +/* 07FABC 800E660C 0C00E219 */ jal func_80038864 +/* 07FAC0 800E6610 00C0202D */ daddu $a0, $a2, $zero +/* 07FAC4 800E6614 0040202D */ daddu $a0, $v0, $zero +/* 07FAC8 800E6618 3C018011 */ lui $at, 0x8011 +/* 07FACC 800E661C AC24C96C */ sw $a0, -0x3694($at) +/* 07FAD0 800E6620 0C00E2B7 */ jal get_npc_by_index +/* 07FAD4 800E6624 00000000 */ nop +/* 07FAD8 800E6628 0040802D */ daddu $s0, $v0, $zero +/* 07FADC 800E662C 0C00EAFF */ jal disable_npc_shadow +/* 07FAE0 800E6630 0200202D */ daddu $a0, $s0, $zero +/* 07FAE4 800E6634 C62200A8 */ lwc1 $f2, 0xa8($s1) +/* 07FAE8 800E6638 3C0142B4 */ lui $at, 0x42b4 +/* 07FAEC 800E663C 44810000 */ mtc1 $at, $f0 +/* 07FAF0 800E6640 00000000 */ nop +/* 07FAF4 800E6644 4602003E */ c.le.s $f0, $f2 +/* 07FAF8 800E6648 00000000 */ nop +/* 07FAFC 800E664C 45000008 */ bc1f .L800E6670 +/* 07FB00 800E6650 00000000 */ nop +/* 07FB04 800E6654 3C014387 */ lui $at, 0x4387 +/* 07FB08 800E6658 44810000 */ mtc1 $at, $f0 +/* 07FB0C 800E665C 00000000 */ nop +/* 07FB10 800E6660 4600103C */ c.lt.s $f2, $f0 +/* 07FB14 800E6664 00000000 */ nop +/* 07FB18 800E6668 45010005 */ bc1t .L800E6680 +/* 07FB1C 800E666C 00000000 */ nop +.L800E6670: +/* 07FB20 800E6670 3C014334 */ lui $at, 0x4334 +/* 07FB24 800E6674 44810000 */ mtc1 $at, $f0 +/* 07FB28 800E6678 080399A2 */ j .L800E6688 +/* 07FB2C 800E667C 00000000 */ nop + +.L800E6680: +/* 07FB30 800E6680 44800000 */ mtc1 $zero, $f0 +/* 07FB34 800E6684 00000000 */ nop +.L800E6688: +/* 07FB38 800E6688 44050000 */ mfc1 $a1, $f0 +/* 07FB3C 800E668C 0C00ECD0 */ jal set_npc_yaw +/* 07FB40 800E6690 0200202D */ daddu $a0, $s0, $zero +/* 07FB44 800E6694 C6200028 */ lwc1 $f0, 0x28($s1) +/* 07FB48 800E6698 E6000038 */ swc1 $f0, 0x38($s0) +/* 07FB4C 800E669C C620002C */ lwc1 $f0, 0x2c($s1) +/* 07FB50 800E66A0 E600003C */ swc1 $f0, 0x3c($s0) +/* 07FB54 800E66A4 C6200030 */ lwc1 $f0, 0x30($s1) +/* 07FB58 800E66A8 0200102D */ daddu $v0, $s0, $zero +/* 07FB5C 800E66AC E4400040 */ swc1 $f0, 0x40($v0) +.L800E66B0: +/* 07FB60 800E66B0 8FBF0028 */ lw $ra, 0x28($sp) +/* 07FB64 800E66B4 8FB10024 */ lw $s1, 0x24($sp) +/* 07FB68 800E66B8 8FB00020 */ lw $s0, 0x20($sp) +/* 07FB6C 800E66BC 03E00008 */ jr $ra +/* 07FB70 800E66C0 27BD0030 */ addiu $sp, $sp, 0x30 + +/* 07FB74 800E66C4 27BDFFA0 */ addiu $sp, $sp, -0x60 +/* 07FB78 800E66C8 AFB20040 */ sw $s2, 0x40($sp) +/* 07FB7C 800E66CC 3C128011 */ lui $s2, 0x8011 +/* 07FB80 800E66D0 2652EFC8 */ addiu $s2, $s2, -0x1038 +/* 07FB84 800E66D4 3C04800B */ lui $a0, 0x800b +/* 07FB88 800E66D8 24841D80 */ addiu $a0, $a0, 0x1d80 +/* 07FB8C 800E66DC AFBF0048 */ sw $ra, 0x48($sp) +/* 07FB90 800E66E0 AFB30044 */ sw $s3, 0x44($sp) +/* 07FB94 800E66E4 AFB1003C */ sw $s1, 0x3c($sp) +/* 07FB98 800E66E8 AFB00038 */ sw $s0, 0x38($sp) +/* 07FB9C 800E66EC F7B60058 */ sdc1 $f22, 0x58($sp) +/* 07FBA0 800E66F0 F7B40050 */ sdc1 $f20, 0x50($sp) +/* 07FBA4 800E66F4 C64400A8 */ lwc1 $f4, 0xa8($s2) +/* 07FBA8 800E66F8 3C038007 */ lui $v1, 0x8007 +/* 07FBAC 800E66FC 8C637410 */ lw $v1, 0x7410($v1) +/* 07FBB0 800E6700 3C0142B4 */ lui $at, 0x42b4 +/* 07FBB4 800E6704 44810000 */ mtc1 $at, $f0 +/* 07FBB8 800E6708 00031080 */ sll $v0, $v1, 2 +/* 07FBBC 800E670C 00431021 */ addu $v0, $v0, $v1 +/* 07FBC0 800E6710 00021080 */ sll $v0, $v0, 2 +/* 07FBC4 800E6714 00431023 */ subu $v0, $v0, $v1 +/* 07FBC8 800E6718 000218C0 */ sll $v1, $v0, 3 +/* 07FBCC 800E671C 00431021 */ addu $v0, $v0, $v1 +/* 07FBD0 800E6720 000210C0 */ sll $v0, $v0, 3 +/* 07FBD4 800E6724 4604003E */ c.le.s $f0, $f4 +/* 07FBD8 800E6728 00000000 */ nop +/* 07FBDC 800E672C 4500000B */ bc1f .L800E675C +/* 07FBE0 800E6730 00441021 */ addu $v0, $v0, $a0 +/* 07FBE4 800E6734 3C014387 */ lui $at, 0x4387 +/* 07FBE8 800E6738 44811000 */ mtc1 $at, $f2 +/* 07FBEC 800E673C 00000000 */ nop +/* 07FBF0 800E6740 4602203C */ c.lt.s $f4, $f2 +/* 07FBF4 800E6744 00000000 */ nop +/* 07FBF8 800E6748 45000004 */ bc1f .L800E675C +/* 07FBFC 800E674C 00000000 */ nop +/* 07FC00 800E6750 C440006C */ lwc1 $f0, 0x6c($v0) +/* 07FC04 800E6754 080399DC */ j .L800E6770 +/* 07FC08 800E6758 46020501 */ sub.s $f20, $f0, $f2 + +.L800E675C: +/* 07FC0C 800E675C C442006C */ lwc1 $f2, 0x6c($v0) +/* 07FC10 800E6760 3C0142B4 */ lui $at, 0x42b4 +/* 07FC14 800E6764 44810000 */ mtc1 $at, $f0 +/* 07FC18 800E6768 00000000 */ nop +/* 07FC1C 800E676C 46001501 */ sub.s $f20, $f2, $f0 +.L800E6770: +/* 07FC20 800E6770 0C00A6C9 */ jal clamp_angle +/* 07FC24 800E6774 4600A306 */ mov.s $f12, $f20 +/* 07FC28 800E6778 27A50020 */ addiu $a1, $sp, 0x20 +/* 07FC2C 800E677C 27A60024 */ addiu $a2, $sp, 0x24 +/* 07FC30 800E6780 3C0140C9 */ lui $at, 0x40c9 +/* 07FC34 800E6784 34210FD0 */ ori $at, $at, 0xfd0 +/* 07FC38 800E6788 44811000 */ mtc1 $at, $f2 +/* 07FC3C 800E678C 24110002 */ addiu $s1, $zero, 2 +/* 07FC40 800E6790 46020002 */ mul.s $f0, $f0, $f2 +/* 07FC44 800E6794 00000000 */ nop +/* 07FC48 800E6798 0220802D */ daddu $s0, $s1, $zero +/* 07FC4C 800E679C 27B30030 */ addiu $s3, $sp, 0x30 +/* 07FC50 800E67A0 3C0143B4 */ lui $at, 0x43b4 +/* 07FC54 800E67A4 44816000 */ mtc1 $at, $f12 +/* 07FC58 800E67A8 3C014080 */ lui $at, 0x4080 +/* 07FC5C 800E67AC 4481B000 */ mtc1 $at, $f22 +/* 07FC60 800E67B0 0C00A82D */ jal sin_cos_rad +/* 07FC64 800E67B4 460C0303 */ div.s $f12, $f0, $f12 +.L800E67B8: +/* 07FC68 800E67B8 C7A00020 */ lwc1 $f0, 0x20($sp) +/* 07FC6C 800E67BC 44911000 */ mtc1 $s1, $f2 +/* 07FC70 800E67C0 00000000 */ nop +/* 07FC74 800E67C4 468010A0 */ cvt.s.w $f2, $f2 +/* 07FC78 800E67C8 46020002 */ mul.s $f0, $f0, $f2 +/* 07FC7C 800E67CC 00000000 */ nop +/* 07FC80 800E67D0 C7A40024 */ lwc1 $f4, 0x24($sp) +/* 07FC84 800E67D4 46022102 */ mul.s $f4, $f4, $f2 +/* 07FC88 800E67D8 00000000 */ nop +/* 07FC8C 800E67DC 0240282D */ daddu $a1, $s2, $zero +/* 07FC90 800E67E0 C642002C */ lwc1 $f2, 0x2c($s2) +/* 07FC94 800E67E4 27A60028 */ addiu $a2, $sp, 0x28 +/* 07FC98 800E67E8 46161080 */ add.s $f2, $f2, $f22 +/* 07FC9C 800E67EC C6460028 */ lwc1 $f6, 0x28($s2) +/* 07FCA0 800E67F0 24040003 */ addiu $a0, $zero, 3 +/* 07FCA4 800E67F4 46003180 */ add.s $f6, $f6, $f0 +/* 07FCA8 800E67F8 C6400030 */ lwc1 $f0, 0x30($s2) +/* 07FCAC 800E67FC 27A7002C */ addiu $a3, $sp, 0x2c +/* 07FCB0 800E6800 46040001 */ sub.s $f0, $f0, $f4 +/* 07FCB4 800E6804 E7A2002C */ swc1 $f2, 0x2c($sp) +/* 07FCB8 800E6808 E7A60028 */ swc1 $f6, 0x28($sp) +/* 07FCBC 800E680C E7A00030 */ swc1 $f0, 0x30($sp) +/* 07FCC0 800E6810 AFB30010 */ sw $s3, 0x10($sp) +/* 07FCC4 800E6814 E7B60014 */ swc1 $f22, 0x14($sp) +/* 07FCC8 800E6818 0C037B01 */ jal func_800DEC04 +/* 07FCCC 800E681C E7B40018 */ swc1 $f20, 0x18($sp) +/* 07FCD0 800E6820 04410003 */ bgez $v0, .L800E6830 +/* 07FCD4 800E6824 2610FFFF */ addiu $s0, $s0, -1 +/* 07FCD8 800E6828 1E00FFE3 */ bgtz $s0, .L800E67B8 +/* 07FCDC 800E682C 26310012 */ addiu $s1, $s1, 0x12 +.L800E6830: +/* 07FCE0 800E6830 8FBF0048 */ lw $ra, 0x48($sp) +/* 07FCE4 800E6834 8FB30044 */ lw $s3, 0x44($sp) +/* 07FCE8 800E6838 8FB20040 */ lw $s2, 0x40($sp) +/* 07FCEC 800E683C 8FB1003C */ lw $s1, 0x3c($sp) +/* 07FCF0 800E6840 8FB00038 */ lw $s0, 0x38($sp) +/* 07FCF4 800E6844 D7B60058 */ ldc1 $f22, 0x58($sp) +/* 07FCF8 800E6848 D7B40050 */ ldc1 $f20, 0x50($sp) +/* 07FCFC 800E684C 03E00008 */ jr $ra +/* 07FD00 800E6850 27BD0060 */ addiu $sp, $sp, 0x60 + +/* 07FD04 800E6854 00000000 */ nop +/* 07FD08 800E6858 00000000 */ nop +/* 07FD0C 800E685C 00000000 */ nop diff --git a/papermario/asm/code_7fd10_len_b40.s b/papermario/asm/code_7fd10_len_b40.s new file mode 100644 index 0000000000..b656f357f5 --- /dev/null +++ b/papermario/asm/code_7fd10_len_b40.s @@ -0,0 +1,825 @@ +# %s disassembly and split file +# generated by n64split v%s - N64 ROM splitter + +# assembler directives +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches +.set gp=64 # allow use of 64-bit general purpose registers + +.include "globals.inc" + + +.section .text800E6860, "ax" + +func_800E6860: +/* 07FD10 800E6860 27BDFFD0 */ addiu $sp, $sp, -0x30 +/* 07FD14 800E6864 3C038011 */ lui $v1, 0x8011 +/* 07FD18 800E6868 2463EBB0 */ addiu $v1, $v1, -0x1450 +/* 07FD1C 800E686C AFBF0028 */ sw $ra, 0x28($sp) +/* 07FD20 800E6870 AFB10024 */ sw $s1, 0x24($sp) +/* 07FD24 800E6874 AFB00020 */ sw $s0, 0x20($sp) +/* 07FD28 800E6878 80620000 */ lb $v0, ($v1) +/* 07FD2C 800E687C 3C118011 */ lui $s1, 0x8011 +/* 07FD30 800E6880 2631EFC8 */ addiu $s1, $s1, -0x1038 +/* 07FD34 800E6884 1040001A */ beqz $v0, .L800E68F0 +/* 07FD38 800E6888 24020009 */ addiu $v0, $zero, 9 +/* 07FD3C 800E688C 80630003 */ lb $v1, 3($v1) +/* 07FD40 800E6890 14620017 */ bne $v1, $v0, .L800E68F0 +/* 07FD44 800E6894 00000000 */ nop +/* 07FD48 800E6898 0C00EABB */ jal get_npc_unsafe +/* 07FD4C 800E689C 2404FFFC */ addiu $a0, $zero, -4 +/* 07FD50 800E68A0 0000202D */ daddu $a0, $zero, $zero +/* 07FD54 800E68A4 2405FFFF */ addiu $a1, $zero, -1 +/* 07FD58 800E68A8 24060007 */ addiu $a2, $zero, 7 +/* 07FD5C 800E68AC 0080382D */ daddu $a3, $a0, $zero +/* 07FD60 800E68B0 9223000E */ lbu $v1, 0xe($s1) +/* 07FD64 800E68B4 0040802D */ daddu $s0, $v0, $zero +/* 07FD68 800E68B8 AFA00010 */ sw $zero, 0x10($sp) +/* 07FD6C 800E68BC AFA00014 */ sw $zero, 0x14($sp) +/* 07FD70 800E68C0 AFA0001C */ sw $zero, 0x1c($sp) +/* 07FD74 800E68C4 0C0B77B9 */ jal func_802DDEE4 +/* 07FD78 800E68C8 AFA30018 */ sw $v1, 0x18($sp) +/* 07FD7C 800E68CC 0200202D */ daddu $a0, $s0, $zero +/* 07FD80 800E68D0 24050007 */ addiu $a1, $zero, 7 +/* 07FD84 800E68D4 9226000E */ lbu $a2, 0xe($s1) +/* 07FD88 800E68D8 0000382D */ daddu $a3, $zero, $zero +/* 07FD8C 800E68DC AFA00010 */ sw $zero, 0x10($sp) +/* 07FD90 800E68E0 AFA00014 */ sw $zero, 0x14($sp) +/* 07FD94 800E68E4 0C00F589 */ jal func_8003D624 +/* 07FD98 800E68E8 AFA00018 */ sw $zero, 0x18($sp) +/* 07FD9C 800E68EC A220000F */ sb $zero, 0xf($s1) +.L800E68F0: +/* 07FDA0 800E68F0 8FBF0028 */ lw $ra, 0x28($sp) +/* 07FDA4 800E68F4 8FB10024 */ lw $s1, 0x24($sp) +/* 07FDA8 800E68F8 8FB00020 */ lw $s0, 0x20($sp) +/* 07FDAC 800E68FC 03E00008 */ jr $ra +/* 07FDB0 800E6900 27BD0030 */ addiu $sp, $sp, 0x30 + +func_800E6904: +/* 07FDB4 800E6904 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 07FDB8 800E6908 AFB10014 */ sw $s1, 0x14($sp) +/* 07FDBC 800E690C 3C118011 */ lui $s1, 0x8011 +/* 07FDC0 800E6910 2631EBB0 */ addiu $s1, $s1, -0x1450 +/* 07FDC4 800E6914 3C028011 */ lui $v0, 0x8011 +/* 07FDC8 800E6918 2442EFC8 */ addiu $v0, $v0, -0x1038 +/* 07FDCC 800E691C 0040202D */ daddu $a0, $v0, $zero +/* 07FDD0 800E6920 3C030010 */ lui $v1, 0x10 +/* 07FDD4 800E6924 AFBF0018 */ sw $ra, 0x18($sp) +/* 07FDD8 800E6928 AFB00010 */ sw $s0, 0x10($sp) +/* 07FDDC 800E692C 8C820004 */ lw $v0, 4($a0) +/* 07FDE0 800E6930 809000B4 */ lb $s0, 0xb4($a0) +/* 07FDE4 800E6934 00431024 */ and $v0, $v0, $v1 +/* 07FDE8 800E6938 14400023 */ bnez $v0, .L800E69C8 +/* 07FDEC 800E693C 0000102D */ daddu $v0, $zero, $zero +/* 07FDF0 800E6940 82220000 */ lb $v0, ($s1) +/* 07FDF4 800E6944 1440000A */ bnez $v0, .L800E6970 +/* 07FDF8 800E6948 00000000 */ nop +/* 07FDFC 800E694C 8C820000 */ lw $v0, ($a0) +/* 07FE00 800E6950 30421000 */ andi $v0, $v0, 0x1000 +/* 07FE04 800E6954 1440001C */ bnez $v0, .L800E69C8 +/* 07FE08 800E6958 0000102D */ daddu $v0, $zero, $zero +/* 07FE0C 800E695C 2E020003 */ sltiu $v0, $s0, 3 +/* 07FE10 800E6960 10400019 */ beqz $v0, .L800E69C8 +/* 07FE14 800E6964 0000102D */ daddu $v0, $zero, $zero +.L800E6968: +/* 07FE18 800E6968 08039A72 */ j .L800E69C8 +/* 07FE1C 800E696C 24020001 */ addiu $v0, $zero, 1 + +.L800E6970: +/* 07FE20 800E6970 0C03ACF8 */ jal func_800EB3E0 +/* 07FE24 800E6974 00000000 */ nop +/* 07FE28 800E6978 10400012 */ beqz $v0, .L800E69C4 +/* 07FE2C 800E697C 24020006 */ addiu $v0, $zero, 6 +/* 07FE30 800E6980 82230003 */ lb $v1, 3($s1) +/* 07FE34 800E6984 1062FFF8 */ beq $v1, $v0, .L800E6968 +/* 07FE38 800E6988 24020009 */ addiu $v0, $zero, 9 +/* 07FE3C 800E698C 14620006 */ bne $v1, $v0, .L800E69A8 +/* 07FE40 800E6990 24020008 */ addiu $v0, $zero, 8 +/* 07FE44 800E6994 24020021 */ addiu $v0, $zero, 0x21 +/* 07FE48 800E6998 1602000B */ bne $s0, $v0, .L800E69C8 +/* 07FE4C 800E699C 0000102D */ daddu $v0, $zero, $zero +/* 07FE50 800E69A0 08039A72 */ j .L800E69C8 +/* 07FE54 800E69A4 24020001 */ addiu $v0, $zero, 1 + +.L800E69A8: +/* 07FE58 800E69A8 14620007 */ bne $v1, $v0, .L800E69C8 +/* 07FE5C 800E69AC 0000102D */ daddu $v0, $zero, $zero +/* 07FE60 800E69B0 24020021 */ addiu $v0, $zero, 0x21 +/* 07FE64 800E69B4 12020004 */ beq $s0, $v0, .L800E69C8 +/* 07FE68 800E69B8 24020001 */ addiu $v0, $zero, 1 +/* 07FE6C 800E69BC 0C05272D */ jal play_sound +/* 07FE70 800E69C0 2404021D */ addiu $a0, $zero, 0x21d +.L800E69C4: +/* 07FE74 800E69C4 0000102D */ daddu $v0, $zero, $zero +.L800E69C8: +/* 07FE78 800E69C8 8FBF0018 */ lw $ra, 0x18($sp) +/* 07FE7C 800E69CC 8FB10014 */ lw $s1, 0x14($sp) +/* 07FE80 800E69D0 8FB00010 */ lw $s0, 0x10($sp) +/* 07FE84 800E69D4 03E00008 */ jr $ra +/* 07FE88 800E69D8 27BD0020 */ addiu $sp, $sp, 0x20 + +func_800E69DC: +/* 07FE8C 800E69DC 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 07FE90 800E69E0 AFB20018 */ sw $s2, 0x18($sp) +/* 07FE94 800E69E4 3C128011 */ lui $s2, 0x8011 +/* 07FE98 800E69E8 2652EBB0 */ addiu $s2, $s2, -0x1450 +/* 07FE9C 800E69EC AFB10014 */ sw $s1, 0x14($sp) +/* 07FEA0 800E69F0 3C118011 */ lui $s1, 0x8011 +/* 07FEA4 800E69F4 2631EFC8 */ addiu $s1, $s1, -0x1038 +/* 07FEA8 800E69F8 3C030010 */ lui $v1, 0x10 +/* 07FEAC 800E69FC AFBF001C */ sw $ra, 0x1c($sp) +/* 07FEB0 800E6A00 AFB00010 */ sw $s0, 0x10($sp) +/* 07FEB4 800E6A04 8E220004 */ lw $v0, 4($s1) +/* 07FEB8 800E6A08 823000B4 */ lb $s0, 0xb4($s1) +/* 07FEBC 800E6A0C 00431024 */ and $v0, $v0, $v1 +/* 07FEC0 800E6A10 1440004F */ bnez $v0, .L800E6B50 +/* 07FEC4 800E6A14 0000102D */ daddu $v0, $zero, $zero +/* 07FEC8 800E6A18 8E220000 */ lw $v0, ($s1) +/* 07FECC 800E6A1C 30420100 */ andi $v0, $v0, 0x100 +/* 07FED0 800E6A20 1440004B */ bnez $v0, .L800E6B50 +/* 07FED4 800E6A24 0000102D */ daddu $v0, $zero, $zero +/* 07FED8 800E6A28 30822010 */ andi $v0, $a0, 0x2010 +/* 07FEDC 800E6A2C 14400048 */ bnez $v0, .L800E6B50 +/* 07FEE0 800E6A30 0000102D */ daddu $v0, $zero, $zero +/* 07FEE4 800E6A34 30A21003 */ andi $v0, $a1, 0x1003 +/* 07FEE8 800E6A38 10400045 */ beqz $v0, .L800E6B50 +/* 07FEEC 800E6A3C 0000102D */ daddu $v0, $zero, $zero +/* 07FEF0 800E6A40 3C028007 */ lui $v0, 0x8007 +/* 07FEF4 800E6A44 8C42419C */ lw $v0, 0x419c($v0) +/* 07FEF8 800E6A48 8C420144 */ lw $v0, 0x144($v0) +/* 07FEFC 800E6A4C 10400005 */ beqz $v0, .L800E6A64 +/* 07FF00 800E6A50 00000000 */ nop +/* 07FF04 800E6A54 94420000 */ lhu $v0, ($v0) +/* 07FF08 800E6A58 30420001 */ andi $v0, $v0, 1 +/* 07FF0C 800E6A5C 1440003C */ bnez $v0, .L800E6B50 +/* 07FF10 800E6A60 0000102D */ daddu $v0, $zero, $zero +.L800E6A64: +/* 07FF14 800E6A64 3C02800A */ lui $v0, 0x800a +/* 07FF18 800E6A68 8C42A650 */ lw $v0, -0x59b0($v0) +/* 07FF1C 800E6A6C 3C030004 */ lui $v1, 4 +/* 07FF20 800E6A70 00431024 */ and $v0, $v0, $v1 +/* 07FF24 800E6A74 14400036 */ bnez $v0, .L800E6B50 +/* 07FF28 800E6A78 0000102D */ daddu $v0, $zero, $zero +/* 07FF2C 800E6A7C 0C04D07A */ jal func_801341E8 +/* 07FF30 800E6A80 00000000 */ nop +/* 07FF34 800E6A84 14400032 */ bnez $v0, .L800E6B50 +/* 07FF38 800E6A88 0000102D */ daddu $v0, $zero, $zero +/* 07FF3C 800E6A8C 8E220004 */ lw $v0, 4($s1) +/* 07FF40 800E6A90 30424000 */ andi $v0, $v0, 0x4000 +/* 07FF44 800E6A94 1440002B */ bnez $v0, .L800E6B44 +/* 07FF48 800E6A98 00000000 */ nop +/* 07FF4C 800E6A9C 82420000 */ lb $v0, ($s2) +/* 07FF50 800E6AA0 1440000A */ bnez $v0, .L800E6ACC +/* 07FF54 800E6AA4 00000000 */ nop +/* 07FF58 800E6AA8 8E220000 */ lw $v0, ($s1) +/* 07FF5C 800E6AAC 30421000 */ andi $v0, $v0, 0x1000 +/* 07FF60 800E6AB0 14400027 */ bnez $v0, .L800E6B50 +/* 07FF64 800E6AB4 0000102D */ daddu $v0, $zero, $zero +/* 07FF68 800E6AB8 2E020003 */ sltiu $v0, $s0, 3 +/* 07FF6C 800E6ABC 10400023 */ beqz $v0, .L800E6B4C +/* 07FF70 800E6AC0 24020001 */ addiu $v0, $zero, 1 +/* 07FF74 800E6AC4 08039AD4 */ j .L800E6B50 +/* 07FF78 800E6AC8 00000000 */ nop + +.L800E6ACC: +/* 07FF7C 800E6ACC 0C03ACF8 */ jal func_800EB3E0 +/* 07FF80 800E6AD0 00000000 */ nop +/* 07FF84 800E6AD4 1040001D */ beqz $v0, .L800E6B4C +/* 07FF88 800E6AD8 24020006 */ addiu $v0, $zero, 6 +/* 07FF8C 800E6ADC 82430003 */ lb $v1, 3($s2) +/* 07FF90 800E6AE0 14620003 */ bne $v1, $v0, .L800E6AF0 +/* 07FF94 800E6AE4 24020009 */ addiu $v0, $zero, 9 +/* 07FF98 800E6AE8 08039AD4 */ j .L800E6B50 +/* 07FF9C 800E6AEC 2E020003 */ sltiu $v0, $s0, 3 + +.L800E6AF0: +/* 07FFA0 800E6AF0 14620007 */ bne $v1, $v0, .L800E6B10 +/* 07FFA4 800E6AF4 24020008 */ addiu $v0, $zero, 8 +/* 07FFA8 800E6AF8 24020021 */ addiu $v0, $zero, 0x21 +/* 07FFAC 800E6AFC 16020014 */ bne $s0, $v0, .L800E6B50 +/* 07FFB0 800E6B00 0000102D */ daddu $v0, $zero, $zero +/* 07FFB4 800E6B04 A220000F */ sb $zero, 0xf($s1) +/* 07FFB8 800E6B08 08039AD4 */ j .L800E6B50 +/* 07FFBC 800E6B0C 24020001 */ addiu $v0, $zero, 1 + +.L800E6B10: +/* 07FFC0 800E6B10 1462000A */ bne $v1, $v0, .L800E6B3C +/* 07FFC4 800E6B14 24020007 */ addiu $v0, $zero, 7 +/* 07FFC8 800E6B18 24020021 */ addiu $v0, $zero, 0x21 +/* 07FFCC 800E6B1C 1602000C */ bne $s0, $v0, .L800E6B50 +/* 07FFD0 800E6B20 0000102D */ daddu $v0, $zero, $zero +/* 07FFD4 800E6B24 0C0AF5F7 */ jal func_802BD7DC +/* 07FFD8 800E6B28 00000000 */ nop +/* 07FFDC 800E6B2C 14400008 */ bnez $v0, .L800E6B50 +/* 07FFE0 800E6B30 24020001 */ addiu $v0, $zero, 1 +/* 07FFE4 800E6B34 08039AD1 */ j .L800E6B44 +/* 07FFE8 800E6B38 00000000 */ nop + +.L800E6B3C: +/* 07FFEC 800E6B3C 14620004 */ bne $v1, $v0, .L800E6B50 +/* 07FFF0 800E6B40 0000102D */ daddu $v0, $zero, $zero +.L800E6B44: +/* 07FFF4 800E6B44 0C05272D */ jal play_sound +/* 07FFF8 800E6B48 2404021D */ addiu $a0, $zero, 0x21d +.L800E6B4C: +/* 07FFFC 800E6B4C 0000102D */ daddu $v0, $zero, $zero +.L800E6B50: +/* 080000 800E6B50 8FBF001C */ lw $ra, 0x1c($sp) +/* 080004 800E6B54 8FB20018 */ lw $s2, 0x18($sp) +/* 080008 800E6B58 8FB10014 */ lw $s1, 0x14($sp) +/* 08000C 800E6B5C 8FB00010 */ lw $s0, 0x10($sp) +/* 080010 800E6B60 03E00008 */ jr $ra +/* 080014 800E6B64 27BD0020 */ addiu $sp, $sp, 0x20 + +func_800E6B68: +/* 080018 800E6B68 3C018011 */ lui $at, 0x8011 +/* 08001C 800E6B6C A420CD00 */ sh $zero, -0x3300($at) +/* 080020 800E6B70 03E00008 */ jr $ra +/* 080024 800E6B74 00000000 */ nop + +func_800E6B78: +/* 080028 800E6B78 3C0B8011 */ lui $t3, 0x8011 +/* 08002C 800E6B7C 256BF290 */ addiu $t3, $t3, -0xd70 +/* 080030 800E6B80 0000502D */ daddu $t2, $zero, $zero +/* 080034 800E6B84 24090001 */ addiu $t1, $zero, 1 +/* 080038 800E6B88 24180005 */ addiu $t8, $zero, 5 +/* 08003C 800E6B8C 3C0F8009 */ lui $t7, 0x8009 +/* 080040 800E6B90 25EFEF20 */ addiu $t7, $t7, -0x10e0 +/* 080044 800E6B94 3C0E800F */ lui $t6, 0x800f +/* 080048 800E6B98 25CE7F00 */ addiu $t6, $t6, 0x7f00 +/* 08004C 800E6B9C 0120682D */ daddu $t5, $t1, $zero +/* 080050 800E6BA0 3C0C800F */ lui $t4, 0x800f +/* 080054 800E6BA4 258C7F40 */ addiu $t4, $t4, 0x7f40 +/* 080058 800E6BA8 3C088009 */ lui $t0, 0x8009 +/* 08005C 800E6BAC 2508EEC4 */ addiu $t0, $t0, -0x113c +.L800E6BB0: +/* 080060 800E6BB0 8D050000 */ lw $a1, ($t0) +/* 080064 800E6BB4 000510C0 */ sll $v0, $a1, 3 +/* 080068 800E6BB8 01623021 */ addu $a2, $t3, $v0 +/* 08006C 800E6BBC 90C20014 */ lbu $v0, 0x14($a2) +/* 080070 800E6BC0 5040001B */ beql $v0, $zero, .L800E6C30 +/* 080074 800E6BC4 25290001 */ addiu $t1, $t1, 1 +/* 080078 800E6BC8 50B80019 */ beql $a1, $t8, .L800E6C30 +/* 08007C 800E6BCC 25290001 */ addiu $t1, $t1, 1 +/* 080080 800E6BD0 00053880 */ sll $a3, $a1, 2 +/* 080084 800E6BD4 00EE1021 */ addu $v0, $a3, $t6 +/* 080088 800E6BD8 00051900 */ sll $v1, $a1, 4 +/* 08008C 800E6BDC 8C420000 */ lw $v0, ($v0) +/* 080090 800E6BE0 006F1821 */ addu $v1, $v1, $t7 +/* 080094 800E6BE4 AC850108 */ sw $a1, 0x108($a0) +/* 080098 800E6BE8 AC8D018C */ sw $t5, 0x18c($a0) +/* 08009C 800E6BEC AC820000 */ sw $v0, ($a0) +/* 0800A0 800E6BF0 8C620000 */ lw $v0, ($v1) +/* 0800A4 800E6BF4 AC820084 */ sw $v0, 0x84($a0) +/* 0800A8 800E6BF8 8C620008 */ lw $v0, 8($v1) +/* 0800AC 800E6BFC AC820294 */ sw $v0, 0x294($a0) +/* 0800B0 800E6C00 80C20015 */ lb $v0, 0x15($a2) +/* 0800B4 800E6C04 AC820210 */ sw $v0, 0x210($a0) +/* 0800B8 800E6C08 81620012 */ lb $v0, 0x12($t3) +/* 0800BC 800E6C0C 54450006 */ bnel $v0, $a1, .L800E6C28 +/* 0800C0 800E6C10 24840004 */ addiu $a0, $a0, 4 +/* 0800C4 800E6C14 00EC1021 */ addu $v0, $a3, $t4 +/* 0800C8 800E6C18 AC80018C */ sw $zero, 0x18c($a0) +/* 0800CC 800E6C1C 8C420000 */ lw $v0, ($v0) +/* 0800D0 800E6C20 AC820000 */ sw $v0, ($a0) +/* 0800D4 800E6C24 24840004 */ addiu $a0, $a0, 4 +.L800E6C28: +/* 0800D8 800E6C28 254A0001 */ addiu $t2, $t2, 1 +/* 0800DC 800E6C2C 25290001 */ addiu $t1, $t1, 1 +.L800E6C30: +/* 0800E0 800E6C30 2922000C */ slti $v0, $t1, 0xc +/* 0800E4 800E6C34 1440FFDE */ bnez $v0, .L800E6BB0 +/* 0800E8 800E6C38 25080004 */ addiu $t0, $t0, 4 +/* 0800EC 800E6C3C 03E00008 */ jr $ra +/* 0800F0 800E6C40 0140102D */ daddu $v0, $t2, $zero + +func_800E6C44: +/* 0800F4 800E6C44 0000402D */ daddu $t0, $zero, $zero +/* 0800F8 800E6C48 0100302D */ daddu $a2, $t0, $zero +/* 0800FC 800E6C4C 3C0B8008 */ lui $t3, 0x8008 +/* 080100 800E6C50 256B78E0 */ addiu $t3, $t3, 0x78e0 +/* 080104 800E6C54 3C0A8009 */ lui $t2, 0x8009 +/* 080108 800E6C58 254AA680 */ addiu $t2, $t2, -0x5980 +/* 08010C 800E6C5C 24090001 */ addiu $t1, $zero, 1 +/* 080110 800E6C60 3C078011 */ lui $a3, 0x8011 +/* 080114 800E6C64 24E7F290 */ addiu $a3, $a3, -0xd70 +.L800E6C68: +/* 080118 800E6C68 84E201B4 */ lh $v0, 0x1b4($a3) +/* 08011C 800E6C6C 50400018 */ beql $v0, $zero, .L800E6CD0 +/* 080120 800E6C70 24C60001 */ addiu $a2, $a2, 1 +/* 080124 800E6C74 00021140 */ sll $v0, $v0, 5 +/* 080128 800E6C78 004B2821 */ addu $a1, $v0, $t3 +/* 08012C 800E6C7C 84A20004 */ lh $v0, 4($a1) +/* 080130 800E6C80 94A30018 */ lhu $v1, 0x18($a1) +/* 080134 800E6C84 000210C0 */ sll $v0, $v0, 3 +/* 080138 800E6C88 30630001 */ andi $v1, $v1, 1 +/* 08013C 800E6C8C 10600005 */ beqz $v1, .L800E6CA4 +/* 080140 800E6C90 004A1021 */ addu $v0, $v0, $t2 +/* 080144 800E6C94 8C420000 */ lw $v0, ($v0) +/* 080148 800E6C98 AC860108 */ sw $a2, 0x108($a0) +/* 08014C 800E6C9C 08039B2C */ j .L800E6CB0 +/* 080150 800E6CA0 AC89018C */ sw $t1, 0x18c($a0) + +.L800E6CA4: +/* 080154 800E6CA4 8C420004 */ lw $v0, 4($v0) +/* 080158 800E6CA8 AC860108 */ sw $a2, 0x108($a0) +/* 08015C 800E6CAC AC80018C */ sw $zero, 0x18c($a0) +.L800E6CB0: +/* 080160 800E6CB0 AC820000 */ sw $v0, ($a0) +/* 080164 800E6CB4 8CA20000 */ lw $v0, ($a1) +/* 080168 800E6CB8 AC820084 */ sw $v0, 0x84($a0) +/* 08016C 800E6CBC 8CA20014 */ lw $v0, 0x14($a1) +/* 080170 800E6CC0 25080001 */ addiu $t0, $t0, 1 +/* 080174 800E6CC4 AC820294 */ sw $v0, 0x294($a0) +/* 080178 800E6CC8 24840004 */ addiu $a0, $a0, 4 +/* 08017C 800E6CCC 24C60001 */ addiu $a2, $a2, 1 +.L800E6CD0: +/* 080180 800E6CD0 28C2000A */ slti $v0, $a2, 0xa +/* 080184 800E6CD4 1440FFE4 */ bnez $v0, .L800E6C68 +/* 080188 800E6CD8 24E70002 */ addiu $a3, $a3, 2 +/* 08018C 800E6CDC 03E00008 */ jr $ra +/* 080190 800E6CE0 0100102D */ daddu $v0, $t0, $zero + +func_800E6CE4: +/* 080194 800E6CE4 3C038007 */ lui $v1, 0x8007 +/* 080198 800E6CE8 8C63419C */ lw $v1, 0x419c($v1) +/* 08019C 800E6CEC 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 0801A0 800E6CF0 AFB3001C */ sw $s3, 0x1c($sp) +/* 0801A4 800E6CF4 3C138011 */ lui $s3, 0x8011 +/* 0801A8 800E6CF8 2673EBB0 */ addiu $s3, $s3, -0x1450 +/* 0801AC 800E6CFC AFB40020 */ sw $s4, 0x20($sp) +/* 0801B0 800E6D00 3C148011 */ lui $s4, 0x8011 +/* 0801B4 800E6D04 2694EFC8 */ addiu $s4, $s4, -0x1038 +/* 0801B8 800E6D08 AFBF0024 */ sw $ra, 0x24($sp) +/* 0801BC 800E6D0C AFB20018 */ sw $s2, 0x18($sp) +/* 0801C0 800E6D10 AFB10014 */ sw $s1, 0x14($sp) +/* 0801C4 800E6D14 AFB00010 */ sw $s0, 0x10($sp) +/* 0801C8 800E6D18 80620078 */ lb $v0, 0x78($v1) +/* 0801CC 800E6D1C 3C128011 */ lui $s2, 0x8011 +/* 0801D0 800E6D20 2652C9C8 */ addiu $s2, $s2, -0x3638 +/* 0801D4 800E6D24 14400151 */ bnez $v0, .L800E726C +/* 0801D8 800E6D28 00000000 */ nop +/* 0801DC 800E6D2C 9062007E */ lbu $v0, 0x7e($v1) +/* 0801E0 800E6D30 30420001 */ andi $v0, $v0, 1 +/* 0801E4 800E6D34 1440014D */ bnez $v0, .L800E726C +/* 0801E8 800E6D38 0000202D */ daddu $a0, $zero, $zero +/* 0801EC 800E6D3C 3C05F5DE */ lui $a1, 0xf5de +/* 0801F0 800E6D40 0C0B1EAF */ jal get_variable +/* 0801F4 800E6D44 34A50180 */ ori $a1, $a1, 0x180 +/* 0801F8 800E6D48 2403FF80 */ addiu $v1, $zero, -0x80 +/* 0801FC 800E6D4C 10430147 */ beq $v0, $v1, .L800E726C +/* 080200 800E6D50 00000000 */ nop +/* 080204 800E6D54 82620000 */ lb $v0, ($s3) +/* 080208 800E6D58 1040000A */ beqz $v0, .L800E6D84 +/* 08020C 800E6D5C 00000000 */ nop +/* 080210 800E6D60 92620003 */ lbu $v0, 3($s3) +/* 080214 800E6D64 2442FFF9 */ addiu $v0, $v0, -7 +/* 080218 800E6D68 2C420003 */ sltiu $v0, $v0, 3 +/* 08021C 800E6D6C 10400005 */ beqz $v0, .L800E6D84 +/* 080220 800E6D70 0000202D */ daddu $a0, $zero, $zero +/* 080224 800E6D74 8E710008 */ lw $s1, 8($s3) +/* 080228 800E6D78 8E70000C */ lw $s0, 0xc($s3) +/* 08022C 800E6D7C 08039B65 */ j .L800E6D94 +/* 080230 800E6D80 3C05F5DE */ lui $a1, 0xf5de + +.L800E6D84: +/* 080234 800E6D84 8E9100DC */ lw $s1, 0xdc($s4) +/* 080238 800E6D88 8E9000E0 */ lw $s0, 0xe0($s4) +/* 08023C 800E6D8C 0000202D */ daddu $a0, $zero, $zero +/* 080240 800E6D90 3C05F5DE */ lui $a1, 0xf5de +.L800E6D94: +/* 080244 800E6D94 0C0B1EAF */ jal get_variable +/* 080248 800E6D98 34A50180 */ ori $a1, $a1, 0x180 +/* 08024C 800E6D9C 28420060 */ slti $v0, $v0, 0x60 +/* 080250 800E6DA0 14400003 */ bnez $v0, .L800E6DB0 +/* 080254 800E6DA4 2402FFFC */ addiu $v0, $zero, -4 +/* 080258 800E6DA8 02228824 */ and $s1, $s1, $v0 +/* 08025C 800E6DAC 02028024 */ and $s0, $s0, $v0 +.L800E6DB0: +/* 080260 800E6DB0 3C038011 */ lui $v1, 0x8011 +/* 080264 800E6DB4 8463CD00 */ lh $v1, -0x3300($v1) +/* 080268 800E6DB8 2C62000B */ sltiu $v0, $v1, 0xb +/* 08026C 800E6DBC 1040012B */ beqz $v0, .L800E726C +/* 080270 800E6DC0 00031080 */ sll $v0, $v1, 2 +/* 080274 800E6DC4 3C018011 */ lui $at, 0x8011 +/* 080278 800E6DC8 00220821 */ addu $at, $at, $v0 +/* 08027C 800E6DCC 8C22BF30 */ lw $v0, -0x40d0($at) +/* 080280 800E6DD0 00400008 */ jr $v0 +/* 080284 800E6DD4 00000000 */ nop +/* 080288 800E6DD8 0220202D */ daddu $a0, $s1, $zero +/* 08028C 800E6DDC 0C039A77 */ jal func_800E69DC +/* 080290 800E6DE0 0200282D */ daddu $a1, $s0, $zero +/* 080294 800E6DE4 10400121 */ beqz $v0, .L800E726C +/* 080298 800E6DE8 24020001 */ addiu $v0, $zero, 1 +/* 08029C 800E6DEC 3C038011 */ lui $v1, 0x8011 +/* 0802A0 800E6DF0 2463CCF8 */ addiu $v1, $v1, -0x3308 +/* 0802A4 800E6DF4 A4620000 */ sh $v0, ($v1) +/* 0802A8 800E6DF8 32020001 */ andi $v0, $s0, 1 +/* 0802AC 800E6DFC 54400001 */ bnezl $v0, .L800E6E04 +/* 0802B0 800E6E00 A4600000 */ sh $zero, ($v1) +.L800E6E04: +/* 0802B4 800E6E04 32021000 */ andi $v0, $s0, 0x1000 +/* 0802B8 800E6E08 10400002 */ beqz $v0, .L800E6E14 +/* 0802BC 800E6E0C 24020002 */ addiu $v0, $zero, 2 +/* 0802C0 800E6E10 A4620000 */ sh $v0, ($v1) +.L800E6E14: +/* 0802C4 800E6E14 3C018011 */ lui $at, 0x8011 +/* 0802C8 800E6E18 A420C9C0 */ sh $zero, -0x3640($at) +.L800E6E1C: +/* 0802CC 800E6E1C 3C038011 */ lui $v1, 0x8011 +/* 0802D0 800E6E20 8463CCF8 */ lh $v1, -0x3308($v1) +/* 0802D4 800E6E24 10600005 */ beqz $v1, .L800E6E3C +/* 0802D8 800E6E28 24020001 */ addiu $v0, $zero, 1 +/* 0802DC 800E6E2C 1062001F */ beq $v1, $v0, .L800E6EAC +/* 0802E0 800E6E30 00000000 */ nop +/* 0802E4 800E6E34 08039BB2 */ j .L800E6EC8 +/* 0802E8 800E6E38 00000000 */ nop + +.L800E6E3C: +/* 0802EC 800E6E3C 8E820000 */ lw $v0, ($s4) +/* 0802F0 800E6E40 30420040 */ andi $v0, $v0, 0x40 +/* 0802F4 800E6E44 10400009 */ beqz $v0, .L800E6E6C +/* 0802F8 800E6E48 00000000 */ nop +/* 0802FC 800E6E4C 0C05272D */ jal play_sound +/* 080300 800E6E50 2404021D */ addiu $a0, $zero, 0x21d +/* 080304 800E6E54 3C028011 */ lui $v0, 0x8011 +/* 080308 800E6E58 8442C9C0 */ lh $v0, -0x3640($v0) +/* 08030C 800E6E5C 10400103 */ beqz $v0, .L800E726C +/* 080310 800E6E60 00000000 */ nop +/* 080314 800E6E64 08039C72 */ j .L800E71C8 +/* 080318 800E6E68 00000000 */ nop + +.L800E6E6C: +/* 08031C 800E6E6C 0C039ADE */ jal func_800E6B78 +/* 080320 800E6E70 0240202D */ daddu $a0, $s2, $zero +/* 080324 800E6E74 104000FD */ beqz $v0, .L800E726C +/* 080328 800E6E78 24030001 */ addiu $v1, $zero, 1 +/* 08032C 800E6E7C AE420324 */ sw $v0, 0x324($s2) +/* 080330 800E6E80 3C028011 */ lui $v0, 0x8011 +/* 080334 800E6E84 2442F290 */ addiu $v0, $v0, -0xd70 +/* 080338 800E6E88 80420012 */ lb $v0, 0x12($v0) +/* 08033C 800E6E8C AE430318 */ sw $v1, 0x318($s2) +/* 080340 800E6E90 00021080 */ sll $v0, $v0, 2 +/* 080344 800E6E94 3C018009 */ lui $at, 0x8009 +/* 080348 800E6E98 00220821 */ addu $at, $at, $v0 +/* 08034C 800E6E9C 8C22EEF0 */ lw $v0, -0x1110($at) +/* 080350 800E6EA0 2442FFFF */ addiu $v0, $v0, -1 +/* 080354 800E6EA4 08039BB2 */ j .L800E6EC8 +/* 080358 800E6EA8 AE420328 */ sw $v0, 0x328($s2) + +.L800E6EAC: +/* 08035C 800E6EAC 0C039B11 */ jal func_800E6C44 +/* 080360 800E6EB0 0240202D */ daddu $a0, $s2, $zero +/* 080364 800E6EB4 104000ED */ beqz $v0, .L800E726C +/* 080368 800E6EB8 00000000 */ nop +/* 08036C 800E6EBC AE400318 */ sw $zero, 0x318($s2) +/* 080370 800E6EC0 AE420324 */ sw $v0, 0x324($s2) +/* 080374 800E6EC4 AE400328 */ sw $zero, 0x328($s2) +.L800E6EC8: +/* 080378 800E6EC8 8E820000 */ lw $v0, ($s4) +/* 08037C 800E6ECC 34420020 */ ori $v0, $v0, 0x20 +/* 080380 800E6ED0 0C03805E */ jal func_800E0178 +/* 080384 800E6ED4 AE820000 */ sw $v0, ($s4) +/* 080388 800E6ED8 0C03BD8A */ jal func_800EF628 +/* 08038C 800E6EDC 00000000 */ nop +/* 080390 800E6EE0 24020003 */ addiu $v0, $zero, 3 +/* 080394 800E6EE4 3C018011 */ lui $at, 0x8011 +/* 080398 800E6EE8 A422CCFA */ sh $v0, -0x3306($at) +/* 08039C 800E6EEC 92820015 */ lbu $v0, 0x15($s4) +/* 0803A0 800E6EF0 24030001 */ addiu $v1, $zero, 1 +/* 0803A4 800E6EF4 3C018011 */ lui $at, 0x8011 +/* 0803A8 800E6EF8 A423CD00 */ sh $v1, -0x3300($at) +/* 0803AC 800E6EFC 00021600 */ sll $v0, $v0, 0x18 +/* 0803B0 800E6F00 00021603 */ sra $v0, $v0, 0x18 +/* 0803B4 800E6F04 3C018011 */ lui $at, 0x8011 +/* 0803B8 800E6F08 A422CCFE */ sh $v0, -0x3302($at) +/* 0803BC 800E6F0C 08039C9B */ j .L800E726C +/* 0803C0 800E6F10 00000000 */ nop + +/* 0803C4 800E6F14 0C039A41 */ jal func_800E6904 +/* 0803C8 800E6F18 00000000 */ nop +/* 0803CC 800E6F1C 1040000B */ beqz $v0, .L800E6F4C +/* 0803D0 800E6F20 00000000 */ nop +/* 0803D4 800E6F24 0C04D07A */ jal func_801341E8 +/* 0803D8 800E6F28 00000000 */ nop +/* 0803DC 800E6F2C 14400007 */ bnez $v0, .L800E6F4C +/* 0803E0 800E6F30 00000000 */ nop +/* 0803E4 800E6F34 3C028011 */ lui $v0, 0x8011 +/* 0803E8 800E6F38 8442CCFE */ lh $v0, -0x3302($v0) +/* 0803EC 800E6F3C 82830015 */ lb $v1, 0x15($s4) +/* 0803F0 800E6F40 0043102A */ slt $v0, $v0, $v1 +/* 0803F4 800E6F44 10400010 */ beqz $v0, .L800E6F88 +/* 0803F8 800E6F48 00000000 */ nop +.L800E6F4C: +/* 0803FC 800E6F4C 8E820000 */ lw $v0, ($s4) +/* 080400 800E6F50 2403FFDF */ addiu $v1, $zero, -0x21 +/* 080404 800E6F54 00431024 */ and $v0, $v0, $v1 +/* 080408 800E6F58 0C038069 */ jal func_800E01A4 +/* 08040C 800E6F5C AE820000 */ sw $v0, ($s4) +/* 080410 800E6F60 0C03BD80 */ jal func_800EF600 +/* 080414 800E6F64 00000000 */ nop +/* 080418 800E6F68 3C028011 */ lui $v0, 0x8011 +/* 08041C 800E6F6C 8442C9C0 */ lh $v0, -0x3640($v0) +/* 080420 800E6F70 3C018011 */ lui $at, 0x8011 +/* 080424 800E6F74 A420CD00 */ sh $zero, -0x3300($at) +/* 080428 800E6F78 104000BC */ beqz $v0, .L800E726C +/* 08042C 800E6F7C 00000000 */ nop +/* 080430 800E6F80 08039C72 */ j .L800E71C8 +/* 080434 800E6F84 00000000 */ nop + +.L800E6F88: +/* 080438 800E6F88 3C038011 */ lui $v1, 0x8011 +/* 08043C 800E6F8C 2463CCFA */ addiu $v1, $v1, -0x3306 +/* 080440 800E6F90 94620000 */ lhu $v0, ($v1) +/* 080444 800E6F94 2442FFFF */ addiu $v0, $v0, -1 +/* 080448 800E6F98 A4620000 */ sh $v0, ($v1) +/* 08044C 800E6F9C 00021400 */ sll $v0, $v0, 0x10 +/* 080450 800E6FA0 144000B2 */ bnez $v0, .L800E726C +/* 080454 800E6FA4 24040002 */ addiu $a0, $zero, 2 +/* 080458 800E6FA8 3C02800A */ lui $v0, 0x800a +/* 08045C 800E6FAC 2442A650 */ addiu $v0, $v0, -0x59b0 +/* 080460 800E6FB0 8C430000 */ lw $v1, ($v0) +/* 080464 800E6FB4 3C018011 */ lui $at, 0x8011 +/* 080468 800E6FB8 A424CD00 */ sh $a0, -0x3300($at) +/* 08046C 800E6FBC 34630040 */ ori $v1, $v1, 0x40 +/* 080470 800E6FC0 08039C9B */ j .L800E726C +/* 080474 800E6FC4 AC430000 */ sw $v1, ($v0) + +/* 080478 800E6FC8 3C038011 */ lui $v1, 0x8011 +/* 08047C 800E6FCC 8463CCF8 */ lh $v1, -0x3308($v1) +/* 080480 800E6FD0 24020002 */ addiu $v0, $zero, 2 +/* 080484 800E6FD4 1462000C */ bne $v1, $v0, .L800E7008 +/* 080488 800E6FD8 00000000 */ nop +/* 08048C 800E6FDC 0C00CD3C */ jal set_game_mode +/* 080490 800E6FE0 2404000A */ addiu $a0, $zero, 0xa +/* 080494 800E6FE4 0C05272D */ jal play_sound +/* 080498 800E6FE8 240400C5 */ addiu $a0, $zero, 0xc5 +/* 08049C 800E6FEC 2402000A */ addiu $v0, $zero, 0xa +/* 0804A0 800E6FF0 3C018011 */ lui $at, 0x8011 +/* 0804A4 800E6FF4 A422CCFA */ sh $v0, -0x3306($at) +/* 0804A8 800E6FF8 3C018011 */ lui $at, 0x8011 +/* 0804AC 800E6FFC A422CD00 */ sh $v0, -0x3300($at) +/* 0804B0 800E7000 08039C9B */ j .L800E726C +/* 0804B4 800E7004 00000000 */ nop + +.L800E7008: +/* 0804B8 800E7008 0C03D390 */ jal func_800F4E40 +/* 0804BC 800E700C 0240202D */ daddu $a0, $s2, $zero +/* 0804C0 800E7010 0C009C22 */ jal func_80027088 +/* 0804C4 800E7014 24040003 */ addiu $a0, $zero, 3 +/* 0804C8 800E7018 82620000 */ lb $v0, ($s3) +/* 0804CC 800E701C 14400003 */ bnez $v0, .L800E702C +/* 0804D0 800E7020 00000000 */ nop +/* 0804D4 800E7024 0C039769 */ jal set_action_state +/* 0804D8 800E7028 0000202D */ daddu $a0, $zero, $zero +.L800E702C: +/* 0804DC 800E702C 3C038011 */ lui $v1, 0x8011 +/* 0804E0 800E7030 2463CD00 */ addiu $v1, $v1, -0x3300 +/* 0804E4 800E7034 94620000 */ lhu $v0, ($v1) +/* 0804E8 800E7038 24420001 */ addiu $v0, $v0, 1 +/* 0804EC 800E703C 08039C9B */ j .L800E726C +/* 0804F0 800E7040 A4620000 */ sh $v0, ($v1) + +/* 0804F4 800E7044 2402FFFF */ addiu $v0, $zero, -1 +/* 0804F8 800E7048 8643032C */ lh $v1, 0x32c($s2) +/* 0804FC 800E704C 10620087 */ beq $v1, $v0, .L800E726C +/* 080500 800E7050 9644032C */ lhu $a0, 0x32c($s2) +/* 080504 800E7054 3C018011 */ lui $at, 0x8011 +/* 080508 800E7058 A424CCFC */ sh $a0, -0x3304($at) +/* 08050C 800E705C 10600083 */ beqz $v1, .L800E726C +/* 080510 800E7060 00000000 */ nop +/* 080514 800E7064 0C03C4EC */ jal func_800F13B0 +/* 080518 800E7068 00000000 */ nop +/* 08051C 800E706C 3C028011 */ lui $v0, 0x8011 +/* 080520 800E7070 2442CD00 */ addiu $v0, $v0, -0x3300 +/* 080524 800E7074 94430000 */ lhu $v1, ($v0) +/* 080528 800E7078 2404000F */ addiu $a0, $zero, 0xf +/* 08052C 800E707C 3C018011 */ lui $at, 0x8011 +/* 080530 800E7080 A424CCFA */ sh $a0, -0x3306($at) +/* 080534 800E7084 24630001 */ addiu $v1, $v1, 1 +/* 080538 800E7088 08039C9B */ j .L800E726C +/* 08053C 800E708C A4430000 */ sh $v1, ($v0) + +/* 080540 800E7090 3C038011 */ lui $v1, 0x8011 +/* 080544 800E7094 2463CCFA */ addiu $v1, $v1, -0x3306 +/* 080548 800E7098 94620000 */ lhu $v0, ($v1) +/* 08054C 800E709C 2442FFFF */ addiu $v0, $v0, -1 +/* 080550 800E70A0 A4620000 */ sh $v0, ($v1) +/* 080554 800E70A4 00021400 */ sll $v0, $v0, 0x10 +/* 080558 800E70A8 14400070 */ bnez $v0, .L800E726C +/* 08055C 800E70AC 00000000 */ nop +/* 080560 800E70B0 0C03C54E */ jal func_800F1538 +/* 080564 800E70B4 00000000 */ nop +/* 080568 800E70B8 3C018011 */ lui $at, 0x8011 +/* 08056C 800E70BC A420CD00 */ sh $zero, -0x3300($at) +/* 080570 800E70C0 0C038069 */ jal func_800E01A4 +/* 080574 800E70C4 00000000 */ nop +/* 080578 800E70C8 0C03BD80 */ jal func_800EF600 +/* 08057C 800E70CC 00000000 */ nop +/* 080580 800E70D0 3C108011 */ lui $s0, 0x8011 +/* 080584 800E70D4 2610CCFC */ addiu $s0, $s0, -0x3304 +/* 080588 800E70D8 86030000 */ lh $v1, ($s0) +/* 08058C 800E70DC 2402FFFE */ addiu $v0, $zero, -2 +/* 080590 800E70E0 1462001B */ bne $v1, $v0, .L800E7150 +/* 080594 800E70E4 00000000 */ nop +/* 080598 800E70E8 0C039ADE */ jal func_800E6B78 +/* 08059C 800E70EC 0240202D */ daddu $a0, $s2, $zero +/* 0805A0 800E70F0 10400005 */ beqz $v0, .L800E7108 +/* 0805A4 800E70F4 240200FF */ addiu $v0, $zero, 0xff +/* 0805A8 800E70F8 0C039B11 */ jal func_800E6C44 +/* 0805AC 800E70FC 0240202D */ daddu $a0, $s2, $zero +/* 0805B0 800E7100 14400003 */ bnez $v0, .L800E7110 +/* 0805B4 800E7104 240200FF */ addiu $v0, $zero, 0xff +.L800E7108: +/* 0805B8 800E7108 08039C54 */ j .L800E7150 +/* 0805BC 800E710C A6020000 */ sh $v0, ($s0) + +.L800E7110: +/* 0805C0 800E7110 3C048011 */ lui $a0, 0x8011 +/* 0805C4 800E7114 2484CCF8 */ addiu $a0, $a0, -0x3308 +/* 0805C8 800E7118 84830000 */ lh $v1, ($a0) +/* 0805CC 800E711C 10600005 */ beqz $v1, .L800E7134 +/* 0805D0 800E7120 24020001 */ addiu $v0, $zero, 1 +/* 0805D4 800E7124 10620006 */ beq $v1, $v0, .L800E7140 +/* 0805D8 800E7128 24020001 */ addiu $v0, $zero, 1 +/* 0805DC 800E712C 08039C51 */ j .L800E7144 +/* 0805E0 800E7130 00000000 */ nop + +.L800E7134: +/* 0805E4 800E7134 24020001 */ addiu $v0, $zero, 1 +/* 0805E8 800E7138 08039C51 */ j .L800E7144 +/* 0805EC 800E713C A4820000 */ sh $v0, ($a0) + +.L800E7140: +/* 0805F0 800E7140 A4800000 */ sh $zero, ($a0) +.L800E7144: +/* 0805F4 800E7144 3C018011 */ lui $at, 0x8011 +/* 0805F8 800E7148 08039B87 */ j .L800E6E1C +/* 0805FC 800E714C A422C9C0 */ sh $v0, -0x3640($at) + +.L800E7150: +/* 080600 800E7150 3C038011 */ lui $v1, 0x8011 +/* 080604 800E7154 8463CCFC */ lh $v1, -0x3304($v1) +/* 080608 800E7158 240200FF */ addiu $v0, $zero, 0xff +/* 08060C 800E715C 1062001A */ beq $v1, $v0, .L800E71C8 +/* 080610 800E7160 00000000 */ nop +/* 080614 800E7164 3C048011 */ lui $a0, 0x8011 +/* 080618 800E7168 8484CCF8 */ lh $a0, -0x3308($a0) +/* 08061C 800E716C 10800005 */ beqz $a0, .L800E7184 +/* 080620 800E7170 24020001 */ addiu $v0, $zero, 1 +/* 080624 800E7174 1082000A */ beq $a0, $v0, .L800E71A0 +/* 080628 800E7178 2462FFFF */ addiu $v0, $v1, -1 +/* 08062C 800E717C 08039C72 */ j .L800E71C8 +/* 080630 800E7180 00000000 */ nop + +.L800E7184: +/* 080634 800E7184 2462FFFF */ addiu $v0, $v1, -1 +/* 080638 800E7188 00021080 */ sll $v0, $v0, 2 +/* 08063C 800E718C 02421021 */ addu $v0, $s2, $v0 +/* 080640 800E7190 0C03AC5A */ jal func_800EB168 +/* 080644 800E7194 8C440108 */ lw $a0, 0x108($v0) +/* 080648 800E7198 08039C72 */ j .L800E71C8 +/* 08064C 800E719C 00000000 */ nop + +.L800E71A0: +/* 080650 800E71A0 00021080 */ sll $v0, $v0, 2 +/* 080654 800E71A4 02421021 */ addu $v0, $s2, $v0 +/* 080658 800E71A8 0C03A900 */ jal use_consumable +/* 08065C 800E71AC 8C440108 */ lw $a0, 0x108($v0) +/* 080660 800E71B0 3C04800A */ lui $a0, 0x800a +/* 080664 800E71B4 2484A650 */ addiu $a0, $a0, -0x59b0 +/* 080668 800E71B8 8C820000 */ lw $v0, ($a0) +/* 08066C 800E71BC 3C030020 */ lui $v1, 0x20 +/* 080670 800E71C0 00431025 */ or $v0, $v0, $v1 +/* 080674 800E71C4 AC820000 */ sw $v0, ($a0) +.L800E71C8: +/* 080678 800E71C8 0C039A18 */ jal func_800E6860 +/* 08067C 800E71CC 00000000 */ nop +/* 080680 800E71D0 0000202D */ daddu $a0, $zero, $zero +/* 080684 800E71D4 2403FFDF */ addiu $v1, $zero, -0x21 +/* 080688 800E71D8 8E820000 */ lw $v0, ($s4) +/* 08068C 800E71DC 3C05800A */ lui $a1, 0x800a +/* 080690 800E71E0 24A5A650 */ addiu $a1, $a1, -0x59b0 +/* 080694 800E71E4 00431024 */ and $v0, $v0, $v1 +/* 080698 800E71E8 AE820000 */ sw $v0, ($s4) +/* 08069C 800E71EC 8CA20000 */ lw $v0, ($a1) +/* 0806A0 800E71F0 2403FFBF */ addiu $v1, $zero, -0x41 +/* 0806A4 800E71F4 00431024 */ and $v0, $v0, $v1 +/* 0806A8 800E71F8 0C009C22 */ jal func_80027088 +/* 0806AC 800E71FC ACA20000 */ sw $v0, ($a1) +/* 0806B0 800E7200 08039C9B */ j .L800E726C +/* 0806B4 800E7204 00000000 */ nop + +/* 0806B8 800E7208 3C038011 */ lui $v1, 0x8011 +/* 0806BC 800E720C 2463CCFA */ addiu $v1, $v1, -0x3306 +/* 0806C0 800E7210 94620000 */ lhu $v0, ($v1) +/* 0806C4 800E7214 2442FFFF */ addiu $v0, $v0, -1 +/* 0806C8 800E7218 A4620000 */ sh $v0, ($v1) +/* 0806CC 800E721C 00021400 */ sll $v0, $v0, 0x10 +/* 0806D0 800E7220 14400012 */ bnez $v0, .L800E726C +/* 0806D4 800E7224 00000000 */ nop +/* 0806D8 800E7228 0C039A18 */ jal func_800E6860 +/* 0806DC 800E722C 00000000 */ nop +/* 0806E0 800E7230 2403FFDF */ addiu $v1, $zero, -0x21 +/* 0806E4 800E7234 8E820000 */ lw $v0, ($s4) +/* 0806E8 800E7238 3C04800A */ lui $a0, 0x800a +/* 0806EC 800E723C 2484A650 */ addiu $a0, $a0, -0x59b0 +/* 0806F0 800E7240 3C018011 */ lui $at, 0x8011 +/* 0806F4 800E7244 A420CD00 */ sh $zero, -0x3300($at) +/* 0806F8 800E7248 00431024 */ and $v0, $v0, $v1 +/* 0806FC 800E724C AE820000 */ sw $v0, ($s4) +/* 080700 800E7250 8C820000 */ lw $v0, ($a0) +/* 080704 800E7254 2403FFBF */ addiu $v1, $zero, -0x41 +/* 080708 800E7258 00431024 */ and $v0, $v0, $v1 +/* 08070C 800E725C 0C038069 */ jal func_800E01A4 +/* 080710 800E7260 AC820000 */ sw $v0, ($a0) +/* 080714 800E7264 0C03BD80 */ jal func_800EF600 +/* 080718 800E7268 00000000 */ nop +.L800E726C: +/* 08071C 800E726C 8FBF0024 */ lw $ra, 0x24($sp) +/* 080720 800E7270 8FB40020 */ lw $s4, 0x20($sp) +/* 080724 800E7274 8FB3001C */ lw $s3, 0x1c($sp) +/* 080728 800E7278 8FB20018 */ lw $s2, 0x18($sp) +/* 08072C 800E727C 8FB10014 */ lw $s1, 0x14($sp) +/* 080730 800E7280 8FB00010 */ lw $s0, 0x10($sp) +/* 080734 800E7284 03E00008 */ jr $ra +/* 080738 800E7288 27BD0028 */ addiu $sp, $sp, 0x28 + +check_input_status_menu: +/* 08073C 800E728C 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 080740 800E7290 0000202D */ daddu $a0, $zero, $zero +/* 080744 800E7294 3C05F5DE */ lui $a1, 0xf5de +/* 080748 800E7298 34A50180 */ ori $a1, $a1, 0x180 +/* 08074C 800E729C AFBF0018 */ sw $ra, 0x18($sp) +/* 080750 800E72A0 AFB10014 */ sw $s1, 0x14($sp) +/* 080754 800E72A4 0C0B1EAF */ jal get_variable +/* 080758 800E72A8 AFB00010 */ sw $s0, 0x10($sp) +/* 08075C 800E72AC 3C118011 */ lui $s1, 0x8011 +/* 080760 800E72B0 2631EFC8 */ addiu $s1, $s1, -0x1038 +/* 080764 800E72B4 28420060 */ slti $v0, $v0, 0x60 +/* 080768 800E72B8 10400031 */ beqz $v0, .L800E7380 +/* 08076C 800E72BC 24020021 */ addiu $v0, $zero, 0x21 +/* 080770 800E72C0 822300B4 */ lb $v1, 0xb4($s1) +/* 080774 800E72C4 10620003 */ beq $v1, $v0, .L800E72D4 +/* 080778 800E72C8 00000000 */ nop +/* 08077C 800E72CC 08039CB8 */ j .L800E72E0 +/* 080780 800E72D0 8E3000E0 */ lw $s0, 0xe0($s1) + +.L800E72D4: +/* 080784 800E72D4 3C028007 */ lui $v0, 0x8007 +/* 080788 800E72D8 8C42419C */ lw $v0, 0x419c($v0) +/* 08078C 800E72DC 8C500010 */ lw $s0, 0x10($v0) +.L800E72E0: +/* 080790 800E72E0 0C03A644 */ jal is_status_menu_visible +/* 080794 800E72E4 00000000 */ nop +/* 080798 800E72E8 14400013 */ bnez $v0, .L800E7338 +/* 08079C 800E72EC 00000000 */ nop +/* 0807A0 800E72F0 8E2200DC */ lw $v0, 0xdc($s1) +/* 0807A4 800E72F4 30422010 */ andi $v0, $v0, 0x2010 +/* 0807A8 800E72F8 14400021 */ bnez $v0, .L800E7380 +/* 0807AC 800E72FC 32020008 */ andi $v0, $s0, 8 +/* 0807B0 800E7300 1040001F */ beqz $v0, .L800E7380 +/* 0807B4 800E7304 00000000 */ nop +/* 0807B8 800E7308 0C03A618 */ jal func_800E9860 +/* 0807BC 800E730C 00000000 */ nop +/* 0807C0 800E7310 1040001B */ beqz $v0, .L800E7380 +/* 0807C4 800E7314 00000000 */ nop +/* 0807C8 800E7318 0C03A5D8 */ jal open_status_menu_long +/* 0807CC 800E731C 00000000 */ nop +/* 0807D0 800E7320 0C04D07A */ jal func_801341E8 +/* 0807D4 800E7324 00000000 */ nop +/* 0807D8 800E7328 14400015 */ bnez $v0, .L800E7380 +/* 0807DC 800E732C 24040003 */ addiu $a0, $zero, 3 +/* 0807E0 800E7330 08039CDE */ j .L800E7378 +/* 0807E4 800E7334 00000000 */ nop + +.L800E7338: +/* 0807E8 800E7338 8E2200DC */ lw $v0, 0xdc($s1) +/* 0807EC 800E733C 30422010 */ andi $v0, $v0, 0x2010 +/* 0807F0 800E7340 1440000F */ bnez $v0, .L800E7380 +/* 0807F4 800E7344 32020008 */ andi $v0, $s0, 8 +/* 0807F8 800E7348 1040000D */ beqz $v0, .L800E7380 +/* 0807FC 800E734C 00000000 */ nop +/* 080800 800E7350 0C03A618 */ jal func_800E9860 +/* 080804 800E7354 00000000 */ nop +/* 080808 800E7358 10400009 */ beqz $v0, .L800E7380 +/* 08080C 800E735C 00000000 */ nop +/* 080810 800E7360 0C03A5EE */ jal func_800E97B8 +/* 080814 800E7364 00000000 */ nop +/* 080818 800E7368 0C04D07A */ jal func_801341E8 +/* 08081C 800E736C 00000000 */ nop +/* 080820 800E7370 14400003 */ bnez $v0, .L800E7380 +/* 080824 800E7374 24040004 */ addiu $a0, $zero, 4 +.L800E7378: +/* 080828 800E7378 0C05272D */ jal play_sound +/* 08082C 800E737C 00000000 */ nop +.L800E7380: +/* 080830 800E7380 8FBF0018 */ lw $ra, 0x18($sp) +/* 080834 800E7384 8FB10014 */ lw $s1, 0x14($sp) +/* 080838 800E7388 8FB00010 */ lw $s0, 0x10($sp) +/* 08083C 800E738C 03E00008 */ jr $ra +/* 080840 800E7390 27BD0020 */ addiu $sp, $sp, 0x20 + +/* 080844 800E7394 00000000 */ nop +/* 080848 800E7398 00000000 */ nop +/* 08084C 800E739C 00000000 */ nop diff --git a/papermario/asm/code_80850_len_3060.s b/papermario/asm/code_80850_len_3060.s new file mode 100644 index 0000000000..8cdb3bb9f6 --- /dev/null +++ b/papermario/asm/code_80850_len_3060.s @@ -0,0 +1,3537 @@ +# %s disassembly and split file +# generated by n64split v%s - N64 ROM splitter + +# assembler directives +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches +.set gp=64 # allow use of 64-bit general purpose registers + +.include "globals.inc" + + +.section .text800E73A0, "ax" + +clear_player_data: +/* 080850 800E73A0 0000182D */ daddu $v1, $zero, $zero +/* 080854 800E73A4 3C048011 */ lui $a0, 0x8011 +/* 080858 800E73A8 2484F290 */ addiu $a0, $a0, -0xd70 +/* 08085C 800E73AC 0080282D */ daddu $a1, $a0, $zero +/* 080860 800E73B0 2402FFFF */ addiu $v0, $zero, -1 +/* 080864 800E73B4 3C018011 */ lui $at, 0x8011 +/* 080868 800E73B8 A420CD10 */ sh $zero, -0x32f0($at) +/* 08086C 800E73BC 3C018011 */ lui $at, 0x8011 +/* 080870 800E73C0 A420CD12 */ sh $zero, -0x32ee($at) +/* 080874 800E73C4 A0820001 */ sb $v0, 1($a0) +/* 080878 800E73C8 2402000A */ addiu $v0, $zero, 0xa +/* 08087C 800E73CC A0820002 */ sb $v0, 2($a0) +/* 080880 800E73D0 A0820003 */ sb $v0, 3($a0) +/* 080884 800E73D4 A0820004 */ sb $v0, 4($a0) +/* 080888 800E73D8 24020005 */ addiu $v0, $zero, 5 +/* 08088C 800E73DC A0820005 */ sb $v0, 5($a0) +/* 080890 800E73E0 A0820006 */ sb $v0, 6($a0) +/* 080894 800E73E4 A0820007 */ sb $v0, 7($a0) +/* 080898 800E73E8 24020003 */ addiu $v0, $zero, 3 +/* 08089C 800E73EC A0820008 */ sb $v0, 8($a0) +/* 0808A0 800E73F0 24020001 */ addiu $v0, $zero, 1 +/* 0808A4 800E73F4 A0820009 */ sb $v0, 9($a0) +/* 0808A8 800E73F8 2402FFFF */ addiu $v0, $zero, -1 +/* 0808AC 800E73FC A0800000 */ sb $zero, ($a0) +/* 0808B0 800E7400 A080000A */ sb $zero, 0xa($a0) +/* 0808B4 800E7404 A480000C */ sh $zero, 0xc($a0) +/* 0808B8 800E7408 A080000E */ sb $zero, 0xe($a0) +/* 0808BC 800E740C A080000F */ sb $zero, 0xf($a0) +/* 0808C0 800E7410 A0800010 */ sb $zero, 0x10($a0) +/* 0808C4 800E7414 A0800011 */ sb $zero, 0x11($a0) +/* 0808C8 800E7418 A0800288 */ sb $zero, 0x288($a0) +/* 0808CC 800E741C A0800289 */ sb $zero, 0x289($a0) +/* 0808D0 800E7420 A080028A */ sb $zero, 0x28a($a0) +/* 0808D4 800E7424 A482028C */ sh $v0, 0x28c($a0) +/* 0808D8 800E7428 A080028E */ sb $zero, 0x28e($a0) +/* 0808DC 800E742C A4800290 */ sh $zero, 0x290($a0) +/* 0808E0 800E7430 A0800292 */ sb $zero, 0x292($a0) +/* 0808E4 800E7434 A0800012 */ sb $zero, 0x12($a0) +.L800E7438: +/* 0808E8 800E7438 A0A00014 */ sb $zero, 0x14($a1) +/* 0808EC 800E743C A0A00015 */ sb $zero, 0x15($a1) +/* 0808F0 800E7440 A4A00016 */ sh $zero, 0x16($a1) +/* 0808F4 800E7444 A4A00018 */ sh $zero, 0x18($a1) +/* 0808F8 800E7448 A4A0001A */ sh $zero, 0x1a($a1) +/* 0808FC 800E744C 24630001 */ addiu $v1, $v1, 1 +/* 080900 800E7450 2862000C */ slti $v0, $v1, 0xc +/* 080904 800E7454 1440FFF8 */ bnez $v0, .L800E7438 +/* 080908 800E7458 24A50008 */ addiu $a1, $a1, 8 +/* 08090C 800E745C 2403001F */ addiu $v1, $zero, 0x1f +/* 080910 800E7460 2482003E */ addiu $v0, $a0, 0x3e +.L800E7464: +/* 080914 800E7464 A4400074 */ sh $zero, 0x74($v0) +/* 080918 800E7468 2463FFFF */ addiu $v1, $v1, -1 +/* 08091C 800E746C 0461FFFD */ bgez $v1, .L800E7464 +/* 080920 800E7470 2442FFFE */ addiu $v0, $v0, -2 +/* 080924 800E7474 2403007F */ addiu $v1, $zero, 0x7f +/* 080928 800E7478 248200FE */ addiu $v0, $a0, 0xfe +.L800E747C: +/* 08092C 800E747C A44000B4 */ sh $zero, 0xb4($v0) +/* 080930 800E7480 2463FFFF */ addiu $v1, $v1, -1 +/* 080934 800E7484 0461FFFD */ bgez $v1, .L800E747C +/* 080938 800E7488 2442FFFE */ addiu $v0, $v0, -2 +/* 08093C 800E748C 24030009 */ addiu $v1, $zero, 9 +/* 080940 800E7490 24820012 */ addiu $v0, $a0, 0x12 +.L800E7494: +/* 080944 800E7494 A44001B4 */ sh $zero, 0x1b4($v0) +/* 080948 800E7498 2463FFFF */ addiu $v1, $v1, -1 +/* 08094C 800E749C 0461FFFD */ bgez $v1, .L800E7494 +/* 080950 800E74A0 2442FFFE */ addiu $v0, $v0, -2 +/* 080954 800E74A4 2403003F */ addiu $v1, $zero, 0x3f +/* 080958 800E74A8 2482007E */ addiu $v0, $a0, 0x7e +.L800E74AC: +/* 08095C 800E74AC A4400208 */ sh $zero, 0x208($v0) +/* 080960 800E74B0 2463FFFF */ addiu $v1, $v1, -1 +/* 080964 800E74B4 0461FFFD */ bgez $v1, .L800E74AC +/* 080968 800E74B8 2442FFFE */ addiu $v0, $v0, -2 +/* 08096C 800E74BC 2403001F */ addiu $v1, $zero, 0x1f +/* 080970 800E74C0 2482003E */ addiu $v0, $a0, 0x3e +.L800E74C4: +/* 080974 800E74C4 A44001C8 */ sh $zero, 0x1c8($v0) +/* 080978 800E74C8 2463FFFF */ addiu $v1, $v1, -1 +/* 08097C 800E74CC 0461FFFD */ bgez $v1, .L800E74C4 +/* 080980 800E74D0 2442FFFE */ addiu $v0, $v0, -2 +/* 080984 800E74D4 0000182D */ daddu $v1, $zero, $zero +/* 080988 800E74D8 0080282D */ daddu $a1, $a0, $zero +/* 08098C 800E74DC A4800294 */ sh $zero, 0x294($a0) +/* 080990 800E74E0 A4800296 */ sh $zero, 0x296($a0) +/* 080994 800E74E4 A4800298 */ sh $zero, 0x298($a0) +/* 080998 800E74E8 A480029A */ sh $zero, 0x29a($a0) +/* 08099C 800E74EC A480029C */ sh $zero, 0x29c($a0) +/* 0809A0 800E74F0 A480029E */ sh $zero, 0x29e($a0) +/* 0809A4 800E74F4 A48002A0 */ sh $zero, 0x2a0($a0) +/* 0809A8 800E74F8 A48002A2 */ sh $zero, 0x2a2($a0) +/* 0809AC 800E74FC A48002A4 */ sh $zero, 0x2a4($a0) +/* 0809B0 800E7500 A48002A6 */ sh $zero, 0x2a6($a0) +/* 0809B4 800E7504 A48002A8 */ sh $zero, 0x2a8($a0) +/* 0809B8 800E7508 A48002AA */ sh $zero, 0x2aa($a0) +/* 0809BC 800E750C AC8002AC */ sw $zero, 0x2ac($a0) +/* 0809C0 800E7510 AC8002B0 */ sw $zero, 0x2b0($a0) +/* 0809C4 800E7514 A48002B8 */ sh $zero, 0x2b8($a0) +/* 0809C8 800E7518 AC8002B4 */ sw $zero, 0x2b4($a0) +/* 0809CC 800E751C AC8002BC */ sw $zero, 0x2bc($a0) +/* 0809D0 800E7520 A48002C0 */ sh $zero, 0x2c0($a0) +/* 0809D4 800E7524 A48002C2 */ sh $zero, 0x2c2($a0) +.L800E7528: +/* 0809D8 800E7528 ACA002C4 */ sw $zero, 0x2c4($a1) +/* 0809DC 800E752C ACA002F4 */ sw $zero, 0x2f4($a1) +/* 0809E0 800E7530 24630001 */ addiu $v1, $v1, 1 +/* 0809E4 800E7534 2862000C */ slti $v0, $v1, 0xc +/* 0809E8 800E7538 1440FFFB */ bnez $v0, .L800E7528 +/* 0809EC 800E753C 24A50004 */ addiu $a1, $a1, 4 +/* 0809F0 800E7540 AC800328 */ sw $zero, 0x328($a0) +/* 0809F4 800E7544 A480032C */ sh $zero, 0x32c($a0) +/* 0809F8 800E7548 A480032E */ sh $zero, 0x32e($a0) +/* 0809FC 800E754C AC800330 */ sw $zero, 0x330($a0) +/* 080A00 800E7550 A4800334 */ sh $zero, 0x334($a0) +/* 080A04 800E7554 A4800336 */ sh $zero, 0x336($a0) +/* 080A08 800E7558 AC800338 */ sw $zero, 0x338($a0) +/* 080A0C 800E755C 03E00008 */ jr $ra +/* 080A10 800E7560 A480033C */ sh $zero, 0x33c($a0) + +get_player_data: +/* 080A14 800E7564 3C028011 */ lui $v0, 0x8011 +/* 080A18 800E7568 2442F290 */ addiu $v0, $v0, -0xd70 +/* 080A1C 800E756C 03E00008 */ jr $ra +/* 080A20 800E7570 00000000 */ nop + +add_item: +/* 080A24 800E7574 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 080A28 800E7578 AFB10014 */ sw $s1, 0x14($sp) +/* 080A2C 800E757C 0080882D */ daddu $s1, $a0, $zero +/* 080A30 800E7580 AFBF0018 */ sw $ra, 0x18($sp) +/* 080A34 800E7584 0C039DB3 */ jal sort_items +/* 080A38 800E7588 AFB00010 */ sw $s0, 0x10($sp) +/* 080A3C 800E758C 0000182D */ daddu $v1, $zero, $zero +/* 080A40 800E7590 3C108011 */ lui $s0, 0x8011 +/* 080A44 800E7594 2610F290 */ addiu $s0, $s0, -0xd70 +/* 080A48 800E7598 0200202D */ daddu $a0, $s0, $zero +.L800E759C: +/* 080A4C 800E759C 848201B4 */ lh $v0, 0x1b4($a0) +/* 080A50 800E75A0 10400006 */ beqz $v0, .L800E75BC +/* 080A54 800E75A4 2402000A */ addiu $v0, $zero, 0xa +/* 080A58 800E75A8 24630001 */ addiu $v1, $v1, 1 +/* 080A5C 800E75AC 2862000A */ slti $v0, $v1, 0xa +/* 080A60 800E75B0 1440FFFA */ bnez $v0, .L800E759C +/* 080A64 800E75B4 24840002 */ addiu $a0, $a0, 2 +/* 080A68 800E75B8 2402000A */ addiu $v0, $zero, 0xa +.L800E75BC: +/* 080A6C 800E75BC 10620005 */ beq $v1, $v0, .L800E75D4 +/* 080A70 800E75C0 00031040 */ sll $v0, $v1, 1 +/* 080A74 800E75C4 02021021 */ addu $v0, $s0, $v0 +/* 080A78 800E75C8 A45101B4 */ sh $s1, 0x1b4($v0) +/* 080A7C 800E75CC 08039D76 */ j .L800E75D8 +/* 080A80 800E75D0 0060102D */ daddu $v0, $v1, $zero + +.L800E75D4: +/* 080A84 800E75D4 2402FFFF */ addiu $v0, $zero, -1 +.L800E75D8: +/* 080A88 800E75D8 8FBF0018 */ lw $ra, 0x18($sp) +/* 080A8C 800E75DC 8FB10014 */ lw $s1, 0x14($sp) +/* 080A90 800E75E0 8FB00010 */ lw $s0, 0x10($sp) +/* 080A94 800E75E4 03E00008 */ jr $ra +/* 080A98 800E75E8 27BD0020 */ addiu $sp, $sp, 0x20 + +get_item_count: +/* 080A9C 800E75EC 0000202D */ daddu $a0, $zero, $zero +/* 080AA0 800E75F0 0080282D */ daddu $a1, $a0, $zero +/* 080AA4 800E75F4 3C038011 */ lui $v1, 0x8011 +/* 080AA8 800E75F8 2463F290 */ addiu $v1, $v1, -0xd70 +.L800E75FC: +/* 080AAC 800E75FC 846201B4 */ lh $v0, 0x1b4($v1) +/* 080AB0 800E7600 54400001 */ bnezl $v0, .L800E7608 +/* 080AB4 800E7604 24A50001 */ addiu $a1, $a1, 1 +.L800E7608: +/* 080AB8 800E7608 24840001 */ addiu $a0, $a0, 1 +/* 080ABC 800E760C 2882000A */ slti $v0, $a0, 0xa +/* 080AC0 800E7610 1440FFFA */ bnez $v0, .L800E75FC +/* 080AC4 800E7614 24630002 */ addiu $v1, $v1, 2 +/* 080AC8 800E7618 03E00008 */ jr $ra +/* 080ACC 800E761C 00A0102D */ daddu $v0, $a1, $zero + +get_item_empty_count: +/* 080AD0 800E7620 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 080AD4 800E7624 AFBF0010 */ sw $ra, 0x10($sp) +/* 080AD8 800E7628 0C039D7B */ jal get_item_count +/* 080ADC 800E762C 00000000 */ nop +/* 080AE0 800E7630 2403000A */ addiu $v1, $zero, 0xa +/* 080AE4 800E7634 8FBF0010 */ lw $ra, 0x10($sp) +/* 080AE8 800E7638 00621023 */ subu $v0, $v1, $v0 +/* 080AEC 800E763C 03E00008 */ jr $ra +/* 080AF0 800E7640 27BD0018 */ addiu $sp, $sp, 0x18 + +find_item: +/* 080AF4 800E7644 00041140 */ sll $v0, $a0, 5 +/* 080AF8 800E7648 3C018008 */ lui $at, 0x8008 +/* 080AFC 800E764C 00220821 */ addu $at, $at, $v0 +/* 080B00 800E7650 942278F8 */ lhu $v0, 0x78f8($at) +/* 080B04 800E7654 3C038011 */ lui $v1, 0x8011 +/* 080B08 800E7658 2463F290 */ addiu $v1, $v1, -0xd70 +/* 080B0C 800E765C 30420008 */ andi $v0, $v0, 8 +/* 080B10 800E7660 1040000D */ beqz $v0, .L800E7698 +/* 080B14 800E7664 0000282D */ daddu $a1, $zero, $zero +.L800E7668: +/* 080B18 800E7668 84620074 */ lh $v0, 0x74($v1) +/* 080B1C 800E766C 50440006 */ beql $v0, $a0, .L800E7688 +/* 080B20 800E7670 28A30020 */ slti $v1, $a1, 0x20 +/* 080B24 800E7674 24A50001 */ addiu $a1, $a1, 1 +/* 080B28 800E7678 28A20020 */ slti $v0, $a1, 0x20 +/* 080B2C 800E767C 1440FFFA */ bnez $v0, .L800E7668 +/* 080B30 800E7680 24630002 */ addiu $v1, $v1, 2 +/* 080B34 800E7684 28A30020 */ slti $v1, $a1, 0x20 +.L800E7688: +/* 080B38 800E7688 1060000E */ beqz $v1, .L800E76C4 +/* 080B3C 800E768C 2402FFFF */ addiu $v0, $zero, -1 +/* 080B40 800E7690 03E00008 */ jr $ra +/* 080B44 800E7694 00A0102D */ daddu $v0, $a1, $zero + +.L800E7698: +/* 080B48 800E7698 846201B4 */ lh $v0, 0x1b4($v1) +/* 080B4C 800E769C 50440006 */ beql $v0, $a0, .L800E76B8 +/* 080B50 800E76A0 2403000A */ addiu $v1, $zero, 0xa +/* 080B54 800E76A4 24A50001 */ addiu $a1, $a1, 1 +/* 080B58 800E76A8 28A2000A */ slti $v0, $a1, 0xa +/* 080B5C 800E76AC 1440FFFA */ bnez $v0, .L800E7698 +/* 080B60 800E76B0 24630002 */ addiu $v1, $v1, 2 +/* 080B64 800E76B4 2403000A */ addiu $v1, $zero, 0xa +.L800E76B8: +/* 080B68 800E76B8 10A30002 */ beq $a1, $v1, .L800E76C4 +/* 080B6C 800E76BC 2402FFFF */ addiu $v0, $zero, -1 +/* 080B70 800E76C0 00A0102D */ daddu $v0, $a1, $zero +.L800E76C4: +/* 080B74 800E76C4 03E00008 */ jr $ra +/* 080B78 800E76C8 00000000 */ nop + +sort_items: +/* 080B7C 800E76CC 24060008 */ addiu $a2, $zero, 8 +/* 080B80 800E76D0 3C088011 */ lui $t0, 0x8011 +/* 080B84 800E76D4 2508F290 */ addiu $t0, $t0, -0xd70 +/* 080B88 800E76D8 25070010 */ addiu $a3, $t0, 0x10 +.L800E76DC: +/* 080B8C 800E76DC 84E201B4 */ lh $v0, 0x1b4($a3) +/* 080B90 800E76E0 50400012 */ beql $v0, $zero, .L800E772C +/* 080B94 800E76E4 24C6FFFF */ addiu $a2, $a2, -1 +/* 080B98 800E76E8 24040009 */ addiu $a0, $zero, 9 +/* 080B9C 800E76EC 00C4102A */ slt $v0, $a2, $a0 +/* 080BA0 800E76F0 5040000E */ beql $v0, $zero, .L800E772C +/* 080BA4 800E76F4 24C6FFFF */ addiu $a2, $a2, -1 +/* 080BA8 800E76F8 00E0282D */ daddu $a1, $a3, $zero +/* 080BAC 800E76FC 25030012 */ addiu $v1, $t0, 0x12 +.L800E7700: +/* 080BB0 800E7700 846201B4 */ lh $v0, 0x1b4($v1) +/* 080BB4 800E7704 54400005 */ bnezl $v0, .L800E771C +/* 080BB8 800E7708 2484FFFF */ addiu $a0, $a0, -1 +/* 080BBC 800E770C 94A201B4 */ lhu $v0, 0x1b4($a1) +/* 080BC0 800E7710 A46201B4 */ sh $v0, 0x1b4($v1) +/* 080BC4 800E7714 08039DCA */ j .L800E7728 +/* 080BC8 800E7718 A4A001B4 */ sh $zero, 0x1b4($a1) + +.L800E771C: +/* 080BCC 800E771C 00C4102A */ slt $v0, $a2, $a0 +/* 080BD0 800E7720 1440FFF7 */ bnez $v0, .L800E7700 +/* 080BD4 800E7724 2463FFFE */ addiu $v1, $v1, -2 +.L800E7728: +/* 080BD8 800E7728 24C6FFFF */ addiu $a2, $a2, -1 +.L800E772C: +/* 080BDC 800E772C 04C1FFEB */ bgez $a2, .L800E76DC +/* 080BE0 800E7730 24E7FFFE */ addiu $a3, $a3, -2 +/* 080BE4 800E7734 03E00008 */ jr $ra +/* 080BE8 800E7738 00000000 */ nop + +add_badge: +/* 080BEC 800E773C 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 080BF0 800E7740 00041140 */ sll $v0, $a0, 5 +/* 080BF4 800E7744 AFBF0010 */ sw $ra, 0x10($sp) +/* 080BF8 800E7748 3C018008 */ lui $at, 0x8008 +/* 080BFC 800E774C 00220821 */ addu $at, $at, $v0 +/* 080C00 800E7750 942278F8 */ lhu $v0, 0x78f8($at) +/* 080C04 800E7754 3C068011 */ lui $a2, 0x8011 +/* 080C08 800E7758 24C6F290 */ addiu $a2, $a2, -0xd70 +/* 080C0C 800E775C 30420040 */ andi $v0, $v0, 0x40 +/* 080C10 800E7760 14400005 */ bnez $v0, .L800E7778 +/* 080C14 800E7764 0000182D */ daddu $v1, $zero, $zero +/* 080C18 800E7768 0C039D5D */ jal add_item +/* 080C1C 800E776C 00000000 */ nop +/* 080C20 800E7770 08039DEE */ j .L800E77B8 +/* 080C24 800E7774 00000000 */ nop + +.L800E7778: +/* 080C28 800E7778 00C0282D */ daddu $a1, $a2, $zero +.L800E777C: +/* 080C2C 800E777C 84A200B4 */ lh $v0, 0xb4($a1) +/* 080C30 800E7780 10400006 */ beqz $v0, .L800E779C +/* 080C34 800E7784 28620080 */ slti $v0, $v1, 0x80 +/* 080C38 800E7788 24630001 */ addiu $v1, $v1, 1 +/* 080C3C 800E778C 28620080 */ slti $v0, $v1, 0x80 +/* 080C40 800E7790 1440FFFA */ bnez $v0, .L800E777C +/* 080C44 800E7794 24A50002 */ addiu $a1, $a1, 2 +/* 080C48 800E7798 28620080 */ slti $v0, $v1, 0x80 +.L800E779C: +/* 080C4C 800E779C 10400005 */ beqz $v0, .L800E77B4 +/* 080C50 800E77A0 00031040 */ sll $v0, $v1, 1 +/* 080C54 800E77A4 00C21021 */ addu $v0, $a2, $v0 +/* 080C58 800E77A8 A44400B4 */ sh $a0, 0xb4($v0) +/* 080C5C 800E77AC 08039DEE */ j .L800E77B8 +/* 080C60 800E77B0 0060102D */ daddu $v0, $v1, $zero + +.L800E77B4: +/* 080C64 800E77B4 0000102D */ daddu $v0, $zero, $zero +.L800E77B8: +/* 080C68 800E77B8 8FBF0010 */ lw $ra, 0x10($sp) +/* 080C6C 800E77BC 03E00008 */ jr $ra +/* 080C70 800E77C0 27BD0018 */ addiu $sp, $sp, 0x18 + +store_item: +/* 080C74 800E77C4 0000182D */ daddu $v1, $zero, $zero +/* 080C78 800E77C8 3C068011 */ lui $a2, 0x8011 +/* 080C7C 800E77CC 24C6F290 */ addiu $a2, $a2, -0xd70 +/* 080C80 800E77D0 00C0282D */ daddu $a1, $a2, $zero +.L800E77D4: +/* 080C84 800E77D4 84A201C8 */ lh $v0, 0x1c8($a1) +/* 080C88 800E77D8 10400006 */ beqz $v0, .L800E77F4 +/* 080C8C 800E77DC 24020020 */ addiu $v0, $zero, 0x20 +/* 080C90 800E77E0 24630001 */ addiu $v1, $v1, 1 +/* 080C94 800E77E4 28620020 */ slti $v0, $v1, 0x20 +/* 080C98 800E77E8 1440FFFA */ bnez $v0, .L800E77D4 +/* 080C9C 800E77EC 24A50002 */ addiu $a1, $a1, 2 +/* 080CA0 800E77F0 24020020 */ addiu $v0, $zero, 0x20 +.L800E77F4: +/* 080CA4 800E77F4 10620005 */ beq $v1, $v0, .L800E780C +/* 080CA8 800E77F8 00031040 */ sll $v0, $v1, 1 +/* 080CAC 800E77FC 00C21021 */ addu $v0, $a2, $v0 +/* 080CB0 800E7800 A44401C8 */ sh $a0, 0x1c8($v0) +/* 080CB4 800E7804 03E00008 */ jr $ra +/* 080CB8 800E7808 0060102D */ daddu $v0, $v1, $zero + +.L800E780C: +/* 080CBC 800E780C 03E00008 */ jr $ra +/* 080CC0 800E7810 2402FFFF */ addiu $v0, $zero, -1 + +get_stored_count: +/* 080CC4 800E7814 0000202D */ daddu $a0, $zero, $zero +/* 080CC8 800E7818 0080282D */ daddu $a1, $a0, $zero +/* 080CCC 800E781C 3C038011 */ lui $v1, 0x8011 +/* 080CD0 800E7820 2463F290 */ addiu $v1, $v1, -0xd70 +.L800E7824: +/* 080CD4 800E7824 846201C8 */ lh $v0, 0x1c8($v1) +/* 080CD8 800E7828 54400001 */ bnezl $v0, .L800E7830 +/* 080CDC 800E782C 24A50001 */ addiu $a1, $a1, 1 +.L800E7830: +/* 080CE0 800E7830 24840001 */ addiu $a0, $a0, 1 +/* 080CE4 800E7834 28820020 */ slti $v0, $a0, 0x20 +/* 080CE8 800E7838 1440FFFA */ bnez $v0, .L800E7824 +/* 080CEC 800E783C 24630002 */ addiu $v1, $v1, 2 +/* 080CF0 800E7840 03E00008 */ jr $ra +/* 080CF4 800E7844 00A0102D */ daddu $v0, $a1, $zero + +get_stored_empty_count: +/* 080CF8 800E7848 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 080CFC 800E784C AFBF0010 */ sw $ra, 0x10($sp) +/* 080D00 800E7850 0C039E05 */ jal get_stored_count +/* 080D04 800E7854 00000000 */ nop +/* 080D08 800E7858 24030020 */ addiu $v1, $zero, 0x20 +/* 080D0C 800E785C 8FBF0010 */ lw $ra, 0x10($sp) +/* 080D10 800E7860 00621023 */ subu $v0, $v1, $v0 +/* 080D14 800E7864 03E00008 */ jr $ra +/* 080D18 800E7868 27BD0018 */ addiu $sp, $sp, 0x18 + +enforce_hpfp_limits: +/* 080D1C 800E786C 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 080D20 800E7870 24040004 */ addiu $a0, $zero, 4 +/* 080D24 800E7874 AFBF0018 */ sw $ra, 0x18($sp) +/* 080D28 800E7878 AFB10014 */ sw $s1, 0x14($sp) +/* 080D2C 800E787C 0C03A752 */ jal is_ability_active +/* 080D30 800E7880 AFB00010 */ sw $s0, 0x10($sp) +/* 080D34 800E7884 3C108011 */ lui $s0, 0x8011 +/* 080D38 800E7888 2610F290 */ addiu $s0, $s0, -0xd70 +/* 080D3C 800E788C 00022080 */ sll $a0, $v0, 2 +/* 080D40 800E7890 00822021 */ addu $a0, $a0, $v0 +/* 080D44 800E7894 92030004 */ lbu $v1, 4($s0) +/* 080D48 800E7898 00641821 */ addu $v1, $v1, $a0 +/* 080D4C 800E789C A2030003 */ sb $v1, 3($s0) +/* 080D50 800E78A0 00031E00 */ sll $v1, $v1, 0x18 +/* 080D54 800E78A4 00031E03 */ sra $v1, $v1, 0x18 +/* 080D58 800E78A8 2863004C */ slti $v1, $v1, 0x4c +/* 080D5C 800E78AC 14600003 */ bnez $v1, .L800E78BC +/* 080D60 800E78B0 0200882D */ daddu $s1, $s0, $zero +/* 080D64 800E78B4 2402004B */ addiu $v0, $zero, 0x4b +/* 080D68 800E78B8 A2020003 */ sb $v0, 3($s0) +.L800E78BC: +/* 080D6C 800E78BC 82030002 */ lb $v1, 2($s0) +/* 080D70 800E78C0 82020003 */ lb $v0, 3($s0) +/* 080D74 800E78C4 0043102A */ slt $v0, $v0, $v1 +/* 080D78 800E78C8 92030003 */ lbu $v1, 3($s0) +/* 080D7C 800E78CC 54400001 */ bnezl $v0, .L800E78D4 +/* 080D80 800E78D0 A2030002 */ sb $v1, 2($s0) +.L800E78D4: +/* 080D84 800E78D4 0C03A752 */ jal is_ability_active +/* 080D88 800E78D8 2404000C */ addiu $a0, $zero, 0xc +/* 080D8C 800E78DC 00022080 */ sll $a0, $v0, 2 +/* 080D90 800E78E0 92030007 */ lbu $v1, 7($s0) +/* 080D94 800E78E4 00822021 */ addu $a0, $a0, $v0 +/* 080D98 800E78E8 00641821 */ addu $v1, $v1, $a0 +/* 080D9C 800E78EC A2030006 */ sb $v1, 6($s0) +/* 080DA0 800E78F0 00031E00 */ sll $v1, $v1, 0x18 +/* 080DA4 800E78F4 00031E03 */ sra $v1, $v1, 0x18 +/* 080DA8 800E78F8 2863004C */ slti $v1, $v1, 0x4c +/* 080DAC 800E78FC 14600002 */ bnez $v1, .L800E7908 +/* 080DB0 800E7900 2402004B */ addiu $v0, $zero, 0x4b +/* 080DB4 800E7904 A2020006 */ sb $v0, 6($s0) +.L800E7908: +/* 080DB8 800E7908 82230005 */ lb $v1, 5($s1) +/* 080DBC 800E790C 82220006 */ lb $v0, 6($s1) +/* 080DC0 800E7910 0043102A */ slt $v0, $v0, $v1 +/* 080DC4 800E7914 92230006 */ lbu $v1, 6($s1) +/* 080DC8 800E7918 54400001 */ bnezl $v0, .L800E7920 +/* 080DCC 800E791C A2230005 */ sb $v1, 5($s1) +.L800E7920: +/* 080DD0 800E7920 8FBF0018 */ lw $ra, 0x18($sp) +/* 080DD4 800E7924 8FB10014 */ lw $s1, 0x14($sp) +/* 080DD8 800E7928 8FB00010 */ lw $s0, 0x10($sp) +/* 080DDC 800E792C 03E00008 */ jr $ra +/* 080DE0 800E7930 27BD0020 */ addiu $sp, $sp, 0x20 + +initialize_status_menu: +/* 080DE4 800E7934 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 080DE8 800E7938 AFB10014 */ sw $s1, 0x14($sp) +/* 080DEC 800E793C 3C118011 */ lui $s1, 0x8011 +/* 080DF0 800E7940 2631EF58 */ addiu $s1, $s1, -0x10a8 +/* 080DF4 800E7944 2402000C */ addiu $v0, $zero, 0xc +/* 080DF8 800E7948 AFBF001C */ sw $ra, 0x1c($sp) +/* 080DFC 800E794C AFB20018 */ sw $s2, 0x18($sp) +/* 080E00 800E7950 AFB00010 */ sw $s0, 0x10($sp) +/* 080E04 800E7954 A6220034 */ sh $v0, 0x34($s1) +/* 080E08 800E7958 2402FF9C */ addiu $v0, $zero, -0x64 +/* 080E0C 800E795C 3C038011 */ lui $v1, 0x8011 +/* 080E10 800E7960 2463F290 */ addiu $v1, $v1, -0xd70 +/* 080E14 800E7964 3C018011 */ lui $at, 0x8011 +/* 080E18 800E7968 A420CD10 */ sh $zero, -0x32f0($at) +/* 080E1C 800E796C 3C018011 */ lui $at, 0x8011 +/* 080E20 800E7970 A420CD12 */ sh $zero, -0x32ee($at) +/* 080E24 800E7974 A6220036 */ sh $v0, 0x36($s1) +/* 080E28 800E7978 A220003A */ sb $zero, 0x3a($s1) +/* 080E2C 800E797C 90640010 */ lbu $a0, 0x10($v1) +/* 080E30 800E7980 240200D2 */ addiu $v0, $zero, 0xd2 +/* 080E34 800E7984 A6220038 */ sh $v0, 0x38($s1) +/* 080E38 800E7988 A220003B */ sb $zero, 0x3b($s1) +/* 080E3C 800E798C A2200044 */ sb $zero, 0x44($s1) +/* 080E40 800E7990 A2200045 */ sb $zero, 0x45($s1) +/* 080E44 800E7994 A2200046 */ sb $zero, 0x46($s1) +/* 080E48 800E7998 A220004A */ sb $zero, 0x4a($s1) +/* 080E4C 800E799C A220004B */ sb $zero, 0x4b($s1) +/* 080E50 800E79A0 A220004C */ sb $zero, 0x4c($s1) +/* 080E54 800E79A4 A220004D */ sb $zero, 0x4d($s1) +/* 080E58 800E79A8 A220004E */ sb $zero, 0x4e($s1) +/* 080E5C 800E79AC A220004F */ sb $zero, 0x4f($s1) +/* 080E60 800E79B0 A2200050 */ sb $zero, 0x50($s1) +/* 080E64 800E79B4 A2200051 */ sb $zero, 0x51($s1) +/* 080E68 800E79B8 A2200054 */ sb $zero, 0x54($s1) +/* 080E6C 800E79BC A2200055 */ sb $zero, 0x55($s1) +/* 080E70 800E79C0 A2200056 */ sb $zero, 0x56($s1) +/* 080E74 800E79C4 A2200047 */ sb $zero, 0x47($s1) +/* 080E78 800E79C8 A2200052 */ sb $zero, 0x52($s1) +/* 080E7C 800E79CC 90620002 */ lbu $v0, 2($v1) +/* 080E80 800E79D0 90650005 */ lbu $a1, 5($v1) +/* 080E84 800E79D4 9466000C */ lhu $a2, 0xc($v1) +/* 080E88 800E79D8 94630290 */ lhu $v1, 0x290($v1) +/* 080E8C 800E79DC 00042600 */ sll $a0, $a0, 0x18 +/* 080E90 800E79E0 00042603 */ sra $a0, $a0, 0x18 +/* 080E94 800E79E4 A222003D */ sb $v0, 0x3d($s1) +/* 080E98 800E79E8 2402FFFF */ addiu $v0, $zero, -1 +/* 080E9C 800E79EC A225003E */ sb $a1, 0x3e($s1) +/* 080EA0 800E79F0 A6260040 */ sh $a2, 0x40($s1) +/* 080EA4 800E79F4 A6240042 */ sh $a0, 0x42($s1) +/* 080EA8 800E79F8 A6230048 */ sh $v1, 0x48($s1) +/* 080EAC 800E79FC A2200053 */ sb $zero, 0x53($s1) +/* 080EB0 800E7A00 A222006E */ sb $v0, 0x6e($s1) +/* 080EB4 800E7A04 2402FFFF */ addiu $v0, $zero, -1 +/* 080EB8 800E7A08 A220003C */ sb $zero, 0x3c($s1) +/* 080EBC 800E7A0C A2200057 */ sb $zero, 0x57($s1) +/* 080EC0 800E7A10 A2200058 */ sb $zero, 0x58($s1) +/* 080EC4 800E7A14 A2200059 */ sb $zero, 0x59($s1) +/* 080EC8 800E7A18 A220005A */ sb $zero, 0x5a($s1) +/* 080ECC 800E7A1C A220006C */ sb $zero, 0x6c($s1) +/* 080ED0 800E7A20 A220006D */ sb $zero, 0x6d($s1) +/* 080ED4 800E7A24 0C03A5EE */ jal func_800E97B8 +/* 080ED8 800E7A28 AE220064 */ sw $v0, 0x64($s1) +/* 080EDC 800E7A2C 3C048011 */ lui $a0, 0x8011 +/* 080EE0 800E7A30 24848248 */ addiu $a0, $a0, -0x7db8 +/* 080EE4 800E7A34 0C050529 */ jal create_icon +/* 080EE8 800E7A38 00000000 */ nop +/* 080EEC 800E7A3C 0040802D */ daddu $s0, $v0, $zero +/* 080EF0 800E7A40 0200202D */ daddu $a0, $s0, $zero +/* 080EF4 800E7A44 24050080 */ addiu $a1, $zero, 0x80 +/* 080EF8 800E7A48 0C051280 */ jal set_icon_flags +/* 080EFC 800E7A4C AE300000 */ sw $s0, ($s1) +/* 080F00 800E7A50 0200202D */ daddu $a0, $s0, $zero +/* 080F04 800E7A54 0C05128B */ jal clear_icon_flags +/* 080F08 800E7A58 34058000 */ ori $a1, $zero, 0x8000 +/* 080F0C 800E7A5C 3C048011 */ lui $a0, 0x8011 +/* 080F10 800E7A60 24848518 */ addiu $a0, $a0, -0x7ae8 +/* 080F14 800E7A64 0C050529 */ jal create_icon +/* 080F18 800E7A68 00000000 */ nop +/* 080F1C 800E7A6C 0040802D */ daddu $s0, $v0, $zero +/* 080F20 800E7A70 0200202D */ daddu $a0, $s0, $zero +/* 080F24 800E7A74 24050080 */ addiu $a1, $zero, 0x80 +/* 080F28 800E7A78 0C051280 */ jal set_icon_flags +/* 080F2C 800E7A7C AE300004 */ sw $s0, 4($s1) +/* 080F30 800E7A80 0200202D */ daddu $a0, $s0, $zero +/* 080F34 800E7A84 0C05128B */ jal clear_icon_flags +/* 080F38 800E7A88 34058000 */ ori $a1, $zero, 0x8000 +/* 080F3C 800E7A8C 3C048011 */ lui $a0, 0x8011 +/* 080F40 800E7A90 24848270 */ addiu $a0, $a0, -0x7d90 +/* 080F44 800E7A94 0C050529 */ jal create_icon +/* 080F48 800E7A98 00000000 */ nop +/* 080F4C 800E7A9C 0040802D */ daddu $s0, $v0, $zero +/* 080F50 800E7AA0 0200202D */ daddu $a0, $s0, $zero +/* 080F54 800E7AA4 24050080 */ addiu $a1, $zero, 0x80 +/* 080F58 800E7AA8 0C051280 */ jal set_icon_flags +/* 080F5C 800E7AAC AE300008 */ sw $s0, 8($s1) +/* 080F60 800E7AB0 0200202D */ daddu $a0, $s0, $zero +/* 080F64 800E7AB4 0C05128B */ jal clear_icon_flags +/* 080F68 800E7AB8 34058000 */ ori $a1, $zero, 0x8000 +/* 080F6C 800E7ABC 3C048011 */ lui $a0, 0x8011 +/* 080F70 800E7AC0 24848538 */ addiu $a0, $a0, -0x7ac8 +/* 080F74 800E7AC4 0C050529 */ jal create_icon +/* 080F78 800E7AC8 00000000 */ nop +/* 080F7C 800E7ACC 0040802D */ daddu $s0, $v0, $zero +/* 080F80 800E7AD0 0200202D */ daddu $a0, $s0, $zero +/* 080F84 800E7AD4 24050080 */ addiu $a1, $zero, 0x80 +/* 080F88 800E7AD8 0C051280 */ jal set_icon_flags +/* 080F8C 800E7ADC AE30000C */ sw $s0, 0xc($s1) +/* 080F90 800E7AE0 0200202D */ daddu $a0, $s0, $zero +/* 080F94 800E7AE4 0C05128B */ jal clear_icon_flags +/* 080F98 800E7AE8 34058000 */ ori $a1, $zero, 0x8000 +/* 080F9C 800E7AEC 3C048011 */ lui $a0, 0x8011 +/* 080FA0 800E7AF0 24848558 */ addiu $a0, $a0, -0x7aa8 +/* 080FA4 800E7AF4 0C050529 */ jal create_icon +/* 080FA8 800E7AF8 00000000 */ nop +/* 080FAC 800E7AFC 0040802D */ daddu $s0, $v0, $zero +/* 080FB0 800E7B00 0200202D */ daddu $a0, $s0, $zero +/* 080FB4 800E7B04 24050080 */ addiu $a1, $zero, 0x80 +/* 080FB8 800E7B08 0C051280 */ jal set_icon_flags +/* 080FBC 800E7B0C AE300010 */ sw $s0, 0x10($s1) +/* 080FC0 800E7B10 0200202D */ daddu $a0, $s0, $zero +/* 080FC4 800E7B14 0C05128B */ jal clear_icon_flags +/* 080FC8 800E7B18 34058000 */ ori $a1, $zero, 0x8000 +/* 080FCC 800E7B1C 3C048008 */ lui $a0, 0x8008 +/* 080FD0 800E7B20 24840FC4 */ addiu $a0, $a0, 0xfc4 +/* 080FD4 800E7B24 0C050529 */ jal create_icon +/* 080FD8 800E7B28 00000000 */ nop +/* 080FDC 800E7B2C 0040802D */ daddu $s0, $v0, $zero +/* 080FE0 800E7B30 0200202D */ daddu $a0, $s0, $zero +/* 080FE4 800E7B34 24050080 */ addiu $a1, $zero, 0x80 +/* 080FE8 800E7B38 0C051280 */ jal set_icon_flags +/* 080FEC 800E7B3C AE300014 */ sw $s0, 0x14($s1) +/* 080FF0 800E7B40 0200202D */ daddu $a0, $s0, $zero +/* 080FF4 800E7B44 0C05128B */ jal clear_icon_flags +/* 080FF8 800E7B48 34058000 */ ori $a1, $zero, 0x8000 +/* 080FFC 800E7B4C 3C048011 */ lui $a0, 0x8011 +/* 081000 800E7B50 248486AC */ addiu $a0, $a0, -0x7954 +/* 081004 800E7B54 0C050529 */ jal create_icon +/* 081008 800E7B58 00000000 */ nop +/* 08100C 800E7B5C 0040802D */ daddu $s0, $v0, $zero +/* 081010 800E7B60 0200202D */ daddu $a0, $s0, $zero +/* 081014 800E7B64 24050080 */ addiu $a1, $zero, 0x80 +/* 081018 800E7B68 0C051280 */ jal set_icon_flags +/* 08101C 800E7B6C AE300018 */ sw $s0, 0x18($s1) +/* 081020 800E7B70 0200202D */ daddu $a0, $s0, $zero +/* 081024 800E7B74 0C05128B */ jal clear_icon_flags +/* 081028 800E7B78 34058000 */ ori $a1, $zero, 0x8000 +/* 08102C 800E7B7C 3C048010 */ lui $a0, 0x8010 +/* 081030 800E7B80 24844BEC */ addiu $a0, $a0, 0x4bec +/* 081034 800E7B84 0C050529 */ jal create_icon +/* 081038 800E7B88 00000000 */ nop +/* 08103C 800E7B8C 0040802D */ daddu $s0, $v0, $zero +/* 081040 800E7B90 0200202D */ daddu $a0, $s0, $zero +/* 081044 800E7B94 24050080 */ addiu $a1, $zero, 0x80 +/* 081048 800E7B98 0C051280 */ jal set_icon_flags +/* 08104C 800E7B9C AE30001C */ sw $s0, 0x1c($s1) +/* 081050 800E7BA0 0200202D */ daddu $a0, $s0, $zero +/* 081054 800E7BA4 0C05128B */ jal clear_icon_flags +/* 081058 800E7BA8 34058000 */ ori $a1, $zero, 0x8000 +/* 08105C 800E7BAC 3C128011 */ lui $s2, 0x8011 +/* 081060 800E7BB0 26528068 */ addiu $s2, $s2, -0x7f98 +/* 081064 800E7BB4 0C050529 */ jal create_icon +/* 081068 800E7BB8 0240202D */ daddu $a0, $s2, $zero +/* 08106C 800E7BBC 0040802D */ daddu $s0, $v0, $zero +/* 081070 800E7BC0 0200202D */ daddu $a0, $s0, $zero +/* 081074 800E7BC4 24050082 */ addiu $a1, $zero, 0x82 +/* 081078 800E7BC8 0C051280 */ jal set_icon_flags +/* 08107C 800E7BCC AE300020 */ sw $s0, 0x20($s1) +/* 081080 800E7BD0 0200202D */ daddu $a0, $s0, $zero +/* 081084 800E7BD4 0C05128B */ jal clear_icon_flags +/* 081088 800E7BD8 34058000 */ ori $a1, $zero, 0x8000 +/* 08108C 800E7BDC 0C050529 */ jal create_icon +/* 081090 800E7BE0 0240202D */ daddu $a0, $s2, $zero +/* 081094 800E7BE4 0040802D */ daddu $s0, $v0, $zero +/* 081098 800E7BE8 0200202D */ daddu $a0, $s0, $zero +/* 08109C 800E7BEC 24050082 */ addiu $a1, $zero, 0x82 +/* 0810A0 800E7BF0 0C051280 */ jal set_icon_flags +/* 0810A4 800E7BF4 AE300024 */ sw $s0, 0x24($s1) +/* 0810A8 800E7BF8 0200202D */ daddu $a0, $s0, $zero +/* 0810AC 800E7BFC 0C05128B */ jal clear_icon_flags +/* 0810B0 800E7C00 34058000 */ ori $a1, $zero, 0x8000 +/* 0810B4 800E7C04 0C050529 */ jal create_icon +/* 0810B8 800E7C08 0240202D */ daddu $a0, $s2, $zero +/* 0810BC 800E7C0C 0040802D */ daddu $s0, $v0, $zero +/* 0810C0 800E7C10 0200202D */ daddu $a0, $s0, $zero +/* 0810C4 800E7C14 24050082 */ addiu $a1, $zero, 0x82 +/* 0810C8 800E7C18 0C051280 */ jal set_icon_flags +/* 0810CC 800E7C1C AE300028 */ sw $s0, 0x28($s1) +/* 0810D0 800E7C20 0200202D */ daddu $a0, $s0, $zero +/* 0810D4 800E7C24 0C05128B */ jal clear_icon_flags +/* 0810D8 800E7C28 34058000 */ ori $a1, $zero, 0x8000 +/* 0810DC 800E7C2C 0C050529 */ jal create_icon +/* 0810E0 800E7C30 0240202D */ daddu $a0, $s2, $zero +/* 0810E4 800E7C34 0040802D */ daddu $s0, $v0, $zero +/* 0810E8 800E7C38 0200202D */ daddu $a0, $s0, $zero +/* 0810EC 800E7C3C 24050082 */ addiu $a1, $zero, 0x82 +/* 0810F0 800E7C40 0C051280 */ jal set_icon_flags +/* 0810F4 800E7C44 AE30002C */ sw $s0, 0x2c($s1) +/* 0810F8 800E7C48 0200202D */ daddu $a0, $s0, $zero +/* 0810FC 800E7C4C 0C05128B */ jal clear_icon_flags +/* 081100 800E7C50 34058000 */ ori $a1, $zero, 0x8000 +/* 081104 800E7C54 3C048011 */ lui $a0, 0x8011 +/* 081108 800E7C58 248483D8 */ addiu $a0, $a0, -0x7c28 +/* 08110C 800E7C5C 0C050529 */ jal create_icon +/* 081110 800E7C60 00000000 */ nop +/* 081114 800E7C64 0040802D */ daddu $s0, $v0, $zero +/* 081118 800E7C68 0200202D */ daddu $a0, $s0, $zero +/* 08111C 800E7C6C 24050080 */ addiu $a1, $zero, 0x80 +/* 081120 800E7C70 0C051280 */ jal set_icon_flags +/* 081124 800E7C74 AE300030 */ sw $s0, 0x30($s1) +/* 081128 800E7C78 0200202D */ daddu $a0, $s0, $zero +/* 08112C 800E7C7C 0C05128B */ jal clear_icon_flags +/* 081130 800E7C80 34058000 */ ori $a1, $zero, 0x8000 +/* 081134 800E7C84 0C03C357 */ jal func_800F0D5C +/* 081138 800E7C88 00000000 */ nop +/* 08113C 800E7C8C 8FBF001C */ lw $ra, 0x1c($sp) +/* 081140 800E7C90 8FB20018 */ lw $s2, 0x18($sp) +/* 081144 800E7C94 8FB10014 */ lw $s1, 0x14($sp) +/* 081148 800E7C98 8FB00010 */ lw $s0, 0x10($sp) +/* 08114C 800E7C9C 03E00008 */ jr $ra +/* 081150 800E7CA0 27BD0020 */ addiu $sp, $sp, 0x20 + +status_menu_draw_number: +/* 081154 800E7CA4 27BDFFC0 */ addiu $sp, $sp, -0x40 +/* 081158 800E7CA8 AFB1001C */ sw $s1, 0x1c($sp) +/* 08115C 800E7CAC 00A0882D */ daddu $s1, $a1, $zero +/* 081160 800E7CB0 3C05800F */ lui $a1, 0x800f +/* 081164 800E7CB4 8CA57FA8 */ lw $a1, 0x7fa8($a1) +/* 081168 800E7CB8 AFB40028 */ sw $s4, 0x28($sp) +/* 08116C 800E7CBC 0080A02D */ daddu $s4, $a0, $zero +/* 081170 800E7CC0 AFB00018 */ sw $s0, 0x18($sp) +/* 081174 800E7CC4 00C0802D */ daddu $s0, $a2, $zero +/* 081178 800E7CC8 AFB30024 */ sw $s3, 0x24($sp) +/* 08117C 800E7CCC 00E0982D */ daddu $s3, $a3, $zero +/* 081180 800E7CD0 AFB5002C */ sw $s5, 0x2c($sp) +/* 081184 800E7CD4 8FB50050 */ lw $s5, 0x50($sp) +/* 081188 800E7CD8 AFB20020 */ sw $s2, 0x20($sp) +/* 08118C 800E7CDC 0000902D */ daddu $s2, $zero, $zero +/* 081190 800E7CE0 AFBF003C */ sw $ra, 0x3c($sp) +/* 081194 800E7CE4 AFBE0038 */ sw $fp, 0x38($sp) +/* 081198 800E7CE8 AFB70034 */ sw $s7, 0x34($sp) +/* 08119C 800E7CEC 0C0511FF */ jal set_menu_icon_script +/* 0811A0 800E7CF0 AFB60030 */ sw $s6, 0x30($sp) +/* 0811A4 800E7CF4 26310008 */ addiu $s1, $s1, 8 +/* 0811A8 800E7CF8 0280202D */ daddu $a0, $s4, $zero +/* 0811AC 800E7CFC 0220282D */ daddu $a1, $s1, $zero +/* 0811B0 800E7D00 26060007 */ addiu $a2, $s0, 7 +/* 0811B4 800E7D04 0C051261 */ jal set_icon_render_pos +/* 0811B8 800E7D08 261E0008 */ addiu $fp, $s0, 8 +/* 0811BC 800E7D0C 0280202D */ daddu $a0, $s4, $zero +/* 0811C0 800E7D10 0C05128B */ jal clear_icon_flags +/* 0811C4 800E7D14 24050002 */ addiu $a1, $zero, 2 +/* 0811C8 800E7D18 0C0511F1 */ jal draw_icon_1 +/* 0811CC 800E7D1C 0280202D */ daddu $a0, $s4, $zero +/* 0811D0 800E7D20 5AA00016 */ blezl $s5, .L800E7D7C +/* 0811D4 800E7D24 2631000D */ addiu $s1, $s1, 0xd +/* 0811D8 800E7D28 3C066666 */ lui $a2, 0x6666 +/* 0811DC 800E7D2C 34C66667 */ ori $a2, $a2, 0x6667 +/* 0811E0 800E7D30 27A50010 */ addiu $a1, $sp, 0x10 +.L800E7D34: +/* 0811E4 800E7D34 02660018 */ mult $s3, $a2 +/* 0811E8 800E7D38 02B22023 */ subu $a0, $s5, $s2 +/* 0811EC 800E7D3C 26520001 */ addiu $s2, $s2, 1 +/* 0811F0 800E7D40 001317C3 */ sra $v0, $s3, 0x1f +/* 0811F4 800E7D44 00852021 */ addu $a0, $a0, $a1 +/* 0811F8 800E7D48 00004010 */ mfhi $t0 +/* 0811FC 800E7D4C 00081883 */ sra $v1, $t0, 2 +/* 081200 800E7D50 00621023 */ subu $v0, $v1, $v0 +/* 081204 800E7D54 0040182D */ daddu $v1, $v0, $zero +/* 081208 800E7D58 00031080 */ sll $v0, $v1, 2 +/* 08120C 800E7D5C 00431021 */ addu $v0, $v0, $v1 +/* 081210 800E7D60 00021040 */ sll $v0, $v0, 1 +/* 081214 800E7D64 02621023 */ subu $v0, $s3, $v0 +/* 081218 800E7D68 A082FFFF */ sb $v0, -1($a0) +/* 08121C 800E7D6C 0255102A */ slt $v0, $s2, $s5 +/* 081220 800E7D70 1440FFF0 */ bnez $v0, .L800E7D34 +/* 081224 800E7D74 0060982D */ daddu $s3, $v1, $zero +/* 081228 800E7D78 2631000D */ addiu $s1, $s1, 0xd +.L800E7D7C: +/* 08122C 800E7D7C 0000982D */ daddu $s3, $zero, $zero +/* 081230 800E7D80 1AA00020 */ blez $s5, .L800E7E04 +/* 081234 800E7D84 0260902D */ daddu $s2, $s3, $zero +/* 081238 800E7D88 27B60010 */ addiu $s6, $sp, 0x10 +/* 08123C 800E7D8C 26B0FFFF */ addiu $s0, $s5, -1 +/* 081240 800E7D90 3C17800F */ lui $s7, 0x800f +/* 081244 800E7D94 26F77F80 */ addiu $s7, $s7, 0x7f80 +.L800E7D98: +/* 081248 800E7D98 02D21021 */ addu $v0, $s6, $s2 +/* 08124C 800E7D9C 80420000 */ lb $v0, ($v0) +/* 081250 800E7DA0 54400006 */ bnezl $v0, .L800E7DBC +/* 081254 800E7DA4 24130001 */ addiu $s3, $zero, 1 +/* 081258 800E7DA8 56600004 */ bnezl $s3, .L800E7DBC +/* 08125C 800E7DAC 24130001 */ addiu $s3, $zero, 1 +/* 081260 800E7DB0 56500011 */ bnel $s2, $s0, .L800E7DF8 +/* 081264 800E7DB4 26520001 */ addiu $s2, $s2, 1 +/* 081268 800E7DB8 24130001 */ addiu $s3, $zero, 1 +.L800E7DBC: +/* 08126C 800E7DBC 00021080 */ sll $v0, $v0, 2 +/* 081270 800E7DC0 00571021 */ addu $v0, $v0, $s7 +/* 081274 800E7DC4 8C450000 */ lw $a1, ($v0) +/* 081278 800E7DC8 0C0511FF */ jal set_menu_icon_script +/* 08127C 800E7DCC 0280202D */ daddu $a0, $s4, $zero +/* 081280 800E7DD0 0280202D */ daddu $a0, $s4, $zero +/* 081284 800E7DD4 0220282D */ daddu $a1, $s1, $zero +/* 081288 800E7DD8 0C051261 */ jal set_icon_render_pos +/* 08128C 800E7DDC 03C0302D */ daddu $a2, $fp, $zero +/* 081290 800E7DE0 0280202D */ daddu $a0, $s4, $zero +/* 081294 800E7DE4 0C05128B */ jal clear_icon_flags +/* 081298 800E7DE8 24050002 */ addiu $a1, $zero, 2 +/* 08129C 800E7DEC 0C0511F1 */ jal draw_icon_1 +/* 0812A0 800E7DF0 0280202D */ daddu $a0, $s4, $zero +/* 0812A4 800E7DF4 26520001 */ addiu $s2, $s2, 1 +.L800E7DF8: +/* 0812A8 800E7DF8 0255102A */ slt $v0, $s2, $s5 +/* 0812AC 800E7DFC 1440FFE6 */ bnez $v0, .L800E7D98 +/* 0812B0 800E7E00 26310008 */ addiu $s1, $s1, 8 +.L800E7E04: +/* 0812B4 800E7E04 8FBF003C */ lw $ra, 0x3c($sp) +/* 0812B8 800E7E08 8FBE0038 */ lw $fp, 0x38($sp) +/* 0812BC 800E7E0C 8FB70034 */ lw $s7, 0x34($sp) +/* 0812C0 800E7E10 8FB60030 */ lw $s6, 0x30($sp) +/* 0812C4 800E7E14 8FB5002C */ lw $s5, 0x2c($sp) +/* 0812C8 800E7E18 8FB40028 */ lw $s4, 0x28($sp) +/* 0812CC 800E7E1C 8FB30024 */ lw $s3, 0x24($sp) +/* 0812D0 800E7E20 8FB20020 */ lw $s2, 0x20($sp) +/* 0812D4 800E7E24 8FB1001C */ lw $s1, 0x1c($sp) +/* 0812D8 800E7E28 8FB00018 */ lw $s0, 0x18($sp) +/* 0812DC 800E7E2C 03E00008 */ jr $ra +/* 0812E0 800E7E30 27BD0040 */ addiu $sp, $sp, 0x40 + +status_menu_draw_stat: +/* 0812E4 800E7E34 27BDFFB8 */ addiu $sp, $sp, -0x48 +/* 0812E8 800E7E38 AFB40030 */ sw $s4, 0x30($sp) +/* 0812EC 800E7E3C 0080A02D */ daddu $s4, $a0, $zero +/* 0812F0 800E7E40 AFB00020 */ sw $s0, 0x20($sp) +/* 0812F4 800E7E44 00A0802D */ daddu $s0, $a1, $zero +/* 0812F8 800E7E48 AFB10024 */ sw $s1, 0x24($sp) +/* 0812FC 800E7E4C 00C0882D */ daddu $s1, $a2, $zero +/* 081300 800E7E50 AFB3002C */ sw $s3, 0x2c($sp) +/* 081304 800E7E54 00E0982D */ daddu $s3, $a3, $zero +/* 081308 800E7E58 AFB60038 */ sw $s6, 0x38($sp) +/* 08130C 800E7E5C 24160002 */ addiu $s6, $zero, 2 +/* 081310 800E7E60 AFB20028 */ sw $s2, 0x28($sp) +/* 081314 800E7E64 0000902D */ daddu $s2, $zero, $zero +/* 081318 800E7E68 AFB50034 */ sw $s5, 0x34($sp) +/* 08131C 800E7E6C 8FB50058 */ lw $s5, 0x58($sp) +/* 081320 800E7E70 3C05800F */ lui $a1, 0x800f +/* 081324 800E7E74 8CA57FAC */ lw $a1, 0x7fac($a1) +/* 081328 800E7E78 26080008 */ addiu $t0, $s0, 8 +/* 08132C 800E7E7C AFA80018 */ sw $t0, 0x18($sp) +/* 081330 800E7E80 26280008 */ addiu $t0, $s1, 8 +/* 081334 800E7E84 AFBF0044 */ sw $ra, 0x44($sp) +/* 081338 800E7E88 AFBE0040 */ sw $fp, 0x40($sp) +/* 08133C 800E7E8C AFB7003C */ sw $s7, 0x3c($sp) +/* 081340 800E7E90 0C0511FF */ jal set_menu_icon_script +/* 081344 800E7E94 AFA8001C */ sw $t0, 0x1c($sp) +/* 081348 800E7E98 0280202D */ daddu $a0, $s4, $zero +/* 08134C 800E7E9C 26050016 */ addiu $a1, $s0, 0x16 +/* 081350 800E7EA0 0C051261 */ jal set_icon_render_pos +/* 081354 800E7EA4 26260009 */ addiu $a2, $s1, 9 +/* 081358 800E7EA8 0280202D */ daddu $a0, $s4, $zero +/* 08135C 800E7EAC 0C05128B */ jal clear_icon_flags +/* 081360 800E7EB0 02C0282D */ daddu $a1, $s6, $zero +/* 081364 800E7EB4 0C0511F1 */ jal draw_icon_1 +/* 081368 800E7EB8 0280202D */ daddu $a0, $s4, $zero +/* 08136C 800E7EBC 3C066666 */ lui $a2, 0x6666 +/* 081370 800E7EC0 34C66667 */ ori $a2, $a2, 0x6667 +/* 081374 800E7EC4 27A50010 */ addiu $a1, $sp, 0x10 +.L800E7EC8: +/* 081378 800E7EC8 02660018 */ mult $s3, $a2 +/* 08137C 800E7ECC 02D22023 */ subu $a0, $s6, $s2 +/* 081380 800E7ED0 26520001 */ addiu $s2, $s2, 1 +/* 081384 800E7ED4 001317C3 */ sra $v0, $s3, 0x1f +/* 081388 800E7ED8 00852021 */ addu $a0, $a0, $a1 +/* 08138C 800E7EDC 00004010 */ mfhi $t0 +/* 081390 800E7EE0 00081883 */ sra $v1, $t0, 2 +/* 081394 800E7EE4 00621023 */ subu $v0, $v1, $v0 +/* 081398 800E7EE8 0040182D */ daddu $v1, $v0, $zero +/* 08139C 800E7EEC 00031080 */ sll $v0, $v1, 2 +/* 0813A0 800E7EF0 00431021 */ addu $v0, $v0, $v1 +/* 0813A4 800E7EF4 00021040 */ sll $v0, $v0, 1 +/* 0813A8 800E7EF8 02621023 */ subu $v0, $s3, $v0 +/* 0813AC 800E7EFC A082FFFF */ sb $v0, -1($a0) +/* 0813B0 800E7F00 0256102A */ slt $v0, $s2, $s6 +/* 0813B4 800E7F04 1440FFF0 */ bnez $v0, .L800E7EC8 +/* 0813B8 800E7F08 0060982D */ daddu $s3, $v1, $zero +/* 0813BC 800E7F0C 8FB00018 */ lw $s0, 0x18($sp) +/* 0813C0 800E7F10 0000882D */ daddu $s1, $zero, $zero +/* 0813C4 800E7F14 8FB3001C */ lw $s3, 0x1c($sp) +/* 0813C8 800E7F18 12C00020 */ beqz $s6, .L800E7F9C +/* 0813CC 800E7F1C 0220902D */ daddu $s2, $s1, $zero +/* 0813D0 800E7F20 27BE0010 */ addiu $fp, $sp, 0x10 +/* 0813D4 800E7F24 26D7FFFF */ addiu $s7, $s6, -1 +.L800E7F28: +/* 0813D8 800E7F28 03D21021 */ addu $v0, $fp, $s2 +/* 0813DC 800E7F2C 80420000 */ lb $v0, ($v0) +/* 0813E0 800E7F30 54400006 */ bnezl $v0, .L800E7F4C +/* 0813E4 800E7F34 24110001 */ addiu $s1, $zero, 1 +/* 0813E8 800E7F38 56200004 */ bnezl $s1, .L800E7F4C +/* 0813EC 800E7F3C 24110001 */ addiu $s1, $zero, 1 +/* 0813F0 800E7F40 56570013 */ bnel $s2, $s7, .L800E7F90 +/* 0813F4 800E7F44 26520001 */ addiu $s2, $s2, 1 +/* 0813F8 800E7F48 24110001 */ addiu $s1, $zero, 1 +.L800E7F4C: +/* 0813FC 800E7F4C 00021080 */ sll $v0, $v0, 2 +/* 081400 800E7F50 3C08800F */ lui $t0, 0x800f +/* 081404 800E7F54 25087F80 */ addiu $t0, $t0, 0x7f80 +/* 081408 800E7F58 00481021 */ addu $v0, $v0, $t0 +/* 08140C 800E7F5C 8C450000 */ lw $a1, ($v0) +/* 081410 800E7F60 0C0511FF */ jal set_menu_icon_script +/* 081414 800E7F64 0280202D */ daddu $a0, $s4, $zero +/* 081418 800E7F68 0280202D */ daddu $a0, $s4, $zero +/* 08141C 800E7F6C 0200282D */ daddu $a1, $s0, $zero +/* 081420 800E7F70 0C051261 */ jal set_icon_render_pos +/* 081424 800E7F74 0260302D */ daddu $a2, $s3, $zero +/* 081428 800E7F78 0280202D */ daddu $a0, $s4, $zero +/* 08142C 800E7F7C 0C05128B */ jal clear_icon_flags +/* 081430 800E7F80 24050002 */ addiu $a1, $zero, 2 +/* 081434 800E7F84 0C0511F1 */ jal draw_icon_1 +/* 081438 800E7F88 0280202D */ daddu $a0, $s4, $zero +/* 08143C 800E7F8C 26520001 */ addiu $s2, $s2, 1 +.L800E7F90: +/* 081440 800E7F90 0256102A */ slt $v0, $s2, $s6 +/* 081444 800E7F94 1440FFE4 */ bnez $v0, .L800E7F28 +/* 081448 800E7F98 26100008 */ addiu $s0, $s0, 8 +.L800E7F9C: +/* 08144C 800E7F9C 12C00014 */ beqz $s6, .L800E7FF0 +/* 081450 800E7FA0 0000902D */ daddu $s2, $zero, $zero +/* 081454 800E7FA4 27A60010 */ addiu $a2, $sp, 0x10 +/* 081458 800E7FA8 3C056666 */ lui $a1, 0x6666 +/* 08145C 800E7FAC 34A56667 */ ori $a1, $a1, 0x6667 +.L800E7FB0: +/* 081460 800E7FB0 02A50018 */ mult $s5, $a1 +/* 081464 800E7FB4 02D22023 */ subu $a0, $s6, $s2 +/* 081468 800E7FB8 26520001 */ addiu $s2, $s2, 1 +/* 08146C 800E7FBC 00862021 */ addu $a0, $a0, $a2 +/* 081470 800E7FC0 001517C3 */ sra $v0, $s5, 0x1f +/* 081474 800E7FC4 00004010 */ mfhi $t0 +/* 081478 800E7FC8 00081883 */ sra $v1, $t0, 2 +/* 08147C 800E7FCC 00621823 */ subu $v1, $v1, $v0 +/* 081480 800E7FD0 00031080 */ sll $v0, $v1, 2 +/* 081484 800E7FD4 00431021 */ addu $v0, $v0, $v1 +/* 081488 800E7FD8 00021040 */ sll $v0, $v0, 1 +/* 08148C 800E7FDC 02A21023 */ subu $v0, $s5, $v0 +/* 081490 800E7FE0 A082FFFF */ sb $v0, -1($a0) +/* 081494 800E7FE4 0256102A */ slt $v0, $s2, $s6 +/* 081498 800E7FE8 1440FFF1 */ bnez $v0, .L800E7FB0 +/* 08149C 800E7FEC 0060A82D */ daddu $s5, $v1, $zero +.L800E7FF0: +/* 0814A0 800E7FF0 0000882D */ daddu $s1, $zero, $zero +/* 0814A4 800E7FF4 0220902D */ daddu $s2, $s1, $zero +/* 0814A8 800E7FF8 8FA80018 */ lw $t0, 0x18($sp) +/* 0814AC 800E7FFC 8FB3001C */ lw $s3, 0x1c($sp) +/* 0814B0 800E8000 12C00020 */ beqz $s6, .L800E8084 +/* 0814B4 800E8004 2510001A */ addiu $s0, $t0, 0x1a +/* 0814B8 800E8008 27B70010 */ addiu $s7, $sp, 0x10 +/* 0814BC 800E800C 26D5FFFF */ addiu $s5, $s6, -1 +/* 0814C0 800E8010 3C1E800F */ lui $fp, 0x800f +/* 0814C4 800E8014 27DE7F80 */ addiu $fp, $fp, 0x7f80 +.L800E8018: +/* 0814C8 800E8018 02F21021 */ addu $v0, $s7, $s2 +/* 0814CC 800E801C 80420000 */ lb $v0, ($v0) +/* 0814D0 800E8020 54400006 */ bnezl $v0, .L800E803C +/* 0814D4 800E8024 24110001 */ addiu $s1, $zero, 1 +/* 0814D8 800E8028 56200004 */ bnezl $s1, .L800E803C +/* 0814DC 800E802C 24110001 */ addiu $s1, $zero, 1 +/* 0814E0 800E8030 56550011 */ bnel $s2, $s5, .L800E8078 +/* 0814E4 800E8034 26520001 */ addiu $s2, $s2, 1 +/* 0814E8 800E8038 24110001 */ addiu $s1, $zero, 1 +.L800E803C: +/* 0814EC 800E803C 00021080 */ sll $v0, $v0, 2 +/* 0814F0 800E8040 005E1021 */ addu $v0, $v0, $fp +/* 0814F4 800E8044 8C450000 */ lw $a1, ($v0) +/* 0814F8 800E8048 0C0511FF */ jal set_menu_icon_script +/* 0814FC 800E804C 0280202D */ daddu $a0, $s4, $zero +/* 081500 800E8050 0280202D */ daddu $a0, $s4, $zero +/* 081504 800E8054 0200282D */ daddu $a1, $s0, $zero +/* 081508 800E8058 0C051261 */ jal set_icon_render_pos +/* 08150C 800E805C 0260302D */ daddu $a2, $s3, $zero +/* 081510 800E8060 0280202D */ daddu $a0, $s4, $zero +/* 081514 800E8064 0C05128B */ jal clear_icon_flags +/* 081518 800E8068 24050002 */ addiu $a1, $zero, 2 +/* 08151C 800E806C 0C0511F1 */ jal draw_icon_1 +/* 081520 800E8070 0280202D */ daddu $a0, $s4, $zero +/* 081524 800E8074 26520001 */ addiu $s2, $s2, 1 +.L800E8078: +/* 081528 800E8078 0256102A */ slt $v0, $s2, $s6 +/* 08152C 800E807C 1440FFE6 */ bnez $v0, .L800E8018 +/* 081530 800E8080 26100008 */ addiu $s0, $s0, 8 +.L800E8084: +/* 081534 800E8084 8FBF0044 */ lw $ra, 0x44($sp) +/* 081538 800E8088 8FBE0040 */ lw $fp, 0x40($sp) +/* 08153C 800E808C 8FB7003C */ lw $s7, 0x3c($sp) +/* 081540 800E8090 8FB60038 */ lw $s6, 0x38($sp) +/* 081544 800E8094 8FB50034 */ lw $s5, 0x34($sp) +/* 081548 800E8098 8FB40030 */ lw $s4, 0x30($sp) +/* 08154C 800E809C 8FB3002C */ lw $s3, 0x2c($sp) +/* 081550 800E80A0 8FB20028 */ lw $s2, 0x28($sp) +/* 081554 800E80A4 8FB10024 */ lw $s1, 0x24($sp) +/* 081558 800E80A8 8FB00020 */ lw $s0, 0x20($sp) +/* 08155C 800E80AC 03E00008 */ jr $ra +/* 081560 800E80B0 27BD0048 */ addiu $sp, $sp, 0x48 + +update_status_menu: +/* 081564 800E80B4 27BDFF70 */ addiu $sp, $sp, -0x90 +/* 081568 800E80B8 AFB00068 */ sw $s0, 0x68($sp) +/* 08156C 800E80BC 3C108007 */ lui $s0, 0x8007 +/* 081570 800E80C0 2610419C */ addiu $s0, $s0, 0x419c +/* 081574 800E80C4 AFBF008C */ sw $ra, 0x8c($sp) +/* 081578 800E80C8 AFBE0088 */ sw $fp, 0x88($sp) +/* 08157C 800E80CC AFB70084 */ sw $s7, 0x84($sp) +/* 081580 800E80D0 AFB60080 */ sw $s6, 0x80($sp) +/* 081584 800E80D4 AFB5007C */ sw $s5, 0x7c($sp) +/* 081588 800E80D8 AFB40078 */ sw $s4, 0x78($sp) +/* 08158C 800E80DC AFB30074 */ sw $s3, 0x74($sp) +/* 081590 800E80E0 AFB20070 */ sw $s2, 0x70($sp) +/* 081594 800E80E4 AFB1006C */ sw $s1, 0x6c($sp) +/* 081598 800E80E8 8E030000 */ lw $v1, ($s0) +/* 08159C 800E80EC 3C138011 */ lui $s3, 0x8011 +/* 0815A0 800E80F0 2673EF58 */ addiu $s3, $s3, -0x10a8 +/* 0815A4 800E80F4 806200A8 */ lb $v0, 0xa8($v1) +/* 0815A8 800E80F8 3C118011 */ lui $s1, 0x8011 +/* 0815AC 800E80FC 2631EFC8 */ addiu $s1, $s1, -0x1038 +/* 0815B0 800E8100 04410469 */ bgez $v0, .L800E92A8 +/* 0815B4 800E8104 00000000 */ nop +/* 0815B8 800E8108 80620071 */ lb $v0, 0x71($v1) +/* 0815BC 800E810C 14400466 */ bnez $v0, .L800E92A8 +/* 0815C0 800E8110 00000000 */ nop +/* 0815C4 800E8114 9062007E */ lbu $v0, 0x7e($v1) +/* 0815C8 800E8118 30420001 */ andi $v0, $v0, 1 +/* 0815CC 800E811C 14400462 */ bnez $v0, .L800E92A8 +/* 0815D0 800E8120 0000202D */ daddu $a0, $zero, $zero +/* 0815D4 800E8124 3C05F5DE */ lui $a1, 0xf5de +/* 0815D8 800E8128 0C0B1EAF */ jal get_variable +/* 0815DC 800E812C 34A50180 */ ori $a1, $a1, 0x180 +/* 0815E0 800E8130 28420060 */ slti $v0, $v0, 0x60 +/* 0815E4 800E8134 1040045C */ beqz $v0, .L800E92A8 +/* 0815E8 800E8138 00000000 */ nop +/* 0815EC 800E813C 8E020000 */ lw $v0, ($s0) +/* 0815F0 800E8140 80420070 */ lb $v0, 0x70($v0) +/* 0815F4 800E8144 14400008 */ bnez $v0, .L800E8168 +/* 0815F8 800E8148 00000000 */ nop +/* 0815FC 800E814C 3C038011 */ lui $v1, 0x8011 +/* 081600 800E8150 8463F29C */ lh $v1, -0xd64($v1) +/* 081604 800E8154 86620040 */ lh $v0, 0x40($s3) +/* 081608 800E8158 10620007 */ beq $v1, $v0, .L800E8178 +/* 08160C 800E815C 00628023 */ subu $s0, $v1, $v0 +/* 081610 800E8160 0C03A67D */ jal status_menu_start_blinking_coins +/* 081614 800E8164 00000000 */ nop +.L800E8168: +/* 081618 800E8168 3C038011 */ lui $v1, 0x8011 +/* 08161C 800E816C 8463F29C */ lh $v1, -0xd64($v1) +/* 081620 800E8170 86620040 */ lh $v0, 0x40($s3) +/* 081624 800E8174 00628023 */ subu $s0, $v1, $v0 +.L800E8178: +/* 081628 800E8178 06010004 */ bgez $s0, .L800E818C +/* 08162C 800E817C 3C036666 */ lui $v1, 0x6666 +/* 081630 800E8180 34636667 */ ori $v1, $v1, 0x6667 +/* 081634 800E8184 0803A065 */ j .L800E8194 +/* 081638 800E8188 2602FFFC */ addiu $v0, $s0, -4 + +.L800E818C: +/* 08163C 800E818C 34636667 */ ori $v1, $v1, 0x6667 +/* 081640 800E8190 26020004 */ addiu $v0, $s0, 4 +.L800E8194: +/* 081644 800E8194 00430018 */ mult $v0, $v1 +/* 081648 800E8198 000217C3 */ sra $v0, $v0, 0x1f +/* 08164C 800E819C 00004810 */ mfhi $t1 +/* 081650 800E81A0 00091843 */ sra $v1, $t1, 1 +/* 081654 800E81A4 00628023 */ subu $s0, $v1, $v0 +/* 081658 800E81A8 96620040 */ lhu $v0, 0x40($s3) +/* 08165C 800E81AC 8264003D */ lb $a0, 0x3d($s3) +/* 081660 800E81B0 3C038011 */ lui $v1, 0x8011 +/* 081664 800E81B4 8063F292 */ lb $v1, -0xd6e($v1) +/* 081668 800E81B8 00501021 */ addu $v0, $v0, $s0 +/* 08166C 800E81BC 1083000C */ beq $a0, $v1, .L800E81F0 +/* 081670 800E81C0 A6620040 */ sh $v0, 0x40($s3) +/* 081674 800E81C4 82620044 */ lb $v0, 0x44($s3) +/* 081678 800E81C8 14400009 */ bnez $v0, .L800E81F0 +/* 08167C 800E81CC 00000000 */ nop +/* 081680 800E81D0 8262003A */ lb $v0, 0x3a($s3) +/* 081684 800E81D4 10400005 */ beqz $v0, .L800E81EC +/* 081688 800E81D8 24020046 */ addiu $v0, $zero, 0x46 +/* 08168C 800E81DC A6620038 */ sh $v0, 0x38($s3) +/* 081690 800E81E0 A260003A */ sb $zero, 0x3a($s3) +/* 081694 800E81E4 0803A07C */ j .L800E81F0 +/* 081698 800E81E8 A260003B */ sb $zero, 0x3b($s3) + +.L800E81EC: +/* 08169C 800E81EC A6620038 */ sh $v0, 0x38($s3) +.L800E81F0: +/* 0816A0 800E81F0 8263003E */ lb $v1, 0x3e($s3) +/* 0816A4 800E81F4 3C028011 */ lui $v0, 0x8011 +/* 0816A8 800E81F8 8042F295 */ lb $v0, -0xd6b($v0) +/* 0816AC 800E81FC 1062000C */ beq $v1, $v0, .L800E8230 +/* 0816B0 800E8200 00000000 */ nop +/* 0816B4 800E8204 82620044 */ lb $v0, 0x44($s3) +/* 0816B8 800E8208 14400009 */ bnez $v0, .L800E8230 +/* 0816BC 800E820C 00000000 */ nop +/* 0816C0 800E8210 8262003A */ lb $v0, 0x3a($s3) +/* 0816C4 800E8214 10400005 */ beqz $v0, .L800E822C +/* 0816C8 800E8218 24020046 */ addiu $v0, $zero, 0x46 +/* 0816CC 800E821C A6620038 */ sh $v0, 0x38($s3) +/* 0816D0 800E8220 A260003A */ sb $zero, 0x3a($s3) +/* 0816D4 800E8224 0803A08C */ j .L800E8230 +/* 0816D8 800E8228 A260003B */ sb $zero, 0x3b($s3) + +.L800E822C: +/* 0816DC 800E822C A6620038 */ sh $v0, 0x38($s3) +.L800E8230: +/* 0816E0 800E8230 86630048 */ lh $v1, 0x48($s3) +/* 0816E4 800E8234 3C028011 */ lui $v0, 0x8011 +/* 0816E8 800E8238 8442F520 */ lh $v0, -0xae0($v0) +/* 0816EC 800E823C 1062000C */ beq $v1, $v0, .L800E8270 +/* 0816F0 800E8240 00000000 */ nop +/* 0816F4 800E8244 82620044 */ lb $v0, 0x44($s3) +/* 0816F8 800E8248 14400009 */ bnez $v0, .L800E8270 +/* 0816FC 800E824C 00000000 */ nop +/* 081700 800E8250 8262003A */ lb $v0, 0x3a($s3) +/* 081704 800E8254 10400005 */ beqz $v0, .L800E826C +/* 081708 800E8258 24020046 */ addiu $v0, $zero, 0x46 +/* 08170C 800E825C A6620038 */ sh $v0, 0x38($s3) +/* 081710 800E8260 A260003A */ sb $zero, 0x3a($s3) +/* 081714 800E8264 0803A09C */ j .L800E8270 +/* 081718 800E8268 A260003B */ sb $zero, 0x3b($s3) + +.L800E826C: +/* 08171C 800E826C A6620038 */ sh $v0, 0x38($s3) +.L800E8270: +/* 081720 800E8270 8264003D */ lb $a0, 0x3d($s3) +/* 081724 800E8274 3C038011 */ lui $v1, 0x8011 +/* 081728 800E8278 8063F292 */ lb $v1, -0xd6e($v1) +/* 08172C 800E827C 1083002E */ beq $a0, $v1, .L800E8338 +/* 081730 800E8280 00000000 */ nop +/* 081734 800E8284 3C028007 */ lui $v0, 0x8007 +/* 081738 800E8288 8C42419C */ lw $v0, 0x419c($v0) +/* 08173C 800E828C 80420070 */ lb $v0, 0x70($v0) +/* 081740 800E8290 14400005 */ bnez $v0, .L800E82A8 +/* 081744 800E8294 0064102A */ slt $v0, $v1, $a0 +/* 081748 800E8298 10400003 */ beqz $v0, .L800E82A8 +/* 08174C 800E829C 00000000 */ nop +/* 081750 800E82A0 0C03A648 */ jal status_menu_start_blinking_hp +/* 081754 800E82A4 00000000 */ nop +.L800E82A8: +/* 081758 800E82A8 8262003D */ lb $v0, 0x3d($s3) +/* 08175C 800E82AC 3C038011 */ lui $v1, 0x8011 +/* 081760 800E82B0 8063F292 */ lb $v1, -0xd6e($v1) +/* 081764 800E82B4 0043102A */ slt $v0, $v0, $v1 +/* 081768 800E82B8 10400018 */ beqz $v0, .L800E831C +/* 08176C 800E82BC 9263003D */ lbu $v1, 0x3d($s3) +/* 081770 800E82C0 86620036 */ lh $v0, 0x36($s3) +/* 081774 800E82C4 28420012 */ slti $v0, $v0, 0x12 +/* 081778 800E82C8 1440000C */ bnez $v0, .L800E82FC +/* 08177C 800E82CC 00000000 */ nop +/* 081780 800E82D0 3C028007 */ lui $v0, 0x8007 +/* 081784 800E82D4 8C42419C */ lw $v0, 0x419c($v0) +/* 081788 800E82D8 94420134 */ lhu $v0, 0x134($v0) +/* 08178C 800E82DC 30420003 */ andi $v0, $v0, 3 +/* 081790 800E82E0 14400015 */ bnez $v0, .L800E8338 +/* 081794 800E82E4 24620001 */ addiu $v0, $v1, 1 +/* 081798 800E82E8 A262003D */ sb $v0, 0x3d($s3) +/* 08179C 800E82EC 0C05272D */ jal play_sound +/* 0817A0 800E82F0 24040213 */ addiu $a0, $zero, 0x213 +/* 0817A4 800E82F4 0803A0CE */ j .L800E8338 +/* 0817A8 800E82F8 00000000 */ nop + +.L800E82FC: +/* 0817AC 800E82FC 3C028007 */ lui $v0, 0x8007 +/* 0817B0 800E8300 8C42419C */ lw $v0, 0x419c($v0) +/* 0817B4 800E8304 94420134 */ lhu $v0, 0x134($v0) +/* 0817B8 800E8308 30420003 */ andi $v0, $v0, 3 +/* 0817BC 800E830C 1440000A */ bnez $v0, .L800E8338 +/* 0817C0 800E8310 24620001 */ addiu $v0, $v1, 1 +/* 0817C4 800E8314 0803A0CE */ j .L800E8338 +/* 0817C8 800E8318 A262003D */ sb $v0, 0x3d($s3) + +.L800E831C: +/* 0817CC 800E831C 3C028007 */ lui $v0, 0x8007 +/* 0817D0 800E8320 8C42419C */ lw $v0, 0x419c($v0) +/* 0817D4 800E8324 94420134 */ lhu $v0, 0x134($v0) +/* 0817D8 800E8328 30420003 */ andi $v0, $v0, 3 +/* 0817DC 800E832C 14400002 */ bnez $v0, .L800E8338 +/* 0817E0 800E8330 2462FFFF */ addiu $v0, $v1, -1 +/* 0817E4 800E8334 A262003D */ sb $v0, 0x3d($s3) +.L800E8338: +/* 0817E8 800E8338 8264003E */ lb $a0, 0x3e($s3) +/* 0817EC 800E833C 3C038011 */ lui $v1, 0x8011 +/* 0817F0 800E8340 8063F295 */ lb $v1, -0xd6b($v1) +/* 0817F4 800E8344 1083002E */ beq $a0, $v1, .L800E8400 +/* 0817F8 800E8348 00000000 */ nop +/* 0817FC 800E834C 3C028007 */ lui $v0, 0x8007 +/* 081800 800E8350 8C42419C */ lw $v0, 0x419c($v0) +/* 081804 800E8354 80420070 */ lb $v0, 0x70($v0) +/* 081808 800E8358 14400005 */ bnez $v0, .L800E8370 +/* 08180C 800E835C 0064102A */ slt $v0, $v1, $a0 +/* 081810 800E8360 10400003 */ beqz $v0, .L800E8370 +/* 081814 800E8364 00000000 */ nop +/* 081818 800E8368 0C03A663 */ jal status_menu_start_blinking_fp +/* 08181C 800E836C 00000000 */ nop +.L800E8370: +/* 081820 800E8370 8262003E */ lb $v0, 0x3e($s3) +/* 081824 800E8374 3C038011 */ lui $v1, 0x8011 +/* 081828 800E8378 8063F295 */ lb $v1, -0xd6b($v1) +/* 08182C 800E837C 0043102A */ slt $v0, $v0, $v1 +/* 081830 800E8380 10400018 */ beqz $v0, .L800E83E4 +/* 081834 800E8384 9263003E */ lbu $v1, 0x3e($s3) +/* 081838 800E8388 86620036 */ lh $v0, 0x36($s3) +/* 08183C 800E838C 28420012 */ slti $v0, $v0, 0x12 +/* 081840 800E8390 1440000C */ bnez $v0, .L800E83C4 +/* 081844 800E8394 00000000 */ nop +/* 081848 800E8398 3C028007 */ lui $v0, 0x8007 +/* 08184C 800E839C 8C42419C */ lw $v0, 0x419c($v0) +/* 081850 800E83A0 94420134 */ lhu $v0, 0x134($v0) +/* 081854 800E83A4 30420003 */ andi $v0, $v0, 3 +/* 081858 800E83A8 14400015 */ bnez $v0, .L800E8400 +/* 08185C 800E83AC 24620001 */ addiu $v0, $v1, 1 +/* 081860 800E83B0 A262003E */ sb $v0, 0x3e($s3) +/* 081864 800E83B4 0C05272D */ jal play_sound +/* 081868 800E83B8 24040217 */ addiu $a0, $zero, 0x217 +/* 08186C 800E83BC 0803A100 */ j .L800E8400 +/* 081870 800E83C0 00000000 */ nop + +.L800E83C4: +/* 081874 800E83C4 3C028007 */ lui $v0, 0x8007 +/* 081878 800E83C8 8C42419C */ lw $v0, 0x419c($v0) +/* 08187C 800E83CC 94420134 */ lhu $v0, 0x134($v0) +/* 081880 800E83D0 30420003 */ andi $v0, $v0, 3 +/* 081884 800E83D4 1440000A */ bnez $v0, .L800E8400 +/* 081888 800E83D8 24620001 */ addiu $v0, $v1, 1 +/* 08188C 800E83DC 0803A100 */ j .L800E8400 +/* 081890 800E83E0 A262003E */ sb $v0, 0x3e($s3) + +.L800E83E4: +/* 081894 800E83E4 3C028007 */ lui $v0, 0x8007 +/* 081898 800E83E8 8C42419C */ lw $v0, 0x419c($v0) +/* 08189C 800E83EC 94420134 */ lhu $v0, 0x134($v0) +/* 0818A0 800E83F0 30420003 */ andi $v0, $v0, 3 +/* 0818A4 800E83F4 14400002 */ bnez $v0, .L800E8400 +/* 0818A8 800E83F8 2462FFFF */ addiu $v0, $v1, -1 +/* 0818AC 800E83FC A262003E */ sb $v0, 0x3e($s3) +.L800E8400: +/* 0818B0 800E8400 86620048 */ lh $v0, 0x48($s3) +/* 0818B4 800E8404 3C048011 */ lui $a0, 0x8011 +/* 0818B8 800E8408 8484F520 */ lh $a0, -0xae0($a0) +/* 0818BC 800E840C 96630048 */ lhu $v1, 0x48($s3) +/* 0818C0 800E8410 1044001A */ beq $v0, $a0, .L800E847C +/* 0818C4 800E8414 0044102A */ slt $v0, $v0, $a0 +/* 0818C8 800E8418 1040000D */ beqz $v0, .L800E8450 +/* 0818CC 800E841C 2462000A */ addiu $v0, $v1, 0xa +/* 0818D0 800E8420 A6620048 */ sh $v0, 0x48($s3) +/* 0818D4 800E8424 00021400 */ sll $v0, $v0, 0x10 +/* 0818D8 800E8428 3C038011 */ lui $v1, 0x8011 +/* 0818DC 800E842C 8463F520 */ lh $v1, -0xae0($v1) +/* 0818E0 800E8430 00021403 */ sra $v0, $v0, 0x10 +/* 0818E4 800E8434 0062182A */ slt $v1, $v1, $v0 +/* 0818E8 800E8438 3C028011 */ lui $v0, 0x8011 +/* 0818EC 800E843C 9442F520 */ lhu $v0, -0xae0($v0) +/* 0818F0 800E8440 5460000E */ bnezl $v1, .L800E847C +/* 0818F4 800E8444 A6620048 */ sh $v0, 0x48($s3) +/* 0818F8 800E8448 0803A11F */ j .L800E847C +/* 0818FC 800E844C 00000000 */ nop + +.L800E8450: +/* 081900 800E8450 2462FFF6 */ addiu $v0, $v1, -0xa +/* 081904 800E8454 A6620048 */ sh $v0, 0x48($s3) +/* 081908 800E8458 00021400 */ sll $v0, $v0, 0x10 +/* 08190C 800E845C 3C038011 */ lui $v1, 0x8011 +/* 081910 800E8460 8463F520 */ lh $v1, -0xae0($v1) +/* 081914 800E8464 00021403 */ sra $v0, $v0, 0x10 +/* 081918 800E8468 0043102A */ slt $v0, $v0, $v1 +/* 08191C 800E846C 3C038011 */ lui $v1, 0x8011 +/* 081920 800E8470 9463F520 */ lhu $v1, -0xae0($v1) +/* 081924 800E8474 54400001 */ bnezl $v0, .L800E847C +/* 081928 800E8478 A6630048 */ sh $v1, 0x48($s3) +.L800E847C: +/* 08192C 800E847C 82620047 */ lb $v0, 0x47($s3) +/* 081930 800E8480 14400389 */ bnez $v0, .L800E92A8 +/* 081934 800E8484 00000000 */ nop +/* 081938 800E8488 82620046 */ lb $v0, 0x46($s3) +/* 08193C 800E848C 1040000A */ beqz $v0, .L800E84B8 +/* 081940 800E8490 00000000 */ nop +/* 081944 800E8494 8262003A */ lb $v0, 0x3a($s3) +/* 081948 800E8498 10400007 */ beqz $v0, .L800E84B8 +/* 08194C 800E849C 00000000 */ nop +/* 081950 800E84A0 82220015 */ lb $v0, 0x15($s1) +/* 081954 800E84A4 14400004 */ bnez $v0, .L800E84B8 +/* 081958 800E84A8 2402002A */ addiu $v0, $zero, 0x2a +/* 08195C 800E84AC A6620038 */ sh $v0, 0x38($s3) +/* 081960 800E84B0 A260003A */ sb $zero, 0x3a($s3) +/* 081964 800E84B4 A260003B */ sb $zero, 0x3b($s3) +.L800E84B8: +/* 081968 800E84B8 8263003A */ lb $v1, 0x3a($s3) +/* 08196C 800E84BC 10600005 */ beqz $v1, .L800E84D4 +/* 081970 800E84C0 24020001 */ addiu $v0, $zero, 1 +/* 081974 800E84C4 1062002E */ beq $v1, $v0, .L800E8580 +/* 081978 800E84C8 3C08ED03 */ lui $t0, 0xed03 +/* 08197C 800E84CC 0803A188 */ j .L800E8620 +/* 081980 800E84D0 35080050 */ ori $t0, $t0, 0x50 + +.L800E84D4: +/* 081984 800E84D4 96620036 */ lhu $v0, 0x36($s3) +/* 081988 800E84D8 2442000A */ addiu $v0, $v0, 0xa +/* 08198C 800E84DC A6620036 */ sh $v0, 0x36($s3) +/* 081990 800E84E0 00021400 */ sll $v0, $v0, 0x10 +/* 081994 800E84E4 00021403 */ sra $v0, $v0, 0x10 +/* 081998 800E84E8 28420012 */ slti $v0, $v0, 0x12 +/* 08199C 800E84EC 1440004B */ bnez $v0, .L800E861C +/* 0819A0 800E84F0 3C08ED03 */ lui $t0, 0xed03 +/* 0819A4 800E84F4 8263003C */ lb $v1, 0x3c($s3) +/* 0819A8 800E84F8 24020012 */ addiu $v0, $zero, 0x12 +/* 0819AC 800E84FC 10600007 */ beqz $v1, .L800E851C +/* 0819B0 800E8500 A6620036 */ sh $v0, 0x36($s3) +/* 0819B4 800E8504 8262003B */ lb $v0, 0x3b($s3) +/* 0819B8 800E8508 10400004 */ beqz $v0, .L800E851C +/* 0819BC 800E850C 00000000 */ nop +/* 0819C0 800E8510 822200B4 */ lb $v0, 0xb4($s1) +/* 0819C4 800E8514 54400001 */ bnezl $v0, .L800E851C +/* 0819C8 800E8518 A6600038 */ sh $zero, 0x38($s3) +.L800E851C: +/* 0819CC 800E851C 86620038 */ lh $v0, 0x38($s3) +/* 0819D0 800E8520 96630038 */ lhu $v1, 0x38($s3) +/* 0819D4 800E8524 10400003 */ beqz $v0, .L800E8534 +/* 0819D8 800E8528 2462FFFF */ addiu $v0, $v1, -1 +/* 0819DC 800E852C 0803A186 */ j .L800E8618 +/* 0819E0 800E8530 A6620038 */ sh $v0, 0x38($s3) + +.L800E8534: +/* 0819E4 800E8534 82620044 */ lb $v0, 0x44($s3) +/* 0819E8 800E8538 14400038 */ bnez $v0, .L800E861C +/* 0819EC 800E853C 3C08ED03 */ lui $t0, 0xed03 +/* 0819F0 800E8540 8262003B */ lb $v0, 0x3b($s3) +/* 0819F4 800E8544 10400004 */ beqz $v0, .L800E8558 +/* 0819F8 800E8548 00000000 */ nop +/* 0819FC 800E854C 822200B4 */ lb $v0, 0xb4($s1) +/* 081A00 800E8550 10400033 */ beqz $v0, .L800E8620 +/* 081A04 800E8554 35080050 */ ori $t0, $t0, 0x50 +.L800E8558: +/* 081A08 800E8558 3C028007 */ lui $v0, 0x8007 +/* 081A0C 800E855C 8C42419C */ lw $v0, 0x419c($v0) +/* 081A10 800E8560 80420070 */ lb $v0, 0x70($v0) +/* 081A14 800E8564 1440002D */ bnez $v0, .L800E861C +/* 081A18 800E8568 3C08ED03 */ lui $t0, 0xed03 +/* 081A1C 800E856C 24020001 */ addiu $v0, $zero, 1 +/* 081A20 800E8570 A262003A */ sb $v0, 0x3a($s3) +/* 081A24 800E8574 A6600038 */ sh $zero, 0x38($s3) +/* 081A28 800E8578 0803A187 */ j .L800E861C +/* 081A2C 800E857C A260003C */ sb $zero, 0x3c($s3) + +.L800E8580: +/* 081A30 800E8580 96620036 */ lhu $v0, 0x36($s3) +/* 081A34 800E8584 2442FFFB */ addiu $v0, $v0, -5 +/* 081A38 800E8588 A6620036 */ sh $v0, 0x36($s3) +/* 081A3C 800E858C 00021400 */ sll $v0, $v0, 0x10 +/* 081A40 800E8590 00021403 */ sra $v0, $v0, 0x10 +/* 081A44 800E8594 2842FF9C */ slti $v0, $v0, -0x64 +/* 081A48 800E8598 1040001F */ beqz $v0, .L800E8618 +/* 081A4C 800E859C 2402FF9C */ addiu $v0, $zero, -0x64 +/* 081A50 800E85A0 82630044 */ lb $v1, 0x44($s3) +/* 081A54 800E85A4 1460001C */ bnez $v1, .L800E8618 +/* 081A58 800E85A8 A6620036 */ sh $v0, 0x36($s3) +/* 081A5C 800E85AC 822200B4 */ lb $v0, 0xb4($s1) +/* 081A60 800E85B0 5440000A */ bnezl $v0, .L800E85DC +/* 081A64 800E85B4 A6600038 */ sh $zero, 0x38($s3) +/* 081A68 800E85B8 8E220000 */ lw $v0, ($s1) +/* 081A6C 800E85BC 30423000 */ andi $v0, $v0, 0x3000 +/* 081A70 800E85C0 10400003 */ beqz $v0, .L800E85D0 +/* 081A74 800E85C4 00000000 */ nop +/* 081A78 800E85C8 0803A177 */ j .L800E85DC +/* 081A7C 800E85CC A6600038 */ sh $zero, 0x38($s3) + +.L800E85D0: +/* 081A80 800E85D0 96620038 */ lhu $v0, 0x38($s3) +/* 081A84 800E85D4 24420001 */ addiu $v0, $v0, 1 +/* 081A88 800E85D8 A6620038 */ sh $v0, 0x38($s3) +.L800E85DC: +/* 081A8C 800E85DC 86620038 */ lh $v0, 0x38($s3) +/* 081A90 800E85E0 284200F0 */ slti $v0, $v0, 0xf0 +/* 081A94 800E85E4 1440000D */ bnez $v0, .L800E861C +/* 081A98 800E85E8 3C08ED03 */ lui $t0, 0xed03 +/* 081A9C 800E85EC 3C028007 */ lui $v0, 0x8007 +/* 081AA0 800E85F0 8C42419C */ lw $v0, 0x419c($v0) +/* 081AA4 800E85F4 80420070 */ lb $v0, 0x70($v0) +/* 081AA8 800E85F8 14400009 */ bnez $v0, .L800E8620 +/* 081AAC 800E85FC 35080050 */ ori $t0, $t0, 0x50 +/* 081AB0 800E8600 240200D2 */ addiu $v0, $zero, 0xd2 +/* 081AB4 800E8604 A6620038 */ sh $v0, 0x38($s3) +/* 081AB8 800E8608 24020001 */ addiu $v0, $zero, 1 +/* 081ABC 800E860C A260003A */ sb $zero, 0x3a($s3) +/* 081AC0 800E8610 A262003B */ sb $v0, 0x3b($s3) +/* 081AC4 800E8614 A262003C */ sb $v0, 0x3c($s3) +.L800E8618: +/* 081AC8 800E8618 3C08ED03 */ lui $t0, 0xed03 +.L800E861C: +/* 081ACC 800E861C 35080050 */ ori $t0, $t0, 0x50 +.L800E8620: +/* 081AD0 800E8620 3C07004D */ lui $a3, 0x4d +/* 081AD4 800E8624 34E70370 */ ori $a3, $a3, 0x370 +/* 081AD8 800E8628 0000202D */ daddu $a0, $zero, $zero +/* 081ADC 800E862C 3C06800A */ lui $a2, 0x800a +/* 081AE0 800E8630 24C6A66C */ addiu $a2, $a2, -0x5994 +/* 081AE4 800E8634 24050005 */ addiu $a1, $zero, 5 +/* 081AE8 800E8638 241200FF */ addiu $s2, $zero, 0xff +/* 081AEC 800E863C 24110140 */ addiu $s1, $zero, 0x140 +/* 081AF0 800E8640 8CC30000 */ lw $v1, ($a2) +/* 081AF4 800E8644 241000F0 */ addiu $s0, $zero, 0xf0 +/* 081AF8 800E8648 0060102D */ daddu $v0, $v1, $zero +/* 081AFC 800E864C 24630008 */ addiu $v1, $v1, 8 +/* 081B00 800E8650 AC480000 */ sw $t0, ($v0) +/* 081B04 800E8654 AC470004 */ sw $a3, 4($v0) +/* 081B08 800E8658 867E0034 */ lh $fp, 0x34($s3) +/* 081B0C 800E865C 86750036 */ lh $s5, 0x36($s3) +/* 081B10 800E8660 240200AE */ addiu $v0, $zero, 0xae +/* 081B14 800E8664 ACC30000 */ sw $v1, ($a2) +/* 081B18 800E8668 AFA20014 */ sw $v0, 0x14($sp) +/* 081B1C 800E866C 24020023 */ addiu $v0, $zero, 0x23 +/* 081B20 800E8670 AFA00010 */ sw $zero, 0x10($sp) +/* 081B24 800E8674 AFA20018 */ sw $v0, 0x18($sp) +/* 081B28 800E8678 AFB2001C */ sw $s2, 0x1c($sp) +/* 081B2C 800E867C AFA00020 */ sw $zero, 0x20($sp) +/* 081B30 800E8680 AFA00024 */ sw $zero, 0x24($sp) +/* 081B34 800E8684 AFA00028 */ sw $zero, 0x28($sp) +/* 081B38 800E8688 AFA0002C */ sw $zero, 0x2c($sp) +/* 081B3C 800E868C AFA00030 */ sw $zero, 0x30($sp) +/* 081B40 800E8690 AFA00034 */ sw $zero, 0x34($sp) +/* 081B44 800E8694 AFA00038 */ sw $zero, 0x38($sp) +/* 081B48 800E8698 AFA0003C */ sw $zero, 0x3c($sp) +/* 081B4C 800E869C AFA00040 */ sw $zero, 0x40($sp) +/* 081B50 800E86A0 AFB10044 */ sw $s1, 0x44($sp) +/* 081B54 800E86A4 AFB00048 */ sw $s0, 0x48($sp) +/* 081B58 800E86A8 AFA0004C */ sw $zero, 0x4c($sp) +/* 081B5C 800E86AC 03C0302D */ daddu $a2, $fp, $zero +/* 081B60 800E86B0 0C03D4B8 */ jal draw_box +/* 081B64 800E86B4 02A0382D */ daddu $a3, $s5, $zero +/* 081B68 800E86B8 0000202D */ daddu $a0, $zero, $zero +/* 081B6C 800E86BC 24050006 */ addiu $a1, $zero, 6 +/* 081B70 800E86C0 27C600AE */ addiu $a2, $fp, 0xae +/* 081B74 800E86C4 02A0382D */ daddu $a3, $s5, $zero +/* 081B78 800E86C8 2402007A */ addiu $v0, $zero, 0x7a +/* 081B7C 800E86CC AFA20014 */ sw $v0, 0x14($sp) +/* 081B80 800E86D0 24020019 */ addiu $v0, $zero, 0x19 +/* 081B84 800E86D4 AFA00010 */ sw $zero, 0x10($sp) +/* 081B88 800E86D8 AFA20018 */ sw $v0, 0x18($sp) +/* 081B8C 800E86DC AFB2001C */ sw $s2, 0x1c($sp) +/* 081B90 800E86E0 AFA00020 */ sw $zero, 0x20($sp) +/* 081B94 800E86E4 AFA00024 */ sw $zero, 0x24($sp) +/* 081B98 800E86E8 AFA00028 */ sw $zero, 0x28($sp) +/* 081B9C 800E86EC AFA0002C */ sw $zero, 0x2c($sp) +/* 081BA0 800E86F0 AFA00030 */ sw $zero, 0x30($sp) +/* 081BA4 800E86F4 AFA00034 */ sw $zero, 0x34($sp) +/* 081BA8 800E86F8 AFA00038 */ sw $zero, 0x38($sp) +/* 081BAC 800E86FC AFA0003C */ sw $zero, 0x3c($sp) +/* 081BB0 800E8700 AFA00040 */ sw $zero, 0x40($sp) +/* 081BB4 800E8704 AFB10044 */ sw $s1, 0x44($sp) +/* 081BB8 800E8708 AFB00048 */ sw $s0, 0x48($sp) +/* 081BBC 800E870C 0C03D4B8 */ jal draw_box +/* 081BC0 800E8710 AFA0004C */ sw $zero, 0x4c($sp) +/* 081BC4 800E8714 8262004C */ lb $v0, 0x4c($s3) +/* 081BC8 800E8718 9263004C */ lbu $v1, 0x4c($s3) +/* 081BCC 800E871C 18400007 */ blez $v0, .L800E873C +/* 081BD0 800E8720 2462FFFF */ addiu $v0, $v1, -1 +/* 081BD4 800E8724 A262004C */ sb $v0, 0x4c($s3) +/* 081BD8 800E8728 00021600 */ sll $v0, $v0, 0x18 +/* 081BDC 800E872C 14400003 */ bnez $v0, .L800E873C +/* 081BE0 800E8730 00000000 */ nop +/* 081BE4 800E8734 0C03A659 */ jal status_menu_stop_blinking_hp +/* 081BE8 800E8738 00000000 */ nop +.L800E873C: +/* 081BEC 800E873C 8262004A */ lb $v0, 0x4a($s3) +/* 081BF0 800E8740 1040000C */ beqz $v0, .L800E8774 +/* 081BF4 800E8744 24160001 */ addiu $s6, $zero, 1 +/* 081BF8 800E8748 8263004B */ lb $v1, 0x4b($s3) +/* 081BFC 800E874C 28620009 */ slti $v0, $v1, 9 +/* 081C00 800E8750 14400005 */ bnez $v0, .L800E8768 +/* 081C04 800E8754 2862000D */ slti $v0, $v1, 0xd +/* 081C08 800E8758 14400003 */ bnez $v0, .L800E8768 +/* 081C0C 800E875C 0000B02D */ daddu $s6, $zero, $zero +/* 081C10 800E8760 A260004B */ sb $zero, 0x4b($s3) +/* 081C14 800E8764 24160001 */ addiu $s6, $zero, 1 +.L800E8768: +/* 081C18 800E8768 9262004B */ lbu $v0, 0x4b($s3) +/* 081C1C 800E876C 24420001 */ addiu $v0, $v0, 1 +/* 081C20 800E8770 A262004B */ sb $v0, 0x4b($s3) +.L800E8774: +/* 081C24 800E8774 12C0001D */ beqz $s6, .L800E87EC +/* 081C28 800E8778 00000000 */ nop +/* 081C2C 800E877C 8E720000 */ lw $s2, ($s3) +/* 081C30 800E8780 86650034 */ lh $a1, 0x34($s3) +/* 081C34 800E8784 86660036 */ lh $a2, 0x36($s3) +/* 081C38 800E8788 0240202D */ daddu $a0, $s2, $zero +/* 081C3C 800E878C 24A50016 */ addiu $a1, $a1, 0x16 +/* 081C40 800E8790 0C051261 */ jal set_icon_render_pos +/* 081C44 800E8794 24C6000D */ addiu $a2, $a2, 0xd +/* 081C48 800E8798 0C0511F1 */ jal draw_icon_1 +/* 081C4C 800E879C 0240202D */ daddu $a0, $s2, $zero +/* 081C50 800E87A0 8E720004 */ lw $s2, 4($s3) +/* 081C54 800E87A4 86650034 */ lh $a1, 0x34($s3) +/* 081C58 800E87A8 86660036 */ lh $a2, 0x36($s3) +/* 081C5C 800E87AC 0240202D */ daddu $a0, $s2, $zero +/* 081C60 800E87B0 24A50025 */ addiu $a1, $a1, 0x25 +/* 081C64 800E87B4 0C051261 */ jal set_icon_render_pos +/* 081C68 800E87B8 24C6000D */ addiu $a2, $a2, 0xd +/* 081C6C 800E87BC 0C0511F1 */ jal draw_icon_1 +/* 081C70 800E87C0 0240202D */ daddu $a0, $s2, $zero +/* 081C74 800E87C4 8E640020 */ lw $a0, 0x20($s3) +/* 081C78 800E87C8 86650034 */ lh $a1, 0x34($s3) +/* 081C7C 800E87CC 86660036 */ lh $a2, 0x36($s3) +/* 081C80 800E87D0 8267003D */ lb $a3, 0x3d($s3) +/* 081C84 800E87D4 3C028011 */ lui $v0, 0x8011 +/* 081C88 800E87D8 8042F293 */ lb $v0, -0xd6d($v0) +/* 081C8C 800E87DC 24A50030 */ addiu $a1, $a1, 0x30 +/* 081C90 800E87E0 24C60008 */ addiu $a2, $a2, 8 +/* 081C94 800E87E4 0C039F8D */ jal status_menu_draw_stat +/* 081C98 800E87E8 AFA20010 */ sw $v0, 0x10($sp) +.L800E87EC: +/* 081C9C 800E87EC 8262004F */ lb $v0, 0x4f($s3) +/* 081CA0 800E87F0 9263004F */ lbu $v1, 0x4f($s3) +/* 081CA4 800E87F4 18400007 */ blez $v0, .L800E8814 +/* 081CA8 800E87F8 2462FFFF */ addiu $v0, $v1, -1 +/* 081CAC 800E87FC A262004F */ sb $v0, 0x4f($s3) +/* 081CB0 800E8800 00021600 */ sll $v0, $v0, 0x18 +/* 081CB4 800E8804 14400003 */ bnez $v0, .L800E8814 +/* 081CB8 800E8808 00000000 */ nop +/* 081CBC 800E880C 0C03A674 */ jal status_menu_stop_blinking_fp +/* 081CC0 800E8810 00000000 */ nop +.L800E8814: +/* 081CC4 800E8814 8262004D */ lb $v0, 0x4d($s3) +/* 081CC8 800E8818 1040000C */ beqz $v0, .L800E884C +/* 081CCC 800E881C 24160001 */ addiu $s6, $zero, 1 +/* 081CD0 800E8820 8263004E */ lb $v1, 0x4e($s3) +/* 081CD4 800E8824 28620009 */ slti $v0, $v1, 9 +/* 081CD8 800E8828 14400005 */ bnez $v0, .L800E8840 +/* 081CDC 800E882C 2862000D */ slti $v0, $v1, 0xd +/* 081CE0 800E8830 14400003 */ bnez $v0, .L800E8840 +/* 081CE4 800E8834 0000B02D */ daddu $s6, $zero, $zero +/* 081CE8 800E8838 A260004E */ sb $zero, 0x4e($s3) +/* 081CEC 800E883C 24160001 */ addiu $s6, $zero, 1 +.L800E8840: +/* 081CF0 800E8840 9262004E */ lbu $v0, 0x4e($s3) +/* 081CF4 800E8844 24420001 */ addiu $v0, $v0, 1 +/* 081CF8 800E8848 A262004E */ sb $v0, 0x4e($s3) +.L800E884C: +/* 081CFC 800E884C 12C0001D */ beqz $s6, .L800E88C4 +/* 081D00 800E8850 00000000 */ nop +/* 081D04 800E8854 8E720008 */ lw $s2, 8($s3) +/* 081D08 800E8858 86650034 */ lh $a1, 0x34($s3) +/* 081D0C 800E885C 86660036 */ lh $a2, 0x36($s3) +/* 081D10 800E8860 0240202D */ daddu $a0, $s2, $zero +/* 081D14 800E8864 24A5006E */ addiu $a1, $a1, 0x6e +/* 081D18 800E8868 0C051261 */ jal set_icon_render_pos +/* 081D1C 800E886C 24C6000D */ addiu $a2, $a2, 0xd +/* 081D20 800E8870 0C0511F1 */ jal draw_icon_1 +/* 081D24 800E8874 0240202D */ daddu $a0, $s2, $zero +/* 081D28 800E8878 8E72000C */ lw $s2, 0xc($s3) +/* 081D2C 800E887C 86650034 */ lh $a1, 0x34($s3) +/* 081D30 800E8880 86660036 */ lh $a2, 0x36($s3) +/* 081D34 800E8884 0240202D */ daddu $a0, $s2, $zero +/* 081D38 800E8888 24A5007D */ addiu $a1, $a1, 0x7d +/* 081D3C 800E888C 0C051261 */ jal set_icon_render_pos +/* 081D40 800E8890 24C6000D */ addiu $a2, $a2, 0xd +/* 081D44 800E8894 0C0511F1 */ jal draw_icon_1 +/* 081D48 800E8898 0240202D */ daddu $a0, $s2, $zero +/* 081D4C 800E889C 8E640024 */ lw $a0, 0x24($s3) +/* 081D50 800E88A0 86650034 */ lh $a1, 0x34($s3) +/* 081D54 800E88A4 86660036 */ lh $a2, 0x36($s3) +/* 081D58 800E88A8 8267003E */ lb $a3, 0x3e($s3) +/* 081D5C 800E88AC 3C028011 */ lui $v0, 0x8011 +/* 081D60 800E88B0 8042F296 */ lb $v0, -0xd6a($v0) +/* 081D64 800E88B4 24A50088 */ addiu $a1, $a1, 0x88 +/* 081D68 800E88B8 24C60008 */ addiu $a2, $a2, 8 +/* 081D6C 800E88BC 0C039F8D */ jal status_menu_draw_stat +/* 081D70 800E88C0 AFA20010 */ sw $v0, 0x10($sp) +.L800E88C4: +/* 081D74 800E88C4 3C028011 */ lui $v0, 0x8011 +/* 081D78 800E88C8 8042F299 */ lb $v0, -0xd67($v0) +/* 081D7C 800E88CC 2842001B */ slti $v0, $v0, 0x1b +/* 081D80 800E88D0 14400003 */ bnez $v0, .L800E88E0 +/* 081D84 800E88D4 00000000 */ nop +/* 081D88 800E88D8 3C018011 */ lui $at, 0x8011 +/* 081D8C 800E88DC A020F2A0 */ sb $zero, -0xd60($at) +.L800E88E0: +/* 081D90 800E88E0 82620052 */ lb $v0, 0x52($s3) +/* 081D94 800E88E4 1040000B */ beqz $v0, .L800E8914 +/* 081D98 800E88E8 24160001 */ addiu $s6, $zero, 1 +/* 081D9C 800E88EC 82630053 */ lb $v1, 0x53($s3) +/* 081DA0 800E88F0 28620009 */ slti $v0, $v1, 9 +/* 081DA4 800E88F4 14400004 */ bnez $v0, .L800E8908 +/* 081DA8 800E88F8 2862000D */ slti $v0, $v1, 0xd +/* 081DAC 800E88FC 50400002 */ beql $v0, $zero, .L800E8908 +/* 081DB0 800E8900 A2600053 */ sb $zero, 0x53($s3) +/* 081DB4 800E8904 0000B02D */ daddu $s6, $zero, $zero +.L800E8908: +/* 081DB8 800E8908 92620053 */ lbu $v0, 0x53($s3) +/* 081DBC 800E890C 24420001 */ addiu $v0, $v0, 1 +/* 081DC0 800E8910 A2620053 */ sb $v0, 0x53($s3) +.L800E8914: +/* 081DC4 800E8914 12C0001D */ beqz $s6, .L800E898C +/* 081DC8 800E8918 00000000 */ nop +/* 081DCC 800E891C 8E720018 */ lw $s2, 0x18($s3) +/* 081DD0 800E8920 86650034 */ lh $a1, 0x34($s3) +/* 081DD4 800E8924 86660036 */ lh $a2, 0x36($s3) +/* 081DD8 800E8928 0240202D */ daddu $a0, $s2, $zero +/* 081DDC 800E892C 24A500C3 */ addiu $a1, $a1, 0xc3 +/* 081DE0 800E8930 0C051261 */ jal set_icon_render_pos +/* 081DE4 800E8934 24C6000E */ addiu $a2, $a2, 0xe +/* 081DE8 800E8938 0C0511F1 */ jal draw_icon_1 +/* 081DEC 800E893C 0240202D */ daddu $a0, $s2, $zero +/* 081DF0 800E8940 8E72001C */ lw $s2, 0x1c($s3) +/* 081DF4 800E8944 86650034 */ lh $a1, 0x34($s3) +/* 081DF8 800E8948 86660036 */ lh $a2, 0x36($s3) +/* 081DFC 800E894C 0240202D */ daddu $a0, $s2, $zero +/* 081E00 800E8950 24A500C3 */ addiu $a1, $a1, 0xc3 +/* 081E04 800E8954 0C051261 */ jal set_icon_render_pos +/* 081E08 800E8958 24C60009 */ addiu $a2, $a2, 9 +/* 081E0C 800E895C 0C0511F1 */ jal draw_icon_1 +/* 081E10 800E8960 0240202D */ daddu $a0, $s2, $zero +/* 081E14 800E8964 8E640028 */ lw $a0, 0x28($s3) +/* 081E18 800E8968 86650034 */ lh $a1, 0x34($s3) +/* 081E1C 800E896C 24020002 */ addiu $v0, $zero, 2 +/* 081E20 800E8970 AFA20010 */ sw $v0, 0x10($sp) +/* 081E24 800E8974 86660036 */ lh $a2, 0x36($s3) +/* 081E28 800E8978 3C078011 */ lui $a3, 0x8011 +/* 081E2C 800E897C 80E7F2A0 */ lb $a3, -0xd60($a3) +/* 081E30 800E8980 24A500C8 */ addiu $a1, $a1, 0xc8 +/* 081E34 800E8984 0C039F29 */ jal status_menu_draw_number +/* 081E38 800E8988 24C60008 */ addiu $a2, $a2, 8 +.L800E898C: +/* 081E3C 800E898C 82620056 */ lb $v0, 0x56($s3) +/* 081E40 800E8990 92630056 */ lbu $v1, 0x56($s3) +/* 081E44 800E8994 18400007 */ blez $v0, .L800E89B4 +/* 081E48 800E8998 2462FFFF */ addiu $v0, $v1, -1 +/* 081E4C 800E899C A2620056 */ sb $v0, 0x56($s3) +/* 081E50 800E89A0 00021600 */ sll $v0, $v0, 0x18 +/* 081E54 800E89A4 14400003 */ bnez $v0, .L800E89B4 +/* 081E58 800E89A8 00000000 */ nop +/* 081E5C 800E89AC 0C03A68E */ jal status_menu_stop_blinking_coins +/* 081E60 800E89B0 00000000 */ nop +.L800E89B4: +/* 081E64 800E89B4 82620054 */ lb $v0, 0x54($s3) +/* 081E68 800E89B8 1040000C */ beqz $v0, .L800E89EC +/* 081E6C 800E89BC 24160001 */ addiu $s6, $zero, 1 +/* 081E70 800E89C0 82630055 */ lb $v1, 0x55($s3) +/* 081E74 800E89C4 28620009 */ slti $v0, $v1, 9 +/* 081E78 800E89C8 14400005 */ bnez $v0, .L800E89E0 +/* 081E7C 800E89CC 2862000D */ slti $v0, $v1, 0xd +/* 081E80 800E89D0 14400003 */ bnez $v0, .L800E89E0 +/* 081E84 800E89D4 0000B02D */ daddu $s6, $zero, $zero +/* 081E88 800E89D8 A2600055 */ sb $zero, 0x55($s3) +/* 081E8C 800E89DC 24160001 */ addiu $s6, $zero, 1 +.L800E89E0: +/* 081E90 800E89E0 92620055 */ lbu $v0, 0x55($s3) +/* 081E94 800E89E4 24420001 */ addiu $v0, $v0, 1 +/* 081E98 800E89E8 A2620055 */ sb $v0, 0x55($s3) +.L800E89EC: +/* 081E9C 800E89EC 12C0001C */ beqz $s6, .L800E8A60 +/* 081EA0 800E89F0 00000000 */ nop +/* 081EA4 800E89F4 8E720010 */ lw $s2, 0x10($s3) +/* 081EA8 800E89F8 86650034 */ lh $a1, 0x34($s3) +/* 081EAC 800E89FC 86660036 */ lh $a2, 0x36($s3) +/* 081EB0 800E8A00 0240202D */ daddu $a0, $s2, $zero +/* 081EB4 800E8A04 24A500F4 */ addiu $a1, $a1, 0xf4 +/* 081EB8 800E8A08 0C051261 */ jal set_icon_render_pos +/* 081EBC 800E8A0C 24C6000E */ addiu $a2, $a2, 0xe +/* 081EC0 800E8A10 0C0511F1 */ jal draw_icon_1 +/* 081EC4 800E8A14 0240202D */ daddu $a0, $s2, $zero +/* 081EC8 800E8A18 8E720014 */ lw $s2, 0x14($s3) +/* 081ECC 800E8A1C 86650034 */ lh $a1, 0x34($s3) +/* 081ED0 800E8A20 86660036 */ lh $a2, 0x36($s3) +/* 081ED4 800E8A24 0240202D */ daddu $a0, $s2, $zero +/* 081ED8 800E8A28 24A500F4 */ addiu $a1, $a1, 0xf4 +/* 081EDC 800E8A2C 0C051261 */ jal set_icon_render_pos +/* 081EE0 800E8A30 24C6000E */ addiu $a2, $a2, 0xe +/* 081EE4 800E8A34 0C0511F1 */ jal draw_icon_1 +/* 081EE8 800E8A38 0240202D */ daddu $a0, $s2, $zero +/* 081EEC 800E8A3C 8E64002C */ lw $a0, 0x2c($s3) +/* 081EF0 800E8A40 86650034 */ lh $a1, 0x34($s3) +/* 081EF4 800E8A44 24020003 */ addiu $v0, $zero, 3 +/* 081EF8 800E8A48 AFA20010 */ sw $v0, 0x10($sp) +/* 081EFC 800E8A4C 86660036 */ lh $a2, 0x36($s3) +/* 081F00 800E8A50 86670040 */ lh $a3, 0x40($s3) +/* 081F04 800E8A54 24A500F7 */ addiu $a1, $a1, 0xf7 +/* 081F08 800E8A58 0C039F29 */ jal status_menu_draw_number +/* 081F0C 800E8A5C 24C60008 */ addiu $a2, $a2, 8 +.L800E8A60: +/* 081F10 800E8A60 82620050 */ lb $v0, 0x50($s3) +/* 081F14 800E8A64 8E720030 */ lw $s2, 0x30($s3) +/* 081F18 800E8A68 1040000C */ beqz $v0, .L800E8A9C +/* 081F1C 800E8A6C 24160001 */ addiu $s6, $zero, 1 +/* 081F20 800E8A70 82630051 */ lb $v1, 0x51($s3) +/* 081F24 800E8A74 28620006 */ slti $v0, $v1, 6 +/* 081F28 800E8A78 14400005 */ bnez $v0, .L800E8A90 +/* 081F2C 800E8A7C 00000000 */ nop +/* 081F30 800E8A80 28620009 */ slti $v0, $v1, 9 +/* 081F34 800E8A84 50400002 */ beql $v0, $zero, .L800E8A90 +/* 081F38 800E8A88 A2600051 */ sb $zero, 0x51($s3) +/* 081F3C 800E8A8C 0000B02D */ daddu $s6, $zero, $zero +.L800E8A90: +/* 081F40 800E8A90 92620051 */ lbu $v0, 0x51($s3) +/* 081F44 800E8A94 24420001 */ addiu $v0, $v0, 1 +/* 081F48 800E8A98 A2620051 */ sb $v0, 0x51($s3) +.L800E8A9C: +/* 081F4C 800E8A9C 86620034 */ lh $v0, 0x34($s3) +/* 081F50 800E8AA0 245E0014 */ addiu $fp, $v0, 0x14 +/* 081F54 800E8AA4 86620036 */ lh $v0, 0x36($s3) +/* 081F58 800E8AA8 86630048 */ lh $v1, 0x48($s3) +/* 081F5C 800E8AAC 2455001C */ addiu $s5, $v0, 0x1c +/* 081F60 800E8AB0 04610002 */ bgez $v1, .L800E8ABC +/* 081F64 800E8AB4 0060102D */ daddu $v0, $v1, $zero +/* 081F68 800E8AB8 246200FF */ addiu $v0, $v1, 0xff +.L800E8ABC: +/* 081F6C 800E8ABC 00021203 */ sra $v0, $v0, 8 +/* 081F70 800E8AC0 0040202D */ daddu $a0, $v0, $zero +/* 081F74 800E8AC4 00041200 */ sll $v0, $a0, 8 +/* 081F78 800E8AC8 00621023 */ subu $v0, $v1, $v0 +/* 081F7C 800E8ACC 00021400 */ sll $v0, $v0, 0x10 +/* 081F80 800E8AD0 0002A403 */ sra $s4, $v0, 0x10 +/* 081F84 800E8AD4 06810002 */ bgez $s4, .L800E8AE0 +/* 081F88 800E8AD8 0280102D */ daddu $v0, $s4, $zero +/* 081F8C 800E8ADC 2682001F */ addiu $v0, $s4, 0x1f +.L800E8AE0: +/* 081F90 800E8AE0 0002A143 */ sra $s4, $v0, 5 +/* 081F94 800E8AE4 000410C0 */ sll $v0, $a0, 3 +/* 081F98 800E8AE8 0282A021 */ addu $s4, $s4, $v0 +/* 081F9C 800E8AEC 82630057 */ lb $v1, 0x57($s3) +/* 081FA0 800E8AF0 24020001 */ addiu $v0, $zero, 1 +/* 081FA4 800E8AF4 1462002B */ bne $v1, $v0, .L800E8BA4 +/* 081FA8 800E8AF8 00000000 */ nop +/* 081FAC 800E8AFC 3C038011 */ lui $v1, 0x8011 +/* 081FB0 800E8B00 8463F520 */ lh $v1, -0xae0($v1) +/* 081FB4 800E8B04 04610002 */ bgez $v1, .L800E8B10 +/* 081FB8 800E8B08 0060102D */ daddu $v0, $v1, $zero +/* 081FBC 800E8B0C 246200FF */ addiu $v0, $v1, 0xff +.L800E8B10: +/* 081FC0 800E8B10 00021203 */ sra $v0, $v0, 8 +/* 081FC4 800E8B14 0040202D */ daddu $a0, $v0, $zero +/* 081FC8 800E8B18 00041200 */ sll $v0, $a0, 8 +/* 081FCC 800E8B1C 00621023 */ subu $v0, $v1, $v0 +/* 081FD0 800E8B20 00021400 */ sll $v0, $v0, 0x10 +/* 081FD4 800E8B24 0002A403 */ sra $s4, $v0, 0x10 +/* 081FD8 800E8B28 06810002 */ bgez $s4, .L800E8B34 +/* 081FDC 800E8B2C 0280102D */ daddu $v0, $s4, $zero +/* 081FE0 800E8B30 2682001F */ addiu $v0, $s4, 0x1f +.L800E8B34: +/* 081FE4 800E8B34 0002A143 */ sra $s4, $v0, 5 +/* 081FE8 800E8B38 000410C0 */ sll $v0, $a0, 3 +/* 081FEC 800E8B3C 0282A021 */ addu $s4, $s4, $v0 +/* 081FF0 800E8B40 3C036666 */ lui $v1, 0x6666 +/* 081FF4 800E8B44 34636667 */ ori $v1, $v1, 0x6667 +/* 081FF8 800E8B48 00141040 */ sll $v0, $s4, 1 +/* 081FFC 800E8B4C 00541021 */ addu $v0, $v0, $s4 +/* 082000 800E8B50 000210C0 */ sll $v0, $v0, 3 +/* 082004 800E8B54 00541021 */ addu $v0, $v0, $s4 +/* 082008 800E8B58 00430018 */ mult $v0, $v1 +/* 08200C 800E8B5C 44950000 */ mtc1 $s5, $f0 +/* 082010 800E8B60 00000000 */ nop +/* 082014 800E8B64 46800020 */ cvt.s.w $f0, $f0 +/* 082018 800E8B68 000217C3 */ sra $v0, $v0, 0x1f +/* 08201C 800E8B6C 44060000 */ mfc1 $a2, $f0 +/* 082020 800E8B70 3C073F80 */ lui $a3, 0x3f80 +/* 082024 800E8B74 00004810 */ mfhi $t1 +/* 082028 800E8B78 00091883 */ sra $v1, $t1, 2 +/* 08202C 800E8B7C 00621823 */ subu $v1, $v1, $v0 +/* 082030 800E8B80 03C31821 */ addu $v1, $fp, $v1 +/* 082034 800E8B84 44830000 */ mtc1 $v1, $f0 +/* 082038 800E8B88 00000000 */ nop +/* 08203C 800E8B8C 46800020 */ cvt.s.w $f0, $f0 +/* 082040 800E8B90 44050000 */ mfc1 $a1, $f0 +/* 082044 800E8B94 0C03C32C */ jal func_800F0CB0 +/* 082048 800E8B98 0000202D */ daddu $a0, $zero, $zero +/* 08204C 800E8B9C 24020002 */ addiu $v0, $zero, 2 +/* 082050 800E8BA0 A2620057 */ sb $v0, 0x57($s3) +.L800E8BA4: +/* 082054 800E8BA4 82620057 */ lb $v0, 0x57($s3) +/* 082058 800E8BA8 10400022 */ beqz $v0, .L800E8C34 +/* 08205C 800E8BAC AFA00054 */ sw $zero, 0x54($sp) +/* 082060 800E8BB0 82620058 */ lb $v0, 0x58($s3) +/* 082064 800E8BB4 92630058 */ lbu $v1, 0x58($s3) +/* 082068 800E8BB8 10400003 */ beqz $v0, .L800E8BC8 +/* 08206C 800E8BBC 2462FFFF */ addiu $v0, $v1, -1 +/* 082070 800E8BC0 0803A2F3 */ j .L800E8BCC +/* 082074 800E8BC4 A2620058 */ sb $v0, 0x58($s3) + +.L800E8BC8: +/* 082078 800E8BC8 A2600057 */ sb $zero, 0x57($s3) +.L800E8BCC: +/* 08207C 800E8BCC 3C046666 */ lui $a0, 0x6666 +/* 082080 800E8BD0 92630058 */ lbu $v1, 0x58($s3) +/* 082084 800E8BD4 34846667 */ ori $a0, $a0, 0x6667 +/* 082088 800E8BD8 00031E00 */ sll $v1, $v1, 0x18 +/* 08208C 800E8BDC 00031603 */ sra $v0, $v1, 0x18 +/* 082090 800E8BE0 00440018 */ mult $v0, $a0 +/* 082094 800E8BE4 00031FC3 */ sra $v1, $v1, 0x1f +/* 082098 800E8BE8 00004810 */ mfhi $t1 +/* 08209C 800E8BEC 00091043 */ sra $v0, $t1, 1 +/* 0820A0 800E8BF0 00431023 */ subu $v0, $v0, $v1 +/* 0820A4 800E8BF4 30420001 */ andi $v0, $v0, 1 +/* 0820A8 800E8BF8 10400002 */ beqz $v0, .L800E8C04 +/* 0820AC 800E8BFC 24090001 */ addiu $t1, $zero, 1 +/* 0820B0 800E8C00 AFA90054 */ sw $t1, 0x54($sp) +.L800E8C04: +/* 0820B4 800E8C04 82640059 */ lb $a0, 0x59($s3) +/* 0820B8 800E8C08 04810002 */ bgez $a0, .L800E8C14 +/* 0820BC 800E8C0C 0080182D */ daddu $v1, $a0, $zero +/* 0820C0 800E8C10 24830007 */ addiu $v1, $a0, 7 +.L800E8C14: +/* 0820C4 800E8C14 000318C3 */ sra $v1, $v1, 3 +/* 0820C8 800E8C18 000310C0 */ sll $v0, $v1, 3 +/* 0820CC 800E8C1C 00821023 */ subu $v0, $a0, $v0 +/* 0820D0 800E8C20 00021600 */ sll $v0, $v0, 0x18 +/* 0820D4 800E8C24 0002BE03 */ sra $s7, $v0, 0x18 +/* 0820D8 800E8C28 000318C0 */ sll $v1, $v1, 3 +/* 0820DC 800E8C2C 0803A30E */ j .L800E8C38 +/* 0820E0 800E8C30 02E3B821 */ addu $s7, $s7, $v1 + +.L800E8C34: +/* 0820E4 800E8C34 0280B82D */ daddu $s7, $s4, $zero +.L800E8C38: +/* 0820E8 800E8C38 0000802D */ daddu $s0, $zero, $zero +/* 0820EC 800E8C3C AFA00050 */ sw $zero, 0x50($sp) +/* 0820F0 800E8C40 82620050 */ lb $v0, 0x50($s3) +/* 0820F4 800E8C44 1040002C */ beqz $v0, .L800E8CF8 +/* 0820F8 800E8C48 0200882D */ daddu $s1, $s0, $zero +/* 0820FC 800E8C4C 16C0002B */ bnez $s6, .L800E8CFC +/* 082100 800E8C50 26A9FFFE */ addiu $t1, $s5, -2 +/* 082104 800E8C54 8262005A */ lb $v0, 0x5a($s3) +/* 082108 800E8C58 000218C0 */ sll $v1, $v0, 3 +/* 08210C 800E8C5C 8FA90050 */ lw $t1, 0x50($sp) +/* 082110 800E8C60 0123102A */ slt $v0, $t1, $v1 +/* 082114 800E8C64 50400025 */ beql $v0, $zero, .L800E8CFC +/* 082118 800E8C68 26A9FFFE */ addiu $t1, $s5, -2 +.L800E8C6C: +/* 08211C 800E8C6C 26100001 */ addiu $s0, $s0, 1 +/* 082120 800E8C70 0203102A */ slt $v0, $s0, $v1 +/* 082124 800E8C74 10400020 */ beqz $v0, .L800E8CF8 +/* 082128 800E8C78 26310001 */ addiu $s1, $s1, 1 +/* 08212C 800E8C7C 26100001 */ addiu $s0, $s0, 1 +/* 082130 800E8C80 0203102A */ slt $v0, $s0, $v1 +/* 082134 800E8C84 1040001C */ beqz $v0, .L800E8CF8 +/* 082138 800E8C88 26310001 */ addiu $s1, $s1, 1 +/* 08213C 800E8C8C 26100001 */ addiu $s0, $s0, 1 +/* 082140 800E8C90 0203102A */ slt $v0, $s0, $v1 +/* 082144 800E8C94 10400018 */ beqz $v0, .L800E8CF8 +/* 082148 800E8C98 26310001 */ addiu $s1, $s1, 1 +/* 08214C 800E8C9C 26100001 */ addiu $s0, $s0, 1 +/* 082150 800E8CA0 0203102A */ slt $v0, $s0, $v1 +/* 082154 800E8CA4 10400014 */ beqz $v0, .L800E8CF8 +/* 082158 800E8CA8 26310001 */ addiu $s1, $s1, 1 +/* 08215C 800E8CAC 26100001 */ addiu $s0, $s0, 1 +/* 082160 800E8CB0 0203102A */ slt $v0, $s0, $v1 +/* 082164 800E8CB4 10400010 */ beqz $v0, .L800E8CF8 +/* 082168 800E8CB8 26310001 */ addiu $s1, $s1, 1 +/* 08216C 800E8CBC 26100001 */ addiu $s0, $s0, 1 +/* 082170 800E8CC0 0203102A */ slt $v0, $s0, $v1 +/* 082174 800E8CC4 1040000C */ beqz $v0, .L800E8CF8 +/* 082178 800E8CC8 26310001 */ addiu $s1, $s1, 1 +/* 08217C 800E8CCC 26100001 */ addiu $s0, $s0, 1 +/* 082180 800E8CD0 0203102A */ slt $v0, $s0, $v1 +/* 082184 800E8CD4 10400008 */ beqz $v0, .L800E8CF8 +/* 082188 800E8CD8 26310001 */ addiu $s1, $s1, 1 +/* 08218C 800E8CDC 26100001 */ addiu $s0, $s0, 1 +/* 082190 800E8CE0 0000882D */ daddu $s1, $zero, $zero +/* 082194 800E8CE4 8FA90050 */ lw $t1, 0x50($sp) +/* 082198 800E8CE8 0203102A */ slt $v0, $s0, $v1 +/* 08219C 800E8CEC 25290001 */ addiu $t1, $t1, 1 +/* 0821A0 800E8CF0 1440FFDE */ bnez $v0, .L800E8C6C +/* 0821A4 800E8CF4 AFA90050 */ sw $t1, 0x50($sp) +.L800E8CF8: +/* 0821A8 800E8CF8 26A9FFFE */ addiu $t1, $s5, -2 +.L800E8CFC: +/* 0821AC 800E8CFC AFA9005C */ sw $t1, 0x5c($sp) +/* 0821B0 800E8D00 8FA90050 */ lw $t1, 0x50($sp) +/* 0821B4 800E8D04 00091080 */ sll $v0, $t1, 2 +/* 0821B8 800E8D08 00491021 */ addu $v0, $v0, $t1 +/* 0821BC 800E8D0C 00021080 */ sll $v0, $v0, 2 +/* 0821C0 800E8D10 005EB021 */ addu $s6, $v0, $fp +/* 0821C4 800E8D14 AFA20060 */ sw $v0, 0x60($sp) +.L800E8D18: +/* 0821C8 800E8D18 0214102A */ slt $v0, $s0, $s4 +.L800E8D1C: +/* 0821CC 800E8D1C 104000BE */ beqz $v0, .L800E9018 +/* 0821D0 800E8D20 0217102A */ slt $v0, $s0, $s7 +/* 0821D4 800E8D24 54400005 */ bnezl $v0, .L800E8D3C +/* 0821D8 800E8D28 26100001 */ addiu $s0, $s0, 1 +/* 0821DC 800E8D2C 8FA90054 */ lw $t1, 0x54($sp) +/* 0821E0 800E8D30 112000B9 */ beqz $t1, .L800E9018 +/* 0821E4 800E8D34 00000000 */ nop +/* 0821E8 800E8D38 26100001 */ addiu $s0, $s0, 1 +.L800E8D3C: +/* 0821EC 800E8D3C 0240202D */ daddu $a0, $s2, $zero +/* 0821F0 800E8D40 8FA90050 */ lw $t1, 0x50($sp) +/* 0821F4 800E8D44 3C02800F */ lui $v0, 0x800f +/* 0821F8 800E8D48 24427FB0 */ addiu $v0, $v0, 0x7fb0 +/* 0821FC 800E8D4C 00094880 */ sll $t1, $t1, 2 +/* 082200 800E8D50 01229821 */ addu $s3, $t1, $v0 +/* 082204 800E8D54 AFA90058 */ sw $t1, 0x58($sp) +/* 082208 800E8D58 8E650000 */ lw $a1, ($s3) +/* 08220C 800E8D5C 0C0511FF */ jal set_menu_icon_script +/* 082210 800E8D60 26310001 */ addiu $s1, $s1, 1 +/* 082214 800E8D64 0240202D */ daddu $a0, $s2, $zero +/* 082218 800E8D68 3C05800F */ lui $a1, 0x800f +/* 08221C 800E8D6C 8CA57FE8 */ lw $a1, 0x7fe8($a1) +/* 082220 800E8D70 8FA6005C */ lw $a2, 0x5c($sp) +/* 082224 800E8D74 0C051261 */ jal set_icon_render_pos +/* 082228 800E8D78 02C52821 */ addu $a1, $s6, $a1 +/* 08222C 800E8D7C 0C0511F1 */ jal draw_icon_1 +/* 082230 800E8D80 0240202D */ daddu $a0, $s2, $zero +/* 082234 800E8D84 0214102A */ slt $v0, $s0, $s4 +/* 082238 800E8D88 104000A3 */ beqz $v0, .L800E9018 +/* 08223C 800E8D8C 0217102A */ slt $v0, $s0, $s7 +/* 082240 800E8D90 54400005 */ bnezl $v0, .L800E8DA8 +/* 082244 800E8D94 26100001 */ addiu $s0, $s0, 1 +/* 082248 800E8D98 8FA90054 */ lw $t1, 0x54($sp) +/* 08224C 800E8D9C 1120009E */ beqz $t1, .L800E9018 +/* 082250 800E8DA0 00000000 */ nop +/* 082254 800E8DA4 26100001 */ addiu $s0, $s0, 1 +.L800E8DA8: +/* 082258 800E8DA8 0240202D */ daddu $a0, $s2, $zero +/* 08225C 800E8DAC 8E650000 */ lw $a1, ($s3) +/* 082260 800E8DB0 0C0511FF */ jal set_menu_icon_script +/* 082264 800E8DB4 26310001 */ addiu $s1, $s1, 1 +/* 082268 800E8DB8 0240202D */ daddu $a0, $s2, $zero +/* 08226C 800E8DBC 3C05800F */ lui $a1, 0x800f +/* 082270 800E8DC0 8CA57FEC */ lw $a1, 0x7fec($a1) +/* 082274 800E8DC4 8FA6005C */ lw $a2, 0x5c($sp) +/* 082278 800E8DC8 0C051261 */ jal set_icon_render_pos +/* 08227C 800E8DCC 02C52821 */ addu $a1, $s6, $a1 +/* 082280 800E8DD0 0C0511F1 */ jal draw_icon_1 +/* 082284 800E8DD4 0240202D */ daddu $a0, $s2, $zero +/* 082288 800E8DD8 0214102A */ slt $v0, $s0, $s4 +/* 08228C 800E8DDC 1040008E */ beqz $v0, .L800E9018 +/* 082290 800E8DE0 0217102A */ slt $v0, $s0, $s7 +/* 082294 800E8DE4 54400005 */ bnezl $v0, .L800E8DFC +/* 082298 800E8DE8 26100001 */ addiu $s0, $s0, 1 +/* 08229C 800E8DEC 8FA90054 */ lw $t1, 0x54($sp) +/* 0822A0 800E8DF0 11200089 */ beqz $t1, .L800E9018 +/* 0822A4 800E8DF4 00000000 */ nop +/* 0822A8 800E8DF8 26100001 */ addiu $s0, $s0, 1 +.L800E8DFC: +/* 0822AC 800E8DFC 0240202D */ daddu $a0, $s2, $zero +/* 0822B0 800E8E00 8E650000 */ lw $a1, ($s3) +/* 0822B4 800E8E04 0C0511FF */ jal set_menu_icon_script +/* 0822B8 800E8E08 26310001 */ addiu $s1, $s1, 1 +/* 0822BC 800E8E0C 0240202D */ daddu $a0, $s2, $zero +/* 0822C0 800E8E10 3C05800F */ lui $a1, 0x800f +/* 0822C4 800E8E14 8CA57FF0 */ lw $a1, 0x7ff0($a1) +/* 0822C8 800E8E18 8FA6005C */ lw $a2, 0x5c($sp) +/* 0822CC 800E8E1C 0C051261 */ jal set_icon_render_pos +/* 0822D0 800E8E20 02C52821 */ addu $a1, $s6, $a1 +/* 0822D4 800E8E24 0C0511F1 */ jal draw_icon_1 +/* 0822D8 800E8E28 0240202D */ daddu $a0, $s2, $zero +/* 0822DC 800E8E2C 0214102A */ slt $v0, $s0, $s4 +/* 0822E0 800E8E30 10400079 */ beqz $v0, .L800E9018 +/* 0822E4 800E8E34 0217102A */ slt $v0, $s0, $s7 +/* 0822E8 800E8E38 54400005 */ bnezl $v0, .L800E8E50 +/* 0822EC 800E8E3C 26100001 */ addiu $s0, $s0, 1 +/* 0822F0 800E8E40 8FA90054 */ lw $t1, 0x54($sp) +/* 0822F4 800E8E44 11200074 */ beqz $t1, .L800E9018 +/* 0822F8 800E8E48 00000000 */ nop +/* 0822FC 800E8E4C 26100001 */ addiu $s0, $s0, 1 +.L800E8E50: +/* 082300 800E8E50 0240202D */ daddu $a0, $s2, $zero +/* 082304 800E8E54 8E650000 */ lw $a1, ($s3) +/* 082308 800E8E58 0C0511FF */ jal set_menu_icon_script +/* 08230C 800E8E5C 26310001 */ addiu $s1, $s1, 1 +/* 082310 800E8E60 0240202D */ daddu $a0, $s2, $zero +/* 082314 800E8E64 3C05800F */ lui $a1, 0x800f +/* 082318 800E8E68 8CA57FF4 */ lw $a1, 0x7ff4($a1) +/* 08231C 800E8E6C 8FA6005C */ lw $a2, 0x5c($sp) +/* 082320 800E8E70 0C051261 */ jal set_icon_render_pos +/* 082324 800E8E74 02C52821 */ addu $a1, $s6, $a1 +/* 082328 800E8E78 0C0511F1 */ jal draw_icon_1 +/* 08232C 800E8E7C 0240202D */ daddu $a0, $s2, $zero +/* 082330 800E8E80 0214102A */ slt $v0, $s0, $s4 +/* 082334 800E8E84 10400064 */ beqz $v0, .L800E9018 +/* 082338 800E8E88 0217102A */ slt $v0, $s0, $s7 +/* 08233C 800E8E8C 54400005 */ bnezl $v0, .L800E8EA4 +/* 082340 800E8E90 26100001 */ addiu $s0, $s0, 1 +/* 082344 800E8E94 8FA90054 */ lw $t1, 0x54($sp) +/* 082348 800E8E98 1120005F */ beqz $t1, .L800E9018 +/* 08234C 800E8E9C 00000000 */ nop +/* 082350 800E8EA0 26100001 */ addiu $s0, $s0, 1 +.L800E8EA4: +/* 082354 800E8EA4 0240202D */ daddu $a0, $s2, $zero +/* 082358 800E8EA8 8E650000 */ lw $a1, ($s3) +/* 08235C 800E8EAC 0C0511FF */ jal set_menu_icon_script +/* 082360 800E8EB0 26310001 */ addiu $s1, $s1, 1 +/* 082364 800E8EB4 0240202D */ daddu $a0, $s2, $zero +/* 082368 800E8EB8 3C05800F */ lui $a1, 0x800f +/* 08236C 800E8EBC 8CA57FF8 */ lw $a1, 0x7ff8($a1) +/* 082370 800E8EC0 8FA6005C */ lw $a2, 0x5c($sp) +/* 082374 800E8EC4 0C051261 */ jal set_icon_render_pos +/* 082378 800E8EC8 02C52821 */ addu $a1, $s6, $a1 +/* 08237C 800E8ECC 0C0511F1 */ jal draw_icon_1 +/* 082380 800E8ED0 0240202D */ daddu $a0, $s2, $zero +/* 082384 800E8ED4 0214102A */ slt $v0, $s0, $s4 +/* 082388 800E8ED8 1040004F */ beqz $v0, .L800E9018 +/* 08238C 800E8EDC 0217102A */ slt $v0, $s0, $s7 +/* 082390 800E8EE0 54400005 */ bnezl $v0, .L800E8EF8 +/* 082394 800E8EE4 26100001 */ addiu $s0, $s0, 1 +/* 082398 800E8EE8 8FA90054 */ lw $t1, 0x54($sp) +/* 08239C 800E8EEC 1120004A */ beqz $t1, .L800E9018 +/* 0823A0 800E8EF0 00000000 */ nop +/* 0823A4 800E8EF4 26100001 */ addiu $s0, $s0, 1 +.L800E8EF8: +/* 0823A8 800E8EF8 0240202D */ daddu $a0, $s2, $zero +/* 0823AC 800E8EFC 8E650000 */ lw $a1, ($s3) +/* 0823B0 800E8F00 0C0511FF */ jal set_menu_icon_script +/* 0823B4 800E8F04 26310001 */ addiu $s1, $s1, 1 +/* 0823B8 800E8F08 0240202D */ daddu $a0, $s2, $zero +/* 0823BC 800E8F0C 3C05800F */ lui $a1, 0x800f +/* 0823C0 800E8F10 8CA57FFC */ lw $a1, 0x7ffc($a1) +/* 0823C4 800E8F14 8FA6005C */ lw $a2, 0x5c($sp) +/* 0823C8 800E8F18 0C051261 */ jal set_icon_render_pos +/* 0823CC 800E8F1C 02C52821 */ addu $a1, $s6, $a1 +/* 0823D0 800E8F20 0C0511F1 */ jal draw_icon_1 +/* 0823D4 800E8F24 0240202D */ daddu $a0, $s2, $zero +/* 0823D8 800E8F28 0214102A */ slt $v0, $s0, $s4 +/* 0823DC 800E8F2C 1040003A */ beqz $v0, .L800E9018 +/* 0823E0 800E8F30 0217102A */ slt $v0, $s0, $s7 +/* 0823E4 800E8F34 54400005 */ bnezl $v0, .L800E8F4C +/* 0823E8 800E8F38 26100001 */ addiu $s0, $s0, 1 +/* 0823EC 800E8F3C 8FA90054 */ lw $t1, 0x54($sp) +/* 0823F0 800E8F40 11200035 */ beqz $t1, .L800E9018 +/* 0823F4 800E8F44 00000000 */ nop +/* 0823F8 800E8F48 26100001 */ addiu $s0, $s0, 1 +.L800E8F4C: +/* 0823FC 800E8F4C 0240202D */ daddu $a0, $s2, $zero +/* 082400 800E8F50 8E650000 */ lw $a1, ($s3) +/* 082404 800E8F54 0C0511FF */ jal set_menu_icon_script +/* 082408 800E8F58 26310001 */ addiu $s1, $s1, 1 +/* 08240C 800E8F5C 0240202D */ daddu $a0, $s2, $zero +/* 082410 800E8F60 3C058010 */ lui $a1, 0x8010 +/* 082414 800E8F64 8CA58000 */ lw $a1, -0x8000($a1) +/* 082418 800E8F68 8FA6005C */ lw $a2, 0x5c($sp) +/* 08241C 800E8F6C 0C051261 */ jal set_icon_render_pos +/* 082420 800E8F70 02C52821 */ addu $a1, $s6, $a1 +/* 082424 800E8F74 0C0511F1 */ jal draw_icon_1 +/* 082428 800E8F78 0240202D */ daddu $a0, $s2, $zero +/* 08242C 800E8F7C 0214102A */ slt $v0, $s0, $s4 +/* 082430 800E8F80 10400025 */ beqz $v0, .L800E9018 +/* 082434 800E8F84 0217102A */ slt $v0, $s0, $s7 +/* 082438 800E8F88 54400005 */ bnezl $v0, .L800E8FA0 +/* 08243C 800E8F8C 26100001 */ addiu $s0, $s0, 1 +/* 082440 800E8F90 8FA90054 */ lw $t1, 0x54($sp) +/* 082444 800E8F94 11200020 */ beqz $t1, .L800E9018 +/* 082448 800E8F98 00000000 */ nop +/* 08244C 800E8F9C 26100001 */ addiu $s0, $s0, 1 +.L800E8FA0: +/* 082450 800E8FA0 0240202D */ daddu $a0, $s2, $zero +/* 082454 800E8FA4 8FA90058 */ lw $t1, 0x58($sp) +/* 082458 800E8FA8 0000882D */ daddu $s1, $zero, $zero +/* 08245C 800E8FAC 3C05800F */ lui $a1, 0x800f +/* 082460 800E8FB0 00A92821 */ addu $a1, $a1, $t1 +/* 082464 800E8FB4 8CA57FCC */ lw $a1, 0x7fcc($a1) +/* 082468 800E8FB8 8FA90050 */ lw $t1, 0x50($sp) +/* 08246C 800E8FBC 26D60014 */ addiu $s6, $s6, 0x14 +/* 082470 800E8FC0 25290001 */ addiu $t1, $t1, 1 +/* 082474 800E8FC4 0C0511FF */ jal set_menu_icon_script +/* 082478 800E8FC8 AFA90050 */ sw $t1, 0x50($sp) +/* 08247C 800E8FCC 0240202D */ daddu $a0, $s2, $zero +/* 082480 800E8FD0 8FA90060 */ lw $t1, 0x60($sp) +/* 082484 800E8FD4 02A0302D */ daddu $a2, $s5, $zero +/* 082488 800E8FD8 2525000C */ addiu $a1, $t1, 0xc +/* 08248C 800E8FDC 0C051261 */ jal set_icon_render_pos +/* 082490 800E8FE0 03C52821 */ addu $a1, $fp, $a1 +/* 082494 800E8FE4 0C0511F1 */ jal draw_icon_1 +/* 082498 800E8FE8 0240202D */ daddu $a0, $s2, $zero +/* 08249C 800E8FEC 8FA90060 */ lw $t1, 0x60($sp) +/* 0824A0 800E8FF0 0214102A */ slt $v0, $s0, $s4 +/* 0824A4 800E8FF4 25290014 */ addiu $t1, $t1, 0x14 +/* 0824A8 800E8FF8 10400007 */ beqz $v0, .L800E9018 +/* 0824AC 800E8FFC AFA90060 */ sw $t1, 0x60($sp) +/* 0824B0 800E9000 0217102A */ slt $v0, $s0, $s7 +/* 0824B4 800E9004 1440FF45 */ bnez $v0, .L800E8D1C +/* 0824B8 800E9008 0214102A */ slt $v0, $s0, $s4 +/* 0824BC 800E900C 8FA90054 */ lw $t1, 0x54($sp) +/* 0824C0 800E9010 1520FF41 */ bnez $t1, .L800E8D18 +/* 0824C4 800E9014 00000000 */ nop +.L800E9018: +/* 0824C8 800E9018 3C16800F */ lui $s6, 0x800f +/* 0824CC 800E901C 26D67FE8 */ addiu $s6, $s6, 0x7fe8 +/* 0824D0 800E9020 8FA90050 */ lw $t1, 0x50($sp) +/* 0824D4 800E9024 3C048011 */ lui $a0, 0x8011 +/* 0824D8 800E9028 8084F51E */ lb $a0, -0xae2($a0) +/* 0824DC 800E902C 00091080 */ sll $v0, $t1, 2 +/* 0824E0 800E9030 00491021 */ addu $v0, $v0, $t1 +/* 0824E4 800E9034 00021080 */ sll $v0, $v0, 2 +/* 0824E8 800E9038 2457000C */ addiu $s7, $v0, 0xc +/* 0824EC 800E903C 005E9821 */ addu $s3, $v0, $fp +/* 0824F0 800E9040 0004A0C0 */ sll $s4, $a0, 3 +.L800E9044: +/* 0824F4 800E9044 0214102A */ slt $v0, $s0, $s4 +/* 0824F8 800E9048 10400093 */ beqz $v0, .L800E9298 +/* 0824FC 800E904C 00000000 */ nop +/* 082500 800E9050 16200012 */ bnez $s1, .L800E909C +/* 082504 800E9054 24020001 */ addiu $v0, $zero, 1 +/* 082508 800E9058 26100001 */ addiu $s0, $s0, 1 +/* 08250C 800E905C 3C058011 */ lui $a1, 0x8011 +/* 082510 800E9060 24A583B0 */ addiu $a1, $a1, -0x7c50 +/* 082514 800E9064 0C0511FF */ jal set_menu_icon_script +/* 082518 800E9068 0240202D */ daddu $a0, $s2, $zero +/* 08251C 800E906C 0240202D */ daddu $a0, $s2, $zero +/* 082520 800E9070 3C05800F */ lui $a1, 0x800f +/* 082524 800E9074 8CA57FE8 */ lw $a1, 0x7fe8($a1) +/* 082528 800E9078 26A6FFFE */ addiu $a2, $s5, -2 +/* 08252C 800E907C 0C051261 */ jal set_icon_render_pos +/* 082530 800E9080 02652821 */ addu $a1, $s3, $a1 +/* 082534 800E9084 0C0511F1 */ jal draw_icon_1 +/* 082538 800E9088 0240202D */ daddu $a0, $s2, $zero +/* 08253C 800E908C 0214102A */ slt $v0, $s0, $s4 +/* 082540 800E9090 10400081 */ beqz $v0, .L800E9298 +/* 082544 800E9094 24110001 */ addiu $s1, $zero, 1 +/* 082548 800E9098 24020001 */ addiu $v0, $zero, 1 +.L800E909C: +/* 08254C 800E909C 56220011 */ bnel $s1, $v0, .L800E90E4 +/* 082550 800E90A0 24020002 */ addiu $v0, $zero, 2 +/* 082554 800E90A4 02028021 */ addu $s0, $s0, $v0 +/* 082558 800E90A8 3C058011 */ lui $a1, 0x8011 +/* 08255C 800E90AC 24A583B0 */ addiu $a1, $a1, -0x7c50 +/* 082560 800E90B0 0C0511FF */ jal set_menu_icon_script +/* 082564 800E90B4 0240202D */ daddu $a0, $s2, $zero +/* 082568 800E90B8 0240202D */ daddu $a0, $s2, $zero +/* 08256C 800E90BC 8EC50004 */ lw $a1, 4($s6) +/* 082570 800E90C0 26A6FFFE */ addiu $a2, $s5, -2 +/* 082574 800E90C4 0C051261 */ jal set_icon_render_pos +/* 082578 800E90C8 02652821 */ addu $a1, $s3, $a1 +/* 08257C 800E90CC 0C0511F1 */ jal draw_icon_1 +/* 082580 800E90D0 0240202D */ daddu $a0, $s2, $zero +/* 082584 800E90D4 0214102A */ slt $v0, $s0, $s4 +/* 082588 800E90D8 1040006F */ beqz $v0, .L800E9298 +/* 08258C 800E90DC 24110002 */ addiu $s1, $zero, 2 +/* 082590 800E90E0 24020002 */ addiu $v0, $zero, 2 +.L800E90E4: +/* 082594 800E90E4 16220011 */ bne $s1, $v0, .L800E912C +/* 082598 800E90E8 24020003 */ addiu $v0, $zero, 3 +/* 08259C 800E90EC 26100001 */ addiu $s0, $s0, 1 +/* 0825A0 800E90F0 3C058011 */ lui $a1, 0x8011 +/* 0825A4 800E90F4 24A583B0 */ addiu $a1, $a1, -0x7c50 +/* 0825A8 800E90F8 0C0511FF */ jal set_menu_icon_script +/* 0825AC 800E90FC 0240202D */ daddu $a0, $s2, $zero +/* 0825B0 800E9100 0240202D */ daddu $a0, $s2, $zero +/* 0825B4 800E9104 8EC50008 */ lw $a1, 8($s6) +/* 0825B8 800E9108 26A6FFFE */ addiu $a2, $s5, -2 +/* 0825BC 800E910C 0C051261 */ jal set_icon_render_pos +/* 0825C0 800E9110 02652821 */ addu $a1, $s3, $a1 +/* 0825C4 800E9114 0C0511F1 */ jal draw_icon_1 +/* 0825C8 800E9118 0240202D */ daddu $a0, $s2, $zero +/* 0825CC 800E911C 0214102A */ slt $v0, $s0, $s4 +/* 0825D0 800E9120 1040005D */ beqz $v0, .L800E9298 +/* 0825D4 800E9124 24110003 */ addiu $s1, $zero, 3 +/* 0825D8 800E9128 24020003 */ addiu $v0, $zero, 3 +.L800E912C: +/* 0825DC 800E912C 16220011 */ bne $s1, $v0, .L800E9174 +/* 0825E0 800E9130 24020004 */ addiu $v0, $zero, 4 +/* 0825E4 800E9134 26100001 */ addiu $s0, $s0, 1 +/* 0825E8 800E9138 3C058011 */ lui $a1, 0x8011 +/* 0825EC 800E913C 24A583B0 */ addiu $a1, $a1, -0x7c50 +/* 0825F0 800E9140 0C0511FF */ jal set_menu_icon_script +/* 0825F4 800E9144 0240202D */ daddu $a0, $s2, $zero +/* 0825F8 800E9148 0240202D */ daddu $a0, $s2, $zero +/* 0825FC 800E914C 8EC5000C */ lw $a1, 0xc($s6) +/* 082600 800E9150 26A6FFFE */ addiu $a2, $s5, -2 +/* 082604 800E9154 0C051261 */ jal set_icon_render_pos +/* 082608 800E9158 02652821 */ addu $a1, $s3, $a1 +/* 08260C 800E915C 0C0511F1 */ jal draw_icon_1 +/* 082610 800E9160 0240202D */ daddu $a0, $s2, $zero +/* 082614 800E9164 0214102A */ slt $v0, $s0, $s4 +/* 082618 800E9168 1040004B */ beqz $v0, .L800E9298 +/* 08261C 800E916C 24110004 */ addiu $s1, $zero, 4 +/* 082620 800E9170 24020004 */ addiu $v0, $zero, 4 +.L800E9174: +/* 082624 800E9174 16220011 */ bne $s1, $v0, .L800E91BC +/* 082628 800E9178 24020005 */ addiu $v0, $zero, 5 +/* 08262C 800E917C 26100001 */ addiu $s0, $s0, 1 +/* 082630 800E9180 3C058011 */ lui $a1, 0x8011 +/* 082634 800E9184 24A583B0 */ addiu $a1, $a1, -0x7c50 +/* 082638 800E9188 0C0511FF */ jal set_menu_icon_script +/* 08263C 800E918C 0240202D */ daddu $a0, $s2, $zero +/* 082640 800E9190 0240202D */ daddu $a0, $s2, $zero +/* 082644 800E9194 8EC50010 */ lw $a1, 0x10($s6) +/* 082648 800E9198 26A6FFFE */ addiu $a2, $s5, -2 +/* 08264C 800E919C 0C051261 */ jal set_icon_render_pos +/* 082650 800E91A0 02652821 */ addu $a1, $s3, $a1 +/* 082654 800E91A4 0C0511F1 */ jal draw_icon_1 +/* 082658 800E91A8 0240202D */ daddu $a0, $s2, $zero +/* 08265C 800E91AC 0214102A */ slt $v0, $s0, $s4 +/* 082660 800E91B0 10400039 */ beqz $v0, .L800E9298 +/* 082664 800E91B4 24110005 */ addiu $s1, $zero, 5 +/* 082668 800E91B8 24020005 */ addiu $v0, $zero, 5 +.L800E91BC: +/* 08266C 800E91BC 16220011 */ bne $s1, $v0, .L800E9204 +/* 082670 800E91C0 24020006 */ addiu $v0, $zero, 6 +/* 082674 800E91C4 26100001 */ addiu $s0, $s0, 1 +/* 082678 800E91C8 3C058011 */ lui $a1, 0x8011 +/* 08267C 800E91CC 24A583B0 */ addiu $a1, $a1, -0x7c50 +/* 082680 800E91D0 0C0511FF */ jal set_menu_icon_script +/* 082684 800E91D4 0240202D */ daddu $a0, $s2, $zero +/* 082688 800E91D8 0240202D */ daddu $a0, $s2, $zero +/* 08268C 800E91DC 8EC50014 */ lw $a1, 0x14($s6) +/* 082690 800E91E0 26A6FFFE */ addiu $a2, $s5, -2 +/* 082694 800E91E4 0C051261 */ jal set_icon_render_pos +/* 082698 800E91E8 02652821 */ addu $a1, $s3, $a1 +/* 08269C 800E91EC 0C0511F1 */ jal draw_icon_1 +/* 0826A0 800E91F0 0240202D */ daddu $a0, $s2, $zero +/* 0826A4 800E91F4 0214102A */ slt $v0, $s0, $s4 +/* 0826A8 800E91F8 10400027 */ beqz $v0, .L800E9298 +/* 0826AC 800E91FC 24110006 */ addiu $s1, $zero, 6 +/* 0826B0 800E9200 24020006 */ addiu $v0, $zero, 6 +.L800E9204: +/* 0826B4 800E9204 16220011 */ bne $s1, $v0, .L800E924C +/* 0826B8 800E9208 24020007 */ addiu $v0, $zero, 7 +/* 0826BC 800E920C 26100001 */ addiu $s0, $s0, 1 +/* 0826C0 800E9210 3C058011 */ lui $a1, 0x8011 +/* 0826C4 800E9214 24A583B0 */ addiu $a1, $a1, -0x7c50 +/* 0826C8 800E9218 0C0511FF */ jal set_menu_icon_script +/* 0826CC 800E921C 0240202D */ daddu $a0, $s2, $zero +/* 0826D0 800E9220 0240202D */ daddu $a0, $s2, $zero +/* 0826D4 800E9224 8EC50018 */ lw $a1, 0x18($s6) +/* 0826D8 800E9228 26A6FFFE */ addiu $a2, $s5, -2 +/* 0826DC 800E922C 0C051261 */ jal set_icon_render_pos +/* 0826E0 800E9230 02652821 */ addu $a1, $s3, $a1 +/* 0826E4 800E9234 0C0511F1 */ jal draw_icon_1 +/* 0826E8 800E9238 0240202D */ daddu $a0, $s2, $zero +/* 0826EC 800E923C 0214102A */ slt $v0, $s0, $s4 +/* 0826F0 800E9240 10400015 */ beqz $v0, .L800E9298 +/* 0826F4 800E9244 24110007 */ addiu $s1, $zero, 7 +/* 0826F8 800E9248 24020007 */ addiu $v0, $zero, 7 +.L800E924C: +/* 0826FC 800E924C 1622000F */ bne $s1, $v0, .L800E928C +/* 082700 800E9250 0000882D */ daddu $s1, $zero, $zero +/* 082704 800E9254 26100001 */ addiu $s0, $s0, 1 +/* 082708 800E9258 3C058011 */ lui $a1, 0x8011 +/* 08270C 800E925C 24A584F0 */ addiu $a1, $a1, -0x7b10 +/* 082710 800E9260 0C0511FF */ jal set_menu_icon_script +/* 082714 800E9264 0240202D */ daddu $a0, $s2, $zero +/* 082718 800E9268 0240202D */ daddu $a0, $s2, $zero +/* 08271C 800E926C 03D72821 */ addu $a1, $fp, $s7 +/* 082720 800E9270 0C051261 */ jal set_icon_render_pos +/* 082724 800E9274 02A0302D */ daddu $a2, $s5, $zero +/* 082728 800E9278 0C0511F1 */ jal draw_icon_1 +/* 08272C 800E927C 0240202D */ daddu $a0, $s2, $zero +/* 082730 800E9280 0214102A */ slt $v0, $s0, $s4 +/* 082734 800E9284 10400004 */ beqz $v0, .L800E9298 +/* 082738 800E9288 0000882D */ daddu $s1, $zero, $zero +.L800E928C: +/* 08273C 800E928C 26F70014 */ addiu $s7, $s7, 0x14 +/* 082740 800E9290 0803A411 */ j .L800E9044 +/* 082744 800E9294 26730014 */ addiu $s3, $s3, 0x14 + +.L800E9298: +/* 082748 800E9298 0C03C360 */ jal func_800F0D80 +/* 08274C 800E929C 00000000 */ nop +/* 082750 800E92A0 0C03C40B */ jal func_800F102C +/* 082754 800E92A4 00000000 */ nop +.L800E92A8: +/* 082758 800E92A8 8FBF008C */ lw $ra, 0x8c($sp) +/* 08275C 800E92AC 8FBE0088 */ lw $fp, 0x88($sp) +/* 082760 800E92B0 8FB70084 */ lw $s7, 0x84($sp) +/* 082764 800E92B4 8FB60080 */ lw $s6, 0x80($sp) +/* 082768 800E92B8 8FB5007C */ lw $s5, 0x7c($sp) +/* 08276C 800E92BC 8FB40078 */ lw $s4, 0x78($sp) +/* 082770 800E92C0 8FB30074 */ lw $s3, 0x74($sp) +/* 082774 800E92C4 8FB20070 */ lw $s2, 0x70($sp) +/* 082778 800E92C8 8FB1006C */ lw $s1, 0x6c($sp) +/* 08277C 800E92CC 8FB00068 */ lw $s0, 0x68($sp) +/* 082780 800E92D0 03E00008 */ jr $ra +/* 082784 800E92D4 27BD0090 */ addiu $sp, $sp, 0x90 + +coin_counter_draw_content: +/* 082788 800E92D8 3C038011 */ lui $v1, 0x8011 +/* 08278C 800E92DC 8463F29C */ lh $v1, -0xd64($v1) +/* 082790 800E92E0 27BDFFC8 */ addiu $sp, $sp, -0x38 +/* 082794 800E92E4 AFB3002C */ sw $s3, 0x2c($sp) +/* 082798 800E92E8 00A0982D */ daddu $s3, $a1, $zero +/* 08279C 800E92EC AFB20028 */ sw $s2, 0x28($sp) +/* 0827A0 800E92F0 3C128011 */ lui $s2, 0x8011 +/* 0827A4 800E92F4 2652EF58 */ addiu $s2, $s2, -0x10a8 +/* 0827A8 800E92F8 AFBF0034 */ sw $ra, 0x34($sp) +/* 0827AC 800E92FC AFB40030 */ sw $s4, 0x30($sp) +/* 0827B0 800E9300 AFB10024 */ sw $s1, 0x24($sp) +/* 0827B4 800E9304 AFB00020 */ sw $s0, 0x20($sp) +/* 0827B8 800E9308 86420040 */ lh $v0, 0x40($s2) +/* 0827BC 800E930C 10620011 */ beq $v1, $v0, .L800E9354 +/* 0827C0 800E9310 00C0A02D */ daddu $s4, $a2, $zero +/* 0827C4 800E9314 3C028007 */ lui $v0, 0x8007 +/* 0827C8 800E9318 8C42419C */ lw $v0, 0x419c($v0) +/* 0827CC 800E931C 94430134 */ lhu $v1, 0x134($v0) +/* 0827D0 800E9320 3C02AAAA */ lui $v0, 0xaaaa +/* 0827D4 800E9324 3442AAAB */ ori $v0, $v0, 0xaaab +/* 0827D8 800E9328 00620019 */ multu $v1, $v0 +/* 0827DC 800E932C 00004010 */ mfhi $t0 +/* 0827E0 800E9330 00082042 */ srl $a0, $t0, 1 +/* 0827E4 800E9334 00041040 */ sll $v0, $a0, 1 +/* 0827E8 800E9338 00441021 */ addu $v0, $v0, $a0 +/* 0827EC 800E933C 00621823 */ subu $v1, $v1, $v0 +/* 0827F0 800E9340 3063FFFF */ andi $v1, $v1, 0xffff +/* 0827F4 800E9344 14600004 */ bnez $v1, .L800E9358 +/* 0827F8 800E9348 2665001B */ addiu $a1, $s3, 0x1b +/* 0827FC 800E934C 0C05272D */ jal play_sound +/* 082800 800E9350 24040211 */ addiu $a0, $zero, 0x211 +.L800E9354: +/* 082804 800E9354 2665001B */ addiu $a1, $s3, 0x1b +.L800E9358: +/* 082808 800E9358 2690000B */ addiu $s0, $s4, 0xb +/* 08280C 800E935C 8E51005C */ lw $s1, 0x5c($s2) +/* 082810 800E9360 0200302D */ daddu $a2, $s0, $zero +/* 082814 800E9364 0C051261 */ jal set_icon_render_pos +/* 082818 800E9368 0220202D */ daddu $a0, $s1, $zero +/* 08281C 800E936C 0C0511EA */ jal draw_icon_0 +/* 082820 800E9370 0220202D */ daddu $a0, $s1, $zero +/* 082824 800E9374 2665000F */ addiu $a1, $s3, 0xf +/* 082828 800E9378 8E510060 */ lw $s1, 0x60($s2) +/* 08282C 800E937C 0200302D */ daddu $a2, $s0, $zero +/* 082830 800E9380 0C051261 */ jal set_icon_render_pos +/* 082834 800E9384 0220202D */ daddu $a0, $s1, $zero +/* 082838 800E9388 0C0511EA */ jal draw_icon_0 +/* 08283C 800E938C 0220202D */ daddu $a0, $s1, $zero +/* 082840 800E9390 2665003A */ addiu $a1, $s3, 0x3a +/* 082844 800E9394 26860004 */ addiu $a2, $s4, 4 +/* 082848 800E9398 2402000A */ addiu $v0, $zero, 0xa +/* 08284C 800E939C AFA20010 */ sw $v0, 0x10($sp) +/* 082850 800E93A0 240200FF */ addiu $v0, $zero, 0xff +/* 082854 800E93A4 AFA20014 */ sw $v0, 0x14($sp) +/* 082858 800E93A8 24020003 */ addiu $v0, $zero, 3 +/* 08285C 800E93AC 86440040 */ lh $a0, 0x40($s2) +/* 082860 800E93B0 24070001 */ addiu $a3, $zero, 1 +/* 082864 800E93B4 0C049DA7 */ jal draw_number +/* 082868 800E93B8 AFA20018 */ sw $v0, 0x18($sp) +/* 08286C 800E93BC 8FBF0034 */ lw $ra, 0x34($sp) +/* 082870 800E93C0 8FB40030 */ lw $s4, 0x30($sp) +/* 082874 800E93C4 8FB3002C */ lw $s3, 0x2c($sp) +/* 082878 800E93C8 8FB20028 */ lw $s2, 0x28($sp) +/* 08287C 800E93CC 8FB10024 */ lw $s1, 0x24($sp) +/* 082880 800E93D0 8FB00020 */ lw $s0, 0x20($sp) +/* 082884 800E93D4 03E00008 */ jr $ra +/* 082888 800E93D8 27BD0038 */ addiu $sp, $sp, 0x38 + +update_coin_counter: +/* 08288C 800E93DC 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 082890 800E93E0 AFB00010 */ sw $s0, 0x10($sp) +/* 082894 800E93E4 3C108011 */ lui $s0, 0x8011 +/* 082898 800E93E8 2610EF58 */ addiu $s0, $s0, -0x10a8 +/* 08289C 800E93EC AFB10014 */ sw $s1, 0x14($sp) +/* 0828A0 800E93F0 3C118011 */ lui $s1, 0x8011 +/* 0828A4 800E93F4 2631F290 */ addiu $s1, $s1, -0xd70 +/* 0828A8 800E93F8 AFBF0018 */ sw $ra, 0x18($sp) +/* 0828AC 800E93FC 9203006D */ lbu $v1, 0x6d($s0) +/* 0828B0 800E9400 8202006D */ lb $v0, 0x6d($s0) +/* 0828B4 800E9404 10400010 */ beqz $v0, .L800E9448 +/* 0828B8 800E9408 2462FFFF */ addiu $v0, $v1, -1 +/* 0828BC 800E940C A202006D */ sb $v0, 0x6d($s0) +/* 0828C0 800E9410 00021600 */ sll $v0, $v0, 0x18 +/* 0828C4 800E9414 1440000A */ bnez $v0, .L800E9440 +/* 0828C8 800E9418 00000000 */ nop +/* 0828CC 800E941C 8E040064 */ lw $a0, 0x64($s0) +/* 0828D0 800E9420 04800007 */ bltz $a0, .L800E9440 +/* 0828D4 800E9424 00000000 */ nop +/* 0828D8 800E9428 0C05123D */ jal free_icon +/* 0828DC 800E942C 00000000 */ nop +/* 0828E0 800E9430 0C05123D */ jal free_icon +/* 0828E4 800E9434 8E040068 */ lw $a0, 0x68($s0) +/* 0828E8 800E9438 2402FFFF */ addiu $v0, $zero, -1 +/* 0828EC 800E943C AE020064 */ sw $v0, 0x64($s0) +.L800E9440: +/* 0828F0 800E9440 3C018011 */ lui $at, 0x8011 +/* 0828F4 800E9444 A420CD12 */ sh $zero, -0x32ee($at) +.L800E9448: +/* 0828F8 800E9448 8204006C */ lb $a0, 0x6c($s0) +/* 0828FC 800E944C 1080002D */ beqz $a0, .L800E9504 +/* 082900 800E9450 00000000 */ nop +/* 082904 800E9454 86030040 */ lh $v1, 0x40($s0) +/* 082908 800E9458 8622000C */ lh $v0, 0xc($s1) +/* 08290C 800E945C 14620008 */ bne $v1, $v0, .L800E9480 +/* 082910 800E9460 2882001F */ slti $v0, $a0, 0x1f +/* 082914 800E9464 14400003 */ bnez $v0, .L800E9474 +/* 082918 800E9468 2402001E */ addiu $v0, $zero, 0x1e +/* 08291C 800E946C A202006C */ sb $v0, 0x6c($s0) +/* 082920 800E9470 86030040 */ lh $v1, 0x40($s0) +.L800E9474: +/* 082924 800E9474 8622000C */ lh $v0, 0xc($s1) +/* 082928 800E9478 10620005 */ beq $v1, $v0, .L800E9490 +/* 08292C 800E947C 00000000 */ nop +.L800E9480: +/* 082930 800E9480 8202006C */ lb $v0, 0x6c($s0) +/* 082934 800E9484 2842001F */ slti $v0, $v0, 0x1f +/* 082938 800E9488 1040001E */ beqz $v0, .L800E9504 +/* 08293C 800E948C 00000000 */ nop +.L800E9490: +/* 082940 800E9490 9202006C */ lbu $v0, 0x6c($s0) +/* 082944 800E9494 2442FFFF */ addiu $v0, $v0, -1 +/* 082948 800E9498 A202006C */ sb $v0, 0x6c($s0) +/* 08294C 800E949C 00021600 */ sll $v0, $v0, 0x18 +/* 082950 800E94A0 14400018 */ bnez $v0, .L800E9504 +/* 082954 800E94A4 00000000 */ nop +/* 082958 800E94A8 3C058014 */ lui $a1, 0x8014 +/* 08295C 800E94AC 24A57574 */ addiu $a1, $a1, 0x7574 +/* 082960 800E94B0 0C051F9F */ jal func_80147E7C +/* 082964 800E94B4 24040014 */ addiu $a0, $zero, 0x14 +/* 082968 800E94B8 8E03005C */ lw $v1, 0x5c($s0) +/* 08296C 800E94BC 8E040060 */ lw $a0, 0x60($s0) +/* 082970 800E94C0 2402000F */ addiu $v0, $zero, 0xf +/* 082974 800E94C4 A202006D */ sb $v0, 0x6d($s0) +/* 082978 800E94C8 9625000C */ lhu $a1, 0xc($s1) +/* 08297C 800E94CC 24020001 */ addiu $v0, $zero, 1 +/* 082980 800E94D0 3C018011 */ lui $at, 0x8011 +/* 082984 800E94D4 A420CD10 */ sh $zero, -0x32f0($at) +/* 082988 800E94D8 3C018011 */ lui $at, 0x8011 +/* 08298C 800E94DC A422CD12 */ sh $v0, -0x32ee($at) +/* 082990 800E94E0 8202006E */ lb $v0, 0x6e($s0) +/* 082994 800E94E4 AE030064 */ sw $v1, 0x64($s0) +/* 082998 800E94E8 9203006E */ lbu $v1, 0x6e($s0) +/* 08299C 800E94EC AE040068 */ sw $a0, 0x68($s0) +/* 0829A0 800E94F0 04400004 */ bltz $v0, .L800E9504 +/* 0829A4 800E94F4 A6050040 */ sh $a1, 0x40($s0) +/* 0829A8 800E94F8 2402FFFF */ addiu $v0, $zero, -1 +/* 0829AC 800E94FC A2030044 */ sb $v1, 0x44($s0) +/* 0829B0 800E9500 A202006E */ sb $v0, 0x6e($s0) +.L800E9504: +/* 0829B4 800E9504 8FBF0018 */ lw $ra, 0x18($sp) +/* 0829B8 800E9508 8FB10014 */ lw $s1, 0x14($sp) +/* 0829BC 800E950C 8FB00010 */ lw $s0, 0x10($sp) +/* 0829C0 800E9510 03E00008 */ jr $ra +/* 0829C4 800E9514 27BD0020 */ addiu $sp, $sp, 0x20 + +show_coin_counter: +/* 0829C8 800E9518 27BDFFC8 */ addiu $sp, $sp, -0x38 +/* 0829CC 800E951C AFB00028 */ sw $s0, 0x28($sp) +/* 0829D0 800E9520 3C108011 */ lui $s0, 0x8011 +/* 0829D4 800E9524 2610CD10 */ addiu $s0, $s0, -0x32f0 +/* 0829D8 800E9528 AFBF0030 */ sw $ra, 0x30($sp) +/* 0829DC 800E952C AFB1002C */ sw $s1, 0x2c($sp) +/* 0829E0 800E9530 86020000 */ lh $v0, ($s0) +/* 0829E4 800E9534 3C118011 */ lui $s1, 0x8011 +/* 0829E8 800E9538 2631EF58 */ addiu $s1, $s1, -0x10a8 +/* 0829EC 800E953C 14400005 */ bnez $v0, .L800E9554 +/* 0829F0 800E9540 24040014 */ addiu $a0, $zero, 0x14 +/* 0829F4 800E9544 3C028011 */ lui $v0, 0x8011 +/* 0829F8 800E9548 8442CD12 */ lh $v0, -0x32ee($v0) +/* 0829FC 800E954C 10400012 */ beqz $v0, .L800E9598 +/* 082A00 800E9550 00000000 */ nop +.L800E9554: +/* 082A04 800E9554 0C051F9F */ jal func_80147E7C +/* 082A08 800E9558 24050002 */ addiu $a1, $zero, 2 +/* 082A0C 800E955C 8E220064 */ lw $v0, 0x64($s1) +/* 082A10 800E9560 04420009 */ bltzl $v0, .L800E9588 +/* 082A14 800E9564 A220006C */ sb $zero, 0x6c($s1) +/* 082A18 800E9568 8E24005C */ lw $a0, 0x5c($s1) +/* 082A1C 800E956C 0C05123D */ jal free_icon +/* 082A20 800E9570 00000000 */ nop +/* 082A24 800E9574 0C05123D */ jal free_icon +/* 082A28 800E9578 8E240060 */ lw $a0, 0x60($s1) +/* 082A2C 800E957C 2402FFFF */ addiu $v0, $zero, -1 +/* 082A30 800E9580 AE220064 */ sw $v0, 0x64($s1) +/* 082A34 800E9584 A220006C */ sb $zero, 0x6c($s1) +.L800E9588: +/* 082A38 800E9588 A220006D */ sb $zero, 0x6d($s1) +/* 082A3C 800E958C A6000000 */ sh $zero, ($s0) +/* 082A40 800E9590 3C018011 */ lui $at, 0x8011 +/* 082A44 800E9594 A420CD12 */ sh $zero, -0x32ee($at) +.L800E9598: +/* 082A48 800E9598 8222006C */ lb $v0, 0x6c($s1) +/* 082A4C 800E959C 14400039 */ bnez $v0, .L800E9684 +/* 082A50 800E95A0 24040014 */ addiu $a0, $zero, 0x14 +/* 082A54 800E95A4 24050020 */ addiu $a1, $zero, 0x20 +/* 082A58 800E95A8 240600A4 */ addiu $a2, $zero, 0xa4 +/* 082A5C 800E95AC 24070040 */ addiu $a3, $zero, 0x40 +/* 082A60 800E95B0 0080102D */ daddu $v0, $a0, $zero +/* 082A64 800E95B4 AFA20010 */ sw $v0, 0x10($sp) +/* 082A68 800E95B8 24020015 */ addiu $v0, $zero, 0x15 +/* 082A6C 800E95BC AFA20014 */ sw $v0, 0x14($sp) +/* 082A70 800E95C0 3C02800F */ lui $v0, 0x800f +/* 082A74 800E95C4 244292D8 */ addiu $v0, $v0, -0x6d28 +/* 082A78 800E95C8 AFA20018 */ sw $v0, 0x18($sp) +/* 082A7C 800E95CC 2402FFFF */ addiu $v0, $zero, -1 +/* 082A80 800E95D0 AFA0001C */ sw $zero, 0x1c($sp) +/* 082A84 800E95D4 0C051F32 */ jal func_80147CC8 +/* 082A88 800E95D8 AFA20020 */ sw $v0, 0x20($sp) +/* 082A8C 800E95DC 3C058014 */ lui $a1, 0x8014 +/* 082A90 800E95E0 24A57474 */ addiu $a1, $a1, 0x7474 +/* 082A94 800E95E4 0C051F9F */ jal func_80147E7C +/* 082A98 800E95E8 24040014 */ addiu $a0, $zero, 0x14 +/* 082A9C 800E95EC 3C048011 */ lui $a0, 0x8011 +/* 082AA0 800E95F0 24849270 */ addiu $a0, $a0, -0x6d90 +/* 082AA4 800E95F4 0C050529 */ jal create_icon +/* 082AA8 800E95F8 00000000 */ nop +/* 082AAC 800E95FC 0040802D */ daddu $s0, $v0, $zero +/* 082AB0 800E9600 0200202D */ daddu $a0, $s0, $zero +/* 082AB4 800E9604 24050080 */ addiu $a1, $zero, 0x80 +/* 082AB8 800E9608 0C051280 */ jal set_icon_flags +/* 082ABC 800E960C AE30005C */ sw $s0, 0x5c($s1) +/* 082AC0 800E9610 0200202D */ daddu $a0, $s0, $zero +/* 082AC4 800E9614 240500FF */ addiu $a1, $zero, 0xff +/* 082AC8 800E9618 00A0302D */ daddu $a2, $a1, $zero +/* 082ACC 800E961C 0C0513BF */ jal func_80144EFC +/* 082AD0 800E9620 00A0382D */ daddu $a3, $a1, $zero +/* 082AD4 800E9624 3C048011 */ lui $a0, 0x8011 +/* 082AD8 800E9628 24848558 */ addiu $a0, $a0, -0x7aa8 +/* 082ADC 800E962C 0C050529 */ jal create_icon +/* 082AE0 800E9630 00000000 */ nop +/* 082AE4 800E9634 0040802D */ daddu $s0, $v0, $zero +/* 082AE8 800E9638 0200202D */ daddu $a0, $s0, $zero +/* 082AEC 800E963C 24050080 */ addiu $a1, $zero, 0x80 +/* 082AF0 800E9640 0C051280 */ jal set_icon_flags +/* 082AF4 800E9644 AE300060 */ sw $s0, 0x60($s1) +/* 082AF8 800E9648 0200202D */ daddu $a0, $s0, $zero +/* 082AFC 800E964C 240500FF */ addiu $a1, $zero, 0xff +/* 082B00 800E9650 00A0302D */ daddu $a2, $a1, $zero +/* 082B04 800E9654 0C0513BF */ jal func_80144EFC +/* 082B08 800E9658 00A0382D */ daddu $a3, $a1, $zero +/* 082B0C 800E965C 8222006E */ lb $v0, 0x6e($s1) +/* 082B10 800E9660 04410003 */ bgez $v0, .L800E9670 +/* 082B14 800E9664 A220006C */ sb $zero, 0x6c($s1) +/* 082B18 800E9668 92220044 */ lbu $v0, 0x44($s1) +/* 082B1C 800E966C A222006E */ sb $v0, 0x6e($s1) +.L800E9670: +/* 082B20 800E9670 24020001 */ addiu $v0, $zero, 1 +/* 082B24 800E9674 A2220044 */ sb $v0, 0x44($s1) +/* 082B28 800E9678 24020001 */ addiu $v0, $zero, 1 +/* 082B2C 800E967C 3C018011 */ lui $at, 0x8011 +/* 082B30 800E9680 A422CD10 */ sh $v0, -0x32f0($at) +.L800E9684: +/* 082B34 800E9684 8FBF0030 */ lw $ra, 0x30($sp) +/* 082B38 800E9688 8FB1002C */ lw $s1, 0x2c($sp) +/* 082B3C 800E968C 8FB00028 */ lw $s0, 0x28($sp) +/* 082B40 800E9690 03E00008 */ jr $ra +/* 082B44 800E9694 27BD0038 */ addiu $sp, $sp, 0x38 + +hide_coin_counter: +/* 082B48 800E9698 3C028011 */ lui $v0, 0x8011 +/* 082B4C 800E969C 8442CD10 */ lh $v0, -0x32f0($v0) +/* 082B50 800E96A0 3C038011 */ lui $v1, 0x8011 +/* 082B54 800E96A4 2463EF58 */ addiu $v1, $v1, -0x10a8 +/* 082B58 800E96A8 10400005 */ beqz $v0, .L800E96C0 +/* 082B5C 800E96AC 00000000 */ nop +/* 082B60 800E96B0 8062006C */ lb $v0, 0x6c($v1) +/* 082B64 800E96B4 14400002 */ bnez $v0, .L800E96C0 +/* 082B68 800E96B8 2402003C */ addiu $v0, $zero, 0x3c +/* 082B6C 800E96BC A062006C */ sb $v0, 0x6c($v1) +.L800E96C0: +/* 082B70 800E96C0 03E00008 */ jr $ra +/* 082B74 800E96C4 00000000 */ nop + +func_800E96C8: +/* 082B78 800E96C8 3C028011 */ lui $v0, 0x8011 +/* 082B7C 800E96CC 8442CD10 */ lh $v0, -0x32f0($v0) +/* 082B80 800E96D0 3C038011 */ lui $v1, 0x8011 +/* 082B84 800E96D4 2463EF58 */ addiu $v1, $v1, -0x10a8 +/* 082B88 800E96D8 10400005 */ beqz $v0, .L800E96F0 +/* 082B8C 800E96DC 00000000 */ nop +/* 082B90 800E96E0 8062006C */ lb $v0, 0x6c($v1) +/* 082B94 800E96E4 14400002 */ bnez $v0, .L800E96F0 +/* 082B98 800E96E8 24020001 */ addiu $v0, $zero, 1 +/* 082B9C 800E96EC A062006C */ sb $v0, 0x6c($v1) +.L800E96F0: +/* 082BA0 800E96F0 03E00008 */ jr $ra +/* 082BA4 800E96F4 00000000 */ nop + +ShowCoinCounter: +/* 082BA8 800E96F8 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 082BAC 800E96FC AFBF0010 */ sw $ra, 0x10($sp) +/* 082BB0 800E9700 8C82000C */ lw $v0, 0xc($a0) +/* 082BB4 800E9704 0C0B1EAF */ jal get_variable +/* 082BB8 800E9708 8C450000 */ lw $a1, ($v0) +/* 082BBC 800E970C 10400005 */ beqz $v0, .L800E9724 +/* 082BC0 800E9710 00000000 */ nop +/* 082BC4 800E9714 0C03A546 */ jal show_coin_counter +/* 082BC8 800E9718 00000000 */ nop +/* 082BCC 800E971C 0803A5CB */ j .L800E972C +/* 082BD0 800E9720 00000000 */ nop + +.L800E9724: +/* 082BD4 800E9724 0C03A5A6 */ jal hide_coin_counter +/* 082BD8 800E9728 00000000 */ nop +.L800E972C: +/* 082BDC 800E972C 8FBF0010 */ lw $ra, 0x10($sp) +/* 082BE0 800E9730 24020002 */ addiu $v0, $zero, 2 +/* 082BE4 800E9734 03E00008 */ jr $ra +/* 082BE8 800E9738 27BD0018 */ addiu $sp, $sp, 0x18 + +func_800E973C: +/* 082BEC 800E973C 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 082BF0 800E9740 AFBF0010 */ sw $ra, 0x10($sp) +/* 082BF4 800E9744 0C03A02D */ jal update_status_menu +/* 082BF8 800E9748 00000000 */ nop +/* 082BFC 800E974C 0C03A4F7 */ jal update_coin_counter +/* 082C00 800E9750 00000000 */ nop +/* 082C04 800E9754 8FBF0010 */ lw $ra, 0x10($sp) +/* 082C08 800E9758 03E00008 */ jr $ra +/* 082C0C 800E975C 27BD0018 */ addiu $sp, $sp, 0x18 + +open_status_menu_long: +/* 082C10 800E9760 3C038011 */ lui $v1, 0x8011 +/* 082C14 800E9764 2463EF58 */ addiu $v1, $v1, -0x10a8 +/* 082C18 800E9768 8062003A */ lb $v0, 0x3a($v1) +/* 082C1C 800E976C 10400005 */ beqz $v0, .L800E9784 +/* 082C20 800E9770 240200D2 */ addiu $v0, $zero, 0xd2 +/* 082C24 800E9774 A4620038 */ sh $v0, 0x38($v1) +/* 082C28 800E9778 24020001 */ addiu $v0, $zero, 1 +/* 082C2C 800E977C A060003A */ sb $zero, 0x3a($v1) +/* 082C30 800E9780 A062003B */ sb $v0, 0x3b($v1) +.L800E9784: +/* 082C34 800E9784 03E00008 */ jr $ra +/* 082C38 800E9788 00000000 */ nop + +open_status_menu_short: +/* 082C3C 800E978C 3C038011 */ lui $v1, 0x8011 +/* 082C40 800E9790 2463EF58 */ addiu $v1, $v1, -0x10a8 +/* 082C44 800E9794 8062003A */ lb $v0, 0x3a($v1) +/* 082C48 800E9798 10400005 */ beqz $v0, .L800E97B0 +/* 082C4C 800E979C 24020069 */ addiu $v0, $zero, 0x69 +/* 082C50 800E97A0 A4620038 */ sh $v0, 0x38($v1) +/* 082C54 800E97A4 24020001 */ addiu $v0, $zero, 1 +/* 082C58 800E97A8 A060003A */ sb $zero, 0x3a($v1) +/* 082C5C 800E97AC A062003B */ sb $v0, 0x3b($v1) +.L800E97B0: +/* 082C60 800E97B0 03E00008 */ jr $ra +/* 082C64 800E97B4 00000000 */ nop + +func_800E97B8: +/* 082C68 800E97B8 3C048011 */ lui $a0, 0x8011 +/* 082C6C 800E97BC 2484EF58 */ addiu $a0, $a0, -0x10a8 +/* 082C70 800E97C0 8082003A */ lb $v0, 0x3a($a0) +/* 082C74 800E97C4 24030001 */ addiu $v1, $zero, 1 +/* 082C78 800E97C8 10430004 */ beq $v0, $v1, .L800E97DC +/* 082C7C 800E97CC 00000000 */ nop +/* 082C80 800E97D0 A083003A */ sb $v1, 0x3a($a0) +/* 082C84 800E97D4 A4800038 */ sh $zero, 0x38($a0) +/* 082C88 800E97D8 A083003B */ sb $v1, 0x3b($a0) +.L800E97DC: +/* 082C8C 800E97DC 03E00008 */ jr $ra +/* 082C90 800E97E0 00000000 */ nop + +func_800E97E4: +/* 082C94 800E97E4 3C028011 */ lui $v0, 0x8011 +/* 082C98 800E97E8 2442EF58 */ addiu $v0, $v0, -0x10a8 +/* 082C9C 800E97EC 2403FF9C */ addiu $v1, $zero, -0x64 +/* 082CA0 800E97F0 A4430036 */ sh $v1, 0x36($v0) +/* 082CA4 800E97F4 24030001 */ addiu $v1, $zero, 1 +/* 082CA8 800E97F8 A0400044 */ sb $zero, 0x44($v0) +/* 082CAC 800E97FC A4400038 */ sh $zero, 0x38($v0) +/* 082CB0 800E9800 A043003A */ sb $v1, 0x3a($v0) +/* 082CB4 800E9804 A040003B */ sb $zero, 0x3b($v0) +/* 082CB8 800E9808 03E00008 */ jr $ra +/* 082CBC 800E980C A040003C */ sb $zero, 0x3c($v0) + +func_800E9810: +/* 082CC0 800E9810 3C028011 */ lui $v0, 0x8011 +/* 082CC4 800E9814 2442EF58 */ addiu $v0, $v0, -0x10a8 +/* 082CC8 800E9818 240300D2 */ addiu $v1, $zero, 0xd2 +/* 082CCC 800E981C A4430038 */ sh $v1, 0x38($v0) +/* 082CD0 800E9820 24030001 */ addiu $v1, $zero, 1 +/* 082CD4 800E9824 A4400036 */ sh $zero, 0x36($v0) +/* 082CD8 800E9828 A0400044 */ sb $zero, 0x44($v0) +/* 082CDC 800E982C A040003A */ sb $zero, 0x3a($v0) +/* 082CE0 800E9830 A043003B */ sb $v1, 0x3b($v0) +/* 082CE4 800E9834 03E00008 */ jr $ra +/* 082CE8 800E9838 A040003C */ sb $zero, 0x3c($v0) + +func_800E983C: +/* 082CEC 800E983C 3C018011 */ lui $at, 0x8011 +/* 082CF0 800E9840 A020EF9D */ sb $zero, -0x1063($at) +/* 082CF4 800E9844 03E00008 */ jr $ra +/* 082CF8 800E9848 00000000 */ nop + +func_800E984C: +/* 082CFC 800E984C 24020001 */ addiu $v0, $zero, 1 +/* 082D00 800E9850 3C018011 */ lui $at, 0x8011 +/* 082D04 800E9854 A022EF9D */ sb $v0, -0x1063($at) +/* 082D08 800E9858 03E00008 */ jr $ra +/* 082D0C 800E985C 00000000 */ nop + +func_800E9860: +/* 082D10 800E9860 3C038011 */ lui $v1, 0x8011 +/* 082D14 800E9864 2463EF58 */ addiu $v1, $v1, -0x10a8 +/* 082D18 800E9868 80640045 */ lb $a0, 0x45($v1) +/* 082D1C 800E986C 24020001 */ addiu $v0, $zero, 1 +/* 082D20 800E9870 00442023 */ subu $a0, $v0, $a0 +/* 082D24 800E9874 80620046 */ lb $v0, 0x46($v1) +/* 082D28 800E9878 54400001 */ bnezl $v0, .L800E9880 +/* 082D2C 800E987C 0000202D */ daddu $a0, $zero, $zero +.L800E9880: +/* 082D30 800E9880 80620044 */ lb $v0, 0x44($v1) +/* 082D34 800E9884 54400001 */ bnezl $v0, .L800E988C +/* 082D38 800E9888 0000202D */ daddu $a0, $zero, $zero +.L800E988C: +/* 082D3C 800E988C 03E00008 */ jr $ra +/* 082D40 800E9890 0080102D */ daddu $v0, $a0, $zero + +func_800E9894: +/* 082D44 800E9894 24020001 */ addiu $v0, $zero, 1 +/* 082D48 800E9898 3C018011 */ lui $at, 0x8011 +/* 082D4C 800E989C A022EF9C */ sb $v0, -0x1064($at) +/* 082D50 800E98A0 03E00008 */ jr $ra +/* 082D54 800E98A4 00000000 */ nop + +/* 082D58 800E98A8 3C028011 */ lui $v0, 0x8011 +/* 082D5C 800E98AC 2442EF58 */ addiu $v0, $v0, -0x10a8 +/* 082D60 800E98B0 24030001 */ addiu $v1, $zero, 1 +/* 082D64 800E98B4 A0430044 */ sb $v1, 0x44($v0) +/* 082D68 800E98B8 24030012 */ addiu $v1, $zero, 0x12 +/* 082D6C 800E98BC 03E00008 */ jr $ra +/* 082D70 800E98C0 A4430036 */ sh $v1, 0x36($v0) + +func_800E98C4: +/* 082D74 800E98C4 3C018011 */ lui $at, 0x8011 +/* 082D78 800E98C8 A020EF9C */ sb $zero, -0x1064($at) +/* 082D7C 800E98CC 03E00008 */ jr $ra +/* 082D80 800E98D0 00000000 */ nop + +func_800E98D4: +/* 082D84 800E98D4 3C028011 */ lui $v0, 0x8011 +/* 082D88 800E98D8 2442EF58 */ addiu $v0, $v0, -0x10a8 +/* 082D8C 800E98DC 80430046 */ lb $v1, 0x46($v0) +/* 082D90 800E98E0 80420044 */ lb $v0, 0x44($v0) +/* 082D94 800E98E4 03E00008 */ jr $ra +/* 082D98 800E98E8 00621021 */ addu $v0, $v1, $v0 + +func_800E98EC: +/* 082D9C 800E98EC 24020001 */ addiu $v0, $zero, 1 +/* 082DA0 800E98F0 3C018011 */ lui $at, 0x8011 +/* 082DA4 800E98F4 A022EF9E */ sb $v0, -0x1062($at) +/* 082DA8 800E98F8 03E00008 */ jr $ra +/* 082DAC 800E98FC 00000000 */ nop + +func_800E9900: +/* 082DB0 800E9900 3C018011 */ lui $at, 0x8011 +/* 082DB4 800E9904 A020EF9E */ sb $zero, -0x1062($at) +/* 082DB8 800E9908 03E00008 */ jr $ra +/* 082DBC 800E990C 00000000 */ nop + +is_status_menu_visible: +/* 082DC0 800E9910 3C028011 */ lui $v0, 0x8011 +/* 082DC4 800E9914 8042EF92 */ lb $v0, -0x106e($v0) +/* 082DC8 800E9918 03E00008 */ jr $ra +/* 082DCC 800E991C 2C420001 */ sltiu $v0, $v0, 1 + +status_menu_start_blinking_hp: +/* 082DD0 800E9920 3C028007 */ lui $v0, 0x8007 +/* 082DD4 800E9924 8C42419C */ lw $v0, 0x419c($v0) +/* 082DD8 800E9928 3C038011 */ lui $v1, 0x8011 +/* 082DDC 800E992C 2463EF58 */ addiu $v1, $v1, -0x10a8 +/* 082DE0 800E9930 80420070 */ lb $v0, 0x70($v0) +/* 082DE4 800E9934 14400003 */ bnez $v0, .L800E9944 +/* 082DE8 800E9938 0060202D */ daddu $a0, $v1, $zero +/* 082DEC 800E993C 24020078 */ addiu $v0, $zero, 0x78 +/* 082DF0 800E9940 A062004C */ sb $v0, 0x4c($v1) +.L800E9944: +/* 082DF4 800E9944 8082004A */ lb $v0, 0x4a($a0) +/* 082DF8 800E9948 24030001 */ addiu $v1, $zero, 1 +/* 082DFC 800E994C 10430003 */ beq $v0, $v1, .L800E995C +/* 082E00 800E9950 00000000 */ nop +/* 082E04 800E9954 A083004A */ sb $v1, 0x4a($a0) +/* 082E08 800E9958 A080004B */ sb $zero, 0x4b($a0) +.L800E995C: +/* 082E0C 800E995C 03E00008 */ jr $ra +/* 082E10 800E9960 00000000 */ nop + +status_menu_stop_blinking_hp: +/* 082E14 800E9964 3C038011 */ lui $v1, 0x8011 +/* 082E18 800E9968 2463EF58 */ addiu $v1, $v1, -0x10a8 +/* 082E1C 800E996C 8062004A */ lb $v0, 0x4a($v1) +/* 082E20 800E9970 10400004 */ beqz $v0, .L800E9984 +/* 082E24 800E9974 00000000 */ nop +/* 082E28 800E9978 A060004A */ sb $zero, 0x4a($v1) +/* 082E2C 800E997C A060004B */ sb $zero, 0x4b($v1) +/* 082E30 800E9980 A060004C */ sb $zero, 0x4c($v1) +.L800E9984: +/* 082E34 800E9984 03E00008 */ jr $ra +/* 082E38 800E9988 00000000 */ nop + +status_menu_start_blinking_fp: +/* 082E3C 800E998C 3C028007 */ lui $v0, 0x8007 +/* 082E40 800E9990 8C42419C */ lw $v0, 0x419c($v0) +/* 082E44 800E9994 3C038011 */ lui $v1, 0x8011 +/* 082E48 800E9998 2463EF58 */ addiu $v1, $v1, -0x10a8 +/* 082E4C 800E999C 80420070 */ lb $v0, 0x70($v0) +/* 082E50 800E99A0 14400003 */ bnez $v0, .L800E99B0 +/* 082E54 800E99A4 0060202D */ daddu $a0, $v1, $zero +/* 082E58 800E99A8 24020078 */ addiu $v0, $zero, 0x78 +/* 082E5C 800E99AC A062004F */ sb $v0, 0x4f($v1) +.L800E99B0: +/* 082E60 800E99B0 8082004D */ lb $v0, 0x4d($a0) +/* 082E64 800E99B4 24030001 */ addiu $v1, $zero, 1 +/* 082E68 800E99B8 10430003 */ beq $v0, $v1, .L800E99C8 +/* 082E6C 800E99BC 00000000 */ nop +/* 082E70 800E99C0 A083004D */ sb $v1, 0x4d($a0) +/* 082E74 800E99C4 A080004E */ sb $zero, 0x4e($a0) +.L800E99C8: +/* 082E78 800E99C8 03E00008 */ jr $ra +/* 082E7C 800E99CC 00000000 */ nop + +status_menu_stop_blinking_fp: +/* 082E80 800E99D0 3C038011 */ lui $v1, 0x8011 +/* 082E84 800E99D4 2463EF58 */ addiu $v1, $v1, -0x10a8 +/* 082E88 800E99D8 8062004D */ lb $v0, 0x4d($v1) +/* 082E8C 800E99DC 10400003 */ beqz $v0, .L800E99EC +/* 082E90 800E99E0 00000000 */ nop +/* 082E94 800E99E4 A060004D */ sb $zero, 0x4d($v1) +/* 082E98 800E99E8 A060004E */ sb $zero, 0x4e($v1) +.L800E99EC: +/* 082E9C 800E99EC 03E00008 */ jr $ra +/* 082EA0 800E99F0 00000000 */ nop + +status_menu_start_blinking_coins: +/* 082EA4 800E99F4 3C028007 */ lui $v0, 0x8007 +/* 082EA8 800E99F8 8C42419C */ lw $v0, 0x419c($v0) +/* 082EAC 800E99FC 3C038011 */ lui $v1, 0x8011 +/* 082EB0 800E9A00 2463EF58 */ addiu $v1, $v1, -0x10a8 +/* 082EB4 800E9A04 80420070 */ lb $v0, 0x70($v0) +/* 082EB8 800E9A08 14400003 */ bnez $v0, .L800E9A18 +/* 082EBC 800E9A0C 0060202D */ daddu $a0, $v1, $zero +/* 082EC0 800E9A10 24020078 */ addiu $v0, $zero, 0x78 +/* 082EC4 800E9A14 A0620056 */ sb $v0, 0x56($v1) +.L800E9A18: +/* 082EC8 800E9A18 80820054 */ lb $v0, 0x54($a0) +/* 082ECC 800E9A1C 24030001 */ addiu $v1, $zero, 1 +/* 082ED0 800E9A20 10430003 */ beq $v0, $v1, .L800E9A30 +/* 082ED4 800E9A24 00000000 */ nop +/* 082ED8 800E9A28 A0830054 */ sb $v1, 0x54($a0) +/* 082EDC 800E9A2C A0800055 */ sb $zero, 0x55($a0) +.L800E9A30: +/* 082EE0 800E9A30 03E00008 */ jr $ra +/* 082EE4 800E9A34 00000000 */ nop + +status_menu_stop_blinking_coins: +/* 082EE8 800E9A38 3C038011 */ lui $v1, 0x8011 +/* 082EEC 800E9A3C 2463EF58 */ addiu $v1, $v1, -0x10a8 +/* 082EF0 800E9A40 80620054 */ lb $v0, 0x54($v1) +/* 082EF4 800E9A44 10400004 */ beqz $v0, .L800E9A58 +/* 082EF8 800E9A48 00000000 */ nop +/* 082EFC 800E9A4C A0600054 */ sb $zero, 0x54($v1) +/* 082F00 800E9A50 A0600055 */ sb $zero, 0x55($v1) +/* 082F04 800E9A54 A0600056 */ sb $zero, 0x56($v1) +.L800E9A58: +/* 082F08 800E9A58 03E00008 */ jr $ra +/* 082F0C 800E9A5C 00000000 */ nop + +status_menu_start_blinking_sp: +/* 082F10 800E9A60 3C028011 */ lui $v0, 0x8011 +/* 082F14 800E9A64 9042F51E */ lbu $v0, -0xae2($v0) +/* 082F18 800E9A68 3C038011 */ lui $v1, 0x8011 +/* 082F1C 800E9A6C 2463EF58 */ addiu $v1, $v1, -0x10a8 +/* 082F20 800E9A70 A062005A */ sb $v0, 0x5a($v1) +/* 082F24 800E9A74 80620050 */ lb $v0, 0x50($v1) +/* 082F28 800E9A78 24040001 */ addiu $a0, $zero, 1 +/* 082F2C 800E9A7C 10440003 */ beq $v0, $a0, .L800E9A8C +/* 082F30 800E9A80 00000000 */ nop +/* 082F34 800E9A84 A0640050 */ sb $a0, 0x50($v1) +/* 082F38 800E9A88 A0600051 */ sb $zero, 0x51($v1) +.L800E9A8C: +/* 082F3C 800E9A8C 03E00008 */ jr $ra +/* 082F40 800E9A90 00000000 */ nop + +status_menu_stop_blinking_sp: +/* 082F44 800E9A94 3C038011 */ lui $v1, 0x8011 +/* 082F48 800E9A98 2463EF58 */ addiu $v1, $v1, -0x10a8 +/* 082F4C 800E9A9C 80620050 */ lb $v0, 0x50($v1) +/* 082F50 800E9AA0 10400003 */ beqz $v0, .L800E9AB0 +/* 082F54 800E9AA4 00000000 */ nop +/* 082F58 800E9AA8 A0600050 */ sb $zero, 0x50($v1) +/* 082F5C 800E9AAC A0600051 */ sb $zero, 0x51($v1) +.L800E9AB0: +/* 082F60 800E9AB0 03E00008 */ jr $ra +/* 082F64 800E9AB4 00000000 */ nop + +status_menu_start_blinking_sp_bars: +/* 082F68 800E9AB8 3C038011 */ lui $v1, 0x8011 +/* 082F6C 800E9ABC 2463EF58 */ addiu $v1, $v1, -0x10a8 +/* 082F70 800E9AC0 80620050 */ lb $v0, 0x50($v1) +/* 082F74 800E9AC4 A064005A */ sb $a0, 0x5a($v1) +/* 082F78 800E9AC8 24040001 */ addiu $a0, $zero, 1 +/* 082F7C 800E9ACC 10440003 */ beq $v0, $a0, .L800E9ADC +/* 082F80 800E9AD0 00000000 */ nop +/* 082F84 800E9AD4 A0640050 */ sb $a0, 0x50($v1) +/* 082F88 800E9AD8 A0600051 */ sb $zero, 0x51($v1) +.L800E9ADC: +/* 082F8C 800E9ADC 03E00008 */ jr $ra +/* 082F90 800E9AE0 00000000 */ nop + +status_menu_start_blinking_starpoints: +/* 082F94 800E9AE4 3C038011 */ lui $v1, 0x8011 +/* 082F98 800E9AE8 2463EF58 */ addiu $v1, $v1, -0x10a8 +/* 082F9C 800E9AEC 80620052 */ lb $v0, 0x52($v1) +/* 082FA0 800E9AF0 24040001 */ addiu $a0, $zero, 1 +/* 082FA4 800E9AF4 10440003 */ beq $v0, $a0, .L800E9B04 +/* 082FA8 800E9AF8 00000000 */ nop +/* 082FAC 800E9AFC A0640052 */ sb $a0, 0x52($v1) +/* 082FB0 800E9B00 A0600053 */ sb $zero, 0x53($v1) +.L800E9B04: +/* 082FB4 800E9B04 03E00008 */ jr $ra +/* 082FB8 800E9B08 00000000 */ nop + +status_menu_stop_blinking_starpoints: +/* 082FBC 800E9B0C 3C038011 */ lui $v1, 0x8011 +/* 082FC0 800E9B10 2463EF58 */ addiu $v1, $v1, -0x10a8 +/* 082FC4 800E9B14 80620052 */ lb $v0, 0x52($v1) +/* 082FC8 800E9B18 10400003 */ beqz $v0, .L800E9B28 +/* 082FCC 800E9B1C 00000000 */ nop +/* 082FD0 800E9B20 A0600052 */ sb $zero, 0x52($v1) +/* 082FD4 800E9B24 A0600053 */ sb $zero, 0x53($v1) +.L800E9B28: +/* 082FD8 800E9B28 03E00008 */ jr $ra +/* 082FDC 800E9B2C 00000000 */ nop + +decrement_status_menu_disabled: +/* 082FE0 800E9B30 3C048011 */ lui $a0, 0x8011 +/* 082FE4 800E9B34 2484EF58 */ addiu $a0, $a0, -0x10a8 +/* 082FE8 800E9B38 80820047 */ lb $v0, 0x47($a0) +/* 082FEC 800E9B3C 90830047 */ lbu $v1, 0x47($a0) +/* 082FF0 800E9B40 18400002 */ blez $v0, .L800E9B4C +/* 082FF4 800E9B44 2462FFFF */ addiu $v0, $v1, -1 +/* 082FF8 800E9B48 A0820047 */ sb $v0, 0x47($a0) +.L800E9B4C: +/* 082FFC 800E9B4C 03E00008 */ jr $ra +/* 083000 800E9B50 00000000 */ nop + +increment_status_menu_disabled: +/* 083004 800E9B54 3C038011 */ lui $v1, 0x8011 +/* 083008 800E9B58 2463EF58 */ addiu $v1, $v1, -0x10a8 +/* 08300C 800E9B5C 90620047 */ lbu $v0, 0x47($v1) +/* 083010 800E9B60 24420001 */ addiu $v0, $v0, 1 +/* 083014 800E9B64 03E00008 */ jr $ra +/* 083018 800E9B68 A0620047 */ sb $v0, 0x47($v1) + +sync_status_menu: +/* 08301C 800E9B6C 3C028011 */ lui $v0, 0x8011 +/* 083020 800E9B70 2442F290 */ addiu $v0, $v0, -0xd70 +/* 083024 800E9B74 90430010 */ lbu $v1, 0x10($v0) +/* 083028 800E9B78 90440002 */ lbu $a0, 2($v0) +/* 08302C 800E9B7C 90450005 */ lbu $a1, 5($v0) +/* 083030 800E9B80 94460290 */ lhu $a2, 0x290($v0) +/* 083034 800E9B84 9447000C */ lhu $a3, 0xc($v0) +/* 083038 800E9B88 3C028011 */ lui $v0, 0x8011 +/* 08303C 800E9B8C 2442EF58 */ addiu $v0, $v0, -0x10a8 +/* 083040 800E9B90 00031E00 */ sll $v1, $v1, 0x18 +/* 083044 800E9B94 00031E03 */ sra $v1, $v1, 0x18 +/* 083048 800E9B98 A044003D */ sb $a0, 0x3d($v0) +/* 08304C 800E9B9C A045003E */ sb $a1, 0x3e($v0) +/* 083050 800E9BA0 A4460048 */ sh $a2, 0x48($v0) +/* 083054 800E9BA4 A4470040 */ sh $a3, 0x40($v0) +/* 083058 800E9BA8 03E00008 */ jr $ra +/* 08305C 800E9BAC A4430042 */ sh $v1, 0x42($v0) + +reset_status_menu: +/* 083060 800E9BB0 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 083064 800E9BB4 AFB20018 */ sw $s2, 0x18($sp) +/* 083068 800E9BB8 0000902D */ daddu $s2, $zero, $zero +/* 08306C 800E9BBC AFB10014 */ sw $s1, 0x14($sp) +/* 083070 800E9BC0 3C118011 */ lui $s1, 0x8011 +/* 083074 800E9BC4 2631EF58 */ addiu $s1, $s1, -0x10a8 +/* 083078 800E9BC8 AFB00010 */ sw $s0, 0x10($sp) +/* 08307C 800E9BCC 0220802D */ daddu $s0, $s1, $zero +/* 083080 800E9BD0 2402000C */ addiu $v0, $zero, 0xc +/* 083084 800E9BD4 AFBF001C */ sw $ra, 0x1c($sp) +/* 083088 800E9BD8 A6220034 */ sh $v0, 0x34($s1) +/* 08308C 800E9BDC 2402FF9C */ addiu $v0, $zero, -0x64 +/* 083090 800E9BE0 A6220036 */ sh $v0, 0x36($s1) +/* 083094 800E9BE4 240200D2 */ addiu $v0, $zero, 0xd2 +/* 083098 800E9BE8 3C038011 */ lui $v1, 0x8011 +/* 08309C 800E9BEC 2463F290 */ addiu $v1, $v1, -0xd70 +/* 0830A0 800E9BF0 A220003A */ sb $zero, 0x3a($s1) +/* 0830A4 800E9BF4 A6220038 */ sh $v0, 0x38($s1) +/* 0830A8 800E9BF8 A220003B */ sb $zero, 0x3b($s1) +/* 0830AC 800E9BFC A2200044 */ sb $zero, 0x44($s1) +/* 0830B0 800E9C00 A2200045 */ sb $zero, 0x45($s1) +/* 0830B4 800E9C04 A2200046 */ sb $zero, 0x46($s1) +/* 0830B8 800E9C08 A220004A */ sb $zero, 0x4a($s1) +/* 0830BC 800E9C0C A220004B */ sb $zero, 0x4b($s1) +/* 0830C0 800E9C10 A220004C */ sb $zero, 0x4c($s1) +/* 0830C4 800E9C14 A220004D */ sb $zero, 0x4d($s1) +/* 0830C8 800E9C18 A220004E */ sb $zero, 0x4e($s1) +/* 0830CC 800E9C1C A220004F */ sb $zero, 0x4f($s1) +/* 0830D0 800E9C20 A2200054 */ sb $zero, 0x54($s1) +/* 0830D4 800E9C24 A2200055 */ sb $zero, 0x55($s1) +/* 0830D8 800E9C28 A2200056 */ sb $zero, 0x56($s1) +/* 0830DC 800E9C2C A2200050 */ sb $zero, 0x50($s1) +/* 0830E0 800E9C30 A2200051 */ sb $zero, 0x51($s1) +/* 0830E4 800E9C34 A2200047 */ sb $zero, 0x47($s1) +/* 0830E8 800E9C38 A2200052 */ sb $zero, 0x52($s1) +/* 0830EC 800E9C3C A2200053 */ sb $zero, 0x53($s1) +/* 0830F0 800E9C40 90640010 */ lbu $a0, 0x10($v1) +/* 0830F4 800E9C44 2402FFFF */ addiu $v0, $zero, -1 +/* 0830F8 800E9C48 A222006E */ sb $v0, 0x6e($s1) +/* 0830FC 800E9C4C 90620002 */ lbu $v0, 2($v1) +/* 083100 800E9C50 90650005 */ lbu $a1, 5($v1) +/* 083104 800E9C54 9466000C */ lhu $a2, 0xc($v1) +/* 083108 800E9C58 94630290 */ lhu $v1, 0x290($v1) +/* 08310C 800E9C5C 00042600 */ sll $a0, $a0, 0x18 +/* 083110 800E9C60 00042603 */ sra $a0, $a0, 0x18 +/* 083114 800E9C64 A222003D */ sb $v0, 0x3d($s1) +/* 083118 800E9C68 A225003E */ sb $a1, 0x3e($s1) +/* 08311C 800E9C6C A6260040 */ sh $a2, 0x40($s1) +/* 083120 800E9C70 A6240042 */ sh $a0, 0x42($s1) +/* 083124 800E9C74 A6230048 */ sh $v1, 0x48($s1) +/* 083128 800E9C78 A220003C */ sb $zero, 0x3c($s1) +.L800E9C7C: +/* 08312C 800E9C7C 8E040000 */ lw $a0, ($s0) +/* 083130 800E9C80 26100004 */ addiu $s0, $s0, 4 +/* 083134 800E9C84 26520001 */ addiu $s2, $s2, 1 +/* 083138 800E9C88 0C0514AD */ jal func_801452B4 +/* 08313C 800E9C8C 0080282D */ daddu $a1, $a0, $zero +/* 083140 800E9C90 2A420002 */ slti $v0, $s2, 2 +/* 083144 800E9C94 1440FFF9 */ bnez $v0, .L800E9C7C +/* 083148 800E9C98 00000000 */ nop +/* 08314C 800E9C9C 0000902D */ daddu $s2, $zero, $zero +/* 083150 800E9CA0 0220802D */ daddu $s0, $s1, $zero +.L800E9CA4: +/* 083154 800E9CA4 8E040008 */ lw $a0, 8($s0) +/* 083158 800E9CA8 26100004 */ addiu $s0, $s0, 4 +/* 08315C 800E9CAC 26520001 */ addiu $s2, $s2, 1 +/* 083160 800E9CB0 0C0514AD */ jal func_801452B4 +/* 083164 800E9CB4 0080282D */ daddu $a1, $a0, $zero +/* 083168 800E9CB8 2A420002 */ slti $v0, $s2, 2 +/* 08316C 800E9CBC 1440FFF9 */ bnez $v0, .L800E9CA4 +/* 083170 800E9CC0 00000000 */ nop +/* 083174 800E9CC4 8E240010 */ lw $a0, 0x10($s1) +/* 083178 800E9CC8 0C0514AD */ jal func_801452B4 +/* 08317C 800E9CCC 0080282D */ daddu $a1, $a0, $zero +/* 083180 800E9CD0 8E240014 */ lw $a0, 0x14($s1) +/* 083184 800E9CD4 0C0514AD */ jal func_801452B4 +/* 083188 800E9CD8 0080282D */ daddu $a1, $a0, $zero +/* 08318C 800E9CDC 8E240018 */ lw $a0, 0x18($s1) +/* 083190 800E9CE0 0C0514AD */ jal func_801452B4 +/* 083194 800E9CE4 0080282D */ daddu $a1, $a0, $zero +/* 083198 800E9CE8 8E24001C */ lw $a0, 0x1c($s1) +/* 08319C 800E9CEC 0C0514AD */ jal func_801452B4 +/* 0831A0 800E9CF0 0080282D */ daddu $a1, $a0, $zero +/* 0831A4 800E9CF4 8E240020 */ lw $a0, 0x20($s1) +/* 0831A8 800E9CF8 0C0514AD */ jal func_801452B4 +/* 0831AC 800E9CFC 0080282D */ daddu $a1, $a0, $zero +/* 0831B0 800E9D00 8E240024 */ lw $a0, 0x24($s1) +/* 0831B4 800E9D04 0C0514AD */ jal func_801452B4 +/* 0831B8 800E9D08 0080282D */ daddu $a1, $a0, $zero +/* 0831BC 800E9D0C 8E240028 */ lw $a0, 0x28($s1) +/* 0831C0 800E9D10 0C0514AD */ jal func_801452B4 +/* 0831C4 800E9D14 0080282D */ daddu $a1, $a0, $zero +/* 0831C8 800E9D18 8E24002C */ lw $a0, 0x2c($s1) +/* 0831CC 800E9D1C 0C0514AD */ jal func_801452B4 +/* 0831D0 800E9D20 0080282D */ daddu $a1, $a0, $zero +/* 0831D4 800E9D24 8E240030 */ lw $a0, 0x30($s1) +/* 0831D8 800E9D28 0C0514AD */ jal func_801452B4 +/* 0831DC 800E9D2C 0080282D */ daddu $a1, $a0, $zero +/* 0831E0 800E9D30 8FBF001C */ lw $ra, 0x1c($sp) +/* 0831E4 800E9D34 8FB20018 */ lw $s2, 0x18($sp) +/* 0831E8 800E9D38 8FB10014 */ lw $s1, 0x14($sp) +/* 0831EC 800E9D3C 8FB00010 */ lw $s0, 0x10($sp) +/* 0831F0 800E9D40 03E00008 */ jr $ra +/* 0831F4 800E9D44 27BD0020 */ addiu $sp, $sp, 0x20 + +is_ability_active: +/* 0831F8 800E9D48 27BDFFD0 */ addiu $sp, $sp, -0x30 +/* 0831FC 800E9D4C AFBF0028 */ sw $ra, 0x28($sp) +/* 083200 800E9D50 0080482D */ daddu $t1, $a0, $zero +/* 083204 800E9D54 3C088011 */ lui $t0, 0x8011 +/* 083208 800E9D58 2508F290 */ addiu $t0, $t0, -0xd70 +/* 08320C 800E9D5C 0000282D */ daddu $a1, $zero, $zero +/* 083210 800E9D60 00A0202D */ daddu $a0, $a1, $zero +/* 083214 800E9D64 24070005 */ addiu $a3, $zero, 5 +/* 083218 800E9D68 27A20024 */ addiu $v0, $sp, 0x24 +.L800E9D6C: +/* 08321C 800E9D6C AC400000 */ sw $zero, ($v0) +/* 083220 800E9D70 24E7FFFF */ addiu $a3, $a3, -1 +/* 083224 800E9D74 04E1FFFD */ bgez $a3, .L800E9D6C +/* 083228 800E9D78 2442FFFC */ addiu $v0, $v0, -4 +/* 08322C 800E9D7C 3C028007 */ lui $v0, 0x8007 +/* 083230 800E9D80 8C42419C */ lw $v0, 0x419c($v0) +/* 083234 800E9D84 9042007E */ lbu $v0, 0x7e($v0) +/* 083238 800E9D88 30420001 */ andi $v0, $v0, 1 +/* 08323C 800E9D8C 144000C7 */ bnez $v0, .L800EA0AC +/* 083240 800E9D90 0000102D */ daddu $v0, $zero, $zero +/* 083244 800E9D94 0000382D */ daddu $a3, $zero, $zero +/* 083248 800E9D98 3C038011 */ lui $v1, 0x8011 +/* 08324C 800E9D9C 2463BF60 */ addiu $v1, $v1, -0x40a0 +/* 083250 800E9DA0 00091080 */ sll $v0, $t1, 2 +/* 083254 800E9DA4 00435021 */ addu $t2, $v0, $v1 +/* 083258 800E9DA8 27A30010 */ addiu $v1, $sp, 0x10 +/* 08325C 800E9DAC 00041080 */ sll $v0, $a0, 2 +/* 083260 800E9DB0 00433021 */ addu $a2, $v0, $v1 +/* 083264 800E9DB4 00071040 */ sll $v0, $a3, 1 +.L800E9DB8: +/* 083268 800E9DB8 01021021 */ addu $v0, $t0, $v0 +/* 08326C 800E9DBC 84430208 */ lh $v1, 0x208($v0) +/* 083270 800E9DC0 10600004 */ beqz $v1, .L800E9DD4 +/* 083274 800E9DC4 00031140 */ sll $v0, $v1, 5 +/* 083278 800E9DC8 3C038008 */ lui $v1, 0x8008 +/* 08327C 800E9DCC 00621821 */ addu $v1, $v1, $v0 +/* 083280 800E9DD0 906378FA */ lbu $v1, 0x78fa($v1) +.L800E9DD4: +/* 083284 800E9DD4 2D220038 */ sltiu $v0, $t1, 0x38 +/* 083288 800E9DD8 504000A9 */ beql $v0, $zero, .L800EA080 +/* 08328C 800E9DDC 24E70001 */ addiu $a3, $a3, 1 +/* 083290 800E9DE0 8D420000 */ lw $v0, ($t2) +/* 083294 800E9DE4 00400008 */ jr $v0 +/* 083298 800E9DE8 00000000 */ nop +/* 08329C 800E9DEC 0803A81D */ j .L800EA074 +/* 0832A0 800E9DF0 2402004C */ addiu $v0, $zero, 0x4c + +/* 0832A4 800E9DF4 0803A81D */ j .L800EA074 +/* 0832A8 800E9DF8 24020040 */ addiu $v0, $zero, 0x40 + +/* 0832AC 800E9DFC 0803A81D */ j .L800EA074 +/* 0832B0 800E9E00 2402004D */ addiu $v0, $zero, 0x4d + +/* 0832B4 800E9E04 0803A81D */ j .L800EA074 +/* 0832B8 800E9E08 24020052 */ addiu $v0, $zero, 0x52 + +/* 0832BC 800E9E0C 0803A81D */ j .L800EA074 +/* 0832C0 800E9E10 24020035 */ addiu $v0, $zero, 0x35 + +/* 0832C4 800E9E14 24020053 */ addiu $v0, $zero, 0x53 +/* 0832C8 800E9E18 50620001 */ beql $v1, $v0, .L800E9E20 +/* 0832CC 800E9E1C 24A50001 */ addiu $a1, $a1, 1 +.L800E9E20: +/* 0832D0 800E9E20 8102000A */ lb $v0, 0xa($t0) +/* 0832D4 800E9E24 50400096 */ beql $v0, $zero, .L800EA080 +/* 0832D8 800E9E28 24E70001 */ addiu $a3, $a3, 1 +/* 0832DC 800E9E2C 0803A81F */ j .L800EA07C +/* 0832E0 800E9E30 24A50001 */ addiu $a1, $a1, 1 + +/* 0832E4 800E9E34 0803A81D */ j .L800EA074 +/* 0832E8 800E9E38 24020041 */ addiu $v0, $zero, 0x41 + +/* 0832EC 800E9E3C 0803A81D */ j .L800EA074 +/* 0832F0 800E9E40 24020042 */ addiu $v0, $zero, 0x42 + +/* 0832F4 800E9E44 0803A81D */ j .L800EA074 +/* 0832F8 800E9E48 2402005A */ addiu $v0, $zero, 0x5a + +/* 0832FC 800E9E4C 0803A81D */ j .L800EA074 +/* 083300 800E9E50 2402003C */ addiu $v0, $zero, 0x3c + +/* 083304 800E9E54 0803A81D */ j .L800EA074 +/* 083308 800E9E58 2402004E */ addiu $v0, $zero, 0x4e + +/* 08330C 800E9E5C 0803A81D */ j .L800EA074 +/* 083310 800E9E60 2402005B */ addiu $v0, $zero, 0x5b + +/* 083314 800E9E64 0803A81D */ j .L800EA074 +/* 083318 800E9E68 2402003D */ addiu $v0, $zero, 0x3d + +/* 08331C 800E9E6C 0803A81D */ j .L800EA074 +/* 083320 800E9E70 24020043 */ addiu $v0, $zero, 0x43 + +/* 083324 800E9E74 24020054 */ addiu $v0, $zero, 0x54 +/* 083328 800E9E78 14620007 */ bne $v1, $v0, .L800E9E98 +/* 08332C 800E9E7C 24020055 */ addiu $v0, $zero, 0x55 +/* 083330 800E9E80 24020001 */ addiu $v0, $zero, 1 +/* 083334 800E9E84 ACC20000 */ sw $v0, ($a2) +/* 083338 800E9E88 24C60004 */ addiu $a2, $a2, 4 +/* 08333C 800E9E8C 00822021 */ addu $a0, $a0, $v0 +/* 083340 800E9E90 2405FFFF */ addiu $a1, $zero, -1 +/* 083344 800E9E94 24020055 */ addiu $v0, $zero, 0x55 +.L800E9E98: +/* 083348 800E9E98 14620007 */ bne $v1, $v0, .L800E9EB8 +/* 08334C 800E9E9C 24020056 */ addiu $v0, $zero, 0x56 +/* 083350 800E9EA0 24020002 */ addiu $v0, $zero, 2 +/* 083354 800E9EA4 ACC20000 */ sw $v0, ($a2) +/* 083358 800E9EA8 24C60004 */ addiu $a2, $a2, 4 +/* 08335C 800E9EAC 24840001 */ addiu $a0, $a0, 1 +/* 083360 800E9EB0 2405FFFF */ addiu $a1, $zero, -1 +/* 083364 800E9EB4 24020056 */ addiu $v0, $zero, 0x56 +.L800E9EB8: +/* 083368 800E9EB8 14620007 */ bne $v1, $v0, .L800E9ED8 +/* 08336C 800E9EBC 24020057 */ addiu $v0, $zero, 0x57 +/* 083370 800E9EC0 24020003 */ addiu $v0, $zero, 3 +/* 083374 800E9EC4 ACC20000 */ sw $v0, ($a2) +/* 083378 800E9EC8 24C60004 */ addiu $a2, $a2, 4 +/* 08337C 800E9ECC 24840001 */ addiu $a0, $a0, 1 +/* 083380 800E9ED0 2405FFFF */ addiu $a1, $zero, -1 +/* 083384 800E9ED4 24020057 */ addiu $v0, $zero, 0x57 +.L800E9ED8: +/* 083388 800E9ED8 14620007 */ bne $v1, $v0, .L800E9EF8 +/* 08338C 800E9EDC 24020058 */ addiu $v0, $zero, 0x58 +/* 083390 800E9EE0 24020004 */ addiu $v0, $zero, 4 +/* 083394 800E9EE4 ACC20000 */ sw $v0, ($a2) +/* 083398 800E9EE8 00C23021 */ addu $a2, $a2, $v0 +/* 08339C 800E9EEC 24840001 */ addiu $a0, $a0, 1 +/* 0833A0 800E9EF0 2405FFFF */ addiu $a1, $zero, -1 +/* 0833A4 800E9EF4 24020058 */ addiu $v0, $zero, 0x58 +.L800E9EF8: +/* 0833A8 800E9EF8 14620007 */ bne $v1, $v0, .L800E9F18 +/* 0833AC 800E9EFC 24020059 */ addiu $v0, $zero, 0x59 +/* 0833B0 800E9F00 24020005 */ addiu $v0, $zero, 5 +/* 0833B4 800E9F04 ACC20000 */ sw $v0, ($a2) +/* 0833B8 800E9F08 24C60004 */ addiu $a2, $a2, 4 +/* 0833BC 800E9F0C 24840001 */ addiu $a0, $a0, 1 +/* 0833C0 800E9F10 2405FFFF */ addiu $a1, $zero, -1 +/* 0833C4 800E9F14 24020059 */ addiu $v0, $zero, 0x59 +.L800E9F18: +/* 0833C8 800E9F18 54620059 */ bnel $v1, $v0, .L800EA080 +/* 0833CC 800E9F1C 24E70001 */ addiu $a3, $a3, 1 +/* 0833D0 800E9F20 24020006 */ addiu $v0, $zero, 6 +/* 0833D4 800E9F24 ACC20000 */ sw $v0, ($a2) +/* 0833D8 800E9F28 24C60004 */ addiu $a2, $a2, 4 +/* 0833DC 800E9F2C 24840001 */ addiu $a0, $a0, 1 +/* 0833E0 800E9F30 0803A81F */ j .L800EA07C +/* 0833E4 800E9F34 2405FFFF */ addiu $a1, $zero, -1 + +/* 0833E8 800E9F38 0803A81D */ j .L800EA074 +/* 0833EC 800E9F3C 2402005C */ addiu $v0, $zero, 0x5c + +/* 0833F0 800E9F40 0803A81D */ j .L800EA074 +/* 0833F4 800E9F44 2402005D */ addiu $v0, $zero, 0x5d + +/* 0833F8 800E9F48 0803A81D */ j .L800EA074 +/* 0833FC 800E9F4C 2402005E */ addiu $v0, $zero, 0x5e + +/* 083400 800E9F50 0803A81D */ j .L800EA074 +/* 083404 800E9F54 24020044 */ addiu $v0, $zero, 0x44 + +/* 083408 800E9F58 0803A81D */ j .L800EA074 +/* 08340C 800E9F5C 2402005F */ addiu $v0, $zero, 0x5f + +/* 083410 800E9F60 0803A81D */ j .L800EA074 +/* 083414 800E9F64 24020060 */ addiu $v0, $zero, 0x60 + +/* 083418 800E9F68 0803A81D */ j .L800EA074 +/* 08341C 800E9F6C 2402004F */ addiu $v0, $zero, 0x4f + +/* 083420 800E9F70 0803A81D */ j .L800EA074 +/* 083424 800E9F74 24020061 */ addiu $v0, $zero, 0x61 + +/* 083428 800E9F78 0803A81D */ j .L800EA074 +/* 08342C 800E9F7C 24020062 */ addiu $v0, $zero, 0x62 + +/* 083430 800E9F80 0803A81D */ j .L800EA074 +/* 083434 800E9F84 24020063 */ addiu $v0, $zero, 0x63 + +/* 083438 800E9F88 0803A81D */ j .L800EA074 +/* 08343C 800E9F8C 24020045 */ addiu $v0, $zero, 0x45 + +/* 083440 800E9F90 0803A81D */ j .L800EA074 +/* 083444 800E9F94 2402003B */ addiu $v0, $zero, 0x3b + +/* 083448 800E9F98 0803A81D */ j .L800EA074 +/* 08344C 800E9F9C 2402006E */ addiu $v0, $zero, 0x6e + +/* 083450 800E9FA0 0803A81D */ j .L800EA074 +/* 083454 800E9FA4 24020064 */ addiu $v0, $zero, 0x64 + +/* 083458 800E9FA8 0803A81D */ j .L800EA074 +/* 08345C 800E9FAC 24020065 */ addiu $v0, $zero, 0x65 + +/* 083460 800E9FB0 0803A81D */ j .L800EA074 +/* 083464 800E9FB4 24020046 */ addiu $v0, $zero, 0x46 + +/* 083468 800E9FB8 0803A81D */ j .L800EA074 +/* 08346C 800E9FBC 24020047 */ addiu $v0, $zero, 0x47 + +/* 083470 800E9FC0 0803A81D */ j .L800EA074 +/* 083474 800E9FC4 2402003E */ addiu $v0, $zero, 0x3e + +/* 083478 800E9FC8 0803A81D */ j .L800EA074 +/* 08347C 800E9FCC 24020048 */ addiu $v0, $zero, 0x48 + +/* 083480 800E9FD0 0803A81D */ j .L800EA074 +/* 083484 800E9FD4 24020066 */ addiu $v0, $zero, 0x66 + +/* 083488 800E9FD8 0803A81D */ j .L800EA074 +/* 08348C 800E9FDC 24020049 */ addiu $v0, $zero, 0x49 + +/* 083490 800E9FE0 0803A81D */ j .L800EA074 +/* 083494 800E9FE4 24020067 */ addiu $v0, $zero, 0x67 + +/* 083498 800E9FE8 0803A81D */ j .L800EA074 +/* 08349C 800E9FEC 2402006D */ addiu $v0, $zero, 0x6d + +/* 0834A0 800E9FF0 0803A81D */ j .L800EA074 +/* 0834A4 800E9FF4 2402006A */ addiu $v0, $zero, 0x6a + +/* 0834A8 800E9FF8 0803A81D */ j .L800EA074 +/* 0834AC 800E9FFC 2402006C */ addiu $v0, $zero, 0x6c + +/* 0834B0 800EA000 0803A81D */ j .L800EA074 +/* 0834B4 800EA004 24020050 */ addiu $v0, $zero, 0x50 + +/* 0834B8 800EA008 0803A81D */ j .L800EA074 +/* 0834BC 800EA00C 24020038 */ addiu $v0, $zero, 0x38 + +/* 0834C0 800EA010 0803A81D */ j .L800EA074 +/* 0834C4 800EA014 24020068 */ addiu $v0, $zero, 0x68 + +/* 0834C8 800EA018 0803A81D */ j .L800EA074 +/* 0834CC 800EA01C 24020069 */ addiu $v0, $zero, 0x69 + +/* 0834D0 800EA020 0803A81D */ j .L800EA074 +/* 0834D4 800EA024 2402006B */ addiu $v0, $zero, 0x6b + +/* 0834D8 800EA028 0803A81D */ j .L800EA074 +/* 0834DC 800EA02C 2402006F */ addiu $v0, $zero, 0x6f + +/* 0834E0 800EA030 0803A81D */ j .L800EA074 +/* 0834E4 800EA034 24020070 */ addiu $v0, $zero, 0x70 + +/* 0834E8 800EA038 0803A81D */ j .L800EA074 +/* 0834EC 800EA03C 24020071 */ addiu $v0, $zero, 0x71 + +/* 0834F0 800EA040 0803A81D */ j .L800EA074 +/* 0834F4 800EA044 24020072 */ addiu $v0, $zero, 0x72 + +/* 0834F8 800EA048 0803A81D */ j .L800EA074 +/* 0834FC 800EA04C 24020073 */ addiu $v0, $zero, 0x73 + +/* 083500 800EA050 0803A81D */ j .L800EA074 +/* 083504 800EA054 24020033 */ addiu $v0, $zero, 0x33 + +/* 083508 800EA058 0803A81D */ j .L800EA074 +/* 08350C 800EA05C 24020074 */ addiu $v0, $zero, 0x74 + +/* 083510 800EA060 0803A81D */ j .L800EA074 +/* 083514 800EA064 24020075 */ addiu $v0, $zero, 0x75 + +/* 083518 800EA068 0803A81D */ j .L800EA074 +/* 08351C 800EA06C 24020076 */ addiu $v0, $zero, 0x76 + +/* 083520 800EA070 2402004A */ addiu $v0, $zero, 0x4a +.L800EA074: +/* 083524 800EA074 50620001 */ beql $v1, $v0, .L800EA07C +/* 083528 800EA078 24A50001 */ addiu $a1, $a1, 1 +.L800EA07C: +/* 08352C 800EA07C 24E70001 */ addiu $a3, $a3, 1 +.L800EA080: +/* 083530 800EA080 28E20040 */ slti $v0, $a3, 0x40 +/* 083534 800EA084 1440FF4C */ bnez $v0, .L800E9DB8 +/* 083538 800EA088 00071040 */ sll $v0, $a3, 1 +/* 08353C 800EA08C 04A10007 */ bgez $a1, .L800EA0AC +/* 083540 800EA090 00A0102D */ daddu $v0, $a1, $zero +/* 083544 800EA094 0C00A67F */ jal rand_int +/* 083548 800EA098 2484FFFF */ addiu $a0, $a0, -1 +/* 08354C 800EA09C 00021080 */ sll $v0, $v0, 2 +/* 083550 800EA0A0 03A21021 */ addu $v0, $sp, $v0 +/* 083554 800EA0A4 8C450010 */ lw $a1, 0x10($v0) +/* 083558 800EA0A8 00A0102D */ daddu $v0, $a1, $zero +.L800EA0AC: +/* 08355C 800EA0AC 8FBF0028 */ lw $ra, 0x28($sp) +/* 083560 800EA0B0 03E00008 */ jr $ra +/* 083564 800EA0B4 27BD0030 */ addiu $sp, $sp, 0x30 + +is_partner_ability_active: +/* 083568 800EA0B8 03E00008 */ jr $ra +/* 08356C 800EA0BC 0000102D */ daddu $v0, $zero, $zero + +add_coins: +/* 083570 800EA0C0 3C038011 */ lui $v1, 0x8011 +/* 083574 800EA0C4 2463F290 */ addiu $v1, $v1, -0xd70 +/* 083578 800EA0C8 9462000C */ lhu $v0, 0xc($v1) +/* 08357C 800EA0CC 00441021 */ addu $v0, $v0, $a0 +/* 083580 800EA0D0 A462000C */ sh $v0, 0xc($v1) +/* 083584 800EA0D4 00021400 */ sll $v0, $v0, 0x10 +/* 083588 800EA0D8 00021403 */ sra $v0, $v0, 0x10 +/* 08358C 800EA0DC 284203E8 */ slti $v0, $v0, 0x3e8 +/* 083590 800EA0E0 14400002 */ bnez $v0, .L800EA0EC +/* 083594 800EA0E4 240203E7 */ addiu $v0, $zero, 0x3e7 +/* 083598 800EA0E8 A462000C */ sh $v0, 0xc($v1) +.L800EA0EC: +/* 08359C 800EA0EC 8462000C */ lh $v0, 0xc($v1) +/* 0835A0 800EA0F0 04420001 */ bltzl $v0, .L800EA0F8 +/* 0835A4 800EA0F4 A460000C */ sh $zero, 0xc($v1) +.L800EA0F8: +/* 0835A8 800EA0F8 18800008 */ blez $a0, .L800EA11C +/* 0835AC 800EA0FC 3C050001 */ lui $a1, 1 +/* 0835B0 800EA100 8C6202B4 */ lw $v0, 0x2b4($v1) +/* 0835B4 800EA104 34A5869F */ ori $a1, $a1, 0x869f +/* 0835B8 800EA108 00441021 */ addu $v0, $v0, $a0 +/* 0835BC 800EA10C AC6202B4 */ sw $v0, 0x2b4($v1) +/* 0835C0 800EA110 00A2102B */ sltu $v0, $a1, $v0 +/* 0835C4 800EA114 54400001 */ bnezl $v0, .L800EA11C +/* 0835C8 800EA118 AC6502B4 */ sw $a1, 0x2b4($v1) +.L800EA11C: +/* 0835CC 800EA11C 8462000C */ lh $v0, 0xc($v1) +/* 0835D0 800EA120 03E00008 */ jr $ra +/* 0835D4 800EA124 00000000 */ nop + +add_star_points: +/* 0835D8 800EA128 3C038011 */ lui $v1, 0x8011 +/* 0835DC 800EA12C 2463F290 */ addiu $v1, $v1, -0xd70 +/* 0835E0 800EA130 90620010 */ lbu $v0, 0x10($v1) +/* 0835E4 800EA134 00441021 */ addu $v0, $v0, $a0 +/* 0835E8 800EA138 A0620010 */ sb $v0, 0x10($v1) +/* 0835EC 800EA13C 00021600 */ sll $v0, $v0, 0x18 +/* 0835F0 800EA140 00021603 */ sra $v0, $v0, 0x18 +/* 0835F4 800EA144 28420065 */ slti $v0, $v0, 0x65 +/* 0835F8 800EA148 14400003 */ bnez $v0, .L800EA158 +/* 0835FC 800EA14C 0060202D */ daddu $a0, $v1, $zero +/* 083600 800EA150 24020064 */ addiu $v0, $zero, 0x64 +/* 083604 800EA154 A0620010 */ sb $v0, 0x10($v1) +.L800EA158: +/* 083608 800EA158 80620010 */ lb $v0, 0x10($v1) +/* 08360C 800EA15C 04420001 */ bltzl $v0, .L800EA164 +/* 083610 800EA160 A0600010 */ sb $zero, 0x10($v1) +.L800EA164: +/* 083614 800EA164 80820010 */ lb $v0, 0x10($a0) +/* 083618 800EA168 03E00008 */ jr $ra +/* 08361C 800EA16C 00000000 */ nop + +add_star_pieces: +/* 083620 800EA170 3C058011 */ lui $a1, 0x8011 +/* 083624 800EA174 24A5F290 */ addiu $a1, $a1, -0xd70 +/* 083628 800EA178 90A3000F */ lbu $v1, 0xf($a1) +/* 08362C 800EA17C 00641821 */ addu $v1, $v1, $a0 +/* 083630 800EA180 286200DF */ slti $v0, $v1, 0xdf +/* 083634 800EA184 14400002 */ bnez $v0, .L800EA190 +/* 083638 800EA188 00A0302D */ daddu $a2, $a1, $zero +/* 08363C 800EA18C 240300DE */ addiu $v1, $zero, 0xde +.L800EA190: +/* 083640 800EA190 04620001 */ bltzl $v1, .L800EA198 +/* 083644 800EA194 0000182D */ daddu $v1, $zero, $zero +.L800EA198: +/* 083648 800EA198 18800004 */ blez $a0, .L800EA1AC +/* 08364C 800EA19C A0A3000F */ sb $v1, 0xf($a1) +/* 083650 800EA1A0 94A2032C */ lhu $v0, 0x32c($a1) +/* 083654 800EA1A4 00441021 */ addu $v0, $v0, $a0 +/* 083658 800EA1A8 A4A2032C */ sh $v0, 0x32c($a1) +.L800EA1AC: +/* 08365C 800EA1AC 03E00008 */ jr $ra +/* 083660 800EA1B0 90C2000F */ lbu $v0, 0xf($a2) + +increment_max_SP: +/* 083664 800EA1B4 3C038011 */ lui $v1, 0x8011 +/* 083668 800EA1B8 2463F290 */ addiu $v1, $v1, -0xd70 +/* 08366C 800EA1BC 9062028E */ lbu $v0, 0x28e($v1) +/* 083670 800EA1C0 24420001 */ addiu $v0, $v0, 1 +/* 083674 800EA1C4 A062028E */ sb $v0, 0x28e($v1) +/* 083678 800EA1C8 00021600 */ sll $v0, $v0, 0x18 +/* 08367C 800EA1CC 00021403 */ sra $v0, $v0, 0x10 +/* 083680 800EA1D0 03E00008 */ jr $ra +/* 083684 800EA1D4 A4620290 */ sh $v0, 0x290($v1) + +set_max_SP: +/* 083688 800EA1D8 3C028011 */ lui $v0, 0x8011 +/* 08368C 800EA1DC 2442F290 */ addiu $v0, $v0, -0xd70 +/* 083690 800EA1E0 A044028E */ sb $a0, 0x28e($v0) +/* 083694 800EA1E4 00042600 */ sll $a0, $a0, 0x18 +/* 083698 800EA1E8 00042403 */ sra $a0, $a0, 0x10 +/* 08369C 800EA1EC 03E00008 */ jr $ra +/* 0836A0 800EA1F0 A4440290 */ sh $a0, 0x290($v0) + +add_SP: +/* 0836A4 800EA1F4 3C078011 */ lui $a3, 0x8011 +/* 0836A8 800EA1F8 24E7F290 */ addiu $a3, $a3, -0xd70 +/* 0836AC 800EA1FC 3C068011 */ lui $a2, 0x8011 +/* 0836B0 800EA200 24C6EF58 */ addiu $a2, $a2, -0x10a8 +/* 0836B4 800EA204 84E30290 */ lh $v1, 0x290($a3) +/* 0836B8 800EA208 24020001 */ addiu $v0, $zero, 1 +/* 0836BC 800EA20C A0C20057 */ sb $v0, 0x57($a2) +/* 0836C0 800EA210 2402003C */ addiu $v0, $zero, 0x3c +/* 0836C4 800EA214 00E0402D */ daddu $t0, $a3, $zero +/* 0836C8 800EA218 A0C20058 */ sb $v0, 0x58($a2) +/* 0836CC 800EA21C 94E50290 */ lhu $a1, 0x290($a3) +/* 0836D0 800EA220 04610002 */ bgez $v1, .L800EA22C +/* 0836D4 800EA224 00C0482D */ daddu $t1, $a2, $zero +/* 0836D8 800EA228 2463001F */ addiu $v1, $v1, 0x1f +.L800EA22C: +/* 0836DC 800EA22C 00031143 */ sra $v0, $v1, 5 +/* 0836E0 800EA230 A0C20059 */ sb $v0, 0x59($a2) +/* 0836E4 800EA234 00A41021 */ addu $v0, $a1, $a0 +/* 0836E8 800EA238 A4E20290 */ sh $v0, 0x290($a3) +/* 0836EC 800EA23C 00021400 */ sll $v0, $v0, 0x10 +/* 0836F0 800EA240 80E3028E */ lb $v1, 0x28e($a3) +/* 0836F4 800EA244 00021403 */ sra $v0, $v0, 0x10 +/* 0836F8 800EA248 00031A00 */ sll $v1, $v1, 8 +/* 0836FC 800EA24C 0062102A */ slt $v0, $v1, $v0 +/* 083700 800EA250 54400001 */ bnezl $v0, .L800EA258 +/* 083704 800EA254 A4E30290 */ sh $v1, 0x290($a3) +.L800EA258: +/* 083708 800EA258 95020290 */ lhu $v0, 0x290($t0) +/* 08370C 800EA25C 03E00008 */ jr $ra +/* 083710 800EA260 A5220048 */ sh $v0, 0x48($t1) + +recover_fp: +/* 083714 800EA264 3C058011 */ lui $a1, 0x8011 +/* 083718 800EA268 24A5F290 */ addiu $a1, $a1, -0xd70 +/* 08371C 800EA26C 80A30005 */ lb $v1, 5($a1) +/* 083720 800EA270 2402FFFE */ addiu $v0, $zero, -2 +/* 083724 800EA274 14820008 */ bne $a0, $v0, .L800EA298 +/* 083728 800EA278 00000000 */ nop +/* 08372C 800EA27C 90A30006 */ lbu $v1, 6($a1) +/* 083730 800EA280 24630001 */ addiu $v1, $v1, 1 +/* 083734 800EA284 00031600 */ sll $v0, $v1, 0x18 +/* 083738 800EA288 00021603 */ sra $v0, $v0, 0x18 +/* 08373C 800EA28C A0A30006 */ sb $v1, 6($a1) +/* 083740 800EA290 03E00008 */ jr $ra +/* 083744 800EA294 A0A30005 */ sb $v1, 5($a1) + +.L800EA298: +/* 083748 800EA298 5C800001 */ bgtzl $a0, .L800EA2A0 +/* 08374C 800EA29C 00641821 */ addu $v1, $v1, $a0 +.L800EA2A0: +/* 083750 800EA2A0 2402FFFF */ addiu $v0, $zero, -1 +/* 083754 800EA2A4 10820005 */ beq $a0, $v0, .L800EA2BC +/* 083758 800EA2A8 00000000 */ nop +/* 08375C 800EA2AC 80A20006 */ lb $v0, 6($a1) +/* 083760 800EA2B0 0043102A */ slt $v0, $v0, $v1 +/* 083764 800EA2B4 50400003 */ beql $v0, $zero, .L800EA2C4 +/* 083768 800EA2B8 A0A30005 */ sb $v1, 5($a1) +.L800EA2BC: +/* 08376C 800EA2BC 80A30006 */ lb $v1, 6($a1) +/* 083770 800EA2C0 A0A30005 */ sb $v1, 5($a1) +.L800EA2C4: +/* 083774 800EA2C4 03E00008 */ jr $ra +/* 083778 800EA2C8 0060102D */ daddu $v0, $v1, $zero + +recover_hp: +/* 08377C 800EA2CC 3C058011 */ lui $a1, 0x8011 +/* 083780 800EA2D0 24A5F290 */ addiu $a1, $a1, -0xd70 +/* 083784 800EA2D4 80A30002 */ lb $v1, 2($a1) +/* 083788 800EA2D8 2402FFFE */ addiu $v0, $zero, -2 +/* 08378C 800EA2DC 14820008 */ bne $a0, $v0, .L800EA300 +/* 083790 800EA2E0 00000000 */ nop +/* 083794 800EA2E4 90A30003 */ lbu $v1, 3($a1) +/* 083798 800EA2E8 24630001 */ addiu $v1, $v1, 1 +/* 08379C 800EA2EC 00031600 */ sll $v0, $v1, 0x18 +/* 0837A0 800EA2F0 00021603 */ sra $v0, $v0, 0x18 +/* 0837A4 800EA2F4 A0A30003 */ sb $v1, 3($a1) +/* 0837A8 800EA2F8 03E00008 */ jr $ra +/* 0837AC 800EA2FC A0A30002 */ sb $v1, 2($a1) + +.L800EA300: +/* 0837B0 800EA300 5C800001 */ bgtzl $a0, .L800EA308 +/* 0837B4 800EA304 00641821 */ addu $v1, $v1, $a0 +.L800EA308: +/* 0837B8 800EA308 2402FFFF */ addiu $v0, $zero, -1 +/* 0837BC 800EA30C 10820005 */ beq $a0, $v0, .L800EA324 +/* 0837C0 800EA310 00000000 */ nop +/* 0837C4 800EA314 80A20003 */ lb $v0, 3($a1) +/* 0837C8 800EA318 0043102A */ slt $v0, $v0, $v1 +/* 0837CC 800EA31C 50400003 */ beql $v0, $zero, .L800EA32C +/* 0837D0 800EA320 A0A30002 */ sb $v1, 2($a1) +.L800EA324: +/* 0837D4 800EA324 80A30003 */ lb $v1, 3($a1) +/* 0837D8 800EA328 A0A30002 */ sb $v1, 2($a1) +.L800EA32C: +/* 0837DC 800EA32C 03E00008 */ jr $ra +/* 0837E0 800EA330 0060102D */ daddu $v0, $v1, $zero + +subtract_hp: +/* 0837E4 800EA334 3C038011 */ lui $v1, 0x8011 +/* 0837E8 800EA338 2463F290 */ addiu $v1, $v1, -0xd70 +/* 0837EC 800EA33C 80620002 */ lb $v0, 2($v1) +/* 0837F0 800EA340 5C800001 */ bgtzl $a0, .L800EA348 +/* 0837F4 800EA344 00441023 */ subu $v0, $v0, $a0 +.L800EA348: +/* 0837F8 800EA348 04820003 */ bltzl $a0, .L800EA358 +/* 0837FC 800EA34C 24020001 */ addiu $v0, $zero, 1 +/* 083800 800EA350 58400001 */ blezl $v0, .L800EA358 +/* 083804 800EA354 24020001 */ addiu $v0, $zero, 1 +.L800EA358: +/* 083808 800EA358 03E00008 */ jr $ra +/* 08380C 800EA35C A0620002 */ sb $v0, 2($v1) + +has_full_hp: +/* 083810 800EA360 3C038011 */ lui $v1, 0x8011 +/* 083814 800EA364 2463F290 */ addiu $v1, $v1, -0xd70 +/* 083818 800EA368 80620003 */ lb $v0, 3($v1) +/* 08381C 800EA36C 80630002 */ lb $v1, 2($v1) +/* 083820 800EA370 00431026 */ xor $v0, $v0, $v1 +/* 083824 800EA374 03E00008 */ jr $ra +/* 083828 800EA378 2C420001 */ sltiu $v0, $v0, 1 + +has_full_fp: +/* 08382C 800EA37C 3C038011 */ lui $v1, 0x8011 +/* 083830 800EA380 2463F290 */ addiu $v1, $v1, -0xd70 +/* 083834 800EA384 80620006 */ lb $v0, 6($v1) +/* 083838 800EA388 80630005 */ lb $v1, 5($v1) +/* 08383C 800EA38C 00431026 */ xor $v0, $v0, $v1 +/* 083840 800EA390 03E00008 */ jr $ra +/* 083844 800EA394 2C420001 */ sltiu $v0, $v0, 1 + +add_fortress_keys: +/* 083848 800EA398 3C038011 */ lui $v1, 0x8011 +/* 08384C 800EA39C 2463F290 */ addiu $v1, $v1, -0xd70 +/* 083850 800EA3A0 9062000E */ lbu $v0, 0xe($v1) +/* 083854 800EA3A4 00441021 */ addu $v0, $v0, $a0 +/* 083858 800EA3A8 A062000E */ sb $v0, 0xe($v1) +/* 08385C 800EA3AC 00021600 */ sll $v0, $v0, 0x18 +/* 083860 800EA3B0 03E00008 */ jr $ra +/* 083864 800EA3B4 00021603 */ sra $v0, $v0, 0x18 + +subtract_fortress_keys: +/* 083868 800EA3B8 3C038011 */ lui $v1, 0x8011 +/* 08386C 800EA3BC 2463F290 */ addiu $v1, $v1, -0xd70 +/* 083870 800EA3C0 9062000E */ lbu $v0, 0xe($v1) +/* 083874 800EA3C4 00441023 */ subu $v0, $v0, $a0 +/* 083878 800EA3C8 A062000E */ sb $v0, 0xe($v1) +/* 08387C 800EA3CC 00021600 */ sll $v0, $v0, 0x18 +/* 083880 800EA3D0 04410002 */ bgez $v0, .L800EA3DC +/* 083884 800EA3D4 0060202D */ daddu $a0, $v1, $zero +/* 083888 800EA3D8 A060000E */ sb $zero, 0xe($v1) +.L800EA3DC: +/* 08388C 800EA3DC 03E00008 */ jr $ra +/* 083890 800EA3E0 8082000E */ lb $v0, 0xe($a0) + +get_fortress_key_count: +/* 083894 800EA3E4 3C028011 */ lui $v0, 0x8011 +/* 083898 800EA3E8 8042F29E */ lb $v0, -0xd62($v0) +/* 08389C 800EA3EC 03E00008 */ jr $ra +/* 0838A0 800EA3F0 00000000 */ nop + +/* 0838A4 800EA3F4 00000000 */ nop +/* 0838A8 800EA3F8 00000000 */ nop +/* 0838AC 800EA3FC 00000000 */ nop diff --git a/papermario/asm/code_838b0_len_5900.s b/papermario/asm/code_838b0_len_5900.s new file mode 100644 index 0000000000..befa37f055 --- /dev/null +++ b/papermario/asm/code_838b0_len_5900.s @@ -0,0 +1,6213 @@ +# %s disassembly and split file +# generated by n64split v%s - N64 ROM splitter + +# assembler directives +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches +.set gp=64 # allow use of 64-bit general purpose registers + +.include "globals.inc" + + +.section .text800EA400, "ax" + +use_consumable: +/* 0838B0 800EA400 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 0838B4 800EA404 AFB10014 */ sw $s1, 0x14($sp) +/* 0838B8 800EA408 0080882D */ daddu $s1, $a0, $zero +/* 0838BC 800EA40C AFB00010 */ sw $s0, 0x10($sp) +/* 0838C0 800EA410 3C108010 */ lui $s0, 0x8010 +/* 0838C4 800EA414 26108010 */ addiu $s0, $s0, -0x7ff0 +/* 0838C8 800EA418 3C06802C */ lui $a2, 0x802c +/* 0838CC 800EA41C 24C60000 */ addiu $a2, $a2, 0 +/* 0838D0 800EA420 AFBF0018 */ sw $ra, 0x18($sp) +/* 0838D4 800EA424 8E040000 */ lw $a0, ($s0) +/* 0838D8 800EA428 8E050004 */ lw $a1, 4($s0) +/* 0838DC 800EA42C 00111040 */ sll $v0, $s1, 1 +/* 0838E0 800EA430 3C018011 */ lui $at, 0x8011 +/* 0838E4 800EA434 AC31CD20 */ sw $s1, -0x32e0($at) +/* 0838E8 800EA438 3C118011 */ lui $s1, 0x8011 +/* 0838EC 800EA43C 02228821 */ addu $s1, $s1, $v0 +/* 0838F0 800EA440 8631F444 */ lh $s1, -0xbbc($s1) +/* 0838F4 800EA444 0C00A5CF */ jal dma_copy +/* 0838F8 800EA448 00000000 */ nop +/* 0838FC 800EA44C 24050001 */ addiu $a1, $zero, 1 +/* 083900 800EA450 8E040008 */ lw $a0, 8($s0) +/* 083904 800EA454 0C0B0CF8 */ jal start_script +/* 083908 800EA458 0000302D */ daddu $a2, $zero, $zero +/* 08390C 800EA45C 0040182D */ daddu $v1, $v0, $zero +/* 083910 800EA460 8C620144 */ lw $v0, 0x144($v1) +/* 083914 800EA464 AC7100AC */ sw $s1, 0xac($v1) +/* 083918 800EA468 8FBF0018 */ lw $ra, 0x18($sp) +/* 08391C 800EA46C 8FB10014 */ lw $s1, 0x14($sp) +/* 083920 800EA470 8FB00010 */ lw $s0, 0x10($sp) +/* 083924 800EA474 03E00008 */ jr $ra +/* 083928 800EA478 27BD0020 */ addiu $sp, $sp, 0x20 + +remove_consumable: +/* 08392C 800EA47C 3C028011 */ lui $v0, 0x8011 +/* 083930 800EA480 8C42CD20 */ lw $v0, -0x32e0($v0) +/* 083934 800EA484 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 083938 800EA488 AFBF0010 */ sw $ra, 0x10($sp) +/* 08393C 800EA48C 00021040 */ sll $v0, $v0, 1 +/* 083940 800EA490 3C018011 */ lui $at, 0x8011 +/* 083944 800EA494 00220821 */ addu $at, $at, $v0 +/* 083948 800EA498 A420F444 */ sh $zero, -0xbbc($at) +/* 08394C 800EA49C 0C039DB3 */ jal sort_items +/* 083950 800EA4A0 00000000 */ nop +/* 083954 800EA4A4 8FBF0010 */ lw $ra, 0x10($sp) +/* 083958 800EA4A8 03E00008 */ jr $ra +/* 08395C 800EA4AC 27BD0018 */ addiu $sp, $sp, 0x18 + +func_800EA4B0: +/* 083960 800EA4B0 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 083964 800EA4B4 AFBF0010 */ sw $ra, 0x10($sp) +/* 083968 800EA4B8 04800012 */ bltz $a0, .L800EA504 +/* 08396C 800EA4BC 24030001 */ addiu $v1, $zero, 1 +/* 083970 800EA4C0 30824000 */ andi $v0, $a0, 0x4000 +/* 083974 800EA4C4 1040000F */ beqz $v0, .L800EA504 +/* 083978 800EA4C8 00000000 */ nop +/* 08397C 800EA4CC 0C0441A9 */ jal func_801106A4 +/* 083980 800EA4D0 00000000 */ nop +/* 083984 800EA4D4 2443FFF9 */ addiu $v1, $v0, -7 +/* 083988 800EA4D8 2C620036 */ sltiu $v0, $v1, 0x36 +/* 08398C 800EA4DC 10400008 */ beqz $v0, .L800EA500 +/* 083990 800EA4E0 00031080 */ sll $v0, $v1, 2 +/* 083994 800EA4E4 3C018011 */ lui $at, 0x8011 +/* 083998 800EA4E8 00220821 */ addu $at, $at, $v0 +/* 08399C 800EA4EC 8C22C040 */ lw $v0, -0x3fc0($at) +/* 0839A0 800EA4F0 00400008 */ jr $v0 +/* 0839A4 800EA4F4 00000000 */ nop +/* 0839A8 800EA4F8 0803A941 */ j .L800EA504 +/* 0839AC 800EA4FC 0000182D */ daddu $v1, $zero, $zero + +.L800EA500: +/* 0839B0 800EA500 24030001 */ addiu $v1, $zero, 1 +.L800EA504: +/* 0839B4 800EA504 8FBF0010 */ lw $ra, 0x10($sp) +/* 0839B8 800EA508 0060102D */ daddu $v0, $v1, $zero +/* 0839BC 800EA50C 03E00008 */ jr $ra +/* 0839C0 800EA510 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 0839C4 800EA514 3C028011 */ lui $v0, 0x8011 +/* 0839C8 800EA518 8042EBB0 */ lb $v0, -0x1450($v0) +/* 0839CC 800EA51C 03E00008 */ jr $ra +/* 0839D0 800EA520 2C420001 */ sltiu $v0, $v0, 1 + +/* 0839D4 800EA524 03E00008 */ jr $ra +/* 0839D8 800EA528 24020001 */ addiu $v0, $zero, 1 + +/* 0839DC 800EA52C 3C038011 */ lui $v1, 0x8011 +/* 0839E0 800EA530 2463EFC8 */ addiu $v1, $v1, -0x1038 +/* 0839E4 800EA534 8C620000 */ lw $v0, ($v1) +/* 0839E8 800EA538 806300B4 */ lb $v1, 0xb4($v1) +/* 0839EC 800EA53C 30420800 */ andi $v0, $v0, 0x800 +/* 0839F0 800EA540 10400003 */ beqz $v0, .L800EA550 +/* 0839F4 800EA544 0000282D */ daddu $a1, $zero, $zero +/* 0839F8 800EA548 03E00008 */ jr $ra +/* 0839FC 800EA54C 00A0102D */ daddu $v0, $a1, $zero + +.L800EA550: +/* 083A00 800EA550 2C620003 */ sltiu $v0, $v1, 3 +/* 083A04 800EA554 54400001 */ bnezl $v0, .L800EA55C +/* 083A08 800EA558 24050001 */ addiu $a1, $zero, 1 +.L800EA55C: +/* 083A0C 800EA55C 24020009 */ addiu $v0, $zero, 9 +/* 083A10 800EA560 14820003 */ bne $a0, $v0, .L800EA570 +/* 083A14 800EA564 24020004 */ addiu $v0, $zero, 4 +/* 083A18 800EA568 0803A964 */ j .L800EA590 +/* 083A1C 800EA56C 24020021 */ addiu $v0, $zero, 0x21 + +.L800EA570: +/* 083A20 800EA570 1482000A */ bne $a0, $v0, .L800EA59C +/* 083A24 800EA574 24020021 */ addiu $v0, $zero, 0x21 +/* 083A28 800EA578 50620008 */ beql $v1, $v0, .L800EA59C +/* 083A2C 800EA57C 24050001 */ addiu $a1, $zero, 1 +/* 083A30 800EA580 10600005 */ beqz $v1, .L800EA598 +/* 083A34 800EA584 24020001 */ addiu $v0, $zero, 1 +/* 083A38 800EA588 10620003 */ beq $v1, $v0, .L800EA598 +/* 083A3C 800EA58C 24020002 */ addiu $v0, $zero, 2 +.L800EA590: +/* 083A40 800EA590 14620002 */ bne $v1, $v0, .L800EA59C +/* 083A44 800EA594 00000000 */ nop +.L800EA598: +/* 083A48 800EA598 24050001 */ addiu $a1, $zero, 1 +.L800EA59C: +/* 083A4C 800EA59C 03E00008 */ jr $ra +/* 083A50 800EA5A0 00A0102D */ daddu $v0, $a1, $zero + +func_800EA5A4: +/* 083A54 800EA5A4 3C028011 */ lui $v0, 0x8011 +/* 083A58 800EA5A8 8C42CFEC */ lw $v0, -0x3014($v0) +/* 083A5C 800EA5AC 8C42000C */ lw $v0, 0xc($v0) +/* 083A60 800EA5B0 03E00008 */ jr $ra +/* 083A64 800EA5B4 2C420001 */ sltiu $v0, $v0, 1 + +func_800EA5B8: +/* 083A68 800EA5B8 3C03FDFF */ lui $v1, 0xfdff +/* 083A6C 800EA5BC 8C820000 */ lw $v0, ($a0) +/* 083A70 800EA5C0 346387FF */ ori $v1, $v1, 0x87ff +/* 083A74 800EA5C4 00431024 */ and $v0, $v0, $v1 +/* 083A78 800EA5C8 03E00008 */ jr $ra +/* 083A7C 800EA5CC AC820000 */ sw $v0, ($a0) + +func_800EA5D0: +/* 083A80 800EA5D0 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 083A84 800EA5D4 3C028011 */ lui $v0, 0x8011 +/* 083A88 800EA5D8 8C42CFD8 */ lw $v0, -0x3028($v0) +/* 083A8C 800EA5DC 3C038010 */ lui $v1, 0x8010 +/* 083A90 800EA5E0 2463803C */ addiu $v1, $v1, -0x7fc4 +/* 083A94 800EA5E4 AFBF0024 */ sw $ra, 0x24($sp) +/* 083A98 800EA5E8 AFB00020 */ sw $s0, 0x20($sp) +/* 083A9C 800EA5EC 00021180 */ sll $v0, $v0, 6 +/* 083AA0 800EA5F0 00431021 */ addu $v0, $v0, $v1 +/* 083AA4 800EA5F4 8C440000 */ lw $a0, ($v0) +/* 083AA8 800EA5F8 8C450004 */ lw $a1, 4($v0) +/* 083AAC 800EA5FC 8C460008 */ lw $a2, 8($v0) +/* 083AB0 800EA600 3C108011 */ lui $s0, 0x8011 +/* 083AB4 800EA604 2610CFEC */ addiu $s0, $s0, -0x3014 +/* 083AB8 800EA608 0C00A5CF */ jal dma_copy +/* 083ABC 800EA60C AE020000 */ sw $v0, ($s0) +/* 083AC0 800EA610 3C020400 */ lui $v0, 0x400 +/* 083AC4 800EA614 34420100 */ ori $v0, $v0, 0x100 +/* 083AC8 800EA618 AFA20010 */ sw $v0, 0x10($sp) +/* 083ACC 800EA61C 8E020000 */ lw $v0, ($s0) +/* 083AD0 800EA620 8C420024 */ lw $v0, 0x24($v0) +/* 083AD4 800EA624 27A40010 */ addiu $a0, $sp, 0x10 +/* 083AD8 800EA628 AFA00018 */ sw $zero, 0x18($sp) +/* 083ADC 800EA62C AFA0001C */ sw $zero, 0x1c($sp) +/* 083AE0 800EA630 0C00E211 */ jal func_80038844 +/* 083AE4 800EA634 AFA20014 */ sw $v0, 0x14($sp) +/* 083AE8 800EA638 0040202D */ daddu $a0, $v0, $zero +/* 083AEC 800EA63C 3C018011 */ lui $at, 0x8011 +/* 083AF0 800EA640 AC24CFD0 */ sw $a0, -0x3030($at) +/* 083AF4 800EA644 0C00E2B7 */ jal get_npc_by_index +/* 083AF8 800EA648 00000000 */ nop +/* 083AFC 800EA64C 3C048011 */ lui $a0, 0x8011 +/* 083B00 800EA650 2484C930 */ addiu $a0, $a0, -0x36d0 +/* 083B04 800EA654 2403FFFC */ addiu $v1, $zero, -4 +/* 083B08 800EA658 AC820000 */ sw $v0, ($a0) +/* 083B0C 800EA65C A04300A4 */ sb $v1, 0xa4($v0) +/* 083B10 800EA660 8C840000 */ lw $a0, ($a0) +/* 083B14 800EA664 3C01C47A */ lui $at, 0xc47a +/* 083B18 800EA668 44810000 */ mtc1 $at, $f0 +/* 083B1C 800EA66C 2403000A */ addiu $v1, $zero, 0xa +/* 083B20 800EA670 A44300A6 */ sh $v1, 0xa6($v0) +/* 083B24 800EA674 A44300A8 */ sh $v1, 0xa8($v0) +/* 083B28 800EA678 AC800038 */ sw $zero, 0x38($a0) +/* 083B2C 800EA67C E480003C */ swc1 $f0, 0x3c($a0) +/* 083B30 800EA680 AC800040 */ sw $zero, 0x40($a0) +/* 083B34 800EA684 AC800054 */ sw $zero, 0x54($a0) +/* 083B38 800EA688 AC800058 */ sw $zero, 0x58($a0) +/* 083B3C 800EA68C AC80005C */ sw $zero, 0x5c($a0) +/* 083B40 800EA690 8FBF0024 */ lw $ra, 0x24($sp) +/* 083B44 800EA694 8FB00020 */ lw $s0, 0x20($sp) +/* 083B48 800EA698 3C018011 */ lui $at, 0x8011 +/* 083B4C 800EA69C AC20C954 */ sw $zero, -0x36ac($at) +/* 083B50 800EA6A0 03E00008 */ jr $ra +/* 083B54 800EA6A4 27BD0028 */ addiu $sp, $sp, 0x28 + +func_800EA6A8: +/* 083B58 800EA6A8 3C048011 */ lui $a0, 0x8011 +/* 083B5C 800EA6AC 8C84CFD0 */ lw $a0, -0x3030($a0) +/* 083B60 800EA6B0 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 083B64 800EA6B4 AFBF0010 */ sw $ra, 0x10($sp) +/* 083B68 800EA6B8 0C00E228 */ jal func_800388A0 +/* 083B6C 800EA6BC 00000000 */ nop +/* 083B70 800EA6C0 8FBF0010 */ lw $ra, 0x10($sp) +/* 083B74 800EA6C4 03E00008 */ jr $ra +/* 083B78 800EA6C8 27BD0018 */ addiu $sp, $sp, 0x18 + +func_800EA6CC: +/* 083B7C 800EA6CC 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 083B80 800EA6D0 AFB3001C */ sw $s3, 0x1c($sp) +/* 083B84 800EA6D4 3C138011 */ lui $s3, 0x8011 +/* 083B88 800EA6D8 2673F290 */ addiu $s3, $s3, -0xd70 +/* 083B8C 800EA6DC 3C058011 */ lui $a1, 0x8011 +/* 083B90 800EA6E0 24A5EBB0 */ addiu $a1, $a1, -0x1450 +/* 083B94 800EA6E4 AFBF0020 */ sw $ra, 0x20($sp) +/* 083B98 800EA6E8 AFB20018 */ sw $s2, 0x18($sp) +/* 083B9C 800EA6EC AFB10014 */ sw $s1, 0x14($sp) +/* 083BA0 800EA6F0 AFB00010 */ sw $s0, 0x10($sp) +/* 083BA4 800EA6F4 80A20014 */ lb $v0, 0x14($a1) +/* 083BA8 800EA6F8 3C068011 */ lui $a2, 0x8011 +/* 083BAC 800EA6FC 24C6EFC8 */ addiu $a2, $a2, -0x1038 +/* 083BB0 800EA700 5440001F */ bnezl $v0, .L800EA780 +/* 083BB4 800EA704 A4A00004 */ sh $zero, 4($a1) +/* 083BB8 800EA708 3C038007 */ lui $v1, 0x8007 +/* 083BBC 800EA70C 8C63419C */ lw $v1, 0x419c($v1) +/* 083BC0 800EA710 80620081 */ lb $v0, 0x81($v1) +/* 083BC4 800EA714 00621021 */ addu $v0, $v1, $v0 +/* 083BC8 800EA718 90420040 */ lbu $v0, 0x40($v0) +/* 083BCC 800EA71C 00021600 */ sll $v0, $v0, 0x18 +/* 083BD0 800EA720 00021603 */ sra $v0, $v0, 0x18 +/* 083BD4 800EA724 A4A20004 */ sh $v0, 4($a1) +/* 083BD8 800EA728 80620081 */ lb $v0, 0x81($v1) +/* 083BDC 800EA72C 00621021 */ addu $v0, $v1, $v0 +/* 083BE0 800EA730 90420044 */ lbu $v0, 0x44($v0) +/* 083BE4 800EA734 00021600 */ sll $v0, $v0, 0x18 +/* 083BE8 800EA738 00021603 */ sra $v0, $v0, 0x18 +/* 083BEC 800EA73C A4A20006 */ sh $v0, 6($a1) +/* 083BF0 800EA740 80620081 */ lb $v0, 0x81($v1) +/* 083BF4 800EA744 00021080 */ sll $v0, $v0, 2 +/* 083BF8 800EA748 00621021 */ addu $v0, $v1, $v0 +/* 083BFC 800EA74C 8C420000 */ lw $v0, ($v0) +/* 083C00 800EA750 ACA20008 */ sw $v0, 8($a1) +/* 083C04 800EA754 80620081 */ lb $v0, 0x81($v1) +/* 083C08 800EA758 00021080 */ sll $v0, $v0, 2 +/* 083C0C 800EA75C 00621021 */ addu $v0, $v1, $v0 +/* 083C10 800EA760 8C420010 */ lw $v0, 0x10($v0) +/* 083C14 800EA764 ACA2000C */ sw $v0, 0xc($a1) +/* 083C18 800EA768 80620081 */ lb $v0, 0x81($v1) +/* 083C1C 800EA76C 00021080 */ sll $v0, $v0, 2 +/* 083C20 800EA770 00621821 */ addu $v1, $v1, $v0 +/* 083C24 800EA774 8C620020 */ lw $v0, 0x20($v1) +/* 083C28 800EA778 0803A9E4 */ j .L800EA790 +/* 083C2C 800EA77C ACA20010 */ sw $v0, 0x10($a1) + +.L800EA780: +/* 083C30 800EA780 A4A00006 */ sh $zero, 6($a1) +/* 083C34 800EA784 ACA00008 */ sw $zero, 8($a1) +/* 083C38 800EA788 ACA0000C */ sw $zero, 0xc($a1) +/* 083C3C 800EA78C ACA00010 */ sw $zero, 0x10($a1) +.L800EA790: +/* 083C40 800EA790 8CC40004 */ lw $a0, 4($a2) +/* 083C44 800EA794 30820004 */ andi $v0, $a0, 4 +/* 083C48 800EA798 1040000A */ beqz $v0, .L800EA7C4 +/* 083C4C 800EA79C 2402FFFB */ addiu $v0, $zero, -5 +/* 083C50 800EA7A0 8CA3000C */ lw $v1, 0xc($a1) +/* 083C54 800EA7A4 00821024 */ and $v0, $a0, $v0 +/* 083C58 800EA7A8 ACC20004 */ sw $v0, 4($a2) +/* 083C5C 800EA7AC 34634004 */ ori $v1, $v1, 0x4004 +/* 083C60 800EA7B0 ACA3000C */ sw $v1, 0xc($a1) +/* 083C64 800EA7B4 8CC20004 */ lw $v0, 4($a2) +/* 083C68 800EA7B8 3C034000 */ lui $v1, 0x4000 +/* 083C6C 800EA7BC 00431025 */ or $v0, $v0, $v1 +/* 083C70 800EA7C0 ACC20004 */ sw $v0, 4($a2) +.L800EA7C4: +/* 083C74 800EA7C4 3C038011 */ lui $v1, 0x8011 +/* 083C78 800EA7C8 2463CFE8 */ addiu $v1, $v1, -0x3018 +/* 083C7C 800EA7CC 8C620000 */ lw $v0, ($v1) +/* 083C80 800EA7D0 10400006 */ beqz $v0, .L800EA7EC +/* 083C84 800EA7D4 00000000 */ nop +/* 083C88 800EA7D8 3C018011 */ lui $at, 0x8011 +/* 083C8C 800EA7DC AC22CD30 */ sw $v0, -0x32d0($at) +/* 083C90 800EA7E0 3C018011 */ lui $at, 0x8011 +/* 083C94 800EA7E4 AC20CD34 */ sw $zero, -0x32cc($at) +/* 083C98 800EA7E8 AC600000 */ sw $zero, ($v1) +.L800EA7EC: +/* 083C9C 800EA7EC 3C038011 */ lui $v1, 0x8011 +/* 083CA0 800EA7F0 8C63CD30 */ lw $v1, -0x32d0($v1) +/* 083CA4 800EA7F4 2C620002 */ sltiu $v0, $v1, 2 +/* 083CA8 800EA7F8 14400009 */ bnez $v0, .L800EA820 +/* 083CAC 800EA7FC 2C62000B */ sltiu $v0, $v1, 0xb +/* 083CB0 800EA800 24020008 */ addiu $v0, $zero, 8 +/* 083CB4 800EA804 10620006 */ beq $v1, $v0, .L800EA820 +/* 083CB8 800EA808 2C62000B */ sltiu $v0, $v1, 0xb +/* 083CBC 800EA80C 3C018011 */ lui $at, 0x8011 +/* 083CC0 800EA810 AC20CFC4 */ sw $zero, -0x303c($at) +/* 083CC4 800EA814 3C038011 */ lui $v1, 0x8011 +/* 083CC8 800EA818 8C63CD30 */ lw $v1, -0x32d0($v1) +/* 083CCC 800EA81C 2C62000B */ sltiu $v0, $v1, 0xb +.L800EA820: +/* 083CD0 800EA820 1040024A */ beqz $v0, .L800EB14C +/* 083CD4 800EA824 00031080 */ sll $v0, $v1, 2 +/* 083CD8 800EA828 3C018011 */ lui $at, 0x8011 +/* 083CDC 800EA82C 00220821 */ addu $at, $at, $v0 +/* 083CE0 800EA830 8C22C118 */ lw $v0, -0x3ee8($at) +/* 083CE4 800EA834 00400008 */ jr $v0 +/* 083CE8 800EA838 00000000 */ nop +/* 083CEC 800EA83C 24040003 */ addiu $a0, $zero, 3 +/* 083CF0 800EA840 3C118011 */ lui $s1, 0x8011 +/* 083CF4 800EA844 2631CD34 */ addiu $s1, $s1, -0x32cc +/* 083CF8 800EA848 3C018011 */ lui $at, 0x8011 +/* 083CFC 800EA84C AC24CFC4 */ sw $a0, -0x303c($at) +/* 083D00 800EA850 8E230000 */ lw $v1, ($s1) +/* 083D04 800EA854 24120001 */ addiu $s2, $zero, 1 +/* 083D08 800EA858 1072002B */ beq $v1, $s2, .L800EA908 +/* 083D0C 800EA85C 28620002 */ slti $v0, $v1, 2 +/* 083D10 800EA860 50400005 */ beql $v0, $zero, .L800EA878 +/* 083D14 800EA864 24020002 */ addiu $v0, $zero, 2 +/* 083D18 800EA868 10600009 */ beqz $v1, .L800EA890 +/* 083D1C 800EA86C 00000000 */ nop +/* 083D20 800EA870 0803AC53 */ j .L800EB14C +/* 083D24 800EA874 00000000 */ nop + +.L800EA878: +/* 083D28 800EA878 1062003F */ beq $v1, $v0, .L800EA978 +/* 083D2C 800EA87C 00000000 */ nop +/* 083D30 800EA880 10640056 */ beq $v1, $a0, .L800EA9DC +/* 083D34 800EA884 00000000 */ nop +/* 083D38 800EA888 0803AC53 */ j .L800EB14C +/* 083D3C 800EA88C 00000000 */ nop + +.L800EA890: +/* 083D40 800EA890 0C03805E */ jal func_800E0178 +/* 083D44 800EA894 00000000 */ nop +/* 083D48 800EA898 0C05272D */ jal play_sound +/* 083D4C 800EA89C 2404000D */ addiu $a0, $zero, 0xd +/* 083D50 800EA8A0 3C108011 */ lui $s0, 0x8011 +/* 083D54 800EA8A4 2610CFDC */ addiu $s0, $s0, -0x3024 +/* 083D58 800EA8A8 0C0B102B */ jal kill_script_by_ID +/* 083D5C 800EA8AC 8E040000 */ lw $a0, ($s0) +/* 083D60 800EA8B0 3C028011 */ lui $v0, 0x8011 +/* 083D64 800EA8B4 8C42CFEC */ lw $v0, -0x3014($v0) +/* 083D68 800EA8B8 24050014 */ addiu $a1, $zero, 0x14 +/* 083D6C 800EA8BC 8C440020 */ lw $a0, 0x20($v0) +/* 083D70 800EA8C0 0C0B0CF8 */ jal start_script +/* 083D74 800EA8C4 24060020 */ addiu $a2, $zero, 0x20 +/* 083D78 800EA8C8 8C430144 */ lw $v1, 0x144($v0) +/* 083D7C 800EA8CC 3C018011 */ lui $at, 0x8011 +/* 083D80 800EA8D0 AC22CFD4 */ sw $v0, -0x302c($at) +/* 083D84 800EA8D4 AE030000 */ sw $v1, ($s0) +/* 083D88 800EA8D8 3C058011 */ lui $a1, 0x8011 +/* 083D8C 800EA8DC 8CA5C930 */ lw $a1, -0x36d0($a1) +/* 083D90 800EA8E0 2403000A */ addiu $v1, $zero, 0xa +/* 083D94 800EA8E4 A0430004 */ sb $v1, 4($v0) +/* 083D98 800EA8E8 8E230000 */ lw $v1, ($s1) +/* 083D9C 800EA8EC 24040001 */ addiu $a0, $zero, 1 +/* 083DA0 800EA8F0 00641821 */ addu $v1, $v1, $a0 +/* 083DA4 800EA8F4 AC45014C */ sw $a1, 0x14c($v0) +/* 083DA8 800EA8F8 0C009C22 */ jal func_80027088 +/* 083DAC 800EA8FC AE230000 */ sw $v1, ($s1) +/* 083DB0 800EA900 0803AC53 */ j .L800EB14C +/* 083DB4 800EA904 00000000 */ nop + +.L800EA908: +/* 083DB8 800EA908 3C048011 */ lui $a0, 0x8011 +/* 083DBC 800EA90C 8C84CFDC */ lw $a0, -0x3024($a0) +/* 083DC0 800EA910 0C0B1059 */ jal does_script_exist +/* 083DC4 800EA914 00000000 */ nop +/* 083DC8 800EA918 1440020C */ bnez $v0, .L800EB14C +/* 083DCC 800EA91C 00000000 */ nop +/* 083DD0 800EA920 0C009C22 */ jal func_80027088 +/* 083DD4 800EA924 0000202D */ daddu $a0, $zero, $zero +/* 083DD8 800EA928 0C03A9AA */ jal func_800EA6A8 +/* 083DDC 800EA92C 00000000 */ nop +/* 083DE0 800EA930 3C028011 */ lui $v0, 0x8011 +/* 083DE4 800EA934 8C42CFE4 */ lw $v0, -0x301c($v0) +/* 083DE8 800EA938 3C018011 */ lui $at, 0x8011 +/* 083DEC 800EA93C AC22CFD8 */ sw $v0, -0x3028($at) +/* 083DF0 800EA940 0C03A974 */ jal func_800EA5D0 +/* 083DF4 800EA944 A2620012 */ sb $v0, 0x12($s3) +/* 083DF8 800EA948 0C05272D */ jal play_sound +/* 083DFC 800EA94C 2404000E */ addiu $a0, $zero, 0xe +/* 083E00 800EA950 3C028011 */ lui $v0, 0x8011 +/* 083E04 800EA954 8C42CFEC */ lw $v0, -0x3014($v0) +/* 083E08 800EA958 3C048011 */ lui $a0, 0x8011 +/* 083E0C 800EA95C 8C84C930 */ lw $a0, -0x36d0($a0) +/* 083E10 800EA960 8C420010 */ lw $v0, 0x10($v0) +/* 083E14 800EA964 0040F809 */ jalr $v0 +/* 083E18 800EA968 00000000 */ nop +/* 083E1C 800EA96C 8E220000 */ lw $v0, ($s1) +/* 083E20 800EA970 24420001 */ addiu $v0, $v0, 1 +/* 083E24 800EA974 AE220000 */ sw $v0, ($s1) +.L800EA978: +/* 083E28 800EA978 3C028011 */ lui $v0, 0x8011 +/* 083E2C 800EA97C 8C42CFEC */ lw $v0, -0x3014($v0) +/* 083E30 800EA980 24050014 */ addiu $a1, $zero, 0x14 +/* 083E34 800EA984 8C440014 */ lw $a0, 0x14($v0) +/* 083E38 800EA988 0C0B0CF8 */ jal start_script +/* 083E3C 800EA98C 24060020 */ addiu $a2, $zero, 0x20 +/* 083E40 800EA990 8C430144 */ lw $v1, 0x144($v0) +/* 083E44 800EA994 3C068011 */ lui $a2, 0x8011 +/* 083E48 800EA998 8CC6C930 */ lw $a2, -0x36d0($a2) +/* 083E4C 800EA99C 3C058011 */ lui $a1, 0x8011 +/* 083E50 800EA9A0 24A5CD34 */ addiu $a1, $a1, -0x32cc +/* 083E54 800EA9A4 3C018011 */ lui $at, 0x8011 +/* 083E58 800EA9A8 AC22CFD4 */ sw $v0, -0x302c($at) +/* 083E5C 800EA9AC 3C018011 */ lui $at, 0x8011 +/* 083E60 800EA9B0 AC23CFDC */ sw $v1, -0x3024($at) +/* 083E64 800EA9B4 2403000A */ addiu $v1, $zero, 0xa +/* 083E68 800EA9B8 A0430004 */ sb $v1, 4($v0) +/* 083E6C 800EA9BC 8CA30000 */ lw $v1, ($a1) +/* 083E70 800EA9C0 24040001 */ addiu $a0, $zero, 1 +/* 083E74 800EA9C4 AC46014C */ sw $a2, 0x14c($v0) +/* 083E78 800EA9C8 00641821 */ addu $v1, $v1, $a0 +/* 083E7C 800EA9CC 0C009C22 */ jal func_80027088 +/* 083E80 800EA9D0 ACA30000 */ sw $v1, ($a1) +/* 083E84 800EA9D4 0803AC53 */ j .L800EB14C +/* 083E88 800EA9D8 00000000 */ nop + +.L800EA9DC: +/* 083E8C 800EA9DC 3C108011 */ lui $s0, 0x8011 +/* 083E90 800EA9E0 2610CFDC */ addiu $s0, $s0, -0x3024 +/* 083E94 800EA9E4 0C0B1059 */ jal does_script_exist +/* 083E98 800EA9E8 8E040000 */ lw $a0, ($s0) +/* 083E9C 800EA9EC 144001D7 */ bnez $v0, .L800EB14C +/* 083EA0 800EA9F0 24050014 */ addiu $a1, $zero, 0x14 +/* 083EA4 800EA9F4 3C028011 */ lui $v0, 0x8011 +/* 083EA8 800EA9F8 8C42CFEC */ lw $v0, -0x3014($v0) +/* 083EAC 800EA9FC 8C440018 */ lw $a0, 0x18($v0) +/* 083EB0 800EAA00 0C0B0CF8 */ jal start_script +/* 083EB4 800EAA04 24060020 */ addiu $a2, $zero, 0x20 +/* 083EB8 800EAA08 3C038011 */ lui $v1, 0x8011 +/* 083EBC 800EAA0C 8C63C930 */ lw $v1, -0x36d0($v1) +/* 083EC0 800EAA10 8C440144 */ lw $a0, 0x144($v0) +/* 083EC4 800EAA14 3C018011 */ lui $at, 0x8011 +/* 083EC8 800EAA18 AC22CFD4 */ sw $v0, -0x302c($at) +/* 083ECC 800EAA1C AC43014C */ sw $v1, 0x14c($v0) +/* 083ED0 800EAA20 2403000A */ addiu $v1, $zero, 0xa +/* 083ED4 800EAA24 AE040000 */ sw $a0, ($s0) +/* 083ED8 800EAA28 A0430004 */ sb $v1, 4($v0) +/* 083EDC 800EAA2C 3C018011 */ lui $at, 0x8011 +/* 083EE0 800EAA30 0C038069 */ jal func_800E01A4 +/* 083EE4 800EAA34 AC32CD30 */ sw $s2, -0x32d0($at) +/* 083EE8 800EAA38 0C009C22 */ jal func_80027088 +/* 083EEC 800EAA3C 0000202D */ daddu $a0, $zero, $zero +/* 083EF0 800EAA40 0803AC53 */ j .L800EB14C +/* 083EF4 800EAA44 00000000 */ nop + +/* 083EF8 800EAA48 24040003 */ addiu $a0, $zero, 3 +/* 083EFC 800EAA4C 3C108011 */ lui $s0, 0x8011 +/* 083F00 800EAA50 2610CD34 */ addiu $s0, $s0, -0x32cc +/* 083F04 800EAA54 3C018011 */ lui $at, 0x8011 +/* 083F08 800EAA58 AC24CFC4 */ sw $a0, -0x303c($at) +/* 083F0C 800EAA5C 8E030000 */ lw $v1, ($s0) +/* 083F10 800EAA60 24110001 */ addiu $s1, $zero, 1 +/* 083F14 800EAA64 10710014 */ beq $v1, $s1, .L800EAAB8 +/* 083F18 800EAA68 28620002 */ slti $v0, $v1, 2 +/* 083F1C 800EAA6C 50400005 */ beql $v0, $zero, .L800EAA84 +/* 083F20 800EAA70 24020002 */ addiu $v0, $zero, 2 +/* 083F24 800EAA74 10600009 */ beqz $v1, .L800EAA9C +/* 083F28 800EAA78 00000000 */ nop +/* 083F2C 800EAA7C 0803AC53 */ j .L800EB14C +/* 083F30 800EAA80 00000000 */ nop + +.L800EAA84: +/* 083F34 800EAA84 10620170 */ beq $v1, $v0, .L800EB048 +/* 083F38 800EAA88 00000000 */ nop +/* 083F3C 800EAA8C 1064002E */ beq $v1, $a0, .L800EAB48 +/* 083F40 800EAA90 24050014 */ addiu $a1, $zero, 0x14 +/* 083F44 800EAA94 0803AC53 */ j .L800EB14C +/* 083F48 800EAA98 00000000 */ nop + +.L800EAA9C: +/* 083F4C 800EAA9C 3C048011 */ lui $a0, 0x8011 +/* 083F50 800EAAA0 8C84CFDC */ lw $a0, -0x3024($a0) +/* 083F54 800EAAA4 0C0B102B */ jal kill_script_by_ID +/* 083F58 800EAAA8 00000000 */ nop +/* 083F5C 800EAAAC 8E020000 */ lw $v0, ($s0) +/* 083F60 800EAAB0 24420001 */ addiu $v0, $v0, 1 +/* 083F64 800EAAB4 AE020000 */ sw $v0, ($s0) +.L800EAAB8: +/* 083F68 800EAAB8 0C03A9AA */ jal func_800EA6A8 +/* 083F6C 800EAABC 00000000 */ nop +/* 083F70 800EAAC0 3C028011 */ lui $v0, 0x8011 +/* 083F74 800EAAC4 8C42CFE4 */ lw $v0, -0x301c($v0) +/* 083F78 800EAAC8 3C018011 */ lui $at, 0x8011 +/* 083F7C 800EAACC AC22CFD8 */ sw $v0, -0x3028($at) +/* 083F80 800EAAD0 0C03A974 */ jal func_800EA5D0 +/* 083F84 800EAAD4 A2620012 */ sb $v0, 0x12($s3) +/* 083F88 800EAAD8 3C048011 */ lui $a0, 0x8011 +/* 083F8C 800EAADC 8C84C930 */ lw $a0, -0x36d0($a0) +/* 083F90 800EAAE0 3C018010 */ lui $at, 0x8010 +/* 083F94 800EAAE4 C422833C */ lwc1 $f2, -0x7cc4($at) +/* 083F98 800EAAE8 3C018010 */ lui $at, 0x8010 +/* 083F9C 800EAAEC C4248340 */ lwc1 $f4, -0x7cc0($at) +/* 083FA0 800EAAF0 3C018010 */ lui $at, 0x8010 +/* 083FA4 800EAAF4 C4268344 */ lwc1 $f6, -0x7cbc($at) +/* 083FA8 800EAAF8 3C013F80 */ lui $at, 0x3f80 +/* 083FAC 800EAAFC 44810000 */ mtc1 $at, $f0 +/* 083FB0 800EAB00 3C028011 */ lui $v0, 0x8011 +/* 083FB4 800EAB04 8C42CFEC */ lw $v0, -0x3014($v0) +/* 083FB8 800EAB08 E4820038 */ swc1 $f2, 0x38($a0) +/* 083FBC 800EAB0C E484003C */ swc1 $f4, 0x3c($a0) +/* 083FC0 800EAB10 E4860040 */ swc1 $f6, 0x40($a0) +/* 083FC4 800EAB14 AC80001C */ sw $zero, 0x1c($a0) +/* 083FC8 800EAB18 E4800054 */ swc1 $f0, 0x54($a0) +/* 083FCC 800EAB1C E4800058 */ swc1 $f0, 0x58($a0) +/* 083FD0 800EAB20 E480005C */ swc1 $f0, 0x5c($a0) +/* 083FD4 800EAB24 8C420010 */ lw $v0, 0x10($v0) +/* 083FD8 800EAB28 0040F809 */ jalr $v0 +/* 083FDC 800EAB2C 00000000 */ nop +/* 083FE0 800EAB30 3C038011 */ lui $v1, 0x8011 +/* 083FE4 800EAB34 2463CD34 */ addiu $v1, $v1, -0x32cc +/* 083FE8 800EAB38 8C620000 */ lw $v0, ($v1) +/* 083FEC 800EAB3C 24420001 */ addiu $v0, $v0, 1 +/* 083FF0 800EAB40 0803AC14 */ j .L800EB050 +/* 083FF4 800EAB44 AC620000 */ sw $v0, ($v1) + +.L800EAB48: +/* 083FF8 800EAB48 3C028011 */ lui $v0, 0x8011 +/* 083FFC 800EAB4C 8C42CFEC */ lw $v0, -0x3014($v0) +/* 084000 800EAB50 8C440018 */ lw $a0, 0x18($v0) +/* 084004 800EAB54 0C0B0CF8 */ jal start_script +/* 084008 800EAB58 24060020 */ addiu $a2, $zero, 0x20 +/* 08400C 800EAB5C 3C038011 */ lui $v1, 0x8011 +/* 084010 800EAB60 8C63C930 */ lw $v1, -0x36d0($v1) +/* 084014 800EAB64 8C440144 */ lw $a0, 0x144($v0) +/* 084018 800EAB68 3C018011 */ lui $at, 0x8011 +/* 08401C 800EAB6C AC22CFD4 */ sw $v0, -0x302c($at) +/* 084020 800EAB70 AC43014C */ sw $v1, 0x14c($v0) +/* 084024 800EAB74 2403000A */ addiu $v1, $zero, 0xa +/* 084028 800EAB78 3C018011 */ lui $at, 0x8011 +/* 08402C 800EAB7C AC24CFDC */ sw $a0, -0x3024($at) +/* 084030 800EAB80 A0430004 */ sb $v1, 4($v0) +/* 084034 800EAB84 3C018011 */ lui $at, 0x8011 +/* 084038 800EAB88 0803AC53 */ j .L800EB14C +/* 08403C 800EAB8C AC31CD30 */ sw $s1, -0x32d0($at) + +/* 084040 800EAB90 3C118011 */ lui $s1, 0x8011 +/* 084044 800EAB94 2631CD34 */ addiu $s1, $s1, -0x32cc +/* 084048 800EAB98 8E300000 */ lw $s0, ($s1) +/* 08404C 800EAB9C 12000005 */ beqz $s0, .L800EABB4 +/* 084050 800EABA0 24020001 */ addiu $v0, $zero, 1 +/* 084054 800EABA4 12020010 */ beq $s0, $v0, .L800EABE8 +/* 084058 800EABA8 00000000 */ nop +/* 08405C 800EABAC 0803AC53 */ j .L800EB14C +/* 084060 800EABB0 00000000 */ nop + +.L800EABB4: +/* 084064 800EABB4 0C03805E */ jal func_800E0178 +/* 084068 800EABB8 00000000 */ nop +/* 08406C 800EABBC 0C05272D */ jal play_sound +/* 084070 800EABC0 2404000D */ addiu $a0, $zero, 0xd +/* 084074 800EABC4 3C108011 */ lui $s0, 0x8011 +/* 084078 800EABC8 2610CFDC */ addiu $s0, $s0, -0x3024 +/* 08407C 800EABCC 0C0B102B */ jal kill_script_by_ID +/* 084080 800EABD0 8E040000 */ lw $a0, ($s0) +/* 084084 800EABD4 3C028011 */ lui $v0, 0x8011 +/* 084088 800EABD8 8C42CFEC */ lw $v0, -0x3014($v0) +/* 08408C 800EABDC 8C440020 */ lw $a0, 0x20($v0) +/* 084090 800EABE0 0803ABCE */ j .L800EAF38 +/* 084094 800EABE4 24050014 */ addiu $a1, $zero, 0x14 + +.L800EABE8: +/* 084098 800EABE8 3C048011 */ lui $a0, 0x8011 +/* 08409C 800EABEC 8C84CFDC */ lw $a0, -0x3024($a0) +/* 0840A0 800EABF0 0C0B1059 */ jal does_script_exist +/* 0840A4 800EABF4 00000000 */ nop +/* 0840A8 800EABF8 14400154 */ bnez $v0, .L800EB14C +/* 0840AC 800EABFC 00000000 */ nop +/* 0840B0 800EAC00 0C03A9AA */ jal func_800EA6A8 +/* 0840B4 800EAC04 00000000 */ nop +/* 0840B8 800EAC08 3C028011 */ lui $v0, 0x8011 +/* 0840BC 800EAC0C 8C42CFE4 */ lw $v0, -0x301c($v0) +/* 0840C0 800EAC10 3C018011 */ lui $at, 0x8011 +/* 0840C4 800EAC14 AC30CD30 */ sw $s0, -0x32d0($at) +/* 0840C8 800EAC18 3C018011 */ lui $at, 0x8011 +/* 0840CC 800EAC1C AC22CFD8 */ sw $v0, -0x3028($at) +/* 0840D0 800EAC20 0C038069 */ jal func_800E01A4 +/* 0840D4 800EAC24 A2620012 */ sb $v0, 0x12($s3) +/* 0840D8 800EAC28 0803AC53 */ j .L800EB14C +/* 0840DC 800EAC2C 00000000 */ nop + +/* 0840E0 800EAC30 3C028011 */ lui $v0, 0x8011 +/* 0840E4 800EAC34 8C42CD34 */ lw $v0, -0x32cc($v0) +/* 0840E8 800EAC38 14400144 */ bnez $v0, .L800EB14C +/* 0840EC 800EAC3C 00000000 */ nop +/* 0840F0 800EAC40 3C048011 */ lui $a0, 0x8011 +/* 0840F4 800EAC44 8C84CFDC */ lw $a0, -0x3024($a0) +/* 0840F8 800EAC48 0C0B102B */ jal kill_script_by_ID +/* 0840FC 800EAC4C 00000000 */ nop +/* 084100 800EAC50 0C03A9AA */ jal func_800EA6A8 +/* 084104 800EAC54 00000000 */ nop +/* 084108 800EAC58 3C038011 */ lui $v1, 0x8011 +/* 08410C 800EAC5C 8C63CFE4 */ lw $v1, -0x301c($v1) +/* 084110 800EAC60 24020001 */ addiu $v0, $zero, 1 +/* 084114 800EAC64 3C018011 */ lui $at, 0x8011 +/* 084118 800EAC68 AC22CD30 */ sw $v0, -0x32d0($at) +/* 08411C 800EAC6C 3C018011 */ lui $at, 0x8011 +/* 084120 800EAC70 AC23CFD8 */ sw $v1, -0x3028($at) +/* 084124 800EAC74 0803AC53 */ j .L800EB14C +/* 084128 800EAC78 A2630012 */ sb $v1, 0x12($s3) + +/* 08412C 800EAC7C 3C108011 */ lui $s0, 0x8011 +/* 084130 800EAC80 2610CD34 */ addiu $s0, $s0, -0x32cc +/* 084134 800EAC84 8E030000 */ lw $v1, ($s0) +/* 084138 800EAC88 24110001 */ addiu $s1, $zero, 1 +/* 08413C 800EAC8C 1071001D */ beq $v1, $s1, .L800EAD04 +/* 084140 800EAC90 28620002 */ slti $v0, $v1, 2 +/* 084144 800EAC94 50400005 */ beql $v0, $zero, .L800EACAC +/* 084148 800EAC98 24020002 */ addiu $v0, $zero, 2 +/* 08414C 800EAC9C 10600007 */ beqz $v1, .L800EACBC +/* 084150 800EACA0 00000000 */ nop +/* 084154 800EACA4 0803AC53 */ j .L800EB14C +/* 084158 800EACA8 00000000 */ nop + +.L800EACAC: +/* 08415C 800EACAC 1062002B */ beq $v1, $v0, .L800EAD5C +/* 084160 800EACB0 00000000 */ nop +/* 084164 800EACB4 0803AC53 */ j .L800EB14C +/* 084168 800EACB8 00000000 */ nop + +.L800EACBC: +/* 08416C 800EACBC 0C03805E */ jal func_800E0178 +/* 084170 800EACC0 00000000 */ nop +/* 084174 800EACC4 3C028011 */ lui $v0, 0x8011 +/* 084178 800EACC8 8C42CFE4 */ lw $v0, -0x301c($v0) +/* 08417C 800EACCC 3C018011 */ lui $at, 0x8011 +/* 084180 800EACD0 AC22CFD8 */ sw $v0, -0x3028($at) +/* 084184 800EACD4 0C03A974 */ jal func_800EA5D0 +/* 084188 800EACD8 A2620012 */ sb $v0, 0x12($s3) +/* 08418C 800EACDC 3C028011 */ lui $v0, 0x8011 +/* 084190 800EACE0 8C42CFEC */ lw $v0, -0x3014($v0) +/* 084194 800EACE4 3C048011 */ lui $a0, 0x8011 +/* 084198 800EACE8 8C84C930 */ lw $a0, -0x36d0($a0) +/* 08419C 800EACEC 8C420010 */ lw $v0, 0x10($v0) +/* 0841A0 800EACF0 0040F809 */ jalr $v0 +/* 0841A4 800EACF4 00000000 */ nop +/* 0841A8 800EACF8 8E020000 */ lw $v0, ($s0) +/* 0841AC 800EACFC 24420001 */ addiu $v0, $v0, 1 +/* 0841B0 800EAD00 AE020000 */ sw $v0, ($s0) +.L800EAD04: +/* 0841B4 800EAD04 3C028011 */ lui $v0, 0x8011 +/* 0841B8 800EAD08 8C42CFEC */ lw $v0, -0x3014($v0) +/* 0841BC 800EAD0C 24050014 */ addiu $a1, $zero, 0x14 +/* 0841C0 800EAD10 8C440014 */ lw $a0, 0x14($v0) +/* 0841C4 800EAD14 0C0B0CF8 */ jal start_script +/* 0841C8 800EAD18 24060020 */ addiu $a2, $zero, 0x20 +/* 0841CC 800EAD1C 8C430144 */ lw $v1, 0x144($v0) +/* 0841D0 800EAD20 3C058011 */ lui $a1, 0x8011 +/* 0841D4 800EAD24 8CA5C930 */ lw $a1, -0x36d0($a1) +/* 0841D8 800EAD28 3C048011 */ lui $a0, 0x8011 +/* 0841DC 800EAD2C 2484CD34 */ addiu $a0, $a0, -0x32cc +/* 0841E0 800EAD30 3C018011 */ lui $at, 0x8011 +/* 0841E4 800EAD34 AC22CFD4 */ sw $v0, -0x302c($at) +/* 0841E8 800EAD38 3C018011 */ lui $at, 0x8011 +/* 0841EC 800EAD3C AC23CFDC */ sw $v1, -0x3024($at) +/* 0841F0 800EAD40 2403000A */ addiu $v1, $zero, 0xa +/* 0841F4 800EAD44 A0430004 */ sb $v1, 4($v0) +/* 0841F8 800EAD48 8C830000 */ lw $v1, ($a0) +/* 0841FC 800EAD4C AC45014C */ sw $a1, 0x14c($v0) +/* 084200 800EAD50 24630001 */ addiu $v1, $v1, 1 +/* 084204 800EAD54 0803AC53 */ j .L800EB14C +/* 084208 800EAD58 AC830000 */ sw $v1, ($a0) + +.L800EAD5C: +/* 08420C 800EAD5C 3C108011 */ lui $s0, 0x8011 +/* 084210 800EAD60 2610CFDC */ addiu $s0, $s0, -0x3024 +/* 084214 800EAD64 0C0B1059 */ jal does_script_exist +/* 084218 800EAD68 8E040000 */ lw $a0, ($s0) +/* 08421C 800EAD6C 144000F7 */ bnez $v0, .L800EB14C +/* 084220 800EAD70 24050014 */ addiu $a1, $zero, 0x14 +/* 084224 800EAD74 3C028011 */ lui $v0, 0x8011 +/* 084228 800EAD78 8C42CFEC */ lw $v0, -0x3014($v0) +/* 08422C 800EAD7C 8C440018 */ lw $a0, 0x18($v0) +/* 084230 800EAD80 0C0B0CF8 */ jal start_script +/* 084234 800EAD84 24060020 */ addiu $a2, $zero, 0x20 +/* 084238 800EAD88 3C038011 */ lui $v1, 0x8011 +/* 08423C 800EAD8C 8C63C930 */ lw $v1, -0x36d0($v1) +/* 084240 800EAD90 8C440144 */ lw $a0, 0x144($v0) +/* 084244 800EAD94 3C018011 */ lui $at, 0x8011 +/* 084248 800EAD98 AC22CFD4 */ sw $v0, -0x302c($at) +/* 08424C 800EAD9C AC43014C */ sw $v1, 0x14c($v0) +/* 084250 800EADA0 2403000A */ addiu $v1, $zero, 0xa +/* 084254 800EADA4 AE040000 */ sw $a0, ($s0) +/* 084258 800EADA8 A0430004 */ sb $v1, 4($v0) +/* 08425C 800EADAC 3C018011 */ lui $at, 0x8011 +/* 084260 800EADB0 0C038069 */ jal func_800E01A4 +/* 084264 800EADB4 AC31CD30 */ sw $s1, -0x32d0($at) +/* 084268 800EADB8 0803AC53 */ j .L800EB14C +/* 08426C 800EADBC 00000000 */ nop + +/* 084270 800EADC0 3C118011 */ lui $s1, 0x8011 +/* 084274 800EADC4 2631CD34 */ addiu $s1, $s1, -0x32cc +/* 084278 800EADC8 8E300000 */ lw $s0, ($s1) +/* 08427C 800EADCC 24020002 */ addiu $v0, $zero, 2 +/* 084280 800EADD0 3C018011 */ lui $at, 0x8011 +/* 084284 800EADD4 AC22CFC4 */ sw $v0, -0x303c($at) +/* 084288 800EADD8 12000005 */ beqz $s0, .L800EADF0 +/* 08428C 800EADDC 24020001 */ addiu $v0, $zero, 1 +/* 084290 800EADE0 12020025 */ beq $s0, $v0, .L800EAE78 +/* 084294 800EADE4 24050014 */ addiu $a1, $zero, 0x14 +/* 084298 800EADE8 0803AC53 */ j .L800EB14C +/* 08429C 800EADEC 00000000 */ nop + +.L800EADF0: +/* 0842A0 800EADF0 0C03805E */ jal func_800E0178 +/* 0842A4 800EADF4 00000000 */ nop +/* 0842A8 800EADF8 3C028011 */ lui $v0, 0x8011 +/* 0842AC 800EADFC 8C42CFE4 */ lw $v0, -0x301c($v0) +/* 0842B0 800EAE00 3C018011 */ lui $at, 0x8011 +/* 0842B4 800EAE04 AC22CFD8 */ sw $v0, -0x3028($at) +/* 0842B8 800EAE08 0C03A974 */ jal func_800EA5D0 +/* 0842BC 800EAE0C A2620012 */ sb $v0, 0x12($s3) +/* 0842C0 800EAE10 3C048011 */ lui $a0, 0x8011 +/* 0842C4 800EAE14 8C84C930 */ lw $a0, -0x36d0($a0) +/* 0842C8 800EAE18 3C018010 */ lui $at, 0x8010 +/* 0842CC 800EAE1C C422833C */ lwc1 $f2, -0x7cc4($at) +/* 0842D0 800EAE20 3C018010 */ lui $at, 0x8010 +/* 0842D4 800EAE24 C4248340 */ lwc1 $f4, -0x7cc0($at) +/* 0842D8 800EAE28 3C018010 */ lui $at, 0x8010 +/* 0842DC 800EAE2C C4268344 */ lwc1 $f6, -0x7cbc($at) +/* 0842E0 800EAE30 3C013F80 */ lui $at, 0x3f80 +/* 0842E4 800EAE34 44810000 */ mtc1 $at, $f0 +/* 0842E8 800EAE38 3C028011 */ lui $v0, 0x8011 +/* 0842EC 800EAE3C 8C42CFEC */ lw $v0, -0x3014($v0) +/* 0842F0 800EAE40 E4820038 */ swc1 $f2, 0x38($a0) +/* 0842F4 800EAE44 E484003C */ swc1 $f4, 0x3c($a0) +/* 0842F8 800EAE48 E4860040 */ swc1 $f6, 0x40($a0) +/* 0842FC 800EAE4C AC80001C */ sw $zero, 0x1c($a0) +/* 084300 800EAE50 E4800054 */ swc1 $f0, 0x54($a0) +/* 084304 800EAE54 E4800058 */ swc1 $f0, 0x58($a0) +/* 084308 800EAE58 E480005C */ swc1 $f0, 0x5c($a0) +/* 08430C 800EAE5C 8C420010 */ lw $v0, 0x10($v0) +/* 084310 800EAE60 0040F809 */ jalr $v0 +/* 084314 800EAE64 00000000 */ nop +/* 084318 800EAE68 8E220000 */ lw $v0, ($s1) +/* 08431C 800EAE6C 24420001 */ addiu $v0, $v0, 1 +/* 084320 800EAE70 0803AC53 */ j .L800EB14C +/* 084324 800EAE74 AE220000 */ sw $v0, ($s1) + +.L800EAE78: +/* 084328 800EAE78 3C028011 */ lui $v0, 0x8011 +/* 08432C 800EAE7C 8C42CFEC */ lw $v0, -0x3014($v0) +/* 084330 800EAE80 8C440018 */ lw $a0, 0x18($v0) +/* 084334 800EAE84 0C0B0CF8 */ jal start_script +/* 084338 800EAE88 24060020 */ addiu $a2, $zero, 0x20 +/* 08433C 800EAE8C 8C430144 */ lw $v1, 0x144($v0) +/* 084340 800EAE90 3C058011 */ lui $a1, 0x8011 +/* 084344 800EAE94 24A5C930 */ addiu $a1, $a1, -0x36d0 +/* 084348 800EAE98 3C018011 */ lui $at, 0x8011 +/* 08434C 800EAE9C AC22CFD4 */ sw $v0, -0x302c($at) +/* 084350 800EAEA0 3C018011 */ lui $at, 0x8011 +/* 084354 800EAEA4 AC23CFDC */ sw $v1, -0x3024($at) +/* 084358 800EAEA8 8CA40000 */ lw $a0, ($a1) +/* 08435C 800EAEAC 2403000A */ addiu $v1, $zero, 0xa +/* 084360 800EAEB0 A0430004 */ sb $v1, 4($v0) +/* 084364 800EAEB4 3C038011 */ lui $v1, 0x8011 +/* 084368 800EAEB8 8C63CFD8 */ lw $v1, -0x3028($v1) +/* 08436C 800EAEBC AC44014C */ sw $a0, 0x14c($v0) +/* 084370 800EAEC0 000310C0 */ sll $v0, $v1, 3 +/* 084374 800EAEC4 00431021 */ addu $v0, $v0, $v1 +/* 084378 800EAEC8 00021080 */ sll $v0, $v0, 2 +/* 08437C 800EAECC 8CA30000 */ lw $v1, ($a1) +/* 084380 800EAED0 3C018010 */ lui $at, 0x8010 +/* 084384 800EAED4 00220821 */ addu $at, $at, $v0 +/* 084388 800EAED8 8C228358 */ lw $v0, -0x7ca8($at) +/* 08438C 800EAEDC 3C018011 */ lui $at, 0x8011 +/* 084390 800EAEE0 AC30CD30 */ sw $s0, -0x32d0($at) +/* 084394 800EAEE4 0C038069 */ jal func_800E01A4 +/* 084398 800EAEE8 AC620028 */ sw $v0, 0x28($v1) +/* 08439C 800EAEEC 0803AC53 */ j .L800EB14C +/* 0843A0 800EAEF0 00000000 */ nop + +/* 0843A4 800EAEF4 3C118011 */ lui $s1, 0x8011 +/* 0843A8 800EAEF8 2631CD34 */ addiu $s1, $s1, -0x32cc +/* 0843AC 800EAEFC 8E300000 */ lw $s0, ($s1) +/* 0843B0 800EAF00 12000005 */ beqz $s0, .L800EAF18 +/* 0843B4 800EAF04 24020001 */ addiu $v0, $zero, 1 +/* 0843B8 800EAF08 1202001A */ beq $s0, $v0, .L800EAF74 +/* 0843BC 800EAF0C 00000000 */ nop +/* 0843C0 800EAF10 0803AC53 */ j .L800EB14C +/* 0843C4 800EAF14 00000000 */ nop + +.L800EAF18: +/* 0843C8 800EAF18 3C108011 */ lui $s0, 0x8011 +/* 0843CC 800EAF1C 2610CFDC */ addiu $s0, $s0, -0x3024 +/* 0843D0 800EAF20 0C0B102B */ jal kill_script_by_ID +/* 0843D4 800EAF24 8E040000 */ lw $a0, ($s0) +/* 0843D8 800EAF28 3C028011 */ lui $v0, 0x8011 +/* 0843DC 800EAF2C 8C42CFEC */ lw $v0, -0x3014($v0) +/* 0843E0 800EAF30 24050014 */ addiu $a1, $zero, 0x14 +/* 0843E4 800EAF34 8C44001C */ lw $a0, 0x1c($v0) +.L800EAF38: +/* 0843E8 800EAF38 0C0B0CF8 */ jal start_script +/* 0843EC 800EAF3C 24060020 */ addiu $a2, $zero, 0x20 +/* 0843F0 800EAF40 8C430144 */ lw $v1, 0x144($v0) +/* 0843F4 800EAF44 3C018011 */ lui $at, 0x8011 +/* 0843F8 800EAF48 AC22CFD4 */ sw $v0, -0x302c($at) +/* 0843FC 800EAF4C AE030000 */ sw $v1, ($s0) +/* 084400 800EAF50 3C048011 */ lui $a0, 0x8011 +/* 084404 800EAF54 8C84C930 */ lw $a0, -0x36d0($a0) +/* 084408 800EAF58 2403000A */ addiu $v1, $zero, 0xa +/* 08440C 800EAF5C A0430004 */ sb $v1, 4($v0) +/* 084410 800EAF60 8E230000 */ lw $v1, ($s1) +/* 084414 800EAF64 24630001 */ addiu $v1, $v1, 1 +/* 084418 800EAF68 AC44014C */ sw $a0, 0x14c($v0) +/* 08441C 800EAF6C 0803AC53 */ j .L800EB14C +/* 084420 800EAF70 AE230000 */ sw $v1, ($s1) + +.L800EAF74: +/* 084424 800EAF74 3C118011 */ lui $s1, 0x8011 +/* 084428 800EAF78 2631CFDC */ addiu $s1, $s1, -0x3024 +/* 08442C 800EAF7C 0C0B1059 */ jal does_script_exist +/* 084430 800EAF80 8E240000 */ lw $a0, ($s1) +/* 084434 800EAF84 14400071 */ bnez $v0, .L800EB14C +/* 084438 800EAF88 24050014 */ addiu $a1, $zero, 0x14 +/* 08443C 800EAF8C 3C028011 */ lui $v0, 0x8011 +/* 084440 800EAF90 8C42CFEC */ lw $v0, -0x3014($v0) +/* 084444 800EAF94 8C440018 */ lw $a0, 0x18($v0) +/* 084448 800EAF98 0C0B0CF8 */ jal start_script +/* 08444C 800EAF9C 24060020 */ addiu $a2, $zero, 0x20 +/* 084450 800EAFA0 3C038011 */ lui $v1, 0x8011 +/* 084454 800EAFA4 8C63C930 */ lw $v1, -0x36d0($v1) +/* 084458 800EAFA8 8C440144 */ lw $a0, 0x144($v0) +/* 08445C 800EAFAC 3C018011 */ lui $at, 0x8011 +/* 084460 800EAFB0 AC22CFD4 */ sw $v0, -0x302c($at) +/* 084464 800EAFB4 AC43014C */ sw $v1, 0x14c($v0) +/* 084468 800EAFB8 2403000A */ addiu $v1, $zero, 0xa +/* 08446C 800EAFBC AE240000 */ sw $a0, ($s1) +/* 084470 800EAFC0 A0430004 */ sb $v1, 4($v0) +/* 084474 800EAFC4 3C018011 */ lui $at, 0x8011 +/* 084478 800EAFC8 0803AC53 */ j .L800EB14C +/* 08447C 800EAFCC AC30CD30 */ sw $s0, -0x32d0($at) + +/* 084480 800EAFD0 3C108011 */ lui $s0, 0x8011 +/* 084484 800EAFD4 2610CD34 */ addiu $s0, $s0, -0x32cc +/* 084488 800EAFD8 8E030000 */ lw $v1, ($s0) +/* 08448C 800EAFDC 24110001 */ addiu $s1, $zero, 1 +/* 084490 800EAFE0 3C018011 */ lui $at, 0x8011 +/* 084494 800EAFE4 AC31CFC4 */ sw $s1, -0x303c($at) +/* 084498 800EAFE8 10710017 */ beq $v1, $s1, .L800EB048 +/* 08449C 800EAFEC 28620002 */ slti $v0, $v1, 2 +/* 0844A0 800EAFF0 50400005 */ beql $v0, $zero, .L800EB008 +/* 0844A4 800EAFF4 24020002 */ addiu $v0, $zero, 2 +/* 0844A8 800EAFF8 10600007 */ beqz $v1, .L800EB018 +/* 0844AC 800EAFFC 00000000 */ nop +/* 0844B0 800EB000 0803AC53 */ j .L800EB14C +/* 0844B4 800EB004 00000000 */ nop + +.L800EB008: +/* 0844B8 800EB008 10620015 */ beq $v1, $v0, .L800EB060 +/* 0844BC 800EB00C 00000000 */ nop +/* 0844C0 800EB010 0803AC53 */ j .L800EB14C +/* 0844C4 800EB014 00000000 */ nop + +.L800EB018: +/* 0844C8 800EB018 0C03805E */ jal func_800E0178 +/* 0844CC 800EB01C 00000000 */ nop +/* 0844D0 800EB020 3C028011 */ lui $v0, 0x8011 +/* 0844D4 800EB024 8C42CFEC */ lw $v0, -0x3014($v0) +/* 0844D8 800EB028 3C048011 */ lui $a0, 0x8011 +/* 0844DC 800EB02C 8C84C930 */ lw $a0, -0x36d0($a0) +/* 0844E0 800EB030 8C420010 */ lw $v0, 0x10($v0) +/* 0844E4 800EB034 0040F809 */ jalr $v0 +/* 0844E8 800EB038 00000000 */ nop +/* 0844EC 800EB03C 8E020000 */ lw $v0, ($s0) +/* 0844F0 800EB040 24420001 */ addiu $v0, $v0, 1 +/* 0844F4 800EB044 AE020000 */ sw $v0, ($s0) +.L800EB048: +/* 0844F8 800EB048 3C038011 */ lui $v1, 0x8011 +/* 0844FC 800EB04C 2463CD34 */ addiu $v1, $v1, -0x32cc +.L800EB050: +/* 084500 800EB050 8C620000 */ lw $v0, ($v1) +/* 084504 800EB054 24420001 */ addiu $v0, $v0, 1 +/* 084508 800EB058 0803AC53 */ j .L800EB14C +/* 08450C 800EB05C AC620000 */ sw $v0, ($v1) + +.L800EB060: +/* 084510 800EB060 80A20000 */ lb $v0, ($a1) +/* 084514 800EB064 10510019 */ beq $v0, $s1, .L800EB0CC +/* 084518 800EB068 24050014 */ addiu $a1, $zero, 0x14 +/* 08451C 800EB06C 3C028011 */ lui $v0, 0x8011 +/* 084520 800EB070 8C42CFEC */ lw $v0, -0x3014($v0) +/* 084524 800EB074 C4C00028 */ lwc1 $f0, 0x28($a2) +/* 084528 800EB078 C4C2002C */ lwc1 $f2, 0x2c($a2) +/* 08452C 800EB07C C4C40030 */ lwc1 $f4, 0x30($a2) +/* 084530 800EB080 8C440018 */ lw $a0, 0x18($v0) +/* 084534 800EB084 3C018010 */ lui $at, 0x8010 +/* 084538 800EB088 E420833C */ swc1 $f0, -0x7cc4($at) +/* 08453C 800EB08C 3C018010 */ lui $at, 0x8010 +/* 084540 800EB090 E4228340 */ swc1 $f2, -0x7cc0($at) +/* 084544 800EB094 3C018010 */ lui $at, 0x8010 +/* 084548 800EB098 E4248344 */ swc1 $f4, -0x7cbc($at) +/* 08454C 800EB09C 0C0B0CF8 */ jal start_script +/* 084550 800EB0A0 24060020 */ addiu $a2, $zero, 0x20 +/* 084554 800EB0A4 3C038011 */ lui $v1, 0x8011 +/* 084558 800EB0A8 8C63C930 */ lw $v1, -0x36d0($v1) +/* 08455C 800EB0AC 8C440144 */ lw $a0, 0x144($v0) +/* 084560 800EB0B0 3C018011 */ lui $at, 0x8011 +/* 084564 800EB0B4 AC22CFD4 */ sw $v0, -0x302c($at) +/* 084568 800EB0B8 AC43014C */ sw $v1, 0x14c($v0) +/* 08456C 800EB0BC 2403000A */ addiu $v1, $zero, 0xa +/* 084570 800EB0C0 3C018011 */ lui $at, 0x8011 +/* 084574 800EB0C4 AC24CFDC */ sw $a0, -0x3024($at) +/* 084578 800EB0C8 A0430004 */ sb $v1, 4($v0) +.L800EB0CC: +/* 08457C 800EB0CC 0C038069 */ jal func_800E01A4 +/* 084580 800EB0D0 00000000 */ nop +/* 084584 800EB0D4 3C018011 */ lui $at, 0x8011 +/* 084588 800EB0D8 0803AC53 */ j .L800EB14C +/* 08458C 800EB0DC AC31CD30 */ sw $s1, -0x32d0($at) + +/* 084590 800EB0E0 3C108011 */ lui $s0, 0x8011 +/* 084594 800EB0E4 2610CD34 */ addiu $s0, $s0, -0x32cc +/* 084598 800EB0E8 8E020000 */ lw $v0, ($s0) +/* 08459C 800EB0EC 14400017 */ bnez $v0, .L800EB14C +/* 0845A0 800EB0F0 00000000 */ nop +/* 0845A4 800EB0F4 3C118011 */ lui $s1, 0x8011 +/* 0845A8 800EB0F8 2631CFDC */ addiu $s1, $s1, -0x3024 +/* 0845AC 800EB0FC 0C0B1059 */ jal does_script_exist +/* 0845B0 800EB100 8E240000 */ lw $a0, ($s1) +/* 0845B4 800EB104 10400003 */ beqz $v0, .L800EB114 +/* 0845B8 800EB108 00000000 */ nop +/* 0845BC 800EB10C 0C0B102B */ jal kill_script_by_ID +/* 0845C0 800EB110 8E240000 */ lw $a0, ($s1) +.L800EB114: +/* 0845C4 800EB114 8E020000 */ lw $v0, ($s0) +/* 0845C8 800EB118 24420001 */ addiu $v0, $v0, 1 +/* 0845CC 800EB11C 0803AC53 */ j .L800EB14C +/* 0845D0 800EB120 AE020000 */ sw $v0, ($s0) + +/* 0845D4 800EB124 3C048011 */ lui $a0, 0x8011 +/* 0845D8 800EB128 2484CFC4 */ addiu $a0, $a0, -0x303c +/* 0845DC 800EB12C 3C018011 */ lui $at, 0x8011 +/* 0845E0 800EB130 AC20CD30 */ sw $zero, -0x32d0($at) +/* 0845E4 800EB134 3C018011 */ lui $at, 0x8011 +/* 0845E8 800EB138 AC20CFE0 */ sw $zero, -0x3020($at) +/* 0845EC 800EB13C 8C830000 */ lw $v1, ($a0) +/* 0845F0 800EB140 24020003 */ addiu $v0, $zero, 3 +/* 0845F4 800EB144 54620001 */ bnel $v1, $v0, .L800EB14C +/* 0845F8 800EB148 AC800000 */ sw $zero, ($a0) +.L800EB14C: +/* 0845FC 800EB14C 8FBF0020 */ lw $ra, 0x20($sp) +/* 084600 800EB150 8FB3001C */ lw $s3, 0x1c($sp) +/* 084604 800EB154 8FB20018 */ lw $s2, 0x18($sp) +/* 084608 800EB158 8FB10014 */ lw $s1, 0x14($sp) +/* 08460C 800EB15C 8FB00010 */ lw $s0, 0x10($sp) +/* 084610 800EB160 03E00008 */ jr $ra +/* 084614 800EB164 27BD0028 */ addiu $sp, $sp, 0x28 + +func_800EB168: +/* 084618 800EB168 3C038011 */ lui $v1, 0x8011 +/* 08461C 800EB16C 8C63CFD8 */ lw $v1, -0x3028($v1) +/* 084620 800EB170 3C058011 */ lui $a1, 0x8011 +/* 084624 800EB174 24A5EFC8 */ addiu $a1, $a1, -0x1038 +/* 084628 800EB178 1064000C */ beq $v1, $a0, .L800EB1AC +/* 08462C 800EB17C 24020001 */ addiu $v0, $zero, 1 +/* 084630 800EB180 3C018011 */ lui $at, 0x8011 +/* 084634 800EB184 AC22CFE0 */ sw $v0, -0x3020($at) +/* 084638 800EB188 3C018011 */ lui $at, 0x8011 +/* 08463C 800EB18C AC24CFE4 */ sw $a0, -0x301c($at) +/* 084640 800EB190 10600008 */ beqz $v1, .L800EB1B4 +/* 084644 800EB194 00000000 */ nop +/* 084648 800EB198 10800009 */ beqz $a0, .L800EB1C0 +/* 08464C 800EB19C 24020004 */ addiu $v0, $zero, 4 +/* 084650 800EB1A0 24020003 */ addiu $v0, $zero, 3 +/* 084654 800EB1A4 3C018011 */ lui $at, 0x8011 +/* 084658 800EB1A8 AC22CFE8 */ sw $v0, -0x3018($at) +.L800EB1AC: +/* 08465C 800EB1AC 03E00008 */ jr $ra +/* 084660 800EB1B0 00000000 */ nop + +.L800EB1B4: +/* 084664 800EB1B4 14800006 */ bnez $a0, .L800EB1D0 +/* 084668 800EB1B8 24020006 */ addiu $v0, $zero, 6 +/* 08466C 800EB1BC 24020004 */ addiu $v0, $zero, 4 +.L800EB1C0: +/* 084670 800EB1C0 3C018011 */ lui $at, 0x8011 +/* 084674 800EB1C4 AC22CFE8 */ sw $v0, -0x3018($at) +/* 084678 800EB1C8 03E00008 */ jr $ra +/* 08467C 800EB1CC 00000000 */ nop + +.L800EB1D0: +/* 084680 800EB1D0 C4A00028 */ lwc1 $f0, 0x28($a1) +/* 084684 800EB1D4 C4A2002C */ lwc1 $f2, 0x2c($a1) +/* 084688 800EB1D8 C4A40030 */ lwc1 $f4, 0x30($a1) +/* 08468C 800EB1DC 3C018011 */ lui $at, 0x8011 +/* 084690 800EB1E0 AC22CFE8 */ sw $v0, -0x3018($at) +/* 084694 800EB1E4 3C018010 */ lui $at, 0x8010 +/* 084698 800EB1E8 E420833C */ swc1 $f0, -0x7cc4($at) +/* 08469C 800EB1EC 3C018010 */ lui $at, 0x8010 +/* 0846A0 800EB1F0 E4228340 */ swc1 $f2, -0x7cc0($at) +/* 0846A4 800EB1F4 3C018010 */ lui $at, 0x8010 +/* 0846A8 800EB1F8 03E00008 */ jr $ra +/* 0846AC 800EB1FC E4248344 */ swc1 $f4, -0x7cbc($at) + +func_800EB200: +/* 0846B0 800EB200 3C058011 */ lui $a1, 0x8011 +/* 0846B4 800EB204 24A5EFC8 */ addiu $a1, $a1, -0x1038 +/* 0846B8 800EB208 3C038011 */ lui $v1, 0x8011 +/* 0846BC 800EB20C 8C63CFD8 */ lw $v1, -0x3028($v1) +/* 0846C0 800EB210 3C068011 */ lui $a2, 0x8011 +/* 0846C4 800EB214 24C6EBB0 */ addiu $a2, $a2, -0x1450 +/* 0846C8 800EB218 1064000D */ beq $v1, $a0, .L800EB250 +/* 0846CC 800EB21C 24020001 */ addiu $v0, $zero, 1 +/* 0846D0 800EB220 3C018011 */ lui $at, 0x8011 +/* 0846D4 800EB224 AC22CFE0 */ sw $v0, -0x3020($at) +/* 0846D8 800EB228 3C018011 */ lui $at, 0x8011 +/* 0846DC 800EB22C AC24CFE4 */ sw $a0, -0x301c($at) +/* 0846E0 800EB230 A0C00000 */ sb $zero, ($a2) +/* 0846E4 800EB234 10600008 */ beqz $v1, .L800EB258 +/* 0846E8 800EB238 A0C00001 */ sb $zero, 1($a2) +/* 0846EC 800EB23C 10800009 */ beqz $a0, .L800EB264 +/* 0846F0 800EB240 24020004 */ addiu $v0, $zero, 4 +/* 0846F4 800EB244 24020002 */ addiu $v0, $zero, 2 +/* 0846F8 800EB248 3C018011 */ lui $at, 0x8011 +/* 0846FC 800EB24C AC22CFE8 */ sw $v0, -0x3018($at) +.L800EB250: +/* 084700 800EB250 03E00008 */ jr $ra +/* 084704 800EB254 00000000 */ nop + +.L800EB258: +/* 084708 800EB258 14800006 */ bnez $a0, .L800EB274 +/* 08470C 800EB25C 24020006 */ addiu $v0, $zero, 6 +/* 084710 800EB260 24020004 */ addiu $v0, $zero, 4 +.L800EB264: +/* 084714 800EB264 3C018011 */ lui $at, 0x8011 +/* 084718 800EB268 AC22CFE8 */ sw $v0, -0x3018($at) +/* 08471C 800EB26C 03E00008 */ jr $ra +/* 084720 800EB270 00000000 */ nop + +.L800EB274: +/* 084724 800EB274 C4A00028 */ lwc1 $f0, 0x28($a1) +/* 084728 800EB278 C4A2002C */ lwc1 $f2, 0x2c($a1) +/* 08472C 800EB27C C4A40030 */ lwc1 $f4, 0x30($a1) +/* 084730 800EB280 3C018011 */ lui $at, 0x8011 +/* 084734 800EB284 AC22CFE8 */ sw $v0, -0x3018($at) +/* 084738 800EB288 3C018010 */ lui $at, 0x8010 +/* 08473C 800EB28C E420833C */ swc1 $f0, -0x7cc4($at) +/* 084740 800EB290 3C018010 */ lui $at, 0x8010 +/* 084744 800EB294 E4228340 */ swc1 $f2, -0x7cc0($at) +/* 084748 800EB298 3C018010 */ lui $at, 0x8010 +/* 08474C 800EB29C 03E00008 */ jr $ra +/* 084750 800EB2A0 E4248344 */ swc1 $f4, -0x7cbc($at) + +/* 084754 800EB2A4 3C038011 */ lui $v1, 0x8011 +/* 084758 800EB2A8 8C63CFD8 */ lw $v1, -0x3028($v1) +/* 08475C 800EB2AC 1064000C */ beq $v1, $a0, .L800EB2E0 +/* 084760 800EB2B0 24020001 */ addiu $v0, $zero, 1 +/* 084764 800EB2B4 3C018011 */ lui $at, 0x8011 +/* 084768 800EB2B8 AC22CFE0 */ sw $v0, -0x3020($at) +/* 08476C 800EB2BC 3C018011 */ lui $at, 0x8011 +/* 084770 800EB2C0 AC24CFE4 */ sw $a0, -0x301c($at) +/* 084774 800EB2C4 10600008 */ beqz $v1, .L800EB2E8 +/* 084778 800EB2C8 00000000 */ nop +/* 08477C 800EB2CC 10800009 */ beqz $a0, .L800EB2F4 +/* 084780 800EB2D0 24020005 */ addiu $v0, $zero, 5 +/* 084784 800EB2D4 24020003 */ addiu $v0, $zero, 3 +/* 084788 800EB2D8 3C018011 */ lui $at, 0x8011 +/* 08478C 800EB2DC AC22CFE8 */ sw $v0, -0x3018($at) +.L800EB2E0: +/* 084790 800EB2E0 03E00008 */ jr $ra +/* 084794 800EB2E4 00000000 */ nop + +.L800EB2E8: +/* 084798 800EB2E8 14800006 */ bnez $a0, .L800EB304 +/* 08479C 800EB2EC 24020007 */ addiu $v0, $zero, 7 +/* 0847A0 800EB2F0 24020005 */ addiu $v0, $zero, 5 +.L800EB2F4: +/* 0847A4 800EB2F4 3C018011 */ lui $at, 0x8011 +/* 0847A8 800EB2F8 AC22CFE8 */ sw $v0, -0x3018($at) +/* 0847AC 800EB2FC 03E00008 */ jr $ra +/* 0847B0 800EB300 00000000 */ nop + +.L800EB304: +/* 0847B4 800EB304 3C018011 */ lui $at, 0x8011 +/* 0847B8 800EB308 AC22CFE8 */ sw $v0, -0x3018($at) +/* 0847BC 800EB30C 03E00008 */ jr $ra +/* 0847C0 800EB310 00000000 */ nop + +use_partner_ability: +/* 0847C4 800EB314 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 0847C8 800EB318 AFBF0010 */ sw $ra, 0x10($sp) +/* 0847CC 800EB31C 0C011052 */ jal func_80044148 +/* 0847D0 800EB320 00000000 */ nop +/* 0847D4 800EB324 1440002B */ bnez $v0, .L800EB3D4 +/* 0847D8 800EB328 0000102D */ daddu $v0, $zero, $zero +/* 0847DC 800EB32C 3C028011 */ lui $v0, 0x8011 +/* 0847E0 800EB330 8C42CFEC */ lw $v0, -0x3014($v0) +/* 0847E4 800EB334 50400027 */ beql $v0, $zero, .L800EB3D4 +/* 0847E8 800EB338 0000102D */ daddu $v0, $zero, $zero +/* 0847EC 800EB33C 8C42002C */ lw $v0, 0x2c($v0) +/* 0847F0 800EB340 10400007 */ beqz $v0, .L800EB360 +/* 0847F4 800EB344 00000000 */ nop +/* 0847F8 800EB348 3C048011 */ lui $a0, 0x8011 +/* 0847FC 800EB34C 8C84C930 */ lw $a0, -0x36d0($a0) +/* 084800 800EB350 0040F809 */ jalr $v0 +/* 084804 800EB354 00000000 */ nop +/* 084808 800EB358 1040001E */ beqz $v0, .L800EB3D4 +/* 08480C 800EB35C 0000102D */ daddu $v0, $zero, $zero +.L800EB360: +/* 084810 800EB360 3C028007 */ lui $v0, 0x8007 +/* 084814 800EB364 8C42419C */ lw $v0, 0x419c($v0) +/* 084818 800EB368 80420081 */ lb $v0, 0x81($v0) +/* 08481C 800EB36C 1040000B */ beqz $v0, .L800EB39C +/* 084820 800EB370 00000000 */ nop +/* 084824 800EB374 3C028011 */ lui $v0, 0x8011 +/* 084828 800EB378 2442EBB0 */ addiu $v0, $v0, -0x1450 +/* 08482C 800EB37C 8C420008 */ lw $v0, 8($v0) +/* 084830 800EB380 30424000 */ andi $v0, $v0, 0x4000 +/* 084834 800EB384 10400005 */ beqz $v0, .L800EB39C +/* 084838 800EB388 00000000 */ nop +/* 08483C 800EB38C 0C05272D */ jal play_sound +/* 084840 800EB390 2404021D */ addiu $a0, $zero, 0x21d +/* 084844 800EB394 0803ACF5 */ j .L800EB3D4 +/* 084848 800EB398 0000102D */ daddu $v0, $zero, $zero + +.L800EB39C: +/* 08484C 800EB39C 3C028011 */ lui $v0, 0x8011 +/* 084850 800EB3A0 8C42CFD8 */ lw $v0, -0x3028($v0) +/* 084854 800EB3A4 1040000A */ beqz $v0, .L800EB3D0 +/* 084858 800EB3A8 24020001 */ addiu $v0, $zero, 1 +/* 08485C 800EB3AC 3C018011 */ lui $at, 0x8011 +/* 084860 800EB3B0 AC22CFE0 */ sw $v0, -0x3020($at) +/* 084864 800EB3B4 24020008 */ addiu $v0, $zero, 8 +/* 084868 800EB3B8 3C018011 */ lui $at, 0x8011 +/* 08486C 800EB3BC AC22CFE8 */ sw $v0, -0x3018($at) +/* 084870 800EB3C0 0C03A9B3 */ jal func_800EA6CC +/* 084874 800EB3C4 00000000 */ nop +/* 084878 800EB3C8 0803ACF5 */ j .L800EB3D4 +/* 08487C 800EB3CC 24020001 */ addiu $v0, $zero, 1 + +.L800EB3D0: +/* 084880 800EB3D0 0000102D */ daddu $v0, $zero, $zero +.L800EB3D4: +/* 084884 800EB3D4 8FBF0010 */ lw $ra, 0x10($sp) +/* 084888 800EB3D8 03E00008 */ jr $ra +/* 08488C 800EB3DC 27BD0018 */ addiu $sp, $sp, 0x18 + +func_800EB3E0: +/* 084890 800EB3E0 3C028011 */ lui $v0, 0x8011 +/* 084894 800EB3E4 8C42CFEC */ lw $v0, -0x3014($v0) +/* 084898 800EB3E8 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 08489C 800EB3EC 1040000B */ beqz $v0, .L800EB41C +/* 0848A0 800EB3F0 AFBF0010 */ sw $ra, 0x10($sp) +/* 0848A4 800EB3F4 8C420030 */ lw $v0, 0x30($v0) +/* 0848A8 800EB3F8 50400009 */ beql $v0, $zero, .L800EB420 +/* 0848AC 800EB3FC 24020001 */ addiu $v0, $zero, 1 +/* 0848B0 800EB400 3C048011 */ lui $a0, 0x8011 +/* 0848B4 800EB404 8C84C930 */ lw $a0, -0x36d0($a0) +/* 0848B8 800EB408 0040F809 */ jalr $v0 +/* 0848BC 800EB40C 00000000 */ nop +/* 0848C0 800EB410 0040182D */ daddu $v1, $v0, $zero +/* 0848C4 800EB414 10600002 */ beqz $v1, .L800EB420 +/* 0848C8 800EB418 0000102D */ daddu $v0, $zero, $zero +.L800EB41C: +/* 0848CC 800EB41C 24020001 */ addiu $v0, $zero, 1 +.L800EB420: +/* 0848D0 800EB420 8FBF0010 */ lw $ra, 0x10($sp) +/* 0848D4 800EB424 03E00008 */ jr $ra +/* 0848D8 800EB428 27BD0018 */ addiu $sp, $sp, 0x18 + +func_800EB42C: +/* 0848DC 800EB42C 3C028011 */ lui $v0, 0x8011 +/* 0848E0 800EB430 8C42CFEC */ lw $v0, -0x3014($v0) +/* 0848E4 800EB434 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 0848E8 800EB438 AFBF0010 */ sw $ra, 0x10($sp) +/* 0848EC 800EB43C 8C42002C */ lw $v0, 0x2c($v0) +/* 0848F0 800EB440 50400009 */ beql $v0, $zero, .L800EB468 +/* 0848F4 800EB444 0000102D */ daddu $v0, $zero, $zero +/* 0848F8 800EB448 3C048011 */ lui $a0, 0x8011 +/* 0848FC 800EB44C 8C84C930 */ lw $a0, -0x36d0($a0) +/* 084900 800EB450 0040F809 */ jalr $v0 +/* 084904 800EB454 00000000 */ nop +/* 084908 800EB458 0040182D */ daddu $v1, $v0, $zero +/* 08490C 800EB45C 10600002 */ beqz $v1, .L800EB468 +/* 084910 800EB460 24020001 */ addiu $v0, $zero, 1 +/* 084914 800EB464 0000102D */ daddu $v0, $zero, $zero +.L800EB468: +/* 084918 800EB468 8FBF0010 */ lw $ra, 0x10($sp) +/* 08491C 800EB46C 03E00008 */ jr $ra +/* 084920 800EB470 27BD0018 */ addiu $sp, $sp, 0x18 + +func_800EB474: +/* 084924 800EB474 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 084928 800EB478 AFB10014 */ sw $s1, 0x14($sp) +/* 08492C 800EB47C 3C118011 */ lui $s1, 0x8011 +/* 084930 800EB480 2631EBB0 */ addiu $s1, $s1, -0x1450 +/* 084934 800EB484 0220202D */ daddu $a0, $s1, $zero +/* 084938 800EB488 AFB00010 */ sw $s0, 0x10($sp) +/* 08493C 800EB48C 3C108011 */ lui $s0, 0x8011 +/* 084940 800EB490 8210F2A2 */ lb $s0, -0xd5e($s0) +/* 084944 800EB494 AFBF0018 */ sw $ra, 0x18($sp) +/* 084948 800EB498 0C00A580 */ jal mem_clear +/* 08494C 800EB49C 24050360 */ addiu $a1, $zero, 0x360 +/* 084950 800EB4A0 3C04800F */ lui $a0, 0x800f +/* 084954 800EB4A4 2484A6CC */ addiu $a0, $a0, -0x5934 +/* 084958 800EB4A8 0C048C8F */ jal func_8012323C +/* 08495C 800EB4AC 0000282D */ daddu $a1, $zero, $zero +/* 084960 800EB4B0 0C048D8F */ jal func_8012363C +/* 084964 800EB4B4 0040202D */ daddu $a0, $v0, $zero +/* 084968 800EB4B8 24040001 */ addiu $a0, $zero, 1 +/* 08496C 800EB4BC 3C068011 */ lui $a2, 0x8011 +/* 084970 800EB4C0 24C6CFE8 */ addiu $a2, $a2, -0x3018 +/* 084974 800EB4C4 24020009 */ addiu $v0, $zero, 9 +/* 084978 800EB4C8 3C018011 */ lui $at, 0x8011 +/* 08497C 800EB4CC AC24CFE0 */ sw $a0, -0x3020($at) +/* 084980 800EB4D0 ACC20000 */ sw $v0, ($a2) +/* 084984 800EB4D4 3C038007 */ lui $v1, 0x8007 +/* 084988 800EB4D8 8C63419C */ lw $v1, 0x419c($v1) +/* 08498C 800EB4DC 3C058011 */ lui $a1, 0x8011 +/* 084990 800EB4E0 24A5CFD8 */ addiu $a1, $a1, -0x3028 +/* 084994 800EB4E4 ACB00000 */ sw $s0, ($a1) +/* 084998 800EB4E8 8062007D */ lb $v0, 0x7d($v1) +/* 08499C 800EB4EC 3C108011 */ lui $s0, 0x8011 +/* 0849A0 800EB4F0 2610EFC8 */ addiu $s0, $s0, -0x1038 +/* 0849A4 800EB4F4 10400003 */ beqz $v0, .L800EB504 +/* 0849A8 800EB4F8 00000000 */ nop +/* 0849AC 800EB4FC A2240000 */ sb $a0, ($s1) +/* 0849B0 800EB500 A060007D */ sb $zero, 0x7d($v1) +.L800EB504: +/* 0849B4 800EB504 C6000028 */ lwc1 $f0, 0x28($s0) +/* 0849B8 800EB508 C602002C */ lwc1 $f2, 0x2c($s0) +/* 0849BC 800EB50C C6040030 */ lwc1 $f4, 0x30($s0) +/* 0849C0 800EB510 8CA20000 */ lw $v0, ($a1) +/* 0849C4 800EB514 3C018011 */ lui $at, 0x8011 +/* 0849C8 800EB518 AC20CFEC */ sw $zero, -0x3014($at) +/* 0849CC 800EB51C 3C018010 */ lui $at, 0x8010 +/* 0849D0 800EB520 E420833C */ swc1 $f0, -0x7cc4($at) +/* 0849D4 800EB524 3C018010 */ lui $at, 0x8010 +/* 0849D8 800EB528 E4228340 */ swc1 $f2, -0x7cc0($at) +/* 0849DC 800EB52C 3C018010 */ lui $at, 0x8010 +/* 0849E0 800EB530 14400003 */ bnez $v0, .L800EB540 +/* 0849E4 800EB534 E4248344 */ swc1 $f4, -0x7cbc($at) +/* 0849E8 800EB538 0803AD5B */ j .L800EB56C +/* 0849EC 800EB53C ACC40000 */ sw $a0, ($a2) + +.L800EB540: +/* 0849F0 800EB540 0C03A974 */ jal func_800EA5D0 +/* 0849F4 800EB544 00000000 */ nop +/* 0849F8 800EB548 3C028011 */ lui $v0, 0x8011 +/* 0849FC 800EB54C 8C42C930 */ lw $v0, -0x36d0($v0) +/* 084A00 800EB550 3C013F80 */ lui $at, 0x3f80 +/* 084A04 800EB554 44810000 */ mtc1 $at, $f0 +/* 084A08 800EB558 00000000 */ nop +/* 084A0C 800EB55C E4400054 */ swc1 $f0, 0x54($v0) +/* 084A10 800EB560 E4400058 */ swc1 $f0, 0x58($v0) +/* 084A14 800EB564 0C03A9B3 */ jal func_800EA6CC +/* 084A18 800EB568 E440005C */ swc1 $f0, 0x5c($v0) +.L800EB56C: +/* 084A1C 800EB56C 8FBF0018 */ lw $ra, 0x18($sp) +/* 084A20 800EB570 8FB10014 */ lw $s1, 0x14($sp) +/* 084A24 800EB574 8FB00010 */ lw $s0, 0x10($sp) +/* 084A28 800EB578 03E00008 */ jr $ra +/* 084A2C 800EB57C 27BD0020 */ addiu $sp, $sp, 0x20 + +func_800EB580: +/* 084A30 800EB580 3C028011 */ lui $v0, 0x8011 +/* 084A34 800EB584 2442EBB0 */ addiu $v0, $v0, -0x1450 +/* 084A38 800EB588 3C018011 */ lui $at, 0x8011 +/* 084A3C 800EB58C AC20CFD8 */ sw $zero, -0x3028($at) +/* 084A40 800EB590 3C018011 */ lui $at, 0x8011 +/* 084A44 800EB594 AC20CFE0 */ sw $zero, -0x3020($at) +/* 084A48 800EB598 3C018011 */ lui $at, 0x8011 +/* 084A4C 800EB59C AC20CFE8 */ sw $zero, -0x3018($at) +/* 084A50 800EB5A0 3C018011 */ lui $at, 0x8011 +/* 084A54 800EB5A4 AC20CFC4 */ sw $zero, -0x303c($at) +/* 084A58 800EB5A8 A0400003 */ sb $zero, 3($v0) +/* 084A5C 800EB5AC A0400014 */ sb $zero, 0x14($v0) +/* 084A60 800EB5B0 A0400001 */ sb $zero, 1($v0) +/* 084A64 800EB5B4 A0400000 */ sb $zero, ($v0) +/* 084A68 800EB5B8 AC400358 */ sw $zero, 0x358($v0) +/* 084A6C 800EB5BC A0400002 */ sb $zero, 2($v0) +/* 084A70 800EB5C0 3C018011 */ lui $at, 0x8011 +/* 084A74 800EB5C4 AC20CFEC */ sw $zero, -0x3014($at) +/* 084A78 800EB5C8 3C018010 */ lui $at, 0x8010 +/* 084A7C 800EB5CC AC20833C */ sw $zero, -0x7cc4($at) +/* 084A80 800EB5D0 3C018010 */ lui $at, 0x8010 +/* 084A84 800EB5D4 AC208340 */ sw $zero, -0x7cc0($at) +/* 084A88 800EB5D8 3C018010 */ lui $at, 0x8010 +/* 084A8C 800EB5DC 03E00008 */ jr $ra +/* 084A90 800EB5E0 AC208344 */ sw $zero, -0x7cbc($at) + +func_800EB5E4: +/* 084A94 800EB5E4 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 084A98 800EB5E8 3C028011 */ lui $v0, 0x8011 +/* 084A9C 800EB5EC 8C42CFD8 */ lw $v0, -0x3028($v0) +/* 084AA0 800EB5F0 0080282D */ daddu $a1, $a0, $zero +/* 084AA4 800EB5F4 1040000C */ beqz $v0, .L800EB628 +/* 084AA8 800EB5F8 AFBF0010 */ sw $ra, 0x10($sp) +/* 084AAC 800EB5FC 3C028011 */ lui $v0, 0x8011 +/* 084AB0 800EB600 8C42CFEC */ lw $v0, -0x3014($v0) +/* 084AB4 800EB604 8C420028 */ lw $v0, 0x28($v0) +/* 084AB8 800EB608 50400008 */ beql $v0, $zero, .L800EB62C +/* 084ABC 800EB60C 0000102D */ daddu $v0, $zero, $zero +/* 084AC0 800EB610 3C048011 */ lui $a0, 0x8011 +/* 084AC4 800EB614 8C84C930 */ lw $a0, -0x36d0($a0) +/* 084AC8 800EB618 0040F809 */ jalr $v0 +/* 084ACC 800EB61C 00000000 */ nop +/* 084AD0 800EB620 0803AD8B */ j .L800EB62C +/* 084AD4 800EB624 00000000 */ nop + +.L800EB628: +/* 084AD8 800EB628 0000102D */ daddu $v0, $zero, $zero +.L800EB62C: +/* 084ADC 800EB62C 8FBF0010 */ lw $ra, 0x10($sp) +/* 084AE0 800EB630 03E00008 */ jr $ra +/* 084AE4 800EB634 27BD0018 */ addiu $sp, $sp, 0x18 + +func_800EB638: +/* 084AE8 800EB638 3C028011 */ lui $v0, 0x8011 +/* 084AEC 800EB63C 8C42CFEC */ lw $v0, -0x3014($v0) +/* 084AF0 800EB640 10400003 */ beqz $v0, .L800EB650 +/* 084AF4 800EB644 00000000 */ nop +/* 084AF8 800EB648 03E00008 */ jr $ra +/* 084AFC 800EB64C 8C42003C */ lw $v0, 0x3c($v0) + +.L800EB650: +/* 084B00 800EB650 03E00008 */ jr $ra +/* 084B04 800EB654 0000102D */ daddu $v0, $zero, $zero + +func_800EB658: +/* 084B08 800EB658 3C028011 */ lui $v0, 0x8011 +/* 084B0C 800EB65C 8C42CFD8 */ lw $v0, -0x3028($v0) +/* 084B10 800EB660 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 084B14 800EB664 AFBF0014 */ sw $ra, 0x14($sp) +/* 084B18 800EB668 10400012 */ beqz $v0, .L800EB6B4 +/* 084B1C 800EB66C AFB00010 */ sw $s0, 0x10($sp) +/* 084B20 800EB670 3C108011 */ lui $s0, 0x8011 +/* 084B24 800EB674 2610CFDC */ addiu $s0, $s0, -0x3024 +/* 084B28 800EB678 0C0B1059 */ jal does_script_exist +/* 084B2C 800EB67C 8E040000 */ lw $a0, ($s0) +/* 084B30 800EB680 10400003 */ beqz $v0, .L800EB690 +/* 084B34 800EB684 00000000 */ nop +/* 084B38 800EB688 0C0B102B */ jal kill_script_by_ID +/* 084B3C 800EB68C 8E040000 */ lw $a0, ($s0) +.L800EB690: +/* 084B40 800EB690 3C028011 */ lui $v0, 0x8011 +/* 084B44 800EB694 8C42CFEC */ lw $v0, -0x3014($v0) +/* 084B48 800EB698 8C420034 */ lw $v0, 0x34($v0) +/* 084B4C 800EB69C 10400005 */ beqz $v0, .L800EB6B4 +/* 084B50 800EB6A0 00000000 */ nop +/* 084B54 800EB6A4 3C048011 */ lui $a0, 0x8011 +/* 084B58 800EB6A8 8C84C930 */ lw $a0, -0x36d0($a0) +/* 084B5C 800EB6AC 0040F809 */ jalr $v0 +/* 084B60 800EB6B0 00000000 */ nop +.L800EB6B4: +/* 084B64 800EB6B4 8FBF0014 */ lw $ra, 0x14($sp) +/* 084B68 800EB6B8 8FB00010 */ lw $s0, 0x10($sp) +/* 084B6C 800EB6BC 03E00008 */ jr $ra +/* 084B70 800EB6C0 27BD0018 */ addiu $sp, $sp, 0x18 + +func_800EB6C4: +/* 084B74 800EB6C4 3C028011 */ lui $v0, 0x8011 +/* 084B78 800EB6C8 8C42CFD8 */ lw $v0, -0x3028($v0) +/* 084B7C 800EB6CC 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 084B80 800EB6D0 AFB10014 */ sw $s1, 0x14($sp) +/* 084B84 800EB6D4 3C118011 */ lui $s1, 0x8011 +/* 084B88 800EB6D8 2631EBB0 */ addiu $s1, $s1, -0x1450 +/* 084B8C 800EB6DC AFBF0018 */ sw $ra, 0x18($sp) +/* 084B90 800EB6E0 10400035 */ beqz $v0, .L800EB7B8 +/* 084B94 800EB6E4 AFB00010 */ sw $s0, 0x10($sp) +/* 084B98 800EB6E8 3C108011 */ lui $s0, 0x8011 +/* 084B9C 800EB6EC 2610CFDC */ addiu $s0, $s0, -0x3024 +/* 084BA0 800EB6F0 0C0B1059 */ jal does_script_exist +/* 084BA4 800EB6F4 8E040000 */ lw $a0, ($s0) +/* 084BA8 800EB6F8 10400003 */ beqz $v0, .L800EB708 +/* 084BAC 800EB6FC 00000000 */ nop +/* 084BB0 800EB700 0C0B102B */ jal kill_script_by_ID +/* 084BB4 800EB704 8E040000 */ lw $a0, ($s0) +.L800EB708: +/* 084BB8 800EB708 3C028011 */ lui $v0, 0x8011 +/* 084BBC 800EB70C 8C42CFEC */ lw $v0, -0x3014($v0) +/* 084BC0 800EB710 24050014 */ addiu $a1, $zero, 0x14 +/* 084BC4 800EB714 8C440018 */ lw $a0, 0x18($v0) +/* 084BC8 800EB718 0C0B0CF8 */ jal start_script +/* 084BCC 800EB71C 24060020 */ addiu $a2, $zero, 0x20 +/* 084BD0 800EB720 3C038011 */ lui $v1, 0x8011 +/* 084BD4 800EB724 8C63C930 */ lw $v1, -0x36d0($v1) +/* 084BD8 800EB728 8C440144 */ lw $a0, 0x144($v0) +/* 084BDC 800EB72C 3C018011 */ lui $at, 0x8011 +/* 084BE0 800EB730 AC22CFD4 */ sw $v0, -0x302c($at) +/* 084BE4 800EB734 AC43014C */ sw $v1, 0x14c($v0) +/* 084BE8 800EB738 2403000A */ addiu $v1, $zero, 0xa +/* 084BEC 800EB73C AE040000 */ sw $a0, ($s0) +/* 084BF0 800EB740 A0430004 */ sb $v1, 4($v0) +/* 084BF4 800EB744 24020001 */ addiu $v0, $zero, 1 +/* 084BF8 800EB748 3C018011 */ lui $at, 0x8011 +/* 084BFC 800EB74C AC22CFE8 */ sw $v0, -0x3018($at) +/* 084C00 800EB750 3C028011 */ lui $v0, 0x8011 +/* 084C04 800EB754 2442F290 */ addiu $v0, $v0, -0xd70 +/* 084C08 800EB758 80420012 */ lb $v0, 0x12($v0) +/* 084C0C 800EB75C 24030006 */ addiu $v1, $zero, 6 +/* 084C10 800EB760 1043000C */ beq $v0, $v1, .L800EB794 +/* 084C14 800EB764 00000000 */ nop +/* 084C18 800EB768 82220003 */ lb $v0, 3($s1) +/* 084C1C 800EB76C 14430009 */ bne $v0, $v1, .L800EB794 +/* 084C20 800EB770 2403FFFE */ addiu $v1, $zero, -2 +/* 084C24 800EB774 3C04800F */ lui $a0, 0x800f +/* 084C28 800EB778 8C847B30 */ lw $a0, 0x7b30($a0) +/* 084C2C 800EB77C 8C820004 */ lw $v0, 4($a0) +/* 084C30 800EB780 00431024 */ and $v0, $v0, $v1 +/* 084C34 800EB784 2403FFFD */ addiu $v1, $zero, -3 +/* 084C38 800EB788 00431024 */ and $v0, $v0, $v1 +/* 084C3C 800EB78C AC820004 */ sw $v0, 4($a0) +/* 084C40 800EB790 A2200003 */ sb $zero, 3($s1) +.L800EB794: +/* 084C44 800EB794 3C028011 */ lui $v0, 0x8011 +/* 084C48 800EB798 8C42CFEC */ lw $v0, -0x3014($v0) +/* 084C4C 800EB79C 8C420038 */ lw $v0, 0x38($v0) +/* 084C50 800EB7A0 10400005 */ beqz $v0, .L800EB7B8 +/* 084C54 800EB7A4 00000000 */ nop +/* 084C58 800EB7A8 3C048011 */ lui $a0, 0x8011 +/* 084C5C 800EB7AC 8C84C930 */ lw $a0, -0x36d0($a0) +/* 084C60 800EB7B0 0040F809 */ jalr $v0 +/* 084C64 800EB7B4 00000000 */ nop +.L800EB7B8: +/* 084C68 800EB7B8 8FBF0018 */ lw $ra, 0x18($sp) +/* 084C6C 800EB7BC 8FB10014 */ lw $s1, 0x14($sp) +/* 084C70 800EB7C0 8FB00010 */ lw $s0, 0x10($sp) +/* 084C74 800EB7C4 03E00008 */ jr $ra +/* 084C78 800EB7C8 27BD0020 */ addiu $sp, $sp, 0x20 + +/* 084C7C 800EB7CC 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 084C80 800EB7D0 AFB00010 */ sw $s0, 0x10($sp) +/* 084C84 800EB7D4 3C108011 */ lui $s0, 0x8011 +/* 084C88 800EB7D8 2610CFDC */ addiu $s0, $s0, -0x3024 +/* 084C8C 800EB7DC AFBF0014 */ sw $ra, 0x14($sp) +/* 084C90 800EB7E0 8E040000 */ lw $a0, ($s0) +/* 084C94 800EB7E4 2402000A */ addiu $v0, $zero, 0xa +/* 084C98 800EB7E8 3C018011 */ lui $at, 0x8011 +/* 084C9C 800EB7EC AC22CFE8 */ sw $v0, -0x3018($at) +/* 084CA0 800EB7F0 0C0B1059 */ jal does_script_exist +/* 084CA4 800EB7F4 00000000 */ nop +/* 084CA8 800EB7F8 10400003 */ beqz $v0, .L800EB808 +/* 084CAC 800EB7FC 00000000 */ nop +/* 084CB0 800EB800 0C0B102B */ jal kill_script_by_ID +/* 084CB4 800EB804 8E040000 */ lw $a0, ($s0) +.L800EB808: +/* 084CB8 800EB808 8FBF0014 */ lw $ra, 0x14($sp) +/* 084CBC 800EB80C 8FB00010 */ lw $s0, 0x10($sp) +/* 084CC0 800EB810 03E00008 */ jr $ra +/* 084CC4 800EB814 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 084CC8 800EB818 3C028011 */ lui $v0, 0x8011 +/* 084CCC 800EB81C 8C42CFD8 */ lw $v0, -0x3028($v0) +/* 084CD0 800EB820 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 084CD4 800EB824 AFBF0014 */ sw $ra, 0x14($sp) +/* 084CD8 800EB828 10400009 */ beqz $v0, .L800EB850 +/* 084CDC 800EB82C AFB00010 */ sw $s0, 0x10($sp) +/* 084CE0 800EB830 3C108011 */ lui $s0, 0x8011 +/* 084CE4 800EB834 2610CFDC */ addiu $s0, $s0, -0x3024 +/* 084CE8 800EB838 0C0B1059 */ jal does_script_exist +/* 084CEC 800EB83C 8E040000 */ lw $a0, ($s0) +/* 084CF0 800EB840 10400003 */ beqz $v0, .L800EB850 +/* 084CF4 800EB844 00000000 */ nop +/* 084CF8 800EB848 0C0B1108 */ jal suspend_all_script +/* 084CFC 800EB84C 8E040000 */ lw $a0, ($s0) +.L800EB850: +/* 084D00 800EB850 8FBF0014 */ lw $ra, 0x14($sp) +/* 084D04 800EB854 8FB00010 */ lw $s0, 0x10($sp) +/* 084D08 800EB858 03E00008 */ jr $ra +/* 084D0C 800EB85C 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 084D10 800EB860 3C028011 */ lui $v0, 0x8011 +/* 084D14 800EB864 8C42CFD8 */ lw $v0, -0x3028($v0) +/* 084D18 800EB868 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 084D1C 800EB86C AFBF0014 */ sw $ra, 0x14($sp) +/* 084D20 800EB870 10400009 */ beqz $v0, .L800EB898 +/* 084D24 800EB874 AFB00010 */ sw $s0, 0x10($sp) +/* 084D28 800EB878 3C108011 */ lui $s0, 0x8011 +/* 084D2C 800EB87C 2610CFDC */ addiu $s0, $s0, -0x3024 +/* 084D30 800EB880 0C0B1059 */ jal does_script_exist +/* 084D34 800EB884 8E040000 */ lw $a0, ($s0) +/* 084D38 800EB888 10400003 */ beqz $v0, .L800EB898 +/* 084D3C 800EB88C 00000000 */ nop +/* 084D40 800EB890 0C0B1123 */ jal resume_all_script +/* 084D44 800EB894 8E040000 */ lw $a0, ($s0) +.L800EB898: +/* 084D48 800EB898 8FBF0014 */ lw $ra, 0x14($sp) +/* 084D4C 800EB89C 8FB00010 */ lw $s0, 0x10($sp) +/* 084D50 800EB8A0 03E00008 */ jr $ra +/* 084D54 800EB8A4 27BD0018 */ addiu $sp, $sp, 0x18 + +enable_partner_walking: +/* 084D58 800EB8A8 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 084D5C 800EB8AC AFB00010 */ sw $s0, 0x10($sp) +/* 084D60 800EB8B0 0080802D */ daddu $s0, $a0, $zero +/* 084D64 800EB8B4 3C078011 */ lui $a3, 0x8011 +/* 084D68 800EB8B8 24E7EFC8 */ addiu $a3, $a3, -0x1038 +/* 084D6C 800EB8BC 3C048011 */ lui $a0, 0x8011 +/* 084D70 800EB8C0 2484CD38 */ addiu $a0, $a0, -0x32c8 +/* 084D74 800EB8C4 0000302D */ daddu $a2, $zero, $zero +/* 084D78 800EB8C8 3C018010 */ lui $at, 0x8010 +/* 084D7C 800EB8CC C420833C */ lwc1 $f0, -0x7cc4($at) +/* 084D80 800EB8D0 3C018010 */ lui $at, 0x8010 +/* 084D84 800EB8D4 C4228340 */ lwc1 $f2, -0x7cc0($at) +/* 084D88 800EB8D8 3C018010 */ lui $at, 0x8010 +/* 084D8C 800EB8DC C4248344 */ lwc1 $f4, -0x7cbc($at) +/* 084D90 800EB8E0 2483000C */ addiu $v1, $a0, 0xc +/* 084D94 800EB8E4 AFBF0014 */ sw $ra, 0x14($sp) +/* 084D98 800EB8E8 E6000038 */ swc1 $f0, 0x38($s0) +/* 084D9C 800EB8EC E602003C */ swc1 $f2, 0x3c($s0) +/* 084DA0 800EB8F0 E6040040 */ swc1 $f4, 0x40($s0) +.L800EB8F4: +/* 084DA4 800EB8F4 C4E00028 */ lwc1 $f0, 0x28($a3) +/* 084DA8 800EB8F8 E460FFF8 */ swc1 $f0, -8($v1) +/* 084DAC 800EB8FC C4E0002C */ lwc1 $f0, 0x2c($a3) +/* 084DB0 800EB900 24C60001 */ addiu $a2, $a2, 1 +/* 084DB4 800EB904 E460FFFC */ swc1 $f0, -4($v1) +/* 084DB8 800EB908 C4E00030 */ lwc1 $f0, 0x30($a3) +/* 084DBC 800EB90C 28C20028 */ slti $v0, $a2, 0x28 +/* 084DC0 800EB910 E4600000 */ swc1 $f0, ($v1) +/* 084DC4 800EB914 24630010 */ addiu $v1, $v1, 0x10 +/* 084DC8 800EB918 A0800000 */ sb $zero, ($a0) +/* 084DCC 800EB91C 1440FFF5 */ bnez $v0, .L800EB8F4 +/* 084DD0 800EB920 24840010 */ addiu $a0, $a0, 0x10 +/* 084DD4 800EB924 3C038011 */ lui $v1, 0x8011 +/* 084DD8 800EB928 2463CFCA */ addiu $v1, $v1, -0x3036 +/* 084DDC 800EB92C 3C018011 */ lui $at, 0x8011 +/* 084DE0 800EB930 AC20CFB8 */ sw $zero, -0x3048($at) +/* 084DE4 800EB934 3C018011 */ lui $at, 0x8011 +/* 084DE8 800EB938 AC20CFBC */ sw $zero, -0x3044($at) +/* 084DEC 800EB93C 10A00003 */ beqz $a1, .L800EB94C +/* 084DF0 800EB940 24020002 */ addiu $v0, $zero, 2 +/* 084DF4 800EB944 0803AE54 */ j .L800EB950 +/* 084DF8 800EB948 A4620000 */ sh $v0, ($v1) + +.L800EB94C: +/* 084DFC 800EB94C A4600000 */ sh $zero, ($v1) +.L800EB950: +/* 084E00 800EB950 3C048011 */ lui $a0, 0x8011 +/* 084E04 800EB954 2484CFC8 */ addiu $a0, $a0, -0x3038 +/* 084E08 800EB958 3C058011 */ lui $a1, 0x8011 +/* 084E0C 800EB95C 24A5CFC4 */ addiu $a1, $a1, -0x303c +/* 084E10 800EB960 A4800000 */ sh $zero, ($a0) +/* 084E14 800EB964 8CA30000 */ lw $v1, ($a1) +/* 084E18 800EB968 24020001 */ addiu $v0, $zero, 1 +/* 084E1C 800EB96C 10620003 */ beq $v1, $v0, .L800EB97C +/* 084E20 800EB970 24020003 */ addiu $v0, $zero, 3 +/* 084E24 800EB974 14620006 */ bne $v1, $v0, .L800EB990 +/* 084E28 800EB978 24020002 */ addiu $v0, $zero, 2 +.L800EB97C: +/* 084E2C 800EB97C ACA00000 */ sw $zero, ($a1) +/* 084E30 800EB980 3C018011 */ lui $at, 0x8011 +/* 084E34 800EB984 A420CFCA */ sh $zero, -0x3036($at) +/* 084E38 800EB988 0803AE69 */ j .L800EB9A4 +/* 084E3C 800EB98C A4800000 */ sh $zero, ($a0) + +.L800EB990: +/* 084E40 800EB990 14620004 */ bne $v1, $v0, .L800EB9A4 +/* 084E44 800EB994 24020032 */ addiu $v0, $zero, 0x32 +/* 084E48 800EB998 3C018011 */ lui $at, 0x8011 +/* 084E4C 800EB99C A420CFCA */ sh $zero, -0x3036($at) +/* 084E50 800EB9A0 A4820000 */ sh $v0, ($a0) +.L800EB9A4: +/* 084E54 800EB9A4 3C038011 */ lui $v1, 0x8011 +/* 084E58 800EB9A8 8C63CFD8 */ lw $v1, -0x3028($v1) +/* 084E5C 800EB9AC 3C014220 */ lui $at, 0x4220 +/* 084E60 800EB9B0 44810000 */ mtc1 $at, $f0 +/* 084E64 800EB9B4 0200202D */ daddu $a0, $s0, $zero +/* 084E68 800EB9B8 3C018011 */ lui $at, 0x8011 +/* 084E6C 800EB9BC A420CFCE */ sh $zero, -0x3032($at) +/* 084E70 800EB9C0 3C018011 */ lui $at, 0x8011 +/* 084E74 800EB9C4 A420CFCC */ sh $zero, -0x3034($at) +/* 084E78 800EB9C8 000310C0 */ sll $v0, $v1, 3 +/* 084E7C 800EB9CC 00431021 */ addu $v0, $v0, $v1 +/* 084E80 800EB9D0 00021080 */ sll $v0, $v0, 2 +/* 084E84 800EB9D4 3C038010 */ lui $v1, 0x8010 +/* 084E88 800EB9D8 00621821 */ addu $v1, $v1, $v0 +/* 084E8C 800EB9DC 8C63835C */ lw $v1, -0x7ca4($v1) +/* 084E90 800EB9E0 24020010 */ addiu $v0, $zero, 0x10 +/* 084E94 800EB9E4 3C018010 */ lui $at, 0x8010 +/* 084E98 800EB9E8 AC22802C */ sw $v0, -0x7fd4($at) +/* 084E9C 800EB9EC 3C018011 */ lui $at, 0x8011 +/* 084EA0 800EB9F0 E420CFC0 */ swc1 $f0, -0x3040($at) +/* 084EA4 800EB9F4 0C03A96E */ jal func_800EA5B8 +/* 084EA8 800EB9F8 AE030028 */ sw $v1, 0x28($s0) +/* 084EAC 800EB9FC 3C030040 */ lui $v1, 0x40 +/* 084EB0 800EBA00 3C020001 */ lui $v0, 1 +/* 084EB4 800EBA04 AE020080 */ sw $v0, 0x80($s0) +/* 084EB8 800EBA08 8E020000 */ lw $v0, ($s0) +/* 084EBC 800EBA0C 3C013FE6 */ lui $at, 0x3fe6 +/* 084EC0 800EBA10 34216666 */ ori $at, $at, 0x6666 +/* 084EC4 800EBA14 44810000 */ mtc1 $at, $f0 +/* 084EC8 800EBA18 34630300 */ ori $v1, $v1, 0x300 +/* 084ECC 800EBA1C AE00001C */ sw $zero, 0x1c($s0) +/* 084ED0 800EBA20 00431025 */ or $v0, $v0, $v1 +/* 084ED4 800EBA24 AE020000 */ sw $v0, ($s0) +/* 084ED8 800EBA28 E6000014 */ swc1 $f0, 0x14($s0) +/* 084EDC 800EBA2C 8FBF0014 */ lw $ra, 0x14($sp) +/* 084EE0 800EBA30 8FB00010 */ lw $s0, 0x10($sp) +/* 084EE4 800EBA34 03E00008 */ jr $ra +/* 084EE8 800EBA38 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 084EEC 800EBA3C 3C058011 */ lui $a1, 0x8011 +/* 084EF0 800EBA40 24A5EFC8 */ addiu $a1, $a1, -0x1038 +/* 084EF4 800EBA44 8CA20000 */ lw $v0, ($a1) +/* 084EF8 800EBA48 30420006 */ andi $v0, $v0, 6 +/* 084EFC 800EBA4C 10400005 */ beqz $v0, .L800EBA64 +/* 084F00 800EBA50 0000302D */ daddu $a2, $zero, $zero +/* 084F04 800EBA54 90A200B4 */ lbu $v0, 0xb4($a1) +/* 084F08 800EBA58 2442FFF7 */ addiu $v0, $v0, -9 +/* 084F0C 800EBA5C 2C420002 */ sltiu $v0, $v0, 2 +/* 084F10 800EBA60 38460001 */ xori $a2, $v0, 1 +.L800EBA64: +/* 084F14 800EBA64 3C028011 */ lui $v0, 0x8011 +/* 084F18 800EBA68 8C42CFB8 */ lw $v0, -0x3048($v0) +/* 084F1C 800EBA6C 3C038011 */ lui $v1, 0x8011 +/* 084F20 800EBA70 2463CD38 */ addiu $v1, $v1, -0x32c8 +/* 084F24 800EBA74 00021100 */ sll $v0, $v0, 4 +/* 084F28 800EBA78 00431821 */ addu $v1, $v0, $v1 +/* 084F2C 800EBA7C 80620000 */ lb $v0, ($v1) +/* 084F30 800EBA80 10400003 */ beqz $v0, .L800EBA90 +/* 084F34 800EBA84 00000000 */ nop +/* 084F38 800EBA88 14C0002B */ bnez $a2, .L800EBB38 +/* 084F3C 800EBA8C 00000000 */ nop +.L800EBA90: +/* 084F40 800EBA90 C4620004 */ lwc1 $f2, 4($v1) +/* 084F44 800EBA94 C4A00028 */ lwc1 $f0, 0x28($a1) +/* 084F48 800EBA98 46001032 */ c.eq.s $f2, $f0 +/* 084F4C 800EBA9C 00000000 */ nop +/* 084F50 800EBAA0 4500000D */ bc1f .L800EBAD8 +/* 084F54 800EBAA4 00000000 */ nop +/* 084F58 800EBAA8 C4620008 */ lwc1 $f2, 8($v1) +/* 084F5C 800EBAAC C4A0002C */ lwc1 $f0, 0x2c($a1) +/* 084F60 800EBAB0 46001032 */ c.eq.s $f2, $f0 +/* 084F64 800EBAB4 00000000 */ nop +/* 084F68 800EBAB8 45000007 */ bc1f .L800EBAD8 +/* 084F6C 800EBABC 00000000 */ nop +/* 084F70 800EBAC0 C462000C */ lwc1 $f2, 0xc($v1) +/* 084F74 800EBAC4 C4A00030 */ lwc1 $f0, 0x30($a1) +/* 084F78 800EBAC8 46001032 */ c.eq.s $f2, $f0 +/* 084F7C 800EBACC 00000000 */ nop +/* 084F80 800EBAD0 45010019 */ bc1t .L800EBB38 +/* 084F84 800EBAD4 00000000 */ nop +.L800EBAD8: +/* 084F88 800EBAD8 3C048011 */ lui $a0, 0x8011 +/* 084F8C 800EBADC 2484CFB8 */ addiu $a0, $a0, -0x3048 +/* 084F90 800EBAE0 8C820000 */ lw $v0, ($a0) +/* 084F94 800EBAE4 3C038011 */ lui $v1, 0x8011 +/* 084F98 800EBAE8 8C63CFBC */ lw $v1, -0x3044($v1) +/* 084F9C 800EBAEC 24420001 */ addiu $v0, $v0, 1 +/* 084FA0 800EBAF0 10620011 */ beq $v1, $v0, .L800EBB38 +/* 084FA4 800EBAF4 00000000 */ nop +/* 084FA8 800EBAF8 AC820000 */ sw $v0, ($a0) +/* 084FAC 800EBAFC 28420028 */ slti $v0, $v0, 0x28 +/* 084FB0 800EBB00 50400001 */ beql $v0, $zero, .L800EBB08 +/* 084FB4 800EBB04 AC800000 */ sw $zero, ($a0) +.L800EBB08: +/* 084FB8 800EBB08 3C038011 */ lui $v1, 0x8011 +/* 084FBC 800EBB0C 2463CD38 */ addiu $v1, $v1, -0x32c8 +/* 084FC0 800EBB10 8C820000 */ lw $v0, ($a0) +/* 084FC4 800EBB14 C4A00028 */ lwc1 $f0, 0x28($a1) +/* 084FC8 800EBB18 00021100 */ sll $v0, $v0, 4 +/* 084FCC 800EBB1C 00431821 */ addu $v1, $v0, $v1 +/* 084FD0 800EBB20 E4600004 */ swc1 $f0, 4($v1) +/* 084FD4 800EBB24 C4A0002C */ lwc1 $f0, 0x2c($a1) +/* 084FD8 800EBB28 E4600008 */ swc1 $f0, 8($v1) +/* 084FDC 800EBB2C C4A00030 */ lwc1 $f0, 0x30($a1) +/* 084FE0 800EBB30 A0660000 */ sb $a2, ($v1) +/* 084FE4 800EBB34 E460000C */ swc1 $f0, 0xc($v1) +.L800EBB38: +/* 084FE8 800EBB38 03E00008 */ jr $ra +/* 084FEC 800EBB3C 00000000 */ nop + +/* 084FF0 800EBB40 3C028007 */ lui $v0, 0x8007 +/* 084FF4 800EBB44 8C42419C */ lw $v0, 0x419c($v0) +/* 084FF8 800EBB48 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 084FFC 800EBB4C AFB00010 */ sw $s0, 0x10($sp) +/* 085000 800EBB50 AFB20018 */ sw $s2, 0x18($sp) +/* 085004 800EBB54 3C128011 */ lui $s2, 0x8011 +/* 085008 800EBB58 2652EFC8 */ addiu $s2, $s2, -0x1038 +/* 08500C 800EBB5C AFBF001C */ sw $ra, 0x1c($sp) +/* 085010 800EBB60 AFB10014 */ sw $s1, 0x14($sp) +/* 085014 800EBB64 80420081 */ lb $v0, 0x81($v0) +/* 085018 800EBB68 3C118011 */ lui $s1, 0x8011 +/* 08501C 800EBB6C 2631EBB0 */ addiu $s1, $s1, -0x1450 +/* 085020 800EBB70 1040000B */ beqz $v0, .L800EBBA0 +/* 085024 800EBB74 0080802D */ daddu $s0, $a0, $zero +/* 085028 800EBB78 8E420000 */ lw $v0, ($s2) +/* 08502C 800EBB7C 30423000 */ andi $v0, $v0, 0x3000 +/* 085030 800EBB80 14400007 */ bnez $v0, .L800EBBA0 +/* 085034 800EBB84 00000000 */ nop +/* 085038 800EBB88 82220014 */ lb $v0, 0x14($s1) +/* 08503C 800EBB8C 14400004 */ bnez $v0, .L800EBBA0 +/* 085040 800EBB90 00000000 */ nop +/* 085044 800EBB94 82220002 */ lb $v0, 2($s1) +/* 085048 800EBB98 1040000B */ beqz $v0, .L800EBBC8 +/* 08504C 800EBB9C 00000000 */ nop +.L800EBBA0: +/* 085050 800EBBA0 8E420004 */ lw $v0, 4($s2) +/* 085054 800EBBA4 30420800 */ andi $v0, $v0, 0x800 +/* 085058 800EBBA8 14400003 */ bnez $v0, .L800EBBB8 +/* 08505C 800EBBAC 00000000 */ nop +/* 085060 800EBBB0 0C03AF1D */ jal func_800EBC74 +/* 085064 800EBBB4 0200202D */ daddu $a0, $s0, $zero +.L800EBBB8: +/* 085068 800EBBB8 8E22000C */ lw $v0, 0xc($s1) +/* 08506C 800EBBBC 30426006 */ andi $v0, $v0, 0x6006 +/* 085070 800EBBC0 54400001 */ bnezl $v0, .L800EBBC8 +/* 085074 800EBBC4 A2200002 */ sb $zero, 2($s1) +.L800EBBC8: +/* 085078 800EBBC8 3C038011 */ lui $v1, 0x8011 +/* 08507C 800EBBCC 8463CFC8 */ lh $v1, -0x3038($v1) +/* 085080 800EBBD0 24020032 */ addiu $v0, $zero, 0x32 +/* 085084 800EBBD4 10620016 */ beq $v1, $v0, .L800EBC30 +/* 085088 800EBBD8 00000000 */ nop +/* 08508C 800EBBDC C600003C */ lwc1 $f0, 0x3c($s0) +/* 085090 800EBBE0 C642002C */ lwc1 $f2, 0x2c($s2) +/* 085094 800EBBE4 46020001 */ sub.s $f0, $f0, $f2 +/* 085098 800EBBE8 3C01447A */ lui $at, 0x447a +/* 08509C 800EBBEC 44811000 */ mtc1 $at, $f2 +/* 0850A0 800EBBF0 46000005 */ abs.s $f0, $f0 +/* 0850A4 800EBBF4 4600103C */ c.lt.s $f2, $f0 +/* 0850A8 800EBBF8 00000000 */ nop +/* 0850AC 800EBBFC 4500000C */ bc1f .L800EBC30 +/* 0850B0 800EBC00 2403F7FF */ addiu $v1, $zero, -0x801 +/* 0850B4 800EBC04 C6400028 */ lwc1 $f0, 0x28($s2) +/* 0850B8 800EBC08 8E020000 */ lw $v0, ($s0) +/* 0850BC 800EBC0C E6000038 */ swc1 $f0, 0x38($s0) +/* 0850C0 800EBC10 C640002C */ lwc1 $f0, 0x2c($s2) +/* 0850C4 800EBC14 E600003C */ swc1 $f0, 0x3c($s0) +/* 0850C8 800EBC18 C6400030 */ lwc1 $f0, 0x30($s2) +/* 0850CC 800EBC1C 00431024 */ and $v0, $v0, $v1 +/* 0850D0 800EBC20 AE00001C */ sw $zero, 0x1c($s0) +/* 0850D4 800EBC24 AE000014 */ sw $zero, 0x14($s0) +/* 0850D8 800EBC28 AE020000 */ sw $v0, ($s0) +/* 0850DC 800EBC2C E6000040 */ swc1 $f0, 0x40($s0) +.L800EBC30: +/* 0850E0 800EBC30 0C03BD90 */ jal func_800EF640 +/* 0850E4 800EBC34 0200202D */ daddu $a0, $s0, $zero +/* 0850E8 800EBC38 C6000038 */ lwc1 $f0, 0x38($s0) +/* 0850EC 800EBC3C C602003C */ lwc1 $f2, 0x3c($s0) +/* 0850F0 800EBC40 C6040040 */ lwc1 $f4, 0x40($s0) +/* 0850F4 800EBC44 8FBF001C */ lw $ra, 0x1c($sp) +/* 0850F8 800EBC48 8FB20018 */ lw $s2, 0x18($sp) +/* 0850FC 800EBC4C 8FB10014 */ lw $s1, 0x14($sp) +/* 085100 800EBC50 8FB00010 */ lw $s0, 0x10($sp) +/* 085104 800EBC54 3C018010 */ lui $at, 0x8010 +/* 085108 800EBC58 E420833C */ swc1 $f0, -0x7cc4($at) +/* 08510C 800EBC5C 3C018010 */ lui $at, 0x8010 +/* 085110 800EBC60 E4228340 */ swc1 $f2, -0x7cc0($at) +/* 085114 800EBC64 3C018010 */ lui $at, 0x8010 +/* 085118 800EBC68 E4248344 */ swc1 $f4, -0x7cbc($at) +/* 08511C 800EBC6C 03E00008 */ jr $ra +/* 085120 800EBC70 27BD0020 */ addiu $sp, $sp, 0x20 + +func_800EBC74: +/* 085124 800EBC74 3C038011 */ lui $v1, 0x8011 +/* 085128 800EBC78 8463CFC8 */ lh $v1, -0x3038($v1) +/* 08512C 800EBC7C 27BDFF98 */ addiu $sp, $sp, -0x68 +/* 085130 800EBC80 AFB1003C */ sw $s1, 0x3c($sp) +/* 085134 800EBC84 AFB30044 */ sw $s3, 0x44($sp) +/* 085138 800EBC88 3C138011 */ lui $s3, 0x8011 +/* 08513C 800EBC8C 2673EFC8 */ addiu $s3, $s3, -0x1038 +/* 085140 800EBC90 AFB5004C */ sw $s5, 0x4c($sp) +/* 085144 800EBC94 3C15800B */ lui $s5, 0x800b +/* 085148 800EBC98 26B51D80 */ addiu $s5, $s5, 0x1d80 +/* 08514C 800EBC9C AFBF0050 */ sw $ra, 0x50($sp) +/* 085150 800EBCA0 AFB40048 */ sw $s4, 0x48($sp) +/* 085154 800EBCA4 AFB20040 */ sw $s2, 0x40($sp) +/* 085158 800EBCA8 AFB00038 */ sw $s0, 0x38($sp) +/* 08515C 800EBCAC F7B60060 */ sdc1 $f22, 0x60($sp) +/* 085160 800EBCB0 F7B40058 */ sdc1 $f20, 0x58($sp) +/* 085164 800EBCB4 2C620033 */ sltiu $v0, $v1, 0x33 +/* 085168 800EBCB8 1040058A */ beqz $v0, .L800ED2E4 +/* 08516C 800EBCBC 0080882D */ daddu $s1, $a0, $zero +/* 085170 800EBCC0 00031080 */ sll $v0, $v1, 2 +/* 085174 800EBCC4 3C018011 */ lui $at, 0x8011 +/* 085178 800EBCC8 00220821 */ addu $at, $at, $v0 +/* 08517C 800EBCCC 8C22C148 */ lw $v0, -0x3eb8($at) +/* 085180 800EBCD0 00400008 */ jr $v0 +/* 085184 800EBCD4 00000000 */ nop +.L800EBCD8: +/* 085188 800EBCD8 C634000C */ lwc1 $f20, 0xc($s1) +/* 08518C 800EBCDC 3C038011 */ lui $v1, 0x8011 +/* 085190 800EBCE0 8C63CFD8 */ lw $v1, -0x3028($v1) +/* 085194 800EBCE4 AE200018 */ sw $zero, 0x18($s1) +/* 085198 800EBCE8 AE200014 */ sw $zero, 0x14($s1) +/* 08519C 800EBCEC 000310C0 */ sll $v0, $v1, 3 +/* 0851A0 800EBCF0 00431021 */ addu $v0, $v0, $v1 +/* 0851A4 800EBCF4 00021080 */ sll $v0, $v0, 2 +/* 0851A8 800EBCF8 3C038010 */ lui $v1, 0x8010 +/* 0851AC 800EBCFC 00621821 */ addu $v1, $v1, $v0 +/* 0851B0 800EBD00 8C63835C */ lw $v1, -0x7ca4($v1) +/* 0851B4 800EBD04 24020005 */ addiu $v0, $zero, 5 +/* 0851B8 800EBD08 3C018011 */ lui $at, 0x8011 +/* 0851BC 800EBD0C A422CFC8 */ sh $v0, -0x3038($at) +/* 0851C0 800EBD10 0803B005 */ j .L800EC014 +/* 0851C4 800EBD14 AE230028 */ sw $v1, 0x28($s1) + +/* 0851C8 800EBD18 3C038011 */ lui $v1, 0x8011 +/* 0851CC 800EBD1C 2463CD38 */ addiu $v1, $v1, -0x32c8 +/* 0851D0 800EBD20 C62C0038 */ lwc1 $f12, 0x38($s1) +/* 0851D4 800EBD24 C62E0040 */ lwc1 $f14, 0x40($s1) +/* 0851D8 800EBD28 3C028011 */ lui $v0, 0x8011 +/* 0851DC 800EBD2C 8C42CFBC */ lw $v0, -0x3044($v0) +/* 0851E0 800EBD30 3C014040 */ lui $at, 0x4040 +/* 0851E4 800EBD34 44810000 */ mtc1 $at, $f0 +/* 0851E8 800EBD38 C622003C */ lwc1 $f2, 0x3c($s1) +/* 0851EC 800EBD3C 00021100 */ sll $v0, $v0, 4 +/* 0851F0 800EBD40 00438021 */ addu $s0, $v0, $v1 +/* 0851F4 800EBD44 C6060004 */ lwc1 $f6, 4($s0) +/* 0851F8 800EBD48 C608000C */ lwc1 $f8, 0xc($s0) +/* 0851FC 800EBD4C E6200018 */ swc1 $f0, 0x18($s1) +/* 085200 800EBD50 46006006 */ mov.s $f0, $f12 +/* 085204 800EBD54 8E660028 */ lw $a2, 0x28($s3) +/* 085208 800EBD58 8E670030 */ lw $a3, 0x30($s3) +/* 08520C 800EBD5C 46007106 */ mov.s $f4, $f14 +/* 085210 800EBD60 E7A00028 */ swc1 $f0, 0x28($sp) +/* 085214 800EBD64 E7A2002C */ swc1 $f2, 0x2c($sp) +/* 085218 800EBD68 E7A40030 */ swc1 $f4, 0x30($sp) +/* 08521C 800EBD6C E7A60020 */ swc1 $f6, 0x20($sp) +/* 085220 800EBD70 0C00A7B5 */ jal dist2D +/* 085224 800EBD74 E7A80024 */ swc1 $f8, 0x24($sp) +/* 085228 800EBD78 3C014049 */ lui $at, 0x4049 +/* 08522C 800EBD7C 44811800 */ mtc1 $at, $f3 +/* 085230 800EBD80 44801000 */ mtc1 $zero, $f2 +/* 085234 800EBD84 E7A00034 */ swc1 $f0, 0x34($sp) +/* 085238 800EBD88 46000021 */ cvt.d.s $f0, $f0 +/* 08523C 800EBD8C 4620103E */ c.le.d $f2, $f0 +/* 085240 800EBD90 00000000 */ nop +/* 085244 800EBD94 4500000B */ bc1f .L800EBDC4 +/* 085248 800EBD98 3C030001 */ lui $v1, 1 +/* 08524C 800EBD9C 8E620004 */ lw $v0, 4($s3) +/* 085250 800EBDA0 3C0140E0 */ lui $at, 0x40e0 +/* 085254 800EBDA4 44810000 */ mtc1 $at, $f0 +/* 085258 800EBDA8 00431024 */ and $v0, $v0, $v1 +/* 08525C 800EBDAC 54400005 */ bnezl $v0, .L800EBDC4 +/* 085260 800EBDB0 E6200018 */ swc1 $f0, 0x18($s1) +/* 085264 800EBDB4 3C0140A0 */ lui $at, 0x40a0 +/* 085268 800EBDB8 44810000 */ mtc1 $at, $f0 +/* 08526C 800EBDBC 00000000 */ nop +/* 085270 800EBDC0 E6200018 */ swc1 $f0, 0x18($s1) +.L800EBDC4: +/* 085274 800EBDC4 3C018011 */ lui $at, 0x8011 +/* 085278 800EBDC8 C420CFC0 */ lwc1 $f0, -0x3040($at) +/* 08527C 800EBDCC 3C014034 */ lui $at, 0x4034 +/* 085280 800EBDD0 44811800 */ mtc1 $at, $f3 +/* 085284 800EBDD4 44801000 */ mtc1 $zero, $f2 +/* 085288 800EBDD8 46000021 */ cvt.d.s $f0, $f0 +/* 08528C 800EBDDC 4622003C */ c.lt.d $f0, $f2 +/* 085290 800EBDE0 00000000 */ nop +/* 085294 800EBDE4 45000005 */ bc1f .L800EBDFC +/* 085298 800EBDE8 00000000 */ nop +/* 08529C 800EBDEC 3C014080 */ lui $at, 0x4080 +/* 0852A0 800EBDF0 44810000 */ mtc1 $at, $f0 +/* 0852A4 800EBDF4 00000000 */ nop +/* 0852A8 800EBDF8 E6200018 */ swc1 $f0, 0x18($s1) +.L800EBDFC: +/* 0852AC 800EBDFC 3C038011 */ lui $v1, 0x8011 +/* 0852B0 800EBE00 8C63CFD8 */ lw $v1, -0x3028($v1) +/* 0852B4 800EBE04 3C048010 */ lui $a0, 0x8010 +/* 0852B8 800EBE08 24848348 */ addiu $a0, $a0, -0x7cb8 +/* 0852BC 800EBE0C 000310C0 */ sll $v0, $v1, 3 +/* 0852C0 800EBE10 00431021 */ addu $v0, $v0, $v1 +/* 0852C4 800EBE14 00021080 */ sll $v0, $v0, 2 +/* 0852C8 800EBE18 00442021 */ addu $a0, $v0, $a0 +/* 0852CC 800EBE1C 8E220000 */ lw $v0, ($s1) +/* 0852D0 800EBE20 8C830018 */ lw $v1, 0x18($a0) +/* 0852D4 800EBE24 30421000 */ andi $v0, $v0, 0x1000 +/* 0852D8 800EBE28 14400003 */ bnez $v0, .L800EBE38 +/* 0852DC 800EBE2C AE230028 */ sw $v1, 0x28($s1) +/* 0852E0 800EBE30 8C82000C */ lw $v0, 0xc($a0) +/* 0852E4 800EBE34 AE220028 */ sw $v0, 0x28($s1) +.L800EBE38: +/* 0852E8 800EBE38 3C128011 */ lui $s2, 0x8011 +/* 0852EC 800EBE3C 2652CFBC */ addiu $s2, $s2, -0x3044 +/* 0852F0 800EBE40 3C148011 */ lui $s4, 0x8011 +/* 0852F4 800EBE44 2694CD38 */ addiu $s4, $s4, -0x32c8 +.L800EBE48: +/* 0852F8 800EBE48 C7AC0028 */ lwc1 $f12, 0x28($sp) +/* 0852FC 800EBE4C C7AE0030 */ lwc1 $f14, 0x30($sp) +/* 085300 800EBE50 8FA60020 */ lw $a2, 0x20($sp) +/* 085304 800EBE54 0C00A7B5 */ jal dist2D +/* 085308 800EBE58 8FA70024 */ lw $a3, 0x24($sp) +/* 08530C 800EBE5C C7AC0028 */ lwc1 $f12, 0x28($sp) +/* 085310 800EBE60 C7AE0030 */ lwc1 $f14, 0x30($sp) +/* 085314 800EBE64 8FA60020 */ lw $a2, 0x20($sp) +/* 085318 800EBE68 8FA70024 */ lw $a3, 0x24($sp) +/* 08531C 800EBE6C 0C00A720 */ jal atan2 +/* 085320 800EBE70 E7A00034 */ swc1 $f0, 0x34($sp) +/* 085324 800EBE74 C6240018 */ lwc1 $f4, 0x18($s1) +/* 085328 800EBE78 C7A20034 */ lwc1 $f2, 0x34($sp) +/* 08532C 800EBE7C 4602203C */ c.lt.s $f4, $f2 +/* 085330 800EBE80 00000000 */ nop +/* 085334 800EBE84 4500003B */ bc1f .L800EBF74 +/* 085338 800EBE88 46000506 */ mov.s $f20, $f0 +/* 08533C 800EBE8C C7AC0028 */ lwc1 $f12, 0x28($sp) +/* 085340 800EBE90 C7AE0030 */ lwc1 $f14, 0x30($sp) +/* 085344 800EBE94 8E660028 */ lw $a2, 0x28($s3) +/* 085348 800EBE98 0C00A7B5 */ jal dist2D +/* 08534C 800EBE9C 8E670030 */ lw $a3, 0x30($s3) +/* 085350 800EBEA0 3C014049 */ lui $at, 0x4049 +/* 085354 800EBEA4 44811800 */ mtc1 $at, $f3 +/* 085358 800EBEA8 44801000 */ mtc1 $zero, $f2 +/* 08535C 800EBEAC 46000106 */ mov.s $f4, $f0 +/* 085360 800EBEB0 E7A00034 */ swc1 $f0, 0x34($sp) +/* 085364 800EBEB4 46002021 */ cvt.d.s $f0, $f4 +/* 085368 800EBEB8 4620103E */ c.le.d $f2, $f0 +/* 08536C 800EBEBC 00000000 */ nop +/* 085370 800EBEC0 45010054 */ bc1t .L800EC014 +/* 085374 800EBEC4 00000000 */ nop +/* 085378 800EBEC8 3C018011 */ lui $at, 0x8011 +/* 08537C 800EBECC C426CFC0 */ lwc1 $f6, -0x3040($at) +/* 085380 800EBED0 4604303C */ c.lt.s $f6, $f4 +/* 085384 800EBED4 00000000 */ nop +/* 085388 800EBED8 4500001F */ bc1f .L800EBF58 +/* 08538C 800EBEDC 00000000 */ nop +/* 085390 800EBEE0 46062081 */ sub.s $f2, $f4, $f6 +/* 085394 800EBEE4 3C014008 */ lui $at, 0x4008 +/* 085398 800EBEE8 44810800 */ mtc1 $at, $f1 +/* 08539C 800EBEEC 44800000 */ mtc1 $zero, $f0 +/* 0853A0 800EBEF0 E6220018 */ swc1 $f2, 0x18($s1) +/* 0853A4 800EBEF4 460010A1 */ cvt.d.s $f2, $f2 +/* 0853A8 800EBEF8 4622003C */ c.lt.d $f0, $f2 +/* 0853AC 800EBEFC 00000000 */ nop +/* 0853B0 800EBF00 4500000D */ bc1f .L800EBF38 +/* 0853B4 800EBF04 00000000 */ nop +/* 0853B8 800EBF08 3C0141A0 */ lui $at, 0x41a0 +/* 0853BC 800EBF0C 44810000 */ mtc1 $at, $f0 +/* 0853C0 800EBF10 3C014040 */ lui $at, 0x4040 +/* 0853C4 800EBF14 44811000 */ mtc1 $at, $f2 +/* 0853C8 800EBF18 4600303C */ c.lt.s $f6, $f0 +/* 0853CC 800EBF1C 00000000 */ nop +/* 0853D0 800EBF20 4500003C */ bc1f .L800EC014 +/* 0853D4 800EBF24 E6220018 */ swc1 $f2, 0x18($s1) +/* 0853D8 800EBF28 3C014080 */ lui $at, 0x4080 +/* 0853DC 800EBF2C 44810000 */ mtc1 $at, $f0 +/* 0853E0 800EBF30 0803B005 */ j .L800EC014 +/* 0853E4 800EBF34 E6200018 */ swc1 $f0, 0x18($s1) + +.L800EBF38: +/* 0853E8 800EBF38 3C013FF0 */ lui $at, 0x3ff0 +/* 0853EC 800EBF3C 44810800 */ mtc1 $at, $f1 +/* 0853F0 800EBF40 44800000 */ mtc1 $zero, $f0 +/* 0853F4 800EBF44 00000000 */ nop +/* 0853F8 800EBF48 46201000 */ add.d $f0, $f2, $f0 +/* 0853FC 800EBF4C 46200020 */ cvt.s.d $f0, $f0 +/* 085400 800EBF50 0803B005 */ j .L800EC014 +/* 085404 800EBF54 E6200018 */ swc1 $f0, 0x18($s1) + +.L800EBF58: +/* 085408 800EBF58 C62C0038 */ lwc1 $f12, 0x38($s1) +/* 08540C 800EBF5C C62E0040 */ lwc1 $f14, 0x40($s1) +/* 085410 800EBF60 AE200018 */ sw $zero, 0x18($s1) +/* 085414 800EBF64 8E660028 */ lw $a2, 0x28($s3) +/* 085418 800EBF68 0C00A720 */ jal atan2 +/* 08541C 800EBF6C 8E670030 */ lw $a3, 0x30($s3) +/* 085420 800EBF70 E620000C */ swc1 $f0, 0xc($s1) +.L800EBF74: +/* 085424 800EBF74 8E430000 */ lw $v1, ($s2) +/* 085428 800EBF78 3C028011 */ lui $v0, 0x8011 +/* 08542C 800EBF7C 8C42CFB8 */ lw $v0, -0x3048($v0) +/* 085430 800EBF80 1062FF55 */ beq $v1, $v0, .L800EBCD8 +/* 085434 800EBF84 24620001 */ addiu $v0, $v1, 1 +/* 085438 800EBF88 AE420000 */ sw $v0, ($s2) +/* 08543C 800EBF8C 28420028 */ slti $v0, $v0, 0x28 +/* 085440 800EBF90 50400001 */ beql $v0, $zero, .L800EBF98 +/* 085444 800EBF94 AE400000 */ sw $zero, ($s2) +.L800EBF98: +/* 085448 800EBF98 C62C0038 */ lwc1 $f12, 0x38($s1) +/* 08544C 800EBF9C 8E420000 */ lw $v0, ($s2) +/* 085450 800EBFA0 C62E0040 */ lwc1 $f14, 0x40($s1) +/* 085454 800EBFA4 00021100 */ sll $v0, $v0, 4 +/* 085458 800EBFA8 00548021 */ addu $s0, $v0, $s4 +/* 08545C 800EBFAC C6000004 */ lwc1 $f0, 4($s0) +/* 085460 800EBFB0 C602000C */ lwc1 $f2, 0xc($s0) +/* 085464 800EBFB4 44060000 */ mfc1 $a2, $f0 +/* 085468 800EBFB8 44071000 */ mfc1 $a3, $f2 +/* 08546C 800EBFBC AFA60020 */ sw $a2, 0x20($sp) +/* 085470 800EBFC0 0C00A720 */ jal atan2 +/* 085474 800EBFC4 AFA70024 */ sw $a3, 0x24($sp) +/* 085478 800EBFC8 C62C000C */ lwc1 $f12, 0xc($s1) +/* 08547C 800EBFCC 0C00A70A */ jal get_clamped_angle_diff +/* 085480 800EBFD0 46000386 */ mov.s $f14, $f0 +/* 085484 800EBFD4 3C0142B4 */ lui $at, 0x42b4 +/* 085488 800EBFD8 44811000 */ mtc1 $at, $f2 +/* 08548C 800EBFDC 46000005 */ abs.s $f0, $f0 +/* 085490 800EBFE0 4600103C */ c.lt.s $f2, $f0 +/* 085494 800EBFE4 00000000 */ nop +/* 085498 800EBFE8 45010008 */ bc1t .L800EC00C +/* 08549C 800EBFEC 24020005 */ addiu $v0, $zero, 5 +/* 0854A0 800EBFF0 8E220000 */ lw $v0, ($s1) +/* 0854A4 800EBFF4 30421000 */ andi $v0, $v0, 0x1000 +/* 0854A8 800EBFF8 1040FF93 */ beqz $v0, .L800EBE48 +/* 0854AC 800EBFFC 00000000 */ nop +/* 0854B0 800EC000 82020000 */ lb $v0, ($s0) +/* 0854B4 800EC004 1040FF90 */ beqz $v0, .L800EBE48 +/* 0854B8 800EC008 24020001 */ addiu $v0, $zero, 1 +.L800EC00C: +/* 0854BC 800EC00C 3C018011 */ lui $at, 0x8011 +/* 0854C0 800EC010 A422CFC8 */ sh $v0, -0x3038($at) +.L800EC014: +/* 0854C4 800EC014 8E220000 */ lw $v0, ($s1) +/* 0854C8 800EC018 30421000 */ andi $v0, $v0, 0x1000 +/* 0854CC 800EC01C 14400008 */ bnez $v0, .L800EC040 +/* 0854D0 800EC020 00000000 */ nop +/* 0854D4 800EC024 C6200018 */ lwc1 $f0, 0x18($s1) +/* 0854D8 800EC028 3C013F00 */ lui $at, 0x3f00 +/* 0854DC 800EC02C 44811000 */ mtc1 $at, $f2 +/* 0854E0 800EC030 00000000 */ nop +/* 0854E4 800EC034 46020002 */ mul.s $f0, $f0, $f2 +/* 0854E8 800EC038 00000000 */ nop +/* 0854EC 800EC03C E6200018 */ swc1 $f0, 0x18($s1) +.L800EC040: +/* 0854F0 800EC040 8E250018 */ lw $a1, 0x18($s1) +/* 0854F4 800EC044 4406A000 */ mfc1 $a2, $f20 +/* 0854F8 800EC048 0220202D */ daddu $a0, $s1, $zero +/* 0854FC 800EC04C 0C00EA95 */ jal npc_move_heading +/* 085500 800EC050 AE26000C */ sw $a2, 0xc($s1) +/* 085504 800EC054 C6200018 */ lwc1 $f0, 0x18($s1) +/* 085508 800EC058 3C014010 */ lui $at, 0x4010 +/* 08550C 800EC05C 44811800 */ mtc1 $at, $f3 +/* 085510 800EC060 44801000 */ mtc1 $zero, $f2 +/* 085514 800EC064 46000021 */ cvt.d.s $f0, $f0 +/* 085518 800EC068 4622003C */ c.lt.d $f0, $f2 +/* 08551C 800EC06C 00000000 */ nop +/* 085520 800EC070 45000002 */ bc1f .L800EC07C +/* 085524 800EC074 24050001 */ addiu $a1, $zero, 1 +/* 085528 800EC078 0000282D */ daddu $a1, $zero, $zero +.L800EC07C: +/* 08552C 800EC07C 0C00F598 */ jal func_8003D660 +/* 085530 800EC080 0220202D */ daddu $a0, $s1, $zero +/* 085534 800EC084 86240084 */ lh $a0, 0x84($s1) +/* 085538 800EC088 0C016F6A */ jal get_collider_type_by_id +/* 08553C 800EC08C 00000000 */ nop +/* 085540 800EC090 2442FFFE */ addiu $v0, $v0, -2 +/* 085544 800EC094 2C420002 */ sltiu $v0, $v0, 2 +/* 085548 800EC098 14400005 */ bnez $v0, .L800EC0B0 +/* 08554C 800EC09C 24035000 */ addiu $v1, $zero, 0x5000 +/* 085550 800EC0A0 8E220000 */ lw $v0, ($s1) +/* 085554 800EC0A4 30425000 */ andi $v0, $v0, 0x5000 +/* 085558 800EC0A8 1443048E */ bne $v0, $v1, .L800ED2E4 +/* 08555C 800EC0AC 00000000 */ nop +.L800EC0B0: +/* 085560 800EC0B0 0C03A92C */ jal func_800EA4B0 +/* 085564 800EC0B4 86240086 */ lh $a0, 0x86($s1) +/* 085568 800EC0B8 14400488 */ bnez $v0, .L800ED2DC +/* 08556C 800EC0BC 24020001 */ addiu $v0, $zero, 1 +/* 085570 800EC0C0 3C038011 */ lui $v1, 0x8011 +/* 085574 800EC0C4 2463CFBC */ addiu $v1, $v1, -0x3044 +/* 085578 800EC0C8 8C620000 */ lw $v0, ($v1) +/* 08557C 800EC0CC 24420001 */ addiu $v0, $v0, 1 +/* 085580 800EC0D0 AC620000 */ sw $v0, ($v1) +/* 085584 800EC0D4 28420028 */ slti $v0, $v0, 0x28 +/* 085588 800EC0D8 50400001 */ beql $v0, $zero, .L800EC0E0 +/* 08558C 800EC0DC AC600000 */ sw $zero, ($v1) +.L800EC0E0: +/* 085590 800EC0E0 8C620000 */ lw $v0, ($v1) +/* 085594 800EC0E4 3C038011 */ lui $v1, 0x8011 +/* 085598 800EC0E8 2463CD38 */ addiu $v1, $v1, -0x32c8 +/* 08559C 800EC0EC C62C0038 */ lwc1 $f12, 0x38($s1) +/* 0855A0 800EC0F0 C62E0040 */ lwc1 $f14, 0x40($s1) +/* 0855A4 800EC0F4 00021100 */ sll $v0, $v0, 4 +/* 0855A8 800EC0F8 00438021 */ addu $s0, $v0, $v1 +/* 0855AC 800EC0FC C6000004 */ lwc1 $f0, 4($s0) +/* 0855B0 800EC100 C602000C */ lwc1 $f2, 0xc($s0) +/* 0855B4 800EC104 44060000 */ mfc1 $a2, $f0 +/* 0855B8 800EC108 44071000 */ mfc1 $a3, $f2 +/* 0855BC 800EC10C AFA60020 */ sw $a2, 0x20($sp) +/* 0855C0 800EC110 0C00A720 */ jal atan2 +/* 0855C4 800EC114 AFA70024 */ sw $a3, 0x24($sp) +/* 0855C8 800EC118 C62C000C */ lwc1 $f12, 0xc($s1) +/* 0855CC 800EC11C 0C00A70A */ jal get_clamped_angle_diff +/* 0855D0 800EC120 46000386 */ mov.s $f14, $f0 +/* 0855D4 800EC124 3C0142B4 */ lui $at, 0x42b4 +/* 0855D8 800EC128 44811000 */ mtc1 $at, $f2 +/* 0855DC 800EC12C 46000005 */ abs.s $f0, $f0 +/* 0855E0 800EC130 4600103C */ c.lt.s $f2, $f0 +/* 0855E4 800EC134 00000000 */ nop +/* 0855E8 800EC138 4500046A */ bc1f .L800ED2E4 +/* 0855EC 800EC13C 24020005 */ addiu $v0, $zero, 5 +/* 0855F0 800EC140 0803B4B7 */ j .L800ED2DC +/* 0855F4 800EC144 00000000 */ nop + +/* 0855F8 800EC148 0C016F6A */ jal get_collider_type_by_id +/* 0855FC 800EC14C 86240084 */ lh $a0, 0x84($s1) +/* 085600 800EC150 3C058011 */ lui $a1, 0x8011 +/* 085604 800EC154 24A5CFBC */ addiu $a1, $a1, -0x3044 +/* 085608 800EC158 8CA40000 */ lw $a0, ($a1) +/* 08560C 800EC15C 3C038011 */ lui $v1, 0x8011 +/* 085610 800EC160 8C63CFB8 */ lw $v1, -0x3048($v1) +/* 085614 800EC164 14830016 */ bne $a0, $v1, .L800EC1C0 +/* 085618 800EC168 0040902D */ daddu $s2, $v0, $zero +/* 08561C 800EC16C 2642FFFE */ addiu $v0, $s2, -2 +/* 085620 800EC170 2C420002 */ sltiu $v0, $v0, 2 +/* 085624 800EC174 1040045B */ beqz $v0, .L800ED2E4 +/* 085628 800EC178 00000000 */ nop +/* 08562C 800EC17C C674002C */ lwc1 $f20, 0x2c($s3) +/* 085630 800EC180 C62C0038 */ lwc1 $f12, 0x38($s1) +/* 085634 800EC184 C62E0040 */ lwc1 $f14, 0x40($s1) +/* 085638 800EC188 8E660028 */ lw $a2, 0x28($s3) +/* 08563C 800EC18C 8E670030 */ lw $a3, 0x30($s3) +/* 085640 800EC190 46006006 */ mov.s $f0, $f12 +/* 085644 800EC194 46007086 */ mov.s $f2, $f14 +/* 085648 800EC198 E7A00020 */ swc1 $f0, 0x20($sp) +/* 08564C 800EC19C 0C00A720 */ jal atan2 +/* 085650 800EC1A0 E7A20024 */ swc1 $f2, 0x24($sp) +/* 085654 800EC1A4 27A40020 */ addiu $a0, $sp, 0x20 +/* 085658 800EC1A8 3C0640C0 */ lui $a2, 0x40c0 +/* 08565C 800EC1AC 44070000 */ mfc1 $a3, $f0 +/* 085660 800EC1B0 0C00A7E7 */ jal add_vec2D_polar +/* 085664 800EC1B4 27A50024 */ addiu $a1, $sp, 0x24 +/* 085668 800EC1B8 0803B07F */ j .L800EC1FC +/* 08566C 800EC1BC 00000000 */ nop + +.L800EC1C0: +/* 085670 800EC1C0 24820001 */ addiu $v0, $a0, 1 +/* 085674 800EC1C4 ACA20000 */ sw $v0, ($a1) +/* 085678 800EC1C8 28420028 */ slti $v0, $v0, 0x28 +/* 08567C 800EC1CC 50400001 */ beql $v0, $zero, .L800EC1D4 +/* 085680 800EC1D0 ACA00000 */ sw $zero, ($a1) +.L800EC1D4: +/* 085684 800EC1D4 8CA20000 */ lw $v0, ($a1) +/* 085688 800EC1D8 3C038011 */ lui $v1, 0x8011 +/* 08568C 800EC1DC 2463CD38 */ addiu $v1, $v1, -0x32c8 +/* 085690 800EC1E0 00021100 */ sll $v0, $v0, 4 +/* 085694 800EC1E4 00438021 */ addu $s0, $v0, $v1 +/* 085698 800EC1E8 C6000004 */ lwc1 $f0, 4($s0) +/* 08569C 800EC1EC C6140008 */ lwc1 $f20, 8($s0) +/* 0856A0 800EC1F0 C602000C */ lwc1 $f2, 0xc($s0) +/* 0856A4 800EC1F4 E7A00020 */ swc1 $f0, 0x20($sp) +/* 0856A8 800EC1F8 E7A20024 */ swc1 $f2, 0x24($sp) +.L800EC1FC: +/* 0856AC 800EC1FC C7A00020 */ lwc1 $f0, 0x20($sp) +/* 0856B0 800EC200 C62C0038 */ lwc1 $f12, 0x38($s1) +/* 0856B4 800EC204 C62E0040 */ lwc1 $f14, 0x40($s1) +/* 0856B8 800EC208 3C0140C0 */ lui $at, 0x40c0 +/* 0856BC 800EC20C 44811000 */ mtc1 $at, $f2 +/* 0856C0 800EC210 E6200060 */ swc1 $f0, 0x60($s1) +/* 0856C4 800EC214 44060000 */ mfc1 $a2, $f0 +/* 0856C8 800EC218 C7A00024 */ lwc1 $f0, 0x24($sp) +/* 0856CC 800EC21C E6200068 */ swc1 $f0, 0x68($s1) +/* 0856D0 800EC220 44070000 */ mfc1 $a3, $f0 +/* 0856D4 800EC224 3C014040 */ lui $at, 0x4040 +/* 0856D8 800EC228 44810000 */ mtc1 $at, $f0 +/* 0856DC 800EC22C E6340064 */ swc1 $f20, 0x64($s1) +/* 0856E0 800EC230 A620008E */ sh $zero, 0x8e($s1) +/* 0856E4 800EC234 E6220018 */ swc1 $f2, 0x18($s1) +/* 0856E8 800EC238 0C00A7B5 */ jal dist2D +/* 0856EC 800EC23C E6200014 */ swc1 $f0, 0x14($s1) +/* 0856F0 800EC240 C62C0038 */ lwc1 $f12, 0x38($s1) +/* 0856F4 800EC244 C62E0040 */ lwc1 $f14, 0x40($s1) +/* 0856F8 800EC248 8E260060 */ lw $a2, 0x60($s1) +/* 0856FC 800EC24C 8E270068 */ lw $a3, 0x68($s1) +/* 085700 800EC250 0C00A720 */ jal atan2 +/* 085704 800EC254 E6200010 */ swc1 $f0, 0x10($s1) +/* 085708 800EC258 E620000C */ swc1 $f0, 0xc($s1) +/* 08570C 800EC25C C6200010 */ lwc1 $f0, 0x10($s1) +/* 085710 800EC260 3C014049 */ lui $at, 0x4049 +/* 085714 800EC264 44811800 */ mtc1 $at, $f3 +/* 085718 800EC268 44801000 */ mtc1 $zero, $f2 +/* 08571C 800EC26C 46000021 */ cvt.d.s $f0, $f0 +/* 085720 800EC270 4620103C */ c.lt.d $f2, $f0 +/* 085724 800EC274 00000000 */ nop +/* 085728 800EC278 45000005 */ bc1f .L800EC290 +/* 08572C 800EC27C 00000000 */ nop +/* 085730 800EC280 3C014248 */ lui $at, 0x4248 +/* 085734 800EC284 44810000 */ mtc1 $at, $f0 +/* 085738 800EC288 00000000 */ nop +/* 08573C 800EC28C E6200010 */ swc1 $f0, 0x10($s1) +.L800EC290: +/* 085740 800EC290 C6220064 */ lwc1 $f2, 0x64($s1) +/* 085744 800EC294 C620003C */ lwc1 $f0, 0x3c($s1) +/* 085748 800EC298 C6240010 */ lwc1 $f4, 0x10($s1) +/* 08574C 800EC29C 46001081 */ sub.s $f2, $f2, $f0 +/* 085750 800EC2A0 3C018011 */ lui $at, 0x8011 +/* 085754 800EC2A4 C420CFC0 */ lwc1 $f0, -0x3040($at) +/* 085758 800EC2A8 E7A40034 */ swc1 $f4, 0x34($sp) +/* 08575C 800EC2AC 4600203C */ c.lt.s $f4, $f0 +/* 085760 800EC2B0 00000000 */ nop +/* 085764 800EC2B4 45000010 */ bc1f .L800EC2F8 +/* 085768 800EC2B8 E7A2002C */ swc1 $f2, 0x2c($sp) +/* 08576C 800EC2BC 2642FFFE */ addiu $v0, $s2, -2 +/* 085770 800EC2C0 2C420002 */ sltiu $v0, $v0, 2 +/* 085774 800EC2C4 1440000C */ bnez $v0, .L800EC2F8 +/* 085778 800EC2C8 00000000 */ nop +/* 08577C 800EC2CC C62C0038 */ lwc1 $f12, 0x38($s1) +/* 085780 800EC2D0 C62E0040 */ lwc1 $f14, 0x40($s1) +/* 085784 800EC2D4 AE20001C */ sw $zero, 0x1c($s1) +/* 085788 800EC2D8 8E660028 */ lw $a2, 0x28($s3) +/* 08578C 800EC2DC 0C00A720 */ jal atan2 +/* 085790 800EC2E0 8E670030 */ lw $a3, 0x30($s3) +/* 085794 800EC2E4 E620000C */ swc1 $f0, 0xc($s1) +.L800EC2E8: +/* 085798 800EC2E8 3C018011 */ lui $at, 0x8011 +/* 08579C 800EC2EC A420CFC8 */ sh $zero, -0x3038($at) +/* 0857A0 800EC2F0 0803B4B9 */ j .L800ED2E4 +/* 0857A4 800EC2F4 00000000 */ nop + +.L800EC2F8: +/* 0857A8 800EC2F8 C6220018 */ lwc1 $f2, 0x18($s1) +/* 0857AC 800EC2FC C7A00034 */ lwc1 $f0, 0x34($sp) +/* 0857B0 800EC300 46020003 */ div.s $f0, $f0, $f2 +/* 0857B4 800EC304 4600028D */ trunc.w.s $f10, $f0 +/* 0857B8 800EC308 44025000 */ mfc1 $v0, $f10 +/* 0857BC 800EC30C 00000000 */ nop +/* 0857C0 800EC310 A622008E */ sh $v0, 0x8e($s1) +/* 0857C4 800EC314 00021400 */ sll $v0, $v0, 0x10 +/* 0857C8 800EC318 00021403 */ sra $v0, $v0, 0x10 +/* 0857CC 800EC31C 2842000A */ slti $v0, $v0, 0xa +/* 0857D0 800EC320 10400002 */ beqz $v0, .L800EC32C +/* 0857D4 800EC324 2402000A */ addiu $v0, $zero, 0xa +/* 0857D8 800EC328 A622008E */ sh $v0, 0x8e($s1) +.L800EC32C: +/* 0857DC 800EC32C 8622008E */ lh $v0, 0x8e($s1) +/* 0857E0 800EC330 C6220014 */ lwc1 $f2, 0x14($s1) +/* 0857E4 800EC334 44823000 */ mtc1 $v0, $f6 +/* 0857E8 800EC338 00000000 */ nop +/* 0857EC 800EC33C 468031A0 */ cvt.s.w $f6, $f6 +/* 0857F0 800EC340 46061082 */ mul.s $f2, $f2, $f6 +/* 0857F4 800EC344 00000000 */ nop +/* 0857F8 800EC348 46061082 */ mul.s $f2, $f2, $f6 +/* 0857FC 800EC34C 00000000 */ nop +/* 085800 800EC350 3C013F00 */ lui $at, 0x3f00 +/* 085804 800EC354 44810000 */ mtc1 $at, $f0 +/* 085808 800EC358 00000000 */ nop +/* 08580C 800EC35C 46001082 */ mul.s $f2, $f2, $f0 +/* 085810 800EC360 00000000 */ nop +/* 085814 800EC364 C7A4002C */ lwc1 $f4, 0x2c($sp) +/* 085818 800EC368 C6200010 */ lwc1 $f0, 0x10($s1) +/* 08581C 800EC36C 46003206 */ mov.s $f8, $f6 +/* 085820 800EC370 46080003 */ div.s $f0, $f0, $f8 +/* 085824 800EC374 46022100 */ add.s $f4, $f4, $f2 +/* 085828 800EC378 E6200018 */ swc1 $f0, 0x18($s1) +/* 08582C 800EC37C 3C014034 */ lui $at, 0x4034 +/* 085830 800EC380 44811800 */ mtc1 $at, $f3 +/* 085834 800EC384 44801000 */ mtc1 $zero, $f2 +/* 085838 800EC388 46062103 */ div.s $f4, $f4, $f6 +/* 08583C 800EC38C 46002021 */ cvt.d.s $f0, $f4 +/* 085840 800EC390 4620103C */ c.lt.d $f2, $f0 +/* 085844 800EC394 00000000 */ nop +/* 085848 800EC398 45000005 */ bc1f .L800EC3B0 +/* 08584C 800EC39C E624001C */ swc1 $f4, 0x1c($s1) +/* 085850 800EC3A0 3C0141A0 */ lui $at, 0x41a0 +/* 085854 800EC3A4 44810000 */ mtc1 $at, $f0 +/* 085858 800EC3A8 00000000 */ nop +/* 08585C 800EC3AC E620001C */ swc1 $f0, 0x1c($s1) +.L800EC3B0: +/* 085860 800EC3B0 C620001C */ lwc1 $f0, 0x1c($s1) +/* 085864 800EC3B4 44801000 */ mtc1 $zero, $f2 +/* 085868 800EC3B8 44801800 */ mtc1 $zero, $f3 +/* 08586C 800EC3BC 46000021 */ cvt.d.s $f0, $f0 +/* 085870 800EC3C0 4622003C */ c.lt.d $f0, $f2 +/* 085874 800EC3C4 00000000 */ nop +/* 085878 800EC3C8 45030001 */ bc1tl .L800EC3D0 +/* 08587C 800EC3CC AE20001C */ sw $zero, 0x1c($s1) +.L800EC3D0: +/* 085880 800EC3D0 2642FFFE */ addiu $v0, $s2, -2 +/* 085884 800EC3D4 2C420002 */ sltiu $v0, $v0, 2 +/* 085888 800EC3D8 1440000B */ bnez $v0, .L800EC408 +/* 08588C 800EC3DC 00000000 */ nop +/* 085890 800EC3E0 3C028011 */ lui $v0, 0x8011 +/* 085894 800EC3E4 8C42CFD8 */ lw $v0, -0x3028($v0) +/* 085898 800EC3E8 000218C0 */ sll $v1, $v0, 3 +/* 08589C 800EC3EC 00621821 */ addu $v1, $v1, $v0 +/* 0858A0 800EC3F0 00031880 */ sll $v1, $v1, 2 +/* 0858A4 800EC3F4 3C028010 */ lui $v0, 0x8010 +/* 0858A8 800EC3F8 00431021 */ addu $v0, $v0, $v1 +/* 0858AC 800EC3FC 8C428350 */ lw $v0, -0x7cb0($v0) +/* 0858B0 800EC400 0803B10B */ j .L800EC42C +/* 0858B4 800EC404 AE220028 */ sw $v0, 0x28($s1) + +.L800EC408: +/* 0858B8 800EC408 3C028011 */ lui $v0, 0x8011 +/* 0858BC 800EC40C 8C42CFD8 */ lw $v0, -0x3028($v0) +/* 0858C0 800EC410 000218C0 */ sll $v1, $v0, 3 +/* 0858C4 800EC414 00621821 */ addu $v1, $v1, $v0 +/* 0858C8 800EC418 00031880 */ sll $v1, $v1, 2 +/* 0858CC 800EC41C 3C028010 */ lui $v0, 0x8010 +/* 0858D0 800EC420 00431021 */ addu $v0, $v0, $v1 +/* 0858D4 800EC424 8C428368 */ lw $v0, -0x7c98($v0) +/* 0858D8 800EC428 AE220028 */ sw $v0, 0x28($s1) +.L800EC42C: +/* 0858DC 800EC42C C6200038 */ lwc1 $f0, 0x38($s1) +/* 0858E0 800EC430 C622003C */ lwc1 $f2, 0x3c($s1) +/* 0858E4 800EC434 C6240040 */ lwc1 $f4, 0x40($s1) +/* 0858E8 800EC438 8E230000 */ lw $v1, ($s1) +/* 0858EC 800EC43C 24020002 */ addiu $v0, $zero, 2 +/* 0858F0 800EC440 3C018011 */ lui $at, 0x8011 +/* 0858F4 800EC444 A422CFC8 */ sh $v0, -0x3038($at) +/* 0858F8 800EC448 34630800 */ ori $v1, $v1, 0x800 +/* 0858FC 800EC44C E6200060 */ swc1 $f0, 0x60($s1) +/* 085900 800EC450 E6220064 */ swc1 $f2, 0x64($s1) +/* 085904 800EC454 E6240068 */ swc1 $f4, 0x68($s1) +/* 085908 800EC458 AE230000 */ sw $v1, ($s1) +/* 08590C 800EC45C C620001C */ lwc1 $f0, 0x1c($s1) +/* 085910 800EC460 C6220014 */ lwc1 $f2, 0x14($s1) +/* 085914 800EC464 46020001 */ sub.s $f0, $f0, $f2 +/* 085918 800EC468 C622003C */ lwc1 $f2, 0x3c($s1) +/* 08591C 800EC46C 46001080 */ add.s $f2, $f2, $f0 +/* 085920 800EC470 4480A000 */ mtc1 $zero, $f20 +/* 085924 800EC474 00000000 */ nop +/* 085928 800EC478 4614003E */ c.le.s $f0, $f20 +/* 08592C 800EC47C E620001C */ swc1 $f0, 0x1c($s1) +/* 085930 800EC480 4500000A */ bc1f .L800EC4AC +/* 085934 800EC484 E622003C */ swc1 $f2, 0x3c($s1) +/* 085938 800EC488 3C028011 */ lui $v0, 0x8011 +/* 08593C 800EC48C 8C42CFD8 */ lw $v0, -0x3028($v0) +/* 085940 800EC490 000218C0 */ sll $v1, $v0, 3 +/* 085944 800EC494 00621821 */ addu $v1, $v1, $v0 +/* 085948 800EC498 00031880 */ sll $v1, $v1, 2 +/* 08594C 800EC49C 3C028010 */ lui $v0, 0x8010 +/* 085950 800EC4A0 00431021 */ addu $v0, $v0, $v1 +/* 085954 800EC4A4 8C428354 */ lw $v0, -0x7cac($v0) +/* 085958 800EC4A8 AE220028 */ sw $v0, 0x28($s1) +.L800EC4AC: +/* 08595C 800EC4AC C622003C */ lwc1 $f2, 0x3c($s1) +/* 085960 800EC4B0 3C01C4FA */ lui $at, 0xc4fa +/* 085964 800EC4B4 44810000 */ mtc1 $at, $f0 +/* 085968 800EC4B8 00000000 */ nop +/* 08596C 800EC4BC 4600103C */ c.lt.s $f2, $f0 +/* 085970 800EC4C0 00000000 */ nop +/* 085974 800EC4C4 4500001B */ bc1f .L800EC534 +/* 085978 800EC4C8 2404F7FF */ addiu $a0, $zero, -0x801 +/* 08597C 800EC4CC C62C0038 */ lwc1 $f12, 0x38($s1) +/* 085980 800EC4D0 3C028011 */ lui $v0, 0x8011 +/* 085984 800EC4D4 8C42CFD8 */ lw $v0, -0x3028($v0) +/* 085988 800EC4D8 C62E0040 */ lwc1 $f14, 0x40($s1) +/* 08598C 800EC4DC 000218C0 */ sll $v1, $v0, 3 +/* 085990 800EC4E0 00621821 */ addu $v1, $v1, $v0 +/* 085994 800EC4E4 00031880 */ sll $v1, $v1, 2 +/* 085998 800EC4E8 8E220000 */ lw $v0, ($s1) +/* 08599C 800EC4EC 3C018010 */ lui $at, 0x8010 +/* 0859A0 800EC4F0 00230821 */ addu $at, $at, $v1 +/* 0859A4 800EC4F4 8C238358 */ lw $v1, -0x7ca8($at) +/* 0859A8 800EC4F8 E634001C */ swc1 $f20, 0x1c($s1) +/* 0859AC 800EC4FC 00441024 */ and $v0, $v0, $a0 +/* 0859B0 800EC500 AE220000 */ sw $v0, ($s1) +/* 0859B4 800EC504 AE230028 */ sw $v1, 0x28($s1) +/* 0859B8 800EC508 8E660028 */ lw $a2, 0x28($s3) +/* 0859BC 800EC50C 0C00A720 */ jal atan2 +/* 0859C0 800EC510 8E670030 */ lw $a3, 0x30($s3) +/* 0859C4 800EC514 E620000C */ swc1 $f0, 0xc($s1) +/* 0859C8 800EC518 C6600028 */ lwc1 $f0, 0x28($s3) +/* 0859CC 800EC51C E6200038 */ swc1 $f0, 0x38($s1) +/* 0859D0 800EC520 C660002C */ lwc1 $f0, 0x2c($s3) +/* 0859D4 800EC524 E620003C */ swc1 $f0, 0x3c($s1) +/* 0859D8 800EC528 C6600030 */ lwc1 $f0, 0x30($s3) +/* 0859DC 800EC52C 0803B47C */ j .L800ED1F0 +/* 0859E0 800EC530 24020005 */ addiu $v0, $zero, 5 + +.L800EC534: +/* 0859E4 800EC534 C624001C */ lwc1 $f4, 0x1c($s1) +/* 0859E8 800EC538 4614203E */ c.le.s $f4, $f20 +/* 0859EC 800EC53C 00000000 */ nop +/* 0859F0 800EC540 45000068 */ bc1f .L800EC6E4 +/* 0859F4 800EC544 27A50028 */ addiu $a1, $sp, 0x28 +/* 0859F8 800EC548 27A20034 */ addiu $v0, $sp, 0x34 +/* 0859FC 800EC54C C6200038 */ lwc1 $f0, 0x38($s1) +/* 085A00 800EC550 3C014130 */ lui $at, 0x4130 +/* 085A04 800EC554 44811000 */ mtc1 $at, $f2 +/* 085A08 800EC558 27A6002C */ addiu $a2, $sp, 0x2c +/* 085A0C 800EC55C E7A00028 */ swc1 $f0, 0x28($sp) +/* 085A10 800EC560 46002005 */ abs.s $f0, $f4 +/* 085A14 800EC564 46020000 */ add.s $f0, $f0, $f2 +/* 085A18 800EC568 C622003C */ lwc1 $f2, 0x3c($s1) +/* 085A1C 800EC56C C6240040 */ lwc1 $f4, 0x40($s1) +/* 085A20 800EC570 46001080 */ add.s $f2, $f2, $f0 +/* 085A24 800EC574 E7A40030 */ swc1 $f4, 0x30($sp) +/* 085A28 800EC578 E7A00034 */ swc1 $f0, 0x34($sp) +/* 085A2C 800EC57C E7A2002C */ swc1 $f2, 0x2c($sp) +/* 085A30 800EC580 AFA20010 */ sw $v0, 0x10($sp) +/* 085A34 800EC584 C620000C */ lwc1 $f0, 0xc($s1) +/* 085A38 800EC588 27A70030 */ addiu $a3, $sp, 0x30 +/* 085A3C 800EC58C E7A00014 */ swc1 $f0, 0x14($sp) +/* 085A40 800EC590 862200A6 */ lh $v0, 0xa6($s1) +/* 085A44 800EC594 26320038 */ addiu $s2, $s1, 0x38 +/* 085A48 800EC598 44820000 */ mtc1 $v0, $f0 +/* 085A4C 800EC59C 00000000 */ nop +/* 085A50 800EC5A0 46800020 */ cvt.s.w $f0, $f0 +/* 085A54 800EC5A4 E7A00018 */ swc1 $f0, 0x18($sp) +/* 085A58 800EC5A8 8E240080 */ lw $a0, 0x80($s1) +/* 085A5C 800EC5AC 0C0371DE */ jal func_800DC778 +/* 085A60 800EC5B0 26340040 */ addiu $s4, $s1, 0x40 +/* 085A64 800EC5B4 1040004B */ beqz $v0, .L800EC6E4 +/* 085A68 800EC5B8 00000000 */ nop +/* 085A6C 800EC5BC C620001C */ lwc1 $f0, 0x1c($s1) +/* 085A70 800EC5C0 3C0141B0 */ lui $at, 0x41b0 +/* 085A74 800EC5C4 44811000 */ mtc1 $at, $f2 +/* 085A78 800EC5C8 46000005 */ abs.s $f0, $f0 +/* 085A7C 800EC5CC 46020000 */ add.s $f0, $f0, $f2 +/* 085A80 800EC5D0 C7A20034 */ lwc1 $f2, 0x34($sp) +/* 085A84 800EC5D4 4600103E */ c.le.s $f2, $f0 +/* 085A88 800EC5D8 00000000 */ nop +/* 085A8C 800EC5DC 45000041 */ bc1f .L800EC6E4 +/* 085A90 800EC5E0 00000000 */ nop +/* 085A94 800EC5E4 C7AC0028 */ lwc1 $f12, 0x28($sp) +/* 085A98 800EC5E8 3C038011 */ lui $v1, 0x8011 +/* 085A9C 800EC5EC 8C63CFD8 */ lw $v1, -0x3028($v1) +/* 085AA0 800EC5F0 C7AE0030 */ lwc1 $f14, 0x30($sp) +/* 085AA4 800EC5F4 C7A0002C */ lwc1 $f0, 0x2c($sp) +/* 085AA8 800EC5F8 000310C0 */ sll $v0, $v1, 3 +/* 085AAC 800EC5FC 00431021 */ addu $v0, $v0, $v1 +/* 085AB0 800EC600 00021080 */ sll $v0, $v0, 2 +/* 085AB4 800EC604 3C048010 */ lui $a0, 0x8010 +/* 085AB8 800EC608 00822021 */ addu $a0, $a0, $v0 +/* 085ABC 800EC60C 8C848358 */ lw $a0, -0x7ca8($a0) +/* 085AC0 800EC610 8E220000 */ lw $v0, ($s1) +/* 085AC4 800EC614 2403F7FF */ addiu $v1, $zero, -0x801 +/* 085AC8 800EC618 E634001C */ swc1 $f20, 0x1c($s1) +/* 085ACC 800EC61C E620003C */ swc1 $f0, 0x3c($s1) +/* 085AD0 800EC620 00431024 */ and $v0, $v0, $v1 +/* 085AD4 800EC624 AE220000 */ sw $v0, ($s1) +/* 085AD8 800EC628 AE240028 */ sw $a0, 0x28($s1) +/* 085ADC 800EC62C 8E660028 */ lw $a2, 0x28($s3) +/* 085AE0 800EC630 0C00A720 */ jal atan2 +/* 085AE4 800EC634 8E670030 */ lw $a3, 0x30($s3) +/* 085AE8 800EC638 0220202D */ daddu $a0, $s1, $zero +/* 085AEC 800EC63C 24050002 */ addiu $a1, $zero, 2 +/* 085AF0 800EC640 0C00F598 */ jal func_8003D660 +/* 085AF4 800EC644 E620000C */ swc1 $f0, 0xc($s1) +/* 085AF8 800EC648 C62C0038 */ lwc1 $f12, 0x38($s1) +/* 085AFC 800EC64C C62E0040 */ lwc1 $f14, 0x40($s1) +/* 085B00 800EC650 8E260060 */ lw $a2, 0x60($s1) +/* 085B04 800EC654 8E270068 */ lw $a3, 0x68($s1) +/* 085B08 800EC658 3C108011 */ lui $s0, 0x8011 +/* 085B0C 800EC65C 2610CFC8 */ addiu $s0, $s0, -0x3038 +/* 085B10 800EC660 0C00A7B5 */ jal dist2D +/* 085B14 800EC664 A6000000 */ sh $zero, ($s0) +/* 085B18 800EC668 3C014014 */ lui $at, 0x4014 +/* 085B1C 800EC66C 44811800 */ mtc1 $at, $f3 +/* 085B20 800EC670 44801000 */ mtc1 $zero, $f2 +/* 085B24 800EC674 E7A00034 */ swc1 $f0, 0x34($sp) +/* 085B28 800EC678 46000021 */ cvt.d.s $f0, $f0 +/* 085B2C 800EC67C 4622003C */ c.lt.d $f0, $f2 +/* 085B30 800EC680 00000000 */ nop +/* 085B34 800EC684 45000317 */ bc1f .L800ED2E4 +/* 085B38 800EC688 00000000 */ nop +/* 085B3C 800EC68C C6600028 */ lwc1 $f0, 0x28($s3) +/* 085B40 800EC690 E6200038 */ swc1 $f0, 0x38($s1) +/* 085B44 800EC694 C660002C */ lwc1 $f0, 0x2c($s3) +/* 085B48 800EC698 E620003C */ swc1 $f0, 0x3c($s1) +/* 085B4C 800EC69C C6600030 */ lwc1 $f0, 0x30($s3) +/* 085B50 800EC6A0 E6200040 */ swc1 $f0, 0x40($s1) +/* 085B54 800EC6A4 C6AC006C */ lwc1 $f12, 0x6c($s5) +/* 085B58 800EC6A8 3C0142B4 */ lui $at, 0x42b4 +/* 085B5C 800EC6AC 44810000 */ mtc1 $at, $f0 +/* 085B60 800EC6B0 00000000 */ nop +/* 085B64 800EC6B4 46006300 */ add.s $f12, $f12, $f0 +/* 085B68 800EC6B8 C66000A8 */ lwc1 $f0, 0xa8($s3) +/* 085B6C 800EC6BC 0C00A6C9 */ jal clamp_angle +/* 085B70 800EC6C0 46006301 */ sub.s $f12, $f12, $f0 +/* 085B74 800EC6C4 0240202D */ daddu $a0, $s2, $zero +/* 085B78 800EC6C8 3C0640A0 */ lui $a2, 0x40a0 +/* 085B7C 800EC6CC 44070000 */ mfc1 $a3, $f0 +/* 085B80 800EC6D0 0C00A7E7 */ jal add_vec2D_polar +/* 085B84 800EC6D4 0280282D */ daddu $a1, $s4, $zero +/* 085B88 800EC6D8 24020005 */ addiu $v0, $zero, 5 +/* 085B8C 800EC6DC 0803B4B9 */ j .L800ED2E4 +/* 085B90 800EC6E0 A6020000 */ sh $v0, ($s0) + +.L800EC6E4: +/* 085B94 800EC6E4 8E250018 */ lw $a1, 0x18($s1) +/* 085B98 800EC6E8 8E26000C */ lw $a2, 0xc($s1) +/* 085B9C 800EC6EC 0C00EA95 */ jal npc_move_heading +/* 085BA0 800EC6F0 0220202D */ daddu $a0, $s1, $zero +/* 085BA4 800EC6F4 0803B4B9 */ j .L800ED2E4 +/* 085BA8 800EC6F8 00000000 */ nop + +/* 085BAC 800EC6FC 3C038011 */ lui $v1, 0x8011 +/* 085BB0 800EC700 2463CD38 */ addiu $v1, $v1, -0x32c8 +/* 085BB4 800EC704 C62C0038 */ lwc1 $f12, 0x38($s1) +/* 085BB8 800EC708 C62E0040 */ lwc1 $f14, 0x40($s1) +/* 085BBC 800EC70C 8E660028 */ lw $a2, 0x28($s3) +/* 085BC0 800EC710 8E670030 */ lw $a3, 0x30($s3) +/* 085BC4 800EC714 3C028011 */ lui $v0, 0x8011 +/* 085BC8 800EC718 8C42CFBC */ lw $v0, -0x3044($v0) +/* 085BCC 800EC71C C620003C */ lwc1 $f0, 0x3c($s1) +/* 085BD0 800EC720 00021100 */ sll $v0, $v0, 4 +/* 085BD4 800EC724 00438021 */ addu $s0, $v0, $v1 +/* 085BD8 800EC728 46006106 */ mov.s $f4, $f12 +/* 085BDC 800EC72C C6060004 */ lwc1 $f6, 4($s0) +/* 085BE0 800EC730 C608000C */ lwc1 $f8, 0xc($s0) +/* 085BE4 800EC734 46007086 */ mov.s $f2, $f14 +/* 085BE8 800EC738 E7A40028 */ swc1 $f4, 0x28($sp) +/* 085BEC 800EC73C E7A0002C */ swc1 $f0, 0x2c($sp) +/* 085BF0 800EC740 E7A20030 */ swc1 $f2, 0x30($sp) +/* 085BF4 800EC744 E7A60020 */ swc1 $f6, 0x20($sp) +/* 085BF8 800EC748 0C00A7B5 */ jal dist2D +/* 085BFC 800EC74C E7A80024 */ swc1 $f8, 0x24($sp) +/* 085C00 800EC750 3C018011 */ lui $at, 0x8011 +/* 085C04 800EC754 C422CFC0 */ lwc1 $f2, -0x3040($at) +/* 085C08 800EC758 4602003E */ c.le.s $f0, $f2 +/* 085C0C 800EC75C 00000000 */ nop +/* 085C10 800EC760 450000E3 */ bc1f .L800ECAF0 +/* 085C14 800EC764 E7A00034 */ swc1 $f0, 0x34($sp) +/* 085C18 800EC768 3C048011 */ lui $a0, 0x8011 +/* 085C1C 800EC76C 2484CFCA */ addiu $a0, $a0, -0x3036 +/* 085C20 800EC770 84820000 */ lh $v0, ($a0) +/* 085C24 800EC774 14400019 */ bnez $v0, .L800EC7DC +/* 085C28 800EC778 00000000 */ nop +/* 085C2C 800EC77C 3C038011 */ lui $v1, 0x8011 +/* 085C30 800EC780 8C63CFD8 */ lw $v1, -0x3028($v1) +/* 085C34 800EC784 AE200018 */ sw $zero, 0x18($s1) +/* 085C38 800EC788 AE200014 */ sw $zero, 0x14($s1) +/* 085C3C 800EC78C 000310C0 */ sll $v0, $v1, 3 +/* 085C40 800EC790 00431021 */ addu $v0, $v0, $v1 +/* 085C44 800EC794 00021080 */ sll $v0, $v0, 2 +/* 085C48 800EC798 3C018010 */ lui $at, 0x8010 +/* 085C4C 800EC79C 00220821 */ addu $at, $at, $v0 +/* 085C50 800EC7A0 8C22835C */ lw $v0, -0x7ca4($at) +/* 085C54 800EC7A4 AE220028 */ sw $v0, 0x28($s1) +/* 085C58 800EC7A8 826300B4 */ lb $v1, 0xb4($s3) +/* 085C5C 800EC7AC 2402000C */ addiu $v0, $zero, 0xc +/* 085C60 800EC7B0 50620001 */ beql $v1, $v0, .L800EC7B8 +/* 085C64 800EC7B4 A4800000 */ sh $zero, ($a0) +.L800EC7B8: +/* 085C68 800EC7B8 86240084 */ lh $a0, 0x84($s1) +/* 085C6C 800EC7BC 0C016F6A */ jal get_collider_type_by_id +/* 085C70 800EC7C0 00000000 */ nop +/* 085C74 800EC7C4 2442FFFE */ addiu $v0, $v0, -2 +/* 085C78 800EC7C8 2C420002 */ sltiu $v0, $v0, 2 +/* 085C7C 800EC7CC 104000C8 */ beqz $v0, .L800ECAF0 +/* 085C80 800EC7D0 00000000 */ nop +/* 085C84 800EC7D4 0803B0BA */ j .L800EC2E8 +/* 085C88 800EC7D8 00000000 */ nop + +.L800EC7DC: +/* 085C8C 800EC7DC C66200A8 */ lwc1 $f2, 0xa8($s3) +/* 085C90 800EC7E0 3C014334 */ lui $at, 0x4334 +/* 085C94 800EC7E4 44810000 */ mtc1 $at, $f0 +/* 085C98 800EC7E8 C6AC006C */ lwc1 $f12, 0x6c($s5) +/* 085C9C 800EC7EC 4600103C */ c.lt.s $f2, $f0 +/* 085CA0 800EC7F0 3C01C2B4 */ lui $at, 0xc2b4 +/* 085CA4 800EC7F4 44810000 */ mtc1 $at, $f0 +/* 085CA8 800EC7F8 45000003 */ bc1f .L800EC808 +/* 085CAC 800EC7FC 00000000 */ nop +/* 085CB0 800EC800 3C0142B4 */ lui $at, 0x42b4 +/* 085CB4 800EC804 44810000 */ mtc1 $at, $f0 +.L800EC808: +/* 085CB8 800EC808 0C00A6C9 */ jal clamp_angle +/* 085CBC 800EC80C 46006300 */ add.s $f12, $f12, $f0 +/* 085CC0 800EC810 44070000 */ mfc1 $a3, $f0 +/* 085CC4 800EC814 C6600028 */ lwc1 $f0, 0x28($s3) +/* 085CC8 800EC818 3C018011 */ lui $at, 0x8011 +/* 085CCC 800EC81C C424CFC0 */ lwc1 $f4, -0x3040($at) +/* 085CD0 800EC820 26240060 */ addiu $a0, $s1, 0x60 +/* 085CD4 800EC824 E6200060 */ swc1 $f0, 0x60($s1) +/* 085CD8 800EC828 3C014120 */ lui $at, 0x4120 +/* 085CDC 800EC82C 44810000 */ mtc1 $at, $f0 +/* 085CE0 800EC830 C662002C */ lwc1 $f2, 0x2c($s3) +/* 085CE4 800EC834 46002101 */ sub.s $f4, $f4, $f0 +/* 085CE8 800EC838 E6220064 */ swc1 $f2, 0x64($s1) +/* 085CEC 800EC83C C6600030 */ lwc1 $f0, 0x30($s3) +/* 085CF0 800EC840 44062000 */ mfc1 $a2, $f4 +/* 085CF4 800EC844 26250068 */ addiu $a1, $s1, 0x68 +/* 085CF8 800EC848 0C00A7E7 */ jal add_vec2D_polar +/* 085CFC 800EC84C E6200068 */ swc1 $f0, 0x68($s1) +/* 085D00 800EC850 C62C0038 */ lwc1 $f12, 0x38($s1) +/* 085D04 800EC854 C62E0040 */ lwc1 $f14, 0x40($s1) +/* 085D08 800EC858 8E260060 */ lw $a2, 0x60($s1) +/* 085D0C 800EC85C 0C00A720 */ jal atan2 +/* 085D10 800EC860 8E270068 */ lw $a3, 0x68($s1) +/* 085D14 800EC864 C62C0038 */ lwc1 $f12, 0x38($s1) +/* 085D18 800EC868 C62E0040 */ lwc1 $f14, 0x40($s1) +/* 085D1C 800EC86C 8E260060 */ lw $a2, 0x60($s1) +/* 085D20 800EC870 8E270068 */ lw $a3, 0x68($s1) +/* 085D24 800EC874 0C00A7B5 */ jal dist2D +/* 085D28 800EC878 46000506 */ mov.s $f20, $f0 +/* 085D2C 800EC87C 3C014000 */ lui $at, 0x4000 +/* 085D30 800EC880 44811000 */ mtc1 $at, $f2 +/* 085D34 800EC884 E7A00034 */ swc1 $f0, 0x34($sp) +/* 085D38 800EC888 4600103C */ c.lt.s $f2, $f0 +/* 085D3C 800EC88C 00000000 */ nop +/* 085D40 800EC890 45000022 */ bc1f .L800EC91C +/* 085D44 800EC894 E6220018 */ swc1 $f2, 0x18($s1) +/* 085D48 800EC898 3C038011 */ lui $v1, 0x8011 +/* 085D4C 800EC89C 8C63CFD8 */ lw $v1, -0x3028($v1) +/* 085D50 800EC8A0 3C048010 */ lui $a0, 0x8010 +/* 085D54 800EC8A4 24848348 */ addiu $a0, $a0, -0x7cb8 +/* 085D58 800EC8A8 E634000C */ swc1 $f20, 0xc($s1) +/* 085D5C 800EC8AC 000310C0 */ sll $v0, $v1, 3 +/* 085D60 800EC8B0 00431021 */ addu $v0, $v0, $v1 +/* 085D64 800EC8B4 00021080 */ sll $v0, $v0, 2 +/* 085D68 800EC8B8 00442021 */ addu $a0, $v0, $a0 +/* 085D6C 800EC8BC 8E220000 */ lw $v0, ($s1) +/* 085D70 800EC8C0 8C830018 */ lw $v1, 0x18($a0) +/* 085D74 800EC8C4 30424000 */ andi $v0, $v0, 0x4000 +/* 085D78 800EC8C8 14400004 */ bnez $v0, .L800EC8DC +/* 085D7C 800EC8CC AE230028 */ sw $v1, 0x28($s1) +/* 085D80 800EC8D0 3C018010 */ lui $at, 0x8010 +/* 085D84 800EC8D4 0803B263 */ j .L800EC98C +/* 085D88 800EC8D8 A420803A */ sh $zero, -0x7fc6($at) + +.L800EC8DC: +/* 085D8C 800EC8DC 3C038010 */ lui $v1, 0x8010 +/* 085D90 800EC8E0 2463803A */ addiu $v1, $v1, -0x7fc6 +/* 085D94 800EC8E4 94620000 */ lhu $v0, ($v1) +/* 085D98 800EC8E8 24420001 */ addiu $v0, $v0, 1 +/* 085D9C 800EC8EC A4620000 */ sh $v0, ($v1) +/* 085DA0 800EC8F0 00021400 */ sll $v0, $v0, 0x10 +/* 085DA4 800EC8F4 00021403 */ sra $v0, $v0, 0x10 +/* 085DA8 800EC8F8 2842000B */ slti $v0, $v0, 0xb +/* 085DAC 800EC8FC 14400023 */ bnez $v0, .L800EC98C +/* 085DB0 800EC900 00000000 */ nop +/* 085DB4 800EC904 C6740080 */ lwc1 $f20, 0x80($s3) +/* 085DB8 800EC908 AE200018 */ sw $zero, 0x18($s1) +/* 085DBC 800EC90C AE200014 */ sw $zero, 0x14($s1) +/* 085DC0 800EC910 E6340034 */ swc1 $f20, 0x34($s1) +/* 085DC4 800EC914 0803B258 */ j .L800EC960 +/* 085DC8 800EC918 8C820014 */ lw $v0, 0x14($a0) + +.L800EC91C: +/* 085DCC 800EC91C C62C0038 */ lwc1 $f12, 0x38($s1) +/* 085DD0 800EC920 C62E0040 */ lwc1 $f14, 0x40($s1) +/* 085DD4 800EC924 8E660028 */ lw $a2, 0x28($s3) +/* 085DD8 800EC928 0C00A720 */ jal atan2 +/* 085DDC 800EC92C 8E670030 */ lw $a3, 0x30($s3) +/* 085DE0 800EC930 3C038011 */ lui $v1, 0x8011 +/* 085DE4 800EC934 8C63CFD8 */ lw $v1, -0x3028($v1) +/* 085DE8 800EC938 46000506 */ mov.s $f20, $f0 +/* 085DEC 800EC93C E634000C */ swc1 $f20, 0xc($s1) +/* 085DF0 800EC940 AE200018 */ sw $zero, 0x18($s1) +/* 085DF4 800EC944 AE200014 */ sw $zero, 0x14($s1) +/* 085DF8 800EC948 000310C0 */ sll $v0, $v1, 3 +/* 085DFC 800EC94C 00431021 */ addu $v0, $v0, $v1 +/* 085E00 800EC950 00021080 */ sll $v0, $v0, 2 +/* 085E04 800EC954 3C018010 */ lui $at, 0x8010 +/* 085E08 800EC958 00220821 */ addu $at, $at, $v0 +/* 085E0C 800EC95C 8C22835C */ lw $v0, -0x7ca4($at) +.L800EC960: +/* 085E10 800EC960 3C048011 */ lui $a0, 0x8011 +/* 085E14 800EC964 2484CFCA */ addiu $a0, $a0, -0x3036 +/* 085E18 800EC968 AE220028 */ sw $v0, 0x28($s1) +/* 085E1C 800EC96C 84830000 */ lh $v1, ($a0) +/* 085E20 800EC970 24020002 */ addiu $v0, $zero, 2 +/* 085E24 800EC974 10620004 */ beq $v1, $v0, .L800EC988 +/* 085E28 800EC978 2402000C */ addiu $v0, $zero, 0xc +/* 085E2C 800EC97C 826300B4 */ lb $v1, 0xb4($s3) +/* 085E30 800EC980 14620002 */ bne $v1, $v0, .L800EC98C +/* 085E34 800EC984 00000000 */ nop +.L800EC988: +/* 085E38 800EC988 A4800000 */ sh $zero, ($a0) +.L800EC98C: +/* 085E3C 800EC98C 8E250018 */ lw $a1, 0x18($s1) +/* 085E40 800EC990 4406A000 */ mfc1 $a2, $f20 +/* 085E44 800EC994 0220202D */ daddu $a0, $s1, $zero +/* 085E48 800EC998 0C00EA95 */ jal npc_move_heading +/* 085E4C 800EC99C E634000C */ swc1 $f20, 0xc($s1) +/* 085E50 800EC9A0 C6200018 */ lwc1 $f0, 0x18($s1) +/* 085E54 800EC9A4 3C014010 */ lui $at, 0x4010 +/* 085E58 800EC9A8 44811800 */ mtc1 $at, $f3 +/* 085E5C 800EC9AC 44801000 */ mtc1 $zero, $f2 +/* 085E60 800EC9B0 46000021 */ cvt.d.s $f0, $f0 +/* 085E64 800EC9B4 4622003C */ c.lt.d $f0, $f2 +/* 085E68 800EC9B8 00000000 */ nop +/* 085E6C 800EC9BC 45000002 */ bc1f .L800EC9C8 +/* 085E70 800EC9C0 24050001 */ addiu $a1, $zero, 1 +/* 085E74 800EC9C4 0000282D */ daddu $a1, $zero, $zero +.L800EC9C8: +/* 085E78 800EC9C8 0C00F598 */ jal func_8003D660 +/* 085E7C 800EC9CC 0220202D */ daddu $a0, $s1, $zero +/* 085E80 800EC9D0 862200A8 */ lh $v0, 0xa8($s1) +/* 085E84 800EC9D4 3C01447A */ lui $at, 0x447a +/* 085E88 800EC9D8 44810000 */ mtc1 $at, $f0 +/* 085E8C 800EC9DC 44822000 */ mtc1 $v0, $f4 +/* 085E90 800EC9E0 00000000 */ nop +/* 085E94 800EC9E4 46802120 */ cvt.s.w $f4, $f4 +/* 085E98 800EC9E8 27A20034 */ addiu $v0, $sp, 0x34 +/* 085E9C 800EC9EC E7A00034 */ swc1 $f0, 0x34($sp) +/* 085EA0 800EC9F0 C6260038 */ lwc1 $f6, 0x38($s1) +/* 085EA4 800EC9F4 C620003C */ lwc1 $f0, 0x3c($s1) +/* 085EA8 800EC9F8 C6220040 */ lwc1 $f2, 0x40($s1) +/* 085EAC 800EC9FC 46040000 */ add.s $f0, $f0, $f4 +/* 085EB0 800ECA00 E7A60028 */ swc1 $f6, 0x28($sp) +/* 085EB4 800ECA04 E7A20030 */ swc1 $f2, 0x30($sp) +/* 085EB8 800ECA08 E7A0002C */ swc1 $f0, 0x2c($sp) +/* 085EBC 800ECA0C AFA20010 */ sw $v0, 0x10($sp) +/* 085EC0 800ECA10 C620000C */ lwc1 $f0, 0xc($s1) +/* 085EC4 800ECA14 27A50028 */ addiu $a1, $sp, 0x28 +/* 085EC8 800ECA18 E7A00014 */ swc1 $f0, 0x14($sp) +/* 085ECC 800ECA1C 862200A6 */ lh $v0, 0xa6($s1) +/* 085ED0 800ECA20 27A6002C */ addiu $a2, $sp, 0x2c +/* 085ED4 800ECA24 44820000 */ mtc1 $v0, $f0 +/* 085ED8 800ECA28 00000000 */ nop +/* 085EDC 800ECA2C 46800020 */ cvt.s.w $f0, $f0 +/* 085EE0 800ECA30 E7A00018 */ swc1 $f0, 0x18($sp) +/* 085EE4 800ECA34 8E240080 */ lw $a0, 0x80($s1) +/* 085EE8 800ECA38 0C0371DE */ jal func_800DC778 +/* 085EEC 800ECA3C 27A70030 */ addiu $a3, $sp, 0x30 +/* 085EF0 800ECA40 10400228 */ beqz $v0, .L800ED2E4 +/* 085EF4 800ECA44 00000000 */ nop +/* 085EF8 800ECA48 3C108011 */ lui $s0, 0x8011 +/* 085EFC 800ECA4C 2610C978 */ addiu $s0, $s0, -0x3688 +/* 085F00 800ECA50 0C016F6A */ jal get_collider_type_by_id +/* 085F04 800ECA54 8E040000 */ lw $a0, ($s0) +/* 085F08 800ECA58 2442FFFE */ addiu $v0, $v0, -2 +/* 085F0C 800ECA5C 2C420002 */ sltiu $v0, $v0, 2 +/* 085F10 800ECA60 10400020 */ beqz $v0, .L800ECAE4 +/* 085F14 800ECA64 00000000 */ nop +/* 085F18 800ECA68 3C014334 */ lui $at, 0x4334 +/* 085F1C 800ECA6C 44816000 */ mtc1 $at, $f12 +/* 085F20 800ECA70 0C00A6C9 */ jal clamp_angle +/* 085F24 800ECA74 460CA300 */ add.s $f12, $f20, $f12 +/* 085F28 800ECA78 8E250018 */ lw $a1, 0x18($s1) +/* 085F2C 800ECA7C 44060000 */ mfc1 $a2, $f0 +/* 085F30 800ECA80 0220202D */ daddu $a0, $s1, $zero +/* 085F34 800ECA84 0C00EA95 */ jal npc_move_heading +/* 085F38 800ECA88 AE26000C */ sw $a2, 0xc($s1) +/* 085F3C 800ECA8C 3C038011 */ lui $v1, 0x8011 +/* 085F40 800ECA90 8C63CFD8 */ lw $v1, -0x3028($v1) +/* 085F44 800ECA94 AE200018 */ sw $zero, 0x18($s1) +/* 085F48 800ECA98 AE200014 */ sw $zero, 0x14($s1) +/* 085F4C 800ECA9C 000310C0 */ sll $v0, $v1, 3 +/* 085F50 800ECAA0 00431021 */ addu $v0, $v0, $v1 +/* 085F54 800ECAA4 00021080 */ sll $v0, $v0, 2 +/* 085F58 800ECAA8 3C018010 */ lui $at, 0x8010 +/* 085F5C 800ECAAC 00220821 */ addu $at, $at, $v0 +/* 085F60 800ECAB0 8C22835C */ lw $v0, -0x7ca4($at) +/* 085F64 800ECAB4 3C048011 */ lui $a0, 0x8011 +/* 085F68 800ECAB8 2484CFCA */ addiu $a0, $a0, -0x3036 +/* 085F6C 800ECABC AE220028 */ sw $v0, 0x28($s1) +/* 085F70 800ECAC0 84830000 */ lh $v1, ($a0) +/* 085F74 800ECAC4 24020002 */ addiu $v0, $zero, 2 +/* 085F78 800ECAC8 10620177 */ beq $v1, $v0, .L800ED0A8 +/* 085F7C 800ECACC 2402000C */ addiu $v0, $zero, 0xc +/* 085F80 800ECAD0 826300B4 */ lb $v1, 0xb4($s3) +/* 085F84 800ECAD4 14620203 */ bne $v1, $v0, .L800ED2E4 +/* 085F88 800ECAD8 00000000 */ nop +/* 085F8C 800ECADC 0803B4B9 */ j .L800ED2E4 +/* 085F90 800ECAE0 A4800000 */ sh $zero, ($a0) + +.L800ECAE4: +/* 085F94 800ECAE4 8E040000 */ lw $a0, ($s0) +/* 085F98 800ECAE8 0803B2C9 */ j .L800ECB24 +/* 085F9C 800ECAEC 00000000 */ nop + +.L800ECAF0: +/* 085FA0 800ECAF0 C62C0038 */ lwc1 $f12, 0x38($s1) +/* 085FA4 800ECAF4 C62E0040 */ lwc1 $f14, 0x40($s1) +/* 085FA8 800ECAF8 8E660028 */ lw $a2, 0x28($s3) +/* 085FAC 800ECAFC 0C00A7B5 */ jal dist2D +/* 085FB0 800ECB00 8E670030 */ lw $a3, 0x30($s3) +/* 085FB4 800ECB04 3C018011 */ lui $at, 0x8011 +/* 085FB8 800ECB08 C422CFC0 */ lwc1 $f2, -0x3040($at) +/* 085FBC 800ECB0C 4602003E */ c.le.s $f0, $f2 +/* 085FC0 800ECB10 00000000 */ nop +/* 085FC4 800ECB14 4500000B */ bc1f .L800ECB44 +/* 085FC8 800ECB18 E7A00034 */ swc1 $f0, 0x34($sp) +/* 085FCC 800ECB1C 3C048011 */ lui $a0, 0x8011 +/* 085FD0 800ECB20 8C84C978 */ lw $a0, -0x3688($a0) +.L800ECB24: +/* 085FD4 800ECB24 0C03A92C */ jal func_800EA4B0 +/* 085FD8 800ECB28 00000000 */ nop +/* 085FDC 800ECB2C 144001ED */ bnez $v0, .L800ED2E4 +/* 085FE0 800ECB30 24020002 */ addiu $v0, $zero, 2 +/* 085FE4 800ECB34 3C018011 */ lui $at, 0x8011 +/* 085FE8 800ECB38 A422CFCA */ sh $v0, -0x3036($at) +/* 085FEC 800ECB3C 0803B4B9 */ j .L800ED2E4 +/* 085FF0 800ECB40 00000000 */ nop + +.L800ECB44: +/* 085FF4 800ECB44 3C0142B4 */ lui $at, 0x42b4 +/* 085FF8 800ECB48 4481B000 */ mtc1 $at, $f22 +/* 085FFC 800ECB4C 3C128011 */ lui $s2, 0x8011 +/* 086000 800ECB50 2652CFBC */ addiu $s2, $s2, -0x3044 +/* 086004 800ECB54 3C148011 */ lui $s4, 0x8011 +/* 086008 800ECB58 2694CD38 */ addiu $s4, $s4, -0x32c8 +.L800ECB5C: +/* 08600C 800ECB5C 82020000 */ lb $v0, ($s0) +/* 086010 800ECB60 14400028 */ bnez $v0, .L800ECC04 +/* 086014 800ECB64 00000000 */ nop +/* 086018 800ECB68 C62C0038 */ lwc1 $f12, 0x38($s1) +/* 08601C 800ECB6C C62E0040 */ lwc1 $f14, 0x40($s1) +/* 086020 800ECB70 8FA60020 */ lw $a2, 0x20($sp) +/* 086024 800ECB74 0C00A720 */ jal atan2 +/* 086028 800ECB78 8FA70024 */ lw $a3, 0x24($sp) +/* 08602C 800ECB7C C62C0038 */ lwc1 $f12, 0x38($s1) +/* 086030 800ECB80 C62E0040 */ lwc1 $f14, 0x40($s1) +/* 086034 800ECB84 8E660028 */ lw $a2, 0x28($s3) +/* 086038 800ECB88 8E670030 */ lw $a3, 0x30($s3) +/* 08603C 800ECB8C 0C00A720 */ jal atan2 +/* 086040 800ECB90 46000506 */ mov.s $f20, $f0 +/* 086044 800ECB94 4600A306 */ mov.s $f12, $f20 +/* 086048 800ECB98 0C00A70A */ jal get_clamped_angle_diff +/* 08604C 800ECB9C 46000386 */ mov.s $f14, $f0 +/* 086050 800ECBA0 46000005 */ abs.s $f0, $f0 +/* 086054 800ECBA4 4616003C */ c.lt.s $f0, $f22 +/* 086058 800ECBA8 00000000 */ nop +/* 08605C 800ECBAC 45010012 */ bc1t .L800ECBF8 +/* 086060 800ECBB0 00000000 */ nop +/* 086064 800ECBB4 8E430000 */ lw $v1, ($s2) +/* 086068 800ECBB8 3C028011 */ lui $v0, 0x8011 +/* 08606C 800ECBBC 8C42CFB8 */ lw $v0, -0x3048($v0) +/* 086070 800ECBC0 1062000D */ beq $v1, $v0, .L800ECBF8 +/* 086074 800ECBC4 24620001 */ addiu $v0, $v1, 1 +/* 086078 800ECBC8 AE420000 */ sw $v0, ($s2) +/* 08607C 800ECBCC 28420028 */ slti $v0, $v0, 0x28 +/* 086080 800ECBD0 50400001 */ beql $v0, $zero, .L800ECBD8 +/* 086084 800ECBD4 AE400000 */ sw $zero, ($s2) +.L800ECBD8: +/* 086088 800ECBD8 8E420000 */ lw $v0, ($s2) +/* 08608C 800ECBDC 00021100 */ sll $v0, $v0, 4 +/* 086090 800ECBE0 00548021 */ addu $s0, $v0, $s4 +/* 086094 800ECBE4 C6000004 */ lwc1 $f0, 4($s0) +/* 086098 800ECBE8 C602000C */ lwc1 $f2, 0xc($s0) +/* 08609C 800ECBEC E7A00020 */ swc1 $f0, 0x20($sp) +/* 0860A0 800ECBF0 0803B2D7 */ j .L800ECB5C +/* 0860A4 800ECBF4 E7A20024 */ swc1 $f2, 0x24($sp) + +.L800ECBF8: +/* 0860A8 800ECBF8 82020000 */ lb $v0, ($s0) +/* 0860AC 800ECBFC 1040FDBA */ beqz $v0, .L800EC2E8 +/* 0860B0 800ECC00 00000000 */ nop +.L800ECC04: +/* 0860B4 800ECC04 3C0142B4 */ lui $at, 0x42b4 +/* 0860B8 800ECC08 4481B000 */ mtc1 $at, $f22 +/* 0860BC 800ECC0C 3C128011 */ lui $s2, 0x8011 +/* 0860C0 800ECC10 2652CFBC */ addiu $s2, $s2, -0x3044 +/* 0860C4 800ECC14 3C148011 */ lui $s4, 0x8011 +/* 0860C8 800ECC18 2694CD38 */ addiu $s4, $s4, -0x32c8 +.L800ECC1C: +/* 0860CC 800ECC1C 82020000 */ lb $v0, ($s0) +/* 0860D0 800ECC20 104001AE */ beqz $v0, .L800ED2DC +/* 0860D4 800ECC24 24020001 */ addiu $v0, $zero, 1 +/* 0860D8 800ECC28 C62C0038 */ lwc1 $f12, 0x38($s1) +/* 0860DC 800ECC2C C62E0040 */ lwc1 $f14, 0x40($s1) +/* 0860E0 800ECC30 8FA60020 */ lw $a2, 0x20($sp) +/* 0860E4 800ECC34 0C00A720 */ jal atan2 +/* 0860E8 800ECC38 8FA70024 */ lw $a3, 0x24($sp) +/* 0860EC 800ECC3C C62C0038 */ lwc1 $f12, 0x38($s1) +/* 0860F0 800ECC40 C62E0040 */ lwc1 $f14, 0x40($s1) +/* 0860F4 800ECC44 8E660028 */ lw $a2, 0x28($s3) +/* 0860F8 800ECC48 8E670030 */ lw $a3, 0x30($s3) +/* 0860FC 800ECC4C 0C00A720 */ jal atan2 +/* 086100 800ECC50 46000506 */ mov.s $f20, $f0 +/* 086104 800ECC54 4600A306 */ mov.s $f12, $f20 +/* 086108 800ECC58 0C00A70A */ jal get_clamped_angle_diff +/* 08610C 800ECC5C 46000386 */ mov.s $f14, $f0 +/* 086110 800ECC60 46000005 */ abs.s $f0, $f0 +/* 086114 800ECC64 4616003C */ c.lt.s $f0, $f22 +/* 086118 800ECC68 00000000 */ nop +/* 08611C 800ECC6C 4501019B */ bc1t .L800ED2DC +/* 086120 800ECC70 24020001 */ addiu $v0, $zero, 1 +/* 086124 800ECC74 8E430000 */ lw $v1, ($s2) +/* 086128 800ECC78 3C028011 */ lui $v0, 0x8011 +/* 08612C 800ECC7C 8C42CFB8 */ lw $v0, -0x3048($v0) +/* 086130 800ECC80 1062000D */ beq $v1, $v0, .L800ECCB8 +/* 086134 800ECC84 24620001 */ addiu $v0, $v1, 1 +/* 086138 800ECC88 AE420000 */ sw $v0, ($s2) +/* 08613C 800ECC8C 28420028 */ slti $v0, $v0, 0x28 +/* 086140 800ECC90 50400001 */ beql $v0, $zero, .L800ECC98 +/* 086144 800ECC94 AE400000 */ sw $zero, ($s2) +.L800ECC98: +/* 086148 800ECC98 8E420000 */ lw $v0, ($s2) +/* 08614C 800ECC9C 00021100 */ sll $v0, $v0, 4 +/* 086150 800ECCA0 00548021 */ addu $s0, $v0, $s4 +/* 086154 800ECCA4 C6000004 */ lwc1 $f0, 4($s0) +/* 086158 800ECCA8 C602000C */ lwc1 $f2, 0xc($s0) +/* 08615C 800ECCAC E7A00020 */ swc1 $f0, 0x20($sp) +/* 086160 800ECCB0 0803B307 */ j .L800ECC1C +/* 086164 800ECCB4 E7A20024 */ swc1 $f2, 0x24($sp) + +.L800ECCB8: +/* 086168 800ECCB8 0803B4B7 */ j .L800ED2DC +/* 08616C 800ECCBC 24020001 */ addiu $v0, $zero, 1 + +/* 086170 800ECCC0 3C048011 */ lui $a0, 0x8011 +/* 086174 800ECCC4 2484CFCE */ addiu $a0, $a0, -0x3032 +/* 086178 800ECCC8 84830000 */ lh $v1, ($a0) +/* 08617C 800ECCCC 24020001 */ addiu $v0, $zero, 1 +/* 086180 800ECCD0 10620050 */ beq $v1, $v0, .L800ECE14 +/* 086184 800ECCD4 28620002 */ slti $v0, $v1, 2 +/* 086188 800ECCD8 50400005 */ beql $v0, $zero, .L800ECCF0 +/* 08618C 800ECCDC 24020002 */ addiu $v0, $zero, 2 +/* 086190 800ECCE0 10600007 */ beqz $v1, .L800ECD00 +/* 086194 800ECCE4 00000000 */ nop +/* 086198 800ECCE8 0803B4B9 */ j .L800ED2E4 +/* 08619C 800ECCEC 00000000 */ nop + +.L800ECCF0: +/* 0861A0 800ECCF0 106200E2 */ beq $v1, $v0, .L800ED07C +/* 0861A4 800ECCF4 00000000 */ nop +/* 0861A8 800ECCF8 0803B4B9 */ j .L800ED2E4 +/* 0861AC 800ECCFC 00000000 */ nop + +.L800ECD00: +/* 0861B0 800ECD00 0C0394D2 */ jal func_800E5348 +/* 0861B4 800ECD04 00000000 */ nop +/* 0861B8 800ECD08 3C014334 */ lui $at, 0x4334 +/* 0861BC 800ECD0C 44816000 */ mtc1 $at, $f12 +/* 0861C0 800ECD10 0C00A6C9 */ jal clamp_angle +/* 0861C4 800ECD14 460C0300 */ add.s $f12, $f0, $f12 +/* 0861C8 800ECD18 C6620028 */ lwc1 $f2, 0x28($s3) +/* 0861CC 800ECD1C E6220060 */ swc1 $f2, 0x60($s1) +/* 0861D0 800ECD20 C662002C */ lwc1 $f2, 0x2c($s3) +/* 0861D4 800ECD24 E6220064 */ swc1 $f2, 0x64($s1) +/* 0861D8 800ECD28 C6620030 */ lwc1 $f2, 0x30($s3) +/* 0861DC 800ECD2C 26240060 */ addiu $a0, $s1, 0x60 +/* 0861E0 800ECD30 E6220068 */ swc1 $f2, 0x68($s1) +/* 0861E4 800ECD34 866200B2 */ lh $v0, 0xb2($s3) +/* 0861E8 800ECD38 44070000 */ mfc1 $a3, $f0 +/* 0861EC 800ECD3C 44825000 */ mtc1 $v0, $f10 +/* 0861F0 800ECD40 00000000 */ nop +/* 0861F4 800ECD44 468052A0 */ cvt.s.w $f10, $f10 +/* 0861F8 800ECD48 44065000 */ mfc1 $a2, $f10 +/* 0861FC 800ECD4C 0C00A7E7 */ jal add_vec2D_polar +/* 086200 800ECD50 26250068 */ addiu $a1, $s1, 0x68 +/* 086204 800ECD54 C62C0038 */ lwc1 $f12, 0x38($s1) +/* 086208 800ECD58 C62E0040 */ lwc1 $f14, 0x40($s1) +/* 08620C 800ECD5C 8E260060 */ lw $a2, 0x60($s1) +/* 086210 800ECD60 0C00A7B5 */ jal dist2D +/* 086214 800ECD64 8E270068 */ lw $a3, 0x68($s1) +/* 086218 800ECD68 3C018010 */ lui $at, 0x8010 +/* 08621C 800ECD6C C422802C */ lwc1 $f2, -0x7fd4($at) +/* 086220 800ECD70 468010A0 */ cvt.s.w $f2, $f2 +/* 086224 800ECD74 E7A00034 */ swc1 $f0, 0x34($sp) +/* 086228 800ECD78 46020003 */ div.s $f0, $f0, $f2 +/* 08622C 800ECD7C 3C018010 */ lui $at, 0x8010 +/* 086230 800ECD80 E4208030 */ swc1 $f0, -0x7fd0($at) +/* 086234 800ECD84 E6200018 */ swc1 $f0, 0x18($s1) +/* 086238 800ECD88 46000021 */ cvt.d.s $f0, $f0 +/* 08623C 800ECD8C 26240028 */ addiu $a0, $s1, 0x28 +/* 086240 800ECD90 3C038011 */ lui $v1, 0x8011 +/* 086244 800ECD94 8C63CFD8 */ lw $v1, -0x3028($v1) +/* 086248 800ECD98 3C014010 */ lui $at, 0x4010 +/* 08624C 800ECD9C 44811800 */ mtc1 $at, $f3 +/* 086250 800ECDA0 44801000 */ mtc1 $zero, $f2 +/* 086254 800ECDA4 000310C0 */ sll $v0, $v1, 3 +/* 086258 800ECDA8 00431021 */ addu $v0, $v0, $v1 +/* 08625C 800ECDAC 4620103E */ c.le.d $f2, $f0 +/* 086260 800ECDB0 00000000 */ nop +/* 086264 800ECDB4 45000003 */ bc1f .L800ECDC4 +/* 086268 800ECDB8 00021080 */ sll $v0, $v0, 2 +/* 08626C 800ECDBC 0803B372 */ j .L800ECDC8 +/* 086270 800ECDC0 24430018 */ addiu $v1, $v0, 0x18 + +.L800ECDC4: +/* 086274 800ECDC4 24430004 */ addiu $v1, $v0, 4 +.L800ECDC8: +/* 086278 800ECDC8 3C028010 */ lui $v0, 0x8010 +/* 08627C 800ECDCC 24428348 */ addiu $v0, $v0, -0x7cb8 +/* 086280 800ECDD0 00431021 */ addu $v0, $v0, $v1 +/* 086284 800ECDD4 8C420000 */ lw $v0, ($v0) +/* 086288 800ECDD8 AC820000 */ sw $v0, ($a0) +/* 08628C 800ECDDC C62C0038 */ lwc1 $f12, 0x38($s1) +/* 086290 800ECDE0 C62E0040 */ lwc1 $f14, 0x40($s1) +/* 086294 800ECDE4 8E260060 */ lw $a2, 0x60($s1) +/* 086298 800ECDE8 0C00A720 */ jal atan2 +/* 08629C 800ECDEC 8E270068 */ lw $a3, 0x68($s1) +/* 0862A0 800ECDF0 3C038011 */ lui $v1, 0x8011 +/* 0862A4 800ECDF4 2463CFCE */ addiu $v1, $v1, -0x3032 +/* 0862A8 800ECDF8 94620000 */ lhu $v0, ($v1) +/* 0862AC 800ECDFC 46000506 */ mov.s $f20, $f0 +/* 0862B0 800ECE00 3C018010 */ lui $at, 0x8010 +/* 0862B4 800ECE04 E4348034 */ swc1 $f20, -0x7fcc($at) +/* 0862B8 800ECE08 E634000C */ swc1 $f20, 0xc($s1) +/* 0862BC 800ECE0C 24420001 */ addiu $v0, $v0, 1 +/* 0862C0 800ECE10 A4620000 */ sh $v0, ($v1) +.L800ECE14: +/* 0862C4 800ECE14 3C108010 */ lui $s0, 0x8010 +/* 0862C8 800ECE18 2610802C */ addiu $s0, $s0, -0x7fd4 +/* 0862CC 800ECE1C 8E020000 */ lw $v0, ($s0) +/* 0862D0 800ECE20 10400079 */ beqz $v0, .L800ED008 +/* 0862D4 800ECE24 2442FFFF */ addiu $v0, $v0, -1 +/* 0862D8 800ECE28 C6220014 */ lwc1 $f2, 0x14($s1) +/* 0862DC 800ECE2C 44803000 */ mtc1 $zero, $f6 +/* 0862E0 800ECE30 00000000 */ nop +/* 0862E4 800ECE34 46061032 */ c.eq.s $f2, $f6 +/* 0862E8 800ECE38 00000000 */ nop +/* 0862EC 800ECE3C 4501005A */ bc1t .L800ECFA8 +/* 0862F0 800ECE40 AE020000 */ sw $v0, ($s0) +/* 0862F4 800ECE44 C620001C */ lwc1 $f0, 0x1c($s1) +/* 0862F8 800ECE48 46020001 */ sub.s $f0, $f0, $f2 +/* 0862FC 800ECE4C C622003C */ lwc1 $f2, 0x3c($s1) +/* 086300 800ECE50 46001080 */ add.s $f2, $f2, $f0 +/* 086304 800ECE54 E620001C */ swc1 $f0, 0x1c($s1) +/* 086308 800ECE58 4606003E */ c.le.s $f0, $f6 +/* 08630C 800ECE5C 00000000 */ nop +/* 086310 800ECE60 4500000A */ bc1f .L800ECE8C +/* 086314 800ECE64 E622003C */ swc1 $f2, 0x3c($s1) +/* 086318 800ECE68 3C028011 */ lui $v0, 0x8011 +/* 08631C 800ECE6C 8C42CFD8 */ lw $v0, -0x3028($v0) +/* 086320 800ECE70 000218C0 */ sll $v1, $v0, 3 +/* 086324 800ECE74 00621821 */ addu $v1, $v1, $v0 +/* 086328 800ECE78 00031880 */ sll $v1, $v1, 2 +/* 08632C 800ECE7C 3C028010 */ lui $v0, 0x8010 +/* 086330 800ECE80 00431021 */ addu $v0, $v0, $v1 +/* 086334 800ECE84 8C428354 */ lw $v0, -0x7cac($v0) +/* 086338 800ECE88 AE220028 */ sw $v0, 0x28($s1) +.L800ECE8C: +/* 08633C 800ECE8C C624001C */ lwc1 $f4, 0x1c($s1) +/* 086340 800ECE90 4606203E */ c.le.s $f4, $f6 +/* 086344 800ECE94 00000000 */ nop +/* 086348 800ECE98 45000043 */ bc1f .L800ECFA8 +/* 08634C 800ECE9C 27A20034 */ addiu $v0, $sp, 0x34 +/* 086350 800ECEA0 C6200038 */ lwc1 $f0, 0x38($s1) +/* 086354 800ECEA4 3C014130 */ lui $at, 0x4130 +/* 086358 800ECEA8 44811000 */ mtc1 $at, $f2 +/* 08635C 800ECEAC E7A00028 */ swc1 $f0, 0x28($sp) +/* 086360 800ECEB0 46002005 */ abs.s $f0, $f4 +/* 086364 800ECEB4 46020000 */ add.s $f0, $f0, $f2 +/* 086368 800ECEB8 C622003C */ lwc1 $f2, 0x3c($s1) +/* 08636C 800ECEBC C6240040 */ lwc1 $f4, 0x40($s1) +/* 086370 800ECEC0 46001080 */ add.s $f2, $f2, $f0 +/* 086374 800ECEC4 E7A40030 */ swc1 $f4, 0x30($sp) +/* 086378 800ECEC8 E7A00034 */ swc1 $f0, 0x34($sp) +/* 08637C 800ECECC E7A2002C */ swc1 $f2, 0x2c($sp) +/* 086380 800ECED0 AFA20010 */ sw $v0, 0x10($sp) +/* 086384 800ECED4 C620000C */ lwc1 $f0, 0xc($s1) +/* 086388 800ECED8 27A50028 */ addiu $a1, $sp, 0x28 +/* 08638C 800ECEDC E7A00014 */ swc1 $f0, 0x14($sp) +/* 086390 800ECEE0 862200A6 */ lh $v0, 0xa6($s1) +/* 086394 800ECEE4 27A6002C */ addiu $a2, $sp, 0x2c +/* 086398 800ECEE8 44820000 */ mtc1 $v0, $f0 +/* 08639C 800ECEEC 00000000 */ nop +/* 0863A0 800ECEF0 46800020 */ cvt.s.w $f0, $f0 +/* 0863A4 800ECEF4 E7A00018 */ swc1 $f0, 0x18($sp) +/* 0863A8 800ECEF8 8E240080 */ lw $a0, 0x80($s1) +/* 0863AC 800ECEFC 0C0371DE */ jal func_800DC778 +/* 0863B0 800ECF00 27A70030 */ addiu $a3, $sp, 0x30 +/* 0863B4 800ECF04 10400028 */ beqz $v0, .L800ECFA8 +/* 0863B8 800ECF08 00000000 */ nop +/* 0863BC 800ECF0C C620001C */ lwc1 $f0, 0x1c($s1) +/* 0863C0 800ECF10 3C0141B0 */ lui $at, 0x41b0 +/* 0863C4 800ECF14 44811000 */ mtc1 $at, $f2 +/* 0863C8 800ECF18 46000005 */ abs.s $f0, $f0 +/* 0863CC 800ECF1C 46020000 */ add.s $f0, $f0, $f2 +/* 0863D0 800ECF20 C7A20034 */ lwc1 $f2, 0x34($sp) +/* 0863D4 800ECF24 4600103E */ c.le.s $f2, $f0 +/* 0863D8 800ECF28 00000000 */ nop +/* 0863DC 800ECF2C 4500001E */ bc1f .L800ECFA8 +/* 0863E0 800ECF30 26240028 */ addiu $a0, $s1, 0x28 +/* 0863E4 800ECF34 C6200018 */ lwc1 $f0, 0x18($s1) +/* 0863E8 800ECF38 3C014010 */ lui $at, 0x4010 +/* 0863EC 800ECF3C 44811800 */ mtc1 $at, $f3 +/* 0863F0 800ECF40 44801000 */ mtc1 $zero, $f2 +/* 0863F4 800ECF44 3C038011 */ lui $v1, 0x8011 +/* 0863F8 800ECF48 8C63CFD8 */ lw $v1, -0x3028($v1) +/* 0863FC 800ECF4C 46000021 */ cvt.d.s $f0, $f0 +/* 086400 800ECF50 000310C0 */ sll $v0, $v1, 3 +/* 086404 800ECF54 00431021 */ addu $v0, $v0, $v1 +/* 086408 800ECF58 4620103E */ c.le.d $f2, $f0 +/* 08640C 800ECF5C 00000000 */ nop +/* 086410 800ECF60 45000003 */ bc1f .L800ECF70 +/* 086414 800ECF64 00021080 */ sll $v0, $v0, 2 +/* 086418 800ECF68 0803B3DD */ j .L800ECF74 +/* 08641C 800ECF6C 24430018 */ addiu $v1, $v0, 0x18 + +.L800ECF70: +/* 086420 800ECF70 24430004 */ addiu $v1, $v0, 4 +.L800ECF74: +/* 086424 800ECF74 3C028010 */ lui $v0, 0x8010 +/* 086428 800ECF78 24428348 */ addiu $v0, $v0, -0x7cb8 +/* 08642C 800ECF7C 00431021 */ addu $v0, $v0, $v1 +/* 086430 800ECF80 8C420000 */ lw $v0, ($v0) +/* 086434 800ECF84 C7A0002C */ lwc1 $f0, 0x2c($sp) +/* 086438 800ECF88 AC820000 */ sw $v0, ($a0) +/* 08643C 800ECF8C 8E220000 */ lw $v0, ($s1) +/* 086440 800ECF90 2403F7FF */ addiu $v1, $zero, -0x801 +/* 086444 800ECF94 AE200014 */ sw $zero, 0x14($s1) +/* 086448 800ECF98 AE20001C */ sw $zero, 0x1c($s1) +/* 08644C 800ECF9C E620003C */ swc1 $f0, 0x3c($s1) +/* 086450 800ECFA0 00431024 */ and $v0, $v0, $v1 +/* 086454 800ECFA4 AE220000 */ sw $v0, ($s1) +.L800ECFA8: +/* 086458 800ECFA8 3C018010 */ lui $at, 0x8010 +/* 08645C 800ECFAC C4208030 */ lwc1 $f0, -0x7fd0($at) +/* 086460 800ECFB0 E6200018 */ swc1 $f0, 0x18($s1) +/* 086464 800ECFB4 3C018010 */ lui $at, 0x8010 +/* 086468 800ECFB8 C4208034 */ lwc1 $f0, -0x7fcc($at) +/* 08646C 800ECFBC 8E250018 */ lw $a1, 0x18($s1) +/* 086470 800ECFC0 44060000 */ mfc1 $a2, $f0 +/* 086474 800ECFC4 0220202D */ daddu $a0, $s1, $zero +/* 086478 800ECFC8 0C00EA95 */ jal npc_move_heading +/* 08647C 800ECFCC AE26000C */ sw $a2, 0xc($s1) +/* 086480 800ECFD0 C6200018 */ lwc1 $f0, 0x18($s1) +/* 086484 800ECFD4 3C014010 */ lui $at, 0x4010 +/* 086488 800ECFD8 44811800 */ mtc1 $at, $f3 +/* 08648C 800ECFDC 44801000 */ mtc1 $zero, $f2 +/* 086490 800ECFE0 46000021 */ cvt.d.s $f0, $f0 +/* 086494 800ECFE4 4622003C */ c.lt.d $f0, $f2 +/* 086498 800ECFE8 00000000 */ nop +/* 08649C 800ECFEC 45000002 */ bc1f .L800ECFF8 +/* 0864A0 800ECFF0 24050001 */ addiu $a1, $zero, 1 +/* 0864A4 800ECFF4 0000282D */ daddu $a1, $zero, $zero +.L800ECFF8: +/* 0864A8 800ECFF8 0C00F598 */ jal func_8003D660 +/* 0864AC 800ECFFC 0220202D */ daddu $a0, $s1, $zero +/* 0864B0 800ED000 0803B4B9 */ j .L800ED2E4 +/* 0864B4 800ED004 00000000 */ nop + +.L800ED008: +/* 0864B8 800ED008 0C03BD17 */ jal clear_partner_move_history +/* 0864BC 800ED00C 0220202D */ daddu $a0, $s1, $zero +/* 0864C0 800ED010 3C038011 */ lui $v1, 0x8011 +/* 0864C4 800ED014 8C63CFD8 */ lw $v1, -0x3028($v1) +/* 0864C8 800ED018 3C014387 */ lui $at, 0x4387 +/* 0864CC 800ED01C 44810000 */ mtc1 $at, $f0 +/* 0864D0 800ED020 AE200018 */ sw $zero, 0x18($s1) +/* 0864D4 800ED024 AE200014 */ sw $zero, 0x14($s1) +/* 0864D8 800ED028 000310C0 */ sll $v0, $v1, 3 +/* 0864DC 800ED02C 00431021 */ addu $v0, $v0, $v1 +/* 0864E0 800ED030 00021080 */ sll $v0, $v0, 2 +/* 0864E4 800ED034 3C018010 */ lui $at, 0x8010 +/* 0864E8 800ED038 00220821 */ addu $at, $at, $v0 +/* 0864EC 800ED03C 8C22835C */ lw $v0, -0x7ca4($at) +/* 0864F0 800ED040 AE220028 */ sw $v0, 0x28($s1) +/* 0864F4 800ED044 C6AC006C */ lwc1 $f12, 0x6c($s5) +/* 0864F8 800ED048 46006300 */ add.s $f12, $f12, $f0 +/* 0864FC 800ED04C C66000A8 */ lwc1 $f0, 0xa8($s3) +/* 086500 800ED050 0C00A6C9 */ jal clamp_angle +/* 086504 800ED054 46006301 */ sub.s $f12, $f12, $f0 +/* 086508 800ED058 3C048011 */ lui $a0, 0x8011 +/* 08650C 800ED05C 2484CFCE */ addiu $a0, $a0, -0x3032 +/* 086510 800ED060 E620000C */ swc1 $f0, 0xc($s1) +/* 086514 800ED064 94820000 */ lhu $v0, ($a0) +/* 086518 800ED068 2403001E */ addiu $v1, $zero, 0x1e +/* 08651C 800ED06C AE030000 */ sw $v1, ($s0) +/* 086520 800ED070 24420001 */ addiu $v0, $v0, 1 +/* 086524 800ED074 0803B4B9 */ j .L800ED2E4 +/* 086528 800ED078 A4820000 */ sh $v0, ($a0) + +.L800ED07C: +/* 08652C 800ED07C 3C038010 */ lui $v1, 0x8010 +/* 086530 800ED080 2463802C */ addiu $v1, $v1, -0x7fd4 +/* 086534 800ED084 8C620000 */ lw $v0, ($v1) +/* 086538 800ED088 10400003 */ beqz $v0, .L800ED098 +/* 08653C 800ED08C 2442FFFF */ addiu $v0, $v0, -1 +/* 086540 800ED090 0803B4B9 */ j .L800ED2E4 +/* 086544 800ED094 AC620000 */ sw $v0, ($v1) + +.L800ED098: +/* 086548 800ED098 3C018011 */ lui $at, 0x8011 +/* 08654C 800ED09C A420CFC8 */ sh $zero, -0x3038($at) +/* 086550 800ED0A0 3C018011 */ lui $at, 0x8011 +/* 086554 800ED0A4 A420CFCA */ sh $zero, -0x3036($at) +.L800ED0A8: +/* 086558 800ED0A8 0803B4B9 */ j .L800ED2E4 +/* 08655C 800ED0AC A4800000 */ sh $zero, ($a0) + +/* 086560 800ED0B0 0220202D */ daddu $a0, $s1, $zero +/* 086564 800ED0B4 0C03BE0B */ jal func_800EF82C +/* 086568 800ED0B8 0000282D */ daddu $a1, $zero, $zero +/* 08656C 800ED0BC 0803B4B9 */ j .L800ED2E4 +/* 086570 800ED0C0 00000000 */ nop + +/* 086574 800ED0C4 8E220000 */ lw $v0, ($s1) +/* 086578 800ED0C8 30421000 */ andi $v0, $v0, 0x1000 +/* 08657C 800ED0CC 10400012 */ beqz $v0, .L800ED118 +/* 086580 800ED0D0 00000000 */ nop +/* 086584 800ED0D4 0C03A92C */ jal func_800EA4B0 +/* 086588 800ED0D8 86240084 */ lh $a0, 0x84($s1) +/* 08658C 800ED0DC 1040007F */ beqz $v0, .L800ED2DC +/* 086590 800ED0E0 24020001 */ addiu $v0, $zero, 1 +/* 086594 800ED0E4 3C038011 */ lui $v1, 0x8011 +/* 086598 800ED0E8 8C63CFD8 */ lw $v1, -0x3028($v1) +/* 08659C 800ED0EC 000310C0 */ sll $v0, $v1, 3 +/* 0865A0 800ED0F0 00431021 */ addu $v0, $v0, $v1 +/* 0865A4 800ED0F4 00021080 */ sll $v0, $v0, 2 +/* 0865A8 800ED0F8 3C038010 */ lui $v1, 0x8010 +/* 0865AC 800ED0FC 00621821 */ addu $v1, $v1, $v0 +/* 0865B0 800ED100 8C63835C */ lw $v1, -0x7ca4($v1) +/* 0865B4 800ED104 24020032 */ addiu $v0, $zero, 0x32 +/* 0865B8 800ED108 3C018011 */ lui $at, 0x8011 +/* 0865BC 800ED10C A422CFC8 */ sh $v0, -0x3038($at) +/* 0865C0 800ED110 0803B4B9 */ j .L800ED2E4 +/* 0865C4 800ED114 AE230028 */ sw $v1, 0x28($s1) + +.L800ED118: +/* 0865C8 800ED118 3C014040 */ lui $at, 0x4040 +/* 0865CC 800ED11C 44812000 */ mtc1 $at, $f4 +/* 0865D0 800ED120 C620001C */ lwc1 $f0, 0x1c($s1) +/* 0865D4 800ED124 46040001 */ sub.s $f0, $f0, $f4 +/* 0865D8 800ED128 C622003C */ lwc1 $f2, 0x3c($s1) +/* 0865DC 800ED12C 4480A000 */ mtc1 $zero, $f20 +/* 0865E0 800ED130 46001080 */ add.s $f2, $f2, $f0 +/* 0865E4 800ED134 E6240014 */ swc1 $f4, 0x14($s1) +/* 0865E8 800ED138 4614003E */ c.le.s $f0, $f20 +/* 0865EC 800ED13C E620001C */ swc1 $f0, 0x1c($s1) +/* 0865F0 800ED140 4500000A */ bc1f .L800ED16C +/* 0865F4 800ED144 E622003C */ swc1 $f2, 0x3c($s1) +/* 0865F8 800ED148 3C028011 */ lui $v0, 0x8011 +/* 0865FC 800ED14C 8C42CFD8 */ lw $v0, -0x3028($v0) +/* 086600 800ED150 000218C0 */ sll $v1, $v0, 3 +/* 086604 800ED154 00621821 */ addu $v1, $v1, $v0 +/* 086608 800ED158 00031880 */ sll $v1, $v1, 2 +/* 08660C 800ED15C 3C028010 */ lui $v0, 0x8010 +/* 086610 800ED160 00431021 */ addu $v0, $v0, $v1 +/* 086614 800ED164 8C428354 */ lw $v0, -0x7cac($v0) +/* 086618 800ED168 AE220028 */ sw $v0, 0x28($s1) +.L800ED16C: +/* 08661C 800ED16C C622003C */ lwc1 $f2, 0x3c($s1) +/* 086620 800ED170 3C01C4FA */ lui $at, 0xc4fa +/* 086624 800ED174 44810000 */ mtc1 $at, $f0 +/* 086628 800ED178 00000000 */ nop +/* 08662C 800ED17C 4600103C */ c.lt.s $f2, $f0 +/* 086630 800ED180 00000000 */ nop +/* 086634 800ED184 4500001E */ bc1f .L800ED200 +/* 086638 800ED188 2404F7FF */ addiu $a0, $zero, -0x801 +/* 08663C 800ED18C C62C0038 */ lwc1 $f12, 0x38($s1) +/* 086640 800ED190 3C028011 */ lui $v0, 0x8011 +/* 086644 800ED194 8C42CFD8 */ lw $v0, -0x3028($v0) +/* 086648 800ED198 C62E0040 */ lwc1 $f14, 0x40($s1) +/* 08664C 800ED19C 000218C0 */ sll $v1, $v0, 3 +/* 086650 800ED1A0 00621821 */ addu $v1, $v1, $v0 +/* 086654 800ED1A4 00031880 */ sll $v1, $v1, 2 +/* 086658 800ED1A8 8E220000 */ lw $v0, ($s1) +/* 08665C 800ED1AC 3C018010 */ lui $at, 0x8010 +/* 086660 800ED1B0 00230821 */ addu $at, $at, $v1 +/* 086664 800ED1B4 8C23835C */ lw $v1, -0x7ca4($at) +/* 086668 800ED1B8 E634001C */ swc1 $f20, 0x1c($s1) +/* 08666C 800ED1BC 00441024 */ and $v0, $v0, $a0 +/* 086670 800ED1C0 AE220000 */ sw $v0, ($s1) +/* 086674 800ED1C4 AE230028 */ sw $v1, 0x28($s1) +/* 086678 800ED1C8 8E660028 */ lw $a2, 0x28($s3) +/* 08667C 800ED1CC 0C00A720 */ jal atan2 +/* 086680 800ED1D0 8E670030 */ lw $a3, 0x30($s3) +/* 086684 800ED1D4 E620000C */ swc1 $f0, 0xc($s1) +/* 086688 800ED1D8 C6600028 */ lwc1 $f0, 0x28($s3) +/* 08668C 800ED1DC E6200038 */ swc1 $f0, 0x38($s1) +/* 086690 800ED1E0 C660002C */ lwc1 $f0, 0x2c($s3) +/* 086694 800ED1E4 E620003C */ swc1 $f0, 0x3c($s1) +/* 086698 800ED1E8 C6600030 */ lwc1 $f0, 0x30($s3) +/* 08669C 800ED1EC 24020032 */ addiu $v0, $zero, 0x32 +.L800ED1F0: +/* 0866A0 800ED1F0 3C018011 */ lui $at, 0x8011 +/* 0866A4 800ED1F4 A422CFC8 */ sh $v0, -0x3038($at) +/* 0866A8 800ED1F8 0803B4B9 */ j .L800ED2E4 +/* 0866AC 800ED1FC E6200040 */ swc1 $f0, 0x40($s1) + +.L800ED200: +/* 0866B0 800ED200 C6200038 */ lwc1 $f0, 0x38($s1) +/* 0866B4 800ED204 27A20034 */ addiu $v0, $sp, 0x34 +/* 0866B8 800ED208 E7A00028 */ swc1 $f0, 0x28($sp) +/* 0866BC 800ED20C C620001C */ lwc1 $f0, 0x1c($s1) +/* 0866C0 800ED210 3C014130 */ lui $at, 0x4130 +/* 0866C4 800ED214 44811000 */ mtc1 $at, $f2 +/* 0866C8 800ED218 46000005 */ abs.s $f0, $f0 +/* 0866CC 800ED21C 46020000 */ add.s $f0, $f0, $f2 +/* 0866D0 800ED220 C622003C */ lwc1 $f2, 0x3c($s1) +/* 0866D4 800ED224 C6240040 */ lwc1 $f4, 0x40($s1) +/* 0866D8 800ED228 46001080 */ add.s $f2, $f2, $f0 +/* 0866DC 800ED22C E7A40030 */ swc1 $f4, 0x30($sp) +/* 0866E0 800ED230 E7A00034 */ swc1 $f0, 0x34($sp) +/* 0866E4 800ED234 E7A2002C */ swc1 $f2, 0x2c($sp) +/* 0866E8 800ED238 AFA20010 */ sw $v0, 0x10($sp) +/* 0866EC 800ED23C C620000C */ lwc1 $f0, 0xc($s1) +/* 0866F0 800ED240 27A50028 */ addiu $a1, $sp, 0x28 +/* 0866F4 800ED244 E7A00014 */ swc1 $f0, 0x14($sp) +/* 0866F8 800ED248 862200A6 */ lh $v0, 0xa6($s1) +/* 0866FC 800ED24C 27A6002C */ addiu $a2, $sp, 0x2c +/* 086700 800ED250 44820000 */ mtc1 $v0, $f0 +/* 086704 800ED254 00000000 */ nop +/* 086708 800ED258 46800020 */ cvt.s.w $f0, $f0 +/* 08670C 800ED25C E7A00018 */ swc1 $f0, 0x18($sp) +/* 086710 800ED260 8E240080 */ lw $a0, 0x80($s1) +/* 086714 800ED264 0C0371DE */ jal func_800DC778 +/* 086718 800ED268 27A70030 */ addiu $a3, $sp, 0x30 +/* 08671C 800ED26C 1040001D */ beqz $v0, .L800ED2E4 +/* 086720 800ED270 00000000 */ nop +/* 086724 800ED274 C7AC0028 */ lwc1 $f12, 0x28($sp) +/* 086728 800ED278 3C038011 */ lui $v1, 0x8011 +/* 08672C 800ED27C 8C63CFD8 */ lw $v1, -0x3028($v1) +/* 086730 800ED280 C7AE0030 */ lwc1 $f14, 0x30($sp) +/* 086734 800ED284 C7A0002C */ lwc1 $f0, 0x2c($sp) +/* 086738 800ED288 000310C0 */ sll $v0, $v1, 3 +/* 08673C 800ED28C 00431021 */ addu $v0, $v0, $v1 +/* 086740 800ED290 00021080 */ sll $v0, $v0, 2 +/* 086744 800ED294 3C048010 */ lui $a0, 0x8010 +/* 086748 800ED298 00822021 */ addu $a0, $a0, $v0 +/* 08674C 800ED29C 8C84835C */ lw $a0, -0x7ca4($a0) +/* 086750 800ED2A0 8E220000 */ lw $v0, ($s1) +/* 086754 800ED2A4 2403F7FF */ addiu $v1, $zero, -0x801 +/* 086758 800ED2A8 E634001C */ swc1 $f20, 0x1c($s1) +/* 08675C 800ED2AC E620003C */ swc1 $f0, 0x3c($s1) +/* 086760 800ED2B0 00431024 */ and $v0, $v0, $v1 +/* 086764 800ED2B4 AE220000 */ sw $v0, ($s1) +/* 086768 800ED2B8 AE240028 */ sw $a0, 0x28($s1) +/* 08676C 800ED2BC 8E660028 */ lw $a2, 0x28($s3) +/* 086770 800ED2C0 0C00A720 */ jal atan2 +/* 086774 800ED2C4 8E670030 */ lw $a3, 0x30($s3) +/* 086778 800ED2C8 0220202D */ daddu $a0, $s1, $zero +/* 08677C 800ED2CC 24050002 */ addiu $a1, $zero, 2 +/* 086780 800ED2D0 0C00F598 */ jal func_8003D660 +/* 086784 800ED2D4 E480000C */ swc1 $f0, 0xc($a0) +/* 086788 800ED2D8 24020032 */ addiu $v0, $zero, 0x32 +.L800ED2DC: +/* 08678C 800ED2DC 3C018011 */ lui $at, 0x8011 +/* 086790 800ED2E0 A422CFC8 */ sh $v0, -0x3038($at) +.L800ED2E4: +/* 086794 800ED2E4 8FBF0050 */ lw $ra, 0x50($sp) +/* 086798 800ED2E8 8FB5004C */ lw $s5, 0x4c($sp) +/* 08679C 800ED2EC 8FB40048 */ lw $s4, 0x48($sp) +/* 0867A0 800ED2F0 8FB30044 */ lw $s3, 0x44($sp) +/* 0867A4 800ED2F4 8FB20040 */ lw $s2, 0x40($sp) +/* 0867A8 800ED2F8 8FB1003C */ lw $s1, 0x3c($sp) +/* 0867AC 800ED2FC 8FB00038 */ lw $s0, 0x38($sp) +/* 0867B0 800ED300 D7B60060 */ ldc1 $f22, 0x60($sp) +/* 0867B4 800ED304 D7B40058 */ ldc1 $f20, 0x58($sp) +/* 0867B8 800ED308 03E00008 */ jr $ra +/* 0867BC 800ED30C 27BD0068 */ addiu $sp, $sp, 0x68 + +enable_partner_flying: +/* 0867C0 800ED310 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 0867C4 800ED314 AFB00010 */ sw $s0, 0x10($sp) +/* 0867C8 800ED318 0080802D */ daddu $s0, $a0, $zero +/* 0867CC 800ED31C 3C048011 */ lui $a0, 0x8011 +/* 0867D0 800ED320 2484CD38 */ addiu $a0, $a0, -0x32c8 +/* 0867D4 800ED324 0000302D */ daddu $a2, $zero, $zero +/* 0867D8 800ED328 3C028010 */ lui $v0, 0x8010 +/* 0867DC 800ED32C 2442833C */ addiu $v0, $v0, -0x7cc4 +/* 0867E0 800ED330 0040482D */ daddu $t1, $v0, $zero +/* 0867E4 800ED334 3C028010 */ lui $v0, 0x8010 +/* 0867E8 800ED338 24428340 */ addiu $v0, $v0, -0x7cc0 +/* 0867EC 800ED33C 0040402D */ daddu $t0, $v0, $zero +/* 0867F0 800ED340 3C028010 */ lui $v0, 0x8010 +/* 0867F4 800ED344 24428344 */ addiu $v0, $v0, -0x7cbc +/* 0867F8 800ED348 0040382D */ daddu $a3, $v0, $zero +/* 0867FC 800ED34C AFBF0014 */ sw $ra, 0x14($sp) +/* 086800 800ED350 C5200000 */ lwc1 $f0, ($t1) +/* 086804 800ED354 C5020000 */ lwc1 $f2, ($t0) +/* 086808 800ED358 C4E40000 */ lwc1 $f4, ($a3) +/* 08680C 800ED35C 2483000C */ addiu $v1, $a0, 0xc +/* 086810 800ED360 E6000038 */ swc1 $f0, 0x38($s0) +/* 086814 800ED364 E602003C */ swc1 $f2, 0x3c($s0) +/* 086818 800ED368 E6040040 */ swc1 $f4, 0x40($s0) +.L800ED36C: +/* 08681C 800ED36C 24C60001 */ addiu $a2, $a2, 1 +/* 086820 800ED370 C5200000 */ lwc1 $f0, ($t1) +/* 086824 800ED374 C5020000 */ lwc1 $f2, ($t0) +/* 086828 800ED378 C4E40000 */ lwc1 $f4, ($a3) +/* 08682C 800ED37C 28C20028 */ slti $v0, $a2, 0x28 +/* 086830 800ED380 E460FFF8 */ swc1 $f0, -8($v1) +/* 086834 800ED384 E462FFFC */ swc1 $f2, -4($v1) +/* 086838 800ED388 E4640000 */ swc1 $f4, ($v1) +/* 08683C 800ED38C 24630010 */ addiu $v1, $v1, 0x10 +/* 086840 800ED390 A0800000 */ sb $zero, ($a0) +/* 086844 800ED394 1440FFF5 */ bnez $v0, .L800ED36C +/* 086848 800ED398 24840010 */ addiu $a0, $a0, 0x10 +/* 08684C 800ED39C 3C018011 */ lui $at, 0x8011 +/* 086850 800ED3A0 AC20CFB8 */ sw $zero, -0x3048($at) +/* 086854 800ED3A4 3C018011 */ lui $at, 0x8011 +/* 086858 800ED3A8 AC20CFBC */ sw $zero, -0x3044($at) +/* 08685C 800ED3AC 14A00005 */ bnez $a1, .L800ED3C4 +/* 086860 800ED3B0 00000000 */ nop +/* 086864 800ED3B4 3C018011 */ lui $at, 0x8011 +/* 086868 800ED3B8 A420CFC8 */ sh $zero, -0x3038($at) +/* 08686C 800ED3BC 0803B50B */ j .L800ED42C +/* 086870 800ED3C0 00000000 */ nop + +.L800ED3C4: +/* 086874 800ED3C4 3C048011 */ lui $a0, 0x8011 +/* 086878 800ED3C8 2484CFC4 */ addiu $a0, $a0, -0x303c +/* 08687C 800ED3CC 8C830000 */ lw $v1, ($a0) +/* 086880 800ED3D0 14600009 */ bnez $v1, .L800ED3F8 +/* 086884 800ED3D4 24020001 */ addiu $v0, $zero, 1 +/* 086888 800ED3D8 2402000F */ addiu $v0, $zero, 0xf +/* 08688C 800ED3DC 3C018011 */ lui $at, 0x8011 +/* 086890 800ED3E0 A422CFC8 */ sh $v0, -0x3038($at) +/* 086894 800ED3E4 24020002 */ addiu $v0, $zero, 2 +/* 086898 800ED3E8 3C018011 */ lui $at, 0x8011 +/* 08689C 800ED3EC A422CFCA */ sh $v0, -0x3036($at) +/* 0868A0 800ED3F0 0803B50D */ j .L800ED434 +/* 0868A4 800ED3F4 00000000 */ nop + +.L800ED3F8: +/* 0868A8 800ED3F8 10620003 */ beq $v1, $v0, .L800ED408 +/* 0868AC 800ED3FC 24020003 */ addiu $v0, $zero, 3 +/* 0868B0 800ED400 14620006 */ bne $v1, $v0, .L800ED41C +/* 0868B4 800ED404 24020002 */ addiu $v0, $zero, 2 +.L800ED408: +/* 0868B8 800ED408 AC800000 */ sw $zero, ($a0) +/* 0868BC 800ED40C 3C018011 */ lui $at, 0x8011 +/* 0868C0 800ED410 A420CFC8 */ sh $zero, -0x3038($at) +/* 0868C4 800ED414 0803B50B */ j .L800ED42C +/* 0868C8 800ED418 00000000 */ nop + +.L800ED41C: +/* 0868CC 800ED41C 14620005 */ bne $v1, $v0, .L800ED434 +/* 0868D0 800ED420 24020032 */ addiu $v0, $zero, 0x32 +/* 0868D4 800ED424 3C018011 */ lui $at, 0x8011 +/* 0868D8 800ED428 A422CFC8 */ sh $v0, -0x3038($at) +.L800ED42C: +/* 0868DC 800ED42C 3C018011 */ lui $at, 0x8011 +/* 0868E0 800ED430 A420CFCA */ sh $zero, -0x3036($at) +.L800ED434: +/* 0868E4 800ED434 3C038011 */ lui $v1, 0x8011 +/* 0868E8 800ED438 8C63CFD8 */ lw $v1, -0x3028($v1) +/* 0868EC 800ED43C 3C014220 */ lui $at, 0x4220 +/* 0868F0 800ED440 44810000 */ mtc1 $at, $f0 +/* 0868F4 800ED444 0200202D */ daddu $a0, $s0, $zero +/* 0868F8 800ED448 3C018011 */ lui $at, 0x8011 +/* 0868FC 800ED44C A420CFCE */ sh $zero, -0x3032($at) +/* 086900 800ED450 3C018011 */ lui $at, 0x8011 +/* 086904 800ED454 A420CFCC */ sh $zero, -0x3034($at) +/* 086908 800ED458 000310C0 */ sll $v0, $v1, 3 +/* 08690C 800ED45C 00431021 */ addu $v0, $v0, $v1 +/* 086910 800ED460 00021080 */ sll $v0, $v0, 2 +/* 086914 800ED464 3C038010 */ lui $v1, 0x8010 +/* 086918 800ED468 00621821 */ addu $v1, $v1, $v0 +/* 08691C 800ED46C 8C63835C */ lw $v1, -0x7ca4($v1) +/* 086920 800ED470 24020010 */ addiu $v0, $zero, 0x10 +/* 086924 800ED474 3C018010 */ lui $at, 0x8010 +/* 086928 800ED478 AC22802C */ sw $v0, -0x7fd4($at) +/* 08692C 800ED47C 3C018011 */ lui $at, 0x8011 +/* 086930 800ED480 E420CFC0 */ swc1 $f0, -0x3040($at) +/* 086934 800ED484 0C03A96E */ jal func_800EA5B8 +/* 086938 800ED488 AE030028 */ sw $v1, 0x28($s0) +/* 08693C 800ED48C 8E020000 */ lw $v0, ($s0) +/* 086940 800ED490 3C030001 */ lui $v1, 1 +/* 086944 800ED494 AE030080 */ sw $v1, 0x80($s0) +/* 086948 800ED498 2403FDFF */ addiu $v1, $zero, -0x201 +/* 08694C 800ED49C 34420100 */ ori $v0, $v0, 0x100 +/* 086950 800ED4A0 00431024 */ and $v0, $v0, $v1 +/* 086954 800ED4A4 AE020000 */ sw $v0, ($s0) +/* 086958 800ED4A8 8FBF0014 */ lw $ra, 0x14($sp) +/* 08695C 800ED4AC 8FB00010 */ lw $s0, 0x10($sp) +/* 086960 800ED4B0 03E00008 */ jr $ra +/* 086964 800ED4B4 27BD0018 */ addiu $sp, $sp, 0x18 + +update_player_move_history: +/* 086968 800ED4B8 3C058011 */ lui $a1, 0x8011 +/* 08696C 800ED4BC 24A5EFC8 */ addiu $a1, $a1, -0x1038 +/* 086970 800ED4C0 24020017 */ addiu $v0, $zero, 0x17 +/* 086974 800ED4C4 80A300B4 */ lb $v1, 0xb4($a1) +/* 086978 800ED4C8 C4A4002C */ lwc1 $f4, 0x2c($a1) +/* 08697C 800ED4CC 10620004 */ beq $v1, $v0, .L800ED4E0 +/* 086980 800ED4D0 0000302D */ daddu $a2, $zero, $zero +/* 086984 800ED4D4 24020015 */ addiu $v0, $zero, 0x15 +/* 086988 800ED4D8 14620008 */ bne $v1, $v0, .L800ED4FC +/* 08698C 800ED4DC 00000000 */ nop +.L800ED4E0: +/* 086990 800ED4E0 84A20018 */ lh $v0, 0x18($a1) +/* 086994 800ED4E4 848300A8 */ lh $v1, 0xa8($a0) +/* 086998 800ED4E8 00431021 */ addu $v0, $v0, $v1 +/* 08699C 800ED4EC 24420005 */ addiu $v0, $v0, 5 +/* 0869A0 800ED4F0 44822000 */ mtc1 $v0, $f4 +/* 0869A4 800ED4F4 00000000 */ nop +/* 0869A8 800ED4F8 46802120 */ cvt.s.w $f4, $f4 +.L800ED4FC: +/* 0869AC 800ED4FC 3C028011 */ lui $v0, 0x8011 +/* 0869B0 800ED500 8C42CFB8 */ lw $v0, -0x3048($v0) +/* 0869B4 800ED504 3C038011 */ lui $v1, 0x8011 +/* 0869B8 800ED508 2463CD38 */ addiu $v1, $v1, -0x32c8 +/* 0869BC 800ED50C 00021100 */ sll $v0, $v0, 4 +/* 0869C0 800ED510 00431821 */ addu $v1, $v0, $v1 +/* 0869C4 800ED514 80620000 */ lb $v0, ($v1) +/* 0869C8 800ED518 10400003 */ beqz $v0, .L800ED528 +/* 0869CC 800ED51C 00000000 */ nop +/* 0869D0 800ED520 14C00029 */ bnez $a2, .L800ED5C8 +/* 0869D4 800ED524 00000000 */ nop +.L800ED528: +/* 0869D8 800ED528 C4620004 */ lwc1 $f2, 4($v1) +/* 0869DC 800ED52C C4A00028 */ lwc1 $f0, 0x28($a1) +/* 0869E0 800ED530 46001032 */ c.eq.s $f2, $f0 +/* 0869E4 800ED534 00000000 */ nop +/* 0869E8 800ED538 4500000C */ bc1f .L800ED56C +/* 0869EC 800ED53C 00000000 */ nop +/* 0869F0 800ED540 C4600008 */ lwc1 $f0, 8($v1) +/* 0869F4 800ED544 46040032 */ c.eq.s $f0, $f4 +/* 0869F8 800ED548 00000000 */ nop +/* 0869FC 800ED54C 45000007 */ bc1f .L800ED56C +/* 086A00 800ED550 00000000 */ nop +/* 086A04 800ED554 C462000C */ lwc1 $f2, 0xc($v1) +/* 086A08 800ED558 C4A00030 */ lwc1 $f0, 0x30($a1) +/* 086A0C 800ED55C 46001032 */ c.eq.s $f2, $f0 +/* 086A10 800ED560 00000000 */ nop +/* 086A14 800ED564 45010018 */ bc1t .L800ED5C8 +/* 086A18 800ED568 00000000 */ nop +.L800ED56C: +/* 086A1C 800ED56C 3C048011 */ lui $a0, 0x8011 +/* 086A20 800ED570 2484CFB8 */ addiu $a0, $a0, -0x3048 +/* 086A24 800ED574 8C820000 */ lw $v0, ($a0) +/* 086A28 800ED578 3C038011 */ lui $v1, 0x8011 +/* 086A2C 800ED57C 8C63CFBC */ lw $v1, -0x3044($v1) +/* 086A30 800ED580 24420001 */ addiu $v0, $v0, 1 +/* 086A34 800ED584 10620010 */ beq $v1, $v0, .L800ED5C8 +/* 086A38 800ED588 00000000 */ nop +/* 086A3C 800ED58C AC820000 */ sw $v0, ($a0) +/* 086A40 800ED590 28420028 */ slti $v0, $v0, 0x28 +/* 086A44 800ED594 50400001 */ beql $v0, $zero, .L800ED59C +/* 086A48 800ED598 AC800000 */ sw $zero, ($a0) +.L800ED59C: +/* 086A4C 800ED59C 3C038011 */ lui $v1, 0x8011 +/* 086A50 800ED5A0 2463CD38 */ addiu $v1, $v1, -0x32c8 +/* 086A54 800ED5A4 8C820000 */ lw $v0, ($a0) +/* 086A58 800ED5A8 C4A00028 */ lwc1 $f0, 0x28($a1) +/* 086A5C 800ED5AC 00021100 */ sll $v0, $v0, 4 +/* 086A60 800ED5B0 00431821 */ addu $v1, $v0, $v1 +/* 086A64 800ED5B4 E4600004 */ swc1 $f0, 4($v1) +/* 086A68 800ED5B8 E4640008 */ swc1 $f4, 8($v1) +/* 086A6C 800ED5BC C4A00030 */ lwc1 $f0, 0x30($a1) +/* 086A70 800ED5C0 A0660000 */ sb $a2, ($v1) +/* 086A74 800ED5C4 E460000C */ swc1 $f0, 0xc($v1) +.L800ED5C8: +/* 086A78 800ED5C8 03E00008 */ jr $ra +/* 086A7C 800ED5CC 00000000 */ nop + +/* 086A80 800ED5D0 3C028007 */ lui $v0, 0x8007 +/* 086A84 800ED5D4 8C42419C */ lw $v0, 0x419c($v0) +/* 086A88 800ED5D8 27BDFFB0 */ addiu $sp, $sp, -0x50 +/* 086A8C 800ED5DC AFB00030 */ sw $s0, 0x30($sp) +/* 086A90 800ED5E0 AFB20038 */ sw $s2, 0x38($sp) +/* 086A94 800ED5E4 3C128011 */ lui $s2, 0x8011 +/* 086A98 800ED5E8 2652EFC8 */ addiu $s2, $s2, -0x1038 +/* 086A9C 800ED5EC AFBF004C */ sw $ra, 0x4c($sp) +/* 086AA0 800ED5F0 AFB60048 */ sw $s6, 0x48($sp) +/* 086AA4 800ED5F4 AFB50044 */ sw $s5, 0x44($sp) +/* 086AA8 800ED5F8 AFB40040 */ sw $s4, 0x40($sp) +/* 086AAC 800ED5FC AFB3003C */ sw $s3, 0x3c($sp) +/* 086AB0 800ED600 AFB10034 */ sw $s1, 0x34($sp) +/* 086AB4 800ED604 80420081 */ lb $v0, 0x81($v0) +/* 086AB8 800ED608 3C118011 */ lui $s1, 0x8011 +/* 086ABC 800ED60C 2631EBB0 */ addiu $s1, $s1, -0x1450 +/* 086AC0 800ED610 1040000B */ beqz $v0, .L800ED640 +/* 086AC4 800ED614 0080802D */ daddu $s0, $a0, $zero +/* 086AC8 800ED618 8E420000 */ lw $v0, ($s2) +/* 086ACC 800ED61C 30423000 */ andi $v0, $v0, 0x3000 +/* 086AD0 800ED620 14400007 */ bnez $v0, .L800ED640 +/* 086AD4 800ED624 00000000 */ nop +/* 086AD8 800ED628 82220014 */ lb $v0, 0x14($s1) +/* 086ADC 800ED62C 14400004 */ bnez $v0, .L800ED640 +/* 086AE0 800ED630 00000000 */ nop +/* 086AE4 800ED634 82220002 */ lb $v0, 2($s1) +/* 086AE8 800ED638 1040000F */ beqz $v0, .L800ED678 +/* 086AEC 800ED63C 00000000 */ nop +.L800ED640: +/* 086AF0 800ED640 8E420004 */ lw $v0, 4($s2) +/* 086AF4 800ED644 30420800 */ andi $v0, $v0, 0x800 +/* 086AF8 800ED648 10400005 */ beqz $v0, .L800ED660 +/* 086AFC 800ED64C 00000000 */ nop +/* 086B00 800ED650 3C028010 */ lui $v0, 0x8010 +/* 086B04 800ED654 8C428020 */ lw $v0, -0x7fe0($v0) +/* 086B08 800ED658 14400003 */ bnez $v0, .L800ED668 +/* 086B0C 800ED65C 00000000 */ nop +.L800ED660: +/* 086B10 800ED660 0C03B67E */ jal func_800ED9F8 +/* 086B14 800ED664 0200202D */ daddu $a0, $s0, $zero +.L800ED668: +/* 086B18 800ED668 8E22000C */ lw $v0, 0xc($s1) +/* 086B1C 800ED66C 30426006 */ andi $v0, $v0, 0x6006 +/* 086B20 800ED670 54400001 */ bnezl $v0, .L800ED678 +/* 086B24 800ED674 A2200002 */ sb $zero, 2($s1) +.L800ED678: +/* 086B28 800ED678 3C038011 */ lui $v1, 0x8011 +/* 086B2C 800ED67C 8463CFC8 */ lh $v1, -0x3038($v1) +/* 086B30 800ED680 24020032 */ addiu $v0, $zero, 0x32 +/* 086B34 800ED684 10620017 */ beq $v1, $v0, .L800ED6E4 +/* 086B38 800ED688 0000202D */ daddu $a0, $zero, $zero +/* 086B3C 800ED68C C600003C */ lwc1 $f0, 0x3c($s0) +/* 086B40 800ED690 C642002C */ lwc1 $f2, 0x2c($s2) +/* 086B44 800ED694 46020001 */ sub.s $f0, $f0, $f2 +/* 086B48 800ED698 3C01447A */ lui $at, 0x447a +/* 086B4C 800ED69C 44811000 */ mtc1 $at, $f2 +/* 086B50 800ED6A0 46000005 */ abs.s $f0, $f0 +/* 086B54 800ED6A4 4600103C */ c.lt.s $f2, $f0 +/* 086B58 800ED6A8 00000000 */ nop +/* 086B5C 800ED6AC 4500000D */ bc1f .L800ED6E4 +/* 086B60 800ED6B0 2403F7FF */ addiu $v1, $zero, -0x801 +/* 086B64 800ED6B4 C6400028 */ lwc1 $f0, 0x28($s2) +/* 086B68 800ED6B8 8E020000 */ lw $v0, ($s0) +/* 086B6C 800ED6BC E6000038 */ swc1 $f0, 0x38($s0) +/* 086B70 800ED6C0 C640002C */ lwc1 $f0, 0x2c($s2) +/* 086B74 800ED6C4 E600003C */ swc1 $f0, 0x3c($s0) +/* 086B78 800ED6C8 C6400030 */ lwc1 $f0, 0x30($s2) +/* 086B7C 800ED6CC 00431024 */ and $v0, $v0, $v1 +/* 086B80 800ED6D0 AE00001C */ sw $zero, 0x1c($s0) +/* 086B84 800ED6D4 AE000014 */ sw $zero, 0x14($s0) +/* 086B88 800ED6D8 AE020000 */ sw $v0, ($s0) +/* 086B8C 800ED6DC E6000040 */ swc1 $f0, 0x40($s0) +/* 086B90 800ED6E0 0000202D */ daddu $a0, $zero, $zero +.L800ED6E4: +/* 086B94 800ED6E4 27B30020 */ addiu $s3, $sp, 0x20 +/* 086B98 800ED6E8 0260282D */ daddu $a1, $s3, $zero +/* 086B9C 800ED6EC 27B50024 */ addiu $s5, $sp, 0x24 +/* 086BA0 800ED6F0 02A0302D */ daddu $a2, $s5, $zero +/* 086BA4 800ED6F4 27B60028 */ addiu $s6, $sp, 0x28 +/* 086BA8 800ED6F8 02C0382D */ daddu $a3, $s6, $zero +/* 086BAC 800ED6FC 860200A8 */ lh $v0, 0xa8($s0) +/* 086BB0 800ED700 3C013F00 */ lui $at, 0x3f00 +/* 086BB4 800ED704 44811000 */ mtc1 $at, $f2 +/* 086BB8 800ED708 44823000 */ mtc1 $v0, $f6 +/* 086BBC 800ED70C 00000000 */ nop +/* 086BC0 800ED710 468031A0 */ cvt.s.w $f6, $f6 +/* 086BC4 800ED714 46023182 */ mul.s $f6, $f6, $f2 +/* 086BC8 800ED718 00000000 */ nop +/* 086BCC 800ED71C 3C148010 */ lui $s4, 0x8010 +/* 086BD0 800ED720 26948020 */ addiu $s4, $s4, -0x7fe0 +/* 086BD4 800ED724 27B1002C */ addiu $s1, $sp, 0x2c +/* 086BD8 800ED728 C6000038 */ lwc1 $f0, 0x38($s0) +/* 086BDC 800ED72C 44822000 */ mtc1 $v0, $f4 +/* 086BE0 800ED730 00000000 */ nop +/* 086BE4 800ED734 46802120 */ cvt.s.w $f4, $f4 +/* 086BE8 800ED738 46022102 */ mul.s $f4, $f4, $f2 +/* 086BEC 800ED73C 00000000 */ nop +/* 086BF0 800ED740 AE800000 */ sw $zero, ($s4) +/* 086BF4 800ED744 E7A00020 */ swc1 $f0, 0x20($sp) +/* 086BF8 800ED748 C600003C */ lwc1 $f0, 0x3c($s0) +/* 086BFC 800ED74C C6020040 */ lwc1 $f2, 0x40($s0) +/* 086C00 800ED750 46060000 */ add.s $f0, $f0, $f6 +/* 086C04 800ED754 E7A20028 */ swc1 $f2, 0x28($sp) +/* 086C08 800ED758 E7A4002C */ swc1 $f4, 0x2c($sp) +/* 086C0C 800ED75C E7A00024 */ swc1 $f0, 0x24($sp) +/* 086C10 800ED760 0C03739C */ jal func_800DCE70 +/* 086C14 800ED764 AFB10010 */ sw $s1, 0x10($sp) +/* 086C18 800ED768 10400006 */ beqz $v0, .L800ED784 +/* 086C1C 800ED76C 24020001 */ addiu $v0, $zero, 1 +/* 086C20 800ED770 C6000038 */ lwc1 $f0, 0x38($s0) +/* 086C24 800ED774 C602003C */ lwc1 $f2, 0x3c($s0) +/* 086C28 800ED778 C6040040 */ lwc1 $f4, 0x40($s0) +/* 086C2C 800ED77C 0803B66E */ j .L800ED9B8 +/* 086C30 800ED780 AE820000 */ sw $v0, ($s4) + +.L800ED784: +/* 086C34 800ED784 0C03BD90 */ jal func_800EF640 +/* 086C38 800ED788 0200202D */ daddu $a0, $s0, $zero +/* 086C3C 800ED78C 3C038011 */ lui $v1, 0x8011 +/* 086C40 800ED790 8463CFC8 */ lh $v1, -0x3038($v1) +/* 086C44 800ED794 24020032 */ addiu $v0, $zero, 0x32 +/* 086C48 800ED798 10620084 */ beq $v1, $v0, .L800ED9AC +/* 086C4C 800ED79C 3C040001 */ lui $a0, 1 +/* 086C50 800ED7A0 C6000038 */ lwc1 $f0, 0x38($s0) +/* 086C54 800ED7A4 C602003C */ lwc1 $f2, 0x3c($s0) +/* 086C58 800ED7A8 C6040040 */ lwc1 $f4, 0x40($s0) +/* 086C5C 800ED7AC 3C01447A */ lui $at, 0x447a +/* 086C60 800ED7B0 44813000 */ mtc1 $at, $f6 +/* 086C64 800ED7B4 0260282D */ daddu $a1, $s3, $zero +/* 086C68 800ED7B8 E7A00020 */ swc1 $f0, 0x20($sp) +/* 086C6C 800ED7BC E7A20024 */ swc1 $f2, 0x24($sp) +/* 086C70 800ED7C0 E7A40028 */ swc1 $f4, 0x28($sp) +/* 086C74 800ED7C4 E7A6002C */ swc1 $f6, 0x2c($sp) +/* 086C78 800ED7C8 AFB10010 */ sw $s1, 0x10($sp) +/* 086C7C 800ED7CC C600000C */ lwc1 $f0, 0xc($s0) +/* 086C80 800ED7D0 02A0302D */ daddu $a2, $s5, $zero +/* 086C84 800ED7D4 E7A00014 */ swc1 $f0, 0x14($sp) +/* 086C88 800ED7D8 860200A6 */ lh $v0, 0xa6($s0) +/* 086C8C 800ED7DC 02C0382D */ daddu $a3, $s6, $zero +/* 086C90 800ED7E0 44820000 */ mtc1 $v0, $f0 +/* 086C94 800ED7E4 00000000 */ nop +/* 086C98 800ED7E8 46800020 */ cvt.s.w $f0, $f0 +/* 086C9C 800ED7EC 0C0371DE */ jal func_800DC778 +/* 086CA0 800ED7F0 E7A00018 */ swc1 $f0, 0x18($sp) +/* 086CA4 800ED7F4 14400003 */ bnez $v0, .L800ED804 +/* 086CA8 800ED7F8 00000000 */ nop +/* 086CAC 800ED7FC C640002C */ lwc1 $f0, 0x2c($s2) +/* 086CB0 800ED800 E7A00024 */ swc1 $f0, 0x24($sp) +.L800ED804: +/* 086CB4 800ED804 960200A8 */ lhu $v0, 0xa8($s0) +/* 086CB8 800ED808 C7A60024 */ lwc1 $f6, 0x24($sp) +/* 086CBC 800ED80C 00021400 */ sll $v0, $v0, 0x10 +/* 086CC0 800ED810 00021C03 */ sra $v1, $v0, 0x10 +/* 086CC4 800ED814 44830000 */ mtc1 $v1, $f0 +/* 086CC8 800ED818 00000000 */ nop +/* 086CCC 800ED81C 46800020 */ cvt.s.w $f0, $f0 +/* 086CD0 800ED820 46003200 */ add.s $f8, $f6, $f0 +/* 086CD4 800ED824 3C014000 */ lui $at, 0x4000 +/* 086CD8 800ED828 44815000 */ mtc1 $at, $f10 +/* 086CDC 800ED82C 00000000 */ nop +/* 086CE0 800ED830 460A4000 */ add.s $f0, $f8, $f10 +/* 086CE4 800ED834 C604003C */ lwc1 $f4, 0x3c($s0) +/* 086CE8 800ED838 4600203E */ c.le.s $f4, $f0 +/* 086CEC 800ED83C 00000000 */ nop +/* 086CF0 800ED840 45000024 */ bc1f .L800ED8D4 +/* 086CF4 800ED844 00000000 */ nop +/* 086CF8 800ED848 C6420054 */ lwc1 $f2, 0x54($s2) +/* 086CFC 800ED84C 44800000 */ mtc1 $zero, $f0 +/* 086D00 800ED850 00000000 */ nop +/* 086D04 800ED854 46001032 */ c.eq.s $f2, $f0 +/* 086D08 800ED858 00000000 */ nop +/* 086D0C 800ED85C 4501000C */ bc1t .L800ED890 +/* 086D10 800ED860 000217C2 */ srl $v0, $v0, 0x1f +/* 086D14 800ED864 00621021 */ addu $v0, $v1, $v0 +/* 086D18 800ED868 00021043 */ sra $v0, $v0, 1 +/* 086D1C 800ED86C 44820000 */ mtc1 $v0, $f0 +/* 086D20 800ED870 00000000 */ nop +/* 086D24 800ED874 46800020 */ cvt.s.w $f0, $f0 +/* 086D28 800ED878 46003000 */ add.s $f0, $f6, $f0 +/* 086D2C 800ED87C 460A0000 */ add.s $f0, $f0, $f10 +/* 086D30 800ED880 3C013E00 */ lui $at, 0x3e00 +/* 086D34 800ED884 44811000 */ mtc1 $at, $f2 +/* 086D38 800ED888 0803B662 */ j .L800ED988 +/* 086D3C 800ED88C 46040001 */ sub.s $f0, $f0, $f4 + +.L800ED890: +/* 086D40 800ED890 C642002C */ lwc1 $f2, 0x2c($s2) +/* 086D44 800ED894 4602303C */ c.lt.s $f6, $f2 +/* 086D48 800ED898 00000000 */ nop +/* 086D4C 800ED89C 45000005 */ bc1f .L800ED8B4 +/* 086D50 800ED8A0 00000000 */ nop +/* 086D54 800ED8A4 3C014120 */ lui $at, 0x4120 +/* 086D58 800ED8A8 44810000 */ mtc1 $at, $f0 +/* 086D5C 800ED8AC 0803B631 */ j .L800ED8C4 +/* 086D60 800ED8B0 46001000 */ add.s $f0, $f2, $f0 + +.L800ED8B4: +/* 086D64 800ED8B4 3C014120 */ lui $at, 0x4120 +/* 086D68 800ED8B8 44810000 */ mtc1 $at, $f0 +/* 086D6C 800ED8BC 00000000 */ nop +/* 086D70 800ED8C0 46003000 */ add.s $f0, $f6, $f0 +.L800ED8C4: +/* 086D74 800ED8C4 3C013E80 */ lui $at, 0x3e80 +/* 086D78 800ED8C8 44811000 */ mtc1 $at, $f2 +/* 086D7C 800ED8CC 0803B662 */ j .L800ED988 +/* 086D80 800ED8D0 46040001 */ sub.s $f0, $f0, $f4 + +.L800ED8D4: +/* 086D84 800ED8D4 864200B0 */ lh $v0, 0xb0($s2) +/* 086D88 800ED8D8 C642002C */ lwc1 $f2, 0x2c($s2) +/* 086D8C 800ED8DC 44820000 */ mtc1 $v0, $f0 +/* 086D90 800ED8E0 00000000 */ nop +/* 086D94 800ED8E4 46800020 */ cvt.s.w $f0, $f0 +/* 086D98 800ED8E8 46001080 */ add.s $f2, $f2, $f0 +/* 086D9C 800ED8EC 4606103C */ c.lt.s $f2, $f6 +/* 086DA0 800ED8F0 00000000 */ nop +/* 086DA4 800ED8F4 4500001C */ bc1f .L800ED968 +/* 086DA8 800ED8F8 00000000 */ nop +/* 086DAC 800ED8FC 46044081 */ sub.s $f2, $f8, $f4 +/* 086DB0 800ED900 3C013E00 */ lui $at, 0x3e00 +/* 086DB4 800ED904 44810000 */ mtc1 $at, $f0 +/* 086DB8 800ED908 00000000 */ nop +/* 086DBC 800ED90C 46001082 */ mul.s $f2, $f2, $f0 +/* 086DC0 800ED910 00000000 */ nop +/* 086DC4 800ED914 860200A8 */ lh $v0, 0xa8($s0) +/* 086DC8 800ED918 44820000 */ mtc1 $v0, $f0 +/* 086DCC 800ED91C 00000000 */ nop +/* 086DD0 800ED920 46800020 */ cvt.s.w $f0, $f0 +/* 086DD4 800ED924 46003000 */ add.s $f0, $f6, $f0 +/* 086DD8 800ED928 C608003C */ lwc1 $f8, 0x3c($s0) +/* 086DDC 800ED92C 46024100 */ add.s $f4, $f8, $f2 +/* 086DE0 800ED930 3C028010 */ lui $v0, 0x8010 +/* 086DE4 800ED934 244284F8 */ addiu $v0, $v0, -0x7b08 +/* 086DE8 800ED938 4600203E */ c.le.s $f4, $f0 +/* 086DEC 800ED93C 00000000 */ nop +/* 086DF0 800ED940 45000015 */ bc1f .L800ED998 +/* 086DF4 800ED944 E4420000 */ swc1 $f2, ($v0) +/* 086DF8 800ED948 46080001 */ sub.s $f0, $f0, $f8 +/* 086DFC 800ED94C 3C013E80 */ lui $at, 0x3e80 +/* 086E00 800ED950 44811000 */ mtc1 $at, $f2 +/* 086E04 800ED954 00000000 */ nop +/* 086E08 800ED958 46020002 */ mul.s $f0, $f0, $f2 +/* 086E0C 800ED95C 00000000 */ nop +/* 086E10 800ED960 0803B666 */ j .L800ED998 +/* 086E14 800ED964 E4400000 */ swc1 $f0, ($v0) + +.L800ED968: +/* 086E18 800ED968 3C0140A0 */ lui $at, 0x40a0 +/* 086E1C 800ED96C 44810000 */ mtc1 $at, $f0 +/* 086E20 800ED970 00000000 */ nop +/* 086E24 800ED974 46001000 */ add.s $f0, $f2, $f0 +/* 086E28 800ED978 46040001 */ sub.s $f0, $f0, $f4 +/* 086E2C 800ED97C 3C013D80 */ lui $at, 0x3d80 +/* 086E30 800ED980 44811000 */ mtc1 $at, $f2 +/* 086E34 800ED984 00000000 */ nop +.L800ED988: +/* 086E38 800ED988 46020002 */ mul.s $f0, $f0, $f2 +/* 086E3C 800ED98C 00000000 */ nop +/* 086E40 800ED990 3C018010 */ lui $at, 0x8010 +/* 086E44 800ED994 E42084F8 */ swc1 $f0, -0x7b08($at) +.L800ED998: +/* 086E48 800ED998 C600003C */ lwc1 $f0, 0x3c($s0) +/* 086E4C 800ED99C 3C018010 */ lui $at, 0x8010 +/* 086E50 800ED9A0 C42284F8 */ lwc1 $f2, -0x7b08($at) +/* 086E54 800ED9A4 46020000 */ add.s $f0, $f0, $f2 +/* 086E58 800ED9A8 E600003C */ swc1 $f0, 0x3c($s0) +.L800ED9AC: +/* 086E5C 800ED9AC C6000038 */ lwc1 $f0, 0x38($s0) +/* 086E60 800ED9B0 C602003C */ lwc1 $f2, 0x3c($s0) +/* 086E64 800ED9B4 C6040040 */ lwc1 $f4, 0x40($s0) +.L800ED9B8: +/* 086E68 800ED9B8 3C018010 */ lui $at, 0x8010 +/* 086E6C 800ED9BC E420833C */ swc1 $f0, -0x7cc4($at) +/* 086E70 800ED9C0 3C018010 */ lui $at, 0x8010 +/* 086E74 800ED9C4 E4228340 */ swc1 $f2, -0x7cc0($at) +/* 086E78 800ED9C8 3C018010 */ lui $at, 0x8010 +/* 086E7C 800ED9CC E4248344 */ swc1 $f4, -0x7cbc($at) +/* 086E80 800ED9D0 8FBF004C */ lw $ra, 0x4c($sp) +/* 086E84 800ED9D4 8FB60048 */ lw $s6, 0x48($sp) +/* 086E88 800ED9D8 8FB50044 */ lw $s5, 0x44($sp) +/* 086E8C 800ED9DC 8FB40040 */ lw $s4, 0x40($sp) +/* 086E90 800ED9E0 8FB3003C */ lw $s3, 0x3c($sp) +/* 086E94 800ED9E4 8FB20038 */ lw $s2, 0x38($sp) +/* 086E98 800ED9E8 8FB10034 */ lw $s1, 0x34($sp) +/* 086E9C 800ED9EC 8FB00030 */ lw $s0, 0x30($sp) +/* 086EA0 800ED9F0 03E00008 */ jr $ra +/* 086EA4 800ED9F4 27BD0050 */ addiu $sp, $sp, 0x50 + +func_800ED9F8: +/* 086EA8 800ED9F8 3C038011 */ lui $v1, 0x8011 +/* 086EAC 800ED9FC 8463CFC8 */ lh $v1, -0x3038($v1) +/* 086EB0 800EDA00 27BDFFA0 */ addiu $sp, $sp, -0x60 +/* 086EB4 800EDA04 AFB10034 */ sw $s1, 0x34($sp) +/* 086EB8 800EDA08 AFB3003C */ sw $s3, 0x3c($sp) +/* 086EBC 800EDA0C 3C138011 */ lui $s3, 0x8011 +/* 086EC0 800EDA10 2673EFC8 */ addiu $s3, $s3, -0x1038 +/* 086EC4 800EDA14 AFB20038 */ sw $s2, 0x38($sp) +/* 086EC8 800EDA18 3C12800B */ lui $s2, 0x800b +/* 086ECC 800EDA1C 26521D80 */ addiu $s2, $s2, 0x1d80 +/* 086ED0 800EDA20 AFBF0044 */ sw $ra, 0x44($sp) +/* 086ED4 800EDA24 AFB40040 */ sw $s4, 0x40($sp) +/* 086ED8 800EDA28 AFB00030 */ sw $s0, 0x30($sp) +/* 086EDC 800EDA2C F7B80058 */ sdc1 $f24, 0x58($sp) +/* 086EE0 800EDA30 F7B60050 */ sdc1 $f22, 0x50($sp) +/* 086EE4 800EDA34 F7B40048 */ sdc1 $f20, 0x48($sp) +/* 086EE8 800EDA38 2C620033 */ sltiu $v0, $v1, 0x33 +/* 086EEC 800EDA3C 104003CA */ beqz $v0, .L800EE968 +/* 086EF0 800EDA40 0080882D */ daddu $s1, $a0, $zero +/* 086EF4 800EDA44 00031080 */ sll $v0, $v1, 2 +/* 086EF8 800EDA48 3C018011 */ lui $at, 0x8011 +/* 086EFC 800EDA4C 00220821 */ addu $at, $at, $v0 +/* 086F00 800EDA50 8C22C218 */ lw $v0, -0x3de8($at) +/* 086F04 800EDA54 00400008 */ jr $v0 +/* 086F08 800EDA58 00000000 */ nop +/* 086F0C 800EDA5C 3C038011 */ lui $v1, 0x8011 +/* 086F10 800EDA60 2463CD38 */ addiu $v1, $v1, -0x32c8 +/* 086F14 800EDA64 44806000 */ mtc1 $zero, $f12 +/* 086F18 800EDA68 3C028011 */ lui $v0, 0x8011 +/* 086F1C 800EDA6C 8C42CFBC */ lw $v0, -0x3044($v0) +/* 086F20 800EDA70 C6220038 */ lwc1 $f2, 0x38($s1) +/* 086F24 800EDA74 C624003C */ lwc1 $f4, 0x3c($s1) +/* 086F28 800EDA78 3C018011 */ lui $at, 0x8011 +/* 086F2C 800EDA7C C42ACFC0 */ lwc1 $f10, -0x3040($at) +/* 086F30 800EDA80 3C0141A0 */ lui $at, 0x41a0 +/* 086F34 800EDA84 44814000 */ mtc1 $at, $f8 +/* 086F38 800EDA88 C6200040 */ lwc1 $f0, 0x40($s1) +/* 086F3C 800EDA8C 00021100 */ sll $v0, $v0, 4 +/* 086F40 800EDA90 00438021 */ addu $s0, $v0, $v1 +/* 086F44 800EDA94 C6160004 */ lwc1 $f22, 4($s0) +/* 086F48 800EDA98 C6060008 */ lwc1 $f6, 8($s0) +/* 086F4C 800EDA9C C614000C */ lwc1 $f20, 0xc($s0) +/* 086F50 800EDAA0 4608503C */ c.lt.s $f10, $f8 +/* 086F54 800EDAA4 E7A20020 */ swc1 $f2, 0x20($sp) +/* 086F58 800EDAA8 E7A40024 */ swc1 $f4, 0x24($sp) +/* 086F5C 800EDAAC E7A00028 */ swc1 $f0, 0x28($sp) +/* 086F60 800EDAB0 3C018010 */ lui $at, 0x8010 +/* 086F64 800EDAB4 E422833C */ swc1 $f2, -0x7cc4($at) +/* 086F68 800EDAB8 3C018010 */ lui $at, 0x8010 +/* 086F6C 800EDABC E4248340 */ swc1 $f4, -0x7cc0($at) +/* 086F70 800EDAC0 3C018010 */ lui $at, 0x8010 +/* 086F74 800EDAC4 E4208344 */ swc1 $f0, -0x7cbc($at) +/* 086F78 800EDAC8 45020008 */ bc1fl .L800EDAEC +/* 086F7C 800EDACC 46083000 */ add.s $f0, $f6, $f8 +/* 086F80 800EDAD0 460A4081 */ sub.s $f2, $f8, $f10 +/* 086F84 800EDAD4 3C013F00 */ lui $at, 0x3f00 +/* 086F88 800EDAD8 44810000 */ mtc1 $at, $f0 +/* 086F8C 800EDADC 00000000 */ nop +/* 086F90 800EDAE0 46001302 */ mul.s $f12, $f2, $f0 +/* 086F94 800EDAE4 00000000 */ nop +/* 086F98 800EDAE8 46083000 */ add.s $f0, $f6, $f8 +.L800EDAEC: +/* 086F9C 800EDAEC 460C0000 */ add.s $f0, $f0, $f12 +/* 086FA0 800EDAF0 46040001 */ sub.s $f0, $f0, $f4 +/* 086FA4 800EDAF4 3C013E00 */ lui $at, 0x3e00 +/* 086FA8 800EDAF8 44811000 */ mtc1 $at, $f2 +/* 086FAC 800EDAFC 00000000 */ nop +/* 086FB0 800EDB00 46020002 */ mul.s $f0, $f0, $f2 +/* 086FB4 800EDB04 00000000 */ nop +/* 086FB8 800EDB08 C62E0040 */ lwc1 $f14, 0x40($s1) +/* 086FBC 800EDB0C C62C0038 */ lwc1 $f12, 0x38($s1) +/* 086FC0 800EDB10 3C014040 */ lui $at, 0x4040 +/* 086FC4 800EDB14 44811000 */ mtc1 $at, $f2 +/* 086FC8 800EDB18 46002000 */ add.s $f0, $f4, $f0 +/* 086FCC 800EDB1C E6220018 */ swc1 $f2, 0x18($s1) +/* 086FD0 800EDB20 E620003C */ swc1 $f0, 0x3c($s1) +/* 086FD4 800EDB24 8E660028 */ lw $a2, 0x28($s3) +/* 086FD8 800EDB28 8E670030 */ lw $a3, 0x30($s3) +/* 086FDC 800EDB2C 0C00A7B5 */ jal dist2D +/* 086FE0 800EDB30 E7A00024 */ swc1 $f0, 0x24($sp) +/* 086FE4 800EDB34 3C014049 */ lui $at, 0x4049 +/* 086FE8 800EDB38 44811800 */ mtc1 $at, $f3 +/* 086FEC 800EDB3C 44801000 */ mtc1 $zero, $f2 +/* 086FF0 800EDB40 46000106 */ mov.s $f4, $f0 +/* 086FF4 800EDB44 E7A0002C */ swc1 $f0, 0x2c($sp) +/* 086FF8 800EDB48 46002021 */ cvt.d.s $f0, $f4 +/* 086FFC 800EDB4C 4620103E */ c.le.d $f2, $f0 +/* 087000 800EDB50 00000000 */ nop +/* 087004 800EDB54 45000033 */ bc1f .L800EDC24 +/* 087008 800EDB58 00000000 */ nop +/* 08700C 800EDB5C C622003C */ lwc1 $f2, 0x3c($s1) +/* 087010 800EDB60 C660002C */ lwc1 $f0, 0x2c($s3) +/* 087014 800EDB64 4602003E */ c.le.s $f0, $f2 +/* 087018 800EDB68 00000000 */ nop +/* 08701C 800EDB6C 45000029 */ bc1f .L800EDC14 +/* 087020 800EDB70 00000000 */ nop +/* 087024 800EDB74 3C013E80 */ lui $at, 0x3e80 +/* 087028 800EDB78 44810000 */ mtc1 $at, $f0 +/* 08702C 800EDB7C 00000000 */ nop +/* 087030 800EDB80 46002002 */ mul.s $f0, $f4, $f0 +/* 087034 800EDB84 00000000 */ nop +/* 087038 800EDB88 0803B709 */ j .L800EDC24 +/* 08703C 800EDB8C E6200018 */ swc1 $f0, 0x18($s1) + +.L800EDB90: +/* 087040 800EDB90 3C0140C0 */ lui $at, 0x40c0 +/* 087044 800EDB94 44810000 */ mtc1 $at, $f0 +.L800EDB98: +/* 087048 800EDB98 0803B76E */ j .L800EDDB8 +/* 08704C 800EDB9C E6200018 */ swc1 $f0, 0x18($s1) + +.L800EDBA0: +/* 087050 800EDBA0 C634000C */ lwc1 $f20, 0xc($s1) +/* 087054 800EDBA4 3C028011 */ lui $v0, 0x8011 +/* 087058 800EDBA8 8C42CFD8 */ lw $v0, -0x3028($v0) +/* 08705C 800EDBAC AE200018 */ sw $zero, 0x18($s1) +/* 087060 800EDBB0 AE200014 */ sw $zero, 0x14($s1) +/* 087064 800EDBB4 000218C0 */ sll $v1, $v0, 3 +/* 087068 800EDBB8 00621821 */ addu $v1, $v1, $v0 +/* 08706C 800EDBBC 00031880 */ sll $v1, $v1, 2 +/* 087070 800EDBC0 3C028010 */ lui $v0, 0x8010 +/* 087074 800EDBC4 00431021 */ addu $v0, $v0, $v1 +/* 087078 800EDBC8 8C42835C */ lw $v0, -0x7ca4($v0) +/* 08707C 800EDBCC 0803B76E */ j .L800EDDB8 +/* 087080 800EDBD0 AE220028 */ sw $v0, 0x28($s1) + +.L800EDBD4: +/* 087084 800EDBD4 C634000C */ lwc1 $f20, 0xc($s1) +/* 087088 800EDBD8 3C038011 */ lui $v1, 0x8011 +/* 08708C 800EDBDC 8C63CFD8 */ lw $v1, -0x3028($v1) +/* 087090 800EDBE0 AE200018 */ sw $zero, 0x18($s1) +/* 087094 800EDBE4 AE200014 */ sw $zero, 0x14($s1) +/* 087098 800EDBE8 000310C0 */ sll $v0, $v1, 3 +/* 08709C 800EDBEC 00431021 */ addu $v0, $v0, $v1 +/* 0870A0 800EDBF0 00021080 */ sll $v0, $v0, 2 +/* 0870A4 800EDBF4 3C038010 */ lui $v1, 0x8010 +/* 0870A8 800EDBF8 00621821 */ addu $v1, $v1, $v0 +/* 0870AC 800EDBFC 8C63835C */ lw $v1, -0x7ca4($v1) +/* 0870B0 800EDC00 24020005 */ addiu $v0, $zero, 5 +/* 0870B4 800EDC04 3C018011 */ lui $at, 0x8011 +/* 0870B8 800EDC08 A422CFC8 */ sh $v0, -0x3038($at) +/* 0870BC 800EDC0C 0803B76E */ j .L800EDDB8 +/* 0870C0 800EDC10 AE230028 */ sw $v1, 0x28($s1) + +.L800EDC14: +/* 0870C4 800EDC14 3C014100 */ lui $at, 0x4100 +/* 0870C8 800EDC18 44810000 */ mtc1 $at, $f0 +/* 0870CC 800EDC1C 00000000 */ nop +/* 0870D0 800EDC20 E6200018 */ swc1 $f0, 0x18($s1) +.L800EDC24: +/* 0870D4 800EDC24 3C018011 */ lui $at, 0x8011 +/* 0870D8 800EDC28 C422CFC0 */ lwc1 $f2, -0x3040($at) +/* 0870DC 800EDC2C 3C0141A0 */ lui $at, 0x41a0 +/* 0870E0 800EDC30 44810000 */ mtc1 $at, $f0 +/* 0870E4 800EDC34 00000000 */ nop +/* 0870E8 800EDC38 4600103C */ c.lt.s $f2, $f0 +/* 0870EC 800EDC3C 00000000 */ nop +/* 0870F0 800EDC40 45000005 */ bc1f .L800EDC58 +/* 0870F4 800EDC44 00000000 */ nop +/* 0870F8 800EDC48 3C014080 */ lui $at, 0x4080 +/* 0870FC 800EDC4C 44810000 */ mtc1 $at, $f0 +/* 087100 800EDC50 00000000 */ nop +/* 087104 800EDC54 E6200018 */ swc1 $f0, 0x18($s1) +.L800EDC58: +/* 087108 800EDC58 3C128011 */ lui $s2, 0x8011 +/* 08710C 800EDC5C 2652CFBC */ addiu $s2, $s2, -0x3044 +/* 087110 800EDC60 3C148011 */ lui $s4, 0x8011 +/* 087114 800EDC64 2694CD38 */ addiu $s4, $s4, -0x32c8 +.L800EDC68: +/* 087118 800EDC68 C7AC0020 */ lwc1 $f12, 0x20($sp) +/* 08711C 800EDC6C C7AE0028 */ lwc1 $f14, 0x28($sp) +/* 087120 800EDC70 4406B000 */ mfc1 $a2, $f22 +/* 087124 800EDC74 4407A000 */ mfc1 $a3, $f20 +/* 087128 800EDC78 0C00A720 */ jal atan2 +/* 08712C 800EDC7C 00000000 */ nop +/* 087130 800EDC80 C7AC0020 */ lwc1 $f12, 0x20($sp) +/* 087134 800EDC84 C7AE0028 */ lwc1 $f14, 0x28($sp) +/* 087138 800EDC88 4406B000 */ mfc1 $a2, $f22 +/* 08713C 800EDC8C 4407A000 */ mfc1 $a3, $f20 +/* 087140 800EDC90 0C00A7B5 */ jal dist2D +/* 087144 800EDC94 46000506 */ mov.s $f20, $f0 +/* 087148 800EDC98 E7A0002C */ swc1 $f0, 0x2c($sp) +/* 08714C 800EDC9C C6260018 */ lwc1 $f6, 0x18($s1) +/* 087150 800EDCA0 46000106 */ mov.s $f4, $f0 +/* 087154 800EDCA4 4604303C */ c.lt.s $f6, $f4 +/* 087158 800EDCA8 00000000 */ nop +/* 08715C 800EDCAC 45000026 */ bc1f .L800EDD48 +/* 087160 800EDCB0 00000000 */ nop +/* 087164 800EDCB4 C622003C */ lwc1 $f2, 0x3c($s1) +/* 087168 800EDCB8 C660002C */ lwc1 $f0, 0x2c($s3) +/* 08716C 800EDCBC 4602003E */ c.le.s $f0, $f2 +/* 087170 800EDCC0 00000000 */ nop +/* 087174 800EDCC4 45020011 */ bc1fl .L800EDD0C +/* 087178 800EDCC8 460030A1 */ cvt.d.s $f2, $f6 +/* 08717C 800EDCCC 3C013E80 */ lui $at, 0x3e80 +/* 087180 800EDCD0 44810000 */ mtc1 $at, $f0 +/* 087184 800EDCD4 00000000 */ nop +/* 087188 800EDCD8 46002002 */ mul.s $f0, $f4, $f0 +/* 08718C 800EDCDC 00000000 */ nop +/* 087190 800EDCE0 4606003E */ c.le.s $f0, $f6 +/* 087194 800EDCE4 00000000 */ nop +/* 087198 800EDCE8 45030033 */ bc1tl .L800EDDB8 +/* 08719C 800EDCEC E6200018 */ swc1 $f0, 0x18($s1) +/* 0871A0 800EDCF0 3C013D80 */ lui $at, 0x3d80 +/* 0871A4 800EDCF4 44810000 */ mtc1 $at, $f0 +/* 0871A8 800EDCF8 00000000 */ nop +/* 0871AC 800EDCFC 46002002 */ mul.s $f0, $f4, $f0 +/* 0871B0 800EDD00 00000000 */ nop +/* 0871B4 800EDD04 0803B6E6 */ j .L800EDB98 +/* 0871B8 800EDD08 46003000 */ add.s $f0, $f6, $f0 + +.L800EDD0C: +/* 0871BC 800EDD0C 3C014018 */ lui $at, 0x4018 +/* 0871C0 800EDD10 44810800 */ mtc1 $at, $f1 +/* 0871C4 800EDD14 44800000 */ mtc1 $zero, $f0 +/* 0871C8 800EDD18 00000000 */ nop +/* 0871CC 800EDD1C 4622003C */ c.lt.d $f0, $f2 +/* 0871D0 800EDD20 00000000 */ nop +/* 0871D4 800EDD24 4501FF9A */ bc1t .L800EDB90 +/* 0871D8 800EDD28 00000000 */ nop +/* 0871DC 800EDD2C 3C013FF0 */ lui $at, 0x3ff0 +/* 0871E0 800EDD30 44810800 */ mtc1 $at, $f1 +/* 0871E4 800EDD34 44800000 */ mtc1 $zero, $f0 +/* 0871E8 800EDD38 00000000 */ nop +/* 0871EC 800EDD3C 46201000 */ add.d $f0, $f2, $f0 +/* 0871F0 800EDD40 0803B6E6 */ j .L800EDB98 +/* 0871F4 800EDD44 46200020 */ cvt.s.d $f0, $f0 + +.L800EDD48: +/* 0871F8 800EDD48 8E430000 */ lw $v1, ($s2) +/* 0871FC 800EDD4C 3C028011 */ lui $v0, 0x8011 +/* 087200 800EDD50 8C42CFB8 */ lw $v0, -0x3048($v0) +/* 087204 800EDD54 1062FF92 */ beq $v1, $v0, .L800EDBA0 +/* 087208 800EDD58 00000000 */ nop +/* 08720C 800EDD5C C62C0038 */ lwc1 $f12, 0x38($s1) +/* 087210 800EDD60 C62E0040 */ lwc1 $f14, 0x40($s1) +/* 087214 800EDD64 8E660028 */ lw $a2, 0x28($s3) +/* 087218 800EDD68 0C00A7B5 */ jal dist2D +/* 08721C 800EDD6C 8E670030 */ lw $a3, 0x30($s3) +/* 087220 800EDD70 3C018011 */ lui $at, 0x8011 +/* 087224 800EDD74 C422CFC0 */ lwc1 $f2, -0x3040($at) +/* 087228 800EDD78 4602003E */ c.le.s $f0, $f2 +/* 08722C 800EDD7C 00000000 */ nop +/* 087230 800EDD80 4501FF94 */ bc1t .L800EDBD4 +/* 087234 800EDD84 E7A0002C */ swc1 $f0, 0x2c($sp) +/* 087238 800EDD88 8E420000 */ lw $v0, ($s2) +/* 08723C 800EDD8C 24420001 */ addiu $v0, $v0, 1 +/* 087240 800EDD90 AE420000 */ sw $v0, ($s2) +/* 087244 800EDD94 28420028 */ slti $v0, $v0, 0x28 +/* 087248 800EDD98 50400001 */ beql $v0, $zero, .L800EDDA0 +/* 08724C 800EDD9C AE400000 */ sw $zero, ($s2) +.L800EDDA0: +/* 087250 800EDDA0 8E420000 */ lw $v0, ($s2) +/* 087254 800EDDA4 00021100 */ sll $v0, $v0, 4 +/* 087258 800EDDA8 00548021 */ addu $s0, $v0, $s4 +/* 08725C 800EDDAC C6160004 */ lwc1 $f22, 4($s0) +/* 087260 800EDDB0 0803B71A */ j .L800EDC68 +/* 087264 800EDDB4 C614000C */ lwc1 $f20, 0xc($s0) + +.L800EDDB8: +/* 087268 800EDDB8 8E250018 */ lw $a1, 0x18($s1) +/* 08726C 800EDDBC 4406A000 */ mfc1 $a2, $f20 +/* 087270 800EDDC0 0220202D */ daddu $a0, $s1, $zero +/* 087274 800EDDC4 0C00EA95 */ jal npc_move_heading +/* 087278 800EDDC8 AE26000C */ sw $a2, 0xc($s1) +/* 08727C 800EDDCC 8E220000 */ lw $v0, ($s1) +/* 087280 800EDDD0 30424000 */ andi $v0, $v0, 0x4000 +/* 087284 800EDDD4 104002E4 */ beqz $v0, .L800EE968 +/* 087288 800EDDD8 24020001 */ addiu $v0, $zero, 1 +/* 08728C 800EDDDC 3C018011 */ lui $at, 0x8011 +/* 087290 800EDDE0 A422CFC8 */ sh $v0, -0x3038($at) +/* 087294 800EDDE4 0803BA5A */ j .L800EE968 +/* 087298 800EDDE8 00000000 */ nop + +/* 08729C 800EDDEC 3C048011 */ lui $a0, 0x8011 +/* 0872A0 800EDDF0 2484CFBC */ addiu $a0, $a0, -0x3044 +/* 0872A4 800EDDF4 8C830000 */ lw $v1, ($a0) +/* 0872A8 800EDDF8 3C028011 */ lui $v0, 0x8011 +/* 0872AC 800EDDFC 8C42CFB8 */ lw $v0, -0x3048($v0) +/* 0872B0 800EDE00 106202D9 */ beq $v1, $v0, .L800EE968 +/* 0872B4 800EDE04 24620001 */ addiu $v0, $v1, 1 +/* 0872B8 800EDE08 AC820000 */ sw $v0, ($a0) +/* 0872BC 800EDE0C 28420028 */ slti $v0, $v0, 0x28 +/* 0872C0 800EDE10 50400001 */ beql $v0, $zero, .L800EDE18 +/* 0872C4 800EDE14 AC800000 */ sw $zero, ($a0) +.L800EDE18: +/* 0872C8 800EDE18 3C038011 */ lui $v1, 0x8011 +/* 0872CC 800EDE1C 2463CD38 */ addiu $v1, $v1, -0x32c8 +/* 0872D0 800EDE20 8C820000 */ lw $v0, ($a0) +/* 0872D4 800EDE24 3C013FA6 */ lui $at, 0x3fa6 +/* 0872D8 800EDE28 34216666 */ ori $at, $at, 0x6666 +/* 0872DC 800EDE2C 44810000 */ mtc1 $at, $f0 +/* 0872E0 800EDE30 00021100 */ sll $v0, $v0, 4 +/* 0872E4 800EDE34 00438021 */ addu $s0, $v0, $v1 +/* 0872E8 800EDE38 C6160004 */ lwc1 $f22, 4($s0) +/* 0872EC 800EDE3C C6060008 */ lwc1 $f6, 8($s0) +/* 0872F0 800EDE40 C614000C */ lwc1 $f20, 0xc($s0) +/* 0872F4 800EDE44 3C108011 */ lui $s0, 0x8011 +/* 0872F8 800EDE48 2610CFC8 */ addiu $s0, $s0, -0x3038 +/* 0872FC 800EDE4C A620008E */ sh $zero, 0x8e($s1) +/* 087300 800EDE50 E6200014 */ swc1 $f0, 0x14($s1) +/* 087304 800EDE54 E6360060 */ swc1 $f22, 0x60($s1) +/* 087308 800EDE58 E6260064 */ swc1 $f6, 0x64($s1) +/* 08730C 800EDE5C E6340068 */ swc1 $f20, 0x68($s1) +/* 087310 800EDE60 86020000 */ lh $v0, ($s0) +/* 087314 800EDE64 24120001 */ addiu $s2, $zero, 1 +/* 087318 800EDE68 14520005 */ bne $v0, $s2, .L800EDE80 +/* 08731C 800EDE6C 00000000 */ nop +/* 087320 800EDE70 3C0140C0 */ lui $at, 0x40c0 +/* 087324 800EDE74 44810000 */ mtc1 $at, $f0 +/* 087328 800EDE78 00000000 */ nop +/* 08732C 800EDE7C E6200018 */ swc1 $f0, 0x18($s1) +.L800EDE80: +/* 087330 800EDE80 C62C0038 */ lwc1 $f12, 0x38($s1) +/* 087334 800EDE84 C62E0040 */ lwc1 $f14, 0x40($s1) +/* 087338 800EDE88 8E260060 */ lw $a2, 0x60($s1) +/* 08733C 800EDE8C 0C00A7B5 */ jal dist2D +/* 087340 800EDE90 8E270068 */ lw $a3, 0x68($s1) +/* 087344 800EDE94 C62C0038 */ lwc1 $f12, 0x38($s1) +/* 087348 800EDE98 C62E0040 */ lwc1 $f14, 0x40($s1) +/* 08734C 800EDE9C 8E260060 */ lw $a2, 0x60($s1) +/* 087350 800EDEA0 8E270068 */ lw $a3, 0x68($s1) +/* 087354 800EDEA4 0C00A720 */ jal atan2 +/* 087358 800EDEA8 E6200010 */ swc1 $f0, 0x10($s1) +/* 08735C 800EDEAC E620000C */ swc1 $f0, 0xc($s1) +/* 087360 800EDEB0 C6200010 */ lwc1 $f0, 0x10($s1) +/* 087364 800EDEB4 3C014049 */ lui $at, 0x4049 +/* 087368 800EDEB8 44811800 */ mtc1 $at, $f3 +/* 08736C 800EDEBC 44801000 */ mtc1 $zero, $f2 +/* 087370 800EDEC0 46000021 */ cvt.d.s $f0, $f0 +/* 087374 800EDEC4 4620103C */ c.lt.d $f2, $f0 +/* 087378 800EDEC8 00000000 */ nop +/* 08737C 800EDECC 45000005 */ bc1f .L800EDEE4 +/* 087380 800EDED0 00000000 */ nop +/* 087384 800EDED4 3C014248 */ lui $at, 0x4248 +/* 087388 800EDED8 44810000 */ mtc1 $at, $f0 +/* 08738C 800EDEDC 00000000 */ nop +/* 087390 800EDEE0 E6200010 */ swc1 $f0, 0x10($s1) +.L800EDEE4: +/* 087394 800EDEE4 C6220064 */ lwc1 $f2, 0x64($s1) +/* 087398 800EDEE8 C620003C */ lwc1 $f0, 0x3c($s1) +/* 08739C 800EDEEC 46001101 */ sub.s $f4, $f2, $f0 +/* 0873A0 800EDEF0 C6200010 */ lwc1 $f0, 0x10($s1) +/* 0873A4 800EDEF4 46000086 */ mov.s $f2, $f0 +/* 0873A8 800EDEF8 E7A0002C */ swc1 $f0, 0x2c($sp) +/* 0873AC 800EDEFC 4604103C */ c.lt.s $f2, $f4 +/* 0873B0 800EDF00 00000000 */ nop +/* 0873B4 800EDF04 45000002 */ bc1f .L800EDF10 +/* 0873B8 800EDF08 E7A40024 */ swc1 $f4, 0x24($sp) +/* 0873BC 800EDF0C E7A4002C */ swc1 $f4, 0x2c($sp) +.L800EDF10: +/* 0873C0 800EDF10 86020000 */ lh $v0, ($s0) +/* 0873C4 800EDF14 14520026 */ bne $v0, $s2, .L800EDFB0 +/* 0873C8 800EDF18 2402000A */ addiu $v0, $zero, 0xa +/* 0873CC 800EDF1C 3C018011 */ lui $at, 0x8011 +/* 0873D0 800EDF20 C420CFC0 */ lwc1 $f0, -0x3040($at) +/* 0873D4 800EDF24 C7A2002C */ lwc1 $f2, 0x2c($sp) +/* 0873D8 800EDF28 4600103C */ c.lt.s $f2, $f0 +/* 0873DC 800EDF2C 00000000 */ nop +/* 0873E0 800EDF30 4500000B */ bc1f .L800EDF60 +/* 0873E4 800EDF34 00000000 */ nop +/* 0873E8 800EDF38 C62C0038 */ lwc1 $f12, 0x38($s1) +/* 0873EC 800EDF3C C62E0040 */ lwc1 $f14, 0x40($s1) +/* 0873F0 800EDF40 AE20001C */ sw $zero, 0x1c($s1) +/* 0873F4 800EDF44 8E660028 */ lw $a2, 0x28($s3) +/* 0873F8 800EDF48 0C00A720 */ jal atan2 +/* 0873FC 800EDF4C 8E670030 */ lw $a3, 0x30($s3) +/* 087400 800EDF50 24020005 */ addiu $v0, $zero, 5 +/* 087404 800EDF54 E620000C */ swc1 $f0, 0xc($s1) +/* 087408 800EDF58 0803BA5A */ j .L800EE968 +/* 08740C 800EDF5C A6020000 */ sh $v0, ($s0) + +.L800EDF60: +/* 087410 800EDF60 C6200018 */ lwc1 $f0, 0x18($s1) +/* 087414 800EDF64 46001003 */ div.s $f0, $f2, $f0 +/* 087418 800EDF68 4600040D */ trunc.w.s $f16, $f0 +/* 08741C 800EDF6C 44028000 */ mfc1 $v0, $f16 +/* 087420 800EDF70 00000000 */ nop +/* 087424 800EDF74 A622008E */ sh $v0, 0x8e($s1) +/* 087428 800EDF78 00021400 */ sll $v0, $v0, 0x10 +/* 08742C 800EDF7C 00021403 */ sra $v0, $v0, 0x10 +/* 087430 800EDF80 2842000A */ slti $v0, $v0, 0xa +/* 087434 800EDF84 10400002 */ beqz $v0, .L800EDF90 +/* 087438 800EDF88 2402000A */ addiu $v0, $zero, 0xa +/* 08743C 800EDF8C A622008E */ sh $v0, 0x8e($s1) +.L800EDF90: +/* 087440 800EDF90 8622008E */ lh $v0, 0x8e($s1) +/* 087444 800EDF94 C6200010 */ lwc1 $f0, 0x10($s1) +/* 087448 800EDF98 44821000 */ mtc1 $v0, $f2 +/* 08744C 800EDF9C 00000000 */ nop +/* 087450 800EDFA0 468010A0 */ cvt.s.w $f2, $f2 +/* 087454 800EDFA4 46020003 */ div.s $f0, $f0, $f2 +/* 087458 800EDFA8 0803B7ED */ j .L800EDFB4 +/* 08745C 800EDFAC E6200018 */ swc1 $f0, 0x18($s1) + +.L800EDFB0: +/* 087460 800EDFB0 A622008E */ sh $v0, 0x8e($s1) +.L800EDFB4: +/* 087464 800EDFB4 8622008E */ lh $v0, 0x8e($s1) +/* 087468 800EDFB8 C6220014 */ lwc1 $f2, 0x14($s1) +/* 08746C 800EDFBC 44822000 */ mtc1 $v0, $f4 +/* 087470 800EDFC0 00000000 */ nop +/* 087474 800EDFC4 46802120 */ cvt.s.w $f4, $f4 +/* 087478 800EDFC8 46041082 */ mul.s $f2, $f2, $f4 +/* 08747C 800EDFCC 00000000 */ nop +/* 087480 800EDFD0 46041082 */ mul.s $f2, $f2, $f4 +/* 087484 800EDFD4 00000000 */ nop +/* 087488 800EDFD8 3C013F00 */ lui $at, 0x3f00 +/* 08748C 800EDFDC 44810000 */ mtc1 $at, $f0 +/* 087490 800EDFE0 00000000 */ nop +/* 087494 800EDFE4 46001082 */ mul.s $f2, $f2, $f0 +/* 087498 800EDFE8 00000000 */ nop +/* 08749C 800EDFEC C7A00024 */ lwc1 $f0, 0x24($sp) +/* 0874A0 800EDFF0 46020000 */ add.s $f0, $f0, $f2 +/* 0874A4 800EDFF4 3C014034 */ lui $at, 0x4034 +/* 0874A8 800EDFF8 44811800 */ mtc1 $at, $f3 +/* 0874AC 800EDFFC 44801000 */ mtc1 $zero, $f2 +/* 0874B0 800EE000 46040003 */ div.s $f0, $f0, $f4 +/* 0874B4 800EE004 E620001C */ swc1 $f0, 0x1c($s1) +/* 0874B8 800EE008 46000021 */ cvt.d.s $f0, $f0 +/* 0874BC 800EE00C 4620103C */ c.lt.d $f2, $f0 +/* 0874C0 800EE010 00000000 */ nop +/* 0874C4 800EE014 45000005 */ bc1f .L800EE02C +/* 0874C8 800EE018 00000000 */ nop +/* 0874CC 800EE01C 3C0141A0 */ lui $at, 0x41a0 +/* 0874D0 800EE020 44810000 */ mtc1 $at, $f0 +/* 0874D4 800EE024 00000000 */ nop +/* 0874D8 800EE028 E620001C */ swc1 $f0, 0x1c($s1) +.L800EE02C: +/* 0874DC 800EE02C 3C038011 */ lui $v1, 0x8011 +/* 0874E0 800EE030 8C63CFD8 */ lw $v1, -0x3028($v1) +/* 0874E4 800EE034 C6200038 */ lwc1 $f0, 0x38($s1) +/* 0874E8 800EE038 C622003C */ lwc1 $f2, 0x3c($s1) +/* 0874EC 800EE03C C6240040 */ lwc1 $f4, 0x40($s1) +/* 0874F0 800EE040 000310C0 */ sll $v0, $v1, 3 +/* 0874F4 800EE044 00431021 */ addu $v0, $v0, $v1 +/* 0874F8 800EE048 00021080 */ sll $v0, $v0, 2 +/* 0874FC 800EE04C 3C038010 */ lui $v1, 0x8010 +/* 087500 800EE050 00621821 */ addu $v1, $v1, $v0 +/* 087504 800EE054 8C638350 */ lw $v1, -0x7cb0($v1) +/* 087508 800EE058 24020002 */ addiu $v0, $zero, 2 +/* 08750C 800EE05C 3C018011 */ lui $at, 0x8011 +/* 087510 800EE060 A422CFC8 */ sh $v0, -0x3038($at) +/* 087514 800EE064 E6200060 */ swc1 $f0, 0x60($s1) +/* 087518 800EE068 E6220064 */ swc1 $f2, 0x64($s1) +/* 08751C 800EE06C E6240068 */ swc1 $f4, 0x68($s1) +/* 087520 800EE070 0803BA5A */ j .L800EE968 +/* 087524 800EE074 AE230028 */ sw $v1, 0x28($s1) + +/* 087528 800EE078 C620001C */ lwc1 $f0, 0x1c($s1) +/* 08752C 800EE07C C6220014 */ lwc1 $f2, 0x14($s1) +/* 087530 800EE080 46020001 */ sub.s $f0, $f0, $f2 +/* 087534 800EE084 C622003C */ lwc1 $f2, 0x3c($s1) +/* 087538 800EE088 46001080 */ add.s $f2, $f2, $f0 +/* 08753C 800EE08C 4480A000 */ mtc1 $zero, $f20 +/* 087540 800EE090 00000000 */ nop +/* 087544 800EE094 4614003E */ c.le.s $f0, $f20 +/* 087548 800EE098 E620001C */ swc1 $f0, 0x1c($s1) +/* 08754C 800EE09C 4500000A */ bc1f .L800EE0C8 +/* 087550 800EE0A0 E622003C */ swc1 $f2, 0x3c($s1) +/* 087554 800EE0A4 3C028011 */ lui $v0, 0x8011 +/* 087558 800EE0A8 8C42CFD8 */ lw $v0, -0x3028($v0) +/* 08755C 800EE0AC 000218C0 */ sll $v1, $v0, 3 +/* 087560 800EE0B0 00621821 */ addu $v1, $v1, $v0 +/* 087564 800EE0B4 00031880 */ sll $v1, $v1, 2 +/* 087568 800EE0B8 3C028010 */ lui $v0, 0x8010 +/* 08756C 800EE0BC 00431021 */ addu $v0, $v0, $v1 +/* 087570 800EE0C0 8C428354 */ lw $v0, -0x7cac($v0) +/* 087574 800EE0C4 AE220028 */ sw $v0, 0x28($s1) +.L800EE0C8: +/* 087578 800EE0C8 8E250018 */ lw $a1, 0x18($s1) +/* 08757C 800EE0CC 8E26000C */ lw $a2, 0xc($s1) +/* 087580 800EE0D0 0C00EA95 */ jal npc_move_heading +/* 087584 800EE0D4 0220202D */ daddu $a0, $s1, $zero +/* 087588 800EE0D8 C620001C */ lwc1 $f0, 0x1c($s1) +/* 08758C 800EE0DC 4614003E */ c.le.s $f0, $f20 +/* 087590 800EE0E0 00000000 */ nop +/* 087594 800EE0E4 45000220 */ bc1f .L800EE968 +/* 087598 800EE0E8 00000000 */ nop +/* 08759C 800EE0EC C622003C */ lwc1 $f2, 0x3c($s1) +/* 0875A0 800EE0F0 C6200064 */ lwc1 $f0, 0x64($s1) +/* 0875A4 800EE0F4 4600103C */ c.lt.s $f2, $f0 +/* 0875A8 800EE0F8 00000000 */ nop +/* 0875AC 800EE0FC 4500021A */ bc1f .L800EE968 +/* 0875B0 800EE100 00000000 */ nop +/* 0875B4 800EE104 C62C0038 */ lwc1 $f12, 0x38($s1) +/* 0875B8 800EE108 3C038011 */ lui $v1, 0x8011 +/* 0875BC 800EE10C 8C63CFD8 */ lw $v1, -0x3028($v1) +/* 0875C0 800EE110 C62E0040 */ lwc1 $f14, 0x40($s1) +/* 0875C4 800EE114 000310C0 */ sll $v0, $v1, 3 +/* 0875C8 800EE118 00431021 */ addu $v0, $v0, $v1 +/* 0875CC 800EE11C 00021080 */ sll $v0, $v0, 2 +/* 0875D0 800EE120 3C018010 */ lui $at, 0x8010 +/* 0875D4 800EE124 00220821 */ addu $at, $at, $v0 +/* 0875D8 800EE128 8C228358 */ lw $v0, -0x7ca8($at) +/* 0875DC 800EE12C E634001C */ swc1 $f20, 0x1c($s1) +/* 0875E0 800EE130 E620003C */ swc1 $f0, 0x3c($s1) +/* 0875E4 800EE134 AE220028 */ sw $v0, 0x28($s1) +/* 0875E8 800EE138 8E660028 */ lw $a2, 0x28($s3) +/* 0875EC 800EE13C 0C00A720 */ jal atan2 +/* 0875F0 800EE140 8E670030 */ lw $a3, 0x30($s3) +/* 0875F4 800EE144 C62C0038 */ lwc1 $f12, 0x38($s1) +/* 0875F8 800EE148 C62E0040 */ lwc1 $f14, 0x40($s1) +/* 0875FC 800EE14C 8E260060 */ lw $a2, 0x60($s1) +/* 087600 800EE150 8E270068 */ lw $a3, 0x68($s1) +/* 087604 800EE154 3C108011 */ lui $s0, 0x8011 +/* 087608 800EE158 2610CFC8 */ addiu $s0, $s0, -0x3038 +/* 08760C 800EE15C E620000C */ swc1 $f0, 0xc($s1) +/* 087610 800EE160 0C00A7B5 */ jal dist2D +/* 087614 800EE164 A6000000 */ sh $zero, ($s0) +/* 087618 800EE168 3C018011 */ lui $at, 0x8011 +/* 08761C 800EE16C C422CFC0 */ lwc1 $f2, -0x3040($at) +/* 087620 800EE170 4602003C */ c.lt.s $f0, $f2 +/* 087624 800EE174 00000000 */ nop +/* 087628 800EE178 450001FB */ bc1f .L800EE968 +/* 08762C 800EE17C E7A0002C */ swc1 $f0, 0x2c($sp) +/* 087630 800EE180 2402000F */ addiu $v0, $zero, 0xf +/* 087634 800EE184 0803BA5A */ j .L800EE968 +/* 087638 800EE188 A6020000 */ sh $v0, ($s0) + +/* 08763C 800EE18C 3C038011 */ lui $v1, 0x8011 +/* 087640 800EE190 2463CD38 */ addiu $v1, $v1, -0x32c8 +/* 087644 800EE194 C62C0038 */ lwc1 $f12, 0x38($s1) +/* 087648 800EE198 C62E0040 */ lwc1 $f14, 0x40($s1) +/* 08764C 800EE19C 8E660028 */ lw $a2, 0x28($s3) +/* 087650 800EE1A0 8E670030 */ lw $a3, 0x30($s3) +/* 087654 800EE1A4 3C028011 */ lui $v0, 0x8011 +/* 087658 800EE1A8 8C42CFBC */ lw $v0, -0x3044($v0) +/* 08765C 800EE1AC C622003C */ lwc1 $f2, 0x3c($s1) +/* 087660 800EE1B0 00021100 */ sll $v0, $v0, 4 +/* 087664 800EE1B4 00438021 */ addu $s0, $v0, $v1 +/* 087668 800EE1B8 46006006 */ mov.s $f0, $f12 +/* 08766C 800EE1BC C6160004 */ lwc1 $f22, 4($s0) +/* 087670 800EE1C0 C614000C */ lwc1 $f20, 0xc($s0) +/* 087674 800EE1C4 46007106 */ mov.s $f4, $f14 +/* 087678 800EE1C8 E7A00020 */ swc1 $f0, 0x20($sp) +/* 08767C 800EE1CC E7A20024 */ swc1 $f2, 0x24($sp) +/* 087680 800EE1D0 0C00A7B5 */ jal dist2D +/* 087684 800EE1D4 E7A40028 */ swc1 $f4, 0x28($sp) +/* 087688 800EE1D8 3C018011 */ lui $at, 0x8011 +/* 08768C 800EE1DC C422CFC0 */ lwc1 $f2, -0x3040($at) +/* 087690 800EE1E0 4602003E */ c.le.s $f0, $f2 +/* 087694 800EE1E4 00000000 */ nop +/* 087698 800EE1E8 450000A5 */ bc1f .L800EE480 +/* 08769C 800EE1EC E7A0002C */ swc1 $f0, 0x2c($sp) +/* 0876A0 800EE1F0 3C048011 */ lui $a0, 0x8011 +/* 0876A4 800EE1F4 2484CFCA */ addiu $a0, $a0, -0x3036 +/* 0876A8 800EE1F8 84820000 */ lh $v0, ($a0) +/* 0876AC 800EE1FC 1440002D */ bnez $v0, .L800EE2B4 +/* 0876B0 800EE200 00000000 */ nop +/* 0876B4 800EE204 962200A8 */ lhu $v0, 0xa8($s1) +/* 0876B8 800EE208 C660002C */ lwc1 $f0, 0x2c($s3) +/* 0876BC 800EE20C 00021400 */ sll $v0, $v0, 0x10 +/* 0876C0 800EE210 00021C03 */ sra $v1, $v0, 0x10 +/* 0876C4 800EE214 000217C2 */ srl $v0, $v0, 0x1f +/* 0876C8 800EE218 00621821 */ addu $v1, $v1, $v0 +/* 0876CC 800EE21C 866200B0 */ lh $v0, 0xb0($s3) +/* 0876D0 800EE220 00031843 */ sra $v1, $v1, 1 +/* 0876D4 800EE224 00431023 */ subu $v0, $v0, $v1 +/* 0876D8 800EE228 44821000 */ mtc1 $v0, $f2 +/* 0876DC 800EE22C 00000000 */ nop +/* 0876E0 800EE230 468010A0 */ cvt.s.w $f2, $f2 +/* 0876E4 800EE234 46020000 */ add.s $f0, $f0, $f2 +/* 0876E8 800EE238 C622003C */ lwc1 $f2, 0x3c($s1) +/* 0876EC 800EE23C 46020001 */ sub.s $f0, $f0, $f2 +/* 0876F0 800EE240 3C013FA0 */ lui $at, 0x3fa0 +/* 0876F4 800EE244 44811800 */ mtc1 $at, $f3 +/* 0876F8 800EE248 44801000 */ mtc1 $zero, $f2 +/* 0876FC 800EE24C 46000021 */ cvt.d.s $f0, $f0 +/* 087700 800EE250 46220002 */ mul.d $f0, $f0, $f2 +/* 087704 800EE254 00000000 */ nop +/* 087708 800EE258 3C038011 */ lui $v1, 0x8011 +/* 08770C 800EE25C 8C63CFD8 */ lw $v1, -0x3028($v1) +/* 087710 800EE260 000310C0 */ sll $v0, $v1, 3 +/* 087714 800EE264 00431021 */ addu $v0, $v0, $v1 +/* 087718 800EE268 C7A20024 */ lwc1 $f2, 0x24($sp) +/* 08771C 800EE26C 00021080 */ sll $v0, $v0, 2 +/* 087720 800EE270 460010A1 */ cvt.d.s $f2, $f2 +/* 087724 800EE274 46201080 */ add.d $f2, $f2, $f0 +/* 087728 800EE278 AE200018 */ sw $zero, 0x18($s1) +/* 08772C 800EE27C AE200014 */ sw $zero, 0x14($s1) +/* 087730 800EE280 462010A0 */ cvt.s.d $f2, $f2 +/* 087734 800EE284 E622003C */ swc1 $f2, 0x3c($s1) +/* 087738 800EE288 3C018010 */ lui $at, 0x8010 +/* 08773C 800EE28C 00220821 */ addu $at, $at, $v0 +/* 087740 800EE290 8C22835C */ lw $v0, -0x7ca4($at) +/* 087744 800EE294 E7A20024 */ swc1 $f2, 0x24($sp) +/* 087748 800EE298 AE220028 */ sw $v0, 0x28($s1) +/* 08774C 800EE29C 826300B4 */ lb $v1, 0xb4($s3) +/* 087750 800EE2A0 2402000C */ addiu $v0, $zero, 0xc +/* 087754 800EE2A4 50620076 */ beql $v1, $v0, .L800EE480 +/* 087758 800EE2A8 A4800000 */ sh $zero, ($a0) +/* 08775C 800EE2AC 0803B920 */ j .L800EE480 +/* 087760 800EE2B0 00000000 */ nop + +.L800EE2B4: +/* 087764 800EE2B4 C66200A8 */ lwc1 $f2, 0xa8($s3) +/* 087768 800EE2B8 3C014334 */ lui $at, 0x4334 +/* 08776C 800EE2BC 44810000 */ mtc1 $at, $f0 +/* 087770 800EE2C0 C64C006C */ lwc1 $f12, 0x6c($s2) +/* 087774 800EE2C4 4600103C */ c.lt.s $f2, $f0 +/* 087778 800EE2C8 3C01C2B4 */ lui $at, 0xc2b4 +/* 08777C 800EE2CC 44810000 */ mtc1 $at, $f0 +/* 087780 800EE2D0 45000003 */ bc1f .L800EE2E0 +/* 087784 800EE2D4 00000000 */ nop +/* 087788 800EE2D8 3C0142B4 */ lui $at, 0x42b4 +/* 08778C 800EE2DC 44810000 */ mtc1 $at, $f0 +.L800EE2E0: +/* 087790 800EE2E0 0C00A6C9 */ jal clamp_angle +/* 087794 800EE2E4 46006300 */ add.s $f12, $f12, $f0 +/* 087798 800EE2E8 44070000 */ mfc1 $a3, $f0 +/* 08779C 800EE2EC C6600028 */ lwc1 $f0, 0x28($s3) +/* 0877A0 800EE2F0 3C018011 */ lui $at, 0x8011 +/* 0877A4 800EE2F4 C424CFC0 */ lwc1 $f4, -0x3040($at) +/* 0877A8 800EE2F8 26240060 */ addiu $a0, $s1, 0x60 +/* 0877AC 800EE2FC E6200060 */ swc1 $f0, 0x60($s1) +/* 0877B0 800EE300 3C014120 */ lui $at, 0x4120 +/* 0877B4 800EE304 44810000 */ mtc1 $at, $f0 +/* 0877B8 800EE308 C662002C */ lwc1 $f2, 0x2c($s3) +/* 0877BC 800EE30C 46002101 */ sub.s $f4, $f4, $f0 +/* 0877C0 800EE310 E6220064 */ swc1 $f2, 0x64($s1) +/* 0877C4 800EE314 C6600030 */ lwc1 $f0, 0x30($s3) +/* 0877C8 800EE318 44062000 */ mfc1 $a2, $f4 +/* 0877CC 800EE31C 26250068 */ addiu $a1, $s1, 0x68 +/* 0877D0 800EE320 0C00A7E7 */ jal add_vec2D_polar +/* 0877D4 800EE324 E6200068 */ swc1 $f0, 0x68($s1) +/* 0877D8 800EE328 C62C0038 */ lwc1 $f12, 0x38($s1) +/* 0877DC 800EE32C C62E0040 */ lwc1 $f14, 0x40($s1) +/* 0877E0 800EE330 8E260060 */ lw $a2, 0x60($s1) +/* 0877E4 800EE334 0C00A720 */ jal atan2 +/* 0877E8 800EE338 8E270068 */ lw $a3, 0x68($s1) +/* 0877EC 800EE33C C62C0038 */ lwc1 $f12, 0x38($s1) +/* 0877F0 800EE340 C62E0040 */ lwc1 $f14, 0x40($s1) +/* 0877F4 800EE344 8E260060 */ lw $a2, 0x60($s1) +/* 0877F8 800EE348 8E270068 */ lw $a3, 0x68($s1) +/* 0877FC 800EE34C 0C00A7B5 */ jal dist2D +/* 087800 800EE350 46000506 */ mov.s $f20, $f0 +/* 087804 800EE354 3C014000 */ lui $at, 0x4000 +/* 087808 800EE358 44811000 */ mtc1 $at, $f2 +/* 08780C 800EE35C E7A0002C */ swc1 $f0, 0x2c($sp) +/* 087810 800EE360 4600103C */ c.lt.s $f2, $f0 +/* 087814 800EE364 00000000 */ nop +/* 087818 800EE368 45000022 */ bc1f .L800EE3F4 +/* 08781C 800EE36C E6220018 */ swc1 $f2, 0x18($s1) +/* 087820 800EE370 3C038011 */ lui $v1, 0x8011 +/* 087824 800EE374 8C63CFD8 */ lw $v1, -0x3028($v1) +/* 087828 800EE378 3C048010 */ lui $a0, 0x8010 +/* 08782C 800EE37C 24848348 */ addiu $a0, $a0, -0x7cb8 +/* 087830 800EE380 E634000C */ swc1 $f20, 0xc($s1) +/* 087834 800EE384 000310C0 */ sll $v0, $v1, 3 +/* 087838 800EE388 00431021 */ addu $v0, $v0, $v1 +/* 08783C 800EE38C 00021080 */ sll $v0, $v0, 2 +/* 087840 800EE390 00442021 */ addu $a0, $v0, $a0 +/* 087844 800EE394 8E220000 */ lw $v0, ($s1) +/* 087848 800EE398 8C830018 */ lw $v1, 0x18($a0) +/* 08784C 800EE39C 30424000 */ andi $v0, $v0, 0x4000 +/* 087850 800EE3A0 14400004 */ bnez $v0, .L800EE3B4 +/* 087854 800EE3A4 AE230028 */ sw $v1, 0x28($s1) +/* 087858 800EE3A8 3C018010 */ lui $at, 0x8010 +/* 08785C 800EE3AC 0803B919 */ j .L800EE464 +/* 087860 800EE3B0 A420803A */ sh $zero, -0x7fc6($at) + +.L800EE3B4: +/* 087864 800EE3B4 3C038010 */ lui $v1, 0x8010 +/* 087868 800EE3B8 2463803A */ addiu $v1, $v1, -0x7fc6 +/* 08786C 800EE3BC 94620000 */ lhu $v0, ($v1) +/* 087870 800EE3C0 24420001 */ addiu $v0, $v0, 1 +/* 087874 800EE3C4 A4620000 */ sh $v0, ($v1) +/* 087878 800EE3C8 00021400 */ sll $v0, $v0, 0x10 +/* 08787C 800EE3CC 00021403 */ sra $v0, $v0, 0x10 +/* 087880 800EE3D0 2842000B */ slti $v0, $v0, 0xb +/* 087884 800EE3D4 14400023 */ bnez $v0, .L800EE464 +/* 087888 800EE3D8 00000000 */ nop +/* 08788C 800EE3DC C6740080 */ lwc1 $f20, 0x80($s3) +/* 087890 800EE3E0 AE200018 */ sw $zero, 0x18($s1) +/* 087894 800EE3E4 AE200014 */ sw $zero, 0x14($s1) +/* 087898 800EE3E8 E6340034 */ swc1 $f20, 0x34($s1) +/* 08789C 800EE3EC 0803B90E */ j .L800EE438 +/* 0878A0 800EE3F0 8C820014 */ lw $v0, 0x14($a0) + +.L800EE3F4: +/* 0878A4 800EE3F4 C62C0038 */ lwc1 $f12, 0x38($s1) +/* 0878A8 800EE3F8 C62E0040 */ lwc1 $f14, 0x40($s1) +/* 0878AC 800EE3FC 8E660028 */ lw $a2, 0x28($s3) +/* 0878B0 800EE400 0C00A720 */ jal atan2 +/* 0878B4 800EE404 8E670030 */ lw $a3, 0x30($s3) +/* 0878B8 800EE408 3C038011 */ lui $v1, 0x8011 +/* 0878BC 800EE40C 8C63CFD8 */ lw $v1, -0x3028($v1) +/* 0878C0 800EE410 46000506 */ mov.s $f20, $f0 +/* 0878C4 800EE414 E634000C */ swc1 $f20, 0xc($s1) +/* 0878C8 800EE418 AE200018 */ sw $zero, 0x18($s1) +/* 0878CC 800EE41C AE200014 */ sw $zero, 0x14($s1) +/* 0878D0 800EE420 000310C0 */ sll $v0, $v1, 3 +/* 0878D4 800EE424 00431021 */ addu $v0, $v0, $v1 +/* 0878D8 800EE428 00021080 */ sll $v0, $v0, 2 +/* 0878DC 800EE42C 3C018010 */ lui $at, 0x8010 +/* 0878E0 800EE430 00220821 */ addu $at, $at, $v0 +/* 0878E4 800EE434 8C22835C */ lw $v0, -0x7ca4($at) +.L800EE438: +/* 0878E8 800EE438 3C048011 */ lui $a0, 0x8011 +/* 0878EC 800EE43C 2484CFCA */ addiu $a0, $a0, -0x3036 +/* 0878F0 800EE440 AE220028 */ sw $v0, 0x28($s1) +/* 0878F4 800EE444 84830000 */ lh $v1, ($a0) +/* 0878F8 800EE448 24020002 */ addiu $v0, $zero, 2 +/* 0878FC 800EE44C 10620004 */ beq $v1, $v0, .L800EE460 +/* 087900 800EE450 2402000C */ addiu $v0, $zero, 0xc +/* 087904 800EE454 826300B4 */ lb $v1, 0xb4($s3) +/* 087908 800EE458 14620002 */ bne $v1, $v0, .L800EE464 +/* 08790C 800EE45C 00000000 */ nop +.L800EE460: +/* 087910 800EE460 A4800000 */ sh $zero, ($a0) +.L800EE464: +/* 087914 800EE464 8E250018 */ lw $a1, 0x18($s1) +/* 087918 800EE468 4406A000 */ mfc1 $a2, $f20 +/* 08791C 800EE46C 0220202D */ daddu $a0, $s1, $zero +/* 087920 800EE470 0C00EA95 */ jal npc_move_heading +/* 087924 800EE474 AC86000C */ sw $a2, 0xc($a0) +/* 087928 800EE478 0803BA5A */ j .L800EE968 +/* 08792C 800EE47C 00000000 */ nop + +.L800EE480: +/* 087930 800EE480 C62C0038 */ lwc1 $f12, 0x38($s1) +/* 087934 800EE484 C62E0040 */ lwc1 $f14, 0x40($s1) +/* 087938 800EE488 8E660028 */ lw $a2, 0x28($s3) +/* 08793C 800EE48C 0C00A7B5 */ jal dist2D +/* 087940 800EE490 8E670030 */ lw $a3, 0x30($s3) +/* 087944 800EE494 3C018011 */ lui $at, 0x8011 +/* 087948 800EE498 C422CFC0 */ lwc1 $f2, -0x3040($at) +/* 08794C 800EE49C 4602003E */ c.le.s $f0, $f2 +/* 087950 800EE4A0 00000000 */ nop +/* 087954 800EE4A4 45010130 */ bc1t .L800EE968 +/* 087958 800EE4A8 E7A0002C */ swc1 $f0, 0x2c($sp) +/* 08795C 800EE4AC 3C0142B4 */ lui $at, 0x42b4 +/* 087960 800EE4B0 4481C000 */ mtc1 $at, $f24 +/* 087964 800EE4B4 3C128011 */ lui $s2, 0x8011 +/* 087968 800EE4B8 2652CFBC */ addiu $s2, $s2, -0x3044 +/* 08796C 800EE4BC 3C148011 */ lui $s4, 0x8011 +/* 087970 800EE4C0 2694CD38 */ addiu $s4, $s4, -0x32c8 +.L800EE4C4: +/* 087974 800EE4C4 82020000 */ lb $v0, ($s0) +/* 087978 800EE4C8 14400024 */ bnez $v0, .L800EE55C +/* 08797C 800EE4CC 00000000 */ nop +/* 087980 800EE4D0 C62C0038 */ lwc1 $f12, 0x38($s1) +/* 087984 800EE4D4 C62E0040 */ lwc1 $f14, 0x40($s1) +/* 087988 800EE4D8 4406B000 */ mfc1 $a2, $f22 +/* 08798C 800EE4DC 4407A000 */ mfc1 $a3, $f20 +/* 087990 800EE4E0 0C00A720 */ jal atan2 +/* 087994 800EE4E4 00000000 */ nop +/* 087998 800EE4E8 C62C0038 */ lwc1 $f12, 0x38($s1) +/* 08799C 800EE4EC C62E0040 */ lwc1 $f14, 0x40($s1) +/* 0879A0 800EE4F0 8E660028 */ lw $a2, 0x28($s3) +/* 0879A4 800EE4F4 8E670030 */ lw $a3, 0x30($s3) +/* 0879A8 800EE4F8 0C00A720 */ jal atan2 +/* 0879AC 800EE4FC 46000506 */ mov.s $f20, $f0 +/* 0879B0 800EE500 4600A306 */ mov.s $f12, $f20 +/* 0879B4 800EE504 0C00A70A */ jal get_clamped_angle_diff +/* 0879B8 800EE508 46000386 */ mov.s $f14, $f0 +/* 0879BC 800EE50C 46000005 */ abs.s $f0, $f0 +/* 0879C0 800EE510 4618003C */ c.lt.s $f0, $f24 +/* 0879C4 800EE514 00000000 */ nop +/* 0879C8 800EE518 45010010 */ bc1t .L800EE55C +/* 0879CC 800EE51C 00000000 */ nop +/* 0879D0 800EE520 8E430000 */ lw $v1, ($s2) +/* 0879D4 800EE524 3C028011 */ lui $v0, 0x8011 +/* 0879D8 800EE528 8C42CFB8 */ lw $v0, -0x3048($v0) +/* 0879DC 800EE52C 1062000B */ beq $v1, $v0, .L800EE55C +/* 0879E0 800EE530 24620001 */ addiu $v0, $v1, 1 +/* 0879E4 800EE534 AE420000 */ sw $v0, ($s2) +/* 0879E8 800EE538 28420028 */ slti $v0, $v0, 0x28 +/* 0879EC 800EE53C 50400001 */ beql $v0, $zero, .L800EE544 +/* 0879F0 800EE540 AE400000 */ sw $zero, ($s2) +.L800EE544: +/* 0879F4 800EE544 8E420000 */ lw $v0, ($s2) +/* 0879F8 800EE548 00021100 */ sll $v0, $v0, 4 +/* 0879FC 800EE54C 00548021 */ addu $s0, $v0, $s4 +/* 087A00 800EE550 C6160004 */ lwc1 $f22, 4($s0) +/* 087A04 800EE554 0803B931 */ j .L800EE4C4 +/* 087A08 800EE558 C614000C */ lwc1 $f20, 0xc($s0) + +.L800EE55C: +/* 087A0C 800EE55C 3C018011 */ lui $at, 0x8011 +/* 087A10 800EE560 A420CFC8 */ sh $zero, -0x3038($at) +/* 087A14 800EE564 0803BA5A */ j .L800EE968 +/* 087A18 800EE568 00000000 */ nop + +/* 087A1C 800EE56C 8E620004 */ lw $v0, 4($s3) +/* 087A20 800EE570 3C030010 */ lui $v1, 0x10 +/* 087A24 800EE574 00431024 */ and $v0, $v0, $v1 +/* 087A28 800EE578 144000FB */ bnez $v0, .L800EE968 +/* 087A2C 800EE57C 00000000 */ nop +/* 087A30 800EE580 3C038011 */ lui $v1, 0x8011 +/* 087A34 800EE584 8463CFCE */ lh $v1, -0x3032($v1) +/* 087A38 800EE588 10600006 */ beqz $v1, .L800EE5A4 +/* 087A3C 800EE58C 00000000 */ nop +/* 087A40 800EE590 24020001 */ addiu $v0, $zero, 1 +/* 087A44 800EE594 10620048 */ beq $v1, $v0, .L800EE6B8 +/* 087A48 800EE598 00000000 */ nop +/* 087A4C 800EE59C 0803BA5A */ j .L800EE968 +/* 087A50 800EE5A0 00000000 */ nop + +.L800EE5A4: +/* 087A54 800EE5A4 0C0394D2 */ jal func_800E5348 +/* 087A58 800EE5A8 00000000 */ nop +/* 087A5C 800EE5AC 3C014334 */ lui $at, 0x4334 +/* 087A60 800EE5B0 44816000 */ mtc1 $at, $f12 +/* 087A64 800EE5B4 0C00A6C9 */ jal clamp_angle +/* 087A68 800EE5B8 460C0300 */ add.s $f12, $f0, $f12 +/* 087A6C 800EE5BC C6620028 */ lwc1 $f2, 0x28($s3) +/* 087A70 800EE5C0 E6220060 */ swc1 $f2, 0x60($s1) +/* 087A74 800EE5C4 C662002C */ lwc1 $f2, 0x2c($s3) +/* 087A78 800EE5C8 E6220064 */ swc1 $f2, 0x64($s1) +/* 087A7C 800EE5CC C6620030 */ lwc1 $f2, 0x30($s3) +/* 087A80 800EE5D0 26240060 */ addiu $a0, $s1, 0x60 +/* 087A84 800EE5D4 E6220068 */ swc1 $f2, 0x68($s1) +/* 087A88 800EE5D8 866200B2 */ lh $v0, 0xb2($s3) +/* 087A8C 800EE5DC 44070000 */ mfc1 $a3, $f0 +/* 087A90 800EE5E0 44828000 */ mtc1 $v0, $f16 +/* 087A94 800EE5E4 00000000 */ nop +/* 087A98 800EE5E8 46808420 */ cvt.s.w $f16, $f16 +/* 087A9C 800EE5EC 44068000 */ mfc1 $a2, $f16 +/* 087AA0 800EE5F0 0C00A7E7 */ jal add_vec2D_polar +/* 087AA4 800EE5F4 26250068 */ addiu $a1, $s1, 0x68 +/* 087AA8 800EE5F8 C62C0038 */ lwc1 $f12, 0x38($s1) +/* 087AAC 800EE5FC C62E0040 */ lwc1 $f14, 0x40($s1) +/* 087AB0 800EE600 8E260060 */ lw $a2, 0x60($s1) +/* 087AB4 800EE604 0C00A7B5 */ jal dist2D +/* 087AB8 800EE608 8E270068 */ lw $a3, 0x68($s1) +/* 087ABC 800EE60C 3C018010 */ lui $at, 0x8010 +/* 087AC0 800EE610 C422802C */ lwc1 $f2, -0x7fd4($at) +/* 087AC4 800EE614 468010A0 */ cvt.s.w $f2, $f2 +/* 087AC8 800EE618 E7A0002C */ swc1 $f0, 0x2c($sp) +/* 087ACC 800EE61C 46020003 */ div.s $f0, $f0, $f2 +/* 087AD0 800EE620 3C018010 */ lui $at, 0x8010 +/* 087AD4 800EE624 E4208030 */ swc1 $f0, -0x7fd0($at) +/* 087AD8 800EE628 E6200018 */ swc1 $f0, 0x18($s1) +/* 087ADC 800EE62C 46000021 */ cvt.d.s $f0, $f0 +/* 087AE0 800EE630 26240028 */ addiu $a0, $s1, 0x28 +/* 087AE4 800EE634 3C038011 */ lui $v1, 0x8011 +/* 087AE8 800EE638 8C63CFD8 */ lw $v1, -0x3028($v1) +/* 087AEC 800EE63C 3C014010 */ lui $at, 0x4010 +/* 087AF0 800EE640 44811800 */ mtc1 $at, $f3 +/* 087AF4 800EE644 44801000 */ mtc1 $zero, $f2 +/* 087AF8 800EE648 000310C0 */ sll $v0, $v1, 3 +/* 087AFC 800EE64C 00431021 */ addu $v0, $v0, $v1 +/* 087B00 800EE650 4622003C */ c.lt.d $f0, $f2 +/* 087B04 800EE654 00000000 */ nop +/* 087B08 800EE658 45000003 */ bc1f .L800EE668 +/* 087B0C 800EE65C 00021080 */ sll $v0, $v0, 2 +/* 087B10 800EE660 0803B99B */ j .L800EE66C +/* 087B14 800EE664 24430004 */ addiu $v1, $v0, 4 + +.L800EE668: +/* 087B18 800EE668 24430018 */ addiu $v1, $v0, 0x18 +.L800EE66C: +/* 087B1C 800EE66C 3C028010 */ lui $v0, 0x8010 +/* 087B20 800EE670 24428348 */ addiu $v0, $v0, -0x7cb8 +/* 087B24 800EE674 00431021 */ addu $v0, $v0, $v1 +/* 087B28 800EE678 8C420000 */ lw $v0, ($v0) +/* 087B2C 800EE67C AC820000 */ sw $v0, ($a0) +/* 087B30 800EE680 C62C0038 */ lwc1 $f12, 0x38($s1) +/* 087B34 800EE684 C62E0040 */ lwc1 $f14, 0x40($s1) +/* 087B38 800EE688 8E260060 */ lw $a2, 0x60($s1) +/* 087B3C 800EE68C 0C00A720 */ jal atan2 +/* 087B40 800EE690 8E270068 */ lw $a3, 0x68($s1) +/* 087B44 800EE694 3C038011 */ lui $v1, 0x8011 +/* 087B48 800EE698 2463CFCE */ addiu $v1, $v1, -0x3032 +/* 087B4C 800EE69C 94620000 */ lhu $v0, ($v1) +/* 087B50 800EE6A0 46000506 */ mov.s $f20, $f0 +/* 087B54 800EE6A4 3C018010 */ lui $at, 0x8010 +/* 087B58 800EE6A8 E4348034 */ swc1 $f20, -0x7fcc($at) +/* 087B5C 800EE6AC E634000C */ swc1 $f20, 0xc($s1) +/* 087B60 800EE6B0 24420001 */ addiu $v0, $v0, 1 +/* 087B64 800EE6B4 A4620000 */ sh $v0, ($v1) +.L800EE6B8: +/* 087B68 800EE6B8 3C098010 */ lui $t1, 0x8010 +/* 087B6C 800EE6BC 2529802C */ addiu $t1, $t1, -0x7fd4 +/* 087B70 800EE6C0 8D280000 */ lw $t0, ($t1) +/* 087B74 800EE6C4 1100007E */ beqz $t0, .L800EE8C0 +/* 087B78 800EE6C8 3C040001 */ lui $a0, 1 +/* 087B7C 800EE6CC 27A50020 */ addiu $a1, $sp, 0x20 +/* 087B80 800EE6D0 C6220038 */ lwc1 $f2, 0x38($s1) +/* 087B84 800EE6D4 862200A8 */ lh $v0, 0xa8($s1) +/* 087B88 800EE6D8 C6200040 */ lwc1 $f0, 0x40($s1) +/* 087B8C 800EE6DC 27A60024 */ addiu $a2, $sp, 0x24 +/* 087B90 800EE6E0 E7A00028 */ swc1 $f0, 0x28($sp) +/* 087B94 800EE6E4 44820000 */ mtc1 $v0, $f0 +/* 087B98 800EE6E8 00000000 */ nop +/* 087B9C 800EE6EC 46800020 */ cvt.s.w $f0, $f0 +/* 087BA0 800EE6F0 E7A20020 */ swc1 $f2, 0x20($sp) +/* 087BA4 800EE6F4 862200A8 */ lh $v0, 0xa8($s1) +/* 087BA8 800EE6F8 C622003C */ lwc1 $f2, 0x3c($s1) +/* 087BAC 800EE6FC 24420001 */ addiu $v0, $v0, 1 +/* 087BB0 800EE700 46001080 */ add.s $f2, $f2, $f0 +/* 087BB4 800EE704 44820000 */ mtc1 $v0, $f0 +/* 087BB8 800EE708 00000000 */ nop +/* 087BBC 800EE70C 46800020 */ cvt.s.w $f0, $f0 +/* 087BC0 800EE710 27A2002C */ addiu $v0, $sp, 0x2c +/* 087BC4 800EE714 E7A0002C */ swc1 $f0, 0x2c($sp) +/* 087BC8 800EE718 E7A20024 */ swc1 $f2, 0x24($sp) +/* 087BCC 800EE71C AFA20010 */ sw $v0, 0x10($sp) +/* 087BD0 800EE720 C620000C */ lwc1 $f0, 0xc($s1) +/* 087BD4 800EE724 27A70028 */ addiu $a3, $sp, 0x28 +/* 087BD8 800EE728 E7A00014 */ swc1 $f0, 0x14($sp) +/* 087BDC 800EE72C 862300A6 */ lh $v1, 0xa6($s1) +/* 087BE0 800EE730 2502FFFF */ addiu $v0, $t0, -1 +/* 087BE4 800EE734 AD220000 */ sw $v0, ($t1) +/* 087BE8 800EE738 44830000 */ mtc1 $v1, $f0 +/* 087BEC 800EE73C 00000000 */ nop +/* 087BF0 800EE740 46800020 */ cvt.s.w $f0, $f0 +/* 087BF4 800EE744 0C0371DE */ jal func_800DC778 +/* 087BF8 800EE748 E7A00018 */ swc1 $f0, 0x18($sp) +/* 087BFC 800EE74C 14400017 */ bnez $v0, .L800EE7AC +/* 087C00 800EE750 00000000 */ nop +/* 087C04 800EE754 C624003C */ lwc1 $f4, 0x3c($s1) +/* 087C08 800EE758 C666002C */ lwc1 $f6, 0x2c($s3) +/* 087C0C 800EE75C 862200A8 */ lh $v0, 0xa8($s1) +/* 087C10 800EE760 46062001 */ sub.s $f0, $f4, $f6 +/* 087C14 800EE764 24420005 */ addiu $v0, $v0, 5 +/* 087C18 800EE768 44821000 */ mtc1 $v0, $f2 +/* 087C1C 800EE76C 00000000 */ nop +/* 087C20 800EE770 468010A1 */ cvt.d.w $f2, $f2 +/* 087C24 800EE774 46000021 */ cvt.d.s $f0, $f0 +/* 087C28 800EE778 46200005 */ abs.d $f0, $f0 +/* 087C2C 800EE77C 4620103C */ c.lt.d $f2, $f0 +/* 087C30 800EE780 00000000 */ nop +/* 087C34 800EE784 45000018 */ bc1f .L800EE7E8 +/* 087C38 800EE788 00000000 */ nop +/* 087C3C 800EE78C 46043001 */ sub.s $f0, $f6, $f4 +/* 087C40 800EE790 3C014120 */ lui $at, 0x4120 +/* 087C44 800EE794 44811000 */ mtc1 $at, $f2 +/* 087C48 800EE798 00000000 */ nop +/* 087C4C 800EE79C 46020003 */ div.s $f0, $f0, $f2 +/* 087C50 800EE7A0 46002000 */ add.s $f0, $f4, $f0 +/* 087C54 800EE7A4 0803B9FA */ j .L800EE7E8 +/* 087C58 800EE7A8 E620003C */ swc1 $f0, 0x3c($s1) + +.L800EE7AC: +/* 087C5C 800EE7AC 866200B0 */ lh $v0, 0xb0($s3) +/* 087C60 800EE7B0 C660002C */ lwc1 $f0, 0x2c($s3) +/* 087C64 800EE7B4 44821000 */ mtc1 $v0, $f2 +/* 087C68 800EE7B8 00000000 */ nop +/* 087C6C 800EE7BC 468010A0 */ cvt.s.w $f2, $f2 +/* 087C70 800EE7C0 46020000 */ add.s $f0, $f0, $f2 +/* 087C74 800EE7C4 C622003C */ lwc1 $f2, 0x3c($s1) +/* 087C78 800EE7C8 46020001 */ sub.s $f0, $f0, $f2 +/* 087C7C 800EE7CC 3C013E00 */ lui $at, 0x3e00 +/* 087C80 800EE7D0 44812000 */ mtc1 $at, $f4 +/* 087C84 800EE7D4 00000000 */ nop +/* 087C88 800EE7D8 46040002 */ mul.s $f0, $f0, $f4 +/* 087C8C 800EE7DC 00000000 */ nop +/* 087C90 800EE7E0 46001080 */ add.s $f2, $f2, $f0 +/* 087C94 800EE7E4 E622003C */ swc1 $f2, 0x3c($s1) +.L800EE7E8: +/* 087C98 800EE7E8 3C018010 */ lui $at, 0x8010 +/* 087C9C 800EE7EC C4208030 */ lwc1 $f0, -0x7fd0($at) +/* 087CA0 800EE7F0 C6220038 */ lwc1 $f2, 0x38($s1) +/* 087CA4 800EE7F4 C624003C */ lwc1 $f4, 0x3c($s1) +/* 087CA8 800EE7F8 C6260040 */ lwc1 $f6, 0x40($s1) +/* 087CAC 800EE7FC E6200018 */ swc1 $f0, 0x18($s1) +/* 087CB0 800EE800 3C018010 */ lui $at, 0x8010 +/* 087CB4 800EE804 C4208034 */ lwc1 $f0, -0x7fcc($at) +/* 087CB8 800EE808 C6280018 */ lwc1 $f8, 0x18($s1) +/* 087CBC 800EE80C 0000202D */ daddu $a0, $zero, $zero +/* 087CC0 800EE810 E620000C */ swc1 $f0, 0xc($s1) +/* 087CC4 800EE814 E7A20020 */ swc1 $f2, 0x20($sp) +/* 087CC8 800EE818 E7A40024 */ swc1 $f4, 0x24($sp) +/* 087CCC 800EE81C E7A60028 */ swc1 $f6, 0x28($sp) +/* 087CD0 800EE820 E7A80010 */ swc1 $f8, 0x10($sp) +/* 087CD4 800EE824 C620000C */ lwc1 $f0, 0xc($s1) +/* 087CD8 800EE828 27A50020 */ addiu $a1, $sp, 0x20 +/* 087CDC 800EE82C E7A00014 */ swc1 $f0, 0x14($sp) +/* 087CE0 800EE830 862200A8 */ lh $v0, 0xa8($s1) +/* 087CE4 800EE834 27A60024 */ addiu $a2, $sp, 0x24 +/* 087CE8 800EE838 44820000 */ mtc1 $v0, $f0 +/* 087CEC 800EE83C 00000000 */ nop +/* 087CF0 800EE840 46800020 */ cvt.s.w $f0, $f0 +/* 087CF4 800EE844 E7A00018 */ swc1 $f0, 0x18($sp) +/* 087CF8 800EE848 862200A6 */ lh $v0, 0xa6($s1) +/* 087CFC 800EE84C 27A70028 */ addiu $a3, $sp, 0x28 +/* 087D00 800EE850 44820000 */ mtc1 $v0, $f0 +/* 087D04 800EE854 00000000 */ nop +/* 087D08 800EE858 46800020 */ cvt.s.w $f0, $f0 +/* 087D0C 800EE85C 0C0376B9 */ jal func_800DDAE4 +/* 087D10 800EE860 E7A0001C */ swc1 $f0, 0x1c($sp) +/* 087D14 800EE864 10400010 */ beqz $v0, .L800EE8A8 +/* 087D18 800EE868 00000000 */ nop +/* 087D1C 800EE86C C7A00020 */ lwc1 $f0, 0x20($sp) +/* 087D20 800EE870 C6260038 */ lwc1 $f6, 0x38($s1) +/* 087D24 800EE874 C7A20028 */ lwc1 $f2, 0x28($sp) +/* 087D28 800EE878 46060001 */ sub.s $f0, $f0, $f6 +/* 087D2C 800EE87C C6240040 */ lwc1 $f4, 0x40($s1) +/* 087D30 800EE880 3C0140A0 */ lui $at, 0x40a0 +/* 087D34 800EE884 44814000 */ mtc1 $at, $f8 +/* 087D38 800EE888 46041081 */ sub.s $f2, $f2, $f4 +/* 087D3C 800EE88C 46080003 */ div.s $f0, $f0, $f8 +/* 087D40 800EE890 46003180 */ add.s $f6, $f6, $f0 +/* 087D44 800EE894 46081083 */ div.s $f2, $f2, $f8 +/* 087D48 800EE898 46022100 */ add.s $f4, $f4, $f2 +/* 087D4C 800EE89C E6260038 */ swc1 $f6, 0x38($s1) +/* 087D50 800EE8A0 0803BA5A */ j .L800EE968 +/* 087D54 800EE8A4 E6240040 */ swc1 $f4, 0x40($s1) + +.L800EE8A8: +/* 087D58 800EE8A8 8E250018 */ lw $a1, 0x18($s1) +/* 087D5C 800EE8AC 8E26000C */ lw $a2, 0xc($s1) +/* 087D60 800EE8B0 0C00EA95 */ jal npc_move_heading +/* 087D64 800EE8B4 0220202D */ daddu $a0, $s1, $zero +/* 087D68 800EE8B8 0803BA5A */ j .L800EE968 +/* 087D6C 800EE8BC 00000000 */ nop + +.L800EE8C0: +/* 087D70 800EE8C0 0C03BD17 */ jal clear_partner_move_history +/* 087D74 800EE8C4 0220202D */ daddu $a0, $s1, $zero +/* 087D78 800EE8C8 3C038011 */ lui $v1, 0x8011 +/* 087D7C 800EE8CC 8C63CFD8 */ lw $v1, -0x3028($v1) +/* 087D80 800EE8D0 3C014387 */ lui $at, 0x4387 +/* 087D84 800EE8D4 44810000 */ mtc1 $at, $f0 +/* 087D88 800EE8D8 AE200018 */ sw $zero, 0x18($s1) +/* 087D8C 800EE8DC AE200014 */ sw $zero, 0x14($s1) +/* 087D90 800EE8E0 000310C0 */ sll $v0, $v1, 3 +/* 087D94 800EE8E4 00431021 */ addu $v0, $v0, $v1 +/* 087D98 800EE8E8 00021080 */ sll $v0, $v0, 2 +/* 087D9C 800EE8EC 3C018010 */ lui $at, 0x8010 +/* 087DA0 800EE8F0 00220821 */ addu $at, $at, $v0 +/* 087DA4 800EE8F4 8C22835C */ lw $v0, -0x7ca4($at) +/* 087DA8 800EE8F8 AE220028 */ sw $v0, 0x28($s1) +/* 087DAC 800EE8FC C64C006C */ lwc1 $f12, 0x6c($s2) +/* 087DB0 800EE900 46006300 */ add.s $f12, $f12, $f0 +/* 087DB4 800EE904 C66000A8 */ lwc1 $f0, 0xa8($s3) +/* 087DB8 800EE908 3C018011 */ lui $at, 0x8011 +/* 087DBC 800EE90C A420CFC8 */ sh $zero, -0x3038($at) +/* 087DC0 800EE910 3C018011 */ lui $at, 0x8011 +/* 087DC4 800EE914 A420CFCA */ sh $zero, -0x3036($at) +/* 087DC8 800EE918 3C018011 */ lui $at, 0x8011 +/* 087DCC 800EE91C A420CFCE */ sh $zero, -0x3032($at) +/* 087DD0 800EE920 0C00A6C9 */ jal clamp_angle +/* 087DD4 800EE924 46006301 */ sub.s $f12, $f12, $f0 +/* 087DD8 800EE928 0803BA5A */ j .L800EE968 +/* 087DDC 800EE92C E620000C */ swc1 $f0, 0xc($s1) + +/* 087DE0 800EE930 0220202D */ daddu $a0, $s1, $zero +/* 087DE4 800EE934 0C03BE0B */ jal func_800EF82C +/* 087DE8 800EE938 24050001 */ addiu $a1, $zero, 1 +/* 087DEC 800EE93C 0803BA5A */ j .L800EE968 +/* 087DF0 800EE940 00000000 */ nop + +/* 087DF4 800EE944 3C028011 */ lui $v0, 0x8011 +/* 087DF8 800EE948 8C42CFD8 */ lw $v0, -0x3028($v0) +/* 087DFC 800EE94C 000218C0 */ sll $v1, $v0, 3 +/* 087E00 800EE950 00621821 */ addu $v1, $v1, $v0 +/* 087E04 800EE954 00031880 */ sll $v1, $v1, 2 +/* 087E08 800EE958 3C028010 */ lui $v0, 0x8010 +/* 087E0C 800EE95C 00431021 */ addu $v0, $v0, $v1 +/* 087E10 800EE960 8C42835C */ lw $v0, -0x7ca4($v0) +/* 087E14 800EE964 AE220028 */ sw $v0, 0x28($s1) +.L800EE968: +/* 087E18 800EE968 8FBF0044 */ lw $ra, 0x44($sp) +/* 087E1C 800EE96C 8FB40040 */ lw $s4, 0x40($sp) +/* 087E20 800EE970 8FB3003C */ lw $s3, 0x3c($sp) +/* 087E24 800EE974 8FB20038 */ lw $s2, 0x38($sp) +/* 087E28 800EE978 8FB10034 */ lw $s1, 0x34($sp) +/* 087E2C 800EE97C 8FB00030 */ lw $s0, 0x30($sp) +/* 087E30 800EE980 D7B80058 */ ldc1 $f24, 0x58($sp) +/* 087E34 800EE984 D7B60050 */ ldc1 $f22, 0x50($sp) +/* 087E38 800EE988 D7B40048 */ ldc1 $f20, 0x48($sp) +/* 087E3C 800EE98C 03E00008 */ jr $ra +/* 087E40 800EE990 27BD0060 */ addiu $sp, $sp, 0x60 + +/* 087E44 800EE994 8C830000 */ lw $v1, ($a0) +/* 087E48 800EE998 3C020001 */ lui $v0, 1 +/* 087E4C 800EE99C AC820080 */ sw $v0, 0x80($a0) +/* 087E50 800EE9A0 0000102D */ daddu $v0, $zero, $zero +/* 087E54 800EE9A4 3C018011 */ lui $at, 0x8011 +/* 087E58 800EE9A8 A420CFC8 */ sh $zero, -0x3038($at) +/* 087E5C 800EE9AC 34630100 */ ori $v1, $v1, 0x100 +/* 087E60 800EE9B0 03E00008 */ jr $ra +/* 087E64 800EE9B4 AC830000 */ sw $v1, ($a0) + +/* 087E68 800EE9B8 27BDFFB0 */ addiu $sp, $sp, -0x50 +/* 087E6C 800EE9BC AFB00010 */ sw $s0, 0x10($sp) +/* 087E70 800EE9C0 0080802D */ daddu $s0, $a0, $zero +/* 087E74 800EE9C4 3C048011 */ lui $a0, 0x8011 +/* 087E78 800EE9C8 2484EFC8 */ addiu $a0, $a0, -0x1038 +/* 087E7C 800EE9CC AFB10014 */ sw $s1, 0x14($sp) +/* 087E80 800EE9D0 3C118011 */ lui $s1, 0x8011 +/* 087E84 800EE9D4 2631CFC8 */ addiu $s1, $s1, -0x3038 +/* 087E88 800EE9D8 AFBF001C */ sw $ra, 0x1c($sp) +/* 087E8C 800EE9DC AFB20018 */ sw $s2, 0x18($sp) +/* 087E90 800EE9E0 F7BE0048 */ sdc1 $f30, 0x48($sp) +/* 087E94 800EE9E4 F7BC0040 */ sdc1 $f28, 0x40($sp) +/* 087E98 800EE9E8 F7BA0038 */ sdc1 $f26, 0x38($sp) +/* 087E9C 800EE9EC F7B80030 */ sdc1 $f24, 0x30($sp) +/* 087EA0 800EE9F0 F7B60028 */ sdc1 $f22, 0x28($sp) +/* 087EA4 800EE9F4 F7B40020 */ sdc1 $f20, 0x20($sp) +/* 087EA8 800EE9F8 86230000 */ lh $v1, ($s1) +/* 087EAC 800EE9FC 24120001 */ addiu $s2, $zero, 1 +/* 087EB0 800EEA00 10720062 */ beq $v1, $s2, .L800EEB8C +/* 087EB4 800EEA04 28620002 */ slti $v0, $v1, 2 +/* 087EB8 800EEA08 10400005 */ beqz $v0, .L800EEA20 +/* 087EBC 800EEA0C 24020002 */ addiu $v0, $zero, 2 +/* 087EC0 800EEA10 10600007 */ beqz $v1, .L800EEA30 +/* 087EC4 800EEA14 0000102D */ daddu $v0, $zero, $zero +/* 087EC8 800EEA18 0803BB25 */ j .L800EEC94 +/* 087ECC 800EEA1C 00000000 */ nop + +.L800EEA20: +/* 087ED0 800EEA20 1062008C */ beq $v1, $v0, .L800EEC54 +/* 087ED4 800EEA24 0200202D */ daddu $a0, $s0, $zero +/* 087ED8 800EEA28 0803BB25 */ j .L800EEC94 +/* 087EDC 800EEA2C 0000102D */ daddu $v0, $zero, $zero + +.L800EEA30: +/* 087EE0 800EEA30 2403FDFF */ addiu $v1, $zero, -0x201 +/* 087EE4 800EEA34 8E020000 */ lw $v0, ($s0) +/* 087EE8 800EEA38 C61A0038 */ lwc1 $f26, 0x38($s0) +/* 087EEC 800EEA3C C614003C */ lwc1 $f20, 0x3c($s0) +/* 087EF0 800EEA40 C6160040 */ lwc1 $f22, 0x40($s0) +/* 087EF4 800EEA44 3C013FCC */ lui $at, 0x3fcc +/* 087EF8 800EEA48 3421CCCD */ ori $at, $at, 0xcccd +/* 087EFC 800EEA4C 44811000 */ mtc1 $at, $f2 +/* 087F00 800EEA50 00431024 */ and $v0, $v0, $v1 +/* 087F04 800EEA54 2403FFF7 */ addiu $v1, $zero, -9 +/* 087F08 800EEA58 00431024 */ and $v0, $v0, $v1 +/* 087F0C 800EEA5C AE020000 */ sw $v0, ($s0) +/* 087F10 800EEA60 C49C0028 */ lwc1 $f28, 0x28($a0) +/* 087F14 800EEA64 E61C0060 */ swc1 $f28, 0x60($s0) +/* 087F18 800EEA68 948200B0 */ lhu $v0, 0xb0($a0) +/* 087F1C 800EEA6C C49E002C */ lwc1 $f30, 0x2c($a0) +/* 087F20 800EEA70 00021400 */ sll $v0, $v0, 0x10 +/* 087F24 800EEA74 00021C03 */ sra $v1, $v0, 0x10 +/* 087F28 800EEA78 000217C2 */ srl $v0, $v0, 0x1f +/* 087F2C 800EEA7C 00621821 */ addu $v1, $v1, $v0 +/* 087F30 800EEA80 00031843 */ sra $v1, $v1, 1 +/* 087F34 800EEA84 44830000 */ mtc1 $v1, $f0 +/* 087F38 800EEA88 00000000 */ nop +/* 087F3C 800EEA8C 46800020 */ cvt.s.w $f0, $f0 +/* 087F40 800EEA90 4600F780 */ add.s $f30, $f30, $f0 +/* 087F44 800EEA94 4406E000 */ mfc1 $a2, $f28 +/* 087F48 800EEA98 4600D306 */ mov.s $f12, $f26 +/* 087F4C 800EEA9C E61E0064 */ swc1 $f30, 0x64($s0) +/* 087F50 800EEAA0 C4980030 */ lwc1 $f24, 0x30($a0) +/* 087F54 800EEAA4 3C014080 */ lui $at, 0x4080 +/* 087F58 800EEAA8 44810000 */ mtc1 $at, $f0 +/* 087F5C 800EEAAC 4407C000 */ mfc1 $a3, $f24 +/* 087F60 800EEAB0 4600B386 */ mov.s $f14, $f22 +/* 087F64 800EEAB4 3C018010 */ lui $at, 0x8010 +/* 087F68 800EEAB8 E43A833C */ swc1 $f26, -0x7cc4($at) +/* 087F6C 800EEABC 3C018010 */ lui $at, 0x8010 +/* 087F70 800EEAC0 E4348340 */ swc1 $f20, -0x7cc0($at) +/* 087F74 800EEAC4 3C018010 */ lui $at, 0x8010 +/* 087F78 800EEAC8 E4368344 */ swc1 $f22, -0x7cbc($at) +/* 087F7C 800EEACC E6000018 */ swc1 $f0, 0x18($s0) +/* 087F80 800EEAD0 E6020014 */ swc1 $f2, 0x14($s0) +/* 087F84 800EEAD4 0C00A7B5 */ jal dist2D +/* 087F88 800EEAD8 E6180068 */ swc1 $f24, 0x68($s0) +/* 087F8C 800EEADC 4600D306 */ mov.s $f12, $f26 +/* 087F90 800EEAE0 4406E000 */ mfc1 $a2, $f28 +/* 087F94 800EEAE4 4407C000 */ mfc1 $a3, $f24 +/* 087F98 800EEAE8 4600B386 */ mov.s $f14, $f22 +/* 087F9C 800EEAEC 0C00A720 */ jal atan2 +/* 087FA0 800EEAF0 E6000010 */ swc1 $f0, 0x10($s0) +/* 087FA4 800EEAF4 2402000F */ addiu $v0, $zero, 0xf +/* 087FA8 800EEAF8 A602008E */ sh $v0, 0x8e($s0) +/* 087FAC 800EEAFC 8602008E */ lh $v0, 0x8e($s0) +/* 087FB0 800EEB00 C6020014 */ lwc1 $f2, 0x14($s0) +/* 087FB4 800EEB04 44823000 */ mtc1 $v0, $f6 +/* 087FB8 800EEB08 00000000 */ nop +/* 087FBC 800EEB0C 468031A0 */ cvt.s.w $f6, $f6 +/* 087FC0 800EEB10 46061082 */ mul.s $f2, $f2, $f6 +/* 087FC4 800EEB14 00000000 */ nop +/* 087FC8 800EEB18 4614F501 */ sub.s $f20, $f30, $f20 +/* 087FCC 800EEB1C 3C013F00 */ lui $at, 0x3f00 +/* 087FD0 800EEB20 44812000 */ mtc1 $at, $f4 +/* 087FD4 800EEB24 46061082 */ mul.s $f2, $f2, $f6 +/* 087FD8 800EEB28 00000000 */ nop +/* 087FDC 800EEB2C 3C014170 */ lui $at, 0x4170 +/* 087FE0 800EEB30 44814000 */ mtc1 $at, $f8 +/* 087FE4 800EEB34 3C038011 */ lui $v1, 0x8011 +/* 087FE8 800EEB38 8C63CFD8 */ lw $v1, -0x3028($v1) +/* 087FEC 800EEB3C E600000C */ swc1 $f0, 0xc($s0) +/* 087FF0 800EEB40 46041082 */ mul.s $f2, $f2, $f4 +/* 087FF4 800EEB44 00000000 */ nop +/* 087FF8 800EEB48 000310C0 */ sll $v0, $v1, 3 +/* 087FFC 800EEB4C 00431021 */ addu $v0, $v0, $v1 +/* 088000 800EEB50 00021080 */ sll $v0, $v0, 2 +/* 088004 800EEB54 C6040010 */ lwc1 $f4, 0x10($s0) +/* 088008 800EEB58 4602A500 */ add.s $f20, $f20, $f2 +/* 08800C 800EEB5C 46082103 */ div.s $f4, $f4, $f8 +/* 088010 800EEB60 E6040018 */ swc1 $f4, 0x18($s0) +/* 088014 800EEB64 4606A503 */ div.s $f20, $f20, $f6 +/* 088018 800EEB68 E614001C */ swc1 $f20, 0x1c($s0) +/* 08801C 800EEB6C 3C018010 */ lui $at, 0x8010 +/* 088020 800EEB70 00220821 */ addu $at, $at, $v0 +/* 088024 800EEB74 8C228350 */ lw $v0, -0x7cb0($at) +/* 088028 800EEB78 0200202D */ daddu $a0, $s0, $zero +/* 08802C 800EEB7C 0C00EB49 */ jal enable_npc_blur +/* 088030 800EEB80 AC820028 */ sw $v0, 0x28($a0) +/* 088034 800EEB84 0803BB24 */ j .L800EEC90 +/* 088038 800EEB88 A6320000 */ sh $s2, ($s1) + +.L800EEB8C: +/* 08803C 800EEB8C C600001C */ lwc1 $f0, 0x1c($s0) +/* 088040 800EEB90 C6020014 */ lwc1 $f2, 0x14($s0) +/* 088044 800EEB94 46020001 */ sub.s $f0, $f0, $f2 +/* 088048 800EEB98 C602003C */ lwc1 $f2, 0x3c($s0) +/* 08804C 800EEB9C E600001C */ swc1 $f0, 0x1c($s0) +/* 088050 800EEBA0 46000106 */ mov.s $f4, $f0 +/* 088054 800EEBA4 46001080 */ add.s $f2, $f2, $f0 +/* 088058 800EEBA8 44800000 */ mtc1 $zero, $f0 +/* 08805C 800EEBAC 00000000 */ nop +/* 088060 800EEBB0 4600203E */ c.le.s $f4, $f0 +/* 088064 800EEBB4 00000000 */ nop +/* 088068 800EEBB8 4500000A */ bc1f .L800EEBE4 +/* 08806C 800EEBBC E602003C */ swc1 $f2, 0x3c($s0) +/* 088070 800EEBC0 3C028011 */ lui $v0, 0x8011 +/* 088074 800EEBC4 8C42CFD8 */ lw $v0, -0x3028($v0) +/* 088078 800EEBC8 000218C0 */ sll $v1, $v0, 3 +/* 08807C 800EEBCC 00621821 */ addu $v1, $v1, $v0 +/* 088080 800EEBD0 00031880 */ sll $v1, $v1, 2 +/* 088084 800EEBD4 3C028010 */ lui $v0, 0x8010 +/* 088088 800EEBD8 00431021 */ addu $v0, $v0, $v1 +/* 08808C 800EEBDC 8C428354 */ lw $v0, -0x7cac($v0) +/* 088090 800EEBE0 AE020028 */ sw $v0, 0x28($s0) +.L800EEBE4: +/* 088094 800EEBE4 8E06000C */ lw $a2, 0xc($s0) +/* 088098 800EEBE8 8E050018 */ lw $a1, 0x18($s0) +/* 08809C 800EEBEC 0C00EA95 */ jal npc_move_heading +/* 0880A0 800EEBF0 0200202D */ daddu $a0, $s0, $zero +/* 0880A4 800EEBF4 8602008E */ lh $v0, 0x8e($s0) +/* 0880A8 800EEBF8 3C014120 */ lui $at, 0x4120 +/* 0880AC 800EEBFC 44811000 */ mtc1 $at, $f2 +/* 0880B0 800EEC00 44820000 */ mtc1 $v0, $f0 +/* 0880B4 800EEC04 00000000 */ nop +/* 0880B8 800EEC08 46800020 */ cvt.s.w $f0, $f0 +/* 0880BC 800EEC0C 4600103C */ c.lt.s $f2, $f0 +/* 0880C0 800EEC10 00000000 */ nop +/* 0880C4 800EEC14 45030001 */ bc1tl .L800EEC1C +/* 0880C8 800EEC18 46001006 */ mov.s $f0, $f2 +.L800EEC1C: +/* 0880CC 800EEC1C 9602008E */ lhu $v0, 0x8e($s0) +/* 0880D0 800EEC20 46020003 */ div.s $f0, $f0, $f2 +/* 0880D4 800EEC24 E6000054 */ swc1 $f0, 0x54($s0) +/* 0880D8 800EEC28 46000086 */ mov.s $f2, $f0 +/* 0880DC 800EEC2C E6000058 */ swc1 $f0, 0x58($s0) +/* 0880E0 800EEC30 E602005C */ swc1 $f2, 0x5c($s0) +/* 0880E4 800EEC34 2442FFFF */ addiu $v0, $v0, -1 +/* 0880E8 800EEC38 A602008E */ sh $v0, 0x8e($s0) +/* 0880EC 800EEC3C 00021400 */ sll $v0, $v0, 0x10 +/* 0880F0 800EEC40 04410014 */ bgez $v0, .L800EEC94 +/* 0880F4 800EEC44 0000102D */ daddu $v0, $zero, $zero +/* 0880F8 800EEC48 24020002 */ addiu $v0, $zero, 2 +/* 0880FC 800EEC4C 0803BB24 */ j .L800EEC90 +/* 088100 800EEC50 A6220000 */ sh $v0, ($s1) + +.L800EEC54: +/* 088104 800EEC54 3C038011 */ lui $v1, 0x8011 +/* 088108 800EEC58 8C63CFD8 */ lw $v1, -0x3028($v1) +/* 08810C 800EEC5C C6000064 */ lwc1 $f0, 0x64($s0) +/* 088110 800EEC60 000310C0 */ sll $v0, $v1, 3 +/* 088114 800EEC64 00431021 */ addu $v0, $v0, $v1 +/* 088118 800EEC68 00021080 */ sll $v0, $v0, 2 +/* 08811C 800EEC6C 3C018010 */ lui $at, 0x8010 +/* 088120 800EEC70 00220821 */ addu $at, $at, $v0 +/* 088124 800EEC74 8C228358 */ lw $v0, -0x7ca8($at) +/* 088128 800EEC78 AC80001C */ sw $zero, 0x1c($a0) +/* 08812C 800EEC7C E480003C */ swc1 $f0, 0x3c($a0) +/* 088130 800EEC80 0C00EB6B */ jal disable_npc_blur +/* 088134 800EEC84 AC820028 */ sw $v0, 0x28($a0) +/* 088138 800EEC88 0803BB25 */ j .L800EEC94 +/* 08813C 800EEC8C 24020001 */ addiu $v0, $zero, 1 + +.L800EEC90: +/* 088140 800EEC90 0000102D */ daddu $v0, $zero, $zero +.L800EEC94: +/* 088144 800EEC94 8FBF001C */ lw $ra, 0x1c($sp) +/* 088148 800EEC98 8FB20018 */ lw $s2, 0x18($sp) +/* 08814C 800EEC9C 8FB10014 */ lw $s1, 0x14($sp) +/* 088150 800EECA0 8FB00010 */ lw $s0, 0x10($sp) +/* 088154 800EECA4 D7BE0048 */ ldc1 $f30, 0x48($sp) +/* 088158 800EECA8 D7BC0040 */ ldc1 $f28, 0x40($sp) +/* 08815C 800EECAC D7BA0038 */ ldc1 $f26, 0x38($sp) +/* 088160 800EECB0 D7B80030 */ ldc1 $f24, 0x30($sp) +/* 088164 800EECB4 D7B60028 */ ldc1 $f22, 0x28($sp) +/* 088168 800EECB8 D7B40020 */ ldc1 $f20, 0x20($sp) +/* 08816C 800EECBC 03E00008 */ jr $ra +/* 088170 800EECC0 27BD0050 */ addiu $sp, $sp, 0x50 + +/* 088174 800EECC4 8C830000 */ lw $v1, ($a0) +/* 088178 800EECC8 3C020001 */ lui $v0, 1 +/* 08817C 800EECCC AC820080 */ sw $v0, 0x80($a0) +/* 088180 800EECD0 0000102D */ daddu $v0, $zero, $zero +/* 088184 800EECD4 3C018011 */ lui $at, 0x8011 +/* 088188 800EECD8 A420CFC8 */ sh $zero, -0x3038($at) +/* 08818C 800EECDC 34630100 */ ori $v1, $v1, 0x100 +/* 088190 800EECE0 03E00008 */ jr $ra +/* 088194 800EECE4 AC830000 */ sw $v1, ($a0) + +/* 088198 800EECE8 27BDFF90 */ addiu $sp, $sp, -0x70 +/* 08819C 800EECEC AFB00030 */ sw $s0, 0x30($sp) +/* 0881A0 800EECF0 0080802D */ daddu $s0, $a0, $zero +/* 0881A4 800EECF4 AFB10034 */ sw $s1, 0x34($sp) +/* 0881A8 800EECF8 3C118011 */ lui $s1, 0x8011 +/* 0881AC 800EECFC 2631EFC8 */ addiu $s1, $s1, -0x1038 +/* 0881B0 800EED00 3C038007 */ lui $v1, 0x8007 +/* 0881B4 800EED04 8C637410 */ lw $v1, 0x7410($v1) +/* 0881B8 800EED08 3C04800B */ lui $a0, 0x800b +/* 0881BC 800EED0C 24841D80 */ addiu $a0, $a0, 0x1d80 +/* 0881C0 800EED10 AFB3003C */ sw $s3, 0x3c($sp) +/* 0881C4 800EED14 3C138011 */ lui $s3, 0x8011 +/* 0881C8 800EED18 2673CFC8 */ addiu $s3, $s3, -0x3038 +/* 0881CC 800EED1C AFBF0048 */ sw $ra, 0x48($sp) +/* 0881D0 800EED20 AFB50044 */ sw $s5, 0x44($sp) +/* 0881D4 800EED24 AFB40040 */ sw $s4, 0x40($sp) +/* 0881D8 800EED28 AFB20038 */ sw $s2, 0x38($sp) +/* 0881DC 800EED2C F7BA0068 */ sdc1 $f26, 0x68($sp) +/* 0881E0 800EED30 F7B80060 */ sdc1 $f24, 0x60($sp) +/* 0881E4 800EED34 F7B60058 */ sdc1 $f22, 0x58($sp) +/* 0881E8 800EED38 F7B40050 */ sdc1 $f20, 0x50($sp) +/* 0881EC 800EED3C 00031080 */ sll $v0, $v1, 2 +/* 0881F0 800EED40 00431021 */ addu $v0, $v0, $v1 +/* 0881F4 800EED44 00021080 */ sll $v0, $v0, 2 +/* 0881F8 800EED48 00431023 */ subu $v0, $v0, $v1 +/* 0881FC 800EED4C 000218C0 */ sll $v1, $v0, 3 +/* 088200 800EED50 00431021 */ addu $v0, $v0, $v1 +/* 088204 800EED54 000210C0 */ sll $v0, $v0, 3 +/* 088208 800EED58 00449021 */ addu $s2, $v0, $a0 +/* 08820C 800EED5C 86630000 */ lh $v1, ($s3) +/* 088210 800EED60 24020001 */ addiu $v0, $zero, 1 +/* 088214 800EED64 106200E6 */ beq $v1, $v0, .L800EF100 +/* 088218 800EED68 28620002 */ slti $v0, $v1, 2 +/* 08821C 800EED6C 10400005 */ beqz $v0, .L800EED84 +/* 088220 800EED70 24020002 */ addiu $v0, $zero, 2 +/* 088224 800EED74 10600007 */ beqz $v1, .L800EED94 +/* 088228 800EED78 0000102D */ daddu $v0, $zero, $zero +/* 08822C 800EED7C 0803BCB3 */ j .L800EF2CC +/* 088230 800EED80 00000000 */ nop + +.L800EED84: +/* 088234 800EED84 10620123 */ beq $v1, $v0, .L800EF214 +/* 088238 800EED88 0000102D */ daddu $v0, $zero, $zero +/* 08823C 800EED8C 0803BCB3 */ j .L800EF2CC +/* 088240 800EED90 00000000 */ nop + +.L800EED94: +/* 088244 800EED94 0C00A6C9 */ jal clamp_angle +/* 088248 800EED98 C62C00A8 */ lwc1 $f12, 0xa8($s1) +/* 08824C 800EED9C 3C014334 */ lui $at, 0x4334 +/* 088250 800EEDA0 44811000 */ mtc1 $at, $f2 +/* 088254 800EEDA4 00000000 */ nop +/* 088258 800EEDA8 4602003C */ c.lt.s $f0, $f2 +/* 08825C 800EEDAC 00000000 */ nop +/* 088260 800EEDB0 45000006 */ bc1f .L800EEDCC +/* 088264 800EEDB4 00000000 */ nop +/* 088268 800EEDB8 C640006C */ lwc1 $f0, 0x6c($s2) +/* 08826C 800EEDBC 3C0142B4 */ lui $at, 0x42b4 +/* 088270 800EEDC0 44816000 */ mtc1 $at, $f12 +/* 088274 800EEDC4 0803BB78 */ j .L800EEDE0 +/* 088278 800EEDC8 460C0300 */ add.s $f12, $f0, $f12 + +.L800EEDCC: +/* 08827C 800EEDCC C640006C */ lwc1 $f0, 0x6c($s2) +/* 088280 800EEDD0 3C0142B4 */ lui $at, 0x42b4 +/* 088284 800EEDD4 44816000 */ mtc1 $at, $f12 +/* 088288 800EEDD8 00000000 */ nop +/* 08828C 800EEDDC 460C0301 */ sub.s $f12, $f0, $f12 +.L800EEDE0: +/* 088290 800EEDE0 0C00A6C9 */ jal clamp_angle +/* 088294 800EEDE4 00000000 */ nop +/* 088298 800EEDE8 E600000C */ swc1 $f0, 0xc($s0) +/* 08829C 800EEDEC C6200028 */ lwc1 $f0, 0x28($s1) +/* 0882A0 800EEDF0 3C128011 */ lui $s2, 0x8011 +/* 0882A4 800EEDF4 2652CFEC */ addiu $s2, $s2, -0x3014 +/* 0882A8 800EEDF8 E6000060 */ swc1 $f0, 0x60($s0) +/* 0882AC 800EEDFC C620002C */ lwc1 $f0, 0x2c($s1) +/* 0882B0 800EEE00 8E420000 */ lw $v0, ($s2) +/* 0882B4 800EEE04 E6000064 */ swc1 $f0, 0x64($s0) +/* 0882B8 800EEE08 8C42000C */ lw $v0, 0xc($v0) +/* 0882BC 800EEE0C 10400003 */ beqz $v0, .L800EEE1C +/* 0882C0 800EEE10 26040060 */ addiu $a0, $s0, 0x60 +/* 0882C4 800EEE14 C620002C */ lwc1 $f0, 0x2c($s1) +/* 0882C8 800EEE18 E6000064 */ swc1 $f0, 0x64($s0) +.L800EEE1C: +/* 0882CC 800EEE1C C6200030 */ lwc1 $f0, 0x30($s1) +/* 0882D0 800EEE20 E6000068 */ swc1 $f0, 0x68($s0) +/* 0882D4 800EEE24 862200B2 */ lh $v0, 0xb2($s1) +/* 0882D8 800EEE28 8E07000C */ lw $a3, 0xc($s0) +/* 0882DC 800EEE2C 44825000 */ mtc1 $v0, $f10 +/* 0882E0 800EEE30 00000000 */ nop +/* 0882E4 800EEE34 468052A0 */ cvt.s.w $f10, $f10 +/* 0882E8 800EEE38 44065000 */ mfc1 $a2, $f10 +/* 0882EC 800EEE3C 0C00A7E7 */ jal add_vec2D_polar +/* 0882F0 800EEE40 26050068 */ addiu $a1, $s0, 0x68 +/* 0882F4 800EEE44 C6160060 */ lwc1 $f22, 0x60($s0) +/* 0882F8 800EEE48 8E420000 */ lw $v0, ($s2) +/* 0882FC 800EEE4C C61A0064 */ lwc1 $f26, 0x64($s0) +/* 088300 800EEE50 8C42000C */ lw $v0, 0xc($v0) +/* 088304 800EEE54 C6140068 */ lwc1 $f20, 0x68($s0) +/* 088308 800EEE58 14400052 */ bnez $v0, .L800EEFA4 +/* 08830C 800EEE5C 27B20020 */ addiu $s2, $sp, 0x20 +/* 088310 800EEE60 0240202D */ daddu $a0, $s2, $zero +/* 088314 800EEE64 27B30024 */ addiu $s3, $sp, 0x24 +/* 088318 800EEE68 0260282D */ daddu $a1, $s3, $zero +/* 08831C 800EEE6C 3C158007 */ lui $s5, 0x8007 +/* 088320 800EEE70 26B57410 */ addiu $s5, $s5, 0x7410 +/* 088324 800EEE74 8EA30000 */ lw $v1, ($s5) +/* 088328 800EEE78 3C014000 */ lui $at, 0x4000 +/* 08832C 800EEE7C 4481C000 */ mtc1 $at, $f24 +/* 088330 800EEE80 00031080 */ sll $v0, $v1, 2 +/* 088334 800EEE84 00431021 */ addu $v0, $v0, $v1 +/* 088338 800EEE88 00021080 */ sll $v0, $v0, 2 +/* 08833C 800EEE8C 00431023 */ subu $v0, $v0, $v1 +/* 088340 800EEE90 000218C0 */ sll $v1, $v0, 3 +/* 088344 800EEE94 00431021 */ addu $v0, $v0, $v1 +/* 088348 800EEE98 000210C0 */ sll $v0, $v0, 3 +/* 08834C 800EEE9C 4406C000 */ mfc1 $a2, $f24 +/* 088350 800EEEA0 860300A8 */ lh $v1, 0xa8($s0) +/* 088354 800EEEA4 3C07800B */ lui $a3, 0x800b +/* 088358 800EEEA8 00E23821 */ addu $a3, $a3, $v0 +/* 08835C 800EEEAC 8CE71DEC */ lw $a3, 0x1dec($a3) +/* 088360 800EEEB0 44830000 */ mtc1 $v1, $f0 +/* 088364 800EEEB4 00000000 */ nop +/* 088368 800EEEB8 46800020 */ cvt.s.w $f0, $f0 +/* 08836C 800EEEBC 4600D000 */ add.s $f0, $f26, $f0 +/* 088370 800EEEC0 E7B60020 */ swc1 $f22, 0x20($sp) +/* 088374 800EEEC4 E7B40024 */ swc1 $f20, 0x24($sp) +/* 088378 800EEEC8 0C00A7E7 */ jal add_vec2D_polar +/* 08837C 800EEECC E7A00028 */ swc1 $f0, 0x28($sp) +/* 088380 800EEED0 3C040001 */ lui $a0, 1 +/* 088384 800EEED4 0240282D */ daddu $a1, $s2, $zero +/* 088388 800EEED8 27A2002C */ addiu $v0, $sp, 0x2c +/* 08838C 800EEEDC 3C01447A */ lui $at, 0x447a +/* 088390 800EEEE0 44810000 */ mtc1 $at, $f0 +/* 088394 800EEEE4 27A60028 */ addiu $a2, $sp, 0x28 +/* 088398 800EEEE8 E7A0002C */ swc1 $f0, 0x2c($sp) +/* 08839C 800EEEEC AFA20010 */ sw $v0, 0x10($sp) +/* 0883A0 800EEEF0 C600000C */ lwc1 $f0, 0xc($s0) +/* 0883A4 800EEEF4 0260382D */ daddu $a3, $s3, $zero +/* 0883A8 800EEEF8 E7A00014 */ swc1 $f0, 0x14($sp) +/* 0883AC 800EEEFC 860200A6 */ lh $v0, 0xa6($s0) +/* 0883B0 800EEF00 3C14800B */ lui $s4, 0x800b +/* 0883B4 800EEF04 26941D80 */ addiu $s4, $s4, 0x1d80 +/* 0883B8 800EEF08 44820000 */ mtc1 $v0, $f0 +/* 0883BC 800EEF0C 00000000 */ nop +/* 0883C0 800EEF10 46800020 */ cvt.s.w $f0, $f0 +/* 0883C4 800EEF14 0C0371DE */ jal func_800DC778 +/* 0883C8 800EEF18 E7A00018 */ swc1 $f0, 0x18($sp) +/* 0883CC 800EEF1C 10400011 */ beqz $v0, .L800EEF64 +/* 0883D0 800EEF20 0240202D */ daddu $a0, $s2, $zero +/* 0883D4 800EEF24 3C048011 */ lui $a0, 0x8011 +/* 0883D8 800EEF28 8C84C978 */ lw $a0, -0x3688($a0) +/* 0883DC 800EEF2C 0C016F6A */ jal get_collider_type_by_id +/* 0883E0 800EEF30 00000000 */ nop +/* 0883E4 800EEF34 2442FFFE */ addiu $v0, $v0, -2 +/* 0883E8 800EEF38 2C420002 */ sltiu $v0, $v0, 2 +/* 0883EC 800EEF3C 14400009 */ bnez $v0, .L800EEF64 +/* 0883F0 800EEF40 0240202D */ daddu $a0, $s2, $zero +/* 0883F4 800EEF44 C7A2002C */ lwc1 $f2, 0x2c($sp) +/* 0883F8 800EEF48 3C0142C8 */ lui $at, 0x42c8 +/* 0883FC 800EEF4C 44810000 */ mtc1 $at, $f0 +/* 088400 800EEF50 00000000 */ nop +/* 088404 800EEF54 4602003C */ c.lt.s $f0, $f2 +/* 088408 800EEF58 00000000 */ nop +/* 08840C 800EEF5C 45000011 */ bc1f .L800EEFA4 +/* 088410 800EEF60 00000000 */ nop +.L800EEF64: +/* 088414 800EEF64 C6360028 */ lwc1 $f22, 0x28($s1) +/* 088418 800EEF68 C63A002C */ lwc1 $f26, 0x2c($s1) +/* 08841C 800EEF6C 8EA20000 */ lw $v0, ($s5) +/* 088420 800EEF70 4406C000 */ mfc1 $a2, $f24 +/* 088424 800EEF74 00021880 */ sll $v1, $v0, 2 +/* 088428 800EEF78 00621821 */ addu $v1, $v1, $v0 +/* 08842C 800EEF7C 00031880 */ sll $v1, $v1, 2 +/* 088430 800EEF80 00621823 */ subu $v1, $v1, $v0 +/* 088434 800EEF84 000310C0 */ sll $v0, $v1, 3 +/* 088438 800EEF88 00621821 */ addu $v1, $v1, $v0 +/* 08843C 800EEF8C 000318C0 */ sll $v1, $v1, 3 +/* 088440 800EEF90 00741821 */ addu $v1, $v1, $s4 +/* 088444 800EEF94 8C67006C */ lw $a3, 0x6c($v1) +/* 088448 800EEF98 C6340030 */ lwc1 $f20, 0x30($s1) +/* 08844C 800EEF9C 0C00A7E7 */ jal add_vec2D_polar +/* 088450 800EEFA0 0260282D */ daddu $a1, $s3, $zero +.L800EEFA4: +/* 088454 800EEFA4 C62C0028 */ lwc1 $f12, 0x28($s1) +/* 088458 800EEFA8 4406B000 */ mfc1 $a2, $f22 +/* 08845C 800EEFAC 4407A000 */ mfc1 $a3, $f20 +/* 088460 800EEFB0 3C013F99 */ lui $at, 0x3f99 +/* 088464 800EEFB4 3421999A */ ori $at, $at, 0x999a +/* 088468 800EEFB8 44812000 */ mtc1 $at, $f4 +/* 08846C 800EEFBC E60C0038 */ swc1 $f12, 0x38($s0) +/* 088470 800EEFC0 962200B0 */ lhu $v0, 0xb0($s1) +/* 088474 800EEFC4 C622002C */ lwc1 $f2, 0x2c($s1) +/* 088478 800EEFC8 00021400 */ sll $v0, $v0, 0x10 +/* 08847C 800EEFCC 00021C03 */ sra $v1, $v0, 0x10 +/* 088480 800EEFD0 000217C2 */ srl $v0, $v0, 0x1f +/* 088484 800EEFD4 00621821 */ addu $v1, $v1, $v0 +/* 088488 800EEFD8 00031843 */ sra $v1, $v1, 1 +/* 08848C 800EEFDC 44830000 */ mtc1 $v1, $f0 +/* 088490 800EEFE0 00000000 */ nop +/* 088494 800EEFE4 46800020 */ cvt.s.w $f0, $f0 +/* 088498 800EEFE8 46001080 */ add.s $f2, $f2, $f0 +/* 08849C 800EEFEC 3C014080 */ lui $at, 0x4080 +/* 0884A0 800EEFF0 44810000 */ mtc1 $at, $f0 +/* 0884A4 800EEFF4 E602003C */ swc1 $f2, 0x3c($s0) +/* 0884A8 800EEFF8 C62E0030 */ lwc1 $f14, 0x30($s1) +/* 0884AC 800EEFFC E7AC0020 */ swc1 $f12, 0x20($sp) +/* 0884B0 800EF000 E7A20028 */ swc1 $f2, 0x28($sp) +/* 0884B4 800EF004 E6000018 */ swc1 $f0, 0x18($s0) +/* 0884B8 800EF008 E6040014 */ swc1 $f4, 0x14($s0) +/* 0884BC 800EF00C E60E0040 */ swc1 $f14, 0x40($s0) +/* 0884C0 800EF010 0C00A7B5 */ jal dist2D +/* 0884C4 800EF014 E7AE0024 */ swc1 $f14, 0x24($sp) +/* 0884C8 800EF018 C7AC0020 */ lwc1 $f12, 0x20($sp) +/* 0884CC 800EF01C C7AE0024 */ lwc1 $f14, 0x24($sp) +/* 0884D0 800EF020 4406B000 */ mfc1 $a2, $f22 +/* 0884D4 800EF024 4407A000 */ mfc1 $a3, $f20 +/* 0884D8 800EF028 0C00A720 */ jal atan2 +/* 0884DC 800EF02C E6000010 */ swc1 $f0, 0x10($s0) +/* 0884E0 800EF030 C6020010 */ lwc1 $f2, 0x10($s0) +/* 0884E4 800EF034 C6040018 */ lwc1 $f4, 0x18($s0) +/* 0884E8 800EF038 E600000C */ swc1 $f0, 0xc($s0) +/* 0884EC 800EF03C 46041083 */ div.s $f2, $f2, $f4 +/* 0884F0 800EF040 4600128D */ trunc.w.s $f10, $f2 +/* 0884F4 800EF044 44025000 */ mfc1 $v0, $f10 +/* 0884F8 800EF048 00000000 */ nop +/* 0884FC 800EF04C A602008E */ sh $v0, 0x8e($s0) +/* 088500 800EF050 00021400 */ sll $v0, $v0, 0x10 +/* 088504 800EF054 00021403 */ sra $v0, $v0, 0x10 +/* 088508 800EF058 2842000A */ slti $v0, $v0, 0xa +/* 08850C 800EF05C 10400007 */ beqz $v0, .L800EF07C +/* 088510 800EF060 2402000A */ addiu $v0, $zero, 0xa +/* 088514 800EF064 3C014120 */ lui $at, 0x4120 +/* 088518 800EF068 44810000 */ mtc1 $at, $f0 +/* 08851C 800EF06C C6020010 */ lwc1 $f2, 0x10($s0) +/* 088520 800EF070 A602008E */ sh $v0, 0x8e($s0) +/* 088524 800EF074 46001083 */ div.s $f2, $f2, $f0 +/* 088528 800EF078 E6020018 */ swc1 $f2, 0x18($s0) +.L800EF07C: +/* 08852C 800EF07C 8602008E */ lh $v0, 0x8e($s0) +/* 088530 800EF080 C6000014 */ lwc1 $f0, 0x14($s0) +/* 088534 800EF084 44822000 */ mtc1 $v0, $f4 +/* 088538 800EF088 00000000 */ nop +/* 08853C 800EF08C 46802120 */ cvt.s.w $f4, $f4 +/* 088540 800EF090 46040002 */ mul.s $f0, $f0, $f4 +/* 088544 800EF094 00000000 */ nop +/* 088548 800EF098 46040002 */ mul.s $f0, $f0, $f4 +/* 08854C 800EF09C 00000000 */ nop +/* 088550 800EF0A0 3C013F00 */ lui $at, 0x3f00 +/* 088554 800EF0A4 44811000 */ mtc1 $at, $f2 +/* 088558 800EF0A8 00000000 */ nop +/* 08855C 800EF0AC 46020002 */ mul.s $f0, $f0, $f2 +/* 088560 800EF0B0 00000000 */ nop +/* 088564 800EF0B4 C7A20028 */ lwc1 $f2, 0x28($sp) +/* 088568 800EF0B8 3C038011 */ lui $v1, 0x8011 +/* 08856C 800EF0BC 8C63CFD8 */ lw $v1, -0x3028($v1) +/* 088570 800EF0C0 4602D081 */ sub.s $f2, $f26, $f2 +/* 088574 800EF0C4 000310C0 */ sll $v0, $v1, 3 +/* 088578 800EF0C8 46001000 */ add.s $f0, $f2, $f0 +/* 08857C 800EF0CC 00431021 */ addu $v0, $v0, $v1 +/* 088580 800EF0D0 00021080 */ sll $v0, $v0, 2 +/* 088584 800EF0D4 46040003 */ div.s $f0, $f0, $f4 +/* 088588 800EF0D8 E600001C */ swc1 $f0, 0x1c($s0) +/* 08858C 800EF0DC 3C038010 */ lui $v1, 0x8010 +/* 088590 800EF0E0 00621821 */ addu $v1, $v1, $v0 +/* 088594 800EF0E4 8C638350 */ lw $v1, -0x7cb0($v1) +/* 088598 800EF0E8 24020001 */ addiu $v0, $zero, 1 +/* 08859C 800EF0EC 3C018011 */ lui $at, 0x8011 +/* 0885A0 800EF0F0 A422CFC8 */ sh $v0, -0x3038($at) +/* 0885A4 800EF0F4 E7A20028 */ swc1 $f2, 0x28($sp) +/* 0885A8 800EF0F8 0803BCB2 */ j .L800EF2C8 +/* 0885AC 800EF0FC AE030028 */ sw $v1, 0x28($s0) + +.L800EF100: +/* 0885B0 800EF100 C602001C */ lwc1 $f2, 0x1c($s0) +/* 0885B4 800EF104 44800000 */ mtc1 $zero, $f0 +/* 0885B8 800EF108 00000000 */ nop +/* 0885BC 800EF10C 4600103C */ c.lt.s $f2, $f0 +/* 0885C0 800EF110 00000000 */ nop +/* 0885C4 800EF114 45000009 */ bc1f .L800EF13C +/* 0885C8 800EF118 00000000 */ nop +/* 0885CC 800EF11C 46001085 */ abs.s $f2, $f2 +/* 0885D0 800EF120 44051000 */ mfc1 $a1, $f2 +/* 0885D4 800EF124 0C00E5FA */ jal func_800397E8 +/* 0885D8 800EF128 0200202D */ daddu $a0, $s0, $zero +/* 0885DC 800EF12C 10400003 */ beqz $v0, .L800EF13C +/* 0885E0 800EF130 24020002 */ addiu $v0, $zero, 2 +/* 0885E4 800EF134 0803BCB2 */ j .L800EF2C8 +/* 0885E8 800EF138 A6620000 */ sh $v0, ($s3) + +.L800EF13C: +/* 0885EC 800EF13C C600001C */ lwc1 $f0, 0x1c($s0) +/* 0885F0 800EF140 C6020014 */ lwc1 $f2, 0x14($s0) +/* 0885F4 800EF144 46020001 */ sub.s $f0, $f0, $f2 +/* 0885F8 800EF148 C602003C */ lwc1 $f2, 0x3c($s0) +/* 0885FC 800EF14C E600001C */ swc1 $f0, 0x1c($s0) +/* 088600 800EF150 46000106 */ mov.s $f4, $f0 +/* 088604 800EF154 46001080 */ add.s $f2, $f2, $f0 +/* 088608 800EF158 44800000 */ mtc1 $zero, $f0 +/* 08860C 800EF15C 00000000 */ nop +/* 088610 800EF160 4600203E */ c.le.s $f4, $f0 +/* 088614 800EF164 00000000 */ nop +/* 088618 800EF168 4500000A */ bc1f .L800EF194 +/* 08861C 800EF16C E602003C */ swc1 $f2, 0x3c($s0) +/* 088620 800EF170 3C028011 */ lui $v0, 0x8011 +/* 088624 800EF174 8C42CFD8 */ lw $v0, -0x3028($v0) +/* 088628 800EF178 000218C0 */ sll $v1, $v0, 3 +/* 08862C 800EF17C 00621821 */ addu $v1, $v1, $v0 +/* 088630 800EF180 00031880 */ sll $v1, $v1, 2 +/* 088634 800EF184 3C028010 */ lui $v0, 0x8010 +/* 088638 800EF188 00431021 */ addu $v0, $v0, $v1 +/* 08863C 800EF18C 8C428354 */ lw $v0, -0x7cac($v0) +/* 088640 800EF190 AE020028 */ sw $v0, 0x28($s0) +.L800EF194: +/* 088644 800EF194 8E050018 */ lw $a1, 0x18($s0) +/* 088648 800EF198 8E06000C */ lw $a2, 0xc($s0) +/* 08864C 800EF19C 0C00EA95 */ jal npc_move_heading +/* 088650 800EF1A0 0200202D */ daddu $a0, $s0, $zero +/* 088654 800EF1A4 0C00E2BF */ jal func_80038AFC +/* 088658 800EF1A8 0200202D */ daddu $a0, $s0, $zero +/* 08865C 800EF1AC 8602008E */ lh $v0, 0x8e($s0) +/* 088660 800EF1B0 3C014120 */ lui $at, 0x4120 +/* 088664 800EF1B4 44811000 */ mtc1 $at, $f2 +/* 088668 800EF1B8 44820000 */ mtc1 $v0, $f0 +/* 08866C 800EF1BC 00000000 */ nop +/* 088670 800EF1C0 46800020 */ cvt.s.w $f0, $f0 +/* 088674 800EF1C4 4600103C */ c.lt.s $f2, $f0 +/* 088678 800EF1C8 00000000 */ nop +/* 08867C 800EF1CC 45030001 */ bc1tl .L800EF1D4 +/* 088680 800EF1D0 46001006 */ mov.s $f0, $f2 +.L800EF1D4: +/* 088684 800EF1D4 9602008E */ lhu $v0, 0x8e($s0) +/* 088688 800EF1D8 46001001 */ sub.s $f0, $f2, $f0 +/* 08868C 800EF1DC 2442FFFF */ addiu $v0, $v0, -1 +/* 088690 800EF1E0 A602008E */ sh $v0, 0x8e($s0) +/* 088694 800EF1E4 00021400 */ sll $v0, $v0, 0x10 +/* 088698 800EF1E8 46020003 */ div.s $f0, $f0, $f2 +/* 08869C 800EF1EC E6000054 */ swc1 $f0, 0x54($s0) +/* 0886A0 800EF1F0 46000086 */ mov.s $f2, $f0 +/* 0886A4 800EF1F4 E6000058 */ swc1 $f0, 0x58($s0) +/* 0886A8 800EF1F8 04410033 */ bgez $v0, .L800EF2C8 +/* 0886AC 800EF1FC E602005C */ swc1 $f2, 0x5c($s0) +/* 0886B0 800EF200 24020002 */ addiu $v0, $zero, 2 +/* 0886B4 800EF204 3C018011 */ lui $at, 0x8011 +/* 0886B8 800EF208 A422CFC8 */ sh $v0, -0x3038($at) +/* 0886BC 800EF20C 0803BCB3 */ j .L800EF2CC +/* 0886C0 800EF210 0000102D */ daddu $v0, $zero, $zero + +.L800EF214: +/* 0886C4 800EF214 C6000064 */ lwc1 $f0, 0x64($s0) +/* 0886C8 800EF218 C6060038 */ lwc1 $f6, 0x38($s0) +/* 0886CC 800EF21C C6020040 */ lwc1 $f2, 0x40($s0) +/* 0886D0 800EF220 E600003C */ swc1 $f0, 0x3c($s0) +/* 0886D4 800EF224 3C013F80 */ lui $at, 0x3f80 +/* 0886D8 800EF228 44810000 */ mtc1 $at, $f0 +/* 0886DC 800EF22C C608003C */ lwc1 $f8, 0x3c($s0) +/* 0886E0 800EF230 3C128011 */ lui $s2, 0x8011 +/* 0886E4 800EF234 2652CFEC */ addiu $s2, $s2, -0x3014 +/* 0886E8 800EF238 AE00001C */ sw $zero, 0x1c($s0) +/* 0886EC 800EF23C E6060060 */ swc1 $f6, 0x60($s0) +/* 0886F0 800EF240 E6020068 */ swc1 $f2, 0x68($s0) +/* 0886F4 800EF244 E6000054 */ swc1 $f0, 0x54($s0) +/* 0886F8 800EF248 E6000058 */ swc1 $f0, 0x58($s0) +/* 0886FC 800EF24C E600005C */ swc1 $f0, 0x5c($s0) +/* 088700 800EF250 E6080064 */ swc1 $f8, 0x64($s0) +/* 088704 800EF254 C620002C */ lwc1 $f0, 0x2c($s1) +/* 088708 800EF258 8E420000 */ lw $v0, ($s2) +/* 08870C 800EF25C E600003C */ swc1 $f0, 0x3c($s0) +/* 088710 800EF260 8C42000C */ lw $v0, 0xc($v0) +/* 088714 800EF264 10400003 */ beqz $v0, .L800EF274 +/* 088718 800EF268 46003106 */ mov.s $f4, $f6 +/* 08871C 800EF26C C620002C */ lwc1 $f0, 0x2c($s1) +/* 088720 800EF270 E600003C */ swc1 $f0, 0x3c($s0) +.L800EF274: +/* 088724 800EF274 C6000040 */ lwc1 $f0, 0x40($s0) +/* 088728 800EF278 0C03BD17 */ jal clear_partner_move_history +/* 08872C 800EF27C 0200202D */ daddu $a0, $s0, $zero +/* 088730 800EF280 C6000060 */ lwc1 $f0, 0x60($s0) +/* 088734 800EF284 C6020064 */ lwc1 $f2, 0x64($s0) +/* 088738 800EF288 8E020000 */ lw $v0, ($s0) +/* 08873C 800EF28C C6040068 */ lwc1 $f4, 0x68($s0) +/* 088740 800EF290 30421000 */ andi $v0, $v0, 0x1000 +/* 088744 800EF294 E6000038 */ swc1 $f0, 0x38($s0) +/* 088748 800EF298 E602003C */ swc1 $f2, 0x3c($s0) +/* 08874C 800EF29C 10400008 */ beqz $v0, .L800EF2C0 +/* 088750 800EF2A0 E6040040 */ swc1 $f4, 0x40($s0) +/* 088754 800EF2A4 8E420000 */ lw $v0, ($s2) +/* 088758 800EF2A8 8C42000C */ lw $v0, 0xc($v0) +/* 08875C 800EF2AC 14400007 */ bnez $v0, .L800EF2CC +/* 088760 800EF2B0 24020001 */ addiu $v0, $zero, 1 +/* 088764 800EF2B4 0200202D */ daddu $a0, $s0, $zero +/* 088768 800EF2B8 0C00F598 */ jal func_8003D660 +/* 08876C 800EF2BC 24050002 */ addiu $a1, $zero, 2 +.L800EF2C0: +/* 088770 800EF2C0 0803BCB3 */ j .L800EF2CC +/* 088774 800EF2C4 24020001 */ addiu $v0, $zero, 1 + +.L800EF2C8: +/* 088778 800EF2C8 0000102D */ daddu $v0, $zero, $zero +.L800EF2CC: +/* 08877C 800EF2CC 8FBF0048 */ lw $ra, 0x48($sp) +/* 088780 800EF2D0 8FB50044 */ lw $s5, 0x44($sp) +/* 088784 800EF2D4 8FB40040 */ lw $s4, 0x40($sp) +/* 088788 800EF2D8 8FB3003C */ lw $s3, 0x3c($sp) +/* 08878C 800EF2DC 8FB20038 */ lw $s2, 0x38($sp) +/* 088790 800EF2E0 8FB10034 */ lw $s1, 0x34($sp) +/* 088794 800EF2E4 8FB00030 */ lw $s0, 0x30($sp) +/* 088798 800EF2E8 D7BA0068 */ ldc1 $f26, 0x68($sp) +/* 08879C 800EF2EC D7B80060 */ ldc1 $f24, 0x60($sp) +/* 0887A0 800EF2F0 D7B60058 */ ldc1 $f22, 0x58($sp) +/* 0887A4 800EF2F4 D7B40050 */ ldc1 $f20, 0x50($sp) +/* 0887A8 800EF2F8 03E00008 */ jr $ra +/* 0887AC 800EF2FC 27BD0070 */ addiu $sp, $sp, 0x70 + +func_800EF300: +/* 0887B0 800EF300 24020028 */ addiu $v0, $zero, 0x28 +/* 0887B4 800EF304 3C018011 */ lui $at, 0x8011 +/* 0887B8 800EF308 A422CFC8 */ sh $v0, -0x3038($at) +/* 0887BC 800EF30C 03E00008 */ jr $ra +/* 0887C0 800EF310 00000000 */ nop + +func_800EF314: +/* 0887C4 800EF314 24020032 */ addiu $v0, $zero, 0x32 +/* 0887C8 800EF318 3C018011 */ lui $at, 0x8011 +/* 0887CC 800EF31C A422CFC8 */ sh $v0, -0x3038($at) +/* 0887D0 800EF320 03E00008 */ jr $ra +/* 0887D4 800EF324 00000000 */ nop + +enable_partner_ai: +/* 0887D8 800EF328 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 0887DC 800EF32C AFB00010 */ sw $s0, 0x10($sp) +/* 0887E0 800EF330 3C108011 */ lui $s0, 0x8011 +/* 0887E4 800EF334 2610C930 */ addiu $s0, $s0, -0x36d0 +/* 0887E8 800EF338 AFBF0014 */ sw $ra, 0x14($sp) +/* 0887EC 800EF33C 8E040000 */ lw $a0, ($s0) +/* 0887F0 800EF340 3C018011 */ lui $at, 0x8011 +/* 0887F4 800EF344 A420CFC8 */ sh $zero, -0x3038($at) +/* 0887F8 800EF348 0C03BD17 */ jal clear_partner_move_history +/* 0887FC 800EF34C 00000000 */ nop +/* 088800 800EF350 3C028011 */ lui $v0, 0x8011 +/* 088804 800EF354 8C42CFEC */ lw $v0, -0x3014($v0) +/* 088808 800EF358 8C42000C */ lw $v0, 0xc($v0) +/* 08880C 800EF35C 14400006 */ bnez $v0, .L800EF378 +/* 088810 800EF360 00000000 */ nop +/* 088814 800EF364 8E040000 */ lw $a0, ($s0) +/* 088818 800EF368 0C03AE2A */ jal enable_partner_walking +/* 08881C 800EF36C 0000282D */ daddu $a1, $zero, $zero +/* 088820 800EF370 0803BCE1 */ j .L800EF384 +/* 088824 800EF374 00000000 */ nop + +.L800EF378: +/* 088828 800EF378 8E040000 */ lw $a0, ($s0) +/* 08882C 800EF37C 0C03B4C4 */ jal enable_partner_flying +/* 088830 800EF380 0000282D */ daddu $a1, $zero, $zero +.L800EF384: +/* 088834 800EF384 8FBF0014 */ lw $ra, 0x14($sp) +/* 088838 800EF388 8FB00010 */ lw $s0, 0x10($sp) +/* 08883C 800EF38C 03E00008 */ jr $ra +/* 088840 800EF390 27BD0018 */ addiu $sp, $sp, 0x18 + +func_800EF394: +/* 088844 800EF394 3C018011 */ lui $at, 0x8011 +/* 088848 800EF398 E42CCFC0 */ swc1 $f12, -0x3040($at) +/* 08884C 800EF39C 03E00008 */ jr $ra +/* 088850 800EF3A0 00000000 */ nop + +func_800EF3A4: +/* 088854 800EF3A4 3C014220 */ lui $at, 0x4220 +/* 088858 800EF3A8 44810000 */ mtc1 $at, $f0 +/* 08885C 800EF3AC 00000000 */ nop +/* 088860 800EF3B0 3C018011 */ lui $at, 0x8011 +/* 088864 800EF3B4 E420CFC0 */ swc1 $f0, -0x3040($at) +/* 088868 800EF3B8 03E00008 */ jr $ra +/* 08886C 800EF3BC 00000000 */ nop + +func_800EF3C0: +/* 088870 800EF3C0 3C018010 */ lui $at, 0x8010 +/* 088874 800EF3C4 AC248024 */ sw $a0, -0x7fdc($at) +/* 088878 800EF3C8 3C018010 */ lui $at, 0x8010 +/* 08887C 800EF3CC 03E00008 */ jr $ra +/* 088880 800EF3D0 AC258028 */ sw $a1, -0x7fd8($at) + +func_800EF3D4: +/* 088884 800EF3D4 3C018011 */ lui $at, 0x8011 +/* 088888 800EF3D8 A424CFCA */ sh $a0, -0x3036($at) +/* 08888C 800EF3DC 03E00008 */ jr $ra +/* 088890 800EF3E0 00000000 */ nop + +func_800EF3E4: +/* 088894 800EF3E4 2402000F */ addiu $v0, $zero, 0xf +/* 088898 800EF3E8 3C018011 */ lui $at, 0x8011 +/* 08889C 800EF3EC A422CFC8 */ sh $v0, -0x3038($at) +/* 0888A0 800EF3F0 2402000A */ addiu $v0, $zero, 0xa +/* 0888A4 800EF3F4 3C018011 */ lui $at, 0x8011 +/* 0888A8 800EF3F8 A420CFCA */ sh $zero, -0x3036($at) +/* 0888AC 800EF3FC 3C018010 */ lui $at, 0x8010 +/* 0888B0 800EF400 AC22802C */ sw $v0, -0x7fd4($at) +/* 0888B4 800EF404 3C018011 */ lui $at, 0x8011 +/* 0888B8 800EF408 A420CFCE */ sh $zero, -0x3032($at) +/* 0888BC 800EF40C 03E00008 */ jr $ra +/* 0888C0 800EF410 00000000 */ nop + +func_800EF414: +/* 0888C4 800EF414 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 0888C8 800EF418 AFBF0010 */ sw $ra, 0x10($sp) +/* 0888CC 800EF41C 0C03BCF0 */ jal func_800EF3C0 +/* 0888D0 800EF420 00000000 */ nop +/* 0888D4 800EF424 8FBF0010 */ lw $ra, 0x10($sp) +/* 0888D8 800EF428 24020014 */ addiu $v0, $zero, 0x14 +/* 0888DC 800EF42C 3C018011 */ lui $at, 0x8011 +/* 0888E0 800EF430 A422CFC8 */ sh $v0, -0x3038($at) +/* 0888E4 800EF434 03E00008 */ jr $ra +/* 0888E8 800EF438 27BD0018 */ addiu $sp, $sp, 0x18 + +func_800EF43C: +/* 0888EC 800EF43C 3C018011 */ lui $at, 0x8011 +/* 0888F0 800EF440 A420CFC8 */ sh $zero, -0x3038($at) +/* 0888F4 800EF444 3C018011 */ lui $at, 0x8011 +/* 0888F8 800EF448 A420CFCA */ sh $zero, -0x3036($at) +/* 0888FC 800EF44C 3C018011 */ lui $at, 0x8011 +/* 088900 800EF450 A420CFCE */ sh $zero, -0x3032($at) +/* 088904 800EF454 03E00008 */ jr $ra +/* 088908 800EF458 00000000 */ nop + +clear_partner_move_history: +/* 08890C 800EF45C 3C058011 */ lui $a1, 0x8011 +/* 088910 800EF460 24A5CD38 */ addiu $a1, $a1, -0x32c8 +/* 088914 800EF464 0000302D */ daddu $a2, $zero, $zero +/* 088918 800EF468 3C028010 */ lui $v0, 0x8010 +/* 08891C 800EF46C 2442833C */ addiu $v0, $v0, -0x7cc4 +/* 088920 800EF470 0040482D */ daddu $t1, $v0, $zero +/* 088924 800EF474 3C028010 */ lui $v0, 0x8010 +/* 088928 800EF478 24428340 */ addiu $v0, $v0, -0x7cc0 +/* 08892C 800EF47C 0040402D */ daddu $t0, $v0, $zero +/* 088930 800EF480 3C028010 */ lui $v0, 0x8010 +/* 088934 800EF484 24428344 */ addiu $v0, $v0, -0x7cbc +/* 088938 800EF488 0040382D */ daddu $a3, $v0, $zero +/* 08893C 800EF48C C4800038 */ lwc1 $f0, 0x38($a0) +/* 088940 800EF490 C482003C */ lwc1 $f2, 0x3c($a0) +/* 088944 800EF494 C4840040 */ lwc1 $f4, 0x40($a0) +/* 088948 800EF498 24A3000C */ addiu $v1, $a1, 0xc +/* 08894C 800EF49C E5200000 */ swc1 $f0, ($t1) +/* 088950 800EF4A0 E5020000 */ swc1 $f2, ($t0) +/* 088954 800EF4A4 E4E40000 */ swc1 $f4, ($a3) +.L800EF4A8: +/* 088958 800EF4A8 24C60001 */ addiu $a2, $a2, 1 +/* 08895C 800EF4AC C5200000 */ lwc1 $f0, ($t1) +/* 088960 800EF4B0 C5020000 */ lwc1 $f2, ($t0) +/* 088964 800EF4B4 C4E40000 */ lwc1 $f4, ($a3) +/* 088968 800EF4B8 28C20028 */ slti $v0, $a2, 0x28 +/* 08896C 800EF4BC E460FFF8 */ swc1 $f0, -8($v1) +/* 088970 800EF4C0 E462FFFC */ swc1 $f2, -4($v1) +/* 088974 800EF4C4 E4640000 */ swc1 $f4, ($v1) +/* 088978 800EF4C8 24630010 */ addiu $v1, $v1, 0x10 +/* 08897C 800EF4CC A0A00000 */ sb $zero, ($a1) +/* 088980 800EF4D0 1440FFF5 */ bnez $v0, .L800EF4A8 +/* 088984 800EF4D4 24A50010 */ addiu $a1, $a1, 0x10 +/* 088988 800EF4D8 03E00008 */ jr $ra +/* 08898C 800EF4DC 00000000 */ nop + +/* 088990 800EF4E0 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 088994 800EF4E4 AFB10014 */ sw $s1, 0x14($sp) +/* 088998 800EF4E8 3C118011 */ lui $s1, 0x8011 +/* 08899C 800EF4EC 2631EFC8 */ addiu $s1, $s1, -0x1038 +/* 0889A0 800EF4F0 AFB00010 */ sw $s0, 0x10($sp) +/* 0889A4 800EF4F4 3C10800B */ lui $s0, 0x800b +/* 0889A8 800EF4F8 26101D80 */ addiu $s0, $s0, 0x1d80 +/* 0889AC 800EF4FC AFBF001C */ sw $ra, 0x1c($sp) +/* 0889B0 800EF500 AFB20018 */ sw $s2, 0x18($sp) +/* 0889B4 800EF504 F7B40020 */ sdc1 $f20, 0x20($sp) +/* 0889B8 800EF508 C6200090 */ lwc1 $f0, 0x90($s1) +/* 0889BC 800EF50C 4480A000 */ mtc1 $zero, $f20 +/* 0889C0 800EF510 00000000 */ nop +/* 0889C4 800EF514 46140032 */ c.eq.s $f0, $f20 +/* 0889C8 800EF518 00000000 */ nop +/* 0889CC 800EF51C 45000017 */ bc1f .L800EF57C +/* 0889D0 800EF520 0200902D */ daddu $s2, $s0, $zero +/* 0889D4 800EF524 C62200A8 */ lwc1 $f2, 0xa8($s1) +/* 0889D8 800EF528 3C0142B4 */ lui $at, 0x42b4 +/* 0889DC 800EF52C 44812000 */ mtc1 $at, $f4 +/* 0889E0 800EF530 00000000 */ nop +/* 0889E4 800EF534 4602203E */ c.le.s $f4, $f2 +/* 0889E8 800EF538 00000000 */ nop +/* 0889EC 800EF53C 45000008 */ bc1f .L800EF560 +/* 0889F0 800EF540 00000000 */ nop +/* 0889F4 800EF544 3C014387 */ lui $at, 0x4387 +/* 0889F8 800EF548 44810000 */ mtc1 $at, $f0 +/* 0889FC 800EF54C 00000000 */ nop +/* 088A00 800EF550 4600103C */ c.lt.s $f2, $f0 +/* 088A04 800EF554 00000000 */ nop +/* 088A08 800EF558 45010005 */ bc1t .L800EF570 +/* 088A0C 800EF55C 00000000 */ nop +.L800EF560: +/* 088A10 800EF560 C60C006C */ lwc1 $f12, 0x6c($s0) +/* 088A14 800EF564 46046301 */ sub.s $f12, $f12, $f4 +/* 088A18 800EF568 0803BD73 */ j .L800EF5CC +/* 088A1C 800EF56C 24100001 */ addiu $s0, $zero, 1 + +.L800EF570: +/* 088A20 800EF570 C60C006C */ lwc1 $f12, 0x6c($s0) +/* 088A24 800EF574 0803BD72 */ j .L800EF5C8 +/* 088A28 800EF578 46046300 */ add.s $f12, $f12, $f4 + +.L800EF57C: +/* 088A2C 800EF57C C60C006C */ lwc1 $f12, 0x6c($s0) +/* 088A30 800EF580 0C00A70A */ jal get_clamped_angle_diff +/* 088A34 800EF584 C62E0080 */ lwc1 $f14, 0x80($s1) +/* 088A38 800EF588 4614003C */ c.lt.s $f0, $f20 +/* 088A3C 800EF58C 00000000 */ nop +/* 088A40 800EF590 45000008 */ bc1f .L800EF5B4 +/* 088A44 800EF594 00000000 */ nop +/* 088A48 800EF598 C600006C */ lwc1 $f0, 0x6c($s0) +/* 088A4C 800EF59C 3C0142B4 */ lui $at, 0x42b4 +/* 088A50 800EF5A0 44816000 */ mtc1 $at, $f12 +/* 088A54 800EF5A4 00000000 */ nop +/* 088A58 800EF5A8 460C0301 */ sub.s $f12, $f0, $f12 +/* 088A5C 800EF5AC 0803BD73 */ j .L800EF5CC +/* 088A60 800EF5B0 24100001 */ addiu $s0, $zero, 1 + +.L800EF5B4: +/* 088A64 800EF5B4 C640006C */ lwc1 $f0, 0x6c($s2) +/* 088A68 800EF5B8 3C0142B4 */ lui $at, 0x42b4 +/* 088A6C 800EF5BC 44816000 */ mtc1 $at, $f12 +/* 088A70 800EF5C0 00000000 */ nop +/* 088A74 800EF5C4 460C0300 */ add.s $f12, $f0, $f12 +.L800EF5C8: +/* 088A78 800EF5C8 0000802D */ daddu $s0, $zero, $zero +.L800EF5CC: +/* 088A7C 800EF5CC 0C00A6C9 */ jal clamp_angle +/* 088A80 800EF5D0 00000000 */ nop +/* 088A84 800EF5D4 E6200080 */ swc1 $f0, 0x80($s1) +/* 088A88 800EF5D8 C6200080 */ lwc1 $f0, 0x80($s1) +/* 088A8C 800EF5DC 0200102D */ daddu $v0, $s0, $zero +/* 088A90 800EF5E0 E6200084 */ swc1 $f0, 0x84($s1) +/* 088A94 800EF5E4 8FBF001C */ lw $ra, 0x1c($sp) +/* 088A98 800EF5E8 8FB20018 */ lw $s2, 0x18($sp) +/* 088A9C 800EF5EC 8FB10014 */ lw $s1, 0x14($sp) +/* 088AA0 800EF5F0 8FB00010 */ lw $s0, 0x10($sp) +/* 088AA4 800EF5F4 D7B40020 */ ldc1 $f20, 0x20($sp) +/* 088AA8 800EF5F8 03E00008 */ jr $ra +/* 088AAC 800EF5FC 27BD0028 */ addiu $sp, $sp, 0x28 + +func_800EF600: +/* 088AB0 800EF600 3C038011 */ lui $v1, 0x8011 +/* 088AB4 800EF604 2463EBB0 */ addiu $v1, $v1, -0x1450 +/* 088AB8 800EF608 90620014 */ lbu $v0, 0x14($v1) +/* 088ABC 800EF60C 2442FFFF */ addiu $v0, $v0, -1 +/* 088AC0 800EF610 A0620014 */ sb $v0, 0x14($v1) +/* 088AC4 800EF614 00021600 */ sll $v0, $v0, 0x18 +/* 088AC8 800EF618 04420001 */ bltzl $v0, .L800EF620 +/* 088ACC 800EF61C A0600014 */ sb $zero, 0x14($v1) +.L800EF620: +/* 088AD0 800EF620 03E00008 */ jr $ra +/* 088AD4 800EF624 00000000 */ nop + +func_800EF628: +/* 088AD8 800EF628 3C038011 */ lui $v1, 0x8011 +/* 088ADC 800EF62C 2463EBB0 */ addiu $v1, $v1, -0x1450 +/* 088AE0 800EF630 90620014 */ lbu $v0, 0x14($v1) +/* 088AE4 800EF634 24420001 */ addiu $v0, $v0, 1 +/* 088AE8 800EF638 03E00008 */ jr $ra +/* 088AEC 800EF63C A0620014 */ sb $v0, 0x14($v1) + +func_800EF640: +/* 088AF0 800EF640 27BDFF98 */ addiu $sp, $sp, -0x68 +/* 088AF4 800EF644 AFB1004C */ sw $s1, 0x4c($sp) +/* 088AF8 800EF648 0080882D */ daddu $s1, $a0, $zero +/* 088AFC 800EF64C AFB30054 */ sw $s3, 0x54($sp) +/* 088B00 800EF650 3C13800B */ lui $s3, 0x800b +/* 088B04 800EF654 26731E54 */ addiu $s3, $s3, 0x1e54 +/* 088B08 800EF658 0260202D */ daddu $a0, $s3, $zero +/* 088B0C 800EF65C AFB20050 */ sw $s2, 0x50($sp) +/* 088B10 800EF660 3C128011 */ lui $s2, 0x8011 +/* 088B14 800EF664 2652EFC8 */ addiu $s2, $s2, -0x1038 +/* 088B18 800EF668 AFBF005C */ sw $ra, 0x5c($sp) +/* 088B1C 800EF66C AFB40058 */ sw $s4, 0x58($sp) +/* 088B20 800EF670 AFB00048 */ sw $s0, 0x48($sp) +/* 088B24 800EF674 F7B40060 */ sdc1 $f20, 0x60($sp) +/* 088B28 800EF678 8E450028 */ lw $a1, 0x28($s2) +/* 088B2C 800EF67C 8E46002C */ lw $a2, 0x2c($s2) +/* 088B30 800EF680 8E470030 */ lw $a3, 0x30($s2) +/* 088B34 800EF684 27A20028 */ addiu $v0, $sp, 0x28 +/* 088B38 800EF688 AFA20014 */ sw $v0, 0x14($sp) +/* 088B3C 800EF68C 27A2002C */ addiu $v0, $sp, 0x2c +/* 088B40 800EF690 AFA20018 */ sw $v0, 0x18($sp) +/* 088B44 800EF694 27A20030 */ addiu $v0, $sp, 0x30 +/* 088B48 800EF698 3C013F80 */ lui $at, 0x3f80 +/* 088B4C 800EF69C 4481A000 */ mtc1 $at, $f20 +/* 088B50 800EF6A0 27B00034 */ addiu $s0, $sp, 0x34 +/* 088B54 800EF6A4 AFA2001C */ sw $v0, 0x1c($sp) +/* 088B58 800EF6A8 AFB00020 */ sw $s0, 0x20($sp) +/* 088B5C 800EF6AC 0C00A588 */ jal transform_point +/* 088B60 800EF6B0 E7B40010 */ swc1 $f20, 0x10($sp) +/* 088B64 800EF6B4 0260202D */ daddu $a0, $s3, $zero +/* 088B68 800EF6B8 27A20038 */ addiu $v0, $sp, 0x38 +/* 088B6C 800EF6BC AFA20014 */ sw $v0, 0x14($sp) +/* 088B70 800EF6C0 27A2003C */ addiu $v0, $sp, 0x3c +/* 088B74 800EF6C4 AFA20018 */ sw $v0, 0x18($sp) +/* 088B78 800EF6C8 27A20040 */ addiu $v0, $sp, 0x40 +/* 088B7C 800EF6CC AFB00020 */ sw $s0, 0x20($sp) +/* 088B80 800EF6D0 26300038 */ addiu $s0, $s1, 0x38 +/* 088B84 800EF6D4 E7B40010 */ swc1 $f20, 0x10($sp) +/* 088B88 800EF6D8 AFA2001C */ sw $v0, 0x1c($sp) +/* 088B8C 800EF6DC 8E250038 */ lw $a1, 0x38($s1) +/* 088B90 800EF6E0 8E26003C */ lw $a2, 0x3c($s1) +/* 088B94 800EF6E4 8E270040 */ lw $a3, 0x40($s1) +/* 088B98 800EF6E8 0C00A588 */ jal transform_point +/* 088B9C 800EF6EC 26340040 */ addiu $s4, $s1, 0x40 +/* 088BA0 800EF6F0 862200A6 */ lh $v0, 0xa6($s1) +/* 088BA4 800EF6F4 864300B2 */ lh $v1, 0xb2($s2) +/* 088BA8 800EF6F8 3C013F66 */ lui $at, 0x3f66 +/* 088BAC 800EF6FC 34216666 */ ori $at, $at, 0x6666 +/* 088BB0 800EF700 44810000 */ mtc1 $at, $f0 +/* 088BB4 800EF704 00431021 */ addu $v0, $v0, $v1 +/* 088BB8 800EF708 44824000 */ mtc1 $v0, $f8 +/* 088BBC 800EF70C 00000000 */ nop +/* 088BC0 800EF710 46804220 */ cvt.s.w $f8, $f8 +/* 088BC4 800EF714 46004202 */ mul.s $f8, $f8, $f0 +/* 088BC8 800EF718 00000000 */ nop +/* 088BCC 800EF71C C7A60028 */ lwc1 $f6, 0x28($sp) +/* 088BD0 800EF720 C7A00038 */ lwc1 $f0, 0x38($sp) +/* 088BD4 800EF724 C7A4002C */ lwc1 $f4, 0x2c($sp) +/* 088BD8 800EF728 46003181 */ sub.s $f6, $f6, $f0 +/* 088BDC 800EF72C C7A0003C */ lwc1 $f0, 0x3c($sp) +/* 088BE0 800EF730 C7A20030 */ lwc1 $f2, 0x30($sp) +/* 088BE4 800EF734 46002101 */ sub.s $f4, $f4, $f0 +/* 088BE8 800EF738 C7A00040 */ lwc1 $f0, 0x40($sp) +/* 088BEC 800EF73C 46001081 */ sub.s $f2, $f2, $f0 +/* 088BF0 800EF740 46003185 */ abs.s $f6, $f6 +/* 088BF4 800EF744 E7A60028 */ swc1 $f6, 0x28($sp) +/* 088BF8 800EF748 46002105 */ abs.s $f4, $f4 +/* 088BFC 800EF74C 4608303E */ c.le.s $f6, $f8 +/* 088C00 800EF750 E7A4002C */ swc1 $f4, 0x2c($sp) +/* 088C04 800EF754 46001285 */ abs.s $f10, $f2 +/* 088C08 800EF758 4500002B */ bc1f .L800EF808 +/* 088C0C 800EF75C E7AA0030 */ swc1 $f10, 0x30($sp) +/* 088C10 800EF760 862200A8 */ lh $v0, 0xa8($s1) +/* 088C14 800EF764 864300B0 */ lh $v1, 0xb0($s2) +/* 088C18 800EF768 00431021 */ addu $v0, $v0, $v1 +/* 088C1C 800EF76C 44820000 */ mtc1 $v0, $f0 +/* 088C20 800EF770 00000000 */ nop +/* 088C24 800EF774 46800020 */ cvt.s.w $f0, $f0 +/* 088C28 800EF778 4600203E */ c.le.s $f4, $f0 +/* 088C2C 800EF77C 00000000 */ nop +/* 088C30 800EF780 45000021 */ bc1f .L800EF808 +/* 088C34 800EF784 00000000 */ nop +/* 088C38 800EF788 3C014010 */ lui $at, 0x4010 +/* 088C3C 800EF78C 44811800 */ mtc1 $at, $f3 +/* 088C40 800EF790 44801000 */ mtc1 $zero, $f2 +/* 088C44 800EF794 46005021 */ cvt.d.s $f0, $f10 +/* 088C48 800EF798 4622003E */ c.le.d $f0, $f2 +/* 088C4C 800EF79C 00000000 */ nop +/* 088C50 800EF7A0 45000019 */ bc1f .L800EF808 +/* 088C54 800EF7A4 00000000 */ nop +/* 088C58 800EF7A8 8E260038 */ lw $a2, 0x38($s1) +/* 088C5C 800EF7AC 8E270040 */ lw $a3, 0x40($s1) +/* 088C60 800EF7B0 C64C0028 */ lwc1 $f12, 0x28($s2) +/* 088C64 800EF7B4 0C00A720 */ jal atan2 +/* 088C68 800EF7B8 C64E0030 */ lwc1 $f14, 0x30($s2) +/* 088C6C 800EF7BC 4405A000 */ mfc1 $a1, $f20 +/* 088C70 800EF7C0 44060000 */ mfc1 $a2, $f0 +/* 088C74 800EF7C4 0C00EA95 */ jal npc_move_heading +/* 088C78 800EF7C8 0220202D */ daddu $a0, $s1, $zero +/* 088C7C 800EF7CC 0200202D */ daddu $a0, $s0, $zero +/* 088C80 800EF7D0 3C028007 */ lui $v0, 0x8007 +/* 088C84 800EF7D4 8C427410 */ lw $v0, 0x7410($v0) +/* 088C88 800EF7D8 3C064000 */ lui $a2, 0x4000 +/* 088C8C 800EF7DC 00021880 */ sll $v1, $v0, 2 +/* 088C90 800EF7E0 00621821 */ addu $v1, $v1, $v0 +/* 088C94 800EF7E4 00031880 */ sll $v1, $v1, 2 +/* 088C98 800EF7E8 00621823 */ subu $v1, $v1, $v0 +/* 088C9C 800EF7EC 000310C0 */ sll $v0, $v1, 3 +/* 088CA0 800EF7F0 00621821 */ addu $v1, $v1, $v0 +/* 088CA4 800EF7F4 000318C0 */ sll $v1, $v1, 3 +/* 088CA8 800EF7F8 02631821 */ addu $v1, $s3, $v1 +/* 088CAC 800EF7FC 8C67FF98 */ lw $a3, -0x68($v1) +/* 088CB0 800EF800 0C00A7E7 */ jal add_vec2D_polar +/* 088CB4 800EF804 0280282D */ daddu $a1, $s4, $zero +.L800EF808: +/* 088CB8 800EF808 8FBF005C */ lw $ra, 0x5c($sp) +/* 088CBC 800EF80C 8FB40058 */ lw $s4, 0x58($sp) +/* 088CC0 800EF810 8FB30054 */ lw $s3, 0x54($sp) +/* 088CC4 800EF814 8FB20050 */ lw $s2, 0x50($sp) +/* 088CC8 800EF818 8FB1004C */ lw $s1, 0x4c($sp) +/* 088CCC 800EF81C 8FB00048 */ lw $s0, 0x48($sp) +/* 088CD0 800EF820 D7B40060 */ ldc1 $f20, 0x60($sp) +/* 088CD4 800EF824 03E00008 */ jr $ra +/* 088CD8 800EF828 27BD0068 */ addiu $sp, $sp, 0x68 + +func_800EF82C: +/* 088CDC 800EF82C 27BDFFB8 */ addiu $sp, $sp, -0x48 +/* 088CE0 800EF830 AFB20038 */ sw $s2, 0x38($sp) +/* 088CE4 800EF834 0080902D */ daddu $s2, $a0, $zero +/* 088CE8 800EF838 AFB40040 */ sw $s4, 0x40($sp) +/* 088CEC 800EF83C 00A0A02D */ daddu $s4, $a1, $zero +/* 088CF0 800EF840 AFB3003C */ sw $s3, 0x3c($sp) +/* 088CF4 800EF844 3C138011 */ lui $s3, 0x8011 +/* 088CF8 800EF848 2673EFC8 */ addiu $s3, $s3, -0x1038 +/* 088CFC 800EF84C 3C058011 */ lui $a1, 0x8011 +/* 088D00 800EF850 24A5CFCE */ addiu $a1, $a1, -0x3032 +/* 088D04 800EF854 24020001 */ addiu $v0, $zero, 1 +/* 088D08 800EF858 AFBF0044 */ sw $ra, 0x44($sp) +/* 088D0C 800EF85C AFB10034 */ sw $s1, 0x34($sp) +/* 088D10 800EF860 AFB00030 */ sw $s0, 0x30($sp) +/* 088D14 800EF864 84A30000 */ lh $v1, ($a1) +/* 088D18 800EF868 94A40000 */ lhu $a0, ($a1) +/* 088D1C 800EF86C 10620044 */ beq $v1, $v0, .L800EF980 +/* 088D20 800EF870 28620002 */ slti $v0, $v1, 2 +/* 088D24 800EF874 10400118 */ beqz $v0, .L800EFCD8 +/* 088D28 800EF878 00000000 */ nop +/* 088D2C 800EF87C 14600116 */ bnez $v1, .L800EFCD8 +/* 088D30 800EF880 24820001 */ addiu $v0, $a0, 1 +/* 088D34 800EF884 C662002C */ lwc1 $f2, 0x2c($s3) +/* 088D38 800EF888 3C018010 */ lui $at, 0x8010 +/* 088D3C 800EF88C C4208024 */ lwc1 $f0, -0x7fdc($at) +/* 088D40 800EF890 46800020 */ cvt.s.w $f0, $f0 +/* 088D44 800EF894 E6400060 */ swc1 $f0, 0x60($s2) +/* 088D48 800EF898 44060000 */ mfc1 $a2, $f0 +/* 088D4C 800EF89C 3C018010 */ lui $at, 0x8010 +/* 088D50 800EF8A0 C4208028 */ lwc1 $f0, -0x7fd8($at) +/* 088D54 800EF8A4 46800020 */ cvt.s.w $f0, $f0 +/* 088D58 800EF8A8 26500060 */ addiu $s0, $s2, 0x60 +/* 088D5C 800EF8AC C64C0038 */ lwc1 $f12, 0x38($s2) +/* 088D60 800EF8B0 C64E0040 */ lwc1 $f14, 0x40($s2) +/* 088D64 800EF8B4 44070000 */ mfc1 $a3, $f0 +/* 088D68 800EF8B8 26510068 */ addiu $s1, $s2, 0x68 +/* 088D6C 800EF8BC A4A20000 */ sh $v0, ($a1) +/* 088D70 800EF8C0 AE470068 */ sw $a3, 0x68($s2) +/* 088D74 800EF8C4 0C00A720 */ jal atan2 +/* 088D78 800EF8C8 E6420064 */ swc1 $f2, 0x64($s2) +/* 088D7C 800EF8CC 0200202D */ daddu $a0, $s0, $zero +/* 088D80 800EF8D0 3C0640A0 */ lui $a2, 0x40a0 +/* 088D84 800EF8D4 44070000 */ mfc1 $a3, $f0 +/* 088D88 800EF8D8 0220282D */ daddu $a1, $s1, $zero +/* 088D8C 800EF8DC 3C018010 */ lui $at, 0x8010 +/* 088D90 800EF8E0 AC278034 */ sw $a3, -0x7fcc($at) +/* 088D94 800EF8E4 0C00A7E7 */ jal add_vec2D_polar +/* 088D98 800EF8E8 AE47000C */ sw $a3, 0xc($s2) +/* 088D9C 800EF8EC 3C108010 */ lui $s0, 0x8010 +/* 088DA0 800EF8F0 2610802C */ addiu $s0, $s0, -0x7fd4 +/* 088DA4 800EF8F4 C64C0038 */ lwc1 $f12, 0x38($s2) +/* 088DA8 800EF8F8 C64E0040 */ lwc1 $f14, 0x40($s2) +/* 088DAC 800EF8FC 8E460060 */ lw $a2, 0x60($s2) +/* 088DB0 800EF900 8E470068 */ lw $a3, 0x68($s2) +/* 088DB4 800EF904 24020012 */ addiu $v0, $zero, 0x12 +/* 088DB8 800EF908 0C00A7B5 */ jal dist2D +/* 088DBC 800EF90C AE020000 */ sw $v0, ($s0) +/* 088DC0 800EF910 E7A0002C */ swc1 $f0, 0x2c($sp) +/* 088DC4 800EF914 C6020000 */ lwc1 $f2, ($s0) +/* 088DC8 800EF918 468010A0 */ cvt.s.w $f2, $f2 +/* 088DCC 800EF91C 46020003 */ div.s $f0, $f0, $f2 +/* 088DD0 800EF920 3C018010 */ lui $at, 0x8010 +/* 088DD4 800EF924 E4208030 */ swc1 $f0, -0x7fd0($at) +/* 088DD8 800EF928 E6400018 */ swc1 $f0, 0x18($s2) +/* 088DDC 800EF92C 46000021 */ cvt.d.s $f0, $f0 +/* 088DE0 800EF930 26440028 */ addiu $a0, $s2, 0x28 +/* 088DE4 800EF934 3C038011 */ lui $v1, 0x8011 +/* 088DE8 800EF938 8C63CFD8 */ lw $v1, -0x3028($v1) +/* 088DEC 800EF93C 3C014010 */ lui $at, 0x4010 +/* 088DF0 800EF940 44811800 */ mtc1 $at, $f3 +/* 088DF4 800EF944 44801000 */ mtc1 $zero, $f2 +/* 088DF8 800EF948 000310C0 */ sll $v0, $v1, 3 +/* 088DFC 800EF94C 00431021 */ addu $v0, $v0, $v1 +/* 088E00 800EF950 4620103E */ c.le.d $f2, $f0 +/* 088E04 800EF954 00000000 */ nop +/* 088E08 800EF958 45000003 */ bc1f .L800EF968 +/* 088E0C 800EF95C 00021080 */ sll $v0, $v0, 2 +/* 088E10 800EF960 0803BE5B */ j .L800EF96C +/* 088E14 800EF964 24430018 */ addiu $v1, $v0, 0x18 + +.L800EF968: +/* 088E18 800EF968 24430004 */ addiu $v1, $v0, 4 +.L800EF96C: +/* 088E1C 800EF96C 3C028010 */ lui $v0, 0x8010 +/* 088E20 800EF970 24428348 */ addiu $v0, $v0, -0x7cb8 +/* 088E24 800EF974 00431021 */ addu $v0, $v0, $v1 +/* 088E28 800EF978 8C420000 */ lw $v0, ($v0) +/* 088E2C 800EF97C AC820000 */ sw $v0, ($a0) +.L800EF980: +/* 088E30 800EF980 3C038010 */ lui $v1, 0x8010 +/* 088E34 800EF984 2463802C */ addiu $v1, $v1, -0x7fd4 +/* 088E38 800EF988 8C620000 */ lw $v0, ($v1) +/* 088E3C 800EF98C 104000C0 */ beqz $v0, .L800EFC90 +/* 088E40 800EF990 2442FFFF */ addiu $v0, $v0, -1 +/* 088E44 800EF994 16800092 */ bnez $s4, .L800EFBE0 +/* 088E48 800EF998 AC620000 */ sw $v0, ($v1) +/* 088E4C 800EF99C 8E420000 */ lw $v0, ($s2) +/* 088E50 800EF9A0 30421000 */ andi $v0, $v0, 0x1000 +/* 088E54 800EF9A4 14400003 */ bnez $v0, .L800EF9B4 +/* 088E58 800EF9A8 00000000 */ nop +/* 088E5C 800EF9AC C660002C */ lwc1 $f0, 0x2c($s3) +/* 088E60 800EF9B0 E640003C */ swc1 $f0, 0x3c($s2) +.L800EF9B4: +/* 088E64 800EF9B4 C642001C */ lwc1 $f2, 0x1c($s2) +/* 088E68 800EF9B8 44802000 */ mtc1 $zero, $f4 +/* 088E6C 800EF9BC 00000000 */ nop +/* 088E70 800EF9C0 46041032 */ c.eq.s $f2, $f4 +/* 088E74 800EF9C4 00000000 */ nop +/* 088E78 800EF9C8 45010060 */ bc1t .L800EFB4C +/* 088E7C 800EF9CC 00000000 */ nop +/* 088E80 800EF9D0 C6400014 */ lwc1 $f0, 0x14($s2) +/* 088E84 800EF9D4 46001001 */ sub.s $f0, $f2, $f0 +/* 088E88 800EF9D8 C642003C */ lwc1 $f2, 0x3c($s2) +/* 088E8C 800EF9DC 46001080 */ add.s $f2, $f2, $f0 +/* 088E90 800EF9E0 E640001C */ swc1 $f0, 0x1c($s2) +/* 088E94 800EF9E4 4604003E */ c.le.s $f0, $f4 +/* 088E98 800EF9E8 00000000 */ nop +/* 088E9C 800EF9EC 4500000A */ bc1f .L800EFA18 +/* 088EA0 800EF9F0 E642003C */ swc1 $f2, 0x3c($s2) +/* 088EA4 800EF9F4 3C028011 */ lui $v0, 0x8011 +/* 088EA8 800EF9F8 8C42CFD8 */ lw $v0, -0x3028($v0) +/* 088EAC 800EF9FC 000218C0 */ sll $v1, $v0, 3 +/* 088EB0 800EFA00 00621821 */ addu $v1, $v1, $v0 +/* 088EB4 800EFA04 00031880 */ sll $v1, $v1, 2 +/* 088EB8 800EFA08 3C028010 */ lui $v0, 0x8010 +/* 088EBC 800EFA0C 00431021 */ addu $v0, $v0, $v1 +/* 088EC0 800EFA10 8C428354 */ lw $v0, -0x7cac($v0) +/* 088EC4 800EFA14 AE420028 */ sw $v0, 0x28($s2) +.L800EFA18: +/* 088EC8 800EFA18 C642001C */ lwc1 $f2, 0x1c($s2) +/* 088ECC 800EFA1C 4604103E */ c.le.s $f2, $f4 +/* 088ED0 800EFA20 00000000 */ nop +/* 088ED4 800EFA24 45000049 */ bc1f .L800EFB4C +/* 088ED8 800EFA28 27A50020 */ addiu $a1, $sp, 0x20 +/* 088EDC 800EFA2C C6400038 */ lwc1 $f0, 0x38($s2) +/* 088EE0 800EFA30 46001085 */ abs.s $f2, $f2 +/* 088EE4 800EFA34 E7A00020 */ swc1 $f0, 0x20($sp) +/* 088EE8 800EFA38 864200A8 */ lh $v0, 0xa8($s2) +/* 088EEC 800EFA3C C6440040 */ lwc1 $f4, 0x40($s2) +/* 088EF0 800EFA40 0040182D */ daddu $v1, $v0, $zero +/* 088EF4 800EFA44 44820000 */ mtc1 $v0, $f0 +/* 088EF8 800EFA48 00000000 */ nop +/* 088EFC 800EFA4C 46800020 */ cvt.s.w $f0, $f0 +/* 088F00 800EFA50 44833000 */ mtc1 $v1, $f6 +/* 088F04 800EFA54 00000000 */ nop +/* 088F08 800EFA58 468031A0 */ cvt.s.w $f6, $f6 +/* 088F0C 800EFA5C 46001080 */ add.s $f2, $f2, $f0 +/* 088F10 800EFA60 C640003C */ lwc1 $f0, 0x3c($s2) +/* 088F14 800EFA64 27A2002C */ addiu $v0, $sp, 0x2c +/* 088F18 800EFA68 46060000 */ add.s $f0, $f0, $f6 +/* 088F1C 800EFA6C E7A40028 */ swc1 $f4, 0x28($sp) +/* 088F20 800EFA70 E7A2002C */ swc1 $f2, 0x2c($sp) +/* 088F24 800EFA74 E7A00024 */ swc1 $f0, 0x24($sp) +/* 088F28 800EFA78 AFA20010 */ sw $v0, 0x10($sp) +/* 088F2C 800EFA7C C640000C */ lwc1 $f0, 0xc($s2) +/* 088F30 800EFA80 E7A00014 */ swc1 $f0, 0x14($sp) +/* 088F34 800EFA84 864200A6 */ lh $v0, 0xa6($s2) +/* 088F38 800EFA88 27A60024 */ addiu $a2, $sp, 0x24 +/* 088F3C 800EFA8C 44820000 */ mtc1 $v0, $f0 +/* 088F40 800EFA90 00000000 */ nop +/* 088F44 800EFA94 46800020 */ cvt.s.w $f0, $f0 +/* 088F48 800EFA98 E7A00018 */ swc1 $f0, 0x18($sp) +/* 088F4C 800EFA9C 8E440080 */ lw $a0, 0x80($s2) +/* 088F50 800EFAA0 0C0371DE */ jal func_800DC778 +/* 088F54 800EFAA4 27A70028 */ addiu $a3, $sp, 0x28 +/* 088F58 800EFAA8 10400028 */ beqz $v0, .L800EFB4C +/* 088F5C 800EFAAC 00000000 */ nop +/* 088F60 800EFAB0 C640001C */ lwc1 $f0, 0x1c($s2) +/* 088F64 800EFAB4 3C0141B0 */ lui $at, 0x41b0 +/* 088F68 800EFAB8 44811000 */ mtc1 $at, $f2 +/* 088F6C 800EFABC 46000005 */ abs.s $f0, $f0 +/* 088F70 800EFAC0 46020000 */ add.s $f0, $f0, $f2 +/* 088F74 800EFAC4 C7A2002C */ lwc1 $f2, 0x2c($sp) +/* 088F78 800EFAC8 4600103E */ c.le.s $f2, $f0 +/* 088F7C 800EFACC 00000000 */ nop +/* 088F80 800EFAD0 4500001E */ bc1f .L800EFB4C +/* 088F84 800EFAD4 26440028 */ addiu $a0, $s2, 0x28 +/* 088F88 800EFAD8 C6400018 */ lwc1 $f0, 0x18($s2) +/* 088F8C 800EFADC 3C014010 */ lui $at, 0x4010 +/* 088F90 800EFAE0 44811800 */ mtc1 $at, $f3 +/* 088F94 800EFAE4 44801000 */ mtc1 $zero, $f2 +/* 088F98 800EFAE8 3C038011 */ lui $v1, 0x8011 +/* 088F9C 800EFAEC 8C63CFD8 */ lw $v1, -0x3028($v1) +/* 088FA0 800EFAF0 46000021 */ cvt.d.s $f0, $f0 +/* 088FA4 800EFAF4 000310C0 */ sll $v0, $v1, 3 +/* 088FA8 800EFAF8 00431021 */ addu $v0, $v0, $v1 +/* 088FAC 800EFAFC 4620103E */ c.le.d $f2, $f0 +/* 088FB0 800EFB00 00000000 */ nop +/* 088FB4 800EFB04 45000003 */ bc1f .L800EFB14 +/* 088FB8 800EFB08 00021080 */ sll $v0, $v0, 2 +/* 088FBC 800EFB0C 0803BEC6 */ j .L800EFB18 +/* 088FC0 800EFB10 24430018 */ addiu $v1, $v0, 0x18 + +.L800EFB14: +/* 088FC4 800EFB14 24430004 */ addiu $v1, $v0, 4 +.L800EFB18: +/* 088FC8 800EFB18 3C028010 */ lui $v0, 0x8010 +/* 088FCC 800EFB1C 24428348 */ addiu $v0, $v0, -0x7cb8 +/* 088FD0 800EFB20 00431021 */ addu $v0, $v0, $v1 +/* 088FD4 800EFB24 8C420000 */ lw $v0, ($v0) +/* 088FD8 800EFB28 C7A00024 */ lwc1 $f0, 0x24($sp) +/* 088FDC 800EFB2C AC820000 */ sw $v0, ($a0) +/* 088FE0 800EFB30 8E420000 */ lw $v0, ($s2) +/* 088FE4 800EFB34 2403F7FF */ addiu $v1, $zero, -0x801 +/* 088FE8 800EFB38 AE400014 */ sw $zero, 0x14($s2) +/* 088FEC 800EFB3C AE40001C */ sw $zero, 0x1c($s2) +/* 088FF0 800EFB40 E640003C */ swc1 $f0, 0x3c($s2) +/* 088FF4 800EFB44 00431024 */ and $v0, $v0, $v1 +/* 088FF8 800EFB48 AE420000 */ sw $v0, ($s2) +.L800EFB4C: +/* 088FFC 800EFB4C 3C018010 */ lui $at, 0x8010 +/* 089000 800EFB50 C4208030 */ lwc1 $f0, -0x7fd0($at) +/* 089004 800EFB54 E6400018 */ swc1 $f0, 0x18($s2) +/* 089008 800EFB58 3C018010 */ lui $at, 0x8010 +/* 08900C 800EFB5C C4208034 */ lwc1 $f0, -0x7fcc($at) +/* 089010 800EFB60 8E450018 */ lw $a1, 0x18($s2) +/* 089014 800EFB64 44060000 */ mfc1 $a2, $f0 +/* 089018 800EFB68 0240202D */ daddu $a0, $s2, $zero +/* 08901C 800EFB6C 0C00EA95 */ jal npc_move_heading +/* 089020 800EFB70 AE46000C */ sw $a2, 0xc($s2) +/* 089024 800EFB74 26450028 */ addiu $a1, $s2, 0x28 +/* 089028 800EFB78 C6400018 */ lwc1 $f0, 0x18($s2) +/* 08902C 800EFB7C 3C014010 */ lui $at, 0x4010 +/* 089030 800EFB80 44811800 */ mtc1 $at, $f3 +/* 089034 800EFB84 44801000 */ mtc1 $zero, $f2 +/* 089038 800EFB88 3C038011 */ lui $v1, 0x8011 +/* 08903C 800EFB8C 8C63CFD8 */ lw $v1, -0x3028($v1) +/* 089040 800EFB90 46000021 */ cvt.d.s $f0, $f0 +/* 089044 800EFB94 000310C0 */ sll $v0, $v1, 3 +/* 089048 800EFB98 00431021 */ addu $v0, $v0, $v1 +/* 08904C 800EFB9C 00021080 */ sll $v0, $v0, 2 +/* 089050 800EFBA0 4620103E */ c.le.d $f2, $f0 +/* 089054 800EFBA4 00000000 */ nop +/* 089058 800EFBA8 45000003 */ bc1f .L800EFBB8 +/* 08905C 800EFBAC 0040182D */ daddu $v1, $v0, $zero +/* 089060 800EFBB0 0803BEEF */ j .L800EFBBC +/* 089064 800EFBB4 24430018 */ addiu $v1, $v0, 0x18 + +.L800EFBB8: +/* 089068 800EFBB8 24630004 */ addiu $v1, $v1, 4 +.L800EFBBC: +/* 08906C 800EFBBC 3C028010 */ lui $v0, 0x8010 +/* 089070 800EFBC0 24428348 */ addiu $v0, $v0, -0x7cb8 +/* 089074 800EFBC4 00431021 */ addu $v0, $v0, $v1 +/* 089078 800EFBC8 8C420000 */ lw $v0, ($v0) +/* 08907C 800EFBCC 0240202D */ daddu $a0, $s2, $zero +/* 089080 800EFBD0 0C00E2BF */ jal func_80038AFC +/* 089084 800EFBD4 ACA20000 */ sw $v0, ($a1) +/* 089088 800EFBD8 0803BF17 */ j .L800EFC5C +/* 08908C 800EFBDC 24050001 */ addiu $a1, $zero, 1 + +.L800EFBE0: +/* 089090 800EFBE0 C644003C */ lwc1 $f4, 0x3c($s2) +/* 089094 800EFBE4 C666002C */ lwc1 $f6, 0x2c($s3) +/* 089098 800EFBE8 46062001 */ sub.s $f0, $f4, $f6 +/* 08909C 800EFBEC 3C014014 */ lui $at, 0x4014 +/* 0890A0 800EFBF0 44811800 */ mtc1 $at, $f3 +/* 0890A4 800EFBF4 44801000 */ mtc1 $zero, $f2 +/* 0890A8 800EFBF8 46000021 */ cvt.d.s $f0, $f0 +/* 0890AC 800EFBFC 46200005 */ abs.d $f0, $f0 +/* 0890B0 800EFC00 4620103C */ c.lt.d $f2, $f0 +/* 0890B4 800EFC04 00000000 */ nop +/* 0890B8 800EFC08 45000009 */ bc1f .L800EFC30 +/* 0890BC 800EFC0C 00000000 */ nop +/* 0890C0 800EFC10 46043001 */ sub.s $f0, $f6, $f4 +/* 0890C4 800EFC14 3C013F00 */ lui $at, 0x3f00 +/* 0890C8 800EFC18 44811000 */ mtc1 $at, $f2 +/* 0890CC 800EFC1C 00000000 */ nop +/* 0890D0 800EFC20 46020002 */ mul.s $f0, $f0, $f2 +/* 0890D4 800EFC24 00000000 */ nop +/* 0890D8 800EFC28 46002000 */ add.s $f0, $f4, $f0 +/* 0890DC 800EFC2C E640003C */ swc1 $f0, 0x3c($s2) +.L800EFC30: +/* 0890E0 800EFC30 3C018010 */ lui $at, 0x8010 +/* 0890E4 800EFC34 C4208030 */ lwc1 $f0, -0x7fd0($at) +/* 0890E8 800EFC38 E6400018 */ swc1 $f0, 0x18($s2) +/* 0890EC 800EFC3C 3C018010 */ lui $at, 0x8010 +/* 0890F0 800EFC40 C4208034 */ lwc1 $f0, -0x7fcc($at) +/* 0890F4 800EFC44 8E450018 */ lw $a1, 0x18($s2) +/* 0890F8 800EFC48 44060000 */ mfc1 $a2, $f0 +/* 0890FC 800EFC4C 0240202D */ daddu $a0, $s2, $zero +/* 089100 800EFC50 0C00EA95 */ jal npc_move_heading +/* 089104 800EFC54 AE46000C */ sw $a2, 0xc($s2) +/* 089108 800EFC58 24050001 */ addiu $a1, $zero, 1 +.L800EFC5C: +/* 08910C 800EFC5C C6400018 */ lwc1 $f0, 0x18($s2) +/* 089110 800EFC60 3C014010 */ lui $at, 0x4010 +/* 089114 800EFC64 44811800 */ mtc1 $at, $f3 +/* 089118 800EFC68 44801000 */ mtc1 $zero, $f2 +/* 08911C 800EFC6C 46000021 */ cvt.d.s $f0, $f0 +/* 089120 800EFC70 4622003C */ c.lt.d $f0, $f2 +/* 089124 800EFC74 00000000 */ nop +/* 089128 800EFC78 45030001 */ bc1tl .L800EFC80 +/* 08912C 800EFC7C 0000282D */ daddu $a1, $zero, $zero +.L800EFC80: +/* 089130 800EFC80 0C00F598 */ jal func_8003D660 +/* 089134 800EFC84 0240202D */ daddu $a0, $s2, $zero +/* 089138 800EFC88 0803BF36 */ j .L800EFCD8 +/* 08913C 800EFC8C 00000000 */ nop + +.L800EFC90: +/* 089140 800EFC90 2403FFBF */ addiu $v1, $zero, -0x41 +/* 089144 800EFC94 8E420000 */ lw $v0, ($s2) +/* 089148 800EFC98 3C048011 */ lui $a0, 0x8011 +/* 08914C 800EFC9C 8C84CFD8 */ lw $a0, -0x3028($a0) +/* 089150 800EFCA0 00431024 */ and $v0, $v0, $v1 +/* 089154 800EFCA4 000418C0 */ sll $v1, $a0, 3 +/* 089158 800EFCA8 00641821 */ addu $v1, $v1, $a0 +/* 08915C 800EFCAC 00031880 */ sll $v1, $v1, 2 +/* 089160 800EFCB0 3C048011 */ lui $a0, 0x8011 +/* 089164 800EFCB4 2484CFCE */ addiu $a0, $a0, -0x3032 +/* 089168 800EFCB8 AE420000 */ sw $v0, ($s2) +/* 08916C 800EFCBC 94820000 */ lhu $v0, ($a0) +/* 089170 800EFCC0 3C018010 */ lui $at, 0x8010 +/* 089174 800EFCC4 00230821 */ addu $at, $at, $v1 +/* 089178 800EFCC8 8C23835C */ lw $v1, -0x7ca4($at) +/* 08917C 800EFCCC 24420001 */ addiu $v0, $v0, 1 +/* 089180 800EFCD0 A4820000 */ sh $v0, ($a0) +/* 089184 800EFCD4 AE430028 */ sw $v1, 0x28($s2) +.L800EFCD8: +/* 089188 800EFCD8 8FBF0044 */ lw $ra, 0x44($sp) +/* 08918C 800EFCDC 8FB40040 */ lw $s4, 0x40($sp) +/* 089190 800EFCE0 8FB3003C */ lw $s3, 0x3c($sp) +/* 089194 800EFCE4 8FB20038 */ lw $s2, 0x38($sp) +/* 089198 800EFCE8 8FB10034 */ lw $s1, 0x34($sp) +/* 08919C 800EFCEC 8FB00030 */ lw $s0, 0x30($sp) +/* 0891A0 800EFCF0 03E00008 */ jr $ra +/* 0891A4 800EFCF4 27BD0048 */ addiu $sp, $sp, 0x48 + +/* 0891A8 800EFCF8 00000000 */ nop +/* 0891AC 800EFCFC 00000000 */ nop diff --git a/papermario/asm/code_891b0_len_fb0.s b/papermario/asm/code_891b0_len_fb0.s new file mode 100644 index 0000000000..c5d75224b9 --- /dev/null +++ b/papermario/asm/code_891b0_len_fb0.s @@ -0,0 +1,1093 @@ +# %s disassembly and split file +# generated by n64split v%s - N64 ROM splitter + +# assembler directives +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches +.set gp=64 # allow use of 64-bit general purpose registers + +.include "globals.inc" + + +.section .text800EFD00, "ax" + +/* 0891B0 800EFD00 03E00008 */ jr $ra +/* 0891B4 800EFD04 00000000 */ nop + +func_800EFD08: +/* 0891B8 800EFD08 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 0891BC 800EFD0C AFB00010 */ sw $s0, 0x10($sp) +/* 0891C0 800EFD10 AFB10014 */ sw $s1, 0x14($sp) +/* 0891C4 800EFD14 3C118011 */ lui $s1, 0x8011 +/* 0891C8 800EFD18 2631EFC8 */ addiu $s1, $s1, -0x1038 +/* 0891CC 800EFD1C AFBF001C */ sw $ra, 0x1c($sp) +/* 0891D0 800EFD20 AFB20018 */ sw $s2, 0x18($sp) +/* 0891D4 800EFD24 822200B4 */ lb $v0, 0xb4($s1) +/* 0891D8 800EFD28 24120003 */ addiu $s2, $zero, 3 +/* 0891DC 800EFD2C 14520003 */ bne $v0, $s2, .L800EFD3C +/* 0891E0 800EFD30 0000802D */ daddu $s0, $zero, $zero +/* 0891E4 800EFD34 3C108011 */ lui $s0, 0x8011 +/* 0891E8 800EFD38 8E109480 */ lw $s0, -0x6b80($s0) +.L800EFD3C: +/* 0891EC 800EFD3C 3C048016 */ lui $a0, 0x8016 +/* 0891F0 800EFD40 9484A552 */ lhu $a0, -0x5aae($a0) +/* 0891F4 800EFD44 0C016F6A */ jal get_collider_type_by_id +/* 0891F8 800EFD48 00000000 */ nop +/* 0891FC 800EFD4C 822300B4 */ lb $v1, 0xb4($s1) +/* 089200 800EFD50 304200FF */ andi $v0, $v0, 0xff +/* 089204 800EFD54 3C018011 */ lui $at, 0x8011 +/* 089208 800EFD58 AC229480 */ sw $v0, -0x6b80($at) +/* 08920C 800EFD5C 54720001 */ bnel $v1, $s2, .L800EFD64 +/* 089210 800EFD60 0040802D */ daddu $s0, $v0, $zero +.L800EFD64: +/* 089214 800EFD64 2402000A */ addiu $v0, $zero, 0xa +/* 089218 800EFD68 14620008 */ bne $v1, $v0, .L800EFD8C +/* 08921C 800EFD6C 00000000 */ nop +/* 089220 800EFD70 8E220000 */ lw $v0, ($s1) +/* 089224 800EFD74 04410005 */ bgez $v0, .L800EFD8C +/* 089228 800EFD78 00000000 */ nop +/* 08922C 800EFD7C 3C028011 */ lui $v0, 0x8011 +/* 089230 800EFD80 8C42CFF0 */ lw $v0, -0x3010($v0) +/* 089234 800EFD84 3C018011 */ lui $at, 0x8011 +/* 089238 800EFD88 AC22CFF4 */ sw $v0, -0x300c($at) +.L800EFD8C: +/* 08923C 800EFD8C 862200C0 */ lh $v0, 0xc0($s1) +/* 089240 800EFD90 2603FFFF */ addiu $v1, $s0, -1 +/* 089244 800EFD94 3C018011 */ lui $at, 0x8011 +/* 089248 800EFD98 AC22CFF0 */ sw $v0, -0x3010($at) +/* 08924C 800EFD9C 2C620009 */ sltiu $v0, $v1, 9 +/* 089250 800EFDA0 1040001A */ beqz $v0, .L800EFE0C +/* 089254 800EFDA4 00031080 */ sll $v0, $v1, 2 +/* 089258 800EFDA8 3C018011 */ lui $at, 0x8011 +/* 08925C 800EFDAC 00220821 */ addu $at, $at, $v0 +/* 089260 800EFDB0 8C22C2E8 */ lw $v0, -0x3d18($at) +/* 089264 800EFDB4 00400008 */ jr $v0 +/* 089268 800EFDB8 00000000 */ nop +/* 08926C 800EFDBC 0C03C092 */ jal func_800F0248 +/* 089270 800EFDC0 00000000 */ nop +/* 089274 800EFDC4 0803BF85 */ j .L800EFE14 +/* 089278 800EFDC8 00000000 */ nop + +/* 08927C 800EFDCC 0C03C124 */ jal func_800F0490 +/* 089280 800EFDD0 00000000 */ nop +/* 089284 800EFDD4 0803BF85 */ j .L800EFE14 +/* 089288 800EFDD8 00000000 */ nop + +/* 08928C 800EFDDC 0C03C219 */ jal func_800F0864 +/* 089290 800EFDE0 00000000 */ nop +/* 089294 800EFDE4 0803BF85 */ j .L800EFE14 +/* 089298 800EFDE8 00000000 */ nop + +/* 08929C 800EFDEC 0C03C27B */ jal func_800F09EC +/* 0892A0 800EFDF0 00000000 */ nop +/* 0892A4 800EFDF4 0803BF85 */ j .L800EFE14 +/* 0892A8 800EFDF8 00000000 */ nop + +/* 0892AC 800EFDFC 0C03C2CF */ jal func_800F0B3C +/* 0892B0 800EFE00 00000000 */ nop +/* 0892B4 800EFE04 0803BF85 */ j .L800EFE14 +/* 0892B8 800EFE08 00000000 */ nop + +.L800EFE0C: +/* 0892BC 800EFE0C 0C03BF8B */ jal func_800EFE2C +/* 0892C0 800EFE10 00000000 */ nop +.L800EFE14: +/* 0892C4 800EFE14 8FBF001C */ lw $ra, 0x1c($sp) +/* 0892C8 800EFE18 8FB20018 */ lw $s2, 0x18($sp) +/* 0892CC 800EFE1C 8FB10014 */ lw $s1, 0x14($sp) +/* 0892D0 800EFE20 8FB00010 */ lw $s0, 0x10($sp) +/* 0892D4 800EFE24 03E00008 */ jr $ra +/* 0892D8 800EFE28 27BD0020 */ addiu $sp, $sp, 0x20 + +func_800EFE2C: +/* 0892DC 800EFE2C 27BDFFC8 */ addiu $sp, $sp, -0x38 +/* 0892E0 800EFE30 3C038007 */ lui $v1, 0x8007 +/* 0892E4 800EFE34 8C63419C */ lw $v1, 0x419c($v1) +/* 0892E8 800EFE38 AFB00030 */ sw $s0, 0x30($sp) +/* 0892EC 800EFE3C 3C108011 */ lui $s0, 0x8011 +/* 0892F0 800EFE40 2610EFC8 */ addiu $s0, $s0, -0x1038 +/* 0892F4 800EFE44 AFBF0034 */ sw $ra, 0x34($sp) +/* 0892F8 800EFE48 84620086 */ lh $v0, 0x86($v1) +/* 0892FC 800EFE4C 24080005 */ addiu $t0, $zero, 5 +/* 089300 800EFE50 14480004 */ bne $v0, $t0, .L800EFE64 +/* 089304 800EFE54 0000282D */ daddu $a1, $zero, $zero +/* 089308 800EFE58 8462008C */ lh $v0, 0x8c($v1) +/* 08930C 800EFE5C 38420002 */ xori $v0, $v0, 2 +/* 089310 800EFE60 2C450001 */ sltiu $a1, $v0, 1 +.L800EFE64: +/* 089314 800EFE64 820300B4 */ lb $v1, 0xb4($s0) +/* 089318 800EFE68 2402000A */ addiu $v0, $zero, 0xa +/* 08931C 800EFE6C 14620020 */ bne $v1, $v0, .L800EFEF0 +/* 089320 800EFE70 2402000E */ addiu $v0, $zero, 0xe +/* 089324 800EFE74 8E020000 */ lw $v0, ($s0) +/* 089328 800EFE78 0441001D */ bgez $v0, .L800EFEF0 +/* 08932C 800EFE7C 2402000E */ addiu $v0, $zero, 0xe +/* 089330 800EFE80 3C028011 */ lui $v0, 0x8011 +/* 089334 800EFE84 8C42CFF4 */ lw $v0, -0x300c($v0) +/* 089338 800EFE88 2842000A */ slti $v0, $v0, 0xa +/* 08933C 800EFE8C 14400018 */ bnez $v0, .L800EFEF0 +/* 089340 800EFE90 2402000E */ addiu $v0, $zero, 0xe +/* 089344 800EFE94 C6040028 */ lwc1 $f4, 0x28($s0) +/* 089348 800EFE98 C602002C */ lwc1 $f2, 0x2c($s0) +/* 08934C 800EFE9C 44800000 */ mtc1 $zero, $f0 +/* 089350 800EFEA0 C6060030 */ lwc1 $f6, 0x30($s0) +/* 089354 800EFEA4 10A00020 */ beqz $a1, .L800EFF28 +/* 089358 800EFEA8 46001080 */ add.s $f2, $f2, $f0 +/* 08935C 800EFEAC 24040003 */ addiu $a0, $zero, 3 +/* 089360 800EFEB0 44052000 */ mfc1 $a1, $f4 +/* 089364 800EFEB4 44061000 */ mfc1 $a2, $f2 +/* 089368 800EFEB8 44073000 */ mfc1 $a3, $f6 +/* 08936C 800EFEBC 3C014150 */ lui $at, 0x4150 +/* 089370 800EFEC0 44810000 */ mtc1 $at, $f0 +/* 089374 800EFEC4 3C014120 */ lui $at, 0x4120 +/* 089378 800EFEC8 44811000 */ mtc1 $at, $f2 +/* 08937C 800EFECC 3C013F80 */ lui $at, 0x3f80 +/* 089380 800EFED0 44812000 */ mtc1 $at, $f4 +/* 089384 800EFED4 2402001E */ addiu $v0, $zero, 0x1e +/* 089388 800EFED8 AFA8001C */ sw $t0, 0x1c($sp) +/* 08938C 800EFEDC AFA20020 */ sw $v0, 0x20($sp) +/* 089390 800EFEE0 E7A00010 */ swc1 $f0, 0x10($sp) +/* 089394 800EFEE4 E7A20014 */ swc1 $f2, 0x14($sp) +/* 089398 800EFEE8 0803C08C */ j .L800F0230 +/* 08939C 800EFEEC E7A40018 */ swc1 $f4, 0x18($sp) + +.L800EFEF0: +/* 0893A0 800EFEF0 10620003 */ beq $v1, $v0, .L800EFF00 +/* 0893A4 800EFEF4 24020010 */ addiu $v0, $zero, 0x10 +/* 0893A8 800EFEF8 14620029 */ bne $v1, $v0, .L800EFFA0 +/* 0893AC 800EFEFC 00000000 */ nop +.L800EFF00: +/* 0893B0 800EFF00 8E020000 */ lw $v0, ($s0) +/* 0893B4 800EFF04 30420400 */ andi $v0, $v0, 0x400 +/* 0893B8 800EFF08 10400025 */ beqz $v0, .L800EFFA0 +/* 0893BC 800EFF0C 00000000 */ nop +/* 0893C0 800EFF10 C6040028 */ lwc1 $f4, 0x28($s0) +/* 0893C4 800EFF14 C602002C */ lwc1 $f2, 0x2c($s0) +/* 0893C8 800EFF18 44800000 */ mtc1 $zero, $f0 +/* 0893CC 800EFF1C C6060030 */ lwc1 $f6, 0x30($s0) +/* 0893D0 800EFF20 14A0000B */ bnez $a1, .L800EFF50 +/* 0893D4 800EFF24 46001080 */ add.s $f2, $f2, $f0 +.L800EFF28: +/* 0893D8 800EFF28 44052000 */ mfc1 $a1, $f4 +/* 0893DC 800EFF2C 44061000 */ mfc1 $a2, $f2 +/* 0893E0 800EFF30 44073000 */ mfc1 $a3, $f6 +/* 0893E4 800EFF34 3C018011 */ lui $at, 0x8011 +/* 0893E8 800EFF38 C4209484 */ lwc1 $f0, -0x6b7c($at) +/* 0893EC 800EFF3C 0000202D */ daddu $a0, $zero, $zero +/* 0893F0 800EFF40 0C01BEB4 */ jal fx_walk_large +/* 0893F4 800EFF44 E7A00010 */ swc1 $f0, 0x10($sp) +/* 0893F8 800EFF48 0803C08E */ j .L800F0238 +/* 0893FC 800EFF4C 00000000 */ nop + +.L800EFF50: +/* 089400 800EFF50 24040003 */ addiu $a0, $zero, 3 +/* 089404 800EFF54 44052000 */ mfc1 $a1, $f4 +/* 089408 800EFF58 44061000 */ mfc1 $a2, $f2 +/* 08940C 800EFF5C 44073000 */ mfc1 $a3, $f6 +/* 089410 800EFF60 24020005 */ addiu $v0, $zero, 5 +/* 089414 800EFF64 AFA2001C */ sw $v0, 0x1c($sp) +/* 089418 800EFF68 24020028 */ addiu $v0, $zero, 0x28 +/* 08941C 800EFF6C AFA20020 */ sw $v0, 0x20($sp) +/* 089420 800EFF70 860200B2 */ lh $v0, 0xb2($s0) +/* 089424 800EFF74 3C014120 */ lui $at, 0x4120 +/* 089428 800EFF78 44811000 */ mtc1 $at, $f2 +/* 08942C 800EFF7C 3C013F80 */ lui $at, 0x3f80 +/* 089430 800EFF80 44812000 */ mtc1 $at, $f4 +/* 089434 800EFF84 44820000 */ mtc1 $v0, $f0 +/* 089438 800EFF88 00000000 */ nop +/* 08943C 800EFF8C 46800020 */ cvt.s.w $f0, $f0 +/* 089440 800EFF90 E7A00010 */ swc1 $f0, 0x10($sp) +/* 089444 800EFF94 E7A20014 */ swc1 $f2, 0x14($sp) +/* 089448 800EFF98 0803C08C */ j .L800F0230 +/* 08944C 800EFF9C E7A40018 */ swc1 $f4, 0x18($sp) + +.L800EFFA0: +/* 089450 800EFFA0 820300B4 */ lb $v1, 0xb4($s0) +/* 089454 800EFFA4 2402001A */ addiu $v0, $zero, 0x1a +/* 089458 800EFFA8 14620029 */ bne $v1, $v0, .L800F0050 +/* 08945C 800EFFAC 24020002 */ addiu $v0, $zero, 2 +/* 089460 800EFFB0 C6020054 */ lwc1 $f2, 0x54($s0) +/* 089464 800EFFB4 44800000 */ mtc1 $zero, $f0 +/* 089468 800EFFB8 00000000 */ nop +/* 08946C 800EFFBC 46001032 */ c.eq.s $f2, $f0 +/* 089470 800EFFC0 00000000 */ nop +/* 089474 800EFFC4 45010022 */ bc1t .L800F0050 +/* 089478 800EFFC8 00000000 */ nop +/* 08947C 800EFFCC 3C048011 */ lui $a0, 0x8011 +/* 089480 800EFFD0 24849488 */ addiu $a0, $a0, -0x6b78 +/* 089484 800EFFD4 94820000 */ lhu $v0, ($a0) +/* 089488 800EFFD8 24430001 */ addiu $v1, $v0, 1 +/* 08948C 800EFFDC 00021400 */ sll $v0, $v0, 0x10 +/* 089490 800EFFE0 00021403 */ sra $v0, $v0, 0x10 +/* 089494 800EFFE4 28420004 */ slti $v0, $v0, 4 +/* 089498 800EFFE8 14400093 */ bnez $v0, .L800F0238 +/* 08949C 800EFFEC A4830000 */ sh $v1, ($a0) +/* 0894A0 800EFFF0 24020002 */ addiu $v0, $zero, 2 +/* 0894A4 800EFFF4 10A0002C */ beqz $a1, .L800F00A8 +/* 0894A8 800EFFF8 A4820000 */ sh $v0, ($a0) +/* 0894AC 800EFFFC C60C0080 */ lwc1 $f12, 0x80($s0) +/* 0894B0 800F0000 0C00A6C9 */ jal clamp_angle +/* 0894B4 800F0004 00000000 */ nop +/* 0894B8 800F0008 3C0140C9 */ lui $at, 0x40c9 +/* 0894BC 800F000C 34210FD0 */ ori $at, $at, 0xfd0 +/* 0894C0 800F0010 44811000 */ mtc1 $at, $f2 +/* 0894C4 800F0014 00000000 */ nop +/* 0894C8 800F0018 46020002 */ mul.s $f0, $f0, $f2 +/* 0894CC 800F001C 00000000 */ nop +/* 0894D0 800F0020 27A50028 */ addiu $a1, $sp, 0x28 +/* 0894D4 800F0024 3C0143B4 */ lui $at, 0x43b4 +/* 0894D8 800F0028 44816000 */ mtc1 $at, $f12 +/* 0894DC 800F002C 27A6002C */ addiu $a2, $sp, 0x2c +/* 0894E0 800F0030 0C00A82D */ jal sin_cos_rad +/* 0894E4 800F0034 460C0303 */ div.s $f12, $f0, $f12 +/* 0894E8 800F0038 860200B2 */ lh $v0, 0xb2($s0) +/* 0894EC 800F003C C7A40028 */ lwc1 $f4, 0x28($sp) +/* 0894F0 800F0040 44823000 */ mtc1 $v0, $f6 +/* 0894F4 800F0044 00000000 */ nop +/* 0894F8 800F0048 0803C06D */ j .L800F01B4 +/* 0894FC 800F004C 468031A0 */ cvt.s.w $f6, $f6 + +.L800F0050: +/* 089500 800F0050 1062000A */ beq $v1, $v0, .L800F007C +/* 089504 800F0054 3C02FF00 */ lui $v0, 0xff00 +/* 089508 800F0058 8E0300B4 */ lw $v1, 0xb4($s0) +/* 08950C 800F005C 3442FF00 */ ori $v0, $v0, 0xff00 +/* 089510 800F0060 00621824 */ and $v1, $v1, $v0 +/* 089514 800F0064 3C021A00 */ lui $v0, 0x1a00 +/* 089518 800F0068 10620004 */ beq $v1, $v0, .L800F007C +/* 08951C 800F006C 24020004 */ addiu $v0, $zero, 4 +/* 089520 800F0070 3C018011 */ lui $at, 0x8011 +/* 089524 800F0074 0803C08E */ j .L800F0238 +/* 089528 800F0078 A4229488 */ sh $v0, -0x6b78($at) + +.L800F007C: +/* 08952C 800F007C 3C048011 */ lui $a0, 0x8011 +/* 089530 800F0080 24849488 */ addiu $a0, $a0, -0x6b78 +/* 089534 800F0084 94820000 */ lhu $v0, ($a0) +/* 089538 800F0088 24430001 */ addiu $v1, $v0, 1 +/* 08953C 800F008C 00021400 */ sll $v0, $v0, 0x10 +/* 089540 800F0090 00021403 */ sra $v0, $v0, 0x10 +/* 089544 800F0094 28420004 */ slti $v0, $v0, 4 +/* 089548 800F0098 14400067 */ bnez $v0, .L800F0238 +/* 08954C 800F009C A4830000 */ sh $v1, ($a0) +/* 089550 800F00A0 14A00034 */ bnez $a1, .L800F0174 +/* 089554 800F00A4 A4800000 */ sh $zero, ($a0) +.L800F00A8: +/* 089558 800F00A8 C60C0084 */ lwc1 $f12, 0x84($s0) +/* 08955C 800F00AC 0C00A6C9 */ jal clamp_angle +/* 089560 800F00B0 46006307 */ neg.s $f12, $f12 +/* 089564 800F00B4 3C0140C9 */ lui $at, 0x40c9 +/* 089568 800F00B8 34210FD0 */ ori $at, $at, 0xfd0 +/* 08956C 800F00BC 44811000 */ mtc1 $at, $f2 +/* 089570 800F00C0 00000000 */ nop +/* 089574 800F00C4 46020002 */ mul.s $f0, $f0, $f2 +/* 089578 800F00C8 00000000 */ nop +/* 08957C 800F00CC 27A50028 */ addiu $a1, $sp, 0x28 +/* 089580 800F00D0 3C0143B4 */ lui $at, 0x43b4 +/* 089584 800F00D4 44816000 */ mtc1 $at, $f12 +/* 089588 800F00D8 27A6002C */ addiu $a2, $sp, 0x2c +/* 08958C 800F00DC 0C00A82D */ jal sin_cos_rad +/* 089590 800F00E0 460C0303 */ div.s $f12, $f0, $f12 +/* 089594 800F00E4 860200B2 */ lh $v0, 0xb2($s0) +/* 089598 800F00E8 C7AA0028 */ lwc1 $f10, 0x28($sp) +/* 08959C 800F00EC 44821000 */ mtc1 $v0, $f2 +/* 0895A0 800F00F0 00000000 */ nop +/* 0895A4 800F00F4 468010A0 */ cvt.s.w $f2, $f2 +/* 0895A8 800F00F8 460A1182 */ mul.s $f6, $f2, $f10 +/* 0895AC 800F00FC 00000000 */ nop +/* 0895B0 800F0100 C7A8002C */ lwc1 $f8, 0x2c($sp) +/* 0895B4 800F0104 46081082 */ mul.s $f2, $f2, $f8 +/* 0895B8 800F0108 00000000 */ nop +/* 0895BC 800F010C 3C013E4C */ lui $at, 0x3e4c +/* 0895C0 800F0110 3421CCCD */ ori $at, $at, 0xcccd +/* 0895C4 800F0114 44810000 */ mtc1 $at, $f0 +/* 0895C8 800F0118 00000000 */ nop +/* 0895CC 800F011C 46003182 */ mul.s $f6, $f6, $f0 +/* 0895D0 800F0120 00000000 */ nop +/* 0895D4 800F0124 46001082 */ mul.s $f2, $f2, $f0 +/* 0895D8 800F0128 00000000 */ nop +/* 0895DC 800F012C C604002C */ lwc1 $f4, 0x2c($s0) +/* 0895E0 800F0130 3C013FC0 */ lui $at, 0x3fc0 +/* 0895E4 800F0134 44810000 */ mtc1 $at, $f0 +/* 0895E8 800F0138 00000000 */ nop +/* 0895EC 800F013C 46002100 */ add.s $f4, $f4, $f0 +/* 0895F0 800F0140 C6000028 */ lwc1 $f0, 0x28($s0) +/* 0895F4 800F0144 46060000 */ add.s $f0, $f0, $f6 +/* 0895F8 800F0148 44050000 */ mfc1 $a1, $f0 +/* 0895FC 800F014C C6000030 */ lwc1 $f0, 0x30($s0) +/* 089600 800F0150 46020000 */ add.s $f0, $f0, $f2 +/* 089604 800F0154 44062000 */ mfc1 $a2, $f4 +/* 089608 800F0158 44070000 */ mfc1 $a3, $f0 +/* 08960C 800F015C 0000202D */ daddu $a0, $zero, $zero +/* 089610 800F0160 E7AA0010 */ swc1 $f10, 0x10($sp) +/* 089614 800F0164 0C01BECC */ jal fx_walk_normal +/* 089618 800F0168 E7A80014 */ swc1 $f8, 0x14($sp) +/* 08961C 800F016C 0803C08E */ j .L800F0238 +/* 089620 800F0170 00000000 */ nop + +.L800F0174: +/* 089624 800F0174 0C00A6C9 */ jal clamp_angle +/* 089628 800F0178 C60C0080 */ lwc1 $f12, 0x80($s0) +/* 08962C 800F017C 3C0140C9 */ lui $at, 0x40c9 +/* 089630 800F0180 34210FD0 */ ori $at, $at, 0xfd0 +/* 089634 800F0184 44811000 */ mtc1 $at, $f2 +/* 089638 800F0188 00000000 */ nop +/* 08963C 800F018C 46020002 */ mul.s $f0, $f0, $f2 +/* 089640 800F0190 00000000 */ nop +/* 089644 800F0194 27A50028 */ addiu $a1, $sp, 0x28 +/* 089648 800F0198 3C0143B4 */ lui $at, 0x43b4 +/* 08964C 800F019C 44816000 */ mtc1 $at, $f12 +/* 089650 800F01A0 27A6002C */ addiu $a2, $sp, 0x2c +/* 089654 800F01A4 0C00A82D */ jal sin_cos_rad +/* 089658 800F01A8 460C0303 */ div.s $f12, $f0, $f12 +/* 08965C 800F01AC C6060054 */ lwc1 $f6, 0x54($s0) +/* 089660 800F01B0 C7A40028 */ lwc1 $f4, 0x28($sp) +.L800F01B4: +/* 089664 800F01B4 46043102 */ mul.s $f4, $f6, $f4 +/* 089668 800F01B8 00000000 */ nop +/* 08966C 800F01BC C602002C */ lwc1 $f2, 0x2c($s0) +/* 089670 800F01C0 3C013FC0 */ lui $at, 0x3fc0 +/* 089674 800F01C4 44810000 */ mtc1 $at, $f0 +/* 089678 800F01C8 00000000 */ nop +/* 08967C 800F01CC 46001080 */ add.s $f2, $f2, $f0 +/* 089680 800F01D0 C7A0002C */ lwc1 $f0, 0x2c($sp) +/* 089684 800F01D4 24020005 */ addiu $v0, $zero, 5 +/* 089688 800F01D8 AFA2001C */ sw $v0, 0x1c($sp) +/* 08968C 800F01DC 46003182 */ mul.s $f6, $f6, $f0 +/* 089690 800F01E0 00000000 */ nop +/* 089694 800F01E4 3C014150 */ lui $at, 0x4150 +/* 089698 800F01E8 44810000 */ mtc1 $at, $f0 +/* 08969C 800F01EC 44061000 */ mfc1 $a2, $f2 +/* 0896A0 800F01F0 C6020028 */ lwc1 $f2, 0x28($s0) +/* 0896A4 800F01F4 2402001E */ addiu $v0, $zero, 0x1e +/* 0896A8 800F01F8 AFA20020 */ sw $v0, 0x20($sp) +/* 0896AC 800F01FC E7A00010 */ swc1 $f0, 0x10($sp) +/* 0896B0 800F0200 46041080 */ add.s $f2, $f2, $f4 +/* 0896B4 800F0204 C6000030 */ lwc1 $f0, 0x30($s0) +/* 0896B8 800F0208 3C013F80 */ lui $at, 0x3f80 +/* 0896BC 800F020C 44812000 */ mtc1 $at, $f4 +/* 0896C0 800F0210 46060000 */ add.s $f0, $f0, $f6 +/* 0896C4 800F0214 44051000 */ mfc1 $a1, $f2 +/* 0896C8 800F0218 3C014120 */ lui $at, 0x4120 +/* 0896CC 800F021C 44811000 */ mtc1 $at, $f2 +/* 0896D0 800F0220 44070000 */ mfc1 $a3, $f0 +/* 0896D4 800F0224 24040003 */ addiu $a0, $zero, 3 +/* 0896D8 800F0228 E7A40018 */ swc1 $f4, 0x18($sp) +/* 0896DC 800F022C E7A20014 */ swc1 $f2, 0x14($sp) +.L800F0230: +/* 0896E0 800F0230 0C01C8D4 */ jal func_80072350 +/* 0896E4 800F0234 00000000 */ nop +.L800F0238: +/* 0896E8 800F0238 8FBF0034 */ lw $ra, 0x34($sp) +/* 0896EC 800F023C 8FB00030 */ lw $s0, 0x30($sp) +/* 0896F0 800F0240 03E00008 */ jr $ra +/* 0896F4 800F0244 27BD0038 */ addiu $sp, $sp, 0x38 + +func_800F0248: +/* 0896F8 800F0248 27BDFFB8 */ addiu $sp, $sp, -0x48 +/* 0896FC 800F024C AFB00020 */ sw $s0, 0x20($sp) +/* 089700 800F0250 3C108011 */ lui $s0, 0x8011 +/* 089704 800F0254 2610EFC8 */ addiu $s0, $s0, -0x1038 +/* 089708 800F0258 AFBF0028 */ sw $ra, 0x28($sp) +/* 08970C 800F025C AFB10024 */ sw $s1, 0x24($sp) +/* 089710 800F0260 F7B80040 */ sdc1 $f24, 0x40($sp) +/* 089714 800F0264 F7B60038 */ sdc1 $f22, 0x38($sp) +/* 089718 800F0268 F7B40030 */ sdc1 $f20, 0x30($sp) +/* 08971C 800F026C 820300B4 */ lb $v1, 0xb4($s0) +/* 089720 800F0270 24020003 */ addiu $v0, $zero, 3 +/* 089724 800F0274 1462001B */ bne $v1, $v0, .L800F02E4 +/* 089728 800F0278 24020001 */ addiu $v0, $zero, 1 +/* 08972C 800F027C 860300C0 */ lh $v1, 0xc0($s0) +/* 089730 800F0280 14620018 */ bne $v1, $v0, .L800F02E4 +/* 089734 800F0284 24020005 */ addiu $v0, $zero, 5 +/* 089738 800F0288 3C118011 */ lui $s1, 0x8011 +/* 08973C 800F028C 26319492 */ addiu $s1, $s1, -0x6b6e +/* 089740 800F0290 86230000 */ lh $v1, ($s1) +/* 089744 800F0294 14620013 */ bne $v1, $v0, .L800F02E4 +/* 089748 800F0298 00000000 */ nop +/* 08974C 800F029C C60C0028 */ lwc1 $f12, 0x28($s0) +/* 089750 800F02A0 8E060030 */ lw $a2, 0x30($s0) +/* 089754 800F02A4 C600002C */ lwc1 $f0, 0x2c($s0) +/* 089758 800F02A8 3C014160 */ lui $at, 0x4160 +/* 08975C 800F02AC 44817000 */ mtc1 $at, $f14 +/* 089760 800F02B0 3C108011 */ lui $s0, 0x8011 +/* 089764 800F02B4 2610948C */ addiu $s0, $s0, -0x6b74 +/* 089768 800F02B8 8E070000 */ lw $a3, ($s0) +/* 08976C 800F02BC 0C01BEE4 */ jal func_8006FB90 +/* 089770 800F02C0 460E0380 */ add.s $f14, $f0, $f14 +/* 089774 800F02C4 C6000000 */ lwc1 $f0, ($s0) +/* 089778 800F02C8 3C01420C */ lui $at, 0x420c +/* 08977C 800F02CC 44816000 */ mtc1 $at, $f12 +/* 089780 800F02D0 0C00A6C9 */ jal clamp_angle +/* 089784 800F02D4 460C0300 */ add.s $f12, $f0, $f12 +/* 089788 800F02D8 E6000000 */ swc1 $f0, ($s0) +/* 08978C 800F02DC 0803C11C */ j .L800F0470 +/* 089790 800F02E0 A6200000 */ sh $zero, ($s1) + +.L800F02E4: +/* 089794 800F02E4 3C038011 */ lui $v1, 0x8011 +/* 089798 800F02E8 24639492 */ addiu $v1, $v1, -0x6b6e +/* 08979C 800F02EC 94620000 */ lhu $v0, ($v1) +/* 0897A0 800F02F0 24420001 */ addiu $v0, $v0, 1 +/* 0897A4 800F02F4 A4620000 */ sh $v0, ($v1) +/* 0897A8 800F02F8 00021400 */ sll $v0, $v0, 0x10 +/* 0897AC 800F02FC 00021403 */ sra $v0, $v0, 0x10 +/* 0897B0 800F0300 28420006 */ slti $v0, $v0, 6 +/* 0897B4 800F0304 14400002 */ bnez $v0, .L800F0310 +/* 0897B8 800F0308 24020005 */ addiu $v0, $zero, 5 +/* 0897BC 800F030C A4620000 */ sh $v0, ($v1) +.L800F0310: +/* 0897C0 800F0310 920200B4 */ lbu $v0, 0xb4($s0) +/* 0897C4 800F0314 2442FFFF */ addiu $v0, $v0, -1 +/* 0897C8 800F0318 2C420002 */ sltiu $v0, $v0, 2 +/* 0897CC 800F031C 1440000A */ bnez $v0, .L800F0348 +/* 0897D0 800F0320 3C02FF00 */ lui $v0, 0xff00 +/* 0897D4 800F0324 8E0300B4 */ lw $v1, 0xb4($s0) +/* 0897D8 800F0328 3442FF00 */ ori $v0, $v0, 0xff00 +/* 0897DC 800F032C 00621824 */ and $v1, $v1, $v0 +/* 0897E0 800F0330 3C021A00 */ lui $v0, 0x1a00 +/* 0897E4 800F0334 10620004 */ beq $v1, $v0, .L800F0348 +/* 0897E8 800F0338 00000000 */ nop +/* 0897EC 800F033C 3C018011 */ lui $at, 0x8011 +/* 0897F0 800F0340 0803C11C */ j .L800F0470 +/* 0897F4 800F0344 A4209490 */ sh $zero, -0x6b70($at) + +.L800F0348: +/* 0897F8 800F0348 3C048011 */ lui $a0, 0x8011 +/* 0897FC 800F034C 24849490 */ addiu $a0, $a0, -0x6b70 +/* 089800 800F0350 94820000 */ lhu $v0, ($a0) +/* 089804 800F0354 24430001 */ addiu $v1, $v0, 1 +/* 089808 800F0358 00021400 */ sll $v0, $v0, 0x10 +/* 08980C 800F035C 18400044 */ blez $v0, .L800F0470 +/* 089810 800F0360 A4830000 */ sh $v1, ($a0) +/* 089814 800F0364 C60C0084 */ lwc1 $f12, 0x84($s0) +/* 089818 800F0368 A4800000 */ sh $zero, ($a0) +/* 08981C 800F036C 0C00A6C9 */ jal clamp_angle +/* 089820 800F0370 46006307 */ neg.s $f12, $f12 +/* 089824 800F0374 3C0140C9 */ lui $at, 0x40c9 +/* 089828 800F0378 34210FD0 */ ori $at, $at, 0xfd0 +/* 08982C 800F037C 44811000 */ mtc1 $at, $f2 +/* 089830 800F0380 00000000 */ nop +/* 089834 800F0384 46020002 */ mul.s $f0, $f0, $f2 +/* 089838 800F0388 00000000 */ nop +/* 08983C 800F038C 27A50018 */ addiu $a1, $sp, 0x18 +/* 089840 800F0390 3C0143B4 */ lui $at, 0x43b4 +/* 089844 800F0394 44816000 */ mtc1 $at, $f12 +/* 089848 800F0398 27A6001C */ addiu $a2, $sp, 0x1c +/* 08984C 800F039C 0C00A82D */ jal sin_cos_rad +/* 089850 800F03A0 460C0303 */ div.s $f12, $f0, $f12 +/* 089854 800F03A4 860200B2 */ lh $v0, 0xb2($s0) +/* 089858 800F03A8 C7A20018 */ lwc1 $f2, 0x18($sp) +/* 08985C 800F03AC 44822000 */ mtc1 $v0, $f4 +/* 089860 800F03B0 00000000 */ nop +/* 089864 800F03B4 46802120 */ cvt.s.w $f4, $f4 +/* 089868 800F03B8 46022082 */ mul.s $f2, $f4, $f2 +/* 08986C 800F03BC 00000000 */ nop +/* 089870 800F03C0 C7A0001C */ lwc1 $f0, 0x1c($sp) +/* 089874 800F03C4 46002102 */ mul.s $f4, $f4, $f0 +/* 089878 800F03C8 00000000 */ nop +/* 08987C 800F03CC 3C01BECC */ lui $at, 0xbecc +/* 089880 800F03D0 3421CCCD */ ori $at, $at, 0xcccd +/* 089884 800F03D4 44810000 */ mtc1 $at, $f0 +/* 089888 800F03D8 00000000 */ nop +/* 08988C 800F03DC 46001082 */ mul.s $f2, $f2, $f0 +/* 089890 800F03E0 00000000 */ nop +/* 089894 800F03E4 46002102 */ mul.s $f4, $f4, $f0 +/* 089898 800F03E8 00000000 */ nop +/* 08989C 800F03EC C6000028 */ lwc1 $f0, 0x28($s0) +/* 0898A0 800F03F0 46020600 */ add.s $f24, $f0, $f2 +/* 0898A4 800F03F4 C6000030 */ lwc1 $f0, 0x30($s0) +/* 0898A8 800F03F8 C602002C */ lwc1 $f2, 0x2c($s0) +/* 0898AC 800F03FC 46040580 */ add.s $f22, $f0, $f4 +/* 0898B0 800F0400 3C014178 */ lui $at, 0x4178 +/* 0898B4 800F0404 44810000 */ mtc1 $at, $f0 +/* 0898B8 800F0408 2404000A */ addiu $a0, $zero, 0xa +/* 0898BC 800F040C 0C00A67F */ jal rand_int +/* 0898C0 800F0410 46001500 */ add.s $f20, $f2, $f0 +/* 0898C4 800F0414 0000202D */ daddu $a0, $zero, $zero +/* 0898C8 800F0418 44821000 */ mtc1 $v0, $f2 +/* 0898CC 800F041C 00000000 */ nop +/* 0898D0 800F0420 468010A0 */ cvt.s.w $f2, $f2 +/* 0898D4 800F0424 C6000084 */ lwc1 $f0, 0x84($s0) +/* 0898D8 800F0428 3C108011 */ lui $s0, 0x8011 +/* 0898DC 800F042C 26109494 */ addiu $s0, $s0, -0x6b6c +/* 0898E0 800F0430 4405C000 */ mfc1 $a1, $f24 +/* 0898E4 800F0434 4407B000 */ mfc1 $a3, $f22 +/* 0898E8 800F0438 46000007 */ neg.s $f0, $f0 +/* 0898EC 800F043C 46020000 */ add.s $f0, $f0, $f2 +/* 0898F0 800F0440 3C0140A0 */ lui $at, 0x40a0 +/* 0898F4 800F0444 44811000 */ mtc1 $at, $f2 +/* 0898F8 800F0448 4406A000 */ mfc1 $a2, $f20 +/* 0898FC 800F044C 46020001 */ sub.s $f0, $f0, $f2 +/* 089900 800F0450 C6020000 */ lwc1 $f2, ($s0) +/* 089904 800F0454 468010A0 */ cvt.s.w $f2, $f2 +/* 089908 800F0458 E7A20014 */ swc1 $f2, 0x14($sp) +/* 08990C 800F045C 0C01BEFC */ jal func_8006FBF0 +/* 089910 800F0460 E7A00010 */ swc1 $f0, 0x10($sp) +/* 089914 800F0464 8E020000 */ lw $v0, ($s0) +/* 089918 800F0468 2C420001 */ sltiu $v0, $v0, 1 +/* 08991C 800F046C AE020000 */ sw $v0, ($s0) +.L800F0470: +/* 089920 800F0470 8FBF0028 */ lw $ra, 0x28($sp) +/* 089924 800F0474 8FB10024 */ lw $s1, 0x24($sp) +/* 089928 800F0478 8FB00020 */ lw $s0, 0x20($sp) +/* 08992C 800F047C D7B80040 */ ldc1 $f24, 0x40($sp) +/* 089930 800F0480 D7B60038 */ ldc1 $f22, 0x38($sp) +/* 089934 800F0484 D7B40030 */ ldc1 $f20, 0x30($sp) +/* 089938 800F0488 03E00008 */ jr $ra +/* 08993C 800F048C 27BD0048 */ addiu $sp, $sp, 0x48 + +func_800F0490: +/* 089940 800F0490 27BDFFB0 */ addiu $sp, $sp, -0x50 +/* 089944 800F0494 3C028011 */ lui $v0, 0x8011 +/* 089948 800F0498 244294A0 */ addiu $v0, $v0, -0x6b60 +/* 08994C 800F049C AFBF0028 */ sw $ra, 0x28($sp) +/* 089950 800F04A0 AFB30024 */ sw $s3, 0x24($sp) +/* 089954 800F04A4 AFB20020 */ sw $s2, 0x20($sp) +/* 089958 800F04A8 AFB1001C */ sw $s1, 0x1c($sp) +/* 08995C 800F04AC AFB00018 */ sw $s0, 0x18($sp) +/* 089960 800F04B0 F7BA0048 */ sdc1 $f26, 0x48($sp) +/* 089964 800F04B4 F7B80040 */ sdc1 $f24, 0x40($sp) +/* 089968 800F04B8 F7B60038 */ sdc1 $f22, 0x38($sp) +/* 08996C 800F04BC F7B40030 */ sdc1 $f20, 0x30($sp) +/* 089970 800F04C0 C4400000 */ lwc1 $f0, ($v0) +/* 089974 800F04C4 3C013DCC */ lui $at, 0x3dcc +/* 089978 800F04C8 3421CCCD */ ori $at, $at, 0xcccd +/* 08997C 800F04CC 44811000 */ mtc1 $at, $f2 +/* 089980 800F04D0 00000000 */ nop +/* 089984 800F04D4 46020000 */ add.s $f0, $f0, $f2 +/* 089988 800F04D8 3C118011 */ lui $s1, 0x8011 +/* 08998C 800F04DC 2631EFC8 */ addiu $s1, $s1, -0x1038 +/* 089990 800F04E0 E4400000 */ swc1 $f0, ($v0) +/* 089994 800F04E4 822300B4 */ lb $v1, 0xb4($s1) +/* 089998 800F04E8 2402000A */ addiu $v0, $zero, 0xa +/* 08999C 800F04EC 14620004 */ bne $v1, $v0, .L800F0500 +/* 0899A0 800F04F0 2402000E */ addiu $v0, $zero, 0xe +/* 0899A4 800F04F4 8E220000 */ lw $v0, ($s1) +/* 0899A8 800F04F8 04400009 */ bltz $v0, .L800F0520 +/* 0899AC 800F04FC 2402000E */ addiu $v0, $zero, 0xe +.L800F0500: +/* 0899B0 800F0500 10620003 */ beq $v1, $v0, .L800F0510 +/* 0899B4 800F0504 24020010 */ addiu $v0, $zero, 0x10 +/* 0899B8 800F0508 14620073 */ bne $v1, $v0, .L800F06D8 +/* 0899BC 800F050C 00000000 */ nop +.L800F0510: +/* 0899C0 800F0510 8E220000 */ lw $v0, ($s1) +/* 0899C4 800F0514 30420400 */ andi $v0, $v0, 0x400 +/* 0899C8 800F0518 1040006F */ beqz $v0, .L800F06D8 +/* 0899CC 800F051C 00000000 */ nop +.L800F0520: +/* 0899D0 800F0520 3C028011 */ lui $v0, 0x8011 +/* 0899D4 800F0524 8C42CFF4 */ lw $v0, -0x300c($v0) +/* 0899D8 800F0528 2842000A */ slti $v0, $v0, 0xa +/* 0899DC 800F052C 1440006A */ bnez $v0, .L800F06D8 +/* 0899E0 800F0530 00000000 */ nop +/* 0899E4 800F0534 3C108011 */ lui $s0, 0x8011 +/* 0899E8 800F0538 26109498 */ addiu $s0, $s0, -0x6b68 +/* 0899EC 800F053C C62E002C */ lwc1 $f14, 0x2c($s1) +/* 0899F0 800F0540 3C014160 */ lui $at, 0x4160 +/* 0899F4 800F0544 44810000 */ mtc1 $at, $f0 +/* 0899F8 800F0548 C62C0028 */ lwc1 $f12, 0x28($s1) +/* 0899FC 800F054C 46007380 */ add.s $f14, $f14, $f0 +/* 089A00 800F0550 3C0140A0 */ lui $at, 0x40a0 +/* 089A04 800F0554 44810000 */ mtc1 $at, $f0 +/* 089A08 800F0558 8E260030 */ lw $a2, 0x30($s1) +/* 089A0C 800F055C 8E070000 */ lw $a3, ($s0) +/* 089A10 800F0560 0C01BF14 */ jal func_8006FC50 +/* 089A14 800F0564 46007381 */ sub.s $f14, $f14, $f0 +/* 089A18 800F0568 C6000000 */ lwc1 $f0, ($s0) +/* 089A1C 800F056C 3C01420C */ lui $at, 0x420c +/* 089A20 800F0570 44816000 */ mtc1 $at, $f12 +/* 089A24 800F0574 0000982D */ daddu $s3, $zero, $zero +/* 089A28 800F0578 460C0300 */ add.s $f12, $f0, $f12 +/* 089A2C 800F057C 3C01BE99 */ lui $at, 0xbe99 +/* 089A30 800F0580 3421999A */ ori $at, $at, 0x999a +/* 089A34 800F0584 4481D000 */ mtc1 $at, $f26 +/* 089A38 800F0588 0C00A6C9 */ jal clamp_angle +/* 089A3C 800F058C 0260902D */ daddu $s2, $s3, $zero +/* 089A40 800F0590 E6000000 */ swc1 $f0, ($s0) +.L800F0594: +/* 089A44 800F0594 0C00A67F */ jal rand_int +/* 089A48 800F0598 2404000A */ addiu $a0, $zero, 0xa +/* 089A4C 800F059C 2442FFFB */ addiu $v0, $v0, -5 +/* 089A50 800F05A0 4482B000 */ mtc1 $v0, $f22 +/* 089A54 800F05A4 00000000 */ nop +/* 089A58 800F05A8 4680B5A0 */ cvt.s.w $f22, $f22 +/* 089A5C 800F05AC 0C00A67F */ jal rand_int +/* 089A60 800F05B0 2404000A */ addiu $a0, $zero, 0xa +/* 089A64 800F05B4 4616B082 */ mul.s $f2, $f22, $f22 +/* 089A68 800F05B8 00000000 */ nop +/* 089A6C 800F05BC 2442FFFB */ addiu $v0, $v0, -5 +/* 089A70 800F05C0 4482C000 */ mtc1 $v0, $f24 +/* 089A74 800F05C4 00000000 */ nop +/* 089A78 800F05C8 4680C620 */ cvt.s.w $f24, $f24 +/* 089A7C 800F05CC 4618C102 */ mul.s $f4, $f24, $f24 +/* 089A80 800F05D0 00000000 */ nop +/* 089A84 800F05D4 C62C0084 */ lwc1 $f12, 0x84($s1) +/* 089A88 800F05D8 44920000 */ mtc1 $s2, $f0 +/* 089A8C 800F05DC 00000000 */ nop +/* 089A90 800F05E0 46800020 */ cvt.s.w $f0, $f0 +/* 089A94 800F05E4 46006307 */ neg.s $f12, $f12 +/* 089A98 800F05E8 46006300 */ add.s $f12, $f12, $f0 +/* 089A9C 800F05EC 3C01C000 */ lui $at, 0xc000 +/* 089AA0 800F05F0 4481A000 */ mtc1 $at, $f20 +/* 089AA4 800F05F4 3C0140A0 */ lui $at, 0x40a0 +/* 089AA8 800F05F8 44810000 */ mtc1 $at, $f0 +/* 089AAC 800F05FC 46041080 */ add.s $f2, $f2, $f4 +/* 089AB0 800F0600 3C018011 */ lui $at, 0x8011 +/* 089AB4 800F0604 A420949C */ sh $zero, -0x6b64($at) +/* 089AB8 800F0608 46001083 */ div.s $f2, $f2, $f0 +/* 089ABC 800F060C 0C00A6C9 */ jal clamp_angle +/* 089AC0 800F0610 4602A501 */ sub.s $f20, $f20, $f2 +/* 089AC4 800F0614 3C0140C9 */ lui $at, 0x40c9 +/* 089AC8 800F0618 34210FD0 */ ori $at, $at, 0xfd0 +/* 089ACC 800F061C 44811000 */ mtc1 $at, $f2 +/* 089AD0 800F0620 00000000 */ nop +/* 089AD4 800F0624 46020002 */ mul.s $f0, $f0, $f2 +/* 089AD8 800F0628 00000000 */ nop +/* 089ADC 800F062C 27A50010 */ addiu $a1, $sp, 0x10 +/* 089AE0 800F0630 3C0143B4 */ lui $at, 0x43b4 +/* 089AE4 800F0634 44816000 */ mtc1 $at, $f12 +/* 089AE8 800F0638 27A60014 */ addiu $a2, $sp, 0x14 +/* 089AEC 800F063C 0C00A82D */ jal sin_cos_rad +/* 089AF0 800F0640 460C0303 */ div.s $f12, $f0, $f12 +/* 089AF4 800F0644 862200B2 */ lh $v0, 0xb2($s1) +/* 089AF8 800F0648 C7A40010 */ lwc1 $f4, 0x10($sp) +/* 089AFC 800F064C 44823000 */ mtc1 $v0, $f6 +/* 089B00 800F0650 00000000 */ nop +/* 089B04 800F0654 468031A0 */ cvt.s.w $f6, $f6 +/* 089B08 800F0658 46043102 */ mul.s $f4, $f6, $f4 +/* 089B0C 800F065C 00000000 */ nop +/* 089B10 800F0660 C7A00014 */ lwc1 $f0, 0x14($sp) +/* 089B14 800F0664 46003182 */ mul.s $f6, $f6, $f0 +/* 089B18 800F0668 00000000 */ nop +/* 089B1C 800F066C 3C014178 */ lui $at, 0x4178 +/* 089B20 800F0670 44811000 */ mtc1 $at, $f2 +/* 089B24 800F0674 C620002C */ lwc1 $f0, 0x2c($s1) +/* 089B28 800F0678 46020000 */ add.s $f0, $f0, $f2 +/* 089B2C 800F067C 46140000 */ add.s $f0, $f0, $f20 +/* 089B30 800F0680 461A2102 */ mul.s $f4, $f4, $f26 +/* 089B34 800F0684 00000000 */ nop +/* 089B38 800F0688 44060000 */ mfc1 $a2, $f0 +/* 089B3C 800F068C C6200028 */ lwc1 $f0, 0x28($s1) +/* 089B40 800F0690 46040000 */ add.s $f0, $f0, $f4 +/* 089B44 800F0694 46160000 */ add.s $f0, $f0, $f22 +/* 089B48 800F0698 461A3182 */ mul.s $f6, $f6, $f26 +/* 089B4C 800F069C 00000000 */ nop +/* 089B50 800F06A0 44050000 */ mfc1 $a1, $f0 +/* 089B54 800F06A4 C6200030 */ lwc1 $f0, 0x30($s1) +/* 089B58 800F06A8 46060000 */ add.s $f0, $f0, $f6 +/* 089B5C 800F06AC 46180000 */ add.s $f0, $f0, $f24 +/* 089B60 800F06B0 2652005A */ addiu $s2, $s2, 0x5a +/* 089B64 800F06B4 26730001 */ addiu $s3, $s3, 1 +/* 089B68 800F06B8 44070000 */ mfc1 $a3, $f0 +/* 089B6C 800F06BC 0C01BF2C */ jal func_8006FCB0 +/* 089B70 800F06C0 0000202D */ daddu $a0, $zero, $zero +/* 089B74 800F06C4 2A620004 */ slti $v0, $s3, 4 +/* 089B78 800F06C8 1040005B */ beqz $v0, .L800F0838 +/* 089B7C 800F06CC 00000000 */ nop +/* 089B80 800F06D0 0803C165 */ j .L800F0594 +/* 089B84 800F06D4 00000000 */ nop + +.L800F06D8: +/* 089B88 800F06D8 922200B4 */ lbu $v0, 0xb4($s1) +/* 089B8C 800F06DC 2442FFFF */ addiu $v0, $v0, -1 +/* 089B90 800F06E0 2C420002 */ sltiu $v0, $v0, 2 +/* 089B94 800F06E4 1440000A */ bnez $v0, .L800F0710 +/* 089B98 800F06E8 3C02FF00 */ lui $v0, 0xff00 +/* 089B9C 800F06EC 8E2300B4 */ lw $v1, 0xb4($s1) +/* 089BA0 800F06F0 3442FF00 */ ori $v0, $v0, 0xff00 +/* 089BA4 800F06F4 00621824 */ and $v1, $v1, $v0 +/* 089BA8 800F06F8 3C021A00 */ lui $v0, 0x1a00 +/* 089BAC 800F06FC 10620004 */ beq $v1, $v0, .L800F0710 +/* 089BB0 800F0700 00000000 */ nop +/* 089BB4 800F0704 3C018011 */ lui $at, 0x8011 +/* 089BB8 800F0708 0803C20E */ j .L800F0838 +/* 089BBC 800F070C A420949C */ sh $zero, -0x6b64($at) + +.L800F0710: +/* 089BC0 800F0710 0C00A67F */ jal rand_int +/* 089BC4 800F0714 2404000A */ addiu $a0, $zero, 0xa +/* 089BC8 800F0718 2442FFFB */ addiu $v0, $v0, -5 +/* 089BCC 800F071C 4482C000 */ mtc1 $v0, $f24 +/* 089BD0 800F0720 00000000 */ nop +/* 089BD4 800F0724 4680C620 */ cvt.s.w $f24, $f24 +/* 089BD8 800F0728 0C00A67F */ jal rand_int +/* 089BDC 800F072C 2404000A */ addiu $a0, $zero, 0xa +/* 089BE0 800F0730 4618C002 */ mul.s $f0, $f24, $f24 +/* 089BE4 800F0734 00000000 */ nop +/* 089BE8 800F0738 2442FFFB */ addiu $v0, $v0, -5 +/* 089BEC 800F073C 4482B000 */ mtc1 $v0, $f22 +/* 089BF0 800F0740 00000000 */ nop +/* 089BF4 800F0744 4680B5A0 */ cvt.s.w $f22, $f22 +/* 089BF8 800F0748 4616B082 */ mul.s $f2, $f22, $f22 +/* 089BFC 800F074C 00000000 */ nop +/* 089C00 800F0750 C62C0084 */ lwc1 $f12, 0x84($s1) +/* 089C04 800F0754 3C01C000 */ lui $at, 0xc000 +/* 089C08 800F0758 4481A000 */ mtc1 $at, $f20 +/* 089C0C 800F075C 46020000 */ add.s $f0, $f0, $f2 +/* 089C10 800F0760 3C018011 */ lui $at, 0x8011 +/* 089C14 800F0764 A420949C */ sh $zero, -0x6b64($at) +/* 089C18 800F0768 3C0140A0 */ lui $at, 0x40a0 +/* 089C1C 800F076C 44811000 */ mtc1 $at, $f2 +/* 089C20 800F0770 46006307 */ neg.s $f12, $f12 +/* 089C24 800F0774 46020003 */ div.s $f0, $f0, $f2 +/* 089C28 800F0778 0C00A6C9 */ jal clamp_angle +/* 089C2C 800F077C 4600A501 */ sub.s $f20, $f20, $f0 +/* 089C30 800F0780 3C0140C9 */ lui $at, 0x40c9 +/* 089C34 800F0784 34210FD0 */ ori $at, $at, 0xfd0 +/* 089C38 800F0788 44811000 */ mtc1 $at, $f2 +/* 089C3C 800F078C 00000000 */ nop +/* 089C40 800F0790 46020002 */ mul.s $f0, $f0, $f2 +/* 089C44 800F0794 00000000 */ nop +/* 089C48 800F0798 27A50010 */ addiu $a1, $sp, 0x10 +/* 089C4C 800F079C 3C0143B4 */ lui $at, 0x43b4 +/* 089C50 800F07A0 44816000 */ mtc1 $at, $f12 +/* 089C54 800F07A4 27A60014 */ addiu $a2, $sp, 0x14 +/* 089C58 800F07A8 0C00A82D */ jal sin_cos_rad +/* 089C5C 800F07AC 460C0303 */ div.s $f12, $f0, $f12 +/* 089C60 800F07B0 862200B2 */ lh $v0, 0xb2($s1) +/* 089C64 800F07B4 C7A60010 */ lwc1 $f6, 0x10($sp) +/* 089C68 800F07B8 44822000 */ mtc1 $v0, $f4 +/* 089C6C 800F07BC 00000000 */ nop +/* 089C70 800F07C0 46802120 */ cvt.s.w $f4, $f4 +/* 089C74 800F07C4 46062182 */ mul.s $f6, $f4, $f6 +/* 089C78 800F07C8 00000000 */ nop +/* 089C7C 800F07CC C7A00014 */ lwc1 $f0, 0x14($sp) +/* 089C80 800F07D0 46002102 */ mul.s $f4, $f4, $f0 +/* 089C84 800F07D4 00000000 */ nop +/* 089C88 800F07D8 3C01BE99 */ lui $at, 0xbe99 +/* 089C8C 800F07DC 3421999A */ ori $at, $at, 0x999a +/* 089C90 800F07E0 44810000 */ mtc1 $at, $f0 +/* 089C94 800F07E4 00000000 */ nop +/* 089C98 800F07E8 46003182 */ mul.s $f6, $f6, $f0 +/* 089C9C 800F07EC 00000000 */ nop +/* 089CA0 800F07F0 46002102 */ mul.s $f4, $f4, $f0 +/* 089CA4 800F07F4 00000000 */ nop +/* 089CA8 800F07F8 3C014178 */ lui $at, 0x4178 +/* 089CAC 800F07FC 44811000 */ mtc1 $at, $f2 +/* 089CB0 800F0800 C620002C */ lwc1 $f0, 0x2c($s1) +/* 089CB4 800F0804 46020000 */ add.s $f0, $f0, $f2 +/* 089CB8 800F0808 46140000 */ add.s $f0, $f0, $f20 +/* 089CBC 800F080C 44060000 */ mfc1 $a2, $f0 +/* 089CC0 800F0810 C6200028 */ lwc1 $f0, 0x28($s1) +/* 089CC4 800F0814 46060000 */ add.s $f0, $f0, $f6 +/* 089CC8 800F0818 46180000 */ add.s $f0, $f0, $f24 +/* 089CCC 800F081C 44050000 */ mfc1 $a1, $f0 +/* 089CD0 800F0820 C6200030 */ lwc1 $f0, 0x30($s1) +/* 089CD4 800F0824 46040000 */ add.s $f0, $f0, $f4 +/* 089CD8 800F0828 46160000 */ add.s $f0, $f0, $f22 +/* 089CDC 800F082C 44070000 */ mfc1 $a3, $f0 +/* 089CE0 800F0830 0C01BF2C */ jal func_8006FCB0 +/* 089CE4 800F0834 24040001 */ addiu $a0, $zero, 1 +.L800F0838: +/* 089CE8 800F0838 8FBF0028 */ lw $ra, 0x28($sp) +/* 089CEC 800F083C 8FB30024 */ lw $s3, 0x24($sp) +/* 089CF0 800F0840 8FB20020 */ lw $s2, 0x20($sp) +/* 089CF4 800F0844 8FB1001C */ lw $s1, 0x1c($sp) +/* 089CF8 800F0848 8FB00018 */ lw $s0, 0x18($sp) +/* 089CFC 800F084C D7BA0048 */ ldc1 $f26, 0x48($sp) +/* 089D00 800F0850 D7B80040 */ ldc1 $f24, 0x40($sp) +/* 089D04 800F0854 D7B60038 */ ldc1 $f22, 0x38($sp) +/* 089D08 800F0858 D7B40030 */ ldc1 $f20, 0x30($sp) +/* 089D0C 800F085C 03E00008 */ jr $ra +/* 089D10 800F0860 27BD0050 */ addiu $sp, $sp, 0x50 + +func_800F0864: +/* 089D14 800F0864 27BDFFD0 */ addiu $sp, $sp, -0x30 +/* 089D18 800F0868 AFB10024 */ sw $s1, 0x24($sp) +/* 089D1C 800F086C 3C118011 */ lui $s1, 0x8011 +/* 089D20 800F0870 2631EFC8 */ addiu $s1, $s1, -0x1038 +/* 089D24 800F0874 AFBF0028 */ sw $ra, 0x28($sp) +/* 089D28 800F0878 AFB00020 */ sw $s0, 0x20($sp) +/* 089D2C 800F087C 922400B4 */ lbu $a0, 0xb4($s1) +/* 089D30 800F0880 2482FFFF */ addiu $v0, $a0, -1 +/* 089D34 800F0884 2C420002 */ sltiu $v0, $v0, 2 +/* 089D38 800F0888 14400013 */ bnez $v0, .L800F08D8 +/* 089D3C 800F088C 3C02FF00 */ lui $v0, 0xff00 +/* 089D40 800F0890 8E2300B4 */ lw $v1, 0xb4($s1) +/* 089D44 800F0894 3442FF00 */ ori $v0, $v0, 0xff00 +/* 089D48 800F0898 00621824 */ and $v1, $v1, $v0 +/* 089D4C 800F089C 3C021A00 */ lui $v0, 0x1a00 +/* 089D50 800F08A0 1062000D */ beq $v1, $v0, .L800F08D8 +/* 089D54 800F08A4 00041600 */ sll $v0, $a0, 0x18 +/* 089D58 800F08A8 00021E03 */ sra $v1, $v0, 0x18 +/* 089D5C 800F08AC 2402000A */ addiu $v0, $zero, 0xa +/* 089D60 800F08B0 10620003 */ beq $v1, $v0, .L800F08C0 +/* 089D64 800F08B4 00000000 */ nop +/* 089D68 800F08B8 14600004 */ bnez $v1, .L800F08CC +/* 089D6C 800F08BC 24020004 */ addiu $v0, $zero, 4 +.L800F08C0: +/* 089D70 800F08C0 8E220000 */ lw $v0, ($s1) +/* 089D74 800F08C4 04400004 */ bltz $v0, .L800F08D8 +/* 089D78 800F08C8 24020004 */ addiu $v0, $zero, 4 +.L800F08CC: +/* 089D7C 800F08CC 3C018011 */ lui $at, 0x8011 +/* 089D80 800F08D0 0803C276 */ j .L800F09D8 +/* 089D84 800F08D4 A42294A4 */ sh $v0, -0x6b5c($at) + +.L800F08D8: +/* 089D88 800F08D8 3C048011 */ lui $a0, 0x8011 +/* 089D8C 800F08DC 248494A4 */ addiu $a0, $a0, -0x6b5c +/* 089D90 800F08E0 94820000 */ lhu $v0, ($a0) +/* 089D94 800F08E4 24430001 */ addiu $v1, $v0, 1 +/* 089D98 800F08E8 00021400 */ sll $v0, $v0, 0x10 +/* 089D9C 800F08EC 00021403 */ sra $v0, $v0, 0x10 +/* 089DA0 800F08F0 28420004 */ slti $v0, $v0, 4 +/* 089DA4 800F08F4 14400038 */ bnez $v0, .L800F09D8 +/* 089DA8 800F08F8 A4830000 */ sh $v1, ($a0) +/* 089DAC 800F08FC C62C0084 */ lwc1 $f12, 0x84($s1) +/* 089DB0 800F0900 A4800000 */ sh $zero, ($a0) +/* 089DB4 800F0904 0C00A6C9 */ jal clamp_angle +/* 089DB8 800F0908 46006307 */ neg.s $f12, $f12 +/* 089DBC 800F090C 3C0140C9 */ lui $at, 0x40c9 +/* 089DC0 800F0910 34210FD0 */ ori $at, $at, 0xfd0 +/* 089DC4 800F0914 44811000 */ mtc1 $at, $f2 +/* 089DC8 800F0918 00000000 */ nop +/* 089DCC 800F091C 46020002 */ mul.s $f0, $f0, $f2 +/* 089DD0 800F0920 00000000 */ nop +/* 089DD4 800F0924 27A6001C */ addiu $a2, $sp, 0x1c +/* 089DD8 800F0928 3C0143B4 */ lui $at, 0x43b4 +/* 089DDC 800F092C 44816000 */ mtc1 $at, $f12 +/* 089DE0 800F0930 27A50018 */ addiu $a1, $sp, 0x18 +/* 089DE4 800F0934 0C00A82D */ jal sin_cos_rad +/* 089DE8 800F0938 460C0303 */ div.s $f12, $f0, $f12 +/* 089DEC 800F093C 862200B2 */ lh $v0, 0xb2($s1) +/* 089DF0 800F0940 C7A40018 */ lwc1 $f4, 0x18($sp) +/* 089DF4 800F0944 44821000 */ mtc1 $v0, $f2 +/* 089DF8 800F0948 00000000 */ nop +/* 089DFC 800F094C 468010A0 */ cvt.s.w $f2, $f2 +/* 089E00 800F0950 46041102 */ mul.s $f4, $f2, $f4 +/* 089E04 800F0954 00000000 */ nop +/* 089E08 800F0958 C7A0001C */ lwc1 $f0, 0x1c($sp) +/* 089E0C 800F095C 46001082 */ mul.s $f2, $f2, $f0 +/* 089E10 800F0960 00000000 */ nop +/* 089E14 800F0964 3C013E4C */ lui $at, 0x3e4c +/* 089E18 800F0968 3421CCCD */ ori $at, $at, 0xcccd +/* 089E1C 800F096C 44810000 */ mtc1 $at, $f0 +/* 089E20 800F0970 00000000 */ nop +/* 089E24 800F0974 46002102 */ mul.s $f4, $f4, $f0 +/* 089E28 800F0978 00000000 */ nop +/* 089E2C 800F097C 46001082 */ mul.s $f2, $f2, $f0 +/* 089E30 800F0980 00000000 */ nop +/* 089E34 800F0984 C62C0028 */ lwc1 $f12, 0x28($s1) +/* 089E38 800F0988 46046300 */ add.s $f12, $f12, $f4 +/* 089E3C 800F098C C6200030 */ lwc1 $f0, 0x30($s1) +/* 089E40 800F0990 3C108011 */ lui $s0, 0x8011 +/* 089E44 800F0994 261094A8 */ addiu $s0, $s0, -0x6b58 +/* 089E48 800F0998 46020000 */ add.s $f0, $f0, $f2 +/* 089E4C 800F099C C6220084 */ lwc1 $f2, 0x84($s1) +/* 089E50 800F09A0 3C013FC0 */ lui $at, 0x3fc0 +/* 089E54 800F09A4 44817000 */ mtc1 $at, $f14 +/* 089E58 800F09A8 46001087 */ neg.s $f2, $f2 +/* 089E5C 800F09AC 44060000 */ mfc1 $a2, $f0 +/* 089E60 800F09B0 C620002C */ lwc1 $f0, 0x2c($s1) +/* 089E64 800F09B4 44071000 */ mfc1 $a3, $f2 +/* 089E68 800F09B8 460E0380 */ add.s $f14, $f0, $f14 +/* 089E6C 800F09BC C6000000 */ lwc1 $f0, ($s0) +/* 089E70 800F09C0 46800020 */ cvt.s.w $f0, $f0 +/* 089E74 800F09C4 0C01BF44 */ jal func_8006FD10 +/* 089E78 800F09C8 E7A00010 */ swc1 $f0, 0x10($sp) +/* 089E7C 800F09CC 8E020000 */ lw $v0, ($s0) +/* 089E80 800F09D0 2C420001 */ sltiu $v0, $v0, 1 +/* 089E84 800F09D4 AE020000 */ sw $v0, ($s0) +.L800F09D8: +/* 089E88 800F09D8 8FBF0028 */ lw $ra, 0x28($sp) +/* 089E8C 800F09DC 8FB10024 */ lw $s1, 0x24($sp) +/* 089E90 800F09E0 8FB00020 */ lw $s0, 0x20($sp) +/* 089E94 800F09E4 03E00008 */ jr $ra +/* 089E98 800F09E8 27BD0030 */ addiu $sp, $sp, 0x30 + +func_800F09EC: +/* 089E9C 800F09EC 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 089EA0 800F09F0 AFB00018 */ sw $s0, 0x18($sp) +/* 089EA4 800F09F4 3C108011 */ lui $s0, 0x8011 +/* 089EA8 800F09F8 2610EFC8 */ addiu $s0, $s0, -0x1038 +/* 089EAC 800F09FC AFBF001C */ sw $ra, 0x1c($sp) +/* 089EB0 800F0A00 920400B4 */ lbu $a0, 0xb4($s0) +/* 089EB4 800F0A04 2482FFFF */ addiu $v0, $a0, -1 +/* 089EB8 800F0A08 2C420002 */ sltiu $v0, $v0, 2 +/* 089EBC 800F0A0C 14400013 */ bnez $v0, .L800F0A5C +/* 089EC0 800F0A10 3C02FF00 */ lui $v0, 0xff00 +/* 089EC4 800F0A14 8E0300B4 */ lw $v1, 0xb4($s0) +/* 089EC8 800F0A18 3442FF00 */ ori $v0, $v0, 0xff00 +/* 089ECC 800F0A1C 00621824 */ and $v1, $v1, $v0 +/* 089ED0 800F0A20 3C021A00 */ lui $v0, 0x1a00 +/* 089ED4 800F0A24 1062000D */ beq $v1, $v0, .L800F0A5C +/* 089ED8 800F0A28 00041600 */ sll $v0, $a0, 0x18 +/* 089EDC 800F0A2C 00021E03 */ sra $v1, $v0, 0x18 +/* 089EE0 800F0A30 2402000A */ addiu $v0, $zero, 0xa +/* 089EE4 800F0A34 10620003 */ beq $v1, $v0, .L800F0A44 +/* 089EE8 800F0A38 00000000 */ nop +/* 089EEC 800F0A3C 14600004 */ bnez $v1, .L800F0A50 +/* 089EF0 800F0A40 24020004 */ addiu $v0, $zero, 4 +.L800F0A44: +/* 089EF4 800F0A44 8E020000 */ lw $v0, ($s0) +/* 089EF8 800F0A48 04400004 */ bltz $v0, .L800F0A5C +/* 089EFC 800F0A4C 24020004 */ addiu $v0, $zero, 4 +.L800F0A50: +/* 089F00 800F0A50 3C018011 */ lui $at, 0x8011 +/* 089F04 800F0A54 0803C2CB */ j .L800F0B2C +/* 089F08 800F0A58 A42294AC */ sh $v0, -0x6b54($at) + +.L800F0A5C: +/* 089F0C 800F0A5C 3C048011 */ lui $a0, 0x8011 +/* 089F10 800F0A60 248494AC */ addiu $a0, $a0, -0x6b54 +/* 089F14 800F0A64 94820000 */ lhu $v0, ($a0) +/* 089F18 800F0A68 24430001 */ addiu $v1, $v0, 1 +/* 089F1C 800F0A6C 00021400 */ sll $v0, $v0, 0x10 +/* 089F20 800F0A70 00021403 */ sra $v0, $v0, 0x10 +/* 089F24 800F0A74 28420004 */ slti $v0, $v0, 4 +/* 089F28 800F0A78 1440002C */ bnez $v0, .L800F0B2C +/* 089F2C 800F0A7C A4830000 */ sh $v1, ($a0) +/* 089F30 800F0A80 C60C0084 */ lwc1 $f12, 0x84($s0) +/* 089F34 800F0A84 A4800000 */ sh $zero, ($a0) +/* 089F38 800F0A88 0C00A6C9 */ jal clamp_angle +/* 089F3C 800F0A8C 46006307 */ neg.s $f12, $f12 +/* 089F40 800F0A90 3C0140C9 */ lui $at, 0x40c9 +/* 089F44 800F0A94 34210FD0 */ ori $at, $at, 0xfd0 +/* 089F48 800F0A98 44811000 */ mtc1 $at, $f2 +/* 089F4C 800F0A9C 00000000 */ nop +/* 089F50 800F0AA0 46020002 */ mul.s $f0, $f0, $f2 +/* 089F54 800F0AA4 00000000 */ nop +/* 089F58 800F0AA8 27A50010 */ addiu $a1, $sp, 0x10 +/* 089F5C 800F0AAC 3C0143B4 */ lui $at, 0x43b4 +/* 089F60 800F0AB0 44816000 */ mtc1 $at, $f12 +/* 089F64 800F0AB4 27A60014 */ addiu $a2, $sp, 0x14 +/* 089F68 800F0AB8 0C00A82D */ jal sin_cos_rad +/* 089F6C 800F0ABC 460C0303 */ div.s $f12, $f0, $f12 +/* 089F70 800F0AC0 860200B2 */ lh $v0, 0xb2($s0) +/* 089F74 800F0AC4 C7A40010 */ lwc1 $f4, 0x10($sp) +/* 089F78 800F0AC8 44821000 */ mtc1 $v0, $f2 +/* 089F7C 800F0ACC 00000000 */ nop +/* 089F80 800F0AD0 468010A0 */ cvt.s.w $f2, $f2 +/* 089F84 800F0AD4 46041102 */ mul.s $f4, $f2, $f4 +/* 089F88 800F0AD8 00000000 */ nop +/* 089F8C 800F0ADC C7A00014 */ lwc1 $f0, 0x14($sp) +/* 089F90 800F0AE0 46001082 */ mul.s $f2, $f2, $f0 +/* 089F94 800F0AE4 00000000 */ nop +/* 089F98 800F0AE8 3C013E4C */ lui $at, 0x3e4c +/* 089F9C 800F0AEC 3421CCCD */ ori $at, $at, 0xcccd +/* 089FA0 800F0AF0 44810000 */ mtc1 $at, $f0 +/* 089FA4 800F0AF4 00000000 */ nop +/* 089FA8 800F0AF8 46002102 */ mul.s $f4, $f4, $f0 +/* 089FAC 800F0AFC 00000000 */ nop +/* 089FB0 800F0B00 46001082 */ mul.s $f2, $f2, $f0 +/* 089FB4 800F0B04 00000000 */ nop +/* 089FB8 800F0B08 C6000028 */ lwc1 $f0, 0x28($s0) +/* 089FBC 800F0B0C 46040000 */ add.s $f0, $f0, $f4 +/* 089FC0 800F0B10 44050000 */ mfc1 $a1, $f0 +/* 089FC4 800F0B14 C6000030 */ lwc1 $f0, 0x30($s0) +/* 089FC8 800F0B18 46020000 */ add.s $f0, $f0, $f2 +/* 089FCC 800F0B1C 3C064220 */ lui $a2, 0x4220 +/* 089FD0 800F0B20 44070000 */ mfc1 $a3, $f0 +/* 089FD4 800F0B24 0C01C244 */ jal func_80070910 +/* 089FD8 800F0B28 0000202D */ daddu $a0, $zero, $zero +.L800F0B2C: +/* 089FDC 800F0B2C 8FBF001C */ lw $ra, 0x1c($sp) +/* 089FE0 800F0B30 8FB00018 */ lw $s0, 0x18($sp) +/* 089FE4 800F0B34 03E00008 */ jr $ra +/* 089FE8 800F0B38 27BD0020 */ addiu $sp, $sp, 0x20 + +func_800F0B3C: +/* 089FEC 800F0B3C 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 089FF0 800F0B40 AFB00020 */ sw $s0, 0x20($sp) +/* 089FF4 800F0B44 3C108011 */ lui $s0, 0x8011 +/* 089FF8 800F0B48 2610EFC8 */ addiu $s0, $s0, -0x1038 +/* 089FFC 800F0B4C AFBF0024 */ sw $ra, 0x24($sp) +/* 08A000 800F0B50 920400B4 */ lbu $a0, 0xb4($s0) +/* 08A004 800F0B54 2482FFFF */ addiu $v0, $a0, -1 +/* 08A008 800F0B58 2C420002 */ sltiu $v0, $v0, 2 +/* 08A00C 800F0B5C 14400013 */ bnez $v0, .L800F0BAC +/* 08A010 800F0B60 3C02FF00 */ lui $v0, 0xff00 +/* 08A014 800F0B64 8E0300B4 */ lw $v1, 0xb4($s0) +/* 08A018 800F0B68 3442FF00 */ ori $v0, $v0, 0xff00 +/* 08A01C 800F0B6C 00621824 */ and $v1, $v1, $v0 +/* 08A020 800F0B70 3C021A00 */ lui $v0, 0x1a00 +/* 08A024 800F0B74 1062000D */ beq $v1, $v0, .L800F0BAC +/* 08A028 800F0B78 00041600 */ sll $v0, $a0, 0x18 +/* 08A02C 800F0B7C 00021E03 */ sra $v1, $v0, 0x18 +/* 08A030 800F0B80 2402000A */ addiu $v0, $zero, 0xa +/* 08A034 800F0B84 10620003 */ beq $v1, $v0, .L800F0B94 +/* 08A038 800F0B88 00000000 */ nop +/* 08A03C 800F0B8C 14600004 */ bnez $v1, .L800F0BA0 +/* 08A040 800F0B90 24020004 */ addiu $v0, $zero, 4 +.L800F0B94: +/* 08A044 800F0B94 8E020000 */ lw $v0, ($s0) +/* 08A048 800F0B98 04400004 */ bltz $v0, .L800F0BAC +/* 08A04C 800F0B9C 24020004 */ addiu $v0, $zero, 4 +.L800F0BA0: +/* 08A050 800F0BA0 3C018011 */ lui $at, 0x8011 +/* 08A054 800F0BA4 0803C323 */ j .L800F0C8C +/* 08A058 800F0BA8 A42294AE */ sh $v0, -0x6b52($at) + +.L800F0BAC: +/* 08A05C 800F0BAC 3C048011 */ lui $a0, 0x8011 +/* 08A060 800F0BB0 248494AE */ addiu $a0, $a0, -0x6b52 +/* 08A064 800F0BB4 94820000 */ lhu $v0, ($a0) +/* 08A068 800F0BB8 24430001 */ addiu $v1, $v0, 1 +/* 08A06C 800F0BBC 00021400 */ sll $v0, $v0, 0x10 +/* 08A070 800F0BC0 00021403 */ sra $v0, $v0, 0x10 +/* 08A074 800F0BC4 28420004 */ slti $v0, $v0, 4 +/* 08A078 800F0BC8 14400030 */ bnez $v0, .L800F0C8C +/* 08A07C 800F0BCC A4830000 */ sh $v1, ($a0) +/* 08A080 800F0BD0 C60C0084 */ lwc1 $f12, 0x84($s0) +/* 08A084 800F0BD4 A4800000 */ sh $zero, ($a0) +/* 08A088 800F0BD8 0C00A6C9 */ jal clamp_angle +/* 08A08C 800F0BDC 46006307 */ neg.s $f12, $f12 +/* 08A090 800F0BE0 3C0140C9 */ lui $at, 0x40c9 +/* 08A094 800F0BE4 34210FD0 */ ori $at, $at, 0xfd0 +/* 08A098 800F0BE8 44811000 */ mtc1 $at, $f2 +/* 08A09C 800F0BEC 00000000 */ nop +/* 08A0A0 800F0BF0 46020002 */ mul.s $f0, $f0, $f2 +/* 08A0A4 800F0BF4 00000000 */ nop +/* 08A0A8 800F0BF8 27A50018 */ addiu $a1, $sp, 0x18 +/* 08A0AC 800F0BFC 3C0143B4 */ lui $at, 0x43b4 +/* 08A0B0 800F0C00 44816000 */ mtc1 $at, $f12 +/* 08A0B4 800F0C04 27A6001C */ addiu $a2, $sp, 0x1c +/* 08A0B8 800F0C08 0C00A82D */ jal sin_cos_rad +/* 08A0BC 800F0C0C 460C0303 */ div.s $f12, $f0, $f12 +/* 08A0C0 800F0C10 860200B2 */ lh $v0, 0xb2($s0) +/* 08A0C4 800F0C14 C7A40018 */ lwc1 $f4, 0x18($sp) +/* 08A0C8 800F0C18 44821000 */ mtc1 $v0, $f2 +/* 08A0CC 800F0C1C 00000000 */ nop +/* 08A0D0 800F0C20 468010A0 */ cvt.s.w $f2, $f2 +/* 08A0D4 800F0C24 46041102 */ mul.s $f4, $f2, $f4 +/* 08A0D8 800F0C28 00000000 */ nop +/* 08A0DC 800F0C2C C7A0001C */ lwc1 $f0, 0x1c($sp) +/* 08A0E0 800F0C30 46001082 */ mul.s $f2, $f2, $f0 +/* 08A0E4 800F0C34 00000000 */ nop +/* 08A0E8 800F0C38 3C013E4C */ lui $at, 0x3e4c +/* 08A0EC 800F0C3C 3421CCCD */ ori $at, $at, 0xcccd +/* 08A0F0 800F0C40 44810000 */ mtc1 $at, $f0 +/* 08A0F4 800F0C44 00000000 */ nop +/* 08A0F8 800F0C48 46002102 */ mul.s $f4, $f4, $f0 +/* 08A0FC 800F0C4C 00000000 */ nop +/* 08A100 800F0C50 46001082 */ mul.s $f2, $f2, $f0 +/* 08A104 800F0C54 00000000 */ nop +/* 08A108 800F0C58 44803000 */ mtc1 $zero, $f6 +/* 08A10C 800F0C5C C600002C */ lwc1 $f0, 0x2c($s0) +/* 08A110 800F0C60 46060000 */ add.s $f0, $f0, $f6 +/* 08A114 800F0C64 44060000 */ mfc1 $a2, $f0 +/* 08A118 800F0C68 C6000028 */ lwc1 $f0, 0x28($s0) +/* 08A11C 800F0C6C 46040000 */ add.s $f0, $f0, $f4 +/* 08A120 800F0C70 44050000 */ mfc1 $a1, $f0 +/* 08A124 800F0C74 C6000030 */ lwc1 $f0, 0x30($s0) +/* 08A128 800F0C78 46020000 */ add.s $f0, $f0, $f2 +/* 08A12C 800F0C7C 44070000 */ mfc1 $a3, $f0 +/* 08A130 800F0C80 0000202D */ daddu $a0, $zero, $zero +/* 08A134 800F0C84 0C01C16C */ jal func_800705B0 +/* 08A138 800F0C88 E7A60010 */ swc1 $f6, 0x10($sp) +.L800F0C8C: +/* 08A13C 800F0C8C 8FBF0024 */ lw $ra, 0x24($sp) +/* 08A140 800F0C90 8FB00020 */ lw $s0, 0x20($sp) +/* 08A144 800F0C94 03E00008 */ jr $ra +/* 08A148 800F0C98 27BD0028 */ addiu $sp, $sp, 0x28 + +func_800F0C9C: +/* 08A14C 800F0C9C 03E00008 */ jr $ra +/* 08A150 800F0CA0 00000000 */ nop + +/* 08A154 800F0CA4 00000000 */ nop +/* 08A158 800F0CA8 00000000 */ nop +/* 08A15C 800F0CAC 00000000 */ nop diff --git a/papermario/asm/code_8a160_len_700.s b/papermario/asm/code_8a160_len_700.s new file mode 100644 index 0000000000..bb8e40947b --- /dev/null +++ b/papermario/asm/code_8a160_len_700.s @@ -0,0 +1,487 @@ +# %s disassembly and split file +# generated by n64split v%s - N64 ROM splitter + +# assembler directives +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches +.set gp=64 # allow use of 64-bit general purpose registers + +.include "globals.inc" + + +.section .text800F0CB0, "ax" + +func_800F0CB0: +/* 08A160 800F0CB0 3C038011 */ lui $v1, 0x8011 +/* 08A164 800F0CB4 2463D000 */ addiu $v1, $v1, -0x3000 +/* 08A168 800F0CB8 00041040 */ sll $v0, $a0, 1 +/* 08A16C 800F0CBC 00441021 */ addu $v0, $v0, $a0 +/* 08A170 800F0CC0 000210C0 */ sll $v0, $v0, 3 +/* 08A174 800F0CC4 00441021 */ addu $v0, $v0, $a0 +/* 08A178 800F0CC8 00021100 */ sll $v0, $v0, 4 +/* 08A17C 800F0CCC 00441023 */ subu $v0, $v0, $a0 +/* 08A180 800F0CD0 00021080 */ sll $v0, $v0, 2 +/* 08A184 800F0CD4 44850000 */ mtc1 $a1, $f0 +/* 08A188 800F0CD8 00432821 */ addu $a1, $v0, $v1 +/* 08A18C 800F0CDC 44861000 */ mtc1 $a2, $f2 +/* 08A190 800F0CE0 44872000 */ mtc1 $a3, $f4 +/* 08A194 800F0CE4 1C80001B */ bgtz $a0, .L800F0D54 +/* 08A198 800F0CE8 24060039 */ addiu $a2, $zero, 0x39 +/* 08A19C 800F0CEC 24020001 */ addiu $v0, $zero, 1 +/* 08A1A0 800F0CF0 A0A20000 */ sb $v0, ($a1) +/* 08A1A4 800F0CF4 24020028 */ addiu $v0, $zero, 0x28 +/* 08A1A8 800F0CF8 E4A00008 */ swc1 $f0, 8($a1) +/* 08A1AC 800F0CFC E4A2000C */ swc1 $f2, 0xc($a1) +/* 08A1B0 800F0D00 E4A40018 */ swc1 $f4, 0x18($a1) +/* 08A1B4 800F0D04 A0A20001 */ sb $v0, 1($a1) +/* 08A1B8 800F0D08 A0A00002 */ sb $zero, 2($a1) +/* 08A1BC 800F0D0C 24A5001C */ addiu $a1, $a1, 0x1c +/* 08A1C0 800F0D10 24030001 */ addiu $v1, $zero, 1 +/* 08A1C4 800F0D14 44801000 */ mtc1 $zero, $f2 +.L800F0D18: +/* 08A1C8 800F0D18 44830000 */ mtc1 $v1, $f0 +/* 08A1CC 800F0D1C 00000000 */ nop +/* 08A1D0 800F0D20 46800020 */ cvt.s.w $f0, $f0 +/* 08A1D4 800F0D24 46000007 */ neg.s $f0, $f0 +/* 08A1D8 800F0D28 46020002 */ mul.s $f0, $f0, $f2 +/* 08A1DC 800F0D2C 00000000 */ nop +/* 08A1E0 800F0D30 24630001 */ addiu $v1, $v1, 1 +/* 08A1E4 800F0D34 4600018D */ trunc.w.s $f6, $f0 +/* 08A1E8 800F0D38 44023000 */ mfc1 $v0, $f6 +/* 08A1EC 800F0D3C 00000000 */ nop +/* 08A1F0 800F0D40 2442FFFF */ addiu $v0, $v0, -1 +/* 08A1F4 800F0D44 A0A20007 */ sb $v0, 7($a1) +/* 08A1F8 800F0D48 0066102A */ slt $v0, $v1, $a2 +/* 08A1FC 800F0D4C 1440FFF2 */ bnez $v0, .L800F0D18 +/* 08A200 800F0D50 24A5001C */ addiu $a1, $a1, 0x1c +.L800F0D54: +/* 08A204 800F0D54 03E00008 */ jr $ra +/* 08A208 800F0D58 00000000 */ nop + +func_800F0D5C: +/* 08A20C 800F0D5C 0000182D */ daddu $v1, $zero, $zero +/* 08A210 800F0D60 3C028011 */ lui $v0, 0x8011 +/* 08A214 800F0D64 2442D000 */ addiu $v0, $v0, -0x3000 +.L800F0D68: +/* 08A218 800F0D68 A0400000 */ sb $zero, ($v0) +/* 08A21C 800F0D6C 24630001 */ addiu $v1, $v1, 1 +/* 08A220 800F0D70 1860FFFD */ blez $v1, .L800F0D68 +/* 08A224 800F0D74 2442063C */ addiu $v0, $v0, 0x63c +/* 08A228 800F0D78 03E00008 */ jr $ra +/* 08A22C 800F0D7C 00000000 */ nop + +func_800F0D80: +/* 08A230 800F0D80 27BDFFA8 */ addiu $sp, $sp, -0x58 +/* 08A234 800F0D84 F7B60040 */ sdc1 $f22, 0x40($sp) +/* 08A238 800F0D88 3C018011 */ lui $at, 0x8011 +/* 08A23C 800F0D8C D436C310 */ ldc1 $f22, -0x3cf0($at) +/* 08A240 800F0D90 F7B40038 */ sdc1 $f20, 0x38($sp) +/* 08A244 800F0D94 3C018011 */ lui $at, 0x8011 +/* 08A248 800F0D98 D434C318 */ ldc1 $f20, -0x3ce8($at) +/* 08A24C 800F0D9C AFB40020 */ sw $s4, 0x20($sp) +/* 08A250 800F0DA0 0000A02D */ daddu $s4, $zero, $zero +/* 08A254 800F0DA4 AFBE0030 */ sw $fp, 0x30($sp) +/* 08A258 800F0DA8 3C1E8011 */ lui $fp, 0x8011 +/* 08A25C 800F0DAC 27DE9820 */ addiu $fp, $fp, -0x67e0 +/* 08A260 800F0DB0 AFB60028 */ sw $s6, 0x28($sp) +/* 08A264 800F0DB4 2416007F */ addiu $s6, $zero, 0x7f +/* 08A268 800F0DB8 AFB7002C */ sw $s7, 0x2c($sp) +/* 08A26C 800F0DBC 3C178011 */ lui $s7, 0x8011 +/* 08A270 800F0DC0 26F79800 */ addiu $s7, $s7, -0x6800 +/* 08A274 800F0DC4 AFB3001C */ sw $s3, 0x1c($sp) +/* 08A278 800F0DC8 0280982D */ daddu $s3, $s4, $zero +/* 08A27C 800F0DCC AFBF0034 */ sw $ra, 0x34($sp) +/* 08A280 800F0DD0 AFB50024 */ sw $s5, 0x24($sp) +/* 08A284 800F0DD4 AFB20018 */ sw $s2, 0x18($sp) +/* 08A288 800F0DD8 AFB10014 */ sw $s1, 0x14($sp) +/* 08A28C 800F0DDC AFB00010 */ sw $s0, 0x10($sp) +/* 08A290 800F0DE0 F7BA0050 */ sdc1 $f26, 0x50($sp) +/* 08A294 800F0DE4 F7B80048 */ sdc1 $f24, 0x48($sp) +.L800F0DE8: +/* 08A298 800F0DE8 3C058011 */ lui $a1, 0x8011 +/* 08A29C 800F0DEC 24A5D000 */ addiu $a1, $a1, -0x3000 +/* 08A2A0 800F0DF0 02651821 */ addu $v1, $s3, $a1 +/* 08A2A4 800F0DF4 90620000 */ lbu $v0, ($v1) +/* 08A2A8 800F0DF8 5040007A */ beql $v0, $zero, .L800F0FE4 +/* 08A2AC 800F0DFC 26940001 */ addiu $s4, $s4, 1 +/* 08A2B0 800F0E00 90620001 */ lbu $v0, 1($v1) +/* 08A2B4 800F0E04 2442FFFF */ addiu $v0, $v0, -1 +/* 08A2B8 800F0E08 A0620001 */ sb $v0, 1($v1) +/* 08A2BC 800F0E0C 90620002 */ lbu $v0, 2($v1) +/* 08A2C0 800F0E10 80640001 */ lb $a0, 1($v1) +/* 08A2C4 800F0E14 24420001 */ addiu $v0, $v0, 1 +/* 08A2C8 800F0E18 04810003 */ bgez $a0, .L800F0E28 +/* 08A2CC 800F0E1C A0620002 */ sb $v0, 2($v1) +/* 08A2D0 800F0E20 0803C3F8 */ j .L800F0FE0 +/* 08A2D4 800F0E24 A0600000 */ sb $zero, ($v1) + +.L800F0E28: +/* 08A2D8 800F0E28 0080A82D */ daddu $s5, $a0, $zero +/* 08A2DC 800F0E2C 24120001 */ addiu $s2, $zero, 1 +/* 08A2E0 800F0E30 24700034 */ addiu $s0, $v1, 0x34 +/* 08A2E4 800F0E34 0000882D */ daddu $s1, $zero, $zero +/* 08A2E8 800F0E38 C47A0008 */ lwc1 $f26, 8($v1) +/* 08A2EC 800F0E3C C478000C */ lwc1 $f24, 0xc($v1) +.L800F0E40: +/* 08A2F0 800F0E40 9202FFEF */ lbu $v0, -0x11($s0) +/* 08A2F4 800F0E44 24420001 */ addiu $v0, $v0, 1 +/* 08A2F8 800F0E48 A202FFEF */ sb $v0, -0x11($s0) +/* 08A2FC 800F0E4C 00021600 */ sll $v0, $v0, 0x18 +/* 08A300 800F0E50 00021603 */ sra $v0, $v0, 0x18 +/* 08A304 800F0E54 2842001E */ slti $v0, $v0, 0x1e +/* 08A308 800F0E58 14400006 */ bnez $v0, .L800F0E74 +/* 08A30C 800F0E5C 2AA2001E */ slti $v0, $s5, 0x1e +/* 08A310 800F0E60 10400003 */ beqz $v0, .L800F0E70 +/* 08A314 800F0E64 2402FFE1 */ addiu $v0, $zero, -0x1f +/* 08A318 800F0E68 0803C39D */ j .L800F0E74 +/* 08A31C 800F0E6C A202FFEF */ sb $v0, -0x11($s0) + +.L800F0E70: +/* 08A320 800F0E70 A200FFEF */ sb $zero, -0x11($s0) +.L800F0E74: +/* 08A324 800F0E74 8202FFEF */ lb $v0, -0x11($s0) +/* 08A328 800F0E78 04420055 */ bltzl $v0, .L800F0FD0 +/* 08A32C 800F0E7C 26310002 */ addiu $s1, $s1, 2 +/* 08A330 800F0E80 14400031 */ bnez $v0, .L800F0F48 +/* 08A334 800F0E84 023E1821 */ addu $v1, $s1, $fp +/* 08A338 800F0E88 80620000 */ lb $v0, ($v1) +/* 08A33C 800F0E8C 44821000 */ mtc1 $v0, $f2 +/* 08A340 800F0E90 00000000 */ nop +/* 08A344 800F0E94 468010A0 */ cvt.s.w $f2, $f2 +/* 08A348 800F0E98 460010A1 */ cvt.d.s $f2, $f2 +/* 08A34C 800F0E9C 46361082 */ mul.d $f2, $f2, $f22 +/* 08A350 800F0EA0 00000000 */ nop +/* 08A354 800F0EA4 80620001 */ lb $v0, 1($v1) +/* 08A358 800F0EA8 44820000 */ mtc1 $v0, $f0 +/* 08A35C 800F0EAC 00000000 */ nop +/* 08A360 800F0EB0 46800020 */ cvt.s.w $f0, $f0 +/* 08A364 800F0EB4 46000007 */ neg.s $f0, $f0 +/* 08A368 800F0EB8 46000021 */ cvt.d.s $f0, $f0 +/* 08A36C 800F0EBC 46360002 */ mul.d $f0, $f0, $f22 +/* 08A370 800F0EC0 00000000 */ nop +/* 08A374 800F0EC4 3C013F80 */ lui $at, 0x3f80 +/* 08A378 800F0EC8 44812000 */ mtc1 $at, $f4 +/* 08A37C 800F0ECC 2404007F */ addiu $a0, $zero, 0x7f +/* 08A380 800F0ED0 E61AFFF0 */ swc1 $f26, -0x10($s0) +/* 08A384 800F0ED4 E618FFF4 */ swc1 $f24, -0xc($s0) +/* 08A388 800F0ED8 E6040000 */ swc1 $f4, ($s0) +/* 08A38C 800F0EDC 462010A0 */ cvt.s.d $f2, $f2 +/* 08A390 800F0EE0 E602FFF8 */ swc1 $f2, -8($s0) +/* 08A394 800F0EE4 46200020 */ cvt.s.d $f0, $f0 +/* 08A398 800F0EE8 0C00A67F */ jal rand_int +/* 08A39C 800F0EEC E600FFFC */ swc1 $f0, -4($s0) +/* 08A3A0 800F0EF0 A202FFEB */ sb $v0, -0x15($s0) +/* 08A3A4 800F0EF4 304400FF */ andi $a0, $v0, 0xff +/* 08A3A8 800F0EF8 0C00A67F */ jal rand_int +/* 08A3AC 800F0EFC 02C42023 */ subu $a0, $s6, $a0 +/* 08A3B0 800F0F00 A202FFEC */ sb $v0, -0x14($s0) +/* 08A3B4 800F0F04 304400FF */ andi $a0, $v0, 0xff +/* 08A3B8 800F0F08 9202FFEB */ lbu $v0, -0x15($s0) +/* 08A3BC 800F0F0C 02C42023 */ subu $a0, $s6, $a0 +/* 08A3C0 800F0F10 0C00A67F */ jal rand_int +/* 08A3C4 800F0F14 00822023 */ subu $a0, $a0, $v0 +/* 08A3C8 800F0F18 9203FFEB */ lbu $v1, -0x15($s0) +/* 08A3CC 800F0F1C A202FFED */ sb $v0, -0x13($s0) +/* 08A3D0 800F0F20 240200FF */ addiu $v0, $zero, 0xff +/* 08A3D4 800F0F24 A202FFEE */ sb $v0, -0x12($s0) +/* 08A3D8 800F0F28 9202FFEC */ lbu $v0, -0x14($s0) +/* 08A3DC 800F0F2C 24630080 */ addiu $v1, $v1, 0x80 +/* 08A3E0 800F0F30 A203FFEB */ sb $v1, -0x15($s0) +/* 08A3E4 800F0F34 9203FFED */ lbu $v1, -0x13($s0) +/* 08A3E8 800F0F38 24420080 */ addiu $v0, $v0, 0x80 +/* 08A3EC 800F0F3C A202FFEC */ sb $v0, -0x14($s0) +/* 08A3F0 800F0F40 24630080 */ addiu $v1, $v1, 0x80 +/* 08A3F4 800F0F44 A203FFED */ sb $v1, -0x13($s0) +.L800F0F48: +/* 08A3F8 800F0F48 C600FFF8 */ lwc1 $f0, -8($s0) +/* 08A3FC 800F0F4C 46000021 */ cvt.d.s $f0, $f0 +/* 08A400 800F0F50 46340002 */ mul.d $f0, $f0, $f20 +/* 08A404 800F0F54 00000000 */ nop +/* 08A408 800F0F58 C602FFFC */ lwc1 $f2, -4($s0) +/* 08A40C 800F0F5C 460010A1 */ cvt.d.s $f2, $f2 +/* 08A410 800F0F60 46341082 */ mul.d $f2, $f2, $f20 +/* 08A414 800F0F64 00000000 */ nop +/* 08A418 800F0F68 C608FFF0 */ lwc1 $f8, -0x10($s0) +/* 08A41C 800F0F6C C604FFF8 */ lwc1 $f4, -8($s0) +/* 08A420 800F0F70 C606FFF4 */ lwc1 $f6, -0xc($s0) +/* 08A424 800F0F74 46044200 */ add.s $f8, $f8, $f4 +/* 08A428 800F0F78 C604FFFC */ lwc1 $f4, -4($s0) +/* 08A42C 800F0F7C 8202FFEF */ lb $v0, -0x11($s0) +/* 08A430 800F0F80 46043180 */ add.s $f6, $f6, $f4 +/* 08A434 800F0F84 00571021 */ addu $v0, $v0, $s7 +/* 08A438 800F0F88 E608FFF0 */ swc1 $f8, -0x10($s0) +/* 08A43C 800F0F8C E606FFF4 */ swc1 $f6, -0xc($s0) +/* 08A440 800F0F90 46200020 */ cvt.s.d $f0, $f0 +/* 08A444 800F0F94 462010A0 */ cvt.s.d $f2, $f2 +/* 08A448 800F0F98 E600FFF8 */ swc1 $f0, -8($s0) +/* 08A44C 800F0F9C E602FFFC */ swc1 $f2, -4($s0) +/* 08A450 800F0FA0 90420000 */ lbu $v0, ($v0) +/* 08A454 800F0FA4 3C018011 */ lui $at, 0x8011 +/* 08A458 800F0FA8 D422C320 */ ldc1 $f2, -0x3ce0($at) +/* 08A45C 800F0FAC 44820000 */ mtc1 $v0, $f0 +/* 08A460 800F0FB0 00000000 */ nop +/* 08A464 800F0FB4 46800020 */ cvt.s.w $f0, $f0 +/* 08A468 800F0FB8 46000021 */ cvt.d.s $f0, $f0 +/* 08A46C 800F0FBC 46220002 */ mul.d $f0, $f0, $f2 +/* 08A470 800F0FC0 00000000 */ nop +/* 08A474 800F0FC4 46200020 */ cvt.s.d $f0, $f0 +/* 08A478 800F0FC8 E6000000 */ swc1 $f0, ($s0) +/* 08A47C 800F0FCC 26310002 */ addiu $s1, $s1, 2 +.L800F0FD0: +/* 08A480 800F0FD0 26520001 */ addiu $s2, $s2, 1 +/* 08A484 800F0FD4 2A420039 */ slti $v0, $s2, 0x39 +/* 08A488 800F0FD8 1440FF99 */ bnez $v0, .L800F0E40 +/* 08A48C 800F0FDC 2610001C */ addiu $s0, $s0, 0x1c +.L800F0FE0: +/* 08A490 800F0FE0 26940001 */ addiu $s4, $s4, 1 +.L800F0FE4: +/* 08A494 800F0FE4 1A80FF80 */ blez $s4, .L800F0DE8 +/* 08A498 800F0FE8 2673063C */ addiu $s3, $s3, 0x63c +/* 08A49C 800F0FEC 8FBF0034 */ lw $ra, 0x34($sp) +/* 08A4A0 800F0FF0 8FBE0030 */ lw $fp, 0x30($sp) +/* 08A4A4 800F0FF4 8FB7002C */ lw $s7, 0x2c($sp) +/* 08A4A8 800F0FF8 8FB60028 */ lw $s6, 0x28($sp) +/* 08A4AC 800F0FFC 8FB50024 */ lw $s5, 0x24($sp) +/* 08A4B0 800F1000 8FB40020 */ lw $s4, 0x20($sp) +/* 08A4B4 800F1004 8FB3001C */ lw $s3, 0x1c($sp) +/* 08A4B8 800F1008 8FB20018 */ lw $s2, 0x18($sp) +/* 08A4BC 800F100C 8FB10014 */ lw $s1, 0x14($sp) +/* 08A4C0 800F1010 8FB00010 */ lw $s0, 0x10($sp) +/* 08A4C4 800F1014 D7BA0050 */ ldc1 $f26, 0x50($sp) +/* 08A4C8 800F1018 D7B80048 */ ldc1 $f24, 0x48($sp) +/* 08A4CC 800F101C D7B60040 */ ldc1 $f22, 0x40($sp) +/* 08A4D0 800F1020 D7B40038 */ ldc1 $f20, 0x38($sp) +/* 08A4D4 800F1024 03E00008 */ jr $ra +/* 08A4D8 800F1028 27BD0058 */ addiu $sp, $sp, 0x58 + +func_800F102C: +/* 08A4DC 800F102C 27BDFF28 */ addiu $sp, $sp, -0xd8 +/* 08A4E0 800F1030 3C090050 */ lui $t1, 0x50 +/* 08A4E4 800F1034 352903C0 */ ori $t1, $t1, 0x3c0 +/* 08A4E8 800F1038 3C0ADC08 */ lui $t2, 0xdc08 +/* 08A4EC 800F103C 354A0008 */ ori $t2, $t2, 8 +/* 08A4F0 800F1040 27A40020 */ addiu $a0, $sp, 0x20 +/* 08A4F4 800F1044 AFB100A4 */ sw $s1, 0xa4($sp) +/* 08A4F8 800F1048 3C110001 */ lui $s1, 1 +/* 08A4FC 800F104C 36311630 */ ori $s1, $s1, 0x1630 +/* 08A500 800F1050 AFB700BC */ sw $s7, 0xbc($sp) +/* 08A504 800F1054 0000B82D */ daddu $s7, $zero, $zero +/* 08A508 800F1058 AFB600B8 */ sw $s6, 0xb8($sp) +/* 08A50C 800F105C 27B60060 */ addiu $s6, $sp, 0x60 +/* 08A510 800F1060 3C02800A */ lui $v0, 0x800a +/* 08A514 800F1064 2442A674 */ addiu $v0, $v0, -0x598c +/* 08A518 800F1068 AFBE00C0 */ sw $fp, 0xc0($sp) +/* 08A51C 800F106C 0040F02D */ daddu $fp, $v0, $zero +/* 08A520 800F1070 3C028007 */ lui $v0, 0x8007 +/* 08A524 800F1074 244241F0 */ addiu $v0, $v0, 0x41f0 +/* 08A528 800F1078 AFB300AC */ sw $s3, 0xac($sp) +/* 08A52C 800F107C 0040982D */ daddu $s3, $v0, $zero +/* 08A530 800F1080 AFB500B4 */ sw $s5, 0xb4($sp) +/* 08A534 800F1084 3C150001 */ lui $s5, 1 +/* 08A538 800F1088 36B51630 */ ori $s5, $s5, 0x1630 +/* 08A53C 800F108C AFB400B0 */ sw $s4, 0xb0($sp) +/* 08A540 800F1090 02E0A02D */ daddu $s4, $s7, $zero +/* 08A544 800F1094 AFB000A0 */ sw $s0, 0xa0($sp) +/* 08A548 800F1098 3C10800A */ lui $s0, 0x800a +/* 08A54C 800F109C 2610A66C */ addiu $s0, $s0, -0x5994 +/* 08A550 800F10A0 3C02E700 */ lui $v0, 0xe700 +/* 08A554 800F10A4 AFBF00C4 */ sw $ra, 0xc4($sp) +/* 08A558 800F10A8 AFB200A8 */ sw $s2, 0xa8($sp) +/* 08A55C 800F10AC F7B600D0 */ sdc1 $f22, 0xd0($sp) +/* 08A560 800F10B0 F7B400C8 */ sdc1 $f20, 0xc8($sp) +/* 08A564 800F10B4 8E030000 */ lw $v1, ($s0) +/* 08A568 800F10B8 3C0643A0 */ lui $a2, 0x43a0 +/* 08A56C 800F10BC 3C074370 */ lui $a3, 0x4370 +/* 08A570 800F10C0 44800000 */ mtc1 $zero, $f0 +/* 08A574 800F10C4 3C0142C8 */ lui $at, 0x42c8 +/* 08A578 800F10C8 44811000 */ mtc1 $at, $f2 +/* 08A57C 800F10CC 3C013F80 */ lui $at, 0x3f80 +/* 08A580 800F10D0 44812000 */ mtc1 $at, $f4 +/* 08A584 800F10D4 0060402D */ daddu $t0, $v1, $zero +/* 08A588 800F10D8 44050000 */ mfc1 $a1, $f0 +/* 08A58C 800F10DC 3C01C2C8 */ lui $at, 0xc2c8 +/* 08A590 800F10E0 44810000 */ mtc1 $at, $f0 +/* 08A594 800F10E4 24630008 */ addiu $v1, $v1, 8 +/* 08A598 800F10E8 AE030000 */ sw $v1, ($s0) +/* 08A59C 800F10EC AD020000 */ sw $v0, ($t0) +/* 08A5A0 800F10F0 24620008 */ addiu $v0, $v1, 8 +/* 08A5A4 800F10F4 AD000004 */ sw $zero, 4($t0) +/* 08A5A8 800F10F8 AE020000 */ sw $v0, ($s0) +/* 08A5AC 800F10FC 3C02DB06 */ lui $v0, 0xdb06 +/* 08A5B0 800F1100 AC620000 */ sw $v0, ($v1) +/* 08A5B4 800F1104 24620010 */ addiu $v0, $v1, 0x10 +/* 08A5B8 800F1108 AC600004 */ sw $zero, 4($v1) +/* 08A5BC 800F110C AE020000 */ sw $v0, ($s0) +/* 08A5C0 800F1110 3C02ED00 */ lui $v0, 0xed00 +/* 08A5C4 800F1114 AC620008 */ sw $v0, 8($v1) +/* 08A5C8 800F1118 24620018 */ addiu $v0, $v1, 0x18 +/* 08A5CC 800F111C AC69000C */ sw $t1, 0xc($v1) +/* 08A5D0 800F1120 AE020000 */ sw $v0, ($s0) +/* 08A5D4 800F1124 4485B000 */ mtc1 $a1, $f22 +/* 08A5D8 800F1128 3C028011 */ lui $v0, 0x8011 +/* 08A5DC 800F112C 244296B0 */ addiu $v0, $v0, -0x6950 +/* 08A5E0 800F1130 AC6A0010 */ sw $t2, 0x10($v1) +/* 08A5E4 800F1134 AC620014 */ sw $v0, 0x14($v1) +/* 08A5E8 800F1138 E7A20018 */ swc1 $f2, 0x18($sp) +/* 08A5EC 800F113C E7A4001C */ swc1 $f4, 0x1c($sp) +/* 08A5F0 800F1140 AFA50010 */ sw $a1, 0x10($sp) +/* 08A5F4 800F1144 0C018E44 */ jal guOrthoF +/* 08A5F8 800F1148 E7A00014 */ swc1 $f0, 0x14($sp) +/* 08A5FC 800F114C 27A40020 */ addiu $a0, $sp, 0x20 +/* 08A600 800F1150 96650000 */ lhu $a1, ($s3) +/* 08A604 800F1154 8FC20000 */ lw $v0, ($fp) +/* 08A608 800F1158 00052980 */ sll $a1, $a1, 6 +/* 08A60C 800F115C 00B12821 */ addu $a1, $a1, $s1 +/* 08A610 800F1160 0C019D40 */ jal guMtxF2L +/* 08A614 800F1164 00452821 */ addu $a1, $v0, $a1 +/* 08A618 800F1168 3C03DA38 */ lui $v1, 0xda38 +/* 08A61C 800F116C 34630007 */ ori $v1, $v1, 7 +/* 08A620 800F1170 3C067F7F */ lui $a2, 0x7f7f +/* 08A624 800F1174 34C67F7F */ ori $a2, $a2, 0x7f7f +/* 08A628 800F1178 8E040000 */ lw $a0, ($s0) +/* 08A62C 800F117C 96620000 */ lhu $v0, ($s3) +/* 08A630 800F1180 0080282D */ daddu $a1, $a0, $zero +/* 08A634 800F1184 24840008 */ addiu $a0, $a0, 8 +/* 08A638 800F1188 AE040000 */ sw $a0, ($s0) +/* 08A63C 800F118C ACA30000 */ sw $v1, ($a1) +/* 08A640 800F1190 24430001 */ addiu $v1, $v0, 1 +/* 08A644 800F1194 3042FFFF */ andi $v0, $v0, 0xffff +/* 08A648 800F1198 00021180 */ sll $v0, $v0, 6 +/* 08A64C 800F119C A6630000 */ sh $v1, ($s3) +/* 08A650 800F11A0 8FC30000 */ lw $v1, ($fp) +/* 08A654 800F11A4 00511021 */ addu $v0, $v0, $s1 +/* 08A658 800F11A8 00621821 */ addu $v1, $v1, $v0 +/* 08A65C 800F11AC 24820008 */ addiu $v0, $a0, 8 +/* 08A660 800F11B0 ACA30004 */ sw $v1, 4($a1) +/* 08A664 800F11B4 AE020000 */ sw $v0, ($s0) +/* 08A668 800F11B8 3C02DE00 */ lui $v0, 0xde00 +/* 08A66C 800F11BC AC820000 */ sw $v0, ($a0) +/* 08A670 800F11C0 3C028011 */ lui $v0, 0x8011 +/* 08A674 800F11C4 24429710 */ addiu $v0, $v0, -0x68f0 +/* 08A678 800F11C8 AC820004 */ sw $v0, 4($a0) +/* 08A67C 800F11CC 24820010 */ addiu $v0, $a0, 0x10 +/* 08A680 800F11D0 AE020000 */ sw $v0, ($s0) +/* 08A684 800F11D4 3C02FB00 */ lui $v0, 0xfb00 +/* 08A688 800F11D8 AC820008 */ sw $v0, 8($a0) +/* 08A68C 800F11DC AC86000C */ sw $a2, 0xc($a0) +.L800F11E0: +/* 08A690 800F11E0 3C0B8011 */ lui $t3, 0x8011 +/* 08A694 800F11E4 256BD000 */ addiu $t3, $t3, -0x3000 +/* 08A698 800F11E8 028B1821 */ addu $v1, $s4, $t3 +/* 08A69C 800F11EC 90620000 */ lbu $v0, ($v1) +/* 08A6A0 800F11F0 5040005C */ beql $v0, $zero, .L800F1364 +/* 08A6A4 800F11F4 26F70001 */ addiu $s7, $s7, 1 +/* 08A6A8 800F11F8 C4740018 */ lwc1 $f20, 0x18($v1) +/* 08A6AC 800F11FC 24120001 */ addiu $s2, $zero, 1 +/* 08A6B0 800F1200 3C11800A */ lui $s1, 0x800a +/* 08A6B4 800F1204 2631A66C */ addiu $s1, $s1, -0x5994 +/* 08A6B8 800F1208 24700022 */ addiu $s0, $v1, 0x22 +.L800F120C: +/* 08A6BC 800F120C 82020001 */ lb $v0, 1($s0) +/* 08A6C0 800F1210 0440004F */ bltz $v0, .L800F1350 +/* 08A6C4 800F1214 02C0202D */ daddu $a0, $s6, $zero +/* 08A6C8 800F1218 C6000012 */ lwc1 $f0, 0x12($s0) +/* 08A6CC 800F121C 4405B000 */ mfc1 $a1, $f22 +/* 08A6D0 800F1220 3C028007 */ lui $v0, 0x8007 +/* 08A6D4 800F1224 8C42419C */ lw $v0, 0x419c($v0) +/* 08A6D8 800F1228 4406B000 */ mfc1 $a2, $f22 +/* 08A6DC 800F122C 94430134 */ lhu $v1, 0x134($v0) +/* 08A6E0 800F1230 46140002 */ mul.s $f0, $f0, $f20 +/* 08A6E4 800F1234 00000000 */ nop +/* 08A6E8 800F1238 00031080 */ sll $v0, $v1, 2 +/* 08A6EC 800F123C 00431021 */ addu $v0, $v0, $v1 +/* 08A6F0 800F1240 00021040 */ sll $v0, $v0, 1 +/* 08A6F4 800F1244 44823000 */ mtc1 $v0, $f6 +/* 08A6F8 800F1248 00000000 */ nop +/* 08A6FC 800F124C 468031A0 */ cvt.s.w $f6, $f6 +/* 08A700 800F1250 44073000 */ mfc1 $a3, $f6 +/* 08A704 800F1254 E7A00010 */ swc1 $f0, 0x10($sp) +/* 08A708 800F1258 C6000002 */ lwc1 $f0, 2($s0) +/* 08A70C 800F125C E7A00014 */ swc1 $f0, 0x14($sp) +/* 08A710 800F1260 C6000006 */ lwc1 $f0, 6($s0) +/* 08A714 800F1264 E7B6001C */ swc1 $f22, 0x1c($sp) +/* 08A718 800F1268 0C018FC4 */ jal guPositionF +/* 08A71C 800F126C E7A00018 */ swc1 $f0, 0x18($sp) +/* 08A720 800F1270 02C0202D */ daddu $a0, $s6, $zero +/* 08A724 800F1274 96650000 */ lhu $a1, ($s3) +/* 08A728 800F1278 8FC20000 */ lw $v0, ($fp) +/* 08A72C 800F127C 00052980 */ sll $a1, $a1, 6 +/* 08A730 800F1280 00B52821 */ addu $a1, $a1, $s5 +/* 08A734 800F1284 0C019D40 */ jal guMtxF2L +/* 08A738 800F1288 00452821 */ addu $a1, $v0, $a1 +/* 08A73C 800F128C 3C08D838 */ lui $t0, 0xd838 +/* 08A740 800F1290 8E240000 */ lw $a0, ($s1) +/* 08A744 800F1294 35080002 */ ori $t0, $t0, 2 +/* 08A748 800F1298 0080282D */ daddu $a1, $a0, $zero +/* 08A74C 800F129C 24840008 */ addiu $a0, $a0, 8 +/* 08A750 800F12A0 AE240000 */ sw $a0, ($s1) +/* 08A754 800F12A4 96620000 */ lhu $v0, ($s3) +/* 08A758 800F12A8 3C03DA38 */ lui $v1, 0xda38 +/* 08A75C 800F12AC ACA30000 */ sw $v1, ($a1) +/* 08A760 800F12B0 24430001 */ addiu $v1, $v0, 1 +/* 08A764 800F12B4 3042FFFF */ andi $v0, $v0, 0xffff +/* 08A768 800F12B8 00021180 */ sll $v0, $v0, 6 +/* 08A76C 800F12BC A6630000 */ sh $v1, ($s3) +/* 08A770 800F12C0 8FC30000 */ lw $v1, ($fp) +/* 08A774 800F12C4 00551021 */ addu $v0, $v0, $s5 +/* 08A778 800F12C8 00621821 */ addu $v1, $v1, $v0 +/* 08A77C 800F12CC 24820008 */ addiu $v0, $a0, 8 +/* 08A780 800F12D0 ACA30004 */ sw $v1, 4($a1) +/* 08A784 800F12D4 AE220000 */ sw $v0, ($s1) +/* 08A788 800F12D8 82030001 */ lb $v1, 1($s0) +/* 08A78C 800F12DC 24020050 */ addiu $v0, $zero, 0x50 +/* 08A790 800F12E0 00431023 */ subu $v0, $v0, $v1 +/* 08A794 800F12E4 304200FF */ andi $v0, $v0, 0xff +/* 08A798 800F12E8 3C03FA00 */ lui $v1, 0xfa00 +/* 08A79C 800F12EC 00431025 */ or $v0, $v0, $v1 +/* 08A7A0 800F12F0 AC820000 */ sw $v0, ($a0) +/* 08A7A4 800F12F4 9203FFFD */ lbu $v1, -3($s0) +/* 08A7A8 800F12F8 9205FFFE */ lbu $a1, -2($s0) +/* 08A7AC 800F12FC 9206FFFF */ lbu $a2, -1($s0) +/* 08A7B0 800F1300 92070000 */ lbu $a3, ($s0) +/* 08A7B4 800F1304 24820010 */ addiu $v0, $a0, 0x10 +/* 08A7B8 800F1308 AE220000 */ sw $v0, ($s1) +/* 08A7BC 800F130C 3C02DE00 */ lui $v0, 0xde00 +/* 08A7C0 800F1310 AC820008 */ sw $v0, 8($a0) +/* 08A7C4 800F1314 3C028011 */ lui $v0, 0x8011 +/* 08A7C8 800F1318 244297D8 */ addiu $v0, $v0, -0x6828 +/* 08A7CC 800F131C AC82000C */ sw $v0, 0xc($a0) +/* 08A7D0 800F1320 24820018 */ addiu $v0, $a0, 0x18 +/* 08A7D4 800F1324 AE220000 */ sw $v0, ($s1) +/* 08A7D8 800F1328 24020040 */ addiu $v0, $zero, 0x40 +/* 08A7DC 800F132C AC880010 */ sw $t0, 0x10($a0) +/* 08A7E0 800F1330 AC820014 */ sw $v0, 0x14($a0) +/* 08A7E4 800F1334 00031E00 */ sll $v1, $v1, 0x18 +/* 08A7E8 800F1338 00052C00 */ sll $a1, $a1, 0x10 +/* 08A7EC 800F133C 00651825 */ or $v1, $v1, $a1 +/* 08A7F0 800F1340 00063200 */ sll $a2, $a2, 8 +/* 08A7F4 800F1344 00661825 */ or $v1, $v1, $a2 +/* 08A7F8 800F1348 00671825 */ or $v1, $v1, $a3 +/* 08A7FC 800F134C AC830004 */ sw $v1, 4($a0) +.L800F1350: +/* 08A800 800F1350 26520001 */ addiu $s2, $s2, 1 +/* 08A804 800F1354 2A420039 */ slti $v0, $s2, 0x39 +/* 08A808 800F1358 1440FFAC */ bnez $v0, .L800F120C +/* 08A80C 800F135C 2610001C */ addiu $s0, $s0, 0x1c +/* 08A810 800F1360 26F70001 */ addiu $s7, $s7, 1 +.L800F1364: +/* 08A814 800F1364 1AE0FF9E */ blez $s7, .L800F11E0 +/* 08A818 800F1368 2694063C */ addiu $s4, $s4, 0x63c +/* 08A81C 800F136C 8FBF00C4 */ lw $ra, 0xc4($sp) +/* 08A820 800F1370 8FBE00C0 */ lw $fp, 0xc0($sp) +/* 08A824 800F1374 8FB700BC */ lw $s7, 0xbc($sp) +/* 08A828 800F1378 8FB600B8 */ lw $s6, 0xb8($sp) +/* 08A82C 800F137C 8FB500B4 */ lw $s5, 0xb4($sp) +/* 08A830 800F1380 8FB400B0 */ lw $s4, 0xb0($sp) +/* 08A834 800F1384 8FB300AC */ lw $s3, 0xac($sp) +/* 08A838 800F1388 8FB200A8 */ lw $s2, 0xa8($sp) +/* 08A83C 800F138C 8FB100A4 */ lw $s1, 0xa4($sp) +/* 08A840 800F1390 8FB000A0 */ lw $s0, 0xa0($sp) +/* 08A844 800F1394 D7B600D0 */ ldc1 $f22, 0xd0($sp) +/* 08A848 800F1398 D7B400C8 */ ldc1 $f20, 0xc8($sp) +/* 08A84C 800F139C 03E00008 */ jr $ra +/* 08A850 800F13A0 27BD00D8 */ addiu $sp, $sp, 0xd8 + +/* 08A854 800F13A4 00000000 */ nop +/* 08A858 800F13A8 00000000 */ nop +/* 08A85C 800F13AC 00000000 */ nop diff --git a/papermario/asm/code_8a860_len_3f30.s b/papermario/asm/code_8a860_len_3f30.s new file mode 100644 index 0000000000..b80e4ad9f9 --- /dev/null +++ b/papermario/asm/code_8a860_len_3f30.s @@ -0,0 +1,4428 @@ +# %s disassembly and split file +# generated by n64split v%s - N64 ROM splitter + +# assembler directives +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches +.set gp=64 # allow use of 64-bit general purpose registers + +.include "globals.inc" + + +.section .text800F13B0, "ax" + +func_800F13B0: +/* 08A860 800F13B0 3C028011 */ lui $v0, 0x8011 +/* 08A864 800F13B4 8042D68E */ lb $v0, -0x2972($v0) +/* 08A868 800F13B8 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 08A86C 800F13BC AFBF0018 */ sw $ra, 0x18($sp) +/* 08A870 800F13C0 AFB10014 */ sw $s1, 0x14($sp) +/* 08A874 800F13C4 1040001A */ beqz $v0, .L800F1430 +/* 08A878 800F13C8 AFB00010 */ sw $s0, 0x10($sp) +/* 08A87C 800F13CC 3C028011 */ lui $v0, 0x8011 +/* 08A880 800F13D0 8C42D69C */ lw $v0, -0x2964($v0) +/* 08A884 800F13D4 8C430318 */ lw $v1, 0x318($v0) +/* 08A888 800F13D8 2C62000E */ sltiu $v0, $v1, 0xe +/* 08A88C 800F13DC 10400012 */ beqz $v0, .L800F1428 +/* 08A890 800F13E0 00031080 */ sll $v0, $v1, 2 +/* 08A894 800F13E4 3C018011 */ lui $at, 0x8011 +/* 08A898 800F13E8 00220821 */ addu $at, $at, $v0 +/* 08A89C 800F13EC 8C22C330 */ lw $v0, -0x3cd0($at) +/* 08A8A0 800F13F0 00400008 */ jr $v0 +/* 08A8A4 800F13F4 00000000 */ nop +/* 08A8A8 800F13F8 2404000E */ addiu $a0, $zero, 0xe +/* 08A8AC 800F13FC 3C108014 */ lui $s0, 0x8014 +/* 08A8B0 800F1400 26107574 */ addiu $s0, $s0, 0x7574 +/* 08A8B4 800F1404 0C051F9F */ jal func_80147E7C +/* 08A8B8 800F1408 0200282D */ daddu $a1, $s0, $zero +/* 08A8BC 800F140C 0803C506 */ j .L800F1418 +/* 08A8C0 800F1410 24040013 */ addiu $a0, $zero, 0x13 + +/* 08A8C4 800F1414 2404000E */ addiu $a0, $zero, 0xe +.L800F1418: +/* 08A8C8 800F1418 3C058014 */ lui $a1, 0x8014 +/* 08A8CC 800F141C 24A57574 */ addiu $a1, $a1, 0x7574 +/* 08A8D0 800F1420 0C051F9F */ jal func_80147E7C +/* 08A8D4 800F1424 00000000 */ nop +.L800F1428: +/* 08A8D8 800F1428 0803C51D */ j .L800F1474 +/* 08A8DC 800F142C 24040015 */ addiu $a0, $zero, 0x15 + +.L800F1430: +/* 08A8E0 800F1430 3C028011 */ lui $v0, 0x8011 +/* 08A8E4 800F1434 8C42D69C */ lw $v0, -0x2964($v0) +/* 08A8E8 800F1438 8C430318 */ lw $v1, 0x318($v0) +/* 08A8EC 800F143C 2C62000E */ sltiu $v0, $v1, 0xe +/* 08A8F0 800F1440 1040000E */ beqz $v0, .L800F147C +/* 08A8F4 800F1444 00031080 */ sll $v0, $v1, 2 +/* 08A8F8 800F1448 3C018011 */ lui $at, 0x8011 +/* 08A8FC 800F144C 00220821 */ addu $at, $at, $v0 +/* 08A900 800F1450 8C22C368 */ lw $v0, -0x3c98($at) +/* 08A904 800F1454 00400008 */ jr $v0 +/* 08A908 800F1458 00000000 */ nop +/* 08A90C 800F145C 2404000E */ addiu $a0, $zero, 0xe +/* 08A910 800F1460 0C051F9F */ jal func_80147E7C +/* 08A914 800F1464 24050002 */ addiu $a1, $zero, 2 +/* 08A918 800F1468 0803C51D */ j .L800F1474 +/* 08A91C 800F146C 24040013 */ addiu $a0, $zero, 0x13 + +/* 08A920 800F1470 2404000E */ addiu $a0, $zero, 0xe +.L800F1474: +/* 08A924 800F1474 0C051F9F */ jal func_80147E7C +/* 08A928 800F1478 24050002 */ addiu $a1, $zero, 2 +.L800F147C: +/* 08A92C 800F147C 3C118011 */ lui $s1, 0x8011 +/* 08A930 800F1480 2631D69C */ addiu $s1, $s1, -0x2964 +/* 08A934 800F1484 8E220000 */ lw $v0, ($s1) +/* 08A938 800F1488 8C430318 */ lw $v1, 0x318($v0) +/* 08A93C 800F148C 24020003 */ addiu $v0, $zero, 3 +/* 08A940 800F1490 14620008 */ bne $v1, $v0, .L800F14B4 +/* 08A944 800F1494 24040010 */ addiu $a0, $zero, 0x10 +/* 08A948 800F1498 3C108014 */ lui $s0, 0x8014 +/* 08A94C 800F149C 26107574 */ addiu $s0, $s0, 0x7574 +/* 08A950 800F14A0 0C051F9F */ jal func_80147E7C +/* 08A954 800F14A4 0200282D */ daddu $a1, $s0, $zero +/* 08A958 800F14A8 24040014 */ addiu $a0, $zero, 0x14 +/* 08A95C 800F14AC 0C051F9F */ jal func_80147E7C +/* 08A960 800F14B0 0200282D */ daddu $a1, $s0, $zero +.L800F14B4: +/* 08A964 800F14B4 8E220000 */ lw $v0, ($s1) +/* 08A968 800F14B8 8C430318 */ lw $v1, 0x318($v0) +/* 08A96C 800F14BC 24020004 */ addiu $v0, $zero, 4 +/* 08A970 800F14C0 14620005 */ bne $v1, $v0, .L800F14D8 +/* 08A974 800F14C4 00000000 */ nop +/* 08A978 800F14C8 3C058014 */ lui $a1, 0x8014 +/* 08A97C 800F14CC 24A57574 */ addiu $a1, $a1, 0x7574 +/* 08A980 800F14D0 0C051F9F */ jal func_80147E7C +/* 08A984 800F14D4 24040012 */ addiu $a0, $zero, 0x12 +.L800F14D8: +/* 08A988 800F14D8 8E220000 */ lw $v0, ($s1) +/* 08A98C 800F14DC 8C430318 */ lw $v1, 0x318($v0) +/* 08A990 800F14E0 24020005 */ addiu $v0, $zero, 5 +/* 08A994 800F14E4 14620008 */ bne $v1, $v0, .L800F1508 +/* 08A998 800F14E8 24040010 */ addiu $a0, $zero, 0x10 +/* 08A99C 800F14EC 3C108014 */ lui $s0, 0x8014 +/* 08A9A0 800F14F0 26107574 */ addiu $s0, $s0, 0x7574 +/* 08A9A4 800F14F4 0C051F9F */ jal func_80147E7C +/* 08A9A8 800F14F8 0200282D */ daddu $a1, $s0, $zero +/* 08A9AC 800F14FC 24040014 */ addiu $a0, $zero, 0x14 +/* 08A9B0 800F1500 0C051F9F */ jal func_80147E7C +/* 08A9B4 800F1504 0200282D */ daddu $a1, $s0, $zero +.L800F1508: +/* 08A9B8 800F1508 3C038011 */ lui $v1, 0x8011 +/* 08A9BC 800F150C 8063D692 */ lb $v1, -0x296e($v1) +/* 08A9C0 800F1510 8FBF0018 */ lw $ra, 0x18($sp) +/* 08A9C4 800F1514 8FB10014 */ lw $s1, 0x14($sp) +/* 08A9C8 800F1518 8FB00010 */ lw $s0, 0x10($sp) +/* 08A9CC 800F151C 2402000A */ addiu $v0, $zero, 0xa +/* 08A9D0 800F1520 3C018011 */ lui $at, 0x8011 +/* 08A9D4 800F1524 AC22D640 */ sw $v0, -0x29c0($at) +/* 08A9D8 800F1528 3C018011 */ lui $at, 0x8011 +/* 08A9DC 800F152C AC23D644 */ sw $v1, -0x29bc($at) +/* 08A9E0 800F1530 03E00008 */ jr $ra +/* 08A9E4 800F1534 27BD0020 */ addiu $sp, $sp, 0x20 + +func_800F1538: +/* 08A9E8 800F1538 3C048011 */ lui $a0, 0x8011 +/* 08A9EC 800F153C 8C84D65C */ lw $a0, -0x29a4($a0) +/* 08A9F0 800F1540 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 08A9F4 800F1544 AFBF0018 */ sw $ra, 0x18($sp) +/* 08A9F8 800F1548 AFB10014 */ sw $s1, 0x14($sp) +/* 08A9FC 800F154C 0C05123D */ jal free_icon +/* 08AA00 800F1550 AFB00010 */ sw $s0, 0x10($sp) +/* 08AA04 800F1554 3C048011 */ lui $a0, 0x8011 +/* 08AA08 800F1558 8C84D678 */ lw $a0, -0x2988($a0) +/* 08AA0C 800F155C 0C05123D */ jal free_icon +/* 08AA10 800F1560 00000000 */ nop +/* 08AA14 800F1564 3C048011 */ lui $a0, 0x8011 +/* 08AA18 800F1568 8C84D66C */ lw $a0, -0x2994($a0) +/* 08AA1C 800F156C 0C05123D */ jal free_icon +/* 08AA20 800F1570 00000000 */ nop +/* 08AA24 800F1574 3C048011 */ lui $a0, 0x8011 +/* 08AA28 800F1578 8C84D670 */ lw $a0, -0x2990($a0) +/* 08AA2C 800F157C 0C05123D */ jal free_icon +/* 08AA30 800F1580 00000000 */ nop +/* 08AA34 800F1584 3C048011 */ lui $a0, 0x8011 +/* 08AA38 800F1588 8C84D674 */ lw $a0, -0x298c($a0) +/* 08AA3C 800F158C 0C05123D */ jal free_icon +/* 08AA40 800F1590 00000000 */ nop +/* 08AA44 800F1594 3C108011 */ lui $s0, 0x8011 +/* 08AA48 800F1598 2610D69C */ addiu $s0, $s0, -0x2964 +/* 08AA4C 800F159C 8E020000 */ lw $v0, ($s0) +/* 08AA50 800F15A0 8C430318 */ lw $v1, 0x318($v0) +/* 08AA54 800F15A4 24020003 */ addiu $v0, $zero, 3 +/* 08AA58 800F15A8 14620009 */ bne $v1, $v0, .L800F15D0 +/* 08AA5C 800F15AC 00000000 */ nop +/* 08AA60 800F15B0 3C048011 */ lui $a0, 0x8011 +/* 08AA64 800F15B4 8C84D660 */ lw $a0, -0x29a0($a0) +/* 08AA68 800F15B8 0C05123D */ jal free_icon +/* 08AA6C 800F15BC 00000000 */ nop +/* 08AA70 800F15C0 3C048011 */ lui $a0, 0x8011 +/* 08AA74 800F15C4 8C84D664 */ lw $a0, -0x299c($a0) +/* 08AA78 800F15C8 0C05123D */ jal free_icon +/* 08AA7C 800F15CC 00000000 */ nop +.L800F15D0: +/* 08AA80 800F15D0 8E020000 */ lw $v0, ($s0) +/* 08AA84 800F15D4 8C420318 */ lw $v0, 0x318($v0) +/* 08AA88 800F15D8 24110004 */ addiu $s1, $zero, 4 +/* 08AA8C 800F15DC 14510009 */ bne $v0, $s1, .L800F1604 +/* 08AA90 800F15E0 00000000 */ nop +/* 08AA94 800F15E4 3C048011 */ lui $a0, 0x8011 +/* 08AA98 800F15E8 8C84D660 */ lw $a0, -0x29a0($a0) +/* 08AA9C 800F15EC 0C05123D */ jal free_icon +/* 08AAA0 800F15F0 00000000 */ nop +/* 08AAA4 800F15F4 3C048011 */ lui $a0, 0x8011 +/* 08AAA8 800F15F8 8C84D664 */ lw $a0, -0x299c($a0) +/* 08AAAC 800F15FC 0C05123D */ jal free_icon +/* 08AAB0 800F1600 00000000 */ nop +.L800F1604: +/* 08AAB4 800F1604 8E020000 */ lw $v0, ($s0) +/* 08AAB8 800F1608 8C430318 */ lw $v1, 0x318($v0) +/* 08AABC 800F160C 24020001 */ addiu $v0, $zero, 1 +/* 08AAC0 800F1610 10620003 */ beq $v1, $v0, .L800F1620 +/* 08AAC4 800F1614 00000000 */ nop +/* 08AAC8 800F1618 14710005 */ bne $v1, $s1, .L800F1630 +/* 08AACC 800F161C 00000000 */ nop +.L800F1620: +/* 08AAD0 800F1620 3C048011 */ lui $a0, 0x8011 +/* 08AAD4 800F1624 8C84D668 */ lw $a0, -0x2998($a0) +/* 08AAD8 800F1628 0C05123D */ jal free_icon +/* 08AADC 800F162C 00000000 */ nop +.L800F1630: +/* 08AAE0 800F1630 3C108011 */ lui $s0, 0x8011 +/* 08AAE4 800F1634 2610D69C */ addiu $s0, $s0, -0x2964 +/* 08AAE8 800F1638 8E020000 */ lw $v0, ($s0) +/* 08AAEC 800F163C 8C430318 */ lw $v1, 0x318($v0) +/* 08AAF0 800F1640 24020005 */ addiu $v0, $zero, 5 +/* 08AAF4 800F1644 14620005 */ bne $v1, $v0, .L800F165C +/* 08AAF8 800F1648 00000000 */ nop +/* 08AAFC 800F164C 3C048011 */ lui $a0, 0x8011 +/* 08AB00 800F1650 8C84D660 */ lw $a0, -0x29a0($a0) +/* 08AB04 800F1654 0C05123D */ jal free_icon +/* 08AB08 800F1658 00000000 */ nop +.L800F165C: +/* 08AB0C 800F165C 8E020000 */ lw $v0, ($s0) +/* 08AB10 800F1660 8C430318 */ lw $v1, 0x318($v0) +/* 08AB14 800F1664 28620005 */ slti $v0, $v1, 5 +/* 08AB18 800F1668 14400003 */ bnez $v0, .L800F1678 +/* 08AB1C 800F166C 2402000C */ addiu $v0, $zero, 0xc +/* 08AB20 800F1670 1462000E */ bne $v1, $v0, .L800F16AC +/* 08AB24 800F1674 00000000 */ nop +.L800F1678: +/* 08AB28 800F1678 3C028007 */ lui $v0, 0x8007 +/* 08AB2C 800F167C 8C42419C */ lw $v0, 0x419c($v0) +/* 08AB30 800F1680 80420070 */ lb $v0, 0x70($v0) +/* 08AB34 800F1684 14400009 */ bnez $v0, .L800F16AC +/* 08AB38 800F1688 00000000 */ nop +/* 08AB3C 800F168C 3C028011 */ lui $v0, 0x8011 +/* 08AB40 800F1690 8042D69A */ lb $v0, -0x2966($v0) +/* 08AB44 800F1694 14400003 */ bnez $v0, .L800F16A4 +/* 08AB48 800F1698 00000000 */ nop +/* 08AB4C 800F169C 0C03A631 */ jal func_800E98C4 +/* 08AB50 800F16A0 00000000 */ nop +.L800F16A4: +/* 08AB54 800F16A4 0C03A5EE */ jal func_800E97B8 +/* 08AB58 800F16A8 00000000 */ nop +.L800F16AC: +/* 08AB5C 800F16AC 8FBF0018 */ lw $ra, 0x18($sp) +/* 08AB60 800F16B0 8FB10014 */ lw $s1, 0x14($sp) +/* 08AB64 800F16B4 8FB00010 */ lw $s0, 0x10($sp) +/* 08AB68 800F16B8 2402FFFC */ addiu $v0, $zero, -4 +/* 08AB6C 800F16BC 3C018011 */ lui $at, 0x8011 +/* 08AB70 800F16C0 AC22D640 */ sw $v0, -0x29c0($at) +/* 08AB74 800F16C4 03E00008 */ jr $ra +/* 08AB78 800F16C8 27BD0020 */ addiu $sp, $sp, 0x20 + +func_800F16CC: +/* 08AB7C 800F16CC 3C028011 */ lui $v0, 0x8011 +/* 08AB80 800F16D0 8042D68E */ lb $v0, -0x2972($v0) +/* 08AB84 800F16D4 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 08AB88 800F16D8 AFBF001C */ sw $ra, 0x1c($sp) +/* 08AB8C 800F16DC AFB20018 */ sw $s2, 0x18($sp) +/* 08AB90 800F16E0 AFB10014 */ sw $s1, 0x14($sp) +/* 08AB94 800F16E4 1040002B */ beqz $v0, .L800F1794 +/* 08AB98 800F16E8 AFB00010 */ sw $s0, 0x10($sp) +/* 08AB9C 800F16EC 3C028011 */ lui $v0, 0x8011 +/* 08ABA0 800F16F0 8C42D69C */ lw $v0, -0x2964($v0) +/* 08ABA4 800F16F4 8C430318 */ lw $v1, 0x318($v0) +/* 08ABA8 800F16F8 2C62000E */ sltiu $v0, $v1, 0xe +/* 08ABAC 800F16FC 10400020 */ beqz $v0, .L800F1780 +/* 08ABB0 800F1700 00031080 */ sll $v0, $v1, 2 +/* 08ABB4 800F1704 3C018011 */ lui $at, 0x8011 +/* 08ABB8 800F1708 00220821 */ addu $at, $at, $v0 +/* 08ABBC 800F170C 8C22C3A0 */ lw $v0, -0x3c60($at) +/* 08ABC0 800F1710 00400008 */ jr $v0 +/* 08ABC4 800F1714 00000000 */ nop +/* 08ABC8 800F1718 2404000E */ addiu $a0, $zero, 0xe +/* 08ABCC 800F171C 3C108014 */ lui $s0, 0x8014 +/* 08ABD0 800F1720 26107474 */ addiu $s0, $s0, 0x7474 +/* 08ABD4 800F1724 0C051F9F */ jal func_80147E7C +/* 08ABD8 800F1728 0200282D */ daddu $a1, $s0, $zero +/* 08ABDC 800F172C 0803C5D3 */ j .L800F174C +/* 08ABE0 800F1730 24040001 */ addiu $a0, $zero, 1 + +/* 08ABE4 800F1734 2404000E */ addiu $a0, $zero, 0xe +/* 08ABE8 800F1738 3C108014 */ lui $s0, 0x8014 +/* 08ABEC 800F173C 26107474 */ addiu $s0, $s0, 0x7474 +/* 08ABF0 800F1740 0C051F9F */ jal func_80147E7C +/* 08ABF4 800F1744 0200282D */ daddu $a1, $s0, $zero +/* 08ABF8 800F1748 24040002 */ addiu $a0, $zero, 2 +.L800F174C: +/* 08ABFC 800F174C 0C05272D */ jal play_sound +/* 08AC00 800F1750 00000000 */ nop +/* 08AC04 800F1754 24040013 */ addiu $a0, $zero, 0x13 +/* 08AC08 800F1758 0C051F9F */ jal func_80147E7C +/* 08AC0C 800F175C 0200282D */ daddu $a1, $s0, $zero +/* 08AC10 800F1760 0803C5E1 */ j .L800F1784 +/* 08AC14 800F1764 24040015 */ addiu $a0, $zero, 0x15 + +/* 08AC18 800F1768 3C058014 */ lui $a1, 0x8014 +/* 08AC1C 800F176C 24A57474 */ addiu $a1, $a1, 0x7474 +/* 08AC20 800F1770 0C051F9F */ jal func_80147E7C +/* 08AC24 800F1774 2404000E */ addiu $a0, $zero, 0xe +/* 08AC28 800F1778 0C05272D */ jal play_sound +/* 08AC2C 800F177C 24040001 */ addiu $a0, $zero, 1 +.L800F1780: +/* 08AC30 800F1780 24040015 */ addiu $a0, $zero, 0x15 +.L800F1784: +/* 08AC34 800F1784 3C058014 */ lui $a1, 0x8014 +/* 08AC38 800F1788 24A57474 */ addiu $a1, $a1, 0x7474 +/* 08AC3C 800F178C 0803C5FC */ j .L800F17F0 +/* 08AC40 800F1790 00000000 */ nop + +.L800F1794: +/* 08AC44 800F1794 3C028011 */ lui $v0, 0x8011 +/* 08AC48 800F1798 8C42D69C */ lw $v0, -0x2964($v0) +/* 08AC4C 800F179C 8C430318 */ lw $v1, 0x318($v0) +/* 08AC50 800F17A0 2C62000E */ sltiu $v0, $v1, 0xe +/* 08AC54 800F17A4 10400014 */ beqz $v0, .L800F17F8 +/* 08AC58 800F17A8 00031080 */ sll $v0, $v1, 2 +/* 08AC5C 800F17AC 3C018011 */ lui $at, 0x8011 +/* 08AC60 800F17B0 00220821 */ addu $at, $at, $v0 +/* 08AC64 800F17B4 8C22C3D8 */ lw $v0, -0x3c28($at) +/* 08AC68 800F17B8 00400008 */ jr $v0 +/* 08AC6C 800F17BC 00000000 */ nop +/* 08AC70 800F17C0 2404000E */ addiu $a0, $zero, 0xe +/* 08AC74 800F17C4 0C051F9F */ jal func_80147E7C +/* 08AC78 800F17C8 24050001 */ addiu $a1, $zero, 1 +/* 08AC7C 800F17CC 0803C5FB */ j .L800F17EC +/* 08AC80 800F17D0 24040013 */ addiu $a0, $zero, 0x13 + +/* 08AC84 800F17D4 2404000E */ addiu $a0, $zero, 0xe +/* 08AC88 800F17D8 0C051F9F */ jal func_80147E7C +/* 08AC8C 800F17DC 24050001 */ addiu $a1, $zero, 1 +/* 08AC90 800F17E0 0803C5FB */ j .L800F17EC +/* 08AC94 800F17E4 24040013 */ addiu $a0, $zero, 0x13 + +/* 08AC98 800F17E8 2404000E */ addiu $a0, $zero, 0xe +.L800F17EC: +/* 08AC9C 800F17EC 24050001 */ addiu $a1, $zero, 1 +.L800F17F0: +/* 08ACA0 800F17F0 0C051F9F */ jal func_80147E7C +/* 08ACA4 800F17F4 00000000 */ nop +.L800F17F8: +/* 08ACA8 800F17F8 3C118011 */ lui $s1, 0x8011 +/* 08ACAC 800F17FC 2631D69C */ addiu $s1, $s1, -0x2964 +/* 08ACB0 800F1800 8E220000 */ lw $v0, ($s1) +/* 08ACB4 800F1804 8C420318 */ lw $v0, 0x318($v0) +/* 08ACB8 800F1808 24120003 */ addiu $s2, $zero, 3 +/* 08ACBC 800F180C 14520008 */ bne $v0, $s2, .L800F1830 +/* 08ACC0 800F1810 24040010 */ addiu $a0, $zero, 0x10 +/* 08ACC4 800F1814 3C108014 */ lui $s0, 0x8014 +/* 08ACC8 800F1818 26107474 */ addiu $s0, $s0, 0x7474 +/* 08ACCC 800F181C 0C051F9F */ jal func_80147E7C +/* 08ACD0 800F1820 0200282D */ daddu $a1, $s0, $zero +/* 08ACD4 800F1824 24040014 */ addiu $a0, $zero, 0x14 +/* 08ACD8 800F1828 0C051F9F */ jal func_80147E7C +/* 08ACDC 800F182C 0200282D */ daddu $a1, $s0, $zero +.L800F1830: +/* 08ACE0 800F1830 8E220000 */ lw $v0, ($s1) +/* 08ACE4 800F1834 8C420318 */ lw $v0, 0x318($v0) +/* 08ACE8 800F1838 24100004 */ addiu $s0, $zero, 4 +/* 08ACEC 800F183C 14500005 */ bne $v0, $s0, .L800F1854 +/* 08ACF0 800F1840 00000000 */ nop +/* 08ACF4 800F1844 3C058014 */ lui $a1, 0x8014 +/* 08ACF8 800F1848 24A57474 */ addiu $a1, $a1, 0x7474 +/* 08ACFC 800F184C 0C051F9F */ jal func_80147E7C +/* 08AD00 800F1850 24040012 */ addiu $a0, $zero, 0x12 +.L800F1854: +/* 08AD04 800F1854 8E220000 */ lw $v0, ($s1) +/* 08AD08 800F1858 8C430318 */ lw $v1, 0x318($v0) +/* 08AD0C 800F185C 24020005 */ addiu $v0, $zero, 5 +/* 08AD10 800F1860 14620006 */ bne $v1, $v0, .L800F187C +/* 08AD14 800F1864 240500FF */ addiu $a1, $zero, 0xff +/* 08AD18 800F1868 3C058014 */ lui $a1, 0x8014 +/* 08AD1C 800F186C 24A57474 */ addiu $a1, $a1, 0x7474 +/* 08AD20 800F1870 0C051F9F */ jal func_80147E7C +/* 08AD24 800F1874 24040010 */ addiu $a0, $zero, 0x10 +/* 08AD28 800F1878 240500FF */ addiu $a1, $zero, 0xff +.L800F187C: +/* 08AD2C 800F187C 00A0302D */ daddu $a2, $a1, $zero +/* 08AD30 800F1880 3C048011 */ lui $a0, 0x8011 +/* 08AD34 800F1884 8C84D65C */ lw $a0, -0x29a4($a0) +/* 08AD38 800F1888 0C0513BF */ jal func_80144EFC +/* 08AD3C 800F188C 00A0382D */ daddu $a3, $a1, $zero +/* 08AD40 800F1890 240500FF */ addiu $a1, $zero, 0xff +/* 08AD44 800F1894 00A0302D */ daddu $a2, $a1, $zero +/* 08AD48 800F1898 3C048011 */ lui $a0, 0x8011 +/* 08AD4C 800F189C 8C84D678 */ lw $a0, -0x2988($a0) +/* 08AD50 800F18A0 0C0513BF */ jal func_80144EFC +/* 08AD54 800F18A4 00A0382D */ daddu $a3, $a1, $zero +/* 08AD58 800F18A8 240500FF */ addiu $a1, $zero, 0xff +/* 08AD5C 800F18AC 00A0302D */ daddu $a2, $a1, $zero +/* 08AD60 800F18B0 3C048011 */ lui $a0, 0x8011 +/* 08AD64 800F18B4 8C84D66C */ lw $a0, -0x2994($a0) +/* 08AD68 800F18B8 0C0513BF */ jal func_80144EFC +/* 08AD6C 800F18BC 00A0382D */ daddu $a3, $a1, $zero +/* 08AD70 800F18C0 240500FF */ addiu $a1, $zero, 0xff +/* 08AD74 800F18C4 00A0302D */ daddu $a2, $a1, $zero +/* 08AD78 800F18C8 3C048011 */ lui $a0, 0x8011 +/* 08AD7C 800F18CC 8C84D670 */ lw $a0, -0x2990($a0) +/* 08AD80 800F18D0 0C0513BF */ jal func_80144EFC +/* 08AD84 800F18D4 00A0382D */ daddu $a3, $a1, $zero +/* 08AD88 800F18D8 240500FF */ addiu $a1, $zero, 0xff +/* 08AD8C 800F18DC 00A0302D */ daddu $a2, $a1, $zero +/* 08AD90 800F18E0 3C048011 */ lui $a0, 0x8011 +/* 08AD94 800F18E4 8C84D674 */ lw $a0, -0x298c($a0) +/* 08AD98 800F18E8 0C0513BF */ jal func_80144EFC +/* 08AD9C 800F18EC 00A0382D */ daddu $a3, $a1, $zero +/* 08ADA0 800F18F0 8E220000 */ lw $v0, ($s1) +/* 08ADA4 800F18F4 8C420318 */ lw $v0, 0x318($v0) +/* 08ADA8 800F18F8 1452000C */ bne $v0, $s2, .L800F192C +/* 08ADAC 800F18FC 240500FF */ addiu $a1, $zero, 0xff +/* 08ADB0 800F1900 00A0302D */ daddu $a2, $a1, $zero +/* 08ADB4 800F1904 3C048011 */ lui $a0, 0x8011 +/* 08ADB8 800F1908 8C84D660 */ lw $a0, -0x29a0($a0) +/* 08ADBC 800F190C 0C0513BF */ jal func_80144EFC +/* 08ADC0 800F1910 00A0382D */ daddu $a3, $a1, $zero +/* 08ADC4 800F1914 240500FF */ addiu $a1, $zero, 0xff +/* 08ADC8 800F1918 00A0302D */ daddu $a2, $a1, $zero +/* 08ADCC 800F191C 3C048011 */ lui $a0, 0x8011 +/* 08ADD0 800F1920 8C84D664 */ lw $a0, -0x299c($a0) +/* 08ADD4 800F1924 0C0513BF */ jal func_80144EFC +/* 08ADD8 800F1928 00A0382D */ daddu $a3, $a1, $zero +.L800F192C: +/* 08ADDC 800F192C 8E220000 */ lw $v0, ($s1) +/* 08ADE0 800F1930 8C420318 */ lw $v0, 0x318($v0) +/* 08ADE4 800F1934 1450000C */ bne $v0, $s0, .L800F1968 +/* 08ADE8 800F1938 240500FF */ addiu $a1, $zero, 0xff +/* 08ADEC 800F193C 00A0302D */ daddu $a2, $a1, $zero +/* 08ADF0 800F1940 3C048011 */ lui $a0, 0x8011 +/* 08ADF4 800F1944 8C84D660 */ lw $a0, -0x29a0($a0) +/* 08ADF8 800F1948 0C0513BF */ jal func_80144EFC +/* 08ADFC 800F194C 00A0382D */ daddu $a3, $a1, $zero +/* 08AE00 800F1950 240500FF */ addiu $a1, $zero, 0xff +/* 08AE04 800F1954 00A0302D */ daddu $a2, $a1, $zero +/* 08AE08 800F1958 3C048011 */ lui $a0, 0x8011 +/* 08AE0C 800F195C 8C84D664 */ lw $a0, -0x299c($a0) +/* 08AE10 800F1960 0C0513BF */ jal func_80144EFC +/* 08AE14 800F1964 00A0382D */ daddu $a3, $a1, $zero +.L800F1968: +/* 08AE18 800F1968 8E220000 */ lw $v0, ($s1) +/* 08AE1C 800F196C 8C430318 */ lw $v1, 0x318($v0) +/* 08AE20 800F1970 24020001 */ addiu $v0, $zero, 1 +/* 08AE24 800F1974 10620003 */ beq $v1, $v0, .L800F1984 +/* 08AE28 800F1978 00000000 */ nop +/* 08AE2C 800F197C 14700007 */ bne $v1, $s0, .L800F199C +/* 08AE30 800F1980 00000000 */ nop +.L800F1984: +/* 08AE34 800F1984 3C048011 */ lui $a0, 0x8011 +/* 08AE38 800F1988 8C84D668 */ lw $a0, -0x2998($a0) +/* 08AE3C 800F198C 240500FF */ addiu $a1, $zero, 0xff +/* 08AE40 800F1990 00A0302D */ daddu $a2, $a1, $zero +/* 08AE44 800F1994 0C0513BF */ jal func_80144EFC +/* 08AE48 800F1998 00A0382D */ daddu $a3, $a1, $zero +.L800F199C: +/* 08AE4C 800F199C 3C028011 */ lui $v0, 0x8011 +/* 08AE50 800F19A0 8C42D69C */ lw $v0, -0x2964($v0) +/* 08AE54 800F19A4 8C430318 */ lw $v1, 0x318($v0) +/* 08AE58 800F19A8 24020005 */ addiu $v0, $zero, 5 +/* 08AE5C 800F19AC 14620006 */ bne $v1, $v0, .L800F19C8 +/* 08AE60 800F19B0 240500FF */ addiu $a1, $zero, 0xff +/* 08AE64 800F19B4 3C048011 */ lui $a0, 0x8011 +/* 08AE68 800F19B8 8C84D660 */ lw $a0, -0x29a0($a0) +/* 08AE6C 800F19BC 00A0302D */ daddu $a2, $a1, $zero +/* 08AE70 800F19C0 0C0513BF */ jal func_80144EFC +/* 08AE74 800F19C4 00A0382D */ daddu $a3, $a1, $zero +.L800F19C8: +/* 08AE78 800F19C8 3C048011 */ lui $a0, 0x8011 +/* 08AE7C 800F19CC 8C84D66C */ lw $a0, -0x2994($a0) +/* 08AE80 800F19D0 3C058010 */ lui $a1, 0x8010 +/* 08AE84 800F19D4 24A54A28 */ addiu $a1, $a1, 0x4a28 +/* 08AE88 800F19D8 0C0511FF */ jal set_menu_icon_script +/* 08AE8C 800F19DC 00000000 */ nop +/* 08AE90 800F19E0 8FBF001C */ lw $ra, 0x1c($sp) +/* 08AE94 800F19E4 8FB20018 */ lw $s2, 0x18($sp) +/* 08AE98 800F19E8 8FB10014 */ lw $s1, 0x14($sp) +/* 08AE9C 800F19EC 8FB00010 */ lw $s0, 0x10($sp) +/* 08AEA0 800F19F0 2402000A */ addiu $v0, $zero, 0xa +/* 08AEA4 800F19F4 3C018011 */ lui $at, 0x8011 +/* 08AEA8 800F19F8 A022D690 */ sb $v0, -0x2970($at) +/* 08AEAC 800F19FC 24020014 */ addiu $v0, $zero, 0x14 +/* 08AEB0 800F1A00 3C018011 */ lui $at, 0x8011 +/* 08AEB4 800F1A04 AC22D640 */ sw $v0, -0x29c0($at) +/* 08AEB8 800F1A08 03E00008 */ jr $ra +/* 08AEBC 800F1A0C 27BD0020 */ addiu $sp, $sp, 0x20 + +func_800F1A10: +/* 08AEC0 800F1A10 3C028011 */ lui $v0, 0x8011 +/* 08AEC4 800F1A14 8C42D640 */ lw $v0, -0x29c0($v0) +/* 08AEC8 800F1A18 27BDFFC0 */ addiu $sp, $sp, -0x40 +/* 08AECC 800F1A1C AFBF0038 */ sw $ra, 0x38($sp) +/* 08AED0 800F1A20 AFB30034 */ sw $s3, 0x34($sp) +/* 08AED4 800F1A24 AFB20030 */ sw $s2, 0x30($sp) +/* 08AED8 800F1A28 AFB1002C */ sw $s1, 0x2c($sp) +/* 08AEDC 800F1A2C 24430007 */ addiu $v1, $v0, 7 +/* 08AEE0 800F1A30 2C62006F */ sltiu $v0, $v1, 0x6f +/* 08AEE4 800F1A34 10400707 */ beqz $v0, .L800F3654 +/* 08AEE8 800F1A38 AFB00028 */ sw $s0, 0x28($sp) +/* 08AEEC 800F1A3C 00031080 */ sll $v0, $v1, 2 +/* 08AEF0 800F1A40 3C018011 */ lui $at, 0x8011 +/* 08AEF4 800F1A44 00220821 */ addu $at, $at, $v0 +/* 08AEF8 800F1A48 8C22C410 */ lw $v0, -0x3bf0($at) +/* 08AEFC 800F1A4C 00400008 */ jr $v0 +/* 08AF00 800F1A50 00000000 */ nop +/* 08AF04 800F1A54 3C048011 */ lui $a0, 0x8011 +/* 08AF08 800F1A58 2484D67C */ addiu $a0, $a0, -0x2984 +/* 08AF0C 800F1A5C 24030014 */ addiu $v1, $zero, 0x14 +/* 08AF10 800F1A60 3C058011 */ lui $a1, 0x8011 +/* 08AF14 800F1A64 24A5D67E */ addiu $a1, $a1, -0x2982 +/* 08AF18 800F1A68 24020048 */ addiu $v0, $zero, 0x48 +/* 08AF1C 800F1A6C A4830000 */ sh $v1, ($a0) +/* 08AF20 800F1A70 A4A20000 */ sh $v0, ($a1) +/* 08AF24 800F1A74 3C018011 */ lui $at, 0x8011 +/* 08AF28 800F1A78 A423D680 */ sh $v1, -0x2980($at) +/* 08AF2C 800F1A7C 3C038011 */ lui $v1, 0x8011 +/* 08AF30 800F1A80 8063D68E */ lb $v1, -0x2972($v1) +/* 08AF34 800F1A84 240200BA */ addiu $v0, $zero, 0xba +/* 08AF38 800F1A88 3C018011 */ lui $at, 0x8011 +/* 08AF3C 800F1A8C A422D682 */ sh $v0, -0x297e($at) +/* 08AF40 800F1A90 24020010 */ addiu $v0, $zero, 0x10 +/* 08AF44 800F1A94 3C018011 */ lui $at, 0x8011 +/* 08AF48 800F1A98 A422D684 */ sh $v0, -0x297c($at) +/* 08AF4C 800F1A9C 24020058 */ addiu $v0, $zero, 0x58 +/* 08AF50 800F1AA0 3C018011 */ lui $at, 0x8011 +/* 08AF54 800F1AA4 A422D686 */ sh $v0, -0x297a($at) +/* 08AF58 800F1AA8 24020020 */ addiu $v0, $zero, 0x20 +/* 08AF5C 800F1AAC 3C018011 */ lui $at, 0x8011 +/* 08AF60 800F1AB0 A422D688 */ sh $v0, -0x2978($at) +/* 08AF64 800F1AB4 240200A4 */ addiu $v0, $zero, 0xa4 +/* 08AF68 800F1AB8 3C018011 */ lui $at, 0x8011 +/* 08AF6C 800F1ABC A422D68A */ sh $v0, -0x2976($at) +/* 08AF70 800F1AC0 1060000A */ beqz $v1, .L800F1AEC +/* 08AF74 800F1AC4 00000000 */ nop +/* 08AF78 800F1AC8 3C028011 */ lui $v0, 0x8011 +/* 08AF7C 800F1ACC 8C42D69C */ lw $v0, -0x2964($v0) +/* 08AF80 800F1AD0 8C420318 */ lw $v0, 0x318($v0) +/* 08AF84 800F1AD4 00021040 */ sll $v0, $v0, 1 +/* 08AF88 800F1AD8 3C018011 */ lui $at, 0x8011 +/* 08AF8C 800F1ADC 00220821 */ addu $at, $at, $v0 +/* 08AF90 800F1AE0 942298A0 */ lhu $v0, -0x6760($at) +/* 08AF94 800F1AE4 24420014 */ addiu $v0, $v0, 0x14 +/* 08AF98 800F1AE8 A4820000 */ sh $v0, ($a0) +.L800F1AEC: +/* 08AF9C 800F1AEC 3C028011 */ lui $v0, 0x8011 +/* 08AFA0 800F1AF0 8042D68F */ lb $v0, -0x2971($v0) +/* 08AFA4 800F1AF4 28420007 */ slti $v0, $v0, 7 +/* 08AFA8 800F1AF8 14400002 */ bnez $v0, .L800F1B04 +/* 08AFAC 800F1AFC 2402003E */ addiu $v0, $zero, 0x3e +/* 08AFB0 800F1B00 A4A20000 */ sh $v0, ($a1) +.L800F1B04: +/* 08AFB4 800F1B04 3C048010 */ lui $a0, 0x8010 +/* 08AFB8 800F1B08 2484790C */ addiu $a0, $a0, 0x790c +/* 08AFBC 800F1B0C 3C018011 */ lui $at, 0x8011 +/* 08AFC0 800F1B10 A420D68C */ sh $zero, -0x2974($at) +/* 08AFC4 800F1B14 0C050529 */ jal create_icon +/* 08AFC8 800F1B18 00000000 */ nop +/* 08AFCC 800F1B1C 0040802D */ daddu $s0, $v0, $zero +/* 08AFD0 800F1B20 0200202D */ daddu $a0, $s0, $zero +/* 08AFD4 800F1B24 3C018011 */ lui $at, 0x8011 +/* 08AFD8 800F1B28 AC30D65C */ sw $s0, -0x29a4($at) +/* 08AFDC 800F1B2C 0C051280 */ jal set_icon_flags +/* 08AFE0 800F1B30 24050080 */ addiu $a1, $zero, 0x80 +/* 08AFE4 800F1B34 0200202D */ daddu $a0, $s0, $zero +/* 08AFE8 800F1B38 240500FF */ addiu $a1, $zero, 0xff +/* 08AFEC 800F1B3C 00A0302D */ daddu $a2, $a1, $zero +/* 08AFF0 800F1B40 0C0513BF */ jal func_80144EFC +/* 08AFF4 800F1B44 00A0382D */ daddu $a3, $a1, $zero +/* 08AFF8 800F1B48 3C118011 */ lui $s1, 0x8011 +/* 08AFFC 800F1B4C 2631D69C */ addiu $s1, $s1, -0x2964 +/* 08B000 800F1B50 8E220000 */ lw $v0, ($s1) +/* 08B004 800F1B54 8C430318 */ lw $v1, 0x318($v0) +/* 08B008 800F1B58 24020002 */ addiu $v0, $zero, 2 +/* 08B00C 800F1B5C 10620004 */ beq $v1, $v0, .L800F1B70 +/* 08B010 800F1B60 00000000 */ nop +/* 08B014 800F1B64 0200202D */ daddu $a0, $s0, $zero +/* 08B018 800F1B68 0C051280 */ jal set_icon_flags +/* 08B01C 800F1B6C 0040282D */ daddu $a1, $v0, $zero +.L800F1B70: +/* 08B020 800F1B70 8E220000 */ lw $v0, ($s1) +/* 08B024 800F1B74 8C440000 */ lw $a0, ($v0) +/* 08B028 800F1B78 0C050529 */ jal create_icon +/* 08B02C 800F1B7C 24130001 */ addiu $s3, $zero, 1 +/* 08B030 800F1B80 0040802D */ daddu $s0, $v0, $zero +/* 08B034 800F1B84 3C053EE6 */ lui $a1, 0x3ee6 +/* 08B038 800F1B88 34A56666 */ ori $a1, $a1, 0x6666 +/* 08B03C 800F1B8C 3C018011 */ lui $at, 0x8011 +/* 08B040 800F1B90 AC30D678 */ sw $s0, -0x2988($at) +/* 08B044 800F1B94 0C051308 */ jal func_80144C20 +/* 08B048 800F1B98 0200202D */ daddu $a0, $s0, $zero +/* 08B04C 800F1B9C 0200202D */ daddu $a0, $s0, $zero +/* 08B050 800F1BA0 0C051280 */ jal set_icon_flags +/* 08B054 800F1BA4 34058080 */ ori $a1, $zero, 0x8080 +/* 08B058 800F1BA8 3C048010 */ lui $a0, 0x8010 +/* 08B05C 800F1BAC 24844A28 */ addiu $a0, $a0, 0x4a28 +/* 08B060 800F1BB0 0C050529 */ jal create_icon +/* 08B064 800F1BB4 00000000 */ nop +/* 08B068 800F1BB8 0040802D */ daddu $s0, $v0, $zero +/* 08B06C 800F1BBC 0200202D */ daddu $a0, $s0, $zero +/* 08B070 800F1BC0 3C052000 */ lui $a1, 0x2000 +/* 08B074 800F1BC4 3C018011 */ lui $at, 0x8011 +/* 08B078 800F1BC8 AC24D66C */ sw $a0, -0x2994($at) +/* 08B07C 800F1BCC 0C051280 */ jal set_icon_flags +/* 08B080 800F1BD0 34A50080 */ ori $a1, $a1, 0x80 +/* 08B084 800F1BD4 3C048010 */ lui $a0, 0x8010 +/* 08B088 800F1BD8 248477E4 */ addiu $a0, $a0, 0x77e4 +/* 08B08C 800F1BDC 0C050529 */ jal create_icon +/* 08B090 800F1BE0 00000000 */ nop +/* 08B094 800F1BE4 0040802D */ daddu $s0, $v0, $zero +/* 08B098 800F1BE8 0200202D */ daddu $a0, $s0, $zero +/* 08B09C 800F1BEC 3C052000 */ lui $a1, 0x2000 +/* 08B0A0 800F1BF0 3C018011 */ lui $at, 0x8011 +/* 08B0A4 800F1BF4 AC24D670 */ sw $a0, -0x2990($at) +/* 08B0A8 800F1BF8 0C051280 */ jal set_icon_flags +/* 08B0AC 800F1BFC 34A50080 */ ori $a1, $a1, 0x80 +/* 08B0B0 800F1C00 3C048010 */ lui $a0, 0x8010 +/* 08B0B4 800F1C04 24847798 */ addiu $a0, $a0, 0x7798 +/* 08B0B8 800F1C08 0C050529 */ jal create_icon +/* 08B0BC 800F1C0C 00000000 */ nop +/* 08B0C0 800F1C10 0040802D */ daddu $s0, $v0, $zero +/* 08B0C4 800F1C14 0200202D */ daddu $a0, $s0, $zero +/* 08B0C8 800F1C18 3C052000 */ lui $a1, 0x2000 +/* 08B0CC 800F1C1C 3C018011 */ lui $at, 0x8011 +/* 08B0D0 800F1C20 AC24D674 */ sw $a0, -0x298c($at) +/* 08B0D4 800F1C24 0C051280 */ jal set_icon_flags +/* 08B0D8 800F1C28 34A50080 */ ori $a1, $a1, 0x80 +/* 08B0DC 800F1C2C 8E220000 */ lw $v0, ($s1) +/* 08B0E0 800F1C30 8C430318 */ lw $v1, 0x318($v0) +/* 08B0E4 800F1C34 24020003 */ addiu $v0, $zero, 3 +/* 08B0E8 800F1C38 14620010 */ bne $v1, $v0, .L800F1C7C +/* 08B0EC 800F1C3C 00000000 */ nop +/* 08B0F0 800F1C40 3C048010 */ lui $a0, 0x8010 +/* 08B0F4 800F1C44 24844C10 */ addiu $a0, $a0, 0x4c10 +/* 08B0F8 800F1C48 0C050529 */ jal create_icon +/* 08B0FC 800F1C4C 00000000 */ nop +/* 08B100 800F1C50 3C018011 */ lui $at, 0x8011 +/* 08B104 800F1C54 AC22D660 */ sw $v0, -0x29a0($at) +/* 08B108 800F1C58 0040802D */ daddu $s0, $v0, $zero +/* 08B10C 800F1C5C 0040202D */ daddu $a0, $v0, $zero +/* 08B110 800F1C60 0C051280 */ jal set_icon_flags +/* 08B114 800F1C64 24050080 */ addiu $a1, $zero, 0x80 +/* 08B118 800F1C68 0200202D */ daddu $a0, $s0, $zero +/* 08B11C 800F1C6C 240500FF */ addiu $a1, $zero, 0xff +/* 08B120 800F1C70 00A0302D */ daddu $a2, $a1, $zero +/* 08B124 800F1C74 0C0513BF */ jal func_80144EFC +/* 08B128 800F1C78 00A0382D */ daddu $a3, $a1, $zero +.L800F1C7C: +/* 08B12C 800F1C7C 8E220000 */ lw $v0, ($s1) +/* 08B130 800F1C80 8C420318 */ lw $v0, 0x318($v0) +/* 08B134 800F1C84 24120004 */ addiu $s2, $zero, 4 +/* 08B138 800F1C88 14520010 */ bne $v0, $s2, .L800F1CCC +/* 08B13C 800F1C8C 00000000 */ nop +/* 08B140 800F1C90 3C048010 */ lui $a0, 0x8010 +/* 08B144 800F1C94 24844C10 */ addiu $a0, $a0, 0x4c10 +/* 08B148 800F1C98 0C050529 */ jal create_icon +/* 08B14C 800F1C9C 00000000 */ nop +/* 08B150 800F1CA0 3C018011 */ lui $at, 0x8011 +/* 08B154 800F1CA4 AC22D660 */ sw $v0, -0x29a0($at) +/* 08B158 800F1CA8 0040802D */ daddu $s0, $v0, $zero +/* 08B15C 800F1CAC 0040202D */ daddu $a0, $v0, $zero +/* 08B160 800F1CB0 0C051280 */ jal set_icon_flags +/* 08B164 800F1CB4 34058080 */ ori $a1, $zero, 0x8080 +/* 08B168 800F1CB8 0200202D */ daddu $a0, $s0, $zero +/* 08B16C 800F1CBC 240500FF */ addiu $a1, $zero, 0xff +/* 08B170 800F1CC0 00A0302D */ daddu $a2, $a1, $zero +/* 08B174 800F1CC4 0C0513BF */ jal func_80144EFC +/* 08B178 800F1CC8 00A0382D */ daddu $a3, $a1, $zero +.L800F1CCC: +/* 08B17C 800F1CCC 8E220000 */ lw $v0, ($s1) +/* 08B180 800F1CD0 8C430318 */ lw $v1, 0x318($v0) +/* 08B184 800F1CD4 24020005 */ addiu $v0, $zero, 5 +/* 08B188 800F1CD8 14620010 */ bne $v1, $v0, .L800F1D1C +/* 08B18C 800F1CDC 00000000 */ nop +/* 08B190 800F1CE0 3C048011 */ lui $a0, 0x8011 +/* 08B194 800F1CE4 24848558 */ addiu $a0, $a0, -0x7aa8 +/* 08B198 800F1CE8 0C050529 */ jal create_icon +/* 08B19C 800F1CEC 00000000 */ nop +/* 08B1A0 800F1CF0 3C018011 */ lui $at, 0x8011 +/* 08B1A4 800F1CF4 AC22D660 */ sw $v0, -0x29a0($at) +/* 08B1A8 800F1CF8 0040802D */ daddu $s0, $v0, $zero +/* 08B1AC 800F1CFC 0040202D */ daddu $a0, $v0, $zero +/* 08B1B0 800F1D00 0C051280 */ jal set_icon_flags +/* 08B1B4 800F1D04 24050080 */ addiu $a1, $zero, 0x80 +/* 08B1B8 800F1D08 0200202D */ daddu $a0, $s0, $zero +/* 08B1BC 800F1D0C 240500FF */ addiu $a1, $zero, 0xff +/* 08B1C0 800F1D10 00A0302D */ daddu $a2, $a1, $zero +/* 08B1C4 800F1D14 0C0513BF */ jal func_80144EFC +/* 08B1C8 800F1D18 00A0382D */ daddu $a3, $a1, $zero +.L800F1D1C: +/* 08B1CC 800F1D1C 8E220000 */ lw $v0, ($s1) +/* 08B1D0 800F1D20 8C420318 */ lw $v0, 0x318($v0) +/* 08B1D4 800F1D24 2442FFFD */ addiu $v0, $v0, -3 +/* 08B1D8 800F1D28 2C420002 */ sltiu $v0, $v0, 2 +/* 08B1DC 800F1D2C 10400010 */ beqz $v0, .L800F1D70 +/* 08B1E0 800F1D30 00000000 */ nop +/* 08B1E4 800F1D34 3C048011 */ lui $a0, 0x8011 +/* 08B1E8 800F1D38 24849270 */ addiu $a0, $a0, -0x6d90 +/* 08B1EC 800F1D3C 0C050529 */ jal create_icon +/* 08B1F0 800F1D40 00000000 */ nop +/* 08B1F4 800F1D44 3C018011 */ lui $at, 0x8011 +/* 08B1F8 800F1D48 AC22D664 */ sw $v0, -0x299c($at) +/* 08B1FC 800F1D4C 0040802D */ daddu $s0, $v0, $zero +/* 08B200 800F1D50 0040202D */ daddu $a0, $v0, $zero +/* 08B204 800F1D54 0C051280 */ jal set_icon_flags +/* 08B208 800F1D58 24050080 */ addiu $a1, $zero, 0x80 +/* 08B20C 800F1D5C 0200202D */ daddu $a0, $s0, $zero +/* 08B210 800F1D60 240500FF */ addiu $a1, $zero, 0xff +/* 08B214 800F1D64 00A0302D */ daddu $a2, $a1, $zero +/* 08B218 800F1D68 0C0513BF */ jal func_80144EFC +/* 08B21C 800F1D6C 00A0382D */ daddu $a3, $a1, $zero +.L800F1D70: +/* 08B220 800F1D70 8E220000 */ lw $v0, ($s1) +/* 08B224 800F1D74 8C420318 */ lw $v0, 0x318($v0) +/* 08B228 800F1D78 10530003 */ beq $v0, $s3, .L800F1D88 +/* 08B22C 800F1D7C 00000000 */ nop +/* 08B230 800F1D80 14520010 */ bne $v0, $s2, .L800F1DC4 +/* 08B234 800F1D84 2402FF38 */ addiu $v0, $zero, -0xc8 +.L800F1D88: +/* 08B238 800F1D88 3C048011 */ lui $a0, 0x8011 +/* 08B23C 800F1D8C 0C050529 */ jal create_icon +/* 08B240 800F1D90 8C849890 */ lw $a0, -0x6770($a0) +/* 08B244 800F1D94 0040802D */ daddu $s0, $v0, $zero +/* 08B248 800F1D98 0200202D */ daddu $a0, $s0, $zero +/* 08B24C 800F1D9C 3C018011 */ lui $at, 0x8011 +/* 08B250 800F1DA0 AC30D668 */ sw $s0, -0x2998($at) +/* 08B254 800F1DA4 0C051280 */ jal set_icon_flags +/* 08B258 800F1DA8 24050080 */ addiu $a1, $zero, 0x80 +/* 08B25C 800F1DAC 0200202D */ daddu $a0, $s0, $zero +/* 08B260 800F1DB0 240500FF */ addiu $a1, $zero, 0xff +/* 08B264 800F1DB4 00A0302D */ daddu $a2, $a1, $zero +/* 08B268 800F1DB8 0C0513BF */ jal func_80144EFC +/* 08B26C 800F1DBC 00A0382D */ daddu $a3, $a1, $zero +/* 08B270 800F1DC0 2402FF38 */ addiu $v0, $zero, -0xc8 +.L800F1DC4: +/* 08B274 800F1DC4 3C018011 */ lui $at, 0x8011 +/* 08B278 800F1DC8 A422D65A */ sh $v0, -0x29a6($at) +/* 08B27C 800F1DCC 3C028011 */ lui $v0, 0x8011 +/* 08B280 800F1DD0 8042D691 */ lb $v0, -0x296f($v0) +/* 08B284 800F1DD4 3C038011 */ lui $v1, 0x8011 +/* 08B288 800F1DD8 8063D68E */ lb $v1, -0x2972($v1) +/* 08B28C 800F1DDC 3C048011 */ lui $a0, 0x8011 +/* 08B290 800F1DE0 2484D644 */ addiu $a0, $a0, -0x29bc +/* 08B294 800F1DE4 14600003 */ bnez $v1, .L800F1DF4 +/* 08B298 800F1DE8 AC820000 */ sw $v0, ($a0) +/* 08B29C 800F1DEC 24020001 */ addiu $v0, $zero, 1 +/* 08B2A0 800F1DF0 AC820000 */ sw $v0, ($a0) +.L800F1DF4: +/* 08B2A4 800F1DF4 3C058011 */ lui $a1, 0x8011 +/* 08B2A8 800F1DF8 84A5D67C */ lh $a1, -0x2984($a1) +/* 08B2AC 800F1DFC 3C028011 */ lui $v0, 0x8011 +/* 08B2B0 800F1E00 8C42D69C */ lw $v0, -0x2964($v0) +/* 08B2B4 800F1E04 3C068011 */ lui $a2, 0x8011 +/* 08B2B8 800F1E08 84C6D67E */ lh $a2, -0x2982($a2) +/* 08B2BC 800F1E0C 8C430318 */ lw $v1, 0x318($v0) +/* 08B2C0 800F1E10 2402000A */ addiu $v0, $zero, 0xa +/* 08B2C4 800F1E14 3C018011 */ lui $at, 0x8011 +/* 08B2C8 800F1E18 A022D690 */ sb $v0, -0x2970($at) +/* 08B2CC 800F1E1C 2C62000E */ sltiu $v0, $v1, 0xe +/* 08B2D0 800F1E20 1040017B */ beqz $v0, .L800F2410 +/* 08B2D4 800F1E24 00031080 */ sll $v0, $v1, 2 +/* 08B2D8 800F1E28 3C018011 */ lui $at, 0x8011 +/* 08B2DC 800F1E2C 00220821 */ addu $at, $at, $v0 +/* 08B2E0 800F1E30 8C22C5D0 */ lw $v0, -0x3a30($at) +/* 08B2E4 800F1E34 00400008 */ jr $v0 +/* 08B2E8 800F1E38 00000000 */ nop +/* 08B2EC 800F1E3C 2404000E */ addiu $a0, $zero, 0xe +/* 08B2F0 800F1E40 24070091 */ addiu $a3, $zero, 0x91 +/* 08B2F4 800F1E44 3C038011 */ lui $v1, 0x8011 +/* 08B2F8 800F1E48 8063D656 */ lb $v1, -0x29aa($v1) +/* 08B2FC 800F1E4C 24020014 */ addiu $v0, $zero, 0x14 +/* 08B300 800F1E50 AFA20014 */ sw $v0, 0x14($sp) +/* 08B304 800F1E54 3C02800F */ lui $v0, 0x800f +/* 08B308 800F1E58 24423680 */ addiu $v0, $v0, 0x3680 +/* 08B30C 800F1E5C AFA20018 */ sw $v0, 0x18($sp) +/* 08B310 800F1E60 2402FFFF */ addiu $v0, $zero, -1 +/* 08B314 800F1E64 AFA0001C */ sw $zero, 0x1c($sp) +/* 08B318 800F1E68 AFA20020 */ sw $v0, 0x20($sp) +/* 08B31C 800F1E6C 00031040 */ sll $v0, $v1, 1 +/* 08B320 800F1E70 00431021 */ addu $v0, $v0, $v1 +/* 08B324 800F1E74 00021080 */ sll $v0, $v0, 2 +/* 08B328 800F1E78 00431021 */ addu $v0, $v0, $v1 +/* 08B32C 800F1E7C 2442001A */ addiu $v0, $v0, 0x1a +/* 08B330 800F1E80 0C051F32 */ jal func_80147CC8 +/* 08B334 800F1E84 AFA20010 */ sw $v0, 0x10($sp) +/* 08B338 800F1E88 3C028011 */ lui $v0, 0x8011 +/* 08B33C 800F1E8C 8C42D69C */ lw $v0, -0x2964($v0) +/* 08B340 800F1E90 8C42031C */ lw $v0, 0x31c($v0) +/* 08B344 800F1E94 14400005 */ bnez $v0, .L800F1EAC +/* 08B348 800F1E98 2404000F */ addiu $a0, $zero, 0xf +/* 08B34C 800F1E9C 24050019 */ addiu $a1, $zero, 0x19 +/* 08B350 800F1EA0 2406FFFA */ addiu $a2, $zero, -6 +/* 08B354 800F1EA4 0803C7AE */ j .L800F1EB8 +/* 08B358 800F1EA8 2407005F */ addiu $a3, $zero, 0x5f + +.L800F1EAC: +/* 08B35C 800F1EAC 2405000C */ addiu $a1, $zero, 0xc +/* 08B360 800F1EB0 2406FFFA */ addiu $a2, $zero, -6 +/* 08B364 800F1EB4 24070079 */ addiu $a3, $zero, 0x79 +.L800F1EB8: +/* 08B368 800F1EB8 24020010 */ addiu $v0, $zero, 0x10 +/* 08B36C 800F1EBC AFA20010 */ sw $v0, 0x10($sp) +/* 08B370 800F1EC0 24020015 */ addiu $v0, $zero, 0x15 +/* 08B374 800F1EC4 AFA20014 */ sw $v0, 0x14($sp) +/* 08B378 800F1EC8 3C02800F */ lui $v0, 0x800f +/* 08B37C 800F1ECC 24424648 */ addiu $v0, $v0, 0x4648 +/* 08B380 800F1ED0 AFA20018 */ sw $v0, 0x18($sp) +/* 08B384 800F1ED4 2402000E */ addiu $v0, $zero, 0xe +/* 08B388 800F1ED8 AFA0001C */ sw $zero, 0x1c($sp) +/* 08B38C 800F1EDC 0C051F32 */ jal func_80147CC8 +/* 08B390 800F1EE0 AFA20020 */ sw $v0, 0x20($sp) +/* 08B394 800F1EE4 2404000F */ addiu $a0, $zero, 0xf +/* 08B398 800F1EE8 0C051F9F */ jal func_80147E7C +/* 08B39C 800F1EEC 24050001 */ addiu $a1, $zero, 1 +/* 08B3A0 800F1EF0 24040011 */ addiu $a0, $zero, 0x11 +/* 08B3A4 800F1EF4 0803C902 */ j .L800F2408 +/* 08B3A8 800F1EF8 24050002 */ addiu $a1, $zero, 2 + +/* 08B3AC 800F1EFC 2404000E */ addiu $a0, $zero, 0xe +/* 08B3B0 800F1F00 2407008B */ addiu $a3, $zero, 0x8b +/* 08B3B4 800F1F04 3C038011 */ lui $v1, 0x8011 +/* 08B3B8 800F1F08 8063D656 */ lb $v1, -0x29aa($v1) +/* 08B3BC 800F1F0C 24020014 */ addiu $v0, $zero, 0x14 +/* 08B3C0 800F1F10 AFA20014 */ sw $v0, 0x14($sp) +/* 08B3C4 800F1F14 3C02800F */ lui $v0, 0x800f +/* 08B3C8 800F1F18 24423680 */ addiu $v0, $v0, 0x3680 +/* 08B3CC 800F1F1C AFA20018 */ sw $v0, 0x18($sp) +/* 08B3D0 800F1F20 2402FFFF */ addiu $v0, $zero, -1 +/* 08B3D4 800F1F24 AFA0001C */ sw $zero, 0x1c($sp) +/* 08B3D8 800F1F28 AFA20020 */ sw $v0, 0x20($sp) +/* 08B3DC 800F1F2C 00031040 */ sll $v0, $v1, 1 +/* 08B3E0 800F1F30 00431021 */ addu $v0, $v0, $v1 +/* 08B3E4 800F1F34 00021080 */ sll $v0, $v0, 2 +/* 08B3E8 800F1F38 00431021 */ addu $v0, $v0, $v1 +/* 08B3EC 800F1F3C 2442001A */ addiu $v0, $v0, 0x1a +/* 08B3F0 800F1F40 0C051F32 */ jal func_80147CC8 +/* 08B3F4 800F1F44 AFA20010 */ sw $v0, 0x10($sp) +/* 08B3F8 800F1F48 24040011 */ addiu $a0, $zero, 0x11 +/* 08B3FC 800F1F4C 0803C8F0 */ j .L800F23C0 +/* 08B400 800F1F50 2405000D */ addiu $a1, $zero, 0xd + +/* 08B404 800F1F54 2404000E */ addiu $a0, $zero, 0xe +/* 08B408 800F1F58 240700A2 */ addiu $a3, $zero, 0xa2 +/* 08B40C 800F1F5C 3C038011 */ lui $v1, 0x8011 +/* 08B410 800F1F60 8063D656 */ lb $v1, -0x29aa($v1) +/* 08B414 800F1F64 24020014 */ addiu $v0, $zero, 0x14 +/* 08B418 800F1F68 AFA20014 */ sw $v0, 0x14($sp) +/* 08B41C 800F1F6C 3C02800F */ lui $v0, 0x800f +/* 08B420 800F1F70 24423680 */ addiu $v0, $v0, 0x3680 +/* 08B424 800F1F74 AFA20018 */ sw $v0, 0x18($sp) +/* 08B428 800F1F78 2402FFFF */ addiu $v0, $zero, -1 +/* 08B42C 800F1F7C AFA0001C */ sw $zero, 0x1c($sp) +/* 08B430 800F1F80 AFA20020 */ sw $v0, 0x20($sp) +/* 08B434 800F1F84 00031040 */ sll $v0, $v1, 1 +/* 08B438 800F1F88 00431021 */ addu $v0, $v0, $v1 +/* 08B43C 800F1F8C 00021080 */ sll $v0, $v0, 2 +/* 08B440 800F1F90 00431021 */ addu $v0, $v0, $v1 +/* 08B444 800F1F94 2442001A */ addiu $v0, $v0, 0x1a +/* 08B448 800F1F98 0C051F32 */ jal func_80147CC8 +/* 08B44C 800F1F9C AFA20010 */ sw $v0, 0x10($sp) +/* 08B450 800F1FA0 2404000F */ addiu $a0, $zero, 0xf +/* 08B454 800F1FA4 24050011 */ addiu $a1, $zero, 0x11 +/* 08B458 800F1FA8 2406FFFA */ addiu $a2, $zero, -6 +/* 08B45C 800F1FAC 24070060 */ addiu $a3, $zero, 0x60 +/* 08B460 800F1FB0 24020010 */ addiu $v0, $zero, 0x10 +/* 08B464 800F1FB4 AFA20010 */ sw $v0, 0x10($sp) +/* 08B468 800F1FB8 24020015 */ addiu $v0, $zero, 0x15 +/* 08B46C 800F1FBC AFA20014 */ sw $v0, 0x14($sp) +/* 08B470 800F1FC0 3C02800F */ lui $v0, 0x800f +/* 08B474 800F1FC4 24424648 */ addiu $v0, $v0, 0x4648 +/* 08B478 800F1FC8 AFA20018 */ sw $v0, 0x18($sp) +/* 08B47C 800F1FCC 2402000E */ addiu $v0, $zero, 0xe +/* 08B480 800F1FD0 AFA0001C */ sw $zero, 0x1c($sp) +/* 08B484 800F1FD4 0C051F32 */ jal func_80147CC8 +/* 08B488 800F1FD8 AFA20020 */ sw $v0, 0x20($sp) +/* 08B48C 800F1FDC 2404000F */ addiu $a0, $zero, 0xf +/* 08B490 800F1FE0 0C051F9F */ jal func_80147E7C +/* 08B494 800F1FE4 24050001 */ addiu $a1, $zero, 1 +/* 08B498 800F1FE8 24040011 */ addiu $a0, $zero, 0x11 +/* 08B49C 800F1FEC 0803C902 */ j .L800F2408 +/* 08B4A0 800F1FF0 24050002 */ addiu $a1, $zero, 2 + +/* 08B4A4 800F1FF4 2404000E */ addiu $a0, $zero, 0xe +/* 08B4A8 800F1FF8 24070092 */ addiu $a3, $zero, 0x92 +/* 08B4AC 800F1FFC 3C038011 */ lui $v1, 0x8011 +/* 08B4B0 800F2000 8063D656 */ lb $v1, -0x29aa($v1) +/* 08B4B4 800F2004 24020014 */ addiu $v0, $zero, 0x14 +/* 08B4B8 800F2008 AFA20014 */ sw $v0, 0x14($sp) +/* 08B4BC 800F200C 3C02800F */ lui $v0, 0x800f +/* 08B4C0 800F2010 24423680 */ addiu $v0, $v0, 0x3680 +/* 08B4C4 800F2014 AFA20018 */ sw $v0, 0x18($sp) +/* 08B4C8 800F2018 2402FFFF */ addiu $v0, $zero, -1 +/* 08B4CC 800F201C AFA0001C */ sw $zero, 0x1c($sp) +/* 08B4D0 800F2020 AFA20020 */ sw $v0, 0x20($sp) +/* 08B4D4 800F2024 00031040 */ sll $v0, $v1, 1 +/* 08B4D8 800F2028 00431021 */ addu $v0, $v0, $v1 +/* 08B4DC 800F202C 00021080 */ sll $v0, $v0, 2 +/* 08B4E0 800F2030 00431021 */ addu $v0, $v0, $v1 +/* 08B4E4 800F2034 2442001A */ addiu $v0, $v0, 0x1a +/* 08B4E8 800F2038 0C051F32 */ jal func_80147CC8 +/* 08B4EC 800F203C AFA20010 */ sw $v0, 0x10($sp) +/* 08B4F0 800F2040 24040011 */ addiu $a0, $zero, 0x11 +/* 08B4F4 800F2044 0803C8F0 */ j .L800F23C0 +/* 08B4F8 800F2048 2405000C */ addiu $a1, $zero, 0xc + +/* 08B4FC 800F204C 2404000E */ addiu $a0, $zero, 0xe +/* 08B500 800F2050 240700A7 */ addiu $a3, $zero, 0xa7 +/* 08B504 800F2054 3C038011 */ lui $v1, 0x8011 +/* 08B508 800F2058 8063D656 */ lb $v1, -0x29aa($v1) +/* 08B50C 800F205C 24020014 */ addiu $v0, $zero, 0x14 +/* 08B510 800F2060 AFA20014 */ sw $v0, 0x14($sp) +/* 08B514 800F2064 3C02800F */ lui $v0, 0x800f +/* 08B518 800F2068 24423680 */ addiu $v0, $v0, 0x3680 +/* 08B51C 800F206C AFA20018 */ sw $v0, 0x18($sp) +/* 08B520 800F2070 2402FFFF */ addiu $v0, $zero, -1 +/* 08B524 800F2074 AFA0001C */ sw $zero, 0x1c($sp) +/* 08B528 800F2078 AFA20020 */ sw $v0, 0x20($sp) +/* 08B52C 800F207C 00031040 */ sll $v0, $v1, 1 +/* 08B530 800F2080 00431021 */ addu $v0, $v0, $v1 +/* 08B534 800F2084 00021080 */ sll $v0, $v0, 2 +/* 08B538 800F2088 00431021 */ addu $v0, $v0, $v1 +/* 08B53C 800F208C 2442001A */ addiu $v0, $v0, 0x1a +/* 08B540 800F2090 0C051F32 */ jal func_80147CC8 +/* 08B544 800F2094 AFA20010 */ sw $v0, 0x10($sp) +/* 08B548 800F2098 2404000F */ addiu $a0, $zero, 0xf +/* 08B54C 800F209C 24050016 */ addiu $a1, $zero, 0x16 +/* 08B550 800F20A0 2406FFFA */ addiu $a2, $zero, -6 +/* 08B554 800F20A4 2407005F */ addiu $a3, $zero, 0x5f +/* 08B558 800F20A8 24020010 */ addiu $v0, $zero, 0x10 +/* 08B55C 800F20AC AFA20010 */ sw $v0, 0x10($sp) +/* 08B560 800F20B0 24020015 */ addiu $v0, $zero, 0x15 +/* 08B564 800F20B4 AFA20014 */ sw $v0, 0x14($sp) +/* 08B568 800F20B8 3C02800F */ lui $v0, 0x800f +/* 08B56C 800F20BC 24424648 */ addiu $v0, $v0, 0x4648 +/* 08B570 800F20C0 AFA20018 */ sw $v0, 0x18($sp) +/* 08B574 800F20C4 2402000E */ addiu $v0, $zero, 0xe +/* 08B578 800F20C8 AFA0001C */ sw $zero, 0x1c($sp) +/* 08B57C 800F20CC 0C051F32 */ jal func_80147CC8 +/* 08B580 800F20D0 AFA20020 */ sw $v0, 0x20($sp) +/* 08B584 800F20D4 2404000F */ addiu $a0, $zero, 0xf +/* 08B588 800F20D8 0C051F9F */ jal func_80147E7C +/* 08B58C 800F20DC 24050001 */ addiu $a1, $zero, 1 +/* 08B590 800F20E0 24040011 */ addiu $a0, $zero, 0x11 +/* 08B594 800F20E4 0803C902 */ j .L800F2408 +/* 08B598 800F20E8 24050002 */ addiu $a1, $zero, 2 + +/* 08B59C 800F20EC 2404000E */ addiu $a0, $zero, 0xe +/* 08B5A0 800F20F0 240700AA */ addiu $a3, $zero, 0xaa +/* 08B5A4 800F20F4 3C038011 */ lui $v1, 0x8011 +/* 08B5A8 800F20F8 8063D656 */ lb $v1, -0x29aa($v1) +/* 08B5AC 800F20FC 24020014 */ addiu $v0, $zero, 0x14 +/* 08B5B0 800F2100 AFA20014 */ sw $v0, 0x14($sp) +/* 08B5B4 800F2104 3C02800F */ lui $v0, 0x800f +/* 08B5B8 800F2108 24423680 */ addiu $v0, $v0, 0x3680 +/* 08B5BC 800F210C AFA20018 */ sw $v0, 0x18($sp) +/* 08B5C0 800F2110 2402FFFF */ addiu $v0, $zero, -1 +/* 08B5C4 800F2114 AFA0001C */ sw $zero, 0x1c($sp) +/* 08B5C8 800F2118 AFA20020 */ sw $v0, 0x20($sp) +/* 08B5CC 800F211C 00031040 */ sll $v0, $v1, 1 +/* 08B5D0 800F2120 00431021 */ addu $v0, $v0, $v1 +/* 08B5D4 800F2124 00021080 */ sll $v0, $v0, 2 +/* 08B5D8 800F2128 00431021 */ addu $v0, $v0, $v1 +/* 08B5DC 800F212C 2442001A */ addiu $v0, $v0, 0x1a +/* 08B5E0 800F2130 0C051F32 */ jal func_80147CC8 +/* 08B5E4 800F2134 AFA20010 */ sw $v0, 0x10($sp) +/* 08B5E8 800F2138 2404000F */ addiu $a0, $zero, 0xf +/* 08B5EC 800F213C 24050020 */ addiu $a1, $zero, 0x20 +/* 08B5F0 800F2140 2406FFFA */ addiu $a2, $zero, -6 +/* 08B5F4 800F2144 24070068 */ addiu $a3, $zero, 0x68 +/* 08B5F8 800F2148 24020010 */ addiu $v0, $zero, 0x10 +/* 08B5FC 800F214C AFA20010 */ sw $v0, 0x10($sp) +/* 08B600 800F2150 24020015 */ addiu $v0, $zero, 0x15 +/* 08B604 800F2154 AFA20014 */ sw $v0, 0x14($sp) +/* 08B608 800F2158 3C02800F */ lui $v0, 0x800f +/* 08B60C 800F215C 24424648 */ addiu $v0, $v0, 0x4648 +/* 08B610 800F2160 AFA20018 */ sw $v0, 0x18($sp) +/* 08B614 800F2164 2402000E */ addiu $v0, $zero, 0xe +/* 08B618 800F2168 AFA0001C */ sw $zero, 0x1c($sp) +/* 08B61C 800F216C 0C051F32 */ jal func_80147CC8 +/* 08B620 800F2170 AFA20020 */ sw $v0, 0x20($sp) +/* 08B624 800F2174 2404000F */ addiu $a0, $zero, 0xf +/* 08B628 800F2178 0C051F9F */ jal func_80147E7C +/* 08B62C 800F217C 24050001 */ addiu $a1, $zero, 1 +/* 08B630 800F2180 24040011 */ addiu $a0, $zero, 0x11 +/* 08B634 800F2184 0803C902 */ j .L800F2408 +/* 08B638 800F2188 24050002 */ addiu $a1, $zero, 2 + +/* 08B63C 800F218C 2404000E */ addiu $a0, $zero, 0xe +/* 08B640 800F2190 24070091 */ addiu $a3, $zero, 0x91 +/* 08B644 800F2194 3C038011 */ lui $v1, 0x8011 +/* 08B648 800F2198 8063D656 */ lb $v1, -0x29aa($v1) +/* 08B64C 800F219C 24020014 */ addiu $v0, $zero, 0x14 +/* 08B650 800F21A0 AFA20014 */ sw $v0, 0x14($sp) +/* 08B654 800F21A4 3C02800F */ lui $v0, 0x800f +/* 08B658 800F21A8 24423680 */ addiu $v0, $v0, 0x3680 +/* 08B65C 800F21AC AFA20018 */ sw $v0, 0x18($sp) +/* 08B660 800F21B0 2402FFFF */ addiu $v0, $zero, -1 +/* 08B664 800F21B4 AFA0001C */ sw $zero, 0x1c($sp) +/* 08B668 800F21B8 AFA20020 */ sw $v0, 0x20($sp) +/* 08B66C 800F21BC 00031040 */ sll $v0, $v1, 1 +/* 08B670 800F21C0 00431021 */ addu $v0, $v0, $v1 +/* 08B674 800F21C4 00021080 */ sll $v0, $v0, 2 +/* 08B678 800F21C8 00431021 */ addu $v0, $v0, $v1 +/* 08B67C 800F21CC 2442001A */ addiu $v0, $v0, 0x1a +/* 08B680 800F21D0 0C051F32 */ jal func_80147CC8 +/* 08B684 800F21D4 AFA20010 */ sw $v0, 0x10($sp) +/* 08B688 800F21D8 2404000F */ addiu $a0, $zero, 0xf +/* 08B68C 800F21DC 2405000C */ addiu $a1, $zero, 0xc +/* 08B690 800F21E0 2406FFFA */ addiu $a2, $zero, -6 +/* 08B694 800F21E4 24070079 */ addiu $a3, $zero, 0x79 +/* 08B698 800F21E8 24020010 */ addiu $v0, $zero, 0x10 +/* 08B69C 800F21EC AFA20010 */ sw $v0, 0x10($sp) +/* 08B6A0 800F21F0 24020015 */ addiu $v0, $zero, 0x15 +/* 08B6A4 800F21F4 AFA20014 */ sw $v0, 0x14($sp) +/* 08B6A8 800F21F8 3C02800F */ lui $v0, 0x800f +/* 08B6AC 800F21FC 24424648 */ addiu $v0, $v0, 0x4648 +/* 08B6B0 800F2200 AFA20018 */ sw $v0, 0x18($sp) +/* 08B6B4 800F2204 2402000E */ addiu $v0, $zero, 0xe +/* 08B6B8 800F2208 AFA0001C */ sw $zero, 0x1c($sp) +/* 08B6BC 800F220C 0C051F32 */ jal func_80147CC8 +/* 08B6C0 800F2210 AFA20020 */ sw $v0, 0x20($sp) +/* 08B6C4 800F2214 2404000F */ addiu $a0, $zero, 0xf +/* 08B6C8 800F2218 0C051F9F */ jal func_80147E7C +/* 08B6CC 800F221C 24050001 */ addiu $a1, $zero, 1 +/* 08B6D0 800F2220 24040011 */ addiu $a0, $zero, 0x11 +/* 08B6D4 800F2224 0803C902 */ j .L800F2408 +/* 08B6D8 800F2228 24050002 */ addiu $a1, $zero, 2 + +/* 08B6DC 800F222C 2404000E */ addiu $a0, $zero, 0xe +/* 08B6E0 800F2230 24070080 */ addiu $a3, $zero, 0x80 +/* 08B6E4 800F2234 3C038011 */ lui $v1, 0x8011 +/* 08B6E8 800F2238 8063D656 */ lb $v1, -0x29aa($v1) +/* 08B6EC 800F223C 24020014 */ addiu $v0, $zero, 0x14 +/* 08B6F0 800F2240 AFA20014 */ sw $v0, 0x14($sp) +/* 08B6F4 800F2244 3C02800F */ lui $v0, 0x800f +/* 08B6F8 800F2248 24423680 */ addiu $v0, $v0, 0x3680 +/* 08B6FC 800F224C AFA20018 */ sw $v0, 0x18($sp) +/* 08B700 800F2250 2402FFFF */ addiu $v0, $zero, -1 +/* 08B704 800F2254 AFA0001C */ sw $zero, 0x1c($sp) +/* 08B708 800F2258 AFA20020 */ sw $v0, 0x20($sp) +/* 08B70C 800F225C 00031040 */ sll $v0, $v1, 1 +/* 08B710 800F2260 00431021 */ addu $v0, $v0, $v1 +/* 08B714 800F2264 00021080 */ sll $v0, $v0, 2 +/* 08B718 800F2268 00431021 */ addu $v0, $v0, $v1 +/* 08B71C 800F226C 2442001A */ addiu $v0, $v0, 0x1a +/* 08B720 800F2270 0C051F32 */ jal func_80147CC8 +/* 08B724 800F2274 AFA20010 */ sw $v0, 0x10($sp) +/* 08B728 800F2278 2404000F */ addiu $a0, $zero, 0xf +/* 08B72C 800F227C 2405000C */ addiu $a1, $zero, 0xc +/* 08B730 800F2280 2406FFFA */ addiu $a2, $zero, -6 +/* 08B734 800F2284 24070068 */ addiu $a3, $zero, 0x68 +/* 08B738 800F2288 24020010 */ addiu $v0, $zero, 0x10 +/* 08B73C 800F228C AFA20010 */ sw $v0, 0x10($sp) +/* 08B740 800F2290 24020015 */ addiu $v0, $zero, 0x15 +/* 08B744 800F2294 AFA20014 */ sw $v0, 0x14($sp) +/* 08B748 800F2298 3C02800F */ lui $v0, 0x800f +/* 08B74C 800F229C 24424648 */ addiu $v0, $v0, 0x4648 +/* 08B750 800F22A0 AFA20018 */ sw $v0, 0x18($sp) +/* 08B754 800F22A4 2402000E */ addiu $v0, $zero, 0xe +/* 08B758 800F22A8 AFA0001C */ sw $zero, 0x1c($sp) +/* 08B75C 800F22AC 0C051F32 */ jal func_80147CC8 +/* 08B760 800F22B0 AFA20020 */ sw $v0, 0x20($sp) +/* 08B764 800F22B4 2404000F */ addiu $a0, $zero, 0xf +/* 08B768 800F22B8 0C051F9F */ jal func_80147E7C +/* 08B76C 800F22BC 24050001 */ addiu $a1, $zero, 1 +/* 08B770 800F22C0 24040011 */ addiu $a0, $zero, 0x11 +/* 08B774 800F22C4 0803C902 */ j .L800F2408 +/* 08B778 800F22C8 24050002 */ addiu $a1, $zero, 2 + +/* 08B77C 800F22CC 2404000E */ addiu $a0, $zero, 0xe +/* 08B780 800F22D0 24070095 */ addiu $a3, $zero, 0x95 +/* 08B784 800F22D4 3C038011 */ lui $v1, 0x8011 +/* 08B788 800F22D8 8063D656 */ lb $v1, -0x29aa($v1) +/* 08B78C 800F22DC 24020014 */ addiu $v0, $zero, 0x14 +/* 08B790 800F22E0 AFA20014 */ sw $v0, 0x14($sp) +/* 08B794 800F22E4 3C02800F */ lui $v0, 0x800f +/* 08B798 800F22E8 24423680 */ addiu $v0, $v0, 0x3680 +/* 08B79C 800F22EC AFA20018 */ sw $v0, 0x18($sp) +/* 08B7A0 800F22F0 2402FFFF */ addiu $v0, $zero, -1 +/* 08B7A4 800F22F4 AFA0001C */ sw $zero, 0x1c($sp) +/* 08B7A8 800F22F8 AFA20020 */ sw $v0, 0x20($sp) +/* 08B7AC 800F22FC 00031040 */ sll $v0, $v1, 1 +/* 08B7B0 800F2300 00431021 */ addu $v0, $v0, $v1 +/* 08B7B4 800F2304 00021080 */ sll $v0, $v0, 2 +/* 08B7B8 800F2308 00431021 */ addu $v0, $v0, $v1 +/* 08B7BC 800F230C 2442001A */ addiu $v0, $v0, 0x1a +/* 08B7C0 800F2310 0C051F32 */ jal func_80147CC8 +/* 08B7C4 800F2314 AFA20010 */ sw $v0, 0x10($sp) +/* 08B7C8 800F2318 2404000F */ addiu $a0, $zero, 0xf +/* 08B7CC 800F231C 24050006 */ addiu $a1, $zero, 6 +/* 08B7D0 800F2320 2406FFFA */ addiu $a2, $zero, -6 +/* 08B7D4 800F2324 2407008B */ addiu $a3, $zero, 0x8b +/* 08B7D8 800F2328 24020010 */ addiu $v0, $zero, 0x10 +/* 08B7DC 800F232C AFA20010 */ sw $v0, 0x10($sp) +/* 08B7E0 800F2330 24020015 */ addiu $v0, $zero, 0x15 +/* 08B7E4 800F2334 AFA20014 */ sw $v0, 0x14($sp) +/* 08B7E8 800F2338 3C02800F */ lui $v0, 0x800f +/* 08B7EC 800F233C 24424648 */ addiu $v0, $v0, 0x4648 +/* 08B7F0 800F2340 AFA20018 */ sw $v0, 0x18($sp) +/* 08B7F4 800F2344 2402000E */ addiu $v0, $zero, 0xe +/* 08B7F8 800F2348 AFA0001C */ sw $zero, 0x1c($sp) +/* 08B7FC 800F234C 0C051F32 */ jal func_80147CC8 +/* 08B800 800F2350 AFA20020 */ sw $v0, 0x20($sp) +/* 08B804 800F2354 2404000F */ addiu $a0, $zero, 0xf +/* 08B808 800F2358 0C051F9F */ jal func_80147E7C +/* 08B80C 800F235C 24050001 */ addiu $a1, $zero, 1 +/* 08B810 800F2360 24040011 */ addiu $a0, $zero, 0x11 +/* 08B814 800F2364 0803C902 */ j .L800F2408 +/* 08B818 800F2368 24050002 */ addiu $a1, $zero, 2 + +/* 08B81C 800F236C 2404000E */ addiu $a0, $zero, 0xe +/* 08B820 800F2370 24070083 */ addiu $a3, $zero, 0x83 +/* 08B824 800F2374 3C038011 */ lui $v1, 0x8011 +/* 08B828 800F2378 8063D656 */ lb $v1, -0x29aa($v1) +/* 08B82C 800F237C 24020014 */ addiu $v0, $zero, 0x14 +/* 08B830 800F2380 AFA20014 */ sw $v0, 0x14($sp) +/* 08B834 800F2384 3C02800F */ lui $v0, 0x800f +/* 08B838 800F2388 24423680 */ addiu $v0, $v0, 0x3680 +/* 08B83C 800F238C AFA20018 */ sw $v0, 0x18($sp) +/* 08B840 800F2390 2402FFFF */ addiu $v0, $zero, -1 +/* 08B844 800F2394 AFA0001C */ sw $zero, 0x1c($sp) +/* 08B848 800F2398 AFA20020 */ sw $v0, 0x20($sp) +/* 08B84C 800F239C 00031040 */ sll $v0, $v1, 1 +/* 08B850 800F23A0 00431021 */ addu $v0, $v0, $v1 +/* 08B854 800F23A4 00021080 */ sll $v0, $v0, 2 +/* 08B858 800F23A8 00431021 */ addu $v0, $v0, $v1 +/* 08B85C 800F23AC 2442001A */ addiu $v0, $v0, 0x1a +/* 08B860 800F23B0 0C051F32 */ jal func_80147CC8 +/* 08B864 800F23B4 AFA20010 */ sw $v0, 0x10($sp) +/* 08B868 800F23B8 24040011 */ addiu $a0, $zero, 0x11 +/* 08B86C 800F23BC 2405000A */ addiu $a1, $zero, 0xa +.L800F23C0: +/* 08B870 800F23C0 2406FFFA */ addiu $a2, $zero, -6 +/* 08B874 800F23C4 24070072 */ addiu $a3, $zero, 0x72 +/* 08B878 800F23C8 24020010 */ addiu $v0, $zero, 0x10 +/* 08B87C 800F23CC AFA20010 */ sw $v0, 0x10($sp) +/* 08B880 800F23D0 24020015 */ addiu $v0, $zero, 0x15 +/* 08B884 800F23D4 AFA20014 */ sw $v0, 0x14($sp) +/* 08B888 800F23D8 3C02800F */ lui $v0, 0x800f +/* 08B88C 800F23DC 24424648 */ addiu $v0, $v0, 0x4648 +/* 08B890 800F23E0 AFA20018 */ sw $v0, 0x18($sp) +/* 08B894 800F23E4 2402000E */ addiu $v0, $zero, 0xe +/* 08B898 800F23E8 AFA0001C */ sw $zero, 0x1c($sp) +/* 08B89C 800F23EC 0C051F32 */ jal func_80147CC8 +/* 08B8A0 800F23F0 AFA20020 */ sw $v0, 0x20($sp) +/* 08B8A4 800F23F4 2404000F */ addiu $a0, $zero, 0xf +/* 08B8A8 800F23F8 0C051F9F */ jal func_80147E7C +/* 08B8AC 800F23FC 24050002 */ addiu $a1, $zero, 2 +/* 08B8B0 800F2400 24040011 */ addiu $a0, $zero, 0x11 +/* 08B8B4 800F2404 24050001 */ addiu $a1, $zero, 1 +.L800F2408: +/* 08B8B8 800F2408 0C051F9F */ jal func_80147E7C +/* 08B8BC 800F240C 00000000 */ nop +.L800F2410: +/* 08B8C0 800F2410 3C028011 */ lui $v0, 0x8011 +/* 08B8C4 800F2414 8C42D69C */ lw $v0, -0x2964($v0) +/* 08B8C8 800F2418 8C430318 */ lw $v1, 0x318($v0) +/* 08B8CC 800F241C 24020003 */ addiu $v0, $zero, 3 +/* 08B8D0 800F2420 10620005 */ beq $v1, $v0, .L800F2438 +/* 08B8D4 800F2424 24020005 */ addiu $v0, $zero, 5 +/* 08B8D8 800F2428 10620006 */ beq $v1, $v0, .L800F2444 +/* 08B8DC 800F242C 24040010 */ addiu $a0, $zero, 0x10 +/* 08B8E0 800F2430 0803C91F */ j .L800F247C +/* 08B8E4 800F2434 00000000 */ nop + +.L800F2438: +/* 08B8E8 800F2438 24040010 */ addiu $a0, $zero, 0x10 +/* 08B8EC 800F243C 0803C912 */ j .L800F2448 +/* 08B8F0 800F2440 2405007E */ addiu $a1, $zero, 0x7e + +.L800F2444: +/* 08B8F4 800F2444 24050083 */ addiu $a1, $zero, 0x83 +.L800F2448: +/* 08B8F8 800F2448 2406FFF2 */ addiu $a2, $zero, -0xe +/* 08B8FC 800F244C 24070020 */ addiu $a3, $zero, 0x20 +/* 08B900 800F2450 00E0102D */ daddu $v0, $a3, $zero +/* 08B904 800F2454 AFA20010 */ sw $v0, 0x10($sp) +/* 08B908 800F2458 24020015 */ addiu $v0, $zero, 0x15 +/* 08B90C 800F245C AFA20014 */ sw $v0, 0x14($sp) +/* 08B910 800F2460 3C02800F */ lui $v0, 0x800f +/* 08B914 800F2464 24424C6C */ addiu $v0, $v0, 0x4c6c +/* 08B918 800F2468 AFA20018 */ sw $v0, 0x18($sp) +/* 08B91C 800F246C 2402000E */ addiu $v0, $zero, 0xe +/* 08B920 800F2470 AFA0001C */ sw $zero, 0x1c($sp) +/* 08B924 800F2474 0C051F32 */ jal func_80147CC8 +/* 08B928 800F2478 AFA20020 */ sw $v0, 0x20($sp) +.L800F247C: +/* 08B92C 800F247C 3C108011 */ lui $s0, 0x8011 +/* 08B930 800F2480 2610D69C */ addiu $s0, $s0, -0x2964 +/* 08B934 800F2484 8E020000 */ lw $v0, ($s0) +/* 08B938 800F2488 8C430318 */ lw $v1, 0x318($v0) +/* 08B93C 800F248C 24020003 */ addiu $v0, $zero, 3 +/* 08B940 800F2490 14620011 */ bne $v1, $v0, .L800F24D8 +/* 08B944 800F2494 24040014 */ addiu $a0, $zero, 0x14 +/* 08B948 800F2498 24070040 */ addiu $a3, $zero, 0x40 +/* 08B94C 800F249C 3C058011 */ lui $a1, 0x8011 +/* 08B950 800F24A0 84A5D688 */ lh $a1, -0x2978($a1) +/* 08B954 800F24A4 3C068011 */ lui $a2, 0x8011 +/* 08B958 800F24A8 84C6D68A */ lh $a2, -0x2976($a2) +/* 08B95C 800F24AC 0080102D */ daddu $v0, $a0, $zero +/* 08B960 800F24B0 AFA20010 */ sw $v0, 0x10($sp) +/* 08B964 800F24B4 24020015 */ addiu $v0, $zero, 0x15 +/* 08B968 800F24B8 AFA20014 */ sw $v0, 0x14($sp) +/* 08B96C 800F24BC 3C02800F */ lui $v0, 0x800f +/* 08B970 800F24C0 24424D28 */ addiu $v0, $v0, 0x4d28 +/* 08B974 800F24C4 AFA20018 */ sw $v0, 0x18($sp) +/* 08B978 800F24C8 2402FFFF */ addiu $v0, $zero, -1 +/* 08B97C 800F24CC AFA0001C */ sw $zero, 0x1c($sp) +/* 08B980 800F24D0 0C051F32 */ jal func_80147CC8 +/* 08B984 800F24D4 AFA20020 */ sw $v0, 0x20($sp) +.L800F24D8: +/* 08B988 800F24D8 3C078011 */ lui $a3, 0x8011 +/* 08B98C 800F24DC 24E7D654 */ addiu $a3, $a3, -0x29ac +/* 08B990 800F24E0 0200582D */ daddu $t3, $s0, $zero +/* 08B994 800F24E4 3C0A8011 */ lui $t2, 0x8011 +/* 08B998 800F24E8 254AD68F */ addiu $t2, $t2, -0x2971 +/* 08B99C 800F24EC 3C098011 */ lui $t1, 0x8011 +/* 08B9A0 800F24F0 8129D655 */ lb $t1, -0x29ab($t1) +/* 08B9A4 800F24F4 3C088011 */ lui $t0, 0x8011 +/* 08B9A8 800F24F8 8D08D648 */ lw $t0, -0x29b8($t0) +.L800F24FC: +/* 08B9AC 800F24FC 80E20000 */ lb $v0, ($a3) +/* 08B9B0 800F2500 90E30000 */ lbu $v1, ($a3) +/* 08B9B4 800F2504 00491021 */ addu $v0, $v0, $t1 +/* 08B9B8 800F2508 2442FFFF */ addiu $v0, $v0, -1 +/* 08B9BC 800F250C 0102102A */ slt $v0, $t0, $v0 +/* 08B9C0 800F2510 14400013 */ bnez $v0, .L800F2560 +/* 08B9C4 800F2514 0000302D */ daddu $a2, $zero, $zero +/* 08B9C8 800F2518 24620001 */ addiu $v0, $v1, 1 +/* 08B9CC 800F251C A0E20000 */ sb $v0, ($a3) +/* 08B9D0 800F2520 00021600 */ sll $v0, $v0, 0x18 +/* 08B9D4 800F2524 8D650000 */ lw $a1, ($t3) +/* 08B9D8 800F2528 81440000 */ lb $a0, ($t2) +/* 08B9DC 800F252C 8CA30324 */ lw $v1, 0x324($a1) +/* 08B9E0 800F2530 00021603 */ sra $v0, $v0, 0x18 +/* 08B9E4 800F2534 00641823 */ subu $v1, $v1, $a0 +/* 08B9E8 800F2538 0062182A */ slt $v1, $v1, $v0 +/* 08B9EC 800F253C 91440000 */ lbu $a0, ($t2) +/* 08B9F0 800F2540 50600007 */ beql $v1, $zero, .L800F2560 +/* 08B9F4 800F2544 24060001 */ addiu $a2, $zero, 1 +/* 08B9F8 800F2548 90A20327 */ lbu $v0, 0x327($a1) +/* 08B9FC 800F254C 00441023 */ subu $v0, $v0, $a0 +/* 08BA00 800F2550 A0E20000 */ sb $v0, ($a3) +/* 08BA04 800F2554 00021600 */ sll $v0, $v0, 0x18 +/* 08BA08 800F2558 04420001 */ bltzl $v0, .L800F2560 +/* 08BA0C 800F255C A0E00000 */ sb $zero, ($a3) +.L800F2560: +/* 08BA10 800F2560 14C0FFE6 */ bnez $a2, .L800F24FC +/* 08BA14 800F2564 00000000 */ nop +/* 08BA18 800F2568 3C038011 */ lui $v1, 0x8011 +/* 08BA1C 800F256C 9063D654 */ lbu $v1, -0x29ac($v1) +/* 08BA20 800F2570 3C028011 */ lui $v0, 0x8011 +/* 08BA24 800F2574 9042D68F */ lbu $v0, -0x2971($v0) +/* 08BA28 800F2578 3C048011 */ lui $a0, 0x8011 +/* 08BA2C 800F257C 8C84D69C */ lw $a0, -0x2964($a0) +/* 08BA30 800F2580 00621021 */ addu $v0, $v1, $v0 +/* 08BA34 800F2584 00031E00 */ sll $v1, $v1, 0x18 +/* 08BA38 800F2588 00031E03 */ sra $v1, $v1, 0x18 +/* 08BA3C 800F258C 00031823 */ negu $v1, $v1 +/* 08BA40 800F2590 3C018011 */ lui $at, 0x8011 +/* 08BA44 800F2594 A022D655 */ sb $v0, -0x29ab($at) +/* 08BA48 800F2598 00031040 */ sll $v0, $v1, 1 +/* 08BA4C 800F259C 00431021 */ addu $v0, $v0, $v1 +/* 08BA50 800F25A0 00021080 */ sll $v0, $v0, 2 +/* 08BA54 800F25A4 8C840318 */ lw $a0, 0x318($a0) +/* 08BA58 800F25A8 00431021 */ addu $v0, $v0, $v1 +/* 08BA5C 800F25AC 3C018011 */ lui $at, 0x8011 +/* 08BA60 800F25B0 A422D658 */ sh $v0, -0x29a8($at) +/* 08BA64 800F25B4 04800016 */ bltz $a0, .L800F2610 +/* 08BA68 800F25B8 2882000A */ slti $v0, $a0, 0xa +/* 08BA6C 800F25BC 54400004 */ bnezl $v0, .L800F25D0 +/* 08BA70 800F25C0 24040013 */ addiu $a0, $zero, 0x13 +/* 08BA74 800F25C4 2402000C */ addiu $v0, $zero, 0xc +/* 08BA78 800F25C8 14820011 */ bne $a0, $v0, .L800F2610 +/* 08BA7C 800F25CC 24040013 */ addiu $a0, $zero, 0x13 +.L800F25D0: +/* 08BA80 800F25D0 24070118 */ addiu $a3, $zero, 0x118 +/* 08BA84 800F25D4 3C058011 */ lui $a1, 0x8011 +/* 08BA88 800F25D8 84A5D680 */ lh $a1, -0x2980($a1) +/* 08BA8C 800F25DC 3C068011 */ lui $a2, 0x8011 +/* 08BA90 800F25E0 84C6D682 */ lh $a2, -0x297e($a2) +/* 08BA94 800F25E4 24020020 */ addiu $v0, $zero, 0x20 +/* 08BA98 800F25E8 AFA20010 */ sw $v0, 0x10($sp) +/* 08BA9C 800F25EC 24020014 */ addiu $v0, $zero, 0x14 +/* 08BAA0 800F25F0 AFA20014 */ sw $v0, 0x14($sp) +/* 08BAA4 800F25F4 3C02800F */ lui $v0, 0x800f +/* 08BAA8 800F25F8 244248F4 */ addiu $v0, $v0, 0x48f4 +/* 08BAAC 800F25FC AFA20018 */ sw $v0, 0x18($sp) +/* 08BAB0 800F2600 2402FFFF */ addiu $v0, $zero, -1 +/* 08BAB4 800F2604 AFA0001C */ sw $zero, 0x1c($sp) +/* 08BAB8 800F2608 0C051F32 */ jal func_80147CC8 +/* 08BABC 800F260C AFA20020 */ sw $v0, 0x20($sp) +.L800F2610: +/* 08BAC0 800F2610 3C028011 */ lui $v0, 0x8011 +/* 08BAC4 800F2614 8C42D69C */ lw $v0, -0x2964($v0) +/* 08BAC8 800F2618 3C058011 */ lui $a1, 0x8011 +/* 08BACC 800F261C 84A5D684 */ lh $a1, -0x297c($a1) +/* 08BAD0 800F2620 8C430318 */ lw $v1, 0x318($v0) +/* 08BAD4 800F2624 3C068011 */ lui $a2, 0x8011 +/* 08BAD8 800F2628 84C6D686 */ lh $a2, -0x297a($a2) +/* 08BADC 800F262C 2C62000E */ sltiu $v0, $v1, 0xe +/* 08BAE0 800F2630 10400026 */ beqz $v0, .L800F26CC +/* 08BAE4 800F2634 00031080 */ sll $v0, $v1, 2 +/* 08BAE8 800F2638 3C018011 */ lui $at, 0x8011 +/* 08BAEC 800F263C 00220821 */ addu $at, $at, $v0 +/* 08BAF0 800F2640 8C22C608 */ lw $v0, -0x39f8($at) +/* 08BAF4 800F2644 00400008 */ jr $v0 +/* 08BAF8 800F2648 00000000 */ nop +/* 08BAFC 800F264C 24040015 */ addiu $a0, $zero, 0x15 +/* 08BB00 800F2650 0803C9A8 */ j .L800F26A0 +/* 08BB04 800F2654 24070090 */ addiu $a3, $zero, 0x90 + +/* 08BB08 800F2658 24040015 */ addiu $a0, $zero, 0x15 +/* 08BB0C 800F265C 24070090 */ addiu $a3, $zero, 0x90 +/* 08BB10 800F2660 0803C9A9 */ j .L800F26A4 +/* 08BB14 800F2664 24020028 */ addiu $v0, $zero, 0x28 + +/* 08BB18 800F2668 24040015 */ addiu $a0, $zero, 0x15 +/* 08BB1C 800F266C 24070080 */ addiu $a3, $zero, 0x80 +/* 08BB20 800F2670 0803C9A9 */ j .L800F26A4 +/* 08BB24 800F2674 24020028 */ addiu $v0, $zero, 0x28 + +/* 08BB28 800F2678 24040015 */ addiu $a0, $zero, 0x15 +/* 08BB2C 800F267C 24070088 */ addiu $a3, $zero, 0x88 +/* 08BB30 800F2680 0803C9A9 */ j .L800F26A4 +/* 08BB34 800F2684 24020028 */ addiu $v0, $zero, 0x28 + +/* 08BB38 800F2688 24040015 */ addiu $a0, $zero, 0x15 +/* 08BB3C 800F268C 24070070 */ addiu $a3, $zero, 0x70 +/* 08BB40 800F2690 0803C9A9 */ j .L800F26A4 +/* 08BB44 800F2694 24020028 */ addiu $v0, $zero, 0x28 + +/* 08BB48 800F2698 24040015 */ addiu $a0, $zero, 0x15 +/* 08BB4C 800F269C 24070078 */ addiu $a3, $zero, 0x78 +.L800F26A0: +/* 08BB50 800F26A0 24020020 */ addiu $v0, $zero, 0x20 +.L800F26A4: +/* 08BB54 800F26A4 AFA20010 */ sw $v0, 0x10($sp) +/* 08BB58 800F26A8 24020014 */ addiu $v0, $zero, 0x14 +/* 08BB5C 800F26AC AFA20014 */ sw $v0, 0x14($sp) +/* 08BB60 800F26B0 3C02800F */ lui $v0, 0x800f +/* 08BB64 800F26B4 24424944 */ addiu $v0, $v0, 0x4944 +/* 08BB68 800F26B8 AFA20018 */ sw $v0, 0x18($sp) +/* 08BB6C 800F26BC 2402FFFF */ addiu $v0, $zero, -1 +/* 08BB70 800F26C0 AFA0001C */ sw $zero, 0x1c($sp) +/* 08BB74 800F26C4 0C051F32 */ jal func_80147CC8 +/* 08BB78 800F26C8 AFA20020 */ sw $v0, 0x20($sp) +.L800F26CC: +/* 08BB7C 800F26CC 3C028011 */ lui $v0, 0x8011 +/* 08BB80 800F26D0 8042D68E */ lb $v0, -0x2972($v0) +/* 08BB84 800F26D4 14400018 */ bnez $v0, .L800F2738 +/* 08BB88 800F26D8 00000000 */ nop +/* 08BB8C 800F26DC 3C028011 */ lui $v0, 0x8011 +/* 08BB90 800F26E0 8C42D69C */ lw $v0, -0x2964($v0) +/* 08BB94 800F26E4 8C430318 */ lw $v1, 0x318($v0) +/* 08BB98 800F26E8 2C62000E */ sltiu $v0, $v1, 0xe +/* 08BB9C 800F26EC 1040003A */ beqz $v0, .L800F27D8 +/* 08BBA0 800F26F0 00031080 */ sll $v0, $v1, 2 +/* 08BBA4 800F26F4 3C018011 */ lui $at, 0x8011 +/* 08BBA8 800F26F8 00220821 */ addu $at, $at, $v0 +/* 08BBAC 800F26FC 8C22C640 */ lw $v0, -0x39c0($at) +/* 08BBB0 800F2700 00400008 */ jr $v0 +/* 08BBB4 800F2704 00000000 */ nop +/* 08BBB8 800F2708 2404000E */ addiu $a0, $zero, 0xe +/* 08BBBC 800F270C 0C051F9F */ jal func_80147E7C +/* 08BBC0 800F2710 24050001 */ addiu $a1, $zero, 1 +/* 08BBC4 800F2714 0803C9F4 */ j .L800F27D0 +/* 08BBC8 800F2718 24040013 */ addiu $a0, $zero, 0x13 + +/* 08BBCC 800F271C 2404000E */ addiu $a0, $zero, 0xe +/* 08BBD0 800F2720 0C051F9F */ jal func_80147E7C +/* 08BBD4 800F2724 24050001 */ addiu $a1, $zero, 1 +/* 08BBD8 800F2728 0803C9F4 */ j .L800F27D0 +/* 08BBDC 800F272C 24040013 */ addiu $a0, $zero, 0x13 + +/* 08BBE0 800F2730 0803C9F4 */ j .L800F27D0 +/* 08BBE4 800F2734 2404000E */ addiu $a0, $zero, 0xe + +.L800F2738: +/* 08BBE8 800F2738 3C028011 */ lui $v0, 0x8011 +/* 08BBEC 800F273C 8C42D69C */ lw $v0, -0x2964($v0) +/* 08BBF0 800F2740 8C430318 */ lw $v1, 0x318($v0) +/* 08BBF4 800F2744 2C62000E */ sltiu $v0, $v1, 0xe +/* 08BBF8 800F2748 10400020 */ beqz $v0, .L800F27CC +/* 08BBFC 800F274C 00031080 */ sll $v0, $v1, 2 +/* 08BC00 800F2750 3C018011 */ lui $at, 0x8011 +/* 08BC04 800F2754 00220821 */ addu $at, $at, $v0 +/* 08BC08 800F2758 8C22C678 */ lw $v0, -0x3988($at) +/* 08BC0C 800F275C 00400008 */ jr $v0 +/* 08BC10 800F2760 00000000 */ nop +/* 08BC14 800F2764 2404000E */ addiu $a0, $zero, 0xe +/* 08BC18 800F2768 3C108014 */ lui $s0, 0x8014 +/* 08BC1C 800F276C 26107474 */ addiu $s0, $s0, 0x7474 +/* 08BC20 800F2770 0C051F9F */ jal func_80147E7C +/* 08BC24 800F2774 0200282D */ daddu $a1, $s0, $zero +/* 08BC28 800F2778 0803C9E6 */ j .L800F2798 +/* 08BC2C 800F277C 24040001 */ addiu $a0, $zero, 1 + +/* 08BC30 800F2780 2404000E */ addiu $a0, $zero, 0xe +/* 08BC34 800F2784 3C108014 */ lui $s0, 0x8014 +/* 08BC38 800F2788 26107474 */ addiu $s0, $s0, 0x7474 +/* 08BC3C 800F278C 0C051F9F */ jal func_80147E7C +/* 08BC40 800F2790 0200282D */ daddu $a1, $s0, $zero +/* 08BC44 800F2794 24040002 */ addiu $a0, $zero, 2 +.L800F2798: +/* 08BC48 800F2798 0C05272D */ jal play_sound +/* 08BC4C 800F279C 00000000 */ nop +/* 08BC50 800F27A0 24040013 */ addiu $a0, $zero, 0x13 +/* 08BC54 800F27A4 0C051F9F */ jal func_80147E7C +/* 08BC58 800F27A8 0200282D */ daddu $a1, $s0, $zero +/* 08BC5C 800F27AC 0803C9F4 */ j .L800F27D0 +/* 08BC60 800F27B0 24040015 */ addiu $a0, $zero, 0x15 + +/* 08BC64 800F27B4 3C058014 */ lui $a1, 0x8014 +/* 08BC68 800F27B8 24A57474 */ addiu $a1, $a1, 0x7474 +/* 08BC6C 800F27BC 0C051F9F */ jal func_80147E7C +/* 08BC70 800F27C0 2404000E */ addiu $a0, $zero, 0xe +/* 08BC74 800F27C4 0C05272D */ jal play_sound +/* 08BC78 800F27C8 24040001 */ addiu $a0, $zero, 1 +.L800F27CC: +/* 08BC7C 800F27CC 24040015 */ addiu $a0, $zero, 0x15 +.L800F27D0: +/* 08BC80 800F27D0 0C051F9F */ jal func_80147E7C +/* 08BC84 800F27D4 24050001 */ addiu $a1, $zero, 1 +.L800F27D8: +/* 08BC88 800F27D8 3C118011 */ lui $s1, 0x8011 +/* 08BC8C 800F27DC 2631D69C */ addiu $s1, $s1, -0x2964 +/* 08BC90 800F27E0 8E220000 */ lw $v0, ($s1) +/* 08BC94 800F27E4 8C430318 */ lw $v1, 0x318($v0) +/* 08BC98 800F27E8 24020003 */ addiu $v0, $zero, 3 +/* 08BC9C 800F27EC 14620008 */ bne $v1, $v0, .L800F2810 +/* 08BCA0 800F27F0 24040010 */ addiu $a0, $zero, 0x10 +/* 08BCA4 800F27F4 3C108014 */ lui $s0, 0x8014 +/* 08BCA8 800F27F8 26107474 */ addiu $s0, $s0, 0x7474 +/* 08BCAC 800F27FC 0C051F9F */ jal func_80147E7C +/* 08BCB0 800F2800 0200282D */ daddu $a1, $s0, $zero +/* 08BCB4 800F2804 24040014 */ addiu $a0, $zero, 0x14 +/* 08BCB8 800F2808 0C051F9F */ jal func_80147E7C +/* 08BCBC 800F280C 0200282D */ daddu $a1, $s0, $zero +.L800F2810: +/* 08BCC0 800F2810 8E220000 */ lw $v0, ($s1) +/* 08BCC4 800F2814 8C430318 */ lw $v1, 0x318($v0) +/* 08BCC8 800F2818 24020004 */ addiu $v0, $zero, 4 +/* 08BCCC 800F281C 14620005 */ bne $v1, $v0, .L800F2834 +/* 08BCD0 800F2820 00000000 */ nop +/* 08BCD4 800F2824 3C058014 */ lui $a1, 0x8014 +/* 08BCD8 800F2828 24A57474 */ addiu $a1, $a1, 0x7474 +/* 08BCDC 800F282C 0C051F9F */ jal func_80147E7C +/* 08BCE0 800F2830 24040012 */ addiu $a0, $zero, 0x12 +.L800F2834: +/* 08BCE4 800F2834 8E220000 */ lw $v0, ($s1) +/* 08BCE8 800F2838 8C430318 */ lw $v1, 0x318($v0) +/* 08BCEC 800F283C 24020005 */ addiu $v0, $zero, 5 +/* 08BCF0 800F2840 14620382 */ bne $v1, $v0, .L800F364C +/* 08BCF4 800F2844 24020001 */ addiu $v0, $zero, 1 +/* 08BCF8 800F2848 3C058014 */ lui $a1, 0x8014 +/* 08BCFC 800F284C 24A57474 */ addiu $a1, $a1, 0x7474 +/* 08BD00 800F2850 0C051F9F */ jal func_80147E7C +/* 08BD04 800F2854 24040010 */ addiu $a0, $zero, 0x10 +/* 08BD08 800F2858 0803CD93 */ j .L800F364C +/* 08BD0C 800F285C 24020001 */ addiu $v0, $zero, 1 + +/* 08BD10 800F2860 3C038011 */ lui $v1, 0x8011 +/* 08BD14 800F2864 2463D644 */ addiu $v1, $v1, -0x29bc +/* 08BD18 800F2868 8C620000 */ lw $v0, ($v1) +/* 08BD1C 800F286C 10400003 */ beqz $v0, .L800F287C +/* 08BD20 800F2870 2442FFFF */ addiu $v0, $v0, -1 +/* 08BD24 800F2874 0803CD95 */ j .L800F3654 +/* 08BD28 800F2878 AC620000 */ sw $v0, ($v1) + +.L800F287C: +/* 08BD2C 800F287C 3C060001 */ lui $a2, 1 +/* 08BD30 800F2880 3C058011 */ lui $a1, 0x8011 +/* 08BD34 800F2884 24A5D648 */ addiu $a1, $a1, -0x29b8 +/* 08BD38 800F2888 3C048007 */ lui $a0, 0x8007 +/* 08BD3C 800F288C 8C84419C */ lw $a0, 0x419c($a0) +/* 08BD40 800F2890 8CA30000 */ lw $v1, ($a1) +/* 08BD44 800F2894 8C820020 */ lw $v0, 0x20($a0) +/* 08BD48 800F2898 34C62000 */ ori $a2, $a2, 0x2000 +/* 08BD4C 800F289C 3C018011 */ lui $at, 0x8011 +/* 08BD50 800F28A0 AC23D64C */ sw $v1, -0x29b4($at) +/* 08BD54 800F28A4 00461024 */ and $v0, $v0, $a2 +/* 08BD58 800F28A8 10400008 */ beqz $v0, .L800F28CC +/* 08BD5C 800F28AC 00000000 */ nop +/* 08BD60 800F28B0 1C600005 */ bgtz $v1, .L800F28C8 +/* 08BD64 800F28B4 2462FFFF */ addiu $v0, $v1, -1 +/* 08BD68 800F28B8 8C820010 */ lw $v0, 0x10($a0) +/* 08BD6C 800F28BC 00461024 */ and $v0, $v0, $a2 +/* 08BD70 800F28C0 10400002 */ beqz $v0, .L800F28CC +/* 08BD74 800F28C4 2462FFFF */ addiu $v0, $v1, -1 +.L800F28C8: +/* 08BD78 800F28C8 ACA20000 */ sw $v0, ($a1) +.L800F28CC: +/* 08BD7C 800F28CC 3C058007 */ lui $a1, 0x8007 +/* 08BD80 800F28D0 8CA5419C */ lw $a1, 0x419c($a1) +/* 08BD84 800F28D4 3C060002 */ lui $a2, 2 +/* 08BD88 800F28D8 8CA20020 */ lw $v0, 0x20($a1) +/* 08BD8C 800F28DC 34C60010 */ ori $a2, $a2, 0x10 +/* 08BD90 800F28E0 00461024 */ and $v0, $v0, $a2 +/* 08BD94 800F28E4 10400010 */ beqz $v0, .L800F2928 +/* 08BD98 800F28E8 00000000 */ nop +/* 08BD9C 800F28EC 3C028011 */ lui $v0, 0x8011 +/* 08BDA0 800F28F0 8C42D69C */ lw $v0, -0x2964($v0) +/* 08BDA4 800F28F4 3C048011 */ lui $a0, 0x8011 +/* 08BDA8 800F28F8 2484D648 */ addiu $a0, $a0, -0x29b8 +/* 08BDAC 800F28FC 8C420324 */ lw $v0, 0x324($v0) +/* 08BDB0 800F2900 8C830000 */ lw $v1, ($a0) +/* 08BDB4 800F2904 2442FFFF */ addiu $v0, $v0, -1 +/* 08BDB8 800F2908 0062102A */ slt $v0, $v1, $v0 +/* 08BDBC 800F290C 14400005 */ bnez $v0, .L800F2924 +/* 08BDC0 800F2910 24620001 */ addiu $v0, $v1, 1 +/* 08BDC4 800F2914 8CA20010 */ lw $v0, 0x10($a1) +/* 08BDC8 800F2918 00461024 */ and $v0, $v0, $a2 +/* 08BDCC 800F291C 10400002 */ beqz $v0, .L800F2928 +/* 08BDD0 800F2920 24620001 */ addiu $v0, $v1, 1 +.L800F2924: +/* 08BDD4 800F2924 AC820000 */ sw $v0, ($a0) +.L800F2928: +/* 08BDD8 800F2928 3C108011 */ lui $s0, 0x8011 +/* 08BDDC 800F292C 2610D648 */ addiu $s0, $s0, -0x29b8 +/* 08BDE0 800F2930 8E020000 */ lw $v0, ($s0) +/* 08BDE4 800F2934 04410006 */ bgez $v0, .L800F2950 +/* 08BDE8 800F2938 00000000 */ nop +/* 08BDEC 800F293C 3C028011 */ lui $v0, 0x8011 +/* 08BDF0 800F2940 8C42D69C */ lw $v0, -0x2964($v0) +/* 08BDF4 800F2944 8C420324 */ lw $v0, 0x324($v0) +/* 08BDF8 800F2948 2442FFFF */ addiu $v0, $v0, -1 +/* 08BDFC 800F294C AE020000 */ sw $v0, ($s0) +.L800F2950: +/* 08BE00 800F2950 3C028011 */ lui $v0, 0x8011 +/* 08BE04 800F2954 8C42D69C */ lw $v0, -0x2964($v0) +/* 08BE08 800F2958 8C420324 */ lw $v0, 0x324($v0) +/* 08BE0C 800F295C 8E030000 */ lw $v1, ($s0) +/* 08BE10 800F2960 2442FFFF */ addiu $v0, $v0, -1 +/* 08BE14 800F2964 0043102A */ slt $v0, $v0, $v1 +/* 08BE18 800F2968 54400001 */ bnezl $v0, .L800F2970 +/* 08BE1C 800F296C AE000000 */ sw $zero, ($s0) +.L800F2970: +/* 08BE20 800F2970 3C038011 */ lui $v1, 0x8011 +/* 08BE24 800F2974 8C63D64C */ lw $v1, -0x29b4($v1) +/* 08BE28 800F2978 8E020000 */ lw $v0, ($s0) +/* 08BE2C 800F297C 10620004 */ beq $v1, $v0, .L800F2990 +/* 08BE30 800F2980 0000302D */ daddu $a2, $zero, $zero +/* 08BE34 800F2984 0C05272D */ jal play_sound +/* 08BE38 800F2988 240400C7 */ addiu $a0, $zero, 0xc7 +/* 08BE3C 800F298C 0000302D */ daddu $a2, $zero, $zero +.L800F2990: +/* 08BE40 800F2990 3C058011 */ lui $a1, 0x8011 +/* 08BE44 800F2994 24A5D654 */ addiu $a1, $a1, -0x29ac +/* 08BE48 800F2998 8E030000 */ lw $v1, ($s0) +.L800F299C: +/* 08BE4C 800F299C 80A20000 */ lb $v0, ($a1) +/* 08BE50 800F29A0 90A40000 */ lbu $a0, ($a1) +/* 08BE54 800F29A4 24420001 */ addiu $v0, $v0, 1 +/* 08BE58 800F29A8 0062102A */ slt $v0, $v1, $v0 +/* 08BE5C 800F29AC 50400007 */ beql $v0, $zero, .L800F29CC +/* 08BE60 800F29B0 24C60001 */ addiu $a2, $a2, 1 +/* 08BE64 800F29B4 2482FFFF */ addiu $v0, $a0, -1 +/* 08BE68 800F29B8 A0A20000 */ sb $v0, ($a1) +/* 08BE6C 800F29BC 00021600 */ sll $v0, $v0, 0x18 +/* 08BE70 800F29C0 04420001 */ bltzl $v0, .L800F29C8 +/* 08BE74 800F29C4 A0A00000 */ sb $zero, ($a1) +.L800F29C8: +/* 08BE78 800F29C8 24C60001 */ addiu $a2, $a2, 1 +.L800F29CC: +/* 08BE7C 800F29CC 28C20004 */ slti $v0, $a2, 4 +/* 08BE80 800F29D0 1440FFF2 */ bnez $v0, .L800F299C +/* 08BE84 800F29D4 00000000 */ nop +/* 08BE88 800F29D8 0000302D */ daddu $a2, $zero, $zero +/* 08BE8C 800F29DC 3C098011 */ lui $t1, 0x8011 +/* 08BE90 800F29E0 2529D655 */ addiu $t1, $t1, -0x29ab +/* 08BE94 800F29E4 3C0A8011 */ lui $t2, 0x8011 +/* 08BE98 800F29E8 8D4AD648 */ lw $t2, -0x29b8($t2) +/* 08BE9C 800F29EC 3C078011 */ lui $a3, 0x8011 +/* 08BEA0 800F29F0 24E7D654 */ addiu $a3, $a3, -0x29ac +/* 08BEA4 800F29F4 3C0B8011 */ lui $t3, 0x8011 +/* 08BEA8 800F29F8 256BD69C */ addiu $t3, $t3, -0x2964 +/* 08BEAC 800F29FC 3C088011 */ lui $t0, 0x8011 +/* 08BEB0 800F2A00 2508D68F */ addiu $t0, $t0, -0x2971 +.L800F2A04: +/* 08BEB4 800F2A04 81220000 */ lb $v0, ($t1) +/* 08BEB8 800F2A08 2442FFFF */ addiu $v0, $v0, -1 +/* 08BEBC 800F2A0C 0142102A */ slt $v0, $t2, $v0 +/* 08BEC0 800F2A10 14400013 */ bnez $v0, .L800F2A60 +/* 08BEC4 800F2A14 00000000 */ nop +/* 08BEC8 800F2A18 90E20000 */ lbu $v0, ($a3) +/* 08BECC 800F2A1C 24420001 */ addiu $v0, $v0, 1 +/* 08BED0 800F2A20 A0E20000 */ sb $v0, ($a3) +/* 08BED4 800F2A24 00021600 */ sll $v0, $v0, 0x18 +/* 08BED8 800F2A28 8D650000 */ lw $a1, ($t3) +/* 08BEDC 800F2A2C 81040000 */ lb $a0, ($t0) +/* 08BEE0 800F2A30 8CA30324 */ lw $v1, 0x324($a1) +/* 08BEE4 800F2A34 00021603 */ sra $v0, $v0, 0x18 +/* 08BEE8 800F2A38 00641823 */ subu $v1, $v1, $a0 +/* 08BEEC 800F2A3C 0062182A */ slt $v1, $v1, $v0 +/* 08BEF0 800F2A40 10600007 */ beqz $v1, .L800F2A60 +/* 08BEF4 800F2A44 91040000 */ lbu $a0, ($t0) +/* 08BEF8 800F2A48 90A20327 */ lbu $v0, 0x327($a1) +/* 08BEFC 800F2A4C 00441023 */ subu $v0, $v0, $a0 +/* 08BF00 800F2A50 A0E20000 */ sb $v0, ($a3) +/* 08BF04 800F2A54 00021600 */ sll $v0, $v0, 0x18 +/* 08BF08 800F2A58 04420001 */ bltzl $v0, .L800F2A60 +/* 08BF0C 800F2A5C A0E00000 */ sb $zero, ($a3) +.L800F2A60: +/* 08BF10 800F2A60 90E20000 */ lbu $v0, ($a3) +/* 08BF14 800F2A64 91030000 */ lbu $v1, ($t0) +/* 08BF18 800F2A68 24C60001 */ addiu $a2, $a2, 1 +/* 08BF1C 800F2A6C 00431021 */ addu $v0, $v0, $v1 +/* 08BF20 800F2A70 A1220000 */ sb $v0, ($t1) +/* 08BF24 800F2A74 28C20004 */ slti $v0, $a2, 4 +/* 08BF28 800F2A78 1440FFE2 */ bnez $v0, .L800F2A04 +/* 08BF2C 800F2A7C 00000000 */ nop +/* 08BF30 800F2A80 3C028007 */ lui $v0, 0x8007 +/* 08BF34 800F2A84 8C42419C */ lw $v0, 0x419c($v0) +/* 08BF38 800F2A88 8C420010 */ lw $v0, 0x10($v0) +/* 08BF3C 800F2A8C 30428000 */ andi $v0, $v0, 0x8000 +/* 08BF40 800F2A90 1040003F */ beqz $v0, .L800F2B90 +/* 08BF44 800F2A94 00000000 */ nop +/* 08BF48 800F2A98 3C028011 */ lui $v0, 0x8011 +/* 08BF4C 800F2A9C 8C42D69C */ lw $v0, -0x2964($v0) +/* 08BF50 800F2AA0 8C430318 */ lw $v1, 0x318($v0) +/* 08BF54 800F2AA4 24020008 */ addiu $v0, $zero, 8 +/* 08BF58 800F2AA8 10620005 */ beq $v1, $v0, .L800F2AC0 +/* 08BF5C 800F2AAC 2402000D */ addiu $v0, $zero, 0xd +/* 08BF60 800F2AB0 1062000B */ beq $v1, $v0, .L800F2AE0 +/* 08BF64 800F2AB4 00000000 */ nop +/* 08BF68 800F2AB8 0803CAC0 */ j .L800F2B00 +/* 08BF6C 800F2ABC 00000000 */ nop + +.L800F2AC0: +/* 08BF70 800F2AC0 0C05272D */ jal play_sound +/* 08BF74 800F2AC4 240400C9 */ addiu $a0, $zero, 0xc9 +/* 08BF78 800F2AC8 3C028011 */ lui $v0, 0x8011 +/* 08BF7C 800F2ACC 8042D68E */ lb $v0, -0x2972($v0) +/* 08BF80 800F2AD0 144002DE */ bnez $v0, .L800F364C +/* 08BF84 800F2AD4 2402FFFE */ addiu $v0, $zero, -2 +/* 08BF88 800F2AD8 0803CD93 */ j .L800F364C +/* 08BF8C 800F2ADC 2402FFFF */ addiu $v0, $zero, -1 + +.L800F2AE0: +/* 08BF90 800F2AE0 0C05272D */ jal play_sound +/* 08BF94 800F2AE4 240400C9 */ addiu $a0, $zero, 0xc9 +/* 08BF98 800F2AE8 3C028011 */ lui $v0, 0x8011 +/* 08BF9C 800F2AEC 8042D68E */ lb $v0, -0x2972($v0) +/* 08BFA0 800F2AF0 144002D6 */ bnez $v0, .L800F364C +/* 08BFA4 800F2AF4 2402FFFE */ addiu $v0, $zero, -2 +/* 08BFA8 800F2AF8 0803CD93 */ j .L800F364C +/* 08BFAC 800F2AFC 2402FFFF */ addiu $v0, $zero, -1 + +.L800F2B00: +/* 08BFB0 800F2B00 3C028011 */ lui $v0, 0x8011 +/* 08BFB4 800F2B04 8C42D648 */ lw $v0, -0x29b8($v0) +/* 08BFB8 800F2B08 3C038011 */ lui $v1, 0x8011 +/* 08BFBC 800F2B0C 8C63D69C */ lw $v1, -0x2964($v1) +/* 08BFC0 800F2B10 00021080 */ sll $v0, $v0, 2 +/* 08BFC4 800F2B14 00621021 */ addu $v0, $v1, $v0 +/* 08BFC8 800F2B18 8C42018C */ lw $v0, 0x18c($v0) +/* 08BFCC 800F2B1C 10400009 */ beqz $v0, .L800F2B44 +/* 08BFD0 800F2B20 24020001 */ addiu $v0, $zero, 1 +/* 08BFD4 800F2B24 0C05272D */ jal play_sound +/* 08BFD8 800F2B28 240400C9 */ addiu $a0, $zero, 0xc9 +/* 08BFDC 800F2B2C 3C028011 */ lui $v0, 0x8011 +/* 08BFE0 800F2B30 8042D68E */ lb $v0, -0x2972($v0) +/* 08BFE4 800F2B34 144002C5 */ bnez $v0, .L800F364C +/* 08BFE8 800F2B38 2402FFFE */ addiu $v0, $zero, -2 +/* 08BFEC 800F2B3C 0803CD93 */ j .L800F364C +/* 08BFF0 800F2B40 2402FFFF */ addiu $v0, $zero, -1 + +.L800F2B44: +/* 08BFF4 800F2B44 8C630318 */ lw $v1, 0x318($v1) +/* 08BFF8 800F2B48 14620005 */ bne $v1, $v0, .L800F2B60 +/* 08BFFC 800F2B4C 00000000 */ nop +/* 08C000 800F2B50 0C05272D */ jal play_sound +/* 08C004 800F2B54 2404021D */ addiu $a0, $zero, 0x21d +/* 08C008 800F2B58 0803CD93 */ j .L800F364C +/* 08C00C 800F2B5C 2402001E */ addiu $v0, $zero, 0x1e + +.L800F2B60: +/* 08C010 800F2B60 3C028011 */ lui $v0, 0x8011 +/* 08C014 800F2B64 8042D68E */ lb $v0, -0x2972($v0) +/* 08C018 800F2B68 104002BA */ beqz $v0, .L800F3654 +/* 08C01C 800F2B6C 00000000 */ nop +/* 08C020 800F2B70 10600003 */ beqz $v1, .L800F2B80 +/* 08C024 800F2B74 24020003 */ addiu $v0, $zero, 3 +/* 08C028 800F2B78 146202B6 */ bne $v1, $v0, .L800F3654 +/* 08C02C 800F2B7C 00000000 */ nop +.L800F2B80: +/* 08C030 800F2B80 0C05272D */ jal play_sound +/* 08C034 800F2B84 2404021D */ addiu $a0, $zero, 0x21d +/* 08C038 800F2B88 0803CD95 */ j .L800F3654 +/* 08C03C 800F2B8C 00000000 */ nop + +.L800F2B90: +/* 08C040 800F2B90 3C028011 */ lui $v0, 0x8011 +/* 08C044 800F2B94 8C42D69C */ lw $v0, -0x2964($v0) +/* 08C048 800F2B98 8C430318 */ lw $v1, 0x318($v0) +/* 08C04C 800F2B9C 2C62000E */ sltiu $v0, $v1, 0xe +/* 08C050 800F2BA0 10400014 */ beqz $v0, .L800F2BF4 +/* 08C054 800F2BA4 00031080 */ sll $v0, $v1, 2 +/* 08C058 800F2BA8 3C018011 */ lui $at, 0x8011 +/* 08C05C 800F2BAC 00220821 */ addu $at, $at, $v0 +/* 08C060 800F2BB0 8C22C6B0 */ lw $v0, -0x3950($at) +/* 08C064 800F2BB4 00400008 */ jr $v0 +/* 08C068 800F2BB8 00000000 */ nop +/* 08C06C 800F2BBC 3C028011 */ lui $v0, 0x8011 +/* 08C070 800F2BC0 8042D68E */ lb $v0, -0x2972($v0) +/* 08C074 800F2BC4 1040000C */ beqz $v0, .L800F2BF8 +/* 08C078 800F2BC8 24034000 */ addiu $v1, $zero, 0x4000 +/* 08C07C 800F2BCC 0803CAFE */ j .L800F2BF8 +/* 08C080 800F2BD0 24034002 */ addiu $v1, $zero, 0x4002 + +/* 08C084 800F2BD4 3C028011 */ lui $v0, 0x8011 +/* 08C088 800F2BD8 8042D68E */ lb $v0, -0x2972($v0) +/* 08C08C 800F2BDC 10400006 */ beqz $v0, .L800F2BF8 +/* 08C090 800F2BE0 24034000 */ addiu $v1, $zero, 0x4000 +/* 08C094 800F2BE4 0803CAFE */ j .L800F2BF8 +/* 08C098 800F2BE8 24034001 */ addiu $v1, $zero, 0x4001 + +/* 08C09C 800F2BEC 0803CAFE */ j .L800F2BF8 +/* 08C0A0 800F2BF0 24034000 */ addiu $v1, $zero, 0x4000 + +.L800F2BF4: +/* 08C0A4 800F2BF4 0000182D */ daddu $v1, $zero, $zero +.L800F2BF8: +/* 08C0A8 800F2BF8 3C028007 */ lui $v0, 0x8007 +/* 08C0AC 800F2BFC 8C42419C */ lw $v0, 0x419c($v0) +/* 08C0B0 800F2C00 8C420010 */ lw $v0, 0x10($v0) +/* 08C0B4 800F2C04 00431024 */ and $v0, $v0, $v1 +/* 08C0B8 800F2C08 10400013 */ beqz $v0, .L800F2C58 +/* 08C0BC 800F2C0C 00000000 */ nop +/* 08C0C0 800F2C10 0C05272D */ jal play_sound +/* 08C0C4 800F2C14 240400CA */ addiu $a0, $zero, 0xca +/* 08C0C8 800F2C18 3C028011 */ lui $v0, 0x8011 +/* 08C0CC 800F2C1C 8042D698 */ lb $v0, -0x2968($v0) +/* 08C0D0 800F2C20 10400007 */ beqz $v0, .L800F2C40 +/* 08C0D4 800F2C24 00000000 */ nop +/* 08C0D8 800F2C28 3C028011 */ lui $v0, 0x8011 +/* 08C0DC 800F2C2C 8042D68E */ lb $v0, -0x2972($v0) +/* 08C0E0 800F2C30 14400286 */ bnez $v0, .L800F364C +/* 08C0E4 800F2C34 2402FFF9 */ addiu $v0, $zero, -7 +/* 08C0E8 800F2C38 0803CD93 */ j .L800F364C +/* 08C0EC 800F2C3C 2402FFFD */ addiu $v0, $zero, -3 + +.L800F2C40: +/* 08C0F0 800F2C40 3C028011 */ lui $v0, 0x8011 +/* 08C0F4 800F2C44 8042D699 */ lb $v0, -0x2967($v0) +/* 08C0F8 800F2C48 14400280 */ bnez $v0, .L800F364C +/* 08C0FC 800F2C4C 24020064 */ addiu $v0, $zero, 0x64 +/* 08C100 800F2C50 0803CD93 */ j .L800F364C +/* 08C104 800F2C54 2402001E */ addiu $v0, $zero, 0x1e + +.L800F2C58: +/* 08C108 800F2C58 3C028011 */ lui $v0, 0x8011 +/* 08C10C 800F2C5C 8C42D69C */ lw $v0, -0x2964($v0) +/* 08C110 800F2C60 8C430318 */ lw $v1, 0x318($v0) +/* 08C114 800F2C64 10600005 */ beqz $v1, .L800F2C7C +/* 08C118 800F2C68 24020001 */ addiu $v0, $zero, 1 +/* 08C11C 800F2C6C 10620005 */ beq $v1, $v0, .L800F2C84 +/* 08C120 800F2C70 0000182D */ daddu $v1, $zero, $zero +/* 08C124 800F2C74 0803CB22 */ j .L800F2C88 +/* 08C128 800F2C78 00000000 */ nop + +.L800F2C7C: +/* 08C12C 800F2C7C 0803CB22 */ j .L800F2C88 +/* 08C130 800F2C80 24030001 */ addiu $v1, $zero, 1 + +.L800F2C84: +/* 08C134 800F2C84 24030002 */ addiu $v1, $zero, 2 +.L800F2C88: +/* 08C138 800F2C88 3C028011 */ lui $v0, 0x8011 +/* 08C13C 800F2C8C 8042D68E */ lb $v0, -0x2972($v0) +/* 08C140 800F2C90 10400270 */ beqz $v0, .L800F3654 +/* 08C144 800F2C94 00000000 */ nop +/* 08C148 800F2C98 3C028007 */ lui $v0, 0x8007 +/* 08C14C 800F2C9C 8C42419C */ lw $v0, 0x419c($v0) +/* 08C150 800F2CA0 8C420010 */ lw $v0, 0x10($v0) +/* 08C154 800F2CA4 00431024 */ and $v0, $v0, $v1 +/* 08C158 800F2CA8 1040026A */ beqz $v0, .L800F3654 +/* 08C15C 800F2CAC 00000000 */ nop +/* 08C160 800F2CB0 0C05272D */ jal play_sound +/* 08C164 800F2CB4 240400CA */ addiu $a0, $zero, 0xca +/* 08C168 800F2CB8 0803CD93 */ j .L800F364C +/* 08C16C 800F2CBC 2402FFFA */ addiu $v0, $zero, -6 + +/* 08C170 800F2CC0 240500A0 */ addiu $a1, $zero, 0xa0 +/* 08C174 800F2CC4 00A0302D */ daddu $a2, $a1, $zero +/* 08C178 800F2CC8 3C048011 */ lui $a0, 0x8011 +/* 08C17C 800F2CCC 8C84D65C */ lw $a0, -0x29a4($a0) +/* 08C180 800F2CD0 0C0513BF */ jal func_80144EFC +/* 08C184 800F2CD4 00A0382D */ daddu $a3, $a1, $zero +/* 08C188 800F2CD8 240500A0 */ addiu $a1, $zero, 0xa0 +/* 08C18C 800F2CDC 00A0302D */ daddu $a2, $a1, $zero +/* 08C190 800F2CE0 3C048011 */ lui $a0, 0x8011 +/* 08C194 800F2CE4 8C84D678 */ lw $a0, -0x2988($a0) +/* 08C198 800F2CE8 0C0513BF */ jal func_80144EFC +/* 08C19C 800F2CEC 00A0382D */ daddu $a3, $a1, $zero +/* 08C1A0 800F2CF0 240500A0 */ addiu $a1, $zero, 0xa0 +/* 08C1A4 800F2CF4 00A0302D */ daddu $a2, $a1, $zero +/* 08C1A8 800F2CF8 3C108011 */ lui $s0, 0x8011 +/* 08C1AC 800F2CFC 2610D66C */ addiu $s0, $s0, -0x2994 +/* 08C1B0 800F2D00 8E040000 */ lw $a0, ($s0) +/* 08C1B4 800F2D04 0C0513BF */ jal func_80144EFC +/* 08C1B8 800F2D08 00A0382D */ daddu $a3, $a1, $zero +/* 08C1BC 800F2D0C 240500A0 */ addiu $a1, $zero, 0xa0 +/* 08C1C0 800F2D10 00A0302D */ daddu $a2, $a1, $zero +/* 08C1C4 800F2D14 3C048011 */ lui $a0, 0x8011 +/* 08C1C8 800F2D18 8C84D670 */ lw $a0, -0x2990($a0) +/* 08C1CC 800F2D1C 0C0513BF */ jal func_80144EFC +/* 08C1D0 800F2D20 00A0382D */ daddu $a3, $a1, $zero +/* 08C1D4 800F2D24 240500A0 */ addiu $a1, $zero, 0xa0 +/* 08C1D8 800F2D28 00A0302D */ daddu $a2, $a1, $zero +/* 08C1DC 800F2D2C 3C048011 */ lui $a0, 0x8011 +/* 08C1E0 800F2D30 8C84D674 */ lw $a0, -0x298c($a0) +/* 08C1E4 800F2D34 0C0513BF */ jal func_80144EFC +/* 08C1E8 800F2D38 00A0382D */ daddu $a3, $a1, $zero +/* 08C1EC 800F2D3C 8E040000 */ lw $a0, ($s0) +/* 08C1F0 800F2D40 3C058010 */ lui $a1, 0x8010 +/* 08C1F4 800F2D44 24A54A00 */ addiu $a1, $a1, 0x4a00 +/* 08C1F8 800F2D48 0C0511FF */ jal set_menu_icon_script +/* 08C1FC 800F2D4C 00000000 */ nop +/* 08C200 800F2D50 3C108011 */ lui $s0, 0x8011 +/* 08C204 800F2D54 2610D69C */ addiu $s0, $s0, -0x2964 +/* 08C208 800F2D58 8E020000 */ lw $v0, ($s0) +/* 08C20C 800F2D5C 8C430318 */ lw $v1, 0x318($v0) +/* 08C210 800F2D60 24020003 */ addiu $v0, $zero, 3 +/* 08C214 800F2D64 1462000C */ bne $v1, $v0, .L800F2D98 +/* 08C218 800F2D68 240500A0 */ addiu $a1, $zero, 0xa0 +/* 08C21C 800F2D6C 00A0302D */ daddu $a2, $a1, $zero +/* 08C220 800F2D70 3C048011 */ lui $a0, 0x8011 +/* 08C224 800F2D74 8C84D660 */ lw $a0, -0x29a0($a0) +/* 08C228 800F2D78 0C0513BF */ jal func_80144EFC +/* 08C22C 800F2D7C 00A0382D */ daddu $a3, $a1, $zero +/* 08C230 800F2D80 240500A0 */ addiu $a1, $zero, 0xa0 +/* 08C234 800F2D84 00A0302D */ daddu $a2, $a1, $zero +/* 08C238 800F2D88 3C048011 */ lui $a0, 0x8011 +/* 08C23C 800F2D8C 8C84D664 */ lw $a0, -0x299c($a0) +/* 08C240 800F2D90 0C0513BF */ jal func_80144EFC +/* 08C244 800F2D94 00A0382D */ daddu $a3, $a1, $zero +.L800F2D98: +/* 08C248 800F2D98 8E020000 */ lw $v0, ($s0) +/* 08C24C 800F2D9C 8C420318 */ lw $v0, 0x318($v0) +/* 08C250 800F2DA0 24110004 */ addiu $s1, $zero, 4 +/* 08C254 800F2DA4 1451000C */ bne $v0, $s1, .L800F2DD8 +/* 08C258 800F2DA8 240500A0 */ addiu $a1, $zero, 0xa0 +/* 08C25C 800F2DAC 00A0302D */ daddu $a2, $a1, $zero +/* 08C260 800F2DB0 3C048011 */ lui $a0, 0x8011 +/* 08C264 800F2DB4 8C84D660 */ lw $a0, -0x29a0($a0) +/* 08C268 800F2DB8 0C0513BF */ jal func_80144EFC +/* 08C26C 800F2DBC 00A0382D */ daddu $a3, $a1, $zero +/* 08C270 800F2DC0 240500A0 */ addiu $a1, $zero, 0xa0 +/* 08C274 800F2DC4 00A0302D */ daddu $a2, $a1, $zero +/* 08C278 800F2DC8 3C048011 */ lui $a0, 0x8011 +/* 08C27C 800F2DCC 8C84D664 */ lw $a0, -0x299c($a0) +/* 08C280 800F2DD0 0C0513BF */ jal func_80144EFC +/* 08C284 800F2DD4 00A0382D */ daddu $a3, $a1, $zero +.L800F2DD8: +/* 08C288 800F2DD8 8E020000 */ lw $v0, ($s0) +/* 08C28C 800F2DDC 8C430318 */ lw $v1, 0x318($v0) +/* 08C290 800F2DE0 24020001 */ addiu $v0, $zero, 1 +/* 08C294 800F2DE4 10620003 */ beq $v1, $v0, .L800F2DF4 +/* 08C298 800F2DE8 00000000 */ nop +/* 08C29C 800F2DEC 14710007 */ bne $v1, $s1, .L800F2E0C +/* 08C2A0 800F2DF0 00000000 */ nop +.L800F2DF4: +/* 08C2A4 800F2DF4 3C048011 */ lui $a0, 0x8011 +/* 08C2A8 800F2DF8 8C84D668 */ lw $a0, -0x2998($a0) +/* 08C2AC 800F2DFC 240500A0 */ addiu $a1, $zero, 0xa0 +/* 08C2B0 800F2E00 00A0302D */ daddu $a2, $a1, $zero +/* 08C2B4 800F2E04 0C0513BF */ jal func_80144EFC +/* 08C2B8 800F2E08 00A0382D */ daddu $a3, $a1, $zero +.L800F2E0C: +/* 08C2BC 800F2E0C 3C108011 */ lui $s0, 0x8011 +/* 08C2C0 800F2E10 2610D69C */ addiu $s0, $s0, -0x2964 +/* 08C2C4 800F2E14 8E020000 */ lw $v0, ($s0) +/* 08C2C8 800F2E18 8C430318 */ lw $v1, 0x318($v0) +/* 08C2CC 800F2E1C 24020005 */ addiu $v0, $zero, 5 +/* 08C2D0 800F2E20 14620006 */ bne $v1, $v0, .L800F2E3C +/* 08C2D4 800F2E24 240500A0 */ addiu $a1, $zero, 0xa0 +/* 08C2D8 800F2E28 3C048011 */ lui $a0, 0x8011 +/* 08C2DC 800F2E2C 8C84D660 */ lw $a0, -0x29a0($a0) +/* 08C2E0 800F2E30 00A0302D */ daddu $a2, $a1, $zero +/* 08C2E4 800F2E34 0C0513BF */ jal func_80144EFC +/* 08C2E8 800F2E38 00A0382D */ daddu $a3, $a1, $zero +.L800F2E3C: +/* 08C2EC 800F2E3C 3C048011 */ lui $a0, 0x8011 +/* 08C2F0 800F2E40 2484D648 */ addiu $a0, $a0, -0x29b8 +/* 08C2F4 800F2E44 8C820000 */ lw $v0, ($a0) +/* 08C2F8 800F2E48 2403000D */ addiu $v1, $zero, 0xd +/* 08C2FC 800F2E4C 3C018011 */ lui $at, 0x8011 +/* 08C300 800F2E50 A023D690 */ sb $v1, -0x2970($at) +/* 08C304 800F2E54 94830002 */ lhu $v1, 2($a0) +/* 08C308 800F2E58 8E040000 */ lw $a0, ($s0) +/* 08C30C 800F2E5C 0803CC01 */ j .L800F3004 +/* 08C310 800F2E60 24420001 */ addiu $v0, $v0, 1 + +/* 08C314 800F2E64 3C038011 */ lui $v1, 0x8011 +/* 08C318 800F2E68 2463D648 */ addiu $v1, $v1, -0x29b8 +/* 08C31C 800F2E6C 8C620000 */ lw $v0, ($v1) +/* 08C320 800F2E70 94630002 */ lhu $v1, 2($v1) +/* 08C324 800F2E74 3C048011 */ lui $a0, 0x8011 +/* 08C328 800F2E78 8C84D69C */ lw $a0, -0x2964($a0) +/* 08C32C 800F2E7C 0803CC01 */ j .L800F3004 +/* 08C330 800F2E80 24420001 */ addiu $v0, $v0, 1 + +/* 08C334 800F2E84 3C028011 */ lui $v0, 0x8011 +/* 08C338 800F2E88 8C42D69C */ lw $v0, -0x2964($v0) +/* 08C33C 800F2E8C 8C430318 */ lw $v1, 0x318($v0) +/* 08C340 800F2E90 2C62000E */ sltiu $v0, $v1, 0xe +/* 08C344 800F2E94 10400013 */ beqz $v0, .L800F2EE4 +/* 08C348 800F2E98 00031080 */ sll $v0, $v1, 2 +/* 08C34C 800F2E9C 3C018011 */ lui $at, 0x8011 +/* 08C350 800F2EA0 00220821 */ addu $at, $at, $v0 +/* 08C354 800F2EA4 8C22C6E8 */ lw $v0, -0x3918($at) +/* 08C358 800F2EA8 00400008 */ jr $v0 +/* 08C35C 800F2EAC 00000000 */ nop +/* 08C360 800F2EB0 2404000E */ addiu $a0, $zero, 0xe +/* 08C364 800F2EB4 0C051F9F */ jal func_80147E7C +/* 08C368 800F2EB8 24050002 */ addiu $a1, $zero, 2 +/* 08C36C 800F2EBC 0803CBB7 */ j .L800F2EDC +/* 08C370 800F2EC0 24040013 */ addiu $a0, $zero, 0x13 + +/* 08C374 800F2EC4 2404000E */ addiu $a0, $zero, 0xe +/* 08C378 800F2EC8 0C051F9F */ jal func_80147E7C +/* 08C37C 800F2ECC 24050002 */ addiu $a1, $zero, 2 +/* 08C380 800F2ED0 0803CBB7 */ j .L800F2EDC +/* 08C384 800F2ED4 24040013 */ addiu $a0, $zero, 0x13 + +/* 08C388 800F2ED8 2404000E */ addiu $a0, $zero, 0xe +.L800F2EDC: +/* 08C38C 800F2EDC 0C051F9F */ jal func_80147E7C +/* 08C390 800F2EE0 24050002 */ addiu $a1, $zero, 2 +.L800F2EE4: +/* 08C394 800F2EE4 0C03C54E */ jal func_800F1538 +/* 08C398 800F2EE8 00000000 */ nop +/* 08C39C 800F2EEC 3C048011 */ lui $a0, 0x8011 +/* 08C3A0 800F2EF0 8C84D694 */ lw $a0, -0x296c($a0) +/* 08C3A4 800F2EF4 0C048D70 */ jal func_801235C0 +/* 08C3A8 800F2EF8 00000000 */ nop +/* 08C3AC 800F2EFC 3C048011 */ lui $a0, 0x8011 +/* 08C3B0 800F2F00 8C84D69C */ lw $a0, -0x2964($a0) +/* 08C3B4 800F2F04 2403FFFB */ addiu $v1, $zero, -5 +/* 08C3B8 800F2F08 3C018011 */ lui $at, 0x8011 +/* 08C3BC 800F2F0C AC23D640 */ sw $v1, -0x29c0($at) +/* 08C3C0 800F2F10 0803CBDA */ j .L800F2F68 +/* 08C3C4 800F2F14 240200FF */ addiu $v0, $zero, 0xff + +/* 08C3C8 800F2F18 3C048011 */ lui $a0, 0x8011 +/* 08C3CC 800F2F1C 8C84D694 */ lw $a0, -0x296c($a0) +/* 08C3D0 800F2F20 0C048D70 */ jal func_801235C0 +/* 08C3D4 800F2F24 00000000 */ nop +/* 08C3D8 800F2F28 3C048011 */ lui $a0, 0x8011 +/* 08C3DC 800F2F2C 8C84D69C */ lw $a0, -0x2964($a0) +/* 08C3E0 800F2F30 2403FFFB */ addiu $v1, $zero, -5 +/* 08C3E4 800F2F34 3C018011 */ lui $at, 0x8011 +/* 08C3E8 800F2F38 AC23D640 */ sw $v1, -0x29c0($at) +/* 08C3EC 800F2F3C 0803CBDA */ j .L800F2F68 +/* 08C3F0 800F2F40 240200FF */ addiu $v0, $zero, 0xff + +/* 08C3F4 800F2F44 240200FF */ addiu $v0, $zero, 0xff +/* 08C3F8 800F2F48 3C048011 */ lui $a0, 0x8011 +/* 08C3FC 800F2F4C 8C84D69C */ lw $a0, -0x2964($a0) +/* 08C400 800F2F50 2403FFFE */ addiu $v1, $zero, -2 +/* 08C404 800F2F54 0803CD99 */ j .L800F3664 +/* 08C408 800F2F58 A483032C */ sh $v1, 0x32c($a0) + +/* 08C40C 800F2F5C 240200FF */ addiu $v0, $zero, 0xff +/* 08C410 800F2F60 3C048011 */ lui $a0, 0x8011 +/* 08C414 800F2F64 8C84D69C */ lw $a0, -0x2964($a0) +.L800F2F68: +/* 08C418 800F2F68 0040182D */ daddu $v1, $v0, $zero +/* 08C41C 800F2F6C 0803CD99 */ j .L800F3664 +/* 08C420 800F2F70 A483032C */ sh $v1, 0x32c($a0) + +/* 08C424 800F2F74 3C038011 */ lui $v1, 0x8011 +/* 08C428 800F2F78 2463D644 */ addiu $v1, $v1, -0x29bc +/* 08C42C 800F2F7C 8C620000 */ lw $v0, ($v1) +/* 08C430 800F2F80 2442FFFF */ addiu $v0, $v0, -1 +/* 08C434 800F2F84 144001B3 */ bnez $v0, .L800F3654 +/* 08C438 800F2F88 AC620000 */ sw $v0, ($v1) +/* 08C43C 800F2F8C 3C048011 */ lui $a0, 0x8011 +/* 08C440 800F2F90 2484D648 */ addiu $a0, $a0, -0x29b8 +/* 08C444 800F2F94 8C820000 */ lw $v0, ($a0) +/* 08C448 800F2F98 2403000B */ addiu $v1, $zero, 0xb +/* 08C44C 800F2F9C 3C018011 */ lui $at, 0x8011 +/* 08C450 800F2FA0 AC23D640 */ sw $v1, -0x29c0($at) +/* 08C454 800F2FA4 94830002 */ lhu $v1, 2($a0) +/* 08C458 800F2FA8 3C048011 */ lui $a0, 0x8011 +/* 08C45C 800F2FAC 8C84D69C */ lw $a0, -0x2964($a0) +/* 08C460 800F2FB0 0803CC01 */ j .L800F3004 +/* 08C464 800F2FB4 24420001 */ addiu $v0, $v0, 1 + +/* 08C468 800F2FB8 3C028011 */ lui $v0, 0x8011 +/* 08C46C 800F2FBC 2442D644 */ addiu $v0, $v0, -0x29bc +/* 08C470 800F2FC0 8C430000 */ lw $v1, ($v0) +/* 08C474 800F2FC4 3C048011 */ lui $a0, 0x8011 +/* 08C478 800F2FC8 8084D692 */ lb $a0, -0x296e($a0) +/* 08C47C 800F2FCC 24630001 */ addiu $v1, $v1, 1 +/* 08C480 800F2FD0 AC430000 */ sw $v1, ($v0) +/* 08C484 800F2FD4 0064182A */ slt $v1, $v1, $a0 +/* 08C488 800F2FD8 1460019E */ bnez $v1, .L800F3654 +/* 08C48C 800F2FDC 24030001 */ addiu $v1, $zero, 1 +/* 08C490 800F2FE0 3C048011 */ lui $a0, 0x8011 +/* 08C494 800F2FE4 2484D648 */ addiu $a0, $a0, -0x29b8 +/* 08C498 800F2FE8 8C820000 */ lw $v0, ($a0) +/* 08C49C 800F2FEC 3C018011 */ lui $at, 0x8011 +/* 08C4A0 800F2FF0 AC23D640 */ sw $v1, -0x29c0($at) +/* 08C4A4 800F2FF4 00431021 */ addu $v0, $v0, $v1 +/* 08C4A8 800F2FF8 94830002 */ lhu $v1, 2($a0) +/* 08C4AC 800F2FFC 3C048011 */ lui $a0, 0x8011 +/* 08C4B0 800F3000 8C84D69C */ lw $a0, -0x2964($a0) +.L800F3004: +/* 08C4B4 800F3004 24630001 */ addiu $v1, $v1, 1 +/* 08C4B8 800F3008 0803CD99 */ j .L800F3664 +/* 08C4BC 800F300C A483032C */ sh $v1, 0x32c($a0) + +/* 08C4C0 800F3010 0000102D */ daddu $v0, $zero, $zero +/* 08C4C4 800F3014 3C048011 */ lui $a0, 0x8011 +/* 08C4C8 800F3018 8C84D69C */ lw $a0, -0x2964($a0) +/* 08C4CC 800F301C 2403001F */ addiu $v1, $zero, 0x1f +/* 08C4D0 800F3020 3C018011 */ lui $at, 0x8011 +/* 08C4D4 800F3024 AC23D640 */ sw $v1, -0x29c0($at) +/* 08C4D8 800F3028 2403FFFF */ addiu $v1, $zero, -1 +/* 08C4DC 800F302C 0803CD99 */ j .L800F3664 +/* 08C4E0 800F3030 A483032C */ sh $v1, 0x32c($a0) + +/* 08C4E4 800F3034 2404000E */ addiu $a0, $zero, 0xe +/* 08C4E8 800F3038 0C051F9F */ jal func_80147E7C +/* 08C4EC 800F303C 24050002 */ addiu $a1, $zero, 2 +/* 08C4F0 800F3040 24040013 */ addiu $a0, $zero, 0x13 +/* 08C4F4 800F3044 0C051F9F */ jal func_80147E7C +/* 08C4F8 800F3048 24050002 */ addiu $a1, $zero, 2 +/* 08C4FC 800F304C 3C028011 */ lui $v0, 0x8011 +/* 08C500 800F3050 8042D68E */ lb $v0, -0x2972($v0) +/* 08C504 800F3054 10400003 */ beqz $v0, .L800F3064 +/* 08C508 800F3058 24040015 */ addiu $a0, $zero, 0x15 +/* 08C50C 800F305C 0C051F9F */ jal func_80147E7C +/* 08C510 800F3060 24050002 */ addiu $a1, $zero, 2 +.L800F3064: +/* 08C514 800F3064 3C04001D */ lui $a0, 0x1d +/* 08C518 800F3068 3484006B */ ori $a0, $a0, 0x6b +/* 08C51C 800F306C 0C04991D */ jal get_string_width +/* 08C520 800F3070 0000282D */ daddu $a1, $zero, $zero +/* 08C524 800F3074 24470017 */ addiu $a3, $v0, 0x17 +/* 08C528 800F3078 24040009 */ addiu $a0, $zero, 9 +/* 08C52C 800F307C 00072FC2 */ srl $a1, $a3, 0x1f +/* 08C530 800F3080 00E52821 */ addu $a1, $a3, $a1 +/* 08C534 800F3084 00052843 */ sra $a1, $a1, 1 +/* 08C538 800F3088 240200A0 */ addiu $v0, $zero, 0xa0 +/* 08C53C 800F308C 00452823 */ subu $a1, $v0, $a1 +/* 08C540 800F3090 24060050 */ addiu $a2, $zero, 0x50 +/* 08C544 800F3094 24020028 */ addiu $v0, $zero, 0x28 +/* 08C548 800F3098 AFA20010 */ sw $v0, 0x10($sp) +/* 08C54C 800F309C 24020014 */ addiu $v0, $zero, 0x14 +/* 08C550 800F30A0 AFA20014 */ sw $v0, 0x14($sp) +/* 08C554 800F30A4 3C02800F */ lui $v0, 0x800f +/* 08C558 800F30A8 24424CF0 */ addiu $v0, $v0, 0x4cf0 +/* 08C55C 800F30AC AFA20018 */ sw $v0, 0x18($sp) +/* 08C560 800F30B0 2402FFFF */ addiu $v0, $zero, -1 +/* 08C564 800F30B4 AFA0001C */ sw $zero, 0x1c($sp) +/* 08C568 800F30B8 0C051F32 */ jal func_80147CC8 +/* 08C56C 800F30BC AFA20020 */ sw $v0, 0x20($sp) +/* 08C570 800F30C0 24040009 */ addiu $a0, $zero, 9 +/* 08C574 800F30C4 0C051F9F */ jal func_80147E7C +/* 08C578 800F30C8 24050001 */ addiu $a1, $zero, 1 +/* 08C57C 800F30CC 2403003C */ addiu $v1, $zero, 0x3c +/* 08C580 800F30D0 3C018011 */ lui $at, 0x8011 +/* 08C584 800F30D4 AC23D644 */ sw $v1, -0x29bc($at) +/* 08C588 800F30D8 24030020 */ addiu $v1, $zero, 0x20 +/* 08C58C 800F30DC 3C018011 */ lui $at, 0x8011 +/* 08C590 800F30E0 AC23D640 */ sw $v1, -0x29c0($at) +/* 08C594 800F30E4 0803CD99 */ j .L800F3664 +/* 08C598 800F30E8 0000102D */ daddu $v0, $zero, $zero + +/* 08C59C 800F30EC 3C028007 */ lui $v0, 0x8007 +/* 08C5A0 800F30F0 8C42419C */ lw $v0, 0x419c($v0) +/* 08C5A4 800F30F4 8C420010 */ lw $v0, 0x10($v0) +/* 08C5A8 800F30F8 3042C001 */ andi $v0, $v0, 0xc001 +/* 08C5AC 800F30FC 10400003 */ beqz $v0, .L800F310C +/* 08C5B0 800F3100 00000000 */ nop +/* 08C5B4 800F3104 3C018011 */ lui $at, 0x8011 +/* 08C5B8 800F3108 AC20D644 */ sw $zero, -0x29bc($at) +.L800F310C: +/* 08C5BC 800F310C 3C038011 */ lui $v1, 0x8011 +/* 08C5C0 800F3110 2463D644 */ addiu $v1, $v1, -0x29bc +/* 08C5C4 800F3114 8C620000 */ lw $v0, ($v1) +/* 08C5C8 800F3118 10400004 */ beqz $v0, .L800F312C +/* 08C5CC 800F311C 2442FFFF */ addiu $v0, $v0, -1 +/* 08C5D0 800F3120 AC620000 */ sw $v0, ($v1) +/* 08C5D4 800F3124 0803CD99 */ j .L800F3664 +/* 08C5D8 800F3128 0000102D */ daddu $v0, $zero, $zero + +.L800F312C: +/* 08C5DC 800F312C 24040009 */ addiu $a0, $zero, 9 +/* 08C5E0 800F3130 0C051F9F */ jal func_80147E7C +/* 08C5E4 800F3134 24050002 */ addiu $a1, $zero, 2 +/* 08C5E8 800F3138 2404000E */ addiu $a0, $zero, 0xe +/* 08C5EC 800F313C 0C051F9F */ jal func_80147E7C +/* 08C5F0 800F3140 24050001 */ addiu $a1, $zero, 1 +/* 08C5F4 800F3144 24040013 */ addiu $a0, $zero, 0x13 +/* 08C5F8 800F3148 0C051F9F */ jal func_80147E7C +/* 08C5FC 800F314C 24050001 */ addiu $a1, $zero, 1 +/* 08C600 800F3150 3C028011 */ lui $v0, 0x8011 +/* 08C604 800F3154 8042D68E */ lb $v0, -0x2972($v0) +/* 08C608 800F3158 10400003 */ beqz $v0, .L800F3168 +/* 08C60C 800F315C 24040015 */ addiu $a0, $zero, 0x15 +/* 08C610 800F3160 0C051F9F */ jal func_80147E7C +/* 08C614 800F3164 24050001 */ addiu $a1, $zero, 1 +.L800F3168: +/* 08C618 800F3168 3C038011 */ lui $v1, 0x8011 +/* 08C61C 800F316C 8C63D69C */ lw $v1, -0x2964($v1) +/* 08C620 800F3170 24020001 */ addiu $v0, $zero, 1 +/* 08C624 800F3174 3C018011 */ lui $at, 0x8011 +/* 08C628 800F3178 AC22D640 */ sw $v0, -0x29c0($at) +/* 08C62C 800F317C 0803CD95 */ j .L800F3654 +/* 08C630 800F3180 A460032C */ sh $zero, 0x32c($v1) + +/* 08C634 800F3184 240500A0 */ addiu $a1, $zero, 0xa0 +/* 08C638 800F3188 00A0302D */ daddu $a2, $a1, $zero +/* 08C63C 800F318C 3C048011 */ lui $a0, 0x8011 +/* 08C640 800F3190 8C84D65C */ lw $a0, -0x29a4($a0) +/* 08C644 800F3194 0C0513BF */ jal func_80144EFC +/* 08C648 800F3198 00A0382D */ daddu $a3, $a1, $zero +/* 08C64C 800F319C 240500A0 */ addiu $a1, $zero, 0xa0 +/* 08C650 800F31A0 00A0302D */ daddu $a2, $a1, $zero +/* 08C654 800F31A4 3C048011 */ lui $a0, 0x8011 +/* 08C658 800F31A8 8C84D678 */ lw $a0, -0x2988($a0) +/* 08C65C 800F31AC 0C0513BF */ jal func_80144EFC +/* 08C660 800F31B0 00A0382D */ daddu $a3, $a1, $zero +/* 08C664 800F31B4 240500A0 */ addiu $a1, $zero, 0xa0 +/* 08C668 800F31B8 00A0302D */ daddu $a2, $a1, $zero +/* 08C66C 800F31BC 3C108011 */ lui $s0, 0x8011 +/* 08C670 800F31C0 2610D66C */ addiu $s0, $s0, -0x2994 +/* 08C674 800F31C4 8E040000 */ lw $a0, ($s0) +/* 08C678 800F31C8 0C0513BF */ jal func_80144EFC +/* 08C67C 800F31CC 00A0382D */ daddu $a3, $a1, $zero +/* 08C680 800F31D0 240500A0 */ addiu $a1, $zero, 0xa0 +/* 08C684 800F31D4 00A0302D */ daddu $a2, $a1, $zero +/* 08C688 800F31D8 3C048011 */ lui $a0, 0x8011 +/* 08C68C 800F31DC 8C84D670 */ lw $a0, -0x2990($a0) +/* 08C690 800F31E0 0C0513BF */ jal func_80144EFC +/* 08C694 800F31E4 00A0382D */ daddu $a3, $a1, $zero +/* 08C698 800F31E8 240500A0 */ addiu $a1, $zero, 0xa0 +/* 08C69C 800F31EC 00A0302D */ daddu $a2, $a1, $zero +/* 08C6A0 800F31F0 3C048011 */ lui $a0, 0x8011 +/* 08C6A4 800F31F4 8C84D674 */ lw $a0, -0x298c($a0) +/* 08C6A8 800F31F8 0C0513BF */ jal func_80144EFC +/* 08C6AC 800F31FC 00A0382D */ daddu $a3, $a1, $zero +/* 08C6B0 800F3200 8E040000 */ lw $a0, ($s0) +/* 08C6B4 800F3204 3C058010 */ lui $a1, 0x8010 +/* 08C6B8 800F3208 24A54A00 */ addiu $a1, $a1, 0x4a00 +/* 08C6BC 800F320C 0C0511FF */ jal set_menu_icon_script +/* 08C6C0 800F3210 00000000 */ nop +/* 08C6C4 800F3214 3C108011 */ lui $s0, 0x8011 +/* 08C6C8 800F3218 2610D69C */ addiu $s0, $s0, -0x2964 +/* 08C6CC 800F321C 8E020000 */ lw $v0, ($s0) +/* 08C6D0 800F3220 8C430318 */ lw $v1, 0x318($v0) +/* 08C6D4 800F3224 24020003 */ addiu $v0, $zero, 3 +/* 08C6D8 800F3228 1462000C */ bne $v1, $v0, .L800F325C +/* 08C6DC 800F322C 240500A0 */ addiu $a1, $zero, 0xa0 +/* 08C6E0 800F3230 00A0302D */ daddu $a2, $a1, $zero +/* 08C6E4 800F3234 3C048011 */ lui $a0, 0x8011 +/* 08C6E8 800F3238 8C84D660 */ lw $a0, -0x29a0($a0) +/* 08C6EC 800F323C 0C0513BF */ jal func_80144EFC +/* 08C6F0 800F3240 00A0382D */ daddu $a3, $a1, $zero +/* 08C6F4 800F3244 240500A0 */ addiu $a1, $zero, 0xa0 +/* 08C6F8 800F3248 00A0302D */ daddu $a2, $a1, $zero +/* 08C6FC 800F324C 3C048011 */ lui $a0, 0x8011 +/* 08C700 800F3250 8C84D664 */ lw $a0, -0x299c($a0) +/* 08C704 800F3254 0C0513BF */ jal func_80144EFC +/* 08C708 800F3258 00A0382D */ daddu $a3, $a1, $zero +.L800F325C: +/* 08C70C 800F325C 8E020000 */ lw $v0, ($s0) +/* 08C710 800F3260 8C420318 */ lw $v0, 0x318($v0) +/* 08C714 800F3264 24110004 */ addiu $s1, $zero, 4 +/* 08C718 800F3268 1451000C */ bne $v0, $s1, .L800F329C +/* 08C71C 800F326C 240500A0 */ addiu $a1, $zero, 0xa0 +/* 08C720 800F3270 00A0302D */ daddu $a2, $a1, $zero +/* 08C724 800F3274 3C048011 */ lui $a0, 0x8011 +/* 08C728 800F3278 8C84D660 */ lw $a0, -0x29a0($a0) +/* 08C72C 800F327C 0C0513BF */ jal func_80144EFC +/* 08C730 800F3280 00A0382D */ daddu $a3, $a1, $zero +/* 08C734 800F3284 240500A0 */ addiu $a1, $zero, 0xa0 +/* 08C738 800F3288 00A0302D */ daddu $a2, $a1, $zero +/* 08C73C 800F328C 3C048011 */ lui $a0, 0x8011 +/* 08C740 800F3290 8C84D664 */ lw $a0, -0x299c($a0) +/* 08C744 800F3294 0C0513BF */ jal func_80144EFC +/* 08C748 800F3298 00A0382D */ daddu $a3, $a1, $zero +.L800F329C: +/* 08C74C 800F329C 8E020000 */ lw $v0, ($s0) +/* 08C750 800F32A0 8C430318 */ lw $v1, 0x318($v0) +/* 08C754 800F32A4 24020001 */ addiu $v0, $zero, 1 +/* 08C758 800F32A8 10620003 */ beq $v1, $v0, .L800F32B8 +/* 08C75C 800F32AC 00000000 */ nop +/* 08C760 800F32B0 14710007 */ bne $v1, $s1, .L800F32D0 +/* 08C764 800F32B4 00000000 */ nop +.L800F32B8: +/* 08C768 800F32B8 3C048011 */ lui $a0, 0x8011 +/* 08C76C 800F32BC 8C84D668 */ lw $a0, -0x2998($a0) +/* 08C770 800F32C0 240500A0 */ addiu $a1, $zero, 0xa0 +/* 08C774 800F32C4 00A0302D */ daddu $a2, $a1, $zero +/* 08C778 800F32C8 0C0513BF */ jal func_80144EFC +/* 08C77C 800F32CC 00A0382D */ daddu $a3, $a1, $zero +.L800F32D0: +/* 08C780 800F32D0 3C108011 */ lui $s0, 0x8011 +/* 08C784 800F32D4 2610D69C */ addiu $s0, $s0, -0x2964 +/* 08C788 800F32D8 8E020000 */ lw $v0, ($s0) +/* 08C78C 800F32DC 8C430318 */ lw $v1, 0x318($v0) +/* 08C790 800F32E0 24020005 */ addiu $v0, $zero, 5 +/* 08C794 800F32E4 14620006 */ bne $v1, $v0, .L800F3300 +/* 08C798 800F32E8 240500A0 */ addiu $a1, $zero, 0xa0 +/* 08C79C 800F32EC 3C048011 */ lui $a0, 0x8011 +/* 08C7A0 800F32F0 8C84D660 */ lw $a0, -0x29a0($a0) +/* 08C7A4 800F32F4 00A0302D */ daddu $a2, $a1, $zero +/* 08C7A8 800F32F8 0C0513BF */ jal func_80144EFC +/* 08C7AC 800F32FC 00A0382D */ daddu $a3, $a1, $zero +.L800F3300: +/* 08C7B0 800F3300 8E020000 */ lw $v0, ($s0) +/* 08C7B4 800F3304 8C430318 */ lw $v1, 0x318($v0) +/* 08C7B8 800F3308 2C62000E */ sltiu $v0, $v1, 0xe +/* 08C7BC 800F330C 10400013 */ beqz $v0, .L800F335C +/* 08C7C0 800F3310 00031080 */ sll $v0, $v1, 2 +/* 08C7C4 800F3314 3C018011 */ lui $at, 0x8011 +/* 08C7C8 800F3318 00220821 */ addu $at, $at, $v0 +/* 08C7CC 800F331C 8C22C720 */ lw $v0, -0x38e0($at) +/* 08C7D0 800F3320 00400008 */ jr $v0 +/* 08C7D4 800F3324 00000000 */ nop +/* 08C7D8 800F3328 2404000E */ addiu $a0, $zero, 0xe +/* 08C7DC 800F332C 0C051F9F */ jal func_80147E7C +/* 08C7E0 800F3330 24050002 */ addiu $a1, $zero, 2 +/* 08C7E4 800F3334 0803CCD5 */ j .L800F3354 +/* 08C7E8 800F3338 24040013 */ addiu $a0, $zero, 0x13 + +/* 08C7EC 800F333C 2404000E */ addiu $a0, $zero, 0xe +/* 08C7F0 800F3340 0C051F9F */ jal func_80147E7C +/* 08C7F4 800F3344 24050002 */ addiu $a1, $zero, 2 +/* 08C7F8 800F3348 0803CCD5 */ j .L800F3354 +/* 08C7FC 800F334C 24040013 */ addiu $a0, $zero, 0x13 + +/* 08C800 800F3350 2404000E */ addiu $a0, $zero, 0xe +.L800F3354: +/* 08C804 800F3354 0C051F9F */ jal func_80147E7C +/* 08C808 800F3358 24050002 */ addiu $a1, $zero, 2 +.L800F335C: +/* 08C80C 800F335C 3C04001D */ lui $a0, 0x1d +/* 08C810 800F3360 3C038011 */ lui $v1, 0x8011 +/* 08C814 800F3364 8063D699 */ lb $v1, -0x2967($v1) +/* 08C818 800F3368 2402000D */ addiu $v0, $zero, 0xd +/* 08C81C 800F336C 3C018011 */ lui $at, 0x8011 +/* 08C820 800F3370 A022D690 */ sb $v0, -0x2970($at) +/* 08C824 800F3374 24020001 */ addiu $v0, $zero, 1 +/* 08C828 800F3378 14620003 */ bne $v1, $v0, .L800F3388 +/* 08C82C 800F337C 34840069 */ ori $a0, $a0, 0x69 +/* 08C830 800F3380 3C04001D */ lui $a0, 0x1d +/* 08C834 800F3384 34840068 */ ori $a0, $a0, 0x68 +.L800F3388: +/* 08C838 800F3388 0C04991D */ jal get_string_width +/* 08C83C 800F338C 0000282D */ daddu $a1, $zero, $zero +/* 08C840 800F3390 24470017 */ addiu $a3, $v0, 0x17 +/* 08C844 800F3394 24040015 */ addiu $a0, $zero, 0x15 +/* 08C848 800F3398 00072FC2 */ srl $a1, $a3, 0x1f +/* 08C84C 800F339C 00E52821 */ addu $a1, $a3, $a1 +/* 08C850 800F33A0 00052843 */ sra $a1, $a1, 1 +/* 08C854 800F33A4 240200A0 */ addiu $v0, $zero, 0xa0 +/* 08C858 800F33A8 00452823 */ subu $a1, $v0, $a1 +/* 08C85C 800F33AC 2406004C */ addiu $a2, $zero, 0x4c +/* 08C860 800F33B0 24020020 */ addiu $v0, $zero, 0x20 +/* 08C864 800F33B4 AFA20010 */ sw $v0, 0x10($sp) +/* 08C868 800F33B8 24020013 */ addiu $v0, $zero, 0x13 +/* 08C86C 800F33BC AFA20014 */ sw $v0, 0x14($sp) +/* 08C870 800F33C0 3C02800F */ lui $v0, 0x800f +/* 08C874 800F33C4 24424C1C */ addiu $v0, $v0, 0x4c1c +/* 08C878 800F33C8 AFA20018 */ sw $v0, 0x18($sp) +/* 08C87C 800F33CC 2402FFFF */ addiu $v0, $zero, -1 +/* 08C880 800F33D0 AFA0001C */ sw $zero, 0x1c($sp) +/* 08C884 800F33D4 0C051F32 */ jal func_80147CC8 +/* 08C888 800F33D8 AFA20020 */ sw $v0, 0x20($sp) +/* 08C88C 800F33DC 24040015 */ addiu $a0, $zero, 0x15 +/* 08C890 800F33E0 0C051F9F */ jal func_80147E7C +/* 08C894 800F33E4 24050001 */ addiu $a1, $zero, 1 +/* 08C898 800F33E8 3C04001E */ lui $a0, 0x1e +/* 08C89C 800F33EC 3C058011 */ lui $a1, 0x8011 +/* 08C8A0 800F33F0 24A5D6A4 */ addiu $a1, $a1, -0x295c +/* 08C8A4 800F33F4 0C049640 */ jal load_string +/* 08C8A8 800F33F8 3484001D */ ori $a0, $a0, 0x1d +/* 08C8AC 800F33FC 0040202D */ daddu $a0, $v0, $zero +/* 08C8B0 800F3400 240500A0 */ addiu $a1, $zero, 0xa0 +/* 08C8B4 800F3404 3C018011 */ lui $at, 0x8011 +/* 08C8B8 800F3408 AC24D6A0 */ sw $a0, -0x2960($at) +/* 08C8BC 800F340C 0C0496AE */ jal clamp_printer_coords +/* 08C8C0 800F3410 24060090 */ addiu $a2, $zero, 0x90 +/* 08C8C4 800F3414 0803CD93 */ j .L800F364C +/* 08C8C8 800F3418 24020065 */ addiu $v0, $zero, 0x65 + +/* 08C8CC 800F341C 3C108011 */ lui $s0, 0x8011 +/* 08C8D0 800F3420 8E10D6A4 */ lw $s0, -0x295c($s0) +/* 08C8D4 800F3424 24020001 */ addiu $v0, $zero, 1 +/* 08C8D8 800F3428 1602008A */ bne $s0, $v0, .L800F3654 +/* 08C8DC 800F342C 24040015 */ addiu $a0, $zero, 0x15 +/* 08C8E0 800F3430 0C051F9F */ jal func_80147E7C +/* 08C8E4 800F3434 24050002 */ addiu $a1, $zero, 2 +/* 08C8E8 800F3438 3C028011 */ lui $v0, 0x8011 +/* 08C8EC 800F343C 8C42D6A0 */ lw $v0, -0x2960($v0) +/* 08C8F0 800F3440 904204E8 */ lbu $v0, 0x4e8($v0) +/* 08C8F4 800F3444 50400081 */ beql $v0, $zero, .L800F364C +/* 08C8F8 800F3448 24020066 */ addiu $v0, $zero, 0x66 +/* 08C8FC 800F344C 1050007F */ beq $v0, $s0, .L800F364C +/* 08C900 800F3450 24020067 */ addiu $v0, $zero, 0x67 +/* 08C904 800F3454 0803CD95 */ j .L800F3654 +/* 08C908 800F3458 00000000 */ nop + +/* 08C90C 800F345C 0803CD93 */ j .L800F364C +/* 08C910 800F3460 2402FFFD */ addiu $v0, $zero, -3 + +/* 08C914 800F3464 240500FF */ addiu $a1, $zero, 0xff +/* 08C918 800F3468 00A0302D */ daddu $a2, $a1, $zero +/* 08C91C 800F346C 3C048011 */ lui $a0, 0x8011 +/* 08C920 800F3470 8C84D65C */ lw $a0, -0x29a4($a0) +/* 08C924 800F3474 0C0513BF */ jal func_80144EFC +/* 08C928 800F3478 00A0382D */ daddu $a3, $a1, $zero +/* 08C92C 800F347C 240500FF */ addiu $a1, $zero, 0xff +/* 08C930 800F3480 00A0302D */ daddu $a2, $a1, $zero +/* 08C934 800F3484 3C048011 */ lui $a0, 0x8011 +/* 08C938 800F3488 8C84D678 */ lw $a0, -0x2988($a0) +/* 08C93C 800F348C 0C0513BF */ jal func_80144EFC +/* 08C940 800F3490 00A0382D */ daddu $a3, $a1, $zero +/* 08C944 800F3494 240500FF */ addiu $a1, $zero, 0xff +/* 08C948 800F3498 00A0302D */ daddu $a2, $a1, $zero +/* 08C94C 800F349C 3C048011 */ lui $a0, 0x8011 +/* 08C950 800F34A0 8C84D66C */ lw $a0, -0x2994($a0) +/* 08C954 800F34A4 0C0513BF */ jal func_80144EFC +/* 08C958 800F34A8 00A0382D */ daddu $a3, $a1, $zero +/* 08C95C 800F34AC 240500FF */ addiu $a1, $zero, 0xff +/* 08C960 800F34B0 00A0302D */ daddu $a2, $a1, $zero +/* 08C964 800F34B4 3C048011 */ lui $a0, 0x8011 +/* 08C968 800F34B8 8C84D670 */ lw $a0, -0x2990($a0) +/* 08C96C 800F34BC 0C0513BF */ jal func_80144EFC +/* 08C970 800F34C0 00A0382D */ daddu $a3, $a1, $zero +/* 08C974 800F34C4 240500FF */ addiu $a1, $zero, 0xff +/* 08C978 800F34C8 00A0302D */ daddu $a2, $a1, $zero +/* 08C97C 800F34CC 3C048011 */ lui $a0, 0x8011 +/* 08C980 800F34D0 8C84D674 */ lw $a0, -0x298c($a0) +/* 08C984 800F34D4 0C0513BF */ jal func_80144EFC +/* 08C988 800F34D8 00A0382D */ daddu $a3, $a1, $zero +/* 08C98C 800F34DC 3C108011 */ lui $s0, 0x8011 +/* 08C990 800F34E0 2610D69C */ addiu $s0, $s0, -0x2964 +/* 08C994 800F34E4 8E020000 */ lw $v0, ($s0) +/* 08C998 800F34E8 8C430318 */ lw $v1, 0x318($v0) +/* 08C99C 800F34EC 24020003 */ addiu $v0, $zero, 3 +/* 08C9A0 800F34F0 1462000C */ bne $v1, $v0, .L800F3524 +/* 08C9A4 800F34F4 240500A0 */ addiu $a1, $zero, 0xa0 +/* 08C9A8 800F34F8 00A0302D */ daddu $a2, $a1, $zero +/* 08C9AC 800F34FC 3C048011 */ lui $a0, 0x8011 +/* 08C9B0 800F3500 8C84D660 */ lw $a0, -0x29a0($a0) +/* 08C9B4 800F3504 0C0513BF */ jal func_80144EFC +/* 08C9B8 800F3508 00A0382D */ daddu $a3, $a1, $zero +/* 08C9BC 800F350C 240500A0 */ addiu $a1, $zero, 0xa0 +/* 08C9C0 800F3510 00A0302D */ daddu $a2, $a1, $zero +/* 08C9C4 800F3514 3C048011 */ lui $a0, 0x8011 +/* 08C9C8 800F3518 8C84D664 */ lw $a0, -0x299c($a0) +/* 08C9CC 800F351C 0C0513BF */ jal func_80144EFC +/* 08C9D0 800F3520 00A0382D */ daddu $a3, $a1, $zero +.L800F3524: +/* 08C9D4 800F3524 8E020000 */ lw $v0, ($s0) +/* 08C9D8 800F3528 8C420318 */ lw $v0, 0x318($v0) +/* 08C9DC 800F352C 24110004 */ addiu $s1, $zero, 4 +/* 08C9E0 800F3530 1451000C */ bne $v0, $s1, .L800F3564 +/* 08C9E4 800F3534 240500A0 */ addiu $a1, $zero, 0xa0 +/* 08C9E8 800F3538 00A0302D */ daddu $a2, $a1, $zero +/* 08C9EC 800F353C 3C048011 */ lui $a0, 0x8011 +/* 08C9F0 800F3540 8C84D660 */ lw $a0, -0x29a0($a0) +/* 08C9F4 800F3544 0C0513BF */ jal func_80144EFC +/* 08C9F8 800F3548 00A0382D */ daddu $a3, $a1, $zero +/* 08C9FC 800F354C 240500A0 */ addiu $a1, $zero, 0xa0 +/* 08CA00 800F3550 00A0302D */ daddu $a2, $a1, $zero +/* 08CA04 800F3554 3C048011 */ lui $a0, 0x8011 +/* 08CA08 800F3558 8C84D664 */ lw $a0, -0x299c($a0) +/* 08CA0C 800F355C 0C0513BF */ jal func_80144EFC +/* 08CA10 800F3560 00A0382D */ daddu $a3, $a1, $zero +.L800F3564: +/* 08CA14 800F3564 8E020000 */ lw $v0, ($s0) +/* 08CA18 800F3568 8C430318 */ lw $v1, 0x318($v0) +/* 08CA1C 800F356C 24020001 */ addiu $v0, $zero, 1 +/* 08CA20 800F3570 10620003 */ beq $v1, $v0, .L800F3580 +/* 08CA24 800F3574 00000000 */ nop +/* 08CA28 800F3578 14710007 */ bne $v1, $s1, .L800F3598 +/* 08CA2C 800F357C 00000000 */ nop +.L800F3580: +/* 08CA30 800F3580 3C048011 */ lui $a0, 0x8011 +/* 08CA34 800F3584 8C84D668 */ lw $a0, -0x2998($a0) +/* 08CA38 800F3588 240500A0 */ addiu $a1, $zero, 0xa0 +/* 08CA3C 800F358C 00A0302D */ daddu $a2, $a1, $zero +/* 08CA40 800F3590 0C0513BF */ jal func_80144EFC +/* 08CA44 800F3594 00A0382D */ daddu $a3, $a1, $zero +.L800F3598: +/* 08CA48 800F3598 3C108011 */ lui $s0, 0x8011 +/* 08CA4C 800F359C 2610D69C */ addiu $s0, $s0, -0x2964 +/* 08CA50 800F35A0 8E020000 */ lw $v0, ($s0) +/* 08CA54 800F35A4 8C430318 */ lw $v1, 0x318($v0) +/* 08CA58 800F35A8 24020005 */ addiu $v0, $zero, 5 +/* 08CA5C 800F35AC 14620006 */ bne $v1, $v0, .L800F35C8 +/* 08CA60 800F35B0 240500A0 */ addiu $a1, $zero, 0xa0 +/* 08CA64 800F35B4 3C048011 */ lui $a0, 0x8011 +/* 08CA68 800F35B8 8C84D660 */ lw $a0, -0x29a0($a0) +/* 08CA6C 800F35BC 00A0302D */ daddu $a2, $a1, $zero +/* 08CA70 800F35C0 0C0513BF */ jal func_80144EFC +/* 08CA74 800F35C4 00A0382D */ daddu $a3, $a1, $zero +.L800F35C8: +/* 08CA78 800F35C8 3C048011 */ lui $a0, 0x8011 +/* 08CA7C 800F35CC 8C84D66C */ lw $a0, -0x2994($a0) +/* 08CA80 800F35D0 3C058010 */ lui $a1, 0x8010 +/* 08CA84 800F35D4 24A54A00 */ addiu $a1, $a1, 0x4a00 +/* 08CA88 800F35D8 0C0511FF */ jal set_menu_icon_script +/* 08CA8C 800F35DC 00000000 */ nop +/* 08CA90 800F35E0 8E020000 */ lw $v0, ($s0) +/* 08CA94 800F35E4 8C430318 */ lw $v1, 0x318($v0) +/* 08CA98 800F35E8 2C62000E */ sltiu $v0, $v1, 0xe +/* 08CA9C 800F35EC 10400013 */ beqz $v0, .L800F363C +/* 08CAA0 800F35F0 00031080 */ sll $v0, $v1, 2 +/* 08CAA4 800F35F4 3C018011 */ lui $at, 0x8011 +/* 08CAA8 800F35F8 00220821 */ addu $at, $at, $v0 +/* 08CAAC 800F35FC 8C22C758 */ lw $v0, -0x38a8($at) +/* 08CAB0 800F3600 00400008 */ jr $v0 +/* 08CAB4 800F3604 00000000 */ nop +/* 08CAB8 800F3608 2404000E */ addiu $a0, $zero, 0xe +/* 08CABC 800F360C 0C051F9F */ jal func_80147E7C +/* 08CAC0 800F3610 24050001 */ addiu $a1, $zero, 1 +/* 08CAC4 800F3614 0803CD8D */ j .L800F3634 +/* 08CAC8 800F3618 24040013 */ addiu $a0, $zero, 0x13 + +/* 08CACC 800F361C 2404000E */ addiu $a0, $zero, 0xe +/* 08CAD0 800F3620 0C051F9F */ jal func_80147E7C +/* 08CAD4 800F3624 24050001 */ addiu $a1, $zero, 1 +/* 08CAD8 800F3628 0803CD8D */ j .L800F3634 +/* 08CADC 800F362C 24040013 */ addiu $a0, $zero, 0x13 + +/* 08CAE0 800F3630 2404000E */ addiu $a0, $zero, 0xe +.L800F3634: +/* 08CAE4 800F3634 0C051F9F */ jal func_80147E7C +/* 08CAE8 800F3638 24050001 */ addiu $a1, $zero, 1 +.L800F363C: +/* 08CAEC 800F363C 2402000A */ addiu $v0, $zero, 0xa +/* 08CAF0 800F3640 3C018011 */ lui $at, 0x8011 +/* 08CAF4 800F3644 A022D690 */ sb $v0, -0x2970($at) +/* 08CAF8 800F3648 24020001 */ addiu $v0, $zero, 1 +.L800F364C: +/* 08CAFC 800F364C 3C018011 */ lui $at, 0x8011 +/* 08CB00 800F3650 AC22D640 */ sw $v0, -0x29c0($at) +.L800F3654: +/* 08CB04 800F3654 3C038011 */ lui $v1, 0x8011 +/* 08CB08 800F3658 8C63D69C */ lw $v1, -0x2964($v1) +/* 08CB0C 800F365C 0000102D */ daddu $v0, $zero, $zero +/* 08CB10 800F3660 A460032C */ sh $zero, 0x32c($v1) +.L800F3664: +/* 08CB14 800F3664 8FBF0038 */ lw $ra, 0x38($sp) +/* 08CB18 800F3668 8FB30034 */ lw $s3, 0x34($sp) +/* 08CB1C 800F366C 8FB20030 */ lw $s2, 0x30($sp) +/* 08CB20 800F3670 8FB1002C */ lw $s1, 0x2c($sp) +/* 08CB24 800F3674 8FB00028 */ lw $s0, 0x28($sp) +/* 08CB28 800F3678 03E00008 */ jr $ra +/* 08CB2C 800F367C 27BD0040 */ addiu $sp, $sp, 0x40 + +/* 08CB30 800F3680 27BDFFA8 */ addiu $sp, $sp, -0x58 +/* 08CB34 800F3684 3C038011 */ lui $v1, 0x8011 +/* 08CB38 800F3688 8C63D640 */ lw $v1, -0x29c0($v1) +/* 08CB3C 800F368C 2402000A */ addiu $v0, $zero, 0xa +/* 08CB40 800F3690 AFBF0054 */ sw $ra, 0x54($sp) +/* 08CB44 800F3694 AFBE0050 */ sw $fp, 0x50($sp) +/* 08CB48 800F3698 AFB7004C */ sw $s7, 0x4c($sp) +/* 08CB4C 800F369C AFB60048 */ sw $s6, 0x48($sp) +/* 08CB50 800F36A0 AFB50044 */ sw $s5, 0x44($sp) +/* 08CB54 800F36A4 AFB40040 */ sw $s4, 0x40($sp) +/* 08CB58 800F36A8 AFB3003C */ sw $s3, 0x3c($sp) +/* 08CB5C 800F36AC AFB20038 */ sw $s2, 0x38($sp) +/* 08CB60 800F36B0 AFB10034 */ sw $s1, 0x34($sp) +/* 08CB64 800F36B4 AFB00030 */ sw $s0, 0x30($sp) +/* 08CB68 800F36B8 AFA5005C */ sw $a1, 0x5c($sp) +/* 08CB6C 800F36BC 1062001E */ beq $v1, $v0, .L800F3738 +/* 08CB70 800F36C0 AFA60060 */ sw $a2, 0x60($sp) +/* 08CB74 800F36C4 2862000B */ slti $v0, $v1, 0xb +/* 08CB78 800F36C8 1040000E */ beqz $v0, .L800F3704 +/* 08CB7C 800F36CC 28620020 */ slti $v0, $v1, 0x20 +/* 08CB80 800F36D0 04610008 */ bgez $v1, .L800F36F4 +/* 08CB84 800F36D4 24020001 */ addiu $v0, $zero, 1 +/* 08CB88 800F36D8 2862FFFE */ slti $v0, $v1, -2 +/* 08CB8C 800F36DC 10400016 */ beqz $v0, .L800F3738 +/* 08CB90 800F36E0 2862FFFB */ slti $v0, $v1, -5 +/* 08CB94 800F36E4 104003CC */ beqz $v0, .L800F4618 +/* 08CB98 800F36E8 2862FFF8 */ slti $v0, $v1, -8 +/* 08CB9C 800F36EC 0803CDCC */ j .L800F3730 +/* 08CBA0 800F36F0 00000000 */ nop + +.L800F36F4: +/* 08CBA4 800F36F4 10620010 */ beq $v1, $v0, .L800F3738 +/* 08CBA8 800F36F8 00000000 */ nop +/* 08CBAC 800F36FC 0803D186 */ j .L800F4618 +/* 08CBB0 800F3700 00000000 */ nop + +.L800F3704: +/* 08CBB4 800F3704 10400007 */ beqz $v0, .L800F3724 +/* 08CBB8 800F3708 2862001E */ slti $v0, $v1, 0x1e +/* 08CBBC 800F370C 1040000A */ beqz $v0, .L800F3738 +/* 08CBC0 800F3710 24020014 */ addiu $v0, $zero, 0x14 +/* 08CBC4 800F3714 10620008 */ beq $v1, $v0, .L800F3738 +/* 08CBC8 800F3718 00000000 */ nop +/* 08CBCC 800F371C 0803D186 */ j .L800F4618 +/* 08CBD0 800F3720 00000000 */ nop + +.L800F3724: +/* 08CBD4 800F3724 2862006A */ slti $v0, $v1, 0x6a +/* 08CBD8 800F3728 104003BB */ beqz $v0, .L800F4618 +/* 08CBDC 800F372C 28620064 */ slti $v0, $v1, 0x64 +.L800F3730: +/* 08CBE0 800F3730 144003B9 */ bnez $v0, .L800F4618 +/* 08CBE4 800F3734 00000000 */ nop +.L800F3738: +/* 08CBE8 800F3738 8FAA005C */ lw $t2, 0x5c($sp) +/* 08CBEC 800F373C 8FAB0060 */ lw $t3, 0x60($sp) +/* 08CBF0 800F3740 3C028011 */ lui $v0, 0x8011 +/* 08CBF4 800F3744 8042D654 */ lb $v0, -0x29ac($v0) +/* 08CBF8 800F3748 3C088011 */ lui $t0, 0x8011 +/* 08CBFC 800F374C 8508D658 */ lh $t0, -0x29a8($t0) +/* 08CC00 800F3750 254A0002 */ addiu $t2, $t2, 2 +/* 08CC04 800F3754 256B000F */ addiu $t3, $t3, 0xf +/* 08CC08 800F3758 00021023 */ negu $v0, $v0 +/* 08CC0C 800F375C 00021840 */ sll $v1, $v0, 1 +/* 08CC10 800F3760 00621821 */ addu $v1, $v1, $v0 +/* 08CC14 800F3764 00031880 */ sll $v1, $v1, 2 +/* 08CC18 800F3768 00628821 */ addu $s1, $v1, $v0 +/* 08CC1C 800F376C 02282023 */ subu $a0, $s1, $t0 +/* 08CC20 800F3770 28820082 */ slti $v0, $a0, 0x82 +/* 08CC24 800F3774 AFAA005C */ sw $t2, 0x5c($sp) +/* 08CC28 800F3778 1040000D */ beqz $v0, .L800F37B0 +/* 08CC2C 800F377C AFAB0060 */ sw $t3, 0x60($sp) +/* 08CC30 800F3780 3C013FE0 */ lui $at, 0x3fe0 +/* 08CC34 800F3784 44811800 */ mtc1 $at, $f3 +/* 08CC38 800F3788 44801000 */ mtc1 $zero, $f2 +/* 08CC3C 800F378C 44840000 */ mtc1 $a0, $f0 +/* 08CC40 800F3790 00000000 */ nop +/* 08CC44 800F3794 46800021 */ cvt.d.w $f0, $f0 +/* 08CC48 800F3798 46220002 */ mul.d $f0, $f0, $f2 +/* 08CC4C 800F379C 00000000 */ nop +/* 08CC50 800F37A0 4620018D */ trunc.w.d $f6, $f0 +/* 08CC54 800F37A4 44043000 */ mfc1 $a0, $f6 +/* 08CC58 800F37A8 0803CDF8 */ j .L800F37E0 +/* 08CC5C 800F37AC 00000000 */ nop + +.L800F37B0: +/* 08CC60 800F37B0 3C031B4E */ lui $v1, 0x1b4e +/* 08CC64 800F37B4 346381B5 */ ori $v1, $v1, 0x81b5 +/* 08CC68 800F37B8 00041040 */ sll $v0, $a0, 1 +/* 08CC6C 800F37BC 00441021 */ addu $v0, $v0, $a0 +/* 08CC70 800F37C0 000210C0 */ sll $v0, $v0, 3 +/* 08CC74 800F37C4 00441021 */ addu $v0, $v0, $a0 +/* 08CC78 800F37C8 00021080 */ sll $v0, $v0, 2 +/* 08CC7C 800F37CC 00430018 */ mult $v0, $v1 +/* 08CC80 800F37D0 000217C3 */ sra $v0, $v0, 0x1f +/* 08CC84 800F37D4 00005010 */ mfhi $t2 +/* 08CC88 800F37D8 000A1903 */ sra $v1, $t2, 4 +/* 08CC8C 800F37DC 00622023 */ subu $a0, $v1, $v0 +.L800F37E0: +/* 08CC90 800F37E0 14800002 */ bnez $a0, .L800F37EC +/* 08CC94 800F37E4 01044021 */ addu $t0, $t0, $a0 +/* 08CC98 800F37E8 0220402D */ daddu $t0, $s1, $zero +.L800F37EC: +/* 08CC9C 800F37EC 3C054EC4 */ lui $a1, 0x4ec4 +/* 08CCA0 800F37F0 34A5EC4F */ ori $a1, $a1, 0xec4f +/* 08CCA4 800F37F4 00081C00 */ sll $v1, $t0, 0x10 +/* 08CCA8 800F37F8 00031C03 */ sra $v1, $v1, 0x10 +/* 08CCAC 800F37FC 8FAB005C */ lw $t3, 0x5c($sp) +/* 08CCB0 800F3800 8FB10060 */ lw $s1, 0x60($sp) +/* 08CCB4 800F3804 3C048011 */ lui $a0, 0x8011 +/* 08CCB8 800F3808 8084D656 */ lb $a0, -0x29aa($a0) +/* 08CCBC 800F380C 00031823 */ negu $v1, $v1 +/* 08CCC0 800F3810 3C018011 */ lui $at, 0x8011 +/* 08CCC4 800F3814 A428D658 */ sh $t0, -0x29a8($at) +/* 08CCC8 800F3818 00041040 */ sll $v0, $a0, 1 +/* 08CCCC 800F381C 00441021 */ addu $v0, $v0, $a0 +/* 08CCD0 800F3820 00021080 */ sll $v0, $v0, 2 +/* 08CCD4 800F3824 00441021 */ addu $v0, $v0, $a0 +/* 08CCD8 800F3828 02221021 */ addu $v0, $s1, $v0 +/* 08CCDC 800F382C 24480004 */ addiu $t0, $v0, 4 +/* 08CCE0 800F3830 3C028011 */ lui $v0, 0x8011 +/* 08CCE4 800F3834 8C42D69C */ lw $v0, -0x2964($v0) +/* 08CCE8 800F3838 00650018 */ mult $v1, $a1 +/* 08CCEC 800F383C AFAB0020 */ sw $t3, 0x20($sp) +/* 08CCF0 800F3840 8C450318 */ lw $a1, 0x318($v0) +/* 08CCF4 800F3844 00031FC3 */ sra $v1, $v1, 0x1f +/* 08CCF8 800F3848 2CA2000E */ sltiu $v0, $a1, 0xe +/* 08CCFC 800F384C 00005010 */ mfhi $t2 +/* 08CD00 800F3850 000A2083 */ sra $a0, $t2, 2 +/* 08CD04 800F3854 00832023 */ subu $a0, $a0, $v1 +/* 08CD08 800F3858 10400064 */ beqz $v0, .L800F39EC +/* 08CD0C 800F385C AFA40028 */ sw $a0, 0x28($sp) +/* 08CD10 800F3860 00051080 */ sll $v0, $a1, 2 +/* 08CD14 800F3864 3C018011 */ lui $at, 0x8011 +/* 08CD18 800F3868 00220821 */ addu $at, $at, $v0 +/* 08CD1C 800F386C 8C22C790 */ lw $v0, -0x3870($at) +/* 08CD20 800F3870 00400008 */ jr $v0 +/* 08CD24 800F3874 00000000 */ nop +/* 08CD28 800F3878 3C03800A */ lui $v1, 0x800a +/* 08CD2C 800F387C 2463A66C */ addiu $v1, $v1, -0x5994 +/* 08CD30 800F3880 C7A20020 */ lwc1 $f2, 0x20($sp) +/* 08CD34 800F3884 468010A0 */ cvt.s.w $f2, $f2 +/* 08CD38 800F3888 44910000 */ mtc1 $s1, $f0 +/* 08CD3C 800F388C 00000000 */ nop +/* 08CD40 800F3890 46800020 */ cvt.s.w $f0, $f0 +/* 08CD44 800F3894 3C014080 */ lui $at, 0x4080 +/* 08CD48 800F3898 44812000 */ mtc1 $at, $f4 +/* 08CD4C 800F389C 8C620000 */ lw $v0, ($v1) +/* 08CD50 800F38A0 46041082 */ mul.s $f2, $f2, $f4 +/* 08CD54 800F38A4 00000000 */ nop +/* 08CD58 800F38A8 0040282D */ daddu $a1, $v0, $zero +/* 08CD5C 800F38AC 24420008 */ addiu $v0, $v0, 8 +/* 08CD60 800F38B0 AC620000 */ sw $v0, ($v1) +/* 08CD64 800F38B4 8FAB0020 */ lw $t3, 0x20($sp) +/* 08CD68 800F38B8 46040002 */ mul.s $f0, $f0, $f4 +/* 08CD6C 800F38BC 00000000 */ nop +/* 08CD70 800F38C0 0803CE59 */ j .L800F3964 +/* 08CD74 800F38C4 25620070 */ addiu $v0, $t3, 0x70 + +/* 08CD78 800F38C8 3C03800A */ lui $v1, 0x800a +/* 08CD7C 800F38CC 2463A66C */ addiu $v1, $v1, -0x5994 +/* 08CD80 800F38D0 C7A20020 */ lwc1 $f2, 0x20($sp) +/* 08CD84 800F38D4 468010A0 */ cvt.s.w $f2, $f2 +/* 08CD88 800F38D8 44910000 */ mtc1 $s1, $f0 +/* 08CD8C 800F38DC 00000000 */ nop +/* 08CD90 800F38E0 46800020 */ cvt.s.w $f0, $f0 +/* 08CD94 800F38E4 3C014080 */ lui $at, 0x4080 +/* 08CD98 800F38E8 44812000 */ mtc1 $at, $f4 +/* 08CD9C 800F38EC 8C620000 */ lw $v0, ($v1) +/* 08CDA0 800F38F0 46041082 */ mul.s $f2, $f2, $f4 +/* 08CDA4 800F38F4 00000000 */ nop +/* 08CDA8 800F38F8 0040282D */ daddu $a1, $v0, $zero +/* 08CDAC 800F38FC 24420008 */ addiu $v0, $v0, 8 +/* 08CDB0 800F3900 AC620000 */ sw $v0, ($v1) +/* 08CDB4 800F3904 8FAB0020 */ lw $t3, 0x20($sp) +/* 08CDB8 800F3908 46040002 */ mul.s $f0, $f0, $f4 +/* 08CDBC 800F390C 00000000 */ nop +/* 08CDC0 800F3910 0803CE59 */ j .L800F3964 +/* 08CDC4 800F3914 2562005A */ addiu $v0, $t3, 0x5a + +/* 08CDC8 800F3918 3C03800A */ lui $v1, 0x800a +/* 08CDCC 800F391C 2463A66C */ addiu $v1, $v1, -0x5994 +/* 08CDD0 800F3920 C7A20020 */ lwc1 $f2, 0x20($sp) +/* 08CDD4 800F3924 468010A0 */ cvt.s.w $f2, $f2 +/* 08CDD8 800F3928 44910000 */ mtc1 $s1, $f0 +/* 08CDDC 800F392C 00000000 */ nop +/* 08CDE0 800F3930 46800020 */ cvt.s.w $f0, $f0 +/* 08CDE4 800F3934 3C014080 */ lui $at, 0x4080 +/* 08CDE8 800F3938 44812000 */ mtc1 $at, $f4 +/* 08CDEC 800F393C 8C620000 */ lw $v0, ($v1) +/* 08CDF0 800F3940 46041082 */ mul.s $f2, $f2, $f4 +/* 08CDF4 800F3944 00000000 */ nop +/* 08CDF8 800F3948 0040282D */ daddu $a1, $v0, $zero +/* 08CDFC 800F394C 24420008 */ addiu $v0, $v0, 8 +/* 08CE00 800F3950 AC620000 */ sw $v0, ($v1) +/* 08CE04 800F3954 8FAB0020 */ lw $t3, 0x20($sp) +/* 08CE08 800F3958 46040002 */ mul.s $f0, $f0, $f4 +/* 08CE0C 800F395C 00000000 */ nop +/* 08CE10 800F3960 256200A0 */ addiu $v0, $t3, 0xa0 +.L800F3964: +/* 08CE14 800F3964 4600118D */ trunc.w.s $f6, $f2 +/* 08CE18 800F3968 44033000 */ mfc1 $v1, $f6 +/* 08CE1C 800F396C 00000000 */ nop +/* 08CE20 800F3970 30630FFF */ andi $v1, $v1, 0xfff +/* 08CE24 800F3974 00031B00 */ sll $v1, $v1, 0xc +/* 08CE28 800F3978 4600018D */ trunc.w.s $f6, $f0 +/* 08CE2C 800F397C 44043000 */ mfc1 $a0, $f6 +/* 08CE30 800F3980 00000000 */ nop +/* 08CE34 800F3984 30840FFF */ andi $a0, $a0, 0xfff +/* 08CE38 800F3988 44821000 */ mtc1 $v0, $f2 +/* 08CE3C 800F398C 00000000 */ nop +/* 08CE40 800F3990 468010A0 */ cvt.s.w $f2, $f2 +/* 08CE44 800F3994 46041082 */ mul.s $f2, $f2, $f4 +/* 08CE48 800F3998 00000000 */ nop +/* 08CE4C 800F399C 3C02ED00 */ lui $v0, 0xed00 +/* 08CE50 800F39A0 00822025 */ or $a0, $a0, $v0 +/* 08CE54 800F39A4 00641825 */ or $v1, $v1, $a0 +/* 08CE58 800F39A8 44880000 */ mtc1 $t0, $f0 +/* 08CE5C 800F39AC 00000000 */ nop +/* 08CE60 800F39B0 46800020 */ cvt.s.w $f0, $f0 +/* 08CE64 800F39B4 46040002 */ mul.s $f0, $f0, $f4 +/* 08CE68 800F39B8 00000000 */ nop +/* 08CE6C 800F39BC ACA30000 */ sw $v1, ($a1) +/* 08CE70 800F39C0 4600118D */ trunc.w.s $f6, $f2 +/* 08CE74 800F39C4 44023000 */ mfc1 $v0, $f6 +/* 08CE78 800F39C8 00000000 */ nop +/* 08CE7C 800F39CC 30420FFF */ andi $v0, $v0, 0xfff +/* 08CE80 800F39D0 00021300 */ sll $v0, $v0, 0xc +/* 08CE84 800F39D4 4600018D */ trunc.w.s $f6, $f0 +/* 08CE88 800F39D8 44033000 */ mfc1 $v1, $f6 +/* 08CE8C 800F39DC 00000000 */ nop +/* 08CE90 800F39E0 30630FFF */ andi $v1, $v1, 0xfff +/* 08CE94 800F39E4 00431025 */ or $v0, $v0, $v1 +/* 08CE98 800F39E8 ACA20004 */ sw $v0, 4($a1) +.L800F39EC: +/* 08CE9C 800F39EC 3C028011 */ lui $v0, 0x8011 +/* 08CEA0 800F39F0 8442D658 */ lh $v0, -0x29a8($v0) +/* 08CEA4 800F39F4 8FAB0060 */ lw $t3, 0x60($sp) +/* 08CEA8 800F39F8 3C128011 */ lui $s2, 0x8011 +/* 08CEAC 800F39FC 2652D69C */ addiu $s2, $s2, -0x2964 +/* 08CEB0 800F3A00 01621821 */ addu $v1, $t3, $v0 +/* 08CEB4 800F3A04 8E420000 */ lw $v0, ($s2) +/* 08CEB8 800F3A08 24130002 */ addiu $s3, $zero, 2 +/* 08CEBC 800F3A0C 8C420318 */ lw $v0, 0x318($v0) +/* 08CEC0 800F3A10 14530002 */ bne $v0, $s3, .L800F3A1C +/* 08CEC4 800F3A14 24710008 */ addiu $s1, $v1, 8 +/* 08CEC8 800F3A18 24710015 */ addiu $s1, $v1, 0x15 +.L800F3A1C: +/* 08CECC 800F3A1C 2626FFFD */ addiu $a2, $s1, -3 +/* 08CED0 800F3A20 8FAA005C */ lw $t2, 0x5c($sp) +/* 08CED4 800F3A24 3C108011 */ lui $s0, 0x8011 +/* 08CED8 800F3A28 8E10D65C */ lw $s0, -0x29a4($s0) +/* 08CEDC 800F3A2C 25450049 */ addiu $a1, $t2, 0x49 +/* 08CEE0 800F3A30 0C051261 */ jal set_icon_render_pos +/* 08CEE4 800F3A34 0200202D */ daddu $a0, $s0, $zero +/* 08CEE8 800F3A38 3C058011 */ lui $a1, 0x8011 +/* 08CEEC 800F3A3C 8CA5D650 */ lw $a1, -0x29b0($a1) +/* 08CEF0 800F3A40 0C0513AC */ jal func_80144EB0 +/* 08CEF4 800F3A44 0200202D */ daddu $a0, $s0, $zero +/* 08CEF8 800F3A48 8E420000 */ lw $v0, ($s2) +/* 08CEFC 800F3A4C 3C038011 */ lui $v1, 0x8011 +/* 08CF00 800F3A50 8063D68F */ lb $v1, -0x2971($v1) +/* 08CF04 800F3A54 8C420324 */ lw $v0, 0x324($v0) +/* 08CF08 800F3A58 0062182A */ slt $v1, $v1, $v0 +/* 08CF0C 800F3A5C 10600003 */ beqz $v1, .L800F3A6C +/* 08CF10 800F3A60 00000000 */ nop +/* 08CF14 800F3A64 0C0511F8 */ jal func_801447E0 +/* 08CF18 800F3A68 0200202D */ daddu $a0, $s0, $zero +.L800F3A6C: +/* 08CF1C 800F3A6C 8FAB005C */ lw $t3, 0x5c($sp) +/* 08CF20 800F3A70 8FAA0060 */ lw $t2, 0x60($sp) +/* 08CF24 800F3A74 3C038011 */ lui $v1, 0x8011 +/* 08CF28 800F3A78 8063D656 */ lb $v1, -0x29aa($v1) +/* 08CF2C 800F3A7C 25510002 */ addiu $s1, $t2, 2 +/* 08CF30 800F3A80 00031040 */ sll $v0, $v1, 1 +/* 08CF34 800F3A84 00431021 */ addu $v0, $v0, $v1 +/* 08CF38 800F3A88 00021080 */ sll $v0, $v0, 2 +/* 08CF3C 800F3A8C AFAB0020 */ sw $t3, 0x20($sp) +/* 08CF40 800F3A90 8E440000 */ lw $a0, ($s2) +/* 08CF44 800F3A94 00431021 */ addu $v0, $v0, $v1 +/* 08CF48 800F3A98 8C830318 */ lw $v1, 0x318($a0) +/* 08CF4C 800F3A9C 14730008 */ bne $v1, $s3, .L800F3AC0 +/* 08CF50 800F3AA0 02224021 */ addu $t0, $s1, $v0 +/* 08CF54 800F3AA4 3C028011 */ lui $v0, 0x8011 +/* 08CF58 800F3AA8 8042D654 */ lb $v0, -0x29ac($v0) +/* 08CF5C 800F3AAC 28420002 */ slti $v0, $v0, 2 +/* 08CF60 800F3AB0 10400003 */ beqz $v0, .L800F3AC0 +/* 08CF64 800F3AB4 00000000 */ nop +/* 08CF68 800F3AB8 0140882D */ daddu $s1, $t2, $zero +/* 08CF6C 800F3ABC 25080001 */ addiu $t0, $t0, 1 +.L800F3AC0: +/* 08CF70 800F3AC0 C7A20020 */ lwc1 $f2, 0x20($sp) +/* 08CF74 800F3AC4 468010A0 */ cvt.s.w $f2, $f2 +/* 08CF78 800F3AC8 3C014080 */ lui $at, 0x4080 +/* 08CF7C 800F3ACC 44812000 */ mtc1 $at, $f4 +/* 08CF80 800F3AD0 3C06800A */ lui $a2, 0x800a +/* 08CF84 800F3AD4 24C6A66C */ addiu $a2, $a2, -0x5994 +/* 08CF88 800F3AD8 46041082 */ mul.s $f2, $f2, $f4 +/* 08CF8C 800F3ADC 00000000 */ nop +/* 08CF90 800F3AE0 44910000 */ mtc1 $s1, $f0 +/* 08CF94 800F3AE4 00000000 */ nop +/* 08CF98 800F3AE8 46800020 */ cvt.s.w $f0, $f0 +/* 08CF9C 800F3AEC 8CC50000 */ lw $a1, ($a2) +/* 08CFA0 800F3AF0 3C04ED00 */ lui $a0, 0xed00 +/* 08CFA4 800F3AF4 00A0382D */ daddu $a3, $a1, $zero +/* 08CFA8 800F3AF8 46040002 */ mul.s $f0, $f0, $f4 +/* 08CFAC 800F3AFC 00000000 */ nop +/* 08CFB0 800F3B00 24A50008 */ addiu $a1, $a1, 8 +/* 08CFB4 800F3B04 4600118D */ trunc.w.s $f6, $f2 +/* 08CFB8 800F3B08 44023000 */ mfc1 $v0, $f6 +/* 08CFBC 800F3B0C 00000000 */ nop +/* 08CFC0 800F3B10 30420FFF */ andi $v0, $v0, 0xfff +/* 08CFC4 800F3B14 00021300 */ sll $v0, $v0, 0xc +/* 08CFC8 800F3B18 4600018D */ trunc.w.s $f6, $f0 +/* 08CFCC 800F3B1C 44033000 */ mfc1 $v1, $f6 +/* 08CFD0 800F3B20 00000000 */ nop +/* 08CFD4 800F3B24 30630FFF */ andi $v1, $v1, 0xfff +/* 08CFD8 800F3B28 00641825 */ or $v1, $v1, $a0 +/* 08CFDC 800F3B2C 00431025 */ or $v0, $v0, $v1 +/* 08CFE0 800F3B30 3C048011 */ lui $a0, 0x8011 +/* 08CFE4 800F3B34 8C84D69C */ lw $a0, -0x2964($a0) +/* 08CFE8 800F3B38 44880000 */ mtc1 $t0, $f0 +/* 08CFEC 800F3B3C 00000000 */ nop +/* 08CFF0 800F3B40 46800020 */ cvt.s.w $f0, $f0 +/* 08CFF4 800F3B44 ACE20000 */ sw $v0, ($a3) +/* 08CFF8 800F3B48 8FAB0020 */ lw $t3, 0x20($sp) +/* 08CFFC 800F3B4C 8C820318 */ lw $v0, 0x318($a0) +/* 08D000 800F3B50 46040002 */ mul.s $f0, $f0, $f4 +/* 08D004 800F3B54 00000000 */ nop +/* 08D008 800F3B58 AFA00024 */ sw $zero, 0x24($sp) +/* 08D00C 800F3B5C 00021040 */ sll $v0, $v0, 1 +/* 08D010 800F3B60 3C018011 */ lui $at, 0x8011 +/* 08D014 800F3B64 00220821 */ addu $at, $at, $v0 +/* 08D018 800F3B68 842298BC */ lh $v0, -0x6744($at) +/* 08D01C 800F3B6C 8FAA0060 */ lw $t2, 0x60($sp) +/* 08D020 800F3B70 01621021 */ addu $v0, $t3, $v0 +/* 08D024 800F3B74 44821000 */ mtc1 $v0, $f2 +/* 08D028 800F3B78 00000000 */ nop +/* 08D02C 800F3B7C 468010A0 */ cvt.s.w $f2, $f2 +/* 08D030 800F3B80 3C028011 */ lui $v0, 0x8011 +/* 08D034 800F3B84 8442D658 */ lh $v0, -0x29a8($v0) +/* 08D038 800F3B88 46041082 */ mul.s $f2, $f2, $f4 +/* 08D03C 800F3B8C 00000000 */ nop +/* 08D040 800F3B90 ACC50000 */ sw $a1, ($a2) +/* 08D044 800F3B94 8FAB005C */ lw $t3, 0x5c($sp) +/* 08D048 800F3B98 01424821 */ addu $t1, $t2, $v0 +/* 08D04C 800F3B9C 256B0020 */ addiu $t3, $t3, 0x20 +/* 08D050 800F3BA0 AFAB0020 */ sw $t3, 0x20($sp) +/* 08D054 800F3BA4 4600118D */ trunc.w.s $f6, $f2 +/* 08D058 800F3BA8 44023000 */ mfc1 $v0, $f6 +/* 08D05C 800F3BAC 00000000 */ nop +/* 08D060 800F3BB0 30420FFF */ andi $v0, $v0, 0xfff +/* 08D064 800F3BB4 00021300 */ sll $v0, $v0, 0xc +/* 08D068 800F3BB8 4600018D */ trunc.w.s $f6, $f0 +/* 08D06C 800F3BBC 44033000 */ mfc1 $v1, $f6 +/* 08D070 800F3BC0 00000000 */ nop +/* 08D074 800F3BC4 30630FFF */ andi $v1, $v1, 0xfff +/* 08D078 800F3BC8 00431025 */ or $v0, $v0, $v1 +/* 08D07C 800F3BCC ACE20004 */ sw $v0, 4($a3) +/* 08D080 800F3BD0 8C830318 */ lw $v1, 0x318($a0) +/* 08D084 800F3BD4 24020002 */ addiu $v0, $zero, 2 +/* 08D088 800F3BD8 14620004 */ bne $v1, $v0, .L800F3BEC +/* 08D08C 800F3BDC 25310002 */ addiu $s1, $t1, 2 +/* 08D090 800F3BE0 0120882D */ daddu $s1, $t1, $zero +/* 08D094 800F3BE4 0040582D */ daddu $t3, $v0, $zero +/* 08D098 800F3BE8 AFAB0024 */ sw $t3, 0x24($sp) +.L800F3BEC: +/* 08D09C 800F3BEC 8C820324 */ lw $v0, 0x324($a0) +/* 08D0A0 800F3BF0 184000EA */ blez $v0, .L800F3F9C +/* 08D0A4 800F3BF4 0000902D */ daddu $s2, $zero, $zero +/* 08D0A8 800F3BF8 AFA0002C */ sw $zero, 0x2c($sp) +.L800F3BFC: +/* 08D0AC 800F3BFC 8FAA0028 */ lw $t2, 0x28($sp) +/* 08D0B0 800F3C00 2542FFFF */ addiu $v0, $t2, -1 +/* 08D0B4 800F3C04 0242102A */ slt $v0, $s2, $v0 +/* 08D0B8 800F3C08 14400007 */ bnez $v0, .L800F3C28 +/* 08D0BC 800F3C0C 00000000 */ nop +/* 08D0C0 800F3C10 3C028011 */ lui $v0, 0x8011 +/* 08D0C4 800F3C14 8042D656 */ lb $v0, -0x29aa($v0) +/* 08D0C8 800F3C18 01421021 */ addu $v0, $t2, $v0 +/* 08D0CC 800F3C1C 0052102A */ slt $v0, $v0, $s2 +/* 08D0D0 800F3C20 10400006 */ beqz $v0, .L800F3C3C +/* 08D0D4 800F3C24 240A0001 */ addiu $t2, $zero, 1 +.L800F3C28: +/* 08D0D8 800F3C28 164000D3 */ bnez $s2, .L800F3F78 +/* 08D0DC 800F3C2C 2631000D */ addiu $s1, $s1, 0xd +/* 08D0E0 800F3C30 8FAB0024 */ lw $t3, 0x24($sp) +/* 08D0E4 800F3C34 0803CFDE */ j .L800F3F78 +/* 08D0E8 800F3C38 022B8821 */ addu $s1, $s1, $t3 + +.L800F3C3C: +/* 08D0EC 800F3C3C 3C028011 */ lui $v0, 0x8011 +/* 08D0F0 800F3C40 8C42D69C */ lw $v0, -0x2964($v0) +/* 08D0F4 800F3C44 8C430318 */ lw $v1, 0x318($v0) +/* 08D0F8 800F3C48 3C108011 */ lui $s0, 0x8011 +/* 08D0FC 800F3C4C 8210D690 */ lb $s0, -0x2970($s0) +/* 08D100 800F3C50 506A0001 */ beql $v1, $t2, .L800F3C58 +/* 08D104 800F3C54 2410000A */ addiu $s0, $zero, 0xa +.L800F3C58: +/* 08D108 800F3C58 8FAB002C */ lw $t3, 0x2c($sp) +/* 08D10C 800F3C5C 004B1021 */ addu $v0, $v0, $t3 +/* 08D110 800F3C60 8C42018C */ lw $v0, 0x18c($v0) +/* 08D114 800F3C64 50400001 */ beql $v0, $zero, .L800F3C6C +/* 08D118 800F3C68 2410000B */ addiu $s0, $zero, 0xb +.L800F3C6C: +/* 08D11C 800F3C6C 2C62000E */ sltiu $v0, $v1, 0xe +/* 08D120 800F3C70 1040005A */ beqz $v0, .L800F3DDC +/* 08D124 800F3C74 00031080 */ sll $v0, $v1, 2 +/* 08D128 800F3C78 3C018011 */ lui $at, 0x8011 +/* 08D12C 800F3C7C 00220821 */ addu $at, $at, $v0 +/* 08D130 800F3C80 8C22C7C8 */ lw $v0, -0x3838($at) +/* 08D134 800F3C84 00400008 */ jr $v0 +/* 08D138 800F3C88 00000000 */ nop +/* 08D13C 800F3C8C 3C078011 */ lui $a3, 0x8011 +/* 08D140 800F3C90 8CE7D650 */ lw $a3, -0x29b0($a3) +/* 08D144 800F3C94 3C028011 */ lui $v0, 0x8011 +/* 08D148 800F3C98 8C42D69C */ lw $v0, -0x2964($v0) +/* 08D14C 800F3C9C 8FA50020 */ lw $a1, 0x20($sp) +/* 08D150 800F3CA0 8FAB002C */ lw $t3, 0x2c($sp) +/* 08D154 800F3CA4 240A0001 */ addiu $t2, $zero, 1 +/* 08D158 800F3CA8 AFB00010 */ sw $s0, 0x10($sp) +/* 08D15C 800F3CAC AFAA0014 */ sw $t2, 0x14($sp) +/* 08D160 800F3CB0 004B1021 */ addu $v0, $v0, $t3 +/* 08D164 800F3CB4 8C440084 */ lw $a0, 0x84($v0) +/* 08D168 800F3CB8 0803CF75 */ j .L800F3DD4 +/* 08D16C 800F3CBC 0220302D */ daddu $a2, $s1, $zero + +/* 08D170 800F3CC0 3C078011 */ lui $a3, 0x8011 +/* 08D174 800F3CC4 8CE7D650 */ lw $a3, -0x29b0($a3) +/* 08D178 800F3CC8 3C028011 */ lui $v0, 0x8011 +/* 08D17C 800F3CCC 8C42D69C */ lw $v0, -0x2964($v0) +/* 08D180 800F3CD0 8FA50020 */ lw $a1, 0x20($sp) +/* 08D184 800F3CD4 8FAB002C */ lw $t3, 0x2c($sp) +/* 08D188 800F3CD8 240A0001 */ addiu $t2, $zero, 1 +/* 08D18C 800F3CDC AFB00010 */ sw $s0, 0x10($sp) +/* 08D190 800F3CE0 AFAA0014 */ sw $t2, 0x14($sp) +/* 08D194 800F3CE4 004B1021 */ addu $v0, $v0, $t3 +/* 08D198 800F3CE8 8C440084 */ lw $a0, 0x84($v0) +/* 08D19C 800F3CEC 0803CF75 */ j .L800F3DD4 +/* 08D1A0 800F3CF0 0220302D */ daddu $a2, $s1, $zero + +/* 08D1A4 800F3CF4 3C028011 */ lui $v0, 0x8011 +/* 08D1A8 800F3CF8 8C42D69C */ lw $v0, -0x2964($v0) +/* 08D1AC 800F3CFC 8FAA002C */ lw $t2, 0x2c($sp) +/* 08D1B0 800F3D00 004A2021 */ addu $a0, $v0, $t2 +/* 08D1B4 800F3D04 8C83018C */ lw $v1, 0x18c($a0) +/* 08D1B8 800F3D08 24020002 */ addiu $v0, $zero, 2 +/* 08D1BC 800F3D0C 50620001 */ beql $v1, $v0, .L800F3D14 +/* 08D1C0 800F3D10 24100022 */ addiu $s0, $zero, 0x22 +.L800F3D14: +/* 08D1C4 800F3D14 8FA50020 */ lw $a1, 0x20($sp) +/* 08D1C8 800F3D18 240B0001 */ addiu $t3, $zero, 1 +/* 08D1CC 800F3D1C AFB00010 */ sw $s0, 0x10($sp) +/* 08D1D0 800F3D20 AFAB0014 */ sw $t3, 0x14($sp) +/* 08D1D4 800F3D24 8C840084 */ lw $a0, 0x84($a0) +/* 08D1D8 800F3D28 3C078011 */ lui $a3, 0x8011 +/* 08D1DC 800F3D2C 8CE7D650 */ lw $a3, -0x29b0($a3) +/* 08D1E0 800F3D30 0803CF75 */ j .L800F3DD4 +/* 08D1E4 800F3D34 0220302D */ daddu $a2, $s1, $zero + +/* 08D1E8 800F3D38 3C028011 */ lui $v0, 0x8011 +/* 08D1EC 800F3D3C 8C42D69C */ lw $v0, -0x2964($v0) +/* 08D1F0 800F3D40 8FAA002C */ lw $t2, 0x2c($sp) +/* 08D1F4 800F3D44 004A1821 */ addu $v1, $v0, $t2 +/* 08D1F8 800F3D48 8C620210 */ lw $v0, 0x210($v1) +/* 08D1FC 800F3D4C 10400002 */ beqz $v0, .L800F3D58 +/* 08D200 800F3D50 2410000A */ addiu $s0, $zero, 0xa +/* 08D204 800F3D54 2410000B */ addiu $s0, $zero, 0xb +.L800F3D58: +/* 08D208 800F3D58 8C640108 */ lw $a0, 0x108($v1) +/* 08D20C 800F3D5C 0000282D */ daddu $a1, $zero, $zero +/* 08D210 800F3D60 0C0496FA */ jal set_message_value +/* 08D214 800F3D64 24840001 */ addiu $a0, $a0, 1 +/* 08D218 800F3D68 3C04001D */ lui $a0, 0x1d +/* 08D21C 800F3D6C 348400CD */ ori $a0, $a0, 0xcd +/* 08D220 800F3D70 0220302D */ daddu $a2, $s1, $zero +/* 08D224 800F3D74 8FAB0020 */ lw $t3, 0x20($sp) +/* 08D228 800F3D78 3C078011 */ lui $a3, 0x8011 +/* 08D22C 800F3D7C 8CE7D650 */ lw $a3, -0x29b0($a3) +/* 08D230 800F3D80 240A0001 */ addiu $t2, $zero, 1 +/* 08D234 800F3D84 AFB00010 */ sw $s0, 0x10($sp) +/* 08D238 800F3D88 AFAA0014 */ sw $t2, 0x14($sp) +/* 08D23C 800F3D8C 0803CF75 */ j .L800F3DD4 +/* 08D240 800F3D90 25650008 */ addiu $a1, $t3, 8 + +/* 08D244 800F3D94 3C028011 */ lui $v0, 0x8011 +/* 08D248 800F3D98 8C42D69C */ lw $v0, -0x2964($v0) +/* 08D24C 800F3D9C 8FAB002C */ lw $t3, 0x2c($sp) +/* 08D250 800F3DA0 004B1821 */ addu $v1, $v0, $t3 +/* 08D254 800F3DA4 8C620210 */ lw $v0, 0x210($v1) +/* 08D258 800F3DA8 10400002 */ beqz $v0, .L800F3DB4 +/* 08D25C 800F3DAC 2410000A */ addiu $s0, $zero, 0xa +/* 08D260 800F3DB0 2410000B */ addiu $s0, $zero, 0xb +.L800F3DB4: +/* 08D264 800F3DB4 0220302D */ daddu $a2, $s1, $zero +/* 08D268 800F3DB8 8FA50020 */ lw $a1, 0x20($sp) +/* 08D26C 800F3DBC 3C078011 */ lui $a3, 0x8011 +/* 08D270 800F3DC0 8CE7D650 */ lw $a3, -0x29b0($a3) +/* 08D274 800F3DC4 8C640084 */ lw $a0, 0x84($v1) +/* 08D278 800F3DC8 240A0001 */ addiu $t2, $zero, 1 +/* 08D27C 800F3DCC AFB00010 */ sw $s0, 0x10($sp) +/* 08D280 800F3DD0 AFAA0014 */ sw $t2, 0x14($sp) +.L800F3DD4: +/* 08D284 800F3DD4 0C04993B */ jal draw_string +/* 08D288 800F3DD8 00000000 */ nop +.L800F3DDC: +/* 08D28C 800F3DDC 3C048011 */ lui $a0, 0x8011 +/* 08D290 800F3DE0 8C84D69C */ lw $a0, -0x2964($a0) +/* 08D294 800F3DE4 8C830318 */ lw $v1, 0x318($a0) +/* 08D298 800F3DE8 240B0003 */ addiu $t3, $zero, 3 +/* 08D29C 800F3DEC 106B0045 */ beq $v1, $t3, .L800F3F04 +/* 08D2A0 800F3DF0 0220302D */ daddu $a2, $s1, $zero +/* 08D2A4 800F3DF4 28620004 */ slti $v0, $v1, 4 +/* 08D2A8 800F3DF8 10400005 */ beqz $v0, .L800F3E10 +/* 08D2AC 800F3DFC 240A0001 */ addiu $t2, $zero, 1 +/* 08D2B0 800F3E00 106A000B */ beq $v1, $t2, .L800F3E30 +/* 08D2B4 800F3E04 0000982D */ daddu $s3, $zero, $zero +/* 08D2B8 800F3E08 0803CFDA */ j .L800F3F68 +/* 08D2BC 800F3E0C 2631000D */ addiu $s1, $s1, 0xd + +.L800F3E10: +/* 08D2C0 800F3E10 24020004 */ addiu $v0, $zero, 4 +/* 08D2C4 800F3E14 10620005 */ beq $v1, $v0, .L800F3E2C +/* 08D2C8 800F3E18 24020005 */ addiu $v0, $zero, 5 +/* 08D2CC 800F3E1C 10620044 */ beq $v1, $v0, .L800F3F30 +/* 08D2D0 800F3E20 0220302D */ daddu $a2, $s1, $zero +/* 08D2D4 800F3E24 0803CFDA */ j .L800F3F68 +/* 08D2D8 800F3E28 2631000D */ addiu $s1, $s1, 0xd + +.L800F3E2C: +/* 08D2DC 800F3E2C 0000982D */ daddu $s3, $zero, $zero +.L800F3E30: +/* 08D2E0 800F3E30 0012F080 */ sll $fp, $s2, 2 +/* 08D2E4 800F3E34 2417005B */ addiu $s7, $zero, 0x5b +/* 08D2E8 800F3E38 24160055 */ addiu $s6, $zero, 0x55 +/* 08D2EC 800F3E3C 3C158011 */ lui $s5, 0x8011 +/* 08D2F0 800F3E40 26B59898 */ addiu $s5, $s5, -0x6768 +/* 08D2F4 800F3E44 3C148011 */ lui $s4, 0x8011 +/* 08D2F8 800F3E48 26949890 */ addiu $s4, $s4, -0x6770 +.L800F3E4C: +/* 08D2FC 800F3E4C 3C028011 */ lui $v0, 0x8011 +/* 08D300 800F3E50 8C42D69C */ lw $v0, -0x2964($v0) +/* 08D304 800F3E54 005E1021 */ addu $v0, $v0, $fp +/* 08D308 800F3E58 8C42018C */ lw $v0, 0x18c($v0) +/* 08D30C 800F3E5C 3C108011 */ lui $s0, 0x8011 +/* 08D310 800F3E60 8E10D668 */ lw $s0, -0x2998($s0) +/* 08D314 800F3E64 10400003 */ beqz $v0, .L800F3E74 +/* 08D318 800F3E68 00000000 */ nop +/* 08D31C 800F3E6C 0803CF9E */ j .L800F3E78 +/* 08D320 800F3E70 8E850000 */ lw $a1, ($s4) + +.L800F3E74: +/* 08D324 800F3E74 8EA50000 */ lw $a1, ($s5) +.L800F3E78: +/* 08D328 800F3E78 0C0511FF */ jal set_menu_icon_script +/* 08D32C 800F3E7C 0200202D */ daddu $a0, $s0, $zero +/* 08D330 800F3E80 3C028011 */ lui $v0, 0x8011 +/* 08D334 800F3E84 8C42D69C */ lw $v0, -0x2964($v0) +/* 08D338 800F3E88 8C420318 */ lw $v0, 0x318($v0) +/* 08D33C 800F3E8C 240B0001 */ addiu $t3, $zero, 1 +/* 08D340 800F3E90 144B0005 */ bne $v0, $t3, .L800F3EA8 +/* 08D344 800F3E94 0200202D */ daddu $a0, $s0, $zero +/* 08D348 800F3E98 8FAA0020 */ lw $t2, 0x20($sp) +/* 08D34C 800F3E9C 2626000A */ addiu $a2, $s1, 0xa +/* 08D350 800F3EA0 0803CFAD */ j .L800F3EB4 +/* 08D354 800F3EA4 01562821 */ addu $a1, $t2, $s6 + +.L800F3EA8: +/* 08D358 800F3EA8 8FAB0020 */ lw $t3, 0x20($sp) +/* 08D35C 800F3EAC 2626000A */ addiu $a2, $s1, 0xa +/* 08D360 800F3EB0 01772821 */ addu $a1, $t3, $s7 +.L800F3EB4: +/* 08D364 800F3EB4 0C051261 */ jal set_icon_render_pos +/* 08D368 800F3EB8 00000000 */ nop +/* 08D36C 800F3EBC 3C028011 */ lui $v0, 0x8011 +/* 08D370 800F3EC0 8C42D69C */ lw $v0, -0x2964($v0) +/* 08D374 800F3EC4 005E1021 */ addu $v0, $v0, $fp +/* 08D378 800F3EC8 8C420210 */ lw $v0, 0x210($v0) +/* 08D37C 800F3ECC 0262102A */ slt $v0, $s3, $v0 +/* 08D380 800F3ED0 50400004 */ beql $v0, $zero, .L800F3EE4 +/* 08D384 800F3ED4 26F7000D */ addiu $s7, $s7, 0xd +/* 08D388 800F3ED8 0C0511F1 */ jal draw_icon_1 +/* 08D38C 800F3EDC 0200202D */ daddu $a0, $s0, $zero +/* 08D390 800F3EE0 26F7000D */ addiu $s7, $s7, 0xd +.L800F3EE4: +/* 08D394 800F3EE4 26D6000D */ addiu $s6, $s6, 0xd +/* 08D398 800F3EE8 26B50004 */ addiu $s5, $s5, 4 +/* 08D39C 800F3EEC 26730001 */ addiu $s3, $s3, 1 +/* 08D3A0 800F3EF0 2A620002 */ slti $v0, $s3, 2 +/* 08D3A4 800F3EF4 1440FFD5 */ bnez $v0, .L800F3E4C +/* 08D3A8 800F3EF8 26940004 */ addiu $s4, $s4, 4 +/* 08D3AC 800F3EFC 0803CFDA */ j .L800F3F68 +/* 08D3B0 800F3F00 2631000D */ addiu $s1, $s1, 0xd + +.L800F3F04: +/* 08D3B4 800F3F04 8FAA0020 */ lw $t2, 0x20($sp) +/* 08D3B8 800F3F08 3C028011 */ lui $v0, 0x8011 +/* 08D3BC 800F3F0C 8C42D650 */ lw $v0, -0x29b0($v0) +/* 08D3C0 800F3F10 25450073 */ addiu $a1, $t2, 0x73 +/* 08D3C4 800F3F14 8FAA002C */ lw $t2, 0x2c($sp) +/* 08D3C8 800F3F18 240B0003 */ addiu $t3, $zero, 3 +/* 08D3CC 800F3F1C AFB00010 */ sw $s0, 0x10($sp) +/* 08D3D0 800F3F20 AFAB0018 */ sw $t3, 0x18($sp) +/* 08D3D4 800F3F24 AFA20014 */ sw $v0, 0x14($sp) +/* 08D3D8 800F3F28 0803CFD6 */ j .L800F3F58 +/* 08D3DC 800F3F2C 008A1021 */ addu $v0, $a0, $t2 + +.L800F3F30: +/* 08D3E0 800F3F30 8FAB0020 */ lw $t3, 0x20($sp) +/* 08D3E4 800F3F34 3C028011 */ lui $v0, 0x8011 +/* 08D3E8 800F3F38 8C42D650 */ lw $v0, -0x29b0($v0) +/* 08D3EC 800F3F3C 25650079 */ addiu $a1, $t3, 0x79 +/* 08D3F0 800F3F40 8FAB002C */ lw $t3, 0x2c($sp) +/* 08D3F4 800F3F44 240A0003 */ addiu $t2, $zero, 3 +/* 08D3F8 800F3F48 AFB00010 */ sw $s0, 0x10($sp) +/* 08D3FC 800F3F4C AFAA0018 */ sw $t2, 0x18($sp) +/* 08D400 800F3F50 AFA20014 */ sw $v0, 0x14($sp) +/* 08D404 800F3F54 008B1021 */ addu $v0, $a0, $t3 +.L800F3F58: +/* 08D408 800F3F58 8C440210 */ lw $a0, 0x210($v0) +/* 08D40C 800F3F5C 0C049DA7 */ jal draw_number +/* 08D410 800F3F60 24070001 */ addiu $a3, $zero, 1 +/* 08D414 800F3F64 2631000D */ addiu $s1, $s1, 0xd +.L800F3F68: +/* 08D418 800F3F68 56400004 */ bnezl $s2, .L800F3F7C +/* 08D41C 800F3F6C 26520001 */ addiu $s2, $s2, 1 +/* 08D420 800F3F70 8FAA0024 */ lw $t2, 0x24($sp) +/* 08D424 800F3F74 022A8821 */ addu $s1, $s1, $t2 +.L800F3F78: +/* 08D428 800F3F78 26520001 */ addiu $s2, $s2, 1 +.L800F3F7C: +/* 08D42C 800F3F7C 3C028011 */ lui $v0, 0x8011 +/* 08D430 800F3F80 8C42D69C */ lw $v0, -0x2964($v0) +/* 08D434 800F3F84 8FAB002C */ lw $t3, 0x2c($sp) +/* 08D438 800F3F88 8C420324 */ lw $v0, 0x324($v0) +/* 08D43C 800F3F8C 256B0004 */ addiu $t3, $t3, 4 +/* 08D440 800F3F90 0242102A */ slt $v0, $s2, $v0 +/* 08D444 800F3F94 1440FF19 */ bnez $v0, .L800F3BFC +/* 08D448 800F3F98 AFAB002C */ sw $t3, 0x2c($sp) +.L800F3F9C: +/* 08D44C 800F3F9C 8FAA005C */ lw $t2, 0x5c($sp) +/* 08D450 800F3FA0 3C028011 */ lui $v0, 0x8011 +/* 08D454 800F3FA4 8442D658 */ lh $v0, -0x29a8($v0) +/* 08D458 800F3FA8 8FAB0060 */ lw $t3, 0x60($sp) +/* 08D45C 800F3FAC AFA00024 */ sw $zero, 0x24($sp) +/* 08D460 800F3FB0 254A0018 */ addiu $t2, $t2, 0x18 +/* 08D464 800F3FB4 01622021 */ addu $a0, $t3, $v0 +/* 08D468 800F3FB8 3C028011 */ lui $v0, 0x8011 +/* 08D46C 800F3FBC 8C42D69C */ lw $v0, -0x2964($v0) +/* 08D470 800F3FC0 AFAA0020 */ sw $t2, 0x20($sp) +/* 08D474 800F3FC4 8C430318 */ lw $v1, 0x318($v0) +/* 08D478 800F3FC8 24020002 */ addiu $v0, $zero, 2 +/* 08D47C 800F3FCC 14620004 */ bne $v1, $v0, .L800F3FE0 +/* 08D480 800F3FD0 24910008 */ addiu $s1, $a0, 8 +/* 08D484 800F3FD4 24910006 */ addiu $s1, $a0, 6 +/* 08D488 800F3FD8 0040502D */ daddu $t2, $v0, $zero +/* 08D48C 800F3FDC AFAA0024 */ sw $t2, 0x24($sp) +.L800F3FE0: +/* 08D490 800F3FE0 2C62000E */ sltiu $v0, $v1, 0xe +/* 08D494 800F3FE4 104000B2 */ beqz $v0, .L800F42B0 +/* 08D498 800F3FE8 00031080 */ sll $v0, $v1, 2 +/* 08D49C 800F3FEC 3C018011 */ lui $at, 0x8011 +/* 08D4A0 800F3FF0 00220821 */ addu $at, $at, $v0 +/* 08D4A4 800F3FF4 8C22C800 */ lw $v0, -0x3800($at) +/* 08D4A8 800F3FF8 00400008 */ jr $v0 +/* 08D4AC 800F3FFC 00000000 */ nop +/* 08D4B0 800F4000 3C028011 */ lui $v0, 0x8011 +/* 08D4B4 800F4004 8C42D69C */ lw $v0, -0x2964($v0) +/* 08D4B8 800F4008 8C420324 */ lw $v0, 0x324($v0) +/* 08D4BC 800F400C 184000A8 */ blez $v0, .L800F42B0 +/* 08D4C0 800F4010 0000902D */ daddu $s2, $zero, $zero +/* 08D4C4 800F4014 8FAB0028 */ lw $t3, 0x28($sp) +/* 08D4C8 800F4018 2573FFFF */ addiu $s3, $t3, -1 +/* 08D4CC 800F401C 0253102A */ slt $v0, $s2, $s3 +.L800F4020: +/* 08D4D0 800F4020 14400008 */ bnez $v0, .L800F4044 +/* 08D4D4 800F4024 00000000 */ nop +/* 08D4D8 800F4028 3C028011 */ lui $v0, 0x8011 +/* 08D4DC 800F402C 8042D656 */ lb $v0, -0x29aa($v0) +/* 08D4E0 800F4030 8FAA0028 */ lw $t2, 0x28($sp) +/* 08D4E4 800F4034 01421021 */ addu $v0, $t2, $v0 +/* 08D4E8 800F4038 0052102A */ slt $v0, $v0, $s2 +/* 08D4EC 800F403C 10400006 */ beqz $v0, .L800F4058 +/* 08D4F0 800F4040 00121880 */ sll $v1, $s2, 2 +.L800F4044: +/* 08D4F4 800F4044 1640001F */ bnez $s2, .L800F40C4 +/* 08D4F8 800F4048 2631000D */ addiu $s1, $s1, 0xd +/* 08D4FC 800F404C 8FAB0024 */ lw $t3, 0x24($sp) +/* 08D500 800F4050 0803D031 */ j .L800F40C4 +/* 08D504 800F4054 022B8821 */ addu $s1, $s1, $t3 + +.L800F4058: +/* 08D508 800F4058 3C028011 */ lui $v0, 0x8011 +/* 08D50C 800F405C 8C42D69C */ lw $v0, -0x2964($v0) +/* 08D510 800F4060 3C108011 */ lui $s0, 0x8011 +/* 08D514 800F4064 8E10D678 */ lw $s0, -0x2988($s0) +/* 08D518 800F4068 00431021 */ addu $v0, $v0, $v1 +/* 08D51C 800F406C 8C450000 */ lw $a1, ($v0) +/* 08D520 800F4070 0C0511FF */ jal set_menu_icon_script +/* 08D524 800F4074 0200202D */ daddu $a0, $s0, $zero +/* 08D528 800F4078 0200202D */ daddu $a0, $s0, $zero +/* 08D52C 800F407C 8FA50020 */ lw $a1, 0x20($sp) +/* 08D530 800F4080 0C051261 */ jal set_icon_render_pos +/* 08D534 800F4084 0220302D */ daddu $a2, $s1, $zero +/* 08D538 800F4088 0200202D */ daddu $a0, $s0, $zero +/* 08D53C 800F408C 3C058011 */ lui $a1, 0x8011 +/* 08D540 800F4090 8CA5D650 */ lw $a1, -0x29b0($a1) +/* 08D544 800F4094 0C0513AC */ jal func_80144EB0 +/* 08D548 800F4098 2631000D */ addiu $s1, $s1, 0xd +/* 08D54C 800F409C 3C053EE6 */ lui $a1, 0x3ee6 +/* 08D550 800F40A0 34A56666 */ ori $a1, $a1, 0x6666 +/* 08D554 800F40A4 0C051308 */ jal func_80144C20 +/* 08D558 800F40A8 0200202D */ daddu $a0, $s0, $zero +/* 08D55C 800F40AC 0C0511F8 */ jal func_801447E0 +/* 08D560 800F40B0 0200202D */ daddu $a0, $s0, $zero +/* 08D564 800F40B4 16400003 */ bnez $s2, .L800F40C4 +/* 08D568 800F40B8 00000000 */ nop +/* 08D56C 800F40BC 8FAA0024 */ lw $t2, 0x24($sp) +/* 08D570 800F40C0 022A8821 */ addu $s1, $s1, $t2 +.L800F40C4: +/* 08D574 800F40C4 3C028011 */ lui $v0, 0x8011 +/* 08D578 800F40C8 8C42D69C */ lw $v0, -0x2964($v0) +/* 08D57C 800F40CC 8C420324 */ lw $v0, 0x324($v0) +/* 08D580 800F40D0 26520001 */ addiu $s2, $s2, 1 +/* 08D584 800F40D4 0242102A */ slt $v0, $s2, $v0 +/* 08D588 800F40D8 1440FFD1 */ bnez $v0, .L800F4020 +/* 08D58C 800F40DC 0253102A */ slt $v0, $s2, $s3 +/* 08D590 800F40E0 0803D0AC */ j .L800F42B0 +/* 08D594 800F40E4 00000000 */ nop + +/* 08D598 800F40E8 3C028011 */ lui $v0, 0x8011 +/* 08D59C 800F40EC 8C42D69C */ lw $v0, -0x2964($v0) +/* 08D5A0 800F40F0 8C420324 */ lw $v0, 0x324($v0) +/* 08D5A4 800F40F4 1840006E */ blez $v0, .L800F42B0 +/* 08D5A8 800F40F8 0000902D */ daddu $s2, $zero, $zero +/* 08D5AC 800F40FC 8FAB0028 */ lw $t3, 0x28($sp) +/* 08D5B0 800F4100 2573FFFF */ addiu $s3, $t3, -1 +/* 08D5B4 800F4104 0253102A */ slt $v0, $s2, $s3 +.L800F4108: +/* 08D5B8 800F4108 14400008 */ bnez $v0, .L800F412C +/* 08D5BC 800F410C 00000000 */ nop +/* 08D5C0 800F4110 3C028011 */ lui $v0, 0x8011 +/* 08D5C4 800F4114 8042D656 */ lb $v0, -0x29aa($v0) +/* 08D5C8 800F4118 8FAA0028 */ lw $t2, 0x28($sp) +/* 08D5CC 800F411C 01421021 */ addu $v0, $t2, $v0 +/* 08D5D0 800F4120 0052102A */ slt $v0, $v0, $s2 +/* 08D5D4 800F4124 10400006 */ beqz $v0, .L800F4140 +/* 08D5D8 800F4128 00121880 */ sll $v1, $s2, 2 +.L800F412C: +/* 08D5DC 800F412C 1640001F */ bnez $s2, .L800F41AC +/* 08D5E0 800F4130 2631000D */ addiu $s1, $s1, 0xd +/* 08D5E4 800F4134 8FAB0024 */ lw $t3, 0x24($sp) +/* 08D5E8 800F4138 0803D06B */ j .L800F41AC +/* 08D5EC 800F413C 022B8821 */ addu $s1, $s1, $t3 + +.L800F4140: +/* 08D5F0 800F4140 3C028011 */ lui $v0, 0x8011 +/* 08D5F4 800F4144 8C42D69C */ lw $v0, -0x2964($v0) +/* 08D5F8 800F4148 3C108011 */ lui $s0, 0x8011 +/* 08D5FC 800F414C 8E10D678 */ lw $s0, -0x2988($s0) +/* 08D600 800F4150 00431021 */ addu $v0, $v0, $v1 +/* 08D604 800F4154 8C450000 */ lw $a1, ($v0) +/* 08D608 800F4158 0C0511FF */ jal set_menu_icon_script +/* 08D60C 800F415C 0200202D */ daddu $a0, $s0, $zero +/* 08D610 800F4160 0200202D */ daddu $a0, $s0, $zero +/* 08D614 800F4164 8FA50020 */ lw $a1, 0x20($sp) +/* 08D618 800F4168 0C051261 */ jal set_icon_render_pos +/* 08D61C 800F416C 0220302D */ daddu $a2, $s1, $zero +/* 08D620 800F4170 0200202D */ daddu $a0, $s0, $zero +/* 08D624 800F4174 3C058011 */ lui $a1, 0x8011 +/* 08D628 800F4178 8CA5D650 */ lw $a1, -0x29b0($a1) +/* 08D62C 800F417C 0C0513AC */ jal func_80144EB0 +/* 08D630 800F4180 2631000D */ addiu $s1, $s1, 0xd +/* 08D634 800F4184 3C053EE6 */ lui $a1, 0x3ee6 +/* 08D638 800F4188 34A56666 */ ori $a1, $a1, 0x6666 +/* 08D63C 800F418C 0C051308 */ jal func_80144C20 +/* 08D640 800F4190 0200202D */ daddu $a0, $s0, $zero +/* 08D644 800F4194 0C0511F8 */ jal func_801447E0 +/* 08D648 800F4198 0200202D */ daddu $a0, $s0, $zero +/* 08D64C 800F419C 16400003 */ bnez $s2, .L800F41AC +/* 08D650 800F41A0 00000000 */ nop +/* 08D654 800F41A4 8FAA0024 */ lw $t2, 0x24($sp) +/* 08D658 800F41A8 022A8821 */ addu $s1, $s1, $t2 +.L800F41AC: +/* 08D65C 800F41AC 3C028011 */ lui $v0, 0x8011 +/* 08D660 800F41B0 8C42D69C */ lw $v0, -0x2964($v0) +/* 08D664 800F41B4 8C420324 */ lw $v0, 0x324($v0) +/* 08D668 800F41B8 26520001 */ addiu $s2, $s2, 1 +/* 08D66C 800F41BC 0242102A */ slt $v0, $s2, $v0 +/* 08D670 800F41C0 1440FFD1 */ bnez $v0, .L800F4108 +/* 08D674 800F41C4 0253102A */ slt $v0, $s2, $s3 +/* 08D678 800F41C8 0803D0AC */ j .L800F42B0 +/* 08D67C 800F41CC 00000000 */ nop + +/* 08D680 800F41D0 3C028011 */ lui $v0, 0x8011 +/* 08D684 800F41D4 8C42D69C */ lw $v0, -0x2964($v0) +/* 08D688 800F41D8 8C420324 */ lw $v0, 0x324($v0) +/* 08D68C 800F41DC 18400034 */ blez $v0, .L800F42B0 +/* 08D690 800F41E0 0000902D */ daddu $s2, $zero, $zero +/* 08D694 800F41E4 8FAB0028 */ lw $t3, 0x28($sp) +/* 08D698 800F41E8 2573FFFF */ addiu $s3, $t3, -1 +/* 08D69C 800F41EC 0253102A */ slt $v0, $s2, $s3 +.L800F41F0: +/* 08D6A0 800F41F0 14400008 */ bnez $v0, .L800F4214 +/* 08D6A4 800F41F4 00000000 */ nop +/* 08D6A8 800F41F8 3C028011 */ lui $v0, 0x8011 +/* 08D6AC 800F41FC 8042D656 */ lb $v0, -0x29aa($v0) +/* 08D6B0 800F4200 8FAA0028 */ lw $t2, 0x28($sp) +/* 08D6B4 800F4204 01421021 */ addu $v0, $t2, $v0 +/* 08D6B8 800F4208 0052102A */ slt $v0, $v0, $s2 +/* 08D6BC 800F420C 10400006 */ beqz $v0, .L800F4228 +/* 08D6C0 800F4210 00121880 */ sll $v1, $s2, 2 +.L800F4214: +/* 08D6C4 800F4214 1640001F */ bnez $s2, .L800F4294 +/* 08D6C8 800F4218 2631000D */ addiu $s1, $s1, 0xd +/* 08D6CC 800F421C 8FAB0024 */ lw $t3, 0x24($sp) +/* 08D6D0 800F4220 0803D0A5 */ j .L800F4294 +/* 08D6D4 800F4224 022B8821 */ addu $s1, $s1, $t3 + +.L800F4228: +/* 08D6D8 800F4228 3C028011 */ lui $v0, 0x8011 +/* 08D6DC 800F422C 8C42D69C */ lw $v0, -0x2964($v0) +/* 08D6E0 800F4230 3C108011 */ lui $s0, 0x8011 +/* 08D6E4 800F4234 8E10D678 */ lw $s0, -0x2988($s0) +/* 08D6E8 800F4238 00431021 */ addu $v0, $v0, $v1 +/* 08D6EC 800F423C 8C450000 */ lw $a1, ($v0) +/* 08D6F0 800F4240 0C0511FF */ jal set_menu_icon_script +/* 08D6F4 800F4244 0200202D */ daddu $a0, $s0, $zero +/* 08D6F8 800F4248 0200202D */ daddu $a0, $s0, $zero +/* 08D6FC 800F424C 8FA50020 */ lw $a1, 0x20($sp) +/* 08D700 800F4250 0C051261 */ jal set_icon_render_pos +/* 08D704 800F4254 0220302D */ daddu $a2, $s1, $zero +/* 08D708 800F4258 0200202D */ daddu $a0, $s0, $zero +/* 08D70C 800F425C 3C058011 */ lui $a1, 0x8011 +/* 08D710 800F4260 8CA5D650 */ lw $a1, -0x29b0($a1) +/* 08D714 800F4264 0C0513AC */ jal func_80144EB0 +/* 08D718 800F4268 2631000D */ addiu $s1, $s1, 0xd +/* 08D71C 800F426C 3C053EE6 */ lui $a1, 0x3ee6 +/* 08D720 800F4270 34A56666 */ ori $a1, $a1, 0x6666 +/* 08D724 800F4274 0C051308 */ jal func_80144C20 +/* 08D728 800F4278 0200202D */ daddu $a0, $s0, $zero +/* 08D72C 800F427C 0C0511F8 */ jal func_801447E0 +/* 08D730 800F4280 0200202D */ daddu $a0, $s0, $zero +/* 08D734 800F4284 16400003 */ bnez $s2, .L800F4294 +/* 08D738 800F4288 00000000 */ nop +/* 08D73C 800F428C 8FAA0024 */ lw $t2, 0x24($sp) +/* 08D740 800F4290 022A8821 */ addu $s1, $s1, $t2 +.L800F4294: +/* 08D744 800F4294 3C028011 */ lui $v0, 0x8011 +/* 08D748 800F4298 8C42D69C */ lw $v0, -0x2964($v0) +/* 08D74C 800F429C 8C420324 */ lw $v0, 0x324($v0) +/* 08D750 800F42A0 26520001 */ addiu $s2, $s2, 1 +/* 08D754 800F42A4 0242102A */ slt $v0, $s2, $v0 +/* 08D758 800F42A8 1440FFD1 */ bnez $v0, .L800F41F0 +/* 08D75C 800F42AC 0253102A */ slt $v0, $s2, $s3 +.L800F42B0: +/* 08D760 800F42B0 8FAB005C */ lw $t3, 0x5c($sp) +/* 08D764 800F42B4 3C038011 */ lui $v1, 0x8011 +/* 08D768 800F42B8 8063D654 */ lb $v1, -0x29ac($v1) +/* 08D76C 800F42BC 3C048011 */ lui $a0, 0x8011 +/* 08D770 800F42C0 8C84D648 */ lw $a0, -0x29b8($a0) +/* 08D774 800F42C4 3C108011 */ lui $s0, 0x8011 +/* 08D778 800F42C8 8E10D66C */ lw $s0, -0x2994($s0) +/* 08D77C 800F42CC 8FAA0060 */ lw $t2, 0x60($sp) +/* 08D780 800F42D0 256B0008 */ addiu $t3, $t3, 8 +/* 08D784 800F42D4 00831823 */ subu $v1, $a0, $v1 +/* 08D788 800F42D8 00031040 */ sll $v0, $v1, 1 +/* 08D78C 800F42DC 00431021 */ addu $v0, $v0, $v1 +/* 08D790 800F42E0 00021080 */ sll $v0, $v0, 2 +/* 08D794 800F42E4 00431021 */ addu $v0, $v0, $v1 +/* 08D798 800F42E8 24420009 */ addiu $v0, $v0, 9 +/* 08D79C 800F42EC 3C038011 */ lui $v1, 0x8011 +/* 08D7A0 800F42F0 8C63D69C */ lw $v1, -0x2964($v1) +/* 08D7A4 800F42F4 01428821 */ addu $s1, $t2, $v0 +/* 08D7A8 800F42F8 AFAB0020 */ sw $t3, 0x20($sp) +/* 08D7AC 800F42FC 8C630318 */ lw $v1, 0x318($v1) +/* 08D7B0 800F4300 24020002 */ addiu $v0, $zero, 2 +/* 08D7B4 800F4304 54620004 */ bnel $v1, $v0, .L800F4318 +/* 08D7B8 800F4308 0200202D */ daddu $a0, $s0, $zero +/* 08D7BC 800F430C 50800001 */ beql $a0, $zero, .L800F4314 +/* 08D7C0 800F4310 2631FFFE */ addiu $s1, $s1, -2 +.L800F4314: +/* 08D7C4 800F4314 0200202D */ daddu $a0, $s0, $zero +.L800F4318: +/* 08D7C8 800F4318 8FA50020 */ lw $a1, 0x20($sp) +/* 08D7CC 800F431C 0C051261 */ jal set_icon_render_pos +/* 08D7D0 800F4320 0220302D */ daddu $a2, $s1, $zero +/* 08D7D4 800F4324 3C058011 */ lui $a1, 0x8011 +/* 08D7D8 800F4328 8CA5D650 */ lw $a1, -0x29b0($a1) +/* 08D7DC 800F432C 0C0513AC */ jal func_80144EB0 +/* 08D7E0 800F4330 0200202D */ daddu $a0, $s0, $zero +/* 08D7E4 800F4334 0C0511F8 */ jal func_801447E0 +/* 08D7E8 800F4338 0200202D */ daddu $a0, $s0, $zero +/* 08D7EC 800F433C 8FAB005C */ lw $t3, 0x5c($sp) +/* 08D7F0 800F4340 8FAA0060 */ lw $t2, 0x60($sp) +/* 08D7F4 800F4344 3C038011 */ lui $v1, 0x8011 +/* 08D7F8 800F4348 8063D656 */ lb $v1, -0x29aa($v1) +/* 08D7FC 800F434C 2551FFFA */ addiu $s1, $t2, -6 +/* 08D800 800F4350 00031040 */ sll $v0, $v1, 1 +/* 08D804 800F4354 00431021 */ addu $v0, $v0, $v1 +/* 08D808 800F4358 00021080 */ sll $v0, $v0, 2 +/* 08D80C 800F435C 00431021 */ addu $v0, $v0, $v1 +/* 08D810 800F4360 3C038011 */ lui $v1, 0x8011 +/* 08D814 800F4364 8C63D69C */ lw $v1, -0x2964($v1) +/* 08D818 800F4368 02221021 */ addu $v0, $s1, $v0 +/* 08D81C 800F436C AFAB0020 */ sw $t3, 0x20($sp) +/* 08D820 800F4370 8C630318 */ lw $v1, 0x318($v1) +/* 08D824 800F4374 24480010 */ addiu $t0, $v0, 0x10 +/* 08D828 800F4378 2C62000E */ sltiu $v0, $v1, 0xe +/* 08D82C 800F437C 1040004F */ beqz $v0, .L800F44BC +/* 08D830 800F4380 00031080 */ sll $v0, $v1, 2 +/* 08D834 800F4384 3C018011 */ lui $at, 0x8011 +/* 08D838 800F4388 00220821 */ addu $at, $at, $v0 +/* 08D83C 800F438C 8C22C838 */ lw $v0, -0x37c8($at) +/* 08D840 800F4390 00400008 */ jr $v0 +/* 08D844 800F4394 00000000 */ nop +/* 08D848 800F4398 3C03800A */ lui $v1, 0x800a +/* 08D84C 800F439C 2463A66C */ addiu $v1, $v1, -0x5994 +/* 08D850 800F43A0 C7A20020 */ lwc1 $f2, 0x20($sp) +/* 08D854 800F43A4 468010A0 */ cvt.s.w $f2, $f2 +/* 08D858 800F43A8 44910000 */ mtc1 $s1, $f0 +/* 08D85C 800F43AC 00000000 */ nop +/* 08D860 800F43B0 46800020 */ cvt.s.w $f0, $f0 +/* 08D864 800F43B4 3C014080 */ lui $at, 0x4080 +/* 08D868 800F43B8 44812000 */ mtc1 $at, $f4 +/* 08D86C 800F43BC 8C620000 */ lw $v0, ($v1) +/* 08D870 800F43C0 46041082 */ mul.s $f2, $f2, $f4 +/* 08D874 800F43C4 00000000 */ nop +/* 08D878 800F43C8 0040282D */ daddu $a1, $v0, $zero +/* 08D87C 800F43CC 24420008 */ addiu $v0, $v0, 8 +/* 08D880 800F43D0 AC620000 */ sw $v0, ($v1) +/* 08D884 800F43D4 8FAB0020 */ lw $t3, 0x20($sp) +/* 08D888 800F43D8 46040002 */ mul.s $f0, $f0, $f4 +/* 08D88C 800F43DC 00000000 */ nop +/* 08D890 800F43E0 0803D10D */ j .L800F4434 +/* 08D894 800F43E4 25620070 */ addiu $v0, $t3, 0x70 + +/* 08D898 800F43E8 3C03800A */ lui $v1, 0x800a +/* 08D89C 800F43EC 2463A66C */ addiu $v1, $v1, -0x5994 +/* 08D8A0 800F43F0 C7A20020 */ lwc1 $f2, 0x20($sp) +/* 08D8A4 800F43F4 468010A0 */ cvt.s.w $f2, $f2 +/* 08D8A8 800F43F8 44910000 */ mtc1 $s1, $f0 +/* 08D8AC 800F43FC 00000000 */ nop +/* 08D8B0 800F4400 46800020 */ cvt.s.w $f0, $f0 +/* 08D8B4 800F4404 3C014080 */ lui $at, 0x4080 +/* 08D8B8 800F4408 44812000 */ mtc1 $at, $f4 +/* 08D8BC 800F440C 8C620000 */ lw $v0, ($v1) +/* 08D8C0 800F4410 46041082 */ mul.s $f2, $f2, $f4 +/* 08D8C4 800F4414 00000000 */ nop +/* 08D8C8 800F4418 0040282D */ daddu $a1, $v0, $zero +/* 08D8CC 800F441C 24420008 */ addiu $v0, $v0, 8 +/* 08D8D0 800F4420 AC620000 */ sw $v0, ($v1) +/* 08D8D4 800F4424 8FAB0020 */ lw $t3, 0x20($sp) +/* 08D8D8 800F4428 46040002 */ mul.s $f0, $f0, $f4 +/* 08D8DC 800F442C 00000000 */ nop +/* 08D8E0 800F4430 25620064 */ addiu $v0, $t3, 0x64 +.L800F4434: +/* 08D8E4 800F4434 4600118D */ trunc.w.s $f6, $f2 +/* 08D8E8 800F4438 44033000 */ mfc1 $v1, $f6 +/* 08D8EC 800F443C 00000000 */ nop +/* 08D8F0 800F4440 30630FFF */ andi $v1, $v1, 0xfff +/* 08D8F4 800F4444 00031B00 */ sll $v1, $v1, 0xc +/* 08D8F8 800F4448 4600018D */ trunc.w.s $f6, $f0 +/* 08D8FC 800F444C 44043000 */ mfc1 $a0, $f6 +/* 08D900 800F4450 00000000 */ nop +/* 08D904 800F4454 30840FFF */ andi $a0, $a0, 0xfff +/* 08D908 800F4458 44821000 */ mtc1 $v0, $f2 +/* 08D90C 800F445C 00000000 */ nop +/* 08D910 800F4460 468010A0 */ cvt.s.w $f2, $f2 +/* 08D914 800F4464 46041082 */ mul.s $f2, $f2, $f4 +/* 08D918 800F4468 00000000 */ nop +/* 08D91C 800F446C 3C02ED00 */ lui $v0, 0xed00 +/* 08D920 800F4470 00822025 */ or $a0, $a0, $v0 +/* 08D924 800F4474 00641825 */ or $v1, $v1, $a0 +/* 08D928 800F4478 44880000 */ mtc1 $t0, $f0 +/* 08D92C 800F447C 00000000 */ nop +/* 08D930 800F4480 46800020 */ cvt.s.w $f0, $f0 +/* 08D934 800F4484 46040002 */ mul.s $f0, $f0, $f4 +/* 08D938 800F4488 00000000 */ nop +/* 08D93C 800F448C ACA30000 */ sw $v1, ($a1) +/* 08D940 800F4490 4600118D */ trunc.w.s $f6, $f2 +/* 08D944 800F4494 44023000 */ mfc1 $v0, $f6 +/* 08D948 800F4498 00000000 */ nop +/* 08D94C 800F449C 30420FFF */ andi $v0, $v0, 0xfff +/* 08D950 800F44A0 00021300 */ sll $v0, $v0, 0xc +/* 08D954 800F44A4 4600018D */ trunc.w.s $f6, $f0 +/* 08D958 800F44A8 44033000 */ mfc1 $v1, $f6 +/* 08D95C 800F44AC 00000000 */ nop +/* 08D960 800F44B0 30630FFF */ andi $v1, $v1, 0xfff +/* 08D964 800F44B4 00431025 */ or $v0, $v0, $v1 +/* 08D968 800F44B8 ACA20004 */ sw $v0, 4($a1) +.L800F44BC: +/* 08D96C 800F44BC 3C028011 */ lui $v0, 0x8011 +/* 08D970 800F44C0 8C42D69C */ lw $v0, -0x2964($v0) +/* 08D974 800F44C4 8C420318 */ lw $v0, 0x318($v0) +/* 08D978 800F44C8 2443FFFF */ addiu $v1, $v0, -1 +/* 08D97C 800F44CC 2C62000D */ sltiu $v0, $v1, 0xd +/* 08D980 800F44D0 10400012 */ beqz $v0, .L800F451C +/* 08D984 800F44D4 00031080 */ sll $v0, $v1, 2 +/* 08D988 800F44D8 3C018011 */ lui $at, 0x8011 +/* 08D98C 800F44DC 00220821 */ addu $at, $at, $v0 +/* 08D990 800F44E0 8C22C870 */ lw $v0, -0x3790($at) +/* 08D994 800F44E4 00400008 */ jr $v0 +/* 08D998 800F44E8 00000000 */ nop +/* 08D99C 800F44EC 0803D150 */ j .L800F4540 +/* 08D9A0 800F44F0 240B0023 */ addiu $t3, $zero, 0x23 + +/* 08D9A4 800F44F4 240A0023 */ addiu $t2, $zero, 0x23 +/* 08D9A8 800F44F8 0803D151 */ j .L800F4544 +/* 08D9AC 800F44FC AFAA0024 */ sw $t2, 0x24($sp) + +/* 08D9B0 800F4500 0803D150 */ j .L800F4540 +/* 08D9B4 800F4504 240B001F */ addiu $t3, $zero, 0x1f + +/* 08D9B8 800F4508 240A001F */ addiu $t2, $zero, 0x1f +/* 08D9BC 800F450C 0803D151 */ j .L800F4544 +/* 08D9C0 800F4510 AFAA0024 */ sw $t2, 0x24($sp) + +/* 08D9C4 800F4514 0803D150 */ j .L800F4540 +/* 08D9C8 800F4518 240B001F */ addiu $t3, $zero, 0x1f + +.L800F451C: +/* 08D9CC 800F451C 240A0025 */ addiu $t2, $zero, 0x25 +/* 08D9D0 800F4520 0803D151 */ j .L800F4544 +/* 08D9D4 800F4524 AFAA0024 */ sw $t2, 0x24($sp) + +/* 08D9D8 800F4528 0803D150 */ j .L800F4540 +/* 08D9DC 800F452C 240B001D */ addiu $t3, $zero, 0x1d + +/* 08D9E0 800F4530 240A0015 */ addiu $t2, $zero, 0x15 +/* 08D9E4 800F4534 0803D151 */ j .L800F4544 +/* 08D9E8 800F4538 AFAA0024 */ sw $t2, 0x24($sp) + +/* 08D9EC 800F453C 240B001E */ addiu $t3, $zero, 0x1e +.L800F4540: +/* 08D9F0 800F4540 AFAB0024 */ sw $t3, 0x24($sp) +.L800F4544: +/* 08D9F4 800F4544 3C028011 */ lui $v0, 0x8011 +/* 08D9F8 800F4548 8042D654 */ lb $v0, -0x29ac($v0) +/* 08D9FC 800F454C 18400012 */ blez $v0, .L800F4598 +/* 08DA00 800F4550 00000000 */ nop +/* 08DA04 800F4554 8FAA005C */ lw $t2, 0x5c($sp) +/* 08DA08 800F4558 8FAB0024 */ lw $t3, 0x24($sp) +/* 08DA0C 800F455C 3C108011 */ lui $s0, 0x8011 +/* 08DA10 800F4560 8E10D670 */ lw $s0, -0x2990($s0) +/* 08DA14 800F4564 014B5021 */ addu $t2, $t2, $t3 +/* 08DA18 800F4568 AFAA0020 */ sw $t2, 0x20($sp) +/* 08DA1C 800F456C 25450023 */ addiu $a1, $t2, 0x23 +/* 08DA20 800F4570 8FAA0060 */ lw $t2, 0x60($sp) +/* 08DA24 800F4574 0200202D */ daddu $a0, $s0, $zero +/* 08DA28 800F4578 0C051261 */ jal set_icon_render_pos +/* 08DA2C 800F457C 2546FFFF */ addiu $a2, $t2, -1 +/* 08DA30 800F4580 3C058011 */ lui $a1, 0x8011 +/* 08DA34 800F4584 8CA5D650 */ lw $a1, -0x29b0($a1) +/* 08DA38 800F4588 0C0513AC */ jal func_80144EB0 +/* 08DA3C 800F458C 0200202D */ daddu $a0, $s0, $zero +/* 08DA40 800F4590 0C0511F8 */ jal func_801447E0 +/* 08DA44 800F4594 0200202D */ daddu $a0, $s0, $zero +.L800F4598: +/* 08DA48 800F4598 3C028011 */ lui $v0, 0x8011 +/* 08DA4C 800F459C 8C42D69C */ lw $v0, -0x2964($v0) +/* 08DA50 800F45A0 3C038011 */ lui $v1, 0x8011 +/* 08DA54 800F45A4 8063D655 */ lb $v1, -0x29ab($v1) +/* 08DA58 800F45A8 8C420324 */ lw $v0, 0x324($v0) +/* 08DA5C 800F45AC 0062182A */ slt $v1, $v1, $v0 +/* 08DA60 800F45B0 10600019 */ beqz $v1, .L800F4618 +/* 08DA64 800F45B4 00000000 */ nop +/* 08DA68 800F45B8 8FAB005C */ lw $t3, 0x5c($sp) +/* 08DA6C 800F45BC 8FAA0024 */ lw $t2, 0x24($sp) +/* 08DA70 800F45C0 3C038011 */ lui $v1, 0x8011 +/* 08DA74 800F45C4 8063D68F */ lb $v1, -0x2971($v1) +/* 08DA78 800F45C8 3C108011 */ lui $s0, 0x8011 +/* 08DA7C 800F45CC 8E10D674 */ lw $s0, -0x298c($s0) +/* 08DA80 800F45D0 016A5821 */ addu $t3, $t3, $t2 +/* 08DA84 800F45D4 AFAB0020 */ sw $t3, 0x20($sp) +/* 08DA88 800F45D8 25650023 */ addiu $a1, $t3, 0x23 +/* 08DA8C 800F45DC 00031040 */ sll $v0, $v1, 1 +/* 08DA90 800F45E0 00431021 */ addu $v0, $v0, $v1 +/* 08DA94 800F45E4 00021080 */ sll $v0, $v0, 2 +/* 08DA98 800F45E8 00431021 */ addu $v0, $v0, $v1 +/* 08DA9C 800F45EC 8FAB0060 */ lw $t3, 0x60($sp) +/* 08DAA0 800F45F0 0200202D */ daddu $a0, $s0, $zero +/* 08DAA4 800F45F4 01628821 */ addu $s1, $t3, $v0 +/* 08DAA8 800F45F8 0C051261 */ jal set_icon_render_pos +/* 08DAAC 800F45FC 26260005 */ addiu $a2, $s1, 5 +/* 08DAB0 800F4600 3C058011 */ lui $a1, 0x8011 +/* 08DAB4 800F4604 8CA5D650 */ lw $a1, -0x29b0($a1) +/* 08DAB8 800F4608 0C0513AC */ jal func_80144EB0 +/* 08DABC 800F460C 0200202D */ daddu $a0, $s0, $zero +/* 08DAC0 800F4610 0C0511F8 */ jal func_801447E0 +/* 08DAC4 800F4614 0200202D */ daddu $a0, $s0, $zero +.L800F4618: +/* 08DAC8 800F4618 8FBF0054 */ lw $ra, 0x54($sp) +/* 08DACC 800F461C 8FBE0050 */ lw $fp, 0x50($sp) +/* 08DAD0 800F4620 8FB7004C */ lw $s7, 0x4c($sp) +/* 08DAD4 800F4624 8FB60048 */ lw $s6, 0x48($sp) +/* 08DAD8 800F4628 8FB50044 */ lw $s5, 0x44($sp) +/* 08DADC 800F462C 8FB40040 */ lw $s4, 0x40($sp) +/* 08DAE0 800F4630 8FB3003C */ lw $s3, 0x3c($sp) +/* 08DAE4 800F4634 8FB20038 */ lw $s2, 0x38($sp) +/* 08DAE8 800F4638 8FB10034 */ lw $s1, 0x34($sp) +/* 08DAEC 800F463C 8FB00030 */ lw $s0, 0x30($sp) +/* 08DAF0 800F4640 03E00008 */ jr $ra +/* 08DAF4 800F4644 27BD0058 */ addiu $sp, $sp, 0x58 + +draw_submenu_title: +/* 08DAF8 800F4648 3C028011 */ lui $v0, 0x8011 +/* 08DAFC 800F464C 8C42D69C */ lw $v0, -0x2964($v0) +/* 08DB00 800F4650 27BDFFC8 */ addiu $sp, $sp, -0x38 +/* 08DB04 800F4654 AFBF0034 */ sw $ra, 0x34($sp) +/* 08DB08 800F4658 AFB40030 */ sw $s4, 0x30($sp) +/* 08DB0C 800F465C AFB3002C */ sw $s3, 0x2c($sp) +/* 08DB10 800F4660 AFB20028 */ sw $s2, 0x28($sp) +/* 08DB14 800F4664 AFB10024 */ sw $s1, 0x24($sp) +/* 08DB18 800F4668 AFB00020 */ sw $s0, 0x20($sp) +/* 08DB1C 800F466C 8C430318 */ lw $v1, 0x318($v0) +/* 08DB20 800F4670 2C62000E */ sltiu $v0, $v1, 0xe +/* 08DB24 800F4674 10400097 */ beqz $v0, .L800F48D4 +/* 08DB28 800F4678 00A0A02D */ daddu $s4, $a1, $zero +/* 08DB2C 800F467C 00031080 */ sll $v0, $v1, 2 +/* 08DB30 800F4680 3C018011 */ lui $at, 0x8011 +/* 08DB34 800F4684 00220821 */ addu $at, $at, $v0 +/* 08DB38 800F4688 8C22C8A8 */ lw $v0, -0x3758($at) +/* 08DB3C 800F468C 00400008 */ jr $v0 +/* 08DB40 800F4690 00000000 */ nop +/* 08DB44 800F4694 3C138011 */ lui $s3, 0x8011 +/* 08DB48 800F4698 2673D69C */ addiu $s3, $s3, -0x2964 +/* 08DB4C 800F469C 8E620000 */ lw $v0, ($s3) +/* 08DB50 800F46A0 8C43031C */ lw $v1, 0x31c($v0) +/* 08DB54 800F46A4 24080001 */ addiu $t0, $zero, 1 +/* 08DB58 800F46A8 10680014 */ beq $v1, $t0, .L800F46FC +/* 08DB5C 800F46AC 28620002 */ slti $v0, $v1, 2 +/* 08DB60 800F46B0 50400005 */ beql $v0, $zero, .L800F46C8 +/* 08DB64 800F46B4 24020002 */ addiu $v0, $zero, 2 +/* 08DB68 800F46B8 10600007 */ beqz $v1, .L800F46D8 +/* 08DB6C 800F46BC 3C04001D */ lui $a0, 0x1d +/* 08DB70 800F46C0 0803D235 */ j .L800F48D4 +/* 08DB74 800F46C4 00000000 */ nop + +.L800F46C8: +/* 08DB78 800F46C8 10620025 */ beq $v1, $v0, .L800F4760 +/* 08DB7C 800F46CC 3C04001D */ lui $a0, 0x1d +/* 08DB80 800F46D0 0803D235 */ j .L800F48D4 +/* 08DB84 800F46D4 00000000 */ nop + +.L800F46D8: +/* 08DB88 800F46D8 3484003F */ ori $a0, $a0, 0x3f +/* 08DB8C 800F46DC 2685001A */ addiu $a1, $s4, 0x1a +/* 08DB90 800F46E0 24C60002 */ addiu $a2, $a2, 2 +/* 08DB94 800F46E4 3C078011 */ lui $a3, 0x8011 +/* 08DB98 800F46E8 8CE7D650 */ lw $a3, -0x29b0($a3) +/* 08DB9C 800F46EC 24020032 */ addiu $v0, $zero, 0x32 +/* 08DBA0 800F46F0 AFA20010 */ sw $v0, 0x10($sp) +/* 08DBA4 800F46F4 0803D233 */ j .L800F48CC +/* 08DBA8 800F46F8 AFA80014 */ sw $t0, 0x14($sp) + +.L800F46FC: +/* 08DBAC 800F46FC 3C04001D */ lui $a0, 0x1d +/* 08DBB0 800F4700 34840041 */ ori $a0, $a0, 0x41 +/* 08DBB4 800F4704 26850004 */ addiu $a1, $s4, 4 +/* 08DBB8 800F4708 24D20002 */ addiu $s2, $a2, 2 +/* 08DBBC 800F470C 0240302D */ daddu $a2, $s2, $zero +/* 08DBC0 800F4710 3C108011 */ lui $s0, 0x8011 +/* 08DBC4 800F4714 2610D650 */ addiu $s0, $s0, -0x29b0 +/* 08DBC8 800F4718 8E070000 */ lw $a3, ($s0) +/* 08DBCC 800F471C 24110032 */ addiu $s1, $zero, 0x32 +/* 08DBD0 800F4720 AFB10010 */ sw $s1, 0x10($sp) +/* 08DBD4 800F4724 0C04993B */ jal draw_string +/* 08DBD8 800F4728 AFA80014 */ sw $t0, 0x14($sp) +/* 08DBDC 800F472C 2685005E */ addiu $a1, $s4, 0x5e +/* 08DBE0 800F4730 0240302D */ daddu $a2, $s2, $zero +/* 08DBE4 800F4734 AFB10010 */ sw $s1, 0x10($sp) +/* 08DBE8 800F4738 8E630000 */ lw $v1, ($s3) +/* 08DBEC 800F473C 8E020000 */ lw $v0, ($s0) +/* 08DBF0 800F4740 24130003 */ addiu $s3, $zero, 3 +/* 08DBF4 800F4744 AFB30018 */ sw $s3, 0x18($sp) +/* 08DBF8 800F4748 AFA20014 */ sw $v0, 0x14($sp) +/* 08DBFC 800F474C 8C640320 */ lw $a0, 0x320($v1) +/* 08DC00 800F4750 0C049DA7 */ jal draw_number +/* 08DC04 800F4754 24070001 */ addiu $a3, $zero, 1 +/* 08DC08 800F4758 0803D1EF */ j .L800F47BC +/* 08DC0C 800F475C 24040002 */ addiu $a0, $zero, 2 + +.L800F4760: +/* 08DC10 800F4760 34840042 */ ori $a0, $a0, 0x42 +/* 08DC14 800F4764 26850006 */ addiu $a1, $s4, 6 +/* 08DC18 800F4768 24D20002 */ addiu $s2, $a2, 2 +/* 08DC1C 800F476C 0240302D */ daddu $a2, $s2, $zero +/* 08DC20 800F4770 3C108011 */ lui $s0, 0x8011 +/* 08DC24 800F4774 2610D650 */ addiu $s0, $s0, -0x29b0 +/* 08DC28 800F4778 8E070000 */ lw $a3, ($s0) +/* 08DC2C 800F477C 24110032 */ addiu $s1, $zero, 0x32 +/* 08DC30 800F4780 AFB10010 */ sw $s1, 0x10($sp) +/* 08DC34 800F4784 0C04993B */ jal draw_string +/* 08DC38 800F4788 AFA80014 */ sw $t0, 0x14($sp) +/* 08DC3C 800F478C 2685005E */ addiu $a1, $s4, 0x5e +/* 08DC40 800F4790 0240302D */ daddu $a2, $s2, $zero +/* 08DC44 800F4794 AFB10010 */ sw $s1, 0x10($sp) +/* 08DC48 800F4798 8E630000 */ lw $v1, ($s3) +/* 08DC4C 800F479C 8E020000 */ lw $v0, ($s0) +/* 08DC50 800F47A0 24130003 */ addiu $s3, $zero, 3 +/* 08DC54 800F47A4 AFB30018 */ sw $s3, 0x18($sp) +/* 08DC58 800F47A8 AFA20014 */ sw $v0, 0x14($sp) +/* 08DC5C 800F47AC 8C640320 */ lw $a0, 0x320($v1) +/* 08DC60 800F47B0 0C049DA7 */ jal draw_number +/* 08DC64 800F47B4 24070001 */ addiu $a3, $zero, 1 +/* 08DC68 800F47B8 0260202D */ daddu $a0, $s3, $zero +.L800F47BC: +/* 08DC6C 800F47BC 26850072 */ addiu $a1, $s4, 0x72 +/* 08DC70 800F47C0 0240302D */ daddu $a2, $s2, $zero +/* 08DC74 800F47C4 8E020000 */ lw $v0, ($s0) +/* 08DC78 800F47C8 24070001 */ addiu $a3, $zero, 1 +/* 08DC7C 800F47CC AFB10010 */ sw $s1, 0x10($sp) +/* 08DC80 800F47D0 AFB30018 */ sw $s3, 0x18($sp) +/* 08DC84 800F47D4 0C049DA7 */ jal draw_number +/* 08DC88 800F47D8 AFA20014 */ sw $v0, 0x14($sp) +/* 08DC8C 800F47DC 0803D235 */ j .L800F48D4 +/* 08DC90 800F47E0 00000000 */ nop + +/* 08DC94 800F47E4 3C04001F */ lui $a0, 0x1f +/* 08DC98 800F47E8 34840032 */ ori $a0, $a0, 0x32 +/* 08DC9C 800F47EC 2685001B */ addiu $a1, $s4, 0x1b +/* 08DCA0 800F47F0 24C60002 */ addiu $a2, $a2, 2 +/* 08DCA4 800F47F4 3C078011 */ lui $a3, 0x8011 +/* 08DCA8 800F47F8 8CE7D650 */ lw $a3, -0x29b0($a3) +/* 08DCAC 800F47FC 0803D230 */ j .L800F48C0 +/* 08DCB0 800F4800 24020032 */ addiu $v0, $zero, 0x32 + +/* 08DCB4 800F4804 3C04001F */ lui $a0, 0x1f +/* 08DCB8 800F4808 34840033 */ ori $a0, $a0, 0x33 +/* 08DCBC 800F480C 26850017 */ addiu $a1, $s4, 0x17 +/* 08DCC0 800F4810 24C60002 */ addiu $a2, $a2, 2 +/* 08DCC4 800F4814 3C078011 */ lui $a3, 0x8011 +/* 08DCC8 800F4818 8CE7D650 */ lw $a3, -0x29b0($a3) +/* 08DCCC 800F481C 0803D230 */ j .L800F48C0 +/* 08DCD0 800F4820 24020032 */ addiu $v0, $zero, 0x32 + +/* 08DCD4 800F4824 3C04001D */ lui $a0, 0x1d +/* 08DCD8 800F4828 348400D7 */ ori $a0, $a0, 0xd7 +/* 08DCDC 800F482C 26850004 */ addiu $a1, $s4, 4 +/* 08DCE0 800F4830 24C60002 */ addiu $a2, $a2, 2 +/* 08DCE4 800F4834 3C078011 */ lui $a3, 0x8011 +/* 08DCE8 800F4838 8CE7D650 */ lw $a3, -0x29b0($a3) +/* 08DCEC 800F483C 0803D230 */ j .L800F48C0 +/* 08DCF0 800F4840 24020032 */ addiu $v0, $zero, 0x32 + +/* 08DCF4 800F4844 3C04001D */ lui $a0, 0x1d +/* 08DCF8 800F4848 348400CE */ ori $a0, $a0, 0xce +/* 08DCFC 800F484C 26850008 */ addiu $a1, $s4, 8 +/* 08DD00 800F4850 24C60002 */ addiu $a2, $a2, 2 +/* 08DD04 800F4854 3C078011 */ lui $a3, 0x8011 +/* 08DD08 800F4858 8CE7D650 */ lw $a3, -0x29b0($a3) +/* 08DD0C 800F485C 0803D230 */ j .L800F48C0 +/* 08DD10 800F4860 24020032 */ addiu $v0, $zero, 0x32 + +/* 08DD14 800F4864 3C04001D */ lui $a0, 0x1d +/* 08DD18 800F4868 348400D0 */ ori $a0, $a0, 0xd0 +/* 08DD1C 800F486C 26850006 */ addiu $a1, $s4, 6 +/* 08DD20 800F4870 24C60002 */ addiu $a2, $a2, 2 +/* 08DD24 800F4874 3C078011 */ lui $a3, 0x8011 +/* 08DD28 800F4878 8CE7D650 */ lw $a3, -0x29b0($a3) +/* 08DD2C 800F487C 0803D230 */ j .L800F48C0 +/* 08DD30 800F4880 24020032 */ addiu $v0, $zero, 0x32 + +/* 08DD34 800F4884 3C04001D */ lui $a0, 0x1d +/* 08DD38 800F4888 3484003F */ ori $a0, $a0, 0x3f +/* 08DD3C 800F488C 2685001B */ addiu $a1, $s4, 0x1b +/* 08DD40 800F4890 24C60002 */ addiu $a2, $a2, 2 +/* 08DD44 800F4894 3C078011 */ lui $a3, 0x8011 +/* 08DD48 800F4898 8CE7D650 */ lw $a3, -0x29b0($a3) +/* 08DD4C 800F489C 0803D230 */ j .L800F48C0 +/* 08DD50 800F48A0 24020032 */ addiu $v0, $zero, 0x32 + +/* 08DD54 800F48A4 3C04001D */ lui $a0, 0x1d +/* 08DD58 800F48A8 3484003D */ ori $a0, $a0, 0x3d +/* 08DD5C 800F48AC 26850008 */ addiu $a1, $s4, 8 +/* 08DD60 800F48B0 24C60002 */ addiu $a2, $a2, 2 +/* 08DD64 800F48B4 3C078011 */ lui $a3, 0x8011 +/* 08DD68 800F48B8 8CE7D650 */ lw $a3, -0x29b0($a3) +/* 08DD6C 800F48BC 24020034 */ addiu $v0, $zero, 0x34 +.L800F48C0: +/* 08DD70 800F48C0 AFA20010 */ sw $v0, 0x10($sp) +/* 08DD74 800F48C4 24020001 */ addiu $v0, $zero, 1 +/* 08DD78 800F48C8 AFA20014 */ sw $v0, 0x14($sp) +.L800F48CC: +/* 08DD7C 800F48CC 0C04993B */ jal draw_string +/* 08DD80 800F48D0 00000000 */ nop +.L800F48D4: +/* 08DD84 800F48D4 8FBF0034 */ lw $ra, 0x34($sp) +/* 08DD88 800F48D8 8FB40030 */ lw $s4, 0x30($sp) +/* 08DD8C 800F48DC 8FB3002C */ lw $s3, 0x2c($sp) +/* 08DD90 800F48E0 8FB20028 */ lw $s2, 0x28($sp) +/* 08DD94 800F48E4 8FB10024 */ lw $s1, 0x24($sp) +/* 08DD98 800F48E8 8FB00020 */ lw $s0, 0x20($sp) +/* 08DD9C 800F48EC 03E00008 */ jr $ra +/* 08DDA0 800F48F0 27BD0038 */ addiu $sp, $sp, 0x38 + +/* 08DDA4 800F48F4 3C028011 */ lui $v0, 0x8011 +/* 08DDA8 800F48F8 8042D690 */ lb $v0, -0x2970($v0) +/* 08DDAC 800F48FC 3C038011 */ lui $v1, 0x8011 +/* 08DDB0 800F4900 8C63D69C */ lw $v1, -0x2964($v1) +/* 08DDB4 800F4904 3C078011 */ lui $a3, 0x8011 +/* 08DDB8 800F4908 8CE7D650 */ lw $a3, -0x29b0($a3) +/* 08DDBC 800F490C 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 08DDC0 800F4910 AFA20010 */ sw $v0, 0x10($sp) +/* 08DDC4 800F4914 3C028011 */ lui $v0, 0x8011 +/* 08DDC8 800F4918 8C42D648 */ lw $v0, -0x29b8($v0) +/* 08DDCC 800F491C AFBF0018 */ sw $ra, 0x18($sp) +/* 08DDD0 800F4920 AFA00014 */ sw $zero, 0x14($sp) +/* 08DDD4 800F4924 00021080 */ sll $v0, $v0, 2 +/* 08DDD8 800F4928 00621821 */ addu $v1, $v1, $v0 +/* 08DDDC 800F492C 8C640294 */ lw $a0, 0x294($v1) +/* 08DDE0 800F4930 0C04993B */ jal draw_string +/* 08DDE4 800F4934 24A50008 */ addiu $a1, $a1, 8 +/* 08DDE8 800F4938 8FBF0018 */ lw $ra, 0x18($sp) +/* 08DDEC 800F493C 03E00008 */ jr $ra +/* 08DDF0 800F4940 27BD0020 */ addiu $sp, $sp, 0x20 + +/* 08DDF4 800F4944 3C028011 */ lui $v0, 0x8011 +/* 08DDF8 800F4948 8042D68E */ lb $v0, -0x2972($v0) +/* 08DDFC 800F494C 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 08DE00 800F4950 AFB00018 */ sw $s0, 0x18($sp) +/* 08DE04 800F4954 00A0802D */ daddu $s0, $a1, $zero +/* 08DE08 800F4958 AFB1001C */ sw $s1, 0x1c($sp) +/* 08DE0C 800F495C 24D10007 */ addiu $s1, $a2, 7 +/* 08DE10 800F4960 104000A9 */ beqz $v0, .L800F4C08 +/* 08DE14 800F4964 AFBF0020 */ sw $ra, 0x20($sp) +/* 08DE18 800F4968 3C028011 */ lui $v0, 0x8011 +/* 08DE1C 800F496C 8C42D69C */ lw $v0, -0x2964($v0) +/* 08DE20 800F4970 8C430318 */ lw $v1, 0x318($v0) +/* 08DE24 800F4974 2C62000E */ sltiu $v0, $v1, 0xe +/* 08DE28 800F4978 104000A3 */ beqz $v0, .L800F4C08 +/* 08DE2C 800F497C 00031080 */ sll $v0, $v1, 2 +/* 08DE30 800F4980 3C018011 */ lui $at, 0x8011 +/* 08DE34 800F4984 00220821 */ addu $at, $at, $v0 +/* 08DE38 800F4988 8C22C8E0 */ lw $v0, -0x3720($at) +/* 08DE3C 800F498C 00400008 */ jr $v0 +/* 08DE40 800F4990 00000000 */ nop +/* 08DE44 800F4994 3C04001D */ lui $a0, 0x1d +/* 08DE48 800F4998 34840061 */ ori $a0, $a0, 0x61 +/* 08DE4C 800F499C 0C04991D */ jal get_string_width +/* 08DE50 800F49A0 0000282D */ daddu $a1, $zero, $zero +/* 08DE54 800F49A4 3C04001D */ lui $a0, 0x1d +/* 08DE58 800F49A8 0803D2F7 */ j .L800F4BDC +/* 08DE5C 800F49AC 34840061 */ ori $a0, $a0, 0x61 + +/* 08DE60 800F49B0 3C04001D */ lui $a0, 0x1d +/* 08DE64 800F49B4 34840063 */ ori $a0, $a0, 0x63 +/* 08DE68 800F49B8 0C04991D */ jal get_string_width +/* 08DE6C 800F49BC 0000282D */ daddu $a1, $zero, $zero +/* 08DE70 800F49C0 3C04001D */ lui $a0, 0x1d +/* 08DE74 800F49C4 34840063 */ ori $a0, $a0, 0x63 +/* 08DE78 800F49C8 26050048 */ addiu $a1, $s0, 0x48 +/* 08DE7C 800F49CC 00021FC2 */ srl $v1, $v0, 0x1f +/* 08DE80 800F49D0 00621821 */ addu $v1, $v1, $v0 +/* 08DE84 800F49D4 00031843 */ sra $v1, $v1, 1 +/* 08DE88 800F49D8 00A32823 */ subu $a1, $a1, $v1 +/* 08DE8C 800F49DC 0803D2FD */ j .L800F4BF4 +/* 08DE90 800F49E0 2626FFFC */ addiu $a2, $s1, -4 + +/* 08DE94 800F49E4 3C04001D */ lui $a0, 0x1d +/* 08DE98 800F49E8 34840064 */ ori $a0, $a0, 0x64 +/* 08DE9C 800F49EC 0C04991D */ jal get_string_width +/* 08DEA0 800F49F0 0000282D */ daddu $a1, $zero, $zero +/* 08DEA4 800F49F4 3C04001D */ lui $a0, 0x1d +/* 08DEA8 800F49F8 34840064 */ ori $a0, $a0, 0x64 +/* 08DEAC 800F49FC 26050048 */ addiu $a1, $s0, 0x48 +/* 08DEB0 800F4A00 00021FC2 */ srl $v1, $v0, 0x1f +/* 08DEB4 800F4A04 00621821 */ addu $v1, $v1, $v0 +/* 08DEB8 800F4A08 00031843 */ sra $v1, $v1, 1 +/* 08DEBC 800F4A0C 00A32823 */ subu $a1, $a1, $v1 +/* 08DEC0 800F4A10 0803D2FD */ j .L800F4BF4 +/* 08DEC4 800F4A14 2626FFFC */ addiu $a2, $s1, -4 + +/* 08DEC8 800F4A18 3C04001D */ lui $a0, 0x1d +/* 08DECC 800F4A1C 34840070 */ ori $a0, $a0, 0x70 +/* 08DED0 800F4A20 0C04991D */ jal get_string_width +/* 08DED4 800F4A24 0000282D */ daddu $a1, $zero, $zero +/* 08DED8 800F4A28 3C04001D */ lui $a0, 0x1d +/* 08DEDC 800F4A2C 34840070 */ ori $a0, $a0, 0x70 +/* 08DEE0 800F4A30 26050040 */ addiu $a1, $s0, 0x40 +/* 08DEE4 800F4A34 00021FC2 */ srl $v1, $v0, 0x1f +/* 08DEE8 800F4A38 00621821 */ addu $v1, $v1, $v0 +/* 08DEEC 800F4A3C 00031843 */ sra $v1, $v1, 1 +/* 08DEF0 800F4A40 00A32823 */ subu $a1, $a1, $v1 +/* 08DEF4 800F4A44 0803D2FD */ j .L800F4BF4 +/* 08DEF8 800F4A48 2626FFFC */ addiu $a2, $s1, -4 + +/* 08DEFC 800F4A4C 3C04001D */ lui $a0, 0x1d +/* 08DF00 800F4A50 3484006A */ ori $a0, $a0, 0x6a +/* 08DF04 800F4A54 0C04991D */ jal get_string_width +/* 08DF08 800F4A58 0000282D */ daddu $a1, $zero, $zero +/* 08DF0C 800F4A5C 3C04001D */ lui $a0, 0x1d +/* 08DF10 800F4A60 3484006A */ ori $a0, $a0, 0x6a +/* 08DF14 800F4A64 26050044 */ addiu $a1, $s0, 0x44 +/* 08DF18 800F4A68 00021FC2 */ srl $v1, $v0, 0x1f +/* 08DF1C 800F4A6C 00621821 */ addu $v1, $v1, $v0 +/* 08DF20 800F4A70 00031843 */ sra $v1, $v1, 1 +/* 08DF24 800F4A74 00A32823 */ subu $a1, $a1, $v1 +/* 08DF28 800F4A78 0803D2FD */ j .L800F4BF4 +/* 08DF2C 800F4A7C 2626FFFC */ addiu $a2, $s1, -4 + +/* 08DF30 800F4A80 3C04001D */ lui $a0, 0x1d +/* 08DF34 800F4A84 34840065 */ ori $a0, $a0, 0x65 +/* 08DF38 800F4A88 0C04991D */ jal get_string_width +/* 08DF3C 800F4A8C 0000282D */ daddu $a1, $zero, $zero +/* 08DF40 800F4A90 3C04001D */ lui $a0, 0x1d +/* 08DF44 800F4A94 34840065 */ ori $a0, $a0, 0x65 +/* 08DF48 800F4A98 0803D2F8 */ j .L800F4BE0 +/* 08DF4C 800F4A9C 2605003C */ addiu $a1, $s0, 0x3c + +/* 08DF50 800F4AA0 3C04001D */ lui $a0, 0x1d +/* 08DF54 800F4AA4 34840066 */ ori $a0, $a0, 0x66 +/* 08DF58 800F4AA8 0C04991D */ jal get_string_width +/* 08DF5C 800F4AAC 0000282D */ daddu $a1, $zero, $zero +/* 08DF60 800F4AB0 3C04001D */ lui $a0, 0x1d +/* 08DF64 800F4AB4 0803D2F7 */ j .L800F4BDC +/* 08DF68 800F4AB8 34840066 */ ori $a0, $a0, 0x66 + +/* 08DF6C 800F4ABC 3C04001D */ lui $a0, 0x1d +/* 08DF70 800F4AC0 34840067 */ ori $a0, $a0, 0x67 +/* 08DF74 800F4AC4 0C04991D */ jal get_string_width +/* 08DF78 800F4AC8 0000282D */ daddu $a1, $zero, $zero +/* 08DF7C 800F4ACC 3C04001D */ lui $a0, 0x1d +/* 08DF80 800F4AD0 0803D2F7 */ j .L800F4BDC +/* 08DF84 800F4AD4 34840067 */ ori $a0, $a0, 0x67 + +/* 08DF88 800F4AD8 3C04001D */ lui $a0, 0x1d +/* 08DF8C 800F4ADC 3484006F */ ori $a0, $a0, 0x6f +/* 08DF90 800F4AE0 0C04991D */ jal get_string_width +/* 08DF94 800F4AE4 0000282D */ daddu $a1, $zero, $zero +/* 08DF98 800F4AE8 3C04001D */ lui $a0, 0x1d +/* 08DF9C 800F4AEC 3484006F */ ori $a0, $a0, 0x6f +/* 08DFA0 800F4AF0 26050048 */ addiu $a1, $s0, 0x48 +/* 08DFA4 800F4AF4 00021FC2 */ srl $v1, $v0, 0x1f +/* 08DFA8 800F4AF8 00621821 */ addu $v1, $v1, $v0 +/* 08DFAC 800F4AFC 00031843 */ sra $v1, $v1, 1 +/* 08DFB0 800F4B00 00A32823 */ subu $a1, $a1, $v1 +/* 08DFB4 800F4B04 0803D2FD */ j .L800F4BF4 +/* 08DFB8 800F4B08 2626FFFC */ addiu $a2, $s1, -4 + +/* 08DFBC 800F4B0C 3C04001D */ lui $a0, 0x1d +/* 08DFC0 800F4B10 3484006D */ ori $a0, $a0, 0x6d +/* 08DFC4 800F4B14 0C04991D */ jal get_string_width +/* 08DFC8 800F4B18 0000282D */ daddu $a1, $zero, $zero +/* 08DFCC 800F4B1C 3C04001D */ lui $a0, 0x1d +/* 08DFD0 800F4B20 3484006D */ ori $a0, $a0, 0x6d +/* 08DFD4 800F4B24 26050038 */ addiu $a1, $s0, 0x38 +/* 08DFD8 800F4B28 00021FC2 */ srl $v1, $v0, 0x1f +/* 08DFDC 800F4B2C 00621821 */ addu $v1, $v1, $v0 +/* 08DFE0 800F4B30 00031843 */ sra $v1, $v1, 1 +/* 08DFE4 800F4B34 00A32823 */ subu $a1, $a1, $v1 +/* 08DFE8 800F4B38 0803D2FD */ j .L800F4BF4 +/* 08DFEC 800F4B3C 2626FFFC */ addiu $a2, $s1, -4 + +/* 08DFF0 800F4B40 3C04001D */ lui $a0, 0x1d +/* 08DFF4 800F4B44 348400D6 */ ori $a0, $a0, 0xd6 +/* 08DFF8 800F4B48 0C04991D */ jal get_string_width +/* 08DFFC 800F4B4C 0000282D */ daddu $a1, $zero, $zero +/* 08E000 800F4B50 3C04001D */ lui $a0, 0x1d +/* 08E004 800F4B54 0803D2F7 */ j .L800F4BDC +/* 08E008 800F4B58 348400D6 */ ori $a0, $a0, 0xd6 + +/* 08E00C 800F4B5C 3C04001D */ lui $a0, 0x1d +/* 08E010 800F4B60 3484006C */ ori $a0, $a0, 0x6c +/* 08E014 800F4B64 0C04991D */ jal get_string_width +/* 08E018 800F4B68 0000282D */ daddu $a1, $zero, $zero +/* 08E01C 800F4B6C 3C04001D */ lui $a0, 0x1d +/* 08E020 800F4B70 3484006C */ ori $a0, $a0, 0x6c +/* 08E024 800F4B74 26050040 */ addiu $a1, $s0, 0x40 +/* 08E028 800F4B78 00021FC2 */ srl $v1, $v0, 0x1f +/* 08E02C 800F4B7C 00621821 */ addu $v1, $v1, $v0 +/* 08E030 800F4B80 00031843 */ sra $v1, $v1, 1 +/* 08E034 800F4B84 00A32823 */ subu $a1, $a1, $v1 +/* 08E038 800F4B88 0803D2FD */ j .L800F4BF4 +/* 08E03C 800F4B8C 2626FFFC */ addiu $a2, $s1, -4 + +/* 08E040 800F4B90 3C04001D */ lui $a0, 0x1d +/* 08E044 800F4B94 3484006D */ ori $a0, $a0, 0x6d +/* 08E048 800F4B98 0C04991D */ jal get_string_width +/* 08E04C 800F4B9C 0000282D */ daddu $a1, $zero, $zero +/* 08E050 800F4BA0 3C04001D */ lui $a0, 0x1d +/* 08E054 800F4BA4 3484006D */ ori $a0, $a0, 0x6d +/* 08E058 800F4BA8 26050040 */ addiu $a1, $s0, 0x40 +/* 08E05C 800F4BAC 00021FC2 */ srl $v1, $v0, 0x1f +/* 08E060 800F4BB0 00621821 */ addu $v1, $v1, $v0 +/* 08E064 800F4BB4 00031843 */ sra $v1, $v1, 1 +/* 08E068 800F4BB8 00A32823 */ subu $a1, $a1, $v1 +/* 08E06C 800F4BBC 0803D2FD */ j .L800F4BF4 +/* 08E070 800F4BC0 2626FFFC */ addiu $a2, $s1, -4 + +/* 08E074 800F4BC4 3C04001D */ lui $a0, 0x1d +/* 08E078 800F4BC8 34840062 */ ori $a0, $a0, 0x62 +/* 08E07C 800F4BCC 0C04991D */ jal get_string_width +/* 08E080 800F4BD0 0000282D */ daddu $a1, $zero, $zero +/* 08E084 800F4BD4 3C04001D */ lui $a0, 0x1d +/* 08E088 800F4BD8 34840062 */ ori $a0, $a0, 0x62 +.L800F4BDC: +/* 08E08C 800F4BDC 26050048 */ addiu $a1, $s0, 0x48 +.L800F4BE0: +/* 08E090 800F4BE0 00021FC2 */ srl $v1, $v0, 0x1f +/* 08E094 800F4BE4 00621821 */ addu $v1, $v1, $v0 +/* 08E098 800F4BE8 00031843 */ sra $v1, $v1, 1 +/* 08E09C 800F4BEC 00A32823 */ subu $a1, $a1, $v1 +/* 08E0A0 800F4BF0 0220302D */ daddu $a2, $s1, $zero +.L800F4BF4: +/* 08E0A4 800F4BF4 240700FF */ addiu $a3, $zero, 0xff +/* 08E0A8 800F4BF8 2402000F */ addiu $v0, $zero, 0xf +/* 08E0AC 800F4BFC AFA20010 */ sw $v0, 0x10($sp) +/* 08E0B0 800F4C00 0C04993B */ jal draw_string +/* 08E0B4 800F4C04 AFA00014 */ sw $zero, 0x14($sp) +.L800F4C08: +/* 08E0B8 800F4C08 8FBF0020 */ lw $ra, 0x20($sp) +/* 08E0BC 800F4C0C 8FB1001C */ lw $s1, 0x1c($sp) +/* 08E0C0 800F4C10 8FB00018 */ lw $s0, 0x18($sp) +/* 08E0C4 800F4C14 03E00008 */ jr $ra +/* 08E0C8 800F4C18 27BD0028 */ addiu $sp, $sp, 0x28 + +/* 08E0CC 800F4C1C 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 08E0D0 800F4C20 3C04001D */ lui $a0, 0x1d +/* 08E0D4 800F4C24 34840069 */ ori $a0, $a0, 0x69 +/* 08E0D8 800F4C28 24A5000B */ addiu $a1, $a1, 0xb +/* 08E0DC 800F4C2C 24C60008 */ addiu $a2, $a2, 8 +/* 08E0E0 800F4C30 3C038011 */ lui $v1, 0x8011 +/* 08E0E4 800F4C34 8063D699 */ lb $v1, -0x2967($v1) +/* 08E0E8 800F4C38 24020001 */ addiu $v0, $zero, 1 +/* 08E0EC 800F4C3C 14620003 */ bne $v1, $v0, .L800F4C4C +/* 08E0F0 800F4C40 AFBF0018 */ sw $ra, 0x18($sp) +/* 08E0F4 800F4C44 3C04001D */ lui $a0, 0x1d +/* 08E0F8 800F4C48 34840068 */ ori $a0, $a0, 0x68 +.L800F4C4C: +/* 08E0FC 800F4C4C 2402000F */ addiu $v0, $zero, 0xf +/* 08E100 800F4C50 240700FF */ addiu $a3, $zero, 0xff +/* 08E104 800F4C54 AFA20010 */ sw $v0, 0x10($sp) +/* 08E108 800F4C58 0C04993B */ jal draw_string +/* 08E10C 800F4C5C AFA00014 */ sw $zero, 0x14($sp) +/* 08E110 800F4C60 8FBF0018 */ lw $ra, 0x18($sp) +/* 08E114 800F4C64 03E00008 */ jr $ra +/* 08E118 800F4C68 27BD0020 */ addiu $sp, $sp, 0x20 + +/* 08E11C 800F4C6C 3C028011 */ lui $v0, 0x8011 +/* 08E120 800F4C70 8C42D69C */ lw $v0, -0x2964($v0) +/* 08E124 800F4C74 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 08E128 800F4C78 AFBF0014 */ sw $ra, 0x14($sp) +/* 08E12C 800F4C7C AFB00010 */ sw $s0, 0x10($sp) +/* 08E130 800F4C80 8C430318 */ lw $v1, 0x318($v0) +/* 08E134 800F4C84 24020003 */ addiu $v0, $zero, 3 +/* 08E138 800F4C88 10620005 */ beq $v1, $v0, .L800F4CA0 +/* 08E13C 800F4C8C 24020005 */ addiu $v0, $zero, 5 +/* 08E140 800F4C90 10620008 */ beq $v1, $v0, .L800F4CB4 +/* 08E144 800F4C94 24A50011 */ addiu $a1, $a1, 0x11 +/* 08E148 800F4C98 0803D338 */ j .L800F4CE0 +/* 08E14C 800F4C9C 00000000 */ nop + +.L800F4CA0: +/* 08E150 800F4CA0 24A50010 */ addiu $a1, $a1, 0x10 +/* 08E154 800F4CA4 3C108011 */ lui $s0, 0x8011 +/* 08E158 800F4CA8 8E10D660 */ lw $s0, -0x29a0($s0) +/* 08E15C 800F4CAC 0803D330 */ j .L800F4CC0 +/* 08E160 800F4CB0 24C60010 */ addiu $a2, $a2, 0x10 + +.L800F4CB4: +/* 08E164 800F4CB4 3C108011 */ lui $s0, 0x8011 +/* 08E168 800F4CB8 8E10D660 */ lw $s0, -0x29a0($s0) +/* 08E16C 800F4CBC 24C60011 */ addiu $a2, $a2, 0x11 +.L800F4CC0: +/* 08E170 800F4CC0 0C051261 */ jal set_icon_render_pos +/* 08E174 800F4CC4 0200202D */ daddu $a0, $s0, $zero +/* 08E178 800F4CC8 3C058011 */ lui $a1, 0x8011 +/* 08E17C 800F4CCC 8CA5D650 */ lw $a1, -0x29b0($a1) +/* 08E180 800F4CD0 0C0513AC */ jal func_80144EB0 +/* 08E184 800F4CD4 0200202D */ daddu $a0, $s0, $zero +/* 08E188 800F4CD8 0C0511EA */ jal draw_icon_0 +/* 08E18C 800F4CDC 0200202D */ daddu $a0, $s0, $zero +.L800F4CE0: +/* 08E190 800F4CE0 8FBF0014 */ lw $ra, 0x14($sp) +/* 08E194 800F4CE4 8FB00010 */ lw $s0, 0x10($sp) +/* 08E198 800F4CE8 03E00008 */ jr $ra +/* 08E19C 800F4CEC 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 08E1A0 800F4CF0 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* 08E1A4 800F4CF4 3C04001D */ lui $a0, 0x1d +/* 08E1A8 800F4CF8 3484006B */ ori $a0, $a0, 0x6b +/* 08E1AC 800F4CFC 2402000F */ addiu $v0, $zero, 0xf +/* 08E1B0 800F4D00 24A50010 */ addiu $a1, $a1, 0x10 +/* 08E1B4 800F4D04 24C60002 */ addiu $a2, $a2, 2 +/* 08E1B8 800F4D08 240700FF */ addiu $a3, $zero, 0xff +/* 08E1BC 800F4D0C AFBF0018 */ sw $ra, 0x18($sp) +/* 08E1C0 800F4D10 AFA20010 */ sw $v0, 0x10($sp) +/* 08E1C4 800F4D14 0C04993B */ jal draw_string +/* 08E1C8 800F4D18 AFA00014 */ sw $zero, 0x14($sp) +/* 08E1CC 800F4D1C 8FBF0018 */ lw $ra, 0x18($sp) +/* 08E1D0 800F4D20 03E00008 */ jr $ra +/* 08E1D4 800F4D24 27BD0020 */ addiu $sp, $sp, 0x20 + +/* 08E1D8 800F4D28 27BDFFC8 */ addiu $sp, $sp, -0x38 +/* 08E1DC 800F4D2C AFB40030 */ sw $s4, 0x30($sp) +/* 08E1E0 800F4D30 00A0A02D */ daddu $s4, $a1, $zero +/* 08E1E4 800F4D34 AFB00020 */ sw $s0, 0x20($sp) +/* 08E1E8 800F4D38 3C108011 */ lui $s0, 0x8011 +/* 08E1EC 800F4D3C 8E10D660 */ lw $s0, -0x29a0($s0) +/* 08E1F0 800F4D40 3C058011 */ lui $a1, 0x8011 +/* 08E1F4 800F4D44 8CA5D650 */ lw $a1, -0x29b0($a1) +/* 08E1F8 800F4D48 AFB3002C */ sw $s3, 0x2c($sp) +/* 08E1FC 800F4D4C 00C0982D */ daddu $s3, $a2, $zero +/* 08E200 800F4D50 AFB10024 */ sw $s1, 0x24($sp) +/* 08E204 800F4D54 2691000E */ addiu $s1, $s4, 0xe +/* 08E208 800F4D58 AFB20028 */ sw $s2, 0x28($sp) +/* 08E20C 800F4D5C 26720009 */ addiu $s2, $s3, 9 +/* 08E210 800F4D60 AFBF0034 */ sw $ra, 0x34($sp) +/* 08E214 800F4D64 0C0513AC */ jal func_80144EB0 +/* 08E218 800F4D68 0200202D */ daddu $a0, $s0, $zero +/* 08E21C 800F4D6C 3C028011 */ lui $v0, 0x8011 +/* 08E220 800F4D70 8C42D69C */ lw $v0, -0x2964($v0) +/* 08E224 800F4D74 8C430318 */ lw $v1, 0x318($v0) +/* 08E228 800F4D78 24020003 */ addiu $v0, $zero, 3 +/* 08E22C 800F4D7C 14620004 */ bne $v1, $v0, .L800F4D90 +/* 08E230 800F4D80 0200202D */ daddu $a0, $s0, $zero +/* 08E234 800F4D84 0220282D */ daddu $a1, $s1, $zero +/* 08E238 800F4D88 0803D366 */ j .L800F4D98 +/* 08E23C 800F4D8C 0240302D */ daddu $a2, $s2, $zero + +.L800F4D90: +/* 08E240 800F4D90 0220282D */ daddu $a1, $s1, $zero +/* 08E244 800F4D94 2666000A */ addiu $a2, $s3, 0xa +.L800F4D98: +/* 08E248 800F4D98 0C051261 */ jal set_icon_render_pos +/* 08E24C 800F4D9C 00000000 */ nop +/* 08E250 800F4DA0 0C0511EA */ jal draw_icon_0 +/* 08E254 800F4DA4 0200202D */ daddu $a0, $s0, $zero +/* 08E258 800F4DA8 2685001A */ addiu $a1, $s4, 0x1a +/* 08E25C 800F4DAC 3C108011 */ lui $s0, 0x8011 +/* 08E260 800F4DB0 8E10D664 */ lw $s0, -0x299c($s0) +/* 08E264 800F4DB4 2666000B */ addiu $a2, $s3, 0xb +/* 08E268 800F4DB8 0C051261 */ jal set_icon_render_pos +/* 08E26C 800F4DBC 0200202D */ daddu $a0, $s0, $zero +/* 08E270 800F4DC0 3C118011 */ lui $s1, 0x8011 +/* 08E274 800F4DC4 2631D650 */ addiu $s1, $s1, -0x29b0 +/* 08E278 800F4DC8 8E250000 */ lw $a1, ($s1) +/* 08E27C 800F4DCC 0C0513AC */ jal func_80144EB0 +/* 08E280 800F4DD0 0200202D */ daddu $a0, $s0, $zero +/* 08E284 800F4DD4 0C0511EA */ jal draw_icon_0 +/* 08E288 800F4DD8 0200202D */ daddu $a0, $s0, $zero +/* 08E28C 800F4DDC 3C028011 */ lui $v0, 0x8011 +/* 08E290 800F4DE0 8C42D69C */ lw $v0, -0x2964($v0) +/* 08E294 800F4DE4 8C430318 */ lw $v1, 0x318($v0) +/* 08E298 800F4DE8 24020003 */ addiu $v0, $zero, 3 +/* 08E29C 800F4DEC 1462000C */ bne $v1, $v0, .L800F4E20 +/* 08E2A0 800F4DF0 2685003A */ addiu $a1, $s4, 0x3a +/* 08E2A4 800F4DF4 26660004 */ addiu $a2, $s3, 4 +/* 08E2A8 800F4DF8 2402000A */ addiu $v0, $zero, 0xa +/* 08E2AC 800F4DFC AFA20010 */ sw $v0, 0x10($sp) +/* 08E2B0 800F4E00 3C028011 */ lui $v0, 0x8011 +/* 08E2B4 800F4E04 2442F290 */ addiu $v0, $v0, -0xd70 +/* 08E2B8 800F4E08 AFA30018 */ sw $v1, 0x18($sp) +/* 08E2BC 800F4E0C 9044000F */ lbu $a0, 0xf($v0) +/* 08E2C0 800F4E10 8E220000 */ lw $v0, ($s1) +/* 08E2C4 800F4E14 24070001 */ addiu $a3, $zero, 1 +/* 08E2C8 800F4E18 0C049DA7 */ jal draw_number +/* 08E2CC 800F4E1C AFA20014 */ sw $v0, 0x14($sp) +.L800F4E20: +/* 08E2D0 800F4E20 8FBF0034 */ lw $ra, 0x34($sp) +/* 08E2D4 800F4E24 8FB40030 */ lw $s4, 0x30($sp) +/* 08E2D8 800F4E28 8FB3002C */ lw $s3, 0x2c($sp) +/* 08E2DC 800F4E2C 8FB20028 */ lw $s2, 0x28($sp) +/* 08E2E0 800F4E30 8FB10024 */ lw $s1, 0x24($sp) +/* 08E2E4 800F4E34 8FB00020 */ lw $s0, 0x20($sp) +/* 08E2E8 800F4E38 03E00008 */ jr $ra +/* 08E2EC 800F4E3C 27BD0038 */ addiu $sp, $sp, 0x38 + +func_800F4E40: +/* 08E2F0 800F4E40 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 08E2F4 800F4E44 AFB00010 */ sw $s0, 0x10($sp) +/* 08E2F8 800F4E48 AFBF0014 */ sw $ra, 0x14($sp) +/* 08E2FC 800F4E4C 0C03A635 */ jal func_800E98D4 +/* 08E300 800F4E50 0080802D */ daddu $s0, $a0, $zero +/* 08E304 800F4E54 3C018011 */ lui $at, 0x8011 +/* 08E308 800F4E58 A022D69A */ sb $v0, -0x2966($at) +/* 08E30C 800F4E5C 0C03A625 */ jal func_800E9894 +/* 08E310 800F4E60 00000000 */ nop +/* 08E314 800F4E64 0C03A5E3 */ jal open_status_menu_short +/* 08E318 800F4E68 00000000 */ nop +/* 08E31C 800F4E6C 3C048011 */ lui $a0, 0x8011 +/* 08E320 800F4E70 2484D699 */ addiu $a0, $a0, -0x2967 +/* 08E324 800F4E74 3C068011 */ lui $a2, 0x8011 +/* 08E328 800F4E78 24C6D698 */ addiu $a2, $a2, -0x2968 +/* 08E32C 800F4E7C 3C018011 */ lui $at, 0x8011 +/* 08E330 800F4E80 AC30D69C */ sw $s0, -0x2964($at) +/* 08E334 800F4E84 A600032C */ sh $zero, 0x32c($s0) +/* 08E338 800F4E88 AE00031C */ sw $zero, 0x31c($s0) +/* 08E33C 800F4E8C AE000320 */ sw $zero, 0x320($s0) +/* 08E340 800F4E90 A0800000 */ sb $zero, ($a0) +/* 08E344 800F4E94 8E030318 */ lw $v1, 0x318($s0) +/* 08E348 800F4E98 24050001 */ addiu $a1, $zero, 1 +/* 08E34C 800F4E9C 28620064 */ slti $v0, $v1, 0x64 +/* 08E350 800F4EA0 1440000C */ bnez $v0, .L800F4ED4 +/* 08E354 800F4EA4 A0C50000 */ sb $a1, ($a2) +/* 08E358 800F4EA8 2462FF9C */ addiu $v0, $v1, -0x64 +/* 08E35C 800F4EAC AE020318 */ sw $v0, 0x318($s0) +/* 08E360 800F4EB0 0040182D */ daddu $v1, $v0, $zero +/* 08E364 800F4EB4 28620064 */ slti $v0, $v1, 0x64 +/* 08E368 800F4EB8 14400005 */ bnez $v0, .L800F4ED0 +/* 08E36C 800F4EBC A0850000 */ sb $a1, ($a0) +/* 08E370 800F4EC0 2462FF9C */ addiu $v0, $v1, -0x64 +/* 08E374 800F4EC4 AE020318 */ sw $v0, 0x318($s0) +/* 08E378 800F4EC8 24020002 */ addiu $v0, $zero, 2 +/* 08E37C 800F4ECC A0820000 */ sb $v0, ($a0) +.L800F4ED0: +/* 08E380 800F4ED0 A0C00000 */ sb $zero, ($a2) +.L800F4ED4: +/* 08E384 800F4ED4 3C058011 */ lui $a1, 0x8011 +/* 08E388 800F4ED8 8CA5D69C */ lw $a1, -0x2964($a1) +/* 08E38C 800F4EDC 24020001 */ addiu $v0, $zero, 1 +/* 08E390 800F4EE0 3C018011 */ lui $at, 0x8011 +/* 08E394 800F4EE4 A022D68E */ sb $v0, -0x2972($at) +/* 08E398 800F4EE8 24020006 */ addiu $v0, $zero, 6 +/* 08E39C 800F4EEC 3C018011 */ lui $at, 0x8011 +/* 08E3A0 800F4EF0 A022D68F */ sb $v0, -0x2971($at) +/* 08E3A4 800F4EF4 8CA20328 */ lw $v0, 0x328($a1) +/* 08E3A8 800F4EF8 8CA40324 */ lw $a0, 0x324($a1) +/* 08E3AC 800F4EFC 3C038011 */ lui $v1, 0x8011 +/* 08E3B0 800F4F00 2463D648 */ addiu $v1, $v1, -0x29b8 +/* 08E3B4 800F4F04 3C018011 */ lui $at, 0x8011 +/* 08E3B8 800F4F08 AC20D640 */ sw $zero, -0x29c0($at) +/* 08E3BC 800F4F0C AC620000 */ sw $v0, ($v1) +/* 08E3C0 800F4F10 0044102A */ slt $v0, $v0, $a0 +/* 08E3C4 800F4F14 14400002 */ bnez $v0, .L800F4F20 +/* 08E3C8 800F4F18 2482FFFF */ addiu $v0, $a0, -1 +/* 08E3CC 800F4F1C AC620000 */ sw $v0, ($v1) +.L800F4F20: +/* 08E3D0 800F4F20 8C620000 */ lw $v0, ($v1) +/* 08E3D4 800F4F24 3C048011 */ lui $a0, 0x8011 +/* 08E3D8 800F4F28 2484D656 */ addiu $a0, $a0, -0x29aa +/* 08E3DC 800F4F2C 3C018011 */ lui $at, 0x8011 +/* 08E3E0 800F4F30 A020D654 */ sb $zero, -0x29ac($at) +/* 08E3E4 800F4F34 3C018011 */ lui $at, 0x8011 +/* 08E3E8 800F4F38 AC22D64C */ sw $v0, -0x29b4($at) +/* 08E3EC 800F4F3C 90A20327 */ lbu $v0, 0x327($a1) +/* 08E3F0 800F4F40 24030006 */ addiu $v1, $zero, 6 +/* 08E3F4 800F4F44 A0820000 */ sb $v0, ($a0) +/* 08E3F8 800F4F48 00021600 */ sll $v0, $v0, 0x18 +/* 08E3FC 800F4F4C 00021603 */ sra $v0, $v0, 0x18 +/* 08E400 800F4F50 0062102A */ slt $v0, $v1, $v0 +/* 08E404 800F4F54 54400001 */ bnezl $v0, .L800F4F5C +/* 08E408 800F4F58 A0830000 */ sb $v1, ($a0) +.L800F4F5C: +/* 08E40C 800F4F5C 8CA20324 */ lw $v0, 0x324($a1) +/* 08E410 800F4F60 3C048011 */ lui $a0, 0x8011 +/* 08E414 800F4F64 2484D655 */ addiu $a0, $a0, -0x29ab +/* 08E418 800F4F68 28420006 */ slti $v0, $v0, 6 +/* 08E41C 800F4F6C 10400003 */ beqz $v0, .L800F4F7C +/* 08E420 800F4F70 A0830000 */ sb $v1, ($a0) +/* 08E424 800F4F74 90A20327 */ lbu $v0, 0x327($a1) +/* 08E428 800F4F78 A0820000 */ sb $v0, ($a0) +.L800F4F7C: +/* 08E42C 800F4F7C 240200FF */ addiu $v0, $zero, 0xff +/* 08E430 800F4F80 3C018011 */ lui $at, 0x8011 +/* 08E434 800F4F84 AC22D650 */ sw $v0, -0x29b0($at) +/* 08E438 800F4F88 24020004 */ addiu $v0, $zero, 4 +/* 08E43C 800F4F8C 3C04800F */ lui $a0, 0x800f +/* 08E440 800F4F90 24841A10 */ addiu $a0, $a0, 0x1a10 +/* 08E444 800F4F94 3C018011 */ lui $at, 0x8011 +/* 08E448 800F4F98 A022D691 */ sb $v0, -0x296f($at) +/* 08E44C 800F4F9C 3C018011 */ lui $at, 0x8011 +/* 08E450 800F4FA0 A023D692 */ sb $v1, -0x296e($at) +/* 08E454 800F4FA4 0C048C8F */ jal func_8012323C +/* 08E458 800F4FA8 0000282D */ daddu $a1, $zero, $zero +/* 08E45C 800F4FAC 8FBF0014 */ lw $ra, 0x14($sp) +/* 08E460 800F4FB0 8FB00010 */ lw $s0, 0x10($sp) +/* 08E464 800F4FB4 3C018011 */ lui $at, 0x8011 +/* 08E468 800F4FB8 AC22D694 */ sw $v0, -0x296c($at) +/* 08E46C 800F4FBC 03E00008 */ jr $ra +/* 08E470 800F4FC0 27BD0018 */ addiu $sp, $sp, 0x18 + +func_800F4FC4: +/* 08E474 800F4FC4 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 08E478 800F4FC8 AFB00010 */ sw $s0, 0x10($sp) +/* 08E47C 800F4FCC 3C108011 */ lui $s0, 0x8011 +/* 08E480 800F4FD0 2610D69C */ addiu $s0, $s0, -0x2964 +/* 08E484 800F4FD4 AFBF0014 */ sw $ra, 0x14($sp) +/* 08E488 800F4FD8 AE040000 */ sw $a0, ($s0) +/* 08E48C 800F4FDC A480032C */ sh $zero, 0x32c($a0) +/* 08E490 800F4FE0 AC80031C */ sw $zero, 0x31c($a0) +/* 08E494 800F4FE4 0C03A635 */ jal func_800E98D4 +/* 08E498 800F4FE8 AC800320 */ sw $zero, 0x320($a0) +/* 08E49C 800F4FEC 3C048011 */ lui $a0, 0x8011 +/* 08E4A0 800F4FF0 2484D699 */ addiu $a0, $a0, -0x2967 +/* 08E4A4 800F4FF4 3C018011 */ lui $at, 0x8011 +/* 08E4A8 800F4FF8 A022D69A */ sb $v0, -0x2966($at) +/* 08E4AC 800F4FFC A0800000 */ sb $zero, ($a0) +/* 08E4B0 800F5000 8E100000 */ lw $s0, ($s0) +/* 08E4B4 800F5004 3C068011 */ lui $a2, 0x8011 +/* 08E4B8 800F5008 24C6D698 */ addiu $a2, $a2, -0x2968 +/* 08E4BC 800F500C 8E030318 */ lw $v1, 0x318($s0) +/* 08E4C0 800F5010 24050001 */ addiu $a1, $zero, 1 +/* 08E4C4 800F5014 28620064 */ slti $v0, $v1, 0x64 +/* 08E4C8 800F5018 1440000C */ bnez $v0, .L800F504C +/* 08E4CC 800F501C A0C50000 */ sb $a1, ($a2) +/* 08E4D0 800F5020 2462FF9C */ addiu $v0, $v1, -0x64 +/* 08E4D4 800F5024 AE020318 */ sw $v0, 0x318($s0) +/* 08E4D8 800F5028 0040182D */ daddu $v1, $v0, $zero +/* 08E4DC 800F502C 28620064 */ slti $v0, $v1, 0x64 +/* 08E4E0 800F5030 14400005 */ bnez $v0, .L800F5048 +/* 08E4E4 800F5034 A0850000 */ sb $a1, ($a0) +/* 08E4E8 800F5038 2462FF9C */ addiu $v0, $v1, -0x64 +/* 08E4EC 800F503C AE020318 */ sw $v0, 0x318($s0) +/* 08E4F0 800F5040 24020002 */ addiu $v0, $zero, 2 +/* 08E4F4 800F5044 A0820000 */ sb $v0, ($a0) +.L800F5048: +/* 08E4F8 800F5048 A0C00000 */ sb $zero, ($a2) +.L800F504C: +/* 08E4FC 800F504C 3C058011 */ lui $a1, 0x8011 +/* 08E500 800F5050 8CA5D69C */ lw $a1, -0x2964($a1) +/* 08E504 800F5054 24020001 */ addiu $v0, $zero, 1 +/* 08E508 800F5058 3C018011 */ lui $at, 0x8011 +/* 08E50C 800F505C A022D68E */ sb $v0, -0x2972($at) +/* 08E510 800F5060 24020006 */ addiu $v0, $zero, 6 +/* 08E514 800F5064 3C018011 */ lui $at, 0x8011 +/* 08E518 800F5068 A022D68F */ sb $v0, -0x2971($at) +/* 08E51C 800F506C 8CA20328 */ lw $v0, 0x328($a1) +/* 08E520 800F5070 8CA40324 */ lw $a0, 0x324($a1) +/* 08E524 800F5074 3C038011 */ lui $v1, 0x8011 +/* 08E528 800F5078 2463D648 */ addiu $v1, $v1, -0x29b8 +/* 08E52C 800F507C 3C018011 */ lui $at, 0x8011 +/* 08E530 800F5080 AC20D640 */ sw $zero, -0x29c0($at) +/* 08E534 800F5084 AC620000 */ sw $v0, ($v1) +/* 08E538 800F5088 0044102A */ slt $v0, $v0, $a0 +/* 08E53C 800F508C 14400002 */ bnez $v0, .L800F5098 +/* 08E540 800F5090 2482FFFF */ addiu $v0, $a0, -1 +/* 08E544 800F5094 AC620000 */ sw $v0, ($v1) +.L800F5098: +/* 08E548 800F5098 8C620000 */ lw $v0, ($v1) +/* 08E54C 800F509C 3C048011 */ lui $a0, 0x8011 +/* 08E550 800F50A0 2484D656 */ addiu $a0, $a0, -0x29aa +/* 08E554 800F50A4 3C018011 */ lui $at, 0x8011 +/* 08E558 800F50A8 A020D654 */ sb $zero, -0x29ac($at) +/* 08E55C 800F50AC 3C018011 */ lui $at, 0x8011 +/* 08E560 800F50B0 AC22D64C */ sw $v0, -0x29b4($at) +/* 08E564 800F50B4 90A20327 */ lbu $v0, 0x327($a1) +/* 08E568 800F50B8 24030006 */ addiu $v1, $zero, 6 +/* 08E56C 800F50BC A0820000 */ sb $v0, ($a0) +/* 08E570 800F50C0 00021600 */ sll $v0, $v0, 0x18 +/* 08E574 800F50C4 00021603 */ sra $v0, $v0, 0x18 +/* 08E578 800F50C8 0062102A */ slt $v0, $v1, $v0 +/* 08E57C 800F50CC 54400001 */ bnezl $v0, .L800F50D4 +/* 08E580 800F50D0 A0830000 */ sb $v1, ($a0) +.L800F50D4: +/* 08E584 800F50D4 8CA20324 */ lw $v0, 0x324($a1) +/* 08E588 800F50D8 3C048011 */ lui $a0, 0x8011 +/* 08E58C 800F50DC 2484D655 */ addiu $a0, $a0, -0x29ab +/* 08E590 800F50E0 28420006 */ slti $v0, $v0, 6 +/* 08E594 800F50E4 10400003 */ beqz $v0, .L800F50F4 +/* 08E598 800F50E8 A0830000 */ sb $v1, ($a0) +/* 08E59C 800F50EC 90A20327 */ lbu $v0, 0x327($a1) +/* 08E5A0 800F50F0 A0820000 */ sb $v0, ($a0) +.L800F50F4: +/* 08E5A4 800F50F4 240200FF */ addiu $v0, $zero, 0xff +/* 08E5A8 800F50F8 3C018011 */ lui $at, 0x8011 +/* 08E5AC 800F50FC AC22D650 */ sw $v0, -0x29b0($at) +/* 08E5B0 800F5100 24020004 */ addiu $v0, $zero, 4 +/* 08E5B4 800F5104 3C04800F */ lui $a0, 0x800f +/* 08E5B8 800F5108 24841A10 */ addiu $a0, $a0, 0x1a10 +/* 08E5BC 800F510C 3C018011 */ lui $at, 0x8011 +/* 08E5C0 800F5110 A022D691 */ sb $v0, -0x296f($at) +/* 08E5C4 800F5114 3C018011 */ lui $at, 0x8011 +/* 08E5C8 800F5118 A023D692 */ sb $v1, -0x296e($at) +/* 08E5CC 800F511C 0C048C8F */ jal func_8012323C +/* 08E5D0 800F5120 0000282D */ daddu $a1, $zero, $zero +/* 08E5D4 800F5124 8FBF0014 */ lw $ra, 0x14($sp) +/* 08E5D8 800F5128 8FB00010 */ lw $s0, 0x10($sp) +/* 08E5DC 800F512C 3C018011 */ lui $at, 0x8011 +/* 08E5E0 800F5130 AC22D694 */ sw $v0, -0x296c($at) +/* 08E5E4 800F5134 03E00008 */ jr $ra +/* 08E5E8 800F5138 27BD0018 */ addiu $sp, $sp, 0x18 + +func_800F513C: +/* 08E5EC 800F513C 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 08E5F0 800F5140 AFB00010 */ sw $s0, 0x10($sp) +/* 08E5F4 800F5144 3C108011 */ lui $s0, 0x8011 +/* 08E5F8 800F5148 2610D69C */ addiu $s0, $s0, -0x2964 +/* 08E5FC 800F514C AFBF0014 */ sw $ra, 0x14($sp) +/* 08E600 800F5150 AE040000 */ sw $a0, ($s0) +/* 08E604 800F5154 90820323 */ lbu $v0, 0x323($a0) +/* 08E608 800F5158 A480032C */ sh $zero, 0x32c($a0) +/* 08E60C 800F515C 3C018011 */ lui $at, 0x8011 +/* 08E610 800F5160 A022D693 */ sb $v0, -0x296d($at) +/* 08E614 800F5164 0C03A635 */ jal func_800E98D4 +/* 08E618 800F5168 00000000 */ nop +/* 08E61C 800F516C 3C048011 */ lui $a0, 0x8011 +/* 08E620 800F5170 2484D699 */ addiu $a0, $a0, -0x2967 +/* 08E624 800F5174 3C018011 */ lui $at, 0x8011 +/* 08E628 800F5178 A022D69A */ sb $v0, -0x2966($at) +/* 08E62C 800F517C A0800000 */ sb $zero, ($a0) +/* 08E630 800F5180 8E100000 */ lw $s0, ($s0) +/* 08E634 800F5184 3C068011 */ lui $a2, 0x8011 +/* 08E638 800F5188 24C6D698 */ addiu $a2, $a2, -0x2968 +/* 08E63C 800F518C 8E030318 */ lw $v1, 0x318($s0) +/* 08E640 800F5190 24050001 */ addiu $a1, $zero, 1 +/* 08E644 800F5194 28620064 */ slti $v0, $v1, 0x64 +/* 08E648 800F5198 1440000C */ bnez $v0, .L800F51CC +/* 08E64C 800F519C A0C50000 */ sb $a1, ($a2) +/* 08E650 800F51A0 2462FF9C */ addiu $v0, $v1, -0x64 +/* 08E654 800F51A4 AE020318 */ sw $v0, 0x318($s0) +/* 08E658 800F51A8 0040182D */ daddu $v1, $v0, $zero +/* 08E65C 800F51AC 28620064 */ slti $v0, $v1, 0x64 +/* 08E660 800F51B0 14400005 */ bnez $v0, .L800F51C8 +/* 08E664 800F51B4 A0850000 */ sb $a1, ($a0) +/* 08E668 800F51B8 2462FF9C */ addiu $v0, $v1, -0x64 +/* 08E66C 800F51BC AE020318 */ sw $v0, 0x318($s0) +/* 08E670 800F51C0 24020002 */ addiu $v0, $zero, 2 +/* 08E674 800F51C4 A0820000 */ sb $v0, ($a0) +.L800F51C8: +/* 08E678 800F51C8 A0C00000 */ sb $zero, ($a2) +.L800F51CC: +/* 08E67C 800F51CC 3C058011 */ lui $a1, 0x8011 +/* 08E680 800F51D0 8CA5D69C */ lw $a1, -0x2964($a1) +/* 08E684 800F51D4 24020006 */ addiu $v0, $zero, 6 +/* 08E688 800F51D8 3C018011 */ lui $at, 0x8011 +/* 08E68C 800F51DC A022D68F */ sb $v0, -0x2971($at) +/* 08E690 800F51E0 8CA20328 */ lw $v0, 0x328($a1) +/* 08E694 800F51E4 8CA40324 */ lw $a0, 0x324($a1) +/* 08E698 800F51E8 3C038011 */ lui $v1, 0x8011 +/* 08E69C 800F51EC 2463D648 */ addiu $v1, $v1, -0x29b8 +/* 08E6A0 800F51F0 3C018011 */ lui $at, 0x8011 +/* 08E6A4 800F51F4 A020D68E */ sb $zero, -0x2972($at) +/* 08E6A8 800F51F8 3C018011 */ lui $at, 0x8011 +/* 08E6AC 800F51FC AC20D640 */ sw $zero, -0x29c0($at) +/* 08E6B0 800F5200 AC620000 */ sw $v0, ($v1) +/* 08E6B4 800F5204 0044102A */ slt $v0, $v0, $a0 +/* 08E6B8 800F5208 14400002 */ bnez $v0, .L800F5214 +/* 08E6BC 800F520C 2482FFFF */ addiu $v0, $a0, -1 +/* 08E6C0 800F5210 AC620000 */ sw $v0, ($v1) +.L800F5214: +/* 08E6C4 800F5214 8C620000 */ lw $v0, ($v1) +/* 08E6C8 800F5218 3C048011 */ lui $a0, 0x8011 +/* 08E6CC 800F521C 2484D656 */ addiu $a0, $a0, -0x29aa +/* 08E6D0 800F5220 3C018011 */ lui $at, 0x8011 +/* 08E6D4 800F5224 A020D654 */ sb $zero, -0x29ac($at) +/* 08E6D8 800F5228 3C018011 */ lui $at, 0x8011 +/* 08E6DC 800F522C AC22D64C */ sw $v0, -0x29b4($at) +/* 08E6E0 800F5230 90A20327 */ lbu $v0, 0x327($a1) +/* 08E6E4 800F5234 24030006 */ addiu $v1, $zero, 6 +/* 08E6E8 800F5238 A0820000 */ sb $v0, ($a0) +/* 08E6EC 800F523C 00021600 */ sll $v0, $v0, 0x18 +/* 08E6F0 800F5240 00021603 */ sra $v0, $v0, 0x18 +/* 08E6F4 800F5244 0062102A */ slt $v0, $v1, $v0 +/* 08E6F8 800F5248 54400001 */ bnezl $v0, .L800F5250 +/* 08E6FC 800F524C A0830000 */ sb $v1, ($a0) +.L800F5250: +/* 08E700 800F5250 8CA20324 */ lw $v0, 0x324($a1) +/* 08E704 800F5254 3C048011 */ lui $a0, 0x8011 +/* 08E708 800F5258 2484D655 */ addiu $a0, $a0, -0x29ab +/* 08E70C 800F525C 28420006 */ slti $v0, $v0, 6 +/* 08E710 800F5260 10400003 */ beqz $v0, .L800F5270 +/* 08E714 800F5264 A0830000 */ sb $v1, ($a0) +/* 08E718 800F5268 90A20327 */ lbu $v0, 0x327($a1) +/* 08E71C 800F526C A0820000 */ sb $v0, ($a0) +.L800F5270: +/* 08E720 800F5270 240200FF */ addiu $v0, $zero, 0xff +/* 08E724 800F5274 3C018011 */ lui $at, 0x8011 +/* 08E728 800F5278 AC22D650 */ sw $v0, -0x29b0($at) +/* 08E72C 800F527C 24020009 */ addiu $v0, $zero, 9 +/* 08E730 800F5280 3C018011 */ lui $at, 0x8011 +/* 08E734 800F5284 A022D691 */ sb $v0, -0x296f($at) +/* 08E738 800F5288 24020002 */ addiu $v0, $zero, 2 +/* 08E73C 800F528C 3C04800F */ lui $a0, 0x800f +/* 08E740 800F5290 24841A10 */ addiu $a0, $a0, 0x1a10 +/* 08E744 800F5294 3C018011 */ lui $at, 0x8011 +/* 08E748 800F5298 A022D692 */ sb $v0, -0x296e($at) +/* 08E74C 800F529C 0C048C8F */ jal func_8012323C +/* 08E750 800F52A0 0000282D */ daddu $a1, $zero, $zero +/* 08E754 800F52A4 8FBF0014 */ lw $ra, 0x14($sp) +/* 08E758 800F52A8 8FB00010 */ lw $s0, 0x10($sp) +/* 08E75C 800F52AC 3C018011 */ lui $at, 0x8011 +/* 08E760 800F52B0 AC22D694 */ sw $v0, -0x296c($at) +/* 08E764 800F52B4 03E00008 */ jr $ra +/* 08E768 800F52B8 27BD0018 */ addiu $sp, $sp, 0x18 + +func_800F52BC: +/* 08E76C 800F52BC 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* 08E770 800F52C0 AFBF0010 */ sw $ra, 0x10($sp) +/* 08E774 800F52C4 0C03C684 */ jal func_800F1A10 +/* 08E778 800F52C8 00000000 */ nop +/* 08E77C 800F52CC 8FBF0010 */ lw $ra, 0x10($sp) +/* 08E780 800F52D0 03E00008 */ jr $ra +/* 08E784 800F52D4 27BD0018 */ addiu $sp, $sp, 0x18 + +/* 08E788 800F52D8 00000000 */ nop +/* 08E78C 800F52DC 00000000 */ nop diff --git a/papermario/asm/code_8e790_len_2850.s b/papermario/asm/code_8e790_len_2850.s new file mode 100644 index 0000000000..965a4028df --- /dev/null +++ b/papermario/asm/code_8e790_len_2850.s @@ -0,0 +1,2785 @@ +# %s disassembly and split file +# generated by n64split v%s - N64 ROM splitter + +# assembler directives +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches +.set gp=64 # allow use of 64-bit general purpose registers + +.include "globals.inc" + + +.section .text800F52E0, "ax" + +draw_box: +/* 08E790 800F52E0 27BDFE10 */ addiu $sp, $sp, -0x1f0 +/* 08E794 800F52E4 0000482D */ daddu $t1, $zero, $zero +/* 08E798 800F52E8 93AE020F */ lbu $t6, 0x20f($sp) +/* 08E79C 800F52EC 0120502D */ daddu $t2, $t1, $zero +/* 08E7A0 800F52F0 AFA701FC */ sw $a3, 0x1fc($sp) +/* 08E7A4 800F52F4 3C078080 */ lui $a3, 0x8080 +/* 08E7A8 800F52F8 F7B601E0 */ sdc1 $f22, 0x1e0($sp) +/* 08E7AC 800F52FC C7B60214 */ lwc1 $f22, 0x214($sp) +/* 08E7B0 800F5300 34E78081 */ ori $a3, $a3, 0x8081 +/* 08E7B4 800F5304 F7B801E8 */ sdc1 $f24, 0x1e8($sp) +/* 08E7B8 800F5308 C7B80218 */ lwc1 $f24, 0x218($sp) +/* 08E7BC 800F530C 93AF0213 */ lbu $t7, 0x213($sp) +/* 08E7C0 800F5310 2CA20017 */ sltiu $v0, $a1, 0x17 +/* 08E7C4 800F5314 AFBF01D4 */ sw $ra, 0x1d4($sp) +/* 08E7C8 800F5318 AFBE01D0 */ sw $fp, 0x1d0($sp) +/* 08E7CC 800F531C AFB701CC */ sw $s7, 0x1cc($sp) +/* 08E7D0 800F5320 AFB601C8 */ sw $s6, 0x1c8($sp) +/* 08E7D4 800F5324 AFB501C4 */ sw $s5, 0x1c4($sp) +/* 08E7D8 800F5328 AFB401C0 */ sw $s4, 0x1c0($sp) +/* 08E7DC 800F532C AFB301BC */ sw $s3, 0x1bc($sp) +/* 08E7E0 800F5330 AFB201B8 */ sw $s2, 0x1b8($sp) +/* 08E7E4 800F5334 AFB101B4 */ sw $s1, 0x1b4($sp) +/* 08E7E8 800F5338 AFB001B0 */ sw $s0, 0x1b0($sp) +/* 08E7EC 800F533C F7B401D8 */ sdc1 $f20, 0x1d8($sp) +/* 08E7F0 800F5340 AFA401F0 */ sw $a0, 0x1f0($sp) +/* 08E7F4 800F5344 AFA601F8 */ sw $a2, 0x1f8($sp) +/* 08E7F8 800F5348 31C600FF */ andi $a2, $t6, 0xff +/* 08E7FC 800F534C A3AE00E7 */ sb $t6, 0xe7($sp) +/* 08E800 800F5350 1040002B */ beqz $v0, .L800F5400 +/* 08E804 800F5354 A3AF00E8 */ sb $t7, 0xe8($sp) +/* 08E808 800F5358 3C038011 */ lui $v1, 0x8011 +/* 08E80C 800F535C 246398E0 */ addiu $v1, $v1, -0x6720 +/* 08E810 800F5360 00051040 */ sll $v0, $a1, 1 +/* 08E814 800F5364 00451021 */ addu $v0, $v0, $a1 +/* 08E818 800F5368 00021080 */ sll $v0, $v0, 2 +/* 08E81C 800F536C 00451023 */ subu $v0, $v0, $a1 +/* 08E820 800F5370 00434821 */ addu $t1, $v0, $v1 +/* 08E824 800F5374 91320003 */ lbu $s2, 3($t1) +/* 08E828 800F5378 A3B200F7 */ sb $s2, 0xf7($sp) +/* 08E82C 800F537C 91390004 */ lbu $t9, 4($t1) +/* 08E830 800F5380 A3B900FF */ sb $t9, 0xff($sp) +/* 08E834 800F5384 912E0005 */ lbu $t6, 5($t1) +/* 08E838 800F5388 A3AE0107 */ sb $t6, 0x107($sp) +/* 08E83C 800F538C 912F0007 */ lbu $t7, 7($t1) +/* 08E840 800F5390 A3AF0117 */ sb $t7, 0x117($sp) +/* 08E844 800F5394 91320008 */ lbu $s2, 8($t1) +/* 08E848 800F5398 A3B2011F */ sb $s2, 0x11f($sp) +/* 08E84C 800F539C 91390009 */ lbu $t9, 9($t1) +/* 08E850 800F53A0 A3B90127 */ sb $t9, 0x127($sp) +/* 08E854 800F53A4 912E000A */ lbu $t6, 0xa($t1) +/* 08E858 800F53A8 A3AE012F */ sb $t6, 0x12f($sp) +/* 08E85C 800F53AC 91230006 */ lbu $v1, 6($t1) +/* 08E860 800F53B0 00660018 */ mult $v1, $a2 +/* 08E864 800F53B4 91240000 */ lbu $a0, ($t1) +/* 08E868 800F53B8 3C058011 */ lui $a1, 0x8011 +/* 08E86C 800F53BC 24A5BAE8 */ addiu $a1, $a1, -0x4518 +/* 08E870 800F53C0 00041040 */ sll $v0, $a0, 1 +/* 08E874 800F53C4 00441021 */ addu $v0, $v0, $a0 +/* 08E878 800F53C8 00001812 */ mflo $v1 +/* 08E87C 800F53CC 00021080 */ sll $v0, $v0, 2 +/* 08E880 800F53D0 0045A021 */ addu $s4, $v0, $a1 +/* 08E884 800F53D4 00670018 */ mult $v1, $a3 +/* 08E888 800F53D8 91220001 */ lbu $v0, 1($t1) +/* 08E88C 800F53DC 3C048011 */ lui $a0, 0x8011 +/* 08E890 800F53E0 2484BB00 */ addiu $a0, $a0, -0x4500 +/* 08E894 800F53E4 00021100 */ sll $v0, $v0, 4 +/* 08E898 800F53E8 00442021 */ addu $a0, $v0, $a0 +/* 08E89C 800F53EC 00004010 */ mfhi $t0 +/* 08E8A0 800F53F0 01031821 */ addu $v1, $t0, $v1 +/* 08E8A4 800F53F4 000319C2 */ srl $v1, $v1, 7 +/* 08E8A8 800F53F8 0803D519 */ j .L800F5464 +/* 08E8AC 800F53FC A3A3010F */ sb $v1, 0x10f($sp) + +.L800F5400: +/* 08E8B0 800F5400 00A0A02D */ daddu $s4, $a1, $zero +/* 08E8B4 800F5404 928E0030 */ lbu $t6, 0x30($s4) +/* 08E8B8 800F5408 92820033 */ lbu $v0, 0x33($s4) +/* 08E8BC 800F540C A3AE00F7 */ sb $t6, 0xf7($sp) +/* 08E8C0 800F5410 928F0031 */ lbu $t7, 0x31($s4) +/* 08E8C4 800F5414 A3AF00FF */ sb $t7, 0xff($sp) +/* 08E8C8 800F5418 92920032 */ lbu $s2, 0x32($s4) +/* 08E8CC 800F541C 00460018 */ mult $v0, $a2 +/* 08E8D0 800F5420 A3B20107 */ sb $s2, 0x107($sp) +/* 08E8D4 800F5424 928E0034 */ lbu $t6, 0x34($s4) +/* 08E8D8 800F5428 0280502D */ daddu $t2, $s4, $zero +/* 08E8DC 800F542C A3AE0117 */ sb $t6, 0x117($sp) +/* 08E8E0 800F5430 928F0035 */ lbu $t7, 0x35($s4) +/* 08E8E4 800F5434 00001012 */ mflo $v0 +/* 08E8E8 800F5438 A3AF011F */ sb $t7, 0x11f($sp) +/* 08E8EC 800F543C 92920036 */ lbu $s2, 0x36($s4) +/* 08E8F0 800F5440 00470018 */ mult $v0, $a3 +/* 08E8F4 800F5444 A3B20127 */ sb $s2, 0x127($sp) +/* 08E8F8 800F5448 92990037 */ lbu $t9, 0x37($s4) +/* 08E8FC 800F544C 2684000C */ addiu $a0, $s4, 0xc +/* 08E900 800F5450 A3B9012F */ sb $t9, 0x12f($sp) +/* 08E904 800F5454 00001810 */ mfhi $v1 +/* 08E908 800F5458 00621021 */ addu $v0, $v1, $v0 +/* 08E90C 800F545C 000211C2 */ srl $v0, $v0, 7 +/* 08E910 800F5460 A3A2010F */ sb $v0, 0x10f($sp) +.L800F5464: +/* 08E914 800F5464 8E820004 */ lw $v0, 4($s4) +/* 08E918 800F5468 8C8E0000 */ lw $t6, ($a0) +/* 08E91C 800F546C 00021702 */ srl $v0, $v0, 0x1c +/* 08E920 800F5470 AFAE013C */ sw $t6, 0x13c($sp) +/* 08E924 800F5474 AFA20140 */ sw $v0, 0x140($sp) +/* 08E928 800F5478 92950005 */ lbu $s5, 5($s4) +/* 08E92C 800F547C 8E8F0000 */ lw $t7, ($s4) +/* 08E930 800F5480 2EA20002 */ sltiu $v0, $s5, 2 +/* 08E934 800F5484 AFAF0138 */ sw $t7, 0x138($sp) +/* 08E938 800F5488 92970006 */ lbu $s7, 6($s4) +/* 08E93C 800F548C 5440002F */ bnezl $v0, .L800F554C +/* 08E940 800F5490 AFA00144 */ sw $zero, 0x144($sp) +/* 08E944 800F5494 2EA20003 */ sltiu $v0, $s5, 3 +/* 08E948 800F5498 5440002B */ bnezl $v0, .L800F5548 +/* 08E94C 800F549C 24190001 */ addiu $t9, $zero, 1 +/* 08E950 800F54A0 2EA20005 */ sltiu $v0, $s5, 5 +/* 08E954 800F54A4 54400026 */ bnezl $v0, .L800F5540 +/* 08E958 800F54A8 24120002 */ addiu $s2, $zero, 2 +/* 08E95C 800F54AC 2EA20009 */ sltiu $v0, $s5, 9 +/* 08E960 800F54B0 54400021 */ bnezl $v0, .L800F5538 +/* 08E964 800F54B4 240F0003 */ addiu $t7, $zero, 3 +/* 08E968 800F54B8 2EA20011 */ sltiu $v0, $s5, 0x11 +/* 08E96C 800F54BC 5440001C */ bnezl $v0, .L800F5530 +/* 08E970 800F54C0 240E0004 */ addiu $t6, $zero, 4 +/* 08E974 800F54C4 2EA20021 */ sltiu $v0, $s5, 0x21 +/* 08E978 800F54C8 54400017 */ bnezl $v0, .L800F5528 +/* 08E97C 800F54CC 24190005 */ addiu $t9, $zero, 5 +/* 08E980 800F54D0 2EA20041 */ sltiu $v0, $s5, 0x41 +/* 08E984 800F54D4 54400012 */ bnezl $v0, .L800F5520 +/* 08E988 800F54D8 24120006 */ addiu $s2, $zero, 6 +/* 08E98C 800F54DC 2EA20081 */ sltiu $v0, $s5, 0x81 +/* 08E990 800F54E0 5440000D */ bnezl $v0, .L800F5518 +/* 08E994 800F54E4 240F0007 */ addiu $t7, $zero, 7 +/* 08E998 800F54E8 2EA20101 */ sltiu $v0, $s5, 0x101 +/* 08E99C 800F54EC 14400008 */ bnez $v0, .L800F5510 +/* 08E9A0 800F54F0 240E0008 */ addiu $t6, $zero, 8 +/* 08E9A4 800F54F4 2412000A */ addiu $s2, $zero, 0xa +/* 08E9A8 800F54F8 2EA20201 */ sltiu $v0, $s5, 0x201 +/* 08E9AC 800F54FC 10400013 */ beqz $v0, .L800F554C +/* 08E9B0 800F5500 AFB20144 */ sw $s2, 0x144($sp) +/* 08E9B4 800F5504 24190009 */ addiu $t9, $zero, 9 +/* 08E9B8 800F5508 0803D553 */ j .L800F554C +/* 08E9BC 800F550C AFB90144 */ sw $t9, 0x144($sp) + +.L800F5510: +/* 08E9C0 800F5510 0803D553 */ j .L800F554C +/* 08E9C4 800F5514 AFAE0144 */ sw $t6, 0x144($sp) + +.L800F5518: +/* 08E9C8 800F5518 0803D553 */ j .L800F554C +/* 08E9CC 800F551C AFAF0144 */ sw $t7, 0x144($sp) + +.L800F5520: +/* 08E9D0 800F5520 0803D553 */ j .L800F554C +/* 08E9D4 800F5524 AFB20144 */ sw $s2, 0x144($sp) + +.L800F5528: +/* 08E9D8 800F5528 0803D553 */ j .L800F554C +/* 08E9DC 800F552C AFB90144 */ sw $t9, 0x144($sp) + +.L800F5530: +/* 08E9E0 800F5530 0803D553 */ j .L800F554C +/* 08E9E4 800F5534 AFAE0144 */ sw $t6, 0x144($sp) + +.L800F5538: +/* 08E9E8 800F5538 0803D553 */ j .L800F554C +/* 08E9EC 800F553C AFAF0144 */ sw $t7, 0x144($sp) + +.L800F5540: +/* 08E9F0 800F5540 0803D553 */ j .L800F554C +/* 08E9F4 800F5544 AFB20144 */ sw $s2, 0x144($sp) + +.L800F5548: +/* 08E9F8 800F5548 AFB90144 */ sw $t9, 0x144($sp) +.L800F554C: +/* 08E9FC 800F554C 2EE20002 */ sltiu $v0, $s7, 2 +/* 08EA00 800F5550 1440001D */ bnez $v0, .L800F55C8 +/* 08EA04 800F5554 0000B02D */ daddu $s6, $zero, $zero +/* 08EA08 800F5558 2EE20003 */ sltiu $v0, $s7, 3 +/* 08EA0C 800F555C 1440001A */ bnez $v0, .L800F55C8 +/* 08EA10 800F5560 24160001 */ addiu $s6, $zero, 1 +/* 08EA14 800F5564 2EE20005 */ sltiu $v0, $s7, 5 +/* 08EA18 800F5568 14400017 */ bnez $v0, .L800F55C8 +/* 08EA1C 800F556C 24160002 */ addiu $s6, $zero, 2 +/* 08EA20 800F5570 2EE20009 */ sltiu $v0, $s7, 9 +/* 08EA24 800F5574 14400014 */ bnez $v0, .L800F55C8 +/* 08EA28 800F5578 24160003 */ addiu $s6, $zero, 3 +/* 08EA2C 800F557C 2EE20011 */ sltiu $v0, $s7, 0x11 +/* 08EA30 800F5580 14400011 */ bnez $v0, .L800F55C8 +/* 08EA34 800F5584 24160004 */ addiu $s6, $zero, 4 +/* 08EA38 800F5588 2EE20021 */ sltiu $v0, $s7, 0x21 +/* 08EA3C 800F558C 1440000E */ bnez $v0, .L800F55C8 +/* 08EA40 800F5590 24160005 */ addiu $s6, $zero, 5 +/* 08EA44 800F5594 2EE20041 */ sltiu $v0, $s7, 0x41 +/* 08EA48 800F5598 1440000B */ bnez $v0, .L800F55C8 +/* 08EA4C 800F559C 24160006 */ addiu $s6, $zero, 6 +/* 08EA50 800F55A0 2EE20081 */ sltiu $v0, $s7, 0x81 +/* 08EA54 800F55A4 14400008 */ bnez $v0, .L800F55C8 +/* 08EA58 800F55A8 24160007 */ addiu $s6, $zero, 7 +/* 08EA5C 800F55AC 2EE20101 */ sltiu $v0, $s7, 0x101 +/* 08EA60 800F55B0 14400005 */ bnez $v0, .L800F55C8 +/* 08EA64 800F55B4 24160008 */ addiu $s6, $zero, 8 +/* 08EA68 800F55B8 2EE20201 */ sltiu $v0, $s7, 0x201 +/* 08EA6C 800F55BC 10400002 */ beqz $v0, .L800F55C8 +/* 08EA70 800F55C0 2416000A */ addiu $s6, $zero, 0xa +/* 08EA74 800F55C4 24160009 */ addiu $s6, $zero, 9 +.L800F55C8: +/* 08EA78 800F55C8 0000F02D */ daddu $fp, $zero, $zero +/* 08EA7C 800F55CC AFA00154 */ sw $zero, 0x154($sp) +/* 08EA80 800F55D0 8C820004 */ lw $v0, 4($a0) +/* 08EA84 800F55D4 8FAF0204 */ lw $t7, 0x204($sp) +/* 08EA88 800F55D8 24840005 */ addiu $a0, $a0, 5 +/* 08EA8C 800F55DC AFA40148 */ sw $a0, 0x148($sp) +/* 08EA90 800F55E0 00027702 */ srl $t6, $v0, 0x1c +/* 08EA94 800F55E4 00021602 */ srl $v0, $v0, 0x18 +/* 08EA98 800F55E8 3042000F */ andi $v0, $v0, 0xf +/* 08EA9C 800F55EC AFAE014C */ sw $t6, 0x14c($sp) +/* 08EAA0 800F55F0 19E00026 */ blez $t7, .L800F568C +/* 08EAA4 800F55F4 AFA20150 */ sw $v0, 0x150($sp) +/* 08EAA8 800F55F8 8FB20208 */ lw $s2, 0x208($sp) +/* 08EAAC 800F55FC 1A40093B */ blez $s2, .L800F7AEC +/* 08EAB0 800F5600 24020001 */ addiu $v0, $zero, 1 +/* 08EAB4 800F5604 93B900E7 */ lbu $t9, 0xe7($sp) +/* 08EAB8 800F5608 13200938 */ beqz $t9, .L800F7AEC +/* 08EABC 800F560C 00000000 */ nop +/* 08EAC0 800F5610 8FAE01F8 */ lw $t6, 0x1f8($sp) +/* 08EAC4 800F5614 29C2FD01 */ slti $v0, $t6, -0x2ff +/* 08EAC8 800F5618 14400934 */ bnez $v0, .L800F7AEC +/* 08EACC 800F561C 24020001 */ addiu $v0, $zero, 1 +/* 08EAD0 800F5620 8FAF01FC */ lw $t7, 0x1fc($sp) +/* 08EAD4 800F5624 29E2FD01 */ slti $v0, $t7, -0x2ff +/* 08EAD8 800F5628 14400930 */ bnez $v0, .L800F7AEC +/* 08EADC 800F562C 24020001 */ addiu $v0, $zero, 1 +/* 08EAE0 800F5630 8FB201F8 */ lw $s2, 0x1f8($sp) +/* 08EAE4 800F5634 2A420140 */ slti $v0, $s2, 0x140 +/* 08EAE8 800F5638 1040092C */ beqz $v0, .L800F7AEC +/* 08EAEC 800F563C 24020001 */ addiu $v0, $zero, 1 +/* 08EAF0 800F5640 8FB901FC */ lw $t9, 0x1fc($sp) +/* 08EAF4 800F5644 2B2200F0 */ slti $v0, $t9, 0xf0 +/* 08EAF8 800F5648 10400928 */ beqz $v0, .L800F7AEC +/* 08EAFC 800F564C 24020001 */ addiu $v0, $zero, 1 +/* 08EB00 800F5650 8FAF0204 */ lw $t7, 0x204($sp) +/* 08EB04 800F5654 01CF2021 */ addu $a0, $t6, $t7 +/* 08EB08 800F5658 28820300 */ slti $v0, $a0, 0x300 +/* 08EB0C 800F565C 10400923 */ beqz $v0, .L800F7AEC +/* 08EB10 800F5660 24020001 */ addiu $v0, $zero, 1 +/* 08EB14 800F5664 8FB201FC */ lw $s2, 0x1fc($sp) +/* 08EB18 800F5668 8FB90208 */ lw $t9, 0x208($sp) +/* 08EB1C 800F566C 02591821 */ addu $v1, $s2, $t9 +/* 08EB20 800F5670 28620300 */ slti $v0, $v1, 0x300 +/* 08EB24 800F5674 1040091D */ beqz $v0, .L800F7AEC +/* 08EB28 800F5678 24020001 */ addiu $v0, $zero, 1 +/* 08EB2C 800F567C 1880091B */ blez $a0, .L800F7AEC +/* 08EB30 800F5680 00000000 */ nop +/* 08EB34 800F5684 1C600003 */ bgtz $v1, .L800F5694 +/* 08EB38 800F5688 00000000 */ nop +.L800F568C: +/* 08EB3C 800F568C 0803DEBB */ j .L800F7AEC +/* 08EB40 800F5690 24020001 */ addiu $v0, $zero, 1 + +.L800F5694: +/* 08EB44 800F5694 8FAE01F0 */ lw $t6, 0x1f0($sp) +/* 08EB48 800F5698 31C20001 */ andi $v0, $t6, 1 +/* 08EB4C 800F569C 1040000E */ beqz $v0, .L800F56D8 +/* 08EB50 800F56A0 3C04E300 */ lui $a0, 0xe300 +/* 08EB54 800F56A4 3C058011 */ lui $a1, 0x8011 +/* 08EB58 800F56A8 24A5BBB0 */ addiu $a1, $a1, -0x4450 +/* 08EB5C 800F56AC 8CA20000 */ lw $v0, ($a1) +/* 08EB60 800F56B0 3C048011 */ lui $a0, 0x8011 +/* 08EB64 800F56B4 2484D6B0 */ addiu $a0, $a0, -0x2950 +/* 08EB68 800F56B8 00021A00 */ sll $v1, $v0, 8 +/* 08EB6C 800F56BC 24420001 */ addiu $v0, $v0, 1 +/* 08EB70 800F56C0 ACA20000 */ sw $v0, ($a1) +/* 08EB74 800F56C4 28420015 */ slti $v0, $v0, 0x15 +/* 08EB78 800F56C8 14400002 */ bnez $v0, .L800F56D4 +/* 08EB7C 800F56CC 0064F021 */ addu $fp, $v1, $a0 +/* 08EB80 800F56D0 ACA00000 */ sw $zero, ($a1) +.L800F56D4: +/* 08EB84 800F56D4 3C04E300 */ lui $a0, 0xe300 +.L800F56D8: +/* 08EB88 800F56D8 34840A01 */ ori $a0, $a0, 0xa01 +/* 08EB8C 800F56DC 3C06E200 */ lui $a2, 0xe200 +/* 08EB90 800F56E0 34C6001C */ ori $a2, $a2, 0x1c +/* 08EB94 800F56E4 3C058410 */ lui $a1, 0x8410 +/* 08EB98 800F56E8 3C08800A */ lui $t0, 0x800a +/* 08EB9C 800F56EC 2508A66C */ addiu $t0, $t0, -0x5994 +/* 08EBA0 800F56F0 8D070000 */ lw $a3, ($t0) +/* 08EBA4 800F56F4 3C02E700 */ lui $v0, 0xe700 +/* 08EBA8 800F56F8 00E0182D */ daddu $v1, $a3, $zero +/* 08EBAC 800F56FC 24E70008 */ addiu $a3, $a3, 8 +/* 08EBB0 800F5700 AD070000 */ sw $a3, ($t0) +/* 08EBB4 800F5704 AC620000 */ sw $v0, ($v1) +/* 08EBB8 800F5708 24E20008 */ addiu $v0, $a3, 8 +/* 08EBBC 800F570C AC600004 */ sw $zero, 4($v1) +/* 08EBC0 800F5710 AD020000 */ sw $v0, ($t0) +/* 08EBC4 800F5714 3C020010 */ lui $v0, 0x10 +/* 08EBC8 800F5718 ACE20004 */ sw $v0, 4($a3) +/* 08EBCC 800F571C 24E20010 */ addiu $v0, $a3, 0x10 +/* 08EBD0 800F5720 ACE40000 */ sw $a0, ($a3) +/* 08EBD4 800F5724 AD020000 */ sw $v0, ($t0) +/* 08EBD8 800F5728 3C02F900 */ lui $v0, 0xf900 +/* 08EBDC 800F572C ACE20008 */ sw $v0, 8($a3) +/* 08EBE0 800F5730 24E20018 */ addiu $v0, $a3, 0x18 +/* 08EBE4 800F5734 ACE0000C */ sw $zero, 0xc($a3) +/* 08EBE8 800F5738 AD020000 */ sw $v0, ($t0) +/* 08EBEC 800F573C 3C02F800 */ lui $v0, 0xf800 +/* 08EBF0 800F5740 ACE20010 */ sw $v0, 0x10($a3) +/* 08EBF4 800F5744 93A200E8 */ lbu $v0, 0xe8($sp) +/* 08EBF8 800F5748 34A54240 */ ori $a1, $a1, 0x4240 +/* 08EBFC 800F574C ACE20014 */ sw $v0, 0x14($a3) +/* 08EC00 800F5750 24E20020 */ addiu $v0, $a3, 0x20 +/* 08EC04 800F5754 AD020000 */ sw $v0, ($t0) +/* 08EC08 800F5758 ACE60018 */ sw $a2, 0x18($a3) +/* 08EC0C 800F575C ACE5001C */ sw $a1, 0x1c($a3) +/* 08EC10 800F5760 8FAF01F0 */ lw $t7, 0x1f0($sp) +/* 08EC14 800F5764 31E20004 */ andi $v0, $t7, 4 +/* 08EC18 800F5768 14400007 */ bnez $v0, .L800F5788 +/* 08EC1C 800F576C 3C020050 */ lui $v0, 0x50 +/* 08EC20 800F5770 344203C0 */ ori $v0, $v0, 0x3c0 +/* 08EC24 800F5774 24E30028 */ addiu $v1, $a3, 0x28 +/* 08EC28 800F5778 AD030000 */ sw $v1, ($t0) +/* 08EC2C 800F577C 3C03ED00 */ lui $v1, 0xed00 +/* 08EC30 800F5780 ACE30020 */ sw $v1, 0x20($a3) +/* 08EC34 800F5784 ACE20024 */ sw $v0, 0x24($a3) +.L800F5788: +/* 08EC38 800F5788 11200011 */ beqz $t1, .L800F57D0 +/* 08EC3C 800F578C 240200FF */ addiu $v0, $zero, 0xff +/* 08EC40 800F5790 93A3010F */ lbu $v1, 0x10f($sp) +/* 08EC44 800F5794 8D050000 */ lw $a1, ($t0) +/* 08EC48 800F5798 91240002 */ lbu $a0, 2($t1) +/* 08EC4C 800F579C 10620003 */ beq $v1, $v0, .L800F57AC +/* 08EC50 800F57A0 24820002 */ addiu $v0, $a0, 2 +/* 08EC54 800F57A4 0803D5EC */ j .L800F57B0 +/* 08EC58 800F57A8 000218C0 */ sll $v1, $v0, 3 + +.L800F57AC: +/* 08EC5C 800F57AC 000418C0 */ sll $v1, $a0, 3 +.L800F57B0: +/* 08EC60 800F57B0 3C028011 */ lui $v0, 0x8011 +/* 08EC64 800F57B4 2442BB90 */ addiu $v0, $v0, -0x4470 +/* 08EC68 800F57B8 00431021 */ addu $v0, $v0, $v1 +/* 08EC6C 800F57BC 8C520000 */ lw $s2, ($v0) +/* 08EC70 800F57C0 8C590004 */ lw $t9, 4($v0) +/* 08EC74 800F57C4 ACB20000 */ sw $s2, ($a1) +/* 08EC78 800F57C8 0803D601 */ j .L800F5804 +/* 08EC7C 800F57CC ACB90004 */ sw $t9, 4($a1) + +.L800F57D0: +/* 08EC80 800F57D0 93A3010F */ lbu $v1, 0x10f($sp) +/* 08EC84 800F57D4 8D040000 */ lw $a0, ($t0) +/* 08EC88 800F57D8 10620006 */ beq $v1, $v0, .L800F57F4 +/* 08EC8C 800F57DC 3C03E300 */ lui $v1, 0xe300 +/* 08EC90 800F57E0 8D520028 */ lw $s2, 0x28($t2) +/* 08EC94 800F57E4 8D59002C */ lw $t9, 0x2c($t2) +/* 08EC98 800F57E8 AC920000 */ sw $s2, ($a0) +/* 08EC9C 800F57EC 0803D602 */ j .L800F5808 +/* 08ECA0 800F57F0 AC990004 */ sw $t9, 4($a0) + +.L800F57F4: +/* 08ECA4 800F57F4 8D520020 */ lw $s2, 0x20($t2) +/* 08ECA8 800F57F8 8D590024 */ lw $t9, 0x24($t2) +/* 08ECAC 800F57FC AC920000 */ sw $s2, ($a0) +/* 08ECB0 800F5800 AC990004 */ sw $t9, 4($a0) +.L800F5804: +/* 08ECB4 800F5804 3C03E300 */ lui $v1, 0xe300 +.L800F5808: +/* 08ECB8 800F5808 3C13800A */ lui $s3, 0x800a +/* 08ECBC 800F580C 2673A66C */ addiu $s3, $s3, -0x5994 +/* 08ECC0 800F5810 8E680000 */ lw $t0, ($s3) +/* 08ECC4 800F5814 34631201 */ ori $v1, $v1, 0x1201 +/* 08ECC8 800F5818 25020010 */ addiu $v0, $t0, 0x10 +/* 08ECCC 800F581C AE620000 */ sw $v0, ($s3) +/* 08ECD0 800F5820 AD030008 */ sw $v1, 8($t0) +/* 08ECD4 800F5824 13C000E7 */ beqz $fp, .L800F5BC4 +/* 08ECD8 800F5828 AD00000C */ sw $zero, 0xc($t0) +/* 08ECDC 800F582C 3C03DC08 */ lui $v1, 0xdc08 +/* 08ECE0 800F5830 34630008 */ ori $v1, $v1, 8 +/* 08ECE4 800F5834 27A40020 */ addiu $a0, $sp, 0x20 +/* 08ECE8 800F5838 3C120001 */ lui $s2, 1 +/* 08ECEC 800F583C 36521630 */ ori $s2, $s2, 0x1630 +/* 08ECF0 800F5840 3C05C2A0 */ lui $a1, 0xc2a0 +/* 08ECF4 800F5844 3C0642A0 */ lui $a2, 0x42a0 +/* 08ECF8 800F5848 3C074270 */ lui $a3, 0x4270 +/* 08ECFC 800F584C 3C01C270 */ lui $at, 0xc270 +/* 08ED00 800F5850 44810000 */ mtc1 $at, $f0 +/* 08ED04 800F5854 3C014320 */ lui $at, 0x4320 +/* 08ED08 800F5858 44811000 */ mtc1 $at, $f2 +/* 08ED0C 800F585C 3C0143F0 */ lui $at, 0x43f0 +/* 08ED10 800F5860 44812000 */ mtc1 $at, $f4 +/* 08ED14 800F5864 3C013F80 */ lui $at, 0x3f80 +/* 08ED18 800F5868 4481A000 */ mtc1 $at, $f20 +/* 08ED1C 800F586C 25020018 */ addiu $v0, $t0, 0x18 +/* 08ED20 800F5870 AE620000 */ sw $v0, ($s3) +/* 08ED24 800F5874 3C028011 */ lui $v0, 0x8011 +/* 08ED28 800F5878 2442BBB8 */ addiu $v0, $v0, -0x4448 +/* 08ED2C 800F587C AD030010 */ sw $v1, 0x10($t0) +/* 08ED30 800F5880 AD020014 */ sw $v0, 0x14($t0) +/* 08ED34 800F5884 E7A00010 */ swc1 $f0, 0x10($sp) +/* 08ED38 800F5888 E7A20014 */ swc1 $f2, 0x14($sp) +/* 08ED3C 800F588C E7A40018 */ swc1 $f4, 0x18($sp) +/* 08ED40 800F5890 0C0187CC */ jal guFrustumF +/* 08ED44 800F5894 E7B4001C */ swc1 $f20, 0x1c($sp) +/* 08ED48 800F5898 27A40020 */ addiu $a0, $sp, 0x20 +/* 08ED4C 800F589C 3C108007 */ lui $s0, 0x8007 +/* 08ED50 800F58A0 261041F0 */ addiu $s0, $s0, 0x41f0 +/* 08ED54 800F58A4 3C11800A */ lui $s1, 0x800a +/* 08ED58 800F58A8 2631A674 */ addiu $s1, $s1, -0x598c +/* 08ED5C 800F58AC 96050000 */ lhu $a1, ($s0) +/* 08ED60 800F58B0 8E220000 */ lw $v0, ($s1) +/* 08ED64 800F58B4 00052980 */ sll $a1, $a1, 6 +/* 08ED68 800F58B8 00B22821 */ addu $a1, $a1, $s2 +/* 08ED6C 800F58BC 0C019D40 */ jal guMtxF2L +/* 08ED70 800F58C0 00452821 */ addu $a1, $v0, $a1 +/* 08ED74 800F58C4 3C0ADA38 */ lui $t2, 0xda38 +/* 08ED78 800F58C8 354A0007 */ ori $t2, $t2, 7 +/* 08ED7C 800F58CC 8E630000 */ lw $v1, ($s3) +/* 08ED80 800F58D0 8FA5021C */ lw $a1, 0x21c($sp) +/* 08ED84 800F58D4 8FA60220 */ lw $a2, 0x220($sp) +/* 08ED88 800F58D8 96020000 */ lhu $v0, ($s0) +/* 08ED8C 800F58DC 8FA70224 */ lw $a3, 0x224($sp) +/* 08ED90 800F58E0 8E280000 */ lw $t0, ($s1) +/* 08ED94 800F58E4 00021180 */ sll $v0, $v0, 6 +/* 08ED98 800F58E8 00521021 */ addu $v0, $v0, $s2 +/* 08ED9C 800F58EC 01021021 */ addu $v0, $t0, $v0 +/* 08EDA0 800F58F0 0060482D */ daddu $t1, $v1, $zero +/* 08EDA4 800F58F4 AFA20154 */ sw $v0, 0x154($sp) +/* 08EDA8 800F58F8 96020000 */ lhu $v0, ($s0) +/* 08EDAC 800F58FC 24630008 */ addiu $v1, $v1, 8 +/* 08EDB0 800F5900 AE630000 */ sw $v1, ($s3) +/* 08EDB4 800F5904 AD2A0000 */ sw $t2, ($t1) +/* 08EDB8 800F5908 24430001 */ addiu $v1, $v0, 1 +/* 08EDBC 800F590C 3042FFFF */ andi $v0, $v0, 0xffff +/* 08EDC0 800F5910 00021180 */ sll $v0, $v0, 6 +/* 08EDC4 800F5914 00521021 */ addu $v0, $v0, $s2 +/* 08EDC8 800F5918 01024021 */ addu $t0, $t0, $v0 +/* 08EDCC 800F591C A6030000 */ sh $v1, ($s0) +/* 08EDD0 800F5920 AD280004 */ sw $t0, 4($t1) +/* 08EDD4 800F5924 8FB90204 */ lw $t9, 0x204($sp) +/* 08EDD8 800F5928 8FAE01F8 */ lw $t6, 0x1f8($sp) +/* 08EDDC 800F592C 8FAF0208 */ lw $t7, 0x208($sp) +/* 08EDE0 800F5930 8FB201FC */ lw $s2, 0x1fc($sp) +/* 08EDE4 800F5934 27A40020 */ addiu $a0, $sp, 0x20 +/* 08EDE8 800F5938 E7B40010 */ swc1 $f20, 0x10($sp) +/* 08EDEC 800F593C 001917C2 */ srl $v0, $t9, 0x1f +/* 08EDF0 800F5940 03221021 */ addu $v0, $t9, $v0 +/* 08EDF4 800F5944 00021043 */ sra $v0, $v0, 1 +/* 08EDF8 800F5948 01C21021 */ addu $v0, $t6, $v0 +/* 08EDFC 800F594C 44820000 */ mtc1 $v0, $f0 +/* 08EE00 800F5950 00000000 */ nop +/* 08EE04 800F5954 46800020 */ cvt.s.w $f0, $f0 +/* 08EE08 800F5958 000F17C2 */ srl $v0, $t7, 0x1f +/* 08EE0C 800F595C 01E21021 */ addu $v0, $t7, $v0 +/* 08EE10 800F5960 00021043 */ sra $v0, $v0, 1 +/* 08EE14 800F5964 02421021 */ addu $v0, $s2, $v0 +/* 08EE18 800F5968 E7A00014 */ swc1 $f0, 0x14($sp) +/* 08EE1C 800F596C 44820000 */ mtc1 $v0, $f0 +/* 08EE20 800F5970 00000000 */ nop +/* 08EE24 800F5974 46800020 */ cvt.s.w $f0, $f0 +/* 08EE28 800F5978 E7A00018 */ swc1 $f0, 0x18($sp) +/* 08EE2C 800F597C C7A00200 */ lwc1 $f0, 0x200($sp) +/* 08EE30 800F5980 46800020 */ cvt.s.w $f0, $f0 +/* 08EE34 800F5984 0C018FC4 */ jal guPositionF +/* 08EE38 800F5988 E7A0001C */ swc1 $f0, 0x1c($sp) +/* 08EE3C 800F598C 4614B032 */ c.eq.s $f22, $f20 +/* 08EE40 800F5990 00000000 */ nop +/* 08EE44 800F5994 45000005 */ bc1f .L800F59AC +/* 08EE48 800F5998 27B00060 */ addiu $s0, $sp, 0x60 +/* 08EE4C 800F599C 4614C032 */ c.eq.s $f24, $f20 +/* 08EE50 800F59A0 00000000 */ nop +/* 08EE54 800F59A4 4501000A */ bc1t .L800F59D0 +/* 08EE58 800F59A8 00000000 */ nop +.L800F59AC: +/* 08EE5C 800F59AC 4405B000 */ mfc1 $a1, $f22 +/* 08EE60 800F59B0 4406C000 */ mfc1 $a2, $f24 +/* 08EE64 800F59B4 4407A000 */ mfc1 $a3, $f20 +/* 08EE68 800F59B8 0C019DF0 */ jal guScaleF +/* 08EE6C 800F59BC 0200202D */ daddu $a0, $s0, $zero +/* 08EE70 800F59C0 0200202D */ daddu $a0, $s0, $zero +/* 08EE74 800F59C4 27A50020 */ addiu $a1, $sp, 0x20 +/* 08EE78 800F59C8 0C019D80 */ jal guMtxCatF +/* 08EE7C 800F59CC 00A0302D */ daddu $a2, $a1, $zero +.L800F59D0: +/* 08EE80 800F59D0 8FB90230 */ lw $t9, 0x230($sp) +/* 08EE84 800F59D4 1320001E */ beqz $t9, .L800F5A50 +/* 08EE88 800F59D8 27B00060 */ addiu $s0, $sp, 0x60 +/* 08EE8C 800F59DC 8FA20234 */ lw $v0, 0x234($sp) +/* 08EE90 800F59E0 0200202D */ daddu $a0, $s0, $zero +/* 08EE94 800F59E4 00021023 */ negu $v0, $v0 +/* 08EE98 800F59E8 00021FC2 */ srl $v1, $v0, 0x1f +/* 08EE9C 800F59EC 00431021 */ addu $v0, $v0, $v1 +/* 08EEA0 800F59F0 00021043 */ sra $v0, $v0, 1 +/* 08EEA4 800F59F4 44823000 */ mtc1 $v0, $f6 +/* 08EEA8 800F59F8 00000000 */ nop +/* 08EEAC 800F59FC 468031A0 */ cvt.s.w $f6, $f6 +/* 08EEB0 800F5A00 8FA20238 */ lw $v0, 0x238($sp) +/* 08EEB4 800F5A04 44053000 */ mfc1 $a1, $f6 +/* 08EEB8 800F5A08 00021023 */ negu $v0, $v0 +/* 08EEBC 800F5A0C 00021FC2 */ srl $v1, $v0, 0x1f +/* 08EEC0 800F5A10 00431021 */ addu $v0, $v0, $v1 +/* 08EEC4 800F5A14 00021043 */ sra $v0, $v0, 1 +/* 08EEC8 800F5A18 44823000 */ mtc1 $v0, $f6 +/* 08EECC 800F5A1C 00000000 */ nop +/* 08EED0 800F5A20 468031A0 */ cvt.s.w $f6, $f6 +/* 08EED4 800F5A24 44063000 */ mfc1 $a2, $f6 +/* 08EED8 800F5A28 0C019E40 */ jal guTranslateF +/* 08EEDC 800F5A2C 0000382D */ daddu $a3, $zero, $zero +/* 08EEE0 800F5A30 27A40020 */ addiu $a0, $sp, 0x20 +/* 08EEE4 800F5A34 0200282D */ daddu $a1, $s0, $zero +/* 08EEE8 800F5A38 0C019D80 */ jal guMtxCatF +/* 08EEEC 800F5A3C 0200302D */ daddu $a2, $s0, $zero +/* 08EEF0 800F5A40 0200202D */ daddu $a0, $s0, $zero +/* 08EEF4 800F5A44 8FA50230 */ lw $a1, 0x230($sp) +/* 08EEF8 800F5A48 0C019D80 */ jal guMtxCatF +/* 08EEFC 800F5A4C 27A60020 */ addiu $a2, $sp, 0x20 +.L800F5A50: +/* 08EF00 800F5A50 8FAE023C */ lw $t6, 0x23c($sp) +/* 08EF04 800F5A54 11C00012 */ beqz $t6, .L800F5AA0 +/* 08EF08 800F5A58 27A80020 */ addiu $t0, $sp, 0x20 +/* 08EF0C 800F5A5C 0000302D */ daddu $a2, $zero, $zero +/* 08EF10 800F5A60 01C0382D */ daddu $a3, $t6, $zero +.L800F5A64: +/* 08EF14 800F5A64 0000282D */ daddu $a1, $zero, $zero +/* 08EF18 800F5A68 00E0202D */ daddu $a0, $a3, $zero +/* 08EF1C 800F5A6C 00061900 */ sll $v1, $a2, 4 +.L800F5A70: +/* 08EF20 800F5A70 01031021 */ addu $v0, $t0, $v1 +/* 08EF24 800F5A74 24630004 */ addiu $v1, $v1, 4 +/* 08EF28 800F5A78 24A50001 */ addiu $a1, $a1, 1 +/* 08EF2C 800F5A7C C4400000 */ lwc1 $f0, ($v0) +/* 08EF30 800F5A80 28A20004 */ slti $v0, $a1, 4 +/* 08EF34 800F5A84 E4800000 */ swc1 $f0, ($a0) +/* 08EF38 800F5A88 1440FFF9 */ bnez $v0, .L800F5A70 +/* 08EF3C 800F5A8C 24840004 */ addiu $a0, $a0, 4 +/* 08EF40 800F5A90 24C60001 */ addiu $a2, $a2, 1 +/* 08EF44 800F5A94 28C20004 */ slti $v0, $a2, 4 +/* 08EF48 800F5A98 1440FFF2 */ bnez $v0, .L800F5A64 +/* 08EF4C 800F5A9C 24E70010 */ addiu $a3, $a3, 0x10 +.L800F5AA0: +/* 08EF50 800F5AA0 27B00060 */ addiu $s0, $sp, 0x60 +/* 08EF54 800F5AA4 3C05C320 */ lui $a1, 0xc320 +/* 08EF58 800F5AA8 3C06C2F0 */ lui $a2, 0xc2f0 +/* 08EF5C 800F5AAC 3C07C3A0 */ lui $a3, 0xc3a0 +/* 08EF60 800F5AB0 0C019E40 */ jal guTranslateF +/* 08EF64 800F5AB4 0200202D */ daddu $a0, $s0, $zero +/* 08EF68 800F5AB8 27A40020 */ addiu $a0, $sp, 0x20 +/* 08EF6C 800F5ABC 0200282D */ daddu $a1, $s0, $zero +/* 08EF70 800F5AC0 0C019D80 */ jal guMtxCatF +/* 08EF74 800F5AC4 0080302D */ daddu $a2, $a0, $zero +/* 08EF78 800F5AC8 3C03D9FD */ lui $v1, 0xd9fd +/* 08EF7C 800F5ACC 3C13800A */ lui $s3, 0x800a +/* 08EF80 800F5AD0 2673A66C */ addiu $s3, $s3, -0x5994 +/* 08EF84 800F5AD4 8E640000 */ lw $a0, ($s3) +/* 08EF88 800F5AD8 3463F9FF */ ori $v1, $v1, 0xf9ff +/* 08EF8C 800F5ADC 0080102D */ daddu $v0, $a0, $zero +/* 08EF90 800F5AE0 24840008 */ addiu $a0, $a0, 8 +/* 08EF94 800F5AE4 AE640000 */ sw $a0, ($s3) +/* 08EF98 800F5AE8 AC430000 */ sw $v1, ($v0) +/* 08EF9C 800F5AEC AC400004 */ sw $zero, 4($v0) +/* 08EFA0 800F5AF0 8FAF01F0 */ lw $t7, 0x1f0($sp) +/* 08EFA4 800F5AF4 31E20008 */ andi $v0, $t7, 8 +/* 08EFA8 800F5AF8 10400007 */ beqz $v0, .L800F5B18 +/* 08EFAC 800F5AFC 3C02D9FF */ lui $v0, 0xd9ff +/* 08EFB0 800F5B00 3442FFFF */ ori $v0, $v0, 0xffff +/* 08EFB4 800F5B04 24830008 */ addiu $v1, $a0, 8 +/* 08EFB8 800F5B08 AE630000 */ sw $v1, ($s3) +/* 08EFBC 800F5B0C AC820000 */ sw $v0, ($a0) +/* 08EFC0 800F5B10 24020400 */ addiu $v0, $zero, 0x400 +/* 08EFC4 800F5B14 AC820004 */ sw $v0, 4($a0) +.L800F5B18: +/* 08EFC8 800F5B18 3C120001 */ lui $s2, 1 +/* 08EFCC 800F5B1C 36521630 */ ori $s2, $s2, 0x1630 +/* 08EFD0 800F5B20 27A40020 */ addiu $a0, $sp, 0x20 +/* 08EFD4 800F5B24 3C108007 */ lui $s0, 0x8007 +/* 08EFD8 800F5B28 261041F0 */ addiu $s0, $s0, 0x41f0 +/* 08EFDC 800F5B2C 3C11800A */ lui $s1, 0x800a +/* 08EFE0 800F5B30 2631A674 */ addiu $s1, $s1, -0x598c +/* 08EFE4 800F5B34 96050000 */ lhu $a1, ($s0) +/* 08EFE8 800F5B38 8E220000 */ lw $v0, ($s1) +/* 08EFEC 800F5B3C 00052980 */ sll $a1, $a1, 6 +/* 08EFF0 800F5B40 00B22821 */ addu $a1, $a1, $s2 +/* 08EFF4 800F5B44 0C019D40 */ jal guMtxF2L +/* 08EFF8 800F5B48 00452821 */ addu $a1, $v0, $a1 +/* 08EFFC 800F5B4C 3C03DA38 */ lui $v1, 0xda38 +/* 08F000 800F5B50 34630002 */ ori $v1, $v1, 2 +/* 08F004 800F5B54 3C06E300 */ lui $a2, 0xe300 +/* 08F008 800F5B58 34C60C00 */ ori $a2, $a2, 0xc00 +/* 08F00C 800F5B5C 8E640000 */ lw $a0, ($s3) +/* 08F010 800F5B60 96020000 */ lhu $v0, ($s0) +/* 08F014 800F5B64 0080282D */ daddu $a1, $a0, $zero +/* 08F018 800F5B68 24840008 */ addiu $a0, $a0, 8 +/* 08F01C 800F5B6C AE640000 */ sw $a0, ($s3) +/* 08F020 800F5B70 ACA30000 */ sw $v1, ($a1) +/* 08F024 800F5B74 24430001 */ addiu $v1, $v0, 1 +/* 08F028 800F5B78 3042FFFF */ andi $v0, $v0, 0xffff +/* 08F02C 800F5B7C 00021180 */ sll $v0, $v0, 6 +/* 08F030 800F5B80 A6030000 */ sh $v1, ($s0) +/* 08F034 800F5B84 8E230000 */ lw $v1, ($s1) +/* 08F038 800F5B88 00521021 */ addu $v0, $v0, $s2 +/* 08F03C 800F5B8C 00621821 */ addu $v1, $v1, $v0 +/* 08F040 800F5B90 24820008 */ addiu $v0, $a0, 8 +/* 08F044 800F5B94 ACA30004 */ sw $v1, 4($a1) +/* 08F048 800F5B98 AE620000 */ sw $v0, ($s3) +/* 08F04C 800F5B9C 3C020008 */ lui $v0, 8 +/* 08F050 800F5BA0 AC820004 */ sw $v0, 4($a0) +/* 08F054 800F5BA4 24820010 */ addiu $v0, $a0, 0x10 +/* 08F058 800F5BA8 AC860000 */ sw $a2, ($a0) +/* 08F05C 800F5BAC AE620000 */ sw $v0, ($s3) +/* 08F060 800F5BB0 3C02DB0E */ lui $v0, 0xdb0e +/* 08F064 800F5BB4 AC820008 */ sw $v0, 8($a0) +/* 08F068 800F5BB8 24020014 */ addiu $v0, $zero, 0x14 +/* 08F06C 800F5BBC 0803D6F7 */ j .L800F5BDC +/* 08F070 800F5BC0 AC82000C */ sw $v0, 0xc($a0) + +.L800F5BC4: +/* 08F074 800F5BC4 3C03E300 */ lui $v1, 0xe300 +/* 08F078 800F5BC8 34630C00 */ ori $v1, $v1, 0xc00 +/* 08F07C 800F5BCC 25020018 */ addiu $v0, $t0, 0x18 +/* 08F080 800F5BD0 AE620000 */ sw $v0, ($s3) +/* 08F084 800F5BD4 AD030010 */ sw $v1, 0x10($t0) +/* 08F088 800F5BD8 AD000014 */ sw $zero, 0x14($t0) +.L800F5BDC: +/* 08F08C 800F5BDC 3C02D700 */ lui $v0, 0xd700 +/* 08F090 800F5BE0 34420002 */ ori $v0, $v0, 2 +/* 08F094 800F5BE4 3C04E300 */ lui $a0, 0xe300 +/* 08F098 800F5BE8 34841001 */ ori $a0, $a0, 0x1001 +/* 08F09C 800F5BEC 3C05E300 */ lui $a1, 0xe300 +/* 08F0A0 800F5BF0 34A50D01 */ ori $a1, $a1, 0xd01 +/* 08F0A4 800F5BF4 3C06E300 */ lui $a2, 0xe300 +/* 08F0A8 800F5BF8 3C0B800A */ lui $t3, 0x800a +/* 08F0AC 800F5BFC 256BA66C */ addiu $t3, $t3, -0x5994 +/* 08F0B0 800F5C00 8D6A0000 */ lw $t2, ($t3) +/* 08F0B4 800F5C04 34C60F00 */ ori $a2, $a2, 0xf00 +/* 08F0B8 800F5C08 0140182D */ daddu $v1, $t2, $zero +/* 08F0BC 800F5C0C 254A0008 */ addiu $t2, $t2, 8 +/* 08F0C0 800F5C10 AD6A0000 */ sw $t2, ($t3) +/* 08F0C4 800F5C14 AC620000 */ sw $v0, ($v1) +/* 08F0C8 800F5C18 2402FFFF */ addiu $v0, $zero, -1 +/* 08F0CC 800F5C1C AC620004 */ sw $v0, 4($v1) +/* 08F0D0 800F5C20 25420008 */ addiu $v0, $t2, 8 +/* 08F0D4 800F5C24 AD620000 */ sw $v0, ($t3) +/* 08F0D8 800F5C28 25420010 */ addiu $v0, $t2, 0x10 +/* 08F0DC 800F5C2C AD440000 */ sw $a0, ($t2) +/* 08F0E0 800F5C30 AD400004 */ sw $zero, 4($t2) +/* 08F0E4 800F5C34 AD620000 */ sw $v0, ($t3) +/* 08F0E8 800F5C38 25420018 */ addiu $v0, $t2, 0x18 +/* 08F0EC 800F5C3C AD450008 */ sw $a1, 8($t2) +/* 08F0F0 800F5C40 AD40000C */ sw $zero, 0xc($t2) +/* 08F0F4 800F5C44 AD620000 */ sw $v0, ($t3) +/* 08F0F8 800F5C48 25420020 */ addiu $v0, $t2, 0x20 +/* 08F0FC 800F5C4C AD460010 */ sw $a2, 0x10($t2) +/* 08F100 800F5C50 AD400014 */ sw $zero, 0x14($t2) +/* 08F104 800F5C54 AD620000 */ sw $v0, ($t3) +/* 08F108 800F5C58 3C02FA00 */ lui $v0, 0xfa00 +/* 08F10C 800F5C5C AD420018 */ sw $v0, 0x18($t2) +/* 08F110 800F5C60 93B200F7 */ lbu $s2, 0xf7($sp) +/* 08F114 800F5C64 93B900FF */ lbu $t9, 0xff($sp) +/* 08F118 800F5C68 93AE0107 */ lbu $t6, 0x107($sp) +/* 08F11C 800F5C6C 00121600 */ sll $v0, $s2, 0x18 +/* 08F120 800F5C70 00191C00 */ sll $v1, $t9, 0x10 +/* 08F124 800F5C74 00431025 */ or $v0, $v0, $v1 +/* 08F128 800F5C78 000E1A00 */ sll $v1, $t6, 8 +/* 08F12C 800F5C7C 00431025 */ or $v0, $v0, $v1 +/* 08F130 800F5C80 93A3010F */ lbu $v1, 0x10f($sp) +/* 08F134 800F5C84 00431025 */ or $v0, $v0, $v1 +/* 08F138 800F5C88 AD42001C */ sw $v0, 0x1c($t2) +/* 08F13C 800F5C8C 25420028 */ addiu $v0, $t2, 0x28 +/* 08F140 800F5C90 AD620000 */ sw $v0, ($t3) +/* 08F144 800F5C94 3C02FB00 */ lui $v0, 0xfb00 +/* 08F148 800F5C98 AD420020 */ sw $v0, 0x20($t2) +/* 08F14C 800F5C9C 93AF0117 */ lbu $t7, 0x117($sp) +/* 08F150 800F5CA0 93B2011F */ lbu $s2, 0x11f($sp) +/* 08F154 800F5CA4 93B90127 */ lbu $t9, 0x127($sp) +/* 08F158 800F5CA8 93AE012F */ lbu $t6, 0x12f($sp) +/* 08F15C 800F5CAC 000F1600 */ sll $v0, $t7, 0x18 +/* 08F160 800F5CB0 00121C00 */ sll $v1, $s2, 0x10 +/* 08F164 800F5CB4 00431025 */ or $v0, $v0, $v1 +/* 08F168 800F5CB8 00191A00 */ sll $v1, $t9, 8 +/* 08F16C 800F5CBC 00431025 */ or $v0, $v0, $v1 +/* 08F170 800F5CC0 01C21025 */ or $v0, $t6, $v0 +/* 08F174 800F5CC4 AD420024 */ sw $v0, 0x24($t2) +/* 08F178 800F5CC8 8FAF0138 */ lw $t7, 0x138($sp) +/* 08F17C 800F5CCC 11E0012E */ beqz $t7, .L800F6188 +/* 08F180 800F5CD0 00000000 */ nop +/* 08F184 800F5CD4 92820004 */ lbu $v0, 4($s4) +/* 08F188 800F5CD8 3043000F */ andi $v1, $v0, 0xf +/* 08F18C 800F5CDC 24020001 */ addiu $v0, $zero, 1 +/* 08F190 800F5CE0 10620054 */ beq $v1, $v0, .L800F5E34 +/* 08F194 800F5CE4 28620002 */ slti $v0, $v1, 2 +/* 08F198 800F5CE8 10400005 */ beqz $v0, .L800F5D00 +/* 08F19C 800F5CEC 24020002 */ addiu $v0, $zero, 2 +/* 08F1A0 800F5CF0 10600009 */ beqz $v1, .L800F5D18 +/* 08F1A4 800F5CF4 25420030 */ addiu $v0, $t2, 0x30 +/* 08F1A8 800F5CF8 0803D80F */ j .L800F603C +/* 08F1AC 800F5CFC 00000000 */ nop + +.L800F5D00: +/* 08F1B0 800F5D00 1062006D */ beq $v1, $v0, .L800F5EB8 +/* 08F1B4 800F5D04 24020003 */ addiu $v0, $zero, 3 +/* 08F1B8 800F5D08 1062008D */ beq $v1, $v0, .L800F5F40 +/* 08F1BC 800F5D0C 25420030 */ addiu $v0, $t2, 0x30 +/* 08F1C0 800F5D10 0803D80F */ j .L800F603C +/* 08F1C4 800F5D14 00000000 */ nop + +.L800F5D18: +/* 08F1C8 800F5D18 00152042 */ srl $a0, $s5, 1 +/* 08F1CC 800F5D1C AD620000 */ sw $v0, ($t3) +/* 08F1D0 800F5D20 2482FFFF */ addiu $v0, $a0, -1 +/* 08F1D4 800F5D24 30420FFF */ andi $v0, $v0, 0xfff +/* 08F1D8 800F5D28 3C03FD08 */ lui $v1, 0xfd08 +/* 08F1DC 800F5D2C 00431025 */ or $v0, $v0, $v1 +/* 08F1E0 800F5D30 24840007 */ addiu $a0, $a0, 7 +/* 08F1E4 800F5D34 000420C2 */ srl $a0, $a0, 3 +/* 08F1E8 800F5D38 00042240 */ sll $a0, $a0, 9 +/* 08F1EC 800F5D3C 00164380 */ sll $t0, $s6, 0xe +/* 08F1F0 800F5D40 3C060700 */ lui $a2, 0x700 +/* 08F1F4 800F5D44 26A3FFFF */ addiu $v1, $s5, -1 +/* 08F1F8 800F5D48 26E5FFFF */ addiu $a1, $s7, -1 +/* 08F1FC 800F5D4C 8FB20140 */ lw $s2, 0x140($sp) +/* 08F200 800F5D50 00052880 */ sll $a1, $a1, 2 +/* 08F204 800F5D54 32470007 */ andi $a3, $s2, 7 +/* 08F208 800F5D58 00073D40 */ sll $a3, $a3, 0x15 +/* 08F20C 800F5D5C 00E21025 */ or $v0, $a3, $v0 +/* 08F210 800F5D60 AD420028 */ sw $v0, 0x28($t2) +/* 08F214 800F5D64 8FB90138 */ lw $t9, 0x138($sp) +/* 08F218 800F5D68 25420038 */ addiu $v0, $t2, 0x38 +/* 08F21C 800F5D6C AD59002C */ sw $t9, 0x2c($t2) +/* 08F220 800F5D70 AD620000 */ sw $v0, ($t3) +/* 08F224 800F5D74 3C02F508 */ lui $v0, 0xf508 +/* 08F228 800F5D78 00821025 */ or $v0, $a0, $v0 +/* 08F22C 800F5D7C 00E21025 */ or $v0, $a3, $v0 +/* 08F230 800F5D80 AD420030 */ sw $v0, 0x30($t2) +/* 08F234 800F5D84 8FAE0144 */ lw $t6, 0x144($sp) +/* 08F238 800F5D88 30A50FFF */ andi $a1, $a1, 0xfff +/* 08F23C 800F5D8C 000E4900 */ sll $t1, $t6, 4 +/* 08F240 800F5D90 01261025 */ or $v0, $t1, $a2 +/* 08F244 800F5D94 01021025 */ or $v0, $t0, $v0 +/* 08F248 800F5D98 AD420034 */ sw $v0, 0x34($t2) +/* 08F24C 800F5D9C 25420040 */ addiu $v0, $t2, 0x40 +/* 08F250 800F5DA0 AD620000 */ sw $v0, ($t3) +/* 08F254 800F5DA4 3C02E600 */ lui $v0, 0xe600 +/* 08F258 800F5DA8 AD420038 */ sw $v0, 0x38($t2) +/* 08F25C 800F5DAC 25420048 */ addiu $v0, $t2, 0x48 +/* 08F260 800F5DB0 AD40003C */ sw $zero, 0x3c($t2) +/* 08F264 800F5DB4 AD620000 */ sw $v0, ($t3) +/* 08F268 800F5DB8 3C02F400 */ lui $v0, 0xf400 +/* 08F26C 800F5DBC AD420040 */ sw $v0, 0x40($t2) +/* 08F270 800F5DC0 00031040 */ sll $v0, $v1, 1 +/* 08F274 800F5DC4 30420FFF */ andi $v0, $v0, 0xfff +/* 08F278 800F5DC8 00021300 */ sll $v0, $v0, 0xc +/* 08F27C 800F5DCC 00A63025 */ or $a2, $a1, $a2 +/* 08F280 800F5DD0 00461025 */ or $v0, $v0, $a2 +/* 08F284 800F5DD4 AD420044 */ sw $v0, 0x44($t2) +/* 08F288 800F5DD8 25420050 */ addiu $v0, $t2, 0x50 +/* 08F28C 800F5DDC AD620000 */ sw $v0, ($t3) +/* 08F290 800F5DE0 3C02E700 */ lui $v0, 0xe700 +/* 08F294 800F5DE4 AD420048 */ sw $v0, 0x48($t2) +/* 08F298 800F5DE8 25420058 */ addiu $v0, $t2, 0x58 +/* 08F29C 800F5DEC AD40004C */ sw $zero, 0x4c($t2) +/* 08F2A0 800F5DF0 AD620000 */ sw $v0, ($t3) +/* 08F2A4 800F5DF4 3C02F500 */ lui $v0, 0xf500 +/* 08F2A8 800F5DF8 00822025 */ or $a0, $a0, $v0 +/* 08F2AC 800F5DFC 00E43825 */ or $a3, $a3, $a0 +/* 08F2B0 800F5E00 01094025 */ or $t0, $t0, $t1 +/* 08F2B4 800F5E04 25420060 */ addiu $v0, $t2, 0x60 +/* 08F2B8 800F5E08 AD470050 */ sw $a3, 0x50($t2) +/* 08F2BC 800F5E0C AD480054 */ sw $t0, 0x54($t2) +/* 08F2C0 800F5E10 AD620000 */ sw $v0, ($t3) +/* 08F2C4 800F5E14 3C02F200 */ lui $v0, 0xf200 +/* 08F2C8 800F5E18 00031880 */ sll $v1, $v1, 2 +/* 08F2CC 800F5E1C 30630FFF */ andi $v1, $v1, 0xfff +/* 08F2D0 800F5E20 00031B00 */ sll $v1, $v1, 0xc +/* 08F2D4 800F5E24 00651825 */ or $v1, $v1, $a1 +/* 08F2D8 800F5E28 AD420058 */ sw $v0, 0x58($t2) +/* 08F2DC 800F5E2C 0803D80F */ j .L800F603C +/* 08F2E0 800F5E30 AD43005C */ sw $v1, 0x5c($t2) + +.L800F5E34: +/* 08F2E4 800F5E34 25420030 */ addiu $v0, $t2, 0x30 +/* 08F2E8 800F5E38 26A5FFFF */ addiu $a1, $s5, -1 +/* 08F2EC 800F5E3C AD620000 */ sw $v0, ($t3) +/* 08F2F0 800F5E40 30A20FFF */ andi $v0, $a1, 0xfff +/* 08F2F4 800F5E44 3C03FD08 */ lui $v1, 0xfd08 +/* 08F2F8 800F5E48 00431025 */ or $v0, $v0, $v1 +/* 08F2FC 800F5E4C 3C03F508 */ lui $v1, 0xf508 +/* 08F300 800F5E50 00163B80 */ sll $a3, $s6, 0xe +/* 08F304 800F5E54 3C040700 */ lui $a0, 0x700 +/* 08F308 800F5E58 00052880 */ sll $a1, $a1, 2 +/* 08F30C 800F5E5C 30A50FFF */ andi $a1, $a1, 0xfff +/* 08F310 800F5E60 8FAF0140 */ lw $t7, 0x140($sp) +/* 08F314 800F5E64 00052B00 */ sll $a1, $a1, 0xc +/* 08F318 800F5E68 31E60007 */ andi $a2, $t7, 7 +/* 08F31C 800F5E6C 00063540 */ sll $a2, $a2, 0x15 +/* 08F320 800F5E70 00C21025 */ or $v0, $a2, $v0 +/* 08F324 800F5E74 AD420028 */ sw $v0, 0x28($t2) +/* 08F328 800F5E78 8FB20138 */ lw $s2, 0x138($sp) +/* 08F32C 800F5E7C 25420038 */ addiu $v0, $t2, 0x38 +/* 08F330 800F5E80 AD52002C */ sw $s2, 0x2c($t2) +/* 08F334 800F5E84 AD620000 */ sw $v0, ($t3) +/* 08F338 800F5E88 26A20007 */ addiu $v0, $s5, 7 +/* 08F33C 800F5E8C 000210C2 */ srl $v0, $v0, 3 +/* 08F340 800F5E90 00021240 */ sll $v0, $v0, 9 +/* 08F344 800F5E94 00431025 */ or $v0, $v0, $v1 +/* 08F348 800F5E98 00C23025 */ or $a2, $a2, $v0 +/* 08F34C 800F5E9C 26E3FFFF */ addiu $v1, $s7, -1 +/* 08F350 800F5EA0 00031880 */ sll $v1, $v1, 2 +/* 08F354 800F5EA4 AD460030 */ sw $a2, 0x30($t2) +/* 08F358 800F5EA8 8FB90144 */ lw $t9, 0x144($sp) +/* 08F35C 800F5EAC 30630FFF */ andi $v1, $v1, 0xfff +/* 08F360 800F5EB0 0803D7F0 */ j .L800F5FC0 +/* 08F364 800F5EB4 00194100 */ sll $t0, $t9, 4 + +.L800F5EB8: +/* 08F368 800F5EB8 25420030 */ addiu $v0, $t2, 0x30 +/* 08F36C 800F5EBC 26A5FFFF */ addiu $a1, $s5, -1 +/* 08F370 800F5EC0 AD620000 */ sw $v0, ($t3) +/* 08F374 800F5EC4 30A20FFF */ andi $v0, $a1, 0xfff +/* 08F378 800F5EC8 3C03FD10 */ lui $v1, 0xfd10 +/* 08F37C 800F5ECC 00431025 */ or $v0, $v0, $v1 +/* 08F380 800F5ED0 3C03F510 */ lui $v1, 0xf510 +/* 08F384 800F5ED4 00163B80 */ sll $a3, $s6, 0xe +/* 08F388 800F5ED8 3C040700 */ lui $a0, 0x700 +/* 08F38C 800F5EDC 00052880 */ sll $a1, $a1, 2 +/* 08F390 800F5EE0 30A50FFF */ andi $a1, $a1, 0xfff +/* 08F394 800F5EE4 8FAE0140 */ lw $t6, 0x140($sp) +/* 08F398 800F5EE8 00052B00 */ sll $a1, $a1, 0xc +/* 08F39C 800F5EEC 31C60007 */ andi $a2, $t6, 7 +/* 08F3A0 800F5EF0 00063540 */ sll $a2, $a2, 0x15 +/* 08F3A4 800F5EF4 00C21025 */ or $v0, $a2, $v0 +/* 08F3A8 800F5EF8 AD420028 */ sw $v0, 0x28($t2) +/* 08F3AC 800F5EFC 8FAF0138 */ lw $t7, 0x138($sp) +/* 08F3B0 800F5F00 25420038 */ addiu $v0, $t2, 0x38 +/* 08F3B4 800F5F04 AD4F002C */ sw $t7, 0x2c($t2) +/* 08F3B8 800F5F08 AD620000 */ sw $v0, ($t3) +/* 08F3BC 800F5F0C 00151040 */ sll $v0, $s5, 1 +/* 08F3C0 800F5F10 24420007 */ addiu $v0, $v0, 7 +/* 08F3C4 800F5F14 000210C2 */ srl $v0, $v0, 3 +/* 08F3C8 800F5F18 00021240 */ sll $v0, $v0, 9 +/* 08F3CC 800F5F1C 00431025 */ or $v0, $v0, $v1 +/* 08F3D0 800F5F20 00C23025 */ or $a2, $a2, $v0 +/* 08F3D4 800F5F24 26E3FFFF */ addiu $v1, $s7, -1 +/* 08F3D8 800F5F28 00031880 */ sll $v1, $v1, 2 +/* 08F3DC 800F5F2C AD460030 */ sw $a2, 0x30($t2) +/* 08F3E0 800F5F30 8FB20144 */ lw $s2, 0x144($sp) +/* 08F3E4 800F5F34 30630FFF */ andi $v1, $v1, 0xfff +/* 08F3E8 800F5F38 0803D7F0 */ j .L800F5FC0 +/* 08F3EC 800F5F3C 00124100 */ sll $t0, $s2, 4 + +.L800F5F40: +/* 08F3F0 800F5F40 26A5FFFF */ addiu $a1, $s5, -1 +/* 08F3F4 800F5F44 AD620000 */ sw $v0, ($t3) +/* 08F3F8 800F5F48 30A20FFF */ andi $v0, $a1, 0xfff +/* 08F3FC 800F5F4C 3C03FD18 */ lui $v1, 0xfd18 +/* 08F400 800F5F50 00431025 */ or $v0, $v0, $v1 +/* 08F404 800F5F54 3C03F518 */ lui $v1, 0xf518 +/* 08F408 800F5F58 00163B80 */ sll $a3, $s6, 0xe +/* 08F40C 800F5F5C 3C040700 */ lui $a0, 0x700 +/* 08F410 800F5F60 00052880 */ sll $a1, $a1, 2 +/* 08F414 800F5F64 30A50FFF */ andi $a1, $a1, 0xfff +/* 08F418 800F5F68 8FB90140 */ lw $t9, 0x140($sp) +/* 08F41C 800F5F6C 00052B00 */ sll $a1, $a1, 0xc +/* 08F420 800F5F70 33260007 */ andi $a2, $t9, 7 +/* 08F424 800F5F74 00063540 */ sll $a2, $a2, 0x15 +/* 08F428 800F5F78 00C21025 */ or $v0, $a2, $v0 +/* 08F42C 800F5F7C AD420028 */ sw $v0, 0x28($t2) +/* 08F430 800F5F80 8FAE0138 */ lw $t6, 0x138($sp) +/* 08F434 800F5F84 25420038 */ addiu $v0, $t2, 0x38 +/* 08F438 800F5F88 AD4E002C */ sw $t6, 0x2c($t2) +/* 08F43C 800F5F8C AD620000 */ sw $v0, ($t3) +/* 08F440 800F5F90 00151040 */ sll $v0, $s5, 1 +/* 08F444 800F5F94 24420007 */ addiu $v0, $v0, 7 +/* 08F448 800F5F98 000210C2 */ srl $v0, $v0, 3 +/* 08F44C 800F5F9C 00021240 */ sll $v0, $v0, 9 +/* 08F450 800F5FA0 00431025 */ or $v0, $v0, $v1 +/* 08F454 800F5FA4 00C23025 */ or $a2, $a2, $v0 +/* 08F458 800F5FA8 26E3FFFF */ addiu $v1, $s7, -1 +/* 08F45C 800F5FAC 00031880 */ sll $v1, $v1, 2 +/* 08F460 800F5FB0 AD460030 */ sw $a2, 0x30($t2) +/* 08F464 800F5FB4 8FAF0144 */ lw $t7, 0x144($sp) +/* 08F468 800F5FB8 30630FFF */ andi $v1, $v1, 0xfff +/* 08F46C 800F5FBC 000F4100 */ sll $t0, $t7, 4 +.L800F5FC0: +/* 08F470 800F5FC0 01041025 */ or $v0, $t0, $a0 +/* 08F474 800F5FC4 00E21025 */ or $v0, $a3, $v0 +/* 08F478 800F5FC8 AD420034 */ sw $v0, 0x34($t2) +/* 08F47C 800F5FCC 25420040 */ addiu $v0, $t2, 0x40 +/* 08F480 800F5FD0 AD620000 */ sw $v0, ($t3) +/* 08F484 800F5FD4 3C02E600 */ lui $v0, 0xe600 +/* 08F488 800F5FD8 AD420038 */ sw $v0, 0x38($t2) +/* 08F48C 800F5FDC 25420048 */ addiu $v0, $t2, 0x48 +/* 08F490 800F5FE0 AD40003C */ sw $zero, 0x3c($t2) +/* 08F494 800F5FE4 AD620000 */ sw $v0, ($t3) +/* 08F498 800F5FE8 3C02F400 */ lui $v0, 0xf400 +/* 08F49C 800F5FEC 00642025 */ or $a0, $v1, $a0 +/* 08F4A0 800F5FF0 00A42025 */ or $a0, $a1, $a0 +/* 08F4A4 800F5FF4 AD420040 */ sw $v0, 0x40($t2) +/* 08F4A8 800F5FF8 25420050 */ addiu $v0, $t2, 0x50 +/* 08F4AC 800F5FFC AD440044 */ sw $a0, 0x44($t2) +/* 08F4B0 800F6000 AD620000 */ sw $v0, ($t3) +/* 08F4B4 800F6004 3C02E700 */ lui $v0, 0xe700 +/* 08F4B8 800F6008 AD420048 */ sw $v0, 0x48($t2) +/* 08F4BC 800F600C 25420058 */ addiu $v0, $t2, 0x58 +/* 08F4C0 800F6010 00E83825 */ or $a3, $a3, $t0 +/* 08F4C4 800F6014 AD40004C */ sw $zero, 0x4c($t2) +/* 08F4C8 800F6018 AD620000 */ sw $v0, ($t3) +/* 08F4CC 800F601C 25420060 */ addiu $v0, $t2, 0x60 +/* 08F4D0 800F6020 AD460050 */ sw $a2, 0x50($t2) +/* 08F4D4 800F6024 AD470054 */ sw $a3, 0x54($t2) +/* 08F4D8 800F6028 AD620000 */ sw $v0, ($t3) +/* 08F4DC 800F602C 3C02F200 */ lui $v0, 0xf200 +/* 08F4E0 800F6030 00A32825 */ or $a1, $a1, $v1 +/* 08F4E4 800F6034 AD420058 */ sw $v0, 0x58($t2) +/* 08F4E8 800F6038 AD45005C */ sw $a1, 0x5c($t2) +.L800F603C: +/* 08F4EC 800F603C 8FB201F0 */ lw $s2, 0x1f0($sp) +/* 08F4F0 800F6040 32420002 */ andi $v0, $s2, 2 +/* 08F4F4 800F6044 1040002E */ beqz $v0, .L800F6100 +/* 08F4F8 800F6048 240801FF */ addiu $t0, $zero, 0x1ff +/* 08F4FC 800F604C 3C04800A */ lui $a0, 0x800a +/* 08F500 800F6050 2484A66C */ addiu $a0, $a0, -0x5994 +/* 08F504 800F6054 3C06F200 */ lui $a2, 0xf200 +/* 08F508 800F6058 8C820000 */ lw $v0, ($a0) +/* 08F50C 800F605C 3C038007 */ lui $v1, 0x8007 +/* 08F510 800F6060 8C63419C */ lw $v1, 0x419c($v1) +/* 08F514 800F6064 0040482D */ daddu $t1, $v0, $zero +/* 08F518 800F6068 94670134 */ lhu $a3, 0x134($v1) +/* 08F51C 800F606C 24420008 */ addiu $v0, $v0, 8 +/* 08F520 800F6070 AC820000 */ sw $v0, ($a0) +/* 08F524 800F6074 8FB90204 */ lw $t9, 0x204($sp) +/* 08F528 800F6078 8FAE0208 */ lw $t6, 0x208($sp) +/* 08F52C 800F607C 00073880 */ sll $a3, $a3, 2 +/* 08F530 800F6080 30E701FF */ andi $a3, $a3, 0x1ff +/* 08F534 800F6084 01074023 */ subu $t0, $t0, $a3 +/* 08F538 800F6088 001927C2 */ srl $a0, $t9, 0x1f +/* 08F53C 800F608C 03242021 */ addu $a0, $t9, $a0 +/* 08F540 800F6090 00042043 */ sra $a0, $a0, 1 +/* 08F544 800F6094 00042880 */ sll $a1, $a0, 2 +/* 08F548 800F6098 00A82821 */ addu $a1, $a1, $t0 +/* 08F54C 800F609C 30A50FFF */ andi $a1, $a1, 0xfff +/* 08F550 800F60A0 00052B00 */ sll $a1, $a1, 0xc +/* 08F554 800F60A4 000E1FC2 */ srl $v1, $t6, 0x1f +/* 08F558 800F60A8 01C31821 */ addu $v1, $t6, $v1 +/* 08F55C 800F60AC 00031843 */ sra $v1, $v1, 1 +/* 08F560 800F60B0 00031080 */ sll $v0, $v1, 2 +/* 08F564 800F60B4 00471021 */ addu $v0, $v0, $a3 +/* 08F568 800F60B8 30420FFF */ andi $v0, $v0, 0xfff +/* 08F56C 800F60BC 00461025 */ or $v0, $v0, $a2 +/* 08F570 800F60C0 00A22825 */ or $a1, $a1, $v0 +/* 08F574 800F60C4 00952021 */ addu $a0, $a0, $s5 +/* 08F578 800F60C8 2484FFFF */ addiu $a0, $a0, -1 +/* 08F57C 800F60CC 00042080 */ sll $a0, $a0, 2 +/* 08F580 800F60D0 00882021 */ addu $a0, $a0, $t0 +/* 08F584 800F60D4 30840FFF */ andi $a0, $a0, 0xfff +/* 08F588 800F60D8 00042300 */ sll $a0, $a0, 0xc +/* 08F58C 800F60DC 00771821 */ addu $v1, $v1, $s7 +/* 08F590 800F60E0 2463FFFF */ addiu $v1, $v1, -1 +/* 08F594 800F60E4 00031880 */ sll $v1, $v1, 2 +/* 08F598 800F60E8 00671821 */ addu $v1, $v1, $a3 +/* 08F59C 800F60EC 30630FFF */ andi $v1, $v1, 0xfff +/* 08F5A0 800F60F0 00832025 */ or $a0, $a0, $v1 +/* 08F5A4 800F60F4 AD250000 */ sw $a1, ($t1) +/* 08F5A8 800F60F8 0803D862 */ j .L800F6188 +/* 08F5AC 800F60FC AD240004 */ sw $a0, 4($t1) + +.L800F6100: +/* 08F5B0 800F6100 3C03800A */ lui $v1, 0x800a +/* 08F5B4 800F6104 2463A66C */ addiu $v1, $v1, -0x5994 +/* 08F5B8 800F6108 8C620000 */ lw $v0, ($v1) +/* 08F5BC 800F610C 3C06F200 */ lui $a2, 0xf200 +/* 08F5C0 800F6110 0040382D */ daddu $a3, $v0, $zero +/* 08F5C4 800F6114 24420008 */ addiu $v0, $v0, 8 +/* 08F5C8 800F6118 AC620000 */ sw $v0, ($v1) +/* 08F5CC 800F611C 8FAF0204 */ lw $t7, 0x204($sp) +/* 08F5D0 800F6120 8FB20208 */ lw $s2, 0x208($sp) +/* 08F5D4 800F6124 000F17C2 */ srl $v0, $t7, 0x1f +/* 08F5D8 800F6128 01E21021 */ addu $v0, $t7, $v0 +/* 08F5DC 800F612C 00021043 */ sra $v0, $v0, 1 +/* 08F5E0 800F6130 00022880 */ sll $a1, $v0, 2 +/* 08F5E4 800F6134 30A50FFF */ andi $a1, $a1, 0xfff +/* 08F5E8 800F6138 00052B00 */ sll $a1, $a1, 0xc +/* 08F5EC 800F613C 001227C2 */ srl $a0, $s2, 0x1f +/* 08F5F0 800F6140 02442021 */ addu $a0, $s2, $a0 +/* 08F5F4 800F6144 00042043 */ sra $a0, $a0, 1 +/* 08F5F8 800F6148 00041880 */ sll $v1, $a0, 2 +/* 08F5FC 800F614C 30630FFF */ andi $v1, $v1, 0xfff +/* 08F600 800F6150 00661825 */ or $v1, $v1, $a2 +/* 08F604 800F6154 00A32825 */ or $a1, $a1, $v1 +/* 08F608 800F6158 00551021 */ addu $v0, $v0, $s5 +/* 08F60C 800F615C 2442FFFF */ addiu $v0, $v0, -1 +/* 08F610 800F6160 00021080 */ sll $v0, $v0, 2 +/* 08F614 800F6164 30420FFF */ andi $v0, $v0, 0xfff +/* 08F618 800F6168 00021300 */ sll $v0, $v0, 0xc +/* 08F61C 800F616C 00972021 */ addu $a0, $a0, $s7 +/* 08F620 800F6170 2484FFFF */ addiu $a0, $a0, -1 +/* 08F624 800F6174 00042080 */ sll $a0, $a0, 2 +/* 08F628 800F6178 30840FFF */ andi $a0, $a0, 0xfff +/* 08F62C 800F617C 00441025 */ or $v0, $v0, $a0 +/* 08F630 800F6180 ACE50000 */ sw $a1, ($a3) +/* 08F634 800F6184 ACE20004 */ sw $v0, 4($a3) +.L800F6188: +/* 08F638 800F6188 8FB9013C */ lw $t9, 0x13c($sp) +/* 08F63C 800F618C 132003C4 */ beqz $t9, .L800F70A0 +/* 08F640 800F6190 0000682D */ daddu $t5, $zero, $zero +/* 08F644 800F6194 3C0C800A */ lui $t4, 0x800a +/* 08F648 800F6198 258CA66C */ addiu $t4, $t4, -0x5994 +/* 08F64C 800F619C 240F01FF */ addiu $t7, $zero, 0x1ff +/* 08F650 800F61A0 31F40100 */ andi $s4, $t7, 0x100 +/* 08F654 800F61A4 3C120708 */ lui $s2, 0x708 +/* 08F658 800F61A8 36520200 */ ori $s2, $s2, 0x200 +/* 08F65C 800F61AC 8FAE014C */ lw $t6, 0x14c($sp) +/* 08F660 800F61B0 8FAF0208 */ lw $t7, 0x208($sp) +/* 08F664 800F61B4 3C190108 */ lui $t9, 0x108 +/* 08F668 800F61B8 AFB20158 */ sw $s2, 0x158($sp) +/* 08F66C 800F61BC 8FB201F8 */ lw $s2, 0x1f8($sp) +/* 08F670 800F61C0 37390200 */ ori $t9, $t9, 0x200 +/* 08F674 800F61C4 AFB9019C */ sw $t9, 0x19c($sp) +/* 08F678 800F61C8 31C20007 */ andi $v0, $t6, 7 +/* 08F67C 800F61CC 00028540 */ sll $s0, $v0, 0x15 +/* 08F680 800F61D0 8FAE0204 */ lw $t6, 0x204($sp) +/* 08F684 800F61D4 000FC023 */ negu $t8, $t7 +/* 08F688 800F61D8 25C2FFFF */ addiu $v0, $t6, -1 +/* 08F68C 800F61DC 00021080 */ sll $v0, $v0, 2 +/* 08F690 800F61E0 30420FFF */ andi $v0, $v0, 0xfff +/* 08F694 800F61E4 00021300 */ sll $v0, $v0, 0xc +/* 08F698 800F61E8 AFA2015C */ sw $v0, 0x15c($sp) +/* 08F69C 800F61EC 000E1023 */ negu $v0, $t6 +/* 08F6A0 800F61F0 00021FC2 */ srl $v1, $v0, 0x1f +/* 08F6A4 800F61F4 00431021 */ addu $v0, $v0, $v1 +/* 08F6A8 800F61F8 0002A843 */ sra $s5, $v0, 1 +/* 08F6AC 800F61FC 02AEB821 */ addu $s7, $s5, $t6 +/* 08F6B0 800F6200 000E1FC2 */ srl $v1, $t6, 0x1f +/* 08F6B4 800F6204 01C31821 */ addu $v1, $t6, $v1 +/* 08F6B8 800F6208 00031843 */ sra $v1, $v1, 1 +/* 08F6BC 800F620C 02431021 */ addu $v0, $s2, $v1 +/* 08F6C0 800F6210 00021480 */ sll $v0, $v0, 0x12 +/* 08F6C4 800F6214 00028C03 */ sra $s1, $v0, 0x10 +/* 08F6C8 800F6218 32390FFF */ andi $t9, $s1, 0xfff +/* 08F6CC 800F621C 00197300 */ sll $t6, $t9, 0xc +/* 08F6D0 800F6220 000F17C2 */ srl $v0, $t7, 0x1f +/* 08F6D4 800F6224 01E21021 */ addu $v0, $t7, $v0 +/* 08F6D8 800F6228 00029843 */ sra $s3, $v0, 1 +/* 08F6DC 800F622C 00119280 */ sll $s2, $s1, 0xa +/* 08F6E0 800F6230 8FAF01FC */ lw $t7, 0x1fc($sp) +/* 08F6E4 800F6234 00031940 */ sll $v1, $v1, 5 +/* 08F6E8 800F6238 AFB90160 */ sw $t9, 0x160($sp) +/* 08F6EC 800F623C 3079FFFF */ andi $t9, $v1, 0xffff +/* 08F6F0 800F6240 AFAE0164 */ sw $t6, 0x164($sp) +/* 08F6F4 800F6244 AFB2016C */ sw $s2, 0x16c($sp) +/* 08F6F8 800F6248 AFA301A4 */ sw $v1, 0x1a4($sp) +/* 08F6FC 800F624C AFB90170 */ sw $t9, 0x170($sp) +/* 08F700 800F6250 01F37821 */ addu $t7, $t7, $s3 +/* 08F704 800F6254 000F1480 */ sll $v0, $t7, 0x12 +/* 08F708 800F6258 00021403 */ sra $v0, $v0, 0x10 +/* 08F70C 800F625C 30560FFF */ andi $s6, $v0, 0xfff +/* 08F710 800F6260 00027280 */ sll $t6, $v0, 0xa +/* 08F714 800F6264 AFAF0168 */ sw $t7, 0x168($sp) +/* 08F718 800F6268 00137940 */ sll $t7, $s3, 5 +/* 08F71C 800F626C 31F2FFFF */ andi $s2, $t7, 0xffff +/* 08F720 800F6270 AFA201A0 */ sw $v0, 0x1a0($sp) +/* 08F724 800F6274 AFAE0174 */ sw $t6, 0x174($sp) +/* 08F728 800F6278 AFAF01A8 */ sw $t7, 0x1a8($sp) +/* 08F72C 800F627C AFB20178 */ sw $s2, 0x178($sp) +.L800F6280: +/* 08F730 800F6280 8FB90148 */ lw $t9, 0x148($sp) +/* 08F734 800F6284 000D1040 */ sll $v0, $t5, 1 +/* 08F738 800F6288 00591021 */ addu $v0, $v0, $t9 +/* 08F73C 800F628C 904A0000 */ lbu $t2, ($v0) +/* 08F740 800F6290 904B0001 */ lbu $t3, 1($v0) +/* 08F744 800F6294 2D430002 */ sltiu $v1, $t2, 2 +/* 08F748 800F6298 1460001D */ bnez $v1, .L800F6310 +/* 08F74C 800F629C 0000382D */ daddu $a3, $zero, $zero +/* 08F750 800F62A0 2D420003 */ sltiu $v0, $t2, 3 +/* 08F754 800F62A4 1440001A */ bnez $v0, .L800F6310 +/* 08F758 800F62A8 24070001 */ addiu $a3, $zero, 1 +/* 08F75C 800F62AC 2D420005 */ sltiu $v0, $t2, 5 +/* 08F760 800F62B0 14400017 */ bnez $v0, .L800F6310 +/* 08F764 800F62B4 24070002 */ addiu $a3, $zero, 2 +/* 08F768 800F62B8 2D420009 */ sltiu $v0, $t2, 9 +/* 08F76C 800F62BC 14400014 */ bnez $v0, .L800F6310 +/* 08F770 800F62C0 24070003 */ addiu $a3, $zero, 3 +/* 08F774 800F62C4 2D420011 */ sltiu $v0, $t2, 0x11 +/* 08F778 800F62C8 14400011 */ bnez $v0, .L800F6310 +/* 08F77C 800F62CC 24070004 */ addiu $a3, $zero, 4 +/* 08F780 800F62D0 2D420021 */ sltiu $v0, $t2, 0x21 +/* 08F784 800F62D4 1440000E */ bnez $v0, .L800F6310 +/* 08F788 800F62D8 24070005 */ addiu $a3, $zero, 5 +/* 08F78C 800F62DC 2D420041 */ sltiu $v0, $t2, 0x41 +/* 08F790 800F62E0 1440000B */ bnez $v0, .L800F6310 +/* 08F794 800F62E4 24070006 */ addiu $a3, $zero, 6 +/* 08F798 800F62E8 2D420081 */ sltiu $v0, $t2, 0x81 +/* 08F79C 800F62EC 14400008 */ bnez $v0, .L800F6310 +/* 08F7A0 800F62F0 24070007 */ addiu $a3, $zero, 7 +/* 08F7A4 800F62F4 2D420101 */ sltiu $v0, $t2, 0x101 +/* 08F7A8 800F62F8 14400005 */ bnez $v0, .L800F6310 +/* 08F7AC 800F62FC 24070008 */ addiu $a3, $zero, 8 +/* 08F7B0 800F6300 2D420201 */ sltiu $v0, $t2, 0x201 +/* 08F7B4 800F6304 10400002 */ beqz $v0, .L800F6310 +/* 08F7B8 800F6308 2407000A */ addiu $a3, $zero, 0xa +/* 08F7BC 800F630C 24070009 */ addiu $a3, $zero, 9 +.L800F6310: +/* 08F7C0 800F6310 2D620002 */ sltiu $v0, $t3, 2 +/* 08F7C4 800F6314 1440001D */ bnez $v0, .L800F638C +/* 08F7C8 800F6318 0000402D */ daddu $t0, $zero, $zero +/* 08F7CC 800F631C 2D620003 */ sltiu $v0, $t3, 3 +/* 08F7D0 800F6320 1440001A */ bnez $v0, .L800F638C +/* 08F7D4 800F6324 24080001 */ addiu $t0, $zero, 1 +/* 08F7D8 800F6328 2D620005 */ sltiu $v0, $t3, 5 +/* 08F7DC 800F632C 14400017 */ bnez $v0, .L800F638C +/* 08F7E0 800F6330 24080002 */ addiu $t0, $zero, 2 +/* 08F7E4 800F6334 2D620009 */ sltiu $v0, $t3, 9 +/* 08F7E8 800F6338 14400014 */ bnez $v0, .L800F638C +/* 08F7EC 800F633C 24080003 */ addiu $t0, $zero, 3 +/* 08F7F0 800F6340 2D620011 */ sltiu $v0, $t3, 0x11 +/* 08F7F4 800F6344 14400011 */ bnez $v0, .L800F638C +/* 08F7F8 800F6348 24080004 */ addiu $t0, $zero, 4 +/* 08F7FC 800F634C 2D620021 */ sltiu $v0, $t3, 0x21 +/* 08F800 800F6350 1440000E */ bnez $v0, .L800F638C +/* 08F804 800F6354 24080005 */ addiu $t0, $zero, 5 +/* 08F808 800F6358 2D620041 */ sltiu $v0, $t3, 0x41 +/* 08F80C 800F635C 1440000B */ bnez $v0, .L800F638C +/* 08F810 800F6360 24080006 */ addiu $t0, $zero, 6 +/* 08F814 800F6364 2D620081 */ sltiu $v0, $t3, 0x81 +/* 08F818 800F6368 14400008 */ bnez $v0, .L800F638C +/* 08F81C 800F636C 24080007 */ addiu $t0, $zero, 7 +/* 08F820 800F6370 2D620101 */ sltiu $v0, $t3, 0x101 +/* 08F824 800F6374 14400005 */ bnez $v0, .L800F638C +/* 08F828 800F6378 24080008 */ addiu $t0, $zero, 8 +/* 08F82C 800F637C 2D620201 */ sltiu $v0, $t3, 0x201 +/* 08F830 800F6380 10400002 */ beqz $v0, .L800F638C +/* 08F834 800F6384 2408000A */ addiu $t0, $zero, 0xa +/* 08F838 800F6388 24080009 */ addiu $t0, $zero, 9 +.L800F638C: +/* 08F83C 800F638C 8FAE0150 */ lw $t6, 0x150($sp) +/* 08F840 800F6390 240F0001 */ addiu $t7, $zero, 1 +/* 08F844 800F6394 11CF005C */ beq $t6, $t7, .L800F6508 +/* 08F848 800F6398 2546FFFF */ addiu $a2, $t2, -1 +/* 08F84C 800F639C 11C00007 */ beqz $t6, .L800F63BC +/* 08F850 800F63A0 24120002 */ addiu $s2, $zero, 2 +/* 08F854 800F63A4 11D200A0 */ beq $t6, $s2, .L800F6628 +/* 08F858 800F63A8 24190003 */ addiu $t9, $zero, 3 +/* 08F85C 800F63AC 11D900E6 */ beq $t6, $t9, .L800F6748 +/* 08F860 800F63B0 240E0002 */ addiu $t6, $zero, 2 +/* 08F864 800F63B4 0803DA1C */ j .L800F6870 +/* 08F868 800F63B8 00000000 */ nop + +.L800F63BC: +/* 08F86C 800F63BC 000A2842 */ srl $a1, $t2, 1 +/* 08F870 800F63C0 24A2FFFF */ addiu $v0, $a1, -1 +/* 08F874 800F63C4 30420FFF */ andi $v0, $v0, 0xfff +/* 08F878 800F63C8 3C03FD08 */ lui $v1, 0xfd08 +/* 08F87C 800F63CC 00431025 */ or $v0, $v0, $v1 +/* 08F880 800F63D0 02021025 */ or $v0, $s0, $v0 +/* 08F884 800F63D4 24A50007 */ addiu $a1, $a1, 7 +/* 08F888 800F63D8 000528C2 */ srl $a1, $a1, 3 +/* 08F88C 800F63DC 00052A40 */ sll $a1, $a1, 9 +/* 08F890 800F63E0 00084B80 */ sll $t1, $t0, 0xe +/* 08F894 800F63E4 00074100 */ sll $t0, $a3, 4 +/* 08F898 800F63E8 2567FFFF */ addiu $a3, $t3, -1 +/* 08F89C 800F63EC 00073880 */ sll $a3, $a3, 2 +/* 08F8A0 800F63F0 30E70FFF */ andi $a3, $a3, 0xfff +/* 08F8A4 800F63F4 8D840000 */ lw $a0, ($t4) +/* 08F8A8 800F63F8 014B0018 */ mult $t2, $t3 +/* 08F8AC 800F63FC 0080302D */ daddu $a2, $a0, $zero +/* 08F8B0 800F6400 24840008 */ addiu $a0, $a0, 8 +/* 08F8B4 800F6404 AD840000 */ sw $a0, ($t4) +/* 08F8B8 800F6408 ACC20000 */ sw $v0, ($a2) +/* 08F8BC 800F640C 8FAE013C */ lw $t6, 0x13c($sp) +/* 08F8C0 800F6410 24820008 */ addiu $v0, $a0, 8 +/* 08F8C4 800F6414 ACCE0004 */ sw $t6, 4($a2) +/* 08F8C8 800F6418 AD820000 */ sw $v0, ($t4) +/* 08F8CC 800F641C 3C02F508 */ lui $v0, 0xf508 +/* 08F8D0 800F6420 00A21025 */ or $v0, $a1, $v0 +/* 08F8D4 800F6424 02021025 */ or $v0, $s0, $v0 +/* 08F8D8 800F6428 00541025 */ or $v0, $v0, $s4 +/* 08F8DC 800F642C 3C12E600 */ lui $s2, 0xe600 +/* 08F8E0 800F6430 3C19F400 */ lui $t9, 0xf400 +/* 08F8E4 800F6434 2546FFFF */ addiu $a2, $t2, -1 +/* 08F8E8 800F6438 3C0E0700 */ lui $t6, 0x700 +/* 08F8EC 800F643C 00EE1825 */ or $v1, $a3, $t6 +/* 08F8F0 800F6440 3C0E0100 */ lui $t6, 0x100 +/* 08F8F4 800F6444 AC820000 */ sw $v0, ($a0) +/* 08F8F8 800F6448 8FAF0158 */ lw $t7, 0x158($sp) +/* 08F8FC 800F644C 00EE3825 */ or $a3, $a3, $t6 +/* 08F900 800F6450 010F1025 */ or $v0, $t0, $t7 +/* 08F904 800F6454 01221025 */ or $v0, $t1, $v0 +/* 08F908 800F6458 AC820004 */ sw $v0, 4($a0) +/* 08F90C 800F645C 24820010 */ addiu $v0, $a0, 0x10 +/* 08F910 800F6460 AD820000 */ sw $v0, ($t4) +/* 08F914 800F6464 24820018 */ addiu $v0, $a0, 0x18 +/* 08F918 800F6468 AC920008 */ sw $s2, 8($a0) +/* 08F91C 800F646C AC80000C */ sw $zero, 0xc($a0) +/* 08F920 800F6470 AD820000 */ sw $v0, ($t4) +/* 08F924 800F6474 00061040 */ sll $v0, $a2, 1 +/* 08F928 800F6478 30420FFF */ andi $v0, $v0, 0xfff +/* 08F92C 800F647C 00021300 */ sll $v0, $v0, 0xc +/* 08F930 800F6480 00431025 */ or $v0, $v0, $v1 +/* 08F934 800F6484 AC820014 */ sw $v0, 0x14($a0) +/* 08F938 800F6488 24820020 */ addiu $v0, $a0, 0x20 +/* 08F93C 800F648C 3C0FE700 */ lui $t7, 0xe700 +/* 08F940 800F6490 AC990010 */ sw $t9, 0x10($a0) +/* 08F944 800F6494 AD820000 */ sw $v0, ($t4) +/* 08F948 800F6498 24820028 */ addiu $v0, $a0, 0x28 +/* 08F94C 800F649C AC8F0018 */ sw $t7, 0x18($a0) +/* 08F950 800F64A0 AC80001C */ sw $zero, 0x1c($a0) +/* 08F954 800F64A4 AD820000 */ sw $v0, ($t4) +/* 08F958 800F64A8 3C02F500 */ lui $v0, 0xf500 +/* 08F95C 800F64AC 00A22825 */ or $a1, $a1, $v0 +/* 08F960 800F64B0 02052825 */ or $a1, $s0, $a1 +/* 08F964 800F64B4 00B42825 */ or $a1, $a1, $s4 +/* 08F968 800F64B8 24820030 */ addiu $v0, $a0, 0x30 +/* 08F96C 800F64BC 3C19F200 */ lui $t9, 0xf200 +/* 08F970 800F64C0 00063080 */ sll $a2, $a2, 2 +/* 08F974 800F64C4 30C60FFF */ andi $a2, $a2, 0xfff +/* 08F978 800F64C8 00063300 */ sll $a2, $a2, 0xc +/* 08F97C 800F64CC AC850020 */ sw $a1, 0x20($a0) +/* 08F980 800F64D0 8FB2019C */ lw $s2, 0x19c($sp) +/* 08F984 800F64D4 00C73025 */ or $a2, $a2, $a3 +/* 08F988 800F64D8 01124025 */ or $t0, $t0, $s2 +/* 08F98C 800F64DC 01284825 */ or $t1, $t1, $t0 +/* 08F990 800F64E0 00007812 */ mflo $t7 +/* 08F994 800F64E4 AC890024 */ sw $t1, 0x24($a0) +/* 08F998 800F64E8 AD820000 */ sw $v0, ($t4) +/* 08F99C 800F64EC AC990028 */ sw $t9, 0x28($a0) +/* 08F9A0 800F64F0 AC86002C */ sw $a2, 0x2c($a0) +/* 08F9A4 800F64F4 8FB2013C */ lw $s2, 0x13c($sp) +/* 08F9A8 800F64F8 000F1042 */ srl $v0, $t7, 1 +/* 08F9AC 800F64FC 02429021 */ addu $s2, $s2, $v0 +/* 08F9B0 800F6500 0803DA1B */ j .L800F686C +/* 08F9B4 800F6504 AFB2013C */ sw $s2, 0x13c($sp) + +.L800F6508: +/* 08F9B8 800F6508 30C20FFF */ andi $v0, $a2, 0xfff +/* 08F9BC 800F650C 3C03FD08 */ lui $v1, 0xfd08 +/* 08F9C0 800F6510 00431025 */ or $v0, $v0, $v1 +/* 08F9C4 800F6514 02021025 */ or $v0, $s0, $v0 +/* 08F9C8 800F6518 00084380 */ sll $t0, $t0, 0xe +/* 08F9CC 800F651C 00073900 */ sll $a3, $a3, 4 +/* 08F9D0 800F6520 00063080 */ sll $a2, $a2, 2 +/* 08F9D4 800F6524 30C60FFF */ andi $a2, $a2, 0xfff +/* 08F9D8 800F6528 00063300 */ sll $a2, $a2, 0xc +/* 08F9DC 800F652C 2563FFFF */ addiu $v1, $t3, -1 +/* 08F9E0 800F6530 00031880 */ sll $v1, $v1, 2 +/* 08F9E4 800F6534 30630FFF */ andi $v1, $v1, 0xfff +/* 08F9E8 800F6538 8D840000 */ lw $a0, ($t4) +/* 08F9EC 800F653C 014B0018 */ mult $t2, $t3 +/* 08F9F0 800F6540 0080282D */ daddu $a1, $a0, $zero +/* 08F9F4 800F6544 24840008 */ addiu $a0, $a0, 8 +/* 08F9F8 800F6548 AD840000 */ sw $a0, ($t4) +/* 08F9FC 800F654C ACA20000 */ sw $v0, ($a1) +/* 08FA00 800F6550 8FB9013C */ lw $t9, 0x13c($sp) +/* 08FA04 800F6554 24820008 */ addiu $v0, $a0, 8 +/* 08FA08 800F6558 ACB90004 */ sw $t9, 4($a1) +/* 08FA0C 800F655C 25450007 */ addiu $a1, $t2, 7 +/* 08FA10 800F6560 000528C2 */ srl $a1, $a1, 3 +/* 08FA14 800F6564 00052A40 */ sll $a1, $a1, 9 +/* 08FA18 800F6568 AD820000 */ sw $v0, ($t4) +/* 08FA1C 800F656C 3C02F508 */ lui $v0, 0xf508 +/* 08FA20 800F6570 00A22825 */ or $a1, $a1, $v0 +/* 08FA24 800F6574 02052825 */ or $a1, $s0, $a1 +/* 08FA28 800F6578 00B42825 */ or $a1, $a1, $s4 +/* 08FA2C 800F657C 3C0FE600 */ lui $t7, 0xe600 +/* 08FA30 800F6580 3C12F400 */ lui $s2, 0xf400 +/* 08FA34 800F6584 AC850000 */ sw $a1, ($a0) +/* 08FA38 800F6588 8FAE0158 */ lw $t6, 0x158($sp) +/* 08FA3C 800F658C 3C190700 */ lui $t9, 0x700 +/* 08FA40 800F6590 00EE1025 */ or $v0, $a3, $t6 +/* 08FA44 800F6594 01021025 */ or $v0, $t0, $v0 +/* 08FA48 800F6598 AC820004 */ sw $v0, 4($a0) +/* 08FA4C 800F659C 24820010 */ addiu $v0, $a0, 0x10 +/* 08FA50 800F65A0 AD820000 */ sw $v0, ($t4) +/* 08FA54 800F65A4 24820018 */ addiu $v0, $a0, 0x18 +/* 08FA58 800F65A8 AC8F0008 */ sw $t7, 8($a0) +/* 08FA5C 800F65AC AC80000C */ sw $zero, 0xc($a0) +/* 08FA60 800F65B0 AD820000 */ sw $v0, ($t4) +/* 08FA64 800F65B4 00791025 */ or $v0, $v1, $t9 +/* 08FA68 800F65B8 00C21025 */ or $v0, $a2, $v0 +/* 08FA6C 800F65BC AC820014 */ sw $v0, 0x14($a0) +/* 08FA70 800F65C0 24820020 */ addiu $v0, $a0, 0x20 +/* 08FA74 800F65C4 3C0EE700 */ lui $t6, 0xe700 +/* 08FA78 800F65C8 AC920010 */ sw $s2, 0x10($a0) +/* 08FA7C 800F65CC AD820000 */ sw $v0, ($t4) +/* 08FA80 800F65D0 24820028 */ addiu $v0, $a0, 0x28 +/* 08FA84 800F65D4 AC8E0018 */ sw $t6, 0x18($a0) +/* 08FA88 800F65D8 AC80001C */ sw $zero, 0x1c($a0) +/* 08FA8C 800F65DC AD820000 */ sw $v0, ($t4) +/* 08FA90 800F65E0 24820030 */ addiu $v0, $a0, 0x30 +/* 08FA94 800F65E4 AC850020 */ sw $a1, 0x20($a0) +/* 08FA98 800F65E8 8FAF019C */ lw $t7, 0x19c($sp) +/* 08FA9C 800F65EC 3C0EF200 */ lui $t6, 0xf200 +/* 08FAA0 800F65F0 00EF3825 */ or $a3, $a3, $t7 +/* 08FAA4 800F65F4 01074025 */ or $t0, $t0, $a3 +/* 08FAA8 800F65F8 3C0F0100 */ lui $t7, 0x100 +/* 08FAAC 800F65FC 006F1825 */ or $v1, $v1, $t7 +/* 08FAB0 800F6600 00C33025 */ or $a2, $a2, $v1 +/* 08FAB4 800F6604 AC880024 */ sw $t0, 0x24($a0) +/* 08FAB8 800F6608 AD820000 */ sw $v0, ($t4) +/* 08FABC 800F660C AC8E0028 */ sw $t6, 0x28($a0) +/* 08FAC0 800F6610 AC86002C */ sw $a2, 0x2c($a0) +/* 08FAC4 800F6614 8FB2013C */ lw $s2, 0x13c($sp) +/* 08FAC8 800F6618 0000C812 */ mflo $t9 +/* 08FACC 800F661C 02599021 */ addu $s2, $s2, $t9 +/* 08FAD0 800F6620 0803DA1B */ j .L800F686C +/* 08FAD4 800F6624 AFB2013C */ sw $s2, 0x13c($sp) + +.L800F6628: +/* 08FAD8 800F6628 30C20FFF */ andi $v0, $a2, 0xfff +/* 08FADC 800F662C 3C03FD10 */ lui $v1, 0xfd10 +/* 08FAE0 800F6630 00431025 */ or $v0, $v0, $v1 +/* 08FAE4 800F6634 02021025 */ or $v0, $s0, $v0 +/* 08FAE8 800F6638 00084380 */ sll $t0, $t0, 0xe +/* 08FAEC 800F663C 00073900 */ sll $a3, $a3, 4 +/* 08FAF0 800F6640 00063080 */ sll $a2, $a2, 2 +/* 08FAF4 800F6644 30C60FFF */ andi $a2, $a2, 0xfff +/* 08FAF8 800F6648 00063300 */ sll $a2, $a2, 0xc +/* 08FAFC 800F664C 2563FFFF */ addiu $v1, $t3, -1 +/* 08FB00 800F6650 00031880 */ sll $v1, $v1, 2 +/* 08FB04 800F6654 30630FFF */ andi $v1, $v1, 0xfff +/* 08FB08 800F6658 8D840000 */ lw $a0, ($t4) +/* 08FB0C 800F665C 014B0018 */ mult $t2, $t3 +/* 08FB10 800F6660 0080282D */ daddu $a1, $a0, $zero +/* 08FB14 800F6664 24840008 */ addiu $a0, $a0, 8 +/* 08FB18 800F6668 AD840000 */ sw $a0, ($t4) +/* 08FB1C 800F666C ACA20000 */ sw $v0, ($a1) +/* 08FB20 800F6670 8FAE013C */ lw $t6, 0x13c($sp) +/* 08FB24 800F6674 24820008 */ addiu $v0, $a0, 8 +/* 08FB28 800F6678 ACAE0004 */ sw $t6, 4($a1) +/* 08FB2C 800F667C 000A2840 */ sll $a1, $t2, 1 +/* 08FB30 800F6680 24A50007 */ addiu $a1, $a1, 7 +/* 08FB34 800F6684 000528C2 */ srl $a1, $a1, 3 +/* 08FB38 800F6688 00052A40 */ sll $a1, $a1, 9 +/* 08FB3C 800F668C AD820000 */ sw $v0, ($t4) +/* 08FB40 800F6690 3C02F510 */ lui $v0, 0xf510 +/* 08FB44 800F6694 00A22825 */ or $a1, $a1, $v0 +/* 08FB48 800F6698 02052825 */ or $a1, $s0, $a1 +/* 08FB4C 800F669C 00B42825 */ or $a1, $a1, $s4 +/* 08FB50 800F66A0 3C12E600 */ lui $s2, 0xe600 +/* 08FB54 800F66A4 3C19F400 */ lui $t9, 0xf400 +/* 08FB58 800F66A8 AC850000 */ sw $a1, ($a0) +/* 08FB5C 800F66AC 8FAF0158 */ lw $t7, 0x158($sp) +/* 08FB60 800F66B0 3C0E0700 */ lui $t6, 0x700 +/* 08FB64 800F66B4 00EF1025 */ or $v0, $a3, $t7 +/* 08FB68 800F66B8 01021025 */ or $v0, $t0, $v0 +/* 08FB6C 800F66BC AC820004 */ sw $v0, 4($a0) +/* 08FB70 800F66C0 24820010 */ addiu $v0, $a0, 0x10 +/* 08FB74 800F66C4 AD820000 */ sw $v0, ($t4) +/* 08FB78 800F66C8 24820018 */ addiu $v0, $a0, 0x18 +/* 08FB7C 800F66CC AC920008 */ sw $s2, 8($a0) +/* 08FB80 800F66D0 AC80000C */ sw $zero, 0xc($a0) +/* 08FB84 800F66D4 AD820000 */ sw $v0, ($t4) +/* 08FB88 800F66D8 006E1025 */ or $v0, $v1, $t6 +/* 08FB8C 800F66DC 00C21025 */ or $v0, $a2, $v0 +/* 08FB90 800F66E0 AC820014 */ sw $v0, 0x14($a0) +/* 08FB94 800F66E4 24820020 */ addiu $v0, $a0, 0x20 +/* 08FB98 800F66E8 3C0FE700 */ lui $t7, 0xe700 +/* 08FB9C 800F66EC AC990010 */ sw $t9, 0x10($a0) +/* 08FBA0 800F66F0 AD820000 */ sw $v0, ($t4) +/* 08FBA4 800F66F4 24820028 */ addiu $v0, $a0, 0x28 +/* 08FBA8 800F66F8 AC8F0018 */ sw $t7, 0x18($a0) +/* 08FBAC 800F66FC AC80001C */ sw $zero, 0x1c($a0) +/* 08FBB0 800F6700 AD820000 */ sw $v0, ($t4) +/* 08FBB4 800F6704 24820030 */ addiu $v0, $a0, 0x30 +/* 08FBB8 800F6708 3C0EF200 */ lui $t6, 0xf200 +/* 08FBBC 800F670C 3C0F0100 */ lui $t7, 0x100 +/* 08FBC0 800F6710 006F1825 */ or $v1, $v1, $t7 +/* 08FBC4 800F6714 AC850020 */ sw $a1, 0x20($a0) +/* 08FBC8 800F6718 8FB2019C */ lw $s2, 0x19c($sp) +/* 08FBCC 800F671C 00C33025 */ or $a2, $a2, $v1 +/* 08FBD0 800F6720 00F23825 */ or $a3, $a3, $s2 +/* 08FBD4 800F6724 01074025 */ or $t0, $t0, $a3 +/* 08FBD8 800F6728 00009012 */ mflo $s2 +/* 08FBDC 800F672C AC880024 */ sw $t0, 0x24($a0) +/* 08FBE0 800F6730 AD820000 */ sw $v0, ($t4) +/* 08FBE4 800F6734 AC8E0028 */ sw $t6, 0x28($a0) +/* 08FBE8 800F6738 AC86002C */ sw $a2, 0x2c($a0) +/* 08FBEC 800F673C 8FB9013C */ lw $t9, 0x13c($sp) +/* 08FBF0 800F6740 0803DA19 */ j .L800F6864 +/* 08FBF4 800F6744 00121040 */ sll $v0, $s2, 1 + +.L800F6748: +/* 08FBF8 800F6748 30C20FFF */ andi $v0, $a2, 0xfff +/* 08FBFC 800F674C 3C03FD18 */ lui $v1, 0xfd18 +/* 08FC00 800F6750 00431025 */ or $v0, $v0, $v1 +/* 08FC04 800F6754 02021025 */ or $v0, $s0, $v0 +/* 08FC08 800F6758 00084380 */ sll $t0, $t0, 0xe +/* 08FC0C 800F675C 00073900 */ sll $a3, $a3, 4 +/* 08FC10 800F6760 00063080 */ sll $a2, $a2, 2 +/* 08FC14 800F6764 30C60FFF */ andi $a2, $a2, 0xfff +/* 08FC18 800F6768 00063300 */ sll $a2, $a2, 0xc +/* 08FC1C 800F676C 2563FFFF */ addiu $v1, $t3, -1 +/* 08FC20 800F6770 00031880 */ sll $v1, $v1, 2 +/* 08FC24 800F6774 30630FFF */ andi $v1, $v1, 0xfff +/* 08FC28 800F6778 8D840000 */ lw $a0, ($t4) +/* 08FC2C 800F677C 014B0018 */ mult $t2, $t3 +/* 08FC30 800F6780 0080282D */ daddu $a1, $a0, $zero +/* 08FC34 800F6784 24840008 */ addiu $a0, $a0, 8 +/* 08FC38 800F6788 AD840000 */ sw $a0, ($t4) +/* 08FC3C 800F678C ACA20000 */ sw $v0, ($a1) +/* 08FC40 800F6790 8FAE013C */ lw $t6, 0x13c($sp) +/* 08FC44 800F6794 24820008 */ addiu $v0, $a0, 8 +/* 08FC48 800F6798 ACAE0004 */ sw $t6, 4($a1) +/* 08FC4C 800F679C 000A2840 */ sll $a1, $t2, 1 +/* 08FC50 800F67A0 24A50007 */ addiu $a1, $a1, 7 +/* 08FC54 800F67A4 000528C2 */ srl $a1, $a1, 3 +/* 08FC58 800F67A8 00052A40 */ sll $a1, $a1, 9 +/* 08FC5C 800F67AC AD820000 */ sw $v0, ($t4) +/* 08FC60 800F67B0 3C02F518 */ lui $v0, 0xf518 +/* 08FC64 800F67B4 00A22825 */ or $a1, $a1, $v0 +/* 08FC68 800F67B8 02052825 */ or $a1, $s0, $a1 +/* 08FC6C 800F67BC 00B42825 */ or $a1, $a1, $s4 +/* 08FC70 800F67C0 3C12E600 */ lui $s2, 0xe600 +/* 08FC74 800F67C4 3C19F400 */ lui $t9, 0xf400 +/* 08FC78 800F67C8 AC850000 */ sw $a1, ($a0) +/* 08FC7C 800F67CC 8FAF0158 */ lw $t7, 0x158($sp) +/* 08FC80 800F67D0 3C0E0700 */ lui $t6, 0x700 +/* 08FC84 800F67D4 00EF1025 */ or $v0, $a3, $t7 +/* 08FC88 800F67D8 01021025 */ or $v0, $t0, $v0 +/* 08FC8C 800F67DC AC820004 */ sw $v0, 4($a0) +/* 08FC90 800F67E0 24820010 */ addiu $v0, $a0, 0x10 +/* 08FC94 800F67E4 AD820000 */ sw $v0, ($t4) +/* 08FC98 800F67E8 24820018 */ addiu $v0, $a0, 0x18 +/* 08FC9C 800F67EC AC920008 */ sw $s2, 8($a0) +/* 08FCA0 800F67F0 AC80000C */ sw $zero, 0xc($a0) +/* 08FCA4 800F67F4 AD820000 */ sw $v0, ($t4) +/* 08FCA8 800F67F8 006E1025 */ or $v0, $v1, $t6 +/* 08FCAC 800F67FC 00C21025 */ or $v0, $a2, $v0 +/* 08FCB0 800F6800 AC820014 */ sw $v0, 0x14($a0) +/* 08FCB4 800F6804 24820020 */ addiu $v0, $a0, 0x20 +/* 08FCB8 800F6808 3C0FE700 */ lui $t7, 0xe700 +/* 08FCBC 800F680C AC990010 */ sw $t9, 0x10($a0) +/* 08FCC0 800F6810 AD820000 */ sw $v0, ($t4) +/* 08FCC4 800F6814 24820028 */ addiu $v0, $a0, 0x28 +/* 08FCC8 800F6818 AC8F0018 */ sw $t7, 0x18($a0) +/* 08FCCC 800F681C AC80001C */ sw $zero, 0x1c($a0) +/* 08FCD0 800F6820 AD820000 */ sw $v0, ($t4) +/* 08FCD4 800F6824 24820030 */ addiu $v0, $a0, 0x30 +/* 08FCD8 800F6828 3C0EF200 */ lui $t6, 0xf200 +/* 08FCDC 800F682C 3C0F0100 */ lui $t7, 0x100 +/* 08FCE0 800F6830 006F1825 */ or $v1, $v1, $t7 +/* 08FCE4 800F6834 AC850020 */ sw $a1, 0x20($a0) +/* 08FCE8 800F6838 8FB2019C */ lw $s2, 0x19c($sp) +/* 08FCEC 800F683C 00C33025 */ or $a2, $a2, $v1 +/* 08FCF0 800F6840 00F23825 */ or $a3, $a3, $s2 +/* 08FCF4 800F6844 01074025 */ or $t0, $t0, $a3 +/* 08FCF8 800F6848 00009012 */ mflo $s2 +/* 08FCFC 800F684C AC880024 */ sw $t0, 0x24($a0) +/* 08FD00 800F6850 AD820000 */ sw $v0, ($t4) +/* 08FD04 800F6854 AC8E0028 */ sw $t6, 0x28($a0) +/* 08FD08 800F6858 AC86002C */ sw $a2, 0x2c($a0) +/* 08FD0C 800F685C 8FB9013C */ lw $t9, 0x13c($sp) +/* 08FD10 800F6860 00121080 */ sll $v0, $s2, 2 +.L800F6864: +/* 08FD14 800F6864 0322C821 */ addu $t9, $t9, $v0 +/* 08FD18 800F6868 AFB9013C */ sw $t9, 0x13c($sp) +.L800F686C: +/* 08FD1C 800F686C 240E0002 */ addiu $t6, $zero, 2 +.L800F6870: +/* 08FD20 800F6870 11AE0020 */ beq $t5, $t6, .L800F68F4 +/* 08FD24 800F6874 29A20003 */ slti $v0, $t5, 3 +/* 08FD28 800F6878 10400005 */ beqz $v0, .L800F6890 +/* 08FD2C 800F687C 240F0001 */ addiu $t7, $zero, 1 +/* 08FD30 800F6880 11AF0008 */ beq $t5, $t7, .L800F68A4 +/* 08FD34 800F6884 3C0EF200 */ lui $t6, 0xf200 +/* 08FD38 800F6888 0803DA6C */ j .L800F69B0 +/* 08FD3C 800F688C 00000000 */ nop + +.L800F6890: +/* 08FD40 800F6890 24120003 */ addiu $s2, $zero, 3 +/* 08FD44 800F6894 11B2002E */ beq $t5, $s2, .L800F6950 +/* 08FD48 800F6898 3C0EF200 */ lui $t6, 0xf200 +/* 08FD4C 800F689C 0803DA6C */ j .L800F69B0 +/* 08FD50 800F68A0 00000000 */ nop + +.L800F68A4: +/* 08FD54 800F68A4 8D820000 */ lw $v0, ($t4) +/* 08FD58 800F68A8 0040182D */ daddu $v1, $v0, $zero +/* 08FD5C 800F68AC 24420008 */ addiu $v0, $v0, 8 +/* 08FD60 800F68B0 AD820000 */ sw $v0, ($t4) +/* 08FD64 800F68B4 8FB90204 */ lw $t9, 0x204($sp) +/* 08FD68 800F68B8 3C0F0100 */ lui $t7, 0x100 +/* 08FD6C 800F68BC 032A1023 */ subu $v0, $t9, $t2 +/* 08FD70 800F68C0 00021080 */ sll $v0, $v0, 2 +/* 08FD74 800F68C4 30420FFF */ andi $v0, $v0, 0xfff +/* 08FD78 800F68C8 00021300 */ sll $v0, $v0, 0xc +/* 08FD7C 800F68CC 004E1025 */ or $v0, $v0, $t6 +/* 08FD80 800F68D0 AC620000 */ sw $v0, ($v1) +/* 08FD84 800F68D4 2562FFFF */ addiu $v0, $t3, -1 +/* 08FD88 800F68D8 00021080 */ sll $v0, $v0, 2 +/* 08FD8C 800F68DC 30420FFF */ andi $v0, $v0, 0xfff +/* 08FD90 800F68E0 8FB2015C */ lw $s2, 0x15c($sp) +/* 08FD94 800F68E4 004F1025 */ or $v0, $v0, $t7 +/* 08FD98 800F68E8 02421025 */ or $v0, $s2, $v0 +/* 08FD9C 800F68EC 0803DA6C */ j .L800F69B0 +/* 08FDA0 800F68F0 AC620004 */ sw $v0, 4($v1) + +.L800F68F4: +/* 08FDA4 800F68F4 3C0EF200 */ lui $t6, 0xf200 +/* 08FDA8 800F68F8 2543FFFF */ addiu $v1, $t2, -1 +/* 08FDAC 800F68FC 00031880 */ sll $v1, $v1, 2 +/* 08FDB0 800F6900 30630FFF */ andi $v1, $v1, 0xfff +/* 08FDB4 800F6904 8D820000 */ lw $v0, ($t4) +/* 08FDB8 800F6908 00031B00 */ sll $v1, $v1, 0xc +/* 08FDBC 800F690C 0040202D */ daddu $a0, $v0, $zero +/* 08FDC0 800F6910 24420008 */ addiu $v0, $v0, 8 +/* 08FDC4 800F6914 AD820000 */ sw $v0, ($t4) +/* 08FDC8 800F6918 8FB90208 */ lw $t9, 0x208($sp) +/* 08FDCC 800F691C 3C0F0100 */ lui $t7, 0x100 +/* 08FDD0 800F6920 032B1023 */ subu $v0, $t9, $t3 +/* 08FDD4 800F6924 00021080 */ sll $v0, $v0, 2 +/* 08FDD8 800F6928 30420FFF */ andi $v0, $v0, 0xfff +/* 08FDDC 800F692C 004E1025 */ or $v0, $v0, $t6 +/* 08FDE0 800F6930 AC820000 */ sw $v0, ($a0) +/* 08FDE4 800F6934 2722FFFF */ addiu $v0, $t9, -1 +/* 08FDE8 800F6938 00021080 */ sll $v0, $v0, 2 +/* 08FDEC 800F693C 30420FFF */ andi $v0, $v0, 0xfff +/* 08FDF0 800F6940 004F1025 */ or $v0, $v0, $t7 +/* 08FDF4 800F6944 00621825 */ or $v1, $v1, $v0 +/* 08FDF8 800F6948 0803DA6C */ j .L800F69B0 +/* 08FDFC 800F694C AC830004 */ sw $v1, 4($a0) + +.L800F6950: +/* 08FE00 800F6950 8D820000 */ lw $v0, ($t4) +/* 08FE04 800F6954 3C0F0100 */ lui $t7, 0x100 +/* 08FE08 800F6958 0040202D */ daddu $a0, $v0, $zero +/* 08FE0C 800F695C 24420008 */ addiu $v0, $v0, 8 +/* 08FE10 800F6960 AD820000 */ sw $v0, ($t4) +/* 08FE14 800F6964 8FB20204 */ lw $s2, 0x204($sp) +/* 08FE18 800F6968 8FB90208 */ lw $t9, 0x208($sp) +/* 08FE1C 800F696C 024A1823 */ subu $v1, $s2, $t2 +/* 08FE20 800F6970 00031880 */ sll $v1, $v1, 2 +/* 08FE24 800F6974 30630FFF */ andi $v1, $v1, 0xfff +/* 08FE28 800F6978 00031B00 */ sll $v1, $v1, 0xc +/* 08FE2C 800F697C 032B1023 */ subu $v0, $t9, $t3 +/* 08FE30 800F6980 00021080 */ sll $v0, $v0, 2 +/* 08FE34 800F6984 30420FFF */ andi $v0, $v0, 0xfff +/* 08FE38 800F6988 004E1025 */ or $v0, $v0, $t6 +/* 08FE3C 800F698C 00621825 */ or $v1, $v1, $v0 +/* 08FE40 800F6990 2722FFFF */ addiu $v0, $t9, -1 +/* 08FE44 800F6994 00021080 */ sll $v0, $v0, 2 +/* 08FE48 800F6998 30420FFF */ andi $v0, $v0, 0xfff +/* 08FE4C 800F699C AC830000 */ sw $v1, ($a0) +/* 08FE50 800F69A0 8FB2015C */ lw $s2, 0x15c($sp) +/* 08FE54 800F69A4 004F1025 */ or $v0, $v0, $t7 +/* 08FE58 800F69A8 02421025 */ or $v0, $s2, $v0 +/* 08FE5C 800F69AC AC820004 */ sw $v0, 4($a0) +.L800F69B0: +/* 08FE60 800F69B0 13C00093 */ beqz $fp, .L800F6C00 +/* 08FE64 800F69B4 24190001 */ addiu $t9, $zero, 1 +/* 08FE68 800F69B8 11B90029 */ beq $t5, $t9, .L800F6A60 +/* 08FE6C 800F69BC 29A20002 */ slti $v0, $t5, 2 +/* 08FE70 800F69C0 10400005 */ beqz $v0, .L800F69D8 +/* 08FE74 800F69C4 240E0002 */ addiu $t6, $zero, 2 +/* 08FE78 800F69C8 11A00009 */ beqz $t5, .L800F69F0 +/* 08FE7C 800F69CC 3C040100 */ lui $a0, 0x100 +/* 08FE80 800F69D0 0803DAF2 */ j .L800F6BC8 +/* 08FE84 800F69D4 34844008 */ ori $a0, $a0, 0x4008 + +.L800F69D8: +/* 08FE88 800F69D8 11AE0040 */ beq $t5, $t6, .L800F6ADC +/* 08FE8C 800F69DC 240F0003 */ addiu $t7, $zero, 3 +/* 08FE90 800F69E0 11AF005A */ beq $t5, $t7, .L800F6B4C +/* 08FE94 800F69E4 3C040100 */ lui $a0, 0x100 +/* 08FE98 800F69E8 0803DAF2 */ j .L800F6BC8 +/* 08FE9C 800F69EC 34844008 */ ori $a0, $a0, 0x4008 + +.L800F69F0: +/* 08FEA0 800F69F0 001817C2 */ srl $v0, $t8, 0x1f +/* 08FEA4 800F69F4 03021021 */ addu $v0, $t8, $v0 +/* 08FEA8 800F69F8 00021043 */ sra $v0, $v0, 1 +/* 08FEAC 800F69FC A7D50000 */ sh $s5, ($fp) +/* 08FEB0 800F6A00 A7C20002 */ sh $v0, 2($fp) +/* 08FEB4 800F6A04 A7C00004 */ sh $zero, 4($fp) +/* 08FEB8 800F6A08 A7C00010 */ sh $zero, 0x10($fp) +/* 08FEBC 800F6A0C A7C20012 */ sh $v0, 0x12($fp) +/* 08FEC0 800F6A10 A7C00014 */ sh $zero, 0x14($fp) +/* 08FEC4 800F6A14 A7D50020 */ sh $s5, 0x20($fp) +/* 08FEC8 800F6A18 A7C00022 */ sh $zero, 0x22($fp) +/* 08FECC 800F6A1C A7C00024 */ sh $zero, 0x24($fp) +/* 08FED0 800F6A20 A7C00030 */ sh $zero, 0x30($fp) +/* 08FED4 800F6A24 A7C00032 */ sh $zero, 0x32($fp) +/* 08FED8 800F6A28 A7C00034 */ sh $zero, 0x34($fp) +/* 08FEDC 800F6A2C A7C00008 */ sh $zero, 8($fp) +/* 08FEE0 800F6A30 A7C0000A */ sh $zero, 0xa($fp) +/* 08FEE4 800F6A34 97B201A6 */ lhu $s2, 0x1a6($sp) +/* 08FEE8 800F6A38 A7C0001A */ sh $zero, 0x1a($fp) +/* 08FEEC 800F6A3C A7C00028 */ sh $zero, 0x28($fp) +/* 08FEF0 800F6A40 A7D20018 */ sh $s2, 0x18($fp) +/* 08FEF4 800F6A44 97B901AA */ lhu $t9, 0x1aa($sp) +/* 08FEF8 800F6A48 A7D9002A */ sh $t9, 0x2a($fp) +/* 08FEFC 800F6A4C 97AE01A6 */ lhu $t6, 0x1a6($sp) +/* 08FF00 800F6A50 A7CE0038 */ sh $t6, 0x38($fp) +/* 08FF04 800F6A54 97AF01AA */ lhu $t7, 0x1aa($sp) +/* 08FF08 800F6A58 0803DAF0 */ j .L800F6BC0 +/* 08FF0C 800F6A5C A7CF003A */ sh $t7, 0x3a($fp) + +.L800F6A60: +/* 08FF10 800F6A60 001817C2 */ srl $v0, $t8, 0x1f +/* 08FF14 800F6A64 03021021 */ addu $v0, $t8, $v0 +/* 08FF18 800F6A68 00021043 */ sra $v0, $v0, 1 +/* 08FF1C 800F6A6C A7C00040 */ sh $zero, 0x40($fp) +/* 08FF20 800F6A70 A7C20042 */ sh $v0, 0x42($fp) +/* 08FF24 800F6A74 A7C00044 */ sh $zero, 0x44($fp) +/* 08FF28 800F6A78 A7D70050 */ sh $s7, 0x50($fp) +/* 08FF2C 800F6A7C A7C20052 */ sh $v0, 0x52($fp) +/* 08FF30 800F6A80 A7C00054 */ sh $zero, 0x54($fp) +/* 08FF34 800F6A84 A7C00060 */ sh $zero, 0x60($fp) +/* 08FF38 800F6A88 A7C00062 */ sh $zero, 0x62($fp) +/* 08FF3C 800F6A8C A7C00064 */ sh $zero, 0x64($fp) +/* 08FF40 800F6A90 A7D70070 */ sh $s7, 0x70($fp) +/* 08FF44 800F6A94 A7C00072 */ sh $zero, 0x72($fp) +/* 08FF48 800F6A98 A7C00074 */ sh $zero, 0x74($fp) +/* 08FF4C 800F6A9C 97B201A6 */ lhu $s2, 0x1a6($sp) +/* 08FF50 800F6AA0 A7C0004A */ sh $zero, 0x4a($fp) +/* 08FF54 800F6AA4 A7D20048 */ sh $s2, 0x48($fp) +/* 08FF58 800F6AA8 8FB90204 */ lw $t9, 0x204($sp) +/* 08FF5C 800F6AAC A7C0005A */ sh $zero, 0x5a($fp) +/* 08FF60 800F6AB0 00191140 */ sll $v0, $t9, 5 +/* 08FF64 800F6AB4 A7C20058 */ sh $v0, 0x58($fp) +/* 08FF68 800F6AB8 97AE01A6 */ lhu $t6, 0x1a6($sp) +/* 08FF6C 800F6ABC A7CE0068 */ sh $t6, 0x68($fp) +/* 08FF70 800F6AC0 97AF01AA */ lhu $t7, 0x1aa($sp) +/* 08FF74 800F6AC4 A7C20078 */ sh $v0, 0x78($fp) +/* 08FF78 800F6AC8 A7CF006A */ sh $t7, 0x6a($fp) +/* 08FF7C 800F6ACC 97B201AA */ lhu $s2, 0x1aa($sp) +/* 08FF80 800F6AD0 A7D2007A */ sh $s2, 0x7a($fp) +/* 08FF84 800F6AD4 0803DAF0 */ j .L800F6BC0 +/* 08FF88 800F6AD8 27DE0040 */ addiu $fp, $fp, 0x40 + +.L800F6ADC: +/* 08FF8C 800F6ADC A7D50080 */ sh $s5, 0x80($fp) +/* 08FF90 800F6AE0 A7C00082 */ sh $zero, 0x82($fp) +/* 08FF94 800F6AE4 A7C00084 */ sh $zero, 0x84($fp) +/* 08FF98 800F6AE8 A7C00090 */ sh $zero, 0x90($fp) +/* 08FF9C 800F6AEC A7C00092 */ sh $zero, 0x92($fp) +/* 08FFA0 800F6AF0 A7C00094 */ sh $zero, 0x94($fp) +/* 08FFA4 800F6AF4 A7D500A0 */ sh $s5, 0xa0($fp) +/* 08FFA8 800F6AF8 A7D300A2 */ sh $s3, 0xa2($fp) +/* 08FFAC 800F6AFC A7C000A4 */ sh $zero, 0xa4($fp) +/* 08FFB0 800F6B00 A7C000B0 */ sh $zero, 0xb0($fp) +/* 08FFB4 800F6B04 A7D300B2 */ sh $s3, 0xb2($fp) +/* 08FFB8 800F6B08 A7C000B4 */ sh $zero, 0xb4($fp) +/* 08FFBC 800F6B0C A7C00088 */ sh $zero, 0x88($fp) +/* 08FFC0 800F6B10 97B901AA */ lhu $t9, 0x1aa($sp) +/* 08FFC4 800F6B14 A7D9008A */ sh $t9, 0x8a($fp) +/* 08FFC8 800F6B18 97AE01A6 */ lhu $t6, 0x1a6($sp) +/* 08FFCC 800F6B1C A7CE0098 */ sh $t6, 0x98($fp) +/* 08FFD0 800F6B20 97AF01AA */ lhu $t7, 0x1aa($sp) +/* 08FFD4 800F6B24 A7C000A8 */ sh $zero, 0xa8($fp) +/* 08FFD8 800F6B28 A7CF009A */ sh $t7, 0x9a($fp) +/* 08FFDC 800F6B2C 8FB20208 */ lw $s2, 0x208($sp) +/* 08FFE0 800F6B30 00121140 */ sll $v0, $s2, 5 +/* 08FFE4 800F6B34 A7C200AA */ sh $v0, 0xaa($fp) +/* 08FFE8 800F6B38 97B901A6 */ lhu $t9, 0x1a6($sp) +/* 08FFEC 800F6B3C A7C200BA */ sh $v0, 0xba($fp) +/* 08FFF0 800F6B40 A7D900B8 */ sh $t9, 0xb8($fp) +/* 08FFF4 800F6B44 0803DAF0 */ j .L800F6BC0 +/* 08FFF8 800F6B48 27DE0080 */ addiu $fp, $fp, 0x80 + +.L800F6B4C: +/* 08FFFC 800F6B4C A7C000C0 */ sh $zero, 0xc0($fp) +/* 090000 800F6B50 A7C000C2 */ sh $zero, 0xc2($fp) +/* 090004 800F6B54 A7C000C4 */ sh $zero, 0xc4($fp) +/* 090008 800F6B58 A7D700D0 */ sh $s7, 0xd0($fp) +/* 09000C 800F6B5C A7C000D2 */ sh $zero, 0xd2($fp) +/* 090010 800F6B60 A7C000D4 */ sh $zero, 0xd4($fp) +/* 090014 800F6B64 A7C000E0 */ sh $zero, 0xe0($fp) +/* 090018 800F6B68 A7D300E2 */ sh $s3, 0xe2($fp) +/* 09001C 800F6B6C A7C000E4 */ sh $zero, 0xe4($fp) +/* 090020 800F6B70 A7D700F0 */ sh $s7, 0xf0($fp) +/* 090024 800F6B74 A7D300F2 */ sh $s3, 0xf2($fp) +/* 090028 800F6B78 A7C000F4 */ sh $zero, 0xf4($fp) +/* 09002C 800F6B7C 97AE01A6 */ lhu $t6, 0x1a6($sp) +/* 090030 800F6B80 A7CE00C8 */ sh $t6, 0xc8($fp) +/* 090034 800F6B84 97AF01AA */ lhu $t7, 0x1aa($sp) +/* 090038 800F6B88 A7CF00CA */ sh $t7, 0xca($fp) +/* 09003C 800F6B8C 8FB20204 */ lw $s2, 0x204($sp) +/* 090040 800F6B90 00121940 */ sll $v1, $s2, 5 +/* 090044 800F6B94 A7C300D8 */ sh $v1, 0xd8($fp) +/* 090048 800F6B98 97B901AA */ lhu $t9, 0x1aa($sp) +/* 09004C 800F6B9C A7D900DA */ sh $t9, 0xda($fp) +/* 090050 800F6BA0 97AE01A6 */ lhu $t6, 0x1a6($sp) +/* 090054 800F6BA4 A7CE00E8 */ sh $t6, 0xe8($fp) +/* 090058 800F6BA8 8FAF0208 */ lw $t7, 0x208($sp) +/* 09005C 800F6BAC A7C300F8 */ sh $v1, 0xf8($fp) +/* 090060 800F6BB0 000F1140 */ sll $v0, $t7, 5 +/* 090064 800F6BB4 A7C200EA */ sh $v0, 0xea($fp) +/* 090068 800F6BB8 A7C200FA */ sh $v0, 0xfa($fp) +/* 09006C 800F6BBC 27DE00C0 */ addiu $fp, $fp, 0xc0 +.L800F6BC0: +/* 090070 800F6BC0 3C040100 */ lui $a0, 0x100 +/* 090074 800F6BC4 34844008 */ ori $a0, $a0, 0x4008 +.L800F6BC8: +/* 090078 800F6BC8 3C050600 */ lui $a1, 0x600 +/* 09007C 800F6BCC 8D830000 */ lw $v1, ($t4) +/* 090080 800F6BD0 34A50602 */ ori $a1, $a1, 0x602 +/* 090084 800F6BD4 0060102D */ daddu $v0, $v1, $zero +/* 090088 800F6BD8 24630008 */ addiu $v1, $v1, 8 +/* 09008C 800F6BDC AD830000 */ sw $v1, ($t4) +/* 090090 800F6BE0 AC440000 */ sw $a0, ($v0) +/* 090094 800F6BE4 AC5E0004 */ sw $fp, 4($v0) +/* 090098 800F6BE8 24620008 */ addiu $v0, $v1, 8 +/* 09009C 800F6BEC AD820000 */ sw $v0, ($t4) +/* 0900A0 800F6BF0 24020406 */ addiu $v0, $zero, 0x406 +/* 0900A4 800F6BF4 AC650000 */ sw $a1, ($v1) +/* 0900A8 800F6BF8 0803DC1C */ j .L800F7070 +/* 0900AC 800F6BFC AC620004 */ sw $v0, 4($v1) + +.L800F6C00: +/* 0900B0 800F6C00 24120001 */ addiu $s2, $zero, 1 +/* 0900B4 800F6C04 11B2004B */ beq $t5, $s2, .L800F6D34 +/* 0900B8 800F6C08 29A20002 */ slti $v0, $t5, 2 +/* 0900BC 800F6C0C 10400005 */ beqz $v0, .L800F6C24 +/* 0900C0 800F6C10 24190002 */ addiu $t9, $zero, 2 +/* 0900C4 800F6C14 11A00009 */ beqz $t5, .L800F6C3C +/* 0900C8 800F6C18 00000000 */ nop +/* 0900CC 800F6C1C 0803DC1C */ j .L800F7070 +/* 0900D0 800F6C20 00000000 */ nop + +.L800F6C24: +/* 0900D4 800F6C24 11B90082 */ beq $t5, $t9, .L800F6E30 +/* 0900D8 800F6C28 240E0003 */ addiu $t6, $zero, 3 +/* 0900DC 800F6C2C 11AE00C3 */ beq $t5, $t6, .L800F6F3C +/* 0900E0 800F6C30 00000000 */ nop +/* 0900E4 800F6C34 0803DC1C */ j .L800F7070 +/* 0900E8 800F6C38 00000000 */ nop + +.L800F6C3C: +/* 0900EC 800F6C3C 8D830000 */ lw $v1, ($t4) +/* 0900F0 800F6C40 24620008 */ addiu $v0, $v1, 8 +/* 0900F4 800F6C44 1A200005 */ blez $s1, .L800F6C5C +/* 0900F8 800F6C48 AD820000 */ sw $v0, ($t4) +/* 0900FC 800F6C4C 8FAF0164 */ lw $t7, 0x164($sp) +/* 090100 800F6C50 3C02E400 */ lui $v0, 0xe400 +/* 090104 800F6C54 0803DB18 */ j .L800F6C60 +/* 090108 800F6C58 01E21025 */ or $v0, $t7, $v0 + +.L800F6C5C: +/* 09010C 800F6C5C 3C02E400 */ lui $v0, 0xe400 +.L800F6C60: +/* 090110 800F6C60 AC620000 */ sw $v0, ($v1) +/* 090114 800F6C64 8FB201A0 */ lw $s2, 0x1a0($sp) +/* 090118 800F6C68 1A400002 */ blez $s2, .L800F6C74 +/* 09011C 800F6C6C 00561025 */ or $v0, $v0, $s6 +/* 090120 800F6C70 AC620000 */ sw $v0, ($v1) +.L800F6C74: +/* 090124 800F6C74 8FB901F8 */ lw $t9, 0x1f8($sp) +/* 090128 800F6C78 00191480 */ sll $v0, $t9, 0x12 +/* 09012C 800F6C7C 00021403 */ sra $v0, $v0, 0x10 +/* 090130 800F6C80 18400004 */ blez $v0, .L800F6C94 +/* 090134 800F6C84 24640004 */ addiu $a0, $v1, 4 +/* 090138 800F6C88 30420FFF */ andi $v0, $v0, 0xfff +/* 09013C 800F6C8C 0803DB26 */ j .L800F6C98 +/* 090140 800F6C90 00021B00 */ sll $v1, $v0, 0xc + +.L800F6C94: +/* 090144 800F6C94 0000182D */ daddu $v1, $zero, $zero +.L800F6C98: +/* 090148 800F6C98 AC830000 */ sw $v1, ($a0) +/* 09014C 800F6C9C 8FAE01FC */ lw $t6, 0x1fc($sp) +/* 090150 800F6CA0 000E1480 */ sll $v0, $t6, 0x12 +/* 090154 800F6CA4 00021403 */ sra $v0, $v0, 0x10 +/* 090158 800F6CA8 18400003 */ blez $v0, .L800F6CB8 +/* 09015C 800F6CAC 30420FFF */ andi $v0, $v0, 0xfff +/* 090160 800F6CB0 00621025 */ or $v0, $v1, $v0 +/* 090164 800F6CB4 AC820000 */ sw $v0, ($a0) +.L800F6CB8: +/* 090168 800F6CB8 8D820000 */ lw $v0, ($t4) +/* 09016C 800F6CBC 0040182D */ daddu $v1, $v0, $zero +/* 090170 800F6CC0 24420008 */ addiu $v0, $v0, 8 +/* 090174 800F6CC4 AD820000 */ sw $v0, ($t4) +/* 090178 800F6CC8 3C02E100 */ lui $v0, 0xe100 +/* 09017C 800F6CCC AC620000 */ sw $v0, ($v1) +/* 090180 800F6CD0 8FAF01F8 */ lw $t7, 0x1f8($sp) +/* 090184 800F6CD4 000F1480 */ sll $v0, $t7, 0x12 +/* 090188 800F6CD8 00021403 */ sra $v0, $v0, 0x10 +/* 09018C 800F6CDC 04410007 */ bgez $v0, .L800F6CFC +/* 090190 800F6CE0 24630004 */ addiu $v1, $v1, 4 +/* 090194 800F6CE4 000210C0 */ sll $v0, $v0, 3 +/* 090198 800F6CE8 5C400001 */ bgtzl $v0, .L800F6CF0 +/* 09019C 800F6CEC 0000102D */ daddu $v0, $zero, $zero +.L800F6CF0: +/* 0901A0 800F6CF0 00021023 */ negu $v0, $v0 +/* 0901A4 800F6CF4 0803DB40 */ j .L800F6D00 +/* 0901A8 800F6CF8 00022400 */ sll $a0, $v0, 0x10 + +.L800F6CFC: +/* 0901AC 800F6CFC 0000202D */ daddu $a0, $zero, $zero +.L800F6D00: +/* 0901B0 800F6D00 AC640000 */ sw $a0, ($v1) +/* 0901B4 800F6D04 8FB201FC */ lw $s2, 0x1fc($sp) +/* 0901B8 800F6D08 00121080 */ sll $v0, $s2, 2 +/* 0901BC 800F6D0C 044300D0 */ bgezl $v0, .L800F7050 +/* 0901C0 800F6D10 3C040400 */ lui $a0, 0x400 +/* 0901C4 800F6D14 00121480 */ sll $v0, $s2, 0x12 +/* 0901C8 800F6D18 00021343 */ sra $v0, $v0, 0xd +/* 0901CC 800F6D1C 5C400001 */ bgtzl $v0, .L800F6D24 +/* 0901D0 800F6D20 0000102D */ daddu $v0, $zero, $zero +.L800F6D24: +/* 0901D4 800F6D24 00021023 */ negu $v0, $v0 +/* 0901D8 800F6D28 3042FFFF */ andi $v0, $v0, 0xffff +/* 0901DC 800F6D2C 0803DC12 */ j .L800F7048 +/* 0901E0 800F6D30 00821025 */ or $v0, $a0, $v0 + +.L800F6D34: +/* 0901E4 800F6D34 8D840000 */ lw $a0, ($t4) +/* 0901E8 800F6D38 24820008 */ addiu $v0, $a0, 8 +/* 0901EC 800F6D3C AD820000 */ sw $v0, ($t4) +/* 0901F0 800F6D40 8FB901F8 */ lw $t9, 0x1f8($sp) +/* 0901F4 800F6D44 8FAE0204 */ lw $t6, 0x204($sp) +/* 0901F8 800F6D48 032E1021 */ addu $v0, $t9, $t6 +/* 0901FC 800F6D4C 00021480 */ sll $v0, $v0, 0x12 +/* 090200 800F6D50 00021403 */ sra $v0, $v0, 0x10 +/* 090204 800F6D54 18400005 */ blez $v0, .L800F6D6C +/* 090208 800F6D58 30420FFF */ andi $v0, $v0, 0xfff +/* 09020C 800F6D5C 00021300 */ sll $v0, $v0, 0xc +/* 090210 800F6D60 3C03E400 */ lui $v1, 0xe400 +/* 090214 800F6D64 0803DB5C */ j .L800F6D70 +/* 090218 800F6D68 00431025 */ or $v0, $v0, $v1 + +.L800F6D6C: +/* 09021C 800F6D6C 3C02E400 */ lui $v0, 0xe400 +.L800F6D70: +/* 090220 800F6D70 AC820000 */ sw $v0, ($a0) +/* 090224 800F6D74 8FAF01A0 */ lw $t7, 0x1a0($sp) +/* 090228 800F6D78 19E00002 */ blez $t7, .L800F6D84 +/* 09022C 800F6D7C 00561025 */ or $v0, $v0, $s6 +/* 090230 800F6D80 AC820000 */ sw $v0, ($a0) +.L800F6D84: +/* 090234 800F6D84 1A200003 */ blez $s1, .L800F6D94 +/* 090238 800F6D88 0000182D */ daddu $v1, $zero, $zero +/* 09023C 800F6D8C 8FB20160 */ lw $s2, 0x160($sp) +/* 090240 800F6D90 00121B00 */ sll $v1, $s2, 0xc +.L800F6D94: +/* 090244 800F6D94 AC830004 */ sw $v1, 4($a0) +/* 090248 800F6D98 8FB901FC */ lw $t9, 0x1fc($sp) +/* 09024C 800F6D9C 00191480 */ sll $v0, $t9, 0x12 +/* 090250 800F6DA0 00021403 */ sra $v0, $v0, 0x10 +/* 090254 800F6DA4 18400003 */ blez $v0, .L800F6DB4 +/* 090258 800F6DA8 30420FFF */ andi $v0, $v0, 0xfff +/* 09025C 800F6DAC 00621025 */ or $v0, $v1, $v0 +/* 090260 800F6DB0 AC820004 */ sw $v0, 4($a0) +.L800F6DB4: +/* 090264 800F6DB4 8D820000 */ lw $v0, ($t4) +/* 090268 800F6DB8 0040182D */ daddu $v1, $v0, $zero +/* 09026C 800F6DBC 24420008 */ addiu $v0, $v0, 8 +/* 090270 800F6DC0 AD820000 */ sw $v0, ($t4) +/* 090274 800F6DC4 3C02E100 */ lui $v0, 0xe100 +/* 090278 800F6DC8 AC620000 */ sw $v0, ($v1) +/* 09027C 800F6DCC 06210009 */ bgez $s1, .L800F6DF4 +/* 090280 800F6DD0 24630004 */ addiu $v1, $v1, 4 +/* 090284 800F6DD4 8FAE016C */ lw $t6, 0x16c($sp) +/* 090288 800F6DD8 000E11C3 */ sra $v0, $t6, 7 +/* 09028C 800F6DDC 5C400001 */ bgtzl $v0, .L800F6DE4 +/* 090290 800F6DE0 0000102D */ daddu $v0, $zero, $zero +.L800F6DE4: +/* 090294 800F6DE4 8FAF01A4 */ lw $t7, 0x1a4($sp) +/* 090298 800F6DE8 01E21023 */ subu $v0, $t7, $v0 +/* 09029C 800F6DEC 0803DB7F */ j .L800F6DFC +/* 0902A0 800F6DF0 00022400 */ sll $a0, $v0, 0x10 + +.L800F6DF4: +/* 0902A4 800F6DF4 8FB20170 */ lw $s2, 0x170($sp) +/* 0902A8 800F6DF8 00122400 */ sll $a0, $s2, 0x10 +.L800F6DFC: +/* 0902AC 800F6DFC AC640000 */ sw $a0, ($v1) +/* 0902B0 800F6E00 8FB901FC */ lw $t9, 0x1fc($sp) +/* 0902B4 800F6E04 00191080 */ sll $v0, $t9, 2 +/* 0902B8 800F6E08 04430091 */ bgezl $v0, .L800F7050 +/* 0902BC 800F6E0C 3C040400 */ lui $a0, 0x400 +/* 0902C0 800F6E10 00191480 */ sll $v0, $t9, 0x12 +/* 0902C4 800F6E14 00021343 */ sra $v0, $v0, 0xd +/* 0902C8 800F6E18 5C400001 */ bgtzl $v0, .L800F6E20 +/* 0902CC 800F6E1C 0000102D */ daddu $v0, $zero, $zero +.L800F6E20: +/* 0902D0 800F6E20 00021023 */ negu $v0, $v0 +/* 0902D4 800F6E24 3042FFFF */ andi $v0, $v0, 0xffff +/* 0902D8 800F6E28 0803DC12 */ j .L800F7048 +/* 0902DC 800F6E2C 00821025 */ or $v0, $a0, $v0 + +.L800F6E30: +/* 0902E0 800F6E30 8D840000 */ lw $a0, ($t4) +/* 0902E4 800F6E34 24820008 */ addiu $v0, $a0, 8 +/* 0902E8 800F6E38 1A200005 */ blez $s1, .L800F6E50 +/* 0902EC 800F6E3C AD820000 */ sw $v0, ($t4) +/* 0902F0 800F6E40 8FAE0164 */ lw $t6, 0x164($sp) +/* 0902F4 800F6E44 3C02E400 */ lui $v0, 0xe400 +/* 0902F8 800F6E48 0803DB95 */ j .L800F6E54 +/* 0902FC 800F6E4C 01C21825 */ or $v1, $t6, $v0 + +.L800F6E50: +/* 090300 800F6E50 3C03E400 */ lui $v1, 0xe400 +.L800F6E54: +/* 090304 800F6E54 AC830000 */ sw $v1, ($a0) +/* 090308 800F6E58 8FAF01FC */ lw $t7, 0x1fc($sp) +/* 09030C 800F6E5C 8FB20208 */ lw $s2, 0x208($sp) +/* 090310 800F6E60 01F21021 */ addu $v0, $t7, $s2 +/* 090314 800F6E64 00021480 */ sll $v0, $v0, 0x12 +/* 090318 800F6E68 00021403 */ sra $v0, $v0, 0x10 +/* 09031C 800F6E6C 18400003 */ blez $v0, .L800F6E7C +/* 090320 800F6E70 30420FFF */ andi $v0, $v0, 0xfff +/* 090324 800F6E74 00621025 */ or $v0, $v1, $v0 +/* 090328 800F6E78 AC820000 */ sw $v0, ($a0) +.L800F6E7C: +/* 09032C 800F6E7C 8FB901F8 */ lw $t9, 0x1f8($sp) +/* 090330 800F6E80 00191480 */ sll $v0, $t9, 0x12 +/* 090334 800F6E84 00021403 */ sra $v0, $v0, 0x10 +/* 090338 800F6E88 18400004 */ blez $v0, .L800F6E9C +/* 09033C 800F6E8C 24830004 */ addiu $v1, $a0, 4 +/* 090340 800F6E90 30420FFF */ andi $v0, $v0, 0xfff +/* 090344 800F6E94 0803DBA8 */ j .L800F6EA0 +/* 090348 800F6E98 00021300 */ sll $v0, $v0, 0xc + +.L800F6E9C: +/* 09034C 800F6E9C 0000102D */ daddu $v0, $zero, $zero +.L800F6EA0: +/* 090350 800F6EA0 AC620000 */ sw $v0, ($v1) +/* 090354 800F6EA4 8FAE01A0 */ lw $t6, 0x1a0($sp) +/* 090358 800F6EA8 19C00002 */ blez $t6, .L800F6EB4 +/* 09035C 800F6EAC 00561025 */ or $v0, $v0, $s6 +/* 090360 800F6EB0 AC620000 */ sw $v0, ($v1) +.L800F6EB4: +/* 090364 800F6EB4 8D820000 */ lw $v0, ($t4) +/* 090368 800F6EB8 0040182D */ daddu $v1, $v0, $zero +/* 09036C 800F6EBC 24420008 */ addiu $v0, $v0, 8 +/* 090370 800F6EC0 AD820000 */ sw $v0, ($t4) +/* 090374 800F6EC4 3C02E100 */ lui $v0, 0xe100 +/* 090378 800F6EC8 AC620000 */ sw $v0, ($v1) +/* 09037C 800F6ECC 8FAF01F8 */ lw $t7, 0x1f8($sp) +/* 090380 800F6ED0 000F1480 */ sll $v0, $t7, 0x12 +/* 090384 800F6ED4 00021403 */ sra $v0, $v0, 0x10 +/* 090388 800F6ED8 04410007 */ bgez $v0, .L800F6EF8 +/* 09038C 800F6EDC 24630004 */ addiu $v1, $v1, 4 +/* 090390 800F6EE0 000210C0 */ sll $v0, $v0, 3 +/* 090394 800F6EE4 5C400001 */ bgtzl $v0, .L800F6EEC +/* 090398 800F6EE8 0000102D */ daddu $v0, $zero, $zero +.L800F6EEC: +/* 09039C 800F6EEC 00021023 */ negu $v0, $v0 +/* 0903A0 800F6EF0 0803DBBF */ j .L800F6EFC +/* 0903A4 800F6EF4 00022400 */ sll $a0, $v0, 0x10 + +.L800F6EF8: +/* 0903A8 800F6EF8 0000202D */ daddu $a0, $zero, $zero +.L800F6EFC: +/* 0903AC 800F6EFC 8FB20168 */ lw $s2, 0x168($sp) +/* 0903B0 800F6F00 00121080 */ sll $v0, $s2, 2 +/* 0903B4 800F6F04 0441000A */ bgez $v0, .L800F6F30 +/* 0903B8 800F6F08 00000000 */ nop +/* 0903BC 800F6F0C 8FB90174 */ lw $t9, 0x174($sp) +/* 0903C0 800F6F10 001911C3 */ sra $v0, $t9, 7 +/* 0903C4 800F6F14 5C400001 */ bgtzl $v0, .L800F6F1C +/* 0903C8 800F6F18 0000102D */ daddu $v0, $zero, $zero +.L800F6F1C: +/* 0903CC 800F6F1C 8FAE01A8 */ lw $t6, 0x1a8($sp) +/* 0903D0 800F6F20 01C21023 */ subu $v0, $t6, $v0 +/* 0903D4 800F6F24 3042FFFF */ andi $v0, $v0, 0xffff +/* 0903D8 800F6F28 0803DC12 */ j .L800F7048 +/* 0903DC 800F6F2C 00821025 */ or $v0, $a0, $v0 + +.L800F6F30: +/* 0903E0 800F6F30 8FAF0178 */ lw $t7, 0x178($sp) +/* 0903E4 800F6F34 0803DC12 */ j .L800F7048 +/* 0903E8 800F6F38 008F1025 */ or $v0, $a0, $t7 + +.L800F6F3C: +/* 0903EC 800F6F3C 8D840000 */ lw $a0, ($t4) +/* 0903F0 800F6F40 24820008 */ addiu $v0, $a0, 8 +/* 0903F4 800F6F44 AD820000 */ sw $v0, ($t4) +/* 0903F8 800F6F48 8FB201F8 */ lw $s2, 0x1f8($sp) +/* 0903FC 800F6F4C 8FB90204 */ lw $t9, 0x204($sp) +/* 090400 800F6F50 02591021 */ addu $v0, $s2, $t9 +/* 090404 800F6F54 00021480 */ sll $v0, $v0, 0x12 +/* 090408 800F6F58 00021403 */ sra $v0, $v0, 0x10 +/* 09040C 800F6F5C 18400005 */ blez $v0, .L800F6F74 +/* 090410 800F6F60 30420FFF */ andi $v0, $v0, 0xfff +/* 090414 800F6F64 00021300 */ sll $v0, $v0, 0xc +/* 090418 800F6F68 3C03E400 */ lui $v1, 0xe400 +/* 09041C 800F6F6C 0803DBDE */ j .L800F6F78 +/* 090420 800F6F70 00431825 */ or $v1, $v0, $v1 + +.L800F6F74: +/* 090424 800F6F74 3C03E400 */ lui $v1, 0xe400 +.L800F6F78: +/* 090428 800F6F78 AC830000 */ sw $v1, ($a0) +/* 09042C 800F6F7C 8FAE01FC */ lw $t6, 0x1fc($sp) +/* 090430 800F6F80 8FAF0208 */ lw $t7, 0x208($sp) +/* 090434 800F6F84 01CF1021 */ addu $v0, $t6, $t7 +/* 090438 800F6F88 00021480 */ sll $v0, $v0, 0x12 +/* 09043C 800F6F8C 00021403 */ sra $v0, $v0, 0x10 +/* 090440 800F6F90 18400003 */ blez $v0, .L800F6FA0 +/* 090444 800F6F94 30420FFF */ andi $v0, $v0, 0xfff +/* 090448 800F6F98 00621025 */ or $v0, $v1, $v0 +/* 09044C 800F6F9C AC820000 */ sw $v0, ($a0) +.L800F6FA0: +/* 090450 800F6FA0 1A200003 */ blez $s1, .L800F6FB0 +/* 090454 800F6FA4 0000102D */ daddu $v0, $zero, $zero +/* 090458 800F6FA8 8FB20160 */ lw $s2, 0x160($sp) +/* 09045C 800F6FAC 00121300 */ sll $v0, $s2, 0xc +.L800F6FB0: +/* 090460 800F6FB0 AC820004 */ sw $v0, 4($a0) +/* 090464 800F6FB4 8FB901A0 */ lw $t9, 0x1a0($sp) +/* 090468 800F6FB8 1B200002 */ blez $t9, .L800F6FC4 +/* 09046C 800F6FBC 00561025 */ or $v0, $v0, $s6 +/* 090470 800F6FC0 AC820004 */ sw $v0, 4($a0) +.L800F6FC4: +/* 090474 800F6FC4 8D820000 */ lw $v0, ($t4) +/* 090478 800F6FC8 0040182D */ daddu $v1, $v0, $zero +/* 09047C 800F6FCC 24420008 */ addiu $v0, $v0, 8 +/* 090480 800F6FD0 AD820000 */ sw $v0, ($t4) +/* 090484 800F6FD4 3C02E100 */ lui $v0, 0xe100 +/* 090488 800F6FD8 AC620000 */ sw $v0, ($v1) +/* 09048C 800F6FDC 06210009 */ bgez $s1, .L800F7004 +/* 090490 800F6FE0 24630004 */ addiu $v1, $v1, 4 +/* 090494 800F6FE4 8FAE016C */ lw $t6, 0x16c($sp) +/* 090498 800F6FE8 000E11C3 */ sra $v0, $t6, 7 +/* 09049C 800F6FEC 5C400001 */ bgtzl $v0, .L800F6FF4 +/* 0904A0 800F6FF0 0000102D */ daddu $v0, $zero, $zero +.L800F6FF4: +/* 0904A4 800F6FF4 8FAF01A4 */ lw $t7, 0x1a4($sp) +/* 0904A8 800F6FF8 01E21023 */ subu $v0, $t7, $v0 +/* 0904AC 800F6FFC 0803DC03 */ j .L800F700C +/* 0904B0 800F7000 00022400 */ sll $a0, $v0, 0x10 + +.L800F7004: +/* 0904B4 800F7004 8FB20170 */ lw $s2, 0x170($sp) +/* 0904B8 800F7008 00122400 */ sll $a0, $s2, 0x10 +.L800F700C: +/* 0904BC 800F700C 8FB90168 */ lw $t9, 0x168($sp) +/* 0904C0 800F7010 00191080 */ sll $v0, $t9, 2 +/* 0904C4 800F7014 0441000A */ bgez $v0, .L800F7040 +/* 0904C8 800F7018 00000000 */ nop +/* 0904CC 800F701C 8FAE0174 */ lw $t6, 0x174($sp) +/* 0904D0 800F7020 000E11C3 */ sra $v0, $t6, 7 +/* 0904D4 800F7024 5C400001 */ bgtzl $v0, .L800F702C +/* 0904D8 800F7028 0000102D */ daddu $v0, $zero, $zero +.L800F702C: +/* 0904DC 800F702C 8FAF01A8 */ lw $t7, 0x1a8($sp) +/* 0904E0 800F7030 01E21023 */ subu $v0, $t7, $v0 +/* 0904E4 800F7034 3042FFFF */ andi $v0, $v0, 0xffff +/* 0904E8 800F7038 0803DC12 */ j .L800F7048 +/* 0904EC 800F703C 00821025 */ or $v0, $a0, $v0 + +.L800F7040: +/* 0904F0 800F7040 8FB20178 */ lw $s2, 0x178($sp) +/* 0904F4 800F7044 00921025 */ or $v0, $a0, $s2 +.L800F7048: +/* 0904F8 800F7048 AC620000 */ sw $v0, ($v1) +/* 0904FC 800F704C 3C040400 */ lui $a0, 0x400 +.L800F7050: +/* 090500 800F7050 8D820000 */ lw $v0, ($t4) +/* 090504 800F7054 34840400 */ ori $a0, $a0, 0x400 +/* 090508 800F7058 0040182D */ daddu $v1, $v0, $zero +/* 09050C 800F705C 24420008 */ addiu $v0, $v0, 8 +/* 090510 800F7060 AD820000 */ sw $v0, ($t4) +/* 090514 800F7064 3C02F100 */ lui $v0, 0xf100 +/* 090518 800F7068 AC620000 */ sw $v0, ($v1) +/* 09051C 800F706C AC640004 */ sw $a0, 4($v1) +.L800F7070: +/* 090520 800F7070 8D820000 */ lw $v0, ($t4) +/* 090524 800F7074 25AD0001 */ addiu $t5, $t5, 1 +/* 090528 800F7078 0040182D */ daddu $v1, $v0, $zero +/* 09052C 800F707C 24420008 */ addiu $v0, $v0, 8 +/* 090530 800F7080 3C19E700 */ lui $t9, 0xe700 +/* 090534 800F7084 AD820000 */ sw $v0, ($t4) +/* 090538 800F7088 29A20004 */ slti $v0, $t5, 4 +/* 09053C 800F708C AC790000 */ sw $t9, ($v1) +/* 090540 800F7090 1440FC7B */ bnez $v0, .L800F6280 +/* 090544 800F7094 AC600004 */ sw $zero, 4($v1) +/* 090548 800F7098 0803DCC4 */ j .L800F7310 +/* 09054C 800F709C 3C19E300 */ lui $t9, 0xe300 + +.L800F70A0: +/* 090550 800F70A0 8FAE0138 */ lw $t6, 0x138($sp) +/* 090554 800F70A4 11C0009A */ beqz $t6, .L800F7310 +/* 090558 800F70A8 3C19E300 */ lui $t9, 0xe300 +/* 09055C 800F70AC 13C00036 */ beqz $fp, .L800F7188 +/* 090560 800F70B0 3C070100 */ lui $a3, 0x100 +/* 090564 800F70B4 34E74008 */ ori $a3, $a3, 0x4008 +/* 090568 800F70B8 3C080600 */ lui $t0, 0x600 +/* 09056C 800F70BC 3C06800A */ lui $a2, 0x800a +/* 090570 800F70C0 24C6A66C */ addiu $a2, $a2, -0x5994 +/* 090574 800F70C4 8FAF0204 */ lw $t7, 0x204($sp) +/* 090578 800F70C8 8CC50000 */ lw $a1, ($a2) +/* 09057C 800F70CC 000F2023 */ negu $a0, $t7 +/* 090580 800F70D0 000417C2 */ srl $v0, $a0, 0x1f +/* 090584 800F70D4 00822021 */ addu $a0, $a0, $v0 +/* 090588 800F70D8 00042043 */ sra $a0, $a0, 1 +/* 09058C 800F70DC A7C40000 */ sh $a0, ($fp) +/* 090590 800F70E0 8FB20208 */ lw $s2, 0x208($sp) +/* 090594 800F70E4 35080602 */ ori $t0, $t0, 0x602 +/* 090598 800F70E8 A7C00004 */ sh $zero, 4($fp) +/* 09059C 800F70EC A7C00014 */ sh $zero, 0x14($fp) +/* 0905A0 800F70F0 A7C40020 */ sh $a0, 0x20($fp) +/* 0905A4 800F70F4 A7C00024 */ sh $zero, 0x24($fp) +/* 0905A8 800F70F8 A7C00034 */ sh $zero, 0x34($fp) +/* 0905AC 800F70FC A7C00008 */ sh $zero, 8($fp) +/* 0905B0 800F7100 A7C0000A */ sh $zero, 0xa($fp) +/* 0905B4 800F7104 A7C0001A */ sh $zero, 0x1a($fp) +/* 0905B8 800F7108 A7C00028 */ sh $zero, 0x28($fp) +/* 0905BC 800F710C 00121023 */ negu $v0, $s2 +/* 0905C0 800F7110 00021FC2 */ srl $v1, $v0, 0x1f +/* 0905C4 800F7114 00431021 */ addu $v0, $v0, $v1 +/* 0905C8 800F7118 00021043 */ sra $v0, $v0, 1 +/* 0905CC 800F711C 008F1821 */ addu $v1, $a0, $t7 +/* 0905D0 800F7120 A7C20002 */ sh $v0, 2($fp) +/* 0905D4 800F7124 A7C20012 */ sh $v0, 0x12($fp) +/* 0905D8 800F7128 001217C2 */ srl $v0, $s2, 0x1f +/* 0905DC 800F712C 02421021 */ addu $v0, $s2, $v0 +/* 0905E0 800F7130 00021043 */ sra $v0, $v0, 1 +/* 0905E4 800F7134 A7C30010 */ sh $v1, 0x10($fp) +/* 0905E8 800F7138 A7C30030 */ sh $v1, 0x30($fp) +/* 0905EC 800F713C 000F1940 */ sll $v1, $t7, 5 +/* 0905F0 800F7140 A7C20022 */ sh $v0, 0x22($fp) +/* 0905F4 800F7144 A7C20032 */ sh $v0, 0x32($fp) +/* 0905F8 800F7148 00121140 */ sll $v0, $s2, 5 +/* 0905FC 800F714C A7C2002A */ sh $v0, 0x2a($fp) +/* 090600 800F7150 A7C2003A */ sh $v0, 0x3a($fp) +/* 090604 800F7154 00A0102D */ daddu $v0, $a1, $zero +/* 090608 800F7158 24A50008 */ addiu $a1, $a1, 8 +/* 09060C 800F715C A7C30018 */ sh $v1, 0x18($fp) +/* 090610 800F7160 A7C30038 */ sh $v1, 0x38($fp) +/* 090614 800F7164 ACC50000 */ sw $a1, ($a2) +/* 090618 800F7168 AC470000 */ sw $a3, ($v0) +/* 09061C 800F716C AC5E0004 */ sw $fp, 4($v0) +/* 090620 800F7170 24A20008 */ addiu $v0, $a1, 8 +/* 090624 800F7174 ACC20000 */ sw $v0, ($a2) +/* 090628 800F7178 24020406 */ addiu $v0, $zero, 0x406 +/* 09062C 800F717C ACA80000 */ sw $t0, ($a1) +/* 090630 800F7180 0803DCBA */ j .L800F72E8 +/* 090634 800F7184 ACA20004 */ sw $v0, 4($a1) + +.L800F7188: +/* 090638 800F7188 3C03800A */ lui $v1, 0x800a +/* 09063C 800F718C 2463A66C */ addiu $v1, $v1, -0x5994 +/* 090640 800F7190 8C640000 */ lw $a0, ($v1) +/* 090644 800F7194 24820008 */ addiu $v0, $a0, 8 +/* 090648 800F7198 AC620000 */ sw $v0, ($v1) +/* 09064C 800F719C 8FB901F8 */ lw $t9, 0x1f8($sp) +/* 090650 800F71A0 8FAE0204 */ lw $t6, 0x204($sp) +/* 090654 800F71A4 032E1021 */ addu $v0, $t9, $t6 +/* 090658 800F71A8 00021480 */ sll $v0, $v0, 0x12 +/* 09065C 800F71AC 00021403 */ sra $v0, $v0, 0x10 +/* 090660 800F71B0 18400005 */ blez $v0, .L800F71C8 +/* 090664 800F71B4 30420FFF */ andi $v0, $v0, 0xfff +/* 090668 800F71B8 00021300 */ sll $v0, $v0, 0xc +/* 09066C 800F71BC 3C03E400 */ lui $v1, 0xe400 +/* 090670 800F71C0 0803DC73 */ j .L800F71CC +/* 090674 800F71C4 00431825 */ or $v1, $v0, $v1 + +.L800F71C8: +/* 090678 800F71C8 3C03E400 */ lui $v1, 0xe400 +.L800F71CC: +/* 09067C 800F71CC AC830000 */ sw $v1, ($a0) +/* 090680 800F71D0 8FAF01FC */ lw $t7, 0x1fc($sp) +/* 090684 800F71D4 8FB20208 */ lw $s2, 0x208($sp) +/* 090688 800F71D8 01F21021 */ addu $v0, $t7, $s2 +/* 09068C 800F71DC 00021480 */ sll $v0, $v0, 0x12 +/* 090690 800F71E0 00021403 */ sra $v0, $v0, 0x10 +/* 090694 800F71E4 18400003 */ blez $v0, .L800F71F4 +/* 090698 800F71E8 30420FFF */ andi $v0, $v0, 0xfff +/* 09069C 800F71EC 00621025 */ or $v0, $v1, $v0 +/* 0906A0 800F71F0 AC820000 */ sw $v0, ($a0) +.L800F71F4: +/* 0906A4 800F71F4 8FB901F8 */ lw $t9, 0x1f8($sp) +/* 0906A8 800F71F8 00191480 */ sll $v0, $t9, 0x12 +/* 0906AC 800F71FC 00021403 */ sra $v0, $v0, 0x10 +/* 0906B0 800F7200 18400004 */ blez $v0, .L800F7214 +/* 0906B4 800F7204 24830004 */ addiu $v1, $a0, 4 +/* 0906B8 800F7208 30420FFF */ andi $v0, $v0, 0xfff +/* 0906BC 800F720C 0803DC86 */ j .L800F7218 +/* 0906C0 800F7210 00022300 */ sll $a0, $v0, 0xc + +.L800F7214: +/* 0906C4 800F7214 0000202D */ daddu $a0, $zero, $zero +.L800F7218: +/* 0906C8 800F7218 AC640000 */ sw $a0, ($v1) +/* 0906CC 800F721C 8FAE01FC */ lw $t6, 0x1fc($sp) +/* 0906D0 800F7220 000E1480 */ sll $v0, $t6, 0x12 +/* 0906D4 800F7224 00021403 */ sra $v0, $v0, 0x10 +/* 0906D8 800F7228 18400003 */ blez $v0, .L800F7238 +/* 0906DC 800F722C 30420FFF */ andi $v0, $v0, 0xfff +/* 0906E0 800F7230 00821025 */ or $v0, $a0, $v0 +/* 0906E4 800F7234 AC620000 */ sw $v0, ($v1) +.L800F7238: +/* 0906E8 800F7238 3C03800A */ lui $v1, 0x800a +/* 0906EC 800F723C 2463A66C */ addiu $v1, $v1, -0x5994 +/* 0906F0 800F7240 8C620000 */ lw $v0, ($v1) +/* 0906F4 800F7244 0040202D */ daddu $a0, $v0, $zero +/* 0906F8 800F7248 24420008 */ addiu $v0, $v0, 8 +/* 0906FC 800F724C AC620000 */ sw $v0, ($v1) +/* 090700 800F7250 3C02E100 */ lui $v0, 0xe100 +/* 090704 800F7254 AC820000 */ sw $v0, ($a0) +/* 090708 800F7258 8FAF01F8 */ lw $t7, 0x1f8($sp) +/* 09070C 800F725C 000F1480 */ sll $v0, $t7, 0x12 +/* 090710 800F7260 00021403 */ sra $v0, $v0, 0x10 +/* 090714 800F7264 04410007 */ bgez $v0, .L800F7284 +/* 090718 800F7268 24840004 */ addiu $a0, $a0, 4 +/* 09071C 800F726C 000210C0 */ sll $v0, $v0, 3 +/* 090720 800F7270 5C400001 */ bgtzl $v0, .L800F7278 +/* 090724 800F7274 0000102D */ daddu $v0, $zero, $zero +.L800F7278: +/* 090728 800F7278 00021023 */ negu $v0, $v0 +/* 09072C 800F727C 0803DCA2 */ j .L800F7288 +/* 090730 800F7280 00021C00 */ sll $v1, $v0, 0x10 + +.L800F7284: +/* 090734 800F7284 0000182D */ daddu $v1, $zero, $zero +.L800F7288: +/* 090738 800F7288 AC830000 */ sw $v1, ($a0) +/* 09073C 800F728C 8FB201FC */ lw $s2, 0x1fc($sp) +/* 090740 800F7290 00121080 */ sll $v0, $s2, 2 +/* 090744 800F7294 0441000A */ bgez $v0, .L800F72C0 +/* 090748 800F7298 3C050400 */ lui $a1, 0x400 +/* 09074C 800F729C 00121480 */ sll $v0, $s2, 0x12 +/* 090750 800F72A0 00021343 */ sra $v0, $v0, 0xd +/* 090754 800F72A4 5C400001 */ bgtzl $v0, .L800F72AC +/* 090758 800F72A8 0000102D */ daddu $v0, $zero, $zero +.L800F72AC: +/* 09075C 800F72AC 00021023 */ negu $v0, $v0 +/* 090760 800F72B0 3042FFFF */ andi $v0, $v0, 0xffff +/* 090764 800F72B4 00621025 */ or $v0, $v1, $v0 +/* 090768 800F72B8 AC820000 */ sw $v0, ($a0) +/* 09076C 800F72BC 3C050400 */ lui $a1, 0x400 +.L800F72C0: +/* 090770 800F72C0 3C03800A */ lui $v1, 0x800a +/* 090774 800F72C4 2463A66C */ addiu $v1, $v1, -0x5994 +/* 090778 800F72C8 8C620000 */ lw $v0, ($v1) +/* 09077C 800F72CC 34A50400 */ ori $a1, $a1, 0x400 +/* 090780 800F72D0 0040202D */ daddu $a0, $v0, $zero +/* 090784 800F72D4 24420008 */ addiu $v0, $v0, 8 +/* 090788 800F72D8 AC620000 */ sw $v0, ($v1) +/* 09078C 800F72DC 3C02F100 */ lui $v0, 0xf100 +/* 090790 800F72E0 AC820000 */ sw $v0, ($a0) +/* 090794 800F72E4 AC850004 */ sw $a1, 4($a0) +.L800F72E8: +/* 090798 800F72E8 3C03800A */ lui $v1, 0x800a +/* 09079C 800F72EC 2463A66C */ addiu $v1, $v1, -0x5994 +/* 0907A0 800F72F0 8C620000 */ lw $v0, ($v1) +/* 0907A4 800F72F4 0040202D */ daddu $a0, $v0, $zero +/* 0907A8 800F72F8 24420008 */ addiu $v0, $v0, 8 +/* 0907AC 800F72FC AC620000 */ sw $v0, ($v1) +/* 0907B0 800F7300 3C02E700 */ lui $v0, 0xe700 +/* 0907B4 800F7304 AC820000 */ sw $v0, ($a0) +/* 0907B8 800F7308 AC800004 */ sw $zero, 4($a0) +/* 0907BC 800F730C 3C19E300 */ lui $t9, 0xe300 +.L800F7310: +/* 0907C0 800F7310 37390C00 */ ori $t9, $t9, 0xc00 +/* 0907C4 800F7314 3C0EE300 */ lui $t6, 0xe300 +/* 0907C8 800F7318 3C18800A */ lui $t8, 0x800a +/* 0907CC 800F731C 2718A66C */ addiu $t8, $t8, -0x5994 +/* 0907D0 800F7320 AFB9017C */ sw $t9, 0x17c($sp) +/* 0907D4 800F7324 8F020000 */ lw $v0, ($t8) +/* 0907D8 800F7328 35CE0A01 */ ori $t6, $t6, 0xa01 +/* 0907DC 800F732C AFAE0180 */ sw $t6, 0x180($sp) +/* 0907E0 800F7330 0040182D */ daddu $v1, $v0, $zero +/* 0907E4 800F7334 24420008 */ addiu $v0, $v0, 8 +/* 0907E8 800F7338 AF020000 */ sw $v0, ($t8) +/* 0907EC 800F733C AC790000 */ sw $t9, ($v1) +/* 0907F0 800F7340 AC600004 */ sw $zero, 4($v1) +/* 0907F4 800F7344 24430008 */ addiu $v1, $v0, 8 +/* 0907F8 800F7348 AF030000 */ sw $v1, ($t8) +/* 0907FC 800F734C AC4E0000 */ sw $t6, ($v0) +/* 090800 800F7350 AC400004 */ sw $zero, 4($v0) +/* 090804 800F7354 8FAF0228 */ lw $t7, 0x228($sp) +/* 090808 800F7358 11E001CC */ beqz $t7, .L800F7A8C +/* 09080C 800F735C 00000000 */ nop +/* 090810 800F7360 13C001BE */ beqz $fp, .L800F7A5C +/* 090814 800F7364 00000000 */ nop +/* 090818 800F7368 8FAE0204 */ lw $t6, 0x204($sp) +/* 09081C 800F736C 8FAF0208 */ lw $t7, 0x208($sp) +/* 090820 800F7370 01CF0018 */ mult $t6, $t7 +/* 090824 800F7374 AFB80198 */ sw $t8, 0x198($sp) +/* 090828 800F7378 00009012 */ mflo $s2 +/* 09082C 800F737C 0C0475F9 */ jal func_8011D7E4 +/* 090830 800F7380 00122040 */ sll $a0, $s2, 1 +/* 090834 800F7384 0040402D */ daddu $t0, $v0, $zero +/* 090838 800F7388 8FB80198 */ lw $t8, 0x198($sp) +/* 09083C 800F738C 110001BF */ beqz $t0, .L800F7A8C +/* 090840 800F7390 3C17E200 */ lui $s7, 0xe200 +/* 090844 800F7394 36F7001C */ ori $s7, $s7, 0x1c +/* 090848 800F7398 3C0BED00 */ lui $t3, 0xed00 +/* 09084C 800F739C 356B4004 */ ori $t3, $t3, 0x4004 +/* 090850 800F73A0 3C190001 */ lui $t9, 1 +/* 090854 800F73A4 37391630 */ ori $t9, $t9, 0x1630 +/* 090858 800F73A8 3C02FF10 */ lui $v0, 0xff10 +/* 09085C 800F73AC 3C168000 */ lui $s6, 0x8000 +/* 090860 800F73B0 01164021 */ addu $t0, $t0, $s6 +/* 090864 800F73B4 3C15ED00 */ lui $s5, 0xed00 +/* 090868 800F73B8 8FA4022C */ lw $a0, 0x22c($sp) +/* 09086C 800F73BC 8FA70204 */ lw $a3, 0x204($sp) +/* 090870 800F73C0 8F090000 */ lw $t1, ($t8) +/* 090874 800F73C4 3C11E700 */ lui $s1, 0xe700 +/* 090878 800F73C8 AFB90190 */ sw $t9, 0x190($sp) +/* 09087C 800F73CC 0120182D */ daddu $v1, $t1, $zero +/* 090880 800F73D0 25290008 */ addiu $t1, $t1, 8 +/* 090884 800F73D4 AF090000 */ sw $t1, ($t8) +/* 090888 800F73D8 8FAE0204 */ lw $t6, 0x204($sp) +/* 09088C 800F73DC 3C014080 */ lui $at, 0x4080 +/* 090890 800F73E0 44812000 */ mtc1 $at, $f4 +/* 090894 800F73E4 25CEFFFF */ addiu $t6, $t6, -1 +/* 090898 800F73E8 31CF0FFF */ andi $t7, $t6, 0xfff +/* 09089C 800F73EC 01E21025 */ or $v0, $t7, $v0 +/* 0908A0 800F73F0 AFAE0184 */ sw $t6, 0x184($sp) +/* 0908A4 800F73F4 AFAF0188 */ sw $t7, 0x188($sp) +/* 0908A8 800F73F8 AC620000 */ sw $v0, ($v1) +/* 0908AC 800F73FC 25220008 */ addiu $v0, $t1, 8 +/* 0908B0 800F7400 AFA8018C */ sw $t0, 0x18c($sp) +/* 0908B4 800F7404 AC680004 */ sw $t0, 4($v1) +/* 0908B8 800F7408 AF020000 */ sw $v0, ($t8) +/* 0908BC 800F740C 25220010 */ addiu $v0, $t1, 0x10 +/* 0908C0 800F7410 AD350000 */ sw $s5, ($t1) +/* 0908C4 800F7414 AF020000 */ sw $v0, ($t8) +/* 0908C8 800F7418 8FB20180 */ lw $s2, 0x180($sp) +/* 0908CC 800F741C 3C020030 */ lui $v0, 0x30 +/* 0908D0 800F7420 AD22000C */ sw $v0, 0xc($t1) +/* 0908D4 800F7424 25220018 */ addiu $v0, $t1, 0x18 +/* 0908D8 800F7428 AD320008 */ sw $s2, 8($t1) +/* 0908DC 800F742C AF020000 */ sw $v0, ($t8) +/* 0908E0 800F7430 3C02F700 */ lui $v0, 0xf700 +/* 0908E4 800F7434 AD220010 */ sw $v0, 0x10($t1) +/* 0908E8 800F7438 93B900F7 */ lbu $t9, 0xf7($sp) +/* 0908EC 800F743C 93AE00FF */ lbu $t6, 0xff($sp) +/* 0908F0 800F7440 93AF0107 */ lbu $t7, 0x107($sp) +/* 0908F4 800F7444 00191A00 */ sll $v1, $t9, 8 +/* 0908F8 800F7448 3063F800 */ andi $v1, $v1, 0xf800 +/* 0908FC 800F744C 000E10C0 */ sll $v0, $t6, 3 +/* 090900 800F7450 304207C0 */ andi $v0, $v0, 0x7c0 +/* 090904 800F7454 00621825 */ or $v1, $v1, $v0 +/* 090908 800F7458 000F1082 */ srl $v0, $t7, 2 +/* 09090C 800F745C 3042003E */ andi $v0, $v0, 0x3e +/* 090910 800F7460 00621825 */ or $v1, $v1, $v0 +/* 090914 800F7464 00031400 */ sll $v0, $v1, 0x10 +/* 090918 800F7468 00431025 */ or $v0, $v0, $v1 +/* 09091C 800F746C AD220014 */ sw $v0, 0x14($t1) +/* 090920 800F7470 25220020 */ addiu $v0, $t1, 0x20 +/* 090924 800F7474 AF020000 */ sw $v0, ($t8) +/* 090928 800F7478 25220028 */ addiu $v0, $t1, 0x28 +/* 09092C 800F747C 3C03F600 */ lui $v1, 0xf600 +/* 090930 800F7480 AD370018 */ sw $s7, 0x18($t1) +/* 090934 800F7484 AD20001C */ sw $zero, 0x1c($t1) +/* 090938 800F7488 AF020000 */ sw $v0, ($t8) +/* 09093C 800F748C 8FB20184 */ lw $s2, 0x184($sp) +/* 090940 800F7490 8FB90208 */ lw $t9, 0x208($sp) +/* 090944 800F7494 324803FF */ andi $t0, $s2, 0x3ff +/* 090948 800F7498 00084380 */ sll $t0, $t0, 0xe +/* 09094C 800F749C 272AFFFF */ addiu $t2, $t9, -1 +/* 090950 800F74A0 314203FF */ andi $v0, $t2, 0x3ff +/* 090954 800F74A4 00021080 */ sll $v0, $v0, 2 +/* 090958 800F74A8 00431025 */ or $v0, $v0, $v1 +/* 09095C 800F74AC 01024025 */ or $t0, $t0, $v0 +/* 090960 800F74B0 25220030 */ addiu $v0, $t1, 0x30 +/* 090964 800F74B4 AD280020 */ sw $t0, 0x20($t1) +/* 090968 800F74B8 AD200024 */ sw $zero, 0x24($t1) +/* 09096C 800F74BC AF020000 */ sw $v0, ($t8) +/* 090970 800F74C0 25220038 */ addiu $v0, $t1, 0x38 +/* 090974 800F74C4 AD310028 */ sw $s1, 0x28($t1) +/* 090978 800F74C8 AD20002C */ sw $zero, 0x2c($t1) +/* 09097C 800F74CC AF020000 */ sw $v0, ($t8) +/* 090980 800F74D0 AD2B0030 */ sw $t3, 0x30($t1) +/* 090984 800F74D4 C7A20204 */ lwc1 $f2, 0x204($sp) +/* 090988 800F74D8 468010A0 */ cvt.s.w $f2, $f2 +/* 09098C 800F74DC 25220040 */ addiu $v0, $t1, 0x40 +/* 090990 800F74E0 46041082 */ mul.s $f2, $f2, $f4 +/* 090994 800F74E4 00000000 */ nop +/* 090998 800F74E8 AF020000 */ sw $v0, ($t8) +/* 09099C 800F74EC 8FAE0180 */ lw $t6, 0x180($sp) +/* 0909A0 800F74F0 AD20003C */ sw $zero, 0x3c($t1) +/* 0909A4 800F74F4 AD2E0038 */ sw $t6, 0x38($t1) +/* 0909A8 800F74F8 C7A00208 */ lwc1 $f0, 0x208($sp) +/* 0909AC 800F74FC 46800020 */ cvt.s.w $f0, $f0 +/* 0909B0 800F7500 46040002 */ mul.s $f0, $f0, $f4 +/* 0909B4 800F7504 00000000 */ nop +/* 0909B8 800F7508 4600118D */ trunc.w.s $f6, $f2 +/* 0909BC 800F750C 44033000 */ mfc1 $v1, $f6 +/* 0909C0 800F7510 00000000 */ nop +/* 0909C4 800F7514 30630FFF */ andi $v1, $v1, 0xfff +/* 0909C8 800F7518 00031B00 */ sll $v1, $v1, 0xc +/* 0909CC 800F751C C7A20184 */ lwc1 $f2, 0x184($sp) +/* 0909D0 800F7520 468010A0 */ cvt.s.w $f2, $f2 +/* 0909D4 800F7524 46041082 */ mul.s $f2, $f2, $f4 +/* 0909D8 800F7528 00000000 */ nop +/* 0909DC 800F752C 4600018D */ trunc.w.s $f6, $f0 +/* 0909E0 800F7530 44023000 */ mfc1 $v0, $f6 +/* 0909E4 800F7534 00000000 */ nop +/* 0909E8 800F7538 30420FFF */ andi $v0, $v0, 0xfff +/* 0909EC 800F753C 00621825 */ or $v1, $v1, $v0 +/* 0909F0 800F7540 448A0000 */ mtc1 $t2, $f0 +/* 0909F4 800F7544 00000000 */ nop +/* 0909F8 800F7548 46800020 */ cvt.s.w $f0, $f0 +/* 0909FC 800F754C 46040002 */ mul.s $f0, $f0, $f4 +/* 090A00 800F7550 00000000 */ nop +/* 090A04 800F7554 AD230004 */ sw $v1, 4($t1) +/* 090A08 800F7558 4600118D */ trunc.w.s $f6, $f2 +/* 090A0C 800F755C 44023000 */ mfc1 $v0, $f6 +/* 090A10 800F7560 00000000 */ nop +/* 090A14 800F7564 30420FFF */ andi $v0, $v0, 0xfff +/* 090A18 800F7568 00021300 */ sll $v0, $v0, 0xc +/* 090A1C 800F756C 4600018D */ trunc.w.s $f6, $f0 +/* 090A20 800F7570 44033000 */ mfc1 $v1, $f6 +/* 090A24 800F7574 00000000 */ nop +/* 090A28 800F7578 30630FFF */ andi $v1, $v1, 0xfff +/* 090A2C 800F757C 00431025 */ or $v0, $v0, $v1 +/* 090A30 800F7580 AD220034 */ sw $v0, 0x34($t1) +/* 090A34 800F7584 93A200E7 */ lbu $v0, 0xe7($sp) +/* 090A38 800F7588 8FAF0228 */ lw $t7, 0x228($sp) +/* 090A3C 800F758C 0000282D */ daddu $a1, $zero, $zero +/* 090A40 800F7590 AFA20014 */ sw $v0, 0x14($sp) +/* 090A44 800F7594 93A200E8 */ lbu $v0, 0xe8($sp) +/* 090A48 800F7598 00A0302D */ daddu $a2, $a1, $zero +/* 090A4C 800F759C AFB90010 */ sw $t9, 0x10($sp) +/* 090A50 800F75A0 AFB80198 */ sw $t8, 0x198($sp) +/* 090A54 800F75A4 01E0F809 */ jalr $t7 +/* 090A58 800F75A8 AFA20018 */ sw $v0, 0x18($sp) +/* 090A5C 800F75AC 3C09FF10 */ lui $t1, 0xff10 +/* 090A60 800F75B0 3529013F */ ori $t1, $t1, 0x13f +/* 090A64 800F75B4 3C0A0050 */ lui $t2, 0x50 +/* 090A68 800F75B8 354A03C0 */ ori $t2, $t2, 0x3c0 +/* 090A6C 800F75BC 3C0BDC08 */ lui $t3, 0xdc08 +/* 090A70 800F75C0 356B0008 */ ori $t3, $t3, 8 +/* 090A74 800F75C4 3C0CDA38 */ lui $t4, 0xda38 +/* 090A78 800F75C8 358C0007 */ ori $t4, $t4, 7 +/* 090A7C 800F75CC 3C0DD700 */ lui $t5, 0xd700 +/* 090A80 800F75D0 35AD0002 */ ori $t5, $t5, 2 +/* 090A84 800F75D4 3C12E300 */ lui $s2, 0xe300 +/* 090A88 800F75D8 36521001 */ ori $s2, $s2, 0x1001 +/* 090A8C 800F75DC 3C19FCFF */ lui $t9, 0xfcff +/* 090A90 800F75E0 3739FFFF */ ori $t9, $t9, 0xffff +/* 090A94 800F75E4 3C0EFFFC */ lui $t6, 0xfffc +/* 090A98 800F75E8 35CEF279 */ ori $t6, $t6, 0xf279 +/* 090A9C 800F75EC 3C130040 */ lui $s3, 0x40 +/* 090AA0 800F75F0 36734340 */ ori $s3, $s3, 0x4340 +/* 090AA4 800F75F4 3C14E300 */ lui $s4, 0xe300 +/* 090AA8 800F75F8 4480A000 */ mtc1 $zero, $f20 +/* 090AAC 800F75FC 8FB80198 */ lw $t8, 0x198($sp) +/* 090AB0 800F7600 3C0640C0 */ lui $a2, 0x40c0 +/* 090AB4 800F7604 36941201 */ ori $s4, $s4, 0x1201 +/* 090AB8 800F7608 AFB201A8 */ sw $s2, 0x1a8($sp) +/* 090ABC 800F760C AFB901A0 */ sw $t9, 0x1a0($sp) +/* 090AC0 800F7610 AFAE01A4 */ sw $t6, 0x1a4($sp) +/* 090AC4 800F7614 8F020000 */ lw $v0, ($t8) +/* 090AC8 800F7618 4405A000 */ mfc1 $a1, $f20 +/* 090ACC 800F761C 4407A000 */ mfc1 $a3, $f20 +/* 090AD0 800F7620 0040182D */ daddu $v1, $v0, $zero +/* 090AD4 800F7624 24420008 */ addiu $v0, $v0, 8 +/* 090AD8 800F7628 AF020000 */ sw $v0, ($t8) +/* 090ADC 800F762C 3C08800A */ lui $t0, 0x800a +/* 090AE0 800F7630 8D08A64C */ lw $t0, -0x59b4($t0) +/* 090AE4 800F7634 27B000A0 */ addiu $s0, $sp, 0xa0 +/* 090AE8 800F7638 AC710000 */ sw $s1, ($v1) +/* 090AEC 800F763C AC600004 */ sw $zero, 4($v1) +/* 090AF0 800F7640 24430008 */ addiu $v1, $v0, 8 +/* 090AF4 800F7644 AF030000 */ sw $v1, ($t8) +/* 090AF8 800F7648 24430010 */ addiu $v1, $v0, 0x10 +/* 090AFC 800F764C AC490000 */ sw $t1, ($v0) +/* 090B00 800F7650 01164021 */ addu $t0, $t0, $s6 +/* 090B04 800F7654 AC480004 */ sw $t0, 4($v0) +/* 090B08 800F7658 AF030000 */ sw $v1, ($t8) +/* 090B0C 800F765C 24430018 */ addiu $v1, $v0, 0x18 +/* 090B10 800F7660 AC550008 */ sw $s5, 8($v0) +/* 090B14 800F7664 AC4A000C */ sw $t2, 0xc($v0) +/* 090B18 800F7668 AF030000 */ sw $v1, ($t8) +/* 090B1C 800F766C 3C038011 */ lui $v1, 0x8011 +/* 090B20 800F7670 2463BBB8 */ addiu $v1, $v1, -0x4448 +/* 090B24 800F7674 AC430014 */ sw $v1, 0x14($v0) +/* 090B28 800F7678 24430020 */ addiu $v1, $v0, 0x20 +/* 090B2C 800F767C AC4B0010 */ sw $t3, 0x10($v0) +/* 090B30 800F7680 AF030000 */ sw $v1, ($t8) +/* 090B34 800F7684 AC4C0018 */ sw $t4, 0x18($v0) +/* 090B38 800F7688 8FAF0154 */ lw $t7, 0x154($sp) +/* 090B3C 800F768C 24430028 */ addiu $v1, $v0, 0x28 +/* 090B40 800F7690 AC4F001C */ sw $t7, 0x1c($v0) +/* 090B44 800F7694 AF030000 */ sw $v1, ($t8) +/* 090B48 800F7698 2403FFFF */ addiu $v1, $zero, -1 +/* 090B4C 800F769C AC430024 */ sw $v1, 0x24($v0) +/* 090B50 800F76A0 24430030 */ addiu $v1, $v0, 0x30 +/* 090B54 800F76A4 AC4D0020 */ sw $t5, 0x20($v0) +/* 090B58 800F76A8 AF030000 */ sw $v1, ($t8) +/* 090B5C 800F76AC 8FB20180 */ lw $s2, 0x180($sp) +/* 090B60 800F76B0 24430038 */ addiu $v1, $v0, 0x38 +/* 090B64 800F76B4 AC520028 */ sw $s2, 0x28($v0) +/* 090B68 800F76B8 AC40002C */ sw $zero, 0x2c($v0) +/* 090B6C 800F76BC AF030000 */ sw $v1, ($t8) +/* 090B70 800F76C0 8FB901A8 */ lw $t9, 0x1a8($sp) +/* 090B74 800F76C4 24430040 */ addiu $v1, $v0, 0x40 +/* 090B78 800F76C8 AC590030 */ sw $t9, 0x30($v0) +/* 090B7C 800F76CC AC400034 */ sw $zero, 0x34($v0) +/* 090B80 800F76D0 AF030000 */ sw $v1, ($t8) +/* 090B84 800F76D4 8FAE01A0 */ lw $t6, 0x1a0($sp) +/* 090B88 800F76D8 0200202D */ daddu $a0, $s0, $zero +/* 090B8C 800F76DC AC4E0038 */ sw $t6, 0x38($v0) +/* 090B90 800F76E0 8FAF01A4 */ lw $t7, 0x1a4($sp) +/* 090B94 800F76E4 24430048 */ addiu $v1, $v0, 0x48 +/* 090B98 800F76E8 AC4F003C */ sw $t7, 0x3c($v0) +/* 090B9C 800F76EC AF030000 */ sw $v1, ($t8) +/* 090BA0 800F76F0 24430050 */ addiu $v1, $v0, 0x50 +/* 090BA4 800F76F4 AC570040 */ sw $s7, 0x40($v0) +/* 090BA8 800F76F8 AC530044 */ sw $s3, 0x44($v0) +/* 090BAC 800F76FC AF030000 */ sw $v1, ($t8) +/* 090BB0 800F7700 8FB2017C */ lw $s2, 0x17c($sp) +/* 090BB4 800F7704 3C030008 */ lui $v1, 8 +/* 090BB8 800F7708 AC520048 */ sw $s2, 0x48($v0) +/* 090BBC 800F770C AC43004C */ sw $v1, 0x4c($v0) +/* 090BC0 800F7710 24430058 */ addiu $v1, $v0, 0x58 +/* 090BC4 800F7714 AF030000 */ sw $v1, ($t8) +/* 090BC8 800F7718 24032000 */ addiu $v1, $zero, 0x2000 +/* 090BCC 800F771C AC540050 */ sw $s4, 0x50($v0) +/* 090BD0 800F7720 0C019E40 */ jal guTranslateF +/* 090BD4 800F7724 AC430054 */ sw $v1, 0x54($v0) +/* 090BD8 800F7728 3C058011 */ lui $a1, 0x8011 +/* 090BDC 800F772C 24A5BC08 */ addiu $a1, $a1, -0x43f8 +/* 090BE0 800F7730 0C019D40 */ jal guMtxF2L +/* 090BE4 800F7734 0200202D */ daddu $a0, $s0, $zero +/* 090BE8 800F7738 0200202D */ daddu $a0, $s0, $zero +/* 090BEC 800F773C 8FB90208 */ lw $t9, 0x208($sp) +/* 090BF0 800F7740 4405A000 */ mfc1 $a1, $f20 +/* 090BF4 800F7744 00191023 */ negu $v0, $t9 +/* 090BF8 800F7748 00021FC2 */ srl $v1, $v0, 0x1f +/* 090BFC 800F774C 00431021 */ addu $v0, $v0, $v1 +/* 090C00 800F7750 00021043 */ sra $v0, $v0, 1 +/* 090C04 800F7754 44823000 */ mtc1 $v0, $f6 +/* 090C08 800F7758 00000000 */ nop +/* 090C0C 800F775C 468031A0 */ cvt.s.w $f6, $f6 +/* 090C10 800F7760 44063000 */ mfc1 $a2, $f6 +/* 090C14 800F7764 0C019E40 */ jal guTranslateF +/* 090C18 800F7768 00A0382D */ daddu $a3, $a1, $zero +/* 090C1C 800F776C 0200202D */ daddu $a0, $s0, $zero +/* 090C20 800F7770 3C108007 */ lui $s0, 0x8007 +/* 090C24 800F7774 261041F0 */ addiu $s0, $s0, 0x41f0 +/* 090C28 800F7778 3C11800A */ lui $s1, 0x800a +/* 090C2C 800F777C 2631A674 */ addiu $s1, $s1, -0x598c +/* 090C30 800F7780 96050000 */ lhu $a1, ($s0) +/* 090C34 800F7784 8E220000 */ lw $v0, ($s1) +/* 090C38 800F7788 8FAE0190 */ lw $t6, 0x190($sp) +/* 090C3C 800F778C 00052980 */ sll $a1, $a1, 6 +/* 090C40 800F7790 00AE2821 */ addu $a1, $a1, $t6 +/* 090C44 800F7794 0C019D40 */ jal guMtxF2L +/* 090C48 800F7798 00452821 */ addu $a1, $v0, $a1 +/* 090C4C 800F779C 3C05DA38 */ lui $a1, 0xda38 +/* 090C50 800F77A0 34A50001 */ ori $a1, $a1, 1 +/* 090C54 800F77A4 3C062AAA */ lui $a2, 0x2aaa +/* 090C58 800F77A8 34C6AAAB */ ori $a2, $a2, 0xaaab +/* 090C5C 800F77AC 8FAF0208 */ lw $t7, 0x208($sp) +/* 090C60 800F77B0 8FB80198 */ lw $t8, 0x198($sp) +/* 090C64 800F77B4 000F7FC3 */ sra $t7, $t7, 0x1f +/* 090C68 800F77B8 AFAF01A8 */ sw $t7, 0x1a8($sp) +/* 090C6C 800F77BC 8F020000 */ lw $v0, ($t8) +/* 090C70 800F77C0 96030000 */ lhu $v1, ($s0) +/* 090C74 800F77C4 0040202D */ daddu $a0, $v0, $zero +/* 090C78 800F77C8 24420008 */ addiu $v0, $v0, 8 +/* 090C7C 800F77CC AF020000 */ sw $v0, ($t8) +/* 090C80 800F77D0 24620001 */ addiu $v0, $v1, 1 +/* 090C84 800F77D4 3063FFFF */ andi $v1, $v1, 0xffff +/* 090C88 800F77D8 00031980 */ sll $v1, $v1, 6 +/* 090C8C 800F77DC AC850000 */ sw $a1, ($a0) +/* 090C90 800F77E0 A6020000 */ sh $v0, ($s0) +/* 090C94 800F77E4 8FAE0208 */ lw $t6, 0x208($sp) +/* 090C98 800F77E8 8E220000 */ lw $v0, ($s1) +/* 090C9C 800F77EC 8FAF0190 */ lw $t7, 0x190($sp) +/* 090CA0 800F77F0 01C60018 */ mult $t6, $a2 +/* 090CA4 800F77F4 006F1821 */ addu $v1, $v1, $t7 +/* 090CA8 800F77F8 00431021 */ addu $v0, $v0, $v1 +/* 090CAC 800F77FC AC820004 */ sw $v0, 4($a0) +/* 090CB0 800F7800 8FB201A8 */ lw $s2, 0x1a8($sp) +/* 090CB4 800F7804 00002810 */ mfhi $a1 +/* 090CB8 800F7808 00B21023 */ subu $v0, $a1, $s2 +/* 090CBC 800F780C 1840009F */ blez $v0, .L800F7A8C +/* 090CC0 800F7810 0000682D */ daddu $t5, $zero, $zero +/* 090CC4 800F7814 00A0982D */ daddu $s3, $a1, $zero +/* 090CC8 800F7818 0300602D */ daddu $t4, $t8, $zero +/* 090CCC 800F781C 3C02FD10 */ lui $v0, 0xfd10 +/* 090CD0 800F7820 3C03F510 */ lui $v1, 0xf510 +/* 090CD4 800F7824 3C15E700 */ lui $s5, 0xe700 +/* 090CD8 800F7828 3C16F200 */ lui $s6, 0xf200 +/* 090CDC 800F782C 8FB90188 */ lw $t9, 0x188($sp) +/* 090CE0 800F7830 8FB8018C */ lw $t8, 0x18c($sp) +/* 090CE4 800F7834 8FAE0204 */ lw $t6, 0x204($sp) +/* 090CE8 800F7838 8FAF0184 */ lw $t7, 0x184($sp) +/* 090CEC 800F783C 01A0802D */ daddu $s0, $t5, $zero +/* 090CF0 800F7840 AFA001A4 */ sw $zero, 0x1a4($sp) +/* 090CF4 800F7844 03221025 */ or $v0, $t9, $v0 +/* 090CF8 800F7848 AFA2019C */ sw $v0, 0x19c($sp) +/* 090CFC 800F784C 000E1040 */ sll $v0, $t6, 1 +/* 090D00 800F7850 24420007 */ addiu $v0, $v0, 7 +/* 090D04 800F7854 000210C3 */ sra $v0, $v0, 3 +/* 090D08 800F7858 304201FF */ andi $v0, $v0, 0x1ff +/* 090D0C 800F785C 00021240 */ sll $v0, $v0, 9 +/* 090D10 800F7860 00431025 */ or $v0, $v0, $v1 +/* 090D14 800F7864 AFA201A0 */ sw $v0, 0x1a0($sp) +/* 090D18 800F7868 000F1080 */ sll $v0, $t7, 2 +/* 090D1C 800F786C 30420FFF */ andi $v0, $v0, 0xfff +/* 090D20 800F7870 00028B00 */ sll $s1, $v0, 0xc +/* 090D24 800F7874 000E17C2 */ srl $v0, $t6, 0x1f +/* 090D28 800F7878 01C21021 */ addu $v0, $t6, $v0 +/* 090D2C 800F787C 0002A043 */ sra $s4, $v0, 1 +/* 090D30 800F7880 240200A0 */ addiu $v0, $zero, 0xa0 +/* 090D34 800F7884 00541023 */ subu $v0, $v0, $s4 +/* 090D38 800F7888 00021080 */ sll $v0, $v0, 2 +/* 090D3C 800F788C 30420FFF */ andi $v0, $v0, 0xfff +/* 090D40 800F7890 00021300 */ sll $v0, $v0, 0xc +/* 090D44 800F7894 0056B825 */ or $s7, $v0, $s6 +.L800F7898: +/* 090D48 800F7898 8FB201A8 */ lw $s2, 0x1a8($sp) +/* 090D4C 800F789C 02721823 */ subu $v1, $s3, $s2 +/* 090D50 800F78A0 2462FFFF */ addiu $v0, $v1, -1 +/* 090D54 800F78A4 55A20007 */ bnel $t5, $v0, .L800F78C4 +/* 090D58 800F78A8 24020001 */ addiu $v0, $zero, 1 +/* 090D5C 800F78AC 00031040 */ sll $v0, $v1, 1 +/* 090D60 800F78B0 00431021 */ addu $v0, $v0, $v1 +/* 090D64 800F78B4 8FB90208 */ lw $t9, 0x208($sp) +/* 090D68 800F78B8 00021040 */ sll $v0, $v0, 1 +/* 090D6C 800F78BC 03221023 */ subu $v0, $t9, $v0 +/* 090D70 800F78C0 0002102B */ sltu $v0, $zero, $v0 +.L800F78C4: +/* 090D74 800F78C4 3C070708 */ lui $a3, 0x708 +/* 090D78 800F78C8 34E7C290 */ ori $a3, $a3, 0xc290 +/* 090D7C 800F78CC 3C080008 */ lui $t0, 8 +/* 090D80 800F78D0 3508C290 */ ori $t0, $t0, 0xc290 +/* 090D84 800F78D4 3C090100 */ lui $t1, 0x100 +/* 090D88 800F78D8 35294008 */ ori $t1, $t1, 0x4008 +/* 090D8C 800F78DC 3C0A0600 */ lui $t2, 0x600 +/* 090D90 800F78E0 354A0602 */ ori $t2, $t2, 0x602 +/* 090D94 800F78E4 3C0BDA38 */ lui $t3, 0xda38 +/* 090D98 800F78E8 356B0001 */ ori $t3, $t3, 1 +/* 090D9C 800F78EC 32050FFF */ andi $a1, $s0, 0xfff +/* 090DA0 800F78F0 26100018 */ addiu $s0, $s0, 0x18 +/* 090DA4 800F78F4 24460005 */ addiu $a2, $v0, 5 +/* 090DA8 800F78F8 25AD0001 */ addiu $t5, $t5, 1 +/* 090DAC 800F78FC 8FAE01A4 */ lw $t6, 0x1a4($sp) +/* 090DB0 800F7900 8FAF0208 */ lw $t7, 0x208($sp) +/* 090DB4 800F7904 01C62021 */ addu $a0, $t6, $a2 +/* 090DB8 800F7908 25CE0006 */ addiu $t6, $t6, 6 +/* 090DBC 800F790C 000F7FC3 */ sra $t7, $t7, 0x1f +/* 090DC0 800F7910 AFAE01A4 */ sw $t6, 0x1a4($sp) +/* 090DC4 800F7914 8D830000 */ lw $v1, ($t4) +/* 090DC8 800F7918 00042080 */ sll $a0, $a0, 2 +/* 090DCC 800F791C AFAF01A8 */ sw $t7, 0x1a8($sp) +/* 090DD0 800F7920 0060102D */ daddu $v0, $v1, $zero +/* 090DD4 800F7924 24630008 */ addiu $v1, $v1, 8 +/* 090DD8 800F7928 AD830000 */ sw $v1, ($t4) +/* 090DDC 800F792C 8FB2019C */ lw $s2, 0x19c($sp) +/* 090DE0 800F7930 30840FFF */ andi $a0, $a0, 0xfff +/* 090DE4 800F7934 AC580004 */ sw $t8, 4($v0) +/* 090DE8 800F7938 AC520000 */ sw $s2, ($v0) +/* 090DEC 800F793C 24620008 */ addiu $v0, $v1, 8 +/* 090DF0 800F7940 AD820000 */ sw $v0, ($t4) +/* 090DF4 800F7944 8FB901A0 */ lw $t9, 0x1a0($sp) +/* 090DF8 800F7948 24620010 */ addiu $v0, $v1, 0x10 +/* 090DFC 800F794C AC670004 */ sw $a3, 4($v1) +/* 090E00 800F7950 AC790000 */ sw $t9, ($v1) +/* 090E04 800F7954 AD820000 */ sw $v0, ($t4) +/* 090E08 800F7958 3C02E600 */ lui $v0, 0xe600 +/* 090E0C 800F795C AC620008 */ sw $v0, 8($v1) +/* 090E10 800F7960 24620018 */ addiu $v0, $v1, 0x18 +/* 090E14 800F7964 AC60000C */ sw $zero, 0xc($v1) +/* 090E18 800F7968 AD820000 */ sw $v0, ($t4) +/* 090E1C 800F796C 3C02F400 */ lui $v0, 0xf400 +/* 090E20 800F7970 00A21025 */ or $v0, $a1, $v0 +/* 090E24 800F7974 AC620010 */ sw $v0, 0x10($v1) +/* 090E28 800F7978 3C020700 */ lui $v0, 0x700 +/* 090E2C 800F797C 00821025 */ or $v0, $a0, $v0 +/* 090E30 800F7980 02221025 */ or $v0, $s1, $v0 +/* 090E34 800F7984 AC620014 */ sw $v0, 0x14($v1) +/* 090E38 800F7988 24620020 */ addiu $v0, $v1, 0x20 +/* 090E3C 800F798C AD820000 */ sw $v0, ($t4) +/* 090E40 800F7990 24620028 */ addiu $v0, $v1, 0x28 +/* 090E44 800F7994 AC750018 */ sw $s5, 0x18($v1) +/* 090E48 800F7998 AC60001C */ sw $zero, 0x1c($v1) +/* 090E4C 800F799C AD820000 */ sw $v0, ($t4) +/* 090E50 800F79A0 24620030 */ addiu $v0, $v1, 0x30 +/* 090E54 800F79A4 00B62825 */ or $a1, $a1, $s6 +/* 090E58 800F79A8 02242025 */ or $a0, $s1, $a0 +/* 090E5C 800F79AC AC790020 */ sw $t9, 0x20($v1) +/* 090E60 800F79B0 AC680024 */ sw $t0, 0x24($v1) +/* 090E64 800F79B4 AD820000 */ sw $v0, ($t4) +/* 090E68 800F79B8 24620038 */ addiu $v0, $v1, 0x38 +/* 090E6C 800F79BC AC650028 */ sw $a1, 0x28($v1) +/* 090E70 800F79C0 AC64002C */ sw $a0, 0x2c($v1) +/* 090E74 800F79C4 AD820000 */ sw $v0, ($t4) +/* 090E78 800F79C8 AC770030 */ sw $s7, 0x30($v1) +/* 090E7C 800F79CC 8FAE0204 */ lw $t6, 0x204($sp) +/* 090E80 800F79D0 00063080 */ sll $a2, $a2, 2 +/* 090E84 800F79D4 25C200A0 */ addiu $v0, $t6, 0xa0 +/* 090E88 800F79D8 00541023 */ subu $v0, $v0, $s4 +/* 090E8C 800F79DC 2442FFFF */ addiu $v0, $v0, -1 +/* 090E90 800F79E0 00021080 */ sll $v0, $v0, 2 +/* 090E94 800F79E4 30420FFF */ andi $v0, $v0, 0xfff +/* 090E98 800F79E8 00021300 */ sll $v0, $v0, 0xc +/* 090E9C 800F79EC 00461025 */ or $v0, $v0, $a2 +/* 090EA0 800F79F0 AC620034 */ sw $v0, 0x34($v1) +/* 090EA4 800F79F4 24620040 */ addiu $v0, $v1, 0x40 +/* 090EA8 800F79F8 AD820000 */ sw $v0, ($t4) +/* 090EAC 800F79FC 3C028011 */ lui $v0, 0x8011 +/* 090EB0 800F7A00 2442BBC8 */ addiu $v0, $v0, -0x4438 +/* 090EB4 800F7A04 AC690038 */ sw $t1, 0x38($v1) +/* 090EB8 800F7A08 AC62003C */ sw $v0, 0x3c($v1) +/* 090EBC 800F7A0C 24620048 */ addiu $v0, $v1, 0x48 +/* 090EC0 800F7A10 AD820000 */ sw $v0, ($t4) +/* 090EC4 800F7A14 24020406 */ addiu $v0, $zero, 0x406 +/* 090EC8 800F7A18 AC620044 */ sw $v0, 0x44($v1) +/* 090ECC 800F7A1C 24620050 */ addiu $v0, $v1, 0x50 +/* 090ED0 800F7A20 AC6A0040 */ sw $t2, 0x40($v1) +/* 090ED4 800F7A24 AD820000 */ sw $v0, ($t4) +/* 090ED8 800F7A28 24620058 */ addiu $v0, $v1, 0x58 +/* 090EDC 800F7A2C AC750048 */ sw $s5, 0x48($v1) +/* 090EE0 800F7A30 AC60004C */ sw $zero, 0x4c($v1) +/* 090EE4 800F7A34 AD820000 */ sw $v0, ($t4) +/* 090EE8 800F7A38 3C028011 */ lui $v0, 0x8011 +/* 090EEC 800F7A3C 2442BC08 */ addiu $v0, $v0, -0x43f8 +/* 090EF0 800F7A40 AC620054 */ sw $v0, 0x54($v1) +/* 090EF4 800F7A44 026F1023 */ subu $v0, $s3, $t7 +/* 090EF8 800F7A48 01A2102A */ slt $v0, $t5, $v0 +/* 090EFC 800F7A4C 1440FF92 */ bnez $v0, .L800F7898 +/* 090F00 800F7A50 AC6B0050 */ sw $t3, 0x50($v1) +/* 090F04 800F7A54 0803DEA3 */ j .L800F7A8C +/* 090F08 800F7A58 00000000 */ nop + +.L800F7A5C: +/* 090F0C 800F7A5C 93A200E7 */ lbu $v0, 0xe7($sp) +/* 090F10 800F7A60 8FA4022C */ lw $a0, 0x22c($sp) +/* 090F14 800F7A64 8FA501F8 */ lw $a1, 0x1f8($sp) +/* 090F18 800F7A68 8FA601FC */ lw $a2, 0x1fc($sp) +/* 090F1C 800F7A6C 8FA70204 */ lw $a3, 0x204($sp) +/* 090F20 800F7A70 8FAF0208 */ lw $t7, 0x208($sp) +/* 090F24 800F7A74 8FB20228 */ lw $s2, 0x228($sp) +/* 090F28 800F7A78 AFA20014 */ sw $v0, 0x14($sp) +/* 090F2C 800F7A7C 93A200E8 */ lbu $v0, 0xe8($sp) +/* 090F30 800F7A80 AFAF0010 */ sw $t7, 0x10($sp) +/* 090F34 800F7A84 0240F809 */ jalr $s2 +/* 090F38 800F7A88 AFA20018 */ sw $v0, 0x18($sp) +.L800F7A8C: +/* 090F3C 800F7A8C 13C00016 */ beqz $fp, .L800F7AE8 +/* 090F40 800F7A90 3C03D838 */ lui $v1, 0xd838 +/* 090F44 800F7A94 34630002 */ ori $v1, $v1, 2 +/* 090F48 800F7A98 3C06E300 */ lui $a2, 0xe300 +/* 090F4C 800F7A9C 3C04800A */ lui $a0, 0x800a +/* 090F50 800F7AA0 2484A66C */ addiu $a0, $a0, -0x5994 +/* 090F54 800F7AA4 8C820000 */ lw $v0, ($a0) +/* 090F58 800F7AA8 34C60C00 */ ori $a2, $a2, 0xc00 +/* 090F5C 800F7AAC 0040282D */ daddu $a1, $v0, $zero +/* 090F60 800F7AB0 24420008 */ addiu $v0, $v0, 8 +/* 090F64 800F7AB4 AC820000 */ sw $v0, ($a0) +/* 090F68 800F7AB8 ACA30000 */ sw $v1, ($a1) +/* 090F6C 800F7ABC 24030040 */ addiu $v1, $zero, 0x40 +/* 090F70 800F7AC0 ACA30004 */ sw $v1, 4($a1) +/* 090F74 800F7AC4 24430008 */ addiu $v1, $v0, 8 +/* 090F78 800F7AC8 AC830000 */ sw $v1, ($a0) +/* 090F7C 800F7ACC 24430010 */ addiu $v1, $v0, 0x10 +/* 090F80 800F7AD0 AC460000 */ sw $a2, ($v0) +/* 090F84 800F7AD4 AC400004 */ sw $zero, 4($v0) +/* 090F88 800F7AD8 AC830000 */ sw $v1, ($a0) +/* 090F8C 800F7ADC 3C03E700 */ lui $v1, 0xe700 +/* 090F90 800F7AE0 AC430008 */ sw $v1, 8($v0) +/* 090F94 800F7AE4 AC40000C */ sw $zero, 0xc($v0) +.L800F7AE8: +/* 090F98 800F7AE8 0000102D */ daddu $v0, $zero, $zero +.L800F7AEC: +/* 090F9C 800F7AEC 8FBF01D4 */ lw $ra, 0x1d4($sp) +/* 090FA0 800F7AF0 8FBE01D0 */ lw $fp, 0x1d0($sp) +/* 090FA4 800F7AF4 8FB701CC */ lw $s7, 0x1cc($sp) +/* 090FA8 800F7AF8 8FB601C8 */ lw $s6, 0x1c8($sp) +/* 090FAC 800F7AFC 8FB501C4 */ lw $s5, 0x1c4($sp) +/* 090FB0 800F7B00 8FB401C0 */ lw $s4, 0x1c0($sp) +/* 090FB4 800F7B04 8FB301BC */ lw $s3, 0x1bc($sp) +/* 090FB8 800F7B08 8FB201B8 */ lw $s2, 0x1b8($sp) +/* 090FBC 800F7B0C 8FB101B4 */ lw $s1, 0x1b4($sp) +/* 090FC0 800F7B10 8FB001B0 */ lw $s0, 0x1b0($sp) +/* 090FC4 800F7B14 D7B801E8 */ ldc1 $f24, 0x1e8($sp) +/* 090FC8 800F7B18 D7B601E0 */ ldc1 $f22, 0x1e0($sp) +/* 090FCC 800F7B1C D7B401D8 */ ldc1 $f20, 0x1d8($sp) +/* 090FD0 800F7B20 03E00008 */ jr $ra +/* 090FD4 800F7B24 27BD01F0 */ addiu $sp, $sp, 0x1f0 + +/* 090FD8 800F7B28 00000000 */ nop +/* 090FDC 800F7B2C 00000000 */ nop diff --git a/papermario/asm/code_d5a50_len_5fd0.s b/papermario/asm/code_d5a50_len_5fd0.s index 18b33f1a9d..68108d0af2 100644 --- a/papermario/asm/code_d5a50_len_5fd0.s +++ b/papermario/asm/code_d5a50_len_5fd0.s @@ -5545,7 +5545,6 @@ func_80144238: /* 0DA950 80144250 03E00008 */ jr $ra /* 0DA954 80144254 27BD0018 */ addiu $sp, $sp, 0x18 -func_80144258: /* 0DA958 80144258 27BDFFE8 */ addiu $sp, $sp, -0x18 /* 0DA95C 8014425C 24050001 */ addiu $a1, $zero, 1 /* 0DA960 80144260 AFBF0010 */ sw $ra, 0x10($sp) @@ -5555,7 +5554,6 @@ func_80144258: /* 0DA970 80144270 03E00008 */ jr $ra /* 0DA974 80144274 27BD0018 */ addiu $sp, $sp, 0x18 -func_80144278: /* 0DA978 80144278 27BDFFE8 */ addiu $sp, $sp, -0x18 /* 0DA97C 8014427C 0000282D */ daddu $a1, $zero, $zero /* 0DA980 80144280 AFBF0010 */ sw $ra, 0x10($sp) diff --git a/papermario/asm/giantchunk.s b/papermario/asm/giantchunk.s deleted file mode 100644 index 005bbaf4ac..0000000000 --- a/papermario/asm/giantchunk.s +++ /dev/null @@ -1,30618 +0,0 @@ -# %s disassembly and split file -# generated by n64split v%s - N64 ROM splitter - -# assembler directives -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches -.set gp=64 # allow use of 64-bit general purpose registers - -.include "globals.inc" - - -.section .text800DC500, "ax" - -func_800DC500: -/* 0759B0 800DC500 27BDFF60 */ addiu $sp, $sp, -0xa0 -/* 0759B4 800DC504 AFB00070 */ sw $s0, 0x70($sp) -/* 0759B8 800DC508 0080802D */ daddu $s0, $a0, $zero -/* 0759BC 800DC50C AFB20078 */ sw $s2, 0x78($sp) -/* 0759C0 800DC510 00A0902D */ daddu $s2, $a1, $zero -/* 0759C4 800DC514 AFB3007C */ sw $s3, 0x7c($sp) -/* 0759C8 800DC518 00C0982D */ daddu $s3, $a2, $zero -/* 0759CC 800DC51C AFB40080 */ sw $s4, 0x80($sp) -/* 0759D0 800DC520 00E0A02D */ daddu $s4, $a3, $zero -/* 0759D4 800DC524 AFB50084 */ sw $s5, 0x84($sp) -/* 0759D8 800DC528 8FB500B0 */ lw $s5, 0xb0($sp) -/* 0759DC 800DC52C 27A20038 */ addiu $v0, $sp, 0x38 -/* 0759E0 800DC530 AFBF0088 */ sw $ra, 0x88($sp) -/* 0759E4 800DC534 AFB10074 */ sw $s1, 0x74($sp) -/* 0759E8 800DC538 F7B60098 */ sdc1 $f22, 0x98($sp) -/* 0759EC 800DC53C F7B40090 */ sdc1 $f20, 0x90($sp) -/* 0759F0 800DC540 C6A00000 */ lwc1 $f0, ($s5) -/* 0759F4 800DC544 3C01BF80 */ lui $at, 0xbf80 -/* 0759F8 800DC548 4481A000 */ mtc1 $at, $f20 -/* 0759FC 800DC54C 46000005 */ abs.s $f0, $f0 -/* 075A00 800DC550 E7A00044 */ swc1 $f0, 0x44($sp) -/* 075A04 800DC554 E7A00060 */ swc1 $f0, 0x60($sp) -/* 075A08 800DC558 C6440000 */ lwc1 $f4, ($s2) -/* 075A0C 800DC55C C6600000 */ lwc1 $f0, ($s3) -/* 075A10 800DC560 C6820000 */ lwc1 $f2, ($s4) -/* 075A14 800DC564 AFA2001C */ sw $v0, 0x1c($sp) -/* 075A18 800DC568 27A2003C */ addiu $v0, $sp, 0x3c -/* 075A1C 800DC56C AFA20020 */ sw $v0, 0x20($sp) -/* 075A20 800DC570 27A20040 */ addiu $v0, $sp, 0x40 -/* 075A24 800DC574 AFA20024 */ sw $v0, 0x24($sp) -/* 075A28 800DC578 27A20044 */ addiu $v0, $sp, 0x44 -/* 075A2C 800DC57C AFA20028 */ sw $v0, 0x28($sp) -/* 075A30 800DC580 27A20048 */ addiu $v0, $sp, 0x48 -/* 075A34 800DC584 AFA2002C */ sw $v0, 0x2c($sp) -/* 075A38 800DC588 27A2004C */ addiu $v0, $sp, 0x4c -/* 075A3C 800DC58C AFA20030 */ sw $v0, 0x30($sp) -/* 075A40 800DC590 44060000 */ mfc1 $a2, $f0 -/* 075A44 800DC594 44071000 */ mfc1 $a3, $f2 -/* 075A48 800DC598 44052000 */ mfc1 $a1, $f4 -/* 075A4C 800DC59C 27A20050 */ addiu $v0, $sp, 0x50 -/* 075A50 800DC5A0 AFA00010 */ sw $zero, 0x10($sp) -/* 075A54 800DC5A4 E7B40014 */ swc1 $f20, 0x14($sp) -/* 075A58 800DC5A8 AFA00018 */ sw $zero, 0x18($sp) -/* 075A5C 800DC5AC 0C017334 */ jal test_ray_colliders -/* 075A60 800DC5B0 AFA20034 */ sw $v0, 0x34($sp) -/* 075A64 800DC5B4 0040882D */ daddu $s1, $v0, $zero -/* 075A68 800DC5B8 3C020004 */ lui $v0, 4 -/* 075A6C 800DC5BC 02028024 */ and $s0, $s0, $v0 -/* 075A70 800DC5C0 1600002E */ bnez $s0, .L800DC67C -/* 075A74 800DC5C4 27A20054 */ addiu $v0, $sp, 0x54 -/* 075A78 800DC5C8 44800000 */ mtc1 $zero, $f0 -/* 075A7C 800DC5CC AFA20018 */ sw $v0, 0x18($sp) -/* 075A80 800DC5D0 27A20058 */ addiu $v0, $sp, 0x58 -/* 075A84 800DC5D4 AFA2001C */ sw $v0, 0x1c($sp) -/* 075A88 800DC5D8 27A2005C */ addiu $v0, $sp, 0x5c -/* 075A8C 800DC5DC AFA20020 */ sw $v0, 0x20($sp) -/* 075A90 800DC5E0 27A20060 */ addiu $v0, $sp, 0x60 -/* 075A94 800DC5E4 AFA20024 */ sw $v0, 0x24($sp) -/* 075A98 800DC5E8 27A20064 */ addiu $v0, $sp, 0x64 -/* 075A9C 800DC5EC AFA20028 */ sw $v0, 0x28($sp) -/* 075AA0 800DC5F0 27A20068 */ addiu $v0, $sp, 0x68 -/* 075AA4 800DC5F4 AFA2002C */ sw $v0, 0x2c($sp) -/* 075AA8 800DC5F8 27A2006C */ addiu $v0, $sp, 0x6c -/* 075AAC 800DC5FC E7B40010 */ swc1 $f20, 0x10($sp) -/* 075AB0 800DC600 AFA20030 */ sw $v0, 0x30($sp) -/* 075AB4 800DC604 E7A00014 */ swc1 $f0, 0x14($sp) -/* 075AB8 800DC608 C64C0000 */ lwc1 $f12, ($s2) -/* 075ABC 800DC60C C66E0000 */ lwc1 $f14, ($s3) -/* 075AC0 800DC610 8E860000 */ lw $a2, ($s4) -/* 075AC4 800DC614 44070000 */ mfc1 $a3, $f0 -/* 075AC8 800DC618 0C017512 */ jal test_ray_entities -/* 075ACC 800DC61C 00000000 */ nop -/* 075AD0 800DC620 04400014 */ bltz $v0, .L800DC674 -/* 075AD4 800DC624 00000000 */ nop -/* 075AD8 800DC628 C7AC0060 */ lwc1 $f12, 0x60($sp) -/* 075ADC 800DC62C C7A00044 */ lwc1 $f0, 0x44($sp) -/* 075AE0 800DC630 4600603C */ c.lt.s $f12, $f0 -/* 075AE4 800DC634 00000000 */ nop -/* 075AE8 800DC638 4500000E */ bc1f .L800DC674 -/* 075AEC 800DC63C 34514000 */ ori $s1, $v0, 0x4000 -/* 075AF0 800DC640 C7A00054 */ lwc1 $f0, 0x54($sp) -/* 075AF4 800DC644 C7A20058 */ lwc1 $f2, 0x58($sp) -/* 075AF8 800DC648 C7A4005C */ lwc1 $f4, 0x5c($sp) -/* 075AFC 800DC64C C7A60064 */ lwc1 $f6, 0x64($sp) -/* 075B00 800DC650 C7A80068 */ lwc1 $f8, 0x68($sp) -/* 075B04 800DC654 C7AA006C */ lwc1 $f10, 0x6c($sp) -/* 075B08 800DC658 E7AC0044 */ swc1 $f12, 0x44($sp) -/* 075B0C 800DC65C E7A00038 */ swc1 $f0, 0x38($sp) -/* 075B10 800DC660 E7A2003C */ swc1 $f2, 0x3c($sp) -/* 075B14 800DC664 E7A40040 */ swc1 $f4, 0x40($sp) -/* 075B18 800DC668 E7A60048 */ swc1 $f6, 0x48($sp) -/* 075B1C 800DC66C E7A8004C */ swc1 $f8, 0x4c($sp) -/* 075B20 800DC670 E7AA0050 */ swc1 $f10, 0x50($sp) -.L800DC674: -/* 075B24 800DC674 06200035 */ bltz $s1, .L800DC74C -/* 075B28 800DC678 0220102D */ daddu $v0, $s1, $zero -.L800DC67C: -/* 075B2C 800DC67C C7A00044 */ lwc1 $f0, 0x44($sp) -/* 075B30 800DC680 E6A00000 */ swc1 $f0, ($s5) -/* 075B34 800DC684 C7A00038 */ lwc1 $f0, 0x38($sp) -/* 075B38 800DC688 E6400000 */ swc1 $f0, ($s2) -/* 075B3C 800DC68C C7A0003C */ lwc1 $f0, 0x3c($sp) -/* 075B40 800DC690 E6600000 */ swc1 $f0, ($s3) -/* 075B44 800DC694 C7A00040 */ lwc1 $f0, 0x40($sp) -/* 075B48 800DC698 0620002B */ bltz $s1, .L800DC748 -/* 075B4C 800DC69C E6800000 */ swc1 $f0, ($s4) -/* 075B50 800DC6A0 C7A40050 */ lwc1 $f4, 0x50($sp) -/* 075B54 800DC6A4 3C0142C8 */ lui $at, 0x42c8 -/* 075B58 800DC6A8 4481A000 */ mtc1 $at, $f20 -/* 075B5C 800DC6AC 00000000 */ nop -/* 075B60 800DC6B0 46142402 */ mul.s $f16, $f4, $f20 -/* 075B64 800DC6B4 00000000 */ nop -/* 075B68 800DC6B8 3C108007 */ lui $s0, 0x8007 -/* 075B6C 800DC6BC 2610419C */ addiu $s0, $s0, 0x419c -/* 075B70 800DC6C0 C7A2004C */ lwc1 $f2, 0x4c($sp) -/* 075B74 800DC6C4 44068000 */ mfc1 $a2, $f16 -/* 075B78 800DC6C8 46141402 */ mul.s $f16, $f2, $f20 -/* 075B7C 800DC6CC 00000000 */ nop -/* 075B80 800DC6D0 4480B000 */ mtc1 $zero, $f22 -/* 075B84 800DC6D4 8E020000 */ lw $v0, ($s0) -/* 075B88 800DC6D8 C7A00048 */ lwc1 $f0, 0x48($sp) -/* 075B8C 800DC6DC 4600B306 */ mov.s $f12, $f22 -/* 075B90 800DC6E0 44078000 */ mfc1 $a3, $f16 -/* 075B94 800DC6E4 4600B386 */ mov.s $f14, $f22 -/* 075B98 800DC6E8 E4400128 */ swc1 $f0, 0x128($v0) -/* 075B9C 800DC6EC E442012C */ swc1 $f2, 0x12c($v0) -/* 075BA0 800DC6F0 0C00A720 */ jal atan2 -/* 075BA4 800DC6F4 E4440130 */ swc1 $f4, 0x130($v0) -/* 075BA8 800DC6F8 C7A20048 */ lwc1 $f2, 0x48($sp) -/* 075BAC 800DC6FC 46141082 */ mul.s $f2, $f2, $f20 -/* 075BB0 800DC700 00000000 */ nop -/* 075BB4 800DC704 44061000 */ mfc1 $a2, $f2 -/* 075BB8 800DC708 C7A2004C */ lwc1 $f2, 0x4c($sp) -/* 075BBC 800DC70C 46141082 */ mul.s $f2, $f2, $f20 -/* 075BC0 800DC710 00000000 */ nop -/* 075BC4 800DC714 4600B306 */ mov.s $f12, $f22 -/* 075BC8 800DC718 46006386 */ mov.s $f14, $f12 -/* 075BCC 800DC71C 8E020000 */ lw $v0, ($s0) -/* 075BD0 800DC720 44071000 */ mfc1 $a3, $f2 -/* 075BD4 800DC724 46000007 */ neg.s $f0, $f0 -/* 075BD8 800DC728 E440011C */ swc1 $f0, 0x11c($v0) -/* 075BDC 800DC72C 0C00A720 */ jal atan2 -/* 075BE0 800DC730 E44C0120 */ swc1 $f12, 0x120($v0) -/* 075BE4 800DC734 0220102D */ daddu $v0, $s1, $zero -/* 075BE8 800DC738 8E030000 */ lw $v1, ($s0) -/* 075BEC 800DC73C 46000007 */ neg.s $f0, $f0 -/* 075BF0 800DC740 080371D3 */ j .L800DC74C -/* 075BF4 800DC744 E4600124 */ swc1 $f0, 0x124($v1) - -.L800DC748: -/* 075BF8 800DC748 0220102D */ daddu $v0, $s1, $zero -.L800DC74C: -/* 075BFC 800DC74C 8FBF0088 */ lw $ra, 0x88($sp) -/* 075C00 800DC750 8FB50084 */ lw $s5, 0x84($sp) -/* 075C04 800DC754 8FB40080 */ lw $s4, 0x80($sp) -/* 075C08 800DC758 8FB3007C */ lw $s3, 0x7c($sp) -/* 075C0C 800DC75C 8FB20078 */ lw $s2, 0x78($sp) -/* 075C10 800DC760 8FB10074 */ lw $s1, 0x74($sp) -/* 075C14 800DC764 8FB00070 */ lw $s0, 0x70($sp) -/* 075C18 800DC768 D7B60098 */ ldc1 $f22, 0x98($sp) -/* 075C1C 800DC76C D7B40090 */ ldc1 $f20, 0x90($sp) -/* 075C20 800DC770 03E00008 */ jr $ra -/* 075C24 800DC774 27BD00A0 */ addiu $sp, $sp, 0xa0 - -func_800DC778: -/* 075C28 800DC778 27BDFF78 */ addiu $sp, $sp, -0x88 -/* 075C2C 800DC77C F7B80068 */ sdc1 $f24, 0x68($sp) -/* 075C30 800DC780 C7B800A0 */ lwc1 $f24, 0xa0($sp) -/* 075C34 800DC784 AFB40050 */ sw $s4, 0x50($sp) -/* 075C38 800DC788 8FB40098 */ lw $s4, 0x98($sp) -/* 075C3C 800DC78C AFBF0054 */ sw $ra, 0x54($sp) -/* 075C40 800DC790 AFB3004C */ sw $s3, 0x4c($sp) -/* 075C44 800DC794 AFB20048 */ sw $s2, 0x48($sp) -/* 075C48 800DC798 AFB10044 */ sw $s1, 0x44($sp) -/* 075C4C 800DC79C AFB00040 */ sw $s0, 0x40($sp) -/* 075C50 800DC7A0 F7BE0080 */ sdc1 $f30, 0x80($sp) -/* 075C54 800DC7A4 F7BC0078 */ sdc1 $f28, 0x78($sp) -/* 075C58 800DC7A8 F7BA0070 */ sdc1 $f26, 0x70($sp) -/* 075C5C 800DC7AC F7B60060 */ sdc1 $f22, 0x60($sp) -/* 075C60 800DC7B0 F7B40058 */ sdc1 $f20, 0x58($sp) -/* 075C64 800DC7B4 C4A60000 */ lwc1 $f6, ($a1) -/* 075C68 800DC7B8 00C0882D */ daddu $s1, $a2, $zero -/* 075C6C 800DC7BC E7A60028 */ swc1 $f6, 0x28($sp) -/* 075C70 800DC7C0 C6260000 */ lwc1 $f6, ($s1) -/* 075C74 800DC7C4 0080902D */ daddu $s2, $a0, $zero -/* 075C78 800DC7C8 E7A6002C */ swc1 $f6, 0x2c($sp) -/* 075C7C 800DC7CC C4E60000 */ lwc1 $f6, ($a3) -/* 075C80 800DC7D0 3C138011 */ lui $s3, 0x8011 -/* 075C84 800DC7D4 2673C970 */ addiu $s3, $s3, -0x3690 -/* 075C88 800DC7D8 E7A60030 */ swc1 $f6, 0x30($sp) -/* 075C8C 800DC7DC C7A6002C */ lwc1 $f6, 0x2c($sp) -/* 075C90 800DC7E0 44806000 */ mtc1 $zero, $f12 -/* 075C94 800DC7E4 4600318D */ trunc.w.s $f6, $f6 -/* 075C98 800DC7E8 E6660000 */ swc1 $f6, ($s3) -/* 075C9C 800DC7EC C6200000 */ lwc1 $f0, ($s1) -/* 075CA0 800DC7F0 3C014004 */ lui $at, 0x4004 -/* 075CA4 800DC7F4 44811800 */ mtc1 $at, $f3 -/* 075CA8 800DC7F8 44801000 */ mtc1 $zero, $f2 -/* 075CAC 800DC7FC 4600018D */ trunc.w.s $f6, $f0 -/* 075CB0 800DC800 3C018011 */ lui $at, 0x8011 -/* 075CB4 800DC804 E426C94C */ swc1 $f6, -0x36b4($at) -/* 075CB8 800DC808 C7A6009C */ lwc1 $f6, 0x9c($sp) -/* 075CBC 800DC80C C6200000 */ lwc1 $f0, ($s1) -/* 075CC0 800DC810 460C3300 */ add.s $f12, $f6, $f12 -/* 075CC4 800DC814 4600018D */ trunc.w.s $f6, $f0 -/* 075CC8 800DC818 3C018011 */ lui $at, 0x8011 -/* 075CCC 800DC81C E426C974 */ swc1 $f6, -0x368c($at) -/* 075CD0 800DC820 4600C021 */ cvt.d.s $f0, $f24 -/* 075CD4 800DC824 46220003 */ div.d $f0, $f0, $f2 -/* 075CD8 800DC828 C6820000 */ lwc1 $f2, ($s4) -/* 075CDC 800DC82C 46200620 */ cvt.s.d $f24, $f0 -/* 075CE0 800DC830 0C00A6C9 */ jal clamp_angle -/* 075CE4 800DC834 46001685 */ abs.s $f26, $f2 -/* 075CE8 800DC838 3C0140C9 */ lui $at, 0x40c9 -/* 075CEC 800DC83C 34210FD0 */ ori $at, $at, 0xfd0 -/* 075CF0 800DC840 44811000 */ mtc1 $at, $f2 -/* 075CF4 800DC844 00000000 */ nop -/* 075CF8 800DC848 46020002 */ mul.s $f0, $f0, $f2 -/* 075CFC 800DC84C 00000000 */ nop -/* 075D00 800DC850 3C0143B4 */ lui $at, 0x43b4 -/* 075D04 800DC854 44811000 */ mtc1 $at, $f2 -/* 075D08 800DC858 00000000 */ nop -/* 075D0C 800DC85C 46020503 */ div.s $f20, $f0, $f2 -/* 075D10 800DC860 0C00A85B */ jal sin_rad -/* 075D14 800DC864 4600A306 */ mov.s $f12, $f20 -/* 075D18 800DC868 46000586 */ mov.s $f22, $f0 -/* 075D1C 800DC86C 0C00A874 */ jal cos_rad -/* 075D20 800DC870 4600A306 */ mov.s $f12, $f20 -/* 075D24 800DC874 4616C102 */ mul.s $f4, $f24, $f22 -/* 075D28 800DC878 00000000 */ nop -/* 075D2C 800DC87C 0000802D */ daddu $s0, $zero, $zero -/* 075D30 800DC880 0240202D */ daddu $a0, $s2, $zero -/* 075D34 800DC884 27A50018 */ addiu $a1, $sp, 0x18 -/* 075D38 800DC888 4600C087 */ neg.s $f2, $f24 -/* 075D3C 800DC88C 46001002 */ mul.s $f0, $f2, $f0 -/* 075D40 800DC890 00000000 */ nop -/* 075D44 800DC894 27A6001C */ addiu $a2, $sp, 0x1c -/* 075D48 800DC898 27A70020 */ addiu $a3, $sp, 0x20 -/* 075D4C 800DC89C C7A60028 */ lwc1 $f6, 0x28($sp) -/* 075D50 800DC8A0 3C01C6FF */ lui $at, 0xc6ff -/* 075D54 800DC8A4 3421FE00 */ ori $at, $at, 0xfe00 -/* 075D58 800DC8A8 4481E000 */ mtc1 $at, $f28 -/* 075D5C 800DC8AC 46043080 */ add.s $f2, $f6, $f4 -/* 075D60 800DC8B0 C7A6002C */ lwc1 $f6, 0x2c($sp) -/* 075D64 800DC8B4 27A20024 */ addiu $v0, $sp, 0x24 -/* 075D68 800DC8B8 E7BA0024 */ swc1 $f26, 0x24($sp) -/* 075D6C 800DC8BC E7A6001C */ swc1 $f6, 0x1c($sp) -/* 075D70 800DC8C0 C7A60030 */ lwc1 $f6, 0x30($sp) -/* 075D74 800DC8C4 4600E786 */ mov.s $f30, $f28 -/* 075D78 800DC8C8 46003000 */ add.s $f0, $f6, $f0 -/* 075D7C 800DC8CC E7BC0038 */ swc1 $f28, 0x38($sp) -/* 075D80 800DC8D0 E7A20018 */ swc1 $f2, 0x18($sp) -/* 075D84 800DC8D4 E7A00020 */ swc1 $f0, 0x20($sp) -/* 075D88 800DC8D8 0C037140 */ jal func_800DC500 -/* 075D8C 800DC8DC AFA20010 */ sw $v0, 0x10($sp) -/* 075D90 800DC8E0 0440000F */ bltz $v0, .L800DC920 -/* 075D94 800DC8E4 E7BA0034 */ swc1 $f26, 0x34($sp) -/* 075D98 800DC8E8 C7A00024 */ lwc1 $f0, 0x24($sp) -/* 075D9C 800DC8EC 461A003E */ c.le.s $f0, $f26 -/* 075DA0 800DC8F0 00000000 */ nop -/* 075DA4 800DC8F4 4500000A */ bc1f .L800DC920 -/* 075DA8 800DC8F8 00000000 */ nop -/* 075DAC 800DC8FC 46000686 */ mov.s $f26, $f0 -/* 075DB0 800DC900 C7BC001C */ lwc1 $f28, 0x1c($sp) -/* 075DB4 800DC904 24100001 */ addiu $s0, $zero, 1 -/* 075DB8 800DC908 3C018011 */ lui $at, 0x8011 -/* 075DBC 800DC90C AC22C978 */ sw $v0, -0x3688($at) -/* 075DC0 800DC910 3C018011 */ lui $at, 0x8011 -/* 075DC4 800DC914 AC22C98C */ sw $v0, -0x3674($at) -/* 075DC8 800DC918 4600E18D */ trunc.w.s $f6, $f28 -/* 075DCC 800DC91C E6660000 */ swc1 $f6, ($s3) -.L800DC920: -/* 075DD0 800DC920 3C0142F0 */ lui $at, 0x42f0 -/* 075DD4 800DC924 44816000 */ mtc1 $at, $f12 -/* 075DD8 800DC928 C7A6009C */ lwc1 $f6, 0x9c($sp) -/* 075DDC 800DC92C 0C00A6C9 */ jal clamp_angle -/* 075DE0 800DC930 460C3300 */ add.s $f12, $f6, $f12 -/* 075DE4 800DC934 3C0140C9 */ lui $at, 0x40c9 -/* 075DE8 800DC938 34210FD0 */ ori $at, $at, 0xfd0 -/* 075DEC 800DC93C 44811000 */ mtc1 $at, $f2 -/* 075DF0 800DC940 00000000 */ nop -/* 075DF4 800DC944 46020002 */ mul.s $f0, $f0, $f2 -/* 075DF8 800DC948 00000000 */ nop -/* 075DFC 800DC94C 3C0143B4 */ lui $at, 0x43b4 -/* 075E00 800DC950 44811000 */ mtc1 $at, $f2 -/* 075E04 800DC954 00000000 */ nop -/* 075E08 800DC958 46020503 */ div.s $f20, $f0, $f2 -/* 075E0C 800DC95C 0C00A85B */ jal sin_rad -/* 075E10 800DC960 4600A306 */ mov.s $f12, $f20 -/* 075E14 800DC964 46000586 */ mov.s $f22, $f0 -/* 075E18 800DC968 0C00A874 */ jal cos_rad -/* 075E1C 800DC96C 4600A306 */ mov.s $f12, $f20 -/* 075E20 800DC970 4616C102 */ mul.s $f4, $f24, $f22 -/* 075E24 800DC974 00000000 */ nop -/* 075E28 800DC978 4600C087 */ neg.s $f2, $f24 -/* 075E2C 800DC97C 46001002 */ mul.s $f0, $f2, $f0 -/* 075E30 800DC980 00000000 */ nop -/* 075E34 800DC984 0240202D */ daddu $a0, $s2, $zero -/* 075E38 800DC988 C7A60028 */ lwc1 $f6, 0x28($sp) -/* 075E3C 800DC98C 27A50018 */ addiu $a1, $sp, 0x18 -/* 075E40 800DC990 46043080 */ add.s $f2, $f6, $f4 -/* 075E44 800DC994 C7A6002C */ lwc1 $f6, 0x2c($sp) -/* 075E48 800DC998 27A6001C */ addiu $a2, $sp, 0x1c -/* 075E4C 800DC99C E7A6001C */ swc1 $f6, 0x1c($sp) -/* 075E50 800DC9A0 C7A60030 */ lwc1 $f6, 0x30($sp) -/* 075E54 800DC9A4 27A70020 */ addiu $a3, $sp, 0x20 -/* 075E58 800DC9A8 46003000 */ add.s $f0, $f6, $f0 -/* 075E5C 800DC9AC C7A60034 */ lwc1 $f6, 0x34($sp) -/* 075E60 800DC9B0 27A20024 */ addiu $v0, $sp, 0x24 -/* 075E64 800DC9B4 E7A20018 */ swc1 $f2, 0x18($sp) -/* 075E68 800DC9B8 E7A60024 */ swc1 $f6, 0x24($sp) -/* 075E6C 800DC9BC E7A00020 */ swc1 $f0, 0x20($sp) -/* 075E70 800DC9C0 0C037140 */ jal func_800DC500 -/* 075E74 800DC9C4 AFA20010 */ sw $v0, 0x10($sp) -/* 075E78 800DC9C8 04400010 */ bltz $v0, .L800DCA0C -/* 075E7C 800DC9CC 00000000 */ nop -/* 075E80 800DC9D0 C7A00024 */ lwc1 $f0, 0x24($sp) -/* 075E84 800DC9D4 461A003E */ c.le.s $f0, $f26 -/* 075E88 800DC9D8 00000000 */ nop -/* 075E8C 800DC9DC 4500000B */ bc1f .L800DCA0C -/* 075E90 800DC9E0 00000000 */ nop -/* 075E94 800DC9E4 46000686 */ mov.s $f26, $f0 -/* 075E98 800DC9E8 C7BE001C */ lwc1 $f30, 0x1c($sp) -/* 075E9C 800DC9EC 24100001 */ addiu $s0, $zero, 1 -/* 075EA0 800DC9F0 3C018011 */ lui $at, 0x8011 -/* 075EA4 800DC9F4 AC22C978 */ sw $v0, -0x3688($at) -/* 075EA8 800DC9F8 3C018011 */ lui $at, 0x8011 -/* 075EAC 800DC9FC AC22C968 */ sw $v0, -0x3698($at) -/* 075EB0 800DCA00 4600F18D */ trunc.w.s $f6, $f30 -/* 075EB4 800DCA04 3C018011 */ lui $at, 0x8011 -/* 075EB8 800DCA08 E426C94C */ swc1 $f6, -0x36b4($at) -.L800DCA0C: -/* 075EBC 800DCA0C 3C0142F0 */ lui $at, 0x42f0 -/* 075EC0 800DCA10 44816000 */ mtc1 $at, $f12 -/* 075EC4 800DCA14 C7A6009C */ lwc1 $f6, 0x9c($sp) -/* 075EC8 800DCA18 0C00A6C9 */ jal clamp_angle -/* 075ECC 800DCA1C 460C3301 */ sub.s $f12, $f6, $f12 -/* 075ED0 800DCA20 3C0140C9 */ lui $at, 0x40c9 -/* 075ED4 800DCA24 34210FD0 */ ori $at, $at, 0xfd0 -/* 075ED8 800DCA28 44811000 */ mtc1 $at, $f2 -/* 075EDC 800DCA2C 00000000 */ nop -/* 075EE0 800DCA30 46020002 */ mul.s $f0, $f0, $f2 -/* 075EE4 800DCA34 00000000 */ nop -/* 075EE8 800DCA38 3C0143B4 */ lui $at, 0x43b4 -/* 075EEC 800DCA3C 44811000 */ mtc1 $at, $f2 -/* 075EF0 800DCA40 00000000 */ nop -/* 075EF4 800DCA44 46020503 */ div.s $f20, $f0, $f2 -/* 075EF8 800DCA48 0C00A85B */ jal sin_rad -/* 075EFC 800DCA4C 4600A306 */ mov.s $f12, $f20 -/* 075F00 800DCA50 46000586 */ mov.s $f22, $f0 -/* 075F04 800DCA54 0C00A874 */ jal cos_rad -/* 075F08 800DCA58 4600A306 */ mov.s $f12, $f20 -/* 075F0C 800DCA5C 4616C102 */ mul.s $f4, $f24, $f22 -/* 075F10 800DCA60 00000000 */ nop -/* 075F14 800DCA64 4600C087 */ neg.s $f2, $f24 -/* 075F18 800DCA68 46001002 */ mul.s $f0, $f2, $f0 -/* 075F1C 800DCA6C 00000000 */ nop -/* 075F20 800DCA70 0240202D */ daddu $a0, $s2, $zero -/* 075F24 800DCA74 C7A60028 */ lwc1 $f6, 0x28($sp) -/* 075F28 800DCA78 27A50018 */ addiu $a1, $sp, 0x18 -/* 075F2C 800DCA7C 46043080 */ add.s $f2, $f6, $f4 -/* 075F30 800DCA80 C7A6002C */ lwc1 $f6, 0x2c($sp) -/* 075F34 800DCA84 27A6001C */ addiu $a2, $sp, 0x1c -/* 075F38 800DCA88 E7A6001C */ swc1 $f6, 0x1c($sp) -/* 075F3C 800DCA8C C7A60030 */ lwc1 $f6, 0x30($sp) -/* 075F40 800DCA90 27A70020 */ addiu $a3, $sp, 0x20 -/* 075F44 800DCA94 46003000 */ add.s $f0, $f6, $f0 -/* 075F48 800DCA98 C7A60034 */ lwc1 $f6, 0x34($sp) -/* 075F4C 800DCA9C 27A20024 */ addiu $v0, $sp, 0x24 -/* 075F50 800DCAA0 E7A20018 */ swc1 $f2, 0x18($sp) -/* 075F54 800DCAA4 E7A60024 */ swc1 $f6, 0x24($sp) -/* 075F58 800DCAA8 E7A00020 */ swc1 $f0, 0x20($sp) -/* 075F5C 800DCAAC 0C037140 */ jal func_800DC500 -/* 075F60 800DCAB0 AFA20010 */ sw $v0, 0x10($sp) -/* 075F64 800DCAB4 04400011 */ bltz $v0, .L800DCAFC -/* 075F68 800DCAB8 00000000 */ nop -/* 075F6C 800DCABC C7A00024 */ lwc1 $f0, 0x24($sp) -/* 075F70 800DCAC0 461A003E */ c.le.s $f0, $f26 -/* 075F74 800DCAC4 00000000 */ nop -/* 075F78 800DCAC8 4500000C */ bc1f .L800DCAFC -/* 075F7C 800DCACC 00000000 */ nop -/* 075F80 800DCAD0 46000686 */ mov.s $f26, $f0 -/* 075F84 800DCAD4 C7A6001C */ lwc1 $f6, 0x1c($sp) -/* 075F88 800DCAD8 24100001 */ addiu $s0, $zero, 1 -/* 075F8C 800DCADC 3C018011 */ lui $at, 0x8011 -/* 075F90 800DCAE0 AC22C978 */ sw $v0, -0x3688($at) -/* 075F94 800DCAE4 3C018011 */ lui $at, 0x8011 -/* 075F98 800DCAE8 AC22C968 */ sw $v0, -0x3698($at) -/* 075F9C 800DCAEC E7A60038 */ swc1 $f6, 0x38($sp) -/* 075FA0 800DCAF0 4600318D */ trunc.w.s $f6, $f6 -/* 075FA4 800DCAF4 3C018011 */ lui $at, 0x8011 -/* 075FA8 800DCAF8 E426C974 */ swc1 $f6, -0x368c($at) -.L800DCAFC: -/* 075FAC 800DCAFC 1200000F */ beqz $s0, .L800DCB3C -/* 075FB0 800DCB00 0000102D */ daddu $v0, $zero, $zero -/* 075FB4 800DCB04 461EE03C */ c.lt.s $f28, $f30 -/* 075FB8 800DCB08 00000000 */ nop -/* 075FBC 800DCB0C 45020002 */ bc1fl .L800DCB18 -/* 075FC0 800DCB10 E63C0000 */ swc1 $f28, ($s1) -/* 075FC4 800DCB14 E63E0000 */ swc1 $f30, ($s1) -.L800DCB18: -/* 075FC8 800DCB18 C6200000 */ lwc1 $f0, ($s1) -/* 075FCC 800DCB1C C7A60038 */ lwc1 $f6, 0x38($sp) -/* 075FD0 800DCB20 4606003C */ c.lt.s $f0, $f6 -/* 075FD4 800DCB24 00000000 */ nop -/* 075FD8 800DCB28 45030001 */ bc1tl .L800DCB30 -/* 075FDC 800DCB2C E6260000 */ swc1 $f6, ($s1) -.L800DCB30: -/* 075FE0 800DCB30 E69A0000 */ swc1 $f26, ($s4) -/* 075FE4 800DCB34 080372D1 */ j .L800DCB44 -/* 075FE8 800DCB38 24020001 */ addiu $v0, $zero, 1 - -.L800DCB3C: -/* 075FEC 800DCB3C C7A0001C */ lwc1 $f0, 0x1c($sp) -/* 075FF0 800DCB40 E6200000 */ swc1 $f0, ($s1) -.L800DCB44: -/* 075FF4 800DCB44 8FBF0054 */ lw $ra, 0x54($sp) -/* 075FF8 800DCB48 8FB40050 */ lw $s4, 0x50($sp) -/* 075FFC 800DCB4C 8FB3004C */ lw $s3, 0x4c($sp) -/* 076000 800DCB50 8FB20048 */ lw $s2, 0x48($sp) -/* 076004 800DCB54 8FB10044 */ lw $s1, 0x44($sp) -/* 076008 800DCB58 8FB00040 */ lw $s0, 0x40($sp) -/* 07600C 800DCB5C D7BE0080 */ ldc1 $f30, 0x80($sp) -/* 076010 800DCB60 D7BC0078 */ ldc1 $f28, 0x78($sp) -/* 076014 800DCB64 D7BA0070 */ ldc1 $f26, 0x70($sp) -/* 076018 800DCB68 D7B80068 */ ldc1 $f24, 0x68($sp) -/* 07601C 800DCB6C D7B60060 */ ldc1 $f22, 0x60($sp) -/* 076020 800DCB70 D7B40058 */ ldc1 $f20, 0x58($sp) -/* 076024 800DCB74 03E00008 */ jr $ra -/* 076028 800DCB78 27BD0088 */ addiu $sp, $sp, 0x88 - -func_800DCB7C: -/* 07602C 800DCB7C 27BDFF80 */ addiu $sp, $sp, -0x80 -/* 076030 800DCB80 AFB40048 */ sw $s4, 0x48($sp) -/* 076034 800DCB84 8FB40090 */ lw $s4, 0x90($sp) -/* 076038 800DCB88 AFBF004C */ sw $ra, 0x4c($sp) -/* 07603C 800DCB8C AFB30044 */ sw $s3, 0x44($sp) -/* 076040 800DCB90 AFB20040 */ sw $s2, 0x40($sp) -/* 076044 800DCB94 AFB1003C */ sw $s1, 0x3c($sp) -/* 076048 800DCB98 AFB00038 */ sw $s0, 0x38($sp) -/* 07604C 800DCB9C F7BE0078 */ sdc1 $f30, 0x78($sp) -/* 076050 800DCBA0 F7BC0070 */ sdc1 $f28, 0x70($sp) -/* 076054 800DCBA4 F7BA0068 */ sdc1 $f26, 0x68($sp) -/* 076058 800DCBA8 F7B80060 */ sdc1 $f24, 0x60($sp) -/* 07605C 800DCBAC F7B60058 */ sdc1 $f22, 0x58($sp) -/* 076060 800DCBB0 F7B40050 */ sdc1 $f20, 0x50($sp) -/* 076064 800DCBB4 C4A60000 */ lwc1 $f6, ($a1) -/* 076068 800DCBB8 00C0882D */ daddu $s1, $a2, $zero -/* 07606C 800DCBBC E7A60028 */ swc1 $f6, 0x28($sp) -/* 076070 800DCBC0 C63E0000 */ lwc1 $f30, ($s1) -/* 076074 800DCBC4 C4E60000 */ lwc1 $f6, ($a3) -/* 076078 800DCBC8 3C128011 */ lui $s2, 0x8011 -/* 07607C 800DCBCC 2652C970 */ addiu $s2, $s2, -0x3690 -/* 076080 800DCBD0 E7A6002C */ swc1 $f6, 0x2c($sp) -/* 076084 800DCBD4 4600F18D */ trunc.w.s $f6, $f30 -/* 076088 800DCBD8 E6460000 */ swc1 $f6, ($s2) -/* 07608C 800DCBDC C6200000 */ lwc1 $f0, ($s1) -/* 076090 800DCBE0 4600018D */ trunc.w.s $f6, $f0 -/* 076094 800DCBE4 3C018011 */ lui $at, 0x8011 -/* 076098 800DCBE8 E426C94C */ swc1 $f6, -0x36b4($at) -/* 07609C 800DCBEC C6200000 */ lwc1 $f0, ($s1) -/* 0760A0 800DCBF0 0080982D */ daddu $s3, $a0, $zero -/* 0760A4 800DCBF4 4600018D */ trunc.w.s $f6, $f0 -/* 0760A8 800DCBF8 3C018011 */ lui $at, 0x8011 -/* 0760AC 800DCBFC E426C974 */ swc1 $f6, -0x368c($at) -/* 0760B0 800DCC00 C6800000 */ lwc1 $f0, ($s4) -/* 0760B4 800DCC04 44806000 */ mtc1 $zero, $f12 -/* 0760B8 800DCC08 0C00A6C9 */ jal clamp_angle -/* 0760BC 800DCC0C 46000605 */ abs.s $f24, $f0 -/* 0760C0 800DCC10 3C0140C9 */ lui $at, 0x40c9 -/* 0760C4 800DCC14 34210FD0 */ ori $at, $at, 0xfd0 -/* 0760C8 800DCC18 44811000 */ mtc1 $at, $f2 -/* 0760CC 800DCC1C 00000000 */ nop -/* 0760D0 800DCC20 46020002 */ mul.s $f0, $f0, $f2 -/* 0760D4 800DCC24 00000000 */ nop -/* 0760D8 800DCC28 3C0143B4 */ lui $at, 0x43b4 -/* 0760DC 800DCC2C 44811000 */ mtc1 $at, $f2 -/* 0760E0 800DCC30 00000000 */ nop -/* 0760E4 800DCC34 46020503 */ div.s $f20, $f0, $f2 -/* 0760E8 800DCC38 0C00A85B */ jal sin_rad -/* 0760EC 800DCC3C 4600A306 */ mov.s $f12, $f20 -/* 0760F0 800DCC40 46000586 */ mov.s $f22, $f0 -/* 0760F4 800DCC44 0C00A874 */ jal cos_rad -/* 0760F8 800DCC48 4600A306 */ mov.s $f12, $f20 -/* 0760FC 800DCC4C 3C014120 */ lui $at, 0x4120 -/* 076100 800DCC50 44813000 */ mtc1 $at, $f6 -/* 076104 800DCC54 00000000 */ nop -/* 076108 800DCC58 4606B102 */ mul.s $f4, $f22, $f6 -/* 07610C 800DCC5C 00000000 */ nop -/* 076110 800DCC60 0000802D */ daddu $s0, $zero, $zero -/* 076114 800DCC64 0260202D */ daddu $a0, $s3, $zero -/* 076118 800DCC68 27A50018 */ addiu $a1, $sp, 0x18 -/* 07611C 800DCC6C 46003087 */ neg.s $f2, $f6 -/* 076120 800DCC70 46020002 */ mul.s $f0, $f0, $f2 -/* 076124 800DCC74 00000000 */ nop -/* 076128 800DCC78 27A6001C */ addiu $a2, $sp, 0x1c -/* 07612C 800DCC7C 27A70020 */ addiu $a3, $sp, 0x20 -/* 076130 800DCC80 C7A60028 */ lwc1 $f6, 0x28($sp) -/* 076134 800DCC84 3C01C6FF */ lui $at, 0xc6ff -/* 076138 800DCC88 3421FE00 */ ori $at, $at, 0xfe00 -/* 07613C 800DCC8C 4481D000 */ mtc1 $at, $f26 -/* 076140 800DCC90 46043080 */ add.s $f2, $f6, $f4 -/* 076144 800DCC94 C7A6002C */ lwc1 $f6, 0x2c($sp) -/* 076148 800DCC98 27A20024 */ addiu $v0, $sp, 0x24 -/* 07614C 800DCC9C E7BE001C */ swc1 $f30, 0x1c($sp) -/* 076150 800DCCA0 E7B80024 */ swc1 $f24, 0x24($sp) -/* 076154 800DCCA4 46003000 */ add.s $f0, $f6, $f0 -/* 076158 800DCCA8 4600D706 */ mov.s $f28, $f26 -/* 07615C 800DCCAC E7A20018 */ swc1 $f2, 0x18($sp) -/* 076160 800DCCB0 E7A00020 */ swc1 $f0, 0x20($sp) -/* 076164 800DCCB4 0C037140 */ jal func_800DC500 -/* 076168 800DCCB8 AFA20010 */ sw $v0, 0x10($sp) -/* 07616C 800DCCBC 0440000F */ bltz $v0, .L800DCCFC -/* 076170 800DCCC0 E7B80030 */ swc1 $f24, 0x30($sp) -/* 076174 800DCCC4 C7A00024 */ lwc1 $f0, 0x24($sp) -/* 076178 800DCCC8 4618003E */ c.le.s $f0, $f24 -/* 07617C 800DCCCC 00000000 */ nop -/* 076180 800DCCD0 4500000A */ bc1f .L800DCCFC -/* 076184 800DCCD4 00000000 */ nop -/* 076188 800DCCD8 46000606 */ mov.s $f24, $f0 -/* 07618C 800DCCDC C7BA001C */ lwc1 $f26, 0x1c($sp) -/* 076190 800DCCE0 24100001 */ addiu $s0, $zero, 1 -/* 076194 800DCCE4 3C018011 */ lui $at, 0x8011 -/* 076198 800DCCE8 AC22C978 */ sw $v0, -0x3688($at) -/* 07619C 800DCCEC 3C018011 */ lui $at, 0x8011 -/* 0761A0 800DCCF0 AC22C98C */ sw $v0, -0x3674($at) -/* 0761A4 800DCCF4 4600D18D */ trunc.w.s $f6, $f26 -/* 0761A8 800DCCF8 E6460000 */ swc1 $f6, ($s2) -.L800DCCFC: -/* 0761AC 800DCCFC 3C014334 */ lui $at, 0x4334 -/* 0761B0 800DCD00 44816000 */ mtc1 $at, $f12 -/* 0761B4 800DCD04 44803000 */ mtc1 $zero, $f6 -/* 0761B8 800DCD08 0C00A6C9 */ jal clamp_angle -/* 0761BC 800DCD0C 460C3300 */ add.s $f12, $f6, $f12 -/* 0761C0 800DCD10 3C0140C9 */ lui $at, 0x40c9 -/* 0761C4 800DCD14 34210FD0 */ ori $at, $at, 0xfd0 -/* 0761C8 800DCD18 44811000 */ mtc1 $at, $f2 -/* 0761CC 800DCD1C 00000000 */ nop -/* 0761D0 800DCD20 46020002 */ mul.s $f0, $f0, $f2 -/* 0761D4 800DCD24 00000000 */ nop -/* 0761D8 800DCD28 3C0143B4 */ lui $at, 0x43b4 -/* 0761DC 800DCD2C 44811000 */ mtc1 $at, $f2 -/* 0761E0 800DCD30 00000000 */ nop -/* 0761E4 800DCD34 46020503 */ div.s $f20, $f0, $f2 -/* 0761E8 800DCD38 0C00A85B */ jal sin_rad -/* 0761EC 800DCD3C 4600A306 */ mov.s $f12, $f20 -/* 0761F0 800DCD40 46000586 */ mov.s $f22, $f0 -/* 0761F4 800DCD44 0C00A874 */ jal cos_rad -/* 0761F8 800DCD48 4600A306 */ mov.s $f12, $f20 -/* 0761FC 800DCD4C 3C014120 */ lui $at, 0x4120 -/* 076200 800DCD50 44813000 */ mtc1 $at, $f6 -/* 076204 800DCD54 00000000 */ nop -/* 076208 800DCD58 46163102 */ mul.s $f4, $f6, $f22 -/* 07620C 800DCD5C 00000000 */ nop -/* 076210 800DCD60 46003087 */ neg.s $f2, $f6 -/* 076214 800DCD64 46001002 */ mul.s $f0, $f2, $f0 -/* 076218 800DCD68 00000000 */ nop -/* 07621C 800DCD6C 0260202D */ daddu $a0, $s3, $zero -/* 076220 800DCD70 27A50018 */ addiu $a1, $sp, 0x18 -/* 076224 800DCD74 C7A60028 */ lwc1 $f6, 0x28($sp) -/* 076228 800DCD78 27A6001C */ addiu $a2, $sp, 0x1c -/* 07622C 800DCD7C 46043080 */ add.s $f2, $f6, $f4 -/* 076230 800DCD80 C7A6002C */ lwc1 $f6, 0x2c($sp) -/* 076234 800DCD84 27A70020 */ addiu $a3, $sp, 0x20 -/* 076238 800DCD88 46003000 */ add.s $f0, $f6, $f0 -/* 07623C 800DCD8C C7A60030 */ lwc1 $f6, 0x30($sp) -/* 076240 800DCD90 27A20024 */ addiu $v0, $sp, 0x24 -/* 076244 800DCD94 E7BE001C */ swc1 $f30, 0x1c($sp) -/* 076248 800DCD98 E7A60024 */ swc1 $f6, 0x24($sp) -/* 07624C 800DCD9C E7A20018 */ swc1 $f2, 0x18($sp) -/* 076250 800DCDA0 E7A00020 */ swc1 $f0, 0x20($sp) -/* 076254 800DCDA4 0C037140 */ jal func_800DC500 -/* 076258 800DCDA8 AFA20010 */ sw $v0, 0x10($sp) -/* 07625C 800DCDAC 04400010 */ bltz $v0, .L800DCDF0 -/* 076260 800DCDB0 00000000 */ nop -/* 076264 800DCDB4 C7A00024 */ lwc1 $f0, 0x24($sp) -/* 076268 800DCDB8 4618003E */ c.le.s $f0, $f24 -/* 07626C 800DCDBC 00000000 */ nop -/* 076270 800DCDC0 4500000B */ bc1f .L800DCDF0 -/* 076274 800DCDC4 00000000 */ nop -/* 076278 800DCDC8 46000606 */ mov.s $f24, $f0 -/* 07627C 800DCDCC C7BC001C */ lwc1 $f28, 0x1c($sp) -/* 076280 800DCDD0 24100001 */ addiu $s0, $zero, 1 -/* 076284 800DCDD4 3C018011 */ lui $at, 0x8011 -/* 076288 800DCDD8 AC22C978 */ sw $v0, -0x3688($at) -/* 07628C 800DCDDC 3C018011 */ lui $at, 0x8011 -/* 076290 800DCDE0 AC22C968 */ sw $v0, -0x3698($at) -/* 076294 800DCDE4 4600E18D */ trunc.w.s $f6, $f28 -/* 076298 800DCDE8 3C018011 */ lui $at, 0x8011 -/* 07629C 800DCDEC E426C94C */ swc1 $f6, -0x36b4($at) -.L800DCDF0: -/* 0762A0 800DCDF0 12000011 */ beqz $s0, .L800DCE38 -/* 0762A4 800DCDF4 0000102D */ daddu $v0, $zero, $zero -/* 0762A8 800DCDF8 461CD03C */ c.lt.s $f26, $f28 -/* 0762AC 800DCDFC 00000000 */ nop -/* 0762B0 800DCE00 45020002 */ bc1fl .L800DCE0C -/* 0762B4 800DCE04 E63A0000 */ swc1 $f26, ($s1) -/* 0762B8 800DCE08 E63C0000 */ swc1 $f28, ($s1) -.L800DCE0C: -/* 0762BC 800DCE0C C6200000 */ lwc1 $f0, ($s1) -/* 0762C0 800DCE10 3C01C6FF */ lui $at, 0xc6ff -/* 0762C4 800DCE14 3421FE00 */ ori $at, $at, 0xfe00 -/* 0762C8 800DCE18 44813000 */ mtc1 $at, $f6 -/* 0762CC 800DCE1C 00000000 */ nop -/* 0762D0 800DCE20 4606003C */ c.lt.s $f0, $f6 -/* 0762D4 800DCE24 00000000 */ nop -/* 0762D8 800DCE28 45030001 */ bc1tl .L800DCE30 -/* 0762DC 800DCE2C E6260000 */ swc1 $f6, ($s1) -.L800DCE30: -/* 0762E0 800DCE30 E6980000 */ swc1 $f24, ($s4) -/* 0762E4 800DCE34 24020001 */ addiu $v0, $zero, 1 -.L800DCE38: -/* 0762E8 800DCE38 8FBF004C */ lw $ra, 0x4c($sp) -/* 0762EC 800DCE3C 8FB40048 */ lw $s4, 0x48($sp) -/* 0762F0 800DCE40 8FB30044 */ lw $s3, 0x44($sp) -/* 0762F4 800DCE44 8FB20040 */ lw $s2, 0x40($sp) -/* 0762F8 800DCE48 8FB1003C */ lw $s1, 0x3c($sp) -/* 0762FC 800DCE4C 8FB00038 */ lw $s0, 0x38($sp) -/* 076300 800DCE50 D7BE0078 */ ldc1 $f30, 0x78($sp) -/* 076304 800DCE54 D7BC0070 */ ldc1 $f28, 0x70($sp) -/* 076308 800DCE58 D7BA0068 */ ldc1 $f26, 0x68($sp) -/* 07630C 800DCE5C D7B80060 */ ldc1 $f24, 0x60($sp) -/* 076310 800DCE60 D7B60058 */ ldc1 $f22, 0x58($sp) -/* 076314 800DCE64 D7B40050 */ ldc1 $f20, 0x50($sp) -/* 076318 800DCE68 03E00008 */ jr $ra -/* 07631C 800DCE6C 27BD0080 */ addiu $sp, $sp, 0x80 - -func_800DCE70: -/* 076320 800DCE70 27BDFF50 */ addiu $sp, $sp, -0xb0 -/* 076324 800DCE74 AFB20078 */ sw $s2, 0x78($sp) -/* 076328 800DCE78 8FB200C0 */ lw $s2, 0xc0($sp) -/* 07632C 800DCE7C F7BA00A8 */ sdc1 $f26, 0xa8($sp) -/* 076330 800DCE80 3C013F80 */ lui $at, 0x3f80 -/* 076334 800DCE84 4481D000 */ mtc1 $at, $f26 -/* 076338 800DCE88 AFB00070 */ sw $s0, 0x70($sp) -/* 07633C 800DCE8C 0080802D */ daddu $s0, $a0, $zero -/* 076340 800DCE90 AFB3007C */ sw $s3, 0x7c($sp) -/* 076344 800DCE94 00A0982D */ daddu $s3, $a1, $zero -/* 076348 800DCE98 AFB40080 */ sw $s4, 0x80($sp) -/* 07634C 800DCE9C 00C0A02D */ daddu $s4, $a2, $zero -/* 076350 800DCEA0 AFB50084 */ sw $s5, 0x84($sp) -/* 076354 800DCEA4 00E0A82D */ daddu $s5, $a3, $zero -/* 076358 800DCEA8 AFBF0088 */ sw $ra, 0x88($sp) -/* 07635C 800DCEAC AFB10074 */ sw $s1, 0x74($sp) -/* 076360 800DCEB0 F7B800A0 */ sdc1 $f24, 0xa0($sp) -/* 076364 800DCEB4 F7B60098 */ sdc1 $f22, 0x98($sp) -/* 076368 800DCEB8 F7B40090 */ sdc1 $f20, 0x90($sp) -/* 07636C 800DCEBC C6400000 */ lwc1 $f0, ($s2) -/* 076370 800DCEC0 27A20038 */ addiu $v0, $sp, 0x38 -/* 076374 800DCEC4 E7A00044 */ swc1 $f0, 0x44($sp) -/* 076378 800DCEC8 E7A00060 */ swc1 $f0, 0x60($sp) -/* 07637C 800DCECC C6760000 */ lwc1 $f22, ($s3) -/* 076380 800DCED0 C6980000 */ lwc1 $f24, ($s4) -/* 076384 800DCED4 C6B40000 */ lwc1 $f20, ($s5) -/* 076388 800DCED8 AFA2001C */ sw $v0, 0x1c($sp) -/* 07638C 800DCEDC 27A2003C */ addiu $v0, $sp, 0x3c -/* 076390 800DCEE0 AFA20020 */ sw $v0, 0x20($sp) -/* 076394 800DCEE4 27A20040 */ addiu $v0, $sp, 0x40 -/* 076398 800DCEE8 AFA20024 */ sw $v0, 0x24($sp) -/* 07639C 800DCEEC 27A20044 */ addiu $v0, $sp, 0x44 -/* 0763A0 800DCEF0 AFA20028 */ sw $v0, 0x28($sp) -/* 0763A4 800DCEF4 27A20048 */ addiu $v0, $sp, 0x48 -/* 0763A8 800DCEF8 AFA2002C */ sw $v0, 0x2c($sp) -/* 0763AC 800DCEFC 27A2004C */ addiu $v0, $sp, 0x4c -/* 0763B0 800DCF00 AFA20030 */ sw $v0, 0x30($sp) -/* 0763B4 800DCF04 4406C000 */ mfc1 $a2, $f24 -/* 0763B8 800DCF08 4407A000 */ mfc1 $a3, $f20 -/* 0763BC 800DCF0C 4405B000 */ mfc1 $a1, $f22 -/* 0763C0 800DCF10 27A20050 */ addiu $v0, $sp, 0x50 -/* 0763C4 800DCF14 AFA00010 */ sw $zero, 0x10($sp) -/* 0763C8 800DCF18 E7BA0014 */ swc1 $f26, 0x14($sp) -/* 0763CC 800DCF1C AFA00018 */ sw $zero, 0x18($sp) -/* 0763D0 800DCF20 0C017334 */ jal test_ray_colliders -/* 0763D4 800DCF24 AFA20034 */ sw $v0, 0x34($sp) -/* 0763D8 800DCF28 0040882D */ daddu $s1, $v0, $zero -/* 0763DC 800DCF2C 3C020004 */ lui $v0, 4 -/* 0763E0 800DCF30 02028024 */ and $s0, $s0, $v0 -/* 0763E4 800DCF34 16000029 */ bnez $s0, .L800DCFDC -/* 0763E8 800DCF38 0220182D */ daddu $v1, $s1, $zero -/* 0763EC 800DCF3C 27A20054 */ addiu $v0, $sp, 0x54 -/* 0763F0 800DCF40 AFA20018 */ sw $v0, 0x18($sp) -/* 0763F4 800DCF44 27A20058 */ addiu $v0, $sp, 0x58 -/* 0763F8 800DCF48 AFA2001C */ sw $v0, 0x1c($sp) -/* 0763FC 800DCF4C 27A2005C */ addiu $v0, $sp, 0x5c -/* 076400 800DCF50 AFA20020 */ sw $v0, 0x20($sp) -/* 076404 800DCF54 27A20060 */ addiu $v0, $sp, 0x60 -/* 076408 800DCF58 AFA20024 */ sw $v0, 0x24($sp) -/* 07640C 800DCF5C 27A20064 */ addiu $v0, $sp, 0x64 -/* 076410 800DCF60 AFA20028 */ sw $v0, 0x28($sp) -/* 076414 800DCF64 27A20068 */ addiu $v0, $sp, 0x68 -/* 076418 800DCF68 AFA2002C */ sw $v0, 0x2c($sp) -/* 07641C 800DCF6C 27A2006C */ addiu $v0, $sp, 0x6c -/* 076420 800DCF70 4600B306 */ mov.s $f12, $f22 -/* 076424 800DCF74 44800000 */ mtc1 $zero, $f0 -/* 076428 800DCF78 4406A000 */ mfc1 $a2, $f20 -/* 07642C 800DCF7C 44070000 */ mfc1 $a3, $f0 -/* 076430 800DCF80 4600C386 */ mov.s $f14, $f24 -/* 076434 800DCF84 E7BA0010 */ swc1 $f26, 0x10($sp) -/* 076438 800DCF88 AFA20030 */ sw $v0, 0x30($sp) -/* 07643C 800DCF8C 0C017512 */ jal test_ray_entities -/* 076440 800DCF90 AFA70014 */ sw $a3, 0x14($sp) -/* 076444 800DCF94 04400010 */ bltz $v0, .L800DCFD8 -/* 076448 800DCF98 34434000 */ ori $v1, $v0, 0x4000 -/* 07644C 800DCF9C C7A00060 */ lwc1 $f0, 0x60($sp) -/* 076450 800DCFA0 C7A20054 */ lwc1 $f2, 0x54($sp) -/* 076454 800DCFA4 C7A40058 */ lwc1 $f4, 0x58($sp) -/* 076458 800DCFA8 C7A6005C */ lwc1 $f6, 0x5c($sp) -/* 07645C 800DCFAC C7A80064 */ lwc1 $f8, 0x64($sp) -/* 076460 800DCFB0 C7AA0068 */ lwc1 $f10, 0x68($sp) -/* 076464 800DCFB4 C7AC006C */ lwc1 $f12, 0x6c($sp) -/* 076468 800DCFB8 E7A00044 */ swc1 $f0, 0x44($sp) -/* 07646C 800DCFBC E7A20038 */ swc1 $f2, 0x38($sp) -/* 076470 800DCFC0 E7A4003C */ swc1 $f4, 0x3c($sp) -/* 076474 800DCFC4 E7A60040 */ swc1 $f6, 0x40($sp) -/* 076478 800DCFC8 E7A80048 */ swc1 $f8, 0x48($sp) -/* 07647C 800DCFCC E7AA004C */ swc1 $f10, 0x4c($sp) -/* 076480 800DCFD0 080373F7 */ j .L800DCFDC -/* 076484 800DCFD4 E7AC0050 */ swc1 $f12, 0x50($sp) - -.L800DCFD8: -/* 076488 800DCFD8 0220182D */ daddu $v1, $s1, $zero -.L800DCFDC: -/* 07648C 800DCFDC 0460000D */ bltz $v1, .L800DD014 -/* 076490 800DCFE0 24020001 */ addiu $v0, $zero, 1 -/* 076494 800DCFE4 C7A00044 */ lwc1 $f0, 0x44($sp) -/* 076498 800DCFE8 E6400000 */ swc1 $f0, ($s2) -/* 07649C 800DCFEC C7A00038 */ lwc1 $f0, 0x38($sp) -/* 0764A0 800DCFF0 E6600000 */ swc1 $f0, ($s3) -/* 0764A4 800DCFF4 C7A0003C */ lwc1 $f0, 0x3c($sp) -/* 0764A8 800DCFF8 E6800000 */ swc1 $f0, ($s4) -/* 0764AC 800DCFFC C7A00040 */ lwc1 $f0, 0x40($sp) -/* 0764B0 800DD000 E6A00000 */ swc1 $f0, ($s5) -/* 0764B4 800DD004 3C018011 */ lui $at, 0x8011 -/* 0764B8 800DD008 AC23C978 */ sw $v1, -0x3688($at) -/* 0764BC 800DD00C 08037406 */ j .L800DD018 -/* 0764C0 800DD010 00000000 */ nop - -.L800DD014: -/* 0764C4 800DD014 0000102D */ daddu $v0, $zero, $zero -.L800DD018: -/* 0764C8 800DD018 8FBF0088 */ lw $ra, 0x88($sp) -/* 0764CC 800DD01C 8FB50084 */ lw $s5, 0x84($sp) -/* 0764D0 800DD020 8FB40080 */ lw $s4, 0x80($sp) -/* 0764D4 800DD024 8FB3007C */ lw $s3, 0x7c($sp) -/* 0764D8 800DD028 8FB20078 */ lw $s2, 0x78($sp) -/* 0764DC 800DD02C 8FB10074 */ lw $s1, 0x74($sp) -/* 0764E0 800DD030 8FB00070 */ lw $s0, 0x70($sp) -/* 0764E4 800DD034 D7BA00A8 */ ldc1 $f26, 0xa8($sp) -/* 0764E8 800DD038 D7B800A0 */ ldc1 $f24, 0xa0($sp) -/* 0764EC 800DD03C D7B60098 */ ldc1 $f22, 0x98($sp) -/* 0764F0 800DD040 D7B40090 */ ldc1 $f20, 0x90($sp) -/* 0764F4 800DD044 03E00008 */ jr $ra -/* 0764F8 800DD048 27BD00B0 */ addiu $sp, $sp, 0xb0 - -func_800DD04C: -/* 0764FC 800DD04C 27BDFF60 */ addiu $sp, $sp, -0xa0 -/* 076500 800DD050 AFB20060 */ sw $s2, 0x60($sp) -/* 076504 800DD054 00A0902D */ daddu $s2, $a1, $zero -/* 076508 800DD058 AFB30064 */ sw $s3, 0x64($sp) -/* 07650C 800DD05C 00C0982D */ daddu $s3, $a2, $zero -/* 076510 800DD060 AFB40068 */ sw $s4, 0x68($sp) -/* 076514 800DD064 00E0A02D */ daddu $s4, $a3, $zero -/* 076518 800DD068 AFB00058 */ sw $s0, 0x58($sp) -/* 07651C 800DD06C 2410FFFF */ addiu $s0, $zero, -1 -/* 076520 800DD070 AFBF006C */ sw $ra, 0x6c($sp) -/* 076524 800DD074 AFB1005C */ sw $s1, 0x5c($sp) -/* 076528 800DD078 F7BE0098 */ sdc1 $f30, 0x98($sp) -/* 07652C 800DD07C F7BC0090 */ sdc1 $f28, 0x90($sp) -/* 076530 800DD080 F7BA0088 */ sdc1 $f26, 0x88($sp) -/* 076534 800DD084 F7B80080 */ sdc1 $f24, 0x80($sp) -/* 076538 800DD088 F7B60078 */ sdc1 $f22, 0x78($sp) -/* 07653C 800DD08C F7B40070 */ sdc1 $f20, 0x70($sp) -/* 076540 800DD090 C6580000 */ lwc1 $f24, ($s2) -/* 076544 800DD094 C6760000 */ lwc1 $f22, ($s3) -/* 076548 800DD098 C6940000 */ lwc1 $f20, ($s4) -/* 07654C 800DD09C 8FB100B0 */ lw $s1, 0xb0($sp) -/* 076550 800DD0A0 3C013F80 */ lui $at, 0x3f80 -/* 076554 800DD0A4 44811000 */ mtc1 $at, $f2 -/* 076558 800DD0A8 4406B000 */ mfc1 $a2, $f22 -/* 07655C 800DD0AC 4407A000 */ mfc1 $a3, $f20 -/* 076560 800DD0B0 C6200000 */ lwc1 $f0, ($s1) -/* 076564 800DD0B4 4405C000 */ mfc1 $a1, $f24 -/* 076568 800DD0B8 27A20038 */ addiu $v0, $sp, 0x38 -/* 07656C 800DD0BC E7A00044 */ swc1 $f0, 0x44($sp) -/* 076570 800DD0C0 AFA2001C */ sw $v0, 0x1c($sp) -/* 076574 800DD0C4 27A2003C */ addiu $v0, $sp, 0x3c -/* 076578 800DD0C8 AFA20020 */ sw $v0, 0x20($sp) -/* 07657C 800DD0CC 27A20040 */ addiu $v0, $sp, 0x40 -/* 076580 800DD0D0 AFA20024 */ sw $v0, 0x24($sp) -/* 076584 800DD0D4 27A20044 */ addiu $v0, $sp, 0x44 -/* 076588 800DD0D8 AFA20028 */ sw $v0, 0x28($sp) -/* 07658C 800DD0DC 27A20048 */ addiu $v0, $sp, 0x48 -/* 076590 800DD0E0 AFA2002C */ sw $v0, 0x2c($sp) -/* 076594 800DD0E4 27A2004C */ addiu $v0, $sp, 0x4c -/* 076598 800DD0E8 AFA20030 */ sw $v0, 0x30($sp) -/* 07659C 800DD0EC 27A20050 */ addiu $v0, $sp, 0x50 -/* 0765A0 800DD0F0 AFA00010 */ sw $zero, 0x10($sp) -/* 0765A4 800DD0F4 E7A20014 */ swc1 $f2, 0x14($sp) -/* 0765A8 800DD0F8 AFA00018 */ sw $zero, 0x18($sp) -/* 0765AC 800DD0FC 0C017334 */ jal test_ray_colliders -/* 0765B0 800DD100 AFA20034 */ sw $v0, 0x34($sp) -/* 0765B4 800DD104 4600C686 */ mov.s $f26, $f24 -/* 0765B8 800DD108 4600B706 */ mov.s $f28, $f22 -/* 0765BC 800DD10C 0440000C */ bltz $v0, .L800DD140 -/* 0765C0 800DD110 4600A786 */ mov.s $f30, $f20 -/* 0765C4 800DD114 C6200000 */ lwc1 $f0, ($s1) -/* 0765C8 800DD118 C7A20044 */ lwc1 $f2, 0x44($sp) -/* 0765CC 800DD11C 4600103C */ c.lt.s $f2, $f0 -/* 0765D0 800DD120 00000000 */ nop -/* 0765D4 800DD124 45020007 */ bc1fl .L800DD144 -/* 0765D8 800DD128 4600D606 */ mov.s $f24, $f26 -/* 0765DC 800DD12C 0040802D */ daddu $s0, $v0, $zero -/* 0765E0 800DD130 E6220000 */ swc1 $f2, ($s1) -/* 0765E4 800DD134 E6580000 */ swc1 $f24, ($s2) -/* 0765E8 800DD138 E6760000 */ swc1 $f22, ($s3) -/* 0765EC 800DD13C E6940000 */ swc1 $f20, ($s4) -.L800DD140: -/* 0765F0 800DD140 4600D606 */ mov.s $f24, $f26 -.L800DD144: -/* 0765F4 800DD144 4600E586 */ mov.s $f22, $f28 -/* 0765F8 800DD148 3C014120 */ lui $at, 0x4120 -/* 0765FC 800DD14C 44811000 */ mtc1 $at, $f2 -/* 076600 800DD150 44802000 */ mtc1 $zero, $f4 -/* 076604 800DD154 3C013F80 */ lui $at, 0x3f80 -/* 076608 800DD158 44810000 */ mtc1 $at, $f0 -/* 07660C 800DD15C 27A20038 */ addiu $v0, $sp, 0x38 -/* 076610 800DD160 E7A20044 */ swc1 $f2, 0x44($sp) -/* 076614 800DD164 AFA20018 */ sw $v0, 0x18($sp) -/* 076618 800DD168 27A2003C */ addiu $v0, $sp, 0x3c -/* 07661C 800DD16C AFA2001C */ sw $v0, 0x1c($sp) -/* 076620 800DD170 27A20040 */ addiu $v0, $sp, 0x40 -/* 076624 800DD174 AFA20020 */ sw $v0, 0x20($sp) -/* 076628 800DD178 27A20044 */ addiu $v0, $sp, 0x44 -/* 07662C 800DD17C AFA20024 */ sw $v0, 0x24($sp) -/* 076630 800DD180 27A20048 */ addiu $v0, $sp, 0x48 -/* 076634 800DD184 AFA20028 */ sw $v0, 0x28($sp) -/* 076638 800DD188 27A2004C */ addiu $v0, $sp, 0x4c -/* 07663C 800DD18C AFA2002C */ sw $v0, 0x2c($sp) -/* 076640 800DD190 27A20050 */ addiu $v0, $sp, 0x50 -/* 076644 800DD194 E7A00010 */ swc1 $f0, 0x10($sp) -/* 076648 800DD198 E7A40014 */ swc1 $f4, 0x14($sp) -/* 07664C 800DD19C AFA20030 */ sw $v0, 0x30($sp) -/* 076650 800DD1A0 8E860000 */ lw $a2, ($s4) -/* 076654 800DD1A4 44072000 */ mfc1 $a3, $f4 -/* 076658 800DD1A8 C64C0000 */ lwc1 $f12, ($s2) -/* 07665C 800DD1AC C66E0000 */ lwc1 $f14, ($s3) -/* 076660 800DD1B0 0C017512 */ jal test_ray_entities -/* 076664 800DD1B4 4600F506 */ mov.s $f20, $f30 -/* 076668 800DD1B8 0442000D */ bltzl $v0, .L800DD1F0 -/* 07666C 800DD1BC 0200102D */ daddu $v0, $s0, $zero -/* 076670 800DD1C0 C6200000 */ lwc1 $f0, ($s1) -/* 076674 800DD1C4 C7A20044 */ lwc1 $f2, 0x44($sp) -/* 076678 800DD1C8 4600103C */ c.lt.s $f2, $f0 -/* 07667C 800DD1CC 00000000 */ nop -/* 076680 800DD1D0 45020007 */ bc1fl .L800DD1F0 -/* 076684 800DD1D4 0200102D */ daddu $v0, $s0, $zero -/* 076688 800DD1D8 34504000 */ ori $s0, $v0, 0x4000 -/* 07668C 800DD1DC E6220000 */ swc1 $f2, ($s1) -/* 076690 800DD1E0 E6580000 */ swc1 $f24, ($s2) -/* 076694 800DD1E4 E6760000 */ swc1 $f22, ($s3) -/* 076698 800DD1E8 E6940000 */ swc1 $f20, ($s4) -/* 07669C 800DD1EC 0200102D */ daddu $v0, $s0, $zero -.L800DD1F0: -/* 0766A0 800DD1F0 8FBF006C */ lw $ra, 0x6c($sp) -/* 0766A4 800DD1F4 8FB40068 */ lw $s4, 0x68($sp) -/* 0766A8 800DD1F8 8FB30064 */ lw $s3, 0x64($sp) -/* 0766AC 800DD1FC 8FB20060 */ lw $s2, 0x60($sp) -/* 0766B0 800DD200 8FB1005C */ lw $s1, 0x5c($sp) -/* 0766B4 800DD204 8FB00058 */ lw $s0, 0x58($sp) -/* 0766B8 800DD208 D7BE0098 */ ldc1 $f30, 0x98($sp) -/* 0766BC 800DD20C D7BC0090 */ ldc1 $f28, 0x90($sp) -/* 0766C0 800DD210 D7BA0088 */ ldc1 $f26, 0x88($sp) -/* 0766C4 800DD214 D7B80080 */ ldc1 $f24, 0x80($sp) -/* 0766C8 800DD218 D7B60078 */ ldc1 $f22, 0x78($sp) -/* 0766CC 800DD21C D7B40070 */ ldc1 $f20, 0x70($sp) -/* 0766D0 800DD220 03E00008 */ jr $ra -/* 0766D4 800DD224 27BD00A0 */ addiu $sp, $sp, 0xa0 - -/* 0766D8 800DD228 27BDFF88 */ addiu $sp, $sp, -0x78 -/* 0766DC 800DD22C F7B40050 */ sdc1 $f20, 0x50($sp) -/* 0766E0 800DD230 C7B4008C */ lwc1 $f20, 0x8c($sp) -/* 0766E4 800DD234 3C0140C9 */ lui $at, 0x40c9 -/* 0766E8 800DD238 34210FD0 */ ori $at, $at, 0xfd0 -/* 0766EC 800DD23C 44810000 */ mtc1 $at, $f0 -/* 0766F0 800DD240 AFB60040 */ sw $s6, 0x40($sp) -/* 0766F4 800DD244 8FB60088 */ lw $s6, 0x88($sp) -/* 0766F8 800DD248 F7B60058 */ sdc1 $f22, 0x58($sp) -/* 0766FC 800DD24C C7B60090 */ lwc1 $f22, 0x90($sp) -/* 076700 800DD250 AFB5003C */ sw $s5, 0x3c($sp) -/* 076704 800DD254 0080A82D */ daddu $s5, $a0, $zero -/* 076708 800DD258 AFB70044 */ sw $s7, 0x44($sp) -/* 07670C 800DD25C 00A0B82D */ daddu $s7, $a1, $zero -/* 076710 800DD260 AFBE0048 */ sw $fp, 0x48($sp) -/* 076714 800DD264 4600A502 */ mul.s $f20, $f20, $f0 -/* 076718 800DD268 00000000 */ nop -/* 07671C 800DD26C 3C0143B4 */ lui $at, 0x43b4 -/* 076720 800DD270 44810000 */ mtc1 $at, $f0 -/* 076724 800DD274 00C0F02D */ daddu $fp, $a2, $zero -/* 076728 800DD278 AFBF004C */ sw $ra, 0x4c($sp) -/* 07672C 800DD27C AFB40038 */ sw $s4, 0x38($sp) -/* 076730 800DD280 AFB30034 */ sw $s3, 0x34($sp) -/* 076734 800DD284 AFB20030 */ sw $s2, 0x30($sp) -/* 076738 800DD288 AFB1002C */ sw $s1, 0x2c($sp) -/* 07673C 800DD28C AFB00028 */ sw $s0, 0x28($sp) -/* 076740 800DD290 F7BC0070 */ sdc1 $f28, 0x70($sp) -/* 076744 800DD294 F7BA0068 */ sdc1 $f26, 0x68($sp) -/* 076748 800DD298 F7B80060 */ sdc1 $f24, 0x60($sp) -/* 07674C 800DD29C AFA70084 */ sw $a3, 0x84($sp) -/* 076750 800DD2A0 4600A503 */ div.s $f20, $f20, $f0 -/* 076754 800DD2A4 0C00A85B */ jal sin_rad -/* 076758 800DD2A8 4600A306 */ mov.s $f12, $f20 -/* 07675C 800DD2AC 4600B702 */ mul.s $f28, $f22, $f0 -/* 076760 800DD2B0 00000000 */ nop -/* 076764 800DD2B4 2414FFFF */ addiu $s4, $zero, -1 -/* 076768 800DD2B8 4600A306 */ mov.s $f12, $f20 -/* 07676C 800DD2BC 0C00A874 */ jal cos_rad -/* 076770 800DD2C0 4600B587 */ neg.s $f22, $f22 -/* 076774 800DD2C4 02A0202D */ daddu $a0, $s5, $zero -/* 076778 800DD2C8 27B30018 */ addiu $s3, $sp, 0x18 -/* 07677C 800DD2CC 0260282D */ daddu $a1, $s3, $zero -/* 076780 800DD2D0 27B2001C */ addiu $s2, $sp, 0x1c -/* 076784 800DD2D4 0240302D */ daddu $a2, $s2, $zero -/* 076788 800DD2D8 27B10020 */ addiu $s1, $sp, 0x20 -/* 07678C 800DD2DC 0220382D */ daddu $a3, $s1, $zero -/* 076790 800DD2E0 4600B682 */ mul.s $f26, $f22, $f0 -/* 076794 800DD2E4 00000000 */ nop -/* 076798 800DD2E8 C6F60000 */ lwc1 $f22, ($s7) -/* 07679C 800DD2EC C7D80000 */ lwc1 $f24, ($fp) -/* 0767A0 800DD2F0 8FA30084 */ lw $v1, 0x84($sp) -/* 0767A4 800DD2F4 C6C00000 */ lwc1 $f0, ($s6) -/* 0767A8 800DD2F8 C4740000 */ lwc1 $f20, ($v1) -/* 0767AC 800DD2FC 461CB080 */ add.s $f2, $f22, $f28 -/* 0767B0 800DD300 27B00024 */ addiu $s0, $sp, 0x24 -/* 0767B4 800DD304 E7A00024 */ swc1 $f0, 0x24($sp) -/* 0767B8 800DD308 461AA000 */ add.s $f0, $f20, $f26 -/* 0767BC 800DD30C E7B8001C */ swc1 $f24, 0x1c($sp) -/* 0767C0 800DD310 E7A20018 */ swc1 $f2, 0x18($sp) -/* 0767C4 800DD314 E7A00020 */ swc1 $f0, 0x20($sp) -/* 0767C8 800DD318 0C037413 */ jal func_800DD04C -/* 0767CC 800DD31C AFB00010 */ sw $s0, 0x10($sp) -/* 0767D0 800DD320 04410025 */ bgez $v0, .L800DD3B8 -/* 0767D4 800DD324 02A0202D */ daddu $a0, $s5, $zero -/* 0767D8 800DD328 0260282D */ daddu $a1, $s3, $zero -/* 0767DC 800DD32C 461CB081 */ sub.s $f2, $f22, $f28 -/* 0767E0 800DD330 0240302D */ daddu $a2, $s2, $zero -/* 0767E4 800DD334 0220382D */ daddu $a3, $s1, $zero -/* 0767E8 800DD338 461AA001 */ sub.s $f0, $f20, $f26 -/* 0767EC 800DD33C E7B8001C */ swc1 $f24, 0x1c($sp) -/* 0767F0 800DD340 E7A20018 */ swc1 $f2, 0x18($sp) -/* 0767F4 800DD344 E7A00020 */ swc1 $f0, 0x20($sp) -/* 0767F8 800DD348 0C037413 */ jal func_800DD04C -/* 0767FC 800DD34C AFB00010 */ sw $s0, 0x10($sp) -/* 076800 800DD350 04410019 */ bgez $v0, .L800DD3B8 -/* 076804 800DD354 02A0202D */ daddu $a0, $s5, $zero -/* 076808 800DD358 0260282D */ daddu $a1, $s3, $zero -/* 07680C 800DD35C 461AB080 */ add.s $f2, $f22, $f26 -/* 076810 800DD360 0240302D */ daddu $a2, $s2, $zero -/* 076814 800DD364 0220382D */ daddu $a3, $s1, $zero -/* 076818 800DD368 461CA000 */ add.s $f0, $f20, $f28 -/* 07681C 800DD36C E7B8001C */ swc1 $f24, 0x1c($sp) -/* 076820 800DD370 E7A20018 */ swc1 $f2, 0x18($sp) -/* 076824 800DD374 E7A00020 */ swc1 $f0, 0x20($sp) -/* 076828 800DD378 0C037413 */ jal func_800DD04C -/* 07682C 800DD37C AFB00010 */ sw $s0, 0x10($sp) -/* 076830 800DD380 0441000D */ bgez $v0, .L800DD3B8 -/* 076834 800DD384 02A0202D */ daddu $a0, $s5, $zero -/* 076838 800DD388 0260282D */ daddu $a1, $s3, $zero -/* 07683C 800DD38C 461AB081 */ sub.s $f2, $f22, $f26 -/* 076840 800DD390 0240302D */ daddu $a2, $s2, $zero -/* 076844 800DD394 0220382D */ daddu $a3, $s1, $zero -/* 076848 800DD398 461CA001 */ sub.s $f0, $f20, $f28 -/* 07684C 800DD39C E7B8001C */ swc1 $f24, 0x1c($sp) -/* 076850 800DD3A0 E7A20018 */ swc1 $f2, 0x18($sp) -/* 076854 800DD3A4 E7A00020 */ swc1 $f0, 0x20($sp) -/* 076858 800DD3A8 0C037413 */ jal func_800DD04C -/* 07685C 800DD3AC AFB00010 */ sw $s0, 0x10($sp) -/* 076860 800DD3B0 0440000B */ bltz $v0, .L800DD3E0 -/* 076864 800DD3B4 00000000 */ nop -.L800DD3B8: -/* 076868 800DD3B8 C7A00018 */ lwc1 $f0, 0x18($sp) -/* 07686C 800DD3BC E6E00000 */ swc1 $f0, ($s7) -/* 076870 800DD3C0 C7A0001C */ lwc1 $f0, 0x1c($sp) -/* 076874 800DD3C4 E7C00000 */ swc1 $f0, ($fp) -/* 076878 800DD3C8 C7A00020 */ lwc1 $f0, 0x20($sp) -/* 07687C 800DD3CC 8FA30084 */ lw $v1, 0x84($sp) -/* 076880 800DD3D0 E4600000 */ swc1 $f0, ($v1) -/* 076884 800DD3D4 C7A00024 */ lwc1 $f0, 0x24($sp) -/* 076888 800DD3D8 0040A02D */ daddu $s4, $v0, $zero -/* 07688C 800DD3DC E6C00000 */ swc1 $f0, ($s6) -.L800DD3E0: -/* 076890 800DD3E0 06810009 */ bgez $s4, .L800DD408 -/* 076894 800DD3E4 0280102D */ daddu $v0, $s4, $zero -/* 076898 800DD3E8 C7A00018 */ lwc1 $f0, 0x18($sp) -/* 07689C 800DD3EC E6E00000 */ swc1 $f0, ($s7) -/* 0768A0 800DD3F0 C7A0001C */ lwc1 $f0, 0x1c($sp) -/* 0768A4 800DD3F4 E7C00000 */ swc1 $f0, ($fp) -/* 0768A8 800DD3F8 C7A00020 */ lwc1 $f0, 0x20($sp) -/* 0768AC 800DD3FC 8FA30084 */ lw $v1, 0x84($sp) -/* 0768B0 800DD400 E4600000 */ swc1 $f0, ($v1) -/* 0768B4 800DD404 AEC00000 */ sw $zero, ($s6) -.L800DD408: -/* 0768B8 800DD408 8FBF004C */ lw $ra, 0x4c($sp) -/* 0768BC 800DD40C 8FBE0048 */ lw $fp, 0x48($sp) -/* 0768C0 800DD410 8FB70044 */ lw $s7, 0x44($sp) -/* 0768C4 800DD414 8FB60040 */ lw $s6, 0x40($sp) -/* 0768C8 800DD418 8FB5003C */ lw $s5, 0x3c($sp) -/* 0768CC 800DD41C 8FB40038 */ lw $s4, 0x38($sp) -/* 0768D0 800DD420 8FB30034 */ lw $s3, 0x34($sp) -/* 0768D4 800DD424 8FB20030 */ lw $s2, 0x30($sp) -/* 0768D8 800DD428 8FB1002C */ lw $s1, 0x2c($sp) -/* 0768DC 800DD42C 8FB00028 */ lw $s0, 0x28($sp) -/* 0768E0 800DD430 D7BC0070 */ ldc1 $f28, 0x70($sp) -/* 0768E4 800DD434 D7BA0068 */ ldc1 $f26, 0x68($sp) -/* 0768E8 800DD438 D7B80060 */ ldc1 $f24, 0x60($sp) -/* 0768EC 800DD43C D7B60058 */ ldc1 $f22, 0x58($sp) -/* 0768F0 800DD440 D7B40050 */ ldc1 $f20, 0x50($sp) -/* 0768F4 800DD444 03E00008 */ jr $ra -/* 0768F8 800DD448 27BD0078 */ addiu $sp, $sp, 0x78 - -func_800DD44C: -/* 0768FC 800DD44C 27BDFF70 */ addiu $sp, $sp, -0x90 -/* 076900 800DD450 F7B40060 */ sdc1 $f20, 0x60($sp) -/* 076904 800DD454 4485A000 */ mtc1 $a1, $f20 -/* 076908 800DD458 F7BA0078 */ sdc1 $f26, 0x78($sp) -/* 07690C 800DD45C 4486D000 */ mtc1 $a2, $f26 -/* 076910 800DD460 F7B80070 */ sdc1 $f24, 0x70($sp) -/* 076914 800DD464 4487C000 */ mtc1 $a3, $f24 -/* 076918 800DD468 F7B60068 */ sdc1 $f22, 0x68($sp) -/* 07691C 800DD46C C7B600A0 */ lwc1 $f22, 0xa0($sp) -/* 076920 800DD470 F7BC0080 */ sdc1 $f28, 0x80($sp) -/* 076924 800DD474 C7BC00A4 */ lwc1 $f28, 0xa4($sp) -/* 076928 800DD478 F7BE0088 */ sdc1 $f30, 0x88($sp) -/* 07692C 800DD47C C7BE00A8 */ lwc1 $f30, 0xa8($sp) -/* 076930 800DD480 AFB20040 */ sw $s2, 0x40($sp) -/* 076934 800DD484 8FB200AC */ lw $s2, 0xac($sp) -/* 076938 800DD488 AFB30044 */ sw $s3, 0x44($sp) -/* 07693C 800DD48C 8FB300B0 */ lw $s3, 0xb0($sp) -/* 076940 800DD490 AFB40048 */ sw $s4, 0x48($sp) -/* 076944 800DD494 8FB400B4 */ lw $s4, 0xb4($sp) -/* 076948 800DD498 AFB5004C */ sw $s5, 0x4c($sp) -/* 07694C 800DD49C 8FB500B8 */ lw $s5, 0xb8($sp) -/* 076950 800DD4A0 AFB60050 */ sw $s6, 0x50($sp) -/* 076954 800DD4A4 8FB600BC */ lw $s6, 0xbc($sp) -/* 076958 800DD4A8 AFB1003C */ sw $s1, 0x3c($sp) -/* 07695C 800DD4AC 0080882D */ daddu $s1, $a0, $zero -/* 076960 800DD4B0 AFB00038 */ sw $s0, 0x38($sp) -/* 076964 800DD4B4 2410FFFF */ addiu $s0, $zero, -1 -/* 076968 800DD4B8 AFB70054 */ sw $s7, 0x54($sp) -/* 07696C 800DD4BC 8FB700C0 */ lw $s7, 0xc0($sp) -/* 076970 800DD4C0 3C020010 */ lui $v0, 0x10 -/* 076974 800DD4C4 AFBE0058 */ sw $fp, 0x58($sp) -/* 076978 800DD4C8 8FBE00C4 */ lw $fp, 0xc4($sp) -/* 07697C 800DD4CC 02221024 */ and $v0, $s1, $v0 -/* 076980 800DD4D0 14400015 */ bnez $v0, .L800DD528 -/* 076984 800DD4D4 AFBF005C */ sw $ra, 0x5c($sp) -/* 076988 800DD4D8 4406D000 */ mfc1 $a2, $f26 -/* 07698C 800DD4DC 4407C000 */ mfc1 $a3, $f24 -/* 076990 800DD4E0 4405A000 */ mfc1 $a1, $f20 -/* 076994 800DD4E4 0220202D */ daddu $a0, $s1, $zero -/* 076998 800DD4E8 E7B60010 */ swc1 $f22, 0x10($sp) -/* 07699C 800DD4EC E7BC0014 */ swc1 $f28, 0x14($sp) -/* 0769A0 800DD4F0 E7BE0018 */ swc1 $f30, 0x18($sp) -/* 0769A4 800DD4F4 AFB2001C */ sw $s2, 0x1c($sp) -/* 0769A8 800DD4F8 AFB30020 */ sw $s3, 0x20($sp) -/* 0769AC 800DD4FC AFB40024 */ sw $s4, 0x24($sp) -/* 0769B0 800DD500 AFB50028 */ sw $s5, 0x28($sp) -/* 0769B4 800DD504 AFB6002C */ sw $s6, 0x2c($sp) -/* 0769B8 800DD508 AFB70030 */ sw $s7, 0x30($sp) -/* 0769BC 800DD50C 0C017334 */ jal test_ray_colliders -/* 0769C0 800DD510 AFBE0034 */ sw $fp, 0x34($sp) -/* 0769C4 800DD514 0040802D */ daddu $s0, $v0, $zero -/* 0769C8 800DD518 3C020004 */ lui $v0, 4 -/* 0769CC 800DD51C 02221024 */ and $v0, $s1, $v0 -/* 0769D0 800DD520 14400012 */ bnez $v0, .L800DD56C -/* 0769D4 800DD524 0200102D */ daddu $v0, $s0, $zero -.L800DD528: -/* 0769D8 800DD528 4600A306 */ mov.s $f12, $f20 -/* 0769DC 800DD52C 4406C000 */ mfc1 $a2, $f24 -/* 0769E0 800DD530 4407B000 */ mfc1 $a3, $f22 -/* 0769E4 800DD534 4600D386 */ mov.s $f14, $f26 -/* 0769E8 800DD538 E7BC0010 */ swc1 $f28, 0x10($sp) -/* 0769EC 800DD53C E7BE0014 */ swc1 $f30, 0x14($sp) -/* 0769F0 800DD540 AFB20018 */ sw $s2, 0x18($sp) -/* 0769F4 800DD544 AFB3001C */ sw $s3, 0x1c($sp) -/* 0769F8 800DD548 AFB40020 */ sw $s4, 0x20($sp) -/* 0769FC 800DD54C AFB50024 */ sw $s5, 0x24($sp) -/* 076A00 800DD550 AFB60028 */ sw $s6, 0x28($sp) -/* 076A04 800DD554 AFB7002C */ sw $s7, 0x2c($sp) -/* 076A08 800DD558 0C017512 */ jal test_ray_entities -/* 076A0C 800DD55C AFBE0030 */ sw $fp, 0x30($sp) -/* 076A10 800DD560 04430001 */ bgezl $v0, .L800DD568 -/* 076A14 800DD564 34504000 */ ori $s0, $v0, 0x4000 -.L800DD568: -/* 076A18 800DD568 0200102D */ daddu $v0, $s0, $zero -.L800DD56C: -/* 076A1C 800DD56C 8FBF005C */ lw $ra, 0x5c($sp) -/* 076A20 800DD570 8FBE0058 */ lw $fp, 0x58($sp) -/* 076A24 800DD574 8FB70054 */ lw $s7, 0x54($sp) -/* 076A28 800DD578 8FB60050 */ lw $s6, 0x50($sp) -/* 076A2C 800DD57C 8FB5004C */ lw $s5, 0x4c($sp) -/* 076A30 800DD580 8FB40048 */ lw $s4, 0x48($sp) -/* 076A34 800DD584 8FB30044 */ lw $s3, 0x44($sp) -/* 076A38 800DD588 8FB20040 */ lw $s2, 0x40($sp) -/* 076A3C 800DD58C 8FB1003C */ lw $s1, 0x3c($sp) -/* 076A40 800DD590 8FB00038 */ lw $s0, 0x38($sp) -/* 076A44 800DD594 D7BE0088 */ ldc1 $f30, 0x88($sp) -/* 076A48 800DD598 D7BC0080 */ ldc1 $f28, 0x80($sp) -/* 076A4C 800DD59C D7BA0078 */ ldc1 $f26, 0x78($sp) -/* 076A50 800DD5A0 D7B80070 */ ldc1 $f24, 0x70($sp) -/* 076A54 800DD5A4 D7B60068 */ ldc1 $f22, 0x68($sp) -/* 076A58 800DD5A8 D7B40060 */ ldc1 $f20, 0x60($sp) -/* 076A5C 800DD5AC 03E00008 */ jr $ra -/* 076A60 800DD5B0 27BD0090 */ addiu $sp, $sp, 0x90 - -func_800DD5B4: -/* 076A64 800DD5B4 44863000 */ mtc1 $a2, $f6 -/* 076A68 800DD5B8 C7A40010 */ lwc1 $f4, 0x10($sp) -/* 076A6C 800DD5BC 46043082 */ mul.s $f2, $f6, $f4 -/* 076A70 800DD5C0 00000000 */ nop -/* 076A74 800DD5C4 44874000 */ mtc1 $a3, $f8 -/* 076A78 800DD5C8 C7AA0014 */ lwc1 $f10, 0x14($sp) -/* 076A7C 800DD5CC 460A4002 */ mul.s $f0, $f8, $f10 -/* 076A80 800DD5D0 00000000 */ nop -/* 076A84 800DD5D4 46001080 */ add.s $f2, $f2, $f0 -/* 076A88 800DD5D8 46041102 */ mul.s $f4, $f2, $f4 -/* 076A8C 800DD5DC 00000000 */ nop -/* 076A90 800DD5E0 460A1082 */ mul.s $f2, $f2, $f10 -/* 076A94 800DD5E4 00000000 */ nop -/* 076A98 800DD5E8 46043181 */ sub.s $f6, $f6, $f4 -/* 076A9C 800DD5EC 3C013F00 */ lui $at, 0x3f00 -/* 076AA0 800DD5F0 44810000 */ mtc1 $at, $f0 -/* 076AA4 800DD5F4 00000000 */ nop -/* 076AA8 800DD5F8 46003182 */ mul.s $f6, $f6, $f0 -/* 076AAC 800DD5FC 00000000 */ nop -/* 076AB0 800DD600 46024201 */ sub.s $f8, $f8, $f2 -/* 076AB4 800DD604 46004202 */ mul.s $f8, $f8, $f0 -/* 076AB8 800DD608 00000000 */ nop -/* 076ABC 800DD60C E4860000 */ swc1 $f6, ($a0) -/* 076AC0 800DD610 03E00008 */ jr $ra -/* 076AC4 800DD614 E4A80000 */ swc1 $f8, ($a1) - -func_800DD618: -/* 076AC8 800DD618 27BDFF50 */ addiu $sp, $sp, -0xb0 -/* 076ACC 800DD61C C7AC00C4 */ lwc1 $f12, 0xc4($sp) -/* 076AD0 800DD620 3C0140C9 */ lui $at, 0x40c9 -/* 076AD4 800DD624 34210FD0 */ ori $at, $at, 0xfd0 -/* 076AD8 800DD628 44810000 */ mtc1 $at, $f0 -/* 076ADC 800DD62C AFB00068 */ sw $s0, 0x68($sp) -/* 076AE0 800DD630 0080802D */ daddu $s0, $a0, $zero -/* 076AE4 800DD634 AFB30074 */ sw $s3, 0x74($sp) -/* 076AE8 800DD638 00A0982D */ daddu $s3, $a1, $zero -/* 076AEC 800DD63C AFB1006C */ sw $s1, 0x6c($sp) -/* 076AF0 800DD640 00C0882D */ daddu $s1, $a2, $zero -/* 076AF4 800DD644 AFB40078 */ sw $s4, 0x78($sp) -/* 076AF8 800DD648 00E0A02D */ daddu $s4, $a3, $zero -/* 076AFC 800DD64C F7B80098 */ sdc1 $f24, 0x98($sp) -/* 076B00 800DD650 C7B800C0 */ lwc1 $f24, 0xc0($sp) -/* 076B04 800DD654 27A50038 */ addiu $a1, $sp, 0x38 -/* 076B08 800DD658 F7B40088 */ sdc1 $f20, 0x88($sp) -/* 076B0C 800DD65C C7B400C8 */ lwc1 $f20, 0xc8($sp) -/* 076B10 800DD660 46006302 */ mul.s $f12, $f12, $f0 -/* 076B14 800DD664 00000000 */ nop -/* 076B18 800DD668 3C0143B4 */ lui $at, 0x43b4 -/* 076B1C 800DD66C 44810000 */ mtc1 $at, $f0 -/* 076B20 800DD670 27A6003C */ addiu $a2, $sp, 0x3c -/* 076B24 800DD674 AFBF0080 */ sw $ra, 0x80($sp) -/* 076B28 800DD678 AFB5007C */ sw $s5, 0x7c($sp) -/* 076B2C 800DD67C AFB20070 */ sw $s2, 0x70($sp) -/* 076B30 800DD680 F7BC00A8 */ sdc1 $f28, 0xa8($sp) -/* 076B34 800DD684 F7BA00A0 */ sdc1 $f26, 0xa0($sp) -/* 076B38 800DD688 F7B60090 */ sdc1 $f22, 0x90($sp) -/* 076B3C 800DD68C 0C00A82D */ jal sin_cos_rad -/* 076B40 800DD690 46006303 */ div.s $f12, $f12, $f0 -/* 076B44 800DD694 C7A40038 */ lwc1 $f4, 0x38($sp) -/* 076B48 800DD698 4604C702 */ mul.s $f28, $f24, $f4 -/* 076B4C 800DD69C 00000000 */ nop -/* 076B50 800DD6A0 4604A182 */ mul.s $f6, $f20, $f4 -/* 076B54 800DD6A4 00000000 */ nop -/* 076B58 800DD6A8 3C013F00 */ lui $at, 0x3f00 -/* 076B5C 800DD6AC 44814000 */ mtc1 $at, $f8 -/* 076B60 800DD6B0 00000000 */ nop -/* 076B64 800DD6B4 4608A082 */ mul.s $f2, $f20, $f8 -/* 076B68 800DD6B8 00000000 */ nop -/* 076B6C 800DD6BC 46083182 */ mul.s $f6, $f6, $f8 -/* 076B70 800DD6C0 00000000 */ nop -/* 076B74 800DD6C4 2412FFFF */ addiu $s2, $zero, -1 -/* 076B78 800DD6C8 4614C000 */ add.s $f0, $f24, $f20 -/* 076B7C 800DD6CC 0000A82D */ daddu $s5, $zero, $zero -/* 076B80 800DD6D0 46020580 */ add.s $f22, $f0, $f2 -/* 076B84 800DD6D4 C7A2003C */ lwc1 $f2, 0x3c($sp) -/* 076B88 800DD6D8 27A20040 */ addiu $v0, $sp, 0x40 -/* 076B8C 800DD6DC 46001087 */ neg.s $f2, $f2 -/* 076B90 800DD6E0 E7A2003C */ swc1 $f2, 0x3c($sp) -/* 076B94 800DD6E4 E7B6004C */ swc1 $f22, 0x4c($sp) -/* 076B98 800DD6E8 C66A0000 */ lwc1 $f10, ($s3) -/* 076B9C 800DD6EC C68C0000 */ lwc1 $f12, ($s4) -/* 076BA0 800DD6F0 4602A002 */ mul.s $f0, $f20, $f2 -/* 076BA4 800DD6F4 00000000 */ nop -/* 076BA8 800DD6F8 AFA2001C */ sw $v0, 0x1c($sp) -/* 076BAC 800DD6FC 27A20044 */ addiu $v0, $sp, 0x44 -/* 076BB0 800DD700 AFA20020 */ sw $v0, 0x20($sp) -/* 076BB4 800DD704 27A20048 */ addiu $v0, $sp, 0x48 -/* 076BB8 800DD708 AFA20024 */ sw $v0, 0x24($sp) -/* 076BBC 800DD70C 27A2004C */ addiu $v0, $sp, 0x4c -/* 076BC0 800DD710 AFA20028 */ sw $v0, 0x28($sp) -/* 076BC4 800DD714 27A20050 */ addiu $v0, $sp, 0x50 -/* 076BC8 800DD718 AFA2002C */ sw $v0, 0x2c($sp) -/* 076BCC 800DD71C 27A20054 */ addiu $v0, $sp, 0x54 -/* 076BD0 800DD720 46080002 */ mul.s $f0, $f0, $f8 -/* 076BD4 800DD724 00000000 */ nop -/* 076BD8 800DD728 AFA20030 */ sw $v0, 0x30($sp) -/* 076BDC 800DD72C 27A20058 */ addiu $v0, $sp, 0x58 -/* 076BE0 800DD730 E7A40010 */ swc1 $f4, 0x10($sp) -/* 076BE4 800DD734 AFA00014 */ sw $zero, 0x14($sp) -/* 076BE8 800DD738 46065281 */ sub.s $f10, $f10, $f6 -/* 076BEC 800DD73C E7A20018 */ swc1 $f2, 0x18($sp) -/* 076BF0 800DD740 AFA20034 */ sw $v0, 0x34($sp) -/* 076BF4 800DD744 46006301 */ sub.s $f12, $f12, $f0 -/* 076BF8 800DD748 8E260000 */ lw $a2, ($s1) -/* 076BFC 800DD74C 44055000 */ mfc1 $a1, $f10 -/* 076C00 800DD750 44076000 */ mfc1 $a3, $f12 -/* 076C04 800DD754 4602C682 */ mul.s $f26, $f24, $f2 -/* 076C08 800DD758 00000000 */ nop -/* 076C0C 800DD75C 0C037513 */ jal func_800DD44C -/* 076C10 800DD760 0200202D */ daddu $a0, $s0, $zero -/* 076C14 800DD764 0040802D */ daddu $s0, $v0, $zero -/* 076C18 800DD768 0600004E */ bltz $s0, .L800DD8A4 -/* 076C1C 800DD76C 00000000 */ nop -/* 076C20 800DD770 C7A0004C */ lwc1 $f0, 0x4c($sp) -/* 076C24 800DD774 4616003E */ c.le.s $f0, $f22 -/* 076C28 800DD778 00000000 */ nop -/* 076C2C 800DD77C 45000049 */ bc1f .L800DD8A4 -/* 076C30 800DD780 00000000 */ nop -/* 076C34 800DD784 C7A20050 */ lwc1 $f2, 0x50($sp) -/* 076C38 800DD788 46021082 */ mul.s $f2, $f2, $f2 -/* 076C3C 800DD78C 00000000 */ nop -/* 076C40 800DD790 C7A00058 */ lwc1 $f0, 0x58($sp) -/* 076C44 800DD794 46000002 */ mul.s $f0, $f0, $f0 -/* 076C48 800DD798 00000000 */ nop -/* 076C4C 800DD79C 46001300 */ add.s $f12, $f2, $f0 -/* 076C50 800DD7A0 46006004 */ sqrt.s $f0, $f12 -/* 076C54 800DD7A4 46000032 */ c.eq.s $f0, $f0 -/* 076C58 800DD7A8 00000000 */ nop -/* 076C5C 800DD7AC 45010003 */ bc1t .L800DD7BC -/* 076C60 800DD7B0 00000000 */ nop -/* 076C64 800DD7B4 0C0187BC */ jal sqrtf -/* 076C68 800DD7B8 00000000 */ nop -.L800DD7BC: -/* 076C6C 800DD7BC 44060000 */ mfc1 $a2, $f0 -/* 076C70 800DD7C0 C7A00054 */ lwc1 $f0, 0x54($sp) -/* 076C74 800DD7C4 44806000 */ mtc1 $zero, $f12 -/* 076C78 800DD7C8 46000007 */ neg.s $f0, $f0 -/* 076C7C 800DD7CC 44070000 */ mfc1 $a3, $f0 -/* 076C80 800DD7D0 0C00A720 */ jal atan2 -/* 076C84 800DD7D4 46006386 */ mov.s $f14, $f12 -/* 076C88 800DD7D8 3C014270 */ lui $at, 0x4270 -/* 076C8C 800DD7DC 44811000 */ mtc1 $at, $f2 -/* 076C90 800DD7E0 46000106 */ mov.s $f4, $f0 -/* 076C94 800DD7E4 4604103C */ c.lt.s $f2, $f4 -/* 076C98 800DD7E8 00000000 */ nop -/* 076C9C 800DD7EC 45000008 */ bc1f .L800DD810 -/* 076CA0 800DD7F0 00000000 */ nop -/* 076CA4 800DD7F4 3C0142B4 */ lui $at, 0x42b4 -/* 076CA8 800DD7F8 44810000 */ mtc1 $at, $f0 -/* 076CAC 800DD7FC 00000000 */ nop -/* 076CB0 800DD800 4600203C */ c.lt.s $f4, $f0 -/* 076CB4 800DD804 00000000 */ nop -/* 076CB8 800DD808 45030001 */ bc1tl .L800DD810 -/* 076CBC 800DD80C 24150001 */ addiu $s5, $zero, 1 -.L800DD810: -/* 076CC0 800DD810 3C013F00 */ lui $at, 0x3f00 -/* 076CC4 800DD814 44810000 */ mtc1 $at, $f0 -/* 076CC8 800DD818 00000000 */ nop -/* 076CCC 800DD81C 4600A002 */ mul.s $f0, $f20, $f0 -/* 076CD0 800DD820 00000000 */ nop -/* 076CD4 800DD824 4614C080 */ add.s $f2, $f24, $f20 -/* 076CD8 800DD828 27A4005C */ addiu $a0, $sp, 0x5c -/* 076CDC 800DD82C 4406E000 */ mfc1 $a2, $f28 -/* 076CE0 800DD830 46001080 */ add.s $f2, $f2, $f0 -/* 076CE4 800DD834 C7B4004C */ lwc1 $f20, 0x4c($sp) -/* 076CE8 800DD838 4407D000 */ mfc1 $a3, $f26 -/* 076CEC 800DD83C 4602A501 */ sub.s $f20, $f20, $f2 -/* 076CF0 800DD840 C7B60038 */ lwc1 $f22, 0x38($sp) -/* 076CF4 800DD844 C7A00050 */ lwc1 $f0, 0x50($sp) -/* 076CF8 800DD848 4616A582 */ mul.s $f22, $f20, $f22 -/* 076CFC 800DD84C 00000000 */ nop -/* 076D00 800DD850 C7A2003C */ lwc1 $f2, 0x3c($sp) -/* 076D04 800DD854 27A50060 */ addiu $a1, $sp, 0x60 -/* 076D08 800DD858 E7A00010 */ swc1 $f0, 0x10($sp) -/* 076D0C 800DD85C C7A00058 */ lwc1 $f0, 0x58($sp) -/* 076D10 800DD860 4602A502 */ mul.s $f20, $f20, $f2 -/* 076D14 800DD864 00000000 */ nop -/* 076D18 800DD868 0C03756D */ jal func_800DD5B4 -/* 076D1C 800DD86C E7A00014 */ swc1 $f0, 0x14($sp) -/* 076D20 800DD870 C7A0005C */ lwc1 $f0, 0x5c($sp) -/* 076D24 800DD874 4600B580 */ add.s $f22, $f22, $f0 -/* 076D28 800DD878 C6600000 */ lwc1 $f0, ($s3) -/* 076D2C 800DD87C 46160000 */ add.s $f0, $f0, $f22 -/* 076D30 800DD880 E6600000 */ swc1 $f0, ($s3) -/* 076D34 800DD884 C7A00060 */ lwc1 $f0, 0x60($sp) -/* 076D38 800DD888 4600A500 */ add.s $f20, $f20, $f0 -/* 076D3C 800DD88C C6800000 */ lwc1 $f0, ($s4) -/* 076D40 800DD890 46140000 */ add.s $f0, $f0, $f20 -/* 076D44 800DD894 0200902D */ daddu $s2, $s0, $zero -/* 076D48 800DD898 E6800000 */ swc1 $f0, ($s4) -/* 076D4C 800DD89C 3C018011 */ lui $at, 0x8011 -/* 076D50 800DD8A0 AC32C978 */ sw $s2, -0x3688($at) -.L800DD8A4: -/* 076D54 800DD8A4 16A00007 */ bnez $s5, .L800DD8C4 -/* 076D58 800DD8A8 0240102D */ daddu $v0, $s2, $zero -/* 076D5C 800DD8AC C6600000 */ lwc1 $f0, ($s3) -/* 076D60 800DD8B0 461C0000 */ add.s $f0, $f0, $f28 -/* 076D64 800DD8B4 E6600000 */ swc1 $f0, ($s3) -/* 076D68 800DD8B8 C6800000 */ lwc1 $f0, ($s4) -/* 076D6C 800DD8BC 461A0000 */ add.s $f0, $f0, $f26 -/* 076D70 800DD8C0 E6800000 */ swc1 $f0, ($s4) -.L800DD8C4: -/* 076D74 800DD8C4 8FBF0080 */ lw $ra, 0x80($sp) -/* 076D78 800DD8C8 8FB5007C */ lw $s5, 0x7c($sp) -/* 076D7C 800DD8CC 8FB40078 */ lw $s4, 0x78($sp) -/* 076D80 800DD8D0 8FB30074 */ lw $s3, 0x74($sp) -/* 076D84 800DD8D4 8FB20070 */ lw $s2, 0x70($sp) -/* 076D88 800DD8D8 8FB1006C */ lw $s1, 0x6c($sp) -/* 076D8C 800DD8DC 8FB00068 */ lw $s0, 0x68($sp) -/* 076D90 800DD8E0 D7BC00A8 */ ldc1 $f28, 0xa8($sp) -/* 076D94 800DD8E4 D7BA00A0 */ ldc1 $f26, 0xa0($sp) -/* 076D98 800DD8E8 D7B80098 */ ldc1 $f24, 0x98($sp) -/* 076D9C 800DD8EC D7B60090 */ ldc1 $f22, 0x90($sp) -/* 076DA0 800DD8F0 D7B40088 */ ldc1 $f20, 0x88($sp) -/* 076DA4 800DD8F4 03E00008 */ jr $ra -/* 076DA8 800DD8F8 27BD00B0 */ addiu $sp, $sp, 0xb0 - -func_800DD8FC: -/* 076DAC 800DD8FC 27BDFF68 */ addiu $sp, $sp, -0x98 -/* 076DB0 800DD900 C7AC00AC */ lwc1 $f12, 0xac($sp) -/* 076DB4 800DD904 3C0140C9 */ lui $at, 0x40c9 -/* 076DB8 800DD908 34210FD0 */ ori $at, $at, 0xfd0 -/* 076DBC 800DD90C 44810000 */ mtc1 $at, $f0 -/* 076DC0 800DD910 AFB10064 */ sw $s1, 0x64($sp) -/* 076DC4 800DD914 0080882D */ daddu $s1, $a0, $zero -/* 076DC8 800DD918 AFB3006C */ sw $s3, 0x6c($sp) -/* 076DCC 800DD91C 00A0982D */ daddu $s3, $a1, $zero -/* 076DD0 800DD920 AFB00060 */ sw $s0, 0x60($sp) -/* 076DD4 800DD924 00C0802D */ daddu $s0, $a2, $zero -/* 076DD8 800DD928 AFB40070 */ sw $s4, 0x70($sp) -/* 076DDC 800DD92C 00E0A02D */ daddu $s4, $a3, $zero -/* 076DE0 800DD930 F7B60080 */ sdc1 $f22, 0x80($sp) -/* 076DE4 800DD934 C7B600A8 */ lwc1 $f22, 0xa8($sp) -/* 076DE8 800DD938 27A50038 */ addiu $a1, $sp, 0x38 -/* 076DEC 800DD93C F7B40078 */ sdc1 $f20, 0x78($sp) -/* 076DF0 800DD940 C7B400B0 */ lwc1 $f20, 0xb0($sp) -/* 076DF4 800DD944 46006302 */ mul.s $f12, $f12, $f0 -/* 076DF8 800DD948 00000000 */ nop -/* 076DFC 800DD94C 3C0143B4 */ lui $at, 0x43b4 -/* 076E00 800DD950 44810000 */ mtc1 $at, $f0 -/* 076E04 800DD954 27A6003C */ addiu $a2, $sp, 0x3c -/* 076E08 800DD958 AFBF0074 */ sw $ra, 0x74($sp) -/* 076E0C 800DD95C AFB20068 */ sw $s2, 0x68($sp) -/* 076E10 800DD960 F7BA0090 */ sdc1 $f26, 0x90($sp) -/* 076E14 800DD964 F7B80088 */ sdc1 $f24, 0x88($sp) -/* 076E18 800DD968 0C00A82D */ jal sin_cos_rad -/* 076E1C 800DD96C 46006303 */ div.s $f12, $f12, $f0 -/* 076E20 800DD970 3C013F00 */ lui $at, 0x3f00 -/* 076E24 800DD974 44813000 */ mtc1 $at, $f6 -/* 076E28 800DD978 00000000 */ nop -/* 076E2C 800DD97C 4606A082 */ mul.s $f2, $f20, $f6 -/* 076E30 800DD980 00000000 */ nop -/* 076E34 800DD984 4614B000 */ add.s $f0, $f22, $f20 -/* 076E38 800DD988 46020600 */ add.s $f24, $f0, $f2 -/* 076E3C 800DD98C C7A00038 */ lwc1 $f0, 0x38($sp) -/* 076E40 800DD990 4600B682 */ mul.s $f26, $f22, $f0 -/* 076E44 800DD994 00000000 */ nop -/* 076E48 800DD998 2412FFFF */ addiu $s2, $zero, -1 -/* 076E4C 800DD99C 27A20040 */ addiu $v0, $sp, 0x40 -/* 076E50 800DD9A0 C7A2003C */ lwc1 $f2, 0x3c($sp) -/* 076E54 800DD9A4 46001087 */ neg.s $f2, $f2 -/* 076E58 800DD9A8 4600A102 */ mul.s $f4, $f20, $f0 -/* 076E5C 800DD9AC 00000000 */ nop -/* 076E60 800DD9B0 E7A2003C */ swc1 $f2, 0x3c($sp) -/* 076E64 800DD9B4 E7B8004C */ swc1 $f24, 0x4c($sp) -/* 076E68 800DD9B8 C6680000 */ lwc1 $f8, ($s3) -/* 076E6C 800DD9BC C68A0000 */ lwc1 $f10, ($s4) -/* 076E70 800DD9C0 4602A502 */ mul.s $f20, $f20, $f2 -/* 076E74 800DD9C4 00000000 */ nop -/* 076E78 800DD9C8 AFA2001C */ sw $v0, 0x1c($sp) -/* 076E7C 800DD9CC 27A20044 */ addiu $v0, $sp, 0x44 -/* 076E80 800DD9D0 AFA20020 */ sw $v0, 0x20($sp) -/* 076E84 800DD9D4 27A20048 */ addiu $v0, $sp, 0x48 -/* 076E88 800DD9D8 AFA20024 */ sw $v0, 0x24($sp) -/* 076E8C 800DD9DC 27A2004C */ addiu $v0, $sp, 0x4c -/* 076E90 800DD9E0 46062102 */ mul.s $f4, $f4, $f6 -/* 076E94 800DD9E4 00000000 */ nop -/* 076E98 800DD9E8 AFA20028 */ sw $v0, 0x28($sp) -/* 076E9C 800DD9EC 27A20050 */ addiu $v0, $sp, 0x50 -/* 076EA0 800DD9F0 AFA2002C */ sw $v0, 0x2c($sp) -/* 076EA4 800DD9F4 27A20054 */ addiu $v0, $sp, 0x54 -/* 076EA8 800DD9F8 4606A502 */ mul.s $f20, $f20, $f6 -/* 076EAC 800DD9FC 00000000 */ nop -/* 076EB0 800DDA00 AFA20030 */ sw $v0, 0x30($sp) -/* 076EB4 800DDA04 27A20058 */ addiu $v0, $sp, 0x58 -/* 076EB8 800DDA08 E7A00010 */ swc1 $f0, 0x10($sp) -/* 076EBC 800DDA0C AFA00014 */ sw $zero, 0x14($sp) -/* 076EC0 800DDA10 46044201 */ sub.s $f8, $f8, $f4 -/* 076EC4 800DDA14 E7A20018 */ swc1 $f2, 0x18($sp) -/* 076EC8 800DDA18 AFA20034 */ sw $v0, 0x34($sp) -/* 076ECC 800DDA1C 46145281 */ sub.s $f10, $f10, $f20 -/* 076ED0 800DDA20 8E060000 */ lw $a2, ($s0) -/* 076ED4 800DDA24 44054000 */ mfc1 $a1, $f8 -/* 076ED8 800DDA28 44075000 */ mfc1 $a3, $f10 -/* 076EDC 800DDA2C 4602B582 */ mul.s $f22, $f22, $f2 -/* 076EE0 800DDA30 00000000 */ nop -/* 076EE4 800DDA34 0C037513 */ jal func_800DD44C -/* 076EE8 800DDA38 0220202D */ daddu $a0, $s1, $zero -/* 076EEC 800DDA3C 04400016 */ bltz $v0, .L800DDA98 -/* 076EF0 800DDA40 00000000 */ nop -/* 076EF4 800DDA44 C7A4004C */ lwc1 $f4, 0x4c($sp) -/* 076EF8 800DDA48 4618203E */ c.le.s $f4, $f24 -/* 076EFC 800DDA4C 00000000 */ nop -/* 076F00 800DDA50 45000011 */ bc1f .L800DDA98 -/* 076F04 800DDA54 00000000 */ nop -/* 076F08 800DDA58 46182101 */ sub.s $f4, $f4, $f24 -/* 076F0C 800DDA5C C7A00038 */ lwc1 $f0, 0x38($sp) -/* 076F10 800DDA60 46002002 */ mul.s $f0, $f4, $f0 -/* 076F14 800DDA64 00000000 */ nop -/* 076F18 800DDA68 C6620000 */ lwc1 $f2, ($s3) -/* 076F1C 800DDA6C 46001080 */ add.s $f2, $f2, $f0 -/* 076F20 800DDA70 C7A0003C */ lwc1 $f0, 0x3c($sp) -/* 076F24 800DDA74 46002102 */ mul.s $f4, $f4, $f0 -/* 076F28 800DDA78 00000000 */ nop -/* 076F2C 800DDA7C E6620000 */ swc1 $f2, ($s3) -/* 076F30 800DDA80 C6800000 */ lwc1 $f0, ($s4) -/* 076F34 800DDA84 46040000 */ add.s $f0, $f0, $f4 -/* 076F38 800DDA88 0040902D */ daddu $s2, $v0, $zero -/* 076F3C 800DDA8C E6800000 */ swc1 $f0, ($s4) -/* 076F40 800DDA90 3C018011 */ lui $at, 0x8011 -/* 076F44 800DDA94 AC32C978 */ sw $s2, -0x3688($at) -.L800DDA98: -/* 076F48 800DDA98 C6600000 */ lwc1 $f0, ($s3) -/* 076F4C 800DDA9C 461A0000 */ add.s $f0, $f0, $f26 -/* 076F50 800DDAA0 E6600000 */ swc1 $f0, ($s3) -/* 076F54 800DDAA4 C6800000 */ lwc1 $f0, ($s4) -/* 076F58 800DDAA8 46160000 */ add.s $f0, $f0, $f22 -/* 076F5C 800DDAAC 0240102D */ daddu $v0, $s2, $zero -/* 076F60 800DDAB0 E6800000 */ swc1 $f0, ($s4) -/* 076F64 800DDAB4 8FBF0074 */ lw $ra, 0x74($sp) -/* 076F68 800DDAB8 8FB40070 */ lw $s4, 0x70($sp) -/* 076F6C 800DDABC 8FB3006C */ lw $s3, 0x6c($sp) -/* 076F70 800DDAC0 8FB20068 */ lw $s2, 0x68($sp) -/* 076F74 800DDAC4 8FB10064 */ lw $s1, 0x64($sp) -/* 076F78 800DDAC8 8FB00060 */ lw $s0, 0x60($sp) -/* 076F7C 800DDACC D7BA0090 */ ldc1 $f26, 0x90($sp) -/* 076F80 800DDAD0 D7B80088 */ ldc1 $f24, 0x88($sp) -/* 076F84 800DDAD4 D7B60080 */ ldc1 $f22, 0x80($sp) -/* 076F88 800DDAD8 D7B40078 */ ldc1 $f20, 0x78($sp) -/* 076F8C 800DDADC 03E00008 */ jr $ra -/* 076F90 800DDAE0 27BD0098 */ addiu $sp, $sp, 0x98 - -func_800DDAE4: -/* 076F94 800DDAE4 27BDFF98 */ addiu $sp, $sp, -0x68 -/* 076F98 800DDAE8 F7B40050 */ sdc1 $f20, 0x50($sp) -/* 076F9C 800DDAEC C7B40084 */ lwc1 $f20, 0x84($sp) -/* 076FA0 800DDAF0 C7A40078 */ lwc1 $f4, 0x78($sp) -/* 076FA4 800DDAF4 AFB60048 */ sw $s6, 0x48($sp) -/* 076FA8 800DDAF8 0080B02D */ daddu $s6, $a0, $zero -/* 076FAC 800DDAFC AFB3003C */ sw $s3, 0x3c($sp) -/* 076FB0 800DDB00 00A0982D */ daddu $s3, $a1, $zero -/* 076FB4 800DDB04 AFB50044 */ sw $s5, 0x44($sp) -/* 076FB8 800DDB08 00C0A82D */ daddu $s5, $a2, $zero -/* 076FBC 800DDB0C AFB40040 */ sw $s4, 0x40($sp) -/* 076FC0 800DDB10 00E0A02D */ daddu $s4, $a3, $zero -/* 076FC4 800DDB14 F7B80060 */ sdc1 $f24, 0x60($sp) -/* 076FC8 800DDB18 C7B8007C */ lwc1 $f24, 0x7c($sp) -/* 076FCC 800DDB1C C7A20080 */ lwc1 $f2, 0x80($sp) -/* 076FD0 800DDB20 AFBF004C */ sw $ra, 0x4c($sp) -/* 076FD4 800DDB24 AFB20038 */ sw $s2, 0x38($sp) -/* 076FD8 800DDB28 AFB10034 */ sw $s1, 0x34($sp) -/* 076FDC 800DDB2C AFB00030 */ sw $s0, 0x30($sp) -/* 076FE0 800DDB30 F7B60058 */ sdc1 $f22, 0x58($sp) -/* 076FE4 800DDB34 C6600000 */ lwc1 $f0, ($s3) -/* 076FE8 800DDB38 27B20020 */ addiu $s2, $sp, 0x20 -/* 076FEC 800DDB3C E7A00020 */ swc1 $f0, 0x20($sp) -/* 076FF0 800DDB40 C6A00000 */ lwc1 $f0, ($s5) -/* 076FF4 800DDB44 0240282D */ daddu $a1, $s2, $zero -/* 076FF8 800DDB48 46020000 */ add.s $f0, $f0, $f2 -/* 076FFC 800DDB4C 3C013F80 */ lui $at, 0x3f80 -/* 077000 800DDB50 44811000 */ mtc1 $at, $f2 -/* 077004 800DDB54 27B10024 */ addiu $s1, $sp, 0x24 -/* 077008 800DDB58 46020001 */ sub.s $f0, $f0, $f2 -/* 07700C 800DDB5C 3C013F00 */ lui $at, 0x3f00 -/* 077010 800DDB60 44811000 */ mtc1 $at, $f2 -/* 077014 800DDB64 0220302D */ daddu $a2, $s1, $zero -/* 077018 800DDB68 4602A502 */ mul.s $f20, $f20, $f2 -/* 07701C 800DDB6C 00000000 */ nop -/* 077020 800DDB70 27B00028 */ addiu $s0, $sp, 0x28 -/* 077024 800DDB74 0200382D */ daddu $a3, $s0, $zero -/* 077028 800DDB78 E7A00024 */ swc1 $f0, 0x24($sp) -/* 07702C 800DDB7C C6800000 */ lwc1 $f0, ($s4) -/* 077030 800DDB80 46002585 */ abs.s $f22, $f4 -/* 077034 800DDB84 E7A00028 */ swc1 $f0, 0x28($sp) -/* 077038 800DDB88 E7B60010 */ swc1 $f22, 0x10($sp) -/* 07703C 800DDB8C E7B80014 */ swc1 $f24, 0x14($sp) -/* 077040 800DDB90 0C037586 */ jal func_800DD618 -/* 077044 800DDB94 E7B40018 */ swc1 $f20, 0x18($sp) -/* 077048 800DDB98 04430019 */ bgezl $v0, .L800DDC00 -/* 07704C 800DDB9C 24020001 */ addiu $v0, $zero, 1 -/* 077050 800DDBA0 C6600000 */ lwc1 $f0, ($s3) -/* 077054 800DDBA4 3C014120 */ lui $at, 0x4120 -/* 077058 800DDBA8 342128F6 */ ori $at, $at, 0x28f6 -/* 07705C 800DDBAC 44811000 */ mtc1 $at, $f2 -/* 077060 800DDBB0 E7A00020 */ swc1 $f0, 0x20($sp) -/* 077064 800DDBB4 C6A00000 */ lwc1 $f0, ($s5) -/* 077068 800DDBB8 02C0202D */ daddu $a0, $s6, $zero -/* 07706C 800DDBBC 46020000 */ add.s $f0, $f0, $f2 -/* 077070 800DDBC0 0240282D */ daddu $a1, $s2, $zero -/* 077074 800DDBC4 0220302D */ daddu $a2, $s1, $zero -/* 077078 800DDBC8 E7A00024 */ swc1 $f0, 0x24($sp) -/* 07707C 800DDBCC C6800000 */ lwc1 $f0, ($s4) -/* 077080 800DDBD0 0200382D */ daddu $a3, $s0, $zero -/* 077084 800DDBD4 E7A00028 */ swc1 $f0, 0x28($sp) -/* 077088 800DDBD8 E7B60010 */ swc1 $f22, 0x10($sp) -/* 07708C 800DDBDC E7B80014 */ swc1 $f24, 0x14($sp) -/* 077090 800DDBE0 0C037586 */ jal func_800DD618 -/* 077094 800DDBE4 E7B40018 */ swc1 $f20, 0x18($sp) -/* 077098 800DDBE8 C7A00020 */ lwc1 $f0, 0x20($sp) -/* 07709C 800DDBEC 00021027 */ nor $v0, $zero, $v0 -/* 0770A0 800DDBF0 E6600000 */ swc1 $f0, ($s3) -/* 0770A4 800DDBF4 C7A00028 */ lwc1 $f0, 0x28($sp) -/* 0770A8 800DDBF8 08037703 */ j .L800DDC0C -/* 0770AC 800DDBFC 000217C2 */ srl $v0, $v0, 0x1f - -.L800DDC00: -/* 0770B0 800DDC00 C7A00020 */ lwc1 $f0, 0x20($sp) -/* 0770B4 800DDC04 E6600000 */ swc1 $f0, ($s3) -/* 0770B8 800DDC08 C7A00028 */ lwc1 $f0, 0x28($sp) -.L800DDC0C: -/* 0770BC 800DDC0C E6800000 */ swc1 $f0, ($s4) -/* 0770C0 800DDC10 8FBF004C */ lw $ra, 0x4c($sp) -/* 0770C4 800DDC14 8FB60048 */ lw $s6, 0x48($sp) -/* 0770C8 800DDC18 8FB50044 */ lw $s5, 0x44($sp) -/* 0770CC 800DDC1C 8FB40040 */ lw $s4, 0x40($sp) -/* 0770D0 800DDC20 8FB3003C */ lw $s3, 0x3c($sp) -/* 0770D4 800DDC24 8FB20038 */ lw $s2, 0x38($sp) -/* 0770D8 800DDC28 8FB10034 */ lw $s1, 0x34($sp) -/* 0770DC 800DDC2C 8FB00030 */ lw $s0, 0x30($sp) -/* 0770E0 800DDC30 D7B80060 */ ldc1 $f24, 0x60($sp) -/* 0770E4 800DDC34 D7B60058 */ ldc1 $f22, 0x58($sp) -/* 0770E8 800DDC38 D7B40050 */ ldc1 $f20, 0x50($sp) -/* 0770EC 800DDC3C 03E00008 */ jr $ra -/* 0770F0 800DDC40 27BD0068 */ addiu $sp, $sp, 0x68 - -func_800DDC44: -/* 0770F4 800DDC44 27BDFFC0 */ addiu $sp, $sp, -0x40 -/* 0770F8 800DDC48 AFB10034 */ sw $s1, 0x34($sp) -/* 0770FC 800DDC4C 00A0882D */ daddu $s1, $a1, $zero -/* 077100 800DDC50 AFBF0038 */ sw $ra, 0x38($sp) -/* 077104 800DDC54 AFB00030 */ sw $s0, 0x30($sp) -/* 077108 800DDC58 C6200000 */ lwc1 $f0, ($s1) -/* 07710C 800DDC5C C7A40050 */ lwc1 $f4, 0x50($sp) -/* 077110 800DDC60 C7A80054 */ lwc1 $f8, 0x54($sp) -/* 077114 800DDC64 C7A6005C */ lwc1 $f6, 0x5c($sp) -/* 077118 800DDC68 3C014120 */ lui $at, 0x4120 -/* 07711C 800DDC6C 342128F6 */ ori $at, $at, 0x28f6 -/* 077120 800DDC70 44811000 */ mtc1 $at, $f2 -/* 077124 800DDC74 E7A00020 */ swc1 $f0, 0x20($sp) -/* 077128 800DDC78 C4C00000 */ lwc1 $f0, ($a2) -/* 07712C 800DDC7C 00E0802D */ daddu $s0, $a3, $zero -/* 077130 800DDC80 46020000 */ add.s $f0, $f0, $f2 -/* 077134 800DDC84 3C013F00 */ lui $at, 0x3f00 -/* 077138 800DDC88 44811000 */ mtc1 $at, $f2 -/* 07713C 800DDC8C 27A50020 */ addiu $a1, $sp, 0x20 -/* 077140 800DDC90 46023182 */ mul.s $f6, $f6, $f2 -/* 077144 800DDC94 00000000 */ nop -/* 077148 800DDC98 27A70028 */ addiu $a3, $sp, 0x28 -/* 07714C 800DDC9C 27A60024 */ addiu $a2, $sp, 0x24 -/* 077150 800DDCA0 E7A00024 */ swc1 $f0, 0x24($sp) -/* 077154 800DDCA4 C6000000 */ lwc1 $f0, ($s0) -/* 077158 800DDCA8 46002105 */ abs.s $f4, $f4 -/* 07715C 800DDCAC E7A00028 */ swc1 $f0, 0x28($sp) -/* 077160 800DDCB0 E7A40010 */ swc1 $f4, 0x10($sp) -/* 077164 800DDCB4 E7A80014 */ swc1 $f8, 0x14($sp) -/* 077168 800DDCB8 0C037586 */ jal func_800DD618 -/* 07716C 800DDCBC E7A60018 */ swc1 $f6, 0x18($sp) -/* 077170 800DDCC0 C7A00020 */ lwc1 $f0, 0x20($sp) -/* 077174 800DDCC4 E6200000 */ swc1 $f0, ($s1) -/* 077178 800DDCC8 C7A00028 */ lwc1 $f0, 0x28($sp) -/* 07717C 800DDCCC 00021027 */ nor $v0, $zero, $v0 -/* 077180 800DDCD0 E6000000 */ swc1 $f0, ($s0) -/* 077184 800DDCD4 8FBF0038 */ lw $ra, 0x38($sp) -/* 077188 800DDCD8 8FB10034 */ lw $s1, 0x34($sp) -/* 07718C 800DDCDC 8FB00030 */ lw $s0, 0x30($sp) -/* 077190 800DDCE0 000217C2 */ srl $v0, $v0, 0x1f -/* 077194 800DDCE4 03E00008 */ jr $ra -/* 077198 800DDCE8 27BD0040 */ addiu $sp, $sp, 0x40 - -/* 07719C 800DDCEC 27BDFFC0 */ addiu $sp, $sp, -0x40 -/* 0771A0 800DDCF0 AFB10034 */ sw $s1, 0x34($sp) -/* 0771A4 800DDCF4 00A0882D */ daddu $s1, $a1, $zero -/* 0771A8 800DDCF8 AFBF0038 */ sw $ra, 0x38($sp) -/* 0771AC 800DDCFC AFB00030 */ sw $s0, 0x30($sp) -/* 0771B0 800DDD00 C6200000 */ lwc1 $f0, ($s1) -/* 0771B4 800DDD04 C7A40050 */ lwc1 $f4, 0x50($sp) -/* 0771B8 800DDD08 C7A80054 */ lwc1 $f8, 0x54($sp) -/* 0771BC 800DDD0C C7A6005C */ lwc1 $f6, 0x5c($sp) -/* 0771C0 800DDD10 3C014120 */ lui $at, 0x4120 -/* 0771C4 800DDD14 342128F6 */ ori $at, $at, 0x28f6 -/* 0771C8 800DDD18 44811000 */ mtc1 $at, $f2 -/* 0771CC 800DDD1C E7A00020 */ swc1 $f0, 0x20($sp) -/* 0771D0 800DDD20 C4C00000 */ lwc1 $f0, ($a2) -/* 0771D4 800DDD24 00E0802D */ daddu $s0, $a3, $zero -/* 0771D8 800DDD28 46020000 */ add.s $f0, $f0, $f2 -/* 0771DC 800DDD2C 3C013F00 */ lui $at, 0x3f00 -/* 0771E0 800DDD30 44811000 */ mtc1 $at, $f2 -/* 0771E4 800DDD34 27A50020 */ addiu $a1, $sp, 0x20 -/* 0771E8 800DDD38 46023182 */ mul.s $f6, $f6, $f2 -/* 0771EC 800DDD3C 00000000 */ nop -/* 0771F0 800DDD40 27A70028 */ addiu $a3, $sp, 0x28 -/* 0771F4 800DDD44 27A60024 */ addiu $a2, $sp, 0x24 -/* 0771F8 800DDD48 E7A00024 */ swc1 $f0, 0x24($sp) -/* 0771FC 800DDD4C C6000000 */ lwc1 $f0, ($s0) -/* 077200 800DDD50 46002105 */ abs.s $f4, $f4 -/* 077204 800DDD54 E7A00028 */ swc1 $f0, 0x28($sp) -/* 077208 800DDD58 E7A40010 */ swc1 $f4, 0x10($sp) -/* 07720C 800DDD5C E7A80014 */ swc1 $f8, 0x14($sp) -/* 077210 800DDD60 0C03763F */ jal func_800DD8FC -/* 077214 800DDD64 E7A60018 */ swc1 $f6, 0x18($sp) -/* 077218 800DDD68 C7A00020 */ lwc1 $f0, 0x20($sp) -/* 07721C 800DDD6C E6200000 */ swc1 $f0, ($s1) -/* 077220 800DDD70 C7A00028 */ lwc1 $f0, 0x28($sp) -/* 077224 800DDD74 00021027 */ nor $v0, $zero, $v0 -/* 077228 800DDD78 E6000000 */ swc1 $f0, ($s0) -/* 07722C 800DDD7C 8FBF0038 */ lw $ra, 0x38($sp) -/* 077230 800DDD80 8FB10034 */ lw $s1, 0x34($sp) -/* 077234 800DDD84 8FB00030 */ lw $s0, 0x30($sp) -/* 077238 800DDD88 000217C2 */ srl $v0, $v0, 0x1f -/* 07723C 800DDD8C 03E00008 */ jr $ra -/* 077240 800DDD90 27BD0040 */ addiu $sp, $sp, 0x40 - -func_800DDD94: -/* 077244 800DDD94 27BDFF90 */ addiu $sp, $sp, -0x70 -/* 077248 800DDD98 F7B40058 */ sdc1 $f20, 0x58($sp) -/* 07724C 800DDD9C C7B4008C */ lwc1 $f20, 0x8c($sp) -/* 077250 800DDDA0 C7A40080 */ lwc1 $f4, 0x80($sp) -/* 077254 800DDDA4 AFB7004C */ sw $s7, 0x4c($sp) -/* 077258 800DDDA8 0080B82D */ daddu $s7, $a0, $zero -/* 07725C 800DDDAC AFB10034 */ sw $s1, 0x34($sp) -/* 077260 800DDDB0 00A0882D */ daddu $s1, $a1, $zero -/* 077264 800DDDB4 AFB60048 */ sw $s6, 0x48($sp) -/* 077268 800DDDB8 00C0B02D */ daddu $s6, $a2, $zero -/* 07726C 800DDDBC AFB20038 */ sw $s2, 0x38($sp) -/* 077270 800DDDC0 00E0902D */ daddu $s2, $a3, $zero -/* 077274 800DDDC4 AFB40040 */ sw $s4, 0x40($sp) -/* 077278 800DDDC8 0000A02D */ daddu $s4, $zero, $zero -/* 07727C 800DDDCC F7B80068 */ sdc1 $f24, 0x68($sp) -/* 077280 800DDDD0 C7B80084 */ lwc1 $f24, 0x84($sp) -/* 077284 800DDDD4 C7A20088 */ lwc1 $f2, 0x88($sp) -/* 077288 800DDDD8 AFBF0050 */ sw $ra, 0x50($sp) -/* 07728C 800DDDDC AFB50044 */ sw $s5, 0x44($sp) -/* 077290 800DDDE0 AFB3003C */ sw $s3, 0x3c($sp) -/* 077294 800DDDE4 AFB00030 */ sw $s0, 0x30($sp) -/* 077298 800DDDE8 F7B60060 */ sdc1 $f22, 0x60($sp) -/* 07729C 800DDDEC C6200000 */ lwc1 $f0, ($s1) -/* 0772A0 800DDDF0 27B50020 */ addiu $s5, $sp, 0x20 -/* 0772A4 800DDDF4 E7A00020 */ swc1 $f0, 0x20($sp) -/* 0772A8 800DDDF8 C6C00000 */ lwc1 $f0, ($s6) -/* 0772AC 800DDDFC 02A0282D */ daddu $a1, $s5, $zero -/* 0772B0 800DDE00 46020000 */ add.s $f0, $f0, $f2 -/* 0772B4 800DDE04 3C013F80 */ lui $at, 0x3f80 -/* 0772B8 800DDE08 44811000 */ mtc1 $at, $f2 -/* 0772BC 800DDE0C 27B30024 */ addiu $s3, $sp, 0x24 -/* 0772C0 800DDE10 46020001 */ sub.s $f0, $f0, $f2 -/* 0772C4 800DDE14 3C013F00 */ lui $at, 0x3f00 -/* 0772C8 800DDE18 44811000 */ mtc1 $at, $f2 -/* 0772CC 800DDE1C 0260302D */ daddu $a2, $s3, $zero -/* 0772D0 800DDE20 4602A502 */ mul.s $f20, $f20, $f2 -/* 0772D4 800DDE24 00000000 */ nop -/* 0772D8 800DDE28 27B00028 */ addiu $s0, $sp, 0x28 -/* 0772DC 800DDE2C 0200382D */ daddu $a3, $s0, $zero -/* 0772E0 800DDE30 E7A00024 */ swc1 $f0, 0x24($sp) -/* 0772E4 800DDE34 C6400000 */ lwc1 $f0, ($s2) -/* 0772E8 800DDE38 46002585 */ abs.s $f22, $f4 -/* 0772EC 800DDE3C E7A00028 */ swc1 $f0, 0x28($sp) -/* 0772F0 800DDE40 E7B60010 */ swc1 $f22, 0x10($sp) -/* 0772F4 800DDE44 E7B80014 */ swc1 $f24, 0x14($sp) -/* 0772F8 800DDE48 0C037586 */ jal func_800DD618 -/* 0772FC 800DDE4C E7B40018 */ swc1 $f20, 0x18($sp) -/* 077300 800DDE50 04400006 */ bltz $v0, .L800DDE6C -/* 077304 800DDE54 00000000 */ nop -/* 077308 800DDE58 C7A00020 */ lwc1 $f0, 0x20($sp) -/* 07730C 800DDE5C E6200000 */ swc1 $f0, ($s1) -/* 077310 800DDE60 C7A00028 */ lwc1 $f0, 0x28($sp) -/* 077314 800DDE64 24140004 */ addiu $s4, $zero, 4 -/* 077318 800DDE68 E6400000 */ swc1 $f0, ($s2) -.L800DDE6C: -/* 07731C 800DDE6C C6200000 */ lwc1 $f0, ($s1) -/* 077320 800DDE70 3C0141A0 */ lui $at, 0x41a0 -/* 077324 800DDE74 44811000 */ mtc1 $at, $f2 -/* 077328 800DDE78 E7A00020 */ swc1 $f0, 0x20($sp) -/* 07732C 800DDE7C C6C00000 */ lwc1 $f0, ($s6) -/* 077330 800DDE80 02E0202D */ daddu $a0, $s7, $zero -/* 077334 800DDE84 46020000 */ add.s $f0, $f0, $f2 -/* 077338 800DDE88 02A0282D */ daddu $a1, $s5, $zero -/* 07733C 800DDE8C 0260302D */ daddu $a2, $s3, $zero -/* 077340 800DDE90 E7A00024 */ swc1 $f0, 0x24($sp) -/* 077344 800DDE94 C6400000 */ lwc1 $f0, ($s2) -/* 077348 800DDE98 0200382D */ daddu $a3, $s0, $zero -/* 07734C 800DDE9C E7A00028 */ swc1 $f0, 0x28($sp) -/* 077350 800DDEA0 E7B60010 */ swc1 $f22, 0x10($sp) -/* 077354 800DDEA4 E7B80014 */ swc1 $f24, 0x14($sp) -/* 077358 800DDEA8 0C037586 */ jal func_800DD618 -/* 07735C 800DDEAC E7B40018 */ swc1 $f20, 0x18($sp) -/* 077360 800DDEB0 04400006 */ bltz $v0, .L800DDECC -/* 077364 800DDEB4 00000000 */ nop -/* 077368 800DDEB8 C7A00020 */ lwc1 $f0, 0x20($sp) -/* 07736C 800DDEBC E6200000 */ swc1 $f0, ($s1) -/* 077370 800DDEC0 C7A00028 */ lwc1 $f0, 0x28($sp) -/* 077374 800DDEC4 24140003 */ addiu $s4, $zero, 3 -/* 077378 800DDEC8 E6400000 */ swc1 $f0, ($s2) -.L800DDECC: -/* 07737C 800DDECC C6200000 */ lwc1 $f0, ($s1) -/* 077380 800DDED0 3C014170 */ lui $at, 0x4170 -/* 077384 800DDED4 342128F6 */ ori $at, $at, 0x28f6 -/* 077388 800DDED8 44811000 */ mtc1 $at, $f2 -/* 07738C 800DDEDC E7A00020 */ swc1 $f0, 0x20($sp) -/* 077390 800DDEE0 C6C00000 */ lwc1 $f0, ($s6) -/* 077394 800DDEE4 02E0202D */ daddu $a0, $s7, $zero -/* 077398 800DDEE8 46020000 */ add.s $f0, $f0, $f2 -/* 07739C 800DDEEC 02A0282D */ daddu $a1, $s5, $zero -/* 0773A0 800DDEF0 0260302D */ daddu $a2, $s3, $zero -/* 0773A4 800DDEF4 E7A00024 */ swc1 $f0, 0x24($sp) -/* 0773A8 800DDEF8 C6400000 */ lwc1 $f0, ($s2) -/* 0773AC 800DDEFC 0200382D */ daddu $a3, $s0, $zero -/* 0773B0 800DDF00 E7A00028 */ swc1 $f0, 0x28($sp) -/* 0773B4 800DDF04 E7B60010 */ swc1 $f22, 0x10($sp) -/* 0773B8 800DDF08 E7B80014 */ swc1 $f24, 0x14($sp) -/* 0773BC 800DDF0C 0C037586 */ jal func_800DD618 -/* 0773C0 800DDF10 E7B40018 */ swc1 $f20, 0x18($sp) -/* 0773C4 800DDF14 04400006 */ bltz $v0, .L800DDF30 -/* 0773C8 800DDF18 00000000 */ nop -/* 0773CC 800DDF1C C7A00020 */ lwc1 $f0, 0x20($sp) -/* 0773D0 800DDF20 E6200000 */ swc1 $f0, ($s1) -/* 0773D4 800DDF24 C7A00028 */ lwc1 $f0, 0x28($sp) -/* 0773D8 800DDF28 24140002 */ addiu $s4, $zero, 2 -/* 0773DC 800DDF2C E6400000 */ swc1 $f0, ($s2) -.L800DDF30: -/* 0773E0 800DDF30 C6200000 */ lwc1 $f0, ($s1) -/* 0773E4 800DDF34 3C014120 */ lui $at, 0x4120 -/* 0773E8 800DDF38 342128F6 */ ori $at, $at, 0x28f6 -/* 0773EC 800DDF3C 44811000 */ mtc1 $at, $f2 -/* 0773F0 800DDF40 E7A00020 */ swc1 $f0, 0x20($sp) -/* 0773F4 800DDF44 C6C00000 */ lwc1 $f0, ($s6) -/* 0773F8 800DDF48 02E0202D */ daddu $a0, $s7, $zero -/* 0773FC 800DDF4C 46020000 */ add.s $f0, $f0, $f2 -/* 077400 800DDF50 02A0282D */ daddu $a1, $s5, $zero -/* 077404 800DDF54 0260302D */ daddu $a2, $s3, $zero -/* 077408 800DDF58 E7A00024 */ swc1 $f0, 0x24($sp) -/* 07740C 800DDF5C C6400000 */ lwc1 $f0, ($s2) -/* 077410 800DDF60 0200382D */ daddu $a3, $s0, $zero -/* 077414 800DDF64 E7A00028 */ swc1 $f0, 0x28($sp) -/* 077418 800DDF68 E7B60010 */ swc1 $f22, 0x10($sp) -/* 07741C 800DDF6C E7B80014 */ swc1 $f24, 0x14($sp) -/* 077420 800DDF70 0C037586 */ jal func_800DD618 -/* 077424 800DDF74 E7B40018 */ swc1 $f20, 0x18($sp) -/* 077428 800DDF78 C7A00020 */ lwc1 $f0, 0x20($sp) -/* 07742C 800DDF7C E6200000 */ swc1 $f0, ($s1) -/* 077430 800DDF80 C7A00028 */ lwc1 $f0, 0x28($sp) -/* 077434 800DDF84 04400002 */ bltz $v0, .L800DDF90 -/* 077438 800DDF88 E6400000 */ swc1 $f0, ($s2) -/* 07743C 800DDF8C 24140001 */ addiu $s4, $zero, 1 -.L800DDF90: -/* 077440 800DDF90 0280102D */ daddu $v0, $s4, $zero -/* 077444 800DDF94 8FBF0050 */ lw $ra, 0x50($sp) -/* 077448 800DDF98 8FB7004C */ lw $s7, 0x4c($sp) -/* 07744C 800DDF9C 8FB60048 */ lw $s6, 0x48($sp) -/* 077450 800DDFA0 8FB50044 */ lw $s5, 0x44($sp) -/* 077454 800DDFA4 8FB40040 */ lw $s4, 0x40($sp) -/* 077458 800DDFA8 8FB3003C */ lw $s3, 0x3c($sp) -/* 07745C 800DDFAC 8FB20038 */ lw $s2, 0x38($sp) -/* 077460 800DDFB0 8FB10034 */ lw $s1, 0x34($sp) -/* 077464 800DDFB4 8FB00030 */ lw $s0, 0x30($sp) -/* 077468 800DDFB8 D7B80068 */ ldc1 $f24, 0x68($sp) -/* 07746C 800DDFBC D7B60060 */ ldc1 $f22, 0x60($sp) -/* 077470 800DDFC0 D7B40058 */ ldc1 $f20, 0x58($sp) -/* 077474 800DDFC4 03E00008 */ jr $ra -/* 077478 800DDFC8 27BD0070 */ addiu $sp, $sp, 0x70 - -/* 07747C 800DDFCC 00000000 */ nop -test_below_player: -/* 077480 800DDFD0 27BDFF80 */ addiu $sp, $sp, -0x80 -/* 077484 800DDFD4 AFB40038 */ sw $s4, 0x38($sp) -/* 077488 800DDFD8 8FB40090 */ lw $s4, 0x90($sp) -/* 07748C 800DDFDC AFB1002C */ sw $s1, 0x2c($sp) -/* 077490 800DDFE0 8FB10094 */ lw $s1, 0x94($sp) -/* 077494 800DDFE4 AFB5003C */ sw $s5, 0x3c($sp) -/* 077498 800DDFE8 8FB50098 */ lw $s5, 0x98($sp) -/* 07749C 800DDFEC AFB60040 */ sw $s6, 0x40($sp) -/* 0774A0 800DDFF0 8FB6009C */ lw $s6, 0x9c($sp) -/* 0774A4 800DDFF4 AFB20030 */ sw $s2, 0x30($sp) -/* 0774A8 800DDFF8 00C0902D */ daddu $s2, $a2, $zero -/* 0774AC 800DDFFC AFB30034 */ sw $s3, 0x34($sp) -/* 0774B0 800DE000 00E0982D */ daddu $s3, $a3, $zero -/* 0774B4 800DE004 AFB70044 */ sw $s7, 0x44($sp) -/* 0774B8 800DE008 8FB700A0 */ lw $s7, 0xa0($sp) -/* 0774BC 800DE00C 3C0140C9 */ lui $at, 0x40c9 -/* 0774C0 800DE010 34210FD0 */ ori $at, $at, 0xfd0 -/* 0774C4 800DE014 44810000 */ mtc1 $at, $f0 -/* 0774C8 800DE018 27A50010 */ addiu $a1, $sp, 0x10 -/* 0774CC 800DE01C AFBE0048 */ sw $fp, 0x48($sp) -/* 0774D0 800DE020 8FBE00A4 */ lw $fp, 0xa4($sp) -/* 0774D4 800DE024 46006082 */ mul.s $f2, $f12, $f0 -/* 0774D8 800DE028 00000000 */ nop -/* 0774DC 800DE02C 3C0143B4 */ lui $at, 0x43b4 -/* 0774E0 800DE030 44816000 */ mtc1 $at, $f12 -/* 0774E4 800DE034 3C013E8F */ lui $at, 0x3e8f -/* 0774E8 800DE038 34215C29 */ ori $at, $at, 0x5c29 -/* 0774EC 800DE03C 44810000 */ mtc1 $at, $f0 -/* 0774F0 800DE040 27A60014 */ addiu $a2, $sp, 0x14 -/* 0774F4 800DE044 AFBF004C */ sw $ra, 0x4c($sp) -/* 0774F8 800DE048 AFB00028 */ sw $s0, 0x28($sp) -/* 0774FC 800DE04C F7BE0078 */ sdc1 $f30, 0x78($sp) -/* 077500 800DE050 F7BC0070 */ sdc1 $f28, 0x70($sp) -/* 077504 800DE054 F7BA0068 */ sdc1 $f26, 0x68($sp) -/* 077508 800DE058 F7B80060 */ sdc1 $f24, 0x60($sp) -/* 07750C 800DE05C F7B60058 */ sdc1 $f22, 0x58($sp) -/* 077510 800DE060 F7B40050 */ sdc1 $f20, 0x50($sp) -/* 077514 800DE064 AEA00000 */ sw $zero, ($s5) -/* 077518 800DE068 AEC00000 */ sw $zero, ($s6) -/* 07751C 800DE06C AEE00000 */ sw $zero, ($s7) -/* 077520 800DE070 AFC00000 */ sw $zero, ($fp) -/* 077524 800DE074 C63E0000 */ lwc1 $f30, ($s1) -/* 077528 800DE078 46007502 */ mul.s $f20, $f14, $f0 -/* 07752C 800DE07C 00000000 */ nop -/* 077530 800DE080 0C00A82D */ jal sin_cos_rad -/* 077534 800DE084 460C1303 */ div.s $f12, $f2, $f12 -/* 077538 800DE088 C7A00010 */ lwc1 $f0, 0x10($sp) -/* 07753C 800DE08C 4600A582 */ mul.s $f22, $f20, $f0 -/* 077540 800DE090 00000000 */ nop -/* 077544 800DE094 2410FFFF */ addiu $s0, $zero, -1 -/* 077548 800DE098 27A40018 */ addiu $a0, $sp, 0x18 -/* 07754C 800DE09C 27A5001C */ addiu $a1, $sp, 0x1c -/* 077550 800DE0A0 C7A00014 */ lwc1 $f0, 0x14($sp) -/* 077554 800DE0A4 4600A507 */ neg.s $f20, $f20 -/* 077558 800DE0A8 4600A502 */ mul.s $f20, $f20, $f0 -/* 07755C 800DE0AC 00000000 */ nop -/* 077560 800DE0B0 27A60020 */ addiu $a2, $sp, 0x20 -/* 077564 800DE0B4 C65C0000 */ lwc1 $f28, ($s2) -/* 077568 800DE0B8 C6780000 */ lwc1 $f24, ($s3) -/* 07756C 800DE0BC C69A0000 */ lwc1 $f26, ($s4) -/* 077570 800DE0C0 4616E080 */ add.s $f2, $f28, $f22 -/* 077574 800DE0C4 27A70024 */ addiu $a3, $sp, 0x24 -/* 077578 800DE0C8 E7BE0024 */ swc1 $f30, 0x24($sp) -/* 07757C 800DE0CC 4614D000 */ add.s $f0, $f26, $f20 -/* 077580 800DE0D0 E7B8001C */ swc1 $f24, 0x1c($sp) -/* 077584 800DE0D4 E7A20018 */ swc1 $f2, 0x18($sp) -/* 077588 800DE0D8 0C037953 */ jal trace_below_player -/* 07758C 800DE0DC E7A00020 */ swc1 $f0, 0x20($sp) -/* 077590 800DE0E0 0040202D */ daddu $a0, $v0, $zero -/* 077594 800DE0E4 0482001E */ bltzl $a0, .L800DE160 -/* 077598 800DE0E8 27A40018 */ addiu $a0, $sp, 0x18 -/* 07759C 800DE0EC C6200000 */ lwc1 $f0, ($s1) -/* 0775A0 800DE0F0 C7A20024 */ lwc1 $f2, 0x24($sp) -/* 0775A4 800DE0F4 46000005 */ abs.s $f0, $f0 -/* 0775A8 800DE0F8 4600103E */ c.le.s $f2, $f0 -/* 0775AC 800DE0FC 00000000 */ nop -/* 0775B0 800DE100 45020017 */ bc1fl .L800DE160 -/* 0775B4 800DE104 27A40018 */ addiu $a0, $sp, 0x18 -/* 0775B8 800DE108 3C038007 */ lui $v1, 0x8007 -/* 0775BC 800DE10C 2463419C */ addiu $v1, $v1, 0x419c -/* 0775C0 800DE110 8C620000 */ lw $v0, ($v1) -/* 0775C4 800DE114 C440011C */ lwc1 $f0, 0x11c($v0) -/* 0775C8 800DE118 46000007 */ neg.s $f0, $f0 -/* 0775CC 800DE11C E6A00000 */ swc1 $f0, ($s5) -/* 0775D0 800DE120 8C620000 */ lw $v0, ($v1) -/* 0775D4 800DE124 C4400124 */ lwc1 $f0, 0x124($v0) -/* 0775D8 800DE128 46000007 */ neg.s $f0, $f0 -/* 0775DC 800DE12C E6C00000 */ swc1 $f0, ($s6) -/* 0775E0 800DE130 C7A00018 */ lwc1 $f0, 0x18($sp) -/* 0775E4 800DE134 E6400000 */ swc1 $f0, ($s2) -/* 0775E8 800DE138 C7A0001C */ lwc1 $f0, 0x1c($sp) -/* 0775EC 800DE13C E6600000 */ swc1 $f0, ($s3) -/* 0775F0 800DE140 C7A00020 */ lwc1 $f0, 0x20($sp) -/* 0775F4 800DE144 E6800000 */ swc1 $f0, ($s4) -/* 0775F8 800DE148 C7A00024 */ lwc1 $f0, 0x24($sp) -/* 0775FC 800DE14C 0080802D */ daddu $s0, $a0, $zero -/* 077600 800DE150 E6200000 */ swc1 $f0, ($s1) -/* 077604 800DE154 E6F60000 */ swc1 $f22, ($s7) -/* 077608 800DE158 E7D40000 */ swc1 $f20, ($fp) -/* 07760C 800DE15C 27A40018 */ addiu $a0, $sp, 0x18 -.L800DE160: -/* 077610 800DE160 27A5001C */ addiu $a1, $sp, 0x1c -/* 077614 800DE164 4616E081 */ sub.s $f2, $f28, $f22 -/* 077618 800DE168 27A60020 */ addiu $a2, $sp, 0x20 -/* 07761C 800DE16C 27A70024 */ addiu $a3, $sp, 0x24 -/* 077620 800DE170 4614D001 */ sub.s $f0, $f26, $f20 -/* 077624 800DE174 E7B8001C */ swc1 $f24, 0x1c($sp) -/* 077628 800DE178 E7BE0024 */ swc1 $f30, 0x24($sp) -/* 07762C 800DE17C E7A20018 */ swc1 $f2, 0x18($sp) -/* 077630 800DE180 0C037953 */ jal trace_below_player -/* 077634 800DE184 E7A00020 */ swc1 $f0, 0x20($sp) -/* 077638 800DE188 0040202D */ daddu $a0, $v0, $zero -/* 07763C 800DE18C 04820020 */ bltzl $a0, .L800DE210 -/* 077640 800DE190 27A40018 */ addiu $a0, $sp, 0x18 -/* 077644 800DE194 C6200000 */ lwc1 $f0, ($s1) -/* 077648 800DE198 C7A20024 */ lwc1 $f2, 0x24($sp) -/* 07764C 800DE19C 46000005 */ abs.s $f0, $f0 -/* 077650 800DE1A0 4600103E */ c.le.s $f2, $f0 -/* 077654 800DE1A4 00000000 */ nop -/* 077658 800DE1A8 45020019 */ bc1fl .L800DE210 -/* 07765C 800DE1AC 27A40018 */ addiu $a0, $sp, 0x18 -/* 077660 800DE1B0 3C038007 */ lui $v1, 0x8007 -/* 077664 800DE1B4 2463419C */ addiu $v1, $v1, 0x419c -/* 077668 800DE1B8 8C620000 */ lw $v0, ($v1) -/* 07766C 800DE1BC C440011C */ lwc1 $f0, 0x11c($v0) -/* 077670 800DE1C0 46000007 */ neg.s $f0, $f0 -/* 077674 800DE1C4 E6A00000 */ swc1 $f0, ($s5) -/* 077678 800DE1C8 8C620000 */ lw $v0, ($v1) -/* 07767C 800DE1CC C4400124 */ lwc1 $f0, 0x124($v0) -/* 077680 800DE1D0 46000007 */ neg.s $f0, $f0 -/* 077684 800DE1D4 E6C00000 */ swc1 $f0, ($s6) -/* 077688 800DE1D8 C7A00018 */ lwc1 $f0, 0x18($sp) -/* 07768C 800DE1DC E6400000 */ swc1 $f0, ($s2) -/* 077690 800DE1E0 C7A0001C */ lwc1 $f0, 0x1c($sp) -/* 077694 800DE1E4 E6600000 */ swc1 $f0, ($s3) -/* 077698 800DE1E8 C7A00020 */ lwc1 $f0, 0x20($sp) -/* 07769C 800DE1EC E6800000 */ swc1 $f0, ($s4) -/* 0776A0 800DE1F0 C7A00024 */ lwc1 $f0, 0x24($sp) -/* 0776A4 800DE1F4 0080802D */ daddu $s0, $a0, $zero -/* 0776A8 800DE1F8 E6200000 */ swc1 $f0, ($s1) -/* 0776AC 800DE1FC 4600B007 */ neg.s $f0, $f22 -/* 0776B0 800DE200 E6E00000 */ swc1 $f0, ($s7) -/* 0776B4 800DE204 4600A007 */ neg.s $f0, $f20 -/* 0776B8 800DE208 E7C00000 */ swc1 $f0, ($fp) -/* 0776BC 800DE20C 27A40018 */ addiu $a0, $sp, 0x18 -.L800DE210: -/* 0776C0 800DE210 27A5001C */ addiu $a1, $sp, 0x1c -/* 0776C4 800DE214 4614E080 */ add.s $f2, $f28, $f20 -/* 0776C8 800DE218 27A60020 */ addiu $a2, $sp, 0x20 -/* 0776CC 800DE21C 27A70024 */ addiu $a3, $sp, 0x24 -/* 0776D0 800DE220 4616D000 */ add.s $f0, $f26, $f22 -/* 0776D4 800DE224 E7B8001C */ swc1 $f24, 0x1c($sp) -/* 0776D8 800DE228 E7BE0024 */ swc1 $f30, 0x24($sp) -/* 0776DC 800DE22C E7A20018 */ swc1 $f2, 0x18($sp) -/* 0776E0 800DE230 0C037953 */ jal trace_below_player -/* 0776E4 800DE234 E7A00020 */ swc1 $f0, 0x20($sp) -/* 0776E8 800DE238 0040202D */ daddu $a0, $v0, $zero -/* 0776EC 800DE23C 0482001E */ bltzl $a0, .L800DE2B8 -/* 0776F0 800DE240 27A40018 */ addiu $a0, $sp, 0x18 -/* 0776F4 800DE244 C6200000 */ lwc1 $f0, ($s1) -/* 0776F8 800DE248 C7A20024 */ lwc1 $f2, 0x24($sp) -/* 0776FC 800DE24C 46000005 */ abs.s $f0, $f0 -/* 077700 800DE250 4600103E */ c.le.s $f2, $f0 -/* 077704 800DE254 00000000 */ nop -/* 077708 800DE258 45020017 */ bc1fl .L800DE2B8 -/* 07770C 800DE25C 27A40018 */ addiu $a0, $sp, 0x18 -/* 077710 800DE260 3C038007 */ lui $v1, 0x8007 -/* 077714 800DE264 2463419C */ addiu $v1, $v1, 0x419c -/* 077718 800DE268 8C620000 */ lw $v0, ($v1) -/* 07771C 800DE26C C440011C */ lwc1 $f0, 0x11c($v0) -/* 077720 800DE270 46000007 */ neg.s $f0, $f0 -/* 077724 800DE274 E6A00000 */ swc1 $f0, ($s5) -/* 077728 800DE278 8C620000 */ lw $v0, ($v1) -/* 07772C 800DE27C C4400124 */ lwc1 $f0, 0x124($v0) -/* 077730 800DE280 46000007 */ neg.s $f0, $f0 -/* 077734 800DE284 E6C00000 */ swc1 $f0, ($s6) -/* 077738 800DE288 C7A00018 */ lwc1 $f0, 0x18($sp) -/* 07773C 800DE28C E6400000 */ swc1 $f0, ($s2) -/* 077740 800DE290 C7A0001C */ lwc1 $f0, 0x1c($sp) -/* 077744 800DE294 E6600000 */ swc1 $f0, ($s3) -/* 077748 800DE298 C7A00020 */ lwc1 $f0, 0x20($sp) -/* 07774C 800DE29C E6800000 */ swc1 $f0, ($s4) -/* 077750 800DE2A0 C7A00024 */ lwc1 $f0, 0x24($sp) -/* 077754 800DE2A4 0080802D */ daddu $s0, $a0, $zero -/* 077758 800DE2A8 E6200000 */ swc1 $f0, ($s1) -/* 07775C 800DE2AC E6F60000 */ swc1 $f22, ($s7) -/* 077760 800DE2B0 E7D40000 */ swc1 $f20, ($fp) -/* 077764 800DE2B4 27A40018 */ addiu $a0, $sp, 0x18 -.L800DE2B8: -/* 077768 800DE2B8 27A5001C */ addiu $a1, $sp, 0x1c -/* 07776C 800DE2BC 4614E081 */ sub.s $f2, $f28, $f20 -/* 077770 800DE2C0 27A60020 */ addiu $a2, $sp, 0x20 -/* 077774 800DE2C4 27A70024 */ addiu $a3, $sp, 0x24 -/* 077778 800DE2C8 4616D001 */ sub.s $f0, $f26, $f22 -/* 07777C 800DE2CC E7B8001C */ swc1 $f24, 0x1c($sp) -/* 077780 800DE2D0 E7BE0024 */ swc1 $f30, 0x24($sp) -/* 077784 800DE2D4 E7A20018 */ swc1 $f2, 0x18($sp) -/* 077788 800DE2D8 0C037953 */ jal trace_below_player -/* 07778C 800DE2DC E7A00020 */ swc1 $f0, 0x20($sp) -/* 077790 800DE2E0 0040202D */ daddu $a0, $v0, $zero -/* 077794 800DE2E4 04820020 */ bltzl $a0, .L800DE368 -/* 077798 800DE2E8 27A40018 */ addiu $a0, $sp, 0x18 -/* 07779C 800DE2EC C6200000 */ lwc1 $f0, ($s1) -/* 0777A0 800DE2F0 C7A20024 */ lwc1 $f2, 0x24($sp) -/* 0777A4 800DE2F4 46000005 */ abs.s $f0, $f0 -/* 0777A8 800DE2F8 4600103E */ c.le.s $f2, $f0 -/* 0777AC 800DE2FC 00000000 */ nop -/* 0777B0 800DE300 45020019 */ bc1fl .L800DE368 -/* 0777B4 800DE304 27A40018 */ addiu $a0, $sp, 0x18 -/* 0777B8 800DE308 3C038007 */ lui $v1, 0x8007 -/* 0777BC 800DE30C 2463419C */ addiu $v1, $v1, 0x419c -/* 0777C0 800DE310 8C620000 */ lw $v0, ($v1) -/* 0777C4 800DE314 C440011C */ lwc1 $f0, 0x11c($v0) -/* 0777C8 800DE318 46000007 */ neg.s $f0, $f0 -/* 0777CC 800DE31C E6A00000 */ swc1 $f0, ($s5) -/* 0777D0 800DE320 8C620000 */ lw $v0, ($v1) -/* 0777D4 800DE324 C4400124 */ lwc1 $f0, 0x124($v0) -/* 0777D8 800DE328 46000007 */ neg.s $f0, $f0 -/* 0777DC 800DE32C E6C00000 */ swc1 $f0, ($s6) -/* 0777E0 800DE330 C7A00018 */ lwc1 $f0, 0x18($sp) -/* 0777E4 800DE334 E6400000 */ swc1 $f0, ($s2) -/* 0777E8 800DE338 C7A0001C */ lwc1 $f0, 0x1c($sp) -/* 0777EC 800DE33C E6600000 */ swc1 $f0, ($s3) -/* 0777F0 800DE340 C7A00020 */ lwc1 $f0, 0x20($sp) -/* 0777F4 800DE344 E6800000 */ swc1 $f0, ($s4) -/* 0777F8 800DE348 C7A00024 */ lwc1 $f0, 0x24($sp) -/* 0777FC 800DE34C 0080802D */ daddu $s0, $a0, $zero -/* 077800 800DE350 E6200000 */ swc1 $f0, ($s1) -/* 077804 800DE354 4600B007 */ neg.s $f0, $f22 -/* 077808 800DE358 E6E00000 */ swc1 $f0, ($s7) -/* 07780C 800DE35C 4600A007 */ neg.s $f0, $f20 -/* 077810 800DE360 E7C00000 */ swc1 $f0, ($fp) -/* 077814 800DE364 27A40018 */ addiu $a0, $sp, 0x18 -.L800DE368: -/* 077818 800DE368 27A5001C */ addiu $a1, $sp, 0x1c -/* 07781C 800DE36C 27A60020 */ addiu $a2, $sp, 0x20 -/* 077820 800DE370 27A70024 */ addiu $a3, $sp, 0x24 -/* 077824 800DE374 E7BC0018 */ swc1 $f28, 0x18($sp) -/* 077828 800DE378 E7B8001C */ swc1 $f24, 0x1c($sp) -/* 07782C 800DE37C E7BA0020 */ swc1 $f26, 0x20($sp) -/* 077830 800DE380 0C037953 */ jal trace_below_player -/* 077834 800DE384 E7BE0024 */ swc1 $f30, 0x24($sp) -/* 077838 800DE388 0040202D */ daddu $a0, $v0, $zero -/* 07783C 800DE38C 0480001D */ bltz $a0, .L800DE404 -/* 077840 800DE390 00000000 */ nop -/* 077844 800DE394 C6200000 */ lwc1 $f0, ($s1) -/* 077848 800DE398 C7A20024 */ lwc1 $f2, 0x24($sp) -/* 07784C 800DE39C 46000005 */ abs.s $f0, $f0 -/* 077850 800DE3A0 4600103E */ c.le.s $f2, $f0 -/* 077854 800DE3A4 00000000 */ nop -/* 077858 800DE3A8 45000016 */ bc1f .L800DE404 -/* 07785C 800DE3AC 00000000 */ nop -/* 077860 800DE3B0 3C038007 */ lui $v1, 0x8007 -/* 077864 800DE3B4 2463419C */ addiu $v1, $v1, 0x419c -/* 077868 800DE3B8 8C620000 */ lw $v0, ($v1) -/* 07786C 800DE3BC C440011C */ lwc1 $f0, 0x11c($v0) -/* 077870 800DE3C0 46000007 */ neg.s $f0, $f0 -/* 077874 800DE3C4 E6A00000 */ swc1 $f0, ($s5) -/* 077878 800DE3C8 8C620000 */ lw $v0, ($v1) -/* 07787C 800DE3CC C4400124 */ lwc1 $f0, 0x124($v0) -/* 077880 800DE3D0 46000007 */ neg.s $f0, $f0 -/* 077884 800DE3D4 E6C00000 */ swc1 $f0, ($s6) -/* 077888 800DE3D8 C7A00018 */ lwc1 $f0, 0x18($sp) -/* 07788C 800DE3DC E6400000 */ swc1 $f0, ($s2) -/* 077890 800DE3E0 C7A0001C */ lwc1 $f0, 0x1c($sp) -/* 077894 800DE3E4 E6600000 */ swc1 $f0, ($s3) -/* 077898 800DE3E8 C7A00020 */ lwc1 $f0, 0x20($sp) -/* 07789C 800DE3EC E6800000 */ swc1 $f0, ($s4) -/* 0778A0 800DE3F0 C7A00024 */ lwc1 $f0, 0x24($sp) -/* 0778A4 800DE3F4 0080802D */ daddu $s0, $a0, $zero -/* 0778A8 800DE3F8 E6200000 */ swc1 $f0, ($s1) -/* 0778AC 800DE3FC AEE00000 */ sw $zero, ($s7) -/* 0778B0 800DE400 AFC00000 */ sw $zero, ($fp) -.L800DE404: -/* 0778B4 800DE404 06010007 */ bgez $s0, .L800DE424 -/* 0778B8 800DE408 0200102D */ daddu $v0, $s0, $zero -/* 0778BC 800DE40C C7A00018 */ lwc1 $f0, 0x18($sp) -/* 0778C0 800DE410 E6400000 */ swc1 $f0, ($s2) -/* 0778C4 800DE414 C7A0001C */ lwc1 $f0, 0x1c($sp) -/* 0778C8 800DE418 E6600000 */ swc1 $f0, ($s3) -/* 0778CC 800DE41C C7A00020 */ lwc1 $f0, 0x20($sp) -/* 0778D0 800DE420 E6800000 */ swc1 $f0, ($s4) -.L800DE424: -/* 0778D4 800DE424 8FBF004C */ lw $ra, 0x4c($sp) -/* 0778D8 800DE428 8FBE0048 */ lw $fp, 0x48($sp) -/* 0778DC 800DE42C 8FB70044 */ lw $s7, 0x44($sp) -/* 0778E0 800DE430 8FB60040 */ lw $s6, 0x40($sp) -/* 0778E4 800DE434 8FB5003C */ lw $s5, 0x3c($sp) -/* 0778E8 800DE438 8FB40038 */ lw $s4, 0x38($sp) -/* 0778EC 800DE43C 8FB30034 */ lw $s3, 0x34($sp) -/* 0778F0 800DE440 8FB20030 */ lw $s2, 0x30($sp) -/* 0778F4 800DE444 8FB1002C */ lw $s1, 0x2c($sp) -/* 0778F8 800DE448 8FB00028 */ lw $s0, 0x28($sp) -/* 0778FC 800DE44C D7BE0078 */ ldc1 $f30, 0x78($sp) -/* 077900 800DE450 D7BC0070 */ ldc1 $f28, 0x70($sp) -/* 077904 800DE454 D7BA0068 */ ldc1 $f26, 0x68($sp) -/* 077908 800DE458 D7B80060 */ ldc1 $f24, 0x60($sp) -/* 07790C 800DE45C D7B60058 */ ldc1 $f22, 0x58($sp) -/* 077910 800DE460 D7B40050 */ ldc1 $f20, 0x50($sp) -/* 077914 800DE464 03E00008 */ jr $ra -/* 077918 800DE468 27BD0080 */ addiu $sp, $sp, 0x80 - -func_800DE46C: -/* 07791C 800DE46C 27BDFFD0 */ addiu $sp, $sp, -0x30 -/* 077920 800DE470 AFBF0028 */ sw $ra, 0x28($sp) -/* 077924 800DE474 C48200A8 */ lwc1 $f2, 0xa8($a0) -/* 077928 800DE478 3C0142B4 */ lui $at, 0x42b4 -/* 07792C 800DE47C 44810000 */ mtc1 $at, $f0 -/* 077930 800DE480 44802000 */ mtc1 $zero, $f4 -/* 077934 800DE484 4602003E */ c.le.s $f0, $f2 -/* 077938 800DE488 00000000 */ nop -/* 07793C 800DE48C 4500000A */ bc1f .L800DE4B8 -/* 077940 800DE490 00C0402D */ daddu $t0, $a2, $zero -/* 077944 800DE494 3C014387 */ lui $at, 0x4387 -/* 077948 800DE498 44810000 */ mtc1 $at, $f0 -/* 07794C 800DE49C 00000000 */ nop -/* 077950 800DE4A0 4600103C */ c.lt.s $f2, $f0 -/* 077954 800DE4A4 00000000 */ nop -/* 077958 800DE4A8 45000003 */ bc1f .L800DE4B8 -/* 07795C 800DE4AC 00000000 */ nop -/* 077960 800DE4B0 3C014334 */ lui $at, 0x4334 -/* 077964 800DE4B4 44812000 */ mtc1 $at, $f4 -.L800DE4B8: -/* 077968 800DE4B8 3C038007 */ lui $v1, 0x8007 -/* 07796C 800DE4BC 8C637410 */ lw $v1, 0x7410($v1) -/* 077970 800DE4C0 3C0142B4 */ lui $at, 0x42b4 -/* 077974 800DE4C4 44816000 */ mtc1 $at, $f12 -/* 077978 800DE4C8 00031080 */ sll $v0, $v1, 2 -/* 07797C 800DE4CC 00431021 */ addu $v0, $v0, $v1 -/* 077980 800DE4D0 00021080 */ sll $v0, $v0, 2 -/* 077984 800DE4D4 00431023 */ subu $v0, $v0, $v1 -/* 077988 800DE4D8 000218C0 */ sll $v1, $v0, 3 -/* 07798C 800DE4DC 00431021 */ addu $v0, $v0, $v1 -/* 077990 800DE4E0 000210C0 */ sll $v0, $v0, 3 -/* 077994 800DE4E4 3C01800B */ lui $at, 0x800b -/* 077998 800DE4E8 00220821 */ addu $at, $at, $v0 -/* 07799C 800DE4EC C4201DEC */ lwc1 $f0, 0x1dec($at) -/* 0779A0 800DE4F0 848300B2 */ lh $v1, 0xb2($a0) -/* 0779A4 800DE4F4 8FA20040 */ lw $v0, 0x40($sp) -/* 0779A8 800DE4F8 00A0302D */ daddu $a2, $a1, $zero -/* 0779AC 800DE4FC AFA70010 */ sw $a3, 0x10($sp) -/* 0779B0 800DE500 AFA20014 */ sw $v0, 0x14($sp) -/* 0779B4 800DE504 8FA20044 */ lw $v0, 0x44($sp) -/* 0779B8 800DE508 0100382D */ daddu $a3, $t0, $zero -/* 0779BC 800DE50C AFA20018 */ sw $v0, 0x18($sp) -/* 0779C0 800DE510 8FA20048 */ lw $v0, 0x48($sp) -/* 0779C4 800DE514 460C2301 */ sub.s $f12, $f4, $f12 -/* 0779C8 800DE518 AFA2001C */ sw $v0, 0x1c($sp) -/* 0779CC 800DE51C 8FA2004C */ lw $v0, 0x4c($sp) -/* 0779D0 800DE520 46006300 */ add.s $f12, $f12, $f0 -/* 0779D4 800DE524 AFA20020 */ sw $v0, 0x20($sp) -/* 0779D8 800DE528 8FA20050 */ lw $v0, 0x50($sp) -/* 0779DC 800DE52C 44837000 */ mtc1 $v1, $f14 -/* 0779E0 800DE530 00000000 */ nop -/* 0779E4 800DE534 468073A0 */ cvt.s.w $f14, $f14 -/* 0779E8 800DE538 0C0377F4 */ jal test_below_player -/* 0779EC 800DE53C AFA20024 */ sw $v0, 0x24($sp) -/* 0779F0 800DE540 8FBF0028 */ lw $ra, 0x28($sp) -/* 0779F4 800DE544 03E00008 */ jr $ra -/* 0779F8 800DE548 27BD0030 */ addiu $sp, $sp, 0x30 - -trace_below_player: -/* 0779FC 800DE54C 27BDFF78 */ addiu $sp, $sp, -0x88 -/* 077A00 800DE550 AFB20060 */ sw $s2, 0x60($sp) -/* 077A04 800DE554 0080902D */ daddu $s2, $a0, $zero -/* 077A08 800DE558 AFB30064 */ sw $s3, 0x64($sp) -/* 077A0C 800DE55C 00A0982D */ daddu $s3, $a1, $zero -/* 077A10 800DE560 AFB40068 */ sw $s4, 0x68($sp) -/* 077A14 800DE564 00C0A02D */ daddu $s4, $a2, $zero -/* 077A18 800DE568 AFB5006C */ sw $s5, 0x6c($sp) -/* 077A1C 800DE56C 00E0A82D */ daddu $s5, $a3, $zero -/* 077A20 800DE570 AFBF0070 */ sw $ra, 0x70($sp) -/* 077A24 800DE574 AFB1005C */ sw $s1, 0x5c($sp) -/* 077A28 800DE578 AFB00058 */ sw $s0, 0x58($sp) -/* 077A2C 800DE57C F7B60080 */ sdc1 $f22, 0x80($sp) -/* 077A30 800DE580 F7B40078 */ sdc1 $f20, 0x78($sp) -/* 077A34 800DE584 C6A20000 */ lwc1 $f2, ($s5) -/* 077A38 800DE588 44802000 */ mtc1 $zero, $f4 -/* 077A3C 800DE58C 3C01BF80 */ lui $at, 0xbf80 -/* 077A40 800DE590 44810000 */ mtc1 $at, $f0 -/* 077A44 800DE594 27A20038 */ addiu $v0, $sp, 0x38 -/* 077A48 800DE598 E7A20044 */ swc1 $f2, 0x44($sp) -/* 077A4C 800DE59C AFA20018 */ sw $v0, 0x18($sp) -/* 077A50 800DE5A0 27A2003C */ addiu $v0, $sp, 0x3c -/* 077A54 800DE5A4 AFA2001C */ sw $v0, 0x1c($sp) -/* 077A58 800DE5A8 27A20040 */ addiu $v0, $sp, 0x40 -/* 077A5C 800DE5AC AFA20020 */ sw $v0, 0x20($sp) -/* 077A60 800DE5B0 27A20044 */ addiu $v0, $sp, 0x44 -/* 077A64 800DE5B4 AFA20024 */ sw $v0, 0x24($sp) -/* 077A68 800DE5B8 27A20048 */ addiu $v0, $sp, 0x48 -/* 077A6C 800DE5BC AFA20028 */ sw $v0, 0x28($sp) -/* 077A70 800DE5C0 27A2004C */ addiu $v0, $sp, 0x4c -/* 077A74 800DE5C4 AFA2002C */ sw $v0, 0x2c($sp) -/* 077A78 800DE5C8 27A20050 */ addiu $v0, $sp, 0x50 -/* 077A7C 800DE5CC E7A00010 */ swc1 $f0, 0x10($sp) -/* 077A80 800DE5D0 E7A40014 */ swc1 $f4, 0x14($sp) -/* 077A84 800DE5D4 AFA20030 */ sw $v0, 0x30($sp) -/* 077A88 800DE5D8 C64C0000 */ lwc1 $f12, ($s2) -/* 077A8C 800DE5DC C66E0000 */ lwc1 $f14, ($s3) -/* 077A90 800DE5E0 8E860000 */ lw $a2, ($s4) -/* 077A94 800DE5E4 44072000 */ mfc1 $a3, $f4 -/* 077A98 800DE5E8 0C017512 */ jal test_ray_entities -/* 077A9C 800DE5EC 2411FFFF */ addiu $s1, $zero, -1 -/* 077AA0 800DE5F0 0040802D */ daddu $s0, $v0, $zero -/* 077AA4 800DE5F4 0600000E */ bltz $s0, .L800DE630 -/* 077AA8 800DE5F8 00000000 */ nop -/* 077AAC 800DE5FC 0C04417A */ jal get_entity_by_index -/* 077AB0 800DE600 0200202D */ daddu $a0, $s0, $zero -/* 077AB4 800DE604 0040202D */ daddu $a0, $v0, $zero -/* 077AB8 800DE608 9082000B */ lbu $v0, 0xb($a0) -/* 077ABC 800DE60C 2C4200FF */ sltiu $v0, $v0, 0xff -/* 077AC0 800DE610 10400006 */ beqz $v0, .L800DE62C -/* 077AC4 800DE614 24030004 */ addiu $v1, $zero, 4 -/* 077AC8 800DE618 8C820000 */ lw $v0, ($a0) -/* 077ACC 800DE61C A0830007 */ sb $v1, 7($a0) -/* 077AD0 800DE620 34420040 */ ori $v0, $v0, 0x40 -/* 077AD4 800DE624 0803798C */ j .L800DE630 -/* 077AD8 800DE628 AC820000 */ sw $v0, ($a0) - -.L800DE62C: -/* 077ADC 800DE62C 36114000 */ ori $s1, $s0, 0x4000 -.L800DE630: -/* 077AE0 800DE630 3C01BF80 */ lui $at, 0xbf80 -/* 077AE4 800DE634 44810000 */ mtc1 $at, $f0 -/* 077AE8 800DE638 27A20038 */ addiu $v0, $sp, 0x38 -/* 077AEC 800DE63C AFA2001C */ sw $v0, 0x1c($sp) -/* 077AF0 800DE640 27A2003C */ addiu $v0, $sp, 0x3c -/* 077AF4 800DE644 AFA20020 */ sw $v0, 0x20($sp) -/* 077AF8 800DE648 27A20040 */ addiu $v0, $sp, 0x40 -/* 077AFC 800DE64C AFA20024 */ sw $v0, 0x24($sp) -/* 077B00 800DE650 27A20044 */ addiu $v0, $sp, 0x44 -/* 077B04 800DE654 AFA20028 */ sw $v0, 0x28($sp) -/* 077B08 800DE658 27A20048 */ addiu $v0, $sp, 0x48 -/* 077B0C 800DE65C AFA2002C */ sw $v0, 0x2c($sp) -/* 077B10 800DE660 27A2004C */ addiu $v0, $sp, 0x4c -/* 077B14 800DE664 AFA20030 */ sw $v0, 0x30($sp) -/* 077B18 800DE668 27A20050 */ addiu $v0, $sp, 0x50 -/* 077B1C 800DE66C AFA00010 */ sw $zero, 0x10($sp) -/* 077B20 800DE670 AFA00018 */ sw $zero, 0x18($sp) -/* 077B24 800DE674 AFA20034 */ sw $v0, 0x34($sp) -/* 077B28 800DE678 E7A00014 */ swc1 $f0, 0x14($sp) -/* 077B2C 800DE67C 8E660000 */ lw $a2, ($s3) -/* 077B30 800DE680 8E870000 */ lw $a3, ($s4) -/* 077B34 800DE684 8E450000 */ lw $a1, ($s2) -/* 077B38 800DE688 0C017334 */ jal test_ray_colliders -/* 077B3C 800DE68C 3C040001 */ lui $a0, 1 -/* 077B40 800DE690 04430001 */ bgezl $v0, .L800DE698 -/* 077B44 800DE694 0040882D */ daddu $s1, $v0, $zero -.L800DE698: -/* 077B48 800DE698 06200041 */ bltz $s1, .L800DE7A0 -/* 077B4C 800DE69C 00000000 */ nop -/* 077B50 800DE6A0 C7A00044 */ lwc1 $f0, 0x44($sp) -/* 077B54 800DE6A4 E6A00000 */ swc1 $f0, ($s5) -/* 077B58 800DE6A8 C7A00038 */ lwc1 $f0, 0x38($sp) -/* 077B5C 800DE6AC E6400000 */ swc1 $f0, ($s2) -/* 077B60 800DE6B0 C7A0003C */ lwc1 $f0, 0x3c($sp) -/* 077B64 800DE6B4 E6600000 */ swc1 $f0, ($s3) -/* 077B68 800DE6B8 C7A00040 */ lwc1 $f0, 0x40($sp) -/* 077B6C 800DE6BC 3C108007 */ lui $s0, 0x8007 -/* 077B70 800DE6C0 2610419C */ addiu $s0, $s0, 0x419c -/* 077B74 800DE6C4 E6800000 */ swc1 $f0, ($s4) -/* 077B78 800DE6C8 8E020000 */ lw $v0, ($s0) -/* 077B7C 800DE6CC C7A00048 */ lwc1 $f0, 0x48($sp) -/* 077B80 800DE6D0 C7A2004C */ lwc1 $f2, 0x4c($sp) -/* 077B84 800DE6D4 C7A40050 */ lwc1 $f4, 0x50($sp) -/* 077B88 800DE6D8 E4400128 */ swc1 $f0, 0x128($v0) -/* 077B8C 800DE6DC E442012C */ swc1 $f2, 0x12c($v0) -/* 077B90 800DE6E0 0C00A788 */ jal get_player_normal_yaw -/* 077B94 800DE6E4 E4440130 */ swc1 $f4, 0x130($v0) -/* 077B98 800DE6E8 3C018011 */ lui $at, 0x8011 -/* 077B9C 800DE6EC E420C938 */ swc1 $f0, -0x36c8($at) -/* 077BA0 800DE6F0 0C00A794 */ jal get_player_normal_pitch -/* 077BA4 800DE6F4 00000000 */ nop -/* 077BA8 800DE6F8 C7A40050 */ lwc1 $f4, 0x50($sp) -/* 077BAC 800DE6FC 3C014059 */ lui $at, 0x4059 -/* 077BB0 800DE700 4481A800 */ mtc1 $at, $f21 -/* 077BB4 800DE704 4480A000 */ mtc1 $zero, $f20 -/* 077BB8 800DE708 46002121 */ cvt.d.s $f4, $f4 -/* 077BBC 800DE70C 46342102 */ mul.d $f4, $f4, $f20 -/* 077BC0 800DE710 00000000 */ nop -/* 077BC4 800DE714 C7A2004C */ lwc1 $f2, 0x4c($sp) -/* 077BC8 800DE718 460010A1 */ cvt.d.s $f2, $f2 -/* 077BCC 800DE71C 46341082 */ mul.d $f2, $f2, $f20 -/* 077BD0 800DE720 00000000 */ nop -/* 077BD4 800DE724 4480B000 */ mtc1 $zero, $f22 -/* 077BD8 800DE728 3C018011 */ lui $at, 0x8011 -/* 077BDC 800DE72C E420C990 */ swc1 $f0, -0x3670($at) -/* 077BE0 800DE730 4600B306 */ mov.s $f12, $f22 -/* 077BE4 800DE734 46202120 */ cvt.s.d $f4, $f4 -/* 077BE8 800DE738 462010A0 */ cvt.s.d $f2, $f2 -/* 077BEC 800DE73C 44062000 */ mfc1 $a2, $f4 -/* 077BF0 800DE740 44071000 */ mfc1 $a3, $f2 -/* 077BF4 800DE744 0C00A720 */ jal atan2 -/* 077BF8 800DE748 4600B386 */ mov.s $f14, $f22 -/* 077BFC 800DE74C C7A40048 */ lwc1 $f4, 0x48($sp) -/* 077C00 800DE750 46002121 */ cvt.d.s $f4, $f4 -/* 077C04 800DE754 46342102 */ mul.d $f4, $f4, $f20 -/* 077C08 800DE758 00000000 */ nop -/* 077C0C 800DE75C C7A2004C */ lwc1 $f2, 0x4c($sp) -/* 077C10 800DE760 460010A1 */ cvt.d.s $f2, $f2 -/* 077C14 800DE764 46341082 */ mul.d $f2, $f2, $f20 -/* 077C18 800DE768 00000000 */ nop -/* 077C1C 800DE76C 4600B306 */ mov.s $f12, $f22 -/* 077C20 800DE770 8E020000 */ lw $v0, ($s0) -/* 077C24 800DE774 46202120 */ cvt.s.d $f4, $f4 -/* 077C28 800DE778 462010A0 */ cvt.s.d $f2, $f2 -/* 077C2C 800DE77C 44062000 */ mfc1 $a2, $f4 -/* 077C30 800DE780 44071000 */ mfc1 $a3, $f2 -/* 077C34 800DE784 46006386 */ mov.s $f14, $f12 -/* 077C38 800DE788 E440011C */ swc1 $f0, 0x11c($v0) -/* 077C3C 800DE78C 0C00A720 */ jal atan2 -/* 077C40 800DE790 E44C0120 */ swc1 $f12, 0x120($v0) -/* 077C44 800DE794 8E020000 */ lw $v0, ($s0) -/* 077C48 800DE798 080379ED */ j .L800DE7B4 -/* 077C4C 800DE79C E4400124 */ swc1 $f0, 0x124($v0) - -.L800DE7A0: -/* 077C50 800DE7A0 3C028007 */ lui $v0, 0x8007 -/* 077C54 800DE7A4 8C42419C */ lw $v0, 0x419c($v0) -/* 077C58 800DE7A8 AC40011C */ sw $zero, 0x11c($v0) -/* 077C5C 800DE7AC AC400120 */ sw $zero, 0x120($v0) -/* 077C60 800DE7B0 AC400124 */ sw $zero, 0x124($v0) -.L800DE7B4: -/* 077C64 800DE7B4 0220102D */ daddu $v0, $s1, $zero -/* 077C68 800DE7B8 8FBF0070 */ lw $ra, 0x70($sp) -/* 077C6C 800DE7BC 8FB5006C */ lw $s5, 0x6c($sp) -/* 077C70 800DE7C0 8FB40068 */ lw $s4, 0x68($sp) -/* 077C74 800DE7C4 8FB30064 */ lw $s3, 0x64($sp) -/* 077C78 800DE7C8 8FB20060 */ lw $s2, 0x60($sp) -/* 077C7C 800DE7CC 8FB1005C */ lw $s1, 0x5c($sp) -/* 077C80 800DE7D0 8FB00058 */ lw $s0, 0x58($sp) -/* 077C84 800DE7D4 D7B60080 */ ldc1 $f22, 0x80($sp) -/* 077C88 800DE7D8 D7B40078 */ ldc1 $f20, 0x78($sp) -/* 077C8C 800DE7DC 03E00008 */ jr $ra -/* 077C90 800DE7E0 27BD0088 */ addiu $sp, $sp, 0x88 - -func_800DE7E4: -/* 077C94 800DE7E4 27BDFF90 */ addiu $sp, $sp, -0x70 -/* 077C98 800DE7E8 F7B40048 */ sdc1 $f20, 0x48($sp) -/* 077C9C 800DE7EC C7B40084 */ lwc1 $f20, 0x84($sp) -/* 077CA0 800DE7F0 3C0140C9 */ lui $at, 0x40c9 -/* 077CA4 800DE7F4 34210FD0 */ ori $at, $at, 0xfd0 -/* 077CA8 800DE7F8 44810000 */ mtc1 $at, $f0 -/* 077CAC 800DE7FC AFB60038 */ sw $s6, 0x38($sp) -/* 077CB0 800DE800 00A0B02D */ daddu $s6, $a1, $zero -/* 077CB4 800DE804 AFB7003C */ sw $s7, 0x3c($sp) -/* 077CB8 800DE808 00C0B82D */ daddu $s7, $a2, $zero -/* 077CBC 800DE80C AFBE0040 */ sw $fp, 0x40($sp) -/* 077CC0 800DE810 00E0F02D */ daddu $fp, $a3, $zero -/* 077CC4 800DE814 AFB40030 */ sw $s4, 0x30($sp) -/* 077CC8 800DE818 2414FFFF */ addiu $s4, $zero, -1 -/* 077CCC 800DE81C AFBF0044 */ sw $ra, 0x44($sp) -/* 077CD0 800DE820 AFB50034 */ sw $s5, 0x34($sp) -/* 077CD4 800DE824 AFB3002C */ sw $s3, 0x2c($sp) -/* 077CD8 800DE828 AFB20028 */ sw $s2, 0x28($sp) -/* 077CDC 800DE82C AFB10024 */ sw $s1, 0x24($sp) -/* 077CE0 800DE830 AFB00020 */ sw $s0, 0x20($sp) -/* 077CE4 800DE834 F7BC0068 */ sdc1 $f28, 0x68($sp) -/* 077CE8 800DE838 F7BA0060 */ sdc1 $f26, 0x60($sp) -/* 077CEC 800DE83C F7B80058 */ sdc1 $f24, 0x58($sp) -/* 077CF0 800DE840 F7B60050 */ sdc1 $f22, 0x50($sp) -/* 077CF4 800DE844 848200B2 */ lh $v0, 0xb2($a0) -/* 077CF8 800DE848 4600A502 */ mul.s $f20, $f20, $f0 -/* 077CFC 800DE84C 00000000 */ nop -/* 077D00 800DE850 3C013E99 */ lui $at, 0x3e99 -/* 077D04 800DE854 3421999A */ ori $at, $at, 0x999a -/* 077D08 800DE858 44811000 */ mtc1 $at, $f2 -/* 077D0C 800DE85C 8FB50080 */ lw $s5, 0x80($sp) -/* 077D10 800DE860 4482B000 */ mtc1 $v0, $f22 -/* 077D14 800DE864 00000000 */ nop -/* 077D18 800DE868 4680B5A0 */ cvt.s.w $f22, $f22 -/* 077D1C 800DE86C 3C0143B4 */ lui $at, 0x43b4 -/* 077D20 800DE870 44810000 */ mtc1 $at, $f0 -/* 077D24 800DE874 4602B582 */ mul.s $f22, $f22, $f2 -/* 077D28 800DE878 00000000 */ nop -/* 077D2C 800DE87C 4600A503 */ div.s $f20, $f20, $f0 -/* 077D30 800DE880 0C00A85B */ jal sin_rad -/* 077D34 800DE884 4600A306 */ mov.s $f12, $f20 -/* 077D38 800DE888 4600B702 */ mul.s $f28, $f22, $f0 -/* 077D3C 800DE88C 00000000 */ nop -/* 077D40 800DE890 0C00A874 */ jal cos_rad -/* 077D44 800DE894 4600A306 */ mov.s $f12, $f20 -/* 077D48 800DE898 27B30010 */ addiu $s3, $sp, 0x10 -/* 077D4C 800DE89C 0260202D */ daddu $a0, $s3, $zero -/* 077D50 800DE8A0 27B20014 */ addiu $s2, $sp, 0x14 -/* 077D54 800DE8A4 0240282D */ daddu $a1, $s2, $zero -/* 077D58 800DE8A8 27B10018 */ addiu $s1, $sp, 0x18 -/* 077D5C 800DE8AC 0220302D */ daddu $a2, $s1, $zero -/* 077D60 800DE8B0 27B0001C */ addiu $s0, $sp, 0x1c -/* 077D64 800DE8B4 4600B587 */ neg.s $f22, $f22 -/* 077D68 800DE8B8 4600B682 */ mul.s $f26, $f22, $f0 -/* 077D6C 800DE8BC 00000000 */ nop -/* 077D70 800DE8C0 C6D60000 */ lwc1 $f22, ($s6) -/* 077D74 800DE8C4 C6F80000 */ lwc1 $f24, ($s7) -/* 077D78 800DE8C8 C7D40000 */ lwc1 $f20, ($fp) -/* 077D7C 800DE8CC C6A00000 */ lwc1 $f0, ($s5) -/* 077D80 800DE8D0 461CB080 */ add.s $f2, $f22, $f28 -/* 077D84 800DE8D4 0200382D */ daddu $a3, $s0, $zero -/* 077D88 800DE8D8 E7A0001C */ swc1 $f0, 0x1c($sp) -/* 077D8C 800DE8DC 461AA000 */ add.s $f0, $f20, $f26 -/* 077D90 800DE8E0 E7B80014 */ swc1 $f24, 0x14($sp) -/* 077D94 800DE8E4 E7A20010 */ swc1 $f2, 0x10($sp) -/* 077D98 800DE8E8 0C037A82 */ jal trace_above_player -/* 077D9C 800DE8EC E7A00018 */ swc1 $f0, 0x18($sp) -/* 077DA0 800DE8F0 04410022 */ bgez $v0, .L800DE97C -/* 077DA4 800DE8F4 0260202D */ daddu $a0, $s3, $zero -/* 077DA8 800DE8F8 0240282D */ daddu $a1, $s2, $zero -/* 077DAC 800DE8FC 461CB081 */ sub.s $f2, $f22, $f28 -/* 077DB0 800DE900 0220302D */ daddu $a2, $s1, $zero -/* 077DB4 800DE904 0200382D */ daddu $a3, $s0, $zero -/* 077DB8 800DE908 461AA001 */ sub.s $f0, $f20, $f26 -/* 077DBC 800DE90C E7B80014 */ swc1 $f24, 0x14($sp) -/* 077DC0 800DE910 E7A20010 */ swc1 $f2, 0x10($sp) -/* 077DC4 800DE914 0C037A82 */ jal trace_above_player -/* 077DC8 800DE918 E7A00018 */ swc1 $f0, 0x18($sp) -/* 077DCC 800DE91C 04410017 */ bgez $v0, .L800DE97C -/* 077DD0 800DE920 0260202D */ daddu $a0, $s3, $zero -/* 077DD4 800DE924 0240282D */ daddu $a1, $s2, $zero -/* 077DD8 800DE928 461AB080 */ add.s $f2, $f22, $f26 -/* 077DDC 800DE92C 0220302D */ daddu $a2, $s1, $zero -/* 077DE0 800DE930 0200382D */ daddu $a3, $s0, $zero -/* 077DE4 800DE934 461CA000 */ add.s $f0, $f20, $f28 -/* 077DE8 800DE938 E7B80014 */ swc1 $f24, 0x14($sp) -/* 077DEC 800DE93C E7A20010 */ swc1 $f2, 0x10($sp) -/* 077DF0 800DE940 0C037A82 */ jal trace_above_player -/* 077DF4 800DE944 E7A00018 */ swc1 $f0, 0x18($sp) -/* 077DF8 800DE948 0441000C */ bgez $v0, .L800DE97C -/* 077DFC 800DE94C 0260202D */ daddu $a0, $s3, $zero -/* 077E00 800DE950 0240282D */ daddu $a1, $s2, $zero -/* 077E04 800DE954 461AB081 */ sub.s $f2, $f22, $f26 -/* 077E08 800DE958 0220302D */ daddu $a2, $s1, $zero -/* 077E0C 800DE95C 0200382D */ daddu $a3, $s0, $zero -/* 077E10 800DE960 461CA001 */ sub.s $f0, $f20, $f28 -/* 077E14 800DE964 E7B80014 */ swc1 $f24, 0x14($sp) -/* 077E18 800DE968 E7A20010 */ swc1 $f2, 0x10($sp) -/* 077E1C 800DE96C 0C037A82 */ jal trace_above_player -/* 077E20 800DE970 E7A00018 */ swc1 $f0, 0x18($sp) -/* 077E24 800DE974 0440000A */ bltz $v0, .L800DE9A0 -/* 077E28 800DE978 00000000 */ nop -.L800DE97C: -/* 077E2C 800DE97C C7A00010 */ lwc1 $f0, 0x10($sp) -/* 077E30 800DE980 E6C00000 */ swc1 $f0, ($s6) -/* 077E34 800DE984 C7A00014 */ lwc1 $f0, 0x14($sp) -/* 077E38 800DE988 E6E00000 */ swc1 $f0, ($s7) -/* 077E3C 800DE98C C7A00018 */ lwc1 $f0, 0x18($sp) -/* 077E40 800DE990 E7C00000 */ swc1 $f0, ($fp) -/* 077E44 800DE994 C7A0001C */ lwc1 $f0, 0x1c($sp) -/* 077E48 800DE998 0040A02D */ daddu $s4, $v0, $zero -/* 077E4C 800DE99C E6A00000 */ swc1 $f0, ($s5) -.L800DE9A0: -/* 077E50 800DE9A0 06810008 */ bgez $s4, .L800DE9C4 -/* 077E54 800DE9A4 0280102D */ daddu $v0, $s4, $zero -/* 077E58 800DE9A8 C7A00010 */ lwc1 $f0, 0x10($sp) -/* 077E5C 800DE9AC E6C00000 */ swc1 $f0, ($s6) -/* 077E60 800DE9B0 C7A00014 */ lwc1 $f0, 0x14($sp) -/* 077E64 800DE9B4 E6E00000 */ swc1 $f0, ($s7) -/* 077E68 800DE9B8 C7A00018 */ lwc1 $f0, 0x18($sp) -/* 077E6C 800DE9BC E7C00000 */ swc1 $f0, ($fp) -/* 077E70 800DE9C0 AEA00000 */ sw $zero, ($s5) -.L800DE9C4: -/* 077E74 800DE9C4 8FBF0044 */ lw $ra, 0x44($sp) -/* 077E78 800DE9C8 8FBE0040 */ lw $fp, 0x40($sp) -/* 077E7C 800DE9CC 8FB7003C */ lw $s7, 0x3c($sp) -/* 077E80 800DE9D0 8FB60038 */ lw $s6, 0x38($sp) -/* 077E84 800DE9D4 8FB50034 */ lw $s5, 0x34($sp) -/* 077E88 800DE9D8 8FB40030 */ lw $s4, 0x30($sp) -/* 077E8C 800DE9DC 8FB3002C */ lw $s3, 0x2c($sp) -/* 077E90 800DE9E0 8FB20028 */ lw $s2, 0x28($sp) -/* 077E94 800DE9E4 8FB10024 */ lw $s1, 0x24($sp) -/* 077E98 800DE9E8 8FB00020 */ lw $s0, 0x20($sp) -/* 077E9C 800DE9EC D7BC0068 */ ldc1 $f28, 0x68($sp) -/* 077EA0 800DE9F0 D7BA0060 */ ldc1 $f26, 0x60($sp) -/* 077EA4 800DE9F4 D7B80058 */ ldc1 $f24, 0x58($sp) -/* 077EA8 800DE9F8 D7B60050 */ ldc1 $f22, 0x50($sp) -/* 077EAC 800DE9FC D7B40048 */ ldc1 $f20, 0x48($sp) -/* 077EB0 800DEA00 03E00008 */ jr $ra -/* 077EB4 800DEA04 27BD0070 */ addiu $sp, $sp, 0x70 - -trace_above_player: -/* 077EB8 800DEA08 27BDFF58 */ addiu $sp, $sp, -0xa8 -/* 077EBC 800DEA0C AFB30064 */ sw $s3, 0x64($sp) -/* 077EC0 800DEA10 0080982D */ daddu $s3, $a0, $zero -/* 077EC4 800DEA14 AFB40068 */ sw $s4, 0x68($sp) -/* 077EC8 800DEA18 00A0A02D */ daddu $s4, $a1, $zero -/* 077ECC 800DEA1C AFB5006C */ sw $s5, 0x6c($sp) -/* 077ED0 800DEA20 00C0A82D */ daddu $s5, $a2, $zero -/* 077ED4 800DEA24 AFB20060 */ sw $s2, 0x60($sp) -/* 077ED8 800DEA28 00E0902D */ daddu $s2, $a3, $zero -/* 077EDC 800DEA2C AFB1005C */ sw $s1, 0x5c($sp) -/* 077EE0 800DEA30 2411FFFF */ addiu $s1, $zero, -1 -/* 077EE4 800DEA34 3C040001 */ lui $a0, 1 -/* 077EE8 800DEA38 AFBF0070 */ sw $ra, 0x70($sp) -/* 077EEC 800DEA3C AFB00058 */ sw $s0, 0x58($sp) -/* 077EF0 800DEA40 F7BE00A0 */ sdc1 $f30, 0xa0($sp) -/* 077EF4 800DEA44 F7BC0098 */ sdc1 $f28, 0x98($sp) -/* 077EF8 800DEA48 F7BA0090 */ sdc1 $f26, 0x90($sp) -/* 077EFC 800DEA4C F7B80088 */ sdc1 $f24, 0x88($sp) -/* 077F00 800DEA50 F7B60080 */ sdc1 $f22, 0x80($sp) -/* 077F04 800DEA54 F7B40078 */ sdc1 $f20, 0x78($sp) -/* 077F08 800DEA58 C6780000 */ lwc1 $f24, ($s3) -/* 077F0C 800DEA5C C6960000 */ lwc1 $f22, ($s4) -/* 077F10 800DEA60 C6B40000 */ lwc1 $f20, ($s5) -/* 077F14 800DEA64 C6400000 */ lwc1 $f0, ($s2) -/* 077F18 800DEA68 3C013F80 */ lui $at, 0x3f80 -/* 077F1C 800DEA6C 44811000 */ mtc1 $at, $f2 -/* 077F20 800DEA70 4406B000 */ mfc1 $a2, $f22 -/* 077F24 800DEA74 4407A000 */ mfc1 $a3, $f20 -/* 077F28 800DEA78 4405C000 */ mfc1 $a1, $f24 -/* 077F2C 800DEA7C 27A20038 */ addiu $v0, $sp, 0x38 -/* 077F30 800DEA80 E7A00044 */ swc1 $f0, 0x44($sp) -/* 077F34 800DEA84 AFA2001C */ sw $v0, 0x1c($sp) -/* 077F38 800DEA88 27A2003C */ addiu $v0, $sp, 0x3c -/* 077F3C 800DEA8C AFA20020 */ sw $v0, 0x20($sp) -/* 077F40 800DEA90 27A20040 */ addiu $v0, $sp, 0x40 -/* 077F44 800DEA94 AFA20024 */ sw $v0, 0x24($sp) -/* 077F48 800DEA98 27A20044 */ addiu $v0, $sp, 0x44 -/* 077F4C 800DEA9C AFA20028 */ sw $v0, 0x28($sp) -/* 077F50 800DEAA0 27A20048 */ addiu $v0, $sp, 0x48 -/* 077F54 800DEAA4 AFA2002C */ sw $v0, 0x2c($sp) -/* 077F58 800DEAA8 27A2004C */ addiu $v0, $sp, 0x4c -/* 077F5C 800DEAAC AFA20030 */ sw $v0, 0x30($sp) -/* 077F60 800DEAB0 27A20050 */ addiu $v0, $sp, 0x50 -/* 077F64 800DEAB4 AFA00010 */ sw $zero, 0x10($sp) -/* 077F68 800DEAB8 E7A20014 */ swc1 $f2, 0x14($sp) -/* 077F6C 800DEABC AFA00018 */ sw $zero, 0x18($sp) -/* 077F70 800DEAC0 0C017334 */ jal test_ray_colliders -/* 077F74 800DEAC4 AFA20034 */ sw $v0, 0x34($sp) -/* 077F78 800DEAC8 0040802D */ daddu $s0, $v0, $zero -/* 077F7C 800DEACC 4600C686 */ mov.s $f26, $f24 -/* 077F80 800DEAD0 4600B706 */ mov.s $f28, $f22 -/* 077F84 800DEAD4 0600000C */ bltz $s0, .L800DEB08 -/* 077F88 800DEAD8 4600A786 */ mov.s $f30, $f20 -/* 077F8C 800DEADC C6400000 */ lwc1 $f0, ($s2) -/* 077F90 800DEAE0 C7A20044 */ lwc1 $f2, 0x44($sp) -/* 077F94 800DEAE4 4600103C */ c.lt.s $f2, $f0 -/* 077F98 800DEAE8 00000000 */ nop -/* 077F9C 800DEAEC 45020007 */ bc1fl .L800DEB0C -/* 077FA0 800DEAF0 4600D606 */ mov.s $f24, $f26 -/* 077FA4 800DEAF4 0200882D */ daddu $s1, $s0, $zero -/* 077FA8 800DEAF8 E6420000 */ swc1 $f2, ($s2) -/* 077FAC 800DEAFC E6780000 */ swc1 $f24, ($s3) -/* 077FB0 800DEB00 E6960000 */ swc1 $f22, ($s4) -/* 077FB4 800DEB04 E6B40000 */ swc1 $f20, ($s5) -.L800DEB08: -/* 077FB8 800DEB08 4600D606 */ mov.s $f24, $f26 -.L800DEB0C: -/* 077FBC 800DEB0C 4600E586 */ mov.s $f22, $f28 -/* 077FC0 800DEB10 3C014120 */ lui $at, 0x4120 -/* 077FC4 800DEB14 44811000 */ mtc1 $at, $f2 -/* 077FC8 800DEB18 44802000 */ mtc1 $zero, $f4 -/* 077FCC 800DEB1C 3C013F80 */ lui $at, 0x3f80 -/* 077FD0 800DEB20 44810000 */ mtc1 $at, $f0 -/* 077FD4 800DEB24 27A20038 */ addiu $v0, $sp, 0x38 -/* 077FD8 800DEB28 E7A20044 */ swc1 $f2, 0x44($sp) -/* 077FDC 800DEB2C AFA20018 */ sw $v0, 0x18($sp) -/* 077FE0 800DEB30 27A2003C */ addiu $v0, $sp, 0x3c -/* 077FE4 800DEB34 AFA2001C */ sw $v0, 0x1c($sp) -/* 077FE8 800DEB38 27A20040 */ addiu $v0, $sp, 0x40 -/* 077FEC 800DEB3C AFA20020 */ sw $v0, 0x20($sp) -/* 077FF0 800DEB40 27A20044 */ addiu $v0, $sp, 0x44 -/* 077FF4 800DEB44 AFA20024 */ sw $v0, 0x24($sp) -/* 077FF8 800DEB48 27A20048 */ addiu $v0, $sp, 0x48 -/* 077FFC 800DEB4C AFA20028 */ sw $v0, 0x28($sp) -/* 078000 800DEB50 27A2004C */ addiu $v0, $sp, 0x4c -/* 078004 800DEB54 AFA2002C */ sw $v0, 0x2c($sp) -/* 078008 800DEB58 27A20050 */ addiu $v0, $sp, 0x50 -/* 07800C 800DEB5C E7A00010 */ swc1 $f0, 0x10($sp) -/* 078010 800DEB60 E7A40014 */ swc1 $f4, 0x14($sp) -/* 078014 800DEB64 AFA20030 */ sw $v0, 0x30($sp) -/* 078018 800DEB68 8EA60000 */ lw $a2, ($s5) -/* 07801C 800DEB6C 44072000 */ mfc1 $a3, $f4 -/* 078020 800DEB70 C66C0000 */ lwc1 $f12, ($s3) -/* 078024 800DEB74 C68E0000 */ lwc1 $f14, ($s4) -/* 078028 800DEB78 0C017512 */ jal test_ray_entities -/* 07802C 800DEB7C 4600F506 */ mov.s $f20, $f30 -/* 078030 800DEB80 0040802D */ daddu $s0, $v0, $zero -/* 078034 800DEB84 06000010 */ bltz $s0, .L800DEBC8 -/* 078038 800DEB88 0220102D */ daddu $v0, $s1, $zero -/* 07803C 800DEB8C C6420000 */ lwc1 $f2, ($s2) -/* 078040 800DEB90 C7A00044 */ lwc1 $f0, 0x44($sp) -/* 078044 800DEB94 4602003C */ c.lt.s $f0, $f2 -/* 078048 800DEB98 00000000 */ nop -/* 07804C 800DEB9C 4500000A */ bc1f .L800DEBC8 -/* 078050 800DEBA0 00000000 */ nop -/* 078054 800DEBA4 0C04417A */ jal get_entity_by_index -/* 078058 800DEBA8 0200202D */ daddu $a0, $s0, $zero -/* 07805C 800DEBAC C7A00044 */ lwc1 $f0, 0x44($sp) -/* 078060 800DEBB0 36114000 */ ori $s1, $s0, 0x4000 -/* 078064 800DEBB4 E6400000 */ swc1 $f0, ($s2) -/* 078068 800DEBB8 E6780000 */ swc1 $f24, ($s3) -/* 07806C 800DEBBC E6960000 */ swc1 $f22, ($s4) -/* 078070 800DEBC0 E6B40000 */ swc1 $f20, ($s5) -/* 078074 800DEBC4 0220102D */ daddu $v0, $s1, $zero -.L800DEBC8: -/* 078078 800DEBC8 8FBF0070 */ lw $ra, 0x70($sp) -/* 07807C 800DEBCC 8FB5006C */ lw $s5, 0x6c($sp) -/* 078080 800DEBD0 8FB40068 */ lw $s4, 0x68($sp) -/* 078084 800DEBD4 8FB30064 */ lw $s3, 0x64($sp) -/* 078088 800DEBD8 8FB20060 */ lw $s2, 0x60($sp) -/* 07808C 800DEBDC 8FB1005C */ lw $s1, 0x5c($sp) -/* 078090 800DEBE0 8FB00058 */ lw $s0, 0x58($sp) -/* 078094 800DEBE4 D7BE00A0 */ ldc1 $f30, 0xa0($sp) -/* 078098 800DEBE8 D7BC0098 */ ldc1 $f28, 0x98($sp) -/* 07809C 800DEBEC D7BA0090 */ ldc1 $f26, 0x90($sp) -/* 0780A0 800DEBF0 D7B80088 */ ldc1 $f24, 0x88($sp) -/* 0780A4 800DEBF4 D7B60080 */ ldc1 $f22, 0x80($sp) -/* 0780A8 800DEBF8 D7B40078 */ ldc1 $f20, 0x78($sp) -/* 0780AC 800DEBFC 03E00008 */ jr $ra -/* 0780B0 800DEC00 27BD00A8 */ addiu $sp, $sp, 0xa8 - -func_800DEC04: -/* 0780B4 800DEC04 27BDFF58 */ addiu $sp, $sp, -0xa8 -/* 0780B8 800DEC08 AFB40078 */ sw $s4, 0x78($sp) -/* 0780BC 800DEC0C 0080A02D */ daddu $s4, $a0, $zero -/* 0780C0 800DEC10 AFB20070 */ sw $s2, 0x70($sp) -/* 0780C4 800DEC14 00C0902D */ daddu $s2, $a2, $zero -/* 0780C8 800DEC18 AFB00068 */ sw $s0, 0x68($sp) -/* 0780CC 800DEC1C 00E0802D */ daddu $s0, $a3, $zero -/* 0780D0 800DEC20 AFB30074 */ sw $s3, 0x74($sp) -/* 0780D4 800DEC24 AFBF007C */ sw $ra, 0x7c($sp) -/* 0780D8 800DEC28 AFB1006C */ sw $s1, 0x6c($sp) -/* 0780DC 800DEC2C F7BC00A0 */ sdc1 $f28, 0xa0($sp) -/* 0780E0 800DEC30 F7BA0098 */ sdc1 $f26, 0x98($sp) -/* 0780E4 800DEC34 F7B80090 */ sdc1 $f24, 0x90($sp) -/* 0780E8 800DEC38 F7B60088 */ sdc1 $f22, 0x88($sp) -/* 0780EC 800DEC3C F7B40080 */ sdc1 $f20, 0x80($sp) -/* 0780F0 800DEC40 84A200B2 */ lh $v0, 0xb2($a1) -/* 0780F4 800DEC44 3C013F00 */ lui $at, 0x3f00 -/* 0780F8 800DEC48 44810000 */ mtc1 $at, $f0 -/* 0780FC 800DEC4C 8FB100B8 */ lw $s1, 0xb8($sp) -/* 078100 800DEC50 C7B400BC */ lwc1 $f20, 0xbc($sp) -/* 078104 800DEC54 44821000 */ mtc1 $v0, $f2 -/* 078108 800DEC58 00000000 */ nop -/* 07810C 800DEC5C 468010A0 */ cvt.s.w $f2, $f2 -/* 078110 800DEC60 8CA20000 */ lw $v0, ($a1) -/* 078114 800DEC64 46001702 */ mul.s $f28, $f2, $f0 -/* 078118 800DEC68 00000000 */ nop -/* 07811C 800DEC6C 30420006 */ andi $v0, $v0, 6 -/* 078120 800DEC70 1440000B */ bnez $v0, .L800DECA0 -/* 078124 800DEC74 2413FFFF */ addiu $s3, $zero, -1 -/* 078128 800DEC78 84A200B0 */ lh $v0, 0xb0($a1) -/* 07812C 800DEC7C 3C013E92 */ lui $at, 0x3e92 -/* 078130 800DEC80 34216E98 */ ori $at, $at, 0x6e98 -/* 078134 800DEC84 44811000 */ mtc1 $at, $f2 -/* 078138 800DEC88 44820000 */ mtc1 $v0, $f0 -/* 07813C 800DEC8C 00000000 */ nop -/* 078140 800DEC90 46800020 */ cvt.s.w $f0, $f0 -/* 078144 800DEC94 46020582 */ mul.s $f22, $f0, $f2 -/* 078148 800DEC98 08037B2A */ j .L800DECA8 -/* 07814C 800DEC9C 00000000 */ nop - -.L800DECA0: -/* 078150 800DECA0 3C013F80 */ lui $at, 0x3f80 -/* 078154 800DECA4 4481B000 */ mtc1 $at, $f22 -.L800DECA8: -/* 078158 800DECA8 3C0140C9 */ lui $at, 0x40c9 -/* 07815C 800DECAC 34210FD0 */ ori $at, $at, 0xfd0 -/* 078160 800DECB0 44810000 */ mtc1 $at, $f0 -/* 078164 800DECB4 C7AC00C0 */ lwc1 $f12, 0xc0($sp) -/* 078168 800DECB8 46006302 */ mul.s $f12, $f12, $f0 -/* 07816C 800DECBC 00000000 */ nop -/* 078170 800DECC0 27A50038 */ addiu $a1, $sp, 0x38 -/* 078174 800DECC4 3C0143B4 */ lui $at, 0x43b4 -/* 078178 800DECC8 44810000 */ mtc1 $at, $f0 -/* 07817C 800DECCC 27A6003C */ addiu $a2, $sp, 0x3c -/* 078180 800DECD0 0C00A82D */ jal sin_cos_rad -/* 078184 800DECD4 46006303 */ div.s $f12, $f12, $f0 -/* 078188 800DECD8 461CA080 */ add.s $f2, $f20, $f28 -/* 07818C 800DECDC C7A0003C */ lwc1 $f0, 0x3c($sp) -/* 078190 800DECE0 46000007 */ neg.s $f0, $f0 -/* 078194 800DECE4 E7A0003C */ swc1 $f0, 0x3c($sp) -/* 078198 800DECE8 E7A2004C */ swc1 $f2, 0x4c($sp) -/* 07819C 800DECEC C7A20038 */ lwc1 $f2, 0x38($sp) -/* 0781A0 800DECF0 C6040000 */ lwc1 $f4, ($s0) -/* 0781A4 800DECF4 27A20040 */ addiu $v0, $sp, 0x40 -/* 0781A8 800DECF8 AFA2001C */ sw $v0, 0x1c($sp) -/* 0781AC 800DECFC 27A20044 */ addiu $v0, $sp, 0x44 -/* 0781B0 800DED00 AFA20020 */ sw $v0, 0x20($sp) -/* 0781B4 800DED04 27A20048 */ addiu $v0, $sp, 0x48 -/* 0781B8 800DED08 AFA20024 */ sw $v0, 0x24($sp) -/* 0781BC 800DED0C 27A2004C */ addiu $v0, $sp, 0x4c -/* 0781C0 800DED10 AFA20028 */ sw $v0, 0x28($sp) -/* 0781C4 800DED14 27A20050 */ addiu $v0, $sp, 0x50 -/* 0781C8 800DED18 AFA2002C */ sw $v0, 0x2c($sp) -/* 0781CC 800DED1C 27A20054 */ addiu $v0, $sp, 0x54 -/* 0781D0 800DED20 AFA20030 */ sw $v0, 0x30($sp) -/* 0781D4 800DED24 27A20058 */ addiu $v0, $sp, 0x58 -/* 0781D8 800DED28 AFA00014 */ sw $zero, 0x14($sp) -/* 0781DC 800DED2C E7A00018 */ swc1 $f0, 0x18($sp) -/* 0781E0 800DED30 AFA20034 */ sw $v0, 0x34($sp) -/* 0781E4 800DED34 46162100 */ add.s $f4, $f4, $f22 -/* 0781E8 800DED38 E7A20010 */ swc1 $f2, 0x10($sp) -/* 0781EC 800DED3C 8E450000 */ lw $a1, ($s2) -/* 0781F0 800DED40 8E270000 */ lw $a3, ($s1) -/* 0781F4 800DED44 44062000 */ mfc1 $a2, $f4 -/* 0781F8 800DED48 0C037B97 */ jal func_800DEE5C -/* 0781FC 800DED4C 0280202D */ daddu $a0, $s4, $zero -/* 078200 800DED50 0040802D */ daddu $s0, $v0, $zero -/* 078204 800DED54 24020003 */ addiu $v0, $zero, 3 -/* 078208 800DED58 16820004 */ bne $s4, $v0, .L800DED6C -/* 07820C 800DED5C 00000000 */ nop -/* 078210 800DED60 4480C000 */ mtc1 $zero, $f24 -/* 078214 800DED64 08037B61 */ j .L800DED84 -/* 078218 800DED68 4600C686 */ mov.s $f26, $f24 - -.L800DED6C: -/* 07821C 800DED6C C7A00038 */ lwc1 $f0, 0x38($sp) -/* 078220 800DED70 4600A682 */ mul.s $f26, $f20, $f0 -/* 078224 800DED74 00000000 */ nop -/* 078228 800DED78 C7A0003C */ lwc1 $f0, 0x3c($sp) -/* 07822C 800DED7C 4600A602 */ mul.s $f24, $f20, $f0 -/* 078230 800DED80 00000000 */ nop -.L800DED84: -/* 078234 800DED84 06000021 */ bltz $s0, .L800DEE0C -/* 078238 800DED88 00000000 */ nop -/* 07823C 800DED8C 461CA080 */ add.s $f2, $f20, $f28 -/* 078240 800DED90 C7B6004C */ lwc1 $f22, 0x4c($sp) -/* 078244 800DED94 4602B03E */ c.le.s $f22, $f2 -/* 078248 800DED98 00000000 */ nop -/* 07824C 800DED9C 4500001B */ bc1f .L800DEE0C -/* 078250 800DEDA0 27A4005C */ addiu $a0, $sp, 0x5c -/* 078254 800DEDA4 4602B581 */ sub.s $f22, $f22, $f2 -/* 078258 800DEDA8 4406D000 */ mfc1 $a2, $f26 -/* 07825C 800DEDAC C7B40038 */ lwc1 $f20, 0x38($sp) -/* 078260 800DEDB0 4407C000 */ mfc1 $a3, $f24 -/* 078264 800DEDB4 C7A2003C */ lwc1 $f2, 0x3c($sp) -/* 078268 800DEDB8 4614B502 */ mul.s $f20, $f22, $f20 -/* 07826C 800DEDBC 00000000 */ nop -/* 078270 800DEDC0 C7A00050 */ lwc1 $f0, 0x50($sp) -/* 078274 800DEDC4 27A50060 */ addiu $a1, $sp, 0x60 -/* 078278 800DEDC8 E7A00010 */ swc1 $f0, 0x10($sp) -/* 07827C 800DEDCC C7A00058 */ lwc1 $f0, 0x58($sp) -/* 078280 800DEDD0 4602B582 */ mul.s $f22, $f22, $f2 -/* 078284 800DEDD4 00000000 */ nop -/* 078288 800DEDD8 0C037CFF */ jal func_800DF3FC -/* 07828C 800DEDDC E7A00014 */ swc1 $f0, 0x14($sp) -/* 078290 800DEDE0 C7A0005C */ lwc1 $f0, 0x5c($sp) -/* 078294 800DEDE4 4600A500 */ add.s $f20, $f20, $f0 -/* 078298 800DEDE8 C6400000 */ lwc1 $f0, ($s2) -/* 07829C 800DEDEC 46140000 */ add.s $f0, $f0, $f20 -/* 0782A0 800DEDF0 E6400000 */ swc1 $f0, ($s2) -/* 0782A4 800DEDF4 C7A00060 */ lwc1 $f0, 0x60($sp) -/* 0782A8 800DEDF8 4600B580 */ add.s $f22, $f22, $f0 -/* 0782AC 800DEDFC C6200000 */ lwc1 $f0, ($s1) -/* 0782B0 800DEE00 46160000 */ add.s $f0, $f0, $f22 -/* 0782B4 800DEE04 0200982D */ daddu $s3, $s0, $zero -/* 0782B8 800DEE08 E6200000 */ swc1 $f0, ($s1) -.L800DEE0C: -/* 0782BC 800DEE0C C6400000 */ lwc1 $f0, ($s2) -/* 0782C0 800DEE10 461A0000 */ add.s $f0, $f0, $f26 -/* 0782C4 800DEE14 E6400000 */ swc1 $f0, ($s2) -/* 0782C8 800DEE18 C6200000 */ lwc1 $f0, ($s1) -/* 0782CC 800DEE1C 46180000 */ add.s $f0, $f0, $f24 -/* 0782D0 800DEE20 0260102D */ daddu $v0, $s3, $zero -/* 0782D4 800DEE24 E6200000 */ swc1 $f0, ($s1) -/* 0782D8 800DEE28 8FBF007C */ lw $ra, 0x7c($sp) -/* 0782DC 800DEE2C 8FB40078 */ lw $s4, 0x78($sp) -/* 0782E0 800DEE30 8FB30074 */ lw $s3, 0x74($sp) -/* 0782E4 800DEE34 8FB20070 */ lw $s2, 0x70($sp) -/* 0782E8 800DEE38 8FB1006C */ lw $s1, 0x6c($sp) -/* 0782EC 800DEE3C 8FB00068 */ lw $s0, 0x68($sp) -/* 0782F0 800DEE40 D7BC00A0 */ ldc1 $f28, 0xa0($sp) -/* 0782F4 800DEE44 D7BA0098 */ ldc1 $f26, 0x98($sp) -/* 0782F8 800DEE48 D7B80090 */ ldc1 $f24, 0x90($sp) -/* 0782FC 800DEE4C D7B60088 */ ldc1 $f22, 0x88($sp) -/* 078300 800DEE50 D7B40080 */ ldc1 $f20, 0x80($sp) -/* 078304 800DEE54 03E00008 */ jr $ra -/* 078308 800DEE58 27BD00A8 */ addiu $sp, $sp, 0xa8 - -func_800DEE5C: -/* 07830C 800DEE5C 27BDFF70 */ addiu $sp, $sp, -0x90 -/* 078310 800DEE60 F7B40060 */ sdc1 $f20, 0x60($sp) -/* 078314 800DEE64 4485A000 */ mtc1 $a1, $f20 -/* 078318 800DEE68 F7BA0078 */ sdc1 $f26, 0x78($sp) -/* 07831C 800DEE6C 4486D000 */ mtc1 $a2, $f26 -/* 078320 800DEE70 F7BC0080 */ sdc1 $f28, 0x80($sp) -/* 078324 800DEE74 4487E000 */ mtc1 $a3, $f28 -/* 078328 800DEE78 F7BE0088 */ sdc1 $f30, 0x88($sp) -/* 07832C 800DEE7C C7BE00A0 */ lwc1 $f30, 0xa0($sp) -/* 078330 800DEE80 F7B60068 */ sdc1 $f22, 0x68($sp) -/* 078334 800DEE84 C7B600A4 */ lwc1 $f22, 0xa4($sp) -/* 078338 800DEE88 F7B80070 */ sdc1 $f24, 0x70($sp) -/* 07833C 800DEE8C C7B800A8 */ lwc1 $f24, 0xa8($sp) -/* 078340 800DEE90 AFB5004C */ sw $s5, 0x4c($sp) -/* 078344 800DEE94 8FB500AC */ lw $s5, 0xac($sp) -/* 078348 800DEE98 AFB60050 */ sw $s6, 0x50($sp) -/* 07834C 800DEE9C 8FB600B0 */ lw $s6, 0xb0($sp) -/* 078350 800DEEA0 AFB70054 */ sw $s7, 0x54($sp) -/* 078354 800DEEA4 8FB700B4 */ lw $s7, 0xb4($sp) -/* 078358 800DEEA8 AFBE0058 */ sw $fp, 0x58($sp) -/* 07835C 800DEEAC 8FBE00B8 */ lw $fp, 0xb8($sp) -/* 078360 800DEEB0 AFB40048 */ sw $s4, 0x48($sp) -/* 078364 800DEEB4 8FB400C0 */ lw $s4, 0xc0($sp) -/* 078368 800DEEB8 AFB30044 */ sw $s3, 0x44($sp) -/* 07836C 800DEEBC 8FB300C4 */ lw $s3, 0xc4($sp) -/* 078370 800DEEC0 8FA800BC */ lw $t0, 0xbc($sp) -/* 078374 800DEEC4 AFB20040 */ sw $s2, 0x40($sp) -/* 078378 800DEEC8 0080902D */ daddu $s2, $a0, $zero -/* 07837C 800DEECC AFB1003C */ sw $s1, 0x3c($sp) -/* 078380 800DEED0 2411FFFF */ addiu $s1, $zero, -1 -/* 078384 800DEED4 AFBF005C */ sw $ra, 0x5c($sp) -/* 078388 800DEED8 AFB00038 */ sw $s0, 0x38($sp) -/* 07838C 800DEEDC 4600A306 */ mov.s $f12, $f20 -/* 078390 800DEEE0 4406E000 */ mfc1 $a2, $f28 -/* 078394 800DEEE4 4407F000 */ mfc1 $a3, $f30 -/* 078398 800DEEE8 4600D386 */ mov.s $f14, $f26 -/* 07839C 800DEEEC E7B60010 */ swc1 $f22, 0x10($sp) -/* 0783A0 800DEEF0 E7B80014 */ swc1 $f24, 0x14($sp) -/* 0783A4 800DEEF4 AFB50018 */ sw $s5, 0x18($sp) -/* 0783A8 800DEEF8 AFB6001C */ sw $s6, 0x1c($sp) -/* 0783AC 800DEEFC AFB70020 */ sw $s7, 0x20($sp) -/* 0783B0 800DEF00 AFBE0024 */ sw $fp, 0x24($sp) -/* 0783B4 800DEF04 AFA80028 */ sw $t0, 0x28($sp) -/* 0783B8 800DEF08 AFB4002C */ sw $s4, 0x2c($sp) -/* 0783BC 800DEF0C 0C017512 */ jal test_ray_entities -/* 0783C0 800DEF10 AFB30030 */ sw $s3, 0x30($sp) -/* 0783C4 800DEF14 0040802D */ daddu $s0, $v0, $zero -/* 0783C8 800DEF18 0600000D */ bltz $s0, .L800DEF50 -/* 0783CC 800DEF1C 24020003 */ addiu $v0, $zero, 3 -/* 0783D0 800DEF20 0C04417A */ jal get_entity_by_index -/* 0783D4 800DEF24 0200202D */ daddu $a0, $s0, $zero -/* 0783D8 800DEF28 0040182D */ daddu $v1, $v0, $zero -/* 0783DC 800DEF2C 9062000B */ lbu $v0, 0xb($v1) -/* 0783E0 800DEF30 2C4200FF */ sltiu $v0, $v0, 0xff -/* 0783E4 800DEF34 50400019 */ beql $v0, $zero, .L800DEF9C -/* 0783E8 800DEF38 36114000 */ ori $s1, $s0, 0x4000 -/* 0783EC 800DEF3C 8C620000 */ lw $v0, ($v1) -/* 0783F0 800DEF40 A0600007 */ sb $zero, 7($v1) -/* 0783F4 800DEF44 34420040 */ ori $v0, $v0, 0x40 -/* 0783F8 800DEF48 08037BE7 */ j .L800DEF9C -/* 0783FC 800DEF4C AC620000 */ sw $v0, ($v1) - -.L800DEF50: -/* 078400 800DEF50 16420013 */ bne $s2, $v0, .L800DEFA0 -/* 078404 800DEF54 24020001 */ addiu $v0, $zero, 1 -/* 078408 800DEF58 4405A000 */ mfc1 $a1, $f20 -/* 07840C 800DEF5C 4406D000 */ mfc1 $a2, $f26 -/* 078410 800DEF60 4407E000 */ mfc1 $a3, $f28 -/* 078414 800DEF64 8FA800BC */ lw $t0, 0xbc($sp) -/* 078418 800DEF68 34048000 */ ori $a0, $zero, 0x8000 -/* 07841C 800DEF6C E7BE0010 */ swc1 $f30, 0x10($sp) -/* 078420 800DEF70 E7B60014 */ swc1 $f22, 0x14($sp) -/* 078424 800DEF74 E7B80018 */ swc1 $f24, 0x18($sp) -/* 078428 800DEF78 AFB5001C */ sw $s5, 0x1c($sp) -/* 07842C 800DEF7C AFB60020 */ sw $s6, 0x20($sp) -/* 078430 800DEF80 AFB70024 */ sw $s7, 0x24($sp) -/* 078434 800DEF84 AFBE0028 */ sw $fp, 0x28($sp) -/* 078438 800DEF88 AFB40030 */ sw $s4, 0x30($sp) -/* 07843C 800DEF8C AFB30034 */ sw $s3, 0x34($sp) -/* 078440 800DEF90 0C017334 */ jal test_ray_colliders -/* 078444 800DEF94 AFA8002C */ sw $t0, 0x2c($sp) -/* 078448 800DEF98 0040882D */ daddu $s1, $v0, $zero -.L800DEF9C: -/* 07844C 800DEF9C 24020001 */ addiu $v0, $zero, 1 -.L800DEFA0: -/* 078450 800DEFA0 1242005B */ beq $s2, $v0, .L800DF110 -/* 078454 800DEFA4 24020003 */ addiu $v0, $zero, 3 -/* 078458 800DEFA8 12420059 */ beq $s2, $v0, .L800DF110 -/* 07845C 800DEFAC 24020004 */ addiu $v0, $zero, 4 -/* 078460 800DEFB0 16420002 */ bne $s2, $v0, .L800DEFBC -/* 078464 800DEFB4 3C040001 */ lui $a0, 1 -/* 078468 800DEFB8 3C040008 */ lui $a0, 8 -.L800DEFBC: -/* 07846C 800DEFBC 4405A000 */ mfc1 $a1, $f20 -/* 078470 800DEFC0 4406D000 */ mfc1 $a2, $f26 -/* 078474 800DEFC4 4407E000 */ mfc1 $a3, $f28 -/* 078478 800DEFC8 8FA800BC */ lw $t0, 0xbc($sp) -/* 07847C 800DEFCC E7BE0010 */ swc1 $f30, 0x10($sp) -/* 078480 800DEFD0 E7B60014 */ swc1 $f22, 0x14($sp) -/* 078484 800DEFD4 E7B80018 */ swc1 $f24, 0x18($sp) -/* 078488 800DEFD8 AFB5001C */ sw $s5, 0x1c($sp) -/* 07848C 800DEFDC AFB60020 */ sw $s6, 0x20($sp) -/* 078490 800DEFE0 AFB70024 */ sw $s7, 0x24($sp) -/* 078494 800DEFE4 AFBE0028 */ sw $fp, 0x28($sp) -/* 078498 800DEFE8 AFB40030 */ sw $s4, 0x30($sp) -/* 07849C 800DEFEC AFB30034 */ sw $s3, 0x34($sp) -/* 0784A0 800DEFF0 0C017334 */ jal test_ray_colliders -/* 0784A4 800DEFF4 AFA8002C */ sw $t0, 0x2c($sp) -/* 0784A8 800DEFF8 06210004 */ bgez $s1, .L800DF00C -/* 0784AC 800DEFFC 00000000 */ nop -/* 0784B0 800DF000 0040882D */ daddu $s1, $v0, $zero -/* 0784B4 800DF004 06200043 */ bltz $s1, .L800DF114 -/* 0784B8 800DF008 0220102D */ daddu $v0, $s1, $zero -.L800DF00C: -/* 0784BC 800DF00C C6620000 */ lwc1 $f2, ($s3) -/* 0784C0 800DF010 3C014059 */ lui $at, 0x4059 -/* 0784C4 800DF014 4481A800 */ mtc1 $at, $f21 -/* 0784C8 800DF018 4480A000 */ mtc1 $zero, $f20 -/* 0784CC 800DF01C 460010A1 */ cvt.d.s $f2, $f2 -/* 0784D0 800DF020 46341082 */ mul.d $f2, $f2, $f20 -/* 0784D4 800DF024 00000000 */ nop -/* 0784D8 800DF028 C6800000 */ lwc1 $f0, ($s4) -/* 0784DC 800DF02C 46000021 */ cvt.d.s $f0, $f0 -/* 0784E0 800DF030 46340002 */ mul.d $f0, $f0, $f20 -/* 0784E4 800DF034 00000000 */ nop -/* 0784E8 800DF038 4480B000 */ mtc1 $zero, $f22 -/* 0784EC 800DF03C 00000000 */ nop -/* 0784F0 800DF040 4600B306 */ mov.s $f12, $f22 -/* 0784F4 800DF044 462010A0 */ cvt.s.d $f2, $f2 -/* 0784F8 800DF048 46200020 */ cvt.s.d $f0, $f0 -/* 0784FC 800DF04C 44061000 */ mfc1 $a2, $f2 -/* 078500 800DF050 44070000 */ mfc1 $a3, $f0 -/* 078504 800DF054 0C00A720 */ jal atan2 -/* 078508 800DF058 4600B386 */ mov.s $f14, $f22 -/* 07850C 800DF05C C6820000 */ lwc1 $f2, ($s4) -/* 078510 800DF060 460010A1 */ cvt.d.s $f2, $f2 -/* 078514 800DF064 46341082 */ mul.d $f2, $f2, $f20 -/* 078518 800DF068 00000000 */ nop -/* 07851C 800DF06C 8FA800BC */ lw $t0, 0xbc($sp) -/* 078520 800DF070 C5040000 */ lwc1 $f4, ($t0) -/* 078524 800DF074 46002121 */ cvt.d.s $f4, $f4 -/* 078528 800DF078 46342102 */ mul.d $f4, $f4, $f20 -/* 07852C 800DF07C 00000000 */ nop -/* 078530 800DF080 3C014334 */ lui $at, 0x4334 -/* 078534 800DF084 4481A000 */ mtc1 $at, $f20 -/* 078538 800DF088 4600B306 */ mov.s $f12, $f22 -/* 07853C 800DF08C 4600A581 */ sub.s $f22, $f20, $f0 -/* 078540 800DF090 462010A0 */ cvt.s.d $f2, $f2 -/* 078544 800DF094 44071000 */ mfc1 $a3, $f2 -/* 078548 800DF098 46202120 */ cvt.s.d $f4, $f4 -/* 07854C 800DF09C 44062000 */ mfc1 $a2, $f4 -/* 078550 800DF0A0 0C00A720 */ jal atan2 -/* 078554 800DF0A4 46006386 */ mov.s $f14, $f12 -/* 078558 800DF0A8 3C0142B4 */ lui $at, 0x42b4 -/* 07855C 800DF0AC 44811000 */ mtc1 $at, $f2 -/* 078560 800DF0B0 00000000 */ nop -/* 078564 800DF0B4 4602B032 */ c.eq.s $f22, $f2 -/* 078568 800DF0B8 00000000 */ nop -/* 07856C 800DF0BC 45000005 */ bc1f .L800DF0D4 -/* 078570 800DF0C0 4600A501 */ sub.s $f20, $f20, $f0 -/* 078574 800DF0C4 4602A032 */ c.eq.s $f20, $f2 -/* 078578 800DF0C8 00000000 */ nop -/* 07857C 800DF0CC 45010011 */ bc1t .L800DF114 -/* 078580 800DF0D0 0220102D */ daddu $v0, $s1, $zero -.L800DF0D4: -/* 078584 800DF0D4 4600B021 */ cvt.d.s $f0, $f22 -/* 078588 800DF0D8 3C01403E */ lui $at, 0x403e -/* 07858C 800DF0DC 44811800 */ mtc1 $at, $f3 -/* 078590 800DF0E0 44801000 */ mtc1 $zero, $f2 -/* 078594 800DF0E4 46200005 */ abs.d $f0, $f0 -/* 078598 800DF0E8 4620103E */ c.le.d $f2, $f0 -/* 07859C 800DF0EC 00000000 */ nop -/* 0785A0 800DF0F0 45010008 */ bc1t .L800DF114 -/* 0785A4 800DF0F4 0220102D */ daddu $v0, $s1, $zero -/* 0785A8 800DF0F8 4600A021 */ cvt.d.s $f0, $f20 -/* 0785AC 800DF0FC 46200005 */ abs.d $f0, $f0 -/* 0785B0 800DF100 4620103E */ c.le.d $f2, $f0 -/* 0785B4 800DF104 00000000 */ nop -/* 0785B8 800DF108 45020001 */ bc1fl .L800DF110 -/* 0785BC 800DF10C 2411FFFF */ addiu $s1, $zero, -1 -.L800DF110: -/* 0785C0 800DF110 0220102D */ daddu $v0, $s1, $zero -.L800DF114: -/* 0785C4 800DF114 8FBF005C */ lw $ra, 0x5c($sp) -/* 0785C8 800DF118 8FBE0058 */ lw $fp, 0x58($sp) -/* 0785CC 800DF11C 8FB70054 */ lw $s7, 0x54($sp) -/* 0785D0 800DF120 8FB60050 */ lw $s6, 0x50($sp) -/* 0785D4 800DF124 8FB5004C */ lw $s5, 0x4c($sp) -/* 0785D8 800DF128 8FB40048 */ lw $s4, 0x48($sp) -/* 0785DC 800DF12C 8FB30044 */ lw $s3, 0x44($sp) -/* 0785E0 800DF130 8FB20040 */ lw $s2, 0x40($sp) -/* 0785E4 800DF134 8FB1003C */ lw $s1, 0x3c($sp) -/* 0785E8 800DF138 8FB00038 */ lw $s0, 0x38($sp) -/* 0785EC 800DF13C D7BE0088 */ ldc1 $f30, 0x88($sp) -/* 0785F0 800DF140 D7BC0080 */ ldc1 $f28, 0x80($sp) -/* 0785F4 800DF144 D7BA0078 */ ldc1 $f26, 0x78($sp) -/* 0785F8 800DF148 D7B80070 */ ldc1 $f24, 0x70($sp) -/* 0785FC 800DF14C D7B60068 */ ldc1 $f22, 0x68($sp) -/* 078600 800DF150 D7B40060 */ ldc1 $f20, 0x60($sp) -/* 078604 800DF154 03E00008 */ jr $ra -/* 078608 800DF158 27BD0090 */ addiu $sp, $sp, 0x90 - -func_800DF15C: -/* 07860C 800DF15C 27BDFF60 */ addiu $sp, $sp, -0xa0 -/* 078610 800DF160 AFB1006C */ sw $s1, 0x6c($sp) -/* 078614 800DF164 00A0882D */ daddu $s1, $a1, $zero -/* 078618 800DF168 AFB00068 */ sw $s0, 0x68($sp) -/* 07861C 800DF16C 00C0802D */ daddu $s0, $a2, $zero -/* 078620 800DF170 AFBF0078 */ sw $ra, 0x78($sp) -/* 078624 800DF174 AFB30074 */ sw $s3, 0x74($sp) -/* 078628 800DF178 AFB20070 */ sw $s2, 0x70($sp) -/* 07862C 800DF17C F7BA0098 */ sdc1 $f26, 0x98($sp) -/* 078630 800DF180 F7B80090 */ sdc1 $f24, 0x90($sp) -/* 078634 800DF184 F7B60088 */ sdc1 $f22, 0x88($sp) -/* 078638 800DF188 F7B40080 */ sdc1 $f20, 0x80($sp) -/* 07863C 800DF18C 848200B2 */ lh $v0, 0xb2($a0) -/* 078640 800DF190 3C013F00 */ lui $at, 0x3f00 -/* 078644 800DF194 44811000 */ mtc1 $at, $f2 -/* 078648 800DF198 44820000 */ mtc1 $v0, $f0 -/* 07864C 800DF19C 00000000 */ nop -/* 078650 800DF1A0 46800020 */ cvt.s.w $f0, $f0 -/* 078654 800DF1A4 46020582 */ mul.s $f22, $f0, $f2 -/* 078658 800DF1A8 00000000 */ nop -/* 07865C 800DF1AC 00E0902D */ daddu $s2, $a3, $zero -/* 078660 800DF1B0 C7A200B4 */ lwc1 $f2, 0xb4($sp) -/* 078664 800DF1B4 3C0140C9 */ lui $at, 0x40c9 -/* 078668 800DF1B8 34210FD0 */ ori $at, $at, 0xfd0 -/* 07866C 800DF1BC 44810000 */ mtc1 $at, $f0 -/* 078670 800DF1C0 27A50038 */ addiu $a1, $sp, 0x38 -/* 078674 800DF1C4 46001082 */ mul.s $f2, $f2, $f0 -/* 078678 800DF1C8 00000000 */ nop -/* 07867C 800DF1CC 27A6003C */ addiu $a2, $sp, 0x3c -/* 078680 800DF1D0 848200B0 */ lh $v0, 0xb0($a0) -/* 078684 800DF1D4 3C013E92 */ lui $at, 0x3e92 -/* 078688 800DF1D8 34216E98 */ ori $at, $at, 0x6e98 -/* 07868C 800DF1DC 44810000 */ mtc1 $at, $f0 -/* 078690 800DF1E0 44822000 */ mtc1 $v0, $f4 -/* 078694 800DF1E4 00000000 */ nop -/* 078698 800DF1E8 46802120 */ cvt.s.w $f4, $f4 -/* 07869C 800DF1EC 46002682 */ mul.s $f26, $f4, $f0 -/* 0786A0 800DF1F0 00000000 */ nop -/* 0786A4 800DF1F4 3C0143B4 */ lui $at, 0x43b4 -/* 0786A8 800DF1F8 44816000 */ mtc1 $at, $f12 -/* 0786AC 800DF1FC C7B800B0 */ lwc1 $f24, 0xb0($sp) -/* 0786B0 800DF200 0C00A82D */ jal sin_cos_rad -/* 0786B4 800DF204 460C1303 */ div.s $f12, $f2, $f12 -/* 0786B8 800DF208 4616C500 */ add.s $f20, $f24, $f22 -/* 0786BC 800DF20C C7A0003C */ lwc1 $f0, 0x3c($sp) -/* 0786C0 800DF210 C7A40038 */ lwc1 $f4, 0x38($sp) -/* 0786C4 800DF214 46000007 */ neg.s $f0, $f0 -/* 0786C8 800DF218 E7A0003C */ swc1 $f0, 0x3c($sp) -/* 0786CC 800DF21C E7B4004C */ swc1 $f20, 0x4c($sp) -/* 0786D0 800DF220 C6020000 */ lwc1 $f2, ($s0) -/* 0786D4 800DF224 2413FFFF */ addiu $s3, $zero, -1 -/* 0786D8 800DF228 E7A00018 */ swc1 $f0, 0x18($sp) -/* 0786DC 800DF22C 3C018011 */ lui $at, 0x8011 -/* 0786E0 800DF230 D420BC50 */ ldc1 $f0, -0x43b0($at) -/* 0786E4 800DF234 27A20040 */ addiu $v0, $sp, 0x40 -/* 0786E8 800DF238 AFA2001C */ sw $v0, 0x1c($sp) -/* 0786EC 800DF23C 27A20044 */ addiu $v0, $sp, 0x44 -/* 0786F0 800DF240 AFA20020 */ sw $v0, 0x20($sp) -/* 0786F4 800DF244 27A20048 */ addiu $v0, $sp, 0x48 -/* 0786F8 800DF248 AFA20024 */ sw $v0, 0x24($sp) -/* 0786FC 800DF24C 27A2004C */ addiu $v0, $sp, 0x4c -/* 078700 800DF250 AFA20028 */ sw $v0, 0x28($sp) -/* 078704 800DF254 27A20050 */ addiu $v0, $sp, 0x50 -/* 078708 800DF258 AFA2002C */ sw $v0, 0x2c($sp) -/* 07870C 800DF25C 27A20054 */ addiu $v0, $sp, 0x54 -/* 078710 800DF260 AFA20030 */ sw $v0, 0x30($sp) -/* 078714 800DF264 27A20058 */ addiu $v0, $sp, 0x58 -/* 078718 800DF268 E7A40010 */ swc1 $f4, 0x10($sp) -/* 07871C 800DF26C AFA00014 */ sw $zero, 0x14($sp) -/* 078720 800DF270 AFA20034 */ sw $v0, 0x34($sp) -/* 078724 800DF274 460010A1 */ cvt.d.s $f2, $f2 -/* 078728 800DF278 46201080 */ add.d $f2, $f2, $f0 -/* 07872C 800DF27C 8E250000 */ lw $a1, ($s1) -/* 078730 800DF280 8E470000 */ lw $a3, ($s2) -/* 078734 800DF284 462010A0 */ cvt.s.d $f2, $f2 -/* 078738 800DF288 44061000 */ mfc1 $a2, $f2 -/* 07873C 800DF28C 0C037B97 */ jal func_800DEE5C -/* 078740 800DF290 0000202D */ daddu $a0, $zero, $zero -/* 078744 800DF294 04420009 */ bltzl $v0, .L800DF2BC -/* 078748 800DF298 4616C500 */ add.s $f20, $f24, $f22 -/* 07874C 800DF29C C7A0004C */ lwc1 $f0, 0x4c($sp) -/* 078750 800DF2A0 4614003E */ c.le.s $f0, $f20 -/* 078754 800DF2A4 00000000 */ nop -/* 078758 800DF2A8 45000003 */ bc1f .L800DF2B8 -/* 07875C 800DF2AC 24030001 */ addiu $v1, $zero, 1 -/* 078760 800DF2B0 8FA200B8 */ lw $v0, 0xb8($sp) -/* 078764 800DF2B4 AC430000 */ sw $v1, ($v0) -.L800DF2B8: -/* 078768 800DF2B8 4616C500 */ add.s $f20, $f24, $f22 -.L800DF2BC: -/* 07876C 800DF2BC C7A00038 */ lwc1 $f0, 0x38($sp) -/* 078770 800DF2C0 C7A2003C */ lwc1 $f2, 0x3c($sp) -/* 078774 800DF2C4 E7B4004C */ swc1 $f20, 0x4c($sp) -/* 078778 800DF2C8 C6040000 */ lwc1 $f4, ($s0) -/* 07877C 800DF2CC 27A20040 */ addiu $v0, $sp, 0x40 -/* 078780 800DF2D0 AFA2001C */ sw $v0, 0x1c($sp) -/* 078784 800DF2D4 27A20044 */ addiu $v0, $sp, 0x44 -/* 078788 800DF2D8 AFA20020 */ sw $v0, 0x20($sp) -/* 07878C 800DF2DC 27A20048 */ addiu $v0, $sp, 0x48 -/* 078790 800DF2E0 AFA20024 */ sw $v0, 0x24($sp) -/* 078794 800DF2E4 27A2004C */ addiu $v0, $sp, 0x4c -/* 078798 800DF2E8 AFA20028 */ sw $v0, 0x28($sp) -/* 07879C 800DF2EC 27A20050 */ addiu $v0, $sp, 0x50 -/* 0787A0 800DF2F0 AFA2002C */ sw $v0, 0x2c($sp) -/* 0787A4 800DF2F4 27A20054 */ addiu $v0, $sp, 0x54 -/* 0787A8 800DF2F8 AFA20030 */ sw $v0, 0x30($sp) -/* 0787AC 800DF2FC 27A20058 */ addiu $v0, $sp, 0x58 -/* 0787B0 800DF300 E7A00010 */ swc1 $f0, 0x10($sp) -/* 0787B4 800DF304 AFA00014 */ sw $zero, 0x14($sp) -/* 0787B8 800DF308 E7A20018 */ swc1 $f2, 0x18($sp) -/* 0787BC 800DF30C AFA20034 */ sw $v0, 0x34($sp) -/* 0787C0 800DF310 461A2100 */ add.s $f4, $f4, $f26 -/* 0787C4 800DF314 8E250000 */ lw $a1, ($s1) -/* 0787C8 800DF318 8E470000 */ lw $a3, ($s2) -/* 0787CC 800DF31C 44062000 */ mfc1 $a2, $f4 -/* 0787D0 800DF320 0C037B97 */ jal func_800DEE5C -/* 0787D4 800DF324 0000202D */ daddu $a0, $zero, $zero -/* 0787D8 800DF328 4480C000 */ mtc1 $zero, $f24 -/* 0787DC 800DF32C 0040802D */ daddu $s0, $v0, $zero -/* 0787E0 800DF330 06000020 */ bltz $s0, .L800DF3B4 -/* 0787E4 800DF334 4600C686 */ mov.s $f26, $f24 -/* 0787E8 800DF338 C7B6004C */ lwc1 $f22, 0x4c($sp) -/* 0787EC 800DF33C 4614B03E */ c.le.s $f22, $f20 -/* 0787F0 800DF340 00000000 */ nop -/* 0787F4 800DF344 4500001B */ bc1f .L800DF3B4 -/* 0787F8 800DF348 27A4005C */ addiu $a0, $sp, 0x5c -/* 0787FC 800DF34C 4614B581 */ sub.s $f22, $f22, $f20 -/* 078800 800DF350 4406C000 */ mfc1 $a2, $f24 -/* 078804 800DF354 C7B40038 */ lwc1 $f20, 0x38($sp) -/* 078808 800DF358 4407C000 */ mfc1 $a3, $f24 -/* 07880C 800DF35C C7A2003C */ lwc1 $f2, 0x3c($sp) -/* 078810 800DF360 4614B502 */ mul.s $f20, $f22, $f20 -/* 078814 800DF364 00000000 */ nop -/* 078818 800DF368 C7A00050 */ lwc1 $f0, 0x50($sp) -/* 07881C 800DF36C 27A50060 */ addiu $a1, $sp, 0x60 -/* 078820 800DF370 E7A00010 */ swc1 $f0, 0x10($sp) -/* 078824 800DF374 C7A00058 */ lwc1 $f0, 0x58($sp) -/* 078828 800DF378 4602B582 */ mul.s $f22, $f22, $f2 -/* 07882C 800DF37C 00000000 */ nop -/* 078830 800DF380 0C037CFF */ jal func_800DF3FC -/* 078834 800DF384 E7A00014 */ swc1 $f0, 0x14($sp) -/* 078838 800DF388 C7A0005C */ lwc1 $f0, 0x5c($sp) -/* 07883C 800DF38C 4600A500 */ add.s $f20, $f20, $f0 -/* 078840 800DF390 C6200000 */ lwc1 $f0, ($s1) -/* 078844 800DF394 46140000 */ add.s $f0, $f0, $f20 -/* 078848 800DF398 E6200000 */ swc1 $f0, ($s1) -/* 07884C 800DF39C C7A00060 */ lwc1 $f0, 0x60($sp) -/* 078850 800DF3A0 4600B580 */ add.s $f22, $f22, $f0 -/* 078854 800DF3A4 C6400000 */ lwc1 $f0, ($s2) -/* 078858 800DF3A8 46160000 */ add.s $f0, $f0, $f22 -/* 07885C 800DF3AC 0200982D */ daddu $s3, $s0, $zero -/* 078860 800DF3B0 E6400000 */ swc1 $f0, ($s2) -.L800DF3B4: -/* 078864 800DF3B4 C6200000 */ lwc1 $f0, ($s1) -/* 078868 800DF3B8 461A0000 */ add.s $f0, $f0, $f26 -/* 07886C 800DF3BC E6200000 */ swc1 $f0, ($s1) -/* 078870 800DF3C0 C6400000 */ lwc1 $f0, ($s2) -/* 078874 800DF3C4 46180000 */ add.s $f0, $f0, $f24 -/* 078878 800DF3C8 0260102D */ daddu $v0, $s3, $zero -/* 07887C 800DF3CC E6400000 */ swc1 $f0, ($s2) -/* 078880 800DF3D0 8FBF0078 */ lw $ra, 0x78($sp) -/* 078884 800DF3D4 8FB30074 */ lw $s3, 0x74($sp) -/* 078888 800DF3D8 8FB20070 */ lw $s2, 0x70($sp) -/* 07888C 800DF3DC 8FB1006C */ lw $s1, 0x6c($sp) -/* 078890 800DF3E0 8FB00068 */ lw $s0, 0x68($sp) -/* 078894 800DF3E4 D7BA0098 */ ldc1 $f26, 0x98($sp) -/* 078898 800DF3E8 D7B80090 */ ldc1 $f24, 0x90($sp) -/* 07889C 800DF3EC D7B60088 */ ldc1 $f22, 0x88($sp) -/* 0788A0 800DF3F0 D7B40080 */ ldc1 $f20, 0x80($sp) -/* 0788A4 800DF3F4 03E00008 */ jr $ra -/* 0788A8 800DF3F8 27BD00A0 */ addiu $sp, $sp, 0xa0 - -func_800DF3FC: -/* 0788AC 800DF3FC 44863000 */ mtc1 $a2, $f6 -/* 0788B0 800DF400 C7A40010 */ lwc1 $f4, 0x10($sp) -/* 0788B4 800DF404 46043082 */ mul.s $f2, $f6, $f4 -/* 0788B8 800DF408 00000000 */ nop -/* 0788BC 800DF40C 44874000 */ mtc1 $a3, $f8 -/* 0788C0 800DF410 C7AA0014 */ lwc1 $f10, 0x14($sp) -/* 0788C4 800DF414 460A4002 */ mul.s $f0, $f8, $f10 -/* 0788C8 800DF418 00000000 */ nop -/* 0788CC 800DF41C 46001080 */ add.s $f2, $f2, $f0 -/* 0788D0 800DF420 46041102 */ mul.s $f4, $f2, $f4 -/* 0788D4 800DF424 00000000 */ nop -/* 0788D8 800DF428 460A1082 */ mul.s $f2, $f2, $f10 -/* 0788DC 800DF42C 00000000 */ nop -/* 0788E0 800DF430 46043181 */ sub.s $f6, $f6, $f4 -/* 0788E4 800DF434 3C013F00 */ lui $at, 0x3f00 -/* 0788E8 800DF438 44810000 */ mtc1 $at, $f0 -/* 0788EC 800DF43C 00000000 */ nop -/* 0788F0 800DF440 46003182 */ mul.s $f6, $f6, $f0 -/* 0788F4 800DF444 00000000 */ nop -/* 0788F8 800DF448 46024201 */ sub.s $f8, $f8, $f2 -/* 0788FC 800DF44C 46004202 */ mul.s $f8, $f8, $f0 -/* 078900 800DF450 00000000 */ nop -/* 078904 800DF454 E4860000 */ swc1 $f6, ($a0) -/* 078908 800DF458 03E00008 */ jr $ra -/* 07890C 800DF45C E4A80000 */ swc1 $f8, ($a1) - -test_player_lateral: -/* 078910 800DF460 27BDFF48 */ addiu $sp, $sp, -0xb8 -/* 078914 800DF464 AFB40078 */ sw $s4, 0x78($sp) -/* 078918 800DF468 0080A02D */ daddu $s4, $a0, $zero -/* 07891C 800DF46C AFB1006C */ sw $s1, 0x6c($sp) -/* 078920 800DF470 00A0882D */ daddu $s1, $a1, $zero -/* 078924 800DF474 AFB5007C */ sw $s5, 0x7c($sp) -/* 078928 800DF478 00C0A82D */ daddu $s5, $a2, $zero -/* 07892C 800DF47C AFB20070 */ sw $s2, 0x70($sp) -/* 078930 800DF480 00E0902D */ daddu $s2, $a3, $zero -/* 078934 800DF484 AFB30074 */ sw $s3, 0x74($sp) -/* 078938 800DF488 AFBF0080 */ sw $ra, 0x80($sp) -/* 07893C 800DF48C AFB00068 */ sw $s0, 0x68($sp) -/* 078940 800DF490 F7BE00B0 */ sdc1 $f30, 0xb0($sp) -/* 078944 800DF494 F7BC00A8 */ sdc1 $f28, 0xa8($sp) -/* 078948 800DF498 F7BA00A0 */ sdc1 $f26, 0xa0($sp) -/* 07894C 800DF49C F7B80098 */ sdc1 $f24, 0x98($sp) -/* 078950 800DF4A0 F7B60090 */ sdc1 $f22, 0x90($sp) -/* 078954 800DF4A4 F7B40088 */ sdc1 $f20, 0x88($sp) -/* 078958 800DF4A8 8E820000 */ lw $v0, ($s4) -/* 07895C 800DF4AC 4480A000 */ mtc1 $zero, $f20 -/* 078960 800DF4B0 C7BC00C8 */ lwc1 $f28, 0xc8($sp) -/* 078964 800DF4B4 30420006 */ andi $v0, $v0, 6 -/* 078968 800DF4B8 14400004 */ bnez $v0, .L800DF4CC -/* 07896C 800DF4BC 2413FFFF */ addiu $s3, $zero, -1 -/* 078970 800DF4C0 3C014120 */ lui $at, 0x4120 -/* 078974 800DF4C4 342128F6 */ ori $at, $at, 0x28f6 -/* 078978 800DF4C8 4481A000 */ mtc1 $at, $f20 -.L800DF4CC: -/* 07897C 800DF4CC 27A50038 */ addiu $a1, $sp, 0x38 -/* 078980 800DF4D0 3C0140C9 */ lui $at, 0x40c9 -/* 078984 800DF4D4 34210FD0 */ ori $at, $at, 0xfd0 -/* 078988 800DF4D8 44810000 */ mtc1 $at, $f0 -/* 07898C 800DF4DC C7A400CC */ lwc1 $f4, 0xcc($sp) -/* 078990 800DF4E0 27A6003C */ addiu $a2, $sp, 0x3c -/* 078994 800DF4E4 46002102 */ mul.s $f4, $f4, $f0 -/* 078998 800DF4E8 00000000 */ nop -/* 07899C 800DF4EC 868200B2 */ lh $v0, 0xb2($s4) -/* 0789A0 800DF4F0 3C013F00 */ lui $at, 0x3f00 -/* 0789A4 800DF4F4 44811000 */ mtc1 $at, $f2 -/* 0789A8 800DF4F8 3C0143B4 */ lui $at, 0x43b4 -/* 0789AC 800DF4FC 44816000 */ mtc1 $at, $f12 -/* 0789B0 800DF500 44820000 */ mtc1 $v0, $f0 -/* 0789B4 800DF504 00000000 */ nop -/* 0789B8 800DF508 46800020 */ cvt.s.w $f0, $f0 -/* 0789BC 800DF50C 46020782 */ mul.s $f30, $f0, $f2 -/* 0789C0 800DF510 00000000 */ nop -/* 0789C4 800DF514 0C00A82D */ jal sin_cos_rad -/* 0789C8 800DF518 460C2303 */ div.s $f12, $f4, $f12 -/* 0789CC 800DF51C 27A20040 */ addiu $v0, $sp, 0x40 -/* 0789D0 800DF520 461EE580 */ add.s $f22, $f28, $f30 -/* 0789D4 800DF524 C7A0003C */ lwc1 $f0, 0x3c($sp) -/* 0789D8 800DF528 C7A20038 */ lwc1 $f2, 0x38($sp) -/* 0789DC 800DF52C 46000007 */ neg.s $f0, $f0 -/* 0789E0 800DF530 E7A0003C */ swc1 $f0, 0x3c($sp) -/* 0789E4 800DF534 E7B6004C */ swc1 $f22, 0x4c($sp) -/* 0789E8 800DF538 C6A40000 */ lwc1 $f4, ($s5) -/* 0789EC 800DF53C 4602E682 */ mul.s $f26, $f28, $f2 -/* 0789F0 800DF540 00000000 */ nop -/* 0789F4 800DF544 AFA2001C */ sw $v0, 0x1c($sp) -/* 0789F8 800DF548 27A20044 */ addiu $v0, $sp, 0x44 -/* 0789FC 800DF54C AFA20020 */ sw $v0, 0x20($sp) -/* 078A00 800DF550 27A20048 */ addiu $v0, $sp, 0x48 -/* 078A04 800DF554 AFA20024 */ sw $v0, 0x24($sp) -/* 078A08 800DF558 27A2004C */ addiu $v0, $sp, 0x4c -/* 078A0C 800DF55C AFA20028 */ sw $v0, 0x28($sp) -/* 078A10 800DF560 27A20050 */ addiu $v0, $sp, 0x50 -/* 078A14 800DF564 AFA2002C */ sw $v0, 0x2c($sp) -/* 078A18 800DF568 27A20054 */ addiu $v0, $sp, 0x54 -/* 078A1C 800DF56C AFA20030 */ sw $v0, 0x30($sp) -/* 078A20 800DF570 27A20058 */ addiu $v0, $sp, 0x58 -/* 078A24 800DF574 E7A20010 */ swc1 $f2, 0x10($sp) -/* 078A28 800DF578 AFA00014 */ sw $zero, 0x14($sp) -/* 078A2C 800DF57C E7A00018 */ swc1 $f0, 0x18($sp) -/* 078A30 800DF580 AFA20034 */ sw $v0, 0x34($sp) -/* 078A34 800DF584 46142100 */ add.s $f4, $f4, $f20 -/* 078A38 800DF588 8E250000 */ lw $a1, ($s1) -/* 078A3C 800DF58C 8E470000 */ lw $a3, ($s2) -/* 078A40 800DF590 44062000 */ mfc1 $a2, $f4 -/* 078A44 800DF594 4600E602 */ mul.s $f24, $f28, $f0 -/* 078A48 800DF598 00000000 */ nop -/* 078A4C 800DF59C 0C037B97 */ jal func_800DEE5C -/* 078A50 800DF5A0 0000202D */ daddu $a0, $zero, $zero -/* 078A54 800DF5A4 0040802D */ daddu $s0, $v0, $zero -/* 078A58 800DF5A8 06000008 */ bltz $s0, .L800DF5CC -/* 078A5C 800DF5AC 00000000 */ nop -/* 078A60 800DF5B0 C7A4004C */ lwc1 $f4, 0x4c($sp) -/* 078A64 800DF5B4 4616203E */ c.le.s $f4, $f22 -/* 078A68 800DF5B8 00000000 */ nop -/* 078A6C 800DF5BC 45000003 */ bc1f .L800DF5CC -/* 078A70 800DF5C0 27A4005C */ addiu $a0, $sp, 0x5c -/* 078A74 800DF5C4 08037DA1 */ j .L800DF684 -/* 078A78 800DF5C8 46162101 */ sub.s $f4, $f4, $f22 - -.L800DF5CC: -/* 078A7C 800DF5CC 868300B0 */ lh $v1, 0xb0($s4) -/* 078A80 800DF5D0 C6A60000 */ lwc1 $f6, ($s5) -/* 078A84 800DF5D4 C7A00038 */ lwc1 $f0, 0x38($sp) -/* 078A88 800DF5D8 AFA00014 */ sw $zero, 0x14($sp) -/* 078A8C 800DF5DC E7A00010 */ swc1 $f0, 0x10($sp) -/* 078A90 800DF5E0 C7A4003C */ lwc1 $f4, 0x3c($sp) -/* 078A94 800DF5E4 27A20040 */ addiu $v0, $sp, 0x40 -/* 078A98 800DF5E8 AFA2001C */ sw $v0, 0x1c($sp) -/* 078A9C 800DF5EC 27A20044 */ addiu $v0, $sp, 0x44 -/* 078AA0 800DF5F0 AFA20020 */ sw $v0, 0x20($sp) -/* 078AA4 800DF5F4 27A20048 */ addiu $v0, $sp, 0x48 -/* 078AA8 800DF5F8 AFA20024 */ sw $v0, 0x24($sp) -/* 078AAC 800DF5FC 27A2004C */ addiu $v0, $sp, 0x4c -/* 078AB0 800DF600 3C013FE8 */ lui $at, 0x3fe8 -/* 078AB4 800DF604 44810800 */ mtc1 $at, $f1 -/* 078AB8 800DF608 44800000 */ mtc1 $zero, $f0 -/* 078ABC 800DF60C 44831000 */ mtc1 $v1, $f2 -/* 078AC0 800DF610 00000000 */ nop -/* 078AC4 800DF614 468010A1 */ cvt.d.w $f2, $f2 -/* 078AC8 800DF618 AFA20028 */ sw $v0, 0x28($sp) -/* 078ACC 800DF61C 46201082 */ mul.d $f2, $f2, $f0 -/* 078AD0 800DF620 00000000 */ nop -/* 078AD4 800DF624 27A20050 */ addiu $v0, $sp, 0x50 -/* 078AD8 800DF628 AFA2002C */ sw $v0, 0x2c($sp) -/* 078ADC 800DF62C 27A20054 */ addiu $v0, $sp, 0x54 -/* 078AE0 800DF630 AFA20030 */ sw $v0, 0x30($sp) -/* 078AE4 800DF634 27A20058 */ addiu $v0, $sp, 0x58 -/* 078AE8 800DF638 AFA20034 */ sw $v0, 0x34($sp) -/* 078AEC 800DF63C E7A40018 */ swc1 $f4, 0x18($sp) -/* 078AF0 800DF640 46201520 */ cvt.s.d $f20, $f2 -/* 078AF4 800DF644 46143180 */ add.s $f6, $f6, $f20 -/* 078AF8 800DF648 8E250000 */ lw $a1, ($s1) -/* 078AFC 800DF64C 8E470000 */ lw $a3, ($s2) -/* 078B00 800DF650 44063000 */ mfc1 $a2, $f6 -/* 078B04 800DF654 0C037B97 */ jal func_800DEE5C -/* 078B08 800DF658 0000202D */ daddu $a0, $zero, $zero -/* 078B0C 800DF65C 0040802D */ daddu $s0, $v0, $zero -/* 078B10 800DF660 06000021 */ bltz $s0, .L800DF6E8 -/* 078B14 800DF664 00000000 */ nop -/* 078B18 800DF668 461EE000 */ add.s $f0, $f28, $f30 -/* 078B1C 800DF66C C7A4004C */ lwc1 $f4, 0x4c($sp) -/* 078B20 800DF670 4600203E */ c.le.s $f4, $f0 -/* 078B24 800DF674 00000000 */ nop -/* 078B28 800DF678 4500001B */ bc1f .L800DF6E8 -/* 078B2C 800DF67C 27A4005C */ addiu $a0, $sp, 0x5c -/* 078B30 800DF680 46002101 */ sub.s $f4, $f4, $f0 -.L800DF684: -/* 078B34 800DF684 4406D000 */ mfc1 $a2, $f26 -/* 078B38 800DF688 C7A00038 */ lwc1 $f0, 0x38($sp) -/* 078B3C 800DF68C 4407C000 */ mfc1 $a3, $f24 -/* 078B40 800DF690 C7A2003C */ lwc1 $f2, 0x3c($sp) -/* 078B44 800DF694 46002582 */ mul.s $f22, $f4, $f0 -/* 078B48 800DF698 00000000 */ nop -/* 078B4C 800DF69C C7A00050 */ lwc1 $f0, 0x50($sp) -/* 078B50 800DF6A0 27A50060 */ addiu $a1, $sp, 0x60 -/* 078B54 800DF6A4 E7A00010 */ swc1 $f0, 0x10($sp) -/* 078B58 800DF6A8 C7A00058 */ lwc1 $f0, 0x58($sp) -/* 078B5C 800DF6AC 46022502 */ mul.s $f20, $f4, $f2 -/* 078B60 800DF6B0 00000000 */ nop -/* 078B64 800DF6B4 0C037CFF */ jal func_800DF3FC -/* 078B68 800DF6B8 E7A00014 */ swc1 $f0, 0x14($sp) -/* 078B6C 800DF6BC C7A2005C */ lwc1 $f2, 0x5c($sp) -/* 078B70 800DF6C0 4602B080 */ add.s $f2, $f22, $f2 -/* 078B74 800DF6C4 C6200000 */ lwc1 $f0, ($s1) -/* 078B78 800DF6C8 46020000 */ add.s $f0, $f0, $f2 -/* 078B7C 800DF6CC E6200000 */ swc1 $f0, ($s1) -/* 078B80 800DF6D0 C7A00060 */ lwc1 $f0, 0x60($sp) -/* 078B84 800DF6D4 4600A000 */ add.s $f0, $f20, $f0 -/* 078B88 800DF6D8 C6420000 */ lwc1 $f2, ($s2) -/* 078B8C 800DF6DC 46001080 */ add.s $f2, $f2, $f0 -/* 078B90 800DF6E0 0200982D */ daddu $s3, $s0, $zero -/* 078B94 800DF6E4 E6420000 */ swc1 $f2, ($s2) -.L800DF6E8: -/* 078B98 800DF6E8 C6200000 */ lwc1 $f0, ($s1) -/* 078B9C 800DF6EC 461A0000 */ add.s $f0, $f0, $f26 -/* 078BA0 800DF6F0 E6200000 */ swc1 $f0, ($s1) -/* 078BA4 800DF6F4 C6400000 */ lwc1 $f0, ($s2) -/* 078BA8 800DF6F8 46180000 */ add.s $f0, $f0, $f24 -/* 078BAC 800DF6FC 0260102D */ daddu $v0, $s3, $zero -/* 078BB0 800DF700 E6400000 */ swc1 $f0, ($s2) -/* 078BB4 800DF704 8FBF0080 */ lw $ra, 0x80($sp) -/* 078BB8 800DF708 8FB5007C */ lw $s5, 0x7c($sp) -/* 078BBC 800DF70C 8FB40078 */ lw $s4, 0x78($sp) -/* 078BC0 800DF710 8FB30074 */ lw $s3, 0x74($sp) -/* 078BC4 800DF714 8FB20070 */ lw $s2, 0x70($sp) -/* 078BC8 800DF718 8FB1006C */ lw $s1, 0x6c($sp) -/* 078BCC 800DF71C 8FB00068 */ lw $s0, 0x68($sp) -/* 078BD0 800DF720 D7BE00B0 */ ldc1 $f30, 0xb0($sp) -/* 078BD4 800DF724 D7BC00A8 */ ldc1 $f28, 0xa8($sp) -/* 078BD8 800DF728 D7BA00A0 */ ldc1 $f26, 0xa0($sp) -/* 078BDC 800DF72C D7B80098 */ ldc1 $f24, 0x98($sp) -/* 078BE0 800DF730 D7B60090 */ ldc1 $f22, 0x90($sp) -/* 078BE4 800DF734 D7B40088 */ ldc1 $f20, 0x88($sp) -/* 078BE8 800DF738 03E00008 */ jr $ra -/* 078BEC 800DF73C 27BD00B8 */ addiu $sp, $sp, 0xb8 - -func_800DF740: -/* 078BF0 800DF740 27BDFFE0 */ addiu $sp, $sp, -0x20 -/* 078BF4 800DF744 AFBF0018 */ sw $ra, 0x18($sp) -/* 078BF8 800DF748 AFB10014 */ sw $s1, 0x14($sp) -/* 078BFC 800DF74C 0C0382CE */ jal func_800E0B38 -/* 078C00 800DF750 AFB00010 */ sw $s0, 0x10($sp) -/* 078C04 800DF754 3C108011 */ lui $s0, 0x8011 -/* 078C08 800DF758 2610EFC8 */ addiu $s0, $s0, -0x1038 -/* 078C0C 800DF75C 860200C0 */ lh $v0, 0xc0($s0) -/* 078C10 800DF760 3C118016 */ lui $s1, 0x8016 -/* 078C14 800DF764 2631A550 */ addiu $s1, $s1, -0x5ab0 -/* 078C18 800DF768 28420065 */ slti $v0, $v0, 0x65 -/* 078C1C 800DF76C 10400009 */ beqz $v0, .L800DF794 -/* 078C20 800DF770 00000000 */ nop -/* 078C24 800DF774 C602002C */ lwc1 $f2, 0x2c($s0) -/* 078C28 800DF778 3C01C4FA */ lui $at, 0xc4fa -/* 078C2C 800DF77C 44810000 */ mtc1 $at, $f0 -/* 078C30 800DF780 00000000 */ nop -/* 078C34 800DF784 4600103C */ c.lt.s $f2, $f0 -/* 078C38 800DF788 00000000 */ nop -/* 078C3C 800DF78C 45000039 */ bc1f .L800DF874 -/* 078C40 800DF790 2402FFFF */ addiu $v0, $zero, -1 -.L800DF794: -/* 078C44 800DF794 8E040004 */ lw $a0, 4($s0) -/* 078C48 800DF798 3C021000 */ lui $v0, 0x1000 -/* 078C4C 800DF79C 00821024 */ and $v0, $a0, $v0 -/* 078C50 800DF7A0 14400034 */ bnez $v0, .L800DF874 -/* 078C54 800DF7A4 2402FFFF */ addiu $v0, $zero, -1 -/* 078C58 800DF7A8 86020016 */ lh $v0, 0x16($s0) -/* 078C5C 800DF7AC 8603001A */ lh $v1, 0x1a($s0) -/* 078C60 800DF7B0 44820000 */ mtc1 $v0, $f0 -/* 078C64 800DF7B4 00000000 */ nop -/* 078C68 800DF7B8 46800020 */ cvt.s.w $f0, $f0 -/* 078C6C 800DF7BC 86020018 */ lh $v0, 0x18($s0) -/* 078C70 800DF7C0 A60000C0 */ sh $zero, 0xc0($s0) -/* 078C74 800DF7C4 E6000028 */ swc1 $f0, 0x28($s0) -/* 078C78 800DF7C8 44820000 */ mtc1 $v0, $f0 -/* 078C7C 800DF7CC 00000000 */ nop -/* 078C80 800DF7D0 46800020 */ cvt.s.w $f0, $f0 -/* 078C84 800DF7D4 E600002C */ swc1 $f0, 0x2c($s0) -/* 078C88 800DF7D8 44830000 */ mtc1 $v1, $f0 -/* 078C8C 800DF7DC 00000000 */ nop -/* 078C90 800DF7E0 46800020 */ cvt.s.w $f0, $f0 -/* 078C94 800DF7E4 3C020040 */ lui $v0, 0x40 -/* 078C98 800DF7E8 00821024 */ and $v0, $a0, $v0 -/* 078C9C 800DF7EC 1040001E */ beqz $v0, .L800DF868 -/* 078CA0 800DF7F0 E6000030 */ swc1 $f0, 0x30($s0) -/* 078CA4 800DF7F4 3C022000 */ lui $v0, 0x2000 -/* 078CA8 800DF7F8 34420004 */ ori $v0, $v0, 4 -/* 078CAC 800DF7FC 00821025 */ or $v0, $a0, $v0 -/* 078CB0 800DF800 2404FFFC */ addiu $a0, $zero, -4 -/* 078CB4 800DF804 0C00EABB */ jal get_npc_unsafe -/* 078CB8 800DF808 AE020004 */ sw $v0, 4($s0) -/* 078CBC 800DF80C 86030016 */ lh $v1, 0x16($s0) -/* 078CC0 800DF810 44830000 */ mtc1 $v1, $f0 -/* 078CC4 800DF814 00000000 */ nop -/* 078CC8 800DF818 46800020 */ cvt.s.w $f0, $f0 -/* 078CCC 800DF81C E4400038 */ swc1 $f0, 0x38($v0) -/* 078CD0 800DF820 86030018 */ lh $v1, 0x18($s0) -/* 078CD4 800DF824 860400B0 */ lh $a0, 0xb0($s0) -/* 078CD8 800DF828 00641821 */ addu $v1, $v1, $a0 -/* 078CDC 800DF82C 44830000 */ mtc1 $v1, $f0 -/* 078CE0 800DF830 00000000 */ nop -/* 078CE4 800DF834 46800020 */ cvt.s.w $f0, $f0 -/* 078CE8 800DF838 E440003C */ swc1 $f0, 0x3c($v0) -/* 078CEC 800DF83C 8603001A */ lh $v1, 0x1a($s0) -/* 078CF0 800DF840 44830000 */ mtc1 $v1, $f0 -/* 078CF4 800DF844 00000000 */ nop -/* 078CF8 800DF848 46800020 */ cvt.s.w $f0, $f0 -/* 078CFC 800DF84C E4400040 */ swc1 $f0, 0x40($v0) -/* 078D00 800DF850 86030018 */ lh $v1, 0x18($s0) -/* 078D04 800DF854 44830000 */ mtc1 $v1, $f0 -/* 078D08 800DF858 00000000 */ nop -/* 078D0C 800DF85C 46800020 */ cvt.s.w $f0, $f0 -/* 078D10 800DF860 08037E1C */ j .L800DF870 -/* 078D14 800DF864 E4400064 */ swc1 $f0, 0x64($v0) - -.L800DF868: -/* 078D18 800DF868 2402000A */ addiu $v0, $zero, 0xa -/* 078D1C 800DF86C A60200C0 */ sh $v0, 0xc0($s0) -.L800DF870: -/* 078D20 800DF870 2402FFFF */ addiu $v0, $zero, -1 -.L800DF874: -/* 078D24 800DF874 A6220012 */ sh $v0, 0x12($s1) -/* 078D28 800DF878 A6220014 */ sh $v0, 0x14($s1) -/* 078D2C 800DF87C A622000A */ sh $v0, 0xa($s1) -/* 078D30 800DF880 24020001 */ addiu $v0, $zero, 1 -/* 078D34 800DF884 0C0387E4 */ jal func_800E1F90 -/* 078D38 800DF888 A6220006 */ sh $v0, 6($s1) -/* 078D3C 800DF88C 8E020000 */ lw $v0, ($s0) -/* 078D40 800DF890 2403FBFF */ addiu $v1, $zero, -0x401 -/* 078D44 800DF894 00431024 */ and $v0, $v0, $v1 -/* 078D48 800DF898 0C037FF3 */ jal func_800DFFCC -/* 078D4C 800DF89C AE020000 */ sw $v0, ($s0) -/* 078D50 800DF8A0 8E020000 */ lw $v0, ($s0) -/* 078D54 800DF8A4 30421000 */ andi $v0, $v0, 0x1000 -/* 078D58 800DF8A8 1040000B */ beqz $v0, .L800DF8D8 -/* 078D5C 800DF8AC 24020017 */ addiu $v0, $zero, 0x17 -/* 078D60 800DF8B0 0C03968B */ jal func_800E5A2C -/* 078D64 800DF8B4 00000000 */ nop -/* 078D68 800DF8B8 0C038082 */ jal func_800E0208 -/* 078D6C 800DF8BC 00000000 */ nop -/* 078D70 800DF8C0 1440000E */ bnez $v0, .L800DF8FC -/* 078D74 800DF8C4 00000000 */ nop -/* 078D78 800DF8C8 0C038D8F */ jal func_800E363C -/* 078D7C 800DF8CC 00000000 */ nop -/* 078D80 800DF8D0 08037E3F */ j .L800DF8FC -/* 078D84 800DF8D4 00000000 */ nop - -.L800DF8D8: -/* 078D88 800DF8D8 820300B4 */ lb $v1, 0xb4($s0) -/* 078D8C 800DF8DC 10620005 */ beq $v1, $v0, .L800DF8F4 -/* 078D90 800DF8E0 00000000 */ nop -/* 078D94 800DF8E4 0C037EAB */ jal func_800DFAAC -/* 078D98 800DF8E8 00000000 */ nop -/* 078D9C 800DF8EC 08037E3F */ j .L800DF8FC -/* 078DA0 800DF8F0 00000000 */ nop - -.L800DF8F4: -/* 078DA4 800DF8F4 0C037EFA */ jal func_800DFBE8 -/* 078DA8 800DF8F8 00000000 */ nop -.L800DF8FC: -/* 078DAC 800DF8FC 8E020000 */ lw $v0, ($s0) -/* 078DB0 800DF900 30424000 */ andi $v0, $v0, 0x4000 -/* 078DB4 800DF904 1040000B */ beqz $v0, .L800DF934 -/* 078DB8 800DF908 00000000 */ nop -/* 078DBC 800DF90C 96020012 */ lhu $v0, 0x12($s0) -/* 078DC0 800DF910 2442FFFF */ addiu $v0, $v0, -1 -/* 078DC4 800DF914 A6020012 */ sh $v0, 0x12($s0) -/* 078DC8 800DF918 00021400 */ sll $v0, $v0, 0x10 -/* 078DCC 800DF91C 1C400005 */ bgtz $v0, .L800DF934 -/* 078DD0 800DF920 2403BFFF */ addiu $v1, $zero, -0x4001 -/* 078DD4 800DF924 8E020000 */ lw $v0, ($s0) -/* 078DD8 800DF928 A6000012 */ sh $zero, 0x12($s0) -/* 078DDC 800DF92C 00431024 */ and $v0, $v0, $v1 -/* 078DE0 800DF930 AE020000 */ sw $v0, ($s0) -.L800DF934: -/* 078DE4 800DF934 8E020004 */ lw $v0, 4($s0) -/* 078DE8 800DF938 30421000 */ andi $v0, $v0, 0x1000 -/* 078DEC 800DF93C 14400003 */ bnez $v0, .L800DF94C -/* 078DF0 800DF940 00000000 */ nop -/* 078DF4 800DF944 0C03BF42 */ jal func_800EFD08 -/* 078DF8 800DF948 00000000 */ nop -.L800DF94C: -/* 078DFC 800DF94C 0C0382E4 */ jal func_800E0B90 -/* 078E00 800DF950 00000000 */ nop -/* 078E04 800DF954 3C028007 */ lui $v0, 0x8007 -/* 078E08 800DF958 8C42419C */ lw $v0, 0x419c($v0) -/* 078E0C 800DF95C C6000028 */ lwc1 $f0, 0x28($s0) -/* 078E10 800DF960 E4400098 */ swc1 $f0, 0x98($v0) -/* 078E14 800DF964 C600002C */ lwc1 $f0, 0x2c($s0) -/* 078E18 800DF968 E440009C */ swc1 $f0, 0x9c($v0) -/* 078E1C 800DF96C C6000030 */ lwc1 $f0, 0x30($s0) -/* 078E20 800DF970 E44000A0 */ swc1 $f0, 0xa0($v0) -/* 078E24 800DF974 C6000084 */ lwc1 $f0, 0x84($s0) -/* 078E28 800DF978 0C039B39 */ jal func_800E6CE4 -/* 078E2C 800DF97C E44000A4 */ swc1 $f0, 0xa4($v0) -/* 078E30 800DF980 8E020004 */ lw $v0, 4($s0) -/* 078E34 800DF984 30421000 */ andi $v0, $v0, 0x1000 -/* 078E38 800DF988 14400003 */ bnez $v0, .L800DF998 -/* 078E3C 800DF98C 00000000 */ nop -/* 078E40 800DF990 0C039CA3 */ jal check_input_status_menu -/* 078E44 800DF994 00000000 */ nop -.L800DF998: -/* 078E48 800DF998 0C0386F1 */ jal update_below_player -/* 078E4C 800DF99C 00000000 */ nop -/* 078E50 800DF9A0 0C038206 */ jal func_800E0818 -/* 078E54 800DF9A4 00000000 */ nop -/* 078E58 800DF9A8 0C038160 */ jal func_800E0580 -/* 078E5C 800DF9AC 00000000 */ nop -/* 078E60 800DF9B0 0C0380E6 */ jal func_800E0398 -/* 078E64 800DF9B4 00000000 */ nop -/* 078E68 800DF9B8 0C0380A5 */ jal func_800E0294 -/* 078E6C 800DF9BC 00000000 */ nop -/* 078E70 800DF9C0 8E020000 */ lw $v0, ($s0) -/* 078E74 800DF9C4 2403FFEF */ addiu $v1, $zero, -0x11 -/* 078E78 800DF9C8 AE00001C */ sw $zero, 0x1c($s0) -/* 078E7C 800DF9CC AE000020 */ sw $zero, 0x20($s0) -/* 078E80 800DF9D0 AE000024 */ sw $zero, 0x24($s0) -/* 078E84 800DF9D4 00431024 */ and $v0, $v0, $v1 -/* 078E88 800DF9D8 AE020000 */ sw $v0, ($s0) -/* 078E8C 800DF9DC 8E020004 */ lw $v0, 4($s0) -/* 078E90 800DF9E0 2403FFF7 */ addiu $v1, $zero, -9 -/* 078E94 800DF9E4 00431024 */ and $v0, $v0, $v1 -/* 078E98 800DF9E8 AE020004 */ sw $v0, 4($s0) -/* 078E9C 800DF9EC 8FBF0018 */ lw $ra, 0x18($sp) -/* 078EA0 800DF9F0 8FB10014 */ lw $s1, 0x14($sp) -/* 078EA4 800DF9F4 8FB00010 */ lw $s0, 0x10($sp) -/* 078EA8 800DF9F8 03E00008 */ jr $ra -/* 078EAC 800DF9FC 27BD0020 */ addiu $sp, $sp, 0x20 - -check_input_use_partner: -/* 078EB0 800DFA00 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 078EB4 800DFA04 3C038011 */ lui $v1, 0x8011 -/* 078EB8 800DFA08 2463EFC8 */ addiu $v1, $v1, -0x1038 -/* 078EBC 800DFA0C AFBF0010 */ sw $ra, 0x10($sp) -/* 078EC0 800DFA10 8C640004 */ lw $a0, 4($v1) -/* 078EC4 800DFA14 806600B4 */ lb $a2, 0xb4($v1) -/* 078EC8 800DFA18 30824000 */ andi $v0, $a0, 0x4000 -/* 078ECC 800DFA1C 14400020 */ bnez $v0, .L800DFAA0 -/* 078ED0 800DFA20 0060282D */ daddu $a1, $v1, $zero -/* 078ED4 800DFA24 30820008 */ andi $v0, $a0, 8 -/* 078ED8 800DFA28 14400004 */ bnez $v0, .L800DFA3C -/* 078EDC 800DFA2C 00000000 */ nop -/* 078EE0 800DFA30 80620015 */ lb $v0, 0x15($v1) -/* 078EE4 800DFA34 1440001A */ bnez $v0, .L800DFAA0 -/* 078EE8 800DFA38 00000000 */ nop -.L800DFA3C: -/* 078EEC 800DFA3C 8CA300E0 */ lw $v1, 0xe0($a1) -/* 078EF0 800DFA40 30620004 */ andi $v0, $v1, 4 -/* 078EF4 800DFA44 10400016 */ beqz $v0, .L800DFAA0 -/* 078EF8 800DFA48 00000000 */ nop -/* 078EFC 800DFA4C 8CA20000 */ lw $v0, ($a1) -/* 078F00 800DFA50 30420080 */ andi $v0, $v0, 0x80 -/* 078F04 800DFA54 14400012 */ bnez $v0, .L800DFAA0 -/* 078F08 800DFA58 30624000 */ andi $v0, $v1, 0x4000 -/* 078F0C 800DFA5C 14400010 */ bnez $v0, .L800DFAA0 -/* 078F10 800DFA60 30821000 */ andi $v0, $a0, 0x1000 -/* 078F14 800DFA64 1440000E */ bnez $v0, .L800DFAA0 -/* 078F18 800DFA68 2CC20003 */ sltiu $v0, $a2, 3 -/* 078F1C 800DFA6C 1040000C */ beqz $v0, .L800DFAA0 -/* 078F20 800DFA70 00000000 */ nop -/* 078F24 800DFA74 3C028011 */ lui $v0, 0x8011 -/* 078F28 800DFA78 2442F290 */ addiu $v0, $v0, -0xd70 -/* 078F2C 800DFA7C 80430012 */ lb $v1, 0x12($v0) -/* 078F30 800DFA80 24020001 */ addiu $v0, $zero, 1 -/* 078F34 800DFA84 14620004 */ bne $v1, $v0, .L800DFA98 -/* 078F38 800DFA88 00000000 */ nop -/* 078F3C 800DFA8C 84A200C6 */ lh $v0, 0xc6($a1) -/* 078F40 800DFA90 3C01802C */ lui $at, 0x802c -/* 078F44 800DFA94 AC22DF60 */ sw $v0, -0x20a0($at) -.L800DFA98: -/* 078F48 800DFA98 0C03ACC5 */ jal use_partner_ability -/* 078F4C 800DFA9C 00000000 */ nop -.L800DFAA0: -/* 078F50 800DFAA0 8FBF0010 */ lw $ra, 0x10($sp) -/* 078F54 800DFAA4 03E00008 */ jr $ra -/* 078F58 800DFAA8 27BD0018 */ addiu $sp, $sp, 0x18 - -func_800DFAAC: -/* 078F5C 800DFAAC 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 078F60 800DFAB0 AFBF0014 */ sw $ra, 0x14($sp) -/* 078F64 800DFAB4 0C037E80 */ jal check_input_use_partner -/* 078F68 800DFAB8 AFB00010 */ sw $s0, 0x10($sp) -/* 078F6C 800DFABC 0C03968B */ jal func_800E5A2C -/* 078F70 800DFAC0 00000000 */ nop -/* 078F74 800DFAC4 3C108011 */ lui $s0, 0x8011 -/* 078F78 800DFAC8 2610EFC8 */ addiu $s0, $s0, -0x1038 -/* 078F7C 800DFACC 8E030000 */ lw $v1, ($s0) -/* 078F80 800DFAD0 30620008 */ andi $v0, $v1, 8 -/* 078F84 800DFAD4 14400008 */ bnez $v0, .L800DFAF8 -/* 078F88 800DFAD8 30620004 */ andi $v0, $v1, 4 -/* 078F8C 800DFADC 30620002 */ andi $v0, $v1, 2 -/* 078F90 800DFAE0 10400005 */ beqz $v0, .L800DFAF8 -/* 078F94 800DFAE4 30620004 */ andi $v0, $v1, 4 -/* 078F98 800DFAE8 0C038B46 */ jal func_800E2D18 -/* 078F9C 800DFAEC 00000000 */ nop -/* 078FA0 800DFAF0 8E030000 */ lw $v1, ($s0) -/* 078FA4 800DFAF4 30620004 */ andi $v0, $v1, 4 -.L800DFAF8: -/* 078FA8 800DFAF8 10400005 */ beqz $v0, .L800DFB10 -/* 078FAC 800DFAFC 30620008 */ andi $v0, $v1, 8 -/* 078FB0 800DFB00 14400003 */ bnez $v0, .L800DFB10 -/* 078FB4 800DFB04 00000000 */ nop -/* 078FB8 800DFB08 0C038C40 */ jal func_800E3100 -/* 078FBC 800DFB0C 00000000 */ nop -.L800DFB10: -/* 078FC0 800DFB10 0C0393F3 */ jal check_input_midair_jump -/* 078FC4 800DFB14 00000000 */ nop -/* 078FC8 800DFB18 820300B4 */ lb $v1, 0xb4($s0) -/* 078FCC 800DFB1C 24020011 */ addiu $v0, $zero, 0x11 -/* 078FD0 800DFB20 1062001A */ beq $v1, $v0, .L800DFB8C -/* 078FD4 800DFB24 00000000 */ nop -/* 078FD8 800DFB28 0C038D8F */ jal func_800E363C -/* 078FDC 800DFB2C 00000000 */ nop -/* 078FE0 800DFB30 0C039142 */ jal func_800E4508 -/* 078FE4 800DFB34 00000000 */ nop -/* 078FE8 800DFB38 0C0389F8 */ jal func_800E27E0 -/* 078FEC 800DFB3C 00000000 */ nop -/* 078FF0 800DFB40 0441000A */ bgez $v0, .L800DFB6C -/* 078FF4 800DFB44 00000000 */ nop -/* 078FF8 800DFB48 860200C0 */ lh $v0, 0xc0($s0) -/* 078FFC 800DFB4C 14400007 */ bnez $v0, .L800DFB6C -/* 079000 800DFB50 00000000 */ nop -/* 079004 800DFB54 8E020004 */ lw $v0, 4($s0) -/* 079008 800DFB58 30421000 */ andi $v0, $v0, 0x1000 -/* 07900C 800DFB5C 10400003 */ beqz $v0, .L800DFB6C -/* 079010 800DFB60 00000000 */ nop -/* 079014 800DFB64 0C0393C4 */ jal func_800E4F10 -/* 079018 800DFB68 00000000 */ nop -.L800DFB6C: -/* 07901C 800DFB6C 820300B4 */ lb $v1, 0xb4($s0) -/* 079020 800DFB70 2402001B */ addiu $v0, $zero, 0x1b -/* 079024 800DFB74 10620005 */ beq $v1, $v0, .L800DFB8C -/* 079028 800DFB78 24020022 */ addiu $v0, $zero, 0x22 -/* 07902C 800DFB7C 10620003 */ beq $v1, $v0, .L800DFB8C -/* 079030 800DFB80 00000000 */ nop -/* 079034 800DFB84 0C0391D1 */ jal func_800E4744 -/* 079038 800DFB88 00000000 */ nop -.L800DFB8C: -/* 07903C 800DFB8C 8E020004 */ lw $v0, 4($s0) -/* 079040 800DFB90 30420002 */ andi $v0, $v0, 2 -/* 079044 800DFB94 10400003 */ beqz $v0, .L800DFBA4 -/* 079048 800DFB98 00000000 */ nop -/* 07904C 800DFB9C 0C0AF81C */ jal func_802BE070 -/* 079050 800DFBA0 00000000 */ nop -.L800DFBA4: -/* 079054 800DFBA4 8E020000 */ lw $v0, ($s0) -/* 079058 800DFBA8 3C030400 */ lui $v1, 0x400 -/* 07905C 800DFBAC 00431024 */ and $v0, $v0, $v1 -/* 079060 800DFBB0 14400009 */ bnez $v0, .L800DFBD8 -/* 079064 800DFBB4 00000000 */ nop -/* 079068 800DFBB8 C6000028 */ lwc1 $f0, 0x28($s0) -/* 07906C 800DFBBC C602002C */ lwc1 $f2, 0x2c($s0) -/* 079070 800DFBC0 C6040030 */ lwc1 $f4, 0x30($s0) -/* 079074 800DFBC4 3C02800B */ lui $v0, 0x800b -/* 079078 800DFBC8 24421D80 */ addiu $v0, $v0, 0x1d80 -/* 07907C 800DFBCC E4400060 */ swc1 $f0, 0x60($v0) -/* 079080 800DFBD0 E4420064 */ swc1 $f2, 0x64($v0) -/* 079084 800DFBD4 E4440068 */ swc1 $f4, 0x68($v0) -.L800DFBD8: -/* 079088 800DFBD8 8FBF0014 */ lw $ra, 0x14($sp) -/* 07908C 800DFBDC 8FB00010 */ lw $s0, 0x10($sp) -/* 079090 800DFBE0 03E00008 */ jr $ra -/* 079094 800DFBE4 27BD0018 */ addiu $sp, $sp, 0x18 - -func_800DFBE8: -/* 079098 800DFBE8 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 07909C 800DFBEC AFBF0010 */ sw $ra, 0x10($sp) -/* 0790A0 800DFBF0 0C03968B */ jal func_800E5A2C -/* 0790A4 800DFBF4 00000000 */ nop -/* 0790A8 800DFBF8 0C038D8F */ jal func_800E363C -/* 0790AC 800DFBFC 00000000 */ nop -/* 0790B0 800DFC00 0C0392EE */ jal func_800E4BB8 -/* 0790B4 800DFC04 00000000 */ nop -/* 0790B8 800DFC08 3C04800F */ lui $a0, 0x800f -/* 0790BC 800DFC0C 8C847B30 */ lw $a0, 0x7b30($a0) -/* 0790C0 800DFC10 8C820000 */ lw $v0, ($a0) -/* 0790C4 800DFC14 3C030400 */ lui $v1, 0x400 -/* 0790C8 800DFC18 00431024 */ and $v0, $v0, $v1 -/* 0790CC 800DFC1C 14400009 */ bnez $v0, .L800DFC44 -/* 0790D0 800DFC20 00000000 */ nop -/* 0790D4 800DFC24 C4800028 */ lwc1 $f0, 0x28($a0) -/* 0790D8 800DFC28 3C02800B */ lui $v0, 0x800b -/* 0790DC 800DFC2C 24421D80 */ addiu $v0, $v0, 0x1d80 -/* 0790E0 800DFC30 E4400060 */ swc1 $f0, 0x60($v0) -/* 0790E4 800DFC34 C480002C */ lwc1 $f0, 0x2c($a0) -/* 0790E8 800DFC38 E4400064 */ swc1 $f0, 0x64($v0) -/* 0790EC 800DFC3C C4800030 */ lwc1 $f0, 0x30($a0) -/* 0790F0 800DFC40 E4400068 */ swc1 $f0, 0x68($v0) -.L800DFC44: -/* 0790F4 800DFC44 8FBF0010 */ lw $ra, 0x10($sp) -/* 0790F8 800DFC48 03E00008 */ jr $ra -/* 0790FC 800DFC4C 27BD0018 */ addiu $sp, $sp, 0x18 - -clear_player_status: -/* 079100 800DFC50 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 079104 800DFC54 3C048011 */ lui $a0, 0x8011 -/* 079108 800DFC58 2484EFC8 */ addiu $a0, $a0, -0x1038 -/* 07910C 800DFC5C AFBF0010 */ sw $ra, 0x10($sp) -/* 079110 800DFC60 0C00A580 */ jal mem_clear -/* 079114 800DFC64 24050288 */ addiu $a1, $zero, 0x288 -/* 079118 800DFC68 8FBF0010 */ lw $ra, 0x10($sp) -/* 07911C 800DFC6C 03E00008 */ jr $ra -/* 079120 800DFC70 27BD0018 */ addiu $sp, $sp, 0x18 - -func_800DFC74: -/* 079124 800DFC74 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 079128 800DFC78 AFB00010 */ sw $s0, 0x10($sp) -/* 07912C 800DFC7C 3C108011 */ lui $s0, 0x8011 -/* 079130 800DFC80 2610EFC8 */ addiu $s0, $s0, -0x1038 -/* 079134 800DFC84 0200202D */ daddu $a0, $s0, $zero -/* 079138 800DFC88 AFBF0014 */ sw $ra, 0x14($sp) -/* 07913C 800DFC8C 0C00A580 */ jal mem_clear -/* 079140 800DFC90 24050288 */ addiu $a1, $zero, 0x288 -/* 079144 800DFC94 24020001 */ addiu $v0, $zero, 1 -/* 079148 800DFC98 0C038817 */ jal func_800E205C -/* 07914C 800DFC9C AE020000 */ sw $v0, ($s0) -/* 079150 800DFCA0 8E050028 */ lw $a1, 0x28($s0) -/* 079154 800DFCA4 8E06002C */ lw $a2, 0x2c($s0) -/* 079158 800DFCA8 8E070030 */ lw $a3, 0x30($s0) -/* 07915C 800DFCAC 0C044898 */ jal create_shadow_type -/* 079160 800DFCB0 0000202D */ daddu $a0, $zero, $zero -/* 079164 800DFCB4 0C039ADA */ jal func_800E6B68 -/* 079168 800DFCB8 AE0200CC */ sw $v0, 0xcc($s0) -/* 07916C 800DFCBC 0C0382C5 */ jal func_800E0B14 -/* 079170 800DFCC0 00000000 */ nop -/* 079174 800DFCC4 0C0381A7 */ jal func_800E069C -/* 079178 800DFCC8 00000000 */ nop -/* 07917C 800DFCCC 0C038145 */ jal func_800E0514 -/* 079180 800DFCD0 00000000 */ nop -/* 079184 800DFCD4 0C0380DD */ jal func_800E0374 -/* 079188 800DFCD8 00000000 */ nop -/* 07918C 800DFCDC 0C039548 */ jal func_800E5520 -/* 079190 800DFCE0 00000000 */ nop -/* 079194 800DFCE4 8FBF0014 */ lw $ra, 0x14($sp) -/* 079198 800DFCE8 8FB00010 */ lw $s0, 0x10($sp) -/* 07919C 800DFCEC 03E00008 */ jr $ra -/* 0791A0 800DFCF0 27BD0018 */ addiu $sp, $sp, 0x18 - -func_800DFCF4: -/* 0791A4 800DFCF4 3C048011 */ lui $a0, 0x8011 -/* 0791A8 800DFCF8 2484EBB0 */ addiu $a0, $a0, -0x1450 -/* 0791AC 800DFCFC 80830000 */ lb $v1, ($a0) -/* 0791B0 800DFD00 24020001 */ addiu $v0, $zero, 1 -/* 0791B4 800DFD04 1462000E */ bne $v1, $v0, .L800DFD40 -/* 0791B8 800DFD08 24020006 */ addiu $v0, $zero, 6 -/* 0791BC 800DFD0C 80830003 */ lb $v1, 3($a0) -/* 0791C0 800DFD10 10620009 */ beq $v1, $v0, .L800DFD38 -/* 0791C4 800DFD14 24020009 */ addiu $v0, $zero, 9 -/* 0791C8 800DFD18 10620007 */ beq $v1, $v0, .L800DFD38 -/* 0791CC 800DFD1C 24020007 */ addiu $v0, $zero, 7 -/* 0791D0 800DFD20 10620005 */ beq $v1, $v0, .L800DFD38 -/* 0791D4 800DFD24 24020004 */ addiu $v0, $zero, 4 -/* 0791D8 800DFD28 10620003 */ beq $v1, $v0, .L800DFD38 -/* 0791DC 800DFD2C 24020008 */ addiu $v0, $zero, 8 -/* 0791E0 800DFD30 14620003 */ bne $v1, $v0, .L800DFD40 -/* 0791E4 800DFD34 00000000 */ nop -.L800DFD38: -/* 0791E8 800DFD38 03E00008 */ jr $ra -/* 0791EC 800DFD3C 0000102D */ daddu $v0, $zero, $zero - -.L800DFD40: -/* 0791F0 800DFD40 03E00008 */ jr $ra -/* 0791F4 800DFD44 24020001 */ addiu $v0, $zero, 1 - -func_800DFD48: -/* 0791F8 800DFD48 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 0791FC 800DFD4C AFB00010 */ sw $s0, 0x10($sp) -/* 079200 800DFD50 0080802D */ daddu $s0, $a0, $zero -/* 079204 800DFD54 3C058011 */ lui $a1, 0x8011 -/* 079208 800DFD58 24A5EFC8 */ addiu $a1, $a1, -0x1038 -/* 07920C 800DFD5C 3C048011 */ lui $a0, 0x8011 -/* 079210 800DFD60 2484EBB0 */ addiu $a0, $a0, -0x1450 -/* 079214 800DFD64 AFBF0014 */ sw $ra, 0x14($sp) -/* 079218 800DFD68 80A300B4 */ lb $v1, 0xb4($a1) -/* 07921C 800DFD6C 2402001D */ addiu $v0, $zero, 0x1d -/* 079220 800DFD70 14620007 */ bne $v1, $v0, .L800DFD90 -/* 079224 800DFD74 3C020001 */ lui $v0, 1 -/* 079228 800DFD78 3442002B */ ori $v0, $v0, 0x2b -/* 07922C 800DFD7C 12020004 */ beq $s0, $v0, .L800DFD90 -/* 079230 800DFD80 3C020001 */ lui $v0, 1 -/* 079234 800DFD84 34420007 */ ori $v0, $v0, 7 -/* 079238 800DFD88 16020058 */ bne $s0, $v0, .L800DFEEC -/* 07923C 800DFD8C 2402FFFF */ addiu $v0, $zero, -1 -.L800DFD90: -/* 079240 800DFD90 80820000 */ lb $v0, ($a0) -/* 079244 800DFD94 10400017 */ beqz $v0, .L800DFDF4 -/* 079248 800DFD98 24020008 */ addiu $v0, $zero, 8 -/* 07924C 800DFD9C 80830003 */ lb $v1, 3($a0) -/* 079250 800DFDA0 14620006 */ bne $v1, $v0, .L800DFDBC -/* 079254 800DFDA4 3C020001 */ lui $v0, 1 -/* 079258 800DFDA8 34420002 */ ori $v0, $v0, 2 -/* 07925C 800DFDAC 16020003 */ bne $s0, $v0, .L800DFDBC -/* 079260 800DFDB0 00000000 */ nop -/* 079264 800DFDB4 3C100008 */ lui $s0, 8 -/* 079268 800DFDB8 3610000E */ ori $s0, $s0, 0xe -.L800DFDBC: -/* 07926C 800DFDBC 80820000 */ lb $v0, ($a0) -/* 079270 800DFDC0 1040000C */ beqz $v0, .L800DFDF4 -/* 079274 800DFDC4 24020009 */ addiu $v0, $zero, 9 -/* 079278 800DFDC8 80830003 */ lb $v1, 3($a0) -/* 07927C 800DFDCC 1462000A */ bne $v1, $v0, .L800DFDF8 -/* 079280 800DFDD0 3C020001 */ lui $v0, 1 -/* 079284 800DFDD4 34420014 */ ori $v0, $v0, 0x14 -/* 079288 800DFDD8 12020006 */ beq $s0, $v0, .L800DFDF4 -/* 07928C 800DFDDC 3C020001 */ lui $v0, 1 -/* 079290 800DFDE0 34420002 */ ori $v0, $v0, 2 -/* 079294 800DFDE4 12020004 */ beq $s0, $v0, .L800DFDF8 -/* 079298 800DFDE8 3C020001 */ lui $v0, 1 -.L800DFDEC: -/* 07929C 800DFDEC 08037FBB */ j .L800DFEEC -/* 0792A0 800DFDF0 2402FFFF */ addiu $v0, $zero, -1 - -.L800DFDF4: -/* 0792A4 800DFDF4 3C020001 */ lui $v0, 1 -.L800DFDF8: -/* 0792A8 800DFDF8 34420032 */ ori $v0, $v0, 0x32 -/* 0792AC 800DFDFC 16020005 */ bne $s0, $v0, .L800DFE14 -/* 0792B0 800DFE00 3C020006 */ lui $v0, 6 -/* 0792B4 800DFE04 80830000 */ lb $v1, ($a0) -/* 0792B8 800DFE08 24020001 */ addiu $v0, $zero, 1 -/* 0792BC 800DFE0C 1062FFF7 */ beq $v1, $v0, .L800DFDEC -/* 0792C0 800DFE10 3C020006 */ lui $v0, 6 -.L800DFE14: -/* 0792C4 800DFE14 3442000C */ ori $v0, $v0, 0xc -/* 0792C8 800DFE18 12020007 */ beq $s0, $v0, .L800DFE38 -/* 0792CC 800DFE1C 3C02000C */ lui $v0, 0xc -/* 0792D0 800DFE20 34420010 */ ori $v0, $v0, 0x10 -/* 0792D4 800DFE24 12020004 */ beq $s0, $v0, .L800DFE38 -/* 0792D8 800DFE28 3C020001 */ lui $v0, 1 -/* 0792DC 800DFE2C 34420002 */ ori $v0, $v0, 2 -/* 0792E0 800DFE30 1602001A */ bne $s0, $v0, .L800DFE9C -/* 0792E4 800DFE34 00000000 */ nop -.L800DFE38: -/* 0792E8 800DFE38 8CA30004 */ lw $v1, 4($a1) -/* 0792EC 800DFE3C 30621000 */ andi $v0, $v1, 0x1000 -/* 0792F0 800DFE40 14400007 */ bnez $v0, .L800DFE60 -/* 0792F4 800DFE44 30622000 */ andi $v0, $v1, 0x2000 -/* 0792F8 800DFE48 0C037F3D */ jal func_800DFCF4 -/* 0792FC 800DFE4C 00000000 */ nop -/* 079300 800DFE50 1440001E */ bnez $v0, .L800DFECC -/* 079304 800DFE54 3C020008 */ lui $v0, 8 -/* 079308 800DFE58 08037FBB */ j .L800DFEEC -/* 07930C 800DFE5C 2402FFFF */ addiu $v0, $zero, -1 - -.L800DFE60: -/* 079310 800DFE60 14400003 */ bnez $v0, .L800DFE70 -/* 079314 800DFE64 3C10000C */ lui $s0, 0xc -/* 079318 800DFE68 08037FB2 */ j .L800DFEC8 -/* 07931C 800DFE6C 36100010 */ ori $s0, $s0, 0x10 - -.L800DFE70: -/* 079320 800DFE70 80A3000C */ lb $v1, 0xc($a1) -/* 079324 800DFE74 00031040 */ sll $v0, $v1, 1 -/* 079328 800DFE78 00431021 */ addu $v0, $v0, $v1 -/* 07932C 800DFE7C 000210C0 */ sll $v0, $v0, 3 -/* 079330 800DFE80 3C04800F */ lui $a0, 0x800f -/* 079334 800DFE84 00822021 */ addu $a0, $a0, $v0 -/* 079338 800DFE88 8C847C30 */ lw $a0, 0x7c30($a0) -/* 07933C 800DFE8C 0C0398DB */ jal func_800E636C -/* 079340 800DFE90 00000000 */ nop -/* 079344 800DFE94 08037FBB */ j .L800DFEEC -/* 079348 800DFE98 2402FFFF */ addiu $v0, $zero, -1 - -.L800DFE9C: -/* 07934C 800DFE9C 8CA20004 */ lw $v0, 4($a1) -/* 079350 800DFEA0 30421000 */ andi $v0, $v0, 0x1000 -/* 079354 800DFEA4 10400009 */ beqz $v0, .L800DFECC -/* 079358 800DFEA8 3C020008 */ lui $v0, 8 -/* 07935C 800DFEAC 80A200C4 */ lb $v0, 0xc4($a1) -/* 079360 800DFEB0 10400005 */ beqz $v0, .L800DFEC8 -/* 079364 800DFEB4 3C02FFF4 */ lui $v0, 0xfff4 -/* 079368 800DFEB8 02021021 */ addu $v0, $s0, $v0 -/* 07936C 800DFEBC 2C420003 */ sltiu $v0, $v0, 3 -/* 079370 800DFEC0 54400001 */ bnel $v0, $zero, .L800DFEC8 -/* 079374 800DFEC4 3C10000D */ lui $s0, 0xd -.L800DFEC8: -/* 079378 800DFEC8 3C020008 */ lui $v0, 8 -.L800DFECC: -/* 07937C 800DFECC 34420003 */ ori $v0, $v0, 3 -/* 079380 800DFED0 16020006 */ bne $s0, $v0, .L800DFEEC -/* 079384 800DFED4 0200102D */ daddu $v0, $s0, $zero -/* 079388 800DFED8 0000202D */ daddu $a0, $zero, $zero -/* 07938C 800DFEDC 0080282D */ daddu $a1, $a0, $zero -/* 079390 800DFEE0 0C0B2D5B */ jal exec_ShakeCam1 -/* 079394 800DFEE4 24060002 */ addiu $a2, $zero, 2 -/* 079398 800DFEE8 0200102D */ daddu $v0, $s0, $zero -.L800DFEEC: -/* 07939C 800DFEEC 8FBF0014 */ lw $ra, 0x14($sp) -/* 0793A0 800DFEF0 8FB00010 */ lw $s0, 0x10($sp) -/* 0793A4 800DFEF4 03E00008 */ jr $ra -/* 0793A8 800DFEF8 27BD0018 */ addiu $sp, $sp, 0x18 - -func_800DFEFC: -/* 0793AC 800DFEFC 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 0793B0 800DFF00 AFB00010 */ sw $s0, 0x10($sp) -/* 0793B4 800DFF04 3C108011 */ lui $s0, 0x8011 -/* 0793B8 800DFF08 2610EFC8 */ addiu $s0, $s0, -0x1038 -/* 0793BC 800DFF0C AFBF0014 */ sw $ra, 0x14($sp) -/* 0793C0 800DFF10 0C037F52 */ jal func_800DFD48 -/* 0793C4 800DFF14 00000000 */ nop -/* 0793C8 800DFF18 0040202D */ daddu $a0, $v0, $zero -/* 0793CC 800DFF1C 2402FFFF */ addiu $v0, $zero, -1 -/* 0793D0 800DFF20 10820007 */ beq $a0, $v0, .L800DFF40 -/* 0793D4 800DFF24 3C03EFFF */ lui $v1, 0xefff -/* 0793D8 800DFF28 8E020000 */ lw $v0, ($s0) -/* 0793DC 800DFF2C 3463FFFF */ ori $v1, $v1, 0xffff -/* 0793E0 800DFF30 AE0400B8 */ sw $a0, 0xb8($s0) -/* 0793E4 800DFF34 A60000BC */ sh $zero, 0xbc($s0) -/* 0793E8 800DFF38 00431024 */ and $v0, $v0, $v1 -/* 0793EC 800DFF3C AE020000 */ sw $v0, ($s0) -.L800DFF40: -/* 0793F0 800DFF40 8FBF0014 */ lw $ra, 0x14($sp) -/* 0793F4 800DFF44 8FB00010 */ lw $s0, 0x10($sp) -/* 0793F8 800DFF48 03E00008 */ jr $ra -/* 0793FC 800DFF4C 27BD0018 */ addiu $sp, $sp, 0x18 - -/* 079400 800DFF50 3C02EFFF */ lui $v0, 0xefff -/* 079404 800DFF54 3C038011 */ lui $v1, 0x8011 -/* 079408 800DFF58 2463EFC8 */ addiu $v1, $v1, -0x1038 -/* 07940C 800DFF5C 8C650000 */ lw $a1, ($v1) -/* 079410 800DFF60 3442FFFF */ ori $v0, $v0, 0xffff -/* 079414 800DFF64 AC6400B8 */ sw $a0, 0xb8($v1) -/* 079418 800DFF68 A46000BC */ sh $zero, 0xbc($v1) -/* 07941C 800DFF6C 00A22824 */ and $a1, $a1, $v0 -/* 079420 800DFF70 03E00008 */ jr $ra -/* 079424 800DFF74 AC650000 */ sw $a1, ($v1) - -func_800DFF78: -/* 079428 800DFF78 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 07942C 800DFF7C AFB00010 */ sw $s0, 0x10($sp) -/* 079430 800DFF80 3C108011 */ lui $s0, 0x8011 -/* 079434 800DFF84 2610EFC8 */ addiu $s0, $s0, -0x1038 -/* 079438 800DFF88 AFBF0014 */ sw $ra, 0x14($sp) -/* 07943C 800DFF8C 0C037F52 */ jal func_800DFD48 -/* 079440 800DFF90 00000000 */ nop -/* 079444 800DFF94 0040182D */ daddu $v1, $v0, $zero -/* 079448 800DFF98 2402FFFF */ addiu $v0, $zero, -1 -/* 07944C 800DFF9C 10620007 */ beq $v1, $v0, .L800DFFBC -/* 079450 800DFFA0 00000000 */ nop -/* 079454 800DFFA4 8E020000 */ lw $v0, ($s0) -/* 079458 800DFFA8 AE0300B8 */ sw $v1, 0xb8($s0) -/* 07945C 800DFFAC 3C031000 */ lui $v1, 0x1000 -/* 079460 800DFFB0 A60000BC */ sh $zero, 0xbc($s0) -/* 079464 800DFFB4 00431025 */ or $v0, $v0, $v1 -/* 079468 800DFFB8 AE020000 */ sw $v0, ($s0) -.L800DFFBC: -/* 07946C 800DFFBC 8FBF0014 */ lw $ra, 0x14($sp) -/* 079470 800DFFC0 8FB00010 */ lw $s0, 0x10($sp) -/* 079474 800DFFC4 03E00008 */ jr $ra -/* 079478 800DFFC8 27BD0018 */ addiu $sp, $sp, 0x18 - -func_800DFFCC: -/* 07947C 800DFFCC 3C058011 */ lui $a1, 0x8011 -/* 079480 800DFFD0 24A5EFC8 */ addiu $a1, $a1, -0x1038 -/* 079484 800DFFD4 3C048011 */ lui $a0, 0x8011 -/* 079488 800DFFD8 2484EBB0 */ addiu $a0, $a0, -0x1450 -/* 07948C 800DFFDC 80830003 */ lb $v1, 3($a0) -/* 079490 800DFFE0 24020009 */ addiu $v0, $zero, 9 -/* 079494 800DFFE4 14620003 */ bne $v1, $v0, .L800DFFF4 -/* 079498 800DFFE8 0000302D */ daddu $a2, $zero, $zero -/* 07949C 800DFFEC 80820000 */ lb $v0, ($a0) -/* 0794A0 800DFFF0 00C2302B */ sltu $a2, $a2, $v0 -.L800DFFF4: -/* 0794A4 800DFFF4 84A20010 */ lh $v0, 0x10($a1) -/* 0794A8 800DFFF8 94A40010 */ lhu $a0, 0x10($a1) -/* 0794AC 800DFFFC 18400020 */ blez $v0, .L800E0080 -/* 0794B0 800E0000 2482FFFF */ addiu $v0, $a0, -1 -/* 0794B4 800E0004 3C038007 */ lui $v1, 0x8007 -/* 0794B8 800E0008 8C63419C */ lw $v1, 0x419c($v1) -/* 0794BC 800E000C A4A20010 */ sh $v0, 0x10($a1) -/* 0794C0 800E0010 94620134 */ lhu $v0, 0x134($v1) -/* 0794C4 800E0014 30420001 */ andi $v0, $v0, 1 -/* 0794C8 800E0018 14400005 */ bnez $v0, .L800E0030 -/* 0794CC 800E001C 24A4000E */ addiu $a0, $a1, 0xe -/* 0794D0 800E0020 10C00004 */ beqz $a2, .L800E0034 -/* 0794D4 800E0024 240300FF */ addiu $v1, $zero, 0xff -/* 0794D8 800E0028 0803800D */ j .L800E0034 -/* 0794DC 800E002C 240300C0 */ addiu $v1, $zero, 0xc0 - -.L800E0030: -/* 0794E0 800E0030 24030060 */ addiu $v1, $zero, 0x60 -.L800E0034: -/* 0794E4 800E0034 84A20010 */ lh $v0, 0x10($a1) -/* 0794E8 800E0038 1440000E */ bnez $v0, .L800E0074 -/* 0794EC 800E003C A0830000 */ sb $v1, ($a0) -/* 0794F0 800E0040 10C00004 */ beqz $a2, .L800E0054 -/* 0794F4 800E0044 24030080 */ addiu $v1, $zero, 0x80 -/* 0794F8 800E0048 8CA20000 */ lw $v0, ($a1) -/* 0794FC 800E004C 0803801E */ j .L800E0078 -/* 079500 800E0050 A0A3000E */ sb $v1, 0xe($a1) - -.L800E0054: -/* 079504 800E0054 3C02FFFF */ lui $v0, 0xffff -/* 079508 800E0058 34427FFF */ ori $v0, $v0, 0x7fff -/* 07950C 800E005C 8CA30000 */ lw $v1, ($a1) -/* 079510 800E0060 240400FF */ addiu $a0, $zero, 0xff -/* 079514 800E0064 A0A4000E */ sb $a0, 0xe($a1) -/* 079518 800E0068 00621824 */ and $v1, $v1, $v0 -/* 07951C 800E006C 03E00008 */ jr $ra -/* 079520 800E0070 ACA30000 */ sw $v1, ($a1) - -.L800E0074: -/* 079524 800E0074 8CA20000 */ lw $v0, ($a1) -.L800E0078: -/* 079528 800E0078 34428000 */ ori $v0, $v0, 0x8000 -/* 07952C 800E007C ACA20000 */ sw $v0, ($a1) -.L800E0080: -/* 079530 800E0080 03E00008 */ jr $ra -/* 079534 800E0084 00000000 */ nop - -func_800E0088: -/* 079538 800E0088 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 07953C 800E008C 3C028011 */ lui $v0, 0x8011 -/* 079540 800E0090 2442EFC8 */ addiu $v0, $v0, -0x1038 -/* 079544 800E0094 AFBF0010 */ sw $ra, 0x10($sp) -/* 079548 800E0098 8C460028 */ lw $a2, 0x28($v0) -/* 07954C 800E009C 0C00A7B5 */ jal dist2D -/* 079550 800E00A0 8C470030 */ lw $a3, 0x30($v0) -/* 079554 800E00A4 8FBF0010 */ lw $ra, 0x10($sp) -/* 079558 800E00A8 03E00008 */ jr $ra -/* 07955C 800E00AC 27BD0018 */ addiu $sp, $sp, 0x18 - -enable_player_shadow: -/* 079560 800E00B0 3C048011 */ lui $a0, 0x8011 -/* 079564 800E00B4 8C84F094 */ lw $a0, -0xf6c($a0) -/* 079568 800E00B8 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 07956C 800E00BC AFBF0010 */ sw $ra, 0x10($sp) -/* 079570 800E00C0 0C044181 */ jal get_shadow_by_index -/* 079574 800E00C4 00000000 */ nop -/* 079578 800E00C8 8C430000 */ lw $v1, ($v0) -/* 07957C 800E00CC 2404FFFE */ addiu $a0, $zero, -2 -/* 079580 800E00D0 00641824 */ and $v1, $v1, $a0 -/* 079584 800E00D4 AC430000 */ sw $v1, ($v0) -/* 079588 800E00D8 8FBF0010 */ lw $ra, 0x10($sp) -/* 07958C 800E00DC 03E00008 */ jr $ra -/* 079590 800E00E0 27BD0018 */ addiu $sp, $sp, 0x18 - -disable_player_shadow: -/* 079594 800E00E4 3C048011 */ lui $a0, 0x8011 -/* 079598 800E00E8 8C84F094 */ lw $a0, -0xf6c($a0) -/* 07959C 800E00EC 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 0795A0 800E00F0 AFBF0010 */ sw $ra, 0x10($sp) -/* 0795A4 800E00F4 0C044181 */ jal get_shadow_by_index -/* 0795A8 800E00F8 00000000 */ nop -/* 0795AC 800E00FC 8C430000 */ lw $v1, ($v0) -/* 0795B0 800E0100 34630001 */ ori $v1, $v1, 1 -/* 0795B4 800E0104 AC430000 */ sw $v1, ($v0) -/* 0795B8 800E0108 8FBF0010 */ lw $ra, 0x10($sp) -/* 0795BC 800E010C 03E00008 */ jr $ra -/* 0795C0 800E0110 27BD0018 */ addiu $sp, $sp, 0x18 - -enable_player_physics: -/* 0795C4 800E0114 3C038011 */ lui $v1, 0x8011 -/* 0795C8 800E0118 2463EFC8 */ addiu $v1, $v1, -0x1038 -/* 0795CC 800E011C 8C640000 */ lw $a0, ($v1) -/* 0795D0 800E0120 90620014 */ lbu $v0, 0x14($v1) -/* 0795D4 800E0124 34841000 */ ori $a0, $a0, 0x1000 -/* 0795D8 800E0128 24420001 */ addiu $v0, $v0, 1 -/* 0795DC 800E012C A0620014 */ sb $v0, 0x14($v1) -/* 0795E0 800E0130 00021600 */ sll $v0, $v0, 0x18 -/* 0795E4 800E0134 00021603 */ sra $v0, $v0, 0x18 -/* 0795E8 800E0138 03E00008 */ jr $ra -/* 0795EC 800E013C AC640000 */ sw $a0, ($v1) - -disable_player_physics: -/* 0795F0 800E0140 3C048011 */ lui $a0, 0x8011 -/* 0795F4 800E0144 2484EFC8 */ addiu $a0, $a0, -0x1038 -/* 0795F8 800E0148 90820014 */ lbu $v0, 0x14($a0) -/* 0795FC 800E014C 2442FFFF */ addiu $v0, $v0, -1 -/* 079600 800E0150 A0820014 */ sb $v0, 0x14($a0) -/* 079604 800E0154 00021600 */ sll $v0, $v0, 0x18 -/* 079608 800E0158 00022E03 */ sra $a1, $v0, 0x18 -/* 07960C 800E015C 14A00004 */ bnez $a1, .L800E0170 -/* 079610 800E0160 2403EFFF */ addiu $v1, $zero, -0x1001 -/* 079614 800E0164 8C820000 */ lw $v0, ($a0) -/* 079618 800E0168 00431024 */ and $v0, $v0, $v1 -/* 07961C 800E016C AC820000 */ sw $v0, ($a0) -.L800E0170: -/* 079620 800E0170 03E00008 */ jr $ra -/* 079624 800E0174 00A0102D */ daddu $v0, $a1, $zero - -func_800E0178: -/* 079628 800E0178 3C038011 */ lui $v1, 0x8011 -/* 07962C 800E017C 2463EFC8 */ addiu $v1, $v1, -0x1038 -/* 079630 800E0180 8C640000 */ lw $a0, ($v1) -/* 079634 800E0184 90620015 */ lbu $v0, 0x15($v1) -/* 079638 800E0188 34842000 */ ori $a0, $a0, 0x2000 -/* 07963C 800E018C 24420001 */ addiu $v0, $v0, 1 -/* 079640 800E0190 A0620015 */ sb $v0, 0x15($v1) -/* 079644 800E0194 00021600 */ sll $v0, $v0, 0x18 -/* 079648 800E0198 00021603 */ sra $v0, $v0, 0x18 -/* 07964C 800E019C 03E00008 */ jr $ra -/* 079650 800E01A0 AC640000 */ sw $a0, ($v1) - -func_800E01A4: -/* 079654 800E01A4 3C048011 */ lui $a0, 0x8011 -/* 079658 800E01A8 2484EFC8 */ addiu $a0, $a0, -0x1038 -/* 07965C 800E01AC 90820015 */ lbu $v0, 0x15($a0) -/* 079660 800E01B0 2442FFFF */ addiu $v0, $v0, -1 -/* 079664 800E01B4 A0820015 */ sb $v0, 0x15($a0) -/* 079668 800E01B8 00021600 */ sll $v0, $v0, 0x18 -/* 07966C 800E01BC 00022E03 */ sra $a1, $v0, 0x18 -/* 079670 800E01C0 14A00004 */ bnez $a1, .L800E01D4 -/* 079674 800E01C4 2403DFFF */ addiu $v1, $zero, -0x2001 -/* 079678 800E01C8 8C820000 */ lw $v0, ($a0) -/* 07967C 800E01CC 00431024 */ and $v0, $v0, $v1 -/* 079680 800E01D0 AC820000 */ sw $v0, ($a0) -.L800E01D4: -/* 079684 800E01D4 03E00008 */ jr $ra -/* 079688 800E01D8 00A0102D */ daddu $v0, $a1, $zero - -func_800E01DC: -/* 07968C 800E01DC 3C048011 */ lui $a0, 0x8011 -/* 079690 800E01E0 2484EFC8 */ addiu $a0, $a0, -0x1038 -/* 079694 800E01E4 8C820004 */ lw $v0, 4($a0) -/* 079698 800E01E8 30420010 */ andi $v0, $v0, 0x10 -/* 07969C 800E01EC 10400004 */ beqz $v0, .L800E0200 -/* 0796A0 800E01F0 3C030800 */ lui $v1, 0x800 -/* 0796A4 800E01F4 8C820000 */ lw $v0, ($a0) -/* 0796A8 800E01F8 00431025 */ or $v0, $v0, $v1 -/* 0796AC 800E01FC AC820000 */ sw $v0, ($a0) -.L800E0200: -/* 0796B0 800E0200 03E00008 */ jr $ra -/* 0796B4 800E0204 00000000 */ nop - -func_800E0208: -/* 0796B8 800E0208 3C038007 */ lui $v1, 0x8007 -/* 0796BC 800E020C 8C63419C */ lw $v1, 0x419c($v1) -/* 0796C0 800E0210 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 0796C4 800E0214 AFBF0010 */ sw $ra, 0x10($sp) -/* 0796C8 800E0218 80620078 */ lb $v0, 0x78($v1) -/* 0796CC 800E021C 1040000C */ beqz $v0, .L800E0250 -/* 0796D0 800E0220 0000202D */ daddu $a0, $zero, $zero -/* 0796D4 800E0224 8C620000 */ lw $v0, ($v1) -/* 0796D8 800E0228 30420010 */ andi $v0, $v0, 0x10 -/* 0796DC 800E022C 10400008 */ beqz $v0, .L800E0250 -/* 0796E0 800E0230 00000000 */ nop -/* 0796E4 800E0234 3C028011 */ lui $v0, 0x8011 -/* 0796E8 800E0238 8042EBB0 */ lb $v0, -0x1450($v0) -/* 0796EC 800E023C 54400004 */ bnel $v0, $zero, .L800E0250 -/* 0796F0 800E0240 24040001 */ addiu $a0, $zero, 1 -/* 0796F4 800E0244 0C039769 */ jal set_action_state -/* 0796F8 800E0248 00000000 */ nop -/* 0796FC 800E024C 24040001 */ addiu $a0, $zero, 1 -.L800E0250: -/* 079700 800E0250 8FBF0010 */ lw $ra, 0x10($sp) -/* 079704 800E0254 0080102D */ daddu $v0, $a0, $zero -/* 079708 800E0258 03E00008 */ jr $ra -/* 07970C 800E025C 27BD0018 */ addiu $sp, $sp, 0x18 - -func_800E0260: -/* 079710 800E0260 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 079714 800E0264 AFBF0010 */ sw $ra, 0x10($sp) -/* 079718 800E0268 0C038196 */ jal func_800E0658 -/* 07971C 800E026C 00000000 */ nop -/* 079720 800E0270 0C0382B4 */ jal func_800E0AD0 -/* 079724 800E0274 00000000 */ nop -/* 079728 800E0278 0C038134 */ jal func_800E04D0 -/* 07972C 800E027C 00000000 */ nop -/* 079730 800E0280 0C0380CC */ jal func_800E0330 -/* 079734 800E0284 00000000 */ nop -/* 079738 800E0288 8FBF0010 */ lw $ra, 0x10($sp) -/* 07973C 800E028C 03E00008 */ jr $ra -/* 079740 800E0290 27BD0018 */ addiu $sp, $sp, 0x18 - -func_800E0294: -/* 079744 800E0294 3C028016 */ lui $v0, 0x8016 -/* 079748 800E0298 8042A57A */ lb $v0, -0x5a86($v0) -/* 07974C 800E029C 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 079750 800E02A0 AFBF0014 */ sw $ra, 0x14($sp) -/* 079754 800E02A4 10400016 */ beqz $v0, .L800E0300 -/* 079758 800E02A8 AFB00010 */ sw $s0, 0x10($sp) -/* 07975C 800E02AC 3C108011 */ lui $s0, 0x8011 -/* 079760 800E02B0 2610C93C */ addiu $s0, $s0, -0x36c4 -/* 079764 800E02B4 8E020000 */ lw $v0, ($s0) -/* 079768 800E02B8 14400015 */ bnez $v0, .L800E0310 -/* 07976C 800E02BC 00000000 */ nop -/* 079770 800E02C0 3C028011 */ lui $v0, 0x8011 -/* 079774 800E02C4 2442EFC8 */ addiu $v0, $v0, -0x1038 -/* 079778 800E02C8 8C420004 */ lw $v0, 4($v0) -/* 07977C 800E02CC 30420030 */ andi $v0, $v0, 0x30 -/* 079780 800E02D0 1440000B */ bnez $v0, .L800E0300 -/* 079784 800E02D4 00000000 */ nop -/* 079788 800E02D8 3C06802B */ lui $a2, 0x802b -/* 07978C 800E02DC 3C0400E2 */ lui $a0, 0xe2 -/* 079790 800E02E0 248425B0 */ addiu $a0, $a0, 0x25b0 -/* 079794 800E02E4 3C0500E2 */ lui $a1, 0xe2 -/* 079798 800E02E8 24A53260 */ addiu $a1, $a1, 0x3260 -/* 07979C 800E02EC 0C00A5CF */ jal dma_copy -/* 0797A0 800E02F0 34C67000 */ ori $a2, $a2, 0x7000 -/* 0797A4 800E02F4 3C02802B */ lui $v0, 0x802b -/* 0797A8 800E02F8 244272C0 */ addiu $v0, $v0, 0x72c0 -/* 0797AC 800E02FC AE020000 */ sw $v0, ($s0) -.L800E0300: -/* 0797B0 800E0300 3C028011 */ lui $v0, 0x8011 -/* 0797B4 800E0304 8C42C93C */ lw $v0, -0x36c4($v0) -/* 0797B8 800E0308 10400005 */ beqz $v0, .L800E0320 -/* 0797BC 800E030C 00000000 */ nop -.L800E0310: -/* 0797C0 800E0310 3C028011 */ lui $v0, 0x8011 -/* 0797C4 800E0314 8C42C93C */ lw $v0, -0x36c4($v0) -/* 0797C8 800E0318 0040F809 */ jalr $v0 -/* 0797CC 800E031C 00000000 */ nop -.L800E0320: -/* 0797D0 800E0320 8FBF0014 */ lw $ra, 0x14($sp) -/* 0797D4 800E0324 8FB00010 */ lw $s0, 0x10($sp) -/* 0797D8 800E0328 03E00008 */ jr $ra -/* 0797DC 800E032C 27BD0018 */ addiu $sp, $sp, 0x18 - -func_800E0330: -/* 0797E0 800E0330 3C02800F */ lui $v0, 0x800f -/* 0797E4 800E0334 8C427B30 */ lw $v0, 0x7b30($v0) -/* 0797E8 800E0338 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 0797EC 800E033C AFBF0010 */ sw $ra, 0x10($sp) -/* 0797F0 800E0340 8C420004 */ lw $v0, 4($v0) -/* 0797F4 800E0344 30420100 */ andi $v0, $v0, 0x100 -/* 0797F8 800E0348 10400007 */ beqz $v0, .L800E0368 -/* 0797FC 800E034C 00000000 */ nop -/* 079800 800E0350 3C028011 */ lui $v0, 0x8011 -/* 079804 800E0354 8C42C93C */ lw $v0, -0x36c4($v0) -/* 079808 800E0358 10400003 */ beqz $v0, .L800E0368 -/* 07980C 800E035C 00000000 */ nop -/* 079810 800E0360 0C0ADC00 */ jal func_802B7000 -/* 079814 800E0364 00000000 */ nop -.L800E0368: -/* 079818 800E0368 8FBF0010 */ lw $ra, 0x10($sp) -/* 07981C 800E036C 03E00008 */ jr $ra -/* 079820 800E0370 27BD0018 */ addiu $sp, $sp, 0x18 - -func_800E0374: -/* 079824 800E0374 3C02800F */ lui $v0, 0x800f -/* 079828 800E0378 8C427B30 */ lw $v0, 0x7b30($v0) -/* 07982C 800E037C 8C430004 */ lw $v1, 4($v0) -/* 079830 800E0380 2404FEFF */ addiu $a0, $zero, -0x101 -/* 079834 800E0384 3C018011 */ lui $at, 0x8011 -/* 079838 800E0388 AC20C93C */ sw $zero, -0x36c4($at) -/* 07983C 800E038C 00641824 */ and $v1, $v1, $a0 -/* 079840 800E0390 03E00008 */ jr $ra -/* 079844 800E0394 AC430004 */ sw $v1, 4($v0) - -func_800E0398: -/* 079848 800E0398 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 07984C 800E039C AFB00010 */ sw $s0, 0x10($sp) -/* 079850 800E03A0 3C108011 */ lui $s0, 0x8011 -/* 079854 800E03A4 2610C920 */ addiu $s0, $s0, -0x36e0 -/* 079858 800E03A8 AFBF0014 */ sw $ra, 0x14($sp) -/* 07985C 800E03AC 8E020000 */ lw $v0, ($s0) -/* 079860 800E03B0 3C078011 */ lui $a3, 0x8011 -/* 079864 800E03B4 24E7EFC8 */ addiu $a3, $a3, -0x1038 -/* 079868 800E03B8 1440003D */ bnez $v0, .L800E04B0 -/* 07986C 800E03BC 00000000 */ nop -/* 079870 800E03C0 8CE60004 */ lw $a2, 4($a3) -/* 079874 800E03C4 30C20100 */ andi $v0, $a2, 0x100 -/* 079878 800E03C8 1440003D */ bnez $v0, .L800E04C0 -/* 07987C 800E03CC 2402000A */ addiu $v0, $zero, 0xa -/* 079880 800E03D0 3C058007 */ lui $a1, 0x8007 -/* 079884 800E03D4 8CA5419C */ lw $a1, 0x419c($a1) -/* 079888 800E03D8 84A30086 */ lh $v1, 0x86($a1) -/* 07988C 800E03DC 14620038 */ bne $v1, $v0, .L800E04C0 -/* 079890 800E03E0 00000000 */ nop -/* 079894 800E03E4 80A20070 */ lb $v0, 0x70($a1) -/* 079898 800E03E8 14400035 */ bnez $v0, .L800E04C0 -/* 07989C 800E03EC 3C049249 */ lui $a0, 0x9249 -/* 0798A0 800E03F0 94A3008C */ lhu $v1, 0x8c($a1) -/* 0798A4 800E03F4 34842493 */ ori $a0, $a0, 0x2493 -/* 0798A8 800E03F8 00031C00 */ sll $v1, $v1, 0x10 -/* 0798AC 800E03FC 00031403 */ sra $v0, $v1, 0x10 -/* 0798B0 800E0400 00440018 */ mult $v0, $a0 -/* 0798B4 800E0404 00031FC3 */ sra $v1, $v1, 0x1f -/* 0798B8 800E0408 00004010 */ mfhi $t0 -/* 0798BC 800E040C 01022021 */ addu $a0, $t0, $v0 -/* 0798C0 800E0410 00042083 */ sra $a0, $a0, 2 -/* 0798C4 800E0414 00832023 */ subu $a0, $a0, $v1 -/* 0798C8 800E0418 000418C0 */ sll $v1, $a0, 3 -/* 0798CC 800E041C 00641823 */ subu $v1, $v1, $a0 -/* 0798D0 800E0420 00431023 */ subu $v0, $v0, $v1 -/* 0798D4 800E0424 00021400 */ sll $v0, $v0, 0x10 -/* 0798D8 800E0428 00021403 */ sra $v0, $v0, 0x10 -/* 0798DC 800E042C 2442FFFE */ addiu $v0, $v0, -2 -/* 0798E0 800E0430 04420001 */ bltzl $v0, .L800E0438 -/* 0798E4 800E0434 00021023 */ negu $v0, $v0 -.L800E0438: -/* 0798E8 800E0438 00042400 */ sll $a0, $a0, 0x10 -/* 0798EC 800E043C 00042403 */ sra $a0, $a0, 0x10 -/* 0798F0 800E0440 00441021 */ addu $v0, $v0, $a0 -/* 0798F4 800E0444 28420006 */ slti $v0, $v0, 6 -/* 0798F8 800E0448 1040001D */ beqz $v0, .L800E04C0 -/* 0798FC 800E044C 30C200C0 */ andi $v0, $a2, 0xc0 -/* 079900 800E0450 1040001B */ beqz $v0, .L800E04C0 -/* 079904 800E0454 00000000 */ nop -/* 079908 800E0458 8CE20000 */ lw $v0, ($a3) -/* 07990C 800E045C 30420020 */ andi $v0, $v0, 0x20 -/* 079910 800E0460 14400017 */ bnez $v0, .L800E04C0 -/* 079914 800E0464 00000000 */ nop -/* 079918 800E0468 80E20015 */ lb $v0, 0x15($a3) -/* 07991C 800E046C 14400014 */ bnez $v0, .L800E04C0 -/* 079920 800E0470 30C20030 */ andi $v0, $a2, 0x30 -/* 079924 800E0474 1440000B */ bnez $v0, .L800E04A4 -/* 079928 800E0478 00000000 */ nop -/* 07992C 800E047C 3C06802B */ lui $a2, 0x802b -/* 079930 800E0480 3C0400E2 */ lui $a0, 0xe2 -/* 079934 800E0484 24841870 */ addiu $a0, $a0, 0x1870 -/* 079938 800E0488 3C0500E2 */ lui $a1, 0xe2 -/* 07993C 800E048C 24A525B0 */ addiu $a1, $a1, 0x25b0 -/* 079940 800E0490 0C00A5CF */ jal dma_copy -/* 079944 800E0494 34C67000 */ ori $a2, $a2, 0x7000 -/* 079948 800E0498 3C02802B */ lui $v0, 0x802b -/* 07994C 800E049C 24427140 */ addiu $v0, $v0, 0x7140 -/* 079950 800E04A0 AE020000 */ sw $v0, ($s0) -.L800E04A4: -/* 079954 800E04A4 8E020000 */ lw $v0, ($s0) -/* 079958 800E04A8 10400005 */ beqz $v0, .L800E04C0 -/* 07995C 800E04AC 00000000 */ nop -.L800E04B0: -/* 079960 800E04B0 3C028011 */ lui $v0, 0x8011 -/* 079964 800E04B4 8C42C920 */ lw $v0, -0x36e0($v0) -/* 079968 800E04B8 0040F809 */ jalr $v0 -/* 07996C 800E04BC 00000000 */ nop -.L800E04C0: -/* 079970 800E04C0 8FBF0014 */ lw $ra, 0x14($sp) -/* 079974 800E04C4 8FB00010 */ lw $s0, 0x10($sp) -/* 079978 800E04C8 03E00008 */ jr $ra -/* 07997C 800E04CC 27BD0018 */ addiu $sp, $sp, 0x18 - -func_800E04D0: -/* 079980 800E04D0 3C02800F */ lui $v0, 0x800f -/* 079984 800E04D4 8C427B30 */ lw $v0, 0x7b30($v0) -/* 079988 800E04D8 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 07998C 800E04DC AFBF0010 */ sw $ra, 0x10($sp) -/* 079990 800E04E0 8C420004 */ lw $v0, 4($v0) -/* 079994 800E04E4 30420040 */ andi $v0, $v0, 0x40 -/* 079998 800E04E8 10400007 */ beqz $v0, .L800E0508 -/* 07999C 800E04EC 00000000 */ nop -/* 0799A0 800E04F0 3C028011 */ lui $v0, 0x8011 -/* 0799A4 800E04F4 8C42C920 */ lw $v0, -0x36e0($v0) -/* 0799A8 800E04F8 10400003 */ beqz $v0, .L800E0508 -/* 0799AC 800E04FC 00000000 */ nop -/* 0799B0 800E0500 0C0ADC75 */ jal func_802B71D4 -/* 0799B4 800E0504 00000000 */ nop -.L800E0508: -/* 0799B8 800E0508 8FBF0010 */ lw $ra, 0x10($sp) -/* 0799BC 800E050C 03E00008 */ jr $ra -/* 0799C0 800E0510 27BD0018 */ addiu $sp, $sp, 0x18 - -func_800E0514: -/* 0799C4 800E0514 3C02800F */ lui $v0, 0x800f -/* 0799C8 800E0518 8C427B30 */ lw $v0, 0x7b30($v0) -/* 0799CC 800E051C 8C430004 */ lw $v1, 4($v0) -/* 0799D0 800E0520 2404FFBF */ addiu $a0, $zero, -0x41 -/* 0799D4 800E0524 3C018011 */ lui $at, 0x8011 -/* 0799D8 800E0528 AC20C920 */ sw $zero, -0x36e0($at) -/* 0799DC 800E052C 00641824 */ and $v1, $v1, $a0 -/* 0799E0 800E0530 03E00008 */ jr $ra -/* 0799E4 800E0534 AC430004 */ sw $v1, 4($v0) - -func_800E0538: -/* 0799E8 800E0538 3C058011 */ lui $a1, 0x8011 -/* 0799EC 800E053C 24A5EFC8 */ addiu $a1, $a1, -0x1038 -/* 0799F0 800E0540 8CA200C8 */ lw $v0, 0xc8($a1) -/* 0799F4 800E0544 1040000C */ beqz $v0, .L800E0578 -/* 0799F8 800E0548 0000202D */ daddu $a0, $zero, $zero -/* 0799FC 800E054C 8C420000 */ lw $v0, ($v0) -/* 079A00 800E0550 3C031000 */ lui $v1, 0x1000 -/* 079A04 800E0554 00431024 */ and $v0, $v0, $v1 -/* 079A08 800E0558 14400007 */ bnez $v0, .L800E0578 -/* 079A0C 800E055C 3C020200 */ lui $v0, 0x200 -/* 079A10 800E0560 8CA30000 */ lw $v1, ($a1) -/* 079A14 800E0564 34422000 */ ori $v0, $v0, 0x2000 -/* 079A18 800E0568 00621824 */ and $v1, $v1, $v0 -/* 079A1C 800E056C 3C020200 */ lui $v0, 0x200 -/* 079A20 800E0570 00621826 */ xor $v1, $v1, $v0 -/* 079A24 800E0574 2C640001 */ sltiu $a0, $v1, 1 -.L800E0578: -/* 079A28 800E0578 03E00008 */ jr $ra -/* 079A2C 800E057C 0080102D */ daddu $v0, $a0, $zero - -func_800E0580: -/* 079A30 800E0580 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 079A34 800E0584 3C038011 */ lui $v1, 0x8011 -/* 079A38 800E0588 2463EFC8 */ addiu $v1, $v1, -0x1038 -/* 079A3C 800E058C AFBF0014 */ sw $ra, 0x14($sp) -/* 079A40 800E0590 AFB00010 */ sw $s0, 0x10($sp) -/* 079A44 800E0594 8C620004 */ lw $v0, 4($v1) -/* 079A48 800E0598 30420100 */ andi $v0, $v0, 0x100 -/* 079A4C 800E059C 1440002A */ bnez $v0, .L800E0648 -/* 079A50 800E05A0 00000000 */ nop -/* 079A54 800E05A4 3C028011 */ lui $v0, 0x8011 -/* 079A58 800E05A8 8C42C958 */ lw $v0, -0x36a8($v0) -/* 079A5C 800E05AC 14400026 */ bnez $v0, .L800E0648 -/* 079A60 800E05B0 00000000 */ nop -/* 079A64 800E05B4 3C028011 */ lui $v0, 0x8011 -/* 079A68 800E05B8 8C42C920 */ lw $v0, -0x36e0($v0) -/* 079A6C 800E05BC 14400022 */ bnez $v0, .L800E0648 -/* 079A70 800E05C0 00000000 */ nop -/* 079A74 800E05C4 3C108011 */ lui $s0, 0x8011 -/* 079A78 800E05C8 2610C940 */ addiu $s0, $s0, -0x36c0 -/* 079A7C 800E05CC 8E020000 */ lw $v0, ($s0) -/* 079A80 800E05D0 14400019 */ bnez $v0, .L800E0638 -/* 079A84 800E05D4 00000000 */ nop -/* 079A88 800E05D8 80620015 */ lb $v0, 0x15($v1) -/* 079A8C 800E05DC 1440001A */ bnez $v0, .L800E0648 -/* 079A90 800E05E0 00000000 */ nop -/* 079A94 800E05E4 8C620000 */ lw $v0, ($v1) -/* 079A98 800E05E8 30420020 */ andi $v0, $v0, 0x20 -/* 079A9C 800E05EC 14400016 */ bnez $v0, .L800E0648 -/* 079AA0 800E05F0 00000000 */ nop -/* 079AA4 800E05F4 0C03814E */ jal func_800E0538 -/* 079AA8 800E05F8 00000000 */ nop -/* 079AAC 800E05FC 14400003 */ bnez $v0, .L800E060C -/* 079AB0 800E0600 3C06802B */ lui $a2, 0x802b -/* 079AB4 800E0604 08038192 */ j .L800E0648 -/* 079AB8 800E0608 AE000000 */ sw $zero, ($s0) - -.L800E060C: -/* 079ABC 800E060C 34C67000 */ ori $a2, $a2, 0x7000 -/* 079AC0 800E0610 3C0400E2 */ lui $a0, 0xe2 -/* 079AC4 800E0614 24840EB0 */ addiu $a0, $a0, 0xeb0 -/* 079AC8 800E0618 3C0500E2 */ lui $a1, 0xe2 -/* 079ACC 800E061C 24A51870 */ addiu $a1, $a1, 0x1870 -/* 079AD0 800E0620 0C00A5CF */ jal dma_copy -/* 079AD4 800E0624 AE000000 */ sw $zero, ($s0) -/* 079AD8 800E0628 3C02802B */ lui $v0, 0x802b -/* 079ADC 800E062C 244270B4 */ addiu $v0, $v0, 0x70b4 -/* 079AE0 800E0630 10400005 */ beqz $v0, .L800E0648 -/* 079AE4 800E0634 AE020000 */ sw $v0, ($s0) -.L800E0638: -/* 079AE8 800E0638 3C028011 */ lui $v0, 0x8011 -/* 079AEC 800E063C 8C42C940 */ lw $v0, -0x36c0($v0) -/* 079AF0 800E0640 0040F809 */ jalr $v0 -/* 079AF4 800E0644 00000000 */ nop -.L800E0648: -/* 079AF8 800E0648 8FBF0014 */ lw $ra, 0x14($sp) -/* 079AFC 800E064C 8FB00010 */ lw $s0, 0x10($sp) -/* 079B00 800E0650 03E00008 */ jr $ra -/* 079B04 800E0654 27BD0018 */ addiu $sp, $sp, 0x18 - -func_800E0658: -/* 079B08 800E0658 3C02800F */ lui $v0, 0x800f -/* 079B0C 800E065C 8C427B30 */ lw $v0, 0x7b30($v0) -/* 079B10 800E0660 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 079B14 800E0664 AFBF0010 */ sw $ra, 0x10($sp) -/* 079B18 800E0668 8C420004 */ lw $v0, 4($v0) -/* 079B1C 800E066C 30420020 */ andi $v0, $v0, 0x20 -/* 079B20 800E0670 10400007 */ beqz $v0, .L800E0690 -/* 079B24 800E0674 00000000 */ nop -/* 079B28 800E0678 3C028011 */ lui $v0, 0x8011 -/* 079B2C 800E067C 8C42C940 */ lw $v0, -0x36c0($v0) -/* 079B30 800E0680 10400003 */ beqz $v0, .L800E0690 -/* 079B34 800E0684 00000000 */ nop -/* 079B38 800E0688 0C0ADC72 */ jal func_802B71C8 -/* 079B3C 800E068C 00000000 */ nop -.L800E0690: -/* 079B40 800E0690 8FBF0010 */ lw $ra, 0x10($sp) -/* 079B44 800E0694 03E00008 */ jr $ra -/* 079B48 800E0698 27BD0018 */ addiu $sp, $sp, 0x18 - -func_800E069C: -/* 079B4C 800E069C 3C02800F */ lui $v0, 0x800f -/* 079B50 800E06A0 8C427B30 */ lw $v0, 0x7b30($v0) -/* 079B54 800E06A4 8C430004 */ lw $v1, 4($v0) -/* 079B58 800E06A8 2404FFDF */ addiu $a0, $zero, -0x21 -/* 079B5C 800E06AC 3C018011 */ lui $at, 0x8011 -/* 079B60 800E06B0 AC20C940 */ sw $zero, -0x36c0($at) -/* 079B64 800E06B4 00641824 */ and $v1, $v1, $a0 -/* 079B68 800E06B8 03E00008 */ jr $ra -/* 079B6C 800E06BC AC430004 */ sw $v1, 4($v0) - -func_800E06C0: -/* 079B70 800E06C0 38840001 */ xori $a0, $a0, 1 -/* 079B74 800E06C4 2C840001 */ sltiu $a0, $a0, 1 -/* 079B78 800E06C8 3C018011 */ lui $at, 0x8011 -/* 079B7C 800E06CC AC24C950 */ sw $a0, -0x36b0($at) -/* 079B80 800E06D0 03E00008 */ jr $ra -/* 079B84 800E06D4 00000000 */ nop - -/* 079B88 800E06D8 27BDFFE0 */ addiu $sp, $sp, -0x20 -/* 079B8C 800E06DC AFB10014 */ sw $s1, 0x14($sp) -/* 079B90 800E06E0 3C118011 */ lui $s1, 0x8011 -/* 079B94 800E06E4 2631EFC8 */ addiu $s1, $s1, -0x1038 -/* 079B98 800E06E8 AFBF001C */ sw $ra, 0x1c($sp) -/* 079B9C 800E06EC AFB20018 */ sw $s2, 0x18($sp) -/* 079BA0 800E06F0 AFB00010 */ sw $s0, 0x10($sp) -/* 079BA4 800E06F4 8E2400C8 */ lw $a0, 0xc8($s1) -/* 079BA8 800E06F8 862200C0 */ lh $v0, 0xc0($s1) -/* 079BAC 800E06FC 863200C6 */ lh $s2, 0xc6($s1) -/* 079BB0 800E0700 1440003F */ bnez $v0, .L800E0800 -/* 079BB4 800E0704 0000102D */ daddu $v0, $zero, $zero -/* 079BB8 800E0708 82220015 */ lb $v0, 0x15($s1) -/* 079BBC 800E070C 1440003C */ bnez $v0, .L800E0800 -/* 079BC0 800E0710 0000102D */ daddu $v0, $zero, $zero -/* 079BC4 800E0714 3C028016 */ lui $v0, 0x8016 -/* 079BC8 800E0718 8442A562 */ lh $v0, -0x5a9e($v0) -/* 079BCC 800E071C 2405FFFF */ addiu $a1, $zero, -1 -/* 079BD0 800E0720 14450003 */ bne $v0, $a1, .L800E0730 -/* 079BD4 800E0724 3C020200 */ lui $v0, 0x200 -.L800E0728: -/* 079BD8 800E0728 08038200 */ j .L800E0800 -/* 079BDC 800E072C 0000102D */ daddu $v0, $zero, $zero - -.L800E0730: -/* 079BE0 800E0730 8E230000 */ lw $v1, ($s1) -/* 079BE4 800E0734 34422000 */ ori $v0, $v0, 0x2000 -/* 079BE8 800E0738 00621824 */ and $v1, $v1, $v0 -/* 079BEC 800E073C 3C020200 */ lui $v0, 0x200 -/* 079BF0 800E0740 14620009 */ bne $v1, $v0, .L800E0768 -/* 079BF4 800E0744 00000000 */ nop -/* 079BF8 800E0748 10800007 */ beqz $a0, .L800E0768 -/* 079BFC 800E074C 3C031000 */ lui $v1, 0x1000 -/* 079C00 800E0750 8C820000 */ lw $v0, ($a0) -/* 079C04 800E0754 00431024 */ and $v0, $v0, $v1 -/* 079C08 800E0758 10400003 */ beqz $v0, .L800E0768 -/* 079C0C 800E075C 00000000 */ nop -/* 079C10 800E0760 080381FF */ j .L800E07FC -/* 079C14 800E0764 A62500C6 */ sh $a1, 0xc6($s1) - -.L800E0768: -/* 079C18 800E0768 3C108016 */ lui $s0, 0x8016 -/* 079C1C 800E076C 8610A562 */ lh $s0, -0x5a9e($s0) -/* 079C20 800E0770 32024000 */ andi $v0, $s0, 0x4000 -/* 079C24 800E0774 14400007 */ bnez $v0, .L800E0794 -/* 079C28 800E0778 00000000 */ nop -/* 079C2C 800E077C 0C05173A */ jal func_80145CE8 -/* 079C30 800E0780 0200202D */ daddu $a0, $s0, $zero -/* 079C34 800E0784 1440000E */ bnez $v0, .L800E07C0 -/* 079C38 800E0788 0000102D */ daddu $v0, $zero, $zero -/* 079C3C 800E078C 08038200 */ j .L800E0800 -/* 079C40 800E0790 00000000 */ nop - -.L800E0794: -/* 079C44 800E0794 0C0394BE */ jal func_800E52F8 -/* 079C48 800E0798 00000000 */ nop -/* 079C4C 800E079C 14400003 */ bnez $v0, .L800E07AC -/* 079C50 800E07A0 2402FFFF */ addiu $v0, $zero, -1 -/* 079C54 800E07A4 080381CA */ j .L800E0728 -/* 079C58 800E07A8 A62200C6 */ sh $v0, 0xc6($s1) - -.L800E07AC: -/* 079C5C 800E07AC 0C0441A9 */ jal func_801106A4 -/* 079C60 800E07B0 0200202D */ daddu $a0, $s0, $zero -/* 079C64 800E07B4 2403000C */ addiu $v1, $zero, 0xc -/* 079C68 800E07B8 10430011 */ beq $v0, $v1, .L800E0800 -/* 079C6C 800E07BC 0000102D */ daddu $v0, $zero, $zero -.L800E07C0: -/* 079C70 800E07C0 16500008 */ bne $s2, $s0, .L800E07E4 -/* 079C74 800E07C4 3C03F7FF */ lui $v1, 0xf7ff -/* 079C78 800E07C8 8E220000 */ lw $v0, ($s1) -/* 079C7C 800E07CC 3C030800 */ lui $v1, 0x800 -/* 079C80 800E07D0 00431024 */ and $v0, $v0, $v1 -/* 079C84 800E07D4 10400007 */ beqz $v0, .L800E07F4 -/* 079C88 800E07D8 0000102D */ daddu $v0, $zero, $zero -/* 079C8C 800E07DC 08038200 */ j .L800E0800 -/* 079C90 800E07E0 00000000 */ nop - -.L800E07E4: -/* 079C94 800E07E4 8E220000 */ lw $v0, ($s1) -/* 079C98 800E07E8 3463FFFF */ ori $v1, $v1, 0xffff -/* 079C9C 800E07EC 00431024 */ and $v0, $v0, $v1 -/* 079CA0 800E07F0 AE220000 */ sw $v0, ($s1) -.L800E07F4: -/* 079CA4 800E07F4 2402FFFF */ addiu $v0, $zero, -1 -/* 079CA8 800E07F8 A62200C6 */ sh $v0, 0xc6($s1) -.L800E07FC: -/* 079CAC 800E07FC 24020001 */ addiu $v0, $zero, 1 -.L800E0800: -/* 079CB0 800E0800 8FBF001C */ lw $ra, 0x1c($sp) -/* 079CB4 800E0804 8FB20018 */ lw $s2, 0x18($sp) -/* 079CB8 800E0808 8FB10014 */ lw $s1, 0x14($sp) -/* 079CBC 800E080C 8FB00010 */ lw $s0, 0x10($sp) -/* 079CC0 800E0810 03E00008 */ jr $ra -/* 079CC4 800E0814 27BD0020 */ addiu $sp, $sp, 0x20 - -func_800E0818: -/* 079CC8 800E0818 27BDFFD8 */ addiu $sp, $sp, -0x28 -/* 079CCC 800E081C AFB10014 */ sw $s1, 0x14($sp) -/* 079CD0 800E0820 3C118011 */ lui $s1, 0x8011 -/* 079CD4 800E0824 2631EFC8 */ addiu $s1, $s1, -0x1038 -/* 079CD8 800E0828 AFBF0020 */ sw $ra, 0x20($sp) -/* 079CDC 800E082C AFB3001C */ sw $s3, 0x1c($sp) -/* 079CE0 800E0830 AFB20018 */ sw $s2, 0x18($sp) -/* 079CE4 800E0834 AFB00010 */ sw $s0, 0x10($sp) -/* 079CE8 800E0838 8E220004 */ lw $v0, 4($s1) -/* 079CEC 800E083C 8E2500C8 */ lw $a1, 0xc8($s1) -/* 079CF0 800E0840 30420100 */ andi $v0, $v0, 0x100 -/* 079CF4 800E0844 1440009B */ bnez $v0, .L800E0AB4 -/* 079CF8 800E0848 00000000 */ nop -/* 079CFC 800E084C 3C028011 */ lui $v0, 0x8011 -/* 079D00 800E0850 8C42C940 */ lw $v0, -0x36c0($v0) -/* 079D04 800E0854 14400097 */ bnez $v0, .L800E0AB4 -/* 079D08 800E0858 00000000 */ nop -/* 079D0C 800E085C 3C028011 */ lui $v0, 0x8011 -/* 079D10 800E0860 8C42C920 */ lw $v0, -0x36e0($v0) -/* 079D14 800E0864 14400093 */ bnez $v0, .L800E0AB4 -/* 079D18 800E0868 00000000 */ nop -/* 079D1C 800E086C 3C028011 */ lui $v0, 0x8011 -/* 079D20 800E0870 8C42C958 */ lw $v0, -0x36a8($v0) -/* 079D24 800E0874 14400073 */ bnez $v0, .L800E0A44 -/* 079D28 800E0878 00000000 */ nop -/* 079D2C 800E087C 3C038016 */ lui $v1, 0x8016 -/* 079D30 800E0880 2463A550 */ addiu $v1, $v1, -0x5ab0 -/* 079D34 800E0884 82220015 */ lb $v0, 0x15($s1) -/* 079D38 800E0888 10400006 */ beqz $v0, .L800E08A4 -/* 079D3C 800E088C 84700012 */ lh $s0, 0x12($v1) -/* 079D40 800E0890 862200C6 */ lh $v0, 0xc6($s1) -/* 079D44 800E0894 54500087 */ bnel $v0, $s0, .L800E0AB4 -/* 079D48 800E0898 A63000C6 */ sh $s0, 0xc6($s1) -/* 079D4C 800E089C 080382AD */ j .L800E0AB4 -/* 079D50 800E08A0 00000000 */ nop - -.L800E08A4: -/* 079D54 800E08A4 862200C0 */ lh $v0, 0xc0($s1) -/* 079D58 800E08A8 14400082 */ bnez $v0, .L800E0AB4 -/* 079D5C 800E08AC 2413FFFF */ addiu $s3, $zero, -1 -/* 079D60 800E08B0 1613002E */ bne $s0, $s3, .L800E096C -/* 079D64 800E08B4 32024000 */ andi $v0, $s0, 0x4000 -/* 079D68 800E08B8 84640002 */ lh $a0, 2($v1) -/* 079D6C 800E08BC 04800010 */ bltz $a0, .L800E0900 -/* 079D70 800E08C0 30824000 */ andi $v0, $a0, 0x4000 -/* 079D74 800E08C4 1040000E */ beqz $v0, .L800E0900 -/* 079D78 800E08C8 24120001 */ addiu $s2, $zero, 1 -/* 079D7C 800E08CC 0C0441A9 */ jal func_801106A4 -/* 079D80 800E08D0 0080802D */ daddu $s0, $a0, $zero -/* 079D84 800E08D4 2443FFFD */ addiu $v1, $v0, -3 -/* 079D88 800E08D8 2C620031 */ sltiu $v0, $v1, 0x31 -/* 079D8C 800E08DC 10400038 */ beqz $v0, .L800E09C0 -/* 079D90 800E08E0 00031080 */ sll $v0, $v1, 2 -/* 079D94 800E08E4 3C018011 */ lui $at, 0x8011 -/* 079D98 800E08E8 00220821 */ addu $at, $at, $v0 -/* 079D9C 800E08EC 8C22BC60 */ lw $v0, -0x43a0($at) -/* 079DA0 800E08F0 00400008 */ jr $v0 -/* 079DA4 800E08F4 00000000 */ nop -/* 079DA8 800E08F8 08038270 */ j .L800E09C0 -/* 079DAC 800E08FC 2410FFFF */ addiu $s0, $zero, -1 - -.L800E0900: -/* 079DB0 800E0900 3C020200 */ lui $v0, 0x200 -/* 079DB4 800E0904 8E230000 */ lw $v1, ($s1) -/* 079DB8 800E0908 34422000 */ ori $v0, $v0, 0x2000 -/* 079DBC 800E090C 00621824 */ and $v1, $v1, $v0 -/* 079DC0 800E0910 3C020200 */ lui $v0, 0x200 -/* 079DC4 800E0914 1462000E */ bne $v1, $v0, .L800E0950 -/* 079DC8 800E0918 3C02F7FF */ lui $v0, 0xf7ff -/* 079DCC 800E091C 10A0000C */ beqz $a1, .L800E0950 -/* 079DD0 800E0920 3C031000 */ lui $v1, 0x1000 -/* 079DD4 800E0924 8CA20000 */ lw $v0, ($a1) -/* 079DD8 800E0928 00431024 */ and $v0, $v0, $v1 -/* 079DDC 800E092C 10400008 */ beqz $v0, .L800E0950 -/* 079DE0 800E0930 3C02F7FF */ lui $v0, 0xf7ff -/* 079DE4 800E0934 80A200A4 */ lb $v0, 0xa4($a1) -/* 079DE8 800E0938 862300C6 */ lh $v1, 0xc6($s1) -/* 079DEC 800E093C 34502000 */ ori $s0, $v0, 0x2000 -/* 079DF0 800E0940 1070005C */ beq $v1, $s0, .L800E0AB4 -/* 079DF4 800E0944 0000902D */ daddu $s2, $zero, $zero -/* 079DF8 800E0948 08038270 */ j .L800E09C0 -/* 079DFC 800E094C 00000000 */ nop - -.L800E0950: -/* 079E00 800E0950 3442FFFF */ ori $v0, $v0, 0xffff -/* 079E04 800E0954 8E230000 */ lw $v1, ($s1) -/* 079E08 800E0958 2404FFFF */ addiu $a0, $zero, -1 -/* 079E0C 800E095C A62400C6 */ sh $a0, 0xc6($s1) -/* 079E10 800E0960 00621824 */ and $v1, $v1, $v0 -/* 079E14 800E0964 080382AD */ j .L800E0AB4 -/* 079E18 800E0968 AE230000 */ sw $v1, ($s1) - -.L800E096C: -/* 079E1C 800E096C 14400009 */ bnez $v0, .L800E0994 -/* 079E20 800E0970 32022000 */ andi $v0, $s0, 0x2000 -/* 079E24 800E0974 14400012 */ bnez $v0, .L800E09C0 -/* 079E28 800E0978 0000902D */ daddu $s2, $zero, $zero -/* 079E2C 800E097C 0C05173A */ jal func_80145CE8 -/* 079E30 800E0980 0200202D */ daddu $a0, $s0, $zero -/* 079E34 800E0984 1440000E */ bnez $v0, .L800E09C0 -/* 079E38 800E0988 3C03F7FF */ lui $v1, 0xf7ff -/* 079E3C 800E098C 0803826A */ j .L800E09A8 -/* 079E40 800E0990 00000000 */ nop - -.L800E0994: -/* 079E44 800E0994 0C0394BE */ jal func_800E52F8 -/* 079E48 800E0998 00000000 */ nop -/* 079E4C 800E099C 14400008 */ bnez $v0, .L800E09C0 -/* 079E50 800E09A0 24120001 */ addiu $s2, $zero, 1 -/* 079E54 800E09A4 3C03F7FF */ lui $v1, 0xf7ff -.L800E09A8: -/* 079E58 800E09A8 8E220000 */ lw $v0, ($s1) -/* 079E5C 800E09AC 3463FFFF */ ori $v1, $v1, 0xffff -/* 079E60 800E09B0 A63300C6 */ sh $s3, 0xc6($s1) -/* 079E64 800E09B4 00431024 */ and $v0, $v0, $v1 -/* 079E68 800E09B8 080382AD */ j .L800E0AB4 -/* 079E6C 800E09BC AE220000 */ sw $v0, ($s1) - -.L800E09C0: -/* 079E70 800E09C0 862200C6 */ lh $v0, 0xc6($s1) -/* 079E74 800E09C4 14500008 */ bne $v0, $s0, .L800E09E8 -/* 079E78 800E09C8 3C03F7FF */ lui $v1, 0xf7ff -/* 079E7C 800E09CC 8E220000 */ lw $v0, ($s1) -/* 079E80 800E09D0 3C030800 */ lui $v1, 0x800 -/* 079E84 800E09D4 00431024 */ and $v0, $v0, $v1 -/* 079E88 800E09D8 14400036 */ bnez $v0, .L800E0AB4 -/* 079E8C 800E09DC 00000000 */ nop -/* 079E90 800E09E0 0803827F */ j .L800E09FC -/* 079E94 800E09E4 A63000C6 */ sh $s0, 0xc6($s1) - -.L800E09E8: -/* 079E98 800E09E8 8E220000 */ lw $v0, ($s1) -/* 079E9C 800E09EC 3463FFFF */ ori $v1, $v1, 0xffff -/* 079EA0 800E09F0 00431024 */ and $v0, $v0, $v1 -/* 079EA4 800E09F4 AE220000 */ sw $v0, ($s1) -/* 079EA8 800E09F8 A63000C6 */ sh $s0, 0xc6($s1) -.L800E09FC: -/* 079EAC 800E09FC 12400009 */ beqz $s2, .L800E0A24 -/* 079EB0 800E0A00 00000000 */ nop -/* 079EB4 800E0A04 0600000F */ bltz $s0, .L800E0A44 -/* 079EB8 800E0A08 00000000 */ nop -/* 079EBC 800E0A0C 0C04417A */ jal get_entity_by_index -/* 079EC0 800E0A10 0200202D */ daddu $a0, $s0, $zero -/* 079EC4 800E0A14 8C420000 */ lw $v0, ($v0) -/* 079EC8 800E0A18 30421000 */ andi $v0, $v0, 0x1000 -/* 079ECC 800E0A1C 10400009 */ beqz $v0, .L800E0A44 -/* 079ED0 800E0A20 00000000 */ nop -.L800E0A24: -/* 079ED4 800E0A24 922200B4 */ lbu $v0, 0xb4($s1) -/* 079ED8 800E0A28 2C420003 */ sltiu $v0, $v0, 3 -/* 079EDC 800E0A2C 10400005 */ beqz $v0, .L800E0A44 -/* 079EE0 800E0A30 24040002 */ addiu $a0, $zero, 2 -/* 079EE4 800E0A34 8E220004 */ lw $v0, 4($s1) -/* 079EE8 800E0A38 34420010 */ ori $v0, $v0, 0x10 -/* 079EEC 800E0A3C 0C03BCF5 */ jal func_800EF3D4 -/* 079EF0 800E0A40 AE220004 */ sw $v0, 4($s1) -.L800E0A44: -/* 079EF4 800E0A44 8E220004 */ lw $v0, 4($s1) -/* 079EF8 800E0A48 30420010 */ andi $v0, $v0, 0x10 -/* 079EFC 800E0A4C 14400007 */ bnez $v0, .L800E0A6C -/* 079F00 800E0A50 00000000 */ nop -/* 079F04 800E0A54 0C03BCF5 */ jal func_800EF3D4 -/* 079F08 800E0A58 0000202D */ daddu $a0, $zero, $zero -/* 079F0C 800E0A5C 0C03BCE9 */ jal func_800EF3A4 -/* 079F10 800E0A60 00000000 */ nop -/* 079F14 800E0A64 080382AD */ j .L800E0AB4 -/* 079F18 800E0A68 00000000 */ nop - -.L800E0A6C: -/* 079F1C 800E0A6C 3C108011 */ lui $s0, 0x8011 -/* 079F20 800E0A70 2610C958 */ addiu $s0, $s0, -0x36a8 -/* 079F24 800E0A74 8E020000 */ lw $v0, ($s0) -/* 079F28 800E0A78 1440000C */ bnez $v0, .L800E0AAC -/* 079F2C 800E0A7C 3C06802B */ lui $a2, 0x802b -/* 079F30 800E0A80 3C0400E2 */ lui $a0, 0xe2 -/* 079F34 800E0A84 24840110 */ addiu $a0, $a0, 0x110 -/* 079F38 800E0A88 3C0500E2 */ lui $a1, 0xe2 -/* 079F3C 800E0A8C 24A50EB0 */ addiu $a1, $a1, 0xeb0 -/* 079F40 800E0A90 0C00A5CF */ jal dma_copy -/* 079F44 800E0A94 34C67000 */ ori $a2, $a2, 0x7000 -/* 079F48 800E0A98 3C02802B */ lui $v0, 0x802b -/* 079F4C 800E0A9C 244270B4 */ addiu $v0, $v0, 0x70b4 -/* 079F50 800E0AA0 10400004 */ beqz $v0, .L800E0AB4 -/* 079F54 800E0AA4 AE020000 */ sw $v0, ($s0) -/* 079F58 800E0AA8 8E020000 */ lw $v0, ($s0) -.L800E0AAC: -/* 079F5C 800E0AAC 0040F809 */ jalr $v0 -/* 079F60 800E0AB0 00000000 */ nop -.L800E0AB4: -/* 079F64 800E0AB4 8FBF0020 */ lw $ra, 0x20($sp) -/* 079F68 800E0AB8 8FB3001C */ lw $s3, 0x1c($sp) -/* 079F6C 800E0ABC 8FB20018 */ lw $s2, 0x18($sp) -/* 079F70 800E0AC0 8FB10014 */ lw $s1, 0x14($sp) -/* 079F74 800E0AC4 8FB00010 */ lw $s0, 0x10($sp) -/* 079F78 800E0AC8 03E00008 */ jr $ra -/* 079F7C 800E0ACC 27BD0028 */ addiu $sp, $sp, 0x28 - -func_800E0AD0: -/* 079F80 800E0AD0 3C02800F */ lui $v0, 0x800f -/* 079F84 800E0AD4 8C427B30 */ lw $v0, 0x7b30($v0) -/* 079F88 800E0AD8 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 079F8C 800E0ADC AFBF0010 */ sw $ra, 0x10($sp) -/* 079F90 800E0AE0 8C420004 */ lw $v0, 4($v0) -/* 079F94 800E0AE4 30420010 */ andi $v0, $v0, 0x10 -/* 079F98 800E0AE8 10400007 */ beqz $v0, .L800E0B08 -/* 079F9C 800E0AEC 00000000 */ nop -/* 079FA0 800E0AF0 3C028011 */ lui $v0, 0x8011 -/* 079FA4 800E0AF4 8C42C958 */ lw $v0, -0x36a8($v0) -/* 079FA8 800E0AF8 10400003 */ beqz $v0, .L800E0B08 -/* 079FAC 800E0AFC 00000000 */ nop -/* 079FB0 800E0B00 0C0ADC7A */ jal func_802B71E8 -/* 079FB4 800E0B04 00000000 */ nop -.L800E0B08: -/* 079FB8 800E0B08 8FBF0010 */ lw $ra, 0x10($sp) -/* 079FBC 800E0B0C 03E00008 */ jr $ra -/* 079FC0 800E0B10 27BD0018 */ addiu $sp, $sp, 0x18 - -func_800E0B14: -/* 079FC4 800E0B14 3C02800F */ lui $v0, 0x800f -/* 079FC8 800E0B18 8C427B30 */ lw $v0, 0x7b30($v0) -/* 079FCC 800E0B1C 8C430004 */ lw $v1, 4($v0) -/* 079FD0 800E0B20 2404FFEF */ addiu $a0, $zero, -0x11 -/* 079FD4 800E0B24 3C018011 */ lui $at, 0x8011 -/* 079FD8 800E0B28 AC20C958 */ sw $zero, -0x36a8($at) -/* 079FDC 800E0B2C 00641824 */ and $v1, $v1, $a0 -/* 079FE0 800E0B30 03E00008 */ jr $ra -/* 079FE4 800E0B34 AC430004 */ sw $v1, 4($v0) - -func_800E0B38: -/* 079FE8 800E0B38 3C028007 */ lui $v0, 0x8007 -/* 079FEC 800E0B3C 8C42419C */ lw $v0, 0x419c($v0) -/* 079FF0 800E0B40 80420070 */ lb $v0, 0x70($v0) -/* 079FF4 800E0B44 3C048011 */ lui $a0, 0x8011 -/* 079FF8 800E0B48 2484F290 */ addiu $a0, $a0, -0xd70 -/* 079FFC 800E0B4C 1440000E */ bnez $v0, .L800E0B88 -/* 07A000 800E0B50 24050001 */ addiu $a1, $zero, 1 -/* 07A004 800E0B54 24830004 */ addiu $v1, $a0, 4 -/* 07A008 800E0B58 24840008 */ addiu $a0, $a0, 8 -.L800E0B5C: -/* 07A00C 800E0B5C 90820014 */ lbu $v0, 0x14($a0) -/* 07A010 800E0B60 50400005 */ beql $v0, $zero, .L800E0B78 -/* 07A014 800E0B64 24630004 */ addiu $v1, $v1, 4 -/* 07A018 800E0B68 8C6202C4 */ lw $v0, 0x2c4($v1) -/* 07A01C 800E0B6C 24420001 */ addiu $v0, $v0, 1 -/* 07A020 800E0B70 AC6202C4 */ sw $v0, 0x2c4($v1) -/* 07A024 800E0B74 24630004 */ addiu $v1, $v1, 4 -.L800E0B78: -/* 07A028 800E0B78 24A50001 */ addiu $a1, $a1, 1 -/* 07A02C 800E0B7C 28A2000C */ slti $v0, $a1, 0xc -/* 07A030 800E0B80 1440FFF6 */ bnez $v0, .L800E0B5C -/* 07A034 800E0B84 24840008 */ addiu $a0, $a0, 8 -.L800E0B88: -/* 07A038 800E0B88 03E00008 */ jr $ra -/* 07A03C 800E0B8C 00000000 */ nop - -func_800E0B90: -/* 07A040 800E0B90 3C038007 */ lui $v1, 0x8007 -/* 07A044 800E0B94 8C637410 */ lw $v1, 0x7410($v1) -/* 07A048 800E0B98 27BDFFD0 */ addiu $sp, $sp, -0x30 -/* 07A04C 800E0B9C AFB10014 */ sw $s1, 0x14($sp) -/* 07A050 800E0BA0 3C118011 */ lui $s1, 0x8011 -/* 07A054 800E0BA4 2631EFC8 */ addiu $s1, $s1, -0x1038 -/* 07A058 800E0BA8 AFBF0018 */ sw $ra, 0x18($sp) -/* 07A05C 800E0BAC AFB00010 */ sw $s0, 0x10($sp) -/* 07A060 800E0BB0 F7B60028 */ sdc1 $f22, 0x28($sp) -/* 07A064 800E0BB4 F7B40020 */ sdc1 $f20, 0x20($sp) -/* 07A068 800E0BB8 00031080 */ sll $v0, $v1, 2 -/* 07A06C 800E0BBC 00431021 */ addu $v0, $v0, $v1 -/* 07A070 800E0BC0 00021080 */ sll $v0, $v0, 2 -/* 07A074 800E0BC4 00431023 */ subu $v0, $v0, $v1 -/* 07A078 800E0BC8 000218C0 */ sll $v1, $v0, 3 -/* 07A07C 800E0BCC 00431021 */ addu $v0, $v0, $v1 -/* 07A080 800E0BD0 000210C0 */ sll $v0, $v0, 3 -/* 07A084 800E0BD4 3C01800B */ lui $at, 0x800b -/* 07A088 800E0BD8 00220821 */ addu $at, $at, $v0 -/* 07A08C 800E0BDC C4361DEC */ lwc1 $f22, 0x1dec($at) -/* 07A090 800E0BE0 C62E0084 */ lwc1 $f14, 0x84($s1) -/* 07A094 800E0BE4 0C00A70A */ jal get_clamped_angle_diff -/* 07A098 800E0BE8 4600B306 */ mov.s $f12, $f22 -/* 07A09C 800E0BEC 46000506 */ mov.s $f20, $f0 -/* 07A0A0 800E0BF0 3C01C0A0 */ lui $at, 0xc0a0 -/* 07A0A4 800E0BF4 44810000 */ mtc1 $at, $f0 -/* 07A0A8 800E0BF8 3C02800F */ lui $v0, 0x800f -/* 07A0AC 800E0BFC 24427B48 */ addiu $v0, $v0, 0x7b48 -/* 07A0B0 800E0C00 4600A03C */ c.lt.s $f20, $f0 -/* 07A0B4 800E0C04 00000000 */ nop -/* 07A0B8 800E0C08 4500000B */ bc1f .L800E0C38 -/* 07A0BC 800E0C0C AC400000 */ sw $zero, ($v0) -/* 07A0C0 800E0C10 3C01C32F */ lui $at, 0xc32f -/* 07A0C4 800E0C14 44810000 */ mtc1 $at, $f0 -/* 07A0C8 800E0C18 00000000 */ nop -/* 07A0CC 800E0C1C 4614003C */ c.lt.s $f0, $f20 -/* 07A0D0 800E0C20 00000000 */ nop -/* 07A0D4 800E0C24 45000004 */ bc1f .L800E0C38 -/* 07A0D8 800E0C28 0000182D */ daddu $v1, $zero, $zero -/* 07A0DC 800E0C2C C4540000 */ lwc1 $f20, ($v0) -/* 07A0E0 800E0C30 08038324 */ j .L800E0C90 -/* 07A0E4 800E0C34 00000000 */ nop - -.L800E0C38: -/* 07A0E8 800E0C38 3C0140A0 */ lui $at, 0x40a0 -/* 07A0EC 800E0C3C 44810000 */ mtc1 $at, $f0 -/* 07A0F0 800E0C40 00000000 */ nop -/* 07A0F4 800E0C44 4614003C */ c.lt.s $f0, $f20 -/* 07A0F8 800E0C48 00000000 */ nop -/* 07A0FC 800E0C4C 4500000C */ bc1f .L800E0C80 -/* 07A100 800E0C50 00000000 */ nop -/* 07A104 800E0C54 3C01432F */ lui $at, 0x432f -/* 07A108 800E0C58 44810000 */ mtc1 $at, $f0 -/* 07A10C 800E0C5C 00000000 */ nop -/* 07A110 800E0C60 4600A03C */ c.lt.s $f20, $f0 -/* 07A114 800E0C64 00000000 */ nop -/* 07A118 800E0C68 45000005 */ bc1f .L800E0C80 -/* 07A11C 800E0C6C 24030001 */ addiu $v1, $zero, 1 -/* 07A120 800E0C70 3C014334 */ lui $at, 0x4334 -/* 07A124 800E0C74 4481A000 */ mtc1 $at, $f20 -/* 07A128 800E0C78 08038324 */ j .L800E0C90 -/* 07A12C 800E0C7C 00000000 */ nop - -.L800E0C80: -/* 07A130 800E0C80 3C01800F */ lui $at, 0x800f -/* 07A134 800E0C84 C4347B40 */ lwc1 $f20, 0x7b40($at) -/* 07A138 800E0C88 4680A520 */ cvt.s.w $f20, $f20 -/* 07A13C 800E0C8C 24030002 */ addiu $v1, $zero, 2 -.L800E0C90: -/* 07A140 800E0C90 3C048011 */ lui $a0, 0x8011 -/* 07A144 800E0C94 2484C95C */ addiu $a0, $a0, -0x36a4 -/* 07A148 800E0C98 8C820000 */ lw $v0, ($a0) -/* 07A14C 800E0C9C 10430022 */ beq $v0, $v1, .L800E0D28 -/* 07A150 800E0CA0 24020002 */ addiu $v0, $zero, 2 -/* 07A154 800E0CA4 10620020 */ beq $v1, $v0, .L800E0D28 -/* 07A158 800E0CA8 00000000 */ nop -/* 07A15C 800E0CAC 3C028007 */ lui $v0, 0x8007 -/* 07A160 800E0CB0 8C427410 */ lw $v0, 0x7410($v0) -/* 07A164 800E0CB4 AC830000 */ sw $v1, ($a0) -/* 07A168 800E0CB8 00021080 */ sll $v0, $v0, 2 -/* 07A16C 800E0CBC 10600005 */ beqz $v1, .L800E0CD4 -/* 07A170 800E0CC0 02221021 */ addu $v0, $s1, $v0 -/* 07A174 800E0CC4 3C014334 */ lui $at, 0x4334 -/* 07A178 800E0CC8 44810000 */ mtc1 $at, $f0 -/* 07A17C 800E0CCC 08038339 */ j .L800E0CE4 -/* 07A180 800E0CD0 E4400090 */ swc1 $f0, 0x90($v0) - -.L800E0CD4: -/* 07A184 800E0CD4 3C01C334 */ lui $at, 0xc334 -/* 07A188 800E0CD8 44810000 */ mtc1 $at, $f0 -/* 07A18C 800E0CDC 00000000 */ nop -/* 07A190 800E0CE0 E4400090 */ swc1 $f0, 0x90($v0) -.L800E0CE4: -/* 07A194 800E0CE4 C62E0084 */ lwc1 $f14, 0x84($s1) -/* 07A198 800E0CE8 0C00A70A */ jal get_clamped_angle_diff -/* 07A19C 800E0CEC 4600B306 */ mov.s $f12, $f22 -/* 07A1A0 800E0CF0 3C0142B4 */ lui $at, 0x42b4 -/* 07A1A4 800E0CF4 44811000 */ mtc1 $at, $f2 -/* 07A1A8 800E0CF8 46000005 */ abs.s $f0, $f0 -/* 07A1AC 800E0CFC 4600103E */ c.le.s $f2, $f0 -/* 07A1B0 800E0D00 00000000 */ nop -/* 07A1B4 800E0D04 45000008 */ bc1f .L800E0D28 -/* 07A1B8 800E0D08 00000000 */ nop -/* 07A1BC 800E0D0C 3C028007 */ lui $v0, 0x8007 -/* 07A1C0 800E0D10 8C427410 */ lw $v0, 0x7410($v0) -/* 07A1C4 800E0D14 00021080 */ sll $v0, $v0, 2 -/* 07A1C8 800E0D18 02221021 */ addu $v0, $s1, $v0 -/* 07A1CC 800E0D1C C4400090 */ lwc1 $f0, 0x90($v0) -/* 07A1D0 800E0D20 46000007 */ neg.s $f0, $f0 -/* 07A1D4 800E0D24 E4400090 */ swc1 $f0, 0x90($v0) -.L800E0D28: -/* 07A1D8 800E0D28 3C028007 */ lui $v0, 0x8007 -/* 07A1DC 800E0D2C 8C427410 */ lw $v0, 0x7410($v0) -/* 07A1E0 800E0D30 44801000 */ mtc1 $zero, $f2 -/* 07A1E4 800E0D34 00021080 */ sll $v0, $v0, 2 -/* 07A1E8 800E0D38 02221021 */ addu $v0, $s1, $v0 -/* 07A1EC 800E0D3C C4440090 */ lwc1 $f4, 0x90($v0) -/* 07A1F0 800E0D40 46022032 */ c.eq.s $f4, $f2 -/* 07A1F4 800E0D44 00000000 */ nop -/* 07A1F8 800E0D48 4501001B */ bc1t .L800E0DB8 -/* 07A1FC 800E0D4C 00000000 */ nop -/* 07A200 800E0D50 4602203C */ c.lt.s $f4, $f2 -/* 07A204 800E0D54 00000000 */ nop -/* 07A208 800E0D58 4500000B */ bc1f .L800E0D88 -/* 07A20C 800E0D5C 00000000 */ nop -/* 07A210 800E0D60 3C0141E0 */ lui $at, 0x41e0 -/* 07A214 800E0D64 44810000 */ mtc1 $at, $f0 -/* 07A218 800E0D68 00000000 */ nop -/* 07A21C 800E0D6C 46002100 */ add.s $f4, $f4, $f0 -/* 07A220 800E0D70 4604103C */ c.lt.s $f2, $f4 -/* 07A224 800E0D74 00000000 */ nop -/* 07A228 800E0D78 45030003 */ bc1tl .L800E0D88 -/* 07A22C 800E0D7C 46001106 */ mov.s $f4, $f2 -/* 07A230 800E0D80 44801000 */ mtc1 $zero, $f2 -/* 07A234 800E0D84 00000000 */ nop -.L800E0D88: -/* 07A238 800E0D88 4604103C */ c.lt.s $f2, $f4 -/* 07A23C 800E0D8C 00000000 */ nop -/* 07A240 800E0D90 45000009 */ bc1f .L800E0DB8 -/* 07A244 800E0D94 00000000 */ nop -/* 07A248 800E0D98 3C0141E0 */ lui $at, 0x41e0 -/* 07A24C 800E0D9C 44810000 */ mtc1 $at, $f0 -/* 07A250 800E0DA0 00000000 */ nop -/* 07A254 800E0DA4 46002101 */ sub.s $f4, $f4, $f0 -/* 07A258 800E0DA8 4602203C */ c.lt.s $f4, $f2 -/* 07A25C 800E0DAC 00000000 */ nop -/* 07A260 800E0DB0 45030001 */ bc1tl .L800E0DB8 -/* 07A264 800E0DB4 46001106 */ mov.s $f4, $f2 -.L800E0DB8: -/* 07A268 800E0DB8 8E220000 */ lw $v0, ($s1) -/* 07A26C 800E0DBC 3C030020 */ lui $v1, 0x20 -/* 07A270 800E0DC0 00431024 */ and $v0, $v0, $v1 -/* 07A274 800E0DC4 10400002 */ beqz $v0, .L800E0DD0 -/* 07A278 800E0DC8 00000000 */ nop -/* 07A27C 800E0DCC 44802000 */ mtc1 $zero, $f4 -.L800E0DD0: -/* 07A280 800E0DD0 3C108007 */ lui $s0, 0x8007 -/* 07A284 800E0DD4 26107410 */ addiu $s0, $s0, 0x7410 -/* 07A288 800E0DD8 8E020000 */ lw $v0, ($s0) -/* 07A28C 800E0DDC 4600A306 */ mov.s $f12, $f20 -/* 07A290 800E0DE0 00021080 */ sll $v0, $v0, 2 -/* 07A294 800E0DE4 02221021 */ addu $v0, $s1, $v0 -/* 07A298 800E0DE8 0C00A6C9 */ jal clamp_angle -/* 07A29C 800E0DEC E4440090 */ swc1 $f4, 0x90($v0) -/* 07A2A0 800E0DF0 8E020000 */ lw $v0, ($s0) -/* 07A2A4 800E0DF4 00021080 */ sll $v0, $v0, 2 -/* 07A2A8 800E0DF8 02221021 */ addu $v0, $s1, $v0 -/* 07A2AC 800E0DFC C44C0090 */ lwc1 $f12, 0x90($v0) -/* 07A2B0 800E0E00 46000106 */ mov.s $f4, $f0 -/* 07A2B4 800E0E04 4600220D */ trunc.w.s $f8, $f4 -/* 07A2B8 800E0E08 3C01800F */ lui $at, 0x800f -/* 07A2BC 800E0E0C E4287B40 */ swc1 $f8, 0x7b40($at) -/* 07A2C0 800E0E10 0C00A6C9 */ jal clamp_angle -/* 07A2C4 800E0E14 46046300 */ add.s $f12, $f12, $f4 -/* 07A2C8 800E0E18 C6220054 */ lwc1 $f2, 0x54($s1) -/* 07A2CC 800E0E1C 44803000 */ mtc1 $zero, $f6 -/* 07A2D0 800E0E20 00000000 */ nop -/* 07A2D4 800E0E24 46061032 */ c.eq.s $f2, $f6 -/* 07A2D8 800E0E28 00000000 */ nop -/* 07A2DC 800E0E2C 45000003 */ bc1f .L800E0E3C -/* 07A2E0 800E0E30 46000106 */ mov.s $f4, $f0 -/* 07A2E4 800E0E34 3C01800F */ lui $at, 0x800f -/* 07A2E8 800E0E38 E4267B48 */ swc1 $f6, 0x7b48($at) -.L800E0E3C: -/* 07A2EC 800E0E3C 3C020002 */ lui $v0, 2 -/* 07A2F0 800E0E40 8E250000 */ lw $a1, ($s1) -/* 07A2F4 800E0E44 8E3000B8 */ lw $s0, 0xb8($s1) -/* 07A2F8 800E0E48 00A21024 */ and $v0, $a1, $v0 -/* 07A2FC 800E0E4C 5440004A */ bnel $v0, $zero, .L800E0F78 -/* 07A300 800E0E50 AE3000A4 */ sw $s0, 0xa4($s1) -/* 07A304 800E0E54 00101403 */ sra $v0, $s0, 0x10 -/* 07A308 800E0E58 304400FF */ andi $a0, $v0, 0xff -/* 07A30C 800E0E5C 822300B4 */ lb $v1, 0xb4($s1) -/* 07A310 800E0E60 2402000F */ addiu $v0, $zero, 0xf -/* 07A314 800E0E64 10620024 */ beq $v1, $v0, .L800E0EF8 -/* 07A318 800E0E68 3C020010 */ lui $v0, 0x10 -/* 07A31C 800E0E6C 00A21024 */ and $v0, $a1, $v0 -/* 07A320 800E0E70 14400022 */ bnez $v0, .L800E0EFC -/* 07A324 800E0E74 3C031000 */ lui $v1, 0x1000 -/* 07A328 800E0E78 3C01800F */ lui $at, 0x800f -/* 07A32C 800E0E7C C4207B48 */ lwc1 $f0, 0x7b48($at) -/* 07A330 800E0E80 8E220000 */ lw $v0, ($s1) -/* 07A334 800E0E84 46002000 */ add.s $f0, $f4, $f0 -/* 07A338 800E0E88 8E3000B8 */ lw $s0, 0xb8($s1) -/* 07A33C 800E0E8C 00431024 */ and $v0, $v0, $v1 -/* 07A340 800E0E90 14400015 */ bnez $v0, .L800E0EE8 -/* 07A344 800E0E94 E62000A8 */ swc1 $f0, 0xa8($s1) -/* 07A348 800E0E98 24020001 */ addiu $v0, $zero, 1 -/* 07A34C 800E0E9C 10820005 */ beq $a0, $v0, .L800E0EB4 -/* 07A350 800E0EA0 24020006 */ addiu $v0, $zero, 6 -/* 07A354 800E0EA4 10820003 */ beq $a0, $v0, .L800E0EB4 -/* 07A358 800E0EA8 2402000A */ addiu $v0, $zero, 0xa -/* 07A35C 800E0EAC 1482000E */ bne $a0, $v0, .L800E0EE8 -/* 07A360 800E0EB0 00000000 */ nop -.L800E0EB4: -/* 07A364 800E0EB4 C62E0084 */ lwc1 $f14, 0x84($s1) -/* 07A368 800E0EB8 0C00A70A */ jal get_clamped_angle_diff -/* 07A36C 800E0EBC 4600B306 */ mov.s $f12, $f22 -/* 07A370 800E0EC0 3C014270 */ lui $at, 0x4270 -/* 07A374 800E0EC4 44811000 */ mtc1 $at, $f2 -/* 07A378 800E0EC8 46000005 */ abs.s $f0, $f0 -/* 07A37C 800E0ECC 4602003C */ c.lt.s $f0, $f2 -/* 07A380 800E0ED0 00000000 */ nop -/* 07A384 800E0ED4 45000004 */ bc1f .L800E0EE8 -/* 07A388 800E0ED8 00000000 */ nop -/* 07A38C 800E0EDC 0C0383FB */ jal func_800E0FEC -/* 07A390 800E0EE0 0200202D */ daddu $a0, $s0, $zero -/* 07A394 800E0EE4 0040802D */ daddu $s0, $v0, $zero -.L800E0EE8: -/* 07A398 800E0EE8 C6200080 */ lwc1 $f0, 0x80($s1) -/* 07A39C 800E0EEC AE3000A4 */ sw $s0, 0xa4($s1) -/* 07A3A0 800E0EF0 080383DE */ j .L800E0F78 -/* 07A3A4 800E0EF4 E6200084 */ swc1 $f0, 0x84($s1) - -.L800E0EF8: -/* 07A3A8 800E0EF8 3C031000 */ lui $v1, 0x1000 -.L800E0EFC: -/* 07A3AC 800E0EFC 8E220000 */ lw $v0, ($s1) -/* 07A3B0 800E0F00 8E3000B8 */ lw $s0, 0xb8($s1) -/* 07A3B4 800E0F04 00431024 */ and $v0, $v0, $v1 -/* 07A3B8 800E0F08 5440001B */ bnel $v0, $zero, .L800E0F78 -/* 07A3BC 800E0F0C AE3000A4 */ sw $s0, 0xa4($s1) -/* 07A3C0 800E0F10 24020001 */ addiu $v0, $zero, 1 -/* 07A3C4 800E0F14 10820005 */ beq $a0, $v0, .L800E0F2C -/* 07A3C8 800E0F18 24020006 */ addiu $v0, $zero, 6 -/* 07A3CC 800E0F1C 10820003 */ beq $a0, $v0, .L800E0F2C -/* 07A3D0 800E0F20 2402000A */ addiu $v0, $zero, 0xa -/* 07A3D4 800E0F24 54820014 */ bnel $a0, $v0, .L800E0F78 -/* 07A3D8 800E0F28 AE3000A4 */ sw $s0, 0xa4($s1) -.L800E0F2C: -/* 07A3DC 800E0F2C C62200A8 */ lwc1 $f2, 0xa8($s1) -/* 07A3E0 800E0F30 3C0143AF */ lui $at, 0x43af -/* 07A3E4 800E0F34 44810000 */ mtc1 $at, $f0 -/* 07A3E8 800E0F38 00000000 */ nop -/* 07A3EC 800E0F3C 4600103C */ c.lt.s $f2, $f0 -/* 07A3F0 800E0F40 00000000 */ nop -/* 07A3F4 800E0F44 4502000C */ bc1fl .L800E0F78 -/* 07A3F8 800E0F48 AE3000A4 */ sw $s0, 0xa4($s1) -/* 07A3FC 800E0F4C 3C01433E */ lui $at, 0x433e -/* 07A400 800E0F50 44810000 */ mtc1 $at, $f0 -/* 07A404 800E0F54 00000000 */ nop -/* 07A408 800E0F58 4602003C */ c.lt.s $f0, $f2 -/* 07A40C 800E0F5C 00000000 */ nop -/* 07A410 800E0F60 45020005 */ bc1fl .L800E0F78 -/* 07A414 800E0F64 AE3000A4 */ sw $s0, 0xa4($s1) -/* 07A418 800E0F68 0C0383FB */ jal func_800E0FEC -/* 07A41C 800E0F6C 0200202D */ daddu $a0, $s0, $zero -/* 07A420 800E0F70 0040802D */ daddu $s0, $v0, $zero -/* 07A424 800E0F74 AE3000A4 */ sw $s0, 0xa4($s1) -.L800E0F78: -/* 07A428 800E0F78 3C020004 */ lui $v0, 4 -/* 07A42C 800E0F7C 8E230000 */ lw $v1, ($s1) -/* 07A430 800E0F80 3C013F80 */ lui $at, 0x3f80 -/* 07A434 800E0F84 44810000 */ mtc1 $at, $f0 -/* 07A438 800E0F88 00621024 */ and $v0, $v1, $v0 -/* 07A43C 800E0F8C 10400003 */ beqz $v0, .L800E0F9C -/* 07A440 800E0F90 3C022000 */ lui $v0, 0x2000 -/* 07A444 800E0F94 3C013F00 */ lui $at, 0x3f00 -/* 07A448 800E0F98 44810000 */ mtc1 $at, $f0 -.L800E0F9C: -/* 07A44C 800E0F9C 00621024 */ and $v0, $v1, $v0 -/* 07A450 800E0FA0 10400002 */ beqz $v0, .L800E0FAC -/* 07A454 800E0FA4 00000000 */ nop -/* 07A458 800E0FA8 44800000 */ mtc1 $zero, $f0 -.L800E0FAC: -/* 07A45C 800E0FAC 8E2500A4 */ lw $a1, 0xa4($s1) -/* 07A460 800E0FB0 44060000 */ mfc1 $a2, $f0 -/* 07A464 800E0FB4 0C0B76A3 */ jal func_802DDA8C -/* 07A468 800E0FB8 0000202D */ daddu $a0, $zero, $zero -/* 07A46C 800E0FBC A62200BC */ sh $v0, 0xbc($s1) -/* 07A470 800E0FC0 8E220000 */ lw $v0, ($s1) -/* 07A474 800E0FC4 3C034000 */ lui $v1, 0x4000 -/* 07A478 800E0FC8 00431025 */ or $v0, $v0, $v1 -/* 07A47C 800E0FCC AE220000 */ sw $v0, ($s1) -/* 07A480 800E0FD0 8FBF0018 */ lw $ra, 0x18($sp) -/* 07A484 800E0FD4 8FB10014 */ lw $s1, 0x14($sp) -/* 07A488 800E0FD8 8FB00010 */ lw $s0, 0x10($sp) -/* 07A48C 800E0FDC D7B60028 */ ldc1 $f22, 0x28($sp) -/* 07A490 800E0FE0 D7B40020 */ ldc1 $f20, 0x20($sp) -/* 07A494 800E0FE4 03E00008 */ jr $ra -/* 07A498 800E0FE8 27BD0030 */ addiu $sp, $sp, 0x30 - -func_800E0FEC: -/* 07A49C 800E0FEC 00041403 */ sra $v0, $a0, 0x10 -/* 07A4A0 800E0FF0 304300FF */ andi $v1, $v0, 0xff -/* 07A4A4 800E0FF4 24020001 */ addiu $v0, $zero, 1 -/* 07A4A8 800E0FF8 10620009 */ beq $v1, $v0, .L800E1020 -/* 07A4AC 800E0FFC 0000282D */ daddu $a1, $zero, $zero -/* 07A4B0 800E1000 24020006 */ addiu $v0, $zero, 6 -/* 07A4B4 800E1004 10620003 */ beq $v1, $v0, .L800E1014 -/* 07A4B8 800E1008 2402000A */ addiu $v0, $zero, 0xa -/* 07A4BC 800E100C 14620009 */ bne $v1, $v0, .L800E1034 -/* 07A4C0 800E1010 00000000 */ nop -.L800E1014: -/* 07A4C4 800E1014 24020001 */ addiu $v0, $zero, 1 -/* 07A4C8 800E1018 14620008 */ bne $v1, $v0, .L800E103C -/* 07A4CC 800E101C 24020006 */ addiu $v0, $zero, 6 -.L800E1020: -/* 07A4D0 800E1020 3C020001 */ lui $v0, 1 -/* 07A4D4 800E1024 3442000C */ ori $v0, $v0, 0xc -/* 07A4D8 800E1028 0044102A */ slt $v0, $v0, $a0 -/* 07A4DC 800E102C 1040003C */ beqz $v0, .L800E1120 -/* 07A4E0 800E1030 00000000 */ nop -.L800E1034: -/* 07A4E4 800E1034 03E00008 */ jr $ra -/* 07A4E8 800E1038 0080102D */ daddu $v0, $a0, $zero - -.L800E103C: -/* 07A4EC 800E103C 14620032 */ bne $v1, $v0, .L800E1108 -/* 07A4F0 800E1040 2402000A */ addiu $v0, $zero, 0xa -/* 07A4F4 800E1044 3C020006 */ lui $v0, 6 -/* 07A4F8 800E1048 3442000C */ ori $v0, $v0, 0xc -/* 07A4FC 800E104C 14820004 */ bne $a0, $v0, .L800E1060 -/* 07A500 800E1050 3C020006 */ lui $v0, 6 -/* 07A504 800E1054 3C050006 */ lui $a1, 6 -/* 07A508 800E1058 08038448 */ j .L800E1120 -/* 07A50C 800E105C 34A5000D */ ori $a1, $a1, 0xd - -.L800E1060: -/* 07A510 800E1060 3442000E */ ori $v0, $v0, 0xe -/* 07A514 800E1064 14820004 */ bne $a0, $v0, .L800E1078 -/* 07A518 800E1068 3C020006 */ lui $v0, 6 -/* 07A51C 800E106C 3C050006 */ lui $a1, 6 -/* 07A520 800E1070 08038448 */ j .L800E1120 -/* 07A524 800E1074 34A5000F */ ori $a1, $a1, 0xf - -.L800E1078: -/* 07A528 800E1078 34420010 */ ori $v0, $v0, 0x10 -/* 07A52C 800E107C 14820004 */ bne $a0, $v0, .L800E1090 -/* 07A530 800E1080 3C020006 */ lui $v0, 6 -/* 07A534 800E1084 3C050006 */ lui $a1, 6 -/* 07A538 800E1088 08038448 */ j .L800E1120 -/* 07A53C 800E108C 34A50011 */ ori $a1, $a1, 0x11 - -.L800E1090: -/* 07A540 800E1090 34420012 */ ori $v0, $v0, 0x12 -/* 07A544 800E1094 14820004 */ bne $a0, $v0, .L800E10A8 -/* 07A548 800E1098 3C020006 */ lui $v0, 6 -/* 07A54C 800E109C 3C050006 */ lui $a1, 6 -/* 07A550 800E10A0 08038448 */ j .L800E1120 -/* 07A554 800E10A4 34A50013 */ ori $a1, $a1, 0x13 - -.L800E10A8: -/* 07A558 800E10A8 34420014 */ ori $v0, $v0, 0x14 -/* 07A55C 800E10AC 14820004 */ bne $a0, $v0, .L800E10C0 -/* 07A560 800E10B0 3C020006 */ lui $v0, 6 -/* 07A564 800E10B4 3C050006 */ lui $a1, 6 -/* 07A568 800E10B8 08038448 */ j .L800E1120 -/* 07A56C 800E10BC 34A50015 */ ori $a1, $a1, 0x15 - -.L800E10C0: -/* 07A570 800E10C0 34420016 */ ori $v0, $v0, 0x16 -/* 07A574 800E10C4 14820004 */ bne $a0, $v0, .L800E10D8 -/* 07A578 800E10C8 3C020006 */ lui $v0, 6 -/* 07A57C 800E10CC 3C050006 */ lui $a1, 6 -/* 07A580 800E10D0 08038448 */ j .L800E1120 -/* 07A584 800E10D4 34A50017 */ ori $a1, $a1, 0x17 - -.L800E10D8: -/* 07A588 800E10D8 34420018 */ ori $v0, $v0, 0x18 -/* 07A58C 800E10DC 14820004 */ bne $a0, $v0, .L800E10F0 -/* 07A590 800E10E0 3C020006 */ lui $v0, 6 -/* 07A594 800E10E4 3C050006 */ lui $a1, 6 -/* 07A598 800E10E8 08038448 */ j .L800E1120 -/* 07A59C 800E10EC 34A50019 */ ori $a1, $a1, 0x19 - -.L800E10F0: -/* 07A5A0 800E10F0 3442001A */ ori $v0, $v0, 0x1a -/* 07A5A4 800E10F4 1482000A */ bne $a0, $v0, .L800E1120 -/* 07A5A8 800E10F8 00000000 */ nop -/* 07A5AC 800E10FC 3C050006 */ lui $a1, 6 -/* 07A5B0 800E1100 08038448 */ j .L800E1120 -/* 07A5B4 800E1104 34A5001B */ ori $a1, $a1, 0x1b - -.L800E1108: -/* 07A5B8 800E1108 14620005 */ bne $v1, $v0, .L800E1120 -/* 07A5BC 800E110C 3C02000A */ lui $v0, 0xa -/* 07A5C0 800E1110 34420006 */ ori $v0, $v0, 6 -/* 07A5C4 800E1114 0044102A */ slt $v0, $v0, $a0 -/* 07A5C8 800E1118 54400001 */ bnel $v0, $zero, .L800E1120 -/* 07A5CC 800E111C 24850001 */ addiu $a1, $a0, 1 -.L800E1120: -/* 07A5D0 800E1120 14A00003 */ bnez $a1, .L800E1130 -/* 07A5D4 800E1124 3C020100 */ lui $v0, 0x100 -/* 07A5D8 800E1128 03E00008 */ jr $ra -/* 07A5DC 800E112C 00821025 */ or $v0, $a0, $v0 - -.L800E1130: -/* 07A5E0 800E1130 03E00008 */ jr $ra -/* 07A5E4 800E1134 00A0102D */ daddu $v0, $a1, $zero - -render_player: -/* 07A5E8 800E1138 3C028007 */ lui $v0, 0x8007 -/* 07A5EC 800E113C 8C42419C */ lw $v0, 0x419c($v0) -/* 07A5F0 800E1140 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 07A5F4 800E1144 AFBF0010 */ sw $ra, 0x10($sp) -/* 07A5F8 800E1148 80420078 */ lb $v0, 0x78($v0) -/* 07A5FC 800E114C 14400003 */ bnez $v0, .L800E115C -/* 07A600 800E1150 00000000 */ nop -/* 07A604 800E1154 0C03845A */ jal render_player_model -/* 07A608 800E1158 00000000 */ nop -.L800E115C: -/* 07A60C 800E115C 8FBF0010 */ lw $ra, 0x10($sp) -/* 07A610 800E1160 03E00008 */ jr $ra -/* 07A614 800E1164 27BD0018 */ addiu $sp, $sp, 0x18 - -render_player_model: -/* 07A618 800E1168 27BDFFB0 */ addiu $sp, $sp, -0x50 -/* 07A61C 800E116C AFB10044 */ sw $s1, 0x44($sp) -/* 07A620 800E1170 AFB00040 */ sw $s0, 0x40($sp) -/* 07A624 800E1174 3C108011 */ lui $s0, 0x8011 -/* 07A628 800E1178 2610EFC8 */ addiu $s0, $s0, -0x1038 -/* 07A62C 800E117C AFBF0048 */ sw $ra, 0x48($sp) -/* 07A630 800E1180 8E030000 */ lw $v1, ($s0) -/* 07A634 800E1184 3C024000 */ lui $v0, 0x4000 -/* 07A638 800E1188 00621024 */ and $v0, $v1, $v0 -/* 07A63C 800E118C 10400054 */ beqz $v0, .L800E12E0 -/* 07A640 800E1190 27B10020 */ addiu $s1, $sp, 0x20 -/* 07A644 800E1194 3C02BFFF */ lui $v0, 0xbfff -/* 07A648 800E1198 3442FFFF */ ori $v0, $v0, 0xffff -/* 07A64C 800E119C 8E050028 */ lw $a1, 0x28($s0) -/* 07A650 800E11A0 8E06002C */ lw $a2, 0x2c($s0) -/* 07A654 800E11A4 8E070030 */ lw $a3, 0x30($s0) -/* 07A658 800E11A8 3C04800A */ lui $a0, 0x800a -/* 07A65C 800E11AC 8484A634 */ lh $a0, -0x59cc($a0) -/* 07A660 800E11B0 00621024 */ and $v0, $v1, $v0 -/* 07A664 800E11B4 AE020000 */ sw $v0, ($s0) -/* 07A668 800E11B8 27A20030 */ addiu $v0, $sp, 0x30 -/* 07A66C 800E11BC AFA20010 */ sw $v0, 0x10($sp) -/* 07A670 800E11C0 27A20034 */ addiu $v0, $sp, 0x34 -/* 07A674 800E11C4 AFA20014 */ sw $v0, 0x14($sp) -/* 07A678 800E11C8 27A20038 */ addiu $v0, $sp, 0x38 -/* 07A67C 800E11CC 0C00B94E */ jal get_screen_coords -/* 07A680 800E11D0 AFA20018 */ sw $v0, 0x18($sp) -/* 07A684 800E11D4 8E020000 */ lw $v0, ($s0) -/* 07A688 800E11D8 3C030002 */ lui $v1, 2 -/* 07A68C 800E11DC 00431024 */ and $v0, $v0, $v1 -/* 07A690 800E11E0 14400026 */ bnez $v0, .L800E127C -/* 07A694 800E11E4 24020011 */ addiu $v0, $zero, 0x11 -/* 07A698 800E11E8 9203000E */ lbu $v1, 0xe($s0) -/* 07A69C 800E11EC 9202000F */ lbu $v0, 0xf($s0) -/* 07A6A0 800E11F0 1062001F */ beq $v1, $v0, .L800E1270 -/* 07A6A4 800E11F4 2C6200FE */ sltiu $v0, $v1, 0xfe -/* 07A6A8 800E11F8 10400011 */ beqz $v0, .L800E1240 -/* 07A6AC 800E11FC 3C030100 */ lui $v1, 0x100 -/* 07A6B0 800E1200 8E020004 */ lw $v0, 4($s0) -/* 07A6B4 800E1204 00431024 */ and $v0, $v0, $v1 -/* 07A6B8 800E1208 14400002 */ bnez $v0, .L800E1214 -/* 07A6BC 800E120C 24080016 */ addiu $t0, $zero, 0x16 -/* 07A6C0 800E1210 24080011 */ addiu $t0, $zero, 0x11 -.L800E1214: -/* 07A6C4 800E1214 0000202D */ daddu $a0, $zero, $zero -/* 07A6C8 800E1218 2405FFFF */ addiu $a1, $zero, -1 -/* 07A6CC 800E121C 24060007 */ addiu $a2, $zero, 7 -/* 07A6D0 800E1220 9202000E */ lbu $v0, 0xe($s0) -/* 07A6D4 800E1224 0080382D */ daddu $a3, $a0, $zero -/* 07A6D8 800E1228 A20800BE */ sb $t0, 0xbe($s0) -/* 07A6DC 800E122C AFA00010 */ sw $zero, 0x10($sp) -/* 07A6E0 800E1230 AFA00014 */ sw $zero, 0x14($sp) -/* 07A6E4 800E1234 AFA0001C */ sw $zero, 0x1c($sp) -/* 07A6E8 800E1238 0803849A */ j .L800E1268 -/* 07A6EC 800E123C AFA20018 */ sw $v0, 0x18($sp) - -.L800E1240: -/* 07A6F0 800E1240 0000202D */ daddu $a0, $zero, $zero -/* 07A6F4 800E1244 2405FFFF */ addiu $a1, $zero, -1 -/* 07A6F8 800E1248 0080302D */ daddu $a2, $a0, $zero -/* 07A6FC 800E124C 0080382D */ daddu $a3, $a0, $zero -/* 07A700 800E1250 2402000D */ addiu $v0, $zero, 0xd -/* 07A704 800E1254 A20200BE */ sb $v0, 0xbe($s0) -/* 07A708 800E1258 AFA00010 */ sw $zero, 0x10($sp) -/* 07A70C 800E125C AFA00014 */ sw $zero, 0x14($sp) -/* 07A710 800E1260 AFA00018 */ sw $zero, 0x18($sp) -/* 07A714 800E1264 AFA0001C */ sw $zero, 0x1c($sp) -.L800E1268: -/* 07A718 800E1268 0C0B77B9 */ jal func_802DDEE4 -/* 07A71C 800E126C 00000000 */ nop -.L800E1270: -/* 07A720 800E1270 9202000E */ lbu $v0, 0xe($s0) -/* 07A724 800E1274 080384A1 */ j .L800E1284 -/* 07A728 800E1278 A202000F */ sb $v0, 0xf($s0) - -.L800E127C: -/* 07A72C 800E127C A20200BE */ sb $v0, 0xbe($s0) -/* 07A730 800E1280 A200000F */ sb $zero, 0xf($s0) -.L800E1284: -/* 07A734 800E1284 8E020004 */ lw $v0, 4($s0) -/* 07A738 800E1288 30422000 */ andi $v0, $v0, 0x2000 -/* 07A73C 800E128C 14400012 */ bnez $v0, .L800E12D8 -/* 07A740 800E1290 3C030002 */ lui $v1, 2 -/* 07A744 800E1294 8FA20038 */ lw $v0, 0x38($sp) -/* 07A748 800E1298 AE300008 */ sw $s0, 8($s1) -/* 07A74C 800E129C 00021023 */ negu $v0, $v0 -/* 07A750 800E12A0 AE220004 */ sw $v0, 4($s1) -/* 07A754 800E12A4 820200BE */ lb $v0, 0xbe($s0) -/* 07A758 800E12A8 3C04800E */ lui $a0, 0x800e -/* 07A75C 800E12AC 24841704 */ addiu $a0, $a0, 0x1704 -/* 07A760 800E12B0 AE220000 */ sw $v0, ($s1) -/* 07A764 800E12B4 8E020000 */ lw $v0, ($s0) -/* 07A768 800E12B8 00431024 */ and $v0, $v0, $v1 -/* 07A76C 800E12BC 54400004 */ bnel $v0, $zero, .L800E12D0 -/* 07A770 800E12C0 AE24000C */ sw $a0, 0xc($s1) -/* 07A774 800E12C4 3C04800E */ lui $a0, 0x800e -/* 07A778 800E12C8 248412F4 */ addiu $a0, $a0, 0x12f4 -/* 07A77C 800E12CC AE24000C */ sw $a0, 0xc($s1) -.L800E12D0: -/* 07A780 800E12D0 0C047644 */ jal queue_render_task -/* 07A784 800E12D4 0220202D */ daddu $a0, $s1, $zero -.L800E12D8: -/* 07A788 800E12D8 0C03C327 */ jal func_800F0C9C -/* 07A78C 800E12DC 00000000 */ nop -.L800E12E0: -/* 07A790 800E12E0 8FBF0048 */ lw $ra, 0x48($sp) -/* 07A794 800E12E4 8FB10044 */ lw $s1, 0x44($sp) -/* 07A798 800E12E8 8FB00040 */ lw $s0, 0x40($sp) -/* 07A79C 800E12EC 03E00008 */ jr $ra -/* 07A7A0 800E12F0 27BD0050 */ addiu $sp, $sp, 0x50 - -make_player_display_list: -/* 07A7A4 800E12F4 3C03800A */ lui $v1, 0x800a -/* 07A7A8 800E12F8 8463A634 */ lh $v1, -0x59cc($v1) -/* 07A7AC 800E12FC 27BDFEB0 */ addiu $sp, $sp, -0x150 -/* 07A7B0 800E1300 AFB20128 */ sw $s2, 0x128($sp) -/* 07A7B4 800E1304 3C128011 */ lui $s2, 0x8011 -/* 07A7B8 800E1308 2652EFC8 */ addiu $s2, $s2, -0x1038 -/* 07A7BC 800E130C AFBF012C */ sw $ra, 0x12c($sp) -/* 07A7C0 800E1310 AFB10124 */ sw $s1, 0x124($sp) -/* 07A7C4 800E1314 AFB00120 */ sw $s0, 0x120($sp) -/* 07A7C8 800E1318 F7BA0148 */ sdc1 $f26, 0x148($sp) -/* 07A7CC 800E131C F7B80140 */ sdc1 $f24, 0x140($sp) -/* 07A7D0 800E1320 F7B60138 */ sdc1 $f22, 0x138($sp) -/* 07A7D4 800E1324 F7B40130 */ sdc1 $f20, 0x130($sp) -/* 07A7D8 800E1328 00031080 */ sll $v0, $v1, 2 -/* 07A7DC 800E132C 00431021 */ addu $v0, $v0, $v1 -/* 07A7E0 800E1330 00021080 */ sll $v0, $v0, 2 -/* 07A7E4 800E1334 00431023 */ subu $v0, $v0, $v1 -/* 07A7E8 800E1338 000218C0 */ sll $v1, $v0, 3 -/* 07A7EC 800E133C 00431021 */ addu $v0, $v0, $v1 -/* 07A7F0 800E1340 000210C0 */ sll $v0, $v0, 3 -/* 07A7F4 800E1344 24030011 */ addiu $v1, $zero, 0x11 -/* 07A7F8 800E1348 3C01800B */ lui $at, 0x800b -/* 07A7FC 800E134C 00220821 */ addu $at, $at, $v0 -/* 07A800 800E1350 C4201DEC */ lwc1 $f0, 0x1dec($at) -/* 07A804 800E1354 824200B4 */ lb $v0, 0xb4($s2) -/* 07A808 800E1358 14430035 */ bne $v0, $v1, .L800E1430 -/* 07A80C 800E135C 46000687 */ neg.s $f26, $f0 -/* 07A810 800E1360 3C013F36 */ lui $at, 0x3f36 -/* 07A814 800E1364 3421DB6E */ ori $at, $at, 0xdb6e -/* 07A818 800E1368 44810000 */ mtc1 $at, $f0 -/* 07A81C 800E136C 27B000E0 */ addiu $s0, $sp, 0xe0 -/* 07A820 800E1370 44050000 */ mfc1 $a1, $f0 -/* 07A824 800E1374 0200202D */ daddu $a0, $s0, $zero -/* 07A828 800E1378 00A0302D */ daddu $a2, $a1, $zero -/* 07A82C 800E137C 0C019DF0 */ jal guScaleF -/* 07A830 800E1380 00A0382D */ daddu $a3, $a1, $zero -/* 07A834 800E1384 4405D000 */ mfc1 $a1, $f26 -/* 07A838 800E1388 4480A000 */ mtc1 $zero, $f20 -/* 07A83C 800E138C 3C013F80 */ lui $at, 0x3f80 -/* 07A840 800E1390 4481B000 */ mtc1 $at, $f22 -/* 07A844 800E1394 4406A000 */ mfc1 $a2, $f20 -/* 07A848 800E1398 4407B000 */ mfc1 $a3, $f22 -/* 07A84C 800E139C 27A40020 */ addiu $a0, $sp, 0x20 -/* 07A850 800E13A0 0C019EC8 */ jal guRotateF -/* 07A854 800E13A4 E7B40010 */ swc1 $f20, 0x10($sp) -/* 07A858 800E13A8 0200202D */ daddu $a0, $s0, $zero -/* 07A85C 800E13AC 27A50020 */ addiu $a1, $sp, 0x20 -/* 07A860 800E13B0 0C019D80 */ jal guMtxCatF -/* 07A864 800E13B4 00A0302D */ daddu $a2, $a1, $zero -/* 07A868 800E13B8 27B000A0 */ addiu $s0, $sp, 0xa0 -/* 07A86C 800E13BC 8E4500A8 */ lw $a1, 0xa8($s2) -/* 07A870 800E13C0 4406A000 */ mfc1 $a2, $f20 -/* 07A874 800E13C4 4407B000 */ mfc1 $a3, $f22 -/* 07A878 800E13C8 0200202D */ daddu $a0, $s0, $zero -/* 07A87C 800E13CC 0C019EC8 */ jal guRotateF -/* 07A880 800E13D0 AFA60010 */ sw $a2, 0x10($sp) -/* 07A884 800E13D4 27A40020 */ addiu $a0, $sp, 0x20 -/* 07A888 800E13D8 0200282D */ daddu $a1, $s0, $zero -/* 07A88C 800E13DC 0C019D80 */ jal guMtxCatF -/* 07A890 800E13E0 0080302D */ daddu $a2, $a0, $zero -/* 07A894 800E13E4 C640002C */ lwc1 $f0, 0x2c($s2) -/* 07A898 800E13E8 27B00060 */ addiu $s0, $sp, 0x60 -/* 07A89C 800E13EC 46160001 */ sub.s $f0, $f0, $f22 -/* 07A8A0 800E13F0 8E450028 */ lw $a1, 0x28($s2) -/* 07A8A4 800E13F4 8E470030 */ lw $a3, 0x30($s2) -/* 07A8A8 800E13F8 44060000 */ mfc1 $a2, $f0 -/* 07A8AC 800E13FC 0C019E40 */ jal guTranslateF -/* 07A8B0 800E1400 0200202D */ daddu $a0, $s0, $zero -/* 07A8B4 800E1404 27A40020 */ addiu $a0, $sp, 0x20 -/* 07A8B8 800E1408 0200282D */ daddu $a1, $s0, $zero -/* 07A8BC 800E140C 0C019D80 */ jal guMtxCatF -/* 07A8C0 800E1410 0080302D */ daddu $a2, $a0, $zero -/* 07A8C4 800E1414 0000202D */ daddu $a0, $zero, $zero -/* 07A8C8 800E1418 0080282D */ daddu $a1, $a0, $zero -/* 07A8CC 800E141C 0080302D */ daddu $a2, $a0, $zero -/* 07A8D0 800E1420 0080382D */ daddu $a3, $a0, $zero -/* 07A8D4 800E1424 27A20020 */ addiu $v0, $sp, 0x20 -/* 07A8D8 800E1428 080385AD */ j .L800E16B4 -/* 07A8DC 800E142C AFA20010 */ sw $v0, 0x10($sp) - -.L800E1430: -/* 07A8E0 800E1430 27B000A0 */ addiu $s0, $sp, 0xa0 -/* 07A8E4 800E1434 4405D000 */ mfc1 $a1, $f26 -/* 07A8E8 800E1438 4480A000 */ mtc1 $zero, $f20 -/* 07A8EC 800E143C 3C07BF80 */ lui $a3, 0xbf80 -/* 07A8F0 800E1440 4406A000 */ mfc1 $a2, $f20 -/* 07A8F4 800E1444 0200202D */ daddu $a0, $s0, $zero -/* 07A8F8 800E1448 0C019EC8 */ jal guRotateF -/* 07A8FC 800E144C E7B40010 */ swc1 $f20, 0x10($sp) -/* 07A900 800E1450 C64C008C */ lwc1 $f12, 0x8c($s2) -/* 07A904 800E1454 0C00A6C9 */ jal clamp_angle -/* 07A908 800E1458 00000000 */ nop -/* 07A90C 800E145C 44050000 */ mfc1 $a1, $f0 -/* 07A910 800E1460 4406A000 */ mfc1 $a2, $f20 -/* 07A914 800E1464 4407A000 */ mfc1 $a3, $f20 -/* 07A918 800E1468 3C013F80 */ lui $at, 0x3f80 -/* 07A91C 800E146C 4481B000 */ mtc1 $at, $f22 -/* 07A920 800E1470 27A40020 */ addiu $a0, $sp, 0x20 -/* 07A924 800E1474 0C019EC8 */ jal guRotateF -/* 07A928 800E1478 E7B60010 */ swc1 $f22, 0x10($sp) -/* 07A92C 800E147C 0200202D */ daddu $a0, $s0, $zero -/* 07A930 800E1480 27A50020 */ addiu $a1, $sp, 0x20 -/* 07A934 800E1484 0C019D80 */ jal guMtxCatF -/* 07A938 800E1488 00A0302D */ daddu $a2, $a1, $zero -/* 07A93C 800E148C 864200B0 */ lh $v0, 0xb0($s2) -/* 07A940 800E1490 3C013F00 */ lui $at, 0x3f00 -/* 07A944 800E1494 4481C000 */ mtc1 $at, $f24 -/* 07A948 800E1498 00021023 */ negu $v0, $v0 -/* 07A94C 800E149C 44820000 */ mtc1 $v0, $f0 -/* 07A950 800E14A0 00000000 */ nop -/* 07A954 800E14A4 46800020 */ cvt.s.w $f0, $f0 -/* 07A958 800E14A8 46180002 */ mul.s $f0, $f0, $f24 -/* 07A95C 800E14AC 00000000 */ nop -/* 07A960 800E14B0 27B10060 */ addiu $s1, $sp, 0x60 -/* 07A964 800E14B4 4405A000 */ mfc1 $a1, $f20 -/* 07A968 800E14B8 4407A000 */ mfc1 $a3, $f20 -/* 07A96C 800E14BC 44060000 */ mfc1 $a2, $f0 -/* 07A970 800E14C0 0C019E40 */ jal guTranslateF -/* 07A974 800E14C4 0220202D */ daddu $a0, $s1, $zero -/* 07A978 800E14C8 0220202D */ daddu $a0, $s1, $zero -/* 07A97C 800E14CC 27A50020 */ addiu $a1, $sp, 0x20 -/* 07A980 800E14D0 0C019D80 */ jal guMtxCatF -/* 07A984 800E14D4 00A0302D */ daddu $a2, $a1, $zero -/* 07A988 800E14D8 4405D000 */ mfc1 $a1, $f26 -/* 07A98C 800E14DC 4406A000 */ mfc1 $a2, $f20 -/* 07A990 800E14E0 4407B000 */ mfc1 $a3, $f22 -/* 07A994 800E14E4 0200202D */ daddu $a0, $s0, $zero -/* 07A998 800E14E8 0C019EC8 */ jal guRotateF -/* 07A99C 800E14EC E7B40010 */ swc1 $f20, 0x10($sp) -/* 07A9A0 800E14F0 27A40020 */ addiu $a0, $sp, 0x20 -/* 07A9A4 800E14F4 0200282D */ daddu $a1, $s0, $zero -/* 07A9A8 800E14F8 0C019D80 */ jal guMtxCatF -/* 07A9AC 800E14FC 0080302D */ daddu $a2, $a0, $zero -/* 07A9B0 800E1500 8E4500A8 */ lw $a1, 0xa8($s2) -/* 07A9B4 800E1504 4406A000 */ mfc1 $a2, $f20 -/* 07A9B8 800E1508 4407B000 */ mfc1 $a3, $f22 -/* 07A9BC 800E150C 0200202D */ daddu $a0, $s0, $zero -/* 07A9C0 800E1510 0C019EC8 */ jal guRotateF -/* 07A9C4 800E1514 E7B40010 */ swc1 $f20, 0x10($sp) -/* 07A9C8 800E1518 27A40020 */ addiu $a0, $sp, 0x20 -/* 07A9CC 800E151C 0200282D */ daddu $a1, $s0, $zero -/* 07A9D0 800E1520 0C019D80 */ jal guMtxCatF -/* 07A9D4 800E1524 0080302D */ daddu $a2, $a0, $zero -/* 07A9D8 800E1528 864200B0 */ lh $v0, 0xb0($s2) -/* 07A9DC 800E152C 44820000 */ mtc1 $v0, $f0 -/* 07A9E0 800E1530 00000000 */ nop -/* 07A9E4 800E1534 46800020 */ cvt.s.w $f0, $f0 -/* 07A9E8 800E1538 46180002 */ mul.s $f0, $f0, $f24 -/* 07A9EC 800E153C 00000000 */ nop -/* 07A9F0 800E1540 0220202D */ daddu $a0, $s1, $zero -/* 07A9F4 800E1544 4405A000 */ mfc1 $a1, $f20 -/* 07A9F8 800E1548 44060000 */ mfc1 $a2, $f0 -/* 07A9FC 800E154C 0C019E40 */ jal guTranslateF -/* 07AA00 800E1550 00A0382D */ daddu $a3, $a1, $zero -/* 07AA04 800E1554 27A40020 */ addiu $a0, $sp, 0x20 -/* 07AA08 800E1558 0220282D */ daddu $a1, $s1, $zero -/* 07AA0C 800E155C 0C019D80 */ jal guMtxCatF -/* 07AA10 800E1560 0080302D */ daddu $a2, $a0, $zero -/* 07AA14 800E1564 3C013F36 */ lui $at, 0x3f36 -/* 07AA18 800E1568 3421DB6E */ ori $at, $at, 0xdb6e -/* 07AA1C 800E156C 44810000 */ mtc1 $at, $f0 -/* 07AA20 800E1570 27B000E0 */ addiu $s0, $sp, 0xe0 -/* 07AA24 800E1574 44050000 */ mfc1 $a1, $f0 -/* 07AA28 800E1578 0200202D */ daddu $a0, $s0, $zero -/* 07AA2C 800E157C 00A0302D */ daddu $a2, $a1, $zero -/* 07AA30 800E1580 0C019DF0 */ jal guScaleF -/* 07AA34 800E1584 00A0382D */ daddu $a3, $a1, $zero -/* 07AA38 800E1588 27A40020 */ addiu $a0, $sp, 0x20 -/* 07AA3C 800E158C 0200282D */ daddu $a1, $s0, $zero -/* 07AA40 800E1590 0C019D80 */ jal guMtxCatF -/* 07AA44 800E1594 0080302D */ daddu $a2, $a0, $zero -/* 07AA48 800E1598 8E450028 */ lw $a1, 0x28($s2) -/* 07AA4C 800E159C 8E46002C */ lw $a2, 0x2c($s2) -/* 07AA50 800E15A0 8E470030 */ lw $a3, 0x30($s2) -/* 07AA54 800E15A4 0C019E40 */ jal guTranslateF -/* 07AA58 800E15A8 0220202D */ daddu $a0, $s1, $zero -/* 07AA5C 800E15AC 27A40020 */ addiu $a0, $sp, 0x20 -/* 07AA60 800E15B0 0220282D */ daddu $a1, $s1, $zero -/* 07AA64 800E15B4 0C019D80 */ jal guMtxCatF -/* 07AA68 800E15B8 0080302D */ daddu $a2, $a0, $zero -/* 07AA6C 800E15BC 8E430004 */ lw $v1, 4($s2) -/* 07AA70 800E15C0 30620400 */ andi $v0, $v1, 0x400 -/* 07AA74 800E15C4 10400017 */ beqz $v0, .L800E1624 -/* 07AA78 800E15C8 0000202D */ daddu $a0, $zero, $zero -/* 07AA7C 800E15CC 2405FFFF */ addiu $a1, $zero, -1 -/* 07AA80 800E15D0 0080302D */ daddu $a2, $a0, $zero -/* 07AA84 800E15D4 0080382D */ daddu $a3, $a0, $zero -/* 07AA88 800E15D8 2402FBFF */ addiu $v0, $zero, -0x401 -/* 07AA8C 800E15DC 00621024 */ and $v0, $v1, $v0 -/* 07AA90 800E15E0 AE420004 */ sw $v0, 4($s2) -/* 07AA94 800E15E4 24020016 */ addiu $v0, $zero, 0x16 -/* 07AA98 800E15E8 A242000A */ sb $v0, 0xa($s2) -/* 07AA9C 800E15EC AFA00010 */ sw $zero, 0x10($sp) -/* 07AAA0 800E15F0 AFA00014 */ sw $zero, 0x14($sp) -/* 07AAA4 800E15F4 AFA00018 */ sw $zero, 0x18($sp) -/* 07AAA8 800E15F8 0C0B77B9 */ jal func_802DDEE4 -/* 07AAAC 800E15FC AFA0001C */ sw $zero, 0x1c($sp) -/* 07AAB0 800E1600 24050005 */ addiu $a1, $zero, 5 -/* 07AAB4 800E1604 24060001 */ addiu $a2, $zero, 1 -/* 07AAB8 800E1608 00C0382D */ daddu $a3, $a2, $zero -/* 07AABC 800E160C 8E4400B8 */ lw $a0, 0xb8($s2) -/* 07AAC0 800E1610 00C0102D */ daddu $v0, $a2, $zero -/* 07AAC4 800E1614 AFA20010 */ sw $v0, 0x10($sp) -/* 07AAC8 800E1618 AFA00014 */ sw $zero, 0x14($sp) -/* 07AACC 800E161C 0C0B77FE */ jal func_802DDFF8 -/* 07AAD0 800E1620 AFA00018 */ sw $zero, 0x18($sp) -.L800E1624: -/* 07AAD4 800E1624 8242000A */ lb $v0, 0xa($s2) -/* 07AAD8 800E1628 9243000A */ lbu $v1, 0xa($s2) -/* 07AADC 800E162C 1040000D */ beqz $v0, .L800E1664 -/* 07AAE0 800E1630 2462FFFF */ addiu $v0, $v1, -1 -/* 07AAE4 800E1634 A242000A */ sb $v0, 0xa($s2) -/* 07AAE8 800E1638 00021600 */ sll $v0, $v0, 0x18 -/* 07AAEC 800E163C 14400009 */ bnez $v0, .L800E1664 -/* 07AAF0 800E1640 0000202D */ daddu $a0, $zero, $zero -/* 07AAF4 800E1644 2405FFFF */ addiu $a1, $zero, -1 -/* 07AAF8 800E1648 0080302D */ daddu $a2, $a0, $zero -/* 07AAFC 800E164C 0080382D */ daddu $a3, $a0, $zero -/* 07AB00 800E1650 AFA00010 */ sw $zero, 0x10($sp) -/* 07AB04 800E1654 AFA00014 */ sw $zero, 0x14($sp) -/* 07AB08 800E1658 AFA00018 */ sw $zero, 0x18($sp) -/* 07AB0C 800E165C 0C0B77B9 */ jal func_802DDEE4 -/* 07AB10 800E1660 AFA0001C */ sw $zero, 0x1c($sp) -.L800E1664: -/* 07AB14 800E1664 C64200A8 */ lwc1 $f2, 0xa8($s2) -/* 07AB18 800E1668 3C0142B4 */ lui $at, 0x42b4 -/* 07AB1C 800E166C 44810000 */ mtc1 $at, $f0 -/* 07AB20 800E1670 00000000 */ nop -/* 07AB24 800E1674 4602003E */ c.le.s $f0, $f2 -/* 07AB28 800E1678 00000000 */ nop -/* 07AB2C 800E167C 45000008 */ bc1f .L800E16A0 -/* 07AB30 800E1680 0000202D */ daddu $a0, $zero, $zero -/* 07AB34 800E1684 3C014387 */ lui $at, 0x4387 -/* 07AB38 800E1688 44810000 */ mtc1 $at, $f0 -/* 07AB3C 800E168C 00000000 */ nop -/* 07AB40 800E1690 4600103C */ c.lt.s $f2, $f0 -/* 07AB44 800E1694 00000000 */ nop -/* 07AB48 800E1698 45030001 */ bc1tl .L800E16A0 -/* 07AB4C 800E169C 3C041000 */ lui $a0, 0x1000 -.L800E16A0: -/* 07AB50 800E16A0 27A20020 */ addiu $v0, $sp, 0x20 -/* 07AB54 800E16A4 AFA20010 */ sw $v0, 0x10($sp) -/* 07AB58 800E16A8 0000282D */ daddu $a1, $zero, $zero -/* 07AB5C 800E16AC 00A0302D */ daddu $a2, $a1, $zero -/* 07AB60 800E16B0 00A0382D */ daddu $a3, $a1, $zero -.L800E16B4: -/* 07AB64 800E16B4 0C0B7710 */ jal render_sprite -/* 07AB68 800E16B8 00000000 */ nop -/* 07AB6C 800E16BC 3C03800F */ lui $v1, 0x800f -/* 07AB70 800E16C0 24637B4C */ addiu $v1, $v1, 0x7b4c -/* 07AB74 800E16C4 8C620000 */ lw $v0, ($v1) -/* 07AB78 800E16C8 24420001 */ addiu $v0, $v0, 1 -/* 07AB7C 800E16CC AC620000 */ sw $v0, ($v1) -/* 07AB80 800E16D0 28420003 */ slti $v0, $v0, 3 -/* 07AB84 800E16D4 50400001 */ beql $v0, $zero, .L800E16DC -/* 07AB88 800E16D8 AC600000 */ sw $zero, ($v1) -.L800E16DC: -/* 07AB8C 800E16DC 8FBF012C */ lw $ra, 0x12c($sp) -/* 07AB90 800E16E0 8FB20128 */ lw $s2, 0x128($sp) -/* 07AB94 800E16E4 8FB10124 */ lw $s1, 0x124($sp) -/* 07AB98 800E16E8 8FB00120 */ lw $s0, 0x120($sp) -/* 07AB9C 800E16EC D7BA0148 */ ldc1 $f26, 0x148($sp) -/* 07ABA0 800E16F0 D7B80140 */ ldc1 $f24, 0x140($sp) -/* 07ABA4 800E16F4 D7B60138 */ ldc1 $f22, 0x138($sp) -/* 07ABA8 800E16F8 D7B40130 */ ldc1 $f20, 0x130($sp) -/* 07ABAC 800E16FC 03E00008 */ jr $ra -/* 07ABB0 800E1700 27BD0150 */ addiu $sp, $sp, 0x150 - -make_spinning_player_display_list: -/* 07ABB4 800E1704 27BDFE80 */ addiu $sp, $sp, -0x180 -/* 07ABB8 800E1708 F7B60158 */ sdc1 $f22, 0x158($sp) -/* 07ABBC 800E170C 4480B000 */ mtc1 $zero, $f22 -/* 07ABC0 800E1710 AFB10134 */ sw $s1, 0x134($sp) -/* 07ABC4 800E1714 3C118011 */ lui $s1, 0x8011 -/* 07ABC8 800E1718 2631EFC8 */ addiu $s1, $s1, -0x1038 -/* 07ABCC 800E171C AFB3013C */ sw $s3, 0x13c($sp) -/* 07ABD0 800E1720 0000982D */ daddu $s3, $zero, $zero -/* 07ABD4 800E1724 AFB60148 */ sw $s6, 0x148($sp) -/* 07ABD8 800E1728 3C16800B */ lui $s6, 0x800b -/* 07ABDC 800E172C 26D61D80 */ addiu $s6, $s6, 0x1d80 -/* 07ABE0 800E1730 AFB50144 */ sw $s5, 0x144($sp) -/* 07ABE4 800E1734 241500FF */ addiu $s5, $zero, 0xff -/* 07ABE8 800E1738 AFB00130 */ sw $s0, 0x130($sp) -/* 07ABEC 800E173C 27B000A0 */ addiu $s0, $sp, 0xa0 -/* 07ABF0 800E1740 AFB20138 */ sw $s2, 0x138($sp) -/* 07ABF4 800E1744 27B20060 */ addiu $s2, $sp, 0x60 -/* 07ABF8 800E1748 AFB40140 */ sw $s4, 0x140($sp) -/* 07ABFC 800E174C 27B400E0 */ addiu $s4, $sp, 0xe0 -/* 07AC00 800E1750 AFBF014C */ sw $ra, 0x14c($sp) -/* 07AC04 800E1754 F7BE0178 */ sdc1 $f30, 0x178($sp) -/* 07AC08 800E1758 F7BC0170 */ sdc1 $f28, 0x170($sp) -/* 07AC0C 800E175C F7BA0168 */ sdc1 $f26, 0x168($sp) -/* 07AC10 800E1760 F7B80160 */ sdc1 $f24, 0x160($sp) -/* 07AC14 800E1764 F7B40150 */ sdc1 $f20, 0x150($sp) -.L800E1768: -/* 07AC18 800E1768 3C03800A */ lui $v1, 0x800a -/* 07AC1C 800E176C 8463A634 */ lh $v1, -0x59cc($v1) -/* 07AC20 800E1770 00031080 */ sll $v0, $v1, 2 -/* 07AC24 800E1774 00431021 */ addu $v0, $v0, $v1 -/* 07AC28 800E1778 00021080 */ sll $v0, $v0, 2 -/* 07AC2C 800E177C 00431023 */ subu $v0, $v0, $v1 -/* 07AC30 800E1780 000218C0 */ sll $v1, $v0, 3 -/* 07AC34 800E1784 00431021 */ addu $v0, $v0, $v1 -/* 07AC38 800E1788 000210C0 */ sll $v0, $v0, 3 -/* 07AC3C 800E178C 00561021 */ addu $v0, $v0, $s6 -/* 07AC40 800E1790 C440006C */ lwc1 $f0, 0x6c($v0) -/* 07AC44 800E1794 16600064 */ bnez $s3, .L800E1928 -/* 07AC48 800E1798 46000507 */ neg.s $f20, $f0 -/* 07AC4C 800E179C C62200A8 */ lwc1 $f2, 0xa8($s1) -/* 07AC50 800E17A0 3C0142B4 */ lui $at, 0x42b4 -/* 07AC54 800E17A4 44810000 */ mtc1 $at, $f0 -/* 07AC58 800E17A8 00000000 */ nop -/* 07AC5C 800E17AC 4602003C */ c.lt.s $f0, $f2 -/* 07AC60 800E17B0 00000000 */ nop -/* 07AC64 800E17B4 4500000A */ bc1f .L800E17E0 -/* 07AC68 800E17B8 00000000 */ nop -/* 07AC6C 800E17BC 3C014334 */ lui $at, 0x4334 -/* 07AC70 800E17C0 44812000 */ mtc1 $at, $f4 -/* 07AC74 800E17C4 00000000 */ nop -/* 07AC78 800E17C8 4604103E */ c.le.s $f2, $f4 -/* 07AC7C 800E17CC 00000000 */ nop -/* 07AC80 800E17D0 45000003 */ bc1f .L800E17E0 -/* 07AC84 800E17D4 00000000 */ nop -/* 07AC88 800E17D8 0803861C */ j .L800E1870 -/* 07AC8C 800E17DC 46022501 */ sub.s $f20, $f4, $f2 - -.L800E17E0: -/* 07AC90 800E17E0 C62000A8 */ lwc1 $f0, 0xa8($s1) -/* 07AC94 800E17E4 3C014334 */ lui $at, 0x4334 -/* 07AC98 800E17E8 44812000 */ mtc1 $at, $f4 -/* 07AC9C 800E17EC 00000000 */ nop -/* 07ACA0 800E17F0 4600203C */ c.lt.s $f4, $f0 -/* 07ACA4 800E17F4 00000000 */ nop -/* 07ACA8 800E17F8 4500000C */ bc1f .L800E182C -/* 07ACAC 800E17FC 00000000 */ nop -/* 07ACB0 800E1800 3C014387 */ lui $at, 0x4387 -/* 07ACB4 800E1804 44812000 */ mtc1 $at, $f4 -/* 07ACB8 800E1808 00000000 */ nop -/* 07ACBC 800E180C 4604003E */ c.le.s $f0, $f4 -/* 07ACC0 800E1810 00000000 */ nop -/* 07ACC4 800E1814 45000008 */ bc1f .L800E1838 -/* 07ACC8 800E1818 00000000 */ nop -/* 07ACCC 800E181C 3C014334 */ lui $at, 0x4334 -/* 07ACD0 800E1820 44812000 */ mtc1 $at, $f4 -/* 07ACD4 800E1824 0803861C */ j .L800E1870 -/* 07ACD8 800E1828 46040501 */ sub.s $f20, $f0, $f4 - -.L800E182C: -/* 07ACDC 800E182C 3C014387 */ lui $at, 0x4387 -/* 07ACE0 800E1830 44812000 */ mtc1 $at, $f4 -/* 07ACE4 800E1834 00000000 */ nop -.L800E1838: -/* 07ACE8 800E1838 4600203C */ c.lt.s $f4, $f0 -/* 07ACEC 800E183C 00000000 */ nop -/* 07ACF0 800E1840 4500000A */ bc1f .L800E186C -/* 07ACF4 800E1844 00000000 */ nop -/* 07ACF8 800E1848 3C0143B4 */ lui $at, 0x43b4 -/* 07ACFC 800E184C 44811000 */ mtc1 $at, $f2 -/* 07AD00 800E1850 00000000 */ nop -/* 07AD04 800E1854 4602003E */ c.le.s $f0, $f2 -/* 07AD08 800E1858 00000000 */ nop -/* 07AD0C 800E185C 45000003 */ bc1f .L800E186C -/* 07AD10 800E1860 00000000 */ nop -/* 07AD14 800E1864 0803861C */ j .L800E1870 -/* 07AD18 800E1868 46001501 */ sub.s $f20, $f2, $f0 - -.L800E186C: -/* 07AD1C 800E186C C63400A8 */ lwc1 $f20, 0xa8($s1) -.L800E1870: -/* 07AD20 800E1870 3C0141C8 */ lui $at, 0x41c8 -/* 07AD24 800E1874 44810000 */ mtc1 $at, $f0 -/* 07AD28 800E1878 00000000 */ nop -/* 07AD2C 800E187C 4600A003 */ div.s $f0, $f20, $f0 -/* 07AD30 800E1880 4600010D */ trunc.w.s $f4, $f0 -/* 07AD34 800E1884 44062000 */ mfc1 $a2, $f4 -/* 07AD38 800E1888 00000000 */ nop -/* 07AD3C 800E188C 00061100 */ sll $v0, $a2, 4 -/* 07AD40 800E1890 00461023 */ subu $v0, $v0, $a2 -/* 07AD44 800E1894 00021080 */ sll $v0, $v0, 2 -/* 07AD48 800E1898 02A23023 */ subu $a2, $s5, $v0 -/* 07AD4C 800E189C 28C20064 */ slti $v0, $a2, 0x64 -/* 07AD50 800E18A0 54400001 */ bnel $v0, $zero, .L800E18A8 -/* 07AD54 800E18A4 24060064 */ addiu $a2, $zero, 0x64 -.L800E18A8: -/* 07AD58 800E18A8 0000202D */ daddu $a0, $zero, $zero -/* 07AD5C 800E18AC 24050006 */ addiu $a1, $zero, 6 -/* 07AD60 800E18B0 00C0382D */ daddu $a3, $a2, $zero -/* 07AD64 800E18B4 AFA60010 */ sw $a2, 0x10($sp) -/* 07AD68 800E18B8 AFB50014 */ sw $s5, 0x14($sp) -/* 07AD6C 800E18BC 0C0B77FE */ jal func_802DDFF8 -/* 07AD70 800E18C0 AFA00018 */ sw $zero, 0x18($sp) -/* 07AD74 800E18C4 4405A000 */ mfc1 $a1, $f20 -/* 07AD78 800E18C8 4406B000 */ mfc1 $a2, $f22 -/* 07AD7C 800E18CC 3C07BF80 */ lui $a3, 0xbf80 -/* 07AD80 800E18D0 0200202D */ daddu $a0, $s0, $zero -/* 07AD84 800E18D4 0C019EC8 */ jal guRotateF -/* 07AD88 800E18D8 E7B60010 */ swc1 $f22, 0x10($sp) -/* 07AD8C 800E18DC C62C008C */ lwc1 $f12, 0x8c($s1) -/* 07AD90 800E18E0 0C00A6C9 */ jal clamp_angle -/* 07AD94 800E18E4 00000000 */ nop -/* 07AD98 800E18E8 44050000 */ mfc1 $a1, $f0 -/* 07AD9C 800E18EC 4406B000 */ mfc1 $a2, $f22 -/* 07ADA0 800E18F0 4407B000 */ mfc1 $a3, $f22 -/* 07ADA4 800E18F4 3C013F80 */ lui $at, 0x3f80 -/* 07ADA8 800E18F8 44812000 */ mtc1 $at, $f4 -/* 07ADAC 800E18FC 27A40020 */ addiu $a0, $sp, 0x20 -/* 07ADB0 800E1900 0C019EC8 */ jal guRotateF -/* 07ADB4 800E1904 E7A40010 */ swc1 $f4, 0x10($sp) -/* 07ADB8 800E1908 0200202D */ daddu $a0, $s0, $zero -/* 07ADBC 800E190C 27A50020 */ addiu $a1, $sp, 0x20 -/* 07ADC0 800E1910 0C019D80 */ jal guMtxCatF -/* 07ADC4 800E1914 00A0302D */ daddu $a2, $a1, $zero -/* 07ADC8 800E1918 C63E0028 */ lwc1 $f30, 0x28($s1) -/* 07ADCC 800E191C C638002C */ lwc1 $f24, 0x2c($s1) -/* 07ADD0 800E1920 0803867B */ j .L800E19EC -/* 07ADD4 800E1924 C63C0030 */ lwc1 $f28, 0x30($s1) - -.L800E1928: -/* 07ADD8 800E1928 0260202D */ daddu $a0, $s3, $zero -/* 07ADDC 800E192C 27A50120 */ addiu $a1, $sp, 0x120 -/* 07ADE0 800E1930 27A60124 */ addiu $a2, $sp, 0x124 -/* 07ADE4 800E1934 0C03964E */ jal func_800E5938 -/* 07ADE8 800E1938 27A70128 */ addiu $a3, $sp, 0x128 -/* 07ADEC 800E193C 8FA60124 */ lw $a2, 0x124($sp) -/* 07ADF0 800E1940 3C028000 */ lui $v0, 0x8000 -/* 07ADF4 800E1944 14C20004 */ bne $a2, $v0, .L800E1958 -/* 07ADF8 800E1948 46000686 */ mov.s $f26, $f0 -/* 07ADFC 800E194C C638002C */ lwc1 $f24, 0x2c($s1) -/* 07AE00 800E1950 0803865A */ j .L800E1968 -/* 07AE04 800E1954 0000202D */ daddu $a0, $zero, $zero - -.L800E1958: -/* 07AE08 800E1958 4486C000 */ mtc1 $a2, $f24 -/* 07AE0C 800E195C 00000000 */ nop -/* 07AE10 800E1960 4680C620 */ cvt.s.w $f24, $f24 -/* 07AE14 800E1964 0000202D */ daddu $a0, $zero, $zero -.L800E1968: -/* 07AE18 800E1968 2405FFFF */ addiu $a1, $zero, -1 -/* 07AE1C 800E196C 24060007 */ addiu $a2, $zero, 7 -/* 07AE20 800E1970 0080382D */ daddu $a3, $a0, $zero -/* 07AE24 800E1974 C63E0028 */ lwc1 $f30, 0x28($s1) -/* 07AE28 800E1978 C63C0030 */ lwc1 $f28, 0x30($s1) -/* 07AE2C 800E197C 24020040 */ addiu $v0, $zero, 0x40 -/* 07AE30 800E1980 AFA00010 */ sw $zero, 0x10($sp) -/* 07AE34 800E1984 AFA00014 */ sw $zero, 0x14($sp) -/* 07AE38 800E1988 AFA20018 */ sw $v0, 0x18($sp) -/* 07AE3C 800E198C 0C0B77B9 */ jal func_802DDEE4 -/* 07AE40 800E1990 AFA0001C */ sw $zero, 0x1c($sp) -/* 07AE44 800E1994 4405A000 */ mfc1 $a1, $f20 -/* 07AE48 800E1998 4406B000 */ mfc1 $a2, $f22 -/* 07AE4C 800E199C 3C07BF80 */ lui $a3, 0xbf80 -/* 07AE50 800E19A0 27A40020 */ addiu $a0, $sp, 0x20 -/* 07AE54 800E19A4 0C019EC8 */ jal guRotateF -/* 07AE58 800E19A8 E7B60010 */ swc1 $f22, 0x10($sp) -/* 07AE5C 800E19AC 4405A000 */ mfc1 $a1, $f20 -/* 07AE60 800E19B0 4406B000 */ mfc1 $a2, $f22 -/* 07AE64 800E19B4 3C07BF80 */ lui $a3, 0xbf80 -/* 07AE68 800E19B8 0200202D */ daddu $a0, $s0, $zero -/* 07AE6C 800E19BC 0C019EC8 */ jal guRotateF -/* 07AE70 800E19C0 E7B60010 */ swc1 $f22, 0x10($sp) -/* 07AE74 800E19C4 4405D000 */ mfc1 $a1, $f26 -/* 07AE78 800E19C8 4406B000 */ mfc1 $a2, $f22 -/* 07AE7C 800E19CC 3C073F80 */ lui $a3, 0x3f80 -/* 07AE80 800E19D0 27A40020 */ addiu $a0, $sp, 0x20 -/* 07AE84 800E19D4 0C019EC8 */ jal guRotateF -/* 07AE88 800E19D8 E7B60010 */ swc1 $f22, 0x10($sp) -/* 07AE8C 800E19DC 0200202D */ daddu $a0, $s0, $zero -/* 07AE90 800E19E0 27A50020 */ addiu $a1, $sp, 0x20 -/* 07AE94 800E19E4 0C019D80 */ jal guMtxCatF -/* 07AE98 800E19E8 00A0302D */ daddu $a2, $a1, $zero -.L800E19EC: -/* 07AE9C 800E19EC 862200B0 */ lh $v0, 0xb0($s1) -/* 07AEA0 800E19F0 3C013F00 */ lui $at, 0x3f00 -/* 07AEA4 800E19F4 44812000 */ mtc1 $at, $f4 -/* 07AEA8 800E19F8 00021023 */ negu $v0, $v0 -/* 07AEAC 800E19FC 44820000 */ mtc1 $v0, $f0 -/* 07AEB0 800E1A00 00000000 */ nop -/* 07AEB4 800E1A04 46800020 */ cvt.s.w $f0, $f0 -/* 07AEB8 800E1A08 46040102 */ mul.s $f4, $f0, $f4 -/* 07AEBC 800E1A0C 00000000 */ nop -/* 07AEC0 800E1A10 4405B000 */ mfc1 $a1, $f22 -/* 07AEC4 800E1A14 4407B000 */ mfc1 $a3, $f22 -/* 07AEC8 800E1A18 44062000 */ mfc1 $a2, $f4 -/* 07AECC 800E1A1C 0C019E40 */ jal guTranslateF -/* 07AED0 800E1A20 0240202D */ daddu $a0, $s2, $zero -/* 07AED4 800E1A24 0240202D */ daddu $a0, $s2, $zero -/* 07AED8 800E1A28 27A50020 */ addiu $a1, $sp, 0x20 -/* 07AEDC 800E1A2C 0C019D80 */ jal guMtxCatF -/* 07AEE0 800E1A30 00A0302D */ daddu $a2, $a1, $zero -/* 07AEE4 800E1A34 4405A000 */ mfc1 $a1, $f20 -/* 07AEE8 800E1A38 4406B000 */ mfc1 $a2, $f22 -/* 07AEEC 800E1A3C 3C073F80 */ lui $a3, 0x3f80 -/* 07AEF0 800E1A40 0200202D */ daddu $a0, $s0, $zero -/* 07AEF4 800E1A44 0C019EC8 */ jal guRotateF -/* 07AEF8 800E1A48 E7B60010 */ swc1 $f22, 0x10($sp) -/* 07AEFC 800E1A4C 27A40020 */ addiu $a0, $sp, 0x20 -/* 07AF00 800E1A50 0200282D */ daddu $a1, $s0, $zero -/* 07AF04 800E1A54 0C019D80 */ jal guMtxCatF -/* 07AF08 800E1A58 0080302D */ daddu $a2, $a0, $zero -/* 07AF0C 800E1A5C 8E2500A8 */ lw $a1, 0xa8($s1) -/* 07AF10 800E1A60 4406B000 */ mfc1 $a2, $f22 -/* 07AF14 800E1A64 3C073F80 */ lui $a3, 0x3f80 -/* 07AF18 800E1A68 0200202D */ daddu $a0, $s0, $zero -/* 07AF1C 800E1A6C 0C019EC8 */ jal guRotateF -/* 07AF20 800E1A70 E7B60010 */ swc1 $f22, 0x10($sp) -/* 07AF24 800E1A74 27A40020 */ addiu $a0, $sp, 0x20 -/* 07AF28 800E1A78 0200282D */ daddu $a1, $s0, $zero -/* 07AF2C 800E1A7C 0C019D80 */ jal guMtxCatF -/* 07AF30 800E1A80 0080302D */ daddu $a2, $a0, $zero -/* 07AF34 800E1A84 862200B0 */ lh $v0, 0xb0($s1) -/* 07AF38 800E1A88 3C013F00 */ lui $at, 0x3f00 -/* 07AF3C 800E1A8C 44812000 */ mtc1 $at, $f4 -/* 07AF40 800E1A90 44820000 */ mtc1 $v0, $f0 -/* 07AF44 800E1A94 00000000 */ nop -/* 07AF48 800E1A98 46800020 */ cvt.s.w $f0, $f0 -/* 07AF4C 800E1A9C 46040102 */ mul.s $f4, $f0, $f4 -/* 07AF50 800E1AA0 00000000 */ nop -/* 07AF54 800E1AA4 4405B000 */ mfc1 $a1, $f22 -/* 07AF58 800E1AA8 4407B000 */ mfc1 $a3, $f22 -/* 07AF5C 800E1AAC 44062000 */ mfc1 $a2, $f4 -/* 07AF60 800E1AB0 0C019E40 */ jal guTranslateF -/* 07AF64 800E1AB4 0240202D */ daddu $a0, $s2, $zero -/* 07AF68 800E1AB8 27A40020 */ addiu $a0, $sp, 0x20 -/* 07AF6C 800E1ABC 0240282D */ daddu $a1, $s2, $zero -/* 07AF70 800E1AC0 0C019D80 */ jal guMtxCatF -/* 07AF74 800E1AC4 0080302D */ daddu $a2, $a0, $zero -/* 07AF78 800E1AC8 3C013F36 */ lui $at, 0x3f36 -/* 07AF7C 800E1ACC 3421DB6E */ ori $at, $at, 0xdb6e -/* 07AF80 800E1AD0 44810000 */ mtc1 $at, $f0 -/* 07AF84 800E1AD4 00000000 */ nop -/* 07AF88 800E1AD8 44050000 */ mfc1 $a1, $f0 -/* 07AF8C 800E1ADC 0280202D */ daddu $a0, $s4, $zero -/* 07AF90 800E1AE0 00A0302D */ daddu $a2, $a1, $zero -/* 07AF94 800E1AE4 0C019DF0 */ jal guScaleF -/* 07AF98 800E1AE8 00A0382D */ daddu $a3, $a1, $zero -/* 07AF9C 800E1AEC 27A40020 */ addiu $a0, $sp, 0x20 -/* 07AFA0 800E1AF0 0280282D */ daddu $a1, $s4, $zero -/* 07AFA4 800E1AF4 0C019D80 */ jal guMtxCatF -/* 07AFA8 800E1AF8 0080302D */ daddu $a2, $a0, $zero -/* 07AFAC 800E1AFC 4405F000 */ mfc1 $a1, $f30 -/* 07AFB0 800E1B00 4406C000 */ mfc1 $a2, $f24 -/* 07AFB4 800E1B04 4407E000 */ mfc1 $a3, $f28 -/* 07AFB8 800E1B08 0C019E40 */ jal guTranslateF -/* 07AFBC 800E1B0C 0240202D */ daddu $a0, $s2, $zero -/* 07AFC0 800E1B10 27A40020 */ addiu $a0, $sp, 0x20 -/* 07AFC4 800E1B14 0240282D */ daddu $a1, $s2, $zero -/* 07AFC8 800E1B18 0C019D80 */ jal guMtxCatF -/* 07AFCC 800E1B1C 0080302D */ daddu $a2, $a0, $zero -/* 07AFD0 800E1B20 C62200A8 */ lwc1 $f2, 0xa8($s1) -/* 07AFD4 800E1B24 3C0142B4 */ lui $at, 0x42b4 -/* 07AFD8 800E1B28 44810000 */ mtc1 $at, $f0 -/* 07AFDC 800E1B2C 00000000 */ nop -/* 07AFE0 800E1B30 4602003E */ c.le.s $f0, $f2 -/* 07AFE4 800E1B34 00000000 */ nop -/* 07AFE8 800E1B38 45000008 */ bc1f .L800E1B5C -/* 07AFEC 800E1B3C 0000202D */ daddu $a0, $zero, $zero -/* 07AFF0 800E1B40 3C014387 */ lui $at, 0x4387 -/* 07AFF4 800E1B44 44812000 */ mtc1 $at, $f4 -/* 07AFF8 800E1B48 00000000 */ nop -/* 07AFFC 800E1B4C 4604103C */ c.lt.s $f2, $f4 -/* 07B000 800E1B50 00000000 */ nop -/* 07B004 800E1B54 45030001 */ bc1tl .L800E1B5C -/* 07B008 800E1B58 3C041000 */ lui $a0, 0x1000 -.L800E1B5C: -/* 07B00C 800E1B5C 27A20020 */ addiu $v0, $sp, 0x20 -/* 07B010 800E1B60 AFA20010 */ sw $v0, 0x10($sp) -/* 07B014 800E1B64 0000282D */ daddu $a1, $zero, $zero -/* 07B018 800E1B68 00A0302D */ daddu $a2, $a1, $zero -/* 07B01C 800E1B6C 0C0B7710 */ jal render_sprite -/* 07B020 800E1B70 00A0382D */ daddu $a3, $a1, $zero -/* 07B024 800E1B74 26730001 */ addiu $s3, $s3, 1 -/* 07B028 800E1B78 2A620002 */ slti $v0, $s3, 2 -/* 07B02C 800E1B7C 1440FEFA */ bnez $v0, .L800E1768 -/* 07B030 800E1B80 00000000 */ nop -/* 07B034 800E1B84 8FBF014C */ lw $ra, 0x14c($sp) -/* 07B038 800E1B88 8FB60148 */ lw $s6, 0x148($sp) -/* 07B03C 800E1B8C 8FB50144 */ lw $s5, 0x144($sp) -/* 07B040 800E1B90 8FB40140 */ lw $s4, 0x140($sp) -/* 07B044 800E1B94 8FB3013C */ lw $s3, 0x13c($sp) -/* 07B048 800E1B98 8FB20138 */ lw $s2, 0x138($sp) -/* 07B04C 800E1B9C 8FB10134 */ lw $s1, 0x134($sp) -/* 07B050 800E1BA0 8FB00130 */ lw $s0, 0x130($sp) -/* 07B054 800E1BA4 D7BE0178 */ ldc1 $f30, 0x178($sp) -/* 07B058 800E1BA8 D7BC0170 */ ldc1 $f28, 0x170($sp) -/* 07B05C 800E1BAC D7BA0168 */ ldc1 $f26, 0x168($sp) -/* 07B060 800E1BB0 D7B80160 */ ldc1 $f24, 0x160($sp) -/* 07B064 800E1BB4 D7B60158 */ ldc1 $f22, 0x158($sp) -/* 07B068 800E1BB8 D7B40150 */ ldc1 $f20, 0x150($sp) -/* 07B06C 800E1BBC 03E00008 */ jr $ra -/* 07B070 800E1BC0 27BD0180 */ addiu $sp, $sp, 0x180 - -update_below_player: -/* 07B074 800E1BC4 3C02800F */ lui $v0, 0x800f -/* 07B078 800E1BC8 8C427B30 */ lw $v0, 0x7b30($v0) -/* 07B07C 800E1BCC 27BDFF90 */ addiu $sp, $sp, -0x70 -/* 07B080 800E1BD0 AFBF0058 */ sw $ra, 0x58($sp) -/* 07B084 800E1BD4 AFB30054 */ sw $s3, 0x54($sp) -/* 07B088 800E1BD8 AFB20050 */ sw $s2, 0x50($sp) -/* 07B08C 800E1BDC AFB1004C */ sw $s1, 0x4c($sp) -/* 07B090 800E1BE0 AFB00048 */ sw $s0, 0x48($sp) -/* 07B094 800E1BE4 F7B60068 */ sdc1 $f22, 0x68($sp) -/* 07B098 800E1BE8 F7B40060 */ sdc1 $f20, 0x60($sp) -/* 07B09C 800E1BEC 0C044181 */ jal get_shadow_by_index -/* 07B0A0 800E1BF0 8C4400CC */ lw $a0, 0xcc($v0) -/* 07B0A4 800E1BF4 3C128011 */ lui $s2, 0x8011 -/* 07B0A8 800E1BF8 2652EFC8 */ addiu $s2, $s2, -0x1038 -/* 07B0AC 800E1BFC 0040802D */ daddu $s0, $v0, $zero -/* 07B0B0 800E1C00 3C04800B */ lui $a0, 0x800b -/* 07B0B4 800E1C04 24841D80 */ addiu $a0, $a0, 0x1d80 -/* 07B0B8 800E1C08 44801000 */ mtc1 $zero, $f2 -/* 07B0BC 800E1C0C C64400A8 */ lwc1 $f4, 0xa8($s2) -/* 07B0C0 800E1C10 3C0142B4 */ lui $at, 0x42b4 -/* 07B0C4 800E1C14 44810000 */ mtc1 $at, $f0 -/* 07B0C8 800E1C18 3C038007 */ lui $v1, 0x8007 -/* 07B0CC 800E1C1C 8C637410 */ lw $v1, 0x7410($v1) -/* 07B0D0 800E1C20 46001206 */ mov.s $f8, $f2 -/* 07B0D4 800E1C24 00031080 */ sll $v0, $v1, 2 -/* 07B0D8 800E1C28 00431021 */ addu $v0, $v0, $v1 -/* 07B0DC 800E1C2C 00021080 */ sll $v0, $v0, 2 -/* 07B0E0 800E1C30 00431023 */ subu $v0, $v0, $v1 -/* 07B0E4 800E1C34 000218C0 */ sll $v1, $v0, 3 -/* 07B0E8 800E1C38 00431021 */ addu $v0, $v0, $v1 -/* 07B0EC 800E1C3C 000210C0 */ sll $v0, $v0, 3 -/* 07B0F0 800E1C40 00448821 */ addu $s1, $v0, $a0 -/* 07B0F4 800E1C44 4604003E */ c.le.s $f0, $f4 -/* 07B0F8 800E1C48 00000000 */ nop -/* 07B0FC 800E1C4C 4500000A */ bc1f .L800E1C78 -/* 07B100 800E1C50 E7A80034 */ swc1 $f8, 0x34($sp) -/* 07B104 800E1C54 3C014387 */ lui $at, 0x4387 -/* 07B108 800E1C58 44810000 */ mtc1 $at, $f0 -/* 07B10C 800E1C5C 00000000 */ nop -/* 07B110 800E1C60 4600203C */ c.lt.s $f4, $f0 -/* 07B114 800E1C64 00000000 */ nop -/* 07B118 800E1C68 45000003 */ bc1f .L800E1C78 -/* 07B11C 800E1C6C 00000000 */ nop -/* 07B120 800E1C70 3C014334 */ lui $at, 0x4334 -/* 07B124 800E1C74 44814000 */ mtc1 $at, $f8 -.L800E1C78: -/* 07B128 800E1C78 3C038007 */ lui $v1, 0x8007 -/* 07B12C 800E1C7C 8C637410 */ lw $v1, 0x7410($v1) -/* 07B130 800E1C80 C6420028 */ lwc1 $f2, 0x28($s2) -/* 07B134 800E1C84 3C014480 */ lui $at, 0x4480 -/* 07B138 800E1C88 44810000 */ mtc1 $at, $f0 -/* 07B13C 800E1C8C 3C0142B4 */ lui $at, 0x42b4 -/* 07B140 800E1C90 44816000 */ mtc1 $at, $f12 -/* 07B144 800E1C94 00031080 */ sll $v0, $v1, 2 -/* 07B148 800E1C98 00431021 */ addu $v0, $v0, $v1 -/* 07B14C 800E1C9C 00021080 */ sll $v0, $v0, 2 -/* 07B150 800E1CA0 00431023 */ subu $v0, $v0, $v1 -/* 07B154 800E1CA4 000218C0 */ sll $v1, $v0, 3 -/* 07B158 800E1CA8 00431021 */ addu $v0, $v0, $v1 -/* 07B15C 800E1CAC 000210C0 */ sll $v0, $v0, 3 -/* 07B160 800E1CB0 3C01800B */ lui $at, 0x800b -/* 07B164 800E1CB4 00220821 */ addu $at, $at, $v0 -/* 07B168 800E1CB8 C4261DEC */ lwc1 $f6, 0x1dec($at) -/* 07B16C 800E1CBC E6020010 */ swc1 $f2, 0x10($s0) -/* 07B170 800E1CC0 C6440030 */ lwc1 $f4, 0x30($s2) -/* 07B174 800E1CC4 E6040018 */ swc1 $f4, 0x18($s0) -/* 07B178 800E1CC8 864200B0 */ lh $v0, 0xb0($s2) -/* 07B17C 800E1CCC 27A60028 */ addiu $a2, $sp, 0x28 -/* 07B180 800E1CD0 E7A00034 */ swc1 $f0, 0x34($sp) -/* 07B184 800E1CD4 3C014060 */ lui $at, 0x4060 -/* 07B188 800E1CD8 44810000 */ mtc1 $at, $f0 -/* 07B18C 800E1CDC 460C4301 */ sub.s $f12, $f8, $f12 -/* 07B190 800E1CE0 E7A20028 */ swc1 $f2, 0x28($sp) -/* 07B194 800E1CE4 44821000 */ mtc1 $v0, $f2 -/* 07B198 800E1CE8 00000000 */ nop -/* 07B19C 800E1CEC 468010A0 */ cvt.s.w $f2, $f2 -/* 07B1A0 800E1CF0 46001083 */ div.s $f2, $f2, $f0 -/* 07B1A4 800E1CF4 46066300 */ add.s $f12, $f12, $f6 -/* 07B1A8 800E1CF8 C640002C */ lwc1 $f0, 0x2c($s2) -/* 07B1AC 800E1CFC 864200B2 */ lh $v0, 0xb2($s2) -/* 07B1B0 800E1D00 27A7002C */ addiu $a3, $sp, 0x2c -/* 07B1B4 800E1D04 E7A40030 */ swc1 $f4, 0x30($sp) -/* 07B1B8 800E1D08 46020000 */ add.s $f0, $f0, $f2 -/* 07B1BC 800E1D0C 44827000 */ mtc1 $v0, $f14 -/* 07B1C0 800E1D10 00000000 */ nop -/* 07B1C4 800E1D14 468073A0 */ cvt.s.w $f14, $f14 -/* 07B1C8 800E1D18 27A20030 */ addiu $v0, $sp, 0x30 -/* 07B1CC 800E1D1C E7A0002C */ swc1 $f0, 0x2c($sp) -/* 07B1D0 800E1D20 AFA20010 */ sw $v0, 0x10($sp) -/* 07B1D4 800E1D24 27A20034 */ addiu $v0, $sp, 0x34 -/* 07B1D8 800E1D28 AFA20014 */ sw $v0, 0x14($sp) -/* 07B1DC 800E1D2C 27A20038 */ addiu $v0, $sp, 0x38 -/* 07B1E0 800E1D30 AFA20018 */ sw $v0, 0x18($sp) -/* 07B1E4 800E1D34 27A2003C */ addiu $v0, $sp, 0x3c -/* 07B1E8 800E1D38 AFA2001C */ sw $v0, 0x1c($sp) -/* 07B1EC 800E1D3C 27A20040 */ addiu $v0, $sp, 0x40 -/* 07B1F0 800E1D40 AFA20020 */ sw $v0, 0x20($sp) -/* 07B1F4 800E1D44 27A20044 */ addiu $v0, $sp, 0x44 -/* 07B1F8 800E1D48 0C0377F4 */ jal test_below_player -/* 07B1FC 800E1D4C AFA20024 */ sw $v0, 0x24($sp) -/* 07B200 800E1D50 C7A00038 */ lwc1 $f0, 0x38($sp) -/* 07B204 800E1D54 C7A2003C */ lwc1 $f2, 0x3c($sp) -/* 07B208 800E1D58 3C018016 */ lui $at, 0x8016 -/* 07B20C 800E1D5C A422A556 */ sh $v0, -0x5aaa($at) -/* 07B210 800E1D60 E6000028 */ swc1 $f0, 0x28($s0) -/* 07B214 800E1D64 E6020030 */ swc1 $f2, 0x30($s0) -/* 07B218 800E1D68 C62C006C */ lwc1 $f12, 0x6c($s1) -/* 07B21C 800E1D6C 0C00A6C9 */ jal clamp_angle -/* 07B220 800E1D70 46006307 */ neg.s $f12, $f12 -/* 07B224 800E1D74 C7A40038 */ lwc1 $f4, 0x38($sp) -/* 07B228 800E1D78 3C014334 */ lui $at, 0x4334 -/* 07B22C 800E1D7C 44813000 */ mtc1 $at, $f6 -/* 07B230 800E1D80 00000000 */ nop -/* 07B234 800E1D84 46062100 */ add.s $f4, $f4, $f6 -/* 07B238 800E1D88 C7A2003C */ lwc1 $f2, 0x3c($sp) -/* 07B23C 800E1D8C 4480B000 */ mtc1 $zero, $f22 -/* 07B240 800E1D90 46061080 */ add.s $f2, $f2, $f6 -/* 07B244 800E1D94 E600002C */ swc1 $f0, 0x2c($s0) -/* 07B248 800E1D98 46162032 */ c.eq.s $f4, $f22 -/* 07B24C 800E1D9C E7A40038 */ swc1 $f4, 0x38($sp) -/* 07B250 800E1DA0 45000005 */ bc1f .L800E1DB8 -/* 07B254 800E1DA4 E7A2003C */ swc1 $f2, 0x3c($sp) -/* 07B258 800E1DA8 46161032 */ c.eq.s $f2, $f22 -/* 07B25C 800E1DAC 00000000 */ nop -/* 07B260 800E1DB0 45010041 */ bc1t .L800E1EB8 -/* 07B264 800E1DB4 00000000 */ nop -.L800E1DB8: -/* 07B268 800E1DB8 C7AC0028 */ lwc1 $f12, 0x28($sp) -/* 07B26C 800E1DBC C7AE0030 */ lwc1 $f14, 0x30($sp) -/* 07B270 800E1DC0 8E460028 */ lw $a2, 0x28($s2) -/* 07B274 800E1DC4 0C00A7B5 */ jal dist2D -/* 07B278 800E1DC8 8E470030 */ lw $a3, 0x30($s2) -/* 07B27C 800E1DCC C64C0028 */ lwc1 $f12, 0x28($s2) -/* 07B280 800E1DD0 C64E0030 */ lwc1 $f14, 0x30($s2) -/* 07B284 800E1DD4 8FA60028 */ lw $a2, 0x28($sp) -/* 07B288 800E1DD8 8FA70030 */ lw $a3, 0x30($sp) -/* 07B28C 800E1DDC 4600028D */ trunc.w.s $f10, $f0 -/* 07B290 800E1DE0 44135000 */ mfc1 $s3, $f10 -/* 07B294 800E1DE4 0C00A720 */ jal atan2 -/* 07B298 800E1DE8 00000000 */ nop -/* 07B29C 800E1DEC 0C00A788 */ jal get_player_normal_yaw -/* 07B2A0 800E1DF0 46000506 */ mov.s $f20, $f0 -/* 07B2A4 800E1DF4 3C01C2B4 */ lui $at, 0xc2b4 -/* 07B2A8 800E1DF8 44816000 */ mtc1 $at, $f12 -/* 07B2AC 800E1DFC 00000000 */ nop -/* 07B2B0 800E1E00 46146301 */ sub.s $f12, $f12, $f20 -/* 07B2B4 800E1E04 0C00A6C9 */ jal clamp_angle -/* 07B2B8 800E1E08 46006300 */ add.s $f12, $f12, $f0 -/* 07B2BC 800E1E0C 3C118007 */ lui $s1, 0x8007 -/* 07B2C0 800E1E10 2631419C */ addiu $s1, $s1, 0x419c -/* 07B2C4 800E1E14 8E220000 */ lw $v0, ($s1) -/* 07B2C8 800E1E18 C442012C */ lwc1 $f2, 0x12c($v0) -/* 07B2CC 800E1E1C 4600028D */ trunc.w.s $f10, $f0 -/* 07B2D0 800E1E20 44025000 */ mfc1 $v0, $f10 -/* 07B2D4 800E1E24 46161032 */ c.eq.s $f2, $f22 -/* 07B2D8 800E1E28 00000000 */ nop -/* 07B2DC 800E1E2C 45010022 */ bc1t .L800E1EB8 -/* 07B2E0 800E1E30 00000000 */ nop -/* 07B2E4 800E1E34 44826000 */ mtc1 $v0, $f12 -/* 07B2E8 800E1E38 00000000 */ nop -/* 07B2EC 800E1E3C 0C00A8BB */ jal sin_deg -/* 07B2F0 800E1E40 46806320 */ cvt.s.w $f12, $f12 -/* 07B2F4 800E1E44 8E220000 */ lw $v0, ($s1) -/* 07B2F8 800E1E48 C4440128 */ lwc1 $f4, 0x128($v0) -/* 07B2FC 800E1E4C 46042102 */ mul.s $f4, $f4, $f4 -/* 07B300 800E1E50 00000000 */ nop -/* 07B304 800E1E54 C4420130 */ lwc1 $f2, 0x130($v0) -/* 07B308 800E1E58 46021082 */ mul.s $f2, $f2, $f2 -/* 07B30C 800E1E5C 00000000 */ nop -/* 07B310 800E1E60 46022300 */ add.s $f12, $f4, $f2 -/* 07B314 800E1E64 46006084 */ sqrt.s $f2, $f12 -/* 07B318 800E1E68 46021032 */ c.eq.s $f2, $f2 -/* 07B31C 800E1E6C 00000000 */ nop -/* 07B320 800E1E70 45010005 */ bc1t .L800E1E88 -/* 07B324 800E1E74 46000506 */ mov.s $f20, $f0 -/* 07B328 800E1E78 0C0187BC */ jal sqrtf -/* 07B32C 800E1E7C 00000000 */ nop -/* 07B330 800E1E80 46000086 */ mov.s $f2, $f0 -/* 07B334 800E1E84 8E220000 */ lw $v0, ($s1) -.L800E1E88: -/* 07B338 800E1E88 C440012C */ lwc1 $f0, 0x12c($v0) -/* 07B33C 800E1E8C 46001003 */ div.s $f0, $f2, $f0 -/* 07B340 800E1E90 44931000 */ mtc1 $s3, $f2 -/* 07B344 800E1E94 00000000 */ nop -/* 07B348 800E1E98 468010A0 */ cvt.s.w $f2, $f2 -/* 07B34C 800E1E9C 46020002 */ mul.s $f0, $f0, $f2 -/* 07B350 800E1EA0 00000000 */ nop -/* 07B354 800E1EA4 46140002 */ mul.s $f0, $f0, $f20 -/* 07B358 800E1EA8 00000000 */ nop -/* 07B35C 800E1EAC C7A2002C */ lwc1 $f2, 0x2c($sp) -/* 07B360 800E1EB0 46001081 */ sub.s $f2, $f2, $f0 -/* 07B364 800E1EB4 E7A2002C */ swc1 $f2, 0x2c($sp) -.L800E1EB8: -/* 07B368 800E1EB8 C7A0002C */ lwc1 $f0, 0x2c($sp) -/* 07B36C 800E1EBC E6000014 */ swc1 $f0, 0x14($s0) -/* 07B370 800E1EC0 9242000E */ lbu $v0, 0xe($s2) -/* 07B374 800E1EC4 3C013FE0 */ lui $at, 0x3fe0 -/* 07B378 800E1EC8 44811800 */ mtc1 $at, $f3 -/* 07B37C 800E1ECC 44801000 */ mtc1 $zero, $f2 -/* 07B380 800E1ED0 44820000 */ mtc1 $v0, $f0 -/* 07B384 800E1ED4 00000000 */ nop -/* 07B388 800E1ED8 46800021 */ cvt.d.w $f0, $f0 -/* 07B38C 800E1EDC 46220002 */ mul.d $f0, $f0, $f2 -/* 07B390 800E1EE0 00000000 */ nop -/* 07B394 800E1EE4 3C0141E0 */ lui $at, 0x41e0 -/* 07B398 800E1EE8 44811800 */ mtc1 $at, $f3 -/* 07B39C 800E1EEC 44801000 */ mtc1 $zero, $f2 -/* 07B3A0 800E1EF0 00000000 */ nop -/* 07B3A4 800E1EF4 4620103E */ c.le.d $f2, $f0 -/* 07B3A8 800E1EF8 00000000 */ nop -/* 07B3AC 800E1EFC 45010005 */ bc1t .L800E1F14 -/* 07B3B0 800E1F00 26040005 */ addiu $a0, $s0, 5 -/* 07B3B4 800E1F04 4620028D */ trunc.w.d $f10, $f0 -/* 07B3B8 800E1F08 44035000 */ mfc1 $v1, $f10 -/* 07B3BC 800E1F0C 080387CC */ j .L800E1F30 -/* 07B3C0 800E1F10 A0830000 */ sb $v1, ($a0) - -.L800E1F14: -/* 07B3C4 800E1F14 46220001 */ sub.d $f0, $f0, $f2 -/* 07B3C8 800E1F18 3C028000 */ lui $v0, 0x8000 -/* 07B3CC 800E1F1C 4620028D */ trunc.w.d $f10, $f0 -/* 07B3D0 800E1F20 44035000 */ mfc1 $v1, $f10 -/* 07B3D4 800E1F24 00000000 */ nop -/* 07B3D8 800E1F28 00621825 */ or $v1, $v1, $v0 -/* 07B3DC 800E1F2C A0830000 */ sb $v1, ($a0) -.L800E1F30: -/* 07B3E0 800E1F30 3C028007 */ lui $v0, 0x8007 -/* 07B3E4 800E1F34 8C42419C */ lw $v0, 0x419c($v0) -/* 07B3E8 800E1F38 9042007E */ lbu $v0, 0x7e($v0) -/* 07B3EC 800E1F3C 30420001 */ andi $v0, $v0, 1 -/* 07B3F0 800E1F40 14400006 */ bnez $v0, .L800E1F5C -/* 07B3F4 800E1F44 00000000 */ nop -/* 07B3F8 800E1F48 8FA50034 */ lw $a1, 0x34($sp) -/* 07B3FC 800E1F4C 0C044A17 */ jal set_standard_shadow_scale -/* 07B400 800E1F50 0200202D */ daddu $a0, $s0, $zero -/* 07B404 800E1F54 080387DA */ j .L800E1F68 -/* 07B408 800E1F58 00000000 */ nop - -.L800E1F5C: -/* 07B40C 800E1F5C 8FA50034 */ lw $a1, 0x34($sp) -/* 07B410 800E1F60 0C044A75 */ jal set_shadow_scale_peach -/* 07B414 800E1F64 0200202D */ daddu $a0, $s0, $zero -.L800E1F68: -/* 07B418 800E1F68 8FBF0058 */ lw $ra, 0x58($sp) -/* 07B41C 800E1F6C 8FB30054 */ lw $s3, 0x54($sp) -/* 07B420 800E1F70 8FB20050 */ lw $s2, 0x50($sp) -/* 07B424 800E1F74 8FB1004C */ lw $s1, 0x4c($sp) -/* 07B428 800E1F78 8FB00048 */ lw $s0, 0x48($sp) -/* 07B42C 800E1F7C D7B60068 */ ldc1 $f22, 0x68($sp) -/* 07B430 800E1F80 D7B40060 */ ldc1 $f20, 0x60($sp) -/* 07B434 800E1F84 03E00008 */ jr $ra -/* 07B438 800E1F88 27BD0070 */ addiu $sp, $sp, 0x70 - -/* 07B43C 800E1F8C 00000000 */ nop -func_800E1F90: -/* 07B440 800E1F90 3C048011 */ lui $a0, 0x8011 -/* 07B444 800E1F94 2484EFC8 */ addiu $a0, $a0, -0x1038 -/* 07B448 800E1F98 3C038007 */ lui $v1, 0x8007 -/* 07B44C 800E1F9C 8C63419C */ lw $v1, 0x419c($v1) -/* 07B450 800E1FA0 8C8501B8 */ lw $a1, 0x1b8($a0) -/* 07B454 800E1FA4 80660040 */ lb $a2, 0x40($v1) -/* 07B458 800E1FA8 AC8600E8 */ sw $a2, 0xe8($a0) -/* 07B45C 800E1FAC 80620044 */ lb $v0, 0x44($v1) -/* 07B460 800E1FB0 AC8200EC */ sw $v0, 0xec($a0) -/* 07B464 800E1FB4 8C620000 */ lw $v0, ($v1) -/* 07B468 800E1FB8 AC8200DC */ sw $v0, 0xdc($a0) -/* 07B46C 800E1FBC 8C620010 */ lw $v0, 0x10($v1) -/* 07B470 800E1FC0 AC8200E0 */ sw $v0, 0xe0($a0) -/* 07B474 800E1FC4 8C620020 */ lw $v0, 0x20($v1) -/* 07B478 800E1FC8 24A50001 */ addiu $a1, $a1, 1 -/* 07B47C 800E1FCC AC8200E4 */ sw $v0, 0xe4($a0) -/* 07B480 800E1FD0 28A2000A */ slti $v0, $a1, 0xa -/* 07B484 800E1FD4 14400002 */ bnez $v0, .L800E1FE0 -/* 07B488 800E1FD8 0080382D */ daddu $a3, $a0, $zero -/* 07B48C 800E1FDC 0000282D */ daddu $a1, $zero, $zero -.L800E1FE0: -/* 07B490 800E1FE0 00051080 */ sll $v0, $a1, 2 -/* 07B494 800E1FE4 00441021 */ addu $v0, $v0, $a0 -/* 07B498 800E1FE8 AC460168 */ sw $a2, 0x168($v0) -/* 07B49C 800E1FEC 8C8300EC */ lw $v1, 0xec($a0) -/* 07B4A0 800E1FF0 AC430190 */ sw $v1, 0x190($v0) -/* 07B4A4 800E1FF4 8C8300DC */ lw $v1, 0xdc($a0) -/* 07B4A8 800E1FF8 AC4300F0 */ sw $v1, 0xf0($v0) -/* 07B4AC 800E1FFC 8C8300E0 */ lw $v1, 0xe0($a0) -/* 07B4B0 800E2000 AC430118 */ sw $v1, 0x118($v0) -/* 07B4B4 800E2004 8C8300E4 */ lw $v1, 0xe4($a0) -/* 07B4B8 800E2008 AC430140 */ sw $v1, 0x140($v0) -/* 07B4BC 800E200C 8C820000 */ lw $v0, ($a0) -/* 07B4C0 800E2010 30423000 */ andi $v0, $v0, 0x3000 -/* 07B4C4 800E2014 10400006 */ beqz $v0, .L800E2030 -/* 07B4C8 800E2018 AC8501B8 */ sw $a1, 0x1b8($a0) -/* 07B4CC 800E201C AC8000E8 */ sw $zero, 0xe8($a0) -/* 07B4D0 800E2020 AC8000EC */ sw $zero, 0xec($a0) -/* 07B4D4 800E2024 AC8000DC */ sw $zero, 0xdc($a0) -/* 07B4D8 800E2028 AC8000E0 */ sw $zero, 0xe0($a0) -/* 07B4DC 800E202C AC8000E4 */ sw $zero, 0xe4($a0) -.L800E2030: -/* 07B4E0 800E2030 8CE40004 */ lw $a0, 4($a3) -/* 07B4E4 800E2034 30820008 */ andi $v0, $a0, 8 -/* 07B4E8 800E2038 10400006 */ beqz $v0, .L800E2054 -/* 07B4EC 800E203C 3C020020 */ lui $v0, 0x20 -/* 07B4F0 800E2040 8CE300E0 */ lw $v1, 0xe0($a3) -/* 07B4F4 800E2044 00821025 */ or $v0, $a0, $v0 -/* 07B4F8 800E2048 ACE20004 */ sw $v0, 4($a3) -/* 07B4FC 800E204C 34630004 */ ori $v1, $v1, 4 -/* 07B500 800E2050 ACE300E0 */ sw $v1, 0xe0($a3) -.L800E2054: -/* 07B504 800E2054 03E00008 */ jr $ra -/* 07B508 800E2058 00000000 */ nop - -func_800E205C: -/* 07B50C 800E205C 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 07B510 800E2060 2402FFFF */ addiu $v0, $zero, -1 -/* 07B514 800E2064 3C058011 */ lui $a1, 0x8011 -/* 07B518 800E2068 24A5C92C */ addiu $a1, $a1, -0x36d4 -/* 07B51C 800E206C AFB00010 */ sw $s0, 0x10($sp) -/* 07B520 800E2070 3C108011 */ lui $s0, 0x8011 -/* 07B524 800E2074 2610EFC8 */ addiu $s0, $s0, -0x1038 -/* 07B528 800E2078 3C018011 */ lui $at, 0x8011 -/* 07B52C 800E207C AC22C96C */ sw $v0, -0x3694($at) -/* 07B530 800E2080 24020001 */ addiu $v0, $zero, 1 -/* 07B534 800E2084 AFBF0014 */ sw $ra, 0x14($sp) -/* 07B538 800E2088 3C018011 */ lui $at, 0x8011 -/* 07B53C 800E208C AC20C954 */ sw $zero, -0x36ac($at) -/* 07B540 800E2090 3C018011 */ lui $at, 0x8011 -/* 07B544 800E2094 AC20C920 */ sw $zero, -0x36e0($at) -/* 07B548 800E2098 3C018011 */ lui $at, 0x8011 -/* 07B54C 800E209C AC20C940 */ sw $zero, -0x36c0($at) -/* 07B550 800E20A0 3C018011 */ lui $at, 0x8011 -/* 07B554 800E20A4 AC20C958 */ sw $zero, -0x36a8($at) -/* 07B558 800E20A8 ACA00000 */ sw $zero, ($a1) -/* 07B55C 800E20AC 3C018011 */ lui $at, 0x8011 -/* 07B560 800E20B0 AC20C95C */ sw $zero, -0x36a4($at) -/* 07B564 800E20B4 3C018011 */ lui $at, 0x8011 -/* 07B568 800E20B8 AC20C980 */ sw $zero, -0x3680($at) -/* 07B56C 800E20BC 3C01800F */ lui $at, 0x800f -/* 07B570 800E20C0 AC207B40 */ sw $zero, 0x7b40($at) -/* 07B574 800E20C4 3C01800F */ lui $at, 0x800f -/* 07B578 800E20C8 AC207B44 */ sw $zero, 0x7b44($at) -/* 07B57C 800E20CC 3C018011 */ lui $at, 0x8011 -/* 07B580 800E20D0 AC20C938 */ sw $zero, -0x36c8($at) -/* 07B584 800E20D4 3C018011 */ lui $at, 0x8011 -/* 07B588 800E20D8 AC20C990 */ sw $zero, -0x3670($at) -/* 07B58C 800E20DC A202000D */ sb $v0, 0xd($s0) -/* 07B590 800E20E0 2402000D */ addiu $v0, $zero, 0xd -/* 07B594 800E20E4 3C048007 */ lui $a0, 0x8007 -/* 07B598 800E20E8 2484419C */ addiu $a0, $a0, 0x419c -/* 07B59C 800E20EC A20200BE */ sb $v0, 0xbe($s0) -/* 07B5A0 800E20F0 8C830000 */ lw $v1, ($a0) -/* 07B5A4 800E20F4 240200FF */ addiu $v0, $zero, 0xff -/* 07B5A8 800E20F8 A202000E */ sb $v0, 0xe($s0) -/* 07B5AC 800E20FC A202000F */ sb $v0, 0xf($s0) -/* 07B5B0 800E2100 9062007E */ lbu $v0, 0x7e($v1) -/* 07B5B4 800E2104 304200F7 */ andi $v0, $v0, 0xf7 -/* 07B5B8 800E2108 A062007E */ sb $v0, 0x7e($v1) -/* 07B5BC 800E210C 8C830000 */ lw $v1, ($a0) -/* 07B5C0 800E2110 9062007E */ lbu $v0, 0x7e($v1) -/* 07B5C4 800E2114 304200EF */ andi $v0, $v0, 0xef -/* 07B5C8 800E2118 A062007E */ sb $v0, 0x7e($v1) -/* 07B5CC 800E211C 8C840000 */ lw $a0, ($a0) -/* 07B5D0 800E2120 9082007E */ lbu $v0, 0x7e($a0) -/* 07B5D4 800E2124 3C013F80 */ lui $at, 0x3f80 -/* 07B5D8 800E2128 44811000 */ mtc1 $at, $f2 -/* 07B5DC 800E212C 30420001 */ andi $v0, $v0, 1 -/* 07B5E0 800E2130 1040000F */ beqz $v0, .L800E2170 -/* 07B5E4 800E2134 24020037 */ addiu $v0, $zero, 0x37 -/* 07B5E8 800E2138 A60200B0 */ sh $v0, 0xb0($s0) -/* 07B5EC 800E213C 8E020004 */ lw $v0, 4($s0) -/* 07B5F0 800E2140 24030026 */ addiu $v1, $zero, 0x26 -/* 07B5F4 800E2144 A60300B2 */ sh $v1, 0xb2($s0) -/* 07B5F8 800E2148 34421000 */ ori $v0, $v0, 0x1000 -/* 07B5FC 800E214C AE020004 */ sw $v0, 4($s0) -/* 07B600 800E2150 9082007E */ lbu $v0, 0x7e($a0) -/* 07B604 800E2154 30420002 */ andi $v0, $v0, 2 -/* 07B608 800E2158 1040000A */ beqz $v0, .L800E2184 -/* 07B60C 800E215C 24020002 */ addiu $v0, $zero, 2 -/* 07B610 800E2160 ACA20000 */ sw $v0, ($a1) -/* 07B614 800E2164 9082007F */ lbu $v0, 0x7f($a0) -/* 07B618 800E2168 08038861 */ j .L800E2184 -/* 07B61C 800E216C A202000C */ sb $v0, 0xc($s0) - -.L800E2170: -/* 07B620 800E2170 24020025 */ addiu $v0, $zero, 0x25 -/* 07B624 800E2174 A60200B0 */ sh $v0, 0xb0($s0) -/* 07B628 800E2178 2402001A */ addiu $v0, $zero, 0x1a -/* 07B62C 800E217C A60200B2 */ sh $v0, 0xb2($s0) -/* 07B630 800E2180 A0800080 */ sb $zero, 0x80($a0) -.L800E2184: -/* 07B634 800E2184 3C02800F */ lui $v0, 0x800f -/* 07B638 800E2188 24427B70 */ addiu $v0, $v0, 0x7b70 -/* 07B63C 800E218C C4400000 */ lwc1 $f0, ($v0) -/* 07B640 800E2190 46020002 */ mul.s $f0, $f0, $f2 -/* 07B644 800E2194 00000000 */ nop -/* 07B648 800E2198 24420004 */ addiu $v0, $v0, 4 -/* 07B64C 800E219C E6000058 */ swc1 $f0, 0x58($s0) -/* 07B650 800E21A0 C4400000 */ lwc1 $f0, ($v0) -/* 07B654 800E21A4 46020002 */ mul.s $f0, $f0, $f2 -/* 07B658 800E21A8 00000000 */ nop -/* 07B65C 800E21AC E600005C */ swc1 $f0, 0x5c($s0) -/* 07B660 800E21B0 C4400004 */ lwc1 $f0, 4($v0) -/* 07B664 800E21B4 46020002 */ mul.s $f0, $f0, $f2 -/* 07B668 800E21B8 00000000 */ nop -/* 07B66C 800E21BC 0000202D */ daddu $a0, $zero, $zero -/* 07B670 800E21C0 0C039769 */ jal set_action_state -/* 07B674 800E21C4 E600006C */ swc1 $f0, 0x6c($s0) -/* 07B678 800E21C8 3C068007 */ lui $a2, 0x8007 -/* 07B67C 800E21CC 8CC6419C */ lw $a2, 0x419c($a2) -/* 07B680 800E21D0 AE000054 */ sw $zero, 0x54($s0) -/* 07B684 800E21D4 AE000080 */ sw $zero, 0x80($s0) -/* 07B688 800E21D8 AE000064 */ sw $zero, 0x64($s0) -/* 07B68C 800E21DC AE000088 */ sw $zero, 0x88($s0) -/* 07B690 800E21E0 AE0000B8 */ sw $zero, 0xb8($s0) -/* 07B694 800E21E4 A60000C0 */ sh $zero, 0xc0($s0) -/* 07B698 800E21E8 AE000028 */ sw $zero, 0x28($s0) -/* 07B69C 800E21EC AE00002C */ sw $zero, 0x2c($s0) -/* 07B6A0 800E21F0 AE000030 */ sw $zero, 0x30($s0) -/* 07B6A4 800E21F4 AE000084 */ sw $zero, 0x84($s0) -/* 07B6A8 800E21F8 AE000090 */ sw $zero, 0x90($s0) -/* 07B6AC 800E21FC AE000094 */ sw $zero, 0x94($s0) -/* 07B6B0 800E2200 AE000098 */ sw $zero, 0x98($s0) -/* 07B6B4 800E2204 AE00009C */ sw $zero, 0x9c($s0) -/* 07B6B8 800E2208 84C30086 */ lh $v1, 0x86($a2) -/* 07B6BC 800E220C 84C2008C */ lh $v0, 0x8c($a2) -/* 07B6C0 800E2210 00031900 */ sll $v1, $v1, 4 -/* 07B6C4 800E2214 3C018009 */ lui $at, 0x8009 -/* 07B6C8 800E2218 00230821 */ addu $at, $at, $v1 -/* 07B6CC 800E221C 8C2334F4 */ lw $v1, 0x34f4($at) -/* 07B6D0 800E2220 00021140 */ sll $v0, $v0, 5 -/* 07B6D4 800E2224 00431021 */ addu $v0, $v0, $v1 -/* 07B6D8 800E2228 8C440004 */ lw $a0, 4($v0) -/* 07B6DC 800E222C 8C850014 */ lw $a1, 0x14($a0) -/* 07B6E0 800E2230 10A0001B */ beqz $a1, .L800E22A0 -/* 07B6E4 800E2234 00000000 */ nop -/* 07B6E8 800E2238 84C3008E */ lh $v1, 0x8e($a2) -/* 07B6EC 800E223C 8C820018 */ lw $v0, 0x18($a0) -/* 07B6F0 800E2240 0062102A */ slt $v0, $v1, $v0 -/* 07B6F4 800E2244 10400016 */ beqz $v0, .L800E22A0 -/* 07B6F8 800E2248 00031100 */ sll $v0, $v1, 4 -/* 07B6FC 800E224C 00451021 */ addu $v0, $v0, $a1 -/* 07B700 800E2250 C4400000 */ lwc1 $f0, ($v0) -/* 07B704 800E2254 E6000028 */ swc1 $f0, 0x28($s0) -/* 07B708 800E2258 84C2008E */ lh $v0, 0x8e($a2) -/* 07B70C 800E225C 8C830014 */ lw $v1, 0x14($a0) -/* 07B710 800E2260 00021100 */ sll $v0, $v0, 4 -/* 07B714 800E2264 00431021 */ addu $v0, $v0, $v1 -/* 07B718 800E2268 C4400004 */ lwc1 $f0, 4($v0) -/* 07B71C 800E226C E600002C */ swc1 $f0, 0x2c($s0) -/* 07B720 800E2270 84C2008E */ lh $v0, 0x8e($a2) -/* 07B724 800E2274 8C830014 */ lw $v1, 0x14($a0) -/* 07B728 800E2278 00021100 */ sll $v0, $v0, 4 -/* 07B72C 800E227C 00431021 */ addu $v0, $v0, $v1 -/* 07B730 800E2280 C4400008 */ lwc1 $f0, 8($v0) -/* 07B734 800E2284 E6000030 */ swc1 $f0, 0x30($s0) -/* 07B738 800E2288 84C2008E */ lh $v0, 0x8e($a2) -/* 07B73C 800E228C 8C830014 */ lw $v1, 0x14($a0) -/* 07B740 800E2290 00021100 */ sll $v0, $v0, 4 -/* 07B744 800E2294 00431021 */ addu $v0, $v0, $v1 -/* 07B748 800E2298 C440000C */ lwc1 $f0, 0xc($v0) -/* 07B74C 800E229C E6000084 */ swc1 $f0, 0x84($s0) -.L800E22A0: -/* 07B750 800E22A0 C6000028 */ lwc1 $f0, 0x28($s0) -/* 07B754 800E22A4 C602002C */ lwc1 $f2, 0x2c($s0) -/* 07B758 800E22A8 C6040030 */ lwc1 $f4, 0x30($s0) -/* 07B75C 800E22AC 3C02800B */ lui $v0, 0x800b -/* 07B760 800E22B0 24421D80 */ addiu $v0, $v0, 0x1d80 -/* 07B764 800E22B4 E4400060 */ swc1 $f0, 0x60($v0) -/* 07B768 800E22B8 E4420064 */ swc1 $f2, 0x64($v0) -/* 07B76C 800E22BC 0C039668 */ jal func_800E59A0 -/* 07B770 800E22C0 E4440068 */ swc1 $f4, 0x68($v0) -/* 07B774 800E22C4 3C048011 */ lui $a0, 0x8011 -/* 07B778 800E22C8 2484F250 */ addiu $a0, $a0, -0xdb0 -/* 07B77C 800E22CC 0C00A580 */ jal mem_clear -/* 07B780 800E22D0 24050034 */ addiu $a1, $zero, 0x34 -/* 07B784 800E22D4 8FBF0014 */ lw $ra, 0x14($sp) -/* 07B788 800E22D8 8FB00010 */ lw $s0, 0x10($sp) -/* 07B78C 800E22DC 03E00008 */ jr $ra -/* 07B790 800E22E0 27BD0018 */ addiu $sp, $sp, 0x18 - -/* 07B794 800E22E4 3C028011 */ lui $v0, 0x8011 -/* 07B798 800E22E8 2442EFC8 */ addiu $v0, $v0, -0x1038 -/* 07B79C 800E22EC 8C4300E0 */ lw $v1, 0xe0($v0) -/* 07B7A0 800E22F0 944200DE */ lhu $v0, 0xde($v0) -/* 07B7A4 800E22F4 00031C00 */ sll $v1, $v1, 0x10 -/* 07B7A8 800E22F8 00431025 */ or $v0, $v0, $v1 -/* 07B7AC 800E22FC 03E00008 */ jr $ra -/* 07B7B0 800E2300 AC820000 */ sw $v0, ($a0) - -func_800E2304: -/* 07B7B4 800E2304 27BDFFB8 */ addiu $sp, $sp, -0x48 -/* 07B7B8 800E2308 AFB10014 */ sw $s1, 0x14($sp) -/* 07B7BC 800E230C 0080882D */ daddu $s1, $a0, $zero -/* 07B7C0 800E2310 AFB20018 */ sw $s2, 0x18($sp) -/* 07B7C4 800E2314 00A0902D */ daddu $s2, $a1, $zero -/* 07B7C8 800E2318 3C038011 */ lui $v1, 0x8011 -/* 07B7CC 800E231C 2463EFC8 */ addiu $v1, $v1, -0x1038 -/* 07B7D0 800E2320 AFBF001C */ sw $ra, 0x1c($sp) -/* 07B7D4 800E2324 AFB00010 */ sw $s0, 0x10($sp) -/* 07B7D8 800E2328 F7BC0040 */ sdc1 $f28, 0x40($sp) -/* 07B7DC 800E232C F7BA0038 */ sdc1 $f26, 0x38($sp) -/* 07B7E0 800E2330 F7B80030 */ sdc1 $f24, 0x30($sp) -/* 07B7E4 800E2334 F7B60028 */ sdc1 $f22, 0x28($sp) -/* 07B7E8 800E2338 F7B40020 */ sdc1 $f20, 0x20($sp) -/* 07B7EC 800E233C C47C00E8 */ lwc1 $f28, 0xe8($v1) -/* 07B7F0 800E2340 4680E720 */ cvt.s.w $f28, $f28 -/* 07B7F4 800E2344 0060802D */ daddu $s0, $v1, $zero -/* 07B7F8 800E2348 4480D000 */ mtc1 $zero, $f26 -/* 07B7FC 800E234C 4406E000 */ mfc1 $a2, $f28 -/* 07B800 800E2350 8C6200EC */ lw $v0, 0xec($v1) -/* 07B804 800E2354 4600D306 */ mov.s $f12, $f26 -/* 07B808 800E2358 00021023 */ negu $v0, $v0 -/* 07B80C 800E235C 4482C000 */ mtc1 $v0, $f24 -/* 07B810 800E2360 00000000 */ nop -/* 07B814 800E2364 4680C620 */ cvt.s.w $f24, $f24 -/* 07B818 800E2368 4407C000 */ mfc1 $a3, $f24 -/* 07B81C 800E236C 0C00A7B5 */ jal dist2D -/* 07B820 800E2370 4600D386 */ mov.s $f14, $f26 -/* 07B824 800E2374 3C01428C */ lui $at, 0x428c -/* 07B828 800E2378 4481B000 */ mtc1 $at, $f22 -/* 07B82C 800E237C 46000506 */ mov.s $f20, $f0 -/* 07B830 800E2380 4614B03E */ c.le.s $f22, $f20 -/* 07B834 800E2384 00000000 */ nop -/* 07B838 800E2388 45030001 */ bc1tl .L800E2390 -/* 07B83C 800E238C 4600B506 */ mov.s $f20, $f22 -.L800E2390: -/* 07B840 800E2390 4600D306 */ mov.s $f12, $f26 -/* 07B844 800E2394 4406E000 */ mfc1 $a2, $f28 -/* 07B848 800E2398 4407C000 */ mfc1 $a3, $f24 -/* 07B84C 800E239C 0C00A720 */ jal atan2 -/* 07B850 800E23A0 4600D386 */ mov.s $f14, $f26 -/* 07B854 800E23A4 3C01800B */ lui $at, 0x800b -/* 07B858 800E23A8 C42C1DEC */ lwc1 $f12, 0x1dec($at) -/* 07B85C 800E23AC 0C00A6C9 */ jal clamp_angle -/* 07B860 800E23B0 460C0300 */ add.s $f12, $f0, $f12 -/* 07B864 800E23B4 461AA032 */ c.eq.s $f20, $f26 -/* 07B868 800E23B8 00000000 */ nop -/* 07B86C 800E23BC 45020003 */ bc1fl .L800E23CC -/* 07B870 800E23C0 E6200000 */ swc1 $f0, ($s1) -/* 07B874 800E23C4 C6000080 */ lwc1 $f0, 0x80($s0) -/* 07B878 800E23C8 E6200000 */ swc1 $f0, ($s1) -.L800E23CC: -/* 07B87C 800E23CC E6540000 */ swc1 $f20, ($s2) -/* 07B880 800E23D0 8FBF001C */ lw $ra, 0x1c($sp) -/* 07B884 800E23D4 8FB20018 */ lw $s2, 0x18($sp) -/* 07B888 800E23D8 8FB10014 */ lw $s1, 0x14($sp) -/* 07B88C 800E23DC 8FB00010 */ lw $s0, 0x10($sp) -/* 07B890 800E23E0 D7BC0040 */ ldc1 $f28, 0x40($sp) -/* 07B894 800E23E4 D7BA0038 */ ldc1 $f26, 0x38($sp) -/* 07B898 800E23E8 D7B80030 */ ldc1 $f24, 0x30($sp) -/* 07B89C 800E23EC D7B60028 */ ldc1 $f22, 0x28($sp) -/* 07B8A0 800E23F0 D7B40020 */ ldc1 $f20, 0x20($sp) -/* 07B8A4 800E23F4 03E00008 */ jr $ra -/* 07B8A8 800E23F8 27BD0048 */ addiu $sp, $sp, 0x48 - -/* 07B8AC 800E23FC 3C038007 */ lui $v1, 0x8007 -/* 07B8B0 800E2400 8C63419C */ lw $v1, 0x419c($v1) -/* 07B8B4 800E2404 27BDFFB8 */ addiu $sp, $sp, -0x48 -/* 07B8B8 800E2408 F7BA0038 */ sdc1 $f26, 0x38($sp) -/* 07B8BC 800E240C 4480D000 */ mtc1 $zero, $f26 -/* 07B8C0 800E2410 AFB00010 */ sw $s0, 0x10($sp) -/* 07B8C4 800E2414 0080802D */ daddu $s0, $a0, $zero -/* 07B8C8 800E2418 AFB10014 */ sw $s1, 0x14($sp) -/* 07B8CC 800E241C 00A0882D */ daddu $s1, $a1, $zero -/* 07B8D0 800E2420 AFBF0018 */ sw $ra, 0x18($sp) -/* 07B8D4 800E2424 F7BC0040 */ sdc1 $f28, 0x40($sp) -/* 07B8D8 800E2428 F7B80030 */ sdc1 $f24, 0x30($sp) -/* 07B8DC 800E242C F7B60028 */ sdc1 $f22, 0x28($sp) -/* 07B8E0 800E2430 F7B40020 */ sdc1 $f20, 0x20($sp) -/* 07B8E4 800E2434 80620040 */ lb $v0, 0x40($v1) -/* 07B8E8 800E2438 4600D306 */ mov.s $f12, $f26 -/* 07B8EC 800E243C 4482E000 */ mtc1 $v0, $f28 -/* 07B8F0 800E2440 00000000 */ nop -/* 07B8F4 800E2444 4680E720 */ cvt.s.w $f28, $f28 -/* 07B8F8 800E2448 80620044 */ lb $v0, 0x44($v1) -/* 07B8FC 800E244C 4406E000 */ mfc1 $a2, $f28 -/* 07B900 800E2450 00021023 */ negu $v0, $v0 -/* 07B904 800E2454 4482C000 */ mtc1 $v0, $f24 -/* 07B908 800E2458 00000000 */ nop -/* 07B90C 800E245C 4680C620 */ cvt.s.w $f24, $f24 -/* 07B910 800E2460 4407C000 */ mfc1 $a3, $f24 -/* 07B914 800E2464 0C00A7B5 */ jal dist2D -/* 07B918 800E2468 4600D386 */ mov.s $f14, $f26 -/* 07B91C 800E246C 3C01428C */ lui $at, 0x428c -/* 07B920 800E2470 4481B000 */ mtc1 $at, $f22 -/* 07B924 800E2474 46000506 */ mov.s $f20, $f0 -/* 07B928 800E2478 4614B03E */ c.le.s $f22, $f20 -/* 07B92C 800E247C 00000000 */ nop -/* 07B930 800E2480 45030001 */ bc1tl .L800E2488 -/* 07B934 800E2484 4600B506 */ mov.s $f20, $f22 -.L800E2488: -/* 07B938 800E2488 4600D306 */ mov.s $f12, $f26 -/* 07B93C 800E248C 4406E000 */ mfc1 $a2, $f28 -/* 07B940 800E2490 4407C000 */ mfc1 $a3, $f24 -/* 07B944 800E2494 0C00A720 */ jal atan2 -/* 07B948 800E2498 4600D386 */ mov.s $f14, $f26 -/* 07B94C 800E249C 3C01800B */ lui $at, 0x800b -/* 07B950 800E24A0 C42C1DEC */ lwc1 $f12, 0x1dec($at) -/* 07B954 800E24A4 0C00A6C9 */ jal clamp_angle -/* 07B958 800E24A8 460C0300 */ add.s $f12, $f0, $f12 -/* 07B95C 800E24AC 461AA032 */ c.eq.s $f20, $f26 -/* 07B960 800E24B0 00000000 */ nop -/* 07B964 800E24B4 45020005 */ bc1fl .L800E24CC -/* 07B968 800E24B8 E6000000 */ swc1 $f0, ($s0) -/* 07B96C 800E24BC 3C028011 */ lui $v0, 0x8011 -/* 07B970 800E24C0 2442EFC8 */ addiu $v0, $v0, -0x1038 -/* 07B974 800E24C4 C4400080 */ lwc1 $f0, 0x80($v0) -/* 07B978 800E24C8 E6000000 */ swc1 $f0, ($s0) -.L800E24CC: -/* 07B97C 800E24CC E6340000 */ swc1 $f20, ($s1) -/* 07B980 800E24D0 8FBF0018 */ lw $ra, 0x18($sp) -/* 07B984 800E24D4 8FB10014 */ lw $s1, 0x14($sp) -/* 07B988 800E24D8 8FB00010 */ lw $s0, 0x10($sp) -/* 07B98C 800E24DC D7BC0040 */ ldc1 $f28, 0x40($sp) -/* 07B990 800E24E0 D7BA0038 */ ldc1 $f26, 0x38($sp) -/* 07B994 800E24E4 D7B80030 */ ldc1 $f24, 0x30($sp) -/* 07B998 800E24E8 D7B60028 */ ldc1 $f22, 0x28($sp) -/* 07B99C 800E24EC D7B40020 */ ldc1 $f20, 0x20($sp) -/* 07B9A0 800E24F0 03E00008 */ jr $ra -/* 07B9A4 800E24F4 27BD0048 */ addiu $sp, $sp, 0x48 - -func_800E24F8: -/* 07B9A8 800E24F8 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 07B9AC 800E24FC AFB00010 */ sw $s0, 0x10($sp) -/* 07B9B0 800E2500 3C108011 */ lui $s0, 0x8011 -/* 07B9B4 800E2504 2610EFC8 */ addiu $s0, $s0, -0x1038 -/* 07B9B8 800E2508 AFBF0014 */ sw $ra, 0x14($sp) -/* 07B9BC 800E250C 0C044181 */ jal get_shadow_by_index -/* 07B9C0 800E2510 8E0400CC */ lw $a0, 0xcc($s0) -/* 07B9C4 800E2514 C4400028 */ lwc1 $f0, 0x28($v0) -/* 07B9C8 800E2518 3C018011 */ lui $at, 0x8011 -/* 07B9CC 800E251C D424BD30 */ ldc1 $f4, -0x42d0($at) -/* 07B9D0 800E2520 C4420030 */ lwc1 $f2, 0x30($v0) -/* 07B9D4 800E2524 46000021 */ cvt.d.s $f0, $f0 -/* 07B9D8 800E2528 46240000 */ add.d $f0, $f0, $f4 -/* 07B9DC 800E252C 3C05800B */ lui $a1, 0x800b -/* 07B9E0 800E2530 24A51D80 */ addiu $a1, $a1, 0x1d80 -/* 07B9E4 800E2534 460010A1 */ cvt.d.s $f2, $f2 -/* 07B9E8 800E2538 46241080 */ add.d $f2, $f2, $f4 -/* 07B9EC 800E253C 44802000 */ mtc1 $zero, $f4 -/* 07B9F0 800E2540 46200020 */ cvt.s.d $f0, $f0 -/* 07B9F4 800E2544 46040032 */ c.eq.s $f0, $f4 -/* 07B9F8 800E2548 00000000 */ nop -/* 07B9FC 800E254C 45000005 */ bc1f .L800E2564 -/* 07BA00 800E2550 462010A0 */ cvt.s.d $f2, $f2 -/* 07BA04 800E2554 46041032 */ c.eq.s $f2, $f4 -/* 07BA08 800E2558 00000000 */ nop -/* 07BA0C 800E255C 4501003D */ bc1t .L800E2654 -/* 07BA10 800E2560 00000000 */ nop -.L800E2564: -/* 07BA14 800E2564 920200B4 */ lbu $v0, 0xb4($s0) -/* 07BA18 800E2568 2442FFFF */ addiu $v0, $v0, -1 -/* 07BA1C 800E256C 00021600 */ sll $v0, $v0, 0x18 -/* 07BA20 800E2570 00021E03 */ sra $v1, $v0, 0x18 -/* 07BA24 800E2574 2C620011 */ sltiu $v0, $v1, 0x11 -/* 07BA28 800E2578 1040002D */ beqz $v0, .L800E2630 -/* 07BA2C 800E257C 00031080 */ sll $v0, $v1, 2 -/* 07BA30 800E2580 3C018011 */ lui $at, 0x8011 -/* 07BA34 800E2584 00220821 */ addu $at, $at, $v0 -/* 07BA38 800E2588 8C22BD38 */ lw $v0, -0x42c8($at) -/* 07BA3C 800E258C 00400008 */ jr $v0 -/* 07BA40 800E2590 00000000 */ nop -/* 07BA44 800E2594 3C014200 */ lui $at, 0x4200 -/* 07BA48 800E2598 44812000 */ mtc1 $at, $f4 -/* 07BA4C 800E259C 080389A5 */ j .L800E2694 -/* 07BA50 800E25A0 E4A4049C */ swc1 $f4, 0x49c($a1) - -/* 07BA54 800E25A4 84A20034 */ lh $v0, 0x34($a1) -/* 07BA58 800E25A8 28420082 */ slti $v0, $v0, 0x82 -/* 07BA5C 800E25AC 10400005 */ beqz $v0, .L800E25C4 -/* 07BA60 800E25B0 00000000 */ nop -/* 07BA64 800E25B4 3C014040 */ lui $at, 0x4040 -/* 07BA68 800E25B8 44810000 */ mtc1 $at, $f0 -/* 07BA6C 800E25BC 080389A5 */ j .L800E2694 -/* 07BA70 800E25C0 E4A0049C */ swc1 $f0, 0x49c($a1) - -.L800E25C4: -/* 07BA74 800E25C4 3C048011 */ lui $a0, 0x8011 -/* 07BA78 800E25C8 2484C9A0 */ addiu $a0, $a0, -0x3660 -/* 07BA7C 800E25CC 8C820000 */ lw $v0, ($a0) -/* 07BA80 800E25D0 3C014040 */ lui $at, 0x4040 -/* 07BA84 800E25D4 44812000 */ mtc1 $at, $f4 -/* 07BA88 800E25D8 0040182D */ daddu $v1, $v0, $zero -/* 07BA8C 800E25DC 24420001 */ addiu $v0, $v0, 1 -/* 07BA90 800E25E0 2863000B */ slti $v1, $v1, 0xb -/* 07BA94 800E25E4 1460002B */ bnez $v1, .L800E2694 -/* 07BA98 800E25E8 AC820000 */ sw $v0, ($a0) -/* 07BA9C 800E25EC C4A0049C */ lwc1 $f0, 0x49c($a1) -/* 07BAA0 800E25F0 3C014000 */ lui $at, 0x4000 -/* 07BAA4 800E25F4 44811000 */ mtc1 $at, $f2 -/* 07BAA8 800E25F8 00000000 */ nop -/* 07BAAC 800E25FC 46020001 */ sub.s $f0, $f0, $f2 -/* 07BAB0 800E2600 2402000A */ addiu $v0, $zero, 0xa -/* 07BAB4 800E2604 AC820000 */ sw $v0, ($a0) -.L800E2608: -/* 07BAB8 800E2608 4604003C */ c.lt.s $f0, $f4 -/* 07BABC 800E260C 00000000 */ nop -/* 07BAC0 800E2610 45000020 */ bc1f .L800E2694 -/* 07BAC4 800E2614 E4A0049C */ swc1 $f0, 0x49c($a1) -/* 07BAC8 800E2618 080389A5 */ j .L800E2694 -/* 07BACC 800E261C E4A4049C */ swc1 $f4, 0x49c($a1) - -/* 07BAD0 800E2620 3C014040 */ lui $at, 0x4040 -/* 07BAD4 800E2624 44812000 */ mtc1 $at, $f4 -/* 07BAD8 800E2628 080389A5 */ j .L800E2694 -/* 07BADC 800E262C E4A4049C */ swc1 $f4, 0x49c($a1) - -.L800E2630: -/* 07BAE0 800E2630 C4A0049C */ lwc1 $f0, 0x49c($a1) -/* 07BAE4 800E2634 3C014000 */ lui $at, 0x4000 -/* 07BAE8 800E2638 44811000 */ mtc1 $at, $f2 -/* 07BAEC 800E263C 3C014040 */ lui $at, 0x4040 -/* 07BAF0 800E2640 44812000 */ mtc1 $at, $f4 -/* 07BAF4 800E2644 3C018011 */ lui $at, 0x8011 -/* 07BAF8 800E2648 AC20C9A0 */ sw $zero, -0x3660($at) -/* 07BAFC 800E264C 08038982 */ j .L800E2608 -/* 07BB00 800E2650 46020001 */ sub.s $f0, $f0, $f2 - -.L800E2654: -/* 07BB04 800E2654 820300B4 */ lb $v1, 0xb4($s0) -/* 07BB08 800E2658 1860000A */ blez $v1, .L800E2684 -/* 07BB0C 800E265C 28620004 */ slti $v0, $v1, 4 -/* 07BB10 800E2660 14400003 */ bnez $v0, .L800E2670 -/* 07BB14 800E2664 24020011 */ addiu $v0, $zero, 0x11 -/* 07BB18 800E2668 14620006 */ bne $v1, $v0, .L800E2684 -/* 07BB1C 800E266C 00000000 */ nop -.L800E2670: -/* 07BB20 800E2670 3C0140E6 */ lui $at, 0x40e6 -/* 07BB24 800E2674 34216666 */ ori $at, $at, 0x6666 -/* 07BB28 800E2678 44812000 */ mtc1 $at, $f4 -/* 07BB2C 800E267C 080389A5 */ j .L800E2694 -/* 07BB30 800E2680 E4A4049C */ swc1 $f4, 0x49c($a1) - -.L800E2684: -/* 07BB34 800E2684 3C0141C0 */ lui $at, 0x41c0 -/* 07BB38 800E2688 44812000 */ mtc1 $at, $f4 -/* 07BB3C 800E268C 00000000 */ nop -/* 07BB40 800E2690 E4A4049C */ swc1 $f4, 0x49c($a1) -.L800E2694: -/* 07BB44 800E2694 8FBF0014 */ lw $ra, 0x14($sp) -/* 07BB48 800E2698 8FB00010 */ lw $s0, 0x10($sp) -/* 07BB4C 800E269C 03E00008 */ jr $ra -/* 07BB50 800E26A0 27BD0018 */ addiu $sp, $sp, 0x18 - -/* 07BB54 800E26A4 00000000 */ nop -/* 07BB58 800E26A8 00000000 */ nop -/* 07BB5C 800E26AC 00000000 */ nop -func_800E26B0: -/* 07BB60 800E26B0 3C028011 */ lui $v0, 0x8011 -/* 07BB64 800E26B4 2442EFC8 */ addiu $v0, $v0, -0x1038 -/* 07BB68 800E26B8 C440002C */ lwc1 $f0, 0x2c($v0) -/* 07BB6C 800E26BC 03E00008 */ jr $ra -/* 07BB70 800E26C0 E4400050 */ swc1 $f0, 0x50($v0) - -func_800E26C4: -/* 07BB74 800E26C4 3C04800F */ lui $a0, 0x800f -/* 07BB78 800E26C8 8C847B30 */ lw $a0, 0x7b30($a0) -/* 07BB7C 800E26CC 808300B4 */ lb $v1, 0xb4($a0) -/* 07BB80 800E26D0 3C058011 */ lui $a1, 0x8011 -/* 07BB84 800E26D4 24A5EBB0 */ addiu $a1, $a1, -0x1450 -/* 07BB88 800E26D8 2C620003 */ sltiu $v0, $v1, 3 -/* 07BB8C 800E26DC 14400005 */ bnez $v0, .L800E26F4 -/* 07BB90 800E26E0 2402001F */ addiu $v0, $zero, 0x1f -/* 07BB94 800E26E4 10620003 */ beq $v1, $v0, .L800E26F4 -/* 07BB98 800E26E8 2402001A */ addiu $v0, $zero, 0x1a -/* 07BB9C 800E26EC 14620003 */ bne $v1, $v0, .L800E26FC -/* 07BBA0 800E26F0 24020021 */ addiu $v0, $zero, 0x21 -.L800E26F4: -/* 07BBA4 800E26F4 03E00008 */ jr $ra -/* 07BBA8 800E26F8 24020001 */ addiu $v0, $zero, 1 - -.L800E26FC: -/* 07BBAC 800E26FC 1462001C */ bne $v1, $v0, .L800E2770 -/* 07BBB0 800E2700 00000000 */ nop -/* 07BBB4 800E2704 3C028011 */ lui $v0, 0x8011 -/* 07BBB8 800E2708 2442F290 */ addiu $v0, $v0, -0xd70 -/* 07BBBC 800E270C 90420012 */ lbu $v0, 0x12($v0) -/* 07BBC0 800E2710 2442FFF8 */ addiu $v0, $v0, -8 -/* 07BBC4 800E2714 2C420002 */ sltiu $v0, $v0, 2 -/* 07BBC8 800E2718 10400009 */ beqz $v0, .L800E2740 -/* 07BBCC 800E271C 00000000 */ nop -/* 07BBD0 800E2720 80A20000 */ lb $v0, ($a1) -/* 07BBD4 800E2724 1440FFF3 */ bnez $v0, .L800E26F4 -/* 07BBD8 800E2728 00000000 */ nop -.L800E272C: -/* 07BBDC 800E272C 8C830004 */ lw $v1, 4($a0) -/* 07BBE0 800E2730 0000102D */ daddu $v0, $zero, $zero -/* 07BBE4 800E2734 34630004 */ ori $v1, $v1, 4 -/* 07BBE8 800E2738 03E00008 */ jr $ra -/* 07BBEC 800E273C AC830004 */ sw $v1, 4($a0) - -.L800E2740: -/* 07BBF0 800E2740 90A30003 */ lbu $v1, 3($a1) -/* 07BBF4 800E2744 2462FFFA */ addiu $v0, $v1, -6 -/* 07BBF8 800E2748 2C420002 */ sltiu $v0, $v0, 2 -/* 07BBFC 800E274C 50400004 */ beql $v0, $zero, .L800E2760 -/* 07BC00 800E2750 00031600 */ sll $v0, $v1, 0x18 -/* 07BC04 800E2754 80A20000 */ lb $v0, ($a1) -/* 07BC08 800E2758 03E00008 */ jr $ra -/* 07BC0C 800E275C 0002102B */ sltu $v0, $zero, $v0 - -.L800E2760: -/* 07BC10 800E2760 00021603 */ sra $v0, $v0, 0x18 -/* 07BC14 800E2764 24030004 */ addiu $v1, $zero, 4 -/* 07BC18 800E2768 1043FFF0 */ beq $v0, $v1, .L800E272C -/* 07BC1C 800E276C 00000000 */ nop -.L800E2770: -/* 07BC20 800E2770 03E00008 */ jr $ra -/* 07BC24 800E2774 0000102D */ daddu $v0, $zero, $zero - -move_player: -/* 07BC28 800E2778 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 07BC2C 800E277C 44861000 */ mtc1 $a2, $f2 -/* 07BC30 800E2780 3C068011 */ lui $a2, 0x8011 -/* 07BC34 800E2784 24C6EFC8 */ addiu $a2, $a2, -0x1038 -/* 07BC38 800E2788 AFBF0010 */ sw $ra, 0x10($sp) -/* 07BC3C 800E278C 8CC20000 */ lw $v0, ($a2) -/* 07BC40 800E2790 34424000 */ ori $v0, $v0, 0x4000 -/* 07BC44 800E2794 ACC20000 */ sw $v0, ($a2) -/* 07BC48 800E2798 8CC20004 */ lw $v0, 4($a2) -/* 07BC4C 800E279C 3C030040 */ lui $v1, 0x40 -/* 07BC50 800E27A0 ACC500A0 */ sw $a1, 0xa0($a2) -/* 07BC54 800E27A4 A4C40012 */ sh $a0, 0x12($a2) -/* 07BC58 800E27A8 00431024 */ and $v0, $v0, $v1 -/* 07BC5C 800E27AC 14400009 */ bnez $v0, .L800E27D4 -/* 07BC60 800E27B0 E4C20054 */ swc1 $f2, 0x54($a2) -/* 07BC64 800E27B4 C4C00058 */ lwc1 $f0, 0x58($a2) -/* 07BC68 800E27B8 4602003C */ c.lt.s $f0, $f2 -/* 07BC6C 800E27BC 00000000 */ nop -/* 07BC70 800E27C0 45000002 */ bc1f .L800E27CC -/* 07BC74 800E27C4 24040001 */ addiu $a0, $zero, 1 -/* 07BC78 800E27C8 24040002 */ addiu $a0, $zero, 2 -.L800E27CC: -/* 07BC7C 800E27CC 0C039769 */ jal set_action_state -/* 07BC80 800E27D0 00000000 */ nop -.L800E27D4: -/* 07BC84 800E27D4 8FBF0010 */ lw $ra, 0x10($sp) -/* 07BC88 800E27D8 03E00008 */ jr $ra -/* 07BC8C 800E27DC 27BD0018 */ addiu $sp, $sp, 0x18 - -func_800E27E0: -/* 07BC90 800E27E0 27BDFFB8 */ addiu $sp, $sp, -0x48 -/* 07BC94 800E27E4 AFB10034 */ sw $s1, 0x34($sp) -/* 07BC98 800E27E8 3C118011 */ lui $s1, 0x8011 -/* 07BC9C 800E27EC 2631EFC8 */ addiu $s1, $s1, -0x1038 -/* 07BCA0 800E27F0 AFBF003C */ sw $ra, 0x3c($sp) -/* 07BCA4 800E27F4 AFB20038 */ sw $s2, 0x38($sp) -/* 07BCA8 800E27F8 AFB00030 */ sw $s0, 0x30($sp) -/* 07BCAC 800E27FC F7B40040 */ sdc1 $f20, 0x40($sp) -/* 07BCB0 800E2800 862200B0 */ lh $v0, 0xb0($s1) -/* 07BCB4 800E2804 3C013F00 */ lui $at, 0x3f00 -/* 07BCB8 800E2808 44811000 */ mtc1 $at, $f2 -/* 07BCBC 800E280C 44820000 */ mtc1 $v0, $f0 -/* 07BCC0 800E2810 00000000 */ nop -/* 07BCC4 800E2814 46800020 */ cvt.s.w $f0, $f0 -/* 07BCC8 800E2818 46020002 */ mul.s $f0, $f0, $f2 -/* 07BCCC 800E281C 00000000 */ nop -/* 07BCD0 800E2820 27A40018 */ addiu $a0, $sp, 0x18 -/* 07BCD4 800E2824 C6220028 */ lwc1 $f2, 0x28($s1) -/* 07BCD8 800E2828 27A5001C */ addiu $a1, $sp, 0x1c -/* 07BCDC 800E282C E7A20020 */ swc1 $f2, 0x20($sp) -/* 07BCE0 800E2830 46000506 */ mov.s $f20, $f0 -/* 07BCE4 800E2834 C620002C */ lwc1 $f0, 0x2c($s1) -/* 07BCE8 800E2838 C6220030 */ lwc1 $f2, 0x30($s1) -/* 07BCEC 800E283C 46140000 */ add.s $f0, $f0, $f20 -/* 07BCF0 800E2840 E7A20028 */ swc1 $f2, 0x28($sp) -/* 07BCF4 800E2844 E7B4002C */ swc1 $f20, 0x2c($sp) -/* 07BCF8 800E2848 0C0388C1 */ jal func_800E2304 -/* 07BCFC 800E284C E7A00024 */ swc1 $f0, 0x24($sp) -/* 07BD00 800E2850 C7A2001C */ lwc1 $f2, 0x1c($sp) -/* 07BD04 800E2854 44800000 */ mtc1 $zero, $f0 -/* 07BD08 800E2858 3C128016 */ lui $s2, 0x8016 -/* 07BD0C 800E285C 2652A550 */ addiu $s2, $s2, -0x5ab0 -/* 07BD10 800E2860 46001032 */ c.eq.s $f2, $f0 -/* 07BD14 800E2864 00000000 */ nop -/* 07BD18 800E2868 45010004 */ bc1t .L800E287C -/* 07BD1C 800E286C 0220202D */ daddu $a0, $s1, $zero -/* 07BD20 800E2870 C6220080 */ lwc1 $f2, 0x80($s1) -/* 07BD24 800E2874 08038A31 */ j .L800E28C4 -/* 07BD28 800E2878 27A50020 */ addiu $a1, $sp, 0x20 - -.L800E287C: -/* 07BD2C 800E287C 3C038007 */ lui $v1, 0x8007 -/* 07BD30 800E2880 8C637410 */ lw $v1, 0x7410($v1) -/* 07BD34 800E2884 C62200A8 */ lwc1 $f2, 0xa8($s1) -/* 07BD38 800E2888 3C0142B4 */ lui $at, 0x42b4 -/* 07BD3C 800E288C 44810000 */ mtc1 $at, $f0 -/* 07BD40 800E2890 00031080 */ sll $v0, $v1, 2 -/* 07BD44 800E2894 00431021 */ addu $v0, $v0, $v1 -/* 07BD48 800E2898 00021080 */ sll $v0, $v0, 2 -/* 07BD4C 800E289C 00431023 */ subu $v0, $v0, $v1 -/* 07BD50 800E28A0 000218C0 */ sll $v1, $v0, 3 -/* 07BD54 800E28A4 00431021 */ addu $v0, $v0, $v1 -/* 07BD58 800E28A8 000210C0 */ sll $v0, $v0, 3 -/* 07BD5C 800E28AC 46001081 */ sub.s $f2, $f2, $f0 -/* 07BD60 800E28B0 3C01800B */ lui $at, 0x800b -/* 07BD64 800E28B4 00220821 */ addu $at, $at, $v0 -/* 07BD68 800E28B8 C4201DEC */ lwc1 $f0, 0x1dec($at) -/* 07BD6C 800E28BC 46001080 */ add.s $f2, $f2, $f0 -/* 07BD70 800E28C0 27A50020 */ addiu $a1, $sp, 0x20 -.L800E28C4: -/* 07BD74 800E28C4 27A2002C */ addiu $v0, $sp, 0x2c -/* 07BD78 800E28C8 27A60024 */ addiu $a2, $sp, 0x24 -/* 07BD7C 800E28CC 27A70028 */ addiu $a3, $sp, 0x28 -/* 07BD80 800E28D0 E7A20018 */ swc1 $f2, 0x18($sp) -/* 07BD84 800E28D4 AFA20010 */ sw $v0, 0x10($sp) -/* 07BD88 800E28D8 0C0379F9 */ jal func_800DE7E4 -/* 07BD8C 800E28DC E7A20014 */ swc1 $f2, 0x14($sp) -/* 07BD90 800E28E0 0040802D */ daddu $s0, $v0, $zero -/* 07BD94 800E28E4 06000030 */ bltz $s0, .L800E29A8 -/* 07BD98 800E28E8 A6500008 */ sh $s0, 8($s2) -/* 07BD9C 800E28EC 922200B4 */ lbu $v0, 0xb4($s1) -/* 07BDA0 800E28F0 2442FFF8 */ addiu $v0, $v0, -8 -/* 07BDA4 800E28F4 2C420002 */ sltiu $v0, $v0, 2 -/* 07BDA8 800E28F8 1440002C */ bnez $v0, .L800E29AC -/* 07BDAC 800E28FC 0200102D */ daddu $v0, $s0, $zero -/* 07BDB0 800E2900 86420002 */ lh $v0, 2($s2) -/* 07BDB4 800E2904 04410029 */ bgez $v0, .L800E29AC -/* 07BDB8 800E2908 0200102D */ daddu $v0, $s0, $zero -/* 07BDBC 800E290C C6200070 */ lwc1 $f0, 0x70($s1) -/* 07BDC0 800E2910 4600A000 */ add.s $f0, $f20, $f0 -/* 07BDC4 800E2914 C7A2002C */ lwc1 $f2, 0x2c($sp) -/* 07BDC8 800E2918 46000005 */ abs.s $f0, $f0 -/* 07BDCC 800E291C 4600103E */ c.le.s $f2, $f0 -/* 07BDD0 800E2920 00000000 */ nop -/* 07BDD4 800E2924 45000020 */ bc1f .L800E29A8 -/* 07BDD8 800E2928 32024000 */ andi $v0, $s0, 0x4000 -/* 07BDDC 800E292C 10400006 */ beqz $v0, .L800E2948 -/* 07BDE0 800E2930 00000000 */ nop -/* 07BDE4 800E2934 0C0441A9 */ jal func_801106A4 -/* 07BDE8 800E2938 0200202D */ daddu $a0, $s0, $zero -/* 07BDEC 800E293C 2403000D */ addiu $v1, $zero, 0xd -/* 07BDF0 800E2940 1043001A */ beq $v0, $v1, .L800E29AC -/* 07BDF4 800E2944 0200102D */ daddu $v0, $s0, $zero -.L800E2948: -/* 07BDF8 800E2948 862200B0 */ lh $v0, 0xb0($s1) -/* 07BDFC 800E294C 3C0140A0 */ lui $at, 0x40a0 -/* 07BE00 800E2950 44810000 */ mtc1 $at, $f0 -/* 07BE04 800E2954 3C014040 */ lui $at, 0x4040 -/* 07BE08 800E2958 44812000 */ mtc1 $at, $f4 -/* 07BE0C 800E295C 44821000 */ mtc1 $v0, $f2 -/* 07BE10 800E2960 00000000 */ nop -/* 07BE14 800E2964 468010A0 */ cvt.s.w $f2, $f2 -/* 07BE18 800E2968 46001083 */ div.s $f2, $f2, $f0 -/* 07BE1C 800E296C 46041082 */ mul.s $f2, $f2, $f4 -/* 07BE20 800E2970 00000000 */ nop -/* 07BE24 800E2974 C7A00024 */ lwc1 $f0, 0x24($sp) -/* 07BE28 800E2978 46020001 */ sub.s $f0, $f0, $f2 -/* 07BE2C 800E297C 822300B4 */ lb $v1, 0xb4($s1) -/* 07BE30 800E2980 2402000F */ addiu $v0, $zero, 0xf -/* 07BE34 800E2984 10620008 */ beq $v1, $v0, .L800E29A8 -/* 07BE38 800E2988 E620002C */ swc1 $f0, 0x2c($s1) -/* 07BE3C 800E298C 2402000D */ addiu $v0, $zero, 0xd -/* 07BE40 800E2990 10620006 */ beq $v1, $v0, .L800E29AC -/* 07BE44 800E2994 0200102D */ daddu $v0, $s0, $zero -/* 07BE48 800E2998 AE200070 */ sw $zero, 0x70($s1) -/* 07BE4C 800E299C AE200074 */ sw $zero, 0x74($s1) -/* 07BE50 800E29A0 AE200078 */ sw $zero, 0x78($s1) -/* 07BE54 800E29A4 AE20007C */ sw $zero, 0x7c($s1) -.L800E29A8: -/* 07BE58 800E29A8 0200102D */ daddu $v0, $s0, $zero -.L800E29AC: -/* 07BE5C 800E29AC 8FBF003C */ lw $ra, 0x3c($sp) -/* 07BE60 800E29B0 8FB20038 */ lw $s2, 0x38($sp) -/* 07BE64 800E29B4 8FB10034 */ lw $s1, 0x34($sp) -/* 07BE68 800E29B8 8FB00030 */ lw $s0, 0x30($sp) -/* 07BE6C 800E29BC D7B40040 */ ldc1 $f20, 0x40($sp) -/* 07BE70 800E29C0 03E00008 */ jr $ra -/* 07BE74 800E29C4 27BD0048 */ addiu $sp, $sp, 0x48 - -func_800E29C8: -/* 07BE78 800E29C8 27BDFFC8 */ addiu $sp, $sp, -0x38 -/* 07BE7C 800E29CC AFB00018 */ sw $s0, 0x18($sp) -/* 07BE80 800E29D0 3C108011 */ lui $s0, 0x8011 -/* 07BE84 800E29D4 2610EFC8 */ addiu $s0, $s0, -0x1038 -/* 07BE88 800E29D8 AFBF0028 */ sw $ra, 0x28($sp) -/* 07BE8C 800E29DC AFB30024 */ sw $s3, 0x24($sp) -/* 07BE90 800E29E0 AFB20020 */ sw $s2, 0x20($sp) -/* 07BE94 800E29E4 AFB1001C */ sw $s1, 0x1c($sp) -/* 07BE98 800E29E8 F7B40030 */ sdc1 $f20, 0x30($sp) -/* 07BE9C 800E29EC 8E030000 */ lw $v1, ($s0) -/* 07BEA0 800E29F0 04610006 */ bgez $v1, .L800E2A0C -/* 07BEA4 800E29F4 0200982D */ daddu $s3, $s0, $zero -/* 07BEA8 800E29F8 3C027FFF */ lui $v0, 0x7fff -/* 07BEAC 800E29FC 3442FFFF */ ori $v0, $v0, 0xffff -/* 07BEB0 800E2A00 00621024 */ and $v0, $v1, $v0 -/* 07BEB4 800E2A04 AE020000 */ sw $v0, ($s0) -/* 07BEB8 800E2A08 A20000B6 */ sb $zero, 0xb6($s0) -.L800E2A0C: -/* 07BEBC 800E2A0C 820300B6 */ lb $v1, 0xb6($s0) -/* 07BEC0 800E2A10 14600031 */ bnez $v1, .L800E2AD8 -/* 07BEC4 800E2A14 24020002 */ addiu $v0, $zero, 2 -/* 07BEC8 800E2A18 3C018011 */ lui $at, 0x8011 -/* 07BECC 800E2A1C C42CC960 */ lwc1 $f12, -0x36a0($at) -/* 07BED0 800E2A20 3C018011 */ lui $at, 0x8011 -/* 07BED4 800E2A24 C42EC97C */ lwc1 $f14, -0x3684($at) -/* 07BED8 800E2A28 8E060028 */ lw $a2, 0x28($s0) -/* 07BEDC 800E2A2C 8E070030 */ lw $a3, 0x30($s0) -/* 07BEE0 800E2A30 0C00A7B5 */ jal dist2D -/* 07BEE4 800E2A34 26110028 */ addiu $s1, $s0, 0x28 -/* 07BEE8 800E2A38 3C0141B0 */ lui $at, 0x41b0 -/* 07BEEC 800E2A3C 44811000 */ mtc1 $at, $f2 -/* 07BEF0 800E2A40 00000000 */ nop -/* 07BEF4 800E2A44 4602003E */ c.le.s $f0, $f2 -/* 07BEF8 800E2A48 00000000 */ nop -/* 07BEFC 800E2A4C 45000006 */ bc1f .L800E2A68 -/* 07BF00 800E2A50 26120030 */ addiu $s2, $s0, 0x30 -/* 07BF04 800E2A54 0220202D */ daddu $a0, $s1, $zero -/* 07BF08 800E2A58 3C0640A0 */ lui $a2, 0x40a0 -/* 07BF0C 800E2A5C 8E070080 */ lw $a3, 0x80($s0) -/* 07BF10 800E2A60 0C00A7E7 */ jal add_vec2D_polar -/* 07BF14 800E2A64 0240282D */ daddu $a1, $s2, $zero -.L800E2A68: -/* 07BF18 800E2A68 0C038D12 */ jal func_800E3448 -/* 07BF1C 800E2A6C 00000000 */ nop -/* 07BF20 800E2A70 C6020070 */ lwc1 $f2, 0x70($s0) -/* 07BF24 800E2A74 44800000 */ mtc1 $zero, $f0 -/* 07BF28 800E2A78 00000000 */ nop -/* 07BF2C 800E2A7C 4600103E */ c.le.s $f2, $f0 -/* 07BF30 800E2A80 00000000 */ nop -/* 07BF34 800E2A84 45000009 */ bc1f .L800E2AAC -/* 07BF38 800E2A88 00000000 */ nop -/* 07BF3C 800E2A8C 0C0389AC */ jal func_800E26B0 -/* 07BF40 800E2A90 00000000 */ nop -/* 07BF44 800E2A94 0C038C1B */ jal func_800E306C -/* 07BF48 800E2A98 00000000 */ nop -/* 07BF4C 800E2A9C 0C038D12 */ jal func_800E3448 -/* 07BF50 800E2AA0 00000000 */ nop -/* 07BF54 800E2AA4 24020001 */ addiu $v0, $zero, 1 -/* 07BF58 800E2AA8 A20200B6 */ sb $v0, 0xb6($s0) -.L800E2AAC: -/* 07BF5C 800E2AAC C6000070 */ lwc1 $f0, 0x70($s0) -/* 07BF60 800E2AB0 C602006C */ lwc1 $f2, 0x6c($s0) -/* 07BF64 800E2AB4 4600103C */ c.lt.s $f2, $f0 -/* 07BF68 800E2AB8 00000000 */ nop -/* 07BF6C 800E2ABC 45030001 */ bc1tl .L800E2AC4 -/* 07BF70 800E2AC0 E6020070 */ swc1 $f2, 0x70($s0) -.L800E2AC4: -/* 07BF74 800E2AC4 C600002C */ lwc1 $f0, 0x2c($s0) -/* 07BF78 800E2AC8 C6020070 */ lwc1 $f2, 0x70($s0) -/* 07BF7C 800E2ACC 46020000 */ add.s $f0, $f0, $f2 -/* 07BF80 800E2AD0 08038AE4 */ j .L800E2B90 -/* 07BF84 800E2AD4 E600002C */ swc1 $f0, 0x2c($s0) - -.L800E2AD8: -/* 07BF88 800E2AD8 1462002D */ bne $v1, $v0, .L800E2B90 -/* 07BF8C 800E2ADC 00000000 */ nop -/* 07BF90 800E2AE0 3C018011 */ lui $at, 0x8011 -/* 07BF94 800E2AE4 C42CC960 */ lwc1 $f12, -0x36a0($at) -/* 07BF98 800E2AE8 3C018011 */ lui $at, 0x8011 -/* 07BF9C 800E2AEC C42EC97C */ lwc1 $f14, -0x3684($at) -/* 07BFA0 800E2AF0 8E060028 */ lw $a2, 0x28($s0) -/* 07BFA4 800E2AF4 8E070030 */ lw $a3, 0x30($s0) -/* 07BFA8 800E2AF8 0C00A7B5 */ jal dist2D -/* 07BFAC 800E2AFC 26110028 */ addiu $s1, $s0, 0x28 -/* 07BFB0 800E2B00 3C0141B0 */ lui $at, 0x41b0 -/* 07BFB4 800E2B04 44811000 */ mtc1 $at, $f2 -/* 07BFB8 800E2B08 00000000 */ nop -/* 07BFBC 800E2B0C 4602003E */ c.le.s $f0, $f2 -/* 07BFC0 800E2B10 00000000 */ nop -/* 07BFC4 800E2B14 45000006 */ bc1f .L800E2B30 -/* 07BFC8 800E2B18 26120030 */ addiu $s2, $s0, 0x30 -/* 07BFCC 800E2B1C 0220202D */ daddu $a0, $s1, $zero -/* 07BFD0 800E2B20 3C0640A0 */ lui $a2, 0x40a0 -/* 07BFD4 800E2B24 8E070080 */ lw $a3, 0x80($s0) -/* 07BFD8 800E2B28 0C00A7E7 */ jal add_vec2D_polar -/* 07BFDC 800E2B2C 0240282D */ daddu $a1, $s2, $zero -.L800E2B30: -/* 07BFE0 800E2B30 0C038D36 */ jal func_800E34D8 -/* 07BFE4 800E2B34 00000000 */ nop -/* 07BFE8 800E2B38 46000306 */ mov.s $f12, $f0 -/* 07BFEC 800E2B3C 0C038D45 */ jal func_800E3514 -/* 07BFF0 800E2B40 27A50010 */ addiu $a1, $sp, 0x10 -/* 07BFF4 800E2B44 8FA40010 */ lw $a0, 0x10($sp) -/* 07BFF8 800E2B48 0C038C57 */ jal func_800E315C -/* 07BFFC 800E2B4C 46000506 */ mov.s $f20, $f0 -/* 07C000 800E2B50 8FA20010 */ lw $v0, 0x10($sp) -/* 07C004 800E2B54 0440000E */ bltz $v0, .L800E2B90 -/* 07C008 800E2B58 E674002C */ swc1 $f20, 0x2c($s3) -/* 07C00C 800E2B5C 3C040006 */ lui $a0, 6 -/* 07C010 800E2B60 8E620004 */ lw $v0, 4($s3) -/* 07C014 800E2B64 30420001 */ andi $v0, $v0, 1 -/* 07C018 800E2B68 14400003 */ bnez $v0, .L800E2B78 -/* 07C01C 800E2B6C 3484000B */ ori $a0, $a0, 0xb -/* 07C020 800E2B70 3C040001 */ lui $a0, 1 -/* 07C024 800E2B74 34840009 */ ori $a0, $a0, 9 -.L800E2B78: -/* 07C028 800E2B78 0C037FBF */ jal func_800DFEFC -/* 07C02C 800E2B7C 00000000 */ nop -/* 07C030 800E2B80 0C038069 */ jal func_800E01A4 -/* 07C034 800E2B84 00000000 */ nop -/* 07C038 800E2B88 0C038C9E */ jal func_800E3278 -/* 07C03C 800E2B8C 00000000 */ nop -.L800E2B90: -/* 07C040 800E2B90 8FBF0028 */ lw $ra, 0x28($sp) -/* 07C044 800E2B94 8FB30024 */ lw $s3, 0x24($sp) -/* 07C048 800E2B98 8FB20020 */ lw $s2, 0x20($sp) -/* 07C04C 800E2B9C 8FB1001C */ lw $s1, 0x1c($sp) -/* 07C050 800E2BA0 8FB00018 */ lw $s0, 0x18($sp) -/* 07C054 800E2BA4 D7B40030 */ ldc1 $f20, 0x30($sp) -/* 07C058 800E2BA8 03E00008 */ jr $ra -/* 07C05C 800E2BAC 27BD0038 */ addiu $sp, $sp, 0x38 - -func_800E2BB0: -/* 07C060 800E2BB0 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 07C064 800E2BB4 AFB00010 */ sw $s0, 0x10($sp) -/* 07C068 800E2BB8 3C108011 */ lui $s0, 0x8011 -/* 07C06C 800E2BBC 2610EFC8 */ addiu $s0, $s0, -0x1038 -/* 07C070 800E2BC0 AFBF0014 */ sw $ra, 0x14($sp) -/* 07C074 800E2BC4 C602007C */ lwc1 $f2, 0x7c($s0) -/* 07C078 800E2BC8 C6000078 */ lwc1 $f0, 0x78($s0) -/* 07C07C 800E2BCC 46001000 */ add.s $f0, $f2, $f0 -/* 07C080 800E2BD0 C604002C */ lwc1 $f4, 0x2c($s0) -/* 07C084 800E2BD4 4600203C */ c.lt.s $f4, $f0 -/* 07C088 800E2BD8 00000000 */ nop -/* 07C08C 800E2BDC 45000026 */ bc1f .L800E2C78 -/* 07C090 800E2BE0 0000102D */ daddu $v0, $zero, $zero -/* 07C094 800E2BE4 46041081 */ sub.s $f2, $f2, $f4 -/* 07C098 800E2BE8 3C014442 */ lui $at, 0x4442 -/* 07C09C 800E2BEC 34214000 */ ori $at, $at, 0x4000 -/* 07C0A0 800E2BF0 44810000 */ mtc1 $at, $f0 -/* 07C0A4 800E2BF4 00000000 */ nop -/* 07C0A8 800E2BF8 46001183 */ div.s $f6, $f2, $f0 -/* 07C0AC 800E2BFC 3C018011 */ lui $at, 0x8011 -/* 07C0B0 800E2C00 D422BD80 */ ldc1 $f2, -0x4280($at) -/* 07C0B4 800E2C04 46003021 */ cvt.d.s $f0, $f6 -/* 07C0B8 800E2C08 4622003C */ c.lt.d $f0, $f2 -/* 07C0BC 800E2C0C 00000000 */ nop -/* 07C0C0 800E2C10 45000004 */ bc1f .L800E2C24 -/* 07C0C4 800E2C14 00000000 */ nop -/* 07C0C8 800E2C18 3C01BEF0 */ lui $at, 0xbef0 -/* 07C0CC 800E2C1C 3421A3D7 */ ori $at, $at, 0xa3d7 -/* 07C0D0 800E2C20 44813000 */ mtc1 $at, $f6 -.L800E2C24: -/* 07C0D4 800E2C24 3C018011 */ lui $at, 0x8011 -/* 07C0D8 800E2C28 D422BD88 */ ldc1 $f2, -0x4278($at) -/* 07C0DC 800E2C2C 46003021 */ cvt.d.s $f0, $f6 -/* 07C0E0 800E2C30 4620103C */ c.lt.d $f2, $f0 -/* 07C0E4 800E2C34 00000000 */ nop -/* 07C0E8 800E2C38 45000004 */ bc1f .L800E2C4C -/* 07C0EC 800E2C3C 00000000 */ nop -/* 07C0F0 800E2C40 3C013A83 */ lui $at, 0x3a83 -/* 07C0F4 800E2C44 3421126F */ ori $at, $at, 0x126f -/* 07C0F8 800E2C48 44813000 */ mtc1 $at, $f6 -.L800E2C4C: -/* 07C0FC 800E2C4C C6000070 */ lwc1 $f0, 0x70($s0) -/* 07C100 800E2C50 46060000 */ add.s $f0, $f0, $f6 -/* 07C104 800E2C54 44801000 */ mtc1 $zero, $f2 -/* 07C108 800E2C58 46002100 */ add.s $f4, $f4, $f0 -/* 07C10C 800E2C5C E6000070 */ swc1 $f0, 0x70($s0) -/* 07C110 800E2C60 4602003E */ c.le.s $f0, $f2 -/* 07C114 800E2C64 00000000 */ nop -/* 07C118 800E2C68 45000011 */ bc1f .L800E2CB0 -/* 07C11C 800E2C6C E604002C */ swc1 $f4, 0x2c($s0) -/* 07C120 800E2C70 08038B2C */ j .L800E2CB0 -/* 07C124 800E2C74 24020001 */ addiu $v0, $zero, 1 - -.L800E2C78: -/* 07C128 800E2C78 C6000070 */ lwc1 $f0, 0x70($s0) -/* 07C12C 800E2C7C 3C018011 */ lui $at, 0x8011 -/* 07C130 800E2C80 D422BD90 */ ldc1 $f2, -0x4270($at) -/* 07C134 800E2C84 46000021 */ cvt.d.s $f0, $f0 -/* 07C138 800E2C88 46220000 */ add.d $f0, $f0, $f2 -/* 07C13C 800E2C8C 44801000 */ mtc1 $zero, $f2 -/* 07C140 800E2C90 46200020 */ cvt.s.d $f0, $f0 -/* 07C144 800E2C94 4602003E */ c.le.s $f0, $f2 -/* 07C148 800E2C98 00000000 */ nop -/* 07C14C 800E2C9C 45000002 */ bc1f .L800E2CA8 -/* 07C150 800E2CA0 E6000070 */ swc1 $f0, 0x70($s0) -/* 07C154 800E2CA4 24020001 */ addiu $v0, $zero, 1 -.L800E2CA8: -/* 07C158 800E2CA8 46002000 */ add.s $f0, $f4, $f0 -/* 07C15C 800E2CAC E600002C */ swc1 $f0, 0x2c($s0) -.L800E2CB0: -/* 07C160 800E2CB0 10400015 */ beqz $v0, .L800E2D08 -/* 07C164 800E2CB4 00000000 */ nop -/* 07C168 800E2CB8 0C0389AC */ jal func_800E26B0 -/* 07C16C 800E2CBC 00000000 */ nop -/* 07C170 800E2CC0 3C013DEA */ lui $at, 0x3dea -/* 07C174 800E2CC4 3421161E */ ori $at, $at, 0x161e -/* 07C178 800E2CC8 44810000 */ mtc1 $at, $f0 -/* 07C17C 800E2CCC 3C01BE92 */ lui $at, 0xbe92 -/* 07C180 800E2CD0 3421FEC5 */ ori $at, $at, 0xfec5 -/* 07C184 800E2CD4 44811000 */ mtc1 $at, $f2 -/* 07C188 800E2CD8 3C01BE3A */ lui $at, 0xbe3a -/* 07C18C 800E2CDC 3421ACDA */ ori $at, $at, 0xacda -/* 07C190 800E2CE0 44812000 */ mtc1 $at, $f4 -/* 07C194 800E2CE4 3C013C3C */ lui $at, 0x3c3c -/* 07C198 800E2CE8 3421BE62 */ ori $at, $at, 0xbe62 -/* 07C19C 800E2CEC 44813000 */ mtc1 $at, $f6 -/* 07C1A0 800E2CF0 24040008 */ addiu $a0, $zero, 8 -/* 07C1A4 800E2CF4 E6000070 */ swc1 $f0, 0x70($s0) -/* 07C1A8 800E2CF8 E6020074 */ swc1 $f2, 0x74($s0) -/* 07C1AC 800E2CFC E6040078 */ swc1 $f4, 0x78($s0) -/* 07C1B0 800E2D00 0C039769 */ jal set_action_state -/* 07C1B4 800E2D04 E606007C */ swc1 $f6, 0x7c($s0) -.L800E2D08: -/* 07C1B8 800E2D08 8FBF0014 */ lw $ra, 0x14($sp) -/* 07C1BC 800E2D0C 8FB00010 */ lw $s0, 0x10($sp) -/* 07C1C0 800E2D10 03E00008 */ jr $ra -/* 07C1C4 800E2D14 27BD0018 */ addiu $sp, $sp, 0x18 - -func_800E2D18: -/* 07C1C8 800E2D18 27BDFFE0 */ addiu $sp, $sp, -0x20 -/* 07C1CC 800E2D1C AFB00010 */ sw $s0, 0x10($sp) -/* 07C1D0 800E2D20 3C108011 */ lui $s0, 0x8011 -/* 07C1D4 800E2D24 2610EFC8 */ addiu $s0, $s0, -0x1038 -/* 07C1D8 800E2D28 AFBF0014 */ sw $ra, 0x14($sp) -/* 07C1DC 800E2D2C F7B40018 */ sdc1 $f20, 0x18($sp) -/* 07C1E0 800E2D30 860200C0 */ lh $v0, 0xc0($s0) -/* 07C1E4 800E2D34 1040006A */ beqz $v0, .L800E2EE0 -/* 07C1E8 800E2D38 00000000 */ nop -/* 07C1EC 800E2D3C 920200B4 */ lbu $v0, 0xb4($s0) -/* 07C1F0 800E2D40 2442FFFC */ addiu $v0, $v0, -4 -/* 07C1F4 800E2D44 00021600 */ sll $v0, $v0, 0x18 -/* 07C1F8 800E2D48 00021E03 */ sra $v1, $v0, 0x18 -/* 07C1FC 800E2D4C 2C620014 */ sltiu $v0, $v1, 0x14 -/* 07C200 800E2D50 10400045 */ beqz $v0, .L800E2E68 -/* 07C204 800E2D54 00031080 */ sll $v0, $v1, 2 -/* 07C208 800E2D58 3C018011 */ lui $at, 0x8011 -/* 07C20C 800E2D5C 00220821 */ addu $at, $at, $v0 -/* 07C210 800E2D60 8C22BD98 */ lw $v0, -0x4268($at) -/* 07C214 800E2D64 00400008 */ jr $v0 -/* 07C218 800E2D68 00000000 */ nop -/* 07C21C 800E2D6C 0C038AEC */ jal func_800E2BB0 -/* 07C220 800E2D70 00000000 */ nop -/* 07C224 800E2D74 08038BD3 */ j .L800E2F4C -/* 07C228 800E2D78 00000000 */ nop - -/* 07C22C 800E2D7C 0C038A72 */ jal func_800E29C8 -/* 07C230 800E2D80 00000000 */ nop -/* 07C234 800E2D84 08038BD3 */ j .L800E2F4C -/* 07C238 800E2D88 00000000 */ nop - -/* 07C23C 800E2D8C 0C038D12 */ jal func_800E3448 -/* 07C240 800E2D90 00000000 */ nop -/* 07C244 800E2D94 C600002C */ lwc1 $f0, 0x2c($s0) -/* 07C248 800E2D98 C6020070 */ lwc1 $f2, 0x70($s0) -/* 07C24C 800E2D9C 46020000 */ add.s $f0, $f0, $f2 -/* 07C250 800E2DA0 4480A000 */ mtc1 $zero, $f20 -/* 07C254 800E2DA4 00000000 */ nop -/* 07C258 800E2DA8 4614103E */ c.le.s $f2, $f20 -/* 07C25C 800E2DAC 00000000 */ nop -/* 07C260 800E2DB0 45000066 */ bc1f .L800E2F4C -/* 07C264 800E2DB4 E600002C */ swc1 $f0, 0x2c($s0) -/* 07C268 800E2DB8 0C0389AC */ jal func_800E26B0 -/* 07C26C 800E2DBC 00000000 */ nop -/* 07C270 800E2DC0 0C011052 */ jal func_80044148 -/* 07C274 800E2DC4 00000000 */ nop -/* 07C278 800E2DC8 1040001F */ beqz $v0, .L800E2E48 -/* 07C27C 800E2DCC 00000000 */ nop -/* 07C280 800E2DD0 3C013E1E */ lui $at, 0x3e1e -/* 07C284 800E2DD4 34210C17 */ ori $at, $at, 0xc17 -/* 07C288 800E2DD8 44810000 */ mtc1 $at, $f0 -/* 07C28C 800E2DDC 3C01BEB3 */ lui $at, 0xbeb3 -/* 07C290 800E2DE0 34213DB0 */ ori $at, $at, 0x3db0 -/* 07C294 800E2DE4 44811000 */ mtc1 $at, $f2 -/* 07C298 800E2DE8 E6140078 */ swc1 $f20, 0x78($s0) -/* 07C29C 800E2DEC E614007C */ swc1 $f20, 0x7c($s0) -/* 07C2A0 800E2DF0 E6000070 */ swc1 $f0, 0x70($s0) -/* 07C2A4 800E2DF4 08038B94 */ j .L800E2E50 -/* 07C2A8 800E2DF8 E6020074 */ swc1 $f2, 0x74($s0) - -/* 07C2AC 800E2DFC C6000070 */ lwc1 $f0, 0x70($s0) -/* 07C2B0 800E2E00 3C014012 */ lui $at, 0x4012 -/* 07C2B4 800E2E04 44811800 */ mtc1 $at, $f3 -/* 07C2B8 800E2E08 44801000 */ mtc1 $zero, $f2 -/* 07C2BC 800E2E0C 46000021 */ cvt.d.s $f0, $f0 -/* 07C2C0 800E2E10 46220001 */ sub.d $f0, $f0, $f2 -/* 07C2C4 800E2E14 C602002C */ lwc1 $f2, 0x2c($s0) -/* 07C2C8 800E2E18 46200020 */ cvt.s.d $f0, $f0 -/* 07C2CC 800E2E1C E6000070 */ swc1 $f0, 0x70($s0) -/* 07C2D0 800E2E20 46000106 */ mov.s $f4, $f0 -/* 07C2D4 800E2E24 46001080 */ add.s $f2, $f2, $f0 -/* 07C2D8 800E2E28 44800000 */ mtc1 $zero, $f0 -/* 07C2DC 800E2E2C 00000000 */ nop -/* 07C2E0 800E2E30 4600203E */ c.le.s $f4, $f0 -/* 07C2E4 800E2E34 00000000 */ nop -/* 07C2E8 800E2E38 45000044 */ bc1f .L800E2F4C -/* 07C2EC 800E2E3C E602002C */ swc1 $f2, 0x2c($s0) -/* 07C2F0 800E2E40 0C0389AC */ jal func_800E26B0 -/* 07C2F4 800E2E44 00000000 */ nop -.L800E2E48: -/* 07C2F8 800E2E48 0C038C1B */ jal func_800E306C -/* 07C2FC 800E2E4C 00000000 */ nop -.L800E2E50: -/* 07C300 800E2E50 0C038D12 */ jal func_800E3448 -/* 07C304 800E2E54 00000000 */ nop -/* 07C308 800E2E58 0C039769 */ jal set_action_state -/* 07C30C 800E2E5C 24040008 */ addiu $a0, $zero, 8 -/* 07C310 800E2E60 08038BD3 */ j .L800E2F4C -/* 07C314 800E2E64 00000000 */ nop - -.L800E2E68: -/* 07C318 800E2E68 8E0200DC */ lw $v0, 0xdc($s0) -/* 07C31C 800E2E6C 30428000 */ andi $v0, $v0, 0x8000 -/* 07C320 800E2E70 1440001B */ bnez $v0, .L800E2EE0 -/* 07C324 800E2E74 00000000 */ nop -/* 07C328 800E2E78 0C0389AC */ jal func_800E26B0 -/* 07C32C 800E2E7C 00000000 */ nop -/* 07C330 800E2E80 0C039769 */ jal set_action_state -/* 07C334 800E2E84 24040005 */ addiu $a0, $zero, 5 -/* 07C338 800E2E88 0C038D12 */ jal func_800E3448 -/* 07C33C 800E2E8C 00000000 */ nop -/* 07C340 800E2E90 8E020000 */ lw $v0, ($s0) -/* 07C344 800E2E94 3C030004 */ lui $v1, 4 -/* 07C348 800E2E98 00431024 */ and $v0, $v0, $v1 -/* 07C34C 800E2E9C 10400010 */ beqz $v0, .L800E2EE0 -/* 07C350 800E2EA0 00000000 */ nop -/* 07C354 800E2EA4 C6060074 */ lwc1 $f6, 0x74($s0) -/* 07C358 800E2EA8 3C013F00 */ lui $at, 0x3f00 -/* 07C35C 800E2EAC 44811000 */ mtc1 $at, $f2 -/* 07C360 800E2EB0 00000000 */ nop -/* 07C364 800E2EB4 46023182 */ mul.s $f6, $f6, $f2 -/* 07C368 800E2EB8 00000000 */ nop -/* 07C36C 800E2EBC C6040078 */ lwc1 $f4, 0x78($s0) -/* 07C370 800E2EC0 46022102 */ mul.s $f4, $f4, $f2 -/* 07C374 800E2EC4 00000000 */ nop -/* 07C378 800E2EC8 C600007C */ lwc1 $f0, 0x7c($s0) -/* 07C37C 800E2ECC 46020002 */ mul.s $f0, $f0, $f2 -/* 07C380 800E2ED0 00000000 */ nop -/* 07C384 800E2ED4 E6060074 */ swc1 $f6, 0x74($s0) -/* 07C388 800E2ED8 E6040078 */ swc1 $f4, 0x78($s0) -/* 07C38C 800E2EDC E600007C */ swc1 $f0, 0x7c($s0) -.L800E2EE0: -/* 07C390 800E2EE0 0C038D12 */ jal func_800E3448 -/* 07C394 800E2EE4 00000000 */ nop -/* 07C398 800E2EE8 C6020070 */ lwc1 $f2, 0x70($s0) -/* 07C39C 800E2EEC 44800000 */ mtc1 $zero, $f0 -/* 07C3A0 800E2EF0 00000000 */ nop -/* 07C3A4 800E2EF4 4600103E */ c.le.s $f2, $f0 -/* 07C3A8 800E2EF8 00000000 */ nop -/* 07C3AC 800E2EFC 45000009 */ bc1f .L800E2F24 -/* 07C3B0 800E2F00 00000000 */ nop -/* 07C3B4 800E2F04 0C0389AC */ jal func_800E26B0 -/* 07C3B8 800E2F08 00000000 */ nop -/* 07C3BC 800E2F0C 0C038C1B */ jal func_800E306C -/* 07C3C0 800E2F10 00000000 */ nop -/* 07C3C4 800E2F14 0C038D12 */ jal func_800E3448 -/* 07C3C8 800E2F18 00000000 */ nop -/* 07C3CC 800E2F1C 0C039769 */ jal set_action_state -/* 07C3D0 800E2F20 24040008 */ addiu $a0, $zero, 8 -.L800E2F24: -/* 07C3D4 800E2F24 C6000070 */ lwc1 $f0, 0x70($s0) -/* 07C3D8 800E2F28 C602006C */ lwc1 $f2, 0x6c($s0) -/* 07C3DC 800E2F2C 4600103C */ c.lt.s $f2, $f0 -/* 07C3E0 800E2F30 00000000 */ nop -/* 07C3E4 800E2F34 45030001 */ bc1tl .L800E2F3C -/* 07C3E8 800E2F38 E6020070 */ swc1 $f2, 0x70($s0) -.L800E2F3C: -/* 07C3EC 800E2F3C C600002C */ lwc1 $f0, 0x2c($s0) -/* 07C3F0 800E2F40 C6020070 */ lwc1 $f2, 0x70($s0) -/* 07C3F4 800E2F44 46020000 */ add.s $f0, $f0, $f2 -/* 07C3F8 800E2F48 E600002C */ swc1 $f0, 0x2c($s0) -.L800E2F4C: -/* 07C3FC 800E2F4C 8FBF0014 */ lw $ra, 0x14($sp) -/* 07C400 800E2F50 8FB00010 */ lw $s0, 0x10($sp) -/* 07C404 800E2F54 D7B40018 */ ldc1 $f20, 0x18($sp) -/* 07C408 800E2F58 03E00008 */ jr $ra -/* 07C40C 800E2F5C 27BD0020 */ addiu $sp, $sp, 0x20 - -/* 07C410 800E2F60 3C058011 */ lui $a1, 0x8011 -/* 07C414 800E2F64 24A5EFC8 */ addiu $a1, $a1, -0x1038 -/* 07C418 800E2F68 90A200B4 */ lbu $v0, 0xb4($a1) -/* 07C41C 800E2F6C 2442FFFD */ addiu $v0, $v0, -3 -/* 07C420 800E2F70 00021600 */ sll $v0, $v0, 0x18 -/* 07C424 800E2F74 00021E03 */ sra $v1, $v0, 0x18 -/* 07C428 800E2F78 2C620015 */ sltiu $v0, $v1, 0x15 -/* 07C42C 800E2F7C 10400039 */ beqz $v0, .L800E3064 -/* 07C430 800E2F80 00031080 */ sll $v0, $v1, 2 -/* 07C434 800E2F84 3C018011 */ lui $at, 0x8011 -/* 07C438 800E2F88 00220821 */ addu $at, $at, $v0 -/* 07C43C 800E2F8C 8C22BDE8 */ lw $v0, -0x4218($at) -/* 07C440 800E2F90 00400008 */ jr $v0 -/* 07C444 800E2F94 00000000 */ nop -/* 07C448 800E2F98 3C014120 */ lui $at, 0x4120 -/* 07C44C 800E2F9C 44810000 */ mtc1 $at, $f0 -/* 07C450 800E2FA0 3C01C0A0 */ lui $at, 0xc0a0 -/* 07C454 800E2FA4 44811000 */ mtc1 $at, $f2 -/* 07C458 800E2FA8 3C013FC0 */ lui $at, 0x3fc0 -/* 07C45C 800E2FAC 44812000 */ mtc1 $at, $f4 -/* 07C460 800E2FB0 3C01BE99 */ lui $at, 0xbe99 -/* 07C464 800E2FB4 3421999A */ ori $at, $at, 0x999a -/* 07C468 800E2FB8 44813000 */ mtc1 $at, $f6 -/* 07C46C 800E2FBC E4A00070 */ swc1 $f0, 0x70($a1) -/* 07C470 800E2FC0 E4A20074 */ swc1 $f2, 0x74($a1) -/* 07C474 800E2FC4 E4A40078 */ swc1 $f4, 0x78($a1) -/* 07C478 800E2FC8 03E00008 */ jr $ra -/* 07C47C 800E2FCC E4A6007C */ swc1 $f6, 0x7c($a1) - -/* 07C480 800E2FD0 3C04800F */ lui $a0, 0x800f -/* 07C484 800E2FD4 24847B50 */ addiu $a0, $a0, 0x7b50 -/* 07C488 800E2FD8 8CA20000 */ lw $v0, ($a1) -/* 07C48C 800E2FDC 3C030004 */ lui $v1, 4 -/* 07C490 800E2FE0 00431024 */ and $v0, $v0, $v1 -/* 07C494 800E2FE4 1440000C */ bnez $v0, .L800E3018 -/* 07C498 800E2FE8 0080302D */ daddu $a2, $a0, $zero -/* 07C49C 800E2FEC C4800000 */ lwc1 $f0, ($a0) -/* 07C4A0 800E2FF0 24840004 */ addiu $a0, $a0, 4 -/* 07C4A4 800E2FF4 E4A00070 */ swc1 $f0, 0x70($a1) -/* 07C4A8 800E2FF8 C4800000 */ lwc1 $f0, ($a0) -/* 07C4AC 800E2FFC 24840004 */ addiu $a0, $a0, 4 -/* 07C4B0 800E3000 E4A00074 */ swc1 $f0, 0x74($a1) -/* 07C4B4 800E3004 C4800000 */ lwc1 $f0, ($a0) -/* 07C4B8 800E3008 E4A00078 */ swc1 $f0, 0x78($a1) -/* 07C4BC 800E300C C4800004 */ lwc1 $f0, 4($a0) -/* 07C4C0 800E3010 03E00008 */ jr $ra -/* 07C4C4 800E3014 E4A0007C */ swc1 $f0, 0x7c($a1) - -.L800E3018: -/* 07C4C8 800E3018 C4880000 */ lwc1 $f8, ($a0) -/* 07C4CC 800E301C 3C013F00 */ lui $at, 0x3f00 -/* 07C4D0 800E3020 44811000 */ mtc1 $at, $f2 -/* 07C4D4 800E3024 00000000 */ nop -/* 07C4D8 800E3028 46024202 */ mul.s $f8, $f8, $f2 -/* 07C4DC 800E302C 00000000 */ nop -/* 07C4E0 800E3030 C4C60004 */ lwc1 $f6, 4($a2) -/* 07C4E4 800E3034 46023182 */ mul.s $f6, $f6, $f2 -/* 07C4E8 800E3038 00000000 */ nop -/* 07C4EC 800E303C C4C40008 */ lwc1 $f4, 8($a2) -/* 07C4F0 800E3040 46022102 */ mul.s $f4, $f4, $f2 -/* 07C4F4 800E3044 00000000 */ nop -/* 07C4F8 800E3048 C4C0000C */ lwc1 $f0, 0xc($a2) -/* 07C4FC 800E304C 46020002 */ mul.s $f0, $f0, $f2 -/* 07C500 800E3050 00000000 */ nop -/* 07C504 800E3054 E4A80070 */ swc1 $f8, 0x70($a1) -/* 07C508 800E3058 E4A60074 */ swc1 $f6, 0x74($a1) -/* 07C50C 800E305C E4A40078 */ swc1 $f4, 0x78($a1) -/* 07C510 800E3060 E4A0007C */ swc1 $f0, 0x7c($a1) -.L800E3064: -/* 07C514 800E3064 03E00008 */ jr $ra -/* 07C518 800E3068 00000000 */ nop - -func_800E306C: -/* 07C51C 800E306C 3C04800F */ lui $a0, 0x800f -/* 07C520 800E3070 24847B60 */ addiu $a0, $a0, 0x7b60 -/* 07C524 800E3074 3C068011 */ lui $a2, 0x8011 -/* 07C528 800E3078 24C6EFC8 */ addiu $a2, $a2, -0x1038 -/* 07C52C 800E307C 8CC20000 */ lw $v0, ($a2) -/* 07C530 800E3080 3C030004 */ lui $v1, 4 -/* 07C534 800E3084 00431024 */ and $v0, $v0, $v1 -/* 07C538 800E3088 10400012 */ beqz $v0, .L800E30D4 -/* 07C53C 800E308C 00C0282D */ daddu $a1, $a2, $zero -/* 07C540 800E3090 C4800000 */ lwc1 $f0, ($a0) -/* 07C544 800E3094 3C014140 */ lui $at, 0x4140 -/* 07C548 800E3098 44811000 */ mtc1 $at, $f2 -/* 07C54C 800E309C 24840004 */ addiu $a0, $a0, 4 -/* 07C550 800E30A0 46020003 */ div.s $f0, $f0, $f2 -/* 07C554 800E30A4 E4C00070 */ swc1 $f0, 0x70($a2) -/* 07C558 800E30A8 C4800000 */ lwc1 $f0, ($a0) -/* 07C55C 800E30AC 24840004 */ addiu $a0, $a0, 4 -/* 07C560 800E30B0 46020003 */ div.s $f0, $f0, $f2 -/* 07C564 800E30B4 E4C00074 */ swc1 $f0, 0x74($a2) -/* 07C568 800E30B8 C4800000 */ lwc1 $f0, ($a0) -/* 07C56C 800E30BC 46020003 */ div.s $f0, $f0, $f2 -/* 07C570 800E30C0 E4C00078 */ swc1 $f0, 0x78($a2) -/* 07C574 800E30C4 C4800004 */ lwc1 $f0, 4($a0) -/* 07C578 800E30C8 46020003 */ div.s $f0, $f0, $f2 -/* 07C57C 800E30CC 03E00008 */ jr $ra -/* 07C580 800E30D0 E4C0007C */ swc1 $f0, 0x7c($a2) - -.L800E30D4: -/* 07C584 800E30D4 C4800000 */ lwc1 $f0, ($a0) -/* 07C588 800E30D8 24840004 */ addiu $a0, $a0, 4 -/* 07C58C 800E30DC E4A00070 */ swc1 $f0, 0x70($a1) -/* 07C590 800E30E0 C4800000 */ lwc1 $f0, ($a0) -/* 07C594 800E30E4 24840004 */ addiu $a0, $a0, 4 -/* 07C598 800E30E8 E4A00074 */ swc1 $f0, 0x74($a1) -/* 07C59C 800E30EC C4800000 */ lwc1 $f0, ($a0) -/* 07C5A0 800E30F0 E4A00078 */ swc1 $f0, 0x78($a1) -/* 07C5A4 800E30F4 C4800004 */ lwc1 $f0, 4($a0) -/* 07C5A8 800E30F8 03E00008 */ jr $ra -/* 07C5AC 800E30FC E4A0007C */ swc1 $f0, 0x7c($a1) - -func_800E3100: -/* 07C5B0 800E3100 27BDFFE0 */ addiu $sp, $sp, -0x20 -/* 07C5B4 800E3104 AFB00018 */ sw $s0, 0x18($sp) -/* 07C5B8 800E3108 3C108011 */ lui $s0, 0x8011 -/* 07C5BC 800E310C 2610EFC8 */ addiu $s0, $s0, -0x1038 -/* 07C5C0 800E3110 AFBF001C */ sw $ra, 0x1c($sp) -/* 07C5C4 800E3114 820300B4 */ lb $v1, 0xb4($s0) -/* 07C5C8 800E3118 24020007 */ addiu $v0, $zero, 7 -/* 07C5CC 800E311C 1062000B */ beq $v1, $v0, .L800E314C -/* 07C5D0 800E3120 24020004 */ addiu $v0, $zero, 4 -/* 07C5D4 800E3124 10620009 */ beq $v1, $v0, .L800E314C -/* 07C5D8 800E3128 00000000 */ nop -/* 07C5DC 800E312C 0C038D36 */ jal func_800E34D8 -/* 07C5E0 800E3130 00000000 */ nop -/* 07C5E4 800E3134 46000306 */ mov.s $f12, $f0 -/* 07C5E8 800E3138 0C038D45 */ jal func_800E3514 -/* 07C5EC 800E313C 27A50010 */ addiu $a1, $sp, 0x10 -/* 07C5F0 800E3140 8FA40010 */ lw $a0, 0x10($sp) -/* 07C5F4 800E3144 0C038C57 */ jal func_800E315C -/* 07C5F8 800E3148 E600002C */ swc1 $f0, 0x2c($s0) -.L800E314C: -/* 07C5FC 800E314C 8FBF001C */ lw $ra, 0x1c($sp) -/* 07C600 800E3150 8FB00018 */ lw $s0, 0x18($sp) -/* 07C604 800E3154 03E00008 */ jr $ra -/* 07C608 800E3158 27BD0020 */ addiu $sp, $sp, 0x20 - -func_800E315C: -/* 07C60C 800E315C 27BDFFE0 */ addiu $sp, $sp, -0x20 -/* 07C610 800E3160 AFB00010 */ sw $s0, 0x10($sp) -/* 07C614 800E3164 3C108011 */ lui $s0, 0x8011 -/* 07C618 800E3168 2610EFC8 */ addiu $s0, $s0, -0x1038 -/* 07C61C 800E316C AFB10014 */ sw $s1, 0x14($sp) -/* 07C620 800E3170 3C118011 */ lui $s1, 0x8011 -/* 07C624 800E3174 2631EBB0 */ addiu $s1, $s1, -0x1450 -/* 07C628 800E3178 0480003A */ bltz $a0, .L800E3264 -/* 07C62C 800E317C AFBF0018 */ sw $ra, 0x18($sp) -/* 07C630 800E3180 0C016F6A */ jal get_collider_type_by_id -/* 07C634 800E3184 00000000 */ nop -/* 07C638 800E3188 304200FF */ andi $v0, $v0, 0xff -/* 07C63C 800E318C 2443FFFF */ addiu $v1, $v0, -1 -/* 07C640 800E3190 2C620005 */ sltiu $v0, $v1, 5 -/* 07C644 800E3194 10400031 */ beqz $v0, .L800E325C -/* 07C648 800E3198 00031080 */ sll $v0, $v1, 2 -/* 07C64C 800E319C 3C018011 */ lui $at, 0x8011 -/* 07C650 800E31A0 00220821 */ addu $at, $at, $v0 -/* 07C654 800E31A4 8C22BE40 */ lw $v0, -0x41c0($at) -/* 07C658 800E31A8 00400008 */ jr $v0 -/* 07C65C 800E31AC 00000000 */ nop -/* 07C660 800E31B0 0C039769 */ jal set_action_state -/* 07C664 800E31B4 2404000A */ addiu $a0, $zero, 0xa -/* 07C668 800E31B8 08038C99 */ j .L800E3264 -/* 07C66C 800E31BC 00000000 */ nop - -/* 07C670 800E31C0 3C04FF00 */ lui $a0, 0xff00 -/* 07C674 800E31C4 348400FF */ ori $a0, $a0, 0xff -/* 07C678 800E31C8 3C030100 */ lui $v1, 0x100 -/* 07C67C 800E31CC 8E220000 */ lw $v0, ($s1) -/* 07C680 800E31D0 34630009 */ ori $v1, $v1, 9 -/* 07C684 800E31D4 00441024 */ and $v0, $v0, $a0 -/* 07C688 800E31D8 10430022 */ beq $v0, $v1, .L800E3264 -/* 07C68C 800E31DC 00000000 */ nop -/* 07C690 800E31E0 86020010 */ lh $v0, 0x10($s0) -/* 07C694 800E31E4 14400019 */ bnez $v0, .L800E324C -/* 07C698 800E31E8 24020017 */ addiu $v0, $zero, 0x17 -/* 07C69C 800E31EC 820300B4 */ lb $v1, 0xb4($s0) -/* 07C6A0 800E31F0 1062001C */ beq $v1, $v0, .L800E3264 -/* 07C6A4 800E31F4 24020001 */ addiu $v0, $zero, 1 -/* 07C6A8 800E31F8 08038C8F */ j .L800E323C -/* 07C6AC 800E31FC A20200BF */ sb $v0, 0xbf($s0) - -/* 07C6B0 800E3200 3C04FF00 */ lui $a0, 0xff00 -/* 07C6B4 800E3204 348400FF */ ori $a0, $a0, 0xff -/* 07C6B8 800E3208 3C030100 */ lui $v1, 0x100 -/* 07C6BC 800E320C 8E220000 */ lw $v0, ($s1) -/* 07C6C0 800E3210 34630009 */ ori $v1, $v1, 9 -/* 07C6C4 800E3214 00441024 */ and $v0, $v0, $a0 -/* 07C6C8 800E3218 10430012 */ beq $v0, $v1, .L800E3264 -/* 07C6CC 800E321C 00000000 */ nop -/* 07C6D0 800E3220 86020010 */ lh $v0, 0x10($s0) -/* 07C6D4 800E3224 14400009 */ bnez $v0, .L800E324C -/* 07C6D8 800E3228 24020015 */ addiu $v0, $zero, 0x15 -/* 07C6DC 800E322C 820300B4 */ lb $v1, 0xb4($s0) -/* 07C6E0 800E3230 1062000C */ beq $v1, $v0, .L800E3264 -/* 07C6E4 800E3234 24020002 */ addiu $v0, $zero, 2 -/* 07C6E8 800E3238 A20200BF */ sb $v0, 0xbf($s0) -.L800E323C: -/* 07C6EC 800E323C 0C039769 */ jal set_action_state -/* 07C6F0 800E3240 24040017 */ addiu $a0, $zero, 0x17 -/* 07C6F4 800E3244 08038C99 */ j .L800E3264 -/* 07C6F8 800E3248 00000000 */ nop - -.L800E324C: -/* 07C6FC 800E324C 0C039769 */ jal set_action_state -/* 07C700 800E3250 24040016 */ addiu $a0, $zero, 0x16 -/* 07C704 800E3254 08038C99 */ j .L800E3264 -/* 07C708 800E3258 00000000 */ nop - -.L800E325C: -/* 07C70C 800E325C 0C038C9E */ jal func_800E3278 -/* 07C710 800E3260 00000000 */ nop -.L800E3264: -/* 07C714 800E3264 8FBF0018 */ lw $ra, 0x18($sp) -/* 07C718 800E3268 8FB10014 */ lw $s1, 0x14($sp) -/* 07C71C 800E326C 8FB00010 */ lw $s0, 0x10($sp) -/* 07C720 800E3270 03E00008 */ jr $ra -/* 07C724 800E3274 27BD0020 */ addiu $sp, $sp, 0x20 - -func_800E3278: -/* 07C728 800E3278 27BDFFD8 */ addiu $sp, $sp, -0x28 -/* 07C72C 800E327C 3C02FF7F */ lui $v0, 0xff7f -/* 07C730 800E3280 3442FFFF */ ori $v0, $v0, 0xffff -/* 07C734 800E3284 24040148 */ addiu $a0, $zero, 0x148 -/* 07C738 800E3288 AFB00018 */ sw $s0, 0x18($sp) -/* 07C73C 800E328C 3C108011 */ lui $s0, 0x8011 -/* 07C740 800E3290 2610EFC8 */ addiu $s0, $s0, -0x1038 -/* 07C744 800E3294 AFBF0020 */ sw $ra, 0x20($sp) -/* 07C748 800E3298 AFB1001C */ sw $s1, 0x1c($sp) -/* 07C74C 800E329C 8E030000 */ lw $v1, ($s0) -/* 07C750 800E32A0 C6000028 */ lwc1 $f0, 0x28($s0) -/* 07C754 800E32A4 C6020030 */ lwc1 $f2, 0x30($s0) -/* 07C758 800E32A8 0000282D */ daddu $a1, $zero, $zero -/* 07C75C 800E32AC A60000C0 */ sh $zero, 0xc0($s0) -/* 07C760 800E32B0 A60000C2 */ sh $zero, 0xc2($s0) -/* 07C764 800E32B4 00621824 */ and $v1, $v1, $v0 -/* 07C768 800E32B8 2402FFF1 */ addiu $v0, $zero, -0xf -/* 07C76C 800E32BC AE030000 */ sw $v1, ($s0) -/* 07C770 800E32C0 00621824 */ and $v1, $v1, $v0 -/* 07C774 800E32C4 E6000044 */ swc1 $f0, 0x44($s0) -/* 07C778 800E32C8 E6020048 */ swc1 $f2, 0x48($s0) -/* 07C77C 800E32CC 0C052736 */ jal play_sound_at_player -/* 07C780 800E32D0 AE030000 */ sw $v1, ($s0) -/* 07C784 800E32D4 3C038016 */ lui $v1, 0x8016 -/* 07C788 800E32D8 2463A550 */ addiu $v1, $v1, -0x5ab0 -/* 07C78C 800E32DC 94620002 */ lhu $v0, 2($v1) -/* 07C790 800E32E0 30424000 */ andi $v0, $v0, 0x4000 -/* 07C794 800E32E4 14400003 */ bnez $v0, .L800E32F4 -/* 07C798 800E32E8 0060882D */ daddu $s1, $v1, $zero -/* 07C79C 800E32EC 0C03954C */ jal func_800E5530 -/* 07C7A0 800E32F0 00000000 */ nop -.L800E32F4: -/* 07C7A4 800E32F4 96240002 */ lhu $a0, 2($s1) -/* 07C7A8 800E32F8 2402FFFF */ addiu $v0, $zero, -1 -/* 07C7AC 800E32FC A6220004 */ sh $v0, 4($s1) -/* 07C7B0 800E3300 30824000 */ andi $v0, $a0, 0x4000 -/* 07C7B4 800E3304 10400022 */ beqz $v0, .L800E3390 -/* 07C7B8 800E3308 00042400 */ sll $a0, $a0, 0x10 -/* 07C7BC 800E330C 0C0441A9 */ jal func_801106A4 -/* 07C7C0 800E3310 00042403 */ sra $a0, $a0, 0x10 -/* 07C7C4 800E3314 0040182D */ daddu $v1, $v0, $zero -/* 07C7C8 800E3318 28620009 */ slti $v0, $v1, 9 -/* 07C7CC 800E331C 1040001C */ beqz $v0, .L800E3390 -/* 07C7D0 800E3320 28620007 */ slti $v0, $v1, 7 -/* 07C7D4 800E3324 1440001A */ bnez $v0, .L800E3390 -/* 07C7D8 800E3328 00000000 */ nop -/* 07C7DC 800E332C 0C04417A */ jal get_entity_by_index -/* 07C7E0 800E3330 86240002 */ lh $a0, 2($s1) -/* 07C7E4 800E3334 90430006 */ lbu $v1, 6($v0) -/* 07C7E8 800E3338 34630001 */ ori $v1, $v1, 1 -/* 07C7EC 800E333C A0430006 */ sb $v1, 6($v0) -/* 07C7F0 800E3340 920300B4 */ lbu $v1, 0xb4($s0) -/* 07C7F4 800E3344 2462FFF1 */ addiu $v0, $v1, -0xf -/* 07C7F8 800E3348 2C420002 */ sltiu $v0, $v0, 2 -/* 07C7FC 800E334C 1440000B */ bnez $v0, .L800E337C -/* 07C800 800E3350 00031600 */ sll $v0, $v1, 0x18 -/* 07C804 800E3354 00021E03 */ sra $v1, $v0, 0x18 -/* 07C808 800E3358 2402000D */ addiu $v0, $zero, 0xd -/* 07C80C 800E335C 10620007 */ beq $v1, $v0, .L800E337C -/* 07C810 800E3360 2402000E */ addiu $v0, $zero, 0xe -/* 07C814 800E3364 10620005 */ beq $v1, $v0, .L800E337C -/* 07C818 800E3368 00000000 */ nop -/* 07C81C 800E336C 0C039769 */ jal set_action_state -/* 07C820 800E3370 24040007 */ addiu $a0, $zero, 7 -/* 07C824 800E3374 08038D0D */ j .L800E3434 -/* 07C828 800E3378 00000000 */ nop - -.L800E337C: -/* 07C82C 800E337C 0C03805E */ jal func_800E0178 -/* 07C830 800E3380 00000000 */ nop -/* 07C834 800E3384 2402000B */ addiu $v0, $zero, 0xb -/* 07C838 800E3388 08038D0D */ j .L800E3434 -/* 07C83C 800E338C A20200B6 */ sb $v0, 0xb6($s0) - -.L800E3390: -/* 07C840 800E3390 8E020000 */ lw $v0, ($s0) -/* 07C844 800E3394 30424000 */ andi $v0, $v0, 0x4000 -/* 07C848 800E3398 10400005 */ beqz $v0, .L800E33B0 -/* 07C84C 800E339C 24020007 */ addiu $v0, $zero, 7 -/* 07C850 800E33A0 0C039769 */ jal set_action_state -/* 07C854 800E33A4 24040002 */ addiu $a0, $zero, 2 -/* 07C858 800E33A8 08038D0D */ j .L800E3434 -/* 07C85C 800E33AC 00000000 */ nop - -.L800E33B0: -/* 07C860 800E33B0 820300B4 */ lb $v1, 0xb4($s0) -/* 07C864 800E33B4 14620005 */ bne $v1, $v0, .L800E33CC -/* 07C868 800E33B8 27A40010 */ addiu $a0, $sp, 0x10 -/* 07C86C 800E33BC 0C039769 */ jal set_action_state -/* 07C870 800E33C0 24040020 */ addiu $a0, $zero, 0x20 -/* 07C874 800E33C4 08038D0D */ j .L800E3434 -/* 07C878 800E33C8 00000000 */ nop - -.L800E33CC: -/* 07C87C 800E33CC 0C0388C1 */ jal func_800E2304 -/* 07C880 800E33D0 27A50014 */ addiu $a1, $sp, 0x14 -/* 07C884 800E33D4 C7A00014 */ lwc1 $f0, 0x14($sp) -/* 07C888 800E33D8 44801000 */ mtc1 $zero, $f2 -/* 07C88C 800E33DC 00000000 */ nop -/* 07C890 800E33E0 46020032 */ c.eq.s $f0, $f2 -/* 07C894 800E33E4 00000000 */ nop -/* 07C898 800E33E8 4500000C */ bc1f .L800E341C -/* 07C89C 800E33EC 24020009 */ addiu $v0, $zero, 9 -/* 07C8A0 800E33F0 820300B4 */ lb $v1, 0xb4($s0) -/* 07C8A4 800E33F4 10620005 */ beq $v1, $v0, .L800E340C -/* 07C8A8 800E33F8 00000000 */ nop -/* 07C8AC 800E33FC 0C039769 */ jal set_action_state -/* 07C8B0 800E3400 2404000A */ addiu $a0, $zero, 0xa -/* 07C8B4 800E3404 08038D0D */ j .L800E3434 -/* 07C8B8 800E3408 00000000 */ nop - -.L800E340C: -/* 07C8BC 800E340C 0C039769 */ jal set_action_state -/* 07C8C0 800E3410 2404000B */ addiu $a0, $zero, 0xb -/* 07C8C4 800E3414 08038D0D */ j .L800E3434 -/* 07C8C8 800E3418 00000000 */ nop - -.L800E341C: -/* 07C8CC 800E341C 45010003 */ bc1t .L800E342C -/* 07C8D0 800E3420 00000000 */ nop -/* 07C8D4 800E3424 C7A00010 */ lwc1 $f0, 0x10($sp) -/* 07C8D8 800E3428 E6000080 */ swc1 $f0, 0x80($s0) -.L800E342C: -/* 07C8DC 800E342C 0C0397DA */ jal update_locomotion_state -/* 07C8E0 800E3430 00000000 */ nop -.L800E3434: -/* 07C8E4 800E3434 8FBF0020 */ lw $ra, 0x20($sp) -/* 07C8E8 800E3438 8FB1001C */ lw $s1, 0x1c($sp) -/* 07C8EC 800E343C 8FB00018 */ lw $s0, 0x18($sp) -/* 07C8F0 800E3440 03E00008 */ jr $ra -/* 07C8F4 800E3444 27BD0028 */ addiu $sp, $sp, 0x28 - -func_800E3448: -/* 07C8F8 800E3448 3C048011 */ lui $a0, 0x8011 -/* 07C8FC 800E344C 2484EFC8 */ addiu $a0, $a0, -0x1038 -/* 07C900 800E3450 8C820000 */ lw $v0, ($a0) -/* 07C904 800E3454 3C030004 */ lui $v1, 4 -/* 07C908 800E3458 00431024 */ and $v0, $v0, $v1 -/* 07C90C 800E345C 10400012 */ beqz $v0, .L800E34A8 -/* 07C910 800E3460 00000000 */ nop -/* 07C914 800E3464 C480007C */ lwc1 $f0, 0x7c($a0) -/* 07C918 800E3468 3C013FD9 */ lui $at, 0x3fd9 -/* 07C91C 800E346C 3421999A */ ori $at, $at, 0x999a -/* 07C920 800E3470 44812000 */ mtc1 $at, $f4 -/* 07C924 800E3474 C4860078 */ lwc1 $f6, 0x78($a0) -/* 07C928 800E3478 46040003 */ div.s $f0, $f0, $f4 -/* 07C92C 800E347C 46003180 */ add.s $f6, $f6, $f0 -/* 07C930 800E3480 C4820074 */ lwc1 $f2, 0x74($a0) -/* 07C934 800E3484 46043003 */ div.s $f0, $f6, $f4 -/* 07C938 800E3488 46001080 */ add.s $f2, $f2, $f0 -/* 07C93C 800E348C C4800070 */ lwc1 $f0, 0x70($a0) -/* 07C940 800E3490 46041103 */ div.s $f4, $f2, $f4 -/* 07C944 800E3494 46040000 */ add.s $f0, $f0, $f4 -/* 07C948 800E3498 E4860078 */ swc1 $f6, 0x78($a0) -/* 07C94C 800E349C E4820074 */ swc1 $f2, 0x74($a0) -/* 07C950 800E34A0 08038D34 */ j .L800E34D0 -/* 07C954 800E34A4 E4800070 */ swc1 $f0, 0x70($a0) - -.L800E34A8: -/* 07C958 800E34A8 C4840078 */ lwc1 $f4, 0x78($a0) -/* 07C95C 800E34AC C480007C */ lwc1 $f0, 0x7c($a0) -/* 07C960 800E34B0 46002100 */ add.s $f4, $f4, $f0 -/* 07C964 800E34B4 C4800074 */ lwc1 $f0, 0x74($a0) -/* 07C968 800E34B8 46040000 */ add.s $f0, $f0, $f4 -/* 07C96C 800E34BC C4820070 */ lwc1 $f2, 0x70($a0) -/* 07C970 800E34C0 46001080 */ add.s $f2, $f2, $f0 -/* 07C974 800E34C4 E4840078 */ swc1 $f4, 0x78($a0) -/* 07C978 800E34C8 E4800074 */ swc1 $f0, 0x74($a0) -/* 07C97C 800E34CC E4820070 */ swc1 $f2, 0x70($a0) -.L800E34D0: -/* 07C980 800E34D0 03E00008 */ jr $ra -/* 07C984 800E34D4 C4800070 */ lwc1 $f0, 0x70($a0) - -func_800E34D8: -/* 07C988 800E34D8 27BDFFE0 */ addiu $sp, $sp, -0x20 -/* 07C98C 800E34DC AFBF0010 */ sw $ra, 0x10($sp) -/* 07C990 800E34E0 0C038D12 */ jal func_800E3448 -/* 07C994 800E34E4 F7B40018 */ sdc1 $f20, 0x18($sp) -/* 07C998 800E34E8 0C038082 */ jal func_800E0208 -/* 07C99C 800E34EC 46000506 */ mov.s $f20, $f0 -/* 07C9A0 800E34F0 10400004 */ beqz $v0, .L800E3504 -/* 07C9A4 800E34F4 4600A006 */ mov.s $f0, $f20 -/* 07C9A8 800E34F8 4480A000 */ mtc1 $zero, $f20 -/* 07C9AC 800E34FC 00000000 */ nop -/* 07C9B0 800E3500 4600A006 */ mov.s $f0, $f20 -.L800E3504: -/* 07C9B4 800E3504 8FBF0010 */ lw $ra, 0x10($sp) -/* 07C9B8 800E3508 D7B40018 */ ldc1 $f20, 0x18($sp) -/* 07C9BC 800E350C 03E00008 */ jr $ra -/* 07C9C0 800E3510 27BD0020 */ addiu $sp, $sp, 0x20 - -func_800E3514: -/* 07C9C4 800E3514 27BDFFA0 */ addiu $sp, $sp, -0x60 -/* 07C9C8 800E3518 F7B40058 */ sdc1 $f20, 0x58($sp) -/* 07C9CC 800E351C 46006506 */ mov.s $f20, $f12 -/* 07C9D0 800E3520 AFB00048 */ sw $s0, 0x48($sp) -/* 07C9D4 800E3524 00A0802D */ daddu $s0, $a1, $zero -/* 07C9D8 800E3528 AFB1004C */ sw $s1, 0x4c($sp) -/* 07C9DC 800E352C 3C118011 */ lui $s1, 0x8011 -/* 07C9E0 800E3530 2631EFC8 */ addiu $s1, $s1, -0x1038 -/* 07C9E4 800E3534 AFBF0054 */ sw $ra, 0x54($sp) -/* 07C9E8 800E3538 AFB20050 */ sw $s2, 0x50($sp) -/* 07C9EC 800E353C 862200B0 */ lh $v0, 0xb0($s1) -/* 07C9F0 800E3540 3C013F00 */ lui $at, 0x3f00 -/* 07C9F4 800E3544 44810000 */ mtc1 $at, $f0 -/* 07C9F8 800E3548 44822000 */ mtc1 $v0, $f4 -/* 07C9FC 800E354C 00000000 */ nop -/* 07CA00 800E3550 46802120 */ cvt.s.w $f4, $f4 -/* 07CA04 800E3554 46002102 */ mul.s $f4, $f4, $f0 -/* 07CA08 800E3558 00000000 */ nop -/* 07CA0C 800E355C 0220202D */ daddu $a0, $s1, $zero -/* 07CA10 800E3560 27A50028 */ addiu $a1, $sp, 0x28 -/* 07CA14 800E3564 27A6002C */ addiu $a2, $sp, 0x2c -/* 07CA18 800E3568 27A70030 */ addiu $a3, $sp, 0x30 -/* 07CA1C 800E356C 4600A085 */ abs.s $f2, $f20 -/* 07CA20 800E3570 C6200028 */ lwc1 $f0, 0x28($s1) -/* 07CA24 800E3574 27A20034 */ addiu $v0, $sp, 0x34 -/* 07CA28 800E3578 E7A00028 */ swc1 $f0, 0x28($sp) -/* 07CA2C 800E357C 46041080 */ add.s $f2, $f2, $f4 -/* 07CA30 800E3580 C620002C */ lwc1 $f0, 0x2c($s1) -/* 07CA34 800E3584 C6260030 */ lwc1 $f6, 0x30($s1) -/* 07CA38 800E3588 46040000 */ add.s $f0, $f0, $f4 -/* 07CA3C 800E358C E7A60030 */ swc1 $f6, 0x30($sp) -/* 07CA40 800E3590 E7A20034 */ swc1 $f2, 0x34($sp) -/* 07CA44 800E3594 E7A0002C */ swc1 $f0, 0x2c($sp) -/* 07CA48 800E3598 AFA20010 */ sw $v0, 0x10($sp) -/* 07CA4C 800E359C 27A20038 */ addiu $v0, $sp, 0x38 -/* 07CA50 800E35A0 AFA20014 */ sw $v0, 0x14($sp) -/* 07CA54 800E35A4 27A2003C */ addiu $v0, $sp, 0x3c -/* 07CA58 800E35A8 AFA20018 */ sw $v0, 0x18($sp) -/* 07CA5C 800E35AC 27A20040 */ addiu $v0, $sp, 0x40 -/* 07CA60 800E35B0 AFA2001C */ sw $v0, 0x1c($sp) -/* 07CA64 800E35B4 27A20044 */ addiu $v0, $sp, 0x44 -/* 07CA68 800E35B8 0C03791B */ jal func_800DE46C -/* 07CA6C 800E35BC AFA20020 */ sw $v0, 0x20($sp) -/* 07CA70 800E35C0 3C128016 */ lui $s2, 0x8016 -/* 07CA74 800E35C4 2652A550 */ addiu $s2, $s2, -0x5ab0 -/* 07CA78 800E35C8 AE020000 */ sw $v0, ($s0) -/* 07CA7C 800E35CC 04410010 */ bgez $v0, .L800E3610 -/* 07CA80 800E35D0 0240802D */ daddu $s0, $s2, $zero -/* 07CA84 800E35D4 44800000 */ mtc1 $zero, $f0 -/* 07CA88 800E35D8 00000000 */ nop -/* 07CA8C 800E35DC 4614003E */ c.le.s $f0, $f20 -/* 07CA90 800E35E0 00000000 */ nop -/* 07CA94 800E35E4 45000006 */ bc1f .L800E3600 -/* 07CA98 800E35E8 00000000 */ nop -/* 07CA9C 800E35EC 86420008 */ lh $v0, 8($s2) -/* 07CAA0 800E35F0 04400003 */ bltz $v0, .L800E3600 -/* 07CAA4 800E35F4 00000000 */ nop -/* 07CAA8 800E35F8 08038D88 */ j .L800E3620 -/* 07CAAC 800E35FC C620002C */ lwc1 $f0, 0x2c($s1) - -.L800E3600: -/* 07CAB0 800E3600 C620002C */ lwc1 $f0, 0x2c($s1) -/* 07CAB4 800E3604 46140000 */ add.s $f0, $f0, $f20 -/* 07CAB8 800E3608 08038D87 */ j .L800E361C -/* 07CABC 800E360C E7A0002C */ swc1 $f0, 0x2c($sp) - -.L800E3610: -/* 07CAC0 800E3610 A6020002 */ sh $v0, 2($s0) -/* 07CAC4 800E3614 2402FFFF */ addiu $v0, $zero, -1 -/* 07CAC8 800E3618 A6020004 */ sh $v0, 4($s0) -.L800E361C: -/* 07CACC 800E361C C7A0002C */ lwc1 $f0, 0x2c($sp) -.L800E3620: -/* 07CAD0 800E3620 8FBF0054 */ lw $ra, 0x54($sp) -/* 07CAD4 800E3624 8FB20050 */ lw $s2, 0x50($sp) -/* 07CAD8 800E3628 8FB1004C */ lw $s1, 0x4c($sp) -/* 07CADC 800E362C 8FB00048 */ lw $s0, 0x48($sp) -/* 07CAE0 800E3630 D7B40058 */ ldc1 $f20, 0x58($sp) -/* 07CAE4 800E3634 03E00008 */ jr $ra -/* 07CAE8 800E3638 27BD0060 */ addiu $sp, $sp, 0x60 - -func_800E363C: -/* 07CAEC 800E363C 27BDFF80 */ addiu $sp, $sp, -0x80 -/* 07CAF0 800E3640 AFB1005C */ sw $s1, 0x5c($sp) -/* 07CAF4 800E3644 3C118011 */ lui $s1, 0x8011 -/* 07CAF8 800E3648 2631EFC8 */ addiu $s1, $s1, -0x1038 -/* 07CAFC 800E364C AFB40068 */ sw $s4, 0x68($sp) -/* 07CB00 800E3650 3C148016 */ lui $s4, 0x8016 -/* 07CB04 800E3654 2694A550 */ addiu $s4, $s4, -0x5ab0 -/* 07CB08 800E3658 AFBF006C */ sw $ra, 0x6c($sp) -/* 07CB0C 800E365C AFB30064 */ sw $s3, 0x64($sp) -/* 07CB10 800E3660 AFB20060 */ sw $s2, 0x60($sp) -/* 07CB14 800E3664 AFB00058 */ sw $s0, 0x58($sp) -/* 07CB18 800E3668 F7B60078 */ sdc1 $f22, 0x78($sp) -/* 07CB1C 800E366C F7B40070 */ sdc1 $f20, 0x70($sp) -/* 07CB20 800E3670 8E230000 */ lw $v1, ($s1) -/* 07CB24 800E3674 2402FFFF */ addiu $v0, $zero, -1 -/* 07CB28 800E3678 A6820000 */ sh $v0, ($s4) -/* 07CB2C 800E367C 30624000 */ andi $v0, $v1, 0x4000 -/* 07CB30 800E3680 10400012 */ beqz $v0, .L800E36CC -/* 07CB34 800E3684 3C020004 */ lui $v0, 4 -/* 07CB38 800E3688 C6220054 */ lwc1 $f2, 0x54($s1) -/* 07CB3C 800E368C 00621024 */ and $v0, $v1, $v0 -/* 07CB40 800E3690 10400007 */ beqz $v0, .L800E36B0 -/* 07CB44 800E3694 E7A20030 */ swc1 $f2, 0x30($sp) -/* 07CB48 800E3698 3C013F00 */ lui $at, 0x3f00 -/* 07CB4C 800E369C 44810000 */ mtc1 $at, $f0 -/* 07CB50 800E36A0 00000000 */ nop -/* 07CB54 800E36A4 46001002 */ mul.s $f0, $f2, $f0 -/* 07CB58 800E36A8 00000000 */ nop -/* 07CB5C 800E36AC E7A00030 */ swc1 $f0, 0x30($sp) -.L800E36B0: -/* 07CB60 800E36B0 26240028 */ addiu $a0, $s1, 0x28 -/* 07CB64 800E36B4 8FA60030 */ lw $a2, 0x30($sp) -/* 07CB68 800E36B8 8E2700A0 */ lw $a3, 0xa0($s1) -/* 07CB6C 800E36BC 0C00A7E7 */ jal add_vec2D_polar -/* 07CB70 800E36C0 26250030 */ addiu $a1, $s1, 0x30 -/* 07CB74 800E36C4 080390B8 */ j .L800E42E0 -/* 07CB78 800E36C8 00000000 */ nop - -.L800E36CC: -/* 07CB7C 800E36CC 922200B4 */ lbu $v0, 0xb4($s1) -/* 07CB80 800E36D0 2442FFF9 */ addiu $v0, $v0, -7 -/* 07CB84 800E36D4 00021600 */ sll $v0, $v0, 0x18 -/* 07CB88 800E36D8 00021E03 */ sra $v1, $v0, 0x18 -/* 07CB8C 800E36DC 2C620020 */ sltiu $v0, $v1, 0x20 -/* 07CB90 800E36E0 1040010D */ beqz $v0, .L800E3B18 -/* 07CB94 800E36E4 00031080 */ sll $v0, $v1, 2 -/* 07CB98 800E36E8 3C018011 */ lui $at, 0x8011 -/* 07CB9C 800E36EC 00220821 */ addu $at, $at, $v0 -/* 07CBA0 800E36F0 8C22BE58 */ lw $v0, -0x41a8($at) -/* 07CBA4 800E36F4 00400008 */ jr $v0 -/* 07CBA8 800E36F8 00000000 */ nop -/* 07CBAC 800E36FC 3C038007 */ lui $v1, 0x8007 -/* 07CBB0 800E3700 8C637410 */ lw $v1, 0x7410($v1) -/* 07CBB4 800E3704 C62200A8 */ lwc1 $f2, 0xa8($s1) -/* 07CBB8 800E3708 3C0142B4 */ lui $at, 0x42b4 -/* 07CBBC 800E370C 44810000 */ mtc1 $at, $f0 -/* 07CBC0 800E3710 00031080 */ sll $v0, $v1, 2 -/* 07CBC4 800E3714 00431021 */ addu $v0, $v0, $v1 -/* 07CBC8 800E3718 00021080 */ sll $v0, $v0, 2 -/* 07CBCC 800E371C 00431023 */ subu $v0, $v0, $v1 -/* 07CBD0 800E3720 000218C0 */ sll $v1, $v0, 3 -/* 07CBD4 800E3724 00431021 */ addu $v0, $v0, $v1 -/* 07CBD8 800E3728 000210C0 */ sll $v0, $v0, 3 -/* 07CBDC 800E372C 46001081 */ sub.s $f2, $f2, $f0 -/* 07CBE0 800E3730 3C01800B */ lui $at, 0x800b -/* 07CBE4 800E3734 00220821 */ addu $at, $at, $v0 -/* 07CBE8 800E3738 C4201DEC */ lwc1 $f0, 0x1dec($at) -/* 07CBEC 800E373C 46001080 */ add.s $f2, $f2, $f0 -/* 07CBF0 800E3740 0000202D */ daddu $a0, $zero, $zero -/* 07CBF4 800E3744 44061000 */ mfc1 $a2, $f2 -/* 07CBF8 800E3748 080390B6 */ j .L800E42D8 -/* 07CBFC 800E374C 0080282D */ daddu $a1, $a0, $zero - -/* 07CC00 800E3750 0C039422 */ jal func_800E5088 -/* 07CC04 800E3754 00000000 */ nop -/* 07CC08 800E3758 00021600 */ sll $v0, $v0, 0x18 -/* 07CC0C 800E375C 00021603 */ sra $v0, $v0, 0x18 -/* 07CC10 800E3760 24030009 */ addiu $v1, $zero, 9 -/* 07CC14 800E3764 144302DE */ bne $v0, $v1, .L800E42E0 -/* 07CC18 800E3768 00000000 */ nop -/* 07CC1C 800E376C C6260028 */ lwc1 $f6, 0x28($s1) -/* 07CC20 800E3770 C620001C */ lwc1 $f0, 0x1c($s1) -/* 07CC24 800E3774 C624002C */ lwc1 $f4, 0x2c($s1) -/* 07CC28 800E3778 C628001C */ lwc1 $f8, 0x1c($s1) -/* 07CC2C 800E377C 46003180 */ add.s $f6, $f6, $f0 -/* 07CC30 800E3780 C6200020 */ lwc1 $f0, 0x20($s1) -/* 07CC34 800E3784 44805000 */ mtc1 $zero, $f10 -/* 07CC38 800E3788 46002100 */ add.s $f4, $f4, $f0 -/* 07CC3C 800E378C C6220024 */ lwc1 $f2, 0x24($s1) -/* 07CC40 800E3790 C6200030 */ lwc1 $f0, 0x30($s1) -/* 07CC44 800E3794 460A4032 */ c.eq.s $f8, $f10 -/* 07CC48 800E3798 46020000 */ add.s $f0, $f0, $f2 -/* 07CC4C 800E379C E6260028 */ swc1 $f6, 0x28($s1) -/* 07CC50 800E37A0 E624002C */ swc1 $f4, 0x2c($s1) -/* 07CC54 800E37A4 4500000A */ bc1f .L800E37D0 -/* 07CC58 800E37A8 E6200030 */ swc1 $f0, 0x30($s1) -/* 07CC5C 800E37AC C6200020 */ lwc1 $f0, 0x20($s1) -/* 07CC60 800E37B0 460A0032 */ c.eq.s $f0, $f10 -/* 07CC64 800E37B4 00000000 */ nop -/* 07CC68 800E37B8 45000005 */ bc1f .L800E37D0 -/* 07CC6C 800E37BC 46001006 */ mov.s $f0, $f2 -/* 07CC70 800E37C0 460A0032 */ c.eq.s $f0, $f10 -/* 07CC74 800E37C4 00000000 */ nop -/* 07CC78 800E37C8 450102C5 */ bc1t .L800E42E0 -/* 07CC7C 800E37CC 00000000 */ nop -.L800E37D0: -/* 07CC80 800E37D0 C6200028 */ lwc1 $f0, 0x28($s1) -/* 07CC84 800E37D4 C622002C */ lwc1 $f2, 0x2c($s1) -/* 07CC88 800E37D8 C6240030 */ lwc1 $f4, 0x30($s1) -/* 07CC8C 800E37DC 3C02800B */ lui $v0, 0x800b -/* 07CC90 800E37E0 24421D80 */ addiu $v0, $v0, 0x1d80 -/* 07CC94 800E37E4 E4400060 */ swc1 $f0, 0x60($v0) -/* 07CC98 800E37E8 E4420064 */ swc1 $f2, 0x64($v0) -/* 07CC9C 800E37EC E4440068 */ swc1 $f4, 0x68($v0) -/* 07CCA0 800E37F0 9223000E */ lbu $v1, 0xe($s1) -/* 07CCA4 800E37F4 24020080 */ addiu $v0, $zero, 0x80 -/* 07CCA8 800E37F8 106202B9 */ beq $v1, $v0, .L800E42E0 -/* 07CCAC 800E37FC 00000000 */ nop -/* 07CCB0 800E3800 8E26001C */ lw $a2, 0x1c($s1) -/* 07CCB4 800E3804 44806000 */ mtc1 $zero, $f12 -/* 07CCB8 800E3808 8E270024 */ lw $a3, 0x24($s1) -/* 07CCBC 800E380C 0C00A720 */ jal atan2 -/* 07CCC0 800E3810 46006386 */ mov.s $f14, $f12 -/* 07CCC4 800E3814 0000202D */ daddu $a0, $zero, $zero -/* 07CCC8 800E3818 44060000 */ mfc1 $a2, $f0 -/* 07CCCC 800E381C 080390B6 */ j .L800E42D8 -/* 07CCD0 800E3820 0080282D */ daddu $a1, $a0, $zero - -/* 07CCD4 800E3824 C6260028 */ lwc1 $f6, 0x28($s1) -/* 07CCD8 800E3828 C620001C */ lwc1 $f0, 0x1c($s1) -/* 07CCDC 800E382C C624002C */ lwc1 $f4, 0x2c($s1) -/* 07CCE0 800E3830 C628001C */ lwc1 $f8, 0x1c($s1) -/* 07CCE4 800E3834 46003180 */ add.s $f6, $f6, $f0 -/* 07CCE8 800E3838 C6200020 */ lwc1 $f0, 0x20($s1) -/* 07CCEC 800E383C 44805000 */ mtc1 $zero, $f10 -/* 07CCF0 800E3840 46002100 */ add.s $f4, $f4, $f0 -/* 07CCF4 800E3844 C6220024 */ lwc1 $f2, 0x24($s1) -/* 07CCF8 800E3848 C6200030 */ lwc1 $f0, 0x30($s1) -/* 07CCFC 800E384C 460A4032 */ c.eq.s $f8, $f10 -/* 07CD00 800E3850 46020000 */ add.s $f0, $f0, $f2 -/* 07CD04 800E3854 E6260028 */ swc1 $f6, 0x28($s1) -/* 07CD08 800E3858 E624002C */ swc1 $f4, 0x2c($s1) -/* 07CD0C 800E385C 4500000A */ bc1f .L800E3888 -/* 07CD10 800E3860 E6200030 */ swc1 $f0, 0x30($s1) -/* 07CD14 800E3864 C6200020 */ lwc1 $f0, 0x20($s1) -/* 07CD18 800E3868 460A0032 */ c.eq.s $f0, $f10 -/* 07CD1C 800E386C 00000000 */ nop -/* 07CD20 800E3870 45000005 */ bc1f .L800E3888 -/* 07CD24 800E3874 46001006 */ mov.s $f0, $f2 -/* 07CD28 800E3878 460A0032 */ c.eq.s $f0, $f10 -/* 07CD2C 800E387C 00000000 */ nop -/* 07CD30 800E3880 45010009 */ bc1t .L800E38A8 -/* 07CD34 800E3884 00000000 */ nop -.L800E3888: -/* 07CD38 800E3888 C6200028 */ lwc1 $f0, 0x28($s1) -/* 07CD3C 800E388C C622002C */ lwc1 $f2, 0x2c($s1) -/* 07CD40 800E3890 C6240030 */ lwc1 $f4, 0x30($s1) -/* 07CD44 800E3894 3C02800B */ lui $v0, 0x800b -/* 07CD48 800E3898 24421D80 */ addiu $v0, $v0, 0x1d80 -/* 07CD4C 800E389C E4400060 */ swc1 $f0, 0x60($v0) -/* 07CD50 800E38A0 E4420064 */ swc1 $f2, 0x64($v0) -/* 07CD54 800E38A4 E4440068 */ swc1 $f4, 0x68($v0) -.L800E38A8: -/* 07CD58 800E38A8 C620001C */ lwc1 $f0, 0x1c($s1) -/* 07CD5C 800E38AC 44801000 */ mtc1 $zero, $f2 -/* 07CD60 800E38B0 00000000 */ nop -/* 07CD64 800E38B4 46020032 */ c.eq.s $f0, $f2 -/* 07CD68 800E38B8 00000000 */ nop -/* 07CD6C 800E38BC 4500000B */ bc1f .L800E38EC -/* 07CD70 800E38C0 00000000 */ nop -/* 07CD74 800E38C4 C6200020 */ lwc1 $f0, 0x20($s1) -/* 07CD78 800E38C8 46020032 */ c.eq.s $f0, $f2 -/* 07CD7C 800E38CC 00000000 */ nop -/* 07CD80 800E38D0 45000006 */ bc1f .L800E38EC -/* 07CD84 800E38D4 00000000 */ nop -/* 07CD88 800E38D8 C6200024 */ lwc1 $f0, 0x24($s1) -/* 07CD8C 800E38DC 46020032 */ c.eq.s $f0, $f2 -/* 07CD90 800E38E0 00000000 */ nop -/* 07CD94 800E38E4 4501027E */ bc1t .L800E42E0 -/* 07CD98 800E38E8 00000000 */ nop -.L800E38EC: -/* 07CD9C 800E38EC 3C038007 */ lui $v1, 0x8007 -/* 07CDA0 800E38F0 8C637410 */ lw $v1, 0x7410($v1) -/* 07CDA4 800E38F4 C62200A8 */ lwc1 $f2, 0xa8($s1) -/* 07CDA8 800E38F8 3C0142B4 */ lui $at, 0x42b4 -/* 07CDAC 800E38FC 44810000 */ mtc1 $at, $f0 -/* 07CDB0 800E3900 00031080 */ sll $v0, $v1, 2 -/* 07CDB4 800E3904 00431021 */ addu $v0, $v0, $v1 -/* 07CDB8 800E3908 00021080 */ sll $v0, $v0, 2 -/* 07CDBC 800E390C 00431023 */ subu $v0, $v0, $v1 -/* 07CDC0 800E3910 000218C0 */ sll $v1, $v0, 3 -/* 07CDC4 800E3914 00431021 */ addu $v0, $v0, $v1 -/* 07CDC8 800E3918 000210C0 */ sll $v0, $v0, 3 -/* 07CDCC 800E391C 46001081 */ sub.s $f2, $f2, $f0 -/* 07CDD0 800E3920 3C01800B */ lui $at, 0x800b -/* 07CDD4 800E3924 00220821 */ addu $at, $at, $v0 -/* 07CDD8 800E3928 C4201DEC */ lwc1 $f0, 0x1dec($at) -/* 07CDDC 800E392C 46001080 */ add.s $f2, $f2, $f0 -/* 07CDE0 800E3930 0000202D */ daddu $a0, $zero, $zero -/* 07CDE4 800E3934 44061000 */ mfc1 $a2, $f2 -/* 07CDE8 800E3938 080390B6 */ j .L800E42D8 -/* 07CDEC 800E393C 0080282D */ daddu $a1, $a0, $zero - -/* 07CDF0 800E3940 C6260028 */ lwc1 $f6, 0x28($s1) -/* 07CDF4 800E3944 C620001C */ lwc1 $f0, 0x1c($s1) -/* 07CDF8 800E3948 C624002C */ lwc1 $f4, 0x2c($s1) -/* 07CDFC 800E394C C628001C */ lwc1 $f8, 0x1c($s1) -/* 07CE00 800E3950 46003180 */ add.s $f6, $f6, $f0 -/* 07CE04 800E3954 C6200020 */ lwc1 $f0, 0x20($s1) -/* 07CE08 800E3958 44805000 */ mtc1 $zero, $f10 -/* 07CE0C 800E395C 46002100 */ add.s $f4, $f4, $f0 -/* 07CE10 800E3960 C6220024 */ lwc1 $f2, 0x24($s1) -/* 07CE14 800E3964 C6200030 */ lwc1 $f0, 0x30($s1) -/* 07CE18 800E3968 460A4032 */ c.eq.s $f8, $f10 -/* 07CE1C 800E396C 46020000 */ add.s $f0, $f0, $f2 -/* 07CE20 800E3970 E6260028 */ swc1 $f6, 0x28($s1) -/* 07CE24 800E3974 E624002C */ swc1 $f4, 0x2c($s1) -/* 07CE28 800E3978 4500000A */ bc1f .L800E39A4 -/* 07CE2C 800E397C E6200030 */ swc1 $f0, 0x30($s1) -/* 07CE30 800E3980 C6200020 */ lwc1 $f0, 0x20($s1) -/* 07CE34 800E3984 460A0032 */ c.eq.s $f0, $f10 -/* 07CE38 800E3988 00000000 */ nop -/* 07CE3C 800E398C 45000005 */ bc1f .L800E39A4 -/* 07CE40 800E3990 46001006 */ mov.s $f0, $f2 -/* 07CE44 800E3994 460A0032 */ c.eq.s $f0, $f10 -/* 07CE48 800E3998 00000000 */ nop -/* 07CE4C 800E399C 45010009 */ bc1t .L800E39C4 -/* 07CE50 800E39A0 00000000 */ nop -.L800E39A4: -/* 07CE54 800E39A4 C6200028 */ lwc1 $f0, 0x28($s1) -/* 07CE58 800E39A8 C622002C */ lwc1 $f2, 0x2c($s1) -/* 07CE5C 800E39AC C6240030 */ lwc1 $f4, 0x30($s1) -/* 07CE60 800E39B0 3C02800B */ lui $v0, 0x800b -/* 07CE64 800E39B4 24421D80 */ addiu $v0, $v0, 0x1d80 -/* 07CE68 800E39B8 E4400060 */ swc1 $f0, 0x60($v0) -/* 07CE6C 800E39BC E4420064 */ swc1 $f2, 0x64($v0) -/* 07CE70 800E39C0 E4440068 */ swc1 $f4, 0x68($v0) -.L800E39C4: -/* 07CE74 800E39C4 C6260028 */ lwc1 $f6, 0x28($s1) -/* 07CE78 800E39C8 C628002C */ lwc1 $f8, 0x2c($s1) -/* 07CE7C 800E39CC C6220054 */ lwc1 $f2, 0x54($s1) -/* 07CE80 800E39D0 44800000 */ mtc1 $zero, $f0 -/* 07CE84 800E39D4 C6240030 */ lwc1 $f4, 0x30($s1) -/* 07CE88 800E39D8 46001032 */ c.eq.s $f2, $f0 -/* 07CE8C 800E39DC E7A60020 */ swc1 $f6, 0x20($sp) -/* 07CE90 800E39E0 E7A80024 */ swc1 $f8, 0x24($sp) -/* 07CE94 800E39E4 45010004 */ bc1t .L800E39F8 -/* 07CE98 800E39E8 E7A40028 */ swc1 $f4, 0x28($sp) -/* 07CE9C 800E39EC C6200080 */ lwc1 $f0, 0x80($s1) -/* 07CEA0 800E39F0 08038E90 */ j .L800E3A40 -/* 07CEA4 800E39F4 E7A0002C */ swc1 $f0, 0x2c($sp) - -.L800E39F8: -/* 07CEA8 800E39F8 3C038007 */ lui $v1, 0x8007 -/* 07CEAC 800E39FC 8C637410 */ lw $v1, 0x7410($v1) -/* 07CEB0 800E3A00 C62000A8 */ lwc1 $f0, 0xa8($s1) -/* 07CEB4 800E3A04 3C0142B4 */ lui $at, 0x42b4 -/* 07CEB8 800E3A08 44811000 */ mtc1 $at, $f2 -/* 07CEBC 800E3A0C 00031080 */ sll $v0, $v1, 2 -/* 07CEC0 800E3A10 00431021 */ addu $v0, $v0, $v1 -/* 07CEC4 800E3A14 00021080 */ sll $v0, $v0, 2 -/* 07CEC8 800E3A18 00431023 */ subu $v0, $v0, $v1 -/* 07CECC 800E3A1C 000218C0 */ sll $v1, $v0, 3 -/* 07CED0 800E3A20 00431021 */ addu $v0, $v0, $v1 -/* 07CED4 800E3A24 000210C0 */ sll $v0, $v0, 3 -/* 07CED8 800E3A28 46020001 */ sub.s $f0, $f0, $f2 -/* 07CEDC 800E3A2C 3C01800B */ lui $at, 0x800b -/* 07CEE0 800E3A30 00220821 */ addu $at, $at, $v0 -/* 07CEE4 800E3A34 C4221DEC */ lwc1 $f2, 0x1dec($at) -/* 07CEE8 800E3A38 46020000 */ add.s $f0, $f0, $f2 -/* 07CEEC 800E3A3C E7A0002C */ swc1 $f0, 0x2c($sp) -.L800E3A40: -/* 07CEF0 800E3A40 862200B2 */ lh $v0, 0xb2($s1) -/* 07CEF4 800E3A44 3C013F00 */ lui $at, 0x3f00 -/* 07CEF8 800E3A48 44811000 */ mtc1 $at, $f2 -/* 07CEFC 800E3A4C 44820000 */ mtc1 $v0, $f0 -/* 07CF00 800E3A50 00000000 */ nop -/* 07CF04 800E3A54 46800020 */ cvt.s.w $f0, $f0 -/* 07CF08 800E3A58 46020002 */ mul.s $f0, $f0, $f2 -/* 07CF0C 800E3A5C 00000000 */ nop -/* 07CF10 800E3A60 0220202D */ daddu $a0, $s1, $zero -/* 07CF14 800E3A64 27A50020 */ addiu $a1, $sp, 0x20 -/* 07CF18 800E3A68 27A60024 */ addiu $a2, $sp, 0x24 -/* 07CF1C 800E3A6C E7A00010 */ swc1 $f0, 0x10($sp) -/* 07CF20 800E3A70 C7A0002C */ lwc1 $f0, 0x2c($sp) -/* 07CF24 800E3A74 27A70028 */ addiu $a3, $sp, 0x28 -/* 07CF28 800E3A78 0C037D18 */ jal test_player_lateral -/* 07CF2C 800E3A7C E7A00014 */ swc1 $f0, 0x14($sp) -/* 07CF30 800E3A80 C620001C */ lwc1 $f0, 0x1c($s1) -/* 07CF34 800E3A84 44801000 */ mtc1 $zero, $f2 -/* 07CF38 800E3A88 00000000 */ nop -/* 07CF3C 800E3A8C 46020032 */ c.eq.s $f0, $f2 -/* 07CF40 800E3A90 00000000 */ nop -/* 07CF44 800E3A94 4500000B */ bc1f .L800E3AC4 -/* 07CF48 800E3A98 A6820012 */ sh $v0, 0x12($s4) -/* 07CF4C 800E3A9C C6200020 */ lwc1 $f0, 0x20($s1) -/* 07CF50 800E3AA0 46020032 */ c.eq.s $f0, $f2 -/* 07CF54 800E3AA4 00000000 */ nop -/* 07CF58 800E3AA8 45000006 */ bc1f .L800E3AC4 -/* 07CF5C 800E3AAC 00000000 */ nop -/* 07CF60 800E3AB0 C6200024 */ lwc1 $f0, 0x24($s1) -/* 07CF64 800E3AB4 46020032 */ c.eq.s $f0, $f2 -/* 07CF68 800E3AB8 00000000 */ nop -/* 07CF6C 800E3ABC 45010208 */ bc1t .L800E42E0 -/* 07CF70 800E3AC0 00000000 */ nop -.L800E3AC4: -/* 07CF74 800E3AC4 3C038007 */ lui $v1, 0x8007 -/* 07CF78 800E3AC8 8C637410 */ lw $v1, 0x7410($v1) -/* 07CF7C 800E3ACC C62200A8 */ lwc1 $f2, 0xa8($s1) -/* 07CF80 800E3AD0 3C0142B4 */ lui $at, 0x42b4 -/* 07CF84 800E3AD4 44810000 */ mtc1 $at, $f0 -/* 07CF88 800E3AD8 00031080 */ sll $v0, $v1, 2 -/* 07CF8C 800E3ADC 00431021 */ addu $v0, $v0, $v1 -/* 07CF90 800E3AE0 00021080 */ sll $v0, $v0, 2 -/* 07CF94 800E3AE4 00431023 */ subu $v0, $v0, $v1 -/* 07CF98 800E3AE8 000218C0 */ sll $v1, $v0, 3 -/* 07CF9C 800E3AEC 00431021 */ addu $v0, $v0, $v1 -/* 07CFA0 800E3AF0 000210C0 */ sll $v0, $v0, 3 -/* 07CFA4 800E3AF4 46001081 */ sub.s $f2, $f2, $f0 -/* 07CFA8 800E3AF8 3C01800B */ lui $at, 0x800b -/* 07CFAC 800E3AFC 00220821 */ addu $at, $at, $v0 -/* 07CFB0 800E3B00 C4201DEC */ lwc1 $f0, 0x1dec($at) -/* 07CFB4 800E3B04 46001080 */ add.s $f2, $f2, $f0 -/* 07CFB8 800E3B08 0000202D */ daddu $a0, $zero, $zero -/* 07CFBC 800E3B0C 44061000 */ mfc1 $a2, $f2 -/* 07CFC0 800E3B10 080390B6 */ j .L800E42D8 -/* 07CFC4 800E3B14 0080282D */ daddu $a1, $a0, $zero - -.L800E3B18: -/* 07CFC8 800E3B18 8E220000 */ lw $v0, ($s1) -/* 07CFCC 800E3B1C 30420008 */ andi $v0, $v0, 8 -/* 07CFD0 800E3B20 144001EF */ bnez $v0, .L800E42E0 -/* 07CFD4 800E3B24 3C030080 */ lui $v1, 0x80 -/* 07CFD8 800E3B28 8E220000 */ lw $v0, ($s1) -/* 07CFDC 800E3B2C 34632000 */ ori $v1, $v1, 0x2000 -/* 07CFE0 800E3B30 00431024 */ and $v0, $v0, $v1 -/* 07CFE4 800E3B34 144000AA */ bnez $v0, .L800E3DE0 -/* 07CFE8 800E3B38 AFA00030 */ sw $zero, 0x30($sp) -/* 07CFEC 800E3B3C 27A4002C */ addiu $a0, $sp, 0x2c -/* 07CFF0 800E3B40 0C0388C1 */ jal func_800E2304 -/* 07CFF4 800E3B44 27A50030 */ addiu $a1, $sp, 0x30 -/* 07CFF8 800E3B48 8E220004 */ lw $v0, 4($s1) -/* 07CFFC 800E3B4C 3C030001 */ lui $v1, 1 -/* 07D000 800E3B50 00431024 */ and $v0, $v0, $v1 -/* 07D004 800E3B54 1440002C */ bnez $v0, .L800E3C08 -/* 07D008 800E3B58 00000000 */ nop -/* 07D00C 800E3B5C C7A20030 */ lwc1 $f2, 0x30($sp) -/* 07D010 800E3B60 3C013D00 */ lui $at, 0x3d00 -/* 07D014 800E3B64 44810000 */ mtc1 $at, $f0 -/* 07D018 800E3B68 00000000 */ nop -/* 07D01C 800E3B6C 46001002 */ mul.s $f0, $f2, $f0 -/* 07D020 800E3B70 00000000 */ nop -/* 07D024 800E3B74 8E220000 */ lw $v0, ($s1) -/* 07D028 800E3B78 30420006 */ andi $v0, $v0, 6 -/* 07D02C 800E3B7C 14400009 */ bnez $v0, .L800E3BA4 -/* 07D030 800E3B80 E7A00030 */ swc1 $f0, 0x30($sp) -/* 07D034 800E3B84 3C013FD0 */ lui $at, 0x3fd0 -/* 07D038 800E3B88 44811800 */ mtc1 $at, $f3 -/* 07D03C 800E3B8C 44801000 */ mtc1 $zero, $f2 -/* 07D040 800E3B90 46000021 */ cvt.d.s $f0, $f0 -/* 07D044 800E3B94 46220002 */ mul.d $f0, $f0, $f2 -/* 07D048 800E3B98 00000000 */ nop -/* 07D04C 800E3B9C 46200020 */ cvt.s.d $f0, $f0 -/* 07D050 800E3BA0 E7A00030 */ swc1 $f0, 0x30($sp) -.L800E3BA4: -/* 07D054 800E3BA4 822300B4 */ lb $v1, 0xb4($s1) -/* 07D058 800E3BA8 24020006 */ addiu $v0, $zero, 6 -/* 07D05C 800E3BAC 1462000A */ bne $v1, $v0, .L800E3BD8 -/* 07D060 800E3BB0 00000000 */ nop -/* 07D064 800E3BB4 C7A00030 */ lwc1 $f0, 0x30($sp) -/* 07D068 800E3BB8 3C013FF8 */ lui $at, 0x3ff8 -/* 07D06C 800E3BBC 44811800 */ mtc1 $at, $f3 -/* 07D070 800E3BC0 44801000 */ mtc1 $zero, $f2 -/* 07D074 800E3BC4 46000021 */ cvt.d.s $f0, $f0 -/* 07D078 800E3BC8 46220002 */ mul.d $f0, $f0, $f2 -/* 07D07C 800E3BCC 00000000 */ nop -/* 07D080 800E3BD0 46200020 */ cvt.s.d $f0, $f0 -/* 07D084 800E3BD4 E7A00030 */ swc1 $f0, 0x30($sp) -.L800E3BD8: -/* 07D088 800E3BD8 8E220000 */ lw $v0, ($s1) -/* 07D08C 800E3BDC 3C030004 */ lui $v1, 4 -/* 07D090 800E3BE0 00431024 */ and $v0, $v0, $v1 -/* 07D094 800E3BE4 10400008 */ beqz $v0, .L800E3C08 -/* 07D098 800E3BE8 00000000 */ nop -/* 07D09C 800E3BEC C7A00030 */ lwc1 $f0, 0x30($sp) -/* 07D0A0 800E3BF0 3C013F00 */ lui $at, 0x3f00 -/* 07D0A4 800E3BF4 44811000 */ mtc1 $at, $f2 -/* 07D0A8 800E3BF8 00000000 */ nop -/* 07D0AC 800E3BFC 46020002 */ mul.s $f0, $f0, $f2 -/* 07D0B0 800E3C00 00000000 */ nop -/* 07D0B4 800E3C04 E7A00030 */ swc1 $f0, 0x30($sp) -.L800E3C08: -/* 07D0B8 800E3C08 C7AC002C */ lwc1 $f12, 0x2c($sp) -/* 07D0BC 800E3C0C 3C0140C9 */ lui $at, 0x40c9 -/* 07D0C0 800E3C10 34210FD0 */ ori $at, $at, 0xfd0 -/* 07D0C4 800E3C14 44810000 */ mtc1 $at, $f0 -/* 07D0C8 800E3C18 00000000 */ nop -/* 07D0CC 800E3C1C 46006302 */ mul.s $f12, $f12, $f0 -/* 07D0D0 800E3C20 00000000 */ nop -/* 07D0D4 800E3C24 27A50034 */ addiu $a1, $sp, 0x34 -/* 07D0D8 800E3C28 3C0143B4 */ lui $at, 0x43b4 -/* 07D0DC 800E3C2C 44810000 */ mtc1 $at, $f0 -/* 07D0E0 800E3C30 27A60038 */ addiu $a2, $sp, 0x38 -/* 07D0E4 800E3C34 0C00A82D */ jal sin_cos_rad -/* 07D0E8 800E3C38 46006303 */ div.s $f12, $f12, $f0 -/* 07D0EC 800E3C3C 822300B4 */ lb $v1, 0xb4($s1) -/* 07D0F0 800E3C40 24020014 */ addiu $v0, $zero, 0x14 -/* 07D0F4 800E3C44 14620014 */ bne $v1, $v0, .L800E3C98 -/* 07D0F8 800E3C48 3C030001 */ lui $v1, 1 -/* 07D0FC 800E3C4C C7A60034 */ lwc1 $f6, 0x34($sp) -/* 07D100 800E3C50 C7A40038 */ lwc1 $f4, 0x38($sp) -/* 07D104 800E3C54 46003085 */ abs.s $f2, $f6 -/* 07D108 800E3C58 46002005 */ abs.s $f0, $f4 -/* 07D10C 800E3C5C 4602003C */ c.lt.s $f0, $f2 -/* 07D110 800E3C60 00000000 */ nop -/* 07D114 800E3C64 45000006 */ bc1f .L800E3C80 -/* 07D118 800E3C68 00000000 */ nop -/* 07D11C 800E3C6C C7A00030 */ lwc1 $f0, 0x30($sp) -/* 07D120 800E3C70 4480A000 */ mtc1 $zero, $f20 -/* 07D124 800E3C74 46060582 */ mul.s $f22, $f0, $f6 -/* 07D128 800E3C78 08038F36 */ j .L800E3CD8 -/* 07D12C 800E3C7C 00000000 */ nop - -.L800E3C80: -/* 07D130 800E3C80 C7A00030 */ lwc1 $f0, 0x30($sp) -/* 07D134 800E3C84 4480B000 */ mtc1 $zero, $f22 -/* 07D138 800E3C88 46000007 */ neg.s $f0, $f0 -/* 07D13C 800E3C8C 46040502 */ mul.s $f20, $f0, $f4 -/* 07D140 800E3C90 08038F36 */ j .L800E3CD8 -/* 07D144 800E3C94 00000000 */ nop - -.L800E3C98: -/* 07D148 800E3C98 8E220004 */ lw $v0, 4($s1) -/* 07D14C 800E3C9C 00431024 */ and $v0, $v0, $v1 -/* 07D150 800E3CA0 1440000A */ bnez $v0, .L800E3CCC -/* 07D154 800E3CA4 00000000 */ nop -/* 07D158 800E3CA8 C7A00030 */ lwc1 $f0, 0x30($sp) -/* 07D15C 800E3CAC C7A20034 */ lwc1 $f2, 0x34($sp) -/* 07D160 800E3CB0 46020582 */ mul.s $f22, $f0, $f2 -/* 07D164 800E3CB4 00000000 */ nop -/* 07D168 800E3CB8 C7A20038 */ lwc1 $f2, 0x38($sp) -/* 07D16C 800E3CBC 46000007 */ neg.s $f0, $f0 -/* 07D170 800E3CC0 46020502 */ mul.s $f20, $f0, $f2 -/* 07D174 800E3CC4 08038F36 */ j .L800E3CD8 -/* 07D178 800E3CC8 00000000 */ nop - -.L800E3CCC: -/* 07D17C 800E3CCC 4480A000 */ mtc1 $zero, $f20 -/* 07D180 800E3CD0 00000000 */ nop -/* 07D184 800E3CD4 4600A586 */ mov.s $f22, $f20 -.L800E3CD8: -/* 07D188 800E3CD8 C62C0080 */ lwc1 $f12, 0x80($s1) -/* 07D18C 800E3CDC 3C0140C9 */ lui $at, 0x40c9 -/* 07D190 800E3CE0 34210FD0 */ ori $at, $at, 0xfd0 -/* 07D194 800E3CE4 44810000 */ mtc1 $at, $f0 -/* 07D198 800E3CE8 00000000 */ nop -/* 07D19C 800E3CEC 46006302 */ mul.s $f12, $f12, $f0 -/* 07D1A0 800E3CF0 00000000 */ nop -/* 07D1A4 800E3CF4 27A50034 */ addiu $a1, $sp, 0x34 -/* 07D1A8 800E3CF8 3C0143B4 */ lui $at, 0x43b4 -/* 07D1AC 800E3CFC 44810000 */ mtc1 $at, $f0 -/* 07D1B0 800E3D00 27A60038 */ addiu $a2, $sp, 0x38 -/* 07D1B4 800E3D04 0C00A82D */ jal sin_cos_rad -/* 07D1B8 800E3D08 46006303 */ div.s $f12, $f12, $f0 -/* 07D1BC 800E3D0C C6220054 */ lwc1 $f2, 0x54($s1) -/* 07D1C0 800E3D10 E7A20030 */ swc1 $f2, 0x30($sp) -/* 07D1C4 800E3D14 8E220000 */ lw $v0, ($s1) -/* 07D1C8 800E3D18 3C030004 */ lui $v1, 4 -/* 07D1CC 800E3D1C 00431024 */ and $v0, $v0, $v1 -/* 07D1D0 800E3D20 10400007 */ beqz $v0, .L800E3D40 -/* 07D1D4 800E3D24 00000000 */ nop -/* 07D1D8 800E3D28 3C013F00 */ lui $at, 0x3f00 -/* 07D1DC 800E3D2C 44810000 */ mtc1 $at, $f0 -/* 07D1E0 800E3D30 00000000 */ nop -/* 07D1E4 800E3D34 46001002 */ mul.s $f0, $f2, $f0 -/* 07D1E8 800E3D38 00000000 */ nop -/* 07D1EC 800E3D3C E7A00030 */ swc1 $f0, 0x30($sp) -.L800E3D40: -/* 07D1F0 800E3D40 C7A40030 */ lwc1 $f4, 0x30($sp) -/* 07D1F4 800E3D44 C7A20034 */ lwc1 $f2, 0x34($sp) -/* 07D1F8 800E3D48 46022082 */ mul.s $f2, $f4, $f2 -/* 07D1FC 800E3D4C 00000000 */ nop -/* 07D200 800E3D50 C7A00038 */ lwc1 $f0, 0x38($sp) -/* 07D204 800E3D54 46002102 */ mul.s $f4, $f4, $f0 -/* 07D208 800E3D58 00000000 */ nop -/* 07D20C 800E3D5C 4602B080 */ add.s $f2, $f22, $f2 -/* 07D210 800E3D60 4604A101 */ sub.s $f4, $f20, $f4 -/* 07D214 800E3D64 44806000 */ mtc1 $zero, $f12 -/* 07D218 800E3D68 44061000 */ mfc1 $a2, $f2 -/* 07D21C 800E3D6C 44072000 */ mfc1 $a3, $f4 -/* 07D220 800E3D70 46006386 */ mov.s $f14, $f12 -/* 07D224 800E3D74 AFA60020 */ sw $a2, 0x20($sp) -/* 07D228 800E3D78 0C00A720 */ jal atan2 -/* 07D22C 800E3D7C AFA70028 */ sw $a3, 0x28($sp) -/* 07D230 800E3D80 C7A40020 */ lwc1 $f4, 0x20($sp) -/* 07D234 800E3D84 46042102 */ mul.s $f4, $f4, $f4 -/* 07D238 800E3D88 00000000 */ nop -/* 07D23C 800E3D8C C7A20028 */ lwc1 $f2, 0x28($sp) -/* 07D240 800E3D90 46021082 */ mul.s $f2, $f2, $f2 -/* 07D244 800E3D94 00000000 */ nop -/* 07D248 800E3D98 46022300 */ add.s $f12, $f4, $f2 -/* 07D24C 800E3D9C E7A0002C */ swc1 $f0, 0x2c($sp) -/* 07D250 800E3DA0 46006004 */ sqrt.s $f0, $f12 -/* 07D254 800E3DA4 46000032 */ c.eq.s $f0, $f0 -/* 07D258 800E3DA8 00000000 */ nop -/* 07D25C 800E3DAC 45010003 */ bc1t .L800E3DBC -/* 07D260 800E3DB0 00000000 */ nop -/* 07D264 800E3DB4 0C0187BC */ jal sqrtf -/* 07D268 800E3DB8 00000000 */ nop -.L800E3DBC: -/* 07D26C 800E3DBC 8E220000 */ lw $v0, ($s1) -/* 07D270 800E3DC0 30420006 */ andi $v0, $v0, 6 -/* 07D274 800E3DC4 10400006 */ beqz $v0, .L800E3DE0 -/* 07D278 800E3DC8 E7A00030 */ swc1 $f0, 0x30($sp) -/* 07D27C 800E3DCC C622005C */ lwc1 $f2, 0x5c($s1) -/* 07D280 800E3DD0 4600103C */ c.lt.s $f2, $f0 -/* 07D284 800E3DD4 00000000 */ nop -/* 07D288 800E3DD8 45030001 */ bc1tl .L800E3DE0 -/* 07D28C 800E3DDC E7A20030 */ swc1 $f2, 0x30($sp) -.L800E3DE0: -/* 07D290 800E3DE0 C6240028 */ lwc1 $f4, 0x28($s1) -/* 07D294 800E3DE4 C620001C */ lwc1 $f0, 0x1c($s1) -/* 07D298 800E3DE8 C6220030 */ lwc1 $f2, 0x30($s1) -/* 07D29C 800E3DEC 46002100 */ add.s $f4, $f4, $f0 -/* 07D2A0 800E3DF0 C6200024 */ lwc1 $f0, 0x24($s1) -/* 07D2A4 800E3DF4 862200C0 */ lh $v0, 0xc0($s1) -/* 07D2A8 800E3DF8 46001080 */ add.s $f2, $f2, $f0 -/* 07D2AC 800E3DFC E6240028 */ swc1 $f4, 0x28($s1) -/* 07D2B0 800E3E00 14400005 */ bnez $v0, .L800E3E18 -/* 07D2B4 800E3E04 E6220030 */ swc1 $f2, 0x30($s1) -/* 07D2B8 800E3E08 C620002C */ lwc1 $f0, 0x2c($s1) -/* 07D2BC 800E3E0C C6220020 */ lwc1 $f2, 0x20($s1) -/* 07D2C0 800E3E10 46020000 */ add.s $f0, $f0, $f2 -/* 07D2C4 800E3E14 E620002C */ swc1 $f0, 0x2c($s1) -.L800E3E18: -/* 07D2C8 800E3E18 C620001C */ lwc1 $f0, 0x1c($s1) -/* 07D2CC 800E3E1C 44801000 */ mtc1 $zero, $f2 -/* 07D2D0 800E3E20 00000000 */ nop -/* 07D2D4 800E3E24 46020032 */ c.eq.s $f0, $f2 -/* 07D2D8 800E3E28 00000000 */ nop -/* 07D2DC 800E3E2C 4500000B */ bc1f .L800E3E5C -/* 07D2E0 800E3E30 00000000 */ nop -/* 07D2E4 800E3E34 C6200020 */ lwc1 $f0, 0x20($s1) -/* 07D2E8 800E3E38 46020032 */ c.eq.s $f0, $f2 -/* 07D2EC 800E3E3C 00000000 */ nop -/* 07D2F0 800E3E40 45000006 */ bc1f .L800E3E5C -/* 07D2F4 800E3E44 00000000 */ nop -/* 07D2F8 800E3E48 C6200024 */ lwc1 $f0, 0x24($s1) -/* 07D2FC 800E3E4C 46020032 */ c.eq.s $f0, $f2 -/* 07D300 800E3E50 00000000 */ nop -/* 07D304 800E3E54 4501000A */ bc1t .L800E3E80 -/* 07D308 800E3E58 0220202D */ daddu $a0, $s1, $zero -.L800E3E5C: -/* 07D30C 800E3E5C C6200028 */ lwc1 $f0, 0x28($s1) -/* 07D310 800E3E60 C622002C */ lwc1 $f2, 0x2c($s1) -/* 07D314 800E3E64 C6240030 */ lwc1 $f4, 0x30($s1) -/* 07D318 800E3E68 3C02800B */ lui $v0, 0x800b -/* 07D31C 800E3E6C 24421D80 */ addiu $v0, $v0, 0x1d80 -/* 07D320 800E3E70 E4400060 */ swc1 $f0, 0x60($v0) -/* 07D324 800E3E74 E4420064 */ swc1 $f2, 0x64($v0) -/* 07D328 800E3E78 E4440068 */ swc1 $f4, 0x68($v0) -/* 07D32C 800E3E7C 0220202D */ daddu $a0, $s1, $zero -.L800E3E80: -/* 07D330 800E3E80 27B30020 */ addiu $s3, $sp, 0x20 -/* 07D334 800E3E84 0260282D */ daddu $a1, $s3, $zero -/* 07D338 800E3E88 27B00024 */ addiu $s0, $sp, 0x24 -/* 07D33C 800E3E8C 0200302D */ daddu $a2, $s0, $zero -/* 07D340 800E3E90 27B20028 */ addiu $s2, $sp, 0x28 -/* 07D344 800E3E94 0240382D */ daddu $a3, $s2, $zero -/* 07D348 800E3E98 862200B2 */ lh $v0, 0xb2($s1) -/* 07D34C 800E3E9C C6240028 */ lwc1 $f4, 0x28($s1) -/* 07D350 800E3EA0 C626002C */ lwc1 $f6, 0x2c($s1) -/* 07D354 800E3EA4 C6280030 */ lwc1 $f8, 0x30($s1) -/* 07D358 800E3EA8 3C013F00 */ lui $at, 0x3f00 -/* 07D35C 800E3EAC 4481B000 */ mtc1 $at, $f22 -/* 07D360 800E3EB0 C6220080 */ lwc1 $f2, 0x80($s1) -/* 07D364 800E3EB4 44820000 */ mtc1 $v0, $f0 -/* 07D368 800E3EB8 00000000 */ nop -/* 07D36C 800E3EBC 46800020 */ cvt.s.w $f0, $f0 -/* 07D370 800E3EC0 46160002 */ mul.s $f0, $f0, $f22 -/* 07D374 800E3EC4 00000000 */ nop -/* 07D378 800E3EC8 E7A40020 */ swc1 $f4, 0x20($sp) -/* 07D37C 800E3ECC E7A60024 */ swc1 $f6, 0x24($sp) -/* 07D380 800E3ED0 E7A80028 */ swc1 $f8, 0x28($sp) -/* 07D384 800E3ED4 E7A20014 */ swc1 $f2, 0x14($sp) -/* 07D388 800E3ED8 0C037D18 */ jal test_player_lateral -/* 07D38C 800E3EDC E7A00010 */ swc1 $f0, 0x10($sp) -/* 07D390 800E3EE0 C7A20030 */ lwc1 $f2, 0x30($sp) -/* 07D394 800E3EE4 44800000 */ mtc1 $zero, $f0 -/* 07D398 800E3EE8 00000000 */ nop -/* 07D39C 800E3EEC 46001032 */ c.eq.s $f2, $f0 -/* 07D3A0 800E3EF0 00000000 */ nop -/* 07D3A4 800E3EF4 45020045 */ bc1fl .L800E400C -/* 07D3A8 800E3EF8 A6820012 */ sh $v0, 0x12($s4) -/* 07D3AC 800E3EFC 04430043 */ bgezl $v0, .L800E400C -/* 07D3B0 800E3F00 A6820012 */ sh $v0, 0x12($s4) -/* 07D3B4 800E3F04 3C038007 */ lui $v1, 0x8007 -/* 07D3B8 800E3F08 8C637410 */ lw $v1, 0x7410($v1) -/* 07D3BC 800E3F0C C62200A8 */ lwc1 $f2, 0xa8($s1) -/* 07D3C0 800E3F10 3C0142B4 */ lui $at, 0x42b4 -/* 07D3C4 800E3F14 44810000 */ mtc1 $at, $f0 -/* 07D3C8 800E3F18 00031080 */ sll $v0, $v1, 2 -/* 07D3CC 800E3F1C 00431021 */ addu $v0, $v0, $v1 -/* 07D3D0 800E3F20 00021080 */ sll $v0, $v0, 2 -/* 07D3D4 800E3F24 00431023 */ subu $v0, $v0, $v1 -/* 07D3D8 800E3F28 000218C0 */ sll $v1, $v0, 3 -/* 07D3DC 800E3F2C 00431021 */ addu $v0, $v0, $v1 -/* 07D3E0 800E3F30 000210C0 */ sll $v0, $v0, 3 -/* 07D3E4 800E3F34 46001081 */ sub.s $f2, $f2, $f0 -/* 07D3E8 800E3F38 3C01800B */ lui $at, 0x800b -/* 07D3EC 800E3F3C 00220821 */ addu $at, $at, $v0 -/* 07D3F0 800E3F40 C4201DEC */ lwc1 $f0, 0x1dec($at) -/* 07D3F4 800E3F44 46001500 */ add.s $f20, $f2, $f0 -/* 07D3F8 800E3F48 3C014334 */ lui $at, 0x4334 -/* 07D3FC 800E3F4C 44816000 */ mtc1 $at, $f12 -/* 07D400 800E3F50 00000000 */ nop -/* 07D404 800E3F54 460CA300 */ add.s $f12, $f20, $f12 -/* 07D408 800E3F58 3C0140C9 */ lui $at, 0x40c9 -/* 07D40C 800E3F5C 34210FD0 */ ori $at, $at, 0xfd0 -/* 07D410 800E3F60 44810000 */ mtc1 $at, $f0 -/* 07D414 800E3F64 00000000 */ nop -/* 07D418 800E3F68 46006302 */ mul.s $f12, $f12, $f0 -/* 07D41C 800E3F6C 00000000 */ nop -/* 07D420 800E3F70 27A50034 */ addiu $a1, $sp, 0x34 -/* 07D424 800E3F74 3C0143B4 */ lui $at, 0x43b4 -/* 07D428 800E3F78 44810000 */ mtc1 $at, $f0 -/* 07D42C 800E3F7C 27A60038 */ addiu $a2, $sp, 0x38 -/* 07D430 800E3F80 0C00A82D */ jal sin_cos_rad -/* 07D434 800E3F84 46006303 */ div.s $f12, $f12, $f0 -/* 07D438 800E3F88 862200B2 */ lh $v0, 0xb2($s1) -/* 07D43C 800E3F8C C7A60034 */ lwc1 $f6, 0x34($sp) -/* 07D440 800E3F90 44820000 */ mtc1 $v0, $f0 -/* 07D444 800E3F94 00000000 */ nop -/* 07D448 800E3F98 46800020 */ cvt.s.w $f0, $f0 -/* 07D44C 800E3F9C 46003182 */ mul.s $f6, $f6, $f0 -/* 07D450 800E3FA0 00000000 */ nop -/* 07D454 800E3FA4 C7A40038 */ lwc1 $f4, 0x38($sp) -/* 07D458 800E3FA8 46002102 */ mul.s $f4, $f4, $f0 -/* 07D45C 800E3FAC 00000000 */ nop -/* 07D460 800E3FB0 46163182 */ mul.s $f6, $f6, $f22 -/* 07D464 800E3FB4 00000000 */ nop -/* 07D468 800E3FB8 46162102 */ mul.s $f4, $f4, $f22 -/* 07D46C 800E3FBC 00000000 */ nop -/* 07D470 800E3FC0 0220202D */ daddu $a0, $s1, $zero -/* 07D474 800E3FC4 0260282D */ daddu $a1, $s3, $zero -/* 07D478 800E3FC8 C6220028 */ lwc1 $f2, 0x28($s1) -/* 07D47C 800E3FCC 0200302D */ daddu $a2, $s0, $zero -/* 07D480 800E3FD0 46061080 */ add.s $f2, $f2, $f6 -/* 07D484 800E3FD4 C6200030 */ lwc1 $f0, 0x30($s1) -/* 07D488 800E3FD8 C626002C */ lwc1 $f6, 0x2c($s1) -/* 07D48C 800E3FDC 46040001 */ sub.s $f0, $f0, $f4 -/* 07D490 800E3FE0 0240382D */ daddu $a3, $s2, $zero -/* 07D494 800E3FE4 E7A60024 */ swc1 $f6, 0x24($sp) -/* 07D498 800E3FE8 E7A00028 */ swc1 $f0, 0x28($sp) -/* 07D49C 800E3FEC 44820000 */ mtc1 $v0, $f0 -/* 07D4A0 800E3FF0 00000000 */ nop -/* 07D4A4 800E3FF4 46800020 */ cvt.s.w $f0, $f0 -/* 07D4A8 800E3FF8 E7A20020 */ swc1 $f2, 0x20($sp) -/* 07D4AC 800E3FFC E7A00010 */ swc1 $f0, 0x10($sp) -/* 07D4B0 800E4000 0C037D18 */ jal test_player_lateral -/* 07D4B4 800E4004 E7B40014 */ swc1 $f20, 0x14($sp) -/* 07D4B8 800E4008 A6820012 */ sh $v0, 0x12($s4) -.L800E400C: -/* 07D4BC 800E400C 8E220000 */ lw $v0, ($s1) -/* 07D4C0 800E4010 3C030040 */ lui $v1, 0x40 -/* 07D4C4 800E4014 00431024 */ and $v0, $v0, $v1 -/* 07D4C8 800E4018 144000B1 */ bnez $v0, .L800E42E0 -/* 07D4CC 800E401C 24020012 */ addiu $v0, $zero, 0x12 -/* 07D4D0 800E4020 822300B4 */ lb $v1, 0xb4($s1) -/* 07D4D4 800E4024 106200AE */ beq $v1, $v0, .L800E42E0 -/* 07D4D8 800E4028 00000000 */ nop -/* 07D4DC 800E402C C7A60030 */ lwc1 $f6, 0x30($sp) -/* 07D4E0 800E4030 44800000 */ mtc1 $zero, $f0 -/* 07D4E4 800E4034 00000000 */ nop -/* 07D4E8 800E4038 46003032 */ c.eq.s $f6, $f0 -/* 07D4EC 800E403C 00000000 */ nop -/* 07D4F0 800E4040 45000015 */ bc1f .L800E4098 -/* 07D4F4 800E4044 0000202D */ daddu $a0, $zero, $zero -/* 07D4F8 800E4048 3C038007 */ lui $v1, 0x8007 -/* 07D4FC 800E404C 8C637410 */ lw $v1, 0x7410($v1) -/* 07D500 800E4050 C62200A8 */ lwc1 $f2, 0xa8($s1) -/* 07D504 800E4054 3C0142B4 */ lui $at, 0x42b4 -/* 07D508 800E4058 44810000 */ mtc1 $at, $f0 -/* 07D50C 800E405C 00031080 */ sll $v0, $v1, 2 -/* 07D510 800E4060 00431021 */ addu $v0, $v0, $v1 -/* 07D514 800E4064 00021080 */ sll $v0, $v0, 2 -/* 07D518 800E4068 00431023 */ subu $v0, $v0, $v1 -/* 07D51C 800E406C 000218C0 */ sll $v1, $v0, 3 -/* 07D520 800E4070 00431021 */ addu $v0, $v0, $v1 -/* 07D524 800E4074 000210C0 */ sll $v0, $v0, 3 -/* 07D528 800E4078 46001081 */ sub.s $f2, $f2, $f0 -/* 07D52C 800E407C 3C01800B */ lui $at, 0x800b -/* 07D530 800E4080 00220821 */ addu $at, $at, $v0 -/* 07D534 800E4084 C4201DEC */ lwc1 $f0, 0x1dec($at) -/* 07D538 800E4088 46001080 */ add.s $f2, $f2, $f0 -/* 07D53C 800E408C 44061000 */ mfc1 $a2, $f2 -/* 07D540 800E4090 080390B6 */ j .L800E42D8 -/* 07D544 800E4094 0080282D */ daddu $a1, $a0, $zero - -.L800E4098: -/* 07D548 800E4098 C7B4002C */ lwc1 $f20, 0x2c($sp) -/* 07D54C 800E409C C6200028 */ lwc1 $f0, 0x28($s1) -/* 07D550 800E40A0 C6240030 */ lwc1 $f4, 0x30($s1) -/* 07D554 800E40A4 3C014080 */ lui $at, 0x4080 -/* 07D558 800E40A8 4481B000 */ mtc1 $at, $f22 -/* 07D55C 800E40AC C622002C */ lwc1 $f2, 0x2c($s1) -/* 07D560 800E40B0 4606B03C */ c.lt.s $f22, $f6 -/* 07D564 800E40B4 E7A00020 */ swc1 $f0, 0x20($sp) -/* 07D568 800E40B8 E7A40028 */ swc1 $f4, 0x28($sp) -/* 07D56C 800E40BC 45000016 */ bc1f .L800E4118 -/* 07D570 800E40C0 E7A20024 */ swc1 $f2, 0x24($sp) -/* 07D574 800E40C4 0220202D */ daddu $a0, $s1, $zero -/* 07D578 800E40C8 27B00020 */ addiu $s0, $sp, 0x20 -/* 07D57C 800E40CC 0200282D */ daddu $a1, $s0, $zero -/* 07D580 800E40D0 27B20024 */ addiu $s2, $sp, 0x24 -/* 07D584 800E40D4 0240302D */ daddu $a2, $s2, $zero -/* 07D588 800E40D8 27B30028 */ addiu $s3, $sp, 0x28 -/* 07D58C 800E40DC 0260382D */ daddu $a3, $s3, $zero -/* 07D590 800E40E0 E7B60010 */ swc1 $f22, 0x10($sp) -/* 07D594 800E40E4 0C037D18 */ jal test_player_lateral -/* 07D598 800E40E8 E7B40014 */ swc1 $f20, 0x14($sp) -/* 07D59C 800E40EC 04430013 */ bgezl $v0, .L800E413C -/* 07D5A0 800E40F0 A6820000 */ sh $v0, ($s4) -/* 07D5A4 800E40F4 0220202D */ daddu $a0, $s1, $zero -/* 07D5A8 800E40F8 0200282D */ daddu $a1, $s0, $zero -/* 07D5AC 800E40FC C7A00030 */ lwc1 $f0, 0x30($sp) -/* 07D5B0 800E4100 0240302D */ daddu $a2, $s2, $zero -/* 07D5B4 800E4104 46160001 */ sub.s $f0, $f0, $f22 -/* 07D5B8 800E4108 0260382D */ daddu $a3, $s3, $zero -/* 07D5BC 800E410C E7B40014 */ swc1 $f20, 0x14($sp) -/* 07D5C0 800E4110 0803904C */ j .L800E4130 -/* 07D5C4 800E4114 E7A00010 */ swc1 $f0, 0x10($sp) - -.L800E4118: -/* 07D5C8 800E4118 0220202D */ daddu $a0, $s1, $zero -/* 07D5CC 800E411C 27A50020 */ addiu $a1, $sp, 0x20 -/* 07D5D0 800E4120 27A60024 */ addiu $a2, $sp, 0x24 -/* 07D5D4 800E4124 27A70028 */ addiu $a3, $sp, 0x28 -/* 07D5D8 800E4128 E7A60010 */ swc1 $f6, 0x10($sp) -/* 07D5DC 800E412C E7B40014 */ swc1 $f20, 0x14($sp) -.L800E4130: -/* 07D5E0 800E4130 0C037D18 */ jal test_player_lateral -/* 07D5E4 800E4134 00000000 */ nop -/* 07D5E8 800E4138 A6820000 */ sh $v0, ($s4) -.L800E413C: -/* 07D5EC 800E413C C7A00020 */ lwc1 $f0, 0x20($sp) -/* 07D5F0 800E4140 C7A20024 */ lwc1 $f2, 0x24($sp) -/* 07D5F4 800E4144 3C018011 */ lui $at, 0x8011 -/* 07D5F8 800E4148 D436BED8 */ ldc1 $f22, -0x4128($at) -/* 07D5FC 800E414C 4600A521 */ cvt.d.s $f20, $f20 -/* 07D600 800E4150 E7A0003C */ swc1 $f0, 0x3c($sp) -/* 07D604 800E4154 C7A00028 */ lwc1 $f0, 0x28($sp) -/* 07D608 800E4158 4636A301 */ sub.d $f12, $f20, $f22 -/* 07D60C 800E415C E7A20040 */ swc1 $f2, 0x40($sp) -/* 07D610 800E4160 E7A00044 */ swc1 $f0, 0x44($sp) -/* 07D614 800E4164 0C00A6C9 */ jal clamp_angle -/* 07D618 800E4168 46206320 */ cvt.s.d $f12, $f12 -/* 07D61C 800E416C 0000202D */ daddu $a0, $zero, $zero -/* 07D620 800E4170 0220282D */ daddu $a1, $s1, $zero -/* 07D624 800E4174 27A6003C */ addiu $a2, $sp, 0x3c -/* 07D628 800E4178 27A70040 */ addiu $a3, $sp, 0x40 -/* 07D62C 800E417C 27A20044 */ addiu $v0, $sp, 0x44 -/* 07D630 800E4180 E7A0002C */ swc1 $f0, 0x2c($sp) -/* 07D634 800E4184 AFA20010 */ sw $v0, 0x10($sp) -/* 07D638 800E4188 AFA00014 */ sw $zero, 0x14($sp) -/* 07D63C 800E418C 0C037B01 */ jal func_800DEC04 -/* 07D640 800E4190 E7A00018 */ swc1 $f0, 0x18($sp) -/* 07D644 800E4194 C7A00020 */ lwc1 $f0, 0x20($sp) -/* 07D648 800E4198 C7A20028 */ lwc1 $f2, 0x28($sp) -/* 07D64C 800E419C 4636A500 */ add.d $f20, $f20, $f22 -/* 07D650 800E41A0 E7A00048 */ swc1 $f0, 0x48($sp) -/* 07D654 800E41A4 C7A00024 */ lwc1 $f0, 0x24($sp) -/* 07D658 800E41A8 0040802D */ daddu $s0, $v0, $zero -/* 07D65C 800E41AC E7A20050 */ swc1 $f2, 0x50($sp) -/* 07D660 800E41B0 4620A320 */ cvt.s.d $f12, $f20 -/* 07D664 800E41B4 0C00A6C9 */ jal clamp_angle -/* 07D668 800E41B8 E7A0004C */ swc1 $f0, 0x4c($sp) -/* 07D66C 800E41BC 0000202D */ daddu $a0, $zero, $zero -/* 07D670 800E41C0 0220282D */ daddu $a1, $s1, $zero -/* 07D674 800E41C4 27A60048 */ addiu $a2, $sp, 0x48 -/* 07D678 800E41C8 27A7004C */ addiu $a3, $sp, 0x4c -/* 07D67C 800E41CC 27A20050 */ addiu $v0, $sp, 0x50 -/* 07D680 800E41D0 E7A0002C */ swc1 $f0, 0x2c($sp) -/* 07D684 800E41D4 AFA20010 */ sw $v0, 0x10($sp) -/* 07D688 800E41D8 AFA00014 */ sw $zero, 0x14($sp) -/* 07D68C 800E41DC 0C037B01 */ jal func_800DEC04 -/* 07D690 800E41E0 E7A00018 */ swc1 $f0, 0x18($sp) -/* 07D694 800E41E4 0601000B */ bgez $s0, .L800E4214 -/* 07D698 800E41E8 00000000 */ nop -/* 07D69C 800E41EC 04410005 */ bgez $v0, .L800E4204 -/* 07D6A0 800E41F0 00000000 */ nop -/* 07D6A4 800E41F4 C7A00020 */ lwc1 $f0, 0x20($sp) -/* 07D6A8 800E41F8 C7A20028 */ lwc1 $f2, 0x28($sp) -/* 07D6AC 800E41FC 0803908A */ j .L800E4228 -/* 07D6B0 800E4200 E6200028 */ swc1 $f0, 0x28($s1) - -.L800E4204: -/* 07D6B4 800E4204 C7A0003C */ lwc1 $f0, 0x3c($sp) -/* 07D6B8 800E4208 C7A20044 */ lwc1 $f2, 0x44($sp) -/* 07D6BC 800E420C 0803908A */ j .L800E4228 -/* 07D6C0 800E4210 E6200028 */ swc1 $f0, 0x28($s1) - -.L800E4214: -/* 07D6C4 800E4214 04410005 */ bgez $v0, .L800E422C -/* 07D6C8 800E4218 00000000 */ nop -/* 07D6CC 800E421C C7A00048 */ lwc1 $f0, 0x48($sp) -/* 07D6D0 800E4220 C7A20050 */ lwc1 $f2, 0x50($sp) -/* 07D6D4 800E4224 E6200028 */ swc1 $f0, 0x28($s1) -.L800E4228: -/* 07D6D8 800E4228 E6220030 */ swc1 $f2, 0x30($s1) -.L800E422C: -/* 07D6DC 800E422C 82220014 */ lb $v0, 0x14($s1) -/* 07D6E0 800E4230 1440002B */ bnez $v0, .L800E42E0 -/* 07D6E4 800E4234 3C030001 */ lui $v1, 1 -/* 07D6E8 800E4238 8E220004 */ lw $v0, 4($s1) -/* 07D6EC 800E423C 00431024 */ and $v0, $v0, $v1 -/* 07D6F0 800E4240 10400004 */ beqz $v0, .L800E4254 -/* 07D6F4 800E4244 0000202D */ daddu $a0, $zero, $zero -/* 07D6F8 800E4248 C6340080 */ lwc1 $f20, 0x80($s1) -/* 07D6FC 800E424C 080390A6 */ j .L800E4298 -/* 07D700 800E4250 00000000 */ nop - -.L800E4254: -/* 07D704 800E4254 3C038007 */ lui $v1, 0x8007 -/* 07D708 800E4258 8C637410 */ lw $v1, 0x7410($v1) -/* 07D70C 800E425C C62200A8 */ lwc1 $f2, 0xa8($s1) -/* 07D710 800E4260 3C0142B4 */ lui $at, 0x42b4 -/* 07D714 800E4264 44810000 */ mtc1 $at, $f0 -/* 07D718 800E4268 00031080 */ sll $v0, $v1, 2 -/* 07D71C 800E426C 00431021 */ addu $v0, $v0, $v1 -/* 07D720 800E4270 00021080 */ sll $v0, $v0, 2 -/* 07D724 800E4274 00431023 */ subu $v0, $v0, $v1 -/* 07D728 800E4278 000218C0 */ sll $v1, $v0, 3 -/* 07D72C 800E427C 00431021 */ addu $v0, $v0, $v1 -/* 07D730 800E4280 000210C0 */ sll $v0, $v0, 3 -/* 07D734 800E4284 46001081 */ sub.s $f2, $f2, $f0 -/* 07D738 800E4288 3C01800B */ lui $at, 0x800b -/* 07D73C 800E428C 00220821 */ addu $at, $at, $v0 -/* 07D740 800E4290 C4201DEC */ lwc1 $f0, 0x1dec($at) -/* 07D744 800E4294 46001500 */ add.s $f20, $f2, $f0 -.L800E4298: -/* 07D748 800E4298 4406A000 */ mfc1 $a2, $f20 -/* 07D74C 800E429C 0C0390C2 */ jal func_800E4308 -/* 07D750 800E42A0 0080282D */ daddu $a1, $a0, $zero -/* 07D754 800E42A4 0441000E */ bgez $v0, .L800E42E0 -/* 07D758 800E42A8 24040001 */ addiu $a0, $zero, 1 -/* 07D75C 800E42AC 862200B0 */ lh $v0, 0xb0($s1) -/* 07D760 800E42B0 3C013F40 */ lui $at, 0x3f40 -/* 07D764 800E42B4 44811000 */ mtc1 $at, $f2 -/* 07D768 800E42B8 44820000 */ mtc1 $v0, $f0 -/* 07D76C 800E42BC 00000000 */ nop -/* 07D770 800E42C0 46800020 */ cvt.s.w $f0, $f0 -/* 07D774 800E42C4 46020002 */ mul.s $f0, $f0, $f2 -/* 07D778 800E42C8 00000000 */ nop -/* 07D77C 800E42CC 4406A000 */ mfc1 $a2, $f20 -/* 07D780 800E42D0 4600040D */ trunc.w.s $f16, $f0 -/* 07D784 800E42D4 44058000 */ mfc1 $a1, $f16 -.L800E42D8: -/* 07D788 800E42D8 0C0390C2 */ jal func_800E4308 -/* 07D78C 800E42DC 00000000 */ nop -.L800E42E0: -/* 07D790 800E42E0 8FBF006C */ lw $ra, 0x6c($sp) -/* 07D794 800E42E4 8FB40068 */ lw $s4, 0x68($sp) -/* 07D798 800E42E8 8FB30064 */ lw $s3, 0x64($sp) -/* 07D79C 800E42EC 8FB20060 */ lw $s2, 0x60($sp) -/* 07D7A0 800E42F0 8FB1005C */ lw $s1, 0x5c($sp) -/* 07D7A4 800E42F4 8FB00058 */ lw $s0, 0x58($sp) -/* 07D7A8 800E42F8 D7B60078 */ ldc1 $f22, 0x78($sp) -/* 07D7AC 800E42FC D7B40070 */ ldc1 $f20, 0x70($sp) -/* 07D7B0 800E4300 03E00008 */ jr $ra -/* 07D7B4 800E4304 27BD0080 */ addiu $sp, $sp, 0x80 - -func_800E4308: -/* 07D7B8 800E4308 27BDFFA0 */ addiu $sp, $sp, -0x60 -/* 07D7BC 800E430C F7B40048 */ sdc1 $f20, 0x48($sp) -/* 07D7C0 800E4310 4480A000 */ mtc1 $zero, $f20 -/* 07D7C4 800E4314 F7B80058 */ sdc1 $f24, 0x58($sp) -/* 07D7C8 800E4318 3C0142B4 */ lui $at, 0x42b4 -/* 07D7CC 800E431C 4481C000 */ mtc1 $at, $f24 -/* 07D7D0 800E4320 AFB40040 */ sw $s4, 0x40($sp) -/* 07D7D4 800E4324 0080A02D */ daddu $s4, $a0, $zero -/* 07D7D8 800E4328 AFB20038 */ sw $s2, 0x38($sp) -/* 07D7DC 800E432C 2412FFFF */ addiu $s2, $zero, -1 -/* 07D7E0 800E4330 AFB10034 */ sw $s1, 0x34($sp) -/* 07D7E4 800E4334 0000882D */ daddu $s1, $zero, $zero -/* 07D7E8 800E4338 AFB00030 */ sw $s0, 0x30($sp) -/* 07D7EC 800E433C 3C10800F */ lui $s0, 0x800f -/* 07D7F0 800E4340 26107B30 */ addiu $s0, $s0, 0x7b30 -/* 07D7F4 800E4344 F7B60050 */ sdc1 $f22, 0x50($sp) -/* 07D7F8 800E4348 4485B000 */ mtc1 $a1, $f22 -/* 07D7FC 800E434C 00000000 */ nop -/* 07D800 800E4350 4680B5A0 */ cvt.s.w $f22, $f22 -/* 07D804 800E4354 AFB3003C */ sw $s3, 0x3c($sp) -/* 07D808 800E4358 27B30028 */ addiu $s3, $sp, 0x28 -/* 07D80C 800E435C AFBF0044 */ sw $ra, 0x44($sp) -.L800E4360: -/* 07D810 800E4360 0280202D */ daddu $a0, $s4, $zero -/* 07D814 800E4364 8E020000 */ lw $v0, ($s0) -/* 07D818 800E4368 27A60020 */ addiu $a2, $sp, 0x20 -/* 07D81C 800E436C 0040182D */ daddu $v1, $v0, $zero -/* 07D820 800E4370 C4440028 */ lwc1 $f4, 0x28($v0) -/* 07D824 800E4374 C440002C */ lwc1 $f0, 0x2c($v0) -/* 07D828 800E4378 C4620030 */ lwc1 $f2, 0x30($v1) -/* 07D82C 800E437C 46160000 */ add.s $f0, $f0, $f22 -/* 07D830 800E4380 E7A40020 */ swc1 $f4, 0x20($sp) -/* 07D834 800E4384 E7A20028 */ swc1 $f2, 0x28($sp) -/* 07D838 800E4388 E7A00024 */ swc1 $f0, 0x24($sp) -/* 07D83C 800E438C AFB30010 */ sw $s3, 0x10($sp) -/* 07D840 800E4390 AFA00014 */ sw $zero, 0x14($sp) -/* 07D844 800E4394 E7B40018 */ swc1 $f20, 0x18($sp) -/* 07D848 800E4398 8E050000 */ lw $a1, ($s0) -/* 07D84C 800E439C 0C037B01 */ jal func_800DEC04 -/* 07D850 800E43A0 27A70024 */ addiu $a3, $sp, 0x24 -/* 07D854 800E43A4 0040182D */ daddu $v1, $v0, $zero -/* 07D858 800E43A8 04630001 */ bgezl $v1, .L800E43B0 -/* 07D85C 800E43AC 0060902D */ daddu $s2, $v1, $zero -.L800E43B0: -/* 07D860 800E43B0 26310001 */ addiu $s1, $s1, 1 -/* 07D864 800E43B4 8E020000 */ lw $v0, ($s0) -/* 07D868 800E43B8 C7A00020 */ lwc1 $f0, 0x20($sp) -/* 07D86C 800E43BC C7A20028 */ lwc1 $f2, 0x28($sp) -/* 07D870 800E43C0 E4400028 */ swc1 $f0, 0x28($v0) -/* 07D874 800E43C4 E4420030 */ swc1 $f2, 0x30($v0) -/* 07D878 800E43C8 2A220004 */ slti $v0, $s1, 4 -/* 07D87C 800E43CC 1440FFE4 */ bnez $v0, .L800E4360 -/* 07D880 800E43D0 4618A500 */ add.s $f20, $f20, $f24 -/* 07D884 800E43D4 0240102D */ daddu $v0, $s2, $zero -/* 07D888 800E43D8 8FBF0044 */ lw $ra, 0x44($sp) -/* 07D88C 800E43DC 8FB40040 */ lw $s4, 0x40($sp) -/* 07D890 800E43E0 8FB3003C */ lw $s3, 0x3c($sp) -/* 07D894 800E43E4 8FB20038 */ lw $s2, 0x38($sp) -/* 07D898 800E43E8 8FB10034 */ lw $s1, 0x34($sp) -/* 07D89C 800E43EC 8FB00030 */ lw $s0, 0x30($sp) -/* 07D8A0 800E43F0 D7B80058 */ ldc1 $f24, 0x58($sp) -/* 07D8A4 800E43F4 D7B60050 */ ldc1 $f22, 0x50($sp) -/* 07D8A8 800E43F8 D7B40048 */ ldc1 $f20, 0x48($sp) -/* 07D8AC 800E43FC 03E00008 */ jr $ra -/* 07D8B0 800E4400 27BD0060 */ addiu $sp, $sp, 0x60 - -func_800E4404: -/* 07D8B4 800E4404 27BDFF98 */ addiu $sp, $sp, -0x68 -/* 07D8B8 800E4408 AFB50044 */ sw $s5, 0x44($sp) -/* 07D8BC 800E440C 8FB50078 */ lw $s5, 0x78($sp) -/* 07D8C0 800E4410 AFB20038 */ sw $s2, 0x38($sp) -/* 07D8C4 800E4414 8FB2007C */ lw $s2, 0x7c($sp) -/* 07D8C8 800E4418 F7B40050 */ sdc1 $f20, 0x50($sp) -/* 07D8CC 800E441C 4480A000 */ mtc1 $zero, $f20 -/* 07D8D0 800E4420 F7B80060 */ sdc1 $f24, 0x60($sp) -/* 07D8D4 800E4424 3C0142B4 */ lui $at, 0x42b4 -/* 07D8D8 800E4428 4481C000 */ mtc1 $at, $f24 -/* 07D8DC 800E442C AFB60048 */ sw $s6, 0x48($sp) -/* 07D8E0 800E4430 0080B02D */ daddu $s6, $a0, $zero -/* 07D8E4 800E4434 AFB3003C */ sw $s3, 0x3c($sp) -/* 07D8E8 800E4438 00E0982D */ daddu $s3, $a3, $zero -/* 07D8EC 800E443C AFB10034 */ sw $s1, 0x34($sp) -/* 07D8F0 800E4440 2411FFFF */ addiu $s1, $zero, -1 -/* 07D8F4 800E4444 AFB00030 */ sw $s0, 0x30($sp) -/* 07D8F8 800E4448 0000802D */ daddu $s0, $zero, $zero -/* 07D8FC 800E444C F7B60058 */ sdc1 $f22, 0x58($sp) -/* 07D900 800E4450 4485B000 */ mtc1 $a1, $f22 -/* 07D904 800E4454 00000000 */ nop -/* 07D908 800E4458 4680B5A0 */ cvt.s.w $f22, $f22 -/* 07D90C 800E445C AFB40040 */ sw $s4, 0x40($sp) -/* 07D910 800E4460 27B40028 */ addiu $s4, $sp, 0x28 -/* 07D914 800E4464 AFBF004C */ sw $ra, 0x4c($sp) -.L800E4468: -/* 07D918 800E4468 C6600000 */ lwc1 $f0, ($s3) -/* 07D91C 800E446C E7A00020 */ swc1 $f0, 0x20($sp) -/* 07D920 800E4470 C6A00000 */ lwc1 $f0, ($s5) -/* 07D924 800E4474 02C0202D */ daddu $a0, $s6, $zero -/* 07D928 800E4478 46160000 */ add.s $f0, $f0, $f22 -/* 07D92C 800E447C 3C05800F */ lui $a1, 0x800f -/* 07D930 800E4480 8CA57B30 */ lw $a1, 0x7b30($a1) -/* 07D934 800E4484 27A60020 */ addiu $a2, $sp, 0x20 -/* 07D938 800E4488 E7A00024 */ swc1 $f0, 0x24($sp) -/* 07D93C 800E448C C6400000 */ lwc1 $f0, ($s2) -/* 07D940 800E4490 27A70024 */ addiu $a3, $sp, 0x24 -/* 07D944 800E4494 E7A00028 */ swc1 $f0, 0x28($sp) -/* 07D948 800E4498 AFB40010 */ sw $s4, 0x10($sp) -/* 07D94C 800E449C AFA00014 */ sw $zero, 0x14($sp) -/* 07D950 800E44A0 0C037B01 */ jal func_800DEC04 -/* 07D954 800E44A4 E7B40018 */ swc1 $f20, 0x18($sp) -/* 07D958 800E44A8 04430001 */ bgezl $v0, .L800E44B0 -/* 07D95C 800E44AC 0040882D */ daddu $s1, $v0, $zero -.L800E44B0: -/* 07D960 800E44B0 26100001 */ addiu $s0, $s0, 1 -/* 07D964 800E44B4 C7A00020 */ lwc1 $f0, 0x20($sp) -/* 07D968 800E44B8 2A020004 */ slti $v0, $s0, 4 -/* 07D96C 800E44BC E6600000 */ swc1 $f0, ($s3) -/* 07D970 800E44C0 C7A00028 */ lwc1 $f0, 0x28($sp) -/* 07D974 800E44C4 4618A500 */ add.s $f20, $f20, $f24 -/* 07D978 800E44C8 1440FFE7 */ bnez $v0, .L800E4468 -/* 07D97C 800E44CC E6400000 */ swc1 $f0, ($s2) -/* 07D980 800E44D0 0220102D */ daddu $v0, $s1, $zero -/* 07D984 800E44D4 8FBF004C */ lw $ra, 0x4c($sp) -/* 07D988 800E44D8 8FB60048 */ lw $s6, 0x48($sp) -/* 07D98C 800E44DC 8FB50044 */ lw $s5, 0x44($sp) -/* 07D990 800E44E0 8FB40040 */ lw $s4, 0x40($sp) -/* 07D994 800E44E4 8FB3003C */ lw $s3, 0x3c($sp) -/* 07D998 800E44E8 8FB20038 */ lw $s2, 0x38($sp) -/* 07D99C 800E44EC 8FB10034 */ lw $s1, 0x34($sp) -/* 07D9A0 800E44F0 8FB00030 */ lw $s0, 0x30($sp) -/* 07D9A4 800E44F4 D7B80060 */ ldc1 $f24, 0x60($sp) -/* 07D9A8 800E44F8 D7B60058 */ ldc1 $f22, 0x58($sp) -/* 07D9AC 800E44FC D7B40050 */ ldc1 $f20, 0x50($sp) -/* 07D9B0 800E4500 03E00008 */ jr $ra -/* 07D9B4 800E4504 27BD0068 */ addiu $sp, $sp, 0x68 - -func_800E4508: -/* 07D9B8 800E4508 27BDFFB0 */ addiu $sp, $sp, -0x50 -/* 07D9BC 800E450C AFB00030 */ sw $s0, 0x30($sp) -/* 07D9C0 800E4510 3C108011 */ lui $s0, 0x8011 -/* 07D9C4 800E4514 2610EFC8 */ addiu $s0, $s0, -0x1038 -/* 07D9C8 800E4518 AFBF0038 */ sw $ra, 0x38($sp) -/* 07D9CC 800E451C AFB10034 */ sw $s1, 0x34($sp) -/* 07D9D0 800E4520 F7B60048 */ sdc1 $f22, 0x48($sp) -/* 07D9D4 800E4524 F7B40040 */ sdc1 $f20, 0x40($sp) -/* 07D9D8 800E4528 C6140064 */ lwc1 $f20, 0x64($s0) -/* 07D9DC 800E452C 4480B000 */ mtc1 $zero, $f22 -/* 07D9E0 800E4530 00000000 */ nop -/* 07D9E4 800E4534 4616A032 */ c.eq.s $f20, $f22 -/* 07D9E8 800E4538 00000000 */ nop -/* 07D9EC 800E453C 45010021 */ bc1t .L800E45C4 -/* 07D9F0 800E4540 0200882D */ daddu $s1, $s0, $zero -/* 07D9F4 800E4544 27A20028 */ addiu $v0, $sp, 0x28 -/* 07D9F8 800E4548 0000202D */ daddu $a0, $zero, $zero -/* 07D9FC 800E454C 0200282D */ daddu $a1, $s0, $zero -/* 07DA00 800E4550 C6000028 */ lwc1 $f0, 0x28($s0) -/* 07DA04 800E4554 C602002C */ lwc1 $f2, 0x2c($s0) -/* 07DA08 800E4558 C6040030 */ lwc1 $f4, 0x30($s0) -/* 07DA0C 800E455C 27A60020 */ addiu $a2, $sp, 0x20 -/* 07DA10 800E4560 E7A00020 */ swc1 $f0, 0x20($sp) -/* 07DA14 800E4564 E7A20024 */ swc1 $f2, 0x24($sp) -/* 07DA18 800E4568 E7A40028 */ swc1 $f4, 0x28($sp) -/* 07DA1C 800E456C C6000088 */ lwc1 $f0, 0x88($s0) -/* 07DA20 800E4570 27A70024 */ addiu $a3, $sp, 0x24 -/* 07DA24 800E4574 AFA20010 */ sw $v0, 0x10($sp) -/* 07DA28 800E4578 E7B40014 */ swc1 $f20, 0x14($sp) -/* 07DA2C 800E457C 0C037B01 */ jal func_800DEC04 -/* 07DA30 800E4580 E7A00018 */ swc1 $f0, 0x18($sp) -/* 07DA34 800E4584 C602005C */ lwc1 $f2, 0x5c($s0) -/* 07DA38 800E4588 3C014120 */ lui $at, 0x4120 -/* 07DA3C 800E458C 44810000 */ mtc1 $at, $f0 -/* 07DA40 800E4590 C7A40024 */ lwc1 $f4, 0x24($sp) -/* 07DA44 800E4594 C7A60028 */ lwc1 $f6, 0x28($sp) -/* 07DA48 800E4598 46001083 */ div.s $f2, $f2, $f0 -/* 07DA4C 800E459C C7A00020 */ lwc1 $f0, 0x20($sp) -/* 07DA50 800E45A0 4602A501 */ sub.s $f20, $f20, $f2 -/* 07DA54 800E45A4 E604002C */ swc1 $f4, 0x2c($s0) -/* 07DA58 800E45A8 E6060030 */ swc1 $f6, 0x30($s0) -/* 07DA5C 800E45AC 4616A03C */ c.lt.s $f20, $f22 -/* 07DA60 800E45B0 00000000 */ nop -/* 07DA64 800E45B4 45000002 */ bc1f .L800E45C0 -/* 07DA68 800E45B8 E6000028 */ swc1 $f0, 0x28($s0) -/* 07DA6C 800E45BC 4600B506 */ mov.s $f20, $f22 -.L800E45C0: -/* 07DA70 800E45C0 E6340064 */ swc1 $f20, 0x64($s1) -.L800E45C4: -/* 07DA74 800E45C4 8FBF0038 */ lw $ra, 0x38($sp) -/* 07DA78 800E45C8 8FB10034 */ lw $s1, 0x34($sp) -/* 07DA7C 800E45CC 8FB00030 */ lw $s0, 0x30($sp) -/* 07DA80 800E45D0 D7B60048 */ ldc1 $f22, 0x48($sp) -/* 07DA84 800E45D4 D7B40040 */ ldc1 $f20, 0x40($sp) -/* 07DA88 800E45D8 03E00008 */ jr $ra -/* 07DA8C 800E45DC 27BD0050 */ addiu $sp, $sp, 0x50 - -func_800E45E0: -/* 07DA90 800E45E0 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 07DA94 800E45E4 AFB00010 */ sw $s0, 0x10($sp) -/* 07DA98 800E45E8 3C108011 */ lui $s0, 0x8011 -/* 07DA9C 800E45EC 2610EFC8 */ addiu $s0, $s0, -0x1038 -/* 07DAA0 800E45F0 AFBF0014 */ sw $ra, 0x14($sp) -/* 07DAA4 800E45F4 0C044181 */ jal get_shadow_by_index -/* 07DAA8 800E45F8 8E0400CC */ lw $a0, 0xcc($s0) -/* 07DAAC 800E45FC 3C068007 */ lui $a2, 0x8007 -/* 07DAB0 800E4600 8CC6419C */ lw $a2, 0x419c($a2) -/* 07DAB4 800E4604 0040202D */ daddu $a0, $v0, $zero -/* 07DAB8 800E4608 84C30086 */ lh $v1, 0x86($a2) -/* 07DABC 800E460C 24020008 */ addiu $v0, $zero, 8 -/* 07DAC0 800E4610 14620028 */ bne $v1, $v0, .L800E46B4 -/* 07DAC4 800E4614 0000282D */ daddu $a1, $zero, $zero -/* 07DAC8 800E4618 C4800030 */ lwc1 $f0, 0x30($a0) -/* 07DACC 800E461C 3C018011 */ lui $at, 0x8011 -/* 07DAD0 800E4620 D422BEE0 */ ldc1 $f2, -0x4120($at) -/* 07DAD4 800E4624 46000021 */ cvt.d.s $f0, $f0 -/* 07DAD8 800E4628 46220000 */ add.d $f0, $f0, $f2 -/* 07DADC 800E462C 44801000 */ mtc1 $zero, $f2 -/* 07DAE0 800E4630 46200020 */ cvt.s.d $f0, $f0 -/* 07DAE4 800E4634 46020032 */ c.eq.s $f0, $f2 -/* 07DAE8 800E4638 00000000 */ nop -/* 07DAEC 800E463C 4501001D */ bc1t .L800E46B4 -/* 07DAF0 800E4640 00000000 */ nop -/* 07DAF4 800E4644 84C2008C */ lh $v0, 0x8c($a2) -/* 07DAF8 800E4648 10400005 */ beqz $v0, .L800E4660 -/* 07DAFC 800E464C 24050001 */ addiu $a1, $zero, 1 -/* 07DB00 800E4650 10450009 */ beq $v0, $a1, .L800E4678 -/* 07DB04 800E4654 00000000 */ nop -/* 07DB08 800E4658 080391AD */ j .L800E46B4 -/* 07DB0C 800E465C 00000000 */ nop - -.L800E4660: -/* 07DB10 800E4660 3C0141A0 */ lui $at, 0x41a0 -/* 07DB14 800E4664 44811000 */ mtc1 $at, $f2 -/* 07DB18 800E4668 46000005 */ abs.s $f0, $f0 -/* 07DB1C 800E466C 4602003C */ c.lt.s $f0, $f2 -/* 07DB20 800E4670 080391AB */ j .L800E46AC -/* 07DB24 800E4674 00000000 */ nop - -.L800E4678: -/* 07DB28 800E4678 C6020028 */ lwc1 $f2, 0x28($s0) -/* 07DB2C 800E467C 3C01C396 */ lui $at, 0xc396 -/* 07DB30 800E4680 44810000 */ mtc1 $at, $f0 -/* 07DB34 800E4684 00000000 */ nop -/* 07DB38 800E4688 4602003E */ c.le.s $f0, $f2 -/* 07DB3C 800E468C 00000000 */ nop -/* 07DB40 800E4690 45000008 */ bc1f .L800E46B4 -/* 07DB44 800E4694 00000000 */ nop -/* 07DB48 800E4698 3C01C30C */ lui $at, 0xc30c -/* 07DB4C 800E469C 44810000 */ mtc1 $at, $f0 -/* 07DB50 800E46A0 00000000 */ nop -/* 07DB54 800E46A4 4600103E */ c.le.s $f2, $f0 -/* 07DB58 800E46A8 00000000 */ nop -.L800E46AC: -/* 07DB5C 800E46AC 45030001 */ bc1tl .L800E46B4 -/* 07DB60 800E46B0 0000282D */ daddu $a1, $zero, $zero -.L800E46B4: -/* 07DB64 800E46B4 8FBF0014 */ lw $ra, 0x14($sp) -/* 07DB68 800E46B8 8FB00010 */ lw $s0, 0x10($sp) -/* 07DB6C 800E46BC 00A0102D */ daddu $v0, $a1, $zero -/* 07DB70 800E46C0 03E00008 */ jr $ra -/* 07DB74 800E46C4 27BD0018 */ addiu $sp, $sp, 0x18 - -/* 07DB78 800E46C8 3C048011 */ lui $a0, 0x8011 -/* 07DB7C 800E46CC 8C84F094 */ lw $a0, -0xf6c($a0) -/* 07DB80 800E46D0 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 07DB84 800E46D4 AFBF0010 */ sw $ra, 0x10($sp) -/* 07DB88 800E46D8 0C044181 */ jal get_shadow_by_index -/* 07DB8C 800E46DC 00000000 */ nop -/* 07DB90 800E46E0 C4400030 */ lwc1 $f0, 0x30($v0) -/* 07DB94 800E46E4 3C018011 */ lui $at, 0x8011 -/* 07DB98 800E46E8 D424BEE8 */ ldc1 $f4, -0x4118($at) -/* 07DB9C 800E46EC C4420028 */ lwc1 $f2, 0x28($v0) -/* 07DBA0 800E46F0 46000021 */ cvt.d.s $f0, $f0 -/* 07DBA4 800E46F4 46240000 */ add.d $f0, $f0, $f4 -/* 07DBA8 800E46F8 24020001 */ addiu $v0, $zero, 1 -/* 07DBAC 800E46FC 460010A1 */ cvt.d.s $f2, $f2 -/* 07DBB0 800E4700 46241080 */ add.d $f2, $f2, $f4 -/* 07DBB4 800E4704 3C0141A0 */ lui $at, 0x41a0 -/* 07DBB8 800E4708 44812000 */ mtc1 $at, $f4 -/* 07DBBC 800E470C 46200020 */ cvt.s.d $f0, $f0 -/* 07DBC0 800E4710 46000005 */ abs.s $f0, $f0 -/* 07DBC4 800E4714 4604003C */ c.lt.s $f0, $f4 -/* 07DBC8 800E4718 00000000 */ nop -/* 07DBCC 800E471C 45000006 */ bc1f .L800E4738 -/* 07DBD0 800E4720 46201020 */ cvt.s.d $f0, $f2 -/* 07DBD4 800E4724 46000005 */ abs.s $f0, $f0 -/* 07DBD8 800E4728 4604003C */ c.lt.s $f0, $f4 -/* 07DBDC 800E472C 00000000 */ nop -/* 07DBE0 800E4730 45030001 */ bc1tl .L800E4738 -/* 07DBE4 800E4734 0000102D */ daddu $v0, $zero, $zero -.L800E4738: -/* 07DBE8 800E4738 8FBF0010 */ lw $ra, 0x10($sp) -/* 07DBEC 800E473C 03E00008 */ jr $ra -/* 07DBF0 800E4740 27BD0018 */ addiu $sp, $sp, 0x18 - -func_800E4744: -/* 07DBF4 800E4744 27BDFF88 */ addiu $sp, $sp, -0x78 -/* 07DBF8 800E4748 AFB00048 */ sw $s0, 0x48($sp) -/* 07DBFC 800E474C 3C108011 */ lui $s0, 0x8011 -/* 07DC00 800E4750 2610EFC8 */ addiu $s0, $s0, -0x1038 -/* 07DC04 800E4754 0200202D */ daddu $a0, $s0, $zero -/* 07DC08 800E4758 27A50028 */ addiu $a1, $sp, 0x28 -/* 07DC0C 800E475C 27A6002C */ addiu $a2, $sp, 0x2c -/* 07DC10 800E4760 AFBF005C */ sw $ra, 0x5c($sp) -/* 07DC14 800E4764 AFB40058 */ sw $s4, 0x58($sp) -/* 07DC18 800E4768 AFB30054 */ sw $s3, 0x54($sp) -/* 07DC1C 800E476C AFB20050 */ sw $s2, 0x50($sp) -/* 07DC20 800E4770 AFB1004C */ sw $s1, 0x4c($sp) -/* 07DC24 800E4774 F7B80070 */ sdc1 $f24, 0x70($sp) -/* 07DC28 800E4778 F7B60068 */ sdc1 $f22, 0x68($sp) -/* 07DC2C 800E477C F7B40060 */ sdc1 $f20, 0x60($sp) -/* 07DC30 800E4780 860200B0 */ lh $v0, 0xb0($s0) -/* 07DC34 800E4784 3C013F00 */ lui $at, 0x3f00 -/* 07DC38 800E4788 4481A000 */ mtc1 $at, $f20 -/* 07DC3C 800E478C C6000028 */ lwc1 $f0, 0x28($s0) -/* 07DC40 800E4790 44822000 */ mtc1 $v0, $f4 -/* 07DC44 800E4794 00000000 */ nop -/* 07DC48 800E4798 46802120 */ cvt.s.w $f4, $f4 -/* 07DC4C 800E479C 46142582 */ mul.s $f22, $f4, $f20 -/* 07DC50 800E47A0 00000000 */ nop -/* 07DC54 800E47A4 27A70030 */ addiu $a3, $sp, 0x30 -/* 07DC58 800E47A8 E7A00028 */ swc1 $f0, 0x28($sp) -/* 07DC5C 800E47AC C600002C */ lwc1 $f0, 0x2c($s0) -/* 07DC60 800E47B0 C6020030 */ lwc1 $f2, 0x30($s0) -/* 07DC64 800E47B4 46160000 */ add.s $f0, $f0, $f22 -/* 07DC68 800E47B8 27A20034 */ addiu $v0, $sp, 0x34 -/* 07DC6C 800E47BC E7A40034 */ swc1 $f4, 0x34($sp) -/* 07DC70 800E47C0 E7A0002C */ swc1 $f0, 0x2c($sp) -/* 07DC74 800E47C4 3C0140E0 */ lui $at, 0x40e0 -/* 07DC78 800E47C8 44810000 */ mtc1 $at, $f0 -/* 07DC7C 800E47CC 46042100 */ add.s $f4, $f4, $f4 -/* 07DC80 800E47D0 E7A20030 */ swc1 $f2, 0x30($sp) -/* 07DC84 800E47D4 AFA20010 */ sw $v0, 0x10($sp) -/* 07DC88 800E47D8 27A20038 */ addiu $v0, $sp, 0x38 -/* 07DC8C 800E47DC AFA20014 */ sw $v0, 0x14($sp) -/* 07DC90 800E47E0 27A2003C */ addiu $v0, $sp, 0x3c -/* 07DC94 800E47E4 AFA20018 */ sw $v0, 0x18($sp) -/* 07DC98 800E47E8 27A20040 */ addiu $v0, $sp, 0x40 -/* 07DC9C 800E47EC AFA2001C */ sw $v0, 0x1c($sp) -/* 07DCA0 800E47F0 27A20044 */ addiu $v0, $sp, 0x44 -/* 07DCA4 800E47F4 AFA20020 */ sw $v0, 0x20($sp) -/* 07DCA8 800E47F8 0C03791B */ jal func_800DE46C -/* 07DCAC 800E47FC 46002603 */ div.s $f24, $f4, $f0 -/* 07DCB0 800E4800 0C00A794 */ jal get_player_normal_pitch -/* 07DCB4 800E4804 0040882D */ daddu $s1, $v0, $zero -/* 07DCB8 800E4808 4614C502 */ mul.s $f20, $f24, $f20 -/* 07DCBC 800E480C 00000000 */ nop -/* 07DCC0 800E4810 3C138011 */ lui $s3, 0x8011 -/* 07DCC4 800E4814 2673EBB0 */ addiu $s3, $s3, -0x1450 -/* 07DCC8 800E4818 C7A20034 */ lwc1 $f2, 0x34($sp) -/* 07DCCC 800E481C 4614B500 */ add.s $f20, $f22, $f20 -/* 07DCD0 800E4820 3C148016 */ lui $s4, 0x8016 -/* 07DCD4 800E4824 2694A550 */ addiu $s4, $s4, -0x5ab0 -/* 07DCD8 800E4828 4602A03C */ c.lt.s $f20, $f2 -/* 07DCDC 800E482C 00000000 */ nop -/* 07DCE0 800E4830 45000002 */ bc1f .L800E483C -/* 07DCE4 800E4834 E6000068 */ swc1 $f0, 0x68($s0) -/* 07DCE8 800E4838 2411FFFF */ addiu $s1, $zero, -1 -.L800E483C: -/* 07DCEC 800E483C 860200C0 */ lh $v0, 0xc0($s0) -/* 07DCF0 800E4840 50400001 */ beql $v0, $zero, .L800E4848 -/* 07DCF4 800E4844 A6910002 */ sh $s1, 2($s4) -.L800E4848: -/* 07DCF8 800E4848 06200005 */ bltz $s1, .L800E4860 -/* 07DCFC 800E484C 00000000 */ nop -/* 07DD00 800E4850 C7A00040 */ lwc1 $f0, 0x40($sp) -/* 07DD04 800E4854 C7A20044 */ lwc1 $f2, 0x44($sp) -/* 07DD08 800E4858 E6000034 */ swc1 $f0, 0x34($s0) -/* 07DD0C 800E485C E6020038 */ swc1 $f2, 0x38($s0) -.L800E4860: -/* 07DD10 800E4860 0C038082 */ jal func_800E0208 -/* 07DD14 800E4864 00000000 */ nop -/* 07DD18 800E4868 14400090 */ bnez $v0, .L800E4AAC -/* 07DD1C 800E486C 00000000 */ nop -/* 07DD20 800E4870 8E030000 */ lw $v1, ($s0) -/* 07DD24 800E4874 3062000E */ andi $v0, $v1, 0xe -/* 07DD28 800E4878 1440008C */ bnez $v0, .L800E4AAC -/* 07DD2C 800E487C 24120011 */ addiu $s2, $zero, 0x11 -/* 07DD30 800E4880 820200B4 */ lb $v0, 0xb4($s0) -/* 07DD34 800E4884 10520089 */ beq $v0, $s2, .L800E4AAC -/* 07DD38 800E4888 30620010 */ andi $v0, $v1, 0x10 -/* 07DD3C 800E488C 1040000C */ beqz $v0, .L800E48C0 -/* 07DD40 800E4890 00000000 */ nop -/* 07DD44 800E4894 0C03954C */ jal func_800E5530 -/* 07DD48 800E4898 00000000 */ nop -/* 07DD4C 800E489C 0C039178 */ jal func_800E45E0 -/* 07DD50 800E48A0 00000000 */ nop -/* 07DD54 800E48A4 10400006 */ beqz $v0, .L800E48C0 -/* 07DD58 800E48A8 00000000 */ nop -/* 07DD5C 800E48AC 0C039769 */ jal set_action_state -/* 07DD60 800E48B0 0240202D */ daddu $a0, $s2, $zero -/* 07DD64 800E48B4 820200B4 */ lb $v0, 0xb4($s0) -/* 07DD68 800E48B8 1052007C */ beq $v0, $s2, .L800E4AAC -/* 07DD6C 800E48BC 00000000 */ nop -.L800E48C0: -/* 07DD70 800E48C0 0620005D */ bltz $s1, .L800E4A38 -/* 07DD74 800E48C4 00000000 */ nop -/* 07DD78 800E48C8 0C016F6A */ jal get_collider_type_by_id -/* 07DD7C 800E48CC 0220202D */ daddu $a0, $s1, $zero -/* 07DD80 800E48D0 304400FF */ andi $a0, $v0, 0xff -/* 07DD84 800E48D4 24020002 */ addiu $v0, $zero, 2 -/* 07DD88 800E48D8 10820005 */ beq $a0, $v0, .L800E48F0 -/* 07DD8C 800E48DC 24020003 */ addiu $v0, $zero, 3 -/* 07DD90 800E48E0 10820011 */ beq $a0, $v0, .L800E4928 -/* 07DD94 800E48E4 0000282D */ daddu $a1, $zero, $zero -/* 07DD98 800E48E8 0803925F */ j .L800E497C -/* 07DD9C 800E48EC 00000000 */ nop - -.L800E48F0: -/* 07DDA0 800E48F0 82620000 */ lb $v0, ($s3) -/* 07DDA4 800E48F4 10400004 */ beqz $v0, .L800E4908 -/* 07DDA8 800E48F8 24020009 */ addiu $v0, $zero, 9 -/* 07DDAC 800E48FC 82630003 */ lb $v1, 3($s3) -/* 07DDB0 800E4900 1062006A */ beq $v1, $v0, .L800E4AAC -/* 07DDB4 800E4904 00000000 */ nop -.L800E4908: -/* 07DDB8 800E4908 86020010 */ lh $v0, 0x10($s0) -/* 07DDBC 800E490C 14400017 */ bnez $v0, .L800E496C -/* 07DDC0 800E4910 24020017 */ addiu $v0, $zero, 0x17 -/* 07DDC4 800E4914 820300B4 */ lb $v1, 0xb4($s0) -/* 07DDC8 800E4918 10620064 */ beq $v1, $v0, .L800E4AAC -/* 07DDCC 800E491C 00000000 */ nop -/* 07DDD0 800E4920 08039257 */ j .L800E495C -/* 07DDD4 800E4924 A20400BF */ sb $a0, 0xbf($s0) - -.L800E4928: -/* 07DDD8 800E4928 82620000 */ lb $v0, ($s3) -/* 07DDDC 800E492C 10400004 */ beqz $v0, .L800E4940 -/* 07DDE0 800E4930 24020009 */ addiu $v0, $zero, 9 -/* 07DDE4 800E4934 82630003 */ lb $v1, 3($s3) -/* 07DDE8 800E4938 1062005C */ beq $v1, $v0, .L800E4AAC -/* 07DDEC 800E493C 00000000 */ nop -.L800E4940: -/* 07DDF0 800E4940 86020010 */ lh $v0, 0x10($s0) -/* 07DDF4 800E4944 14400009 */ bnez $v0, .L800E496C -/* 07DDF8 800E4948 24020017 */ addiu $v0, $zero, 0x17 -/* 07DDFC 800E494C 820300B4 */ lb $v1, 0xb4($s0) -/* 07DE00 800E4950 10620056 */ beq $v1, $v0, .L800E4AAC -/* 07DE04 800E4954 24020001 */ addiu $v0, $zero, 1 -/* 07DE08 800E4958 A20200BF */ sb $v0, 0xbf($s0) -.L800E495C: -/* 07DE0C 800E495C 0C039769 */ jal set_action_state -/* 07DE10 800E4960 24040017 */ addiu $a0, $zero, 0x17 -/* 07DE14 800E4964 080392AB */ j .L800E4AAC -/* 07DE18 800E4968 00000000 */ nop - -.L800E496C: -/* 07DE1C 800E496C 0C039769 */ jal set_action_state -/* 07DE20 800E4970 24040016 */ addiu $a0, $zero, 0x16 -/* 07DE24 800E4974 080392AB */ j .L800E4AAC -/* 07DE28 800E4978 00000000 */ nop - -.L800E497C: -/* 07DE2C 800E497C 96840002 */ lhu $a0, 2($s4) -/* 07DE30 800E4980 30824000 */ andi $v0, $a0, 0x4000 -/* 07DE34 800E4984 10400006 */ beqz $v0, .L800E49A0 -/* 07DE38 800E4988 00000000 */ nop -/* 07DE3C 800E498C 00042400 */ sll $a0, $a0, 0x10 -/* 07DE40 800E4990 0C0441A9 */ jal func_801106A4 -/* 07DE44 800E4994 00042403 */ sra $a0, $a0, 0x10 -/* 07DE48 800E4998 38420030 */ xori $v0, $v0, 0x30 -/* 07DE4C 800E499C 2C450001 */ sltiu $a1, $v0, 1 -.L800E49A0: -/* 07DE50 800E49A0 820300B4 */ lb $v1, 0xb4($s0) -/* 07DE54 800E49A4 24020022 */ addiu $v0, $zero, 0x22 -/* 07DE58 800E49A8 10620040 */ beq $v1, $v0, .L800E4AAC -/* 07DE5C 800E49AC 00000000 */ nop -/* 07DE60 800E49B0 14A0003E */ bnez $a1, .L800E4AAC -/* 07DE64 800E49B4 00000000 */ nop -/* 07DE68 800E49B8 8E020004 */ lw $v0, 4($s0) -/* 07DE6C 800E49BC 30421000 */ andi $v0, $v0, 0x1000 -/* 07DE70 800E49C0 14400017 */ bnez $v0, .L800E4A20 -/* 07DE74 800E49C4 00000000 */ nop -/* 07DE78 800E49C8 C7A4002C */ lwc1 $f4, 0x2c($sp) -/* 07DE7C 800E49CC C600002C */ lwc1 $f0, 0x2c($s0) -/* 07DE80 800E49D0 46002001 */ sub.s $f0, $f4, $f0 -/* 07DE84 800E49D4 3C0140C0 */ lui $at, 0x40c0 -/* 07DE88 800E49D8 44811000 */ mtc1 $at, $f2 -/* 07DE8C 800E49DC 00000000 */ nop -/* 07DE90 800E49E0 4602003C */ c.lt.s $f0, $f2 -/* 07DE94 800E49E4 00000000 */ nop -/* 07DE98 800E49E8 45000003 */ bc1f .L800E49F8 -/* 07DE9C 800E49EC 00000000 */ nop -/* 07DEA0 800E49F0 0803928A */ j .L800E4A28 -/* 07DEA4 800E49F4 E604002C */ swc1 $f4, 0x2c($s0) - -.L800E49F8: -/* 07DEA8 800E49F8 0C039769 */ jal set_action_state -/* 07DEAC 800E49FC 24040022 */ addiu $a0, $zero, 0x22 -/* 07DEB0 800E4A00 C7A0002C */ lwc1 $f0, 0x2c($sp) -/* 07DEB4 800E4A04 C6020080 */ lwc1 $f2, 0x80($s0) -/* 07DEB8 800E4A08 3C018011 */ lui $at, 0x8011 -/* 07DEBC 800E4A0C E420C928 */ swc1 $f0, -0x36d8($at) -/* 07DEC0 800E4A10 3C018011 */ lui $at, 0x8011 -/* 07DEC4 800E4A14 E422C984 */ swc1 $f2, -0x367c($at) -/* 07DEC8 800E4A18 0803928A */ j .L800E4A28 -/* 07DECC 800E4A1C 00000000 */ nop - -.L800E4A20: -/* 07DED0 800E4A20 C7A0002C */ lwc1 $f0, 0x2c($sp) -/* 07DED4 800E4A24 E600002C */ swc1 $f0, 0x2c($s0) -.L800E4A28: -/* 07DED8 800E4A28 0C039538 */ jal func_800E54E0 -/* 07DEDC 800E4A2C 00000000 */ nop -/* 07DEE0 800E4A30 080392AB */ j .L800E4AAC -/* 07DEE4 800E4A34 00000000 */ nop - -.L800E4A38: -/* 07DEE8 800E4A38 8E020000 */ lw $v0, ($s0) -/* 07DEEC 800E4A3C 30420008 */ andi $v0, $v0, 8 -/* 07DEF0 800E4A40 1440001A */ bnez $v0, .L800E4AAC -/* 07DEF4 800E4A44 2402001D */ addiu $v0, $zero, 0x1d -/* 07DEF8 800E4A48 820300B4 */ lb $v1, 0xb4($s0) -/* 07DEFC 800E4A4C 10620017 */ beq $v1, $v0, .L800E4AAC -/* 07DF00 800E4A50 00000000 */ nop -/* 07DF04 800E4A54 4618B080 */ add.s $f2, $f22, $f24 -/* 07DF08 800E4A58 C7A00034 */ lwc1 $f0, 0x34($sp) -/* 07DF0C 800E4A5C 4602003E */ c.le.s $f0, $f2 -/* 07DF10 800E4A60 00000000 */ nop -/* 07DF14 800E4A64 4500000D */ bc1f .L800E4A9C -/* 07DF18 800E4A68 24040008 */ addiu $a0, $zero, 8 -/* 07DF1C 800E4A6C C7A00040 */ lwc1 $f0, 0x40($sp) -/* 07DF20 800E4A70 44801000 */ mtc1 $zero, $f2 -/* 07DF24 800E4A74 00000000 */ nop -/* 07DF28 800E4A78 46020032 */ c.eq.s $f0, $f2 -/* 07DF2C 800E4A7C 00000000 */ nop -/* 07DF30 800E4A80 45000006 */ bc1f .L800E4A9C -/* 07DF34 800E4A84 00000000 */ nop -/* 07DF38 800E4A88 C7A00044 */ lwc1 $f0, 0x44($sp) -/* 07DF3C 800E4A8C 46020032 */ c.eq.s $f0, $f2 -/* 07DF40 800E4A90 00000000 */ nop -/* 07DF44 800E4A94 45030001 */ bc1tl .L800E4A9C -/* 07DF48 800E4A98 24040009 */ addiu $a0, $zero, 9 -.L800E4A9C: -/* 07DF4C 800E4A9C 0C039769 */ jal set_action_state -/* 07DF50 800E4AA0 00000000 */ nop -/* 07DF54 800E4AA4 0C038C1B */ jal func_800E306C -/* 07DF58 800E4AA8 00000000 */ nop -.L800E4AAC: -/* 07DF5C 800E4AAC 8FBF005C */ lw $ra, 0x5c($sp) -/* 07DF60 800E4AB0 8FB40058 */ lw $s4, 0x58($sp) -/* 07DF64 800E4AB4 8FB30054 */ lw $s3, 0x54($sp) -/* 07DF68 800E4AB8 8FB20050 */ lw $s2, 0x50($sp) -/* 07DF6C 800E4ABC 8FB1004C */ lw $s1, 0x4c($sp) -/* 07DF70 800E4AC0 8FB00048 */ lw $s0, 0x48($sp) -/* 07DF74 800E4AC4 D7B80070 */ ldc1 $f24, 0x70($sp) -/* 07DF78 800E4AC8 D7B60068 */ ldc1 $f22, 0x68($sp) -/* 07DF7C 800E4ACC D7B40060 */ ldc1 $f20, 0x60($sp) -/* 07DF80 800E4AD0 03E00008 */ jr $ra -/* 07DF84 800E4AD4 27BD0078 */ addiu $sp, $sp, 0x78 - -/* 07DF88 800E4AD8 3C038007 */ lui $v1, 0x8007 -/* 07DF8C 800E4ADC 8C637410 */ lw $v1, 0x7410($v1) -/* 07DF90 800E4AE0 3C018011 */ lui $at, 0x8011 -/* 07DF94 800E4AE4 C422F070 */ lwc1 $f2, -0xf90($at) -/* 07DF98 800E4AE8 3C0142B4 */ lui $at, 0x42b4 -/* 07DF9C 800E4AEC 44810000 */ mtc1 $at, $f0 -/* 07DFA0 800E4AF0 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 07DFA4 800E4AF4 AFBF0010 */ sw $ra, 0x10($sp) -/* 07DFA8 800E4AF8 00031080 */ sll $v0, $v1, 2 -/* 07DFAC 800E4AFC 00431021 */ addu $v0, $v0, $v1 -/* 07DFB0 800E4B00 00021080 */ sll $v0, $v0, 2 -/* 07DFB4 800E4B04 00431023 */ subu $v0, $v0, $v1 -/* 07DFB8 800E4B08 000218C0 */ sll $v1, $v0, 3 -/* 07DFBC 800E4B0C 00431021 */ addu $v0, $v0, $v1 -/* 07DFC0 800E4B10 000210C0 */ sll $v0, $v0, 3 -/* 07DFC4 800E4B14 46001081 */ sub.s $f2, $f2, $f0 -/* 07DFC8 800E4B18 3C01800B */ lui $at, 0x800b -/* 07DFCC 800E4B1C 00220821 */ addu $at, $at, $v0 -/* 07DFD0 800E4B20 C4201DEC */ lwc1 $f0, 0x1dec($at) -/* 07DFD4 800E4B24 46001080 */ add.s $f2, $f2, $f0 -/* 07DFD8 800E4B28 44061000 */ mfc1 $a2, $f2 -/* 07DFDC 800E4B2C 0C0390C2 */ jal func_800E4308 -/* 07DFE0 800E4B30 0000282D */ daddu $a1, $zero, $zero -/* 07DFE4 800E4B34 8FBF0010 */ lw $ra, 0x10($sp) -/* 07DFE8 800E4B38 03E00008 */ jr $ra -/* 07DFEC 800E4B3C 27BD0018 */ addiu $sp, $sp, 0x18 - -/* 07DFF0 800E4B40 3C038007 */ lui $v1, 0x8007 -/* 07DFF4 800E4B44 8C637410 */ lw $v1, 0x7410($v1) -/* 07DFF8 800E4B48 3C018011 */ lui $at, 0x8011 -/* 07DFFC 800E4B4C C420F070 */ lwc1 $f0, -0xf90($at) -/* 07E000 800E4B50 3C0142B4 */ lui $at, 0x42b4 -/* 07E004 800E4B54 44811000 */ mtc1 $at, $f2 -/* 07E008 800E4B58 27BDFFE0 */ addiu $sp, $sp, -0x20 -/* 07E00C 800E4B5C AFBF0018 */ sw $ra, 0x18($sp) -/* 07E010 800E4B60 00031080 */ sll $v0, $v1, 2 -/* 07E014 800E4B64 00431021 */ addu $v0, $v0, $v1 -/* 07E018 800E4B68 00021080 */ sll $v0, $v0, 2 -/* 07E01C 800E4B6C 00431023 */ subu $v0, $v0, $v1 -/* 07E020 800E4B70 000218C0 */ sll $v1, $v0, 3 -/* 07E024 800E4B74 00431021 */ addu $v0, $v0, $v1 -/* 07E028 800E4B78 000210C0 */ sll $v0, $v0, 3 -/* 07E02C 800E4B7C 46020001 */ sub.s $f0, $f0, $f2 -/* 07E030 800E4B80 3C01800B */ lui $at, 0x800b -/* 07E034 800E4B84 00220821 */ addu $at, $at, $v0 -/* 07E038 800E4B88 C4241DEC */ lwc1 $f4, 0x1dec($at) -/* 07E03C 800E4B8C 00A0402D */ daddu $t0, $a1, $zero -/* 07E040 800E4B90 AFA60010 */ sw $a2, 0x10($sp) -/* 07E044 800E4B94 46040000 */ add.s $f0, $f0, $f4 -/* 07E048 800E4B98 0000282D */ daddu $a1, $zero, $zero -/* 07E04C 800E4B9C AFA70014 */ sw $a3, 0x14($sp) -/* 07E050 800E4BA0 44060000 */ mfc1 $a2, $f0 -/* 07E054 800E4BA4 0C039101 */ jal func_800E4404 -/* 07E058 800E4BA8 0100382D */ daddu $a3, $t0, $zero -/* 07E05C 800E4BAC 8FBF0018 */ lw $ra, 0x18($sp) -/* 07E060 800E4BB0 03E00008 */ jr $ra -/* 07E064 800E4BB4 27BD0020 */ addiu $sp, $sp, 0x20 - -func_800E4BB8: -/* 07E068 800E4BB8 27BDFFA8 */ addiu $sp, $sp, -0x58 -/* 07E06C 800E4BBC 3C038011 */ lui $v1, 0x8011 -/* 07E070 800E4BC0 2463EFC8 */ addiu $v1, $v1, -0x1038 -/* 07E074 800E4BC4 AFBF0040 */ sw $ra, 0x40($sp) -/* 07E078 800E4BC8 AFB3003C */ sw $s3, 0x3c($sp) -/* 07E07C 800E4BCC AFB20038 */ sw $s2, 0x38($sp) -/* 07E080 800E4BD0 AFB10034 */ sw $s1, 0x34($sp) -/* 07E084 800E4BD4 AFB00030 */ sw $s0, 0x30($sp) -/* 07E088 800E4BD8 F7B60050 */ sdc1 $f22, 0x50($sp) -/* 07E08C 800E4BDC F7B40048 */ sdc1 $f20, 0x48($sp) -/* 07E090 800E4BE0 8C620004 */ lw $v0, 4($v1) -/* 07E094 800E4BE4 30421000 */ andi $v0, $v0, 0x1000 -/* 07E098 800E4BE8 10400005 */ beqz $v0, .L800E4C00 -/* 07E09C 800E4BEC 0060982D */ daddu $s3, $v1, $zero -/* 07E0A0 800E4BF0 0C0393C4 */ jal func_800E4F10 -/* 07E0A4 800E4BF4 00000000 */ nop -/* 07E0A8 800E4BF8 080393BB */ j .L800E4EEC -/* 07E0AC 800E4BFC 00000000 */ nop - -.L800E4C00: -/* 07E0B0 800E4C00 C66C0080 */ lwc1 $f12, 0x80($s3) -/* 07E0B4 800E4C04 3C01403E */ lui $at, 0x403e -/* 07E0B8 800E4C08 4481A800 */ mtc1 $at, $f21 -/* 07E0BC 800E4C0C 4480A000 */ mtc1 $zero, $f20 -/* 07E0C0 800E4C10 46006321 */ cvt.d.s $f12, $f12 -/* 07E0C4 800E4C14 46346301 */ sub.d $f12, $f12, $f20 -/* 07E0C8 800E4C18 0C00A6C9 */ jal clamp_angle -/* 07E0CC 800E4C1C 46206320 */ cvt.s.d $f12, $f12 -/* 07E0D0 800E4C20 0000202D */ daddu $a0, $zero, $zero -/* 07E0D4 800E4C24 0260282D */ daddu $a1, $s3, $zero -/* 07E0D8 800E4C28 27B20020 */ addiu $s2, $sp, 0x20 -/* 07E0DC 800E4C2C 0240302D */ daddu $a2, $s2, $zero -/* 07E0E0 800E4C30 27B10024 */ addiu $s1, $sp, 0x24 -/* 07E0E4 800E4C34 0220382D */ daddu $a3, $s1, $zero -/* 07E0E8 800E4C38 866200B0 */ lh $v0, 0xb0($s3) -/* 07E0EC 800E4C3C 3C013F40 */ lui $at, 0x3f40 -/* 07E0F0 800E4C40 4481B000 */ mtc1 $at, $f22 -/* 07E0F4 800E4C44 44822000 */ mtc1 $v0, $f4 -/* 07E0F8 800E4C48 00000000 */ nop -/* 07E0FC 800E4C4C 46802120 */ cvt.s.w $f4, $f4 -/* 07E100 800E4C50 46162102 */ mul.s $f4, $f4, $f22 -/* 07E104 800E4C54 00000000 */ nop -/* 07E108 800E4C58 27B00028 */ addiu $s0, $sp, 0x28 -/* 07E10C 800E4C5C C662002C */ lwc1 $f2, 0x2c($s3) -/* 07E110 800E4C60 C6660028 */ lwc1 $f6, 0x28($s3) -/* 07E114 800E4C64 C6680030 */ lwc1 $f8, 0x30($s3) -/* 07E118 800E4C68 46041080 */ add.s $f2, $f2, $f4 -/* 07E11C 800E4C6C E7A60020 */ swc1 $f6, 0x20($sp) -/* 07E120 800E4C70 E7A80028 */ swc1 $f8, 0x28($sp) -/* 07E124 800E4C74 E7A20024 */ swc1 $f2, 0x24($sp) -/* 07E128 800E4C78 AFB00010 */ sw $s0, 0x10($sp) -/* 07E12C 800E4C7C AFA00014 */ sw $zero, 0x14($sp) -/* 07E130 800E4C80 0C037B01 */ jal func_800DEC04 -/* 07E134 800E4C84 E7A00018 */ swc1 $f0, 0x18($sp) -/* 07E138 800E4C88 C66C0080 */ lwc1 $f12, 0x80($s3) -/* 07E13C 800E4C8C C7A00020 */ lwc1 $f0, 0x20($sp) -/* 07E140 800E4C90 C7A20028 */ lwc1 $f2, 0x28($sp) -/* 07E144 800E4C94 46006321 */ cvt.d.s $f12, $f12 -/* 07E148 800E4C98 46346300 */ add.d $f12, $f12, $f20 -/* 07E14C 800E4C9C E6600028 */ swc1 $f0, 0x28($s3) -/* 07E150 800E4CA0 E6620030 */ swc1 $f2, 0x30($s3) -/* 07E154 800E4CA4 0C00A6C9 */ jal clamp_angle -/* 07E158 800E4CA8 46206320 */ cvt.s.d $f12, $f12 -/* 07E15C 800E4CAC 0000202D */ daddu $a0, $zero, $zero -/* 07E160 800E4CB0 0260282D */ daddu $a1, $s3, $zero -/* 07E164 800E4CB4 866200B0 */ lh $v0, 0xb0($s3) -/* 07E168 800E4CB8 0240302D */ daddu $a2, $s2, $zero -/* 07E16C 800E4CBC 44821000 */ mtc1 $v0, $f2 -/* 07E170 800E4CC0 00000000 */ nop -/* 07E174 800E4CC4 468010A0 */ cvt.s.w $f2, $f2 -/* 07E178 800E4CC8 46161082 */ mul.s $f2, $f2, $f22 -/* 07E17C 800E4CCC 00000000 */ nop -/* 07E180 800E4CD0 0220382D */ daddu $a3, $s1, $zero -/* 07E184 800E4CD4 C664002C */ lwc1 $f4, 0x2c($s3) -/* 07E188 800E4CD8 C6660028 */ lwc1 $f6, 0x28($s3) -/* 07E18C 800E4CDC C6680030 */ lwc1 $f8, 0x30($s3) -/* 07E190 800E4CE0 46022100 */ add.s $f4, $f4, $f2 -/* 07E194 800E4CE4 E7A60020 */ swc1 $f6, 0x20($sp) -/* 07E198 800E4CE8 E7A80028 */ swc1 $f8, 0x28($sp) -/* 07E19C 800E4CEC E7A40024 */ swc1 $f4, 0x24($sp) -/* 07E1A0 800E4CF0 AFB00010 */ sw $s0, 0x10($sp) -/* 07E1A4 800E4CF4 AFA00014 */ sw $zero, 0x14($sp) -/* 07E1A8 800E4CF8 0C037B01 */ jal func_800DEC04 -/* 07E1AC 800E4CFC E7A00018 */ swc1 $f0, 0x18($sp) -/* 07E1B0 800E4D00 C66C0080 */ lwc1 $f12, 0x80($s3) -/* 07E1B4 800E4D04 C7A00020 */ lwc1 $f0, 0x20($sp) -/* 07E1B8 800E4D08 C7A20028 */ lwc1 $f2, 0x28($sp) -/* 07E1BC 800E4D0C 46006321 */ cvt.d.s $f12, $f12 -/* 07E1C0 800E4D10 46346301 */ sub.d $f12, $f12, $f20 -/* 07E1C4 800E4D14 E6600028 */ swc1 $f0, 0x28($s3) -/* 07E1C8 800E4D18 E6620030 */ swc1 $f2, 0x30($s3) -/* 07E1CC 800E4D1C 0C00A6C9 */ jal clamp_angle -/* 07E1D0 800E4D20 46206320 */ cvt.s.d $f12, $f12 -/* 07E1D4 800E4D24 0000202D */ daddu $a0, $zero, $zero -/* 07E1D8 800E4D28 0260282D */ daddu $a1, $s3, $zero -/* 07E1DC 800E4D2C 0240302D */ daddu $a2, $s2, $zero -/* 07E1E0 800E4D30 C6620028 */ lwc1 $f2, 0x28($s3) -/* 07E1E4 800E4D34 C664002C */ lwc1 $f4, 0x2c($s3) -/* 07E1E8 800E4D38 C6660030 */ lwc1 $f6, 0x30($s3) -/* 07E1EC 800E4D3C 0220382D */ daddu $a3, $s1, $zero -/* 07E1F0 800E4D40 E7A20020 */ swc1 $f2, 0x20($sp) -/* 07E1F4 800E4D44 E7A40024 */ swc1 $f4, 0x24($sp) -/* 07E1F8 800E4D48 E7A60028 */ swc1 $f6, 0x28($sp) -/* 07E1FC 800E4D4C AFB00010 */ sw $s0, 0x10($sp) -/* 07E200 800E4D50 AFA00014 */ sw $zero, 0x14($sp) -/* 07E204 800E4D54 0C037B01 */ jal func_800DEC04 -/* 07E208 800E4D58 E7A00018 */ swc1 $f0, 0x18($sp) -/* 07E20C 800E4D5C C66C0080 */ lwc1 $f12, 0x80($s3) -/* 07E210 800E4D60 C7A00020 */ lwc1 $f0, 0x20($sp) -/* 07E214 800E4D64 C7A20028 */ lwc1 $f2, 0x28($sp) -/* 07E218 800E4D68 46006321 */ cvt.d.s $f12, $f12 -/* 07E21C 800E4D6C 46346300 */ add.d $f12, $f12, $f20 -/* 07E220 800E4D70 E6600028 */ swc1 $f0, 0x28($s3) -/* 07E224 800E4D74 E6620030 */ swc1 $f2, 0x30($s3) -/* 07E228 800E4D78 0C00A6C9 */ jal clamp_angle -/* 07E22C 800E4D7C 46206320 */ cvt.s.d $f12, $f12 -/* 07E230 800E4D80 0000202D */ daddu $a0, $zero, $zero -/* 07E234 800E4D84 0260282D */ daddu $a1, $s3, $zero -/* 07E238 800E4D88 0240302D */ daddu $a2, $s2, $zero -/* 07E23C 800E4D8C C6620028 */ lwc1 $f2, 0x28($s3) -/* 07E240 800E4D90 C664002C */ lwc1 $f4, 0x2c($s3) -/* 07E244 800E4D94 C6660030 */ lwc1 $f6, 0x30($s3) -/* 07E248 800E4D98 0220382D */ daddu $a3, $s1, $zero -/* 07E24C 800E4D9C E7A20020 */ swc1 $f2, 0x20($sp) -/* 07E250 800E4DA0 E7A40024 */ swc1 $f4, 0x24($sp) -/* 07E254 800E4DA4 E7A60028 */ swc1 $f6, 0x28($sp) -/* 07E258 800E4DA8 AFB00010 */ sw $s0, 0x10($sp) -/* 07E25C 800E4DAC AFA00014 */ sw $zero, 0x14($sp) -/* 07E260 800E4DB0 0C037B01 */ jal func_800DEC04 -/* 07E264 800E4DB4 E7A00018 */ swc1 $f0, 0x18($sp) -/* 07E268 800E4DB8 C66C0080 */ lwc1 $f12, 0x80($s3) -/* 07E26C 800E4DBC C7A20020 */ lwc1 $f2, 0x20($sp) -/* 07E270 800E4DC0 3C018011 */ lui $at, 0x8011 -/* 07E274 800E4DC4 D434BEF0 */ ldc1 $f20, -0x4110($at) -/* 07E278 800E4DC8 C7A00028 */ lwc1 $f0, 0x28($sp) -/* 07E27C 800E4DCC 46006321 */ cvt.d.s $f12, $f12 -/* 07E280 800E4DD0 46346300 */ add.d $f12, $f12, $f20 -/* 07E284 800E4DD4 E6620028 */ swc1 $f2, 0x28($s3) -/* 07E288 800E4DD8 E6600030 */ swc1 $f0, 0x30($s3) -/* 07E28C 800E4DDC 0C00A6C9 */ jal clamp_angle -/* 07E290 800E4DE0 46206320 */ cvt.s.d $f12, $f12 -/* 07E294 800E4DE4 0000202D */ daddu $a0, $zero, $zero -/* 07E298 800E4DE8 0260282D */ daddu $a1, $s3, $zero -/* 07E29C 800E4DEC 0240302D */ daddu $a2, $s2, $zero -/* 07E2A0 800E4DF0 C6620028 */ lwc1 $f2, 0x28($s3) -/* 07E2A4 800E4DF4 C664002C */ lwc1 $f4, 0x2c($s3) -/* 07E2A8 800E4DF8 C6660030 */ lwc1 $f6, 0x30($s3) -/* 07E2AC 800E4DFC 0220382D */ daddu $a3, $s1, $zero -/* 07E2B0 800E4E00 E7A20020 */ swc1 $f2, 0x20($sp) -/* 07E2B4 800E4E04 E7A40024 */ swc1 $f4, 0x24($sp) -/* 07E2B8 800E4E08 E7A60028 */ swc1 $f6, 0x28($sp) -/* 07E2BC 800E4E0C AFB00010 */ sw $s0, 0x10($sp) -/* 07E2C0 800E4E10 AFA00014 */ sw $zero, 0x14($sp) -/* 07E2C4 800E4E14 0C037B01 */ jal func_800DEC04 -/* 07E2C8 800E4E18 E7A00018 */ swc1 $f0, 0x18($sp) -/* 07E2CC 800E4E1C C66C0080 */ lwc1 $f12, 0x80($s3) -/* 07E2D0 800E4E20 C7A00020 */ lwc1 $f0, 0x20($sp) -/* 07E2D4 800E4E24 C7A20028 */ lwc1 $f2, 0x28($sp) -/* 07E2D8 800E4E28 46006321 */ cvt.d.s $f12, $f12 -/* 07E2DC 800E4E2C 46346301 */ sub.d $f12, $f12, $f20 -/* 07E2E0 800E4E30 E6600028 */ swc1 $f0, 0x28($s3) -/* 07E2E4 800E4E34 E6620030 */ swc1 $f2, 0x30($s3) -/* 07E2E8 800E4E38 0C00A6C9 */ jal clamp_angle -/* 07E2EC 800E4E3C 46206320 */ cvt.s.d $f12, $f12 -/* 07E2F0 800E4E40 0000202D */ daddu $a0, $zero, $zero -/* 07E2F4 800E4E44 0260282D */ daddu $a1, $s3, $zero -/* 07E2F8 800E4E48 0240302D */ daddu $a2, $s2, $zero -/* 07E2FC 800E4E4C C6620028 */ lwc1 $f2, 0x28($s3) -/* 07E300 800E4E50 C664002C */ lwc1 $f4, 0x2c($s3) -/* 07E304 800E4E54 C6660030 */ lwc1 $f6, 0x30($s3) -/* 07E308 800E4E58 0220382D */ daddu $a3, $s1, $zero -/* 07E30C 800E4E5C E7A20020 */ swc1 $f2, 0x20($sp) -/* 07E310 800E4E60 E7A40024 */ swc1 $f4, 0x24($sp) -/* 07E314 800E4E64 E7A60028 */ swc1 $f6, 0x28($sp) -/* 07E318 800E4E68 AFB00010 */ sw $s0, 0x10($sp) -/* 07E31C 800E4E6C AFA00014 */ sw $zero, 0x14($sp) -/* 07E320 800E4E70 0C037B01 */ jal func_800DEC04 -/* 07E324 800E4E74 E7A00018 */ swc1 $f0, 0x18($sp) -/* 07E328 800E4E78 C66C0080 */ lwc1 $f12, 0x80($s3) -/* 07E32C 800E4E7C C7A40020 */ lwc1 $f4, 0x20($sp) -/* 07E330 800E4E80 3C018011 */ lui $at, 0x8011 -/* 07E334 800E4E84 D420BEF8 */ ldc1 $f0, -0x4108($at) -/* 07E338 800E4E88 C7A20028 */ lwc1 $f2, 0x28($sp) -/* 07E33C 800E4E8C 46006321 */ cvt.d.s $f12, $f12 -/* 07E340 800E4E90 46206300 */ add.d $f12, $f12, $f0 -/* 07E344 800E4E94 E6640028 */ swc1 $f4, 0x28($s3) -/* 07E348 800E4E98 E6620030 */ swc1 $f2, 0x30($s3) -/* 07E34C 800E4E9C 0C00A6C9 */ jal clamp_angle -/* 07E350 800E4EA0 46206320 */ cvt.s.d $f12, $f12 -/* 07E354 800E4EA4 0000202D */ daddu $a0, $zero, $zero -/* 07E358 800E4EA8 0260282D */ daddu $a1, $s3, $zero -/* 07E35C 800E4EAC 0240302D */ daddu $a2, $s2, $zero -/* 07E360 800E4EB0 C6620028 */ lwc1 $f2, 0x28($s3) -/* 07E364 800E4EB4 C664002C */ lwc1 $f4, 0x2c($s3) -/* 07E368 800E4EB8 C6660030 */ lwc1 $f6, 0x30($s3) -/* 07E36C 800E4EBC 0220382D */ daddu $a3, $s1, $zero -/* 07E370 800E4EC0 E7A20020 */ swc1 $f2, 0x20($sp) -/* 07E374 800E4EC4 E7A40024 */ swc1 $f4, 0x24($sp) -/* 07E378 800E4EC8 E7A60028 */ swc1 $f6, 0x28($sp) -/* 07E37C 800E4ECC AFB00010 */ sw $s0, 0x10($sp) -/* 07E380 800E4ED0 AFA00014 */ sw $zero, 0x14($sp) -/* 07E384 800E4ED4 0C037B01 */ jal func_800DEC04 -/* 07E388 800E4ED8 E7A00018 */ swc1 $f0, 0x18($sp) -/* 07E38C 800E4EDC C7A00020 */ lwc1 $f0, 0x20($sp) -/* 07E390 800E4EE0 C7A20028 */ lwc1 $f2, 0x28($sp) -/* 07E394 800E4EE4 E6600028 */ swc1 $f0, 0x28($s3) -/* 07E398 800E4EE8 E6620030 */ swc1 $f2, 0x30($s3) -.L800E4EEC: -/* 07E39C 800E4EEC 8FBF0040 */ lw $ra, 0x40($sp) -/* 07E3A0 800E4EF0 8FB3003C */ lw $s3, 0x3c($sp) -/* 07E3A4 800E4EF4 8FB20038 */ lw $s2, 0x38($sp) -/* 07E3A8 800E4EF8 8FB10034 */ lw $s1, 0x34($sp) -/* 07E3AC 800E4EFC 8FB00030 */ lw $s0, 0x30($sp) -/* 07E3B0 800E4F00 D7B60050 */ ldc1 $f22, 0x50($sp) -/* 07E3B4 800E4F04 D7B40048 */ ldc1 $f20, 0x48($sp) -/* 07E3B8 800E4F08 03E00008 */ jr $ra -/* 07E3BC 800E4F0C 27BD0058 */ addiu $sp, $sp, 0x58 - -func_800E4F10: -/* 07E3C0 800E4F10 27BDFFC8 */ addiu $sp, $sp, -0x38 -/* 07E3C4 800E4F14 AFB00030 */ sw $s0, 0x30($sp) -/* 07E3C8 800E4F18 3C108011 */ lui $s0, 0x8011 -/* 07E3CC 800E4F1C 2610EFC8 */ addiu $s0, $s0, -0x1038 -/* 07E3D0 800E4F20 0200202D */ daddu $a0, $s0, $zero -/* 07E3D4 800E4F24 27A2002C */ addiu $v0, $sp, 0x2c -/* 07E3D8 800E4F28 27A50020 */ addiu $a1, $sp, 0x20 -/* 07E3DC 800E4F2C 27A60024 */ addiu $a2, $sp, 0x24 -/* 07E3E0 800E4F30 AFBF0034 */ sw $ra, 0x34($sp) -/* 07E3E4 800E4F34 C6060080 */ lwc1 $f6, 0x80($s0) -/* 07E3E8 800E4F38 C6000028 */ lwc1 $f0, 0x28($s0) -/* 07E3EC 800E4F3C C602002C */ lwc1 $f2, 0x2c($s0) -/* 07E3F0 800E4F40 C6040030 */ lwc1 $f4, 0x30($s0) -/* 07E3F4 800E4F44 27A70028 */ addiu $a3, $sp, 0x28 -/* 07E3F8 800E4F48 AFA0002C */ sw $zero, 0x2c($sp) -/* 07E3FC 800E4F4C E7A00020 */ swc1 $f0, 0x20($sp) -/* 07E400 800E4F50 E7A20024 */ swc1 $f2, 0x24($sp) -/* 07E404 800E4F54 E7A40028 */ swc1 $f4, 0x28($sp) -/* 07E408 800E4F58 AFA00010 */ sw $zero, 0x10($sp) -/* 07E40C 800E4F5C E7A60014 */ swc1 $f6, 0x14($sp) -/* 07E410 800E4F60 0C037C57 */ jal func_800DF15C -/* 07E414 800E4F64 AFA20018 */ sw $v0, 0x18($sp) -/* 07E418 800E4F68 C7A00020 */ lwc1 $f0, 0x20($sp) -/* 07E41C 800E4F6C C7A20028 */ lwc1 $f2, 0x28($sp) -/* 07E420 800E4F70 E6000028 */ swc1 $f0, 0x28($s0) -/* 07E424 800E4F74 E6020030 */ swc1 $f2, 0x30($s0) -/* 07E428 800E4F78 8FA3002C */ lw $v1, 0x2c($sp) -/* 07E42C 800E4F7C 1060000F */ beqz $v1, .L800E4FBC -/* 07E430 800E4F80 00000000 */ nop -/* 07E434 800E4F84 0441000D */ bgez $v0, .L800E4FBC -/* 07E438 800E4F88 24020018 */ addiu $v0, $zero, 0x18 -/* 07E43C 800E4F8C 820300B4 */ lb $v1, 0xb4($s0) -/* 07E440 800E4F90 1062000A */ beq $v1, $v0, .L800E4FBC -/* 07E444 800E4F94 00000000 */ nop -/* 07E448 800E4F98 C6020054 */ lwc1 $f2, 0x54($s0) -/* 07E44C 800E4F9C 44800000 */ mtc1 $zero, $f0 -/* 07E450 800E4FA0 00000000 */ nop -/* 07E454 800E4FA4 46001032 */ c.eq.s $f2, $f0 -/* 07E458 800E4FA8 00000000 */ nop -/* 07E45C 800E4FAC 45010003 */ bc1t .L800E4FBC -/* 07E460 800E4FB0 00000000 */ nop -/* 07E464 800E4FB4 0C039769 */ jal set_action_state -/* 07E468 800E4FB8 0040202D */ daddu $a0, $v0, $zero -.L800E4FBC: -/* 07E46C 800E4FBC 8FBF0034 */ lw $ra, 0x34($sp) -/* 07E470 800E4FC0 8FB00030 */ lw $s0, 0x30($sp) -/* 07E474 800E4FC4 03E00008 */ jr $ra -/* 07E478 800E4FC8 27BD0038 */ addiu $sp, $sp, 0x38 - -check_input_midair_jump: -/* 07E47C 800E4FCC 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 07E480 800E4FD0 3C030080 */ lui $v1, 0x80 -/* 07E484 800E4FD4 AFB00010 */ sw $s0, 0x10($sp) -/* 07E488 800E4FD8 3C108011 */ lui $s0, 0x8011 -/* 07E48C 800E4FDC 2610EFC8 */ addiu $s0, $s0, -0x1038 -/* 07E490 800E4FE0 AFBF0014 */ sw $ra, 0x14($sp) -/* 07E494 800E4FE4 8E020000 */ lw $v0, ($s0) -/* 07E498 800E4FE8 34630018 */ ori $v1, $v1, 0x18 -/* 07E49C 800E4FEC 00431024 */ and $v0, $v0, $v1 -/* 07E4A0 800E4FF0 14400021 */ bnez $v0, .L800E5078 -/* 07E4A4 800E4FF4 00000000 */ nop -/* 07E4A8 800E4FF8 8E020004 */ lw $v0, 4($s0) -/* 07E4AC 800E4FFC 30424001 */ andi $v0, $v0, 0x4001 -/* 07E4B0 800E5000 1440001D */ bnez $v0, .L800E5078 -/* 07E4B4 800E5004 00000000 */ nop -/* 07E4B8 800E5008 860200C2 */ lh $v0, 0xc2($s0) -/* 07E4BC 800E500C 28420006 */ slti $v0, $v0, 6 -/* 07E4C0 800E5010 14400019 */ bnez $v0, .L800E5078 -/* 07E4C4 800E5014 00000000 */ nop -/* 07E4C8 800E5018 860200C0 */ lh $v0, 0xc0($s0) -/* 07E4CC 800E501C 28420012 */ slti $v0, $v0, 0x12 -/* 07E4D0 800E5020 10400015 */ beqz $v0, .L800E5078 -/* 07E4D4 800E5024 00000000 */ nop -/* 07E4D8 800E5028 8E0200E0 */ lw $v0, 0xe0($s0) -/* 07E4DC 800E502C 30428000 */ andi $v0, $v0, 0x8000 -/* 07E4E0 800E5030 10400011 */ beqz $v0, .L800E5078 -/* 07E4E4 800E5034 24020001 */ addiu $v0, $zero, 1 -/* 07E4E8 800E5038 3C038011 */ lui $v1, 0x8011 -/* 07E4EC 800E503C 8063F290 */ lb $v1, -0xd70($v1) -/* 07E4F0 800E5040 10620007 */ beq $v1, $v0, .L800E5060 -/* 07E4F4 800E5044 28620002 */ slti $v0, $v1, 2 -/* 07E4F8 800E5048 1440000B */ bnez $v0, .L800E5078 -/* 07E4FC 800E504C 24020002 */ addiu $v0, $zero, 2 -/* 07E500 800E5050 10620004 */ beq $v1, $v0, .L800E5064 -/* 07E504 800E5054 2404000F */ addiu $a0, $zero, 0xf -/* 07E508 800E5058 0803941E */ j .L800E5078 -/* 07E50C 800E505C 00000000 */ nop - -.L800E5060: -/* 07E510 800E5060 2404000D */ addiu $a0, $zero, 0xd -.L800E5064: -/* 07E514 800E5064 0C039769 */ jal set_action_state -/* 07E518 800E5068 00000000 */ nop -/* 07E51C 800E506C 8E020000 */ lw $v0, ($s0) -/* 07E520 800E5070 34420008 */ ori $v0, $v0, 8 -/* 07E524 800E5074 AE020000 */ sw $v0, ($s0) -.L800E5078: -/* 07E528 800E5078 8FBF0014 */ lw $ra, 0x14($sp) -/* 07E52C 800E507C 8FB00010 */ lw $s0, 0x10($sp) -/* 07E530 800E5080 03E00008 */ jr $ra -/* 07E534 800E5084 27BD0018 */ addiu $sp, $sp, 0x18 - -func_800E5088: -/* 07E538 800E5088 3C028011 */ lui $v0, 0x8011 -/* 07E53C 800E508C 8042F2A2 */ lb $v0, -0xd5e($v0) -/* 07E540 800E5090 03E00008 */ jr $ra -/* 07E544 800E5094 00000000 */ nop - -/* 07E548 800E5098 3C028007 */ lui $v0, 0x8007 -/* 07E54C 800E509C 8C42419C */ lw $v0, 0x419c($v0) -/* 07E550 800E50A0 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 07E554 800E50A4 AFBF0014 */ sw $ra, 0x14($sp) -/* 07E558 800E50A8 AFB00010 */ sw $s0, 0x10($sp) -/* 07E55C 800E50AC 94420134 */ lhu $v0, 0x134($v0) -/* 07E560 800E50B0 14800002 */ bnez $a0, .L800E50BC -/* 07E564 800E50B4 0044001A */ div $zero, $v0, $a0 -/* 07E568 800E50B8 0007000D */ break 7 -.L800E50BC: -/* 07E56C 800E50BC 2401FFFF */ addiu $at, $zero, -1 -/* 07E570 800E50C0 14810004 */ bne $a0, $at, .L800E50D4 -/* 07E574 800E50C4 3C018000 */ lui $at, 0x8000 -/* 07E578 800E50C8 14410002 */ bne $v0, $at, .L800E50D4 -/* 07E57C 800E50CC 00000000 */ nop -/* 07E580 800E50D0 0006000D */ break 6 -.L800E50D4: -/* 07E584 800E50D4 00001810 */ mfhi $v1 -/* 07E588 800E50D8 14600019 */ bnez $v1, .L800E5140 -/* 07E58C 800E50DC 00000000 */ nop -/* 07E590 800E50E0 3C048016 */ lui $a0, 0x8016 -/* 07E594 800E50E4 8484A552 */ lh $a0, -0x5aae($a0) -/* 07E598 800E50E8 0C016F6A */ jal get_collider_type_by_id -/* 07E59C 800E50EC 00000000 */ nop -/* 07E5A0 800E50F0 304300FF */ andi $v1, $v0, 0xff -/* 07E5A4 800E50F4 24020006 */ addiu $v0, $zero, 6 -/* 07E5A8 800E50F8 10620003 */ beq $v1, $v0, .L800E5108 -/* 07E5AC 800E50FC 24020009 */ addiu $v0, $zero, 9 -/* 07E5B0 800E5100 14620004 */ bne $v1, $v0, .L800E5114 -/* 07E5B4 800E5104 24040141 */ addiu $a0, $zero, 0x141 -.L800E5108: -/* 07E5B8 800E5108 24040143 */ addiu $a0, $zero, 0x143 -/* 07E5BC 800E510C 08039446 */ j .L800E5118 -/* 07E5C0 800E5110 24030144 */ addiu $v1, $zero, 0x144 - -.L800E5114: -/* 07E5C4 800E5114 24030142 */ addiu $v1, $zero, 0x142 -.L800E5118: -/* 07E5C8 800E5118 3C10800F */ lui $s0, 0x800f -/* 07E5CC 800E511C 26107B80 */ addiu $s0, $s0, 0x7b80 -/* 07E5D0 800E5120 86020000 */ lh $v0, ($s0) -/* 07E5D4 800E5124 50400001 */ beql $v0, $zero, .L800E512C -/* 07E5D8 800E5128 0060202D */ daddu $a0, $v1, $zero -.L800E512C: -/* 07E5DC 800E512C 0C052736 */ jal play_sound_at_player -/* 07E5E0 800E5130 0000282D */ daddu $a1, $zero, $zero -/* 07E5E4 800E5134 96020000 */ lhu $v0, ($s0) -/* 07E5E8 800E5138 38420001 */ xori $v0, $v0, 1 -/* 07E5EC 800E513C A6020000 */ sh $v0, ($s0) -.L800E5140: -/* 07E5F0 800E5140 8FBF0014 */ lw $ra, 0x14($sp) -/* 07E5F4 800E5144 8FB00010 */ lw $s0, 0x10($sp) -/* 07E5F8 800E5148 03E00008 */ jr $ra -/* 07E5FC 800E514C 27BD0018 */ addiu $sp, $sp, 0x18 - -/* 07E600 800E5150 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 07E604 800E5154 AFBF0010 */ sw $ra, 0x10($sp) -/* 07E608 800E5158 0C03945D */ jal func_800E5174 -/* 07E60C 800E515C 00000000 */ nop -/* 07E610 800E5160 8FBF0010 */ lw $ra, 0x10($sp) -/* 07E614 800E5164 3C018016 */ lui $at, 0x8016 -/* 07E618 800E5168 A422A55A */ sh $v0, -0x5aa6($at) -/* 07E61C 800E516C 03E00008 */ jr $ra -/* 07E620 800E5170 27BD0018 */ addiu $sp, $sp, 0x18 - -func_800E5174: -/* 07E624 800E5174 27BDFFB8 */ addiu $sp, $sp, -0x48 -/* 07E628 800E5178 2404FFFF */ addiu $a0, $zero, -1 -/* 07E62C 800E517C 3C038011 */ lui $v1, 0x8011 -/* 07E630 800E5180 2463EFC8 */ addiu $v1, $v1, -0x1038 -/* 07E634 800E5184 AFBF0038 */ sw $ra, 0x38($sp) -/* 07E638 800E5188 AFB30034 */ sw $s3, 0x34($sp) -/* 07E63C 800E518C AFB20030 */ sw $s2, 0x30($sp) -/* 07E640 800E5190 AFB1002C */ sw $s1, 0x2c($sp) -/* 07E644 800E5194 AFB00028 */ sw $s0, 0x28($sp) -/* 07E648 800E5198 F7B40040 */ sdc1 $f20, 0x40($sp) -/* 07E64C 800E519C 8C620000 */ lw $v0, ($v1) -/* 07E650 800E51A0 30422000 */ andi $v0, $v0, 0x2000 -/* 07E654 800E51A4 1440004B */ bnez $v0, .L800E52D4 -/* 07E658 800E51A8 0060802D */ daddu $s0, $v1, $zero -/* 07E65C 800E51AC 8E0200E0 */ lw $v0, 0xe0($s0) -/* 07E660 800E51B0 30428000 */ andi $v0, $v0, 0x8000 -/* 07E664 800E51B4 10400047 */ beqz $v0, .L800E52D4 -/* 07E668 800E51B8 27B20018 */ addiu $s2, $sp, 0x18 -/* 07E66C 800E51BC 0200202D */ daddu $a0, $s0, $zero -/* 07E670 800E51C0 0240282D */ daddu $a1, $s2, $zero -/* 07E674 800E51C4 27B1001C */ addiu $s1, $sp, 0x1c -/* 07E678 800E51C8 0220302D */ daddu $a2, $s1, $zero -/* 07E67C 800E51CC 27B30020 */ addiu $s3, $sp, 0x20 -/* 07E680 800E51D0 0260382D */ daddu $a3, $s3, $zero -/* 07E684 800E51D4 860200B2 */ lh $v0, 0xb2($s0) -/* 07E688 800E51D8 C6080080 */ lwc1 $f8, 0x80($s0) -/* 07E68C 800E51DC C6040028 */ lwc1 $f4, 0x28($s0) -/* 07E690 800E51E0 C606002C */ lwc1 $f6, 0x2c($s0) -/* 07E694 800E51E4 3C013F00 */ lui $at, 0x3f00 -/* 07E698 800E51E8 4481A000 */ mtc1 $at, $f20 -/* 07E69C 800E51EC C6020030 */ lwc1 $f2, 0x30($s0) -/* 07E6A0 800E51F0 44820000 */ mtc1 $v0, $f0 -/* 07E6A4 800E51F4 00000000 */ nop -/* 07E6A8 800E51F8 46800020 */ cvt.s.w $f0, $f0 -/* 07E6AC 800E51FC 46140002 */ mul.s $f0, $f0, $f20 -/* 07E6B0 800E5200 00000000 */ nop -/* 07E6B4 800E5204 E7A40018 */ swc1 $f4, 0x18($sp) -/* 07E6B8 800E5208 E7A6001C */ swc1 $f6, 0x1c($sp) -/* 07E6BC 800E520C E7A20020 */ swc1 $f2, 0x20($sp) -/* 07E6C0 800E5210 E7A80014 */ swc1 $f8, 0x14($sp) -/* 07E6C4 800E5214 0C037D18 */ jal test_player_lateral -/* 07E6C8 800E5218 E7A00010 */ swc1 $f0, 0x10($sp) -/* 07E6CC 800E521C 0040202D */ daddu $a0, $v0, $zero -/* 07E6D0 800E5220 0481002D */ bgez $a0, .L800E52D8 -/* 07E6D4 800E5224 0080102D */ daddu $v0, $a0, $zero -/* 07E6D8 800E5228 C6020054 */ lwc1 $f2, 0x54($s0) -/* 07E6DC 800E522C 44800000 */ mtc1 $zero, $f0 -/* 07E6E0 800E5230 00000000 */ nop -/* 07E6E4 800E5234 46001032 */ c.eq.s $f2, $f0 -/* 07E6E8 800E5238 00000000 */ nop -/* 07E6EC 800E523C 45000026 */ bc1f .L800E52D8 -/* 07E6F0 800E5240 0240282D */ daddu $a1, $s2, $zero -/* 07E6F4 800E5244 0200202D */ daddu $a0, $s0, $zero -/* 07E6F8 800E5248 0220302D */ daddu $a2, $s1, $zero -/* 07E6FC 800E524C 0260382D */ daddu $a3, $s3, $zero -/* 07E700 800E5250 3C038007 */ lui $v1, 0x8007 -/* 07E704 800E5254 8C637410 */ lw $v1, 0x7410($v1) -/* 07E708 800E5258 C4800028 */ lwc1 $f0, 0x28($a0) -/* 07E70C 800E525C C482002C */ lwc1 $f2, 0x2c($a0) -/* 07E710 800E5260 00031080 */ sll $v0, $v1, 2 -/* 07E714 800E5264 00431021 */ addu $v0, $v0, $v1 -/* 07E718 800E5268 00021080 */ sll $v0, $v0, 2 -/* 07E71C 800E526C 00431023 */ subu $v0, $v0, $v1 -/* 07E720 800E5270 E7A00018 */ swc1 $f0, 0x18($sp) -/* 07E724 800E5274 E7A2001C */ swc1 $f2, 0x1c($sp) -/* 07E728 800E5278 848300B2 */ lh $v1, 0xb2($a0) -/* 07E72C 800E527C 000240C0 */ sll $t0, $v0, 3 -/* 07E730 800E5280 44833000 */ mtc1 $v1, $f6 -/* 07E734 800E5284 00000000 */ nop -/* 07E738 800E5288 468031A0 */ cvt.s.w $f6, $f6 -/* 07E73C 800E528C 46143182 */ mul.s $f6, $f6, $f20 -/* 07E740 800E5290 00000000 */ nop -/* 07E744 800E5294 00481021 */ addu $v0, $v0, $t0 -/* 07E748 800E5298 C48000A8 */ lwc1 $f0, 0xa8($a0) -/* 07E74C 800E529C 3C0142B4 */ lui $at, 0x42b4 -/* 07E750 800E52A0 44811000 */ mtc1 $at, $f2 -/* 07E754 800E52A4 000210C0 */ sll $v0, $v0, 3 -/* 07E758 800E52A8 46020001 */ sub.s $f0, $f0, $f2 -/* 07E75C 800E52AC 3C01800B */ lui $at, 0x800b -/* 07E760 800E52B0 00220821 */ addu $at, $at, $v0 -/* 07E764 800E52B4 C4221DEC */ lwc1 $f2, 0x1dec($at) -/* 07E768 800E52B8 C4840030 */ lwc1 $f4, 0x30($a0) -/* 07E76C 800E52BC 46020200 */ add.s $f8, $f0, $f2 -/* 07E770 800E52C0 E7A40020 */ swc1 $f4, 0x20($sp) -/* 07E774 800E52C4 E7A60010 */ swc1 $f6, 0x10($sp) -/* 07E778 800E52C8 0C037D18 */ jal test_player_lateral -/* 07E77C 800E52CC E7A80014 */ swc1 $f8, 0x14($sp) -/* 07E780 800E52D0 0040202D */ daddu $a0, $v0, $zero -.L800E52D4: -/* 07E784 800E52D4 0080102D */ daddu $v0, $a0, $zero -.L800E52D8: -/* 07E788 800E52D8 8FBF0038 */ lw $ra, 0x38($sp) -/* 07E78C 800E52DC 8FB30034 */ lw $s3, 0x34($sp) -/* 07E790 800E52E0 8FB20030 */ lw $s2, 0x30($sp) -/* 07E794 800E52E4 8FB1002C */ lw $s1, 0x2c($sp) -/* 07E798 800E52E8 8FB00028 */ lw $s0, 0x28($sp) -/* 07E79C 800E52EC D7B40040 */ ldc1 $f20, 0x40($sp) -/* 07E7A0 800E52F0 03E00008 */ jr $ra -/* 07E7A4 800E52F4 27BD0048 */ addiu $sp, $sp, 0x48 - -func_800E52F8: -/* 07E7A8 800E52F8 3C028011 */ lui $v0, 0x8011 -/* 07E7AC 800E52FC 2442EBB0 */ addiu $v0, $v0, -0x1450 -/* 07E7B0 800E5300 80440000 */ lb $a0, ($v0) -/* 07E7B4 800E5304 10800008 */ beqz $a0, .L800E5328 -/* 07E7B8 800E5308 24030001 */ addiu $v1, $zero, 1 -/* 07E7BC 800E530C 80430003 */ lb $v1, 3($v0) -/* 07E7C0 800E5310 24020003 */ addiu $v0, $zero, 3 -/* 07E7C4 800E5314 1462000A */ bne $v1, $v0, .L800E5340 -/* 07E7C8 800E5318 0000182D */ daddu $v1, $zero, $zero -/* 07E7CC 800E531C 0082102A */ slt $v0, $a0, $v0 -/* 07E7D0 800E5320 080394D0 */ j .L800E5340 -/* 07E7D4 800E5324 38430001 */ xori $v1, $v0, 1 - -.L800E5328: -/* 07E7D8 800E5328 3C028011 */ lui $v0, 0x8011 -/* 07E7DC 800E532C 2442EFC8 */ addiu $v0, $v0, -0x1038 -/* 07E7E0 800E5330 904200B4 */ lbu $v0, 0xb4($v0) -/* 07E7E4 800E5334 2C420003 */ sltiu $v0, $v0, 3 -/* 07E7E8 800E5338 50400001 */ beql $v0, $zero, .L800E5340 -/* 07E7EC 800E533C 0000182D */ daddu $v1, $zero, $zero -.L800E5340: -/* 07E7F0 800E5340 03E00008 */ jr $ra -/* 07E7F4 800E5344 0060102D */ daddu $v0, $v1, $zero - -func_800E5348: -/* 07E7F8 800E5348 3C038007 */ lui $v1, 0x8007 -/* 07E7FC 800E534C 8C637410 */ lw $v1, 0x7410($v1) -/* 07E800 800E5350 3C018011 */ lui $at, 0x8011 -/* 07E804 800E5354 C42EF04C */ lwc1 $f14, -0xfb4($at) -/* 07E808 800E5358 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 07E80C 800E535C AFBF0010 */ sw $ra, 0x10($sp) -/* 07E810 800E5360 00031080 */ sll $v0, $v1, 2 -/* 07E814 800E5364 00431021 */ addu $v0, $v0, $v1 -/* 07E818 800E5368 00021080 */ sll $v0, $v0, 2 -/* 07E81C 800E536C 00431023 */ subu $v0, $v0, $v1 -/* 07E820 800E5370 000218C0 */ sll $v1, $v0, 3 -/* 07E824 800E5374 00431021 */ addu $v0, $v0, $v1 -/* 07E828 800E5378 000210C0 */ sll $v0, $v0, 3 -/* 07E82C 800E537C 3C01800B */ lui $at, 0x800b -/* 07E830 800E5380 00220821 */ addu $at, $at, $v0 -/* 07E834 800E5384 C42C1DEC */ lwc1 $f12, 0x1dec($at) -/* 07E838 800E5388 0C00A70A */ jal get_clamped_angle_diff -/* 07E83C 800E538C 00000000 */ nop -/* 07E840 800E5390 3C01C0A0 */ lui $at, 0xc0a0 -/* 07E844 800E5394 44811000 */ mtc1 $at, $f2 -/* 07E848 800E5398 46000106 */ mov.s $f4, $f0 -/* 07E84C 800E539C 4602203C */ c.lt.s $f4, $f2 -/* 07E850 800E53A0 00000000 */ nop -/* 07E854 800E53A4 4500000B */ bc1f .L800E53D4 -/* 07E858 800E53A8 00000000 */ nop -/* 07E85C 800E53AC 3C01C32F */ lui $at, 0xc32f -/* 07E860 800E53B0 44810000 */ mtc1 $at, $f0 -/* 07E864 800E53B4 00000000 */ nop -/* 07E868 800E53B8 4604003C */ c.lt.s $f0, $f4 -/* 07E86C 800E53BC 00000000 */ nop -/* 07E870 800E53C0 45000004 */ bc1f .L800E53D4 -/* 07E874 800E53C4 00000000 */ nop -/* 07E878 800E53C8 44802000 */ mtc1 $zero, $f4 -/* 07E87C 800E53CC 08039507 */ j .L800E541C -/* 07E880 800E53D0 00000000 */ nop - -.L800E53D4: -/* 07E884 800E53D4 3C0140A0 */ lui $at, 0x40a0 -/* 07E888 800E53D8 44810000 */ mtc1 $at, $f0 -/* 07E88C 800E53DC 00000000 */ nop -/* 07E890 800E53E0 4604003C */ c.lt.s $f0, $f4 -/* 07E894 800E53E4 00000000 */ nop -/* 07E898 800E53E8 45000009 */ bc1f .L800E5410 -/* 07E89C 800E53EC 00000000 */ nop -/* 07E8A0 800E53F0 3C01432F */ lui $at, 0x432f -/* 07E8A4 800E53F4 44810000 */ mtc1 $at, $f0 -/* 07E8A8 800E53F8 00000000 */ nop -/* 07E8AC 800E53FC 4600203C */ c.lt.s $f4, $f0 -/* 07E8B0 800E5400 3C014334 */ lui $at, 0x4334 -/* 07E8B4 800E5404 44812000 */ mtc1 $at, $f4 -/* 07E8B8 800E5408 45010004 */ bc1t .L800E541C -/* 07E8BC 800E540C 00000000 */ nop -.L800E5410: -/* 07E8C0 800E5410 3C01800F */ lui $at, 0x800f -/* 07E8C4 800E5414 C4247B40 */ lwc1 $f4, 0x7b40($at) -/* 07E8C8 800E5418 46802120 */ cvt.s.w $f4, $f4 -.L800E541C: -/* 07E8CC 800E541C 3C038007 */ lui $v1, 0x8007 -/* 07E8D0 800E5420 8C637410 */ lw $v1, 0x7410($v1) -/* 07E8D4 800E5424 3C0142B4 */ lui $at, 0x42b4 -/* 07E8D8 800E5428 44816000 */ mtc1 $at, $f12 -/* 07E8DC 800E542C 00031080 */ sll $v0, $v1, 2 -/* 07E8E0 800E5430 00431021 */ addu $v0, $v0, $v1 -/* 07E8E4 800E5434 00021080 */ sll $v0, $v0, 2 -/* 07E8E8 800E5438 00431023 */ subu $v0, $v0, $v1 -/* 07E8EC 800E543C 000218C0 */ sll $v1, $v0, 3 -/* 07E8F0 800E5440 00431021 */ addu $v0, $v0, $v1 -/* 07E8F4 800E5444 000210C0 */ sll $v0, $v0, 3 -/* 07E8F8 800E5448 460C2301 */ sub.s $f12, $f4, $f12 -/* 07E8FC 800E544C 3C01800B */ lui $at, 0x800b -/* 07E900 800E5450 00220821 */ addu $at, $at, $v0 -/* 07E904 800E5454 C4201DEC */ lwc1 $f0, 0x1dec($at) -/* 07E908 800E5458 0C00A6C9 */ jal clamp_angle -/* 07E90C 800E545C 46006300 */ add.s $f12, $f12, $f0 -/* 07E910 800E5460 8FBF0010 */ lw $ra, 0x10($sp) -/* 07E914 800E5464 03E00008 */ jr $ra -/* 07E918 800E5468 27BD0018 */ addiu $sp, $sp, 0x18 - -func_800E546C: -/* 07E91C 800E546C 3C018011 */ lui $at, 0x8011 -/* 07E920 800E5470 C424F070 */ lwc1 $f4, -0xf90($at) -/* 07E924 800E5474 3C0142B4 */ lui $at, 0x42b4 -/* 07E928 800E5478 44810000 */ mtc1 $at, $f0 -/* 07E92C 800E547C 44801000 */ mtc1 $zero, $f2 -/* 07E930 800E5480 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 07E934 800E5484 4604003E */ c.le.s $f0, $f4 -/* 07E938 800E5488 00000000 */ nop -/* 07E93C 800E548C 4500000A */ bc1f .L800E54B8 -/* 07E940 800E5490 AFBF0010 */ sw $ra, 0x10($sp) -/* 07E944 800E5494 3C014387 */ lui $at, 0x4387 -/* 07E948 800E5498 44810000 */ mtc1 $at, $f0 -/* 07E94C 800E549C 00000000 */ nop -/* 07E950 800E54A0 4600203C */ c.lt.s $f4, $f0 -/* 07E954 800E54A4 00000000 */ nop -/* 07E958 800E54A8 45000003 */ bc1f .L800E54B8 -/* 07E95C 800E54AC 00000000 */ nop -/* 07E960 800E54B0 3C014334 */ lui $at, 0x4334 -/* 07E964 800E54B4 44811000 */ mtc1 $at, $f2 -.L800E54B8: -/* 07E968 800E54B8 3C01800B */ lui $at, 0x800b -/* 07E96C 800E54BC C42C1DEC */ lwc1 $f12, 0x1dec($at) -/* 07E970 800E54C0 460C1300 */ add.s $f12, $f2, $f12 -/* 07E974 800E54C4 3C0142B4 */ lui $at, 0x42b4 -/* 07E978 800E54C8 44810000 */ mtc1 $at, $f0 -/* 07E97C 800E54CC 0C00A6C9 */ jal clamp_angle -/* 07E980 800E54D0 46006300 */ add.s $f12, $f12, $f0 -/* 07E984 800E54D4 8FBF0010 */ lw $ra, 0x10($sp) -/* 07E988 800E54D8 03E00008 */ jr $ra -/* 07E98C 800E54DC 27BD0018 */ addiu $sp, $sp, 0x18 - -func_800E54E0: -/* 07E990 800E54E0 3C038011 */ lui $v1, 0x8011 -/* 07E994 800E54E4 2463EFC8 */ addiu $v1, $v1, -0x1038 -/* 07E998 800E54E8 C4600028 */ lwc1 $f0, 0x28($v1) -/* 07E99C 800E54EC C4620030 */ lwc1 $f2, 0x30($v1) -/* 07E9A0 800E54F0 4600010D */ trunc.w.s $f4, $f0 -/* 07E9A4 800E54F4 44022000 */ mfc1 $v0, $f4 -/* 07E9A8 800E54F8 C460002C */ lwc1 $f0, 0x2c($v1) -/* 07E9AC 800E54FC A4620016 */ sh $v0, 0x16($v1) -/* 07E9B0 800E5500 4600010D */ trunc.w.s $f4, $f0 -/* 07E9B4 800E5504 44022000 */ mfc1 $v0, $f4 -/* 07E9B8 800E5508 00000000 */ nop -/* 07E9BC 800E550C A4620018 */ sh $v0, 0x18($v1) -/* 07E9C0 800E5510 4600110D */ trunc.w.s $f4, $f2 -/* 07E9C4 800E5514 44022000 */ mfc1 $v0, $f4 -/* 07E9C8 800E5518 03E00008 */ jr $ra -/* 07E9CC 800E551C A462001A */ sh $v0, 0x1a($v1) - -func_800E5520: -/* 07E9D0 800E5520 3C018011 */ lui $at, 0x8011 -/* 07E9D4 800E5524 A420C9B0 */ sh $zero, -0x3650($at) -/* 07E9D8 800E5528 03E00008 */ jr $ra -/* 07E9DC 800E552C 00000000 */ nop - -func_800E5530: -/* 07E9E0 800E5530 27BDFFE0 */ addiu $sp, $sp, -0x20 -/* 07E9E4 800E5534 AFB00010 */ sw $s0, 0x10($sp) -/* 07E9E8 800E5538 AFB10014 */ sw $s1, 0x14($sp) -/* 07E9EC 800E553C 3C118011 */ lui $s1, 0x8011 -/* 07E9F0 800E5540 2631EBB0 */ addiu $s1, $s1, -0x1450 -/* 07E9F4 800E5544 3C038007 */ lui $v1, 0x8007 -/* 07E9F8 800E5548 8C63419C */ lw $v1, 0x419c($v1) -/* 07E9FC 800E554C 3C058011 */ lui $a1, 0x8011 -/* 07EA00 800E5550 24A5EFC8 */ addiu $a1, $a1, -0x1038 -/* 07EA04 800E5554 AFBF0018 */ sw $ra, 0x18($sp) -/* 07EA08 800E5558 84640086 */ lh $a0, 0x86($v1) -/* 07EA0C 800E555C 2402000B */ addiu $v0, $zero, 0xb -/* 07EA10 800E5560 10820008 */ beq $a0, $v0, .L800E5584 -/* 07EA14 800E5564 24100001 */ addiu $s0, $zero, 1 -/* 07EA18 800E5568 2402000D */ addiu $v0, $zero, 0xd -/* 07EA1C 800E556C 148200B5 */ bne $a0, $v0, .L800E5844 -/* 07EA20 800E5570 24020001 */ addiu $v0, $zero, 1 -/* 07EA24 800E5574 8462008C */ lh $v0, 0x8c($v1) -/* 07EA28 800E5578 38420004 */ xori $v0, $v0, 4 -/* 07EA2C 800E557C 08039610 */ j .L800E5840 -/* 07EA30 800E5580 0002802B */ sltu $s0, $zero, $v0 - -.L800E5584: -/* 07EA34 800E5584 8463008C */ lh $v1, 0x8c($v1) -/* 07EA38 800E5588 2C62000C */ sltiu $v0, $v1, 0xc -/* 07EA3C 800E558C 104000AC */ beqz $v0, .L800E5840 -/* 07EA40 800E5590 00031080 */ sll $v0, $v1, 2 -/* 07EA44 800E5594 3C018011 */ lui $at, 0x8011 -/* 07EA48 800E5598 00220821 */ addu $at, $at, $v0 -/* 07EA4C 800E559C 8C22BF00 */ lw $v0, -0x4100($at) -/* 07EA50 800E55A0 00400008 */ jr $v0 -/* 07EA54 800E55A4 00000000 */ nop -/* 07EA58 800E55A8 3C038011 */ lui $v1, 0x8011 -/* 07EA5C 800E55AC 2463C9B0 */ addiu $v1, $v1, -0x3650 -/* 07EA60 800E55B0 84620000 */ lh $v0, ($v1) -/* 07EA64 800E55B4 1440000A */ bnez $v0, .L800E55E0 -/* 07EA68 800E55B8 00000000 */ nop -/* 07EA6C 800E55BC C4A2002C */ lwc1 $f2, 0x2c($a1) -/* 07EA70 800E55C0 44800000 */ mtc1 $zero, $f0 -/* 07EA74 800E55C4 00000000 */ nop -/* 07EA78 800E55C8 4600103E */ c.le.s $f2, $f0 -/* 07EA7C 800E55CC 00000000 */ nop -/* 07EA80 800E55D0 4500009A */ bc1f .L800E583C -/* 07EA84 800E55D4 24020001 */ addiu $v0, $zero, 1 -/* 07EA88 800E55D8 0803960F */ j .L800E583C -/* 07EA8C 800E55DC A4620000 */ sh $v0, ($v1) - -.L800E55E0: -/* 07EA90 800E55E0 C4A2002C */ lwc1 $f2, 0x2c($a1) -/* 07EA94 800E55E4 44800000 */ mtc1 $zero, $f0 -/* 07EA98 800E55E8 080395E6 */ j .L800E5798 -/* 07EA9C 800E55EC 00000000 */ nop - -/* 07EAA0 800E55F0 C4A2002C */ lwc1 $f2, 0x2c($a1) -/* 07EAA4 800E55F4 3C0141C8 */ lui $at, 0x41c8 -/* 07EAA8 800E55F8 44810000 */ mtc1 $at, $f0 -/* 07EAAC 800E55FC 080395E6 */ j .L800E5798 -/* 07EAB0 800E5600 00000000 */ nop - -/* 07EAB4 800E5604 C4A2002C */ lwc1 $f2, 0x2c($a1) -/* 07EAB8 800E5608 3C014248 */ lui $at, 0x4248 -/* 07EABC 800E560C 44810000 */ mtc1 $at, $f0 -/* 07EAC0 800E5610 080395E6 */ j .L800E5798 -/* 07EAC4 800E5614 00000000 */ nop - -/* 07EAC8 800E5618 C4A2002C */ lwc1 $f2, 0x2c($a1) -/* 07EACC 800E561C 3C01C3C3 */ lui $at, 0xc3c3 -/* 07EAD0 800E5620 44810000 */ mtc1 $at, $f0 -/* 07EAD4 800E5624 00000000 */ nop -/* 07EAD8 800E5628 4602003C */ c.lt.s $f0, $f2 -/* 07EADC 800E562C 00000000 */ nop -/* 07EAE0 800E5630 45030083 */ bc1tl .L800E5840 -/* 07EAE4 800E5634 0000802D */ daddu $s0, $zero, $zero -/* 07EAE8 800E5638 3C01C3F7 */ lui $at, 0xc3f7 -/* 07EAEC 800E563C 34218000 */ ori $at, $at, 0x8000 -/* 07EAF0 800E5640 44810000 */ mtc1 $at, $f0 -/* 07EAF4 800E5644 00000000 */ nop -/* 07EAF8 800E5648 4600103C */ c.lt.s $f2, $f0 -/* 07EAFC 800E564C 080395E8 */ j .L800E57A0 -/* 07EB00 800E5650 00000000 */ nop - -/* 07EB04 800E5654 C4A2002C */ lwc1 $f2, 0x2c($a1) -/* 07EB08 800E5658 3C01C2B4 */ lui $at, 0xc2b4 -/* 07EB0C 800E565C 44810000 */ mtc1 $at, $f0 -/* 07EB10 800E5660 00000000 */ nop -/* 07EB14 800E5664 4602003C */ c.lt.s $f0, $f2 -/* 07EB18 800E5668 00000000 */ nop -/* 07EB1C 800E566C 45030074 */ bc1tl .L800E5840 -/* 07EB20 800E5670 0000802D */ daddu $s0, $zero, $zero -/* 07EB24 800E5674 3C01C3B9 */ lui $at, 0xc3b9 -/* 07EB28 800E5678 44810000 */ mtc1 $at, $f0 -/* 07EB2C 800E567C 00000000 */ nop -/* 07EB30 800E5680 4600103C */ c.lt.s $f2, $f0 -/* 07EB34 800E5684 080395E8 */ j .L800E57A0 -/* 07EB38 800E5688 00000000 */ nop - -/* 07EB3C 800E568C 3C028007 */ lui $v0, 0x8007 -/* 07EB40 800E5690 8C42419C */ lw $v0, 0x419c($v0) -/* 07EB44 800E5694 8442008E */ lh $v0, 0x8e($v0) -/* 07EB48 800E5698 54400069 */ bnel $v0, $zero, .L800E5840 -/* 07EB4C 800E569C 24100002 */ addiu $s0, $zero, 2 -/* 07EB50 800E56A0 3C038011 */ lui $v1, 0x8011 -/* 07EB54 800E56A4 2463C9B0 */ addiu $v1, $v1, -0x3650 -/* 07EB58 800E56A8 84620000 */ lh $v0, ($v1) -/* 07EB5C 800E56AC 1440000A */ bnez $v0, .L800E56D8 -/* 07EB60 800E56B0 00000000 */ nop -/* 07EB64 800E56B4 C4A2002C */ lwc1 $f2, 0x2c($a1) -/* 07EB68 800E56B8 44800000 */ mtc1 $zero, $f0 -/* 07EB6C 800E56BC 00000000 */ nop -/* 07EB70 800E56C0 4602003C */ c.lt.s $f0, $f2 -/* 07EB74 800E56C4 00000000 */ nop -/* 07EB78 800E56C8 4503005D */ bc1tl .L800E5840 -/* 07EB7C 800E56CC 24100002 */ addiu $s0, $zero, 2 -/* 07EB80 800E56D0 24020001 */ addiu $v0, $zero, 1 -/* 07EB84 800E56D4 A4620000 */ sh $v0, ($v1) -.L800E56D8: -/* 07EB88 800E56D8 C4A2002C */ lwc1 $f2, 0x2c($a1) -/* 07EB8C 800E56DC 44800000 */ mtc1 $zero, $f0 -/* 07EB90 800E56E0 080395E6 */ j .L800E5798 -/* 07EB94 800E56E4 00000000 */ nop - -/* 07EB98 800E56E8 3C028007 */ lui $v0, 0x8007 -/* 07EB9C 800E56EC 8C42419C */ lw $v0, 0x419c($v0) -/* 07EBA0 800E56F0 8442008E */ lh $v0, 0x8e($v0) -/* 07EBA4 800E56F4 54400052 */ bnel $v0, $zero, .L800E5840 -/* 07EBA8 800E56F8 24100002 */ addiu $s0, $zero, 2 -/* 07EBAC 800E56FC 3C038011 */ lui $v1, 0x8011 -/* 07EBB0 800E5700 2463C9B0 */ addiu $v1, $v1, -0x3650 -/* 07EBB4 800E5704 84620000 */ lh $v0, ($v1) -/* 07EBB8 800E5708 1440000B */ bnez $v0, .L800E5738 -/* 07EBBC 800E570C 00000000 */ nop -/* 07EBC0 800E5710 C4A2002C */ lwc1 $f2, 0x2c($a1) -/* 07EBC4 800E5714 3C01C302 */ lui $at, 0xc302 -/* 07EBC8 800E5718 44810000 */ mtc1 $at, $f0 -/* 07EBCC 800E571C 00000000 */ nop -/* 07EBD0 800E5720 4602003C */ c.lt.s $f0, $f2 -/* 07EBD4 800E5724 00000000 */ nop -/* 07EBD8 800E5728 45030045 */ bc1tl .L800E5840 -/* 07EBDC 800E572C 24100002 */ addiu $s0, $zero, 2 -/* 07EBE0 800E5730 24020001 */ addiu $v0, $zero, 1 -/* 07EBE4 800E5734 A4620000 */ sh $v0, ($v1) -.L800E5738: -/* 07EBE8 800E5738 C4A2002C */ lwc1 $f2, 0x2c($a1) -/* 07EBEC 800E573C 3C01C302 */ lui $at, 0xc302 -/* 07EBF0 800E5740 44810000 */ mtc1 $at, $f0 -/* 07EBF4 800E5744 080395E6 */ j .L800E5798 -/* 07EBF8 800E5748 00000000 */ nop - -/* 07EBFC 800E574C 3C038011 */ lui $v1, 0x8011 -/* 07EC00 800E5750 2463C9B0 */ addiu $v1, $v1, -0x3650 -/* 07EC04 800E5754 84620000 */ lh $v0, ($v1) -/* 07EC08 800E5758 1440000B */ bnez $v0, .L800E5788 -/* 07EC0C 800E575C 00000000 */ nop -/* 07EC10 800E5760 C4A2002C */ lwc1 $f2, 0x2c($a1) -/* 07EC14 800E5764 3C01C402 */ lui $at, 0xc402 -/* 07EC18 800E5768 44810000 */ mtc1 $at, $f0 -/* 07EC1C 800E576C 00000000 */ nop -/* 07EC20 800E5770 4602003C */ c.lt.s $f0, $f2 -/* 07EC24 800E5774 00000000 */ nop -/* 07EC28 800E5778 45030031 */ bc1tl .L800E5840 -/* 07EC2C 800E577C 24100002 */ addiu $s0, $zero, 2 -/* 07EC30 800E5780 24020001 */ addiu $v0, $zero, 1 -/* 07EC34 800E5784 A4620000 */ sh $v0, ($v1) -.L800E5788: -/* 07EC38 800E5788 C4A2002C */ lwc1 $f2, 0x2c($a1) -/* 07EC3C 800E578C 3C01C402 */ lui $at, 0xc402 -/* 07EC40 800E5790 44810000 */ mtc1 $at, $f0 -/* 07EC44 800E5794 00000000 */ nop -.L800E5798: -/* 07EC48 800E5798 4602003C */ c.lt.s $f0, $f2 -/* 07EC4C 800E579C 00000000 */ nop -.L800E57A0: -/* 07EC50 800E57A0 45000028 */ bc1f .L800E5844 -/* 07EC54 800E57A4 24020001 */ addiu $v0, $zero, 1 -/* 07EC58 800E57A8 08039611 */ j .L800E5844 -/* 07EC5C 800E57AC 0000802D */ daddu $s0, $zero, $zero - -/* 07EC60 800E57B0 3C028007 */ lui $v0, 0x8007 -/* 07EC64 800E57B4 8C42419C */ lw $v0, 0x419c($v0) -/* 07EC68 800E57B8 8442008E */ lh $v0, 0x8e($v0) -/* 07EC6C 800E57BC 14400019 */ bnez $v0, .L800E5824 -/* 07EC70 800E57C0 0000202D */ daddu $a0, $zero, $zero -/* 07EC74 800E57C4 3C038011 */ lui $v1, 0x8011 -/* 07EC78 800E57C8 2463C9B0 */ addiu $v1, $v1, -0x3650 -/* 07EC7C 800E57CC 84620000 */ lh $v0, ($v1) -/* 07EC80 800E57D0 1440000B */ bnez $v0, .L800E5800 -/* 07EC84 800E57D4 00000000 */ nop -/* 07EC88 800E57D8 C4A2002C */ lwc1 $f2, 0x2c($a1) -/* 07EC8C 800E57DC 3C01C402 */ lui $at, 0xc402 -/* 07EC90 800E57E0 44810000 */ mtc1 $at, $f0 -/* 07EC94 800E57E4 00000000 */ nop -/* 07EC98 800E57E8 4602003C */ c.lt.s $f0, $f2 -/* 07EC9C 800E57EC 00000000 */ nop -/* 07ECA0 800E57F0 45030013 */ bc1tl .L800E5840 -/* 07ECA4 800E57F4 24100002 */ addiu $s0, $zero, 2 -/* 07ECA8 800E57F8 24020001 */ addiu $v0, $zero, 1 -/* 07ECAC 800E57FC A4620000 */ sh $v0, ($v1) -.L800E5800: -/* 07ECB0 800E5800 C4A2002C */ lwc1 $f2, 0x2c($a1) -/* 07ECB4 800E5804 3C01C402 */ lui $at, 0xc402 -/* 07ECB8 800E5808 44810000 */ mtc1 $at, $f0 -/* 07ECBC 800E580C 00000000 */ nop -/* 07ECC0 800E5810 4602003C */ c.lt.s $f0, $f2 -/* 07ECC4 800E5814 00000000 */ nop -/* 07ECC8 800E5818 45030001 */ bc1tl .L800E5820 -/* 07ECCC 800E581C 0000802D */ daddu $s0, $zero, $zero -.L800E5820: -/* 07ECD0 800E5820 0000202D */ daddu $a0, $zero, $zero -.L800E5824: -/* 07ECD4 800E5824 3C05F5DE */ lui $a1, 0xf5de -/* 07ECD8 800E5828 0C0B1EAF */ jal get_variable -/* 07ECDC 800E582C 34A50180 */ ori $a1, $a1, 0x180 -/* 07ECE0 800E5830 2842FFC6 */ slti $v0, $v0, -0x3a -/* 07ECE4 800E5834 14400003 */ bnez $v0, .L800E5844 -/* 07ECE8 800E5838 24020001 */ addiu $v0, $zero, 1 -.L800E583C: -/* 07ECEC 800E583C 24100002 */ addiu $s0, $zero, 2 -.L800E5840: -/* 07ECF0 800E5840 24020001 */ addiu $v0, $zero, 1 -.L800E5844: -/* 07ECF4 800E5844 16020014 */ bne $s0, $v0, .L800E5898 -/* 07ECF8 800E5848 00000000 */ nop -/* 07ECFC 800E584C 3C048016 */ lui $a0, 0x8016 -/* 07ED00 800E5850 8484A552 */ lh $a0, -0x5aae($a0) -/* 07ED04 800E5854 0C016F6A */ jal get_collider_type_by_id -/* 07ED08 800E5858 00000000 */ nop -/* 07ED0C 800E585C 304200FF */ andi $v0, $v0, 0xff -/* 07ED10 800E5860 24030003 */ addiu $v1, $zero, 3 -/* 07ED14 800E5864 14430007 */ bne $v0, $v1, .L800E5884 -/* 07ED18 800E5868 00000000 */ nop -/* 07ED1C 800E586C 3C03800B */ lui $v1, 0x800b -/* 07ED20 800E5870 24631D80 */ addiu $v1, $v1, 0x1d80 -/* 07ED24 800E5874 94620002 */ lhu $v0, 2($v1) -/* 07ED28 800E5878 0000802D */ daddu $s0, $zero, $zero -/* 07ED2C 800E587C 08039635 */ j .L800E58D4 -/* 07ED30 800E5880 34420001 */ ori $v0, $v0, 1 - -.L800E5884: -/* 07ED34 800E5884 3C03800B */ lui $v1, 0x800b -/* 07ED38 800E5888 24631D80 */ addiu $v1, $v1, 0x1d80 -/* 07ED3C 800E588C 94620002 */ lhu $v0, 2($v1) -/* 07ED40 800E5890 08039635 */ j .L800E58D4 -/* 07ED44 800E5894 3042FFFE */ andi $v0, $v0, 0xfffe - -.L800E5898: -/* 07ED48 800E5898 82220000 */ lb $v0, ($s1) -/* 07ED4C 800E589C 10400009 */ beqz $v0, .L800E58C4 -/* 07ED50 800E58A0 24020004 */ addiu $v0, $zero, 4 -/* 07ED54 800E58A4 82230003 */ lb $v1, 3($s1) -/* 07ED58 800E58A8 14620006 */ bne $v1, $v0, .L800E58C4 -/* 07ED5C 800E58AC 00000000 */ nop -/* 07ED60 800E58B0 3C03800B */ lui $v1, 0x800b -/* 07ED64 800E58B4 24631D80 */ addiu $v1, $v1, 0x1d80 -/* 07ED68 800E58B8 94620002 */ lhu $v0, 2($v1) -/* 07ED6C 800E58BC 08039635 */ j .L800E58D4 -/* 07ED70 800E58C0 34420002 */ ori $v0, $v0, 2 - -.L800E58C4: -/* 07ED74 800E58C4 3C03800B */ lui $v1, 0x800b -/* 07ED78 800E58C8 24631D80 */ addiu $v1, $v1, 0x1d80 -/* 07ED7C 800E58CC 94620002 */ lhu $v0, 2($v1) -/* 07ED80 800E58D0 3042FFFD */ andi $v0, $v0, 0xfffd -.L800E58D4: -/* 07ED84 800E58D4 A4620002 */ sh $v0, 2($v1) -/* 07ED88 800E58D8 0200102D */ daddu $v0, $s0, $zero -/* 07ED8C 800E58DC 8FBF0018 */ lw $ra, 0x18($sp) -/* 07ED90 800E58E0 8FB10014 */ lw $s1, 0x14($sp) -/* 07ED94 800E58E4 8FB00010 */ lw $s0, 0x10($sp) -/* 07ED98 800E58E8 03E00008 */ jr $ra -/* 07ED9C 800E58EC 27BD0020 */ addiu $sp, $sp, 0x20 - -/* 07EDA0 800E58F0 3C018011 */ lui $at, 0x8011 -/* 07EDA4 800E58F4 AC20C944 */ sw $zero, -0x36bc($at) -/* 07EDA8 800E58F8 0000282D */ daddu $a1, $zero, $zero -/* 07EDAC 800E58FC 240700B4 */ addiu $a3, $zero, 0xb4 -/* 07EDB0 800E5900 3C068000 */ lui $a2, 0x8000 -/* 07EDB4 800E5904 3C048011 */ lui $a0, 0x8011 -/* 07EDB8 800E5908 2484EF10 */ addiu $a0, $a0, -0x10f0 -/* 07EDBC 800E590C 3C038011 */ lui $v1, 0x8011 -/* 07EDC0 800E5910 2463F6B8 */ addiu $v1, $v1, -0x948 -.L800E5914: -/* 07EDC4 800E5914 A4670000 */ sh $a3, ($v1) -/* 07EDC8 800E5918 AC860000 */ sw $a2, ($a0) -/* 07EDCC 800E591C 24840004 */ addiu $a0, $a0, 4 -/* 07EDD0 800E5920 24A50001 */ addiu $a1, $a1, 1 -/* 07EDD4 800E5924 28A20005 */ slti $v0, $a1, 5 -/* 07EDD8 800E5928 1440FFFA */ bnez $v0, .L800E5914 -/* 07EDDC 800E592C 24630002 */ addiu $v1, $v1, 2 -/* 07EDE0 800E5930 03E00008 */ jr $ra -/* 07EDE4 800E5934 00000000 */ nop - -func_800E5938: -/* 07EDE8 800E5938 3C088011 */ lui $t0, 0x8011 -/* 07EDEC 800E593C 8D08C944 */ lw $t0, -0x36bc($t0) -/* 07EDF0 800E5940 01044023 */ subu $t0, $t0, $a0 -/* 07EDF4 800E5944 05020001 */ bltzl $t0, .L800E594C -/* 07EDF8 800E5948 25080005 */ addiu $t0, $t0, 5 -.L800E594C: -/* 07EDFC 800E594C 00081880 */ sll $v1, $t0, 2 -/* 07EE00 800E5950 3C028011 */ lui $v0, 0x8011 -/* 07EE04 800E5954 00431021 */ addu $v0, $v0, $v1 -/* 07EE08 800E5958 8C42EF28 */ lw $v0, -0x10d8($v0) -/* 07EE0C 800E595C ACA20000 */ sw $v0, ($a1) -/* 07EE10 800E5960 3C028011 */ lui $v0, 0x8011 -/* 07EE14 800E5964 00431021 */ addu $v0, $v0, $v1 -/* 07EE18 800E5968 8C42EF10 */ lw $v0, -0x10f0($v0) -/* 07EE1C 800E596C ACC20000 */ sw $v0, ($a2) -/* 07EE20 800E5970 3C028011 */ lui $v0, 0x8011 -/* 07EE24 800E5974 00431021 */ addu $v0, $v0, $v1 -/* 07EE28 800E5978 8C42EF40 */ lw $v0, -0x10c0($v0) -/* 07EE2C 800E597C ACE20000 */ sw $v0, ($a3) -/* 07EE30 800E5980 00081040 */ sll $v0, $t0, 1 -/* 07EE34 800E5984 3C018011 */ lui $at, 0x8011 -/* 07EE38 800E5988 00220821 */ addu $at, $at, $v0 -/* 07EE3C 800E598C 8422F6B8 */ lh $v0, -0x948($at) -/* 07EE40 800E5990 44820000 */ mtc1 $v0, $f0 -/* 07EE44 800E5994 00000000 */ nop -/* 07EE48 800E5998 03E00008 */ jr $ra -/* 07EE4C 800E599C 46800020 */ cvt.s.w $f0, $f0 - -func_800E59A0: -/* 07EE50 800E59A0 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 07EE54 800E59A4 3C048011 */ lui $a0, 0x8011 -/* 07EE58 800E59A8 2484F250 */ addiu $a0, $a0, -0xdb0 -/* 07EE5C 800E59AC AFBF0010 */ sw $ra, 0x10($sp) -/* 07EE60 800E59B0 0C00A580 */ jal mem_clear -/* 07EE64 800E59B4 24050034 */ addiu $a1, $zero, 0x34 -/* 07EE68 800E59B8 0000382D */ daddu $a3, $zero, $zero -/* 07EE6C 800E59BC 3C068011 */ lui $a2, 0x8011 -/* 07EE70 800E59C0 24C6EF40 */ addiu $a2, $a2, -0x10c0 -/* 07EE74 800E59C4 3C058011 */ lui $a1, 0x8011 -/* 07EE78 800E59C8 24A5EF10 */ addiu $a1, $a1, -0x10f0 -/* 07EE7C 800E59CC 3C048011 */ lui $a0, 0x8011 -/* 07EE80 800E59D0 2484EF28 */ addiu $a0, $a0, -0x10d8 -/* 07EE84 800E59D4 3C038011 */ lui $v1, 0x8011 -/* 07EE88 800E59D8 2463F6B8 */ addiu $v1, $v1, -0x948 -/* 07EE8C 800E59DC 3C018011 */ lui $at, 0x8011 -/* 07EE90 800E59E0 AC20C944 */ sw $zero, -0x36bc($at) -.L800E59E4: -/* 07EE94 800E59E4 A4600000 */ sh $zero, ($v1) -/* 07EE98 800E59E8 AC800000 */ sw $zero, ($a0) -/* 07EE9C 800E59EC ACA00000 */ sw $zero, ($a1) -/* 07EEA0 800E59F0 ACC00000 */ sw $zero, ($a2) -/* 07EEA4 800E59F4 24C60004 */ addiu $a2, $a2, 4 -/* 07EEA8 800E59F8 24A50004 */ addiu $a1, $a1, 4 -/* 07EEAC 800E59FC 24840004 */ addiu $a0, $a0, 4 -/* 07EEB0 800E5A00 24E70001 */ addiu $a3, $a3, 1 -/* 07EEB4 800E5A04 28E20005 */ slti $v0, $a3, 5 -/* 07EEB8 800E5A08 1440FFF6 */ bnez $v0, .L800E59E4 -/* 07EEBC 800E5A0C 24630002 */ addiu $v1, $v1, 2 -/* 07EEC0 800E5A10 8FBF0010 */ lw $ra, 0x10($sp) -/* 07EEC4 800E5A14 3C018011 */ lui $at, 0x8011 -/* 07EEC8 800E5A18 AC20C964 */ sw $zero, -0x369c($at) -/* 07EECC 800E5A1C 3C018011 */ lui $at, 0x8011 -/* 07EED0 800E5A20 AC20C924 */ sw $zero, -0x36dc($at) -/* 07EED4 800E5A24 03E00008 */ jr $ra -/* 07EED8 800E5A28 27BD0018 */ addiu $sp, $sp, 0x18 - -func_800E5A2C: -/* 07EEDC 800E5A2C 27BDFFD8 */ addiu $sp, $sp, -0x28 -/* 07EEE0 800E5A30 3C04800B */ lui $a0, 0x800b -/* 07EEE4 800E5A34 24841D80 */ addiu $a0, $a0, 0x1d80 -/* 07EEE8 800E5A38 AFB40020 */ sw $s4, 0x20($sp) -/* 07EEEC 800E5A3C 3C148011 */ lui $s4, 0x8011 -/* 07EEF0 800E5A40 2694EBB0 */ addiu $s4, $s4, -0x1450 -/* 07EEF4 800E5A44 AFB00010 */ sw $s0, 0x10($sp) -/* 07EEF8 800E5A48 3C108011 */ lui $s0, 0x8011 -/* 07EEFC 800E5A4C 2610EFC8 */ addiu $s0, $s0, -0x1038 -/* 07EF00 800E5A50 AFB10014 */ sw $s1, 0x14($sp) -/* 07EF04 800E5A54 3C118011 */ lui $s1, 0x8011 -/* 07EF08 800E5A58 2631F250 */ addiu $s1, $s1, -0xdb0 -/* 07EF0C 800E5A5C AFBF0024 */ sw $ra, 0x24($sp) -/* 07EF10 800E5A60 AFB3001C */ sw $s3, 0x1c($sp) -/* 07EF14 800E5A64 AFB20018 */ sw $s2, 0x18($sp) -/* 07EF18 800E5A68 8E030000 */ lw $v1, ($s0) -/* 07EF1C 800E5A6C 3C020004 */ lui $v0, 4 -/* 07EF20 800E5A70 00621024 */ and $v0, $v1, $v0 -/* 07EF24 800E5A74 14400004 */ bnez $v0, .L800E5A88 -/* 07EF28 800E5A78 3C02DFFF */ lui $v0, 0xdfff -/* 07EF2C 800E5A7C 3442FFFF */ ori $v0, $v0, 0xffff -/* 07EF30 800E5A80 00621024 */ and $v0, $v1, $v0 -/* 07EF34 800E5A84 AE020000 */ sw $v0, ($s0) -.L800E5A88: -/* 07EF38 800E5A88 8E020004 */ lw $v0, 4($s0) -/* 07EF3C 800E5A8C 30421000 */ andi $v0, $v0, 0x1000 -/* 07EF40 800E5A90 10400005 */ beqz $v0, .L800E5AA8 -/* 07EF44 800E5A94 00000000 */ nop -/* 07EF48 800E5A98 0C03971E */ jal func_800E5C78 -/* 07EF4C 800E5A9C 00000000 */ nop -/* 07EF50 800E5AA0 08039716 */ j .L800E5C58 -/* 07EF54 800E5AA4 00000000 */ nop - -.L800E5AA8: -/* 07EF58 800E5AA8 820200C5 */ lb $v0, 0xc5($s0) -/* 07EF5C 800E5AAC 920300C5 */ lbu $v1, 0xc5($s0) -/* 07EF60 800E5AB0 10400008 */ beqz $v0, .L800E5AD4 -/* 07EF64 800E5AB4 2462FFFF */ addiu $v0, $v1, -1 -/* 07EF68 800E5AB8 A20200C5 */ sb $v0, 0xc5($s0) -/* 07EF6C 800E5ABC 00021600 */ sll $v0, $v0, 0x18 -/* 07EF70 800E5AC0 14400004 */ bnez $v0, .L800E5AD4 -/* 07EF74 800E5AC4 00000000 */ nop -/* 07EF78 800E5AC8 94820002 */ lhu $v0, 2($a0) -/* 07EF7C 800E5ACC 34420004 */ ori $v0, $v0, 4 -/* 07EF80 800E5AD0 A4820002 */ sh $v0, 2($a0) -.L800E5AD4: -/* 07EF84 800E5AD4 860200C0 */ lh $v0, 0xc0($s0) -/* 07EF88 800E5AD8 10400011 */ beqz $v0, .L800E5B20 -/* 07EF8C 800E5ADC 960300C0 */ lhu $v1, 0xc0($s0) -/* 07EF90 800E5AE0 C6000070 */ lwc1 $f0, 0x70($s0) -/* 07EF94 800E5AE4 44801000 */ mtc1 $zero, $f2 -/* 07EF98 800E5AE8 00000000 */ nop -/* 07EF9C 800E5AEC 4602003E */ c.le.s $f0, $f2 -/* 07EFA0 800E5AF0 00000000 */ nop -/* 07EFA4 800E5AF4 45000008 */ bc1f .L800E5B18 -/* 07EFA8 800E5AF8 00000000 */ nop -/* 07EFAC 800E5AFC 3C01800F */ lui $at, 0x800f -/* 07EFB0 800E5B00 C4207B90 */ lwc1 $f0, 0x7b90($at) -/* 07EFB4 800E5B04 4600103C */ c.lt.s $f2, $f0 -/* 07EFB8 800E5B08 00000000 */ nop -/* 07EFBC 800E5B0C 45030001 */ bc1tl .L800E5B14 -/* 07EFC0 800E5B10 A60300C2 */ sh $v1, 0xc2($s0) -.L800E5B14: -/* 07EFC4 800E5B14 C6000070 */ lwc1 $f0, 0x70($s0) -.L800E5B18: -/* 07EFC8 800E5B18 3C01800F */ lui $at, 0x800f -/* 07EFCC 800E5B1C E4207B90 */ swc1 $f0, 0x7b90($at) -.L800E5B20: -/* 07EFD0 800E5B20 0C03893E */ jal func_800E24F8 -/* 07EFD4 800E5B24 00000000 */ nop -/* 07EFD8 800E5B28 82220000 */ lb $v0, ($s1) -/* 07EFDC 800E5B2C 92230000 */ lbu $v1, ($s1) -/* 07EFE0 800E5B30 1040000E */ beqz $v0, .L800E5B6C -/* 07EFE4 800E5B34 2462FFFF */ addiu $v0, $v1, -1 -/* 07EFE8 800E5B38 A2220000 */ sb $v0, ($s1) -/* 07EFEC 800E5B3C 00021600 */ sll $v0, $v0, 0x18 -/* 07EFF0 800E5B40 1440000B */ bnez $v0, .L800E5B70 -/* 07EFF4 800E5B44 3C138000 */ lui $s3, 0x8000 -/* 07EFF8 800E5B48 3C03FFFE */ lui $v1, 0xfffe -/* 07EFFC 800E5B4C 3463FFFF */ ori $v1, $v1, 0xffff -/* 07F000 800E5B50 8E020004 */ lw $v0, 4($s0) -/* 07F004 800E5B54 8E240030 */ lw $a0, 0x30($s1) -/* 07F008 800E5B58 00431024 */ and $v0, $v0, $v1 -/* 07F00C 800E5B5C 10800004 */ beqz $a0, .L800E5B70 -/* 07F010 800E5B60 AE020004 */ sw $v0, 4($s0) -/* 07F014 800E5B64 0C05271B */ jal stop_sound -/* 07F018 800E5B68 00000000 */ nop -.L800E5B6C: -/* 07F01C 800E5B6C 3C138000 */ lui $s3, 0x8000 -.L800E5B70: -/* 07F020 800E5B70 3C11800F */ lui $s1, 0x800f -/* 07F024 800E5B74 26317C8C */ addiu $s1, $s1, 0x7c8c -/* 07F028 800E5B78 3C128011 */ lui $s2, 0x8011 -/* 07F02C 800E5B7C 2652C924 */ addiu $s2, $s2, -0x36dc -.L800E5B80: -/* 07F030 800E5B80 820200B4 */ lb $v0, 0xb4($s0) -/* 07F034 800E5B84 2C420003 */ sltiu $v0, $v0, 3 -/* 07F038 800E5B88 10400015 */ beqz $v0, .L800E5BE0 -/* 07F03C 800E5B8C 00000000 */ nop -/* 07F040 800E5B90 8E020000 */ lw $v0, ($s0) -/* 07F044 800E5B94 30422000 */ andi $v0, $v0, 0x2000 -/* 07F048 800E5B98 14400004 */ bnez $v0, .L800E5BAC -/* 07F04C 800E5B9C 0000182D */ daddu $v1, $zero, $zero -/* 07F050 800E5BA0 0C010C77 */ jal func_800431DC -/* 07F054 800E5BA4 00000000 */ nop -/* 07F058 800E5BA8 0040182D */ daddu $v1, $v0, $zero -.L800E5BAC: -/* 07F05C 800E5BAC 82820000 */ lb $v0, ($s4) -/* 07F060 800E5BB0 14400009 */ bnez $v0, .L800E5BD8 -/* 07F064 800E5BB4 00000000 */ nop -/* 07F068 800E5BB8 8E020000 */ lw $v0, ($s0) -/* 07F06C 800E5BBC 30420020 */ andi $v0, $v0, 0x20 -/* 07F070 800E5BC0 14400005 */ bnez $v0, .L800E5BD8 -/* 07F074 800E5BC4 00000000 */ nop -/* 07F078 800E5BC8 10600003 */ beqz $v1, .L800E5BD8 -/* 07F07C 800E5BCC 00000000 */ nop -/* 07F080 800E5BD0 0C039769 */ jal set_action_state -/* 07F084 800E5BD4 2404000C */ addiu $a0, $zero, 0xc -.L800E5BD8: -/* 07F088 800E5BD8 0C03989A */ jal check_input_spin -/* 07F08C 800E5BDC 00000000 */ nop -.L800E5BE0: -/* 07F090 800E5BE0 8E020000 */ lw $v0, ($s0) -/* 07F094 800E5BE4 00531024 */ and $v0, $v0, $s3 -/* 07F098 800E5BE8 10400011 */ beqz $v0, .L800E5C30 -/* 07F09C 800E5BEC 00000000 */ nop -/* 07F0A0 800E5BF0 820200B4 */ lb $v0, 0xb4($s0) -/* 07F0A4 800E5BF4 00021100 */ sll $v0, $v0, 4 -/* 07F0A8 800E5BF8 00511021 */ addu $v0, $v0, $s1 -/* 07F0AC 800E5BFC 8C440004 */ lw $a0, 4($v0) -/* 07F0B0 800E5C00 1080000B */ beqz $a0, .L800E5C30 -/* 07F0B4 800E5C04 00000000 */ nop -/* 07F0B8 800E5C08 8E420000 */ lw $v0, ($s2) -/* 07F0BC 800E5C0C 10820008 */ beq $a0, $v0, .L800E5C30 -/* 07F0C0 800E5C10 3C06802B */ lui $a2, 0x802b -/* 07F0C4 800E5C14 820200B4 */ lb $v0, 0xb4($s0) -/* 07F0C8 800E5C18 00021100 */ sll $v0, $v0, 4 -/* 07F0CC 800E5C1C 00511021 */ addu $v0, $v0, $s1 -/* 07F0D0 800E5C20 8C450008 */ lw $a1, 8($v0) -/* 07F0D4 800E5C24 34C66000 */ ori $a2, $a2, 0x6000 -/* 07F0D8 800E5C28 0C00A5CF */ jal dma_copy -/* 07F0DC 800E5C2C AE440000 */ sw $a0, ($s2) -.L800E5C30: -/* 07F0E0 800E5C30 820200B4 */ lb $v0, 0xb4($s0) -/* 07F0E4 800E5C34 00021100 */ sll $v0, $v0, 4 -/* 07F0E8 800E5C38 00511021 */ addu $v0, $v0, $s1 -/* 07F0EC 800E5C3C 8C420000 */ lw $v0, ($v0) -/* 07F0F0 800E5C40 0040F809 */ jalr $v0 -/* 07F0F4 800E5C44 00000000 */ nop -/* 07F0F8 800E5C48 8E020000 */ lw $v0, ($s0) -/* 07F0FC 800E5C4C 00531024 */ and $v0, $v0, $s3 -/* 07F100 800E5C50 1440FFCB */ bnez $v0, .L800E5B80 -/* 07F104 800E5C54 00000000 */ nop -.L800E5C58: -/* 07F108 800E5C58 8FBF0024 */ lw $ra, 0x24($sp) -/* 07F10C 800E5C5C 8FB40020 */ lw $s4, 0x20($sp) -/* 07F110 800E5C60 8FB3001C */ lw $s3, 0x1c($sp) -/* 07F114 800E5C64 8FB20018 */ lw $s2, 0x18($sp) -/* 07F118 800E5C68 8FB10014 */ lw $s1, 0x14($sp) -/* 07F11C 800E5C6C 8FB00010 */ lw $s0, 0x10($sp) -/* 07F120 800E5C70 03E00008 */ jr $ra -/* 07F124 800E5C74 27BD0028 */ addiu $sp, $sp, 0x28 - -func_800E5C78: -/* 07F128 800E5C78 27BDFFD8 */ addiu $sp, $sp, -0x28 -/* 07F12C 800E5C7C AFB00010 */ sw $s0, 0x10($sp) -/* 07F130 800E5C80 3C108011 */ lui $s0, 0x8011 -/* 07F134 800E5C84 2610EFC8 */ addiu $s0, $s0, -0x1038 -/* 07F138 800E5C88 AFBF0020 */ sw $ra, 0x20($sp) -/* 07F13C 800E5C8C AFB3001C */ sw $s3, 0x1c($sp) -/* 07F140 800E5C90 AFB20018 */ sw $s2, 0x18($sp) -/* 07F144 800E5C94 0C03893E */ jal func_800E24F8 -/* 07F148 800E5C98 AFB10014 */ sw $s1, 0x14($sp) -/* 07F14C 800E5C9C 3C138000 */ lui $s3, 0x8000 -/* 07F150 800E5CA0 3C11800F */ lui $s1, 0x800f -/* 07F154 800E5CA4 26317C8C */ addiu $s1, $s1, 0x7c8c -/* 07F158 800E5CA8 3C128011 */ lui $s2, 0x8011 -/* 07F15C 800E5CAC 2652C924 */ addiu $s2, $s2, -0x36dc -.L800E5CB0: -/* 07F160 800E5CB0 8E020000 */ lw $v0, ($s0) -/* 07F164 800E5CB4 30420020 */ andi $v0, $v0, 0x20 -/* 07F168 800E5CB8 14400007 */ bnez $v0, .L800E5CD8 -/* 07F16C 800E5CBC 00000000 */ nop -/* 07F170 800E5CC0 0C010C77 */ jal func_800431DC -/* 07F174 800E5CC4 00000000 */ nop -/* 07F178 800E5CC8 10400003 */ beqz $v0, .L800E5CD8 -/* 07F17C 800E5CCC 00000000 */ nop -/* 07F180 800E5CD0 0C039769 */ jal set_action_state -/* 07F184 800E5CD4 2404000C */ addiu $a0, $zero, 0xc -.L800E5CD8: -/* 07F188 800E5CD8 8E020000 */ lw $v0, ($s0) -/* 07F18C 800E5CDC 00531024 */ and $v0, $v0, $s3 -/* 07F190 800E5CE0 10400014 */ beqz $v0, .L800E5D34 -/* 07F194 800E5CE4 00000000 */ nop -/* 07F198 800E5CE8 820200B4 */ lb $v0, 0xb4($s0) -/* 07F19C 800E5CEC 00021100 */ sll $v0, $v0, 4 -/* 07F1A0 800E5CF0 00512021 */ addu $a0, $v0, $s1 -/* 07F1A4 800E5CF4 8082000C */ lb $v0, 0xc($a0) -/* 07F1A8 800E5CF8 10400017 */ beqz $v0, .L800E5D58 -/* 07F1AC 800E5CFC 00000000 */ nop -/* 07F1B0 800E5D00 8C840004 */ lw $a0, 4($a0) -/* 07F1B4 800E5D04 1080000B */ beqz $a0, .L800E5D34 -/* 07F1B8 800E5D08 00000000 */ nop -/* 07F1BC 800E5D0C 8E420000 */ lw $v0, ($s2) -/* 07F1C0 800E5D10 10820008 */ beq $a0, $v0, .L800E5D34 -/* 07F1C4 800E5D14 3C06802B */ lui $a2, 0x802b -/* 07F1C8 800E5D18 820200B4 */ lb $v0, 0xb4($s0) -/* 07F1CC 800E5D1C 00021100 */ sll $v0, $v0, 4 -/* 07F1D0 800E5D20 00511021 */ addu $v0, $v0, $s1 -/* 07F1D4 800E5D24 8C450008 */ lw $a1, 8($v0) -/* 07F1D8 800E5D28 34C66000 */ ori $a2, $a2, 0x6000 -/* 07F1DC 800E5D2C 0C00A5CF */ jal dma_copy -/* 07F1E0 800E5D30 AE440000 */ sw $a0, ($s2) -.L800E5D34: -/* 07F1E4 800E5D34 820200B4 */ lb $v0, 0xb4($s0) -/* 07F1E8 800E5D38 00021100 */ sll $v0, $v0, 4 -/* 07F1EC 800E5D3C 00511821 */ addu $v1, $v0, $s1 -/* 07F1F0 800E5D40 8062000C */ lb $v0, 0xc($v1) -/* 07F1F4 800E5D44 10400004 */ beqz $v0, .L800E5D58 -/* 07F1F8 800E5D48 00000000 */ nop -/* 07F1FC 800E5D4C 8C620000 */ lw $v0, ($v1) -/* 07F200 800E5D50 0040F809 */ jalr $v0 -/* 07F204 800E5D54 00000000 */ nop -.L800E5D58: -/* 07F208 800E5D58 8E020000 */ lw $v0, ($s0) -/* 07F20C 800E5D5C 00531024 */ and $v0, $v0, $s3 -/* 07F210 800E5D60 1440FFD3 */ bnez $v0, .L800E5CB0 -/* 07F214 800E5D64 00000000 */ nop -/* 07F218 800E5D68 0C03990A */ jal func_800E6428 -/* 07F21C 800E5D6C 00000000 */ nop -/* 07F220 800E5D70 8E020004 */ lw $v0, 4($s0) -/* 07F224 800E5D74 30422000 */ andi $v0, $v0, 0x2000 -/* 07F228 800E5D78 10400003 */ beqz $v0, .L800E5D88 -/* 07F22C 800E5D7C 00000000 */ nop -/* 07F230 800E5D80 0C039940 */ jal func_800E6500 -/* 07F234 800E5D84 00000000 */ nop -.L800E5D88: -/* 07F238 800E5D88 8FBF0020 */ lw $ra, 0x20($sp) -/* 07F23C 800E5D8C 8FB3001C */ lw $s3, 0x1c($sp) -/* 07F240 800E5D90 8FB20018 */ lw $s2, 0x18($sp) -/* 07F244 800E5D94 8FB10014 */ lw $s1, 0x14($sp) -/* 07F248 800E5D98 8FB00010 */ lw $s0, 0x10($sp) -/* 07F24C 800E5D9C 03E00008 */ jr $ra -/* 07F250 800E5DA0 27BD0028 */ addiu $sp, $sp, 0x28 - -set_action_state: -/* 07F254 800E5DA4 27BDFFE0 */ addiu $sp, $sp, -0x20 -/* 07F258 800E5DA8 AFB00010 */ sw $s0, 0x10($sp) -/* 07F25C 800E5DAC 3C108011 */ lui $s0, 0x8011 -/* 07F260 800E5DB0 2610EFC8 */ addiu $s0, $s0, -0x1038 -/* 07F264 800E5DB4 AFBF0018 */ sw $ra, 0x18($sp) -/* 07F268 800E5DB8 AFB10014 */ sw $s1, 0x14($sp) -/* 07F26C 800E5DBC 8E030000 */ lw $v1, ($s0) -/* 07F270 800E5DC0 30620200 */ andi $v0, $v1, 0x200 -/* 07F274 800E5DC4 10400005 */ beqz $v0, .L800E5DDC -/* 07F278 800E5DC8 0080882D */ daddu $s1, $a0, $zero -/* 07F27C 800E5DCC 2402FDFF */ addiu $v0, $zero, -0x201 -/* 07F280 800E5DD0 00621024 */ and $v0, $v1, $v0 -/* 07F284 800E5DD4 0C038069 */ jal func_800E01A4 -/* 07F288 800E5DD8 AE020000 */ sw $v0, ($s0) -.L800E5DDC: -/* 07F28C 800E5DDC 8E040004 */ lw $a0, 4($s0) -/* 07F290 800E5DE0 30824000 */ andi $v0, $a0, 0x4000 -/* 07F294 800E5DE4 1040000C */ beqz $v0, .L800E5E18 -/* 07F298 800E5DE8 2A22000C */ slti $v0, $s1, 0xc -/* 07F29C 800E5DEC 10400059 */ beqz $v0, .L800E5F54 -/* 07F2A0 800E5DF0 00000000 */ nop -/* 07F2A4 800E5DF4 06200057 */ bltz $s1, .L800E5F54 -/* 07F2A8 800E5DF8 3C038000 */ lui $v1, 0x8000 -/* 07F2AC 800E5DFC 920200B4 */ lbu $v0, 0xb4($s0) -/* 07F2B0 800E5E00 A20200B5 */ sb $v0, 0xb5($s0) -/* 07F2B4 800E5E04 8E020000 */ lw $v0, ($s0) -/* 07F2B8 800E5E08 A21100B4 */ sb $s1, 0xb4($s0) -/* 07F2BC 800E5E0C 00431025 */ or $v0, $v0, $v1 -/* 07F2C0 800E5E10 080397D5 */ j .L800E5F54 -/* 07F2C4 800E5E14 AE020000 */ sw $v0, ($s0) - -.L800E5E18: -/* 07F2C8 800E5E18 24020015 */ addiu $v0, $zero, 0x15 -/* 07F2CC 800E5E1C 12220003 */ beq $s1, $v0, .L800E5E2C -/* 07F2D0 800E5E20 24020017 */ addiu $v0, $zero, 0x17 -/* 07F2D4 800E5E24 1622001A */ bne $s1, $v0, .L800E5E90 -/* 07F2D8 800E5E28 24020011 */ addiu $v0, $zero, 0x11 -.L800E5E2C: -/* 07F2DC 800E5E2C 820300BF */ lb $v1, 0xbf($s0) -/* 07F2E0 800E5E30 24020003 */ addiu $v0, $zero, 3 -/* 07F2E4 800E5E34 50620001 */ beql $v1, $v0, .L800E5E3C -/* 07F2E8 800E5E38 24110015 */ addiu $s1, $zero, 0x15 -.L800E5E3C: -/* 07F2EC 800E5E3C 3C028011 */ lui $v0, 0x8011 -/* 07F2F0 800E5E40 2442F290 */ addiu $v0, $v0, -0xd70 -/* 07F2F4 800E5E44 90430012 */ lbu $v1, 0x12($v0) -/* 07F2F8 800E5E48 2462FFF9 */ addiu $v0, $v1, -7 -/* 07F2FC 800E5E4C 2C420002 */ sltiu $v0, $v0, 2 -/* 07F300 800E5E50 14400005 */ bnez $v0, .L800E5E68 -/* 07F304 800E5E54 00031600 */ sll $v0, $v1, 0x18 -/* 07F308 800E5E58 00021603 */ sra $v0, $v0, 0x18 -/* 07F30C 800E5E5C 24030004 */ addiu $v1, $zero, 4 -/* 07F310 800E5E60 1443000B */ bne $v0, $v1, .L800E5E90 -/* 07F314 800E5E64 24020011 */ addiu $v0, $zero, 0x11 -.L800E5E68: -/* 07F318 800E5E68 3C028011 */ lui $v0, 0x8011 -/* 07F31C 800E5E6C 8042EBB0 */ lb $v0, -0x1450($v0) -/* 07F320 800E5E70 10400006 */ beqz $v0, .L800E5E8C -/* 07F324 800E5E74 34830004 */ ori $v1, $a0, 4 -/* 07F328 800E5E78 8E020000 */ lw $v0, ($s0) -/* 07F32C 800E5E7C AE030004 */ sw $v1, 4($s0) -/* 07F330 800E5E80 34420800 */ ori $v0, $v0, 0x800 -/* 07F334 800E5E84 080397D5 */ j .L800E5F54 -/* 07F338 800E5E88 AE020000 */ sw $v0, ($s0) - -.L800E5E8C: -/* 07F33C 800E5E8C 24020011 */ addiu $v0, $zero, 0x11 -.L800E5E90: -/* 07F340 800E5E90 16220007 */ bne $s1, $v0, .L800E5EB0 -/* 07F344 800E5E94 2403BFFF */ addiu $v1, $zero, -0x4001 -/* 07F348 800E5E98 8E020000 */ lw $v0, ($s0) -/* 07F34C 800E5E9C A6000012 */ sh $zero, 0x12($s0) -/* 07F350 800E5EA0 34420010 */ ori $v0, $v0, 0x10 -/* 07F354 800E5EA4 AE020000 */ sw $v0, ($s0) -/* 07F358 800E5EA8 00431024 */ and $v0, $v0, $v1 -/* 07F35C 800E5EAC AE020000 */ sw $v0, ($s0) -.L800E5EB0: -/* 07F360 800E5EB0 920200B4 */ lbu $v0, 0xb4($s0) -/* 07F364 800E5EB4 A20200B5 */ sb $v0, 0xb5($s0) -/* 07F368 800E5EB8 2402001F */ addiu $v0, $zero, 0x1f -/* 07F36C 800E5EBC 52220001 */ beql $s1, $v0, .L800E5EC4 -/* 07F370 800E5EC0 A20000B5 */ sb $zero, 0xb5($s0) -.L800E5EC4: -/* 07F374 800E5EC4 2402001B */ addiu $v0, $zero, 0x1b -/* 07F378 800E5EC8 16220004 */ bne $s1, $v0, .L800E5EDC -/* 07F37C 800E5ECC 00000000 */ nop -/* 07F380 800E5ED0 8E020004 */ lw $v0, 4($s0) -/* 07F384 800E5ED4 34420004 */ ori $v0, $v0, 4 -/* 07F388 800E5ED8 AE020004 */ sw $v0, 4($s0) -.L800E5EDC: -/* 07F38C 800E5EDC 8E030000 */ lw $v1, ($s0) -/* 07F390 800E5EE0 3C028000 */ lui $v0, 0x8000 -/* 07F394 800E5EE4 A21100B4 */ sb $s1, 0xb4($s0) -/* 07F398 800E5EE8 00622825 */ or $a1, $v1, $v0 -/* 07F39C 800E5EEC 820300B4 */ lb $v1, 0xb4($s0) -/* 07F3A0 800E5EF0 2402001A */ addiu $v0, $zero, 0x1a -/* 07F3A4 800E5EF4 10620017 */ beq $v1, $v0, .L800E5F54 -/* 07F3A8 800E5EF8 AE050000 */ sw $a1, ($s0) -/* 07F3AC 800E5EFC 3C02FFFD */ lui $v0, 0xfffd -/* 07F3B0 800E5F00 3442FFFF */ ori $v0, $v0, 0xffff -/* 07F3B4 800E5F04 3C04FFFE */ lui $a0, 0xfffe -/* 07F3B8 800E5F08 3484FFFF */ ori $a0, $a0, 0xffff -/* 07F3BC 800E5F0C 00A21024 */ and $v0, $a1, $v0 -/* 07F3C0 800E5F10 3C038011 */ lui $v1, 0x8011 -/* 07F3C4 800E5F14 2463F250 */ addiu $v1, $v1, -0xdb0 -/* 07F3C8 800E5F18 AE020000 */ sw $v0, ($s0) -/* 07F3CC 800E5F1C 8E020004 */ lw $v0, 4($s0) -/* 07F3D0 800E5F20 8C630030 */ lw $v1, 0x30($v1) -/* 07F3D4 800E5F24 00441024 */ and $v0, $v0, $a0 -/* 07F3D8 800E5F28 10600003 */ beqz $v1, .L800E5F38 -/* 07F3DC 800E5F2C AE020004 */ sw $v0, 4($s0) -/* 07F3E0 800E5F30 0C05271B */ jal stop_sound -/* 07F3E4 800E5F34 0060202D */ daddu $a0, $v1, $zero -.L800E5F38: -/* 07F3E8 800E5F38 8E0200D8 */ lw $v0, 0xd8($s0) -/* 07F3EC 800E5F3C 10400005 */ beqz $v0, .L800E5F54 -/* 07F3F0 800E5F40 00000000 */ nop -/* 07F3F4 800E5F44 8C43000C */ lw $v1, 0xc($v0) -/* 07F3F8 800E5F48 2402000A */ addiu $v0, $zero, 0xa -/* 07F3FC 800E5F4C AC620024 */ sw $v0, 0x24($v1) -/* 07F400 800E5F50 AE0000D8 */ sw $zero, 0xd8($s0) -.L800E5F54: -/* 07F404 800E5F54 8FBF0018 */ lw $ra, 0x18($sp) -/* 07F408 800E5F58 8FB10014 */ lw $s1, 0x14($sp) -/* 07F40C 800E5F5C 8FB00010 */ lw $s0, 0x10($sp) -/* 07F410 800E5F60 03E00008 */ jr $ra -/* 07F414 800E5F64 27BD0020 */ addiu $sp, $sp, 0x20 - -update_locomotion_state: -/* 07F418 800E5F68 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 07F41C 800E5F6C AFB00010 */ sw $s0, 0x10($sp) -/* 07F420 800E5F70 3C108011 */ lui $s0, 0x8011 -/* 07F424 800E5F74 2610EFC8 */ addiu $s0, $s0, -0x1038 -/* 07F428 800E5F78 AFBF0014 */ sw $ra, 0x14($sp) -/* 07F42C 800E5F7C 0C03A752 */ jal is_ability_active -/* 07F430 800E5F80 2404000B */ addiu $a0, $zero, 0xb -/* 07F434 800E5F84 1440000C */ bnez $v0, .L800E5FB8 -/* 07F438 800E5F88 24040001 */ addiu $a0, $zero, 1 -/* 07F43C 800E5F8C 8E0200E8 */ lw $v0, 0xe8($s0) -/* 07F440 800E5F90 00420018 */ mult $v0, $v0 -/* 07F444 800E5F94 00001812 */ mflo $v1 -/* 07F448 800E5F98 8E0200EC */ lw $v0, 0xec($s0) -/* 07F44C 800E5F9C 00000000 */ nop -/* 07F450 800E5FA0 00420018 */ mult $v0, $v0 -/* 07F454 800E5FA4 00003012 */ mflo $a2 -/* 07F458 800E5FA8 00661021 */ addu $v0, $v1, $a2 -/* 07F45C 800E5FAC 28420BD2 */ slti $v0, $v0, 0xbd2 -/* 07F460 800E5FB0 50400001 */ beql $v0, $zero, .L800E5FB8 -/* 07F464 800E5FB4 24040002 */ addiu $a0, $zero, 2 -.L800E5FB8: -/* 07F468 800E5FB8 0C039769 */ jal set_action_state -/* 07F46C 800E5FBC 00000000 */ nop -/* 07F470 800E5FC0 8FBF0014 */ lw $ra, 0x14($sp) -/* 07F474 800E5FC4 8FB00010 */ lw $s0, 0x10($sp) -/* 07F478 800E5FC8 03E00008 */ jr $ra -/* 07F47C 800E5FCC 27BD0018 */ addiu $sp, $sp, 0x18 - -start_falling: -/* 07F480 800E5FD0 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 07F484 800E5FD4 AFBF0010 */ sw $ra, 0x10($sp) -/* 07F488 800E5FD8 0C039769 */ jal set_action_state -/* 07F48C 800E5FDC 24040008 */ addiu $a0, $zero, 8 -/* 07F490 800E5FE0 3C013DEA */ lui $at, 0x3dea -/* 07F494 800E5FE4 3421161E */ ori $at, $at, 0x161e -/* 07F498 800E5FE8 44810000 */ mtc1 $at, $f0 -/* 07F49C 800E5FEC 3C01BE92 */ lui $at, 0xbe92 -/* 07F4A0 800E5FF0 3421FEC5 */ ori $at, $at, 0xfec5 -/* 07F4A4 800E5FF4 44811000 */ mtc1 $at, $f2 -/* 07F4A8 800E5FF8 3C01BE3A */ lui $at, 0xbe3a -/* 07F4AC 800E5FFC 3421ACDA */ ori $at, $at, 0xacda -/* 07F4B0 800E6000 44812000 */ mtc1 $at, $f4 -/* 07F4B4 800E6004 3C013C3C */ lui $at, 0x3c3c -/* 07F4B8 800E6008 3421BE62 */ ori $at, $at, 0xbe62 -/* 07F4BC 800E600C 44813000 */ mtc1 $at, $f6 -/* 07F4C0 800E6010 3C028011 */ lui $v0, 0x8011 -/* 07F4C4 800E6014 2442EFC8 */ addiu $v0, $v0, -0x1038 -/* 07F4C8 800E6018 E4400070 */ swc1 $f0, 0x70($v0) -/* 07F4CC 800E601C E4420074 */ swc1 $f2, 0x74($v0) -/* 07F4D0 800E6020 E4440078 */ swc1 $f4, 0x78($v0) -/* 07F4D4 800E6024 E446007C */ swc1 $f6, 0x7c($v0) -/* 07F4D8 800E6028 8FBF0010 */ lw $ra, 0x10($sp) -/* 07F4DC 800E602C 03E00008 */ jr $ra -/* 07F4E0 800E6030 27BD0018 */ addiu $sp, $sp, 0x18 - -start_bounce_a: -/* 07F4E4 800E6034 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 07F4E8 800E6038 AFBF0010 */ sw $ra, 0x10($sp) -/* 07F4EC 800E603C 0C039769 */ jal set_action_state -/* 07F4F0 800E6040 24040004 */ addiu $a0, $zero, 4 -/* 07F4F4 800E6044 3C014120 */ lui $at, 0x4120 -/* 07F4F8 800E6048 44810000 */ mtc1 $at, $f0 -/* 07F4FC 800E604C 3C01C000 */ lui $at, 0xc000 -/* 07F500 800E6050 44811000 */ mtc1 $at, $f2 -/* 07F504 800E6054 3C013F4C */ lui $at, 0x3f4c -/* 07F508 800E6058 3421CCCD */ ori $at, $at, 0xcccd -/* 07F50C 800E605C 44812000 */ mtc1 $at, $f4 -/* 07F510 800E6060 3C01BF40 */ lui $at, 0xbf40 -/* 07F514 800E6064 44813000 */ mtc1 $at, $f6 -/* 07F518 800E6068 3C028011 */ lui $v0, 0x8011 -/* 07F51C 800E606C 2442EFC8 */ addiu $v0, $v0, -0x1038 -/* 07F520 800E6070 E4400070 */ swc1 $f0, 0x70($v0) -/* 07F524 800E6074 E4420074 */ swc1 $f2, 0x74($v0) -/* 07F528 800E6078 E4440078 */ swc1 $f4, 0x78($v0) -/* 07F52C 800E607C E446007C */ swc1 $f6, 0x7c($v0) -/* 07F530 800E6080 8FBF0010 */ lw $ra, 0x10($sp) -/* 07F534 800E6084 03E00008 */ jr $ra -/* 07F538 800E6088 27BD0018 */ addiu $sp, $sp, 0x18 - -start_bounce_b: -/* 07F53C 800E608C 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 07F540 800E6090 AFBF0010 */ sw $ra, 0x10($sp) -/* 07F544 800E6094 0C039769 */ jal set_action_state -/* 07F548 800E6098 24040004 */ addiu $a0, $zero, 4 -/* 07F54C 800E609C 3C048011 */ lui $a0, 0x8011 -/* 07F550 800E60A0 2484EFC8 */ addiu $a0, $a0, -0x1038 -/* 07F554 800E60A4 3C014100 */ lui $at, 0x4100 -/* 07F558 800E60A8 44810000 */ mtc1 $at, $f0 -/* 07F55C 800E60AC 3C01BF80 */ lui $at, 0xbf80 -/* 07F560 800E60B0 44811000 */ mtc1 $at, $f2 -/* 07F564 800E60B4 8C820000 */ lw $v0, ($a0) -/* 07F568 800E60B8 3C030080 */ lui $v1, 0x80 -/* 07F56C 800E60BC AC800078 */ sw $zero, 0x78($a0) -/* 07F570 800E60C0 AC80007C */ sw $zero, 0x7c($a0) -/* 07F574 800E60C4 00431025 */ or $v0, $v0, $v1 -/* 07F578 800E60C8 E4800070 */ swc1 $f0, 0x70($a0) -/* 07F57C 800E60CC E4820074 */ swc1 $f2, 0x74($a0) -/* 07F580 800E60D0 AC820000 */ sw $v0, ($a0) -/* 07F584 800E60D4 8FBF0010 */ lw $ra, 0x10($sp) -/* 07F588 800E60D8 03E00008 */ jr $ra -/* 07F58C 800E60DC 27BD0018 */ addiu $sp, $sp, 0x18 - -check_input_hammer: -/* 07F590 800E60E0 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 07F594 800E60E4 3C038011 */ lui $v1, 0x8011 -/* 07F598 800E60E8 2463EFC8 */ addiu $v1, $v1, -0x1038 -/* 07F59C 800E60EC AFBF0010 */ sw $ra, 0x10($sp) -/* 07F5A0 800E60F0 8C6200E0 */ lw $v0, 0xe0($v1) -/* 07F5A4 800E60F4 3C048011 */ lui $a0, 0x8011 -/* 07F5A8 800E60F8 2484F290 */ addiu $a0, $a0, -0xd70 -/* 07F5AC 800E60FC 30424000 */ andi $v0, $v0, 0x4000 -/* 07F5B0 800E6100 10400014 */ beqz $v0, .L800E6154 -/* 07F5B4 800E6104 0000102D */ daddu $v0, $zero, $zero -/* 07F5B8 800E6108 8C620000 */ lw $v0, ($v1) -/* 07F5BC 800E610C 30420004 */ andi $v0, $v0, 4 -/* 07F5C0 800E6110 14400010 */ bnez $v0, .L800E6154 -/* 07F5C4 800E6114 0000102D */ daddu $v0, $zero, $zero -/* 07F5C8 800E6118 3C038011 */ lui $v1, 0x8011 -/* 07F5CC 800E611C 8063EBB0 */ lb $v1, -0x1450($v1) -/* 07F5D0 800E6120 24020001 */ addiu $v0, $zero, 1 -/* 07F5D4 800E6124 14620004 */ bne $v1, $v0, .L800E6138 -/* 07F5D8 800E6128 24020006 */ addiu $v0, $zero, 6 -/* 07F5DC 800E612C 80830012 */ lb $v1, 0x12($a0) -/* 07F5E0 800E6130 10620008 */ beq $v1, $v0, .L800E6154 -/* 07F5E4 800E6134 0000102D */ daddu $v0, $zero, $zero -.L800E6138: -/* 07F5E8 800E6138 80830001 */ lb $v1, 1($a0) -/* 07F5EC 800E613C 2402FFFF */ addiu $v0, $zero, -1 -/* 07F5F0 800E6140 10620004 */ beq $v1, $v0, .L800E6154 -/* 07F5F4 800E6144 0000102D */ daddu $v0, $zero, $zero -/* 07F5F8 800E6148 0C039769 */ jal set_action_state -/* 07F5FC 800E614C 24040012 */ addiu $a0, $zero, 0x12 -/* 07F600 800E6150 24020001 */ addiu $v0, $zero, 1 -.L800E6154: -/* 07F604 800E6154 8FBF0010 */ lw $ra, 0x10($sp) -/* 07F608 800E6158 03E00008 */ jr $ra -/* 07F60C 800E615C 27BD0018 */ addiu $sp, $sp, 0x18 - -check_input_jump: -/* 07F610 800E6160 27BDFFE0 */ addiu $sp, $sp, -0x20 -/* 07F614 800E6164 AFB10014 */ sw $s1, 0x14($sp) -/* 07F618 800E6168 3C118011 */ lui $s1, 0x8011 -/* 07F61C 800E616C 2631EFC8 */ addiu $s1, $s1, -0x1038 -/* 07F620 800E6170 AFBF0018 */ sw $ra, 0x18($sp) -/* 07F624 800E6174 AFB00010 */ sw $s0, 0x10($sp) -/* 07F628 800E6178 8E2200E0 */ lw $v0, 0xe0($s1) -/* 07F62C 800E617C 3C108016 */ lui $s0, 0x8016 -/* 07F630 800E6180 2610A550 */ addiu $s0, $s0, -0x5ab0 -/* 07F634 800E6184 30428000 */ andi $v0, $v0, 0x8000 -/* 07F638 800E6188 10400032 */ beqz $v0, .L800E6254 -/* 07F63C 800E618C 0000102D */ daddu $v0, $zero, $zero -/* 07F640 800E6190 96040002 */ lhu $a0, 2($s0) -/* 07F644 800E6194 0C016F6A */ jal get_collider_type_by_id -/* 07F648 800E6198 00000000 */ nop -/* 07F64C 800E619C 24030005 */ addiu $v1, $zero, 5 -/* 07F650 800E61A0 14430007 */ bne $v0, $v1, .L800E61C0 -/* 07F654 800E61A4 00000000 */ nop -/* 07F658 800E61A8 0C039178 */ jal func_800E45E0 -/* 07F65C 800E61AC 00000000 */ nop -/* 07F660 800E61B0 10400003 */ beqz $v0, .L800E61C0 -/* 07F664 800E61B4 00000000 */ nop -.L800E61B8: -/* 07F668 800E61B8 08039895 */ j .L800E6254 -/* 07F66C 800E61BC 0000102D */ daddu $v0, $zero, $zero - -.L800E61C0: -/* 07F670 800E61C0 86020016 */ lh $v0, 0x16($s0) -/* 07F674 800E61C4 14400023 */ bnez $v0, .L800E6254 -/* 07F678 800E61C8 0000102D */ daddu $v0, $zero, $zero -/* 07F67C 800E61CC 8E220004 */ lw $v0, 4($s1) -/* 07F680 800E61D0 30420030 */ andi $v0, $v0, 0x30 -/* 07F684 800E61D4 1440001F */ bnez $v0, .L800E6254 -/* 07F688 800E61D8 0000102D */ daddu $v0, $zero, $zero -/* 07F68C 800E61DC 2402FFFF */ addiu $v0, $zero, -1 -/* 07F690 800E61E0 8604000A */ lh $a0, 0xa($s0) -/* 07F694 800E61E4 9603000A */ lhu $v1, 0xa($s0) -/* 07F698 800E61E8 10820017 */ beq $a0, $v0, .L800E6248 -/* 07F69C 800E61EC 30624000 */ andi $v0, $v1, 0x4000 -/* 07F6A0 800E61F0 10400015 */ beqz $v0, .L800E6248 -/* 07F6A4 800E61F4 00000000 */ nop -/* 07F6A8 800E61F8 0C04417A */ jal get_entity_by_index -/* 07F6AC 800E61FC 00000000 */ nop -/* 07F6B0 800E6200 0040182D */ daddu $v1, $v0, $zero -/* 07F6B4 800E6204 8C440000 */ lw $a0, ($v0) -/* 07F6B8 800E6208 30821000 */ andi $v0, $a0, 0x1000 -/* 07F6BC 800E620C 1040000E */ beqz $v0, .L800E6248 -/* 07F6C0 800E6210 00000000 */ nop -/* 07F6C4 800E6214 8C620028 */ lw $v0, 0x28($v1) -/* 07F6C8 800E6218 10400003 */ beqz $v0, .L800E6228 -/* 07F6CC 800E621C 30824000 */ andi $v0, $a0, 0x4000 -/* 07F6D0 800E6220 1040000C */ beqz $v0, .L800E6254 -/* 07F6D4 800E6224 0000102D */ daddu $v0, $zero, $zero -.L800E6228: -/* 07F6D8 800E6228 9063000A */ lbu $v1, 0xa($v1) -/* 07F6DC 800E622C 24020039 */ addiu $v0, $zero, 0x39 -/* 07F6E0 800E6230 1062FFE1 */ beq $v1, $v0, .L800E61B8 -/* 07F6E4 800E6234 24020035 */ addiu $v0, $zero, 0x35 -/* 07F6E8 800E6238 1062FFDF */ beq $v1, $v0, .L800E61B8 -/* 07F6EC 800E623C 24020036 */ addiu $v0, $zero, 0x36 -/* 07F6F0 800E6240 10620004 */ beq $v1, $v0, .L800E6254 -/* 07F6F4 800E6244 0000102D */ daddu $v0, $zero, $zero -.L800E6248: -/* 07F6F8 800E6248 0C039769 */ jal set_action_state -/* 07F6FC 800E624C 24040003 */ addiu $a0, $zero, 3 -/* 07F700 800E6250 24020001 */ addiu $v0, $zero, 1 -.L800E6254: -/* 07F704 800E6254 8FBF0018 */ lw $ra, 0x18($sp) -/* 07F708 800E6258 8FB10014 */ lw $s1, 0x14($sp) -/* 07F70C 800E625C 8FB00010 */ lw $s0, 0x10($sp) -/* 07F710 800E6260 03E00008 */ jr $ra -/* 07F714 800E6264 27BD0020 */ addiu $sp, $sp, 0x20 - -check_input_spin: -/* 07F718 800E6268 27BDFFE0 */ addiu $sp, $sp, -0x20 -/* 07F71C 800E626C AFB00010 */ sw $s0, 0x10($sp) -/* 07F720 800E6270 3C108011 */ lui $s0, 0x8011 -/* 07F724 800E6274 2610EFC8 */ addiu $s0, $s0, -0x1038 -/* 07F728 800E6278 AFB10014 */ sw $s1, 0x14($sp) -/* 07F72C 800E627C 3C118011 */ lui $s1, 0x8011 -/* 07F730 800E6280 2631F250 */ addiu $s1, $s1, -0xdb0 -/* 07F734 800E6284 AFBF001C */ sw $ra, 0x1c($sp) -/* 07F738 800E6288 AFB20018 */ sw $s2, 0x18($sp) -/* 07F73C 800E628C 8E020000 */ lw $v0, ($s0) -/* 07F740 800E6290 30425000 */ andi $v0, $v0, 0x5000 -/* 07F744 800E6294 1440002F */ bnez $v0, .L800E6354 -/* 07F748 800E6298 0220902D */ daddu $s2, $s1, $zero -/* 07F74C 800E629C 8E020004 */ lw $v0, 4($s0) -/* 07F750 800E62A0 30420001 */ andi $v0, $v0, 1 -/* 07F754 800E62A4 1440002B */ bnez $v0, .L800E6354 -/* 07F758 800E62A8 00000000 */ nop -/* 07F75C 800E62AC 8E0200DC */ lw $v0, 0xdc($s0) -/* 07F760 800E62B0 30420004 */ andi $v0, $v0, 4 -/* 07F764 800E62B4 14400027 */ bnez $v0, .L800E6354 -/* 07F768 800E62B8 00000000 */ nop -/* 07F76C 800E62BC 0C03A752 */ jal is_ability_active -/* 07F770 800E62C0 2404000B */ addiu $a0, $zero, 0xb -/* 07F774 800E62C4 14400023 */ bnez $v0, .L800E6354 -/* 07F778 800E62C8 00000000 */ nop -/* 07F77C 800E62CC 8E0200E0 */ lw $v0, 0xe0($s0) -/* 07F780 800E62D0 820300B4 */ lb $v1, 0xb4($s0) -/* 07F784 800E62D4 30442000 */ andi $a0, $v0, 0x2000 -/* 07F788 800E62D8 24020021 */ addiu $v0, $zero, 0x21 -/* 07F78C 800E62DC 1062001D */ beq $v1, $v0, .L800E6354 -/* 07F790 800E62E0 28620022 */ slti $v0, $v1, 0x22 -/* 07F794 800E62E4 1040001B */ beqz $v0, .L800E6354 -/* 07F798 800E62E8 28620003 */ slti $v0, $v1, 3 -/* 07F79C 800E62EC 10400019 */ beqz $v0, .L800E6354 -/* 07F7A0 800E62F0 00000000 */ nop -/* 07F7A4 800E62F4 04600017 */ bltz $v1, .L800E6354 -/* 07F7A8 800E62F8 3C030001 */ lui $v1, 1 -/* 07F7AC 800E62FC 8E020004 */ lw $v0, 4($s0) -/* 07F7B0 800E6300 00431024 */ and $v0, $v0, $v1 -/* 07F7B4 800E6304 14400013 */ bnez $v0, .L800E6354 -/* 07F7B8 800E6308 00000000 */ nop -/* 07F7BC 800E630C 14800004 */ bnez $a0, .L800E6320 -/* 07F7C0 800E6310 00000000 */ nop -/* 07F7C4 800E6314 82220001 */ lb $v0, 1($s1) -/* 07F7C8 800E6318 1040000E */ beqz $v0, .L800E6354 -/* 07F7CC 800E631C 00000000 */ nop -.L800E6320: -/* 07F7D0 800E6320 0C039769 */ jal set_action_state -/* 07F7D4 800E6324 2404001A */ addiu $a0, $zero, 0x1a -/* 07F7D8 800E6328 82220001 */ lb $v0, 1($s1) -/* 07F7DC 800E632C 10400009 */ beqz $v0, .L800E6354 -/* 07F7E0 800E6330 00000000 */ nop -/* 07F7E4 800E6334 8E220008 */ lw $v0, 8($s1) -/* 07F7E8 800E6338 14400004 */ bnez $v0, .L800E634C -/* 07F7EC 800E633C 00000000 */ nop -/* 07F7F0 800E6340 8E22000C */ lw $v0, 0xc($s1) -/* 07F7F4 800E6344 50400003 */ beql $v0, $zero, .L800E6354 -/* 07F7F8 800E6348 A20000B5 */ sb $zero, 0xb5($s0) -.L800E634C: -/* 07F7FC 800E634C 92420007 */ lbu $v0, 7($s2) -/* 07F800 800E6350 A20200B5 */ sb $v0, 0xb5($s0) -.L800E6354: -/* 07F804 800E6354 8FBF001C */ lw $ra, 0x1c($sp) -/* 07F808 800E6358 8FB20018 */ lw $s2, 0x18($sp) -/* 07F80C 800E635C 8FB10014 */ lw $s1, 0x14($sp) -/* 07F810 800E6360 8FB00010 */ lw $s0, 0x10($sp) -/* 07F814 800E6364 03E00008 */ jr $ra -/* 07F818 800E6368 27BD0020 */ addiu $sp, $sp, 0x20 - -func_800E636C: -/* 07F81C 800E636C 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 07F820 800E6370 AFB00010 */ sw $s0, 0x10($sp) -/* 07F824 800E6374 0080802D */ daddu $s0, $a0, $zero -/* 07F828 800E6378 3C048011 */ lui $a0, 0x8011 -/* 07F82C 800E637C 8C84C96C */ lw $a0, -0x3694($a0) -/* 07F830 800E6380 04800004 */ bltz $a0, .L800E6394 -/* 07F834 800E6384 AFBF0014 */ sw $ra, 0x14($sp) -/* 07F838 800E6388 0C00E2B7 */ jal get_npc_by_index -/* 07F83C 800E638C 00000000 */ nop -/* 07F840 800E6390 AC500028 */ sw $s0, 0x28($v0) -.L800E6394: -/* 07F844 800E6394 8FBF0014 */ lw $ra, 0x14($sp) -/* 07F848 800E6398 8FB00010 */ lw $s0, 0x10($sp) -/* 07F84C 800E639C 03E00008 */ jr $ra -/* 07F850 800E63A0 27BD0018 */ addiu $sp, $sp, 0x18 - -/* 07F854 800E63A4 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 07F858 800E63A8 AFB00010 */ sw $s0, 0x10($sp) -/* 07F85C 800E63AC 3C108011 */ lui $s0, 0x8011 -/* 07F860 800E63B0 2610EFC8 */ addiu $s0, $s0, -0x1038 -/* 07F864 800E63B4 10800005 */ beqz $a0, .L800E63CC -/* 07F868 800E63B8 AFBF0014 */ sw $ra, 0x14($sp) -/* 07F86C 800E63BC 0C039769 */ jal set_action_state -/* 07F870 800E63C0 24040019 */ addiu $a0, $zero, 0x19 -/* 07F874 800E63C4 08039906 */ j .L800E6418 -/* 07F878 800E63C8 00000000 */ nop - -.L800E63CC: -/* 07F87C 800E63CC 2403DFFF */ addiu $v1, $zero, -0x2001 -/* 07F880 800E63D0 8E020004 */ lw $v0, 4($s0) -/* 07F884 800E63D4 3C048007 */ lui $a0, 0x8007 -/* 07F888 800E63D8 8C84419C */ lw $a0, 0x419c($a0) -/* 07F88C 800E63DC 00431024 */ and $v0, $v0, $v1 -/* 07F890 800E63E0 AE020004 */ sw $v0, 4($s0) -/* 07F894 800E63E4 9082007E */ lbu $v0, 0x7e($a0) -/* 07F898 800E63E8 304200FD */ andi $v0, $v0, 0xfd -/* 07F89C 800E63EC A082007E */ sb $v0, 0x7e($a0) -/* 07F8A0 800E63F0 3C048011 */ lui $a0, 0x8011 -/* 07F8A4 800E63F4 8C84C96C */ lw $a0, -0x3694($a0) -/* 07F8A8 800E63F8 0C00E228 */ jal func_800388A0 -/* 07F8AC 800E63FC A200000C */ sb $zero, 0xc($s0) -/* 07F8B0 800E6400 0C039769 */ jal set_action_state -/* 07F8B4 800E6404 0000202D */ daddu $a0, $zero, $zero -/* 07F8B8 800E6408 24020037 */ addiu $v0, $zero, 0x37 -/* 07F8BC 800E640C A60200B0 */ sh $v0, 0xb0($s0) -/* 07F8C0 800E6410 24020026 */ addiu $v0, $zero, 0x26 -/* 07F8C4 800E6414 A60200B2 */ sh $v0, 0xb2($s0) -.L800E6418: -/* 07F8C8 800E6418 8FBF0014 */ lw $ra, 0x14($sp) -/* 07F8CC 800E641C 8FB00010 */ lw $s0, 0x10($sp) -/* 07F8D0 800E6420 03E00008 */ jr $ra -/* 07F8D4 800E6424 27BD0018 */ addiu $sp, $sp, 0x18 - -func_800E6428: -/* 07F8D8 800E6428 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 07F8DC 800E642C 3C048011 */ lui $a0, 0x8011 -/* 07F8E0 800E6430 2484EFC8 */ addiu $a0, $a0, -0x1038 -/* 07F8E4 800E6434 AFBF0010 */ sw $ra, 0x10($sp) -/* 07F8E8 800E6438 808200B4 */ lb $v0, 0xb4($a0) -/* 07F8EC 800E643C 2C420003 */ sltiu $v0, $v0, 3 -/* 07F8F0 800E6440 1040002C */ beqz $v0, .L800E64F4 -/* 07F8F4 800E6444 0080282D */ daddu $a1, $a0, $zero -/* 07F8F8 800E6448 3C038011 */ lui $v1, 0x8011 -/* 07F8FC 800E644C 2463C92C */ addiu $v1, $v1, -0x36d4 -/* 07F900 800E6450 8C620000 */ lw $v0, ($v1) -/* 07F904 800E6454 1040001B */ beqz $v0, .L800E64C4 -/* 07F908 800E6458 2442FFFF */ addiu $v0, $v0, -1 -/* 07F90C 800E645C 14400025 */ bnez $v0, .L800E64F4 -/* 07F910 800E6460 AC620000 */ sw $v0, ($v1) -/* 07F914 800E6464 3C058007 */ lui $a1, 0x8007 -/* 07F918 800E6468 24A5419C */ addiu $a1, $a1, 0x419c -/* 07F91C 800E646C 8CA30000 */ lw $v1, ($a1) -/* 07F920 800E6470 9062007E */ lbu $v0, 0x7e($v1) -/* 07F924 800E6474 30420002 */ andi $v0, $v0, 2 -/* 07F928 800E6478 1040001E */ beqz $v0, .L800E64F4 -/* 07F92C 800E647C 00000000 */ nop -/* 07F930 800E6480 8C820004 */ lw $v0, 4($a0) -/* 07F934 800E6484 34422000 */ ori $v0, $v0, 0x2000 -/* 07F938 800E6488 AC820004 */ sw $v0, 4($a0) -/* 07F93C 800E648C 9062007E */ lbu $v0, 0x7e($v1) -/* 07F940 800E6490 34420002 */ ori $v0, $v0, 2 -/* 07F944 800E6494 A062007E */ sb $v0, 0x7e($v1) -/* 07F948 800E6498 8CA20000 */ lw $v0, ($a1) -/* 07F94C 800E649C 0C03995F */ jal func_800E657C -/* 07F950 800E64A0 8044007F */ lb $a0, 0x7f($v0) -/* 07F954 800E64A4 0040202D */ daddu $a0, $v0, $zero -/* 07F958 800E64A8 10800012 */ beqz $a0, .L800E64F4 -/* 07F95C 800E64AC 3C03FFFB */ lui $v1, 0xfffb -/* 07F960 800E64B0 8C820000 */ lw $v0, ($a0) -/* 07F964 800E64B4 3463FFFF */ ori $v1, $v1, 0xffff -/* 07F968 800E64B8 00431024 */ and $v0, $v0, $v1 -/* 07F96C 800E64BC 0803993D */ j .L800E64F4 -/* 07F970 800E64C0 AC820000 */ sw $v0, ($a0) - -.L800E64C4: -/* 07F974 800E64C4 3C028007 */ lui $v0, 0x8007 -/* 07F978 800E64C8 8C42419C */ lw $v0, 0x419c($v0) -/* 07F97C 800E64CC 9042007E */ lbu $v0, 0x7e($v0) -/* 07F980 800E64D0 30420004 */ andi $v0, $v0, 4 -/* 07F984 800E64D4 10400007 */ beqz $v0, .L800E64F4 -/* 07F988 800E64D8 00000000 */ nop -/* 07F98C 800E64DC 8CA200E0 */ lw $v0, 0xe0($a1) -/* 07F990 800E64E0 30424000 */ andi $v0, $v0, 0x4000 -/* 07F994 800E64E4 10400003 */ beqz $v0, .L800E64F4 -/* 07F998 800E64E8 00000000 */ nop -/* 07F99C 800E64EC 0C039769 */ jal set_action_state -/* 07F9A0 800E64F0 24040019 */ addiu $a0, $zero, 0x19 -.L800E64F4: -/* 07F9A4 800E64F4 8FBF0010 */ lw $ra, 0x10($sp) -/* 07F9A8 800E64F8 03E00008 */ jr $ra -/* 07F9AC 800E64FC 27BD0018 */ addiu $sp, $sp, 0x18 - -func_800E6500: -/* 07F9B0 800E6500 3C048011 */ lui $a0, 0x8011 -/* 07F9B4 800E6504 8C84C96C */ lw $a0, -0x3694($a0) -/* 07F9B8 800E6508 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 07F9BC 800E650C AFB00010 */ sw $s0, 0x10($sp) -/* 07F9C0 800E6510 3C108011 */ lui $s0, 0x8011 -/* 07F9C4 800E6514 2610EFC8 */ addiu $s0, $s0, -0x1038 -/* 07F9C8 800E6518 04800014 */ bltz $a0, .L800E656C -/* 07F9CC 800E651C AFBF0014 */ sw $ra, 0x14($sp) -/* 07F9D0 800E6520 0C00E2B7 */ jal get_npc_by_index -/* 07F9D4 800E6524 00000000 */ nop -/* 07F9D8 800E6528 0040202D */ daddu $a0, $v0, $zero -/* 07F9DC 800E652C 8C820000 */ lw $v0, ($a0) -/* 07F9E0 800E6530 3C030004 */ lui $v1, 4 -/* 07F9E4 800E6534 00431024 */ and $v0, $v0, $v1 -/* 07F9E8 800E6538 10400004 */ beqz $v0, .L800E654C -/* 07F9EC 800E653C 00000000 */ nop -/* 07F9F0 800E6540 C60000A8 */ lwc1 $f0, 0xa8($s0) -/* 07F9F4 800E6544 08039955 */ j .L800E6554 -/* 07F9F8 800E6548 E4800034 */ swc1 $f0, 0x34($a0) - -.L800E654C: -/* 07F9FC 800E654C C6000080 */ lwc1 $f0, 0x80($s0) -/* 07FA00 800E6550 E480000C */ swc1 $f0, 0xc($a0) -.L800E6554: -/* 07FA04 800E6554 C6000028 */ lwc1 $f0, 0x28($s0) -/* 07FA08 800E6558 E4800038 */ swc1 $f0, 0x38($a0) -/* 07FA0C 800E655C C600002C */ lwc1 $f0, 0x2c($s0) -/* 07FA10 800E6560 E480003C */ swc1 $f0, 0x3c($a0) -/* 07FA14 800E6564 C6000030 */ lwc1 $f0, 0x30($s0) -/* 07FA18 800E6568 E4800040 */ swc1 $f0, 0x40($a0) -.L800E656C: -/* 07FA1C 800E656C 8FBF0014 */ lw $ra, 0x14($sp) -/* 07FA20 800E6570 8FB00010 */ lw $s0, 0x10($sp) -/* 07FA24 800E6574 03E00008 */ jr $ra -/* 07FA28 800E6578 27BD0018 */ addiu $sp, $sp, 0x18 - -func_800E657C: -/* 07FA2C 800E657C 27BDFFD0 */ addiu $sp, $sp, -0x30 -/* 07FA30 800E6580 0080282D */ daddu $a1, $a0, $zero -/* 07FA34 800E6584 AFB10024 */ sw $s1, 0x24($sp) -/* 07FA38 800E6588 3C118011 */ lui $s1, 0x8011 -/* 07FA3C 800E658C 2631EFC8 */ addiu $s1, $s1, -0x1038 -/* 07FA40 800E6590 27A60010 */ addiu $a2, $sp, 0x10 -/* 07FA44 800E6594 AFBF0028 */ sw $ra, 0x28($sp) -/* 07FA48 800E6598 14A00003 */ bnez $a1, .L800E65A8 -/* 07FA4C 800E659C AFB00020 */ sw $s0, 0x20($sp) -/* 07FA50 800E65A0 080399AC */ j .L800E66B0 -/* 07FA54 800E65A4 0000102D */ daddu $v0, $zero, $zero - -.L800E65A8: -/* 07FA58 800E65A8 3C040004 */ lui $a0, 4 -/* 07FA5C 800E65AC 3C038007 */ lui $v1, 0x8007 -/* 07FA60 800E65B0 8C63419C */ lw $v1, 0x419c($v1) -/* 07FA64 800E65B4 24020025 */ addiu $v0, $zero, 0x25 -/* 07FA68 800E65B8 A62200B0 */ sh $v0, 0xb0($s1) -/* 07FA6C 800E65BC 24020026 */ addiu $v0, $zero, 0x26 -/* 07FA70 800E65C0 A62200B2 */ sh $v0, 0xb2($s1) -/* 07FA74 800E65C4 A225000C */ sb $a1, 0xc($s1) -/* 07FA78 800E65C8 A065007F */ sb $a1, 0x7f($v1) -/* 07FA7C 800E65CC 8223000C */ lb $v1, 0xc($s1) -/* 07FA80 800E65D0 34840148 */ ori $a0, $a0, 0x148 -/* 07FA84 800E65D4 AFA40010 */ sw $a0, 0x10($sp) -/* 07FA88 800E65D8 00031040 */ sll $v0, $v1, 1 -/* 07FA8C 800E65DC 00431021 */ addu $v0, $v0, $v1 -/* 07FA90 800E65E0 000210C0 */ sll $v0, $v0, 3 -/* 07FA94 800E65E4 3C01800F */ lui $at, 0x800f -/* 07FA98 800E65E8 00220821 */ addu $at, $at, $v0 -/* 07FA9C 800E65EC 8C227C1C */ lw $v0, 0x7c1c($at) -/* 07FAA0 800E65F0 00031880 */ sll $v1, $v1, 2 -/* 07FAA4 800E65F4 AFA00018 */ sw $zero, 0x18($sp) -/* 07FAA8 800E65F8 AFA0001C */ sw $zero, 0x1c($sp) -/* 07FAAC 800E65FC AFA20014 */ sw $v0, 0x14($sp) -/* 07FAB0 800E6600 3C05800F */ lui $a1, 0x800f -/* 07FAB4 800E6604 00A32821 */ addu $a1, $a1, $v1 -/* 07FAB8 800E6608 8CA57C7C */ lw $a1, 0x7c7c($a1) -/* 07FABC 800E660C 0C00E219 */ jal func_80038864 -/* 07FAC0 800E6610 00C0202D */ daddu $a0, $a2, $zero -/* 07FAC4 800E6614 0040202D */ daddu $a0, $v0, $zero -/* 07FAC8 800E6618 3C018011 */ lui $at, 0x8011 -/* 07FACC 800E661C AC24C96C */ sw $a0, -0x3694($at) -/* 07FAD0 800E6620 0C00E2B7 */ jal get_npc_by_index -/* 07FAD4 800E6624 00000000 */ nop -/* 07FAD8 800E6628 0040802D */ daddu $s0, $v0, $zero -/* 07FADC 800E662C 0C00EAFF */ jal disable_npc_shadow -/* 07FAE0 800E6630 0200202D */ daddu $a0, $s0, $zero -/* 07FAE4 800E6634 C62200A8 */ lwc1 $f2, 0xa8($s1) -/* 07FAE8 800E6638 3C0142B4 */ lui $at, 0x42b4 -/* 07FAEC 800E663C 44810000 */ mtc1 $at, $f0 -/* 07FAF0 800E6640 00000000 */ nop -/* 07FAF4 800E6644 4602003E */ c.le.s $f0, $f2 -/* 07FAF8 800E6648 00000000 */ nop -/* 07FAFC 800E664C 45000008 */ bc1f .L800E6670 -/* 07FB00 800E6650 00000000 */ nop -/* 07FB04 800E6654 3C014387 */ lui $at, 0x4387 -/* 07FB08 800E6658 44810000 */ mtc1 $at, $f0 -/* 07FB0C 800E665C 00000000 */ nop -/* 07FB10 800E6660 4600103C */ c.lt.s $f2, $f0 -/* 07FB14 800E6664 00000000 */ nop -/* 07FB18 800E6668 45010005 */ bc1t .L800E6680 -/* 07FB1C 800E666C 00000000 */ nop -.L800E6670: -/* 07FB20 800E6670 3C014334 */ lui $at, 0x4334 -/* 07FB24 800E6674 44810000 */ mtc1 $at, $f0 -/* 07FB28 800E6678 080399A2 */ j .L800E6688 -/* 07FB2C 800E667C 00000000 */ nop - -.L800E6680: -/* 07FB30 800E6680 44800000 */ mtc1 $zero, $f0 -/* 07FB34 800E6684 00000000 */ nop -.L800E6688: -/* 07FB38 800E6688 44050000 */ mfc1 $a1, $f0 -/* 07FB3C 800E668C 0C00ECD0 */ jal set_npc_yaw -/* 07FB40 800E6690 0200202D */ daddu $a0, $s0, $zero -/* 07FB44 800E6694 C6200028 */ lwc1 $f0, 0x28($s1) -/* 07FB48 800E6698 E6000038 */ swc1 $f0, 0x38($s0) -/* 07FB4C 800E669C C620002C */ lwc1 $f0, 0x2c($s1) -/* 07FB50 800E66A0 E600003C */ swc1 $f0, 0x3c($s0) -/* 07FB54 800E66A4 C6200030 */ lwc1 $f0, 0x30($s1) -/* 07FB58 800E66A8 0200102D */ daddu $v0, $s0, $zero -/* 07FB5C 800E66AC E4400040 */ swc1 $f0, 0x40($v0) -.L800E66B0: -/* 07FB60 800E66B0 8FBF0028 */ lw $ra, 0x28($sp) -/* 07FB64 800E66B4 8FB10024 */ lw $s1, 0x24($sp) -/* 07FB68 800E66B8 8FB00020 */ lw $s0, 0x20($sp) -/* 07FB6C 800E66BC 03E00008 */ jr $ra -/* 07FB70 800E66C0 27BD0030 */ addiu $sp, $sp, 0x30 - -/* 07FB74 800E66C4 27BDFFA0 */ addiu $sp, $sp, -0x60 -/* 07FB78 800E66C8 AFB20040 */ sw $s2, 0x40($sp) -/* 07FB7C 800E66CC 3C128011 */ lui $s2, 0x8011 -/* 07FB80 800E66D0 2652EFC8 */ addiu $s2, $s2, -0x1038 -/* 07FB84 800E66D4 3C04800B */ lui $a0, 0x800b -/* 07FB88 800E66D8 24841D80 */ addiu $a0, $a0, 0x1d80 -/* 07FB8C 800E66DC AFBF0048 */ sw $ra, 0x48($sp) -/* 07FB90 800E66E0 AFB30044 */ sw $s3, 0x44($sp) -/* 07FB94 800E66E4 AFB1003C */ sw $s1, 0x3c($sp) -/* 07FB98 800E66E8 AFB00038 */ sw $s0, 0x38($sp) -/* 07FB9C 800E66EC F7B60058 */ sdc1 $f22, 0x58($sp) -/* 07FBA0 800E66F0 F7B40050 */ sdc1 $f20, 0x50($sp) -/* 07FBA4 800E66F4 C64400A8 */ lwc1 $f4, 0xa8($s2) -/* 07FBA8 800E66F8 3C038007 */ lui $v1, 0x8007 -/* 07FBAC 800E66FC 8C637410 */ lw $v1, 0x7410($v1) -/* 07FBB0 800E6700 3C0142B4 */ lui $at, 0x42b4 -/* 07FBB4 800E6704 44810000 */ mtc1 $at, $f0 -/* 07FBB8 800E6708 00031080 */ sll $v0, $v1, 2 -/* 07FBBC 800E670C 00431021 */ addu $v0, $v0, $v1 -/* 07FBC0 800E6710 00021080 */ sll $v0, $v0, 2 -/* 07FBC4 800E6714 00431023 */ subu $v0, $v0, $v1 -/* 07FBC8 800E6718 000218C0 */ sll $v1, $v0, 3 -/* 07FBCC 800E671C 00431021 */ addu $v0, $v0, $v1 -/* 07FBD0 800E6720 000210C0 */ sll $v0, $v0, 3 -/* 07FBD4 800E6724 4604003E */ c.le.s $f0, $f4 -/* 07FBD8 800E6728 00000000 */ nop -/* 07FBDC 800E672C 4500000B */ bc1f .L800E675C -/* 07FBE0 800E6730 00441021 */ addu $v0, $v0, $a0 -/* 07FBE4 800E6734 3C014387 */ lui $at, 0x4387 -/* 07FBE8 800E6738 44811000 */ mtc1 $at, $f2 -/* 07FBEC 800E673C 00000000 */ nop -/* 07FBF0 800E6740 4602203C */ c.lt.s $f4, $f2 -/* 07FBF4 800E6744 00000000 */ nop -/* 07FBF8 800E6748 45000004 */ bc1f .L800E675C -/* 07FBFC 800E674C 00000000 */ nop -/* 07FC00 800E6750 C440006C */ lwc1 $f0, 0x6c($v0) -/* 07FC04 800E6754 080399DC */ j .L800E6770 -/* 07FC08 800E6758 46020501 */ sub.s $f20, $f0, $f2 - -.L800E675C: -/* 07FC0C 800E675C C442006C */ lwc1 $f2, 0x6c($v0) -/* 07FC10 800E6760 3C0142B4 */ lui $at, 0x42b4 -/* 07FC14 800E6764 44810000 */ mtc1 $at, $f0 -/* 07FC18 800E6768 00000000 */ nop -/* 07FC1C 800E676C 46001501 */ sub.s $f20, $f2, $f0 -.L800E6770: -/* 07FC20 800E6770 0C00A6C9 */ jal clamp_angle -/* 07FC24 800E6774 4600A306 */ mov.s $f12, $f20 -/* 07FC28 800E6778 27A50020 */ addiu $a1, $sp, 0x20 -/* 07FC2C 800E677C 27A60024 */ addiu $a2, $sp, 0x24 -/* 07FC30 800E6780 3C0140C9 */ lui $at, 0x40c9 -/* 07FC34 800E6784 34210FD0 */ ori $at, $at, 0xfd0 -/* 07FC38 800E6788 44811000 */ mtc1 $at, $f2 -/* 07FC3C 800E678C 24110002 */ addiu $s1, $zero, 2 -/* 07FC40 800E6790 46020002 */ mul.s $f0, $f0, $f2 -/* 07FC44 800E6794 00000000 */ nop -/* 07FC48 800E6798 0220802D */ daddu $s0, $s1, $zero -/* 07FC4C 800E679C 27B30030 */ addiu $s3, $sp, 0x30 -/* 07FC50 800E67A0 3C0143B4 */ lui $at, 0x43b4 -/* 07FC54 800E67A4 44816000 */ mtc1 $at, $f12 -/* 07FC58 800E67A8 3C014080 */ lui $at, 0x4080 -/* 07FC5C 800E67AC 4481B000 */ mtc1 $at, $f22 -/* 07FC60 800E67B0 0C00A82D */ jal sin_cos_rad -/* 07FC64 800E67B4 460C0303 */ div.s $f12, $f0, $f12 -.L800E67B8: -/* 07FC68 800E67B8 C7A00020 */ lwc1 $f0, 0x20($sp) -/* 07FC6C 800E67BC 44911000 */ mtc1 $s1, $f2 -/* 07FC70 800E67C0 00000000 */ nop -/* 07FC74 800E67C4 468010A0 */ cvt.s.w $f2, $f2 -/* 07FC78 800E67C8 46020002 */ mul.s $f0, $f0, $f2 -/* 07FC7C 800E67CC 00000000 */ nop -/* 07FC80 800E67D0 C7A40024 */ lwc1 $f4, 0x24($sp) -/* 07FC84 800E67D4 46022102 */ mul.s $f4, $f4, $f2 -/* 07FC88 800E67D8 00000000 */ nop -/* 07FC8C 800E67DC 0240282D */ daddu $a1, $s2, $zero -/* 07FC90 800E67E0 C642002C */ lwc1 $f2, 0x2c($s2) -/* 07FC94 800E67E4 27A60028 */ addiu $a2, $sp, 0x28 -/* 07FC98 800E67E8 46161080 */ add.s $f2, $f2, $f22 -/* 07FC9C 800E67EC C6460028 */ lwc1 $f6, 0x28($s2) -/* 07FCA0 800E67F0 24040003 */ addiu $a0, $zero, 3 -/* 07FCA4 800E67F4 46003180 */ add.s $f6, $f6, $f0 -/* 07FCA8 800E67F8 C6400030 */ lwc1 $f0, 0x30($s2) -/* 07FCAC 800E67FC 27A7002C */ addiu $a3, $sp, 0x2c -/* 07FCB0 800E6800 46040001 */ sub.s $f0, $f0, $f4 -/* 07FCB4 800E6804 E7A2002C */ swc1 $f2, 0x2c($sp) -/* 07FCB8 800E6808 E7A60028 */ swc1 $f6, 0x28($sp) -/* 07FCBC 800E680C E7A00030 */ swc1 $f0, 0x30($sp) -/* 07FCC0 800E6810 AFB30010 */ sw $s3, 0x10($sp) -/* 07FCC4 800E6814 E7B60014 */ swc1 $f22, 0x14($sp) -/* 07FCC8 800E6818 0C037B01 */ jal func_800DEC04 -/* 07FCCC 800E681C E7B40018 */ swc1 $f20, 0x18($sp) -/* 07FCD0 800E6820 04410003 */ bgez $v0, .L800E6830 -/* 07FCD4 800E6824 2610FFFF */ addiu $s0, $s0, -1 -/* 07FCD8 800E6828 1E00FFE3 */ bgtz $s0, .L800E67B8 -/* 07FCDC 800E682C 26310012 */ addiu $s1, $s1, 0x12 -.L800E6830: -/* 07FCE0 800E6830 8FBF0048 */ lw $ra, 0x48($sp) -/* 07FCE4 800E6834 8FB30044 */ lw $s3, 0x44($sp) -/* 07FCE8 800E6838 8FB20040 */ lw $s2, 0x40($sp) -/* 07FCEC 800E683C 8FB1003C */ lw $s1, 0x3c($sp) -/* 07FCF0 800E6840 8FB00038 */ lw $s0, 0x38($sp) -/* 07FCF4 800E6844 D7B60058 */ ldc1 $f22, 0x58($sp) -/* 07FCF8 800E6848 D7B40050 */ ldc1 $f20, 0x50($sp) -/* 07FCFC 800E684C 03E00008 */ jr $ra -/* 07FD00 800E6850 27BD0060 */ addiu $sp, $sp, 0x60 - -/* 07FD04 800E6854 00000000 */ nop -/* 07FD08 800E6858 00000000 */ nop -/* 07FD0C 800E685C 00000000 */ nop -func_800E6860: -/* 07FD10 800E6860 27BDFFD0 */ addiu $sp, $sp, -0x30 -/* 07FD14 800E6864 3C038011 */ lui $v1, 0x8011 -/* 07FD18 800E6868 2463EBB0 */ addiu $v1, $v1, -0x1450 -/* 07FD1C 800E686C AFBF0028 */ sw $ra, 0x28($sp) -/* 07FD20 800E6870 AFB10024 */ sw $s1, 0x24($sp) -/* 07FD24 800E6874 AFB00020 */ sw $s0, 0x20($sp) -/* 07FD28 800E6878 80620000 */ lb $v0, ($v1) -/* 07FD2C 800E687C 3C118011 */ lui $s1, 0x8011 -/* 07FD30 800E6880 2631EFC8 */ addiu $s1, $s1, -0x1038 -/* 07FD34 800E6884 1040001A */ beqz $v0, .L800E68F0 -/* 07FD38 800E6888 24020009 */ addiu $v0, $zero, 9 -/* 07FD3C 800E688C 80630003 */ lb $v1, 3($v1) -/* 07FD40 800E6890 14620017 */ bne $v1, $v0, .L800E68F0 -/* 07FD44 800E6894 00000000 */ nop -/* 07FD48 800E6898 0C00EABB */ jal get_npc_unsafe -/* 07FD4C 800E689C 2404FFFC */ addiu $a0, $zero, -4 -/* 07FD50 800E68A0 0000202D */ daddu $a0, $zero, $zero -/* 07FD54 800E68A4 2405FFFF */ addiu $a1, $zero, -1 -/* 07FD58 800E68A8 24060007 */ addiu $a2, $zero, 7 -/* 07FD5C 800E68AC 0080382D */ daddu $a3, $a0, $zero -/* 07FD60 800E68B0 9223000E */ lbu $v1, 0xe($s1) -/* 07FD64 800E68B4 0040802D */ daddu $s0, $v0, $zero -/* 07FD68 800E68B8 AFA00010 */ sw $zero, 0x10($sp) -/* 07FD6C 800E68BC AFA00014 */ sw $zero, 0x14($sp) -/* 07FD70 800E68C0 AFA0001C */ sw $zero, 0x1c($sp) -/* 07FD74 800E68C4 0C0B77B9 */ jal func_802DDEE4 -/* 07FD78 800E68C8 AFA30018 */ sw $v1, 0x18($sp) -/* 07FD7C 800E68CC 0200202D */ daddu $a0, $s0, $zero -/* 07FD80 800E68D0 24050007 */ addiu $a1, $zero, 7 -/* 07FD84 800E68D4 9226000E */ lbu $a2, 0xe($s1) -/* 07FD88 800E68D8 0000382D */ daddu $a3, $zero, $zero -/* 07FD8C 800E68DC AFA00010 */ sw $zero, 0x10($sp) -/* 07FD90 800E68E0 AFA00014 */ sw $zero, 0x14($sp) -/* 07FD94 800E68E4 0C00F589 */ jal func_8003D624 -/* 07FD98 800E68E8 AFA00018 */ sw $zero, 0x18($sp) -/* 07FD9C 800E68EC A220000F */ sb $zero, 0xf($s1) -.L800E68F0: -/* 07FDA0 800E68F0 8FBF0028 */ lw $ra, 0x28($sp) -/* 07FDA4 800E68F4 8FB10024 */ lw $s1, 0x24($sp) -/* 07FDA8 800E68F8 8FB00020 */ lw $s0, 0x20($sp) -/* 07FDAC 800E68FC 03E00008 */ jr $ra -/* 07FDB0 800E6900 27BD0030 */ addiu $sp, $sp, 0x30 - -func_800E6904: -/* 07FDB4 800E6904 27BDFFE0 */ addiu $sp, $sp, -0x20 -/* 07FDB8 800E6908 AFB10014 */ sw $s1, 0x14($sp) -/* 07FDBC 800E690C 3C118011 */ lui $s1, 0x8011 -/* 07FDC0 800E6910 2631EBB0 */ addiu $s1, $s1, -0x1450 -/* 07FDC4 800E6914 3C028011 */ lui $v0, 0x8011 -/* 07FDC8 800E6918 2442EFC8 */ addiu $v0, $v0, -0x1038 -/* 07FDCC 800E691C 0040202D */ daddu $a0, $v0, $zero -/* 07FDD0 800E6920 3C030010 */ lui $v1, 0x10 -/* 07FDD4 800E6924 AFBF0018 */ sw $ra, 0x18($sp) -/* 07FDD8 800E6928 AFB00010 */ sw $s0, 0x10($sp) -/* 07FDDC 800E692C 8C820004 */ lw $v0, 4($a0) -/* 07FDE0 800E6930 809000B4 */ lb $s0, 0xb4($a0) -/* 07FDE4 800E6934 00431024 */ and $v0, $v0, $v1 -/* 07FDE8 800E6938 14400023 */ bnez $v0, .L800E69C8 -/* 07FDEC 800E693C 0000102D */ daddu $v0, $zero, $zero -/* 07FDF0 800E6940 82220000 */ lb $v0, ($s1) -/* 07FDF4 800E6944 1440000A */ bnez $v0, .L800E6970 -/* 07FDF8 800E6948 00000000 */ nop -/* 07FDFC 800E694C 8C820000 */ lw $v0, ($a0) -/* 07FE00 800E6950 30421000 */ andi $v0, $v0, 0x1000 -/* 07FE04 800E6954 1440001C */ bnez $v0, .L800E69C8 -/* 07FE08 800E6958 0000102D */ daddu $v0, $zero, $zero -/* 07FE0C 800E695C 2E020003 */ sltiu $v0, $s0, 3 -/* 07FE10 800E6960 10400019 */ beqz $v0, .L800E69C8 -/* 07FE14 800E6964 0000102D */ daddu $v0, $zero, $zero -.L800E6968: -/* 07FE18 800E6968 08039A72 */ j .L800E69C8 -/* 07FE1C 800E696C 24020001 */ addiu $v0, $zero, 1 - -.L800E6970: -/* 07FE20 800E6970 0C03ACF8 */ jal func_800EB3E0 -/* 07FE24 800E6974 00000000 */ nop -/* 07FE28 800E6978 10400012 */ beqz $v0, .L800E69C4 -/* 07FE2C 800E697C 24020006 */ addiu $v0, $zero, 6 -/* 07FE30 800E6980 82230003 */ lb $v1, 3($s1) -/* 07FE34 800E6984 1062FFF8 */ beq $v1, $v0, .L800E6968 -/* 07FE38 800E6988 24020009 */ addiu $v0, $zero, 9 -/* 07FE3C 800E698C 14620006 */ bne $v1, $v0, .L800E69A8 -/* 07FE40 800E6990 24020008 */ addiu $v0, $zero, 8 -/* 07FE44 800E6994 24020021 */ addiu $v0, $zero, 0x21 -/* 07FE48 800E6998 1602000B */ bne $s0, $v0, .L800E69C8 -/* 07FE4C 800E699C 0000102D */ daddu $v0, $zero, $zero -/* 07FE50 800E69A0 08039A72 */ j .L800E69C8 -/* 07FE54 800E69A4 24020001 */ addiu $v0, $zero, 1 - -.L800E69A8: -/* 07FE58 800E69A8 14620007 */ bne $v1, $v0, .L800E69C8 -/* 07FE5C 800E69AC 0000102D */ daddu $v0, $zero, $zero -/* 07FE60 800E69B0 24020021 */ addiu $v0, $zero, 0x21 -/* 07FE64 800E69B4 12020004 */ beq $s0, $v0, .L800E69C8 -/* 07FE68 800E69B8 24020001 */ addiu $v0, $zero, 1 -/* 07FE6C 800E69BC 0C05272D */ jal play_sound -/* 07FE70 800E69C0 2404021D */ addiu $a0, $zero, 0x21d -.L800E69C4: -/* 07FE74 800E69C4 0000102D */ daddu $v0, $zero, $zero -.L800E69C8: -/* 07FE78 800E69C8 8FBF0018 */ lw $ra, 0x18($sp) -/* 07FE7C 800E69CC 8FB10014 */ lw $s1, 0x14($sp) -/* 07FE80 800E69D0 8FB00010 */ lw $s0, 0x10($sp) -/* 07FE84 800E69D4 03E00008 */ jr $ra -/* 07FE88 800E69D8 27BD0020 */ addiu $sp, $sp, 0x20 - -func_800E69DC: -/* 07FE8C 800E69DC 27BDFFE0 */ addiu $sp, $sp, -0x20 -/* 07FE90 800E69E0 AFB20018 */ sw $s2, 0x18($sp) -/* 07FE94 800E69E4 3C128011 */ lui $s2, 0x8011 -/* 07FE98 800E69E8 2652EBB0 */ addiu $s2, $s2, -0x1450 -/* 07FE9C 800E69EC AFB10014 */ sw $s1, 0x14($sp) -/* 07FEA0 800E69F0 3C118011 */ lui $s1, 0x8011 -/* 07FEA4 800E69F4 2631EFC8 */ addiu $s1, $s1, -0x1038 -/* 07FEA8 800E69F8 3C030010 */ lui $v1, 0x10 -/* 07FEAC 800E69FC AFBF001C */ sw $ra, 0x1c($sp) -/* 07FEB0 800E6A00 AFB00010 */ sw $s0, 0x10($sp) -/* 07FEB4 800E6A04 8E220004 */ lw $v0, 4($s1) -/* 07FEB8 800E6A08 823000B4 */ lb $s0, 0xb4($s1) -/* 07FEBC 800E6A0C 00431024 */ and $v0, $v0, $v1 -/* 07FEC0 800E6A10 1440004F */ bnez $v0, .L800E6B50 -/* 07FEC4 800E6A14 0000102D */ daddu $v0, $zero, $zero -/* 07FEC8 800E6A18 8E220000 */ lw $v0, ($s1) -/* 07FECC 800E6A1C 30420100 */ andi $v0, $v0, 0x100 -/* 07FED0 800E6A20 1440004B */ bnez $v0, .L800E6B50 -/* 07FED4 800E6A24 0000102D */ daddu $v0, $zero, $zero -/* 07FED8 800E6A28 30822010 */ andi $v0, $a0, 0x2010 -/* 07FEDC 800E6A2C 14400048 */ bnez $v0, .L800E6B50 -/* 07FEE0 800E6A30 0000102D */ daddu $v0, $zero, $zero -/* 07FEE4 800E6A34 30A21003 */ andi $v0, $a1, 0x1003 -/* 07FEE8 800E6A38 10400045 */ beqz $v0, .L800E6B50 -/* 07FEEC 800E6A3C 0000102D */ daddu $v0, $zero, $zero -/* 07FEF0 800E6A40 3C028007 */ lui $v0, 0x8007 -/* 07FEF4 800E6A44 8C42419C */ lw $v0, 0x419c($v0) -/* 07FEF8 800E6A48 8C420144 */ lw $v0, 0x144($v0) -/* 07FEFC 800E6A4C 10400005 */ beqz $v0, .L800E6A64 -/* 07FF00 800E6A50 00000000 */ nop -/* 07FF04 800E6A54 94420000 */ lhu $v0, ($v0) -/* 07FF08 800E6A58 30420001 */ andi $v0, $v0, 1 -/* 07FF0C 800E6A5C 1440003C */ bnez $v0, .L800E6B50 -/* 07FF10 800E6A60 0000102D */ daddu $v0, $zero, $zero -.L800E6A64: -/* 07FF14 800E6A64 3C02800A */ lui $v0, 0x800a -/* 07FF18 800E6A68 8C42A650 */ lw $v0, -0x59b0($v0) -/* 07FF1C 800E6A6C 3C030004 */ lui $v1, 4 -/* 07FF20 800E6A70 00431024 */ and $v0, $v0, $v1 -/* 07FF24 800E6A74 14400036 */ bnez $v0, .L800E6B50 -/* 07FF28 800E6A78 0000102D */ daddu $v0, $zero, $zero -/* 07FF2C 800E6A7C 0C04D07A */ jal func_801341E8 -/* 07FF30 800E6A80 00000000 */ nop -/* 07FF34 800E6A84 14400032 */ bnez $v0, .L800E6B50 -/* 07FF38 800E6A88 0000102D */ daddu $v0, $zero, $zero -/* 07FF3C 800E6A8C 8E220004 */ lw $v0, 4($s1) -/* 07FF40 800E6A90 30424000 */ andi $v0, $v0, 0x4000 -/* 07FF44 800E6A94 1440002B */ bnez $v0, .L800E6B44 -/* 07FF48 800E6A98 00000000 */ nop -/* 07FF4C 800E6A9C 82420000 */ lb $v0, ($s2) -/* 07FF50 800E6AA0 1440000A */ bnez $v0, .L800E6ACC -/* 07FF54 800E6AA4 00000000 */ nop -/* 07FF58 800E6AA8 8E220000 */ lw $v0, ($s1) -/* 07FF5C 800E6AAC 30421000 */ andi $v0, $v0, 0x1000 -/* 07FF60 800E6AB0 14400027 */ bnez $v0, .L800E6B50 -/* 07FF64 800E6AB4 0000102D */ daddu $v0, $zero, $zero -/* 07FF68 800E6AB8 2E020003 */ sltiu $v0, $s0, 3 -/* 07FF6C 800E6ABC 10400023 */ beqz $v0, .L800E6B4C -/* 07FF70 800E6AC0 24020001 */ addiu $v0, $zero, 1 -/* 07FF74 800E6AC4 08039AD4 */ j .L800E6B50 -/* 07FF78 800E6AC8 00000000 */ nop - -.L800E6ACC: -/* 07FF7C 800E6ACC 0C03ACF8 */ jal func_800EB3E0 -/* 07FF80 800E6AD0 00000000 */ nop -/* 07FF84 800E6AD4 1040001D */ beqz $v0, .L800E6B4C -/* 07FF88 800E6AD8 24020006 */ addiu $v0, $zero, 6 -/* 07FF8C 800E6ADC 82430003 */ lb $v1, 3($s2) -/* 07FF90 800E6AE0 14620003 */ bne $v1, $v0, .L800E6AF0 -/* 07FF94 800E6AE4 24020009 */ addiu $v0, $zero, 9 -/* 07FF98 800E6AE8 08039AD4 */ j .L800E6B50 -/* 07FF9C 800E6AEC 2E020003 */ sltiu $v0, $s0, 3 - -.L800E6AF0: -/* 07FFA0 800E6AF0 14620007 */ bne $v1, $v0, .L800E6B10 -/* 07FFA4 800E6AF4 24020008 */ addiu $v0, $zero, 8 -/* 07FFA8 800E6AF8 24020021 */ addiu $v0, $zero, 0x21 -/* 07FFAC 800E6AFC 16020014 */ bne $s0, $v0, .L800E6B50 -/* 07FFB0 800E6B00 0000102D */ daddu $v0, $zero, $zero -/* 07FFB4 800E6B04 A220000F */ sb $zero, 0xf($s1) -/* 07FFB8 800E6B08 08039AD4 */ j .L800E6B50 -/* 07FFBC 800E6B0C 24020001 */ addiu $v0, $zero, 1 - -.L800E6B10: -/* 07FFC0 800E6B10 1462000A */ bne $v1, $v0, .L800E6B3C -/* 07FFC4 800E6B14 24020007 */ addiu $v0, $zero, 7 -/* 07FFC8 800E6B18 24020021 */ addiu $v0, $zero, 0x21 -/* 07FFCC 800E6B1C 1602000C */ bne $s0, $v0, .L800E6B50 -/* 07FFD0 800E6B20 0000102D */ daddu $v0, $zero, $zero -/* 07FFD4 800E6B24 0C0AF5F7 */ jal func_802BD7DC -/* 07FFD8 800E6B28 00000000 */ nop -/* 07FFDC 800E6B2C 14400008 */ bnez $v0, .L800E6B50 -/* 07FFE0 800E6B30 24020001 */ addiu $v0, $zero, 1 -/* 07FFE4 800E6B34 08039AD1 */ j .L800E6B44 -/* 07FFE8 800E6B38 00000000 */ nop - -.L800E6B3C: -/* 07FFEC 800E6B3C 14620004 */ bne $v1, $v0, .L800E6B50 -/* 07FFF0 800E6B40 0000102D */ daddu $v0, $zero, $zero -.L800E6B44: -/* 07FFF4 800E6B44 0C05272D */ jal play_sound -/* 07FFF8 800E6B48 2404021D */ addiu $a0, $zero, 0x21d -.L800E6B4C: -/* 07FFFC 800E6B4C 0000102D */ daddu $v0, $zero, $zero -.L800E6B50: -/* 080000 800E6B50 8FBF001C */ lw $ra, 0x1c($sp) -/* 080004 800E6B54 8FB20018 */ lw $s2, 0x18($sp) -/* 080008 800E6B58 8FB10014 */ lw $s1, 0x14($sp) -/* 08000C 800E6B5C 8FB00010 */ lw $s0, 0x10($sp) -/* 080010 800E6B60 03E00008 */ jr $ra -/* 080014 800E6B64 27BD0020 */ addiu $sp, $sp, 0x20 - -func_800E6B68: -/* 080018 800E6B68 3C018011 */ lui $at, 0x8011 -/* 08001C 800E6B6C A420CD00 */ sh $zero, -0x3300($at) -/* 080020 800E6B70 03E00008 */ jr $ra -/* 080024 800E6B74 00000000 */ nop - -func_800E6B78: -/* 080028 800E6B78 3C0B8011 */ lui $t3, 0x8011 -/* 08002C 800E6B7C 256BF290 */ addiu $t3, $t3, -0xd70 -/* 080030 800E6B80 0000502D */ daddu $t2, $zero, $zero -/* 080034 800E6B84 24090001 */ addiu $t1, $zero, 1 -/* 080038 800E6B88 24180005 */ addiu $t8, $zero, 5 -/* 08003C 800E6B8C 3C0F8009 */ lui $t7, 0x8009 -/* 080040 800E6B90 25EFEF20 */ addiu $t7, $t7, -0x10e0 -/* 080044 800E6B94 3C0E800F */ lui $t6, 0x800f -/* 080048 800E6B98 25CE7F00 */ addiu $t6, $t6, 0x7f00 -/* 08004C 800E6B9C 0120682D */ daddu $t5, $t1, $zero -/* 080050 800E6BA0 3C0C800F */ lui $t4, 0x800f -/* 080054 800E6BA4 258C7F40 */ addiu $t4, $t4, 0x7f40 -/* 080058 800E6BA8 3C088009 */ lui $t0, 0x8009 -/* 08005C 800E6BAC 2508EEC4 */ addiu $t0, $t0, -0x113c -.L800E6BB0: -/* 080060 800E6BB0 8D050000 */ lw $a1, ($t0) -/* 080064 800E6BB4 000510C0 */ sll $v0, $a1, 3 -/* 080068 800E6BB8 01623021 */ addu $a2, $t3, $v0 -/* 08006C 800E6BBC 90C20014 */ lbu $v0, 0x14($a2) -/* 080070 800E6BC0 5040001B */ beql $v0, $zero, .L800E6C30 -/* 080074 800E6BC4 25290001 */ addiu $t1, $t1, 1 -/* 080078 800E6BC8 50B80019 */ beql $a1, $t8, .L800E6C30 -/* 08007C 800E6BCC 25290001 */ addiu $t1, $t1, 1 -/* 080080 800E6BD0 00053880 */ sll $a3, $a1, 2 -/* 080084 800E6BD4 00EE1021 */ addu $v0, $a3, $t6 -/* 080088 800E6BD8 00051900 */ sll $v1, $a1, 4 -/* 08008C 800E6BDC 8C420000 */ lw $v0, ($v0) -/* 080090 800E6BE0 006F1821 */ addu $v1, $v1, $t7 -/* 080094 800E6BE4 AC850108 */ sw $a1, 0x108($a0) -/* 080098 800E6BE8 AC8D018C */ sw $t5, 0x18c($a0) -/* 08009C 800E6BEC AC820000 */ sw $v0, ($a0) -/* 0800A0 800E6BF0 8C620000 */ lw $v0, ($v1) -/* 0800A4 800E6BF4 AC820084 */ sw $v0, 0x84($a0) -/* 0800A8 800E6BF8 8C620008 */ lw $v0, 8($v1) -/* 0800AC 800E6BFC AC820294 */ sw $v0, 0x294($a0) -/* 0800B0 800E6C00 80C20015 */ lb $v0, 0x15($a2) -/* 0800B4 800E6C04 AC820210 */ sw $v0, 0x210($a0) -/* 0800B8 800E6C08 81620012 */ lb $v0, 0x12($t3) -/* 0800BC 800E6C0C 54450006 */ bnel $v0, $a1, .L800E6C28 -/* 0800C0 800E6C10 24840004 */ addiu $a0, $a0, 4 -/* 0800C4 800E6C14 00EC1021 */ addu $v0, $a3, $t4 -/* 0800C8 800E6C18 AC80018C */ sw $zero, 0x18c($a0) -/* 0800CC 800E6C1C 8C420000 */ lw $v0, ($v0) -/* 0800D0 800E6C20 AC820000 */ sw $v0, ($a0) -/* 0800D4 800E6C24 24840004 */ addiu $a0, $a0, 4 -.L800E6C28: -/* 0800D8 800E6C28 254A0001 */ addiu $t2, $t2, 1 -/* 0800DC 800E6C2C 25290001 */ addiu $t1, $t1, 1 -.L800E6C30: -/* 0800E0 800E6C30 2922000C */ slti $v0, $t1, 0xc -/* 0800E4 800E6C34 1440FFDE */ bnez $v0, .L800E6BB0 -/* 0800E8 800E6C38 25080004 */ addiu $t0, $t0, 4 -/* 0800EC 800E6C3C 03E00008 */ jr $ra -/* 0800F0 800E6C40 0140102D */ daddu $v0, $t2, $zero - -func_800E6C44: -/* 0800F4 800E6C44 0000402D */ daddu $t0, $zero, $zero -/* 0800F8 800E6C48 0100302D */ daddu $a2, $t0, $zero -/* 0800FC 800E6C4C 3C0B8008 */ lui $t3, 0x8008 -/* 080100 800E6C50 256B78E0 */ addiu $t3, $t3, 0x78e0 -/* 080104 800E6C54 3C0A8009 */ lui $t2, 0x8009 -/* 080108 800E6C58 254AA680 */ addiu $t2, $t2, -0x5980 -/* 08010C 800E6C5C 24090001 */ addiu $t1, $zero, 1 -/* 080110 800E6C60 3C078011 */ lui $a3, 0x8011 -/* 080114 800E6C64 24E7F290 */ addiu $a3, $a3, -0xd70 -.L800E6C68: -/* 080118 800E6C68 84E201B4 */ lh $v0, 0x1b4($a3) -/* 08011C 800E6C6C 50400018 */ beql $v0, $zero, .L800E6CD0 -/* 080120 800E6C70 24C60001 */ addiu $a2, $a2, 1 -/* 080124 800E6C74 00021140 */ sll $v0, $v0, 5 -/* 080128 800E6C78 004B2821 */ addu $a1, $v0, $t3 -/* 08012C 800E6C7C 84A20004 */ lh $v0, 4($a1) -/* 080130 800E6C80 94A30018 */ lhu $v1, 0x18($a1) -/* 080134 800E6C84 000210C0 */ sll $v0, $v0, 3 -/* 080138 800E6C88 30630001 */ andi $v1, $v1, 1 -/* 08013C 800E6C8C 10600005 */ beqz $v1, .L800E6CA4 -/* 080140 800E6C90 004A1021 */ addu $v0, $v0, $t2 -/* 080144 800E6C94 8C420000 */ lw $v0, ($v0) -/* 080148 800E6C98 AC860108 */ sw $a2, 0x108($a0) -/* 08014C 800E6C9C 08039B2C */ j .L800E6CB0 -/* 080150 800E6CA0 AC89018C */ sw $t1, 0x18c($a0) - -.L800E6CA4: -/* 080154 800E6CA4 8C420004 */ lw $v0, 4($v0) -/* 080158 800E6CA8 AC860108 */ sw $a2, 0x108($a0) -/* 08015C 800E6CAC AC80018C */ sw $zero, 0x18c($a0) -.L800E6CB0: -/* 080160 800E6CB0 AC820000 */ sw $v0, ($a0) -/* 080164 800E6CB4 8CA20000 */ lw $v0, ($a1) -/* 080168 800E6CB8 AC820084 */ sw $v0, 0x84($a0) -/* 08016C 800E6CBC 8CA20014 */ lw $v0, 0x14($a1) -/* 080170 800E6CC0 25080001 */ addiu $t0, $t0, 1 -/* 080174 800E6CC4 AC820294 */ sw $v0, 0x294($a0) -/* 080178 800E6CC8 24840004 */ addiu $a0, $a0, 4 -/* 08017C 800E6CCC 24C60001 */ addiu $a2, $a2, 1 -.L800E6CD0: -/* 080180 800E6CD0 28C2000A */ slti $v0, $a2, 0xa -/* 080184 800E6CD4 1440FFE4 */ bnez $v0, .L800E6C68 -/* 080188 800E6CD8 24E70002 */ addiu $a3, $a3, 2 -/* 08018C 800E6CDC 03E00008 */ jr $ra -/* 080190 800E6CE0 0100102D */ daddu $v0, $t0, $zero - -func_800E6CE4: -/* 080194 800E6CE4 3C038007 */ lui $v1, 0x8007 -/* 080198 800E6CE8 8C63419C */ lw $v1, 0x419c($v1) -/* 08019C 800E6CEC 27BDFFD8 */ addiu $sp, $sp, -0x28 -/* 0801A0 800E6CF0 AFB3001C */ sw $s3, 0x1c($sp) -/* 0801A4 800E6CF4 3C138011 */ lui $s3, 0x8011 -/* 0801A8 800E6CF8 2673EBB0 */ addiu $s3, $s3, -0x1450 -/* 0801AC 800E6CFC AFB40020 */ sw $s4, 0x20($sp) -/* 0801B0 800E6D00 3C148011 */ lui $s4, 0x8011 -/* 0801B4 800E6D04 2694EFC8 */ addiu $s4, $s4, -0x1038 -/* 0801B8 800E6D08 AFBF0024 */ sw $ra, 0x24($sp) -/* 0801BC 800E6D0C AFB20018 */ sw $s2, 0x18($sp) -/* 0801C0 800E6D10 AFB10014 */ sw $s1, 0x14($sp) -/* 0801C4 800E6D14 AFB00010 */ sw $s0, 0x10($sp) -/* 0801C8 800E6D18 80620078 */ lb $v0, 0x78($v1) -/* 0801CC 800E6D1C 3C128011 */ lui $s2, 0x8011 -/* 0801D0 800E6D20 2652C9C8 */ addiu $s2, $s2, -0x3638 -/* 0801D4 800E6D24 14400151 */ bnez $v0, .L800E726C -/* 0801D8 800E6D28 00000000 */ nop -/* 0801DC 800E6D2C 9062007E */ lbu $v0, 0x7e($v1) -/* 0801E0 800E6D30 30420001 */ andi $v0, $v0, 1 -/* 0801E4 800E6D34 1440014D */ bnez $v0, .L800E726C -/* 0801E8 800E6D38 0000202D */ daddu $a0, $zero, $zero -/* 0801EC 800E6D3C 3C05F5DE */ lui $a1, 0xf5de -/* 0801F0 800E6D40 0C0B1EAF */ jal get_variable -/* 0801F4 800E6D44 34A50180 */ ori $a1, $a1, 0x180 -/* 0801F8 800E6D48 2403FF80 */ addiu $v1, $zero, -0x80 -/* 0801FC 800E6D4C 10430147 */ beq $v0, $v1, .L800E726C -/* 080200 800E6D50 00000000 */ nop -/* 080204 800E6D54 82620000 */ lb $v0, ($s3) -/* 080208 800E6D58 1040000A */ beqz $v0, .L800E6D84 -/* 08020C 800E6D5C 00000000 */ nop -/* 080210 800E6D60 92620003 */ lbu $v0, 3($s3) -/* 080214 800E6D64 2442FFF9 */ addiu $v0, $v0, -7 -/* 080218 800E6D68 2C420003 */ sltiu $v0, $v0, 3 -/* 08021C 800E6D6C 10400005 */ beqz $v0, .L800E6D84 -/* 080220 800E6D70 0000202D */ daddu $a0, $zero, $zero -/* 080224 800E6D74 8E710008 */ lw $s1, 8($s3) -/* 080228 800E6D78 8E70000C */ lw $s0, 0xc($s3) -/* 08022C 800E6D7C 08039B65 */ j .L800E6D94 -/* 080230 800E6D80 3C05F5DE */ lui $a1, 0xf5de - -.L800E6D84: -/* 080234 800E6D84 8E9100DC */ lw $s1, 0xdc($s4) -/* 080238 800E6D88 8E9000E0 */ lw $s0, 0xe0($s4) -/* 08023C 800E6D8C 0000202D */ daddu $a0, $zero, $zero -/* 080240 800E6D90 3C05F5DE */ lui $a1, 0xf5de -.L800E6D94: -/* 080244 800E6D94 0C0B1EAF */ jal get_variable -/* 080248 800E6D98 34A50180 */ ori $a1, $a1, 0x180 -/* 08024C 800E6D9C 28420060 */ slti $v0, $v0, 0x60 -/* 080250 800E6DA0 14400003 */ bnez $v0, .L800E6DB0 -/* 080254 800E6DA4 2402FFFC */ addiu $v0, $zero, -4 -/* 080258 800E6DA8 02228824 */ and $s1, $s1, $v0 -/* 08025C 800E6DAC 02028024 */ and $s0, $s0, $v0 -.L800E6DB0: -/* 080260 800E6DB0 3C038011 */ lui $v1, 0x8011 -/* 080264 800E6DB4 8463CD00 */ lh $v1, -0x3300($v1) -/* 080268 800E6DB8 2C62000B */ sltiu $v0, $v1, 0xb -/* 08026C 800E6DBC 1040012B */ beqz $v0, .L800E726C -/* 080270 800E6DC0 00031080 */ sll $v0, $v1, 2 -/* 080274 800E6DC4 3C018011 */ lui $at, 0x8011 -/* 080278 800E6DC8 00220821 */ addu $at, $at, $v0 -/* 08027C 800E6DCC 8C22BF30 */ lw $v0, -0x40d0($at) -/* 080280 800E6DD0 00400008 */ jr $v0 -/* 080284 800E6DD4 00000000 */ nop -/* 080288 800E6DD8 0220202D */ daddu $a0, $s1, $zero -/* 08028C 800E6DDC 0C039A77 */ jal func_800E69DC -/* 080290 800E6DE0 0200282D */ daddu $a1, $s0, $zero -/* 080294 800E6DE4 10400121 */ beqz $v0, .L800E726C -/* 080298 800E6DE8 24020001 */ addiu $v0, $zero, 1 -/* 08029C 800E6DEC 3C038011 */ lui $v1, 0x8011 -/* 0802A0 800E6DF0 2463CCF8 */ addiu $v1, $v1, -0x3308 -/* 0802A4 800E6DF4 A4620000 */ sh $v0, ($v1) -/* 0802A8 800E6DF8 32020001 */ andi $v0, $s0, 1 -/* 0802AC 800E6DFC 54400001 */ bnel $v0, $zero, .L800E6E04 -/* 0802B0 800E6E00 A4600000 */ sh $zero, ($v1) -.L800E6E04: -/* 0802B4 800E6E04 32021000 */ andi $v0, $s0, 0x1000 -/* 0802B8 800E6E08 10400002 */ beqz $v0, .L800E6E14 -/* 0802BC 800E6E0C 24020002 */ addiu $v0, $zero, 2 -/* 0802C0 800E6E10 A4620000 */ sh $v0, ($v1) -.L800E6E14: -/* 0802C4 800E6E14 3C018011 */ lui $at, 0x8011 -/* 0802C8 800E6E18 A420C9C0 */ sh $zero, -0x3640($at) -.L800E6E1C: -/* 0802CC 800E6E1C 3C038011 */ lui $v1, 0x8011 -/* 0802D0 800E6E20 8463CCF8 */ lh $v1, -0x3308($v1) -/* 0802D4 800E6E24 10600005 */ beqz $v1, .L800E6E3C -/* 0802D8 800E6E28 24020001 */ addiu $v0, $zero, 1 -/* 0802DC 800E6E2C 1062001F */ beq $v1, $v0, .L800E6EAC -/* 0802E0 800E6E30 00000000 */ nop -/* 0802E4 800E6E34 08039BB2 */ j .L800E6EC8 -/* 0802E8 800E6E38 00000000 */ nop - -.L800E6E3C: -/* 0802EC 800E6E3C 8E820000 */ lw $v0, ($s4) -/* 0802F0 800E6E40 30420040 */ andi $v0, $v0, 0x40 -/* 0802F4 800E6E44 10400009 */ beqz $v0, .L800E6E6C -/* 0802F8 800E6E48 00000000 */ nop -/* 0802FC 800E6E4C 0C05272D */ jal play_sound -/* 080300 800E6E50 2404021D */ addiu $a0, $zero, 0x21d -/* 080304 800E6E54 3C028011 */ lui $v0, 0x8011 -/* 080308 800E6E58 8442C9C0 */ lh $v0, -0x3640($v0) -/* 08030C 800E6E5C 10400103 */ beqz $v0, .L800E726C -/* 080310 800E6E60 00000000 */ nop -/* 080314 800E6E64 08039C72 */ j .L800E71C8 -/* 080318 800E6E68 00000000 */ nop - -.L800E6E6C: -/* 08031C 800E6E6C 0C039ADE */ jal func_800E6B78 -/* 080320 800E6E70 0240202D */ daddu $a0, $s2, $zero -/* 080324 800E6E74 104000FD */ beqz $v0, .L800E726C -/* 080328 800E6E78 24030001 */ addiu $v1, $zero, 1 -/* 08032C 800E6E7C AE420324 */ sw $v0, 0x324($s2) -/* 080330 800E6E80 3C028011 */ lui $v0, 0x8011 -/* 080334 800E6E84 2442F290 */ addiu $v0, $v0, -0xd70 -/* 080338 800E6E88 80420012 */ lb $v0, 0x12($v0) -/* 08033C 800E6E8C AE430318 */ sw $v1, 0x318($s2) -/* 080340 800E6E90 00021080 */ sll $v0, $v0, 2 -/* 080344 800E6E94 3C018009 */ lui $at, 0x8009 -/* 080348 800E6E98 00220821 */ addu $at, $at, $v0 -/* 08034C 800E6E9C 8C22EEF0 */ lw $v0, -0x1110($at) -/* 080350 800E6EA0 2442FFFF */ addiu $v0, $v0, -1 -/* 080354 800E6EA4 08039BB2 */ j .L800E6EC8 -/* 080358 800E6EA8 AE420328 */ sw $v0, 0x328($s2) - -.L800E6EAC: -/* 08035C 800E6EAC 0C039B11 */ jal func_800E6C44 -/* 080360 800E6EB0 0240202D */ daddu $a0, $s2, $zero -/* 080364 800E6EB4 104000ED */ beqz $v0, .L800E726C -/* 080368 800E6EB8 00000000 */ nop -/* 08036C 800E6EBC AE400318 */ sw $zero, 0x318($s2) -/* 080370 800E6EC0 AE420324 */ sw $v0, 0x324($s2) -/* 080374 800E6EC4 AE400328 */ sw $zero, 0x328($s2) -.L800E6EC8: -/* 080378 800E6EC8 8E820000 */ lw $v0, ($s4) -/* 08037C 800E6ECC 34420020 */ ori $v0, $v0, 0x20 -/* 080380 800E6ED0 0C03805E */ jal func_800E0178 -/* 080384 800E6ED4 AE820000 */ sw $v0, ($s4) -/* 080388 800E6ED8 0C03BD8A */ jal func_800EF628 -/* 08038C 800E6EDC 00000000 */ nop -/* 080390 800E6EE0 24020003 */ addiu $v0, $zero, 3 -/* 080394 800E6EE4 3C018011 */ lui $at, 0x8011 -/* 080398 800E6EE8 A422CCFA */ sh $v0, -0x3306($at) -/* 08039C 800E6EEC 92820015 */ lbu $v0, 0x15($s4) -/* 0803A0 800E6EF0 24030001 */ addiu $v1, $zero, 1 -/* 0803A4 800E6EF4 3C018011 */ lui $at, 0x8011 -/* 0803A8 800E6EF8 A423CD00 */ sh $v1, -0x3300($at) -/* 0803AC 800E6EFC 00021600 */ sll $v0, $v0, 0x18 -/* 0803B0 800E6F00 00021603 */ sra $v0, $v0, 0x18 -/* 0803B4 800E6F04 3C018011 */ lui $at, 0x8011 -/* 0803B8 800E6F08 A422CCFE */ sh $v0, -0x3302($at) -/* 0803BC 800E6F0C 08039C9B */ j .L800E726C -/* 0803C0 800E6F10 00000000 */ nop - -/* 0803C4 800E6F14 0C039A41 */ jal func_800E6904 -/* 0803C8 800E6F18 00000000 */ nop -/* 0803CC 800E6F1C 1040000B */ beqz $v0, .L800E6F4C -/* 0803D0 800E6F20 00000000 */ nop -/* 0803D4 800E6F24 0C04D07A */ jal func_801341E8 -/* 0803D8 800E6F28 00000000 */ nop -/* 0803DC 800E6F2C 14400007 */ bnez $v0, .L800E6F4C -/* 0803E0 800E6F30 00000000 */ nop -/* 0803E4 800E6F34 3C028011 */ lui $v0, 0x8011 -/* 0803E8 800E6F38 8442CCFE */ lh $v0, -0x3302($v0) -/* 0803EC 800E6F3C 82830015 */ lb $v1, 0x15($s4) -/* 0803F0 800E6F40 0043102A */ slt $v0, $v0, $v1 -/* 0803F4 800E6F44 10400010 */ beqz $v0, .L800E6F88 -/* 0803F8 800E6F48 00000000 */ nop -.L800E6F4C: -/* 0803FC 800E6F4C 8E820000 */ lw $v0, ($s4) -/* 080400 800E6F50 2403FFDF */ addiu $v1, $zero, -0x21 -/* 080404 800E6F54 00431024 */ and $v0, $v0, $v1 -/* 080408 800E6F58 0C038069 */ jal func_800E01A4 -/* 08040C 800E6F5C AE820000 */ sw $v0, ($s4) -/* 080410 800E6F60 0C03BD80 */ jal func_800EF600 -/* 080414 800E6F64 00000000 */ nop -/* 080418 800E6F68 3C028011 */ lui $v0, 0x8011 -/* 08041C 800E6F6C 8442C9C0 */ lh $v0, -0x3640($v0) -/* 080420 800E6F70 3C018011 */ lui $at, 0x8011 -/* 080424 800E6F74 A420CD00 */ sh $zero, -0x3300($at) -/* 080428 800E6F78 104000BC */ beqz $v0, .L800E726C -/* 08042C 800E6F7C 00000000 */ nop -/* 080430 800E6F80 08039C72 */ j .L800E71C8 -/* 080434 800E6F84 00000000 */ nop - -.L800E6F88: -/* 080438 800E6F88 3C038011 */ lui $v1, 0x8011 -/* 08043C 800E6F8C 2463CCFA */ addiu $v1, $v1, -0x3306 -/* 080440 800E6F90 94620000 */ lhu $v0, ($v1) -/* 080444 800E6F94 2442FFFF */ addiu $v0, $v0, -1 -/* 080448 800E6F98 A4620000 */ sh $v0, ($v1) -/* 08044C 800E6F9C 00021400 */ sll $v0, $v0, 0x10 -/* 080450 800E6FA0 144000B2 */ bnez $v0, .L800E726C -/* 080454 800E6FA4 24040002 */ addiu $a0, $zero, 2 -/* 080458 800E6FA8 3C02800A */ lui $v0, 0x800a -/* 08045C 800E6FAC 2442A650 */ addiu $v0, $v0, -0x59b0 -/* 080460 800E6FB0 8C430000 */ lw $v1, ($v0) -/* 080464 800E6FB4 3C018011 */ lui $at, 0x8011 -/* 080468 800E6FB8 A424CD00 */ sh $a0, -0x3300($at) -/* 08046C 800E6FBC 34630040 */ ori $v1, $v1, 0x40 -/* 080470 800E6FC0 08039C9B */ j .L800E726C -/* 080474 800E6FC4 AC430000 */ sw $v1, ($v0) - -/* 080478 800E6FC8 3C038011 */ lui $v1, 0x8011 -/* 08047C 800E6FCC 8463CCF8 */ lh $v1, -0x3308($v1) -/* 080480 800E6FD0 24020002 */ addiu $v0, $zero, 2 -/* 080484 800E6FD4 1462000C */ bne $v1, $v0, .L800E7008 -/* 080488 800E6FD8 00000000 */ nop -/* 08048C 800E6FDC 0C00CD3C */ jal set_game_mode -/* 080490 800E6FE0 2404000A */ addiu $a0, $zero, 0xa -/* 080494 800E6FE4 0C05272D */ jal play_sound -/* 080498 800E6FE8 240400C5 */ addiu $a0, $zero, 0xc5 -/* 08049C 800E6FEC 2402000A */ addiu $v0, $zero, 0xa -/* 0804A0 800E6FF0 3C018011 */ lui $at, 0x8011 -/* 0804A4 800E6FF4 A422CCFA */ sh $v0, -0x3306($at) -/* 0804A8 800E6FF8 3C018011 */ lui $at, 0x8011 -/* 0804AC 800E6FFC A422CD00 */ sh $v0, -0x3300($at) -/* 0804B0 800E7000 08039C9B */ j .L800E726C -/* 0804B4 800E7004 00000000 */ nop - -.L800E7008: -/* 0804B8 800E7008 0C03D390 */ jal func_800F4E40 -/* 0804BC 800E700C 0240202D */ daddu $a0, $s2, $zero -/* 0804C0 800E7010 0C009C22 */ jal func_80027088 -/* 0804C4 800E7014 24040003 */ addiu $a0, $zero, 3 -/* 0804C8 800E7018 82620000 */ lb $v0, ($s3) -/* 0804CC 800E701C 14400003 */ bnez $v0, .L800E702C -/* 0804D0 800E7020 00000000 */ nop -/* 0804D4 800E7024 0C039769 */ jal set_action_state -/* 0804D8 800E7028 0000202D */ daddu $a0, $zero, $zero -.L800E702C: -/* 0804DC 800E702C 3C038011 */ lui $v1, 0x8011 -/* 0804E0 800E7030 2463CD00 */ addiu $v1, $v1, -0x3300 -/* 0804E4 800E7034 94620000 */ lhu $v0, ($v1) -/* 0804E8 800E7038 24420001 */ addiu $v0, $v0, 1 -/* 0804EC 800E703C 08039C9B */ j .L800E726C -/* 0804F0 800E7040 A4620000 */ sh $v0, ($v1) - -/* 0804F4 800E7044 2402FFFF */ addiu $v0, $zero, -1 -/* 0804F8 800E7048 8643032C */ lh $v1, 0x32c($s2) -/* 0804FC 800E704C 10620087 */ beq $v1, $v0, .L800E726C -/* 080500 800E7050 9644032C */ lhu $a0, 0x32c($s2) -/* 080504 800E7054 3C018011 */ lui $at, 0x8011 -/* 080508 800E7058 A424CCFC */ sh $a0, -0x3304($at) -/* 08050C 800E705C 10600083 */ beqz $v1, .L800E726C -/* 080510 800E7060 00000000 */ nop -/* 080514 800E7064 0C03C4EC */ jal func_800F13B0 -/* 080518 800E7068 00000000 */ nop -/* 08051C 800E706C 3C028011 */ lui $v0, 0x8011 -/* 080520 800E7070 2442CD00 */ addiu $v0, $v0, -0x3300 -/* 080524 800E7074 94430000 */ lhu $v1, ($v0) -/* 080528 800E7078 2404000F */ addiu $a0, $zero, 0xf -/* 08052C 800E707C 3C018011 */ lui $at, 0x8011 -/* 080530 800E7080 A424CCFA */ sh $a0, -0x3306($at) -/* 080534 800E7084 24630001 */ addiu $v1, $v1, 1 -/* 080538 800E7088 08039C9B */ j .L800E726C -/* 08053C 800E708C A4430000 */ sh $v1, ($v0) - -/* 080540 800E7090 3C038011 */ lui $v1, 0x8011 -/* 080544 800E7094 2463CCFA */ addiu $v1, $v1, -0x3306 -/* 080548 800E7098 94620000 */ lhu $v0, ($v1) -/* 08054C 800E709C 2442FFFF */ addiu $v0, $v0, -1 -/* 080550 800E70A0 A4620000 */ sh $v0, ($v1) -/* 080554 800E70A4 00021400 */ sll $v0, $v0, 0x10 -/* 080558 800E70A8 14400070 */ bnez $v0, .L800E726C -/* 08055C 800E70AC 00000000 */ nop -/* 080560 800E70B0 0C03C54E */ jal func_800F1538 -/* 080564 800E70B4 00000000 */ nop -/* 080568 800E70B8 3C018011 */ lui $at, 0x8011 -/* 08056C 800E70BC A420CD00 */ sh $zero, -0x3300($at) -/* 080570 800E70C0 0C038069 */ jal func_800E01A4 -/* 080574 800E70C4 00000000 */ nop -/* 080578 800E70C8 0C03BD80 */ jal func_800EF600 -/* 08057C 800E70CC 00000000 */ nop -/* 080580 800E70D0 3C108011 */ lui $s0, 0x8011 -/* 080584 800E70D4 2610CCFC */ addiu $s0, $s0, -0x3304 -/* 080588 800E70D8 86030000 */ lh $v1, ($s0) -/* 08058C 800E70DC 2402FFFE */ addiu $v0, $zero, -2 -/* 080590 800E70E0 1462001B */ bne $v1, $v0, .L800E7150 -/* 080594 800E70E4 00000000 */ nop -/* 080598 800E70E8 0C039ADE */ jal func_800E6B78 -/* 08059C 800E70EC 0240202D */ daddu $a0, $s2, $zero -/* 0805A0 800E70F0 10400005 */ beqz $v0, .L800E7108 -/* 0805A4 800E70F4 240200FF */ addiu $v0, $zero, 0xff -/* 0805A8 800E70F8 0C039B11 */ jal func_800E6C44 -/* 0805AC 800E70FC 0240202D */ daddu $a0, $s2, $zero -/* 0805B0 800E7100 14400003 */ bnez $v0, .L800E7110 -/* 0805B4 800E7104 240200FF */ addiu $v0, $zero, 0xff -.L800E7108: -/* 0805B8 800E7108 08039C54 */ j .L800E7150 -/* 0805BC 800E710C A6020000 */ sh $v0, ($s0) - -.L800E7110: -/* 0805C0 800E7110 3C048011 */ lui $a0, 0x8011 -/* 0805C4 800E7114 2484CCF8 */ addiu $a0, $a0, -0x3308 -/* 0805C8 800E7118 84830000 */ lh $v1, ($a0) -/* 0805CC 800E711C 10600005 */ beqz $v1, .L800E7134 -/* 0805D0 800E7120 24020001 */ addiu $v0, $zero, 1 -/* 0805D4 800E7124 10620006 */ beq $v1, $v0, .L800E7140 -/* 0805D8 800E7128 24020001 */ addiu $v0, $zero, 1 -/* 0805DC 800E712C 08039C51 */ j .L800E7144 -/* 0805E0 800E7130 00000000 */ nop - -.L800E7134: -/* 0805E4 800E7134 24020001 */ addiu $v0, $zero, 1 -/* 0805E8 800E7138 08039C51 */ j .L800E7144 -/* 0805EC 800E713C A4820000 */ sh $v0, ($a0) - -.L800E7140: -/* 0805F0 800E7140 A4800000 */ sh $zero, ($a0) -.L800E7144: -/* 0805F4 800E7144 3C018011 */ lui $at, 0x8011 -/* 0805F8 800E7148 08039B87 */ j .L800E6E1C -/* 0805FC 800E714C A422C9C0 */ sh $v0, -0x3640($at) - -.L800E7150: -/* 080600 800E7150 3C038011 */ lui $v1, 0x8011 -/* 080604 800E7154 8463CCFC */ lh $v1, -0x3304($v1) -/* 080608 800E7158 240200FF */ addiu $v0, $zero, 0xff -/* 08060C 800E715C 1062001A */ beq $v1, $v0, .L800E71C8 -/* 080610 800E7160 00000000 */ nop -/* 080614 800E7164 3C048011 */ lui $a0, 0x8011 -/* 080618 800E7168 8484CCF8 */ lh $a0, -0x3308($a0) -/* 08061C 800E716C 10800005 */ beqz $a0, .L800E7184 -/* 080620 800E7170 24020001 */ addiu $v0, $zero, 1 -/* 080624 800E7174 1082000A */ beq $a0, $v0, .L800E71A0 -/* 080628 800E7178 2462FFFF */ addiu $v0, $v1, -1 -/* 08062C 800E717C 08039C72 */ j .L800E71C8 -/* 080630 800E7180 00000000 */ nop - -.L800E7184: -/* 080634 800E7184 2462FFFF */ addiu $v0, $v1, -1 -/* 080638 800E7188 00021080 */ sll $v0, $v0, 2 -/* 08063C 800E718C 02421021 */ addu $v0, $s2, $v0 -/* 080640 800E7190 0C03AC5A */ jal func_800EB168 -/* 080644 800E7194 8C440108 */ lw $a0, 0x108($v0) -/* 080648 800E7198 08039C72 */ j .L800E71C8 -/* 08064C 800E719C 00000000 */ nop - -.L800E71A0: -/* 080650 800E71A0 00021080 */ sll $v0, $v0, 2 -/* 080654 800E71A4 02421021 */ addu $v0, $s2, $v0 -/* 080658 800E71A8 0C03A900 */ jal use_consumable -/* 08065C 800E71AC 8C440108 */ lw $a0, 0x108($v0) -/* 080660 800E71B0 3C04800A */ lui $a0, 0x800a -/* 080664 800E71B4 2484A650 */ addiu $a0, $a0, -0x59b0 -/* 080668 800E71B8 8C820000 */ lw $v0, ($a0) -/* 08066C 800E71BC 3C030020 */ lui $v1, 0x20 -/* 080670 800E71C0 00431025 */ or $v0, $v0, $v1 -/* 080674 800E71C4 AC820000 */ sw $v0, ($a0) -.L800E71C8: -/* 080678 800E71C8 0C039A18 */ jal func_800E6860 -/* 08067C 800E71CC 00000000 */ nop -/* 080680 800E71D0 0000202D */ daddu $a0, $zero, $zero -/* 080684 800E71D4 2403FFDF */ addiu $v1, $zero, -0x21 -/* 080688 800E71D8 8E820000 */ lw $v0, ($s4) -/* 08068C 800E71DC 3C05800A */ lui $a1, 0x800a -/* 080690 800E71E0 24A5A650 */ addiu $a1, $a1, -0x59b0 -/* 080694 800E71E4 00431024 */ and $v0, $v0, $v1 -/* 080698 800E71E8 AE820000 */ sw $v0, ($s4) -/* 08069C 800E71EC 8CA20000 */ lw $v0, ($a1) -/* 0806A0 800E71F0 2403FFBF */ addiu $v1, $zero, -0x41 -/* 0806A4 800E71F4 00431024 */ and $v0, $v0, $v1 -/* 0806A8 800E71F8 0C009C22 */ jal func_80027088 -/* 0806AC 800E71FC ACA20000 */ sw $v0, ($a1) -/* 0806B0 800E7200 08039C9B */ j .L800E726C -/* 0806B4 800E7204 00000000 */ nop - -/* 0806B8 800E7208 3C038011 */ lui $v1, 0x8011 -/* 0806BC 800E720C 2463CCFA */ addiu $v1, $v1, -0x3306 -/* 0806C0 800E7210 94620000 */ lhu $v0, ($v1) -/* 0806C4 800E7214 2442FFFF */ addiu $v0, $v0, -1 -/* 0806C8 800E7218 A4620000 */ sh $v0, ($v1) -/* 0806CC 800E721C 00021400 */ sll $v0, $v0, 0x10 -/* 0806D0 800E7220 14400012 */ bnez $v0, .L800E726C -/* 0806D4 800E7224 00000000 */ nop -/* 0806D8 800E7228 0C039A18 */ jal func_800E6860 -/* 0806DC 800E722C 00000000 */ nop -/* 0806E0 800E7230 2403FFDF */ addiu $v1, $zero, -0x21 -/* 0806E4 800E7234 8E820000 */ lw $v0, ($s4) -/* 0806E8 800E7238 3C04800A */ lui $a0, 0x800a -/* 0806EC 800E723C 2484A650 */ addiu $a0, $a0, -0x59b0 -/* 0806F0 800E7240 3C018011 */ lui $at, 0x8011 -/* 0806F4 800E7244 A420CD00 */ sh $zero, -0x3300($at) -/* 0806F8 800E7248 00431024 */ and $v0, $v0, $v1 -/* 0806FC 800E724C AE820000 */ sw $v0, ($s4) -/* 080700 800E7250 8C820000 */ lw $v0, ($a0) -/* 080704 800E7254 2403FFBF */ addiu $v1, $zero, -0x41 -/* 080708 800E7258 00431024 */ and $v0, $v0, $v1 -/* 08070C 800E725C 0C038069 */ jal func_800E01A4 -/* 080710 800E7260 AC820000 */ sw $v0, ($a0) -/* 080714 800E7264 0C03BD80 */ jal func_800EF600 -/* 080718 800E7268 00000000 */ nop -.L800E726C: -/* 08071C 800E726C 8FBF0024 */ lw $ra, 0x24($sp) -/* 080720 800E7270 8FB40020 */ lw $s4, 0x20($sp) -/* 080724 800E7274 8FB3001C */ lw $s3, 0x1c($sp) -/* 080728 800E7278 8FB20018 */ lw $s2, 0x18($sp) -/* 08072C 800E727C 8FB10014 */ lw $s1, 0x14($sp) -/* 080730 800E7280 8FB00010 */ lw $s0, 0x10($sp) -/* 080734 800E7284 03E00008 */ jr $ra -/* 080738 800E7288 27BD0028 */ addiu $sp, $sp, 0x28 - -check_input_status_menu: -/* 08073C 800E728C 27BDFFE0 */ addiu $sp, $sp, -0x20 -/* 080740 800E7290 0000202D */ daddu $a0, $zero, $zero -/* 080744 800E7294 3C05F5DE */ lui $a1, 0xf5de -/* 080748 800E7298 34A50180 */ ori $a1, $a1, 0x180 -/* 08074C 800E729C AFBF0018 */ sw $ra, 0x18($sp) -/* 080750 800E72A0 AFB10014 */ sw $s1, 0x14($sp) -/* 080754 800E72A4 0C0B1EAF */ jal get_variable -/* 080758 800E72A8 AFB00010 */ sw $s0, 0x10($sp) -/* 08075C 800E72AC 3C118011 */ lui $s1, 0x8011 -/* 080760 800E72B0 2631EFC8 */ addiu $s1, $s1, -0x1038 -/* 080764 800E72B4 28420060 */ slti $v0, $v0, 0x60 -/* 080768 800E72B8 10400031 */ beqz $v0, .L800E7380 -/* 08076C 800E72BC 24020021 */ addiu $v0, $zero, 0x21 -/* 080770 800E72C0 822300B4 */ lb $v1, 0xb4($s1) -/* 080774 800E72C4 10620003 */ beq $v1, $v0, .L800E72D4 -/* 080778 800E72C8 00000000 */ nop -/* 08077C 800E72CC 08039CB8 */ j .L800E72E0 -/* 080780 800E72D0 8E3000E0 */ lw $s0, 0xe0($s1) - -.L800E72D4: -/* 080784 800E72D4 3C028007 */ lui $v0, 0x8007 -/* 080788 800E72D8 8C42419C */ lw $v0, 0x419c($v0) -/* 08078C 800E72DC 8C500010 */ lw $s0, 0x10($v0) -.L800E72E0: -/* 080790 800E72E0 0C03A644 */ jal is_status_menu_visible -/* 080794 800E72E4 00000000 */ nop -/* 080798 800E72E8 14400013 */ bnez $v0, .L800E7338 -/* 08079C 800E72EC 00000000 */ nop -/* 0807A0 800E72F0 8E2200DC */ lw $v0, 0xdc($s1) -/* 0807A4 800E72F4 30422010 */ andi $v0, $v0, 0x2010 -/* 0807A8 800E72F8 14400021 */ bnez $v0, .L800E7380 -/* 0807AC 800E72FC 32020008 */ andi $v0, $s0, 8 -/* 0807B0 800E7300 1040001F */ beqz $v0, .L800E7380 -/* 0807B4 800E7304 00000000 */ nop -/* 0807B8 800E7308 0C03A618 */ jal func_800E9860 -/* 0807BC 800E730C 00000000 */ nop -/* 0807C0 800E7310 1040001B */ beqz $v0, .L800E7380 -/* 0807C4 800E7314 00000000 */ nop -/* 0807C8 800E7318 0C03A5D8 */ jal open_status_menu_long -/* 0807CC 800E731C 00000000 */ nop -/* 0807D0 800E7320 0C04D07A */ jal func_801341E8 -/* 0807D4 800E7324 00000000 */ nop -/* 0807D8 800E7328 14400015 */ bnez $v0, .L800E7380 -/* 0807DC 800E732C 24040003 */ addiu $a0, $zero, 3 -/* 0807E0 800E7330 08039CDE */ j .L800E7378 -/* 0807E4 800E7334 00000000 */ nop - -.L800E7338: -/* 0807E8 800E7338 8E2200DC */ lw $v0, 0xdc($s1) -/* 0807EC 800E733C 30422010 */ andi $v0, $v0, 0x2010 -/* 0807F0 800E7340 1440000F */ bnez $v0, .L800E7380 -/* 0807F4 800E7344 32020008 */ andi $v0, $s0, 8 -/* 0807F8 800E7348 1040000D */ beqz $v0, .L800E7380 -/* 0807FC 800E734C 00000000 */ nop -/* 080800 800E7350 0C03A618 */ jal func_800E9860 -/* 080804 800E7354 00000000 */ nop -/* 080808 800E7358 10400009 */ beqz $v0, .L800E7380 -/* 08080C 800E735C 00000000 */ nop -/* 080810 800E7360 0C03A5EE */ jal func_800E97B8 -/* 080814 800E7364 00000000 */ nop -/* 080818 800E7368 0C04D07A */ jal func_801341E8 -/* 08081C 800E736C 00000000 */ nop -/* 080820 800E7370 14400003 */ bnez $v0, .L800E7380 -/* 080824 800E7374 24040004 */ addiu $a0, $zero, 4 -.L800E7378: -/* 080828 800E7378 0C05272D */ jal play_sound -/* 08082C 800E737C 00000000 */ nop -.L800E7380: -/* 080830 800E7380 8FBF0018 */ lw $ra, 0x18($sp) -/* 080834 800E7384 8FB10014 */ lw $s1, 0x14($sp) -/* 080838 800E7388 8FB00010 */ lw $s0, 0x10($sp) -/* 08083C 800E738C 03E00008 */ jr $ra -/* 080840 800E7390 27BD0020 */ addiu $sp, $sp, 0x20 - -/* 080844 800E7394 00000000 */ nop -/* 080848 800E7398 00000000 */ nop -/* 08084C 800E739C 00000000 */ nop -clear_player_data: -/* 080850 800E73A0 0000182D */ daddu $v1, $zero, $zero -/* 080854 800E73A4 3C048011 */ lui $a0, 0x8011 -/* 080858 800E73A8 2484F290 */ addiu $a0, $a0, -0xd70 -/* 08085C 800E73AC 0080282D */ daddu $a1, $a0, $zero -/* 080860 800E73B0 2402FFFF */ addiu $v0, $zero, -1 -/* 080864 800E73B4 3C018011 */ lui $at, 0x8011 -/* 080868 800E73B8 A420CD10 */ sh $zero, -0x32f0($at) -/* 08086C 800E73BC 3C018011 */ lui $at, 0x8011 -/* 080870 800E73C0 A420CD12 */ sh $zero, -0x32ee($at) -/* 080874 800E73C4 A0820001 */ sb $v0, 1($a0) -/* 080878 800E73C8 2402000A */ addiu $v0, $zero, 0xa -/* 08087C 800E73CC A0820002 */ sb $v0, 2($a0) -/* 080880 800E73D0 A0820003 */ sb $v0, 3($a0) -/* 080884 800E73D4 A0820004 */ sb $v0, 4($a0) -/* 080888 800E73D8 24020005 */ addiu $v0, $zero, 5 -/* 08088C 800E73DC A0820005 */ sb $v0, 5($a0) -/* 080890 800E73E0 A0820006 */ sb $v0, 6($a0) -/* 080894 800E73E4 A0820007 */ sb $v0, 7($a0) -/* 080898 800E73E8 24020003 */ addiu $v0, $zero, 3 -/* 08089C 800E73EC A0820008 */ sb $v0, 8($a0) -/* 0808A0 800E73F0 24020001 */ addiu $v0, $zero, 1 -/* 0808A4 800E73F4 A0820009 */ sb $v0, 9($a0) -/* 0808A8 800E73F8 2402FFFF */ addiu $v0, $zero, -1 -/* 0808AC 800E73FC A0800000 */ sb $zero, ($a0) -/* 0808B0 800E7400 A080000A */ sb $zero, 0xa($a0) -/* 0808B4 800E7404 A480000C */ sh $zero, 0xc($a0) -/* 0808B8 800E7408 A080000E */ sb $zero, 0xe($a0) -/* 0808BC 800E740C A080000F */ sb $zero, 0xf($a0) -/* 0808C0 800E7410 A0800010 */ sb $zero, 0x10($a0) -/* 0808C4 800E7414 A0800011 */ sb $zero, 0x11($a0) -/* 0808C8 800E7418 A0800288 */ sb $zero, 0x288($a0) -/* 0808CC 800E741C A0800289 */ sb $zero, 0x289($a0) -/* 0808D0 800E7420 A080028A */ sb $zero, 0x28a($a0) -/* 0808D4 800E7424 A482028C */ sh $v0, 0x28c($a0) -/* 0808D8 800E7428 A080028E */ sb $zero, 0x28e($a0) -/* 0808DC 800E742C A4800290 */ sh $zero, 0x290($a0) -/* 0808E0 800E7430 A0800292 */ sb $zero, 0x292($a0) -/* 0808E4 800E7434 A0800012 */ sb $zero, 0x12($a0) -.L800E7438: -/* 0808E8 800E7438 A0A00014 */ sb $zero, 0x14($a1) -/* 0808EC 800E743C A0A00015 */ sb $zero, 0x15($a1) -/* 0808F0 800E7440 A4A00016 */ sh $zero, 0x16($a1) -/* 0808F4 800E7444 A4A00018 */ sh $zero, 0x18($a1) -/* 0808F8 800E7448 A4A0001A */ sh $zero, 0x1a($a1) -/* 0808FC 800E744C 24630001 */ addiu $v1, $v1, 1 -/* 080900 800E7450 2862000C */ slti $v0, $v1, 0xc -/* 080904 800E7454 1440FFF8 */ bnez $v0, .L800E7438 -/* 080908 800E7458 24A50008 */ addiu $a1, $a1, 8 -/* 08090C 800E745C 2403001F */ addiu $v1, $zero, 0x1f -/* 080910 800E7460 2482003E */ addiu $v0, $a0, 0x3e -.L800E7464: -/* 080914 800E7464 A4400074 */ sh $zero, 0x74($v0) -/* 080918 800E7468 2463FFFF */ addiu $v1, $v1, -1 -/* 08091C 800E746C 0461FFFD */ bgez $v1, .L800E7464 -/* 080920 800E7470 2442FFFE */ addiu $v0, $v0, -2 -/* 080924 800E7474 2403007F */ addiu $v1, $zero, 0x7f -/* 080928 800E7478 248200FE */ addiu $v0, $a0, 0xfe -.L800E747C: -/* 08092C 800E747C A44000B4 */ sh $zero, 0xb4($v0) -/* 080930 800E7480 2463FFFF */ addiu $v1, $v1, -1 -/* 080934 800E7484 0461FFFD */ bgez $v1, .L800E747C -/* 080938 800E7488 2442FFFE */ addiu $v0, $v0, -2 -/* 08093C 800E748C 24030009 */ addiu $v1, $zero, 9 -/* 080940 800E7490 24820012 */ addiu $v0, $a0, 0x12 -.L800E7494: -/* 080944 800E7494 A44001B4 */ sh $zero, 0x1b4($v0) -/* 080948 800E7498 2463FFFF */ addiu $v1, $v1, -1 -/* 08094C 800E749C 0461FFFD */ bgez $v1, .L800E7494 -/* 080950 800E74A0 2442FFFE */ addiu $v0, $v0, -2 -/* 080954 800E74A4 2403003F */ addiu $v1, $zero, 0x3f -/* 080958 800E74A8 2482007E */ addiu $v0, $a0, 0x7e -.L800E74AC: -/* 08095C 800E74AC A4400208 */ sh $zero, 0x208($v0) -/* 080960 800E74B0 2463FFFF */ addiu $v1, $v1, -1 -/* 080964 800E74B4 0461FFFD */ bgez $v1, .L800E74AC -/* 080968 800E74B8 2442FFFE */ addiu $v0, $v0, -2 -/* 08096C 800E74BC 2403001F */ addiu $v1, $zero, 0x1f -/* 080970 800E74C0 2482003E */ addiu $v0, $a0, 0x3e -.L800E74C4: -/* 080974 800E74C4 A44001C8 */ sh $zero, 0x1c8($v0) -/* 080978 800E74C8 2463FFFF */ addiu $v1, $v1, -1 -/* 08097C 800E74CC 0461FFFD */ bgez $v1, .L800E74C4 -/* 080980 800E74D0 2442FFFE */ addiu $v0, $v0, -2 -/* 080984 800E74D4 0000182D */ daddu $v1, $zero, $zero -/* 080988 800E74D8 0080282D */ daddu $a1, $a0, $zero -/* 08098C 800E74DC A4800294 */ sh $zero, 0x294($a0) -/* 080990 800E74E0 A4800296 */ sh $zero, 0x296($a0) -/* 080994 800E74E4 A4800298 */ sh $zero, 0x298($a0) -/* 080998 800E74E8 A480029A */ sh $zero, 0x29a($a0) -/* 08099C 800E74EC A480029C */ sh $zero, 0x29c($a0) -/* 0809A0 800E74F0 A480029E */ sh $zero, 0x29e($a0) -/* 0809A4 800E74F4 A48002A0 */ sh $zero, 0x2a0($a0) -/* 0809A8 800E74F8 A48002A2 */ sh $zero, 0x2a2($a0) -/* 0809AC 800E74FC A48002A4 */ sh $zero, 0x2a4($a0) -/* 0809B0 800E7500 A48002A6 */ sh $zero, 0x2a6($a0) -/* 0809B4 800E7504 A48002A8 */ sh $zero, 0x2a8($a0) -/* 0809B8 800E7508 A48002AA */ sh $zero, 0x2aa($a0) -/* 0809BC 800E750C AC8002AC */ sw $zero, 0x2ac($a0) -/* 0809C0 800E7510 AC8002B0 */ sw $zero, 0x2b0($a0) -/* 0809C4 800E7514 A48002B8 */ sh $zero, 0x2b8($a0) -/* 0809C8 800E7518 AC8002B4 */ sw $zero, 0x2b4($a0) -/* 0809CC 800E751C AC8002BC */ sw $zero, 0x2bc($a0) -/* 0809D0 800E7520 A48002C0 */ sh $zero, 0x2c0($a0) -/* 0809D4 800E7524 A48002C2 */ sh $zero, 0x2c2($a0) -.L800E7528: -/* 0809D8 800E7528 ACA002C4 */ sw $zero, 0x2c4($a1) -/* 0809DC 800E752C ACA002F4 */ sw $zero, 0x2f4($a1) -/* 0809E0 800E7530 24630001 */ addiu $v1, $v1, 1 -/* 0809E4 800E7534 2862000C */ slti $v0, $v1, 0xc -/* 0809E8 800E7538 1440FFFB */ bnez $v0, .L800E7528 -/* 0809EC 800E753C 24A50004 */ addiu $a1, $a1, 4 -/* 0809F0 800E7540 AC800328 */ sw $zero, 0x328($a0) -/* 0809F4 800E7544 A480032C */ sh $zero, 0x32c($a0) -/* 0809F8 800E7548 A480032E */ sh $zero, 0x32e($a0) -/* 0809FC 800E754C AC800330 */ sw $zero, 0x330($a0) -/* 080A00 800E7550 A4800334 */ sh $zero, 0x334($a0) -/* 080A04 800E7554 A4800336 */ sh $zero, 0x336($a0) -/* 080A08 800E7558 AC800338 */ sw $zero, 0x338($a0) -/* 080A0C 800E755C 03E00008 */ jr $ra -/* 080A10 800E7560 A480033C */ sh $zero, 0x33c($a0) - -get_player_data: -/* 080A14 800E7564 3C028011 */ lui $v0, 0x8011 -/* 080A18 800E7568 2442F290 */ addiu $v0, $v0, -0xd70 -/* 080A1C 800E756C 03E00008 */ jr $ra -/* 080A20 800E7570 00000000 */ nop - -add_item: -/* 080A24 800E7574 27BDFFE0 */ addiu $sp, $sp, -0x20 -/* 080A28 800E7578 AFB10014 */ sw $s1, 0x14($sp) -/* 080A2C 800E757C 0080882D */ daddu $s1, $a0, $zero -/* 080A30 800E7580 AFBF0018 */ sw $ra, 0x18($sp) -/* 080A34 800E7584 0C039DB3 */ jal sort_items -/* 080A38 800E7588 AFB00010 */ sw $s0, 0x10($sp) -/* 080A3C 800E758C 0000182D */ daddu $v1, $zero, $zero -/* 080A40 800E7590 3C108011 */ lui $s0, 0x8011 -/* 080A44 800E7594 2610F290 */ addiu $s0, $s0, -0xd70 -/* 080A48 800E7598 0200202D */ daddu $a0, $s0, $zero -.L800E759C: -/* 080A4C 800E759C 848201B4 */ lh $v0, 0x1b4($a0) -/* 080A50 800E75A0 10400006 */ beqz $v0, .L800E75BC -/* 080A54 800E75A4 2402000A */ addiu $v0, $zero, 0xa -/* 080A58 800E75A8 24630001 */ addiu $v1, $v1, 1 -/* 080A5C 800E75AC 2862000A */ slti $v0, $v1, 0xa -/* 080A60 800E75B0 1440FFFA */ bnez $v0, .L800E759C -/* 080A64 800E75B4 24840002 */ addiu $a0, $a0, 2 -/* 080A68 800E75B8 2402000A */ addiu $v0, $zero, 0xa -.L800E75BC: -/* 080A6C 800E75BC 10620005 */ beq $v1, $v0, .L800E75D4 -/* 080A70 800E75C0 00031040 */ sll $v0, $v1, 1 -/* 080A74 800E75C4 02021021 */ addu $v0, $s0, $v0 -/* 080A78 800E75C8 A45101B4 */ sh $s1, 0x1b4($v0) -/* 080A7C 800E75CC 08039D76 */ j .L800E75D8 -/* 080A80 800E75D0 0060102D */ daddu $v0, $v1, $zero - -.L800E75D4: -/* 080A84 800E75D4 2402FFFF */ addiu $v0, $zero, -1 -.L800E75D8: -/* 080A88 800E75D8 8FBF0018 */ lw $ra, 0x18($sp) -/* 080A8C 800E75DC 8FB10014 */ lw $s1, 0x14($sp) -/* 080A90 800E75E0 8FB00010 */ lw $s0, 0x10($sp) -/* 080A94 800E75E4 03E00008 */ jr $ra -/* 080A98 800E75E8 27BD0020 */ addiu $sp, $sp, 0x20 - -get_item_count: -/* 080A9C 800E75EC 0000202D */ daddu $a0, $zero, $zero -/* 080AA0 800E75F0 0080282D */ daddu $a1, $a0, $zero -/* 080AA4 800E75F4 3C038011 */ lui $v1, 0x8011 -/* 080AA8 800E75F8 2463F290 */ addiu $v1, $v1, -0xd70 -.L800E75FC: -/* 080AAC 800E75FC 846201B4 */ lh $v0, 0x1b4($v1) -/* 080AB0 800E7600 54400001 */ bnel $v0, $zero, .L800E7608 -/* 080AB4 800E7604 24A50001 */ addiu $a1, $a1, 1 -.L800E7608: -/* 080AB8 800E7608 24840001 */ addiu $a0, $a0, 1 -/* 080ABC 800E760C 2882000A */ slti $v0, $a0, 0xa -/* 080AC0 800E7610 1440FFFA */ bnez $v0, .L800E75FC -/* 080AC4 800E7614 24630002 */ addiu $v1, $v1, 2 -/* 080AC8 800E7618 03E00008 */ jr $ra -/* 080ACC 800E761C 00A0102D */ daddu $v0, $a1, $zero - -get_item_empty_count: -/* 080AD0 800E7620 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 080AD4 800E7624 AFBF0010 */ sw $ra, 0x10($sp) -/* 080AD8 800E7628 0C039D7B */ jal get_item_count -/* 080ADC 800E762C 00000000 */ nop -/* 080AE0 800E7630 2403000A */ addiu $v1, $zero, 0xa -/* 080AE4 800E7634 8FBF0010 */ lw $ra, 0x10($sp) -/* 080AE8 800E7638 00621023 */ subu $v0, $v1, $v0 -/* 080AEC 800E763C 03E00008 */ jr $ra -/* 080AF0 800E7640 27BD0018 */ addiu $sp, $sp, 0x18 - -find_item: -/* 080AF4 800E7644 00041140 */ sll $v0, $a0, 5 -/* 080AF8 800E7648 3C018008 */ lui $at, 0x8008 -/* 080AFC 800E764C 00220821 */ addu $at, $at, $v0 -/* 080B00 800E7650 942278F8 */ lhu $v0, 0x78f8($at) -/* 080B04 800E7654 3C038011 */ lui $v1, 0x8011 -/* 080B08 800E7658 2463F290 */ addiu $v1, $v1, -0xd70 -/* 080B0C 800E765C 30420008 */ andi $v0, $v0, 8 -/* 080B10 800E7660 1040000D */ beqz $v0, .L800E7698 -/* 080B14 800E7664 0000282D */ daddu $a1, $zero, $zero -.L800E7668: -/* 080B18 800E7668 84620074 */ lh $v0, 0x74($v1) -/* 080B1C 800E766C 50440006 */ beql $v0, $a0, .L800E7688 -/* 080B20 800E7670 28A30020 */ slti $v1, $a1, 0x20 -/* 080B24 800E7674 24A50001 */ addiu $a1, $a1, 1 -/* 080B28 800E7678 28A20020 */ slti $v0, $a1, 0x20 -/* 080B2C 800E767C 1440FFFA */ bnez $v0, .L800E7668 -/* 080B30 800E7680 24630002 */ addiu $v1, $v1, 2 -/* 080B34 800E7684 28A30020 */ slti $v1, $a1, 0x20 -.L800E7688: -/* 080B38 800E7688 1060000E */ beqz $v1, .L800E76C4 -/* 080B3C 800E768C 2402FFFF */ addiu $v0, $zero, -1 -/* 080B40 800E7690 03E00008 */ jr $ra -/* 080B44 800E7694 00A0102D */ daddu $v0, $a1, $zero - -.L800E7698: -/* 080B48 800E7698 846201B4 */ lh $v0, 0x1b4($v1) -/* 080B4C 800E769C 50440006 */ beql $v0, $a0, .L800E76B8 -/* 080B50 800E76A0 2403000A */ addiu $v1, $zero, 0xa -/* 080B54 800E76A4 24A50001 */ addiu $a1, $a1, 1 -/* 080B58 800E76A8 28A2000A */ slti $v0, $a1, 0xa -/* 080B5C 800E76AC 1440FFFA */ bnez $v0, .L800E7698 -/* 080B60 800E76B0 24630002 */ addiu $v1, $v1, 2 -/* 080B64 800E76B4 2403000A */ addiu $v1, $zero, 0xa -.L800E76B8: -/* 080B68 800E76B8 10A30002 */ beq $a1, $v1, .L800E76C4 -/* 080B6C 800E76BC 2402FFFF */ addiu $v0, $zero, -1 -/* 080B70 800E76C0 00A0102D */ daddu $v0, $a1, $zero -.L800E76C4: -/* 080B74 800E76C4 03E00008 */ jr $ra -/* 080B78 800E76C8 00000000 */ nop - -sort_items: -/* 080B7C 800E76CC 24060008 */ addiu $a2, $zero, 8 -/* 080B80 800E76D0 3C088011 */ lui $t0, 0x8011 -/* 080B84 800E76D4 2508F290 */ addiu $t0, $t0, -0xd70 -/* 080B88 800E76D8 25070010 */ addiu $a3, $t0, 0x10 -.L800E76DC: -/* 080B8C 800E76DC 84E201B4 */ lh $v0, 0x1b4($a3) -/* 080B90 800E76E0 50400012 */ beql $v0, $zero, .L800E772C -/* 080B94 800E76E4 24C6FFFF */ addiu $a2, $a2, -1 -/* 080B98 800E76E8 24040009 */ addiu $a0, $zero, 9 -/* 080B9C 800E76EC 00C4102A */ slt $v0, $a2, $a0 -/* 080BA0 800E76F0 5040000E */ beql $v0, $zero, .L800E772C -/* 080BA4 800E76F4 24C6FFFF */ addiu $a2, $a2, -1 -/* 080BA8 800E76F8 00E0282D */ daddu $a1, $a3, $zero -/* 080BAC 800E76FC 25030012 */ addiu $v1, $t0, 0x12 -.L800E7700: -/* 080BB0 800E7700 846201B4 */ lh $v0, 0x1b4($v1) -/* 080BB4 800E7704 54400005 */ bnel $v0, $zero, .L800E771C -/* 080BB8 800E7708 2484FFFF */ addiu $a0, $a0, -1 -/* 080BBC 800E770C 94A201B4 */ lhu $v0, 0x1b4($a1) -/* 080BC0 800E7710 A46201B4 */ sh $v0, 0x1b4($v1) -/* 080BC4 800E7714 08039DCA */ j .L800E7728 -/* 080BC8 800E7718 A4A001B4 */ sh $zero, 0x1b4($a1) - -.L800E771C: -/* 080BCC 800E771C 00C4102A */ slt $v0, $a2, $a0 -/* 080BD0 800E7720 1440FFF7 */ bnez $v0, .L800E7700 -/* 080BD4 800E7724 2463FFFE */ addiu $v1, $v1, -2 -.L800E7728: -/* 080BD8 800E7728 24C6FFFF */ addiu $a2, $a2, -1 -.L800E772C: -/* 080BDC 800E772C 04C1FFEB */ bgez $a2, .L800E76DC -/* 080BE0 800E7730 24E7FFFE */ addiu $a3, $a3, -2 -/* 080BE4 800E7734 03E00008 */ jr $ra -/* 080BE8 800E7738 00000000 */ nop - -add_badge: -/* 080BEC 800E773C 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 080BF0 800E7740 00041140 */ sll $v0, $a0, 5 -/* 080BF4 800E7744 AFBF0010 */ sw $ra, 0x10($sp) -/* 080BF8 800E7748 3C018008 */ lui $at, 0x8008 -/* 080BFC 800E774C 00220821 */ addu $at, $at, $v0 -/* 080C00 800E7750 942278F8 */ lhu $v0, 0x78f8($at) -/* 080C04 800E7754 3C068011 */ lui $a2, 0x8011 -/* 080C08 800E7758 24C6F290 */ addiu $a2, $a2, -0xd70 -/* 080C0C 800E775C 30420040 */ andi $v0, $v0, 0x40 -/* 080C10 800E7760 14400005 */ bnez $v0, .L800E7778 -/* 080C14 800E7764 0000182D */ daddu $v1, $zero, $zero -/* 080C18 800E7768 0C039D5D */ jal add_item -/* 080C1C 800E776C 00000000 */ nop -/* 080C20 800E7770 08039DEE */ j .L800E77B8 -/* 080C24 800E7774 00000000 */ nop - -.L800E7778: -/* 080C28 800E7778 00C0282D */ daddu $a1, $a2, $zero -.L800E777C: -/* 080C2C 800E777C 84A200B4 */ lh $v0, 0xb4($a1) -/* 080C30 800E7780 10400006 */ beqz $v0, .L800E779C -/* 080C34 800E7784 28620080 */ slti $v0, $v1, 0x80 -/* 080C38 800E7788 24630001 */ addiu $v1, $v1, 1 -/* 080C3C 800E778C 28620080 */ slti $v0, $v1, 0x80 -/* 080C40 800E7790 1440FFFA */ bnez $v0, .L800E777C -/* 080C44 800E7794 24A50002 */ addiu $a1, $a1, 2 -/* 080C48 800E7798 28620080 */ slti $v0, $v1, 0x80 -.L800E779C: -/* 080C4C 800E779C 10400005 */ beqz $v0, .L800E77B4 -/* 080C50 800E77A0 00031040 */ sll $v0, $v1, 1 -/* 080C54 800E77A4 00C21021 */ addu $v0, $a2, $v0 -/* 080C58 800E77A8 A44400B4 */ sh $a0, 0xb4($v0) -/* 080C5C 800E77AC 08039DEE */ j .L800E77B8 -/* 080C60 800E77B0 0060102D */ daddu $v0, $v1, $zero - -.L800E77B4: -/* 080C64 800E77B4 0000102D */ daddu $v0, $zero, $zero -.L800E77B8: -/* 080C68 800E77B8 8FBF0010 */ lw $ra, 0x10($sp) -/* 080C6C 800E77BC 03E00008 */ jr $ra -/* 080C70 800E77C0 27BD0018 */ addiu $sp, $sp, 0x18 - -store_item: -/* 080C74 800E77C4 0000182D */ daddu $v1, $zero, $zero -/* 080C78 800E77C8 3C068011 */ lui $a2, 0x8011 -/* 080C7C 800E77CC 24C6F290 */ addiu $a2, $a2, -0xd70 -/* 080C80 800E77D0 00C0282D */ daddu $a1, $a2, $zero -.L800E77D4: -/* 080C84 800E77D4 84A201C8 */ lh $v0, 0x1c8($a1) -/* 080C88 800E77D8 10400006 */ beqz $v0, .L800E77F4 -/* 080C8C 800E77DC 24020020 */ addiu $v0, $zero, 0x20 -/* 080C90 800E77E0 24630001 */ addiu $v1, $v1, 1 -/* 080C94 800E77E4 28620020 */ slti $v0, $v1, 0x20 -/* 080C98 800E77E8 1440FFFA */ bnez $v0, .L800E77D4 -/* 080C9C 800E77EC 24A50002 */ addiu $a1, $a1, 2 -/* 080CA0 800E77F0 24020020 */ addiu $v0, $zero, 0x20 -.L800E77F4: -/* 080CA4 800E77F4 10620005 */ beq $v1, $v0, .L800E780C -/* 080CA8 800E77F8 00031040 */ sll $v0, $v1, 1 -/* 080CAC 800E77FC 00C21021 */ addu $v0, $a2, $v0 -/* 080CB0 800E7800 A44401C8 */ sh $a0, 0x1c8($v0) -/* 080CB4 800E7804 03E00008 */ jr $ra -/* 080CB8 800E7808 0060102D */ daddu $v0, $v1, $zero - -.L800E780C: -/* 080CBC 800E780C 03E00008 */ jr $ra -/* 080CC0 800E7810 2402FFFF */ addiu $v0, $zero, -1 - -get_stored_count: -/* 080CC4 800E7814 0000202D */ daddu $a0, $zero, $zero -/* 080CC8 800E7818 0080282D */ daddu $a1, $a0, $zero -/* 080CCC 800E781C 3C038011 */ lui $v1, 0x8011 -/* 080CD0 800E7820 2463F290 */ addiu $v1, $v1, -0xd70 -.L800E7824: -/* 080CD4 800E7824 846201C8 */ lh $v0, 0x1c8($v1) -/* 080CD8 800E7828 54400001 */ bnel $v0, $zero, .L800E7830 -/* 080CDC 800E782C 24A50001 */ addiu $a1, $a1, 1 -.L800E7830: -/* 080CE0 800E7830 24840001 */ addiu $a0, $a0, 1 -/* 080CE4 800E7834 28820020 */ slti $v0, $a0, 0x20 -/* 080CE8 800E7838 1440FFFA */ bnez $v0, .L800E7824 -/* 080CEC 800E783C 24630002 */ addiu $v1, $v1, 2 -/* 080CF0 800E7840 03E00008 */ jr $ra -/* 080CF4 800E7844 00A0102D */ daddu $v0, $a1, $zero - -get_stored_empty_count: -/* 080CF8 800E7848 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 080CFC 800E784C AFBF0010 */ sw $ra, 0x10($sp) -/* 080D00 800E7850 0C039E05 */ jal get_stored_count -/* 080D04 800E7854 00000000 */ nop -/* 080D08 800E7858 24030020 */ addiu $v1, $zero, 0x20 -/* 080D0C 800E785C 8FBF0010 */ lw $ra, 0x10($sp) -/* 080D10 800E7860 00621023 */ subu $v0, $v1, $v0 -/* 080D14 800E7864 03E00008 */ jr $ra -/* 080D18 800E7868 27BD0018 */ addiu $sp, $sp, 0x18 - -enforce_hpfp_limits: -/* 080D1C 800E786C 27BDFFE0 */ addiu $sp, $sp, -0x20 -/* 080D20 800E7870 24040004 */ addiu $a0, $zero, 4 -/* 080D24 800E7874 AFBF0018 */ sw $ra, 0x18($sp) -/* 080D28 800E7878 AFB10014 */ sw $s1, 0x14($sp) -/* 080D2C 800E787C 0C03A752 */ jal is_ability_active -/* 080D30 800E7880 AFB00010 */ sw $s0, 0x10($sp) -/* 080D34 800E7884 3C108011 */ lui $s0, 0x8011 -/* 080D38 800E7888 2610F290 */ addiu $s0, $s0, -0xd70 -/* 080D3C 800E788C 00022080 */ sll $a0, $v0, 2 -/* 080D40 800E7890 00822021 */ addu $a0, $a0, $v0 -/* 080D44 800E7894 92030004 */ lbu $v1, 4($s0) -/* 080D48 800E7898 00641821 */ addu $v1, $v1, $a0 -/* 080D4C 800E789C A2030003 */ sb $v1, 3($s0) -/* 080D50 800E78A0 00031E00 */ sll $v1, $v1, 0x18 -/* 080D54 800E78A4 00031E03 */ sra $v1, $v1, 0x18 -/* 080D58 800E78A8 2863004C */ slti $v1, $v1, 0x4c -/* 080D5C 800E78AC 14600003 */ bnez $v1, .L800E78BC -/* 080D60 800E78B0 0200882D */ daddu $s1, $s0, $zero -/* 080D64 800E78B4 2402004B */ addiu $v0, $zero, 0x4b -/* 080D68 800E78B8 A2020003 */ sb $v0, 3($s0) -.L800E78BC: -/* 080D6C 800E78BC 82030002 */ lb $v1, 2($s0) -/* 080D70 800E78C0 82020003 */ lb $v0, 3($s0) -/* 080D74 800E78C4 0043102A */ slt $v0, $v0, $v1 -/* 080D78 800E78C8 92030003 */ lbu $v1, 3($s0) -/* 080D7C 800E78CC 54400001 */ bnel $v0, $zero, .L800E78D4 -/* 080D80 800E78D0 A2030002 */ sb $v1, 2($s0) -.L800E78D4: -/* 080D84 800E78D4 0C03A752 */ jal is_ability_active -/* 080D88 800E78D8 2404000C */ addiu $a0, $zero, 0xc -/* 080D8C 800E78DC 00022080 */ sll $a0, $v0, 2 -/* 080D90 800E78E0 92030007 */ lbu $v1, 7($s0) -/* 080D94 800E78E4 00822021 */ addu $a0, $a0, $v0 -/* 080D98 800E78E8 00641821 */ addu $v1, $v1, $a0 -/* 080D9C 800E78EC A2030006 */ sb $v1, 6($s0) -/* 080DA0 800E78F0 00031E00 */ sll $v1, $v1, 0x18 -/* 080DA4 800E78F4 00031E03 */ sra $v1, $v1, 0x18 -/* 080DA8 800E78F8 2863004C */ slti $v1, $v1, 0x4c -/* 080DAC 800E78FC 14600002 */ bnez $v1, .L800E7908 -/* 080DB0 800E7900 2402004B */ addiu $v0, $zero, 0x4b -/* 080DB4 800E7904 A2020006 */ sb $v0, 6($s0) -.L800E7908: -/* 080DB8 800E7908 82230005 */ lb $v1, 5($s1) -/* 080DBC 800E790C 82220006 */ lb $v0, 6($s1) -/* 080DC0 800E7910 0043102A */ slt $v0, $v0, $v1 -/* 080DC4 800E7914 92230006 */ lbu $v1, 6($s1) -/* 080DC8 800E7918 54400001 */ bnel $v0, $zero, .L800E7920 -/* 080DCC 800E791C A2230005 */ sb $v1, 5($s1) -.L800E7920: -/* 080DD0 800E7920 8FBF0018 */ lw $ra, 0x18($sp) -/* 080DD4 800E7924 8FB10014 */ lw $s1, 0x14($sp) -/* 080DD8 800E7928 8FB00010 */ lw $s0, 0x10($sp) -/* 080DDC 800E792C 03E00008 */ jr $ra -/* 080DE0 800E7930 27BD0020 */ addiu $sp, $sp, 0x20 - -initialize_status_menu: -/* 080DE4 800E7934 27BDFFE0 */ addiu $sp, $sp, -0x20 -/* 080DE8 800E7938 AFB10014 */ sw $s1, 0x14($sp) -/* 080DEC 800E793C 3C118011 */ lui $s1, 0x8011 -/* 080DF0 800E7940 2631EF58 */ addiu $s1, $s1, -0x10a8 -/* 080DF4 800E7944 2402000C */ addiu $v0, $zero, 0xc -/* 080DF8 800E7948 AFBF001C */ sw $ra, 0x1c($sp) -/* 080DFC 800E794C AFB20018 */ sw $s2, 0x18($sp) -/* 080E00 800E7950 AFB00010 */ sw $s0, 0x10($sp) -/* 080E04 800E7954 A6220034 */ sh $v0, 0x34($s1) -/* 080E08 800E7958 2402FF9C */ addiu $v0, $zero, -0x64 -/* 080E0C 800E795C 3C038011 */ lui $v1, 0x8011 -/* 080E10 800E7960 2463F290 */ addiu $v1, $v1, -0xd70 -/* 080E14 800E7964 3C018011 */ lui $at, 0x8011 -/* 080E18 800E7968 A420CD10 */ sh $zero, -0x32f0($at) -/* 080E1C 800E796C 3C018011 */ lui $at, 0x8011 -/* 080E20 800E7970 A420CD12 */ sh $zero, -0x32ee($at) -/* 080E24 800E7974 A6220036 */ sh $v0, 0x36($s1) -/* 080E28 800E7978 A220003A */ sb $zero, 0x3a($s1) -/* 080E2C 800E797C 90640010 */ lbu $a0, 0x10($v1) -/* 080E30 800E7980 240200D2 */ addiu $v0, $zero, 0xd2 -/* 080E34 800E7984 A6220038 */ sh $v0, 0x38($s1) -/* 080E38 800E7988 A220003B */ sb $zero, 0x3b($s1) -/* 080E3C 800E798C A2200044 */ sb $zero, 0x44($s1) -/* 080E40 800E7990 A2200045 */ sb $zero, 0x45($s1) -/* 080E44 800E7994 A2200046 */ sb $zero, 0x46($s1) -/* 080E48 800E7998 A220004A */ sb $zero, 0x4a($s1) -/* 080E4C 800E799C A220004B */ sb $zero, 0x4b($s1) -/* 080E50 800E79A0 A220004C */ sb $zero, 0x4c($s1) -/* 080E54 800E79A4 A220004D */ sb $zero, 0x4d($s1) -/* 080E58 800E79A8 A220004E */ sb $zero, 0x4e($s1) -/* 080E5C 800E79AC A220004F */ sb $zero, 0x4f($s1) -/* 080E60 800E79B0 A2200050 */ sb $zero, 0x50($s1) -/* 080E64 800E79B4 A2200051 */ sb $zero, 0x51($s1) -/* 080E68 800E79B8 A2200054 */ sb $zero, 0x54($s1) -/* 080E6C 800E79BC A2200055 */ sb $zero, 0x55($s1) -/* 080E70 800E79C0 A2200056 */ sb $zero, 0x56($s1) -/* 080E74 800E79C4 A2200047 */ sb $zero, 0x47($s1) -/* 080E78 800E79C8 A2200052 */ sb $zero, 0x52($s1) -/* 080E7C 800E79CC 90620002 */ lbu $v0, 2($v1) -/* 080E80 800E79D0 90650005 */ lbu $a1, 5($v1) -/* 080E84 800E79D4 9466000C */ lhu $a2, 0xc($v1) -/* 080E88 800E79D8 94630290 */ lhu $v1, 0x290($v1) -/* 080E8C 800E79DC 00042600 */ sll $a0, $a0, 0x18 -/* 080E90 800E79E0 00042603 */ sra $a0, $a0, 0x18 -/* 080E94 800E79E4 A222003D */ sb $v0, 0x3d($s1) -/* 080E98 800E79E8 2402FFFF */ addiu $v0, $zero, -1 -/* 080E9C 800E79EC A225003E */ sb $a1, 0x3e($s1) -/* 080EA0 800E79F0 A6260040 */ sh $a2, 0x40($s1) -/* 080EA4 800E79F4 A6240042 */ sh $a0, 0x42($s1) -/* 080EA8 800E79F8 A6230048 */ sh $v1, 0x48($s1) -/* 080EAC 800E79FC A2200053 */ sb $zero, 0x53($s1) -/* 080EB0 800E7A00 A222006E */ sb $v0, 0x6e($s1) -/* 080EB4 800E7A04 2402FFFF */ addiu $v0, $zero, -1 -/* 080EB8 800E7A08 A220003C */ sb $zero, 0x3c($s1) -/* 080EBC 800E7A0C A2200057 */ sb $zero, 0x57($s1) -/* 080EC0 800E7A10 A2200058 */ sb $zero, 0x58($s1) -/* 080EC4 800E7A14 A2200059 */ sb $zero, 0x59($s1) -/* 080EC8 800E7A18 A220005A */ sb $zero, 0x5a($s1) -/* 080ECC 800E7A1C A220006C */ sb $zero, 0x6c($s1) -/* 080ED0 800E7A20 A220006D */ sb $zero, 0x6d($s1) -/* 080ED4 800E7A24 0C03A5EE */ jal func_800E97B8 -/* 080ED8 800E7A28 AE220064 */ sw $v0, 0x64($s1) -/* 080EDC 800E7A2C 3C048011 */ lui $a0, 0x8011 -/* 080EE0 800E7A30 24848248 */ addiu $a0, $a0, -0x7db8 -/* 080EE4 800E7A34 0C050529 */ jal create_icon -/* 080EE8 800E7A38 00000000 */ nop -/* 080EEC 800E7A3C 0040802D */ daddu $s0, $v0, $zero -/* 080EF0 800E7A40 0200202D */ daddu $a0, $s0, $zero -/* 080EF4 800E7A44 24050080 */ addiu $a1, $zero, 0x80 -/* 080EF8 800E7A48 0C051280 */ jal set_icon_flags -/* 080EFC 800E7A4C AE300000 */ sw $s0, ($s1) -/* 080F00 800E7A50 0200202D */ daddu $a0, $s0, $zero -/* 080F04 800E7A54 0C05128B */ jal clear_icon_flags -/* 080F08 800E7A58 34058000 */ ori $a1, $zero, 0x8000 -/* 080F0C 800E7A5C 3C048011 */ lui $a0, 0x8011 -/* 080F10 800E7A60 24848518 */ addiu $a0, $a0, -0x7ae8 -/* 080F14 800E7A64 0C050529 */ jal create_icon -/* 080F18 800E7A68 00000000 */ nop -/* 080F1C 800E7A6C 0040802D */ daddu $s0, $v0, $zero -/* 080F20 800E7A70 0200202D */ daddu $a0, $s0, $zero -/* 080F24 800E7A74 24050080 */ addiu $a1, $zero, 0x80 -/* 080F28 800E7A78 0C051280 */ jal set_icon_flags -/* 080F2C 800E7A7C AE300004 */ sw $s0, 4($s1) -/* 080F30 800E7A80 0200202D */ daddu $a0, $s0, $zero -/* 080F34 800E7A84 0C05128B */ jal clear_icon_flags -/* 080F38 800E7A88 34058000 */ ori $a1, $zero, 0x8000 -/* 080F3C 800E7A8C 3C048011 */ lui $a0, 0x8011 -/* 080F40 800E7A90 24848270 */ addiu $a0, $a0, -0x7d90 -/* 080F44 800E7A94 0C050529 */ jal create_icon -/* 080F48 800E7A98 00000000 */ nop -/* 080F4C 800E7A9C 0040802D */ daddu $s0, $v0, $zero -/* 080F50 800E7AA0 0200202D */ daddu $a0, $s0, $zero -/* 080F54 800E7AA4 24050080 */ addiu $a1, $zero, 0x80 -/* 080F58 800E7AA8 0C051280 */ jal set_icon_flags -/* 080F5C 800E7AAC AE300008 */ sw $s0, 8($s1) -/* 080F60 800E7AB0 0200202D */ daddu $a0, $s0, $zero -/* 080F64 800E7AB4 0C05128B */ jal clear_icon_flags -/* 080F68 800E7AB8 34058000 */ ori $a1, $zero, 0x8000 -/* 080F6C 800E7ABC 3C048011 */ lui $a0, 0x8011 -/* 080F70 800E7AC0 24848538 */ addiu $a0, $a0, -0x7ac8 -/* 080F74 800E7AC4 0C050529 */ jal create_icon -/* 080F78 800E7AC8 00000000 */ nop -/* 080F7C 800E7ACC 0040802D */ daddu $s0, $v0, $zero -/* 080F80 800E7AD0 0200202D */ daddu $a0, $s0, $zero -/* 080F84 800E7AD4 24050080 */ addiu $a1, $zero, 0x80 -/* 080F88 800E7AD8 0C051280 */ jal set_icon_flags -/* 080F8C 800E7ADC AE30000C */ sw $s0, 0xc($s1) -/* 080F90 800E7AE0 0200202D */ daddu $a0, $s0, $zero -/* 080F94 800E7AE4 0C05128B */ jal clear_icon_flags -/* 080F98 800E7AE8 34058000 */ ori $a1, $zero, 0x8000 -/* 080F9C 800E7AEC 3C048011 */ lui $a0, 0x8011 -/* 080FA0 800E7AF0 24848558 */ addiu $a0, $a0, -0x7aa8 -/* 080FA4 800E7AF4 0C050529 */ jal create_icon -/* 080FA8 800E7AF8 00000000 */ nop -/* 080FAC 800E7AFC 0040802D */ daddu $s0, $v0, $zero -/* 080FB0 800E7B00 0200202D */ daddu $a0, $s0, $zero -/* 080FB4 800E7B04 24050080 */ addiu $a1, $zero, 0x80 -/* 080FB8 800E7B08 0C051280 */ jal set_icon_flags -/* 080FBC 800E7B0C AE300010 */ sw $s0, 0x10($s1) -/* 080FC0 800E7B10 0200202D */ daddu $a0, $s0, $zero -/* 080FC4 800E7B14 0C05128B */ jal clear_icon_flags -/* 080FC8 800E7B18 34058000 */ ori $a1, $zero, 0x8000 -/* 080FCC 800E7B1C 3C048008 */ lui $a0, 0x8008 -/* 080FD0 800E7B20 24840FC4 */ addiu $a0, $a0, 0xfc4 -/* 080FD4 800E7B24 0C050529 */ jal create_icon -/* 080FD8 800E7B28 00000000 */ nop -/* 080FDC 800E7B2C 0040802D */ daddu $s0, $v0, $zero -/* 080FE0 800E7B30 0200202D */ daddu $a0, $s0, $zero -/* 080FE4 800E7B34 24050080 */ addiu $a1, $zero, 0x80 -/* 080FE8 800E7B38 0C051280 */ jal set_icon_flags -/* 080FEC 800E7B3C AE300014 */ sw $s0, 0x14($s1) -/* 080FF0 800E7B40 0200202D */ daddu $a0, $s0, $zero -/* 080FF4 800E7B44 0C05128B */ jal clear_icon_flags -/* 080FF8 800E7B48 34058000 */ ori $a1, $zero, 0x8000 -/* 080FFC 800E7B4C 3C048011 */ lui $a0, 0x8011 -/* 081000 800E7B50 248486AC */ addiu $a0, $a0, -0x7954 -/* 081004 800E7B54 0C050529 */ jal create_icon -/* 081008 800E7B58 00000000 */ nop -/* 08100C 800E7B5C 0040802D */ daddu $s0, $v0, $zero -/* 081010 800E7B60 0200202D */ daddu $a0, $s0, $zero -/* 081014 800E7B64 24050080 */ addiu $a1, $zero, 0x80 -/* 081018 800E7B68 0C051280 */ jal set_icon_flags -/* 08101C 800E7B6C AE300018 */ sw $s0, 0x18($s1) -/* 081020 800E7B70 0200202D */ daddu $a0, $s0, $zero -/* 081024 800E7B74 0C05128B */ jal clear_icon_flags -/* 081028 800E7B78 34058000 */ ori $a1, $zero, 0x8000 -/* 08102C 800E7B7C 3C048010 */ lui $a0, 0x8010 -/* 081030 800E7B80 24844BEC */ addiu $a0, $a0, 0x4bec -/* 081034 800E7B84 0C050529 */ jal create_icon -/* 081038 800E7B88 00000000 */ nop -/* 08103C 800E7B8C 0040802D */ daddu $s0, $v0, $zero -/* 081040 800E7B90 0200202D */ daddu $a0, $s0, $zero -/* 081044 800E7B94 24050080 */ addiu $a1, $zero, 0x80 -/* 081048 800E7B98 0C051280 */ jal set_icon_flags -/* 08104C 800E7B9C AE30001C */ sw $s0, 0x1c($s1) -/* 081050 800E7BA0 0200202D */ daddu $a0, $s0, $zero -/* 081054 800E7BA4 0C05128B */ jal clear_icon_flags -/* 081058 800E7BA8 34058000 */ ori $a1, $zero, 0x8000 -/* 08105C 800E7BAC 3C128011 */ lui $s2, 0x8011 -/* 081060 800E7BB0 26528068 */ addiu $s2, $s2, -0x7f98 -/* 081064 800E7BB4 0C050529 */ jal create_icon -/* 081068 800E7BB8 0240202D */ daddu $a0, $s2, $zero -/* 08106C 800E7BBC 0040802D */ daddu $s0, $v0, $zero -/* 081070 800E7BC0 0200202D */ daddu $a0, $s0, $zero -/* 081074 800E7BC4 24050082 */ addiu $a1, $zero, 0x82 -/* 081078 800E7BC8 0C051280 */ jal set_icon_flags -/* 08107C 800E7BCC AE300020 */ sw $s0, 0x20($s1) -/* 081080 800E7BD0 0200202D */ daddu $a0, $s0, $zero -/* 081084 800E7BD4 0C05128B */ jal clear_icon_flags -/* 081088 800E7BD8 34058000 */ ori $a1, $zero, 0x8000 -/* 08108C 800E7BDC 0C050529 */ jal create_icon -/* 081090 800E7BE0 0240202D */ daddu $a0, $s2, $zero -/* 081094 800E7BE4 0040802D */ daddu $s0, $v0, $zero -/* 081098 800E7BE8 0200202D */ daddu $a0, $s0, $zero -/* 08109C 800E7BEC 24050082 */ addiu $a1, $zero, 0x82 -/* 0810A0 800E7BF0 0C051280 */ jal set_icon_flags -/* 0810A4 800E7BF4 AE300024 */ sw $s0, 0x24($s1) -/* 0810A8 800E7BF8 0200202D */ daddu $a0, $s0, $zero -/* 0810AC 800E7BFC 0C05128B */ jal clear_icon_flags -/* 0810B0 800E7C00 34058000 */ ori $a1, $zero, 0x8000 -/* 0810B4 800E7C04 0C050529 */ jal create_icon -/* 0810B8 800E7C08 0240202D */ daddu $a0, $s2, $zero -/* 0810BC 800E7C0C 0040802D */ daddu $s0, $v0, $zero -/* 0810C0 800E7C10 0200202D */ daddu $a0, $s0, $zero -/* 0810C4 800E7C14 24050082 */ addiu $a1, $zero, 0x82 -/* 0810C8 800E7C18 0C051280 */ jal set_icon_flags -/* 0810CC 800E7C1C AE300028 */ sw $s0, 0x28($s1) -/* 0810D0 800E7C20 0200202D */ daddu $a0, $s0, $zero -/* 0810D4 800E7C24 0C05128B */ jal clear_icon_flags -/* 0810D8 800E7C28 34058000 */ ori $a1, $zero, 0x8000 -/* 0810DC 800E7C2C 0C050529 */ jal create_icon -/* 0810E0 800E7C30 0240202D */ daddu $a0, $s2, $zero -/* 0810E4 800E7C34 0040802D */ daddu $s0, $v0, $zero -/* 0810E8 800E7C38 0200202D */ daddu $a0, $s0, $zero -/* 0810EC 800E7C3C 24050082 */ addiu $a1, $zero, 0x82 -/* 0810F0 800E7C40 0C051280 */ jal set_icon_flags -/* 0810F4 800E7C44 AE30002C */ sw $s0, 0x2c($s1) -/* 0810F8 800E7C48 0200202D */ daddu $a0, $s0, $zero -/* 0810FC 800E7C4C 0C05128B */ jal clear_icon_flags -/* 081100 800E7C50 34058000 */ ori $a1, $zero, 0x8000 -/* 081104 800E7C54 3C048011 */ lui $a0, 0x8011 -/* 081108 800E7C58 248483D8 */ addiu $a0, $a0, -0x7c28 -/* 08110C 800E7C5C 0C050529 */ jal create_icon -/* 081110 800E7C60 00000000 */ nop -/* 081114 800E7C64 0040802D */ daddu $s0, $v0, $zero -/* 081118 800E7C68 0200202D */ daddu $a0, $s0, $zero -/* 08111C 800E7C6C 24050080 */ addiu $a1, $zero, 0x80 -/* 081120 800E7C70 0C051280 */ jal set_icon_flags -/* 081124 800E7C74 AE300030 */ sw $s0, 0x30($s1) -/* 081128 800E7C78 0200202D */ daddu $a0, $s0, $zero -/* 08112C 800E7C7C 0C05128B */ jal clear_icon_flags -/* 081130 800E7C80 34058000 */ ori $a1, $zero, 0x8000 -/* 081134 800E7C84 0C03C357 */ jal func_800F0D5C -/* 081138 800E7C88 00000000 */ nop -/* 08113C 800E7C8C 8FBF001C */ lw $ra, 0x1c($sp) -/* 081140 800E7C90 8FB20018 */ lw $s2, 0x18($sp) -/* 081144 800E7C94 8FB10014 */ lw $s1, 0x14($sp) -/* 081148 800E7C98 8FB00010 */ lw $s0, 0x10($sp) -/* 08114C 800E7C9C 03E00008 */ jr $ra -/* 081150 800E7CA0 27BD0020 */ addiu $sp, $sp, 0x20 - -status_menu_draw_number: -/* 081154 800E7CA4 27BDFFC0 */ addiu $sp, $sp, -0x40 -/* 081158 800E7CA8 AFB1001C */ sw $s1, 0x1c($sp) -/* 08115C 800E7CAC 00A0882D */ daddu $s1, $a1, $zero -/* 081160 800E7CB0 3C05800F */ lui $a1, 0x800f -/* 081164 800E7CB4 8CA57FA8 */ lw $a1, 0x7fa8($a1) -/* 081168 800E7CB8 AFB40028 */ sw $s4, 0x28($sp) -/* 08116C 800E7CBC 0080A02D */ daddu $s4, $a0, $zero -/* 081170 800E7CC0 AFB00018 */ sw $s0, 0x18($sp) -/* 081174 800E7CC4 00C0802D */ daddu $s0, $a2, $zero -/* 081178 800E7CC8 AFB30024 */ sw $s3, 0x24($sp) -/* 08117C 800E7CCC 00E0982D */ daddu $s3, $a3, $zero -/* 081180 800E7CD0 AFB5002C */ sw $s5, 0x2c($sp) -/* 081184 800E7CD4 8FB50050 */ lw $s5, 0x50($sp) -/* 081188 800E7CD8 AFB20020 */ sw $s2, 0x20($sp) -/* 08118C 800E7CDC 0000902D */ daddu $s2, $zero, $zero -/* 081190 800E7CE0 AFBF003C */ sw $ra, 0x3c($sp) -/* 081194 800E7CE4 AFBE0038 */ sw $fp, 0x38($sp) -/* 081198 800E7CE8 AFB70034 */ sw $s7, 0x34($sp) -/* 08119C 800E7CEC 0C0511FF */ jal set_menu_icon_script -/* 0811A0 800E7CF0 AFB60030 */ sw $s6, 0x30($sp) -/* 0811A4 800E7CF4 26310008 */ addiu $s1, $s1, 8 -/* 0811A8 800E7CF8 0280202D */ daddu $a0, $s4, $zero -/* 0811AC 800E7CFC 0220282D */ daddu $a1, $s1, $zero -/* 0811B0 800E7D00 26060007 */ addiu $a2, $s0, 7 -/* 0811B4 800E7D04 0C051261 */ jal set_icon_render_pos -/* 0811B8 800E7D08 261E0008 */ addiu $fp, $s0, 8 -/* 0811BC 800E7D0C 0280202D */ daddu $a0, $s4, $zero -/* 0811C0 800E7D10 0C05128B */ jal clear_icon_flags -/* 0811C4 800E7D14 24050002 */ addiu $a1, $zero, 2 -/* 0811C8 800E7D18 0C0511F1 */ jal draw_icon_1 -/* 0811CC 800E7D1C 0280202D */ daddu $a0, $s4, $zero -/* 0811D0 800E7D20 5AA00016 */ blezl $s5, .L800E7D7C -/* 0811D4 800E7D24 2631000D */ addiu $s1, $s1, 0xd -/* 0811D8 800E7D28 3C066666 */ lui $a2, 0x6666 -/* 0811DC 800E7D2C 34C66667 */ ori $a2, $a2, 0x6667 -/* 0811E0 800E7D30 27A50010 */ addiu $a1, $sp, 0x10 -.L800E7D34: -/* 0811E4 800E7D34 02660018 */ mult $s3, $a2 -/* 0811E8 800E7D38 02B22023 */ subu $a0, $s5, $s2 -/* 0811EC 800E7D3C 26520001 */ addiu $s2, $s2, 1 -/* 0811F0 800E7D40 001317C3 */ sra $v0, $s3, 0x1f -/* 0811F4 800E7D44 00852021 */ addu $a0, $a0, $a1 -/* 0811F8 800E7D48 00004010 */ mfhi $t0 -/* 0811FC 800E7D4C 00081883 */ sra $v1, $t0, 2 -/* 081200 800E7D50 00621023 */ subu $v0, $v1, $v0 -/* 081204 800E7D54 0040182D */ daddu $v1, $v0, $zero -/* 081208 800E7D58 00031080 */ sll $v0, $v1, 2 -/* 08120C 800E7D5C 00431021 */ addu $v0, $v0, $v1 -/* 081210 800E7D60 00021040 */ sll $v0, $v0, 1 -/* 081214 800E7D64 02621023 */ subu $v0, $s3, $v0 -/* 081218 800E7D68 A082FFFF */ sb $v0, -1($a0) -/* 08121C 800E7D6C 0255102A */ slt $v0, $s2, $s5 -/* 081220 800E7D70 1440FFF0 */ bnez $v0, .L800E7D34 -/* 081224 800E7D74 0060982D */ daddu $s3, $v1, $zero -/* 081228 800E7D78 2631000D */ addiu $s1, $s1, 0xd -.L800E7D7C: -/* 08122C 800E7D7C 0000982D */ daddu $s3, $zero, $zero -/* 081230 800E7D80 1AA00020 */ blez $s5, .L800E7E04 -/* 081234 800E7D84 0260902D */ daddu $s2, $s3, $zero -/* 081238 800E7D88 27B60010 */ addiu $s6, $sp, 0x10 -/* 08123C 800E7D8C 26B0FFFF */ addiu $s0, $s5, -1 -/* 081240 800E7D90 3C17800F */ lui $s7, 0x800f -/* 081244 800E7D94 26F77F80 */ addiu $s7, $s7, 0x7f80 -.L800E7D98: -/* 081248 800E7D98 02D21021 */ addu $v0, $s6, $s2 -/* 08124C 800E7D9C 80420000 */ lb $v0, ($v0) -/* 081250 800E7DA0 54400006 */ bnel $v0, $zero, .L800E7DBC -/* 081254 800E7DA4 24130001 */ addiu $s3, $zero, 1 -/* 081258 800E7DA8 56600004 */ bnel $s3, $zero, .L800E7DBC -/* 08125C 800E7DAC 24130001 */ addiu $s3, $zero, 1 -/* 081260 800E7DB0 56500011 */ bnel $s2, $s0, .L800E7DF8 -/* 081264 800E7DB4 26520001 */ addiu $s2, $s2, 1 -/* 081268 800E7DB8 24130001 */ addiu $s3, $zero, 1 -.L800E7DBC: -/* 08126C 800E7DBC 00021080 */ sll $v0, $v0, 2 -/* 081270 800E7DC0 00571021 */ addu $v0, $v0, $s7 -/* 081274 800E7DC4 8C450000 */ lw $a1, ($v0) -/* 081278 800E7DC8 0C0511FF */ jal set_menu_icon_script -/* 08127C 800E7DCC 0280202D */ daddu $a0, $s4, $zero -/* 081280 800E7DD0 0280202D */ daddu $a0, $s4, $zero -/* 081284 800E7DD4 0220282D */ daddu $a1, $s1, $zero -/* 081288 800E7DD8 0C051261 */ jal set_icon_render_pos -/* 08128C 800E7DDC 03C0302D */ daddu $a2, $fp, $zero -/* 081290 800E7DE0 0280202D */ daddu $a0, $s4, $zero -/* 081294 800E7DE4 0C05128B */ jal clear_icon_flags -/* 081298 800E7DE8 24050002 */ addiu $a1, $zero, 2 -/* 08129C 800E7DEC 0C0511F1 */ jal draw_icon_1 -/* 0812A0 800E7DF0 0280202D */ daddu $a0, $s4, $zero -/* 0812A4 800E7DF4 26520001 */ addiu $s2, $s2, 1 -.L800E7DF8: -/* 0812A8 800E7DF8 0255102A */ slt $v0, $s2, $s5 -/* 0812AC 800E7DFC 1440FFE6 */ bnez $v0, .L800E7D98 -/* 0812B0 800E7E00 26310008 */ addiu $s1, $s1, 8 -.L800E7E04: -/* 0812B4 800E7E04 8FBF003C */ lw $ra, 0x3c($sp) -/* 0812B8 800E7E08 8FBE0038 */ lw $fp, 0x38($sp) -/* 0812BC 800E7E0C 8FB70034 */ lw $s7, 0x34($sp) -/* 0812C0 800E7E10 8FB60030 */ lw $s6, 0x30($sp) -/* 0812C4 800E7E14 8FB5002C */ lw $s5, 0x2c($sp) -/* 0812C8 800E7E18 8FB40028 */ lw $s4, 0x28($sp) -/* 0812CC 800E7E1C 8FB30024 */ lw $s3, 0x24($sp) -/* 0812D0 800E7E20 8FB20020 */ lw $s2, 0x20($sp) -/* 0812D4 800E7E24 8FB1001C */ lw $s1, 0x1c($sp) -/* 0812D8 800E7E28 8FB00018 */ lw $s0, 0x18($sp) -/* 0812DC 800E7E2C 03E00008 */ jr $ra -/* 0812E0 800E7E30 27BD0040 */ addiu $sp, $sp, 0x40 - -status_menu_draw_stat: -/* 0812E4 800E7E34 27BDFFB8 */ addiu $sp, $sp, -0x48 -/* 0812E8 800E7E38 AFB40030 */ sw $s4, 0x30($sp) -/* 0812EC 800E7E3C 0080A02D */ daddu $s4, $a0, $zero -/* 0812F0 800E7E40 AFB00020 */ sw $s0, 0x20($sp) -/* 0812F4 800E7E44 00A0802D */ daddu $s0, $a1, $zero -/* 0812F8 800E7E48 AFB10024 */ sw $s1, 0x24($sp) -/* 0812FC 800E7E4C 00C0882D */ daddu $s1, $a2, $zero -/* 081300 800E7E50 AFB3002C */ sw $s3, 0x2c($sp) -/* 081304 800E7E54 00E0982D */ daddu $s3, $a3, $zero -/* 081308 800E7E58 AFB60038 */ sw $s6, 0x38($sp) -/* 08130C 800E7E5C 24160002 */ addiu $s6, $zero, 2 -/* 081310 800E7E60 AFB20028 */ sw $s2, 0x28($sp) -/* 081314 800E7E64 0000902D */ daddu $s2, $zero, $zero -/* 081318 800E7E68 AFB50034 */ sw $s5, 0x34($sp) -/* 08131C 800E7E6C 8FB50058 */ lw $s5, 0x58($sp) -/* 081320 800E7E70 3C05800F */ lui $a1, 0x800f -/* 081324 800E7E74 8CA57FAC */ lw $a1, 0x7fac($a1) -/* 081328 800E7E78 26080008 */ addiu $t0, $s0, 8 -/* 08132C 800E7E7C AFA80018 */ sw $t0, 0x18($sp) -/* 081330 800E7E80 26280008 */ addiu $t0, $s1, 8 -/* 081334 800E7E84 AFBF0044 */ sw $ra, 0x44($sp) -/* 081338 800E7E88 AFBE0040 */ sw $fp, 0x40($sp) -/* 08133C 800E7E8C AFB7003C */ sw $s7, 0x3c($sp) -/* 081340 800E7E90 0C0511FF */ jal set_menu_icon_script -/* 081344 800E7E94 AFA8001C */ sw $t0, 0x1c($sp) -/* 081348 800E7E98 0280202D */ daddu $a0, $s4, $zero -/* 08134C 800E7E9C 26050016 */ addiu $a1, $s0, 0x16 -/* 081350 800E7EA0 0C051261 */ jal set_icon_render_pos -/* 081354 800E7EA4 26260009 */ addiu $a2, $s1, 9 -/* 081358 800E7EA8 0280202D */ daddu $a0, $s4, $zero -/* 08135C 800E7EAC 0C05128B */ jal clear_icon_flags -/* 081360 800E7EB0 02C0282D */ daddu $a1, $s6, $zero -/* 081364 800E7EB4 0C0511F1 */ jal draw_icon_1 -/* 081368 800E7EB8 0280202D */ daddu $a0, $s4, $zero -/* 08136C 800E7EBC 3C066666 */ lui $a2, 0x6666 -/* 081370 800E7EC0 34C66667 */ ori $a2, $a2, 0x6667 -/* 081374 800E7EC4 27A50010 */ addiu $a1, $sp, 0x10 -.L800E7EC8: -/* 081378 800E7EC8 02660018 */ mult $s3, $a2 -/* 08137C 800E7ECC 02D22023 */ subu $a0, $s6, $s2 -/* 081380 800E7ED0 26520001 */ addiu $s2, $s2, 1 -/* 081384 800E7ED4 001317C3 */ sra $v0, $s3, 0x1f -/* 081388 800E7ED8 00852021 */ addu $a0, $a0, $a1 -/* 08138C 800E7EDC 00004010 */ mfhi $t0 -/* 081390 800E7EE0 00081883 */ sra $v1, $t0, 2 -/* 081394 800E7EE4 00621023 */ subu $v0, $v1, $v0 -/* 081398 800E7EE8 0040182D */ daddu $v1, $v0, $zero -/* 08139C 800E7EEC 00031080 */ sll $v0, $v1, 2 -/* 0813A0 800E7EF0 00431021 */ addu $v0, $v0, $v1 -/* 0813A4 800E7EF4 00021040 */ sll $v0, $v0, 1 -/* 0813A8 800E7EF8 02621023 */ subu $v0, $s3, $v0 -/* 0813AC 800E7EFC A082FFFF */ sb $v0, -1($a0) -/* 0813B0 800E7F00 0256102A */ slt $v0, $s2, $s6 -/* 0813B4 800E7F04 1440FFF0 */ bnez $v0, .L800E7EC8 -/* 0813B8 800E7F08 0060982D */ daddu $s3, $v1, $zero -/* 0813BC 800E7F0C 8FB00018 */ lw $s0, 0x18($sp) -/* 0813C0 800E7F10 0000882D */ daddu $s1, $zero, $zero -/* 0813C4 800E7F14 8FB3001C */ lw $s3, 0x1c($sp) -/* 0813C8 800E7F18 12C00020 */ beqz $s6, .L800E7F9C -/* 0813CC 800E7F1C 0220902D */ daddu $s2, $s1, $zero -/* 0813D0 800E7F20 27BE0010 */ addiu $fp, $sp, 0x10 -/* 0813D4 800E7F24 26D7FFFF */ addiu $s7, $s6, -1 -.L800E7F28: -/* 0813D8 800E7F28 03D21021 */ addu $v0, $fp, $s2 -/* 0813DC 800E7F2C 80420000 */ lb $v0, ($v0) -/* 0813E0 800E7F30 54400006 */ bnel $v0, $zero, .L800E7F4C -/* 0813E4 800E7F34 24110001 */ addiu $s1, $zero, 1 -/* 0813E8 800E7F38 56200004 */ bnel $s1, $zero, .L800E7F4C -/* 0813EC 800E7F3C 24110001 */ addiu $s1, $zero, 1 -/* 0813F0 800E7F40 56570013 */ bnel $s2, $s7, .L800E7F90 -/* 0813F4 800E7F44 26520001 */ addiu $s2, $s2, 1 -/* 0813F8 800E7F48 24110001 */ addiu $s1, $zero, 1 -.L800E7F4C: -/* 0813FC 800E7F4C 00021080 */ sll $v0, $v0, 2 -/* 081400 800E7F50 3C08800F */ lui $t0, 0x800f -/* 081404 800E7F54 25087F80 */ addiu $t0, $t0, 0x7f80 -/* 081408 800E7F58 00481021 */ addu $v0, $v0, $t0 -/* 08140C 800E7F5C 8C450000 */ lw $a1, ($v0) -/* 081410 800E7F60 0C0511FF */ jal set_menu_icon_script -/* 081414 800E7F64 0280202D */ daddu $a0, $s4, $zero -/* 081418 800E7F68 0280202D */ daddu $a0, $s4, $zero -/* 08141C 800E7F6C 0200282D */ daddu $a1, $s0, $zero -/* 081420 800E7F70 0C051261 */ jal set_icon_render_pos -/* 081424 800E7F74 0260302D */ daddu $a2, $s3, $zero -/* 081428 800E7F78 0280202D */ daddu $a0, $s4, $zero -/* 08142C 800E7F7C 0C05128B */ jal clear_icon_flags -/* 081430 800E7F80 24050002 */ addiu $a1, $zero, 2 -/* 081434 800E7F84 0C0511F1 */ jal draw_icon_1 -/* 081438 800E7F88 0280202D */ daddu $a0, $s4, $zero -/* 08143C 800E7F8C 26520001 */ addiu $s2, $s2, 1 -.L800E7F90: -/* 081440 800E7F90 0256102A */ slt $v0, $s2, $s6 -/* 081444 800E7F94 1440FFE4 */ bnez $v0, .L800E7F28 -/* 081448 800E7F98 26100008 */ addiu $s0, $s0, 8 -.L800E7F9C: -/* 08144C 800E7F9C 12C00014 */ beqz $s6, .L800E7FF0 -/* 081450 800E7FA0 0000902D */ daddu $s2, $zero, $zero -/* 081454 800E7FA4 27A60010 */ addiu $a2, $sp, 0x10 -/* 081458 800E7FA8 3C056666 */ lui $a1, 0x6666 -/* 08145C 800E7FAC 34A56667 */ ori $a1, $a1, 0x6667 -.L800E7FB0: -/* 081460 800E7FB0 02A50018 */ mult $s5, $a1 -/* 081464 800E7FB4 02D22023 */ subu $a0, $s6, $s2 -/* 081468 800E7FB8 26520001 */ addiu $s2, $s2, 1 -/* 08146C 800E7FBC 00862021 */ addu $a0, $a0, $a2 -/* 081470 800E7FC0 001517C3 */ sra $v0, $s5, 0x1f -/* 081474 800E7FC4 00004010 */ mfhi $t0 -/* 081478 800E7FC8 00081883 */ sra $v1, $t0, 2 -/* 08147C 800E7FCC 00621823 */ subu $v1, $v1, $v0 -/* 081480 800E7FD0 00031080 */ sll $v0, $v1, 2 -/* 081484 800E7FD4 00431021 */ addu $v0, $v0, $v1 -/* 081488 800E7FD8 00021040 */ sll $v0, $v0, 1 -/* 08148C 800E7FDC 02A21023 */ subu $v0, $s5, $v0 -/* 081490 800E7FE0 A082FFFF */ sb $v0, -1($a0) -/* 081494 800E7FE4 0256102A */ slt $v0, $s2, $s6 -/* 081498 800E7FE8 1440FFF1 */ bnez $v0, .L800E7FB0 -/* 08149C 800E7FEC 0060A82D */ daddu $s5, $v1, $zero -.L800E7FF0: -/* 0814A0 800E7FF0 0000882D */ daddu $s1, $zero, $zero -/* 0814A4 800E7FF4 0220902D */ daddu $s2, $s1, $zero -/* 0814A8 800E7FF8 8FA80018 */ lw $t0, 0x18($sp) -/* 0814AC 800E7FFC 8FB3001C */ lw $s3, 0x1c($sp) -/* 0814B0 800E8000 12C00020 */ beqz $s6, .L800E8084 -/* 0814B4 800E8004 2510001A */ addiu $s0, $t0, 0x1a -/* 0814B8 800E8008 27B70010 */ addiu $s7, $sp, 0x10 -/* 0814BC 800E800C 26D5FFFF */ addiu $s5, $s6, -1 -/* 0814C0 800E8010 3C1E800F */ lui $fp, 0x800f -/* 0814C4 800E8014 27DE7F80 */ addiu $fp, $fp, 0x7f80 -.L800E8018: -/* 0814C8 800E8018 02F21021 */ addu $v0, $s7, $s2 -/* 0814CC 800E801C 80420000 */ lb $v0, ($v0) -/* 0814D0 800E8020 54400006 */ bnel $v0, $zero, .L800E803C -/* 0814D4 800E8024 24110001 */ addiu $s1, $zero, 1 -/* 0814D8 800E8028 56200004 */ bnel $s1, $zero, .L800E803C -/* 0814DC 800E802C 24110001 */ addiu $s1, $zero, 1 -/* 0814E0 800E8030 56550011 */ bnel $s2, $s5, .L800E8078 -/* 0814E4 800E8034 26520001 */ addiu $s2, $s2, 1 -/* 0814E8 800E8038 24110001 */ addiu $s1, $zero, 1 -.L800E803C: -/* 0814EC 800E803C 00021080 */ sll $v0, $v0, 2 -/* 0814F0 800E8040 005E1021 */ addu $v0, $v0, $fp -/* 0814F4 800E8044 8C450000 */ lw $a1, ($v0) -/* 0814F8 800E8048 0C0511FF */ jal set_menu_icon_script -/* 0814FC 800E804C 0280202D */ daddu $a0, $s4, $zero -/* 081500 800E8050 0280202D */ daddu $a0, $s4, $zero -/* 081504 800E8054 0200282D */ daddu $a1, $s0, $zero -/* 081508 800E8058 0C051261 */ jal set_icon_render_pos -/* 08150C 800E805C 0260302D */ daddu $a2, $s3, $zero -/* 081510 800E8060 0280202D */ daddu $a0, $s4, $zero -/* 081514 800E8064 0C05128B */ jal clear_icon_flags -/* 081518 800E8068 24050002 */ addiu $a1, $zero, 2 -/* 08151C 800E806C 0C0511F1 */ jal draw_icon_1 -/* 081520 800E8070 0280202D */ daddu $a0, $s4, $zero -/* 081524 800E8074 26520001 */ addiu $s2, $s2, 1 -.L800E8078: -/* 081528 800E8078 0256102A */ slt $v0, $s2, $s6 -/* 08152C 800E807C 1440FFE6 */ bnez $v0, .L800E8018 -/* 081530 800E8080 26100008 */ addiu $s0, $s0, 8 -.L800E8084: -/* 081534 800E8084 8FBF0044 */ lw $ra, 0x44($sp) -/* 081538 800E8088 8FBE0040 */ lw $fp, 0x40($sp) -/* 08153C 800E808C 8FB7003C */ lw $s7, 0x3c($sp) -/* 081540 800E8090 8FB60038 */ lw $s6, 0x38($sp) -/* 081544 800E8094 8FB50034 */ lw $s5, 0x34($sp) -/* 081548 800E8098 8FB40030 */ lw $s4, 0x30($sp) -/* 08154C 800E809C 8FB3002C */ lw $s3, 0x2c($sp) -/* 081550 800E80A0 8FB20028 */ lw $s2, 0x28($sp) -/* 081554 800E80A4 8FB10024 */ lw $s1, 0x24($sp) -/* 081558 800E80A8 8FB00020 */ lw $s0, 0x20($sp) -/* 08155C 800E80AC 03E00008 */ jr $ra -/* 081560 800E80B0 27BD0048 */ addiu $sp, $sp, 0x48 - -update_status_menu: -/* 081564 800E80B4 27BDFF70 */ addiu $sp, $sp, -0x90 -/* 081568 800E80B8 AFB00068 */ sw $s0, 0x68($sp) -/* 08156C 800E80BC 3C108007 */ lui $s0, 0x8007 -/* 081570 800E80C0 2610419C */ addiu $s0, $s0, 0x419c -/* 081574 800E80C4 AFBF008C */ sw $ra, 0x8c($sp) -/* 081578 800E80C8 AFBE0088 */ sw $fp, 0x88($sp) -/* 08157C 800E80CC AFB70084 */ sw $s7, 0x84($sp) -/* 081580 800E80D0 AFB60080 */ sw $s6, 0x80($sp) -/* 081584 800E80D4 AFB5007C */ sw $s5, 0x7c($sp) -/* 081588 800E80D8 AFB40078 */ sw $s4, 0x78($sp) -/* 08158C 800E80DC AFB30074 */ sw $s3, 0x74($sp) -/* 081590 800E80E0 AFB20070 */ sw $s2, 0x70($sp) -/* 081594 800E80E4 AFB1006C */ sw $s1, 0x6c($sp) -/* 081598 800E80E8 8E030000 */ lw $v1, ($s0) -/* 08159C 800E80EC 3C138011 */ lui $s3, 0x8011 -/* 0815A0 800E80F0 2673EF58 */ addiu $s3, $s3, -0x10a8 -/* 0815A4 800E80F4 806200A8 */ lb $v0, 0xa8($v1) -/* 0815A8 800E80F8 3C118011 */ lui $s1, 0x8011 -/* 0815AC 800E80FC 2631EFC8 */ addiu $s1, $s1, -0x1038 -/* 0815B0 800E8100 04410469 */ bgez $v0, .L800E92A8 -/* 0815B4 800E8104 00000000 */ nop -/* 0815B8 800E8108 80620071 */ lb $v0, 0x71($v1) -/* 0815BC 800E810C 14400466 */ bnez $v0, .L800E92A8 -/* 0815C0 800E8110 00000000 */ nop -/* 0815C4 800E8114 9062007E */ lbu $v0, 0x7e($v1) -/* 0815C8 800E8118 30420001 */ andi $v0, $v0, 1 -/* 0815CC 800E811C 14400462 */ bnez $v0, .L800E92A8 -/* 0815D0 800E8120 0000202D */ daddu $a0, $zero, $zero -/* 0815D4 800E8124 3C05F5DE */ lui $a1, 0xf5de -/* 0815D8 800E8128 0C0B1EAF */ jal get_variable -/* 0815DC 800E812C 34A50180 */ ori $a1, $a1, 0x180 -/* 0815E0 800E8130 28420060 */ slti $v0, $v0, 0x60 -/* 0815E4 800E8134 1040045C */ beqz $v0, .L800E92A8 -/* 0815E8 800E8138 00000000 */ nop -/* 0815EC 800E813C 8E020000 */ lw $v0, ($s0) -/* 0815F0 800E8140 80420070 */ lb $v0, 0x70($v0) -/* 0815F4 800E8144 14400008 */ bnez $v0, .L800E8168 -/* 0815F8 800E8148 00000000 */ nop -/* 0815FC 800E814C 3C038011 */ lui $v1, 0x8011 -/* 081600 800E8150 8463F29C */ lh $v1, -0xd64($v1) -/* 081604 800E8154 86620040 */ lh $v0, 0x40($s3) -/* 081608 800E8158 10620007 */ beq $v1, $v0, .L800E8178 -/* 08160C 800E815C 00628023 */ subu $s0, $v1, $v0 -/* 081610 800E8160 0C03A67D */ jal status_menu_start_blinking_coins -/* 081614 800E8164 00000000 */ nop -.L800E8168: -/* 081618 800E8168 3C038011 */ lui $v1, 0x8011 -/* 08161C 800E816C 8463F29C */ lh $v1, -0xd64($v1) -/* 081620 800E8170 86620040 */ lh $v0, 0x40($s3) -/* 081624 800E8174 00628023 */ subu $s0, $v1, $v0 -.L800E8178: -/* 081628 800E8178 06010004 */ bgez $s0, .L800E818C -/* 08162C 800E817C 3C036666 */ lui $v1, 0x6666 -/* 081630 800E8180 34636667 */ ori $v1, $v1, 0x6667 -/* 081634 800E8184 0803A065 */ j .L800E8194 -/* 081638 800E8188 2602FFFC */ addiu $v0, $s0, -4 - -.L800E818C: -/* 08163C 800E818C 34636667 */ ori $v1, $v1, 0x6667 -/* 081640 800E8190 26020004 */ addiu $v0, $s0, 4 -.L800E8194: -/* 081644 800E8194 00430018 */ mult $v0, $v1 -/* 081648 800E8198 000217C3 */ sra $v0, $v0, 0x1f -/* 08164C 800E819C 00004810 */ mfhi $t1 -/* 081650 800E81A0 00091843 */ sra $v1, $t1, 1 -/* 081654 800E81A4 00628023 */ subu $s0, $v1, $v0 -/* 081658 800E81A8 96620040 */ lhu $v0, 0x40($s3) -/* 08165C 800E81AC 8264003D */ lb $a0, 0x3d($s3) -/* 081660 800E81B0 3C038011 */ lui $v1, 0x8011 -/* 081664 800E81B4 8063F292 */ lb $v1, -0xd6e($v1) -/* 081668 800E81B8 00501021 */ addu $v0, $v0, $s0 -/* 08166C 800E81BC 1083000C */ beq $a0, $v1, .L800E81F0 -/* 081670 800E81C0 A6620040 */ sh $v0, 0x40($s3) -/* 081674 800E81C4 82620044 */ lb $v0, 0x44($s3) -/* 081678 800E81C8 14400009 */ bnez $v0, .L800E81F0 -/* 08167C 800E81CC 00000000 */ nop -/* 081680 800E81D0 8262003A */ lb $v0, 0x3a($s3) -/* 081684 800E81D4 10400005 */ beqz $v0, .L800E81EC -/* 081688 800E81D8 24020046 */ addiu $v0, $zero, 0x46 -/* 08168C 800E81DC A6620038 */ sh $v0, 0x38($s3) -/* 081690 800E81E0 A260003A */ sb $zero, 0x3a($s3) -/* 081694 800E81E4 0803A07C */ j .L800E81F0 -/* 081698 800E81E8 A260003B */ sb $zero, 0x3b($s3) - -.L800E81EC: -/* 08169C 800E81EC A6620038 */ sh $v0, 0x38($s3) -.L800E81F0: -/* 0816A0 800E81F0 8263003E */ lb $v1, 0x3e($s3) -/* 0816A4 800E81F4 3C028011 */ lui $v0, 0x8011 -/* 0816A8 800E81F8 8042F295 */ lb $v0, -0xd6b($v0) -/* 0816AC 800E81FC 1062000C */ beq $v1, $v0, .L800E8230 -/* 0816B0 800E8200 00000000 */ nop -/* 0816B4 800E8204 82620044 */ lb $v0, 0x44($s3) -/* 0816B8 800E8208 14400009 */ bnez $v0, .L800E8230 -/* 0816BC 800E820C 00000000 */ nop -/* 0816C0 800E8210 8262003A */ lb $v0, 0x3a($s3) -/* 0816C4 800E8214 10400005 */ beqz $v0, .L800E822C -/* 0816C8 800E8218 24020046 */ addiu $v0, $zero, 0x46 -/* 0816CC 800E821C A6620038 */ sh $v0, 0x38($s3) -/* 0816D0 800E8220 A260003A */ sb $zero, 0x3a($s3) -/* 0816D4 800E8224 0803A08C */ j .L800E8230 -/* 0816D8 800E8228 A260003B */ sb $zero, 0x3b($s3) - -.L800E822C: -/* 0816DC 800E822C A6620038 */ sh $v0, 0x38($s3) -.L800E8230: -/* 0816E0 800E8230 86630048 */ lh $v1, 0x48($s3) -/* 0816E4 800E8234 3C028011 */ lui $v0, 0x8011 -/* 0816E8 800E8238 8442F520 */ lh $v0, -0xae0($v0) -/* 0816EC 800E823C 1062000C */ beq $v1, $v0, .L800E8270 -/* 0816F0 800E8240 00000000 */ nop -/* 0816F4 800E8244 82620044 */ lb $v0, 0x44($s3) -/* 0816F8 800E8248 14400009 */ bnez $v0, .L800E8270 -/* 0816FC 800E824C 00000000 */ nop -/* 081700 800E8250 8262003A */ lb $v0, 0x3a($s3) -/* 081704 800E8254 10400005 */ beqz $v0, .L800E826C -/* 081708 800E8258 24020046 */ addiu $v0, $zero, 0x46 -/* 08170C 800E825C A6620038 */ sh $v0, 0x38($s3) -/* 081710 800E8260 A260003A */ sb $zero, 0x3a($s3) -/* 081714 800E8264 0803A09C */ j .L800E8270 -/* 081718 800E8268 A260003B */ sb $zero, 0x3b($s3) - -.L800E826C: -/* 08171C 800E826C A6620038 */ sh $v0, 0x38($s3) -.L800E8270: -/* 081720 800E8270 8264003D */ lb $a0, 0x3d($s3) -/* 081724 800E8274 3C038011 */ lui $v1, 0x8011 -/* 081728 800E8278 8063F292 */ lb $v1, -0xd6e($v1) -/* 08172C 800E827C 1083002E */ beq $a0, $v1, .L800E8338 -/* 081730 800E8280 00000000 */ nop -/* 081734 800E8284 3C028007 */ lui $v0, 0x8007 -/* 081738 800E8288 8C42419C */ lw $v0, 0x419c($v0) -/* 08173C 800E828C 80420070 */ lb $v0, 0x70($v0) -/* 081740 800E8290 14400005 */ bnez $v0, .L800E82A8 -/* 081744 800E8294 0064102A */ slt $v0, $v1, $a0 -/* 081748 800E8298 10400003 */ beqz $v0, .L800E82A8 -/* 08174C 800E829C 00000000 */ nop -/* 081750 800E82A0 0C03A648 */ jal status_menu_start_blinking_hp -/* 081754 800E82A4 00000000 */ nop -.L800E82A8: -/* 081758 800E82A8 8262003D */ lb $v0, 0x3d($s3) -/* 08175C 800E82AC 3C038011 */ lui $v1, 0x8011 -/* 081760 800E82B0 8063F292 */ lb $v1, -0xd6e($v1) -/* 081764 800E82B4 0043102A */ slt $v0, $v0, $v1 -/* 081768 800E82B8 10400018 */ beqz $v0, .L800E831C -/* 08176C 800E82BC 9263003D */ lbu $v1, 0x3d($s3) -/* 081770 800E82C0 86620036 */ lh $v0, 0x36($s3) -/* 081774 800E82C4 28420012 */ slti $v0, $v0, 0x12 -/* 081778 800E82C8 1440000C */ bnez $v0, .L800E82FC -/* 08177C 800E82CC 00000000 */ nop -/* 081780 800E82D0 3C028007 */ lui $v0, 0x8007 -/* 081784 800E82D4 8C42419C */ lw $v0, 0x419c($v0) -/* 081788 800E82D8 94420134 */ lhu $v0, 0x134($v0) -/* 08178C 800E82DC 30420003 */ andi $v0, $v0, 3 -/* 081790 800E82E0 14400015 */ bnez $v0, .L800E8338 -/* 081794 800E82E4 24620001 */ addiu $v0, $v1, 1 -/* 081798 800E82E8 A262003D */ sb $v0, 0x3d($s3) -/* 08179C 800E82EC 0C05272D */ jal play_sound -/* 0817A0 800E82F0 24040213 */ addiu $a0, $zero, 0x213 -/* 0817A4 800E82F4 0803A0CE */ j .L800E8338 -/* 0817A8 800E82F8 00000000 */ nop - -.L800E82FC: -/* 0817AC 800E82FC 3C028007 */ lui $v0, 0x8007 -/* 0817B0 800E8300 8C42419C */ lw $v0, 0x419c($v0) -/* 0817B4 800E8304 94420134 */ lhu $v0, 0x134($v0) -/* 0817B8 800E8308 30420003 */ andi $v0, $v0, 3 -/* 0817BC 800E830C 1440000A */ bnez $v0, .L800E8338 -/* 0817C0 800E8310 24620001 */ addiu $v0, $v1, 1 -/* 0817C4 800E8314 0803A0CE */ j .L800E8338 -/* 0817C8 800E8318 A262003D */ sb $v0, 0x3d($s3) - -.L800E831C: -/* 0817CC 800E831C 3C028007 */ lui $v0, 0x8007 -/* 0817D0 800E8320 8C42419C */ lw $v0, 0x419c($v0) -/* 0817D4 800E8324 94420134 */ lhu $v0, 0x134($v0) -/* 0817D8 800E8328 30420003 */ andi $v0, $v0, 3 -/* 0817DC 800E832C 14400002 */ bnez $v0, .L800E8338 -/* 0817E0 800E8330 2462FFFF */ addiu $v0, $v1, -1 -/* 0817E4 800E8334 A262003D */ sb $v0, 0x3d($s3) -.L800E8338: -/* 0817E8 800E8338 8264003E */ lb $a0, 0x3e($s3) -/* 0817EC 800E833C 3C038011 */ lui $v1, 0x8011 -/* 0817F0 800E8340 8063F295 */ lb $v1, -0xd6b($v1) -/* 0817F4 800E8344 1083002E */ beq $a0, $v1, .L800E8400 -/* 0817F8 800E8348 00000000 */ nop -/* 0817FC 800E834C 3C028007 */ lui $v0, 0x8007 -/* 081800 800E8350 8C42419C */ lw $v0, 0x419c($v0) -/* 081804 800E8354 80420070 */ lb $v0, 0x70($v0) -/* 081808 800E8358 14400005 */ bnez $v0, .L800E8370 -/* 08180C 800E835C 0064102A */ slt $v0, $v1, $a0 -/* 081810 800E8360 10400003 */ beqz $v0, .L800E8370 -/* 081814 800E8364 00000000 */ nop -/* 081818 800E8368 0C03A663 */ jal status_menu_start_blinking_fp -/* 08181C 800E836C 00000000 */ nop -.L800E8370: -/* 081820 800E8370 8262003E */ lb $v0, 0x3e($s3) -/* 081824 800E8374 3C038011 */ lui $v1, 0x8011 -/* 081828 800E8378 8063F295 */ lb $v1, -0xd6b($v1) -/* 08182C 800E837C 0043102A */ slt $v0, $v0, $v1 -/* 081830 800E8380 10400018 */ beqz $v0, .L800E83E4 -/* 081834 800E8384 9263003E */ lbu $v1, 0x3e($s3) -/* 081838 800E8388 86620036 */ lh $v0, 0x36($s3) -/* 08183C 800E838C 28420012 */ slti $v0, $v0, 0x12 -/* 081840 800E8390 1440000C */ bnez $v0, .L800E83C4 -/* 081844 800E8394 00000000 */ nop -/* 081848 800E8398 3C028007 */ lui $v0, 0x8007 -/* 08184C 800E839C 8C42419C */ lw $v0, 0x419c($v0) -/* 081850 800E83A0 94420134 */ lhu $v0, 0x134($v0) -/* 081854 800E83A4 30420003 */ andi $v0, $v0, 3 -/* 081858 800E83A8 14400015 */ bnez $v0, .L800E8400 -/* 08185C 800E83AC 24620001 */ addiu $v0, $v1, 1 -/* 081860 800E83B0 A262003E */ sb $v0, 0x3e($s3) -/* 081864 800E83B4 0C05272D */ jal play_sound -/* 081868 800E83B8 24040217 */ addiu $a0, $zero, 0x217 -/* 08186C 800E83BC 0803A100 */ j .L800E8400 -/* 081870 800E83C0 00000000 */ nop - -.L800E83C4: -/* 081874 800E83C4 3C028007 */ lui $v0, 0x8007 -/* 081878 800E83C8 8C42419C */ lw $v0, 0x419c($v0) -/* 08187C 800E83CC 94420134 */ lhu $v0, 0x134($v0) -/* 081880 800E83D0 30420003 */ andi $v0, $v0, 3 -/* 081884 800E83D4 1440000A */ bnez $v0, .L800E8400 -/* 081888 800E83D8 24620001 */ addiu $v0, $v1, 1 -/* 08188C 800E83DC 0803A100 */ j .L800E8400 -/* 081890 800E83E0 A262003E */ sb $v0, 0x3e($s3) - -.L800E83E4: -/* 081894 800E83E4 3C028007 */ lui $v0, 0x8007 -/* 081898 800E83E8 8C42419C */ lw $v0, 0x419c($v0) -/* 08189C 800E83EC 94420134 */ lhu $v0, 0x134($v0) -/* 0818A0 800E83F0 30420003 */ andi $v0, $v0, 3 -/* 0818A4 800E83F4 14400002 */ bnez $v0, .L800E8400 -/* 0818A8 800E83F8 2462FFFF */ addiu $v0, $v1, -1 -/* 0818AC 800E83FC A262003E */ sb $v0, 0x3e($s3) -.L800E8400: -/* 0818B0 800E8400 86620048 */ lh $v0, 0x48($s3) -/* 0818B4 800E8404 3C048011 */ lui $a0, 0x8011 -/* 0818B8 800E8408 8484F520 */ lh $a0, -0xae0($a0) -/* 0818BC 800E840C 96630048 */ lhu $v1, 0x48($s3) -/* 0818C0 800E8410 1044001A */ beq $v0, $a0, .L800E847C -/* 0818C4 800E8414 0044102A */ slt $v0, $v0, $a0 -/* 0818C8 800E8418 1040000D */ beqz $v0, .L800E8450 -/* 0818CC 800E841C 2462000A */ addiu $v0, $v1, 0xa -/* 0818D0 800E8420 A6620048 */ sh $v0, 0x48($s3) -/* 0818D4 800E8424 00021400 */ sll $v0, $v0, 0x10 -/* 0818D8 800E8428 3C038011 */ lui $v1, 0x8011 -/* 0818DC 800E842C 8463F520 */ lh $v1, -0xae0($v1) -/* 0818E0 800E8430 00021403 */ sra $v0, $v0, 0x10 -/* 0818E4 800E8434 0062182A */ slt $v1, $v1, $v0 -/* 0818E8 800E8438 3C028011 */ lui $v0, 0x8011 -/* 0818EC 800E843C 9442F520 */ lhu $v0, -0xae0($v0) -/* 0818F0 800E8440 5460000E */ bnel $v1, $zero, .L800E847C -/* 0818F4 800E8444 A6620048 */ sh $v0, 0x48($s3) -/* 0818F8 800E8448 0803A11F */ j .L800E847C -/* 0818FC 800E844C 00000000 */ nop - -.L800E8450: -/* 081900 800E8450 2462FFF6 */ addiu $v0, $v1, -0xa -/* 081904 800E8454 A6620048 */ sh $v0, 0x48($s3) -/* 081908 800E8458 00021400 */ sll $v0, $v0, 0x10 -/* 08190C 800E845C 3C038011 */ lui $v1, 0x8011 -/* 081910 800E8460 8463F520 */ lh $v1, -0xae0($v1) -/* 081914 800E8464 00021403 */ sra $v0, $v0, 0x10 -/* 081918 800E8468 0043102A */ slt $v0, $v0, $v1 -/* 08191C 800E846C 3C038011 */ lui $v1, 0x8011 -/* 081920 800E8470 9463F520 */ lhu $v1, -0xae0($v1) -/* 081924 800E8474 54400001 */ bnel $v0, $zero, .L800E847C -/* 081928 800E8478 A6630048 */ sh $v1, 0x48($s3) -.L800E847C: -/* 08192C 800E847C 82620047 */ lb $v0, 0x47($s3) -/* 081930 800E8480 14400389 */ bnez $v0, .L800E92A8 -/* 081934 800E8484 00000000 */ nop -/* 081938 800E8488 82620046 */ lb $v0, 0x46($s3) -/* 08193C 800E848C 1040000A */ beqz $v0, .L800E84B8 -/* 081940 800E8490 00000000 */ nop -/* 081944 800E8494 8262003A */ lb $v0, 0x3a($s3) -/* 081948 800E8498 10400007 */ beqz $v0, .L800E84B8 -/* 08194C 800E849C 00000000 */ nop -/* 081950 800E84A0 82220015 */ lb $v0, 0x15($s1) -/* 081954 800E84A4 14400004 */ bnez $v0, .L800E84B8 -/* 081958 800E84A8 2402002A */ addiu $v0, $zero, 0x2a -/* 08195C 800E84AC A6620038 */ sh $v0, 0x38($s3) -/* 081960 800E84B0 A260003A */ sb $zero, 0x3a($s3) -/* 081964 800E84B4 A260003B */ sb $zero, 0x3b($s3) -.L800E84B8: -/* 081968 800E84B8 8263003A */ lb $v1, 0x3a($s3) -/* 08196C 800E84BC 10600005 */ beqz $v1, .L800E84D4 -/* 081970 800E84C0 24020001 */ addiu $v0, $zero, 1 -/* 081974 800E84C4 1062002E */ beq $v1, $v0, .L800E8580 -/* 081978 800E84C8 3C08ED03 */ lui $t0, 0xed03 -/* 08197C 800E84CC 0803A188 */ j .L800E8620 -/* 081980 800E84D0 35080050 */ ori $t0, $t0, 0x50 - -.L800E84D4: -/* 081984 800E84D4 96620036 */ lhu $v0, 0x36($s3) -/* 081988 800E84D8 2442000A */ addiu $v0, $v0, 0xa -/* 08198C 800E84DC A6620036 */ sh $v0, 0x36($s3) -/* 081990 800E84E0 00021400 */ sll $v0, $v0, 0x10 -/* 081994 800E84E4 00021403 */ sra $v0, $v0, 0x10 -/* 081998 800E84E8 28420012 */ slti $v0, $v0, 0x12 -/* 08199C 800E84EC 1440004B */ bnez $v0, .L800E861C -/* 0819A0 800E84F0 3C08ED03 */ lui $t0, 0xed03 -/* 0819A4 800E84F4 8263003C */ lb $v1, 0x3c($s3) -/* 0819A8 800E84F8 24020012 */ addiu $v0, $zero, 0x12 -/* 0819AC 800E84FC 10600007 */ beqz $v1, .L800E851C -/* 0819B0 800E8500 A6620036 */ sh $v0, 0x36($s3) -/* 0819B4 800E8504 8262003B */ lb $v0, 0x3b($s3) -/* 0819B8 800E8508 10400004 */ beqz $v0, .L800E851C -/* 0819BC 800E850C 00000000 */ nop -/* 0819C0 800E8510 822200B4 */ lb $v0, 0xb4($s1) -/* 0819C4 800E8514 54400001 */ bnel $v0, $zero, .L800E851C -/* 0819C8 800E8518 A6600038 */ sh $zero, 0x38($s3) -.L800E851C: -/* 0819CC 800E851C 86620038 */ lh $v0, 0x38($s3) -/* 0819D0 800E8520 96630038 */ lhu $v1, 0x38($s3) -/* 0819D4 800E8524 10400003 */ beqz $v0, .L800E8534 -/* 0819D8 800E8528 2462FFFF */ addiu $v0, $v1, -1 -/* 0819DC 800E852C 0803A186 */ j .L800E8618 -/* 0819E0 800E8530 A6620038 */ sh $v0, 0x38($s3) - -.L800E8534: -/* 0819E4 800E8534 82620044 */ lb $v0, 0x44($s3) -/* 0819E8 800E8538 14400038 */ bnez $v0, .L800E861C -/* 0819EC 800E853C 3C08ED03 */ lui $t0, 0xed03 -/* 0819F0 800E8540 8262003B */ lb $v0, 0x3b($s3) -/* 0819F4 800E8544 10400004 */ beqz $v0, .L800E8558 -/* 0819F8 800E8548 00000000 */ nop -/* 0819FC 800E854C 822200B4 */ lb $v0, 0xb4($s1) -/* 081A00 800E8550 10400033 */ beqz $v0, .L800E8620 -/* 081A04 800E8554 35080050 */ ori $t0, $t0, 0x50 -.L800E8558: -/* 081A08 800E8558 3C028007 */ lui $v0, 0x8007 -/* 081A0C 800E855C 8C42419C */ lw $v0, 0x419c($v0) -/* 081A10 800E8560 80420070 */ lb $v0, 0x70($v0) -/* 081A14 800E8564 1440002D */ bnez $v0, .L800E861C -/* 081A18 800E8568 3C08ED03 */ lui $t0, 0xed03 -/* 081A1C 800E856C 24020001 */ addiu $v0, $zero, 1 -/* 081A20 800E8570 A262003A */ sb $v0, 0x3a($s3) -/* 081A24 800E8574 A6600038 */ sh $zero, 0x38($s3) -/* 081A28 800E8578 0803A187 */ j .L800E861C -/* 081A2C 800E857C A260003C */ sb $zero, 0x3c($s3) - -.L800E8580: -/* 081A30 800E8580 96620036 */ lhu $v0, 0x36($s3) -/* 081A34 800E8584 2442FFFB */ addiu $v0, $v0, -5 -/* 081A38 800E8588 A6620036 */ sh $v0, 0x36($s3) -/* 081A3C 800E858C 00021400 */ sll $v0, $v0, 0x10 -/* 081A40 800E8590 00021403 */ sra $v0, $v0, 0x10 -/* 081A44 800E8594 2842FF9C */ slti $v0, $v0, -0x64 -/* 081A48 800E8598 1040001F */ beqz $v0, .L800E8618 -/* 081A4C 800E859C 2402FF9C */ addiu $v0, $zero, -0x64 -/* 081A50 800E85A0 82630044 */ lb $v1, 0x44($s3) -/* 081A54 800E85A4 1460001C */ bnez $v1, .L800E8618 -/* 081A58 800E85A8 A6620036 */ sh $v0, 0x36($s3) -/* 081A5C 800E85AC 822200B4 */ lb $v0, 0xb4($s1) -/* 081A60 800E85B0 5440000A */ bnel $v0, $zero, .L800E85DC -/* 081A64 800E85B4 A6600038 */ sh $zero, 0x38($s3) -/* 081A68 800E85B8 8E220000 */ lw $v0, ($s1) -/* 081A6C 800E85BC 30423000 */ andi $v0, $v0, 0x3000 -/* 081A70 800E85C0 10400003 */ beqz $v0, .L800E85D0 -/* 081A74 800E85C4 00000000 */ nop -/* 081A78 800E85C8 0803A177 */ j .L800E85DC -/* 081A7C 800E85CC A6600038 */ sh $zero, 0x38($s3) - -.L800E85D0: -/* 081A80 800E85D0 96620038 */ lhu $v0, 0x38($s3) -/* 081A84 800E85D4 24420001 */ addiu $v0, $v0, 1 -/* 081A88 800E85D8 A6620038 */ sh $v0, 0x38($s3) -.L800E85DC: -/* 081A8C 800E85DC 86620038 */ lh $v0, 0x38($s3) -/* 081A90 800E85E0 284200F0 */ slti $v0, $v0, 0xf0 -/* 081A94 800E85E4 1440000D */ bnez $v0, .L800E861C -/* 081A98 800E85E8 3C08ED03 */ lui $t0, 0xed03 -/* 081A9C 800E85EC 3C028007 */ lui $v0, 0x8007 -/* 081AA0 800E85F0 8C42419C */ lw $v0, 0x419c($v0) -/* 081AA4 800E85F4 80420070 */ lb $v0, 0x70($v0) -/* 081AA8 800E85F8 14400009 */ bnez $v0, .L800E8620 -/* 081AAC 800E85FC 35080050 */ ori $t0, $t0, 0x50 -/* 081AB0 800E8600 240200D2 */ addiu $v0, $zero, 0xd2 -/* 081AB4 800E8604 A6620038 */ sh $v0, 0x38($s3) -/* 081AB8 800E8608 24020001 */ addiu $v0, $zero, 1 -/* 081ABC 800E860C A260003A */ sb $zero, 0x3a($s3) -/* 081AC0 800E8610 A262003B */ sb $v0, 0x3b($s3) -/* 081AC4 800E8614 A262003C */ sb $v0, 0x3c($s3) -.L800E8618: -/* 081AC8 800E8618 3C08ED03 */ lui $t0, 0xed03 -.L800E861C: -/* 081ACC 800E861C 35080050 */ ori $t0, $t0, 0x50 -.L800E8620: -/* 081AD0 800E8620 3C07004D */ lui $a3, 0x4d -/* 081AD4 800E8624 34E70370 */ ori $a3, $a3, 0x370 -/* 081AD8 800E8628 0000202D */ daddu $a0, $zero, $zero -/* 081ADC 800E862C 3C06800A */ lui $a2, 0x800a -/* 081AE0 800E8630 24C6A66C */ addiu $a2, $a2, -0x5994 -/* 081AE4 800E8634 24050005 */ addiu $a1, $zero, 5 -/* 081AE8 800E8638 241200FF */ addiu $s2, $zero, 0xff -/* 081AEC 800E863C 24110140 */ addiu $s1, $zero, 0x140 -/* 081AF0 800E8640 8CC30000 */ lw $v1, ($a2) -/* 081AF4 800E8644 241000F0 */ addiu $s0, $zero, 0xf0 -/* 081AF8 800E8648 0060102D */ daddu $v0, $v1, $zero -/* 081AFC 800E864C 24630008 */ addiu $v1, $v1, 8 -/* 081B00 800E8650 AC480000 */ sw $t0, ($v0) -/* 081B04 800E8654 AC470004 */ sw $a3, 4($v0) -/* 081B08 800E8658 867E0034 */ lh $fp, 0x34($s3) -/* 081B0C 800E865C 86750036 */ lh $s5, 0x36($s3) -/* 081B10 800E8660 240200AE */ addiu $v0, $zero, 0xae -/* 081B14 800E8664 ACC30000 */ sw $v1, ($a2) -/* 081B18 800E8668 AFA20014 */ sw $v0, 0x14($sp) -/* 081B1C 800E866C 24020023 */ addiu $v0, $zero, 0x23 -/* 081B20 800E8670 AFA00010 */ sw $zero, 0x10($sp) -/* 081B24 800E8674 AFA20018 */ sw $v0, 0x18($sp) -/* 081B28 800E8678 AFB2001C */ sw $s2, 0x1c($sp) -/* 081B2C 800E867C AFA00020 */ sw $zero, 0x20($sp) -/* 081B30 800E8680 AFA00024 */ sw $zero, 0x24($sp) -/* 081B34 800E8684 AFA00028 */ sw $zero, 0x28($sp) -/* 081B38 800E8688 AFA0002C */ sw $zero, 0x2c($sp) -/* 081B3C 800E868C AFA00030 */ sw $zero, 0x30($sp) -/* 081B40 800E8690 AFA00034 */ sw $zero, 0x34($sp) -/* 081B44 800E8694 AFA00038 */ sw $zero, 0x38($sp) -/* 081B48 800E8698 AFA0003C */ sw $zero, 0x3c($sp) -/* 081B4C 800E869C AFA00040 */ sw $zero, 0x40($sp) -/* 081B50 800E86A0 AFB10044 */ sw $s1, 0x44($sp) -/* 081B54 800E86A4 AFB00048 */ sw $s0, 0x48($sp) -/* 081B58 800E86A8 AFA0004C */ sw $zero, 0x4c($sp) -/* 081B5C 800E86AC 03C0302D */ daddu $a2, $fp, $zero -/* 081B60 800E86B0 0C03D4B8 */ jal draw_box -/* 081B64 800E86B4 02A0382D */ daddu $a3, $s5, $zero -/* 081B68 800E86B8 0000202D */ daddu $a0, $zero, $zero -/* 081B6C 800E86BC 24050006 */ addiu $a1, $zero, 6 -/* 081B70 800E86C0 27C600AE */ addiu $a2, $fp, 0xae -/* 081B74 800E86C4 02A0382D */ daddu $a3, $s5, $zero -/* 081B78 800E86C8 2402007A */ addiu $v0, $zero, 0x7a -/* 081B7C 800E86CC AFA20014 */ sw $v0, 0x14($sp) -/* 081B80 800E86D0 24020019 */ addiu $v0, $zero, 0x19 -/* 081B84 800E86D4 AFA00010 */ sw $zero, 0x10($sp) -/* 081B88 800E86D8 AFA20018 */ sw $v0, 0x18($sp) -/* 081B8C 800E86DC AFB2001C */ sw $s2, 0x1c($sp) -/* 081B90 800E86E0 AFA00020 */ sw $zero, 0x20($sp) -/* 081B94 800E86E4 AFA00024 */ sw $zero, 0x24($sp) -/* 081B98 800E86E8 AFA00028 */ sw $zero, 0x28($sp) -/* 081B9C 800E86EC AFA0002C */ sw $zero, 0x2c($sp) -/* 081BA0 800E86F0 AFA00030 */ sw $zero, 0x30($sp) -/* 081BA4 800E86F4 AFA00034 */ sw $zero, 0x34($sp) -/* 081BA8 800E86F8 AFA00038 */ sw $zero, 0x38($sp) -/* 081BAC 800E86FC AFA0003C */ sw $zero, 0x3c($sp) -/* 081BB0 800E8700 AFA00040 */ sw $zero, 0x40($sp) -/* 081BB4 800E8704 AFB10044 */ sw $s1, 0x44($sp) -/* 081BB8 800E8708 AFB00048 */ sw $s0, 0x48($sp) -/* 081BBC 800E870C 0C03D4B8 */ jal draw_box -/* 081BC0 800E8710 AFA0004C */ sw $zero, 0x4c($sp) -/* 081BC4 800E8714 8262004C */ lb $v0, 0x4c($s3) -/* 081BC8 800E8718 9263004C */ lbu $v1, 0x4c($s3) -/* 081BCC 800E871C 18400007 */ blez $v0, .L800E873C -/* 081BD0 800E8720 2462FFFF */ addiu $v0, $v1, -1 -/* 081BD4 800E8724 A262004C */ sb $v0, 0x4c($s3) -/* 081BD8 800E8728 00021600 */ sll $v0, $v0, 0x18 -/* 081BDC 800E872C 14400003 */ bnez $v0, .L800E873C -/* 081BE0 800E8730 00000000 */ nop -/* 081BE4 800E8734 0C03A659 */ jal status_menu_stop_blinking_hp -/* 081BE8 800E8738 00000000 */ nop -.L800E873C: -/* 081BEC 800E873C 8262004A */ lb $v0, 0x4a($s3) -/* 081BF0 800E8740 1040000C */ beqz $v0, .L800E8774 -/* 081BF4 800E8744 24160001 */ addiu $s6, $zero, 1 -/* 081BF8 800E8748 8263004B */ lb $v1, 0x4b($s3) -/* 081BFC 800E874C 28620009 */ slti $v0, $v1, 9 -/* 081C00 800E8750 14400005 */ bnez $v0, .L800E8768 -/* 081C04 800E8754 2862000D */ slti $v0, $v1, 0xd -/* 081C08 800E8758 14400003 */ bnez $v0, .L800E8768 -/* 081C0C 800E875C 0000B02D */ daddu $s6, $zero, $zero -/* 081C10 800E8760 A260004B */ sb $zero, 0x4b($s3) -/* 081C14 800E8764 24160001 */ addiu $s6, $zero, 1 -.L800E8768: -/* 081C18 800E8768 9262004B */ lbu $v0, 0x4b($s3) -/* 081C1C 800E876C 24420001 */ addiu $v0, $v0, 1 -/* 081C20 800E8770 A262004B */ sb $v0, 0x4b($s3) -.L800E8774: -/* 081C24 800E8774 12C0001D */ beqz $s6, .L800E87EC -/* 081C28 800E8778 00000000 */ nop -/* 081C2C 800E877C 8E720000 */ lw $s2, ($s3) -/* 081C30 800E8780 86650034 */ lh $a1, 0x34($s3) -/* 081C34 800E8784 86660036 */ lh $a2, 0x36($s3) -/* 081C38 800E8788 0240202D */ daddu $a0, $s2, $zero -/* 081C3C 800E878C 24A50016 */ addiu $a1, $a1, 0x16 -/* 081C40 800E8790 0C051261 */ jal set_icon_render_pos -/* 081C44 800E8794 24C6000D */ addiu $a2, $a2, 0xd -/* 081C48 800E8798 0C0511F1 */ jal draw_icon_1 -/* 081C4C 800E879C 0240202D */ daddu $a0, $s2, $zero -/* 081C50 800E87A0 8E720004 */ lw $s2, 4($s3) -/* 081C54 800E87A4 86650034 */ lh $a1, 0x34($s3) -/* 081C58 800E87A8 86660036 */ lh $a2, 0x36($s3) -/* 081C5C 800E87AC 0240202D */ daddu $a0, $s2, $zero -/* 081C60 800E87B0 24A50025 */ addiu $a1, $a1, 0x25 -/* 081C64 800E87B4 0C051261 */ jal set_icon_render_pos -/* 081C68 800E87B8 24C6000D */ addiu $a2, $a2, 0xd -/* 081C6C 800E87BC 0C0511F1 */ jal draw_icon_1 -/* 081C70 800E87C0 0240202D */ daddu $a0, $s2, $zero -/* 081C74 800E87C4 8E640020 */ lw $a0, 0x20($s3) -/* 081C78 800E87C8 86650034 */ lh $a1, 0x34($s3) -/* 081C7C 800E87CC 86660036 */ lh $a2, 0x36($s3) -/* 081C80 800E87D0 8267003D */ lb $a3, 0x3d($s3) -/* 081C84 800E87D4 3C028011 */ lui $v0, 0x8011 -/* 081C88 800E87D8 8042F293 */ lb $v0, -0xd6d($v0) -/* 081C8C 800E87DC 24A50030 */ addiu $a1, $a1, 0x30 -/* 081C90 800E87E0 24C60008 */ addiu $a2, $a2, 8 -/* 081C94 800E87E4 0C039F8D */ jal status_menu_draw_stat -/* 081C98 800E87E8 AFA20010 */ sw $v0, 0x10($sp) -.L800E87EC: -/* 081C9C 800E87EC 8262004F */ lb $v0, 0x4f($s3) -/* 081CA0 800E87F0 9263004F */ lbu $v1, 0x4f($s3) -/* 081CA4 800E87F4 18400007 */ blez $v0, .L800E8814 -/* 081CA8 800E87F8 2462FFFF */ addiu $v0, $v1, -1 -/* 081CAC 800E87FC A262004F */ sb $v0, 0x4f($s3) -/* 081CB0 800E8800 00021600 */ sll $v0, $v0, 0x18 -/* 081CB4 800E8804 14400003 */ bnez $v0, .L800E8814 -/* 081CB8 800E8808 00000000 */ nop -/* 081CBC 800E880C 0C03A674 */ jal status_menu_stop_blinking_fp -/* 081CC0 800E8810 00000000 */ nop -.L800E8814: -/* 081CC4 800E8814 8262004D */ lb $v0, 0x4d($s3) -/* 081CC8 800E8818 1040000C */ beqz $v0, .L800E884C -/* 081CCC 800E881C 24160001 */ addiu $s6, $zero, 1 -/* 081CD0 800E8820 8263004E */ lb $v1, 0x4e($s3) -/* 081CD4 800E8824 28620009 */ slti $v0, $v1, 9 -/* 081CD8 800E8828 14400005 */ bnez $v0, .L800E8840 -/* 081CDC 800E882C 2862000D */ slti $v0, $v1, 0xd -/* 081CE0 800E8830 14400003 */ bnez $v0, .L800E8840 -/* 081CE4 800E8834 0000B02D */ daddu $s6, $zero, $zero -/* 081CE8 800E8838 A260004E */ sb $zero, 0x4e($s3) -/* 081CEC 800E883C 24160001 */ addiu $s6, $zero, 1 -.L800E8840: -/* 081CF0 800E8840 9262004E */ lbu $v0, 0x4e($s3) -/* 081CF4 800E8844 24420001 */ addiu $v0, $v0, 1 -/* 081CF8 800E8848 A262004E */ sb $v0, 0x4e($s3) -.L800E884C: -/* 081CFC 800E884C 12C0001D */ beqz $s6, .L800E88C4 -/* 081D00 800E8850 00000000 */ nop -/* 081D04 800E8854 8E720008 */ lw $s2, 8($s3) -/* 081D08 800E8858 86650034 */ lh $a1, 0x34($s3) -/* 081D0C 800E885C 86660036 */ lh $a2, 0x36($s3) -/* 081D10 800E8860 0240202D */ daddu $a0, $s2, $zero -/* 081D14 800E8864 24A5006E */ addiu $a1, $a1, 0x6e -/* 081D18 800E8868 0C051261 */ jal set_icon_render_pos -/* 081D1C 800E886C 24C6000D */ addiu $a2, $a2, 0xd -/* 081D20 800E8870 0C0511F1 */ jal draw_icon_1 -/* 081D24 800E8874 0240202D */ daddu $a0, $s2, $zero -/* 081D28 800E8878 8E72000C */ lw $s2, 0xc($s3) -/* 081D2C 800E887C 86650034 */ lh $a1, 0x34($s3) -/* 081D30 800E8880 86660036 */ lh $a2, 0x36($s3) -/* 081D34 800E8884 0240202D */ daddu $a0, $s2, $zero -/* 081D38 800E8888 24A5007D */ addiu $a1, $a1, 0x7d -/* 081D3C 800E888C 0C051261 */ jal set_icon_render_pos -/* 081D40 800E8890 24C6000D */ addiu $a2, $a2, 0xd -/* 081D44 800E8894 0C0511F1 */ jal draw_icon_1 -/* 081D48 800E8898 0240202D */ daddu $a0, $s2, $zero -/* 081D4C 800E889C 8E640024 */ lw $a0, 0x24($s3) -/* 081D50 800E88A0 86650034 */ lh $a1, 0x34($s3) -/* 081D54 800E88A4 86660036 */ lh $a2, 0x36($s3) -/* 081D58 800E88A8 8267003E */ lb $a3, 0x3e($s3) -/* 081D5C 800E88AC 3C028011 */ lui $v0, 0x8011 -/* 081D60 800E88B0 8042F296 */ lb $v0, -0xd6a($v0) -/* 081D64 800E88B4 24A50088 */ addiu $a1, $a1, 0x88 -/* 081D68 800E88B8 24C60008 */ addiu $a2, $a2, 8 -/* 081D6C 800E88BC 0C039F8D */ jal status_menu_draw_stat -/* 081D70 800E88C0 AFA20010 */ sw $v0, 0x10($sp) -.L800E88C4: -/* 081D74 800E88C4 3C028011 */ lui $v0, 0x8011 -/* 081D78 800E88C8 8042F299 */ lb $v0, -0xd67($v0) -/* 081D7C 800E88CC 2842001B */ slti $v0, $v0, 0x1b -/* 081D80 800E88D0 14400003 */ bnez $v0, .L800E88E0 -/* 081D84 800E88D4 00000000 */ nop -/* 081D88 800E88D8 3C018011 */ lui $at, 0x8011 -/* 081D8C 800E88DC A020F2A0 */ sb $zero, -0xd60($at) -.L800E88E0: -/* 081D90 800E88E0 82620052 */ lb $v0, 0x52($s3) -/* 081D94 800E88E4 1040000B */ beqz $v0, .L800E8914 -/* 081D98 800E88E8 24160001 */ addiu $s6, $zero, 1 -/* 081D9C 800E88EC 82630053 */ lb $v1, 0x53($s3) -/* 081DA0 800E88F0 28620009 */ slti $v0, $v1, 9 -/* 081DA4 800E88F4 14400004 */ bnez $v0, .L800E8908 -/* 081DA8 800E88F8 2862000D */ slti $v0, $v1, 0xd -/* 081DAC 800E88FC 50400002 */ beql $v0, $zero, .L800E8908 -/* 081DB0 800E8900 A2600053 */ sb $zero, 0x53($s3) -/* 081DB4 800E8904 0000B02D */ daddu $s6, $zero, $zero -.L800E8908: -/* 081DB8 800E8908 92620053 */ lbu $v0, 0x53($s3) -/* 081DBC 800E890C 24420001 */ addiu $v0, $v0, 1 -/* 081DC0 800E8910 A2620053 */ sb $v0, 0x53($s3) -.L800E8914: -/* 081DC4 800E8914 12C0001D */ beqz $s6, .L800E898C -/* 081DC8 800E8918 00000000 */ nop -/* 081DCC 800E891C 8E720018 */ lw $s2, 0x18($s3) -/* 081DD0 800E8920 86650034 */ lh $a1, 0x34($s3) -/* 081DD4 800E8924 86660036 */ lh $a2, 0x36($s3) -/* 081DD8 800E8928 0240202D */ daddu $a0, $s2, $zero -/* 081DDC 800E892C 24A500C3 */ addiu $a1, $a1, 0xc3 -/* 081DE0 800E8930 0C051261 */ jal set_icon_render_pos -/* 081DE4 800E8934 24C6000E */ addiu $a2, $a2, 0xe -/* 081DE8 800E8938 0C0511F1 */ jal draw_icon_1 -/* 081DEC 800E893C 0240202D */ daddu $a0, $s2, $zero -/* 081DF0 800E8940 8E72001C */ lw $s2, 0x1c($s3) -/* 081DF4 800E8944 86650034 */ lh $a1, 0x34($s3) -/* 081DF8 800E8948 86660036 */ lh $a2, 0x36($s3) -/* 081DFC 800E894C 0240202D */ daddu $a0, $s2, $zero -/* 081E00 800E8950 24A500C3 */ addiu $a1, $a1, 0xc3 -/* 081E04 800E8954 0C051261 */ jal set_icon_render_pos -/* 081E08 800E8958 24C60009 */ addiu $a2, $a2, 9 -/* 081E0C 800E895C 0C0511F1 */ jal draw_icon_1 -/* 081E10 800E8960 0240202D */ daddu $a0, $s2, $zero -/* 081E14 800E8964 8E640028 */ lw $a0, 0x28($s3) -/* 081E18 800E8968 86650034 */ lh $a1, 0x34($s3) -/* 081E1C 800E896C 24020002 */ addiu $v0, $zero, 2 -/* 081E20 800E8970 AFA20010 */ sw $v0, 0x10($sp) -/* 081E24 800E8974 86660036 */ lh $a2, 0x36($s3) -/* 081E28 800E8978 3C078011 */ lui $a3, 0x8011 -/* 081E2C 800E897C 80E7F2A0 */ lb $a3, -0xd60($a3) -/* 081E30 800E8980 24A500C8 */ addiu $a1, $a1, 0xc8 -/* 081E34 800E8984 0C039F29 */ jal status_menu_draw_number -/* 081E38 800E8988 24C60008 */ addiu $a2, $a2, 8 -.L800E898C: -/* 081E3C 800E898C 82620056 */ lb $v0, 0x56($s3) -/* 081E40 800E8990 92630056 */ lbu $v1, 0x56($s3) -/* 081E44 800E8994 18400007 */ blez $v0, .L800E89B4 -/* 081E48 800E8998 2462FFFF */ addiu $v0, $v1, -1 -/* 081E4C 800E899C A2620056 */ sb $v0, 0x56($s3) -/* 081E50 800E89A0 00021600 */ sll $v0, $v0, 0x18 -/* 081E54 800E89A4 14400003 */ bnez $v0, .L800E89B4 -/* 081E58 800E89A8 00000000 */ nop -/* 081E5C 800E89AC 0C03A68E */ jal status_menu_stop_blinking_coins -/* 081E60 800E89B0 00000000 */ nop -.L800E89B4: -/* 081E64 800E89B4 82620054 */ lb $v0, 0x54($s3) -/* 081E68 800E89B8 1040000C */ beqz $v0, .L800E89EC -/* 081E6C 800E89BC 24160001 */ addiu $s6, $zero, 1 -/* 081E70 800E89C0 82630055 */ lb $v1, 0x55($s3) -/* 081E74 800E89C4 28620009 */ slti $v0, $v1, 9 -/* 081E78 800E89C8 14400005 */ bnez $v0, .L800E89E0 -/* 081E7C 800E89CC 2862000D */ slti $v0, $v1, 0xd -/* 081E80 800E89D0 14400003 */ bnez $v0, .L800E89E0 -/* 081E84 800E89D4 0000B02D */ daddu $s6, $zero, $zero -/* 081E88 800E89D8 A2600055 */ sb $zero, 0x55($s3) -/* 081E8C 800E89DC 24160001 */ addiu $s6, $zero, 1 -.L800E89E0: -/* 081E90 800E89E0 92620055 */ lbu $v0, 0x55($s3) -/* 081E94 800E89E4 24420001 */ addiu $v0, $v0, 1 -/* 081E98 800E89E8 A2620055 */ sb $v0, 0x55($s3) -.L800E89EC: -/* 081E9C 800E89EC 12C0001C */ beqz $s6, .L800E8A60 -/* 081EA0 800E89F0 00000000 */ nop -/* 081EA4 800E89F4 8E720010 */ lw $s2, 0x10($s3) -/* 081EA8 800E89F8 86650034 */ lh $a1, 0x34($s3) -/* 081EAC 800E89FC 86660036 */ lh $a2, 0x36($s3) -/* 081EB0 800E8A00 0240202D */ daddu $a0, $s2, $zero -/* 081EB4 800E8A04 24A500F4 */ addiu $a1, $a1, 0xf4 -/* 081EB8 800E8A08 0C051261 */ jal set_icon_render_pos -/* 081EBC 800E8A0C 24C6000E */ addiu $a2, $a2, 0xe -/* 081EC0 800E8A10 0C0511F1 */ jal draw_icon_1 -/* 081EC4 800E8A14 0240202D */ daddu $a0, $s2, $zero -/* 081EC8 800E8A18 8E720014 */ lw $s2, 0x14($s3) -/* 081ECC 800E8A1C 86650034 */ lh $a1, 0x34($s3) -/* 081ED0 800E8A20 86660036 */ lh $a2, 0x36($s3) -/* 081ED4 800E8A24 0240202D */ daddu $a0, $s2, $zero -/* 081ED8 800E8A28 24A500F4 */ addiu $a1, $a1, 0xf4 -/* 081EDC 800E8A2C 0C051261 */ jal set_icon_render_pos -/* 081EE0 800E8A30 24C6000E */ addiu $a2, $a2, 0xe -/* 081EE4 800E8A34 0C0511F1 */ jal draw_icon_1 -/* 081EE8 800E8A38 0240202D */ daddu $a0, $s2, $zero -/* 081EEC 800E8A3C 8E64002C */ lw $a0, 0x2c($s3) -/* 081EF0 800E8A40 86650034 */ lh $a1, 0x34($s3) -/* 081EF4 800E8A44 24020003 */ addiu $v0, $zero, 3 -/* 081EF8 800E8A48 AFA20010 */ sw $v0, 0x10($sp) -/* 081EFC 800E8A4C 86660036 */ lh $a2, 0x36($s3) -/* 081F00 800E8A50 86670040 */ lh $a3, 0x40($s3) -/* 081F04 800E8A54 24A500F7 */ addiu $a1, $a1, 0xf7 -/* 081F08 800E8A58 0C039F29 */ jal status_menu_draw_number -/* 081F0C 800E8A5C 24C60008 */ addiu $a2, $a2, 8 -.L800E8A60: -/* 081F10 800E8A60 82620050 */ lb $v0, 0x50($s3) -/* 081F14 800E8A64 8E720030 */ lw $s2, 0x30($s3) -/* 081F18 800E8A68 1040000C */ beqz $v0, .L800E8A9C -/* 081F1C 800E8A6C 24160001 */ addiu $s6, $zero, 1 -/* 081F20 800E8A70 82630051 */ lb $v1, 0x51($s3) -/* 081F24 800E8A74 28620006 */ slti $v0, $v1, 6 -/* 081F28 800E8A78 14400005 */ bnez $v0, .L800E8A90 -/* 081F2C 800E8A7C 00000000 */ nop -/* 081F30 800E8A80 28620009 */ slti $v0, $v1, 9 -/* 081F34 800E8A84 50400002 */ beql $v0, $zero, .L800E8A90 -/* 081F38 800E8A88 A2600051 */ sb $zero, 0x51($s3) -/* 081F3C 800E8A8C 0000B02D */ daddu $s6, $zero, $zero -.L800E8A90: -/* 081F40 800E8A90 92620051 */ lbu $v0, 0x51($s3) -/* 081F44 800E8A94 24420001 */ addiu $v0, $v0, 1 -/* 081F48 800E8A98 A2620051 */ sb $v0, 0x51($s3) -.L800E8A9C: -/* 081F4C 800E8A9C 86620034 */ lh $v0, 0x34($s3) -/* 081F50 800E8AA0 245E0014 */ addiu $fp, $v0, 0x14 -/* 081F54 800E8AA4 86620036 */ lh $v0, 0x36($s3) -/* 081F58 800E8AA8 86630048 */ lh $v1, 0x48($s3) -/* 081F5C 800E8AAC 2455001C */ addiu $s5, $v0, 0x1c -/* 081F60 800E8AB0 04610002 */ bgez $v1, .L800E8ABC -/* 081F64 800E8AB4 0060102D */ daddu $v0, $v1, $zero -/* 081F68 800E8AB8 246200FF */ addiu $v0, $v1, 0xff -.L800E8ABC: -/* 081F6C 800E8ABC 00021203 */ sra $v0, $v0, 8 -/* 081F70 800E8AC0 0040202D */ daddu $a0, $v0, $zero -/* 081F74 800E8AC4 00041200 */ sll $v0, $a0, 8 -/* 081F78 800E8AC8 00621023 */ subu $v0, $v1, $v0 -/* 081F7C 800E8ACC 00021400 */ sll $v0, $v0, 0x10 -/* 081F80 800E8AD0 0002A403 */ sra $s4, $v0, 0x10 -/* 081F84 800E8AD4 06810002 */ bgez $s4, .L800E8AE0 -/* 081F88 800E8AD8 0280102D */ daddu $v0, $s4, $zero -/* 081F8C 800E8ADC 2682001F */ addiu $v0, $s4, 0x1f -.L800E8AE0: -/* 081F90 800E8AE0 0002A143 */ sra $s4, $v0, 5 -/* 081F94 800E8AE4 000410C0 */ sll $v0, $a0, 3 -/* 081F98 800E8AE8 0282A021 */ addu $s4, $s4, $v0 -/* 081F9C 800E8AEC 82630057 */ lb $v1, 0x57($s3) -/* 081FA0 800E8AF0 24020001 */ addiu $v0, $zero, 1 -/* 081FA4 800E8AF4 1462002B */ bne $v1, $v0, .L800E8BA4 -/* 081FA8 800E8AF8 00000000 */ nop -/* 081FAC 800E8AFC 3C038011 */ lui $v1, 0x8011 -/* 081FB0 800E8B00 8463F520 */ lh $v1, -0xae0($v1) -/* 081FB4 800E8B04 04610002 */ bgez $v1, .L800E8B10 -/* 081FB8 800E8B08 0060102D */ daddu $v0, $v1, $zero -/* 081FBC 800E8B0C 246200FF */ addiu $v0, $v1, 0xff -.L800E8B10: -/* 081FC0 800E8B10 00021203 */ sra $v0, $v0, 8 -/* 081FC4 800E8B14 0040202D */ daddu $a0, $v0, $zero -/* 081FC8 800E8B18 00041200 */ sll $v0, $a0, 8 -/* 081FCC 800E8B1C 00621023 */ subu $v0, $v1, $v0 -/* 081FD0 800E8B20 00021400 */ sll $v0, $v0, 0x10 -/* 081FD4 800E8B24 0002A403 */ sra $s4, $v0, 0x10 -/* 081FD8 800E8B28 06810002 */ bgez $s4, .L800E8B34 -/* 081FDC 800E8B2C 0280102D */ daddu $v0, $s4, $zero -/* 081FE0 800E8B30 2682001F */ addiu $v0, $s4, 0x1f -.L800E8B34: -/* 081FE4 800E8B34 0002A143 */ sra $s4, $v0, 5 -/* 081FE8 800E8B38 000410C0 */ sll $v0, $a0, 3 -/* 081FEC 800E8B3C 0282A021 */ addu $s4, $s4, $v0 -/* 081FF0 800E8B40 3C036666 */ lui $v1, 0x6666 -/* 081FF4 800E8B44 34636667 */ ori $v1, $v1, 0x6667 -/* 081FF8 800E8B48 00141040 */ sll $v0, $s4, 1 -/* 081FFC 800E8B4C 00541021 */ addu $v0, $v0, $s4 -/* 082000 800E8B50 000210C0 */ sll $v0, $v0, 3 -/* 082004 800E8B54 00541021 */ addu $v0, $v0, $s4 -/* 082008 800E8B58 00430018 */ mult $v0, $v1 -/* 08200C 800E8B5C 44950000 */ mtc1 $s5, $f0 -/* 082010 800E8B60 00000000 */ nop -/* 082014 800E8B64 46800020 */ cvt.s.w $f0, $f0 -/* 082018 800E8B68 000217C3 */ sra $v0, $v0, 0x1f -/* 08201C 800E8B6C 44060000 */ mfc1 $a2, $f0 -/* 082020 800E8B70 3C073F80 */ lui $a3, 0x3f80 -/* 082024 800E8B74 00004810 */ mfhi $t1 -/* 082028 800E8B78 00091883 */ sra $v1, $t1, 2 -/* 08202C 800E8B7C 00621823 */ subu $v1, $v1, $v0 -/* 082030 800E8B80 03C31821 */ addu $v1, $fp, $v1 -/* 082034 800E8B84 44830000 */ mtc1 $v1, $f0 -/* 082038 800E8B88 00000000 */ nop -/* 08203C 800E8B8C 46800020 */ cvt.s.w $f0, $f0 -/* 082040 800E8B90 44050000 */ mfc1 $a1, $f0 -/* 082044 800E8B94 0C03C32C */ jal func_800F0CB0 -/* 082048 800E8B98 0000202D */ daddu $a0, $zero, $zero -/* 08204C 800E8B9C 24020002 */ addiu $v0, $zero, 2 -/* 082050 800E8BA0 A2620057 */ sb $v0, 0x57($s3) -.L800E8BA4: -/* 082054 800E8BA4 82620057 */ lb $v0, 0x57($s3) -/* 082058 800E8BA8 10400022 */ beqz $v0, .L800E8C34 -/* 08205C 800E8BAC AFA00054 */ sw $zero, 0x54($sp) -/* 082060 800E8BB0 82620058 */ lb $v0, 0x58($s3) -/* 082064 800E8BB4 92630058 */ lbu $v1, 0x58($s3) -/* 082068 800E8BB8 10400003 */ beqz $v0, .L800E8BC8 -/* 08206C 800E8BBC 2462FFFF */ addiu $v0, $v1, -1 -/* 082070 800E8BC0 0803A2F3 */ j .L800E8BCC -/* 082074 800E8BC4 A2620058 */ sb $v0, 0x58($s3) - -.L800E8BC8: -/* 082078 800E8BC8 A2600057 */ sb $zero, 0x57($s3) -.L800E8BCC: -/* 08207C 800E8BCC 3C046666 */ lui $a0, 0x6666 -/* 082080 800E8BD0 92630058 */ lbu $v1, 0x58($s3) -/* 082084 800E8BD4 34846667 */ ori $a0, $a0, 0x6667 -/* 082088 800E8BD8 00031E00 */ sll $v1, $v1, 0x18 -/* 08208C 800E8BDC 00031603 */ sra $v0, $v1, 0x18 -/* 082090 800E8BE0 00440018 */ mult $v0, $a0 -/* 082094 800E8BE4 00031FC3 */ sra $v1, $v1, 0x1f -/* 082098 800E8BE8 00004810 */ mfhi $t1 -/* 08209C 800E8BEC 00091043 */ sra $v0, $t1, 1 -/* 0820A0 800E8BF0 00431023 */ subu $v0, $v0, $v1 -/* 0820A4 800E8BF4 30420001 */ andi $v0, $v0, 1 -/* 0820A8 800E8BF8 10400002 */ beqz $v0, .L800E8C04 -/* 0820AC 800E8BFC 24090001 */ addiu $t1, $zero, 1 -/* 0820B0 800E8C00 AFA90054 */ sw $t1, 0x54($sp) -.L800E8C04: -/* 0820B4 800E8C04 82640059 */ lb $a0, 0x59($s3) -/* 0820B8 800E8C08 04810002 */ bgez $a0, .L800E8C14 -/* 0820BC 800E8C0C 0080182D */ daddu $v1, $a0, $zero -/* 0820C0 800E8C10 24830007 */ addiu $v1, $a0, 7 -.L800E8C14: -/* 0820C4 800E8C14 000318C3 */ sra $v1, $v1, 3 -/* 0820C8 800E8C18 000310C0 */ sll $v0, $v1, 3 -/* 0820CC 800E8C1C 00821023 */ subu $v0, $a0, $v0 -/* 0820D0 800E8C20 00021600 */ sll $v0, $v0, 0x18 -/* 0820D4 800E8C24 0002BE03 */ sra $s7, $v0, 0x18 -/* 0820D8 800E8C28 000318C0 */ sll $v1, $v1, 3 -/* 0820DC 800E8C2C 0803A30E */ j .L800E8C38 -/* 0820E0 800E8C30 02E3B821 */ addu $s7, $s7, $v1 - -.L800E8C34: -/* 0820E4 800E8C34 0280B82D */ daddu $s7, $s4, $zero -.L800E8C38: -/* 0820E8 800E8C38 0000802D */ daddu $s0, $zero, $zero -/* 0820EC 800E8C3C AFA00050 */ sw $zero, 0x50($sp) -/* 0820F0 800E8C40 82620050 */ lb $v0, 0x50($s3) -/* 0820F4 800E8C44 1040002C */ beqz $v0, .L800E8CF8 -/* 0820F8 800E8C48 0200882D */ daddu $s1, $s0, $zero -/* 0820FC 800E8C4C 16C0002B */ bnez $s6, .L800E8CFC -/* 082100 800E8C50 26A9FFFE */ addiu $t1, $s5, -2 -/* 082104 800E8C54 8262005A */ lb $v0, 0x5a($s3) -/* 082108 800E8C58 000218C0 */ sll $v1, $v0, 3 -/* 08210C 800E8C5C 8FA90050 */ lw $t1, 0x50($sp) -/* 082110 800E8C60 0123102A */ slt $v0, $t1, $v1 -/* 082114 800E8C64 50400025 */ beql $v0, $zero, .L800E8CFC -/* 082118 800E8C68 26A9FFFE */ addiu $t1, $s5, -2 -.L800E8C6C: -/* 08211C 800E8C6C 26100001 */ addiu $s0, $s0, 1 -/* 082120 800E8C70 0203102A */ slt $v0, $s0, $v1 -/* 082124 800E8C74 10400020 */ beqz $v0, .L800E8CF8 -/* 082128 800E8C78 26310001 */ addiu $s1, $s1, 1 -/* 08212C 800E8C7C 26100001 */ addiu $s0, $s0, 1 -/* 082130 800E8C80 0203102A */ slt $v0, $s0, $v1 -/* 082134 800E8C84 1040001C */ beqz $v0, .L800E8CF8 -/* 082138 800E8C88 26310001 */ addiu $s1, $s1, 1 -/* 08213C 800E8C8C 26100001 */ addiu $s0, $s0, 1 -/* 082140 800E8C90 0203102A */ slt $v0, $s0, $v1 -/* 082144 800E8C94 10400018 */ beqz $v0, .L800E8CF8 -/* 082148 800E8C98 26310001 */ addiu $s1, $s1, 1 -/* 08214C 800E8C9C 26100001 */ addiu $s0, $s0, 1 -/* 082150 800E8CA0 0203102A */ slt $v0, $s0, $v1 -/* 082154 800E8CA4 10400014 */ beqz $v0, .L800E8CF8 -/* 082158 800E8CA8 26310001 */ addiu $s1, $s1, 1 -/* 08215C 800E8CAC 26100001 */ addiu $s0, $s0, 1 -/* 082160 800E8CB0 0203102A */ slt $v0, $s0, $v1 -/* 082164 800E8CB4 10400010 */ beqz $v0, .L800E8CF8 -/* 082168 800E8CB8 26310001 */ addiu $s1, $s1, 1 -/* 08216C 800E8CBC 26100001 */ addiu $s0, $s0, 1 -/* 082170 800E8CC0 0203102A */ slt $v0, $s0, $v1 -/* 082174 800E8CC4 1040000C */ beqz $v0, .L800E8CF8 -/* 082178 800E8CC8 26310001 */ addiu $s1, $s1, 1 -/* 08217C 800E8CCC 26100001 */ addiu $s0, $s0, 1 -/* 082180 800E8CD0 0203102A */ slt $v0, $s0, $v1 -/* 082184 800E8CD4 10400008 */ beqz $v0, .L800E8CF8 -/* 082188 800E8CD8 26310001 */ addiu $s1, $s1, 1 -/* 08218C 800E8CDC 26100001 */ addiu $s0, $s0, 1 -/* 082190 800E8CE0 0000882D */ daddu $s1, $zero, $zero -/* 082194 800E8CE4 8FA90050 */ lw $t1, 0x50($sp) -/* 082198 800E8CE8 0203102A */ slt $v0, $s0, $v1 -/* 08219C 800E8CEC 25290001 */ addiu $t1, $t1, 1 -/* 0821A0 800E8CF0 1440FFDE */ bnez $v0, .L800E8C6C -/* 0821A4 800E8CF4 AFA90050 */ sw $t1, 0x50($sp) -.L800E8CF8: -/* 0821A8 800E8CF8 26A9FFFE */ addiu $t1, $s5, -2 -.L800E8CFC: -/* 0821AC 800E8CFC AFA9005C */ sw $t1, 0x5c($sp) -/* 0821B0 800E8D00 8FA90050 */ lw $t1, 0x50($sp) -/* 0821B4 800E8D04 00091080 */ sll $v0, $t1, 2 -/* 0821B8 800E8D08 00491021 */ addu $v0, $v0, $t1 -/* 0821BC 800E8D0C 00021080 */ sll $v0, $v0, 2 -/* 0821C0 800E8D10 005EB021 */ addu $s6, $v0, $fp -/* 0821C4 800E8D14 AFA20060 */ sw $v0, 0x60($sp) -.L800E8D18: -/* 0821C8 800E8D18 0214102A */ slt $v0, $s0, $s4 -.L800E8D1C: -/* 0821CC 800E8D1C 104000BE */ beqz $v0, .L800E9018 -/* 0821D0 800E8D20 0217102A */ slt $v0, $s0, $s7 -/* 0821D4 800E8D24 54400005 */ bnel $v0, $zero, .L800E8D3C -/* 0821D8 800E8D28 26100001 */ addiu $s0, $s0, 1 -/* 0821DC 800E8D2C 8FA90054 */ lw $t1, 0x54($sp) -/* 0821E0 800E8D30 112000B9 */ beqz $t1, .L800E9018 -/* 0821E4 800E8D34 00000000 */ nop -/* 0821E8 800E8D38 26100001 */ addiu $s0, $s0, 1 -.L800E8D3C: -/* 0821EC 800E8D3C 0240202D */ daddu $a0, $s2, $zero -/* 0821F0 800E8D40 8FA90050 */ lw $t1, 0x50($sp) -/* 0821F4 800E8D44 3C02800F */ lui $v0, 0x800f -/* 0821F8 800E8D48 24427FB0 */ addiu $v0, $v0, 0x7fb0 -/* 0821FC 800E8D4C 00094880 */ sll $t1, $t1, 2 -/* 082200 800E8D50 01229821 */ addu $s3, $t1, $v0 -/* 082204 800E8D54 AFA90058 */ sw $t1, 0x58($sp) -/* 082208 800E8D58 8E650000 */ lw $a1, ($s3) -/* 08220C 800E8D5C 0C0511FF */ jal set_menu_icon_script -/* 082210 800E8D60 26310001 */ addiu $s1, $s1, 1 -/* 082214 800E8D64 0240202D */ daddu $a0, $s2, $zero -/* 082218 800E8D68 3C05800F */ lui $a1, 0x800f -/* 08221C 800E8D6C 8CA57FE8 */ lw $a1, 0x7fe8($a1) -/* 082220 800E8D70 8FA6005C */ lw $a2, 0x5c($sp) -/* 082224 800E8D74 0C051261 */ jal set_icon_render_pos -/* 082228 800E8D78 02C52821 */ addu $a1, $s6, $a1 -/* 08222C 800E8D7C 0C0511F1 */ jal draw_icon_1 -/* 082230 800E8D80 0240202D */ daddu $a0, $s2, $zero -/* 082234 800E8D84 0214102A */ slt $v0, $s0, $s4 -/* 082238 800E8D88 104000A3 */ beqz $v0, .L800E9018 -/* 08223C 800E8D8C 0217102A */ slt $v0, $s0, $s7 -/* 082240 800E8D90 54400005 */ bnel $v0, $zero, .L800E8DA8 -/* 082244 800E8D94 26100001 */ addiu $s0, $s0, 1 -/* 082248 800E8D98 8FA90054 */ lw $t1, 0x54($sp) -/* 08224C 800E8D9C 1120009E */ beqz $t1, .L800E9018 -/* 082250 800E8DA0 00000000 */ nop -/* 082254 800E8DA4 26100001 */ addiu $s0, $s0, 1 -.L800E8DA8: -/* 082258 800E8DA8 0240202D */ daddu $a0, $s2, $zero -/* 08225C 800E8DAC 8E650000 */ lw $a1, ($s3) -/* 082260 800E8DB0 0C0511FF */ jal set_menu_icon_script -/* 082264 800E8DB4 26310001 */ addiu $s1, $s1, 1 -/* 082268 800E8DB8 0240202D */ daddu $a0, $s2, $zero -/* 08226C 800E8DBC 3C05800F */ lui $a1, 0x800f -/* 082270 800E8DC0 8CA57FEC */ lw $a1, 0x7fec($a1) -/* 082274 800E8DC4 8FA6005C */ lw $a2, 0x5c($sp) -/* 082278 800E8DC8 0C051261 */ jal set_icon_render_pos -/* 08227C 800E8DCC 02C52821 */ addu $a1, $s6, $a1 -/* 082280 800E8DD0 0C0511F1 */ jal draw_icon_1 -/* 082284 800E8DD4 0240202D */ daddu $a0, $s2, $zero -/* 082288 800E8DD8 0214102A */ slt $v0, $s0, $s4 -/* 08228C 800E8DDC 1040008E */ beqz $v0, .L800E9018 -/* 082290 800E8DE0 0217102A */ slt $v0, $s0, $s7 -/* 082294 800E8DE4 54400005 */ bnel $v0, $zero, .L800E8DFC -/* 082298 800E8DE8 26100001 */ addiu $s0, $s0, 1 -/* 08229C 800E8DEC 8FA90054 */ lw $t1, 0x54($sp) -/* 0822A0 800E8DF0 11200089 */ beqz $t1, .L800E9018 -/* 0822A4 800E8DF4 00000000 */ nop -/* 0822A8 800E8DF8 26100001 */ addiu $s0, $s0, 1 -.L800E8DFC: -/* 0822AC 800E8DFC 0240202D */ daddu $a0, $s2, $zero -/* 0822B0 800E8E00 8E650000 */ lw $a1, ($s3) -/* 0822B4 800E8E04 0C0511FF */ jal set_menu_icon_script -/* 0822B8 800E8E08 26310001 */ addiu $s1, $s1, 1 -/* 0822BC 800E8E0C 0240202D */ daddu $a0, $s2, $zero -/* 0822C0 800E8E10 3C05800F */ lui $a1, 0x800f -/* 0822C4 800E8E14 8CA57FF0 */ lw $a1, 0x7ff0($a1) -/* 0822C8 800E8E18 8FA6005C */ lw $a2, 0x5c($sp) -/* 0822CC 800E8E1C 0C051261 */ jal set_icon_render_pos -/* 0822D0 800E8E20 02C52821 */ addu $a1, $s6, $a1 -/* 0822D4 800E8E24 0C0511F1 */ jal draw_icon_1 -/* 0822D8 800E8E28 0240202D */ daddu $a0, $s2, $zero -/* 0822DC 800E8E2C 0214102A */ slt $v0, $s0, $s4 -/* 0822E0 800E8E30 10400079 */ beqz $v0, .L800E9018 -/* 0822E4 800E8E34 0217102A */ slt $v0, $s0, $s7 -/* 0822E8 800E8E38 54400005 */ bnel $v0, $zero, .L800E8E50 -/* 0822EC 800E8E3C 26100001 */ addiu $s0, $s0, 1 -/* 0822F0 800E8E40 8FA90054 */ lw $t1, 0x54($sp) -/* 0822F4 800E8E44 11200074 */ beqz $t1, .L800E9018 -/* 0822F8 800E8E48 00000000 */ nop -/* 0822FC 800E8E4C 26100001 */ addiu $s0, $s0, 1 -.L800E8E50: -/* 082300 800E8E50 0240202D */ daddu $a0, $s2, $zero -/* 082304 800E8E54 8E650000 */ lw $a1, ($s3) -/* 082308 800E8E58 0C0511FF */ jal set_menu_icon_script -/* 08230C 800E8E5C 26310001 */ addiu $s1, $s1, 1 -/* 082310 800E8E60 0240202D */ daddu $a0, $s2, $zero -/* 082314 800E8E64 3C05800F */ lui $a1, 0x800f -/* 082318 800E8E68 8CA57FF4 */ lw $a1, 0x7ff4($a1) -/* 08231C 800E8E6C 8FA6005C */ lw $a2, 0x5c($sp) -/* 082320 800E8E70 0C051261 */ jal set_icon_render_pos -/* 082324 800E8E74 02C52821 */ addu $a1, $s6, $a1 -/* 082328 800E8E78 0C0511F1 */ jal draw_icon_1 -/* 08232C 800E8E7C 0240202D */ daddu $a0, $s2, $zero -/* 082330 800E8E80 0214102A */ slt $v0, $s0, $s4 -/* 082334 800E8E84 10400064 */ beqz $v0, .L800E9018 -/* 082338 800E8E88 0217102A */ slt $v0, $s0, $s7 -/* 08233C 800E8E8C 54400005 */ bnel $v0, $zero, .L800E8EA4 -/* 082340 800E8E90 26100001 */ addiu $s0, $s0, 1 -/* 082344 800E8E94 8FA90054 */ lw $t1, 0x54($sp) -/* 082348 800E8E98 1120005F */ beqz $t1, .L800E9018 -/* 08234C 800E8E9C 00000000 */ nop -/* 082350 800E8EA0 26100001 */ addiu $s0, $s0, 1 -.L800E8EA4: -/* 082354 800E8EA4 0240202D */ daddu $a0, $s2, $zero -/* 082358 800E8EA8 8E650000 */ lw $a1, ($s3) -/* 08235C 800E8EAC 0C0511FF */ jal set_menu_icon_script -/* 082360 800E8EB0 26310001 */ addiu $s1, $s1, 1 -/* 082364 800E8EB4 0240202D */ daddu $a0, $s2, $zero -/* 082368 800E8EB8 3C05800F */ lui $a1, 0x800f -/* 08236C 800E8EBC 8CA57FF8 */ lw $a1, 0x7ff8($a1) -/* 082370 800E8EC0 8FA6005C */ lw $a2, 0x5c($sp) -/* 082374 800E8EC4 0C051261 */ jal set_icon_render_pos -/* 082378 800E8EC8 02C52821 */ addu $a1, $s6, $a1 -/* 08237C 800E8ECC 0C0511F1 */ jal draw_icon_1 -/* 082380 800E8ED0 0240202D */ daddu $a0, $s2, $zero -/* 082384 800E8ED4 0214102A */ slt $v0, $s0, $s4 -/* 082388 800E8ED8 1040004F */ beqz $v0, .L800E9018 -/* 08238C 800E8EDC 0217102A */ slt $v0, $s0, $s7 -/* 082390 800E8EE0 54400005 */ bnel $v0, $zero, .L800E8EF8 -/* 082394 800E8EE4 26100001 */ addiu $s0, $s0, 1 -/* 082398 800E8EE8 8FA90054 */ lw $t1, 0x54($sp) -/* 08239C 800E8EEC 1120004A */ beqz $t1, .L800E9018 -/* 0823A0 800E8EF0 00000000 */ nop -/* 0823A4 800E8EF4 26100001 */ addiu $s0, $s0, 1 -.L800E8EF8: -/* 0823A8 800E8EF8 0240202D */ daddu $a0, $s2, $zero -/* 0823AC 800E8EFC 8E650000 */ lw $a1, ($s3) -/* 0823B0 800E8F00 0C0511FF */ jal set_menu_icon_script -/* 0823B4 800E8F04 26310001 */ addiu $s1, $s1, 1 -/* 0823B8 800E8F08 0240202D */ daddu $a0, $s2, $zero -/* 0823BC 800E8F0C 3C05800F */ lui $a1, 0x800f -/* 0823C0 800E8F10 8CA57FFC */ lw $a1, 0x7ffc($a1) -/* 0823C4 800E8F14 8FA6005C */ lw $a2, 0x5c($sp) -/* 0823C8 800E8F18 0C051261 */ jal set_icon_render_pos -/* 0823CC 800E8F1C 02C52821 */ addu $a1, $s6, $a1 -/* 0823D0 800E8F20 0C0511F1 */ jal draw_icon_1 -/* 0823D4 800E8F24 0240202D */ daddu $a0, $s2, $zero -/* 0823D8 800E8F28 0214102A */ slt $v0, $s0, $s4 -/* 0823DC 800E8F2C 1040003A */ beqz $v0, .L800E9018 -/* 0823E0 800E8F30 0217102A */ slt $v0, $s0, $s7 -/* 0823E4 800E8F34 54400005 */ bnel $v0, $zero, .L800E8F4C -/* 0823E8 800E8F38 26100001 */ addiu $s0, $s0, 1 -/* 0823EC 800E8F3C 8FA90054 */ lw $t1, 0x54($sp) -/* 0823F0 800E8F40 11200035 */ beqz $t1, .L800E9018 -/* 0823F4 800E8F44 00000000 */ nop -/* 0823F8 800E8F48 26100001 */ addiu $s0, $s0, 1 -.L800E8F4C: -/* 0823FC 800E8F4C 0240202D */ daddu $a0, $s2, $zero -/* 082400 800E8F50 8E650000 */ lw $a1, ($s3) -/* 082404 800E8F54 0C0511FF */ jal set_menu_icon_script -/* 082408 800E8F58 26310001 */ addiu $s1, $s1, 1 -/* 08240C 800E8F5C 0240202D */ daddu $a0, $s2, $zero -/* 082410 800E8F60 3C058010 */ lui $a1, 0x8010 -/* 082414 800E8F64 8CA58000 */ lw $a1, -0x8000($a1) -/* 082418 800E8F68 8FA6005C */ lw $a2, 0x5c($sp) -/* 08241C 800E8F6C 0C051261 */ jal set_icon_render_pos -/* 082420 800E8F70 02C52821 */ addu $a1, $s6, $a1 -/* 082424 800E8F74 0C0511F1 */ jal draw_icon_1 -/* 082428 800E8F78 0240202D */ daddu $a0, $s2, $zero -/* 08242C 800E8F7C 0214102A */ slt $v0, $s0, $s4 -/* 082430 800E8F80 10400025 */ beqz $v0, .L800E9018 -/* 082434 800E8F84 0217102A */ slt $v0, $s0, $s7 -/* 082438 800E8F88 54400005 */ bnel $v0, $zero, .L800E8FA0 -/* 08243C 800E8F8C 26100001 */ addiu $s0, $s0, 1 -/* 082440 800E8F90 8FA90054 */ lw $t1, 0x54($sp) -/* 082444 800E8F94 11200020 */ beqz $t1, .L800E9018 -/* 082448 800E8F98 00000000 */ nop -/* 08244C 800E8F9C 26100001 */ addiu $s0, $s0, 1 -.L800E8FA0: -/* 082450 800E8FA0 0240202D */ daddu $a0, $s2, $zero -/* 082454 800E8FA4 8FA90058 */ lw $t1, 0x58($sp) -/* 082458 800E8FA8 0000882D */ daddu $s1, $zero, $zero -/* 08245C 800E8FAC 3C05800F */ lui $a1, 0x800f -/* 082460 800E8FB0 00A92821 */ addu $a1, $a1, $t1 -/* 082464 800E8FB4 8CA57FCC */ lw $a1, 0x7fcc($a1) -/* 082468 800E8FB8 8FA90050 */ lw $t1, 0x50($sp) -/* 08246C 800E8FBC 26D60014 */ addiu $s6, $s6, 0x14 -/* 082470 800E8FC0 25290001 */ addiu $t1, $t1, 1 -/* 082474 800E8FC4 0C0511FF */ jal set_menu_icon_script -/* 082478 800E8FC8 AFA90050 */ sw $t1, 0x50($sp) -/* 08247C 800E8FCC 0240202D */ daddu $a0, $s2, $zero -/* 082480 800E8FD0 8FA90060 */ lw $t1, 0x60($sp) -/* 082484 800E8FD4 02A0302D */ daddu $a2, $s5, $zero -/* 082488 800E8FD8 2525000C */ addiu $a1, $t1, 0xc -/* 08248C 800E8FDC 0C051261 */ jal set_icon_render_pos -/* 082490 800E8FE0 03C52821 */ addu $a1, $fp, $a1 -/* 082494 800E8FE4 0C0511F1 */ jal draw_icon_1 -/* 082498 800E8FE8 0240202D */ daddu $a0, $s2, $zero -/* 08249C 800E8FEC 8FA90060 */ lw $t1, 0x60($sp) -/* 0824A0 800E8FF0 0214102A */ slt $v0, $s0, $s4 -/* 0824A4 800E8FF4 25290014 */ addiu $t1, $t1, 0x14 -/* 0824A8 800E8FF8 10400007 */ beqz $v0, .L800E9018 -/* 0824AC 800E8FFC AFA90060 */ sw $t1, 0x60($sp) -/* 0824B0 800E9000 0217102A */ slt $v0, $s0, $s7 -/* 0824B4 800E9004 1440FF45 */ bnez $v0, .L800E8D1C -/* 0824B8 800E9008 0214102A */ slt $v0, $s0, $s4 -/* 0824BC 800E900C 8FA90054 */ lw $t1, 0x54($sp) -/* 0824C0 800E9010 1520FF41 */ bnez $t1, .L800E8D18 -/* 0824C4 800E9014 00000000 */ nop -.L800E9018: -/* 0824C8 800E9018 3C16800F */ lui $s6, 0x800f -/* 0824CC 800E901C 26D67FE8 */ addiu $s6, $s6, 0x7fe8 -/* 0824D0 800E9020 8FA90050 */ lw $t1, 0x50($sp) -/* 0824D4 800E9024 3C048011 */ lui $a0, 0x8011 -/* 0824D8 800E9028 8084F51E */ lb $a0, -0xae2($a0) -/* 0824DC 800E902C 00091080 */ sll $v0, $t1, 2 -/* 0824E0 800E9030 00491021 */ addu $v0, $v0, $t1 -/* 0824E4 800E9034 00021080 */ sll $v0, $v0, 2 -/* 0824E8 800E9038 2457000C */ addiu $s7, $v0, 0xc -/* 0824EC 800E903C 005E9821 */ addu $s3, $v0, $fp -/* 0824F0 800E9040 0004A0C0 */ sll $s4, $a0, 3 -.L800E9044: -/* 0824F4 800E9044 0214102A */ slt $v0, $s0, $s4 -/* 0824F8 800E9048 10400093 */ beqz $v0, .L800E9298 -/* 0824FC 800E904C 00000000 */ nop -/* 082500 800E9050 16200012 */ bnez $s1, .L800E909C -/* 082504 800E9054 24020001 */ addiu $v0, $zero, 1 -/* 082508 800E9058 26100001 */ addiu $s0, $s0, 1 -/* 08250C 800E905C 3C058011 */ lui $a1, 0x8011 -/* 082510 800E9060 24A583B0 */ addiu $a1, $a1, -0x7c50 -/* 082514 800E9064 0C0511FF */ jal set_menu_icon_script -/* 082518 800E9068 0240202D */ daddu $a0, $s2, $zero -/* 08251C 800E906C 0240202D */ daddu $a0, $s2, $zero -/* 082520 800E9070 3C05800F */ lui $a1, 0x800f -/* 082524 800E9074 8CA57FE8 */ lw $a1, 0x7fe8($a1) -/* 082528 800E9078 26A6FFFE */ addiu $a2, $s5, -2 -/* 08252C 800E907C 0C051261 */ jal set_icon_render_pos -/* 082530 800E9080 02652821 */ addu $a1, $s3, $a1 -/* 082534 800E9084 0C0511F1 */ jal draw_icon_1 -/* 082538 800E9088 0240202D */ daddu $a0, $s2, $zero -/* 08253C 800E908C 0214102A */ slt $v0, $s0, $s4 -/* 082540 800E9090 10400081 */ beqz $v0, .L800E9298 -/* 082544 800E9094 24110001 */ addiu $s1, $zero, 1 -/* 082548 800E9098 24020001 */ addiu $v0, $zero, 1 -.L800E909C: -/* 08254C 800E909C 56220011 */ bnel $s1, $v0, .L800E90E4 -/* 082550 800E90A0 24020002 */ addiu $v0, $zero, 2 -/* 082554 800E90A4 02028021 */ addu $s0, $s0, $v0 -/* 082558 800E90A8 3C058011 */ lui $a1, 0x8011 -/* 08255C 800E90AC 24A583B0 */ addiu $a1, $a1, -0x7c50 -/* 082560 800E90B0 0C0511FF */ jal set_menu_icon_script -/* 082564 800E90B4 0240202D */ daddu $a0, $s2, $zero -/* 082568 800E90B8 0240202D */ daddu $a0, $s2, $zero -/* 08256C 800E90BC 8EC50004 */ lw $a1, 4($s6) -/* 082570 800E90C0 26A6FFFE */ addiu $a2, $s5, -2 -/* 082574 800E90C4 0C051261 */ jal set_icon_render_pos -/* 082578 800E90C8 02652821 */ addu $a1, $s3, $a1 -/* 08257C 800E90CC 0C0511F1 */ jal draw_icon_1 -/* 082580 800E90D0 0240202D */ daddu $a0, $s2, $zero -/* 082584 800E90D4 0214102A */ slt $v0, $s0, $s4 -/* 082588 800E90D8 1040006F */ beqz $v0, .L800E9298 -/* 08258C 800E90DC 24110002 */ addiu $s1, $zero, 2 -/* 082590 800E90E0 24020002 */ addiu $v0, $zero, 2 -.L800E90E4: -/* 082594 800E90E4 16220011 */ bne $s1, $v0, .L800E912C -/* 082598 800E90E8 24020003 */ addiu $v0, $zero, 3 -/* 08259C 800E90EC 26100001 */ addiu $s0, $s0, 1 -/* 0825A0 800E90F0 3C058011 */ lui $a1, 0x8011 -/* 0825A4 800E90F4 24A583B0 */ addiu $a1, $a1, -0x7c50 -/* 0825A8 800E90F8 0C0511FF */ jal set_menu_icon_script -/* 0825AC 800E90FC 0240202D */ daddu $a0, $s2, $zero -/* 0825B0 800E9100 0240202D */ daddu $a0, $s2, $zero -/* 0825B4 800E9104 8EC50008 */ lw $a1, 8($s6) -/* 0825B8 800E9108 26A6FFFE */ addiu $a2, $s5, -2 -/* 0825BC 800E910C 0C051261 */ jal set_icon_render_pos -/* 0825C0 800E9110 02652821 */ addu $a1, $s3, $a1 -/* 0825C4 800E9114 0C0511F1 */ jal draw_icon_1 -/* 0825C8 800E9118 0240202D */ daddu $a0, $s2, $zero -/* 0825CC 800E911C 0214102A */ slt $v0, $s0, $s4 -/* 0825D0 800E9120 1040005D */ beqz $v0, .L800E9298 -/* 0825D4 800E9124 24110003 */ addiu $s1, $zero, 3 -/* 0825D8 800E9128 24020003 */ addiu $v0, $zero, 3 -.L800E912C: -/* 0825DC 800E912C 16220011 */ bne $s1, $v0, .L800E9174 -/* 0825E0 800E9130 24020004 */ addiu $v0, $zero, 4 -/* 0825E4 800E9134 26100001 */ addiu $s0, $s0, 1 -/* 0825E8 800E9138 3C058011 */ lui $a1, 0x8011 -/* 0825EC 800E913C 24A583B0 */ addiu $a1, $a1, -0x7c50 -/* 0825F0 800E9140 0C0511FF */ jal set_menu_icon_script -/* 0825F4 800E9144 0240202D */ daddu $a0, $s2, $zero -/* 0825F8 800E9148 0240202D */ daddu $a0, $s2, $zero -/* 0825FC 800E914C 8EC5000C */ lw $a1, 0xc($s6) -/* 082600 800E9150 26A6FFFE */ addiu $a2, $s5, -2 -/* 082604 800E9154 0C051261 */ jal set_icon_render_pos -/* 082608 800E9158 02652821 */ addu $a1, $s3, $a1 -/* 08260C 800E915C 0C0511F1 */ jal draw_icon_1 -/* 082610 800E9160 0240202D */ daddu $a0, $s2, $zero -/* 082614 800E9164 0214102A */ slt $v0, $s0, $s4 -/* 082618 800E9168 1040004B */ beqz $v0, .L800E9298 -/* 08261C 800E916C 24110004 */ addiu $s1, $zero, 4 -/* 082620 800E9170 24020004 */ addiu $v0, $zero, 4 -.L800E9174: -/* 082624 800E9174 16220011 */ bne $s1, $v0, .L800E91BC -/* 082628 800E9178 24020005 */ addiu $v0, $zero, 5 -/* 08262C 800E917C 26100001 */ addiu $s0, $s0, 1 -/* 082630 800E9180 3C058011 */ lui $a1, 0x8011 -/* 082634 800E9184 24A583B0 */ addiu $a1, $a1, -0x7c50 -/* 082638 800E9188 0C0511FF */ jal set_menu_icon_script -/* 08263C 800E918C 0240202D */ daddu $a0, $s2, $zero -/* 082640 800E9190 0240202D */ daddu $a0, $s2, $zero -/* 082644 800E9194 8EC50010 */ lw $a1, 0x10($s6) -/* 082648 800E9198 26A6FFFE */ addiu $a2, $s5, -2 -/* 08264C 800E919C 0C051261 */ jal set_icon_render_pos -/* 082650 800E91A0 02652821 */ addu $a1, $s3, $a1 -/* 082654 800E91A4 0C0511F1 */ jal draw_icon_1 -/* 082658 800E91A8 0240202D */ daddu $a0, $s2, $zero -/* 08265C 800E91AC 0214102A */ slt $v0, $s0, $s4 -/* 082660 800E91B0 10400039 */ beqz $v0, .L800E9298 -/* 082664 800E91B4 24110005 */ addiu $s1, $zero, 5 -/* 082668 800E91B8 24020005 */ addiu $v0, $zero, 5 -.L800E91BC: -/* 08266C 800E91BC 16220011 */ bne $s1, $v0, .L800E9204 -/* 082670 800E91C0 24020006 */ addiu $v0, $zero, 6 -/* 082674 800E91C4 26100001 */ addiu $s0, $s0, 1 -/* 082678 800E91C8 3C058011 */ lui $a1, 0x8011 -/* 08267C 800E91CC 24A583B0 */ addiu $a1, $a1, -0x7c50 -/* 082680 800E91D0 0C0511FF */ jal set_menu_icon_script -/* 082684 800E91D4 0240202D */ daddu $a0, $s2, $zero -/* 082688 800E91D8 0240202D */ daddu $a0, $s2, $zero -/* 08268C 800E91DC 8EC50014 */ lw $a1, 0x14($s6) -/* 082690 800E91E0 26A6FFFE */ addiu $a2, $s5, -2 -/* 082694 800E91E4 0C051261 */ jal set_icon_render_pos -/* 082698 800E91E8 02652821 */ addu $a1, $s3, $a1 -/* 08269C 800E91EC 0C0511F1 */ jal draw_icon_1 -/* 0826A0 800E91F0 0240202D */ daddu $a0, $s2, $zero -/* 0826A4 800E91F4 0214102A */ slt $v0, $s0, $s4 -/* 0826A8 800E91F8 10400027 */ beqz $v0, .L800E9298 -/* 0826AC 800E91FC 24110006 */ addiu $s1, $zero, 6 -/* 0826B0 800E9200 24020006 */ addiu $v0, $zero, 6 -.L800E9204: -/* 0826B4 800E9204 16220011 */ bne $s1, $v0, .L800E924C -/* 0826B8 800E9208 24020007 */ addiu $v0, $zero, 7 -/* 0826BC 800E920C 26100001 */ addiu $s0, $s0, 1 -/* 0826C0 800E9210 3C058011 */ lui $a1, 0x8011 -/* 0826C4 800E9214 24A583B0 */ addiu $a1, $a1, -0x7c50 -/* 0826C8 800E9218 0C0511FF */ jal set_menu_icon_script -/* 0826CC 800E921C 0240202D */ daddu $a0, $s2, $zero -/* 0826D0 800E9220 0240202D */ daddu $a0, $s2, $zero -/* 0826D4 800E9224 8EC50018 */ lw $a1, 0x18($s6) -/* 0826D8 800E9228 26A6FFFE */ addiu $a2, $s5, -2 -/* 0826DC 800E922C 0C051261 */ jal set_icon_render_pos -/* 0826E0 800E9230 02652821 */ addu $a1, $s3, $a1 -/* 0826E4 800E9234 0C0511F1 */ jal draw_icon_1 -/* 0826E8 800E9238 0240202D */ daddu $a0, $s2, $zero -/* 0826EC 800E923C 0214102A */ slt $v0, $s0, $s4 -/* 0826F0 800E9240 10400015 */ beqz $v0, .L800E9298 -/* 0826F4 800E9244 24110007 */ addiu $s1, $zero, 7 -/* 0826F8 800E9248 24020007 */ addiu $v0, $zero, 7 -.L800E924C: -/* 0826FC 800E924C 1622000F */ bne $s1, $v0, .L800E928C -/* 082700 800E9250 0000882D */ daddu $s1, $zero, $zero -/* 082704 800E9254 26100001 */ addiu $s0, $s0, 1 -/* 082708 800E9258 3C058011 */ lui $a1, 0x8011 -/* 08270C 800E925C 24A584F0 */ addiu $a1, $a1, -0x7b10 -/* 082710 800E9260 0C0511FF */ jal set_menu_icon_script -/* 082714 800E9264 0240202D */ daddu $a0, $s2, $zero -/* 082718 800E9268 0240202D */ daddu $a0, $s2, $zero -/* 08271C 800E926C 03D72821 */ addu $a1, $fp, $s7 -/* 082720 800E9270 0C051261 */ jal set_icon_render_pos -/* 082724 800E9274 02A0302D */ daddu $a2, $s5, $zero -/* 082728 800E9278 0C0511F1 */ jal draw_icon_1 -/* 08272C 800E927C 0240202D */ daddu $a0, $s2, $zero -/* 082730 800E9280 0214102A */ slt $v0, $s0, $s4 -/* 082734 800E9284 10400004 */ beqz $v0, .L800E9298 -/* 082738 800E9288 0000882D */ daddu $s1, $zero, $zero -.L800E928C: -/* 08273C 800E928C 26F70014 */ addiu $s7, $s7, 0x14 -/* 082740 800E9290 0803A411 */ j .L800E9044 -/* 082744 800E9294 26730014 */ addiu $s3, $s3, 0x14 - -.L800E9298: -/* 082748 800E9298 0C03C360 */ jal func_800F0D80 -/* 08274C 800E929C 00000000 */ nop -/* 082750 800E92A0 0C03C40B */ jal func_800F102C -/* 082754 800E92A4 00000000 */ nop -.L800E92A8: -/* 082758 800E92A8 8FBF008C */ lw $ra, 0x8c($sp) -/* 08275C 800E92AC 8FBE0088 */ lw $fp, 0x88($sp) -/* 082760 800E92B0 8FB70084 */ lw $s7, 0x84($sp) -/* 082764 800E92B4 8FB60080 */ lw $s6, 0x80($sp) -/* 082768 800E92B8 8FB5007C */ lw $s5, 0x7c($sp) -/* 08276C 800E92BC 8FB40078 */ lw $s4, 0x78($sp) -/* 082770 800E92C0 8FB30074 */ lw $s3, 0x74($sp) -/* 082774 800E92C4 8FB20070 */ lw $s2, 0x70($sp) -/* 082778 800E92C8 8FB1006C */ lw $s1, 0x6c($sp) -/* 08277C 800E92CC 8FB00068 */ lw $s0, 0x68($sp) -/* 082780 800E92D0 03E00008 */ jr $ra -/* 082784 800E92D4 27BD0090 */ addiu $sp, $sp, 0x90 - -coin_counter_draw_content: -/* 082788 800E92D8 3C038011 */ lui $v1, 0x8011 -/* 08278C 800E92DC 8463F29C */ lh $v1, -0xd64($v1) -/* 082790 800E92E0 27BDFFC8 */ addiu $sp, $sp, -0x38 -/* 082794 800E92E4 AFB3002C */ sw $s3, 0x2c($sp) -/* 082798 800E92E8 00A0982D */ daddu $s3, $a1, $zero -/* 08279C 800E92EC AFB20028 */ sw $s2, 0x28($sp) -/* 0827A0 800E92F0 3C128011 */ lui $s2, 0x8011 -/* 0827A4 800E92F4 2652EF58 */ addiu $s2, $s2, -0x10a8 -/* 0827A8 800E92F8 AFBF0034 */ sw $ra, 0x34($sp) -/* 0827AC 800E92FC AFB40030 */ sw $s4, 0x30($sp) -/* 0827B0 800E9300 AFB10024 */ sw $s1, 0x24($sp) -/* 0827B4 800E9304 AFB00020 */ sw $s0, 0x20($sp) -/* 0827B8 800E9308 86420040 */ lh $v0, 0x40($s2) -/* 0827BC 800E930C 10620011 */ beq $v1, $v0, .L800E9354 -/* 0827C0 800E9310 00C0A02D */ daddu $s4, $a2, $zero -/* 0827C4 800E9314 3C028007 */ lui $v0, 0x8007 -/* 0827C8 800E9318 8C42419C */ lw $v0, 0x419c($v0) -/* 0827CC 800E931C 94430134 */ lhu $v1, 0x134($v0) -/* 0827D0 800E9320 3C02AAAA */ lui $v0, 0xaaaa -/* 0827D4 800E9324 3442AAAB */ ori $v0, $v0, 0xaaab -/* 0827D8 800E9328 00620019 */ multu $v1, $v0 -/* 0827DC 800E932C 00004010 */ mfhi $t0 -/* 0827E0 800E9330 00082042 */ srl $a0, $t0, 1 -/* 0827E4 800E9334 00041040 */ sll $v0, $a0, 1 -/* 0827E8 800E9338 00441021 */ addu $v0, $v0, $a0 -/* 0827EC 800E933C 00621823 */ subu $v1, $v1, $v0 -/* 0827F0 800E9340 3063FFFF */ andi $v1, $v1, 0xffff -/* 0827F4 800E9344 14600004 */ bnez $v1, .L800E9358 -/* 0827F8 800E9348 2665001B */ addiu $a1, $s3, 0x1b -/* 0827FC 800E934C 0C05272D */ jal play_sound -/* 082800 800E9350 24040211 */ addiu $a0, $zero, 0x211 -.L800E9354: -/* 082804 800E9354 2665001B */ addiu $a1, $s3, 0x1b -.L800E9358: -/* 082808 800E9358 2690000B */ addiu $s0, $s4, 0xb -/* 08280C 800E935C 8E51005C */ lw $s1, 0x5c($s2) -/* 082810 800E9360 0200302D */ daddu $a2, $s0, $zero -/* 082814 800E9364 0C051261 */ jal set_icon_render_pos -/* 082818 800E9368 0220202D */ daddu $a0, $s1, $zero -/* 08281C 800E936C 0C0511EA */ jal draw_icon_0 -/* 082820 800E9370 0220202D */ daddu $a0, $s1, $zero -/* 082824 800E9374 2665000F */ addiu $a1, $s3, 0xf -/* 082828 800E9378 8E510060 */ lw $s1, 0x60($s2) -/* 08282C 800E937C 0200302D */ daddu $a2, $s0, $zero -/* 082830 800E9380 0C051261 */ jal set_icon_render_pos -/* 082834 800E9384 0220202D */ daddu $a0, $s1, $zero -/* 082838 800E9388 0C0511EA */ jal draw_icon_0 -/* 08283C 800E938C 0220202D */ daddu $a0, $s1, $zero -/* 082840 800E9390 2665003A */ addiu $a1, $s3, 0x3a -/* 082844 800E9394 26860004 */ addiu $a2, $s4, 4 -/* 082848 800E9398 2402000A */ addiu $v0, $zero, 0xa -/* 08284C 800E939C AFA20010 */ sw $v0, 0x10($sp) -/* 082850 800E93A0 240200FF */ addiu $v0, $zero, 0xff -/* 082854 800E93A4 AFA20014 */ sw $v0, 0x14($sp) -/* 082858 800E93A8 24020003 */ addiu $v0, $zero, 3 -/* 08285C 800E93AC 86440040 */ lh $a0, 0x40($s2) -/* 082860 800E93B0 24070001 */ addiu $a3, $zero, 1 -/* 082864 800E93B4 0C049DA7 */ jal draw_number -/* 082868 800E93B8 AFA20018 */ sw $v0, 0x18($sp) -/* 08286C 800E93BC 8FBF0034 */ lw $ra, 0x34($sp) -/* 082870 800E93C0 8FB40030 */ lw $s4, 0x30($sp) -/* 082874 800E93C4 8FB3002C */ lw $s3, 0x2c($sp) -/* 082878 800E93C8 8FB20028 */ lw $s2, 0x28($sp) -/* 08287C 800E93CC 8FB10024 */ lw $s1, 0x24($sp) -/* 082880 800E93D0 8FB00020 */ lw $s0, 0x20($sp) -/* 082884 800E93D4 03E00008 */ jr $ra -/* 082888 800E93D8 27BD0038 */ addiu $sp, $sp, 0x38 - -update_coin_counter: -/* 08288C 800E93DC 27BDFFE0 */ addiu $sp, $sp, -0x20 -/* 082890 800E93E0 AFB00010 */ sw $s0, 0x10($sp) -/* 082894 800E93E4 3C108011 */ lui $s0, 0x8011 -/* 082898 800E93E8 2610EF58 */ addiu $s0, $s0, -0x10a8 -/* 08289C 800E93EC AFB10014 */ sw $s1, 0x14($sp) -/* 0828A0 800E93F0 3C118011 */ lui $s1, 0x8011 -/* 0828A4 800E93F4 2631F290 */ addiu $s1, $s1, -0xd70 -/* 0828A8 800E93F8 AFBF0018 */ sw $ra, 0x18($sp) -/* 0828AC 800E93FC 9203006D */ lbu $v1, 0x6d($s0) -/* 0828B0 800E9400 8202006D */ lb $v0, 0x6d($s0) -/* 0828B4 800E9404 10400010 */ beqz $v0, .L800E9448 -/* 0828B8 800E9408 2462FFFF */ addiu $v0, $v1, -1 -/* 0828BC 800E940C A202006D */ sb $v0, 0x6d($s0) -/* 0828C0 800E9410 00021600 */ sll $v0, $v0, 0x18 -/* 0828C4 800E9414 1440000A */ bnez $v0, .L800E9440 -/* 0828C8 800E9418 00000000 */ nop -/* 0828CC 800E941C 8E040064 */ lw $a0, 0x64($s0) -/* 0828D0 800E9420 04800007 */ bltz $a0, .L800E9440 -/* 0828D4 800E9424 00000000 */ nop -/* 0828D8 800E9428 0C05123D */ jal free_icon -/* 0828DC 800E942C 00000000 */ nop -/* 0828E0 800E9430 0C05123D */ jal free_icon -/* 0828E4 800E9434 8E040068 */ lw $a0, 0x68($s0) -/* 0828E8 800E9438 2402FFFF */ addiu $v0, $zero, -1 -/* 0828EC 800E943C AE020064 */ sw $v0, 0x64($s0) -.L800E9440: -/* 0828F0 800E9440 3C018011 */ lui $at, 0x8011 -/* 0828F4 800E9444 A420CD12 */ sh $zero, -0x32ee($at) -.L800E9448: -/* 0828F8 800E9448 8204006C */ lb $a0, 0x6c($s0) -/* 0828FC 800E944C 1080002D */ beqz $a0, .L800E9504 -/* 082900 800E9450 00000000 */ nop -/* 082904 800E9454 86030040 */ lh $v1, 0x40($s0) -/* 082908 800E9458 8622000C */ lh $v0, 0xc($s1) -/* 08290C 800E945C 14620008 */ bne $v1, $v0, .L800E9480 -/* 082910 800E9460 2882001F */ slti $v0, $a0, 0x1f -/* 082914 800E9464 14400003 */ bnez $v0, .L800E9474 -/* 082918 800E9468 2402001E */ addiu $v0, $zero, 0x1e -/* 08291C 800E946C A202006C */ sb $v0, 0x6c($s0) -/* 082920 800E9470 86030040 */ lh $v1, 0x40($s0) -.L800E9474: -/* 082924 800E9474 8622000C */ lh $v0, 0xc($s1) -/* 082928 800E9478 10620005 */ beq $v1, $v0, .L800E9490 -/* 08292C 800E947C 00000000 */ nop -.L800E9480: -/* 082930 800E9480 8202006C */ lb $v0, 0x6c($s0) -/* 082934 800E9484 2842001F */ slti $v0, $v0, 0x1f -/* 082938 800E9488 1040001E */ beqz $v0, .L800E9504 -/* 08293C 800E948C 00000000 */ nop -.L800E9490: -/* 082940 800E9490 9202006C */ lbu $v0, 0x6c($s0) -/* 082944 800E9494 2442FFFF */ addiu $v0, $v0, -1 -/* 082948 800E9498 A202006C */ sb $v0, 0x6c($s0) -/* 08294C 800E949C 00021600 */ sll $v0, $v0, 0x18 -/* 082950 800E94A0 14400018 */ bnez $v0, .L800E9504 -/* 082954 800E94A4 00000000 */ nop -/* 082958 800E94A8 3C058014 */ lui $a1, 0x8014 -/* 08295C 800E94AC 24A57574 */ addiu $a1, $a1, 0x7574 -/* 082960 800E94B0 0C051F9F */ jal func_80147E7C -/* 082964 800E94B4 24040014 */ addiu $a0, $zero, 0x14 -/* 082968 800E94B8 8E03005C */ lw $v1, 0x5c($s0) -/* 08296C 800E94BC 8E040060 */ lw $a0, 0x60($s0) -/* 082970 800E94C0 2402000F */ addiu $v0, $zero, 0xf -/* 082974 800E94C4 A202006D */ sb $v0, 0x6d($s0) -/* 082978 800E94C8 9625000C */ lhu $a1, 0xc($s1) -/* 08297C 800E94CC 24020001 */ addiu $v0, $zero, 1 -/* 082980 800E94D0 3C018011 */ lui $at, 0x8011 -/* 082984 800E94D4 A420CD10 */ sh $zero, -0x32f0($at) -/* 082988 800E94D8 3C018011 */ lui $at, 0x8011 -/* 08298C 800E94DC A422CD12 */ sh $v0, -0x32ee($at) -/* 082990 800E94E0 8202006E */ lb $v0, 0x6e($s0) -/* 082994 800E94E4 AE030064 */ sw $v1, 0x64($s0) -/* 082998 800E94E8 9203006E */ lbu $v1, 0x6e($s0) -/* 08299C 800E94EC AE040068 */ sw $a0, 0x68($s0) -/* 0829A0 800E94F0 04400004 */ bltz $v0, .L800E9504 -/* 0829A4 800E94F4 A6050040 */ sh $a1, 0x40($s0) -/* 0829A8 800E94F8 2402FFFF */ addiu $v0, $zero, -1 -/* 0829AC 800E94FC A2030044 */ sb $v1, 0x44($s0) -/* 0829B0 800E9500 A202006E */ sb $v0, 0x6e($s0) -.L800E9504: -/* 0829B4 800E9504 8FBF0018 */ lw $ra, 0x18($sp) -/* 0829B8 800E9508 8FB10014 */ lw $s1, 0x14($sp) -/* 0829BC 800E950C 8FB00010 */ lw $s0, 0x10($sp) -/* 0829C0 800E9510 03E00008 */ jr $ra -/* 0829C4 800E9514 27BD0020 */ addiu $sp, $sp, 0x20 - -show_coin_counter: -/* 0829C8 800E9518 27BDFFC8 */ addiu $sp, $sp, -0x38 -/* 0829CC 800E951C AFB00028 */ sw $s0, 0x28($sp) -/* 0829D0 800E9520 3C108011 */ lui $s0, 0x8011 -/* 0829D4 800E9524 2610CD10 */ addiu $s0, $s0, -0x32f0 -/* 0829D8 800E9528 AFBF0030 */ sw $ra, 0x30($sp) -/* 0829DC 800E952C AFB1002C */ sw $s1, 0x2c($sp) -/* 0829E0 800E9530 86020000 */ lh $v0, ($s0) -/* 0829E4 800E9534 3C118011 */ lui $s1, 0x8011 -/* 0829E8 800E9538 2631EF58 */ addiu $s1, $s1, -0x10a8 -/* 0829EC 800E953C 14400005 */ bnez $v0, .L800E9554 -/* 0829F0 800E9540 24040014 */ addiu $a0, $zero, 0x14 -/* 0829F4 800E9544 3C028011 */ lui $v0, 0x8011 -/* 0829F8 800E9548 8442CD12 */ lh $v0, -0x32ee($v0) -/* 0829FC 800E954C 10400012 */ beqz $v0, .L800E9598 -/* 082A00 800E9550 00000000 */ nop -.L800E9554: -/* 082A04 800E9554 0C051F9F */ jal func_80147E7C -/* 082A08 800E9558 24050002 */ addiu $a1, $zero, 2 -/* 082A0C 800E955C 8E220064 */ lw $v0, 0x64($s1) -/* 082A10 800E9560 04420009 */ bltzl $v0, .L800E9588 -/* 082A14 800E9564 A220006C */ sb $zero, 0x6c($s1) -/* 082A18 800E9568 8E24005C */ lw $a0, 0x5c($s1) -/* 082A1C 800E956C 0C05123D */ jal free_icon -/* 082A20 800E9570 00000000 */ nop -/* 082A24 800E9574 0C05123D */ jal free_icon -/* 082A28 800E9578 8E240060 */ lw $a0, 0x60($s1) -/* 082A2C 800E957C 2402FFFF */ addiu $v0, $zero, -1 -/* 082A30 800E9580 AE220064 */ sw $v0, 0x64($s1) -/* 082A34 800E9584 A220006C */ sb $zero, 0x6c($s1) -.L800E9588: -/* 082A38 800E9588 A220006D */ sb $zero, 0x6d($s1) -/* 082A3C 800E958C A6000000 */ sh $zero, ($s0) -/* 082A40 800E9590 3C018011 */ lui $at, 0x8011 -/* 082A44 800E9594 A420CD12 */ sh $zero, -0x32ee($at) -.L800E9598: -/* 082A48 800E9598 8222006C */ lb $v0, 0x6c($s1) -/* 082A4C 800E959C 14400039 */ bnez $v0, .L800E9684 -/* 082A50 800E95A0 24040014 */ addiu $a0, $zero, 0x14 -/* 082A54 800E95A4 24050020 */ addiu $a1, $zero, 0x20 -/* 082A58 800E95A8 240600A4 */ addiu $a2, $zero, 0xa4 -/* 082A5C 800E95AC 24070040 */ addiu $a3, $zero, 0x40 -/* 082A60 800E95B0 0080102D */ daddu $v0, $a0, $zero -/* 082A64 800E95B4 AFA20010 */ sw $v0, 0x10($sp) -/* 082A68 800E95B8 24020015 */ addiu $v0, $zero, 0x15 -/* 082A6C 800E95BC AFA20014 */ sw $v0, 0x14($sp) -/* 082A70 800E95C0 3C02800F */ lui $v0, 0x800f -/* 082A74 800E95C4 244292D8 */ addiu $v0, $v0, -0x6d28 -/* 082A78 800E95C8 AFA20018 */ sw $v0, 0x18($sp) -/* 082A7C 800E95CC 2402FFFF */ addiu $v0, $zero, -1 -/* 082A80 800E95D0 AFA0001C */ sw $zero, 0x1c($sp) -/* 082A84 800E95D4 0C051F32 */ jal func_80147CC8 -/* 082A88 800E95D8 AFA20020 */ sw $v0, 0x20($sp) -/* 082A8C 800E95DC 3C058014 */ lui $a1, 0x8014 -/* 082A90 800E95E0 24A57474 */ addiu $a1, $a1, 0x7474 -/* 082A94 800E95E4 0C051F9F */ jal func_80147E7C -/* 082A98 800E95E8 24040014 */ addiu $a0, $zero, 0x14 -/* 082A9C 800E95EC 3C048011 */ lui $a0, 0x8011 -/* 082AA0 800E95F0 24849270 */ addiu $a0, $a0, -0x6d90 -/* 082AA4 800E95F4 0C050529 */ jal create_icon -/* 082AA8 800E95F8 00000000 */ nop -/* 082AAC 800E95FC 0040802D */ daddu $s0, $v0, $zero -/* 082AB0 800E9600 0200202D */ daddu $a0, $s0, $zero -/* 082AB4 800E9604 24050080 */ addiu $a1, $zero, 0x80 -/* 082AB8 800E9608 0C051280 */ jal set_icon_flags -/* 082ABC 800E960C AE30005C */ sw $s0, 0x5c($s1) -/* 082AC0 800E9610 0200202D */ daddu $a0, $s0, $zero -/* 082AC4 800E9614 240500FF */ addiu $a1, $zero, 0xff -/* 082AC8 800E9618 00A0302D */ daddu $a2, $a1, $zero -/* 082ACC 800E961C 0C0513BF */ jal func_80144EFC -/* 082AD0 800E9620 00A0382D */ daddu $a3, $a1, $zero -/* 082AD4 800E9624 3C048011 */ lui $a0, 0x8011 -/* 082AD8 800E9628 24848558 */ addiu $a0, $a0, -0x7aa8 -/* 082ADC 800E962C 0C050529 */ jal create_icon -/* 082AE0 800E9630 00000000 */ nop -/* 082AE4 800E9634 0040802D */ daddu $s0, $v0, $zero -/* 082AE8 800E9638 0200202D */ daddu $a0, $s0, $zero -/* 082AEC 800E963C 24050080 */ addiu $a1, $zero, 0x80 -/* 082AF0 800E9640 0C051280 */ jal set_icon_flags -/* 082AF4 800E9644 AE300060 */ sw $s0, 0x60($s1) -/* 082AF8 800E9648 0200202D */ daddu $a0, $s0, $zero -/* 082AFC 800E964C 240500FF */ addiu $a1, $zero, 0xff -/* 082B00 800E9650 00A0302D */ daddu $a2, $a1, $zero -/* 082B04 800E9654 0C0513BF */ jal func_80144EFC -/* 082B08 800E9658 00A0382D */ daddu $a3, $a1, $zero -/* 082B0C 800E965C 8222006E */ lb $v0, 0x6e($s1) -/* 082B10 800E9660 04410003 */ bgez $v0, .L800E9670 -/* 082B14 800E9664 A220006C */ sb $zero, 0x6c($s1) -/* 082B18 800E9668 92220044 */ lbu $v0, 0x44($s1) -/* 082B1C 800E966C A222006E */ sb $v0, 0x6e($s1) -.L800E9670: -/* 082B20 800E9670 24020001 */ addiu $v0, $zero, 1 -/* 082B24 800E9674 A2220044 */ sb $v0, 0x44($s1) -/* 082B28 800E9678 24020001 */ addiu $v0, $zero, 1 -/* 082B2C 800E967C 3C018011 */ lui $at, 0x8011 -/* 082B30 800E9680 A422CD10 */ sh $v0, -0x32f0($at) -.L800E9684: -/* 082B34 800E9684 8FBF0030 */ lw $ra, 0x30($sp) -/* 082B38 800E9688 8FB1002C */ lw $s1, 0x2c($sp) -/* 082B3C 800E968C 8FB00028 */ lw $s0, 0x28($sp) -/* 082B40 800E9690 03E00008 */ jr $ra -/* 082B44 800E9694 27BD0038 */ addiu $sp, $sp, 0x38 - -hide_coin_counter: -/* 082B48 800E9698 3C028011 */ lui $v0, 0x8011 -/* 082B4C 800E969C 8442CD10 */ lh $v0, -0x32f0($v0) -/* 082B50 800E96A0 3C038011 */ lui $v1, 0x8011 -/* 082B54 800E96A4 2463EF58 */ addiu $v1, $v1, -0x10a8 -/* 082B58 800E96A8 10400005 */ beqz $v0, .L800E96C0 -/* 082B5C 800E96AC 00000000 */ nop -/* 082B60 800E96B0 8062006C */ lb $v0, 0x6c($v1) -/* 082B64 800E96B4 14400002 */ bnez $v0, .L800E96C0 -/* 082B68 800E96B8 2402003C */ addiu $v0, $zero, 0x3c -/* 082B6C 800E96BC A062006C */ sb $v0, 0x6c($v1) -.L800E96C0: -/* 082B70 800E96C0 03E00008 */ jr $ra -/* 082B74 800E96C4 00000000 */ nop - -func_800E96C8: -/* 082B78 800E96C8 3C028011 */ lui $v0, 0x8011 -/* 082B7C 800E96CC 8442CD10 */ lh $v0, -0x32f0($v0) -/* 082B80 800E96D0 3C038011 */ lui $v1, 0x8011 -/* 082B84 800E96D4 2463EF58 */ addiu $v1, $v1, -0x10a8 -/* 082B88 800E96D8 10400005 */ beqz $v0, .L800E96F0 -/* 082B8C 800E96DC 00000000 */ nop -/* 082B90 800E96E0 8062006C */ lb $v0, 0x6c($v1) -/* 082B94 800E96E4 14400002 */ bnez $v0, .L800E96F0 -/* 082B98 800E96E8 24020001 */ addiu $v0, $zero, 1 -/* 082B9C 800E96EC A062006C */ sb $v0, 0x6c($v1) -.L800E96F0: -/* 082BA0 800E96F0 03E00008 */ jr $ra -/* 082BA4 800E96F4 00000000 */ nop - -ShowCoinCounter: -/* 082BA8 800E96F8 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 082BAC 800E96FC AFBF0010 */ sw $ra, 0x10($sp) -/* 082BB0 800E9700 8C82000C */ lw $v0, 0xc($a0) -/* 082BB4 800E9704 0C0B1EAF */ jal get_variable -/* 082BB8 800E9708 8C450000 */ lw $a1, ($v0) -/* 082BBC 800E970C 10400005 */ beqz $v0, .L800E9724 -/* 082BC0 800E9710 00000000 */ nop -/* 082BC4 800E9714 0C03A546 */ jal show_coin_counter -/* 082BC8 800E9718 00000000 */ nop -/* 082BCC 800E971C 0803A5CB */ j .L800E972C -/* 082BD0 800E9720 00000000 */ nop - -.L800E9724: -/* 082BD4 800E9724 0C03A5A6 */ jal hide_coin_counter -/* 082BD8 800E9728 00000000 */ nop -.L800E972C: -/* 082BDC 800E972C 8FBF0010 */ lw $ra, 0x10($sp) -/* 082BE0 800E9730 24020002 */ addiu $v0, $zero, 2 -/* 082BE4 800E9734 03E00008 */ jr $ra -/* 082BE8 800E9738 27BD0018 */ addiu $sp, $sp, 0x18 - -func_800E973C: -/* 082BEC 800E973C 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 082BF0 800E9740 AFBF0010 */ sw $ra, 0x10($sp) -/* 082BF4 800E9744 0C03A02D */ jal update_status_menu -/* 082BF8 800E9748 00000000 */ nop -/* 082BFC 800E974C 0C03A4F7 */ jal update_coin_counter -/* 082C00 800E9750 00000000 */ nop -/* 082C04 800E9754 8FBF0010 */ lw $ra, 0x10($sp) -/* 082C08 800E9758 03E00008 */ jr $ra -/* 082C0C 800E975C 27BD0018 */ addiu $sp, $sp, 0x18 - -open_status_menu_long: -/* 082C10 800E9760 3C038011 */ lui $v1, 0x8011 -/* 082C14 800E9764 2463EF58 */ addiu $v1, $v1, -0x10a8 -/* 082C18 800E9768 8062003A */ lb $v0, 0x3a($v1) -/* 082C1C 800E976C 10400005 */ beqz $v0, .L800E9784 -/* 082C20 800E9770 240200D2 */ addiu $v0, $zero, 0xd2 -/* 082C24 800E9774 A4620038 */ sh $v0, 0x38($v1) -/* 082C28 800E9778 24020001 */ addiu $v0, $zero, 1 -/* 082C2C 800E977C A060003A */ sb $zero, 0x3a($v1) -/* 082C30 800E9780 A062003B */ sb $v0, 0x3b($v1) -.L800E9784: -/* 082C34 800E9784 03E00008 */ jr $ra -/* 082C38 800E9788 00000000 */ nop - -open_status_menu_short: -/* 082C3C 800E978C 3C038011 */ lui $v1, 0x8011 -/* 082C40 800E9790 2463EF58 */ addiu $v1, $v1, -0x10a8 -/* 082C44 800E9794 8062003A */ lb $v0, 0x3a($v1) -/* 082C48 800E9798 10400005 */ beqz $v0, .L800E97B0 -/* 082C4C 800E979C 24020069 */ addiu $v0, $zero, 0x69 -/* 082C50 800E97A0 A4620038 */ sh $v0, 0x38($v1) -/* 082C54 800E97A4 24020001 */ addiu $v0, $zero, 1 -/* 082C58 800E97A8 A060003A */ sb $zero, 0x3a($v1) -/* 082C5C 800E97AC A062003B */ sb $v0, 0x3b($v1) -.L800E97B0: -/* 082C60 800E97B0 03E00008 */ jr $ra -/* 082C64 800E97B4 00000000 */ nop - -func_800E97B8: -/* 082C68 800E97B8 3C048011 */ lui $a0, 0x8011 -/* 082C6C 800E97BC 2484EF58 */ addiu $a0, $a0, -0x10a8 -/* 082C70 800E97C0 8082003A */ lb $v0, 0x3a($a0) -/* 082C74 800E97C4 24030001 */ addiu $v1, $zero, 1 -/* 082C78 800E97C8 10430004 */ beq $v0, $v1, .L800E97DC -/* 082C7C 800E97CC 00000000 */ nop -/* 082C80 800E97D0 A083003A */ sb $v1, 0x3a($a0) -/* 082C84 800E97D4 A4800038 */ sh $zero, 0x38($a0) -/* 082C88 800E97D8 A083003B */ sb $v1, 0x3b($a0) -.L800E97DC: -/* 082C8C 800E97DC 03E00008 */ jr $ra -/* 082C90 800E97E0 00000000 */ nop - -func_800E97E4: -/* 082C94 800E97E4 3C028011 */ lui $v0, 0x8011 -/* 082C98 800E97E8 2442EF58 */ addiu $v0, $v0, -0x10a8 -/* 082C9C 800E97EC 2403FF9C */ addiu $v1, $zero, -0x64 -/* 082CA0 800E97F0 A4430036 */ sh $v1, 0x36($v0) -/* 082CA4 800E97F4 24030001 */ addiu $v1, $zero, 1 -/* 082CA8 800E97F8 A0400044 */ sb $zero, 0x44($v0) -/* 082CAC 800E97FC A4400038 */ sh $zero, 0x38($v0) -/* 082CB0 800E9800 A043003A */ sb $v1, 0x3a($v0) -/* 082CB4 800E9804 A040003B */ sb $zero, 0x3b($v0) -/* 082CB8 800E9808 03E00008 */ jr $ra -/* 082CBC 800E980C A040003C */ sb $zero, 0x3c($v0) - -func_800E9810: -/* 082CC0 800E9810 3C028011 */ lui $v0, 0x8011 -/* 082CC4 800E9814 2442EF58 */ addiu $v0, $v0, -0x10a8 -/* 082CC8 800E9818 240300D2 */ addiu $v1, $zero, 0xd2 -/* 082CCC 800E981C A4430038 */ sh $v1, 0x38($v0) -/* 082CD0 800E9820 24030001 */ addiu $v1, $zero, 1 -/* 082CD4 800E9824 A4400036 */ sh $zero, 0x36($v0) -/* 082CD8 800E9828 A0400044 */ sb $zero, 0x44($v0) -/* 082CDC 800E982C A040003A */ sb $zero, 0x3a($v0) -/* 082CE0 800E9830 A043003B */ sb $v1, 0x3b($v0) -/* 082CE4 800E9834 03E00008 */ jr $ra -/* 082CE8 800E9838 A040003C */ sb $zero, 0x3c($v0) - -func_800E983C: -/* 082CEC 800E983C 3C018011 */ lui $at, 0x8011 -/* 082CF0 800E9840 A020EF9D */ sb $zero, -0x1063($at) -/* 082CF4 800E9844 03E00008 */ jr $ra -/* 082CF8 800E9848 00000000 */ nop - -func_800E984C: -/* 082CFC 800E984C 24020001 */ addiu $v0, $zero, 1 -/* 082D00 800E9850 3C018011 */ lui $at, 0x8011 -/* 082D04 800E9854 A022EF9D */ sb $v0, -0x1063($at) -/* 082D08 800E9858 03E00008 */ jr $ra -/* 082D0C 800E985C 00000000 */ nop - -func_800E9860: -/* 082D10 800E9860 3C038011 */ lui $v1, 0x8011 -/* 082D14 800E9864 2463EF58 */ addiu $v1, $v1, -0x10a8 -/* 082D18 800E9868 80640045 */ lb $a0, 0x45($v1) -/* 082D1C 800E986C 24020001 */ addiu $v0, $zero, 1 -/* 082D20 800E9870 00442023 */ subu $a0, $v0, $a0 -/* 082D24 800E9874 80620046 */ lb $v0, 0x46($v1) -/* 082D28 800E9878 54400001 */ bnel $v0, $zero, .L800E9880 -/* 082D2C 800E987C 0000202D */ daddu $a0, $zero, $zero -.L800E9880: -/* 082D30 800E9880 80620044 */ lb $v0, 0x44($v1) -/* 082D34 800E9884 54400001 */ bnel $v0, $zero, .L800E988C -/* 082D38 800E9888 0000202D */ daddu $a0, $zero, $zero -.L800E988C: -/* 082D3C 800E988C 03E00008 */ jr $ra -/* 082D40 800E9890 0080102D */ daddu $v0, $a0, $zero - -func_800E9894: -/* 082D44 800E9894 24020001 */ addiu $v0, $zero, 1 -/* 082D48 800E9898 3C018011 */ lui $at, 0x8011 -/* 082D4C 800E989C A022EF9C */ sb $v0, -0x1064($at) -/* 082D50 800E98A0 03E00008 */ jr $ra -/* 082D54 800E98A4 00000000 */ nop - -/* 082D58 800E98A8 3C028011 */ lui $v0, 0x8011 -/* 082D5C 800E98AC 2442EF58 */ addiu $v0, $v0, -0x10a8 -/* 082D60 800E98B0 24030001 */ addiu $v1, $zero, 1 -/* 082D64 800E98B4 A0430044 */ sb $v1, 0x44($v0) -/* 082D68 800E98B8 24030012 */ addiu $v1, $zero, 0x12 -/* 082D6C 800E98BC 03E00008 */ jr $ra -/* 082D70 800E98C0 A4430036 */ sh $v1, 0x36($v0) - -func_800E98C4: -/* 082D74 800E98C4 3C018011 */ lui $at, 0x8011 -/* 082D78 800E98C8 A020EF9C */ sb $zero, -0x1064($at) -/* 082D7C 800E98CC 03E00008 */ jr $ra -/* 082D80 800E98D0 00000000 */ nop - -func_800E98D4: -/* 082D84 800E98D4 3C028011 */ lui $v0, 0x8011 -/* 082D88 800E98D8 2442EF58 */ addiu $v0, $v0, -0x10a8 -/* 082D8C 800E98DC 80430046 */ lb $v1, 0x46($v0) -/* 082D90 800E98E0 80420044 */ lb $v0, 0x44($v0) -/* 082D94 800E98E4 03E00008 */ jr $ra -/* 082D98 800E98E8 00621021 */ addu $v0, $v1, $v0 - -func_800E98EC: -/* 082D9C 800E98EC 24020001 */ addiu $v0, $zero, 1 -/* 082DA0 800E98F0 3C018011 */ lui $at, 0x8011 -/* 082DA4 800E98F4 A022EF9E */ sb $v0, -0x1062($at) -/* 082DA8 800E98F8 03E00008 */ jr $ra -/* 082DAC 800E98FC 00000000 */ nop - -func_800E9900: -/* 082DB0 800E9900 3C018011 */ lui $at, 0x8011 -/* 082DB4 800E9904 A020EF9E */ sb $zero, -0x1062($at) -/* 082DB8 800E9908 03E00008 */ jr $ra -/* 082DBC 800E990C 00000000 */ nop - -is_status_menu_visible: -/* 082DC0 800E9910 3C028011 */ lui $v0, 0x8011 -/* 082DC4 800E9914 8042EF92 */ lb $v0, -0x106e($v0) -/* 082DC8 800E9918 03E00008 */ jr $ra -/* 082DCC 800E991C 2C420001 */ sltiu $v0, $v0, 1 - -status_menu_start_blinking_hp: -/* 082DD0 800E9920 3C028007 */ lui $v0, 0x8007 -/* 082DD4 800E9924 8C42419C */ lw $v0, 0x419c($v0) -/* 082DD8 800E9928 3C038011 */ lui $v1, 0x8011 -/* 082DDC 800E992C 2463EF58 */ addiu $v1, $v1, -0x10a8 -/* 082DE0 800E9930 80420070 */ lb $v0, 0x70($v0) -/* 082DE4 800E9934 14400003 */ bnez $v0, .L800E9944 -/* 082DE8 800E9938 0060202D */ daddu $a0, $v1, $zero -/* 082DEC 800E993C 24020078 */ addiu $v0, $zero, 0x78 -/* 082DF0 800E9940 A062004C */ sb $v0, 0x4c($v1) -.L800E9944: -/* 082DF4 800E9944 8082004A */ lb $v0, 0x4a($a0) -/* 082DF8 800E9948 24030001 */ addiu $v1, $zero, 1 -/* 082DFC 800E994C 10430003 */ beq $v0, $v1, .L800E995C -/* 082E00 800E9950 00000000 */ nop -/* 082E04 800E9954 A083004A */ sb $v1, 0x4a($a0) -/* 082E08 800E9958 A080004B */ sb $zero, 0x4b($a0) -.L800E995C: -/* 082E0C 800E995C 03E00008 */ jr $ra -/* 082E10 800E9960 00000000 */ nop - -status_menu_stop_blinking_hp: -/* 082E14 800E9964 3C038011 */ lui $v1, 0x8011 -/* 082E18 800E9968 2463EF58 */ addiu $v1, $v1, -0x10a8 -/* 082E1C 800E996C 8062004A */ lb $v0, 0x4a($v1) -/* 082E20 800E9970 10400004 */ beqz $v0, .L800E9984 -/* 082E24 800E9974 00000000 */ nop -/* 082E28 800E9978 A060004A */ sb $zero, 0x4a($v1) -/* 082E2C 800E997C A060004B */ sb $zero, 0x4b($v1) -/* 082E30 800E9980 A060004C */ sb $zero, 0x4c($v1) -.L800E9984: -/* 082E34 800E9984 03E00008 */ jr $ra -/* 082E38 800E9988 00000000 */ nop - -status_menu_start_blinking_fp: -/* 082E3C 800E998C 3C028007 */ lui $v0, 0x8007 -/* 082E40 800E9990 8C42419C */ lw $v0, 0x419c($v0) -/* 082E44 800E9994 3C038011 */ lui $v1, 0x8011 -/* 082E48 800E9998 2463EF58 */ addiu $v1, $v1, -0x10a8 -/* 082E4C 800E999C 80420070 */ lb $v0, 0x70($v0) -/* 082E50 800E99A0 14400003 */ bnez $v0, .L800E99B0 -/* 082E54 800E99A4 0060202D */ daddu $a0, $v1, $zero -/* 082E58 800E99A8 24020078 */ addiu $v0, $zero, 0x78 -/* 082E5C 800E99AC A062004F */ sb $v0, 0x4f($v1) -.L800E99B0: -/* 082E60 800E99B0 8082004D */ lb $v0, 0x4d($a0) -/* 082E64 800E99B4 24030001 */ addiu $v1, $zero, 1 -/* 082E68 800E99B8 10430003 */ beq $v0, $v1, .L800E99C8 -/* 082E6C 800E99BC 00000000 */ nop -/* 082E70 800E99C0 A083004D */ sb $v1, 0x4d($a0) -/* 082E74 800E99C4 A080004E */ sb $zero, 0x4e($a0) -.L800E99C8: -/* 082E78 800E99C8 03E00008 */ jr $ra -/* 082E7C 800E99CC 00000000 */ nop - -status_menu_stop_blinking_fp: -/* 082E80 800E99D0 3C038011 */ lui $v1, 0x8011 -/* 082E84 800E99D4 2463EF58 */ addiu $v1, $v1, -0x10a8 -/* 082E88 800E99D8 8062004D */ lb $v0, 0x4d($v1) -/* 082E8C 800E99DC 10400003 */ beqz $v0, .L800E99EC -/* 082E90 800E99E0 00000000 */ nop -/* 082E94 800E99E4 A060004D */ sb $zero, 0x4d($v1) -/* 082E98 800E99E8 A060004E */ sb $zero, 0x4e($v1) -.L800E99EC: -/* 082E9C 800E99EC 03E00008 */ jr $ra -/* 082EA0 800E99F0 00000000 */ nop - -status_menu_start_blinking_coins: -/* 082EA4 800E99F4 3C028007 */ lui $v0, 0x8007 -/* 082EA8 800E99F8 8C42419C */ lw $v0, 0x419c($v0) -/* 082EAC 800E99FC 3C038011 */ lui $v1, 0x8011 -/* 082EB0 800E9A00 2463EF58 */ addiu $v1, $v1, -0x10a8 -/* 082EB4 800E9A04 80420070 */ lb $v0, 0x70($v0) -/* 082EB8 800E9A08 14400003 */ bnez $v0, .L800E9A18 -/* 082EBC 800E9A0C 0060202D */ daddu $a0, $v1, $zero -/* 082EC0 800E9A10 24020078 */ addiu $v0, $zero, 0x78 -/* 082EC4 800E9A14 A0620056 */ sb $v0, 0x56($v1) -.L800E9A18: -/* 082EC8 800E9A18 80820054 */ lb $v0, 0x54($a0) -/* 082ECC 800E9A1C 24030001 */ addiu $v1, $zero, 1 -/* 082ED0 800E9A20 10430003 */ beq $v0, $v1, .L800E9A30 -/* 082ED4 800E9A24 00000000 */ nop -/* 082ED8 800E9A28 A0830054 */ sb $v1, 0x54($a0) -/* 082EDC 800E9A2C A0800055 */ sb $zero, 0x55($a0) -.L800E9A30: -/* 082EE0 800E9A30 03E00008 */ jr $ra -/* 082EE4 800E9A34 00000000 */ nop - -status_menu_stop_blinking_coins: -/* 082EE8 800E9A38 3C038011 */ lui $v1, 0x8011 -/* 082EEC 800E9A3C 2463EF58 */ addiu $v1, $v1, -0x10a8 -/* 082EF0 800E9A40 80620054 */ lb $v0, 0x54($v1) -/* 082EF4 800E9A44 10400004 */ beqz $v0, .L800E9A58 -/* 082EF8 800E9A48 00000000 */ nop -/* 082EFC 800E9A4C A0600054 */ sb $zero, 0x54($v1) -/* 082F00 800E9A50 A0600055 */ sb $zero, 0x55($v1) -/* 082F04 800E9A54 A0600056 */ sb $zero, 0x56($v1) -.L800E9A58: -/* 082F08 800E9A58 03E00008 */ jr $ra -/* 082F0C 800E9A5C 00000000 */ nop - -status_menu_start_blinking_sp: -/* 082F10 800E9A60 3C028011 */ lui $v0, 0x8011 -/* 082F14 800E9A64 9042F51E */ lbu $v0, -0xae2($v0) -/* 082F18 800E9A68 3C038011 */ lui $v1, 0x8011 -/* 082F1C 800E9A6C 2463EF58 */ addiu $v1, $v1, -0x10a8 -/* 082F20 800E9A70 A062005A */ sb $v0, 0x5a($v1) -/* 082F24 800E9A74 80620050 */ lb $v0, 0x50($v1) -/* 082F28 800E9A78 24040001 */ addiu $a0, $zero, 1 -/* 082F2C 800E9A7C 10440003 */ beq $v0, $a0, .L800E9A8C -/* 082F30 800E9A80 00000000 */ nop -/* 082F34 800E9A84 A0640050 */ sb $a0, 0x50($v1) -/* 082F38 800E9A88 A0600051 */ sb $zero, 0x51($v1) -.L800E9A8C: -/* 082F3C 800E9A8C 03E00008 */ jr $ra -/* 082F40 800E9A90 00000000 */ nop - -status_menu_stop_blinking_sp: -/* 082F44 800E9A94 3C038011 */ lui $v1, 0x8011 -/* 082F48 800E9A98 2463EF58 */ addiu $v1, $v1, -0x10a8 -/* 082F4C 800E9A9C 80620050 */ lb $v0, 0x50($v1) -/* 082F50 800E9AA0 10400003 */ beqz $v0, .L800E9AB0 -/* 082F54 800E9AA4 00000000 */ nop -/* 082F58 800E9AA8 A0600050 */ sb $zero, 0x50($v1) -/* 082F5C 800E9AAC A0600051 */ sb $zero, 0x51($v1) -.L800E9AB0: -/* 082F60 800E9AB0 03E00008 */ jr $ra -/* 082F64 800E9AB4 00000000 */ nop - -status_menu_start_blinking_sp_bars: -/* 082F68 800E9AB8 3C038011 */ lui $v1, 0x8011 -/* 082F6C 800E9ABC 2463EF58 */ addiu $v1, $v1, -0x10a8 -/* 082F70 800E9AC0 80620050 */ lb $v0, 0x50($v1) -/* 082F74 800E9AC4 A064005A */ sb $a0, 0x5a($v1) -/* 082F78 800E9AC8 24040001 */ addiu $a0, $zero, 1 -/* 082F7C 800E9ACC 10440003 */ beq $v0, $a0, .L800E9ADC -/* 082F80 800E9AD0 00000000 */ nop -/* 082F84 800E9AD4 A0640050 */ sb $a0, 0x50($v1) -/* 082F88 800E9AD8 A0600051 */ sb $zero, 0x51($v1) -.L800E9ADC: -/* 082F8C 800E9ADC 03E00008 */ jr $ra -/* 082F90 800E9AE0 00000000 */ nop - -status_menu_start_blinking_starpoints: -/* 082F94 800E9AE4 3C038011 */ lui $v1, 0x8011 -/* 082F98 800E9AE8 2463EF58 */ addiu $v1, $v1, -0x10a8 -/* 082F9C 800E9AEC 80620052 */ lb $v0, 0x52($v1) -/* 082FA0 800E9AF0 24040001 */ addiu $a0, $zero, 1 -/* 082FA4 800E9AF4 10440003 */ beq $v0, $a0, .L800E9B04 -/* 082FA8 800E9AF8 00000000 */ nop -/* 082FAC 800E9AFC A0640052 */ sb $a0, 0x52($v1) -/* 082FB0 800E9B00 A0600053 */ sb $zero, 0x53($v1) -.L800E9B04: -/* 082FB4 800E9B04 03E00008 */ jr $ra -/* 082FB8 800E9B08 00000000 */ nop - -status_menu_stop_blinking_starpoints: -/* 082FBC 800E9B0C 3C038011 */ lui $v1, 0x8011 -/* 082FC0 800E9B10 2463EF58 */ addiu $v1, $v1, -0x10a8 -/* 082FC4 800E9B14 80620052 */ lb $v0, 0x52($v1) -/* 082FC8 800E9B18 10400003 */ beqz $v0, .L800E9B28 -/* 082FCC 800E9B1C 00000000 */ nop -/* 082FD0 800E9B20 A0600052 */ sb $zero, 0x52($v1) -/* 082FD4 800E9B24 A0600053 */ sb $zero, 0x53($v1) -.L800E9B28: -/* 082FD8 800E9B28 03E00008 */ jr $ra -/* 082FDC 800E9B2C 00000000 */ nop - -decrement_status_menu_disabled: -/* 082FE0 800E9B30 3C048011 */ lui $a0, 0x8011 -/* 082FE4 800E9B34 2484EF58 */ addiu $a0, $a0, -0x10a8 -/* 082FE8 800E9B38 80820047 */ lb $v0, 0x47($a0) -/* 082FEC 800E9B3C 90830047 */ lbu $v1, 0x47($a0) -/* 082FF0 800E9B40 18400002 */ blez $v0, .L800E9B4C -/* 082FF4 800E9B44 2462FFFF */ addiu $v0, $v1, -1 -/* 082FF8 800E9B48 A0820047 */ sb $v0, 0x47($a0) -.L800E9B4C: -/* 082FFC 800E9B4C 03E00008 */ jr $ra -/* 083000 800E9B50 00000000 */ nop - -increment_status_menu_disabled: -/* 083004 800E9B54 3C038011 */ lui $v1, 0x8011 -/* 083008 800E9B58 2463EF58 */ addiu $v1, $v1, -0x10a8 -/* 08300C 800E9B5C 90620047 */ lbu $v0, 0x47($v1) -/* 083010 800E9B60 24420001 */ addiu $v0, $v0, 1 -/* 083014 800E9B64 03E00008 */ jr $ra -/* 083018 800E9B68 A0620047 */ sb $v0, 0x47($v1) - -sync_status_menu: -/* 08301C 800E9B6C 3C028011 */ lui $v0, 0x8011 -/* 083020 800E9B70 2442F290 */ addiu $v0, $v0, -0xd70 -/* 083024 800E9B74 90430010 */ lbu $v1, 0x10($v0) -/* 083028 800E9B78 90440002 */ lbu $a0, 2($v0) -/* 08302C 800E9B7C 90450005 */ lbu $a1, 5($v0) -/* 083030 800E9B80 94460290 */ lhu $a2, 0x290($v0) -/* 083034 800E9B84 9447000C */ lhu $a3, 0xc($v0) -/* 083038 800E9B88 3C028011 */ lui $v0, 0x8011 -/* 08303C 800E9B8C 2442EF58 */ addiu $v0, $v0, -0x10a8 -/* 083040 800E9B90 00031E00 */ sll $v1, $v1, 0x18 -/* 083044 800E9B94 00031E03 */ sra $v1, $v1, 0x18 -/* 083048 800E9B98 A044003D */ sb $a0, 0x3d($v0) -/* 08304C 800E9B9C A045003E */ sb $a1, 0x3e($v0) -/* 083050 800E9BA0 A4460048 */ sh $a2, 0x48($v0) -/* 083054 800E9BA4 A4470040 */ sh $a3, 0x40($v0) -/* 083058 800E9BA8 03E00008 */ jr $ra -/* 08305C 800E9BAC A4430042 */ sh $v1, 0x42($v0) - -reset_status_menu: -/* 083060 800E9BB0 27BDFFE0 */ addiu $sp, $sp, -0x20 -/* 083064 800E9BB4 AFB20018 */ sw $s2, 0x18($sp) -/* 083068 800E9BB8 0000902D */ daddu $s2, $zero, $zero -/* 08306C 800E9BBC AFB10014 */ sw $s1, 0x14($sp) -/* 083070 800E9BC0 3C118011 */ lui $s1, 0x8011 -/* 083074 800E9BC4 2631EF58 */ addiu $s1, $s1, -0x10a8 -/* 083078 800E9BC8 AFB00010 */ sw $s0, 0x10($sp) -/* 08307C 800E9BCC 0220802D */ daddu $s0, $s1, $zero -/* 083080 800E9BD0 2402000C */ addiu $v0, $zero, 0xc -/* 083084 800E9BD4 AFBF001C */ sw $ra, 0x1c($sp) -/* 083088 800E9BD8 A6220034 */ sh $v0, 0x34($s1) -/* 08308C 800E9BDC 2402FF9C */ addiu $v0, $zero, -0x64 -/* 083090 800E9BE0 A6220036 */ sh $v0, 0x36($s1) -/* 083094 800E9BE4 240200D2 */ addiu $v0, $zero, 0xd2 -/* 083098 800E9BE8 3C038011 */ lui $v1, 0x8011 -/* 08309C 800E9BEC 2463F290 */ addiu $v1, $v1, -0xd70 -/* 0830A0 800E9BF0 A220003A */ sb $zero, 0x3a($s1) -/* 0830A4 800E9BF4 A6220038 */ sh $v0, 0x38($s1) -/* 0830A8 800E9BF8 A220003B */ sb $zero, 0x3b($s1) -/* 0830AC 800E9BFC A2200044 */ sb $zero, 0x44($s1) -/* 0830B0 800E9C00 A2200045 */ sb $zero, 0x45($s1) -/* 0830B4 800E9C04 A2200046 */ sb $zero, 0x46($s1) -/* 0830B8 800E9C08 A220004A */ sb $zero, 0x4a($s1) -/* 0830BC 800E9C0C A220004B */ sb $zero, 0x4b($s1) -/* 0830C0 800E9C10 A220004C */ sb $zero, 0x4c($s1) -/* 0830C4 800E9C14 A220004D */ sb $zero, 0x4d($s1) -/* 0830C8 800E9C18 A220004E */ sb $zero, 0x4e($s1) -/* 0830CC 800E9C1C A220004F */ sb $zero, 0x4f($s1) -/* 0830D0 800E9C20 A2200054 */ sb $zero, 0x54($s1) -/* 0830D4 800E9C24 A2200055 */ sb $zero, 0x55($s1) -/* 0830D8 800E9C28 A2200056 */ sb $zero, 0x56($s1) -/* 0830DC 800E9C2C A2200050 */ sb $zero, 0x50($s1) -/* 0830E0 800E9C30 A2200051 */ sb $zero, 0x51($s1) -/* 0830E4 800E9C34 A2200047 */ sb $zero, 0x47($s1) -/* 0830E8 800E9C38 A2200052 */ sb $zero, 0x52($s1) -/* 0830EC 800E9C3C A2200053 */ sb $zero, 0x53($s1) -/* 0830F0 800E9C40 90640010 */ lbu $a0, 0x10($v1) -/* 0830F4 800E9C44 2402FFFF */ addiu $v0, $zero, -1 -/* 0830F8 800E9C48 A222006E */ sb $v0, 0x6e($s1) -/* 0830FC 800E9C4C 90620002 */ lbu $v0, 2($v1) -/* 083100 800E9C50 90650005 */ lbu $a1, 5($v1) -/* 083104 800E9C54 9466000C */ lhu $a2, 0xc($v1) -/* 083108 800E9C58 94630290 */ lhu $v1, 0x290($v1) -/* 08310C 800E9C5C 00042600 */ sll $a0, $a0, 0x18 -/* 083110 800E9C60 00042603 */ sra $a0, $a0, 0x18 -/* 083114 800E9C64 A222003D */ sb $v0, 0x3d($s1) -/* 083118 800E9C68 A225003E */ sb $a1, 0x3e($s1) -/* 08311C 800E9C6C A6260040 */ sh $a2, 0x40($s1) -/* 083120 800E9C70 A6240042 */ sh $a0, 0x42($s1) -/* 083124 800E9C74 A6230048 */ sh $v1, 0x48($s1) -/* 083128 800E9C78 A220003C */ sb $zero, 0x3c($s1) -.L800E9C7C: -/* 08312C 800E9C7C 8E040000 */ lw $a0, ($s0) -/* 083130 800E9C80 26100004 */ addiu $s0, $s0, 4 -/* 083134 800E9C84 26520001 */ addiu $s2, $s2, 1 -/* 083138 800E9C88 0C0514AD */ jal func_801452B4 -/* 08313C 800E9C8C 0080282D */ daddu $a1, $a0, $zero -/* 083140 800E9C90 2A420002 */ slti $v0, $s2, 2 -/* 083144 800E9C94 1440FFF9 */ bnez $v0, .L800E9C7C -/* 083148 800E9C98 00000000 */ nop -/* 08314C 800E9C9C 0000902D */ daddu $s2, $zero, $zero -/* 083150 800E9CA0 0220802D */ daddu $s0, $s1, $zero -.L800E9CA4: -/* 083154 800E9CA4 8E040008 */ lw $a0, 8($s0) -/* 083158 800E9CA8 26100004 */ addiu $s0, $s0, 4 -/* 08315C 800E9CAC 26520001 */ addiu $s2, $s2, 1 -/* 083160 800E9CB0 0C0514AD */ jal func_801452B4 -/* 083164 800E9CB4 0080282D */ daddu $a1, $a0, $zero -/* 083168 800E9CB8 2A420002 */ slti $v0, $s2, 2 -/* 08316C 800E9CBC 1440FFF9 */ bnez $v0, .L800E9CA4 -/* 083170 800E9CC0 00000000 */ nop -/* 083174 800E9CC4 8E240010 */ lw $a0, 0x10($s1) -/* 083178 800E9CC8 0C0514AD */ jal func_801452B4 -/* 08317C 800E9CCC 0080282D */ daddu $a1, $a0, $zero -/* 083180 800E9CD0 8E240014 */ lw $a0, 0x14($s1) -/* 083184 800E9CD4 0C0514AD */ jal func_801452B4 -/* 083188 800E9CD8 0080282D */ daddu $a1, $a0, $zero -/* 08318C 800E9CDC 8E240018 */ lw $a0, 0x18($s1) -/* 083190 800E9CE0 0C0514AD */ jal func_801452B4 -/* 083194 800E9CE4 0080282D */ daddu $a1, $a0, $zero -/* 083198 800E9CE8 8E24001C */ lw $a0, 0x1c($s1) -/* 08319C 800E9CEC 0C0514AD */ jal func_801452B4 -/* 0831A0 800E9CF0 0080282D */ daddu $a1, $a0, $zero -/* 0831A4 800E9CF4 8E240020 */ lw $a0, 0x20($s1) -/* 0831A8 800E9CF8 0C0514AD */ jal func_801452B4 -/* 0831AC 800E9CFC 0080282D */ daddu $a1, $a0, $zero -/* 0831B0 800E9D00 8E240024 */ lw $a0, 0x24($s1) -/* 0831B4 800E9D04 0C0514AD */ jal func_801452B4 -/* 0831B8 800E9D08 0080282D */ daddu $a1, $a0, $zero -/* 0831BC 800E9D0C 8E240028 */ lw $a0, 0x28($s1) -/* 0831C0 800E9D10 0C0514AD */ jal func_801452B4 -/* 0831C4 800E9D14 0080282D */ daddu $a1, $a0, $zero -/* 0831C8 800E9D18 8E24002C */ lw $a0, 0x2c($s1) -/* 0831CC 800E9D1C 0C0514AD */ jal func_801452B4 -/* 0831D0 800E9D20 0080282D */ daddu $a1, $a0, $zero -/* 0831D4 800E9D24 8E240030 */ lw $a0, 0x30($s1) -/* 0831D8 800E9D28 0C0514AD */ jal func_801452B4 -/* 0831DC 800E9D2C 0080282D */ daddu $a1, $a0, $zero -/* 0831E0 800E9D30 8FBF001C */ lw $ra, 0x1c($sp) -/* 0831E4 800E9D34 8FB20018 */ lw $s2, 0x18($sp) -/* 0831E8 800E9D38 8FB10014 */ lw $s1, 0x14($sp) -/* 0831EC 800E9D3C 8FB00010 */ lw $s0, 0x10($sp) -/* 0831F0 800E9D40 03E00008 */ jr $ra -/* 0831F4 800E9D44 27BD0020 */ addiu $sp, $sp, 0x20 - -is_ability_active: -/* 0831F8 800E9D48 27BDFFD0 */ addiu $sp, $sp, -0x30 -/* 0831FC 800E9D4C AFBF0028 */ sw $ra, 0x28($sp) -/* 083200 800E9D50 0080482D */ daddu $t1, $a0, $zero -/* 083204 800E9D54 3C088011 */ lui $t0, 0x8011 -/* 083208 800E9D58 2508F290 */ addiu $t0, $t0, -0xd70 -/* 08320C 800E9D5C 0000282D */ daddu $a1, $zero, $zero -/* 083210 800E9D60 00A0202D */ daddu $a0, $a1, $zero -/* 083214 800E9D64 24070005 */ addiu $a3, $zero, 5 -/* 083218 800E9D68 27A20024 */ addiu $v0, $sp, 0x24 -.L800E9D6C: -/* 08321C 800E9D6C AC400000 */ sw $zero, ($v0) -/* 083220 800E9D70 24E7FFFF */ addiu $a3, $a3, -1 -/* 083224 800E9D74 04E1FFFD */ bgez $a3, .L800E9D6C -/* 083228 800E9D78 2442FFFC */ addiu $v0, $v0, -4 -/* 08322C 800E9D7C 3C028007 */ lui $v0, 0x8007 -/* 083230 800E9D80 8C42419C */ lw $v0, 0x419c($v0) -/* 083234 800E9D84 9042007E */ lbu $v0, 0x7e($v0) -/* 083238 800E9D88 30420001 */ andi $v0, $v0, 1 -/* 08323C 800E9D8C 144000C7 */ bnez $v0, .L800EA0AC -/* 083240 800E9D90 0000102D */ daddu $v0, $zero, $zero -/* 083244 800E9D94 0000382D */ daddu $a3, $zero, $zero -/* 083248 800E9D98 3C038011 */ lui $v1, 0x8011 -/* 08324C 800E9D9C 2463BF60 */ addiu $v1, $v1, -0x40a0 -/* 083250 800E9DA0 00091080 */ sll $v0, $t1, 2 -/* 083254 800E9DA4 00435021 */ addu $t2, $v0, $v1 -/* 083258 800E9DA8 27A30010 */ addiu $v1, $sp, 0x10 -/* 08325C 800E9DAC 00041080 */ sll $v0, $a0, 2 -/* 083260 800E9DB0 00433021 */ addu $a2, $v0, $v1 -/* 083264 800E9DB4 00071040 */ sll $v0, $a3, 1 -.L800E9DB8: -/* 083268 800E9DB8 01021021 */ addu $v0, $t0, $v0 -/* 08326C 800E9DBC 84430208 */ lh $v1, 0x208($v0) -/* 083270 800E9DC0 10600004 */ beqz $v1, .L800E9DD4 -/* 083274 800E9DC4 00031140 */ sll $v0, $v1, 5 -/* 083278 800E9DC8 3C038008 */ lui $v1, 0x8008 -/* 08327C 800E9DCC 00621821 */ addu $v1, $v1, $v0 -/* 083280 800E9DD0 906378FA */ lbu $v1, 0x78fa($v1) -.L800E9DD4: -/* 083284 800E9DD4 2D220038 */ sltiu $v0, $t1, 0x38 -/* 083288 800E9DD8 504000A9 */ beql $v0, $zero, .L800EA080 -/* 08328C 800E9DDC 24E70001 */ addiu $a3, $a3, 1 -/* 083290 800E9DE0 8D420000 */ lw $v0, ($t2) -/* 083294 800E9DE4 00400008 */ jr $v0 -/* 083298 800E9DE8 00000000 */ nop -/* 08329C 800E9DEC 0803A81D */ j .L800EA074 -/* 0832A0 800E9DF0 2402004C */ addiu $v0, $zero, 0x4c - -/* 0832A4 800E9DF4 0803A81D */ j .L800EA074 -/* 0832A8 800E9DF8 24020040 */ addiu $v0, $zero, 0x40 - -/* 0832AC 800E9DFC 0803A81D */ j .L800EA074 -/* 0832B0 800E9E00 2402004D */ addiu $v0, $zero, 0x4d - -/* 0832B4 800E9E04 0803A81D */ j .L800EA074 -/* 0832B8 800E9E08 24020052 */ addiu $v0, $zero, 0x52 - -/* 0832BC 800E9E0C 0803A81D */ j .L800EA074 -/* 0832C0 800E9E10 24020035 */ addiu $v0, $zero, 0x35 - -/* 0832C4 800E9E14 24020053 */ addiu $v0, $zero, 0x53 -/* 0832C8 800E9E18 50620001 */ beql $v1, $v0, .L800E9E20 -/* 0832CC 800E9E1C 24A50001 */ addiu $a1, $a1, 1 -.L800E9E20: -/* 0832D0 800E9E20 8102000A */ lb $v0, 0xa($t0) -/* 0832D4 800E9E24 50400096 */ beql $v0, $zero, .L800EA080 -/* 0832D8 800E9E28 24E70001 */ addiu $a3, $a3, 1 -/* 0832DC 800E9E2C 0803A81F */ j .L800EA07C -/* 0832E0 800E9E30 24A50001 */ addiu $a1, $a1, 1 - -/* 0832E4 800E9E34 0803A81D */ j .L800EA074 -/* 0832E8 800E9E38 24020041 */ addiu $v0, $zero, 0x41 - -/* 0832EC 800E9E3C 0803A81D */ j .L800EA074 -/* 0832F0 800E9E40 24020042 */ addiu $v0, $zero, 0x42 - -/* 0832F4 800E9E44 0803A81D */ j .L800EA074 -/* 0832F8 800E9E48 2402005A */ addiu $v0, $zero, 0x5a - -/* 0832FC 800E9E4C 0803A81D */ j .L800EA074 -/* 083300 800E9E50 2402003C */ addiu $v0, $zero, 0x3c - -/* 083304 800E9E54 0803A81D */ j .L800EA074 -/* 083308 800E9E58 2402004E */ addiu $v0, $zero, 0x4e - -/* 08330C 800E9E5C 0803A81D */ j .L800EA074 -/* 083310 800E9E60 2402005B */ addiu $v0, $zero, 0x5b - -/* 083314 800E9E64 0803A81D */ j .L800EA074 -/* 083318 800E9E68 2402003D */ addiu $v0, $zero, 0x3d - -/* 08331C 800E9E6C 0803A81D */ j .L800EA074 -/* 083320 800E9E70 24020043 */ addiu $v0, $zero, 0x43 - -/* 083324 800E9E74 24020054 */ addiu $v0, $zero, 0x54 -/* 083328 800E9E78 14620007 */ bne $v1, $v0, .L800E9E98 -/* 08332C 800E9E7C 24020055 */ addiu $v0, $zero, 0x55 -/* 083330 800E9E80 24020001 */ addiu $v0, $zero, 1 -/* 083334 800E9E84 ACC20000 */ sw $v0, ($a2) -/* 083338 800E9E88 24C60004 */ addiu $a2, $a2, 4 -/* 08333C 800E9E8C 00822021 */ addu $a0, $a0, $v0 -/* 083340 800E9E90 2405FFFF */ addiu $a1, $zero, -1 -/* 083344 800E9E94 24020055 */ addiu $v0, $zero, 0x55 -.L800E9E98: -/* 083348 800E9E98 14620007 */ bne $v1, $v0, .L800E9EB8 -/* 08334C 800E9E9C 24020056 */ addiu $v0, $zero, 0x56 -/* 083350 800E9EA0 24020002 */ addiu $v0, $zero, 2 -/* 083354 800E9EA4 ACC20000 */ sw $v0, ($a2) -/* 083358 800E9EA8 24C60004 */ addiu $a2, $a2, 4 -/* 08335C 800E9EAC 24840001 */ addiu $a0, $a0, 1 -/* 083360 800E9EB0 2405FFFF */ addiu $a1, $zero, -1 -/* 083364 800E9EB4 24020056 */ addiu $v0, $zero, 0x56 -.L800E9EB8: -/* 083368 800E9EB8 14620007 */ bne $v1, $v0, .L800E9ED8 -/* 08336C 800E9EBC 24020057 */ addiu $v0, $zero, 0x57 -/* 083370 800E9EC0 24020003 */ addiu $v0, $zero, 3 -/* 083374 800E9EC4 ACC20000 */ sw $v0, ($a2) -/* 083378 800E9EC8 24C60004 */ addiu $a2, $a2, 4 -/* 08337C 800E9ECC 24840001 */ addiu $a0, $a0, 1 -/* 083380 800E9ED0 2405FFFF */ addiu $a1, $zero, -1 -/* 083384 800E9ED4 24020057 */ addiu $v0, $zero, 0x57 -.L800E9ED8: -/* 083388 800E9ED8 14620007 */ bne $v1, $v0, .L800E9EF8 -/* 08338C 800E9EDC 24020058 */ addiu $v0, $zero, 0x58 -/* 083390 800E9EE0 24020004 */ addiu $v0, $zero, 4 -/* 083394 800E9EE4 ACC20000 */ sw $v0, ($a2) -/* 083398 800E9EE8 00C23021 */ addu $a2, $a2, $v0 -/* 08339C 800E9EEC 24840001 */ addiu $a0, $a0, 1 -/* 0833A0 800E9EF0 2405FFFF */ addiu $a1, $zero, -1 -/* 0833A4 800E9EF4 24020058 */ addiu $v0, $zero, 0x58 -.L800E9EF8: -/* 0833A8 800E9EF8 14620007 */ bne $v1, $v0, .L800E9F18 -/* 0833AC 800E9EFC 24020059 */ addiu $v0, $zero, 0x59 -/* 0833B0 800E9F00 24020005 */ addiu $v0, $zero, 5 -/* 0833B4 800E9F04 ACC20000 */ sw $v0, ($a2) -/* 0833B8 800E9F08 24C60004 */ addiu $a2, $a2, 4 -/* 0833BC 800E9F0C 24840001 */ addiu $a0, $a0, 1 -/* 0833C0 800E9F10 2405FFFF */ addiu $a1, $zero, -1 -/* 0833C4 800E9F14 24020059 */ addiu $v0, $zero, 0x59 -.L800E9F18: -/* 0833C8 800E9F18 54620059 */ bnel $v1, $v0, .L800EA080 -/* 0833CC 800E9F1C 24E70001 */ addiu $a3, $a3, 1 -/* 0833D0 800E9F20 24020006 */ addiu $v0, $zero, 6 -/* 0833D4 800E9F24 ACC20000 */ sw $v0, ($a2) -/* 0833D8 800E9F28 24C60004 */ addiu $a2, $a2, 4 -/* 0833DC 800E9F2C 24840001 */ addiu $a0, $a0, 1 -/* 0833E0 800E9F30 0803A81F */ j .L800EA07C -/* 0833E4 800E9F34 2405FFFF */ addiu $a1, $zero, -1 - -/* 0833E8 800E9F38 0803A81D */ j .L800EA074 -/* 0833EC 800E9F3C 2402005C */ addiu $v0, $zero, 0x5c - -/* 0833F0 800E9F40 0803A81D */ j .L800EA074 -/* 0833F4 800E9F44 2402005D */ addiu $v0, $zero, 0x5d - -/* 0833F8 800E9F48 0803A81D */ j .L800EA074 -/* 0833FC 800E9F4C 2402005E */ addiu $v0, $zero, 0x5e - -/* 083400 800E9F50 0803A81D */ j .L800EA074 -/* 083404 800E9F54 24020044 */ addiu $v0, $zero, 0x44 - -/* 083408 800E9F58 0803A81D */ j .L800EA074 -/* 08340C 800E9F5C 2402005F */ addiu $v0, $zero, 0x5f - -/* 083410 800E9F60 0803A81D */ j .L800EA074 -/* 083414 800E9F64 24020060 */ addiu $v0, $zero, 0x60 - -/* 083418 800E9F68 0803A81D */ j .L800EA074 -/* 08341C 800E9F6C 2402004F */ addiu $v0, $zero, 0x4f - -/* 083420 800E9F70 0803A81D */ j .L800EA074 -/* 083424 800E9F74 24020061 */ addiu $v0, $zero, 0x61 - -/* 083428 800E9F78 0803A81D */ j .L800EA074 -/* 08342C 800E9F7C 24020062 */ addiu $v0, $zero, 0x62 - -/* 083430 800E9F80 0803A81D */ j .L800EA074 -/* 083434 800E9F84 24020063 */ addiu $v0, $zero, 0x63 - -/* 083438 800E9F88 0803A81D */ j .L800EA074 -/* 08343C 800E9F8C 24020045 */ addiu $v0, $zero, 0x45 - -/* 083440 800E9F90 0803A81D */ j .L800EA074 -/* 083444 800E9F94 2402003B */ addiu $v0, $zero, 0x3b - -/* 083448 800E9F98 0803A81D */ j .L800EA074 -/* 08344C 800E9F9C 2402006E */ addiu $v0, $zero, 0x6e - -/* 083450 800E9FA0 0803A81D */ j .L800EA074 -/* 083454 800E9FA4 24020064 */ addiu $v0, $zero, 0x64 - -/* 083458 800E9FA8 0803A81D */ j .L800EA074 -/* 08345C 800E9FAC 24020065 */ addiu $v0, $zero, 0x65 - -/* 083460 800E9FB0 0803A81D */ j .L800EA074 -/* 083464 800E9FB4 24020046 */ addiu $v0, $zero, 0x46 - -/* 083468 800E9FB8 0803A81D */ j .L800EA074 -/* 08346C 800E9FBC 24020047 */ addiu $v0, $zero, 0x47 - -/* 083470 800E9FC0 0803A81D */ j .L800EA074 -/* 083474 800E9FC4 2402003E */ addiu $v0, $zero, 0x3e - -/* 083478 800E9FC8 0803A81D */ j .L800EA074 -/* 08347C 800E9FCC 24020048 */ addiu $v0, $zero, 0x48 - -/* 083480 800E9FD0 0803A81D */ j .L800EA074 -/* 083484 800E9FD4 24020066 */ addiu $v0, $zero, 0x66 - -/* 083488 800E9FD8 0803A81D */ j .L800EA074 -/* 08348C 800E9FDC 24020049 */ addiu $v0, $zero, 0x49 - -/* 083490 800E9FE0 0803A81D */ j .L800EA074 -/* 083494 800E9FE4 24020067 */ addiu $v0, $zero, 0x67 - -/* 083498 800E9FE8 0803A81D */ j .L800EA074 -/* 08349C 800E9FEC 2402006D */ addiu $v0, $zero, 0x6d - -/* 0834A0 800E9FF0 0803A81D */ j .L800EA074 -/* 0834A4 800E9FF4 2402006A */ addiu $v0, $zero, 0x6a - -/* 0834A8 800E9FF8 0803A81D */ j .L800EA074 -/* 0834AC 800E9FFC 2402006C */ addiu $v0, $zero, 0x6c - -/* 0834B0 800EA000 0803A81D */ j .L800EA074 -/* 0834B4 800EA004 24020050 */ addiu $v0, $zero, 0x50 - -/* 0834B8 800EA008 0803A81D */ j .L800EA074 -/* 0834BC 800EA00C 24020038 */ addiu $v0, $zero, 0x38 - -/* 0834C0 800EA010 0803A81D */ j .L800EA074 -/* 0834C4 800EA014 24020068 */ addiu $v0, $zero, 0x68 - -/* 0834C8 800EA018 0803A81D */ j .L800EA074 -/* 0834CC 800EA01C 24020069 */ addiu $v0, $zero, 0x69 - -/* 0834D0 800EA020 0803A81D */ j .L800EA074 -/* 0834D4 800EA024 2402006B */ addiu $v0, $zero, 0x6b - -/* 0834D8 800EA028 0803A81D */ j .L800EA074 -/* 0834DC 800EA02C 2402006F */ addiu $v0, $zero, 0x6f - -/* 0834E0 800EA030 0803A81D */ j .L800EA074 -/* 0834E4 800EA034 24020070 */ addiu $v0, $zero, 0x70 - -/* 0834E8 800EA038 0803A81D */ j .L800EA074 -/* 0834EC 800EA03C 24020071 */ addiu $v0, $zero, 0x71 - -/* 0834F0 800EA040 0803A81D */ j .L800EA074 -/* 0834F4 800EA044 24020072 */ addiu $v0, $zero, 0x72 - -/* 0834F8 800EA048 0803A81D */ j .L800EA074 -/* 0834FC 800EA04C 24020073 */ addiu $v0, $zero, 0x73 - -/* 083500 800EA050 0803A81D */ j .L800EA074 -/* 083504 800EA054 24020033 */ addiu $v0, $zero, 0x33 - -/* 083508 800EA058 0803A81D */ j .L800EA074 -/* 08350C 800EA05C 24020074 */ addiu $v0, $zero, 0x74 - -/* 083510 800EA060 0803A81D */ j .L800EA074 -/* 083514 800EA064 24020075 */ addiu $v0, $zero, 0x75 - -/* 083518 800EA068 0803A81D */ j .L800EA074 -/* 08351C 800EA06C 24020076 */ addiu $v0, $zero, 0x76 - -/* 083520 800EA070 2402004A */ addiu $v0, $zero, 0x4a -.L800EA074: -/* 083524 800EA074 50620001 */ beql $v1, $v0, .L800EA07C -/* 083528 800EA078 24A50001 */ addiu $a1, $a1, 1 -.L800EA07C: -/* 08352C 800EA07C 24E70001 */ addiu $a3, $a3, 1 -.L800EA080: -/* 083530 800EA080 28E20040 */ slti $v0, $a3, 0x40 -/* 083534 800EA084 1440FF4C */ bnez $v0, .L800E9DB8 -/* 083538 800EA088 00071040 */ sll $v0, $a3, 1 -/* 08353C 800EA08C 04A10007 */ bgez $a1, .L800EA0AC -/* 083540 800EA090 00A0102D */ daddu $v0, $a1, $zero -/* 083544 800EA094 0C00A67F */ jal rand_int -/* 083548 800EA098 2484FFFF */ addiu $a0, $a0, -1 -/* 08354C 800EA09C 00021080 */ sll $v0, $v0, 2 -/* 083550 800EA0A0 03A21021 */ addu $v0, $sp, $v0 -/* 083554 800EA0A4 8C450010 */ lw $a1, 0x10($v0) -/* 083558 800EA0A8 00A0102D */ daddu $v0, $a1, $zero -.L800EA0AC: -/* 08355C 800EA0AC 8FBF0028 */ lw $ra, 0x28($sp) -/* 083560 800EA0B0 03E00008 */ jr $ra -/* 083564 800EA0B4 27BD0030 */ addiu $sp, $sp, 0x30 - -is_partner_ability_active: -/* 083568 800EA0B8 03E00008 */ jr $ra -/* 08356C 800EA0BC 0000102D */ daddu $v0, $zero, $zero - -add_coins: -/* 083570 800EA0C0 3C038011 */ lui $v1, 0x8011 -/* 083574 800EA0C4 2463F290 */ addiu $v1, $v1, -0xd70 -/* 083578 800EA0C8 9462000C */ lhu $v0, 0xc($v1) -/* 08357C 800EA0CC 00441021 */ addu $v0, $v0, $a0 -/* 083580 800EA0D0 A462000C */ sh $v0, 0xc($v1) -/* 083584 800EA0D4 00021400 */ sll $v0, $v0, 0x10 -/* 083588 800EA0D8 00021403 */ sra $v0, $v0, 0x10 -/* 08358C 800EA0DC 284203E8 */ slti $v0, $v0, 0x3e8 -/* 083590 800EA0E0 14400002 */ bnez $v0, .L800EA0EC -/* 083594 800EA0E4 240203E7 */ addiu $v0, $zero, 0x3e7 -/* 083598 800EA0E8 A462000C */ sh $v0, 0xc($v1) -.L800EA0EC: -/* 08359C 800EA0EC 8462000C */ lh $v0, 0xc($v1) -/* 0835A0 800EA0F0 04420001 */ bltzl $v0, .L800EA0F8 -/* 0835A4 800EA0F4 A460000C */ sh $zero, 0xc($v1) -.L800EA0F8: -/* 0835A8 800EA0F8 18800008 */ blez $a0, .L800EA11C -/* 0835AC 800EA0FC 3C050001 */ lui $a1, 1 -/* 0835B0 800EA100 8C6202B4 */ lw $v0, 0x2b4($v1) -/* 0835B4 800EA104 34A5869F */ ori $a1, $a1, 0x869f -/* 0835B8 800EA108 00441021 */ addu $v0, $v0, $a0 -/* 0835BC 800EA10C AC6202B4 */ sw $v0, 0x2b4($v1) -/* 0835C0 800EA110 00A2102B */ sltu $v0, $a1, $v0 -/* 0835C4 800EA114 54400001 */ bnel $v0, $zero, .L800EA11C -/* 0835C8 800EA118 AC6502B4 */ sw $a1, 0x2b4($v1) -.L800EA11C: -/* 0835CC 800EA11C 8462000C */ lh $v0, 0xc($v1) -/* 0835D0 800EA120 03E00008 */ jr $ra -/* 0835D4 800EA124 00000000 */ nop - -add_star_points: -/* 0835D8 800EA128 3C038011 */ lui $v1, 0x8011 -/* 0835DC 800EA12C 2463F290 */ addiu $v1, $v1, -0xd70 -/* 0835E0 800EA130 90620010 */ lbu $v0, 0x10($v1) -/* 0835E4 800EA134 00441021 */ addu $v0, $v0, $a0 -/* 0835E8 800EA138 A0620010 */ sb $v0, 0x10($v1) -/* 0835EC 800EA13C 00021600 */ sll $v0, $v0, 0x18 -/* 0835F0 800EA140 00021603 */ sra $v0, $v0, 0x18 -/* 0835F4 800EA144 28420065 */ slti $v0, $v0, 0x65 -/* 0835F8 800EA148 14400003 */ bnez $v0, .L800EA158 -/* 0835FC 800EA14C 0060202D */ daddu $a0, $v1, $zero -/* 083600 800EA150 24020064 */ addiu $v0, $zero, 0x64 -/* 083604 800EA154 A0620010 */ sb $v0, 0x10($v1) -.L800EA158: -/* 083608 800EA158 80620010 */ lb $v0, 0x10($v1) -/* 08360C 800EA15C 04420001 */ bltzl $v0, .L800EA164 -/* 083610 800EA160 A0600010 */ sb $zero, 0x10($v1) -.L800EA164: -/* 083614 800EA164 80820010 */ lb $v0, 0x10($a0) -/* 083618 800EA168 03E00008 */ jr $ra -/* 08361C 800EA16C 00000000 */ nop - -add_star_pieces: -/* 083620 800EA170 3C058011 */ lui $a1, 0x8011 -/* 083624 800EA174 24A5F290 */ addiu $a1, $a1, -0xd70 -/* 083628 800EA178 90A3000F */ lbu $v1, 0xf($a1) -/* 08362C 800EA17C 00641821 */ addu $v1, $v1, $a0 -/* 083630 800EA180 286200DF */ slti $v0, $v1, 0xdf -/* 083634 800EA184 14400002 */ bnez $v0, .L800EA190 -/* 083638 800EA188 00A0302D */ daddu $a2, $a1, $zero -/* 08363C 800EA18C 240300DE */ addiu $v1, $zero, 0xde -.L800EA190: -/* 083640 800EA190 04620001 */ bltzl $v1, .L800EA198 -/* 083644 800EA194 0000182D */ daddu $v1, $zero, $zero -.L800EA198: -/* 083648 800EA198 18800004 */ blez $a0, .L800EA1AC -/* 08364C 800EA19C A0A3000F */ sb $v1, 0xf($a1) -/* 083650 800EA1A0 94A2032C */ lhu $v0, 0x32c($a1) -/* 083654 800EA1A4 00441021 */ addu $v0, $v0, $a0 -/* 083658 800EA1A8 A4A2032C */ sh $v0, 0x32c($a1) -.L800EA1AC: -/* 08365C 800EA1AC 03E00008 */ jr $ra -/* 083660 800EA1B0 90C2000F */ lbu $v0, 0xf($a2) - -increment_max_SP: -/* 083664 800EA1B4 3C038011 */ lui $v1, 0x8011 -/* 083668 800EA1B8 2463F290 */ addiu $v1, $v1, -0xd70 -/* 08366C 800EA1BC 9062028E */ lbu $v0, 0x28e($v1) -/* 083670 800EA1C0 24420001 */ addiu $v0, $v0, 1 -/* 083674 800EA1C4 A062028E */ sb $v0, 0x28e($v1) -/* 083678 800EA1C8 00021600 */ sll $v0, $v0, 0x18 -/* 08367C 800EA1CC 00021403 */ sra $v0, $v0, 0x10 -/* 083680 800EA1D0 03E00008 */ jr $ra -/* 083684 800EA1D4 A4620290 */ sh $v0, 0x290($v1) - -set_max_SP: -/* 083688 800EA1D8 3C028011 */ lui $v0, 0x8011 -/* 08368C 800EA1DC 2442F290 */ addiu $v0, $v0, -0xd70 -/* 083690 800EA1E0 A044028E */ sb $a0, 0x28e($v0) -/* 083694 800EA1E4 00042600 */ sll $a0, $a0, 0x18 -/* 083698 800EA1E8 00042403 */ sra $a0, $a0, 0x10 -/* 08369C 800EA1EC 03E00008 */ jr $ra -/* 0836A0 800EA1F0 A4440290 */ sh $a0, 0x290($v0) - -add_SP: -/* 0836A4 800EA1F4 3C078011 */ lui $a3, 0x8011 -/* 0836A8 800EA1F8 24E7F290 */ addiu $a3, $a3, -0xd70 -/* 0836AC 800EA1FC 3C068011 */ lui $a2, 0x8011 -/* 0836B0 800EA200 24C6EF58 */ addiu $a2, $a2, -0x10a8 -/* 0836B4 800EA204 84E30290 */ lh $v1, 0x290($a3) -/* 0836B8 800EA208 24020001 */ addiu $v0, $zero, 1 -/* 0836BC 800EA20C A0C20057 */ sb $v0, 0x57($a2) -/* 0836C0 800EA210 2402003C */ addiu $v0, $zero, 0x3c -/* 0836C4 800EA214 00E0402D */ daddu $t0, $a3, $zero -/* 0836C8 800EA218 A0C20058 */ sb $v0, 0x58($a2) -/* 0836CC 800EA21C 94E50290 */ lhu $a1, 0x290($a3) -/* 0836D0 800EA220 04610002 */ bgez $v1, .L800EA22C -/* 0836D4 800EA224 00C0482D */ daddu $t1, $a2, $zero -/* 0836D8 800EA228 2463001F */ addiu $v1, $v1, 0x1f -.L800EA22C: -/* 0836DC 800EA22C 00031143 */ sra $v0, $v1, 5 -/* 0836E0 800EA230 A0C20059 */ sb $v0, 0x59($a2) -/* 0836E4 800EA234 00A41021 */ addu $v0, $a1, $a0 -/* 0836E8 800EA238 A4E20290 */ sh $v0, 0x290($a3) -/* 0836EC 800EA23C 00021400 */ sll $v0, $v0, 0x10 -/* 0836F0 800EA240 80E3028E */ lb $v1, 0x28e($a3) -/* 0836F4 800EA244 00021403 */ sra $v0, $v0, 0x10 -/* 0836F8 800EA248 00031A00 */ sll $v1, $v1, 8 -/* 0836FC 800EA24C 0062102A */ slt $v0, $v1, $v0 -/* 083700 800EA250 54400001 */ bnel $v0, $zero, .L800EA258 -/* 083704 800EA254 A4E30290 */ sh $v1, 0x290($a3) -.L800EA258: -/* 083708 800EA258 95020290 */ lhu $v0, 0x290($t0) -/* 08370C 800EA25C 03E00008 */ jr $ra -/* 083710 800EA260 A5220048 */ sh $v0, 0x48($t1) - -recover_fp: -/* 083714 800EA264 3C058011 */ lui $a1, 0x8011 -/* 083718 800EA268 24A5F290 */ addiu $a1, $a1, -0xd70 -/* 08371C 800EA26C 80A30005 */ lb $v1, 5($a1) -/* 083720 800EA270 2402FFFE */ addiu $v0, $zero, -2 -/* 083724 800EA274 14820008 */ bne $a0, $v0, .L800EA298 -/* 083728 800EA278 00000000 */ nop -/* 08372C 800EA27C 90A30006 */ lbu $v1, 6($a1) -/* 083730 800EA280 24630001 */ addiu $v1, $v1, 1 -/* 083734 800EA284 00031600 */ sll $v0, $v1, 0x18 -/* 083738 800EA288 00021603 */ sra $v0, $v0, 0x18 -/* 08373C 800EA28C A0A30006 */ sb $v1, 6($a1) -/* 083740 800EA290 03E00008 */ jr $ra -/* 083744 800EA294 A0A30005 */ sb $v1, 5($a1) - -.L800EA298: -/* 083748 800EA298 5C800001 */ bgtzl $a0, .L800EA2A0 -/* 08374C 800EA29C 00641821 */ addu $v1, $v1, $a0 -.L800EA2A0: -/* 083750 800EA2A0 2402FFFF */ addiu $v0, $zero, -1 -/* 083754 800EA2A4 10820005 */ beq $a0, $v0, .L800EA2BC -/* 083758 800EA2A8 00000000 */ nop -/* 08375C 800EA2AC 80A20006 */ lb $v0, 6($a1) -/* 083760 800EA2B0 0043102A */ slt $v0, $v0, $v1 -/* 083764 800EA2B4 50400003 */ beql $v0, $zero, .L800EA2C4 -/* 083768 800EA2B8 A0A30005 */ sb $v1, 5($a1) -.L800EA2BC: -/* 08376C 800EA2BC 80A30006 */ lb $v1, 6($a1) -/* 083770 800EA2C0 A0A30005 */ sb $v1, 5($a1) -.L800EA2C4: -/* 083774 800EA2C4 03E00008 */ jr $ra -/* 083778 800EA2C8 0060102D */ daddu $v0, $v1, $zero - -recover_hp: -/* 08377C 800EA2CC 3C058011 */ lui $a1, 0x8011 -/* 083780 800EA2D0 24A5F290 */ addiu $a1, $a1, -0xd70 -/* 083784 800EA2D4 80A30002 */ lb $v1, 2($a1) -/* 083788 800EA2D8 2402FFFE */ addiu $v0, $zero, -2 -/* 08378C 800EA2DC 14820008 */ bne $a0, $v0, .L800EA300 -/* 083790 800EA2E0 00000000 */ nop -/* 083794 800EA2E4 90A30003 */ lbu $v1, 3($a1) -/* 083798 800EA2E8 24630001 */ addiu $v1, $v1, 1 -/* 08379C 800EA2EC 00031600 */ sll $v0, $v1, 0x18 -/* 0837A0 800EA2F0 00021603 */ sra $v0, $v0, 0x18 -/* 0837A4 800EA2F4 A0A30003 */ sb $v1, 3($a1) -/* 0837A8 800EA2F8 03E00008 */ jr $ra -/* 0837AC 800EA2FC A0A30002 */ sb $v1, 2($a1) - -.L800EA300: -/* 0837B0 800EA300 5C800001 */ bgtzl $a0, .L800EA308 -/* 0837B4 800EA304 00641821 */ addu $v1, $v1, $a0 -.L800EA308: -/* 0837B8 800EA308 2402FFFF */ addiu $v0, $zero, -1 -/* 0837BC 800EA30C 10820005 */ beq $a0, $v0, .L800EA324 -/* 0837C0 800EA310 00000000 */ nop -/* 0837C4 800EA314 80A20003 */ lb $v0, 3($a1) -/* 0837C8 800EA318 0043102A */ slt $v0, $v0, $v1 -/* 0837CC 800EA31C 50400003 */ beql $v0, $zero, .L800EA32C -/* 0837D0 800EA320 A0A30002 */ sb $v1, 2($a1) -.L800EA324: -/* 0837D4 800EA324 80A30003 */ lb $v1, 3($a1) -/* 0837D8 800EA328 A0A30002 */ sb $v1, 2($a1) -.L800EA32C: -/* 0837DC 800EA32C 03E00008 */ jr $ra -/* 0837E0 800EA330 0060102D */ daddu $v0, $v1, $zero - -subtract_hp: -/* 0837E4 800EA334 3C038011 */ lui $v1, 0x8011 -/* 0837E8 800EA338 2463F290 */ addiu $v1, $v1, -0xd70 -/* 0837EC 800EA33C 80620002 */ lb $v0, 2($v1) -/* 0837F0 800EA340 5C800001 */ bgtzl $a0, .L800EA348 -/* 0837F4 800EA344 00441023 */ subu $v0, $v0, $a0 -.L800EA348: -/* 0837F8 800EA348 04820003 */ bltzl $a0, .L800EA358 -/* 0837FC 800EA34C 24020001 */ addiu $v0, $zero, 1 -/* 083800 800EA350 58400001 */ blezl $v0, .L800EA358 -/* 083804 800EA354 24020001 */ addiu $v0, $zero, 1 -.L800EA358: -/* 083808 800EA358 03E00008 */ jr $ra -/* 08380C 800EA35C A0620002 */ sb $v0, 2($v1) - -has_full_hp: -/* 083810 800EA360 3C038011 */ lui $v1, 0x8011 -/* 083814 800EA364 2463F290 */ addiu $v1, $v1, -0xd70 -/* 083818 800EA368 80620003 */ lb $v0, 3($v1) -/* 08381C 800EA36C 80630002 */ lb $v1, 2($v1) -/* 083820 800EA370 00431026 */ xor $v0, $v0, $v1 -/* 083824 800EA374 03E00008 */ jr $ra -/* 083828 800EA378 2C420001 */ sltiu $v0, $v0, 1 - -has_full_fp: -/* 08382C 800EA37C 3C038011 */ lui $v1, 0x8011 -/* 083830 800EA380 2463F290 */ addiu $v1, $v1, -0xd70 -/* 083834 800EA384 80620006 */ lb $v0, 6($v1) -/* 083838 800EA388 80630005 */ lb $v1, 5($v1) -/* 08383C 800EA38C 00431026 */ xor $v0, $v0, $v1 -/* 083840 800EA390 03E00008 */ jr $ra -/* 083844 800EA394 2C420001 */ sltiu $v0, $v0, 1 - -add_fortress_keys: -/* 083848 800EA398 3C038011 */ lui $v1, 0x8011 -/* 08384C 800EA39C 2463F290 */ addiu $v1, $v1, -0xd70 -/* 083850 800EA3A0 9062000E */ lbu $v0, 0xe($v1) -/* 083854 800EA3A4 00441021 */ addu $v0, $v0, $a0 -/* 083858 800EA3A8 A062000E */ sb $v0, 0xe($v1) -/* 08385C 800EA3AC 00021600 */ sll $v0, $v0, 0x18 -/* 083860 800EA3B0 03E00008 */ jr $ra -/* 083864 800EA3B4 00021603 */ sra $v0, $v0, 0x18 - -subtract_fortress_keys: -/* 083868 800EA3B8 3C038011 */ lui $v1, 0x8011 -/* 08386C 800EA3BC 2463F290 */ addiu $v1, $v1, -0xd70 -/* 083870 800EA3C0 9062000E */ lbu $v0, 0xe($v1) -/* 083874 800EA3C4 00441023 */ subu $v0, $v0, $a0 -/* 083878 800EA3C8 A062000E */ sb $v0, 0xe($v1) -/* 08387C 800EA3CC 00021600 */ sll $v0, $v0, 0x18 -/* 083880 800EA3D0 04410002 */ bgez $v0, .L800EA3DC -/* 083884 800EA3D4 0060202D */ daddu $a0, $v1, $zero -/* 083888 800EA3D8 A060000E */ sb $zero, 0xe($v1) -.L800EA3DC: -/* 08388C 800EA3DC 03E00008 */ jr $ra -/* 083890 800EA3E0 8082000E */ lb $v0, 0xe($a0) - -get_fortress_key_count: -/* 083894 800EA3E4 3C028011 */ lui $v0, 0x8011 -/* 083898 800EA3E8 8042F29E */ lb $v0, -0xd62($v0) -/* 08389C 800EA3EC 03E00008 */ jr $ra -/* 0838A0 800EA3F0 00000000 */ nop - -/* 0838A4 800EA3F4 00000000 */ nop -/* 0838A8 800EA3F8 00000000 */ nop -/* 0838AC 800EA3FC 00000000 */ nop -use_consumable: -/* 0838B0 800EA400 27BDFFE0 */ addiu $sp, $sp, -0x20 -/* 0838B4 800EA404 AFB10014 */ sw $s1, 0x14($sp) -/* 0838B8 800EA408 0080882D */ daddu $s1, $a0, $zero -/* 0838BC 800EA40C AFB00010 */ sw $s0, 0x10($sp) -/* 0838C0 800EA410 3C108010 */ lui $s0, 0x8010 -/* 0838C4 800EA414 26108010 */ addiu $s0, $s0, -0x7ff0 -/* 0838C8 800EA418 3C06802C */ lui $a2, 0x802c -/* 0838CC 800EA41C 24C60000 */ addiu $a2, $a2, 0 -/* 0838D0 800EA420 AFBF0018 */ sw $ra, 0x18($sp) -/* 0838D4 800EA424 8E040000 */ lw $a0, ($s0) -/* 0838D8 800EA428 8E050004 */ lw $a1, 4($s0) -/* 0838DC 800EA42C 00111040 */ sll $v0, $s1, 1 -/* 0838E0 800EA430 3C018011 */ lui $at, 0x8011 -/* 0838E4 800EA434 AC31CD20 */ sw $s1, -0x32e0($at) -/* 0838E8 800EA438 3C118011 */ lui $s1, 0x8011 -/* 0838EC 800EA43C 02228821 */ addu $s1, $s1, $v0 -/* 0838F0 800EA440 8631F444 */ lh $s1, -0xbbc($s1) -/* 0838F4 800EA444 0C00A5CF */ jal dma_copy -/* 0838F8 800EA448 00000000 */ nop -/* 0838FC 800EA44C 24050001 */ addiu $a1, $zero, 1 -/* 083900 800EA450 8E040008 */ lw $a0, 8($s0) -/* 083904 800EA454 0C0B0CF8 */ jal start_script -/* 083908 800EA458 0000302D */ daddu $a2, $zero, $zero -/* 08390C 800EA45C 0040182D */ daddu $v1, $v0, $zero -/* 083910 800EA460 8C620144 */ lw $v0, 0x144($v1) -/* 083914 800EA464 AC7100AC */ sw $s1, 0xac($v1) -/* 083918 800EA468 8FBF0018 */ lw $ra, 0x18($sp) -/* 08391C 800EA46C 8FB10014 */ lw $s1, 0x14($sp) -/* 083920 800EA470 8FB00010 */ lw $s0, 0x10($sp) -/* 083924 800EA474 03E00008 */ jr $ra -/* 083928 800EA478 27BD0020 */ addiu $sp, $sp, 0x20 - -remove_consumable: -/* 08392C 800EA47C 3C028011 */ lui $v0, 0x8011 -/* 083930 800EA480 8C42CD20 */ lw $v0, -0x32e0($v0) -/* 083934 800EA484 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 083938 800EA488 AFBF0010 */ sw $ra, 0x10($sp) -/* 08393C 800EA48C 00021040 */ sll $v0, $v0, 1 -/* 083940 800EA490 3C018011 */ lui $at, 0x8011 -/* 083944 800EA494 00220821 */ addu $at, $at, $v0 -/* 083948 800EA498 A420F444 */ sh $zero, -0xbbc($at) -/* 08394C 800EA49C 0C039DB3 */ jal sort_items -/* 083950 800EA4A0 00000000 */ nop -/* 083954 800EA4A4 8FBF0010 */ lw $ra, 0x10($sp) -/* 083958 800EA4A8 03E00008 */ jr $ra -/* 08395C 800EA4AC 27BD0018 */ addiu $sp, $sp, 0x18 - -func_800EA4B0: -/* 083960 800EA4B0 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 083964 800EA4B4 AFBF0010 */ sw $ra, 0x10($sp) -/* 083968 800EA4B8 04800012 */ bltz $a0, .L800EA504 -/* 08396C 800EA4BC 24030001 */ addiu $v1, $zero, 1 -/* 083970 800EA4C0 30824000 */ andi $v0, $a0, 0x4000 -/* 083974 800EA4C4 1040000F */ beqz $v0, .L800EA504 -/* 083978 800EA4C8 00000000 */ nop -/* 08397C 800EA4CC 0C0441A9 */ jal func_801106A4 -/* 083980 800EA4D0 00000000 */ nop -/* 083984 800EA4D4 2443FFF9 */ addiu $v1, $v0, -7 -/* 083988 800EA4D8 2C620036 */ sltiu $v0, $v1, 0x36 -/* 08398C 800EA4DC 10400008 */ beqz $v0, .L800EA500 -/* 083990 800EA4E0 00031080 */ sll $v0, $v1, 2 -/* 083994 800EA4E4 3C018011 */ lui $at, 0x8011 -/* 083998 800EA4E8 00220821 */ addu $at, $at, $v0 -/* 08399C 800EA4EC 8C22C040 */ lw $v0, -0x3fc0($at) -/* 0839A0 800EA4F0 00400008 */ jr $v0 -/* 0839A4 800EA4F4 00000000 */ nop -/* 0839A8 800EA4F8 0803A941 */ j .L800EA504 -/* 0839AC 800EA4FC 0000182D */ daddu $v1, $zero, $zero - -.L800EA500: -/* 0839B0 800EA500 24030001 */ addiu $v1, $zero, 1 -.L800EA504: -/* 0839B4 800EA504 8FBF0010 */ lw $ra, 0x10($sp) -/* 0839B8 800EA508 0060102D */ daddu $v0, $v1, $zero -/* 0839BC 800EA50C 03E00008 */ jr $ra -/* 0839C0 800EA510 27BD0018 */ addiu $sp, $sp, 0x18 - -/* 0839C4 800EA514 3C028011 */ lui $v0, 0x8011 -/* 0839C8 800EA518 8042EBB0 */ lb $v0, -0x1450($v0) -/* 0839CC 800EA51C 03E00008 */ jr $ra -/* 0839D0 800EA520 2C420001 */ sltiu $v0, $v0, 1 - -/* 0839D4 800EA524 03E00008 */ jr $ra -/* 0839D8 800EA528 24020001 */ addiu $v0, $zero, 1 - -/* 0839DC 800EA52C 3C038011 */ lui $v1, 0x8011 -/* 0839E0 800EA530 2463EFC8 */ addiu $v1, $v1, -0x1038 -/* 0839E4 800EA534 8C620000 */ lw $v0, ($v1) -/* 0839E8 800EA538 806300B4 */ lb $v1, 0xb4($v1) -/* 0839EC 800EA53C 30420800 */ andi $v0, $v0, 0x800 -/* 0839F0 800EA540 10400003 */ beqz $v0, .L800EA550 -/* 0839F4 800EA544 0000282D */ daddu $a1, $zero, $zero -/* 0839F8 800EA548 03E00008 */ jr $ra -/* 0839FC 800EA54C 00A0102D */ daddu $v0, $a1, $zero - -.L800EA550: -/* 083A00 800EA550 2C620003 */ sltiu $v0, $v1, 3 -/* 083A04 800EA554 54400001 */ bnel $v0, $zero, .L800EA55C -/* 083A08 800EA558 24050001 */ addiu $a1, $zero, 1 -.L800EA55C: -/* 083A0C 800EA55C 24020009 */ addiu $v0, $zero, 9 -/* 083A10 800EA560 14820003 */ bne $a0, $v0, .L800EA570 -/* 083A14 800EA564 24020004 */ addiu $v0, $zero, 4 -/* 083A18 800EA568 0803A964 */ j .L800EA590 -/* 083A1C 800EA56C 24020021 */ addiu $v0, $zero, 0x21 - -.L800EA570: -/* 083A20 800EA570 1482000A */ bne $a0, $v0, .L800EA59C -/* 083A24 800EA574 24020021 */ addiu $v0, $zero, 0x21 -/* 083A28 800EA578 50620008 */ beql $v1, $v0, .L800EA59C -/* 083A2C 800EA57C 24050001 */ addiu $a1, $zero, 1 -/* 083A30 800EA580 10600005 */ beqz $v1, .L800EA598 -/* 083A34 800EA584 24020001 */ addiu $v0, $zero, 1 -/* 083A38 800EA588 10620003 */ beq $v1, $v0, .L800EA598 -/* 083A3C 800EA58C 24020002 */ addiu $v0, $zero, 2 -.L800EA590: -/* 083A40 800EA590 14620002 */ bne $v1, $v0, .L800EA59C -/* 083A44 800EA594 00000000 */ nop -.L800EA598: -/* 083A48 800EA598 24050001 */ addiu $a1, $zero, 1 -.L800EA59C: -/* 083A4C 800EA59C 03E00008 */ jr $ra -/* 083A50 800EA5A0 00A0102D */ daddu $v0, $a1, $zero - -func_800EA5A4: -/* 083A54 800EA5A4 3C028011 */ lui $v0, 0x8011 -/* 083A58 800EA5A8 8C42CFEC */ lw $v0, -0x3014($v0) -/* 083A5C 800EA5AC 8C42000C */ lw $v0, 0xc($v0) -/* 083A60 800EA5B0 03E00008 */ jr $ra -/* 083A64 800EA5B4 2C420001 */ sltiu $v0, $v0, 1 - -func_800EA5B8: -/* 083A68 800EA5B8 3C03FDFF */ lui $v1, 0xfdff -/* 083A6C 800EA5BC 8C820000 */ lw $v0, ($a0) -/* 083A70 800EA5C0 346387FF */ ori $v1, $v1, 0x87ff -/* 083A74 800EA5C4 00431024 */ and $v0, $v0, $v1 -/* 083A78 800EA5C8 03E00008 */ jr $ra -/* 083A7C 800EA5CC AC820000 */ sw $v0, ($a0) - -func_800EA5D0: -/* 083A80 800EA5D0 27BDFFD8 */ addiu $sp, $sp, -0x28 -/* 083A84 800EA5D4 3C028011 */ lui $v0, 0x8011 -/* 083A88 800EA5D8 8C42CFD8 */ lw $v0, -0x3028($v0) -/* 083A8C 800EA5DC 3C038010 */ lui $v1, 0x8010 -/* 083A90 800EA5E0 2463803C */ addiu $v1, $v1, -0x7fc4 -/* 083A94 800EA5E4 AFBF0024 */ sw $ra, 0x24($sp) -/* 083A98 800EA5E8 AFB00020 */ sw $s0, 0x20($sp) -/* 083A9C 800EA5EC 00021180 */ sll $v0, $v0, 6 -/* 083AA0 800EA5F0 00431021 */ addu $v0, $v0, $v1 -/* 083AA4 800EA5F4 8C440000 */ lw $a0, ($v0) -/* 083AA8 800EA5F8 8C450004 */ lw $a1, 4($v0) -/* 083AAC 800EA5FC 8C460008 */ lw $a2, 8($v0) -/* 083AB0 800EA600 3C108011 */ lui $s0, 0x8011 -/* 083AB4 800EA604 2610CFEC */ addiu $s0, $s0, -0x3014 -/* 083AB8 800EA608 0C00A5CF */ jal dma_copy -/* 083ABC 800EA60C AE020000 */ sw $v0, ($s0) -/* 083AC0 800EA610 3C020400 */ lui $v0, 0x400 -/* 083AC4 800EA614 34420100 */ ori $v0, $v0, 0x100 -/* 083AC8 800EA618 AFA20010 */ sw $v0, 0x10($sp) -/* 083ACC 800EA61C 8E020000 */ lw $v0, ($s0) -/* 083AD0 800EA620 8C420024 */ lw $v0, 0x24($v0) -/* 083AD4 800EA624 27A40010 */ addiu $a0, $sp, 0x10 -/* 083AD8 800EA628 AFA00018 */ sw $zero, 0x18($sp) -/* 083ADC 800EA62C AFA0001C */ sw $zero, 0x1c($sp) -/* 083AE0 800EA630 0C00E211 */ jal func_80038844 -/* 083AE4 800EA634 AFA20014 */ sw $v0, 0x14($sp) -/* 083AE8 800EA638 0040202D */ daddu $a0, $v0, $zero -/* 083AEC 800EA63C 3C018011 */ lui $at, 0x8011 -/* 083AF0 800EA640 AC24CFD0 */ sw $a0, -0x3030($at) -/* 083AF4 800EA644 0C00E2B7 */ jal get_npc_by_index -/* 083AF8 800EA648 00000000 */ nop -/* 083AFC 800EA64C 3C048011 */ lui $a0, 0x8011 -/* 083B00 800EA650 2484C930 */ addiu $a0, $a0, -0x36d0 -/* 083B04 800EA654 2403FFFC */ addiu $v1, $zero, -4 -/* 083B08 800EA658 AC820000 */ sw $v0, ($a0) -/* 083B0C 800EA65C A04300A4 */ sb $v1, 0xa4($v0) -/* 083B10 800EA660 8C840000 */ lw $a0, ($a0) -/* 083B14 800EA664 3C01C47A */ lui $at, 0xc47a -/* 083B18 800EA668 44810000 */ mtc1 $at, $f0 -/* 083B1C 800EA66C 2403000A */ addiu $v1, $zero, 0xa -/* 083B20 800EA670 A44300A6 */ sh $v1, 0xa6($v0) -/* 083B24 800EA674 A44300A8 */ sh $v1, 0xa8($v0) -/* 083B28 800EA678 AC800038 */ sw $zero, 0x38($a0) -/* 083B2C 800EA67C E480003C */ swc1 $f0, 0x3c($a0) -/* 083B30 800EA680 AC800040 */ sw $zero, 0x40($a0) -/* 083B34 800EA684 AC800054 */ sw $zero, 0x54($a0) -/* 083B38 800EA688 AC800058 */ sw $zero, 0x58($a0) -/* 083B3C 800EA68C AC80005C */ sw $zero, 0x5c($a0) -/* 083B40 800EA690 8FBF0024 */ lw $ra, 0x24($sp) -/* 083B44 800EA694 8FB00020 */ lw $s0, 0x20($sp) -/* 083B48 800EA698 3C018011 */ lui $at, 0x8011 -/* 083B4C 800EA69C AC20C954 */ sw $zero, -0x36ac($at) -/* 083B50 800EA6A0 03E00008 */ jr $ra -/* 083B54 800EA6A4 27BD0028 */ addiu $sp, $sp, 0x28 - -func_800EA6A8: -/* 083B58 800EA6A8 3C048011 */ lui $a0, 0x8011 -/* 083B5C 800EA6AC 8C84CFD0 */ lw $a0, -0x3030($a0) -/* 083B60 800EA6B0 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 083B64 800EA6B4 AFBF0010 */ sw $ra, 0x10($sp) -/* 083B68 800EA6B8 0C00E228 */ jal func_800388A0 -/* 083B6C 800EA6BC 00000000 */ nop -/* 083B70 800EA6C0 8FBF0010 */ lw $ra, 0x10($sp) -/* 083B74 800EA6C4 03E00008 */ jr $ra -/* 083B78 800EA6C8 27BD0018 */ addiu $sp, $sp, 0x18 - -func_800EA6CC: -/* 083B7C 800EA6CC 27BDFFD8 */ addiu $sp, $sp, -0x28 -/* 083B80 800EA6D0 AFB3001C */ sw $s3, 0x1c($sp) -/* 083B84 800EA6D4 3C138011 */ lui $s3, 0x8011 -/* 083B88 800EA6D8 2673F290 */ addiu $s3, $s3, -0xd70 -/* 083B8C 800EA6DC 3C058011 */ lui $a1, 0x8011 -/* 083B90 800EA6E0 24A5EBB0 */ addiu $a1, $a1, -0x1450 -/* 083B94 800EA6E4 AFBF0020 */ sw $ra, 0x20($sp) -/* 083B98 800EA6E8 AFB20018 */ sw $s2, 0x18($sp) -/* 083B9C 800EA6EC AFB10014 */ sw $s1, 0x14($sp) -/* 083BA0 800EA6F0 AFB00010 */ sw $s0, 0x10($sp) -/* 083BA4 800EA6F4 80A20014 */ lb $v0, 0x14($a1) -/* 083BA8 800EA6F8 3C068011 */ lui $a2, 0x8011 -/* 083BAC 800EA6FC 24C6EFC8 */ addiu $a2, $a2, -0x1038 -/* 083BB0 800EA700 5440001F */ bnel $v0, $zero, .L800EA780 -/* 083BB4 800EA704 A4A00004 */ sh $zero, 4($a1) -/* 083BB8 800EA708 3C038007 */ lui $v1, 0x8007 -/* 083BBC 800EA70C 8C63419C */ lw $v1, 0x419c($v1) -/* 083BC0 800EA710 80620081 */ lb $v0, 0x81($v1) -/* 083BC4 800EA714 00621021 */ addu $v0, $v1, $v0 -/* 083BC8 800EA718 90420040 */ lbu $v0, 0x40($v0) -/* 083BCC 800EA71C 00021600 */ sll $v0, $v0, 0x18 -/* 083BD0 800EA720 00021603 */ sra $v0, $v0, 0x18 -/* 083BD4 800EA724 A4A20004 */ sh $v0, 4($a1) -/* 083BD8 800EA728 80620081 */ lb $v0, 0x81($v1) -/* 083BDC 800EA72C 00621021 */ addu $v0, $v1, $v0 -/* 083BE0 800EA730 90420044 */ lbu $v0, 0x44($v0) -/* 083BE4 800EA734 00021600 */ sll $v0, $v0, 0x18 -/* 083BE8 800EA738 00021603 */ sra $v0, $v0, 0x18 -/* 083BEC 800EA73C A4A20006 */ sh $v0, 6($a1) -/* 083BF0 800EA740 80620081 */ lb $v0, 0x81($v1) -/* 083BF4 800EA744 00021080 */ sll $v0, $v0, 2 -/* 083BF8 800EA748 00621021 */ addu $v0, $v1, $v0 -/* 083BFC 800EA74C 8C420000 */ lw $v0, ($v0) -/* 083C00 800EA750 ACA20008 */ sw $v0, 8($a1) -/* 083C04 800EA754 80620081 */ lb $v0, 0x81($v1) -/* 083C08 800EA758 00021080 */ sll $v0, $v0, 2 -/* 083C0C 800EA75C 00621021 */ addu $v0, $v1, $v0 -/* 083C10 800EA760 8C420010 */ lw $v0, 0x10($v0) -/* 083C14 800EA764 ACA2000C */ sw $v0, 0xc($a1) -/* 083C18 800EA768 80620081 */ lb $v0, 0x81($v1) -/* 083C1C 800EA76C 00021080 */ sll $v0, $v0, 2 -/* 083C20 800EA770 00621821 */ addu $v1, $v1, $v0 -/* 083C24 800EA774 8C620020 */ lw $v0, 0x20($v1) -/* 083C28 800EA778 0803A9E4 */ j .L800EA790 -/* 083C2C 800EA77C ACA20010 */ sw $v0, 0x10($a1) - -.L800EA780: -/* 083C30 800EA780 A4A00006 */ sh $zero, 6($a1) -/* 083C34 800EA784 ACA00008 */ sw $zero, 8($a1) -/* 083C38 800EA788 ACA0000C */ sw $zero, 0xc($a1) -/* 083C3C 800EA78C ACA00010 */ sw $zero, 0x10($a1) -.L800EA790: -/* 083C40 800EA790 8CC40004 */ lw $a0, 4($a2) -/* 083C44 800EA794 30820004 */ andi $v0, $a0, 4 -/* 083C48 800EA798 1040000A */ beqz $v0, .L800EA7C4 -/* 083C4C 800EA79C 2402FFFB */ addiu $v0, $zero, -5 -/* 083C50 800EA7A0 8CA3000C */ lw $v1, 0xc($a1) -/* 083C54 800EA7A4 00821024 */ and $v0, $a0, $v0 -/* 083C58 800EA7A8 ACC20004 */ sw $v0, 4($a2) -/* 083C5C 800EA7AC 34634004 */ ori $v1, $v1, 0x4004 -/* 083C60 800EA7B0 ACA3000C */ sw $v1, 0xc($a1) -/* 083C64 800EA7B4 8CC20004 */ lw $v0, 4($a2) -/* 083C68 800EA7B8 3C034000 */ lui $v1, 0x4000 -/* 083C6C 800EA7BC 00431025 */ or $v0, $v0, $v1 -/* 083C70 800EA7C0 ACC20004 */ sw $v0, 4($a2) -.L800EA7C4: -/* 083C74 800EA7C4 3C038011 */ lui $v1, 0x8011 -/* 083C78 800EA7C8 2463CFE8 */ addiu $v1, $v1, -0x3018 -/* 083C7C 800EA7CC 8C620000 */ lw $v0, ($v1) -/* 083C80 800EA7D0 10400006 */ beqz $v0, .L800EA7EC -/* 083C84 800EA7D4 00000000 */ nop -/* 083C88 800EA7D8 3C018011 */ lui $at, 0x8011 -/* 083C8C 800EA7DC AC22CD30 */ sw $v0, -0x32d0($at) -/* 083C90 800EA7E0 3C018011 */ lui $at, 0x8011 -/* 083C94 800EA7E4 AC20CD34 */ sw $zero, -0x32cc($at) -/* 083C98 800EA7E8 AC600000 */ sw $zero, ($v1) -.L800EA7EC: -/* 083C9C 800EA7EC 3C038011 */ lui $v1, 0x8011 -/* 083CA0 800EA7F0 8C63CD30 */ lw $v1, -0x32d0($v1) -/* 083CA4 800EA7F4 2C620002 */ sltiu $v0, $v1, 2 -/* 083CA8 800EA7F8 14400009 */ bnez $v0, .L800EA820 -/* 083CAC 800EA7FC 2C62000B */ sltiu $v0, $v1, 0xb -/* 083CB0 800EA800 24020008 */ addiu $v0, $zero, 8 -/* 083CB4 800EA804 10620006 */ beq $v1, $v0, .L800EA820 -/* 083CB8 800EA808 2C62000B */ sltiu $v0, $v1, 0xb -/* 083CBC 800EA80C 3C018011 */ lui $at, 0x8011 -/* 083CC0 800EA810 AC20CFC4 */ sw $zero, -0x303c($at) -/* 083CC4 800EA814 3C038011 */ lui $v1, 0x8011 -/* 083CC8 800EA818 8C63CD30 */ lw $v1, -0x32d0($v1) -/* 083CCC 800EA81C 2C62000B */ sltiu $v0, $v1, 0xb -.L800EA820: -/* 083CD0 800EA820 1040024A */ beqz $v0, .L800EB14C -/* 083CD4 800EA824 00031080 */ sll $v0, $v1, 2 -/* 083CD8 800EA828 3C018011 */ lui $at, 0x8011 -/* 083CDC 800EA82C 00220821 */ addu $at, $at, $v0 -/* 083CE0 800EA830 8C22C118 */ lw $v0, -0x3ee8($at) -/* 083CE4 800EA834 00400008 */ jr $v0 -/* 083CE8 800EA838 00000000 */ nop -/* 083CEC 800EA83C 24040003 */ addiu $a0, $zero, 3 -/* 083CF0 800EA840 3C118011 */ lui $s1, 0x8011 -/* 083CF4 800EA844 2631CD34 */ addiu $s1, $s1, -0x32cc -/* 083CF8 800EA848 3C018011 */ lui $at, 0x8011 -/* 083CFC 800EA84C AC24CFC4 */ sw $a0, -0x303c($at) -/* 083D00 800EA850 8E230000 */ lw $v1, ($s1) -/* 083D04 800EA854 24120001 */ addiu $s2, $zero, 1 -/* 083D08 800EA858 1072002B */ beq $v1, $s2, .L800EA908 -/* 083D0C 800EA85C 28620002 */ slti $v0, $v1, 2 -/* 083D10 800EA860 50400005 */ beql $v0, $zero, .L800EA878 -/* 083D14 800EA864 24020002 */ addiu $v0, $zero, 2 -/* 083D18 800EA868 10600009 */ beqz $v1, .L800EA890 -/* 083D1C 800EA86C 00000000 */ nop -/* 083D20 800EA870 0803AC53 */ j .L800EB14C -/* 083D24 800EA874 00000000 */ nop - -.L800EA878: -/* 083D28 800EA878 1062003F */ beq $v1, $v0, .L800EA978 -/* 083D2C 800EA87C 00000000 */ nop -/* 083D30 800EA880 10640056 */ beq $v1, $a0, .L800EA9DC -/* 083D34 800EA884 00000000 */ nop -/* 083D38 800EA888 0803AC53 */ j .L800EB14C -/* 083D3C 800EA88C 00000000 */ nop - -.L800EA890: -/* 083D40 800EA890 0C03805E */ jal func_800E0178 -/* 083D44 800EA894 00000000 */ nop -/* 083D48 800EA898 0C05272D */ jal play_sound -/* 083D4C 800EA89C 2404000D */ addiu $a0, $zero, 0xd -/* 083D50 800EA8A0 3C108011 */ lui $s0, 0x8011 -/* 083D54 800EA8A4 2610CFDC */ addiu $s0, $s0, -0x3024 -/* 083D58 800EA8A8 0C0B102B */ jal kill_script_by_ID -/* 083D5C 800EA8AC 8E040000 */ lw $a0, ($s0) -/* 083D60 800EA8B0 3C028011 */ lui $v0, 0x8011 -/* 083D64 800EA8B4 8C42CFEC */ lw $v0, -0x3014($v0) -/* 083D68 800EA8B8 24050014 */ addiu $a1, $zero, 0x14 -/* 083D6C 800EA8BC 8C440020 */ lw $a0, 0x20($v0) -/* 083D70 800EA8C0 0C0B0CF8 */ jal start_script -/* 083D74 800EA8C4 24060020 */ addiu $a2, $zero, 0x20 -/* 083D78 800EA8C8 8C430144 */ lw $v1, 0x144($v0) -/* 083D7C 800EA8CC 3C018011 */ lui $at, 0x8011 -/* 083D80 800EA8D0 AC22CFD4 */ sw $v0, -0x302c($at) -/* 083D84 800EA8D4 AE030000 */ sw $v1, ($s0) -/* 083D88 800EA8D8 3C058011 */ lui $a1, 0x8011 -/* 083D8C 800EA8DC 8CA5C930 */ lw $a1, -0x36d0($a1) -/* 083D90 800EA8E0 2403000A */ addiu $v1, $zero, 0xa -/* 083D94 800EA8E4 A0430004 */ sb $v1, 4($v0) -/* 083D98 800EA8E8 8E230000 */ lw $v1, ($s1) -/* 083D9C 800EA8EC 24040001 */ addiu $a0, $zero, 1 -/* 083DA0 800EA8F0 00641821 */ addu $v1, $v1, $a0 -/* 083DA4 800EA8F4 AC45014C */ sw $a1, 0x14c($v0) -/* 083DA8 800EA8F8 0C009C22 */ jal func_80027088 -/* 083DAC 800EA8FC AE230000 */ sw $v1, ($s1) -/* 083DB0 800EA900 0803AC53 */ j .L800EB14C -/* 083DB4 800EA904 00000000 */ nop - -.L800EA908: -/* 083DB8 800EA908 3C048011 */ lui $a0, 0x8011 -/* 083DBC 800EA90C 8C84CFDC */ lw $a0, -0x3024($a0) -/* 083DC0 800EA910 0C0B1059 */ jal does_script_exist -/* 083DC4 800EA914 00000000 */ nop -/* 083DC8 800EA918 1440020C */ bnez $v0, .L800EB14C -/* 083DCC 800EA91C 00000000 */ nop -/* 083DD0 800EA920 0C009C22 */ jal func_80027088 -/* 083DD4 800EA924 0000202D */ daddu $a0, $zero, $zero -/* 083DD8 800EA928 0C03A9AA */ jal func_800EA6A8 -/* 083DDC 800EA92C 00000000 */ nop -/* 083DE0 800EA930 3C028011 */ lui $v0, 0x8011 -/* 083DE4 800EA934 8C42CFE4 */ lw $v0, -0x301c($v0) -/* 083DE8 800EA938 3C018011 */ lui $at, 0x8011 -/* 083DEC 800EA93C AC22CFD8 */ sw $v0, -0x3028($at) -/* 083DF0 800EA940 0C03A974 */ jal func_800EA5D0 -/* 083DF4 800EA944 A2620012 */ sb $v0, 0x12($s3) -/* 083DF8 800EA948 0C05272D */ jal play_sound -/* 083DFC 800EA94C 2404000E */ addiu $a0, $zero, 0xe -/* 083E00 800EA950 3C028011 */ lui $v0, 0x8011 -/* 083E04 800EA954 8C42CFEC */ lw $v0, -0x3014($v0) -/* 083E08 800EA958 3C048011 */ lui $a0, 0x8011 -/* 083E0C 800EA95C 8C84C930 */ lw $a0, -0x36d0($a0) -/* 083E10 800EA960 8C420010 */ lw $v0, 0x10($v0) -/* 083E14 800EA964 0040F809 */ jalr $v0 -/* 083E18 800EA968 00000000 */ nop -/* 083E1C 800EA96C 8E220000 */ lw $v0, ($s1) -/* 083E20 800EA970 24420001 */ addiu $v0, $v0, 1 -/* 083E24 800EA974 AE220000 */ sw $v0, ($s1) -.L800EA978: -/* 083E28 800EA978 3C028011 */ lui $v0, 0x8011 -/* 083E2C 800EA97C 8C42CFEC */ lw $v0, -0x3014($v0) -/* 083E30 800EA980 24050014 */ addiu $a1, $zero, 0x14 -/* 083E34 800EA984 8C440014 */ lw $a0, 0x14($v0) -/* 083E38 800EA988 0C0B0CF8 */ jal start_script -/* 083E3C 800EA98C 24060020 */ addiu $a2, $zero, 0x20 -/* 083E40 800EA990 8C430144 */ lw $v1, 0x144($v0) -/* 083E44 800EA994 3C068011 */ lui $a2, 0x8011 -/* 083E48 800EA998 8CC6C930 */ lw $a2, -0x36d0($a2) -/* 083E4C 800EA99C 3C058011 */ lui $a1, 0x8011 -/* 083E50 800EA9A0 24A5CD34 */ addiu $a1, $a1, -0x32cc -/* 083E54 800EA9A4 3C018011 */ lui $at, 0x8011 -/* 083E58 800EA9A8 AC22CFD4 */ sw $v0, -0x302c($at) -/* 083E5C 800EA9AC 3C018011 */ lui $at, 0x8011 -/* 083E60 800EA9B0 AC23CFDC */ sw $v1, -0x3024($at) -/* 083E64 800EA9B4 2403000A */ addiu $v1, $zero, 0xa -/* 083E68 800EA9B8 A0430004 */ sb $v1, 4($v0) -/* 083E6C 800EA9BC 8CA30000 */ lw $v1, ($a1) -/* 083E70 800EA9C0 24040001 */ addiu $a0, $zero, 1 -/* 083E74 800EA9C4 AC46014C */ sw $a2, 0x14c($v0) -/* 083E78 800EA9C8 00641821 */ addu $v1, $v1, $a0 -/* 083E7C 800EA9CC 0C009C22 */ jal func_80027088 -/* 083E80 800EA9D0 ACA30000 */ sw $v1, ($a1) -/* 083E84 800EA9D4 0803AC53 */ j .L800EB14C -/* 083E88 800EA9D8 00000000 */ nop - -.L800EA9DC: -/* 083E8C 800EA9DC 3C108011 */ lui $s0, 0x8011 -/* 083E90 800EA9E0 2610CFDC */ addiu $s0, $s0, -0x3024 -/* 083E94 800EA9E4 0C0B1059 */ jal does_script_exist -/* 083E98 800EA9E8 8E040000 */ lw $a0, ($s0) -/* 083E9C 800EA9EC 144001D7 */ bnez $v0, .L800EB14C -/* 083EA0 800EA9F0 24050014 */ addiu $a1, $zero, 0x14 -/* 083EA4 800EA9F4 3C028011 */ lui $v0, 0x8011 -/* 083EA8 800EA9F8 8C42CFEC */ lw $v0, -0x3014($v0) -/* 083EAC 800EA9FC 8C440018 */ lw $a0, 0x18($v0) -/* 083EB0 800EAA00 0C0B0CF8 */ jal start_script -/* 083EB4 800EAA04 24060020 */ addiu $a2, $zero, 0x20 -/* 083EB8 800EAA08 3C038011 */ lui $v1, 0x8011 -/* 083EBC 800EAA0C 8C63C930 */ lw $v1, -0x36d0($v1) -/* 083EC0 800EAA10 8C440144 */ lw $a0, 0x144($v0) -/* 083EC4 800EAA14 3C018011 */ lui $at, 0x8011 -/* 083EC8 800EAA18 AC22CFD4 */ sw $v0, -0x302c($at) -/* 083ECC 800EAA1C AC43014C */ sw $v1, 0x14c($v0) -/* 083ED0 800EAA20 2403000A */ addiu $v1, $zero, 0xa -/* 083ED4 800EAA24 AE040000 */ sw $a0, ($s0) -/* 083ED8 800EAA28 A0430004 */ sb $v1, 4($v0) -/* 083EDC 800EAA2C 3C018011 */ lui $at, 0x8011 -/* 083EE0 800EAA30 0C038069 */ jal func_800E01A4 -/* 083EE4 800EAA34 AC32CD30 */ sw $s2, -0x32d0($at) -/* 083EE8 800EAA38 0C009C22 */ jal func_80027088 -/* 083EEC 800EAA3C 0000202D */ daddu $a0, $zero, $zero -/* 083EF0 800EAA40 0803AC53 */ j .L800EB14C -/* 083EF4 800EAA44 00000000 */ nop - -/* 083EF8 800EAA48 24040003 */ addiu $a0, $zero, 3 -/* 083EFC 800EAA4C 3C108011 */ lui $s0, 0x8011 -/* 083F00 800EAA50 2610CD34 */ addiu $s0, $s0, -0x32cc -/* 083F04 800EAA54 3C018011 */ lui $at, 0x8011 -/* 083F08 800EAA58 AC24CFC4 */ sw $a0, -0x303c($at) -/* 083F0C 800EAA5C 8E030000 */ lw $v1, ($s0) -/* 083F10 800EAA60 24110001 */ addiu $s1, $zero, 1 -/* 083F14 800EAA64 10710014 */ beq $v1, $s1, .L800EAAB8 -/* 083F18 800EAA68 28620002 */ slti $v0, $v1, 2 -/* 083F1C 800EAA6C 50400005 */ beql $v0, $zero, .L800EAA84 -/* 083F20 800EAA70 24020002 */ addiu $v0, $zero, 2 -/* 083F24 800EAA74 10600009 */ beqz $v1, .L800EAA9C -/* 083F28 800EAA78 00000000 */ nop -/* 083F2C 800EAA7C 0803AC53 */ j .L800EB14C -/* 083F30 800EAA80 00000000 */ nop - -.L800EAA84: -/* 083F34 800EAA84 10620170 */ beq $v1, $v0, .L800EB048 -/* 083F38 800EAA88 00000000 */ nop -/* 083F3C 800EAA8C 1064002E */ beq $v1, $a0, .L800EAB48 -/* 083F40 800EAA90 24050014 */ addiu $a1, $zero, 0x14 -/* 083F44 800EAA94 0803AC53 */ j .L800EB14C -/* 083F48 800EAA98 00000000 */ nop - -.L800EAA9C: -/* 083F4C 800EAA9C 3C048011 */ lui $a0, 0x8011 -/* 083F50 800EAAA0 8C84CFDC */ lw $a0, -0x3024($a0) -/* 083F54 800EAAA4 0C0B102B */ jal kill_script_by_ID -/* 083F58 800EAAA8 00000000 */ nop -/* 083F5C 800EAAAC 8E020000 */ lw $v0, ($s0) -/* 083F60 800EAAB0 24420001 */ addiu $v0, $v0, 1 -/* 083F64 800EAAB4 AE020000 */ sw $v0, ($s0) -.L800EAAB8: -/* 083F68 800EAAB8 0C03A9AA */ jal func_800EA6A8 -/* 083F6C 800EAABC 00000000 */ nop -/* 083F70 800EAAC0 3C028011 */ lui $v0, 0x8011 -/* 083F74 800EAAC4 8C42CFE4 */ lw $v0, -0x301c($v0) -/* 083F78 800EAAC8 3C018011 */ lui $at, 0x8011 -/* 083F7C 800EAACC AC22CFD8 */ sw $v0, -0x3028($at) -/* 083F80 800EAAD0 0C03A974 */ jal func_800EA5D0 -/* 083F84 800EAAD4 A2620012 */ sb $v0, 0x12($s3) -/* 083F88 800EAAD8 3C048011 */ lui $a0, 0x8011 -/* 083F8C 800EAADC 8C84C930 */ lw $a0, -0x36d0($a0) -/* 083F90 800EAAE0 3C018010 */ lui $at, 0x8010 -/* 083F94 800EAAE4 C422833C */ lwc1 $f2, -0x7cc4($at) -/* 083F98 800EAAE8 3C018010 */ lui $at, 0x8010 -/* 083F9C 800EAAEC C4248340 */ lwc1 $f4, -0x7cc0($at) -/* 083FA0 800EAAF0 3C018010 */ lui $at, 0x8010 -/* 083FA4 800EAAF4 C4268344 */ lwc1 $f6, -0x7cbc($at) -/* 083FA8 800EAAF8 3C013F80 */ lui $at, 0x3f80 -/* 083FAC 800EAAFC 44810000 */ mtc1 $at, $f0 -/* 083FB0 800EAB00 3C028011 */ lui $v0, 0x8011 -/* 083FB4 800EAB04 8C42CFEC */ lw $v0, -0x3014($v0) -/* 083FB8 800EAB08 E4820038 */ swc1 $f2, 0x38($a0) -/* 083FBC 800EAB0C E484003C */ swc1 $f4, 0x3c($a0) -/* 083FC0 800EAB10 E4860040 */ swc1 $f6, 0x40($a0) -/* 083FC4 800EAB14 AC80001C */ sw $zero, 0x1c($a0) -/* 083FC8 800EAB18 E4800054 */ swc1 $f0, 0x54($a0) -/* 083FCC 800EAB1C E4800058 */ swc1 $f0, 0x58($a0) -/* 083FD0 800EAB20 E480005C */ swc1 $f0, 0x5c($a0) -/* 083FD4 800EAB24 8C420010 */ lw $v0, 0x10($v0) -/* 083FD8 800EAB28 0040F809 */ jalr $v0 -/* 083FDC 800EAB2C 00000000 */ nop -/* 083FE0 800EAB30 3C038011 */ lui $v1, 0x8011 -/* 083FE4 800EAB34 2463CD34 */ addiu $v1, $v1, -0x32cc -/* 083FE8 800EAB38 8C620000 */ lw $v0, ($v1) -/* 083FEC 800EAB3C 24420001 */ addiu $v0, $v0, 1 -/* 083FF0 800EAB40 0803AC14 */ j .L800EB050 -/* 083FF4 800EAB44 AC620000 */ sw $v0, ($v1) - -.L800EAB48: -/* 083FF8 800EAB48 3C028011 */ lui $v0, 0x8011 -/* 083FFC 800EAB4C 8C42CFEC */ lw $v0, -0x3014($v0) -/* 084000 800EAB50 8C440018 */ lw $a0, 0x18($v0) -/* 084004 800EAB54 0C0B0CF8 */ jal start_script -/* 084008 800EAB58 24060020 */ addiu $a2, $zero, 0x20 -/* 08400C 800EAB5C 3C038011 */ lui $v1, 0x8011 -/* 084010 800EAB60 8C63C930 */ lw $v1, -0x36d0($v1) -/* 084014 800EAB64 8C440144 */ lw $a0, 0x144($v0) -/* 084018 800EAB68 3C018011 */ lui $at, 0x8011 -/* 08401C 800EAB6C AC22CFD4 */ sw $v0, -0x302c($at) -/* 084020 800EAB70 AC43014C */ sw $v1, 0x14c($v0) -/* 084024 800EAB74 2403000A */ addiu $v1, $zero, 0xa -/* 084028 800EAB78 3C018011 */ lui $at, 0x8011 -/* 08402C 800EAB7C AC24CFDC */ sw $a0, -0x3024($at) -/* 084030 800EAB80 A0430004 */ sb $v1, 4($v0) -/* 084034 800EAB84 3C018011 */ lui $at, 0x8011 -/* 084038 800EAB88 0803AC53 */ j .L800EB14C -/* 08403C 800EAB8C AC31CD30 */ sw $s1, -0x32d0($at) - -/* 084040 800EAB90 3C118011 */ lui $s1, 0x8011 -/* 084044 800EAB94 2631CD34 */ addiu $s1, $s1, -0x32cc -/* 084048 800EAB98 8E300000 */ lw $s0, ($s1) -/* 08404C 800EAB9C 12000005 */ beqz $s0, .L800EABB4 -/* 084050 800EABA0 24020001 */ addiu $v0, $zero, 1 -/* 084054 800EABA4 12020010 */ beq $s0, $v0, .L800EABE8 -/* 084058 800EABA8 00000000 */ nop -/* 08405C 800EABAC 0803AC53 */ j .L800EB14C -/* 084060 800EABB0 00000000 */ nop - -.L800EABB4: -/* 084064 800EABB4 0C03805E */ jal func_800E0178 -/* 084068 800EABB8 00000000 */ nop -/* 08406C 800EABBC 0C05272D */ jal play_sound -/* 084070 800EABC0 2404000D */ addiu $a0, $zero, 0xd -/* 084074 800EABC4 3C108011 */ lui $s0, 0x8011 -/* 084078 800EABC8 2610CFDC */ addiu $s0, $s0, -0x3024 -/* 08407C 800EABCC 0C0B102B */ jal kill_script_by_ID -/* 084080 800EABD0 8E040000 */ lw $a0, ($s0) -/* 084084 800EABD4 3C028011 */ lui $v0, 0x8011 -/* 084088 800EABD8 8C42CFEC */ lw $v0, -0x3014($v0) -/* 08408C 800EABDC 8C440020 */ lw $a0, 0x20($v0) -/* 084090 800EABE0 0803ABCE */ j .L800EAF38 -/* 084094 800EABE4 24050014 */ addiu $a1, $zero, 0x14 - -.L800EABE8: -/* 084098 800EABE8 3C048011 */ lui $a0, 0x8011 -/* 08409C 800EABEC 8C84CFDC */ lw $a0, -0x3024($a0) -/* 0840A0 800EABF0 0C0B1059 */ jal does_script_exist -/* 0840A4 800EABF4 00000000 */ nop -/* 0840A8 800EABF8 14400154 */ bnez $v0, .L800EB14C -/* 0840AC 800EABFC 00000000 */ nop -/* 0840B0 800EAC00 0C03A9AA */ jal func_800EA6A8 -/* 0840B4 800EAC04 00000000 */ nop -/* 0840B8 800EAC08 3C028011 */ lui $v0, 0x8011 -/* 0840BC 800EAC0C 8C42CFE4 */ lw $v0, -0x301c($v0) -/* 0840C0 800EAC10 3C018011 */ lui $at, 0x8011 -/* 0840C4 800EAC14 AC30CD30 */ sw $s0, -0x32d0($at) -/* 0840C8 800EAC18 3C018011 */ lui $at, 0x8011 -/* 0840CC 800EAC1C AC22CFD8 */ sw $v0, -0x3028($at) -/* 0840D0 800EAC20 0C038069 */ jal func_800E01A4 -/* 0840D4 800EAC24 A2620012 */ sb $v0, 0x12($s3) -/* 0840D8 800EAC28 0803AC53 */ j .L800EB14C -/* 0840DC 800EAC2C 00000000 */ nop - -/* 0840E0 800EAC30 3C028011 */ lui $v0, 0x8011 -/* 0840E4 800EAC34 8C42CD34 */ lw $v0, -0x32cc($v0) -/* 0840E8 800EAC38 14400144 */ bnez $v0, .L800EB14C -/* 0840EC 800EAC3C 00000000 */ nop -/* 0840F0 800EAC40 3C048011 */ lui $a0, 0x8011 -/* 0840F4 800EAC44 8C84CFDC */ lw $a0, -0x3024($a0) -/* 0840F8 800EAC48 0C0B102B */ jal kill_script_by_ID -/* 0840FC 800EAC4C 00000000 */ nop -/* 084100 800EAC50 0C03A9AA */ jal func_800EA6A8 -/* 084104 800EAC54 00000000 */ nop -/* 084108 800EAC58 3C038011 */ lui $v1, 0x8011 -/* 08410C 800EAC5C 8C63CFE4 */ lw $v1, -0x301c($v1) -/* 084110 800EAC60 24020001 */ addiu $v0, $zero, 1 -/* 084114 800EAC64 3C018011 */ lui $at, 0x8011 -/* 084118 800EAC68 AC22CD30 */ sw $v0, -0x32d0($at) -/* 08411C 800EAC6C 3C018011 */ lui $at, 0x8011 -/* 084120 800EAC70 AC23CFD8 */ sw $v1, -0x3028($at) -/* 084124 800EAC74 0803AC53 */ j .L800EB14C -/* 084128 800EAC78 A2630012 */ sb $v1, 0x12($s3) - -/* 08412C 800EAC7C 3C108011 */ lui $s0, 0x8011 -/* 084130 800EAC80 2610CD34 */ addiu $s0, $s0, -0x32cc -/* 084134 800EAC84 8E030000 */ lw $v1, ($s0) -/* 084138 800EAC88 24110001 */ addiu $s1, $zero, 1 -/* 08413C 800EAC8C 1071001D */ beq $v1, $s1, .L800EAD04 -/* 084140 800EAC90 28620002 */ slti $v0, $v1, 2 -/* 084144 800EAC94 50400005 */ beql $v0, $zero, .L800EACAC -/* 084148 800EAC98 24020002 */ addiu $v0, $zero, 2 -/* 08414C 800EAC9C 10600007 */ beqz $v1, .L800EACBC -/* 084150 800EACA0 00000000 */ nop -/* 084154 800EACA4 0803AC53 */ j .L800EB14C -/* 084158 800EACA8 00000000 */ nop - -.L800EACAC: -/* 08415C 800EACAC 1062002B */ beq $v1, $v0, .L800EAD5C -/* 084160 800EACB0 00000000 */ nop -/* 084164 800EACB4 0803AC53 */ j .L800EB14C -/* 084168 800EACB8 00000000 */ nop - -.L800EACBC: -/* 08416C 800EACBC 0C03805E */ jal func_800E0178 -/* 084170 800EACC0 00000000 */ nop -/* 084174 800EACC4 3C028011 */ lui $v0, 0x8011 -/* 084178 800EACC8 8C42CFE4 */ lw $v0, -0x301c($v0) -/* 08417C 800EACCC 3C018011 */ lui $at, 0x8011 -/* 084180 800EACD0 AC22CFD8 */ sw $v0, -0x3028($at) -/* 084184 800EACD4 0C03A974 */ jal func_800EA5D0 -/* 084188 800EACD8 A2620012 */ sb $v0, 0x12($s3) -/* 08418C 800EACDC 3C028011 */ lui $v0, 0x8011 -/* 084190 800EACE0 8C42CFEC */ lw $v0, -0x3014($v0) -/* 084194 800EACE4 3C048011 */ lui $a0, 0x8011 -/* 084198 800EACE8 8C84C930 */ lw $a0, -0x36d0($a0) -/* 08419C 800EACEC 8C420010 */ lw $v0, 0x10($v0) -/* 0841A0 800EACF0 0040F809 */ jalr $v0 -/* 0841A4 800EACF4 00000000 */ nop -/* 0841A8 800EACF8 8E020000 */ lw $v0, ($s0) -/* 0841AC 800EACFC 24420001 */ addiu $v0, $v0, 1 -/* 0841B0 800EAD00 AE020000 */ sw $v0, ($s0) -.L800EAD04: -/* 0841B4 800EAD04 3C028011 */ lui $v0, 0x8011 -/* 0841B8 800EAD08 8C42CFEC */ lw $v0, -0x3014($v0) -/* 0841BC 800EAD0C 24050014 */ addiu $a1, $zero, 0x14 -/* 0841C0 800EAD10 8C440014 */ lw $a0, 0x14($v0) -/* 0841C4 800EAD14 0C0B0CF8 */ jal start_script -/* 0841C8 800EAD18 24060020 */ addiu $a2, $zero, 0x20 -/* 0841CC 800EAD1C 8C430144 */ lw $v1, 0x144($v0) -/* 0841D0 800EAD20 3C058011 */ lui $a1, 0x8011 -/* 0841D4 800EAD24 8CA5C930 */ lw $a1, -0x36d0($a1) -/* 0841D8 800EAD28 3C048011 */ lui $a0, 0x8011 -/* 0841DC 800EAD2C 2484CD34 */ addiu $a0, $a0, -0x32cc -/* 0841E0 800EAD30 3C018011 */ lui $at, 0x8011 -/* 0841E4 800EAD34 AC22CFD4 */ sw $v0, -0x302c($at) -/* 0841E8 800EAD38 3C018011 */ lui $at, 0x8011 -/* 0841EC 800EAD3C AC23CFDC */ sw $v1, -0x3024($at) -/* 0841F0 800EAD40 2403000A */ addiu $v1, $zero, 0xa -/* 0841F4 800EAD44 A0430004 */ sb $v1, 4($v0) -/* 0841F8 800EAD48 8C830000 */ lw $v1, ($a0) -/* 0841FC 800EAD4C AC45014C */ sw $a1, 0x14c($v0) -/* 084200 800EAD50 24630001 */ addiu $v1, $v1, 1 -/* 084204 800EAD54 0803AC53 */ j .L800EB14C -/* 084208 800EAD58 AC830000 */ sw $v1, ($a0) - -.L800EAD5C: -/* 08420C 800EAD5C 3C108011 */ lui $s0, 0x8011 -/* 084210 800EAD60 2610CFDC */ addiu $s0, $s0, -0x3024 -/* 084214 800EAD64 0C0B1059 */ jal does_script_exist -/* 084218 800EAD68 8E040000 */ lw $a0, ($s0) -/* 08421C 800EAD6C 144000F7 */ bnez $v0, .L800EB14C -/* 084220 800EAD70 24050014 */ addiu $a1, $zero, 0x14 -/* 084224 800EAD74 3C028011 */ lui $v0, 0x8011 -/* 084228 800EAD78 8C42CFEC */ lw $v0, -0x3014($v0) -/* 08422C 800EAD7C 8C440018 */ lw $a0, 0x18($v0) -/* 084230 800EAD80 0C0B0CF8 */ jal start_script -/* 084234 800EAD84 24060020 */ addiu $a2, $zero, 0x20 -/* 084238 800EAD88 3C038011 */ lui $v1, 0x8011 -/* 08423C 800EAD8C 8C63C930 */ lw $v1, -0x36d0($v1) -/* 084240 800EAD90 8C440144 */ lw $a0, 0x144($v0) -/* 084244 800EAD94 3C018011 */ lui $at, 0x8011 -/* 084248 800EAD98 AC22CFD4 */ sw $v0, -0x302c($at) -/* 08424C 800EAD9C AC43014C */ sw $v1, 0x14c($v0) -/* 084250 800EADA0 2403000A */ addiu $v1, $zero, 0xa -/* 084254 800EADA4 AE040000 */ sw $a0, ($s0) -/* 084258 800EADA8 A0430004 */ sb $v1, 4($v0) -/* 08425C 800EADAC 3C018011 */ lui $at, 0x8011 -/* 084260 800EADB0 0C038069 */ jal func_800E01A4 -/* 084264 800EADB4 AC31CD30 */ sw $s1, -0x32d0($at) -/* 084268 800EADB8 0803AC53 */ j .L800EB14C -/* 08426C 800EADBC 00000000 */ nop - -/* 084270 800EADC0 3C118011 */ lui $s1, 0x8011 -/* 084274 800EADC4 2631CD34 */ addiu $s1, $s1, -0x32cc -/* 084278 800EADC8 8E300000 */ lw $s0, ($s1) -/* 08427C 800EADCC 24020002 */ addiu $v0, $zero, 2 -/* 084280 800EADD0 3C018011 */ lui $at, 0x8011 -/* 084284 800EADD4 AC22CFC4 */ sw $v0, -0x303c($at) -/* 084288 800EADD8 12000005 */ beqz $s0, .L800EADF0 -/* 08428C 800EADDC 24020001 */ addiu $v0, $zero, 1 -/* 084290 800EADE0 12020025 */ beq $s0, $v0, .L800EAE78 -/* 084294 800EADE4 24050014 */ addiu $a1, $zero, 0x14 -/* 084298 800EADE8 0803AC53 */ j .L800EB14C -/* 08429C 800EADEC 00000000 */ nop - -.L800EADF0: -/* 0842A0 800EADF0 0C03805E */ jal func_800E0178 -/* 0842A4 800EADF4 00000000 */ nop -/* 0842A8 800EADF8 3C028011 */ lui $v0, 0x8011 -/* 0842AC 800EADFC 8C42CFE4 */ lw $v0, -0x301c($v0) -/* 0842B0 800EAE00 3C018011 */ lui $at, 0x8011 -/* 0842B4 800EAE04 AC22CFD8 */ sw $v0, -0x3028($at) -/* 0842B8 800EAE08 0C03A974 */ jal func_800EA5D0 -/* 0842BC 800EAE0C A2620012 */ sb $v0, 0x12($s3) -/* 0842C0 800EAE10 3C048011 */ lui $a0, 0x8011 -/* 0842C4 800EAE14 8C84C930 */ lw $a0, -0x36d0($a0) -/* 0842C8 800EAE18 3C018010 */ lui $at, 0x8010 -/* 0842CC 800EAE1C C422833C */ lwc1 $f2, -0x7cc4($at) -/* 0842D0 800EAE20 3C018010 */ lui $at, 0x8010 -/* 0842D4 800EAE24 C4248340 */ lwc1 $f4, -0x7cc0($at) -/* 0842D8 800EAE28 3C018010 */ lui $at, 0x8010 -/* 0842DC 800EAE2C C4268344 */ lwc1 $f6, -0x7cbc($at) -/* 0842E0 800EAE30 3C013F80 */ lui $at, 0x3f80 -/* 0842E4 800EAE34 44810000 */ mtc1 $at, $f0 -/* 0842E8 800EAE38 3C028011 */ lui $v0, 0x8011 -/* 0842EC 800EAE3C 8C42CFEC */ lw $v0, -0x3014($v0) -/* 0842F0 800EAE40 E4820038 */ swc1 $f2, 0x38($a0) -/* 0842F4 800EAE44 E484003C */ swc1 $f4, 0x3c($a0) -/* 0842F8 800EAE48 E4860040 */ swc1 $f6, 0x40($a0) -/* 0842FC 800EAE4C AC80001C */ sw $zero, 0x1c($a0) -/* 084300 800EAE50 E4800054 */ swc1 $f0, 0x54($a0) -/* 084304 800EAE54 E4800058 */ swc1 $f0, 0x58($a0) -/* 084308 800EAE58 E480005C */ swc1 $f0, 0x5c($a0) -/* 08430C 800EAE5C 8C420010 */ lw $v0, 0x10($v0) -/* 084310 800EAE60 0040F809 */ jalr $v0 -/* 084314 800EAE64 00000000 */ nop -/* 084318 800EAE68 8E220000 */ lw $v0, ($s1) -/* 08431C 800EAE6C 24420001 */ addiu $v0, $v0, 1 -/* 084320 800EAE70 0803AC53 */ j .L800EB14C -/* 084324 800EAE74 AE220000 */ sw $v0, ($s1) - -.L800EAE78: -/* 084328 800EAE78 3C028011 */ lui $v0, 0x8011 -/* 08432C 800EAE7C 8C42CFEC */ lw $v0, -0x3014($v0) -/* 084330 800EAE80 8C440018 */ lw $a0, 0x18($v0) -/* 084334 800EAE84 0C0B0CF8 */ jal start_script -/* 084338 800EAE88 24060020 */ addiu $a2, $zero, 0x20 -/* 08433C 800EAE8C 8C430144 */ lw $v1, 0x144($v0) -/* 084340 800EAE90 3C058011 */ lui $a1, 0x8011 -/* 084344 800EAE94 24A5C930 */ addiu $a1, $a1, -0x36d0 -/* 084348 800EAE98 3C018011 */ lui $at, 0x8011 -/* 08434C 800EAE9C AC22CFD4 */ sw $v0, -0x302c($at) -/* 084350 800EAEA0 3C018011 */ lui $at, 0x8011 -/* 084354 800EAEA4 AC23CFDC */ sw $v1, -0x3024($at) -/* 084358 800EAEA8 8CA40000 */ lw $a0, ($a1) -/* 08435C 800EAEAC 2403000A */ addiu $v1, $zero, 0xa -/* 084360 800EAEB0 A0430004 */ sb $v1, 4($v0) -/* 084364 800EAEB4 3C038011 */ lui $v1, 0x8011 -/* 084368 800EAEB8 8C63CFD8 */ lw $v1, -0x3028($v1) -/* 08436C 800EAEBC AC44014C */ sw $a0, 0x14c($v0) -/* 084370 800EAEC0 000310C0 */ sll $v0, $v1, 3 -/* 084374 800EAEC4 00431021 */ addu $v0, $v0, $v1 -/* 084378 800EAEC8 00021080 */ sll $v0, $v0, 2 -/* 08437C 800EAECC 8CA30000 */ lw $v1, ($a1) -/* 084380 800EAED0 3C018010 */ lui $at, 0x8010 -/* 084384 800EAED4 00220821 */ addu $at, $at, $v0 -/* 084388 800EAED8 8C228358 */ lw $v0, -0x7ca8($at) -/* 08438C 800EAEDC 3C018011 */ lui $at, 0x8011 -/* 084390 800EAEE0 AC30CD30 */ sw $s0, -0x32d0($at) -/* 084394 800EAEE4 0C038069 */ jal func_800E01A4 -/* 084398 800EAEE8 AC620028 */ sw $v0, 0x28($v1) -/* 08439C 800EAEEC 0803AC53 */ j .L800EB14C -/* 0843A0 800EAEF0 00000000 */ nop - -/* 0843A4 800EAEF4 3C118011 */ lui $s1, 0x8011 -/* 0843A8 800EAEF8 2631CD34 */ addiu $s1, $s1, -0x32cc -/* 0843AC 800EAEFC 8E300000 */ lw $s0, ($s1) -/* 0843B0 800EAF00 12000005 */ beqz $s0, .L800EAF18 -/* 0843B4 800EAF04 24020001 */ addiu $v0, $zero, 1 -/* 0843B8 800EAF08 1202001A */ beq $s0, $v0, .L800EAF74 -/* 0843BC 800EAF0C 00000000 */ nop -/* 0843C0 800EAF10 0803AC53 */ j .L800EB14C -/* 0843C4 800EAF14 00000000 */ nop - -.L800EAF18: -/* 0843C8 800EAF18 3C108011 */ lui $s0, 0x8011 -/* 0843CC 800EAF1C 2610CFDC */ addiu $s0, $s0, -0x3024 -/* 0843D0 800EAF20 0C0B102B */ jal kill_script_by_ID -/* 0843D4 800EAF24 8E040000 */ lw $a0, ($s0) -/* 0843D8 800EAF28 3C028011 */ lui $v0, 0x8011 -/* 0843DC 800EAF2C 8C42CFEC */ lw $v0, -0x3014($v0) -/* 0843E0 800EAF30 24050014 */ addiu $a1, $zero, 0x14 -/* 0843E4 800EAF34 8C44001C */ lw $a0, 0x1c($v0) -.L800EAF38: -/* 0843E8 800EAF38 0C0B0CF8 */ jal start_script -/* 0843EC 800EAF3C 24060020 */ addiu $a2, $zero, 0x20 -/* 0843F0 800EAF40 8C430144 */ lw $v1, 0x144($v0) -/* 0843F4 800EAF44 3C018011 */ lui $at, 0x8011 -/* 0843F8 800EAF48 AC22CFD4 */ sw $v0, -0x302c($at) -/* 0843FC 800EAF4C AE030000 */ sw $v1, ($s0) -/* 084400 800EAF50 3C048011 */ lui $a0, 0x8011 -/* 084404 800EAF54 8C84C930 */ lw $a0, -0x36d0($a0) -/* 084408 800EAF58 2403000A */ addiu $v1, $zero, 0xa -/* 08440C 800EAF5C A0430004 */ sb $v1, 4($v0) -/* 084410 800EAF60 8E230000 */ lw $v1, ($s1) -/* 084414 800EAF64 24630001 */ addiu $v1, $v1, 1 -/* 084418 800EAF68 AC44014C */ sw $a0, 0x14c($v0) -/* 08441C 800EAF6C 0803AC53 */ j .L800EB14C -/* 084420 800EAF70 AE230000 */ sw $v1, ($s1) - -.L800EAF74: -/* 084424 800EAF74 3C118011 */ lui $s1, 0x8011 -/* 084428 800EAF78 2631CFDC */ addiu $s1, $s1, -0x3024 -/* 08442C 800EAF7C 0C0B1059 */ jal does_script_exist -/* 084430 800EAF80 8E240000 */ lw $a0, ($s1) -/* 084434 800EAF84 14400071 */ bnez $v0, .L800EB14C -/* 084438 800EAF88 24050014 */ addiu $a1, $zero, 0x14 -/* 08443C 800EAF8C 3C028011 */ lui $v0, 0x8011 -/* 084440 800EAF90 8C42CFEC */ lw $v0, -0x3014($v0) -/* 084444 800EAF94 8C440018 */ lw $a0, 0x18($v0) -/* 084448 800EAF98 0C0B0CF8 */ jal start_script -/* 08444C 800EAF9C 24060020 */ addiu $a2, $zero, 0x20 -/* 084450 800EAFA0 3C038011 */ lui $v1, 0x8011 -/* 084454 800EAFA4 8C63C930 */ lw $v1, -0x36d0($v1) -/* 084458 800EAFA8 8C440144 */ lw $a0, 0x144($v0) -/* 08445C 800EAFAC 3C018011 */ lui $at, 0x8011 -/* 084460 800EAFB0 AC22CFD4 */ sw $v0, -0x302c($at) -/* 084464 800EAFB4 AC43014C */ sw $v1, 0x14c($v0) -/* 084468 800EAFB8 2403000A */ addiu $v1, $zero, 0xa -/* 08446C 800EAFBC AE240000 */ sw $a0, ($s1) -/* 084470 800EAFC0 A0430004 */ sb $v1, 4($v0) -/* 084474 800EAFC4 3C018011 */ lui $at, 0x8011 -/* 084478 800EAFC8 0803AC53 */ j .L800EB14C -/* 08447C 800EAFCC AC30CD30 */ sw $s0, -0x32d0($at) - -/* 084480 800EAFD0 3C108011 */ lui $s0, 0x8011 -/* 084484 800EAFD4 2610CD34 */ addiu $s0, $s0, -0x32cc -/* 084488 800EAFD8 8E030000 */ lw $v1, ($s0) -/* 08448C 800EAFDC 24110001 */ addiu $s1, $zero, 1 -/* 084490 800EAFE0 3C018011 */ lui $at, 0x8011 -/* 084494 800EAFE4 AC31CFC4 */ sw $s1, -0x303c($at) -/* 084498 800EAFE8 10710017 */ beq $v1, $s1, .L800EB048 -/* 08449C 800EAFEC 28620002 */ slti $v0, $v1, 2 -/* 0844A0 800EAFF0 50400005 */ beql $v0, $zero, .L800EB008 -/* 0844A4 800EAFF4 24020002 */ addiu $v0, $zero, 2 -/* 0844A8 800EAFF8 10600007 */ beqz $v1, .L800EB018 -/* 0844AC 800EAFFC 00000000 */ nop -/* 0844B0 800EB000 0803AC53 */ j .L800EB14C -/* 0844B4 800EB004 00000000 */ nop - -.L800EB008: -/* 0844B8 800EB008 10620015 */ beq $v1, $v0, .L800EB060 -/* 0844BC 800EB00C 00000000 */ nop -/* 0844C0 800EB010 0803AC53 */ j .L800EB14C -/* 0844C4 800EB014 00000000 */ nop - -.L800EB018: -/* 0844C8 800EB018 0C03805E */ jal func_800E0178 -/* 0844CC 800EB01C 00000000 */ nop -/* 0844D0 800EB020 3C028011 */ lui $v0, 0x8011 -/* 0844D4 800EB024 8C42CFEC */ lw $v0, -0x3014($v0) -/* 0844D8 800EB028 3C048011 */ lui $a0, 0x8011 -/* 0844DC 800EB02C 8C84C930 */ lw $a0, -0x36d0($a0) -/* 0844E0 800EB030 8C420010 */ lw $v0, 0x10($v0) -/* 0844E4 800EB034 0040F809 */ jalr $v0 -/* 0844E8 800EB038 00000000 */ nop -/* 0844EC 800EB03C 8E020000 */ lw $v0, ($s0) -/* 0844F0 800EB040 24420001 */ addiu $v0, $v0, 1 -/* 0844F4 800EB044 AE020000 */ sw $v0, ($s0) -.L800EB048: -/* 0844F8 800EB048 3C038011 */ lui $v1, 0x8011 -/* 0844FC 800EB04C 2463CD34 */ addiu $v1, $v1, -0x32cc -.L800EB050: -/* 084500 800EB050 8C620000 */ lw $v0, ($v1) -/* 084504 800EB054 24420001 */ addiu $v0, $v0, 1 -/* 084508 800EB058 0803AC53 */ j .L800EB14C -/* 08450C 800EB05C AC620000 */ sw $v0, ($v1) - -.L800EB060: -/* 084510 800EB060 80A20000 */ lb $v0, ($a1) -/* 084514 800EB064 10510019 */ beq $v0, $s1, .L800EB0CC -/* 084518 800EB068 24050014 */ addiu $a1, $zero, 0x14 -/* 08451C 800EB06C 3C028011 */ lui $v0, 0x8011 -/* 084520 800EB070 8C42CFEC */ lw $v0, -0x3014($v0) -/* 084524 800EB074 C4C00028 */ lwc1 $f0, 0x28($a2) -/* 084528 800EB078 C4C2002C */ lwc1 $f2, 0x2c($a2) -/* 08452C 800EB07C C4C40030 */ lwc1 $f4, 0x30($a2) -/* 084530 800EB080 8C440018 */ lw $a0, 0x18($v0) -/* 084534 800EB084 3C018010 */ lui $at, 0x8010 -/* 084538 800EB088 E420833C */ swc1 $f0, -0x7cc4($at) -/* 08453C 800EB08C 3C018010 */ lui $at, 0x8010 -/* 084540 800EB090 E4228340 */ swc1 $f2, -0x7cc0($at) -/* 084544 800EB094 3C018010 */ lui $at, 0x8010 -/* 084548 800EB098 E4248344 */ swc1 $f4, -0x7cbc($at) -/* 08454C 800EB09C 0C0B0CF8 */ jal start_script -/* 084550 800EB0A0 24060020 */ addiu $a2, $zero, 0x20 -/* 084554 800EB0A4 3C038011 */ lui $v1, 0x8011 -/* 084558 800EB0A8 8C63C930 */ lw $v1, -0x36d0($v1) -/* 08455C 800EB0AC 8C440144 */ lw $a0, 0x144($v0) -/* 084560 800EB0B0 3C018011 */ lui $at, 0x8011 -/* 084564 800EB0B4 AC22CFD4 */ sw $v0, -0x302c($at) -/* 084568 800EB0B8 AC43014C */ sw $v1, 0x14c($v0) -/* 08456C 800EB0BC 2403000A */ addiu $v1, $zero, 0xa -/* 084570 800EB0C0 3C018011 */ lui $at, 0x8011 -/* 084574 800EB0C4 AC24CFDC */ sw $a0, -0x3024($at) -/* 084578 800EB0C8 A0430004 */ sb $v1, 4($v0) -.L800EB0CC: -/* 08457C 800EB0CC 0C038069 */ jal func_800E01A4 -/* 084580 800EB0D0 00000000 */ nop -/* 084584 800EB0D4 3C018011 */ lui $at, 0x8011 -/* 084588 800EB0D8 0803AC53 */ j .L800EB14C -/* 08458C 800EB0DC AC31CD30 */ sw $s1, -0x32d0($at) - -/* 084590 800EB0E0 3C108011 */ lui $s0, 0x8011 -/* 084594 800EB0E4 2610CD34 */ addiu $s0, $s0, -0x32cc -/* 084598 800EB0E8 8E020000 */ lw $v0, ($s0) -/* 08459C 800EB0EC 14400017 */ bnez $v0, .L800EB14C -/* 0845A0 800EB0F0 00000000 */ nop -/* 0845A4 800EB0F4 3C118011 */ lui $s1, 0x8011 -/* 0845A8 800EB0F8 2631CFDC */ addiu $s1, $s1, -0x3024 -/* 0845AC 800EB0FC 0C0B1059 */ jal does_script_exist -/* 0845B0 800EB100 8E240000 */ lw $a0, ($s1) -/* 0845B4 800EB104 10400003 */ beqz $v0, .L800EB114 -/* 0845B8 800EB108 00000000 */ nop -/* 0845BC 800EB10C 0C0B102B */ jal kill_script_by_ID -/* 0845C0 800EB110 8E240000 */ lw $a0, ($s1) -.L800EB114: -/* 0845C4 800EB114 8E020000 */ lw $v0, ($s0) -/* 0845C8 800EB118 24420001 */ addiu $v0, $v0, 1 -/* 0845CC 800EB11C 0803AC53 */ j .L800EB14C -/* 0845D0 800EB120 AE020000 */ sw $v0, ($s0) - -/* 0845D4 800EB124 3C048011 */ lui $a0, 0x8011 -/* 0845D8 800EB128 2484CFC4 */ addiu $a0, $a0, -0x303c -/* 0845DC 800EB12C 3C018011 */ lui $at, 0x8011 -/* 0845E0 800EB130 AC20CD30 */ sw $zero, -0x32d0($at) -/* 0845E4 800EB134 3C018011 */ lui $at, 0x8011 -/* 0845E8 800EB138 AC20CFE0 */ sw $zero, -0x3020($at) -/* 0845EC 800EB13C 8C830000 */ lw $v1, ($a0) -/* 0845F0 800EB140 24020003 */ addiu $v0, $zero, 3 -/* 0845F4 800EB144 54620001 */ bnel $v1, $v0, .L800EB14C -/* 0845F8 800EB148 AC800000 */ sw $zero, ($a0) -.L800EB14C: -/* 0845FC 800EB14C 8FBF0020 */ lw $ra, 0x20($sp) -/* 084600 800EB150 8FB3001C */ lw $s3, 0x1c($sp) -/* 084604 800EB154 8FB20018 */ lw $s2, 0x18($sp) -/* 084608 800EB158 8FB10014 */ lw $s1, 0x14($sp) -/* 08460C 800EB15C 8FB00010 */ lw $s0, 0x10($sp) -/* 084610 800EB160 03E00008 */ jr $ra -/* 084614 800EB164 27BD0028 */ addiu $sp, $sp, 0x28 - -func_800EB168: -/* 084618 800EB168 3C038011 */ lui $v1, 0x8011 -/* 08461C 800EB16C 8C63CFD8 */ lw $v1, -0x3028($v1) -/* 084620 800EB170 3C058011 */ lui $a1, 0x8011 -/* 084624 800EB174 24A5EFC8 */ addiu $a1, $a1, -0x1038 -/* 084628 800EB178 1064000C */ beq $v1, $a0, .L800EB1AC -/* 08462C 800EB17C 24020001 */ addiu $v0, $zero, 1 -/* 084630 800EB180 3C018011 */ lui $at, 0x8011 -/* 084634 800EB184 AC22CFE0 */ sw $v0, -0x3020($at) -/* 084638 800EB188 3C018011 */ lui $at, 0x8011 -/* 08463C 800EB18C AC24CFE4 */ sw $a0, -0x301c($at) -/* 084640 800EB190 10600008 */ beqz $v1, .L800EB1B4 -/* 084644 800EB194 00000000 */ nop -/* 084648 800EB198 10800009 */ beqz $a0, .L800EB1C0 -/* 08464C 800EB19C 24020004 */ addiu $v0, $zero, 4 -/* 084650 800EB1A0 24020003 */ addiu $v0, $zero, 3 -/* 084654 800EB1A4 3C018011 */ lui $at, 0x8011 -/* 084658 800EB1A8 AC22CFE8 */ sw $v0, -0x3018($at) -.L800EB1AC: -/* 08465C 800EB1AC 03E00008 */ jr $ra -/* 084660 800EB1B0 00000000 */ nop - -.L800EB1B4: -/* 084664 800EB1B4 14800006 */ bnez $a0, .L800EB1D0 -/* 084668 800EB1B8 24020006 */ addiu $v0, $zero, 6 -/* 08466C 800EB1BC 24020004 */ addiu $v0, $zero, 4 -.L800EB1C0: -/* 084670 800EB1C0 3C018011 */ lui $at, 0x8011 -/* 084674 800EB1C4 AC22CFE8 */ sw $v0, -0x3018($at) -/* 084678 800EB1C8 03E00008 */ jr $ra -/* 08467C 800EB1CC 00000000 */ nop - -.L800EB1D0: -/* 084680 800EB1D0 C4A00028 */ lwc1 $f0, 0x28($a1) -/* 084684 800EB1D4 C4A2002C */ lwc1 $f2, 0x2c($a1) -/* 084688 800EB1D8 C4A40030 */ lwc1 $f4, 0x30($a1) -/* 08468C 800EB1DC 3C018011 */ lui $at, 0x8011 -/* 084690 800EB1E0 AC22CFE8 */ sw $v0, -0x3018($at) -/* 084694 800EB1E4 3C018010 */ lui $at, 0x8010 -/* 084698 800EB1E8 E420833C */ swc1 $f0, -0x7cc4($at) -/* 08469C 800EB1EC 3C018010 */ lui $at, 0x8010 -/* 0846A0 800EB1F0 E4228340 */ swc1 $f2, -0x7cc0($at) -/* 0846A4 800EB1F4 3C018010 */ lui $at, 0x8010 -/* 0846A8 800EB1F8 03E00008 */ jr $ra -/* 0846AC 800EB1FC E4248344 */ swc1 $f4, -0x7cbc($at) - -func_800EB200: -/* 0846B0 800EB200 3C058011 */ lui $a1, 0x8011 -/* 0846B4 800EB204 24A5EFC8 */ addiu $a1, $a1, -0x1038 -/* 0846B8 800EB208 3C038011 */ lui $v1, 0x8011 -/* 0846BC 800EB20C 8C63CFD8 */ lw $v1, -0x3028($v1) -/* 0846C0 800EB210 3C068011 */ lui $a2, 0x8011 -/* 0846C4 800EB214 24C6EBB0 */ addiu $a2, $a2, -0x1450 -/* 0846C8 800EB218 1064000D */ beq $v1, $a0, .L800EB250 -/* 0846CC 800EB21C 24020001 */ addiu $v0, $zero, 1 -/* 0846D0 800EB220 3C018011 */ lui $at, 0x8011 -/* 0846D4 800EB224 AC22CFE0 */ sw $v0, -0x3020($at) -/* 0846D8 800EB228 3C018011 */ lui $at, 0x8011 -/* 0846DC 800EB22C AC24CFE4 */ sw $a0, -0x301c($at) -/* 0846E0 800EB230 A0C00000 */ sb $zero, ($a2) -/* 0846E4 800EB234 10600008 */ beqz $v1, .L800EB258 -/* 0846E8 800EB238 A0C00001 */ sb $zero, 1($a2) -/* 0846EC 800EB23C 10800009 */ beqz $a0, .L800EB264 -/* 0846F0 800EB240 24020004 */ addiu $v0, $zero, 4 -/* 0846F4 800EB244 24020002 */ addiu $v0, $zero, 2 -/* 0846F8 800EB248 3C018011 */ lui $at, 0x8011 -/* 0846FC 800EB24C AC22CFE8 */ sw $v0, -0x3018($at) -.L800EB250: -/* 084700 800EB250 03E00008 */ jr $ra -/* 084704 800EB254 00000000 */ nop - -.L800EB258: -/* 084708 800EB258 14800006 */ bnez $a0, .L800EB274 -/* 08470C 800EB25C 24020006 */ addiu $v0, $zero, 6 -/* 084710 800EB260 24020004 */ addiu $v0, $zero, 4 -.L800EB264: -/* 084714 800EB264 3C018011 */ lui $at, 0x8011 -/* 084718 800EB268 AC22CFE8 */ sw $v0, -0x3018($at) -/* 08471C 800EB26C 03E00008 */ jr $ra -/* 084720 800EB270 00000000 */ nop - -.L800EB274: -/* 084724 800EB274 C4A00028 */ lwc1 $f0, 0x28($a1) -/* 084728 800EB278 C4A2002C */ lwc1 $f2, 0x2c($a1) -/* 08472C 800EB27C C4A40030 */ lwc1 $f4, 0x30($a1) -/* 084730 800EB280 3C018011 */ lui $at, 0x8011 -/* 084734 800EB284 AC22CFE8 */ sw $v0, -0x3018($at) -/* 084738 800EB288 3C018010 */ lui $at, 0x8010 -/* 08473C 800EB28C E420833C */ swc1 $f0, -0x7cc4($at) -/* 084740 800EB290 3C018010 */ lui $at, 0x8010 -/* 084744 800EB294 E4228340 */ swc1 $f2, -0x7cc0($at) -/* 084748 800EB298 3C018010 */ lui $at, 0x8010 -/* 08474C 800EB29C 03E00008 */ jr $ra -/* 084750 800EB2A0 E4248344 */ swc1 $f4, -0x7cbc($at) - -/* 084754 800EB2A4 3C038011 */ lui $v1, 0x8011 -/* 084758 800EB2A8 8C63CFD8 */ lw $v1, -0x3028($v1) -/* 08475C 800EB2AC 1064000C */ beq $v1, $a0, .L800EB2E0 -/* 084760 800EB2B0 24020001 */ addiu $v0, $zero, 1 -/* 084764 800EB2B4 3C018011 */ lui $at, 0x8011 -/* 084768 800EB2B8 AC22CFE0 */ sw $v0, -0x3020($at) -/* 08476C 800EB2BC 3C018011 */ lui $at, 0x8011 -/* 084770 800EB2C0 AC24CFE4 */ sw $a0, -0x301c($at) -/* 084774 800EB2C4 10600008 */ beqz $v1, .L800EB2E8 -/* 084778 800EB2C8 00000000 */ nop -/* 08477C 800EB2CC 10800009 */ beqz $a0, .L800EB2F4 -/* 084780 800EB2D0 24020005 */ addiu $v0, $zero, 5 -/* 084784 800EB2D4 24020003 */ addiu $v0, $zero, 3 -/* 084788 800EB2D8 3C018011 */ lui $at, 0x8011 -/* 08478C 800EB2DC AC22CFE8 */ sw $v0, -0x3018($at) -.L800EB2E0: -/* 084790 800EB2E0 03E00008 */ jr $ra -/* 084794 800EB2E4 00000000 */ nop - -.L800EB2E8: -/* 084798 800EB2E8 14800006 */ bnez $a0, .L800EB304 -/* 08479C 800EB2EC 24020007 */ addiu $v0, $zero, 7 -/* 0847A0 800EB2F0 24020005 */ addiu $v0, $zero, 5 -.L800EB2F4: -/* 0847A4 800EB2F4 3C018011 */ lui $at, 0x8011 -/* 0847A8 800EB2F8 AC22CFE8 */ sw $v0, -0x3018($at) -/* 0847AC 800EB2FC 03E00008 */ jr $ra -/* 0847B0 800EB300 00000000 */ nop - -.L800EB304: -/* 0847B4 800EB304 3C018011 */ lui $at, 0x8011 -/* 0847B8 800EB308 AC22CFE8 */ sw $v0, -0x3018($at) -/* 0847BC 800EB30C 03E00008 */ jr $ra -/* 0847C0 800EB310 00000000 */ nop - -use_partner_ability: -/* 0847C4 800EB314 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 0847C8 800EB318 AFBF0010 */ sw $ra, 0x10($sp) -/* 0847CC 800EB31C 0C011052 */ jal func_80044148 -/* 0847D0 800EB320 00000000 */ nop -/* 0847D4 800EB324 1440002B */ bnez $v0, .L800EB3D4 -/* 0847D8 800EB328 0000102D */ daddu $v0, $zero, $zero -/* 0847DC 800EB32C 3C028011 */ lui $v0, 0x8011 -/* 0847E0 800EB330 8C42CFEC */ lw $v0, -0x3014($v0) -/* 0847E4 800EB334 50400027 */ beql $v0, $zero, .L800EB3D4 -/* 0847E8 800EB338 0000102D */ daddu $v0, $zero, $zero -/* 0847EC 800EB33C 8C42002C */ lw $v0, 0x2c($v0) -/* 0847F0 800EB340 10400007 */ beqz $v0, .L800EB360 -/* 0847F4 800EB344 00000000 */ nop -/* 0847F8 800EB348 3C048011 */ lui $a0, 0x8011 -/* 0847FC 800EB34C 8C84C930 */ lw $a0, -0x36d0($a0) -/* 084800 800EB350 0040F809 */ jalr $v0 -/* 084804 800EB354 00000000 */ nop -/* 084808 800EB358 1040001E */ beqz $v0, .L800EB3D4 -/* 08480C 800EB35C 0000102D */ daddu $v0, $zero, $zero -.L800EB360: -/* 084810 800EB360 3C028007 */ lui $v0, 0x8007 -/* 084814 800EB364 8C42419C */ lw $v0, 0x419c($v0) -/* 084818 800EB368 80420081 */ lb $v0, 0x81($v0) -/* 08481C 800EB36C 1040000B */ beqz $v0, .L800EB39C -/* 084820 800EB370 00000000 */ nop -/* 084824 800EB374 3C028011 */ lui $v0, 0x8011 -/* 084828 800EB378 2442EBB0 */ addiu $v0, $v0, -0x1450 -/* 08482C 800EB37C 8C420008 */ lw $v0, 8($v0) -/* 084830 800EB380 30424000 */ andi $v0, $v0, 0x4000 -/* 084834 800EB384 10400005 */ beqz $v0, .L800EB39C -/* 084838 800EB388 00000000 */ nop -/* 08483C 800EB38C 0C05272D */ jal play_sound -/* 084840 800EB390 2404021D */ addiu $a0, $zero, 0x21d -/* 084844 800EB394 0803ACF5 */ j .L800EB3D4 -/* 084848 800EB398 0000102D */ daddu $v0, $zero, $zero - -.L800EB39C: -/* 08484C 800EB39C 3C028011 */ lui $v0, 0x8011 -/* 084850 800EB3A0 8C42CFD8 */ lw $v0, -0x3028($v0) -/* 084854 800EB3A4 1040000A */ beqz $v0, .L800EB3D0 -/* 084858 800EB3A8 24020001 */ addiu $v0, $zero, 1 -/* 08485C 800EB3AC 3C018011 */ lui $at, 0x8011 -/* 084860 800EB3B0 AC22CFE0 */ sw $v0, -0x3020($at) -/* 084864 800EB3B4 24020008 */ addiu $v0, $zero, 8 -/* 084868 800EB3B8 3C018011 */ lui $at, 0x8011 -/* 08486C 800EB3BC AC22CFE8 */ sw $v0, -0x3018($at) -/* 084870 800EB3C0 0C03A9B3 */ jal func_800EA6CC -/* 084874 800EB3C4 00000000 */ nop -/* 084878 800EB3C8 0803ACF5 */ j .L800EB3D4 -/* 08487C 800EB3CC 24020001 */ addiu $v0, $zero, 1 - -.L800EB3D0: -/* 084880 800EB3D0 0000102D */ daddu $v0, $zero, $zero -.L800EB3D4: -/* 084884 800EB3D4 8FBF0010 */ lw $ra, 0x10($sp) -/* 084888 800EB3D8 03E00008 */ jr $ra -/* 08488C 800EB3DC 27BD0018 */ addiu $sp, $sp, 0x18 - -func_800EB3E0: -/* 084890 800EB3E0 3C028011 */ lui $v0, 0x8011 -/* 084894 800EB3E4 8C42CFEC */ lw $v0, -0x3014($v0) -/* 084898 800EB3E8 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 08489C 800EB3EC 1040000B */ beqz $v0, .L800EB41C -/* 0848A0 800EB3F0 AFBF0010 */ sw $ra, 0x10($sp) -/* 0848A4 800EB3F4 8C420030 */ lw $v0, 0x30($v0) -/* 0848A8 800EB3F8 50400009 */ beql $v0, $zero, .L800EB420 -/* 0848AC 800EB3FC 24020001 */ addiu $v0, $zero, 1 -/* 0848B0 800EB400 3C048011 */ lui $a0, 0x8011 -/* 0848B4 800EB404 8C84C930 */ lw $a0, -0x36d0($a0) -/* 0848B8 800EB408 0040F809 */ jalr $v0 -/* 0848BC 800EB40C 00000000 */ nop -/* 0848C0 800EB410 0040182D */ daddu $v1, $v0, $zero -/* 0848C4 800EB414 10600002 */ beqz $v1, .L800EB420 -/* 0848C8 800EB418 0000102D */ daddu $v0, $zero, $zero -.L800EB41C: -/* 0848CC 800EB41C 24020001 */ addiu $v0, $zero, 1 -.L800EB420: -/* 0848D0 800EB420 8FBF0010 */ lw $ra, 0x10($sp) -/* 0848D4 800EB424 03E00008 */ jr $ra -/* 0848D8 800EB428 27BD0018 */ addiu $sp, $sp, 0x18 - -func_800EB42C: -/* 0848DC 800EB42C 3C028011 */ lui $v0, 0x8011 -/* 0848E0 800EB430 8C42CFEC */ lw $v0, -0x3014($v0) -/* 0848E4 800EB434 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 0848E8 800EB438 AFBF0010 */ sw $ra, 0x10($sp) -/* 0848EC 800EB43C 8C42002C */ lw $v0, 0x2c($v0) -/* 0848F0 800EB440 50400009 */ beql $v0, $zero, .L800EB468 -/* 0848F4 800EB444 0000102D */ daddu $v0, $zero, $zero -/* 0848F8 800EB448 3C048011 */ lui $a0, 0x8011 -/* 0848FC 800EB44C 8C84C930 */ lw $a0, -0x36d0($a0) -/* 084900 800EB450 0040F809 */ jalr $v0 -/* 084904 800EB454 00000000 */ nop -/* 084908 800EB458 0040182D */ daddu $v1, $v0, $zero -/* 08490C 800EB45C 10600002 */ beqz $v1, .L800EB468 -/* 084910 800EB460 24020001 */ addiu $v0, $zero, 1 -/* 084914 800EB464 0000102D */ daddu $v0, $zero, $zero -.L800EB468: -/* 084918 800EB468 8FBF0010 */ lw $ra, 0x10($sp) -/* 08491C 800EB46C 03E00008 */ jr $ra -/* 084920 800EB470 27BD0018 */ addiu $sp, $sp, 0x18 - -func_800EB474: -/* 084924 800EB474 27BDFFE0 */ addiu $sp, $sp, -0x20 -/* 084928 800EB478 AFB10014 */ sw $s1, 0x14($sp) -/* 08492C 800EB47C 3C118011 */ lui $s1, 0x8011 -/* 084930 800EB480 2631EBB0 */ addiu $s1, $s1, -0x1450 -/* 084934 800EB484 0220202D */ daddu $a0, $s1, $zero -/* 084938 800EB488 AFB00010 */ sw $s0, 0x10($sp) -/* 08493C 800EB48C 3C108011 */ lui $s0, 0x8011 -/* 084940 800EB490 8210F2A2 */ lb $s0, -0xd5e($s0) -/* 084944 800EB494 AFBF0018 */ sw $ra, 0x18($sp) -/* 084948 800EB498 0C00A580 */ jal mem_clear -/* 08494C 800EB49C 24050360 */ addiu $a1, $zero, 0x360 -/* 084950 800EB4A0 3C04800F */ lui $a0, 0x800f -/* 084954 800EB4A4 2484A6CC */ addiu $a0, $a0, -0x5934 -/* 084958 800EB4A8 0C048C8F */ jal func_8012323C -/* 08495C 800EB4AC 0000282D */ daddu $a1, $zero, $zero -/* 084960 800EB4B0 0C048D8F */ jal func_8012363C -/* 084964 800EB4B4 0040202D */ daddu $a0, $v0, $zero -/* 084968 800EB4B8 24040001 */ addiu $a0, $zero, 1 -/* 08496C 800EB4BC 3C068011 */ lui $a2, 0x8011 -/* 084970 800EB4C0 24C6CFE8 */ addiu $a2, $a2, -0x3018 -/* 084974 800EB4C4 24020009 */ addiu $v0, $zero, 9 -/* 084978 800EB4C8 3C018011 */ lui $at, 0x8011 -/* 08497C 800EB4CC AC24CFE0 */ sw $a0, -0x3020($at) -/* 084980 800EB4D0 ACC20000 */ sw $v0, ($a2) -/* 084984 800EB4D4 3C038007 */ lui $v1, 0x8007 -/* 084988 800EB4D8 8C63419C */ lw $v1, 0x419c($v1) -/* 08498C 800EB4DC 3C058011 */ lui $a1, 0x8011 -/* 084990 800EB4E0 24A5CFD8 */ addiu $a1, $a1, -0x3028 -/* 084994 800EB4E4 ACB00000 */ sw $s0, ($a1) -/* 084998 800EB4E8 8062007D */ lb $v0, 0x7d($v1) -/* 08499C 800EB4EC 3C108011 */ lui $s0, 0x8011 -/* 0849A0 800EB4F0 2610EFC8 */ addiu $s0, $s0, -0x1038 -/* 0849A4 800EB4F4 10400003 */ beqz $v0, .L800EB504 -/* 0849A8 800EB4F8 00000000 */ nop -/* 0849AC 800EB4FC A2240000 */ sb $a0, ($s1) -/* 0849B0 800EB500 A060007D */ sb $zero, 0x7d($v1) -.L800EB504: -/* 0849B4 800EB504 C6000028 */ lwc1 $f0, 0x28($s0) -/* 0849B8 800EB508 C602002C */ lwc1 $f2, 0x2c($s0) -/* 0849BC 800EB50C C6040030 */ lwc1 $f4, 0x30($s0) -/* 0849C0 800EB510 8CA20000 */ lw $v0, ($a1) -/* 0849C4 800EB514 3C018011 */ lui $at, 0x8011 -/* 0849C8 800EB518 AC20CFEC */ sw $zero, -0x3014($at) -/* 0849CC 800EB51C 3C018010 */ lui $at, 0x8010 -/* 0849D0 800EB520 E420833C */ swc1 $f0, -0x7cc4($at) -/* 0849D4 800EB524 3C018010 */ lui $at, 0x8010 -/* 0849D8 800EB528 E4228340 */ swc1 $f2, -0x7cc0($at) -/* 0849DC 800EB52C 3C018010 */ lui $at, 0x8010 -/* 0849E0 800EB530 14400003 */ bnez $v0, .L800EB540 -/* 0849E4 800EB534 E4248344 */ swc1 $f4, -0x7cbc($at) -/* 0849E8 800EB538 0803AD5B */ j .L800EB56C -/* 0849EC 800EB53C ACC40000 */ sw $a0, ($a2) - -.L800EB540: -/* 0849F0 800EB540 0C03A974 */ jal func_800EA5D0 -/* 0849F4 800EB544 00000000 */ nop -/* 0849F8 800EB548 3C028011 */ lui $v0, 0x8011 -/* 0849FC 800EB54C 8C42C930 */ lw $v0, -0x36d0($v0) -/* 084A00 800EB550 3C013F80 */ lui $at, 0x3f80 -/* 084A04 800EB554 44810000 */ mtc1 $at, $f0 -/* 084A08 800EB558 00000000 */ nop -/* 084A0C 800EB55C E4400054 */ swc1 $f0, 0x54($v0) -/* 084A10 800EB560 E4400058 */ swc1 $f0, 0x58($v0) -/* 084A14 800EB564 0C03A9B3 */ jal func_800EA6CC -/* 084A18 800EB568 E440005C */ swc1 $f0, 0x5c($v0) -.L800EB56C: -/* 084A1C 800EB56C 8FBF0018 */ lw $ra, 0x18($sp) -/* 084A20 800EB570 8FB10014 */ lw $s1, 0x14($sp) -/* 084A24 800EB574 8FB00010 */ lw $s0, 0x10($sp) -/* 084A28 800EB578 03E00008 */ jr $ra -/* 084A2C 800EB57C 27BD0020 */ addiu $sp, $sp, 0x20 - -func_800EB580: -/* 084A30 800EB580 3C028011 */ lui $v0, 0x8011 -/* 084A34 800EB584 2442EBB0 */ addiu $v0, $v0, -0x1450 -/* 084A38 800EB588 3C018011 */ lui $at, 0x8011 -/* 084A3C 800EB58C AC20CFD8 */ sw $zero, -0x3028($at) -/* 084A40 800EB590 3C018011 */ lui $at, 0x8011 -/* 084A44 800EB594 AC20CFE0 */ sw $zero, -0x3020($at) -/* 084A48 800EB598 3C018011 */ lui $at, 0x8011 -/* 084A4C 800EB59C AC20CFE8 */ sw $zero, -0x3018($at) -/* 084A50 800EB5A0 3C018011 */ lui $at, 0x8011 -/* 084A54 800EB5A4 AC20CFC4 */ sw $zero, -0x303c($at) -/* 084A58 800EB5A8 A0400003 */ sb $zero, 3($v0) -/* 084A5C 800EB5AC A0400014 */ sb $zero, 0x14($v0) -/* 084A60 800EB5B0 A0400001 */ sb $zero, 1($v0) -/* 084A64 800EB5B4 A0400000 */ sb $zero, ($v0) -/* 084A68 800EB5B8 AC400358 */ sw $zero, 0x358($v0) -/* 084A6C 800EB5BC A0400002 */ sb $zero, 2($v0) -/* 084A70 800EB5C0 3C018011 */ lui $at, 0x8011 -/* 084A74 800EB5C4 AC20CFEC */ sw $zero, -0x3014($at) -/* 084A78 800EB5C8 3C018010 */ lui $at, 0x8010 -/* 084A7C 800EB5CC AC20833C */ sw $zero, -0x7cc4($at) -/* 084A80 800EB5D0 3C018010 */ lui $at, 0x8010 -/* 084A84 800EB5D4 AC208340 */ sw $zero, -0x7cc0($at) -/* 084A88 800EB5D8 3C018010 */ lui $at, 0x8010 -/* 084A8C 800EB5DC 03E00008 */ jr $ra -/* 084A90 800EB5E0 AC208344 */ sw $zero, -0x7cbc($at) - -func_800EB5E4: -/* 084A94 800EB5E4 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 084A98 800EB5E8 3C028011 */ lui $v0, 0x8011 -/* 084A9C 800EB5EC 8C42CFD8 */ lw $v0, -0x3028($v0) -/* 084AA0 800EB5F0 0080282D */ daddu $a1, $a0, $zero -/* 084AA4 800EB5F4 1040000C */ beqz $v0, .L800EB628 -/* 084AA8 800EB5F8 AFBF0010 */ sw $ra, 0x10($sp) -/* 084AAC 800EB5FC 3C028011 */ lui $v0, 0x8011 -/* 084AB0 800EB600 8C42CFEC */ lw $v0, -0x3014($v0) -/* 084AB4 800EB604 8C420028 */ lw $v0, 0x28($v0) -/* 084AB8 800EB608 50400008 */ beql $v0, $zero, .L800EB62C -/* 084ABC 800EB60C 0000102D */ daddu $v0, $zero, $zero -/* 084AC0 800EB610 3C048011 */ lui $a0, 0x8011 -/* 084AC4 800EB614 8C84C930 */ lw $a0, -0x36d0($a0) -/* 084AC8 800EB618 0040F809 */ jalr $v0 -/* 084ACC 800EB61C 00000000 */ nop -/* 084AD0 800EB620 0803AD8B */ j .L800EB62C -/* 084AD4 800EB624 00000000 */ nop - -.L800EB628: -/* 084AD8 800EB628 0000102D */ daddu $v0, $zero, $zero -.L800EB62C: -/* 084ADC 800EB62C 8FBF0010 */ lw $ra, 0x10($sp) -/* 084AE0 800EB630 03E00008 */ jr $ra -/* 084AE4 800EB634 27BD0018 */ addiu $sp, $sp, 0x18 - -func_800EB638: -/* 084AE8 800EB638 3C028011 */ lui $v0, 0x8011 -/* 084AEC 800EB63C 8C42CFEC */ lw $v0, -0x3014($v0) -/* 084AF0 800EB640 10400003 */ beqz $v0, .L800EB650 -/* 084AF4 800EB644 00000000 */ nop -/* 084AF8 800EB648 03E00008 */ jr $ra -/* 084AFC 800EB64C 8C42003C */ lw $v0, 0x3c($v0) - -.L800EB650: -/* 084B00 800EB650 03E00008 */ jr $ra -/* 084B04 800EB654 0000102D */ daddu $v0, $zero, $zero - -func_800EB658: -/* 084B08 800EB658 3C028011 */ lui $v0, 0x8011 -/* 084B0C 800EB65C 8C42CFD8 */ lw $v0, -0x3028($v0) -/* 084B10 800EB660 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 084B14 800EB664 AFBF0014 */ sw $ra, 0x14($sp) -/* 084B18 800EB668 10400012 */ beqz $v0, .L800EB6B4 -/* 084B1C 800EB66C AFB00010 */ sw $s0, 0x10($sp) -/* 084B20 800EB670 3C108011 */ lui $s0, 0x8011 -/* 084B24 800EB674 2610CFDC */ addiu $s0, $s0, -0x3024 -/* 084B28 800EB678 0C0B1059 */ jal does_script_exist -/* 084B2C 800EB67C 8E040000 */ lw $a0, ($s0) -/* 084B30 800EB680 10400003 */ beqz $v0, .L800EB690 -/* 084B34 800EB684 00000000 */ nop -/* 084B38 800EB688 0C0B102B */ jal kill_script_by_ID -/* 084B3C 800EB68C 8E040000 */ lw $a0, ($s0) -.L800EB690: -/* 084B40 800EB690 3C028011 */ lui $v0, 0x8011 -/* 084B44 800EB694 8C42CFEC */ lw $v0, -0x3014($v0) -/* 084B48 800EB698 8C420034 */ lw $v0, 0x34($v0) -/* 084B4C 800EB69C 10400005 */ beqz $v0, .L800EB6B4 -/* 084B50 800EB6A0 00000000 */ nop -/* 084B54 800EB6A4 3C048011 */ lui $a0, 0x8011 -/* 084B58 800EB6A8 8C84C930 */ lw $a0, -0x36d0($a0) -/* 084B5C 800EB6AC 0040F809 */ jalr $v0 -/* 084B60 800EB6B0 00000000 */ nop -.L800EB6B4: -/* 084B64 800EB6B4 8FBF0014 */ lw $ra, 0x14($sp) -/* 084B68 800EB6B8 8FB00010 */ lw $s0, 0x10($sp) -/* 084B6C 800EB6BC 03E00008 */ jr $ra -/* 084B70 800EB6C0 27BD0018 */ addiu $sp, $sp, 0x18 - -func_800EB6C4: -/* 084B74 800EB6C4 3C028011 */ lui $v0, 0x8011 -/* 084B78 800EB6C8 8C42CFD8 */ lw $v0, -0x3028($v0) -/* 084B7C 800EB6CC 27BDFFE0 */ addiu $sp, $sp, -0x20 -/* 084B80 800EB6D0 AFB10014 */ sw $s1, 0x14($sp) -/* 084B84 800EB6D4 3C118011 */ lui $s1, 0x8011 -/* 084B88 800EB6D8 2631EBB0 */ addiu $s1, $s1, -0x1450 -/* 084B8C 800EB6DC AFBF0018 */ sw $ra, 0x18($sp) -/* 084B90 800EB6E0 10400035 */ beqz $v0, .L800EB7B8 -/* 084B94 800EB6E4 AFB00010 */ sw $s0, 0x10($sp) -/* 084B98 800EB6E8 3C108011 */ lui $s0, 0x8011 -/* 084B9C 800EB6EC 2610CFDC */ addiu $s0, $s0, -0x3024 -/* 084BA0 800EB6F0 0C0B1059 */ jal does_script_exist -/* 084BA4 800EB6F4 8E040000 */ lw $a0, ($s0) -/* 084BA8 800EB6F8 10400003 */ beqz $v0, .L800EB708 -/* 084BAC 800EB6FC 00000000 */ nop -/* 084BB0 800EB700 0C0B102B */ jal kill_script_by_ID -/* 084BB4 800EB704 8E040000 */ lw $a0, ($s0) -.L800EB708: -/* 084BB8 800EB708 3C028011 */ lui $v0, 0x8011 -/* 084BBC 800EB70C 8C42CFEC */ lw $v0, -0x3014($v0) -/* 084BC0 800EB710 24050014 */ addiu $a1, $zero, 0x14 -/* 084BC4 800EB714 8C440018 */ lw $a0, 0x18($v0) -/* 084BC8 800EB718 0C0B0CF8 */ jal start_script -/* 084BCC 800EB71C 24060020 */ addiu $a2, $zero, 0x20 -/* 084BD0 800EB720 3C038011 */ lui $v1, 0x8011 -/* 084BD4 800EB724 8C63C930 */ lw $v1, -0x36d0($v1) -/* 084BD8 800EB728 8C440144 */ lw $a0, 0x144($v0) -/* 084BDC 800EB72C 3C018011 */ lui $at, 0x8011 -/* 084BE0 800EB730 AC22CFD4 */ sw $v0, -0x302c($at) -/* 084BE4 800EB734 AC43014C */ sw $v1, 0x14c($v0) -/* 084BE8 800EB738 2403000A */ addiu $v1, $zero, 0xa -/* 084BEC 800EB73C AE040000 */ sw $a0, ($s0) -/* 084BF0 800EB740 A0430004 */ sb $v1, 4($v0) -/* 084BF4 800EB744 24020001 */ addiu $v0, $zero, 1 -/* 084BF8 800EB748 3C018011 */ lui $at, 0x8011 -/* 084BFC 800EB74C AC22CFE8 */ sw $v0, -0x3018($at) -/* 084C00 800EB750 3C028011 */ lui $v0, 0x8011 -/* 084C04 800EB754 2442F290 */ addiu $v0, $v0, -0xd70 -/* 084C08 800EB758 80420012 */ lb $v0, 0x12($v0) -/* 084C0C 800EB75C 24030006 */ addiu $v1, $zero, 6 -/* 084C10 800EB760 1043000C */ beq $v0, $v1, .L800EB794 -/* 084C14 800EB764 00000000 */ nop -/* 084C18 800EB768 82220003 */ lb $v0, 3($s1) -/* 084C1C 800EB76C 14430009 */ bne $v0, $v1, .L800EB794 -/* 084C20 800EB770 2403FFFE */ addiu $v1, $zero, -2 -/* 084C24 800EB774 3C04800F */ lui $a0, 0x800f -/* 084C28 800EB778 8C847B30 */ lw $a0, 0x7b30($a0) -/* 084C2C 800EB77C 8C820004 */ lw $v0, 4($a0) -/* 084C30 800EB780 00431024 */ and $v0, $v0, $v1 -/* 084C34 800EB784 2403FFFD */ addiu $v1, $zero, -3 -/* 084C38 800EB788 00431024 */ and $v0, $v0, $v1 -/* 084C3C 800EB78C AC820004 */ sw $v0, 4($a0) -/* 084C40 800EB790 A2200003 */ sb $zero, 3($s1) -.L800EB794: -/* 084C44 800EB794 3C028011 */ lui $v0, 0x8011 -/* 084C48 800EB798 8C42CFEC */ lw $v0, -0x3014($v0) -/* 084C4C 800EB79C 8C420038 */ lw $v0, 0x38($v0) -/* 084C50 800EB7A0 10400005 */ beqz $v0, .L800EB7B8 -/* 084C54 800EB7A4 00000000 */ nop -/* 084C58 800EB7A8 3C048011 */ lui $a0, 0x8011 -/* 084C5C 800EB7AC 8C84C930 */ lw $a0, -0x36d0($a0) -/* 084C60 800EB7B0 0040F809 */ jalr $v0 -/* 084C64 800EB7B4 00000000 */ nop -.L800EB7B8: -/* 084C68 800EB7B8 8FBF0018 */ lw $ra, 0x18($sp) -/* 084C6C 800EB7BC 8FB10014 */ lw $s1, 0x14($sp) -/* 084C70 800EB7C0 8FB00010 */ lw $s0, 0x10($sp) -/* 084C74 800EB7C4 03E00008 */ jr $ra -/* 084C78 800EB7C8 27BD0020 */ addiu $sp, $sp, 0x20 - -/* 084C7C 800EB7CC 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 084C80 800EB7D0 AFB00010 */ sw $s0, 0x10($sp) -/* 084C84 800EB7D4 3C108011 */ lui $s0, 0x8011 -/* 084C88 800EB7D8 2610CFDC */ addiu $s0, $s0, -0x3024 -/* 084C8C 800EB7DC AFBF0014 */ sw $ra, 0x14($sp) -/* 084C90 800EB7E0 8E040000 */ lw $a0, ($s0) -/* 084C94 800EB7E4 2402000A */ addiu $v0, $zero, 0xa -/* 084C98 800EB7E8 3C018011 */ lui $at, 0x8011 -/* 084C9C 800EB7EC AC22CFE8 */ sw $v0, -0x3018($at) -/* 084CA0 800EB7F0 0C0B1059 */ jal does_script_exist -/* 084CA4 800EB7F4 00000000 */ nop -/* 084CA8 800EB7F8 10400003 */ beqz $v0, .L800EB808 -/* 084CAC 800EB7FC 00000000 */ nop -/* 084CB0 800EB800 0C0B102B */ jal kill_script_by_ID -/* 084CB4 800EB804 8E040000 */ lw $a0, ($s0) -.L800EB808: -/* 084CB8 800EB808 8FBF0014 */ lw $ra, 0x14($sp) -/* 084CBC 800EB80C 8FB00010 */ lw $s0, 0x10($sp) -/* 084CC0 800EB810 03E00008 */ jr $ra -/* 084CC4 800EB814 27BD0018 */ addiu $sp, $sp, 0x18 - -/* 084CC8 800EB818 3C028011 */ lui $v0, 0x8011 -/* 084CCC 800EB81C 8C42CFD8 */ lw $v0, -0x3028($v0) -/* 084CD0 800EB820 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 084CD4 800EB824 AFBF0014 */ sw $ra, 0x14($sp) -/* 084CD8 800EB828 10400009 */ beqz $v0, .L800EB850 -/* 084CDC 800EB82C AFB00010 */ sw $s0, 0x10($sp) -/* 084CE0 800EB830 3C108011 */ lui $s0, 0x8011 -/* 084CE4 800EB834 2610CFDC */ addiu $s0, $s0, -0x3024 -/* 084CE8 800EB838 0C0B1059 */ jal does_script_exist -/* 084CEC 800EB83C 8E040000 */ lw $a0, ($s0) -/* 084CF0 800EB840 10400003 */ beqz $v0, .L800EB850 -/* 084CF4 800EB844 00000000 */ nop -/* 084CF8 800EB848 0C0B1108 */ jal suspend_all_script -/* 084CFC 800EB84C 8E040000 */ lw $a0, ($s0) -.L800EB850: -/* 084D00 800EB850 8FBF0014 */ lw $ra, 0x14($sp) -/* 084D04 800EB854 8FB00010 */ lw $s0, 0x10($sp) -/* 084D08 800EB858 03E00008 */ jr $ra -/* 084D0C 800EB85C 27BD0018 */ addiu $sp, $sp, 0x18 - -/* 084D10 800EB860 3C028011 */ lui $v0, 0x8011 -/* 084D14 800EB864 8C42CFD8 */ lw $v0, -0x3028($v0) -/* 084D18 800EB868 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 084D1C 800EB86C AFBF0014 */ sw $ra, 0x14($sp) -/* 084D20 800EB870 10400009 */ beqz $v0, .L800EB898 -/* 084D24 800EB874 AFB00010 */ sw $s0, 0x10($sp) -/* 084D28 800EB878 3C108011 */ lui $s0, 0x8011 -/* 084D2C 800EB87C 2610CFDC */ addiu $s0, $s0, -0x3024 -/* 084D30 800EB880 0C0B1059 */ jal does_script_exist -/* 084D34 800EB884 8E040000 */ lw $a0, ($s0) -/* 084D38 800EB888 10400003 */ beqz $v0, .L800EB898 -/* 084D3C 800EB88C 00000000 */ nop -/* 084D40 800EB890 0C0B1123 */ jal resume_all_script -/* 084D44 800EB894 8E040000 */ lw $a0, ($s0) -.L800EB898: -/* 084D48 800EB898 8FBF0014 */ lw $ra, 0x14($sp) -/* 084D4C 800EB89C 8FB00010 */ lw $s0, 0x10($sp) -/* 084D50 800EB8A0 03E00008 */ jr $ra -/* 084D54 800EB8A4 27BD0018 */ addiu $sp, $sp, 0x18 - -enable_partner_walking: -/* 084D58 800EB8A8 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 084D5C 800EB8AC AFB00010 */ sw $s0, 0x10($sp) -/* 084D60 800EB8B0 0080802D */ daddu $s0, $a0, $zero -/* 084D64 800EB8B4 3C078011 */ lui $a3, 0x8011 -/* 084D68 800EB8B8 24E7EFC8 */ addiu $a3, $a3, -0x1038 -/* 084D6C 800EB8BC 3C048011 */ lui $a0, 0x8011 -/* 084D70 800EB8C0 2484CD38 */ addiu $a0, $a0, -0x32c8 -/* 084D74 800EB8C4 0000302D */ daddu $a2, $zero, $zero -/* 084D78 800EB8C8 3C018010 */ lui $at, 0x8010 -/* 084D7C 800EB8CC C420833C */ lwc1 $f0, -0x7cc4($at) -/* 084D80 800EB8D0 3C018010 */ lui $at, 0x8010 -/* 084D84 800EB8D4 C4228340 */ lwc1 $f2, -0x7cc0($at) -/* 084D88 800EB8D8 3C018010 */ lui $at, 0x8010 -/* 084D8C 800EB8DC C4248344 */ lwc1 $f4, -0x7cbc($at) -/* 084D90 800EB8E0 2483000C */ addiu $v1, $a0, 0xc -/* 084D94 800EB8E4 AFBF0014 */ sw $ra, 0x14($sp) -/* 084D98 800EB8E8 E6000038 */ swc1 $f0, 0x38($s0) -/* 084D9C 800EB8EC E602003C */ swc1 $f2, 0x3c($s0) -/* 084DA0 800EB8F0 E6040040 */ swc1 $f4, 0x40($s0) -.L800EB8F4: -/* 084DA4 800EB8F4 C4E00028 */ lwc1 $f0, 0x28($a3) -/* 084DA8 800EB8F8 E460FFF8 */ swc1 $f0, -8($v1) -/* 084DAC 800EB8FC C4E0002C */ lwc1 $f0, 0x2c($a3) -/* 084DB0 800EB900 24C60001 */ addiu $a2, $a2, 1 -/* 084DB4 800EB904 E460FFFC */ swc1 $f0, -4($v1) -/* 084DB8 800EB908 C4E00030 */ lwc1 $f0, 0x30($a3) -/* 084DBC 800EB90C 28C20028 */ slti $v0, $a2, 0x28 -/* 084DC0 800EB910 E4600000 */ swc1 $f0, ($v1) -/* 084DC4 800EB914 24630010 */ addiu $v1, $v1, 0x10 -/* 084DC8 800EB918 A0800000 */ sb $zero, ($a0) -/* 084DCC 800EB91C 1440FFF5 */ bnez $v0, .L800EB8F4 -/* 084DD0 800EB920 24840010 */ addiu $a0, $a0, 0x10 -/* 084DD4 800EB924 3C038011 */ lui $v1, 0x8011 -/* 084DD8 800EB928 2463CFCA */ addiu $v1, $v1, -0x3036 -/* 084DDC 800EB92C 3C018011 */ lui $at, 0x8011 -/* 084DE0 800EB930 AC20CFB8 */ sw $zero, -0x3048($at) -/* 084DE4 800EB934 3C018011 */ lui $at, 0x8011 -/* 084DE8 800EB938 AC20CFBC */ sw $zero, -0x3044($at) -/* 084DEC 800EB93C 10A00003 */ beqz $a1, .L800EB94C -/* 084DF0 800EB940 24020002 */ addiu $v0, $zero, 2 -/* 084DF4 800EB944 0803AE54 */ j .L800EB950 -/* 084DF8 800EB948 A4620000 */ sh $v0, ($v1) - -.L800EB94C: -/* 084DFC 800EB94C A4600000 */ sh $zero, ($v1) -.L800EB950: -/* 084E00 800EB950 3C048011 */ lui $a0, 0x8011 -/* 084E04 800EB954 2484CFC8 */ addiu $a0, $a0, -0x3038 -/* 084E08 800EB958 3C058011 */ lui $a1, 0x8011 -/* 084E0C 800EB95C 24A5CFC4 */ addiu $a1, $a1, -0x303c -/* 084E10 800EB960 A4800000 */ sh $zero, ($a0) -/* 084E14 800EB964 8CA30000 */ lw $v1, ($a1) -/* 084E18 800EB968 24020001 */ addiu $v0, $zero, 1 -/* 084E1C 800EB96C 10620003 */ beq $v1, $v0, .L800EB97C -/* 084E20 800EB970 24020003 */ addiu $v0, $zero, 3 -/* 084E24 800EB974 14620006 */ bne $v1, $v0, .L800EB990 -/* 084E28 800EB978 24020002 */ addiu $v0, $zero, 2 -.L800EB97C: -/* 084E2C 800EB97C ACA00000 */ sw $zero, ($a1) -/* 084E30 800EB980 3C018011 */ lui $at, 0x8011 -/* 084E34 800EB984 A420CFCA */ sh $zero, -0x3036($at) -/* 084E38 800EB988 0803AE69 */ j .L800EB9A4 -/* 084E3C 800EB98C A4800000 */ sh $zero, ($a0) - -.L800EB990: -/* 084E40 800EB990 14620004 */ bne $v1, $v0, .L800EB9A4 -/* 084E44 800EB994 24020032 */ addiu $v0, $zero, 0x32 -/* 084E48 800EB998 3C018011 */ lui $at, 0x8011 -/* 084E4C 800EB99C A420CFCA */ sh $zero, -0x3036($at) -/* 084E50 800EB9A0 A4820000 */ sh $v0, ($a0) -.L800EB9A4: -/* 084E54 800EB9A4 3C038011 */ lui $v1, 0x8011 -/* 084E58 800EB9A8 8C63CFD8 */ lw $v1, -0x3028($v1) -/* 084E5C 800EB9AC 3C014220 */ lui $at, 0x4220 -/* 084E60 800EB9B0 44810000 */ mtc1 $at, $f0 -/* 084E64 800EB9B4 0200202D */ daddu $a0, $s0, $zero -/* 084E68 800EB9B8 3C018011 */ lui $at, 0x8011 -/* 084E6C 800EB9BC A420CFCE */ sh $zero, -0x3032($at) -/* 084E70 800EB9C0 3C018011 */ lui $at, 0x8011 -/* 084E74 800EB9C4 A420CFCC */ sh $zero, -0x3034($at) -/* 084E78 800EB9C8 000310C0 */ sll $v0, $v1, 3 -/* 084E7C 800EB9CC 00431021 */ addu $v0, $v0, $v1 -/* 084E80 800EB9D0 00021080 */ sll $v0, $v0, 2 -/* 084E84 800EB9D4 3C038010 */ lui $v1, 0x8010 -/* 084E88 800EB9D8 00621821 */ addu $v1, $v1, $v0 -/* 084E8C 800EB9DC 8C63835C */ lw $v1, -0x7ca4($v1) -/* 084E90 800EB9E0 24020010 */ addiu $v0, $zero, 0x10 -/* 084E94 800EB9E4 3C018010 */ lui $at, 0x8010 -/* 084E98 800EB9E8 AC22802C */ sw $v0, -0x7fd4($at) -/* 084E9C 800EB9EC 3C018011 */ lui $at, 0x8011 -/* 084EA0 800EB9F0 E420CFC0 */ swc1 $f0, -0x3040($at) -/* 084EA4 800EB9F4 0C03A96E */ jal func_800EA5B8 -/* 084EA8 800EB9F8 AE030028 */ sw $v1, 0x28($s0) -/* 084EAC 800EB9FC 3C030040 */ lui $v1, 0x40 -/* 084EB0 800EBA00 3C020001 */ lui $v0, 1 -/* 084EB4 800EBA04 AE020080 */ sw $v0, 0x80($s0) -/* 084EB8 800EBA08 8E020000 */ lw $v0, ($s0) -/* 084EBC 800EBA0C 3C013FE6 */ lui $at, 0x3fe6 -/* 084EC0 800EBA10 34216666 */ ori $at, $at, 0x6666 -/* 084EC4 800EBA14 44810000 */ mtc1 $at, $f0 -/* 084EC8 800EBA18 34630300 */ ori $v1, $v1, 0x300 -/* 084ECC 800EBA1C AE00001C */ sw $zero, 0x1c($s0) -/* 084ED0 800EBA20 00431025 */ or $v0, $v0, $v1 -/* 084ED4 800EBA24 AE020000 */ sw $v0, ($s0) -/* 084ED8 800EBA28 E6000014 */ swc1 $f0, 0x14($s0) -/* 084EDC 800EBA2C 8FBF0014 */ lw $ra, 0x14($sp) -/* 084EE0 800EBA30 8FB00010 */ lw $s0, 0x10($sp) -/* 084EE4 800EBA34 03E00008 */ jr $ra -/* 084EE8 800EBA38 27BD0018 */ addiu $sp, $sp, 0x18 - -/* 084EEC 800EBA3C 3C058011 */ lui $a1, 0x8011 -/* 084EF0 800EBA40 24A5EFC8 */ addiu $a1, $a1, -0x1038 -/* 084EF4 800EBA44 8CA20000 */ lw $v0, ($a1) -/* 084EF8 800EBA48 30420006 */ andi $v0, $v0, 6 -/* 084EFC 800EBA4C 10400005 */ beqz $v0, .L800EBA64 -/* 084F00 800EBA50 0000302D */ daddu $a2, $zero, $zero -/* 084F04 800EBA54 90A200B4 */ lbu $v0, 0xb4($a1) -/* 084F08 800EBA58 2442FFF7 */ addiu $v0, $v0, -9 -/* 084F0C 800EBA5C 2C420002 */ sltiu $v0, $v0, 2 -/* 084F10 800EBA60 38460001 */ xori $a2, $v0, 1 -.L800EBA64: -/* 084F14 800EBA64 3C028011 */ lui $v0, 0x8011 -/* 084F18 800EBA68 8C42CFB8 */ lw $v0, -0x3048($v0) -/* 084F1C 800EBA6C 3C038011 */ lui $v1, 0x8011 -/* 084F20 800EBA70 2463CD38 */ addiu $v1, $v1, -0x32c8 -/* 084F24 800EBA74 00021100 */ sll $v0, $v0, 4 -/* 084F28 800EBA78 00431821 */ addu $v1, $v0, $v1 -/* 084F2C 800EBA7C 80620000 */ lb $v0, ($v1) -/* 084F30 800EBA80 10400003 */ beqz $v0, .L800EBA90 -/* 084F34 800EBA84 00000000 */ nop -/* 084F38 800EBA88 14C0002B */ bnez $a2, .L800EBB38 -/* 084F3C 800EBA8C 00000000 */ nop -.L800EBA90: -/* 084F40 800EBA90 C4620004 */ lwc1 $f2, 4($v1) -/* 084F44 800EBA94 C4A00028 */ lwc1 $f0, 0x28($a1) -/* 084F48 800EBA98 46001032 */ c.eq.s $f2, $f0 -/* 084F4C 800EBA9C 00000000 */ nop -/* 084F50 800EBAA0 4500000D */ bc1f .L800EBAD8 -/* 084F54 800EBAA4 00000000 */ nop -/* 084F58 800EBAA8 C4620008 */ lwc1 $f2, 8($v1) -/* 084F5C 800EBAAC C4A0002C */ lwc1 $f0, 0x2c($a1) -/* 084F60 800EBAB0 46001032 */ c.eq.s $f2, $f0 -/* 084F64 800EBAB4 00000000 */ nop -/* 084F68 800EBAB8 45000007 */ bc1f .L800EBAD8 -/* 084F6C 800EBABC 00000000 */ nop -/* 084F70 800EBAC0 C462000C */ lwc1 $f2, 0xc($v1) -/* 084F74 800EBAC4 C4A00030 */ lwc1 $f0, 0x30($a1) -/* 084F78 800EBAC8 46001032 */ c.eq.s $f2, $f0 -/* 084F7C 800EBACC 00000000 */ nop -/* 084F80 800EBAD0 45010019 */ bc1t .L800EBB38 -/* 084F84 800EBAD4 00000000 */ nop -.L800EBAD8: -/* 084F88 800EBAD8 3C048011 */ lui $a0, 0x8011 -/* 084F8C 800EBADC 2484CFB8 */ addiu $a0, $a0, -0x3048 -/* 084F90 800EBAE0 8C820000 */ lw $v0, ($a0) -/* 084F94 800EBAE4 3C038011 */ lui $v1, 0x8011 -/* 084F98 800EBAE8 8C63CFBC */ lw $v1, -0x3044($v1) -/* 084F9C 800EBAEC 24420001 */ addiu $v0, $v0, 1 -/* 084FA0 800EBAF0 10620011 */ beq $v1, $v0, .L800EBB38 -/* 084FA4 800EBAF4 00000000 */ nop -/* 084FA8 800EBAF8 AC820000 */ sw $v0, ($a0) -/* 084FAC 800EBAFC 28420028 */ slti $v0, $v0, 0x28 -/* 084FB0 800EBB00 50400001 */ beql $v0, $zero, .L800EBB08 -/* 084FB4 800EBB04 AC800000 */ sw $zero, ($a0) -.L800EBB08: -/* 084FB8 800EBB08 3C038011 */ lui $v1, 0x8011 -/* 084FBC 800EBB0C 2463CD38 */ addiu $v1, $v1, -0x32c8 -/* 084FC0 800EBB10 8C820000 */ lw $v0, ($a0) -/* 084FC4 800EBB14 C4A00028 */ lwc1 $f0, 0x28($a1) -/* 084FC8 800EBB18 00021100 */ sll $v0, $v0, 4 -/* 084FCC 800EBB1C 00431821 */ addu $v1, $v0, $v1 -/* 084FD0 800EBB20 E4600004 */ swc1 $f0, 4($v1) -/* 084FD4 800EBB24 C4A0002C */ lwc1 $f0, 0x2c($a1) -/* 084FD8 800EBB28 E4600008 */ swc1 $f0, 8($v1) -/* 084FDC 800EBB2C C4A00030 */ lwc1 $f0, 0x30($a1) -/* 084FE0 800EBB30 A0660000 */ sb $a2, ($v1) -/* 084FE4 800EBB34 E460000C */ swc1 $f0, 0xc($v1) -.L800EBB38: -/* 084FE8 800EBB38 03E00008 */ jr $ra -/* 084FEC 800EBB3C 00000000 */ nop - -/* 084FF0 800EBB40 3C028007 */ lui $v0, 0x8007 -/* 084FF4 800EBB44 8C42419C */ lw $v0, 0x419c($v0) -/* 084FF8 800EBB48 27BDFFE0 */ addiu $sp, $sp, -0x20 -/* 084FFC 800EBB4C AFB00010 */ sw $s0, 0x10($sp) -/* 085000 800EBB50 AFB20018 */ sw $s2, 0x18($sp) -/* 085004 800EBB54 3C128011 */ lui $s2, 0x8011 -/* 085008 800EBB58 2652EFC8 */ addiu $s2, $s2, -0x1038 -/* 08500C 800EBB5C AFBF001C */ sw $ra, 0x1c($sp) -/* 085010 800EBB60 AFB10014 */ sw $s1, 0x14($sp) -/* 085014 800EBB64 80420081 */ lb $v0, 0x81($v0) -/* 085018 800EBB68 3C118011 */ lui $s1, 0x8011 -/* 08501C 800EBB6C 2631EBB0 */ addiu $s1, $s1, -0x1450 -/* 085020 800EBB70 1040000B */ beqz $v0, .L800EBBA0 -/* 085024 800EBB74 0080802D */ daddu $s0, $a0, $zero -/* 085028 800EBB78 8E420000 */ lw $v0, ($s2) -/* 08502C 800EBB7C 30423000 */ andi $v0, $v0, 0x3000 -/* 085030 800EBB80 14400007 */ bnez $v0, .L800EBBA0 -/* 085034 800EBB84 00000000 */ nop -/* 085038 800EBB88 82220014 */ lb $v0, 0x14($s1) -/* 08503C 800EBB8C 14400004 */ bnez $v0, .L800EBBA0 -/* 085040 800EBB90 00000000 */ nop -/* 085044 800EBB94 82220002 */ lb $v0, 2($s1) -/* 085048 800EBB98 1040000B */ beqz $v0, .L800EBBC8 -/* 08504C 800EBB9C 00000000 */ nop -.L800EBBA0: -/* 085050 800EBBA0 8E420004 */ lw $v0, 4($s2) -/* 085054 800EBBA4 30420800 */ andi $v0, $v0, 0x800 -/* 085058 800EBBA8 14400003 */ bnez $v0, .L800EBBB8 -/* 08505C 800EBBAC 00000000 */ nop -/* 085060 800EBBB0 0C03AF1D */ jal func_800EBC74 -/* 085064 800EBBB4 0200202D */ daddu $a0, $s0, $zero -.L800EBBB8: -/* 085068 800EBBB8 8E22000C */ lw $v0, 0xc($s1) -/* 08506C 800EBBBC 30426006 */ andi $v0, $v0, 0x6006 -/* 085070 800EBBC0 54400001 */ bnel $v0, $zero, .L800EBBC8 -/* 085074 800EBBC4 A2200002 */ sb $zero, 2($s1) -.L800EBBC8: -/* 085078 800EBBC8 3C038011 */ lui $v1, 0x8011 -/* 08507C 800EBBCC 8463CFC8 */ lh $v1, -0x3038($v1) -/* 085080 800EBBD0 24020032 */ addiu $v0, $zero, 0x32 -/* 085084 800EBBD4 10620016 */ beq $v1, $v0, .L800EBC30 -/* 085088 800EBBD8 00000000 */ nop -/* 08508C 800EBBDC C600003C */ lwc1 $f0, 0x3c($s0) -/* 085090 800EBBE0 C642002C */ lwc1 $f2, 0x2c($s2) -/* 085094 800EBBE4 46020001 */ sub.s $f0, $f0, $f2 -/* 085098 800EBBE8 3C01447A */ lui $at, 0x447a -/* 08509C 800EBBEC 44811000 */ mtc1 $at, $f2 -/* 0850A0 800EBBF0 46000005 */ abs.s $f0, $f0 -/* 0850A4 800EBBF4 4600103C */ c.lt.s $f2, $f0 -/* 0850A8 800EBBF8 00000000 */ nop -/* 0850AC 800EBBFC 4500000C */ bc1f .L800EBC30 -/* 0850B0 800EBC00 2403F7FF */ addiu $v1, $zero, -0x801 -/* 0850B4 800EBC04 C6400028 */ lwc1 $f0, 0x28($s2) -/* 0850B8 800EBC08 8E020000 */ lw $v0, ($s0) -/* 0850BC 800EBC0C E6000038 */ swc1 $f0, 0x38($s0) -/* 0850C0 800EBC10 C640002C */ lwc1 $f0, 0x2c($s2) -/* 0850C4 800EBC14 E600003C */ swc1 $f0, 0x3c($s0) -/* 0850C8 800EBC18 C6400030 */ lwc1 $f0, 0x30($s2) -/* 0850CC 800EBC1C 00431024 */ and $v0, $v0, $v1 -/* 0850D0 800EBC20 AE00001C */ sw $zero, 0x1c($s0) -/* 0850D4 800EBC24 AE000014 */ sw $zero, 0x14($s0) -/* 0850D8 800EBC28 AE020000 */ sw $v0, ($s0) -/* 0850DC 800EBC2C E6000040 */ swc1 $f0, 0x40($s0) -.L800EBC30: -/* 0850E0 800EBC30 0C03BD90 */ jal func_800EF640 -/* 0850E4 800EBC34 0200202D */ daddu $a0, $s0, $zero -/* 0850E8 800EBC38 C6000038 */ lwc1 $f0, 0x38($s0) -/* 0850EC 800EBC3C C602003C */ lwc1 $f2, 0x3c($s0) -/* 0850F0 800EBC40 C6040040 */ lwc1 $f4, 0x40($s0) -/* 0850F4 800EBC44 8FBF001C */ lw $ra, 0x1c($sp) -/* 0850F8 800EBC48 8FB20018 */ lw $s2, 0x18($sp) -/* 0850FC 800EBC4C 8FB10014 */ lw $s1, 0x14($sp) -/* 085100 800EBC50 8FB00010 */ lw $s0, 0x10($sp) -/* 085104 800EBC54 3C018010 */ lui $at, 0x8010 -/* 085108 800EBC58 E420833C */ swc1 $f0, -0x7cc4($at) -/* 08510C 800EBC5C 3C018010 */ lui $at, 0x8010 -/* 085110 800EBC60 E4228340 */ swc1 $f2, -0x7cc0($at) -/* 085114 800EBC64 3C018010 */ lui $at, 0x8010 -/* 085118 800EBC68 E4248344 */ swc1 $f4, -0x7cbc($at) -/* 08511C 800EBC6C 03E00008 */ jr $ra -/* 085120 800EBC70 27BD0020 */ addiu $sp, $sp, 0x20 - -func_800EBC74: -/* 085124 800EBC74 3C038011 */ lui $v1, 0x8011 -/* 085128 800EBC78 8463CFC8 */ lh $v1, -0x3038($v1) -/* 08512C 800EBC7C 27BDFF98 */ addiu $sp, $sp, -0x68 -/* 085130 800EBC80 AFB1003C */ sw $s1, 0x3c($sp) -/* 085134 800EBC84 AFB30044 */ sw $s3, 0x44($sp) -/* 085138 800EBC88 3C138011 */ lui $s3, 0x8011 -/* 08513C 800EBC8C 2673EFC8 */ addiu $s3, $s3, -0x1038 -/* 085140 800EBC90 AFB5004C */ sw $s5, 0x4c($sp) -/* 085144 800EBC94 3C15800B */ lui $s5, 0x800b -/* 085148 800EBC98 26B51D80 */ addiu $s5, $s5, 0x1d80 -/* 08514C 800EBC9C AFBF0050 */ sw $ra, 0x50($sp) -/* 085150 800EBCA0 AFB40048 */ sw $s4, 0x48($sp) -/* 085154 800EBCA4 AFB20040 */ sw $s2, 0x40($sp) -/* 085158 800EBCA8 AFB00038 */ sw $s0, 0x38($sp) -/* 08515C 800EBCAC F7B60060 */ sdc1 $f22, 0x60($sp) -/* 085160 800EBCB0 F7B40058 */ sdc1 $f20, 0x58($sp) -/* 085164 800EBCB4 2C620033 */ sltiu $v0, $v1, 0x33 -/* 085168 800EBCB8 1040058A */ beqz $v0, .L800ED2E4 -/* 08516C 800EBCBC 0080882D */ daddu $s1, $a0, $zero -/* 085170 800EBCC0 00031080 */ sll $v0, $v1, 2 -/* 085174 800EBCC4 3C018011 */ lui $at, 0x8011 -/* 085178 800EBCC8 00220821 */ addu $at, $at, $v0 -/* 08517C 800EBCCC 8C22C148 */ lw $v0, -0x3eb8($at) -/* 085180 800EBCD0 00400008 */ jr $v0 -/* 085184 800EBCD4 00000000 */ nop -.L800EBCD8: -/* 085188 800EBCD8 C634000C */ lwc1 $f20, 0xc($s1) -/* 08518C 800EBCDC 3C038011 */ lui $v1, 0x8011 -/* 085190 800EBCE0 8C63CFD8 */ lw $v1, -0x3028($v1) -/* 085194 800EBCE4 AE200018 */ sw $zero, 0x18($s1) -/* 085198 800EBCE8 AE200014 */ sw $zero, 0x14($s1) -/* 08519C 800EBCEC 000310C0 */ sll $v0, $v1, 3 -/* 0851A0 800EBCF0 00431021 */ addu $v0, $v0, $v1 -/* 0851A4 800EBCF4 00021080 */ sll $v0, $v0, 2 -/* 0851A8 800EBCF8 3C038010 */ lui $v1, 0x8010 -/* 0851AC 800EBCFC 00621821 */ addu $v1, $v1, $v0 -/* 0851B0 800EBD00 8C63835C */ lw $v1, -0x7ca4($v1) -/* 0851B4 800EBD04 24020005 */ addiu $v0, $zero, 5 -/* 0851B8 800EBD08 3C018011 */ lui $at, 0x8011 -/* 0851BC 800EBD0C A422CFC8 */ sh $v0, -0x3038($at) -/* 0851C0 800EBD10 0803B005 */ j .L800EC014 -/* 0851C4 800EBD14 AE230028 */ sw $v1, 0x28($s1) - -/* 0851C8 800EBD18 3C038011 */ lui $v1, 0x8011 -/* 0851CC 800EBD1C 2463CD38 */ addiu $v1, $v1, -0x32c8 -/* 0851D0 800EBD20 C62C0038 */ lwc1 $f12, 0x38($s1) -/* 0851D4 800EBD24 C62E0040 */ lwc1 $f14, 0x40($s1) -/* 0851D8 800EBD28 3C028011 */ lui $v0, 0x8011 -/* 0851DC 800EBD2C 8C42CFBC */ lw $v0, -0x3044($v0) -/* 0851E0 800EBD30 3C014040 */ lui $at, 0x4040 -/* 0851E4 800EBD34 44810000 */ mtc1 $at, $f0 -/* 0851E8 800EBD38 C622003C */ lwc1 $f2, 0x3c($s1) -/* 0851EC 800EBD3C 00021100 */ sll $v0, $v0, 4 -/* 0851F0 800EBD40 00438021 */ addu $s0, $v0, $v1 -/* 0851F4 800EBD44 C6060004 */ lwc1 $f6, 4($s0) -/* 0851F8 800EBD48 C608000C */ lwc1 $f8, 0xc($s0) -/* 0851FC 800EBD4C E6200018 */ swc1 $f0, 0x18($s1) -/* 085200 800EBD50 46006006 */ mov.s $f0, $f12 -/* 085204 800EBD54 8E660028 */ lw $a2, 0x28($s3) -/* 085208 800EBD58 8E670030 */ lw $a3, 0x30($s3) -/* 08520C 800EBD5C 46007106 */ mov.s $f4, $f14 -/* 085210 800EBD60 E7A00028 */ swc1 $f0, 0x28($sp) -/* 085214 800EBD64 E7A2002C */ swc1 $f2, 0x2c($sp) -/* 085218 800EBD68 E7A40030 */ swc1 $f4, 0x30($sp) -/* 08521C 800EBD6C E7A60020 */ swc1 $f6, 0x20($sp) -/* 085220 800EBD70 0C00A7B5 */ jal dist2D -/* 085224 800EBD74 E7A80024 */ swc1 $f8, 0x24($sp) -/* 085228 800EBD78 3C014049 */ lui $at, 0x4049 -/* 08522C 800EBD7C 44811800 */ mtc1 $at, $f3 -/* 085230 800EBD80 44801000 */ mtc1 $zero, $f2 -/* 085234 800EBD84 E7A00034 */ swc1 $f0, 0x34($sp) -/* 085238 800EBD88 46000021 */ cvt.d.s $f0, $f0 -/* 08523C 800EBD8C 4620103E */ c.le.d $f2, $f0 -/* 085240 800EBD90 00000000 */ nop -/* 085244 800EBD94 4500000B */ bc1f .L800EBDC4 -/* 085248 800EBD98 3C030001 */ lui $v1, 1 -/* 08524C 800EBD9C 8E620004 */ lw $v0, 4($s3) -/* 085250 800EBDA0 3C0140E0 */ lui $at, 0x40e0 -/* 085254 800EBDA4 44810000 */ mtc1 $at, $f0 -/* 085258 800EBDA8 00431024 */ and $v0, $v0, $v1 -/* 08525C 800EBDAC 54400005 */ bnel $v0, $zero, .L800EBDC4 -/* 085260 800EBDB0 E6200018 */ swc1 $f0, 0x18($s1) -/* 085264 800EBDB4 3C0140A0 */ lui $at, 0x40a0 -/* 085268 800EBDB8 44810000 */ mtc1 $at, $f0 -/* 08526C 800EBDBC 00000000 */ nop -/* 085270 800EBDC0 E6200018 */ swc1 $f0, 0x18($s1) -.L800EBDC4: -/* 085274 800EBDC4 3C018011 */ lui $at, 0x8011 -/* 085278 800EBDC8 C420CFC0 */ lwc1 $f0, -0x3040($at) -/* 08527C 800EBDCC 3C014034 */ lui $at, 0x4034 -/* 085280 800EBDD0 44811800 */ mtc1 $at, $f3 -/* 085284 800EBDD4 44801000 */ mtc1 $zero, $f2 -/* 085288 800EBDD8 46000021 */ cvt.d.s $f0, $f0 -/* 08528C 800EBDDC 4622003C */ c.lt.d $f0, $f2 -/* 085290 800EBDE0 00000000 */ nop -/* 085294 800EBDE4 45000005 */ bc1f .L800EBDFC -/* 085298 800EBDE8 00000000 */ nop -/* 08529C 800EBDEC 3C014080 */ lui $at, 0x4080 -/* 0852A0 800EBDF0 44810000 */ mtc1 $at, $f0 -/* 0852A4 800EBDF4 00000000 */ nop -/* 0852A8 800EBDF8 E6200018 */ swc1 $f0, 0x18($s1) -.L800EBDFC: -/* 0852AC 800EBDFC 3C038011 */ lui $v1, 0x8011 -/* 0852B0 800EBE00 8C63CFD8 */ lw $v1, -0x3028($v1) -/* 0852B4 800EBE04 3C048010 */ lui $a0, 0x8010 -/* 0852B8 800EBE08 24848348 */ addiu $a0, $a0, -0x7cb8 -/* 0852BC 800EBE0C 000310C0 */ sll $v0, $v1, 3 -/* 0852C0 800EBE10 00431021 */ addu $v0, $v0, $v1 -/* 0852C4 800EBE14 00021080 */ sll $v0, $v0, 2 -/* 0852C8 800EBE18 00442021 */ addu $a0, $v0, $a0 -/* 0852CC 800EBE1C 8E220000 */ lw $v0, ($s1) -/* 0852D0 800EBE20 8C830018 */ lw $v1, 0x18($a0) -/* 0852D4 800EBE24 30421000 */ andi $v0, $v0, 0x1000 -/* 0852D8 800EBE28 14400003 */ bnez $v0, .L800EBE38 -/* 0852DC 800EBE2C AE230028 */ sw $v1, 0x28($s1) -/* 0852E0 800EBE30 8C82000C */ lw $v0, 0xc($a0) -/* 0852E4 800EBE34 AE220028 */ sw $v0, 0x28($s1) -.L800EBE38: -/* 0852E8 800EBE38 3C128011 */ lui $s2, 0x8011 -/* 0852EC 800EBE3C 2652CFBC */ addiu $s2, $s2, -0x3044 -/* 0852F0 800EBE40 3C148011 */ lui $s4, 0x8011 -/* 0852F4 800EBE44 2694CD38 */ addiu $s4, $s4, -0x32c8 -.L800EBE48: -/* 0852F8 800EBE48 C7AC0028 */ lwc1 $f12, 0x28($sp) -/* 0852FC 800EBE4C C7AE0030 */ lwc1 $f14, 0x30($sp) -/* 085300 800EBE50 8FA60020 */ lw $a2, 0x20($sp) -/* 085304 800EBE54 0C00A7B5 */ jal dist2D -/* 085308 800EBE58 8FA70024 */ lw $a3, 0x24($sp) -/* 08530C 800EBE5C C7AC0028 */ lwc1 $f12, 0x28($sp) -/* 085310 800EBE60 C7AE0030 */ lwc1 $f14, 0x30($sp) -/* 085314 800EBE64 8FA60020 */ lw $a2, 0x20($sp) -/* 085318 800EBE68 8FA70024 */ lw $a3, 0x24($sp) -/* 08531C 800EBE6C 0C00A720 */ jal atan2 -/* 085320 800EBE70 E7A00034 */ swc1 $f0, 0x34($sp) -/* 085324 800EBE74 C6240018 */ lwc1 $f4, 0x18($s1) -/* 085328 800EBE78 C7A20034 */ lwc1 $f2, 0x34($sp) -/* 08532C 800EBE7C 4602203C */ c.lt.s $f4, $f2 -/* 085330 800EBE80 00000000 */ nop -/* 085334 800EBE84 4500003B */ bc1f .L800EBF74 -/* 085338 800EBE88 46000506 */ mov.s $f20, $f0 -/* 08533C 800EBE8C C7AC0028 */ lwc1 $f12, 0x28($sp) -/* 085340 800EBE90 C7AE0030 */ lwc1 $f14, 0x30($sp) -/* 085344 800EBE94 8E660028 */ lw $a2, 0x28($s3) -/* 085348 800EBE98 0C00A7B5 */ jal dist2D -/* 08534C 800EBE9C 8E670030 */ lw $a3, 0x30($s3) -/* 085350 800EBEA0 3C014049 */ lui $at, 0x4049 -/* 085354 800EBEA4 44811800 */ mtc1 $at, $f3 -/* 085358 800EBEA8 44801000 */ mtc1 $zero, $f2 -/* 08535C 800EBEAC 46000106 */ mov.s $f4, $f0 -/* 085360 800EBEB0 E7A00034 */ swc1 $f0, 0x34($sp) -/* 085364 800EBEB4 46002021 */ cvt.d.s $f0, $f4 -/* 085368 800EBEB8 4620103E */ c.le.d $f2, $f0 -/* 08536C 800EBEBC 00000000 */ nop -/* 085370 800EBEC0 45010054 */ bc1t .L800EC014 -/* 085374 800EBEC4 00000000 */ nop -/* 085378 800EBEC8 3C018011 */ lui $at, 0x8011 -/* 08537C 800EBECC C426CFC0 */ lwc1 $f6, -0x3040($at) -/* 085380 800EBED0 4604303C */ c.lt.s $f6, $f4 -/* 085384 800EBED4 00000000 */ nop -/* 085388 800EBED8 4500001F */ bc1f .L800EBF58 -/* 08538C 800EBEDC 00000000 */ nop -/* 085390 800EBEE0 46062081 */ sub.s $f2, $f4, $f6 -/* 085394 800EBEE4 3C014008 */ lui $at, 0x4008 -/* 085398 800EBEE8 44810800 */ mtc1 $at, $f1 -/* 08539C 800EBEEC 44800000 */ mtc1 $zero, $f0 -/* 0853A0 800EBEF0 E6220018 */ swc1 $f2, 0x18($s1) -/* 0853A4 800EBEF4 460010A1 */ cvt.d.s $f2, $f2 -/* 0853A8 800EBEF8 4622003C */ c.lt.d $f0, $f2 -/* 0853AC 800EBEFC 00000000 */ nop -/* 0853B0 800EBF00 4500000D */ bc1f .L800EBF38 -/* 0853B4 800EBF04 00000000 */ nop -/* 0853B8 800EBF08 3C0141A0 */ lui $at, 0x41a0 -/* 0853BC 800EBF0C 44810000 */ mtc1 $at, $f0 -/* 0853C0 800EBF10 3C014040 */ lui $at, 0x4040 -/* 0853C4 800EBF14 44811000 */ mtc1 $at, $f2 -/* 0853C8 800EBF18 4600303C */ c.lt.s $f6, $f0 -/* 0853CC 800EBF1C 00000000 */ nop -/* 0853D0 800EBF20 4500003C */ bc1f .L800EC014 -/* 0853D4 800EBF24 E6220018 */ swc1 $f2, 0x18($s1) -/* 0853D8 800EBF28 3C014080 */ lui $at, 0x4080 -/* 0853DC 800EBF2C 44810000 */ mtc1 $at, $f0 -/* 0853E0 800EBF30 0803B005 */ j .L800EC014 -/* 0853E4 800EBF34 E6200018 */ swc1 $f0, 0x18($s1) - -.L800EBF38: -/* 0853E8 800EBF38 3C013FF0 */ lui $at, 0x3ff0 -/* 0853EC 800EBF3C 44810800 */ mtc1 $at, $f1 -/* 0853F0 800EBF40 44800000 */ mtc1 $zero, $f0 -/* 0853F4 800EBF44 00000000 */ nop -/* 0853F8 800EBF48 46201000 */ add.d $f0, $f2, $f0 -/* 0853FC 800EBF4C 46200020 */ cvt.s.d $f0, $f0 -/* 085400 800EBF50 0803B005 */ j .L800EC014 -/* 085404 800EBF54 E6200018 */ swc1 $f0, 0x18($s1) - -.L800EBF58: -/* 085408 800EBF58 C62C0038 */ lwc1 $f12, 0x38($s1) -/* 08540C 800EBF5C C62E0040 */ lwc1 $f14, 0x40($s1) -/* 085410 800EBF60 AE200018 */ sw $zero, 0x18($s1) -/* 085414 800EBF64 8E660028 */ lw $a2, 0x28($s3) -/* 085418 800EBF68 0C00A720 */ jal atan2 -/* 08541C 800EBF6C 8E670030 */ lw $a3, 0x30($s3) -/* 085420 800EBF70 E620000C */ swc1 $f0, 0xc($s1) -.L800EBF74: -/* 085424 800EBF74 8E430000 */ lw $v1, ($s2) -/* 085428 800EBF78 3C028011 */ lui $v0, 0x8011 -/* 08542C 800EBF7C 8C42CFB8 */ lw $v0, -0x3048($v0) -/* 085430 800EBF80 1062FF55 */ beq $v1, $v0, .L800EBCD8 -/* 085434 800EBF84 24620001 */ addiu $v0, $v1, 1 -/* 085438 800EBF88 AE420000 */ sw $v0, ($s2) -/* 08543C 800EBF8C 28420028 */ slti $v0, $v0, 0x28 -/* 085440 800EBF90 50400001 */ beql $v0, $zero, .L800EBF98 -/* 085444 800EBF94 AE400000 */ sw $zero, ($s2) -.L800EBF98: -/* 085448 800EBF98 C62C0038 */ lwc1 $f12, 0x38($s1) -/* 08544C 800EBF9C 8E420000 */ lw $v0, ($s2) -/* 085450 800EBFA0 C62E0040 */ lwc1 $f14, 0x40($s1) -/* 085454 800EBFA4 00021100 */ sll $v0, $v0, 4 -/* 085458 800EBFA8 00548021 */ addu $s0, $v0, $s4 -/* 08545C 800EBFAC C6000004 */ lwc1 $f0, 4($s0) -/* 085460 800EBFB0 C602000C */ lwc1 $f2, 0xc($s0) -/* 085464 800EBFB4 44060000 */ mfc1 $a2, $f0 -/* 085468 800EBFB8 44071000 */ mfc1 $a3, $f2 -/* 08546C 800EBFBC AFA60020 */ sw $a2, 0x20($sp) -/* 085470 800EBFC0 0C00A720 */ jal atan2 -/* 085474 800EBFC4 AFA70024 */ sw $a3, 0x24($sp) -/* 085478 800EBFC8 C62C000C */ lwc1 $f12, 0xc($s1) -/* 08547C 800EBFCC 0C00A70A */ jal get_clamped_angle_diff -/* 085480 800EBFD0 46000386 */ mov.s $f14, $f0 -/* 085484 800EBFD4 3C0142B4 */ lui $at, 0x42b4 -/* 085488 800EBFD8 44811000 */ mtc1 $at, $f2 -/* 08548C 800EBFDC 46000005 */ abs.s $f0, $f0 -/* 085490 800EBFE0 4600103C */ c.lt.s $f2, $f0 -/* 085494 800EBFE4 00000000 */ nop -/* 085498 800EBFE8 45010008 */ bc1t .L800EC00C -/* 08549C 800EBFEC 24020005 */ addiu $v0, $zero, 5 -/* 0854A0 800EBFF0 8E220000 */ lw $v0, ($s1) -/* 0854A4 800EBFF4 30421000 */ andi $v0, $v0, 0x1000 -/* 0854A8 800EBFF8 1040FF93 */ beqz $v0, .L800EBE48 -/* 0854AC 800EBFFC 00000000 */ nop -/* 0854B0 800EC000 82020000 */ lb $v0, ($s0) -/* 0854B4 800EC004 1040FF90 */ beqz $v0, .L800EBE48 -/* 0854B8 800EC008 24020001 */ addiu $v0, $zero, 1 -.L800EC00C: -/* 0854BC 800EC00C 3C018011 */ lui $at, 0x8011 -/* 0854C0 800EC010 A422CFC8 */ sh $v0, -0x3038($at) -.L800EC014: -/* 0854C4 800EC014 8E220000 */ lw $v0, ($s1) -/* 0854C8 800EC018 30421000 */ andi $v0, $v0, 0x1000 -/* 0854CC 800EC01C 14400008 */ bnez $v0, .L800EC040 -/* 0854D0 800EC020 00000000 */ nop -/* 0854D4 800EC024 C6200018 */ lwc1 $f0, 0x18($s1) -/* 0854D8 800EC028 3C013F00 */ lui $at, 0x3f00 -/* 0854DC 800EC02C 44811000 */ mtc1 $at, $f2 -/* 0854E0 800EC030 00000000 */ nop -/* 0854E4 800EC034 46020002 */ mul.s $f0, $f0, $f2 -/* 0854E8 800EC038 00000000 */ nop -/* 0854EC 800EC03C E6200018 */ swc1 $f0, 0x18($s1) -.L800EC040: -/* 0854F0 800EC040 8E250018 */ lw $a1, 0x18($s1) -/* 0854F4 800EC044 4406A000 */ mfc1 $a2, $f20 -/* 0854F8 800EC048 0220202D */ daddu $a0, $s1, $zero -/* 0854FC 800EC04C 0C00EA95 */ jal npc_move_heading -/* 085500 800EC050 AE26000C */ sw $a2, 0xc($s1) -/* 085504 800EC054 C6200018 */ lwc1 $f0, 0x18($s1) -/* 085508 800EC058 3C014010 */ lui $at, 0x4010 -/* 08550C 800EC05C 44811800 */ mtc1 $at, $f3 -/* 085510 800EC060 44801000 */ mtc1 $zero, $f2 -/* 085514 800EC064 46000021 */ cvt.d.s $f0, $f0 -/* 085518 800EC068 4622003C */ c.lt.d $f0, $f2 -/* 08551C 800EC06C 00000000 */ nop -/* 085520 800EC070 45000002 */ bc1f .L800EC07C -/* 085524 800EC074 24050001 */ addiu $a1, $zero, 1 -/* 085528 800EC078 0000282D */ daddu $a1, $zero, $zero -.L800EC07C: -/* 08552C 800EC07C 0C00F598 */ jal func_8003D660 -/* 085530 800EC080 0220202D */ daddu $a0, $s1, $zero -/* 085534 800EC084 86240084 */ lh $a0, 0x84($s1) -/* 085538 800EC088 0C016F6A */ jal get_collider_type_by_id -/* 08553C 800EC08C 00000000 */ nop -/* 085540 800EC090 2442FFFE */ addiu $v0, $v0, -2 -/* 085544 800EC094 2C420002 */ sltiu $v0, $v0, 2 -/* 085548 800EC098 14400005 */ bnez $v0, .L800EC0B0 -/* 08554C 800EC09C 24035000 */ addiu $v1, $zero, 0x5000 -/* 085550 800EC0A0 8E220000 */ lw $v0, ($s1) -/* 085554 800EC0A4 30425000 */ andi $v0, $v0, 0x5000 -/* 085558 800EC0A8 1443048E */ bne $v0, $v1, .L800ED2E4 -/* 08555C 800EC0AC 00000000 */ nop -.L800EC0B0: -/* 085560 800EC0B0 0C03A92C */ jal func_800EA4B0 -/* 085564 800EC0B4 86240086 */ lh $a0, 0x86($s1) -/* 085568 800EC0B8 14400488 */ bnez $v0, .L800ED2DC -/* 08556C 800EC0BC 24020001 */ addiu $v0, $zero, 1 -/* 085570 800EC0C0 3C038011 */ lui $v1, 0x8011 -/* 085574 800EC0C4 2463CFBC */ addiu $v1, $v1, -0x3044 -/* 085578 800EC0C8 8C620000 */ lw $v0, ($v1) -/* 08557C 800EC0CC 24420001 */ addiu $v0, $v0, 1 -/* 085580 800EC0D0 AC620000 */ sw $v0, ($v1) -/* 085584 800EC0D4 28420028 */ slti $v0, $v0, 0x28 -/* 085588 800EC0D8 50400001 */ beql $v0, $zero, .L800EC0E0 -/* 08558C 800EC0DC AC600000 */ sw $zero, ($v1) -.L800EC0E0: -/* 085590 800EC0E0 8C620000 */ lw $v0, ($v1) -/* 085594 800EC0E4 3C038011 */ lui $v1, 0x8011 -/* 085598 800EC0E8 2463CD38 */ addiu $v1, $v1, -0x32c8 -/* 08559C 800EC0EC C62C0038 */ lwc1 $f12, 0x38($s1) -/* 0855A0 800EC0F0 C62E0040 */ lwc1 $f14, 0x40($s1) -/* 0855A4 800EC0F4 00021100 */ sll $v0, $v0, 4 -/* 0855A8 800EC0F8 00438021 */ addu $s0, $v0, $v1 -/* 0855AC 800EC0FC C6000004 */ lwc1 $f0, 4($s0) -/* 0855B0 800EC100 C602000C */ lwc1 $f2, 0xc($s0) -/* 0855B4 800EC104 44060000 */ mfc1 $a2, $f0 -/* 0855B8 800EC108 44071000 */ mfc1 $a3, $f2 -/* 0855BC 800EC10C AFA60020 */ sw $a2, 0x20($sp) -/* 0855C0 800EC110 0C00A720 */ jal atan2 -/* 0855C4 800EC114 AFA70024 */ sw $a3, 0x24($sp) -/* 0855C8 800EC118 C62C000C */ lwc1 $f12, 0xc($s1) -/* 0855CC 800EC11C 0C00A70A */ jal get_clamped_angle_diff -/* 0855D0 800EC120 46000386 */ mov.s $f14, $f0 -/* 0855D4 800EC124 3C0142B4 */ lui $at, 0x42b4 -/* 0855D8 800EC128 44811000 */ mtc1 $at, $f2 -/* 0855DC 800EC12C 46000005 */ abs.s $f0, $f0 -/* 0855E0 800EC130 4600103C */ c.lt.s $f2, $f0 -/* 0855E4 800EC134 00000000 */ nop -/* 0855E8 800EC138 4500046A */ bc1f .L800ED2E4 -/* 0855EC 800EC13C 24020005 */ addiu $v0, $zero, 5 -/* 0855F0 800EC140 0803B4B7 */ j .L800ED2DC -/* 0855F4 800EC144 00000000 */ nop - -/* 0855F8 800EC148 0C016F6A */ jal get_collider_type_by_id -/* 0855FC 800EC14C 86240084 */ lh $a0, 0x84($s1) -/* 085600 800EC150 3C058011 */ lui $a1, 0x8011 -/* 085604 800EC154 24A5CFBC */ addiu $a1, $a1, -0x3044 -/* 085608 800EC158 8CA40000 */ lw $a0, ($a1) -/* 08560C 800EC15C 3C038011 */ lui $v1, 0x8011 -/* 085610 800EC160 8C63CFB8 */ lw $v1, -0x3048($v1) -/* 085614 800EC164 14830016 */ bne $a0, $v1, .L800EC1C0 -/* 085618 800EC168 0040902D */ daddu $s2, $v0, $zero -/* 08561C 800EC16C 2642FFFE */ addiu $v0, $s2, -2 -/* 085620 800EC170 2C420002 */ sltiu $v0, $v0, 2 -/* 085624 800EC174 1040045B */ beqz $v0, .L800ED2E4 -/* 085628 800EC178 00000000 */ nop -/* 08562C 800EC17C C674002C */ lwc1 $f20, 0x2c($s3) -/* 085630 800EC180 C62C0038 */ lwc1 $f12, 0x38($s1) -/* 085634 800EC184 C62E0040 */ lwc1 $f14, 0x40($s1) -/* 085638 800EC188 8E660028 */ lw $a2, 0x28($s3) -/* 08563C 800EC18C 8E670030 */ lw $a3, 0x30($s3) -/* 085640 800EC190 46006006 */ mov.s $f0, $f12 -/* 085644 800EC194 46007086 */ mov.s $f2, $f14 -/* 085648 800EC198 E7A00020 */ swc1 $f0, 0x20($sp) -/* 08564C 800EC19C 0C00A720 */ jal atan2 -/* 085650 800EC1A0 E7A20024 */ swc1 $f2, 0x24($sp) -/* 085654 800EC1A4 27A40020 */ addiu $a0, $sp, 0x20 -/* 085658 800EC1A8 3C0640C0 */ lui $a2, 0x40c0 -/* 08565C 800EC1AC 44070000 */ mfc1 $a3, $f0 -/* 085660 800EC1B0 0C00A7E7 */ jal add_vec2D_polar -/* 085664 800EC1B4 27A50024 */ addiu $a1, $sp, 0x24 -/* 085668 800EC1B8 0803B07F */ j .L800EC1FC -/* 08566C 800EC1BC 00000000 */ nop - -.L800EC1C0: -/* 085670 800EC1C0 24820001 */ addiu $v0, $a0, 1 -/* 085674 800EC1C4 ACA20000 */ sw $v0, ($a1) -/* 085678 800EC1C8 28420028 */ slti $v0, $v0, 0x28 -/* 08567C 800EC1CC 50400001 */ beql $v0, $zero, .L800EC1D4 -/* 085680 800EC1D0 ACA00000 */ sw $zero, ($a1) -.L800EC1D4: -/* 085684 800EC1D4 8CA20000 */ lw $v0, ($a1) -/* 085688 800EC1D8 3C038011 */ lui $v1, 0x8011 -/* 08568C 800EC1DC 2463CD38 */ addiu $v1, $v1, -0x32c8 -/* 085690 800EC1E0 00021100 */ sll $v0, $v0, 4 -/* 085694 800EC1E4 00438021 */ addu $s0, $v0, $v1 -/* 085698 800EC1E8 C6000004 */ lwc1 $f0, 4($s0) -/* 08569C 800EC1EC C6140008 */ lwc1 $f20, 8($s0) -/* 0856A0 800EC1F0 C602000C */ lwc1 $f2, 0xc($s0) -/* 0856A4 800EC1F4 E7A00020 */ swc1 $f0, 0x20($sp) -/* 0856A8 800EC1F8 E7A20024 */ swc1 $f2, 0x24($sp) -.L800EC1FC: -/* 0856AC 800EC1FC C7A00020 */ lwc1 $f0, 0x20($sp) -/* 0856B0 800EC200 C62C0038 */ lwc1 $f12, 0x38($s1) -/* 0856B4 800EC204 C62E0040 */ lwc1 $f14, 0x40($s1) -/* 0856B8 800EC208 3C0140C0 */ lui $at, 0x40c0 -/* 0856BC 800EC20C 44811000 */ mtc1 $at, $f2 -/* 0856C0 800EC210 E6200060 */ swc1 $f0, 0x60($s1) -/* 0856C4 800EC214 44060000 */ mfc1 $a2, $f0 -/* 0856C8 800EC218 C7A00024 */ lwc1 $f0, 0x24($sp) -/* 0856CC 800EC21C E6200068 */ swc1 $f0, 0x68($s1) -/* 0856D0 800EC220 44070000 */ mfc1 $a3, $f0 -/* 0856D4 800EC224 3C014040 */ lui $at, 0x4040 -/* 0856D8 800EC228 44810000 */ mtc1 $at, $f0 -/* 0856DC 800EC22C E6340064 */ swc1 $f20, 0x64($s1) -/* 0856E0 800EC230 A620008E */ sh $zero, 0x8e($s1) -/* 0856E4 800EC234 E6220018 */ swc1 $f2, 0x18($s1) -/* 0856E8 800EC238 0C00A7B5 */ jal dist2D -/* 0856EC 800EC23C E6200014 */ swc1 $f0, 0x14($s1) -/* 0856F0 800EC240 C62C0038 */ lwc1 $f12, 0x38($s1) -/* 0856F4 800EC244 C62E0040 */ lwc1 $f14, 0x40($s1) -/* 0856F8 800EC248 8E260060 */ lw $a2, 0x60($s1) -/* 0856FC 800EC24C 8E270068 */ lw $a3, 0x68($s1) -/* 085700 800EC250 0C00A720 */ jal atan2 -/* 085704 800EC254 E6200010 */ swc1 $f0, 0x10($s1) -/* 085708 800EC258 E620000C */ swc1 $f0, 0xc($s1) -/* 08570C 800EC25C C6200010 */ lwc1 $f0, 0x10($s1) -/* 085710 800EC260 3C014049 */ lui $at, 0x4049 -/* 085714 800EC264 44811800 */ mtc1 $at, $f3 -/* 085718 800EC268 44801000 */ mtc1 $zero, $f2 -/* 08571C 800EC26C 46000021 */ cvt.d.s $f0, $f0 -/* 085720 800EC270 4620103C */ c.lt.d $f2, $f0 -/* 085724 800EC274 00000000 */ nop -/* 085728 800EC278 45000005 */ bc1f .L800EC290 -/* 08572C 800EC27C 00000000 */ nop -/* 085730 800EC280 3C014248 */ lui $at, 0x4248 -/* 085734 800EC284 44810000 */ mtc1 $at, $f0 -/* 085738 800EC288 00000000 */ nop -/* 08573C 800EC28C E6200010 */ swc1 $f0, 0x10($s1) -.L800EC290: -/* 085740 800EC290 C6220064 */ lwc1 $f2, 0x64($s1) -/* 085744 800EC294 C620003C */ lwc1 $f0, 0x3c($s1) -/* 085748 800EC298 C6240010 */ lwc1 $f4, 0x10($s1) -/* 08574C 800EC29C 46001081 */ sub.s $f2, $f2, $f0 -/* 085750 800EC2A0 3C018011 */ lui $at, 0x8011 -/* 085754 800EC2A4 C420CFC0 */ lwc1 $f0, -0x3040($at) -/* 085758 800EC2A8 E7A40034 */ swc1 $f4, 0x34($sp) -/* 08575C 800EC2AC 4600203C */ c.lt.s $f4, $f0 -/* 085760 800EC2B0 00000000 */ nop -/* 085764 800EC2B4 45000010 */ bc1f .L800EC2F8 -/* 085768 800EC2B8 E7A2002C */ swc1 $f2, 0x2c($sp) -/* 08576C 800EC2BC 2642FFFE */ addiu $v0, $s2, -2 -/* 085770 800EC2C0 2C420002 */ sltiu $v0, $v0, 2 -/* 085774 800EC2C4 1440000C */ bnez $v0, .L800EC2F8 -/* 085778 800EC2C8 00000000 */ nop -/* 08577C 800EC2CC C62C0038 */ lwc1 $f12, 0x38($s1) -/* 085780 800EC2D0 C62E0040 */ lwc1 $f14, 0x40($s1) -/* 085784 800EC2D4 AE20001C */ sw $zero, 0x1c($s1) -/* 085788 800EC2D8 8E660028 */ lw $a2, 0x28($s3) -/* 08578C 800EC2DC 0C00A720 */ jal atan2 -/* 085790 800EC2E0 8E670030 */ lw $a3, 0x30($s3) -/* 085794 800EC2E4 E620000C */ swc1 $f0, 0xc($s1) -.L800EC2E8: -/* 085798 800EC2E8 3C018011 */ lui $at, 0x8011 -/* 08579C 800EC2EC A420CFC8 */ sh $zero, -0x3038($at) -/* 0857A0 800EC2F0 0803B4B9 */ j .L800ED2E4 -/* 0857A4 800EC2F4 00000000 */ nop - -.L800EC2F8: -/* 0857A8 800EC2F8 C6220018 */ lwc1 $f2, 0x18($s1) -/* 0857AC 800EC2FC C7A00034 */ lwc1 $f0, 0x34($sp) -/* 0857B0 800EC300 46020003 */ div.s $f0, $f0, $f2 -/* 0857B4 800EC304 4600028D */ trunc.w.s $f10, $f0 -/* 0857B8 800EC308 44025000 */ mfc1 $v0, $f10 -/* 0857BC 800EC30C 00000000 */ nop -/* 0857C0 800EC310 A622008E */ sh $v0, 0x8e($s1) -/* 0857C4 800EC314 00021400 */ sll $v0, $v0, 0x10 -/* 0857C8 800EC318 00021403 */ sra $v0, $v0, 0x10 -/* 0857CC 800EC31C 2842000A */ slti $v0, $v0, 0xa -/* 0857D0 800EC320 10400002 */ beqz $v0, .L800EC32C -/* 0857D4 800EC324 2402000A */ addiu $v0, $zero, 0xa -/* 0857D8 800EC328 A622008E */ sh $v0, 0x8e($s1) -.L800EC32C: -/* 0857DC 800EC32C 8622008E */ lh $v0, 0x8e($s1) -/* 0857E0 800EC330 C6220014 */ lwc1 $f2, 0x14($s1) -/* 0857E4 800EC334 44823000 */ mtc1 $v0, $f6 -/* 0857E8 800EC338 00000000 */ nop -/* 0857EC 800EC33C 468031A0 */ cvt.s.w $f6, $f6 -/* 0857F0 800EC340 46061082 */ mul.s $f2, $f2, $f6 -/* 0857F4 800EC344 00000000 */ nop -/* 0857F8 800EC348 46061082 */ mul.s $f2, $f2, $f6 -/* 0857FC 800EC34C 00000000 */ nop -/* 085800 800EC350 3C013F00 */ lui $at, 0x3f00 -/* 085804 800EC354 44810000 */ mtc1 $at, $f0 -/* 085808 800EC358 00000000 */ nop -/* 08580C 800EC35C 46001082 */ mul.s $f2, $f2, $f0 -/* 085810 800EC360 00000000 */ nop -/* 085814 800EC364 C7A4002C */ lwc1 $f4, 0x2c($sp) -/* 085818 800EC368 C6200010 */ lwc1 $f0, 0x10($s1) -/* 08581C 800EC36C 46003206 */ mov.s $f8, $f6 -/* 085820 800EC370 46080003 */ div.s $f0, $f0, $f8 -/* 085824 800EC374 46022100 */ add.s $f4, $f4, $f2 -/* 085828 800EC378 E6200018 */ swc1 $f0, 0x18($s1) -/* 08582C 800EC37C 3C014034 */ lui $at, 0x4034 -/* 085830 800EC380 44811800 */ mtc1 $at, $f3 -/* 085834 800EC384 44801000 */ mtc1 $zero, $f2 -/* 085838 800EC388 46062103 */ div.s $f4, $f4, $f6 -/* 08583C 800EC38C 46002021 */ cvt.d.s $f0, $f4 -/* 085840 800EC390 4620103C */ c.lt.d $f2, $f0 -/* 085844 800EC394 00000000 */ nop -/* 085848 800EC398 45000005 */ bc1f .L800EC3B0 -/* 08584C 800EC39C E624001C */ swc1 $f4, 0x1c($s1) -/* 085850 800EC3A0 3C0141A0 */ lui $at, 0x41a0 -/* 085854 800EC3A4 44810000 */ mtc1 $at, $f0 -/* 085858 800EC3A8 00000000 */ nop -/* 08585C 800EC3AC E620001C */ swc1 $f0, 0x1c($s1) -.L800EC3B0: -/* 085860 800EC3B0 C620001C */ lwc1 $f0, 0x1c($s1) -/* 085864 800EC3B4 44801000 */ mtc1 $zero, $f2 -/* 085868 800EC3B8 44801800 */ mtc1 $zero, $f3 -/* 08586C 800EC3BC 46000021 */ cvt.d.s $f0, $f0 -/* 085870 800EC3C0 4622003C */ c.lt.d $f0, $f2 -/* 085874 800EC3C4 00000000 */ nop -/* 085878 800EC3C8 45030001 */ bc1tl .L800EC3D0 -/* 08587C 800EC3CC AE20001C */ sw $zero, 0x1c($s1) -.L800EC3D0: -/* 085880 800EC3D0 2642FFFE */ addiu $v0, $s2, -2 -/* 085884 800EC3D4 2C420002 */ sltiu $v0, $v0, 2 -/* 085888 800EC3D8 1440000B */ bnez $v0, .L800EC408 -/* 08588C 800EC3DC 00000000 */ nop -/* 085890 800EC3E0 3C028011 */ lui $v0, 0x8011 -/* 085894 800EC3E4 8C42CFD8 */ lw $v0, -0x3028($v0) -/* 085898 800EC3E8 000218C0 */ sll $v1, $v0, 3 -/* 08589C 800EC3EC 00621821 */ addu $v1, $v1, $v0 -/* 0858A0 800EC3F0 00031880 */ sll $v1, $v1, 2 -/* 0858A4 800EC3F4 3C028010 */ lui $v0, 0x8010 -/* 0858A8 800EC3F8 00431021 */ addu $v0, $v0, $v1 -/* 0858AC 800EC3FC 8C428350 */ lw $v0, -0x7cb0($v0) -/* 0858B0 800EC400 0803B10B */ j .L800EC42C -/* 0858B4 800EC404 AE220028 */ sw $v0, 0x28($s1) - -.L800EC408: -/* 0858B8 800EC408 3C028011 */ lui $v0, 0x8011 -/* 0858BC 800EC40C 8C42CFD8 */ lw $v0, -0x3028($v0) -/* 0858C0 800EC410 000218C0 */ sll $v1, $v0, 3 -/* 0858C4 800EC414 00621821 */ addu $v1, $v1, $v0 -/* 0858C8 800EC418 00031880 */ sll $v1, $v1, 2 -/* 0858CC 800EC41C 3C028010 */ lui $v0, 0x8010 -/* 0858D0 800EC420 00431021 */ addu $v0, $v0, $v1 -/* 0858D4 800EC424 8C428368 */ lw $v0, -0x7c98($v0) -/* 0858D8 800EC428 AE220028 */ sw $v0, 0x28($s1) -.L800EC42C: -/* 0858DC 800EC42C C6200038 */ lwc1 $f0, 0x38($s1) -/* 0858E0 800EC430 C622003C */ lwc1 $f2, 0x3c($s1) -/* 0858E4 800EC434 C6240040 */ lwc1 $f4, 0x40($s1) -/* 0858E8 800EC438 8E230000 */ lw $v1, ($s1) -/* 0858EC 800EC43C 24020002 */ addiu $v0, $zero, 2 -/* 0858F0 800EC440 3C018011 */ lui $at, 0x8011 -/* 0858F4 800EC444 A422CFC8 */ sh $v0, -0x3038($at) -/* 0858F8 800EC448 34630800 */ ori $v1, $v1, 0x800 -/* 0858FC 800EC44C E6200060 */ swc1 $f0, 0x60($s1) -/* 085900 800EC450 E6220064 */ swc1 $f2, 0x64($s1) -/* 085904 800EC454 E6240068 */ swc1 $f4, 0x68($s1) -/* 085908 800EC458 AE230000 */ sw $v1, ($s1) -/* 08590C 800EC45C C620001C */ lwc1 $f0, 0x1c($s1) -/* 085910 800EC460 C6220014 */ lwc1 $f2, 0x14($s1) -/* 085914 800EC464 46020001 */ sub.s $f0, $f0, $f2 -/* 085918 800EC468 C622003C */ lwc1 $f2, 0x3c($s1) -/* 08591C 800EC46C 46001080 */ add.s $f2, $f2, $f0 -/* 085920 800EC470 4480A000 */ mtc1 $zero, $f20 -/* 085924 800EC474 00000000 */ nop -/* 085928 800EC478 4614003E */ c.le.s $f0, $f20 -/* 08592C 800EC47C E620001C */ swc1 $f0, 0x1c($s1) -/* 085930 800EC480 4500000A */ bc1f .L800EC4AC -/* 085934 800EC484 E622003C */ swc1 $f2, 0x3c($s1) -/* 085938 800EC488 3C028011 */ lui $v0, 0x8011 -/* 08593C 800EC48C 8C42CFD8 */ lw $v0, -0x3028($v0) -/* 085940 800EC490 000218C0 */ sll $v1, $v0, 3 -/* 085944 800EC494 00621821 */ addu $v1, $v1, $v0 -/* 085948 800EC498 00031880 */ sll $v1, $v1, 2 -/* 08594C 800EC49C 3C028010 */ lui $v0, 0x8010 -/* 085950 800EC4A0 00431021 */ addu $v0, $v0, $v1 -/* 085954 800EC4A4 8C428354 */ lw $v0, -0x7cac($v0) -/* 085958 800EC4A8 AE220028 */ sw $v0, 0x28($s1) -.L800EC4AC: -/* 08595C 800EC4AC C622003C */ lwc1 $f2, 0x3c($s1) -/* 085960 800EC4B0 3C01C4FA */ lui $at, 0xc4fa -/* 085964 800EC4B4 44810000 */ mtc1 $at, $f0 -/* 085968 800EC4B8 00000000 */ nop -/* 08596C 800EC4BC 4600103C */ c.lt.s $f2, $f0 -/* 085970 800EC4C0 00000000 */ nop -/* 085974 800EC4C4 4500001B */ bc1f .L800EC534 -/* 085978 800EC4C8 2404F7FF */ addiu $a0, $zero, -0x801 -/* 08597C 800EC4CC C62C0038 */ lwc1 $f12, 0x38($s1) -/* 085980 800EC4D0 3C028011 */ lui $v0, 0x8011 -/* 085984 800EC4D4 8C42CFD8 */ lw $v0, -0x3028($v0) -/* 085988 800EC4D8 C62E0040 */ lwc1 $f14, 0x40($s1) -/* 08598C 800EC4DC 000218C0 */ sll $v1, $v0, 3 -/* 085990 800EC4E0 00621821 */ addu $v1, $v1, $v0 -/* 085994 800EC4E4 00031880 */ sll $v1, $v1, 2 -/* 085998 800EC4E8 8E220000 */ lw $v0, ($s1) -/* 08599C 800EC4EC 3C018010 */ lui $at, 0x8010 -/* 0859A0 800EC4F0 00230821 */ addu $at, $at, $v1 -/* 0859A4 800EC4F4 8C238358 */ lw $v1, -0x7ca8($at) -/* 0859A8 800EC4F8 E634001C */ swc1 $f20, 0x1c($s1) -/* 0859AC 800EC4FC 00441024 */ and $v0, $v0, $a0 -/* 0859B0 800EC500 AE220000 */ sw $v0, ($s1) -/* 0859B4 800EC504 AE230028 */ sw $v1, 0x28($s1) -/* 0859B8 800EC508 8E660028 */ lw $a2, 0x28($s3) -/* 0859BC 800EC50C 0C00A720 */ jal atan2 -/* 0859C0 800EC510 8E670030 */ lw $a3, 0x30($s3) -/* 0859C4 800EC514 E620000C */ swc1 $f0, 0xc($s1) -/* 0859C8 800EC518 C6600028 */ lwc1 $f0, 0x28($s3) -/* 0859CC 800EC51C E6200038 */ swc1 $f0, 0x38($s1) -/* 0859D0 800EC520 C660002C */ lwc1 $f0, 0x2c($s3) -/* 0859D4 800EC524 E620003C */ swc1 $f0, 0x3c($s1) -/* 0859D8 800EC528 C6600030 */ lwc1 $f0, 0x30($s3) -/* 0859DC 800EC52C 0803B47C */ j .L800ED1F0 -/* 0859E0 800EC530 24020005 */ addiu $v0, $zero, 5 - -.L800EC534: -/* 0859E4 800EC534 C624001C */ lwc1 $f4, 0x1c($s1) -/* 0859E8 800EC538 4614203E */ c.le.s $f4, $f20 -/* 0859EC 800EC53C 00000000 */ nop -/* 0859F0 800EC540 45000068 */ bc1f .L800EC6E4 -/* 0859F4 800EC544 27A50028 */ addiu $a1, $sp, 0x28 -/* 0859F8 800EC548 27A20034 */ addiu $v0, $sp, 0x34 -/* 0859FC 800EC54C C6200038 */ lwc1 $f0, 0x38($s1) -/* 085A00 800EC550 3C014130 */ lui $at, 0x4130 -/* 085A04 800EC554 44811000 */ mtc1 $at, $f2 -/* 085A08 800EC558 27A6002C */ addiu $a2, $sp, 0x2c -/* 085A0C 800EC55C E7A00028 */ swc1 $f0, 0x28($sp) -/* 085A10 800EC560 46002005 */ abs.s $f0, $f4 -/* 085A14 800EC564 46020000 */ add.s $f0, $f0, $f2 -/* 085A18 800EC568 C622003C */ lwc1 $f2, 0x3c($s1) -/* 085A1C 800EC56C C6240040 */ lwc1 $f4, 0x40($s1) -/* 085A20 800EC570 46001080 */ add.s $f2, $f2, $f0 -/* 085A24 800EC574 E7A40030 */ swc1 $f4, 0x30($sp) -/* 085A28 800EC578 E7A00034 */ swc1 $f0, 0x34($sp) -/* 085A2C 800EC57C E7A2002C */ swc1 $f2, 0x2c($sp) -/* 085A30 800EC580 AFA20010 */ sw $v0, 0x10($sp) -/* 085A34 800EC584 C620000C */ lwc1 $f0, 0xc($s1) -/* 085A38 800EC588 27A70030 */ addiu $a3, $sp, 0x30 -/* 085A3C 800EC58C E7A00014 */ swc1 $f0, 0x14($sp) -/* 085A40 800EC590 862200A6 */ lh $v0, 0xa6($s1) -/* 085A44 800EC594 26320038 */ addiu $s2, $s1, 0x38 -/* 085A48 800EC598 44820000 */ mtc1 $v0, $f0 -/* 085A4C 800EC59C 00000000 */ nop -/* 085A50 800EC5A0 46800020 */ cvt.s.w $f0, $f0 -/* 085A54 800EC5A4 E7A00018 */ swc1 $f0, 0x18($sp) -/* 085A58 800EC5A8 8E240080 */ lw $a0, 0x80($s1) -/* 085A5C 800EC5AC 0C0371DE */ jal func_800DC778 -/* 085A60 800EC5B0 26340040 */ addiu $s4, $s1, 0x40 -/* 085A64 800EC5B4 1040004B */ beqz $v0, .L800EC6E4 -/* 085A68 800EC5B8 00000000 */ nop -/* 085A6C 800EC5BC C620001C */ lwc1 $f0, 0x1c($s1) -/* 085A70 800EC5C0 3C0141B0 */ lui $at, 0x41b0 -/* 085A74 800EC5C4 44811000 */ mtc1 $at, $f2 -/* 085A78 800EC5C8 46000005 */ abs.s $f0, $f0 -/* 085A7C 800EC5CC 46020000 */ add.s $f0, $f0, $f2 -/* 085A80 800EC5D0 C7A20034 */ lwc1 $f2, 0x34($sp) -/* 085A84 800EC5D4 4600103E */ c.le.s $f2, $f0 -/* 085A88 800EC5D8 00000000 */ nop -/* 085A8C 800EC5DC 45000041 */ bc1f .L800EC6E4 -/* 085A90 800EC5E0 00000000 */ nop -/* 085A94 800EC5E4 C7AC0028 */ lwc1 $f12, 0x28($sp) -/* 085A98 800EC5E8 3C038011 */ lui $v1, 0x8011 -/* 085A9C 800EC5EC 8C63CFD8 */ lw $v1, -0x3028($v1) -/* 085AA0 800EC5F0 C7AE0030 */ lwc1 $f14, 0x30($sp) -/* 085AA4 800EC5F4 C7A0002C */ lwc1 $f0, 0x2c($sp) -/* 085AA8 800EC5F8 000310C0 */ sll $v0, $v1, 3 -/* 085AAC 800EC5FC 00431021 */ addu $v0, $v0, $v1 -/* 085AB0 800EC600 00021080 */ sll $v0, $v0, 2 -/* 085AB4 800EC604 3C048010 */ lui $a0, 0x8010 -/* 085AB8 800EC608 00822021 */ addu $a0, $a0, $v0 -/* 085ABC 800EC60C 8C848358 */ lw $a0, -0x7ca8($a0) -/* 085AC0 800EC610 8E220000 */ lw $v0, ($s1) -/* 085AC4 800EC614 2403F7FF */ addiu $v1, $zero, -0x801 -/* 085AC8 800EC618 E634001C */ swc1 $f20, 0x1c($s1) -/* 085ACC 800EC61C E620003C */ swc1 $f0, 0x3c($s1) -/* 085AD0 800EC620 00431024 */ and $v0, $v0, $v1 -/* 085AD4 800EC624 AE220000 */ sw $v0, ($s1) -/* 085AD8 800EC628 AE240028 */ sw $a0, 0x28($s1) -/* 085ADC 800EC62C 8E660028 */ lw $a2, 0x28($s3) -/* 085AE0 800EC630 0C00A720 */ jal atan2 -/* 085AE4 800EC634 8E670030 */ lw $a3, 0x30($s3) -/* 085AE8 800EC638 0220202D */ daddu $a0, $s1, $zero -/* 085AEC 800EC63C 24050002 */ addiu $a1, $zero, 2 -/* 085AF0 800EC640 0C00F598 */ jal func_8003D660 -/* 085AF4 800EC644 E620000C */ swc1 $f0, 0xc($s1) -/* 085AF8 800EC648 C62C0038 */ lwc1 $f12, 0x38($s1) -/* 085AFC 800EC64C C62E0040 */ lwc1 $f14, 0x40($s1) -/* 085B00 800EC650 8E260060 */ lw $a2, 0x60($s1) -/* 085B04 800EC654 8E270068 */ lw $a3, 0x68($s1) -/* 085B08 800EC658 3C108011 */ lui $s0, 0x8011 -/* 085B0C 800EC65C 2610CFC8 */ addiu $s0, $s0, -0x3038 -/* 085B10 800EC660 0C00A7B5 */ jal dist2D -/* 085B14 800EC664 A6000000 */ sh $zero, ($s0) -/* 085B18 800EC668 3C014014 */ lui $at, 0x4014 -/* 085B1C 800EC66C 44811800 */ mtc1 $at, $f3 -/* 085B20 800EC670 44801000 */ mtc1 $zero, $f2 -/* 085B24 800EC674 E7A00034 */ swc1 $f0, 0x34($sp) -/* 085B28 800EC678 46000021 */ cvt.d.s $f0, $f0 -/* 085B2C 800EC67C 4622003C */ c.lt.d $f0, $f2 -/* 085B30 800EC680 00000000 */ nop -/* 085B34 800EC684 45000317 */ bc1f .L800ED2E4 -/* 085B38 800EC688 00000000 */ nop -/* 085B3C 800EC68C C6600028 */ lwc1 $f0, 0x28($s3) -/* 085B40 800EC690 E6200038 */ swc1 $f0, 0x38($s1) -/* 085B44 800EC694 C660002C */ lwc1 $f0, 0x2c($s3) -/* 085B48 800EC698 E620003C */ swc1 $f0, 0x3c($s1) -/* 085B4C 800EC69C C6600030 */ lwc1 $f0, 0x30($s3) -/* 085B50 800EC6A0 E6200040 */ swc1 $f0, 0x40($s1) -/* 085B54 800EC6A4 C6AC006C */ lwc1 $f12, 0x6c($s5) -/* 085B58 800EC6A8 3C0142B4 */ lui $at, 0x42b4 -/* 085B5C 800EC6AC 44810000 */ mtc1 $at, $f0 -/* 085B60 800EC6B0 00000000 */ nop -/* 085B64 800EC6B4 46006300 */ add.s $f12, $f12, $f0 -/* 085B68 800EC6B8 C66000A8 */ lwc1 $f0, 0xa8($s3) -/* 085B6C 800EC6BC 0C00A6C9 */ jal clamp_angle -/* 085B70 800EC6C0 46006301 */ sub.s $f12, $f12, $f0 -/* 085B74 800EC6C4 0240202D */ daddu $a0, $s2, $zero -/* 085B78 800EC6C8 3C0640A0 */ lui $a2, 0x40a0 -/* 085B7C 800EC6CC 44070000 */ mfc1 $a3, $f0 -/* 085B80 800EC6D0 0C00A7E7 */ jal add_vec2D_polar -/* 085B84 800EC6D4 0280282D */ daddu $a1, $s4, $zero -/* 085B88 800EC6D8 24020005 */ addiu $v0, $zero, 5 -/* 085B8C 800EC6DC 0803B4B9 */ j .L800ED2E4 -/* 085B90 800EC6E0 A6020000 */ sh $v0, ($s0) - -.L800EC6E4: -/* 085B94 800EC6E4 8E250018 */ lw $a1, 0x18($s1) -/* 085B98 800EC6E8 8E26000C */ lw $a2, 0xc($s1) -/* 085B9C 800EC6EC 0C00EA95 */ jal npc_move_heading -/* 085BA0 800EC6F0 0220202D */ daddu $a0, $s1, $zero -/* 085BA4 800EC6F4 0803B4B9 */ j .L800ED2E4 -/* 085BA8 800EC6F8 00000000 */ nop - -/* 085BAC 800EC6FC 3C038011 */ lui $v1, 0x8011 -/* 085BB0 800EC700 2463CD38 */ addiu $v1, $v1, -0x32c8 -/* 085BB4 800EC704 C62C0038 */ lwc1 $f12, 0x38($s1) -/* 085BB8 800EC708 C62E0040 */ lwc1 $f14, 0x40($s1) -/* 085BBC 800EC70C 8E660028 */ lw $a2, 0x28($s3) -/* 085BC0 800EC710 8E670030 */ lw $a3, 0x30($s3) -/* 085BC4 800EC714 3C028011 */ lui $v0, 0x8011 -/* 085BC8 800EC718 8C42CFBC */ lw $v0, -0x3044($v0) -/* 085BCC 800EC71C C620003C */ lwc1 $f0, 0x3c($s1) -/* 085BD0 800EC720 00021100 */ sll $v0, $v0, 4 -/* 085BD4 800EC724 00438021 */ addu $s0, $v0, $v1 -/* 085BD8 800EC728 46006106 */ mov.s $f4, $f12 -/* 085BDC 800EC72C C6060004 */ lwc1 $f6, 4($s0) -/* 085BE0 800EC730 C608000C */ lwc1 $f8, 0xc($s0) -/* 085BE4 800EC734 46007086 */ mov.s $f2, $f14 -/* 085BE8 800EC738 E7A40028 */ swc1 $f4, 0x28($sp) -/* 085BEC 800EC73C E7A0002C */ swc1 $f0, 0x2c($sp) -/* 085BF0 800EC740 E7A20030 */ swc1 $f2, 0x30($sp) -/* 085BF4 800EC744 E7A60020 */ swc1 $f6, 0x20($sp) -/* 085BF8 800EC748 0C00A7B5 */ jal dist2D -/* 085BFC 800EC74C E7A80024 */ swc1 $f8, 0x24($sp) -/* 085C00 800EC750 3C018011 */ lui $at, 0x8011 -/* 085C04 800EC754 C422CFC0 */ lwc1 $f2, -0x3040($at) -/* 085C08 800EC758 4602003E */ c.le.s $f0, $f2 -/* 085C0C 800EC75C 00000000 */ nop -/* 085C10 800EC760 450000E3 */ bc1f .L800ECAF0 -/* 085C14 800EC764 E7A00034 */ swc1 $f0, 0x34($sp) -/* 085C18 800EC768 3C048011 */ lui $a0, 0x8011 -/* 085C1C 800EC76C 2484CFCA */ addiu $a0, $a0, -0x3036 -/* 085C20 800EC770 84820000 */ lh $v0, ($a0) -/* 085C24 800EC774 14400019 */ bnez $v0, .L800EC7DC -/* 085C28 800EC778 00000000 */ nop -/* 085C2C 800EC77C 3C038011 */ lui $v1, 0x8011 -/* 085C30 800EC780 8C63CFD8 */ lw $v1, -0x3028($v1) -/* 085C34 800EC784 AE200018 */ sw $zero, 0x18($s1) -/* 085C38 800EC788 AE200014 */ sw $zero, 0x14($s1) -/* 085C3C 800EC78C 000310C0 */ sll $v0, $v1, 3 -/* 085C40 800EC790 00431021 */ addu $v0, $v0, $v1 -/* 085C44 800EC794 00021080 */ sll $v0, $v0, 2 -/* 085C48 800EC798 3C018010 */ lui $at, 0x8010 -/* 085C4C 800EC79C 00220821 */ addu $at, $at, $v0 -/* 085C50 800EC7A0 8C22835C */ lw $v0, -0x7ca4($at) -/* 085C54 800EC7A4 AE220028 */ sw $v0, 0x28($s1) -/* 085C58 800EC7A8 826300B4 */ lb $v1, 0xb4($s3) -/* 085C5C 800EC7AC 2402000C */ addiu $v0, $zero, 0xc -/* 085C60 800EC7B0 50620001 */ beql $v1, $v0, .L800EC7B8 -/* 085C64 800EC7B4 A4800000 */ sh $zero, ($a0) -.L800EC7B8: -/* 085C68 800EC7B8 86240084 */ lh $a0, 0x84($s1) -/* 085C6C 800EC7BC 0C016F6A */ jal get_collider_type_by_id -/* 085C70 800EC7C0 00000000 */ nop -/* 085C74 800EC7C4 2442FFFE */ addiu $v0, $v0, -2 -/* 085C78 800EC7C8 2C420002 */ sltiu $v0, $v0, 2 -/* 085C7C 800EC7CC 104000C8 */ beqz $v0, .L800ECAF0 -/* 085C80 800EC7D0 00000000 */ nop -/* 085C84 800EC7D4 0803B0BA */ j .L800EC2E8 -/* 085C88 800EC7D8 00000000 */ nop - -.L800EC7DC: -/* 085C8C 800EC7DC C66200A8 */ lwc1 $f2, 0xa8($s3) -/* 085C90 800EC7E0 3C014334 */ lui $at, 0x4334 -/* 085C94 800EC7E4 44810000 */ mtc1 $at, $f0 -/* 085C98 800EC7E8 C6AC006C */ lwc1 $f12, 0x6c($s5) -/* 085C9C 800EC7EC 4600103C */ c.lt.s $f2, $f0 -/* 085CA0 800EC7F0 3C01C2B4 */ lui $at, 0xc2b4 -/* 085CA4 800EC7F4 44810000 */ mtc1 $at, $f0 -/* 085CA8 800EC7F8 45000003 */ bc1f .L800EC808 -/* 085CAC 800EC7FC 00000000 */ nop -/* 085CB0 800EC800 3C0142B4 */ lui $at, 0x42b4 -/* 085CB4 800EC804 44810000 */ mtc1 $at, $f0 -.L800EC808: -/* 085CB8 800EC808 0C00A6C9 */ jal clamp_angle -/* 085CBC 800EC80C 46006300 */ add.s $f12, $f12, $f0 -/* 085CC0 800EC810 44070000 */ mfc1 $a3, $f0 -/* 085CC4 800EC814 C6600028 */ lwc1 $f0, 0x28($s3) -/* 085CC8 800EC818 3C018011 */ lui $at, 0x8011 -/* 085CCC 800EC81C C424CFC0 */ lwc1 $f4, -0x3040($at) -/* 085CD0 800EC820 26240060 */ addiu $a0, $s1, 0x60 -/* 085CD4 800EC824 E6200060 */ swc1 $f0, 0x60($s1) -/* 085CD8 800EC828 3C014120 */ lui $at, 0x4120 -/* 085CDC 800EC82C 44810000 */ mtc1 $at, $f0 -/* 085CE0 800EC830 C662002C */ lwc1 $f2, 0x2c($s3) -/* 085CE4 800EC834 46002101 */ sub.s $f4, $f4, $f0 -/* 085CE8 800EC838 E6220064 */ swc1 $f2, 0x64($s1) -/* 085CEC 800EC83C C6600030 */ lwc1 $f0, 0x30($s3) -/* 085CF0 800EC840 44062000 */ mfc1 $a2, $f4 -/* 085CF4 800EC844 26250068 */ addiu $a1, $s1, 0x68 -/* 085CF8 800EC848 0C00A7E7 */ jal add_vec2D_polar -/* 085CFC 800EC84C E6200068 */ swc1 $f0, 0x68($s1) -/* 085D00 800EC850 C62C0038 */ lwc1 $f12, 0x38($s1) -/* 085D04 800EC854 C62E0040 */ lwc1 $f14, 0x40($s1) -/* 085D08 800EC858 8E260060 */ lw $a2, 0x60($s1) -/* 085D0C 800EC85C 0C00A720 */ jal atan2 -/* 085D10 800EC860 8E270068 */ lw $a3, 0x68($s1) -/* 085D14 800EC864 C62C0038 */ lwc1 $f12, 0x38($s1) -/* 085D18 800EC868 C62E0040 */ lwc1 $f14, 0x40($s1) -/* 085D1C 800EC86C 8E260060 */ lw $a2, 0x60($s1) -/* 085D20 800EC870 8E270068 */ lw $a3, 0x68($s1) -/* 085D24 800EC874 0C00A7B5 */ jal dist2D -/* 085D28 800EC878 46000506 */ mov.s $f20, $f0 -/* 085D2C 800EC87C 3C014000 */ lui $at, 0x4000 -/* 085D30 800EC880 44811000 */ mtc1 $at, $f2 -/* 085D34 800EC884 E7A00034 */ swc1 $f0, 0x34($sp) -/* 085D38 800EC888 4600103C */ c.lt.s $f2, $f0 -/* 085D3C 800EC88C 00000000 */ nop -/* 085D40 800EC890 45000022 */ bc1f .L800EC91C -/* 085D44 800EC894 E6220018 */ swc1 $f2, 0x18($s1) -/* 085D48 800EC898 3C038011 */ lui $v1, 0x8011 -/* 085D4C 800EC89C 8C63CFD8 */ lw $v1, -0x3028($v1) -/* 085D50 800EC8A0 3C048010 */ lui $a0, 0x8010 -/* 085D54 800EC8A4 24848348 */ addiu $a0, $a0, -0x7cb8 -/* 085D58 800EC8A8 E634000C */ swc1 $f20, 0xc($s1) -/* 085D5C 800EC8AC 000310C0 */ sll $v0, $v1, 3 -/* 085D60 800EC8B0 00431021 */ addu $v0, $v0, $v1 -/* 085D64 800EC8B4 00021080 */ sll $v0, $v0, 2 -/* 085D68 800EC8B8 00442021 */ addu $a0, $v0, $a0 -/* 085D6C 800EC8BC 8E220000 */ lw $v0, ($s1) -/* 085D70 800EC8C0 8C830018 */ lw $v1, 0x18($a0) -/* 085D74 800EC8C4 30424000 */ andi $v0, $v0, 0x4000 -/* 085D78 800EC8C8 14400004 */ bnez $v0, .L800EC8DC -/* 085D7C 800EC8CC AE230028 */ sw $v1, 0x28($s1) -/* 085D80 800EC8D0 3C018010 */ lui $at, 0x8010 -/* 085D84 800EC8D4 0803B263 */ j .L800EC98C -/* 085D88 800EC8D8 A420803A */ sh $zero, -0x7fc6($at) - -.L800EC8DC: -/* 085D8C 800EC8DC 3C038010 */ lui $v1, 0x8010 -/* 085D90 800EC8E0 2463803A */ addiu $v1, $v1, -0x7fc6 -/* 085D94 800EC8E4 94620000 */ lhu $v0, ($v1) -/* 085D98 800EC8E8 24420001 */ addiu $v0, $v0, 1 -/* 085D9C 800EC8EC A4620000 */ sh $v0, ($v1) -/* 085DA0 800EC8F0 00021400 */ sll $v0, $v0, 0x10 -/* 085DA4 800EC8F4 00021403 */ sra $v0, $v0, 0x10 -/* 085DA8 800EC8F8 2842000B */ slti $v0, $v0, 0xb -/* 085DAC 800EC8FC 14400023 */ bnez $v0, .L800EC98C -/* 085DB0 800EC900 00000000 */ nop -/* 085DB4 800EC904 C6740080 */ lwc1 $f20, 0x80($s3) -/* 085DB8 800EC908 AE200018 */ sw $zero, 0x18($s1) -/* 085DBC 800EC90C AE200014 */ sw $zero, 0x14($s1) -/* 085DC0 800EC910 E6340034 */ swc1 $f20, 0x34($s1) -/* 085DC4 800EC914 0803B258 */ j .L800EC960 -/* 085DC8 800EC918 8C820014 */ lw $v0, 0x14($a0) - -.L800EC91C: -/* 085DCC 800EC91C C62C0038 */ lwc1 $f12, 0x38($s1) -/* 085DD0 800EC920 C62E0040 */ lwc1 $f14, 0x40($s1) -/* 085DD4 800EC924 8E660028 */ lw $a2, 0x28($s3) -/* 085DD8 800EC928 0C00A720 */ jal atan2 -/* 085DDC 800EC92C 8E670030 */ lw $a3, 0x30($s3) -/* 085DE0 800EC930 3C038011 */ lui $v1, 0x8011 -/* 085DE4 800EC934 8C63CFD8 */ lw $v1, -0x3028($v1) -/* 085DE8 800EC938 46000506 */ mov.s $f20, $f0 -/* 085DEC 800EC93C E634000C */ swc1 $f20, 0xc($s1) -/* 085DF0 800EC940 AE200018 */ sw $zero, 0x18($s1) -/* 085DF4 800EC944 AE200014 */ sw $zero, 0x14($s1) -/* 085DF8 800EC948 000310C0 */ sll $v0, $v1, 3 -/* 085DFC 800EC94C 00431021 */ addu $v0, $v0, $v1 -/* 085E00 800EC950 00021080 */ sll $v0, $v0, 2 -/* 085E04 800EC954 3C018010 */ lui $at, 0x8010 -/* 085E08 800EC958 00220821 */ addu $at, $at, $v0 -/* 085E0C 800EC95C 8C22835C */ lw $v0, -0x7ca4($at) -.L800EC960: -/* 085E10 800EC960 3C048011 */ lui $a0, 0x8011 -/* 085E14 800EC964 2484CFCA */ addiu $a0, $a0, -0x3036 -/* 085E18 800EC968 AE220028 */ sw $v0, 0x28($s1) -/* 085E1C 800EC96C 84830000 */ lh $v1, ($a0) -/* 085E20 800EC970 24020002 */ addiu $v0, $zero, 2 -/* 085E24 800EC974 10620004 */ beq $v1, $v0, .L800EC988 -/* 085E28 800EC978 2402000C */ addiu $v0, $zero, 0xc -/* 085E2C 800EC97C 826300B4 */ lb $v1, 0xb4($s3) -/* 085E30 800EC980 14620002 */ bne $v1, $v0, .L800EC98C -/* 085E34 800EC984 00000000 */ nop -.L800EC988: -/* 085E38 800EC988 A4800000 */ sh $zero, ($a0) -.L800EC98C: -/* 085E3C 800EC98C 8E250018 */ lw $a1, 0x18($s1) -/* 085E40 800EC990 4406A000 */ mfc1 $a2, $f20 -/* 085E44 800EC994 0220202D */ daddu $a0, $s1, $zero -/* 085E48 800EC998 0C00EA95 */ jal npc_move_heading -/* 085E4C 800EC99C E634000C */ swc1 $f20, 0xc($s1) -/* 085E50 800EC9A0 C6200018 */ lwc1 $f0, 0x18($s1) -/* 085E54 800EC9A4 3C014010 */ lui $at, 0x4010 -/* 085E58 800EC9A8 44811800 */ mtc1 $at, $f3 -/* 085E5C 800EC9AC 44801000 */ mtc1 $zero, $f2 -/* 085E60 800EC9B0 46000021 */ cvt.d.s $f0, $f0 -/* 085E64 800EC9B4 4622003C */ c.lt.d $f0, $f2 -/* 085E68 800EC9B8 00000000 */ nop -/* 085E6C 800EC9BC 45000002 */ bc1f .L800EC9C8 -/* 085E70 800EC9C0 24050001 */ addiu $a1, $zero, 1 -/* 085E74 800EC9C4 0000282D */ daddu $a1, $zero, $zero -.L800EC9C8: -/* 085E78 800EC9C8 0C00F598 */ jal func_8003D660 -/* 085E7C 800EC9CC 0220202D */ daddu $a0, $s1, $zero -/* 085E80 800EC9D0 862200A8 */ lh $v0, 0xa8($s1) -/* 085E84 800EC9D4 3C01447A */ lui $at, 0x447a -/* 085E88 800EC9D8 44810000 */ mtc1 $at, $f0 -/* 085E8C 800EC9DC 44822000 */ mtc1 $v0, $f4 -/* 085E90 800EC9E0 00000000 */ nop -/* 085E94 800EC9E4 46802120 */ cvt.s.w $f4, $f4 -/* 085E98 800EC9E8 27A20034 */ addiu $v0, $sp, 0x34 -/* 085E9C 800EC9EC E7A00034 */ swc1 $f0, 0x34($sp) -/* 085EA0 800EC9F0 C6260038 */ lwc1 $f6, 0x38($s1) -/* 085EA4 800EC9F4 C620003C */ lwc1 $f0, 0x3c($s1) -/* 085EA8 800EC9F8 C6220040 */ lwc1 $f2, 0x40($s1) -/* 085EAC 800EC9FC 46040000 */ add.s $f0, $f0, $f4 -/* 085EB0 800ECA00 E7A60028 */ swc1 $f6, 0x28($sp) -/* 085EB4 800ECA04 E7A20030 */ swc1 $f2, 0x30($sp) -/* 085EB8 800ECA08 E7A0002C */ swc1 $f0, 0x2c($sp) -/* 085EBC 800ECA0C AFA20010 */ sw $v0, 0x10($sp) -/* 085EC0 800ECA10 C620000C */ lwc1 $f0, 0xc($s1) -/* 085EC4 800ECA14 27A50028 */ addiu $a1, $sp, 0x28 -/* 085EC8 800ECA18 E7A00014 */ swc1 $f0, 0x14($sp) -/* 085ECC 800ECA1C 862200A6 */ lh $v0, 0xa6($s1) -/* 085ED0 800ECA20 27A6002C */ addiu $a2, $sp, 0x2c -/* 085ED4 800ECA24 44820000 */ mtc1 $v0, $f0 -/* 085ED8 800ECA28 00000000 */ nop -/* 085EDC 800ECA2C 46800020 */ cvt.s.w $f0, $f0 -/* 085EE0 800ECA30 E7A00018 */ swc1 $f0, 0x18($sp) -/* 085EE4 800ECA34 8E240080 */ lw $a0, 0x80($s1) -/* 085EE8 800ECA38 0C0371DE */ jal func_800DC778 -/* 085EEC 800ECA3C 27A70030 */ addiu $a3, $sp, 0x30 -/* 085EF0 800ECA40 10400228 */ beqz $v0, .L800ED2E4 -/* 085EF4 800ECA44 00000000 */ nop -/* 085EF8 800ECA48 3C108011 */ lui $s0, 0x8011 -/* 085EFC 800ECA4C 2610C978 */ addiu $s0, $s0, -0x3688 -/* 085F00 800ECA50 0C016F6A */ jal get_collider_type_by_id -/* 085F04 800ECA54 8E040000 */ lw $a0, ($s0) -/* 085F08 800ECA58 2442FFFE */ addiu $v0, $v0, -2 -/* 085F0C 800ECA5C 2C420002 */ sltiu $v0, $v0, 2 -/* 085F10 800ECA60 10400020 */ beqz $v0, .L800ECAE4 -/* 085F14 800ECA64 00000000 */ nop -/* 085F18 800ECA68 3C014334 */ lui $at, 0x4334 -/* 085F1C 800ECA6C 44816000 */ mtc1 $at, $f12 -/* 085F20 800ECA70 0C00A6C9 */ jal clamp_angle -/* 085F24 800ECA74 460CA300 */ add.s $f12, $f20, $f12 -/* 085F28 800ECA78 8E250018 */ lw $a1, 0x18($s1) -/* 085F2C 800ECA7C 44060000 */ mfc1 $a2, $f0 -/* 085F30 800ECA80 0220202D */ daddu $a0, $s1, $zero -/* 085F34 800ECA84 0C00EA95 */ jal npc_move_heading -/* 085F38 800ECA88 AE26000C */ sw $a2, 0xc($s1) -/* 085F3C 800ECA8C 3C038011 */ lui $v1, 0x8011 -/* 085F40 800ECA90 8C63CFD8 */ lw $v1, -0x3028($v1) -/* 085F44 800ECA94 AE200018 */ sw $zero, 0x18($s1) -/* 085F48 800ECA98 AE200014 */ sw $zero, 0x14($s1) -/* 085F4C 800ECA9C 000310C0 */ sll $v0, $v1, 3 -/* 085F50 800ECAA0 00431021 */ addu $v0, $v0, $v1 -/* 085F54 800ECAA4 00021080 */ sll $v0, $v0, 2 -/* 085F58 800ECAA8 3C018010 */ lui $at, 0x8010 -/* 085F5C 800ECAAC 00220821 */ addu $at, $at, $v0 -/* 085F60 800ECAB0 8C22835C */ lw $v0, -0x7ca4($at) -/* 085F64 800ECAB4 3C048011 */ lui $a0, 0x8011 -/* 085F68 800ECAB8 2484CFCA */ addiu $a0, $a0, -0x3036 -/* 085F6C 800ECABC AE220028 */ sw $v0, 0x28($s1) -/* 085F70 800ECAC0 84830000 */ lh $v1, ($a0) -/* 085F74 800ECAC4 24020002 */ addiu $v0, $zero, 2 -/* 085F78 800ECAC8 10620177 */ beq $v1, $v0, .L800ED0A8 -/* 085F7C 800ECACC 2402000C */ addiu $v0, $zero, 0xc -/* 085F80 800ECAD0 826300B4 */ lb $v1, 0xb4($s3) -/* 085F84 800ECAD4 14620203 */ bne $v1, $v0, .L800ED2E4 -/* 085F88 800ECAD8 00000000 */ nop -/* 085F8C 800ECADC 0803B4B9 */ j .L800ED2E4 -/* 085F90 800ECAE0 A4800000 */ sh $zero, ($a0) - -.L800ECAE4: -/* 085F94 800ECAE4 8E040000 */ lw $a0, ($s0) -/* 085F98 800ECAE8 0803B2C9 */ j .L800ECB24 -/* 085F9C 800ECAEC 00000000 */ nop - -.L800ECAF0: -/* 085FA0 800ECAF0 C62C0038 */ lwc1 $f12, 0x38($s1) -/* 085FA4 800ECAF4 C62E0040 */ lwc1 $f14, 0x40($s1) -/* 085FA8 800ECAF8 8E660028 */ lw $a2, 0x28($s3) -/* 085FAC 800ECAFC 0C00A7B5 */ jal dist2D -/* 085FB0 800ECB00 8E670030 */ lw $a3, 0x30($s3) -/* 085FB4 800ECB04 3C018011 */ lui $at, 0x8011 -/* 085FB8 800ECB08 C422CFC0 */ lwc1 $f2, -0x3040($at) -/* 085FBC 800ECB0C 4602003E */ c.le.s $f0, $f2 -/* 085FC0 800ECB10 00000000 */ nop -/* 085FC4 800ECB14 4500000B */ bc1f .L800ECB44 -/* 085FC8 800ECB18 E7A00034 */ swc1 $f0, 0x34($sp) -/* 085FCC 800ECB1C 3C048011 */ lui $a0, 0x8011 -/* 085FD0 800ECB20 8C84C978 */ lw $a0, -0x3688($a0) -.L800ECB24: -/* 085FD4 800ECB24 0C03A92C */ jal func_800EA4B0 -/* 085FD8 800ECB28 00000000 */ nop -/* 085FDC 800ECB2C 144001ED */ bnez $v0, .L800ED2E4 -/* 085FE0 800ECB30 24020002 */ addiu $v0, $zero, 2 -/* 085FE4 800ECB34 3C018011 */ lui $at, 0x8011 -/* 085FE8 800ECB38 A422CFCA */ sh $v0, -0x3036($at) -/* 085FEC 800ECB3C 0803B4B9 */ j .L800ED2E4 -/* 085FF0 800ECB40 00000000 */ nop - -.L800ECB44: -/* 085FF4 800ECB44 3C0142B4 */ lui $at, 0x42b4 -/* 085FF8 800ECB48 4481B000 */ mtc1 $at, $f22 -/* 085FFC 800ECB4C 3C128011 */ lui $s2, 0x8011 -/* 086000 800ECB50 2652CFBC */ addiu $s2, $s2, -0x3044 -/* 086004 800ECB54 3C148011 */ lui $s4, 0x8011 -/* 086008 800ECB58 2694CD38 */ addiu $s4, $s4, -0x32c8 -.L800ECB5C: -/* 08600C 800ECB5C 82020000 */ lb $v0, ($s0) -/* 086010 800ECB60 14400028 */ bnez $v0, .L800ECC04 -/* 086014 800ECB64 00000000 */ nop -/* 086018 800ECB68 C62C0038 */ lwc1 $f12, 0x38($s1) -/* 08601C 800ECB6C C62E0040 */ lwc1 $f14, 0x40($s1) -/* 086020 800ECB70 8FA60020 */ lw $a2, 0x20($sp) -/* 086024 800ECB74 0C00A720 */ jal atan2 -/* 086028 800ECB78 8FA70024 */ lw $a3, 0x24($sp) -/* 08602C 800ECB7C C62C0038 */ lwc1 $f12, 0x38($s1) -/* 086030 800ECB80 C62E0040 */ lwc1 $f14, 0x40($s1) -/* 086034 800ECB84 8E660028 */ lw $a2, 0x28($s3) -/* 086038 800ECB88 8E670030 */ lw $a3, 0x30($s3) -/* 08603C 800ECB8C 0C00A720 */ jal atan2 -/* 086040 800ECB90 46000506 */ mov.s $f20, $f0 -/* 086044 800ECB94 4600A306 */ mov.s $f12, $f20 -/* 086048 800ECB98 0C00A70A */ jal get_clamped_angle_diff -/* 08604C 800ECB9C 46000386 */ mov.s $f14, $f0 -/* 086050 800ECBA0 46000005 */ abs.s $f0, $f0 -/* 086054 800ECBA4 4616003C */ c.lt.s $f0, $f22 -/* 086058 800ECBA8 00000000 */ nop -/* 08605C 800ECBAC 45010012 */ bc1t .L800ECBF8 -/* 086060 800ECBB0 00000000 */ nop -/* 086064 800ECBB4 8E430000 */ lw $v1, ($s2) -/* 086068 800ECBB8 3C028011 */ lui $v0, 0x8011 -/* 08606C 800ECBBC 8C42CFB8 */ lw $v0, -0x3048($v0) -/* 086070 800ECBC0 1062000D */ beq $v1, $v0, .L800ECBF8 -/* 086074 800ECBC4 24620001 */ addiu $v0, $v1, 1 -/* 086078 800ECBC8 AE420000 */ sw $v0, ($s2) -/* 08607C 800ECBCC 28420028 */ slti $v0, $v0, 0x28 -/* 086080 800ECBD0 50400001 */ beql $v0, $zero, .L800ECBD8 -/* 086084 800ECBD4 AE400000 */ sw $zero, ($s2) -.L800ECBD8: -/* 086088 800ECBD8 8E420000 */ lw $v0, ($s2) -/* 08608C 800ECBDC 00021100 */ sll $v0, $v0, 4 -/* 086090 800ECBE0 00548021 */ addu $s0, $v0, $s4 -/* 086094 800ECBE4 C6000004 */ lwc1 $f0, 4($s0) -/* 086098 800ECBE8 C602000C */ lwc1 $f2, 0xc($s0) -/* 08609C 800ECBEC E7A00020 */ swc1 $f0, 0x20($sp) -/* 0860A0 800ECBF0 0803B2D7 */ j .L800ECB5C -/* 0860A4 800ECBF4 E7A20024 */ swc1 $f2, 0x24($sp) - -.L800ECBF8: -/* 0860A8 800ECBF8 82020000 */ lb $v0, ($s0) -/* 0860AC 800ECBFC 1040FDBA */ beqz $v0, .L800EC2E8 -/* 0860B0 800ECC00 00000000 */ nop -.L800ECC04: -/* 0860B4 800ECC04 3C0142B4 */ lui $at, 0x42b4 -/* 0860B8 800ECC08 4481B000 */ mtc1 $at, $f22 -/* 0860BC 800ECC0C 3C128011 */ lui $s2, 0x8011 -/* 0860C0 800ECC10 2652CFBC */ addiu $s2, $s2, -0x3044 -/* 0860C4 800ECC14 3C148011 */ lui $s4, 0x8011 -/* 0860C8 800ECC18 2694CD38 */ addiu $s4, $s4, -0x32c8 -.L800ECC1C: -/* 0860CC 800ECC1C 82020000 */ lb $v0, ($s0) -/* 0860D0 800ECC20 104001AE */ beqz $v0, .L800ED2DC -/* 0860D4 800ECC24 24020001 */ addiu $v0, $zero, 1 -/* 0860D8 800ECC28 C62C0038 */ lwc1 $f12, 0x38($s1) -/* 0860DC 800ECC2C C62E0040 */ lwc1 $f14, 0x40($s1) -/* 0860E0 800ECC30 8FA60020 */ lw $a2, 0x20($sp) -/* 0860E4 800ECC34 0C00A720 */ jal atan2 -/* 0860E8 800ECC38 8FA70024 */ lw $a3, 0x24($sp) -/* 0860EC 800ECC3C C62C0038 */ lwc1 $f12, 0x38($s1) -/* 0860F0 800ECC40 C62E0040 */ lwc1 $f14, 0x40($s1) -/* 0860F4 800ECC44 8E660028 */ lw $a2, 0x28($s3) -/* 0860F8 800ECC48 8E670030 */ lw $a3, 0x30($s3) -/* 0860FC 800ECC4C 0C00A720 */ jal atan2 -/* 086100 800ECC50 46000506 */ mov.s $f20, $f0 -/* 086104 800ECC54 4600A306 */ mov.s $f12, $f20 -/* 086108 800ECC58 0C00A70A */ jal get_clamped_angle_diff -/* 08610C 800ECC5C 46000386 */ mov.s $f14, $f0 -/* 086110 800ECC60 46000005 */ abs.s $f0, $f0 -/* 086114 800ECC64 4616003C */ c.lt.s $f0, $f22 -/* 086118 800ECC68 00000000 */ nop -/* 08611C 800ECC6C 4501019B */ bc1t .L800ED2DC -/* 086120 800ECC70 24020001 */ addiu $v0, $zero, 1 -/* 086124 800ECC74 8E430000 */ lw $v1, ($s2) -/* 086128 800ECC78 3C028011 */ lui $v0, 0x8011 -/* 08612C 800ECC7C 8C42CFB8 */ lw $v0, -0x3048($v0) -/* 086130 800ECC80 1062000D */ beq $v1, $v0, .L800ECCB8 -/* 086134 800ECC84 24620001 */ addiu $v0, $v1, 1 -/* 086138 800ECC88 AE420000 */ sw $v0, ($s2) -/* 08613C 800ECC8C 28420028 */ slti $v0, $v0, 0x28 -/* 086140 800ECC90 50400001 */ beql $v0, $zero, .L800ECC98 -/* 086144 800ECC94 AE400000 */ sw $zero, ($s2) -.L800ECC98: -/* 086148 800ECC98 8E420000 */ lw $v0, ($s2) -/* 08614C 800ECC9C 00021100 */ sll $v0, $v0, 4 -/* 086150 800ECCA0 00548021 */ addu $s0, $v0, $s4 -/* 086154 800ECCA4 C6000004 */ lwc1 $f0, 4($s0) -/* 086158 800ECCA8 C602000C */ lwc1 $f2, 0xc($s0) -/* 08615C 800ECCAC E7A00020 */ swc1 $f0, 0x20($sp) -/* 086160 800ECCB0 0803B307 */ j .L800ECC1C -/* 086164 800ECCB4 E7A20024 */ swc1 $f2, 0x24($sp) - -.L800ECCB8: -/* 086168 800ECCB8 0803B4B7 */ j .L800ED2DC -/* 08616C 800ECCBC 24020001 */ addiu $v0, $zero, 1 - -/* 086170 800ECCC0 3C048011 */ lui $a0, 0x8011 -/* 086174 800ECCC4 2484CFCE */ addiu $a0, $a0, -0x3032 -/* 086178 800ECCC8 84830000 */ lh $v1, ($a0) -/* 08617C 800ECCCC 24020001 */ addiu $v0, $zero, 1 -/* 086180 800ECCD0 10620050 */ beq $v1, $v0, .L800ECE14 -/* 086184 800ECCD4 28620002 */ slti $v0, $v1, 2 -/* 086188 800ECCD8 50400005 */ beql $v0, $zero, .L800ECCF0 -/* 08618C 800ECCDC 24020002 */ addiu $v0, $zero, 2 -/* 086190 800ECCE0 10600007 */ beqz $v1, .L800ECD00 -/* 086194 800ECCE4 00000000 */ nop -/* 086198 800ECCE8 0803B4B9 */ j .L800ED2E4 -/* 08619C 800ECCEC 00000000 */ nop - -.L800ECCF0: -/* 0861A0 800ECCF0 106200E2 */ beq $v1, $v0, .L800ED07C -/* 0861A4 800ECCF4 00000000 */ nop -/* 0861A8 800ECCF8 0803B4B9 */ j .L800ED2E4 -/* 0861AC 800ECCFC 00000000 */ nop - -.L800ECD00: -/* 0861B0 800ECD00 0C0394D2 */ jal func_800E5348 -/* 0861B4 800ECD04 00000000 */ nop -/* 0861B8 800ECD08 3C014334 */ lui $at, 0x4334 -/* 0861BC 800ECD0C 44816000 */ mtc1 $at, $f12 -/* 0861C0 800ECD10 0C00A6C9 */ jal clamp_angle -/* 0861C4 800ECD14 460C0300 */ add.s $f12, $f0, $f12 -/* 0861C8 800ECD18 C6620028 */ lwc1 $f2, 0x28($s3) -/* 0861CC 800ECD1C E6220060 */ swc1 $f2, 0x60($s1) -/* 0861D0 800ECD20 C662002C */ lwc1 $f2, 0x2c($s3) -/* 0861D4 800ECD24 E6220064 */ swc1 $f2, 0x64($s1) -/* 0861D8 800ECD28 C6620030 */ lwc1 $f2, 0x30($s3) -/* 0861DC 800ECD2C 26240060 */ addiu $a0, $s1, 0x60 -/* 0861E0 800ECD30 E6220068 */ swc1 $f2, 0x68($s1) -/* 0861E4 800ECD34 866200B2 */ lh $v0, 0xb2($s3) -/* 0861E8 800ECD38 44070000 */ mfc1 $a3, $f0 -/* 0861EC 800ECD3C 44825000 */ mtc1 $v0, $f10 -/* 0861F0 800ECD40 00000000 */ nop -/* 0861F4 800ECD44 468052A0 */ cvt.s.w $f10, $f10 -/* 0861F8 800ECD48 44065000 */ mfc1 $a2, $f10 -/* 0861FC 800ECD4C 0C00A7E7 */ jal add_vec2D_polar -/* 086200 800ECD50 26250068 */ addiu $a1, $s1, 0x68 -/* 086204 800ECD54 C62C0038 */ lwc1 $f12, 0x38($s1) -/* 086208 800ECD58 C62E0040 */ lwc1 $f14, 0x40($s1) -/* 08620C 800ECD5C 8E260060 */ lw $a2, 0x60($s1) -/* 086210 800ECD60 0C00A7B5 */ jal dist2D -/* 086214 800ECD64 8E270068 */ lw $a3, 0x68($s1) -/* 086218 800ECD68 3C018010 */ lui $at, 0x8010 -/* 08621C 800ECD6C C422802C */ lwc1 $f2, -0x7fd4($at) -/* 086220 800ECD70 468010A0 */ cvt.s.w $f2, $f2 -/* 086224 800ECD74 E7A00034 */ swc1 $f0, 0x34($sp) -/* 086228 800ECD78 46020003 */ div.s $f0, $f0, $f2 -/* 08622C 800ECD7C 3C018010 */ lui $at, 0x8010 -/* 086230 800ECD80 E4208030 */ swc1 $f0, -0x7fd0($at) -/* 086234 800ECD84 E6200018 */ swc1 $f0, 0x18($s1) -/* 086238 800ECD88 46000021 */ cvt.d.s $f0, $f0 -/* 08623C 800ECD8C 26240028 */ addiu $a0, $s1, 0x28 -/* 086240 800ECD90 3C038011 */ lui $v1, 0x8011 -/* 086244 800ECD94 8C63CFD8 */ lw $v1, -0x3028($v1) -/* 086248 800ECD98 3C014010 */ lui $at, 0x4010 -/* 08624C 800ECD9C 44811800 */ mtc1 $at, $f3 -/* 086250 800ECDA0 44801000 */ mtc1 $zero, $f2 -/* 086254 800ECDA4 000310C0 */ sll $v0, $v1, 3 -/* 086258 800ECDA8 00431021 */ addu $v0, $v0, $v1 -/* 08625C 800ECDAC 4620103E */ c.le.d $f2, $f0 -/* 086260 800ECDB0 00000000 */ nop -/* 086264 800ECDB4 45000003 */ bc1f .L800ECDC4 -/* 086268 800ECDB8 00021080 */ sll $v0, $v0, 2 -/* 08626C 800ECDBC 0803B372 */ j .L800ECDC8 -/* 086270 800ECDC0 24430018 */ addiu $v1, $v0, 0x18 - -.L800ECDC4: -/* 086274 800ECDC4 24430004 */ addiu $v1, $v0, 4 -.L800ECDC8: -/* 086278 800ECDC8 3C028010 */ lui $v0, 0x8010 -/* 08627C 800ECDCC 24428348 */ addiu $v0, $v0, -0x7cb8 -/* 086280 800ECDD0 00431021 */ addu $v0, $v0, $v1 -/* 086284 800ECDD4 8C420000 */ lw $v0, ($v0) -/* 086288 800ECDD8 AC820000 */ sw $v0, ($a0) -/* 08628C 800ECDDC C62C0038 */ lwc1 $f12, 0x38($s1) -/* 086290 800ECDE0 C62E0040 */ lwc1 $f14, 0x40($s1) -/* 086294 800ECDE4 8E260060 */ lw $a2, 0x60($s1) -/* 086298 800ECDE8 0C00A720 */ jal atan2 -/* 08629C 800ECDEC 8E270068 */ lw $a3, 0x68($s1) -/* 0862A0 800ECDF0 3C038011 */ lui $v1, 0x8011 -/* 0862A4 800ECDF4 2463CFCE */ addiu $v1, $v1, -0x3032 -/* 0862A8 800ECDF8 94620000 */ lhu $v0, ($v1) -/* 0862AC 800ECDFC 46000506 */ mov.s $f20, $f0 -/* 0862B0 800ECE00 3C018010 */ lui $at, 0x8010 -/* 0862B4 800ECE04 E4348034 */ swc1 $f20, -0x7fcc($at) -/* 0862B8 800ECE08 E634000C */ swc1 $f20, 0xc($s1) -/* 0862BC 800ECE0C 24420001 */ addiu $v0, $v0, 1 -/* 0862C0 800ECE10 A4620000 */ sh $v0, ($v1) -.L800ECE14: -/* 0862C4 800ECE14 3C108010 */ lui $s0, 0x8010 -/* 0862C8 800ECE18 2610802C */ addiu $s0, $s0, -0x7fd4 -/* 0862CC 800ECE1C 8E020000 */ lw $v0, ($s0) -/* 0862D0 800ECE20 10400079 */ beqz $v0, .L800ED008 -/* 0862D4 800ECE24 2442FFFF */ addiu $v0, $v0, -1 -/* 0862D8 800ECE28 C6220014 */ lwc1 $f2, 0x14($s1) -/* 0862DC 800ECE2C 44803000 */ mtc1 $zero, $f6 -/* 0862E0 800ECE30 00000000 */ nop -/* 0862E4 800ECE34 46061032 */ c.eq.s $f2, $f6 -/* 0862E8 800ECE38 00000000 */ nop -/* 0862EC 800ECE3C 4501005A */ bc1t .L800ECFA8 -/* 0862F0 800ECE40 AE020000 */ sw $v0, ($s0) -/* 0862F4 800ECE44 C620001C */ lwc1 $f0, 0x1c($s1) -/* 0862F8 800ECE48 46020001 */ sub.s $f0, $f0, $f2 -/* 0862FC 800ECE4C C622003C */ lwc1 $f2, 0x3c($s1) -/* 086300 800ECE50 46001080 */ add.s $f2, $f2, $f0 -/* 086304 800ECE54 E620001C */ swc1 $f0, 0x1c($s1) -/* 086308 800ECE58 4606003E */ c.le.s $f0, $f6 -/* 08630C 800ECE5C 00000000 */ nop -/* 086310 800ECE60 4500000A */ bc1f .L800ECE8C -/* 086314 800ECE64 E622003C */ swc1 $f2, 0x3c($s1) -/* 086318 800ECE68 3C028011 */ lui $v0, 0x8011 -/* 08631C 800ECE6C 8C42CFD8 */ lw $v0, -0x3028($v0) -/* 086320 800ECE70 000218C0 */ sll $v1, $v0, 3 -/* 086324 800ECE74 00621821 */ addu $v1, $v1, $v0 -/* 086328 800ECE78 00031880 */ sll $v1, $v1, 2 -/* 08632C 800ECE7C 3C028010 */ lui $v0, 0x8010 -/* 086330 800ECE80 00431021 */ addu $v0, $v0, $v1 -/* 086334 800ECE84 8C428354 */ lw $v0, -0x7cac($v0) -/* 086338 800ECE88 AE220028 */ sw $v0, 0x28($s1) -.L800ECE8C: -/* 08633C 800ECE8C C624001C */ lwc1 $f4, 0x1c($s1) -/* 086340 800ECE90 4606203E */ c.le.s $f4, $f6 -/* 086344 800ECE94 00000000 */ nop -/* 086348 800ECE98 45000043 */ bc1f .L800ECFA8 -/* 08634C 800ECE9C 27A20034 */ addiu $v0, $sp, 0x34 -/* 086350 800ECEA0 C6200038 */ lwc1 $f0, 0x38($s1) -/* 086354 800ECEA4 3C014130 */ lui $at, 0x4130 -/* 086358 800ECEA8 44811000 */ mtc1 $at, $f2 -/* 08635C 800ECEAC E7A00028 */ swc1 $f0, 0x28($sp) -/* 086360 800ECEB0 46002005 */ abs.s $f0, $f4 -/* 086364 800ECEB4 46020000 */ add.s $f0, $f0, $f2 -/* 086368 800ECEB8 C622003C */ lwc1 $f2, 0x3c($s1) -/* 08636C 800ECEBC C6240040 */ lwc1 $f4, 0x40($s1) -/* 086370 800ECEC0 46001080 */ add.s $f2, $f2, $f0 -/* 086374 800ECEC4 E7A40030 */ swc1 $f4, 0x30($sp) -/* 086378 800ECEC8 E7A00034 */ swc1 $f0, 0x34($sp) -/* 08637C 800ECECC E7A2002C */ swc1 $f2, 0x2c($sp) -/* 086380 800ECED0 AFA20010 */ sw $v0, 0x10($sp) -/* 086384 800ECED4 C620000C */ lwc1 $f0, 0xc($s1) -/* 086388 800ECED8 27A50028 */ addiu $a1, $sp, 0x28 -/* 08638C 800ECEDC E7A00014 */ swc1 $f0, 0x14($sp) -/* 086390 800ECEE0 862200A6 */ lh $v0, 0xa6($s1) -/* 086394 800ECEE4 27A6002C */ addiu $a2, $sp, 0x2c -/* 086398 800ECEE8 44820000 */ mtc1 $v0, $f0 -/* 08639C 800ECEEC 00000000 */ nop -/* 0863A0 800ECEF0 46800020 */ cvt.s.w $f0, $f0 -/* 0863A4 800ECEF4 E7A00018 */ swc1 $f0, 0x18($sp) -/* 0863A8 800ECEF8 8E240080 */ lw $a0, 0x80($s1) -/* 0863AC 800ECEFC 0C0371DE */ jal func_800DC778 -/* 0863B0 800ECF00 27A70030 */ addiu $a3, $sp, 0x30 -/* 0863B4 800ECF04 10400028 */ beqz $v0, .L800ECFA8 -/* 0863B8 800ECF08 00000000 */ nop -/* 0863BC 800ECF0C C620001C */ lwc1 $f0, 0x1c($s1) -/* 0863C0 800ECF10 3C0141B0 */ lui $at, 0x41b0 -/* 0863C4 800ECF14 44811000 */ mtc1 $at, $f2 -/* 0863C8 800ECF18 46000005 */ abs.s $f0, $f0 -/* 0863CC 800ECF1C 46020000 */ add.s $f0, $f0, $f2 -/* 0863D0 800ECF20 C7A20034 */ lwc1 $f2, 0x34($sp) -/* 0863D4 800ECF24 4600103E */ c.le.s $f2, $f0 -/* 0863D8 800ECF28 00000000 */ nop -/* 0863DC 800ECF2C 4500001E */ bc1f .L800ECFA8 -/* 0863E0 800ECF30 26240028 */ addiu $a0, $s1, 0x28 -/* 0863E4 800ECF34 C6200018 */ lwc1 $f0, 0x18($s1) -/* 0863E8 800ECF38 3C014010 */ lui $at, 0x4010 -/* 0863EC 800ECF3C 44811800 */ mtc1 $at, $f3 -/* 0863F0 800ECF40 44801000 */ mtc1 $zero, $f2 -/* 0863F4 800ECF44 3C038011 */ lui $v1, 0x8011 -/* 0863F8 800ECF48 8C63CFD8 */ lw $v1, -0x3028($v1) -/* 0863FC 800ECF4C 46000021 */ cvt.d.s $f0, $f0 -/* 086400 800ECF50 000310C0 */ sll $v0, $v1, 3 -/* 086404 800ECF54 00431021 */ addu $v0, $v0, $v1 -/* 086408 800ECF58 4620103E */ c.le.d $f2, $f0 -/* 08640C 800ECF5C 00000000 */ nop -/* 086410 800ECF60 45000003 */ bc1f .L800ECF70 -/* 086414 800ECF64 00021080 */ sll $v0, $v0, 2 -/* 086418 800ECF68 0803B3DD */ j .L800ECF74 -/* 08641C 800ECF6C 24430018 */ addiu $v1, $v0, 0x18 - -.L800ECF70: -/* 086420 800ECF70 24430004 */ addiu $v1, $v0, 4 -.L800ECF74: -/* 086424 800ECF74 3C028010 */ lui $v0, 0x8010 -/* 086428 800ECF78 24428348 */ addiu $v0, $v0, -0x7cb8 -/* 08642C 800ECF7C 00431021 */ addu $v0, $v0, $v1 -/* 086430 800ECF80 8C420000 */ lw $v0, ($v0) -/* 086434 800ECF84 C7A0002C */ lwc1 $f0, 0x2c($sp) -/* 086438 800ECF88 AC820000 */ sw $v0, ($a0) -/* 08643C 800ECF8C 8E220000 */ lw $v0, ($s1) -/* 086440 800ECF90 2403F7FF */ addiu $v1, $zero, -0x801 -/* 086444 800ECF94 AE200014 */ sw $zero, 0x14($s1) -/* 086448 800ECF98 AE20001C */ sw $zero, 0x1c($s1) -/* 08644C 800ECF9C E620003C */ swc1 $f0, 0x3c($s1) -/* 086450 800ECFA0 00431024 */ and $v0, $v0, $v1 -/* 086454 800ECFA4 AE220000 */ sw $v0, ($s1) -.L800ECFA8: -/* 086458 800ECFA8 3C018010 */ lui $at, 0x8010 -/* 08645C 800ECFAC C4208030 */ lwc1 $f0, -0x7fd0($at) -/* 086460 800ECFB0 E6200018 */ swc1 $f0, 0x18($s1) -/* 086464 800ECFB4 3C018010 */ lui $at, 0x8010 -/* 086468 800ECFB8 C4208034 */ lwc1 $f0, -0x7fcc($at) -/* 08646C 800ECFBC 8E250018 */ lw $a1, 0x18($s1) -/* 086470 800ECFC0 44060000 */ mfc1 $a2, $f0 -/* 086474 800ECFC4 0220202D */ daddu $a0, $s1, $zero -/* 086478 800ECFC8 0C00EA95 */ jal npc_move_heading -/* 08647C 800ECFCC AE26000C */ sw $a2, 0xc($s1) -/* 086480 800ECFD0 C6200018 */ lwc1 $f0, 0x18($s1) -/* 086484 800ECFD4 3C014010 */ lui $at, 0x4010 -/* 086488 800ECFD8 44811800 */ mtc1 $at, $f3 -/* 08648C 800ECFDC 44801000 */ mtc1 $zero, $f2 -/* 086490 800ECFE0 46000021 */ cvt.d.s $f0, $f0 -/* 086494 800ECFE4 4622003C */ c.lt.d $f0, $f2 -/* 086498 800ECFE8 00000000 */ nop -/* 08649C 800ECFEC 45000002 */ bc1f .L800ECFF8 -/* 0864A0 800ECFF0 24050001 */ addiu $a1, $zero, 1 -/* 0864A4 800ECFF4 0000282D */ daddu $a1, $zero, $zero -.L800ECFF8: -/* 0864A8 800ECFF8 0C00F598 */ jal func_8003D660 -/* 0864AC 800ECFFC 0220202D */ daddu $a0, $s1, $zero -/* 0864B0 800ED000 0803B4B9 */ j .L800ED2E4 -/* 0864B4 800ED004 00000000 */ nop - -.L800ED008: -/* 0864B8 800ED008 0C03BD17 */ jal clear_partner_move_history -/* 0864BC 800ED00C 0220202D */ daddu $a0, $s1, $zero -/* 0864C0 800ED010 3C038011 */ lui $v1, 0x8011 -/* 0864C4 800ED014 8C63CFD8 */ lw $v1, -0x3028($v1) -/* 0864C8 800ED018 3C014387 */ lui $at, 0x4387 -/* 0864CC 800ED01C 44810000 */ mtc1 $at, $f0 -/* 0864D0 800ED020 AE200018 */ sw $zero, 0x18($s1) -/* 0864D4 800ED024 AE200014 */ sw $zero, 0x14($s1) -/* 0864D8 800ED028 000310C0 */ sll $v0, $v1, 3 -/* 0864DC 800ED02C 00431021 */ addu $v0, $v0, $v1 -/* 0864E0 800ED030 00021080 */ sll $v0, $v0, 2 -/* 0864E4 800ED034 3C018010 */ lui $at, 0x8010 -/* 0864E8 800ED038 00220821 */ addu $at, $at, $v0 -/* 0864EC 800ED03C 8C22835C */ lw $v0, -0x7ca4($at) -/* 0864F0 800ED040 AE220028 */ sw $v0, 0x28($s1) -/* 0864F4 800ED044 C6AC006C */ lwc1 $f12, 0x6c($s5) -/* 0864F8 800ED048 46006300 */ add.s $f12, $f12, $f0 -/* 0864FC 800ED04C C66000A8 */ lwc1 $f0, 0xa8($s3) -/* 086500 800ED050 0C00A6C9 */ jal clamp_angle -/* 086504 800ED054 46006301 */ sub.s $f12, $f12, $f0 -/* 086508 800ED058 3C048011 */ lui $a0, 0x8011 -/* 08650C 800ED05C 2484CFCE */ addiu $a0, $a0, -0x3032 -/* 086510 800ED060 E620000C */ swc1 $f0, 0xc($s1) -/* 086514 800ED064 94820000 */ lhu $v0, ($a0) -/* 086518 800ED068 2403001E */ addiu $v1, $zero, 0x1e -/* 08651C 800ED06C AE030000 */ sw $v1, ($s0) -/* 086520 800ED070 24420001 */ addiu $v0, $v0, 1 -/* 086524 800ED074 0803B4B9 */ j .L800ED2E4 -/* 086528 800ED078 A4820000 */ sh $v0, ($a0) - -.L800ED07C: -/* 08652C 800ED07C 3C038010 */ lui $v1, 0x8010 -/* 086530 800ED080 2463802C */ addiu $v1, $v1, -0x7fd4 -/* 086534 800ED084 8C620000 */ lw $v0, ($v1) -/* 086538 800ED088 10400003 */ beqz $v0, .L800ED098 -/* 08653C 800ED08C 2442FFFF */ addiu $v0, $v0, -1 -/* 086540 800ED090 0803B4B9 */ j .L800ED2E4 -/* 086544 800ED094 AC620000 */ sw $v0, ($v1) - -.L800ED098: -/* 086548 800ED098 3C018011 */ lui $at, 0x8011 -/* 08654C 800ED09C A420CFC8 */ sh $zero, -0x3038($at) -/* 086550 800ED0A0 3C018011 */ lui $at, 0x8011 -/* 086554 800ED0A4 A420CFCA */ sh $zero, -0x3036($at) -.L800ED0A8: -/* 086558 800ED0A8 0803B4B9 */ j .L800ED2E4 -/* 08655C 800ED0AC A4800000 */ sh $zero, ($a0) - -/* 086560 800ED0B0 0220202D */ daddu $a0, $s1, $zero -/* 086564 800ED0B4 0C03BE0B */ jal func_800EF82C -/* 086568 800ED0B8 0000282D */ daddu $a1, $zero, $zero -/* 08656C 800ED0BC 0803B4B9 */ j .L800ED2E4 -/* 086570 800ED0C0 00000000 */ nop - -/* 086574 800ED0C4 8E220000 */ lw $v0, ($s1) -/* 086578 800ED0C8 30421000 */ andi $v0, $v0, 0x1000 -/* 08657C 800ED0CC 10400012 */ beqz $v0, .L800ED118 -/* 086580 800ED0D0 00000000 */ nop -/* 086584 800ED0D4 0C03A92C */ jal func_800EA4B0 -/* 086588 800ED0D8 86240084 */ lh $a0, 0x84($s1) -/* 08658C 800ED0DC 1040007F */ beqz $v0, .L800ED2DC -/* 086590 800ED0E0 24020001 */ addiu $v0, $zero, 1 -/* 086594 800ED0E4 3C038011 */ lui $v1, 0x8011 -/* 086598 800ED0E8 8C63CFD8 */ lw $v1, -0x3028($v1) -/* 08659C 800ED0EC 000310C0 */ sll $v0, $v1, 3 -/* 0865A0 800ED0F0 00431021 */ addu $v0, $v0, $v1 -/* 0865A4 800ED0F4 00021080 */ sll $v0, $v0, 2 -/* 0865A8 800ED0F8 3C038010 */ lui $v1, 0x8010 -/* 0865AC 800ED0FC 00621821 */ addu $v1, $v1, $v0 -/* 0865B0 800ED100 8C63835C */ lw $v1, -0x7ca4($v1) -/* 0865B4 800ED104 24020032 */ addiu $v0, $zero, 0x32 -/* 0865B8 800ED108 3C018011 */ lui $at, 0x8011 -/* 0865BC 800ED10C A422CFC8 */ sh $v0, -0x3038($at) -/* 0865C0 800ED110 0803B4B9 */ j .L800ED2E4 -/* 0865C4 800ED114 AE230028 */ sw $v1, 0x28($s1) - -.L800ED118: -/* 0865C8 800ED118 3C014040 */ lui $at, 0x4040 -/* 0865CC 800ED11C 44812000 */ mtc1 $at, $f4 -/* 0865D0 800ED120 C620001C */ lwc1 $f0, 0x1c($s1) -/* 0865D4 800ED124 46040001 */ sub.s $f0, $f0, $f4 -/* 0865D8 800ED128 C622003C */ lwc1 $f2, 0x3c($s1) -/* 0865DC 800ED12C 4480A000 */ mtc1 $zero, $f20 -/* 0865E0 800ED130 46001080 */ add.s $f2, $f2, $f0 -/* 0865E4 800ED134 E6240014 */ swc1 $f4, 0x14($s1) -/* 0865E8 800ED138 4614003E */ c.le.s $f0, $f20 -/* 0865EC 800ED13C E620001C */ swc1 $f0, 0x1c($s1) -/* 0865F0 800ED140 4500000A */ bc1f .L800ED16C -/* 0865F4 800ED144 E622003C */ swc1 $f2, 0x3c($s1) -/* 0865F8 800ED148 3C028011 */ lui $v0, 0x8011 -/* 0865FC 800ED14C 8C42CFD8 */ lw $v0, -0x3028($v0) -/* 086600 800ED150 000218C0 */ sll $v1, $v0, 3 -/* 086604 800ED154 00621821 */ addu $v1, $v1, $v0 -/* 086608 800ED158 00031880 */ sll $v1, $v1, 2 -/* 08660C 800ED15C 3C028010 */ lui $v0, 0x8010 -/* 086610 800ED160 00431021 */ addu $v0, $v0, $v1 -/* 086614 800ED164 8C428354 */ lw $v0, -0x7cac($v0) -/* 086618 800ED168 AE220028 */ sw $v0, 0x28($s1) -.L800ED16C: -/* 08661C 800ED16C C622003C */ lwc1 $f2, 0x3c($s1) -/* 086620 800ED170 3C01C4FA */ lui $at, 0xc4fa -/* 086624 800ED174 44810000 */ mtc1 $at, $f0 -/* 086628 800ED178 00000000 */ nop -/* 08662C 800ED17C 4600103C */ c.lt.s $f2, $f0 -/* 086630 800ED180 00000000 */ nop -/* 086634 800ED184 4500001E */ bc1f .L800ED200 -/* 086638 800ED188 2404F7FF */ addiu $a0, $zero, -0x801 -/* 08663C 800ED18C C62C0038 */ lwc1 $f12, 0x38($s1) -/* 086640 800ED190 3C028011 */ lui $v0, 0x8011 -/* 086644 800ED194 8C42CFD8 */ lw $v0, -0x3028($v0) -/* 086648 800ED198 C62E0040 */ lwc1 $f14, 0x40($s1) -/* 08664C 800ED19C 000218C0 */ sll $v1, $v0, 3 -/* 086650 800ED1A0 00621821 */ addu $v1, $v1, $v0 -/* 086654 800ED1A4 00031880 */ sll $v1, $v1, 2 -/* 086658 800ED1A8 8E220000 */ lw $v0, ($s1) -/* 08665C 800ED1AC 3C018010 */ lui $at, 0x8010 -/* 086660 800ED1B0 00230821 */ addu $at, $at, $v1 -/* 086664 800ED1B4 8C23835C */ lw $v1, -0x7ca4($at) -/* 086668 800ED1B8 E634001C */ swc1 $f20, 0x1c($s1) -/* 08666C 800ED1BC 00441024 */ and $v0, $v0, $a0 -/* 086670 800ED1C0 AE220000 */ sw $v0, ($s1) -/* 086674 800ED1C4 AE230028 */ sw $v1, 0x28($s1) -/* 086678 800ED1C8 8E660028 */ lw $a2, 0x28($s3) -/* 08667C 800ED1CC 0C00A720 */ jal atan2 -/* 086680 800ED1D0 8E670030 */ lw $a3, 0x30($s3) -/* 086684 800ED1D4 E620000C */ swc1 $f0, 0xc($s1) -/* 086688 800ED1D8 C6600028 */ lwc1 $f0, 0x28($s3) -/* 08668C 800ED1DC E6200038 */ swc1 $f0, 0x38($s1) -/* 086690 800ED1E0 C660002C */ lwc1 $f0, 0x2c($s3) -/* 086694 800ED1E4 E620003C */ swc1 $f0, 0x3c($s1) -/* 086698 800ED1E8 C6600030 */ lwc1 $f0, 0x30($s3) -/* 08669C 800ED1EC 24020032 */ addiu $v0, $zero, 0x32 -.L800ED1F0: -/* 0866A0 800ED1F0 3C018011 */ lui $at, 0x8011 -/* 0866A4 800ED1F4 A422CFC8 */ sh $v0, -0x3038($at) -/* 0866A8 800ED1F8 0803B4B9 */ j .L800ED2E4 -/* 0866AC 800ED1FC E6200040 */ swc1 $f0, 0x40($s1) - -.L800ED200: -/* 0866B0 800ED200 C6200038 */ lwc1 $f0, 0x38($s1) -/* 0866B4 800ED204 27A20034 */ addiu $v0, $sp, 0x34 -/* 0866B8 800ED208 E7A00028 */ swc1 $f0, 0x28($sp) -/* 0866BC 800ED20C C620001C */ lwc1 $f0, 0x1c($s1) -/* 0866C0 800ED210 3C014130 */ lui $at, 0x4130 -/* 0866C4 800ED214 44811000 */ mtc1 $at, $f2 -/* 0866C8 800ED218 46000005 */ abs.s $f0, $f0 -/* 0866CC 800ED21C 46020000 */ add.s $f0, $f0, $f2 -/* 0866D0 800ED220 C622003C */ lwc1 $f2, 0x3c($s1) -/* 0866D4 800ED224 C6240040 */ lwc1 $f4, 0x40($s1) -/* 0866D8 800ED228 46001080 */ add.s $f2, $f2, $f0 -/* 0866DC 800ED22C E7A40030 */ swc1 $f4, 0x30($sp) -/* 0866E0 800ED230 E7A00034 */ swc1 $f0, 0x34($sp) -/* 0866E4 800ED234 E7A2002C */ swc1 $f2, 0x2c($sp) -/* 0866E8 800ED238 AFA20010 */ sw $v0, 0x10($sp) -/* 0866EC 800ED23C C620000C */ lwc1 $f0, 0xc($s1) -/* 0866F0 800ED240 27A50028 */ addiu $a1, $sp, 0x28 -/* 0866F4 800ED244 E7A00014 */ swc1 $f0, 0x14($sp) -/* 0866F8 800ED248 862200A6 */ lh $v0, 0xa6($s1) -/* 0866FC 800ED24C 27A6002C */ addiu $a2, $sp, 0x2c -/* 086700 800ED250 44820000 */ mtc1 $v0, $f0 -/* 086704 800ED254 00000000 */ nop -/* 086708 800ED258 46800020 */ cvt.s.w $f0, $f0 -/* 08670C 800ED25C E7A00018 */ swc1 $f0, 0x18($sp) -/* 086710 800ED260 8E240080 */ lw $a0, 0x80($s1) -/* 086714 800ED264 0C0371DE */ jal func_800DC778 -/* 086718 800ED268 27A70030 */ addiu $a3, $sp, 0x30 -/* 08671C 800ED26C 1040001D */ beqz $v0, .L800ED2E4 -/* 086720 800ED270 00000000 */ nop -/* 086724 800ED274 C7AC0028 */ lwc1 $f12, 0x28($sp) -/* 086728 800ED278 3C038011 */ lui $v1, 0x8011 -/* 08672C 800ED27C 8C63CFD8 */ lw $v1, -0x3028($v1) -/* 086730 800ED280 C7AE0030 */ lwc1 $f14, 0x30($sp) -/* 086734 800ED284 C7A0002C */ lwc1 $f0, 0x2c($sp) -/* 086738 800ED288 000310C0 */ sll $v0, $v1, 3 -/* 08673C 800ED28C 00431021 */ addu $v0, $v0, $v1 -/* 086740 800ED290 00021080 */ sll $v0, $v0, 2 -/* 086744 800ED294 3C048010 */ lui $a0, 0x8010 -/* 086748 800ED298 00822021 */ addu $a0, $a0, $v0 -/* 08674C 800ED29C 8C84835C */ lw $a0, -0x7ca4($a0) -/* 086750 800ED2A0 8E220000 */ lw $v0, ($s1) -/* 086754 800ED2A4 2403F7FF */ addiu $v1, $zero, -0x801 -/* 086758 800ED2A8 E634001C */ swc1 $f20, 0x1c($s1) -/* 08675C 800ED2AC E620003C */ swc1 $f0, 0x3c($s1) -/* 086760 800ED2B0 00431024 */ and $v0, $v0, $v1 -/* 086764 800ED2B4 AE220000 */ sw $v0, ($s1) -/* 086768 800ED2B8 AE240028 */ sw $a0, 0x28($s1) -/* 08676C 800ED2BC 8E660028 */ lw $a2, 0x28($s3) -/* 086770 800ED2C0 0C00A720 */ jal atan2 -/* 086774 800ED2C4 8E670030 */ lw $a3, 0x30($s3) -/* 086778 800ED2C8 0220202D */ daddu $a0, $s1, $zero -/* 08677C 800ED2CC 24050002 */ addiu $a1, $zero, 2 -/* 086780 800ED2D0 0C00F598 */ jal func_8003D660 -/* 086784 800ED2D4 E480000C */ swc1 $f0, 0xc($a0) -/* 086788 800ED2D8 24020032 */ addiu $v0, $zero, 0x32 -.L800ED2DC: -/* 08678C 800ED2DC 3C018011 */ lui $at, 0x8011 -/* 086790 800ED2E0 A422CFC8 */ sh $v0, -0x3038($at) -.L800ED2E4: -/* 086794 800ED2E4 8FBF0050 */ lw $ra, 0x50($sp) -/* 086798 800ED2E8 8FB5004C */ lw $s5, 0x4c($sp) -/* 08679C 800ED2EC 8FB40048 */ lw $s4, 0x48($sp) -/* 0867A0 800ED2F0 8FB30044 */ lw $s3, 0x44($sp) -/* 0867A4 800ED2F4 8FB20040 */ lw $s2, 0x40($sp) -/* 0867A8 800ED2F8 8FB1003C */ lw $s1, 0x3c($sp) -/* 0867AC 800ED2FC 8FB00038 */ lw $s0, 0x38($sp) -/* 0867B0 800ED300 D7B60060 */ ldc1 $f22, 0x60($sp) -/* 0867B4 800ED304 D7B40058 */ ldc1 $f20, 0x58($sp) -/* 0867B8 800ED308 03E00008 */ jr $ra -/* 0867BC 800ED30C 27BD0068 */ addiu $sp, $sp, 0x68 - -enable_partner_flying: -/* 0867C0 800ED310 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 0867C4 800ED314 AFB00010 */ sw $s0, 0x10($sp) -/* 0867C8 800ED318 0080802D */ daddu $s0, $a0, $zero -/* 0867CC 800ED31C 3C048011 */ lui $a0, 0x8011 -/* 0867D0 800ED320 2484CD38 */ addiu $a0, $a0, -0x32c8 -/* 0867D4 800ED324 0000302D */ daddu $a2, $zero, $zero -/* 0867D8 800ED328 3C028010 */ lui $v0, 0x8010 -/* 0867DC 800ED32C 2442833C */ addiu $v0, $v0, -0x7cc4 -/* 0867E0 800ED330 0040482D */ daddu $t1, $v0, $zero -/* 0867E4 800ED334 3C028010 */ lui $v0, 0x8010 -/* 0867E8 800ED338 24428340 */ addiu $v0, $v0, -0x7cc0 -/* 0867EC 800ED33C 0040402D */ daddu $t0, $v0, $zero -/* 0867F0 800ED340 3C028010 */ lui $v0, 0x8010 -/* 0867F4 800ED344 24428344 */ addiu $v0, $v0, -0x7cbc -/* 0867F8 800ED348 0040382D */ daddu $a3, $v0, $zero -/* 0867FC 800ED34C AFBF0014 */ sw $ra, 0x14($sp) -/* 086800 800ED350 C5200000 */ lwc1 $f0, ($t1) -/* 086804 800ED354 C5020000 */ lwc1 $f2, ($t0) -/* 086808 800ED358 C4E40000 */ lwc1 $f4, ($a3) -/* 08680C 800ED35C 2483000C */ addiu $v1, $a0, 0xc -/* 086810 800ED360 E6000038 */ swc1 $f0, 0x38($s0) -/* 086814 800ED364 E602003C */ swc1 $f2, 0x3c($s0) -/* 086818 800ED368 E6040040 */ swc1 $f4, 0x40($s0) -.L800ED36C: -/* 08681C 800ED36C 24C60001 */ addiu $a2, $a2, 1 -/* 086820 800ED370 C5200000 */ lwc1 $f0, ($t1) -/* 086824 800ED374 C5020000 */ lwc1 $f2, ($t0) -/* 086828 800ED378 C4E40000 */ lwc1 $f4, ($a3) -/* 08682C 800ED37C 28C20028 */ slti $v0, $a2, 0x28 -/* 086830 800ED380 E460FFF8 */ swc1 $f0, -8($v1) -/* 086834 800ED384 E462FFFC */ swc1 $f2, -4($v1) -/* 086838 800ED388 E4640000 */ swc1 $f4, ($v1) -/* 08683C 800ED38C 24630010 */ addiu $v1, $v1, 0x10 -/* 086840 800ED390 A0800000 */ sb $zero, ($a0) -/* 086844 800ED394 1440FFF5 */ bnez $v0, .L800ED36C -/* 086848 800ED398 24840010 */ addiu $a0, $a0, 0x10 -/* 08684C 800ED39C 3C018011 */ lui $at, 0x8011 -/* 086850 800ED3A0 AC20CFB8 */ sw $zero, -0x3048($at) -/* 086854 800ED3A4 3C018011 */ lui $at, 0x8011 -/* 086858 800ED3A8 AC20CFBC */ sw $zero, -0x3044($at) -/* 08685C 800ED3AC 14A00005 */ bnez $a1, .L800ED3C4 -/* 086860 800ED3B0 00000000 */ nop -/* 086864 800ED3B4 3C018011 */ lui $at, 0x8011 -/* 086868 800ED3B8 A420CFC8 */ sh $zero, -0x3038($at) -/* 08686C 800ED3BC 0803B50B */ j .L800ED42C -/* 086870 800ED3C0 00000000 */ nop - -.L800ED3C4: -/* 086874 800ED3C4 3C048011 */ lui $a0, 0x8011 -/* 086878 800ED3C8 2484CFC4 */ addiu $a0, $a0, -0x303c -/* 08687C 800ED3CC 8C830000 */ lw $v1, ($a0) -/* 086880 800ED3D0 14600009 */ bnez $v1, .L800ED3F8 -/* 086884 800ED3D4 24020001 */ addiu $v0, $zero, 1 -/* 086888 800ED3D8 2402000F */ addiu $v0, $zero, 0xf -/* 08688C 800ED3DC 3C018011 */ lui $at, 0x8011 -/* 086890 800ED3E0 A422CFC8 */ sh $v0, -0x3038($at) -/* 086894 800ED3E4 24020002 */ addiu $v0, $zero, 2 -/* 086898 800ED3E8 3C018011 */ lui $at, 0x8011 -/* 08689C 800ED3EC A422CFCA */ sh $v0, -0x3036($at) -/* 0868A0 800ED3F0 0803B50D */ j .L800ED434 -/* 0868A4 800ED3F4 00000000 */ nop - -.L800ED3F8: -/* 0868A8 800ED3F8 10620003 */ beq $v1, $v0, .L800ED408 -/* 0868AC 800ED3FC 24020003 */ addiu $v0, $zero, 3 -/* 0868B0 800ED400 14620006 */ bne $v1, $v0, .L800ED41C -/* 0868B4 800ED404 24020002 */ addiu $v0, $zero, 2 -.L800ED408: -/* 0868B8 800ED408 AC800000 */ sw $zero, ($a0) -/* 0868BC 800ED40C 3C018011 */ lui $at, 0x8011 -/* 0868C0 800ED410 A420CFC8 */ sh $zero, -0x3038($at) -/* 0868C4 800ED414 0803B50B */ j .L800ED42C -/* 0868C8 800ED418 00000000 */ nop - -.L800ED41C: -/* 0868CC 800ED41C 14620005 */ bne $v1, $v0, .L800ED434 -/* 0868D0 800ED420 24020032 */ addiu $v0, $zero, 0x32 -/* 0868D4 800ED424 3C018011 */ lui $at, 0x8011 -/* 0868D8 800ED428 A422CFC8 */ sh $v0, -0x3038($at) -.L800ED42C: -/* 0868DC 800ED42C 3C018011 */ lui $at, 0x8011 -/* 0868E0 800ED430 A420CFCA */ sh $zero, -0x3036($at) -.L800ED434: -/* 0868E4 800ED434 3C038011 */ lui $v1, 0x8011 -/* 0868E8 800ED438 8C63CFD8 */ lw $v1, -0x3028($v1) -/* 0868EC 800ED43C 3C014220 */ lui $at, 0x4220 -/* 0868F0 800ED440 44810000 */ mtc1 $at, $f0 -/* 0868F4 800ED444 0200202D */ daddu $a0, $s0, $zero -/* 0868F8 800ED448 3C018011 */ lui $at, 0x8011 -/* 0868FC 800ED44C A420CFCE */ sh $zero, -0x3032($at) -/* 086900 800ED450 3C018011 */ lui $at, 0x8011 -/* 086904 800ED454 A420CFCC */ sh $zero, -0x3034($at) -/* 086908 800ED458 000310C0 */ sll $v0, $v1, 3 -/* 08690C 800ED45C 00431021 */ addu $v0, $v0, $v1 -/* 086910 800ED460 00021080 */ sll $v0, $v0, 2 -/* 086914 800ED464 3C038010 */ lui $v1, 0x8010 -/* 086918 800ED468 00621821 */ addu $v1, $v1, $v0 -/* 08691C 800ED46C 8C63835C */ lw $v1, -0x7ca4($v1) -/* 086920 800ED470 24020010 */ addiu $v0, $zero, 0x10 -/* 086924 800ED474 3C018010 */ lui $at, 0x8010 -/* 086928 800ED478 AC22802C */ sw $v0, -0x7fd4($at) -/* 08692C 800ED47C 3C018011 */ lui $at, 0x8011 -/* 086930 800ED480 E420CFC0 */ swc1 $f0, -0x3040($at) -/* 086934 800ED484 0C03A96E */ jal func_800EA5B8 -/* 086938 800ED488 AE030028 */ sw $v1, 0x28($s0) -/* 08693C 800ED48C 8E020000 */ lw $v0, ($s0) -/* 086940 800ED490 3C030001 */ lui $v1, 1 -/* 086944 800ED494 AE030080 */ sw $v1, 0x80($s0) -/* 086948 800ED498 2403FDFF */ addiu $v1, $zero, -0x201 -/* 08694C 800ED49C 34420100 */ ori $v0, $v0, 0x100 -/* 086950 800ED4A0 00431024 */ and $v0, $v0, $v1 -/* 086954 800ED4A4 AE020000 */ sw $v0, ($s0) -/* 086958 800ED4A8 8FBF0014 */ lw $ra, 0x14($sp) -/* 08695C 800ED4AC 8FB00010 */ lw $s0, 0x10($sp) -/* 086960 800ED4B0 03E00008 */ jr $ra -/* 086964 800ED4B4 27BD0018 */ addiu $sp, $sp, 0x18 - -update_player_move_history: -/* 086968 800ED4B8 3C058011 */ lui $a1, 0x8011 -/* 08696C 800ED4BC 24A5EFC8 */ addiu $a1, $a1, -0x1038 -/* 086970 800ED4C0 24020017 */ addiu $v0, $zero, 0x17 -/* 086974 800ED4C4 80A300B4 */ lb $v1, 0xb4($a1) -/* 086978 800ED4C8 C4A4002C */ lwc1 $f4, 0x2c($a1) -/* 08697C 800ED4CC 10620004 */ beq $v1, $v0, .L800ED4E0 -/* 086980 800ED4D0 0000302D */ daddu $a2, $zero, $zero -/* 086984 800ED4D4 24020015 */ addiu $v0, $zero, 0x15 -/* 086988 800ED4D8 14620008 */ bne $v1, $v0, .L800ED4FC -/* 08698C 800ED4DC 00000000 */ nop -.L800ED4E0: -/* 086990 800ED4E0 84A20018 */ lh $v0, 0x18($a1) -/* 086994 800ED4E4 848300A8 */ lh $v1, 0xa8($a0) -/* 086998 800ED4E8 00431021 */ addu $v0, $v0, $v1 -/* 08699C 800ED4EC 24420005 */ addiu $v0, $v0, 5 -/* 0869A0 800ED4F0 44822000 */ mtc1 $v0, $f4 -/* 0869A4 800ED4F4 00000000 */ nop -/* 0869A8 800ED4F8 46802120 */ cvt.s.w $f4, $f4 -.L800ED4FC: -/* 0869AC 800ED4FC 3C028011 */ lui $v0, 0x8011 -/* 0869B0 800ED500 8C42CFB8 */ lw $v0, -0x3048($v0) -/* 0869B4 800ED504 3C038011 */ lui $v1, 0x8011 -/* 0869B8 800ED508 2463CD38 */ addiu $v1, $v1, -0x32c8 -/* 0869BC 800ED50C 00021100 */ sll $v0, $v0, 4 -/* 0869C0 800ED510 00431821 */ addu $v1, $v0, $v1 -/* 0869C4 800ED514 80620000 */ lb $v0, ($v1) -/* 0869C8 800ED518 10400003 */ beqz $v0, .L800ED528 -/* 0869CC 800ED51C 00000000 */ nop -/* 0869D0 800ED520 14C00029 */ bnez $a2, .L800ED5C8 -/* 0869D4 800ED524 00000000 */ nop -.L800ED528: -/* 0869D8 800ED528 C4620004 */ lwc1 $f2, 4($v1) -/* 0869DC 800ED52C C4A00028 */ lwc1 $f0, 0x28($a1) -/* 0869E0 800ED530 46001032 */ c.eq.s $f2, $f0 -/* 0869E4 800ED534 00000000 */ nop -/* 0869E8 800ED538 4500000C */ bc1f .L800ED56C -/* 0869EC 800ED53C 00000000 */ nop -/* 0869F0 800ED540 C4600008 */ lwc1 $f0, 8($v1) -/* 0869F4 800ED544 46040032 */ c.eq.s $f0, $f4 -/* 0869F8 800ED548 00000000 */ nop -/* 0869FC 800ED54C 45000007 */ bc1f .L800ED56C -/* 086A00 800ED550 00000000 */ nop -/* 086A04 800ED554 C462000C */ lwc1 $f2, 0xc($v1) -/* 086A08 800ED558 C4A00030 */ lwc1 $f0, 0x30($a1) -/* 086A0C 800ED55C 46001032 */ c.eq.s $f2, $f0 -/* 086A10 800ED560 00000000 */ nop -/* 086A14 800ED564 45010018 */ bc1t .L800ED5C8 -/* 086A18 800ED568 00000000 */ nop -.L800ED56C: -/* 086A1C 800ED56C 3C048011 */ lui $a0, 0x8011 -/* 086A20 800ED570 2484CFB8 */ addiu $a0, $a0, -0x3048 -/* 086A24 800ED574 8C820000 */ lw $v0, ($a0) -/* 086A28 800ED578 3C038011 */ lui $v1, 0x8011 -/* 086A2C 800ED57C 8C63CFBC */ lw $v1, -0x3044($v1) -/* 086A30 800ED580 24420001 */ addiu $v0, $v0, 1 -/* 086A34 800ED584 10620010 */ beq $v1, $v0, .L800ED5C8 -/* 086A38 800ED588 00000000 */ nop -/* 086A3C 800ED58C AC820000 */ sw $v0, ($a0) -/* 086A40 800ED590 28420028 */ slti $v0, $v0, 0x28 -/* 086A44 800ED594 50400001 */ beql $v0, $zero, .L800ED59C -/* 086A48 800ED598 AC800000 */ sw $zero, ($a0) -.L800ED59C: -/* 086A4C 800ED59C 3C038011 */ lui $v1, 0x8011 -/* 086A50 800ED5A0 2463CD38 */ addiu $v1, $v1, -0x32c8 -/* 086A54 800ED5A4 8C820000 */ lw $v0, ($a0) -/* 086A58 800ED5A8 C4A00028 */ lwc1 $f0, 0x28($a1) -/* 086A5C 800ED5AC 00021100 */ sll $v0, $v0, 4 -/* 086A60 800ED5B0 00431821 */ addu $v1, $v0, $v1 -/* 086A64 800ED5B4 E4600004 */ swc1 $f0, 4($v1) -/* 086A68 800ED5B8 E4640008 */ swc1 $f4, 8($v1) -/* 086A6C 800ED5BC C4A00030 */ lwc1 $f0, 0x30($a1) -/* 086A70 800ED5C0 A0660000 */ sb $a2, ($v1) -/* 086A74 800ED5C4 E460000C */ swc1 $f0, 0xc($v1) -.L800ED5C8: -/* 086A78 800ED5C8 03E00008 */ jr $ra -/* 086A7C 800ED5CC 00000000 */ nop - -/* 086A80 800ED5D0 3C028007 */ lui $v0, 0x8007 -/* 086A84 800ED5D4 8C42419C */ lw $v0, 0x419c($v0) -/* 086A88 800ED5D8 27BDFFB0 */ addiu $sp, $sp, -0x50 -/* 086A8C 800ED5DC AFB00030 */ sw $s0, 0x30($sp) -/* 086A90 800ED5E0 AFB20038 */ sw $s2, 0x38($sp) -/* 086A94 800ED5E4 3C128011 */ lui $s2, 0x8011 -/* 086A98 800ED5E8 2652EFC8 */ addiu $s2, $s2, -0x1038 -/* 086A9C 800ED5EC AFBF004C */ sw $ra, 0x4c($sp) -/* 086AA0 800ED5F0 AFB60048 */ sw $s6, 0x48($sp) -/* 086AA4 800ED5F4 AFB50044 */ sw $s5, 0x44($sp) -/* 086AA8 800ED5F8 AFB40040 */ sw $s4, 0x40($sp) -/* 086AAC 800ED5FC AFB3003C */ sw $s3, 0x3c($sp) -/* 086AB0 800ED600 AFB10034 */ sw $s1, 0x34($sp) -/* 086AB4 800ED604 80420081 */ lb $v0, 0x81($v0) -/* 086AB8 800ED608 3C118011 */ lui $s1, 0x8011 -/* 086ABC 800ED60C 2631EBB0 */ addiu $s1, $s1, -0x1450 -/* 086AC0 800ED610 1040000B */ beqz $v0, .L800ED640 -/* 086AC4 800ED614 0080802D */ daddu $s0, $a0, $zero -/* 086AC8 800ED618 8E420000 */ lw $v0, ($s2) -/* 086ACC 800ED61C 30423000 */ andi $v0, $v0, 0x3000 -/* 086AD0 800ED620 14400007 */ bnez $v0, .L800ED640 -/* 086AD4 800ED624 00000000 */ nop -/* 086AD8 800ED628 82220014 */ lb $v0, 0x14($s1) -/* 086ADC 800ED62C 14400004 */ bnez $v0, .L800ED640 -/* 086AE0 800ED630 00000000 */ nop -/* 086AE4 800ED634 82220002 */ lb $v0, 2($s1) -/* 086AE8 800ED638 1040000F */ beqz $v0, .L800ED678 -/* 086AEC 800ED63C 00000000 */ nop -.L800ED640: -/* 086AF0 800ED640 8E420004 */ lw $v0, 4($s2) -/* 086AF4 800ED644 30420800 */ andi $v0, $v0, 0x800 -/* 086AF8 800ED648 10400005 */ beqz $v0, .L800ED660 -/* 086AFC 800ED64C 00000000 */ nop -/* 086B00 800ED650 3C028010 */ lui $v0, 0x8010 -/* 086B04 800ED654 8C428020 */ lw $v0, -0x7fe0($v0) -/* 086B08 800ED658 14400003 */ bnez $v0, .L800ED668 -/* 086B0C 800ED65C 00000000 */ nop -.L800ED660: -/* 086B10 800ED660 0C03B67E */ jal func_800ED9F8 -/* 086B14 800ED664 0200202D */ daddu $a0, $s0, $zero -.L800ED668: -/* 086B18 800ED668 8E22000C */ lw $v0, 0xc($s1) -/* 086B1C 800ED66C 30426006 */ andi $v0, $v0, 0x6006 -/* 086B20 800ED670 54400001 */ bnel $v0, $zero, .L800ED678 -/* 086B24 800ED674 A2200002 */ sb $zero, 2($s1) -.L800ED678: -/* 086B28 800ED678 3C038011 */ lui $v1, 0x8011 -/* 086B2C 800ED67C 8463CFC8 */ lh $v1, -0x3038($v1) -/* 086B30 800ED680 24020032 */ addiu $v0, $zero, 0x32 -/* 086B34 800ED684 10620017 */ beq $v1, $v0, .L800ED6E4 -/* 086B38 800ED688 0000202D */ daddu $a0, $zero, $zero -/* 086B3C 800ED68C C600003C */ lwc1 $f0, 0x3c($s0) -/* 086B40 800ED690 C642002C */ lwc1 $f2, 0x2c($s2) -/* 086B44 800ED694 46020001 */ sub.s $f0, $f0, $f2 -/* 086B48 800ED698 3C01447A */ lui $at, 0x447a -/* 086B4C 800ED69C 44811000 */ mtc1 $at, $f2 -/* 086B50 800ED6A0 46000005 */ abs.s $f0, $f0 -/* 086B54 800ED6A4 4600103C */ c.lt.s $f2, $f0 -/* 086B58 800ED6A8 00000000 */ nop -/* 086B5C 800ED6AC 4500000D */ bc1f .L800ED6E4 -/* 086B60 800ED6B0 2403F7FF */ addiu $v1, $zero, -0x801 -/* 086B64 800ED6B4 C6400028 */ lwc1 $f0, 0x28($s2) -/* 086B68 800ED6B8 8E020000 */ lw $v0, ($s0) -/* 086B6C 800ED6BC E6000038 */ swc1 $f0, 0x38($s0) -/* 086B70 800ED6C0 C640002C */ lwc1 $f0, 0x2c($s2) -/* 086B74 800ED6C4 E600003C */ swc1 $f0, 0x3c($s0) -/* 086B78 800ED6C8 C6400030 */ lwc1 $f0, 0x30($s2) -/* 086B7C 800ED6CC 00431024 */ and $v0, $v0, $v1 -/* 086B80 800ED6D0 AE00001C */ sw $zero, 0x1c($s0) -/* 086B84 800ED6D4 AE000014 */ sw $zero, 0x14($s0) -/* 086B88 800ED6D8 AE020000 */ sw $v0, ($s0) -/* 086B8C 800ED6DC E6000040 */ swc1 $f0, 0x40($s0) -/* 086B90 800ED6E0 0000202D */ daddu $a0, $zero, $zero -.L800ED6E4: -/* 086B94 800ED6E4 27B30020 */ addiu $s3, $sp, 0x20 -/* 086B98 800ED6E8 0260282D */ daddu $a1, $s3, $zero -/* 086B9C 800ED6EC 27B50024 */ addiu $s5, $sp, 0x24 -/* 086BA0 800ED6F0 02A0302D */ daddu $a2, $s5, $zero -/* 086BA4 800ED6F4 27B60028 */ addiu $s6, $sp, 0x28 -/* 086BA8 800ED6F8 02C0382D */ daddu $a3, $s6, $zero -/* 086BAC 800ED6FC 860200A8 */ lh $v0, 0xa8($s0) -/* 086BB0 800ED700 3C013F00 */ lui $at, 0x3f00 -/* 086BB4 800ED704 44811000 */ mtc1 $at, $f2 -/* 086BB8 800ED708 44823000 */ mtc1 $v0, $f6 -/* 086BBC 800ED70C 00000000 */ nop -/* 086BC0 800ED710 468031A0 */ cvt.s.w $f6, $f6 -/* 086BC4 800ED714 46023182 */ mul.s $f6, $f6, $f2 -/* 086BC8 800ED718 00000000 */ nop -/* 086BCC 800ED71C 3C148010 */ lui $s4, 0x8010 -/* 086BD0 800ED720 26948020 */ addiu $s4, $s4, -0x7fe0 -/* 086BD4 800ED724 27B1002C */ addiu $s1, $sp, 0x2c -/* 086BD8 800ED728 C6000038 */ lwc1 $f0, 0x38($s0) -/* 086BDC 800ED72C 44822000 */ mtc1 $v0, $f4 -/* 086BE0 800ED730 00000000 */ nop -/* 086BE4 800ED734 46802120 */ cvt.s.w $f4, $f4 -/* 086BE8 800ED738 46022102 */ mul.s $f4, $f4, $f2 -/* 086BEC 800ED73C 00000000 */ nop -/* 086BF0 800ED740 AE800000 */ sw $zero, ($s4) -/* 086BF4 800ED744 E7A00020 */ swc1 $f0, 0x20($sp) -/* 086BF8 800ED748 C600003C */ lwc1 $f0, 0x3c($s0) -/* 086BFC 800ED74C C6020040 */ lwc1 $f2, 0x40($s0) -/* 086C00 800ED750 46060000 */ add.s $f0, $f0, $f6 -/* 086C04 800ED754 E7A20028 */ swc1 $f2, 0x28($sp) -/* 086C08 800ED758 E7A4002C */ swc1 $f4, 0x2c($sp) -/* 086C0C 800ED75C E7A00024 */ swc1 $f0, 0x24($sp) -/* 086C10 800ED760 0C03739C */ jal func_800DCE70 -/* 086C14 800ED764 AFB10010 */ sw $s1, 0x10($sp) -/* 086C18 800ED768 10400006 */ beqz $v0, .L800ED784 -/* 086C1C 800ED76C 24020001 */ addiu $v0, $zero, 1 -/* 086C20 800ED770 C6000038 */ lwc1 $f0, 0x38($s0) -/* 086C24 800ED774 C602003C */ lwc1 $f2, 0x3c($s0) -/* 086C28 800ED778 C6040040 */ lwc1 $f4, 0x40($s0) -/* 086C2C 800ED77C 0803B66E */ j .L800ED9B8 -/* 086C30 800ED780 AE820000 */ sw $v0, ($s4) - -.L800ED784: -/* 086C34 800ED784 0C03BD90 */ jal func_800EF640 -/* 086C38 800ED788 0200202D */ daddu $a0, $s0, $zero -/* 086C3C 800ED78C 3C038011 */ lui $v1, 0x8011 -/* 086C40 800ED790 8463CFC8 */ lh $v1, -0x3038($v1) -/* 086C44 800ED794 24020032 */ addiu $v0, $zero, 0x32 -/* 086C48 800ED798 10620084 */ beq $v1, $v0, .L800ED9AC -/* 086C4C 800ED79C 3C040001 */ lui $a0, 1 -/* 086C50 800ED7A0 C6000038 */ lwc1 $f0, 0x38($s0) -/* 086C54 800ED7A4 C602003C */ lwc1 $f2, 0x3c($s0) -/* 086C58 800ED7A8 C6040040 */ lwc1 $f4, 0x40($s0) -/* 086C5C 800ED7AC 3C01447A */ lui $at, 0x447a -/* 086C60 800ED7B0 44813000 */ mtc1 $at, $f6 -/* 086C64 800ED7B4 0260282D */ daddu $a1, $s3, $zero -/* 086C68 800ED7B8 E7A00020 */ swc1 $f0, 0x20($sp) -/* 086C6C 800ED7BC E7A20024 */ swc1 $f2, 0x24($sp) -/* 086C70 800ED7C0 E7A40028 */ swc1 $f4, 0x28($sp) -/* 086C74 800ED7C4 E7A6002C */ swc1 $f6, 0x2c($sp) -/* 086C78 800ED7C8 AFB10010 */ sw $s1, 0x10($sp) -/* 086C7C 800ED7CC C600000C */ lwc1 $f0, 0xc($s0) -/* 086C80 800ED7D0 02A0302D */ daddu $a2, $s5, $zero -/* 086C84 800ED7D4 E7A00014 */ swc1 $f0, 0x14($sp) -/* 086C88 800ED7D8 860200A6 */ lh $v0, 0xa6($s0) -/* 086C8C 800ED7DC 02C0382D */ daddu $a3, $s6, $zero -/* 086C90 800ED7E0 44820000 */ mtc1 $v0, $f0 -/* 086C94 800ED7E4 00000000 */ nop -/* 086C98 800ED7E8 46800020 */ cvt.s.w $f0, $f0 -/* 086C9C 800ED7EC 0C0371DE */ jal func_800DC778 -/* 086CA0 800ED7F0 E7A00018 */ swc1 $f0, 0x18($sp) -/* 086CA4 800ED7F4 14400003 */ bnez $v0, .L800ED804 -/* 086CA8 800ED7F8 00000000 */ nop -/* 086CAC 800ED7FC C640002C */ lwc1 $f0, 0x2c($s2) -/* 086CB0 800ED800 E7A00024 */ swc1 $f0, 0x24($sp) -.L800ED804: -/* 086CB4 800ED804 960200A8 */ lhu $v0, 0xa8($s0) -/* 086CB8 800ED808 C7A60024 */ lwc1 $f6, 0x24($sp) -/* 086CBC 800ED80C 00021400 */ sll $v0, $v0, 0x10 -/* 086CC0 800ED810 00021C03 */ sra $v1, $v0, 0x10 -/* 086CC4 800ED814 44830000 */ mtc1 $v1, $f0 -/* 086CC8 800ED818 00000000 */ nop -/* 086CCC 800ED81C 46800020 */ cvt.s.w $f0, $f0 -/* 086CD0 800ED820 46003200 */ add.s $f8, $f6, $f0 -/* 086CD4 800ED824 3C014000 */ lui $at, 0x4000 -/* 086CD8 800ED828 44815000 */ mtc1 $at, $f10 -/* 086CDC 800ED82C 00000000 */ nop -/* 086CE0 800ED830 460A4000 */ add.s $f0, $f8, $f10 -/* 086CE4 800ED834 C604003C */ lwc1 $f4, 0x3c($s0) -/* 086CE8 800ED838 4600203E */ c.le.s $f4, $f0 -/* 086CEC 800ED83C 00000000 */ nop -/* 086CF0 800ED840 45000024 */ bc1f .L800ED8D4 -/* 086CF4 800ED844 00000000 */ nop -/* 086CF8 800ED848 C6420054 */ lwc1 $f2, 0x54($s2) -/* 086CFC 800ED84C 44800000 */ mtc1 $zero, $f0 -/* 086D00 800ED850 00000000 */ nop -/* 086D04 800ED854 46001032 */ c.eq.s $f2, $f0 -/* 086D08 800ED858 00000000 */ nop -/* 086D0C 800ED85C 4501000C */ bc1t .L800ED890 -/* 086D10 800ED860 000217C2 */ srl $v0, $v0, 0x1f -/* 086D14 800ED864 00621021 */ addu $v0, $v1, $v0 -/* 086D18 800ED868 00021043 */ sra $v0, $v0, 1 -/* 086D1C 800ED86C 44820000 */ mtc1 $v0, $f0 -/* 086D20 800ED870 00000000 */ nop -/* 086D24 800ED874 46800020 */ cvt.s.w $f0, $f0 -/* 086D28 800ED878 46003000 */ add.s $f0, $f6, $f0 -/* 086D2C 800ED87C 460A0000 */ add.s $f0, $f0, $f10 -/* 086D30 800ED880 3C013E00 */ lui $at, 0x3e00 -/* 086D34 800ED884 44811000 */ mtc1 $at, $f2 -/* 086D38 800ED888 0803B662 */ j .L800ED988 -/* 086D3C 800ED88C 46040001 */ sub.s $f0, $f0, $f4 - -.L800ED890: -/* 086D40 800ED890 C642002C */ lwc1 $f2, 0x2c($s2) -/* 086D44 800ED894 4602303C */ c.lt.s $f6, $f2 -/* 086D48 800ED898 00000000 */ nop -/* 086D4C 800ED89C 45000005 */ bc1f .L800ED8B4 -/* 086D50 800ED8A0 00000000 */ nop -/* 086D54 800ED8A4 3C014120 */ lui $at, 0x4120 -/* 086D58 800ED8A8 44810000 */ mtc1 $at, $f0 -/* 086D5C 800ED8AC 0803B631 */ j .L800ED8C4 -/* 086D60 800ED8B0 46001000 */ add.s $f0, $f2, $f0 - -.L800ED8B4: -/* 086D64 800ED8B4 3C014120 */ lui $at, 0x4120 -/* 086D68 800ED8B8 44810000 */ mtc1 $at, $f0 -/* 086D6C 800ED8BC 00000000 */ nop -/* 086D70 800ED8C0 46003000 */ add.s $f0, $f6, $f0 -.L800ED8C4: -/* 086D74 800ED8C4 3C013E80 */ lui $at, 0x3e80 -/* 086D78 800ED8C8 44811000 */ mtc1 $at, $f2 -/* 086D7C 800ED8CC 0803B662 */ j .L800ED988 -/* 086D80 800ED8D0 46040001 */ sub.s $f0, $f0, $f4 - -.L800ED8D4: -/* 086D84 800ED8D4 864200B0 */ lh $v0, 0xb0($s2) -/* 086D88 800ED8D8 C642002C */ lwc1 $f2, 0x2c($s2) -/* 086D8C 800ED8DC 44820000 */ mtc1 $v0, $f0 -/* 086D90 800ED8E0 00000000 */ nop -/* 086D94 800ED8E4 46800020 */ cvt.s.w $f0, $f0 -/* 086D98 800ED8E8 46001080 */ add.s $f2, $f2, $f0 -/* 086D9C 800ED8EC 4606103C */ c.lt.s $f2, $f6 -/* 086DA0 800ED8F0 00000000 */ nop -/* 086DA4 800ED8F4 4500001C */ bc1f .L800ED968 -/* 086DA8 800ED8F8 00000000 */ nop -/* 086DAC 800ED8FC 46044081 */ sub.s $f2, $f8, $f4 -/* 086DB0 800ED900 3C013E00 */ lui $at, 0x3e00 -/* 086DB4 800ED904 44810000 */ mtc1 $at, $f0 -/* 086DB8 800ED908 00000000 */ nop -/* 086DBC 800ED90C 46001082 */ mul.s $f2, $f2, $f0 -/* 086DC0 800ED910 00000000 */ nop -/* 086DC4 800ED914 860200A8 */ lh $v0, 0xa8($s0) -/* 086DC8 800ED918 44820000 */ mtc1 $v0, $f0 -/* 086DCC 800ED91C 00000000 */ nop -/* 086DD0 800ED920 46800020 */ cvt.s.w $f0, $f0 -/* 086DD4 800ED924 46003000 */ add.s $f0, $f6, $f0 -/* 086DD8 800ED928 C608003C */ lwc1 $f8, 0x3c($s0) -/* 086DDC 800ED92C 46024100 */ add.s $f4, $f8, $f2 -/* 086DE0 800ED930 3C028010 */ lui $v0, 0x8010 -/* 086DE4 800ED934 244284F8 */ addiu $v0, $v0, -0x7b08 -/* 086DE8 800ED938 4600203E */ c.le.s $f4, $f0 -/* 086DEC 800ED93C 00000000 */ nop -/* 086DF0 800ED940 45000015 */ bc1f .L800ED998 -/* 086DF4 800ED944 E4420000 */ swc1 $f2, ($v0) -/* 086DF8 800ED948 46080001 */ sub.s $f0, $f0, $f8 -/* 086DFC 800ED94C 3C013E80 */ lui $at, 0x3e80 -/* 086E00 800ED950 44811000 */ mtc1 $at, $f2 -/* 086E04 800ED954 00000000 */ nop -/* 086E08 800ED958 46020002 */ mul.s $f0, $f0, $f2 -/* 086E0C 800ED95C 00000000 */ nop -/* 086E10 800ED960 0803B666 */ j .L800ED998 -/* 086E14 800ED964 E4400000 */ swc1 $f0, ($v0) - -.L800ED968: -/* 086E18 800ED968 3C0140A0 */ lui $at, 0x40a0 -/* 086E1C 800ED96C 44810000 */ mtc1 $at, $f0 -/* 086E20 800ED970 00000000 */ nop -/* 086E24 800ED974 46001000 */ add.s $f0, $f2, $f0 -/* 086E28 800ED978 46040001 */ sub.s $f0, $f0, $f4 -/* 086E2C 800ED97C 3C013D80 */ lui $at, 0x3d80 -/* 086E30 800ED980 44811000 */ mtc1 $at, $f2 -/* 086E34 800ED984 00000000 */ nop -.L800ED988: -/* 086E38 800ED988 46020002 */ mul.s $f0, $f0, $f2 -/* 086E3C 800ED98C 00000000 */ nop -/* 086E40 800ED990 3C018010 */ lui $at, 0x8010 -/* 086E44 800ED994 E42084F8 */ swc1 $f0, -0x7b08($at) -.L800ED998: -/* 086E48 800ED998 C600003C */ lwc1 $f0, 0x3c($s0) -/* 086E4C 800ED99C 3C018010 */ lui $at, 0x8010 -/* 086E50 800ED9A0 C42284F8 */ lwc1 $f2, -0x7b08($at) -/* 086E54 800ED9A4 46020000 */ add.s $f0, $f0, $f2 -/* 086E58 800ED9A8 E600003C */ swc1 $f0, 0x3c($s0) -.L800ED9AC: -/* 086E5C 800ED9AC C6000038 */ lwc1 $f0, 0x38($s0) -/* 086E60 800ED9B0 C602003C */ lwc1 $f2, 0x3c($s0) -/* 086E64 800ED9B4 C6040040 */ lwc1 $f4, 0x40($s0) -.L800ED9B8: -/* 086E68 800ED9B8 3C018010 */ lui $at, 0x8010 -/* 086E6C 800ED9BC E420833C */ swc1 $f0, -0x7cc4($at) -/* 086E70 800ED9C0 3C018010 */ lui $at, 0x8010 -/* 086E74 800ED9C4 E4228340 */ swc1 $f2, -0x7cc0($at) -/* 086E78 800ED9C8 3C018010 */ lui $at, 0x8010 -/* 086E7C 800ED9CC E4248344 */ swc1 $f4, -0x7cbc($at) -/* 086E80 800ED9D0 8FBF004C */ lw $ra, 0x4c($sp) -/* 086E84 800ED9D4 8FB60048 */ lw $s6, 0x48($sp) -/* 086E88 800ED9D8 8FB50044 */ lw $s5, 0x44($sp) -/* 086E8C 800ED9DC 8FB40040 */ lw $s4, 0x40($sp) -/* 086E90 800ED9E0 8FB3003C */ lw $s3, 0x3c($sp) -/* 086E94 800ED9E4 8FB20038 */ lw $s2, 0x38($sp) -/* 086E98 800ED9E8 8FB10034 */ lw $s1, 0x34($sp) -/* 086E9C 800ED9EC 8FB00030 */ lw $s0, 0x30($sp) -/* 086EA0 800ED9F0 03E00008 */ jr $ra -/* 086EA4 800ED9F4 27BD0050 */ addiu $sp, $sp, 0x50 - -func_800ED9F8: -/* 086EA8 800ED9F8 3C038011 */ lui $v1, 0x8011 -/* 086EAC 800ED9FC 8463CFC8 */ lh $v1, -0x3038($v1) -/* 086EB0 800EDA00 27BDFFA0 */ addiu $sp, $sp, -0x60 -/* 086EB4 800EDA04 AFB10034 */ sw $s1, 0x34($sp) -/* 086EB8 800EDA08 AFB3003C */ sw $s3, 0x3c($sp) -/* 086EBC 800EDA0C 3C138011 */ lui $s3, 0x8011 -/* 086EC0 800EDA10 2673EFC8 */ addiu $s3, $s3, -0x1038 -/* 086EC4 800EDA14 AFB20038 */ sw $s2, 0x38($sp) -/* 086EC8 800EDA18 3C12800B */ lui $s2, 0x800b -/* 086ECC 800EDA1C 26521D80 */ addiu $s2, $s2, 0x1d80 -/* 086ED0 800EDA20 AFBF0044 */ sw $ra, 0x44($sp) -/* 086ED4 800EDA24 AFB40040 */ sw $s4, 0x40($sp) -/* 086ED8 800EDA28 AFB00030 */ sw $s0, 0x30($sp) -/* 086EDC 800EDA2C F7B80058 */ sdc1 $f24, 0x58($sp) -/* 086EE0 800EDA30 F7B60050 */ sdc1 $f22, 0x50($sp) -/* 086EE4 800EDA34 F7B40048 */ sdc1 $f20, 0x48($sp) -/* 086EE8 800EDA38 2C620033 */ sltiu $v0, $v1, 0x33 -/* 086EEC 800EDA3C 104003CA */ beqz $v0, .L800EE968 -/* 086EF0 800EDA40 0080882D */ daddu $s1, $a0, $zero -/* 086EF4 800EDA44 00031080 */ sll $v0, $v1, 2 -/* 086EF8 800EDA48 3C018011 */ lui $at, 0x8011 -/* 086EFC 800EDA4C 00220821 */ addu $at, $at, $v0 -/* 086F00 800EDA50 8C22C218 */ lw $v0, -0x3de8($at) -/* 086F04 800EDA54 00400008 */ jr $v0 -/* 086F08 800EDA58 00000000 */ nop -/* 086F0C 800EDA5C 3C038011 */ lui $v1, 0x8011 -/* 086F10 800EDA60 2463CD38 */ addiu $v1, $v1, -0x32c8 -/* 086F14 800EDA64 44806000 */ mtc1 $zero, $f12 -/* 086F18 800EDA68 3C028011 */ lui $v0, 0x8011 -/* 086F1C 800EDA6C 8C42CFBC */ lw $v0, -0x3044($v0) -/* 086F20 800EDA70 C6220038 */ lwc1 $f2, 0x38($s1) -/* 086F24 800EDA74 C624003C */ lwc1 $f4, 0x3c($s1) -/* 086F28 800EDA78 3C018011 */ lui $at, 0x8011 -/* 086F2C 800EDA7C C42ACFC0 */ lwc1 $f10, -0x3040($at) -/* 086F30 800EDA80 3C0141A0 */ lui $at, 0x41a0 -/* 086F34 800EDA84 44814000 */ mtc1 $at, $f8 -/* 086F38 800EDA88 C6200040 */ lwc1 $f0, 0x40($s1) -/* 086F3C 800EDA8C 00021100 */ sll $v0, $v0, 4 -/* 086F40 800EDA90 00438021 */ addu $s0, $v0, $v1 -/* 086F44 800EDA94 C6160004 */ lwc1 $f22, 4($s0) -/* 086F48 800EDA98 C6060008 */ lwc1 $f6, 8($s0) -/* 086F4C 800EDA9C C614000C */ lwc1 $f20, 0xc($s0) -/* 086F50 800EDAA0 4608503C */ c.lt.s $f10, $f8 -/* 086F54 800EDAA4 E7A20020 */ swc1 $f2, 0x20($sp) -/* 086F58 800EDAA8 E7A40024 */ swc1 $f4, 0x24($sp) -/* 086F5C 800EDAAC E7A00028 */ swc1 $f0, 0x28($sp) -/* 086F60 800EDAB0 3C018010 */ lui $at, 0x8010 -/* 086F64 800EDAB4 E422833C */ swc1 $f2, -0x7cc4($at) -/* 086F68 800EDAB8 3C018010 */ lui $at, 0x8010 -/* 086F6C 800EDABC E4248340 */ swc1 $f4, -0x7cc0($at) -/* 086F70 800EDAC0 3C018010 */ lui $at, 0x8010 -/* 086F74 800EDAC4 E4208344 */ swc1 $f0, -0x7cbc($at) -/* 086F78 800EDAC8 45020008 */ bc1fl .L800EDAEC -/* 086F7C 800EDACC 46083000 */ add.s $f0, $f6, $f8 -/* 086F80 800EDAD0 460A4081 */ sub.s $f2, $f8, $f10 -/* 086F84 800EDAD4 3C013F00 */ lui $at, 0x3f00 -/* 086F88 800EDAD8 44810000 */ mtc1 $at, $f0 -/* 086F8C 800EDADC 00000000 */ nop -/* 086F90 800EDAE0 46001302 */ mul.s $f12, $f2, $f0 -/* 086F94 800EDAE4 00000000 */ nop -/* 086F98 800EDAE8 46083000 */ add.s $f0, $f6, $f8 -.L800EDAEC: -/* 086F9C 800EDAEC 460C0000 */ add.s $f0, $f0, $f12 -/* 086FA0 800EDAF0 46040001 */ sub.s $f0, $f0, $f4 -/* 086FA4 800EDAF4 3C013E00 */ lui $at, 0x3e00 -/* 086FA8 800EDAF8 44811000 */ mtc1 $at, $f2 -/* 086FAC 800EDAFC 00000000 */ nop -/* 086FB0 800EDB00 46020002 */ mul.s $f0, $f0, $f2 -/* 086FB4 800EDB04 00000000 */ nop -/* 086FB8 800EDB08 C62E0040 */ lwc1 $f14, 0x40($s1) -/* 086FBC 800EDB0C C62C0038 */ lwc1 $f12, 0x38($s1) -/* 086FC0 800EDB10 3C014040 */ lui $at, 0x4040 -/* 086FC4 800EDB14 44811000 */ mtc1 $at, $f2 -/* 086FC8 800EDB18 46002000 */ add.s $f0, $f4, $f0 -/* 086FCC 800EDB1C E6220018 */ swc1 $f2, 0x18($s1) -/* 086FD0 800EDB20 E620003C */ swc1 $f0, 0x3c($s1) -/* 086FD4 800EDB24 8E660028 */ lw $a2, 0x28($s3) -/* 086FD8 800EDB28 8E670030 */ lw $a3, 0x30($s3) -/* 086FDC 800EDB2C 0C00A7B5 */ jal dist2D -/* 086FE0 800EDB30 E7A00024 */ swc1 $f0, 0x24($sp) -/* 086FE4 800EDB34 3C014049 */ lui $at, 0x4049 -/* 086FE8 800EDB38 44811800 */ mtc1 $at, $f3 -/* 086FEC 800EDB3C 44801000 */ mtc1 $zero, $f2 -/* 086FF0 800EDB40 46000106 */ mov.s $f4, $f0 -/* 086FF4 800EDB44 E7A0002C */ swc1 $f0, 0x2c($sp) -/* 086FF8 800EDB48 46002021 */ cvt.d.s $f0, $f4 -/* 086FFC 800EDB4C 4620103E */ c.le.d $f2, $f0 -/* 087000 800EDB50 00000000 */ nop -/* 087004 800EDB54 45000033 */ bc1f .L800EDC24 -/* 087008 800EDB58 00000000 */ nop -/* 08700C 800EDB5C C622003C */ lwc1 $f2, 0x3c($s1) -/* 087010 800EDB60 C660002C */ lwc1 $f0, 0x2c($s3) -/* 087014 800EDB64 4602003E */ c.le.s $f0, $f2 -/* 087018 800EDB68 00000000 */ nop -/* 08701C 800EDB6C 45000029 */ bc1f .L800EDC14 -/* 087020 800EDB70 00000000 */ nop -/* 087024 800EDB74 3C013E80 */ lui $at, 0x3e80 -/* 087028 800EDB78 44810000 */ mtc1 $at, $f0 -/* 08702C 800EDB7C 00000000 */ nop -/* 087030 800EDB80 46002002 */ mul.s $f0, $f4, $f0 -/* 087034 800EDB84 00000000 */ nop -/* 087038 800EDB88 0803B709 */ j .L800EDC24 -/* 08703C 800EDB8C E6200018 */ swc1 $f0, 0x18($s1) - -.L800EDB90: -/* 087040 800EDB90 3C0140C0 */ lui $at, 0x40c0 -/* 087044 800EDB94 44810000 */ mtc1 $at, $f0 -.L800EDB98: -/* 087048 800EDB98 0803B76E */ j .L800EDDB8 -/* 08704C 800EDB9C E6200018 */ swc1 $f0, 0x18($s1) - -.L800EDBA0: -/* 087050 800EDBA0 C634000C */ lwc1 $f20, 0xc($s1) -/* 087054 800EDBA4 3C028011 */ lui $v0, 0x8011 -/* 087058 800EDBA8 8C42CFD8 */ lw $v0, -0x3028($v0) -/* 08705C 800EDBAC AE200018 */ sw $zero, 0x18($s1) -/* 087060 800EDBB0 AE200014 */ sw $zero, 0x14($s1) -/* 087064 800EDBB4 000218C0 */ sll $v1, $v0, 3 -/* 087068 800EDBB8 00621821 */ addu $v1, $v1, $v0 -/* 08706C 800EDBBC 00031880 */ sll $v1, $v1, 2 -/* 087070 800EDBC0 3C028010 */ lui $v0, 0x8010 -/* 087074 800EDBC4 00431021 */ addu $v0, $v0, $v1 -/* 087078 800EDBC8 8C42835C */ lw $v0, -0x7ca4($v0) -/* 08707C 800EDBCC 0803B76E */ j .L800EDDB8 -/* 087080 800EDBD0 AE220028 */ sw $v0, 0x28($s1) - -.L800EDBD4: -/* 087084 800EDBD4 C634000C */ lwc1 $f20, 0xc($s1) -/* 087088 800EDBD8 3C038011 */ lui $v1, 0x8011 -/* 08708C 800EDBDC 8C63CFD8 */ lw $v1, -0x3028($v1) -/* 087090 800EDBE0 AE200018 */ sw $zero, 0x18($s1) -/* 087094 800EDBE4 AE200014 */ sw $zero, 0x14($s1) -/* 087098 800EDBE8 000310C0 */ sll $v0, $v1, 3 -/* 08709C 800EDBEC 00431021 */ addu $v0, $v0, $v1 -/* 0870A0 800EDBF0 00021080 */ sll $v0, $v0, 2 -/* 0870A4 800EDBF4 3C038010 */ lui $v1, 0x8010 -/* 0870A8 800EDBF8 00621821 */ addu $v1, $v1, $v0 -/* 0870AC 800EDBFC 8C63835C */ lw $v1, -0x7ca4($v1) -/* 0870B0 800EDC00 24020005 */ addiu $v0, $zero, 5 -/* 0870B4 800EDC04 3C018011 */ lui $at, 0x8011 -/* 0870B8 800EDC08 A422CFC8 */ sh $v0, -0x3038($at) -/* 0870BC 800EDC0C 0803B76E */ j .L800EDDB8 -/* 0870C0 800EDC10 AE230028 */ sw $v1, 0x28($s1) - -.L800EDC14: -/* 0870C4 800EDC14 3C014100 */ lui $at, 0x4100 -/* 0870C8 800EDC18 44810000 */ mtc1 $at, $f0 -/* 0870CC 800EDC1C 00000000 */ nop -/* 0870D0 800EDC20 E6200018 */ swc1 $f0, 0x18($s1) -.L800EDC24: -/* 0870D4 800EDC24 3C018011 */ lui $at, 0x8011 -/* 0870D8 800EDC28 C422CFC0 */ lwc1 $f2, -0x3040($at) -/* 0870DC 800EDC2C 3C0141A0 */ lui $at, 0x41a0 -/* 0870E0 800EDC30 44810000 */ mtc1 $at, $f0 -/* 0870E4 800EDC34 00000000 */ nop -/* 0870E8 800EDC38 4600103C */ c.lt.s $f2, $f0 -/* 0870EC 800EDC3C 00000000 */ nop -/* 0870F0 800EDC40 45000005 */ bc1f .L800EDC58 -/* 0870F4 800EDC44 00000000 */ nop -/* 0870F8 800EDC48 3C014080 */ lui $at, 0x4080 -/* 0870FC 800EDC4C 44810000 */ mtc1 $at, $f0 -/* 087100 800EDC50 00000000 */ nop -/* 087104 800EDC54 E6200018 */ swc1 $f0, 0x18($s1) -.L800EDC58: -/* 087108 800EDC58 3C128011 */ lui $s2, 0x8011 -/* 08710C 800EDC5C 2652CFBC */ addiu $s2, $s2, -0x3044 -/* 087110 800EDC60 3C148011 */ lui $s4, 0x8011 -/* 087114 800EDC64 2694CD38 */ addiu $s4, $s4, -0x32c8 -.L800EDC68: -/* 087118 800EDC68 C7AC0020 */ lwc1 $f12, 0x20($sp) -/* 08711C 800EDC6C C7AE0028 */ lwc1 $f14, 0x28($sp) -/* 087120 800EDC70 4406B000 */ mfc1 $a2, $f22 -/* 087124 800EDC74 4407A000 */ mfc1 $a3, $f20 -/* 087128 800EDC78 0C00A720 */ jal atan2 -/* 08712C 800EDC7C 00000000 */ nop -/* 087130 800EDC80 C7AC0020 */ lwc1 $f12, 0x20($sp) -/* 087134 800EDC84 C7AE0028 */ lwc1 $f14, 0x28($sp) -/* 087138 800EDC88 4406B000 */ mfc1 $a2, $f22 -/* 08713C 800EDC8C 4407A000 */ mfc1 $a3, $f20 -/* 087140 800EDC90 0C00A7B5 */ jal dist2D -/* 087144 800EDC94 46000506 */ mov.s $f20, $f0 -/* 087148 800EDC98 E7A0002C */ swc1 $f0, 0x2c($sp) -/* 08714C 800EDC9C C6260018 */ lwc1 $f6, 0x18($s1) -/* 087150 800EDCA0 46000106 */ mov.s $f4, $f0 -/* 087154 800EDCA4 4604303C */ c.lt.s $f6, $f4 -/* 087158 800EDCA8 00000000 */ nop -/* 08715C 800EDCAC 45000026 */ bc1f .L800EDD48 -/* 087160 800EDCB0 00000000 */ nop -/* 087164 800EDCB4 C622003C */ lwc1 $f2, 0x3c($s1) -/* 087168 800EDCB8 C660002C */ lwc1 $f0, 0x2c($s3) -/* 08716C 800EDCBC 4602003E */ c.le.s $f0, $f2 -/* 087170 800EDCC0 00000000 */ nop -/* 087174 800EDCC4 45020011 */ bc1fl .L800EDD0C -/* 087178 800EDCC8 460030A1 */ cvt.d.s $f2, $f6 -/* 08717C 800EDCCC 3C013E80 */ lui $at, 0x3e80 -/* 087180 800EDCD0 44810000 */ mtc1 $at, $f0 -/* 087184 800EDCD4 00000000 */ nop -/* 087188 800EDCD8 46002002 */ mul.s $f0, $f4, $f0 -/* 08718C 800EDCDC 00000000 */ nop -/* 087190 800EDCE0 4606003E */ c.le.s $f0, $f6 -/* 087194 800EDCE4 00000000 */ nop -/* 087198 800EDCE8 45030033 */ bc1tl .L800EDDB8 -/* 08719C 800EDCEC E6200018 */ swc1 $f0, 0x18($s1) -/* 0871A0 800EDCF0 3C013D80 */ lui $at, 0x3d80 -/* 0871A4 800EDCF4 44810000 */ mtc1 $at, $f0 -/* 0871A8 800EDCF8 00000000 */ nop -/* 0871AC 800EDCFC 46002002 */ mul.s $f0, $f4, $f0 -/* 0871B0 800EDD00 00000000 */ nop -/* 0871B4 800EDD04 0803B6E6 */ j .L800EDB98 -/* 0871B8 800EDD08 46003000 */ add.s $f0, $f6, $f0 - -.L800EDD0C: -/* 0871BC 800EDD0C 3C014018 */ lui $at, 0x4018 -/* 0871C0 800EDD10 44810800 */ mtc1 $at, $f1 -/* 0871C4 800EDD14 44800000 */ mtc1 $zero, $f0 -/* 0871C8 800EDD18 00000000 */ nop -/* 0871CC 800EDD1C 4622003C */ c.lt.d $f0, $f2 -/* 0871D0 800EDD20 00000000 */ nop -/* 0871D4 800EDD24 4501FF9A */ bc1t .L800EDB90 -/* 0871D8 800EDD28 00000000 */ nop -/* 0871DC 800EDD2C 3C013FF0 */ lui $at, 0x3ff0 -/* 0871E0 800EDD30 44810800 */ mtc1 $at, $f1 -/* 0871E4 800EDD34 44800000 */ mtc1 $zero, $f0 -/* 0871E8 800EDD38 00000000 */ nop -/* 0871EC 800EDD3C 46201000 */ add.d $f0, $f2, $f0 -/* 0871F0 800EDD40 0803B6E6 */ j .L800EDB98 -/* 0871F4 800EDD44 46200020 */ cvt.s.d $f0, $f0 - -.L800EDD48: -/* 0871F8 800EDD48 8E430000 */ lw $v1, ($s2) -/* 0871FC 800EDD4C 3C028011 */ lui $v0, 0x8011 -/* 087200 800EDD50 8C42CFB8 */ lw $v0, -0x3048($v0) -/* 087204 800EDD54 1062FF92 */ beq $v1, $v0, .L800EDBA0 -/* 087208 800EDD58 00000000 */ nop -/* 08720C 800EDD5C C62C0038 */ lwc1 $f12, 0x38($s1) -/* 087210 800EDD60 C62E0040 */ lwc1 $f14, 0x40($s1) -/* 087214 800EDD64 8E660028 */ lw $a2, 0x28($s3) -/* 087218 800EDD68 0C00A7B5 */ jal dist2D -/* 08721C 800EDD6C 8E670030 */ lw $a3, 0x30($s3) -/* 087220 800EDD70 3C018011 */ lui $at, 0x8011 -/* 087224 800EDD74 C422CFC0 */ lwc1 $f2, -0x3040($at) -/* 087228 800EDD78 4602003E */ c.le.s $f0, $f2 -/* 08722C 800EDD7C 00000000 */ nop -/* 087230 800EDD80 4501FF94 */ bc1t .L800EDBD4 -/* 087234 800EDD84 E7A0002C */ swc1 $f0, 0x2c($sp) -/* 087238 800EDD88 8E420000 */ lw $v0, ($s2) -/* 08723C 800EDD8C 24420001 */ addiu $v0, $v0, 1 -/* 087240 800EDD90 AE420000 */ sw $v0, ($s2) -/* 087244 800EDD94 28420028 */ slti $v0, $v0, 0x28 -/* 087248 800EDD98 50400001 */ beql $v0, $zero, .L800EDDA0 -/* 08724C 800EDD9C AE400000 */ sw $zero, ($s2) -.L800EDDA0: -/* 087250 800EDDA0 8E420000 */ lw $v0, ($s2) -/* 087254 800EDDA4 00021100 */ sll $v0, $v0, 4 -/* 087258 800EDDA8 00548021 */ addu $s0, $v0, $s4 -/* 08725C 800EDDAC C6160004 */ lwc1 $f22, 4($s0) -/* 087260 800EDDB0 0803B71A */ j .L800EDC68 -/* 087264 800EDDB4 C614000C */ lwc1 $f20, 0xc($s0) - -.L800EDDB8: -/* 087268 800EDDB8 8E250018 */ lw $a1, 0x18($s1) -/* 08726C 800EDDBC 4406A000 */ mfc1 $a2, $f20 -/* 087270 800EDDC0 0220202D */ daddu $a0, $s1, $zero -/* 087274 800EDDC4 0C00EA95 */ jal npc_move_heading -/* 087278 800EDDC8 AE26000C */ sw $a2, 0xc($s1) -/* 08727C 800EDDCC 8E220000 */ lw $v0, ($s1) -/* 087280 800EDDD0 30424000 */ andi $v0, $v0, 0x4000 -/* 087284 800EDDD4 104002E4 */ beqz $v0, .L800EE968 -/* 087288 800EDDD8 24020001 */ addiu $v0, $zero, 1 -/* 08728C 800EDDDC 3C018011 */ lui $at, 0x8011 -/* 087290 800EDDE0 A422CFC8 */ sh $v0, -0x3038($at) -/* 087294 800EDDE4 0803BA5A */ j .L800EE968 -/* 087298 800EDDE8 00000000 */ nop - -/* 08729C 800EDDEC 3C048011 */ lui $a0, 0x8011 -/* 0872A0 800EDDF0 2484CFBC */ addiu $a0, $a0, -0x3044 -/* 0872A4 800EDDF4 8C830000 */ lw $v1, ($a0) -/* 0872A8 800EDDF8 3C028011 */ lui $v0, 0x8011 -/* 0872AC 800EDDFC 8C42CFB8 */ lw $v0, -0x3048($v0) -/* 0872B0 800EDE00 106202D9 */ beq $v1, $v0, .L800EE968 -/* 0872B4 800EDE04 24620001 */ addiu $v0, $v1, 1 -/* 0872B8 800EDE08 AC820000 */ sw $v0, ($a0) -/* 0872BC 800EDE0C 28420028 */ slti $v0, $v0, 0x28 -/* 0872C0 800EDE10 50400001 */ beql $v0, $zero, .L800EDE18 -/* 0872C4 800EDE14 AC800000 */ sw $zero, ($a0) -.L800EDE18: -/* 0872C8 800EDE18 3C038011 */ lui $v1, 0x8011 -/* 0872CC 800EDE1C 2463CD38 */ addiu $v1, $v1, -0x32c8 -/* 0872D0 800EDE20 8C820000 */ lw $v0, ($a0) -/* 0872D4 800EDE24 3C013FA6 */ lui $at, 0x3fa6 -/* 0872D8 800EDE28 34216666 */ ori $at, $at, 0x6666 -/* 0872DC 800EDE2C 44810000 */ mtc1 $at, $f0 -/* 0872E0 800EDE30 00021100 */ sll $v0, $v0, 4 -/* 0872E4 800EDE34 00438021 */ addu $s0, $v0, $v1 -/* 0872E8 800EDE38 C6160004 */ lwc1 $f22, 4($s0) -/* 0872EC 800EDE3C C6060008 */ lwc1 $f6, 8($s0) -/* 0872F0 800EDE40 C614000C */ lwc1 $f20, 0xc($s0) -/* 0872F4 800EDE44 3C108011 */ lui $s0, 0x8011 -/* 0872F8 800EDE48 2610CFC8 */ addiu $s0, $s0, -0x3038 -/* 0872FC 800EDE4C A620008E */ sh $zero, 0x8e($s1) -/* 087300 800EDE50 E6200014 */ swc1 $f0, 0x14($s1) -/* 087304 800EDE54 E6360060 */ swc1 $f22, 0x60($s1) -/* 087308 800EDE58 E6260064 */ swc1 $f6, 0x64($s1) -/* 08730C 800EDE5C E6340068 */ swc1 $f20, 0x68($s1) -/* 087310 800EDE60 86020000 */ lh $v0, ($s0) -/* 087314 800EDE64 24120001 */ addiu $s2, $zero, 1 -/* 087318 800EDE68 14520005 */ bne $v0, $s2, .L800EDE80 -/* 08731C 800EDE6C 00000000 */ nop -/* 087320 800EDE70 3C0140C0 */ lui $at, 0x40c0 -/* 087324 800EDE74 44810000 */ mtc1 $at, $f0 -/* 087328 800EDE78 00000000 */ nop -/* 08732C 800EDE7C E6200018 */ swc1 $f0, 0x18($s1) -.L800EDE80: -/* 087330 800EDE80 C62C0038 */ lwc1 $f12, 0x38($s1) -/* 087334 800EDE84 C62E0040 */ lwc1 $f14, 0x40($s1) -/* 087338 800EDE88 8E260060 */ lw $a2, 0x60($s1) -/* 08733C 800EDE8C 0C00A7B5 */ jal dist2D -/* 087340 800EDE90 8E270068 */ lw $a3, 0x68($s1) -/* 087344 800EDE94 C62C0038 */ lwc1 $f12, 0x38($s1) -/* 087348 800EDE98 C62E0040 */ lwc1 $f14, 0x40($s1) -/* 08734C 800EDE9C 8E260060 */ lw $a2, 0x60($s1) -/* 087350 800EDEA0 8E270068 */ lw $a3, 0x68($s1) -/* 087354 800EDEA4 0C00A720 */ jal atan2 -/* 087358 800EDEA8 E6200010 */ swc1 $f0, 0x10($s1) -/* 08735C 800EDEAC E620000C */ swc1 $f0, 0xc($s1) -/* 087360 800EDEB0 C6200010 */ lwc1 $f0, 0x10($s1) -/* 087364 800EDEB4 3C014049 */ lui $at, 0x4049 -/* 087368 800EDEB8 44811800 */ mtc1 $at, $f3 -/* 08736C 800EDEBC 44801000 */ mtc1 $zero, $f2 -/* 087370 800EDEC0 46000021 */ cvt.d.s $f0, $f0 -/* 087374 800EDEC4 4620103C */ c.lt.d $f2, $f0 -/* 087378 800EDEC8 00000000 */ nop -/* 08737C 800EDECC 45000005 */ bc1f .L800EDEE4 -/* 087380 800EDED0 00000000 */ nop -/* 087384 800EDED4 3C014248 */ lui $at, 0x4248 -/* 087388 800EDED8 44810000 */ mtc1 $at, $f0 -/* 08738C 800EDEDC 00000000 */ nop -/* 087390 800EDEE0 E6200010 */ swc1 $f0, 0x10($s1) -.L800EDEE4: -/* 087394 800EDEE4 C6220064 */ lwc1 $f2, 0x64($s1) -/* 087398 800EDEE8 C620003C */ lwc1 $f0, 0x3c($s1) -/* 08739C 800EDEEC 46001101 */ sub.s $f4, $f2, $f0 -/* 0873A0 800EDEF0 C6200010 */ lwc1 $f0, 0x10($s1) -/* 0873A4 800EDEF4 46000086 */ mov.s $f2, $f0 -/* 0873A8 800EDEF8 E7A0002C */ swc1 $f0, 0x2c($sp) -/* 0873AC 800EDEFC 4604103C */ c.lt.s $f2, $f4 -/* 0873B0 800EDF00 00000000 */ nop -/* 0873B4 800EDF04 45000002 */ bc1f .L800EDF10 -/* 0873B8 800EDF08 E7A40024 */ swc1 $f4, 0x24($sp) -/* 0873BC 800EDF0C E7A4002C */ swc1 $f4, 0x2c($sp) -.L800EDF10: -/* 0873C0 800EDF10 86020000 */ lh $v0, ($s0) -/* 0873C4 800EDF14 14520026 */ bne $v0, $s2, .L800EDFB0 -/* 0873C8 800EDF18 2402000A */ addiu $v0, $zero, 0xa -/* 0873CC 800EDF1C 3C018011 */ lui $at, 0x8011 -/* 0873D0 800EDF20 C420CFC0 */ lwc1 $f0, -0x3040($at) -/* 0873D4 800EDF24 C7A2002C */ lwc1 $f2, 0x2c($sp) -/* 0873D8 800EDF28 4600103C */ c.lt.s $f2, $f0 -/* 0873DC 800EDF2C 00000000 */ nop -/* 0873E0 800EDF30 4500000B */ bc1f .L800EDF60 -/* 0873E4 800EDF34 00000000 */ nop -/* 0873E8 800EDF38 C62C0038 */ lwc1 $f12, 0x38($s1) -/* 0873EC 800EDF3C C62E0040 */ lwc1 $f14, 0x40($s1) -/* 0873F0 800EDF40 AE20001C */ sw $zero, 0x1c($s1) -/* 0873F4 800EDF44 8E660028 */ lw $a2, 0x28($s3) -/* 0873F8 800EDF48 0C00A720 */ jal atan2 -/* 0873FC 800EDF4C 8E670030 */ lw $a3, 0x30($s3) -/* 087400 800EDF50 24020005 */ addiu $v0, $zero, 5 -/* 087404 800EDF54 E620000C */ swc1 $f0, 0xc($s1) -/* 087408 800EDF58 0803BA5A */ j .L800EE968 -/* 08740C 800EDF5C A6020000 */ sh $v0, ($s0) - -.L800EDF60: -/* 087410 800EDF60 C6200018 */ lwc1 $f0, 0x18($s1) -/* 087414 800EDF64 46001003 */ div.s $f0, $f2, $f0 -/* 087418 800EDF68 4600040D */ trunc.w.s $f16, $f0 -/* 08741C 800EDF6C 44028000 */ mfc1 $v0, $f16 -/* 087420 800EDF70 00000000 */ nop -/* 087424 800EDF74 A622008E */ sh $v0, 0x8e($s1) -/* 087428 800EDF78 00021400 */ sll $v0, $v0, 0x10 -/* 08742C 800EDF7C 00021403 */ sra $v0, $v0, 0x10 -/* 087430 800EDF80 2842000A */ slti $v0, $v0, 0xa -/* 087434 800EDF84 10400002 */ beqz $v0, .L800EDF90 -/* 087438 800EDF88 2402000A */ addiu $v0, $zero, 0xa -/* 08743C 800EDF8C A622008E */ sh $v0, 0x8e($s1) -.L800EDF90: -/* 087440 800EDF90 8622008E */ lh $v0, 0x8e($s1) -/* 087444 800EDF94 C6200010 */ lwc1 $f0, 0x10($s1) -/* 087448 800EDF98 44821000 */ mtc1 $v0, $f2 -/* 08744C 800EDF9C 00000000 */ nop -/* 087450 800EDFA0 468010A0 */ cvt.s.w $f2, $f2 -/* 087454 800EDFA4 46020003 */ div.s $f0, $f0, $f2 -/* 087458 800EDFA8 0803B7ED */ j .L800EDFB4 -/* 08745C 800EDFAC E6200018 */ swc1 $f0, 0x18($s1) - -.L800EDFB0: -/* 087460 800EDFB0 A622008E */ sh $v0, 0x8e($s1) -.L800EDFB4: -/* 087464 800EDFB4 8622008E */ lh $v0, 0x8e($s1) -/* 087468 800EDFB8 C6220014 */ lwc1 $f2, 0x14($s1) -/* 08746C 800EDFBC 44822000 */ mtc1 $v0, $f4 -/* 087470 800EDFC0 00000000 */ nop -/* 087474 800EDFC4 46802120 */ cvt.s.w $f4, $f4 -/* 087478 800EDFC8 46041082 */ mul.s $f2, $f2, $f4 -/* 08747C 800EDFCC 00000000 */ nop -/* 087480 800EDFD0 46041082 */ mul.s $f2, $f2, $f4 -/* 087484 800EDFD4 00000000 */ nop -/* 087488 800EDFD8 3C013F00 */ lui $at, 0x3f00 -/* 08748C 800EDFDC 44810000 */ mtc1 $at, $f0 -/* 087490 800EDFE0 00000000 */ nop -/* 087494 800EDFE4 46001082 */ mul.s $f2, $f2, $f0 -/* 087498 800EDFE8 00000000 */ nop -/* 08749C 800EDFEC C7A00024 */ lwc1 $f0, 0x24($sp) -/* 0874A0 800EDFF0 46020000 */ add.s $f0, $f0, $f2 -/* 0874A4 800EDFF4 3C014034 */ lui $at, 0x4034 -/* 0874A8 800EDFF8 44811800 */ mtc1 $at, $f3 -/* 0874AC 800EDFFC 44801000 */ mtc1 $zero, $f2 -/* 0874B0 800EE000 46040003 */ div.s $f0, $f0, $f4 -/* 0874B4 800EE004 E620001C */ swc1 $f0, 0x1c($s1) -/* 0874B8 800EE008 46000021 */ cvt.d.s $f0, $f0 -/* 0874BC 800EE00C 4620103C */ c.lt.d $f2, $f0 -/* 0874C0 800EE010 00000000 */ nop -/* 0874C4 800EE014 45000005 */ bc1f .L800EE02C -/* 0874C8 800EE018 00000000 */ nop -/* 0874CC 800EE01C 3C0141A0 */ lui $at, 0x41a0 -/* 0874D0 800EE020 44810000 */ mtc1 $at, $f0 -/* 0874D4 800EE024 00000000 */ nop -/* 0874D8 800EE028 E620001C */ swc1 $f0, 0x1c($s1) -.L800EE02C: -/* 0874DC 800EE02C 3C038011 */ lui $v1, 0x8011 -/* 0874E0 800EE030 8C63CFD8 */ lw $v1, -0x3028($v1) -/* 0874E4 800EE034 C6200038 */ lwc1 $f0, 0x38($s1) -/* 0874E8 800EE038 C622003C */ lwc1 $f2, 0x3c($s1) -/* 0874EC 800EE03C C6240040 */ lwc1 $f4, 0x40($s1) -/* 0874F0 800EE040 000310C0 */ sll $v0, $v1, 3 -/* 0874F4 800EE044 00431021 */ addu $v0, $v0, $v1 -/* 0874F8 800EE048 00021080 */ sll $v0, $v0, 2 -/* 0874FC 800EE04C 3C038010 */ lui $v1, 0x8010 -/* 087500 800EE050 00621821 */ addu $v1, $v1, $v0 -/* 087504 800EE054 8C638350 */ lw $v1, -0x7cb0($v1) -/* 087508 800EE058 24020002 */ addiu $v0, $zero, 2 -/* 08750C 800EE05C 3C018011 */ lui $at, 0x8011 -/* 087510 800EE060 A422CFC8 */ sh $v0, -0x3038($at) -/* 087514 800EE064 E6200060 */ swc1 $f0, 0x60($s1) -/* 087518 800EE068 E6220064 */ swc1 $f2, 0x64($s1) -/* 08751C 800EE06C E6240068 */ swc1 $f4, 0x68($s1) -/* 087520 800EE070 0803BA5A */ j .L800EE968 -/* 087524 800EE074 AE230028 */ sw $v1, 0x28($s1) - -/* 087528 800EE078 C620001C */ lwc1 $f0, 0x1c($s1) -/* 08752C 800EE07C C6220014 */ lwc1 $f2, 0x14($s1) -/* 087530 800EE080 46020001 */ sub.s $f0, $f0, $f2 -/* 087534 800EE084 C622003C */ lwc1 $f2, 0x3c($s1) -/* 087538 800EE088 46001080 */ add.s $f2, $f2, $f0 -/* 08753C 800EE08C 4480A000 */ mtc1 $zero, $f20 -/* 087540 800EE090 00000000 */ nop -/* 087544 800EE094 4614003E */ c.le.s $f0, $f20 -/* 087548 800EE098 E620001C */ swc1 $f0, 0x1c($s1) -/* 08754C 800EE09C 4500000A */ bc1f .L800EE0C8 -/* 087550 800EE0A0 E622003C */ swc1 $f2, 0x3c($s1) -/* 087554 800EE0A4 3C028011 */ lui $v0, 0x8011 -/* 087558 800EE0A8 8C42CFD8 */ lw $v0, -0x3028($v0) -/* 08755C 800EE0AC 000218C0 */ sll $v1, $v0, 3 -/* 087560 800EE0B0 00621821 */ addu $v1, $v1, $v0 -/* 087564 800EE0B4 00031880 */ sll $v1, $v1, 2 -/* 087568 800EE0B8 3C028010 */ lui $v0, 0x8010 -/* 08756C 800EE0BC 00431021 */ addu $v0, $v0, $v1 -/* 087570 800EE0C0 8C428354 */ lw $v0, -0x7cac($v0) -/* 087574 800EE0C4 AE220028 */ sw $v0, 0x28($s1) -.L800EE0C8: -/* 087578 800EE0C8 8E250018 */ lw $a1, 0x18($s1) -/* 08757C 800EE0CC 8E26000C */ lw $a2, 0xc($s1) -/* 087580 800EE0D0 0C00EA95 */ jal npc_move_heading -/* 087584 800EE0D4 0220202D */ daddu $a0, $s1, $zero -/* 087588 800EE0D8 C620001C */ lwc1 $f0, 0x1c($s1) -/* 08758C 800EE0DC 4614003E */ c.le.s $f0, $f20 -/* 087590 800EE0E0 00000000 */ nop -/* 087594 800EE0E4 45000220 */ bc1f .L800EE968 -/* 087598 800EE0E8 00000000 */ nop -/* 08759C 800EE0EC C622003C */ lwc1 $f2, 0x3c($s1) -/* 0875A0 800EE0F0 C6200064 */ lwc1 $f0, 0x64($s1) -/* 0875A4 800EE0F4 4600103C */ c.lt.s $f2, $f0 -/* 0875A8 800EE0F8 00000000 */ nop -/* 0875AC 800EE0FC 4500021A */ bc1f .L800EE968 -/* 0875B0 800EE100 00000000 */ nop -/* 0875B4 800EE104 C62C0038 */ lwc1 $f12, 0x38($s1) -/* 0875B8 800EE108 3C038011 */ lui $v1, 0x8011 -/* 0875BC 800EE10C 8C63CFD8 */ lw $v1, -0x3028($v1) -/* 0875C0 800EE110 C62E0040 */ lwc1 $f14, 0x40($s1) -/* 0875C4 800EE114 000310C0 */ sll $v0, $v1, 3 -/* 0875C8 800EE118 00431021 */ addu $v0, $v0, $v1 -/* 0875CC 800EE11C 00021080 */ sll $v0, $v0, 2 -/* 0875D0 800EE120 3C018010 */ lui $at, 0x8010 -/* 0875D4 800EE124 00220821 */ addu $at, $at, $v0 -/* 0875D8 800EE128 8C228358 */ lw $v0, -0x7ca8($at) -/* 0875DC 800EE12C E634001C */ swc1 $f20, 0x1c($s1) -/* 0875E0 800EE130 E620003C */ swc1 $f0, 0x3c($s1) -/* 0875E4 800EE134 AE220028 */ sw $v0, 0x28($s1) -/* 0875E8 800EE138 8E660028 */ lw $a2, 0x28($s3) -/* 0875EC 800EE13C 0C00A720 */ jal atan2 -/* 0875F0 800EE140 8E670030 */ lw $a3, 0x30($s3) -/* 0875F4 800EE144 C62C0038 */ lwc1 $f12, 0x38($s1) -/* 0875F8 800EE148 C62E0040 */ lwc1 $f14, 0x40($s1) -/* 0875FC 800EE14C 8E260060 */ lw $a2, 0x60($s1) -/* 087600 800EE150 8E270068 */ lw $a3, 0x68($s1) -/* 087604 800EE154 3C108011 */ lui $s0, 0x8011 -/* 087608 800EE158 2610CFC8 */ addiu $s0, $s0, -0x3038 -/* 08760C 800EE15C E620000C */ swc1 $f0, 0xc($s1) -/* 087610 800EE160 0C00A7B5 */ jal dist2D -/* 087614 800EE164 A6000000 */ sh $zero, ($s0) -/* 087618 800EE168 3C018011 */ lui $at, 0x8011 -/* 08761C 800EE16C C422CFC0 */ lwc1 $f2, -0x3040($at) -/* 087620 800EE170 4602003C */ c.lt.s $f0, $f2 -/* 087624 800EE174 00000000 */ nop -/* 087628 800EE178 450001FB */ bc1f .L800EE968 -/* 08762C 800EE17C E7A0002C */ swc1 $f0, 0x2c($sp) -/* 087630 800EE180 2402000F */ addiu $v0, $zero, 0xf -/* 087634 800EE184 0803BA5A */ j .L800EE968 -/* 087638 800EE188 A6020000 */ sh $v0, ($s0) - -/* 08763C 800EE18C 3C038011 */ lui $v1, 0x8011 -/* 087640 800EE190 2463CD38 */ addiu $v1, $v1, -0x32c8 -/* 087644 800EE194 C62C0038 */ lwc1 $f12, 0x38($s1) -/* 087648 800EE198 C62E0040 */ lwc1 $f14, 0x40($s1) -/* 08764C 800EE19C 8E660028 */ lw $a2, 0x28($s3) -/* 087650 800EE1A0 8E670030 */ lw $a3, 0x30($s3) -/* 087654 800EE1A4 3C028011 */ lui $v0, 0x8011 -/* 087658 800EE1A8 8C42CFBC */ lw $v0, -0x3044($v0) -/* 08765C 800EE1AC C622003C */ lwc1 $f2, 0x3c($s1) -/* 087660 800EE1B0 00021100 */ sll $v0, $v0, 4 -/* 087664 800EE1B4 00438021 */ addu $s0, $v0, $v1 -/* 087668 800EE1B8 46006006 */ mov.s $f0, $f12 -/* 08766C 800EE1BC C6160004 */ lwc1 $f22, 4($s0) -/* 087670 800EE1C0 C614000C */ lwc1 $f20, 0xc($s0) -/* 087674 800EE1C4 46007106 */ mov.s $f4, $f14 -/* 087678 800EE1C8 E7A00020 */ swc1 $f0, 0x20($sp) -/* 08767C 800EE1CC E7A20024 */ swc1 $f2, 0x24($sp) -/* 087680 800EE1D0 0C00A7B5 */ jal dist2D -/* 087684 800EE1D4 E7A40028 */ swc1 $f4, 0x28($sp) -/* 087688 800EE1D8 3C018011 */ lui $at, 0x8011 -/* 08768C 800EE1DC C422CFC0 */ lwc1 $f2, -0x3040($at) -/* 087690 800EE1E0 4602003E */ c.le.s $f0, $f2 -/* 087694 800EE1E4 00000000 */ nop -/* 087698 800EE1E8 450000A5 */ bc1f .L800EE480 -/* 08769C 800EE1EC E7A0002C */ swc1 $f0, 0x2c($sp) -/* 0876A0 800EE1F0 3C048011 */ lui $a0, 0x8011 -/* 0876A4 800EE1F4 2484CFCA */ addiu $a0, $a0, -0x3036 -/* 0876A8 800EE1F8 84820000 */ lh $v0, ($a0) -/* 0876AC 800EE1FC 1440002D */ bnez $v0, .L800EE2B4 -/* 0876B0 800EE200 00000000 */ nop -/* 0876B4 800EE204 962200A8 */ lhu $v0, 0xa8($s1) -/* 0876B8 800EE208 C660002C */ lwc1 $f0, 0x2c($s3) -/* 0876BC 800EE20C 00021400 */ sll $v0, $v0, 0x10 -/* 0876C0 800EE210 00021C03 */ sra $v1, $v0, 0x10 -/* 0876C4 800EE214 000217C2 */ srl $v0, $v0, 0x1f -/* 0876C8 800EE218 00621821 */ addu $v1, $v1, $v0 -/* 0876CC 800EE21C 866200B0 */ lh $v0, 0xb0($s3) -/* 0876D0 800EE220 00031843 */ sra $v1, $v1, 1 -/* 0876D4 800EE224 00431023 */ subu $v0, $v0, $v1 -/* 0876D8 800EE228 44821000 */ mtc1 $v0, $f2 -/* 0876DC 800EE22C 00000000 */ nop -/* 0876E0 800EE230 468010A0 */ cvt.s.w $f2, $f2 -/* 0876E4 800EE234 46020000 */ add.s $f0, $f0, $f2 -/* 0876E8 800EE238 C622003C */ lwc1 $f2, 0x3c($s1) -/* 0876EC 800EE23C 46020001 */ sub.s $f0, $f0, $f2 -/* 0876F0 800EE240 3C013FA0 */ lui $at, 0x3fa0 -/* 0876F4 800EE244 44811800 */ mtc1 $at, $f3 -/* 0876F8 800EE248 44801000 */ mtc1 $zero, $f2 -/* 0876FC 800EE24C 46000021 */ cvt.d.s $f0, $f0 -/* 087700 800EE250 46220002 */ mul.d $f0, $f0, $f2 -/* 087704 800EE254 00000000 */ nop -/* 087708 800EE258 3C038011 */ lui $v1, 0x8011 -/* 08770C 800EE25C 8C63CFD8 */ lw $v1, -0x3028($v1) -/* 087710 800EE260 000310C0 */ sll $v0, $v1, 3 -/* 087714 800EE264 00431021 */ addu $v0, $v0, $v1 -/* 087718 800EE268 C7A20024 */ lwc1 $f2, 0x24($sp) -/* 08771C 800EE26C 00021080 */ sll $v0, $v0, 2 -/* 087720 800EE270 460010A1 */ cvt.d.s $f2, $f2 -/* 087724 800EE274 46201080 */ add.d $f2, $f2, $f0 -/* 087728 800EE278 AE200018 */ sw $zero, 0x18($s1) -/* 08772C 800EE27C AE200014 */ sw $zero, 0x14($s1) -/* 087730 800EE280 462010A0 */ cvt.s.d $f2, $f2 -/* 087734 800EE284 E622003C */ swc1 $f2, 0x3c($s1) -/* 087738 800EE288 3C018010 */ lui $at, 0x8010 -/* 08773C 800EE28C 00220821 */ addu $at, $at, $v0 -/* 087740 800EE290 8C22835C */ lw $v0, -0x7ca4($at) -/* 087744 800EE294 E7A20024 */ swc1 $f2, 0x24($sp) -/* 087748 800EE298 AE220028 */ sw $v0, 0x28($s1) -/* 08774C 800EE29C 826300B4 */ lb $v1, 0xb4($s3) -/* 087750 800EE2A0 2402000C */ addiu $v0, $zero, 0xc -/* 087754 800EE2A4 50620076 */ beql $v1, $v0, .L800EE480 -/* 087758 800EE2A8 A4800000 */ sh $zero, ($a0) -/* 08775C 800EE2AC 0803B920 */ j .L800EE480 -/* 087760 800EE2B0 00000000 */ nop - -.L800EE2B4: -/* 087764 800EE2B4 C66200A8 */ lwc1 $f2, 0xa8($s3) -/* 087768 800EE2B8 3C014334 */ lui $at, 0x4334 -/* 08776C 800EE2BC 44810000 */ mtc1 $at, $f0 -/* 087770 800EE2C0 C64C006C */ lwc1 $f12, 0x6c($s2) -/* 087774 800EE2C4 4600103C */ c.lt.s $f2, $f0 -/* 087778 800EE2C8 3C01C2B4 */ lui $at, 0xc2b4 -/* 08777C 800EE2CC 44810000 */ mtc1 $at, $f0 -/* 087780 800EE2D0 45000003 */ bc1f .L800EE2E0 -/* 087784 800EE2D4 00000000 */ nop -/* 087788 800EE2D8 3C0142B4 */ lui $at, 0x42b4 -/* 08778C 800EE2DC 44810000 */ mtc1 $at, $f0 -.L800EE2E0: -/* 087790 800EE2E0 0C00A6C9 */ jal clamp_angle -/* 087794 800EE2E4 46006300 */ add.s $f12, $f12, $f0 -/* 087798 800EE2E8 44070000 */ mfc1 $a3, $f0 -/* 08779C 800EE2EC C6600028 */ lwc1 $f0, 0x28($s3) -/* 0877A0 800EE2F0 3C018011 */ lui $at, 0x8011 -/* 0877A4 800EE2F4 C424CFC0 */ lwc1 $f4, -0x3040($at) -/* 0877A8 800EE2F8 26240060 */ addiu $a0, $s1, 0x60 -/* 0877AC 800EE2FC E6200060 */ swc1 $f0, 0x60($s1) -/* 0877B0 800EE300 3C014120 */ lui $at, 0x4120 -/* 0877B4 800EE304 44810000 */ mtc1 $at, $f0 -/* 0877B8 800EE308 C662002C */ lwc1 $f2, 0x2c($s3) -/* 0877BC 800EE30C 46002101 */ sub.s $f4, $f4, $f0 -/* 0877C0 800EE310 E6220064 */ swc1 $f2, 0x64($s1) -/* 0877C4 800EE314 C6600030 */ lwc1 $f0, 0x30($s3) -/* 0877C8 800EE318 44062000 */ mfc1 $a2, $f4 -/* 0877CC 800EE31C 26250068 */ addiu $a1, $s1, 0x68 -/* 0877D0 800EE320 0C00A7E7 */ jal add_vec2D_polar -/* 0877D4 800EE324 E6200068 */ swc1 $f0, 0x68($s1) -/* 0877D8 800EE328 C62C0038 */ lwc1 $f12, 0x38($s1) -/* 0877DC 800EE32C C62E0040 */ lwc1 $f14, 0x40($s1) -/* 0877E0 800EE330 8E260060 */ lw $a2, 0x60($s1) -/* 0877E4 800EE334 0C00A720 */ jal atan2 -/* 0877E8 800EE338 8E270068 */ lw $a3, 0x68($s1) -/* 0877EC 800EE33C C62C0038 */ lwc1 $f12, 0x38($s1) -/* 0877F0 800EE340 C62E0040 */ lwc1 $f14, 0x40($s1) -/* 0877F4 800EE344 8E260060 */ lw $a2, 0x60($s1) -/* 0877F8 800EE348 8E270068 */ lw $a3, 0x68($s1) -/* 0877FC 800EE34C 0C00A7B5 */ jal dist2D -/* 087800 800EE350 46000506 */ mov.s $f20, $f0 -/* 087804 800EE354 3C014000 */ lui $at, 0x4000 -/* 087808 800EE358 44811000 */ mtc1 $at, $f2 -/* 08780C 800EE35C E7A0002C */ swc1 $f0, 0x2c($sp) -/* 087810 800EE360 4600103C */ c.lt.s $f2, $f0 -/* 087814 800EE364 00000000 */ nop -/* 087818 800EE368 45000022 */ bc1f .L800EE3F4 -/* 08781C 800EE36C E6220018 */ swc1 $f2, 0x18($s1) -/* 087820 800EE370 3C038011 */ lui $v1, 0x8011 -/* 087824 800EE374 8C63CFD8 */ lw $v1, -0x3028($v1) -/* 087828 800EE378 3C048010 */ lui $a0, 0x8010 -/* 08782C 800EE37C 24848348 */ addiu $a0, $a0, -0x7cb8 -/* 087830 800EE380 E634000C */ swc1 $f20, 0xc($s1) -/* 087834 800EE384 000310C0 */ sll $v0, $v1, 3 -/* 087838 800EE388 00431021 */ addu $v0, $v0, $v1 -/* 08783C 800EE38C 00021080 */ sll $v0, $v0, 2 -/* 087840 800EE390 00442021 */ addu $a0, $v0, $a0 -/* 087844 800EE394 8E220000 */ lw $v0, ($s1) -/* 087848 800EE398 8C830018 */ lw $v1, 0x18($a0) -/* 08784C 800EE39C 30424000 */ andi $v0, $v0, 0x4000 -/* 087850 800EE3A0 14400004 */ bnez $v0, .L800EE3B4 -/* 087854 800EE3A4 AE230028 */ sw $v1, 0x28($s1) -/* 087858 800EE3A8 3C018010 */ lui $at, 0x8010 -/* 08785C 800EE3AC 0803B919 */ j .L800EE464 -/* 087860 800EE3B0 A420803A */ sh $zero, -0x7fc6($at) - -.L800EE3B4: -/* 087864 800EE3B4 3C038010 */ lui $v1, 0x8010 -/* 087868 800EE3B8 2463803A */ addiu $v1, $v1, -0x7fc6 -/* 08786C 800EE3BC 94620000 */ lhu $v0, ($v1) -/* 087870 800EE3C0 24420001 */ addiu $v0, $v0, 1 -/* 087874 800EE3C4 A4620000 */ sh $v0, ($v1) -/* 087878 800EE3C8 00021400 */ sll $v0, $v0, 0x10 -/* 08787C 800EE3CC 00021403 */ sra $v0, $v0, 0x10 -/* 087880 800EE3D0 2842000B */ slti $v0, $v0, 0xb -/* 087884 800EE3D4 14400023 */ bnez $v0, .L800EE464 -/* 087888 800EE3D8 00000000 */ nop -/* 08788C 800EE3DC C6740080 */ lwc1 $f20, 0x80($s3) -/* 087890 800EE3E0 AE200018 */ sw $zero, 0x18($s1) -/* 087894 800EE3E4 AE200014 */ sw $zero, 0x14($s1) -/* 087898 800EE3E8 E6340034 */ swc1 $f20, 0x34($s1) -/* 08789C 800EE3EC 0803B90E */ j .L800EE438 -/* 0878A0 800EE3F0 8C820014 */ lw $v0, 0x14($a0) - -.L800EE3F4: -/* 0878A4 800EE3F4 C62C0038 */ lwc1 $f12, 0x38($s1) -/* 0878A8 800EE3F8 C62E0040 */ lwc1 $f14, 0x40($s1) -/* 0878AC 800EE3FC 8E660028 */ lw $a2, 0x28($s3) -/* 0878B0 800EE400 0C00A720 */ jal atan2 -/* 0878B4 800EE404 8E670030 */ lw $a3, 0x30($s3) -/* 0878B8 800EE408 3C038011 */ lui $v1, 0x8011 -/* 0878BC 800EE40C 8C63CFD8 */ lw $v1, -0x3028($v1) -/* 0878C0 800EE410 46000506 */ mov.s $f20, $f0 -/* 0878C4 800EE414 E634000C */ swc1 $f20, 0xc($s1) -/* 0878C8 800EE418 AE200018 */ sw $zero, 0x18($s1) -/* 0878CC 800EE41C AE200014 */ sw $zero, 0x14($s1) -/* 0878D0 800EE420 000310C0 */ sll $v0, $v1, 3 -/* 0878D4 800EE424 00431021 */ addu $v0, $v0, $v1 -/* 0878D8 800EE428 00021080 */ sll $v0, $v0, 2 -/* 0878DC 800EE42C 3C018010 */ lui $at, 0x8010 -/* 0878E0 800EE430 00220821 */ addu $at, $at, $v0 -/* 0878E4 800EE434 8C22835C */ lw $v0, -0x7ca4($at) -.L800EE438: -/* 0878E8 800EE438 3C048011 */ lui $a0, 0x8011 -/* 0878EC 800EE43C 2484CFCA */ addiu $a0, $a0, -0x3036 -/* 0878F0 800EE440 AE220028 */ sw $v0, 0x28($s1) -/* 0878F4 800EE444 84830000 */ lh $v1, ($a0) -/* 0878F8 800EE448 24020002 */ addiu $v0, $zero, 2 -/* 0878FC 800EE44C 10620004 */ beq $v1, $v0, .L800EE460 -/* 087900 800EE450 2402000C */ addiu $v0, $zero, 0xc -/* 087904 800EE454 826300B4 */ lb $v1, 0xb4($s3) -/* 087908 800EE458 14620002 */ bne $v1, $v0, .L800EE464 -/* 08790C 800EE45C 00000000 */ nop -.L800EE460: -/* 087910 800EE460 A4800000 */ sh $zero, ($a0) -.L800EE464: -/* 087914 800EE464 8E250018 */ lw $a1, 0x18($s1) -/* 087918 800EE468 4406A000 */ mfc1 $a2, $f20 -/* 08791C 800EE46C 0220202D */ daddu $a0, $s1, $zero -/* 087920 800EE470 0C00EA95 */ jal npc_move_heading -/* 087924 800EE474 AC86000C */ sw $a2, 0xc($a0) -/* 087928 800EE478 0803BA5A */ j .L800EE968 -/* 08792C 800EE47C 00000000 */ nop - -.L800EE480: -/* 087930 800EE480 C62C0038 */ lwc1 $f12, 0x38($s1) -/* 087934 800EE484 C62E0040 */ lwc1 $f14, 0x40($s1) -/* 087938 800EE488 8E660028 */ lw $a2, 0x28($s3) -/* 08793C 800EE48C 0C00A7B5 */ jal dist2D -/* 087940 800EE490 8E670030 */ lw $a3, 0x30($s3) -/* 087944 800EE494 3C018011 */ lui $at, 0x8011 -/* 087948 800EE498 C422CFC0 */ lwc1 $f2, -0x3040($at) -/* 08794C 800EE49C 4602003E */ c.le.s $f0, $f2 -/* 087950 800EE4A0 00000000 */ nop -/* 087954 800EE4A4 45010130 */ bc1t .L800EE968 -/* 087958 800EE4A8 E7A0002C */ swc1 $f0, 0x2c($sp) -/* 08795C 800EE4AC 3C0142B4 */ lui $at, 0x42b4 -/* 087960 800EE4B0 4481C000 */ mtc1 $at, $f24 -/* 087964 800EE4B4 3C128011 */ lui $s2, 0x8011 -/* 087968 800EE4B8 2652CFBC */ addiu $s2, $s2, -0x3044 -/* 08796C 800EE4BC 3C148011 */ lui $s4, 0x8011 -/* 087970 800EE4C0 2694CD38 */ addiu $s4, $s4, -0x32c8 -.L800EE4C4: -/* 087974 800EE4C4 82020000 */ lb $v0, ($s0) -/* 087978 800EE4C8 14400024 */ bnez $v0, .L800EE55C -/* 08797C 800EE4CC 00000000 */ nop -/* 087980 800EE4D0 C62C0038 */ lwc1 $f12, 0x38($s1) -/* 087984 800EE4D4 C62E0040 */ lwc1 $f14, 0x40($s1) -/* 087988 800EE4D8 4406B000 */ mfc1 $a2, $f22 -/* 08798C 800EE4DC 4407A000 */ mfc1 $a3, $f20 -/* 087990 800EE4E0 0C00A720 */ jal atan2 -/* 087994 800EE4E4 00000000 */ nop -/* 087998 800EE4E8 C62C0038 */ lwc1 $f12, 0x38($s1) -/* 08799C 800EE4EC C62E0040 */ lwc1 $f14, 0x40($s1) -/* 0879A0 800EE4F0 8E660028 */ lw $a2, 0x28($s3) -/* 0879A4 800EE4F4 8E670030 */ lw $a3, 0x30($s3) -/* 0879A8 800EE4F8 0C00A720 */ jal atan2 -/* 0879AC 800EE4FC 46000506 */ mov.s $f20, $f0 -/* 0879B0 800EE500 4600A306 */ mov.s $f12, $f20 -/* 0879B4 800EE504 0C00A70A */ jal get_clamped_angle_diff -/* 0879B8 800EE508 46000386 */ mov.s $f14, $f0 -/* 0879BC 800EE50C 46000005 */ abs.s $f0, $f0 -/* 0879C0 800EE510 4618003C */ c.lt.s $f0, $f24 -/* 0879C4 800EE514 00000000 */ nop -/* 0879C8 800EE518 45010010 */ bc1t .L800EE55C -/* 0879CC 800EE51C 00000000 */ nop -/* 0879D0 800EE520 8E430000 */ lw $v1, ($s2) -/* 0879D4 800EE524 3C028011 */ lui $v0, 0x8011 -/* 0879D8 800EE528 8C42CFB8 */ lw $v0, -0x3048($v0) -/* 0879DC 800EE52C 1062000B */ beq $v1, $v0, .L800EE55C -/* 0879E0 800EE530 24620001 */ addiu $v0, $v1, 1 -/* 0879E4 800EE534 AE420000 */ sw $v0, ($s2) -/* 0879E8 800EE538 28420028 */ slti $v0, $v0, 0x28 -/* 0879EC 800EE53C 50400001 */ beql $v0, $zero, .L800EE544 -/* 0879F0 800EE540 AE400000 */ sw $zero, ($s2) -.L800EE544: -/* 0879F4 800EE544 8E420000 */ lw $v0, ($s2) -/* 0879F8 800EE548 00021100 */ sll $v0, $v0, 4 -/* 0879FC 800EE54C 00548021 */ addu $s0, $v0, $s4 -/* 087A00 800EE550 C6160004 */ lwc1 $f22, 4($s0) -/* 087A04 800EE554 0803B931 */ j .L800EE4C4 -/* 087A08 800EE558 C614000C */ lwc1 $f20, 0xc($s0) - -.L800EE55C: -/* 087A0C 800EE55C 3C018011 */ lui $at, 0x8011 -/* 087A10 800EE560 A420CFC8 */ sh $zero, -0x3038($at) -/* 087A14 800EE564 0803BA5A */ j .L800EE968 -/* 087A18 800EE568 00000000 */ nop - -/* 087A1C 800EE56C 8E620004 */ lw $v0, 4($s3) -/* 087A20 800EE570 3C030010 */ lui $v1, 0x10 -/* 087A24 800EE574 00431024 */ and $v0, $v0, $v1 -/* 087A28 800EE578 144000FB */ bnez $v0, .L800EE968 -/* 087A2C 800EE57C 00000000 */ nop -/* 087A30 800EE580 3C038011 */ lui $v1, 0x8011 -/* 087A34 800EE584 8463CFCE */ lh $v1, -0x3032($v1) -/* 087A38 800EE588 10600006 */ beqz $v1, .L800EE5A4 -/* 087A3C 800EE58C 00000000 */ nop -/* 087A40 800EE590 24020001 */ addiu $v0, $zero, 1 -/* 087A44 800EE594 10620048 */ beq $v1, $v0, .L800EE6B8 -/* 087A48 800EE598 00000000 */ nop -/* 087A4C 800EE59C 0803BA5A */ j .L800EE968 -/* 087A50 800EE5A0 00000000 */ nop - -.L800EE5A4: -/* 087A54 800EE5A4 0C0394D2 */ jal func_800E5348 -/* 087A58 800EE5A8 00000000 */ nop -/* 087A5C 800EE5AC 3C014334 */ lui $at, 0x4334 -/* 087A60 800EE5B0 44816000 */ mtc1 $at, $f12 -/* 087A64 800EE5B4 0C00A6C9 */ jal clamp_angle -/* 087A68 800EE5B8 460C0300 */ add.s $f12, $f0, $f12 -/* 087A6C 800EE5BC C6620028 */ lwc1 $f2, 0x28($s3) -/* 087A70 800EE5C0 E6220060 */ swc1 $f2, 0x60($s1) -/* 087A74 800EE5C4 C662002C */ lwc1 $f2, 0x2c($s3) -/* 087A78 800EE5C8 E6220064 */ swc1 $f2, 0x64($s1) -/* 087A7C 800EE5CC C6620030 */ lwc1 $f2, 0x30($s3) -/* 087A80 800EE5D0 26240060 */ addiu $a0, $s1, 0x60 -/* 087A84 800EE5D4 E6220068 */ swc1 $f2, 0x68($s1) -/* 087A88 800EE5D8 866200B2 */ lh $v0, 0xb2($s3) -/* 087A8C 800EE5DC 44070000 */ mfc1 $a3, $f0 -/* 087A90 800EE5E0 44828000 */ mtc1 $v0, $f16 -/* 087A94 800EE5E4 00000000 */ nop -/* 087A98 800EE5E8 46808420 */ cvt.s.w $f16, $f16 -/* 087A9C 800EE5EC 44068000 */ mfc1 $a2, $f16 -/* 087AA0 800EE5F0 0C00A7E7 */ jal add_vec2D_polar -/* 087AA4 800EE5F4 26250068 */ addiu $a1, $s1, 0x68 -/* 087AA8 800EE5F8 C62C0038 */ lwc1 $f12, 0x38($s1) -/* 087AAC 800EE5FC C62E0040 */ lwc1 $f14, 0x40($s1) -/* 087AB0 800EE600 8E260060 */ lw $a2, 0x60($s1) -/* 087AB4 800EE604 0C00A7B5 */ jal dist2D -/* 087AB8 800EE608 8E270068 */ lw $a3, 0x68($s1) -/* 087ABC 800EE60C 3C018010 */ lui $at, 0x8010 -/* 087AC0 800EE610 C422802C */ lwc1 $f2, -0x7fd4($at) -/* 087AC4 800EE614 468010A0 */ cvt.s.w $f2, $f2 -/* 087AC8 800EE618 E7A0002C */ swc1 $f0, 0x2c($sp) -/* 087ACC 800EE61C 46020003 */ div.s $f0, $f0, $f2 -/* 087AD0 800EE620 3C018010 */ lui $at, 0x8010 -/* 087AD4 800EE624 E4208030 */ swc1 $f0, -0x7fd0($at) -/* 087AD8 800EE628 E6200018 */ swc1 $f0, 0x18($s1) -/* 087ADC 800EE62C 46000021 */ cvt.d.s $f0, $f0 -/* 087AE0 800EE630 26240028 */ addiu $a0, $s1, 0x28 -/* 087AE4 800EE634 3C038011 */ lui $v1, 0x8011 -/* 087AE8 800EE638 8C63CFD8 */ lw $v1, -0x3028($v1) -/* 087AEC 800EE63C 3C014010 */ lui $at, 0x4010 -/* 087AF0 800EE640 44811800 */ mtc1 $at, $f3 -/* 087AF4 800EE644 44801000 */ mtc1 $zero, $f2 -/* 087AF8 800EE648 000310C0 */ sll $v0, $v1, 3 -/* 087AFC 800EE64C 00431021 */ addu $v0, $v0, $v1 -/* 087B00 800EE650 4622003C */ c.lt.d $f0, $f2 -/* 087B04 800EE654 00000000 */ nop -/* 087B08 800EE658 45000003 */ bc1f .L800EE668 -/* 087B0C 800EE65C 00021080 */ sll $v0, $v0, 2 -/* 087B10 800EE660 0803B99B */ j .L800EE66C -/* 087B14 800EE664 24430004 */ addiu $v1, $v0, 4 - -.L800EE668: -/* 087B18 800EE668 24430018 */ addiu $v1, $v0, 0x18 -.L800EE66C: -/* 087B1C 800EE66C 3C028010 */ lui $v0, 0x8010 -/* 087B20 800EE670 24428348 */ addiu $v0, $v0, -0x7cb8 -/* 087B24 800EE674 00431021 */ addu $v0, $v0, $v1 -/* 087B28 800EE678 8C420000 */ lw $v0, ($v0) -/* 087B2C 800EE67C AC820000 */ sw $v0, ($a0) -/* 087B30 800EE680 C62C0038 */ lwc1 $f12, 0x38($s1) -/* 087B34 800EE684 C62E0040 */ lwc1 $f14, 0x40($s1) -/* 087B38 800EE688 8E260060 */ lw $a2, 0x60($s1) -/* 087B3C 800EE68C 0C00A720 */ jal atan2 -/* 087B40 800EE690 8E270068 */ lw $a3, 0x68($s1) -/* 087B44 800EE694 3C038011 */ lui $v1, 0x8011 -/* 087B48 800EE698 2463CFCE */ addiu $v1, $v1, -0x3032 -/* 087B4C 800EE69C 94620000 */ lhu $v0, ($v1) -/* 087B50 800EE6A0 46000506 */ mov.s $f20, $f0 -/* 087B54 800EE6A4 3C018010 */ lui $at, 0x8010 -/* 087B58 800EE6A8 E4348034 */ swc1 $f20, -0x7fcc($at) -/* 087B5C 800EE6AC E634000C */ swc1 $f20, 0xc($s1) -/* 087B60 800EE6B0 24420001 */ addiu $v0, $v0, 1 -/* 087B64 800EE6B4 A4620000 */ sh $v0, ($v1) -.L800EE6B8: -/* 087B68 800EE6B8 3C098010 */ lui $t1, 0x8010 -/* 087B6C 800EE6BC 2529802C */ addiu $t1, $t1, -0x7fd4 -/* 087B70 800EE6C0 8D280000 */ lw $t0, ($t1) -/* 087B74 800EE6C4 1100007E */ beqz $t0, .L800EE8C0 -/* 087B78 800EE6C8 3C040001 */ lui $a0, 1 -/* 087B7C 800EE6CC 27A50020 */ addiu $a1, $sp, 0x20 -/* 087B80 800EE6D0 C6220038 */ lwc1 $f2, 0x38($s1) -/* 087B84 800EE6D4 862200A8 */ lh $v0, 0xa8($s1) -/* 087B88 800EE6D8 C6200040 */ lwc1 $f0, 0x40($s1) -/* 087B8C 800EE6DC 27A60024 */ addiu $a2, $sp, 0x24 -/* 087B90 800EE6E0 E7A00028 */ swc1 $f0, 0x28($sp) -/* 087B94 800EE6E4 44820000 */ mtc1 $v0, $f0 -/* 087B98 800EE6E8 00000000 */ nop -/* 087B9C 800EE6EC 46800020 */ cvt.s.w $f0, $f0 -/* 087BA0 800EE6F0 E7A20020 */ swc1 $f2, 0x20($sp) -/* 087BA4 800EE6F4 862200A8 */ lh $v0, 0xa8($s1) -/* 087BA8 800EE6F8 C622003C */ lwc1 $f2, 0x3c($s1) -/* 087BAC 800EE6FC 24420001 */ addiu $v0, $v0, 1 -/* 087BB0 800EE700 46001080 */ add.s $f2, $f2, $f0 -/* 087BB4 800EE704 44820000 */ mtc1 $v0, $f0 -/* 087BB8 800EE708 00000000 */ nop -/* 087BBC 800EE70C 46800020 */ cvt.s.w $f0, $f0 -/* 087BC0 800EE710 27A2002C */ addiu $v0, $sp, 0x2c -/* 087BC4 800EE714 E7A0002C */ swc1 $f0, 0x2c($sp) -/* 087BC8 800EE718 E7A20024 */ swc1 $f2, 0x24($sp) -/* 087BCC 800EE71C AFA20010 */ sw $v0, 0x10($sp) -/* 087BD0 800EE720 C620000C */ lwc1 $f0, 0xc($s1) -/* 087BD4 800EE724 27A70028 */ addiu $a3, $sp, 0x28 -/* 087BD8 800EE728 E7A00014 */ swc1 $f0, 0x14($sp) -/* 087BDC 800EE72C 862300A6 */ lh $v1, 0xa6($s1) -/* 087BE0 800EE730 2502FFFF */ addiu $v0, $t0, -1 -/* 087BE4 800EE734 AD220000 */ sw $v0, ($t1) -/* 087BE8 800EE738 44830000 */ mtc1 $v1, $f0 -/* 087BEC 800EE73C 00000000 */ nop -/* 087BF0 800EE740 46800020 */ cvt.s.w $f0, $f0 -/* 087BF4 800EE744 0C0371DE */ jal func_800DC778 -/* 087BF8 800EE748 E7A00018 */ swc1 $f0, 0x18($sp) -/* 087BFC 800EE74C 14400017 */ bnez $v0, .L800EE7AC -/* 087C00 800EE750 00000000 */ nop -/* 087C04 800EE754 C624003C */ lwc1 $f4, 0x3c($s1) -/* 087C08 800EE758 C666002C */ lwc1 $f6, 0x2c($s3) -/* 087C0C 800EE75C 862200A8 */ lh $v0, 0xa8($s1) -/* 087C10 800EE760 46062001 */ sub.s $f0, $f4, $f6 -/* 087C14 800EE764 24420005 */ addiu $v0, $v0, 5 -/* 087C18 800EE768 44821000 */ mtc1 $v0, $f2 -/* 087C1C 800EE76C 00000000 */ nop -/* 087C20 800EE770 468010A1 */ cvt.d.w $f2, $f2 -/* 087C24 800EE774 46000021 */ cvt.d.s $f0, $f0 -/* 087C28 800EE778 46200005 */ abs.d $f0, $f0 -/* 087C2C 800EE77C 4620103C */ c.lt.d $f2, $f0 -/* 087C30 800EE780 00000000 */ nop -/* 087C34 800EE784 45000018 */ bc1f .L800EE7E8 -/* 087C38 800EE788 00000000 */ nop -/* 087C3C 800EE78C 46043001 */ sub.s $f0, $f6, $f4 -/* 087C40 800EE790 3C014120 */ lui $at, 0x4120 -/* 087C44 800EE794 44811000 */ mtc1 $at, $f2 -/* 087C48 800EE798 00000000 */ nop -/* 087C4C 800EE79C 46020003 */ div.s $f0, $f0, $f2 -/* 087C50 800EE7A0 46002000 */ add.s $f0, $f4, $f0 -/* 087C54 800EE7A4 0803B9FA */ j .L800EE7E8 -/* 087C58 800EE7A8 E620003C */ swc1 $f0, 0x3c($s1) - -.L800EE7AC: -/* 087C5C 800EE7AC 866200B0 */ lh $v0, 0xb0($s3) -/* 087C60 800EE7B0 C660002C */ lwc1 $f0, 0x2c($s3) -/* 087C64 800EE7B4 44821000 */ mtc1 $v0, $f2 -/* 087C68 800EE7B8 00000000 */ nop -/* 087C6C 800EE7BC 468010A0 */ cvt.s.w $f2, $f2 -/* 087C70 800EE7C0 46020000 */ add.s $f0, $f0, $f2 -/* 087C74 800EE7C4 C622003C */ lwc1 $f2, 0x3c($s1) -/* 087C78 800EE7C8 46020001 */ sub.s $f0, $f0, $f2 -/* 087C7C 800EE7CC 3C013E00 */ lui $at, 0x3e00 -/* 087C80 800EE7D0 44812000 */ mtc1 $at, $f4 -/* 087C84 800EE7D4 00000000 */ nop -/* 087C88 800EE7D8 46040002 */ mul.s $f0, $f0, $f4 -/* 087C8C 800EE7DC 00000000 */ nop -/* 087C90 800EE7E0 46001080 */ add.s $f2, $f2, $f0 -/* 087C94 800EE7E4 E622003C */ swc1 $f2, 0x3c($s1) -.L800EE7E8: -/* 087C98 800EE7E8 3C018010 */ lui $at, 0x8010 -/* 087C9C 800EE7EC C4208030 */ lwc1 $f0, -0x7fd0($at) -/* 087CA0 800EE7F0 C6220038 */ lwc1 $f2, 0x38($s1) -/* 087CA4 800EE7F4 C624003C */ lwc1 $f4, 0x3c($s1) -/* 087CA8 800EE7F8 C6260040 */ lwc1 $f6, 0x40($s1) -/* 087CAC 800EE7FC E6200018 */ swc1 $f0, 0x18($s1) -/* 087CB0 800EE800 3C018010 */ lui $at, 0x8010 -/* 087CB4 800EE804 C4208034 */ lwc1 $f0, -0x7fcc($at) -/* 087CB8 800EE808 C6280018 */ lwc1 $f8, 0x18($s1) -/* 087CBC 800EE80C 0000202D */ daddu $a0, $zero, $zero -/* 087CC0 800EE810 E620000C */ swc1 $f0, 0xc($s1) -/* 087CC4 800EE814 E7A20020 */ swc1 $f2, 0x20($sp) -/* 087CC8 800EE818 E7A40024 */ swc1 $f4, 0x24($sp) -/* 087CCC 800EE81C E7A60028 */ swc1 $f6, 0x28($sp) -/* 087CD0 800EE820 E7A80010 */ swc1 $f8, 0x10($sp) -/* 087CD4 800EE824 C620000C */ lwc1 $f0, 0xc($s1) -/* 087CD8 800EE828 27A50020 */ addiu $a1, $sp, 0x20 -/* 087CDC 800EE82C E7A00014 */ swc1 $f0, 0x14($sp) -/* 087CE0 800EE830 862200A8 */ lh $v0, 0xa8($s1) -/* 087CE4 800EE834 27A60024 */ addiu $a2, $sp, 0x24 -/* 087CE8 800EE838 44820000 */ mtc1 $v0, $f0 -/* 087CEC 800EE83C 00000000 */ nop -/* 087CF0 800EE840 46800020 */ cvt.s.w $f0, $f0 -/* 087CF4 800EE844 E7A00018 */ swc1 $f0, 0x18($sp) -/* 087CF8 800EE848 862200A6 */ lh $v0, 0xa6($s1) -/* 087CFC 800EE84C 27A70028 */ addiu $a3, $sp, 0x28 -/* 087D00 800EE850 44820000 */ mtc1 $v0, $f0 -/* 087D04 800EE854 00000000 */ nop -/* 087D08 800EE858 46800020 */ cvt.s.w $f0, $f0 -/* 087D0C 800EE85C 0C0376B9 */ jal func_800DDAE4 -/* 087D10 800EE860 E7A0001C */ swc1 $f0, 0x1c($sp) -/* 087D14 800EE864 10400010 */ beqz $v0, .L800EE8A8 -/* 087D18 800EE868 00000000 */ nop -/* 087D1C 800EE86C C7A00020 */ lwc1 $f0, 0x20($sp) -/* 087D20 800EE870 C6260038 */ lwc1 $f6, 0x38($s1) -/* 087D24 800EE874 C7A20028 */ lwc1 $f2, 0x28($sp) -/* 087D28 800EE878 46060001 */ sub.s $f0, $f0, $f6 -/* 087D2C 800EE87C C6240040 */ lwc1 $f4, 0x40($s1) -/* 087D30 800EE880 3C0140A0 */ lui $at, 0x40a0 -/* 087D34 800EE884 44814000 */ mtc1 $at, $f8 -/* 087D38 800EE888 46041081 */ sub.s $f2, $f2, $f4 -/* 087D3C 800EE88C 46080003 */ div.s $f0, $f0, $f8 -/* 087D40 800EE890 46003180 */ add.s $f6, $f6, $f0 -/* 087D44 800EE894 46081083 */ div.s $f2, $f2, $f8 -/* 087D48 800EE898 46022100 */ add.s $f4, $f4, $f2 -/* 087D4C 800EE89C E6260038 */ swc1 $f6, 0x38($s1) -/* 087D50 800EE8A0 0803BA5A */ j .L800EE968 -/* 087D54 800EE8A4 E6240040 */ swc1 $f4, 0x40($s1) - -.L800EE8A8: -/* 087D58 800EE8A8 8E250018 */ lw $a1, 0x18($s1) -/* 087D5C 800EE8AC 8E26000C */ lw $a2, 0xc($s1) -/* 087D60 800EE8B0 0C00EA95 */ jal npc_move_heading -/* 087D64 800EE8B4 0220202D */ daddu $a0, $s1, $zero -/* 087D68 800EE8B8 0803BA5A */ j .L800EE968 -/* 087D6C 800EE8BC 00000000 */ nop - -.L800EE8C0: -/* 087D70 800EE8C0 0C03BD17 */ jal clear_partner_move_history -/* 087D74 800EE8C4 0220202D */ daddu $a0, $s1, $zero -/* 087D78 800EE8C8 3C038011 */ lui $v1, 0x8011 -/* 087D7C 800EE8CC 8C63CFD8 */ lw $v1, -0x3028($v1) -/* 087D80 800EE8D0 3C014387 */ lui $at, 0x4387 -/* 087D84 800EE8D4 44810000 */ mtc1 $at, $f0 -/* 087D88 800EE8D8 AE200018 */ sw $zero, 0x18($s1) -/* 087D8C 800EE8DC AE200014 */ sw $zero, 0x14($s1) -/* 087D90 800EE8E0 000310C0 */ sll $v0, $v1, 3 -/* 087D94 800EE8E4 00431021 */ addu $v0, $v0, $v1 -/* 087D98 800EE8E8 00021080 */ sll $v0, $v0, 2 -/* 087D9C 800EE8EC 3C018010 */ lui $at, 0x8010 -/* 087DA0 800EE8F0 00220821 */ addu $at, $at, $v0 -/* 087DA4 800EE8F4 8C22835C */ lw $v0, -0x7ca4($at) -/* 087DA8 800EE8F8 AE220028 */ sw $v0, 0x28($s1) -/* 087DAC 800EE8FC C64C006C */ lwc1 $f12, 0x6c($s2) -/* 087DB0 800EE900 46006300 */ add.s $f12, $f12, $f0 -/* 087DB4 800EE904 C66000A8 */ lwc1 $f0, 0xa8($s3) -/* 087DB8 800EE908 3C018011 */ lui $at, 0x8011 -/* 087DBC 800EE90C A420CFC8 */ sh $zero, -0x3038($at) -/* 087DC0 800EE910 3C018011 */ lui $at, 0x8011 -/* 087DC4 800EE914 A420CFCA */ sh $zero, -0x3036($at) -/* 087DC8 800EE918 3C018011 */ lui $at, 0x8011 -/* 087DCC 800EE91C A420CFCE */ sh $zero, -0x3032($at) -/* 087DD0 800EE920 0C00A6C9 */ jal clamp_angle -/* 087DD4 800EE924 46006301 */ sub.s $f12, $f12, $f0 -/* 087DD8 800EE928 0803BA5A */ j .L800EE968 -/* 087DDC 800EE92C E620000C */ swc1 $f0, 0xc($s1) - -/* 087DE0 800EE930 0220202D */ daddu $a0, $s1, $zero -/* 087DE4 800EE934 0C03BE0B */ jal func_800EF82C -/* 087DE8 800EE938 24050001 */ addiu $a1, $zero, 1 -/* 087DEC 800EE93C 0803BA5A */ j .L800EE968 -/* 087DF0 800EE940 00000000 */ nop - -/* 087DF4 800EE944 3C028011 */ lui $v0, 0x8011 -/* 087DF8 800EE948 8C42CFD8 */ lw $v0, -0x3028($v0) -/* 087DFC 800EE94C 000218C0 */ sll $v1, $v0, 3 -/* 087E00 800EE950 00621821 */ addu $v1, $v1, $v0 -/* 087E04 800EE954 00031880 */ sll $v1, $v1, 2 -/* 087E08 800EE958 3C028010 */ lui $v0, 0x8010 -/* 087E0C 800EE95C 00431021 */ addu $v0, $v0, $v1 -/* 087E10 800EE960 8C42835C */ lw $v0, -0x7ca4($v0) -/* 087E14 800EE964 AE220028 */ sw $v0, 0x28($s1) -.L800EE968: -/* 087E18 800EE968 8FBF0044 */ lw $ra, 0x44($sp) -/* 087E1C 800EE96C 8FB40040 */ lw $s4, 0x40($sp) -/* 087E20 800EE970 8FB3003C */ lw $s3, 0x3c($sp) -/* 087E24 800EE974 8FB20038 */ lw $s2, 0x38($sp) -/* 087E28 800EE978 8FB10034 */ lw $s1, 0x34($sp) -/* 087E2C 800EE97C 8FB00030 */ lw $s0, 0x30($sp) -/* 087E30 800EE980 D7B80058 */ ldc1 $f24, 0x58($sp) -/* 087E34 800EE984 D7B60050 */ ldc1 $f22, 0x50($sp) -/* 087E38 800EE988 D7B40048 */ ldc1 $f20, 0x48($sp) -/* 087E3C 800EE98C 03E00008 */ jr $ra -/* 087E40 800EE990 27BD0060 */ addiu $sp, $sp, 0x60 - -/* 087E44 800EE994 8C830000 */ lw $v1, ($a0) -/* 087E48 800EE998 3C020001 */ lui $v0, 1 -/* 087E4C 800EE99C AC820080 */ sw $v0, 0x80($a0) -/* 087E50 800EE9A0 0000102D */ daddu $v0, $zero, $zero -/* 087E54 800EE9A4 3C018011 */ lui $at, 0x8011 -/* 087E58 800EE9A8 A420CFC8 */ sh $zero, -0x3038($at) -/* 087E5C 800EE9AC 34630100 */ ori $v1, $v1, 0x100 -/* 087E60 800EE9B0 03E00008 */ jr $ra -/* 087E64 800EE9B4 AC830000 */ sw $v1, ($a0) - -/* 087E68 800EE9B8 27BDFFB0 */ addiu $sp, $sp, -0x50 -/* 087E6C 800EE9BC AFB00010 */ sw $s0, 0x10($sp) -/* 087E70 800EE9C0 0080802D */ daddu $s0, $a0, $zero -/* 087E74 800EE9C4 3C048011 */ lui $a0, 0x8011 -/* 087E78 800EE9C8 2484EFC8 */ addiu $a0, $a0, -0x1038 -/* 087E7C 800EE9CC AFB10014 */ sw $s1, 0x14($sp) -/* 087E80 800EE9D0 3C118011 */ lui $s1, 0x8011 -/* 087E84 800EE9D4 2631CFC8 */ addiu $s1, $s1, -0x3038 -/* 087E88 800EE9D8 AFBF001C */ sw $ra, 0x1c($sp) -/* 087E8C 800EE9DC AFB20018 */ sw $s2, 0x18($sp) -/* 087E90 800EE9E0 F7BE0048 */ sdc1 $f30, 0x48($sp) -/* 087E94 800EE9E4 F7BC0040 */ sdc1 $f28, 0x40($sp) -/* 087E98 800EE9E8 F7BA0038 */ sdc1 $f26, 0x38($sp) -/* 087E9C 800EE9EC F7B80030 */ sdc1 $f24, 0x30($sp) -/* 087EA0 800EE9F0 F7B60028 */ sdc1 $f22, 0x28($sp) -/* 087EA4 800EE9F4 F7B40020 */ sdc1 $f20, 0x20($sp) -/* 087EA8 800EE9F8 86230000 */ lh $v1, ($s1) -/* 087EAC 800EE9FC 24120001 */ addiu $s2, $zero, 1 -/* 087EB0 800EEA00 10720062 */ beq $v1, $s2, .L800EEB8C -/* 087EB4 800EEA04 28620002 */ slti $v0, $v1, 2 -/* 087EB8 800EEA08 10400005 */ beqz $v0, .L800EEA20 -/* 087EBC 800EEA0C 24020002 */ addiu $v0, $zero, 2 -/* 087EC0 800EEA10 10600007 */ beqz $v1, .L800EEA30 -/* 087EC4 800EEA14 0000102D */ daddu $v0, $zero, $zero -/* 087EC8 800EEA18 0803BB25 */ j .L800EEC94 -/* 087ECC 800EEA1C 00000000 */ nop - -.L800EEA20: -/* 087ED0 800EEA20 1062008C */ beq $v1, $v0, .L800EEC54 -/* 087ED4 800EEA24 0200202D */ daddu $a0, $s0, $zero -/* 087ED8 800EEA28 0803BB25 */ j .L800EEC94 -/* 087EDC 800EEA2C 0000102D */ daddu $v0, $zero, $zero - -.L800EEA30: -/* 087EE0 800EEA30 2403FDFF */ addiu $v1, $zero, -0x201 -/* 087EE4 800EEA34 8E020000 */ lw $v0, ($s0) -/* 087EE8 800EEA38 C61A0038 */ lwc1 $f26, 0x38($s0) -/* 087EEC 800EEA3C C614003C */ lwc1 $f20, 0x3c($s0) -/* 087EF0 800EEA40 C6160040 */ lwc1 $f22, 0x40($s0) -/* 087EF4 800EEA44 3C013FCC */ lui $at, 0x3fcc -/* 087EF8 800EEA48 3421CCCD */ ori $at, $at, 0xcccd -/* 087EFC 800EEA4C 44811000 */ mtc1 $at, $f2 -/* 087F00 800EEA50 00431024 */ and $v0, $v0, $v1 -/* 087F04 800EEA54 2403FFF7 */ addiu $v1, $zero, -9 -/* 087F08 800EEA58 00431024 */ and $v0, $v0, $v1 -/* 087F0C 800EEA5C AE020000 */ sw $v0, ($s0) -/* 087F10 800EEA60 C49C0028 */ lwc1 $f28, 0x28($a0) -/* 087F14 800EEA64 E61C0060 */ swc1 $f28, 0x60($s0) -/* 087F18 800EEA68 948200B0 */ lhu $v0, 0xb0($a0) -/* 087F1C 800EEA6C C49E002C */ lwc1 $f30, 0x2c($a0) -/* 087F20 800EEA70 00021400 */ sll $v0, $v0, 0x10 -/* 087F24 800EEA74 00021C03 */ sra $v1, $v0, 0x10 -/* 087F28 800EEA78 000217C2 */ srl $v0, $v0, 0x1f -/* 087F2C 800EEA7C 00621821 */ addu $v1, $v1, $v0 -/* 087F30 800EEA80 00031843 */ sra $v1, $v1, 1 -/* 087F34 800EEA84 44830000 */ mtc1 $v1, $f0 -/* 087F38 800EEA88 00000000 */ nop -/* 087F3C 800EEA8C 46800020 */ cvt.s.w $f0, $f0 -/* 087F40 800EEA90 4600F780 */ add.s $f30, $f30, $f0 -/* 087F44 800EEA94 4406E000 */ mfc1 $a2, $f28 -/* 087F48 800EEA98 4600D306 */ mov.s $f12, $f26 -/* 087F4C 800EEA9C E61E0064 */ swc1 $f30, 0x64($s0) -/* 087F50 800EEAA0 C4980030 */ lwc1 $f24, 0x30($a0) -/* 087F54 800EEAA4 3C014080 */ lui $at, 0x4080 -/* 087F58 800EEAA8 44810000 */ mtc1 $at, $f0 -/* 087F5C 800EEAAC 4407C000 */ mfc1 $a3, $f24 -/* 087F60 800EEAB0 4600B386 */ mov.s $f14, $f22 -/* 087F64 800EEAB4 3C018010 */ lui $at, 0x8010 -/* 087F68 800EEAB8 E43A833C */ swc1 $f26, -0x7cc4($at) -/* 087F6C 800EEABC 3C018010 */ lui $at, 0x8010 -/* 087F70 800EEAC0 E4348340 */ swc1 $f20, -0x7cc0($at) -/* 087F74 800EEAC4 3C018010 */ lui $at, 0x8010 -/* 087F78 800EEAC8 E4368344 */ swc1 $f22, -0x7cbc($at) -/* 087F7C 800EEACC E6000018 */ swc1 $f0, 0x18($s0) -/* 087F80 800EEAD0 E6020014 */ swc1 $f2, 0x14($s0) -/* 087F84 800EEAD4 0C00A7B5 */ jal dist2D -/* 087F88 800EEAD8 E6180068 */ swc1 $f24, 0x68($s0) -/* 087F8C 800EEADC 4600D306 */ mov.s $f12, $f26 -/* 087F90 800EEAE0 4406E000 */ mfc1 $a2, $f28 -/* 087F94 800EEAE4 4407C000 */ mfc1 $a3, $f24 -/* 087F98 800EEAE8 4600B386 */ mov.s $f14, $f22 -/* 087F9C 800EEAEC 0C00A720 */ jal atan2 -/* 087FA0 800EEAF0 E6000010 */ swc1 $f0, 0x10($s0) -/* 087FA4 800EEAF4 2402000F */ addiu $v0, $zero, 0xf -/* 087FA8 800EEAF8 A602008E */ sh $v0, 0x8e($s0) -/* 087FAC 800EEAFC 8602008E */ lh $v0, 0x8e($s0) -/* 087FB0 800EEB00 C6020014 */ lwc1 $f2, 0x14($s0) -/* 087FB4 800EEB04 44823000 */ mtc1 $v0, $f6 -/* 087FB8 800EEB08 00000000 */ nop -/* 087FBC 800EEB0C 468031A0 */ cvt.s.w $f6, $f6 -/* 087FC0 800EEB10 46061082 */ mul.s $f2, $f2, $f6 -/* 087FC4 800EEB14 00000000 */ nop -/* 087FC8 800EEB18 4614F501 */ sub.s $f20, $f30, $f20 -/* 087FCC 800EEB1C 3C013F00 */ lui $at, 0x3f00 -/* 087FD0 800EEB20 44812000 */ mtc1 $at, $f4 -/* 087FD4 800EEB24 46061082 */ mul.s $f2, $f2, $f6 -/* 087FD8 800EEB28 00000000 */ nop -/* 087FDC 800EEB2C 3C014170 */ lui $at, 0x4170 -/* 087FE0 800EEB30 44814000 */ mtc1 $at, $f8 -/* 087FE4 800EEB34 3C038011 */ lui $v1, 0x8011 -/* 087FE8 800EEB38 8C63CFD8 */ lw $v1, -0x3028($v1) -/* 087FEC 800EEB3C E600000C */ swc1 $f0, 0xc($s0) -/* 087FF0 800EEB40 46041082 */ mul.s $f2, $f2, $f4 -/* 087FF4 800EEB44 00000000 */ nop -/* 087FF8 800EEB48 000310C0 */ sll $v0, $v1, 3 -/* 087FFC 800EEB4C 00431021 */ addu $v0, $v0, $v1 -/* 088000 800EEB50 00021080 */ sll $v0, $v0, 2 -/* 088004 800EEB54 C6040010 */ lwc1 $f4, 0x10($s0) -/* 088008 800EEB58 4602A500 */ add.s $f20, $f20, $f2 -/* 08800C 800EEB5C 46082103 */ div.s $f4, $f4, $f8 -/* 088010 800EEB60 E6040018 */ swc1 $f4, 0x18($s0) -/* 088014 800EEB64 4606A503 */ div.s $f20, $f20, $f6 -/* 088018 800EEB68 E614001C */ swc1 $f20, 0x1c($s0) -/* 08801C 800EEB6C 3C018010 */ lui $at, 0x8010 -/* 088020 800EEB70 00220821 */ addu $at, $at, $v0 -/* 088024 800EEB74 8C228350 */ lw $v0, -0x7cb0($at) -/* 088028 800EEB78 0200202D */ daddu $a0, $s0, $zero -/* 08802C 800EEB7C 0C00EB49 */ jal enable_npc_blur -/* 088030 800EEB80 AC820028 */ sw $v0, 0x28($a0) -/* 088034 800EEB84 0803BB24 */ j .L800EEC90 -/* 088038 800EEB88 A6320000 */ sh $s2, ($s1) - -.L800EEB8C: -/* 08803C 800EEB8C C600001C */ lwc1 $f0, 0x1c($s0) -/* 088040 800EEB90 C6020014 */ lwc1 $f2, 0x14($s0) -/* 088044 800EEB94 46020001 */ sub.s $f0, $f0, $f2 -/* 088048 800EEB98 C602003C */ lwc1 $f2, 0x3c($s0) -/* 08804C 800EEB9C E600001C */ swc1 $f0, 0x1c($s0) -/* 088050 800EEBA0 46000106 */ mov.s $f4, $f0 -/* 088054 800EEBA4 46001080 */ add.s $f2, $f2, $f0 -/* 088058 800EEBA8 44800000 */ mtc1 $zero, $f0 -/* 08805C 800EEBAC 00000000 */ nop -/* 088060 800EEBB0 4600203E */ c.le.s $f4, $f0 -/* 088064 800EEBB4 00000000 */ nop -/* 088068 800EEBB8 4500000A */ bc1f .L800EEBE4 -/* 08806C 800EEBBC E602003C */ swc1 $f2, 0x3c($s0) -/* 088070 800EEBC0 3C028011 */ lui $v0, 0x8011 -/* 088074 800EEBC4 8C42CFD8 */ lw $v0, -0x3028($v0) -/* 088078 800EEBC8 000218C0 */ sll $v1, $v0, 3 -/* 08807C 800EEBCC 00621821 */ addu $v1, $v1, $v0 -/* 088080 800EEBD0 00031880 */ sll $v1, $v1, 2 -/* 088084 800EEBD4 3C028010 */ lui $v0, 0x8010 -/* 088088 800EEBD8 00431021 */ addu $v0, $v0, $v1 -/* 08808C 800EEBDC 8C428354 */ lw $v0, -0x7cac($v0) -/* 088090 800EEBE0 AE020028 */ sw $v0, 0x28($s0) -.L800EEBE4: -/* 088094 800EEBE4 8E06000C */ lw $a2, 0xc($s0) -/* 088098 800EEBE8 8E050018 */ lw $a1, 0x18($s0) -/* 08809C 800EEBEC 0C00EA95 */ jal npc_move_heading -/* 0880A0 800EEBF0 0200202D */ daddu $a0, $s0, $zero -/* 0880A4 800EEBF4 8602008E */ lh $v0, 0x8e($s0) -/* 0880A8 800EEBF8 3C014120 */ lui $at, 0x4120 -/* 0880AC 800EEBFC 44811000 */ mtc1 $at, $f2 -/* 0880B0 800EEC00 44820000 */ mtc1 $v0, $f0 -/* 0880B4 800EEC04 00000000 */ nop -/* 0880B8 800EEC08 46800020 */ cvt.s.w $f0, $f0 -/* 0880BC 800EEC0C 4600103C */ c.lt.s $f2, $f0 -/* 0880C0 800EEC10 00000000 */ nop -/* 0880C4 800EEC14 45030001 */ bc1tl .L800EEC1C -/* 0880C8 800EEC18 46001006 */ mov.s $f0, $f2 -.L800EEC1C: -/* 0880CC 800EEC1C 9602008E */ lhu $v0, 0x8e($s0) -/* 0880D0 800EEC20 46020003 */ div.s $f0, $f0, $f2 -/* 0880D4 800EEC24 E6000054 */ swc1 $f0, 0x54($s0) -/* 0880D8 800EEC28 46000086 */ mov.s $f2, $f0 -/* 0880DC 800EEC2C E6000058 */ swc1 $f0, 0x58($s0) -/* 0880E0 800EEC30 E602005C */ swc1 $f2, 0x5c($s0) -/* 0880E4 800EEC34 2442FFFF */ addiu $v0, $v0, -1 -/* 0880E8 800EEC38 A602008E */ sh $v0, 0x8e($s0) -/* 0880EC 800EEC3C 00021400 */ sll $v0, $v0, 0x10 -/* 0880F0 800EEC40 04410014 */ bgez $v0, .L800EEC94 -/* 0880F4 800EEC44 0000102D */ daddu $v0, $zero, $zero -/* 0880F8 800EEC48 24020002 */ addiu $v0, $zero, 2 -/* 0880FC 800EEC4C 0803BB24 */ j .L800EEC90 -/* 088100 800EEC50 A6220000 */ sh $v0, ($s1) - -.L800EEC54: -/* 088104 800EEC54 3C038011 */ lui $v1, 0x8011 -/* 088108 800EEC58 8C63CFD8 */ lw $v1, -0x3028($v1) -/* 08810C 800EEC5C C6000064 */ lwc1 $f0, 0x64($s0) -/* 088110 800EEC60 000310C0 */ sll $v0, $v1, 3 -/* 088114 800EEC64 00431021 */ addu $v0, $v0, $v1 -/* 088118 800EEC68 00021080 */ sll $v0, $v0, 2 -/* 08811C 800EEC6C 3C018010 */ lui $at, 0x8010 -/* 088120 800EEC70 00220821 */ addu $at, $at, $v0 -/* 088124 800EEC74 8C228358 */ lw $v0, -0x7ca8($at) -/* 088128 800EEC78 AC80001C */ sw $zero, 0x1c($a0) -/* 08812C 800EEC7C E480003C */ swc1 $f0, 0x3c($a0) -/* 088130 800EEC80 0C00EB6B */ jal disable_npc_blur -/* 088134 800EEC84 AC820028 */ sw $v0, 0x28($a0) -/* 088138 800EEC88 0803BB25 */ j .L800EEC94 -/* 08813C 800EEC8C 24020001 */ addiu $v0, $zero, 1 - -.L800EEC90: -/* 088140 800EEC90 0000102D */ daddu $v0, $zero, $zero -.L800EEC94: -/* 088144 800EEC94 8FBF001C */ lw $ra, 0x1c($sp) -/* 088148 800EEC98 8FB20018 */ lw $s2, 0x18($sp) -/* 08814C 800EEC9C 8FB10014 */ lw $s1, 0x14($sp) -/* 088150 800EECA0 8FB00010 */ lw $s0, 0x10($sp) -/* 088154 800EECA4 D7BE0048 */ ldc1 $f30, 0x48($sp) -/* 088158 800EECA8 D7BC0040 */ ldc1 $f28, 0x40($sp) -/* 08815C 800EECAC D7BA0038 */ ldc1 $f26, 0x38($sp) -/* 088160 800EECB0 D7B80030 */ ldc1 $f24, 0x30($sp) -/* 088164 800EECB4 D7B60028 */ ldc1 $f22, 0x28($sp) -/* 088168 800EECB8 D7B40020 */ ldc1 $f20, 0x20($sp) -/* 08816C 800EECBC 03E00008 */ jr $ra -/* 088170 800EECC0 27BD0050 */ addiu $sp, $sp, 0x50 - -/* 088174 800EECC4 8C830000 */ lw $v1, ($a0) -/* 088178 800EECC8 3C020001 */ lui $v0, 1 -/* 08817C 800EECCC AC820080 */ sw $v0, 0x80($a0) -/* 088180 800EECD0 0000102D */ daddu $v0, $zero, $zero -/* 088184 800EECD4 3C018011 */ lui $at, 0x8011 -/* 088188 800EECD8 A420CFC8 */ sh $zero, -0x3038($at) -/* 08818C 800EECDC 34630100 */ ori $v1, $v1, 0x100 -/* 088190 800EECE0 03E00008 */ jr $ra -/* 088194 800EECE4 AC830000 */ sw $v1, ($a0) - -/* 088198 800EECE8 27BDFF90 */ addiu $sp, $sp, -0x70 -/* 08819C 800EECEC AFB00030 */ sw $s0, 0x30($sp) -/* 0881A0 800EECF0 0080802D */ daddu $s0, $a0, $zero -/* 0881A4 800EECF4 AFB10034 */ sw $s1, 0x34($sp) -/* 0881A8 800EECF8 3C118011 */ lui $s1, 0x8011 -/* 0881AC 800EECFC 2631EFC8 */ addiu $s1, $s1, -0x1038 -/* 0881B0 800EED00 3C038007 */ lui $v1, 0x8007 -/* 0881B4 800EED04 8C637410 */ lw $v1, 0x7410($v1) -/* 0881B8 800EED08 3C04800B */ lui $a0, 0x800b -/* 0881BC 800EED0C 24841D80 */ addiu $a0, $a0, 0x1d80 -/* 0881C0 800EED10 AFB3003C */ sw $s3, 0x3c($sp) -/* 0881C4 800EED14 3C138011 */ lui $s3, 0x8011 -/* 0881C8 800EED18 2673CFC8 */ addiu $s3, $s3, -0x3038 -/* 0881CC 800EED1C AFBF0048 */ sw $ra, 0x48($sp) -/* 0881D0 800EED20 AFB50044 */ sw $s5, 0x44($sp) -/* 0881D4 800EED24 AFB40040 */ sw $s4, 0x40($sp) -/* 0881D8 800EED28 AFB20038 */ sw $s2, 0x38($sp) -/* 0881DC 800EED2C F7BA0068 */ sdc1 $f26, 0x68($sp) -/* 0881E0 800EED30 F7B80060 */ sdc1 $f24, 0x60($sp) -/* 0881E4 800EED34 F7B60058 */ sdc1 $f22, 0x58($sp) -/* 0881E8 800EED38 F7B40050 */ sdc1 $f20, 0x50($sp) -/* 0881EC 800EED3C 00031080 */ sll $v0, $v1, 2 -/* 0881F0 800EED40 00431021 */ addu $v0, $v0, $v1 -/* 0881F4 800EED44 00021080 */ sll $v0, $v0, 2 -/* 0881F8 800EED48 00431023 */ subu $v0, $v0, $v1 -/* 0881FC 800EED4C 000218C0 */ sll $v1, $v0, 3 -/* 088200 800EED50 00431021 */ addu $v0, $v0, $v1 -/* 088204 800EED54 000210C0 */ sll $v0, $v0, 3 -/* 088208 800EED58 00449021 */ addu $s2, $v0, $a0 -/* 08820C 800EED5C 86630000 */ lh $v1, ($s3) -/* 088210 800EED60 24020001 */ addiu $v0, $zero, 1 -/* 088214 800EED64 106200E6 */ beq $v1, $v0, .L800EF100 -/* 088218 800EED68 28620002 */ slti $v0, $v1, 2 -/* 08821C 800EED6C 10400005 */ beqz $v0, .L800EED84 -/* 088220 800EED70 24020002 */ addiu $v0, $zero, 2 -/* 088224 800EED74 10600007 */ beqz $v1, .L800EED94 -/* 088228 800EED78 0000102D */ daddu $v0, $zero, $zero -/* 08822C 800EED7C 0803BCB3 */ j .L800EF2CC -/* 088230 800EED80 00000000 */ nop - -.L800EED84: -/* 088234 800EED84 10620123 */ beq $v1, $v0, .L800EF214 -/* 088238 800EED88 0000102D */ daddu $v0, $zero, $zero -/* 08823C 800EED8C 0803BCB3 */ j .L800EF2CC -/* 088240 800EED90 00000000 */ nop - -.L800EED94: -/* 088244 800EED94 0C00A6C9 */ jal clamp_angle -/* 088248 800EED98 C62C00A8 */ lwc1 $f12, 0xa8($s1) -/* 08824C 800EED9C 3C014334 */ lui $at, 0x4334 -/* 088250 800EEDA0 44811000 */ mtc1 $at, $f2 -/* 088254 800EEDA4 00000000 */ nop -/* 088258 800EEDA8 4602003C */ c.lt.s $f0, $f2 -/* 08825C 800EEDAC 00000000 */ nop -/* 088260 800EEDB0 45000006 */ bc1f .L800EEDCC -/* 088264 800EEDB4 00000000 */ nop -/* 088268 800EEDB8 C640006C */ lwc1 $f0, 0x6c($s2) -/* 08826C 800EEDBC 3C0142B4 */ lui $at, 0x42b4 -/* 088270 800EEDC0 44816000 */ mtc1 $at, $f12 -/* 088274 800EEDC4 0803BB78 */ j .L800EEDE0 -/* 088278 800EEDC8 460C0300 */ add.s $f12, $f0, $f12 - -.L800EEDCC: -/* 08827C 800EEDCC C640006C */ lwc1 $f0, 0x6c($s2) -/* 088280 800EEDD0 3C0142B4 */ lui $at, 0x42b4 -/* 088284 800EEDD4 44816000 */ mtc1 $at, $f12 -/* 088288 800EEDD8 00000000 */ nop -/* 08828C 800EEDDC 460C0301 */ sub.s $f12, $f0, $f12 -.L800EEDE0: -/* 088290 800EEDE0 0C00A6C9 */ jal clamp_angle -/* 088294 800EEDE4 00000000 */ nop -/* 088298 800EEDE8 E600000C */ swc1 $f0, 0xc($s0) -/* 08829C 800EEDEC C6200028 */ lwc1 $f0, 0x28($s1) -/* 0882A0 800EEDF0 3C128011 */ lui $s2, 0x8011 -/* 0882A4 800EEDF4 2652CFEC */ addiu $s2, $s2, -0x3014 -/* 0882A8 800EEDF8 E6000060 */ swc1 $f0, 0x60($s0) -/* 0882AC 800EEDFC C620002C */ lwc1 $f0, 0x2c($s1) -/* 0882B0 800EEE00 8E420000 */ lw $v0, ($s2) -/* 0882B4 800EEE04 E6000064 */ swc1 $f0, 0x64($s0) -/* 0882B8 800EEE08 8C42000C */ lw $v0, 0xc($v0) -/* 0882BC 800EEE0C 10400003 */ beqz $v0, .L800EEE1C -/* 0882C0 800EEE10 26040060 */ addiu $a0, $s0, 0x60 -/* 0882C4 800EEE14 C620002C */ lwc1 $f0, 0x2c($s1) -/* 0882C8 800EEE18 E6000064 */ swc1 $f0, 0x64($s0) -.L800EEE1C: -/* 0882CC 800EEE1C C6200030 */ lwc1 $f0, 0x30($s1) -/* 0882D0 800EEE20 E6000068 */ swc1 $f0, 0x68($s0) -/* 0882D4 800EEE24 862200B2 */ lh $v0, 0xb2($s1) -/* 0882D8 800EEE28 8E07000C */ lw $a3, 0xc($s0) -/* 0882DC 800EEE2C 44825000 */ mtc1 $v0, $f10 -/* 0882E0 800EEE30 00000000 */ nop -/* 0882E4 800EEE34 468052A0 */ cvt.s.w $f10, $f10 -/* 0882E8 800EEE38 44065000 */ mfc1 $a2, $f10 -/* 0882EC 800EEE3C 0C00A7E7 */ jal add_vec2D_polar -/* 0882F0 800EEE40 26050068 */ addiu $a1, $s0, 0x68 -/* 0882F4 800EEE44 C6160060 */ lwc1 $f22, 0x60($s0) -/* 0882F8 800EEE48 8E420000 */ lw $v0, ($s2) -/* 0882FC 800EEE4C C61A0064 */ lwc1 $f26, 0x64($s0) -/* 088300 800EEE50 8C42000C */ lw $v0, 0xc($v0) -/* 088304 800EEE54 C6140068 */ lwc1 $f20, 0x68($s0) -/* 088308 800EEE58 14400052 */ bnez $v0, .L800EEFA4 -/* 08830C 800EEE5C 27B20020 */ addiu $s2, $sp, 0x20 -/* 088310 800EEE60 0240202D */ daddu $a0, $s2, $zero -/* 088314 800EEE64 27B30024 */ addiu $s3, $sp, 0x24 -/* 088318 800EEE68 0260282D */ daddu $a1, $s3, $zero -/* 08831C 800EEE6C 3C158007 */ lui $s5, 0x8007 -/* 088320 800EEE70 26B57410 */ addiu $s5, $s5, 0x7410 -/* 088324 800EEE74 8EA30000 */ lw $v1, ($s5) -/* 088328 800EEE78 3C014000 */ lui $at, 0x4000 -/* 08832C 800EEE7C 4481C000 */ mtc1 $at, $f24 -/* 088330 800EEE80 00031080 */ sll $v0, $v1, 2 -/* 088334 800EEE84 00431021 */ addu $v0, $v0, $v1 -/* 088338 800EEE88 00021080 */ sll $v0, $v0, 2 -/* 08833C 800EEE8C 00431023 */ subu $v0, $v0, $v1 -/* 088340 800EEE90 000218C0 */ sll $v1, $v0, 3 -/* 088344 800EEE94 00431021 */ addu $v0, $v0, $v1 -/* 088348 800EEE98 000210C0 */ sll $v0, $v0, 3 -/* 08834C 800EEE9C 4406C000 */ mfc1 $a2, $f24 -/* 088350 800EEEA0 860300A8 */ lh $v1, 0xa8($s0) -/* 088354 800EEEA4 3C07800B */ lui $a3, 0x800b -/* 088358 800EEEA8 00E23821 */ addu $a3, $a3, $v0 -/* 08835C 800EEEAC 8CE71DEC */ lw $a3, 0x1dec($a3) -/* 088360 800EEEB0 44830000 */ mtc1 $v1, $f0 -/* 088364 800EEEB4 00000000 */ nop -/* 088368 800EEEB8 46800020 */ cvt.s.w $f0, $f0 -/* 08836C 800EEEBC 4600D000 */ add.s $f0, $f26, $f0 -/* 088370 800EEEC0 E7B60020 */ swc1 $f22, 0x20($sp) -/* 088374 800EEEC4 E7B40024 */ swc1 $f20, 0x24($sp) -/* 088378 800EEEC8 0C00A7E7 */ jal add_vec2D_polar -/* 08837C 800EEECC E7A00028 */ swc1 $f0, 0x28($sp) -/* 088380 800EEED0 3C040001 */ lui $a0, 1 -/* 088384 800EEED4 0240282D */ daddu $a1, $s2, $zero -/* 088388 800EEED8 27A2002C */ addiu $v0, $sp, 0x2c -/* 08838C 800EEEDC 3C01447A */ lui $at, 0x447a -/* 088390 800EEEE0 44810000 */ mtc1 $at, $f0 -/* 088394 800EEEE4 27A60028 */ addiu $a2, $sp, 0x28 -/* 088398 800EEEE8 E7A0002C */ swc1 $f0, 0x2c($sp) -/* 08839C 800EEEEC AFA20010 */ sw $v0, 0x10($sp) -/* 0883A0 800EEEF0 C600000C */ lwc1 $f0, 0xc($s0) -/* 0883A4 800EEEF4 0260382D */ daddu $a3, $s3, $zero -/* 0883A8 800EEEF8 E7A00014 */ swc1 $f0, 0x14($sp) -/* 0883AC 800EEEFC 860200A6 */ lh $v0, 0xa6($s0) -/* 0883B0 800EEF00 3C14800B */ lui $s4, 0x800b -/* 0883B4 800EEF04 26941D80 */ addiu $s4, $s4, 0x1d80 -/* 0883B8 800EEF08 44820000 */ mtc1 $v0, $f0 -/* 0883BC 800EEF0C 00000000 */ nop -/* 0883C0 800EEF10 46800020 */ cvt.s.w $f0, $f0 -/* 0883C4 800EEF14 0C0371DE */ jal func_800DC778 -/* 0883C8 800EEF18 E7A00018 */ swc1 $f0, 0x18($sp) -/* 0883CC 800EEF1C 10400011 */ beqz $v0, .L800EEF64 -/* 0883D0 800EEF20 0240202D */ daddu $a0, $s2, $zero -/* 0883D4 800EEF24 3C048011 */ lui $a0, 0x8011 -/* 0883D8 800EEF28 8C84C978 */ lw $a0, -0x3688($a0) -/* 0883DC 800EEF2C 0C016F6A */ jal get_collider_type_by_id -/* 0883E0 800EEF30 00000000 */ nop -/* 0883E4 800EEF34 2442FFFE */ addiu $v0, $v0, -2 -/* 0883E8 800EEF38 2C420002 */ sltiu $v0, $v0, 2 -/* 0883EC 800EEF3C 14400009 */ bnez $v0, .L800EEF64 -/* 0883F0 800EEF40 0240202D */ daddu $a0, $s2, $zero -/* 0883F4 800EEF44 C7A2002C */ lwc1 $f2, 0x2c($sp) -/* 0883F8 800EEF48 3C0142C8 */ lui $at, 0x42c8 -/* 0883FC 800EEF4C 44810000 */ mtc1 $at, $f0 -/* 088400 800EEF50 00000000 */ nop -/* 088404 800EEF54 4602003C */ c.lt.s $f0, $f2 -/* 088408 800EEF58 00000000 */ nop -/* 08840C 800EEF5C 45000011 */ bc1f .L800EEFA4 -/* 088410 800EEF60 00000000 */ nop -.L800EEF64: -/* 088414 800EEF64 C6360028 */ lwc1 $f22, 0x28($s1) -/* 088418 800EEF68 C63A002C */ lwc1 $f26, 0x2c($s1) -/* 08841C 800EEF6C 8EA20000 */ lw $v0, ($s5) -/* 088420 800EEF70 4406C000 */ mfc1 $a2, $f24 -/* 088424 800EEF74 00021880 */ sll $v1, $v0, 2 -/* 088428 800EEF78 00621821 */ addu $v1, $v1, $v0 -/* 08842C 800EEF7C 00031880 */ sll $v1, $v1, 2 -/* 088430 800EEF80 00621823 */ subu $v1, $v1, $v0 -/* 088434 800EEF84 000310C0 */ sll $v0, $v1, 3 -/* 088438 800EEF88 00621821 */ addu $v1, $v1, $v0 -/* 08843C 800EEF8C 000318C0 */ sll $v1, $v1, 3 -/* 088440 800EEF90 00741821 */ addu $v1, $v1, $s4 -/* 088444 800EEF94 8C67006C */ lw $a3, 0x6c($v1) -/* 088448 800EEF98 C6340030 */ lwc1 $f20, 0x30($s1) -/* 08844C 800EEF9C 0C00A7E7 */ jal add_vec2D_polar -/* 088450 800EEFA0 0260282D */ daddu $a1, $s3, $zero -.L800EEFA4: -/* 088454 800EEFA4 C62C0028 */ lwc1 $f12, 0x28($s1) -/* 088458 800EEFA8 4406B000 */ mfc1 $a2, $f22 -/* 08845C 800EEFAC 4407A000 */ mfc1 $a3, $f20 -/* 088460 800EEFB0 3C013F99 */ lui $at, 0x3f99 -/* 088464 800EEFB4 3421999A */ ori $at, $at, 0x999a -/* 088468 800EEFB8 44812000 */ mtc1 $at, $f4 -/* 08846C 800EEFBC E60C0038 */ swc1 $f12, 0x38($s0) -/* 088470 800EEFC0 962200B0 */ lhu $v0, 0xb0($s1) -/* 088474 800EEFC4 C622002C */ lwc1 $f2, 0x2c($s1) -/* 088478 800EEFC8 00021400 */ sll $v0, $v0, 0x10 -/* 08847C 800EEFCC 00021C03 */ sra $v1, $v0, 0x10 -/* 088480 800EEFD0 000217C2 */ srl $v0, $v0, 0x1f -/* 088484 800EEFD4 00621821 */ addu $v1, $v1, $v0 -/* 088488 800EEFD8 00031843 */ sra $v1, $v1, 1 -/* 08848C 800EEFDC 44830000 */ mtc1 $v1, $f0 -/* 088490 800EEFE0 00000000 */ nop -/* 088494 800EEFE4 46800020 */ cvt.s.w $f0, $f0 -/* 088498 800EEFE8 46001080 */ add.s $f2, $f2, $f0 -/* 08849C 800EEFEC 3C014080 */ lui $at, 0x4080 -/* 0884A0 800EEFF0 44810000 */ mtc1 $at, $f0 -/* 0884A4 800EEFF4 E602003C */ swc1 $f2, 0x3c($s0) -/* 0884A8 800EEFF8 C62E0030 */ lwc1 $f14, 0x30($s1) -/* 0884AC 800EEFFC E7AC0020 */ swc1 $f12, 0x20($sp) -/* 0884B0 800EF000 E7A20028 */ swc1 $f2, 0x28($sp) -/* 0884B4 800EF004 E6000018 */ swc1 $f0, 0x18($s0) -/* 0884B8 800EF008 E6040014 */ swc1 $f4, 0x14($s0) -/* 0884BC 800EF00C E60E0040 */ swc1 $f14, 0x40($s0) -/* 0884C0 800EF010 0C00A7B5 */ jal dist2D -/* 0884C4 800EF014 E7AE0024 */ swc1 $f14, 0x24($sp) -/* 0884C8 800EF018 C7AC0020 */ lwc1 $f12, 0x20($sp) -/* 0884CC 800EF01C C7AE0024 */ lwc1 $f14, 0x24($sp) -/* 0884D0 800EF020 4406B000 */ mfc1 $a2, $f22 -/* 0884D4 800EF024 4407A000 */ mfc1 $a3, $f20 -/* 0884D8 800EF028 0C00A720 */ jal atan2 -/* 0884DC 800EF02C E6000010 */ swc1 $f0, 0x10($s0) -/* 0884E0 800EF030 C6020010 */ lwc1 $f2, 0x10($s0) -/* 0884E4 800EF034 C6040018 */ lwc1 $f4, 0x18($s0) -/* 0884E8 800EF038 E600000C */ swc1 $f0, 0xc($s0) -/* 0884EC 800EF03C 46041083 */ div.s $f2, $f2, $f4 -/* 0884F0 800EF040 4600128D */ trunc.w.s $f10, $f2 -/* 0884F4 800EF044 44025000 */ mfc1 $v0, $f10 -/* 0884F8 800EF048 00000000 */ nop -/* 0884FC 800EF04C A602008E */ sh $v0, 0x8e($s0) -/* 088500 800EF050 00021400 */ sll $v0, $v0, 0x10 -/* 088504 800EF054 00021403 */ sra $v0, $v0, 0x10 -/* 088508 800EF058 2842000A */ slti $v0, $v0, 0xa -/* 08850C 800EF05C 10400007 */ beqz $v0, .L800EF07C -/* 088510 800EF060 2402000A */ addiu $v0, $zero, 0xa -/* 088514 800EF064 3C014120 */ lui $at, 0x4120 -/* 088518 800EF068 44810000 */ mtc1 $at, $f0 -/* 08851C 800EF06C C6020010 */ lwc1 $f2, 0x10($s0) -/* 088520 800EF070 A602008E */ sh $v0, 0x8e($s0) -/* 088524 800EF074 46001083 */ div.s $f2, $f2, $f0 -/* 088528 800EF078 E6020018 */ swc1 $f2, 0x18($s0) -.L800EF07C: -/* 08852C 800EF07C 8602008E */ lh $v0, 0x8e($s0) -/* 088530 800EF080 C6000014 */ lwc1 $f0, 0x14($s0) -/* 088534 800EF084 44822000 */ mtc1 $v0, $f4 -/* 088538 800EF088 00000000 */ nop -/* 08853C 800EF08C 46802120 */ cvt.s.w $f4, $f4 -/* 088540 800EF090 46040002 */ mul.s $f0, $f0, $f4 -/* 088544 800EF094 00000000 */ nop -/* 088548 800EF098 46040002 */ mul.s $f0, $f0, $f4 -/* 08854C 800EF09C 00000000 */ nop -/* 088550 800EF0A0 3C013F00 */ lui $at, 0x3f00 -/* 088554 800EF0A4 44811000 */ mtc1 $at, $f2 -/* 088558 800EF0A8 00000000 */ nop -/* 08855C 800EF0AC 46020002 */ mul.s $f0, $f0, $f2 -/* 088560 800EF0B0 00000000 */ nop -/* 088564 800EF0B4 C7A20028 */ lwc1 $f2, 0x28($sp) -/* 088568 800EF0B8 3C038011 */ lui $v1, 0x8011 -/* 08856C 800EF0BC 8C63CFD8 */ lw $v1, -0x3028($v1) -/* 088570 800EF0C0 4602D081 */ sub.s $f2, $f26, $f2 -/* 088574 800EF0C4 000310C0 */ sll $v0, $v1, 3 -/* 088578 800EF0C8 46001000 */ add.s $f0, $f2, $f0 -/* 08857C 800EF0CC 00431021 */ addu $v0, $v0, $v1 -/* 088580 800EF0D0 00021080 */ sll $v0, $v0, 2 -/* 088584 800EF0D4 46040003 */ div.s $f0, $f0, $f4 -/* 088588 800EF0D8 E600001C */ swc1 $f0, 0x1c($s0) -/* 08858C 800EF0DC 3C038010 */ lui $v1, 0x8010 -/* 088590 800EF0E0 00621821 */ addu $v1, $v1, $v0 -/* 088594 800EF0E4 8C638350 */ lw $v1, -0x7cb0($v1) -/* 088598 800EF0E8 24020001 */ addiu $v0, $zero, 1 -/* 08859C 800EF0EC 3C018011 */ lui $at, 0x8011 -/* 0885A0 800EF0F0 A422CFC8 */ sh $v0, -0x3038($at) -/* 0885A4 800EF0F4 E7A20028 */ swc1 $f2, 0x28($sp) -/* 0885A8 800EF0F8 0803BCB2 */ j .L800EF2C8 -/* 0885AC 800EF0FC AE030028 */ sw $v1, 0x28($s0) - -.L800EF100: -/* 0885B0 800EF100 C602001C */ lwc1 $f2, 0x1c($s0) -/* 0885B4 800EF104 44800000 */ mtc1 $zero, $f0 -/* 0885B8 800EF108 00000000 */ nop -/* 0885BC 800EF10C 4600103C */ c.lt.s $f2, $f0 -/* 0885C0 800EF110 00000000 */ nop -/* 0885C4 800EF114 45000009 */ bc1f .L800EF13C -/* 0885C8 800EF118 00000000 */ nop -/* 0885CC 800EF11C 46001085 */ abs.s $f2, $f2 -/* 0885D0 800EF120 44051000 */ mfc1 $a1, $f2 -/* 0885D4 800EF124 0C00E5FA */ jal func_800397E8 -/* 0885D8 800EF128 0200202D */ daddu $a0, $s0, $zero -/* 0885DC 800EF12C 10400003 */ beqz $v0, .L800EF13C -/* 0885E0 800EF130 24020002 */ addiu $v0, $zero, 2 -/* 0885E4 800EF134 0803BCB2 */ j .L800EF2C8 -/* 0885E8 800EF138 A6620000 */ sh $v0, ($s3) - -.L800EF13C: -/* 0885EC 800EF13C C600001C */ lwc1 $f0, 0x1c($s0) -/* 0885F0 800EF140 C6020014 */ lwc1 $f2, 0x14($s0) -/* 0885F4 800EF144 46020001 */ sub.s $f0, $f0, $f2 -/* 0885F8 800EF148 C602003C */ lwc1 $f2, 0x3c($s0) -/* 0885FC 800EF14C E600001C */ swc1 $f0, 0x1c($s0) -/* 088600 800EF150 46000106 */ mov.s $f4, $f0 -/* 088604 800EF154 46001080 */ add.s $f2, $f2, $f0 -/* 088608 800EF158 44800000 */ mtc1 $zero, $f0 -/* 08860C 800EF15C 00000000 */ nop -/* 088610 800EF160 4600203E */ c.le.s $f4, $f0 -/* 088614 800EF164 00000000 */ nop -/* 088618 800EF168 4500000A */ bc1f .L800EF194 -/* 08861C 800EF16C E602003C */ swc1 $f2, 0x3c($s0) -/* 088620 800EF170 3C028011 */ lui $v0, 0x8011 -/* 088624 800EF174 8C42CFD8 */ lw $v0, -0x3028($v0) -/* 088628 800EF178 000218C0 */ sll $v1, $v0, 3 -/* 08862C 800EF17C 00621821 */ addu $v1, $v1, $v0 -/* 088630 800EF180 00031880 */ sll $v1, $v1, 2 -/* 088634 800EF184 3C028010 */ lui $v0, 0x8010 -/* 088638 800EF188 00431021 */ addu $v0, $v0, $v1 -/* 08863C 800EF18C 8C428354 */ lw $v0, -0x7cac($v0) -/* 088640 800EF190 AE020028 */ sw $v0, 0x28($s0) -.L800EF194: -/* 088644 800EF194 8E050018 */ lw $a1, 0x18($s0) -/* 088648 800EF198 8E06000C */ lw $a2, 0xc($s0) -/* 08864C 800EF19C 0C00EA95 */ jal npc_move_heading -/* 088650 800EF1A0 0200202D */ daddu $a0, $s0, $zero -/* 088654 800EF1A4 0C00E2BF */ jal func_80038AFC -/* 088658 800EF1A8 0200202D */ daddu $a0, $s0, $zero -/* 08865C 800EF1AC 8602008E */ lh $v0, 0x8e($s0) -/* 088660 800EF1B0 3C014120 */ lui $at, 0x4120 -/* 088664 800EF1B4 44811000 */ mtc1 $at, $f2 -/* 088668 800EF1B8 44820000 */ mtc1 $v0, $f0 -/* 08866C 800EF1BC 00000000 */ nop -/* 088670 800EF1C0 46800020 */ cvt.s.w $f0, $f0 -/* 088674 800EF1C4 4600103C */ c.lt.s $f2, $f0 -/* 088678 800EF1C8 00000000 */ nop -/* 08867C 800EF1CC 45030001 */ bc1tl .L800EF1D4 -/* 088680 800EF1D0 46001006 */ mov.s $f0, $f2 -.L800EF1D4: -/* 088684 800EF1D4 9602008E */ lhu $v0, 0x8e($s0) -/* 088688 800EF1D8 46001001 */ sub.s $f0, $f2, $f0 -/* 08868C 800EF1DC 2442FFFF */ addiu $v0, $v0, -1 -/* 088690 800EF1E0 A602008E */ sh $v0, 0x8e($s0) -/* 088694 800EF1E4 00021400 */ sll $v0, $v0, 0x10 -/* 088698 800EF1E8 46020003 */ div.s $f0, $f0, $f2 -/* 08869C 800EF1EC E6000054 */ swc1 $f0, 0x54($s0) -/* 0886A0 800EF1F0 46000086 */ mov.s $f2, $f0 -/* 0886A4 800EF1F4 E6000058 */ swc1 $f0, 0x58($s0) -/* 0886A8 800EF1F8 04410033 */ bgez $v0, .L800EF2C8 -/* 0886AC 800EF1FC E602005C */ swc1 $f2, 0x5c($s0) -/* 0886B0 800EF200 24020002 */ addiu $v0, $zero, 2 -/* 0886B4 800EF204 3C018011 */ lui $at, 0x8011 -/* 0886B8 800EF208 A422CFC8 */ sh $v0, -0x3038($at) -/* 0886BC 800EF20C 0803BCB3 */ j .L800EF2CC -/* 0886C0 800EF210 0000102D */ daddu $v0, $zero, $zero - -.L800EF214: -/* 0886C4 800EF214 C6000064 */ lwc1 $f0, 0x64($s0) -/* 0886C8 800EF218 C6060038 */ lwc1 $f6, 0x38($s0) -/* 0886CC 800EF21C C6020040 */ lwc1 $f2, 0x40($s0) -/* 0886D0 800EF220 E600003C */ swc1 $f0, 0x3c($s0) -/* 0886D4 800EF224 3C013F80 */ lui $at, 0x3f80 -/* 0886D8 800EF228 44810000 */ mtc1 $at, $f0 -/* 0886DC 800EF22C C608003C */ lwc1 $f8, 0x3c($s0) -/* 0886E0 800EF230 3C128011 */ lui $s2, 0x8011 -/* 0886E4 800EF234 2652CFEC */ addiu $s2, $s2, -0x3014 -/* 0886E8 800EF238 AE00001C */ sw $zero, 0x1c($s0) -/* 0886EC 800EF23C E6060060 */ swc1 $f6, 0x60($s0) -/* 0886F0 800EF240 E6020068 */ swc1 $f2, 0x68($s0) -/* 0886F4 800EF244 E6000054 */ swc1 $f0, 0x54($s0) -/* 0886F8 800EF248 E6000058 */ swc1 $f0, 0x58($s0) -/* 0886FC 800EF24C E600005C */ swc1 $f0, 0x5c($s0) -/* 088700 800EF250 E6080064 */ swc1 $f8, 0x64($s0) -/* 088704 800EF254 C620002C */ lwc1 $f0, 0x2c($s1) -/* 088708 800EF258 8E420000 */ lw $v0, ($s2) -/* 08870C 800EF25C E600003C */ swc1 $f0, 0x3c($s0) -/* 088710 800EF260 8C42000C */ lw $v0, 0xc($v0) -/* 088714 800EF264 10400003 */ beqz $v0, .L800EF274 -/* 088718 800EF268 46003106 */ mov.s $f4, $f6 -/* 08871C 800EF26C C620002C */ lwc1 $f0, 0x2c($s1) -/* 088720 800EF270 E600003C */ swc1 $f0, 0x3c($s0) -.L800EF274: -/* 088724 800EF274 C6000040 */ lwc1 $f0, 0x40($s0) -/* 088728 800EF278 0C03BD17 */ jal clear_partner_move_history -/* 08872C 800EF27C 0200202D */ daddu $a0, $s0, $zero -/* 088730 800EF280 C6000060 */ lwc1 $f0, 0x60($s0) -/* 088734 800EF284 C6020064 */ lwc1 $f2, 0x64($s0) -/* 088738 800EF288 8E020000 */ lw $v0, ($s0) -/* 08873C 800EF28C C6040068 */ lwc1 $f4, 0x68($s0) -/* 088740 800EF290 30421000 */ andi $v0, $v0, 0x1000 -/* 088744 800EF294 E6000038 */ swc1 $f0, 0x38($s0) -/* 088748 800EF298 E602003C */ swc1 $f2, 0x3c($s0) -/* 08874C 800EF29C 10400008 */ beqz $v0, .L800EF2C0 -/* 088750 800EF2A0 E6040040 */ swc1 $f4, 0x40($s0) -/* 088754 800EF2A4 8E420000 */ lw $v0, ($s2) -/* 088758 800EF2A8 8C42000C */ lw $v0, 0xc($v0) -/* 08875C 800EF2AC 14400007 */ bnez $v0, .L800EF2CC -/* 088760 800EF2B0 24020001 */ addiu $v0, $zero, 1 -/* 088764 800EF2B4 0200202D */ daddu $a0, $s0, $zero -/* 088768 800EF2B8 0C00F598 */ jal func_8003D660 -/* 08876C 800EF2BC 24050002 */ addiu $a1, $zero, 2 -.L800EF2C0: -/* 088770 800EF2C0 0803BCB3 */ j .L800EF2CC -/* 088774 800EF2C4 24020001 */ addiu $v0, $zero, 1 - -.L800EF2C8: -/* 088778 800EF2C8 0000102D */ daddu $v0, $zero, $zero -.L800EF2CC: -/* 08877C 800EF2CC 8FBF0048 */ lw $ra, 0x48($sp) -/* 088780 800EF2D0 8FB50044 */ lw $s5, 0x44($sp) -/* 088784 800EF2D4 8FB40040 */ lw $s4, 0x40($sp) -/* 088788 800EF2D8 8FB3003C */ lw $s3, 0x3c($sp) -/* 08878C 800EF2DC 8FB20038 */ lw $s2, 0x38($sp) -/* 088790 800EF2E0 8FB10034 */ lw $s1, 0x34($sp) -/* 088794 800EF2E4 8FB00030 */ lw $s0, 0x30($sp) -/* 088798 800EF2E8 D7BA0068 */ ldc1 $f26, 0x68($sp) -/* 08879C 800EF2EC D7B80060 */ ldc1 $f24, 0x60($sp) -/* 0887A0 800EF2F0 D7B60058 */ ldc1 $f22, 0x58($sp) -/* 0887A4 800EF2F4 D7B40050 */ ldc1 $f20, 0x50($sp) -/* 0887A8 800EF2F8 03E00008 */ jr $ra -/* 0887AC 800EF2FC 27BD0070 */ addiu $sp, $sp, 0x70 - -func_800EF300: -/* 0887B0 800EF300 24020028 */ addiu $v0, $zero, 0x28 -/* 0887B4 800EF304 3C018011 */ lui $at, 0x8011 -/* 0887B8 800EF308 A422CFC8 */ sh $v0, -0x3038($at) -/* 0887BC 800EF30C 03E00008 */ jr $ra -/* 0887C0 800EF310 00000000 */ nop - -func_800EF314: -/* 0887C4 800EF314 24020032 */ addiu $v0, $zero, 0x32 -/* 0887C8 800EF318 3C018011 */ lui $at, 0x8011 -/* 0887CC 800EF31C A422CFC8 */ sh $v0, -0x3038($at) -/* 0887D0 800EF320 03E00008 */ jr $ra -/* 0887D4 800EF324 00000000 */ nop - -enable_partner_ai: -/* 0887D8 800EF328 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 0887DC 800EF32C AFB00010 */ sw $s0, 0x10($sp) -/* 0887E0 800EF330 3C108011 */ lui $s0, 0x8011 -/* 0887E4 800EF334 2610C930 */ addiu $s0, $s0, -0x36d0 -/* 0887E8 800EF338 AFBF0014 */ sw $ra, 0x14($sp) -/* 0887EC 800EF33C 8E040000 */ lw $a0, ($s0) -/* 0887F0 800EF340 3C018011 */ lui $at, 0x8011 -/* 0887F4 800EF344 A420CFC8 */ sh $zero, -0x3038($at) -/* 0887F8 800EF348 0C03BD17 */ jal clear_partner_move_history -/* 0887FC 800EF34C 00000000 */ nop -/* 088800 800EF350 3C028011 */ lui $v0, 0x8011 -/* 088804 800EF354 8C42CFEC */ lw $v0, -0x3014($v0) -/* 088808 800EF358 8C42000C */ lw $v0, 0xc($v0) -/* 08880C 800EF35C 14400006 */ bnez $v0, .L800EF378 -/* 088810 800EF360 00000000 */ nop -/* 088814 800EF364 8E040000 */ lw $a0, ($s0) -/* 088818 800EF368 0C03AE2A */ jal enable_partner_walking -/* 08881C 800EF36C 0000282D */ daddu $a1, $zero, $zero -/* 088820 800EF370 0803BCE1 */ j .L800EF384 -/* 088824 800EF374 00000000 */ nop - -.L800EF378: -/* 088828 800EF378 8E040000 */ lw $a0, ($s0) -/* 08882C 800EF37C 0C03B4C4 */ jal enable_partner_flying -/* 088830 800EF380 0000282D */ daddu $a1, $zero, $zero -.L800EF384: -/* 088834 800EF384 8FBF0014 */ lw $ra, 0x14($sp) -/* 088838 800EF388 8FB00010 */ lw $s0, 0x10($sp) -/* 08883C 800EF38C 03E00008 */ jr $ra -/* 088840 800EF390 27BD0018 */ addiu $sp, $sp, 0x18 - -func_800EF394: -/* 088844 800EF394 3C018011 */ lui $at, 0x8011 -/* 088848 800EF398 E42CCFC0 */ swc1 $f12, -0x3040($at) -/* 08884C 800EF39C 03E00008 */ jr $ra -/* 088850 800EF3A0 00000000 */ nop - -func_800EF3A4: -/* 088854 800EF3A4 3C014220 */ lui $at, 0x4220 -/* 088858 800EF3A8 44810000 */ mtc1 $at, $f0 -/* 08885C 800EF3AC 00000000 */ nop -/* 088860 800EF3B0 3C018011 */ lui $at, 0x8011 -/* 088864 800EF3B4 E420CFC0 */ swc1 $f0, -0x3040($at) -/* 088868 800EF3B8 03E00008 */ jr $ra -/* 08886C 800EF3BC 00000000 */ nop - -func_800EF3C0: -/* 088870 800EF3C0 3C018010 */ lui $at, 0x8010 -/* 088874 800EF3C4 AC248024 */ sw $a0, -0x7fdc($at) -/* 088878 800EF3C8 3C018010 */ lui $at, 0x8010 -/* 08887C 800EF3CC 03E00008 */ jr $ra -/* 088880 800EF3D0 AC258028 */ sw $a1, -0x7fd8($at) - -func_800EF3D4: -/* 088884 800EF3D4 3C018011 */ lui $at, 0x8011 -/* 088888 800EF3D8 A424CFCA */ sh $a0, -0x3036($at) -/* 08888C 800EF3DC 03E00008 */ jr $ra -/* 088890 800EF3E0 00000000 */ nop - -func_800EF3E4: -/* 088894 800EF3E4 2402000F */ addiu $v0, $zero, 0xf -/* 088898 800EF3E8 3C018011 */ lui $at, 0x8011 -/* 08889C 800EF3EC A422CFC8 */ sh $v0, -0x3038($at) -/* 0888A0 800EF3F0 2402000A */ addiu $v0, $zero, 0xa -/* 0888A4 800EF3F4 3C018011 */ lui $at, 0x8011 -/* 0888A8 800EF3F8 A420CFCA */ sh $zero, -0x3036($at) -/* 0888AC 800EF3FC 3C018010 */ lui $at, 0x8010 -/* 0888B0 800EF400 AC22802C */ sw $v0, -0x7fd4($at) -/* 0888B4 800EF404 3C018011 */ lui $at, 0x8011 -/* 0888B8 800EF408 A420CFCE */ sh $zero, -0x3032($at) -/* 0888BC 800EF40C 03E00008 */ jr $ra -/* 0888C0 800EF410 00000000 */ nop - -func_800EF414: -/* 0888C4 800EF414 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 0888C8 800EF418 AFBF0010 */ sw $ra, 0x10($sp) -/* 0888CC 800EF41C 0C03BCF0 */ jal func_800EF3C0 -/* 0888D0 800EF420 00000000 */ nop -/* 0888D4 800EF424 8FBF0010 */ lw $ra, 0x10($sp) -/* 0888D8 800EF428 24020014 */ addiu $v0, $zero, 0x14 -/* 0888DC 800EF42C 3C018011 */ lui $at, 0x8011 -/* 0888E0 800EF430 A422CFC8 */ sh $v0, -0x3038($at) -/* 0888E4 800EF434 03E00008 */ jr $ra -/* 0888E8 800EF438 27BD0018 */ addiu $sp, $sp, 0x18 - -func_800EF43C: -/* 0888EC 800EF43C 3C018011 */ lui $at, 0x8011 -/* 0888F0 800EF440 A420CFC8 */ sh $zero, -0x3038($at) -/* 0888F4 800EF444 3C018011 */ lui $at, 0x8011 -/* 0888F8 800EF448 A420CFCA */ sh $zero, -0x3036($at) -/* 0888FC 800EF44C 3C018011 */ lui $at, 0x8011 -/* 088900 800EF450 A420CFCE */ sh $zero, -0x3032($at) -/* 088904 800EF454 03E00008 */ jr $ra -/* 088908 800EF458 00000000 */ nop - -clear_partner_move_history: -/* 08890C 800EF45C 3C058011 */ lui $a1, 0x8011 -/* 088910 800EF460 24A5CD38 */ addiu $a1, $a1, -0x32c8 -/* 088914 800EF464 0000302D */ daddu $a2, $zero, $zero -/* 088918 800EF468 3C028010 */ lui $v0, 0x8010 -/* 08891C 800EF46C 2442833C */ addiu $v0, $v0, -0x7cc4 -/* 088920 800EF470 0040482D */ daddu $t1, $v0, $zero -/* 088924 800EF474 3C028010 */ lui $v0, 0x8010 -/* 088928 800EF478 24428340 */ addiu $v0, $v0, -0x7cc0 -/* 08892C 800EF47C 0040402D */ daddu $t0, $v0, $zero -/* 088930 800EF480 3C028010 */ lui $v0, 0x8010 -/* 088934 800EF484 24428344 */ addiu $v0, $v0, -0x7cbc -/* 088938 800EF488 0040382D */ daddu $a3, $v0, $zero -/* 08893C 800EF48C C4800038 */ lwc1 $f0, 0x38($a0) -/* 088940 800EF490 C482003C */ lwc1 $f2, 0x3c($a0) -/* 088944 800EF494 C4840040 */ lwc1 $f4, 0x40($a0) -/* 088948 800EF498 24A3000C */ addiu $v1, $a1, 0xc -/* 08894C 800EF49C E5200000 */ swc1 $f0, ($t1) -/* 088950 800EF4A0 E5020000 */ swc1 $f2, ($t0) -/* 088954 800EF4A4 E4E40000 */ swc1 $f4, ($a3) -.L800EF4A8: -/* 088958 800EF4A8 24C60001 */ addiu $a2, $a2, 1 -/* 08895C 800EF4AC C5200000 */ lwc1 $f0, ($t1) -/* 088960 800EF4B0 C5020000 */ lwc1 $f2, ($t0) -/* 088964 800EF4B4 C4E40000 */ lwc1 $f4, ($a3) -/* 088968 800EF4B8 28C20028 */ slti $v0, $a2, 0x28 -/* 08896C 800EF4BC E460FFF8 */ swc1 $f0, -8($v1) -/* 088970 800EF4C0 E462FFFC */ swc1 $f2, -4($v1) -/* 088974 800EF4C4 E4640000 */ swc1 $f4, ($v1) -/* 088978 800EF4C8 24630010 */ addiu $v1, $v1, 0x10 -/* 08897C 800EF4CC A0A00000 */ sb $zero, ($a1) -/* 088980 800EF4D0 1440FFF5 */ bnez $v0, .L800EF4A8 -/* 088984 800EF4D4 24A50010 */ addiu $a1, $a1, 0x10 -/* 088988 800EF4D8 03E00008 */ jr $ra -/* 08898C 800EF4DC 00000000 */ nop - -/* 088990 800EF4E0 27BDFFD8 */ addiu $sp, $sp, -0x28 -/* 088994 800EF4E4 AFB10014 */ sw $s1, 0x14($sp) -/* 088998 800EF4E8 3C118011 */ lui $s1, 0x8011 -/* 08899C 800EF4EC 2631EFC8 */ addiu $s1, $s1, -0x1038 -/* 0889A0 800EF4F0 AFB00010 */ sw $s0, 0x10($sp) -/* 0889A4 800EF4F4 3C10800B */ lui $s0, 0x800b -/* 0889A8 800EF4F8 26101D80 */ addiu $s0, $s0, 0x1d80 -/* 0889AC 800EF4FC AFBF001C */ sw $ra, 0x1c($sp) -/* 0889B0 800EF500 AFB20018 */ sw $s2, 0x18($sp) -/* 0889B4 800EF504 F7B40020 */ sdc1 $f20, 0x20($sp) -/* 0889B8 800EF508 C6200090 */ lwc1 $f0, 0x90($s1) -/* 0889BC 800EF50C 4480A000 */ mtc1 $zero, $f20 -/* 0889C0 800EF510 00000000 */ nop -/* 0889C4 800EF514 46140032 */ c.eq.s $f0, $f20 -/* 0889C8 800EF518 00000000 */ nop -/* 0889CC 800EF51C 45000017 */ bc1f .L800EF57C -/* 0889D0 800EF520 0200902D */ daddu $s2, $s0, $zero -/* 0889D4 800EF524 C62200A8 */ lwc1 $f2, 0xa8($s1) -/* 0889D8 800EF528 3C0142B4 */ lui $at, 0x42b4 -/* 0889DC 800EF52C 44812000 */ mtc1 $at, $f4 -/* 0889E0 800EF530 00000000 */ nop -/* 0889E4 800EF534 4602203E */ c.le.s $f4, $f2 -/* 0889E8 800EF538 00000000 */ nop -/* 0889EC 800EF53C 45000008 */ bc1f .L800EF560 -/* 0889F0 800EF540 00000000 */ nop -/* 0889F4 800EF544 3C014387 */ lui $at, 0x4387 -/* 0889F8 800EF548 44810000 */ mtc1 $at, $f0 -/* 0889FC 800EF54C 00000000 */ nop -/* 088A00 800EF550 4600103C */ c.lt.s $f2, $f0 -/* 088A04 800EF554 00000000 */ nop -/* 088A08 800EF558 45010005 */ bc1t .L800EF570 -/* 088A0C 800EF55C 00000000 */ nop -.L800EF560: -/* 088A10 800EF560 C60C006C */ lwc1 $f12, 0x6c($s0) -/* 088A14 800EF564 46046301 */ sub.s $f12, $f12, $f4 -/* 088A18 800EF568 0803BD73 */ j .L800EF5CC -/* 088A1C 800EF56C 24100001 */ addiu $s0, $zero, 1 - -.L800EF570: -/* 088A20 800EF570 C60C006C */ lwc1 $f12, 0x6c($s0) -/* 088A24 800EF574 0803BD72 */ j .L800EF5C8 -/* 088A28 800EF578 46046300 */ add.s $f12, $f12, $f4 - -.L800EF57C: -/* 088A2C 800EF57C C60C006C */ lwc1 $f12, 0x6c($s0) -/* 088A30 800EF580 0C00A70A */ jal get_clamped_angle_diff -/* 088A34 800EF584 C62E0080 */ lwc1 $f14, 0x80($s1) -/* 088A38 800EF588 4614003C */ c.lt.s $f0, $f20 -/* 088A3C 800EF58C 00000000 */ nop -/* 088A40 800EF590 45000008 */ bc1f .L800EF5B4 -/* 088A44 800EF594 00000000 */ nop -/* 088A48 800EF598 C600006C */ lwc1 $f0, 0x6c($s0) -/* 088A4C 800EF59C 3C0142B4 */ lui $at, 0x42b4 -/* 088A50 800EF5A0 44816000 */ mtc1 $at, $f12 -/* 088A54 800EF5A4 00000000 */ nop -/* 088A58 800EF5A8 460C0301 */ sub.s $f12, $f0, $f12 -/* 088A5C 800EF5AC 0803BD73 */ j .L800EF5CC -/* 088A60 800EF5B0 24100001 */ addiu $s0, $zero, 1 - -.L800EF5B4: -/* 088A64 800EF5B4 C640006C */ lwc1 $f0, 0x6c($s2) -/* 088A68 800EF5B8 3C0142B4 */ lui $at, 0x42b4 -/* 088A6C 800EF5BC 44816000 */ mtc1 $at, $f12 -/* 088A70 800EF5C0 00000000 */ nop -/* 088A74 800EF5C4 460C0300 */ add.s $f12, $f0, $f12 -.L800EF5C8: -/* 088A78 800EF5C8 0000802D */ daddu $s0, $zero, $zero -.L800EF5CC: -/* 088A7C 800EF5CC 0C00A6C9 */ jal clamp_angle -/* 088A80 800EF5D0 00000000 */ nop -/* 088A84 800EF5D4 E6200080 */ swc1 $f0, 0x80($s1) -/* 088A88 800EF5D8 C6200080 */ lwc1 $f0, 0x80($s1) -/* 088A8C 800EF5DC 0200102D */ daddu $v0, $s0, $zero -/* 088A90 800EF5E0 E6200084 */ swc1 $f0, 0x84($s1) -/* 088A94 800EF5E4 8FBF001C */ lw $ra, 0x1c($sp) -/* 088A98 800EF5E8 8FB20018 */ lw $s2, 0x18($sp) -/* 088A9C 800EF5EC 8FB10014 */ lw $s1, 0x14($sp) -/* 088AA0 800EF5F0 8FB00010 */ lw $s0, 0x10($sp) -/* 088AA4 800EF5F4 D7B40020 */ ldc1 $f20, 0x20($sp) -/* 088AA8 800EF5F8 03E00008 */ jr $ra -/* 088AAC 800EF5FC 27BD0028 */ addiu $sp, $sp, 0x28 - -func_800EF600: -/* 088AB0 800EF600 3C038011 */ lui $v1, 0x8011 -/* 088AB4 800EF604 2463EBB0 */ addiu $v1, $v1, -0x1450 -/* 088AB8 800EF608 90620014 */ lbu $v0, 0x14($v1) -/* 088ABC 800EF60C 2442FFFF */ addiu $v0, $v0, -1 -/* 088AC0 800EF610 A0620014 */ sb $v0, 0x14($v1) -/* 088AC4 800EF614 00021600 */ sll $v0, $v0, 0x18 -/* 088AC8 800EF618 04420001 */ bltzl $v0, .L800EF620 -/* 088ACC 800EF61C A0600014 */ sb $zero, 0x14($v1) -.L800EF620: -/* 088AD0 800EF620 03E00008 */ jr $ra -/* 088AD4 800EF624 00000000 */ nop - -func_800EF628: -/* 088AD8 800EF628 3C038011 */ lui $v1, 0x8011 -/* 088ADC 800EF62C 2463EBB0 */ addiu $v1, $v1, -0x1450 -/* 088AE0 800EF630 90620014 */ lbu $v0, 0x14($v1) -/* 088AE4 800EF634 24420001 */ addiu $v0, $v0, 1 -/* 088AE8 800EF638 03E00008 */ jr $ra -/* 088AEC 800EF63C A0620014 */ sb $v0, 0x14($v1) - -func_800EF640: -/* 088AF0 800EF640 27BDFF98 */ addiu $sp, $sp, -0x68 -/* 088AF4 800EF644 AFB1004C */ sw $s1, 0x4c($sp) -/* 088AF8 800EF648 0080882D */ daddu $s1, $a0, $zero -/* 088AFC 800EF64C AFB30054 */ sw $s3, 0x54($sp) -/* 088B00 800EF650 3C13800B */ lui $s3, 0x800b -/* 088B04 800EF654 26731E54 */ addiu $s3, $s3, 0x1e54 -/* 088B08 800EF658 0260202D */ daddu $a0, $s3, $zero -/* 088B0C 800EF65C AFB20050 */ sw $s2, 0x50($sp) -/* 088B10 800EF660 3C128011 */ lui $s2, 0x8011 -/* 088B14 800EF664 2652EFC8 */ addiu $s2, $s2, -0x1038 -/* 088B18 800EF668 AFBF005C */ sw $ra, 0x5c($sp) -/* 088B1C 800EF66C AFB40058 */ sw $s4, 0x58($sp) -/* 088B20 800EF670 AFB00048 */ sw $s0, 0x48($sp) -/* 088B24 800EF674 F7B40060 */ sdc1 $f20, 0x60($sp) -/* 088B28 800EF678 8E450028 */ lw $a1, 0x28($s2) -/* 088B2C 800EF67C 8E46002C */ lw $a2, 0x2c($s2) -/* 088B30 800EF680 8E470030 */ lw $a3, 0x30($s2) -/* 088B34 800EF684 27A20028 */ addiu $v0, $sp, 0x28 -/* 088B38 800EF688 AFA20014 */ sw $v0, 0x14($sp) -/* 088B3C 800EF68C 27A2002C */ addiu $v0, $sp, 0x2c -/* 088B40 800EF690 AFA20018 */ sw $v0, 0x18($sp) -/* 088B44 800EF694 27A20030 */ addiu $v0, $sp, 0x30 -/* 088B48 800EF698 3C013F80 */ lui $at, 0x3f80 -/* 088B4C 800EF69C 4481A000 */ mtc1 $at, $f20 -/* 088B50 800EF6A0 27B00034 */ addiu $s0, $sp, 0x34 -/* 088B54 800EF6A4 AFA2001C */ sw $v0, 0x1c($sp) -/* 088B58 800EF6A8 AFB00020 */ sw $s0, 0x20($sp) -/* 088B5C 800EF6AC 0C00A588 */ jal transform_point -/* 088B60 800EF6B0 E7B40010 */ swc1 $f20, 0x10($sp) -/* 088B64 800EF6B4 0260202D */ daddu $a0, $s3, $zero -/* 088B68 800EF6B8 27A20038 */ addiu $v0, $sp, 0x38 -/* 088B6C 800EF6BC AFA20014 */ sw $v0, 0x14($sp) -/* 088B70 800EF6C0 27A2003C */ addiu $v0, $sp, 0x3c -/* 088B74 800EF6C4 AFA20018 */ sw $v0, 0x18($sp) -/* 088B78 800EF6C8 27A20040 */ addiu $v0, $sp, 0x40 -/* 088B7C 800EF6CC AFB00020 */ sw $s0, 0x20($sp) -/* 088B80 800EF6D0 26300038 */ addiu $s0, $s1, 0x38 -/* 088B84 800EF6D4 E7B40010 */ swc1 $f20, 0x10($sp) -/* 088B88 800EF6D8 AFA2001C */ sw $v0, 0x1c($sp) -/* 088B8C 800EF6DC 8E250038 */ lw $a1, 0x38($s1) -/* 088B90 800EF6E0 8E26003C */ lw $a2, 0x3c($s1) -/* 088B94 800EF6E4 8E270040 */ lw $a3, 0x40($s1) -/* 088B98 800EF6E8 0C00A588 */ jal transform_point -/* 088B9C 800EF6EC 26340040 */ addiu $s4, $s1, 0x40 -/* 088BA0 800EF6F0 862200A6 */ lh $v0, 0xa6($s1) -/* 088BA4 800EF6F4 864300B2 */ lh $v1, 0xb2($s2) -/* 088BA8 800EF6F8 3C013F66 */ lui $at, 0x3f66 -/* 088BAC 800EF6FC 34216666 */ ori $at, $at, 0x6666 -/* 088BB0 800EF700 44810000 */ mtc1 $at, $f0 -/* 088BB4 800EF704 00431021 */ addu $v0, $v0, $v1 -/* 088BB8 800EF708 44824000 */ mtc1 $v0, $f8 -/* 088BBC 800EF70C 00000000 */ nop -/* 088BC0 800EF710 46804220 */ cvt.s.w $f8, $f8 -/* 088BC4 800EF714 46004202 */ mul.s $f8, $f8, $f0 -/* 088BC8 800EF718 00000000 */ nop -/* 088BCC 800EF71C C7A60028 */ lwc1 $f6, 0x28($sp) -/* 088BD0 800EF720 C7A00038 */ lwc1 $f0, 0x38($sp) -/* 088BD4 800EF724 C7A4002C */ lwc1 $f4, 0x2c($sp) -/* 088BD8 800EF728 46003181 */ sub.s $f6, $f6, $f0 -/* 088BDC 800EF72C C7A0003C */ lwc1 $f0, 0x3c($sp) -/* 088BE0 800EF730 C7A20030 */ lwc1 $f2, 0x30($sp) -/* 088BE4 800EF734 46002101 */ sub.s $f4, $f4, $f0 -/* 088BE8 800EF738 C7A00040 */ lwc1 $f0, 0x40($sp) -/* 088BEC 800EF73C 46001081 */ sub.s $f2, $f2, $f0 -/* 088BF0 800EF740 46003185 */ abs.s $f6, $f6 -/* 088BF4 800EF744 E7A60028 */ swc1 $f6, 0x28($sp) -/* 088BF8 800EF748 46002105 */ abs.s $f4, $f4 -/* 088BFC 800EF74C 4608303E */ c.le.s $f6, $f8 -/* 088C00 800EF750 E7A4002C */ swc1 $f4, 0x2c($sp) -/* 088C04 800EF754 46001285 */ abs.s $f10, $f2 -/* 088C08 800EF758 4500002B */ bc1f .L800EF808 -/* 088C0C 800EF75C E7AA0030 */ swc1 $f10, 0x30($sp) -/* 088C10 800EF760 862200A8 */ lh $v0, 0xa8($s1) -/* 088C14 800EF764 864300B0 */ lh $v1, 0xb0($s2) -/* 088C18 800EF768 00431021 */ addu $v0, $v0, $v1 -/* 088C1C 800EF76C 44820000 */ mtc1 $v0, $f0 -/* 088C20 800EF770 00000000 */ nop -/* 088C24 800EF774 46800020 */ cvt.s.w $f0, $f0 -/* 088C28 800EF778 4600203E */ c.le.s $f4, $f0 -/* 088C2C 800EF77C 00000000 */ nop -/* 088C30 800EF780 45000021 */ bc1f .L800EF808 -/* 088C34 800EF784 00000000 */ nop -/* 088C38 800EF788 3C014010 */ lui $at, 0x4010 -/* 088C3C 800EF78C 44811800 */ mtc1 $at, $f3 -/* 088C40 800EF790 44801000 */ mtc1 $zero, $f2 -/* 088C44 800EF794 46005021 */ cvt.d.s $f0, $f10 -/* 088C48 800EF798 4622003E */ c.le.d $f0, $f2 -/* 088C4C 800EF79C 00000000 */ nop -/* 088C50 800EF7A0 45000019 */ bc1f .L800EF808 -/* 088C54 800EF7A4 00000000 */ nop -/* 088C58 800EF7A8 8E260038 */ lw $a2, 0x38($s1) -/* 088C5C 800EF7AC 8E270040 */ lw $a3, 0x40($s1) -/* 088C60 800EF7B0 C64C0028 */ lwc1 $f12, 0x28($s2) -/* 088C64 800EF7B4 0C00A720 */ jal atan2 -/* 088C68 800EF7B8 C64E0030 */ lwc1 $f14, 0x30($s2) -/* 088C6C 800EF7BC 4405A000 */ mfc1 $a1, $f20 -/* 088C70 800EF7C0 44060000 */ mfc1 $a2, $f0 -/* 088C74 800EF7C4 0C00EA95 */ jal npc_move_heading -/* 088C78 800EF7C8 0220202D */ daddu $a0, $s1, $zero -/* 088C7C 800EF7CC 0200202D */ daddu $a0, $s0, $zero -/* 088C80 800EF7D0 3C028007 */ lui $v0, 0x8007 -/* 088C84 800EF7D4 8C427410 */ lw $v0, 0x7410($v0) -/* 088C88 800EF7D8 3C064000 */ lui $a2, 0x4000 -/* 088C8C 800EF7DC 00021880 */ sll $v1, $v0, 2 -/* 088C90 800EF7E0 00621821 */ addu $v1, $v1, $v0 -/* 088C94 800EF7E4 00031880 */ sll $v1, $v1, 2 -/* 088C98 800EF7E8 00621823 */ subu $v1, $v1, $v0 -/* 088C9C 800EF7EC 000310C0 */ sll $v0, $v1, 3 -/* 088CA0 800EF7F0 00621821 */ addu $v1, $v1, $v0 -/* 088CA4 800EF7F4 000318C0 */ sll $v1, $v1, 3 -/* 088CA8 800EF7F8 02631821 */ addu $v1, $s3, $v1 -/* 088CAC 800EF7FC 8C67FF98 */ lw $a3, -0x68($v1) -/* 088CB0 800EF800 0C00A7E7 */ jal add_vec2D_polar -/* 088CB4 800EF804 0280282D */ daddu $a1, $s4, $zero -.L800EF808: -/* 088CB8 800EF808 8FBF005C */ lw $ra, 0x5c($sp) -/* 088CBC 800EF80C 8FB40058 */ lw $s4, 0x58($sp) -/* 088CC0 800EF810 8FB30054 */ lw $s3, 0x54($sp) -/* 088CC4 800EF814 8FB20050 */ lw $s2, 0x50($sp) -/* 088CC8 800EF818 8FB1004C */ lw $s1, 0x4c($sp) -/* 088CCC 800EF81C 8FB00048 */ lw $s0, 0x48($sp) -/* 088CD0 800EF820 D7B40060 */ ldc1 $f20, 0x60($sp) -/* 088CD4 800EF824 03E00008 */ jr $ra -/* 088CD8 800EF828 27BD0068 */ addiu $sp, $sp, 0x68 - -func_800EF82C: -/* 088CDC 800EF82C 27BDFFB8 */ addiu $sp, $sp, -0x48 -/* 088CE0 800EF830 AFB20038 */ sw $s2, 0x38($sp) -/* 088CE4 800EF834 0080902D */ daddu $s2, $a0, $zero -/* 088CE8 800EF838 AFB40040 */ sw $s4, 0x40($sp) -/* 088CEC 800EF83C 00A0A02D */ daddu $s4, $a1, $zero -/* 088CF0 800EF840 AFB3003C */ sw $s3, 0x3c($sp) -/* 088CF4 800EF844 3C138011 */ lui $s3, 0x8011 -/* 088CF8 800EF848 2673EFC8 */ addiu $s3, $s3, -0x1038 -/* 088CFC 800EF84C 3C058011 */ lui $a1, 0x8011 -/* 088D00 800EF850 24A5CFCE */ addiu $a1, $a1, -0x3032 -/* 088D04 800EF854 24020001 */ addiu $v0, $zero, 1 -/* 088D08 800EF858 AFBF0044 */ sw $ra, 0x44($sp) -/* 088D0C 800EF85C AFB10034 */ sw $s1, 0x34($sp) -/* 088D10 800EF860 AFB00030 */ sw $s0, 0x30($sp) -/* 088D14 800EF864 84A30000 */ lh $v1, ($a1) -/* 088D18 800EF868 94A40000 */ lhu $a0, ($a1) -/* 088D1C 800EF86C 10620044 */ beq $v1, $v0, .L800EF980 -/* 088D20 800EF870 28620002 */ slti $v0, $v1, 2 -/* 088D24 800EF874 10400118 */ beqz $v0, .L800EFCD8 -/* 088D28 800EF878 00000000 */ nop -/* 088D2C 800EF87C 14600116 */ bnez $v1, .L800EFCD8 -/* 088D30 800EF880 24820001 */ addiu $v0, $a0, 1 -/* 088D34 800EF884 C662002C */ lwc1 $f2, 0x2c($s3) -/* 088D38 800EF888 3C018010 */ lui $at, 0x8010 -/* 088D3C 800EF88C C4208024 */ lwc1 $f0, -0x7fdc($at) -/* 088D40 800EF890 46800020 */ cvt.s.w $f0, $f0 -/* 088D44 800EF894 E6400060 */ swc1 $f0, 0x60($s2) -/* 088D48 800EF898 44060000 */ mfc1 $a2, $f0 -/* 088D4C 800EF89C 3C018010 */ lui $at, 0x8010 -/* 088D50 800EF8A0 C4208028 */ lwc1 $f0, -0x7fd8($at) -/* 088D54 800EF8A4 46800020 */ cvt.s.w $f0, $f0 -/* 088D58 800EF8A8 26500060 */ addiu $s0, $s2, 0x60 -/* 088D5C 800EF8AC C64C0038 */ lwc1 $f12, 0x38($s2) -/* 088D60 800EF8B0 C64E0040 */ lwc1 $f14, 0x40($s2) -/* 088D64 800EF8B4 44070000 */ mfc1 $a3, $f0 -/* 088D68 800EF8B8 26510068 */ addiu $s1, $s2, 0x68 -/* 088D6C 800EF8BC A4A20000 */ sh $v0, ($a1) -/* 088D70 800EF8C0 AE470068 */ sw $a3, 0x68($s2) -/* 088D74 800EF8C4 0C00A720 */ jal atan2 -/* 088D78 800EF8C8 E6420064 */ swc1 $f2, 0x64($s2) -/* 088D7C 800EF8CC 0200202D */ daddu $a0, $s0, $zero -/* 088D80 800EF8D0 3C0640A0 */ lui $a2, 0x40a0 -/* 088D84 800EF8D4 44070000 */ mfc1 $a3, $f0 -/* 088D88 800EF8D8 0220282D */ daddu $a1, $s1, $zero -/* 088D8C 800EF8DC 3C018010 */ lui $at, 0x8010 -/* 088D90 800EF8E0 AC278034 */ sw $a3, -0x7fcc($at) -/* 088D94 800EF8E4 0C00A7E7 */ jal add_vec2D_polar -/* 088D98 800EF8E8 AE47000C */ sw $a3, 0xc($s2) -/* 088D9C 800EF8EC 3C108010 */ lui $s0, 0x8010 -/* 088DA0 800EF8F0 2610802C */ addiu $s0, $s0, -0x7fd4 -/* 088DA4 800EF8F4 C64C0038 */ lwc1 $f12, 0x38($s2) -/* 088DA8 800EF8F8 C64E0040 */ lwc1 $f14, 0x40($s2) -/* 088DAC 800EF8FC 8E460060 */ lw $a2, 0x60($s2) -/* 088DB0 800EF900 8E470068 */ lw $a3, 0x68($s2) -/* 088DB4 800EF904 24020012 */ addiu $v0, $zero, 0x12 -/* 088DB8 800EF908 0C00A7B5 */ jal dist2D -/* 088DBC 800EF90C AE020000 */ sw $v0, ($s0) -/* 088DC0 800EF910 E7A0002C */ swc1 $f0, 0x2c($sp) -/* 088DC4 800EF914 C6020000 */ lwc1 $f2, ($s0) -/* 088DC8 800EF918 468010A0 */ cvt.s.w $f2, $f2 -/* 088DCC 800EF91C 46020003 */ div.s $f0, $f0, $f2 -/* 088DD0 800EF920 3C018010 */ lui $at, 0x8010 -/* 088DD4 800EF924 E4208030 */ swc1 $f0, -0x7fd0($at) -/* 088DD8 800EF928 E6400018 */ swc1 $f0, 0x18($s2) -/* 088DDC 800EF92C 46000021 */ cvt.d.s $f0, $f0 -/* 088DE0 800EF930 26440028 */ addiu $a0, $s2, 0x28 -/* 088DE4 800EF934 3C038011 */ lui $v1, 0x8011 -/* 088DE8 800EF938 8C63CFD8 */ lw $v1, -0x3028($v1) -/* 088DEC 800EF93C 3C014010 */ lui $at, 0x4010 -/* 088DF0 800EF940 44811800 */ mtc1 $at, $f3 -/* 088DF4 800EF944 44801000 */ mtc1 $zero, $f2 -/* 088DF8 800EF948 000310C0 */ sll $v0, $v1, 3 -/* 088DFC 800EF94C 00431021 */ addu $v0, $v0, $v1 -/* 088E00 800EF950 4620103E */ c.le.d $f2, $f0 -/* 088E04 800EF954 00000000 */ nop -/* 088E08 800EF958 45000003 */ bc1f .L800EF968 -/* 088E0C 800EF95C 00021080 */ sll $v0, $v0, 2 -/* 088E10 800EF960 0803BE5B */ j .L800EF96C -/* 088E14 800EF964 24430018 */ addiu $v1, $v0, 0x18 - -.L800EF968: -/* 088E18 800EF968 24430004 */ addiu $v1, $v0, 4 -.L800EF96C: -/* 088E1C 800EF96C 3C028010 */ lui $v0, 0x8010 -/* 088E20 800EF970 24428348 */ addiu $v0, $v0, -0x7cb8 -/* 088E24 800EF974 00431021 */ addu $v0, $v0, $v1 -/* 088E28 800EF978 8C420000 */ lw $v0, ($v0) -/* 088E2C 800EF97C AC820000 */ sw $v0, ($a0) -.L800EF980: -/* 088E30 800EF980 3C038010 */ lui $v1, 0x8010 -/* 088E34 800EF984 2463802C */ addiu $v1, $v1, -0x7fd4 -/* 088E38 800EF988 8C620000 */ lw $v0, ($v1) -/* 088E3C 800EF98C 104000C0 */ beqz $v0, .L800EFC90 -/* 088E40 800EF990 2442FFFF */ addiu $v0, $v0, -1 -/* 088E44 800EF994 16800092 */ bnez $s4, .L800EFBE0 -/* 088E48 800EF998 AC620000 */ sw $v0, ($v1) -/* 088E4C 800EF99C 8E420000 */ lw $v0, ($s2) -/* 088E50 800EF9A0 30421000 */ andi $v0, $v0, 0x1000 -/* 088E54 800EF9A4 14400003 */ bnez $v0, .L800EF9B4 -/* 088E58 800EF9A8 00000000 */ nop -/* 088E5C 800EF9AC C660002C */ lwc1 $f0, 0x2c($s3) -/* 088E60 800EF9B0 E640003C */ swc1 $f0, 0x3c($s2) -.L800EF9B4: -/* 088E64 800EF9B4 C642001C */ lwc1 $f2, 0x1c($s2) -/* 088E68 800EF9B8 44802000 */ mtc1 $zero, $f4 -/* 088E6C 800EF9BC 00000000 */ nop -/* 088E70 800EF9C0 46041032 */ c.eq.s $f2, $f4 -/* 088E74 800EF9C4 00000000 */ nop -/* 088E78 800EF9C8 45010060 */ bc1t .L800EFB4C -/* 088E7C 800EF9CC 00000000 */ nop -/* 088E80 800EF9D0 C6400014 */ lwc1 $f0, 0x14($s2) -/* 088E84 800EF9D4 46001001 */ sub.s $f0, $f2, $f0 -/* 088E88 800EF9D8 C642003C */ lwc1 $f2, 0x3c($s2) -/* 088E8C 800EF9DC 46001080 */ add.s $f2, $f2, $f0 -/* 088E90 800EF9E0 E640001C */ swc1 $f0, 0x1c($s2) -/* 088E94 800EF9E4 4604003E */ c.le.s $f0, $f4 -/* 088E98 800EF9E8 00000000 */ nop -/* 088E9C 800EF9EC 4500000A */ bc1f .L800EFA18 -/* 088EA0 800EF9F0 E642003C */ swc1 $f2, 0x3c($s2) -/* 088EA4 800EF9F4 3C028011 */ lui $v0, 0x8011 -/* 088EA8 800EF9F8 8C42CFD8 */ lw $v0, -0x3028($v0) -/* 088EAC 800EF9FC 000218C0 */ sll $v1, $v0, 3 -/* 088EB0 800EFA00 00621821 */ addu $v1, $v1, $v0 -/* 088EB4 800EFA04 00031880 */ sll $v1, $v1, 2 -/* 088EB8 800EFA08 3C028010 */ lui $v0, 0x8010 -/* 088EBC 800EFA0C 00431021 */ addu $v0, $v0, $v1 -/* 088EC0 800EFA10 8C428354 */ lw $v0, -0x7cac($v0) -/* 088EC4 800EFA14 AE420028 */ sw $v0, 0x28($s2) -.L800EFA18: -/* 088EC8 800EFA18 C642001C */ lwc1 $f2, 0x1c($s2) -/* 088ECC 800EFA1C 4604103E */ c.le.s $f2, $f4 -/* 088ED0 800EFA20 00000000 */ nop -/* 088ED4 800EFA24 45000049 */ bc1f .L800EFB4C -/* 088ED8 800EFA28 27A50020 */ addiu $a1, $sp, 0x20 -/* 088EDC 800EFA2C C6400038 */ lwc1 $f0, 0x38($s2) -/* 088EE0 800EFA30 46001085 */ abs.s $f2, $f2 -/* 088EE4 800EFA34 E7A00020 */ swc1 $f0, 0x20($sp) -/* 088EE8 800EFA38 864200A8 */ lh $v0, 0xa8($s2) -/* 088EEC 800EFA3C C6440040 */ lwc1 $f4, 0x40($s2) -/* 088EF0 800EFA40 0040182D */ daddu $v1, $v0, $zero -/* 088EF4 800EFA44 44820000 */ mtc1 $v0, $f0 -/* 088EF8 800EFA48 00000000 */ nop -/* 088EFC 800EFA4C 46800020 */ cvt.s.w $f0, $f0 -/* 088F00 800EFA50 44833000 */ mtc1 $v1, $f6 -/* 088F04 800EFA54 00000000 */ nop -/* 088F08 800EFA58 468031A0 */ cvt.s.w $f6, $f6 -/* 088F0C 800EFA5C 46001080 */ add.s $f2, $f2, $f0 -/* 088F10 800EFA60 C640003C */ lwc1 $f0, 0x3c($s2) -/* 088F14 800EFA64 27A2002C */ addiu $v0, $sp, 0x2c -/* 088F18 800EFA68 46060000 */ add.s $f0, $f0, $f6 -/* 088F1C 800EFA6C E7A40028 */ swc1 $f4, 0x28($sp) -/* 088F20 800EFA70 E7A2002C */ swc1 $f2, 0x2c($sp) -/* 088F24 800EFA74 E7A00024 */ swc1 $f0, 0x24($sp) -/* 088F28 800EFA78 AFA20010 */ sw $v0, 0x10($sp) -/* 088F2C 800EFA7C C640000C */ lwc1 $f0, 0xc($s2) -/* 088F30 800EFA80 E7A00014 */ swc1 $f0, 0x14($sp) -/* 088F34 800EFA84 864200A6 */ lh $v0, 0xa6($s2) -/* 088F38 800EFA88 27A60024 */ addiu $a2, $sp, 0x24 -/* 088F3C 800EFA8C 44820000 */ mtc1 $v0, $f0 -/* 088F40 800EFA90 00000000 */ nop -/* 088F44 800EFA94 46800020 */ cvt.s.w $f0, $f0 -/* 088F48 800EFA98 E7A00018 */ swc1 $f0, 0x18($sp) -/* 088F4C 800EFA9C 8E440080 */ lw $a0, 0x80($s2) -/* 088F50 800EFAA0 0C0371DE */ jal func_800DC778 -/* 088F54 800EFAA4 27A70028 */ addiu $a3, $sp, 0x28 -/* 088F58 800EFAA8 10400028 */ beqz $v0, .L800EFB4C -/* 088F5C 800EFAAC 00000000 */ nop -/* 088F60 800EFAB0 C640001C */ lwc1 $f0, 0x1c($s2) -/* 088F64 800EFAB4 3C0141B0 */ lui $at, 0x41b0 -/* 088F68 800EFAB8 44811000 */ mtc1 $at, $f2 -/* 088F6C 800EFABC 46000005 */ abs.s $f0, $f0 -/* 088F70 800EFAC0 46020000 */ add.s $f0, $f0, $f2 -/* 088F74 800EFAC4 C7A2002C */ lwc1 $f2, 0x2c($sp) -/* 088F78 800EFAC8 4600103E */ c.le.s $f2, $f0 -/* 088F7C 800EFACC 00000000 */ nop -/* 088F80 800EFAD0 4500001E */ bc1f .L800EFB4C -/* 088F84 800EFAD4 26440028 */ addiu $a0, $s2, 0x28 -/* 088F88 800EFAD8 C6400018 */ lwc1 $f0, 0x18($s2) -/* 088F8C 800EFADC 3C014010 */ lui $at, 0x4010 -/* 088F90 800EFAE0 44811800 */ mtc1 $at, $f3 -/* 088F94 800EFAE4 44801000 */ mtc1 $zero, $f2 -/* 088F98 800EFAE8 3C038011 */ lui $v1, 0x8011 -/* 088F9C 800EFAEC 8C63CFD8 */ lw $v1, -0x3028($v1) -/* 088FA0 800EFAF0 46000021 */ cvt.d.s $f0, $f0 -/* 088FA4 800EFAF4 000310C0 */ sll $v0, $v1, 3 -/* 088FA8 800EFAF8 00431021 */ addu $v0, $v0, $v1 -/* 088FAC 800EFAFC 4620103E */ c.le.d $f2, $f0 -/* 088FB0 800EFB00 00000000 */ nop -/* 088FB4 800EFB04 45000003 */ bc1f .L800EFB14 -/* 088FB8 800EFB08 00021080 */ sll $v0, $v0, 2 -/* 088FBC 800EFB0C 0803BEC6 */ j .L800EFB18 -/* 088FC0 800EFB10 24430018 */ addiu $v1, $v0, 0x18 - -.L800EFB14: -/* 088FC4 800EFB14 24430004 */ addiu $v1, $v0, 4 -.L800EFB18: -/* 088FC8 800EFB18 3C028010 */ lui $v0, 0x8010 -/* 088FCC 800EFB1C 24428348 */ addiu $v0, $v0, -0x7cb8 -/* 088FD0 800EFB20 00431021 */ addu $v0, $v0, $v1 -/* 088FD4 800EFB24 8C420000 */ lw $v0, ($v0) -/* 088FD8 800EFB28 C7A00024 */ lwc1 $f0, 0x24($sp) -/* 088FDC 800EFB2C AC820000 */ sw $v0, ($a0) -/* 088FE0 800EFB30 8E420000 */ lw $v0, ($s2) -/* 088FE4 800EFB34 2403F7FF */ addiu $v1, $zero, -0x801 -/* 088FE8 800EFB38 AE400014 */ sw $zero, 0x14($s2) -/* 088FEC 800EFB3C AE40001C */ sw $zero, 0x1c($s2) -/* 088FF0 800EFB40 E640003C */ swc1 $f0, 0x3c($s2) -/* 088FF4 800EFB44 00431024 */ and $v0, $v0, $v1 -/* 088FF8 800EFB48 AE420000 */ sw $v0, ($s2) -.L800EFB4C: -/* 088FFC 800EFB4C 3C018010 */ lui $at, 0x8010 -/* 089000 800EFB50 C4208030 */ lwc1 $f0, -0x7fd0($at) -/* 089004 800EFB54 E6400018 */ swc1 $f0, 0x18($s2) -/* 089008 800EFB58 3C018010 */ lui $at, 0x8010 -/* 08900C 800EFB5C C4208034 */ lwc1 $f0, -0x7fcc($at) -/* 089010 800EFB60 8E450018 */ lw $a1, 0x18($s2) -/* 089014 800EFB64 44060000 */ mfc1 $a2, $f0 -/* 089018 800EFB68 0240202D */ daddu $a0, $s2, $zero -/* 08901C 800EFB6C 0C00EA95 */ jal npc_move_heading -/* 089020 800EFB70 AE46000C */ sw $a2, 0xc($s2) -/* 089024 800EFB74 26450028 */ addiu $a1, $s2, 0x28 -/* 089028 800EFB78 C6400018 */ lwc1 $f0, 0x18($s2) -/* 08902C 800EFB7C 3C014010 */ lui $at, 0x4010 -/* 089030 800EFB80 44811800 */ mtc1 $at, $f3 -/* 089034 800EFB84 44801000 */ mtc1 $zero, $f2 -/* 089038 800EFB88 3C038011 */ lui $v1, 0x8011 -/* 08903C 800EFB8C 8C63CFD8 */ lw $v1, -0x3028($v1) -/* 089040 800EFB90 46000021 */ cvt.d.s $f0, $f0 -/* 089044 800EFB94 000310C0 */ sll $v0, $v1, 3 -/* 089048 800EFB98 00431021 */ addu $v0, $v0, $v1 -/* 08904C 800EFB9C 00021080 */ sll $v0, $v0, 2 -/* 089050 800EFBA0 4620103E */ c.le.d $f2, $f0 -/* 089054 800EFBA4 00000000 */ nop -/* 089058 800EFBA8 45000003 */ bc1f .L800EFBB8 -/* 08905C 800EFBAC 0040182D */ daddu $v1, $v0, $zero -/* 089060 800EFBB0 0803BEEF */ j .L800EFBBC -/* 089064 800EFBB4 24430018 */ addiu $v1, $v0, 0x18 - -.L800EFBB8: -/* 089068 800EFBB8 24630004 */ addiu $v1, $v1, 4 -.L800EFBBC: -/* 08906C 800EFBBC 3C028010 */ lui $v0, 0x8010 -/* 089070 800EFBC0 24428348 */ addiu $v0, $v0, -0x7cb8 -/* 089074 800EFBC4 00431021 */ addu $v0, $v0, $v1 -/* 089078 800EFBC8 8C420000 */ lw $v0, ($v0) -/* 08907C 800EFBCC 0240202D */ daddu $a0, $s2, $zero -/* 089080 800EFBD0 0C00E2BF */ jal func_80038AFC -/* 089084 800EFBD4 ACA20000 */ sw $v0, ($a1) -/* 089088 800EFBD8 0803BF17 */ j .L800EFC5C -/* 08908C 800EFBDC 24050001 */ addiu $a1, $zero, 1 - -.L800EFBE0: -/* 089090 800EFBE0 C644003C */ lwc1 $f4, 0x3c($s2) -/* 089094 800EFBE4 C666002C */ lwc1 $f6, 0x2c($s3) -/* 089098 800EFBE8 46062001 */ sub.s $f0, $f4, $f6 -/* 08909C 800EFBEC 3C014014 */ lui $at, 0x4014 -/* 0890A0 800EFBF0 44811800 */ mtc1 $at, $f3 -/* 0890A4 800EFBF4 44801000 */ mtc1 $zero, $f2 -/* 0890A8 800EFBF8 46000021 */ cvt.d.s $f0, $f0 -/* 0890AC 800EFBFC 46200005 */ abs.d $f0, $f0 -/* 0890B0 800EFC00 4620103C */ c.lt.d $f2, $f0 -/* 0890B4 800EFC04 00000000 */ nop -/* 0890B8 800EFC08 45000009 */ bc1f .L800EFC30 -/* 0890BC 800EFC0C 00000000 */ nop -/* 0890C0 800EFC10 46043001 */ sub.s $f0, $f6, $f4 -/* 0890C4 800EFC14 3C013F00 */ lui $at, 0x3f00 -/* 0890C8 800EFC18 44811000 */ mtc1 $at, $f2 -/* 0890CC 800EFC1C 00000000 */ nop -/* 0890D0 800EFC20 46020002 */ mul.s $f0, $f0, $f2 -/* 0890D4 800EFC24 00000000 */ nop -/* 0890D8 800EFC28 46002000 */ add.s $f0, $f4, $f0 -/* 0890DC 800EFC2C E640003C */ swc1 $f0, 0x3c($s2) -.L800EFC30: -/* 0890E0 800EFC30 3C018010 */ lui $at, 0x8010 -/* 0890E4 800EFC34 C4208030 */ lwc1 $f0, -0x7fd0($at) -/* 0890E8 800EFC38 E6400018 */ swc1 $f0, 0x18($s2) -/* 0890EC 800EFC3C 3C018010 */ lui $at, 0x8010 -/* 0890F0 800EFC40 C4208034 */ lwc1 $f0, -0x7fcc($at) -/* 0890F4 800EFC44 8E450018 */ lw $a1, 0x18($s2) -/* 0890F8 800EFC48 44060000 */ mfc1 $a2, $f0 -/* 0890FC 800EFC4C 0240202D */ daddu $a0, $s2, $zero -/* 089100 800EFC50 0C00EA95 */ jal npc_move_heading -/* 089104 800EFC54 AE46000C */ sw $a2, 0xc($s2) -/* 089108 800EFC58 24050001 */ addiu $a1, $zero, 1 -.L800EFC5C: -/* 08910C 800EFC5C C6400018 */ lwc1 $f0, 0x18($s2) -/* 089110 800EFC60 3C014010 */ lui $at, 0x4010 -/* 089114 800EFC64 44811800 */ mtc1 $at, $f3 -/* 089118 800EFC68 44801000 */ mtc1 $zero, $f2 -/* 08911C 800EFC6C 46000021 */ cvt.d.s $f0, $f0 -/* 089120 800EFC70 4622003C */ c.lt.d $f0, $f2 -/* 089124 800EFC74 00000000 */ nop -/* 089128 800EFC78 45030001 */ bc1tl .L800EFC80 -/* 08912C 800EFC7C 0000282D */ daddu $a1, $zero, $zero -.L800EFC80: -/* 089130 800EFC80 0C00F598 */ jal func_8003D660 -/* 089134 800EFC84 0240202D */ daddu $a0, $s2, $zero -/* 089138 800EFC88 0803BF36 */ j .L800EFCD8 -/* 08913C 800EFC8C 00000000 */ nop - -.L800EFC90: -/* 089140 800EFC90 2403FFBF */ addiu $v1, $zero, -0x41 -/* 089144 800EFC94 8E420000 */ lw $v0, ($s2) -/* 089148 800EFC98 3C048011 */ lui $a0, 0x8011 -/* 08914C 800EFC9C 8C84CFD8 */ lw $a0, -0x3028($a0) -/* 089150 800EFCA0 00431024 */ and $v0, $v0, $v1 -/* 089154 800EFCA4 000418C0 */ sll $v1, $a0, 3 -/* 089158 800EFCA8 00641821 */ addu $v1, $v1, $a0 -/* 08915C 800EFCAC 00031880 */ sll $v1, $v1, 2 -/* 089160 800EFCB0 3C048011 */ lui $a0, 0x8011 -/* 089164 800EFCB4 2484CFCE */ addiu $a0, $a0, -0x3032 -/* 089168 800EFCB8 AE420000 */ sw $v0, ($s2) -/* 08916C 800EFCBC 94820000 */ lhu $v0, ($a0) -/* 089170 800EFCC0 3C018010 */ lui $at, 0x8010 -/* 089174 800EFCC4 00230821 */ addu $at, $at, $v1 -/* 089178 800EFCC8 8C23835C */ lw $v1, -0x7ca4($at) -/* 08917C 800EFCCC 24420001 */ addiu $v0, $v0, 1 -/* 089180 800EFCD0 A4820000 */ sh $v0, ($a0) -/* 089184 800EFCD4 AE430028 */ sw $v1, 0x28($s2) -.L800EFCD8: -/* 089188 800EFCD8 8FBF0044 */ lw $ra, 0x44($sp) -/* 08918C 800EFCDC 8FB40040 */ lw $s4, 0x40($sp) -/* 089190 800EFCE0 8FB3003C */ lw $s3, 0x3c($sp) -/* 089194 800EFCE4 8FB20038 */ lw $s2, 0x38($sp) -/* 089198 800EFCE8 8FB10034 */ lw $s1, 0x34($sp) -/* 08919C 800EFCEC 8FB00030 */ lw $s0, 0x30($sp) -/* 0891A0 800EFCF0 03E00008 */ jr $ra -/* 0891A4 800EFCF4 27BD0048 */ addiu $sp, $sp, 0x48 - -/* 0891A8 800EFCF8 00000000 */ nop -/* 0891AC 800EFCFC 00000000 */ nop -/* 0891B0 800EFD00 03E00008 */ jr $ra -/* 0891B4 800EFD04 00000000 */ nop - -func_800EFD08: -/* 0891B8 800EFD08 27BDFFE0 */ addiu $sp, $sp, -0x20 -/* 0891BC 800EFD0C AFB00010 */ sw $s0, 0x10($sp) -/* 0891C0 800EFD10 AFB10014 */ sw $s1, 0x14($sp) -/* 0891C4 800EFD14 3C118011 */ lui $s1, 0x8011 -/* 0891C8 800EFD18 2631EFC8 */ addiu $s1, $s1, -0x1038 -/* 0891CC 800EFD1C AFBF001C */ sw $ra, 0x1c($sp) -/* 0891D0 800EFD20 AFB20018 */ sw $s2, 0x18($sp) -/* 0891D4 800EFD24 822200B4 */ lb $v0, 0xb4($s1) -/* 0891D8 800EFD28 24120003 */ addiu $s2, $zero, 3 -/* 0891DC 800EFD2C 14520003 */ bne $v0, $s2, .L800EFD3C -/* 0891E0 800EFD30 0000802D */ daddu $s0, $zero, $zero -/* 0891E4 800EFD34 3C108011 */ lui $s0, 0x8011 -/* 0891E8 800EFD38 8E109480 */ lw $s0, -0x6b80($s0) -.L800EFD3C: -/* 0891EC 800EFD3C 3C048016 */ lui $a0, 0x8016 -/* 0891F0 800EFD40 9484A552 */ lhu $a0, -0x5aae($a0) -/* 0891F4 800EFD44 0C016F6A */ jal get_collider_type_by_id -/* 0891F8 800EFD48 00000000 */ nop -/* 0891FC 800EFD4C 822300B4 */ lb $v1, 0xb4($s1) -/* 089200 800EFD50 304200FF */ andi $v0, $v0, 0xff -/* 089204 800EFD54 3C018011 */ lui $at, 0x8011 -/* 089208 800EFD58 AC229480 */ sw $v0, -0x6b80($at) -/* 08920C 800EFD5C 54720001 */ bnel $v1, $s2, .L800EFD64 -/* 089210 800EFD60 0040802D */ daddu $s0, $v0, $zero -.L800EFD64: -/* 089214 800EFD64 2402000A */ addiu $v0, $zero, 0xa -/* 089218 800EFD68 14620008 */ bne $v1, $v0, .L800EFD8C -/* 08921C 800EFD6C 00000000 */ nop -/* 089220 800EFD70 8E220000 */ lw $v0, ($s1) -/* 089224 800EFD74 04410005 */ bgez $v0, .L800EFD8C -/* 089228 800EFD78 00000000 */ nop -/* 08922C 800EFD7C 3C028011 */ lui $v0, 0x8011 -/* 089230 800EFD80 8C42CFF0 */ lw $v0, -0x3010($v0) -/* 089234 800EFD84 3C018011 */ lui $at, 0x8011 -/* 089238 800EFD88 AC22CFF4 */ sw $v0, -0x300c($at) -.L800EFD8C: -/* 08923C 800EFD8C 862200C0 */ lh $v0, 0xc0($s1) -/* 089240 800EFD90 2603FFFF */ addiu $v1, $s0, -1 -/* 089244 800EFD94 3C018011 */ lui $at, 0x8011 -/* 089248 800EFD98 AC22CFF0 */ sw $v0, -0x3010($at) -/* 08924C 800EFD9C 2C620009 */ sltiu $v0, $v1, 9 -/* 089250 800EFDA0 1040001A */ beqz $v0, .L800EFE0C -/* 089254 800EFDA4 00031080 */ sll $v0, $v1, 2 -/* 089258 800EFDA8 3C018011 */ lui $at, 0x8011 -/* 08925C 800EFDAC 00220821 */ addu $at, $at, $v0 -/* 089260 800EFDB0 8C22C2E8 */ lw $v0, -0x3d18($at) -/* 089264 800EFDB4 00400008 */ jr $v0 -/* 089268 800EFDB8 00000000 */ nop -/* 08926C 800EFDBC 0C03C092 */ jal func_800F0248 -/* 089270 800EFDC0 00000000 */ nop -/* 089274 800EFDC4 0803BF85 */ j .L800EFE14 -/* 089278 800EFDC8 00000000 */ nop - -/* 08927C 800EFDCC 0C03C124 */ jal func_800F0490 -/* 089280 800EFDD0 00000000 */ nop -/* 089284 800EFDD4 0803BF85 */ j .L800EFE14 -/* 089288 800EFDD8 00000000 */ nop - -/* 08928C 800EFDDC 0C03C219 */ jal func_800F0864 -/* 089290 800EFDE0 00000000 */ nop -/* 089294 800EFDE4 0803BF85 */ j .L800EFE14 -/* 089298 800EFDE8 00000000 */ nop - -/* 08929C 800EFDEC 0C03C27B */ jal func_800F09EC -/* 0892A0 800EFDF0 00000000 */ nop -/* 0892A4 800EFDF4 0803BF85 */ j .L800EFE14 -/* 0892A8 800EFDF8 00000000 */ nop - -/* 0892AC 800EFDFC 0C03C2CF */ jal func_800F0B3C -/* 0892B0 800EFE00 00000000 */ nop -/* 0892B4 800EFE04 0803BF85 */ j .L800EFE14 -/* 0892B8 800EFE08 00000000 */ nop - -.L800EFE0C: -/* 0892BC 800EFE0C 0C03BF8B */ jal func_800EFE2C -/* 0892C0 800EFE10 00000000 */ nop -.L800EFE14: -/* 0892C4 800EFE14 8FBF001C */ lw $ra, 0x1c($sp) -/* 0892C8 800EFE18 8FB20018 */ lw $s2, 0x18($sp) -/* 0892CC 800EFE1C 8FB10014 */ lw $s1, 0x14($sp) -/* 0892D0 800EFE20 8FB00010 */ lw $s0, 0x10($sp) -/* 0892D4 800EFE24 03E00008 */ jr $ra -/* 0892D8 800EFE28 27BD0020 */ addiu $sp, $sp, 0x20 - -func_800EFE2C: -/* 0892DC 800EFE2C 27BDFFC8 */ addiu $sp, $sp, -0x38 -/* 0892E0 800EFE30 3C038007 */ lui $v1, 0x8007 -/* 0892E4 800EFE34 8C63419C */ lw $v1, 0x419c($v1) -/* 0892E8 800EFE38 AFB00030 */ sw $s0, 0x30($sp) -/* 0892EC 800EFE3C 3C108011 */ lui $s0, 0x8011 -/* 0892F0 800EFE40 2610EFC8 */ addiu $s0, $s0, -0x1038 -/* 0892F4 800EFE44 AFBF0034 */ sw $ra, 0x34($sp) -/* 0892F8 800EFE48 84620086 */ lh $v0, 0x86($v1) -/* 0892FC 800EFE4C 24080005 */ addiu $t0, $zero, 5 -/* 089300 800EFE50 14480004 */ bne $v0, $t0, .L800EFE64 -/* 089304 800EFE54 0000282D */ daddu $a1, $zero, $zero -/* 089308 800EFE58 8462008C */ lh $v0, 0x8c($v1) -/* 08930C 800EFE5C 38420002 */ xori $v0, $v0, 2 -/* 089310 800EFE60 2C450001 */ sltiu $a1, $v0, 1 -.L800EFE64: -/* 089314 800EFE64 820300B4 */ lb $v1, 0xb4($s0) -/* 089318 800EFE68 2402000A */ addiu $v0, $zero, 0xa -/* 08931C 800EFE6C 14620020 */ bne $v1, $v0, .L800EFEF0 -/* 089320 800EFE70 2402000E */ addiu $v0, $zero, 0xe -/* 089324 800EFE74 8E020000 */ lw $v0, ($s0) -/* 089328 800EFE78 0441001D */ bgez $v0, .L800EFEF0 -/* 08932C 800EFE7C 2402000E */ addiu $v0, $zero, 0xe -/* 089330 800EFE80 3C028011 */ lui $v0, 0x8011 -/* 089334 800EFE84 8C42CFF4 */ lw $v0, -0x300c($v0) -/* 089338 800EFE88 2842000A */ slti $v0, $v0, 0xa -/* 08933C 800EFE8C 14400018 */ bnez $v0, .L800EFEF0 -/* 089340 800EFE90 2402000E */ addiu $v0, $zero, 0xe -/* 089344 800EFE94 C6040028 */ lwc1 $f4, 0x28($s0) -/* 089348 800EFE98 C602002C */ lwc1 $f2, 0x2c($s0) -/* 08934C 800EFE9C 44800000 */ mtc1 $zero, $f0 -/* 089350 800EFEA0 C6060030 */ lwc1 $f6, 0x30($s0) -/* 089354 800EFEA4 10A00020 */ beqz $a1, .L800EFF28 -/* 089358 800EFEA8 46001080 */ add.s $f2, $f2, $f0 -/* 08935C 800EFEAC 24040003 */ addiu $a0, $zero, 3 -/* 089360 800EFEB0 44052000 */ mfc1 $a1, $f4 -/* 089364 800EFEB4 44061000 */ mfc1 $a2, $f2 -/* 089368 800EFEB8 44073000 */ mfc1 $a3, $f6 -/* 08936C 800EFEBC 3C014150 */ lui $at, 0x4150 -/* 089370 800EFEC0 44810000 */ mtc1 $at, $f0 -/* 089374 800EFEC4 3C014120 */ lui $at, 0x4120 -/* 089378 800EFEC8 44811000 */ mtc1 $at, $f2 -/* 08937C 800EFECC 3C013F80 */ lui $at, 0x3f80 -/* 089380 800EFED0 44812000 */ mtc1 $at, $f4 -/* 089384 800EFED4 2402001E */ addiu $v0, $zero, 0x1e -/* 089388 800EFED8 AFA8001C */ sw $t0, 0x1c($sp) -/* 08938C 800EFEDC AFA20020 */ sw $v0, 0x20($sp) -/* 089390 800EFEE0 E7A00010 */ swc1 $f0, 0x10($sp) -/* 089394 800EFEE4 E7A20014 */ swc1 $f2, 0x14($sp) -/* 089398 800EFEE8 0803C08C */ j .L800F0230 -/* 08939C 800EFEEC E7A40018 */ swc1 $f4, 0x18($sp) - -.L800EFEF0: -/* 0893A0 800EFEF0 10620003 */ beq $v1, $v0, .L800EFF00 -/* 0893A4 800EFEF4 24020010 */ addiu $v0, $zero, 0x10 -/* 0893A8 800EFEF8 14620029 */ bne $v1, $v0, .L800EFFA0 -/* 0893AC 800EFEFC 00000000 */ nop -.L800EFF00: -/* 0893B0 800EFF00 8E020000 */ lw $v0, ($s0) -/* 0893B4 800EFF04 30420400 */ andi $v0, $v0, 0x400 -/* 0893B8 800EFF08 10400025 */ beqz $v0, .L800EFFA0 -/* 0893BC 800EFF0C 00000000 */ nop -/* 0893C0 800EFF10 C6040028 */ lwc1 $f4, 0x28($s0) -/* 0893C4 800EFF14 C602002C */ lwc1 $f2, 0x2c($s0) -/* 0893C8 800EFF18 44800000 */ mtc1 $zero, $f0 -/* 0893CC 800EFF1C C6060030 */ lwc1 $f6, 0x30($s0) -/* 0893D0 800EFF20 14A0000B */ bnez $a1, .L800EFF50 -/* 0893D4 800EFF24 46001080 */ add.s $f2, $f2, $f0 -.L800EFF28: -/* 0893D8 800EFF28 44052000 */ mfc1 $a1, $f4 -/* 0893DC 800EFF2C 44061000 */ mfc1 $a2, $f2 -/* 0893E0 800EFF30 44073000 */ mfc1 $a3, $f6 -/* 0893E4 800EFF34 3C018011 */ lui $at, 0x8011 -/* 0893E8 800EFF38 C4209484 */ lwc1 $f0, -0x6b7c($at) -/* 0893EC 800EFF3C 0000202D */ daddu $a0, $zero, $zero -/* 0893F0 800EFF40 0C01BEB4 */ jal fx_walk_large -/* 0893F4 800EFF44 E7A00010 */ swc1 $f0, 0x10($sp) -/* 0893F8 800EFF48 0803C08E */ j .L800F0238 -/* 0893FC 800EFF4C 00000000 */ nop - -.L800EFF50: -/* 089400 800EFF50 24040003 */ addiu $a0, $zero, 3 -/* 089404 800EFF54 44052000 */ mfc1 $a1, $f4 -/* 089408 800EFF58 44061000 */ mfc1 $a2, $f2 -/* 08940C 800EFF5C 44073000 */ mfc1 $a3, $f6 -/* 089410 800EFF60 24020005 */ addiu $v0, $zero, 5 -/* 089414 800EFF64 AFA2001C */ sw $v0, 0x1c($sp) -/* 089418 800EFF68 24020028 */ addiu $v0, $zero, 0x28 -/* 08941C 800EFF6C AFA20020 */ sw $v0, 0x20($sp) -/* 089420 800EFF70 860200B2 */ lh $v0, 0xb2($s0) -/* 089424 800EFF74 3C014120 */ lui $at, 0x4120 -/* 089428 800EFF78 44811000 */ mtc1 $at, $f2 -/* 08942C 800EFF7C 3C013F80 */ lui $at, 0x3f80 -/* 089430 800EFF80 44812000 */ mtc1 $at, $f4 -/* 089434 800EFF84 44820000 */ mtc1 $v0, $f0 -/* 089438 800EFF88 00000000 */ nop -/* 08943C 800EFF8C 46800020 */ cvt.s.w $f0, $f0 -/* 089440 800EFF90 E7A00010 */ swc1 $f0, 0x10($sp) -/* 089444 800EFF94 E7A20014 */ swc1 $f2, 0x14($sp) -/* 089448 800EFF98 0803C08C */ j .L800F0230 -/* 08944C 800EFF9C E7A40018 */ swc1 $f4, 0x18($sp) - -.L800EFFA0: -/* 089450 800EFFA0 820300B4 */ lb $v1, 0xb4($s0) -/* 089454 800EFFA4 2402001A */ addiu $v0, $zero, 0x1a -/* 089458 800EFFA8 14620029 */ bne $v1, $v0, .L800F0050 -/* 08945C 800EFFAC 24020002 */ addiu $v0, $zero, 2 -/* 089460 800EFFB0 C6020054 */ lwc1 $f2, 0x54($s0) -/* 089464 800EFFB4 44800000 */ mtc1 $zero, $f0 -/* 089468 800EFFB8 00000000 */ nop -/* 08946C 800EFFBC 46001032 */ c.eq.s $f2, $f0 -/* 089470 800EFFC0 00000000 */ nop -/* 089474 800EFFC4 45010022 */ bc1t .L800F0050 -/* 089478 800EFFC8 00000000 */ nop -/* 08947C 800EFFCC 3C048011 */ lui $a0, 0x8011 -/* 089480 800EFFD0 24849488 */ addiu $a0, $a0, -0x6b78 -/* 089484 800EFFD4 94820000 */ lhu $v0, ($a0) -/* 089488 800EFFD8 24430001 */ addiu $v1, $v0, 1 -/* 08948C 800EFFDC 00021400 */ sll $v0, $v0, 0x10 -/* 089490 800EFFE0 00021403 */ sra $v0, $v0, 0x10 -/* 089494 800EFFE4 28420004 */ slti $v0, $v0, 4 -/* 089498 800EFFE8 14400093 */ bnez $v0, .L800F0238 -/* 08949C 800EFFEC A4830000 */ sh $v1, ($a0) -/* 0894A0 800EFFF0 24020002 */ addiu $v0, $zero, 2 -/* 0894A4 800EFFF4 10A0002C */ beqz $a1, .L800F00A8 -/* 0894A8 800EFFF8 A4820000 */ sh $v0, ($a0) -/* 0894AC 800EFFFC C60C0080 */ lwc1 $f12, 0x80($s0) -/* 0894B0 800F0000 0C00A6C9 */ jal clamp_angle -/* 0894B4 800F0004 00000000 */ nop -/* 0894B8 800F0008 3C0140C9 */ lui $at, 0x40c9 -/* 0894BC 800F000C 34210FD0 */ ori $at, $at, 0xfd0 -/* 0894C0 800F0010 44811000 */ mtc1 $at, $f2 -/* 0894C4 800F0014 00000000 */ nop -/* 0894C8 800F0018 46020002 */ mul.s $f0, $f0, $f2 -/* 0894CC 800F001C 00000000 */ nop -/* 0894D0 800F0020 27A50028 */ addiu $a1, $sp, 0x28 -/* 0894D4 800F0024 3C0143B4 */ lui $at, 0x43b4 -/* 0894D8 800F0028 44816000 */ mtc1 $at, $f12 -/* 0894DC 800F002C 27A6002C */ addiu $a2, $sp, 0x2c -/* 0894E0 800F0030 0C00A82D */ jal sin_cos_rad -/* 0894E4 800F0034 460C0303 */ div.s $f12, $f0, $f12 -/* 0894E8 800F0038 860200B2 */ lh $v0, 0xb2($s0) -/* 0894EC 800F003C C7A40028 */ lwc1 $f4, 0x28($sp) -/* 0894F0 800F0040 44823000 */ mtc1 $v0, $f6 -/* 0894F4 800F0044 00000000 */ nop -/* 0894F8 800F0048 0803C06D */ j .L800F01B4 -/* 0894FC 800F004C 468031A0 */ cvt.s.w $f6, $f6 - -.L800F0050: -/* 089500 800F0050 1062000A */ beq $v1, $v0, .L800F007C -/* 089504 800F0054 3C02FF00 */ lui $v0, 0xff00 -/* 089508 800F0058 8E0300B4 */ lw $v1, 0xb4($s0) -/* 08950C 800F005C 3442FF00 */ ori $v0, $v0, 0xff00 -/* 089510 800F0060 00621824 */ and $v1, $v1, $v0 -/* 089514 800F0064 3C021A00 */ lui $v0, 0x1a00 -/* 089518 800F0068 10620004 */ beq $v1, $v0, .L800F007C -/* 08951C 800F006C 24020004 */ addiu $v0, $zero, 4 -/* 089520 800F0070 3C018011 */ lui $at, 0x8011 -/* 089524 800F0074 0803C08E */ j .L800F0238 -/* 089528 800F0078 A4229488 */ sh $v0, -0x6b78($at) - -.L800F007C: -/* 08952C 800F007C 3C048011 */ lui $a0, 0x8011 -/* 089530 800F0080 24849488 */ addiu $a0, $a0, -0x6b78 -/* 089534 800F0084 94820000 */ lhu $v0, ($a0) -/* 089538 800F0088 24430001 */ addiu $v1, $v0, 1 -/* 08953C 800F008C 00021400 */ sll $v0, $v0, 0x10 -/* 089540 800F0090 00021403 */ sra $v0, $v0, 0x10 -/* 089544 800F0094 28420004 */ slti $v0, $v0, 4 -/* 089548 800F0098 14400067 */ bnez $v0, .L800F0238 -/* 08954C 800F009C A4830000 */ sh $v1, ($a0) -/* 089550 800F00A0 14A00034 */ bnez $a1, .L800F0174 -/* 089554 800F00A4 A4800000 */ sh $zero, ($a0) -.L800F00A8: -/* 089558 800F00A8 C60C0084 */ lwc1 $f12, 0x84($s0) -/* 08955C 800F00AC 0C00A6C9 */ jal clamp_angle -/* 089560 800F00B0 46006307 */ neg.s $f12, $f12 -/* 089564 800F00B4 3C0140C9 */ lui $at, 0x40c9 -/* 089568 800F00B8 34210FD0 */ ori $at, $at, 0xfd0 -/* 08956C 800F00BC 44811000 */ mtc1 $at, $f2 -/* 089570 800F00C0 00000000 */ nop -/* 089574 800F00C4 46020002 */ mul.s $f0, $f0, $f2 -/* 089578 800F00C8 00000000 */ nop -/* 08957C 800F00CC 27A50028 */ addiu $a1, $sp, 0x28 -/* 089580 800F00D0 3C0143B4 */ lui $at, 0x43b4 -/* 089584 800F00D4 44816000 */ mtc1 $at, $f12 -/* 089588 800F00D8 27A6002C */ addiu $a2, $sp, 0x2c -/* 08958C 800F00DC 0C00A82D */ jal sin_cos_rad -/* 089590 800F00E0 460C0303 */ div.s $f12, $f0, $f12 -/* 089594 800F00E4 860200B2 */ lh $v0, 0xb2($s0) -/* 089598 800F00E8 C7AA0028 */ lwc1 $f10, 0x28($sp) -/* 08959C 800F00EC 44821000 */ mtc1 $v0, $f2 -/* 0895A0 800F00F0 00000000 */ nop -/* 0895A4 800F00F4 468010A0 */ cvt.s.w $f2, $f2 -/* 0895A8 800F00F8 460A1182 */ mul.s $f6, $f2, $f10 -/* 0895AC 800F00FC 00000000 */ nop -/* 0895B0 800F0100 C7A8002C */ lwc1 $f8, 0x2c($sp) -/* 0895B4 800F0104 46081082 */ mul.s $f2, $f2, $f8 -/* 0895B8 800F0108 00000000 */ nop -/* 0895BC 800F010C 3C013E4C */ lui $at, 0x3e4c -/* 0895C0 800F0110 3421CCCD */ ori $at, $at, 0xcccd -/* 0895C4 800F0114 44810000 */ mtc1 $at, $f0 -/* 0895C8 800F0118 00000000 */ nop -/* 0895CC 800F011C 46003182 */ mul.s $f6, $f6, $f0 -/* 0895D0 800F0120 00000000 */ nop -/* 0895D4 800F0124 46001082 */ mul.s $f2, $f2, $f0 -/* 0895D8 800F0128 00000000 */ nop -/* 0895DC 800F012C C604002C */ lwc1 $f4, 0x2c($s0) -/* 0895E0 800F0130 3C013FC0 */ lui $at, 0x3fc0 -/* 0895E4 800F0134 44810000 */ mtc1 $at, $f0 -/* 0895E8 800F0138 00000000 */ nop -/* 0895EC 800F013C 46002100 */ add.s $f4, $f4, $f0 -/* 0895F0 800F0140 C6000028 */ lwc1 $f0, 0x28($s0) -/* 0895F4 800F0144 46060000 */ add.s $f0, $f0, $f6 -/* 0895F8 800F0148 44050000 */ mfc1 $a1, $f0 -/* 0895FC 800F014C C6000030 */ lwc1 $f0, 0x30($s0) -/* 089600 800F0150 46020000 */ add.s $f0, $f0, $f2 -/* 089604 800F0154 44062000 */ mfc1 $a2, $f4 -/* 089608 800F0158 44070000 */ mfc1 $a3, $f0 -/* 08960C 800F015C 0000202D */ daddu $a0, $zero, $zero -/* 089610 800F0160 E7AA0010 */ swc1 $f10, 0x10($sp) -/* 089614 800F0164 0C01BECC */ jal fx_walk_normal -/* 089618 800F0168 E7A80014 */ swc1 $f8, 0x14($sp) -/* 08961C 800F016C 0803C08E */ j .L800F0238 -/* 089620 800F0170 00000000 */ nop - -.L800F0174: -/* 089624 800F0174 0C00A6C9 */ jal clamp_angle -/* 089628 800F0178 C60C0080 */ lwc1 $f12, 0x80($s0) -/* 08962C 800F017C 3C0140C9 */ lui $at, 0x40c9 -/* 089630 800F0180 34210FD0 */ ori $at, $at, 0xfd0 -/* 089634 800F0184 44811000 */ mtc1 $at, $f2 -/* 089638 800F0188 00000000 */ nop -/* 08963C 800F018C 46020002 */ mul.s $f0, $f0, $f2 -/* 089640 800F0190 00000000 */ nop -/* 089644 800F0194 27A50028 */ addiu $a1, $sp, 0x28 -/* 089648 800F0198 3C0143B4 */ lui $at, 0x43b4 -/* 08964C 800F019C 44816000 */ mtc1 $at, $f12 -/* 089650 800F01A0 27A6002C */ addiu $a2, $sp, 0x2c -/* 089654 800F01A4 0C00A82D */ jal sin_cos_rad -/* 089658 800F01A8 460C0303 */ div.s $f12, $f0, $f12 -/* 08965C 800F01AC C6060054 */ lwc1 $f6, 0x54($s0) -/* 089660 800F01B0 C7A40028 */ lwc1 $f4, 0x28($sp) -.L800F01B4: -/* 089664 800F01B4 46043102 */ mul.s $f4, $f6, $f4 -/* 089668 800F01B8 00000000 */ nop -/* 08966C 800F01BC C602002C */ lwc1 $f2, 0x2c($s0) -/* 089670 800F01C0 3C013FC0 */ lui $at, 0x3fc0 -/* 089674 800F01C4 44810000 */ mtc1 $at, $f0 -/* 089678 800F01C8 00000000 */ nop -/* 08967C 800F01CC 46001080 */ add.s $f2, $f2, $f0 -/* 089680 800F01D0 C7A0002C */ lwc1 $f0, 0x2c($sp) -/* 089684 800F01D4 24020005 */ addiu $v0, $zero, 5 -/* 089688 800F01D8 AFA2001C */ sw $v0, 0x1c($sp) -/* 08968C 800F01DC 46003182 */ mul.s $f6, $f6, $f0 -/* 089690 800F01E0 00000000 */ nop -/* 089694 800F01E4 3C014150 */ lui $at, 0x4150 -/* 089698 800F01E8 44810000 */ mtc1 $at, $f0 -/* 08969C 800F01EC 44061000 */ mfc1 $a2, $f2 -/* 0896A0 800F01F0 C6020028 */ lwc1 $f2, 0x28($s0) -/* 0896A4 800F01F4 2402001E */ addiu $v0, $zero, 0x1e -/* 0896A8 800F01F8 AFA20020 */ sw $v0, 0x20($sp) -/* 0896AC 800F01FC E7A00010 */ swc1 $f0, 0x10($sp) -/* 0896B0 800F0200 46041080 */ add.s $f2, $f2, $f4 -/* 0896B4 800F0204 C6000030 */ lwc1 $f0, 0x30($s0) -/* 0896B8 800F0208 3C013F80 */ lui $at, 0x3f80 -/* 0896BC 800F020C 44812000 */ mtc1 $at, $f4 -/* 0896C0 800F0210 46060000 */ add.s $f0, $f0, $f6 -/* 0896C4 800F0214 44051000 */ mfc1 $a1, $f2 -/* 0896C8 800F0218 3C014120 */ lui $at, 0x4120 -/* 0896CC 800F021C 44811000 */ mtc1 $at, $f2 -/* 0896D0 800F0220 44070000 */ mfc1 $a3, $f0 -/* 0896D4 800F0224 24040003 */ addiu $a0, $zero, 3 -/* 0896D8 800F0228 E7A40018 */ swc1 $f4, 0x18($sp) -/* 0896DC 800F022C E7A20014 */ swc1 $f2, 0x14($sp) -.L800F0230: -/* 0896E0 800F0230 0C01C8D4 */ jal func_80072350 -/* 0896E4 800F0234 00000000 */ nop -.L800F0238: -/* 0896E8 800F0238 8FBF0034 */ lw $ra, 0x34($sp) -/* 0896EC 800F023C 8FB00030 */ lw $s0, 0x30($sp) -/* 0896F0 800F0240 03E00008 */ jr $ra -/* 0896F4 800F0244 27BD0038 */ addiu $sp, $sp, 0x38 - -func_800F0248: -/* 0896F8 800F0248 27BDFFB8 */ addiu $sp, $sp, -0x48 -/* 0896FC 800F024C AFB00020 */ sw $s0, 0x20($sp) -/* 089700 800F0250 3C108011 */ lui $s0, 0x8011 -/* 089704 800F0254 2610EFC8 */ addiu $s0, $s0, -0x1038 -/* 089708 800F0258 AFBF0028 */ sw $ra, 0x28($sp) -/* 08970C 800F025C AFB10024 */ sw $s1, 0x24($sp) -/* 089710 800F0260 F7B80040 */ sdc1 $f24, 0x40($sp) -/* 089714 800F0264 F7B60038 */ sdc1 $f22, 0x38($sp) -/* 089718 800F0268 F7B40030 */ sdc1 $f20, 0x30($sp) -/* 08971C 800F026C 820300B4 */ lb $v1, 0xb4($s0) -/* 089720 800F0270 24020003 */ addiu $v0, $zero, 3 -/* 089724 800F0274 1462001B */ bne $v1, $v0, .L800F02E4 -/* 089728 800F0278 24020001 */ addiu $v0, $zero, 1 -/* 08972C 800F027C 860300C0 */ lh $v1, 0xc0($s0) -/* 089730 800F0280 14620018 */ bne $v1, $v0, .L800F02E4 -/* 089734 800F0284 24020005 */ addiu $v0, $zero, 5 -/* 089738 800F0288 3C118011 */ lui $s1, 0x8011 -/* 08973C 800F028C 26319492 */ addiu $s1, $s1, -0x6b6e -/* 089740 800F0290 86230000 */ lh $v1, ($s1) -/* 089744 800F0294 14620013 */ bne $v1, $v0, .L800F02E4 -/* 089748 800F0298 00000000 */ nop -/* 08974C 800F029C C60C0028 */ lwc1 $f12, 0x28($s0) -/* 089750 800F02A0 8E060030 */ lw $a2, 0x30($s0) -/* 089754 800F02A4 C600002C */ lwc1 $f0, 0x2c($s0) -/* 089758 800F02A8 3C014160 */ lui $at, 0x4160 -/* 08975C 800F02AC 44817000 */ mtc1 $at, $f14 -/* 089760 800F02B0 3C108011 */ lui $s0, 0x8011 -/* 089764 800F02B4 2610948C */ addiu $s0, $s0, -0x6b74 -/* 089768 800F02B8 8E070000 */ lw $a3, ($s0) -/* 08976C 800F02BC 0C01BEE4 */ jal func_8006FB90 -/* 089770 800F02C0 460E0380 */ add.s $f14, $f0, $f14 -/* 089774 800F02C4 C6000000 */ lwc1 $f0, ($s0) -/* 089778 800F02C8 3C01420C */ lui $at, 0x420c -/* 08977C 800F02CC 44816000 */ mtc1 $at, $f12 -/* 089780 800F02D0 0C00A6C9 */ jal clamp_angle -/* 089784 800F02D4 460C0300 */ add.s $f12, $f0, $f12 -/* 089788 800F02D8 E6000000 */ swc1 $f0, ($s0) -/* 08978C 800F02DC 0803C11C */ j .L800F0470 -/* 089790 800F02E0 A6200000 */ sh $zero, ($s1) - -.L800F02E4: -/* 089794 800F02E4 3C038011 */ lui $v1, 0x8011 -/* 089798 800F02E8 24639492 */ addiu $v1, $v1, -0x6b6e -/* 08979C 800F02EC 94620000 */ lhu $v0, ($v1) -/* 0897A0 800F02F0 24420001 */ addiu $v0, $v0, 1 -/* 0897A4 800F02F4 A4620000 */ sh $v0, ($v1) -/* 0897A8 800F02F8 00021400 */ sll $v0, $v0, 0x10 -/* 0897AC 800F02FC 00021403 */ sra $v0, $v0, 0x10 -/* 0897B0 800F0300 28420006 */ slti $v0, $v0, 6 -/* 0897B4 800F0304 14400002 */ bnez $v0, .L800F0310 -/* 0897B8 800F0308 24020005 */ addiu $v0, $zero, 5 -/* 0897BC 800F030C A4620000 */ sh $v0, ($v1) -.L800F0310: -/* 0897C0 800F0310 920200B4 */ lbu $v0, 0xb4($s0) -/* 0897C4 800F0314 2442FFFF */ addiu $v0, $v0, -1 -/* 0897C8 800F0318 2C420002 */ sltiu $v0, $v0, 2 -/* 0897CC 800F031C 1440000A */ bnez $v0, .L800F0348 -/* 0897D0 800F0320 3C02FF00 */ lui $v0, 0xff00 -/* 0897D4 800F0324 8E0300B4 */ lw $v1, 0xb4($s0) -/* 0897D8 800F0328 3442FF00 */ ori $v0, $v0, 0xff00 -/* 0897DC 800F032C 00621824 */ and $v1, $v1, $v0 -/* 0897E0 800F0330 3C021A00 */ lui $v0, 0x1a00 -/* 0897E4 800F0334 10620004 */ beq $v1, $v0, .L800F0348 -/* 0897E8 800F0338 00000000 */ nop -/* 0897EC 800F033C 3C018011 */ lui $at, 0x8011 -/* 0897F0 800F0340 0803C11C */ j .L800F0470 -/* 0897F4 800F0344 A4209490 */ sh $zero, -0x6b70($at) - -.L800F0348: -/* 0897F8 800F0348 3C048011 */ lui $a0, 0x8011 -/* 0897FC 800F034C 24849490 */ addiu $a0, $a0, -0x6b70 -/* 089800 800F0350 94820000 */ lhu $v0, ($a0) -/* 089804 800F0354 24430001 */ addiu $v1, $v0, 1 -/* 089808 800F0358 00021400 */ sll $v0, $v0, 0x10 -/* 08980C 800F035C 18400044 */ blez $v0, .L800F0470 -/* 089810 800F0360 A4830000 */ sh $v1, ($a0) -/* 089814 800F0364 C60C0084 */ lwc1 $f12, 0x84($s0) -/* 089818 800F0368 A4800000 */ sh $zero, ($a0) -/* 08981C 800F036C 0C00A6C9 */ jal clamp_angle -/* 089820 800F0370 46006307 */ neg.s $f12, $f12 -/* 089824 800F0374 3C0140C9 */ lui $at, 0x40c9 -/* 089828 800F0378 34210FD0 */ ori $at, $at, 0xfd0 -/* 08982C 800F037C 44811000 */ mtc1 $at, $f2 -/* 089830 800F0380 00000000 */ nop -/* 089834 800F0384 46020002 */ mul.s $f0, $f0, $f2 -/* 089838 800F0388 00000000 */ nop -/* 08983C 800F038C 27A50018 */ addiu $a1, $sp, 0x18 -/* 089840 800F0390 3C0143B4 */ lui $at, 0x43b4 -/* 089844 800F0394 44816000 */ mtc1 $at, $f12 -/* 089848 800F0398 27A6001C */ addiu $a2, $sp, 0x1c -/* 08984C 800F039C 0C00A82D */ jal sin_cos_rad -/* 089850 800F03A0 460C0303 */ div.s $f12, $f0, $f12 -/* 089854 800F03A4 860200B2 */ lh $v0, 0xb2($s0) -/* 089858 800F03A8 C7A20018 */ lwc1 $f2, 0x18($sp) -/* 08985C 800F03AC 44822000 */ mtc1 $v0, $f4 -/* 089860 800F03B0 00000000 */ nop -/* 089864 800F03B4 46802120 */ cvt.s.w $f4, $f4 -/* 089868 800F03B8 46022082 */ mul.s $f2, $f4, $f2 -/* 08986C 800F03BC 00000000 */ nop -/* 089870 800F03C0 C7A0001C */ lwc1 $f0, 0x1c($sp) -/* 089874 800F03C4 46002102 */ mul.s $f4, $f4, $f0 -/* 089878 800F03C8 00000000 */ nop -/* 08987C 800F03CC 3C01BECC */ lui $at, 0xbecc -/* 089880 800F03D0 3421CCCD */ ori $at, $at, 0xcccd -/* 089884 800F03D4 44810000 */ mtc1 $at, $f0 -/* 089888 800F03D8 00000000 */ nop -/* 08988C 800F03DC 46001082 */ mul.s $f2, $f2, $f0 -/* 089890 800F03E0 00000000 */ nop -/* 089894 800F03E4 46002102 */ mul.s $f4, $f4, $f0 -/* 089898 800F03E8 00000000 */ nop -/* 08989C 800F03EC C6000028 */ lwc1 $f0, 0x28($s0) -/* 0898A0 800F03F0 46020600 */ add.s $f24, $f0, $f2 -/* 0898A4 800F03F4 C6000030 */ lwc1 $f0, 0x30($s0) -/* 0898A8 800F03F8 C602002C */ lwc1 $f2, 0x2c($s0) -/* 0898AC 800F03FC 46040580 */ add.s $f22, $f0, $f4 -/* 0898B0 800F0400 3C014178 */ lui $at, 0x4178 -/* 0898B4 800F0404 44810000 */ mtc1 $at, $f0 -/* 0898B8 800F0408 2404000A */ addiu $a0, $zero, 0xa -/* 0898BC 800F040C 0C00A67F */ jal rand_int -/* 0898C0 800F0410 46001500 */ add.s $f20, $f2, $f0 -/* 0898C4 800F0414 0000202D */ daddu $a0, $zero, $zero -/* 0898C8 800F0418 44821000 */ mtc1 $v0, $f2 -/* 0898CC 800F041C 00000000 */ nop -/* 0898D0 800F0420 468010A0 */ cvt.s.w $f2, $f2 -/* 0898D4 800F0424 C6000084 */ lwc1 $f0, 0x84($s0) -/* 0898D8 800F0428 3C108011 */ lui $s0, 0x8011 -/* 0898DC 800F042C 26109494 */ addiu $s0, $s0, -0x6b6c -/* 0898E0 800F0430 4405C000 */ mfc1 $a1, $f24 -/* 0898E4 800F0434 4407B000 */ mfc1 $a3, $f22 -/* 0898E8 800F0438 46000007 */ neg.s $f0, $f0 -/* 0898EC 800F043C 46020000 */ add.s $f0, $f0, $f2 -/* 0898F0 800F0440 3C0140A0 */ lui $at, 0x40a0 -/* 0898F4 800F0444 44811000 */ mtc1 $at, $f2 -/* 0898F8 800F0448 4406A000 */ mfc1 $a2, $f20 -/* 0898FC 800F044C 46020001 */ sub.s $f0, $f0, $f2 -/* 089900 800F0450 C6020000 */ lwc1 $f2, ($s0) -/* 089904 800F0454 468010A0 */ cvt.s.w $f2, $f2 -/* 089908 800F0458 E7A20014 */ swc1 $f2, 0x14($sp) -/* 08990C 800F045C 0C01BEFC */ jal func_8006FBF0 -/* 089910 800F0460 E7A00010 */ swc1 $f0, 0x10($sp) -/* 089914 800F0464 8E020000 */ lw $v0, ($s0) -/* 089918 800F0468 2C420001 */ sltiu $v0, $v0, 1 -/* 08991C 800F046C AE020000 */ sw $v0, ($s0) -.L800F0470: -/* 089920 800F0470 8FBF0028 */ lw $ra, 0x28($sp) -/* 089924 800F0474 8FB10024 */ lw $s1, 0x24($sp) -/* 089928 800F0478 8FB00020 */ lw $s0, 0x20($sp) -/* 08992C 800F047C D7B80040 */ ldc1 $f24, 0x40($sp) -/* 089930 800F0480 D7B60038 */ ldc1 $f22, 0x38($sp) -/* 089934 800F0484 D7B40030 */ ldc1 $f20, 0x30($sp) -/* 089938 800F0488 03E00008 */ jr $ra -/* 08993C 800F048C 27BD0048 */ addiu $sp, $sp, 0x48 - -func_800F0490: -/* 089940 800F0490 27BDFFB0 */ addiu $sp, $sp, -0x50 -/* 089944 800F0494 3C028011 */ lui $v0, 0x8011 -/* 089948 800F0498 244294A0 */ addiu $v0, $v0, -0x6b60 -/* 08994C 800F049C AFBF0028 */ sw $ra, 0x28($sp) -/* 089950 800F04A0 AFB30024 */ sw $s3, 0x24($sp) -/* 089954 800F04A4 AFB20020 */ sw $s2, 0x20($sp) -/* 089958 800F04A8 AFB1001C */ sw $s1, 0x1c($sp) -/* 08995C 800F04AC AFB00018 */ sw $s0, 0x18($sp) -/* 089960 800F04B0 F7BA0048 */ sdc1 $f26, 0x48($sp) -/* 089964 800F04B4 F7B80040 */ sdc1 $f24, 0x40($sp) -/* 089968 800F04B8 F7B60038 */ sdc1 $f22, 0x38($sp) -/* 08996C 800F04BC F7B40030 */ sdc1 $f20, 0x30($sp) -/* 089970 800F04C0 C4400000 */ lwc1 $f0, ($v0) -/* 089974 800F04C4 3C013DCC */ lui $at, 0x3dcc -/* 089978 800F04C8 3421CCCD */ ori $at, $at, 0xcccd -/* 08997C 800F04CC 44811000 */ mtc1 $at, $f2 -/* 089980 800F04D0 00000000 */ nop -/* 089984 800F04D4 46020000 */ add.s $f0, $f0, $f2 -/* 089988 800F04D8 3C118011 */ lui $s1, 0x8011 -/* 08998C 800F04DC 2631EFC8 */ addiu $s1, $s1, -0x1038 -/* 089990 800F04E0 E4400000 */ swc1 $f0, ($v0) -/* 089994 800F04E4 822300B4 */ lb $v1, 0xb4($s1) -/* 089998 800F04E8 2402000A */ addiu $v0, $zero, 0xa -/* 08999C 800F04EC 14620004 */ bne $v1, $v0, .L800F0500 -/* 0899A0 800F04F0 2402000E */ addiu $v0, $zero, 0xe -/* 0899A4 800F04F4 8E220000 */ lw $v0, ($s1) -/* 0899A8 800F04F8 04400009 */ bltz $v0, .L800F0520 -/* 0899AC 800F04FC 2402000E */ addiu $v0, $zero, 0xe -.L800F0500: -/* 0899B0 800F0500 10620003 */ beq $v1, $v0, .L800F0510 -/* 0899B4 800F0504 24020010 */ addiu $v0, $zero, 0x10 -/* 0899B8 800F0508 14620073 */ bne $v1, $v0, .L800F06D8 -/* 0899BC 800F050C 00000000 */ nop -.L800F0510: -/* 0899C0 800F0510 8E220000 */ lw $v0, ($s1) -/* 0899C4 800F0514 30420400 */ andi $v0, $v0, 0x400 -/* 0899C8 800F0518 1040006F */ beqz $v0, .L800F06D8 -/* 0899CC 800F051C 00000000 */ nop -.L800F0520: -/* 0899D0 800F0520 3C028011 */ lui $v0, 0x8011 -/* 0899D4 800F0524 8C42CFF4 */ lw $v0, -0x300c($v0) -/* 0899D8 800F0528 2842000A */ slti $v0, $v0, 0xa -/* 0899DC 800F052C 1440006A */ bnez $v0, .L800F06D8 -/* 0899E0 800F0530 00000000 */ nop -/* 0899E4 800F0534 3C108011 */ lui $s0, 0x8011 -/* 0899E8 800F0538 26109498 */ addiu $s0, $s0, -0x6b68 -/* 0899EC 800F053C C62E002C */ lwc1 $f14, 0x2c($s1) -/* 0899F0 800F0540 3C014160 */ lui $at, 0x4160 -/* 0899F4 800F0544 44810000 */ mtc1 $at, $f0 -/* 0899F8 800F0548 C62C0028 */ lwc1 $f12, 0x28($s1) -/* 0899FC 800F054C 46007380 */ add.s $f14, $f14, $f0 -/* 089A00 800F0550 3C0140A0 */ lui $at, 0x40a0 -/* 089A04 800F0554 44810000 */ mtc1 $at, $f0 -/* 089A08 800F0558 8E260030 */ lw $a2, 0x30($s1) -/* 089A0C 800F055C 8E070000 */ lw $a3, ($s0) -/* 089A10 800F0560 0C01BF14 */ jal func_8006FC50 -/* 089A14 800F0564 46007381 */ sub.s $f14, $f14, $f0 -/* 089A18 800F0568 C6000000 */ lwc1 $f0, ($s0) -/* 089A1C 800F056C 3C01420C */ lui $at, 0x420c -/* 089A20 800F0570 44816000 */ mtc1 $at, $f12 -/* 089A24 800F0574 0000982D */ daddu $s3, $zero, $zero -/* 089A28 800F0578 460C0300 */ add.s $f12, $f0, $f12 -/* 089A2C 800F057C 3C01BE99 */ lui $at, 0xbe99 -/* 089A30 800F0580 3421999A */ ori $at, $at, 0x999a -/* 089A34 800F0584 4481D000 */ mtc1 $at, $f26 -/* 089A38 800F0588 0C00A6C9 */ jal clamp_angle -/* 089A3C 800F058C 0260902D */ daddu $s2, $s3, $zero -/* 089A40 800F0590 E6000000 */ swc1 $f0, ($s0) -.L800F0594: -/* 089A44 800F0594 0C00A67F */ jal rand_int -/* 089A48 800F0598 2404000A */ addiu $a0, $zero, 0xa -/* 089A4C 800F059C 2442FFFB */ addiu $v0, $v0, -5 -/* 089A50 800F05A0 4482B000 */ mtc1 $v0, $f22 -/* 089A54 800F05A4 00000000 */ nop -/* 089A58 800F05A8 4680B5A0 */ cvt.s.w $f22, $f22 -/* 089A5C 800F05AC 0C00A67F */ jal rand_int -/* 089A60 800F05B0 2404000A */ addiu $a0, $zero, 0xa -/* 089A64 800F05B4 4616B082 */ mul.s $f2, $f22, $f22 -/* 089A68 800F05B8 00000000 */ nop -/* 089A6C 800F05BC 2442FFFB */ addiu $v0, $v0, -5 -/* 089A70 800F05C0 4482C000 */ mtc1 $v0, $f24 -/* 089A74 800F05C4 00000000 */ nop -/* 089A78 800F05C8 4680C620 */ cvt.s.w $f24, $f24 -/* 089A7C 800F05CC 4618C102 */ mul.s $f4, $f24, $f24 -/* 089A80 800F05D0 00000000 */ nop -/* 089A84 800F05D4 C62C0084 */ lwc1 $f12, 0x84($s1) -/* 089A88 800F05D8 44920000 */ mtc1 $s2, $f0 -/* 089A8C 800F05DC 00000000 */ nop -/* 089A90 800F05E0 46800020 */ cvt.s.w $f0, $f0 -/* 089A94 800F05E4 46006307 */ neg.s $f12, $f12 -/* 089A98 800F05E8 46006300 */ add.s $f12, $f12, $f0 -/* 089A9C 800F05EC 3C01C000 */ lui $at, 0xc000 -/* 089AA0 800F05F0 4481A000 */ mtc1 $at, $f20 -/* 089AA4 800F05F4 3C0140A0 */ lui $at, 0x40a0 -/* 089AA8 800F05F8 44810000 */ mtc1 $at, $f0 -/* 089AAC 800F05FC 46041080 */ add.s $f2, $f2, $f4 -/* 089AB0 800F0600 3C018011 */ lui $at, 0x8011 -/* 089AB4 800F0604 A420949C */ sh $zero, -0x6b64($at) -/* 089AB8 800F0608 46001083 */ div.s $f2, $f2, $f0 -/* 089ABC 800F060C 0C00A6C9 */ jal clamp_angle -/* 089AC0 800F0610 4602A501 */ sub.s $f20, $f20, $f2 -/* 089AC4 800F0614 3C0140C9 */ lui $at, 0x40c9 -/* 089AC8 800F0618 34210FD0 */ ori $at, $at, 0xfd0 -/* 089ACC 800F061C 44811000 */ mtc1 $at, $f2 -/* 089AD0 800F0620 00000000 */ nop -/* 089AD4 800F0624 46020002 */ mul.s $f0, $f0, $f2 -/* 089AD8 800F0628 00000000 */ nop -/* 089ADC 800F062C 27A50010 */ addiu $a1, $sp, 0x10 -/* 089AE0 800F0630 3C0143B4 */ lui $at, 0x43b4 -/* 089AE4 800F0634 44816000 */ mtc1 $at, $f12 -/* 089AE8 800F0638 27A60014 */ addiu $a2, $sp, 0x14 -/* 089AEC 800F063C 0C00A82D */ jal sin_cos_rad -/* 089AF0 800F0640 460C0303 */ div.s $f12, $f0, $f12 -/* 089AF4 800F0644 862200B2 */ lh $v0, 0xb2($s1) -/* 089AF8 800F0648 C7A40010 */ lwc1 $f4, 0x10($sp) -/* 089AFC 800F064C 44823000 */ mtc1 $v0, $f6 -/* 089B00 800F0650 00000000 */ nop -/* 089B04 800F0654 468031A0 */ cvt.s.w $f6, $f6 -/* 089B08 800F0658 46043102 */ mul.s $f4, $f6, $f4 -/* 089B0C 800F065C 00000000 */ nop -/* 089B10 800F0660 C7A00014 */ lwc1 $f0, 0x14($sp) -/* 089B14 800F0664 46003182 */ mul.s $f6, $f6, $f0 -/* 089B18 800F0668 00000000 */ nop -/* 089B1C 800F066C 3C014178 */ lui $at, 0x4178 -/* 089B20 800F0670 44811000 */ mtc1 $at, $f2 -/* 089B24 800F0674 C620002C */ lwc1 $f0, 0x2c($s1) -/* 089B28 800F0678 46020000 */ add.s $f0, $f0, $f2 -/* 089B2C 800F067C 46140000 */ add.s $f0, $f0, $f20 -/* 089B30 800F0680 461A2102 */ mul.s $f4, $f4, $f26 -/* 089B34 800F0684 00000000 */ nop -/* 089B38 800F0688 44060000 */ mfc1 $a2, $f0 -/* 089B3C 800F068C C6200028 */ lwc1 $f0, 0x28($s1) -/* 089B40 800F0690 46040000 */ add.s $f0, $f0, $f4 -/* 089B44 800F0694 46160000 */ add.s $f0, $f0, $f22 -/* 089B48 800F0698 461A3182 */ mul.s $f6, $f6, $f26 -/* 089B4C 800F069C 00000000 */ nop -/* 089B50 800F06A0 44050000 */ mfc1 $a1, $f0 -/* 089B54 800F06A4 C6200030 */ lwc1 $f0, 0x30($s1) -/* 089B58 800F06A8 46060000 */ add.s $f0, $f0, $f6 -/* 089B5C 800F06AC 46180000 */ add.s $f0, $f0, $f24 -/* 089B60 800F06B0 2652005A */ addiu $s2, $s2, 0x5a -/* 089B64 800F06B4 26730001 */ addiu $s3, $s3, 1 -/* 089B68 800F06B8 44070000 */ mfc1 $a3, $f0 -/* 089B6C 800F06BC 0C01BF2C */ jal func_8006FCB0 -/* 089B70 800F06C0 0000202D */ daddu $a0, $zero, $zero -/* 089B74 800F06C4 2A620004 */ slti $v0, $s3, 4 -/* 089B78 800F06C8 1040005B */ beqz $v0, .L800F0838 -/* 089B7C 800F06CC 00000000 */ nop -/* 089B80 800F06D0 0803C165 */ j .L800F0594 -/* 089B84 800F06D4 00000000 */ nop - -.L800F06D8: -/* 089B88 800F06D8 922200B4 */ lbu $v0, 0xb4($s1) -/* 089B8C 800F06DC 2442FFFF */ addiu $v0, $v0, -1 -/* 089B90 800F06E0 2C420002 */ sltiu $v0, $v0, 2 -/* 089B94 800F06E4 1440000A */ bnez $v0, .L800F0710 -/* 089B98 800F06E8 3C02FF00 */ lui $v0, 0xff00 -/* 089B9C 800F06EC 8E2300B4 */ lw $v1, 0xb4($s1) -/* 089BA0 800F06F0 3442FF00 */ ori $v0, $v0, 0xff00 -/* 089BA4 800F06F4 00621824 */ and $v1, $v1, $v0 -/* 089BA8 800F06F8 3C021A00 */ lui $v0, 0x1a00 -/* 089BAC 800F06FC 10620004 */ beq $v1, $v0, .L800F0710 -/* 089BB0 800F0700 00000000 */ nop -/* 089BB4 800F0704 3C018011 */ lui $at, 0x8011 -/* 089BB8 800F0708 0803C20E */ j .L800F0838 -/* 089BBC 800F070C A420949C */ sh $zero, -0x6b64($at) - -.L800F0710: -/* 089BC0 800F0710 0C00A67F */ jal rand_int -/* 089BC4 800F0714 2404000A */ addiu $a0, $zero, 0xa -/* 089BC8 800F0718 2442FFFB */ addiu $v0, $v0, -5 -/* 089BCC 800F071C 4482C000 */ mtc1 $v0, $f24 -/* 089BD0 800F0720 00000000 */ nop -/* 089BD4 800F0724 4680C620 */ cvt.s.w $f24, $f24 -/* 089BD8 800F0728 0C00A67F */ jal rand_int -/* 089BDC 800F072C 2404000A */ addiu $a0, $zero, 0xa -/* 089BE0 800F0730 4618C002 */ mul.s $f0, $f24, $f24 -/* 089BE4 800F0734 00000000 */ nop -/* 089BE8 800F0738 2442FFFB */ addiu $v0, $v0, -5 -/* 089BEC 800F073C 4482B000 */ mtc1 $v0, $f22 -/* 089BF0 800F0740 00000000 */ nop -/* 089BF4 800F0744 4680B5A0 */ cvt.s.w $f22, $f22 -/* 089BF8 800F0748 4616B082 */ mul.s $f2, $f22, $f22 -/* 089BFC 800F074C 00000000 */ nop -/* 089C00 800F0750 C62C0084 */ lwc1 $f12, 0x84($s1) -/* 089C04 800F0754 3C01C000 */ lui $at, 0xc000 -/* 089C08 800F0758 4481A000 */ mtc1 $at, $f20 -/* 089C0C 800F075C 46020000 */ add.s $f0, $f0, $f2 -/* 089C10 800F0760 3C018011 */ lui $at, 0x8011 -/* 089C14 800F0764 A420949C */ sh $zero, -0x6b64($at) -/* 089C18 800F0768 3C0140A0 */ lui $at, 0x40a0 -/* 089C1C 800F076C 44811000 */ mtc1 $at, $f2 -/* 089C20 800F0770 46006307 */ neg.s $f12, $f12 -/* 089C24 800F0774 46020003 */ div.s $f0, $f0, $f2 -/* 089C28 800F0778 0C00A6C9 */ jal clamp_angle -/* 089C2C 800F077C 4600A501 */ sub.s $f20, $f20, $f0 -/* 089C30 800F0780 3C0140C9 */ lui $at, 0x40c9 -/* 089C34 800F0784 34210FD0 */ ori $at, $at, 0xfd0 -/* 089C38 800F0788 44811000 */ mtc1 $at, $f2 -/* 089C3C 800F078C 00000000 */ nop -/* 089C40 800F0790 46020002 */ mul.s $f0, $f0, $f2 -/* 089C44 800F0794 00000000 */ nop -/* 089C48 800F0798 27A50010 */ addiu $a1, $sp, 0x10 -/* 089C4C 800F079C 3C0143B4 */ lui $at, 0x43b4 -/* 089C50 800F07A0 44816000 */ mtc1 $at, $f12 -/* 089C54 800F07A4 27A60014 */ addiu $a2, $sp, 0x14 -/* 089C58 800F07A8 0C00A82D */ jal sin_cos_rad -/* 089C5C 800F07AC 460C0303 */ div.s $f12, $f0, $f12 -/* 089C60 800F07B0 862200B2 */ lh $v0, 0xb2($s1) -/* 089C64 800F07B4 C7A60010 */ lwc1 $f6, 0x10($sp) -/* 089C68 800F07B8 44822000 */ mtc1 $v0, $f4 -/* 089C6C 800F07BC 00000000 */ nop -/* 089C70 800F07C0 46802120 */ cvt.s.w $f4, $f4 -/* 089C74 800F07C4 46062182 */ mul.s $f6, $f4, $f6 -/* 089C78 800F07C8 00000000 */ nop -/* 089C7C 800F07CC C7A00014 */ lwc1 $f0, 0x14($sp) -/* 089C80 800F07D0 46002102 */ mul.s $f4, $f4, $f0 -/* 089C84 800F07D4 00000000 */ nop -/* 089C88 800F07D8 3C01BE99 */ lui $at, 0xbe99 -/* 089C8C 800F07DC 3421999A */ ori $at, $at, 0x999a -/* 089C90 800F07E0 44810000 */ mtc1 $at, $f0 -/* 089C94 800F07E4 00000000 */ nop -/* 089C98 800F07E8 46003182 */ mul.s $f6, $f6, $f0 -/* 089C9C 800F07EC 00000000 */ nop -/* 089CA0 800F07F0 46002102 */ mul.s $f4, $f4, $f0 -/* 089CA4 800F07F4 00000000 */ nop -/* 089CA8 800F07F8 3C014178 */ lui $at, 0x4178 -/* 089CAC 800F07FC 44811000 */ mtc1 $at, $f2 -/* 089CB0 800F0800 C620002C */ lwc1 $f0, 0x2c($s1) -/* 089CB4 800F0804 46020000 */ add.s $f0, $f0, $f2 -/* 089CB8 800F0808 46140000 */ add.s $f0, $f0, $f20 -/* 089CBC 800F080C 44060000 */ mfc1 $a2, $f0 -/* 089CC0 800F0810 C6200028 */ lwc1 $f0, 0x28($s1) -/* 089CC4 800F0814 46060000 */ add.s $f0, $f0, $f6 -/* 089CC8 800F0818 46180000 */ add.s $f0, $f0, $f24 -/* 089CCC 800F081C 44050000 */ mfc1 $a1, $f0 -/* 089CD0 800F0820 C6200030 */ lwc1 $f0, 0x30($s1) -/* 089CD4 800F0824 46040000 */ add.s $f0, $f0, $f4 -/* 089CD8 800F0828 46160000 */ add.s $f0, $f0, $f22 -/* 089CDC 800F082C 44070000 */ mfc1 $a3, $f0 -/* 089CE0 800F0830 0C01BF2C */ jal func_8006FCB0 -/* 089CE4 800F0834 24040001 */ addiu $a0, $zero, 1 -.L800F0838: -/* 089CE8 800F0838 8FBF0028 */ lw $ra, 0x28($sp) -/* 089CEC 800F083C 8FB30024 */ lw $s3, 0x24($sp) -/* 089CF0 800F0840 8FB20020 */ lw $s2, 0x20($sp) -/* 089CF4 800F0844 8FB1001C */ lw $s1, 0x1c($sp) -/* 089CF8 800F0848 8FB00018 */ lw $s0, 0x18($sp) -/* 089CFC 800F084C D7BA0048 */ ldc1 $f26, 0x48($sp) -/* 089D00 800F0850 D7B80040 */ ldc1 $f24, 0x40($sp) -/* 089D04 800F0854 D7B60038 */ ldc1 $f22, 0x38($sp) -/* 089D08 800F0858 D7B40030 */ ldc1 $f20, 0x30($sp) -/* 089D0C 800F085C 03E00008 */ jr $ra -/* 089D10 800F0860 27BD0050 */ addiu $sp, $sp, 0x50 - -func_800F0864: -/* 089D14 800F0864 27BDFFD0 */ addiu $sp, $sp, -0x30 -/* 089D18 800F0868 AFB10024 */ sw $s1, 0x24($sp) -/* 089D1C 800F086C 3C118011 */ lui $s1, 0x8011 -/* 089D20 800F0870 2631EFC8 */ addiu $s1, $s1, -0x1038 -/* 089D24 800F0874 AFBF0028 */ sw $ra, 0x28($sp) -/* 089D28 800F0878 AFB00020 */ sw $s0, 0x20($sp) -/* 089D2C 800F087C 922400B4 */ lbu $a0, 0xb4($s1) -/* 089D30 800F0880 2482FFFF */ addiu $v0, $a0, -1 -/* 089D34 800F0884 2C420002 */ sltiu $v0, $v0, 2 -/* 089D38 800F0888 14400013 */ bnez $v0, .L800F08D8 -/* 089D3C 800F088C 3C02FF00 */ lui $v0, 0xff00 -/* 089D40 800F0890 8E2300B4 */ lw $v1, 0xb4($s1) -/* 089D44 800F0894 3442FF00 */ ori $v0, $v0, 0xff00 -/* 089D48 800F0898 00621824 */ and $v1, $v1, $v0 -/* 089D4C 800F089C 3C021A00 */ lui $v0, 0x1a00 -/* 089D50 800F08A0 1062000D */ beq $v1, $v0, .L800F08D8 -/* 089D54 800F08A4 00041600 */ sll $v0, $a0, 0x18 -/* 089D58 800F08A8 00021E03 */ sra $v1, $v0, 0x18 -/* 089D5C 800F08AC 2402000A */ addiu $v0, $zero, 0xa -/* 089D60 800F08B0 10620003 */ beq $v1, $v0, .L800F08C0 -/* 089D64 800F08B4 00000000 */ nop -/* 089D68 800F08B8 14600004 */ bnez $v1, .L800F08CC -/* 089D6C 800F08BC 24020004 */ addiu $v0, $zero, 4 -.L800F08C0: -/* 089D70 800F08C0 8E220000 */ lw $v0, ($s1) -/* 089D74 800F08C4 04400004 */ bltz $v0, .L800F08D8 -/* 089D78 800F08C8 24020004 */ addiu $v0, $zero, 4 -.L800F08CC: -/* 089D7C 800F08CC 3C018011 */ lui $at, 0x8011 -/* 089D80 800F08D0 0803C276 */ j .L800F09D8 -/* 089D84 800F08D4 A42294A4 */ sh $v0, -0x6b5c($at) - -.L800F08D8: -/* 089D88 800F08D8 3C048011 */ lui $a0, 0x8011 -/* 089D8C 800F08DC 248494A4 */ addiu $a0, $a0, -0x6b5c -/* 089D90 800F08E0 94820000 */ lhu $v0, ($a0) -/* 089D94 800F08E4 24430001 */ addiu $v1, $v0, 1 -/* 089D98 800F08E8 00021400 */ sll $v0, $v0, 0x10 -/* 089D9C 800F08EC 00021403 */ sra $v0, $v0, 0x10 -/* 089DA0 800F08F0 28420004 */ slti $v0, $v0, 4 -/* 089DA4 800F08F4 14400038 */ bnez $v0, .L800F09D8 -/* 089DA8 800F08F8 A4830000 */ sh $v1, ($a0) -/* 089DAC 800F08FC C62C0084 */ lwc1 $f12, 0x84($s1) -/* 089DB0 800F0900 A4800000 */ sh $zero, ($a0) -/* 089DB4 800F0904 0C00A6C9 */ jal clamp_angle -/* 089DB8 800F0908 46006307 */ neg.s $f12, $f12 -/* 089DBC 800F090C 3C0140C9 */ lui $at, 0x40c9 -/* 089DC0 800F0910 34210FD0 */ ori $at, $at, 0xfd0 -/* 089DC4 800F0914 44811000 */ mtc1 $at, $f2 -/* 089DC8 800F0918 00000000 */ nop -/* 089DCC 800F091C 46020002 */ mul.s $f0, $f0, $f2 -/* 089DD0 800F0920 00000000 */ nop -/* 089DD4 800F0924 27A6001C */ addiu $a2, $sp, 0x1c -/* 089DD8 800F0928 3C0143B4 */ lui $at, 0x43b4 -/* 089DDC 800F092C 44816000 */ mtc1 $at, $f12 -/* 089DE0 800F0930 27A50018 */ addiu $a1, $sp, 0x18 -/* 089DE4 800F0934 0C00A82D */ jal sin_cos_rad -/* 089DE8 800F0938 460C0303 */ div.s $f12, $f0, $f12 -/* 089DEC 800F093C 862200B2 */ lh $v0, 0xb2($s1) -/* 089DF0 800F0940 C7A40018 */ lwc1 $f4, 0x18($sp) -/* 089DF4 800F0944 44821000 */ mtc1 $v0, $f2 -/* 089DF8 800F0948 00000000 */ nop -/* 089DFC 800F094C 468010A0 */ cvt.s.w $f2, $f2 -/* 089E00 800F0950 46041102 */ mul.s $f4, $f2, $f4 -/* 089E04 800F0954 00000000 */ nop -/* 089E08 800F0958 C7A0001C */ lwc1 $f0, 0x1c($sp) -/* 089E0C 800F095C 46001082 */ mul.s $f2, $f2, $f0 -/* 089E10 800F0960 00000000 */ nop -/* 089E14 800F0964 3C013E4C */ lui $at, 0x3e4c -/* 089E18 800F0968 3421CCCD */ ori $at, $at, 0xcccd -/* 089E1C 800F096C 44810000 */ mtc1 $at, $f0 -/* 089E20 800F0970 00000000 */ nop -/* 089E24 800F0974 46002102 */ mul.s $f4, $f4, $f0 -/* 089E28 800F0978 00000000 */ nop -/* 089E2C 800F097C 46001082 */ mul.s $f2, $f2, $f0 -/* 089E30 800F0980 00000000 */ nop -/* 089E34 800F0984 C62C0028 */ lwc1 $f12, 0x28($s1) -/* 089E38 800F0988 46046300 */ add.s $f12, $f12, $f4 -/* 089E3C 800F098C C6200030 */ lwc1 $f0, 0x30($s1) -/* 089E40 800F0990 3C108011 */ lui $s0, 0x8011 -/* 089E44 800F0994 261094A8 */ addiu $s0, $s0, -0x6b58 -/* 089E48 800F0998 46020000 */ add.s $f0, $f0, $f2 -/* 089E4C 800F099C C6220084 */ lwc1 $f2, 0x84($s1) -/* 089E50 800F09A0 3C013FC0 */ lui $at, 0x3fc0 -/* 089E54 800F09A4 44817000 */ mtc1 $at, $f14 -/* 089E58 800F09A8 46001087 */ neg.s $f2, $f2 -/* 089E5C 800F09AC 44060000 */ mfc1 $a2, $f0 -/* 089E60 800F09B0 C620002C */ lwc1 $f0, 0x2c($s1) -/* 089E64 800F09B4 44071000 */ mfc1 $a3, $f2 -/* 089E68 800F09B8 460E0380 */ add.s $f14, $f0, $f14 -/* 089E6C 800F09BC C6000000 */ lwc1 $f0, ($s0) -/* 089E70 800F09C0 46800020 */ cvt.s.w $f0, $f0 -/* 089E74 800F09C4 0C01BF44 */ jal func_8006FD10 -/* 089E78 800F09C8 E7A00010 */ swc1 $f0, 0x10($sp) -/* 089E7C 800F09CC 8E020000 */ lw $v0, ($s0) -/* 089E80 800F09D0 2C420001 */ sltiu $v0, $v0, 1 -/* 089E84 800F09D4 AE020000 */ sw $v0, ($s0) -.L800F09D8: -/* 089E88 800F09D8 8FBF0028 */ lw $ra, 0x28($sp) -/* 089E8C 800F09DC 8FB10024 */ lw $s1, 0x24($sp) -/* 089E90 800F09E0 8FB00020 */ lw $s0, 0x20($sp) -/* 089E94 800F09E4 03E00008 */ jr $ra -/* 089E98 800F09E8 27BD0030 */ addiu $sp, $sp, 0x30 - -func_800F09EC: -/* 089E9C 800F09EC 27BDFFE0 */ addiu $sp, $sp, -0x20 -/* 089EA0 800F09F0 AFB00018 */ sw $s0, 0x18($sp) -/* 089EA4 800F09F4 3C108011 */ lui $s0, 0x8011 -/* 089EA8 800F09F8 2610EFC8 */ addiu $s0, $s0, -0x1038 -/* 089EAC 800F09FC AFBF001C */ sw $ra, 0x1c($sp) -/* 089EB0 800F0A00 920400B4 */ lbu $a0, 0xb4($s0) -/* 089EB4 800F0A04 2482FFFF */ addiu $v0, $a0, -1 -/* 089EB8 800F0A08 2C420002 */ sltiu $v0, $v0, 2 -/* 089EBC 800F0A0C 14400013 */ bnez $v0, .L800F0A5C -/* 089EC0 800F0A10 3C02FF00 */ lui $v0, 0xff00 -/* 089EC4 800F0A14 8E0300B4 */ lw $v1, 0xb4($s0) -/* 089EC8 800F0A18 3442FF00 */ ori $v0, $v0, 0xff00 -/* 089ECC 800F0A1C 00621824 */ and $v1, $v1, $v0 -/* 089ED0 800F0A20 3C021A00 */ lui $v0, 0x1a00 -/* 089ED4 800F0A24 1062000D */ beq $v1, $v0, .L800F0A5C -/* 089ED8 800F0A28 00041600 */ sll $v0, $a0, 0x18 -/* 089EDC 800F0A2C 00021E03 */ sra $v1, $v0, 0x18 -/* 089EE0 800F0A30 2402000A */ addiu $v0, $zero, 0xa -/* 089EE4 800F0A34 10620003 */ beq $v1, $v0, .L800F0A44 -/* 089EE8 800F0A38 00000000 */ nop -/* 089EEC 800F0A3C 14600004 */ bnez $v1, .L800F0A50 -/* 089EF0 800F0A40 24020004 */ addiu $v0, $zero, 4 -.L800F0A44: -/* 089EF4 800F0A44 8E020000 */ lw $v0, ($s0) -/* 089EF8 800F0A48 04400004 */ bltz $v0, .L800F0A5C -/* 089EFC 800F0A4C 24020004 */ addiu $v0, $zero, 4 -.L800F0A50: -/* 089F00 800F0A50 3C018011 */ lui $at, 0x8011 -/* 089F04 800F0A54 0803C2CB */ j .L800F0B2C -/* 089F08 800F0A58 A42294AC */ sh $v0, -0x6b54($at) - -.L800F0A5C: -/* 089F0C 800F0A5C 3C048011 */ lui $a0, 0x8011 -/* 089F10 800F0A60 248494AC */ addiu $a0, $a0, -0x6b54 -/* 089F14 800F0A64 94820000 */ lhu $v0, ($a0) -/* 089F18 800F0A68 24430001 */ addiu $v1, $v0, 1 -/* 089F1C 800F0A6C 00021400 */ sll $v0, $v0, 0x10 -/* 089F20 800F0A70 00021403 */ sra $v0, $v0, 0x10 -/* 089F24 800F0A74 28420004 */ slti $v0, $v0, 4 -/* 089F28 800F0A78 1440002C */ bnez $v0, .L800F0B2C -/* 089F2C 800F0A7C A4830000 */ sh $v1, ($a0) -/* 089F30 800F0A80 C60C0084 */ lwc1 $f12, 0x84($s0) -/* 089F34 800F0A84 A4800000 */ sh $zero, ($a0) -/* 089F38 800F0A88 0C00A6C9 */ jal clamp_angle -/* 089F3C 800F0A8C 46006307 */ neg.s $f12, $f12 -/* 089F40 800F0A90 3C0140C9 */ lui $at, 0x40c9 -/* 089F44 800F0A94 34210FD0 */ ori $at, $at, 0xfd0 -/* 089F48 800F0A98 44811000 */ mtc1 $at, $f2 -/* 089F4C 800F0A9C 00000000 */ nop -/* 089F50 800F0AA0 46020002 */ mul.s $f0, $f0, $f2 -/* 089F54 800F0AA4 00000000 */ nop -/* 089F58 800F0AA8 27A50010 */ addiu $a1, $sp, 0x10 -/* 089F5C 800F0AAC 3C0143B4 */ lui $at, 0x43b4 -/* 089F60 800F0AB0 44816000 */ mtc1 $at, $f12 -/* 089F64 800F0AB4 27A60014 */ addiu $a2, $sp, 0x14 -/* 089F68 800F0AB8 0C00A82D */ jal sin_cos_rad -/* 089F6C 800F0ABC 460C0303 */ div.s $f12, $f0, $f12 -/* 089F70 800F0AC0 860200B2 */ lh $v0, 0xb2($s0) -/* 089F74 800F0AC4 C7A40010 */ lwc1 $f4, 0x10($sp) -/* 089F78 800F0AC8 44821000 */ mtc1 $v0, $f2 -/* 089F7C 800F0ACC 00000000 */ nop -/* 089F80 800F0AD0 468010A0 */ cvt.s.w $f2, $f2 -/* 089F84 800F0AD4 46041102 */ mul.s $f4, $f2, $f4 -/* 089F88 800F0AD8 00000000 */ nop -/* 089F8C 800F0ADC C7A00014 */ lwc1 $f0, 0x14($sp) -/* 089F90 800F0AE0 46001082 */ mul.s $f2, $f2, $f0 -/* 089F94 800F0AE4 00000000 */ nop -/* 089F98 800F0AE8 3C013E4C */ lui $at, 0x3e4c -/* 089F9C 800F0AEC 3421CCCD */ ori $at, $at, 0xcccd -/* 089FA0 800F0AF0 44810000 */ mtc1 $at, $f0 -/* 089FA4 800F0AF4 00000000 */ nop -/* 089FA8 800F0AF8 46002102 */ mul.s $f4, $f4, $f0 -/* 089FAC 800F0AFC 00000000 */ nop -/* 089FB0 800F0B00 46001082 */ mul.s $f2, $f2, $f0 -/* 089FB4 800F0B04 00000000 */ nop -/* 089FB8 800F0B08 C6000028 */ lwc1 $f0, 0x28($s0) -/* 089FBC 800F0B0C 46040000 */ add.s $f0, $f0, $f4 -/* 089FC0 800F0B10 44050000 */ mfc1 $a1, $f0 -/* 089FC4 800F0B14 C6000030 */ lwc1 $f0, 0x30($s0) -/* 089FC8 800F0B18 46020000 */ add.s $f0, $f0, $f2 -/* 089FCC 800F0B1C 3C064220 */ lui $a2, 0x4220 -/* 089FD0 800F0B20 44070000 */ mfc1 $a3, $f0 -/* 089FD4 800F0B24 0C01C244 */ jal func_80070910 -/* 089FD8 800F0B28 0000202D */ daddu $a0, $zero, $zero -.L800F0B2C: -/* 089FDC 800F0B2C 8FBF001C */ lw $ra, 0x1c($sp) -/* 089FE0 800F0B30 8FB00018 */ lw $s0, 0x18($sp) -/* 089FE4 800F0B34 03E00008 */ jr $ra -/* 089FE8 800F0B38 27BD0020 */ addiu $sp, $sp, 0x20 - -func_800F0B3C: -/* 089FEC 800F0B3C 27BDFFD8 */ addiu $sp, $sp, -0x28 -/* 089FF0 800F0B40 AFB00020 */ sw $s0, 0x20($sp) -/* 089FF4 800F0B44 3C108011 */ lui $s0, 0x8011 -/* 089FF8 800F0B48 2610EFC8 */ addiu $s0, $s0, -0x1038 -/* 089FFC 800F0B4C AFBF0024 */ sw $ra, 0x24($sp) -/* 08A000 800F0B50 920400B4 */ lbu $a0, 0xb4($s0) -/* 08A004 800F0B54 2482FFFF */ addiu $v0, $a0, -1 -/* 08A008 800F0B58 2C420002 */ sltiu $v0, $v0, 2 -/* 08A00C 800F0B5C 14400013 */ bnez $v0, .L800F0BAC -/* 08A010 800F0B60 3C02FF00 */ lui $v0, 0xff00 -/* 08A014 800F0B64 8E0300B4 */ lw $v1, 0xb4($s0) -/* 08A018 800F0B68 3442FF00 */ ori $v0, $v0, 0xff00 -/* 08A01C 800F0B6C 00621824 */ and $v1, $v1, $v0 -/* 08A020 800F0B70 3C021A00 */ lui $v0, 0x1a00 -/* 08A024 800F0B74 1062000D */ beq $v1, $v0, .L800F0BAC -/* 08A028 800F0B78 00041600 */ sll $v0, $a0, 0x18 -/* 08A02C 800F0B7C 00021E03 */ sra $v1, $v0, 0x18 -/* 08A030 800F0B80 2402000A */ addiu $v0, $zero, 0xa -/* 08A034 800F0B84 10620003 */ beq $v1, $v0, .L800F0B94 -/* 08A038 800F0B88 00000000 */ nop -/* 08A03C 800F0B8C 14600004 */ bnez $v1, .L800F0BA0 -/* 08A040 800F0B90 24020004 */ addiu $v0, $zero, 4 -.L800F0B94: -/* 08A044 800F0B94 8E020000 */ lw $v0, ($s0) -/* 08A048 800F0B98 04400004 */ bltz $v0, .L800F0BAC -/* 08A04C 800F0B9C 24020004 */ addiu $v0, $zero, 4 -.L800F0BA0: -/* 08A050 800F0BA0 3C018011 */ lui $at, 0x8011 -/* 08A054 800F0BA4 0803C323 */ j .L800F0C8C -/* 08A058 800F0BA8 A42294AE */ sh $v0, -0x6b52($at) - -.L800F0BAC: -/* 08A05C 800F0BAC 3C048011 */ lui $a0, 0x8011 -/* 08A060 800F0BB0 248494AE */ addiu $a0, $a0, -0x6b52 -/* 08A064 800F0BB4 94820000 */ lhu $v0, ($a0) -/* 08A068 800F0BB8 24430001 */ addiu $v1, $v0, 1 -/* 08A06C 800F0BBC 00021400 */ sll $v0, $v0, 0x10 -/* 08A070 800F0BC0 00021403 */ sra $v0, $v0, 0x10 -/* 08A074 800F0BC4 28420004 */ slti $v0, $v0, 4 -/* 08A078 800F0BC8 14400030 */ bnez $v0, .L800F0C8C -/* 08A07C 800F0BCC A4830000 */ sh $v1, ($a0) -/* 08A080 800F0BD0 C60C0084 */ lwc1 $f12, 0x84($s0) -/* 08A084 800F0BD4 A4800000 */ sh $zero, ($a0) -/* 08A088 800F0BD8 0C00A6C9 */ jal clamp_angle -/* 08A08C 800F0BDC 46006307 */ neg.s $f12, $f12 -/* 08A090 800F0BE0 3C0140C9 */ lui $at, 0x40c9 -/* 08A094 800F0BE4 34210FD0 */ ori $at, $at, 0xfd0 -/* 08A098 800F0BE8 44811000 */ mtc1 $at, $f2 -/* 08A09C 800F0BEC 00000000 */ nop -/* 08A0A0 800F0BF0 46020002 */ mul.s $f0, $f0, $f2 -/* 08A0A4 800F0BF4 00000000 */ nop -/* 08A0A8 800F0BF8 27A50018 */ addiu $a1, $sp, 0x18 -/* 08A0AC 800F0BFC 3C0143B4 */ lui $at, 0x43b4 -/* 08A0B0 800F0C00 44816000 */ mtc1 $at, $f12 -/* 08A0B4 800F0C04 27A6001C */ addiu $a2, $sp, 0x1c -/* 08A0B8 800F0C08 0C00A82D */ jal sin_cos_rad -/* 08A0BC 800F0C0C 460C0303 */ div.s $f12, $f0, $f12 -/* 08A0C0 800F0C10 860200B2 */ lh $v0, 0xb2($s0) -/* 08A0C4 800F0C14 C7A40018 */ lwc1 $f4, 0x18($sp) -/* 08A0C8 800F0C18 44821000 */ mtc1 $v0, $f2 -/* 08A0CC 800F0C1C 00000000 */ nop -/* 08A0D0 800F0C20 468010A0 */ cvt.s.w $f2, $f2 -/* 08A0D4 800F0C24 46041102 */ mul.s $f4, $f2, $f4 -/* 08A0D8 800F0C28 00000000 */ nop -/* 08A0DC 800F0C2C C7A0001C */ lwc1 $f0, 0x1c($sp) -/* 08A0E0 800F0C30 46001082 */ mul.s $f2, $f2, $f0 -/* 08A0E4 800F0C34 00000000 */ nop -/* 08A0E8 800F0C38 3C013E4C */ lui $at, 0x3e4c -/* 08A0EC 800F0C3C 3421CCCD */ ori $at, $at, 0xcccd -/* 08A0F0 800F0C40 44810000 */ mtc1 $at, $f0 -/* 08A0F4 800F0C44 00000000 */ nop -/* 08A0F8 800F0C48 46002102 */ mul.s $f4, $f4, $f0 -/* 08A0FC 800F0C4C 00000000 */ nop -/* 08A100 800F0C50 46001082 */ mul.s $f2, $f2, $f0 -/* 08A104 800F0C54 00000000 */ nop -/* 08A108 800F0C58 44803000 */ mtc1 $zero, $f6 -/* 08A10C 800F0C5C C600002C */ lwc1 $f0, 0x2c($s0) -/* 08A110 800F0C60 46060000 */ add.s $f0, $f0, $f6 -/* 08A114 800F0C64 44060000 */ mfc1 $a2, $f0 -/* 08A118 800F0C68 C6000028 */ lwc1 $f0, 0x28($s0) -/* 08A11C 800F0C6C 46040000 */ add.s $f0, $f0, $f4 -/* 08A120 800F0C70 44050000 */ mfc1 $a1, $f0 -/* 08A124 800F0C74 C6000030 */ lwc1 $f0, 0x30($s0) -/* 08A128 800F0C78 46020000 */ add.s $f0, $f0, $f2 -/* 08A12C 800F0C7C 44070000 */ mfc1 $a3, $f0 -/* 08A130 800F0C80 0000202D */ daddu $a0, $zero, $zero -/* 08A134 800F0C84 0C01C16C */ jal func_800705B0 -/* 08A138 800F0C88 E7A60010 */ swc1 $f6, 0x10($sp) -.L800F0C8C: -/* 08A13C 800F0C8C 8FBF0024 */ lw $ra, 0x24($sp) -/* 08A140 800F0C90 8FB00020 */ lw $s0, 0x20($sp) -/* 08A144 800F0C94 03E00008 */ jr $ra -/* 08A148 800F0C98 27BD0028 */ addiu $sp, $sp, 0x28 - -func_800F0C9C: -/* 08A14C 800F0C9C 03E00008 */ jr $ra -/* 08A150 800F0CA0 00000000 */ nop - -/* 08A154 800F0CA4 00000000 */ nop -/* 08A158 800F0CA8 00000000 */ nop -/* 08A15C 800F0CAC 00000000 */ nop -func_800F0CB0: -/* 08A160 800F0CB0 3C038011 */ lui $v1, 0x8011 -/* 08A164 800F0CB4 2463D000 */ addiu $v1, $v1, -0x3000 -/* 08A168 800F0CB8 00041040 */ sll $v0, $a0, 1 -/* 08A16C 800F0CBC 00441021 */ addu $v0, $v0, $a0 -/* 08A170 800F0CC0 000210C0 */ sll $v0, $v0, 3 -/* 08A174 800F0CC4 00441021 */ addu $v0, $v0, $a0 -/* 08A178 800F0CC8 00021100 */ sll $v0, $v0, 4 -/* 08A17C 800F0CCC 00441023 */ subu $v0, $v0, $a0 -/* 08A180 800F0CD0 00021080 */ sll $v0, $v0, 2 -/* 08A184 800F0CD4 44850000 */ mtc1 $a1, $f0 -/* 08A188 800F0CD8 00432821 */ addu $a1, $v0, $v1 -/* 08A18C 800F0CDC 44861000 */ mtc1 $a2, $f2 -/* 08A190 800F0CE0 44872000 */ mtc1 $a3, $f4 -/* 08A194 800F0CE4 1C80001B */ bgtz $a0, .L800F0D54 -/* 08A198 800F0CE8 24060039 */ addiu $a2, $zero, 0x39 -/* 08A19C 800F0CEC 24020001 */ addiu $v0, $zero, 1 -/* 08A1A0 800F0CF0 A0A20000 */ sb $v0, ($a1) -/* 08A1A4 800F0CF4 24020028 */ addiu $v0, $zero, 0x28 -/* 08A1A8 800F0CF8 E4A00008 */ swc1 $f0, 8($a1) -/* 08A1AC 800F0CFC E4A2000C */ swc1 $f2, 0xc($a1) -/* 08A1B0 800F0D00 E4A40018 */ swc1 $f4, 0x18($a1) -/* 08A1B4 800F0D04 A0A20001 */ sb $v0, 1($a1) -/* 08A1B8 800F0D08 A0A00002 */ sb $zero, 2($a1) -/* 08A1BC 800F0D0C 24A5001C */ addiu $a1, $a1, 0x1c -/* 08A1C0 800F0D10 24030001 */ addiu $v1, $zero, 1 -/* 08A1C4 800F0D14 44801000 */ mtc1 $zero, $f2 -.L800F0D18: -/* 08A1C8 800F0D18 44830000 */ mtc1 $v1, $f0 -/* 08A1CC 800F0D1C 00000000 */ nop -/* 08A1D0 800F0D20 46800020 */ cvt.s.w $f0, $f0 -/* 08A1D4 800F0D24 46000007 */ neg.s $f0, $f0 -/* 08A1D8 800F0D28 46020002 */ mul.s $f0, $f0, $f2 -/* 08A1DC 800F0D2C 00000000 */ nop -/* 08A1E0 800F0D30 24630001 */ addiu $v1, $v1, 1 -/* 08A1E4 800F0D34 4600018D */ trunc.w.s $f6, $f0 -/* 08A1E8 800F0D38 44023000 */ mfc1 $v0, $f6 -/* 08A1EC 800F0D3C 00000000 */ nop -/* 08A1F0 800F0D40 2442FFFF */ addiu $v0, $v0, -1 -/* 08A1F4 800F0D44 A0A20007 */ sb $v0, 7($a1) -/* 08A1F8 800F0D48 0066102A */ slt $v0, $v1, $a2 -/* 08A1FC 800F0D4C 1440FFF2 */ bnez $v0, .L800F0D18 -/* 08A200 800F0D50 24A5001C */ addiu $a1, $a1, 0x1c -.L800F0D54: -/* 08A204 800F0D54 03E00008 */ jr $ra -/* 08A208 800F0D58 00000000 */ nop - -func_800F0D5C: -/* 08A20C 800F0D5C 0000182D */ daddu $v1, $zero, $zero -/* 08A210 800F0D60 3C028011 */ lui $v0, 0x8011 -/* 08A214 800F0D64 2442D000 */ addiu $v0, $v0, -0x3000 -.L800F0D68: -/* 08A218 800F0D68 A0400000 */ sb $zero, ($v0) -/* 08A21C 800F0D6C 24630001 */ addiu $v1, $v1, 1 -/* 08A220 800F0D70 1860FFFD */ blez $v1, .L800F0D68 -/* 08A224 800F0D74 2442063C */ addiu $v0, $v0, 0x63c -/* 08A228 800F0D78 03E00008 */ jr $ra -/* 08A22C 800F0D7C 00000000 */ nop - -func_800F0D80: -/* 08A230 800F0D80 27BDFFA8 */ addiu $sp, $sp, -0x58 -/* 08A234 800F0D84 F7B60040 */ sdc1 $f22, 0x40($sp) -/* 08A238 800F0D88 3C018011 */ lui $at, 0x8011 -/* 08A23C 800F0D8C D436C310 */ ldc1 $f22, -0x3cf0($at) -/* 08A240 800F0D90 F7B40038 */ sdc1 $f20, 0x38($sp) -/* 08A244 800F0D94 3C018011 */ lui $at, 0x8011 -/* 08A248 800F0D98 D434C318 */ ldc1 $f20, -0x3ce8($at) -/* 08A24C 800F0D9C AFB40020 */ sw $s4, 0x20($sp) -/* 08A250 800F0DA0 0000A02D */ daddu $s4, $zero, $zero -/* 08A254 800F0DA4 AFBE0030 */ sw $fp, 0x30($sp) -/* 08A258 800F0DA8 3C1E8011 */ lui $fp, 0x8011 -/* 08A25C 800F0DAC 27DE9820 */ addiu $fp, $fp, -0x67e0 -/* 08A260 800F0DB0 AFB60028 */ sw $s6, 0x28($sp) -/* 08A264 800F0DB4 2416007F */ addiu $s6, $zero, 0x7f -/* 08A268 800F0DB8 AFB7002C */ sw $s7, 0x2c($sp) -/* 08A26C 800F0DBC 3C178011 */ lui $s7, 0x8011 -/* 08A270 800F0DC0 26F79800 */ addiu $s7, $s7, -0x6800 -/* 08A274 800F0DC4 AFB3001C */ sw $s3, 0x1c($sp) -/* 08A278 800F0DC8 0280982D */ daddu $s3, $s4, $zero -/* 08A27C 800F0DCC AFBF0034 */ sw $ra, 0x34($sp) -/* 08A280 800F0DD0 AFB50024 */ sw $s5, 0x24($sp) -/* 08A284 800F0DD4 AFB20018 */ sw $s2, 0x18($sp) -/* 08A288 800F0DD8 AFB10014 */ sw $s1, 0x14($sp) -/* 08A28C 800F0DDC AFB00010 */ sw $s0, 0x10($sp) -/* 08A290 800F0DE0 F7BA0050 */ sdc1 $f26, 0x50($sp) -/* 08A294 800F0DE4 F7B80048 */ sdc1 $f24, 0x48($sp) -.L800F0DE8: -/* 08A298 800F0DE8 3C058011 */ lui $a1, 0x8011 -/* 08A29C 800F0DEC 24A5D000 */ addiu $a1, $a1, -0x3000 -/* 08A2A0 800F0DF0 02651821 */ addu $v1, $s3, $a1 -/* 08A2A4 800F0DF4 90620000 */ lbu $v0, ($v1) -/* 08A2A8 800F0DF8 5040007A */ beql $v0, $zero, .L800F0FE4 -/* 08A2AC 800F0DFC 26940001 */ addiu $s4, $s4, 1 -/* 08A2B0 800F0E00 90620001 */ lbu $v0, 1($v1) -/* 08A2B4 800F0E04 2442FFFF */ addiu $v0, $v0, -1 -/* 08A2B8 800F0E08 A0620001 */ sb $v0, 1($v1) -/* 08A2BC 800F0E0C 90620002 */ lbu $v0, 2($v1) -/* 08A2C0 800F0E10 80640001 */ lb $a0, 1($v1) -/* 08A2C4 800F0E14 24420001 */ addiu $v0, $v0, 1 -/* 08A2C8 800F0E18 04810003 */ bgez $a0, .L800F0E28 -/* 08A2CC 800F0E1C A0620002 */ sb $v0, 2($v1) -/* 08A2D0 800F0E20 0803C3F8 */ j .L800F0FE0 -/* 08A2D4 800F0E24 A0600000 */ sb $zero, ($v1) - -.L800F0E28: -/* 08A2D8 800F0E28 0080A82D */ daddu $s5, $a0, $zero -/* 08A2DC 800F0E2C 24120001 */ addiu $s2, $zero, 1 -/* 08A2E0 800F0E30 24700034 */ addiu $s0, $v1, 0x34 -/* 08A2E4 800F0E34 0000882D */ daddu $s1, $zero, $zero -/* 08A2E8 800F0E38 C47A0008 */ lwc1 $f26, 8($v1) -/* 08A2EC 800F0E3C C478000C */ lwc1 $f24, 0xc($v1) -.L800F0E40: -/* 08A2F0 800F0E40 9202FFEF */ lbu $v0, -0x11($s0) -/* 08A2F4 800F0E44 24420001 */ addiu $v0, $v0, 1 -/* 08A2F8 800F0E48 A202FFEF */ sb $v0, -0x11($s0) -/* 08A2FC 800F0E4C 00021600 */ sll $v0, $v0, 0x18 -/* 08A300 800F0E50 00021603 */ sra $v0, $v0, 0x18 -/* 08A304 800F0E54 2842001E */ slti $v0, $v0, 0x1e -/* 08A308 800F0E58 14400006 */ bnez $v0, .L800F0E74 -/* 08A30C 800F0E5C 2AA2001E */ slti $v0, $s5, 0x1e -/* 08A310 800F0E60 10400003 */ beqz $v0, .L800F0E70 -/* 08A314 800F0E64 2402FFE1 */ addiu $v0, $zero, -0x1f -/* 08A318 800F0E68 0803C39D */ j .L800F0E74 -/* 08A31C 800F0E6C A202FFEF */ sb $v0, -0x11($s0) - -.L800F0E70: -/* 08A320 800F0E70 A200FFEF */ sb $zero, -0x11($s0) -.L800F0E74: -/* 08A324 800F0E74 8202FFEF */ lb $v0, -0x11($s0) -/* 08A328 800F0E78 04420055 */ bltzl $v0, .L800F0FD0 -/* 08A32C 800F0E7C 26310002 */ addiu $s1, $s1, 2 -/* 08A330 800F0E80 14400031 */ bnez $v0, .L800F0F48 -/* 08A334 800F0E84 023E1821 */ addu $v1, $s1, $fp -/* 08A338 800F0E88 80620000 */ lb $v0, ($v1) -/* 08A33C 800F0E8C 44821000 */ mtc1 $v0, $f2 -/* 08A340 800F0E90 00000000 */ nop -/* 08A344 800F0E94 468010A0 */ cvt.s.w $f2, $f2 -/* 08A348 800F0E98 460010A1 */ cvt.d.s $f2, $f2 -/* 08A34C 800F0E9C 46361082 */ mul.d $f2, $f2, $f22 -/* 08A350 800F0EA0 00000000 */ nop -/* 08A354 800F0EA4 80620001 */ lb $v0, 1($v1) -/* 08A358 800F0EA8 44820000 */ mtc1 $v0, $f0 -/* 08A35C 800F0EAC 00000000 */ nop -/* 08A360 800F0EB0 46800020 */ cvt.s.w $f0, $f0 -/* 08A364 800F0EB4 46000007 */ neg.s $f0, $f0 -/* 08A368 800F0EB8 46000021 */ cvt.d.s $f0, $f0 -/* 08A36C 800F0EBC 46360002 */ mul.d $f0, $f0, $f22 -/* 08A370 800F0EC0 00000000 */ nop -/* 08A374 800F0EC4 3C013F80 */ lui $at, 0x3f80 -/* 08A378 800F0EC8 44812000 */ mtc1 $at, $f4 -/* 08A37C 800F0ECC 2404007F */ addiu $a0, $zero, 0x7f -/* 08A380 800F0ED0 E61AFFF0 */ swc1 $f26, -0x10($s0) -/* 08A384 800F0ED4 E618FFF4 */ swc1 $f24, -0xc($s0) -/* 08A388 800F0ED8 E6040000 */ swc1 $f4, ($s0) -/* 08A38C 800F0EDC 462010A0 */ cvt.s.d $f2, $f2 -/* 08A390 800F0EE0 E602FFF8 */ swc1 $f2, -8($s0) -/* 08A394 800F0EE4 46200020 */ cvt.s.d $f0, $f0 -/* 08A398 800F0EE8 0C00A67F */ jal rand_int -/* 08A39C 800F0EEC E600FFFC */ swc1 $f0, -4($s0) -/* 08A3A0 800F0EF0 A202FFEB */ sb $v0, -0x15($s0) -/* 08A3A4 800F0EF4 304400FF */ andi $a0, $v0, 0xff -/* 08A3A8 800F0EF8 0C00A67F */ jal rand_int -/* 08A3AC 800F0EFC 02C42023 */ subu $a0, $s6, $a0 -/* 08A3B0 800F0F00 A202FFEC */ sb $v0, -0x14($s0) -/* 08A3B4 800F0F04 304400FF */ andi $a0, $v0, 0xff -/* 08A3B8 800F0F08 9202FFEB */ lbu $v0, -0x15($s0) -/* 08A3BC 800F0F0C 02C42023 */ subu $a0, $s6, $a0 -/* 08A3C0 800F0F10 0C00A67F */ jal rand_int -/* 08A3C4 800F0F14 00822023 */ subu $a0, $a0, $v0 -/* 08A3C8 800F0F18 9203FFEB */ lbu $v1, -0x15($s0) -/* 08A3CC 800F0F1C A202FFED */ sb $v0, -0x13($s0) -/* 08A3D0 800F0F20 240200FF */ addiu $v0, $zero, 0xff -/* 08A3D4 800F0F24 A202FFEE */ sb $v0, -0x12($s0) -/* 08A3D8 800F0F28 9202FFEC */ lbu $v0, -0x14($s0) -/* 08A3DC 800F0F2C 24630080 */ addiu $v1, $v1, 0x80 -/* 08A3E0 800F0F30 A203FFEB */ sb $v1, -0x15($s0) -/* 08A3E4 800F0F34 9203FFED */ lbu $v1, -0x13($s0) -/* 08A3E8 800F0F38 24420080 */ addiu $v0, $v0, 0x80 -/* 08A3EC 800F0F3C A202FFEC */ sb $v0, -0x14($s0) -/* 08A3F0 800F0F40 24630080 */ addiu $v1, $v1, 0x80 -/* 08A3F4 800F0F44 A203FFED */ sb $v1, -0x13($s0) -.L800F0F48: -/* 08A3F8 800F0F48 C600FFF8 */ lwc1 $f0, -8($s0) -/* 08A3FC 800F0F4C 46000021 */ cvt.d.s $f0, $f0 -/* 08A400 800F0F50 46340002 */ mul.d $f0, $f0, $f20 -/* 08A404 800F0F54 00000000 */ nop -/* 08A408 800F0F58 C602FFFC */ lwc1 $f2, -4($s0) -/* 08A40C 800F0F5C 460010A1 */ cvt.d.s $f2, $f2 -/* 08A410 800F0F60 46341082 */ mul.d $f2, $f2, $f20 -/* 08A414 800F0F64 00000000 */ nop -/* 08A418 800F0F68 C608FFF0 */ lwc1 $f8, -0x10($s0) -/* 08A41C 800F0F6C C604FFF8 */ lwc1 $f4, -8($s0) -/* 08A420 800F0F70 C606FFF4 */ lwc1 $f6, -0xc($s0) -/* 08A424 800F0F74 46044200 */ add.s $f8, $f8, $f4 -/* 08A428 800F0F78 C604FFFC */ lwc1 $f4, -4($s0) -/* 08A42C 800F0F7C 8202FFEF */ lb $v0, -0x11($s0) -/* 08A430 800F0F80 46043180 */ add.s $f6, $f6, $f4 -/* 08A434 800F0F84 00571021 */ addu $v0, $v0, $s7 -/* 08A438 800F0F88 E608FFF0 */ swc1 $f8, -0x10($s0) -/* 08A43C 800F0F8C E606FFF4 */ swc1 $f6, -0xc($s0) -/* 08A440 800F0F90 46200020 */ cvt.s.d $f0, $f0 -/* 08A444 800F0F94 462010A0 */ cvt.s.d $f2, $f2 -/* 08A448 800F0F98 E600FFF8 */ swc1 $f0, -8($s0) -/* 08A44C 800F0F9C E602FFFC */ swc1 $f2, -4($s0) -/* 08A450 800F0FA0 90420000 */ lbu $v0, ($v0) -/* 08A454 800F0FA4 3C018011 */ lui $at, 0x8011 -/* 08A458 800F0FA8 D422C320 */ ldc1 $f2, -0x3ce0($at) -/* 08A45C 800F0FAC 44820000 */ mtc1 $v0, $f0 -/* 08A460 800F0FB0 00000000 */ nop -/* 08A464 800F0FB4 46800020 */ cvt.s.w $f0, $f0 -/* 08A468 800F0FB8 46000021 */ cvt.d.s $f0, $f0 -/* 08A46C 800F0FBC 46220002 */ mul.d $f0, $f0, $f2 -/* 08A470 800F0FC0 00000000 */ nop -/* 08A474 800F0FC4 46200020 */ cvt.s.d $f0, $f0 -/* 08A478 800F0FC8 E6000000 */ swc1 $f0, ($s0) -/* 08A47C 800F0FCC 26310002 */ addiu $s1, $s1, 2 -.L800F0FD0: -/* 08A480 800F0FD0 26520001 */ addiu $s2, $s2, 1 -/* 08A484 800F0FD4 2A420039 */ slti $v0, $s2, 0x39 -/* 08A488 800F0FD8 1440FF99 */ bnez $v0, .L800F0E40 -/* 08A48C 800F0FDC 2610001C */ addiu $s0, $s0, 0x1c -.L800F0FE0: -/* 08A490 800F0FE0 26940001 */ addiu $s4, $s4, 1 -.L800F0FE4: -/* 08A494 800F0FE4 1A80FF80 */ blez $s4, .L800F0DE8 -/* 08A498 800F0FE8 2673063C */ addiu $s3, $s3, 0x63c -/* 08A49C 800F0FEC 8FBF0034 */ lw $ra, 0x34($sp) -/* 08A4A0 800F0FF0 8FBE0030 */ lw $fp, 0x30($sp) -/* 08A4A4 800F0FF4 8FB7002C */ lw $s7, 0x2c($sp) -/* 08A4A8 800F0FF8 8FB60028 */ lw $s6, 0x28($sp) -/* 08A4AC 800F0FFC 8FB50024 */ lw $s5, 0x24($sp) -/* 08A4B0 800F1000 8FB40020 */ lw $s4, 0x20($sp) -/* 08A4B4 800F1004 8FB3001C */ lw $s3, 0x1c($sp) -/* 08A4B8 800F1008 8FB20018 */ lw $s2, 0x18($sp) -/* 08A4BC 800F100C 8FB10014 */ lw $s1, 0x14($sp) -/* 08A4C0 800F1010 8FB00010 */ lw $s0, 0x10($sp) -/* 08A4C4 800F1014 D7BA0050 */ ldc1 $f26, 0x50($sp) -/* 08A4C8 800F1018 D7B80048 */ ldc1 $f24, 0x48($sp) -/* 08A4CC 800F101C D7B60040 */ ldc1 $f22, 0x40($sp) -/* 08A4D0 800F1020 D7B40038 */ ldc1 $f20, 0x38($sp) -/* 08A4D4 800F1024 03E00008 */ jr $ra -/* 08A4D8 800F1028 27BD0058 */ addiu $sp, $sp, 0x58 - -func_800F102C: -/* 08A4DC 800F102C 27BDFF28 */ addiu $sp, $sp, -0xd8 -/* 08A4E0 800F1030 3C090050 */ lui $t1, 0x50 -/* 08A4E4 800F1034 352903C0 */ ori $t1, $t1, 0x3c0 -/* 08A4E8 800F1038 3C0ADC08 */ lui $t2, 0xdc08 -/* 08A4EC 800F103C 354A0008 */ ori $t2, $t2, 8 -/* 08A4F0 800F1040 27A40020 */ addiu $a0, $sp, 0x20 -/* 08A4F4 800F1044 AFB100A4 */ sw $s1, 0xa4($sp) -/* 08A4F8 800F1048 3C110001 */ lui $s1, 1 -/* 08A4FC 800F104C 36311630 */ ori $s1, $s1, 0x1630 -/* 08A500 800F1050 AFB700BC */ sw $s7, 0xbc($sp) -/* 08A504 800F1054 0000B82D */ daddu $s7, $zero, $zero -/* 08A508 800F1058 AFB600B8 */ sw $s6, 0xb8($sp) -/* 08A50C 800F105C 27B60060 */ addiu $s6, $sp, 0x60 -/* 08A510 800F1060 3C02800A */ lui $v0, 0x800a -/* 08A514 800F1064 2442A674 */ addiu $v0, $v0, -0x598c -/* 08A518 800F1068 AFBE00C0 */ sw $fp, 0xc0($sp) -/* 08A51C 800F106C 0040F02D */ daddu $fp, $v0, $zero -/* 08A520 800F1070 3C028007 */ lui $v0, 0x8007 -/* 08A524 800F1074 244241F0 */ addiu $v0, $v0, 0x41f0 -/* 08A528 800F1078 AFB300AC */ sw $s3, 0xac($sp) -/* 08A52C 800F107C 0040982D */ daddu $s3, $v0, $zero -/* 08A530 800F1080 AFB500B4 */ sw $s5, 0xb4($sp) -/* 08A534 800F1084 3C150001 */ lui $s5, 1 -/* 08A538 800F1088 36B51630 */ ori $s5, $s5, 0x1630 -/* 08A53C 800F108C AFB400B0 */ sw $s4, 0xb0($sp) -/* 08A540 800F1090 02E0A02D */ daddu $s4, $s7, $zero -/* 08A544 800F1094 AFB000A0 */ sw $s0, 0xa0($sp) -/* 08A548 800F1098 3C10800A */ lui $s0, 0x800a -/* 08A54C 800F109C 2610A66C */ addiu $s0, $s0, -0x5994 -/* 08A550 800F10A0 3C02E700 */ lui $v0, 0xe700 -/* 08A554 800F10A4 AFBF00C4 */ sw $ra, 0xc4($sp) -/* 08A558 800F10A8 AFB200A8 */ sw $s2, 0xa8($sp) -/* 08A55C 800F10AC F7B600D0 */ sdc1 $f22, 0xd0($sp) -/* 08A560 800F10B0 F7B400C8 */ sdc1 $f20, 0xc8($sp) -/* 08A564 800F10B4 8E030000 */ lw $v1, ($s0) -/* 08A568 800F10B8 3C0643A0 */ lui $a2, 0x43a0 -/* 08A56C 800F10BC 3C074370 */ lui $a3, 0x4370 -/* 08A570 800F10C0 44800000 */ mtc1 $zero, $f0 -/* 08A574 800F10C4 3C0142C8 */ lui $at, 0x42c8 -/* 08A578 800F10C8 44811000 */ mtc1 $at, $f2 -/* 08A57C 800F10CC 3C013F80 */ lui $at, 0x3f80 -/* 08A580 800F10D0 44812000 */ mtc1 $at, $f4 -/* 08A584 800F10D4 0060402D */ daddu $t0, $v1, $zero -/* 08A588 800F10D8 44050000 */ mfc1 $a1, $f0 -/* 08A58C 800F10DC 3C01C2C8 */ lui $at, 0xc2c8 -/* 08A590 800F10E0 44810000 */ mtc1 $at, $f0 -/* 08A594 800F10E4 24630008 */ addiu $v1, $v1, 8 -/* 08A598 800F10E8 AE030000 */ sw $v1, ($s0) -/* 08A59C 800F10EC AD020000 */ sw $v0, ($t0) -/* 08A5A0 800F10F0 24620008 */ addiu $v0, $v1, 8 -/* 08A5A4 800F10F4 AD000004 */ sw $zero, 4($t0) -/* 08A5A8 800F10F8 AE020000 */ sw $v0, ($s0) -/* 08A5AC 800F10FC 3C02DB06 */ lui $v0, 0xdb06 -/* 08A5B0 800F1100 AC620000 */ sw $v0, ($v1) -/* 08A5B4 800F1104 24620010 */ addiu $v0, $v1, 0x10 -/* 08A5B8 800F1108 AC600004 */ sw $zero, 4($v1) -/* 08A5BC 800F110C AE020000 */ sw $v0, ($s0) -/* 08A5C0 800F1110 3C02ED00 */ lui $v0, 0xed00 -/* 08A5C4 800F1114 AC620008 */ sw $v0, 8($v1) -/* 08A5C8 800F1118 24620018 */ addiu $v0, $v1, 0x18 -/* 08A5CC 800F111C AC69000C */ sw $t1, 0xc($v1) -/* 08A5D0 800F1120 AE020000 */ sw $v0, ($s0) -/* 08A5D4 800F1124 4485B000 */ mtc1 $a1, $f22 -/* 08A5D8 800F1128 3C028011 */ lui $v0, 0x8011 -/* 08A5DC 800F112C 244296B0 */ addiu $v0, $v0, -0x6950 -/* 08A5E0 800F1130 AC6A0010 */ sw $t2, 0x10($v1) -/* 08A5E4 800F1134 AC620014 */ sw $v0, 0x14($v1) -/* 08A5E8 800F1138 E7A20018 */ swc1 $f2, 0x18($sp) -/* 08A5EC 800F113C E7A4001C */ swc1 $f4, 0x1c($sp) -/* 08A5F0 800F1140 AFA50010 */ sw $a1, 0x10($sp) -/* 08A5F4 800F1144 0C018E44 */ jal guOrthoF -/* 08A5F8 800F1148 E7A00014 */ swc1 $f0, 0x14($sp) -/* 08A5FC 800F114C 27A40020 */ addiu $a0, $sp, 0x20 -/* 08A600 800F1150 96650000 */ lhu $a1, ($s3) -/* 08A604 800F1154 8FC20000 */ lw $v0, ($fp) -/* 08A608 800F1158 00052980 */ sll $a1, $a1, 6 -/* 08A60C 800F115C 00B12821 */ addu $a1, $a1, $s1 -/* 08A610 800F1160 0C019D40 */ jal guMtxF2L -/* 08A614 800F1164 00452821 */ addu $a1, $v0, $a1 -/* 08A618 800F1168 3C03DA38 */ lui $v1, 0xda38 -/* 08A61C 800F116C 34630007 */ ori $v1, $v1, 7 -/* 08A620 800F1170 3C067F7F */ lui $a2, 0x7f7f -/* 08A624 800F1174 34C67F7F */ ori $a2, $a2, 0x7f7f -/* 08A628 800F1178 8E040000 */ lw $a0, ($s0) -/* 08A62C 800F117C 96620000 */ lhu $v0, ($s3) -/* 08A630 800F1180 0080282D */ daddu $a1, $a0, $zero -/* 08A634 800F1184 24840008 */ addiu $a0, $a0, 8 -/* 08A638 800F1188 AE040000 */ sw $a0, ($s0) -/* 08A63C 800F118C ACA30000 */ sw $v1, ($a1) -/* 08A640 800F1190 24430001 */ addiu $v1, $v0, 1 -/* 08A644 800F1194 3042FFFF */ andi $v0, $v0, 0xffff -/* 08A648 800F1198 00021180 */ sll $v0, $v0, 6 -/* 08A64C 800F119C A6630000 */ sh $v1, ($s3) -/* 08A650 800F11A0 8FC30000 */ lw $v1, ($fp) -/* 08A654 800F11A4 00511021 */ addu $v0, $v0, $s1 -/* 08A658 800F11A8 00621821 */ addu $v1, $v1, $v0 -/* 08A65C 800F11AC 24820008 */ addiu $v0, $a0, 8 -/* 08A660 800F11B0 ACA30004 */ sw $v1, 4($a1) -/* 08A664 800F11B4 AE020000 */ sw $v0, ($s0) -/* 08A668 800F11B8 3C02DE00 */ lui $v0, 0xde00 -/* 08A66C 800F11BC AC820000 */ sw $v0, ($a0) -/* 08A670 800F11C0 3C028011 */ lui $v0, 0x8011 -/* 08A674 800F11C4 24429710 */ addiu $v0, $v0, -0x68f0 -/* 08A678 800F11C8 AC820004 */ sw $v0, 4($a0) -/* 08A67C 800F11CC 24820010 */ addiu $v0, $a0, 0x10 -/* 08A680 800F11D0 AE020000 */ sw $v0, ($s0) -/* 08A684 800F11D4 3C02FB00 */ lui $v0, 0xfb00 -/* 08A688 800F11D8 AC820008 */ sw $v0, 8($a0) -/* 08A68C 800F11DC AC86000C */ sw $a2, 0xc($a0) -.L800F11E0: -/* 08A690 800F11E0 3C0B8011 */ lui $t3, 0x8011 -/* 08A694 800F11E4 256BD000 */ addiu $t3, $t3, -0x3000 -/* 08A698 800F11E8 028B1821 */ addu $v1, $s4, $t3 -/* 08A69C 800F11EC 90620000 */ lbu $v0, ($v1) -/* 08A6A0 800F11F0 5040005C */ beql $v0, $zero, .L800F1364 -/* 08A6A4 800F11F4 26F70001 */ addiu $s7, $s7, 1 -/* 08A6A8 800F11F8 C4740018 */ lwc1 $f20, 0x18($v1) -/* 08A6AC 800F11FC 24120001 */ addiu $s2, $zero, 1 -/* 08A6B0 800F1200 3C11800A */ lui $s1, 0x800a -/* 08A6B4 800F1204 2631A66C */ addiu $s1, $s1, -0x5994 -/* 08A6B8 800F1208 24700022 */ addiu $s0, $v1, 0x22 -.L800F120C: -/* 08A6BC 800F120C 82020001 */ lb $v0, 1($s0) -/* 08A6C0 800F1210 0440004F */ bltz $v0, .L800F1350 -/* 08A6C4 800F1214 02C0202D */ daddu $a0, $s6, $zero -/* 08A6C8 800F1218 C6000012 */ lwc1 $f0, 0x12($s0) -/* 08A6CC 800F121C 4405B000 */ mfc1 $a1, $f22 -/* 08A6D0 800F1220 3C028007 */ lui $v0, 0x8007 -/* 08A6D4 800F1224 8C42419C */ lw $v0, 0x419c($v0) -/* 08A6D8 800F1228 4406B000 */ mfc1 $a2, $f22 -/* 08A6DC 800F122C 94430134 */ lhu $v1, 0x134($v0) -/* 08A6E0 800F1230 46140002 */ mul.s $f0, $f0, $f20 -/* 08A6E4 800F1234 00000000 */ nop -/* 08A6E8 800F1238 00031080 */ sll $v0, $v1, 2 -/* 08A6EC 800F123C 00431021 */ addu $v0, $v0, $v1 -/* 08A6F0 800F1240 00021040 */ sll $v0, $v0, 1 -/* 08A6F4 800F1244 44823000 */ mtc1 $v0, $f6 -/* 08A6F8 800F1248 00000000 */ nop -/* 08A6FC 800F124C 468031A0 */ cvt.s.w $f6, $f6 -/* 08A700 800F1250 44073000 */ mfc1 $a3, $f6 -/* 08A704 800F1254 E7A00010 */ swc1 $f0, 0x10($sp) -/* 08A708 800F1258 C6000002 */ lwc1 $f0, 2($s0) -/* 08A70C 800F125C E7A00014 */ swc1 $f0, 0x14($sp) -/* 08A710 800F1260 C6000006 */ lwc1 $f0, 6($s0) -/* 08A714 800F1264 E7B6001C */ swc1 $f22, 0x1c($sp) -/* 08A718 800F1268 0C018FC4 */ jal guPositionF -/* 08A71C 800F126C E7A00018 */ swc1 $f0, 0x18($sp) -/* 08A720 800F1270 02C0202D */ daddu $a0, $s6, $zero -/* 08A724 800F1274 96650000 */ lhu $a1, ($s3) -/* 08A728 800F1278 8FC20000 */ lw $v0, ($fp) -/* 08A72C 800F127C 00052980 */ sll $a1, $a1, 6 -/* 08A730 800F1280 00B52821 */ addu $a1, $a1, $s5 -/* 08A734 800F1284 0C019D40 */ jal guMtxF2L -/* 08A738 800F1288 00452821 */ addu $a1, $v0, $a1 -/* 08A73C 800F128C 3C08D838 */ lui $t0, 0xd838 -/* 08A740 800F1290 8E240000 */ lw $a0, ($s1) -/* 08A744 800F1294 35080002 */ ori $t0, $t0, 2 -/* 08A748 800F1298 0080282D */ daddu $a1, $a0, $zero -/* 08A74C 800F129C 24840008 */ addiu $a0, $a0, 8 -/* 08A750 800F12A0 AE240000 */ sw $a0, ($s1) -/* 08A754 800F12A4 96620000 */ lhu $v0, ($s3) -/* 08A758 800F12A8 3C03DA38 */ lui $v1, 0xda38 -/* 08A75C 800F12AC ACA30000 */ sw $v1, ($a1) -/* 08A760 800F12B0 24430001 */ addiu $v1, $v0, 1 -/* 08A764 800F12B4 3042FFFF */ andi $v0, $v0, 0xffff -/* 08A768 800F12B8 00021180 */ sll $v0, $v0, 6 -/* 08A76C 800F12BC A6630000 */ sh $v1, ($s3) -/* 08A770 800F12C0 8FC30000 */ lw $v1, ($fp) -/* 08A774 800F12C4 00551021 */ addu $v0, $v0, $s5 -/* 08A778 800F12C8 00621821 */ addu $v1, $v1, $v0 -/* 08A77C 800F12CC 24820008 */ addiu $v0, $a0, 8 -/* 08A780 800F12D0 ACA30004 */ sw $v1, 4($a1) -/* 08A784 800F12D4 AE220000 */ sw $v0, ($s1) -/* 08A788 800F12D8 82030001 */ lb $v1, 1($s0) -/* 08A78C 800F12DC 24020050 */ addiu $v0, $zero, 0x50 -/* 08A790 800F12E0 00431023 */ subu $v0, $v0, $v1 -/* 08A794 800F12E4 304200FF */ andi $v0, $v0, 0xff -/* 08A798 800F12E8 3C03FA00 */ lui $v1, 0xfa00 -/* 08A79C 800F12EC 00431025 */ or $v0, $v0, $v1 -/* 08A7A0 800F12F0 AC820000 */ sw $v0, ($a0) -/* 08A7A4 800F12F4 9203FFFD */ lbu $v1, -3($s0) -/* 08A7A8 800F12F8 9205FFFE */ lbu $a1, -2($s0) -/* 08A7AC 800F12FC 9206FFFF */ lbu $a2, -1($s0) -/* 08A7B0 800F1300 92070000 */ lbu $a3, ($s0) -/* 08A7B4 800F1304 24820010 */ addiu $v0, $a0, 0x10 -/* 08A7B8 800F1308 AE220000 */ sw $v0, ($s1) -/* 08A7BC 800F130C 3C02DE00 */ lui $v0, 0xde00 -/* 08A7C0 800F1310 AC820008 */ sw $v0, 8($a0) -/* 08A7C4 800F1314 3C028011 */ lui $v0, 0x8011 -/* 08A7C8 800F1318 244297D8 */ addiu $v0, $v0, -0x6828 -/* 08A7CC 800F131C AC82000C */ sw $v0, 0xc($a0) -/* 08A7D0 800F1320 24820018 */ addiu $v0, $a0, 0x18 -/* 08A7D4 800F1324 AE220000 */ sw $v0, ($s1) -/* 08A7D8 800F1328 24020040 */ addiu $v0, $zero, 0x40 -/* 08A7DC 800F132C AC880010 */ sw $t0, 0x10($a0) -/* 08A7E0 800F1330 AC820014 */ sw $v0, 0x14($a0) -/* 08A7E4 800F1334 00031E00 */ sll $v1, $v1, 0x18 -/* 08A7E8 800F1338 00052C00 */ sll $a1, $a1, 0x10 -/* 08A7EC 800F133C 00651825 */ or $v1, $v1, $a1 -/* 08A7F0 800F1340 00063200 */ sll $a2, $a2, 8 -/* 08A7F4 800F1344 00661825 */ or $v1, $v1, $a2 -/* 08A7F8 800F1348 00671825 */ or $v1, $v1, $a3 -/* 08A7FC 800F134C AC830004 */ sw $v1, 4($a0) -.L800F1350: -/* 08A800 800F1350 26520001 */ addiu $s2, $s2, 1 -/* 08A804 800F1354 2A420039 */ slti $v0, $s2, 0x39 -/* 08A808 800F1358 1440FFAC */ bnez $v0, .L800F120C -/* 08A80C 800F135C 2610001C */ addiu $s0, $s0, 0x1c -/* 08A810 800F1360 26F70001 */ addiu $s7, $s7, 1 -.L800F1364: -/* 08A814 800F1364 1AE0FF9E */ blez $s7, .L800F11E0 -/* 08A818 800F1368 2694063C */ addiu $s4, $s4, 0x63c -/* 08A81C 800F136C 8FBF00C4 */ lw $ra, 0xc4($sp) -/* 08A820 800F1370 8FBE00C0 */ lw $fp, 0xc0($sp) -/* 08A824 800F1374 8FB700BC */ lw $s7, 0xbc($sp) -/* 08A828 800F1378 8FB600B8 */ lw $s6, 0xb8($sp) -/* 08A82C 800F137C 8FB500B4 */ lw $s5, 0xb4($sp) -/* 08A830 800F1380 8FB400B0 */ lw $s4, 0xb0($sp) -/* 08A834 800F1384 8FB300AC */ lw $s3, 0xac($sp) -/* 08A838 800F1388 8FB200A8 */ lw $s2, 0xa8($sp) -/* 08A83C 800F138C 8FB100A4 */ lw $s1, 0xa4($sp) -/* 08A840 800F1390 8FB000A0 */ lw $s0, 0xa0($sp) -/* 08A844 800F1394 D7B600D0 */ ldc1 $f22, 0xd0($sp) -/* 08A848 800F1398 D7B400C8 */ ldc1 $f20, 0xc8($sp) -/* 08A84C 800F139C 03E00008 */ jr $ra -/* 08A850 800F13A0 27BD00D8 */ addiu $sp, $sp, 0xd8 - -/* 08A854 800F13A4 00000000 */ nop -/* 08A858 800F13A8 00000000 */ nop -/* 08A85C 800F13AC 00000000 */ nop -func_800F13B0: -/* 08A860 800F13B0 3C028011 */ lui $v0, 0x8011 -/* 08A864 800F13B4 8042D68E */ lb $v0, -0x2972($v0) -/* 08A868 800F13B8 27BDFFE0 */ addiu $sp, $sp, -0x20 -/* 08A86C 800F13BC AFBF0018 */ sw $ra, 0x18($sp) -/* 08A870 800F13C0 AFB10014 */ sw $s1, 0x14($sp) -/* 08A874 800F13C4 1040001A */ beqz $v0, .L800F1430 -/* 08A878 800F13C8 AFB00010 */ sw $s0, 0x10($sp) -/* 08A87C 800F13CC 3C028011 */ lui $v0, 0x8011 -/* 08A880 800F13D0 8C42D69C */ lw $v0, -0x2964($v0) -/* 08A884 800F13D4 8C430318 */ lw $v1, 0x318($v0) -/* 08A888 800F13D8 2C62000E */ sltiu $v0, $v1, 0xe -/* 08A88C 800F13DC 10400012 */ beqz $v0, .L800F1428 -/* 08A890 800F13E0 00031080 */ sll $v0, $v1, 2 -/* 08A894 800F13E4 3C018011 */ lui $at, 0x8011 -/* 08A898 800F13E8 00220821 */ addu $at, $at, $v0 -/* 08A89C 800F13EC 8C22C330 */ lw $v0, -0x3cd0($at) -/* 08A8A0 800F13F0 00400008 */ jr $v0 -/* 08A8A4 800F13F4 00000000 */ nop -/* 08A8A8 800F13F8 2404000E */ addiu $a0, $zero, 0xe -/* 08A8AC 800F13FC 3C108014 */ lui $s0, 0x8014 -/* 08A8B0 800F1400 26107574 */ addiu $s0, $s0, 0x7574 -/* 08A8B4 800F1404 0C051F9F */ jal func_80147E7C -/* 08A8B8 800F1408 0200282D */ daddu $a1, $s0, $zero -/* 08A8BC 800F140C 0803C506 */ j .L800F1418 -/* 08A8C0 800F1410 24040013 */ addiu $a0, $zero, 0x13 - -/* 08A8C4 800F1414 2404000E */ addiu $a0, $zero, 0xe -.L800F1418: -/* 08A8C8 800F1418 3C058014 */ lui $a1, 0x8014 -/* 08A8CC 800F141C 24A57574 */ addiu $a1, $a1, 0x7574 -/* 08A8D0 800F1420 0C051F9F */ jal func_80147E7C -/* 08A8D4 800F1424 00000000 */ nop -.L800F1428: -/* 08A8D8 800F1428 0803C51D */ j .L800F1474 -/* 08A8DC 800F142C 24040015 */ addiu $a0, $zero, 0x15 - -.L800F1430: -/* 08A8E0 800F1430 3C028011 */ lui $v0, 0x8011 -/* 08A8E4 800F1434 8C42D69C */ lw $v0, -0x2964($v0) -/* 08A8E8 800F1438 8C430318 */ lw $v1, 0x318($v0) -/* 08A8EC 800F143C 2C62000E */ sltiu $v0, $v1, 0xe -/* 08A8F0 800F1440 1040000E */ beqz $v0, .L800F147C -/* 08A8F4 800F1444 00031080 */ sll $v0, $v1, 2 -/* 08A8F8 800F1448 3C018011 */ lui $at, 0x8011 -/* 08A8FC 800F144C 00220821 */ addu $at, $at, $v0 -/* 08A900 800F1450 8C22C368 */ lw $v0, -0x3c98($at) -/* 08A904 800F1454 00400008 */ jr $v0 -/* 08A908 800F1458 00000000 */ nop -/* 08A90C 800F145C 2404000E */ addiu $a0, $zero, 0xe -/* 08A910 800F1460 0C051F9F */ jal func_80147E7C -/* 08A914 800F1464 24050002 */ addiu $a1, $zero, 2 -/* 08A918 800F1468 0803C51D */ j .L800F1474 -/* 08A91C 800F146C 24040013 */ addiu $a0, $zero, 0x13 - -/* 08A920 800F1470 2404000E */ addiu $a0, $zero, 0xe -.L800F1474: -/* 08A924 800F1474 0C051F9F */ jal func_80147E7C -/* 08A928 800F1478 24050002 */ addiu $a1, $zero, 2 -.L800F147C: -/* 08A92C 800F147C 3C118011 */ lui $s1, 0x8011 -/* 08A930 800F1480 2631D69C */ addiu $s1, $s1, -0x2964 -/* 08A934 800F1484 8E220000 */ lw $v0, ($s1) -/* 08A938 800F1488 8C430318 */ lw $v1, 0x318($v0) -/* 08A93C 800F148C 24020003 */ addiu $v0, $zero, 3 -/* 08A940 800F1490 14620008 */ bne $v1, $v0, .L800F14B4 -/* 08A944 800F1494 24040010 */ addiu $a0, $zero, 0x10 -/* 08A948 800F1498 3C108014 */ lui $s0, 0x8014 -/* 08A94C 800F149C 26107574 */ addiu $s0, $s0, 0x7574 -/* 08A950 800F14A0 0C051F9F */ jal func_80147E7C -/* 08A954 800F14A4 0200282D */ daddu $a1, $s0, $zero -/* 08A958 800F14A8 24040014 */ addiu $a0, $zero, 0x14 -/* 08A95C 800F14AC 0C051F9F */ jal func_80147E7C -/* 08A960 800F14B0 0200282D */ daddu $a1, $s0, $zero -.L800F14B4: -/* 08A964 800F14B4 8E220000 */ lw $v0, ($s1) -/* 08A968 800F14B8 8C430318 */ lw $v1, 0x318($v0) -/* 08A96C 800F14BC 24020004 */ addiu $v0, $zero, 4 -/* 08A970 800F14C0 14620005 */ bne $v1, $v0, .L800F14D8 -/* 08A974 800F14C4 00000000 */ nop -/* 08A978 800F14C8 3C058014 */ lui $a1, 0x8014 -/* 08A97C 800F14CC 24A57574 */ addiu $a1, $a1, 0x7574 -/* 08A980 800F14D0 0C051F9F */ jal func_80147E7C -/* 08A984 800F14D4 24040012 */ addiu $a0, $zero, 0x12 -.L800F14D8: -/* 08A988 800F14D8 8E220000 */ lw $v0, ($s1) -/* 08A98C 800F14DC 8C430318 */ lw $v1, 0x318($v0) -/* 08A990 800F14E0 24020005 */ addiu $v0, $zero, 5 -/* 08A994 800F14E4 14620008 */ bne $v1, $v0, .L800F1508 -/* 08A998 800F14E8 24040010 */ addiu $a0, $zero, 0x10 -/* 08A99C 800F14EC 3C108014 */ lui $s0, 0x8014 -/* 08A9A0 800F14F0 26107574 */ addiu $s0, $s0, 0x7574 -/* 08A9A4 800F14F4 0C051F9F */ jal func_80147E7C -/* 08A9A8 800F14F8 0200282D */ daddu $a1, $s0, $zero -/* 08A9AC 800F14FC 24040014 */ addiu $a0, $zero, 0x14 -/* 08A9B0 800F1500 0C051F9F */ jal func_80147E7C -/* 08A9B4 800F1504 0200282D */ daddu $a1, $s0, $zero -.L800F1508: -/* 08A9B8 800F1508 3C038011 */ lui $v1, 0x8011 -/* 08A9BC 800F150C 8063D692 */ lb $v1, -0x296e($v1) -/* 08A9C0 800F1510 8FBF0018 */ lw $ra, 0x18($sp) -/* 08A9C4 800F1514 8FB10014 */ lw $s1, 0x14($sp) -/* 08A9C8 800F1518 8FB00010 */ lw $s0, 0x10($sp) -/* 08A9CC 800F151C 2402000A */ addiu $v0, $zero, 0xa -/* 08A9D0 800F1520 3C018011 */ lui $at, 0x8011 -/* 08A9D4 800F1524 AC22D640 */ sw $v0, -0x29c0($at) -/* 08A9D8 800F1528 3C018011 */ lui $at, 0x8011 -/* 08A9DC 800F152C AC23D644 */ sw $v1, -0x29bc($at) -/* 08A9E0 800F1530 03E00008 */ jr $ra -/* 08A9E4 800F1534 27BD0020 */ addiu $sp, $sp, 0x20 - -func_800F1538: -/* 08A9E8 800F1538 3C048011 */ lui $a0, 0x8011 -/* 08A9EC 800F153C 8C84D65C */ lw $a0, -0x29a4($a0) -/* 08A9F0 800F1540 27BDFFE0 */ addiu $sp, $sp, -0x20 -/* 08A9F4 800F1544 AFBF0018 */ sw $ra, 0x18($sp) -/* 08A9F8 800F1548 AFB10014 */ sw $s1, 0x14($sp) -/* 08A9FC 800F154C 0C05123D */ jal free_icon -/* 08AA00 800F1550 AFB00010 */ sw $s0, 0x10($sp) -/* 08AA04 800F1554 3C048011 */ lui $a0, 0x8011 -/* 08AA08 800F1558 8C84D678 */ lw $a0, -0x2988($a0) -/* 08AA0C 800F155C 0C05123D */ jal free_icon -/* 08AA10 800F1560 00000000 */ nop -/* 08AA14 800F1564 3C048011 */ lui $a0, 0x8011 -/* 08AA18 800F1568 8C84D66C */ lw $a0, -0x2994($a0) -/* 08AA1C 800F156C 0C05123D */ jal free_icon -/* 08AA20 800F1570 00000000 */ nop -/* 08AA24 800F1574 3C048011 */ lui $a0, 0x8011 -/* 08AA28 800F1578 8C84D670 */ lw $a0, -0x2990($a0) -/* 08AA2C 800F157C 0C05123D */ jal free_icon -/* 08AA30 800F1580 00000000 */ nop -/* 08AA34 800F1584 3C048011 */ lui $a0, 0x8011 -/* 08AA38 800F1588 8C84D674 */ lw $a0, -0x298c($a0) -/* 08AA3C 800F158C 0C05123D */ jal free_icon -/* 08AA40 800F1590 00000000 */ nop -/* 08AA44 800F1594 3C108011 */ lui $s0, 0x8011 -/* 08AA48 800F1598 2610D69C */ addiu $s0, $s0, -0x2964 -/* 08AA4C 800F159C 8E020000 */ lw $v0, ($s0) -/* 08AA50 800F15A0 8C430318 */ lw $v1, 0x318($v0) -/* 08AA54 800F15A4 24020003 */ addiu $v0, $zero, 3 -/* 08AA58 800F15A8 14620009 */ bne $v1, $v0, .L800F15D0 -/* 08AA5C 800F15AC 00000000 */ nop -/* 08AA60 800F15B0 3C048011 */ lui $a0, 0x8011 -/* 08AA64 800F15B4 8C84D660 */ lw $a0, -0x29a0($a0) -/* 08AA68 800F15B8 0C05123D */ jal free_icon -/* 08AA6C 800F15BC 00000000 */ nop -/* 08AA70 800F15C0 3C048011 */ lui $a0, 0x8011 -/* 08AA74 800F15C4 8C84D664 */ lw $a0, -0x299c($a0) -/* 08AA78 800F15C8 0C05123D */ jal free_icon -/* 08AA7C 800F15CC 00000000 */ nop -.L800F15D0: -/* 08AA80 800F15D0 8E020000 */ lw $v0, ($s0) -/* 08AA84 800F15D4 8C420318 */ lw $v0, 0x318($v0) -/* 08AA88 800F15D8 24110004 */ addiu $s1, $zero, 4 -/* 08AA8C 800F15DC 14510009 */ bne $v0, $s1, .L800F1604 -/* 08AA90 800F15E0 00000000 */ nop -/* 08AA94 800F15E4 3C048011 */ lui $a0, 0x8011 -/* 08AA98 800F15E8 8C84D660 */ lw $a0, -0x29a0($a0) -/* 08AA9C 800F15EC 0C05123D */ jal free_icon -/* 08AAA0 800F15F0 00000000 */ nop -/* 08AAA4 800F15F4 3C048011 */ lui $a0, 0x8011 -/* 08AAA8 800F15F8 8C84D664 */ lw $a0, -0x299c($a0) -/* 08AAAC 800F15FC 0C05123D */ jal free_icon -/* 08AAB0 800F1600 00000000 */ nop -.L800F1604: -/* 08AAB4 800F1604 8E020000 */ lw $v0, ($s0) -/* 08AAB8 800F1608 8C430318 */ lw $v1, 0x318($v0) -/* 08AABC 800F160C 24020001 */ addiu $v0, $zero, 1 -/* 08AAC0 800F1610 10620003 */ beq $v1, $v0, .L800F1620 -/* 08AAC4 800F1614 00000000 */ nop -/* 08AAC8 800F1618 14710005 */ bne $v1, $s1, .L800F1630 -/* 08AACC 800F161C 00000000 */ nop -.L800F1620: -/* 08AAD0 800F1620 3C048011 */ lui $a0, 0x8011 -/* 08AAD4 800F1624 8C84D668 */ lw $a0, -0x2998($a0) -/* 08AAD8 800F1628 0C05123D */ jal free_icon -/* 08AADC 800F162C 00000000 */ nop -.L800F1630: -/* 08AAE0 800F1630 3C108011 */ lui $s0, 0x8011 -/* 08AAE4 800F1634 2610D69C */ addiu $s0, $s0, -0x2964 -/* 08AAE8 800F1638 8E020000 */ lw $v0, ($s0) -/* 08AAEC 800F163C 8C430318 */ lw $v1, 0x318($v0) -/* 08AAF0 800F1640 24020005 */ addiu $v0, $zero, 5 -/* 08AAF4 800F1644 14620005 */ bne $v1, $v0, .L800F165C -/* 08AAF8 800F1648 00000000 */ nop -/* 08AAFC 800F164C 3C048011 */ lui $a0, 0x8011 -/* 08AB00 800F1650 8C84D660 */ lw $a0, -0x29a0($a0) -/* 08AB04 800F1654 0C05123D */ jal free_icon -/* 08AB08 800F1658 00000000 */ nop -.L800F165C: -/* 08AB0C 800F165C 8E020000 */ lw $v0, ($s0) -/* 08AB10 800F1660 8C430318 */ lw $v1, 0x318($v0) -/* 08AB14 800F1664 28620005 */ slti $v0, $v1, 5 -/* 08AB18 800F1668 14400003 */ bnez $v0, .L800F1678 -/* 08AB1C 800F166C 2402000C */ addiu $v0, $zero, 0xc -/* 08AB20 800F1670 1462000E */ bne $v1, $v0, .L800F16AC -/* 08AB24 800F1674 00000000 */ nop -.L800F1678: -/* 08AB28 800F1678 3C028007 */ lui $v0, 0x8007 -/* 08AB2C 800F167C 8C42419C */ lw $v0, 0x419c($v0) -/* 08AB30 800F1680 80420070 */ lb $v0, 0x70($v0) -/* 08AB34 800F1684 14400009 */ bnez $v0, .L800F16AC -/* 08AB38 800F1688 00000000 */ nop -/* 08AB3C 800F168C 3C028011 */ lui $v0, 0x8011 -/* 08AB40 800F1690 8042D69A */ lb $v0, -0x2966($v0) -/* 08AB44 800F1694 14400003 */ bnez $v0, .L800F16A4 -/* 08AB48 800F1698 00000000 */ nop -/* 08AB4C 800F169C 0C03A631 */ jal func_800E98C4 -/* 08AB50 800F16A0 00000000 */ nop -.L800F16A4: -/* 08AB54 800F16A4 0C03A5EE */ jal func_800E97B8 -/* 08AB58 800F16A8 00000000 */ nop -.L800F16AC: -/* 08AB5C 800F16AC 8FBF0018 */ lw $ra, 0x18($sp) -/* 08AB60 800F16B0 8FB10014 */ lw $s1, 0x14($sp) -/* 08AB64 800F16B4 8FB00010 */ lw $s0, 0x10($sp) -/* 08AB68 800F16B8 2402FFFC */ addiu $v0, $zero, -4 -/* 08AB6C 800F16BC 3C018011 */ lui $at, 0x8011 -/* 08AB70 800F16C0 AC22D640 */ sw $v0, -0x29c0($at) -/* 08AB74 800F16C4 03E00008 */ jr $ra -/* 08AB78 800F16C8 27BD0020 */ addiu $sp, $sp, 0x20 - -func_800F16CC: -/* 08AB7C 800F16CC 3C028011 */ lui $v0, 0x8011 -/* 08AB80 800F16D0 8042D68E */ lb $v0, -0x2972($v0) -/* 08AB84 800F16D4 27BDFFE0 */ addiu $sp, $sp, -0x20 -/* 08AB88 800F16D8 AFBF001C */ sw $ra, 0x1c($sp) -/* 08AB8C 800F16DC AFB20018 */ sw $s2, 0x18($sp) -/* 08AB90 800F16E0 AFB10014 */ sw $s1, 0x14($sp) -/* 08AB94 800F16E4 1040002B */ beqz $v0, .L800F1794 -/* 08AB98 800F16E8 AFB00010 */ sw $s0, 0x10($sp) -/* 08AB9C 800F16EC 3C028011 */ lui $v0, 0x8011 -/* 08ABA0 800F16F0 8C42D69C */ lw $v0, -0x2964($v0) -/* 08ABA4 800F16F4 8C430318 */ lw $v1, 0x318($v0) -/* 08ABA8 800F16F8 2C62000E */ sltiu $v0, $v1, 0xe -/* 08ABAC 800F16FC 10400020 */ beqz $v0, .L800F1780 -/* 08ABB0 800F1700 00031080 */ sll $v0, $v1, 2 -/* 08ABB4 800F1704 3C018011 */ lui $at, 0x8011 -/* 08ABB8 800F1708 00220821 */ addu $at, $at, $v0 -/* 08ABBC 800F170C 8C22C3A0 */ lw $v0, -0x3c60($at) -/* 08ABC0 800F1710 00400008 */ jr $v0 -/* 08ABC4 800F1714 00000000 */ nop -/* 08ABC8 800F1718 2404000E */ addiu $a0, $zero, 0xe -/* 08ABCC 800F171C 3C108014 */ lui $s0, 0x8014 -/* 08ABD0 800F1720 26107474 */ addiu $s0, $s0, 0x7474 -/* 08ABD4 800F1724 0C051F9F */ jal func_80147E7C -/* 08ABD8 800F1728 0200282D */ daddu $a1, $s0, $zero -/* 08ABDC 800F172C 0803C5D3 */ j .L800F174C -/* 08ABE0 800F1730 24040001 */ addiu $a0, $zero, 1 - -/* 08ABE4 800F1734 2404000E */ addiu $a0, $zero, 0xe -/* 08ABE8 800F1738 3C108014 */ lui $s0, 0x8014 -/* 08ABEC 800F173C 26107474 */ addiu $s0, $s0, 0x7474 -/* 08ABF0 800F1740 0C051F9F */ jal func_80147E7C -/* 08ABF4 800F1744 0200282D */ daddu $a1, $s0, $zero -/* 08ABF8 800F1748 24040002 */ addiu $a0, $zero, 2 -.L800F174C: -/* 08ABFC 800F174C 0C05272D */ jal play_sound -/* 08AC00 800F1750 00000000 */ nop -/* 08AC04 800F1754 24040013 */ addiu $a0, $zero, 0x13 -/* 08AC08 800F1758 0C051F9F */ jal func_80147E7C -/* 08AC0C 800F175C 0200282D */ daddu $a1, $s0, $zero -/* 08AC10 800F1760 0803C5E1 */ j .L800F1784 -/* 08AC14 800F1764 24040015 */ addiu $a0, $zero, 0x15 - -/* 08AC18 800F1768 3C058014 */ lui $a1, 0x8014 -/* 08AC1C 800F176C 24A57474 */ addiu $a1, $a1, 0x7474 -/* 08AC20 800F1770 0C051F9F */ jal func_80147E7C -/* 08AC24 800F1774 2404000E */ addiu $a0, $zero, 0xe -/* 08AC28 800F1778 0C05272D */ jal play_sound -/* 08AC2C 800F177C 24040001 */ addiu $a0, $zero, 1 -.L800F1780: -/* 08AC30 800F1780 24040015 */ addiu $a0, $zero, 0x15 -.L800F1784: -/* 08AC34 800F1784 3C058014 */ lui $a1, 0x8014 -/* 08AC38 800F1788 24A57474 */ addiu $a1, $a1, 0x7474 -/* 08AC3C 800F178C 0803C5FC */ j .L800F17F0 -/* 08AC40 800F1790 00000000 */ nop - -.L800F1794: -/* 08AC44 800F1794 3C028011 */ lui $v0, 0x8011 -/* 08AC48 800F1798 8C42D69C */ lw $v0, -0x2964($v0) -/* 08AC4C 800F179C 8C430318 */ lw $v1, 0x318($v0) -/* 08AC50 800F17A0 2C62000E */ sltiu $v0, $v1, 0xe -/* 08AC54 800F17A4 10400014 */ beqz $v0, .L800F17F8 -/* 08AC58 800F17A8 00031080 */ sll $v0, $v1, 2 -/* 08AC5C 800F17AC 3C018011 */ lui $at, 0x8011 -/* 08AC60 800F17B0 00220821 */ addu $at, $at, $v0 -/* 08AC64 800F17B4 8C22C3D8 */ lw $v0, -0x3c28($at) -/* 08AC68 800F17B8 00400008 */ jr $v0 -/* 08AC6C 800F17BC 00000000 */ nop -/* 08AC70 800F17C0 2404000E */ addiu $a0, $zero, 0xe -/* 08AC74 800F17C4 0C051F9F */ jal func_80147E7C -/* 08AC78 800F17C8 24050001 */ addiu $a1, $zero, 1 -/* 08AC7C 800F17CC 0803C5FB */ j .L800F17EC -/* 08AC80 800F17D0 24040013 */ addiu $a0, $zero, 0x13 - -/* 08AC84 800F17D4 2404000E */ addiu $a0, $zero, 0xe -/* 08AC88 800F17D8 0C051F9F */ jal func_80147E7C -/* 08AC8C 800F17DC 24050001 */ addiu $a1, $zero, 1 -/* 08AC90 800F17E0 0803C5FB */ j .L800F17EC -/* 08AC94 800F17E4 24040013 */ addiu $a0, $zero, 0x13 - -/* 08AC98 800F17E8 2404000E */ addiu $a0, $zero, 0xe -.L800F17EC: -/* 08AC9C 800F17EC 24050001 */ addiu $a1, $zero, 1 -.L800F17F0: -/* 08ACA0 800F17F0 0C051F9F */ jal func_80147E7C -/* 08ACA4 800F17F4 00000000 */ nop -.L800F17F8: -/* 08ACA8 800F17F8 3C118011 */ lui $s1, 0x8011 -/* 08ACAC 800F17FC 2631D69C */ addiu $s1, $s1, -0x2964 -/* 08ACB0 800F1800 8E220000 */ lw $v0, ($s1) -/* 08ACB4 800F1804 8C420318 */ lw $v0, 0x318($v0) -/* 08ACB8 800F1808 24120003 */ addiu $s2, $zero, 3 -/* 08ACBC 800F180C 14520008 */ bne $v0, $s2, .L800F1830 -/* 08ACC0 800F1810 24040010 */ addiu $a0, $zero, 0x10 -/* 08ACC4 800F1814 3C108014 */ lui $s0, 0x8014 -/* 08ACC8 800F1818 26107474 */ addiu $s0, $s0, 0x7474 -/* 08ACCC 800F181C 0C051F9F */ jal func_80147E7C -/* 08ACD0 800F1820 0200282D */ daddu $a1, $s0, $zero -/* 08ACD4 800F1824 24040014 */ addiu $a0, $zero, 0x14 -/* 08ACD8 800F1828 0C051F9F */ jal func_80147E7C -/* 08ACDC 800F182C 0200282D */ daddu $a1, $s0, $zero -.L800F1830: -/* 08ACE0 800F1830 8E220000 */ lw $v0, ($s1) -/* 08ACE4 800F1834 8C420318 */ lw $v0, 0x318($v0) -/* 08ACE8 800F1838 24100004 */ addiu $s0, $zero, 4 -/* 08ACEC 800F183C 14500005 */ bne $v0, $s0, .L800F1854 -/* 08ACF0 800F1840 00000000 */ nop -/* 08ACF4 800F1844 3C058014 */ lui $a1, 0x8014 -/* 08ACF8 800F1848 24A57474 */ addiu $a1, $a1, 0x7474 -/* 08ACFC 800F184C 0C051F9F */ jal func_80147E7C -/* 08AD00 800F1850 24040012 */ addiu $a0, $zero, 0x12 -.L800F1854: -/* 08AD04 800F1854 8E220000 */ lw $v0, ($s1) -/* 08AD08 800F1858 8C430318 */ lw $v1, 0x318($v0) -/* 08AD0C 800F185C 24020005 */ addiu $v0, $zero, 5 -/* 08AD10 800F1860 14620006 */ bne $v1, $v0, .L800F187C -/* 08AD14 800F1864 240500FF */ addiu $a1, $zero, 0xff -/* 08AD18 800F1868 3C058014 */ lui $a1, 0x8014 -/* 08AD1C 800F186C 24A57474 */ addiu $a1, $a1, 0x7474 -/* 08AD20 800F1870 0C051F9F */ jal func_80147E7C -/* 08AD24 800F1874 24040010 */ addiu $a0, $zero, 0x10 -/* 08AD28 800F1878 240500FF */ addiu $a1, $zero, 0xff -.L800F187C: -/* 08AD2C 800F187C 00A0302D */ daddu $a2, $a1, $zero -/* 08AD30 800F1880 3C048011 */ lui $a0, 0x8011 -/* 08AD34 800F1884 8C84D65C */ lw $a0, -0x29a4($a0) -/* 08AD38 800F1888 0C0513BF */ jal func_80144EFC -/* 08AD3C 800F188C 00A0382D */ daddu $a3, $a1, $zero -/* 08AD40 800F1890 240500FF */ addiu $a1, $zero, 0xff -/* 08AD44 800F1894 00A0302D */ daddu $a2, $a1, $zero -/* 08AD48 800F1898 3C048011 */ lui $a0, 0x8011 -/* 08AD4C 800F189C 8C84D678 */ lw $a0, -0x2988($a0) -/* 08AD50 800F18A0 0C0513BF */ jal func_80144EFC -/* 08AD54 800F18A4 00A0382D */ daddu $a3, $a1, $zero -/* 08AD58 800F18A8 240500FF */ addiu $a1, $zero, 0xff -/* 08AD5C 800F18AC 00A0302D */ daddu $a2, $a1, $zero -/* 08AD60 800F18B0 3C048011 */ lui $a0, 0x8011 -/* 08AD64 800F18B4 8C84D66C */ lw $a0, -0x2994($a0) -/* 08AD68 800F18B8 0C0513BF */ jal func_80144EFC -/* 08AD6C 800F18BC 00A0382D */ daddu $a3, $a1, $zero -/* 08AD70 800F18C0 240500FF */ addiu $a1, $zero, 0xff -/* 08AD74 800F18C4 00A0302D */ daddu $a2, $a1, $zero -/* 08AD78 800F18C8 3C048011 */ lui $a0, 0x8011 -/* 08AD7C 800F18CC 8C84D670 */ lw $a0, -0x2990($a0) -/* 08AD80 800F18D0 0C0513BF */ jal func_80144EFC -/* 08AD84 800F18D4 00A0382D */ daddu $a3, $a1, $zero -/* 08AD88 800F18D8 240500FF */ addiu $a1, $zero, 0xff -/* 08AD8C 800F18DC 00A0302D */ daddu $a2, $a1, $zero -/* 08AD90 800F18E0 3C048011 */ lui $a0, 0x8011 -/* 08AD94 800F18E4 8C84D674 */ lw $a0, -0x298c($a0) -/* 08AD98 800F18E8 0C0513BF */ jal func_80144EFC -/* 08AD9C 800F18EC 00A0382D */ daddu $a3, $a1, $zero -/* 08ADA0 800F18F0 8E220000 */ lw $v0, ($s1) -/* 08ADA4 800F18F4 8C420318 */ lw $v0, 0x318($v0) -/* 08ADA8 800F18F8 1452000C */ bne $v0, $s2, .L800F192C -/* 08ADAC 800F18FC 240500FF */ addiu $a1, $zero, 0xff -/* 08ADB0 800F1900 00A0302D */ daddu $a2, $a1, $zero -/* 08ADB4 800F1904 3C048011 */ lui $a0, 0x8011 -/* 08ADB8 800F1908 8C84D660 */ lw $a0, -0x29a0($a0) -/* 08ADBC 800F190C 0C0513BF */ jal func_80144EFC -/* 08ADC0 800F1910 00A0382D */ daddu $a3, $a1, $zero -/* 08ADC4 800F1914 240500FF */ addiu $a1, $zero, 0xff -/* 08ADC8 800F1918 00A0302D */ daddu $a2, $a1, $zero -/* 08ADCC 800F191C 3C048011 */ lui $a0, 0x8011 -/* 08ADD0 800F1920 8C84D664 */ lw $a0, -0x299c($a0) -/* 08ADD4 800F1924 0C0513BF */ jal func_80144EFC -/* 08ADD8 800F1928 00A0382D */ daddu $a3, $a1, $zero -.L800F192C: -/* 08ADDC 800F192C 8E220000 */ lw $v0, ($s1) -/* 08ADE0 800F1930 8C420318 */ lw $v0, 0x318($v0) -/* 08ADE4 800F1934 1450000C */ bne $v0, $s0, .L800F1968 -/* 08ADE8 800F1938 240500FF */ addiu $a1, $zero, 0xff -/* 08ADEC 800F193C 00A0302D */ daddu $a2, $a1, $zero -/* 08ADF0 800F1940 3C048011 */ lui $a0, 0x8011 -/* 08ADF4 800F1944 8C84D660 */ lw $a0, -0x29a0($a0) -/* 08ADF8 800F1948 0C0513BF */ jal func_80144EFC -/* 08ADFC 800F194C 00A0382D */ daddu $a3, $a1, $zero -/* 08AE00 800F1950 240500FF */ addiu $a1, $zero, 0xff -/* 08AE04 800F1954 00A0302D */ daddu $a2, $a1, $zero -/* 08AE08 800F1958 3C048011 */ lui $a0, 0x8011 -/* 08AE0C 800F195C 8C84D664 */ lw $a0, -0x299c($a0) -/* 08AE10 800F1960 0C0513BF */ jal func_80144EFC -/* 08AE14 800F1964 00A0382D */ daddu $a3, $a1, $zero -.L800F1968: -/* 08AE18 800F1968 8E220000 */ lw $v0, ($s1) -/* 08AE1C 800F196C 8C430318 */ lw $v1, 0x318($v0) -/* 08AE20 800F1970 24020001 */ addiu $v0, $zero, 1 -/* 08AE24 800F1974 10620003 */ beq $v1, $v0, .L800F1984 -/* 08AE28 800F1978 00000000 */ nop -/* 08AE2C 800F197C 14700007 */ bne $v1, $s0, .L800F199C -/* 08AE30 800F1980 00000000 */ nop -.L800F1984: -/* 08AE34 800F1984 3C048011 */ lui $a0, 0x8011 -/* 08AE38 800F1988 8C84D668 */ lw $a0, -0x2998($a0) -/* 08AE3C 800F198C 240500FF */ addiu $a1, $zero, 0xff -/* 08AE40 800F1990 00A0302D */ daddu $a2, $a1, $zero -/* 08AE44 800F1994 0C0513BF */ jal func_80144EFC -/* 08AE48 800F1998 00A0382D */ daddu $a3, $a1, $zero -.L800F199C: -/* 08AE4C 800F199C 3C028011 */ lui $v0, 0x8011 -/* 08AE50 800F19A0 8C42D69C */ lw $v0, -0x2964($v0) -/* 08AE54 800F19A4 8C430318 */ lw $v1, 0x318($v0) -/* 08AE58 800F19A8 24020005 */ addiu $v0, $zero, 5 -/* 08AE5C 800F19AC 14620006 */ bne $v1, $v0, .L800F19C8 -/* 08AE60 800F19B0 240500FF */ addiu $a1, $zero, 0xff -/* 08AE64 800F19B4 3C048011 */ lui $a0, 0x8011 -/* 08AE68 800F19B8 8C84D660 */ lw $a0, -0x29a0($a0) -/* 08AE6C 800F19BC 00A0302D */ daddu $a2, $a1, $zero -/* 08AE70 800F19C0 0C0513BF */ jal func_80144EFC -/* 08AE74 800F19C4 00A0382D */ daddu $a3, $a1, $zero -.L800F19C8: -/* 08AE78 800F19C8 3C048011 */ lui $a0, 0x8011 -/* 08AE7C 800F19CC 8C84D66C */ lw $a0, -0x2994($a0) -/* 08AE80 800F19D0 3C058010 */ lui $a1, 0x8010 -/* 08AE84 800F19D4 24A54A28 */ addiu $a1, $a1, 0x4a28 -/* 08AE88 800F19D8 0C0511FF */ jal set_menu_icon_script -/* 08AE8C 800F19DC 00000000 */ nop -/* 08AE90 800F19E0 8FBF001C */ lw $ra, 0x1c($sp) -/* 08AE94 800F19E4 8FB20018 */ lw $s2, 0x18($sp) -/* 08AE98 800F19E8 8FB10014 */ lw $s1, 0x14($sp) -/* 08AE9C 800F19EC 8FB00010 */ lw $s0, 0x10($sp) -/* 08AEA0 800F19F0 2402000A */ addiu $v0, $zero, 0xa -/* 08AEA4 800F19F4 3C018011 */ lui $at, 0x8011 -/* 08AEA8 800F19F8 A022D690 */ sb $v0, -0x2970($at) -/* 08AEAC 800F19FC 24020014 */ addiu $v0, $zero, 0x14 -/* 08AEB0 800F1A00 3C018011 */ lui $at, 0x8011 -/* 08AEB4 800F1A04 AC22D640 */ sw $v0, -0x29c0($at) -/* 08AEB8 800F1A08 03E00008 */ jr $ra -/* 08AEBC 800F1A0C 27BD0020 */ addiu $sp, $sp, 0x20 - -func_800F1A10: -/* 08AEC0 800F1A10 3C028011 */ lui $v0, 0x8011 -/* 08AEC4 800F1A14 8C42D640 */ lw $v0, -0x29c0($v0) -/* 08AEC8 800F1A18 27BDFFC0 */ addiu $sp, $sp, -0x40 -/* 08AECC 800F1A1C AFBF0038 */ sw $ra, 0x38($sp) -/* 08AED0 800F1A20 AFB30034 */ sw $s3, 0x34($sp) -/* 08AED4 800F1A24 AFB20030 */ sw $s2, 0x30($sp) -/* 08AED8 800F1A28 AFB1002C */ sw $s1, 0x2c($sp) -/* 08AEDC 800F1A2C 24430007 */ addiu $v1, $v0, 7 -/* 08AEE0 800F1A30 2C62006F */ sltiu $v0, $v1, 0x6f -/* 08AEE4 800F1A34 10400707 */ beqz $v0, .L800F3654 -/* 08AEE8 800F1A38 AFB00028 */ sw $s0, 0x28($sp) -/* 08AEEC 800F1A3C 00031080 */ sll $v0, $v1, 2 -/* 08AEF0 800F1A40 3C018011 */ lui $at, 0x8011 -/* 08AEF4 800F1A44 00220821 */ addu $at, $at, $v0 -/* 08AEF8 800F1A48 8C22C410 */ lw $v0, -0x3bf0($at) -/* 08AEFC 800F1A4C 00400008 */ jr $v0 -/* 08AF00 800F1A50 00000000 */ nop -/* 08AF04 800F1A54 3C048011 */ lui $a0, 0x8011 -/* 08AF08 800F1A58 2484D67C */ addiu $a0, $a0, -0x2984 -/* 08AF0C 800F1A5C 24030014 */ addiu $v1, $zero, 0x14 -/* 08AF10 800F1A60 3C058011 */ lui $a1, 0x8011 -/* 08AF14 800F1A64 24A5D67E */ addiu $a1, $a1, -0x2982 -/* 08AF18 800F1A68 24020048 */ addiu $v0, $zero, 0x48 -/* 08AF1C 800F1A6C A4830000 */ sh $v1, ($a0) -/* 08AF20 800F1A70 A4A20000 */ sh $v0, ($a1) -/* 08AF24 800F1A74 3C018011 */ lui $at, 0x8011 -/* 08AF28 800F1A78 A423D680 */ sh $v1, -0x2980($at) -/* 08AF2C 800F1A7C 3C038011 */ lui $v1, 0x8011 -/* 08AF30 800F1A80 8063D68E */ lb $v1, -0x2972($v1) -/* 08AF34 800F1A84 240200BA */ addiu $v0, $zero, 0xba -/* 08AF38 800F1A88 3C018011 */ lui $at, 0x8011 -/* 08AF3C 800F1A8C A422D682 */ sh $v0, -0x297e($at) -/* 08AF40 800F1A90 24020010 */ addiu $v0, $zero, 0x10 -/* 08AF44 800F1A94 3C018011 */ lui $at, 0x8011 -/* 08AF48 800F1A98 A422D684 */ sh $v0, -0x297c($at) -/* 08AF4C 800F1A9C 24020058 */ addiu $v0, $zero, 0x58 -/* 08AF50 800F1AA0 3C018011 */ lui $at, 0x8011 -/* 08AF54 800F1AA4 A422D686 */ sh $v0, -0x297a($at) -/* 08AF58 800F1AA8 24020020 */ addiu $v0, $zero, 0x20 -/* 08AF5C 800F1AAC 3C018011 */ lui $at, 0x8011 -/* 08AF60 800F1AB0 A422D688 */ sh $v0, -0x2978($at) -/* 08AF64 800F1AB4 240200A4 */ addiu $v0, $zero, 0xa4 -/* 08AF68 800F1AB8 3C018011 */ lui $at, 0x8011 -/* 08AF6C 800F1ABC A422D68A */ sh $v0, -0x2976($at) -/* 08AF70 800F1AC0 1060000A */ beqz $v1, .L800F1AEC -/* 08AF74 800F1AC4 00000000 */ nop -/* 08AF78 800F1AC8 3C028011 */ lui $v0, 0x8011 -/* 08AF7C 800F1ACC 8C42D69C */ lw $v0, -0x2964($v0) -/* 08AF80 800F1AD0 8C420318 */ lw $v0, 0x318($v0) -/* 08AF84 800F1AD4 00021040 */ sll $v0, $v0, 1 -/* 08AF88 800F1AD8 3C018011 */ lui $at, 0x8011 -/* 08AF8C 800F1ADC 00220821 */ addu $at, $at, $v0 -/* 08AF90 800F1AE0 942298A0 */ lhu $v0, -0x6760($at) -/* 08AF94 800F1AE4 24420014 */ addiu $v0, $v0, 0x14 -/* 08AF98 800F1AE8 A4820000 */ sh $v0, ($a0) -.L800F1AEC: -/* 08AF9C 800F1AEC 3C028011 */ lui $v0, 0x8011 -/* 08AFA0 800F1AF0 8042D68F */ lb $v0, -0x2971($v0) -/* 08AFA4 800F1AF4 28420007 */ slti $v0, $v0, 7 -/* 08AFA8 800F1AF8 14400002 */ bnez $v0, .L800F1B04 -/* 08AFAC 800F1AFC 2402003E */ addiu $v0, $zero, 0x3e -/* 08AFB0 800F1B00 A4A20000 */ sh $v0, ($a1) -.L800F1B04: -/* 08AFB4 800F1B04 3C048010 */ lui $a0, 0x8010 -/* 08AFB8 800F1B08 2484790C */ addiu $a0, $a0, 0x790c -/* 08AFBC 800F1B0C 3C018011 */ lui $at, 0x8011 -/* 08AFC0 800F1B10 A420D68C */ sh $zero, -0x2974($at) -/* 08AFC4 800F1B14 0C050529 */ jal create_icon -/* 08AFC8 800F1B18 00000000 */ nop -/* 08AFCC 800F1B1C 0040802D */ daddu $s0, $v0, $zero -/* 08AFD0 800F1B20 0200202D */ daddu $a0, $s0, $zero -/* 08AFD4 800F1B24 3C018011 */ lui $at, 0x8011 -/* 08AFD8 800F1B28 AC30D65C */ sw $s0, -0x29a4($at) -/* 08AFDC 800F1B2C 0C051280 */ jal set_icon_flags -/* 08AFE0 800F1B30 24050080 */ addiu $a1, $zero, 0x80 -/* 08AFE4 800F1B34 0200202D */ daddu $a0, $s0, $zero -/* 08AFE8 800F1B38 240500FF */ addiu $a1, $zero, 0xff -/* 08AFEC 800F1B3C 00A0302D */ daddu $a2, $a1, $zero -/* 08AFF0 800F1B40 0C0513BF */ jal func_80144EFC -/* 08AFF4 800F1B44 00A0382D */ daddu $a3, $a1, $zero -/* 08AFF8 800F1B48 3C118011 */ lui $s1, 0x8011 -/* 08AFFC 800F1B4C 2631D69C */ addiu $s1, $s1, -0x2964 -/* 08B000 800F1B50 8E220000 */ lw $v0, ($s1) -/* 08B004 800F1B54 8C430318 */ lw $v1, 0x318($v0) -/* 08B008 800F1B58 24020002 */ addiu $v0, $zero, 2 -/* 08B00C 800F1B5C 10620004 */ beq $v1, $v0, .L800F1B70 -/* 08B010 800F1B60 00000000 */ nop -/* 08B014 800F1B64 0200202D */ daddu $a0, $s0, $zero -/* 08B018 800F1B68 0C051280 */ jal set_icon_flags -/* 08B01C 800F1B6C 0040282D */ daddu $a1, $v0, $zero -.L800F1B70: -/* 08B020 800F1B70 8E220000 */ lw $v0, ($s1) -/* 08B024 800F1B74 8C440000 */ lw $a0, ($v0) -/* 08B028 800F1B78 0C050529 */ jal create_icon -/* 08B02C 800F1B7C 24130001 */ addiu $s3, $zero, 1 -/* 08B030 800F1B80 0040802D */ daddu $s0, $v0, $zero -/* 08B034 800F1B84 3C053EE6 */ lui $a1, 0x3ee6 -/* 08B038 800F1B88 34A56666 */ ori $a1, $a1, 0x6666 -/* 08B03C 800F1B8C 3C018011 */ lui $at, 0x8011 -/* 08B040 800F1B90 AC30D678 */ sw $s0, -0x2988($at) -/* 08B044 800F1B94 0C051308 */ jal func_80144C20 -/* 08B048 800F1B98 0200202D */ daddu $a0, $s0, $zero -/* 08B04C 800F1B9C 0200202D */ daddu $a0, $s0, $zero -/* 08B050 800F1BA0 0C051280 */ jal set_icon_flags -/* 08B054 800F1BA4 34058080 */ ori $a1, $zero, 0x8080 -/* 08B058 800F1BA8 3C048010 */ lui $a0, 0x8010 -/* 08B05C 800F1BAC 24844A28 */ addiu $a0, $a0, 0x4a28 -/* 08B060 800F1BB0 0C050529 */ jal create_icon -/* 08B064 800F1BB4 00000000 */ nop -/* 08B068 800F1BB8 0040802D */ daddu $s0, $v0, $zero -/* 08B06C 800F1BBC 0200202D */ daddu $a0, $s0, $zero -/* 08B070 800F1BC0 3C052000 */ lui $a1, 0x2000 -/* 08B074 800F1BC4 3C018011 */ lui $at, 0x8011 -/* 08B078 800F1BC8 AC24D66C */ sw $a0, -0x2994($at) -/* 08B07C 800F1BCC 0C051280 */ jal set_icon_flags -/* 08B080 800F1BD0 34A50080 */ ori $a1, $a1, 0x80 -/* 08B084 800F1BD4 3C048010 */ lui $a0, 0x8010 -/* 08B088 800F1BD8 248477E4 */ addiu $a0, $a0, 0x77e4 -/* 08B08C 800F1BDC 0C050529 */ jal create_icon -/* 08B090 800F1BE0 00000000 */ nop -/* 08B094 800F1BE4 0040802D */ daddu $s0, $v0, $zero -/* 08B098 800F1BE8 0200202D */ daddu $a0, $s0, $zero -/* 08B09C 800F1BEC 3C052000 */ lui $a1, 0x2000 -/* 08B0A0 800F1BF0 3C018011 */ lui $at, 0x8011 -/* 08B0A4 800F1BF4 AC24D670 */ sw $a0, -0x2990($at) -/* 08B0A8 800F1BF8 0C051280 */ jal set_icon_flags -/* 08B0AC 800F1BFC 34A50080 */ ori $a1, $a1, 0x80 -/* 08B0B0 800F1C00 3C048010 */ lui $a0, 0x8010 -/* 08B0B4 800F1C04 24847798 */ addiu $a0, $a0, 0x7798 -/* 08B0B8 800F1C08 0C050529 */ jal create_icon -/* 08B0BC 800F1C0C 00000000 */ nop -/* 08B0C0 800F1C10 0040802D */ daddu $s0, $v0, $zero -/* 08B0C4 800F1C14 0200202D */ daddu $a0, $s0, $zero -/* 08B0C8 800F1C18 3C052000 */ lui $a1, 0x2000 -/* 08B0CC 800F1C1C 3C018011 */ lui $at, 0x8011 -/* 08B0D0 800F1C20 AC24D674 */ sw $a0, -0x298c($at) -/* 08B0D4 800F1C24 0C051280 */ jal set_icon_flags -/* 08B0D8 800F1C28 34A50080 */ ori $a1, $a1, 0x80 -/* 08B0DC 800F1C2C 8E220000 */ lw $v0, ($s1) -/* 08B0E0 800F1C30 8C430318 */ lw $v1, 0x318($v0) -/* 08B0E4 800F1C34 24020003 */ addiu $v0, $zero, 3 -/* 08B0E8 800F1C38 14620010 */ bne $v1, $v0, .L800F1C7C -/* 08B0EC 800F1C3C 00000000 */ nop -/* 08B0F0 800F1C40 3C048010 */ lui $a0, 0x8010 -/* 08B0F4 800F1C44 24844C10 */ addiu $a0, $a0, 0x4c10 -/* 08B0F8 800F1C48 0C050529 */ jal create_icon -/* 08B0FC 800F1C4C 00000000 */ nop -/* 08B100 800F1C50 3C018011 */ lui $at, 0x8011 -/* 08B104 800F1C54 AC22D660 */ sw $v0, -0x29a0($at) -/* 08B108 800F1C58 0040802D */ daddu $s0, $v0, $zero -/* 08B10C 800F1C5C 0040202D */ daddu $a0, $v0, $zero -/* 08B110 800F1C60 0C051280 */ jal set_icon_flags -/* 08B114 800F1C64 24050080 */ addiu $a1, $zero, 0x80 -/* 08B118 800F1C68 0200202D */ daddu $a0, $s0, $zero -/* 08B11C 800F1C6C 240500FF */ addiu $a1, $zero, 0xff -/* 08B120 800F1C70 00A0302D */ daddu $a2, $a1, $zero -/* 08B124 800F1C74 0C0513BF */ jal func_80144EFC -/* 08B128 800F1C78 00A0382D */ daddu $a3, $a1, $zero -.L800F1C7C: -/* 08B12C 800F1C7C 8E220000 */ lw $v0, ($s1) -/* 08B130 800F1C80 8C420318 */ lw $v0, 0x318($v0) -/* 08B134 800F1C84 24120004 */ addiu $s2, $zero, 4 -/* 08B138 800F1C88 14520010 */ bne $v0, $s2, .L800F1CCC -/* 08B13C 800F1C8C 00000000 */ nop -/* 08B140 800F1C90 3C048010 */ lui $a0, 0x8010 -/* 08B144 800F1C94 24844C10 */ addiu $a0, $a0, 0x4c10 -/* 08B148 800F1C98 0C050529 */ jal create_icon -/* 08B14C 800F1C9C 00000000 */ nop -/* 08B150 800F1CA0 3C018011 */ lui $at, 0x8011 -/* 08B154 800F1CA4 AC22D660 */ sw $v0, -0x29a0($at) -/* 08B158 800F1CA8 0040802D */ daddu $s0, $v0, $zero -/* 08B15C 800F1CAC 0040202D */ daddu $a0, $v0, $zero -/* 08B160 800F1CB0 0C051280 */ jal set_icon_flags -/* 08B164 800F1CB4 34058080 */ ori $a1, $zero, 0x8080 -/* 08B168 800F1CB8 0200202D */ daddu $a0, $s0, $zero -/* 08B16C 800F1CBC 240500FF */ addiu $a1, $zero, 0xff -/* 08B170 800F1CC0 00A0302D */ daddu $a2, $a1, $zero -/* 08B174 800F1CC4 0C0513BF */ jal func_80144EFC -/* 08B178 800F1CC8 00A0382D */ daddu $a3, $a1, $zero -.L800F1CCC: -/* 08B17C 800F1CCC 8E220000 */ lw $v0, ($s1) -/* 08B180 800F1CD0 8C430318 */ lw $v1, 0x318($v0) -/* 08B184 800F1CD4 24020005 */ addiu $v0, $zero, 5 -/* 08B188 800F1CD8 14620010 */ bne $v1, $v0, .L800F1D1C -/* 08B18C 800F1CDC 00000000 */ nop -/* 08B190 800F1CE0 3C048011 */ lui $a0, 0x8011 -/* 08B194 800F1CE4 24848558 */ addiu $a0, $a0, -0x7aa8 -/* 08B198 800F1CE8 0C050529 */ jal create_icon -/* 08B19C 800F1CEC 00000000 */ nop -/* 08B1A0 800F1CF0 3C018011 */ lui $at, 0x8011 -/* 08B1A4 800F1CF4 AC22D660 */ sw $v0, -0x29a0($at) -/* 08B1A8 800F1CF8 0040802D */ daddu $s0, $v0, $zero -/* 08B1AC 800F1CFC 0040202D */ daddu $a0, $v0, $zero -/* 08B1B0 800F1D00 0C051280 */ jal set_icon_flags -/* 08B1B4 800F1D04 24050080 */ addiu $a1, $zero, 0x80 -/* 08B1B8 800F1D08 0200202D */ daddu $a0, $s0, $zero -/* 08B1BC 800F1D0C 240500FF */ addiu $a1, $zero, 0xff -/* 08B1C0 800F1D10 00A0302D */ daddu $a2, $a1, $zero -/* 08B1C4 800F1D14 0C0513BF */ jal func_80144EFC -/* 08B1C8 800F1D18 00A0382D */ daddu $a3, $a1, $zero -.L800F1D1C: -/* 08B1CC 800F1D1C 8E220000 */ lw $v0, ($s1) -/* 08B1D0 800F1D20 8C420318 */ lw $v0, 0x318($v0) -/* 08B1D4 800F1D24 2442FFFD */ addiu $v0, $v0, -3 -/* 08B1D8 800F1D28 2C420002 */ sltiu $v0, $v0, 2 -/* 08B1DC 800F1D2C 10400010 */ beqz $v0, .L800F1D70 -/* 08B1E0 800F1D30 00000000 */ nop -/* 08B1E4 800F1D34 3C048011 */ lui $a0, 0x8011 -/* 08B1E8 800F1D38 24849270 */ addiu $a0, $a0, -0x6d90 -/* 08B1EC 800F1D3C 0C050529 */ jal create_icon -/* 08B1F0 800F1D40 00000000 */ nop -/* 08B1F4 800F1D44 3C018011 */ lui $at, 0x8011 -/* 08B1F8 800F1D48 AC22D664 */ sw $v0, -0x299c($at) -/* 08B1FC 800F1D4C 0040802D */ daddu $s0, $v0, $zero -/* 08B200 800F1D50 0040202D */ daddu $a0, $v0, $zero -/* 08B204 800F1D54 0C051280 */ jal set_icon_flags -/* 08B208 800F1D58 24050080 */ addiu $a1, $zero, 0x80 -/* 08B20C 800F1D5C 0200202D */ daddu $a0, $s0, $zero -/* 08B210 800F1D60 240500FF */ addiu $a1, $zero, 0xff -/* 08B214 800F1D64 00A0302D */ daddu $a2, $a1, $zero -/* 08B218 800F1D68 0C0513BF */ jal func_80144EFC -/* 08B21C 800F1D6C 00A0382D */ daddu $a3, $a1, $zero -.L800F1D70: -/* 08B220 800F1D70 8E220000 */ lw $v0, ($s1) -/* 08B224 800F1D74 8C420318 */ lw $v0, 0x318($v0) -/* 08B228 800F1D78 10530003 */ beq $v0, $s3, .L800F1D88 -/* 08B22C 800F1D7C 00000000 */ nop -/* 08B230 800F1D80 14520010 */ bne $v0, $s2, .L800F1DC4 -/* 08B234 800F1D84 2402FF38 */ addiu $v0, $zero, -0xc8 -.L800F1D88: -/* 08B238 800F1D88 3C048011 */ lui $a0, 0x8011 -/* 08B23C 800F1D8C 0C050529 */ jal create_icon -/* 08B240 800F1D90 8C849890 */ lw $a0, -0x6770($a0) -/* 08B244 800F1D94 0040802D */ daddu $s0, $v0, $zero -/* 08B248 800F1D98 0200202D */ daddu $a0, $s0, $zero -/* 08B24C 800F1D9C 3C018011 */ lui $at, 0x8011 -/* 08B250 800F1DA0 AC30D668 */ sw $s0, -0x2998($at) -/* 08B254 800F1DA4 0C051280 */ jal set_icon_flags -/* 08B258 800F1DA8 24050080 */ addiu $a1, $zero, 0x80 -/* 08B25C 800F1DAC 0200202D */ daddu $a0, $s0, $zero -/* 08B260 800F1DB0 240500FF */ addiu $a1, $zero, 0xff -/* 08B264 800F1DB4 00A0302D */ daddu $a2, $a1, $zero -/* 08B268 800F1DB8 0C0513BF */ jal func_80144EFC -/* 08B26C 800F1DBC 00A0382D */ daddu $a3, $a1, $zero -/* 08B270 800F1DC0 2402FF38 */ addiu $v0, $zero, -0xc8 -.L800F1DC4: -/* 08B274 800F1DC4 3C018011 */ lui $at, 0x8011 -/* 08B278 800F1DC8 A422D65A */ sh $v0, -0x29a6($at) -/* 08B27C 800F1DCC 3C028011 */ lui $v0, 0x8011 -/* 08B280 800F1DD0 8042D691 */ lb $v0, -0x296f($v0) -/* 08B284 800F1DD4 3C038011 */ lui $v1, 0x8011 -/* 08B288 800F1DD8 8063D68E */ lb $v1, -0x2972($v1) -/* 08B28C 800F1DDC 3C048011 */ lui $a0, 0x8011 -/* 08B290 800F1DE0 2484D644 */ addiu $a0, $a0, -0x29bc -/* 08B294 800F1DE4 14600003 */ bnez $v1, .L800F1DF4 -/* 08B298 800F1DE8 AC820000 */ sw $v0, ($a0) -/* 08B29C 800F1DEC 24020001 */ addiu $v0, $zero, 1 -/* 08B2A0 800F1DF0 AC820000 */ sw $v0, ($a0) -.L800F1DF4: -/* 08B2A4 800F1DF4 3C058011 */ lui $a1, 0x8011 -/* 08B2A8 800F1DF8 84A5D67C */ lh $a1, -0x2984($a1) -/* 08B2AC 800F1DFC 3C028011 */ lui $v0, 0x8011 -/* 08B2B0 800F1E00 8C42D69C */ lw $v0, -0x2964($v0) -/* 08B2B4 800F1E04 3C068011 */ lui $a2, 0x8011 -/* 08B2B8 800F1E08 84C6D67E */ lh $a2, -0x2982($a2) -/* 08B2BC 800F1E0C 8C430318 */ lw $v1, 0x318($v0) -/* 08B2C0 800F1E10 2402000A */ addiu $v0, $zero, 0xa -/* 08B2C4 800F1E14 3C018011 */ lui $at, 0x8011 -/* 08B2C8 800F1E18 A022D690 */ sb $v0, -0x2970($at) -/* 08B2CC 800F1E1C 2C62000E */ sltiu $v0, $v1, 0xe -/* 08B2D0 800F1E20 1040017B */ beqz $v0, .L800F2410 -/* 08B2D4 800F1E24 00031080 */ sll $v0, $v1, 2 -/* 08B2D8 800F1E28 3C018011 */ lui $at, 0x8011 -/* 08B2DC 800F1E2C 00220821 */ addu $at, $at, $v0 -/* 08B2E0 800F1E30 8C22C5D0 */ lw $v0, -0x3a30($at) -/* 08B2E4 800F1E34 00400008 */ jr $v0 -/* 08B2E8 800F1E38 00000000 */ nop -/* 08B2EC 800F1E3C 2404000E */ addiu $a0, $zero, 0xe -/* 08B2F0 800F1E40 24070091 */ addiu $a3, $zero, 0x91 -/* 08B2F4 800F1E44 3C038011 */ lui $v1, 0x8011 -/* 08B2F8 800F1E48 8063D656 */ lb $v1, -0x29aa($v1) -/* 08B2FC 800F1E4C 24020014 */ addiu $v0, $zero, 0x14 -/* 08B300 800F1E50 AFA20014 */ sw $v0, 0x14($sp) -/* 08B304 800F1E54 3C02800F */ lui $v0, 0x800f -/* 08B308 800F1E58 24423680 */ addiu $v0, $v0, 0x3680 -/* 08B30C 800F1E5C AFA20018 */ sw $v0, 0x18($sp) -/* 08B310 800F1E60 2402FFFF */ addiu $v0, $zero, -1 -/* 08B314 800F1E64 AFA0001C */ sw $zero, 0x1c($sp) -/* 08B318 800F1E68 AFA20020 */ sw $v0, 0x20($sp) -/* 08B31C 800F1E6C 00031040 */ sll $v0, $v1, 1 -/* 08B320 800F1E70 00431021 */ addu $v0, $v0, $v1 -/* 08B324 800F1E74 00021080 */ sll $v0, $v0, 2 -/* 08B328 800F1E78 00431021 */ addu $v0, $v0, $v1 -/* 08B32C 800F1E7C 2442001A */ addiu $v0, $v0, 0x1a -/* 08B330 800F1E80 0C051F32 */ jal func_80147CC8 -/* 08B334 800F1E84 AFA20010 */ sw $v0, 0x10($sp) -/* 08B338 800F1E88 3C028011 */ lui $v0, 0x8011 -/* 08B33C 800F1E8C 8C42D69C */ lw $v0, -0x2964($v0) -/* 08B340 800F1E90 8C42031C */ lw $v0, 0x31c($v0) -/* 08B344 800F1E94 14400005 */ bnez $v0, .L800F1EAC -/* 08B348 800F1E98 2404000F */ addiu $a0, $zero, 0xf -/* 08B34C 800F1E9C 24050019 */ addiu $a1, $zero, 0x19 -/* 08B350 800F1EA0 2406FFFA */ addiu $a2, $zero, -6 -/* 08B354 800F1EA4 0803C7AE */ j .L800F1EB8 -/* 08B358 800F1EA8 2407005F */ addiu $a3, $zero, 0x5f - -.L800F1EAC: -/* 08B35C 800F1EAC 2405000C */ addiu $a1, $zero, 0xc -/* 08B360 800F1EB0 2406FFFA */ addiu $a2, $zero, -6 -/* 08B364 800F1EB4 24070079 */ addiu $a3, $zero, 0x79 -.L800F1EB8: -/* 08B368 800F1EB8 24020010 */ addiu $v0, $zero, 0x10 -/* 08B36C 800F1EBC AFA20010 */ sw $v0, 0x10($sp) -/* 08B370 800F1EC0 24020015 */ addiu $v0, $zero, 0x15 -/* 08B374 800F1EC4 AFA20014 */ sw $v0, 0x14($sp) -/* 08B378 800F1EC8 3C02800F */ lui $v0, 0x800f -/* 08B37C 800F1ECC 24424648 */ addiu $v0, $v0, 0x4648 -/* 08B380 800F1ED0 AFA20018 */ sw $v0, 0x18($sp) -/* 08B384 800F1ED4 2402000E */ addiu $v0, $zero, 0xe -/* 08B388 800F1ED8 AFA0001C */ sw $zero, 0x1c($sp) -/* 08B38C 800F1EDC 0C051F32 */ jal func_80147CC8 -/* 08B390 800F1EE0 AFA20020 */ sw $v0, 0x20($sp) -/* 08B394 800F1EE4 2404000F */ addiu $a0, $zero, 0xf -/* 08B398 800F1EE8 0C051F9F */ jal func_80147E7C -/* 08B39C 800F1EEC 24050001 */ addiu $a1, $zero, 1 -/* 08B3A0 800F1EF0 24040011 */ addiu $a0, $zero, 0x11 -/* 08B3A4 800F1EF4 0803C902 */ j .L800F2408 -/* 08B3A8 800F1EF8 24050002 */ addiu $a1, $zero, 2 - -/* 08B3AC 800F1EFC 2404000E */ addiu $a0, $zero, 0xe -/* 08B3B0 800F1F00 2407008B */ addiu $a3, $zero, 0x8b -/* 08B3B4 800F1F04 3C038011 */ lui $v1, 0x8011 -/* 08B3B8 800F1F08 8063D656 */ lb $v1, -0x29aa($v1) -/* 08B3BC 800F1F0C 24020014 */ addiu $v0, $zero, 0x14 -/* 08B3C0 800F1F10 AFA20014 */ sw $v0, 0x14($sp) -/* 08B3C4 800F1F14 3C02800F */ lui $v0, 0x800f -/* 08B3C8 800F1F18 24423680 */ addiu $v0, $v0, 0x3680 -/* 08B3CC 800F1F1C AFA20018 */ sw $v0, 0x18($sp) -/* 08B3D0 800F1F20 2402FFFF */ addiu $v0, $zero, -1 -/* 08B3D4 800F1F24 AFA0001C */ sw $zero, 0x1c($sp) -/* 08B3D8 800F1F28 AFA20020 */ sw $v0, 0x20($sp) -/* 08B3DC 800F1F2C 00031040 */ sll $v0, $v1, 1 -/* 08B3E0 800F1F30 00431021 */ addu $v0, $v0, $v1 -/* 08B3E4 800F1F34 00021080 */ sll $v0, $v0, 2 -/* 08B3E8 800F1F38 00431021 */ addu $v0, $v0, $v1 -/* 08B3EC 800F1F3C 2442001A */ addiu $v0, $v0, 0x1a -/* 08B3F0 800F1F40 0C051F32 */ jal func_80147CC8 -/* 08B3F4 800F1F44 AFA20010 */ sw $v0, 0x10($sp) -/* 08B3F8 800F1F48 24040011 */ addiu $a0, $zero, 0x11 -/* 08B3FC 800F1F4C 0803C8F0 */ j .L800F23C0 -/* 08B400 800F1F50 2405000D */ addiu $a1, $zero, 0xd - -/* 08B404 800F1F54 2404000E */ addiu $a0, $zero, 0xe -/* 08B408 800F1F58 240700A2 */ addiu $a3, $zero, 0xa2 -/* 08B40C 800F1F5C 3C038011 */ lui $v1, 0x8011 -/* 08B410 800F1F60 8063D656 */ lb $v1, -0x29aa($v1) -/* 08B414 800F1F64 24020014 */ addiu $v0, $zero, 0x14 -/* 08B418 800F1F68 AFA20014 */ sw $v0, 0x14($sp) -/* 08B41C 800F1F6C 3C02800F */ lui $v0, 0x800f -/* 08B420 800F1F70 24423680 */ addiu $v0, $v0, 0x3680 -/* 08B424 800F1F74 AFA20018 */ sw $v0, 0x18($sp) -/* 08B428 800F1F78 2402FFFF */ addiu $v0, $zero, -1 -/* 08B42C 800F1F7C AFA0001C */ sw $zero, 0x1c($sp) -/* 08B430 800F1F80 AFA20020 */ sw $v0, 0x20($sp) -/* 08B434 800F1F84 00031040 */ sll $v0, $v1, 1 -/* 08B438 800F1F88 00431021 */ addu $v0, $v0, $v1 -/* 08B43C 800F1F8C 00021080 */ sll $v0, $v0, 2 -/* 08B440 800F1F90 00431021 */ addu $v0, $v0, $v1 -/* 08B444 800F1F94 2442001A */ addiu $v0, $v0, 0x1a -/* 08B448 800F1F98 0C051F32 */ jal func_80147CC8 -/* 08B44C 800F1F9C AFA20010 */ sw $v0, 0x10($sp) -/* 08B450 800F1FA0 2404000F */ addiu $a0, $zero, 0xf -/* 08B454 800F1FA4 24050011 */ addiu $a1, $zero, 0x11 -/* 08B458 800F1FA8 2406FFFA */ addiu $a2, $zero, -6 -/* 08B45C 800F1FAC 24070060 */ addiu $a3, $zero, 0x60 -/* 08B460 800F1FB0 24020010 */ addiu $v0, $zero, 0x10 -/* 08B464 800F1FB4 AFA20010 */ sw $v0, 0x10($sp) -/* 08B468 800F1FB8 24020015 */ addiu $v0, $zero, 0x15 -/* 08B46C 800F1FBC AFA20014 */ sw $v0, 0x14($sp) -/* 08B470 800F1FC0 3C02800F */ lui $v0, 0x800f -/* 08B474 800F1FC4 24424648 */ addiu $v0, $v0, 0x4648 -/* 08B478 800F1FC8 AFA20018 */ sw $v0, 0x18($sp) -/* 08B47C 800F1FCC 2402000E */ addiu $v0, $zero, 0xe -/* 08B480 800F1FD0 AFA0001C */ sw $zero, 0x1c($sp) -/* 08B484 800F1FD4 0C051F32 */ jal func_80147CC8 -/* 08B488 800F1FD8 AFA20020 */ sw $v0, 0x20($sp) -/* 08B48C 800F1FDC 2404000F */ addiu $a0, $zero, 0xf -/* 08B490 800F1FE0 0C051F9F */ jal func_80147E7C -/* 08B494 800F1FE4 24050001 */ addiu $a1, $zero, 1 -/* 08B498 800F1FE8 24040011 */ addiu $a0, $zero, 0x11 -/* 08B49C 800F1FEC 0803C902 */ j .L800F2408 -/* 08B4A0 800F1FF0 24050002 */ addiu $a1, $zero, 2 - -/* 08B4A4 800F1FF4 2404000E */ addiu $a0, $zero, 0xe -/* 08B4A8 800F1FF8 24070092 */ addiu $a3, $zero, 0x92 -/* 08B4AC 800F1FFC 3C038011 */ lui $v1, 0x8011 -/* 08B4B0 800F2000 8063D656 */ lb $v1, -0x29aa($v1) -/* 08B4B4 800F2004 24020014 */ addiu $v0, $zero, 0x14 -/* 08B4B8 800F2008 AFA20014 */ sw $v0, 0x14($sp) -/* 08B4BC 800F200C 3C02800F */ lui $v0, 0x800f -/* 08B4C0 800F2010 24423680 */ addiu $v0, $v0, 0x3680 -/* 08B4C4 800F2014 AFA20018 */ sw $v0, 0x18($sp) -/* 08B4C8 800F2018 2402FFFF */ addiu $v0, $zero, -1 -/* 08B4CC 800F201C AFA0001C */ sw $zero, 0x1c($sp) -/* 08B4D0 800F2020 AFA20020 */ sw $v0, 0x20($sp) -/* 08B4D4 800F2024 00031040 */ sll $v0, $v1, 1 -/* 08B4D8 800F2028 00431021 */ addu $v0, $v0, $v1 -/* 08B4DC 800F202C 00021080 */ sll $v0, $v0, 2 -/* 08B4E0 800F2030 00431021 */ addu $v0, $v0, $v1 -/* 08B4E4 800F2034 2442001A */ addiu $v0, $v0, 0x1a -/* 08B4E8 800F2038 0C051F32 */ jal func_80147CC8 -/* 08B4EC 800F203C AFA20010 */ sw $v0, 0x10($sp) -/* 08B4F0 800F2040 24040011 */ addiu $a0, $zero, 0x11 -/* 08B4F4 800F2044 0803C8F0 */ j .L800F23C0 -/* 08B4F8 800F2048 2405000C */ addiu $a1, $zero, 0xc - -/* 08B4FC 800F204C 2404000E */ addiu $a0, $zero, 0xe -/* 08B500 800F2050 240700A7 */ addiu $a3, $zero, 0xa7 -/* 08B504 800F2054 3C038011 */ lui $v1, 0x8011 -/* 08B508 800F2058 8063D656 */ lb $v1, -0x29aa($v1) -/* 08B50C 800F205C 24020014 */ addiu $v0, $zero, 0x14 -/* 08B510 800F2060 AFA20014 */ sw $v0, 0x14($sp) -/* 08B514 800F2064 3C02800F */ lui $v0, 0x800f -/* 08B518 800F2068 24423680 */ addiu $v0, $v0, 0x3680 -/* 08B51C 800F206C AFA20018 */ sw $v0, 0x18($sp) -/* 08B520 800F2070 2402FFFF */ addiu $v0, $zero, -1 -/* 08B524 800F2074 AFA0001C */ sw $zero, 0x1c($sp) -/* 08B528 800F2078 AFA20020 */ sw $v0, 0x20($sp) -/* 08B52C 800F207C 00031040 */ sll $v0, $v1, 1 -/* 08B530 800F2080 00431021 */ addu $v0, $v0, $v1 -/* 08B534 800F2084 00021080 */ sll $v0, $v0, 2 -/* 08B538 800F2088 00431021 */ addu $v0, $v0, $v1 -/* 08B53C 800F208C 2442001A */ addiu $v0, $v0, 0x1a -/* 08B540 800F2090 0C051F32 */ jal func_80147CC8 -/* 08B544 800F2094 AFA20010 */ sw $v0, 0x10($sp) -/* 08B548 800F2098 2404000F */ addiu $a0, $zero, 0xf -/* 08B54C 800F209C 24050016 */ addiu $a1, $zero, 0x16 -/* 08B550 800F20A0 2406FFFA */ addiu $a2, $zero, -6 -/* 08B554 800F20A4 2407005F */ addiu $a3, $zero, 0x5f -/* 08B558 800F20A8 24020010 */ addiu $v0, $zero, 0x10 -/* 08B55C 800F20AC AFA20010 */ sw $v0, 0x10($sp) -/* 08B560 800F20B0 24020015 */ addiu $v0, $zero, 0x15 -/* 08B564 800F20B4 AFA20014 */ sw $v0, 0x14($sp) -/* 08B568 800F20B8 3C02800F */ lui $v0, 0x800f -/* 08B56C 800F20BC 24424648 */ addiu $v0, $v0, 0x4648 -/* 08B570 800F20C0 AFA20018 */ sw $v0, 0x18($sp) -/* 08B574 800F20C4 2402000E */ addiu $v0, $zero, 0xe -/* 08B578 800F20C8 AFA0001C */ sw $zero, 0x1c($sp) -/* 08B57C 800F20CC 0C051F32 */ jal func_80147CC8 -/* 08B580 800F20D0 AFA20020 */ sw $v0, 0x20($sp) -/* 08B584 800F20D4 2404000F */ addiu $a0, $zero, 0xf -/* 08B588 800F20D8 0C051F9F */ jal func_80147E7C -/* 08B58C 800F20DC 24050001 */ addiu $a1, $zero, 1 -/* 08B590 800F20E0 24040011 */ addiu $a0, $zero, 0x11 -/* 08B594 800F20E4 0803C902 */ j .L800F2408 -/* 08B598 800F20E8 24050002 */ addiu $a1, $zero, 2 - -/* 08B59C 800F20EC 2404000E */ addiu $a0, $zero, 0xe -/* 08B5A0 800F20F0 240700AA */ addiu $a3, $zero, 0xaa -/* 08B5A4 800F20F4 3C038011 */ lui $v1, 0x8011 -/* 08B5A8 800F20F8 8063D656 */ lb $v1, -0x29aa($v1) -/* 08B5AC 800F20FC 24020014 */ addiu $v0, $zero, 0x14 -/* 08B5B0 800F2100 AFA20014 */ sw $v0, 0x14($sp) -/* 08B5B4 800F2104 3C02800F */ lui $v0, 0x800f -/* 08B5B8 800F2108 24423680 */ addiu $v0, $v0, 0x3680 -/* 08B5BC 800F210C AFA20018 */ sw $v0, 0x18($sp) -/* 08B5C0 800F2110 2402FFFF */ addiu $v0, $zero, -1 -/* 08B5C4 800F2114 AFA0001C */ sw $zero, 0x1c($sp) -/* 08B5C8 800F2118 AFA20020 */ sw $v0, 0x20($sp) -/* 08B5CC 800F211C 00031040 */ sll $v0, $v1, 1 -/* 08B5D0 800F2120 00431021 */ addu $v0, $v0, $v1 -/* 08B5D4 800F2124 00021080 */ sll $v0, $v0, 2 -/* 08B5D8 800F2128 00431021 */ addu $v0, $v0, $v1 -/* 08B5DC 800F212C 2442001A */ addiu $v0, $v0, 0x1a -/* 08B5E0 800F2130 0C051F32 */ jal func_80147CC8 -/* 08B5E4 800F2134 AFA20010 */ sw $v0, 0x10($sp) -/* 08B5E8 800F2138 2404000F */ addiu $a0, $zero, 0xf -/* 08B5EC 800F213C 24050020 */ addiu $a1, $zero, 0x20 -/* 08B5F0 800F2140 2406FFFA */ addiu $a2, $zero, -6 -/* 08B5F4 800F2144 24070068 */ addiu $a3, $zero, 0x68 -/* 08B5F8 800F2148 24020010 */ addiu $v0, $zero, 0x10 -/* 08B5FC 800F214C AFA20010 */ sw $v0, 0x10($sp) -/* 08B600 800F2150 24020015 */ addiu $v0, $zero, 0x15 -/* 08B604 800F2154 AFA20014 */ sw $v0, 0x14($sp) -/* 08B608 800F2158 3C02800F */ lui $v0, 0x800f -/* 08B60C 800F215C 24424648 */ addiu $v0, $v0, 0x4648 -/* 08B610 800F2160 AFA20018 */ sw $v0, 0x18($sp) -/* 08B614 800F2164 2402000E */ addiu $v0, $zero, 0xe -/* 08B618 800F2168 AFA0001C */ sw $zero, 0x1c($sp) -/* 08B61C 800F216C 0C051F32 */ jal func_80147CC8 -/* 08B620 800F2170 AFA20020 */ sw $v0, 0x20($sp) -/* 08B624 800F2174 2404000F */ addiu $a0, $zero, 0xf -/* 08B628 800F2178 0C051F9F */ jal func_80147E7C -/* 08B62C 800F217C 24050001 */ addiu $a1, $zero, 1 -/* 08B630 800F2180 24040011 */ addiu $a0, $zero, 0x11 -/* 08B634 800F2184 0803C902 */ j .L800F2408 -/* 08B638 800F2188 24050002 */ addiu $a1, $zero, 2 - -/* 08B63C 800F218C 2404000E */ addiu $a0, $zero, 0xe -/* 08B640 800F2190 24070091 */ addiu $a3, $zero, 0x91 -/* 08B644 800F2194 3C038011 */ lui $v1, 0x8011 -/* 08B648 800F2198 8063D656 */ lb $v1, -0x29aa($v1) -/* 08B64C 800F219C 24020014 */ addiu $v0, $zero, 0x14 -/* 08B650 800F21A0 AFA20014 */ sw $v0, 0x14($sp) -/* 08B654 800F21A4 3C02800F */ lui $v0, 0x800f -/* 08B658 800F21A8 24423680 */ addiu $v0, $v0, 0x3680 -/* 08B65C 800F21AC AFA20018 */ sw $v0, 0x18($sp) -/* 08B660 800F21B0 2402FFFF */ addiu $v0, $zero, -1 -/* 08B664 800F21B4 AFA0001C */ sw $zero, 0x1c($sp) -/* 08B668 800F21B8 AFA20020 */ sw $v0, 0x20($sp) -/* 08B66C 800F21BC 00031040 */ sll $v0, $v1, 1 -/* 08B670 800F21C0 00431021 */ addu $v0, $v0, $v1 -/* 08B674 800F21C4 00021080 */ sll $v0, $v0, 2 -/* 08B678 800F21C8 00431021 */ addu $v0, $v0, $v1 -/* 08B67C 800F21CC 2442001A */ addiu $v0, $v0, 0x1a -/* 08B680 800F21D0 0C051F32 */ jal func_80147CC8 -/* 08B684 800F21D4 AFA20010 */ sw $v0, 0x10($sp) -/* 08B688 800F21D8 2404000F */ addiu $a0, $zero, 0xf -/* 08B68C 800F21DC 2405000C */ addiu $a1, $zero, 0xc -/* 08B690 800F21E0 2406FFFA */ addiu $a2, $zero, -6 -/* 08B694 800F21E4 24070079 */ addiu $a3, $zero, 0x79 -/* 08B698 800F21E8 24020010 */ addiu $v0, $zero, 0x10 -/* 08B69C 800F21EC AFA20010 */ sw $v0, 0x10($sp) -/* 08B6A0 800F21F0 24020015 */ addiu $v0, $zero, 0x15 -/* 08B6A4 800F21F4 AFA20014 */ sw $v0, 0x14($sp) -/* 08B6A8 800F21F8 3C02800F */ lui $v0, 0x800f -/* 08B6AC 800F21FC 24424648 */ addiu $v0, $v0, 0x4648 -/* 08B6B0 800F2200 AFA20018 */ sw $v0, 0x18($sp) -/* 08B6B4 800F2204 2402000E */ addiu $v0, $zero, 0xe -/* 08B6B8 800F2208 AFA0001C */ sw $zero, 0x1c($sp) -/* 08B6BC 800F220C 0C051F32 */ jal func_80147CC8 -/* 08B6C0 800F2210 AFA20020 */ sw $v0, 0x20($sp) -/* 08B6C4 800F2214 2404000F */ addiu $a0, $zero, 0xf -/* 08B6C8 800F2218 0C051F9F */ jal func_80147E7C -/* 08B6CC 800F221C 24050001 */ addiu $a1, $zero, 1 -/* 08B6D0 800F2220 24040011 */ addiu $a0, $zero, 0x11 -/* 08B6D4 800F2224 0803C902 */ j .L800F2408 -/* 08B6D8 800F2228 24050002 */ addiu $a1, $zero, 2 - -/* 08B6DC 800F222C 2404000E */ addiu $a0, $zero, 0xe -/* 08B6E0 800F2230 24070080 */ addiu $a3, $zero, 0x80 -/* 08B6E4 800F2234 3C038011 */ lui $v1, 0x8011 -/* 08B6E8 800F2238 8063D656 */ lb $v1, -0x29aa($v1) -/* 08B6EC 800F223C 24020014 */ addiu $v0, $zero, 0x14 -/* 08B6F0 800F2240 AFA20014 */ sw $v0, 0x14($sp) -/* 08B6F4 800F2244 3C02800F */ lui $v0, 0x800f -/* 08B6F8 800F2248 24423680 */ addiu $v0, $v0, 0x3680 -/* 08B6FC 800F224C AFA20018 */ sw $v0, 0x18($sp) -/* 08B700 800F2250 2402FFFF */ addiu $v0, $zero, -1 -/* 08B704 800F2254 AFA0001C */ sw $zero, 0x1c($sp) -/* 08B708 800F2258 AFA20020 */ sw $v0, 0x20($sp) -/* 08B70C 800F225C 00031040 */ sll $v0, $v1, 1 -/* 08B710 800F2260 00431021 */ addu $v0, $v0, $v1 -/* 08B714 800F2264 00021080 */ sll $v0, $v0, 2 -/* 08B718 800F2268 00431021 */ addu $v0, $v0, $v1 -/* 08B71C 800F226C 2442001A */ addiu $v0, $v0, 0x1a -/* 08B720 800F2270 0C051F32 */ jal func_80147CC8 -/* 08B724 800F2274 AFA20010 */ sw $v0, 0x10($sp) -/* 08B728 800F2278 2404000F */ addiu $a0, $zero, 0xf -/* 08B72C 800F227C 2405000C */ addiu $a1, $zero, 0xc -/* 08B730 800F2280 2406FFFA */ addiu $a2, $zero, -6 -/* 08B734 800F2284 24070068 */ addiu $a3, $zero, 0x68 -/* 08B738 800F2288 24020010 */ addiu $v0, $zero, 0x10 -/* 08B73C 800F228C AFA20010 */ sw $v0, 0x10($sp) -/* 08B740 800F2290 24020015 */ addiu $v0, $zero, 0x15 -/* 08B744 800F2294 AFA20014 */ sw $v0, 0x14($sp) -/* 08B748 800F2298 3C02800F */ lui $v0, 0x800f -/* 08B74C 800F229C 24424648 */ addiu $v0, $v0, 0x4648 -/* 08B750 800F22A0 AFA20018 */ sw $v0, 0x18($sp) -/* 08B754 800F22A4 2402000E */ addiu $v0, $zero, 0xe -/* 08B758 800F22A8 AFA0001C */ sw $zero, 0x1c($sp) -/* 08B75C 800F22AC 0C051F32 */ jal func_80147CC8 -/* 08B760 800F22B0 AFA20020 */ sw $v0, 0x20($sp) -/* 08B764 800F22B4 2404000F */ addiu $a0, $zero, 0xf -/* 08B768 800F22B8 0C051F9F */ jal func_80147E7C -/* 08B76C 800F22BC 24050001 */ addiu $a1, $zero, 1 -/* 08B770 800F22C0 24040011 */ addiu $a0, $zero, 0x11 -/* 08B774 800F22C4 0803C902 */ j .L800F2408 -/* 08B778 800F22C8 24050002 */ addiu $a1, $zero, 2 - -/* 08B77C 800F22CC 2404000E */ addiu $a0, $zero, 0xe -/* 08B780 800F22D0 24070095 */ addiu $a3, $zero, 0x95 -/* 08B784 800F22D4 3C038011 */ lui $v1, 0x8011 -/* 08B788 800F22D8 8063D656 */ lb $v1, -0x29aa($v1) -/* 08B78C 800F22DC 24020014 */ addiu $v0, $zero, 0x14 -/* 08B790 800F22E0 AFA20014 */ sw $v0, 0x14($sp) -/* 08B794 800F22E4 3C02800F */ lui $v0, 0x800f -/* 08B798 800F22E8 24423680 */ addiu $v0, $v0, 0x3680 -/* 08B79C 800F22EC AFA20018 */ sw $v0, 0x18($sp) -/* 08B7A0 800F22F0 2402FFFF */ addiu $v0, $zero, -1 -/* 08B7A4 800F22F4 AFA0001C */ sw $zero, 0x1c($sp) -/* 08B7A8 800F22F8 AFA20020 */ sw $v0, 0x20($sp) -/* 08B7AC 800F22FC 00031040 */ sll $v0, $v1, 1 -/* 08B7B0 800F2300 00431021 */ addu $v0, $v0, $v1 -/* 08B7B4 800F2304 00021080 */ sll $v0, $v0, 2 -/* 08B7B8 800F2308 00431021 */ addu $v0, $v0, $v1 -/* 08B7BC 800F230C 2442001A */ addiu $v0, $v0, 0x1a -/* 08B7C0 800F2310 0C051F32 */ jal func_80147CC8 -/* 08B7C4 800F2314 AFA20010 */ sw $v0, 0x10($sp) -/* 08B7C8 800F2318 2404000F */ addiu $a0, $zero, 0xf -/* 08B7CC 800F231C 24050006 */ addiu $a1, $zero, 6 -/* 08B7D0 800F2320 2406FFFA */ addiu $a2, $zero, -6 -/* 08B7D4 800F2324 2407008B */ addiu $a3, $zero, 0x8b -/* 08B7D8 800F2328 24020010 */ addiu $v0, $zero, 0x10 -/* 08B7DC 800F232C AFA20010 */ sw $v0, 0x10($sp) -/* 08B7E0 800F2330 24020015 */ addiu $v0, $zero, 0x15 -/* 08B7E4 800F2334 AFA20014 */ sw $v0, 0x14($sp) -/* 08B7E8 800F2338 3C02800F */ lui $v0, 0x800f -/* 08B7EC 800F233C 24424648 */ addiu $v0, $v0, 0x4648 -/* 08B7F0 800F2340 AFA20018 */ sw $v0, 0x18($sp) -/* 08B7F4 800F2344 2402000E */ addiu $v0, $zero, 0xe -/* 08B7F8 800F2348 AFA0001C */ sw $zero, 0x1c($sp) -/* 08B7FC 800F234C 0C051F32 */ jal func_80147CC8 -/* 08B800 800F2350 AFA20020 */ sw $v0, 0x20($sp) -/* 08B804 800F2354 2404000F */ addiu $a0, $zero, 0xf -/* 08B808 800F2358 0C051F9F */ jal func_80147E7C -/* 08B80C 800F235C 24050001 */ addiu $a1, $zero, 1 -/* 08B810 800F2360 24040011 */ addiu $a0, $zero, 0x11 -/* 08B814 800F2364 0803C902 */ j .L800F2408 -/* 08B818 800F2368 24050002 */ addiu $a1, $zero, 2 - -/* 08B81C 800F236C 2404000E */ addiu $a0, $zero, 0xe -/* 08B820 800F2370 24070083 */ addiu $a3, $zero, 0x83 -/* 08B824 800F2374 3C038011 */ lui $v1, 0x8011 -/* 08B828 800F2378 8063D656 */ lb $v1, -0x29aa($v1) -/* 08B82C 800F237C 24020014 */ addiu $v0, $zero, 0x14 -/* 08B830 800F2380 AFA20014 */ sw $v0, 0x14($sp) -/* 08B834 800F2384 3C02800F */ lui $v0, 0x800f -/* 08B838 800F2388 24423680 */ addiu $v0, $v0, 0x3680 -/* 08B83C 800F238C AFA20018 */ sw $v0, 0x18($sp) -/* 08B840 800F2390 2402FFFF */ addiu $v0, $zero, -1 -/* 08B844 800F2394 AFA0001C */ sw $zero, 0x1c($sp) -/* 08B848 800F2398 AFA20020 */ sw $v0, 0x20($sp) -/* 08B84C 800F239C 00031040 */ sll $v0, $v1, 1 -/* 08B850 800F23A0 00431021 */ addu $v0, $v0, $v1 -/* 08B854 800F23A4 00021080 */ sll $v0, $v0, 2 -/* 08B858 800F23A8 00431021 */ addu $v0, $v0, $v1 -/* 08B85C 800F23AC 2442001A */ addiu $v0, $v0, 0x1a -/* 08B860 800F23B0 0C051F32 */ jal func_80147CC8 -/* 08B864 800F23B4 AFA20010 */ sw $v0, 0x10($sp) -/* 08B868 800F23B8 24040011 */ addiu $a0, $zero, 0x11 -/* 08B86C 800F23BC 2405000A */ addiu $a1, $zero, 0xa -.L800F23C0: -/* 08B870 800F23C0 2406FFFA */ addiu $a2, $zero, -6 -/* 08B874 800F23C4 24070072 */ addiu $a3, $zero, 0x72 -/* 08B878 800F23C8 24020010 */ addiu $v0, $zero, 0x10 -/* 08B87C 800F23CC AFA20010 */ sw $v0, 0x10($sp) -/* 08B880 800F23D0 24020015 */ addiu $v0, $zero, 0x15 -/* 08B884 800F23D4 AFA20014 */ sw $v0, 0x14($sp) -/* 08B888 800F23D8 3C02800F */ lui $v0, 0x800f -/* 08B88C 800F23DC 24424648 */ addiu $v0, $v0, 0x4648 -/* 08B890 800F23E0 AFA20018 */ sw $v0, 0x18($sp) -/* 08B894 800F23E4 2402000E */ addiu $v0, $zero, 0xe -/* 08B898 800F23E8 AFA0001C */ sw $zero, 0x1c($sp) -/* 08B89C 800F23EC 0C051F32 */ jal func_80147CC8 -/* 08B8A0 800F23F0 AFA20020 */ sw $v0, 0x20($sp) -/* 08B8A4 800F23F4 2404000F */ addiu $a0, $zero, 0xf -/* 08B8A8 800F23F8 0C051F9F */ jal func_80147E7C -/* 08B8AC 800F23FC 24050002 */ addiu $a1, $zero, 2 -/* 08B8B0 800F2400 24040011 */ addiu $a0, $zero, 0x11 -/* 08B8B4 800F2404 24050001 */ addiu $a1, $zero, 1 -.L800F2408: -/* 08B8B8 800F2408 0C051F9F */ jal func_80147E7C -/* 08B8BC 800F240C 00000000 */ nop -.L800F2410: -/* 08B8C0 800F2410 3C028011 */ lui $v0, 0x8011 -/* 08B8C4 800F2414 8C42D69C */ lw $v0, -0x2964($v0) -/* 08B8C8 800F2418 8C430318 */ lw $v1, 0x318($v0) -/* 08B8CC 800F241C 24020003 */ addiu $v0, $zero, 3 -/* 08B8D0 800F2420 10620005 */ beq $v1, $v0, .L800F2438 -/* 08B8D4 800F2424 24020005 */ addiu $v0, $zero, 5 -/* 08B8D8 800F2428 10620006 */ beq $v1, $v0, .L800F2444 -/* 08B8DC 800F242C 24040010 */ addiu $a0, $zero, 0x10 -/* 08B8E0 800F2430 0803C91F */ j .L800F247C -/* 08B8E4 800F2434 00000000 */ nop - -.L800F2438: -/* 08B8E8 800F2438 24040010 */ addiu $a0, $zero, 0x10 -/* 08B8EC 800F243C 0803C912 */ j .L800F2448 -/* 08B8F0 800F2440 2405007E */ addiu $a1, $zero, 0x7e - -.L800F2444: -/* 08B8F4 800F2444 24050083 */ addiu $a1, $zero, 0x83 -.L800F2448: -/* 08B8F8 800F2448 2406FFF2 */ addiu $a2, $zero, -0xe -/* 08B8FC 800F244C 24070020 */ addiu $a3, $zero, 0x20 -/* 08B900 800F2450 00E0102D */ daddu $v0, $a3, $zero -/* 08B904 800F2454 AFA20010 */ sw $v0, 0x10($sp) -/* 08B908 800F2458 24020015 */ addiu $v0, $zero, 0x15 -/* 08B90C 800F245C AFA20014 */ sw $v0, 0x14($sp) -/* 08B910 800F2460 3C02800F */ lui $v0, 0x800f -/* 08B914 800F2464 24424C6C */ addiu $v0, $v0, 0x4c6c -/* 08B918 800F2468 AFA20018 */ sw $v0, 0x18($sp) -/* 08B91C 800F246C 2402000E */ addiu $v0, $zero, 0xe -/* 08B920 800F2470 AFA0001C */ sw $zero, 0x1c($sp) -/* 08B924 800F2474 0C051F32 */ jal func_80147CC8 -/* 08B928 800F2478 AFA20020 */ sw $v0, 0x20($sp) -.L800F247C: -/* 08B92C 800F247C 3C108011 */ lui $s0, 0x8011 -/* 08B930 800F2480 2610D69C */ addiu $s0, $s0, -0x2964 -/* 08B934 800F2484 8E020000 */ lw $v0, ($s0) -/* 08B938 800F2488 8C430318 */ lw $v1, 0x318($v0) -/* 08B93C 800F248C 24020003 */ addiu $v0, $zero, 3 -/* 08B940 800F2490 14620011 */ bne $v1, $v0, .L800F24D8 -/* 08B944 800F2494 24040014 */ addiu $a0, $zero, 0x14 -/* 08B948 800F2498 24070040 */ addiu $a3, $zero, 0x40 -/* 08B94C 800F249C 3C058011 */ lui $a1, 0x8011 -/* 08B950 800F24A0 84A5D688 */ lh $a1, -0x2978($a1) -/* 08B954 800F24A4 3C068011 */ lui $a2, 0x8011 -/* 08B958 800F24A8 84C6D68A */ lh $a2, -0x2976($a2) -/* 08B95C 800F24AC 0080102D */ daddu $v0, $a0, $zero -/* 08B960 800F24B0 AFA20010 */ sw $v0, 0x10($sp) -/* 08B964 800F24B4 24020015 */ addiu $v0, $zero, 0x15 -/* 08B968 800F24B8 AFA20014 */ sw $v0, 0x14($sp) -/* 08B96C 800F24BC 3C02800F */ lui $v0, 0x800f -/* 08B970 800F24C0 24424D28 */ addiu $v0, $v0, 0x4d28 -/* 08B974 800F24C4 AFA20018 */ sw $v0, 0x18($sp) -/* 08B978 800F24C8 2402FFFF */ addiu $v0, $zero, -1 -/* 08B97C 800F24CC AFA0001C */ sw $zero, 0x1c($sp) -/* 08B980 800F24D0 0C051F32 */ jal func_80147CC8 -/* 08B984 800F24D4 AFA20020 */ sw $v0, 0x20($sp) -.L800F24D8: -/* 08B988 800F24D8 3C078011 */ lui $a3, 0x8011 -/* 08B98C 800F24DC 24E7D654 */ addiu $a3, $a3, -0x29ac -/* 08B990 800F24E0 0200582D */ daddu $t3, $s0, $zero -/* 08B994 800F24E4 3C0A8011 */ lui $t2, 0x8011 -/* 08B998 800F24E8 254AD68F */ addiu $t2, $t2, -0x2971 -/* 08B99C 800F24EC 3C098011 */ lui $t1, 0x8011 -/* 08B9A0 800F24F0 8129D655 */ lb $t1, -0x29ab($t1) -/* 08B9A4 800F24F4 3C088011 */ lui $t0, 0x8011 -/* 08B9A8 800F24F8 8D08D648 */ lw $t0, -0x29b8($t0) -.L800F24FC: -/* 08B9AC 800F24FC 80E20000 */ lb $v0, ($a3) -/* 08B9B0 800F2500 90E30000 */ lbu $v1, ($a3) -/* 08B9B4 800F2504 00491021 */ addu $v0, $v0, $t1 -/* 08B9B8 800F2508 2442FFFF */ addiu $v0, $v0, -1 -/* 08B9BC 800F250C 0102102A */ slt $v0, $t0, $v0 -/* 08B9C0 800F2510 14400013 */ bnez $v0, .L800F2560 -/* 08B9C4 800F2514 0000302D */ daddu $a2, $zero, $zero -/* 08B9C8 800F2518 24620001 */ addiu $v0, $v1, 1 -/* 08B9CC 800F251C A0E20000 */ sb $v0, ($a3) -/* 08B9D0 800F2520 00021600 */ sll $v0, $v0, 0x18 -/* 08B9D4 800F2524 8D650000 */ lw $a1, ($t3) -/* 08B9D8 800F2528 81440000 */ lb $a0, ($t2) -/* 08B9DC 800F252C 8CA30324 */ lw $v1, 0x324($a1) -/* 08B9E0 800F2530 00021603 */ sra $v0, $v0, 0x18 -/* 08B9E4 800F2534 00641823 */ subu $v1, $v1, $a0 -/* 08B9E8 800F2538 0062182A */ slt $v1, $v1, $v0 -/* 08B9EC 800F253C 91440000 */ lbu $a0, ($t2) -/* 08B9F0 800F2540 50600007 */ beql $v1, $zero, .L800F2560 -/* 08B9F4 800F2544 24060001 */ addiu $a2, $zero, 1 -/* 08B9F8 800F2548 90A20327 */ lbu $v0, 0x327($a1) -/* 08B9FC 800F254C 00441023 */ subu $v0, $v0, $a0 -/* 08BA00 800F2550 A0E20000 */ sb $v0, ($a3) -/* 08BA04 800F2554 00021600 */ sll $v0, $v0, 0x18 -/* 08BA08 800F2558 04420001 */ bltzl $v0, .L800F2560 -/* 08BA0C 800F255C A0E00000 */ sb $zero, ($a3) -.L800F2560: -/* 08BA10 800F2560 14C0FFE6 */ bnez $a2, .L800F24FC -/* 08BA14 800F2564 00000000 */ nop -/* 08BA18 800F2568 3C038011 */ lui $v1, 0x8011 -/* 08BA1C 800F256C 9063D654 */ lbu $v1, -0x29ac($v1) -/* 08BA20 800F2570 3C028011 */ lui $v0, 0x8011 -/* 08BA24 800F2574 9042D68F */ lbu $v0, -0x2971($v0) -/* 08BA28 800F2578 3C048011 */ lui $a0, 0x8011 -/* 08BA2C 800F257C 8C84D69C */ lw $a0, -0x2964($a0) -/* 08BA30 800F2580 00621021 */ addu $v0, $v1, $v0 -/* 08BA34 800F2584 00031E00 */ sll $v1, $v1, 0x18 -/* 08BA38 800F2588 00031E03 */ sra $v1, $v1, 0x18 -/* 08BA3C 800F258C 00031823 */ negu $v1, $v1 -/* 08BA40 800F2590 3C018011 */ lui $at, 0x8011 -/* 08BA44 800F2594 A022D655 */ sb $v0, -0x29ab($at) -/* 08BA48 800F2598 00031040 */ sll $v0, $v1, 1 -/* 08BA4C 800F259C 00431021 */ addu $v0, $v0, $v1 -/* 08BA50 800F25A0 00021080 */ sll $v0, $v0, 2 -/* 08BA54 800F25A4 8C840318 */ lw $a0, 0x318($a0) -/* 08BA58 800F25A8 00431021 */ addu $v0, $v0, $v1 -/* 08BA5C 800F25AC 3C018011 */ lui $at, 0x8011 -/* 08BA60 800F25B0 A422D658 */ sh $v0, -0x29a8($at) -/* 08BA64 800F25B4 04800016 */ bltz $a0, .L800F2610 -/* 08BA68 800F25B8 2882000A */ slti $v0, $a0, 0xa -/* 08BA6C 800F25BC 54400004 */ bnel $v0, $zero, .L800F25D0 -/* 08BA70 800F25C0 24040013 */ addiu $a0, $zero, 0x13 -/* 08BA74 800F25C4 2402000C */ addiu $v0, $zero, 0xc -/* 08BA78 800F25C8 14820011 */ bne $a0, $v0, .L800F2610 -/* 08BA7C 800F25CC 24040013 */ addiu $a0, $zero, 0x13 -.L800F25D0: -/* 08BA80 800F25D0 24070118 */ addiu $a3, $zero, 0x118 -/* 08BA84 800F25D4 3C058011 */ lui $a1, 0x8011 -/* 08BA88 800F25D8 84A5D680 */ lh $a1, -0x2980($a1) -/* 08BA8C 800F25DC 3C068011 */ lui $a2, 0x8011 -/* 08BA90 800F25E0 84C6D682 */ lh $a2, -0x297e($a2) -/* 08BA94 800F25E4 24020020 */ addiu $v0, $zero, 0x20 -/* 08BA98 800F25E8 AFA20010 */ sw $v0, 0x10($sp) -/* 08BA9C 800F25EC 24020014 */ addiu $v0, $zero, 0x14 -/* 08BAA0 800F25F0 AFA20014 */ sw $v0, 0x14($sp) -/* 08BAA4 800F25F4 3C02800F */ lui $v0, 0x800f -/* 08BAA8 800F25F8 244248F4 */ addiu $v0, $v0, 0x48f4 -/* 08BAAC 800F25FC AFA20018 */ sw $v0, 0x18($sp) -/* 08BAB0 800F2600 2402FFFF */ addiu $v0, $zero, -1 -/* 08BAB4 800F2604 AFA0001C */ sw $zero, 0x1c($sp) -/* 08BAB8 800F2608 0C051F32 */ jal func_80147CC8 -/* 08BABC 800F260C AFA20020 */ sw $v0, 0x20($sp) -.L800F2610: -/* 08BAC0 800F2610 3C028011 */ lui $v0, 0x8011 -/* 08BAC4 800F2614 8C42D69C */ lw $v0, -0x2964($v0) -/* 08BAC8 800F2618 3C058011 */ lui $a1, 0x8011 -/* 08BACC 800F261C 84A5D684 */ lh $a1, -0x297c($a1) -/* 08BAD0 800F2620 8C430318 */ lw $v1, 0x318($v0) -/* 08BAD4 800F2624 3C068011 */ lui $a2, 0x8011 -/* 08BAD8 800F2628 84C6D686 */ lh $a2, -0x297a($a2) -/* 08BADC 800F262C 2C62000E */ sltiu $v0, $v1, 0xe -/* 08BAE0 800F2630 10400026 */ beqz $v0, .L800F26CC -/* 08BAE4 800F2634 00031080 */ sll $v0, $v1, 2 -/* 08BAE8 800F2638 3C018011 */ lui $at, 0x8011 -/* 08BAEC 800F263C 00220821 */ addu $at, $at, $v0 -/* 08BAF0 800F2640 8C22C608 */ lw $v0, -0x39f8($at) -/* 08BAF4 800F2644 00400008 */ jr $v0 -/* 08BAF8 800F2648 00000000 */ nop -/* 08BAFC 800F264C 24040015 */ addiu $a0, $zero, 0x15 -/* 08BB00 800F2650 0803C9A8 */ j .L800F26A0 -/* 08BB04 800F2654 24070090 */ addiu $a3, $zero, 0x90 - -/* 08BB08 800F2658 24040015 */ addiu $a0, $zero, 0x15 -/* 08BB0C 800F265C 24070090 */ addiu $a3, $zero, 0x90 -/* 08BB10 800F2660 0803C9A9 */ j .L800F26A4 -/* 08BB14 800F2664 24020028 */ addiu $v0, $zero, 0x28 - -/* 08BB18 800F2668 24040015 */ addiu $a0, $zero, 0x15 -/* 08BB1C 800F266C 24070080 */ addiu $a3, $zero, 0x80 -/* 08BB20 800F2670 0803C9A9 */ j .L800F26A4 -/* 08BB24 800F2674 24020028 */ addiu $v0, $zero, 0x28 - -/* 08BB28 800F2678 24040015 */ addiu $a0, $zero, 0x15 -/* 08BB2C 800F267C 24070088 */ addiu $a3, $zero, 0x88 -/* 08BB30 800F2680 0803C9A9 */ j .L800F26A4 -/* 08BB34 800F2684 24020028 */ addiu $v0, $zero, 0x28 - -/* 08BB38 800F2688 24040015 */ addiu $a0, $zero, 0x15 -/* 08BB3C 800F268C 24070070 */ addiu $a3, $zero, 0x70 -/* 08BB40 800F2690 0803C9A9 */ j .L800F26A4 -/* 08BB44 800F2694 24020028 */ addiu $v0, $zero, 0x28 - -/* 08BB48 800F2698 24040015 */ addiu $a0, $zero, 0x15 -/* 08BB4C 800F269C 24070078 */ addiu $a3, $zero, 0x78 -.L800F26A0: -/* 08BB50 800F26A0 24020020 */ addiu $v0, $zero, 0x20 -.L800F26A4: -/* 08BB54 800F26A4 AFA20010 */ sw $v0, 0x10($sp) -/* 08BB58 800F26A8 24020014 */ addiu $v0, $zero, 0x14 -/* 08BB5C 800F26AC AFA20014 */ sw $v0, 0x14($sp) -/* 08BB60 800F26B0 3C02800F */ lui $v0, 0x800f -/* 08BB64 800F26B4 24424944 */ addiu $v0, $v0, 0x4944 -/* 08BB68 800F26B8 AFA20018 */ sw $v0, 0x18($sp) -/* 08BB6C 800F26BC 2402FFFF */ addiu $v0, $zero, -1 -/* 08BB70 800F26C0 AFA0001C */ sw $zero, 0x1c($sp) -/* 08BB74 800F26C4 0C051F32 */ jal func_80147CC8 -/* 08BB78 800F26C8 AFA20020 */ sw $v0, 0x20($sp) -.L800F26CC: -/* 08BB7C 800F26CC 3C028011 */ lui $v0, 0x8011 -/* 08BB80 800F26D0 8042D68E */ lb $v0, -0x2972($v0) -/* 08BB84 800F26D4 14400018 */ bnez $v0, .L800F2738 -/* 08BB88 800F26D8 00000000 */ nop -/* 08BB8C 800F26DC 3C028011 */ lui $v0, 0x8011 -/* 08BB90 800F26E0 8C42D69C */ lw $v0, -0x2964($v0) -/* 08BB94 800F26E4 8C430318 */ lw $v1, 0x318($v0) -/* 08BB98 800F26E8 2C62000E */ sltiu $v0, $v1, 0xe -/* 08BB9C 800F26EC 1040003A */ beqz $v0, .L800F27D8 -/* 08BBA0 800F26F0 00031080 */ sll $v0, $v1, 2 -/* 08BBA4 800F26F4 3C018011 */ lui $at, 0x8011 -/* 08BBA8 800F26F8 00220821 */ addu $at, $at, $v0 -/* 08BBAC 800F26FC 8C22C640 */ lw $v0, -0x39c0($at) -/* 08BBB0 800F2700 00400008 */ jr $v0 -/* 08BBB4 800F2704 00000000 */ nop -/* 08BBB8 800F2708 2404000E */ addiu $a0, $zero, 0xe -/* 08BBBC 800F270C 0C051F9F */ jal func_80147E7C -/* 08BBC0 800F2710 24050001 */ addiu $a1, $zero, 1 -/* 08BBC4 800F2714 0803C9F4 */ j .L800F27D0 -/* 08BBC8 800F2718 24040013 */ addiu $a0, $zero, 0x13 - -/* 08BBCC 800F271C 2404000E */ addiu $a0, $zero, 0xe -/* 08BBD0 800F2720 0C051F9F */ jal func_80147E7C -/* 08BBD4 800F2724 24050001 */ addiu $a1, $zero, 1 -/* 08BBD8 800F2728 0803C9F4 */ j .L800F27D0 -/* 08BBDC 800F272C 24040013 */ addiu $a0, $zero, 0x13 - -/* 08BBE0 800F2730 0803C9F4 */ j .L800F27D0 -/* 08BBE4 800F2734 2404000E */ addiu $a0, $zero, 0xe - -.L800F2738: -/* 08BBE8 800F2738 3C028011 */ lui $v0, 0x8011 -/* 08BBEC 800F273C 8C42D69C */ lw $v0, -0x2964($v0) -/* 08BBF0 800F2740 8C430318 */ lw $v1, 0x318($v0) -/* 08BBF4 800F2744 2C62000E */ sltiu $v0, $v1, 0xe -/* 08BBF8 800F2748 10400020 */ beqz $v0, .L800F27CC -/* 08BBFC 800F274C 00031080 */ sll $v0, $v1, 2 -/* 08BC00 800F2750 3C018011 */ lui $at, 0x8011 -/* 08BC04 800F2754 00220821 */ addu $at, $at, $v0 -/* 08BC08 800F2758 8C22C678 */ lw $v0, -0x3988($at) -/* 08BC0C 800F275C 00400008 */ jr $v0 -/* 08BC10 800F2760 00000000 */ nop -/* 08BC14 800F2764 2404000E */ addiu $a0, $zero, 0xe -/* 08BC18 800F2768 3C108014 */ lui $s0, 0x8014 -/* 08BC1C 800F276C 26107474 */ addiu $s0, $s0, 0x7474 -/* 08BC20 800F2770 0C051F9F */ jal func_80147E7C -/* 08BC24 800F2774 0200282D */ daddu $a1, $s0, $zero -/* 08BC28 800F2778 0803C9E6 */ j .L800F2798 -/* 08BC2C 800F277C 24040001 */ addiu $a0, $zero, 1 - -/* 08BC30 800F2780 2404000E */ addiu $a0, $zero, 0xe -/* 08BC34 800F2784 3C108014 */ lui $s0, 0x8014 -/* 08BC38 800F2788 26107474 */ addiu $s0, $s0, 0x7474 -/* 08BC3C 800F278C 0C051F9F */ jal func_80147E7C -/* 08BC40 800F2790 0200282D */ daddu $a1, $s0, $zero -/* 08BC44 800F2794 24040002 */ addiu $a0, $zero, 2 -.L800F2798: -/* 08BC48 800F2798 0C05272D */ jal play_sound -/* 08BC4C 800F279C 00000000 */ nop -/* 08BC50 800F27A0 24040013 */ addiu $a0, $zero, 0x13 -/* 08BC54 800F27A4 0C051F9F */ jal func_80147E7C -/* 08BC58 800F27A8 0200282D */ daddu $a1, $s0, $zero -/* 08BC5C 800F27AC 0803C9F4 */ j .L800F27D0 -/* 08BC60 800F27B0 24040015 */ addiu $a0, $zero, 0x15 - -/* 08BC64 800F27B4 3C058014 */ lui $a1, 0x8014 -/* 08BC68 800F27B8 24A57474 */ addiu $a1, $a1, 0x7474 -/* 08BC6C 800F27BC 0C051F9F */ jal func_80147E7C -/* 08BC70 800F27C0 2404000E */ addiu $a0, $zero, 0xe -/* 08BC74 800F27C4 0C05272D */ jal play_sound -/* 08BC78 800F27C8 24040001 */ addiu $a0, $zero, 1 -.L800F27CC: -/* 08BC7C 800F27CC 24040015 */ addiu $a0, $zero, 0x15 -.L800F27D0: -/* 08BC80 800F27D0 0C051F9F */ jal func_80147E7C -/* 08BC84 800F27D4 24050001 */ addiu $a1, $zero, 1 -.L800F27D8: -/* 08BC88 800F27D8 3C118011 */ lui $s1, 0x8011 -/* 08BC8C 800F27DC 2631D69C */ addiu $s1, $s1, -0x2964 -/* 08BC90 800F27E0 8E220000 */ lw $v0, ($s1) -/* 08BC94 800F27E4 8C430318 */ lw $v1, 0x318($v0) -/* 08BC98 800F27E8 24020003 */ addiu $v0, $zero, 3 -/* 08BC9C 800F27EC 14620008 */ bne $v1, $v0, .L800F2810 -/* 08BCA0 800F27F0 24040010 */ addiu $a0, $zero, 0x10 -/* 08BCA4 800F27F4 3C108014 */ lui $s0, 0x8014 -/* 08BCA8 800F27F8 26107474 */ addiu $s0, $s0, 0x7474 -/* 08BCAC 800F27FC 0C051F9F */ jal func_80147E7C -/* 08BCB0 800F2800 0200282D */ daddu $a1, $s0, $zero -/* 08BCB4 800F2804 24040014 */ addiu $a0, $zero, 0x14 -/* 08BCB8 800F2808 0C051F9F */ jal func_80147E7C -/* 08BCBC 800F280C 0200282D */ daddu $a1, $s0, $zero -.L800F2810: -/* 08BCC0 800F2810 8E220000 */ lw $v0, ($s1) -/* 08BCC4 800F2814 8C430318 */ lw $v1, 0x318($v0) -/* 08BCC8 800F2818 24020004 */ addiu $v0, $zero, 4 -/* 08BCCC 800F281C 14620005 */ bne $v1, $v0, .L800F2834 -/* 08BCD0 800F2820 00000000 */ nop -/* 08BCD4 800F2824 3C058014 */ lui $a1, 0x8014 -/* 08BCD8 800F2828 24A57474 */ addiu $a1, $a1, 0x7474 -/* 08BCDC 800F282C 0C051F9F */ jal func_80147E7C -/* 08BCE0 800F2830 24040012 */ addiu $a0, $zero, 0x12 -.L800F2834: -/* 08BCE4 800F2834 8E220000 */ lw $v0, ($s1) -/* 08BCE8 800F2838 8C430318 */ lw $v1, 0x318($v0) -/* 08BCEC 800F283C 24020005 */ addiu $v0, $zero, 5 -/* 08BCF0 800F2840 14620382 */ bne $v1, $v0, .L800F364C -/* 08BCF4 800F2844 24020001 */ addiu $v0, $zero, 1 -/* 08BCF8 800F2848 3C058014 */ lui $a1, 0x8014 -/* 08BCFC 800F284C 24A57474 */ addiu $a1, $a1, 0x7474 -/* 08BD00 800F2850 0C051F9F */ jal func_80147E7C -/* 08BD04 800F2854 24040010 */ addiu $a0, $zero, 0x10 -/* 08BD08 800F2858 0803CD93 */ j .L800F364C -/* 08BD0C 800F285C 24020001 */ addiu $v0, $zero, 1 - -/* 08BD10 800F2860 3C038011 */ lui $v1, 0x8011 -/* 08BD14 800F2864 2463D644 */ addiu $v1, $v1, -0x29bc -/* 08BD18 800F2868 8C620000 */ lw $v0, ($v1) -/* 08BD1C 800F286C 10400003 */ beqz $v0, .L800F287C -/* 08BD20 800F2870 2442FFFF */ addiu $v0, $v0, -1 -/* 08BD24 800F2874 0803CD95 */ j .L800F3654 -/* 08BD28 800F2878 AC620000 */ sw $v0, ($v1) - -.L800F287C: -/* 08BD2C 800F287C 3C060001 */ lui $a2, 1 -/* 08BD30 800F2880 3C058011 */ lui $a1, 0x8011 -/* 08BD34 800F2884 24A5D648 */ addiu $a1, $a1, -0x29b8 -/* 08BD38 800F2888 3C048007 */ lui $a0, 0x8007 -/* 08BD3C 800F288C 8C84419C */ lw $a0, 0x419c($a0) -/* 08BD40 800F2890 8CA30000 */ lw $v1, ($a1) -/* 08BD44 800F2894 8C820020 */ lw $v0, 0x20($a0) -/* 08BD48 800F2898 34C62000 */ ori $a2, $a2, 0x2000 -/* 08BD4C 800F289C 3C018011 */ lui $at, 0x8011 -/* 08BD50 800F28A0 AC23D64C */ sw $v1, -0x29b4($at) -/* 08BD54 800F28A4 00461024 */ and $v0, $v0, $a2 -/* 08BD58 800F28A8 10400008 */ beqz $v0, .L800F28CC -/* 08BD5C 800F28AC 00000000 */ nop -/* 08BD60 800F28B0 1C600005 */ bgtz $v1, .L800F28C8 -/* 08BD64 800F28B4 2462FFFF */ addiu $v0, $v1, -1 -/* 08BD68 800F28B8 8C820010 */ lw $v0, 0x10($a0) -/* 08BD6C 800F28BC 00461024 */ and $v0, $v0, $a2 -/* 08BD70 800F28C0 10400002 */ beqz $v0, .L800F28CC -/* 08BD74 800F28C4 2462FFFF */ addiu $v0, $v1, -1 -.L800F28C8: -/* 08BD78 800F28C8 ACA20000 */ sw $v0, ($a1) -.L800F28CC: -/* 08BD7C 800F28CC 3C058007 */ lui $a1, 0x8007 -/* 08BD80 800F28D0 8CA5419C */ lw $a1, 0x419c($a1) -/* 08BD84 800F28D4 3C060002 */ lui $a2, 2 -/* 08BD88 800F28D8 8CA20020 */ lw $v0, 0x20($a1) -/* 08BD8C 800F28DC 34C60010 */ ori $a2, $a2, 0x10 -/* 08BD90 800F28E0 00461024 */ and $v0, $v0, $a2 -/* 08BD94 800F28E4 10400010 */ beqz $v0, .L800F2928 -/* 08BD98 800F28E8 00000000 */ nop -/* 08BD9C 800F28EC 3C028011 */ lui $v0, 0x8011 -/* 08BDA0 800F28F0 8C42D69C */ lw $v0, -0x2964($v0) -/* 08BDA4 800F28F4 3C048011 */ lui $a0, 0x8011 -/* 08BDA8 800F28F8 2484D648 */ addiu $a0, $a0, -0x29b8 -/* 08BDAC 800F28FC 8C420324 */ lw $v0, 0x324($v0) -/* 08BDB0 800F2900 8C830000 */ lw $v1, ($a0) -/* 08BDB4 800F2904 2442FFFF */ addiu $v0, $v0, -1 -/* 08BDB8 800F2908 0062102A */ slt $v0, $v1, $v0 -/* 08BDBC 800F290C 14400005 */ bnez $v0, .L800F2924 -/* 08BDC0 800F2910 24620001 */ addiu $v0, $v1, 1 -/* 08BDC4 800F2914 8CA20010 */ lw $v0, 0x10($a1) -/* 08BDC8 800F2918 00461024 */ and $v0, $v0, $a2 -/* 08BDCC 800F291C 10400002 */ beqz $v0, .L800F2928 -/* 08BDD0 800F2920 24620001 */ addiu $v0, $v1, 1 -.L800F2924: -/* 08BDD4 800F2924 AC820000 */ sw $v0, ($a0) -.L800F2928: -/* 08BDD8 800F2928 3C108011 */ lui $s0, 0x8011 -/* 08BDDC 800F292C 2610D648 */ addiu $s0, $s0, -0x29b8 -/* 08BDE0 800F2930 8E020000 */ lw $v0, ($s0) -/* 08BDE4 800F2934 04410006 */ bgez $v0, .L800F2950 -/* 08BDE8 800F2938 00000000 */ nop -/* 08BDEC 800F293C 3C028011 */ lui $v0, 0x8011 -/* 08BDF0 800F2940 8C42D69C */ lw $v0, -0x2964($v0) -/* 08BDF4 800F2944 8C420324 */ lw $v0, 0x324($v0) -/* 08BDF8 800F2948 2442FFFF */ addiu $v0, $v0, -1 -/* 08BDFC 800F294C AE020000 */ sw $v0, ($s0) -.L800F2950: -/* 08BE00 800F2950 3C028011 */ lui $v0, 0x8011 -/* 08BE04 800F2954 8C42D69C */ lw $v0, -0x2964($v0) -/* 08BE08 800F2958 8C420324 */ lw $v0, 0x324($v0) -/* 08BE0C 800F295C 8E030000 */ lw $v1, ($s0) -/* 08BE10 800F2960 2442FFFF */ addiu $v0, $v0, -1 -/* 08BE14 800F2964 0043102A */ slt $v0, $v0, $v1 -/* 08BE18 800F2968 54400001 */ bnel $v0, $zero, .L800F2970 -/* 08BE1C 800F296C AE000000 */ sw $zero, ($s0) -.L800F2970: -/* 08BE20 800F2970 3C038011 */ lui $v1, 0x8011 -/* 08BE24 800F2974 8C63D64C */ lw $v1, -0x29b4($v1) -/* 08BE28 800F2978 8E020000 */ lw $v0, ($s0) -/* 08BE2C 800F297C 10620004 */ beq $v1, $v0, .L800F2990 -/* 08BE30 800F2980 0000302D */ daddu $a2, $zero, $zero -/* 08BE34 800F2984 0C05272D */ jal play_sound -/* 08BE38 800F2988 240400C7 */ addiu $a0, $zero, 0xc7 -/* 08BE3C 800F298C 0000302D */ daddu $a2, $zero, $zero -.L800F2990: -/* 08BE40 800F2990 3C058011 */ lui $a1, 0x8011 -/* 08BE44 800F2994 24A5D654 */ addiu $a1, $a1, -0x29ac -/* 08BE48 800F2998 8E030000 */ lw $v1, ($s0) -.L800F299C: -/* 08BE4C 800F299C 80A20000 */ lb $v0, ($a1) -/* 08BE50 800F29A0 90A40000 */ lbu $a0, ($a1) -/* 08BE54 800F29A4 24420001 */ addiu $v0, $v0, 1 -/* 08BE58 800F29A8 0062102A */ slt $v0, $v1, $v0 -/* 08BE5C 800F29AC 50400007 */ beql $v0, $zero, .L800F29CC -/* 08BE60 800F29B0 24C60001 */ addiu $a2, $a2, 1 -/* 08BE64 800F29B4 2482FFFF */ addiu $v0, $a0, -1 -/* 08BE68 800F29B8 A0A20000 */ sb $v0, ($a1) -/* 08BE6C 800F29BC 00021600 */ sll $v0, $v0, 0x18 -/* 08BE70 800F29C0 04420001 */ bltzl $v0, .L800F29C8 -/* 08BE74 800F29C4 A0A00000 */ sb $zero, ($a1) -.L800F29C8: -/* 08BE78 800F29C8 24C60001 */ addiu $a2, $a2, 1 -.L800F29CC: -/* 08BE7C 800F29CC 28C20004 */ slti $v0, $a2, 4 -/* 08BE80 800F29D0 1440FFF2 */ bnez $v0, .L800F299C -/* 08BE84 800F29D4 00000000 */ nop -/* 08BE88 800F29D8 0000302D */ daddu $a2, $zero, $zero -/* 08BE8C 800F29DC 3C098011 */ lui $t1, 0x8011 -/* 08BE90 800F29E0 2529D655 */ addiu $t1, $t1, -0x29ab -/* 08BE94 800F29E4 3C0A8011 */ lui $t2, 0x8011 -/* 08BE98 800F29E8 8D4AD648 */ lw $t2, -0x29b8($t2) -/* 08BE9C 800F29EC 3C078011 */ lui $a3, 0x8011 -/* 08BEA0 800F29F0 24E7D654 */ addiu $a3, $a3, -0x29ac -/* 08BEA4 800F29F4 3C0B8011 */ lui $t3, 0x8011 -/* 08BEA8 800F29F8 256BD69C */ addiu $t3, $t3, -0x2964 -/* 08BEAC 800F29FC 3C088011 */ lui $t0, 0x8011 -/* 08BEB0 800F2A00 2508D68F */ addiu $t0, $t0, -0x2971 -.L800F2A04: -/* 08BEB4 800F2A04 81220000 */ lb $v0, ($t1) -/* 08BEB8 800F2A08 2442FFFF */ addiu $v0, $v0, -1 -/* 08BEBC 800F2A0C 0142102A */ slt $v0, $t2, $v0 -/* 08BEC0 800F2A10 14400013 */ bnez $v0, .L800F2A60 -/* 08BEC4 800F2A14 00000000 */ nop -/* 08BEC8 800F2A18 90E20000 */ lbu $v0, ($a3) -/* 08BECC 800F2A1C 24420001 */ addiu $v0, $v0, 1 -/* 08BED0 800F2A20 A0E20000 */ sb $v0, ($a3) -/* 08BED4 800F2A24 00021600 */ sll $v0, $v0, 0x18 -/* 08BED8 800F2A28 8D650000 */ lw $a1, ($t3) -/* 08BEDC 800F2A2C 81040000 */ lb $a0, ($t0) -/* 08BEE0 800F2A30 8CA30324 */ lw $v1, 0x324($a1) -/* 08BEE4 800F2A34 00021603 */ sra $v0, $v0, 0x18 -/* 08BEE8 800F2A38 00641823 */ subu $v1, $v1, $a0 -/* 08BEEC 800F2A3C 0062182A */ slt $v1, $v1, $v0 -/* 08BEF0 800F2A40 10600007 */ beqz $v1, .L800F2A60 -/* 08BEF4 800F2A44 91040000 */ lbu $a0, ($t0) -/* 08BEF8 800F2A48 90A20327 */ lbu $v0, 0x327($a1) -/* 08BEFC 800F2A4C 00441023 */ subu $v0, $v0, $a0 -/* 08BF00 800F2A50 A0E20000 */ sb $v0, ($a3) -/* 08BF04 800F2A54 00021600 */ sll $v0, $v0, 0x18 -/* 08BF08 800F2A58 04420001 */ bltzl $v0, .L800F2A60 -/* 08BF0C 800F2A5C A0E00000 */ sb $zero, ($a3) -.L800F2A60: -/* 08BF10 800F2A60 90E20000 */ lbu $v0, ($a3) -/* 08BF14 800F2A64 91030000 */ lbu $v1, ($t0) -/* 08BF18 800F2A68 24C60001 */ addiu $a2, $a2, 1 -/* 08BF1C 800F2A6C 00431021 */ addu $v0, $v0, $v1 -/* 08BF20 800F2A70 A1220000 */ sb $v0, ($t1) -/* 08BF24 800F2A74 28C20004 */ slti $v0, $a2, 4 -/* 08BF28 800F2A78 1440FFE2 */ bnez $v0, .L800F2A04 -/* 08BF2C 800F2A7C 00000000 */ nop -/* 08BF30 800F2A80 3C028007 */ lui $v0, 0x8007 -/* 08BF34 800F2A84 8C42419C */ lw $v0, 0x419c($v0) -/* 08BF38 800F2A88 8C420010 */ lw $v0, 0x10($v0) -/* 08BF3C 800F2A8C 30428000 */ andi $v0, $v0, 0x8000 -/* 08BF40 800F2A90 1040003F */ beqz $v0, .L800F2B90 -/* 08BF44 800F2A94 00000000 */ nop -/* 08BF48 800F2A98 3C028011 */ lui $v0, 0x8011 -/* 08BF4C 800F2A9C 8C42D69C */ lw $v0, -0x2964($v0) -/* 08BF50 800F2AA0 8C430318 */ lw $v1, 0x318($v0) -/* 08BF54 800F2AA4 24020008 */ addiu $v0, $zero, 8 -/* 08BF58 800F2AA8 10620005 */ beq $v1, $v0, .L800F2AC0 -/* 08BF5C 800F2AAC 2402000D */ addiu $v0, $zero, 0xd -/* 08BF60 800F2AB0 1062000B */ beq $v1, $v0, .L800F2AE0 -/* 08BF64 800F2AB4 00000000 */ nop -/* 08BF68 800F2AB8 0803CAC0 */ j .L800F2B00 -/* 08BF6C 800F2ABC 00000000 */ nop - -.L800F2AC0: -/* 08BF70 800F2AC0 0C05272D */ jal play_sound -/* 08BF74 800F2AC4 240400C9 */ addiu $a0, $zero, 0xc9 -/* 08BF78 800F2AC8 3C028011 */ lui $v0, 0x8011 -/* 08BF7C 800F2ACC 8042D68E */ lb $v0, -0x2972($v0) -/* 08BF80 800F2AD0 144002DE */ bnez $v0, .L800F364C -/* 08BF84 800F2AD4 2402FFFE */ addiu $v0, $zero, -2 -/* 08BF88 800F2AD8 0803CD93 */ j .L800F364C -/* 08BF8C 800F2ADC 2402FFFF */ addiu $v0, $zero, -1 - -.L800F2AE0: -/* 08BF90 800F2AE0 0C05272D */ jal play_sound -/* 08BF94 800F2AE4 240400C9 */ addiu $a0, $zero, 0xc9 -/* 08BF98 800F2AE8 3C028011 */ lui $v0, 0x8011 -/* 08BF9C 800F2AEC 8042D68E */ lb $v0, -0x2972($v0) -/* 08BFA0 800F2AF0 144002D6 */ bnez $v0, .L800F364C -/* 08BFA4 800F2AF4 2402FFFE */ addiu $v0, $zero, -2 -/* 08BFA8 800F2AF8 0803CD93 */ j .L800F364C -/* 08BFAC 800F2AFC 2402FFFF */ addiu $v0, $zero, -1 - -.L800F2B00: -/* 08BFB0 800F2B00 3C028011 */ lui $v0, 0x8011 -/* 08BFB4 800F2B04 8C42D648 */ lw $v0, -0x29b8($v0) -/* 08BFB8 800F2B08 3C038011 */ lui $v1, 0x8011 -/* 08BFBC 800F2B0C 8C63D69C */ lw $v1, -0x2964($v1) -/* 08BFC0 800F2B10 00021080 */ sll $v0, $v0, 2 -/* 08BFC4 800F2B14 00621021 */ addu $v0, $v1, $v0 -/* 08BFC8 800F2B18 8C42018C */ lw $v0, 0x18c($v0) -/* 08BFCC 800F2B1C 10400009 */ beqz $v0, .L800F2B44 -/* 08BFD0 800F2B20 24020001 */ addiu $v0, $zero, 1 -/* 08BFD4 800F2B24 0C05272D */ jal play_sound -/* 08BFD8 800F2B28 240400C9 */ addiu $a0, $zero, 0xc9 -/* 08BFDC 800F2B2C 3C028011 */ lui $v0, 0x8011 -/* 08BFE0 800F2B30 8042D68E */ lb $v0, -0x2972($v0) -/* 08BFE4 800F2B34 144002C5 */ bnez $v0, .L800F364C -/* 08BFE8 800F2B38 2402FFFE */ addiu $v0, $zero, -2 -/* 08BFEC 800F2B3C 0803CD93 */ j .L800F364C -/* 08BFF0 800F2B40 2402FFFF */ addiu $v0, $zero, -1 - -.L800F2B44: -/* 08BFF4 800F2B44 8C630318 */ lw $v1, 0x318($v1) -/* 08BFF8 800F2B48 14620005 */ bne $v1, $v0, .L800F2B60 -/* 08BFFC 800F2B4C 00000000 */ nop -/* 08C000 800F2B50 0C05272D */ jal play_sound -/* 08C004 800F2B54 2404021D */ addiu $a0, $zero, 0x21d -/* 08C008 800F2B58 0803CD93 */ j .L800F364C -/* 08C00C 800F2B5C 2402001E */ addiu $v0, $zero, 0x1e - -.L800F2B60: -/* 08C010 800F2B60 3C028011 */ lui $v0, 0x8011 -/* 08C014 800F2B64 8042D68E */ lb $v0, -0x2972($v0) -/* 08C018 800F2B68 104002BA */ beqz $v0, .L800F3654 -/* 08C01C 800F2B6C 00000000 */ nop -/* 08C020 800F2B70 10600003 */ beqz $v1, .L800F2B80 -/* 08C024 800F2B74 24020003 */ addiu $v0, $zero, 3 -/* 08C028 800F2B78 146202B6 */ bne $v1, $v0, .L800F3654 -/* 08C02C 800F2B7C 00000000 */ nop -.L800F2B80: -/* 08C030 800F2B80 0C05272D */ jal play_sound -/* 08C034 800F2B84 2404021D */ addiu $a0, $zero, 0x21d -/* 08C038 800F2B88 0803CD95 */ j .L800F3654 -/* 08C03C 800F2B8C 00000000 */ nop - -.L800F2B90: -/* 08C040 800F2B90 3C028011 */ lui $v0, 0x8011 -/* 08C044 800F2B94 8C42D69C */ lw $v0, -0x2964($v0) -/* 08C048 800F2B98 8C430318 */ lw $v1, 0x318($v0) -/* 08C04C 800F2B9C 2C62000E */ sltiu $v0, $v1, 0xe -/* 08C050 800F2BA0 10400014 */ beqz $v0, .L800F2BF4 -/* 08C054 800F2BA4 00031080 */ sll $v0, $v1, 2 -/* 08C058 800F2BA8 3C018011 */ lui $at, 0x8011 -/* 08C05C 800F2BAC 00220821 */ addu $at, $at, $v0 -/* 08C060 800F2BB0 8C22C6B0 */ lw $v0, -0x3950($at) -/* 08C064 800F2BB4 00400008 */ jr $v0 -/* 08C068 800F2BB8 00000000 */ nop -/* 08C06C 800F2BBC 3C028011 */ lui $v0, 0x8011 -/* 08C070 800F2BC0 8042D68E */ lb $v0, -0x2972($v0) -/* 08C074 800F2BC4 1040000C */ beqz $v0, .L800F2BF8 -/* 08C078 800F2BC8 24034000 */ addiu $v1, $zero, 0x4000 -/* 08C07C 800F2BCC 0803CAFE */ j .L800F2BF8 -/* 08C080 800F2BD0 24034002 */ addiu $v1, $zero, 0x4002 - -/* 08C084 800F2BD4 3C028011 */ lui $v0, 0x8011 -/* 08C088 800F2BD8 8042D68E */ lb $v0, -0x2972($v0) -/* 08C08C 800F2BDC 10400006 */ beqz $v0, .L800F2BF8 -/* 08C090 800F2BE0 24034000 */ addiu $v1, $zero, 0x4000 -/* 08C094 800F2BE4 0803CAFE */ j .L800F2BF8 -/* 08C098 800F2BE8 24034001 */ addiu $v1, $zero, 0x4001 - -/* 08C09C 800F2BEC 0803CAFE */ j .L800F2BF8 -/* 08C0A0 800F2BF0 24034000 */ addiu $v1, $zero, 0x4000 - -.L800F2BF4: -/* 08C0A4 800F2BF4 0000182D */ daddu $v1, $zero, $zero -.L800F2BF8: -/* 08C0A8 800F2BF8 3C028007 */ lui $v0, 0x8007 -/* 08C0AC 800F2BFC 8C42419C */ lw $v0, 0x419c($v0) -/* 08C0B0 800F2C00 8C420010 */ lw $v0, 0x10($v0) -/* 08C0B4 800F2C04 00431024 */ and $v0, $v0, $v1 -/* 08C0B8 800F2C08 10400013 */ beqz $v0, .L800F2C58 -/* 08C0BC 800F2C0C 00000000 */ nop -/* 08C0C0 800F2C10 0C05272D */ jal play_sound -/* 08C0C4 800F2C14 240400CA */ addiu $a0, $zero, 0xca -/* 08C0C8 800F2C18 3C028011 */ lui $v0, 0x8011 -/* 08C0CC 800F2C1C 8042D698 */ lb $v0, -0x2968($v0) -/* 08C0D0 800F2C20 10400007 */ beqz $v0, .L800F2C40 -/* 08C0D4 800F2C24 00000000 */ nop -/* 08C0D8 800F2C28 3C028011 */ lui $v0, 0x8011 -/* 08C0DC 800F2C2C 8042D68E */ lb $v0, -0x2972($v0) -/* 08C0E0 800F2C30 14400286 */ bnez $v0, .L800F364C -/* 08C0E4 800F2C34 2402FFF9 */ addiu $v0, $zero, -7 -/* 08C0E8 800F2C38 0803CD93 */ j .L800F364C -/* 08C0EC 800F2C3C 2402FFFD */ addiu $v0, $zero, -3 - -.L800F2C40: -/* 08C0F0 800F2C40 3C028011 */ lui $v0, 0x8011 -/* 08C0F4 800F2C44 8042D699 */ lb $v0, -0x2967($v0) -/* 08C0F8 800F2C48 14400280 */ bnez $v0, .L800F364C -/* 08C0FC 800F2C4C 24020064 */ addiu $v0, $zero, 0x64 -/* 08C100 800F2C50 0803CD93 */ j .L800F364C -/* 08C104 800F2C54 2402001E */ addiu $v0, $zero, 0x1e - -.L800F2C58: -/* 08C108 800F2C58 3C028011 */ lui $v0, 0x8011 -/* 08C10C 800F2C5C 8C42D69C */ lw $v0, -0x2964($v0) -/* 08C110 800F2C60 8C430318 */ lw $v1, 0x318($v0) -/* 08C114 800F2C64 10600005 */ beqz $v1, .L800F2C7C -/* 08C118 800F2C68 24020001 */ addiu $v0, $zero, 1 -/* 08C11C 800F2C6C 10620005 */ beq $v1, $v0, .L800F2C84 -/* 08C120 800F2C70 0000182D */ daddu $v1, $zero, $zero -/* 08C124 800F2C74 0803CB22 */ j .L800F2C88 -/* 08C128 800F2C78 00000000 */ nop - -.L800F2C7C: -/* 08C12C 800F2C7C 0803CB22 */ j .L800F2C88 -/* 08C130 800F2C80 24030001 */ addiu $v1, $zero, 1 - -.L800F2C84: -/* 08C134 800F2C84 24030002 */ addiu $v1, $zero, 2 -.L800F2C88: -/* 08C138 800F2C88 3C028011 */ lui $v0, 0x8011 -/* 08C13C 800F2C8C 8042D68E */ lb $v0, -0x2972($v0) -/* 08C140 800F2C90 10400270 */ beqz $v0, .L800F3654 -/* 08C144 800F2C94 00000000 */ nop -/* 08C148 800F2C98 3C028007 */ lui $v0, 0x8007 -/* 08C14C 800F2C9C 8C42419C */ lw $v0, 0x419c($v0) -/* 08C150 800F2CA0 8C420010 */ lw $v0, 0x10($v0) -/* 08C154 800F2CA4 00431024 */ and $v0, $v0, $v1 -/* 08C158 800F2CA8 1040026A */ beqz $v0, .L800F3654 -/* 08C15C 800F2CAC 00000000 */ nop -/* 08C160 800F2CB0 0C05272D */ jal play_sound -/* 08C164 800F2CB4 240400CA */ addiu $a0, $zero, 0xca -/* 08C168 800F2CB8 0803CD93 */ j .L800F364C -/* 08C16C 800F2CBC 2402FFFA */ addiu $v0, $zero, -6 - -/* 08C170 800F2CC0 240500A0 */ addiu $a1, $zero, 0xa0 -/* 08C174 800F2CC4 00A0302D */ daddu $a2, $a1, $zero -/* 08C178 800F2CC8 3C048011 */ lui $a0, 0x8011 -/* 08C17C 800F2CCC 8C84D65C */ lw $a0, -0x29a4($a0) -/* 08C180 800F2CD0 0C0513BF */ jal func_80144EFC -/* 08C184 800F2CD4 00A0382D */ daddu $a3, $a1, $zero -/* 08C188 800F2CD8 240500A0 */ addiu $a1, $zero, 0xa0 -/* 08C18C 800F2CDC 00A0302D */ daddu $a2, $a1, $zero -/* 08C190 800F2CE0 3C048011 */ lui $a0, 0x8011 -/* 08C194 800F2CE4 8C84D678 */ lw $a0, -0x2988($a0) -/* 08C198 800F2CE8 0C0513BF */ jal func_80144EFC -/* 08C19C 800F2CEC 00A0382D */ daddu $a3, $a1, $zero -/* 08C1A0 800F2CF0 240500A0 */ addiu $a1, $zero, 0xa0 -/* 08C1A4 800F2CF4 00A0302D */ daddu $a2, $a1, $zero -/* 08C1A8 800F2CF8 3C108011 */ lui $s0, 0x8011 -/* 08C1AC 800F2CFC 2610D66C */ addiu $s0, $s0, -0x2994 -/* 08C1B0 800F2D00 8E040000 */ lw $a0, ($s0) -/* 08C1B4 800F2D04 0C0513BF */ jal func_80144EFC -/* 08C1B8 800F2D08 00A0382D */ daddu $a3, $a1, $zero -/* 08C1BC 800F2D0C 240500A0 */ addiu $a1, $zero, 0xa0 -/* 08C1C0 800F2D10 00A0302D */ daddu $a2, $a1, $zero -/* 08C1C4 800F2D14 3C048011 */ lui $a0, 0x8011 -/* 08C1C8 800F2D18 8C84D670 */ lw $a0, -0x2990($a0) -/* 08C1CC 800F2D1C 0C0513BF */ jal func_80144EFC -/* 08C1D0 800F2D20 00A0382D */ daddu $a3, $a1, $zero -/* 08C1D4 800F2D24 240500A0 */ addiu $a1, $zero, 0xa0 -/* 08C1D8 800F2D28 00A0302D */ daddu $a2, $a1, $zero -/* 08C1DC 800F2D2C 3C048011 */ lui $a0, 0x8011 -/* 08C1E0 800F2D30 8C84D674 */ lw $a0, -0x298c($a0) -/* 08C1E4 800F2D34 0C0513BF */ jal func_80144EFC -/* 08C1E8 800F2D38 00A0382D */ daddu $a3, $a1, $zero -/* 08C1EC 800F2D3C 8E040000 */ lw $a0, ($s0) -/* 08C1F0 800F2D40 3C058010 */ lui $a1, 0x8010 -/* 08C1F4 800F2D44 24A54A00 */ addiu $a1, $a1, 0x4a00 -/* 08C1F8 800F2D48 0C0511FF */ jal set_menu_icon_script -/* 08C1FC 800F2D4C 00000000 */ nop -/* 08C200 800F2D50 3C108011 */ lui $s0, 0x8011 -/* 08C204 800F2D54 2610D69C */ addiu $s0, $s0, -0x2964 -/* 08C208 800F2D58 8E020000 */ lw $v0, ($s0) -/* 08C20C 800F2D5C 8C430318 */ lw $v1, 0x318($v0) -/* 08C210 800F2D60 24020003 */ addiu $v0, $zero, 3 -/* 08C214 800F2D64 1462000C */ bne $v1, $v0, .L800F2D98 -/* 08C218 800F2D68 240500A0 */ addiu $a1, $zero, 0xa0 -/* 08C21C 800F2D6C 00A0302D */ daddu $a2, $a1, $zero -/* 08C220 800F2D70 3C048011 */ lui $a0, 0x8011 -/* 08C224 800F2D74 8C84D660 */ lw $a0, -0x29a0($a0) -/* 08C228 800F2D78 0C0513BF */ jal func_80144EFC -/* 08C22C 800F2D7C 00A0382D */ daddu $a3, $a1, $zero -/* 08C230 800F2D80 240500A0 */ addiu $a1, $zero, 0xa0 -/* 08C234 800F2D84 00A0302D */ daddu $a2, $a1, $zero -/* 08C238 800F2D88 3C048011 */ lui $a0, 0x8011 -/* 08C23C 800F2D8C 8C84D664 */ lw $a0, -0x299c($a0) -/* 08C240 800F2D90 0C0513BF */ jal func_80144EFC -/* 08C244 800F2D94 00A0382D */ daddu $a3, $a1, $zero -.L800F2D98: -/* 08C248 800F2D98 8E020000 */ lw $v0, ($s0) -/* 08C24C 800F2D9C 8C420318 */ lw $v0, 0x318($v0) -/* 08C250 800F2DA0 24110004 */ addiu $s1, $zero, 4 -/* 08C254 800F2DA4 1451000C */ bne $v0, $s1, .L800F2DD8 -/* 08C258 800F2DA8 240500A0 */ addiu $a1, $zero, 0xa0 -/* 08C25C 800F2DAC 00A0302D */ daddu $a2, $a1, $zero -/* 08C260 800F2DB0 3C048011 */ lui $a0, 0x8011 -/* 08C264 800F2DB4 8C84D660 */ lw $a0, -0x29a0($a0) -/* 08C268 800F2DB8 0C0513BF */ jal func_80144EFC -/* 08C26C 800F2DBC 00A0382D */ daddu $a3, $a1, $zero -/* 08C270 800F2DC0 240500A0 */ addiu $a1, $zero, 0xa0 -/* 08C274 800F2DC4 00A0302D */ daddu $a2, $a1, $zero -/* 08C278 800F2DC8 3C048011 */ lui $a0, 0x8011 -/* 08C27C 800F2DCC 8C84D664 */ lw $a0, -0x299c($a0) -/* 08C280 800F2DD0 0C0513BF */ jal func_80144EFC -/* 08C284 800F2DD4 00A0382D */ daddu $a3, $a1, $zero -.L800F2DD8: -/* 08C288 800F2DD8 8E020000 */ lw $v0, ($s0) -/* 08C28C 800F2DDC 8C430318 */ lw $v1, 0x318($v0) -/* 08C290 800F2DE0 24020001 */ addiu $v0, $zero, 1 -/* 08C294 800F2DE4 10620003 */ beq $v1, $v0, .L800F2DF4 -/* 08C298 800F2DE8 00000000 */ nop -/* 08C29C 800F2DEC 14710007 */ bne $v1, $s1, .L800F2E0C -/* 08C2A0 800F2DF0 00000000 */ nop -.L800F2DF4: -/* 08C2A4 800F2DF4 3C048011 */ lui $a0, 0x8011 -/* 08C2A8 800F2DF8 8C84D668 */ lw $a0, -0x2998($a0) -/* 08C2AC 800F2DFC 240500A0 */ addiu $a1, $zero, 0xa0 -/* 08C2B0 800F2E00 00A0302D */ daddu $a2, $a1, $zero -/* 08C2B4 800F2E04 0C0513BF */ jal func_80144EFC -/* 08C2B8 800F2E08 00A0382D */ daddu $a3, $a1, $zero -.L800F2E0C: -/* 08C2BC 800F2E0C 3C108011 */ lui $s0, 0x8011 -/* 08C2C0 800F2E10 2610D69C */ addiu $s0, $s0, -0x2964 -/* 08C2C4 800F2E14 8E020000 */ lw $v0, ($s0) -/* 08C2C8 800F2E18 8C430318 */ lw $v1, 0x318($v0) -/* 08C2CC 800F2E1C 24020005 */ addiu $v0, $zero, 5 -/* 08C2D0 800F2E20 14620006 */ bne $v1, $v0, .L800F2E3C -/* 08C2D4 800F2E24 240500A0 */ addiu $a1, $zero, 0xa0 -/* 08C2D8 800F2E28 3C048011 */ lui $a0, 0x8011 -/* 08C2DC 800F2E2C 8C84D660 */ lw $a0, -0x29a0($a0) -/* 08C2E0 800F2E30 00A0302D */ daddu $a2, $a1, $zero -/* 08C2E4 800F2E34 0C0513BF */ jal func_80144EFC -/* 08C2E8 800F2E38 00A0382D */ daddu $a3, $a1, $zero -.L800F2E3C: -/* 08C2EC 800F2E3C 3C048011 */ lui $a0, 0x8011 -/* 08C2F0 800F2E40 2484D648 */ addiu $a0, $a0, -0x29b8 -/* 08C2F4 800F2E44 8C820000 */ lw $v0, ($a0) -/* 08C2F8 800F2E48 2403000D */ addiu $v1, $zero, 0xd -/* 08C2FC 800F2E4C 3C018011 */ lui $at, 0x8011 -/* 08C300 800F2E50 A023D690 */ sb $v1, -0x2970($at) -/* 08C304 800F2E54 94830002 */ lhu $v1, 2($a0) -/* 08C308 800F2E58 8E040000 */ lw $a0, ($s0) -/* 08C30C 800F2E5C 0803CC01 */ j .L800F3004 -/* 08C310 800F2E60 24420001 */ addiu $v0, $v0, 1 - -/* 08C314 800F2E64 3C038011 */ lui $v1, 0x8011 -/* 08C318 800F2E68 2463D648 */ addiu $v1, $v1, -0x29b8 -/* 08C31C 800F2E6C 8C620000 */ lw $v0, ($v1) -/* 08C320 800F2E70 94630002 */ lhu $v1, 2($v1) -/* 08C324 800F2E74 3C048011 */ lui $a0, 0x8011 -/* 08C328 800F2E78 8C84D69C */ lw $a0, -0x2964($a0) -/* 08C32C 800F2E7C 0803CC01 */ j .L800F3004 -/* 08C330 800F2E80 24420001 */ addiu $v0, $v0, 1 - -/* 08C334 800F2E84 3C028011 */ lui $v0, 0x8011 -/* 08C338 800F2E88 8C42D69C */ lw $v0, -0x2964($v0) -/* 08C33C 800F2E8C 8C430318 */ lw $v1, 0x318($v0) -/* 08C340 800F2E90 2C62000E */ sltiu $v0, $v1, 0xe -/* 08C344 800F2E94 10400013 */ beqz $v0, .L800F2EE4 -/* 08C348 800F2E98 00031080 */ sll $v0, $v1, 2 -/* 08C34C 800F2E9C 3C018011 */ lui $at, 0x8011 -/* 08C350 800F2EA0 00220821 */ addu $at, $at, $v0 -/* 08C354 800F2EA4 8C22C6E8 */ lw $v0, -0x3918($at) -/* 08C358 800F2EA8 00400008 */ jr $v0 -/* 08C35C 800F2EAC 00000000 */ nop -/* 08C360 800F2EB0 2404000E */ addiu $a0, $zero, 0xe -/* 08C364 800F2EB4 0C051F9F */ jal func_80147E7C -/* 08C368 800F2EB8 24050002 */ addiu $a1, $zero, 2 -/* 08C36C 800F2EBC 0803CBB7 */ j .L800F2EDC -/* 08C370 800F2EC0 24040013 */ addiu $a0, $zero, 0x13 - -/* 08C374 800F2EC4 2404000E */ addiu $a0, $zero, 0xe -/* 08C378 800F2EC8 0C051F9F */ jal func_80147E7C -/* 08C37C 800F2ECC 24050002 */ addiu $a1, $zero, 2 -/* 08C380 800F2ED0 0803CBB7 */ j .L800F2EDC -/* 08C384 800F2ED4 24040013 */ addiu $a0, $zero, 0x13 - -/* 08C388 800F2ED8 2404000E */ addiu $a0, $zero, 0xe -.L800F2EDC: -/* 08C38C 800F2EDC 0C051F9F */ jal func_80147E7C -/* 08C390 800F2EE0 24050002 */ addiu $a1, $zero, 2 -.L800F2EE4: -/* 08C394 800F2EE4 0C03C54E */ jal func_800F1538 -/* 08C398 800F2EE8 00000000 */ nop -/* 08C39C 800F2EEC 3C048011 */ lui $a0, 0x8011 -/* 08C3A0 800F2EF0 8C84D694 */ lw $a0, -0x296c($a0) -/* 08C3A4 800F2EF4 0C048D70 */ jal func_801235C0 -/* 08C3A8 800F2EF8 00000000 */ nop -/* 08C3AC 800F2EFC 3C048011 */ lui $a0, 0x8011 -/* 08C3B0 800F2F00 8C84D69C */ lw $a0, -0x2964($a0) -/* 08C3B4 800F2F04 2403FFFB */ addiu $v1, $zero, -5 -/* 08C3B8 800F2F08 3C018011 */ lui $at, 0x8011 -/* 08C3BC 800F2F0C AC23D640 */ sw $v1, -0x29c0($at) -/* 08C3C0 800F2F10 0803CBDA */ j .L800F2F68 -/* 08C3C4 800F2F14 240200FF */ addiu $v0, $zero, 0xff - -/* 08C3C8 800F2F18 3C048011 */ lui $a0, 0x8011 -/* 08C3CC 800F2F1C 8C84D694 */ lw $a0, -0x296c($a0) -/* 08C3D0 800F2F20 0C048D70 */ jal func_801235C0 -/* 08C3D4 800F2F24 00000000 */ nop -/* 08C3D8 800F2F28 3C048011 */ lui $a0, 0x8011 -/* 08C3DC 800F2F2C 8C84D69C */ lw $a0, -0x2964($a0) -/* 08C3E0 800F2F30 2403FFFB */ addiu $v1, $zero, -5 -/* 08C3E4 800F2F34 3C018011 */ lui $at, 0x8011 -/* 08C3E8 800F2F38 AC23D640 */ sw $v1, -0x29c0($at) -/* 08C3EC 800F2F3C 0803CBDA */ j .L800F2F68 -/* 08C3F0 800F2F40 240200FF */ addiu $v0, $zero, 0xff - -/* 08C3F4 800F2F44 240200FF */ addiu $v0, $zero, 0xff -/* 08C3F8 800F2F48 3C048011 */ lui $a0, 0x8011 -/* 08C3FC 800F2F4C 8C84D69C */ lw $a0, -0x2964($a0) -/* 08C400 800F2F50 2403FFFE */ addiu $v1, $zero, -2 -/* 08C404 800F2F54 0803CD99 */ j .L800F3664 -/* 08C408 800F2F58 A483032C */ sh $v1, 0x32c($a0) - -/* 08C40C 800F2F5C 240200FF */ addiu $v0, $zero, 0xff -/* 08C410 800F2F60 3C048011 */ lui $a0, 0x8011 -/* 08C414 800F2F64 8C84D69C */ lw $a0, -0x2964($a0) -.L800F2F68: -/* 08C418 800F2F68 0040182D */ daddu $v1, $v0, $zero -/* 08C41C 800F2F6C 0803CD99 */ j .L800F3664 -/* 08C420 800F2F70 A483032C */ sh $v1, 0x32c($a0) - -/* 08C424 800F2F74 3C038011 */ lui $v1, 0x8011 -/* 08C428 800F2F78 2463D644 */ addiu $v1, $v1, -0x29bc -/* 08C42C 800F2F7C 8C620000 */ lw $v0, ($v1) -/* 08C430 800F2F80 2442FFFF */ addiu $v0, $v0, -1 -/* 08C434 800F2F84 144001B3 */ bnez $v0, .L800F3654 -/* 08C438 800F2F88 AC620000 */ sw $v0, ($v1) -/* 08C43C 800F2F8C 3C048011 */ lui $a0, 0x8011 -/* 08C440 800F2F90 2484D648 */ addiu $a0, $a0, -0x29b8 -/* 08C444 800F2F94 8C820000 */ lw $v0, ($a0) -/* 08C448 800F2F98 2403000B */ addiu $v1, $zero, 0xb -/* 08C44C 800F2F9C 3C018011 */ lui $at, 0x8011 -/* 08C450 800F2FA0 AC23D640 */ sw $v1, -0x29c0($at) -/* 08C454 800F2FA4 94830002 */ lhu $v1, 2($a0) -/* 08C458 800F2FA8 3C048011 */ lui $a0, 0x8011 -/* 08C45C 800F2FAC 8C84D69C */ lw $a0, -0x2964($a0) -/* 08C460 800F2FB0 0803CC01 */ j .L800F3004 -/* 08C464 800F2FB4 24420001 */ addiu $v0, $v0, 1 - -/* 08C468 800F2FB8 3C028011 */ lui $v0, 0x8011 -/* 08C46C 800F2FBC 2442D644 */ addiu $v0, $v0, -0x29bc -/* 08C470 800F2FC0 8C430000 */ lw $v1, ($v0) -/* 08C474 800F2FC4 3C048011 */ lui $a0, 0x8011 -/* 08C478 800F2FC8 8084D692 */ lb $a0, -0x296e($a0) -/* 08C47C 800F2FCC 24630001 */ addiu $v1, $v1, 1 -/* 08C480 800F2FD0 AC430000 */ sw $v1, ($v0) -/* 08C484 800F2FD4 0064182A */ slt $v1, $v1, $a0 -/* 08C488 800F2FD8 1460019E */ bnez $v1, .L800F3654 -/* 08C48C 800F2FDC 24030001 */ addiu $v1, $zero, 1 -/* 08C490 800F2FE0 3C048011 */ lui $a0, 0x8011 -/* 08C494 800F2FE4 2484D648 */ addiu $a0, $a0, -0x29b8 -/* 08C498 800F2FE8 8C820000 */ lw $v0, ($a0) -/* 08C49C 800F2FEC 3C018011 */ lui $at, 0x8011 -/* 08C4A0 800F2FF0 AC23D640 */ sw $v1, -0x29c0($at) -/* 08C4A4 800F2FF4 00431021 */ addu $v0, $v0, $v1 -/* 08C4A8 800F2FF8 94830002 */ lhu $v1, 2($a0) -/* 08C4AC 800F2FFC 3C048011 */ lui $a0, 0x8011 -/* 08C4B0 800F3000 8C84D69C */ lw $a0, -0x2964($a0) -.L800F3004: -/* 08C4B4 800F3004 24630001 */ addiu $v1, $v1, 1 -/* 08C4B8 800F3008 0803CD99 */ j .L800F3664 -/* 08C4BC 800F300C A483032C */ sh $v1, 0x32c($a0) - -/* 08C4C0 800F3010 0000102D */ daddu $v0, $zero, $zero -/* 08C4C4 800F3014 3C048011 */ lui $a0, 0x8011 -/* 08C4C8 800F3018 8C84D69C */ lw $a0, -0x2964($a0) -/* 08C4CC 800F301C 2403001F */ addiu $v1, $zero, 0x1f -/* 08C4D0 800F3020 3C018011 */ lui $at, 0x8011 -/* 08C4D4 800F3024 AC23D640 */ sw $v1, -0x29c0($at) -/* 08C4D8 800F3028 2403FFFF */ addiu $v1, $zero, -1 -/* 08C4DC 800F302C 0803CD99 */ j .L800F3664 -/* 08C4E0 800F3030 A483032C */ sh $v1, 0x32c($a0) - -/* 08C4E4 800F3034 2404000E */ addiu $a0, $zero, 0xe -/* 08C4E8 800F3038 0C051F9F */ jal func_80147E7C -/* 08C4EC 800F303C 24050002 */ addiu $a1, $zero, 2 -/* 08C4F0 800F3040 24040013 */ addiu $a0, $zero, 0x13 -/* 08C4F4 800F3044 0C051F9F */ jal func_80147E7C -/* 08C4F8 800F3048 24050002 */ addiu $a1, $zero, 2 -/* 08C4FC 800F304C 3C028011 */ lui $v0, 0x8011 -/* 08C500 800F3050 8042D68E */ lb $v0, -0x2972($v0) -/* 08C504 800F3054 10400003 */ beqz $v0, .L800F3064 -/* 08C508 800F3058 24040015 */ addiu $a0, $zero, 0x15 -/* 08C50C 800F305C 0C051F9F */ jal func_80147E7C -/* 08C510 800F3060 24050002 */ addiu $a1, $zero, 2 -.L800F3064: -/* 08C514 800F3064 3C04001D */ lui $a0, 0x1d -/* 08C518 800F3068 3484006B */ ori $a0, $a0, 0x6b -/* 08C51C 800F306C 0C04991D */ jal get_string_width -/* 08C520 800F3070 0000282D */ daddu $a1, $zero, $zero -/* 08C524 800F3074 24470017 */ addiu $a3, $v0, 0x17 -/* 08C528 800F3078 24040009 */ addiu $a0, $zero, 9 -/* 08C52C 800F307C 00072FC2 */ srl $a1, $a3, 0x1f -/* 08C530 800F3080 00E52821 */ addu $a1, $a3, $a1 -/* 08C534 800F3084 00052843 */ sra $a1, $a1, 1 -/* 08C538 800F3088 240200A0 */ addiu $v0, $zero, 0xa0 -/* 08C53C 800F308C 00452823 */ subu $a1, $v0, $a1 -/* 08C540 800F3090 24060050 */ addiu $a2, $zero, 0x50 -/* 08C544 800F3094 24020028 */ addiu $v0, $zero, 0x28 -/* 08C548 800F3098 AFA20010 */ sw $v0, 0x10($sp) -/* 08C54C 800F309C 24020014 */ addiu $v0, $zero, 0x14 -/* 08C550 800F30A0 AFA20014 */ sw $v0, 0x14($sp) -/* 08C554 800F30A4 3C02800F */ lui $v0, 0x800f -/* 08C558 800F30A8 24424CF0 */ addiu $v0, $v0, 0x4cf0 -/* 08C55C 800F30AC AFA20018 */ sw $v0, 0x18($sp) -/* 08C560 800F30B0 2402FFFF */ addiu $v0, $zero, -1 -/* 08C564 800F30B4 AFA0001C */ sw $zero, 0x1c($sp) -/* 08C568 800F30B8 0C051F32 */ jal func_80147CC8 -/* 08C56C 800F30BC AFA20020 */ sw $v0, 0x20($sp) -/* 08C570 800F30C0 24040009 */ addiu $a0, $zero, 9 -/* 08C574 800F30C4 0C051F9F */ jal func_80147E7C -/* 08C578 800F30C8 24050001 */ addiu $a1, $zero, 1 -/* 08C57C 800F30CC 2403003C */ addiu $v1, $zero, 0x3c -/* 08C580 800F30D0 3C018011 */ lui $at, 0x8011 -/* 08C584 800F30D4 AC23D644 */ sw $v1, -0x29bc($at) -/* 08C588 800F30D8 24030020 */ addiu $v1, $zero, 0x20 -/* 08C58C 800F30DC 3C018011 */ lui $at, 0x8011 -/* 08C590 800F30E0 AC23D640 */ sw $v1, -0x29c0($at) -/* 08C594 800F30E4 0803CD99 */ j .L800F3664 -/* 08C598 800F30E8 0000102D */ daddu $v0, $zero, $zero - -/* 08C59C 800F30EC 3C028007 */ lui $v0, 0x8007 -/* 08C5A0 800F30F0 8C42419C */ lw $v0, 0x419c($v0) -/* 08C5A4 800F30F4 8C420010 */ lw $v0, 0x10($v0) -/* 08C5A8 800F30F8 3042C001 */ andi $v0, $v0, 0xc001 -/* 08C5AC 800F30FC 10400003 */ beqz $v0, .L800F310C -/* 08C5B0 800F3100 00000000 */ nop -/* 08C5B4 800F3104 3C018011 */ lui $at, 0x8011 -/* 08C5B8 800F3108 AC20D644 */ sw $zero, -0x29bc($at) -.L800F310C: -/* 08C5BC 800F310C 3C038011 */ lui $v1, 0x8011 -/* 08C5C0 800F3110 2463D644 */ addiu $v1, $v1, -0x29bc -/* 08C5C4 800F3114 8C620000 */ lw $v0, ($v1) -/* 08C5C8 800F3118 10400004 */ beqz $v0, .L800F312C -/* 08C5CC 800F311C 2442FFFF */ addiu $v0, $v0, -1 -/* 08C5D0 800F3120 AC620000 */ sw $v0, ($v1) -/* 08C5D4 800F3124 0803CD99 */ j .L800F3664 -/* 08C5D8 800F3128 0000102D */ daddu $v0, $zero, $zero - -.L800F312C: -/* 08C5DC 800F312C 24040009 */ addiu $a0, $zero, 9 -/* 08C5E0 800F3130 0C051F9F */ jal func_80147E7C -/* 08C5E4 800F3134 24050002 */ addiu $a1, $zero, 2 -/* 08C5E8 800F3138 2404000E */ addiu $a0, $zero, 0xe -/* 08C5EC 800F313C 0C051F9F */ jal func_80147E7C -/* 08C5F0 800F3140 24050001 */ addiu $a1, $zero, 1 -/* 08C5F4 800F3144 24040013 */ addiu $a0, $zero, 0x13 -/* 08C5F8 800F3148 0C051F9F */ jal func_80147E7C -/* 08C5FC 800F314C 24050001 */ addiu $a1, $zero, 1 -/* 08C600 800F3150 3C028011 */ lui $v0, 0x8011 -/* 08C604 800F3154 8042D68E */ lb $v0, -0x2972($v0) -/* 08C608 800F3158 10400003 */ beqz $v0, .L800F3168 -/* 08C60C 800F315C 24040015 */ addiu $a0, $zero, 0x15 -/* 08C610 800F3160 0C051F9F */ jal func_80147E7C -/* 08C614 800F3164 24050001 */ addiu $a1, $zero, 1 -.L800F3168: -/* 08C618 800F3168 3C038011 */ lui $v1, 0x8011 -/* 08C61C 800F316C 8C63D69C */ lw $v1, -0x2964($v1) -/* 08C620 800F3170 24020001 */ addiu $v0, $zero, 1 -/* 08C624 800F3174 3C018011 */ lui $at, 0x8011 -/* 08C628 800F3178 AC22D640 */ sw $v0, -0x29c0($at) -/* 08C62C 800F317C 0803CD95 */ j .L800F3654 -/* 08C630 800F3180 A460032C */ sh $zero, 0x32c($v1) - -/* 08C634 800F3184 240500A0 */ addiu $a1, $zero, 0xa0 -/* 08C638 800F3188 00A0302D */ daddu $a2, $a1, $zero -/* 08C63C 800F318C 3C048011 */ lui $a0, 0x8011 -/* 08C640 800F3190 8C84D65C */ lw $a0, -0x29a4($a0) -/* 08C644 800F3194 0C0513BF */ jal func_80144EFC -/* 08C648 800F3198 00A0382D */ daddu $a3, $a1, $zero -/* 08C64C 800F319C 240500A0 */ addiu $a1, $zero, 0xa0 -/* 08C650 800F31A0 00A0302D */ daddu $a2, $a1, $zero -/* 08C654 800F31A4 3C048011 */ lui $a0, 0x8011 -/* 08C658 800F31A8 8C84D678 */ lw $a0, -0x2988($a0) -/* 08C65C 800F31AC 0C0513BF */ jal func_80144EFC -/* 08C660 800F31B0 00A0382D */ daddu $a3, $a1, $zero -/* 08C664 800F31B4 240500A0 */ addiu $a1, $zero, 0xa0 -/* 08C668 800F31B8 00A0302D */ daddu $a2, $a1, $zero -/* 08C66C 800F31BC 3C108011 */ lui $s0, 0x8011 -/* 08C670 800F31C0 2610D66C */ addiu $s0, $s0, -0x2994 -/* 08C674 800F31C4 8E040000 */ lw $a0, ($s0) -/* 08C678 800F31C8 0C0513BF */ jal func_80144EFC -/* 08C67C 800F31CC 00A0382D */ daddu $a3, $a1, $zero -/* 08C680 800F31D0 240500A0 */ addiu $a1, $zero, 0xa0 -/* 08C684 800F31D4 00A0302D */ daddu $a2, $a1, $zero -/* 08C688 800F31D8 3C048011 */ lui $a0, 0x8011 -/* 08C68C 800F31DC 8C84D670 */ lw $a0, -0x2990($a0) -/* 08C690 800F31E0 0C0513BF */ jal func_80144EFC -/* 08C694 800F31E4 00A0382D */ daddu $a3, $a1, $zero -/* 08C698 800F31E8 240500A0 */ addiu $a1, $zero, 0xa0 -/* 08C69C 800F31EC 00A0302D */ daddu $a2, $a1, $zero -/* 08C6A0 800F31F0 3C048011 */ lui $a0, 0x8011 -/* 08C6A4 800F31F4 8C84D674 */ lw $a0, -0x298c($a0) -/* 08C6A8 800F31F8 0C0513BF */ jal func_80144EFC -/* 08C6AC 800F31FC 00A0382D */ daddu $a3, $a1, $zero -/* 08C6B0 800F3200 8E040000 */ lw $a0, ($s0) -/* 08C6B4 800F3204 3C058010 */ lui $a1, 0x8010 -/* 08C6B8 800F3208 24A54A00 */ addiu $a1, $a1, 0x4a00 -/* 08C6BC 800F320C 0C0511FF */ jal set_menu_icon_script -/* 08C6C0 800F3210 00000000 */ nop -/* 08C6C4 800F3214 3C108011 */ lui $s0, 0x8011 -/* 08C6C8 800F3218 2610D69C */ addiu $s0, $s0, -0x2964 -/* 08C6CC 800F321C 8E020000 */ lw $v0, ($s0) -/* 08C6D0 800F3220 8C430318 */ lw $v1, 0x318($v0) -/* 08C6D4 800F3224 24020003 */ addiu $v0, $zero, 3 -/* 08C6D8 800F3228 1462000C */ bne $v1, $v0, .L800F325C -/* 08C6DC 800F322C 240500A0 */ addiu $a1, $zero, 0xa0 -/* 08C6E0 800F3230 00A0302D */ daddu $a2, $a1, $zero -/* 08C6E4 800F3234 3C048011 */ lui $a0, 0x8011 -/* 08C6E8 800F3238 8C84D660 */ lw $a0, -0x29a0($a0) -/* 08C6EC 800F323C 0C0513BF */ jal func_80144EFC -/* 08C6F0 800F3240 00A0382D */ daddu $a3, $a1, $zero -/* 08C6F4 800F3244 240500A0 */ addiu $a1, $zero, 0xa0 -/* 08C6F8 800F3248 00A0302D */ daddu $a2, $a1, $zero -/* 08C6FC 800F324C 3C048011 */ lui $a0, 0x8011 -/* 08C700 800F3250 8C84D664 */ lw $a0, -0x299c($a0) -/* 08C704 800F3254 0C0513BF */ jal func_80144EFC -/* 08C708 800F3258 00A0382D */ daddu $a3, $a1, $zero -.L800F325C: -/* 08C70C 800F325C 8E020000 */ lw $v0, ($s0) -/* 08C710 800F3260 8C420318 */ lw $v0, 0x318($v0) -/* 08C714 800F3264 24110004 */ addiu $s1, $zero, 4 -/* 08C718 800F3268 1451000C */ bne $v0, $s1, .L800F329C -/* 08C71C 800F326C 240500A0 */ addiu $a1, $zero, 0xa0 -/* 08C720 800F3270 00A0302D */ daddu $a2, $a1, $zero -/* 08C724 800F3274 3C048011 */ lui $a0, 0x8011 -/* 08C728 800F3278 8C84D660 */ lw $a0, -0x29a0($a0) -/* 08C72C 800F327C 0C0513BF */ jal func_80144EFC -/* 08C730 800F3280 00A0382D */ daddu $a3, $a1, $zero -/* 08C734 800F3284 240500A0 */ addiu $a1, $zero, 0xa0 -/* 08C738 800F3288 00A0302D */ daddu $a2, $a1, $zero -/* 08C73C 800F328C 3C048011 */ lui $a0, 0x8011 -/* 08C740 800F3290 8C84D664 */ lw $a0, -0x299c($a0) -/* 08C744 800F3294 0C0513BF */ jal func_80144EFC -/* 08C748 800F3298 00A0382D */ daddu $a3, $a1, $zero -.L800F329C: -/* 08C74C 800F329C 8E020000 */ lw $v0, ($s0) -/* 08C750 800F32A0 8C430318 */ lw $v1, 0x318($v0) -/* 08C754 800F32A4 24020001 */ addiu $v0, $zero, 1 -/* 08C758 800F32A8 10620003 */ beq $v1, $v0, .L800F32B8 -/* 08C75C 800F32AC 00000000 */ nop -/* 08C760 800F32B0 14710007 */ bne $v1, $s1, .L800F32D0 -/* 08C764 800F32B4 00000000 */ nop -.L800F32B8: -/* 08C768 800F32B8 3C048011 */ lui $a0, 0x8011 -/* 08C76C 800F32BC 8C84D668 */ lw $a0, -0x2998($a0) -/* 08C770 800F32C0 240500A0 */ addiu $a1, $zero, 0xa0 -/* 08C774 800F32C4 00A0302D */ daddu $a2, $a1, $zero -/* 08C778 800F32C8 0C0513BF */ jal func_80144EFC -/* 08C77C 800F32CC 00A0382D */ daddu $a3, $a1, $zero -.L800F32D0: -/* 08C780 800F32D0 3C108011 */ lui $s0, 0x8011 -/* 08C784 800F32D4 2610D69C */ addiu $s0, $s0, -0x2964 -/* 08C788 800F32D8 8E020000 */ lw $v0, ($s0) -/* 08C78C 800F32DC 8C430318 */ lw $v1, 0x318($v0) -/* 08C790 800F32E0 24020005 */ addiu $v0, $zero, 5 -/* 08C794 800F32E4 14620006 */ bne $v1, $v0, .L800F3300 -/* 08C798 800F32E8 240500A0 */ addiu $a1, $zero, 0xa0 -/* 08C79C 800F32EC 3C048011 */ lui $a0, 0x8011 -/* 08C7A0 800F32F0 8C84D660 */ lw $a0, -0x29a0($a0) -/* 08C7A4 800F32F4 00A0302D */ daddu $a2, $a1, $zero -/* 08C7A8 800F32F8 0C0513BF */ jal func_80144EFC -/* 08C7AC 800F32FC 00A0382D */ daddu $a3, $a1, $zero -.L800F3300: -/* 08C7B0 800F3300 8E020000 */ lw $v0, ($s0) -/* 08C7B4 800F3304 8C430318 */ lw $v1, 0x318($v0) -/* 08C7B8 800F3308 2C62000E */ sltiu $v0, $v1, 0xe -/* 08C7BC 800F330C 10400013 */ beqz $v0, .L800F335C -/* 08C7C0 800F3310 00031080 */ sll $v0, $v1, 2 -/* 08C7C4 800F3314 3C018011 */ lui $at, 0x8011 -/* 08C7C8 800F3318 00220821 */ addu $at, $at, $v0 -/* 08C7CC 800F331C 8C22C720 */ lw $v0, -0x38e0($at) -/* 08C7D0 800F3320 00400008 */ jr $v0 -/* 08C7D4 800F3324 00000000 */ nop -/* 08C7D8 800F3328 2404000E */ addiu $a0, $zero, 0xe -/* 08C7DC 800F332C 0C051F9F */ jal func_80147E7C -/* 08C7E0 800F3330 24050002 */ addiu $a1, $zero, 2 -/* 08C7E4 800F3334 0803CCD5 */ j .L800F3354 -/* 08C7E8 800F3338 24040013 */ addiu $a0, $zero, 0x13 - -/* 08C7EC 800F333C 2404000E */ addiu $a0, $zero, 0xe -/* 08C7F0 800F3340 0C051F9F */ jal func_80147E7C -/* 08C7F4 800F3344 24050002 */ addiu $a1, $zero, 2 -/* 08C7F8 800F3348 0803CCD5 */ j .L800F3354 -/* 08C7FC 800F334C 24040013 */ addiu $a0, $zero, 0x13 - -/* 08C800 800F3350 2404000E */ addiu $a0, $zero, 0xe -.L800F3354: -/* 08C804 800F3354 0C051F9F */ jal func_80147E7C -/* 08C808 800F3358 24050002 */ addiu $a1, $zero, 2 -.L800F335C: -/* 08C80C 800F335C 3C04001D */ lui $a0, 0x1d -/* 08C810 800F3360 3C038011 */ lui $v1, 0x8011 -/* 08C814 800F3364 8063D699 */ lb $v1, -0x2967($v1) -/* 08C818 800F3368 2402000D */ addiu $v0, $zero, 0xd -/* 08C81C 800F336C 3C018011 */ lui $at, 0x8011 -/* 08C820 800F3370 A022D690 */ sb $v0, -0x2970($at) -/* 08C824 800F3374 24020001 */ addiu $v0, $zero, 1 -/* 08C828 800F3378 14620003 */ bne $v1, $v0, .L800F3388 -/* 08C82C 800F337C 34840069 */ ori $a0, $a0, 0x69 -/* 08C830 800F3380 3C04001D */ lui $a0, 0x1d -/* 08C834 800F3384 34840068 */ ori $a0, $a0, 0x68 -.L800F3388: -/* 08C838 800F3388 0C04991D */ jal get_string_width -/* 08C83C 800F338C 0000282D */ daddu $a1, $zero, $zero -/* 08C840 800F3390 24470017 */ addiu $a3, $v0, 0x17 -/* 08C844 800F3394 24040015 */ addiu $a0, $zero, 0x15 -/* 08C848 800F3398 00072FC2 */ srl $a1, $a3, 0x1f -/* 08C84C 800F339C 00E52821 */ addu $a1, $a3, $a1 -/* 08C850 800F33A0 00052843 */ sra $a1, $a1, 1 -/* 08C854 800F33A4 240200A0 */ addiu $v0, $zero, 0xa0 -/* 08C858 800F33A8 00452823 */ subu $a1, $v0, $a1 -/* 08C85C 800F33AC 2406004C */ addiu $a2, $zero, 0x4c -/* 08C860 800F33B0 24020020 */ addiu $v0, $zero, 0x20 -/* 08C864 800F33B4 AFA20010 */ sw $v0, 0x10($sp) -/* 08C868 800F33B8 24020013 */ addiu $v0, $zero, 0x13 -/* 08C86C 800F33BC AFA20014 */ sw $v0, 0x14($sp) -/* 08C870 800F33C0 3C02800F */ lui $v0, 0x800f -/* 08C874 800F33C4 24424C1C */ addiu $v0, $v0, 0x4c1c -/* 08C878 800F33C8 AFA20018 */ sw $v0, 0x18($sp) -/* 08C87C 800F33CC 2402FFFF */ addiu $v0, $zero, -1 -/* 08C880 800F33D0 AFA0001C */ sw $zero, 0x1c($sp) -/* 08C884 800F33D4 0C051F32 */ jal func_80147CC8 -/* 08C888 800F33D8 AFA20020 */ sw $v0, 0x20($sp) -/* 08C88C 800F33DC 24040015 */ addiu $a0, $zero, 0x15 -/* 08C890 800F33E0 0C051F9F */ jal func_80147E7C -/* 08C894 800F33E4 24050001 */ addiu $a1, $zero, 1 -/* 08C898 800F33E8 3C04001E */ lui $a0, 0x1e -/* 08C89C 800F33EC 3C058011 */ lui $a1, 0x8011 -/* 08C8A0 800F33F0 24A5D6A4 */ addiu $a1, $a1, -0x295c -/* 08C8A4 800F33F4 0C049640 */ jal load_string -/* 08C8A8 800F33F8 3484001D */ ori $a0, $a0, 0x1d -/* 08C8AC 800F33FC 0040202D */ daddu $a0, $v0, $zero -/* 08C8B0 800F3400 240500A0 */ addiu $a1, $zero, 0xa0 -/* 08C8B4 800F3404 3C018011 */ lui $at, 0x8011 -/* 08C8B8 800F3408 AC24D6A0 */ sw $a0, -0x2960($at) -/* 08C8BC 800F340C 0C0496AE */ jal clamp_printer_coords -/* 08C8C0 800F3410 24060090 */ addiu $a2, $zero, 0x90 -/* 08C8C4 800F3414 0803CD93 */ j .L800F364C -/* 08C8C8 800F3418 24020065 */ addiu $v0, $zero, 0x65 - -/* 08C8CC 800F341C 3C108011 */ lui $s0, 0x8011 -/* 08C8D0 800F3420 8E10D6A4 */ lw $s0, -0x295c($s0) -/* 08C8D4 800F3424 24020001 */ addiu $v0, $zero, 1 -/* 08C8D8 800F3428 1602008A */ bne $s0, $v0, .L800F3654 -/* 08C8DC 800F342C 24040015 */ addiu $a0, $zero, 0x15 -/* 08C8E0 800F3430 0C051F9F */ jal func_80147E7C -/* 08C8E4 800F3434 24050002 */ addiu $a1, $zero, 2 -/* 08C8E8 800F3438 3C028011 */ lui $v0, 0x8011 -/* 08C8EC 800F343C 8C42D6A0 */ lw $v0, -0x2960($v0) -/* 08C8F0 800F3440 904204E8 */ lbu $v0, 0x4e8($v0) -/* 08C8F4 800F3444 50400081 */ beql $v0, $zero, .L800F364C -/* 08C8F8 800F3448 24020066 */ addiu $v0, $zero, 0x66 -/* 08C8FC 800F344C 1050007F */ beq $v0, $s0, .L800F364C -/* 08C900 800F3450 24020067 */ addiu $v0, $zero, 0x67 -/* 08C904 800F3454 0803CD95 */ j .L800F3654 -/* 08C908 800F3458 00000000 */ nop - -/* 08C90C 800F345C 0803CD93 */ j .L800F364C -/* 08C910 800F3460 2402FFFD */ addiu $v0, $zero, -3 - -/* 08C914 800F3464 240500FF */ addiu $a1, $zero, 0xff -/* 08C918 800F3468 00A0302D */ daddu $a2, $a1, $zero -/* 08C91C 800F346C 3C048011 */ lui $a0, 0x8011 -/* 08C920 800F3470 8C84D65C */ lw $a0, -0x29a4($a0) -/* 08C924 800F3474 0C0513BF */ jal func_80144EFC -/* 08C928 800F3478 00A0382D */ daddu $a3, $a1, $zero -/* 08C92C 800F347C 240500FF */ addiu $a1, $zero, 0xff -/* 08C930 800F3480 00A0302D */ daddu $a2, $a1, $zero -/* 08C934 800F3484 3C048011 */ lui $a0, 0x8011 -/* 08C938 800F3488 8C84D678 */ lw $a0, -0x2988($a0) -/* 08C93C 800F348C 0C0513BF */ jal func_80144EFC -/* 08C940 800F3490 00A0382D */ daddu $a3, $a1, $zero -/* 08C944 800F3494 240500FF */ addiu $a1, $zero, 0xff -/* 08C948 800F3498 00A0302D */ daddu $a2, $a1, $zero -/* 08C94C 800F349C 3C048011 */ lui $a0, 0x8011 -/* 08C950 800F34A0 8C84D66C */ lw $a0, -0x2994($a0) -/* 08C954 800F34A4 0C0513BF */ jal func_80144EFC -/* 08C958 800F34A8 00A0382D */ daddu $a3, $a1, $zero -/* 08C95C 800F34AC 240500FF */ addiu $a1, $zero, 0xff -/* 08C960 800F34B0 00A0302D */ daddu $a2, $a1, $zero -/* 08C964 800F34B4 3C048011 */ lui $a0, 0x8011 -/* 08C968 800F34B8 8C84D670 */ lw $a0, -0x2990($a0) -/* 08C96C 800F34BC 0C0513BF */ jal func_80144EFC -/* 08C970 800F34C0 00A0382D */ daddu $a3, $a1, $zero -/* 08C974 800F34C4 240500FF */ addiu $a1, $zero, 0xff -/* 08C978 800F34C8 00A0302D */ daddu $a2, $a1, $zero -/* 08C97C 800F34CC 3C048011 */ lui $a0, 0x8011 -/* 08C980 800F34D0 8C84D674 */ lw $a0, -0x298c($a0) -/* 08C984 800F34D4 0C0513BF */ jal func_80144EFC -/* 08C988 800F34D8 00A0382D */ daddu $a3, $a1, $zero -/* 08C98C 800F34DC 3C108011 */ lui $s0, 0x8011 -/* 08C990 800F34E0 2610D69C */ addiu $s0, $s0, -0x2964 -/* 08C994 800F34E4 8E020000 */ lw $v0, ($s0) -/* 08C998 800F34E8 8C430318 */ lw $v1, 0x318($v0) -/* 08C99C 800F34EC 24020003 */ addiu $v0, $zero, 3 -/* 08C9A0 800F34F0 1462000C */ bne $v1, $v0, .L800F3524 -/* 08C9A4 800F34F4 240500A0 */ addiu $a1, $zero, 0xa0 -/* 08C9A8 800F34F8 00A0302D */ daddu $a2, $a1, $zero -/* 08C9AC 800F34FC 3C048011 */ lui $a0, 0x8011 -/* 08C9B0 800F3500 8C84D660 */ lw $a0, -0x29a0($a0) -/* 08C9B4 800F3504 0C0513BF */ jal func_80144EFC -/* 08C9B8 800F3508 00A0382D */ daddu $a3, $a1, $zero -/* 08C9BC 800F350C 240500A0 */ addiu $a1, $zero, 0xa0 -/* 08C9C0 800F3510 00A0302D */ daddu $a2, $a1, $zero -/* 08C9C4 800F3514 3C048011 */ lui $a0, 0x8011 -/* 08C9C8 800F3518 8C84D664 */ lw $a0, -0x299c($a0) -/* 08C9CC 800F351C 0C0513BF */ jal func_80144EFC -/* 08C9D0 800F3520 00A0382D */ daddu $a3, $a1, $zero -.L800F3524: -/* 08C9D4 800F3524 8E020000 */ lw $v0, ($s0) -/* 08C9D8 800F3528 8C420318 */ lw $v0, 0x318($v0) -/* 08C9DC 800F352C 24110004 */ addiu $s1, $zero, 4 -/* 08C9E0 800F3530 1451000C */ bne $v0, $s1, .L800F3564 -/* 08C9E4 800F3534 240500A0 */ addiu $a1, $zero, 0xa0 -/* 08C9E8 800F3538 00A0302D */ daddu $a2, $a1, $zero -/* 08C9EC 800F353C 3C048011 */ lui $a0, 0x8011 -/* 08C9F0 800F3540 8C84D660 */ lw $a0, -0x29a0($a0) -/* 08C9F4 800F3544 0C0513BF */ jal func_80144EFC -/* 08C9F8 800F3548 00A0382D */ daddu $a3, $a1, $zero -/* 08C9FC 800F354C 240500A0 */ addiu $a1, $zero, 0xa0 -/* 08CA00 800F3550 00A0302D */ daddu $a2, $a1, $zero -/* 08CA04 800F3554 3C048011 */ lui $a0, 0x8011 -/* 08CA08 800F3558 8C84D664 */ lw $a0, -0x299c($a0) -/* 08CA0C 800F355C 0C0513BF */ jal func_80144EFC -/* 08CA10 800F3560 00A0382D */ daddu $a3, $a1, $zero -.L800F3564: -/* 08CA14 800F3564 8E020000 */ lw $v0, ($s0) -/* 08CA18 800F3568 8C430318 */ lw $v1, 0x318($v0) -/* 08CA1C 800F356C 24020001 */ addiu $v0, $zero, 1 -/* 08CA20 800F3570 10620003 */ beq $v1, $v0, .L800F3580 -/* 08CA24 800F3574 00000000 */ nop -/* 08CA28 800F3578 14710007 */ bne $v1, $s1, .L800F3598 -/* 08CA2C 800F357C 00000000 */ nop -.L800F3580: -/* 08CA30 800F3580 3C048011 */ lui $a0, 0x8011 -/* 08CA34 800F3584 8C84D668 */ lw $a0, -0x2998($a0) -/* 08CA38 800F3588 240500A0 */ addiu $a1, $zero, 0xa0 -/* 08CA3C 800F358C 00A0302D */ daddu $a2, $a1, $zero -/* 08CA40 800F3590 0C0513BF */ jal func_80144EFC -/* 08CA44 800F3594 00A0382D */ daddu $a3, $a1, $zero -.L800F3598: -/* 08CA48 800F3598 3C108011 */ lui $s0, 0x8011 -/* 08CA4C 800F359C 2610D69C */ addiu $s0, $s0, -0x2964 -/* 08CA50 800F35A0 8E020000 */ lw $v0, ($s0) -/* 08CA54 800F35A4 8C430318 */ lw $v1, 0x318($v0) -/* 08CA58 800F35A8 24020005 */ addiu $v0, $zero, 5 -/* 08CA5C 800F35AC 14620006 */ bne $v1, $v0, .L800F35C8 -/* 08CA60 800F35B0 240500A0 */ addiu $a1, $zero, 0xa0 -/* 08CA64 800F35B4 3C048011 */ lui $a0, 0x8011 -/* 08CA68 800F35B8 8C84D660 */ lw $a0, -0x29a0($a0) -/* 08CA6C 800F35BC 00A0302D */ daddu $a2, $a1, $zero -/* 08CA70 800F35C0 0C0513BF */ jal func_80144EFC -/* 08CA74 800F35C4 00A0382D */ daddu $a3, $a1, $zero -.L800F35C8: -/* 08CA78 800F35C8 3C048011 */ lui $a0, 0x8011 -/* 08CA7C 800F35CC 8C84D66C */ lw $a0, -0x2994($a0) -/* 08CA80 800F35D0 3C058010 */ lui $a1, 0x8010 -/* 08CA84 800F35D4 24A54A00 */ addiu $a1, $a1, 0x4a00 -/* 08CA88 800F35D8 0C0511FF */ jal set_menu_icon_script -/* 08CA8C 800F35DC 00000000 */ nop -/* 08CA90 800F35E0 8E020000 */ lw $v0, ($s0) -/* 08CA94 800F35E4 8C430318 */ lw $v1, 0x318($v0) -/* 08CA98 800F35E8 2C62000E */ sltiu $v0, $v1, 0xe -/* 08CA9C 800F35EC 10400013 */ beqz $v0, .L800F363C -/* 08CAA0 800F35F0 00031080 */ sll $v0, $v1, 2 -/* 08CAA4 800F35F4 3C018011 */ lui $at, 0x8011 -/* 08CAA8 800F35F8 00220821 */ addu $at, $at, $v0 -/* 08CAAC 800F35FC 8C22C758 */ lw $v0, -0x38a8($at) -/* 08CAB0 800F3600 00400008 */ jr $v0 -/* 08CAB4 800F3604 00000000 */ nop -/* 08CAB8 800F3608 2404000E */ addiu $a0, $zero, 0xe -/* 08CABC 800F360C 0C051F9F */ jal func_80147E7C -/* 08CAC0 800F3610 24050001 */ addiu $a1, $zero, 1 -/* 08CAC4 800F3614 0803CD8D */ j .L800F3634 -/* 08CAC8 800F3618 24040013 */ addiu $a0, $zero, 0x13 - -/* 08CACC 800F361C 2404000E */ addiu $a0, $zero, 0xe -/* 08CAD0 800F3620 0C051F9F */ jal func_80147E7C -/* 08CAD4 800F3624 24050001 */ addiu $a1, $zero, 1 -/* 08CAD8 800F3628 0803CD8D */ j .L800F3634 -/* 08CADC 800F362C 24040013 */ addiu $a0, $zero, 0x13 - -/* 08CAE0 800F3630 2404000E */ addiu $a0, $zero, 0xe -.L800F3634: -/* 08CAE4 800F3634 0C051F9F */ jal func_80147E7C -/* 08CAE8 800F3638 24050001 */ addiu $a1, $zero, 1 -.L800F363C: -/* 08CAEC 800F363C 2402000A */ addiu $v0, $zero, 0xa -/* 08CAF0 800F3640 3C018011 */ lui $at, 0x8011 -/* 08CAF4 800F3644 A022D690 */ sb $v0, -0x2970($at) -/* 08CAF8 800F3648 24020001 */ addiu $v0, $zero, 1 -.L800F364C: -/* 08CAFC 800F364C 3C018011 */ lui $at, 0x8011 -/* 08CB00 800F3650 AC22D640 */ sw $v0, -0x29c0($at) -.L800F3654: -/* 08CB04 800F3654 3C038011 */ lui $v1, 0x8011 -/* 08CB08 800F3658 8C63D69C */ lw $v1, -0x2964($v1) -/* 08CB0C 800F365C 0000102D */ daddu $v0, $zero, $zero -/* 08CB10 800F3660 A460032C */ sh $zero, 0x32c($v1) -.L800F3664: -/* 08CB14 800F3664 8FBF0038 */ lw $ra, 0x38($sp) -/* 08CB18 800F3668 8FB30034 */ lw $s3, 0x34($sp) -/* 08CB1C 800F366C 8FB20030 */ lw $s2, 0x30($sp) -/* 08CB20 800F3670 8FB1002C */ lw $s1, 0x2c($sp) -/* 08CB24 800F3674 8FB00028 */ lw $s0, 0x28($sp) -/* 08CB28 800F3678 03E00008 */ jr $ra -/* 08CB2C 800F367C 27BD0040 */ addiu $sp, $sp, 0x40 - -/* 08CB30 800F3680 27BDFFA8 */ addiu $sp, $sp, -0x58 -/* 08CB34 800F3684 3C038011 */ lui $v1, 0x8011 -/* 08CB38 800F3688 8C63D640 */ lw $v1, -0x29c0($v1) -/* 08CB3C 800F368C 2402000A */ addiu $v0, $zero, 0xa -/* 08CB40 800F3690 AFBF0054 */ sw $ra, 0x54($sp) -/* 08CB44 800F3694 AFBE0050 */ sw $fp, 0x50($sp) -/* 08CB48 800F3698 AFB7004C */ sw $s7, 0x4c($sp) -/* 08CB4C 800F369C AFB60048 */ sw $s6, 0x48($sp) -/* 08CB50 800F36A0 AFB50044 */ sw $s5, 0x44($sp) -/* 08CB54 800F36A4 AFB40040 */ sw $s4, 0x40($sp) -/* 08CB58 800F36A8 AFB3003C */ sw $s3, 0x3c($sp) -/* 08CB5C 800F36AC AFB20038 */ sw $s2, 0x38($sp) -/* 08CB60 800F36B0 AFB10034 */ sw $s1, 0x34($sp) -/* 08CB64 800F36B4 AFB00030 */ sw $s0, 0x30($sp) -/* 08CB68 800F36B8 AFA5005C */ sw $a1, 0x5c($sp) -/* 08CB6C 800F36BC 1062001E */ beq $v1, $v0, .L800F3738 -/* 08CB70 800F36C0 AFA60060 */ sw $a2, 0x60($sp) -/* 08CB74 800F36C4 2862000B */ slti $v0, $v1, 0xb -/* 08CB78 800F36C8 1040000E */ beqz $v0, .L800F3704 -/* 08CB7C 800F36CC 28620020 */ slti $v0, $v1, 0x20 -/* 08CB80 800F36D0 04610008 */ bgez $v1, .L800F36F4 -/* 08CB84 800F36D4 24020001 */ addiu $v0, $zero, 1 -/* 08CB88 800F36D8 2862FFFE */ slti $v0, $v1, -2 -/* 08CB8C 800F36DC 10400016 */ beqz $v0, .L800F3738 -/* 08CB90 800F36E0 2862FFFB */ slti $v0, $v1, -5 -/* 08CB94 800F36E4 104003CC */ beqz $v0, .L800F4618 -/* 08CB98 800F36E8 2862FFF8 */ slti $v0, $v1, -8 -/* 08CB9C 800F36EC 0803CDCC */ j .L800F3730 -/* 08CBA0 800F36F0 00000000 */ nop - -.L800F36F4: -/* 08CBA4 800F36F4 10620010 */ beq $v1, $v0, .L800F3738 -/* 08CBA8 800F36F8 00000000 */ nop -/* 08CBAC 800F36FC 0803D186 */ j .L800F4618 -/* 08CBB0 800F3700 00000000 */ nop - -.L800F3704: -/* 08CBB4 800F3704 10400007 */ beqz $v0, .L800F3724 -/* 08CBB8 800F3708 2862001E */ slti $v0, $v1, 0x1e -/* 08CBBC 800F370C 1040000A */ beqz $v0, .L800F3738 -/* 08CBC0 800F3710 24020014 */ addiu $v0, $zero, 0x14 -/* 08CBC4 800F3714 10620008 */ beq $v1, $v0, .L800F3738 -/* 08CBC8 800F3718 00000000 */ nop -/* 08CBCC 800F371C 0803D186 */ j .L800F4618 -/* 08CBD0 800F3720 00000000 */ nop - -.L800F3724: -/* 08CBD4 800F3724 2862006A */ slti $v0, $v1, 0x6a -/* 08CBD8 800F3728 104003BB */ beqz $v0, .L800F4618 -/* 08CBDC 800F372C 28620064 */ slti $v0, $v1, 0x64 -.L800F3730: -/* 08CBE0 800F3730 144003B9 */ bnez $v0, .L800F4618 -/* 08CBE4 800F3734 00000000 */ nop -.L800F3738: -/* 08CBE8 800F3738 8FAA005C */ lw $t2, 0x5c($sp) -/* 08CBEC 800F373C 8FAB0060 */ lw $t3, 0x60($sp) -/* 08CBF0 800F3740 3C028011 */ lui $v0, 0x8011 -/* 08CBF4 800F3744 8042D654 */ lb $v0, -0x29ac($v0) -/* 08CBF8 800F3748 3C088011 */ lui $t0, 0x8011 -/* 08CBFC 800F374C 8508D658 */ lh $t0, -0x29a8($t0) -/* 08CC00 800F3750 254A0002 */ addiu $t2, $t2, 2 -/* 08CC04 800F3754 256B000F */ addiu $t3, $t3, 0xf -/* 08CC08 800F3758 00021023 */ negu $v0, $v0 -/* 08CC0C 800F375C 00021840 */ sll $v1, $v0, 1 -/* 08CC10 800F3760 00621821 */ addu $v1, $v1, $v0 -/* 08CC14 800F3764 00031880 */ sll $v1, $v1, 2 -/* 08CC18 800F3768 00628821 */ addu $s1, $v1, $v0 -/* 08CC1C 800F376C 02282023 */ subu $a0, $s1, $t0 -/* 08CC20 800F3770 28820082 */ slti $v0, $a0, 0x82 -/* 08CC24 800F3774 AFAA005C */ sw $t2, 0x5c($sp) -/* 08CC28 800F3778 1040000D */ beqz $v0, .L800F37B0 -/* 08CC2C 800F377C AFAB0060 */ sw $t3, 0x60($sp) -/* 08CC30 800F3780 3C013FE0 */ lui $at, 0x3fe0 -/* 08CC34 800F3784 44811800 */ mtc1 $at, $f3 -/* 08CC38 800F3788 44801000 */ mtc1 $zero, $f2 -/* 08CC3C 800F378C 44840000 */ mtc1 $a0, $f0 -/* 08CC40 800F3790 00000000 */ nop -/* 08CC44 800F3794 46800021 */ cvt.d.w $f0, $f0 -/* 08CC48 800F3798 46220002 */ mul.d $f0, $f0, $f2 -/* 08CC4C 800F379C 00000000 */ nop -/* 08CC50 800F37A0 4620018D */ trunc.w.d $f6, $f0 -/* 08CC54 800F37A4 44043000 */ mfc1 $a0, $f6 -/* 08CC58 800F37A8 0803CDF8 */ j .L800F37E0 -/* 08CC5C 800F37AC 00000000 */ nop - -.L800F37B0: -/* 08CC60 800F37B0 3C031B4E */ lui $v1, 0x1b4e -/* 08CC64 800F37B4 346381B5 */ ori $v1, $v1, 0x81b5 -/* 08CC68 800F37B8 00041040 */ sll $v0, $a0, 1 -/* 08CC6C 800F37BC 00441021 */ addu $v0, $v0, $a0 -/* 08CC70 800F37C0 000210C0 */ sll $v0, $v0, 3 -/* 08CC74 800F37C4 00441021 */ addu $v0, $v0, $a0 -/* 08CC78 800F37C8 00021080 */ sll $v0, $v0, 2 -/* 08CC7C 800F37CC 00430018 */ mult $v0, $v1 -/* 08CC80 800F37D0 000217C3 */ sra $v0, $v0, 0x1f -/* 08CC84 800F37D4 00005010 */ mfhi $t2 -/* 08CC88 800F37D8 000A1903 */ sra $v1, $t2, 4 -/* 08CC8C 800F37DC 00622023 */ subu $a0, $v1, $v0 -.L800F37E0: -/* 08CC90 800F37E0 14800002 */ bnez $a0, .L800F37EC -/* 08CC94 800F37E4 01044021 */ addu $t0, $t0, $a0 -/* 08CC98 800F37E8 0220402D */ daddu $t0, $s1, $zero -.L800F37EC: -/* 08CC9C 800F37EC 3C054EC4 */ lui $a1, 0x4ec4 -/* 08CCA0 800F37F0 34A5EC4F */ ori $a1, $a1, 0xec4f -/* 08CCA4 800F37F4 00081C00 */ sll $v1, $t0, 0x10 -/* 08CCA8 800F37F8 00031C03 */ sra $v1, $v1, 0x10 -/* 08CCAC 800F37FC 8FAB005C */ lw $t3, 0x5c($sp) -/* 08CCB0 800F3800 8FB10060 */ lw $s1, 0x60($sp) -/* 08CCB4 800F3804 3C048011 */ lui $a0, 0x8011 -/* 08CCB8 800F3808 8084D656 */ lb $a0, -0x29aa($a0) -/* 08CCBC 800F380C 00031823 */ negu $v1, $v1 -/* 08CCC0 800F3810 3C018011 */ lui $at, 0x8011 -/* 08CCC4 800F3814 A428D658 */ sh $t0, -0x29a8($at) -/* 08CCC8 800F3818 00041040 */ sll $v0, $a0, 1 -/* 08CCCC 800F381C 00441021 */ addu $v0, $v0, $a0 -/* 08CCD0 800F3820 00021080 */ sll $v0, $v0, 2 -/* 08CCD4 800F3824 00441021 */ addu $v0, $v0, $a0 -/* 08CCD8 800F3828 02221021 */ addu $v0, $s1, $v0 -/* 08CCDC 800F382C 24480004 */ addiu $t0, $v0, 4 -/* 08CCE0 800F3830 3C028011 */ lui $v0, 0x8011 -/* 08CCE4 800F3834 8C42D69C */ lw $v0, -0x2964($v0) -/* 08CCE8 800F3838 00650018 */ mult $v1, $a1 -/* 08CCEC 800F383C AFAB0020 */ sw $t3, 0x20($sp) -/* 08CCF0 800F3840 8C450318 */ lw $a1, 0x318($v0) -/* 08CCF4 800F3844 00031FC3 */ sra $v1, $v1, 0x1f -/* 08CCF8 800F3848 2CA2000E */ sltiu $v0, $a1, 0xe -/* 08CCFC 800F384C 00005010 */ mfhi $t2 -/* 08CD00 800F3850 000A2083 */ sra $a0, $t2, 2 -/* 08CD04 800F3854 00832023 */ subu $a0, $a0, $v1 -/* 08CD08 800F3858 10400064 */ beqz $v0, .L800F39EC -/* 08CD0C 800F385C AFA40028 */ sw $a0, 0x28($sp) -/* 08CD10 800F3860 00051080 */ sll $v0, $a1, 2 -/* 08CD14 800F3864 3C018011 */ lui $at, 0x8011 -/* 08CD18 800F3868 00220821 */ addu $at, $at, $v0 -/* 08CD1C 800F386C 8C22C790 */ lw $v0, -0x3870($at) -/* 08CD20 800F3870 00400008 */ jr $v0 -/* 08CD24 800F3874 00000000 */ nop -/* 08CD28 800F3878 3C03800A */ lui $v1, 0x800a -/* 08CD2C 800F387C 2463A66C */ addiu $v1, $v1, -0x5994 -/* 08CD30 800F3880 C7A20020 */ lwc1 $f2, 0x20($sp) -/* 08CD34 800F3884 468010A0 */ cvt.s.w $f2, $f2 -/* 08CD38 800F3888 44910000 */ mtc1 $s1, $f0 -/* 08CD3C 800F388C 00000000 */ nop -/* 08CD40 800F3890 46800020 */ cvt.s.w $f0, $f0 -/* 08CD44 800F3894 3C014080 */ lui $at, 0x4080 -/* 08CD48 800F3898 44812000 */ mtc1 $at, $f4 -/* 08CD4C 800F389C 8C620000 */ lw $v0, ($v1) -/* 08CD50 800F38A0 46041082 */ mul.s $f2, $f2, $f4 -/* 08CD54 800F38A4 00000000 */ nop -/* 08CD58 800F38A8 0040282D */ daddu $a1, $v0, $zero -/* 08CD5C 800F38AC 24420008 */ addiu $v0, $v0, 8 -/* 08CD60 800F38B0 AC620000 */ sw $v0, ($v1) -/* 08CD64 800F38B4 8FAB0020 */ lw $t3, 0x20($sp) -/* 08CD68 800F38B8 46040002 */ mul.s $f0, $f0, $f4 -/* 08CD6C 800F38BC 00000000 */ nop -/* 08CD70 800F38C0 0803CE59 */ j .L800F3964 -/* 08CD74 800F38C4 25620070 */ addiu $v0, $t3, 0x70 - -/* 08CD78 800F38C8 3C03800A */ lui $v1, 0x800a -/* 08CD7C 800F38CC 2463A66C */ addiu $v1, $v1, -0x5994 -/* 08CD80 800F38D0 C7A20020 */ lwc1 $f2, 0x20($sp) -/* 08CD84 800F38D4 468010A0 */ cvt.s.w $f2, $f2 -/* 08CD88 800F38D8 44910000 */ mtc1 $s1, $f0 -/* 08CD8C 800F38DC 00000000 */ nop -/* 08CD90 800F38E0 46800020 */ cvt.s.w $f0, $f0 -/* 08CD94 800F38E4 3C014080 */ lui $at, 0x4080 -/* 08CD98 800F38E8 44812000 */ mtc1 $at, $f4 -/* 08CD9C 800F38EC 8C620000 */ lw $v0, ($v1) -/* 08CDA0 800F38F0 46041082 */ mul.s $f2, $f2, $f4 -/* 08CDA4 800F38F4 00000000 */ nop -/* 08CDA8 800F38F8 0040282D */ daddu $a1, $v0, $zero -/* 08CDAC 800F38FC 24420008 */ addiu $v0, $v0, 8 -/* 08CDB0 800F3900 AC620000 */ sw $v0, ($v1) -/* 08CDB4 800F3904 8FAB0020 */ lw $t3, 0x20($sp) -/* 08CDB8 800F3908 46040002 */ mul.s $f0, $f0, $f4 -/* 08CDBC 800F390C 00000000 */ nop -/* 08CDC0 800F3910 0803CE59 */ j .L800F3964 -/* 08CDC4 800F3914 2562005A */ addiu $v0, $t3, 0x5a - -/* 08CDC8 800F3918 3C03800A */ lui $v1, 0x800a -/* 08CDCC 800F391C 2463A66C */ addiu $v1, $v1, -0x5994 -/* 08CDD0 800F3920 C7A20020 */ lwc1 $f2, 0x20($sp) -/* 08CDD4 800F3924 468010A0 */ cvt.s.w $f2, $f2 -/* 08CDD8 800F3928 44910000 */ mtc1 $s1, $f0 -/* 08CDDC 800F392C 00000000 */ nop -/* 08CDE0 800F3930 46800020 */ cvt.s.w $f0, $f0 -/* 08CDE4 800F3934 3C014080 */ lui $at, 0x4080 -/* 08CDE8 800F3938 44812000 */ mtc1 $at, $f4 -/* 08CDEC 800F393C 8C620000 */ lw $v0, ($v1) -/* 08CDF0 800F3940 46041082 */ mul.s $f2, $f2, $f4 -/* 08CDF4 800F3944 00000000 */ nop -/* 08CDF8 800F3948 0040282D */ daddu $a1, $v0, $zero -/* 08CDFC 800F394C 24420008 */ addiu $v0, $v0, 8 -/* 08CE00 800F3950 AC620000 */ sw $v0, ($v1) -/* 08CE04 800F3954 8FAB0020 */ lw $t3, 0x20($sp) -/* 08CE08 800F3958 46040002 */ mul.s $f0, $f0, $f4 -/* 08CE0C 800F395C 00000000 */ nop -/* 08CE10 800F3960 256200A0 */ addiu $v0, $t3, 0xa0 -.L800F3964: -/* 08CE14 800F3964 4600118D */ trunc.w.s $f6, $f2 -/* 08CE18 800F3968 44033000 */ mfc1 $v1, $f6 -/* 08CE1C 800F396C 00000000 */ nop -/* 08CE20 800F3970 30630FFF */ andi $v1, $v1, 0xfff -/* 08CE24 800F3974 00031B00 */ sll $v1, $v1, 0xc -/* 08CE28 800F3978 4600018D */ trunc.w.s $f6, $f0 -/* 08CE2C 800F397C 44043000 */ mfc1 $a0, $f6 -/* 08CE30 800F3980 00000000 */ nop -/* 08CE34 800F3984 30840FFF */ andi $a0, $a0, 0xfff -/* 08CE38 800F3988 44821000 */ mtc1 $v0, $f2 -/* 08CE3C 800F398C 00000000 */ nop -/* 08CE40 800F3990 468010A0 */ cvt.s.w $f2, $f2 -/* 08CE44 800F3994 46041082 */ mul.s $f2, $f2, $f4 -/* 08CE48 800F3998 00000000 */ nop -/* 08CE4C 800F399C 3C02ED00 */ lui $v0, 0xed00 -/* 08CE50 800F39A0 00822025 */ or $a0, $a0, $v0 -/* 08CE54 800F39A4 00641825 */ or $v1, $v1, $a0 -/* 08CE58 800F39A8 44880000 */ mtc1 $t0, $f0 -/* 08CE5C 800F39AC 00000000 */ nop -/* 08CE60 800F39B0 46800020 */ cvt.s.w $f0, $f0 -/* 08CE64 800F39B4 46040002 */ mul.s $f0, $f0, $f4 -/* 08CE68 800F39B8 00000000 */ nop -/* 08CE6C 800F39BC ACA30000 */ sw $v1, ($a1) -/* 08CE70 800F39C0 4600118D */ trunc.w.s $f6, $f2 -/* 08CE74 800F39C4 44023000 */ mfc1 $v0, $f6 -/* 08CE78 800F39C8 00000000 */ nop -/* 08CE7C 800F39CC 30420FFF */ andi $v0, $v0, 0xfff -/* 08CE80 800F39D0 00021300 */ sll $v0, $v0, 0xc -/* 08CE84 800F39D4 4600018D */ trunc.w.s $f6, $f0 -/* 08CE88 800F39D8 44033000 */ mfc1 $v1, $f6 -/* 08CE8C 800F39DC 00000000 */ nop -/* 08CE90 800F39E0 30630FFF */ andi $v1, $v1, 0xfff -/* 08CE94 800F39E4 00431025 */ or $v0, $v0, $v1 -/* 08CE98 800F39E8 ACA20004 */ sw $v0, 4($a1) -.L800F39EC: -/* 08CE9C 800F39EC 3C028011 */ lui $v0, 0x8011 -/* 08CEA0 800F39F0 8442D658 */ lh $v0, -0x29a8($v0) -/* 08CEA4 800F39F4 8FAB0060 */ lw $t3, 0x60($sp) -/* 08CEA8 800F39F8 3C128011 */ lui $s2, 0x8011 -/* 08CEAC 800F39FC 2652D69C */ addiu $s2, $s2, -0x2964 -/* 08CEB0 800F3A00 01621821 */ addu $v1, $t3, $v0 -/* 08CEB4 800F3A04 8E420000 */ lw $v0, ($s2) -/* 08CEB8 800F3A08 24130002 */ addiu $s3, $zero, 2 -/* 08CEBC 800F3A0C 8C420318 */ lw $v0, 0x318($v0) -/* 08CEC0 800F3A10 14530002 */ bne $v0, $s3, .L800F3A1C -/* 08CEC4 800F3A14 24710008 */ addiu $s1, $v1, 8 -/* 08CEC8 800F3A18 24710015 */ addiu $s1, $v1, 0x15 -.L800F3A1C: -/* 08CECC 800F3A1C 2626FFFD */ addiu $a2, $s1, -3 -/* 08CED0 800F3A20 8FAA005C */ lw $t2, 0x5c($sp) -/* 08CED4 800F3A24 3C108011 */ lui $s0, 0x8011 -/* 08CED8 800F3A28 8E10D65C */ lw $s0, -0x29a4($s0) -/* 08CEDC 800F3A2C 25450049 */ addiu $a1, $t2, 0x49 -/* 08CEE0 800F3A30 0C051261 */ jal set_icon_render_pos -/* 08CEE4 800F3A34 0200202D */ daddu $a0, $s0, $zero -/* 08CEE8 800F3A38 3C058011 */ lui $a1, 0x8011 -/* 08CEEC 800F3A3C 8CA5D650 */ lw $a1, -0x29b0($a1) -/* 08CEF0 800F3A40 0C0513AC */ jal func_80144EB0 -/* 08CEF4 800F3A44 0200202D */ daddu $a0, $s0, $zero -/* 08CEF8 800F3A48 8E420000 */ lw $v0, ($s2) -/* 08CEFC 800F3A4C 3C038011 */ lui $v1, 0x8011 -/* 08CF00 800F3A50 8063D68F */ lb $v1, -0x2971($v1) -/* 08CF04 800F3A54 8C420324 */ lw $v0, 0x324($v0) -/* 08CF08 800F3A58 0062182A */ slt $v1, $v1, $v0 -/* 08CF0C 800F3A5C 10600003 */ beqz $v1, .L800F3A6C -/* 08CF10 800F3A60 00000000 */ nop -/* 08CF14 800F3A64 0C0511F8 */ jal func_801447E0 -/* 08CF18 800F3A68 0200202D */ daddu $a0, $s0, $zero -.L800F3A6C: -/* 08CF1C 800F3A6C 8FAB005C */ lw $t3, 0x5c($sp) -/* 08CF20 800F3A70 8FAA0060 */ lw $t2, 0x60($sp) -/* 08CF24 800F3A74 3C038011 */ lui $v1, 0x8011 -/* 08CF28 800F3A78 8063D656 */ lb $v1, -0x29aa($v1) -/* 08CF2C 800F3A7C 25510002 */ addiu $s1, $t2, 2 -/* 08CF30 800F3A80 00031040 */ sll $v0, $v1, 1 -/* 08CF34 800F3A84 00431021 */ addu $v0, $v0, $v1 -/* 08CF38 800F3A88 00021080 */ sll $v0, $v0, 2 -/* 08CF3C 800F3A8C AFAB0020 */ sw $t3, 0x20($sp) -/* 08CF40 800F3A90 8E440000 */ lw $a0, ($s2) -/* 08CF44 800F3A94 00431021 */ addu $v0, $v0, $v1 -/* 08CF48 800F3A98 8C830318 */ lw $v1, 0x318($a0) -/* 08CF4C 800F3A9C 14730008 */ bne $v1, $s3, .L800F3AC0 -/* 08CF50 800F3AA0 02224021 */ addu $t0, $s1, $v0 -/* 08CF54 800F3AA4 3C028011 */ lui $v0, 0x8011 -/* 08CF58 800F3AA8 8042D654 */ lb $v0, -0x29ac($v0) -/* 08CF5C 800F3AAC 28420002 */ slti $v0, $v0, 2 -/* 08CF60 800F3AB0 10400003 */ beqz $v0, .L800F3AC0 -/* 08CF64 800F3AB4 00000000 */ nop -/* 08CF68 800F3AB8 0140882D */ daddu $s1, $t2, $zero -/* 08CF6C 800F3ABC 25080001 */ addiu $t0, $t0, 1 -.L800F3AC0: -/* 08CF70 800F3AC0 C7A20020 */ lwc1 $f2, 0x20($sp) -/* 08CF74 800F3AC4 468010A0 */ cvt.s.w $f2, $f2 -/* 08CF78 800F3AC8 3C014080 */ lui $at, 0x4080 -/* 08CF7C 800F3ACC 44812000 */ mtc1 $at, $f4 -/* 08CF80 800F3AD0 3C06800A */ lui $a2, 0x800a -/* 08CF84 800F3AD4 24C6A66C */ addiu $a2, $a2, -0x5994 -/* 08CF88 800F3AD8 46041082 */ mul.s $f2, $f2, $f4 -/* 08CF8C 800F3ADC 00000000 */ nop -/* 08CF90 800F3AE0 44910000 */ mtc1 $s1, $f0 -/* 08CF94 800F3AE4 00000000 */ nop -/* 08CF98 800F3AE8 46800020 */ cvt.s.w $f0, $f0 -/* 08CF9C 800F3AEC 8CC50000 */ lw $a1, ($a2) -/* 08CFA0 800F3AF0 3C04ED00 */ lui $a0, 0xed00 -/* 08CFA4 800F3AF4 00A0382D */ daddu $a3, $a1, $zero -/* 08CFA8 800F3AF8 46040002 */ mul.s $f0, $f0, $f4 -/* 08CFAC 800F3AFC 00000000 */ nop -/* 08CFB0 800F3B00 24A50008 */ addiu $a1, $a1, 8 -/* 08CFB4 800F3B04 4600118D */ trunc.w.s $f6, $f2 -/* 08CFB8 800F3B08 44023000 */ mfc1 $v0, $f6 -/* 08CFBC 800F3B0C 00000000 */ nop -/* 08CFC0 800F3B10 30420FFF */ andi $v0, $v0, 0xfff -/* 08CFC4 800F3B14 00021300 */ sll $v0, $v0, 0xc -/* 08CFC8 800F3B18 4600018D */ trunc.w.s $f6, $f0 -/* 08CFCC 800F3B1C 44033000 */ mfc1 $v1, $f6 -/* 08CFD0 800F3B20 00000000 */ nop -/* 08CFD4 800F3B24 30630FFF */ andi $v1, $v1, 0xfff -/* 08CFD8 800F3B28 00641825 */ or $v1, $v1, $a0 -/* 08CFDC 800F3B2C 00431025 */ or $v0, $v0, $v1 -/* 08CFE0 800F3B30 3C048011 */ lui $a0, 0x8011 -/* 08CFE4 800F3B34 8C84D69C */ lw $a0, -0x2964($a0) -/* 08CFE8 800F3B38 44880000 */ mtc1 $t0, $f0 -/* 08CFEC 800F3B3C 00000000 */ nop -/* 08CFF0 800F3B40 46800020 */ cvt.s.w $f0, $f0 -/* 08CFF4 800F3B44 ACE20000 */ sw $v0, ($a3) -/* 08CFF8 800F3B48 8FAB0020 */ lw $t3, 0x20($sp) -/* 08CFFC 800F3B4C 8C820318 */ lw $v0, 0x318($a0) -/* 08D000 800F3B50 46040002 */ mul.s $f0, $f0, $f4 -/* 08D004 800F3B54 00000000 */ nop -/* 08D008 800F3B58 AFA00024 */ sw $zero, 0x24($sp) -/* 08D00C 800F3B5C 00021040 */ sll $v0, $v0, 1 -/* 08D010 800F3B60 3C018011 */ lui $at, 0x8011 -/* 08D014 800F3B64 00220821 */ addu $at, $at, $v0 -/* 08D018 800F3B68 842298BC */ lh $v0, -0x6744($at) -/* 08D01C 800F3B6C 8FAA0060 */ lw $t2, 0x60($sp) -/* 08D020 800F3B70 01621021 */ addu $v0, $t3, $v0 -/* 08D024 800F3B74 44821000 */ mtc1 $v0, $f2 -/* 08D028 800F3B78 00000000 */ nop -/* 08D02C 800F3B7C 468010A0 */ cvt.s.w $f2, $f2 -/* 08D030 800F3B80 3C028011 */ lui $v0, 0x8011 -/* 08D034 800F3B84 8442D658 */ lh $v0, -0x29a8($v0) -/* 08D038 800F3B88 46041082 */ mul.s $f2, $f2, $f4 -/* 08D03C 800F3B8C 00000000 */ nop -/* 08D040 800F3B90 ACC50000 */ sw $a1, ($a2) -/* 08D044 800F3B94 8FAB005C */ lw $t3, 0x5c($sp) -/* 08D048 800F3B98 01424821 */ addu $t1, $t2, $v0 -/* 08D04C 800F3B9C 256B0020 */ addiu $t3, $t3, 0x20 -/* 08D050 800F3BA0 AFAB0020 */ sw $t3, 0x20($sp) -/* 08D054 800F3BA4 4600118D */ trunc.w.s $f6, $f2 -/* 08D058 800F3BA8 44023000 */ mfc1 $v0, $f6 -/* 08D05C 800F3BAC 00000000 */ nop -/* 08D060 800F3BB0 30420FFF */ andi $v0, $v0, 0xfff -/* 08D064 800F3BB4 00021300 */ sll $v0, $v0, 0xc -/* 08D068 800F3BB8 4600018D */ trunc.w.s $f6, $f0 -/* 08D06C 800F3BBC 44033000 */ mfc1 $v1, $f6 -/* 08D070 800F3BC0 00000000 */ nop -/* 08D074 800F3BC4 30630FFF */ andi $v1, $v1, 0xfff -/* 08D078 800F3BC8 00431025 */ or $v0, $v0, $v1 -/* 08D07C 800F3BCC ACE20004 */ sw $v0, 4($a3) -/* 08D080 800F3BD0 8C830318 */ lw $v1, 0x318($a0) -/* 08D084 800F3BD4 24020002 */ addiu $v0, $zero, 2 -/* 08D088 800F3BD8 14620004 */ bne $v1, $v0, .L800F3BEC -/* 08D08C 800F3BDC 25310002 */ addiu $s1, $t1, 2 -/* 08D090 800F3BE0 0120882D */ daddu $s1, $t1, $zero -/* 08D094 800F3BE4 0040582D */ daddu $t3, $v0, $zero -/* 08D098 800F3BE8 AFAB0024 */ sw $t3, 0x24($sp) -.L800F3BEC: -/* 08D09C 800F3BEC 8C820324 */ lw $v0, 0x324($a0) -/* 08D0A0 800F3BF0 184000EA */ blez $v0, .L800F3F9C -/* 08D0A4 800F3BF4 0000902D */ daddu $s2, $zero, $zero -/* 08D0A8 800F3BF8 AFA0002C */ sw $zero, 0x2c($sp) -.L800F3BFC: -/* 08D0AC 800F3BFC 8FAA0028 */ lw $t2, 0x28($sp) -/* 08D0B0 800F3C00 2542FFFF */ addiu $v0, $t2, -1 -/* 08D0B4 800F3C04 0242102A */ slt $v0, $s2, $v0 -/* 08D0B8 800F3C08 14400007 */ bnez $v0, .L800F3C28 -/* 08D0BC 800F3C0C 00000000 */ nop -/* 08D0C0 800F3C10 3C028011 */ lui $v0, 0x8011 -/* 08D0C4 800F3C14 8042D656 */ lb $v0, -0x29aa($v0) -/* 08D0C8 800F3C18 01421021 */ addu $v0, $t2, $v0 -/* 08D0CC 800F3C1C 0052102A */ slt $v0, $v0, $s2 -/* 08D0D0 800F3C20 10400006 */ beqz $v0, .L800F3C3C -/* 08D0D4 800F3C24 240A0001 */ addiu $t2, $zero, 1 -.L800F3C28: -/* 08D0D8 800F3C28 164000D3 */ bnez $s2, .L800F3F78 -/* 08D0DC 800F3C2C 2631000D */ addiu $s1, $s1, 0xd -/* 08D0E0 800F3C30 8FAB0024 */ lw $t3, 0x24($sp) -/* 08D0E4 800F3C34 0803CFDE */ j .L800F3F78 -/* 08D0E8 800F3C38 022B8821 */ addu $s1, $s1, $t3 - -.L800F3C3C: -/* 08D0EC 800F3C3C 3C028011 */ lui $v0, 0x8011 -/* 08D0F0 800F3C40 8C42D69C */ lw $v0, -0x2964($v0) -/* 08D0F4 800F3C44 8C430318 */ lw $v1, 0x318($v0) -/* 08D0F8 800F3C48 3C108011 */ lui $s0, 0x8011 -/* 08D0FC 800F3C4C 8210D690 */ lb $s0, -0x2970($s0) -/* 08D100 800F3C50 506A0001 */ beql $v1, $t2, .L800F3C58 -/* 08D104 800F3C54 2410000A */ addiu $s0, $zero, 0xa -.L800F3C58: -/* 08D108 800F3C58 8FAB002C */ lw $t3, 0x2c($sp) -/* 08D10C 800F3C5C 004B1021 */ addu $v0, $v0, $t3 -/* 08D110 800F3C60 8C42018C */ lw $v0, 0x18c($v0) -/* 08D114 800F3C64 50400001 */ beql $v0, $zero, .L800F3C6C -/* 08D118 800F3C68 2410000B */ addiu $s0, $zero, 0xb -.L800F3C6C: -/* 08D11C 800F3C6C 2C62000E */ sltiu $v0, $v1, 0xe -/* 08D120 800F3C70 1040005A */ beqz $v0, .L800F3DDC -/* 08D124 800F3C74 00031080 */ sll $v0, $v1, 2 -/* 08D128 800F3C78 3C018011 */ lui $at, 0x8011 -/* 08D12C 800F3C7C 00220821 */ addu $at, $at, $v0 -/* 08D130 800F3C80 8C22C7C8 */ lw $v0, -0x3838($at) -/* 08D134 800F3C84 00400008 */ jr $v0 -/* 08D138 800F3C88 00000000 */ nop -/* 08D13C 800F3C8C 3C078011 */ lui $a3, 0x8011 -/* 08D140 800F3C90 8CE7D650 */ lw $a3, -0x29b0($a3) -/* 08D144 800F3C94 3C028011 */ lui $v0, 0x8011 -/* 08D148 800F3C98 8C42D69C */ lw $v0, -0x2964($v0) -/* 08D14C 800F3C9C 8FA50020 */ lw $a1, 0x20($sp) -/* 08D150 800F3CA0 8FAB002C */ lw $t3, 0x2c($sp) -/* 08D154 800F3CA4 240A0001 */ addiu $t2, $zero, 1 -/* 08D158 800F3CA8 AFB00010 */ sw $s0, 0x10($sp) -/* 08D15C 800F3CAC AFAA0014 */ sw $t2, 0x14($sp) -/* 08D160 800F3CB0 004B1021 */ addu $v0, $v0, $t3 -/* 08D164 800F3CB4 8C440084 */ lw $a0, 0x84($v0) -/* 08D168 800F3CB8 0803CF75 */ j .L800F3DD4 -/* 08D16C 800F3CBC 0220302D */ daddu $a2, $s1, $zero - -/* 08D170 800F3CC0 3C078011 */ lui $a3, 0x8011 -/* 08D174 800F3CC4 8CE7D650 */ lw $a3, -0x29b0($a3) -/* 08D178 800F3CC8 3C028011 */ lui $v0, 0x8011 -/* 08D17C 800F3CCC 8C42D69C */ lw $v0, -0x2964($v0) -/* 08D180 800F3CD0 8FA50020 */ lw $a1, 0x20($sp) -/* 08D184 800F3CD4 8FAB002C */ lw $t3, 0x2c($sp) -/* 08D188 800F3CD8 240A0001 */ addiu $t2, $zero, 1 -/* 08D18C 800F3CDC AFB00010 */ sw $s0, 0x10($sp) -/* 08D190 800F3CE0 AFAA0014 */ sw $t2, 0x14($sp) -/* 08D194 800F3CE4 004B1021 */ addu $v0, $v0, $t3 -/* 08D198 800F3CE8 8C440084 */ lw $a0, 0x84($v0) -/* 08D19C 800F3CEC 0803CF75 */ j .L800F3DD4 -/* 08D1A0 800F3CF0 0220302D */ daddu $a2, $s1, $zero - -/* 08D1A4 800F3CF4 3C028011 */ lui $v0, 0x8011 -/* 08D1A8 800F3CF8 8C42D69C */ lw $v0, -0x2964($v0) -/* 08D1AC 800F3CFC 8FAA002C */ lw $t2, 0x2c($sp) -/* 08D1B0 800F3D00 004A2021 */ addu $a0, $v0, $t2 -/* 08D1B4 800F3D04 8C83018C */ lw $v1, 0x18c($a0) -/* 08D1B8 800F3D08 24020002 */ addiu $v0, $zero, 2 -/* 08D1BC 800F3D0C 50620001 */ beql $v1, $v0, .L800F3D14 -/* 08D1C0 800F3D10 24100022 */ addiu $s0, $zero, 0x22 -.L800F3D14: -/* 08D1C4 800F3D14 8FA50020 */ lw $a1, 0x20($sp) -/* 08D1C8 800F3D18 240B0001 */ addiu $t3, $zero, 1 -/* 08D1CC 800F3D1C AFB00010 */ sw $s0, 0x10($sp) -/* 08D1D0 800F3D20 AFAB0014 */ sw $t3, 0x14($sp) -/* 08D1D4 800F3D24 8C840084 */ lw $a0, 0x84($a0) -/* 08D1D8 800F3D28 3C078011 */ lui $a3, 0x8011 -/* 08D1DC 800F3D2C 8CE7D650 */ lw $a3, -0x29b0($a3) -/* 08D1E0 800F3D30 0803CF75 */ j .L800F3DD4 -/* 08D1E4 800F3D34 0220302D */ daddu $a2, $s1, $zero - -/* 08D1E8 800F3D38 3C028011 */ lui $v0, 0x8011 -/* 08D1EC 800F3D3C 8C42D69C */ lw $v0, -0x2964($v0) -/* 08D1F0 800F3D40 8FAA002C */ lw $t2, 0x2c($sp) -/* 08D1F4 800F3D44 004A1821 */ addu $v1, $v0, $t2 -/* 08D1F8 800F3D48 8C620210 */ lw $v0, 0x210($v1) -/* 08D1FC 800F3D4C 10400002 */ beqz $v0, .L800F3D58 -/* 08D200 800F3D50 2410000A */ addiu $s0, $zero, 0xa -/* 08D204 800F3D54 2410000B */ addiu $s0, $zero, 0xb -.L800F3D58: -/* 08D208 800F3D58 8C640108 */ lw $a0, 0x108($v1) -/* 08D20C 800F3D5C 0000282D */ daddu $a1, $zero, $zero -/* 08D210 800F3D60 0C0496FA */ jal set_message_value -/* 08D214 800F3D64 24840001 */ addiu $a0, $a0, 1 -/* 08D218 800F3D68 3C04001D */ lui $a0, 0x1d -/* 08D21C 800F3D6C 348400CD */ ori $a0, $a0, 0xcd -/* 08D220 800F3D70 0220302D */ daddu $a2, $s1, $zero -/* 08D224 800F3D74 8FAB0020 */ lw $t3, 0x20($sp) -/* 08D228 800F3D78 3C078011 */ lui $a3, 0x8011 -/* 08D22C 800F3D7C 8CE7D650 */ lw $a3, -0x29b0($a3) -/* 08D230 800F3D80 240A0001 */ addiu $t2, $zero, 1 -/* 08D234 800F3D84 AFB00010 */ sw $s0, 0x10($sp) -/* 08D238 800F3D88 AFAA0014 */ sw $t2, 0x14($sp) -/* 08D23C 800F3D8C 0803CF75 */ j .L800F3DD4 -/* 08D240 800F3D90 25650008 */ addiu $a1, $t3, 8 - -/* 08D244 800F3D94 3C028011 */ lui $v0, 0x8011 -/* 08D248 800F3D98 8C42D69C */ lw $v0, -0x2964($v0) -/* 08D24C 800F3D9C 8FAB002C */ lw $t3, 0x2c($sp) -/* 08D250 800F3DA0 004B1821 */ addu $v1, $v0, $t3 -/* 08D254 800F3DA4 8C620210 */ lw $v0, 0x210($v1) -/* 08D258 800F3DA8 10400002 */ beqz $v0, .L800F3DB4 -/* 08D25C 800F3DAC 2410000A */ addiu $s0, $zero, 0xa -/* 08D260 800F3DB0 2410000B */ addiu $s0, $zero, 0xb -.L800F3DB4: -/* 08D264 800F3DB4 0220302D */ daddu $a2, $s1, $zero -/* 08D268 800F3DB8 8FA50020 */ lw $a1, 0x20($sp) -/* 08D26C 800F3DBC 3C078011 */ lui $a3, 0x8011 -/* 08D270 800F3DC0 8CE7D650 */ lw $a3, -0x29b0($a3) -/* 08D274 800F3DC4 8C640084 */ lw $a0, 0x84($v1) -/* 08D278 800F3DC8 240A0001 */ addiu $t2, $zero, 1 -/* 08D27C 800F3DCC AFB00010 */ sw $s0, 0x10($sp) -/* 08D280 800F3DD0 AFAA0014 */ sw $t2, 0x14($sp) -.L800F3DD4: -/* 08D284 800F3DD4 0C04993B */ jal draw_string -/* 08D288 800F3DD8 00000000 */ nop -.L800F3DDC: -/* 08D28C 800F3DDC 3C048011 */ lui $a0, 0x8011 -/* 08D290 800F3DE0 8C84D69C */ lw $a0, -0x2964($a0) -/* 08D294 800F3DE4 8C830318 */ lw $v1, 0x318($a0) -/* 08D298 800F3DE8 240B0003 */ addiu $t3, $zero, 3 -/* 08D29C 800F3DEC 106B0045 */ beq $v1, $t3, .L800F3F04 -/* 08D2A0 800F3DF0 0220302D */ daddu $a2, $s1, $zero -/* 08D2A4 800F3DF4 28620004 */ slti $v0, $v1, 4 -/* 08D2A8 800F3DF8 10400005 */ beqz $v0, .L800F3E10 -/* 08D2AC 800F3DFC 240A0001 */ addiu $t2, $zero, 1 -/* 08D2B0 800F3E00 106A000B */ beq $v1, $t2, .L800F3E30 -/* 08D2B4 800F3E04 0000982D */ daddu $s3, $zero, $zero -/* 08D2B8 800F3E08 0803CFDA */ j .L800F3F68 -/* 08D2BC 800F3E0C 2631000D */ addiu $s1, $s1, 0xd - -.L800F3E10: -/* 08D2C0 800F3E10 24020004 */ addiu $v0, $zero, 4 -/* 08D2C4 800F3E14 10620005 */ beq $v1, $v0, .L800F3E2C -/* 08D2C8 800F3E18 24020005 */ addiu $v0, $zero, 5 -/* 08D2CC 800F3E1C 10620044 */ beq $v1, $v0, .L800F3F30 -/* 08D2D0 800F3E20 0220302D */ daddu $a2, $s1, $zero -/* 08D2D4 800F3E24 0803CFDA */ j .L800F3F68 -/* 08D2D8 800F3E28 2631000D */ addiu $s1, $s1, 0xd - -.L800F3E2C: -/* 08D2DC 800F3E2C 0000982D */ daddu $s3, $zero, $zero -.L800F3E30: -/* 08D2E0 800F3E30 0012F080 */ sll $fp, $s2, 2 -/* 08D2E4 800F3E34 2417005B */ addiu $s7, $zero, 0x5b -/* 08D2E8 800F3E38 24160055 */ addiu $s6, $zero, 0x55 -/* 08D2EC 800F3E3C 3C158011 */ lui $s5, 0x8011 -/* 08D2F0 800F3E40 26B59898 */ addiu $s5, $s5, -0x6768 -/* 08D2F4 800F3E44 3C148011 */ lui $s4, 0x8011 -/* 08D2F8 800F3E48 26949890 */ addiu $s4, $s4, -0x6770 -.L800F3E4C: -/* 08D2FC 800F3E4C 3C028011 */ lui $v0, 0x8011 -/* 08D300 800F3E50 8C42D69C */ lw $v0, -0x2964($v0) -/* 08D304 800F3E54 005E1021 */ addu $v0, $v0, $fp -/* 08D308 800F3E58 8C42018C */ lw $v0, 0x18c($v0) -/* 08D30C 800F3E5C 3C108011 */ lui $s0, 0x8011 -/* 08D310 800F3E60 8E10D668 */ lw $s0, -0x2998($s0) -/* 08D314 800F3E64 10400003 */ beqz $v0, .L800F3E74 -/* 08D318 800F3E68 00000000 */ nop -/* 08D31C 800F3E6C 0803CF9E */ j .L800F3E78 -/* 08D320 800F3E70 8E850000 */ lw $a1, ($s4) - -.L800F3E74: -/* 08D324 800F3E74 8EA50000 */ lw $a1, ($s5) -.L800F3E78: -/* 08D328 800F3E78 0C0511FF */ jal set_menu_icon_script -/* 08D32C 800F3E7C 0200202D */ daddu $a0, $s0, $zero -/* 08D330 800F3E80 3C028011 */ lui $v0, 0x8011 -/* 08D334 800F3E84 8C42D69C */ lw $v0, -0x2964($v0) -/* 08D338 800F3E88 8C420318 */ lw $v0, 0x318($v0) -/* 08D33C 800F3E8C 240B0001 */ addiu $t3, $zero, 1 -/* 08D340 800F3E90 144B0005 */ bne $v0, $t3, .L800F3EA8 -/* 08D344 800F3E94 0200202D */ daddu $a0, $s0, $zero -/* 08D348 800F3E98 8FAA0020 */ lw $t2, 0x20($sp) -/* 08D34C 800F3E9C 2626000A */ addiu $a2, $s1, 0xa -/* 08D350 800F3EA0 0803CFAD */ j .L800F3EB4 -/* 08D354 800F3EA4 01562821 */ addu $a1, $t2, $s6 - -.L800F3EA8: -/* 08D358 800F3EA8 8FAB0020 */ lw $t3, 0x20($sp) -/* 08D35C 800F3EAC 2626000A */ addiu $a2, $s1, 0xa -/* 08D360 800F3EB0 01772821 */ addu $a1, $t3, $s7 -.L800F3EB4: -/* 08D364 800F3EB4 0C051261 */ jal set_icon_render_pos -/* 08D368 800F3EB8 00000000 */ nop -/* 08D36C 800F3EBC 3C028011 */ lui $v0, 0x8011 -/* 08D370 800F3EC0 8C42D69C */ lw $v0, -0x2964($v0) -/* 08D374 800F3EC4 005E1021 */ addu $v0, $v0, $fp -/* 08D378 800F3EC8 8C420210 */ lw $v0, 0x210($v0) -/* 08D37C 800F3ECC 0262102A */ slt $v0, $s3, $v0 -/* 08D380 800F3ED0 50400004 */ beql $v0, $zero, .L800F3EE4 -/* 08D384 800F3ED4 26F7000D */ addiu $s7, $s7, 0xd -/* 08D388 800F3ED8 0C0511F1 */ jal draw_icon_1 -/* 08D38C 800F3EDC 0200202D */ daddu $a0, $s0, $zero -/* 08D390 800F3EE0 26F7000D */ addiu $s7, $s7, 0xd -.L800F3EE4: -/* 08D394 800F3EE4 26D6000D */ addiu $s6, $s6, 0xd -/* 08D398 800F3EE8 26B50004 */ addiu $s5, $s5, 4 -/* 08D39C 800F3EEC 26730001 */ addiu $s3, $s3, 1 -/* 08D3A0 800F3EF0 2A620002 */ slti $v0, $s3, 2 -/* 08D3A4 800F3EF4 1440FFD5 */ bnez $v0, .L800F3E4C -/* 08D3A8 800F3EF8 26940004 */ addiu $s4, $s4, 4 -/* 08D3AC 800F3EFC 0803CFDA */ j .L800F3F68 -/* 08D3B0 800F3F00 2631000D */ addiu $s1, $s1, 0xd - -.L800F3F04: -/* 08D3B4 800F3F04 8FAA0020 */ lw $t2, 0x20($sp) -/* 08D3B8 800F3F08 3C028011 */ lui $v0, 0x8011 -/* 08D3BC 800F3F0C 8C42D650 */ lw $v0, -0x29b0($v0) -/* 08D3C0 800F3F10 25450073 */ addiu $a1, $t2, 0x73 -/* 08D3C4 800F3F14 8FAA002C */ lw $t2, 0x2c($sp) -/* 08D3C8 800F3F18 240B0003 */ addiu $t3, $zero, 3 -/* 08D3CC 800F3F1C AFB00010 */ sw $s0, 0x10($sp) -/* 08D3D0 800F3F20 AFAB0018 */ sw $t3, 0x18($sp) -/* 08D3D4 800F3F24 AFA20014 */ sw $v0, 0x14($sp) -/* 08D3D8 800F3F28 0803CFD6 */ j .L800F3F58 -/* 08D3DC 800F3F2C 008A1021 */ addu $v0, $a0, $t2 - -.L800F3F30: -/* 08D3E0 800F3F30 8FAB0020 */ lw $t3, 0x20($sp) -/* 08D3E4 800F3F34 3C028011 */ lui $v0, 0x8011 -/* 08D3E8 800F3F38 8C42D650 */ lw $v0, -0x29b0($v0) -/* 08D3EC 800F3F3C 25650079 */ addiu $a1, $t3, 0x79 -/* 08D3F0 800F3F40 8FAB002C */ lw $t3, 0x2c($sp) -/* 08D3F4 800F3F44 240A0003 */ addiu $t2, $zero, 3 -/* 08D3F8 800F3F48 AFB00010 */ sw $s0, 0x10($sp) -/* 08D3FC 800F3F4C AFAA0018 */ sw $t2, 0x18($sp) -/* 08D400 800F3F50 AFA20014 */ sw $v0, 0x14($sp) -/* 08D404 800F3F54 008B1021 */ addu $v0, $a0, $t3 -.L800F3F58: -/* 08D408 800F3F58 8C440210 */ lw $a0, 0x210($v0) -/* 08D40C 800F3F5C 0C049DA7 */ jal draw_number -/* 08D410 800F3F60 24070001 */ addiu $a3, $zero, 1 -/* 08D414 800F3F64 2631000D */ addiu $s1, $s1, 0xd -.L800F3F68: -/* 08D418 800F3F68 56400004 */ bnel $s2, $zero, .L800F3F7C -/* 08D41C 800F3F6C 26520001 */ addiu $s2, $s2, 1 -/* 08D420 800F3F70 8FAA0024 */ lw $t2, 0x24($sp) -/* 08D424 800F3F74 022A8821 */ addu $s1, $s1, $t2 -.L800F3F78: -/* 08D428 800F3F78 26520001 */ addiu $s2, $s2, 1 -.L800F3F7C: -/* 08D42C 800F3F7C 3C028011 */ lui $v0, 0x8011 -/* 08D430 800F3F80 8C42D69C */ lw $v0, -0x2964($v0) -/* 08D434 800F3F84 8FAB002C */ lw $t3, 0x2c($sp) -/* 08D438 800F3F88 8C420324 */ lw $v0, 0x324($v0) -/* 08D43C 800F3F8C 256B0004 */ addiu $t3, $t3, 4 -/* 08D440 800F3F90 0242102A */ slt $v0, $s2, $v0 -/* 08D444 800F3F94 1440FF19 */ bnez $v0, .L800F3BFC -/* 08D448 800F3F98 AFAB002C */ sw $t3, 0x2c($sp) -.L800F3F9C: -/* 08D44C 800F3F9C 8FAA005C */ lw $t2, 0x5c($sp) -/* 08D450 800F3FA0 3C028011 */ lui $v0, 0x8011 -/* 08D454 800F3FA4 8442D658 */ lh $v0, -0x29a8($v0) -/* 08D458 800F3FA8 8FAB0060 */ lw $t3, 0x60($sp) -/* 08D45C 800F3FAC AFA00024 */ sw $zero, 0x24($sp) -/* 08D460 800F3FB0 254A0018 */ addiu $t2, $t2, 0x18 -/* 08D464 800F3FB4 01622021 */ addu $a0, $t3, $v0 -/* 08D468 800F3FB8 3C028011 */ lui $v0, 0x8011 -/* 08D46C 800F3FBC 8C42D69C */ lw $v0, -0x2964($v0) -/* 08D470 800F3FC0 AFAA0020 */ sw $t2, 0x20($sp) -/* 08D474 800F3FC4 8C430318 */ lw $v1, 0x318($v0) -/* 08D478 800F3FC8 24020002 */ addiu $v0, $zero, 2 -/* 08D47C 800F3FCC 14620004 */ bne $v1, $v0, .L800F3FE0 -/* 08D480 800F3FD0 24910008 */ addiu $s1, $a0, 8 -/* 08D484 800F3FD4 24910006 */ addiu $s1, $a0, 6 -/* 08D488 800F3FD8 0040502D */ daddu $t2, $v0, $zero -/* 08D48C 800F3FDC AFAA0024 */ sw $t2, 0x24($sp) -.L800F3FE0: -/* 08D490 800F3FE0 2C62000E */ sltiu $v0, $v1, 0xe -/* 08D494 800F3FE4 104000B2 */ beqz $v0, .L800F42B0 -/* 08D498 800F3FE8 00031080 */ sll $v0, $v1, 2 -/* 08D49C 800F3FEC 3C018011 */ lui $at, 0x8011 -/* 08D4A0 800F3FF0 00220821 */ addu $at, $at, $v0 -/* 08D4A4 800F3FF4 8C22C800 */ lw $v0, -0x3800($at) -/* 08D4A8 800F3FF8 00400008 */ jr $v0 -/* 08D4AC 800F3FFC 00000000 */ nop -/* 08D4B0 800F4000 3C028011 */ lui $v0, 0x8011 -/* 08D4B4 800F4004 8C42D69C */ lw $v0, -0x2964($v0) -/* 08D4B8 800F4008 8C420324 */ lw $v0, 0x324($v0) -/* 08D4BC 800F400C 184000A8 */ blez $v0, .L800F42B0 -/* 08D4C0 800F4010 0000902D */ daddu $s2, $zero, $zero -/* 08D4C4 800F4014 8FAB0028 */ lw $t3, 0x28($sp) -/* 08D4C8 800F4018 2573FFFF */ addiu $s3, $t3, -1 -/* 08D4CC 800F401C 0253102A */ slt $v0, $s2, $s3 -.L800F4020: -/* 08D4D0 800F4020 14400008 */ bnez $v0, .L800F4044 -/* 08D4D4 800F4024 00000000 */ nop -/* 08D4D8 800F4028 3C028011 */ lui $v0, 0x8011 -/* 08D4DC 800F402C 8042D656 */ lb $v0, -0x29aa($v0) -/* 08D4E0 800F4030 8FAA0028 */ lw $t2, 0x28($sp) -/* 08D4E4 800F4034 01421021 */ addu $v0, $t2, $v0 -/* 08D4E8 800F4038 0052102A */ slt $v0, $v0, $s2 -/* 08D4EC 800F403C 10400006 */ beqz $v0, .L800F4058 -/* 08D4F0 800F4040 00121880 */ sll $v1, $s2, 2 -.L800F4044: -/* 08D4F4 800F4044 1640001F */ bnez $s2, .L800F40C4 -/* 08D4F8 800F4048 2631000D */ addiu $s1, $s1, 0xd -/* 08D4FC 800F404C 8FAB0024 */ lw $t3, 0x24($sp) -/* 08D500 800F4050 0803D031 */ j .L800F40C4 -/* 08D504 800F4054 022B8821 */ addu $s1, $s1, $t3 - -.L800F4058: -/* 08D508 800F4058 3C028011 */ lui $v0, 0x8011 -/* 08D50C 800F405C 8C42D69C */ lw $v0, -0x2964($v0) -/* 08D510 800F4060 3C108011 */ lui $s0, 0x8011 -/* 08D514 800F4064 8E10D678 */ lw $s0, -0x2988($s0) -/* 08D518 800F4068 00431021 */ addu $v0, $v0, $v1 -/* 08D51C 800F406C 8C450000 */ lw $a1, ($v0) -/* 08D520 800F4070 0C0511FF */ jal set_menu_icon_script -/* 08D524 800F4074 0200202D */ daddu $a0, $s0, $zero -/* 08D528 800F4078 0200202D */ daddu $a0, $s0, $zero -/* 08D52C 800F407C 8FA50020 */ lw $a1, 0x20($sp) -/* 08D530 800F4080 0C051261 */ jal set_icon_render_pos -/* 08D534 800F4084 0220302D */ daddu $a2, $s1, $zero -/* 08D538 800F4088 0200202D */ daddu $a0, $s0, $zero -/* 08D53C 800F408C 3C058011 */ lui $a1, 0x8011 -/* 08D540 800F4090 8CA5D650 */ lw $a1, -0x29b0($a1) -/* 08D544 800F4094 0C0513AC */ jal func_80144EB0 -/* 08D548 800F4098 2631000D */ addiu $s1, $s1, 0xd -/* 08D54C 800F409C 3C053EE6 */ lui $a1, 0x3ee6 -/* 08D550 800F40A0 34A56666 */ ori $a1, $a1, 0x6666 -/* 08D554 800F40A4 0C051308 */ jal func_80144C20 -/* 08D558 800F40A8 0200202D */ daddu $a0, $s0, $zero -/* 08D55C 800F40AC 0C0511F8 */ jal func_801447E0 -/* 08D560 800F40B0 0200202D */ daddu $a0, $s0, $zero -/* 08D564 800F40B4 16400003 */ bnez $s2, .L800F40C4 -/* 08D568 800F40B8 00000000 */ nop -/* 08D56C 800F40BC 8FAA0024 */ lw $t2, 0x24($sp) -/* 08D570 800F40C0 022A8821 */ addu $s1, $s1, $t2 -.L800F40C4: -/* 08D574 800F40C4 3C028011 */ lui $v0, 0x8011 -/* 08D578 800F40C8 8C42D69C */ lw $v0, -0x2964($v0) -/* 08D57C 800F40CC 8C420324 */ lw $v0, 0x324($v0) -/* 08D580 800F40D0 26520001 */ addiu $s2, $s2, 1 -/* 08D584 800F40D4 0242102A */ slt $v0, $s2, $v0 -/* 08D588 800F40D8 1440FFD1 */ bnez $v0, .L800F4020 -/* 08D58C 800F40DC 0253102A */ slt $v0, $s2, $s3 -/* 08D590 800F40E0 0803D0AC */ j .L800F42B0 -/* 08D594 800F40E4 00000000 */ nop - -/* 08D598 800F40E8 3C028011 */ lui $v0, 0x8011 -/* 08D59C 800F40EC 8C42D69C */ lw $v0, -0x2964($v0) -/* 08D5A0 800F40F0 8C420324 */ lw $v0, 0x324($v0) -/* 08D5A4 800F40F4 1840006E */ blez $v0, .L800F42B0 -/* 08D5A8 800F40F8 0000902D */ daddu $s2, $zero, $zero -/* 08D5AC 800F40FC 8FAB0028 */ lw $t3, 0x28($sp) -/* 08D5B0 800F4100 2573FFFF */ addiu $s3, $t3, -1 -/* 08D5B4 800F4104 0253102A */ slt $v0, $s2, $s3 -.L800F4108: -/* 08D5B8 800F4108 14400008 */ bnez $v0, .L800F412C -/* 08D5BC 800F410C 00000000 */ nop -/* 08D5C0 800F4110 3C028011 */ lui $v0, 0x8011 -/* 08D5C4 800F4114 8042D656 */ lb $v0, -0x29aa($v0) -/* 08D5C8 800F4118 8FAA0028 */ lw $t2, 0x28($sp) -/* 08D5CC 800F411C 01421021 */ addu $v0, $t2, $v0 -/* 08D5D0 800F4120 0052102A */ slt $v0, $v0, $s2 -/* 08D5D4 800F4124 10400006 */ beqz $v0, .L800F4140 -/* 08D5D8 800F4128 00121880 */ sll $v1, $s2, 2 -.L800F412C: -/* 08D5DC 800F412C 1640001F */ bnez $s2, .L800F41AC -/* 08D5E0 800F4130 2631000D */ addiu $s1, $s1, 0xd -/* 08D5E4 800F4134 8FAB0024 */ lw $t3, 0x24($sp) -/* 08D5E8 800F4138 0803D06B */ j .L800F41AC -/* 08D5EC 800F413C 022B8821 */ addu $s1, $s1, $t3 - -.L800F4140: -/* 08D5F0 800F4140 3C028011 */ lui $v0, 0x8011 -/* 08D5F4 800F4144 8C42D69C */ lw $v0, -0x2964($v0) -/* 08D5F8 800F4148 3C108011 */ lui $s0, 0x8011 -/* 08D5FC 800F414C 8E10D678 */ lw $s0, -0x2988($s0) -/* 08D600 800F4150 00431021 */ addu $v0, $v0, $v1 -/* 08D604 800F4154 8C450000 */ lw $a1, ($v0) -/* 08D608 800F4158 0C0511FF */ jal set_menu_icon_script -/* 08D60C 800F415C 0200202D */ daddu $a0, $s0, $zero -/* 08D610 800F4160 0200202D */ daddu $a0, $s0, $zero -/* 08D614 800F4164 8FA50020 */ lw $a1, 0x20($sp) -/* 08D618 800F4168 0C051261 */ jal set_icon_render_pos -/* 08D61C 800F416C 0220302D */ daddu $a2, $s1, $zero -/* 08D620 800F4170 0200202D */ daddu $a0, $s0, $zero -/* 08D624 800F4174 3C058011 */ lui $a1, 0x8011 -/* 08D628 800F4178 8CA5D650 */ lw $a1, -0x29b0($a1) -/* 08D62C 800F417C 0C0513AC */ jal func_80144EB0 -/* 08D630 800F4180 2631000D */ addiu $s1, $s1, 0xd -/* 08D634 800F4184 3C053EE6 */ lui $a1, 0x3ee6 -/* 08D638 800F4188 34A56666 */ ori $a1, $a1, 0x6666 -/* 08D63C 800F418C 0C051308 */ jal func_80144C20 -/* 08D640 800F4190 0200202D */ daddu $a0, $s0, $zero -/* 08D644 800F4194 0C0511F8 */ jal func_801447E0 -/* 08D648 800F4198 0200202D */ daddu $a0, $s0, $zero -/* 08D64C 800F419C 16400003 */ bnez $s2, .L800F41AC -/* 08D650 800F41A0 00000000 */ nop -/* 08D654 800F41A4 8FAA0024 */ lw $t2, 0x24($sp) -/* 08D658 800F41A8 022A8821 */ addu $s1, $s1, $t2 -.L800F41AC: -/* 08D65C 800F41AC 3C028011 */ lui $v0, 0x8011 -/* 08D660 800F41B0 8C42D69C */ lw $v0, -0x2964($v0) -/* 08D664 800F41B4 8C420324 */ lw $v0, 0x324($v0) -/* 08D668 800F41B8 26520001 */ addiu $s2, $s2, 1 -/* 08D66C 800F41BC 0242102A */ slt $v0, $s2, $v0 -/* 08D670 800F41C0 1440FFD1 */ bnez $v0, .L800F4108 -/* 08D674 800F41C4 0253102A */ slt $v0, $s2, $s3 -/* 08D678 800F41C8 0803D0AC */ j .L800F42B0 -/* 08D67C 800F41CC 00000000 */ nop - -/* 08D680 800F41D0 3C028011 */ lui $v0, 0x8011 -/* 08D684 800F41D4 8C42D69C */ lw $v0, -0x2964($v0) -/* 08D688 800F41D8 8C420324 */ lw $v0, 0x324($v0) -/* 08D68C 800F41DC 18400034 */ blez $v0, .L800F42B0 -/* 08D690 800F41E0 0000902D */ daddu $s2, $zero, $zero -/* 08D694 800F41E4 8FAB0028 */ lw $t3, 0x28($sp) -/* 08D698 800F41E8 2573FFFF */ addiu $s3, $t3, -1 -/* 08D69C 800F41EC 0253102A */ slt $v0, $s2, $s3 -.L800F41F0: -/* 08D6A0 800F41F0 14400008 */ bnez $v0, .L800F4214 -/* 08D6A4 800F41F4 00000000 */ nop -/* 08D6A8 800F41F8 3C028011 */ lui $v0, 0x8011 -/* 08D6AC 800F41FC 8042D656 */ lb $v0, -0x29aa($v0) -/* 08D6B0 800F4200 8FAA0028 */ lw $t2, 0x28($sp) -/* 08D6B4 800F4204 01421021 */ addu $v0, $t2, $v0 -/* 08D6B8 800F4208 0052102A */ slt $v0, $v0, $s2 -/* 08D6BC 800F420C 10400006 */ beqz $v0, .L800F4228 -/* 08D6C0 800F4210 00121880 */ sll $v1, $s2, 2 -.L800F4214: -/* 08D6C4 800F4214 1640001F */ bnez $s2, .L800F4294 -/* 08D6C8 800F4218 2631000D */ addiu $s1, $s1, 0xd -/* 08D6CC 800F421C 8FAB0024 */ lw $t3, 0x24($sp) -/* 08D6D0 800F4220 0803D0A5 */ j .L800F4294 -/* 08D6D4 800F4224 022B8821 */ addu $s1, $s1, $t3 - -.L800F4228: -/* 08D6D8 800F4228 3C028011 */ lui $v0, 0x8011 -/* 08D6DC 800F422C 8C42D69C */ lw $v0, -0x2964($v0) -/* 08D6E0 800F4230 3C108011 */ lui $s0, 0x8011 -/* 08D6E4 800F4234 8E10D678 */ lw $s0, -0x2988($s0) -/* 08D6E8 800F4238 00431021 */ addu $v0, $v0, $v1 -/* 08D6EC 800F423C 8C450000 */ lw $a1, ($v0) -/* 08D6F0 800F4240 0C0511FF */ jal set_menu_icon_script -/* 08D6F4 800F4244 0200202D */ daddu $a0, $s0, $zero -/* 08D6F8 800F4248 0200202D */ daddu $a0, $s0, $zero -/* 08D6FC 800F424C 8FA50020 */ lw $a1, 0x20($sp) -/* 08D700 800F4250 0C051261 */ jal set_icon_render_pos -/* 08D704 800F4254 0220302D */ daddu $a2, $s1, $zero -/* 08D708 800F4258 0200202D */ daddu $a0, $s0, $zero -/* 08D70C 800F425C 3C058011 */ lui $a1, 0x8011 -/* 08D710 800F4260 8CA5D650 */ lw $a1, -0x29b0($a1) -/* 08D714 800F4264 0C0513AC */ jal func_80144EB0 -/* 08D718 800F4268 2631000D */ addiu $s1, $s1, 0xd -/* 08D71C 800F426C 3C053EE6 */ lui $a1, 0x3ee6 -/* 08D720 800F4270 34A56666 */ ori $a1, $a1, 0x6666 -/* 08D724 800F4274 0C051308 */ jal func_80144C20 -/* 08D728 800F4278 0200202D */ daddu $a0, $s0, $zero -/* 08D72C 800F427C 0C0511F8 */ jal func_801447E0 -/* 08D730 800F4280 0200202D */ daddu $a0, $s0, $zero -/* 08D734 800F4284 16400003 */ bnez $s2, .L800F4294 -/* 08D738 800F4288 00000000 */ nop -/* 08D73C 800F428C 8FAA0024 */ lw $t2, 0x24($sp) -/* 08D740 800F4290 022A8821 */ addu $s1, $s1, $t2 -.L800F4294: -/* 08D744 800F4294 3C028011 */ lui $v0, 0x8011 -/* 08D748 800F4298 8C42D69C */ lw $v0, -0x2964($v0) -/* 08D74C 800F429C 8C420324 */ lw $v0, 0x324($v0) -/* 08D750 800F42A0 26520001 */ addiu $s2, $s2, 1 -/* 08D754 800F42A4 0242102A */ slt $v0, $s2, $v0 -/* 08D758 800F42A8 1440FFD1 */ bnez $v0, .L800F41F0 -/* 08D75C 800F42AC 0253102A */ slt $v0, $s2, $s3 -.L800F42B0: -/* 08D760 800F42B0 8FAB005C */ lw $t3, 0x5c($sp) -/* 08D764 800F42B4 3C038011 */ lui $v1, 0x8011 -/* 08D768 800F42B8 8063D654 */ lb $v1, -0x29ac($v1) -/* 08D76C 800F42BC 3C048011 */ lui $a0, 0x8011 -/* 08D770 800F42C0 8C84D648 */ lw $a0, -0x29b8($a0) -/* 08D774 800F42C4 3C108011 */ lui $s0, 0x8011 -/* 08D778 800F42C8 8E10D66C */ lw $s0, -0x2994($s0) -/* 08D77C 800F42CC 8FAA0060 */ lw $t2, 0x60($sp) -/* 08D780 800F42D0 256B0008 */ addiu $t3, $t3, 8 -/* 08D784 800F42D4 00831823 */ subu $v1, $a0, $v1 -/* 08D788 800F42D8 00031040 */ sll $v0, $v1, 1 -/* 08D78C 800F42DC 00431021 */ addu $v0, $v0, $v1 -/* 08D790 800F42E0 00021080 */ sll $v0, $v0, 2 -/* 08D794 800F42E4 00431021 */ addu $v0, $v0, $v1 -/* 08D798 800F42E8 24420009 */ addiu $v0, $v0, 9 -/* 08D79C 800F42EC 3C038011 */ lui $v1, 0x8011 -/* 08D7A0 800F42F0 8C63D69C */ lw $v1, -0x2964($v1) -/* 08D7A4 800F42F4 01428821 */ addu $s1, $t2, $v0 -/* 08D7A8 800F42F8 AFAB0020 */ sw $t3, 0x20($sp) -/* 08D7AC 800F42FC 8C630318 */ lw $v1, 0x318($v1) -/* 08D7B0 800F4300 24020002 */ addiu $v0, $zero, 2 -/* 08D7B4 800F4304 54620004 */ bnel $v1, $v0, .L800F4318 -/* 08D7B8 800F4308 0200202D */ daddu $a0, $s0, $zero -/* 08D7BC 800F430C 50800001 */ beql $a0, $zero, .L800F4314 -/* 08D7C0 800F4310 2631FFFE */ addiu $s1, $s1, -2 -.L800F4314: -/* 08D7C4 800F4314 0200202D */ daddu $a0, $s0, $zero -.L800F4318: -/* 08D7C8 800F4318 8FA50020 */ lw $a1, 0x20($sp) -/* 08D7CC 800F431C 0C051261 */ jal set_icon_render_pos -/* 08D7D0 800F4320 0220302D */ daddu $a2, $s1, $zero -/* 08D7D4 800F4324 3C058011 */ lui $a1, 0x8011 -/* 08D7D8 800F4328 8CA5D650 */ lw $a1, -0x29b0($a1) -/* 08D7DC 800F432C 0C0513AC */ jal func_80144EB0 -/* 08D7E0 800F4330 0200202D */ daddu $a0, $s0, $zero -/* 08D7E4 800F4334 0C0511F8 */ jal func_801447E0 -/* 08D7E8 800F4338 0200202D */ daddu $a0, $s0, $zero -/* 08D7EC 800F433C 8FAB005C */ lw $t3, 0x5c($sp) -/* 08D7F0 800F4340 8FAA0060 */ lw $t2, 0x60($sp) -/* 08D7F4 800F4344 3C038011 */ lui $v1, 0x8011 -/* 08D7F8 800F4348 8063D656 */ lb $v1, -0x29aa($v1) -/* 08D7FC 800F434C 2551FFFA */ addiu $s1, $t2, -6 -/* 08D800 800F4350 00031040 */ sll $v0, $v1, 1 -/* 08D804 800F4354 00431021 */ addu $v0, $v0, $v1 -/* 08D808 800F4358 00021080 */ sll $v0, $v0, 2 -/* 08D80C 800F435C 00431021 */ addu $v0, $v0, $v1 -/* 08D810 800F4360 3C038011 */ lui $v1, 0x8011 -/* 08D814 800F4364 8C63D69C */ lw $v1, -0x2964($v1) -/* 08D818 800F4368 02221021 */ addu $v0, $s1, $v0 -/* 08D81C 800F436C AFAB0020 */ sw $t3, 0x20($sp) -/* 08D820 800F4370 8C630318 */ lw $v1, 0x318($v1) -/* 08D824 800F4374 24480010 */ addiu $t0, $v0, 0x10 -/* 08D828 800F4378 2C62000E */ sltiu $v0, $v1, 0xe -/* 08D82C 800F437C 1040004F */ beqz $v0, .L800F44BC -/* 08D830 800F4380 00031080 */ sll $v0, $v1, 2 -/* 08D834 800F4384 3C018011 */ lui $at, 0x8011 -/* 08D838 800F4388 00220821 */ addu $at, $at, $v0 -/* 08D83C 800F438C 8C22C838 */ lw $v0, -0x37c8($at) -/* 08D840 800F4390 00400008 */ jr $v0 -/* 08D844 800F4394 00000000 */ nop -/* 08D848 800F4398 3C03800A */ lui $v1, 0x800a -/* 08D84C 800F439C 2463A66C */ addiu $v1, $v1, -0x5994 -/* 08D850 800F43A0 C7A20020 */ lwc1 $f2, 0x20($sp) -/* 08D854 800F43A4 468010A0 */ cvt.s.w $f2, $f2 -/* 08D858 800F43A8 44910000 */ mtc1 $s1, $f0 -/* 08D85C 800F43AC 00000000 */ nop -/* 08D860 800F43B0 46800020 */ cvt.s.w $f0, $f0 -/* 08D864 800F43B4 3C014080 */ lui $at, 0x4080 -/* 08D868 800F43B8 44812000 */ mtc1 $at, $f4 -/* 08D86C 800F43BC 8C620000 */ lw $v0, ($v1) -/* 08D870 800F43C0 46041082 */ mul.s $f2, $f2, $f4 -/* 08D874 800F43C4 00000000 */ nop -/* 08D878 800F43C8 0040282D */ daddu $a1, $v0, $zero -/* 08D87C 800F43CC 24420008 */ addiu $v0, $v0, 8 -/* 08D880 800F43D0 AC620000 */ sw $v0, ($v1) -/* 08D884 800F43D4 8FAB0020 */ lw $t3, 0x20($sp) -/* 08D888 800F43D8 46040002 */ mul.s $f0, $f0, $f4 -/* 08D88C 800F43DC 00000000 */ nop -/* 08D890 800F43E0 0803D10D */ j .L800F4434 -/* 08D894 800F43E4 25620070 */ addiu $v0, $t3, 0x70 - -/* 08D898 800F43E8 3C03800A */ lui $v1, 0x800a -/* 08D89C 800F43EC 2463A66C */ addiu $v1, $v1, -0x5994 -/* 08D8A0 800F43F0 C7A20020 */ lwc1 $f2, 0x20($sp) -/* 08D8A4 800F43F4 468010A0 */ cvt.s.w $f2, $f2 -/* 08D8A8 800F43F8 44910000 */ mtc1 $s1, $f0 -/* 08D8AC 800F43FC 00000000 */ nop -/* 08D8B0 800F4400 46800020 */ cvt.s.w $f0, $f0 -/* 08D8B4 800F4404 3C014080 */ lui $at, 0x4080 -/* 08D8B8 800F4408 44812000 */ mtc1 $at, $f4 -/* 08D8BC 800F440C 8C620000 */ lw $v0, ($v1) -/* 08D8C0 800F4410 46041082 */ mul.s $f2, $f2, $f4 -/* 08D8C4 800F4414 00000000 */ nop -/* 08D8C8 800F4418 0040282D */ daddu $a1, $v0, $zero -/* 08D8CC 800F441C 24420008 */ addiu $v0, $v0, 8 -/* 08D8D0 800F4420 AC620000 */ sw $v0, ($v1) -/* 08D8D4 800F4424 8FAB0020 */ lw $t3, 0x20($sp) -/* 08D8D8 800F4428 46040002 */ mul.s $f0, $f0, $f4 -/* 08D8DC 800F442C 00000000 */ nop -/* 08D8E0 800F4430 25620064 */ addiu $v0, $t3, 0x64 -.L800F4434: -/* 08D8E4 800F4434 4600118D */ trunc.w.s $f6, $f2 -/* 08D8E8 800F4438 44033000 */ mfc1 $v1, $f6 -/* 08D8EC 800F443C 00000000 */ nop -/* 08D8F0 800F4440 30630FFF */ andi $v1, $v1, 0xfff -/* 08D8F4 800F4444 00031B00 */ sll $v1, $v1, 0xc -/* 08D8F8 800F4448 4600018D */ trunc.w.s $f6, $f0 -/* 08D8FC 800F444C 44043000 */ mfc1 $a0, $f6 -/* 08D900 800F4450 00000000 */ nop -/* 08D904 800F4454 30840FFF */ andi $a0, $a0, 0xfff -/* 08D908 800F4458 44821000 */ mtc1 $v0, $f2 -/* 08D90C 800F445C 00000000 */ nop -/* 08D910 800F4460 468010A0 */ cvt.s.w $f2, $f2 -/* 08D914 800F4464 46041082 */ mul.s $f2, $f2, $f4 -/* 08D918 800F4468 00000000 */ nop -/* 08D91C 800F446C 3C02ED00 */ lui $v0, 0xed00 -/* 08D920 800F4470 00822025 */ or $a0, $a0, $v0 -/* 08D924 800F4474 00641825 */ or $v1, $v1, $a0 -/* 08D928 800F4478 44880000 */ mtc1 $t0, $f0 -/* 08D92C 800F447C 00000000 */ nop -/* 08D930 800F4480 46800020 */ cvt.s.w $f0, $f0 -/* 08D934 800F4484 46040002 */ mul.s $f0, $f0, $f4 -/* 08D938 800F4488 00000000 */ nop -/* 08D93C 800F448C ACA30000 */ sw $v1, ($a1) -/* 08D940 800F4490 4600118D */ trunc.w.s $f6, $f2 -/* 08D944 800F4494 44023000 */ mfc1 $v0, $f6 -/* 08D948 800F4498 00000000 */ nop -/* 08D94C 800F449C 30420FFF */ andi $v0, $v0, 0xfff -/* 08D950 800F44A0 00021300 */ sll $v0, $v0, 0xc -/* 08D954 800F44A4 4600018D */ trunc.w.s $f6, $f0 -/* 08D958 800F44A8 44033000 */ mfc1 $v1, $f6 -/* 08D95C 800F44AC 00000000 */ nop -/* 08D960 800F44B0 30630FFF */ andi $v1, $v1, 0xfff -/* 08D964 800F44B4 00431025 */ or $v0, $v0, $v1 -/* 08D968 800F44B8 ACA20004 */ sw $v0, 4($a1) -.L800F44BC: -/* 08D96C 800F44BC 3C028011 */ lui $v0, 0x8011 -/* 08D970 800F44C0 8C42D69C */ lw $v0, -0x2964($v0) -/* 08D974 800F44C4 8C420318 */ lw $v0, 0x318($v0) -/* 08D978 800F44C8 2443FFFF */ addiu $v1, $v0, -1 -/* 08D97C 800F44CC 2C62000D */ sltiu $v0, $v1, 0xd -/* 08D980 800F44D0 10400012 */ beqz $v0, .L800F451C -/* 08D984 800F44D4 00031080 */ sll $v0, $v1, 2 -/* 08D988 800F44D8 3C018011 */ lui $at, 0x8011 -/* 08D98C 800F44DC 00220821 */ addu $at, $at, $v0 -/* 08D990 800F44E0 8C22C870 */ lw $v0, -0x3790($at) -/* 08D994 800F44E4 00400008 */ jr $v0 -/* 08D998 800F44E8 00000000 */ nop -/* 08D99C 800F44EC 0803D150 */ j .L800F4540 -/* 08D9A0 800F44F0 240B0023 */ addiu $t3, $zero, 0x23 - -/* 08D9A4 800F44F4 240A0023 */ addiu $t2, $zero, 0x23 -/* 08D9A8 800F44F8 0803D151 */ j .L800F4544 -/* 08D9AC 800F44FC AFAA0024 */ sw $t2, 0x24($sp) - -/* 08D9B0 800F4500 0803D150 */ j .L800F4540 -/* 08D9B4 800F4504 240B001F */ addiu $t3, $zero, 0x1f - -/* 08D9B8 800F4508 240A001F */ addiu $t2, $zero, 0x1f -/* 08D9BC 800F450C 0803D151 */ j .L800F4544 -/* 08D9C0 800F4510 AFAA0024 */ sw $t2, 0x24($sp) - -/* 08D9C4 800F4514 0803D150 */ j .L800F4540 -/* 08D9C8 800F4518 240B001F */ addiu $t3, $zero, 0x1f - -.L800F451C: -/* 08D9CC 800F451C 240A0025 */ addiu $t2, $zero, 0x25 -/* 08D9D0 800F4520 0803D151 */ j .L800F4544 -/* 08D9D4 800F4524 AFAA0024 */ sw $t2, 0x24($sp) - -/* 08D9D8 800F4528 0803D150 */ j .L800F4540 -/* 08D9DC 800F452C 240B001D */ addiu $t3, $zero, 0x1d - -/* 08D9E0 800F4530 240A0015 */ addiu $t2, $zero, 0x15 -/* 08D9E4 800F4534 0803D151 */ j .L800F4544 -/* 08D9E8 800F4538 AFAA0024 */ sw $t2, 0x24($sp) - -/* 08D9EC 800F453C 240B001E */ addiu $t3, $zero, 0x1e -.L800F4540: -/* 08D9F0 800F4540 AFAB0024 */ sw $t3, 0x24($sp) -.L800F4544: -/* 08D9F4 800F4544 3C028011 */ lui $v0, 0x8011 -/* 08D9F8 800F4548 8042D654 */ lb $v0, -0x29ac($v0) -/* 08D9FC 800F454C 18400012 */ blez $v0, .L800F4598 -/* 08DA00 800F4550 00000000 */ nop -/* 08DA04 800F4554 8FAA005C */ lw $t2, 0x5c($sp) -/* 08DA08 800F4558 8FAB0024 */ lw $t3, 0x24($sp) -/* 08DA0C 800F455C 3C108011 */ lui $s0, 0x8011 -/* 08DA10 800F4560 8E10D670 */ lw $s0, -0x2990($s0) -/* 08DA14 800F4564 014B5021 */ addu $t2, $t2, $t3 -/* 08DA18 800F4568 AFAA0020 */ sw $t2, 0x20($sp) -/* 08DA1C 800F456C 25450023 */ addiu $a1, $t2, 0x23 -/* 08DA20 800F4570 8FAA0060 */ lw $t2, 0x60($sp) -/* 08DA24 800F4574 0200202D */ daddu $a0, $s0, $zero -/* 08DA28 800F4578 0C051261 */ jal set_icon_render_pos -/* 08DA2C 800F457C 2546FFFF */ addiu $a2, $t2, -1 -/* 08DA30 800F4580 3C058011 */ lui $a1, 0x8011 -/* 08DA34 800F4584 8CA5D650 */ lw $a1, -0x29b0($a1) -/* 08DA38 800F4588 0C0513AC */ jal func_80144EB0 -/* 08DA3C 800F458C 0200202D */ daddu $a0, $s0, $zero -/* 08DA40 800F4590 0C0511F8 */ jal func_801447E0 -/* 08DA44 800F4594 0200202D */ daddu $a0, $s0, $zero -.L800F4598: -/* 08DA48 800F4598 3C028011 */ lui $v0, 0x8011 -/* 08DA4C 800F459C 8C42D69C */ lw $v0, -0x2964($v0) -/* 08DA50 800F45A0 3C038011 */ lui $v1, 0x8011 -/* 08DA54 800F45A4 8063D655 */ lb $v1, -0x29ab($v1) -/* 08DA58 800F45A8 8C420324 */ lw $v0, 0x324($v0) -/* 08DA5C 800F45AC 0062182A */ slt $v1, $v1, $v0 -/* 08DA60 800F45B0 10600019 */ beqz $v1, .L800F4618 -/* 08DA64 800F45B4 00000000 */ nop -/* 08DA68 800F45B8 8FAB005C */ lw $t3, 0x5c($sp) -/* 08DA6C 800F45BC 8FAA0024 */ lw $t2, 0x24($sp) -/* 08DA70 800F45C0 3C038011 */ lui $v1, 0x8011 -/* 08DA74 800F45C4 8063D68F */ lb $v1, -0x2971($v1) -/* 08DA78 800F45C8 3C108011 */ lui $s0, 0x8011 -/* 08DA7C 800F45CC 8E10D674 */ lw $s0, -0x298c($s0) -/* 08DA80 800F45D0 016A5821 */ addu $t3, $t3, $t2 -/* 08DA84 800F45D4 AFAB0020 */ sw $t3, 0x20($sp) -/* 08DA88 800F45D8 25650023 */ addiu $a1, $t3, 0x23 -/* 08DA8C 800F45DC 00031040 */ sll $v0, $v1, 1 -/* 08DA90 800F45E0 00431021 */ addu $v0, $v0, $v1 -/* 08DA94 800F45E4 00021080 */ sll $v0, $v0, 2 -/* 08DA98 800F45E8 00431021 */ addu $v0, $v0, $v1 -/* 08DA9C 800F45EC 8FAB0060 */ lw $t3, 0x60($sp) -/* 08DAA0 800F45F0 0200202D */ daddu $a0, $s0, $zero -/* 08DAA4 800F45F4 01628821 */ addu $s1, $t3, $v0 -/* 08DAA8 800F45F8 0C051261 */ jal set_icon_render_pos -/* 08DAAC 800F45FC 26260005 */ addiu $a2, $s1, 5 -/* 08DAB0 800F4600 3C058011 */ lui $a1, 0x8011 -/* 08DAB4 800F4604 8CA5D650 */ lw $a1, -0x29b0($a1) -/* 08DAB8 800F4608 0C0513AC */ jal func_80144EB0 -/* 08DABC 800F460C 0200202D */ daddu $a0, $s0, $zero -/* 08DAC0 800F4610 0C0511F8 */ jal func_801447E0 -/* 08DAC4 800F4614 0200202D */ daddu $a0, $s0, $zero -.L800F4618: -/* 08DAC8 800F4618 8FBF0054 */ lw $ra, 0x54($sp) -/* 08DACC 800F461C 8FBE0050 */ lw $fp, 0x50($sp) -/* 08DAD0 800F4620 8FB7004C */ lw $s7, 0x4c($sp) -/* 08DAD4 800F4624 8FB60048 */ lw $s6, 0x48($sp) -/* 08DAD8 800F4628 8FB50044 */ lw $s5, 0x44($sp) -/* 08DADC 800F462C 8FB40040 */ lw $s4, 0x40($sp) -/* 08DAE0 800F4630 8FB3003C */ lw $s3, 0x3c($sp) -/* 08DAE4 800F4634 8FB20038 */ lw $s2, 0x38($sp) -/* 08DAE8 800F4638 8FB10034 */ lw $s1, 0x34($sp) -/* 08DAEC 800F463C 8FB00030 */ lw $s0, 0x30($sp) -/* 08DAF0 800F4640 03E00008 */ jr $ra -/* 08DAF4 800F4644 27BD0058 */ addiu $sp, $sp, 0x58 - -draw_submenu_title: -/* 08DAF8 800F4648 3C028011 */ lui $v0, 0x8011 -/* 08DAFC 800F464C 8C42D69C */ lw $v0, -0x2964($v0) -/* 08DB00 800F4650 27BDFFC8 */ addiu $sp, $sp, -0x38 -/* 08DB04 800F4654 AFBF0034 */ sw $ra, 0x34($sp) -/* 08DB08 800F4658 AFB40030 */ sw $s4, 0x30($sp) -/* 08DB0C 800F465C AFB3002C */ sw $s3, 0x2c($sp) -/* 08DB10 800F4660 AFB20028 */ sw $s2, 0x28($sp) -/* 08DB14 800F4664 AFB10024 */ sw $s1, 0x24($sp) -/* 08DB18 800F4668 AFB00020 */ sw $s0, 0x20($sp) -/* 08DB1C 800F466C 8C430318 */ lw $v1, 0x318($v0) -/* 08DB20 800F4670 2C62000E */ sltiu $v0, $v1, 0xe -/* 08DB24 800F4674 10400097 */ beqz $v0, .L800F48D4 -/* 08DB28 800F4678 00A0A02D */ daddu $s4, $a1, $zero -/* 08DB2C 800F467C 00031080 */ sll $v0, $v1, 2 -/* 08DB30 800F4680 3C018011 */ lui $at, 0x8011 -/* 08DB34 800F4684 00220821 */ addu $at, $at, $v0 -/* 08DB38 800F4688 8C22C8A8 */ lw $v0, -0x3758($at) -/* 08DB3C 800F468C 00400008 */ jr $v0 -/* 08DB40 800F4690 00000000 */ nop -/* 08DB44 800F4694 3C138011 */ lui $s3, 0x8011 -/* 08DB48 800F4698 2673D69C */ addiu $s3, $s3, -0x2964 -/* 08DB4C 800F469C 8E620000 */ lw $v0, ($s3) -/* 08DB50 800F46A0 8C43031C */ lw $v1, 0x31c($v0) -/* 08DB54 800F46A4 24080001 */ addiu $t0, $zero, 1 -/* 08DB58 800F46A8 10680014 */ beq $v1, $t0, .L800F46FC -/* 08DB5C 800F46AC 28620002 */ slti $v0, $v1, 2 -/* 08DB60 800F46B0 50400005 */ beql $v0, $zero, .L800F46C8 -/* 08DB64 800F46B4 24020002 */ addiu $v0, $zero, 2 -/* 08DB68 800F46B8 10600007 */ beqz $v1, .L800F46D8 -/* 08DB6C 800F46BC 3C04001D */ lui $a0, 0x1d -/* 08DB70 800F46C0 0803D235 */ j .L800F48D4 -/* 08DB74 800F46C4 00000000 */ nop - -.L800F46C8: -/* 08DB78 800F46C8 10620025 */ beq $v1, $v0, .L800F4760 -/* 08DB7C 800F46CC 3C04001D */ lui $a0, 0x1d -/* 08DB80 800F46D0 0803D235 */ j .L800F48D4 -/* 08DB84 800F46D4 00000000 */ nop - -.L800F46D8: -/* 08DB88 800F46D8 3484003F */ ori $a0, $a0, 0x3f -/* 08DB8C 800F46DC 2685001A */ addiu $a1, $s4, 0x1a -/* 08DB90 800F46E0 24C60002 */ addiu $a2, $a2, 2 -/* 08DB94 800F46E4 3C078011 */ lui $a3, 0x8011 -/* 08DB98 800F46E8 8CE7D650 */ lw $a3, -0x29b0($a3) -/* 08DB9C 800F46EC 24020032 */ addiu $v0, $zero, 0x32 -/* 08DBA0 800F46F0 AFA20010 */ sw $v0, 0x10($sp) -/* 08DBA4 800F46F4 0803D233 */ j .L800F48CC -/* 08DBA8 800F46F8 AFA80014 */ sw $t0, 0x14($sp) - -.L800F46FC: -/* 08DBAC 800F46FC 3C04001D */ lui $a0, 0x1d -/* 08DBB0 800F4700 34840041 */ ori $a0, $a0, 0x41 -/* 08DBB4 800F4704 26850004 */ addiu $a1, $s4, 4 -/* 08DBB8 800F4708 24D20002 */ addiu $s2, $a2, 2 -/* 08DBBC 800F470C 0240302D */ daddu $a2, $s2, $zero -/* 08DBC0 800F4710 3C108011 */ lui $s0, 0x8011 -/* 08DBC4 800F4714 2610D650 */ addiu $s0, $s0, -0x29b0 -/* 08DBC8 800F4718 8E070000 */ lw $a3, ($s0) -/* 08DBCC 800F471C 24110032 */ addiu $s1, $zero, 0x32 -/* 08DBD0 800F4720 AFB10010 */ sw $s1, 0x10($sp) -/* 08DBD4 800F4724 0C04993B */ jal draw_string -/* 08DBD8 800F4728 AFA80014 */ sw $t0, 0x14($sp) -/* 08DBDC 800F472C 2685005E */ addiu $a1, $s4, 0x5e -/* 08DBE0 800F4730 0240302D */ daddu $a2, $s2, $zero -/* 08DBE4 800F4734 AFB10010 */ sw $s1, 0x10($sp) -/* 08DBE8 800F4738 8E630000 */ lw $v1, ($s3) -/* 08DBEC 800F473C 8E020000 */ lw $v0, ($s0) -/* 08DBF0 800F4740 24130003 */ addiu $s3, $zero, 3 -/* 08DBF4 800F4744 AFB30018 */ sw $s3, 0x18($sp) -/* 08DBF8 800F4748 AFA20014 */ sw $v0, 0x14($sp) -/* 08DBFC 800F474C 8C640320 */ lw $a0, 0x320($v1) -/* 08DC00 800F4750 0C049DA7 */ jal draw_number -/* 08DC04 800F4754 24070001 */ addiu $a3, $zero, 1 -/* 08DC08 800F4758 0803D1EF */ j .L800F47BC -/* 08DC0C 800F475C 24040002 */ addiu $a0, $zero, 2 - -.L800F4760: -/* 08DC10 800F4760 34840042 */ ori $a0, $a0, 0x42 -/* 08DC14 800F4764 26850006 */ addiu $a1, $s4, 6 -/* 08DC18 800F4768 24D20002 */ addiu $s2, $a2, 2 -/* 08DC1C 800F476C 0240302D */ daddu $a2, $s2, $zero -/* 08DC20 800F4770 3C108011 */ lui $s0, 0x8011 -/* 08DC24 800F4774 2610D650 */ addiu $s0, $s0, -0x29b0 -/* 08DC28 800F4778 8E070000 */ lw $a3, ($s0) -/* 08DC2C 800F477C 24110032 */ addiu $s1, $zero, 0x32 -/* 08DC30 800F4780 AFB10010 */ sw $s1, 0x10($sp) -/* 08DC34 800F4784 0C04993B */ jal draw_string -/* 08DC38 800F4788 AFA80014 */ sw $t0, 0x14($sp) -/* 08DC3C 800F478C 2685005E */ addiu $a1, $s4, 0x5e -/* 08DC40 800F4790 0240302D */ daddu $a2, $s2, $zero -/* 08DC44 800F4794 AFB10010 */ sw $s1, 0x10($sp) -/* 08DC48 800F4798 8E630000 */ lw $v1, ($s3) -/* 08DC4C 800F479C 8E020000 */ lw $v0, ($s0) -/* 08DC50 800F47A0 24130003 */ addiu $s3, $zero, 3 -/* 08DC54 800F47A4 AFB30018 */ sw $s3, 0x18($sp) -/* 08DC58 800F47A8 AFA20014 */ sw $v0, 0x14($sp) -/* 08DC5C 800F47AC 8C640320 */ lw $a0, 0x320($v1) -/* 08DC60 800F47B0 0C049DA7 */ jal draw_number -/* 08DC64 800F47B4 24070001 */ addiu $a3, $zero, 1 -/* 08DC68 800F47B8 0260202D */ daddu $a0, $s3, $zero -.L800F47BC: -/* 08DC6C 800F47BC 26850072 */ addiu $a1, $s4, 0x72 -/* 08DC70 800F47C0 0240302D */ daddu $a2, $s2, $zero -/* 08DC74 800F47C4 8E020000 */ lw $v0, ($s0) -/* 08DC78 800F47C8 24070001 */ addiu $a3, $zero, 1 -/* 08DC7C 800F47CC AFB10010 */ sw $s1, 0x10($sp) -/* 08DC80 800F47D0 AFB30018 */ sw $s3, 0x18($sp) -/* 08DC84 800F47D4 0C049DA7 */ jal draw_number -/* 08DC88 800F47D8 AFA20014 */ sw $v0, 0x14($sp) -/* 08DC8C 800F47DC 0803D235 */ j .L800F48D4 -/* 08DC90 800F47E0 00000000 */ nop - -/* 08DC94 800F47E4 3C04001F */ lui $a0, 0x1f -/* 08DC98 800F47E8 34840032 */ ori $a0, $a0, 0x32 -/* 08DC9C 800F47EC 2685001B */ addiu $a1, $s4, 0x1b -/* 08DCA0 800F47F0 24C60002 */ addiu $a2, $a2, 2 -/* 08DCA4 800F47F4 3C078011 */ lui $a3, 0x8011 -/* 08DCA8 800F47F8 8CE7D650 */ lw $a3, -0x29b0($a3) -/* 08DCAC 800F47FC 0803D230 */ j .L800F48C0 -/* 08DCB0 800F4800 24020032 */ addiu $v0, $zero, 0x32 - -/* 08DCB4 800F4804 3C04001F */ lui $a0, 0x1f -/* 08DCB8 800F4808 34840033 */ ori $a0, $a0, 0x33 -/* 08DCBC 800F480C 26850017 */ addiu $a1, $s4, 0x17 -/* 08DCC0 800F4810 24C60002 */ addiu $a2, $a2, 2 -/* 08DCC4 800F4814 3C078011 */ lui $a3, 0x8011 -/* 08DCC8 800F4818 8CE7D650 */ lw $a3, -0x29b0($a3) -/* 08DCCC 800F481C 0803D230 */ j .L800F48C0 -/* 08DCD0 800F4820 24020032 */ addiu $v0, $zero, 0x32 - -/* 08DCD4 800F4824 3C04001D */ lui $a0, 0x1d -/* 08DCD8 800F4828 348400D7 */ ori $a0, $a0, 0xd7 -/* 08DCDC 800F482C 26850004 */ addiu $a1, $s4, 4 -/* 08DCE0 800F4830 24C60002 */ addiu $a2, $a2, 2 -/* 08DCE4 800F4834 3C078011 */ lui $a3, 0x8011 -/* 08DCE8 800F4838 8CE7D650 */ lw $a3, -0x29b0($a3) -/* 08DCEC 800F483C 0803D230 */ j .L800F48C0 -/* 08DCF0 800F4840 24020032 */ addiu $v0, $zero, 0x32 - -/* 08DCF4 800F4844 3C04001D */ lui $a0, 0x1d -/* 08DCF8 800F4848 348400CE */ ori $a0, $a0, 0xce -/* 08DCFC 800F484C 26850008 */ addiu $a1, $s4, 8 -/* 08DD00 800F4850 24C60002 */ addiu $a2, $a2, 2 -/* 08DD04 800F4854 3C078011 */ lui $a3, 0x8011 -/* 08DD08 800F4858 8CE7D650 */ lw $a3, -0x29b0($a3) -/* 08DD0C 800F485C 0803D230 */ j .L800F48C0 -/* 08DD10 800F4860 24020032 */ addiu $v0, $zero, 0x32 - -/* 08DD14 800F4864 3C04001D */ lui $a0, 0x1d -/* 08DD18 800F4868 348400D0 */ ori $a0, $a0, 0xd0 -/* 08DD1C 800F486C 26850006 */ addiu $a1, $s4, 6 -/* 08DD20 800F4870 24C60002 */ addiu $a2, $a2, 2 -/* 08DD24 800F4874 3C078011 */ lui $a3, 0x8011 -/* 08DD28 800F4878 8CE7D650 */ lw $a3, -0x29b0($a3) -/* 08DD2C 800F487C 0803D230 */ j .L800F48C0 -/* 08DD30 800F4880 24020032 */ addiu $v0, $zero, 0x32 - -/* 08DD34 800F4884 3C04001D */ lui $a0, 0x1d -/* 08DD38 800F4888 3484003F */ ori $a0, $a0, 0x3f -/* 08DD3C 800F488C 2685001B */ addiu $a1, $s4, 0x1b -/* 08DD40 800F4890 24C60002 */ addiu $a2, $a2, 2 -/* 08DD44 800F4894 3C078011 */ lui $a3, 0x8011 -/* 08DD48 800F4898 8CE7D650 */ lw $a3, -0x29b0($a3) -/* 08DD4C 800F489C 0803D230 */ j .L800F48C0 -/* 08DD50 800F48A0 24020032 */ addiu $v0, $zero, 0x32 - -/* 08DD54 800F48A4 3C04001D */ lui $a0, 0x1d -/* 08DD58 800F48A8 3484003D */ ori $a0, $a0, 0x3d -/* 08DD5C 800F48AC 26850008 */ addiu $a1, $s4, 8 -/* 08DD60 800F48B0 24C60002 */ addiu $a2, $a2, 2 -/* 08DD64 800F48B4 3C078011 */ lui $a3, 0x8011 -/* 08DD68 800F48B8 8CE7D650 */ lw $a3, -0x29b0($a3) -/* 08DD6C 800F48BC 24020034 */ addiu $v0, $zero, 0x34 -.L800F48C0: -/* 08DD70 800F48C0 AFA20010 */ sw $v0, 0x10($sp) -/* 08DD74 800F48C4 24020001 */ addiu $v0, $zero, 1 -/* 08DD78 800F48C8 AFA20014 */ sw $v0, 0x14($sp) -.L800F48CC: -/* 08DD7C 800F48CC 0C04993B */ jal draw_string -/* 08DD80 800F48D0 00000000 */ nop -.L800F48D4: -/* 08DD84 800F48D4 8FBF0034 */ lw $ra, 0x34($sp) -/* 08DD88 800F48D8 8FB40030 */ lw $s4, 0x30($sp) -/* 08DD8C 800F48DC 8FB3002C */ lw $s3, 0x2c($sp) -/* 08DD90 800F48E0 8FB20028 */ lw $s2, 0x28($sp) -/* 08DD94 800F48E4 8FB10024 */ lw $s1, 0x24($sp) -/* 08DD98 800F48E8 8FB00020 */ lw $s0, 0x20($sp) -/* 08DD9C 800F48EC 03E00008 */ jr $ra -/* 08DDA0 800F48F0 27BD0038 */ addiu $sp, $sp, 0x38 - -/* 08DDA4 800F48F4 3C028011 */ lui $v0, 0x8011 -/* 08DDA8 800F48F8 8042D690 */ lb $v0, -0x2970($v0) -/* 08DDAC 800F48FC 3C038011 */ lui $v1, 0x8011 -/* 08DDB0 800F4900 8C63D69C */ lw $v1, -0x2964($v1) -/* 08DDB4 800F4904 3C078011 */ lui $a3, 0x8011 -/* 08DDB8 800F4908 8CE7D650 */ lw $a3, -0x29b0($a3) -/* 08DDBC 800F490C 27BDFFE0 */ addiu $sp, $sp, -0x20 -/* 08DDC0 800F4910 AFA20010 */ sw $v0, 0x10($sp) -/* 08DDC4 800F4914 3C028011 */ lui $v0, 0x8011 -/* 08DDC8 800F4918 8C42D648 */ lw $v0, -0x29b8($v0) -/* 08DDCC 800F491C AFBF0018 */ sw $ra, 0x18($sp) -/* 08DDD0 800F4920 AFA00014 */ sw $zero, 0x14($sp) -/* 08DDD4 800F4924 00021080 */ sll $v0, $v0, 2 -/* 08DDD8 800F4928 00621821 */ addu $v1, $v1, $v0 -/* 08DDDC 800F492C 8C640294 */ lw $a0, 0x294($v1) -/* 08DDE0 800F4930 0C04993B */ jal draw_string -/* 08DDE4 800F4934 24A50008 */ addiu $a1, $a1, 8 -/* 08DDE8 800F4938 8FBF0018 */ lw $ra, 0x18($sp) -/* 08DDEC 800F493C 03E00008 */ jr $ra -/* 08DDF0 800F4940 27BD0020 */ addiu $sp, $sp, 0x20 - -/* 08DDF4 800F4944 3C028011 */ lui $v0, 0x8011 -/* 08DDF8 800F4948 8042D68E */ lb $v0, -0x2972($v0) -/* 08DDFC 800F494C 27BDFFD8 */ addiu $sp, $sp, -0x28 -/* 08DE00 800F4950 AFB00018 */ sw $s0, 0x18($sp) -/* 08DE04 800F4954 00A0802D */ daddu $s0, $a1, $zero -/* 08DE08 800F4958 AFB1001C */ sw $s1, 0x1c($sp) -/* 08DE0C 800F495C 24D10007 */ addiu $s1, $a2, 7 -/* 08DE10 800F4960 104000A9 */ beqz $v0, .L800F4C08 -/* 08DE14 800F4964 AFBF0020 */ sw $ra, 0x20($sp) -/* 08DE18 800F4968 3C028011 */ lui $v0, 0x8011 -/* 08DE1C 800F496C 8C42D69C */ lw $v0, -0x2964($v0) -/* 08DE20 800F4970 8C430318 */ lw $v1, 0x318($v0) -/* 08DE24 800F4974 2C62000E */ sltiu $v0, $v1, 0xe -/* 08DE28 800F4978 104000A3 */ beqz $v0, .L800F4C08 -/* 08DE2C 800F497C 00031080 */ sll $v0, $v1, 2 -/* 08DE30 800F4980 3C018011 */ lui $at, 0x8011 -/* 08DE34 800F4984 00220821 */ addu $at, $at, $v0 -/* 08DE38 800F4988 8C22C8E0 */ lw $v0, -0x3720($at) -/* 08DE3C 800F498C 00400008 */ jr $v0 -/* 08DE40 800F4990 00000000 */ nop -/* 08DE44 800F4994 3C04001D */ lui $a0, 0x1d -/* 08DE48 800F4998 34840061 */ ori $a0, $a0, 0x61 -/* 08DE4C 800F499C 0C04991D */ jal get_string_width -/* 08DE50 800F49A0 0000282D */ daddu $a1, $zero, $zero -/* 08DE54 800F49A4 3C04001D */ lui $a0, 0x1d -/* 08DE58 800F49A8 0803D2F7 */ j .L800F4BDC -/* 08DE5C 800F49AC 34840061 */ ori $a0, $a0, 0x61 - -/* 08DE60 800F49B0 3C04001D */ lui $a0, 0x1d -/* 08DE64 800F49B4 34840063 */ ori $a0, $a0, 0x63 -/* 08DE68 800F49B8 0C04991D */ jal get_string_width -/* 08DE6C 800F49BC 0000282D */ daddu $a1, $zero, $zero -/* 08DE70 800F49C0 3C04001D */ lui $a0, 0x1d -/* 08DE74 800F49C4 34840063 */ ori $a0, $a0, 0x63 -/* 08DE78 800F49C8 26050048 */ addiu $a1, $s0, 0x48 -/* 08DE7C 800F49CC 00021FC2 */ srl $v1, $v0, 0x1f -/* 08DE80 800F49D0 00621821 */ addu $v1, $v1, $v0 -/* 08DE84 800F49D4 00031843 */ sra $v1, $v1, 1 -/* 08DE88 800F49D8 00A32823 */ subu $a1, $a1, $v1 -/* 08DE8C 800F49DC 0803D2FD */ j .L800F4BF4 -/* 08DE90 800F49E0 2626FFFC */ addiu $a2, $s1, -4 - -/* 08DE94 800F49E4 3C04001D */ lui $a0, 0x1d -/* 08DE98 800F49E8 34840064 */ ori $a0, $a0, 0x64 -/* 08DE9C 800F49EC 0C04991D */ jal get_string_width -/* 08DEA0 800F49F0 0000282D */ daddu $a1, $zero, $zero -/* 08DEA4 800F49F4 3C04001D */ lui $a0, 0x1d -/* 08DEA8 800F49F8 34840064 */ ori $a0, $a0, 0x64 -/* 08DEAC 800F49FC 26050048 */ addiu $a1, $s0, 0x48 -/* 08DEB0 800F4A00 00021FC2 */ srl $v1, $v0, 0x1f -/* 08DEB4 800F4A04 00621821 */ addu $v1, $v1, $v0 -/* 08DEB8 800F4A08 00031843 */ sra $v1, $v1, 1 -/* 08DEBC 800F4A0C 00A32823 */ subu $a1, $a1, $v1 -/* 08DEC0 800F4A10 0803D2FD */ j .L800F4BF4 -/* 08DEC4 800F4A14 2626FFFC */ addiu $a2, $s1, -4 - -/* 08DEC8 800F4A18 3C04001D */ lui $a0, 0x1d -/* 08DECC 800F4A1C 34840070 */ ori $a0, $a0, 0x70 -/* 08DED0 800F4A20 0C04991D */ jal get_string_width -/* 08DED4 800F4A24 0000282D */ daddu $a1, $zero, $zero -/* 08DED8 800F4A28 3C04001D */ lui $a0, 0x1d -/* 08DEDC 800F4A2C 34840070 */ ori $a0, $a0, 0x70 -/* 08DEE0 800F4A30 26050040 */ addiu $a1, $s0, 0x40 -/* 08DEE4 800F4A34 00021FC2 */ srl $v1, $v0, 0x1f -/* 08DEE8 800F4A38 00621821 */ addu $v1, $v1, $v0 -/* 08DEEC 800F4A3C 00031843 */ sra $v1, $v1, 1 -/* 08DEF0 800F4A40 00A32823 */ subu $a1, $a1, $v1 -/* 08DEF4 800F4A44 0803D2FD */ j .L800F4BF4 -/* 08DEF8 800F4A48 2626FFFC */ addiu $a2, $s1, -4 - -/* 08DEFC 800F4A4C 3C04001D */ lui $a0, 0x1d -/* 08DF00 800F4A50 3484006A */ ori $a0, $a0, 0x6a -/* 08DF04 800F4A54 0C04991D */ jal get_string_width -/* 08DF08 800F4A58 0000282D */ daddu $a1, $zero, $zero -/* 08DF0C 800F4A5C 3C04001D */ lui $a0, 0x1d -/* 08DF10 800F4A60 3484006A */ ori $a0, $a0, 0x6a -/* 08DF14 800F4A64 26050044 */ addiu $a1, $s0, 0x44 -/* 08DF18 800F4A68 00021FC2 */ srl $v1, $v0, 0x1f -/* 08DF1C 800F4A6C 00621821 */ addu $v1, $v1, $v0 -/* 08DF20 800F4A70 00031843 */ sra $v1, $v1, 1 -/* 08DF24 800F4A74 00A32823 */ subu $a1, $a1, $v1 -/* 08DF28 800F4A78 0803D2FD */ j .L800F4BF4 -/* 08DF2C 800F4A7C 2626FFFC */ addiu $a2, $s1, -4 - -/* 08DF30 800F4A80 3C04001D */ lui $a0, 0x1d -/* 08DF34 800F4A84 34840065 */ ori $a0, $a0, 0x65 -/* 08DF38 800F4A88 0C04991D */ jal get_string_width -/* 08DF3C 800F4A8C 0000282D */ daddu $a1, $zero, $zero -/* 08DF40 800F4A90 3C04001D */ lui $a0, 0x1d -/* 08DF44 800F4A94 34840065 */ ori $a0, $a0, 0x65 -/* 08DF48 800F4A98 0803D2F8 */ j .L800F4BE0 -/* 08DF4C 800F4A9C 2605003C */ addiu $a1, $s0, 0x3c - -/* 08DF50 800F4AA0 3C04001D */ lui $a0, 0x1d -/* 08DF54 800F4AA4 34840066 */ ori $a0, $a0, 0x66 -/* 08DF58 800F4AA8 0C04991D */ jal get_string_width -/* 08DF5C 800F4AAC 0000282D */ daddu $a1, $zero, $zero -/* 08DF60 800F4AB0 3C04001D */ lui $a0, 0x1d -/* 08DF64 800F4AB4 0803D2F7 */ j .L800F4BDC -/* 08DF68 800F4AB8 34840066 */ ori $a0, $a0, 0x66 - -/* 08DF6C 800F4ABC 3C04001D */ lui $a0, 0x1d -/* 08DF70 800F4AC0 34840067 */ ori $a0, $a0, 0x67 -/* 08DF74 800F4AC4 0C04991D */ jal get_string_width -/* 08DF78 800F4AC8 0000282D */ daddu $a1, $zero, $zero -/* 08DF7C 800F4ACC 3C04001D */ lui $a0, 0x1d -/* 08DF80 800F4AD0 0803D2F7 */ j .L800F4BDC -/* 08DF84 800F4AD4 34840067 */ ori $a0, $a0, 0x67 - -/* 08DF88 800F4AD8 3C04001D */ lui $a0, 0x1d -/* 08DF8C 800F4ADC 3484006F */ ori $a0, $a0, 0x6f -/* 08DF90 800F4AE0 0C04991D */ jal get_string_width -/* 08DF94 800F4AE4 0000282D */ daddu $a1, $zero, $zero -/* 08DF98 800F4AE8 3C04001D */ lui $a0, 0x1d -/* 08DF9C 800F4AEC 3484006F */ ori $a0, $a0, 0x6f -/* 08DFA0 800F4AF0 26050048 */ addiu $a1, $s0, 0x48 -/* 08DFA4 800F4AF4 00021FC2 */ srl $v1, $v0, 0x1f -/* 08DFA8 800F4AF8 00621821 */ addu $v1, $v1, $v0 -/* 08DFAC 800F4AFC 00031843 */ sra $v1, $v1, 1 -/* 08DFB0 800F4B00 00A32823 */ subu $a1, $a1, $v1 -/* 08DFB4 800F4B04 0803D2FD */ j .L800F4BF4 -/* 08DFB8 800F4B08 2626FFFC */ addiu $a2, $s1, -4 - -/* 08DFBC 800F4B0C 3C04001D */ lui $a0, 0x1d -/* 08DFC0 800F4B10 3484006D */ ori $a0, $a0, 0x6d -/* 08DFC4 800F4B14 0C04991D */ jal get_string_width -/* 08DFC8 800F4B18 0000282D */ daddu $a1, $zero, $zero -/* 08DFCC 800F4B1C 3C04001D */ lui $a0, 0x1d -/* 08DFD0 800F4B20 3484006D */ ori $a0, $a0, 0x6d -/* 08DFD4 800F4B24 26050038 */ addiu $a1, $s0, 0x38 -/* 08DFD8 800F4B28 00021FC2 */ srl $v1, $v0, 0x1f -/* 08DFDC 800F4B2C 00621821 */ addu $v1, $v1, $v0 -/* 08DFE0 800F4B30 00031843 */ sra $v1, $v1, 1 -/* 08DFE4 800F4B34 00A32823 */ subu $a1, $a1, $v1 -/* 08DFE8 800F4B38 0803D2FD */ j .L800F4BF4 -/* 08DFEC 800F4B3C 2626FFFC */ addiu $a2, $s1, -4 - -/* 08DFF0 800F4B40 3C04001D */ lui $a0, 0x1d -/* 08DFF4 800F4B44 348400D6 */ ori $a0, $a0, 0xd6 -/* 08DFF8 800F4B48 0C04991D */ jal get_string_width -/* 08DFFC 800F4B4C 0000282D */ daddu $a1, $zero, $zero -/* 08E000 800F4B50 3C04001D */ lui $a0, 0x1d -/* 08E004 800F4B54 0803D2F7 */ j .L800F4BDC -/* 08E008 800F4B58 348400D6 */ ori $a0, $a0, 0xd6 - -/* 08E00C 800F4B5C 3C04001D */ lui $a0, 0x1d -/* 08E010 800F4B60 3484006C */ ori $a0, $a0, 0x6c -/* 08E014 800F4B64 0C04991D */ jal get_string_width -/* 08E018 800F4B68 0000282D */ daddu $a1, $zero, $zero -/* 08E01C 800F4B6C 3C04001D */ lui $a0, 0x1d -/* 08E020 800F4B70 3484006C */ ori $a0, $a0, 0x6c -/* 08E024 800F4B74 26050040 */ addiu $a1, $s0, 0x40 -/* 08E028 800F4B78 00021FC2 */ srl $v1, $v0, 0x1f -/* 08E02C 800F4B7C 00621821 */ addu $v1, $v1, $v0 -/* 08E030 800F4B80 00031843 */ sra $v1, $v1, 1 -/* 08E034 800F4B84 00A32823 */ subu $a1, $a1, $v1 -/* 08E038 800F4B88 0803D2FD */ j .L800F4BF4 -/* 08E03C 800F4B8C 2626FFFC */ addiu $a2, $s1, -4 - -/* 08E040 800F4B90 3C04001D */ lui $a0, 0x1d -/* 08E044 800F4B94 3484006D */ ori $a0, $a0, 0x6d -/* 08E048 800F4B98 0C04991D */ jal get_string_width -/* 08E04C 800F4B9C 0000282D */ daddu $a1, $zero, $zero -/* 08E050 800F4BA0 3C04001D */ lui $a0, 0x1d -/* 08E054 800F4BA4 3484006D */ ori $a0, $a0, 0x6d -/* 08E058 800F4BA8 26050040 */ addiu $a1, $s0, 0x40 -/* 08E05C 800F4BAC 00021FC2 */ srl $v1, $v0, 0x1f -/* 08E060 800F4BB0 00621821 */ addu $v1, $v1, $v0 -/* 08E064 800F4BB4 00031843 */ sra $v1, $v1, 1 -/* 08E068 800F4BB8 00A32823 */ subu $a1, $a1, $v1 -/* 08E06C 800F4BBC 0803D2FD */ j .L800F4BF4 -/* 08E070 800F4BC0 2626FFFC */ addiu $a2, $s1, -4 - -/* 08E074 800F4BC4 3C04001D */ lui $a0, 0x1d -/* 08E078 800F4BC8 34840062 */ ori $a0, $a0, 0x62 -/* 08E07C 800F4BCC 0C04991D */ jal get_string_width -/* 08E080 800F4BD0 0000282D */ daddu $a1, $zero, $zero -/* 08E084 800F4BD4 3C04001D */ lui $a0, 0x1d -/* 08E088 800F4BD8 34840062 */ ori $a0, $a0, 0x62 -.L800F4BDC: -/* 08E08C 800F4BDC 26050048 */ addiu $a1, $s0, 0x48 -.L800F4BE0: -/* 08E090 800F4BE0 00021FC2 */ srl $v1, $v0, 0x1f -/* 08E094 800F4BE4 00621821 */ addu $v1, $v1, $v0 -/* 08E098 800F4BE8 00031843 */ sra $v1, $v1, 1 -/* 08E09C 800F4BEC 00A32823 */ subu $a1, $a1, $v1 -/* 08E0A0 800F4BF0 0220302D */ daddu $a2, $s1, $zero -.L800F4BF4: -/* 08E0A4 800F4BF4 240700FF */ addiu $a3, $zero, 0xff -/* 08E0A8 800F4BF8 2402000F */ addiu $v0, $zero, 0xf -/* 08E0AC 800F4BFC AFA20010 */ sw $v0, 0x10($sp) -/* 08E0B0 800F4C00 0C04993B */ jal draw_string -/* 08E0B4 800F4C04 AFA00014 */ sw $zero, 0x14($sp) -.L800F4C08: -/* 08E0B8 800F4C08 8FBF0020 */ lw $ra, 0x20($sp) -/* 08E0BC 800F4C0C 8FB1001C */ lw $s1, 0x1c($sp) -/* 08E0C0 800F4C10 8FB00018 */ lw $s0, 0x18($sp) -/* 08E0C4 800F4C14 03E00008 */ jr $ra -/* 08E0C8 800F4C18 27BD0028 */ addiu $sp, $sp, 0x28 - -/* 08E0CC 800F4C1C 27BDFFE0 */ addiu $sp, $sp, -0x20 -/* 08E0D0 800F4C20 3C04001D */ lui $a0, 0x1d -/* 08E0D4 800F4C24 34840069 */ ori $a0, $a0, 0x69 -/* 08E0D8 800F4C28 24A5000B */ addiu $a1, $a1, 0xb -/* 08E0DC 800F4C2C 24C60008 */ addiu $a2, $a2, 8 -/* 08E0E0 800F4C30 3C038011 */ lui $v1, 0x8011 -/* 08E0E4 800F4C34 8063D699 */ lb $v1, -0x2967($v1) -/* 08E0E8 800F4C38 24020001 */ addiu $v0, $zero, 1 -/* 08E0EC 800F4C3C 14620003 */ bne $v1, $v0, .L800F4C4C -/* 08E0F0 800F4C40 AFBF0018 */ sw $ra, 0x18($sp) -/* 08E0F4 800F4C44 3C04001D */ lui $a0, 0x1d -/* 08E0F8 800F4C48 34840068 */ ori $a0, $a0, 0x68 -.L800F4C4C: -/* 08E0FC 800F4C4C 2402000F */ addiu $v0, $zero, 0xf -/* 08E100 800F4C50 240700FF */ addiu $a3, $zero, 0xff -/* 08E104 800F4C54 AFA20010 */ sw $v0, 0x10($sp) -/* 08E108 800F4C58 0C04993B */ jal draw_string -/* 08E10C 800F4C5C AFA00014 */ sw $zero, 0x14($sp) -/* 08E110 800F4C60 8FBF0018 */ lw $ra, 0x18($sp) -/* 08E114 800F4C64 03E00008 */ jr $ra -/* 08E118 800F4C68 27BD0020 */ addiu $sp, $sp, 0x20 - -/* 08E11C 800F4C6C 3C028011 */ lui $v0, 0x8011 -/* 08E120 800F4C70 8C42D69C */ lw $v0, -0x2964($v0) -/* 08E124 800F4C74 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 08E128 800F4C78 AFBF0014 */ sw $ra, 0x14($sp) -/* 08E12C 800F4C7C AFB00010 */ sw $s0, 0x10($sp) -/* 08E130 800F4C80 8C430318 */ lw $v1, 0x318($v0) -/* 08E134 800F4C84 24020003 */ addiu $v0, $zero, 3 -/* 08E138 800F4C88 10620005 */ beq $v1, $v0, .L800F4CA0 -/* 08E13C 800F4C8C 24020005 */ addiu $v0, $zero, 5 -/* 08E140 800F4C90 10620008 */ beq $v1, $v0, .L800F4CB4 -/* 08E144 800F4C94 24A50011 */ addiu $a1, $a1, 0x11 -/* 08E148 800F4C98 0803D338 */ j .L800F4CE0 -/* 08E14C 800F4C9C 00000000 */ nop - -.L800F4CA0: -/* 08E150 800F4CA0 24A50010 */ addiu $a1, $a1, 0x10 -/* 08E154 800F4CA4 3C108011 */ lui $s0, 0x8011 -/* 08E158 800F4CA8 8E10D660 */ lw $s0, -0x29a0($s0) -/* 08E15C 800F4CAC 0803D330 */ j .L800F4CC0 -/* 08E160 800F4CB0 24C60010 */ addiu $a2, $a2, 0x10 - -.L800F4CB4: -/* 08E164 800F4CB4 3C108011 */ lui $s0, 0x8011 -/* 08E168 800F4CB8 8E10D660 */ lw $s0, -0x29a0($s0) -/* 08E16C 800F4CBC 24C60011 */ addiu $a2, $a2, 0x11 -.L800F4CC0: -/* 08E170 800F4CC0 0C051261 */ jal set_icon_render_pos -/* 08E174 800F4CC4 0200202D */ daddu $a0, $s0, $zero -/* 08E178 800F4CC8 3C058011 */ lui $a1, 0x8011 -/* 08E17C 800F4CCC 8CA5D650 */ lw $a1, -0x29b0($a1) -/* 08E180 800F4CD0 0C0513AC */ jal func_80144EB0 -/* 08E184 800F4CD4 0200202D */ daddu $a0, $s0, $zero -/* 08E188 800F4CD8 0C0511EA */ jal draw_icon_0 -/* 08E18C 800F4CDC 0200202D */ daddu $a0, $s0, $zero -.L800F4CE0: -/* 08E190 800F4CE0 8FBF0014 */ lw $ra, 0x14($sp) -/* 08E194 800F4CE4 8FB00010 */ lw $s0, 0x10($sp) -/* 08E198 800F4CE8 03E00008 */ jr $ra -/* 08E19C 800F4CEC 27BD0018 */ addiu $sp, $sp, 0x18 - -/* 08E1A0 800F4CF0 27BDFFE0 */ addiu $sp, $sp, -0x20 -/* 08E1A4 800F4CF4 3C04001D */ lui $a0, 0x1d -/* 08E1A8 800F4CF8 3484006B */ ori $a0, $a0, 0x6b -/* 08E1AC 800F4CFC 2402000F */ addiu $v0, $zero, 0xf -/* 08E1B0 800F4D00 24A50010 */ addiu $a1, $a1, 0x10 -/* 08E1B4 800F4D04 24C60002 */ addiu $a2, $a2, 2 -/* 08E1B8 800F4D08 240700FF */ addiu $a3, $zero, 0xff -/* 08E1BC 800F4D0C AFBF0018 */ sw $ra, 0x18($sp) -/* 08E1C0 800F4D10 AFA20010 */ sw $v0, 0x10($sp) -/* 08E1C4 800F4D14 0C04993B */ jal draw_string -/* 08E1C8 800F4D18 AFA00014 */ sw $zero, 0x14($sp) -/* 08E1CC 800F4D1C 8FBF0018 */ lw $ra, 0x18($sp) -/* 08E1D0 800F4D20 03E00008 */ jr $ra -/* 08E1D4 800F4D24 27BD0020 */ addiu $sp, $sp, 0x20 - -/* 08E1D8 800F4D28 27BDFFC8 */ addiu $sp, $sp, -0x38 -/* 08E1DC 800F4D2C AFB40030 */ sw $s4, 0x30($sp) -/* 08E1E0 800F4D30 00A0A02D */ daddu $s4, $a1, $zero -/* 08E1E4 800F4D34 AFB00020 */ sw $s0, 0x20($sp) -/* 08E1E8 800F4D38 3C108011 */ lui $s0, 0x8011 -/* 08E1EC 800F4D3C 8E10D660 */ lw $s0, -0x29a0($s0) -/* 08E1F0 800F4D40 3C058011 */ lui $a1, 0x8011 -/* 08E1F4 800F4D44 8CA5D650 */ lw $a1, -0x29b0($a1) -/* 08E1F8 800F4D48 AFB3002C */ sw $s3, 0x2c($sp) -/* 08E1FC 800F4D4C 00C0982D */ daddu $s3, $a2, $zero -/* 08E200 800F4D50 AFB10024 */ sw $s1, 0x24($sp) -/* 08E204 800F4D54 2691000E */ addiu $s1, $s4, 0xe -/* 08E208 800F4D58 AFB20028 */ sw $s2, 0x28($sp) -/* 08E20C 800F4D5C 26720009 */ addiu $s2, $s3, 9 -/* 08E210 800F4D60 AFBF0034 */ sw $ra, 0x34($sp) -/* 08E214 800F4D64 0C0513AC */ jal func_80144EB0 -/* 08E218 800F4D68 0200202D */ daddu $a0, $s0, $zero -/* 08E21C 800F4D6C 3C028011 */ lui $v0, 0x8011 -/* 08E220 800F4D70 8C42D69C */ lw $v0, -0x2964($v0) -/* 08E224 800F4D74 8C430318 */ lw $v1, 0x318($v0) -/* 08E228 800F4D78 24020003 */ addiu $v0, $zero, 3 -/* 08E22C 800F4D7C 14620004 */ bne $v1, $v0, .L800F4D90 -/* 08E230 800F4D80 0200202D */ daddu $a0, $s0, $zero -/* 08E234 800F4D84 0220282D */ daddu $a1, $s1, $zero -/* 08E238 800F4D88 0803D366 */ j .L800F4D98 -/* 08E23C 800F4D8C 0240302D */ daddu $a2, $s2, $zero - -.L800F4D90: -/* 08E240 800F4D90 0220282D */ daddu $a1, $s1, $zero -/* 08E244 800F4D94 2666000A */ addiu $a2, $s3, 0xa -.L800F4D98: -/* 08E248 800F4D98 0C051261 */ jal set_icon_render_pos -/* 08E24C 800F4D9C 00000000 */ nop -/* 08E250 800F4DA0 0C0511EA */ jal draw_icon_0 -/* 08E254 800F4DA4 0200202D */ daddu $a0, $s0, $zero -/* 08E258 800F4DA8 2685001A */ addiu $a1, $s4, 0x1a -/* 08E25C 800F4DAC 3C108011 */ lui $s0, 0x8011 -/* 08E260 800F4DB0 8E10D664 */ lw $s0, -0x299c($s0) -/* 08E264 800F4DB4 2666000B */ addiu $a2, $s3, 0xb -/* 08E268 800F4DB8 0C051261 */ jal set_icon_render_pos -/* 08E26C 800F4DBC 0200202D */ daddu $a0, $s0, $zero -/* 08E270 800F4DC0 3C118011 */ lui $s1, 0x8011 -/* 08E274 800F4DC4 2631D650 */ addiu $s1, $s1, -0x29b0 -/* 08E278 800F4DC8 8E250000 */ lw $a1, ($s1) -/* 08E27C 800F4DCC 0C0513AC */ jal func_80144EB0 -/* 08E280 800F4DD0 0200202D */ daddu $a0, $s0, $zero -/* 08E284 800F4DD4 0C0511EA */ jal draw_icon_0 -/* 08E288 800F4DD8 0200202D */ daddu $a0, $s0, $zero -/* 08E28C 800F4DDC 3C028011 */ lui $v0, 0x8011 -/* 08E290 800F4DE0 8C42D69C */ lw $v0, -0x2964($v0) -/* 08E294 800F4DE4 8C430318 */ lw $v1, 0x318($v0) -/* 08E298 800F4DE8 24020003 */ addiu $v0, $zero, 3 -/* 08E29C 800F4DEC 1462000C */ bne $v1, $v0, .L800F4E20 -/* 08E2A0 800F4DF0 2685003A */ addiu $a1, $s4, 0x3a -/* 08E2A4 800F4DF4 26660004 */ addiu $a2, $s3, 4 -/* 08E2A8 800F4DF8 2402000A */ addiu $v0, $zero, 0xa -/* 08E2AC 800F4DFC AFA20010 */ sw $v0, 0x10($sp) -/* 08E2B0 800F4E00 3C028011 */ lui $v0, 0x8011 -/* 08E2B4 800F4E04 2442F290 */ addiu $v0, $v0, -0xd70 -/* 08E2B8 800F4E08 AFA30018 */ sw $v1, 0x18($sp) -/* 08E2BC 800F4E0C 9044000F */ lbu $a0, 0xf($v0) -/* 08E2C0 800F4E10 8E220000 */ lw $v0, ($s1) -/* 08E2C4 800F4E14 24070001 */ addiu $a3, $zero, 1 -/* 08E2C8 800F4E18 0C049DA7 */ jal draw_number -/* 08E2CC 800F4E1C AFA20014 */ sw $v0, 0x14($sp) -.L800F4E20: -/* 08E2D0 800F4E20 8FBF0034 */ lw $ra, 0x34($sp) -/* 08E2D4 800F4E24 8FB40030 */ lw $s4, 0x30($sp) -/* 08E2D8 800F4E28 8FB3002C */ lw $s3, 0x2c($sp) -/* 08E2DC 800F4E2C 8FB20028 */ lw $s2, 0x28($sp) -/* 08E2E0 800F4E30 8FB10024 */ lw $s1, 0x24($sp) -/* 08E2E4 800F4E34 8FB00020 */ lw $s0, 0x20($sp) -/* 08E2E8 800F4E38 03E00008 */ jr $ra -/* 08E2EC 800F4E3C 27BD0038 */ addiu $sp, $sp, 0x38 - -func_800F4E40: -/* 08E2F0 800F4E40 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 08E2F4 800F4E44 AFB00010 */ sw $s0, 0x10($sp) -/* 08E2F8 800F4E48 AFBF0014 */ sw $ra, 0x14($sp) -/* 08E2FC 800F4E4C 0C03A635 */ jal func_800E98D4 -/* 08E300 800F4E50 0080802D */ daddu $s0, $a0, $zero -/* 08E304 800F4E54 3C018011 */ lui $at, 0x8011 -/* 08E308 800F4E58 A022D69A */ sb $v0, -0x2966($at) -/* 08E30C 800F4E5C 0C03A625 */ jal func_800E9894 -/* 08E310 800F4E60 00000000 */ nop -/* 08E314 800F4E64 0C03A5E3 */ jal open_status_menu_short -/* 08E318 800F4E68 00000000 */ nop -/* 08E31C 800F4E6C 3C048011 */ lui $a0, 0x8011 -/* 08E320 800F4E70 2484D699 */ addiu $a0, $a0, -0x2967 -/* 08E324 800F4E74 3C068011 */ lui $a2, 0x8011 -/* 08E328 800F4E78 24C6D698 */ addiu $a2, $a2, -0x2968 -/* 08E32C 800F4E7C 3C018011 */ lui $at, 0x8011 -/* 08E330 800F4E80 AC30D69C */ sw $s0, -0x2964($at) -/* 08E334 800F4E84 A600032C */ sh $zero, 0x32c($s0) -/* 08E338 800F4E88 AE00031C */ sw $zero, 0x31c($s0) -/* 08E33C 800F4E8C AE000320 */ sw $zero, 0x320($s0) -/* 08E340 800F4E90 A0800000 */ sb $zero, ($a0) -/* 08E344 800F4E94 8E030318 */ lw $v1, 0x318($s0) -/* 08E348 800F4E98 24050001 */ addiu $a1, $zero, 1 -/* 08E34C 800F4E9C 28620064 */ slti $v0, $v1, 0x64 -/* 08E350 800F4EA0 1440000C */ bnez $v0, .L800F4ED4 -/* 08E354 800F4EA4 A0C50000 */ sb $a1, ($a2) -/* 08E358 800F4EA8 2462FF9C */ addiu $v0, $v1, -0x64 -/* 08E35C 800F4EAC AE020318 */ sw $v0, 0x318($s0) -/* 08E360 800F4EB0 0040182D */ daddu $v1, $v0, $zero -/* 08E364 800F4EB4 28620064 */ slti $v0, $v1, 0x64 -/* 08E368 800F4EB8 14400005 */ bnez $v0, .L800F4ED0 -/* 08E36C 800F4EBC A0850000 */ sb $a1, ($a0) -/* 08E370 800F4EC0 2462FF9C */ addiu $v0, $v1, -0x64 -/* 08E374 800F4EC4 AE020318 */ sw $v0, 0x318($s0) -/* 08E378 800F4EC8 24020002 */ addiu $v0, $zero, 2 -/* 08E37C 800F4ECC A0820000 */ sb $v0, ($a0) -.L800F4ED0: -/* 08E380 800F4ED0 A0C00000 */ sb $zero, ($a2) -.L800F4ED4: -/* 08E384 800F4ED4 3C058011 */ lui $a1, 0x8011 -/* 08E388 800F4ED8 8CA5D69C */ lw $a1, -0x2964($a1) -/* 08E38C 800F4EDC 24020001 */ addiu $v0, $zero, 1 -/* 08E390 800F4EE0 3C018011 */ lui $at, 0x8011 -/* 08E394 800F4EE4 A022D68E */ sb $v0, -0x2972($at) -/* 08E398 800F4EE8 24020006 */ addiu $v0, $zero, 6 -/* 08E39C 800F4EEC 3C018011 */ lui $at, 0x8011 -/* 08E3A0 800F4EF0 A022D68F */ sb $v0, -0x2971($at) -/* 08E3A4 800F4EF4 8CA20328 */ lw $v0, 0x328($a1) -/* 08E3A8 800F4EF8 8CA40324 */ lw $a0, 0x324($a1) -/* 08E3AC 800F4EFC 3C038011 */ lui $v1, 0x8011 -/* 08E3B0 800F4F00 2463D648 */ addiu $v1, $v1, -0x29b8 -/* 08E3B4 800F4F04 3C018011 */ lui $at, 0x8011 -/* 08E3B8 800F4F08 AC20D640 */ sw $zero, -0x29c0($at) -/* 08E3BC 800F4F0C AC620000 */ sw $v0, ($v1) -/* 08E3C0 800F4F10 0044102A */ slt $v0, $v0, $a0 -/* 08E3C4 800F4F14 14400002 */ bnez $v0, .L800F4F20 -/* 08E3C8 800F4F18 2482FFFF */ addiu $v0, $a0, -1 -/* 08E3CC 800F4F1C AC620000 */ sw $v0, ($v1) -.L800F4F20: -/* 08E3D0 800F4F20 8C620000 */ lw $v0, ($v1) -/* 08E3D4 800F4F24 3C048011 */ lui $a0, 0x8011 -/* 08E3D8 800F4F28 2484D656 */ addiu $a0, $a0, -0x29aa -/* 08E3DC 800F4F2C 3C018011 */ lui $at, 0x8011 -/* 08E3E0 800F4F30 A020D654 */ sb $zero, -0x29ac($at) -/* 08E3E4 800F4F34 3C018011 */ lui $at, 0x8011 -/* 08E3E8 800F4F38 AC22D64C */ sw $v0, -0x29b4($at) -/* 08E3EC 800F4F3C 90A20327 */ lbu $v0, 0x327($a1) -/* 08E3F0 800F4F40 24030006 */ addiu $v1, $zero, 6 -/* 08E3F4 800F4F44 A0820000 */ sb $v0, ($a0) -/* 08E3F8 800F4F48 00021600 */ sll $v0, $v0, 0x18 -/* 08E3FC 800F4F4C 00021603 */ sra $v0, $v0, 0x18 -/* 08E400 800F4F50 0062102A */ slt $v0, $v1, $v0 -/* 08E404 800F4F54 54400001 */ bnel $v0, $zero, .L800F4F5C -/* 08E408 800F4F58 A0830000 */ sb $v1, ($a0) -.L800F4F5C: -/* 08E40C 800F4F5C 8CA20324 */ lw $v0, 0x324($a1) -/* 08E410 800F4F60 3C048011 */ lui $a0, 0x8011 -/* 08E414 800F4F64 2484D655 */ addiu $a0, $a0, -0x29ab -/* 08E418 800F4F68 28420006 */ slti $v0, $v0, 6 -/* 08E41C 800F4F6C 10400003 */ beqz $v0, .L800F4F7C -/* 08E420 800F4F70 A0830000 */ sb $v1, ($a0) -/* 08E424 800F4F74 90A20327 */ lbu $v0, 0x327($a1) -/* 08E428 800F4F78 A0820000 */ sb $v0, ($a0) -.L800F4F7C: -/* 08E42C 800F4F7C 240200FF */ addiu $v0, $zero, 0xff -/* 08E430 800F4F80 3C018011 */ lui $at, 0x8011 -/* 08E434 800F4F84 AC22D650 */ sw $v0, -0x29b0($at) -/* 08E438 800F4F88 24020004 */ addiu $v0, $zero, 4 -/* 08E43C 800F4F8C 3C04800F */ lui $a0, 0x800f -/* 08E440 800F4F90 24841A10 */ addiu $a0, $a0, 0x1a10 -/* 08E444 800F4F94 3C018011 */ lui $at, 0x8011 -/* 08E448 800F4F98 A022D691 */ sb $v0, -0x296f($at) -/* 08E44C 800F4F9C 3C018011 */ lui $at, 0x8011 -/* 08E450 800F4FA0 A023D692 */ sb $v1, -0x296e($at) -/* 08E454 800F4FA4 0C048C8F */ jal func_8012323C -/* 08E458 800F4FA8 0000282D */ daddu $a1, $zero, $zero -/* 08E45C 800F4FAC 8FBF0014 */ lw $ra, 0x14($sp) -/* 08E460 800F4FB0 8FB00010 */ lw $s0, 0x10($sp) -/* 08E464 800F4FB4 3C018011 */ lui $at, 0x8011 -/* 08E468 800F4FB8 AC22D694 */ sw $v0, -0x296c($at) -/* 08E46C 800F4FBC 03E00008 */ jr $ra -/* 08E470 800F4FC0 27BD0018 */ addiu $sp, $sp, 0x18 - -func_800F4FC4: -/* 08E474 800F4FC4 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 08E478 800F4FC8 AFB00010 */ sw $s0, 0x10($sp) -/* 08E47C 800F4FCC 3C108011 */ lui $s0, 0x8011 -/* 08E480 800F4FD0 2610D69C */ addiu $s0, $s0, -0x2964 -/* 08E484 800F4FD4 AFBF0014 */ sw $ra, 0x14($sp) -/* 08E488 800F4FD8 AE040000 */ sw $a0, ($s0) -/* 08E48C 800F4FDC A480032C */ sh $zero, 0x32c($a0) -/* 08E490 800F4FE0 AC80031C */ sw $zero, 0x31c($a0) -/* 08E494 800F4FE4 0C03A635 */ jal func_800E98D4 -/* 08E498 800F4FE8 AC800320 */ sw $zero, 0x320($a0) -/* 08E49C 800F4FEC 3C048011 */ lui $a0, 0x8011 -/* 08E4A0 800F4FF0 2484D699 */ addiu $a0, $a0, -0x2967 -/* 08E4A4 800F4FF4 3C018011 */ lui $at, 0x8011 -/* 08E4A8 800F4FF8 A022D69A */ sb $v0, -0x2966($at) -/* 08E4AC 800F4FFC A0800000 */ sb $zero, ($a0) -/* 08E4B0 800F5000 8E100000 */ lw $s0, ($s0) -/* 08E4B4 800F5004 3C068011 */ lui $a2, 0x8011 -/* 08E4B8 800F5008 24C6D698 */ addiu $a2, $a2, -0x2968 -/* 08E4BC 800F500C 8E030318 */ lw $v1, 0x318($s0) -/* 08E4C0 800F5010 24050001 */ addiu $a1, $zero, 1 -/* 08E4C4 800F5014 28620064 */ slti $v0, $v1, 0x64 -/* 08E4C8 800F5018 1440000C */ bnez $v0, .L800F504C -/* 08E4CC 800F501C A0C50000 */ sb $a1, ($a2) -/* 08E4D0 800F5020 2462FF9C */ addiu $v0, $v1, -0x64 -/* 08E4D4 800F5024 AE020318 */ sw $v0, 0x318($s0) -/* 08E4D8 800F5028 0040182D */ daddu $v1, $v0, $zero -/* 08E4DC 800F502C 28620064 */ slti $v0, $v1, 0x64 -/* 08E4E0 800F5030 14400005 */ bnez $v0, .L800F5048 -/* 08E4E4 800F5034 A0850000 */ sb $a1, ($a0) -/* 08E4E8 800F5038 2462FF9C */ addiu $v0, $v1, -0x64 -/* 08E4EC 800F503C AE020318 */ sw $v0, 0x318($s0) -/* 08E4F0 800F5040 24020002 */ addiu $v0, $zero, 2 -/* 08E4F4 800F5044 A0820000 */ sb $v0, ($a0) -.L800F5048: -/* 08E4F8 800F5048 A0C00000 */ sb $zero, ($a2) -.L800F504C: -/* 08E4FC 800F504C 3C058011 */ lui $a1, 0x8011 -/* 08E500 800F5050 8CA5D69C */ lw $a1, -0x2964($a1) -/* 08E504 800F5054 24020001 */ addiu $v0, $zero, 1 -/* 08E508 800F5058 3C018011 */ lui $at, 0x8011 -/* 08E50C 800F505C A022D68E */ sb $v0, -0x2972($at) -/* 08E510 800F5060 24020006 */ addiu $v0, $zero, 6 -/* 08E514 800F5064 3C018011 */ lui $at, 0x8011 -/* 08E518 800F5068 A022D68F */ sb $v0, -0x2971($at) -/* 08E51C 800F506C 8CA20328 */ lw $v0, 0x328($a1) -/* 08E520 800F5070 8CA40324 */ lw $a0, 0x324($a1) -/* 08E524 800F5074 3C038011 */ lui $v1, 0x8011 -/* 08E528 800F5078 2463D648 */ addiu $v1, $v1, -0x29b8 -/* 08E52C 800F507C 3C018011 */ lui $at, 0x8011 -/* 08E530 800F5080 AC20D640 */ sw $zero, -0x29c0($at) -/* 08E534 800F5084 AC620000 */ sw $v0, ($v1) -/* 08E538 800F5088 0044102A */ slt $v0, $v0, $a0 -/* 08E53C 800F508C 14400002 */ bnez $v0, .L800F5098 -/* 08E540 800F5090 2482FFFF */ addiu $v0, $a0, -1 -/* 08E544 800F5094 AC620000 */ sw $v0, ($v1) -.L800F5098: -/* 08E548 800F5098 8C620000 */ lw $v0, ($v1) -/* 08E54C 800F509C 3C048011 */ lui $a0, 0x8011 -/* 08E550 800F50A0 2484D656 */ addiu $a0, $a0, -0x29aa -/* 08E554 800F50A4 3C018011 */ lui $at, 0x8011 -/* 08E558 800F50A8 A020D654 */ sb $zero, -0x29ac($at) -/* 08E55C 800F50AC 3C018011 */ lui $at, 0x8011 -/* 08E560 800F50B0 AC22D64C */ sw $v0, -0x29b4($at) -/* 08E564 800F50B4 90A20327 */ lbu $v0, 0x327($a1) -/* 08E568 800F50B8 24030006 */ addiu $v1, $zero, 6 -/* 08E56C 800F50BC A0820000 */ sb $v0, ($a0) -/* 08E570 800F50C0 00021600 */ sll $v0, $v0, 0x18 -/* 08E574 800F50C4 00021603 */ sra $v0, $v0, 0x18 -/* 08E578 800F50C8 0062102A */ slt $v0, $v1, $v0 -/* 08E57C 800F50CC 54400001 */ bnel $v0, $zero, .L800F50D4 -/* 08E580 800F50D0 A0830000 */ sb $v1, ($a0) -.L800F50D4: -/* 08E584 800F50D4 8CA20324 */ lw $v0, 0x324($a1) -/* 08E588 800F50D8 3C048011 */ lui $a0, 0x8011 -/* 08E58C 800F50DC 2484D655 */ addiu $a0, $a0, -0x29ab -/* 08E590 800F50E0 28420006 */ slti $v0, $v0, 6 -/* 08E594 800F50E4 10400003 */ beqz $v0, .L800F50F4 -/* 08E598 800F50E8 A0830000 */ sb $v1, ($a0) -/* 08E59C 800F50EC 90A20327 */ lbu $v0, 0x327($a1) -/* 08E5A0 800F50F0 A0820000 */ sb $v0, ($a0) -.L800F50F4: -/* 08E5A4 800F50F4 240200FF */ addiu $v0, $zero, 0xff -/* 08E5A8 800F50F8 3C018011 */ lui $at, 0x8011 -/* 08E5AC 800F50FC AC22D650 */ sw $v0, -0x29b0($at) -/* 08E5B0 800F5100 24020004 */ addiu $v0, $zero, 4 -/* 08E5B4 800F5104 3C04800F */ lui $a0, 0x800f -/* 08E5B8 800F5108 24841A10 */ addiu $a0, $a0, 0x1a10 -/* 08E5BC 800F510C 3C018011 */ lui $at, 0x8011 -/* 08E5C0 800F5110 A022D691 */ sb $v0, -0x296f($at) -/* 08E5C4 800F5114 3C018011 */ lui $at, 0x8011 -/* 08E5C8 800F5118 A023D692 */ sb $v1, -0x296e($at) -/* 08E5CC 800F511C 0C048C8F */ jal func_8012323C -/* 08E5D0 800F5120 0000282D */ daddu $a1, $zero, $zero -/* 08E5D4 800F5124 8FBF0014 */ lw $ra, 0x14($sp) -/* 08E5D8 800F5128 8FB00010 */ lw $s0, 0x10($sp) -/* 08E5DC 800F512C 3C018011 */ lui $at, 0x8011 -/* 08E5E0 800F5130 AC22D694 */ sw $v0, -0x296c($at) -/* 08E5E4 800F5134 03E00008 */ jr $ra -/* 08E5E8 800F5138 27BD0018 */ addiu $sp, $sp, 0x18 - -func_800F513C: -/* 08E5EC 800F513C 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 08E5F0 800F5140 AFB00010 */ sw $s0, 0x10($sp) -/* 08E5F4 800F5144 3C108011 */ lui $s0, 0x8011 -/* 08E5F8 800F5148 2610D69C */ addiu $s0, $s0, -0x2964 -/* 08E5FC 800F514C AFBF0014 */ sw $ra, 0x14($sp) -/* 08E600 800F5150 AE040000 */ sw $a0, ($s0) -/* 08E604 800F5154 90820323 */ lbu $v0, 0x323($a0) -/* 08E608 800F5158 A480032C */ sh $zero, 0x32c($a0) -/* 08E60C 800F515C 3C018011 */ lui $at, 0x8011 -/* 08E610 800F5160 A022D693 */ sb $v0, -0x296d($at) -/* 08E614 800F5164 0C03A635 */ jal func_800E98D4 -/* 08E618 800F5168 00000000 */ nop -/* 08E61C 800F516C 3C048011 */ lui $a0, 0x8011 -/* 08E620 800F5170 2484D699 */ addiu $a0, $a0, -0x2967 -/* 08E624 800F5174 3C018011 */ lui $at, 0x8011 -/* 08E628 800F5178 A022D69A */ sb $v0, -0x2966($at) -/* 08E62C 800F517C A0800000 */ sb $zero, ($a0) -/* 08E630 800F5180 8E100000 */ lw $s0, ($s0) -/* 08E634 800F5184 3C068011 */ lui $a2, 0x8011 -/* 08E638 800F5188 24C6D698 */ addiu $a2, $a2, -0x2968 -/* 08E63C 800F518C 8E030318 */ lw $v1, 0x318($s0) -/* 08E640 800F5190 24050001 */ addiu $a1, $zero, 1 -/* 08E644 800F5194 28620064 */ slti $v0, $v1, 0x64 -/* 08E648 800F5198 1440000C */ bnez $v0, .L800F51CC -/* 08E64C 800F519C A0C50000 */ sb $a1, ($a2) -/* 08E650 800F51A0 2462FF9C */ addiu $v0, $v1, -0x64 -/* 08E654 800F51A4 AE020318 */ sw $v0, 0x318($s0) -/* 08E658 800F51A8 0040182D */ daddu $v1, $v0, $zero -/* 08E65C 800F51AC 28620064 */ slti $v0, $v1, 0x64 -/* 08E660 800F51B0 14400005 */ bnez $v0, .L800F51C8 -/* 08E664 800F51B4 A0850000 */ sb $a1, ($a0) -/* 08E668 800F51B8 2462FF9C */ addiu $v0, $v1, -0x64 -/* 08E66C 800F51BC AE020318 */ sw $v0, 0x318($s0) -/* 08E670 800F51C0 24020002 */ addiu $v0, $zero, 2 -/* 08E674 800F51C4 A0820000 */ sb $v0, ($a0) -.L800F51C8: -/* 08E678 800F51C8 A0C00000 */ sb $zero, ($a2) -.L800F51CC: -/* 08E67C 800F51CC 3C058011 */ lui $a1, 0x8011 -/* 08E680 800F51D0 8CA5D69C */ lw $a1, -0x2964($a1) -/* 08E684 800F51D4 24020006 */ addiu $v0, $zero, 6 -/* 08E688 800F51D8 3C018011 */ lui $at, 0x8011 -/* 08E68C 800F51DC A022D68F */ sb $v0, -0x2971($at) -/* 08E690 800F51E0 8CA20328 */ lw $v0, 0x328($a1) -/* 08E694 800F51E4 8CA40324 */ lw $a0, 0x324($a1) -/* 08E698 800F51E8 3C038011 */ lui $v1, 0x8011 -/* 08E69C 800F51EC 2463D648 */ addiu $v1, $v1, -0x29b8 -/* 08E6A0 800F51F0 3C018011 */ lui $at, 0x8011 -/* 08E6A4 800F51F4 A020D68E */ sb $zero, -0x2972($at) -/* 08E6A8 800F51F8 3C018011 */ lui $at, 0x8011 -/* 08E6AC 800F51FC AC20D640 */ sw $zero, -0x29c0($at) -/* 08E6B0 800F5200 AC620000 */ sw $v0, ($v1) -/* 08E6B4 800F5204 0044102A */ slt $v0, $v0, $a0 -/* 08E6B8 800F5208 14400002 */ bnez $v0, .L800F5214 -/* 08E6BC 800F520C 2482FFFF */ addiu $v0, $a0, -1 -/* 08E6C0 800F5210 AC620000 */ sw $v0, ($v1) -.L800F5214: -/* 08E6C4 800F5214 8C620000 */ lw $v0, ($v1) -/* 08E6C8 800F5218 3C048011 */ lui $a0, 0x8011 -/* 08E6CC 800F521C 2484D656 */ addiu $a0, $a0, -0x29aa -/* 08E6D0 800F5220 3C018011 */ lui $at, 0x8011 -/* 08E6D4 800F5224 A020D654 */ sb $zero, -0x29ac($at) -/* 08E6D8 800F5228 3C018011 */ lui $at, 0x8011 -/* 08E6DC 800F522C AC22D64C */ sw $v0, -0x29b4($at) -/* 08E6E0 800F5230 90A20327 */ lbu $v0, 0x327($a1) -/* 08E6E4 800F5234 24030006 */ addiu $v1, $zero, 6 -/* 08E6E8 800F5238 A0820000 */ sb $v0, ($a0) -/* 08E6EC 800F523C 00021600 */ sll $v0, $v0, 0x18 -/* 08E6F0 800F5240 00021603 */ sra $v0, $v0, 0x18 -/* 08E6F4 800F5244 0062102A */ slt $v0, $v1, $v0 -/* 08E6F8 800F5248 54400001 */ bnel $v0, $zero, .L800F5250 -/* 08E6FC 800F524C A0830000 */ sb $v1, ($a0) -.L800F5250: -/* 08E700 800F5250 8CA20324 */ lw $v0, 0x324($a1) -/* 08E704 800F5254 3C048011 */ lui $a0, 0x8011 -/* 08E708 800F5258 2484D655 */ addiu $a0, $a0, -0x29ab -/* 08E70C 800F525C 28420006 */ slti $v0, $v0, 6 -/* 08E710 800F5260 10400003 */ beqz $v0, .L800F5270 -/* 08E714 800F5264 A0830000 */ sb $v1, ($a0) -/* 08E718 800F5268 90A20327 */ lbu $v0, 0x327($a1) -/* 08E71C 800F526C A0820000 */ sb $v0, ($a0) -.L800F5270: -/* 08E720 800F5270 240200FF */ addiu $v0, $zero, 0xff -/* 08E724 800F5274 3C018011 */ lui $at, 0x8011 -/* 08E728 800F5278 AC22D650 */ sw $v0, -0x29b0($at) -/* 08E72C 800F527C 24020009 */ addiu $v0, $zero, 9 -/* 08E730 800F5280 3C018011 */ lui $at, 0x8011 -/* 08E734 800F5284 A022D691 */ sb $v0, -0x296f($at) -/* 08E738 800F5288 24020002 */ addiu $v0, $zero, 2 -/* 08E73C 800F528C 3C04800F */ lui $a0, 0x800f -/* 08E740 800F5290 24841A10 */ addiu $a0, $a0, 0x1a10 -/* 08E744 800F5294 3C018011 */ lui $at, 0x8011 -/* 08E748 800F5298 A022D692 */ sb $v0, -0x296e($at) -/* 08E74C 800F529C 0C048C8F */ jal func_8012323C -/* 08E750 800F52A0 0000282D */ daddu $a1, $zero, $zero -/* 08E754 800F52A4 8FBF0014 */ lw $ra, 0x14($sp) -/* 08E758 800F52A8 8FB00010 */ lw $s0, 0x10($sp) -/* 08E75C 800F52AC 3C018011 */ lui $at, 0x8011 -/* 08E760 800F52B0 AC22D694 */ sw $v0, -0x296c($at) -/* 08E764 800F52B4 03E00008 */ jr $ra -/* 08E768 800F52B8 27BD0018 */ addiu $sp, $sp, 0x18 - -func_800F52BC: -/* 08E76C 800F52BC 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 08E770 800F52C0 AFBF0010 */ sw $ra, 0x10($sp) -/* 08E774 800F52C4 0C03C684 */ jal func_800F1A10 -/* 08E778 800F52C8 00000000 */ nop -/* 08E77C 800F52CC 8FBF0010 */ lw $ra, 0x10($sp) -/* 08E780 800F52D0 03E00008 */ jr $ra -/* 08E784 800F52D4 27BD0018 */ addiu $sp, $sp, 0x18 - -/* 08E788 800F52D8 00000000 */ nop -/* 08E78C 800F52DC 00000000 */ nop -draw_box: -/* 08E790 800F52E0 27BDFE10 */ addiu $sp, $sp, -0x1f0 -/* 08E794 800F52E4 0000482D */ daddu $t1, $zero, $zero -/* 08E798 800F52E8 93AE020F */ lbu $t6, 0x20f($sp) -/* 08E79C 800F52EC 0120502D */ daddu $t2, $t1, $zero -/* 08E7A0 800F52F0 AFA701FC */ sw $a3, 0x1fc($sp) -/* 08E7A4 800F52F4 3C078080 */ lui $a3, 0x8080 -/* 08E7A8 800F52F8 F7B601E0 */ sdc1 $f22, 0x1e0($sp) -/* 08E7AC 800F52FC C7B60214 */ lwc1 $f22, 0x214($sp) -/* 08E7B0 800F5300 34E78081 */ ori $a3, $a3, 0x8081 -/* 08E7B4 800F5304 F7B801E8 */ sdc1 $f24, 0x1e8($sp) -/* 08E7B8 800F5308 C7B80218 */ lwc1 $f24, 0x218($sp) -/* 08E7BC 800F530C 93AF0213 */ lbu $t7, 0x213($sp) -/* 08E7C0 800F5310 2CA20017 */ sltiu $v0, $a1, 0x17 -/* 08E7C4 800F5314 AFBF01D4 */ sw $ra, 0x1d4($sp) -/* 08E7C8 800F5318 AFBE01D0 */ sw $fp, 0x1d0($sp) -/* 08E7CC 800F531C AFB701CC */ sw $s7, 0x1cc($sp) -/* 08E7D0 800F5320 AFB601C8 */ sw $s6, 0x1c8($sp) -/* 08E7D4 800F5324 AFB501C4 */ sw $s5, 0x1c4($sp) -/* 08E7D8 800F5328 AFB401C0 */ sw $s4, 0x1c0($sp) -/* 08E7DC 800F532C AFB301BC */ sw $s3, 0x1bc($sp) -/* 08E7E0 800F5330 AFB201B8 */ sw $s2, 0x1b8($sp) -/* 08E7E4 800F5334 AFB101B4 */ sw $s1, 0x1b4($sp) -/* 08E7E8 800F5338 AFB001B0 */ sw $s0, 0x1b0($sp) -/* 08E7EC 800F533C F7B401D8 */ sdc1 $f20, 0x1d8($sp) -/* 08E7F0 800F5340 AFA401F0 */ sw $a0, 0x1f0($sp) -/* 08E7F4 800F5344 AFA601F8 */ sw $a2, 0x1f8($sp) -/* 08E7F8 800F5348 31C600FF */ andi $a2, $t6, 0xff -/* 08E7FC 800F534C A3AE00E7 */ sb $t6, 0xe7($sp) -/* 08E800 800F5350 1040002B */ beqz $v0, .L800F5400 -/* 08E804 800F5354 A3AF00E8 */ sb $t7, 0xe8($sp) -/* 08E808 800F5358 3C038011 */ lui $v1, 0x8011 -/* 08E80C 800F535C 246398E0 */ addiu $v1, $v1, -0x6720 -/* 08E810 800F5360 00051040 */ sll $v0, $a1, 1 -/* 08E814 800F5364 00451021 */ addu $v0, $v0, $a1 -/* 08E818 800F5368 00021080 */ sll $v0, $v0, 2 -/* 08E81C 800F536C 00451023 */ subu $v0, $v0, $a1 -/* 08E820 800F5370 00434821 */ addu $t1, $v0, $v1 -/* 08E824 800F5374 91320003 */ lbu $s2, 3($t1) -/* 08E828 800F5378 A3B200F7 */ sb $s2, 0xf7($sp) -/* 08E82C 800F537C 91390004 */ lbu $t9, 4($t1) -/* 08E830 800F5380 A3B900FF */ sb $t9, 0xff($sp) -/* 08E834 800F5384 912E0005 */ lbu $t6, 5($t1) -/* 08E838 800F5388 A3AE0107 */ sb $t6, 0x107($sp) -/* 08E83C 800F538C 912F0007 */ lbu $t7, 7($t1) -/* 08E840 800F5390 A3AF0117 */ sb $t7, 0x117($sp) -/* 08E844 800F5394 91320008 */ lbu $s2, 8($t1) -/* 08E848 800F5398 A3B2011F */ sb $s2, 0x11f($sp) -/* 08E84C 800F539C 91390009 */ lbu $t9, 9($t1) -/* 08E850 800F53A0 A3B90127 */ sb $t9, 0x127($sp) -/* 08E854 800F53A4 912E000A */ lbu $t6, 0xa($t1) -/* 08E858 800F53A8 A3AE012F */ sb $t6, 0x12f($sp) -/* 08E85C 800F53AC 91230006 */ lbu $v1, 6($t1) -/* 08E860 800F53B0 00660018 */ mult $v1, $a2 -/* 08E864 800F53B4 91240000 */ lbu $a0, ($t1) -/* 08E868 800F53B8 3C058011 */ lui $a1, 0x8011 -/* 08E86C 800F53BC 24A5BAE8 */ addiu $a1, $a1, -0x4518 -/* 08E870 800F53C0 00041040 */ sll $v0, $a0, 1 -/* 08E874 800F53C4 00441021 */ addu $v0, $v0, $a0 -/* 08E878 800F53C8 00001812 */ mflo $v1 -/* 08E87C 800F53CC 00021080 */ sll $v0, $v0, 2 -/* 08E880 800F53D0 0045A021 */ addu $s4, $v0, $a1 -/* 08E884 800F53D4 00670018 */ mult $v1, $a3 -/* 08E888 800F53D8 91220001 */ lbu $v0, 1($t1) -/* 08E88C 800F53DC 3C048011 */ lui $a0, 0x8011 -/* 08E890 800F53E0 2484BB00 */ addiu $a0, $a0, -0x4500 -/* 08E894 800F53E4 00021100 */ sll $v0, $v0, 4 -/* 08E898 800F53E8 00442021 */ addu $a0, $v0, $a0 -/* 08E89C 800F53EC 00004010 */ mfhi $t0 -/* 08E8A0 800F53F0 01031821 */ addu $v1, $t0, $v1 -/* 08E8A4 800F53F4 000319C2 */ srl $v1, $v1, 7 -/* 08E8A8 800F53F8 0803D519 */ j .L800F5464 -/* 08E8AC 800F53FC A3A3010F */ sb $v1, 0x10f($sp) - -.L800F5400: -/* 08E8B0 800F5400 00A0A02D */ daddu $s4, $a1, $zero -/* 08E8B4 800F5404 928E0030 */ lbu $t6, 0x30($s4) -/* 08E8B8 800F5408 92820033 */ lbu $v0, 0x33($s4) -/* 08E8BC 800F540C A3AE00F7 */ sb $t6, 0xf7($sp) -/* 08E8C0 800F5410 928F0031 */ lbu $t7, 0x31($s4) -/* 08E8C4 800F5414 A3AF00FF */ sb $t7, 0xff($sp) -/* 08E8C8 800F5418 92920032 */ lbu $s2, 0x32($s4) -/* 08E8CC 800F541C 00460018 */ mult $v0, $a2 -/* 08E8D0 800F5420 A3B20107 */ sb $s2, 0x107($sp) -/* 08E8D4 800F5424 928E0034 */ lbu $t6, 0x34($s4) -/* 08E8D8 800F5428 0280502D */ daddu $t2, $s4, $zero -/* 08E8DC 800F542C A3AE0117 */ sb $t6, 0x117($sp) -/* 08E8E0 800F5430 928F0035 */ lbu $t7, 0x35($s4) -/* 08E8E4 800F5434 00001012 */ mflo $v0 -/* 08E8E8 800F5438 A3AF011F */ sb $t7, 0x11f($sp) -/* 08E8EC 800F543C 92920036 */ lbu $s2, 0x36($s4) -/* 08E8F0 800F5440 00470018 */ mult $v0, $a3 -/* 08E8F4 800F5444 A3B20127 */ sb $s2, 0x127($sp) -/* 08E8F8 800F5448 92990037 */ lbu $t9, 0x37($s4) -/* 08E8FC 800F544C 2684000C */ addiu $a0, $s4, 0xc -/* 08E900 800F5450 A3B9012F */ sb $t9, 0x12f($sp) -/* 08E904 800F5454 00001810 */ mfhi $v1 -/* 08E908 800F5458 00621021 */ addu $v0, $v1, $v0 -/* 08E90C 800F545C 000211C2 */ srl $v0, $v0, 7 -/* 08E910 800F5460 A3A2010F */ sb $v0, 0x10f($sp) -.L800F5464: -/* 08E914 800F5464 8E820004 */ lw $v0, 4($s4) -/* 08E918 800F5468 8C8E0000 */ lw $t6, ($a0) -/* 08E91C 800F546C 00021702 */ srl $v0, $v0, 0x1c -/* 08E920 800F5470 AFAE013C */ sw $t6, 0x13c($sp) -/* 08E924 800F5474 AFA20140 */ sw $v0, 0x140($sp) -/* 08E928 800F5478 92950005 */ lbu $s5, 5($s4) -/* 08E92C 800F547C 8E8F0000 */ lw $t7, ($s4) -/* 08E930 800F5480 2EA20002 */ sltiu $v0, $s5, 2 -/* 08E934 800F5484 AFAF0138 */ sw $t7, 0x138($sp) -/* 08E938 800F5488 92970006 */ lbu $s7, 6($s4) -/* 08E93C 800F548C 5440002F */ bnel $v0, $zero, .L800F554C -/* 08E940 800F5490 AFA00144 */ sw $zero, 0x144($sp) -/* 08E944 800F5494 2EA20003 */ sltiu $v0, $s5, 3 -/* 08E948 800F5498 5440002B */ bnel $v0, $zero, .L800F5548 -/* 08E94C 800F549C 24190001 */ addiu $t9, $zero, 1 -/* 08E950 800F54A0 2EA20005 */ sltiu $v0, $s5, 5 -/* 08E954 800F54A4 54400026 */ bnel $v0, $zero, .L800F5540 -/* 08E958 800F54A8 24120002 */ addiu $s2, $zero, 2 -/* 08E95C 800F54AC 2EA20009 */ sltiu $v0, $s5, 9 -/* 08E960 800F54B0 54400021 */ bnel $v0, $zero, .L800F5538 -/* 08E964 800F54B4 240F0003 */ addiu $t7, $zero, 3 -/* 08E968 800F54B8 2EA20011 */ sltiu $v0, $s5, 0x11 -/* 08E96C 800F54BC 5440001C */ bnel $v0, $zero, .L800F5530 -/* 08E970 800F54C0 240E0004 */ addiu $t6, $zero, 4 -/* 08E974 800F54C4 2EA20021 */ sltiu $v0, $s5, 0x21 -/* 08E978 800F54C8 54400017 */ bnel $v0, $zero, .L800F5528 -/* 08E97C 800F54CC 24190005 */ addiu $t9, $zero, 5 -/* 08E980 800F54D0 2EA20041 */ sltiu $v0, $s5, 0x41 -/* 08E984 800F54D4 54400012 */ bnel $v0, $zero, .L800F5520 -/* 08E988 800F54D8 24120006 */ addiu $s2, $zero, 6 -/* 08E98C 800F54DC 2EA20081 */ sltiu $v0, $s5, 0x81 -/* 08E990 800F54E0 5440000D */ bnel $v0, $zero, .L800F5518 -/* 08E994 800F54E4 240F0007 */ addiu $t7, $zero, 7 -/* 08E998 800F54E8 2EA20101 */ sltiu $v0, $s5, 0x101 -/* 08E99C 800F54EC 14400008 */ bnez $v0, .L800F5510 -/* 08E9A0 800F54F0 240E0008 */ addiu $t6, $zero, 8 -/* 08E9A4 800F54F4 2412000A */ addiu $s2, $zero, 0xa -/* 08E9A8 800F54F8 2EA20201 */ sltiu $v0, $s5, 0x201 -/* 08E9AC 800F54FC 10400013 */ beqz $v0, .L800F554C -/* 08E9B0 800F5500 AFB20144 */ sw $s2, 0x144($sp) -/* 08E9B4 800F5504 24190009 */ addiu $t9, $zero, 9 -/* 08E9B8 800F5508 0803D553 */ j .L800F554C -/* 08E9BC 800F550C AFB90144 */ sw $t9, 0x144($sp) - -.L800F5510: -/* 08E9C0 800F5510 0803D553 */ j .L800F554C -/* 08E9C4 800F5514 AFAE0144 */ sw $t6, 0x144($sp) - -.L800F5518: -/* 08E9C8 800F5518 0803D553 */ j .L800F554C -/* 08E9CC 800F551C AFAF0144 */ sw $t7, 0x144($sp) - -.L800F5520: -/* 08E9D0 800F5520 0803D553 */ j .L800F554C -/* 08E9D4 800F5524 AFB20144 */ sw $s2, 0x144($sp) - -.L800F5528: -/* 08E9D8 800F5528 0803D553 */ j .L800F554C -/* 08E9DC 800F552C AFB90144 */ sw $t9, 0x144($sp) - -.L800F5530: -/* 08E9E0 800F5530 0803D553 */ j .L800F554C -/* 08E9E4 800F5534 AFAE0144 */ sw $t6, 0x144($sp) - -.L800F5538: -/* 08E9E8 800F5538 0803D553 */ j .L800F554C -/* 08E9EC 800F553C AFAF0144 */ sw $t7, 0x144($sp) - -.L800F5540: -/* 08E9F0 800F5540 0803D553 */ j .L800F554C -/* 08E9F4 800F5544 AFB20144 */ sw $s2, 0x144($sp) - -.L800F5548: -/* 08E9F8 800F5548 AFB90144 */ sw $t9, 0x144($sp) -.L800F554C: -/* 08E9FC 800F554C 2EE20002 */ sltiu $v0, $s7, 2 -/* 08EA00 800F5550 1440001D */ bnez $v0, .L800F55C8 -/* 08EA04 800F5554 0000B02D */ daddu $s6, $zero, $zero -/* 08EA08 800F5558 2EE20003 */ sltiu $v0, $s7, 3 -/* 08EA0C 800F555C 1440001A */ bnez $v0, .L800F55C8 -/* 08EA10 800F5560 24160001 */ addiu $s6, $zero, 1 -/* 08EA14 800F5564 2EE20005 */ sltiu $v0, $s7, 5 -/* 08EA18 800F5568 14400017 */ bnez $v0, .L800F55C8 -/* 08EA1C 800F556C 24160002 */ addiu $s6, $zero, 2 -/* 08EA20 800F5570 2EE20009 */ sltiu $v0, $s7, 9 -/* 08EA24 800F5574 14400014 */ bnez $v0, .L800F55C8 -/* 08EA28 800F5578 24160003 */ addiu $s6, $zero, 3 -/* 08EA2C 800F557C 2EE20011 */ sltiu $v0, $s7, 0x11 -/* 08EA30 800F5580 14400011 */ bnez $v0, .L800F55C8 -/* 08EA34 800F5584 24160004 */ addiu $s6, $zero, 4 -/* 08EA38 800F5588 2EE20021 */ sltiu $v0, $s7, 0x21 -/* 08EA3C 800F558C 1440000E */ bnez $v0, .L800F55C8 -/* 08EA40 800F5590 24160005 */ addiu $s6, $zero, 5 -/* 08EA44 800F5594 2EE20041 */ sltiu $v0, $s7, 0x41 -/* 08EA48 800F5598 1440000B */ bnez $v0, .L800F55C8 -/* 08EA4C 800F559C 24160006 */ addiu $s6, $zero, 6 -/* 08EA50 800F55A0 2EE20081 */ sltiu $v0, $s7, 0x81 -/* 08EA54 800F55A4 14400008 */ bnez $v0, .L800F55C8 -/* 08EA58 800F55A8 24160007 */ addiu $s6, $zero, 7 -/* 08EA5C 800F55AC 2EE20101 */ sltiu $v0, $s7, 0x101 -/* 08EA60 800F55B0 14400005 */ bnez $v0, .L800F55C8 -/* 08EA64 800F55B4 24160008 */ addiu $s6, $zero, 8 -/* 08EA68 800F55B8 2EE20201 */ sltiu $v0, $s7, 0x201 -/* 08EA6C 800F55BC 10400002 */ beqz $v0, .L800F55C8 -/* 08EA70 800F55C0 2416000A */ addiu $s6, $zero, 0xa -/* 08EA74 800F55C4 24160009 */ addiu $s6, $zero, 9 -.L800F55C8: -/* 08EA78 800F55C8 0000F02D */ daddu $fp, $zero, $zero -/* 08EA7C 800F55CC AFA00154 */ sw $zero, 0x154($sp) -/* 08EA80 800F55D0 8C820004 */ lw $v0, 4($a0) -/* 08EA84 800F55D4 8FAF0204 */ lw $t7, 0x204($sp) -/* 08EA88 800F55D8 24840005 */ addiu $a0, $a0, 5 -/* 08EA8C 800F55DC AFA40148 */ sw $a0, 0x148($sp) -/* 08EA90 800F55E0 00027702 */ srl $t6, $v0, 0x1c -/* 08EA94 800F55E4 00021602 */ srl $v0, $v0, 0x18 -/* 08EA98 800F55E8 3042000F */ andi $v0, $v0, 0xf -/* 08EA9C 800F55EC AFAE014C */ sw $t6, 0x14c($sp) -/* 08EAA0 800F55F0 19E00026 */ blez $t7, .L800F568C -/* 08EAA4 800F55F4 AFA20150 */ sw $v0, 0x150($sp) -/* 08EAA8 800F55F8 8FB20208 */ lw $s2, 0x208($sp) -/* 08EAAC 800F55FC 1A40093B */ blez $s2, .L800F7AEC -/* 08EAB0 800F5600 24020001 */ addiu $v0, $zero, 1 -/* 08EAB4 800F5604 93B900E7 */ lbu $t9, 0xe7($sp) -/* 08EAB8 800F5608 13200938 */ beqz $t9, .L800F7AEC -/* 08EABC 800F560C 00000000 */ nop -/* 08EAC0 800F5610 8FAE01F8 */ lw $t6, 0x1f8($sp) -/* 08EAC4 800F5614 29C2FD01 */ slti $v0, $t6, -0x2ff -/* 08EAC8 800F5618 14400934 */ bnez $v0, .L800F7AEC -/* 08EACC 800F561C 24020001 */ addiu $v0, $zero, 1 -/* 08EAD0 800F5620 8FAF01FC */ lw $t7, 0x1fc($sp) -/* 08EAD4 800F5624 29E2FD01 */ slti $v0, $t7, -0x2ff -/* 08EAD8 800F5628 14400930 */ bnez $v0, .L800F7AEC -/* 08EADC 800F562C 24020001 */ addiu $v0, $zero, 1 -/* 08EAE0 800F5630 8FB201F8 */ lw $s2, 0x1f8($sp) -/* 08EAE4 800F5634 2A420140 */ slti $v0, $s2, 0x140 -/* 08EAE8 800F5638 1040092C */ beqz $v0, .L800F7AEC -/* 08EAEC 800F563C 24020001 */ addiu $v0, $zero, 1 -/* 08EAF0 800F5640 8FB901FC */ lw $t9, 0x1fc($sp) -/* 08EAF4 800F5644 2B2200F0 */ slti $v0, $t9, 0xf0 -/* 08EAF8 800F5648 10400928 */ beqz $v0, .L800F7AEC -/* 08EAFC 800F564C 24020001 */ addiu $v0, $zero, 1 -/* 08EB00 800F5650 8FAF0204 */ lw $t7, 0x204($sp) -/* 08EB04 800F5654 01CF2021 */ addu $a0, $t6, $t7 -/* 08EB08 800F5658 28820300 */ slti $v0, $a0, 0x300 -/* 08EB0C 800F565C 10400923 */ beqz $v0, .L800F7AEC -/* 08EB10 800F5660 24020001 */ addiu $v0, $zero, 1 -/* 08EB14 800F5664 8FB201FC */ lw $s2, 0x1fc($sp) -/* 08EB18 800F5668 8FB90208 */ lw $t9, 0x208($sp) -/* 08EB1C 800F566C 02591821 */ addu $v1, $s2, $t9 -/* 08EB20 800F5670 28620300 */ slti $v0, $v1, 0x300 -/* 08EB24 800F5674 1040091D */ beqz $v0, .L800F7AEC -/* 08EB28 800F5678 24020001 */ addiu $v0, $zero, 1 -/* 08EB2C 800F567C 1880091B */ blez $a0, .L800F7AEC -/* 08EB30 800F5680 00000000 */ nop -/* 08EB34 800F5684 1C600003 */ bgtz $v1, .L800F5694 -/* 08EB38 800F5688 00000000 */ nop -.L800F568C: -/* 08EB3C 800F568C 0803DEBB */ j .L800F7AEC -/* 08EB40 800F5690 24020001 */ addiu $v0, $zero, 1 - -.L800F5694: -/* 08EB44 800F5694 8FAE01F0 */ lw $t6, 0x1f0($sp) -/* 08EB48 800F5698 31C20001 */ andi $v0, $t6, 1 -/* 08EB4C 800F569C 1040000E */ beqz $v0, .L800F56D8 -/* 08EB50 800F56A0 3C04E300 */ lui $a0, 0xe300 -/* 08EB54 800F56A4 3C058011 */ lui $a1, 0x8011 -/* 08EB58 800F56A8 24A5BBB0 */ addiu $a1, $a1, -0x4450 -/* 08EB5C 800F56AC 8CA20000 */ lw $v0, ($a1) -/* 08EB60 800F56B0 3C048011 */ lui $a0, 0x8011 -/* 08EB64 800F56B4 2484D6B0 */ addiu $a0, $a0, -0x2950 -/* 08EB68 800F56B8 00021A00 */ sll $v1, $v0, 8 -/* 08EB6C 800F56BC 24420001 */ addiu $v0, $v0, 1 -/* 08EB70 800F56C0 ACA20000 */ sw $v0, ($a1) -/* 08EB74 800F56C4 28420015 */ slti $v0, $v0, 0x15 -/* 08EB78 800F56C8 14400002 */ bnez $v0, .L800F56D4 -/* 08EB7C 800F56CC 0064F021 */ addu $fp, $v1, $a0 -/* 08EB80 800F56D0 ACA00000 */ sw $zero, ($a1) -.L800F56D4: -/* 08EB84 800F56D4 3C04E300 */ lui $a0, 0xe300 -.L800F56D8: -/* 08EB88 800F56D8 34840A01 */ ori $a0, $a0, 0xa01 -/* 08EB8C 800F56DC 3C06E200 */ lui $a2, 0xe200 -/* 08EB90 800F56E0 34C6001C */ ori $a2, $a2, 0x1c -/* 08EB94 800F56E4 3C058410 */ lui $a1, 0x8410 -/* 08EB98 800F56E8 3C08800A */ lui $t0, 0x800a -/* 08EB9C 800F56EC 2508A66C */ addiu $t0, $t0, -0x5994 -/* 08EBA0 800F56F0 8D070000 */ lw $a3, ($t0) -/* 08EBA4 800F56F4 3C02E700 */ lui $v0, 0xe700 -/* 08EBA8 800F56F8 00E0182D */ daddu $v1, $a3, $zero -/* 08EBAC 800F56FC 24E70008 */ addiu $a3, $a3, 8 -/* 08EBB0 800F5700 AD070000 */ sw $a3, ($t0) -/* 08EBB4 800F5704 AC620000 */ sw $v0, ($v1) -/* 08EBB8 800F5708 24E20008 */ addiu $v0, $a3, 8 -/* 08EBBC 800F570C AC600004 */ sw $zero, 4($v1) -/* 08EBC0 800F5710 AD020000 */ sw $v0, ($t0) -/* 08EBC4 800F5714 3C020010 */ lui $v0, 0x10 -/* 08EBC8 800F5718 ACE20004 */ sw $v0, 4($a3) -/* 08EBCC 800F571C 24E20010 */ addiu $v0, $a3, 0x10 -/* 08EBD0 800F5720 ACE40000 */ sw $a0, ($a3) -/* 08EBD4 800F5724 AD020000 */ sw $v0, ($t0) -/* 08EBD8 800F5728 3C02F900 */ lui $v0, 0xf900 -/* 08EBDC 800F572C ACE20008 */ sw $v0, 8($a3) -/* 08EBE0 800F5730 24E20018 */ addiu $v0, $a3, 0x18 -/* 08EBE4 800F5734 ACE0000C */ sw $zero, 0xc($a3) -/* 08EBE8 800F5738 AD020000 */ sw $v0, ($t0) -/* 08EBEC 800F573C 3C02F800 */ lui $v0, 0xf800 -/* 08EBF0 800F5740 ACE20010 */ sw $v0, 0x10($a3) -/* 08EBF4 800F5744 93A200E8 */ lbu $v0, 0xe8($sp) -/* 08EBF8 800F5748 34A54240 */ ori $a1, $a1, 0x4240 -/* 08EBFC 800F574C ACE20014 */ sw $v0, 0x14($a3) -/* 08EC00 800F5750 24E20020 */ addiu $v0, $a3, 0x20 -/* 08EC04 800F5754 AD020000 */ sw $v0, ($t0) -/* 08EC08 800F5758 ACE60018 */ sw $a2, 0x18($a3) -/* 08EC0C 800F575C ACE5001C */ sw $a1, 0x1c($a3) -/* 08EC10 800F5760 8FAF01F0 */ lw $t7, 0x1f0($sp) -/* 08EC14 800F5764 31E20004 */ andi $v0, $t7, 4 -/* 08EC18 800F5768 14400007 */ bnez $v0, .L800F5788 -/* 08EC1C 800F576C 3C020050 */ lui $v0, 0x50 -/* 08EC20 800F5770 344203C0 */ ori $v0, $v0, 0x3c0 -/* 08EC24 800F5774 24E30028 */ addiu $v1, $a3, 0x28 -/* 08EC28 800F5778 AD030000 */ sw $v1, ($t0) -/* 08EC2C 800F577C 3C03ED00 */ lui $v1, 0xed00 -/* 08EC30 800F5780 ACE30020 */ sw $v1, 0x20($a3) -/* 08EC34 800F5784 ACE20024 */ sw $v0, 0x24($a3) -.L800F5788: -/* 08EC38 800F5788 11200011 */ beqz $t1, .L800F57D0 -/* 08EC3C 800F578C 240200FF */ addiu $v0, $zero, 0xff -/* 08EC40 800F5790 93A3010F */ lbu $v1, 0x10f($sp) -/* 08EC44 800F5794 8D050000 */ lw $a1, ($t0) -/* 08EC48 800F5798 91240002 */ lbu $a0, 2($t1) -/* 08EC4C 800F579C 10620003 */ beq $v1, $v0, .L800F57AC -/* 08EC50 800F57A0 24820002 */ addiu $v0, $a0, 2 -/* 08EC54 800F57A4 0803D5EC */ j .L800F57B0 -/* 08EC58 800F57A8 000218C0 */ sll $v1, $v0, 3 - -.L800F57AC: -/* 08EC5C 800F57AC 000418C0 */ sll $v1, $a0, 3 -.L800F57B0: -/* 08EC60 800F57B0 3C028011 */ lui $v0, 0x8011 -/* 08EC64 800F57B4 2442BB90 */ addiu $v0, $v0, -0x4470 -/* 08EC68 800F57B8 00431021 */ addu $v0, $v0, $v1 -/* 08EC6C 800F57BC 8C520000 */ lw $s2, ($v0) -/* 08EC70 800F57C0 8C590004 */ lw $t9, 4($v0) -/* 08EC74 800F57C4 ACB20000 */ sw $s2, ($a1) -/* 08EC78 800F57C8 0803D601 */ j .L800F5804 -/* 08EC7C 800F57CC ACB90004 */ sw $t9, 4($a1) - -.L800F57D0: -/* 08EC80 800F57D0 93A3010F */ lbu $v1, 0x10f($sp) -/* 08EC84 800F57D4 8D040000 */ lw $a0, ($t0) -/* 08EC88 800F57D8 10620006 */ beq $v1, $v0, .L800F57F4 -/* 08EC8C 800F57DC 3C03E300 */ lui $v1, 0xe300 -/* 08EC90 800F57E0 8D520028 */ lw $s2, 0x28($t2) -/* 08EC94 800F57E4 8D59002C */ lw $t9, 0x2c($t2) -/* 08EC98 800F57E8 AC920000 */ sw $s2, ($a0) -/* 08EC9C 800F57EC 0803D602 */ j .L800F5808 -/* 08ECA0 800F57F0 AC990004 */ sw $t9, 4($a0) - -.L800F57F4: -/* 08ECA4 800F57F4 8D520020 */ lw $s2, 0x20($t2) -/* 08ECA8 800F57F8 8D590024 */ lw $t9, 0x24($t2) -/* 08ECAC 800F57FC AC920000 */ sw $s2, ($a0) -/* 08ECB0 800F5800 AC990004 */ sw $t9, 4($a0) -.L800F5804: -/* 08ECB4 800F5804 3C03E300 */ lui $v1, 0xe300 -.L800F5808: -/* 08ECB8 800F5808 3C13800A */ lui $s3, 0x800a -/* 08ECBC 800F580C 2673A66C */ addiu $s3, $s3, -0x5994 -/* 08ECC0 800F5810 8E680000 */ lw $t0, ($s3) -/* 08ECC4 800F5814 34631201 */ ori $v1, $v1, 0x1201 -/* 08ECC8 800F5818 25020010 */ addiu $v0, $t0, 0x10 -/* 08ECCC 800F581C AE620000 */ sw $v0, ($s3) -/* 08ECD0 800F5820 AD030008 */ sw $v1, 8($t0) -/* 08ECD4 800F5824 13C000E7 */ beqz $fp, .L800F5BC4 -/* 08ECD8 800F5828 AD00000C */ sw $zero, 0xc($t0) -/* 08ECDC 800F582C 3C03DC08 */ lui $v1, 0xdc08 -/* 08ECE0 800F5830 34630008 */ ori $v1, $v1, 8 -/* 08ECE4 800F5834 27A40020 */ addiu $a0, $sp, 0x20 -/* 08ECE8 800F5838 3C120001 */ lui $s2, 1 -/* 08ECEC 800F583C 36521630 */ ori $s2, $s2, 0x1630 -/* 08ECF0 800F5840 3C05C2A0 */ lui $a1, 0xc2a0 -/* 08ECF4 800F5844 3C0642A0 */ lui $a2, 0x42a0 -/* 08ECF8 800F5848 3C074270 */ lui $a3, 0x4270 -/* 08ECFC 800F584C 3C01C270 */ lui $at, 0xc270 -/* 08ED00 800F5850 44810000 */ mtc1 $at, $f0 -/* 08ED04 800F5854 3C014320 */ lui $at, 0x4320 -/* 08ED08 800F5858 44811000 */ mtc1 $at, $f2 -/* 08ED0C 800F585C 3C0143F0 */ lui $at, 0x43f0 -/* 08ED10 800F5860 44812000 */ mtc1 $at, $f4 -/* 08ED14 800F5864 3C013F80 */ lui $at, 0x3f80 -/* 08ED18 800F5868 4481A000 */ mtc1 $at, $f20 -/* 08ED1C 800F586C 25020018 */ addiu $v0, $t0, 0x18 -/* 08ED20 800F5870 AE620000 */ sw $v0, ($s3) -/* 08ED24 800F5874 3C028011 */ lui $v0, 0x8011 -/* 08ED28 800F5878 2442BBB8 */ addiu $v0, $v0, -0x4448 -/* 08ED2C 800F587C AD030010 */ sw $v1, 0x10($t0) -/* 08ED30 800F5880 AD020014 */ sw $v0, 0x14($t0) -/* 08ED34 800F5884 E7A00010 */ swc1 $f0, 0x10($sp) -/* 08ED38 800F5888 E7A20014 */ swc1 $f2, 0x14($sp) -/* 08ED3C 800F588C E7A40018 */ swc1 $f4, 0x18($sp) -/* 08ED40 800F5890 0C0187CC */ jal guFrustumF -/* 08ED44 800F5894 E7B4001C */ swc1 $f20, 0x1c($sp) -/* 08ED48 800F5898 27A40020 */ addiu $a0, $sp, 0x20 -/* 08ED4C 800F589C 3C108007 */ lui $s0, 0x8007 -/* 08ED50 800F58A0 261041F0 */ addiu $s0, $s0, 0x41f0 -/* 08ED54 800F58A4 3C11800A */ lui $s1, 0x800a -/* 08ED58 800F58A8 2631A674 */ addiu $s1, $s1, -0x598c -/* 08ED5C 800F58AC 96050000 */ lhu $a1, ($s0) -/* 08ED60 800F58B0 8E220000 */ lw $v0, ($s1) -/* 08ED64 800F58B4 00052980 */ sll $a1, $a1, 6 -/* 08ED68 800F58B8 00B22821 */ addu $a1, $a1, $s2 -/* 08ED6C 800F58BC 0C019D40 */ jal guMtxF2L -/* 08ED70 800F58C0 00452821 */ addu $a1, $v0, $a1 -/* 08ED74 800F58C4 3C0ADA38 */ lui $t2, 0xda38 -/* 08ED78 800F58C8 354A0007 */ ori $t2, $t2, 7 -/* 08ED7C 800F58CC 8E630000 */ lw $v1, ($s3) -/* 08ED80 800F58D0 8FA5021C */ lw $a1, 0x21c($sp) -/* 08ED84 800F58D4 8FA60220 */ lw $a2, 0x220($sp) -/* 08ED88 800F58D8 96020000 */ lhu $v0, ($s0) -/* 08ED8C 800F58DC 8FA70224 */ lw $a3, 0x224($sp) -/* 08ED90 800F58E0 8E280000 */ lw $t0, ($s1) -/* 08ED94 800F58E4 00021180 */ sll $v0, $v0, 6 -/* 08ED98 800F58E8 00521021 */ addu $v0, $v0, $s2 -/* 08ED9C 800F58EC 01021021 */ addu $v0, $t0, $v0 -/* 08EDA0 800F58F0 0060482D */ daddu $t1, $v1, $zero -/* 08EDA4 800F58F4 AFA20154 */ sw $v0, 0x154($sp) -/* 08EDA8 800F58F8 96020000 */ lhu $v0, ($s0) -/* 08EDAC 800F58FC 24630008 */ addiu $v1, $v1, 8 -/* 08EDB0 800F5900 AE630000 */ sw $v1, ($s3) -/* 08EDB4 800F5904 AD2A0000 */ sw $t2, ($t1) -/* 08EDB8 800F5908 24430001 */ addiu $v1, $v0, 1 -/* 08EDBC 800F590C 3042FFFF */ andi $v0, $v0, 0xffff -/* 08EDC0 800F5910 00021180 */ sll $v0, $v0, 6 -/* 08EDC4 800F5914 00521021 */ addu $v0, $v0, $s2 -/* 08EDC8 800F5918 01024021 */ addu $t0, $t0, $v0 -/* 08EDCC 800F591C A6030000 */ sh $v1, ($s0) -/* 08EDD0 800F5920 AD280004 */ sw $t0, 4($t1) -/* 08EDD4 800F5924 8FB90204 */ lw $t9, 0x204($sp) -/* 08EDD8 800F5928 8FAE01F8 */ lw $t6, 0x1f8($sp) -/* 08EDDC 800F592C 8FAF0208 */ lw $t7, 0x208($sp) -/* 08EDE0 800F5930 8FB201FC */ lw $s2, 0x1fc($sp) -/* 08EDE4 800F5934 27A40020 */ addiu $a0, $sp, 0x20 -/* 08EDE8 800F5938 E7B40010 */ swc1 $f20, 0x10($sp) -/* 08EDEC 800F593C 001917C2 */ srl $v0, $t9, 0x1f -/* 08EDF0 800F5940 03221021 */ addu $v0, $t9, $v0 -/* 08EDF4 800F5944 00021043 */ sra $v0, $v0, 1 -/* 08EDF8 800F5948 01C21021 */ addu $v0, $t6, $v0 -/* 08EDFC 800F594C 44820000 */ mtc1 $v0, $f0 -/* 08EE00 800F5950 00000000 */ nop -/* 08EE04 800F5954 46800020 */ cvt.s.w $f0, $f0 -/* 08EE08 800F5958 000F17C2 */ srl $v0, $t7, 0x1f -/* 08EE0C 800F595C 01E21021 */ addu $v0, $t7, $v0 -/* 08EE10 800F5960 00021043 */ sra $v0, $v0, 1 -/* 08EE14 800F5964 02421021 */ addu $v0, $s2, $v0 -/* 08EE18 800F5968 E7A00014 */ swc1 $f0, 0x14($sp) -/* 08EE1C 800F596C 44820000 */ mtc1 $v0, $f0 -/* 08EE20 800F5970 00000000 */ nop -/* 08EE24 800F5974 46800020 */ cvt.s.w $f0, $f0 -/* 08EE28 800F5978 E7A00018 */ swc1 $f0, 0x18($sp) -/* 08EE2C 800F597C C7A00200 */ lwc1 $f0, 0x200($sp) -/* 08EE30 800F5980 46800020 */ cvt.s.w $f0, $f0 -/* 08EE34 800F5984 0C018FC4 */ jal guPositionF -/* 08EE38 800F5988 E7A0001C */ swc1 $f0, 0x1c($sp) -/* 08EE3C 800F598C 4614B032 */ c.eq.s $f22, $f20 -/* 08EE40 800F5990 00000000 */ nop -/* 08EE44 800F5994 45000005 */ bc1f .L800F59AC -/* 08EE48 800F5998 27B00060 */ addiu $s0, $sp, 0x60 -/* 08EE4C 800F599C 4614C032 */ c.eq.s $f24, $f20 -/* 08EE50 800F59A0 00000000 */ nop -/* 08EE54 800F59A4 4501000A */ bc1t .L800F59D0 -/* 08EE58 800F59A8 00000000 */ nop -.L800F59AC: -/* 08EE5C 800F59AC 4405B000 */ mfc1 $a1, $f22 -/* 08EE60 800F59B0 4406C000 */ mfc1 $a2, $f24 -/* 08EE64 800F59B4 4407A000 */ mfc1 $a3, $f20 -/* 08EE68 800F59B8 0C019DF0 */ jal guScaleF -/* 08EE6C 800F59BC 0200202D */ daddu $a0, $s0, $zero -/* 08EE70 800F59C0 0200202D */ daddu $a0, $s0, $zero -/* 08EE74 800F59C4 27A50020 */ addiu $a1, $sp, 0x20 -/* 08EE78 800F59C8 0C019D80 */ jal guMtxCatF -/* 08EE7C 800F59CC 00A0302D */ daddu $a2, $a1, $zero -.L800F59D0: -/* 08EE80 800F59D0 8FB90230 */ lw $t9, 0x230($sp) -/* 08EE84 800F59D4 1320001E */ beqz $t9, .L800F5A50 -/* 08EE88 800F59D8 27B00060 */ addiu $s0, $sp, 0x60 -/* 08EE8C 800F59DC 8FA20234 */ lw $v0, 0x234($sp) -/* 08EE90 800F59E0 0200202D */ daddu $a0, $s0, $zero -/* 08EE94 800F59E4 00021023 */ negu $v0, $v0 -/* 08EE98 800F59E8 00021FC2 */ srl $v1, $v0, 0x1f -/* 08EE9C 800F59EC 00431021 */ addu $v0, $v0, $v1 -/* 08EEA0 800F59F0 00021043 */ sra $v0, $v0, 1 -/* 08EEA4 800F59F4 44823000 */ mtc1 $v0, $f6 -/* 08EEA8 800F59F8 00000000 */ nop -/* 08EEAC 800F59FC 468031A0 */ cvt.s.w $f6, $f6 -/* 08EEB0 800F5A00 8FA20238 */ lw $v0, 0x238($sp) -/* 08EEB4 800F5A04 44053000 */ mfc1 $a1, $f6 -/* 08EEB8 800F5A08 00021023 */ negu $v0, $v0 -/* 08EEBC 800F5A0C 00021FC2 */ srl $v1, $v0, 0x1f -/* 08EEC0 800F5A10 00431021 */ addu $v0, $v0, $v1 -/* 08EEC4 800F5A14 00021043 */ sra $v0, $v0, 1 -/* 08EEC8 800F5A18 44823000 */ mtc1 $v0, $f6 -/* 08EECC 800F5A1C 00000000 */ nop -/* 08EED0 800F5A20 468031A0 */ cvt.s.w $f6, $f6 -/* 08EED4 800F5A24 44063000 */ mfc1 $a2, $f6 -/* 08EED8 800F5A28 0C019E40 */ jal guTranslateF -/* 08EEDC 800F5A2C 0000382D */ daddu $a3, $zero, $zero -/* 08EEE0 800F5A30 27A40020 */ addiu $a0, $sp, 0x20 -/* 08EEE4 800F5A34 0200282D */ daddu $a1, $s0, $zero -/* 08EEE8 800F5A38 0C019D80 */ jal guMtxCatF -/* 08EEEC 800F5A3C 0200302D */ daddu $a2, $s0, $zero -/* 08EEF0 800F5A40 0200202D */ daddu $a0, $s0, $zero -/* 08EEF4 800F5A44 8FA50230 */ lw $a1, 0x230($sp) -/* 08EEF8 800F5A48 0C019D80 */ jal guMtxCatF -/* 08EEFC 800F5A4C 27A60020 */ addiu $a2, $sp, 0x20 -.L800F5A50: -/* 08EF00 800F5A50 8FAE023C */ lw $t6, 0x23c($sp) -/* 08EF04 800F5A54 11C00012 */ beqz $t6, .L800F5AA0 -/* 08EF08 800F5A58 27A80020 */ addiu $t0, $sp, 0x20 -/* 08EF0C 800F5A5C 0000302D */ daddu $a2, $zero, $zero -/* 08EF10 800F5A60 01C0382D */ daddu $a3, $t6, $zero -.L800F5A64: -/* 08EF14 800F5A64 0000282D */ daddu $a1, $zero, $zero -/* 08EF18 800F5A68 00E0202D */ daddu $a0, $a3, $zero -/* 08EF1C 800F5A6C 00061900 */ sll $v1, $a2, 4 -.L800F5A70: -/* 08EF20 800F5A70 01031021 */ addu $v0, $t0, $v1 -/* 08EF24 800F5A74 24630004 */ addiu $v1, $v1, 4 -/* 08EF28 800F5A78 24A50001 */ addiu $a1, $a1, 1 -/* 08EF2C 800F5A7C C4400000 */ lwc1 $f0, ($v0) -/* 08EF30 800F5A80 28A20004 */ slti $v0, $a1, 4 -/* 08EF34 800F5A84 E4800000 */ swc1 $f0, ($a0) -/* 08EF38 800F5A88 1440FFF9 */ bnez $v0, .L800F5A70 -/* 08EF3C 800F5A8C 24840004 */ addiu $a0, $a0, 4 -/* 08EF40 800F5A90 24C60001 */ addiu $a2, $a2, 1 -/* 08EF44 800F5A94 28C20004 */ slti $v0, $a2, 4 -/* 08EF48 800F5A98 1440FFF2 */ bnez $v0, .L800F5A64 -/* 08EF4C 800F5A9C 24E70010 */ addiu $a3, $a3, 0x10 -.L800F5AA0: -/* 08EF50 800F5AA0 27B00060 */ addiu $s0, $sp, 0x60 -/* 08EF54 800F5AA4 3C05C320 */ lui $a1, 0xc320 -/* 08EF58 800F5AA8 3C06C2F0 */ lui $a2, 0xc2f0 -/* 08EF5C 800F5AAC 3C07C3A0 */ lui $a3, 0xc3a0 -/* 08EF60 800F5AB0 0C019E40 */ jal guTranslateF -/* 08EF64 800F5AB4 0200202D */ daddu $a0, $s0, $zero -/* 08EF68 800F5AB8 27A40020 */ addiu $a0, $sp, 0x20 -/* 08EF6C 800F5ABC 0200282D */ daddu $a1, $s0, $zero -/* 08EF70 800F5AC0 0C019D80 */ jal guMtxCatF -/* 08EF74 800F5AC4 0080302D */ daddu $a2, $a0, $zero -/* 08EF78 800F5AC8 3C03D9FD */ lui $v1, 0xd9fd -/* 08EF7C 800F5ACC 3C13800A */ lui $s3, 0x800a -/* 08EF80 800F5AD0 2673A66C */ addiu $s3, $s3, -0x5994 -/* 08EF84 800F5AD4 8E640000 */ lw $a0, ($s3) -/* 08EF88 800F5AD8 3463F9FF */ ori $v1, $v1, 0xf9ff -/* 08EF8C 800F5ADC 0080102D */ daddu $v0, $a0, $zero -/* 08EF90 800F5AE0 24840008 */ addiu $a0, $a0, 8 -/* 08EF94 800F5AE4 AE640000 */ sw $a0, ($s3) -/* 08EF98 800F5AE8 AC430000 */ sw $v1, ($v0) -/* 08EF9C 800F5AEC AC400004 */ sw $zero, 4($v0) -/* 08EFA0 800F5AF0 8FAF01F0 */ lw $t7, 0x1f0($sp) -/* 08EFA4 800F5AF4 31E20008 */ andi $v0, $t7, 8 -/* 08EFA8 800F5AF8 10400007 */ beqz $v0, .L800F5B18 -/* 08EFAC 800F5AFC 3C02D9FF */ lui $v0, 0xd9ff -/* 08EFB0 800F5B00 3442FFFF */ ori $v0, $v0, 0xffff -/* 08EFB4 800F5B04 24830008 */ addiu $v1, $a0, 8 -/* 08EFB8 800F5B08 AE630000 */ sw $v1, ($s3) -/* 08EFBC 800F5B0C AC820000 */ sw $v0, ($a0) -/* 08EFC0 800F5B10 24020400 */ addiu $v0, $zero, 0x400 -/* 08EFC4 800F5B14 AC820004 */ sw $v0, 4($a0) -.L800F5B18: -/* 08EFC8 800F5B18 3C120001 */ lui $s2, 1 -/* 08EFCC 800F5B1C 36521630 */ ori $s2, $s2, 0x1630 -/* 08EFD0 800F5B20 27A40020 */ addiu $a0, $sp, 0x20 -/* 08EFD4 800F5B24 3C108007 */ lui $s0, 0x8007 -/* 08EFD8 800F5B28 261041F0 */ addiu $s0, $s0, 0x41f0 -/* 08EFDC 800F5B2C 3C11800A */ lui $s1, 0x800a -/* 08EFE0 800F5B30 2631A674 */ addiu $s1, $s1, -0x598c -/* 08EFE4 800F5B34 96050000 */ lhu $a1, ($s0) -/* 08EFE8 800F5B38 8E220000 */ lw $v0, ($s1) -/* 08EFEC 800F5B3C 00052980 */ sll $a1, $a1, 6 -/* 08EFF0 800F5B40 00B22821 */ addu $a1, $a1, $s2 -/* 08EFF4 800F5B44 0C019D40 */ jal guMtxF2L -/* 08EFF8 800F5B48 00452821 */ addu $a1, $v0, $a1 -/* 08EFFC 800F5B4C 3C03DA38 */ lui $v1, 0xda38 -/* 08F000 800F5B50 34630002 */ ori $v1, $v1, 2 -/* 08F004 800F5B54 3C06E300 */ lui $a2, 0xe300 -/* 08F008 800F5B58 34C60C00 */ ori $a2, $a2, 0xc00 -/* 08F00C 800F5B5C 8E640000 */ lw $a0, ($s3) -/* 08F010 800F5B60 96020000 */ lhu $v0, ($s0) -/* 08F014 800F5B64 0080282D */ daddu $a1, $a0, $zero -/* 08F018 800F5B68 24840008 */ addiu $a0, $a0, 8 -/* 08F01C 800F5B6C AE640000 */ sw $a0, ($s3) -/* 08F020 800F5B70 ACA30000 */ sw $v1, ($a1) -/* 08F024 800F5B74 24430001 */ addiu $v1, $v0, 1 -/* 08F028 800F5B78 3042FFFF */ andi $v0, $v0, 0xffff -/* 08F02C 800F5B7C 00021180 */ sll $v0, $v0, 6 -/* 08F030 800F5B80 A6030000 */ sh $v1, ($s0) -/* 08F034 800F5B84 8E230000 */ lw $v1, ($s1) -/* 08F038 800F5B88 00521021 */ addu $v0, $v0, $s2 -/* 08F03C 800F5B8C 00621821 */ addu $v1, $v1, $v0 -/* 08F040 800F5B90 24820008 */ addiu $v0, $a0, 8 -/* 08F044 800F5B94 ACA30004 */ sw $v1, 4($a1) -/* 08F048 800F5B98 AE620000 */ sw $v0, ($s3) -/* 08F04C 800F5B9C 3C020008 */ lui $v0, 8 -/* 08F050 800F5BA0 AC820004 */ sw $v0, 4($a0) -/* 08F054 800F5BA4 24820010 */ addiu $v0, $a0, 0x10 -/* 08F058 800F5BA8 AC860000 */ sw $a2, ($a0) -/* 08F05C 800F5BAC AE620000 */ sw $v0, ($s3) -/* 08F060 800F5BB0 3C02DB0E */ lui $v0, 0xdb0e -/* 08F064 800F5BB4 AC820008 */ sw $v0, 8($a0) -/* 08F068 800F5BB8 24020014 */ addiu $v0, $zero, 0x14 -/* 08F06C 800F5BBC 0803D6F7 */ j .L800F5BDC -/* 08F070 800F5BC0 AC82000C */ sw $v0, 0xc($a0) - -.L800F5BC4: -/* 08F074 800F5BC4 3C03E300 */ lui $v1, 0xe300 -/* 08F078 800F5BC8 34630C00 */ ori $v1, $v1, 0xc00 -/* 08F07C 800F5BCC 25020018 */ addiu $v0, $t0, 0x18 -/* 08F080 800F5BD0 AE620000 */ sw $v0, ($s3) -/* 08F084 800F5BD4 AD030010 */ sw $v1, 0x10($t0) -/* 08F088 800F5BD8 AD000014 */ sw $zero, 0x14($t0) -.L800F5BDC: -/* 08F08C 800F5BDC 3C02D700 */ lui $v0, 0xd700 -/* 08F090 800F5BE0 34420002 */ ori $v0, $v0, 2 -/* 08F094 800F5BE4 3C04E300 */ lui $a0, 0xe300 -/* 08F098 800F5BE8 34841001 */ ori $a0, $a0, 0x1001 -/* 08F09C 800F5BEC 3C05E300 */ lui $a1, 0xe300 -/* 08F0A0 800F5BF0 34A50D01 */ ori $a1, $a1, 0xd01 -/* 08F0A4 800F5BF4 3C06E300 */ lui $a2, 0xe300 -/* 08F0A8 800F5BF8 3C0B800A */ lui $t3, 0x800a -/* 08F0AC 800F5BFC 256BA66C */ addiu $t3, $t3, -0x5994 -/* 08F0B0 800F5C00 8D6A0000 */ lw $t2, ($t3) -/* 08F0B4 800F5C04 34C60F00 */ ori $a2, $a2, 0xf00 -/* 08F0B8 800F5C08 0140182D */ daddu $v1, $t2, $zero -/* 08F0BC 800F5C0C 254A0008 */ addiu $t2, $t2, 8 -/* 08F0C0 800F5C10 AD6A0000 */ sw $t2, ($t3) -/* 08F0C4 800F5C14 AC620000 */ sw $v0, ($v1) -/* 08F0C8 800F5C18 2402FFFF */ addiu $v0, $zero, -1 -/* 08F0CC 800F5C1C AC620004 */ sw $v0, 4($v1) -/* 08F0D0 800F5C20 25420008 */ addiu $v0, $t2, 8 -/* 08F0D4 800F5C24 AD620000 */ sw $v0, ($t3) -/* 08F0D8 800F5C28 25420010 */ addiu $v0, $t2, 0x10 -/* 08F0DC 800F5C2C AD440000 */ sw $a0, ($t2) -/* 08F0E0 800F5C30 AD400004 */ sw $zero, 4($t2) -/* 08F0E4 800F5C34 AD620000 */ sw $v0, ($t3) -/* 08F0E8 800F5C38 25420018 */ addiu $v0, $t2, 0x18 -/* 08F0EC 800F5C3C AD450008 */ sw $a1, 8($t2) -/* 08F0F0 800F5C40 AD40000C */ sw $zero, 0xc($t2) -/* 08F0F4 800F5C44 AD620000 */ sw $v0, ($t3) -/* 08F0F8 800F5C48 25420020 */ addiu $v0, $t2, 0x20 -/* 08F0FC 800F5C4C AD460010 */ sw $a2, 0x10($t2) -/* 08F100 800F5C50 AD400014 */ sw $zero, 0x14($t2) -/* 08F104 800F5C54 AD620000 */ sw $v0, ($t3) -/* 08F108 800F5C58 3C02FA00 */ lui $v0, 0xfa00 -/* 08F10C 800F5C5C AD420018 */ sw $v0, 0x18($t2) -/* 08F110 800F5C60 93B200F7 */ lbu $s2, 0xf7($sp) -/* 08F114 800F5C64 93B900FF */ lbu $t9, 0xff($sp) -/* 08F118 800F5C68 93AE0107 */ lbu $t6, 0x107($sp) -/* 08F11C 800F5C6C 00121600 */ sll $v0, $s2, 0x18 -/* 08F120 800F5C70 00191C00 */ sll $v1, $t9, 0x10 -/* 08F124 800F5C74 00431025 */ or $v0, $v0, $v1 -/* 08F128 800F5C78 000E1A00 */ sll $v1, $t6, 8 -/* 08F12C 800F5C7C 00431025 */ or $v0, $v0, $v1 -/* 08F130 800F5C80 93A3010F */ lbu $v1, 0x10f($sp) -/* 08F134 800F5C84 00431025 */ or $v0, $v0, $v1 -/* 08F138 800F5C88 AD42001C */ sw $v0, 0x1c($t2) -/* 08F13C 800F5C8C 25420028 */ addiu $v0, $t2, 0x28 -/* 08F140 800F5C90 AD620000 */ sw $v0, ($t3) -/* 08F144 800F5C94 3C02FB00 */ lui $v0, 0xfb00 -/* 08F148 800F5C98 AD420020 */ sw $v0, 0x20($t2) -/* 08F14C 800F5C9C 93AF0117 */ lbu $t7, 0x117($sp) -/* 08F150 800F5CA0 93B2011F */ lbu $s2, 0x11f($sp) -/* 08F154 800F5CA4 93B90127 */ lbu $t9, 0x127($sp) -/* 08F158 800F5CA8 93AE012F */ lbu $t6, 0x12f($sp) -/* 08F15C 800F5CAC 000F1600 */ sll $v0, $t7, 0x18 -/* 08F160 800F5CB0 00121C00 */ sll $v1, $s2, 0x10 -/* 08F164 800F5CB4 00431025 */ or $v0, $v0, $v1 -/* 08F168 800F5CB8 00191A00 */ sll $v1, $t9, 8 -/* 08F16C 800F5CBC 00431025 */ or $v0, $v0, $v1 -/* 08F170 800F5CC0 01C21025 */ or $v0, $t6, $v0 -/* 08F174 800F5CC4 AD420024 */ sw $v0, 0x24($t2) -/* 08F178 800F5CC8 8FAF0138 */ lw $t7, 0x138($sp) -/* 08F17C 800F5CCC 11E0012E */ beqz $t7, .L800F6188 -/* 08F180 800F5CD0 00000000 */ nop -/* 08F184 800F5CD4 92820004 */ lbu $v0, 4($s4) -/* 08F188 800F5CD8 3043000F */ andi $v1, $v0, 0xf -/* 08F18C 800F5CDC 24020001 */ addiu $v0, $zero, 1 -/* 08F190 800F5CE0 10620054 */ beq $v1, $v0, .L800F5E34 -/* 08F194 800F5CE4 28620002 */ slti $v0, $v1, 2 -/* 08F198 800F5CE8 10400005 */ beqz $v0, .L800F5D00 -/* 08F19C 800F5CEC 24020002 */ addiu $v0, $zero, 2 -/* 08F1A0 800F5CF0 10600009 */ beqz $v1, .L800F5D18 -/* 08F1A4 800F5CF4 25420030 */ addiu $v0, $t2, 0x30 -/* 08F1A8 800F5CF8 0803D80F */ j .L800F603C -/* 08F1AC 800F5CFC 00000000 */ nop - -.L800F5D00: -/* 08F1B0 800F5D00 1062006D */ beq $v1, $v0, .L800F5EB8 -/* 08F1B4 800F5D04 24020003 */ addiu $v0, $zero, 3 -/* 08F1B8 800F5D08 1062008D */ beq $v1, $v0, .L800F5F40 -/* 08F1BC 800F5D0C 25420030 */ addiu $v0, $t2, 0x30 -/* 08F1C0 800F5D10 0803D80F */ j .L800F603C -/* 08F1C4 800F5D14 00000000 */ nop - -.L800F5D18: -/* 08F1C8 800F5D18 00152042 */ srl $a0, $s5, 1 -/* 08F1CC 800F5D1C AD620000 */ sw $v0, ($t3) -/* 08F1D0 800F5D20 2482FFFF */ addiu $v0, $a0, -1 -/* 08F1D4 800F5D24 30420FFF */ andi $v0, $v0, 0xfff -/* 08F1D8 800F5D28 3C03FD08 */ lui $v1, 0xfd08 -/* 08F1DC 800F5D2C 00431025 */ or $v0, $v0, $v1 -/* 08F1E0 800F5D30 24840007 */ addiu $a0, $a0, 7 -/* 08F1E4 800F5D34 000420C2 */ srl $a0, $a0, 3 -/* 08F1E8 800F5D38 00042240 */ sll $a0, $a0, 9 -/* 08F1EC 800F5D3C 00164380 */ sll $t0, $s6, 0xe -/* 08F1F0 800F5D40 3C060700 */ lui $a2, 0x700 -/* 08F1F4 800F5D44 26A3FFFF */ addiu $v1, $s5, -1 -/* 08F1F8 800F5D48 26E5FFFF */ addiu $a1, $s7, -1 -/* 08F1FC 800F5D4C 8FB20140 */ lw $s2, 0x140($sp) -/* 08F200 800F5D50 00052880 */ sll $a1, $a1, 2 -/* 08F204 800F5D54 32470007 */ andi $a3, $s2, 7 -/* 08F208 800F5D58 00073D40 */ sll $a3, $a3, 0x15 -/* 08F20C 800F5D5C 00E21025 */ or $v0, $a3, $v0 -/* 08F210 800F5D60 AD420028 */ sw $v0, 0x28($t2) -/* 08F214 800F5D64 8FB90138 */ lw $t9, 0x138($sp) -/* 08F218 800F5D68 25420038 */ addiu $v0, $t2, 0x38 -/* 08F21C 800F5D6C AD59002C */ sw $t9, 0x2c($t2) -/* 08F220 800F5D70 AD620000 */ sw $v0, ($t3) -/* 08F224 800F5D74 3C02F508 */ lui $v0, 0xf508 -/* 08F228 800F5D78 00821025 */ or $v0, $a0, $v0 -/* 08F22C 800F5D7C 00E21025 */ or $v0, $a3, $v0 -/* 08F230 800F5D80 AD420030 */ sw $v0, 0x30($t2) -/* 08F234 800F5D84 8FAE0144 */ lw $t6, 0x144($sp) -/* 08F238 800F5D88 30A50FFF */ andi $a1, $a1, 0xfff -/* 08F23C 800F5D8C 000E4900 */ sll $t1, $t6, 4 -/* 08F240 800F5D90 01261025 */ or $v0, $t1, $a2 -/* 08F244 800F5D94 01021025 */ or $v0, $t0, $v0 -/* 08F248 800F5D98 AD420034 */ sw $v0, 0x34($t2) -/* 08F24C 800F5D9C 25420040 */ addiu $v0, $t2, 0x40 -/* 08F250 800F5DA0 AD620000 */ sw $v0, ($t3) -/* 08F254 800F5DA4 3C02E600 */ lui $v0, 0xe600 -/* 08F258 800F5DA8 AD420038 */ sw $v0, 0x38($t2) -/* 08F25C 800F5DAC 25420048 */ addiu $v0, $t2, 0x48 -/* 08F260 800F5DB0 AD40003C */ sw $zero, 0x3c($t2) -/* 08F264 800F5DB4 AD620000 */ sw $v0, ($t3) -/* 08F268 800F5DB8 3C02F400 */ lui $v0, 0xf400 -/* 08F26C 800F5DBC AD420040 */ sw $v0, 0x40($t2) -/* 08F270 800F5DC0 00031040 */ sll $v0, $v1, 1 -/* 08F274 800F5DC4 30420FFF */ andi $v0, $v0, 0xfff -/* 08F278 800F5DC8 00021300 */ sll $v0, $v0, 0xc -/* 08F27C 800F5DCC 00A63025 */ or $a2, $a1, $a2 -/* 08F280 800F5DD0 00461025 */ or $v0, $v0, $a2 -/* 08F284 800F5DD4 AD420044 */ sw $v0, 0x44($t2) -/* 08F288 800F5DD8 25420050 */ addiu $v0, $t2, 0x50 -/* 08F28C 800F5DDC AD620000 */ sw $v0, ($t3) -/* 08F290 800F5DE0 3C02E700 */ lui $v0, 0xe700 -/* 08F294 800F5DE4 AD420048 */ sw $v0, 0x48($t2) -/* 08F298 800F5DE8 25420058 */ addiu $v0, $t2, 0x58 -/* 08F29C 800F5DEC AD40004C */ sw $zero, 0x4c($t2) -/* 08F2A0 800F5DF0 AD620000 */ sw $v0, ($t3) -/* 08F2A4 800F5DF4 3C02F500 */ lui $v0, 0xf500 -/* 08F2A8 800F5DF8 00822025 */ or $a0, $a0, $v0 -/* 08F2AC 800F5DFC 00E43825 */ or $a3, $a3, $a0 -/* 08F2B0 800F5E00 01094025 */ or $t0, $t0, $t1 -/* 08F2B4 800F5E04 25420060 */ addiu $v0, $t2, 0x60 -/* 08F2B8 800F5E08 AD470050 */ sw $a3, 0x50($t2) -/* 08F2BC 800F5E0C AD480054 */ sw $t0, 0x54($t2) -/* 08F2C0 800F5E10 AD620000 */ sw $v0, ($t3) -/* 08F2C4 800F5E14 3C02F200 */ lui $v0, 0xf200 -/* 08F2C8 800F5E18 00031880 */ sll $v1, $v1, 2 -/* 08F2CC 800F5E1C 30630FFF */ andi $v1, $v1, 0xfff -/* 08F2D0 800F5E20 00031B00 */ sll $v1, $v1, 0xc -/* 08F2D4 800F5E24 00651825 */ or $v1, $v1, $a1 -/* 08F2D8 800F5E28 AD420058 */ sw $v0, 0x58($t2) -/* 08F2DC 800F5E2C 0803D80F */ j .L800F603C -/* 08F2E0 800F5E30 AD43005C */ sw $v1, 0x5c($t2) - -.L800F5E34: -/* 08F2E4 800F5E34 25420030 */ addiu $v0, $t2, 0x30 -/* 08F2E8 800F5E38 26A5FFFF */ addiu $a1, $s5, -1 -/* 08F2EC 800F5E3C AD620000 */ sw $v0, ($t3) -/* 08F2F0 800F5E40 30A20FFF */ andi $v0, $a1, 0xfff -/* 08F2F4 800F5E44 3C03FD08 */ lui $v1, 0xfd08 -/* 08F2F8 800F5E48 00431025 */ or $v0, $v0, $v1 -/* 08F2FC 800F5E4C 3C03F508 */ lui $v1, 0xf508 -/* 08F300 800F5E50 00163B80 */ sll $a3, $s6, 0xe -/* 08F304 800F5E54 3C040700 */ lui $a0, 0x700 -/* 08F308 800F5E58 00052880 */ sll $a1, $a1, 2 -/* 08F30C 800F5E5C 30A50FFF */ andi $a1, $a1, 0xfff -/* 08F310 800F5E60 8FAF0140 */ lw $t7, 0x140($sp) -/* 08F314 800F5E64 00052B00 */ sll $a1, $a1, 0xc -/* 08F318 800F5E68 31E60007 */ andi $a2, $t7, 7 -/* 08F31C 800F5E6C 00063540 */ sll $a2, $a2, 0x15 -/* 08F320 800F5E70 00C21025 */ or $v0, $a2, $v0 -/* 08F324 800F5E74 AD420028 */ sw $v0, 0x28($t2) -/* 08F328 800F5E78 8FB20138 */ lw $s2, 0x138($sp) -/* 08F32C 800F5E7C 25420038 */ addiu $v0, $t2, 0x38 -/* 08F330 800F5E80 AD52002C */ sw $s2, 0x2c($t2) -/* 08F334 800F5E84 AD620000 */ sw $v0, ($t3) -/* 08F338 800F5E88 26A20007 */ addiu $v0, $s5, 7 -/* 08F33C 800F5E8C 000210C2 */ srl $v0, $v0, 3 -/* 08F340 800F5E90 00021240 */ sll $v0, $v0, 9 -/* 08F344 800F5E94 00431025 */ or $v0, $v0, $v1 -/* 08F348 800F5E98 00C23025 */ or $a2, $a2, $v0 -/* 08F34C 800F5E9C 26E3FFFF */ addiu $v1, $s7, -1 -/* 08F350 800F5EA0 00031880 */ sll $v1, $v1, 2 -/* 08F354 800F5EA4 AD460030 */ sw $a2, 0x30($t2) -/* 08F358 800F5EA8 8FB90144 */ lw $t9, 0x144($sp) -/* 08F35C 800F5EAC 30630FFF */ andi $v1, $v1, 0xfff -/* 08F360 800F5EB0 0803D7F0 */ j .L800F5FC0 -/* 08F364 800F5EB4 00194100 */ sll $t0, $t9, 4 - -.L800F5EB8: -/* 08F368 800F5EB8 25420030 */ addiu $v0, $t2, 0x30 -/* 08F36C 800F5EBC 26A5FFFF */ addiu $a1, $s5, -1 -/* 08F370 800F5EC0 AD620000 */ sw $v0, ($t3) -/* 08F374 800F5EC4 30A20FFF */ andi $v0, $a1, 0xfff -/* 08F378 800F5EC8 3C03FD10 */ lui $v1, 0xfd10 -/* 08F37C 800F5ECC 00431025 */ or $v0, $v0, $v1 -/* 08F380 800F5ED0 3C03F510 */ lui $v1, 0xf510 -/* 08F384 800F5ED4 00163B80 */ sll $a3, $s6, 0xe -/* 08F388 800F5ED8 3C040700 */ lui $a0, 0x700 -/* 08F38C 800F5EDC 00052880 */ sll $a1, $a1, 2 -/* 08F390 800F5EE0 30A50FFF */ andi $a1, $a1, 0xfff -/* 08F394 800F5EE4 8FAE0140 */ lw $t6, 0x140($sp) -/* 08F398 800F5EE8 00052B00 */ sll $a1, $a1, 0xc -/* 08F39C 800F5EEC 31C60007 */ andi $a2, $t6, 7 -/* 08F3A0 800F5EF0 00063540 */ sll $a2, $a2, 0x15 -/* 08F3A4 800F5EF4 00C21025 */ or $v0, $a2, $v0 -/* 08F3A8 800F5EF8 AD420028 */ sw $v0, 0x28($t2) -/* 08F3AC 800F5EFC 8FAF0138 */ lw $t7, 0x138($sp) -/* 08F3B0 800F5F00 25420038 */ addiu $v0, $t2, 0x38 -/* 08F3B4 800F5F04 AD4F002C */ sw $t7, 0x2c($t2) -/* 08F3B8 800F5F08 AD620000 */ sw $v0, ($t3) -/* 08F3BC 800F5F0C 00151040 */ sll $v0, $s5, 1 -/* 08F3C0 800F5F10 24420007 */ addiu $v0, $v0, 7 -/* 08F3C4 800F5F14 000210C2 */ srl $v0, $v0, 3 -/* 08F3C8 800F5F18 00021240 */ sll $v0, $v0, 9 -/* 08F3CC 800F5F1C 00431025 */ or $v0, $v0, $v1 -/* 08F3D0 800F5F20 00C23025 */ or $a2, $a2, $v0 -/* 08F3D4 800F5F24 26E3FFFF */ addiu $v1, $s7, -1 -/* 08F3D8 800F5F28 00031880 */ sll $v1, $v1, 2 -/* 08F3DC 800F5F2C AD460030 */ sw $a2, 0x30($t2) -/* 08F3E0 800F5F30 8FB20144 */ lw $s2, 0x144($sp) -/* 08F3E4 800F5F34 30630FFF */ andi $v1, $v1, 0xfff -/* 08F3E8 800F5F38 0803D7F0 */ j .L800F5FC0 -/* 08F3EC 800F5F3C 00124100 */ sll $t0, $s2, 4 - -.L800F5F40: -/* 08F3F0 800F5F40 26A5FFFF */ addiu $a1, $s5, -1 -/* 08F3F4 800F5F44 AD620000 */ sw $v0, ($t3) -/* 08F3F8 800F5F48 30A20FFF */ andi $v0, $a1, 0xfff -/* 08F3FC 800F5F4C 3C03FD18 */ lui $v1, 0xfd18 -/* 08F400 800F5F50 00431025 */ or $v0, $v0, $v1 -/* 08F404 800F5F54 3C03F518 */ lui $v1, 0xf518 -/* 08F408 800F5F58 00163B80 */ sll $a3, $s6, 0xe -/* 08F40C 800F5F5C 3C040700 */ lui $a0, 0x700 -/* 08F410 800F5F60 00052880 */ sll $a1, $a1, 2 -/* 08F414 800F5F64 30A50FFF */ andi $a1, $a1, 0xfff -/* 08F418 800F5F68 8FB90140 */ lw $t9, 0x140($sp) -/* 08F41C 800F5F6C 00052B00 */ sll $a1, $a1, 0xc -/* 08F420 800F5F70 33260007 */ andi $a2, $t9, 7 -/* 08F424 800F5F74 00063540 */ sll $a2, $a2, 0x15 -/* 08F428 800F5F78 00C21025 */ or $v0, $a2, $v0 -/* 08F42C 800F5F7C AD420028 */ sw $v0, 0x28($t2) -/* 08F430 800F5F80 8FAE0138 */ lw $t6, 0x138($sp) -/* 08F434 800F5F84 25420038 */ addiu $v0, $t2, 0x38 -/* 08F438 800F5F88 AD4E002C */ sw $t6, 0x2c($t2) -/* 08F43C 800F5F8C AD620000 */ sw $v0, ($t3) -/* 08F440 800F5F90 00151040 */ sll $v0, $s5, 1 -/* 08F444 800F5F94 24420007 */ addiu $v0, $v0, 7 -/* 08F448 800F5F98 000210C2 */ srl $v0, $v0, 3 -/* 08F44C 800F5F9C 00021240 */ sll $v0, $v0, 9 -/* 08F450 800F5FA0 00431025 */ or $v0, $v0, $v1 -/* 08F454 800F5FA4 00C23025 */ or $a2, $a2, $v0 -/* 08F458 800F5FA8 26E3FFFF */ addiu $v1, $s7, -1 -/* 08F45C 800F5FAC 00031880 */ sll $v1, $v1, 2 -/* 08F460 800F5FB0 AD460030 */ sw $a2, 0x30($t2) -/* 08F464 800F5FB4 8FAF0144 */ lw $t7, 0x144($sp) -/* 08F468 800F5FB8 30630FFF */ andi $v1, $v1, 0xfff -/* 08F46C 800F5FBC 000F4100 */ sll $t0, $t7, 4 -.L800F5FC0: -/* 08F470 800F5FC0 01041025 */ or $v0, $t0, $a0 -/* 08F474 800F5FC4 00E21025 */ or $v0, $a3, $v0 -/* 08F478 800F5FC8 AD420034 */ sw $v0, 0x34($t2) -/* 08F47C 800F5FCC 25420040 */ addiu $v0, $t2, 0x40 -/* 08F480 800F5FD0 AD620000 */ sw $v0, ($t3) -/* 08F484 800F5FD4 3C02E600 */ lui $v0, 0xe600 -/* 08F488 800F5FD8 AD420038 */ sw $v0, 0x38($t2) -/* 08F48C 800F5FDC 25420048 */ addiu $v0, $t2, 0x48 -/* 08F490 800F5FE0 AD40003C */ sw $zero, 0x3c($t2) -/* 08F494 800F5FE4 AD620000 */ sw $v0, ($t3) -/* 08F498 800F5FE8 3C02F400 */ lui $v0, 0xf400 -/* 08F49C 800F5FEC 00642025 */ or $a0, $v1, $a0 -/* 08F4A0 800F5FF0 00A42025 */ or $a0, $a1, $a0 -/* 08F4A4 800F5FF4 AD420040 */ sw $v0, 0x40($t2) -/* 08F4A8 800F5FF8 25420050 */ addiu $v0, $t2, 0x50 -/* 08F4AC 800F5FFC AD440044 */ sw $a0, 0x44($t2) -/* 08F4B0 800F6000 AD620000 */ sw $v0, ($t3) -/* 08F4B4 800F6004 3C02E700 */ lui $v0, 0xe700 -/* 08F4B8 800F6008 AD420048 */ sw $v0, 0x48($t2) -/* 08F4BC 800F600C 25420058 */ addiu $v0, $t2, 0x58 -/* 08F4C0 800F6010 00E83825 */ or $a3, $a3, $t0 -/* 08F4C4 800F6014 AD40004C */ sw $zero, 0x4c($t2) -/* 08F4C8 800F6018 AD620000 */ sw $v0, ($t3) -/* 08F4CC 800F601C 25420060 */ addiu $v0, $t2, 0x60 -/* 08F4D0 800F6020 AD460050 */ sw $a2, 0x50($t2) -/* 08F4D4 800F6024 AD470054 */ sw $a3, 0x54($t2) -/* 08F4D8 800F6028 AD620000 */ sw $v0, ($t3) -/* 08F4DC 800F602C 3C02F200 */ lui $v0, 0xf200 -/* 08F4E0 800F6030 00A32825 */ or $a1, $a1, $v1 -/* 08F4E4 800F6034 AD420058 */ sw $v0, 0x58($t2) -/* 08F4E8 800F6038 AD45005C */ sw $a1, 0x5c($t2) -.L800F603C: -/* 08F4EC 800F603C 8FB201F0 */ lw $s2, 0x1f0($sp) -/* 08F4F0 800F6040 32420002 */ andi $v0, $s2, 2 -/* 08F4F4 800F6044 1040002E */ beqz $v0, .L800F6100 -/* 08F4F8 800F6048 240801FF */ addiu $t0, $zero, 0x1ff -/* 08F4FC 800F604C 3C04800A */ lui $a0, 0x800a -/* 08F500 800F6050 2484A66C */ addiu $a0, $a0, -0x5994 -/* 08F504 800F6054 3C06F200 */ lui $a2, 0xf200 -/* 08F508 800F6058 8C820000 */ lw $v0, ($a0) -/* 08F50C 800F605C 3C038007 */ lui $v1, 0x8007 -/* 08F510 800F6060 8C63419C */ lw $v1, 0x419c($v1) -/* 08F514 800F6064 0040482D */ daddu $t1, $v0, $zero -/* 08F518 800F6068 94670134 */ lhu $a3, 0x134($v1) -/* 08F51C 800F606C 24420008 */ addiu $v0, $v0, 8 -/* 08F520 800F6070 AC820000 */ sw $v0, ($a0) -/* 08F524 800F6074 8FB90204 */ lw $t9, 0x204($sp) -/* 08F528 800F6078 8FAE0208 */ lw $t6, 0x208($sp) -/* 08F52C 800F607C 00073880 */ sll $a3, $a3, 2 -/* 08F530 800F6080 30E701FF */ andi $a3, $a3, 0x1ff -/* 08F534 800F6084 01074023 */ subu $t0, $t0, $a3 -/* 08F538 800F6088 001927C2 */ srl $a0, $t9, 0x1f -/* 08F53C 800F608C 03242021 */ addu $a0, $t9, $a0 -/* 08F540 800F6090 00042043 */ sra $a0, $a0, 1 -/* 08F544 800F6094 00042880 */ sll $a1, $a0, 2 -/* 08F548 800F6098 00A82821 */ addu $a1, $a1, $t0 -/* 08F54C 800F609C 30A50FFF */ andi $a1, $a1, 0xfff -/* 08F550 800F60A0 00052B00 */ sll $a1, $a1, 0xc -/* 08F554 800F60A4 000E1FC2 */ srl $v1, $t6, 0x1f -/* 08F558 800F60A8 01C31821 */ addu $v1, $t6, $v1 -/* 08F55C 800F60AC 00031843 */ sra $v1, $v1, 1 -/* 08F560 800F60B0 00031080 */ sll $v0, $v1, 2 -/* 08F564 800F60B4 00471021 */ addu $v0, $v0, $a3 -/* 08F568 800F60B8 30420FFF */ andi $v0, $v0, 0xfff -/* 08F56C 800F60BC 00461025 */ or $v0, $v0, $a2 -/* 08F570 800F60C0 00A22825 */ or $a1, $a1, $v0 -/* 08F574 800F60C4 00952021 */ addu $a0, $a0, $s5 -/* 08F578 800F60C8 2484FFFF */ addiu $a0, $a0, -1 -/* 08F57C 800F60CC 00042080 */ sll $a0, $a0, 2 -/* 08F580 800F60D0 00882021 */ addu $a0, $a0, $t0 -/* 08F584 800F60D4 30840FFF */ andi $a0, $a0, 0xfff -/* 08F588 800F60D8 00042300 */ sll $a0, $a0, 0xc -/* 08F58C 800F60DC 00771821 */ addu $v1, $v1, $s7 -/* 08F590 800F60E0 2463FFFF */ addiu $v1, $v1, -1 -/* 08F594 800F60E4 00031880 */ sll $v1, $v1, 2 -/* 08F598 800F60E8 00671821 */ addu $v1, $v1, $a3 -/* 08F59C 800F60EC 30630FFF */ andi $v1, $v1, 0xfff -/* 08F5A0 800F60F0 00832025 */ or $a0, $a0, $v1 -/* 08F5A4 800F60F4 AD250000 */ sw $a1, ($t1) -/* 08F5A8 800F60F8 0803D862 */ j .L800F6188 -/* 08F5AC 800F60FC AD240004 */ sw $a0, 4($t1) - -.L800F6100: -/* 08F5B0 800F6100 3C03800A */ lui $v1, 0x800a -/* 08F5B4 800F6104 2463A66C */ addiu $v1, $v1, -0x5994 -/* 08F5B8 800F6108 8C620000 */ lw $v0, ($v1) -/* 08F5BC 800F610C 3C06F200 */ lui $a2, 0xf200 -/* 08F5C0 800F6110 0040382D */ daddu $a3, $v0, $zero -/* 08F5C4 800F6114 24420008 */ addiu $v0, $v0, 8 -/* 08F5C8 800F6118 AC620000 */ sw $v0, ($v1) -/* 08F5CC 800F611C 8FAF0204 */ lw $t7, 0x204($sp) -/* 08F5D0 800F6120 8FB20208 */ lw $s2, 0x208($sp) -/* 08F5D4 800F6124 000F17C2 */ srl $v0, $t7, 0x1f -/* 08F5D8 800F6128 01E21021 */ addu $v0, $t7, $v0 -/* 08F5DC 800F612C 00021043 */ sra $v0, $v0, 1 -/* 08F5E0 800F6130 00022880 */ sll $a1, $v0, 2 -/* 08F5E4 800F6134 30A50FFF */ andi $a1, $a1, 0xfff -/* 08F5E8 800F6138 00052B00 */ sll $a1, $a1, 0xc -/* 08F5EC 800F613C 001227C2 */ srl $a0, $s2, 0x1f -/* 08F5F0 800F6140 02442021 */ addu $a0, $s2, $a0 -/* 08F5F4 800F6144 00042043 */ sra $a0, $a0, 1 -/* 08F5F8 800F6148 00041880 */ sll $v1, $a0, 2 -/* 08F5FC 800F614C 30630FFF */ andi $v1, $v1, 0xfff -/* 08F600 800F6150 00661825 */ or $v1, $v1, $a2 -/* 08F604 800F6154 00A32825 */ or $a1, $a1, $v1 -/* 08F608 800F6158 00551021 */ addu $v0, $v0, $s5 -/* 08F60C 800F615C 2442FFFF */ addiu $v0, $v0, -1 -/* 08F610 800F6160 00021080 */ sll $v0, $v0, 2 -/* 08F614 800F6164 30420FFF */ andi $v0, $v0, 0xfff -/* 08F618 800F6168 00021300 */ sll $v0, $v0, 0xc -/* 08F61C 800F616C 00972021 */ addu $a0, $a0, $s7 -/* 08F620 800F6170 2484FFFF */ addiu $a0, $a0, -1 -/* 08F624 800F6174 00042080 */ sll $a0, $a0, 2 -/* 08F628 800F6178 30840FFF */ andi $a0, $a0, 0xfff -/* 08F62C 800F617C 00441025 */ or $v0, $v0, $a0 -/* 08F630 800F6180 ACE50000 */ sw $a1, ($a3) -/* 08F634 800F6184 ACE20004 */ sw $v0, 4($a3) -.L800F6188: -/* 08F638 800F6188 8FB9013C */ lw $t9, 0x13c($sp) -/* 08F63C 800F618C 132003C4 */ beqz $t9, .L800F70A0 -/* 08F640 800F6190 0000682D */ daddu $t5, $zero, $zero -/* 08F644 800F6194 3C0C800A */ lui $t4, 0x800a -/* 08F648 800F6198 258CA66C */ addiu $t4, $t4, -0x5994 -/* 08F64C 800F619C 240F01FF */ addiu $t7, $zero, 0x1ff -/* 08F650 800F61A0 31F40100 */ andi $s4, $t7, 0x100 -/* 08F654 800F61A4 3C120708 */ lui $s2, 0x708 -/* 08F658 800F61A8 36520200 */ ori $s2, $s2, 0x200 -/* 08F65C 800F61AC 8FAE014C */ lw $t6, 0x14c($sp) -/* 08F660 800F61B0 8FAF0208 */ lw $t7, 0x208($sp) -/* 08F664 800F61B4 3C190108 */ lui $t9, 0x108 -/* 08F668 800F61B8 AFB20158 */ sw $s2, 0x158($sp) -/* 08F66C 800F61BC 8FB201F8 */ lw $s2, 0x1f8($sp) -/* 08F670 800F61C0 37390200 */ ori $t9, $t9, 0x200 -/* 08F674 800F61C4 AFB9019C */ sw $t9, 0x19c($sp) -/* 08F678 800F61C8 31C20007 */ andi $v0, $t6, 7 -/* 08F67C 800F61CC 00028540 */ sll $s0, $v0, 0x15 -/* 08F680 800F61D0 8FAE0204 */ lw $t6, 0x204($sp) -/* 08F684 800F61D4 000FC023 */ negu $t8, $t7 -/* 08F688 800F61D8 25C2FFFF */ addiu $v0, $t6, -1 -/* 08F68C 800F61DC 00021080 */ sll $v0, $v0, 2 -/* 08F690 800F61E0 30420FFF */ andi $v0, $v0, 0xfff -/* 08F694 800F61E4 00021300 */ sll $v0, $v0, 0xc -/* 08F698 800F61E8 AFA2015C */ sw $v0, 0x15c($sp) -/* 08F69C 800F61EC 000E1023 */ negu $v0, $t6 -/* 08F6A0 800F61F0 00021FC2 */ srl $v1, $v0, 0x1f -/* 08F6A4 800F61F4 00431021 */ addu $v0, $v0, $v1 -/* 08F6A8 800F61F8 0002A843 */ sra $s5, $v0, 1 -/* 08F6AC 800F61FC 02AEB821 */ addu $s7, $s5, $t6 -/* 08F6B0 800F6200 000E1FC2 */ srl $v1, $t6, 0x1f -/* 08F6B4 800F6204 01C31821 */ addu $v1, $t6, $v1 -/* 08F6B8 800F6208 00031843 */ sra $v1, $v1, 1 -/* 08F6BC 800F620C 02431021 */ addu $v0, $s2, $v1 -/* 08F6C0 800F6210 00021480 */ sll $v0, $v0, 0x12 -/* 08F6C4 800F6214 00028C03 */ sra $s1, $v0, 0x10 -/* 08F6C8 800F6218 32390FFF */ andi $t9, $s1, 0xfff -/* 08F6CC 800F621C 00197300 */ sll $t6, $t9, 0xc -/* 08F6D0 800F6220 000F17C2 */ srl $v0, $t7, 0x1f -/* 08F6D4 800F6224 01E21021 */ addu $v0, $t7, $v0 -/* 08F6D8 800F6228 00029843 */ sra $s3, $v0, 1 -/* 08F6DC 800F622C 00119280 */ sll $s2, $s1, 0xa -/* 08F6E0 800F6230 8FAF01FC */ lw $t7, 0x1fc($sp) -/* 08F6E4 800F6234 00031940 */ sll $v1, $v1, 5 -/* 08F6E8 800F6238 AFB90160 */ sw $t9, 0x160($sp) -/* 08F6EC 800F623C 3079FFFF */ andi $t9, $v1, 0xffff -/* 08F6F0 800F6240 AFAE0164 */ sw $t6, 0x164($sp) -/* 08F6F4 800F6244 AFB2016C */ sw $s2, 0x16c($sp) -/* 08F6F8 800F6248 AFA301A4 */ sw $v1, 0x1a4($sp) -/* 08F6FC 800F624C AFB90170 */ sw $t9, 0x170($sp) -/* 08F700 800F6250 01F37821 */ addu $t7, $t7, $s3 -/* 08F704 800F6254 000F1480 */ sll $v0, $t7, 0x12 -/* 08F708 800F6258 00021403 */ sra $v0, $v0, 0x10 -/* 08F70C 800F625C 30560FFF */ andi $s6, $v0, 0xfff -/* 08F710 800F6260 00027280 */ sll $t6, $v0, 0xa -/* 08F714 800F6264 AFAF0168 */ sw $t7, 0x168($sp) -/* 08F718 800F6268 00137940 */ sll $t7, $s3, 5 -/* 08F71C 800F626C 31F2FFFF */ andi $s2, $t7, 0xffff -/* 08F720 800F6270 AFA201A0 */ sw $v0, 0x1a0($sp) -/* 08F724 800F6274 AFAE0174 */ sw $t6, 0x174($sp) -/* 08F728 800F6278 AFAF01A8 */ sw $t7, 0x1a8($sp) -/* 08F72C 800F627C AFB20178 */ sw $s2, 0x178($sp) -.L800F6280: -/* 08F730 800F6280 8FB90148 */ lw $t9, 0x148($sp) -/* 08F734 800F6284 000D1040 */ sll $v0, $t5, 1 -/* 08F738 800F6288 00591021 */ addu $v0, $v0, $t9 -/* 08F73C 800F628C 904A0000 */ lbu $t2, ($v0) -/* 08F740 800F6290 904B0001 */ lbu $t3, 1($v0) -/* 08F744 800F6294 2D430002 */ sltiu $v1, $t2, 2 -/* 08F748 800F6298 1460001D */ bnez $v1, .L800F6310 -/* 08F74C 800F629C 0000382D */ daddu $a3, $zero, $zero -/* 08F750 800F62A0 2D420003 */ sltiu $v0, $t2, 3 -/* 08F754 800F62A4 1440001A */ bnez $v0, .L800F6310 -/* 08F758 800F62A8 24070001 */ addiu $a3, $zero, 1 -/* 08F75C 800F62AC 2D420005 */ sltiu $v0, $t2, 5 -/* 08F760 800F62B0 14400017 */ bnez $v0, .L800F6310 -/* 08F764 800F62B4 24070002 */ addiu $a3, $zero, 2 -/* 08F768 800F62B8 2D420009 */ sltiu $v0, $t2, 9 -/* 08F76C 800F62BC 14400014 */ bnez $v0, .L800F6310 -/* 08F770 800F62C0 24070003 */ addiu $a3, $zero, 3 -/* 08F774 800F62C4 2D420011 */ sltiu $v0, $t2, 0x11 -/* 08F778 800F62C8 14400011 */ bnez $v0, .L800F6310 -/* 08F77C 800F62CC 24070004 */ addiu $a3, $zero, 4 -/* 08F780 800F62D0 2D420021 */ sltiu $v0, $t2, 0x21 -/* 08F784 800F62D4 1440000E */ bnez $v0, .L800F6310 -/* 08F788 800F62D8 24070005 */ addiu $a3, $zero, 5 -/* 08F78C 800F62DC 2D420041 */ sltiu $v0, $t2, 0x41 -/* 08F790 800F62E0 1440000B */ bnez $v0, .L800F6310 -/* 08F794 800F62E4 24070006 */ addiu $a3, $zero, 6 -/* 08F798 800F62E8 2D420081 */ sltiu $v0, $t2, 0x81 -/* 08F79C 800F62EC 14400008 */ bnez $v0, .L800F6310 -/* 08F7A0 800F62F0 24070007 */ addiu $a3, $zero, 7 -/* 08F7A4 800F62F4 2D420101 */ sltiu $v0, $t2, 0x101 -/* 08F7A8 800F62F8 14400005 */ bnez $v0, .L800F6310 -/* 08F7AC 800F62FC 24070008 */ addiu $a3, $zero, 8 -/* 08F7B0 800F6300 2D420201 */ sltiu $v0, $t2, 0x201 -/* 08F7B4 800F6304 10400002 */ beqz $v0, .L800F6310 -/* 08F7B8 800F6308 2407000A */ addiu $a3, $zero, 0xa -/* 08F7BC 800F630C 24070009 */ addiu $a3, $zero, 9 -.L800F6310: -/* 08F7C0 800F6310 2D620002 */ sltiu $v0, $t3, 2 -/* 08F7C4 800F6314 1440001D */ bnez $v0, .L800F638C -/* 08F7C8 800F6318 0000402D */ daddu $t0, $zero, $zero -/* 08F7CC 800F631C 2D620003 */ sltiu $v0, $t3, 3 -/* 08F7D0 800F6320 1440001A */ bnez $v0, .L800F638C -/* 08F7D4 800F6324 24080001 */ addiu $t0, $zero, 1 -/* 08F7D8 800F6328 2D620005 */ sltiu $v0, $t3, 5 -/* 08F7DC 800F632C 14400017 */ bnez $v0, .L800F638C -/* 08F7E0 800F6330 24080002 */ addiu $t0, $zero, 2 -/* 08F7E4 800F6334 2D620009 */ sltiu $v0, $t3, 9 -/* 08F7E8 800F6338 14400014 */ bnez $v0, .L800F638C -/* 08F7EC 800F633C 24080003 */ addiu $t0, $zero, 3 -/* 08F7F0 800F6340 2D620011 */ sltiu $v0, $t3, 0x11 -/* 08F7F4 800F6344 14400011 */ bnez $v0, .L800F638C -/* 08F7F8 800F6348 24080004 */ addiu $t0, $zero, 4 -/* 08F7FC 800F634C 2D620021 */ sltiu $v0, $t3, 0x21 -/* 08F800 800F6350 1440000E */ bnez $v0, .L800F638C -/* 08F804 800F6354 24080005 */ addiu $t0, $zero, 5 -/* 08F808 800F6358 2D620041 */ sltiu $v0, $t3, 0x41 -/* 08F80C 800F635C 1440000B */ bnez $v0, .L800F638C -/* 08F810 800F6360 24080006 */ addiu $t0, $zero, 6 -/* 08F814 800F6364 2D620081 */ sltiu $v0, $t3, 0x81 -/* 08F818 800F6368 14400008 */ bnez $v0, .L800F638C -/* 08F81C 800F636C 24080007 */ addiu $t0, $zero, 7 -/* 08F820 800F6370 2D620101 */ sltiu $v0, $t3, 0x101 -/* 08F824 800F6374 14400005 */ bnez $v0, .L800F638C -/* 08F828 800F6378 24080008 */ addiu $t0, $zero, 8 -/* 08F82C 800F637C 2D620201 */ sltiu $v0, $t3, 0x201 -/* 08F830 800F6380 10400002 */ beqz $v0, .L800F638C -/* 08F834 800F6384 2408000A */ addiu $t0, $zero, 0xa -/* 08F838 800F6388 24080009 */ addiu $t0, $zero, 9 -.L800F638C: -/* 08F83C 800F638C 8FAE0150 */ lw $t6, 0x150($sp) -/* 08F840 800F6390 240F0001 */ addiu $t7, $zero, 1 -/* 08F844 800F6394 11CF005C */ beq $t6, $t7, .L800F6508 -/* 08F848 800F6398 2546FFFF */ addiu $a2, $t2, -1 -/* 08F84C 800F639C 11C00007 */ beqz $t6, .L800F63BC -/* 08F850 800F63A0 24120002 */ addiu $s2, $zero, 2 -/* 08F854 800F63A4 11D200A0 */ beq $t6, $s2, .L800F6628 -/* 08F858 800F63A8 24190003 */ addiu $t9, $zero, 3 -/* 08F85C 800F63AC 11D900E6 */ beq $t6, $t9, .L800F6748 -/* 08F860 800F63B0 240E0002 */ addiu $t6, $zero, 2 -/* 08F864 800F63B4 0803DA1C */ j .L800F6870 -/* 08F868 800F63B8 00000000 */ nop - -.L800F63BC: -/* 08F86C 800F63BC 000A2842 */ srl $a1, $t2, 1 -/* 08F870 800F63C0 24A2FFFF */ addiu $v0, $a1, -1 -/* 08F874 800F63C4 30420FFF */ andi $v0, $v0, 0xfff -/* 08F878 800F63C8 3C03FD08 */ lui $v1, 0xfd08 -/* 08F87C 800F63CC 00431025 */ or $v0, $v0, $v1 -/* 08F880 800F63D0 02021025 */ or $v0, $s0, $v0 -/* 08F884 800F63D4 24A50007 */ addiu $a1, $a1, 7 -/* 08F888 800F63D8 000528C2 */ srl $a1, $a1, 3 -/* 08F88C 800F63DC 00052A40 */ sll $a1, $a1, 9 -/* 08F890 800F63E0 00084B80 */ sll $t1, $t0, 0xe -/* 08F894 800F63E4 00074100 */ sll $t0, $a3, 4 -/* 08F898 800F63E8 2567FFFF */ addiu $a3, $t3, -1 -/* 08F89C 800F63EC 00073880 */ sll $a3, $a3, 2 -/* 08F8A0 800F63F0 30E70FFF */ andi $a3, $a3, 0xfff -/* 08F8A4 800F63F4 8D840000 */ lw $a0, ($t4) -/* 08F8A8 800F63F8 014B0018 */ mult $t2, $t3 -/* 08F8AC 800F63FC 0080302D */ daddu $a2, $a0, $zero -/* 08F8B0 800F6400 24840008 */ addiu $a0, $a0, 8 -/* 08F8B4 800F6404 AD840000 */ sw $a0, ($t4) -/* 08F8B8 800F6408 ACC20000 */ sw $v0, ($a2) -/* 08F8BC 800F640C 8FAE013C */ lw $t6, 0x13c($sp) -/* 08F8C0 800F6410 24820008 */ addiu $v0, $a0, 8 -/* 08F8C4 800F6414 ACCE0004 */ sw $t6, 4($a2) -/* 08F8C8 800F6418 AD820000 */ sw $v0, ($t4) -/* 08F8CC 800F641C 3C02F508 */ lui $v0, 0xf508 -/* 08F8D0 800F6420 00A21025 */ or $v0, $a1, $v0 -/* 08F8D4 800F6424 02021025 */ or $v0, $s0, $v0 -/* 08F8D8 800F6428 00541025 */ or $v0, $v0, $s4 -/* 08F8DC 800F642C 3C12E600 */ lui $s2, 0xe600 -/* 08F8E0 800F6430 3C19F400 */ lui $t9, 0xf400 -/* 08F8E4 800F6434 2546FFFF */ addiu $a2, $t2, -1 -/* 08F8E8 800F6438 3C0E0700 */ lui $t6, 0x700 -/* 08F8EC 800F643C 00EE1825 */ or $v1, $a3, $t6 -/* 08F8F0 800F6440 3C0E0100 */ lui $t6, 0x100 -/* 08F8F4 800F6444 AC820000 */ sw $v0, ($a0) -/* 08F8F8 800F6448 8FAF0158 */ lw $t7, 0x158($sp) -/* 08F8FC 800F644C 00EE3825 */ or $a3, $a3, $t6 -/* 08F900 800F6450 010F1025 */ or $v0, $t0, $t7 -/* 08F904 800F6454 01221025 */ or $v0, $t1, $v0 -/* 08F908 800F6458 AC820004 */ sw $v0, 4($a0) -/* 08F90C 800F645C 24820010 */ addiu $v0, $a0, 0x10 -/* 08F910 800F6460 AD820000 */ sw $v0, ($t4) -/* 08F914 800F6464 24820018 */ addiu $v0, $a0, 0x18 -/* 08F918 800F6468 AC920008 */ sw $s2, 8($a0) -/* 08F91C 800F646C AC80000C */ sw $zero, 0xc($a0) -/* 08F920 800F6470 AD820000 */ sw $v0, ($t4) -/* 08F924 800F6474 00061040 */ sll $v0, $a2, 1 -/* 08F928 800F6478 30420FFF */ andi $v0, $v0, 0xfff -/* 08F92C 800F647C 00021300 */ sll $v0, $v0, 0xc -/* 08F930 800F6480 00431025 */ or $v0, $v0, $v1 -/* 08F934 800F6484 AC820014 */ sw $v0, 0x14($a0) -/* 08F938 800F6488 24820020 */ addiu $v0, $a0, 0x20 -/* 08F93C 800F648C 3C0FE700 */ lui $t7, 0xe700 -/* 08F940 800F6490 AC990010 */ sw $t9, 0x10($a0) -/* 08F944 800F6494 AD820000 */ sw $v0, ($t4) -/* 08F948 800F6498 24820028 */ addiu $v0, $a0, 0x28 -/* 08F94C 800F649C AC8F0018 */ sw $t7, 0x18($a0) -/* 08F950 800F64A0 AC80001C */ sw $zero, 0x1c($a0) -/* 08F954 800F64A4 AD820000 */ sw $v0, ($t4) -/* 08F958 800F64A8 3C02F500 */ lui $v0, 0xf500 -/* 08F95C 800F64AC 00A22825 */ or $a1, $a1, $v0 -/* 08F960 800F64B0 02052825 */ or $a1, $s0, $a1 -/* 08F964 800F64B4 00B42825 */ or $a1, $a1, $s4 -/* 08F968 800F64B8 24820030 */ addiu $v0, $a0, 0x30 -/* 08F96C 800F64BC 3C19F200 */ lui $t9, 0xf200 -/* 08F970 800F64C0 00063080 */ sll $a2, $a2, 2 -/* 08F974 800F64C4 30C60FFF */ andi $a2, $a2, 0xfff -/* 08F978 800F64C8 00063300 */ sll $a2, $a2, 0xc -/* 08F97C 800F64CC AC850020 */ sw $a1, 0x20($a0) -/* 08F980 800F64D0 8FB2019C */ lw $s2, 0x19c($sp) -/* 08F984 800F64D4 00C73025 */ or $a2, $a2, $a3 -/* 08F988 800F64D8 01124025 */ or $t0, $t0, $s2 -/* 08F98C 800F64DC 01284825 */ or $t1, $t1, $t0 -/* 08F990 800F64E0 00007812 */ mflo $t7 -/* 08F994 800F64E4 AC890024 */ sw $t1, 0x24($a0) -/* 08F998 800F64E8 AD820000 */ sw $v0, ($t4) -/* 08F99C 800F64EC AC990028 */ sw $t9, 0x28($a0) -/* 08F9A0 800F64F0 AC86002C */ sw $a2, 0x2c($a0) -/* 08F9A4 800F64F4 8FB2013C */ lw $s2, 0x13c($sp) -/* 08F9A8 800F64F8 000F1042 */ srl $v0, $t7, 1 -/* 08F9AC 800F64FC 02429021 */ addu $s2, $s2, $v0 -/* 08F9B0 800F6500 0803DA1B */ j .L800F686C -/* 08F9B4 800F6504 AFB2013C */ sw $s2, 0x13c($sp) - -.L800F6508: -/* 08F9B8 800F6508 30C20FFF */ andi $v0, $a2, 0xfff -/* 08F9BC 800F650C 3C03FD08 */ lui $v1, 0xfd08 -/* 08F9C0 800F6510 00431025 */ or $v0, $v0, $v1 -/* 08F9C4 800F6514 02021025 */ or $v0, $s0, $v0 -/* 08F9C8 800F6518 00084380 */ sll $t0, $t0, 0xe -/* 08F9CC 800F651C 00073900 */ sll $a3, $a3, 4 -/* 08F9D0 800F6520 00063080 */ sll $a2, $a2, 2 -/* 08F9D4 800F6524 30C60FFF */ andi $a2, $a2, 0xfff -/* 08F9D8 800F6528 00063300 */ sll $a2, $a2, 0xc -/* 08F9DC 800F652C 2563FFFF */ addiu $v1, $t3, -1 -/* 08F9E0 800F6530 00031880 */ sll $v1, $v1, 2 -/* 08F9E4 800F6534 30630FFF */ andi $v1, $v1, 0xfff -/* 08F9E8 800F6538 8D840000 */ lw $a0, ($t4) -/* 08F9EC 800F653C 014B0018 */ mult $t2, $t3 -/* 08F9F0 800F6540 0080282D */ daddu $a1, $a0, $zero -/* 08F9F4 800F6544 24840008 */ addiu $a0, $a0, 8 -/* 08F9F8 800F6548 AD840000 */ sw $a0, ($t4) -/* 08F9FC 800F654C ACA20000 */ sw $v0, ($a1) -/* 08FA00 800F6550 8FB9013C */ lw $t9, 0x13c($sp) -/* 08FA04 800F6554 24820008 */ addiu $v0, $a0, 8 -/* 08FA08 800F6558 ACB90004 */ sw $t9, 4($a1) -/* 08FA0C 800F655C 25450007 */ addiu $a1, $t2, 7 -/* 08FA10 800F6560 000528C2 */ srl $a1, $a1, 3 -/* 08FA14 800F6564 00052A40 */ sll $a1, $a1, 9 -/* 08FA18 800F6568 AD820000 */ sw $v0, ($t4) -/* 08FA1C 800F656C 3C02F508 */ lui $v0, 0xf508 -/* 08FA20 800F6570 00A22825 */ or $a1, $a1, $v0 -/* 08FA24 800F6574 02052825 */ or $a1, $s0, $a1 -/* 08FA28 800F6578 00B42825 */ or $a1, $a1, $s4 -/* 08FA2C 800F657C 3C0FE600 */ lui $t7, 0xe600 -/* 08FA30 800F6580 3C12F400 */ lui $s2, 0xf400 -/* 08FA34 800F6584 AC850000 */ sw $a1, ($a0) -/* 08FA38 800F6588 8FAE0158 */ lw $t6, 0x158($sp) -/* 08FA3C 800F658C 3C190700 */ lui $t9, 0x700 -/* 08FA40 800F6590 00EE1025 */ or $v0, $a3, $t6 -/* 08FA44 800F6594 01021025 */ or $v0, $t0, $v0 -/* 08FA48 800F6598 AC820004 */ sw $v0, 4($a0) -/* 08FA4C 800F659C 24820010 */ addiu $v0, $a0, 0x10 -/* 08FA50 800F65A0 AD820000 */ sw $v0, ($t4) -/* 08FA54 800F65A4 24820018 */ addiu $v0, $a0, 0x18 -/* 08FA58 800F65A8 AC8F0008 */ sw $t7, 8($a0) -/* 08FA5C 800F65AC AC80000C */ sw $zero, 0xc($a0) -/* 08FA60 800F65B0 AD820000 */ sw $v0, ($t4) -/* 08FA64 800F65B4 00791025 */ or $v0, $v1, $t9 -/* 08FA68 800F65B8 00C21025 */ or $v0, $a2, $v0 -/* 08FA6C 800F65BC AC820014 */ sw $v0, 0x14($a0) -/* 08FA70 800F65C0 24820020 */ addiu $v0, $a0, 0x20 -/* 08FA74 800F65C4 3C0EE700 */ lui $t6, 0xe700 -/* 08FA78 800F65C8 AC920010 */ sw $s2, 0x10($a0) -/* 08FA7C 800F65CC AD820000 */ sw $v0, ($t4) -/* 08FA80 800F65D0 24820028 */ addiu $v0, $a0, 0x28 -/* 08FA84 800F65D4 AC8E0018 */ sw $t6, 0x18($a0) -/* 08FA88 800F65D8 AC80001C */ sw $zero, 0x1c($a0) -/* 08FA8C 800F65DC AD820000 */ sw $v0, ($t4) -/* 08FA90 800F65E0 24820030 */ addiu $v0, $a0, 0x30 -/* 08FA94 800F65E4 AC850020 */ sw $a1, 0x20($a0) -/* 08FA98 800F65E8 8FAF019C */ lw $t7, 0x19c($sp) -/* 08FA9C 800F65EC 3C0EF200 */ lui $t6, 0xf200 -/* 08FAA0 800F65F0 00EF3825 */ or $a3, $a3, $t7 -/* 08FAA4 800F65F4 01074025 */ or $t0, $t0, $a3 -/* 08FAA8 800F65F8 3C0F0100 */ lui $t7, 0x100 -/* 08FAAC 800F65FC 006F1825 */ or $v1, $v1, $t7 -/* 08FAB0 800F6600 00C33025 */ or $a2, $a2, $v1 -/* 08FAB4 800F6604 AC880024 */ sw $t0, 0x24($a0) -/* 08FAB8 800F6608 AD820000 */ sw $v0, ($t4) -/* 08FABC 800F660C AC8E0028 */ sw $t6, 0x28($a0) -/* 08FAC0 800F6610 AC86002C */ sw $a2, 0x2c($a0) -/* 08FAC4 800F6614 8FB2013C */ lw $s2, 0x13c($sp) -/* 08FAC8 800F6618 0000C812 */ mflo $t9 -/* 08FACC 800F661C 02599021 */ addu $s2, $s2, $t9 -/* 08FAD0 800F6620 0803DA1B */ j .L800F686C -/* 08FAD4 800F6624 AFB2013C */ sw $s2, 0x13c($sp) - -.L800F6628: -/* 08FAD8 800F6628 30C20FFF */ andi $v0, $a2, 0xfff -/* 08FADC 800F662C 3C03FD10 */ lui $v1, 0xfd10 -/* 08FAE0 800F6630 00431025 */ or $v0, $v0, $v1 -/* 08FAE4 800F6634 02021025 */ or $v0, $s0, $v0 -/* 08FAE8 800F6638 00084380 */ sll $t0, $t0, 0xe -/* 08FAEC 800F663C 00073900 */ sll $a3, $a3, 4 -/* 08FAF0 800F6640 00063080 */ sll $a2, $a2, 2 -/* 08FAF4 800F6644 30C60FFF */ andi $a2, $a2, 0xfff -/* 08FAF8 800F6648 00063300 */ sll $a2, $a2, 0xc -/* 08FAFC 800F664C 2563FFFF */ addiu $v1, $t3, -1 -/* 08FB00 800F6650 00031880 */ sll $v1, $v1, 2 -/* 08FB04 800F6654 30630FFF */ andi $v1, $v1, 0xfff -/* 08FB08 800F6658 8D840000 */ lw $a0, ($t4) -/* 08FB0C 800F665C 014B0018 */ mult $t2, $t3 -/* 08FB10 800F6660 0080282D */ daddu $a1, $a0, $zero -/* 08FB14 800F6664 24840008 */ addiu $a0, $a0, 8 -/* 08FB18 800F6668 AD840000 */ sw $a0, ($t4) -/* 08FB1C 800F666C ACA20000 */ sw $v0, ($a1) -/* 08FB20 800F6670 8FAE013C */ lw $t6, 0x13c($sp) -/* 08FB24 800F6674 24820008 */ addiu $v0, $a0, 8 -/* 08FB28 800F6678 ACAE0004 */ sw $t6, 4($a1) -/* 08FB2C 800F667C 000A2840 */ sll $a1, $t2, 1 -/* 08FB30 800F6680 24A50007 */ addiu $a1, $a1, 7 -/* 08FB34 800F6684 000528C2 */ srl $a1, $a1, 3 -/* 08FB38 800F6688 00052A40 */ sll $a1, $a1, 9 -/* 08FB3C 800F668C AD820000 */ sw $v0, ($t4) -/* 08FB40 800F6690 3C02F510 */ lui $v0, 0xf510 -/* 08FB44 800F6694 00A22825 */ or $a1, $a1, $v0 -/* 08FB48 800F6698 02052825 */ or $a1, $s0, $a1 -/* 08FB4C 800F669C 00B42825 */ or $a1, $a1, $s4 -/* 08FB50 800F66A0 3C12E600 */ lui $s2, 0xe600 -/* 08FB54 800F66A4 3C19F400 */ lui $t9, 0xf400 -/* 08FB58 800F66A8 AC850000 */ sw $a1, ($a0) -/* 08FB5C 800F66AC 8FAF0158 */ lw $t7, 0x158($sp) -/* 08FB60 800F66B0 3C0E0700 */ lui $t6, 0x700 -/* 08FB64 800F66B4 00EF1025 */ or $v0, $a3, $t7 -/* 08FB68 800F66B8 01021025 */ or $v0, $t0, $v0 -/* 08FB6C 800F66BC AC820004 */ sw $v0, 4($a0) -/* 08FB70 800F66C0 24820010 */ addiu $v0, $a0, 0x10 -/* 08FB74 800F66C4 AD820000 */ sw $v0, ($t4) -/* 08FB78 800F66C8 24820018 */ addiu $v0, $a0, 0x18 -/* 08FB7C 800F66CC AC920008 */ sw $s2, 8($a0) -/* 08FB80 800F66D0 AC80000C */ sw $zero, 0xc($a0) -/* 08FB84 800F66D4 AD820000 */ sw $v0, ($t4) -/* 08FB88 800F66D8 006E1025 */ or $v0, $v1, $t6 -/* 08FB8C 800F66DC 00C21025 */ or $v0, $a2, $v0 -/* 08FB90 800F66E0 AC820014 */ sw $v0, 0x14($a0) -/* 08FB94 800F66E4 24820020 */ addiu $v0, $a0, 0x20 -/* 08FB98 800F66E8 3C0FE700 */ lui $t7, 0xe700 -/* 08FB9C 800F66EC AC990010 */ sw $t9, 0x10($a0) -/* 08FBA0 800F66F0 AD820000 */ sw $v0, ($t4) -/* 08FBA4 800F66F4 24820028 */ addiu $v0, $a0, 0x28 -/* 08FBA8 800F66F8 AC8F0018 */ sw $t7, 0x18($a0) -/* 08FBAC 800F66FC AC80001C */ sw $zero, 0x1c($a0) -/* 08FBB0 800F6700 AD820000 */ sw $v0, ($t4) -/* 08FBB4 800F6704 24820030 */ addiu $v0, $a0, 0x30 -/* 08FBB8 800F6708 3C0EF200 */ lui $t6, 0xf200 -/* 08FBBC 800F670C 3C0F0100 */ lui $t7, 0x100 -/* 08FBC0 800F6710 006F1825 */ or $v1, $v1, $t7 -/* 08FBC4 800F6714 AC850020 */ sw $a1, 0x20($a0) -/* 08FBC8 800F6718 8FB2019C */ lw $s2, 0x19c($sp) -/* 08FBCC 800F671C 00C33025 */ or $a2, $a2, $v1 -/* 08FBD0 800F6720 00F23825 */ or $a3, $a3, $s2 -/* 08FBD4 800F6724 01074025 */ or $t0, $t0, $a3 -/* 08FBD8 800F6728 00009012 */ mflo $s2 -/* 08FBDC 800F672C AC880024 */ sw $t0, 0x24($a0) -/* 08FBE0 800F6730 AD820000 */ sw $v0, ($t4) -/* 08FBE4 800F6734 AC8E0028 */ sw $t6, 0x28($a0) -/* 08FBE8 800F6738 AC86002C */ sw $a2, 0x2c($a0) -/* 08FBEC 800F673C 8FB9013C */ lw $t9, 0x13c($sp) -/* 08FBF0 800F6740 0803DA19 */ j .L800F6864 -/* 08FBF4 800F6744 00121040 */ sll $v0, $s2, 1 - -.L800F6748: -/* 08FBF8 800F6748 30C20FFF */ andi $v0, $a2, 0xfff -/* 08FBFC 800F674C 3C03FD18 */ lui $v1, 0xfd18 -/* 08FC00 800F6750 00431025 */ or $v0, $v0, $v1 -/* 08FC04 800F6754 02021025 */ or $v0, $s0, $v0 -/* 08FC08 800F6758 00084380 */ sll $t0, $t0, 0xe -/* 08FC0C 800F675C 00073900 */ sll $a3, $a3, 4 -/* 08FC10 800F6760 00063080 */ sll $a2, $a2, 2 -/* 08FC14 800F6764 30C60FFF */ andi $a2, $a2, 0xfff -/* 08FC18 800F6768 00063300 */ sll $a2, $a2, 0xc -/* 08FC1C 800F676C 2563FFFF */ addiu $v1, $t3, -1 -/* 08FC20 800F6770 00031880 */ sll $v1, $v1, 2 -/* 08FC24 800F6774 30630FFF */ andi $v1, $v1, 0xfff -/* 08FC28 800F6778 8D840000 */ lw $a0, ($t4) -/* 08FC2C 800F677C 014B0018 */ mult $t2, $t3 -/* 08FC30 800F6780 0080282D */ daddu $a1, $a0, $zero -/* 08FC34 800F6784 24840008 */ addiu $a0, $a0, 8 -/* 08FC38 800F6788 AD840000 */ sw $a0, ($t4) -/* 08FC3C 800F678C ACA20000 */ sw $v0, ($a1) -/* 08FC40 800F6790 8FAE013C */ lw $t6, 0x13c($sp) -/* 08FC44 800F6794 24820008 */ addiu $v0, $a0, 8 -/* 08FC48 800F6798 ACAE0004 */ sw $t6, 4($a1) -/* 08FC4C 800F679C 000A2840 */ sll $a1, $t2, 1 -/* 08FC50 800F67A0 24A50007 */ addiu $a1, $a1, 7 -/* 08FC54 800F67A4 000528C2 */ srl $a1, $a1, 3 -/* 08FC58 800F67A8 00052A40 */ sll $a1, $a1, 9 -/* 08FC5C 800F67AC AD820000 */ sw $v0, ($t4) -/* 08FC60 800F67B0 3C02F518 */ lui $v0, 0xf518 -/* 08FC64 800F67B4 00A22825 */ or $a1, $a1, $v0 -/* 08FC68 800F67B8 02052825 */ or $a1, $s0, $a1 -/* 08FC6C 800F67BC 00B42825 */ or $a1, $a1, $s4 -/* 08FC70 800F67C0 3C12E600 */ lui $s2, 0xe600 -/* 08FC74 800F67C4 3C19F400 */ lui $t9, 0xf400 -/* 08FC78 800F67C8 AC850000 */ sw $a1, ($a0) -/* 08FC7C 800F67CC 8FAF0158 */ lw $t7, 0x158($sp) -/* 08FC80 800F67D0 3C0E0700 */ lui $t6, 0x700 -/* 08FC84 800F67D4 00EF1025 */ or $v0, $a3, $t7 -/* 08FC88 800F67D8 01021025 */ or $v0, $t0, $v0 -/* 08FC8C 800F67DC AC820004 */ sw $v0, 4($a0) -/* 08FC90 800F67E0 24820010 */ addiu $v0, $a0, 0x10 -/* 08FC94 800F67E4 AD820000 */ sw $v0, ($t4) -/* 08FC98 800F67E8 24820018 */ addiu $v0, $a0, 0x18 -/* 08FC9C 800F67EC AC920008 */ sw $s2, 8($a0) -/* 08FCA0 800F67F0 AC80000C */ sw $zero, 0xc($a0) -/* 08FCA4 800F67F4 AD820000 */ sw $v0, ($t4) -/* 08FCA8 800F67F8 006E1025 */ or $v0, $v1, $t6 -/* 08FCAC 800F67FC 00C21025 */ or $v0, $a2, $v0 -/* 08FCB0 800F6800 AC820014 */ sw $v0, 0x14($a0) -/* 08FCB4 800F6804 24820020 */ addiu $v0, $a0, 0x20 -/* 08FCB8 800F6808 3C0FE700 */ lui $t7, 0xe700 -/* 08FCBC 800F680C AC990010 */ sw $t9, 0x10($a0) -/* 08FCC0 800F6810 AD820000 */ sw $v0, ($t4) -/* 08FCC4 800F6814 24820028 */ addiu $v0, $a0, 0x28 -/* 08FCC8 800F6818 AC8F0018 */ sw $t7, 0x18($a0) -/* 08FCCC 800F681C AC80001C */ sw $zero, 0x1c($a0) -/* 08FCD0 800F6820 AD820000 */ sw $v0, ($t4) -/* 08FCD4 800F6824 24820030 */ addiu $v0, $a0, 0x30 -/* 08FCD8 800F6828 3C0EF200 */ lui $t6, 0xf200 -/* 08FCDC 800F682C 3C0F0100 */ lui $t7, 0x100 -/* 08FCE0 800F6830 006F1825 */ or $v1, $v1, $t7 -/* 08FCE4 800F6834 AC850020 */ sw $a1, 0x20($a0) -/* 08FCE8 800F6838 8FB2019C */ lw $s2, 0x19c($sp) -/* 08FCEC 800F683C 00C33025 */ or $a2, $a2, $v1 -/* 08FCF0 800F6840 00F23825 */ or $a3, $a3, $s2 -/* 08FCF4 800F6844 01074025 */ or $t0, $t0, $a3 -/* 08FCF8 800F6848 00009012 */ mflo $s2 -/* 08FCFC 800F684C AC880024 */ sw $t0, 0x24($a0) -/* 08FD00 800F6850 AD820000 */ sw $v0, ($t4) -/* 08FD04 800F6854 AC8E0028 */ sw $t6, 0x28($a0) -/* 08FD08 800F6858 AC86002C */ sw $a2, 0x2c($a0) -/* 08FD0C 800F685C 8FB9013C */ lw $t9, 0x13c($sp) -/* 08FD10 800F6860 00121080 */ sll $v0, $s2, 2 -.L800F6864: -/* 08FD14 800F6864 0322C821 */ addu $t9, $t9, $v0 -/* 08FD18 800F6868 AFB9013C */ sw $t9, 0x13c($sp) -.L800F686C: -/* 08FD1C 800F686C 240E0002 */ addiu $t6, $zero, 2 -.L800F6870: -/* 08FD20 800F6870 11AE0020 */ beq $t5, $t6, .L800F68F4 -/* 08FD24 800F6874 29A20003 */ slti $v0, $t5, 3 -/* 08FD28 800F6878 10400005 */ beqz $v0, .L800F6890 -/* 08FD2C 800F687C 240F0001 */ addiu $t7, $zero, 1 -/* 08FD30 800F6880 11AF0008 */ beq $t5, $t7, .L800F68A4 -/* 08FD34 800F6884 3C0EF200 */ lui $t6, 0xf200 -/* 08FD38 800F6888 0803DA6C */ j .L800F69B0 -/* 08FD3C 800F688C 00000000 */ nop - -.L800F6890: -/* 08FD40 800F6890 24120003 */ addiu $s2, $zero, 3 -/* 08FD44 800F6894 11B2002E */ beq $t5, $s2, .L800F6950 -/* 08FD48 800F6898 3C0EF200 */ lui $t6, 0xf200 -/* 08FD4C 800F689C 0803DA6C */ j .L800F69B0 -/* 08FD50 800F68A0 00000000 */ nop - -.L800F68A4: -/* 08FD54 800F68A4 8D820000 */ lw $v0, ($t4) -/* 08FD58 800F68A8 0040182D */ daddu $v1, $v0, $zero -/* 08FD5C 800F68AC 24420008 */ addiu $v0, $v0, 8 -/* 08FD60 800F68B0 AD820000 */ sw $v0, ($t4) -/* 08FD64 800F68B4 8FB90204 */ lw $t9, 0x204($sp) -/* 08FD68 800F68B8 3C0F0100 */ lui $t7, 0x100 -/* 08FD6C 800F68BC 032A1023 */ subu $v0, $t9, $t2 -/* 08FD70 800F68C0 00021080 */ sll $v0, $v0, 2 -/* 08FD74 800F68C4 30420FFF */ andi $v0, $v0, 0xfff -/* 08FD78 800F68C8 00021300 */ sll $v0, $v0, 0xc -/* 08FD7C 800F68CC 004E1025 */ or $v0, $v0, $t6 -/* 08FD80 800F68D0 AC620000 */ sw $v0, ($v1) -/* 08FD84 800F68D4 2562FFFF */ addiu $v0, $t3, -1 -/* 08FD88 800F68D8 00021080 */ sll $v0, $v0, 2 -/* 08FD8C 800F68DC 30420FFF */ andi $v0, $v0, 0xfff -/* 08FD90 800F68E0 8FB2015C */ lw $s2, 0x15c($sp) -/* 08FD94 800F68E4 004F1025 */ or $v0, $v0, $t7 -/* 08FD98 800F68E8 02421025 */ or $v0, $s2, $v0 -/* 08FD9C 800F68EC 0803DA6C */ j .L800F69B0 -/* 08FDA0 800F68F0 AC620004 */ sw $v0, 4($v1) - -.L800F68F4: -/* 08FDA4 800F68F4 3C0EF200 */ lui $t6, 0xf200 -/* 08FDA8 800F68F8 2543FFFF */ addiu $v1, $t2, -1 -/* 08FDAC 800F68FC 00031880 */ sll $v1, $v1, 2 -/* 08FDB0 800F6900 30630FFF */ andi $v1, $v1, 0xfff -/* 08FDB4 800F6904 8D820000 */ lw $v0, ($t4) -/* 08FDB8 800F6908 00031B00 */ sll $v1, $v1, 0xc -/* 08FDBC 800F690C 0040202D */ daddu $a0, $v0, $zero -/* 08FDC0 800F6910 24420008 */ addiu $v0, $v0, 8 -/* 08FDC4 800F6914 AD820000 */ sw $v0, ($t4) -/* 08FDC8 800F6918 8FB90208 */ lw $t9, 0x208($sp) -/* 08FDCC 800F691C 3C0F0100 */ lui $t7, 0x100 -/* 08FDD0 800F6920 032B1023 */ subu $v0, $t9, $t3 -/* 08FDD4 800F6924 00021080 */ sll $v0, $v0, 2 -/* 08FDD8 800F6928 30420FFF */ andi $v0, $v0, 0xfff -/* 08FDDC 800F692C 004E1025 */ or $v0, $v0, $t6 -/* 08FDE0 800F6930 AC820000 */ sw $v0, ($a0) -/* 08FDE4 800F6934 2722FFFF */ addiu $v0, $t9, -1 -/* 08FDE8 800F6938 00021080 */ sll $v0, $v0, 2 -/* 08FDEC 800F693C 30420FFF */ andi $v0, $v0, 0xfff -/* 08FDF0 800F6940 004F1025 */ or $v0, $v0, $t7 -/* 08FDF4 800F6944 00621825 */ or $v1, $v1, $v0 -/* 08FDF8 800F6948 0803DA6C */ j .L800F69B0 -/* 08FDFC 800F694C AC830004 */ sw $v1, 4($a0) - -.L800F6950: -/* 08FE00 800F6950 8D820000 */ lw $v0, ($t4) -/* 08FE04 800F6954 3C0F0100 */ lui $t7, 0x100 -/* 08FE08 800F6958 0040202D */ daddu $a0, $v0, $zero -/* 08FE0C 800F695C 24420008 */ addiu $v0, $v0, 8 -/* 08FE10 800F6960 AD820000 */ sw $v0, ($t4) -/* 08FE14 800F6964 8FB20204 */ lw $s2, 0x204($sp) -/* 08FE18 800F6968 8FB90208 */ lw $t9, 0x208($sp) -/* 08FE1C 800F696C 024A1823 */ subu $v1, $s2, $t2 -/* 08FE20 800F6970 00031880 */ sll $v1, $v1, 2 -/* 08FE24 800F6974 30630FFF */ andi $v1, $v1, 0xfff -/* 08FE28 800F6978 00031B00 */ sll $v1, $v1, 0xc -/* 08FE2C 800F697C 032B1023 */ subu $v0, $t9, $t3 -/* 08FE30 800F6980 00021080 */ sll $v0, $v0, 2 -/* 08FE34 800F6984 30420FFF */ andi $v0, $v0, 0xfff -/* 08FE38 800F6988 004E1025 */ or $v0, $v0, $t6 -/* 08FE3C 800F698C 00621825 */ or $v1, $v1, $v0 -/* 08FE40 800F6990 2722FFFF */ addiu $v0, $t9, -1 -/* 08FE44 800F6994 00021080 */ sll $v0, $v0, 2 -/* 08FE48 800F6998 30420FFF */ andi $v0, $v0, 0xfff -/* 08FE4C 800F699C AC830000 */ sw $v1, ($a0) -/* 08FE50 800F69A0 8FB2015C */ lw $s2, 0x15c($sp) -/* 08FE54 800F69A4 004F1025 */ or $v0, $v0, $t7 -/* 08FE58 800F69A8 02421025 */ or $v0, $s2, $v0 -/* 08FE5C 800F69AC AC820004 */ sw $v0, 4($a0) -.L800F69B0: -/* 08FE60 800F69B0 13C00093 */ beqz $fp, .L800F6C00 -/* 08FE64 800F69B4 24190001 */ addiu $t9, $zero, 1 -/* 08FE68 800F69B8 11B90029 */ beq $t5, $t9, .L800F6A60 -/* 08FE6C 800F69BC 29A20002 */ slti $v0, $t5, 2 -/* 08FE70 800F69C0 10400005 */ beqz $v0, .L800F69D8 -/* 08FE74 800F69C4 240E0002 */ addiu $t6, $zero, 2 -/* 08FE78 800F69C8 11A00009 */ beqz $t5, .L800F69F0 -/* 08FE7C 800F69CC 3C040100 */ lui $a0, 0x100 -/* 08FE80 800F69D0 0803DAF2 */ j .L800F6BC8 -/* 08FE84 800F69D4 34844008 */ ori $a0, $a0, 0x4008 - -.L800F69D8: -/* 08FE88 800F69D8 11AE0040 */ beq $t5, $t6, .L800F6ADC -/* 08FE8C 800F69DC 240F0003 */ addiu $t7, $zero, 3 -/* 08FE90 800F69E0 11AF005A */ beq $t5, $t7, .L800F6B4C -/* 08FE94 800F69E4 3C040100 */ lui $a0, 0x100 -/* 08FE98 800F69E8 0803DAF2 */ j .L800F6BC8 -/* 08FE9C 800F69EC 34844008 */ ori $a0, $a0, 0x4008 - -.L800F69F0: -/* 08FEA0 800F69F0 001817C2 */ srl $v0, $t8, 0x1f -/* 08FEA4 800F69F4 03021021 */ addu $v0, $t8, $v0 -/* 08FEA8 800F69F8 00021043 */ sra $v0, $v0, 1 -/* 08FEAC 800F69FC A7D50000 */ sh $s5, ($fp) -/* 08FEB0 800F6A00 A7C20002 */ sh $v0, 2($fp) -/* 08FEB4 800F6A04 A7C00004 */ sh $zero, 4($fp) -/* 08FEB8 800F6A08 A7C00010 */ sh $zero, 0x10($fp) -/* 08FEBC 800F6A0C A7C20012 */ sh $v0, 0x12($fp) -/* 08FEC0 800F6A10 A7C00014 */ sh $zero, 0x14($fp) -/* 08FEC4 800F6A14 A7D50020 */ sh $s5, 0x20($fp) -/* 08FEC8 800F6A18 A7C00022 */ sh $zero, 0x22($fp) -/* 08FECC 800F6A1C A7C00024 */ sh $zero, 0x24($fp) -/* 08FED0 800F6A20 A7C00030 */ sh $zero, 0x30($fp) -/* 08FED4 800F6A24 A7C00032 */ sh $zero, 0x32($fp) -/* 08FED8 800F6A28 A7C00034 */ sh $zero, 0x34($fp) -/* 08FEDC 800F6A2C A7C00008 */ sh $zero, 8($fp) -/* 08FEE0 800F6A30 A7C0000A */ sh $zero, 0xa($fp) -/* 08FEE4 800F6A34 97B201A6 */ lhu $s2, 0x1a6($sp) -/* 08FEE8 800F6A38 A7C0001A */ sh $zero, 0x1a($fp) -/* 08FEEC 800F6A3C A7C00028 */ sh $zero, 0x28($fp) -/* 08FEF0 800F6A40 A7D20018 */ sh $s2, 0x18($fp) -/* 08FEF4 800F6A44 97B901AA */ lhu $t9, 0x1aa($sp) -/* 08FEF8 800F6A48 A7D9002A */ sh $t9, 0x2a($fp) -/* 08FEFC 800F6A4C 97AE01A6 */ lhu $t6, 0x1a6($sp) -/* 08FF00 800F6A50 A7CE0038 */ sh $t6, 0x38($fp) -/* 08FF04 800F6A54 97AF01AA */ lhu $t7, 0x1aa($sp) -/* 08FF08 800F6A58 0803DAF0 */ j .L800F6BC0 -/* 08FF0C 800F6A5C A7CF003A */ sh $t7, 0x3a($fp) - -.L800F6A60: -/* 08FF10 800F6A60 001817C2 */ srl $v0, $t8, 0x1f -/* 08FF14 800F6A64 03021021 */ addu $v0, $t8, $v0 -/* 08FF18 800F6A68 00021043 */ sra $v0, $v0, 1 -/* 08FF1C 800F6A6C A7C00040 */ sh $zero, 0x40($fp) -/* 08FF20 800F6A70 A7C20042 */ sh $v0, 0x42($fp) -/* 08FF24 800F6A74 A7C00044 */ sh $zero, 0x44($fp) -/* 08FF28 800F6A78 A7D70050 */ sh $s7, 0x50($fp) -/* 08FF2C 800F6A7C A7C20052 */ sh $v0, 0x52($fp) -/* 08FF30 800F6A80 A7C00054 */ sh $zero, 0x54($fp) -/* 08FF34 800F6A84 A7C00060 */ sh $zero, 0x60($fp) -/* 08FF38 800F6A88 A7C00062 */ sh $zero, 0x62($fp) -/* 08FF3C 800F6A8C A7C00064 */ sh $zero, 0x64($fp) -/* 08FF40 800F6A90 A7D70070 */ sh $s7, 0x70($fp) -/* 08FF44 800F6A94 A7C00072 */ sh $zero, 0x72($fp) -/* 08FF48 800F6A98 A7C00074 */ sh $zero, 0x74($fp) -/* 08FF4C 800F6A9C 97B201A6 */ lhu $s2, 0x1a6($sp) -/* 08FF50 800F6AA0 A7C0004A */ sh $zero, 0x4a($fp) -/* 08FF54 800F6AA4 A7D20048 */ sh $s2, 0x48($fp) -/* 08FF58 800F6AA8 8FB90204 */ lw $t9, 0x204($sp) -/* 08FF5C 800F6AAC A7C0005A */ sh $zero, 0x5a($fp) -/* 08FF60 800F6AB0 00191140 */ sll $v0, $t9, 5 -/* 08FF64 800F6AB4 A7C20058 */ sh $v0, 0x58($fp) -/* 08FF68 800F6AB8 97AE01A6 */ lhu $t6, 0x1a6($sp) -/* 08FF6C 800F6ABC A7CE0068 */ sh $t6, 0x68($fp) -/* 08FF70 800F6AC0 97AF01AA */ lhu $t7, 0x1aa($sp) -/* 08FF74 800F6AC4 A7C20078 */ sh $v0, 0x78($fp) -/* 08FF78 800F6AC8 A7CF006A */ sh $t7, 0x6a($fp) -/* 08FF7C 800F6ACC 97B201AA */ lhu $s2, 0x1aa($sp) -/* 08FF80 800F6AD0 A7D2007A */ sh $s2, 0x7a($fp) -/* 08FF84 800F6AD4 0803DAF0 */ j .L800F6BC0 -/* 08FF88 800F6AD8 27DE0040 */ addiu $fp, $fp, 0x40 - -.L800F6ADC: -/* 08FF8C 800F6ADC A7D50080 */ sh $s5, 0x80($fp) -/* 08FF90 800F6AE0 A7C00082 */ sh $zero, 0x82($fp) -/* 08FF94 800F6AE4 A7C00084 */ sh $zero, 0x84($fp) -/* 08FF98 800F6AE8 A7C00090 */ sh $zero, 0x90($fp) -/* 08FF9C 800F6AEC A7C00092 */ sh $zero, 0x92($fp) -/* 08FFA0 800F6AF0 A7C00094 */ sh $zero, 0x94($fp) -/* 08FFA4 800F6AF4 A7D500A0 */ sh $s5, 0xa0($fp) -/* 08FFA8 800F6AF8 A7D300A2 */ sh $s3, 0xa2($fp) -/* 08FFAC 800F6AFC A7C000A4 */ sh $zero, 0xa4($fp) -/* 08FFB0 800F6B00 A7C000B0 */ sh $zero, 0xb0($fp) -/* 08FFB4 800F6B04 A7D300B2 */ sh $s3, 0xb2($fp) -/* 08FFB8 800F6B08 A7C000B4 */ sh $zero, 0xb4($fp) -/* 08FFBC 800F6B0C A7C00088 */ sh $zero, 0x88($fp) -/* 08FFC0 800F6B10 97B901AA */ lhu $t9, 0x1aa($sp) -/* 08FFC4 800F6B14 A7D9008A */ sh $t9, 0x8a($fp) -/* 08FFC8 800F6B18 97AE01A6 */ lhu $t6, 0x1a6($sp) -/* 08FFCC 800F6B1C A7CE0098 */ sh $t6, 0x98($fp) -/* 08FFD0 800F6B20 97AF01AA */ lhu $t7, 0x1aa($sp) -/* 08FFD4 800F6B24 A7C000A8 */ sh $zero, 0xa8($fp) -/* 08FFD8 800F6B28 A7CF009A */ sh $t7, 0x9a($fp) -/* 08FFDC 800F6B2C 8FB20208 */ lw $s2, 0x208($sp) -/* 08FFE0 800F6B30 00121140 */ sll $v0, $s2, 5 -/* 08FFE4 800F6B34 A7C200AA */ sh $v0, 0xaa($fp) -/* 08FFE8 800F6B38 97B901A6 */ lhu $t9, 0x1a6($sp) -/* 08FFEC 800F6B3C A7C200BA */ sh $v0, 0xba($fp) -/* 08FFF0 800F6B40 A7D900B8 */ sh $t9, 0xb8($fp) -/* 08FFF4 800F6B44 0803DAF0 */ j .L800F6BC0 -/* 08FFF8 800F6B48 27DE0080 */ addiu $fp, $fp, 0x80 - -.L800F6B4C: -/* 08FFFC 800F6B4C A7C000C0 */ sh $zero, 0xc0($fp) -/* 090000 800F6B50 A7C000C2 */ sh $zero, 0xc2($fp) -/* 090004 800F6B54 A7C000C4 */ sh $zero, 0xc4($fp) -/* 090008 800F6B58 A7D700D0 */ sh $s7, 0xd0($fp) -/* 09000C 800F6B5C A7C000D2 */ sh $zero, 0xd2($fp) -/* 090010 800F6B60 A7C000D4 */ sh $zero, 0xd4($fp) -/* 090014 800F6B64 A7C000E0 */ sh $zero, 0xe0($fp) -/* 090018 800F6B68 A7D300E2 */ sh $s3, 0xe2($fp) -/* 09001C 800F6B6C A7C000E4 */ sh $zero, 0xe4($fp) -/* 090020 800F6B70 A7D700F0 */ sh $s7, 0xf0($fp) -/* 090024 800F6B74 A7D300F2 */ sh $s3, 0xf2($fp) -/* 090028 800F6B78 A7C000F4 */ sh $zero, 0xf4($fp) -/* 09002C 800F6B7C 97AE01A6 */ lhu $t6, 0x1a6($sp) -/* 090030 800F6B80 A7CE00C8 */ sh $t6, 0xc8($fp) -/* 090034 800F6B84 97AF01AA */ lhu $t7, 0x1aa($sp) -/* 090038 800F6B88 A7CF00CA */ sh $t7, 0xca($fp) -/* 09003C 800F6B8C 8FB20204 */ lw $s2, 0x204($sp) -/* 090040 800F6B90 00121940 */ sll $v1, $s2, 5 -/* 090044 800F6B94 A7C300D8 */ sh $v1, 0xd8($fp) -/* 090048 800F6B98 97B901AA */ lhu $t9, 0x1aa($sp) -/* 09004C 800F6B9C A7D900DA */ sh $t9, 0xda($fp) -/* 090050 800F6BA0 97AE01A6 */ lhu $t6, 0x1a6($sp) -/* 090054 800F6BA4 A7CE00E8 */ sh $t6, 0xe8($fp) -/* 090058 800F6BA8 8FAF0208 */ lw $t7, 0x208($sp) -/* 09005C 800F6BAC A7C300F8 */ sh $v1, 0xf8($fp) -/* 090060 800F6BB0 000F1140 */ sll $v0, $t7, 5 -/* 090064 800F6BB4 A7C200EA */ sh $v0, 0xea($fp) -/* 090068 800F6BB8 A7C200FA */ sh $v0, 0xfa($fp) -/* 09006C 800F6BBC 27DE00C0 */ addiu $fp, $fp, 0xc0 -.L800F6BC0: -/* 090070 800F6BC0 3C040100 */ lui $a0, 0x100 -/* 090074 800F6BC4 34844008 */ ori $a0, $a0, 0x4008 -.L800F6BC8: -/* 090078 800F6BC8 3C050600 */ lui $a1, 0x600 -/* 09007C 800F6BCC 8D830000 */ lw $v1, ($t4) -/* 090080 800F6BD0 34A50602 */ ori $a1, $a1, 0x602 -/* 090084 800F6BD4 0060102D */ daddu $v0, $v1, $zero -/* 090088 800F6BD8 24630008 */ addiu $v1, $v1, 8 -/* 09008C 800F6BDC AD830000 */ sw $v1, ($t4) -/* 090090 800F6BE0 AC440000 */ sw $a0, ($v0) -/* 090094 800F6BE4 AC5E0004 */ sw $fp, 4($v0) -/* 090098 800F6BE8 24620008 */ addiu $v0, $v1, 8 -/* 09009C 800F6BEC AD820000 */ sw $v0, ($t4) -/* 0900A0 800F6BF0 24020406 */ addiu $v0, $zero, 0x406 -/* 0900A4 800F6BF4 AC650000 */ sw $a1, ($v1) -/* 0900A8 800F6BF8 0803DC1C */ j .L800F7070 -/* 0900AC 800F6BFC AC620004 */ sw $v0, 4($v1) - -.L800F6C00: -/* 0900B0 800F6C00 24120001 */ addiu $s2, $zero, 1 -/* 0900B4 800F6C04 11B2004B */ beq $t5, $s2, .L800F6D34 -/* 0900B8 800F6C08 29A20002 */ slti $v0, $t5, 2 -/* 0900BC 800F6C0C 10400005 */ beqz $v0, .L800F6C24 -/* 0900C0 800F6C10 24190002 */ addiu $t9, $zero, 2 -/* 0900C4 800F6C14 11A00009 */ beqz $t5, .L800F6C3C -/* 0900C8 800F6C18 00000000 */ nop -/* 0900CC 800F6C1C 0803DC1C */ j .L800F7070 -/* 0900D0 800F6C20 00000000 */ nop - -.L800F6C24: -/* 0900D4 800F6C24 11B90082 */ beq $t5, $t9, .L800F6E30 -/* 0900D8 800F6C28 240E0003 */ addiu $t6, $zero, 3 -/* 0900DC 800F6C2C 11AE00C3 */ beq $t5, $t6, .L800F6F3C -/* 0900E0 800F6C30 00000000 */ nop -/* 0900E4 800F6C34 0803DC1C */ j .L800F7070 -/* 0900E8 800F6C38 00000000 */ nop - -.L800F6C3C: -/* 0900EC 800F6C3C 8D830000 */ lw $v1, ($t4) -/* 0900F0 800F6C40 24620008 */ addiu $v0, $v1, 8 -/* 0900F4 800F6C44 1A200005 */ blez $s1, .L800F6C5C -/* 0900F8 800F6C48 AD820000 */ sw $v0, ($t4) -/* 0900FC 800F6C4C 8FAF0164 */ lw $t7, 0x164($sp) -/* 090100 800F6C50 3C02E400 */ lui $v0, 0xe400 -/* 090104 800F6C54 0803DB18 */ j .L800F6C60 -/* 090108 800F6C58 01E21025 */ or $v0, $t7, $v0 - -.L800F6C5C: -/* 09010C 800F6C5C 3C02E400 */ lui $v0, 0xe400 -.L800F6C60: -/* 090110 800F6C60 AC620000 */ sw $v0, ($v1) -/* 090114 800F6C64 8FB201A0 */ lw $s2, 0x1a0($sp) -/* 090118 800F6C68 1A400002 */ blez $s2, .L800F6C74 -/* 09011C 800F6C6C 00561025 */ or $v0, $v0, $s6 -/* 090120 800F6C70 AC620000 */ sw $v0, ($v1) -.L800F6C74: -/* 090124 800F6C74 8FB901F8 */ lw $t9, 0x1f8($sp) -/* 090128 800F6C78 00191480 */ sll $v0, $t9, 0x12 -/* 09012C 800F6C7C 00021403 */ sra $v0, $v0, 0x10 -/* 090130 800F6C80 18400004 */ blez $v0, .L800F6C94 -/* 090134 800F6C84 24640004 */ addiu $a0, $v1, 4 -/* 090138 800F6C88 30420FFF */ andi $v0, $v0, 0xfff -/* 09013C 800F6C8C 0803DB26 */ j .L800F6C98 -/* 090140 800F6C90 00021B00 */ sll $v1, $v0, 0xc - -.L800F6C94: -/* 090144 800F6C94 0000182D */ daddu $v1, $zero, $zero -.L800F6C98: -/* 090148 800F6C98 AC830000 */ sw $v1, ($a0) -/* 09014C 800F6C9C 8FAE01FC */ lw $t6, 0x1fc($sp) -/* 090150 800F6CA0 000E1480 */ sll $v0, $t6, 0x12 -/* 090154 800F6CA4 00021403 */ sra $v0, $v0, 0x10 -/* 090158 800F6CA8 18400003 */ blez $v0, .L800F6CB8 -/* 09015C 800F6CAC 30420FFF */ andi $v0, $v0, 0xfff -/* 090160 800F6CB0 00621025 */ or $v0, $v1, $v0 -/* 090164 800F6CB4 AC820000 */ sw $v0, ($a0) -.L800F6CB8: -/* 090168 800F6CB8 8D820000 */ lw $v0, ($t4) -/* 09016C 800F6CBC 0040182D */ daddu $v1, $v0, $zero -/* 090170 800F6CC0 24420008 */ addiu $v0, $v0, 8 -/* 090174 800F6CC4 AD820000 */ sw $v0, ($t4) -/* 090178 800F6CC8 3C02E100 */ lui $v0, 0xe100 -/* 09017C 800F6CCC AC620000 */ sw $v0, ($v1) -/* 090180 800F6CD0 8FAF01F8 */ lw $t7, 0x1f8($sp) -/* 090184 800F6CD4 000F1480 */ sll $v0, $t7, 0x12 -/* 090188 800F6CD8 00021403 */ sra $v0, $v0, 0x10 -/* 09018C 800F6CDC 04410007 */ bgez $v0, .L800F6CFC -/* 090190 800F6CE0 24630004 */ addiu $v1, $v1, 4 -/* 090194 800F6CE4 000210C0 */ sll $v0, $v0, 3 -/* 090198 800F6CE8 5C400001 */ bgtzl $v0, .L800F6CF0 -/* 09019C 800F6CEC 0000102D */ daddu $v0, $zero, $zero -.L800F6CF0: -/* 0901A0 800F6CF0 00021023 */ negu $v0, $v0 -/* 0901A4 800F6CF4 0803DB40 */ j .L800F6D00 -/* 0901A8 800F6CF8 00022400 */ sll $a0, $v0, 0x10 - -.L800F6CFC: -/* 0901AC 800F6CFC 0000202D */ daddu $a0, $zero, $zero -.L800F6D00: -/* 0901B0 800F6D00 AC640000 */ sw $a0, ($v1) -/* 0901B4 800F6D04 8FB201FC */ lw $s2, 0x1fc($sp) -/* 0901B8 800F6D08 00121080 */ sll $v0, $s2, 2 -/* 0901BC 800F6D0C 044300D0 */ bgezl $v0, .L800F7050 -/* 0901C0 800F6D10 3C040400 */ lui $a0, 0x400 -/* 0901C4 800F6D14 00121480 */ sll $v0, $s2, 0x12 -/* 0901C8 800F6D18 00021343 */ sra $v0, $v0, 0xd -/* 0901CC 800F6D1C 5C400001 */ bgtzl $v0, .L800F6D24 -/* 0901D0 800F6D20 0000102D */ daddu $v0, $zero, $zero -.L800F6D24: -/* 0901D4 800F6D24 00021023 */ negu $v0, $v0 -/* 0901D8 800F6D28 3042FFFF */ andi $v0, $v0, 0xffff -/* 0901DC 800F6D2C 0803DC12 */ j .L800F7048 -/* 0901E0 800F6D30 00821025 */ or $v0, $a0, $v0 - -.L800F6D34: -/* 0901E4 800F6D34 8D840000 */ lw $a0, ($t4) -/* 0901E8 800F6D38 24820008 */ addiu $v0, $a0, 8 -/* 0901EC 800F6D3C AD820000 */ sw $v0, ($t4) -/* 0901F0 800F6D40 8FB901F8 */ lw $t9, 0x1f8($sp) -/* 0901F4 800F6D44 8FAE0204 */ lw $t6, 0x204($sp) -/* 0901F8 800F6D48 032E1021 */ addu $v0, $t9, $t6 -/* 0901FC 800F6D4C 00021480 */ sll $v0, $v0, 0x12 -/* 090200 800F6D50 00021403 */ sra $v0, $v0, 0x10 -/* 090204 800F6D54 18400005 */ blez $v0, .L800F6D6C -/* 090208 800F6D58 30420FFF */ andi $v0, $v0, 0xfff -/* 09020C 800F6D5C 00021300 */ sll $v0, $v0, 0xc -/* 090210 800F6D60 3C03E400 */ lui $v1, 0xe400 -/* 090214 800F6D64 0803DB5C */ j .L800F6D70 -/* 090218 800F6D68 00431025 */ or $v0, $v0, $v1 - -.L800F6D6C: -/* 09021C 800F6D6C 3C02E400 */ lui $v0, 0xe400 -.L800F6D70: -/* 090220 800F6D70 AC820000 */ sw $v0, ($a0) -/* 090224 800F6D74 8FAF01A0 */ lw $t7, 0x1a0($sp) -/* 090228 800F6D78 19E00002 */ blez $t7, .L800F6D84 -/* 09022C 800F6D7C 00561025 */ or $v0, $v0, $s6 -/* 090230 800F6D80 AC820000 */ sw $v0, ($a0) -.L800F6D84: -/* 090234 800F6D84 1A200003 */ blez $s1, .L800F6D94 -/* 090238 800F6D88 0000182D */ daddu $v1, $zero, $zero -/* 09023C 800F6D8C 8FB20160 */ lw $s2, 0x160($sp) -/* 090240 800F6D90 00121B00 */ sll $v1, $s2, 0xc -.L800F6D94: -/* 090244 800F6D94 AC830004 */ sw $v1, 4($a0) -/* 090248 800F6D98 8FB901FC */ lw $t9, 0x1fc($sp) -/* 09024C 800F6D9C 00191480 */ sll $v0, $t9, 0x12 -/* 090250 800F6DA0 00021403 */ sra $v0, $v0, 0x10 -/* 090254 800F6DA4 18400003 */ blez $v0, .L800F6DB4 -/* 090258 800F6DA8 30420FFF */ andi $v0, $v0, 0xfff -/* 09025C 800F6DAC 00621025 */ or $v0, $v1, $v0 -/* 090260 800F6DB0 AC820004 */ sw $v0, 4($a0) -.L800F6DB4: -/* 090264 800F6DB4 8D820000 */ lw $v0, ($t4) -/* 090268 800F6DB8 0040182D */ daddu $v1, $v0, $zero -/* 09026C 800F6DBC 24420008 */ addiu $v0, $v0, 8 -/* 090270 800F6DC0 AD820000 */ sw $v0, ($t4) -/* 090274 800F6DC4 3C02E100 */ lui $v0, 0xe100 -/* 090278 800F6DC8 AC620000 */ sw $v0, ($v1) -/* 09027C 800F6DCC 06210009 */ bgez $s1, .L800F6DF4 -/* 090280 800F6DD0 24630004 */ addiu $v1, $v1, 4 -/* 090284 800F6DD4 8FAE016C */ lw $t6, 0x16c($sp) -/* 090288 800F6DD8 000E11C3 */ sra $v0, $t6, 7 -/* 09028C 800F6DDC 5C400001 */ bgtzl $v0, .L800F6DE4 -/* 090290 800F6DE0 0000102D */ daddu $v0, $zero, $zero -.L800F6DE4: -/* 090294 800F6DE4 8FAF01A4 */ lw $t7, 0x1a4($sp) -/* 090298 800F6DE8 01E21023 */ subu $v0, $t7, $v0 -/* 09029C 800F6DEC 0803DB7F */ j .L800F6DFC -/* 0902A0 800F6DF0 00022400 */ sll $a0, $v0, 0x10 - -.L800F6DF4: -/* 0902A4 800F6DF4 8FB20170 */ lw $s2, 0x170($sp) -/* 0902A8 800F6DF8 00122400 */ sll $a0, $s2, 0x10 -.L800F6DFC: -/* 0902AC 800F6DFC AC640000 */ sw $a0, ($v1) -/* 0902B0 800F6E00 8FB901FC */ lw $t9, 0x1fc($sp) -/* 0902B4 800F6E04 00191080 */ sll $v0, $t9, 2 -/* 0902B8 800F6E08 04430091 */ bgezl $v0, .L800F7050 -/* 0902BC 800F6E0C 3C040400 */ lui $a0, 0x400 -/* 0902C0 800F6E10 00191480 */ sll $v0, $t9, 0x12 -/* 0902C4 800F6E14 00021343 */ sra $v0, $v0, 0xd -/* 0902C8 800F6E18 5C400001 */ bgtzl $v0, .L800F6E20 -/* 0902CC 800F6E1C 0000102D */ daddu $v0, $zero, $zero -.L800F6E20: -/* 0902D0 800F6E20 00021023 */ negu $v0, $v0 -/* 0902D4 800F6E24 3042FFFF */ andi $v0, $v0, 0xffff -/* 0902D8 800F6E28 0803DC12 */ j .L800F7048 -/* 0902DC 800F6E2C 00821025 */ or $v0, $a0, $v0 - -.L800F6E30: -/* 0902E0 800F6E30 8D840000 */ lw $a0, ($t4) -/* 0902E4 800F6E34 24820008 */ addiu $v0, $a0, 8 -/* 0902E8 800F6E38 1A200005 */ blez $s1, .L800F6E50 -/* 0902EC 800F6E3C AD820000 */ sw $v0, ($t4) -/* 0902F0 800F6E40 8FAE0164 */ lw $t6, 0x164($sp) -/* 0902F4 800F6E44 3C02E400 */ lui $v0, 0xe400 -/* 0902F8 800F6E48 0803DB95 */ j .L800F6E54 -/* 0902FC 800F6E4C 01C21825 */ or $v1, $t6, $v0 - -.L800F6E50: -/* 090300 800F6E50 3C03E400 */ lui $v1, 0xe400 -.L800F6E54: -/* 090304 800F6E54 AC830000 */ sw $v1, ($a0) -/* 090308 800F6E58 8FAF01FC */ lw $t7, 0x1fc($sp) -/* 09030C 800F6E5C 8FB20208 */ lw $s2, 0x208($sp) -/* 090310 800F6E60 01F21021 */ addu $v0, $t7, $s2 -/* 090314 800F6E64 00021480 */ sll $v0, $v0, 0x12 -/* 090318 800F6E68 00021403 */ sra $v0, $v0, 0x10 -/* 09031C 800F6E6C 18400003 */ blez $v0, .L800F6E7C -/* 090320 800F6E70 30420FFF */ andi $v0, $v0, 0xfff -/* 090324 800F6E74 00621025 */ or $v0, $v1, $v0 -/* 090328 800F6E78 AC820000 */ sw $v0, ($a0) -.L800F6E7C: -/* 09032C 800F6E7C 8FB901F8 */ lw $t9, 0x1f8($sp) -/* 090330 800F6E80 00191480 */ sll $v0, $t9, 0x12 -/* 090334 800F6E84 00021403 */ sra $v0, $v0, 0x10 -/* 090338 800F6E88 18400004 */ blez $v0, .L800F6E9C -/* 09033C 800F6E8C 24830004 */ addiu $v1, $a0, 4 -/* 090340 800F6E90 30420FFF */ andi $v0, $v0, 0xfff -/* 090344 800F6E94 0803DBA8 */ j .L800F6EA0 -/* 090348 800F6E98 00021300 */ sll $v0, $v0, 0xc - -.L800F6E9C: -/* 09034C 800F6E9C 0000102D */ daddu $v0, $zero, $zero -.L800F6EA0: -/* 090350 800F6EA0 AC620000 */ sw $v0, ($v1) -/* 090354 800F6EA4 8FAE01A0 */ lw $t6, 0x1a0($sp) -/* 090358 800F6EA8 19C00002 */ blez $t6, .L800F6EB4 -/* 09035C 800F6EAC 00561025 */ or $v0, $v0, $s6 -/* 090360 800F6EB0 AC620000 */ sw $v0, ($v1) -.L800F6EB4: -/* 090364 800F6EB4 8D820000 */ lw $v0, ($t4) -/* 090368 800F6EB8 0040182D */ daddu $v1, $v0, $zero -/* 09036C 800F6EBC 24420008 */ addiu $v0, $v0, 8 -/* 090370 800F6EC0 AD820000 */ sw $v0, ($t4) -/* 090374 800F6EC4 3C02E100 */ lui $v0, 0xe100 -/* 090378 800F6EC8 AC620000 */ sw $v0, ($v1) -/* 09037C 800F6ECC 8FAF01F8 */ lw $t7, 0x1f8($sp) -/* 090380 800F6ED0 000F1480 */ sll $v0, $t7, 0x12 -/* 090384 800F6ED4 00021403 */ sra $v0, $v0, 0x10 -/* 090388 800F6ED8 04410007 */ bgez $v0, .L800F6EF8 -/* 09038C 800F6EDC 24630004 */ addiu $v1, $v1, 4 -/* 090390 800F6EE0 000210C0 */ sll $v0, $v0, 3 -/* 090394 800F6EE4 5C400001 */ bgtzl $v0, .L800F6EEC -/* 090398 800F6EE8 0000102D */ daddu $v0, $zero, $zero -.L800F6EEC: -/* 09039C 800F6EEC 00021023 */ negu $v0, $v0 -/* 0903A0 800F6EF0 0803DBBF */ j .L800F6EFC -/* 0903A4 800F6EF4 00022400 */ sll $a0, $v0, 0x10 - -.L800F6EF8: -/* 0903A8 800F6EF8 0000202D */ daddu $a0, $zero, $zero -.L800F6EFC: -/* 0903AC 800F6EFC 8FB20168 */ lw $s2, 0x168($sp) -/* 0903B0 800F6F00 00121080 */ sll $v0, $s2, 2 -/* 0903B4 800F6F04 0441000A */ bgez $v0, .L800F6F30 -/* 0903B8 800F6F08 00000000 */ nop -/* 0903BC 800F6F0C 8FB90174 */ lw $t9, 0x174($sp) -/* 0903C0 800F6F10 001911C3 */ sra $v0, $t9, 7 -/* 0903C4 800F6F14 5C400001 */ bgtzl $v0, .L800F6F1C -/* 0903C8 800F6F18 0000102D */ daddu $v0, $zero, $zero -.L800F6F1C: -/* 0903CC 800F6F1C 8FAE01A8 */ lw $t6, 0x1a8($sp) -/* 0903D0 800F6F20 01C21023 */ subu $v0, $t6, $v0 -/* 0903D4 800F6F24 3042FFFF */ andi $v0, $v0, 0xffff -/* 0903D8 800F6F28 0803DC12 */ j .L800F7048 -/* 0903DC 800F6F2C 00821025 */ or $v0, $a0, $v0 - -.L800F6F30: -/* 0903E0 800F6F30 8FAF0178 */ lw $t7, 0x178($sp) -/* 0903E4 800F6F34 0803DC12 */ j .L800F7048 -/* 0903E8 800F6F38 008F1025 */ or $v0, $a0, $t7 - -.L800F6F3C: -/* 0903EC 800F6F3C 8D840000 */ lw $a0, ($t4) -/* 0903F0 800F6F40 24820008 */ addiu $v0, $a0, 8 -/* 0903F4 800F6F44 AD820000 */ sw $v0, ($t4) -/* 0903F8 800F6F48 8FB201F8 */ lw $s2, 0x1f8($sp) -/* 0903FC 800F6F4C 8FB90204 */ lw $t9, 0x204($sp) -/* 090400 800F6F50 02591021 */ addu $v0, $s2, $t9 -/* 090404 800F6F54 00021480 */ sll $v0, $v0, 0x12 -/* 090408 800F6F58 00021403 */ sra $v0, $v0, 0x10 -/* 09040C 800F6F5C 18400005 */ blez $v0, .L800F6F74 -/* 090410 800F6F60 30420FFF */ andi $v0, $v0, 0xfff -/* 090414 800F6F64 00021300 */ sll $v0, $v0, 0xc -/* 090418 800F6F68 3C03E400 */ lui $v1, 0xe400 -/* 09041C 800F6F6C 0803DBDE */ j .L800F6F78 -/* 090420 800F6F70 00431825 */ or $v1, $v0, $v1 - -.L800F6F74: -/* 090424 800F6F74 3C03E400 */ lui $v1, 0xe400 -.L800F6F78: -/* 090428 800F6F78 AC830000 */ sw $v1, ($a0) -/* 09042C 800F6F7C 8FAE01FC */ lw $t6, 0x1fc($sp) -/* 090430 800F6F80 8FAF0208 */ lw $t7, 0x208($sp) -/* 090434 800F6F84 01CF1021 */ addu $v0, $t6, $t7 -/* 090438 800F6F88 00021480 */ sll $v0, $v0, 0x12 -/* 09043C 800F6F8C 00021403 */ sra $v0, $v0, 0x10 -/* 090440 800F6F90 18400003 */ blez $v0, .L800F6FA0 -/* 090444 800F6F94 30420FFF */ andi $v0, $v0, 0xfff -/* 090448 800F6F98 00621025 */ or $v0, $v1, $v0 -/* 09044C 800F6F9C AC820000 */ sw $v0, ($a0) -.L800F6FA0: -/* 090450 800F6FA0 1A200003 */ blez $s1, .L800F6FB0 -/* 090454 800F6FA4 0000102D */ daddu $v0, $zero, $zero -/* 090458 800F6FA8 8FB20160 */ lw $s2, 0x160($sp) -/* 09045C 800F6FAC 00121300 */ sll $v0, $s2, 0xc -.L800F6FB0: -/* 090460 800F6FB0 AC820004 */ sw $v0, 4($a0) -/* 090464 800F6FB4 8FB901A0 */ lw $t9, 0x1a0($sp) -/* 090468 800F6FB8 1B200002 */ blez $t9, .L800F6FC4 -/* 09046C 800F6FBC 00561025 */ or $v0, $v0, $s6 -/* 090470 800F6FC0 AC820004 */ sw $v0, 4($a0) -.L800F6FC4: -/* 090474 800F6FC4 8D820000 */ lw $v0, ($t4) -/* 090478 800F6FC8 0040182D */ daddu $v1, $v0, $zero -/* 09047C 800F6FCC 24420008 */ addiu $v0, $v0, 8 -/* 090480 800F6FD0 AD820000 */ sw $v0, ($t4) -/* 090484 800F6FD4 3C02E100 */ lui $v0, 0xe100 -/* 090488 800F6FD8 AC620000 */ sw $v0, ($v1) -/* 09048C 800F6FDC 06210009 */ bgez $s1, .L800F7004 -/* 090490 800F6FE0 24630004 */ addiu $v1, $v1, 4 -/* 090494 800F6FE4 8FAE016C */ lw $t6, 0x16c($sp) -/* 090498 800F6FE8 000E11C3 */ sra $v0, $t6, 7 -/* 09049C 800F6FEC 5C400001 */ bgtzl $v0, .L800F6FF4 -/* 0904A0 800F6FF0 0000102D */ daddu $v0, $zero, $zero -.L800F6FF4: -/* 0904A4 800F6FF4 8FAF01A4 */ lw $t7, 0x1a4($sp) -/* 0904A8 800F6FF8 01E21023 */ subu $v0, $t7, $v0 -/* 0904AC 800F6FFC 0803DC03 */ j .L800F700C -/* 0904B0 800F7000 00022400 */ sll $a0, $v0, 0x10 - -.L800F7004: -/* 0904B4 800F7004 8FB20170 */ lw $s2, 0x170($sp) -/* 0904B8 800F7008 00122400 */ sll $a0, $s2, 0x10 -.L800F700C: -/* 0904BC 800F700C 8FB90168 */ lw $t9, 0x168($sp) -/* 0904C0 800F7010 00191080 */ sll $v0, $t9, 2 -/* 0904C4 800F7014 0441000A */ bgez $v0, .L800F7040 -/* 0904C8 800F7018 00000000 */ nop -/* 0904CC 800F701C 8FAE0174 */ lw $t6, 0x174($sp) -/* 0904D0 800F7020 000E11C3 */ sra $v0, $t6, 7 -/* 0904D4 800F7024 5C400001 */ bgtzl $v0, .L800F702C -/* 0904D8 800F7028 0000102D */ daddu $v0, $zero, $zero -.L800F702C: -/* 0904DC 800F702C 8FAF01A8 */ lw $t7, 0x1a8($sp) -/* 0904E0 800F7030 01E21023 */ subu $v0, $t7, $v0 -/* 0904E4 800F7034 3042FFFF */ andi $v0, $v0, 0xffff -/* 0904E8 800F7038 0803DC12 */ j .L800F7048 -/* 0904EC 800F703C 00821025 */ or $v0, $a0, $v0 - -.L800F7040: -/* 0904F0 800F7040 8FB20178 */ lw $s2, 0x178($sp) -/* 0904F4 800F7044 00921025 */ or $v0, $a0, $s2 -.L800F7048: -/* 0904F8 800F7048 AC620000 */ sw $v0, ($v1) -/* 0904FC 800F704C 3C040400 */ lui $a0, 0x400 -.L800F7050: -/* 090500 800F7050 8D820000 */ lw $v0, ($t4) -/* 090504 800F7054 34840400 */ ori $a0, $a0, 0x400 -/* 090508 800F7058 0040182D */ daddu $v1, $v0, $zero -/* 09050C 800F705C 24420008 */ addiu $v0, $v0, 8 -/* 090510 800F7060 AD820000 */ sw $v0, ($t4) -/* 090514 800F7064 3C02F100 */ lui $v0, 0xf100 -/* 090518 800F7068 AC620000 */ sw $v0, ($v1) -/* 09051C 800F706C AC640004 */ sw $a0, 4($v1) -.L800F7070: -/* 090520 800F7070 8D820000 */ lw $v0, ($t4) -/* 090524 800F7074 25AD0001 */ addiu $t5, $t5, 1 -/* 090528 800F7078 0040182D */ daddu $v1, $v0, $zero -/* 09052C 800F707C 24420008 */ addiu $v0, $v0, 8 -/* 090530 800F7080 3C19E700 */ lui $t9, 0xe700 -/* 090534 800F7084 AD820000 */ sw $v0, ($t4) -/* 090538 800F7088 29A20004 */ slti $v0, $t5, 4 -/* 09053C 800F708C AC790000 */ sw $t9, ($v1) -/* 090540 800F7090 1440FC7B */ bnez $v0, .L800F6280 -/* 090544 800F7094 AC600004 */ sw $zero, 4($v1) -/* 090548 800F7098 0803DCC4 */ j .L800F7310 -/* 09054C 800F709C 3C19E300 */ lui $t9, 0xe300 - -.L800F70A0: -/* 090550 800F70A0 8FAE0138 */ lw $t6, 0x138($sp) -/* 090554 800F70A4 11C0009A */ beqz $t6, .L800F7310 -/* 090558 800F70A8 3C19E300 */ lui $t9, 0xe300 -/* 09055C 800F70AC 13C00036 */ beqz $fp, .L800F7188 -/* 090560 800F70B0 3C070100 */ lui $a3, 0x100 -/* 090564 800F70B4 34E74008 */ ori $a3, $a3, 0x4008 -/* 090568 800F70B8 3C080600 */ lui $t0, 0x600 -/* 09056C 800F70BC 3C06800A */ lui $a2, 0x800a -/* 090570 800F70C0 24C6A66C */ addiu $a2, $a2, -0x5994 -/* 090574 800F70C4 8FAF0204 */ lw $t7, 0x204($sp) -/* 090578 800F70C8 8CC50000 */ lw $a1, ($a2) -/* 09057C 800F70CC 000F2023 */ negu $a0, $t7 -/* 090580 800F70D0 000417C2 */ srl $v0, $a0, 0x1f -/* 090584 800F70D4 00822021 */ addu $a0, $a0, $v0 -/* 090588 800F70D8 00042043 */ sra $a0, $a0, 1 -/* 09058C 800F70DC A7C40000 */ sh $a0, ($fp) -/* 090590 800F70E0 8FB20208 */ lw $s2, 0x208($sp) -/* 090594 800F70E4 35080602 */ ori $t0, $t0, 0x602 -/* 090598 800F70E8 A7C00004 */ sh $zero, 4($fp) -/* 09059C 800F70EC A7C00014 */ sh $zero, 0x14($fp) -/* 0905A0 800F70F0 A7C40020 */ sh $a0, 0x20($fp) -/* 0905A4 800F70F4 A7C00024 */ sh $zero, 0x24($fp) -/* 0905A8 800F70F8 A7C00034 */ sh $zero, 0x34($fp) -/* 0905AC 800F70FC A7C00008 */ sh $zero, 8($fp) -/* 0905B0 800F7100 A7C0000A */ sh $zero, 0xa($fp) -/* 0905B4 800F7104 A7C0001A */ sh $zero, 0x1a($fp) -/* 0905B8 800F7108 A7C00028 */ sh $zero, 0x28($fp) -/* 0905BC 800F710C 00121023 */ negu $v0, $s2 -/* 0905C0 800F7110 00021FC2 */ srl $v1, $v0, 0x1f -/* 0905C4 800F7114 00431021 */ addu $v0, $v0, $v1 -/* 0905C8 800F7118 00021043 */ sra $v0, $v0, 1 -/* 0905CC 800F711C 008F1821 */ addu $v1, $a0, $t7 -/* 0905D0 800F7120 A7C20002 */ sh $v0, 2($fp) -/* 0905D4 800F7124 A7C20012 */ sh $v0, 0x12($fp) -/* 0905D8 800F7128 001217C2 */ srl $v0, $s2, 0x1f -/* 0905DC 800F712C 02421021 */ addu $v0, $s2, $v0 -/* 0905E0 800F7130 00021043 */ sra $v0, $v0, 1 -/* 0905E4 800F7134 A7C30010 */ sh $v1, 0x10($fp) -/* 0905E8 800F7138 A7C30030 */ sh $v1, 0x30($fp) -/* 0905EC 800F713C 000F1940 */ sll $v1, $t7, 5 -/* 0905F0 800F7140 A7C20022 */ sh $v0, 0x22($fp) -/* 0905F4 800F7144 A7C20032 */ sh $v0, 0x32($fp) -/* 0905F8 800F7148 00121140 */ sll $v0, $s2, 5 -/* 0905FC 800F714C A7C2002A */ sh $v0, 0x2a($fp) -/* 090600 800F7150 A7C2003A */ sh $v0, 0x3a($fp) -/* 090604 800F7154 00A0102D */ daddu $v0, $a1, $zero -/* 090608 800F7158 24A50008 */ addiu $a1, $a1, 8 -/* 09060C 800F715C A7C30018 */ sh $v1, 0x18($fp) -/* 090610 800F7160 A7C30038 */ sh $v1, 0x38($fp) -/* 090614 800F7164 ACC50000 */ sw $a1, ($a2) -/* 090618 800F7168 AC470000 */ sw $a3, ($v0) -/* 09061C 800F716C AC5E0004 */ sw $fp, 4($v0) -/* 090620 800F7170 24A20008 */ addiu $v0, $a1, 8 -/* 090624 800F7174 ACC20000 */ sw $v0, ($a2) -/* 090628 800F7178 24020406 */ addiu $v0, $zero, 0x406 -/* 09062C 800F717C ACA80000 */ sw $t0, ($a1) -/* 090630 800F7180 0803DCBA */ j .L800F72E8 -/* 090634 800F7184 ACA20004 */ sw $v0, 4($a1) - -.L800F7188: -/* 090638 800F7188 3C03800A */ lui $v1, 0x800a -/* 09063C 800F718C 2463A66C */ addiu $v1, $v1, -0x5994 -/* 090640 800F7190 8C640000 */ lw $a0, ($v1) -/* 090644 800F7194 24820008 */ addiu $v0, $a0, 8 -/* 090648 800F7198 AC620000 */ sw $v0, ($v1) -/* 09064C 800F719C 8FB901F8 */ lw $t9, 0x1f8($sp) -/* 090650 800F71A0 8FAE0204 */ lw $t6, 0x204($sp) -/* 090654 800F71A4 032E1021 */ addu $v0, $t9, $t6 -/* 090658 800F71A8 00021480 */ sll $v0, $v0, 0x12 -/* 09065C 800F71AC 00021403 */ sra $v0, $v0, 0x10 -/* 090660 800F71B0 18400005 */ blez $v0, .L800F71C8 -/* 090664 800F71B4 30420FFF */ andi $v0, $v0, 0xfff -/* 090668 800F71B8 00021300 */ sll $v0, $v0, 0xc -/* 09066C 800F71BC 3C03E400 */ lui $v1, 0xe400 -/* 090670 800F71C0 0803DC73 */ j .L800F71CC -/* 090674 800F71C4 00431825 */ or $v1, $v0, $v1 - -.L800F71C8: -/* 090678 800F71C8 3C03E400 */ lui $v1, 0xe400 -.L800F71CC: -/* 09067C 800F71CC AC830000 */ sw $v1, ($a0) -/* 090680 800F71D0 8FAF01FC */ lw $t7, 0x1fc($sp) -/* 090684 800F71D4 8FB20208 */ lw $s2, 0x208($sp) -/* 090688 800F71D8 01F21021 */ addu $v0, $t7, $s2 -/* 09068C 800F71DC 00021480 */ sll $v0, $v0, 0x12 -/* 090690 800F71E0 00021403 */ sra $v0, $v0, 0x10 -/* 090694 800F71E4 18400003 */ blez $v0, .L800F71F4 -/* 090698 800F71E8 30420FFF */ andi $v0, $v0, 0xfff -/* 09069C 800F71EC 00621025 */ or $v0, $v1, $v0 -/* 0906A0 800F71F0 AC820000 */ sw $v0, ($a0) -.L800F71F4: -/* 0906A4 800F71F4 8FB901F8 */ lw $t9, 0x1f8($sp) -/* 0906A8 800F71F8 00191480 */ sll $v0, $t9, 0x12 -/* 0906AC 800F71FC 00021403 */ sra $v0, $v0, 0x10 -/* 0906B0 800F7200 18400004 */ blez $v0, .L800F7214 -/* 0906B4 800F7204 24830004 */ addiu $v1, $a0, 4 -/* 0906B8 800F7208 30420FFF */ andi $v0, $v0, 0xfff -/* 0906BC 800F720C 0803DC86 */ j .L800F7218 -/* 0906C0 800F7210 00022300 */ sll $a0, $v0, 0xc - -.L800F7214: -/* 0906C4 800F7214 0000202D */ daddu $a0, $zero, $zero -.L800F7218: -/* 0906C8 800F7218 AC640000 */ sw $a0, ($v1) -/* 0906CC 800F721C 8FAE01FC */ lw $t6, 0x1fc($sp) -/* 0906D0 800F7220 000E1480 */ sll $v0, $t6, 0x12 -/* 0906D4 800F7224 00021403 */ sra $v0, $v0, 0x10 -/* 0906D8 800F7228 18400003 */ blez $v0, .L800F7238 -/* 0906DC 800F722C 30420FFF */ andi $v0, $v0, 0xfff -/* 0906E0 800F7230 00821025 */ or $v0, $a0, $v0 -/* 0906E4 800F7234 AC620000 */ sw $v0, ($v1) -.L800F7238: -/* 0906E8 800F7238 3C03800A */ lui $v1, 0x800a -/* 0906EC 800F723C 2463A66C */ addiu $v1, $v1, -0x5994 -/* 0906F0 800F7240 8C620000 */ lw $v0, ($v1) -/* 0906F4 800F7244 0040202D */ daddu $a0, $v0, $zero -/* 0906F8 800F7248 24420008 */ addiu $v0, $v0, 8 -/* 0906FC 800F724C AC620000 */ sw $v0, ($v1) -/* 090700 800F7250 3C02E100 */ lui $v0, 0xe100 -/* 090704 800F7254 AC820000 */ sw $v0, ($a0) -/* 090708 800F7258 8FAF01F8 */ lw $t7, 0x1f8($sp) -/* 09070C 800F725C 000F1480 */ sll $v0, $t7, 0x12 -/* 090710 800F7260 00021403 */ sra $v0, $v0, 0x10 -/* 090714 800F7264 04410007 */ bgez $v0, .L800F7284 -/* 090718 800F7268 24840004 */ addiu $a0, $a0, 4 -/* 09071C 800F726C 000210C0 */ sll $v0, $v0, 3 -/* 090720 800F7270 5C400001 */ bgtzl $v0, .L800F7278 -/* 090724 800F7274 0000102D */ daddu $v0, $zero, $zero -.L800F7278: -/* 090728 800F7278 00021023 */ negu $v0, $v0 -/* 09072C 800F727C 0803DCA2 */ j .L800F7288 -/* 090730 800F7280 00021C00 */ sll $v1, $v0, 0x10 - -.L800F7284: -/* 090734 800F7284 0000182D */ daddu $v1, $zero, $zero -.L800F7288: -/* 090738 800F7288 AC830000 */ sw $v1, ($a0) -/* 09073C 800F728C 8FB201FC */ lw $s2, 0x1fc($sp) -/* 090740 800F7290 00121080 */ sll $v0, $s2, 2 -/* 090744 800F7294 0441000A */ bgez $v0, .L800F72C0 -/* 090748 800F7298 3C050400 */ lui $a1, 0x400 -/* 09074C 800F729C 00121480 */ sll $v0, $s2, 0x12 -/* 090750 800F72A0 00021343 */ sra $v0, $v0, 0xd -/* 090754 800F72A4 5C400001 */ bgtzl $v0, .L800F72AC -/* 090758 800F72A8 0000102D */ daddu $v0, $zero, $zero -.L800F72AC: -/* 09075C 800F72AC 00021023 */ negu $v0, $v0 -/* 090760 800F72B0 3042FFFF */ andi $v0, $v0, 0xffff -/* 090764 800F72B4 00621025 */ or $v0, $v1, $v0 -/* 090768 800F72B8 AC820000 */ sw $v0, ($a0) -/* 09076C 800F72BC 3C050400 */ lui $a1, 0x400 -.L800F72C0: -/* 090770 800F72C0 3C03800A */ lui $v1, 0x800a -/* 090774 800F72C4 2463A66C */ addiu $v1, $v1, -0x5994 -/* 090778 800F72C8 8C620000 */ lw $v0, ($v1) -/* 09077C 800F72CC 34A50400 */ ori $a1, $a1, 0x400 -/* 090780 800F72D0 0040202D */ daddu $a0, $v0, $zero -/* 090784 800F72D4 24420008 */ addiu $v0, $v0, 8 -/* 090788 800F72D8 AC620000 */ sw $v0, ($v1) -/* 09078C 800F72DC 3C02F100 */ lui $v0, 0xf100 -/* 090790 800F72E0 AC820000 */ sw $v0, ($a0) -/* 090794 800F72E4 AC850004 */ sw $a1, 4($a0) -.L800F72E8: -/* 090798 800F72E8 3C03800A */ lui $v1, 0x800a -/* 09079C 800F72EC 2463A66C */ addiu $v1, $v1, -0x5994 -/* 0907A0 800F72F0 8C620000 */ lw $v0, ($v1) -/* 0907A4 800F72F4 0040202D */ daddu $a0, $v0, $zero -/* 0907A8 800F72F8 24420008 */ addiu $v0, $v0, 8 -/* 0907AC 800F72FC AC620000 */ sw $v0, ($v1) -/* 0907B0 800F7300 3C02E700 */ lui $v0, 0xe700 -/* 0907B4 800F7304 AC820000 */ sw $v0, ($a0) -/* 0907B8 800F7308 AC800004 */ sw $zero, 4($a0) -/* 0907BC 800F730C 3C19E300 */ lui $t9, 0xe300 -.L800F7310: -/* 0907C0 800F7310 37390C00 */ ori $t9, $t9, 0xc00 -/* 0907C4 800F7314 3C0EE300 */ lui $t6, 0xe300 -/* 0907C8 800F7318 3C18800A */ lui $t8, 0x800a -/* 0907CC 800F731C 2718A66C */ addiu $t8, $t8, -0x5994 -/* 0907D0 800F7320 AFB9017C */ sw $t9, 0x17c($sp) -/* 0907D4 800F7324 8F020000 */ lw $v0, ($t8) -/* 0907D8 800F7328 35CE0A01 */ ori $t6, $t6, 0xa01 -/* 0907DC 800F732C AFAE0180 */ sw $t6, 0x180($sp) -/* 0907E0 800F7330 0040182D */ daddu $v1, $v0, $zero -/* 0907E4 800F7334 24420008 */ addiu $v0, $v0, 8 -/* 0907E8 800F7338 AF020000 */ sw $v0, ($t8) -/* 0907EC 800F733C AC790000 */ sw $t9, ($v1) -/* 0907F0 800F7340 AC600004 */ sw $zero, 4($v1) -/* 0907F4 800F7344 24430008 */ addiu $v1, $v0, 8 -/* 0907F8 800F7348 AF030000 */ sw $v1, ($t8) -/* 0907FC 800F734C AC4E0000 */ sw $t6, ($v0) -/* 090800 800F7350 AC400004 */ sw $zero, 4($v0) -/* 090804 800F7354 8FAF0228 */ lw $t7, 0x228($sp) -/* 090808 800F7358 11E001CC */ beqz $t7, .L800F7A8C -/* 09080C 800F735C 00000000 */ nop -/* 090810 800F7360 13C001BE */ beqz $fp, .L800F7A5C -/* 090814 800F7364 00000000 */ nop -/* 090818 800F7368 8FAE0204 */ lw $t6, 0x204($sp) -/* 09081C 800F736C 8FAF0208 */ lw $t7, 0x208($sp) -/* 090820 800F7370 01CF0018 */ mult $t6, $t7 -/* 090824 800F7374 AFB80198 */ sw $t8, 0x198($sp) -/* 090828 800F7378 00009012 */ mflo $s2 -/* 09082C 800F737C 0C0475F9 */ jal func_8011D7E4 -/* 090830 800F7380 00122040 */ sll $a0, $s2, 1 -/* 090834 800F7384 0040402D */ daddu $t0, $v0, $zero -/* 090838 800F7388 8FB80198 */ lw $t8, 0x198($sp) -/* 09083C 800F738C 110001BF */ beqz $t0, .L800F7A8C -/* 090840 800F7390 3C17E200 */ lui $s7, 0xe200 -/* 090844 800F7394 36F7001C */ ori $s7, $s7, 0x1c -/* 090848 800F7398 3C0BED00 */ lui $t3, 0xed00 -/* 09084C 800F739C 356B4004 */ ori $t3, $t3, 0x4004 -/* 090850 800F73A0 3C190001 */ lui $t9, 1 -/* 090854 800F73A4 37391630 */ ori $t9, $t9, 0x1630 -/* 090858 800F73A8 3C02FF10 */ lui $v0, 0xff10 -/* 09085C 800F73AC 3C168000 */ lui $s6, 0x8000 -/* 090860 800F73B0 01164021 */ addu $t0, $t0, $s6 -/* 090864 800F73B4 3C15ED00 */ lui $s5, 0xed00 -/* 090868 800F73B8 8FA4022C */ lw $a0, 0x22c($sp) -/* 09086C 800F73BC 8FA70204 */ lw $a3, 0x204($sp) -/* 090870 800F73C0 8F090000 */ lw $t1, ($t8) -/* 090874 800F73C4 3C11E700 */ lui $s1, 0xe700 -/* 090878 800F73C8 AFB90190 */ sw $t9, 0x190($sp) -/* 09087C 800F73CC 0120182D */ daddu $v1, $t1, $zero -/* 090880 800F73D0 25290008 */ addiu $t1, $t1, 8 -/* 090884 800F73D4 AF090000 */ sw $t1, ($t8) -/* 090888 800F73D8 8FAE0204 */ lw $t6, 0x204($sp) -/* 09088C 800F73DC 3C014080 */ lui $at, 0x4080 -/* 090890 800F73E0 44812000 */ mtc1 $at, $f4 -/* 090894 800F73E4 25CEFFFF */ addiu $t6, $t6, -1 -/* 090898 800F73E8 31CF0FFF */ andi $t7, $t6, 0xfff -/* 09089C 800F73EC 01E21025 */ or $v0, $t7, $v0 -/* 0908A0 800F73F0 AFAE0184 */ sw $t6, 0x184($sp) -/* 0908A4 800F73F4 AFAF0188 */ sw $t7, 0x188($sp) -/* 0908A8 800F73F8 AC620000 */ sw $v0, ($v1) -/* 0908AC 800F73FC 25220008 */ addiu $v0, $t1, 8 -/* 0908B0 800F7400 AFA8018C */ sw $t0, 0x18c($sp) -/* 0908B4 800F7404 AC680004 */ sw $t0, 4($v1) -/* 0908B8 800F7408 AF020000 */ sw $v0, ($t8) -/* 0908BC 800F740C 25220010 */ addiu $v0, $t1, 0x10 -/* 0908C0 800F7410 AD350000 */ sw $s5, ($t1) -/* 0908C4 800F7414 AF020000 */ sw $v0, ($t8) -/* 0908C8 800F7418 8FB20180 */ lw $s2, 0x180($sp) -/* 0908CC 800F741C 3C020030 */ lui $v0, 0x30 -/* 0908D0 800F7420 AD22000C */ sw $v0, 0xc($t1) -/* 0908D4 800F7424 25220018 */ addiu $v0, $t1, 0x18 -/* 0908D8 800F7428 AD320008 */ sw $s2, 8($t1) -/* 0908DC 800F742C AF020000 */ sw $v0, ($t8) -/* 0908E0 800F7430 3C02F700 */ lui $v0, 0xf700 -/* 0908E4 800F7434 AD220010 */ sw $v0, 0x10($t1) -/* 0908E8 800F7438 93B900F7 */ lbu $t9, 0xf7($sp) -/* 0908EC 800F743C 93AE00FF */ lbu $t6, 0xff($sp) -/* 0908F0 800F7440 93AF0107 */ lbu $t7, 0x107($sp) -/* 0908F4 800F7444 00191A00 */ sll $v1, $t9, 8 -/* 0908F8 800F7448 3063F800 */ andi $v1, $v1, 0xf800 -/* 0908FC 800F744C 000E10C0 */ sll $v0, $t6, 3 -/* 090900 800F7450 304207C0 */ andi $v0, $v0, 0x7c0 -/* 090904 800F7454 00621825 */ or $v1, $v1, $v0 -/* 090908 800F7458 000F1082 */ srl $v0, $t7, 2 -/* 09090C 800F745C 3042003E */ andi $v0, $v0, 0x3e -/* 090910 800F7460 00621825 */ or $v1, $v1, $v0 -/* 090914 800F7464 00031400 */ sll $v0, $v1, 0x10 -/* 090918 800F7468 00431025 */ or $v0, $v0, $v1 -/* 09091C 800F746C AD220014 */ sw $v0, 0x14($t1) -/* 090920 800F7470 25220020 */ addiu $v0, $t1, 0x20 -/* 090924 800F7474 AF020000 */ sw $v0, ($t8) -/* 090928 800F7478 25220028 */ addiu $v0, $t1, 0x28 -/* 09092C 800F747C 3C03F600 */ lui $v1, 0xf600 -/* 090930 800F7480 AD370018 */ sw $s7, 0x18($t1) -/* 090934 800F7484 AD20001C */ sw $zero, 0x1c($t1) -/* 090938 800F7488 AF020000 */ sw $v0, ($t8) -/* 09093C 800F748C 8FB20184 */ lw $s2, 0x184($sp) -/* 090940 800F7490 8FB90208 */ lw $t9, 0x208($sp) -/* 090944 800F7494 324803FF */ andi $t0, $s2, 0x3ff -/* 090948 800F7498 00084380 */ sll $t0, $t0, 0xe -/* 09094C 800F749C 272AFFFF */ addiu $t2, $t9, -1 -/* 090950 800F74A0 314203FF */ andi $v0, $t2, 0x3ff -/* 090954 800F74A4 00021080 */ sll $v0, $v0, 2 -/* 090958 800F74A8 00431025 */ or $v0, $v0, $v1 -/* 09095C 800F74AC 01024025 */ or $t0, $t0, $v0 -/* 090960 800F74B0 25220030 */ addiu $v0, $t1, 0x30 -/* 090964 800F74B4 AD280020 */ sw $t0, 0x20($t1) -/* 090968 800F74B8 AD200024 */ sw $zero, 0x24($t1) -/* 09096C 800F74BC AF020000 */ sw $v0, ($t8) -/* 090970 800F74C0 25220038 */ addiu $v0, $t1, 0x38 -/* 090974 800F74C4 AD310028 */ sw $s1, 0x28($t1) -/* 090978 800F74C8 AD20002C */ sw $zero, 0x2c($t1) -/* 09097C 800F74CC AF020000 */ sw $v0, ($t8) -/* 090980 800F74D0 AD2B0030 */ sw $t3, 0x30($t1) -/* 090984 800F74D4 C7A20204 */ lwc1 $f2, 0x204($sp) -/* 090988 800F74D8 468010A0 */ cvt.s.w $f2, $f2 -/* 09098C 800F74DC 25220040 */ addiu $v0, $t1, 0x40 -/* 090990 800F74E0 46041082 */ mul.s $f2, $f2, $f4 -/* 090994 800F74E4 00000000 */ nop -/* 090998 800F74E8 AF020000 */ sw $v0, ($t8) -/* 09099C 800F74EC 8FAE0180 */ lw $t6, 0x180($sp) -/* 0909A0 800F74F0 AD20003C */ sw $zero, 0x3c($t1) -/* 0909A4 800F74F4 AD2E0038 */ sw $t6, 0x38($t1) -/* 0909A8 800F74F8 C7A00208 */ lwc1 $f0, 0x208($sp) -/* 0909AC 800F74FC 46800020 */ cvt.s.w $f0, $f0 -/* 0909B0 800F7500 46040002 */ mul.s $f0, $f0, $f4 -/* 0909B4 800F7504 00000000 */ nop -/* 0909B8 800F7508 4600118D */ trunc.w.s $f6, $f2 -/* 0909BC 800F750C 44033000 */ mfc1 $v1, $f6 -/* 0909C0 800F7510 00000000 */ nop -/* 0909C4 800F7514 30630FFF */ andi $v1, $v1, 0xfff -/* 0909C8 800F7518 00031B00 */ sll $v1, $v1, 0xc -/* 0909CC 800F751C C7A20184 */ lwc1 $f2, 0x184($sp) -/* 0909D0 800F7520 468010A0 */ cvt.s.w $f2, $f2 -/* 0909D4 800F7524 46041082 */ mul.s $f2, $f2, $f4 -/* 0909D8 800F7528 00000000 */ nop -/* 0909DC 800F752C 4600018D */ trunc.w.s $f6, $f0 -/* 0909E0 800F7530 44023000 */ mfc1 $v0, $f6 -/* 0909E4 800F7534 00000000 */ nop -/* 0909E8 800F7538 30420FFF */ andi $v0, $v0, 0xfff -/* 0909EC 800F753C 00621825 */ or $v1, $v1, $v0 -/* 0909F0 800F7540 448A0000 */ mtc1 $t2, $f0 -/* 0909F4 800F7544 00000000 */ nop -/* 0909F8 800F7548 46800020 */ cvt.s.w $f0, $f0 -/* 0909FC 800F754C 46040002 */ mul.s $f0, $f0, $f4 -/* 090A00 800F7550 00000000 */ nop -/* 090A04 800F7554 AD230004 */ sw $v1, 4($t1) -/* 090A08 800F7558 4600118D */ trunc.w.s $f6, $f2 -/* 090A0C 800F755C 44023000 */ mfc1 $v0, $f6 -/* 090A10 800F7560 00000000 */ nop -/* 090A14 800F7564 30420FFF */ andi $v0, $v0, 0xfff -/* 090A18 800F7568 00021300 */ sll $v0, $v0, 0xc -/* 090A1C 800F756C 4600018D */ trunc.w.s $f6, $f0 -/* 090A20 800F7570 44033000 */ mfc1 $v1, $f6 -/* 090A24 800F7574 00000000 */ nop -/* 090A28 800F7578 30630FFF */ andi $v1, $v1, 0xfff -/* 090A2C 800F757C 00431025 */ or $v0, $v0, $v1 -/* 090A30 800F7580 AD220034 */ sw $v0, 0x34($t1) -/* 090A34 800F7584 93A200E7 */ lbu $v0, 0xe7($sp) -/* 090A38 800F7588 8FAF0228 */ lw $t7, 0x228($sp) -/* 090A3C 800F758C 0000282D */ daddu $a1, $zero, $zero -/* 090A40 800F7590 AFA20014 */ sw $v0, 0x14($sp) -/* 090A44 800F7594 93A200E8 */ lbu $v0, 0xe8($sp) -/* 090A48 800F7598 00A0302D */ daddu $a2, $a1, $zero -/* 090A4C 800F759C AFB90010 */ sw $t9, 0x10($sp) -/* 090A50 800F75A0 AFB80198 */ sw $t8, 0x198($sp) -/* 090A54 800F75A4 01E0F809 */ jalr $t7 -/* 090A58 800F75A8 AFA20018 */ sw $v0, 0x18($sp) -/* 090A5C 800F75AC 3C09FF10 */ lui $t1, 0xff10 -/* 090A60 800F75B0 3529013F */ ori $t1, $t1, 0x13f -/* 090A64 800F75B4 3C0A0050 */ lui $t2, 0x50 -/* 090A68 800F75B8 354A03C0 */ ori $t2, $t2, 0x3c0 -/* 090A6C 800F75BC 3C0BDC08 */ lui $t3, 0xdc08 -/* 090A70 800F75C0 356B0008 */ ori $t3, $t3, 8 -/* 090A74 800F75C4 3C0CDA38 */ lui $t4, 0xda38 -/* 090A78 800F75C8 358C0007 */ ori $t4, $t4, 7 -/* 090A7C 800F75CC 3C0DD700 */ lui $t5, 0xd700 -/* 090A80 800F75D0 35AD0002 */ ori $t5, $t5, 2 -/* 090A84 800F75D4 3C12E300 */ lui $s2, 0xe300 -/* 090A88 800F75D8 36521001 */ ori $s2, $s2, 0x1001 -/* 090A8C 800F75DC 3C19FCFF */ lui $t9, 0xfcff -/* 090A90 800F75E0 3739FFFF */ ori $t9, $t9, 0xffff -/* 090A94 800F75E4 3C0EFFFC */ lui $t6, 0xfffc -/* 090A98 800F75E8 35CEF279 */ ori $t6, $t6, 0xf279 -/* 090A9C 800F75EC 3C130040 */ lui $s3, 0x40 -/* 090AA0 800F75F0 36734340 */ ori $s3, $s3, 0x4340 -/* 090AA4 800F75F4 3C14E300 */ lui $s4, 0xe300 -/* 090AA8 800F75F8 4480A000 */ mtc1 $zero, $f20 -/* 090AAC 800F75FC 8FB80198 */ lw $t8, 0x198($sp) -/* 090AB0 800F7600 3C0640C0 */ lui $a2, 0x40c0 -/* 090AB4 800F7604 36941201 */ ori $s4, $s4, 0x1201 -/* 090AB8 800F7608 AFB201A8 */ sw $s2, 0x1a8($sp) -/* 090ABC 800F760C AFB901A0 */ sw $t9, 0x1a0($sp) -/* 090AC0 800F7610 AFAE01A4 */ sw $t6, 0x1a4($sp) -/* 090AC4 800F7614 8F020000 */ lw $v0, ($t8) -/* 090AC8 800F7618 4405A000 */ mfc1 $a1, $f20 -/* 090ACC 800F761C 4407A000 */ mfc1 $a3, $f20 -/* 090AD0 800F7620 0040182D */ daddu $v1, $v0, $zero -/* 090AD4 800F7624 24420008 */ addiu $v0, $v0, 8 -/* 090AD8 800F7628 AF020000 */ sw $v0, ($t8) -/* 090ADC 800F762C 3C08800A */ lui $t0, 0x800a -/* 090AE0 800F7630 8D08A64C */ lw $t0, -0x59b4($t0) -/* 090AE4 800F7634 27B000A0 */ addiu $s0, $sp, 0xa0 -/* 090AE8 800F7638 AC710000 */ sw $s1, ($v1) -/* 090AEC 800F763C AC600004 */ sw $zero, 4($v1) -/* 090AF0 800F7640 24430008 */ addiu $v1, $v0, 8 -/* 090AF4 800F7644 AF030000 */ sw $v1, ($t8) -/* 090AF8 800F7648 24430010 */ addiu $v1, $v0, 0x10 -/* 090AFC 800F764C AC490000 */ sw $t1, ($v0) -/* 090B00 800F7650 01164021 */ addu $t0, $t0, $s6 -/* 090B04 800F7654 AC480004 */ sw $t0, 4($v0) -/* 090B08 800F7658 AF030000 */ sw $v1, ($t8) -/* 090B0C 800F765C 24430018 */ addiu $v1, $v0, 0x18 -/* 090B10 800F7660 AC550008 */ sw $s5, 8($v0) -/* 090B14 800F7664 AC4A000C */ sw $t2, 0xc($v0) -/* 090B18 800F7668 AF030000 */ sw $v1, ($t8) -/* 090B1C 800F766C 3C038011 */ lui $v1, 0x8011 -/* 090B20 800F7670 2463BBB8 */ addiu $v1, $v1, -0x4448 -/* 090B24 800F7674 AC430014 */ sw $v1, 0x14($v0) -/* 090B28 800F7678 24430020 */ addiu $v1, $v0, 0x20 -/* 090B2C 800F767C AC4B0010 */ sw $t3, 0x10($v0) -/* 090B30 800F7680 AF030000 */ sw $v1, ($t8) -/* 090B34 800F7684 AC4C0018 */ sw $t4, 0x18($v0) -/* 090B38 800F7688 8FAF0154 */ lw $t7, 0x154($sp) -/* 090B3C 800F768C 24430028 */ addiu $v1, $v0, 0x28 -/* 090B40 800F7690 AC4F001C */ sw $t7, 0x1c($v0) -/* 090B44 800F7694 AF030000 */ sw $v1, ($t8) -/* 090B48 800F7698 2403FFFF */ addiu $v1, $zero, -1 -/* 090B4C 800F769C AC430024 */ sw $v1, 0x24($v0) -/* 090B50 800F76A0 24430030 */ addiu $v1, $v0, 0x30 -/* 090B54 800F76A4 AC4D0020 */ sw $t5, 0x20($v0) -/* 090B58 800F76A8 AF030000 */ sw $v1, ($t8) -/* 090B5C 800F76AC 8FB20180 */ lw $s2, 0x180($sp) -/* 090B60 800F76B0 24430038 */ addiu $v1, $v0, 0x38 -/* 090B64 800F76B4 AC520028 */ sw $s2, 0x28($v0) -/* 090B68 800F76B8 AC40002C */ sw $zero, 0x2c($v0) -/* 090B6C 800F76BC AF030000 */ sw $v1, ($t8) -/* 090B70 800F76C0 8FB901A8 */ lw $t9, 0x1a8($sp) -/* 090B74 800F76C4 24430040 */ addiu $v1, $v0, 0x40 -/* 090B78 800F76C8 AC590030 */ sw $t9, 0x30($v0) -/* 090B7C 800F76CC AC400034 */ sw $zero, 0x34($v0) -/* 090B80 800F76D0 AF030000 */ sw $v1, ($t8) -/* 090B84 800F76D4 8FAE01A0 */ lw $t6, 0x1a0($sp) -/* 090B88 800F76D8 0200202D */ daddu $a0, $s0, $zero -/* 090B8C 800F76DC AC4E0038 */ sw $t6, 0x38($v0) -/* 090B90 800F76E0 8FAF01A4 */ lw $t7, 0x1a4($sp) -/* 090B94 800F76E4 24430048 */ addiu $v1, $v0, 0x48 -/* 090B98 800F76E8 AC4F003C */ sw $t7, 0x3c($v0) -/* 090B9C 800F76EC AF030000 */ sw $v1, ($t8) -/* 090BA0 800F76F0 24430050 */ addiu $v1, $v0, 0x50 -/* 090BA4 800F76F4 AC570040 */ sw $s7, 0x40($v0) -/* 090BA8 800F76F8 AC530044 */ sw $s3, 0x44($v0) -/* 090BAC 800F76FC AF030000 */ sw $v1, ($t8) -/* 090BB0 800F7700 8FB2017C */ lw $s2, 0x17c($sp) -/* 090BB4 800F7704 3C030008 */ lui $v1, 8 -/* 090BB8 800F7708 AC520048 */ sw $s2, 0x48($v0) -/* 090BBC 800F770C AC43004C */ sw $v1, 0x4c($v0) -/* 090BC0 800F7710 24430058 */ addiu $v1, $v0, 0x58 -/* 090BC4 800F7714 AF030000 */ sw $v1, ($t8) -/* 090BC8 800F7718 24032000 */ addiu $v1, $zero, 0x2000 -/* 090BCC 800F771C AC540050 */ sw $s4, 0x50($v0) -/* 090BD0 800F7720 0C019E40 */ jal guTranslateF -/* 090BD4 800F7724 AC430054 */ sw $v1, 0x54($v0) -/* 090BD8 800F7728 3C058011 */ lui $a1, 0x8011 -/* 090BDC 800F772C 24A5BC08 */ addiu $a1, $a1, -0x43f8 -/* 090BE0 800F7730 0C019D40 */ jal guMtxF2L -/* 090BE4 800F7734 0200202D */ daddu $a0, $s0, $zero -/* 090BE8 800F7738 0200202D */ daddu $a0, $s0, $zero -/* 090BEC 800F773C 8FB90208 */ lw $t9, 0x208($sp) -/* 090BF0 800F7740 4405A000 */ mfc1 $a1, $f20 -/* 090BF4 800F7744 00191023 */ negu $v0, $t9 -/* 090BF8 800F7748 00021FC2 */ srl $v1, $v0, 0x1f -/* 090BFC 800F774C 00431021 */ addu $v0, $v0, $v1 -/* 090C00 800F7750 00021043 */ sra $v0, $v0, 1 -/* 090C04 800F7754 44823000 */ mtc1 $v0, $f6 -/* 090C08 800F7758 00000000 */ nop -/* 090C0C 800F775C 468031A0 */ cvt.s.w $f6, $f6 -/* 090C10 800F7760 44063000 */ mfc1 $a2, $f6 -/* 090C14 800F7764 0C019E40 */ jal guTranslateF -/* 090C18 800F7768 00A0382D */ daddu $a3, $a1, $zero -/* 090C1C 800F776C 0200202D */ daddu $a0, $s0, $zero -/* 090C20 800F7770 3C108007 */ lui $s0, 0x8007 -/* 090C24 800F7774 261041F0 */ addiu $s0, $s0, 0x41f0 -/* 090C28 800F7778 3C11800A */ lui $s1, 0x800a -/* 090C2C 800F777C 2631A674 */ addiu $s1, $s1, -0x598c -/* 090C30 800F7780 96050000 */ lhu $a1, ($s0) -/* 090C34 800F7784 8E220000 */ lw $v0, ($s1) -/* 090C38 800F7788 8FAE0190 */ lw $t6, 0x190($sp) -/* 090C3C 800F778C 00052980 */ sll $a1, $a1, 6 -/* 090C40 800F7790 00AE2821 */ addu $a1, $a1, $t6 -/* 090C44 800F7794 0C019D40 */ jal guMtxF2L -/* 090C48 800F7798 00452821 */ addu $a1, $v0, $a1 -/* 090C4C 800F779C 3C05DA38 */ lui $a1, 0xda38 -/* 090C50 800F77A0 34A50001 */ ori $a1, $a1, 1 -/* 090C54 800F77A4 3C062AAA */ lui $a2, 0x2aaa -/* 090C58 800F77A8 34C6AAAB */ ori $a2, $a2, 0xaaab -/* 090C5C 800F77AC 8FAF0208 */ lw $t7, 0x208($sp) -/* 090C60 800F77B0 8FB80198 */ lw $t8, 0x198($sp) -/* 090C64 800F77B4 000F7FC3 */ sra $t7, $t7, 0x1f -/* 090C68 800F77B8 AFAF01A8 */ sw $t7, 0x1a8($sp) -/* 090C6C 800F77BC 8F020000 */ lw $v0, ($t8) -/* 090C70 800F77C0 96030000 */ lhu $v1, ($s0) -/* 090C74 800F77C4 0040202D */ daddu $a0, $v0, $zero -/* 090C78 800F77C8 24420008 */ addiu $v0, $v0, 8 -/* 090C7C 800F77CC AF020000 */ sw $v0, ($t8) -/* 090C80 800F77D0 24620001 */ addiu $v0, $v1, 1 -/* 090C84 800F77D4 3063FFFF */ andi $v1, $v1, 0xffff -/* 090C88 800F77D8 00031980 */ sll $v1, $v1, 6 -/* 090C8C 800F77DC AC850000 */ sw $a1, ($a0) -/* 090C90 800F77E0 A6020000 */ sh $v0, ($s0) -/* 090C94 800F77E4 8FAE0208 */ lw $t6, 0x208($sp) -/* 090C98 800F77E8 8E220000 */ lw $v0, ($s1) -/* 090C9C 800F77EC 8FAF0190 */ lw $t7, 0x190($sp) -/* 090CA0 800F77F0 01C60018 */ mult $t6, $a2 -/* 090CA4 800F77F4 006F1821 */ addu $v1, $v1, $t7 -/* 090CA8 800F77F8 00431021 */ addu $v0, $v0, $v1 -/* 090CAC 800F77FC AC820004 */ sw $v0, 4($a0) -/* 090CB0 800F7800 8FB201A8 */ lw $s2, 0x1a8($sp) -/* 090CB4 800F7804 00002810 */ mfhi $a1 -/* 090CB8 800F7808 00B21023 */ subu $v0, $a1, $s2 -/* 090CBC 800F780C 1840009F */ blez $v0, .L800F7A8C -/* 090CC0 800F7810 0000682D */ daddu $t5, $zero, $zero -/* 090CC4 800F7814 00A0982D */ daddu $s3, $a1, $zero -/* 090CC8 800F7818 0300602D */ daddu $t4, $t8, $zero -/* 090CCC 800F781C 3C02FD10 */ lui $v0, 0xfd10 -/* 090CD0 800F7820 3C03F510 */ lui $v1, 0xf510 -/* 090CD4 800F7824 3C15E700 */ lui $s5, 0xe700 -/* 090CD8 800F7828 3C16F200 */ lui $s6, 0xf200 -/* 090CDC 800F782C 8FB90188 */ lw $t9, 0x188($sp) -/* 090CE0 800F7830 8FB8018C */ lw $t8, 0x18c($sp) -/* 090CE4 800F7834 8FAE0204 */ lw $t6, 0x204($sp) -/* 090CE8 800F7838 8FAF0184 */ lw $t7, 0x184($sp) -/* 090CEC 800F783C 01A0802D */ daddu $s0, $t5, $zero -/* 090CF0 800F7840 AFA001A4 */ sw $zero, 0x1a4($sp) -/* 090CF4 800F7844 03221025 */ or $v0, $t9, $v0 -/* 090CF8 800F7848 AFA2019C */ sw $v0, 0x19c($sp) -/* 090CFC 800F784C 000E1040 */ sll $v0, $t6, 1 -/* 090D00 800F7850 24420007 */ addiu $v0, $v0, 7 -/* 090D04 800F7854 000210C3 */ sra $v0, $v0, 3 -/* 090D08 800F7858 304201FF */ andi $v0, $v0, 0x1ff -/* 090D0C 800F785C 00021240 */ sll $v0, $v0, 9 -/* 090D10 800F7860 00431025 */ or $v0, $v0, $v1 -/* 090D14 800F7864 AFA201A0 */ sw $v0, 0x1a0($sp) -/* 090D18 800F7868 000F1080 */ sll $v0, $t7, 2 -/* 090D1C 800F786C 30420FFF */ andi $v0, $v0, 0xfff -/* 090D20 800F7870 00028B00 */ sll $s1, $v0, 0xc -/* 090D24 800F7874 000E17C2 */ srl $v0, $t6, 0x1f -/* 090D28 800F7878 01C21021 */ addu $v0, $t6, $v0 -/* 090D2C 800F787C 0002A043 */ sra $s4, $v0, 1 -/* 090D30 800F7880 240200A0 */ addiu $v0, $zero, 0xa0 -/* 090D34 800F7884 00541023 */ subu $v0, $v0, $s4 -/* 090D38 800F7888 00021080 */ sll $v0, $v0, 2 -/* 090D3C 800F788C 30420FFF */ andi $v0, $v0, 0xfff -/* 090D40 800F7890 00021300 */ sll $v0, $v0, 0xc -/* 090D44 800F7894 0056B825 */ or $s7, $v0, $s6 -.L800F7898: -/* 090D48 800F7898 8FB201A8 */ lw $s2, 0x1a8($sp) -/* 090D4C 800F789C 02721823 */ subu $v1, $s3, $s2 -/* 090D50 800F78A0 2462FFFF */ addiu $v0, $v1, -1 -/* 090D54 800F78A4 55A20007 */ bnel $t5, $v0, .L800F78C4 -/* 090D58 800F78A8 24020001 */ addiu $v0, $zero, 1 -/* 090D5C 800F78AC 00031040 */ sll $v0, $v1, 1 -/* 090D60 800F78B0 00431021 */ addu $v0, $v0, $v1 -/* 090D64 800F78B4 8FB90208 */ lw $t9, 0x208($sp) -/* 090D68 800F78B8 00021040 */ sll $v0, $v0, 1 -/* 090D6C 800F78BC 03221023 */ subu $v0, $t9, $v0 -/* 090D70 800F78C0 0002102B */ sltu $v0, $zero, $v0 -.L800F78C4: -/* 090D74 800F78C4 3C070708 */ lui $a3, 0x708 -/* 090D78 800F78C8 34E7C290 */ ori $a3, $a3, 0xc290 -/* 090D7C 800F78CC 3C080008 */ lui $t0, 8 -/* 090D80 800F78D0 3508C290 */ ori $t0, $t0, 0xc290 -/* 090D84 800F78D4 3C090100 */ lui $t1, 0x100 -/* 090D88 800F78D8 35294008 */ ori $t1, $t1, 0x4008 -/* 090D8C 800F78DC 3C0A0600 */ lui $t2, 0x600 -/* 090D90 800F78E0 354A0602 */ ori $t2, $t2, 0x602 -/* 090D94 800F78E4 3C0BDA38 */ lui $t3, 0xda38 -/* 090D98 800F78E8 356B0001 */ ori $t3, $t3, 1 -/* 090D9C 800F78EC 32050FFF */ andi $a1, $s0, 0xfff -/* 090DA0 800F78F0 26100018 */ addiu $s0, $s0, 0x18 -/* 090DA4 800F78F4 24460005 */ addiu $a2, $v0, 5 -/* 090DA8 800F78F8 25AD0001 */ addiu $t5, $t5, 1 -/* 090DAC 800F78FC 8FAE01A4 */ lw $t6, 0x1a4($sp) -/* 090DB0 800F7900 8FAF0208 */ lw $t7, 0x208($sp) -/* 090DB4 800F7904 01C62021 */ addu $a0, $t6, $a2 -/* 090DB8 800F7908 25CE0006 */ addiu $t6, $t6, 6 -/* 090DBC 800F790C 000F7FC3 */ sra $t7, $t7, 0x1f -/* 090DC0 800F7910 AFAE01A4 */ sw $t6, 0x1a4($sp) -/* 090DC4 800F7914 8D830000 */ lw $v1, ($t4) -/* 090DC8 800F7918 00042080 */ sll $a0, $a0, 2 -/* 090DCC 800F791C AFAF01A8 */ sw $t7, 0x1a8($sp) -/* 090DD0 800F7920 0060102D */ daddu $v0, $v1, $zero -/* 090DD4 800F7924 24630008 */ addiu $v1, $v1, 8 -/* 090DD8 800F7928 AD830000 */ sw $v1, ($t4) -/* 090DDC 800F792C 8FB2019C */ lw $s2, 0x19c($sp) -/* 090DE0 800F7930 30840FFF */ andi $a0, $a0, 0xfff -/* 090DE4 800F7934 AC580004 */ sw $t8, 4($v0) -/* 090DE8 800F7938 AC520000 */ sw $s2, ($v0) -/* 090DEC 800F793C 24620008 */ addiu $v0, $v1, 8 -/* 090DF0 800F7940 AD820000 */ sw $v0, ($t4) -/* 090DF4 800F7944 8FB901A0 */ lw $t9, 0x1a0($sp) -/* 090DF8 800F7948 24620010 */ addiu $v0, $v1, 0x10 -/* 090DFC 800F794C AC670004 */ sw $a3, 4($v1) -/* 090E00 800F7950 AC790000 */ sw $t9, ($v1) -/* 090E04 800F7954 AD820000 */ sw $v0, ($t4) -/* 090E08 800F7958 3C02E600 */ lui $v0, 0xe600 -/* 090E0C 800F795C AC620008 */ sw $v0, 8($v1) -/* 090E10 800F7960 24620018 */ addiu $v0, $v1, 0x18 -/* 090E14 800F7964 AC60000C */ sw $zero, 0xc($v1) -/* 090E18 800F7968 AD820000 */ sw $v0, ($t4) -/* 090E1C 800F796C 3C02F400 */ lui $v0, 0xf400 -/* 090E20 800F7970 00A21025 */ or $v0, $a1, $v0 -/* 090E24 800F7974 AC620010 */ sw $v0, 0x10($v1) -/* 090E28 800F7978 3C020700 */ lui $v0, 0x700 -/* 090E2C 800F797C 00821025 */ or $v0, $a0, $v0 -/* 090E30 800F7980 02221025 */ or $v0, $s1, $v0 -/* 090E34 800F7984 AC620014 */ sw $v0, 0x14($v1) -/* 090E38 800F7988 24620020 */ addiu $v0, $v1, 0x20 -/* 090E3C 800F798C AD820000 */ sw $v0, ($t4) -/* 090E40 800F7990 24620028 */ addiu $v0, $v1, 0x28 -/* 090E44 800F7994 AC750018 */ sw $s5, 0x18($v1) -/* 090E48 800F7998 AC60001C */ sw $zero, 0x1c($v1) -/* 090E4C 800F799C AD820000 */ sw $v0, ($t4) -/* 090E50 800F79A0 24620030 */ addiu $v0, $v1, 0x30 -/* 090E54 800F79A4 00B62825 */ or $a1, $a1, $s6 -/* 090E58 800F79A8 02242025 */ or $a0, $s1, $a0 -/* 090E5C 800F79AC AC790020 */ sw $t9, 0x20($v1) -/* 090E60 800F79B0 AC680024 */ sw $t0, 0x24($v1) -/* 090E64 800F79B4 AD820000 */ sw $v0, ($t4) -/* 090E68 800F79B8 24620038 */ addiu $v0, $v1, 0x38 -/* 090E6C 800F79BC AC650028 */ sw $a1, 0x28($v1) -/* 090E70 800F79C0 AC64002C */ sw $a0, 0x2c($v1) -/* 090E74 800F79C4 AD820000 */ sw $v0, ($t4) -/* 090E78 800F79C8 AC770030 */ sw $s7, 0x30($v1) -/* 090E7C 800F79CC 8FAE0204 */ lw $t6, 0x204($sp) -/* 090E80 800F79D0 00063080 */ sll $a2, $a2, 2 -/* 090E84 800F79D4 25C200A0 */ addiu $v0, $t6, 0xa0 -/* 090E88 800F79D8 00541023 */ subu $v0, $v0, $s4 -/* 090E8C 800F79DC 2442FFFF */ addiu $v0, $v0, -1 -/* 090E90 800F79E0 00021080 */ sll $v0, $v0, 2 -/* 090E94 800F79E4 30420FFF */ andi $v0, $v0, 0xfff -/* 090E98 800F79E8 00021300 */ sll $v0, $v0, 0xc -/* 090E9C 800F79EC 00461025 */ or $v0, $v0, $a2 -/* 090EA0 800F79F0 AC620034 */ sw $v0, 0x34($v1) -/* 090EA4 800F79F4 24620040 */ addiu $v0, $v1, 0x40 -/* 090EA8 800F79F8 AD820000 */ sw $v0, ($t4) -/* 090EAC 800F79FC 3C028011 */ lui $v0, 0x8011 -/* 090EB0 800F7A00 2442BBC8 */ addiu $v0, $v0, -0x4438 -/* 090EB4 800F7A04 AC690038 */ sw $t1, 0x38($v1) -/* 090EB8 800F7A08 AC62003C */ sw $v0, 0x3c($v1) -/* 090EBC 800F7A0C 24620048 */ addiu $v0, $v1, 0x48 -/* 090EC0 800F7A10 AD820000 */ sw $v0, ($t4) -/* 090EC4 800F7A14 24020406 */ addiu $v0, $zero, 0x406 -/* 090EC8 800F7A18 AC620044 */ sw $v0, 0x44($v1) -/* 090ECC 800F7A1C 24620050 */ addiu $v0, $v1, 0x50 -/* 090ED0 800F7A20 AC6A0040 */ sw $t2, 0x40($v1) -/* 090ED4 800F7A24 AD820000 */ sw $v0, ($t4) -/* 090ED8 800F7A28 24620058 */ addiu $v0, $v1, 0x58 -/* 090EDC 800F7A2C AC750048 */ sw $s5, 0x48($v1) -/* 090EE0 800F7A30 AC60004C */ sw $zero, 0x4c($v1) -/* 090EE4 800F7A34 AD820000 */ sw $v0, ($t4) -/* 090EE8 800F7A38 3C028011 */ lui $v0, 0x8011 -/* 090EEC 800F7A3C 2442BC08 */ addiu $v0, $v0, -0x43f8 -/* 090EF0 800F7A40 AC620054 */ sw $v0, 0x54($v1) -/* 090EF4 800F7A44 026F1023 */ subu $v0, $s3, $t7 -/* 090EF8 800F7A48 01A2102A */ slt $v0, $t5, $v0 -/* 090EFC 800F7A4C 1440FF92 */ bnez $v0, .L800F7898 -/* 090F00 800F7A50 AC6B0050 */ sw $t3, 0x50($v1) -/* 090F04 800F7A54 0803DEA3 */ j .L800F7A8C -/* 090F08 800F7A58 00000000 */ nop - -.L800F7A5C: -/* 090F0C 800F7A5C 93A200E7 */ lbu $v0, 0xe7($sp) -/* 090F10 800F7A60 8FA4022C */ lw $a0, 0x22c($sp) -/* 090F14 800F7A64 8FA501F8 */ lw $a1, 0x1f8($sp) -/* 090F18 800F7A68 8FA601FC */ lw $a2, 0x1fc($sp) -/* 090F1C 800F7A6C 8FA70204 */ lw $a3, 0x204($sp) -/* 090F20 800F7A70 8FAF0208 */ lw $t7, 0x208($sp) -/* 090F24 800F7A74 8FB20228 */ lw $s2, 0x228($sp) -/* 090F28 800F7A78 AFA20014 */ sw $v0, 0x14($sp) -/* 090F2C 800F7A7C 93A200E8 */ lbu $v0, 0xe8($sp) -/* 090F30 800F7A80 AFAF0010 */ sw $t7, 0x10($sp) -/* 090F34 800F7A84 0240F809 */ jalr $s2 -/* 090F38 800F7A88 AFA20018 */ sw $v0, 0x18($sp) -.L800F7A8C: -/* 090F3C 800F7A8C 13C00016 */ beqz $fp, .L800F7AE8 -/* 090F40 800F7A90 3C03D838 */ lui $v1, 0xd838 -/* 090F44 800F7A94 34630002 */ ori $v1, $v1, 2 -/* 090F48 800F7A98 3C06E300 */ lui $a2, 0xe300 -/* 090F4C 800F7A9C 3C04800A */ lui $a0, 0x800a -/* 090F50 800F7AA0 2484A66C */ addiu $a0, $a0, -0x5994 -/* 090F54 800F7AA4 8C820000 */ lw $v0, ($a0) -/* 090F58 800F7AA8 34C60C00 */ ori $a2, $a2, 0xc00 -/* 090F5C 800F7AAC 0040282D */ daddu $a1, $v0, $zero -/* 090F60 800F7AB0 24420008 */ addiu $v0, $v0, 8 -/* 090F64 800F7AB4 AC820000 */ sw $v0, ($a0) -/* 090F68 800F7AB8 ACA30000 */ sw $v1, ($a1) -/* 090F6C 800F7ABC 24030040 */ addiu $v1, $zero, 0x40 -/* 090F70 800F7AC0 ACA30004 */ sw $v1, 4($a1) -/* 090F74 800F7AC4 24430008 */ addiu $v1, $v0, 8 -/* 090F78 800F7AC8 AC830000 */ sw $v1, ($a0) -/* 090F7C 800F7ACC 24430010 */ addiu $v1, $v0, 0x10 -/* 090F80 800F7AD0 AC460000 */ sw $a2, ($v0) -/* 090F84 800F7AD4 AC400004 */ sw $zero, 4($v0) -/* 090F88 800F7AD8 AC830000 */ sw $v1, ($a0) -/* 090F8C 800F7ADC 3C03E700 */ lui $v1, 0xe700 -/* 090F90 800F7AE0 AC430008 */ sw $v1, 8($v0) -/* 090F94 800F7AE4 AC40000C */ sw $zero, 0xc($v0) -.L800F7AE8: -/* 090F98 800F7AE8 0000102D */ daddu $v0, $zero, $zero -.L800F7AEC: -/* 090F9C 800F7AEC 8FBF01D4 */ lw $ra, 0x1d4($sp) -/* 090FA0 800F7AF0 8FBE01D0 */ lw $fp, 0x1d0($sp) -/* 090FA4 800F7AF4 8FB701CC */ lw $s7, 0x1cc($sp) -/* 090FA8 800F7AF8 8FB601C8 */ lw $s6, 0x1c8($sp) -/* 090FAC 800F7AFC 8FB501C4 */ lw $s5, 0x1c4($sp) -/* 090FB0 800F7B00 8FB401C0 */ lw $s4, 0x1c0($sp) -/* 090FB4 800F7B04 8FB301BC */ lw $s3, 0x1bc($sp) -/* 090FB8 800F7B08 8FB201B8 */ lw $s2, 0x1b8($sp) -/* 090FBC 800F7B0C 8FB101B4 */ lw $s1, 0x1b4($sp) -/* 090FC0 800F7B10 8FB001B0 */ lw $s0, 0x1b0($sp) -/* 090FC4 800F7B14 D7B801E8 */ ldc1 $f24, 0x1e8($sp) -/* 090FC8 800F7B18 D7B601E0 */ ldc1 $f22, 0x1e0($sp) -/* 090FCC 800F7B1C D7B401D8 */ ldc1 $f20, 0x1d8($sp) -/* 090FD0 800F7B20 03E00008 */ jr $ra -/* 090FD4 800F7B24 27BD01F0 */ addiu $sp, $sp, 0x1f0 - -/* 090FD8 800F7B28 00000000 */ nop -/* 090FDC 800F7B2C 00000000 */ nop - -.set reorder diff --git a/papermario/globals.inc b/papermario/globals.inc index cda7214d38..b4bd100745 100644 --- a/papermario/globals.inc +++ b/papermario/globals.inc @@ -1994,6 +1994,10 @@ .global func_800DDAE4 .global func_800DDC44 .global func_800DDD94 +.global func_800DE46C +.global func_800DE7E4 +.global func_800DEC04 +.global func_800DF15C .global func_800DF740 .global func_800DFC74 .global func_800DFCF4 @@ -2001,17 +2005,36 @@ .global func_800DFF78 .global func_800E0088 .global func_800E0178 +.global func_800E0208 .global func_800E01A4 .global func_800E01DC .global func_800E0260 .global func_800E06C0 +.global func_800E2304 +.global func_800E24F8 .global func_800E26C4 +.global func_800E27E0 +.global func_800E2D18 .global func_800E306C +.global func_800E3100 .global func_800E315C .global func_800E3514 +.global func_800E363C +.global func_800E4508 +.global func_800E4744 +.global func_800E4BB8 +.global func_800E4F10 .global func_800E5088 .global func_800E52F8 +.global func_800E5348 .global func_800E546C +.global func_800E5520 +.global func_800E5938 +.global func_800E59A0 +.global func_800E5A2C +.global func_800E636C +.global func_800E6B68 +.global func_800E6CE4 .global func_800E96C8 .global func_800E973C .global func_800E97B8 @@ -2019,12 +2042,16 @@ .global func_800E9810 .global func_800E983C .global func_800E984C +.global func_800E9860 .global func_800E9894 .global func_800E98C4 +.global func_800E98D4 .global func_800E98EC .global func_800E9900 .global func_800EA5A4 +.global func_800EB168 .global func_800EB200 +.global func_800EB3E0 .global func_800EB42C .global func_800EB474 .global func_800EB580 @@ -2043,6 +2070,11 @@ .global func_800EF600 .global func_800EF628 .global func_800EFD08 +.global func_800F0C9C +.global func_800F0CB0 +.global func_800F0D5C +.global func_800F0D80 +.global func_800F102C .global func_800F13B0 .global func_800F1538 .global func_800F16CC diff --git a/papermario/papermario.ld b/papermario/papermario.ld index 72be41e830..72b6dd8de4 100644 --- a/papermario/papermario.ld +++ b/papermario/papermario.ld @@ -824,17 +824,57 @@ SECTIONS /* 0x00000000 04E5A0-0759B0 [27410] */ .data0004E5A0 0x0004E5A0 : AT(0x04E5A0) { - build/bin/papermario.04E5A0.bin_759b0_len_27410.o(.data); + build/bin/papermario.04E5A0.bin_4e5a0_len_27410.o(.data); } - /* 0x800DC500 0759B0-090FE0 [1B630] */ + /* 0x800DC500 0759B0-07BB60 [61B0] */ .text800DC500 0x800DC500 : AT(0x0759B0) { - build/asm/giantchunk.o(.text800DC500); + build/asm/code_759b0_len_61b0.o(.text800DC500); + } + + /* 0x800E26B0 07BB60-07FD10 [41B0] */ + .text800E26B0 0x800E26B0 : AT(0x07BB60) { + build/asm/code_7bb60_len_41b0.o(.text800E26B0); + } + + /* 0x800E6860 07FD10-080850 [B40] */ + .text800E6860 0x800E6860 : AT(0x07FD10) { + build/asm/code_7fd10_len_b40.o(.text800E6860); + } + + /* 0x800E73A0 080850-0838B0 [3060] */ + .text800E73A0 0x800E73A0 : AT(0x080850) { + build/asm/code_80850_len_3060.o(.text800E73A0); + } + + /* 0x800EA400 0838B0-0891B0 [5900] */ + .text800EA400 0x800EA400 : AT(0x0838B0) { + build/asm/code_838b0_len_5900.o(.text800EA400); + } + + /* 0x800EFD00 0891B0-08A160 [FB0] */ + .text800EFD00 0x800EFD00 : AT(0x0891B0) { + build/asm/code_891b0_len_fb0.o(.text800EFD00); + } + + /* 0x800F0CB0 08A160-08A860 [700] */ + .text800F0CB0 0x800F0CB0 : AT(0x08A160) { + build/asm/code_8a160_len_700.o(.text800F0CB0); + } + + /* 0x800F13B0 08A860-08E790 [3F30] */ + .text800F13B0 0x800F13B0 : AT(0x08A860) { + build/asm/code_8a860_len_3f30.o(.text800F13B0); + } + + /* 0x800F52E0 08E790-090FE0 [2850] */ + .text800F52E0 0x800F52E0 : AT(0x08E790) { + build/asm/code_8e790_len_2850.o(.text800F52E0); } /* 0x00000000 090FE0-0A5DD0 [14DF0] */ .data00090FE0 0x00090FE0 : AT(0x090FE0) { - build/bin/papermario.090FE0.giantchunk_bin.o(.data); + build/bin/papermario.090FE0.bin_90fe0_len_14df0.o(.data); } /* 0x8010F6D0 0A5DD0-0B72B0 [114E0] */ @@ -899,7 +939,7 @@ SECTIONS /* 0x00000000 0E16B0-0E79B0 [6300] */ .data000E16B0 0x000E16B0 : AT(0x0E16B0) { - build/bin/papermario.0E16B0.bin_e5dd0.o(.data); + build/bin/papermario.0E16B0.bin_e5dd0_len_6300.o(.data); } /* 0x802C3000 0E79B0-0E92D0 [1920] */ @@ -1002,17 +1042,17 @@ SECTIONS build/asm/code_163400.o(.text80242BA0); } - /* 0x00000000 16A3E0-16C8E0 [??] */ + /* 0x00000000 16A3E0-16C8E0 [2500] */ .data0016A3E0 0x0016A3E0 : AT(0x16A3E0) { build/bin/papermario.16A3E0.bin_16a3e0.o(.data); } - /* 0x8023E000 16C8E0-1AF2C0 [??] */ + /* 0x8023E000 16C8E0-1AF2C0 [429E0] */ .text8023E000 0x8023E000 : AT(0x16C8E0) { build/asm/code_16c8e0.o(.text8023E000); } - /* 0x00000000 1AF2C0-3169F0 [??] */ + /* 0x00000000 1AF2C0-3169F0 [167730] */ .data001AF2C0 0x001AF2C0 : AT(0x1AF2C0) { build/bin/papermario.1AF2C0.bin_1AF2C0.o(.data); } @@ -1042,17 +1082,17 @@ SECTIONS build/src/code_316f30.o(.text); } - /* 0x00000000 317020-415D90 ?? */ + /* 0x00000000 317020-415D90 [FED70] */ .data00317020 0x00317020 : AT(0x317020) { build/bin/papermario.317020.bin_317020.o(.data); } - /* 0x802A1000 415D90-4200C0 ?? */ + /* 0x802A1000 415D90-4200C0 [A330] */ .text802A1000 0x802A1000 : AT(0x415D90) { build/asm/code_415D90.o(.text802A1000); } - /* 0x00000000 4200C0-7E0E80 ?? */ + /* 0x00000000 4200C0-7E0E80 [3C0DC0] */ .data004200C0 0x004200C0 : AT(0x4200C0) { build/bin/papermario.4200C0.bin_4200C0.o(.data); }