diff --git a/src/code_FBE10.c b/src/code_FBE10.c index f12c46eaf6..b7349b8a94 100644 --- a/src/code_FBE10.c +++ b/src/code_FBE10.c @@ -1,8 +1,8 @@ #include "common.h" -INCLUDE_ASM(void, "code_fa4c0_len_3bf0", func_802D7460, f32 x, f32 y, f32 z, s32 arg3); +INCLUDE_ASM(void, "code_FBE10", func_802D7460, f32 x, f32 y, f32 z, s32 arg3); -INCLUDE_ASM(void, "code_fa4c0_len_3bf0", func_802D74C0, f32 x, f32 y, f32 z, s32 arg3); +INCLUDE_ASM(void, "code_FBE10", func_802D74C0, f32 x, f32 y, f32 z, s32 arg3); ApiStatus func_802D7520(ScriptInstance* script, s32 isInitialCall) { Bytecode* args = script->ptrReadPos; diff --git a/src/os/code_3CF80.c b/src/os/code_3CF80.c deleted file mode 100644 index 3b5f12d293..0000000000 --- a/src/os/code_3CF80.c +++ /dev/null @@ -1,7 +0,0 @@ -#include "common.h" - -INCLUDE_ASM(s32, "os/controller", osContInit, OSMesgQueue* arg0, u8* arg1, OSContStatus* arg2); - -INCLUDE_ASM(s32, "os/controller", osContGetInitData); - -INCLUDE_ASM(s32, "os/controller", osPackRequestData); diff --git a/src/os/controller.c b/src/os/controller.c index 434d5188be..12210d13e7 100644 --- a/src/os/controller.c +++ b/src/os/controller.c @@ -2,8 +2,8 @@ u32 __osContinitialized = 0; -INCLUDE_ASM(s32, "controller", osContInit, OSMesgQueue* arg0, u8* arg1, OSContStatus* arg2); +INCLUDE_ASM(s32, "os/controller", osContInit, OSMesgQueue* arg0, u8* arg1, OSContStatus* arg2); -INCLUDE_ASM(s32, "controller", osContGetInitData); +INCLUDE_ASM(s32, "os/controller", osContGetInitData); -INCLUDE_ASM(s32, "controller", osPackRequestData); +INCLUDE_ASM(s32, "os/controller", osPackRequestData); diff --git a/ver/us/asm/nonmatchings/code_135EE0/func_80242BA0.s b/ver/us/asm/nonmatchings/code_135EE0/func_80242BA0.s deleted file mode 100644 index d3494fd924..0000000000 --- a/ver/us/asm/nonmatchings/code_135EE0/func_80242BA0.s +++ /dev/null @@ -1,7 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_80242BA0 -/* 135EE0 80242BA0 3C018025 */ lui $at, %hi(gPauseMenuCursorTargetOpacity) -/* 135EE4 80242BA4 03E00008 */ jr $ra -/* 135EE8 80242BA8 AC24EFB0 */ sw $a0, %lo(gPauseMenuCursorTargetOpacity)($at) diff --git a/ver/us/asm/nonmatchings/code_135EE0/func_802434DC.s b/ver/us/asm/nonmatchings/code_135EE0/func_802434DC.s deleted file mode 100644 index 215c5e1bd6..0000000000 --- a/ver/us/asm/nonmatchings/code_135EE0/func_802434DC.s +++ /dev/null @@ -1,41 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802434DC -/* 13681C 802434DC 27BDFFE0 */ addiu $sp, $sp, -0x20 -/* 136820 802434E0 AFB10014 */ sw $s1, 0x14($sp) -/* 136824 802434E4 00A0882D */ daddu $s1, $a1, $zero -/* 136828 802434E8 AFB20018 */ sw $s2, 0x18($sp) -/* 13682C 802434EC 00C0902D */ daddu $s2, $a2, $zero -/* 136830 802434F0 AFBF001C */ sw $ra, 0x1c($sp) -/* 136834 802434F4 0C090B9B */ jal pause_interp_cursor -/* 136838 802434F8 AFB00010 */ sw $s0, 0x10($sp) -/* 13683C 802434FC 3C058025 */ lui $a1, %hi(gPauseMenuCursorOpacity) -/* 136840 80243500 8CA5EFA4 */ lw $a1, %lo(gPauseMenuCursorOpacity)($a1) -/* 136844 80243504 18A00012 */ blez $a1, .L80243550 -/* 136848 80243508 28A20100 */ slti $v0, $a1, 0x100 -/* 13684C 8024350C 50400001 */ beql $v0, $zero, .L80243514 -/* 136850 80243510 240500FF */ addiu $a1, $zero, 0xff -.L80243514: -/* 136854 80243514 3C108027 */ lui $s0, %hi(gPauseMenuCommonIconIDs) -/* 136858 80243518 261000E8 */ addiu $s0, $s0, %lo(gPauseMenuCommonIconIDs) -/* 13685C 8024351C 0C0513AC */ jal icon_set_opacity -/* 136860 80243520 8E040000 */ lw $a0, ($s0) -/* 136864 80243524 8E040000 */ lw $a0, ($s0) -/* 136868 80243528 3C058025 */ lui $a1, %hi(gPauseMenuCursorPosX) -/* 13686C 8024352C 8CA5EF9C */ lw $a1, %lo(gPauseMenuCursorPosX)($a1) -/* 136870 80243530 3C068025 */ lui $a2, %hi(D_8024EFA0) -/* 136874 80243534 8CC6EFA0 */ lw $a2, %lo(D_8024EFA0)($a2) -/* 136878 80243538 02252821 */ addu $a1, $s1, $a1 -/* 13687C 8024353C 0C051261 */ jal set_icon_render_pos -/* 136880 80243540 02463021 */ addu $a2, $s2, $a2 -/* 136884 80243544 8E040000 */ lw $a0, ($s0) -/* 136888 80243548 0C0511F8 */ jal draw_icon_2 -/* 13688C 8024354C 00000000 */ nop -.L80243550: -/* 136890 80243550 8FBF001C */ lw $ra, 0x1c($sp) -/* 136894 80243554 8FB20018 */ lw $s2, 0x18($sp) -/* 136898 80243558 8FB10014 */ lw $s1, 0x14($sp) -/* 13689C 8024355C 8FB00010 */ lw $s0, 0x10($sp) -/* 1368A0 80243560 03E00008 */ jr $ra -/* 1368A4 80243564 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/ver/us/asm/nonmatchings/code_163400/pause_set_cursor_opacity.s b/ver/us/asm/nonmatchings/code_163400/pause_set_cursor_opacity.s deleted file mode 100644 index 315205be0b..0000000000 --- a/ver/us/asm/nonmatchings/code_163400/pause_set_cursor_opacity.s +++ /dev/null @@ -1,144 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel pause_set_cursor_opacity -/* 163400 80242BA0 2882F581 */ slti $v0, $a0, -0xa7f -/* 163404 80242BA4 8FA90014 */ lw $t1, 0x14($sp) -/* 163408 80242BA8 8FAA0018 */ lw $t2, 0x18($sp) -/* 16340C 80242BAC 8FAB001C */ lw $t3, 0x1c($sp) -/* 163410 80242BB0 8FAC0020 */ lw $t4, 0x20($sp) -/* 163414 80242BB4 14400075 */ bnez $v0, .L80242D8C -/* 163418 80242BB8 28A2F581 */ slti $v0, $a1, -0xa7f -/* 16341C 80242BBC 14400073 */ bnez $v0, .L80242D8C -/* 163420 80242BC0 00000000 */ nop -/* 163424 80242BC4 18C00071 */ blez $a2, .L80242D8C -/* 163428 80242BC8 00000000 */ nop -/* 16342C 80242BCC 18E0006F */ blez $a3, .L80242D8C -/* 163430 80242BD0 28820500 */ slti $v0, $a0, 0x500 -/* 163434 80242BD4 1040006D */ beqz $v0, .L80242D8C -/* 163438 80242BD8 28A203C0 */ slti $v0, $a1, 0x3c0 -/* 16343C 80242BDC 1040006B */ beqz $v0, .L80242D8C -/* 163440 80242BE0 28C20A80 */ slti $v0, $a2, 0xa80 -/* 163444 80242BE4 10400069 */ beqz $v0, .L80242D8C -/* 163448 80242BE8 28E20A80 */ slti $v0, $a3, 0xa80 -/* 16344C 80242BEC 10400067 */ beqz $v0, .L80242D8C -/* 163450 80242BF0 00000000 */ nop -/* 163454 80242BF4 3C02800A */ lui $v0, %hi(gMasterGfxPos) -/* 163458 80242BF8 2442A66C */ addiu $v0, $v0, %lo(gMasterGfxPos) -/* 16345C 80242BFC 8C480000 */ lw $t0, ($v0) -/* 163460 80242C00 25030008 */ addiu $v1, $t0, 8 -/* 163464 80242C04 AC430000 */ sw $v1, ($v0) -/* 163468 80242C08 00061400 */ sll $v0, $a2, 0x10 -/* 16346C 80242C0C 00021403 */ sra $v0, $v0, 0x10 -/* 163470 80242C10 18400005 */ blez $v0, .L80242C28 -/* 163474 80242C14 30420FFF */ andi $v0, $v0, 0xfff -/* 163478 80242C18 00021300 */ sll $v0, $v0, 0xc -/* 16347C 80242C1C 3C03E400 */ lui $v1, 0xe400 -/* 163480 80242C20 08090B0B */ j .L80242C2C -/* 163484 80242C24 00431825 */ or $v1, $v0, $v1 -.L80242C28: -/* 163488 80242C28 3C03E400 */ lui $v1, 0xe400 -.L80242C2C: -/* 16348C 80242C2C 00071400 */ sll $v0, $a3, 0x10 -/* 163490 80242C30 00021403 */ sra $v0, $v0, 0x10 -/* 163494 80242C34 18400004 */ blez $v0, .L80242C48 -/* 163498 80242C38 AD030000 */ sw $v1, ($t0) -/* 16349C 80242C3C 30420FFF */ andi $v0, $v0, 0xfff -/* 1634A0 80242C40 00621025 */ or $v0, $v1, $v0 -/* 1634A4 80242C44 AD020000 */ sw $v0, ($t0) -.L80242C48: -/* 1634A8 80242C48 8FA20010 */ lw $v0, 0x10($sp) -/* 1634AC 80242C4C 30420007 */ andi $v0, $v0, 7 -/* 1634B0 80242C50 00021E00 */ sll $v1, $v0, 0x18 -/* 1634B4 80242C54 00041400 */ sll $v0, $a0, 0x10 -/* 1634B8 80242C58 00023403 */ sra $a2, $v0, 0x10 -/* 1634BC 80242C5C 18C00003 */ blez $a2, .L80242C6C -/* 1634C0 80242C60 30C20FFF */ andi $v0, $a2, 0xfff -/* 1634C4 80242C64 00021300 */ sll $v0, $v0, 0xc -/* 1634C8 80242C68 00621825 */ or $v1, $v1, $v0 -.L80242C6C: -/* 1634CC 80242C6C 00051400 */ sll $v0, $a1, 0x10 -/* 1634D0 80242C70 00021403 */ sra $v0, $v0, 0x10 -/* 1634D4 80242C74 18400004 */ blez $v0, .L80242C88 -/* 1634D8 80242C78 AD030004 */ sw $v1, 4($t0) -/* 1634DC 80242C7C 30420FFF */ andi $v0, $v0, 0xfff -/* 1634E0 80242C80 00621025 */ or $v0, $v1, $v0 -/* 1634E4 80242C84 AD020004 */ sw $v0, 4($t0) -.L80242C88: -/* 1634E8 80242C88 3C03800A */ lui $v1, %hi(gMasterGfxPos) -/* 1634EC 80242C8C 2463A66C */ addiu $v1, $v1, %lo(gMasterGfxPos) -/* 1634F0 80242C90 8C620000 */ lw $v0, ($v1) -/* 1634F4 80242C94 0040202D */ daddu $a0, $v0, $zero -/* 1634F8 80242C98 24420008 */ addiu $v0, $v0, 8 -/* 1634FC 80242C9C AC620000 */ sw $v0, ($v1) -/* 163500 80242CA0 3C02E100 */ lui $v0, 0xe100 -/* 163504 80242CA4 AC820000 */ sw $v0, ($a0) -/* 163508 80242CA8 04C10012 */ bgez $a2, .L80242CF4 -/* 16350C 80242CAC 24840004 */ addiu $a0, $a0, 4 -/* 163510 80242CB0 000B1400 */ sll $v0, $t3, 0x10 -/* 163514 80242CB4 00021403 */ sra $v0, $v0, 0x10 -/* 163518 80242CB8 04410007 */ bgez $v0, .L80242CD8 -/* 16351C 80242CBC 00C20018 */ mult $a2, $v0 -/* 163520 80242CC0 00006812 */ mflo $t5 -/* 163524 80242CC4 000D11C3 */ sra $v0, $t5, 7 -/* 163528 80242CC8 04410008 */ bgez $v0, .L80242CEC -/* 16352C 80242CCC 01221023 */ subu $v0, $t1, $v0 -/* 163530 80242CD0 08090B3A */ j .L80242CE8 -/* 163534 80242CD4 0000102D */ daddu $v0, $zero, $zero -.L80242CD8: -/* 163538 80242CD8 00006812 */ mflo $t5 -/* 16353C 80242CDC 000D11C3 */ sra $v0, $t5, 7 -/* 163540 80242CE0 5C400001 */ bgtzl $v0, .L80242CE8 -/* 163544 80242CE4 0000102D */ daddu $v0, $zero, $zero -.L80242CE8: -/* 163548 80242CE8 01221023 */ subu $v0, $t1, $v0 -.L80242CEC: -/* 16354C 80242CEC 08090B3E */ j .L80242CF8 -/* 163550 80242CF0 00023400 */ sll $a2, $v0, 0x10 -.L80242CF4: -/* 163554 80242CF4 00093400 */ sll $a2, $t1, 0x10 -.L80242CF8: -/* 163558 80242CF8 04A10016 */ bgez $a1, .L80242D54 -/* 16355C 80242CFC 3142FFFF */ andi $v0, $t2, 0xffff -/* 163560 80242D00 000C1400 */ sll $v0, $t4, 0x10 -/* 163564 80242D04 00021C03 */ sra $v1, $v0, 0x10 -/* 163568 80242D08 0461000A */ bgez $v1, .L80242D34 -/* 16356C 80242D0C 00051400 */ sll $v0, $a1, 0x10 -/* 163570 80242D10 00021403 */ sra $v0, $v0, 0x10 -/* 163574 80242D14 00430018 */ mult $v0, $v1 -/* 163578 80242D18 00006812 */ mflo $t5 -/* 16357C 80242D1C 000D11C3 */ sra $v0, $t5, 7 -/* 163580 80242D20 04420001 */ bltzl $v0, .L80242D28 -/* 163584 80242D24 0000102D */ daddu $v0, $zero, $zero -.L80242D28: -/* 163588 80242D28 01421023 */ subu $v0, $t2, $v0 -/* 16358C 80242D2C 08090B55 */ j .L80242D54 -/* 163590 80242D30 3042FFFF */ andi $v0, $v0, 0xffff -.L80242D34: -/* 163594 80242D34 00021403 */ sra $v0, $v0, 0x10 -/* 163598 80242D38 00430018 */ mult $v0, $v1 -/* 16359C 80242D3C 00006812 */ mflo $t5 -/* 1635A0 80242D40 000D11C3 */ sra $v0, $t5, 7 -/* 1635A4 80242D44 5C400001 */ bgtzl $v0, .L80242D4C -/* 1635A8 80242D48 0000102D */ daddu $v0, $zero, $zero -.L80242D4C: -/* 1635AC 80242D4C 01421023 */ subu $v0, $t2, $v0 -/* 1635B0 80242D50 3042FFFF */ andi $v0, $v0, 0xffff -.L80242D54: -/* 1635B4 80242D54 00C21025 */ or $v0, $a2, $v0 -/* 1635B8 80242D58 AC820000 */ sw $v0, ($a0) -/* 1635BC 80242D5C 3C03800A */ lui $v1, %hi(gMasterGfxPos) -/* 1635C0 80242D60 2463A66C */ addiu $v1, $v1, %lo(gMasterGfxPos) -/* 1635C4 80242D64 8C620000 */ lw $v0, ($v1) -/* 1635C8 80242D68 0040202D */ daddu $a0, $v0, $zero -/* 1635CC 80242D6C 24420008 */ addiu $v0, $v0, 8 -/* 1635D0 80242D70 AC620000 */ sw $v0, ($v1) -/* 1635D4 80242D74 3C02F100 */ lui $v0, 0xf100 -/* 1635D8 80242D78 AC820000 */ sw $v0, ($a0) -/* 1635DC 80242D7C 000B1400 */ sll $v0, $t3, 0x10 -/* 1635E0 80242D80 3183FFFF */ andi $v1, $t4, 0xffff -/* 1635E4 80242D84 00431025 */ or $v0, $v0, $v1 -/* 1635E8 80242D88 AC820004 */ sw $v0, 4($a0) -.L80242D8C: -/* 1635EC 80242D8C 03E00008 */ jr $ra -/* 1635F0 80242D90 00000000 */ nop diff --git a/ver/us/asm/nonmatchings/code_20ec0_len_5040/DoBasicAI.s b/ver/us/asm/nonmatchings/code_20ec0_len_5040/DoBasicAI.s deleted file mode 100644 index f3935f5d06..0000000000 --- a/ver/us/asm/nonmatchings/code_20ec0_len_5040/DoBasicAI.s +++ /dev/null @@ -1,179 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel DoBasicAI -/* 2587C 8004A47C 27BDFFB0 */ addiu $sp, $sp, -0x50 -/* 25880 8004A480 AFB20038 */ sw $s2, 0x38($sp) -/* 25884 8004A484 0080902D */ daddu $s2, $a0, $zero -/* 25888 8004A488 AFBF0048 */ sw $ra, 0x48($sp) -/* 2588C 8004A48C AFB50044 */ sw $s5, 0x44($sp) -/* 25890 8004A490 AFB40040 */ sw $s4, 0x40($sp) -/* 25894 8004A494 AFB3003C */ sw $s3, 0x3c($sp) -/* 25898 8004A498 AFB10034 */ sw $s1, 0x34($sp) -/* 2589C 8004A49C AFB00030 */ sw $s0, 0x30($sp) -/* 258A0 8004A4A0 8E510148 */ lw $s1, 0x148($s2) -/* 258A4 8004A4A4 86240008 */ lh $a0, 8($s1) -/* 258A8 8004A4A8 0C00EABB */ jal get_npc_unsafe -/* 258AC 8004A4AC 00A0802D */ daddu $s0, $a1, $zero -/* 258B0 8004A4B0 8E43000C */ lw $v1, 0xc($s2) -/* 258B4 8004A4B4 0240202D */ daddu $a0, $s2, $zero -/* 258B8 8004A4B8 8C650000 */ lw $a1, ($v1) -/* 258BC 8004A4BC 0C0B1EAF */ jal get_variable -/* 258C0 8004A4C0 0040A82D */ daddu $s5, $v0, $zero -/* 258C4 8004A4C4 AFA00010 */ sw $zero, 0x10($sp) -/* 258C8 8004A4C8 8E2300D0 */ lw $v1, 0xd0($s1) -/* 258CC 8004A4CC 8C630030 */ lw $v1, 0x30($v1) -/* 258D0 8004A4D0 AFA30014 */ sw $v1, 0x14($sp) -/* 258D4 8004A4D4 8E2300D0 */ lw $v1, 0xd0($s1) -/* 258D8 8004A4D8 8C63001C */ lw $v1, 0x1c($v1) -/* 258DC 8004A4DC AFA30018 */ sw $v1, 0x18($sp) -/* 258E0 8004A4E0 8E2300D0 */ lw $v1, 0xd0($s1) -/* 258E4 8004A4E4 8C630024 */ lw $v1, 0x24($v1) -/* 258E8 8004A4E8 AFA3001C */ sw $v1, 0x1c($sp) -/* 258EC 8004A4EC 8E2300D0 */ lw $v1, 0xd0($s1) -/* 258F0 8004A4F0 8C630028 */ lw $v1, 0x28($v1) -/* 258F4 8004A4F4 27B40010 */ addiu $s4, $sp, 0x10 -/* 258F8 8004A4F8 AFA30020 */ sw $v1, 0x20($sp) -/* 258FC 8004A4FC 8E2300D0 */ lw $v1, 0xd0($s1) -/* 25900 8004A500 3C014282 */ lui $at, 0x4282 -/* 25904 8004A504 44810000 */ mtc1 $at, $f0 -/* 25908 8004A508 8C63002C */ lw $v1, 0x2c($v1) -/* 2590C 8004A50C 0040982D */ daddu $s3, $v0, $zero -/* 25910 8004A510 E7A00028 */ swc1 $f0, 0x28($sp) -/* 25914 8004A514 A7A0002C */ sh $zero, 0x2c($sp) -/* 25918 8004A518 16000005 */ bnez $s0, .L8004A530 -/* 2591C 8004A51C AFA30024 */ sw $v1, 0x24($sp) -/* 25920 8004A520 8E2200B0 */ lw $v0, 0xb0($s1) -/* 25924 8004A524 30420004 */ andi $v0, $v0, 4 -/* 25928 8004A528 1040002B */ beqz $v0, .L8004A5D8 -/* 2592C 8004A52C 00000000 */ nop -.L8004A530: -/* 25930 8004A530 2404F7FF */ addiu $a0, $zero, -0x801 -/* 25934 8004A534 AE400070 */ sw $zero, 0x70($s2) -/* 25938 8004A538 A6A0008E */ sh $zero, 0x8e($s5) -/* 2593C 8004A53C 8E2200CC */ lw $v0, 0xcc($s1) -/* 25940 8004A540 8EA30000 */ lw $v1, ($s5) -/* 25944 8004A544 8C420000 */ lw $v0, ($v0) -/* 25948 8004A548 00641824 */ and $v1, $v1, $a0 -/* 2594C 8004A54C AEA30000 */ sw $v1, ($s5) -/* 25950 8004A550 AEA20028 */ sw $v0, 0x28($s5) -/* 25954 8004A554 8E2200D0 */ lw $v0, 0xd0($s1) -/* 25958 8004A558 8C420034 */ lw $v0, 0x34($v0) -/* 2595C 8004A55C 54400005 */ bnel $v0, $zero, .L8004A574 -/* 25960 8004A560 2402FDFF */ addiu $v0, $zero, -0x201 -/* 25964 8004A564 34620200 */ ori $v0, $v1, 0x200 -/* 25968 8004A568 2403FFF7 */ addiu $v1, $zero, -9 -/* 2596C 8004A56C 0801295F */ j .L8004A57C -/* 25970 8004A570 00431024 */ and $v0, $v0, $v1 -.L8004A574: -/* 25974 8004A574 00621024 */ and $v0, $v1, $v0 -/* 25978 8004A578 34420008 */ ori $v0, $v0, 8 -.L8004A57C: -/* 2597C 8004A57C AEA20000 */ sw $v0, ($s5) -/* 25980 8004A580 8E2200B0 */ lw $v0, 0xb0($s1) -/* 25984 8004A584 30420004 */ andi $v0, $v0, 4 -/* 25988 8004A588 10400004 */ beqz $v0, .L8004A59C -/* 2598C 8004A58C 24020063 */ addiu $v0, $zero, 0x63 -/* 25990 8004A590 AE420070 */ sw $v0, 0x70($s2) -/* 25994 8004A594 0801296D */ j .L8004A5B4 -/* 25998 8004A598 AE400074 */ sw $zero, 0x74($s2) -.L8004A59C: -/* 2599C 8004A59C 8E220000 */ lw $v0, ($s1) -/* 259A0 8004A5A0 3C034000 */ lui $v1, 0x4000 -/* 259A4 8004A5A4 00431024 */ and $v0, $v0, $v1 -/* 259A8 8004A5A8 10400002 */ beqz $v0, .L8004A5B4 -/* 259AC 8004A5AC 2402000C */ addiu $v0, $zero, 0xc -/* 259B0 8004A5B0 AE420070 */ sw $v0, 0x70($s2) -.L8004A5B4: -/* 259B4 8004A5B4 3C05BFFF */ lui $a1, 0xbfff -/* 259B8 8004A5B8 34A5FFFF */ ori $a1, $a1, 0xffff -/* 259BC 8004A5BC 2404FFFB */ addiu $a0, $zero, -5 -/* 259C0 8004A5C0 8E2200B0 */ lw $v0, 0xb0($s1) -/* 259C4 8004A5C4 8E230000 */ lw $v1, ($s1) -/* 259C8 8004A5C8 00441024 */ and $v0, $v0, $a0 -/* 259CC 8004A5CC 00651824 */ and $v1, $v1, $a1 -/* 259D0 8004A5D0 AE2200B0 */ sw $v0, 0xb0($s1) -/* 259D4 8004A5D4 AE230000 */ sw $v1, ($s1) -.L8004A5D8: -/* 259D8 8004A5D8 8E430070 */ lw $v1, 0x70($s2) -/* 259DC 8004A5DC 2C620064 */ sltiu $v0, $v1, 0x64 -/* 259E0 8004A5E0 10400038 */ beqz $v0, .L8004A6C4 -/* 259E4 8004A5E4 00031080 */ sll $v0, $v1, 2 -/* 259E8 8004A5E8 3C01800A */ lui $at, %hi(jtbl_80098728) -/* 259EC 8004A5EC 00220821 */ addu $at, $at, $v0 -/* 259F0 8004A5F0 8C228728 */ lw $v0, %lo(jtbl_80098728)($at) -/* 259F4 8004A5F4 00400008 */ jr $v0 -/* 259F8 8004A5F8 00000000 */ nop -glabel L8004A5FC_259FC -/* 259FC 8004A5FC 0240202D */ daddu $a0, $s2, $zero -/* 25A00 8004A600 0260282D */ daddu $a1, $s3, $zero -/* 25A04 8004A604 0C012568 */ jal func_800495A0 -/* 25A08 8004A608 0280302D */ daddu $a2, $s4, $zero -glabel L8004A60C_25A0C -/* 25A0C 8004A60C 0240202D */ daddu $a0, $s2, $zero -/* 25A10 8004A610 0260282D */ daddu $a1, $s3, $zero -/* 25A14 8004A614 0C0125AE */ jal func_800496B8 -/* 25A18 8004A618 0280302D */ daddu $a2, $s4, $zero -/* 25A1C 8004A61C 080129B1 */ j .L8004A6C4 -/* 25A20 8004A620 00000000 */ nop -glabel L8004A624_25A24 -/* 25A24 8004A624 0240202D */ daddu $a0, $s2, $zero -/* 25A28 8004A628 0260282D */ daddu $a1, $s3, $zero -/* 25A2C 8004A62C 0C0126D1 */ jal base_UnkNpcAIFunc1 -/* 25A30 8004A630 0280302D */ daddu $a2, $s4, $zero -glabel L8004A634_25A34 -/* 25A34 8004A634 0240202D */ daddu $a0, $s2, $zero -/* 25A38 8004A638 0260282D */ daddu $a1, $s3, $zero -/* 25A3C 8004A63C 0C012701 */ jal func_80049C04 -/* 25A40 8004A640 0280302D */ daddu $a2, $s4, $zero -/* 25A44 8004A644 080129B1 */ j .L8004A6C4 -/* 25A48 8004A648 00000000 */ nop -glabel L8004A64C_25A4C -/* 25A4C 8004A64C 0240202D */ daddu $a0, $s2, $zero -/* 25A50 8004A650 0260282D */ daddu $a1, $s3, $zero -/* 25A54 8004A654 0C01278F */ jal func_80049E3C -/* 25A58 8004A658 0280302D */ daddu $a2, $s4, $zero -glabel L8004A65C_25A5C -/* 25A5C 8004A65C 0240202D */ daddu $a0, $s2, $zero -/* 25A60 8004A660 0260282D */ daddu $a1, $s3, $zero -/* 25A64 8004A664 0C0127B3 */ jal func_80049ECC -/* 25A68 8004A668 0280302D */ daddu $a2, $s4, $zero -/* 25A6C 8004A66C 080129B1 */ j .L8004A6C4 -/* 25A70 8004A670 00000000 */ nop -glabel L8004A674_25A74 -/* 25A74 8004A674 0240202D */ daddu $a0, $s2, $zero -/* 25A78 8004A678 0260282D */ daddu $a1, $s3, $zero -/* 25A7C 8004A67C 0C0127DF */ jal func_80049F7C -/* 25A80 8004A680 0280302D */ daddu $a2, $s4, $zero -glabel L8004A684_25A84 -/* 25A84 8004A684 0240202D */ daddu $a0, $s2, $zero -/* 25A88 8004A688 0260282D */ daddu $a1, $s3, $zero -/* 25A8C 8004A68C 0C012849 */ jal func_8004A124 -/* 25A90 8004A690 0280302D */ daddu $a2, $s4, $zero -/* 25A94 8004A694 8E430070 */ lw $v1, 0x70($s2) -/* 25A98 8004A698 2402000E */ addiu $v0, $zero, 0xe -/* 25A9C 8004A69C 14620009 */ bne $v1, $v0, .L8004A6C4 -/* 25AA0 8004A6A0 00000000 */ nop -glabel L8004A6A4_25AA4 -/* 25AA4 8004A6A4 0240202D */ daddu $a0, $s2, $zero -/* 25AA8 8004A6A8 0260282D */ daddu $a1, $s3, $zero -/* 25AAC 8004A6AC 0C0128FA */ jal func_8004A3E8 -/* 25AB0 8004A6B0 0280302D */ daddu $a2, $s4, $zero -/* 25AB4 8004A6B4 080129B1 */ j .L8004A6C4 -/* 25AB8 8004A6B8 00000000 */ nop -glabel L8004A6BC_25ABC -/* 25ABC 8004A6BC 0C0129CF */ jal func_8004A73C -/* 25AC0 8004A6C0 0240202D */ daddu $a0, $s2, $zero -.L8004A6C4: -glabel L8004A6C4_25AC4 -/* 25AC4 8004A6C4 8FBF0048 */ lw $ra, 0x48($sp) -/* 25AC8 8004A6C8 8FB50044 */ lw $s5, 0x44($sp) -/* 25ACC 8004A6CC 8FB40040 */ lw $s4, 0x40($sp) -/* 25AD0 8004A6D0 8FB3003C */ lw $s3, 0x3c($sp) -/* 25AD4 8004A6D4 8FB20038 */ lw $s2, 0x38($sp) -/* 25AD8 8004A6D8 8FB10034 */ lw $s1, 0x34($sp) -/* 25ADC 8004A6DC 8FB00030 */ lw $s0, 0x30($sp) -/* 25AE0 8004A6E0 0000102D */ daddu $v0, $zero, $zero -/* 25AE4 8004A6E4 03E00008 */ jr $ra -/* 25AE8 8004A6E8 27BD0050 */ addiu $sp, $sp, 0x50 -/* 25AEC 8004A6EC 00000000 */ nop diff --git a/ver/us/asm/nonmatchings/code_20ec0_len_5040/func_80048E34.s b/ver/us/asm/nonmatchings/code_20ec0_len_5040/func_80048E34.s deleted file mode 100644 index 4b76451088..0000000000 --- a/ver/us/asm/nonmatchings/code_20ec0_len_5040/func_80048E34.s +++ /dev/null @@ -1,62 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_80048E34 -/* 24234 80048E34 27BDFFE0 */ addiu $sp, $sp, -0x20 -/* 24238 80048E38 AFB00010 */ sw $s0, 0x10($sp) -/* 2423C 80048E3C 0080802D */ daddu $s0, $a0, $zero -/* 24240 80048E40 AFB20018 */ sw $s2, 0x18($sp) -/* 24244 80048E44 00A0902D */ daddu $s2, $a1, $zero -/* 24248 80048E48 AFBF001C */ sw $ra, 0x1c($sp) -/* 2424C 80048E4C AFB10014 */ sw $s1, 0x14($sp) -/* 24250 80048E50 8E02003C */ lw $v0, 0x3c($s0) -/* 24254 80048E54 10400005 */ beqz $v0, .L80048E6C -/* 24258 80048E58 00C0882D */ daddu $s1, $a2, $zero -/* 2425C 80048E5C 8E040054 */ lw $a0, 0x54($s0) -/* 24260 80048E60 0C0B102B */ jal kill_script_by_ID -/* 24264 80048E64 00000000 */ nop -/* 24268 80048E68 AE00003C */ sw $zero, 0x3c($s0) -.L80048E6C: -/* 2426C 80048E6C 8E0200BC */ lw $v0, 0xbc($s0) -/* 24270 80048E70 10400004 */ beqz $v0, .L80048E84 -/* 24274 80048E74 00000000 */ nop -/* 24278 80048E78 0C0B102B */ jal kill_script_by_ID -/* 2427C 80048E7C 8E0400C0 */ lw $a0, 0xc0($s0) -/* 24280 80048E80 AE0000BC */ sw $zero, 0xbc($s0) -.L80048E84: -/* 24284 80048E84 8E020024 */ lw $v0, 0x24($s0) -/* 24288 80048E88 1040000C */ beqz $v0, .L80048EBC -/* 2428C 80048E8C 2405000A */ addiu $a1, $zero, 0xa -/* 24290 80048E90 0040202D */ daddu $a0, $v0, $zero -/* 24294 80048E94 24060020 */ addiu $a2, $zero, 0x20 -/* 24298 80048E98 0C0B0CF8 */ jal start_script -/* 2429C 80048E9C AE1100C8 */ sw $s1, 0xc8($s0) -/* 242A0 80048EA0 0040202D */ daddu $a0, $v0, $zero -/* 242A4 80048EA4 AE04003C */ sw $a0, 0x3c($s0) -/* 242A8 80048EA8 8C820144 */ lw $v0, 0x144($a0) -/* 242AC 80048EAC 86030008 */ lh $v1, 8($s0) -/* 242B0 80048EB0 AE020054 */ sw $v0, 0x54($s0) -/* 242B4 80048EB4 AC83014C */ sw $v1, 0x14c($a0) -/* 242B8 80048EB8 AC900148 */ sw $s0, 0x148($a0) -.L80048EBC: -/* 242BC 80048EBC 8E0200B8 */ lw $v0, 0xb8($s0) -/* 242C0 80048EC0 1040000C */ beqz $v0, .L80048EF4 -/* 242C4 80048EC4 2405000A */ addiu $a1, $zero, 0xa -/* 242C8 80048EC8 0040202D */ daddu $a0, $v0, $zero -/* 242CC 80048ECC 24060020 */ addiu $a2, $zero, 0x20 -/* 242D0 80048ED0 0C0B0CF8 */ jal start_script -/* 242D4 80048ED4 AE1200C4 */ sw $s2, 0xc4($s0) -/* 242D8 80048ED8 0040202D */ daddu $a0, $v0, $zero -/* 242DC 80048EDC AE0400BC */ sw $a0, 0xbc($s0) -/* 242E0 80048EE0 8C820144 */ lw $v0, 0x144($a0) -/* 242E4 80048EE4 86030008 */ lh $v1, 8($s0) -/* 242E8 80048EE8 AE0200C0 */ sw $v0, 0xc0($s0) -/* 242EC 80048EEC AC83014C */ sw $v1, 0x14c($a0) -/* 242F0 80048EF0 AC900148 */ sw $s0, 0x148($a0) -.L80048EF4: -/* 242F4 80048EF4 8FBF001C */ lw $ra, 0x1c($sp) -/* 242F8 80048EF8 8FB20018 */ lw $s2, 0x18($sp) -/* 242FC 80048EFC 8FB10014 */ lw $s1, 0x14($sp) -/* 24300 80048F00 8FB00010 */ lw $s0, 0x10($sp) -/* 24304 80048F04 03E00008 */ jr $ra -/* 24308 80048F08 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/ver/us/asm/nonmatchings/code_20ec0_len_5040/func_800490B4.s b/ver/us/asm/nonmatchings/code_20ec0_len_5040/func_800490B4.s deleted file mode 100644 index dd0c306256..0000000000 --- a/ver/us/asm/nonmatchings/code_20ec0_len_5040/func_800490B4.s +++ /dev/null @@ -1,224 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_800490B4 -/* 244B4 800490B4 27BDFFA0 */ addiu $sp, $sp, -0x60 -/* 244B8 800490B8 F7B60050 */ sdc1 $f22, 0x50($sp) -/* 244BC 800490BC 4486B000 */ mtc1 $a2, $f22 -/* 244C0 800490C0 F7B80058 */ sdc1 $f24, 0x58($sp) -/* 244C4 800490C4 4487C000 */ mtc1 $a3, $f24 -/* 244C8 800490C8 AFB10034 */ sw $s1, 0x34($sp) -/* 244CC 800490CC 0080882D */ daddu $s1, $a0, $zero -/* 244D0 800490D0 AFB3003C */ sw $s3, 0x3c($sp) -/* 244D4 800490D4 00A0982D */ daddu $s3, $a1, $zero -/* 244D8 800490D8 AFBF0044 */ sw $ra, 0x44($sp) -/* 244DC 800490DC AFB40040 */ sw $s4, 0x40($sp) -/* 244E0 800490E0 AFB20038 */ sw $s2, 0x38($sp) -/* 244E4 800490E4 AFB00030 */ sw $s0, 0x30($sp) -/* 244E8 800490E8 F7B40048 */ sdc1 $f20, 0x48($sp) -/* 244EC 800490EC 86640008 */ lh $a0, 8($s3) -/* 244F0 800490F0 0C00EABB */ jal get_npc_unsafe -/* 244F4 800490F4 93B40073 */ lbu $s4, 0x73($sp) -/* 244F8 800490F8 0040802D */ daddu $s0, $v0, $zero -/* 244FC 800490FC 8E6200B0 */ lw $v0, 0xb0($s3) -/* 24500 80049100 3C128011 */ lui $s2, %hi(gPlayerStatus) -/* 24504 80049104 2652EFC8 */ addiu $s2, $s2, %lo(gPlayerStatus) -/* 24508 80049108 30420002 */ andi $v0, $v0, 2 -/* 2450C 8004910C 144000AC */ bnez $v0, .L800493C0 -/* 24510 80049110 0000102D */ daddu $v0, $zero, $zero -/* 24514 80049114 3C048011 */ lui $a0, %hi(D_8010EBB0) -/* 24518 80049118 2484EBB0 */ addiu $a0, $a0, %lo(D_8010EBB0) -/* 2451C 8004911C 80830003 */ lb $v1, 3($a0) -/* 24520 80049120 24020009 */ addiu $v0, $zero, 9 -/* 24524 80049124 14620008 */ bne $v1, $v0, .L80049148 -/* 24528 80049128 24020007 */ addiu $v0, $zero, 7 -/* 2452C 8004912C 80820000 */ lb $v0, ($a0) -/* 24530 80049130 10400005 */ beqz $v0, .L80049148 -/* 24534 80049134 24020007 */ addiu $v0, $zero, 7 -/* 24538 80049138 9622001C */ lhu $v0, 0x1c($s1) -/* 2453C 8004913C 30420001 */ andi $v0, $v0, 1 -/* 24540 80049140 1040009E */ beqz $v0, .L800493BC -/* 24544 80049144 24020007 */ addiu $v0, $zero, 7 -.L80049148: -/* 24548 80049148 14620008 */ bne $v1, $v0, .L8004916C -/* 2454C 8004914C 00000000 */ nop -/* 24550 80049150 80820000 */ lb $v0, ($a0) -/* 24554 80049154 10400005 */ beqz $v0, .L8004916C -/* 24558 80049158 00000000 */ nop -/* 2455C 8004915C 9622001C */ lhu $v0, 0x1c($s1) -/* 24560 80049160 30420001 */ andi $v0, $v0, 1 -/* 24564 80049164 10400096 */ beqz $v0, .L800493C0 -/* 24568 80049168 0000102D */ daddu $v0, $zero, $zero -.L8004916C: -/* 2456C 8004916C 8E220000 */ lw $v0, ($s1) -/* 24570 80049170 04400093 */ bltz $v0, .L800493C0 -/* 24574 80049174 0000102D */ daddu $v0, $zero, $zero -/* 24578 80049178 C600003C */ lwc1 $f0, 0x3c($s0) -/* 2457C 8004917C C642002C */ lwc1 $f2, 0x2c($s2) -/* 24580 80049180 46020001 */ sub.s $f0, $f0, $f2 -/* 24584 80049184 C6220018 */ lwc1 $f2, 0x18($s1) -/* 24588 80049188 46000005 */ abs.s $f0, $f0 -/* 2458C 8004918C 4600103E */ c.le.s $f2, $f0 -/* 24590 80049190 00000000 */ nop -/* 24594 80049194 45000005 */ bc1f .L800491AC -/* 24598 80049198 00000000 */ nop -/* 2459C 8004919C 9622001C */ lhu $v0, 0x1c($s1) -/* 245A0 800491A0 30420002 */ andi $v0, $v0, 2 -/* 245A4 800491A4 10400086 */ beqz $v0, .L800493C0 -/* 245A8 800491A8 0000102D */ daddu $v0, $zero, $zero -.L800491AC: -/* 245AC 800491AC 8E220010 */ lw $v0, 0x10($s1) -/* 245B0 800491B0 8E230014 */ lw $v1, 0x14($s1) -/* 245B4 800491B4 00431025 */ or $v0, $v0, $v1 -/* 245B8 800491B8 10400014 */ beqz $v0, .L8004920C -/* 245BC 800491BC 00000000 */ nop -/* 245C0 800491C0 C6200008 */ lwc1 $f0, 8($s1) -/* 245C4 800491C4 46800020 */ cvt.s.w $f0, $f0 -/* 245C8 800491C8 44050000 */ mfc1 $a1, $f0 -/* 245CC 800491CC C620000C */ lwc1 $f0, 0xc($s1) -/* 245D0 800491D0 46800020 */ cvt.s.w $f0, $f0 -/* 245D4 800491D4 44060000 */ mfc1 $a2, $f0 -/* 245D8 800491D8 C6400030 */ lwc1 $f0, 0x30($s2) -/* 245DC 800491DC 8E470028 */ lw $a3, 0x28($s2) -/* 245E0 800491E0 E7A00010 */ swc1 $f0, 0x10($sp) -/* 245E4 800491E4 C6200010 */ lwc1 $f0, 0x10($s1) -/* 245E8 800491E8 46800020 */ cvt.s.w $f0, $f0 -/* 245EC 800491EC E7A00014 */ swc1 $f0, 0x14($sp) -/* 245F0 800491F0 C6200014 */ lwc1 $f0, 0x14($s1) -/* 245F4 800491F4 46800020 */ cvt.s.w $f0, $f0 -/* 245F8 800491F8 E7A00018 */ swc1 $f0, 0x18($sp) -/* 245FC 800491FC 0C0123F5 */ jal is_point_within_region -/* 24600 80049200 8E240004 */ lw $a0, 4($s1) -/* 24604 80049204 1440006E */ bnez $v0, .L800493C0 -/* 24608 80049208 0000102D */ daddu $v0, $zero, $zero -.L8004920C: -/* 2460C 8004920C 824300B4 */ lb $v1, 0xb4($s2) -/* 24610 80049210 2402001D */ addiu $v0, $zero, 0x1d -/* 24614 80049214 1062006A */ beq $v1, $v0, .L800493C0 -/* 24618 80049218 0000102D */ daddu $v0, $zero, $zero -/* 2461C 8004921C 926200AC */ lbu $v0, 0xac($s3) -/* 24620 80049220 30420001 */ andi $v0, $v0, 1 -/* 24624 80049224 1040002C */ beqz $v0, .L800492D8 -/* 24628 80049228 00000000 */ nop -/* 2462C 8004922C C60C0038 */ lwc1 $f12, 0x38($s0) -/* 24630 80049230 860200A8 */ lh $v0, 0xa8($s0) -/* 24634 80049234 3C013FE0 */ lui $at, 0x3fe0 -/* 24638 80049238 44810800 */ mtc1 $at, $f1 -/* 2463C 8004923C 44800000 */ mtc1 $zero, $f0 -/* 24640 80049240 44821000 */ mtc1 $v0, $f2 -/* 24644 80049244 00000000 */ nop -/* 24648 80049248 468010A1 */ cvt.d.w $f2, $f2 -/* 2464C 8004924C 46201082 */ mul.d $f2, $f2, $f0 -/* 24650 80049250 00000000 */ nop -/* 24654 80049254 C60E0040 */ lwc1 $f14, 0x40($s0) -/* 24658 80049258 8E460028 */ lw $a2, 0x28($s2) -/* 2465C 8004925C 8E470030 */ lw $a3, 0x30($s2) -/* 24660 80049260 46006106 */ mov.s $f4, $f12 -/* 24664 80049264 C600003C */ lwc1 $f0, 0x3c($s0) -/* 24668 80049268 46007186 */ mov.s $f6, $f14 -/* 2466C 8004926C 46000021 */ cvt.d.s $f0, $f0 -/* 24670 80049270 46220000 */ add.d $f0, $f0, $f2 -/* 24674 80049274 E7A40020 */ swc1 $f4, 0x20($sp) -/* 24678 80049278 E7A60028 */ swc1 $f6, 0x28($sp) -/* 2467C 8004927C 46200020 */ cvt.s.d $f0, $f0 -/* 24680 80049280 0C00A7B5 */ jal dist2D -/* 24684 80049284 E7A00024 */ swc1 $f0, 0x24($sp) -/* 24688 80049288 C60C0038 */ lwc1 $f12, 0x38($s0) -/* 2468C 8004928C C60E0040 */ lwc1 $f14, 0x40($s0) -/* 24690 80049290 8E460028 */ lw $a2, 0x28($s2) -/* 24694 80049294 8E470030 */ lw $a3, 0x30($s2) -/* 24698 80049298 0C00A720 */ jal atan2 -/* 2469C 8004929C 46000506 */ mov.s $f20, $f0 -/* 246A0 800492A0 3C040005 */ lui $a0, 5 -/* 246A4 800492A4 27A50020 */ addiu $a1, $sp, 0x20 -/* 246A8 800492A8 27A60024 */ addiu $a2, $sp, 0x24 -/* 246AC 800492AC 3C013DCC */ lui $at, 0x3dcc -/* 246B0 800492B0 3421CCCD */ ori $at, $at, 0xcccd -/* 246B4 800492B4 44811000 */ mtc1 $at, $f2 -/* 246B8 800492B8 27A70028 */ addiu $a3, $sp, 0x28 -/* 246BC 800492BC E7B40010 */ swc1 $f20, 0x10($sp) -/* 246C0 800492C0 E7A00014 */ swc1 $f0, 0x14($sp) -/* 246C4 800492C4 E7A20018 */ swc1 $f2, 0x18($sp) -/* 246C8 800492C8 0C037711 */ jal func_800DDC44 -/* 246CC 800492CC E7A2001C */ swc1 $f2, 0x1c($sp) -/* 246D0 800492D0 1440003B */ bnez $v0, .L800493C0 -/* 246D4 800492D4 0000102D */ daddu $v0, $zero, $zero -.L800492D8: -/* 246D8 800492D8 8E220000 */ lw $v0, ($s1) -/* 246DC 800492DC 14400003 */ bnez $v0, .L800492EC -/* 246E0 800492E0 00000000 */ nop -/* 246E4 800492E4 080124BD */ j .L800492F4 -/* 246E8 800492E8 0000102D */ daddu $v0, $zero, $zero -.L800492EC: -/* 246EC 800492EC 0C00A67F */ jal rand_int -/* 246F0 800492F0 24440001 */ addiu $a0, $v0, 1 -.L800492F4: -/* 246F4 800492F4 14400032 */ bnez $v0, .L800493C0 -/* 246F8 800492F8 0000102D */ daddu $v0, $zero, $zero -/* 246FC 800492FC 926200AC */ lbu $v0, 0xac($s3) -/* 24700 80049300 30420002 */ andi $v0, $v0, 2 -/* 24704 80049304 10400010 */ beqz $v0, .L80049348 -/* 24708 80049308 24020001 */ addiu $v0, $zero, 1 -/* 2470C 8004930C 824300B4 */ lb $v1, 0xb4($s2) -/* 24710 80049310 14620005 */ bne $v1, $v0, .L80049328 -/* 24714 80049314 24020002 */ addiu $v0, $zero, 2 -/* 24718 80049318 3C01800A */ lui $at, %hi(D_80098710) -/* 2471C 8004931C D4228710 */ ldc1 $f2, %lo(D_80098710)($at) -/* 24720 80049320 080124CF */ j .L8004933C -/* 24724 80049324 4600B021 */ cvt.d.s $f0, $f22 -.L80049328: -/* 24728 80049328 14620007 */ bne $v1, $v0, .L80049348 -/* 2472C 8004932C 00000000 */ nop -/* 24730 80049330 3C01800A */ lui $at, %hi(D_80098718) -/* 24734 80049334 D4228718 */ ldc1 $f2, %lo(D_80098718)($at) -/* 24738 80049338 4600B021 */ cvt.d.s $f0, $f22 -.L8004933C: -/* 2473C 8004933C 46220002 */ mul.d $f0, $f0, $f2 -/* 24740 80049340 00000000 */ nop -/* 24744 80049344 462005A0 */ cvt.s.d $f22, $f0 -.L80049348: -/* 24748 80049348 C6000038 */ lwc1 $f0, 0x38($s0) -/* 2474C 8004934C C6020040 */ lwc1 $f2, 0x40($s0) -/* 24750 80049350 328200FF */ andi $v0, $s4, 0xff -/* 24754 80049354 E7A00020 */ swc1 $f0, 0x20($sp) -/* 24758 80049358 10400005 */ beqz $v0, .L80049370 -/* 2475C 8004935C E7A20028 */ swc1 $f2, 0x28($sp) -/* 24760 80049360 4406C000 */ mfc1 $a2, $f24 -/* 24764 80049364 8E07000C */ lw $a3, 0xc($s0) -/* 24768 80049368 080124E4 */ j .L80049390 -/* 2476C 8004936C 27A40020 */ addiu $a0, $sp, 0x20 -.L80049370: -/* 24770 80049370 C6020034 */ lwc1 $f2, 0x34($s0) -/* 24774 80049374 3C014387 */ lui $at, 0x4387 -/* 24778 80049378 44810000 */ mtc1 $at, $f0 -/* 2477C 8004937C 00000000 */ nop -/* 24780 80049380 46020001 */ sub.s $f0, $f0, $f2 -/* 24784 80049384 27A40020 */ addiu $a0, $sp, 0x20 -/* 24788 80049388 4406C000 */ mfc1 $a2, $f24 -/* 2478C 8004938C 44070000 */ mfc1 $a3, $f0 -.L80049390: -/* 24790 80049390 0C00A7E7 */ jal add_vec2D_polar -/* 24794 80049394 27A50028 */ addiu $a1, $sp, 0x28 -/* 24798 80049398 C7AC0020 */ lwc1 $f12, 0x20($sp) -/* 2479C 8004939C C7AE0028 */ lwc1 $f14, 0x28($sp) -/* 247A0 800493A0 8E460028 */ lw $a2, 0x28($s2) -/* 247A4 800493A4 0C00A7B5 */ jal dist2D -/* 247A8 800493A8 8E470030 */ lw $a3, 0x30($s2) -/* 247AC 800493AC 4616003E */ c.le.s $f0, $f22 -/* 247B0 800493B0 00000000 */ nop -/* 247B4 800493B4 45010002 */ bc1t .L800493C0 -/* 247B8 800493B8 24020001 */ addiu $v0, $zero, 1 -.L800493BC: -/* 247BC 800493BC 0000102D */ daddu $v0, $zero, $zero -.L800493C0: -/* 247C0 800493C0 8FBF0044 */ lw $ra, 0x44($sp) -/* 247C4 800493C4 8FB40040 */ lw $s4, 0x40($sp) -/* 247C8 800493C8 8FB3003C */ lw $s3, 0x3c($sp) -/* 247CC 800493CC 8FB20038 */ lw $s2, 0x38($sp) -/* 247D0 800493D0 8FB10034 */ lw $s1, 0x34($sp) -/* 247D4 800493D4 8FB00030 */ lw $s0, 0x30($sp) -/* 247D8 800493D8 D7B80058 */ ldc1 $f24, 0x58($sp) -/* 247DC 800493DC D7B60050 */ ldc1 $f22, 0x50($sp) -/* 247E0 800493E0 D7B40048 */ ldc1 $f20, 0x48($sp) -/* 247E4 800493E4 03E00008 */ jr $ra -/* 247E8 800493E8 27BD0060 */ addiu $sp, $sp, 0x60 diff --git a/ver/us/asm/nonmatchings/code_20ec0_len_5040/func_800495A0.s b/ver/us/asm/nonmatchings/code_20ec0_len_5040/func_800495A0.s deleted file mode 100644 index cf4485b412..0000000000 --- a/ver/us/asm/nonmatchings/code_20ec0_len_5040/func_800495A0.s +++ /dev/null @@ -1,76 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_800495A0 -/* 249A0 800495A0 27BDFFD8 */ addiu $sp, $sp, -0x28 -/* 249A4 800495A4 AFB3001C */ sw $s3, 0x1c($sp) -/* 249A8 800495A8 0080982D */ daddu $s3, $a0, $zero -/* 249AC 800495AC AFBF0020 */ sw $ra, 0x20($sp) -/* 249B0 800495B0 AFB20018 */ sw $s2, 0x18($sp) -/* 249B4 800495B4 AFB10014 */ sw $s1, 0x14($sp) -/* 249B8 800495B8 AFB00010 */ sw $s0, 0x10($sp) -/* 249BC 800495BC 8E710148 */ lw $s1, 0x148($s3) -/* 249C0 800495C0 86240008 */ lh $a0, 8($s1) -/* 249C4 800495C4 0C00EABB */ jal get_npc_unsafe -/* 249C8 800495C8 00A0902D */ daddu $s2, $a1, $zero -/* 249CC 800495CC 8E440004 */ lw $a0, 4($s2) -/* 249D0 800495D0 0040802D */ daddu $s0, $v0, $zero -/* 249D4 800495D4 00041FC2 */ srl $v1, $a0, 0x1f -/* 249D8 800495D8 00832021 */ addu $a0, $a0, $v1 -/* 249DC 800495DC 00042043 */ sra $a0, $a0, 1 -/* 249E0 800495E0 0C00A67F */ jal rand_int -/* 249E4 800495E4 24840001 */ addiu $a0, $a0, 1 -/* 249E8 800495E8 8E430004 */ lw $v1, 4($s2) -/* 249EC 800495EC 2404003C */ addiu $a0, $zero, 0x3c -/* 249F0 800495F0 00032FC2 */ srl $a1, $v1, 0x1f -/* 249F4 800495F4 00651821 */ addu $v1, $v1, $a1 -/* 249F8 800495F8 00031843 */ sra $v1, $v1, 1 -/* 249FC 800495FC 00621821 */ addu $v1, $v1, $v0 -/* 24A00 80049600 0C00A67F */ jal rand_int -/* 24A04 80049604 A603008E */ sh $v1, 0x8e($s0) -/* 24A08 80049608 C60C000C */ lwc1 $f12, 0xc($s0) -/* 24A0C 8004960C 44820000 */ mtc1 $v0, $f0 -/* 24A10 80049610 00000000 */ nop -/* 24A14 80049614 46800020 */ cvt.s.w $f0, $f0 -/* 24A18 80049618 46006300 */ add.s $f12, $f12, $f0 -/* 24A1C 8004961C 3C0141F0 */ lui $at, 0x41f0 -/* 24A20 80049620 44810000 */ mtc1 $at, $f0 -/* 24A24 80049624 0C00A6C9 */ jal clamp_angle -/* 24A28 80049628 46006301 */ sub.s $f12, $f12, $f0 -/* 24A2C 8004962C E600000C */ swc1 $f0, 0xc($s0) -/* 24A30 80049630 8E2200CC */ lw $v0, 0xcc($s1) -/* 24A34 80049634 8C420004 */ lw $v0, 4($v0) -/* 24A38 80049638 AE020028 */ sw $v0, 0x28($s0) -/* 24A3C 8004963C AE600074 */ sw $zero, 0x74($s3) -/* 24A40 80049640 8E2200D0 */ lw $v0, 0xd0($s1) -/* 24A44 80049644 8C420014 */ lw $v0, 0x14($v0) -/* 24A48 80049648 04410004 */ bgez $v0, .L8004965C -/* 24A4C 8004964C 00000000 */ nop -/* 24A50 80049650 C6400000 */ lwc1 $f0, ($s2) -/* 24A54 80049654 0801259F */ j .L8004967C -/* 24A58 80049658 E6000018 */ swc1 $f0, 0x18($s0) -.L8004965C: -/* 24A5C 8004965C 3C01800A */ lui $at, %hi(D_80098720) -/* 24A60 80049660 D4228720 */ ldc1 $f2, %lo(D_80098720)($at) -/* 24A64 80049664 44820000 */ mtc1 $v0, $f0 -/* 24A68 80049668 00000000 */ nop -/* 24A6C 8004966C 46800021 */ cvt.d.w $f0, $f0 -/* 24A70 80049670 46220003 */ div.d $f0, $f0, $f2 -/* 24A74 80049674 46200020 */ cvt.s.d $f0, $f0 -/* 24A78 80049678 E6000018 */ swc1 $f0, 0x18($s0) -.L8004967C: -/* 24A7C 8004967C 8E2200B0 */ lw $v0, 0xb0($s1) -/* 24A80 80049680 2403FFBF */ addiu $v1, $zero, -0x41 -/* 24A84 80049684 00431024 */ and $v0, $v0, $v1 -/* 24A88 80049688 2403FFDF */ addiu $v1, $zero, -0x21 -/* 24A8C 8004968C 00431024 */ and $v0, $v0, $v1 -/* 24A90 80049690 AE2200B0 */ sw $v0, 0xb0($s1) -/* 24A94 80049694 24020001 */ addiu $v0, $zero, 1 -/* 24A98 80049698 AE620070 */ sw $v0, 0x70($s3) -/* 24A9C 8004969C 8FBF0020 */ lw $ra, 0x20($sp) -/* 24AA0 800496A0 8FB3001C */ lw $s3, 0x1c($sp) -/* 24AA4 800496A4 8FB20018 */ lw $s2, 0x18($sp) -/* 24AA8 800496A8 8FB10014 */ lw $s1, 0x14($sp) -/* 24AAC 800496AC 8FB00010 */ lw $s0, 0x10($sp) -/* 24AB0 800496B0 03E00008 */ jr $ra -/* 24AB4 800496B4 27BD0028 */ addiu $sp, $sp, 0x28 diff --git a/ver/us/asm/nonmatchings/code_20ec0_len_5040/func_800496B8.s b/ver/us/asm/nonmatchings/code_20ec0_len_5040/func_800496B8.s deleted file mode 100644 index e53409d06e..0000000000 --- a/ver/us/asm/nonmatchings/code_20ec0_len_5040/func_800496B8.s +++ /dev/null @@ -1,305 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_800496B8 -/* 24AB8 800496B8 27BDFFA0 */ addiu $sp, $sp, -0x60 -/* 24ABC 800496BC AFB3004C */ sw $s3, 0x4c($sp) -/* 24AC0 800496C0 0080982D */ daddu $s3, $a0, $zero -/* 24AC4 800496C4 AFB40050 */ sw $s4, 0x50($sp) -/* 24AC8 800496C8 00A0A02D */ daddu $s4, $a1, $zero -/* 24ACC 800496CC AFBF0058 */ sw $ra, 0x58($sp) -/* 24AD0 800496D0 AFB50054 */ sw $s5, 0x54($sp) -/* 24AD4 800496D4 AFB20048 */ sw $s2, 0x48($sp) -/* 24AD8 800496D8 AFB10044 */ sw $s1, 0x44($sp) -/* 24ADC 800496DC AFB00040 */ sw $s0, 0x40($sp) -/* 24AE0 800496E0 8E710148 */ lw $s1, 0x148($s3) -/* 24AE4 800496E4 00C0902D */ daddu $s2, $a2, $zero -/* 24AE8 800496E8 86240008 */ lh $a0, 8($s1) -/* 24AEC 800496EC 0C00EABB */ jal get_npc_unsafe -/* 24AF0 800496F0 0000A82D */ daddu $s5, $zero, $zero -/* 24AF4 800496F4 8E830014 */ lw $v1, 0x14($s4) -/* 24AF8 800496F8 0460005D */ bltz $v1, .L80049870 -/* 24AFC 800496FC 0040802D */ daddu $s0, $v0, $zero -/* 24B00 80049700 8E620074 */ lw $v0, 0x74($s3) -/* 24B04 80049704 1C400059 */ bgtz $v0, .L8004986C -/* 24B08 80049708 2442FFFF */ addiu $v0, $v0, -1 -/* 24B0C 8004970C 0240202D */ daddu $a0, $s2, $zero -/* 24B10 80049710 AE630074 */ sw $v1, 0x74($s3) -/* 24B14 80049714 AFA00010 */ sw $zero, 0x10($sp) -/* 24B18 80049718 8E86000C */ lw $a2, 0xc($s4) -/* 24B1C 8004971C 8E870010 */ lw $a3, 0x10($s4) -/* 24B20 80049720 0C01242D */ jal func_800490B4 -/* 24B24 80049724 0220282D */ daddu $a1, $s1, $zero -/* 24B28 80049728 1040004E */ beqz $v0, .L80049864 -/* 24B2C 8004972C 00000000 */ nop -/* 24B30 80049730 C60C0038 */ lwc1 $f12, 0x38($s0) -/* 24B34 80049734 3C02800F */ lui $v0, %hi(gPlayerStatusPtr) -/* 24B38 80049738 8C427B30 */ lw $v0, %lo(gPlayerStatusPtr)($v0) -/* 24B3C 8004973C C60E0040 */ lwc1 $f14, 0x40($s0) -/* 24B40 80049740 C602003C */ lwc1 $f2, 0x3c($s0) -/* 24B44 80049744 46006006 */ mov.s $f0, $f12 -/* 24B48 80049748 8C460028 */ lw $a2, 0x28($v0) -/* 24B4C 8004974C 8C470030 */ lw $a3, 0x30($v0) -/* 24B50 80049750 46007106 */ mov.s $f4, $f14 -/* 24B54 80049754 E7A00028 */ swc1 $f0, 0x28($sp) -/* 24B58 80049758 E7A2002C */ swc1 $f2, 0x2c($sp) -/* 24B5C 8004975C 0C00A720 */ jal atan2 -/* 24B60 80049760 E7A40030 */ swc1 $f4, 0x30($sp) -/* 24B64 80049764 C6820018 */ lwc1 $f2, 0x18($s4) -/* 24B68 80049768 E7A00038 */ swc1 $f0, 0x38($sp) -/* 24B6C 8004976C E7A00014 */ swc1 $f0, 0x14($sp) -/* 24B70 80049770 E7A20010 */ swc1 $f2, 0x10($sp) -/* 24B74 80049774 860200A8 */ lh $v0, 0xa8($s0) -/* 24B78 80049778 27A50028 */ addiu $a1, $sp, 0x28 -/* 24B7C 8004977C 44820000 */ mtc1 $v0, $f0 -/* 24B80 80049780 00000000 */ nop -/* 24B84 80049784 46800020 */ cvt.s.w $f0, $f0 -/* 24B88 80049788 E7A00018 */ swc1 $f0, 0x18($sp) -/* 24B8C 8004978C 860200A6 */ lh $v0, 0xa6($s0) -/* 24B90 80049790 27A6002C */ addiu $a2, $sp, 0x2c -/* 24B94 80049794 44820000 */ mtc1 $v0, $f0 -/* 24B98 80049798 00000000 */ nop -/* 24B9C 8004979C 46800020 */ cvt.s.w $f0, $f0 -/* 24BA0 800497A0 E7A0001C */ swc1 $f0, 0x1c($sp) -/* 24BA4 800497A4 8E040080 */ lw $a0, 0x80($s0) -/* 24BA8 800497A8 0C037711 */ jal func_800DDC44 -/* 24BAC 800497AC 27A70030 */ addiu $a3, $sp, 0x30 -/* 24BB0 800497B0 1440002C */ bnez $v0, .L80049864 -/* 24BB4 800497B4 0200202D */ daddu $a0, $s0, $zero -/* 24BB8 800497B8 240502F4 */ addiu $a1, $zero, 0x2f4 -/* 24BBC 800497BC C7A00038 */ lwc1 $f0, 0x38($sp) -/* 24BC0 800497C0 3C060020 */ lui $a2, 0x20 -/* 24BC4 800497C4 0C012530 */ jal func_800494C0 -/* 24BC8 800497C8 E600000C */ swc1 $f0, 0xc($s0) -/* 24BCC 800497CC 02A0202D */ daddu $a0, $s5, $zero -/* 24BD0 800497D0 0200282D */ daddu $a1, $s0, $zero -/* 24BD4 800497D4 0000302D */ daddu $a2, $zero, $zero -/* 24BD8 800497D8 84A300A8 */ lh $v1, 0xa8($a1) -/* 24BDC 800497DC 3C013F80 */ lui $at, 0x3f80 -/* 24BE0 800497E0 44810000 */ mtc1 $at, $f0 -/* 24BE4 800497E4 3C014000 */ lui $at, 0x4000 -/* 24BE8 800497E8 44811000 */ mtc1 $at, $f2 -/* 24BEC 800497EC 3C01C1A0 */ lui $at, 0xc1a0 -/* 24BF0 800497F0 44812000 */ mtc1 $at, $f4 -/* 24BF4 800497F4 2402000F */ addiu $v0, $zero, 0xf -/* 24BF8 800497F8 AFA2001C */ sw $v0, 0x1c($sp) -/* 24BFC 800497FC 44833000 */ mtc1 $v1, $f6 -/* 24C00 80049800 00000000 */ nop -/* 24C04 80049804 468031A0 */ cvt.s.w $f6, $f6 -/* 24C08 80049808 44073000 */ mfc1 $a3, $f6 -/* 24C0C 8004980C 27A20034 */ addiu $v0, $sp, 0x34 -/* 24C10 80049810 AFA20020 */ sw $v0, 0x20($sp) -/* 24C14 80049814 E7A00010 */ swc1 $f0, 0x10($sp) -/* 24C18 80049818 E7A20014 */ swc1 $f2, 0x14($sp) -/* 24C1C 8004981C 0C01BFA4 */ jal fx_emote -/* 24C20 80049820 E7A40018 */ swc1 $f4, 0x18($sp) -/* 24C24 80049824 2403FFBF */ addiu $v1, $zero, -0x41 -/* 24C28 80049828 8E2200B0 */ lw $v0, 0xb0($s1) -/* 24C2C 8004982C 8E240018 */ lw $a0, 0x18($s1) -/* 24C30 80049830 00431024 */ and $v0, $v0, $v1 -/* 24C34 80049834 2403FFDF */ addiu $v1, $zero, -0x21 -/* 24C38 80049838 00431024 */ and $v0, $v0, $v1 -/* 24C3C 8004983C AE2200B0 */ sw $v0, 0xb0($s1) -/* 24C40 80049840 9482002A */ lhu $v0, 0x2a($a0) -/* 24C44 80049844 30420001 */ andi $v0, $v0, 1 -/* 24C48 80049848 10400003 */ beqz $v0, .L80049858 -/* 24C4C 8004984C 2402000A */ addiu $v0, $zero, 0xa -/* 24C50 80049850 080126C8 */ j .L80049B20 -/* 24C54 80049854 AE620070 */ sw $v0, 0x70($s3) -.L80049858: -/* 24C58 80049858 2402000C */ addiu $v0, $zero, 0xc -/* 24C5C 8004985C 080126C8 */ j .L80049B20 -/* 24C60 80049860 AE620070 */ sw $v0, 0x70($s3) -.L80049864: -/* 24C64 80049864 8E620074 */ lw $v0, 0x74($s3) -/* 24C68 80049868 2442FFFF */ addiu $v0, $v0, -1 -.L8004986C: -/* 24C6C 8004986C AE620074 */ sw $v0, 0x74($s3) -.L80049870: -/* 24C70 80049870 8E2300D0 */ lw $v1, 0xd0($s1) -/* 24C74 80049874 C6000040 */ lwc1 $f0, 0x40($s0) -/* 24C78 80049878 C4620000 */ lwc1 $f2, ($v1) -/* 24C7C 8004987C 468010A0 */ cvt.s.w $f2, $f2 -/* 24C80 80049880 C4640008 */ lwc1 $f4, 8($v1) -/* 24C84 80049884 46802120 */ cvt.s.w $f4, $f4 -/* 24C88 80049888 E7A00010 */ swc1 $f0, 0x10($sp) -/* 24C8C 8004988C 8E2200D0 */ lw $v0, 0xd0($s1) -/* 24C90 80049890 44051000 */ mfc1 $a1, $f2 -/* 24C94 80049894 C440000C */ lwc1 $f0, 0xc($v0) -/* 24C98 80049898 46800020 */ cvt.s.w $f0, $f0 -/* 24C9C 8004989C E7A00014 */ swc1 $f0, 0x14($sp) -/* 24CA0 800498A0 8E2200D0 */ lw $v0, 0xd0($s1) -/* 24CA4 800498A4 44062000 */ mfc1 $a2, $f4 -/* 24CA8 800498A8 C4400010 */ lwc1 $f0, 0x10($v0) -/* 24CAC 800498AC 46800020 */ cvt.s.w $f0, $f0 -/* 24CB0 800498B0 E7A00018 */ swc1 $f0, 0x18($sp) -/* 24CB4 800498B4 8C640018 */ lw $a0, 0x18($v1) -/* 24CB8 800498B8 0C0123F5 */ jal is_point_within_region -/* 24CBC 800498BC 8E070038 */ lw $a3, 0x38($s0) -/* 24CC0 800498C0 10400064 */ beqz $v0, .L80049A54 -/* 24CC4 800498C4 00000000 */ nop -/* 24CC8 800498C8 8E060038 */ lw $a2, 0x38($s0) -/* 24CCC 800498CC 8E2200D0 */ lw $v0, 0xd0($s1) -/* 24CD0 800498D0 8E070040 */ lw $a3, 0x40($s0) -/* 24CD4 800498D4 C44C0000 */ lwc1 $f12, ($v0) -/* 24CD8 800498D8 46806320 */ cvt.s.w $f12, $f12 -/* 24CDC 800498DC C44E0008 */ lwc1 $f14, 8($v0) -/* 24CE0 800498E0 0C00A7B5 */ jal dist2D -/* 24CE4 800498E4 468073A0 */ cvt.s.w $f14, $f14 -/* 24CE8 800498E8 C6020018 */ lwc1 $f2, 0x18($s0) -/* 24CEC 800498EC 4600103C */ c.lt.s $f2, $f0 -/* 24CF0 800498F0 00000000 */ nop -/* 24CF4 800498F4 45000057 */ bc1f .L80049A54 -/* 24CF8 800498F8 00000000 */ nop -/* 24CFC 800498FC 8E2300B0 */ lw $v1, 0xb0($s1) -/* 24D00 80049900 30620020 */ andi $v0, $v1, 0x20 -/* 24D04 80049904 14400002 */ bnez $v0, .L80049910 -/* 24D08 80049908 34620060 */ ori $v0, $v1, 0x60 -/* 24D0C 8004990C AE2200B0 */ sw $v0, 0xb0($s1) -.L80049910: -/* 24D10 80049910 8E2200B0 */ lw $v0, 0xb0($s1) -/* 24D14 80049914 30420040 */ andi $v0, $v0, 0x40 -/* 24D18 80049918 10400013 */ beqz $v0, .L80049968 -/* 24D1C 8004991C 00000000 */ nop -/* 24D20 80049920 C60C0038 */ lwc1 $f12, 0x38($s0) -/* 24D24 80049924 8E2200D0 */ lw $v0, 0xd0($s1) -/* 24D28 80049928 C60E0040 */ lwc1 $f14, 0x40($s0) -/* 24D2C 8004992C C4460000 */ lwc1 $f6, ($v0) -/* 24D30 80049930 468031A0 */ cvt.s.w $f6, $f6 -/* 24D34 80049934 44063000 */ mfc1 $a2, $f6 -/* 24D38 80049938 C4460008 */ lwc1 $f6, 8($v0) -/* 24D3C 8004993C 468031A0 */ cvt.s.w $f6, $f6 -/* 24D40 80049940 44073000 */ mfc1 $a3, $f6 -/* 24D44 80049944 0C00A720 */ jal atan2 -/* 24D48 80049948 00000000 */ nop -/* 24D4C 8004994C 0C00A6C9 */ jal clamp_angle -/* 24D50 80049950 46000306 */ mov.s $f12, $f0 -/* 24D54 80049954 E600000C */ swc1 $f0, 0xc($s0) -/* 24D58 80049958 8E2200B0 */ lw $v0, 0xb0($s1) -/* 24D5C 8004995C 2403FFBF */ addiu $v1, $zero, -0x41 -/* 24D60 80049960 00431024 */ and $v0, $v0, $v1 -/* 24D64 80049964 AE2200B0 */ sw $v0, 0xb0($s1) -.L80049968: -/* 24D68 80049968 C6000018 */ lwc1 $f0, 0x18($s0) -/* 24D6C 8004996C C6020038 */ lwc1 $f2, 0x38($s0) -/* 24D70 80049970 46000021 */ cvt.d.s $f0, $f0 -/* 24D74 80049974 E7A20028 */ swc1 $f2, 0x28($sp) -/* 24D78 80049978 C602003C */ lwc1 $f2, 0x3c($s0) -/* 24D7C 8004997C C6040040 */ lwc1 $f4, 0x40($s0) -/* 24D80 80049980 46200000 */ add.d $f0, $f0, $f0 -/* 24D84 80049984 E7A2002C */ swc1 $f2, 0x2c($sp) -/* 24D88 80049988 E7A40030 */ swc1 $f4, 0x30($sp) -/* 24D8C 8004998C 46200020 */ cvt.s.d $f0, $f0 -/* 24D90 80049990 E7A00010 */ swc1 $f0, 0x10($sp) -/* 24D94 80049994 C600000C */ lwc1 $f0, 0xc($s0) -/* 24D98 80049998 E7A00014 */ swc1 $f0, 0x14($sp) -/* 24D9C 8004999C 860200A8 */ lh $v0, 0xa8($s0) -/* 24DA0 800499A0 27A50028 */ addiu $a1, $sp, 0x28 -/* 24DA4 800499A4 44820000 */ mtc1 $v0, $f0 -/* 24DA8 800499A8 00000000 */ nop -/* 24DAC 800499AC 46800020 */ cvt.s.w $f0, $f0 -/* 24DB0 800499B0 E7A00018 */ swc1 $f0, 0x18($sp) -/* 24DB4 800499B4 860200A6 */ lh $v0, 0xa6($s0) -/* 24DB8 800499B8 27A6002C */ addiu $a2, $sp, 0x2c -/* 24DBC 800499BC 44820000 */ mtc1 $v0, $f0 -/* 24DC0 800499C0 00000000 */ nop -/* 24DC4 800499C4 46800020 */ cvt.s.w $f0, $f0 -/* 24DC8 800499C8 E7A0001C */ swc1 $f0, 0x1c($sp) -/* 24DCC 800499CC 8E040080 */ lw $a0, 0x80($s0) -/* 24DD0 800499D0 0C037711 */ jal func_800DDC44 -/* 24DD4 800499D4 27A70030 */ addiu $a3, $sp, 0x30 -/* 24DD8 800499D8 10400026 */ beqz $v0, .L80049A74 -/* 24DDC 800499DC 24150001 */ addiu $s5, $zero, 1 -/* 24DE0 800499E0 C60C0038 */ lwc1 $f12, 0x38($s0) -/* 24DE4 800499E4 8E2200D0 */ lw $v0, 0xd0($s1) -/* 24DE8 800499E8 C60E0040 */ lwc1 $f14, 0x40($s0) -/* 24DEC 800499EC C4460000 */ lwc1 $f6, ($v0) -/* 24DF0 800499F0 468031A0 */ cvt.s.w $f6, $f6 -/* 24DF4 800499F4 44063000 */ mfc1 $a2, $f6 -/* 24DF8 800499F8 C4460008 */ lwc1 $f6, 8($v0) -/* 24DFC 800499FC 468031A0 */ cvt.s.w $f6, $f6 -/* 24E00 80049A00 44073000 */ mfc1 $a3, $f6 -/* 24E04 80049A04 0C00A720 */ jal atan2 -/* 24E08 80049A08 00000000 */ nop -/* 24E0C 80049A0C 0C00A6C9 */ jal clamp_angle -/* 24E10 80049A10 46000306 */ mov.s $f12, $f0 -/* 24E14 80049A14 0200202D */ daddu $a0, $s0, $zero -/* 24E18 80049A18 27A60038 */ addiu $a2, $sp, 0x38 -/* 24E1C 80049A1C 0000382D */ daddu $a3, $zero, $zero -/* 24E20 80049A20 2403FFBF */ addiu $v1, $zero, -0x41 -/* 24E24 80049A24 E7A00038 */ swc1 $f0, 0x38($sp) -/* 24E28 80049A28 8E2200B0 */ lw $v0, 0xb0($s1) -/* 24E2C 80049A2C 3C0540A0 */ lui $a1, 0x40a0 -/* 24E30 80049A30 00431024 */ and $v0, $v0, $v1 -/* 24E34 80049A34 AE2200B0 */ sw $v0, 0xb0($s1) -/* 24E38 80049A38 AFA00010 */ sw $zero, 0x10($sp) -/* 24E3C 80049A3C 0C0129E1 */ jal func_8004A784 -/* 24E40 80049A40 AFA00014 */ sw $zero, 0x14($sp) -/* 24E44 80049A44 C7A00038 */ lwc1 $f0, 0x38($sp) -/* 24E48 80049A48 E600000C */ swc1 $f0, 0xc($s0) -/* 24E4C 80049A4C 0801269D */ j .L80049A74 -/* 24E50 80049A50 24150001 */ addiu $s5, $zero, 1 -.L80049A54: -/* 24E54 80049A54 8E2300B0 */ lw $v1, 0xb0($s1) -/* 24E58 80049A58 30620020 */ andi $v0, $v1, 0x20 -/* 24E5C 80049A5C 10400005 */ beqz $v0, .L80049A74 -/* 24E60 80049A60 2402FFDF */ addiu $v0, $zero, -0x21 -/* 24E64 80049A64 00621024 */ and $v0, $v1, $v0 -/* 24E68 80049A68 2403FFBF */ addiu $v1, $zero, -0x41 -/* 24E6C 80049A6C 00431024 */ and $v0, $v0, $v1 -/* 24E70 80049A70 AE2200B0 */ sw $v0, 0xb0($s1) -.L80049A74: -/* 24E74 80049A74 8E2200D0 */ lw $v0, 0xd0($s1) -/* 24E78 80049A78 8C43000C */ lw $v1, 0xc($v0) -/* 24E7C 80049A7C 8C420010 */ lw $v0, 0x10($v0) -/* 24E80 80049A80 00621825 */ or $v1, $v1, $v0 -/* 24E84 80049A84 00751825 */ or $v1, $v1, $s5 -/* 24E88 80049A88 10600008 */ beqz $v1, .L80049AAC -/* 24E8C 80049A8C 00000000 */ nop -/* 24E90 80049A90 8602008C */ lh $v0, 0x8c($s0) -/* 24E94 80049A94 14400022 */ bnez $v0, .L80049B20 -/* 24E98 80049A98 00000000 */ nop -/* 24E9C 80049A9C 8E050018 */ lw $a1, 0x18($s0) -/* 24EA0 80049AA0 8E06000C */ lw $a2, 0xc($s0) -/* 24EA4 80049AA4 0C00EA95 */ jal npc_move_heading -/* 24EA8 80049AA8 0200202D */ daddu $a0, $s0, $zero -.L80049AAC: -/* 24EAC 80049AAC 8E820004 */ lw $v0, 4($s4) -/* 24EB0 80049AB0 1840001B */ blez $v0, .L80049B20 -/* 24EB4 80049AB4 00000000 */ nop -/* 24EB8 80049AB8 9602008E */ lhu $v0, 0x8e($s0) -/* 24EBC 80049ABC 2442FFFF */ addiu $v0, $v0, -1 -/* 24EC0 80049AC0 A602008E */ sh $v0, 0x8e($s0) -/* 24EC4 80049AC4 00021400 */ sll $v0, $v0, 0x10 -/* 24EC8 80049AC8 1C400015 */ bgtz $v0, .L80049B20 -/* 24ECC 80049ACC 240403E8 */ addiu $a0, $zero, 0x3e8 -/* 24ED0 80049AD0 24020002 */ addiu $v0, $zero, 2 -/* 24ED4 80049AD4 0C00A67F */ jal rand_int -/* 24ED8 80049AD8 AE620070 */ sw $v0, 0x70($s3) -/* 24EDC 80049ADC 3C035555 */ lui $v1, 0x5555 -/* 24EE0 80049AE0 34635556 */ ori $v1, $v1, 0x5556 -/* 24EE4 80049AE4 00430018 */ mult $v0, $v1 -/* 24EE8 80049AE8 000227C3 */ sra $a0, $v0, 0x1f -/* 24EEC 80049AEC 00004010 */ mfhi $t0 -/* 24EF0 80049AF0 01042023 */ subu $a0, $t0, $a0 -/* 24EF4 80049AF4 00041840 */ sll $v1, $a0, 1 -/* 24EF8 80049AF8 00641821 */ addu $v1, $v1, $a0 -/* 24EFC 80049AFC 00431023 */ subu $v0, $v0, $v1 -/* 24F00 80049B00 24420002 */ addiu $v0, $v0, 2 -/* 24F04 80049B04 AE620074 */ sw $v0, 0x74($s3) -/* 24F08 80049B08 8E82002C */ lw $v0, 0x2c($s4) -/* 24F0C 80049B0C 58400004 */ blezl $v0, .L80049B20 -/* 24F10 80049B10 AE600070 */ sw $zero, 0x70($s3) -/* 24F14 80049B14 8E820008 */ lw $v0, 8($s4) -/* 24F18 80049B18 58400001 */ blezl $v0, .L80049B20 -/* 24F1C 80049B1C AE600070 */ sw $zero, 0x70($s3) -.L80049B20: -/* 24F20 80049B20 8FBF0058 */ lw $ra, 0x58($sp) -/* 24F24 80049B24 8FB50054 */ lw $s5, 0x54($sp) -/* 24F28 80049B28 8FB40050 */ lw $s4, 0x50($sp) -/* 24F2C 80049B2C 8FB3004C */ lw $s3, 0x4c($sp) -/* 24F30 80049B30 8FB20048 */ lw $s2, 0x48($sp) -/* 24F34 80049B34 8FB10044 */ lw $s1, 0x44($sp) -/* 24F38 80049B38 8FB00040 */ lw $s0, 0x40($sp) -/* 24F3C 80049B3C 03E00008 */ jr $ra -/* 24F40 80049B40 27BD0060 */ addiu $sp, $sp, 0x60 diff --git a/ver/us/asm/nonmatchings/code_20ec0_len_5040/func_80049C04.s b/ver/us/asm/nonmatchings/code_20ec0_len_5040/func_80049C04.s deleted file mode 100644 index f737a68a6e..0000000000 --- a/ver/us/asm/nonmatchings/code_20ec0_len_5040/func_80049C04.s +++ /dev/null @@ -1,151 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_80049C04 -/* 25004 80049C04 27BDFFA8 */ addiu $sp, $sp, -0x58 -/* 25008 80049C08 AFB40048 */ sw $s4, 0x48($sp) -/* 2500C 80049C0C 0080A02D */ daddu $s4, $a0, $zero -/* 25010 80049C10 AFBF004C */ sw $ra, 0x4c($sp) -/* 25014 80049C14 AFB30044 */ sw $s3, 0x44($sp) -/* 25018 80049C18 AFB20040 */ sw $s2, 0x40($sp) -/* 2501C 80049C1C AFB1003C */ sw $s1, 0x3c($sp) -/* 25020 80049C20 AFB00038 */ sw $s0, 0x38($sp) -/* 25024 80049C24 F7B40050 */ sdc1 $f20, 0x50($sp) -/* 25028 80049C28 8E920148 */ lw $s2, 0x148($s4) -/* 2502C 80049C2C 00A0982D */ daddu $s3, $a1, $zero -/* 25030 80049C30 86440008 */ lh $a0, 8($s2) -/* 25034 80049C34 0C00EABB */ jal get_npc_unsafe -/* 25038 80049C38 00C0882D */ daddu $s1, $a2, $zero -/* 2503C 80049C3C 8E630014 */ lw $v1, 0x14($s3) -/* 25040 80049C40 0460004F */ bltz $v1, .L80049D80 -/* 25044 80049C44 0040802D */ daddu $s0, $v0, $zero -/* 25048 80049C48 0220202D */ daddu $a0, $s1, $zero -/* 2504C 80049C4C AFA00010 */ sw $zero, 0x10($sp) -/* 25050 80049C50 8E660024 */ lw $a2, 0x24($s3) -/* 25054 80049C54 8E670028 */ lw $a3, 0x28($s3) -/* 25058 80049C58 0C01242D */ jal func_800490B4 -/* 2505C 80049C5C 0240282D */ daddu $a1, $s2, $zero -/* 25060 80049C60 10400047 */ beqz $v0, .L80049D80 -/* 25064 80049C64 00000000 */ nop -/* 25068 80049C68 3C02800F */ lui $v0, %hi(gPlayerStatusPtr) -/* 2506C 80049C6C 8C427B30 */ lw $v0, %lo(gPlayerStatusPtr)($v0) -/* 25070 80049C70 C60C0038 */ lwc1 $f12, 0x38($s0) -/* 25074 80049C74 C602003C */ lwc1 $f2, 0x3c($s0) -/* 25078 80049C78 C6040040 */ lwc1 $f4, 0x40($s0) -/* 2507C 80049C7C 46006006 */ mov.s $f0, $f12 -/* 25080 80049C80 8C460028 */ lw $a2, 0x28($v0) -/* 25084 80049C84 8C470030 */ lw $a3, 0x30($v0) -/* 25088 80049C88 46002386 */ mov.s $f14, $f4 -/* 2508C 80049C8C E7A00028 */ swc1 $f0, 0x28($sp) -/* 25090 80049C90 E7A2002C */ swc1 $f2, 0x2c($sp) -/* 25094 80049C94 0C00A720 */ jal atan2 -/* 25098 80049C98 E7A40030 */ swc1 $f4, 0x30($sp) -/* 2509C 80049C9C C6620018 */ lwc1 $f2, 0x18($s3) -/* 250A0 80049CA0 46000506 */ mov.s $f20, $f0 -/* 250A4 80049CA4 E7B40014 */ swc1 $f20, 0x14($sp) -/* 250A8 80049CA8 E7A20010 */ swc1 $f2, 0x10($sp) -/* 250AC 80049CAC 860200A8 */ lh $v0, 0xa8($s0) -/* 250B0 80049CB0 27A50028 */ addiu $a1, $sp, 0x28 -/* 250B4 80049CB4 44820000 */ mtc1 $v0, $f0 -/* 250B8 80049CB8 00000000 */ nop -/* 250BC 80049CBC 46800020 */ cvt.s.w $f0, $f0 -/* 250C0 80049CC0 E7A00018 */ swc1 $f0, 0x18($sp) -/* 250C4 80049CC4 860200A6 */ lh $v0, 0xa6($s0) -/* 250C8 80049CC8 27A6002C */ addiu $a2, $sp, 0x2c -/* 250CC 80049CCC 44820000 */ mtc1 $v0, $f0 -/* 250D0 80049CD0 00000000 */ nop -/* 250D4 80049CD4 46800020 */ cvt.s.w $f0, $f0 -/* 250D8 80049CD8 E7A0001C */ swc1 $f0, 0x1c($sp) -/* 250DC 80049CDC 8E040080 */ lw $a0, 0x80($s0) -/* 250E0 80049CE0 0C037711 */ jal func_800DDC44 -/* 250E4 80049CE4 27A70030 */ addiu $a3, $sp, 0x30 -/* 250E8 80049CE8 14400025 */ bnez $v0, .L80049D80 -/* 250EC 80049CEC 0200202D */ daddu $a0, $s0, $zero -/* 250F0 80049CF0 240502F4 */ addiu $a1, $zero, 0x2f4 -/* 250F4 80049CF4 3C060020 */ lui $a2, 0x20 -/* 250F8 80049CF8 0C012530 */ jal func_800494C0 -/* 250FC 80049CFC E614000C */ swc1 $f20, 0xc($s0) -/* 25100 80049D00 0000202D */ daddu $a0, $zero, $zero -/* 25104 80049D04 0200282D */ daddu $a1, $s0, $zero -/* 25108 80049D08 0000302D */ daddu $a2, $zero, $zero -/* 2510C 80049D0C 84A300A8 */ lh $v1, 0xa8($a1) -/* 25110 80049D10 3C013F80 */ lui $at, 0x3f80 -/* 25114 80049D14 44810000 */ mtc1 $at, $f0 -/* 25118 80049D18 3C014000 */ lui $at, 0x4000 -/* 2511C 80049D1C 44811000 */ mtc1 $at, $f2 -/* 25120 80049D20 3C01C1A0 */ lui $at, 0xc1a0 -/* 25124 80049D24 44812000 */ mtc1 $at, $f4 -/* 25128 80049D28 2402000F */ addiu $v0, $zero, 0xf -/* 2512C 80049D2C AFA2001C */ sw $v0, 0x1c($sp) -/* 25130 80049D30 44833000 */ mtc1 $v1, $f6 -/* 25134 80049D34 00000000 */ nop -/* 25138 80049D38 468031A0 */ cvt.s.w $f6, $f6 -/* 2513C 80049D3C 44073000 */ mfc1 $a3, $f6 -/* 25140 80049D40 27A20034 */ addiu $v0, $sp, 0x34 -/* 25144 80049D44 AFA20020 */ sw $v0, 0x20($sp) -/* 25148 80049D48 E7A00010 */ swc1 $f0, 0x10($sp) -/* 2514C 80049D4C E7A20014 */ swc1 $f2, 0x14($sp) -/* 25150 80049D50 0C01BFA4 */ jal fx_emote -/* 25154 80049D54 E7A40018 */ swc1 $f4, 0x18($sp) -/* 25158 80049D58 8E420018 */ lw $v0, 0x18($s2) -/* 2515C 80049D5C 9442002A */ lhu $v0, 0x2a($v0) -/* 25160 80049D60 30420001 */ andi $v0, $v0, 1 -/* 25164 80049D64 10400003 */ beqz $v0, .L80049D74 -/* 25168 80049D68 2402000A */ addiu $v0, $zero, 0xa -/* 2516C 80049D6C 08012786 */ j .L80049E18 -/* 25170 80049D70 AE820070 */ sw $v0, 0x70($s4) -.L80049D74: -/* 25174 80049D74 2402000C */ addiu $v0, $zero, 0xc -/* 25178 80049D78 08012786 */ j .L80049E18 -/* 2517C 80049D7C AE820070 */ sw $v0, 0x70($s4) -.L80049D80: -/* 25180 80049D80 8602008C */ lh $v0, 0x8c($s0) -/* 25184 80049D84 14400024 */ bnez $v0, .L80049E18 -/* 25188 80049D88 00000000 */ nop -/* 2518C 80049D8C 9602008E */ lhu $v0, 0x8e($s0) -/* 25190 80049D90 2442FFFF */ addiu $v0, $v0, -1 -/* 25194 80049D94 A602008E */ sh $v0, 0x8e($s0) -/* 25198 80049D98 00021400 */ sll $v0, $v0, 0x10 -/* 2519C 80049D9C 1C40001E */ bgtz $v0, .L80049E18 -/* 251A0 80049DA0 00000000 */ nop -/* 251A4 80049DA4 8E820074 */ lw $v0, 0x74($s4) -/* 251A8 80049DA8 2442FFFF */ addiu $v0, $v0, -1 -/* 251AC 80049DAC 10400019 */ beqz $v0, .L80049E14 -/* 251B0 80049DB0 AE820074 */ sw $v0, 0x74($s4) -/* 251B4 80049DB4 8E420018 */ lw $v0, 0x18($s2) -/* 251B8 80049DB8 9442002A */ lhu $v0, 0x2a($v0) -/* 251BC 80049DBC 30420010 */ andi $v0, $v0, 0x10 -/* 251C0 80049DC0 14400007 */ bnez $v0, .L80049DE0 -/* 251C4 80049DC4 00000000 */ nop -/* 251C8 80049DC8 C600000C */ lwc1 $f0, 0xc($s0) -/* 251CC 80049DCC 3C014334 */ lui $at, 0x4334 -/* 251D0 80049DD0 44816000 */ mtc1 $at, $f12 -/* 251D4 80049DD4 0C00A6C9 */ jal clamp_angle -/* 251D8 80049DD8 460C0300 */ add.s $f12, $f0, $f12 -/* 251DC 80049DDC E600000C */ swc1 $f0, 0xc($s0) -.L80049DE0: -/* 251E0 80049DE0 8E640008 */ lw $a0, 8($s3) -/* 251E4 80049DE4 000417C2 */ srl $v0, $a0, 0x1f -/* 251E8 80049DE8 00822021 */ addu $a0, $a0, $v0 -/* 251EC 80049DEC 00042043 */ sra $a0, $a0, 1 -/* 251F0 80049DF0 0C00A67F */ jal rand_int -/* 251F4 80049DF4 24840001 */ addiu $a0, $a0, 1 -/* 251F8 80049DF8 8E630008 */ lw $v1, 8($s3) -/* 251FC 80049DFC 000327C2 */ srl $a0, $v1, 0x1f -/* 25200 80049E00 00641821 */ addu $v1, $v1, $a0 -/* 25204 80049E04 00031843 */ sra $v1, $v1, 1 -/* 25208 80049E08 00621821 */ addu $v1, $v1, $v0 -/* 2520C 80049E0C 08012786 */ j .L80049E18 -/* 25210 80049E10 A603008E */ sh $v1, 0x8e($s0) -.L80049E14: -/* 25214 80049E14 AE800070 */ sw $zero, 0x70($s4) -.L80049E18: -/* 25218 80049E18 8FBF004C */ lw $ra, 0x4c($sp) -/* 2521C 80049E1C 8FB40048 */ lw $s4, 0x48($sp) -/* 25220 80049E20 8FB30044 */ lw $s3, 0x44($sp) -/* 25224 80049E24 8FB20040 */ lw $s2, 0x40($sp) -/* 25228 80049E28 8FB1003C */ lw $s1, 0x3c($sp) -/* 2522C 80049E2C 8FB00038 */ lw $s0, 0x38($sp) -/* 25230 80049E30 D7B40050 */ ldc1 $f20, 0x50($sp) -/* 25234 80049E34 03E00008 */ jr $ra -/* 25238 80049E38 27BD0058 */ addiu $sp, $sp, 0x58 diff --git a/ver/us/asm/nonmatchings/code_20ec0_len_5040/func_80049F7C.s b/ver/us/asm/nonmatchings/code_20ec0_len_5040/func_80049F7C.s deleted file mode 100644 index e55a4ab24e..0000000000 --- a/ver/us/asm/nonmatchings/code_20ec0_len_5040/func_80049F7C.s +++ /dev/null @@ -1,115 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_80049F7C -/* 2537C 80049F7C 27BDFFD0 */ addiu $sp, $sp, -0x30 -/* 25380 80049F80 AFB40020 */ sw $s4, 0x20($sp) -/* 25384 80049F84 0080A02D */ daddu $s4, $a0, $zero -/* 25388 80049F88 AFBF0024 */ sw $ra, 0x24($sp) -/* 2538C 80049F8C AFB3001C */ sw $s3, 0x1c($sp) -/* 25390 80049F90 AFB20018 */ sw $s2, 0x18($sp) -/* 25394 80049F94 AFB10014 */ sw $s1, 0x14($sp) -/* 25398 80049F98 AFB00010 */ sw $s0, 0x10($sp) -/* 2539C 80049F9C F7B40028 */ sdc1 $f20, 0x28($sp) -/* 253A0 80049FA0 8E930148 */ lw $s3, 0x148($s4) -/* 253A4 80049FA4 86640008 */ lh $a0, 8($s3) -/* 253A8 80049FA8 0C00EABB */ jal get_npc_unsafe -/* 253AC 80049FAC 00A0902D */ daddu $s2, $a1, $zero -/* 253B0 80049FB0 3C04800F */ lui $a0, %hi(gPlayerStatusPtr) -/* 253B4 80049FB4 8C847B30 */ lw $a0, %lo(gPlayerStatusPtr)($a0) -/* 253B8 80049FB8 908300B4 */ lbu $v1, 0xb4($a0) -/* 253BC 80049FBC 0040802D */ daddu $s0, $v0, $zero -/* 253C0 80049FC0 2462FFFD */ addiu $v0, $v1, -3 -/* 253C4 80049FC4 2C420003 */ sltiu $v0, $v0, 3 -/* 253C8 80049FC8 14400006 */ bnez $v0, .L80049FE4 -/* 253CC 80049FCC 0000882D */ daddu $s1, $zero, $zero -/* 253D0 80049FD0 00031600 */ sll $v0, $v1, 0x18 -/* 253D4 80049FD4 00021603 */ sra $v0, $v0, 0x18 -/* 253D8 80049FD8 24030008 */ addiu $v1, $zero, 8 -/* 253DC 80049FDC 1443000F */ bne $v0, $v1, .L8004A01C -/* 253E0 80049FE0 00000000 */ nop -.L80049FE4: -/* 253E4 80049FE4 C60C0038 */ lwc1 $f12, 0x38($s0) -/* 253E8 80049FE8 C60E0040 */ lwc1 $f14, 0x40($s0) -/* 253EC 80049FEC 8C860028 */ lw $a2, 0x28($a0) -/* 253F0 80049FF0 0C00A7B5 */ jal dist2D -/* 253F4 80049FF4 8C870030 */ lw $a3, 0x30($a0) -/* 253F8 80049FF8 860200A6 */ lh $v0, 0xa6($s0) -/* 253FC 80049FFC 46000021 */ cvt.d.s $f0, $f0 -/* 25400 8004A000 44821000 */ mtc1 $v0, $f2 -/* 25404 8004A004 00000000 */ nop -/* 25408 8004A008 468010A1 */ cvt.d.w $f2, $f2 -/* 2540C 8004A00C 4622003C */ c.lt.d $f0, $f2 -/* 25410 8004A010 00000000 */ nop -/* 25414 8004A014 45030001 */ bc1tl .L8004A01C -/* 25418 8004A018 24110001 */ addiu $s1, $zero, 1 -.L8004A01C: -/* 2541C 8004A01C 56200031 */ bnel $s1, $zero, .L8004A0E4 -/* 25420 8004A020 A600008E */ sh $zero, 0x8e($s0) -/* 25424 8004A024 C60C0038 */ lwc1 $f12, 0x38($s0) -/* 25428 8004A028 3C02800F */ lui $v0, %hi(gPlayerStatusPtr) -/* 2542C 8004A02C 8C427B30 */ lw $v0, %lo(gPlayerStatusPtr)($v0) -/* 25430 8004A030 C60E0040 */ lwc1 $f14, 0x40($s0) -/* 25434 8004A034 8C460028 */ lw $a2, 0x28($v0) -/* 25438 8004A038 0C00A720 */ jal atan2 -/* 2543C 8004A03C 8C470030 */ lw $a3, 0x30($v0) -/* 25440 8004A040 46000506 */ mov.s $f20, $f0 -/* 25444 8004A044 C60C000C */ lwc1 $f12, 0xc($s0) -/* 25448 8004A048 0C00A70A */ jal get_clamped_angle_diff -/* 2544C 8004A04C 4600A386 */ mov.s $f14, $f20 -/* 25450 8004A050 46000086 */ mov.s $f2, $f0 -/* 25454 8004A054 8E42001C */ lw $v0, 0x1c($s2) -/* 25458 8004A058 46001005 */ abs.s $f0, $f2 -/* 2545C 8004A05C 44822000 */ mtc1 $v0, $f4 -/* 25460 8004A060 00000000 */ nop -/* 25464 8004A064 46802120 */ cvt.s.w $f4, $f4 -/* 25468 8004A068 4600203C */ c.lt.s $f4, $f0 -/* 2546C 8004A06C 00000000 */ nop -/* 25470 8004A070 4500000D */ bc1f .L8004A0A8 -/* 25474 8004A074 00000000 */ nop -/* 25478 8004A078 44800000 */ mtc1 $zero, $f0 -/* 2547C 8004A07C C614000C */ lwc1 $f20, 0xc($s0) -/* 25480 8004A080 4600103C */ c.lt.s $f2, $f0 -/* 25484 8004A084 00000000 */ nop -/* 25488 8004A088 45000006 */ bc1f .L8004A0A4 -/* 2548C 8004A08C 00021023 */ negu $v0, $v0 -/* 25490 8004A090 44820000 */ mtc1 $v0, $f0 -/* 25494 8004A094 00000000 */ nop -/* 25498 8004A098 46800020 */ cvt.s.w $f0, $f0 -/* 2549C 8004A09C 0801282A */ j .L8004A0A8 -/* 254A0 8004A0A0 4600A500 */ add.s $f20, $f20, $f0 -.L8004A0A4: -/* 254A4 8004A0A4 4604A500 */ add.s $f20, $f20, $f4 -.L8004A0A8: -/* 254A8 8004A0A8 0C00A6C9 */ jal clamp_angle -/* 254AC 8004A0AC 4600A306 */ mov.s $f12, $f20 -/* 254B0 8004A0B0 E600000C */ swc1 $f0, 0xc($s0) -/* 254B4 8004A0B4 8E440020 */ lw $a0, 0x20($s2) -/* 254B8 8004A0B8 000417C2 */ srl $v0, $a0, 0x1f -/* 254BC 8004A0BC 00822021 */ addu $a0, $a0, $v0 -/* 254C0 8004A0C0 00042043 */ sra $a0, $a0, 1 -/* 254C4 8004A0C4 0C00A67F */ jal rand_int -/* 254C8 8004A0C8 24840001 */ addiu $a0, $a0, 1 -/* 254CC 8004A0CC 8E430020 */ lw $v1, 0x20($s2) -/* 254D0 8004A0D0 000327C2 */ srl $a0, $v1, 0x1f -/* 254D4 8004A0D4 00641821 */ addu $v1, $v1, $a0 -/* 254D8 8004A0D8 00031843 */ sra $v1, $v1, 1 -/* 254DC 8004A0DC 00621821 */ addu $v1, $v1, $v0 -/* 254E0 8004A0E0 A603008E */ sh $v1, 0x8e($s0) -.L8004A0E4: -/* 254E4 8004A0E4 8E6200CC */ lw $v0, 0xcc($s3) -/* 254E8 8004A0E8 8C42000C */ lw $v0, 0xc($v0) -/* 254EC 8004A0EC AE020028 */ sw $v0, 0x28($s0) -/* 254F0 8004A0F0 C6400018 */ lwc1 $f0, 0x18($s2) -/* 254F4 8004A0F4 2402000D */ addiu $v0, $zero, 0xd -/* 254F8 8004A0F8 E6000018 */ swc1 $f0, 0x18($s0) -/* 254FC 8004A0FC AE820070 */ sw $v0, 0x70($s4) -/* 25500 8004A100 8FBF0024 */ lw $ra, 0x24($sp) -/* 25504 8004A104 8FB40020 */ lw $s4, 0x20($sp) -/* 25508 8004A108 8FB3001C */ lw $s3, 0x1c($sp) -/* 2550C 8004A10C 8FB20018 */ lw $s2, 0x18($sp) -/* 25510 8004A110 8FB10014 */ lw $s1, 0x14($sp) -/* 25514 8004A114 8FB00010 */ lw $s0, 0x10($sp) -/* 25518 8004A118 D7B40028 */ ldc1 $f20, 0x28($sp) -/* 2551C 8004A11C 03E00008 */ jr $ra -/* 25520 8004A120 27BD0030 */ addiu $sp, $sp, 0x30 diff --git a/ver/us/asm/nonmatchings/code_20ec0_len_5040/func_8004A124.s b/ver/us/asm/nonmatchings/code_20ec0_len_5040/func_8004A124.s deleted file mode 100644 index 1a71f3a782..0000000000 --- a/ver/us/asm/nonmatchings/code_20ec0_len_5040/func_8004A124.s +++ /dev/null @@ -1,188 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_8004A124 -/* 25524 8004A124 27BDFFA8 */ addiu $sp, $sp, -0x58 -/* 25528 8004A128 AFB30044 */ sw $s3, 0x44($sp) -/* 2552C 8004A12C 0080982D */ daddu $s3, $a0, $zero -/* 25530 8004A130 AFBF0048 */ sw $ra, 0x48($sp) -/* 25534 8004A134 AFB20040 */ sw $s2, 0x40($sp) -/* 25538 8004A138 AFB1003C */ sw $s1, 0x3c($sp) -/* 2553C 8004A13C AFB00038 */ sw $s0, 0x38($sp) -/* 25540 8004A140 F7B40050 */ sdc1 $f20, 0x50($sp) -/* 25544 8004A144 8E720148 */ lw $s2, 0x148($s3) -/* 25548 8004A148 00A0882D */ daddu $s1, $a1, $zero -/* 2554C 8004A14C 86440008 */ lh $a0, 8($s2) -/* 25550 8004A150 0C00EABB */ jal get_npc_unsafe -/* 25554 8004A154 00C0802D */ daddu $s0, $a2, $zero -/* 25558 8004A158 0200202D */ daddu $a0, $s0, $zero -/* 2555C 8004A15C 0240282D */ daddu $a1, $s2, $zero -/* 25560 8004A160 24030001 */ addiu $v1, $zero, 1 -/* 25564 8004A164 AFA30010 */ sw $v1, 0x10($sp) -/* 25568 8004A168 8E260024 */ lw $a2, 0x24($s1) -/* 2556C 8004A16C 8E270028 */ lw $a3, 0x28($s1) -/* 25570 8004A170 0C01242D */ jal func_800490B4 -/* 25574 8004A174 0040802D */ daddu $s0, $v0, $zero -/* 25578 8004A178 1440001D */ bnez $v0, .L8004A1F0 -/* 2557C 8004A17C 24040002 */ addiu $a0, $zero, 2 -/* 25580 8004A180 0200282D */ daddu $a1, $s0, $zero -/* 25584 8004A184 0000302D */ daddu $a2, $zero, $zero -/* 25588 8004A188 860300A8 */ lh $v1, 0xa8($s0) -/* 2558C 8004A18C 3C013F80 */ lui $at, 0x3f80 -/* 25590 8004A190 44810000 */ mtc1 $at, $f0 -/* 25594 8004A194 3C014000 */ lui $at, 0x4000 -/* 25598 8004A198 44811000 */ mtc1 $at, $f2 -/* 2559C 8004A19C 3C01C1A0 */ lui $at, 0xc1a0 -/* 255A0 8004A1A0 44812000 */ mtc1 $at, $f4 -/* 255A4 8004A1A4 2402000F */ addiu $v0, $zero, 0xf -/* 255A8 8004A1A8 AFA2001C */ sw $v0, 0x1c($sp) -/* 255AC 8004A1AC 44833000 */ mtc1 $v1, $f6 -/* 255B0 8004A1B0 00000000 */ nop -/* 255B4 8004A1B4 468031A0 */ cvt.s.w $f6, $f6 -/* 255B8 8004A1B8 44073000 */ mfc1 $a3, $f6 -/* 255BC 8004A1BC 27A20028 */ addiu $v0, $sp, 0x28 -/* 255C0 8004A1C0 AFA20020 */ sw $v0, 0x20($sp) -/* 255C4 8004A1C4 E7A00010 */ swc1 $f0, 0x10($sp) -/* 255C8 8004A1C8 E7A20014 */ swc1 $f2, 0x14($sp) -/* 255CC 8004A1CC 0C01BFA4 */ jal fx_emote -/* 255D0 8004A1D0 E7A40018 */ swc1 $f4, 0x18($sp) -/* 255D4 8004A1D4 8E4200CC */ lw $v0, 0xcc($s2) -/* 255D8 8004A1D8 8C430000 */ lw $v1, ($v0) -/* 255DC 8004A1DC 24020014 */ addiu $v0, $zero, 0x14 -/* 255E0 8004A1E0 A602008E */ sh $v0, 0x8e($s0) -/* 255E4 8004A1E4 2402000E */ addiu $v0, $zero, 0xe -/* 255E8 8004A1E8 080128F1 */ j .L8004A3C4 -/* 255EC 8004A1EC AE030028 */ sw $v1, 0x28($s0) -.L8004A1F0: -/* 255F0 8004A1F0 8E420018 */ lw $v0, 0x18($s2) -/* 255F4 8004A1F4 9442002A */ lhu $v0, 0x2a($v0) -/* 255F8 8004A1F8 30420004 */ andi $v0, $v0, 4 -/* 255FC 8004A1FC 1040004A */ beqz $v0, .L8004A328 -/* 25600 8004A200 0200202D */ daddu $a0, $s0, $zero -/* 25604 8004A204 3C02800F */ lui $v0, %hi(gPlayerStatusPtr) -/* 25608 8004A208 8C427B30 */ lw $v0, %lo(gPlayerStatusPtr)($v0) -/* 2560C 8004A20C C60C0038 */ lwc1 $f12, 0x38($s0) -/* 25610 8004A210 C60E0040 */ lwc1 $f14, 0x40($s0) -/* 25614 8004A214 8C460028 */ lw $a2, 0x28($v0) -/* 25618 8004A218 0C00A7B5 */ jal dist2D -/* 2561C 8004A21C 8C470030 */ lw $a3, 0x30($v0) -/* 25620 8004A220 C6020018 */ lwc1 $f2, 0x18($s0) -/* 25624 8004A224 3C014014 */ lui $at, 0x4014 -/* 25628 8004A228 44812800 */ mtc1 $at, $f5 -/* 2562C 8004A22C 44802000 */ mtc1 $zero, $f4 -/* 25630 8004A230 460010A1 */ cvt.d.s $f2, $f2 -/* 25634 8004A234 46241082 */ mul.d $f2, $f2, $f4 -/* 25638 8004A238 00000000 */ nop -/* 2563C 8004A23C 46000021 */ cvt.d.s $f0, $f0 -/* 25640 8004A240 4620103C */ c.lt.d $f2, $f0 -/* 25644 8004A244 00000000 */ nop -/* 25648 8004A248 45000036 */ bc1f .L8004A324 -/* 2564C 8004A24C 27A5002C */ addiu $a1, $sp, 0x2c -/* 25650 8004A250 C6000038 */ lwc1 $f0, 0x38($s0) -/* 25654 8004A254 C602003C */ lwc1 $f2, 0x3c($s0) -/* 25658 8004A258 C6040040 */ lwc1 $f4, 0x40($s0) -/* 2565C 8004A25C 3C013F80 */ lui $at, 0x3f80 -/* 25660 8004A260 4481A000 */ mtc1 $at, $f20 -/* 25664 8004A264 E7A0002C */ swc1 $f0, 0x2c($sp) -/* 25668 8004A268 E7A20030 */ swc1 $f2, 0x30($sp) -/* 2566C 8004A26C E7A40034 */ swc1 $f4, 0x34($sp) -/* 25670 8004A270 E7B40010 */ swc1 $f20, 0x10($sp) -/* 25674 8004A274 C600000C */ lwc1 $f0, 0xc($s0) -/* 25678 8004A278 E7A00014 */ swc1 $f0, 0x14($sp) -/* 2567C 8004A27C 860200A8 */ lh $v0, 0xa8($s0) -/* 25680 8004A280 44820000 */ mtc1 $v0, $f0 -/* 25684 8004A284 00000000 */ nop -/* 25688 8004A288 46800020 */ cvt.s.w $f0, $f0 -/* 2568C 8004A28C E7A00018 */ swc1 $f0, 0x18($sp) -/* 25690 8004A290 860200A6 */ lh $v0, 0xa6($s0) -/* 25694 8004A294 27A60030 */ addiu $a2, $sp, 0x30 -/* 25698 8004A298 44820000 */ mtc1 $v0, $f0 -/* 2569C 8004A29C 00000000 */ nop -/* 256A0 8004A2A0 46800020 */ cvt.s.w $f0, $f0 -/* 256A4 8004A2A4 E7A0001C */ swc1 $f0, 0x1c($sp) -/* 256A8 8004A2A8 8E040080 */ lw $a0, 0x80($s0) -/* 256AC 8004A2AC 0C037711 */ jal func_800DDC44 -/* 256B0 8004A2B0 27A70034 */ addiu $a3, $sp, 0x34 -/* 256B4 8004A2B4 1040001B */ beqz $v0, .L8004A324 -/* 256B8 8004A2B8 0200282D */ daddu $a1, $s0, $zero -/* 256BC 8004A2BC 24040002 */ addiu $a0, $zero, 2 -/* 256C0 8004A2C0 0000302D */ daddu $a2, $zero, $zero -/* 256C4 8004A2C4 860300A8 */ lh $v1, 0xa8($s0) -/* 256C8 8004A2C8 3C014000 */ lui $at, 0x4000 -/* 256CC 8004A2CC 44810000 */ mtc1 $at, $f0 -/* 256D0 8004A2D0 3C01C1A0 */ lui $at, 0xc1a0 -/* 256D4 8004A2D4 44811000 */ mtc1 $at, $f2 -/* 256D8 8004A2D8 2402000C */ addiu $v0, $zero, 0xc -/* 256DC 8004A2DC AFA2001C */ sw $v0, 0x1c($sp) -/* 256E0 8004A2E0 44833000 */ mtc1 $v1, $f6 -/* 256E4 8004A2E4 00000000 */ nop -/* 256E8 8004A2E8 468031A0 */ cvt.s.w $f6, $f6 -/* 256EC 8004A2EC 44073000 */ mfc1 $a3, $f6 -/* 256F0 8004A2F0 27A20028 */ addiu $v0, $sp, 0x28 -/* 256F4 8004A2F4 E7B40010 */ swc1 $f20, 0x10($sp) -/* 256F8 8004A2F8 AFA20020 */ sw $v0, 0x20($sp) -/* 256FC 8004A2FC E7A00014 */ swc1 $f0, 0x14($sp) -/* 25700 8004A300 0C01BFA4 */ jal fx_emote -/* 25704 8004A304 E7A20018 */ swc1 $f2, 0x18($sp) -/* 25708 8004A308 8E4200CC */ lw $v0, 0xcc($s2) -/* 2570C 8004A30C 8C430000 */ lw $v1, ($v0) -/* 25710 8004A310 2402000F */ addiu $v0, $zero, 0xf -/* 25714 8004A314 A602008E */ sh $v0, 0x8e($s0) -/* 25718 8004A318 2402000E */ addiu $v0, $zero, 0xe -/* 2571C 8004A31C 080128F1 */ j .L8004A3C4 -/* 25720 8004A320 AE030028 */ sw $v1, 0x28($s0) -.L8004A324: -/* 25724 8004A324 0200202D */ daddu $a0, $s0, $zero -.L8004A328: -/* 25728 8004A328 0C00F598 */ jal func_8003D660 -/* 2572C 8004A32C 24050001 */ addiu $a1, $zero, 1 -/* 25730 8004A330 8E050018 */ lw $a1, 0x18($s0) -/* 25734 8004A334 8E06000C */ lw $a2, 0xc($s0) -/* 25738 8004A338 0C00EA95 */ jal npc_move_heading -/* 2573C 8004A33C 0200202D */ daddu $a0, $s0, $zero -/* 25740 8004A340 C6000018 */ lwc1 $f0, 0x18($s0) -/* 25744 8004A344 3C014020 */ lui $at, 0x4020 -/* 25748 8004A348 44811800 */ mtc1 $at, $f3 -/* 2574C 8004A34C 44801000 */ mtc1 $zero, $f2 -/* 25750 8004A350 46000021 */ cvt.d.s $f0, $f0 -/* 25754 8004A354 4620103C */ c.lt.d $f2, $f0 -/* 25758 8004A358 00000000 */ nop -/* 2575C 8004A35C 45000012 */ bc1f .L8004A3A8 -/* 25760 8004A360 00000000 */ nop -/* 25764 8004A364 3C028007 */ lui $v0, %hi(gGameStatusPtr) -/* 25768 8004A368 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0) -/* 2576C 8004A36C 94430134 */ lhu $v1, 0x134($v0) -/* 25770 8004A370 3C02CCCC */ lui $v0, 0xcccc -/* 25774 8004A374 3442CCCD */ ori $v0, $v0, 0xcccd -/* 25778 8004A378 00620019 */ multu $v1, $v0 -/* 2577C 8004A37C 00004010 */ mfhi $t0 -/* 25780 8004A380 00082082 */ srl $a0, $t0, 2 -/* 25784 8004A384 00041080 */ sll $v0, $a0, 2 -/* 25788 8004A388 00441021 */ addu $v0, $v0, $a0 -/* 2578C 8004A38C 00621823 */ subu $v1, $v1, $v0 -/* 25790 8004A390 3063FFFF */ andi $v1, $v1, 0xffff -/* 25794 8004A394 14600004 */ bnez $v1, .L8004A3A8 -/* 25798 8004A398 0200202D */ daddu $a0, $s0, $zero -/* 2579C 8004A39C 240520C1 */ addiu $a1, $zero, 0x20c1 -/* 257A0 8004A3A0 0C012530 */ jal func_800494C0 -/* 257A4 8004A3A4 0000302D */ daddu $a2, $zero, $zero -.L8004A3A8: -/* 257A8 8004A3A8 8602008E */ lh $v0, 0x8e($s0) -/* 257AC 8004A3AC 9603008E */ lhu $v1, 0x8e($s0) -/* 257B0 8004A3B0 18400003 */ blez $v0, .L8004A3C0 -/* 257B4 8004A3B4 2462FFFF */ addiu $v0, $v1, -1 -/* 257B8 8004A3B8 080128F2 */ j .L8004A3C8 -/* 257BC 8004A3BC A602008E */ sh $v0, 0x8e($s0) -.L8004A3C0: -/* 257C0 8004A3C0 2402000C */ addiu $v0, $zero, 0xc -.L8004A3C4: -/* 257C4 8004A3C4 AE620070 */ sw $v0, 0x70($s3) -.L8004A3C8: -/* 257C8 8004A3C8 8FBF0048 */ lw $ra, 0x48($sp) -/* 257CC 8004A3CC 8FB30044 */ lw $s3, 0x44($sp) -/* 257D0 8004A3D0 8FB20040 */ lw $s2, 0x40($sp) -/* 257D4 8004A3D4 8FB1003C */ lw $s1, 0x3c($sp) -/* 257D8 8004A3D8 8FB00038 */ lw $s0, 0x38($sp) -/* 257DC 8004A3DC D7B40050 */ ldc1 $f20, 0x50($sp) -/* 257E0 8004A3E0 03E00008 */ jr $ra -/* 257E4 8004A3E4 27BD0058 */ addiu $sp, $sp, 0x58 diff --git a/ver/us/asm/nonmatchings/code_20ec0_len_5040/spawn_drops.s b/ver/us/asm/nonmatchings/code_20ec0_len_5040/spawn_drops.s deleted file mode 100644 index 6c6865cc64..0000000000 --- a/ver/us/asm/nonmatchings/code_20ec0_len_5040/spawn_drops.s +++ /dev/null @@ -1,752 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel spawn_drops -/* 23680 80048280 27BDFF68 */ addiu $sp, $sp, -0x98 -/* 23684 80048284 AFA40098 */ sw $a0, 0x98($sp) -/* 23688 80048288 8FA80098 */ lw $t0, 0x98($sp) -/* 2368C 8004828C AFBF0064 */ sw $ra, 0x64($sp) -/* 23690 80048290 AFBE0060 */ sw $fp, 0x60($sp) -/* 23694 80048294 AFB7005C */ sw $s7, 0x5c($sp) -/* 23698 80048298 AFB60058 */ sw $s6, 0x58($sp) -/* 2369C 8004829C AFB50054 */ sw $s5, 0x54($sp) -/* 236A0 800482A0 AFB40050 */ sw $s4, 0x50($sp) -/* 236A4 800482A4 AFB3004C */ sw $s3, 0x4c($sp) -/* 236A8 800482A8 AFB20048 */ sw $s2, 0x48($sp) -/* 236AC 800482AC AFB10044 */ sw $s1, 0x44($sp) -/* 236B0 800482B0 AFB00040 */ sw $s0, 0x40($sp) -/* 236B4 800482B4 F7BE0090 */ sdc1 $f30, 0x90($sp) -/* 236B8 800482B8 F7BC0088 */ sdc1 $f28, 0x88($sp) -/* 236BC 800482BC F7BA0080 */ sdc1 $f26, 0x80($sp) -/* 236C0 800482C0 F7B80078 */ sdc1 $f24, 0x78($sp) -/* 236C4 800482C4 F7B60070 */ sdc1 $f22, 0x70($sp) -/* 236C8 800482C8 F7B40068 */ sdc1 $f20, 0x68($sp) -/* 236CC 800482CC AFA0002C */ sw $zero, 0x2c($sp) -/* 236D0 800482D0 84840008 */ lh $a0, 8($a0) -/* 236D4 800482D4 8D0800D4 */ lw $t0, 0xd4($t0) -/* 236D8 800482D8 0000902D */ daddu $s2, $zero, $zero -/* 236DC 800482DC 0C00EABB */ jal get_npc_unsafe -/* 236E0 800482E0 AFA80020 */ sw $t0, 0x20($sp) -/* 236E4 800482E4 0040802D */ daddu $s0, $v0, $zero -/* 236E8 800482E8 3C038007 */ lui $v1, %hi(gCurrentCameraID) -/* 236EC 800482EC 8C637410 */ lw $v1, %lo(gCurrentCameraID)($v1) -/* 236F0 800482F0 3C04800B */ lui $a0, %hi(gCameras) -/* 236F4 800482F4 24841D80 */ addiu $a0, $a0, %lo(gCameras) -/* 236F8 800482F8 00031080 */ sll $v0, $v1, 2 -/* 236FC 800482FC 00431021 */ addu $v0, $v0, $v1 -/* 23700 80048300 00021080 */ sll $v0, $v0, 2 -/* 23704 80048304 00431023 */ subu $v0, $v0, $v1 -/* 23708 80048308 000218C0 */ sll $v1, $v0, 3 -/* 2370C 8004830C 00431021 */ addu $v0, $v0, $v1 -/* 23710 80048310 000210C0 */ sll $v0, $v0, 3 -/* 23714 80048314 00448821 */ addu $s1, $v0, $a0 -.L80048318: -/* 23718 80048318 0C044181 */ jal get_shadow_by_index -/* 2371C 8004831C 0240202D */ daddu $a0, $s2, $zero -/* 23720 80048320 14400004 */ bnez $v0, .L80048334 -/* 23724 80048324 26520001 */ addiu $s2, $s2, 1 -/* 23728 80048328 8FA8002C */ lw $t0, 0x2c($sp) -/* 2372C 8004832C 25080001 */ addiu $t0, $t0, 1 -/* 23730 80048330 AFA8002C */ sw $t0, 0x2c($sp) -.L80048334: -/* 23734 80048334 2A42003C */ slti $v0, $s2, 0x3c -/* 23738 80048338 1440FFF7 */ bnez $v0, .L80048318 -/* 2373C 8004833C 0000F02D */ daddu $fp, $zero, $zero -/* 23740 80048340 C620006C */ lwc1 $f0, 0x6c($s1) -/* 23744 80048344 3C0142B4 */ lui $at, 0x42b4 -/* 23748 80048348 44816000 */ mtc1 $at, $f12 -/* 2374C 8004834C 3C038015 */ lui $v1, %hi(D_8014B7F0) -/* 23750 80048350 8C63B7F0 */ lw $v1, %lo(D_8014B7F0)($v1) -/* 23754 80048354 240200F6 */ addiu $v0, $zero, 0xf6 -/* 23758 80048358 AFA00024 */ sw $zero, 0x24($sp) -/* 2375C 8004835C 460C0300 */ add.s $f12, $f0, $f12 -/* 23760 80048360 00431023 */ subu $v0, $v0, $v1 -/* 23764 80048364 0C00A6C9 */ jal clamp_angle -/* 23768 80048368 AFA20028 */ sw $v0, 0x28($sp) -/* 2376C 8004836C 4600010D */ trunc.w.s $f4, $f0 -/* 23770 80048370 44162000 */ mfc1 $s6, $f4 -/* 23774 80048374 960200A8 */ lhu $v0, 0xa8($s0) -/* 23778 80048378 8FA80020 */ lw $t0, 0x20($sp) -/* 2377C 8004837C C602003C */ lwc1 $f2, 0x3c($s0) -/* 23780 80048380 00021400 */ sll $v0, $v0, 0x10 -/* 23784 80048384 00021C03 */ sra $v1, $v0, 0x10 -/* 23788 80048388 000217C2 */ srl $v0, $v0, 0x1f -/* 2378C 8004838C 00621821 */ addu $v1, $v1, $v0 -/* 23790 80048390 00031843 */ sra $v1, $v1, 1 -/* 23794 80048394 44830000 */ mtc1 $v1, $f0 -/* 23798 80048398 00000000 */ nop -/* 2379C 8004839C 46800020 */ cvt.s.w $f0, $f0 -/* 237A0 800483A0 46001080 */ add.s $f2, $f2, $f0 -/* 237A4 800483A4 91110001 */ lbu $s1, 1($t0) -/* 237A8 800483A8 03C0B82D */ daddu $s7, $fp, $zero -/* 237AC 800483AC E7A20038 */ swc1 $f2, 0x38($sp) -/* 237B0 800483B0 C6040038 */ lwc1 $f4, 0x38($s0) -/* 237B4 800483B4 E7A40034 */ swc1 $f4, 0x34($sp) -/* 237B8 800483B8 C61E0040 */ lwc1 $f30, 0x40($s0) -/* 237BC 800483BC 0C00A67F */ jal rand_int -/* 237C0 800483C0 24040064 */ addiu $a0, $zero, 0x64 -/* 237C4 800483C4 0051102A */ slt $v0, $v0, $s1 -/* 237C8 800483C8 10400061 */ beqz $v0, .L80048550 -/* 237CC 800483CC 03C0902D */ daddu $s2, $fp, $zero -/* 237D0 800483D0 03C0202D */ daddu $a0, $fp, $zero -/* 237D4 800483D4 24050002 */ addiu $a1, $zero, 2 -/* 237D8 800483D8 8FA30020 */ lw $v1, 0x20($sp) -.L800483DC: -/* 237DC 800483DC 84620002 */ lh $v0, 2($v1) -/* 237E0 800483E0 10400009 */ beqz $v0, .L80048408 -/* 237E4 800483E4 24630006 */ addiu $v1, $v1, 6 -/* 237E8 800483E8 8FA80020 */ lw $t0, 0x20($sp) -/* 237EC 800483EC 26520001 */ addiu $s2, $s2, 1 -/* 237F0 800483F0 01051021 */ addu $v0, $t0, $a1 -/* 237F4 800483F4 84420002 */ lh $v0, 2($v0) -/* 237F8 800483F8 00822021 */ addu $a0, $a0, $v0 -/* 237FC 800483FC 2A420008 */ slti $v0, $s2, 8 -/* 23800 80048400 1440FFF6 */ bnez $v0, .L800483DC -/* 23804 80048404 24A50006 */ addiu $a1, $a1, 6 -.L80048408: -/* 23808 80048408 0C00A67F */ jal rand_int -/* 2380C 8004840C 0000A82D */ daddu $s5, $zero, $zero -/* 23810 80048410 0040882D */ daddu $s1, $v0, $zero -/* 23814 80048414 02A0902D */ daddu $s2, $s5, $zero -/* 23818 80048418 24140004 */ addiu $s4, $zero, 4 -/* 2381C 8004841C 8FB00020 */ lw $s0, 0x20($sp) -/* 23820 80048420 24130002 */ addiu $s3, $zero, 2 -/* 23824 80048424 AFA00030 */ sw $zero, 0x30($sp) -.L80048428: -/* 23828 80048428 86020002 */ lh $v0, 2($s0) -/* 2382C 8004842C 10400017 */ beqz $v0, .L8004848C -/* 23830 80048430 00000000 */ nop -/* 23834 80048434 8FA80020 */ lw $t0, 0x20($sp) -/* 23838 80048438 01131021 */ addu $v0, $t0, $s3 -/* 2383C 8004843C 01141821 */ addu $v1, $t0, $s4 -/* 23840 80048440 84420002 */ lh $v0, 2($v0) -/* 23844 80048444 84640002 */ lh $a0, 2($v1) -/* 23848 80048448 18800005 */ blez $a0, .L80048460 -/* 2384C 8004844C 02A2A821 */ addu $s5, $s5, $v0 -/* 23850 80048450 0C05152F */ jal get_global_flag -/* 23854 80048454 24840714 */ addiu $a0, $a0, 0x714 -/* 23858 80048458 54400007 */ bnel $v0, $zero, .L80048478 -/* 2385C 8004845C 26940006 */ addiu $s4, $s4, 6 -.L80048460: -/* 23860 80048460 02B1102A */ slt $v0, $s5, $s1 -/* 23864 80048464 54400004 */ bnel $v0, $zero, .L80048478 -/* 23868 80048468 26940006 */ addiu $s4, $s4, 6 -/* 2386C 8004846C 86100002 */ lh $s0, 2($s0) -/* 23870 80048470 08012123 */ j .L8004848C -/* 23874 80048474 AFB00030 */ sw $s0, 0x30($sp) -.L80048478: -/* 23878 80048478 26730006 */ addiu $s3, $s3, 6 -/* 2387C 8004847C 26520001 */ addiu $s2, $s2, 1 -/* 23880 80048480 2A420008 */ slti $v0, $s2, 8 -/* 23884 80048484 1440FFE8 */ bnez $v0, .L80048428 -/* 23888 80048488 26100006 */ addiu $s0, $s0, 6 -.L8004848C: -/* 2388C 8004848C 8FA80098 */ lw $t0, 0x98($sp) -/* 23890 80048490 8FA80030 */ lw $t0, 0x30($sp) -/* 23894 80048494 1100002E */ beqz $t0, .L80048550 -/* 23898 80048498 24020004 */ addiu $v0, $zero, 4 -/* 2389C 8004849C 0100202D */ daddu $a0, $t0, $zero -/* 238A0 800484A0 00171840 */ sll $v1, $s7, 1 -/* 238A4 800484A4 00771821 */ addu $v1, $v1, $s7 -/* 238A8 800484A8 AFA20010 */ sw $v0, 0x10($sp) -/* 238AC 800484AC 00431004 */ sllv $v0, $v1, $v0 -/* 238B0 800484B0 00431023 */ subu $v0, $v0, $v1 -/* 238B4 800484B4 000210C0 */ sll $v0, $v0, 3 -/* 238B8 800484B8 8FA50034 */ lw $a1, 0x34($sp) -/* 238BC 800484BC 8FA60038 */ lw $a2, 0x38($sp) -/* 238C0 800484C0 4407F000 */ mfc1 $a3, $f30 -/* 238C4 800484C4 8FA80024 */ lw $t0, 0x24($sp) -/* 238C8 800484C8 02C21021 */ addu $v0, $s6, $v0 -/* 238CC 800484CC AFA20018 */ sw $v0, 0x18($sp) -/* 238D0 800484D0 AFA0001C */ sw $zero, 0x1c($sp) -/* 238D4 800484D4 0C04C4FD */ jal make_item_entity -/* 238D8 800484D8 AFA80014 */ sw $t0, 0x14($sp) -/* 238DC 800484DC 44960000 */ mtc1 $s6, $f0 -/* 238E0 800484E0 00000000 */ nop -/* 238E4 800484E4 46800021 */ cvt.d.w $f0, $f0 -/* 238E8 800484E8 27DE0001 */ addiu $fp, $fp, 1 -/* 238EC 800484EC 2BC2000C */ slti $v0, $fp, 0xc -/* 238F0 800484F0 3C01403E */ lui $at, 0x403e -/* 238F4 800484F4 44811800 */ mtc1 $at, $f3 -/* 238F8 800484F8 44801000 */ mtc1 $zero, $f2 -/* 238FC 800484FC 8FA80024 */ lw $t0, 0x24($sp) -/* 23900 80048500 46220000 */ add.d $f0, $f0, $f2 -/* 23904 80048504 25080002 */ addiu $t0, $t0, 2 -/* 23908 80048508 AFA80024 */ sw $t0, 0x24($sp) -/* 2390C 8004850C 4620010D */ trunc.w.d $f4, $f0 -/* 23910 80048510 44162000 */ mfc1 $s6, $f4 -/* 23914 80048514 14400004 */ bnez $v0, .L80048528 -/* 23918 80048518 00121040 */ sll $v0, $s2, 1 -/* 2391C 8004851C 26F70001 */ addiu $s7, $s7, 1 -/* 23920 80048520 0017B0C0 */ sll $s6, $s7, 3 -/* 23924 80048524 0000F02D */ daddu $fp, $zero, $zero -.L80048528: -/* 23928 80048528 00521021 */ addu $v0, $v0, $s2 -/* 2392C 8004852C 24420002 */ addiu $v0, $v0, 2 -/* 23930 80048530 8FA80020 */ lw $t0, 0x20($sp) -/* 23934 80048534 00021040 */ sll $v0, $v0, 1 -/* 23938 80048538 01021021 */ addu $v0, $t0, $v0 -/* 2393C 8004853C 84440002 */ lh $a0, 2($v0) -/* 23940 80048540 04800003 */ bltz $a0, .L80048550 -/* 23944 80048544 00000000 */ nop -/* 23948 80048548 0C051514 */ jal set_global_flag -/* 2394C 8004854C 24840715 */ addiu $a0, $a0, 0x715 -.L80048550: -/* 23950 80048550 3C02800B */ lui $v0, %hi(gCurrentEncounter+0x13) -/* 23954 80048554 80420F23 */ lb $v0, %lo(gCurrentEncounter+0x13)($v0) -/* 23958 80048558 10400026 */ beqz $v0, .L800485F4 -/* 2395C 8004855C 24040093 */ addiu $a0, $zero, 0x93 -/* 23960 80048560 24020004 */ addiu $v0, $zero, 4 -/* 23964 80048564 00171840 */ sll $v1, $s7, 1 -/* 23968 80048568 00771821 */ addu $v1, $v1, $s7 -/* 2396C 8004856C AFA20010 */ sw $v0, 0x10($sp) -/* 23970 80048570 00431004 */ sllv $v0, $v1, $v0 -/* 23974 80048574 00431023 */ subu $v0, $v0, $v1 -/* 23978 80048578 000210C0 */ sll $v0, $v0, 3 -/* 2397C 8004857C 8FA50034 */ lw $a1, 0x34($sp) -/* 23980 80048580 8FA60038 */ lw $a2, 0x38($sp) -/* 23984 80048584 4407F000 */ mfc1 $a3, $f30 -/* 23988 80048588 8FA80024 */ lw $t0, 0x24($sp) -/* 2398C 8004858C 02C21021 */ addu $v0, $s6, $v0 -/* 23990 80048590 3C01800B */ lui $at, %hi(gCurrentEncounter+0x13) -/* 23994 80048594 A0200F23 */ sb $zero, %lo(gCurrentEncounter+0x13)($at) -/* 23998 80048598 AFA20018 */ sw $v0, 0x18($sp) -/* 2399C 8004859C AFA0001C */ sw $zero, 0x1c($sp) -/* 239A0 800485A0 0C04C4FD */ jal make_item_entity -/* 239A4 800485A4 AFA80014 */ sw $t0, 0x14($sp) -/* 239A8 800485A8 44960000 */ mtc1 $s6, $f0 -/* 239AC 800485AC 00000000 */ nop -/* 239B0 800485B0 46800021 */ cvt.d.w $f0, $f0 -/* 239B4 800485B4 27DE0001 */ addiu $fp, $fp, 1 -/* 239B8 800485B8 2BC2000C */ slti $v0, $fp, 0xc -/* 239BC 800485BC 3C01403E */ lui $at, 0x403e -/* 239C0 800485C0 44811800 */ mtc1 $at, $f3 -/* 239C4 800485C4 44801000 */ mtc1 $zero, $f2 -/* 239C8 800485C8 8FA80024 */ lw $t0, 0x24($sp) -/* 239CC 800485CC 46220000 */ add.d $f0, $f0, $f2 -/* 239D0 800485D0 25080002 */ addiu $t0, $t0, 2 -/* 239D4 800485D4 AFA80024 */ sw $t0, 0x24($sp) -/* 239D8 800485D8 4620010D */ trunc.w.d $f4, $f0 -/* 239DC 800485DC 44162000 */ mfc1 $s6, $f4 -/* 239E0 800485E0 14400005 */ bnez $v0, .L800485F8 -/* 239E4 800485E4 0000882D */ daddu $s1, $zero, $zero -/* 239E8 800485E8 26F70001 */ addiu $s7, $s7, 1 -/* 239EC 800485EC 0017B0C0 */ sll $s6, $s7, 3 -/* 239F0 800485F0 0000F02D */ daddu $fp, $zero, $zero -.L800485F4: -/* 239F4 800485F4 0000882D */ daddu $s1, $zero, $zero -.L800485F8: -/* 239F8 800485F8 0220902D */ daddu $s2, $s1, $zero -/* 239FC 800485FC 24150006 */ addiu $s5, $zero, 6 -/* 23A00 80048600 24140004 */ addiu $s4, $zero, 4 -/* 23A04 80048604 8FB00020 */ lw $s0, 0x20($sp) -/* 23A08 80048608 3C0146FF */ lui $at, 0x46ff -/* 23A0C 8004860C 3421FE00 */ ori $at, $at, 0xfe00 -/* 23A10 80048610 4481D000 */ mtc1 $at, $f26 -/* 23A14 80048614 3C0142C8 */ lui $at, 0x42c8 -/* 23A18 80048618 4481E000 */ mtc1 $at, $f28 -/* 23A1C 8004861C 3C028011 */ lui $v0, %hi(gPlayerData+0x2) -/* 23A20 80048620 8042F292 */ lb $v0, %lo(gPlayerData+0x2)($v0) -/* 23A24 80048624 3C038011 */ lui $v1, %hi(gPlayerData+0x3) -/* 23A28 80048628 8063F293 */ lb $v1, %lo(gPlayerData+0x3)($v1) -/* 23A2C 8004862C 24130002 */ addiu $s3, $zero, 2 -/* 23A30 80048630 AFA00030 */ sw $zero, 0x30($sp) -/* 23A34 80048634 44821000 */ mtc1 $v0, $f2 -/* 23A38 80048638 00000000 */ nop -/* 23A3C 8004863C 468010A0 */ cvt.s.w $f2, $f2 -/* 23A40 80048640 44830000 */ mtc1 $v1, $f0 -/* 23A44 80048644 00000000 */ nop -/* 23A48 80048648 46800020 */ cvt.s.w $f0, $f0 -/* 23A4C 8004864C 46001603 */ div.s $f24, $f2, $f0 -.L80048650: -/* 23A50 80048650 8FA80020 */ lw $t0, 0x20($sp) -/* 23A54 80048654 86030032 */ lh $v1, 0x32($s0) -/* 23A58 80048658 01131021 */ addu $v0, $t0, $s3 -/* 23A5C 8004865C 4483B000 */ mtc1 $v1, $f22 -/* 23A60 80048660 00000000 */ nop -/* 23A64 80048664 4680B5A0 */ cvt.s.w $f22, $f22 -/* 23A68 80048668 461AB583 */ div.s $f22, $f22, $f26 -/* 23A6C 8004866C 84420032 */ lh $v0, 0x32($v0) -/* 23A70 80048670 4616C03E */ c.le.s $f24, $f22 -/* 23A74 80048674 4482A000 */ mtc1 $v0, $f20 -/* 23A78 80048678 00000000 */ nop -/* 23A7C 8004867C 4680A520 */ cvt.s.w $f20, $f20 -/* 23A80 80048680 45000034 */ bc1f .L80048754 -/* 23A84 80048684 461AA503 */ div.s $f20, $f20, $f26 -/* 23A88 80048688 0C00A67F */ jal rand_int -/* 23A8C 8004868C 24040064 */ addiu $a0, $zero, 0x64 -/* 23A90 80048690 461CA082 */ mul.s $f2, $f20, $f28 -/* 23A94 80048694 00000000 */ nop -/* 23A98 80048698 44820000 */ mtc1 $v0, $f0 -/* 23A9C 8004869C 00000000 */ nop -/* 23AA0 800486A0 46800020 */ cvt.s.w $f0, $f0 -/* 23AA4 800486A4 4602003E */ c.le.s $f0, $f2 -/* 23AA8 800486A8 00000000 */ nop -/* 23AAC 800486AC 4502002A */ bc1fl .L80048758 -/* 23AB0 800486B0 26B50008 */ addiu $s5, $s5, 8 -/* 23AB4 800486B4 0000802D */ daddu $s0, $zero, $zero -/* 23AB8 800486B8 8FA80020 */ lw $t0, 0x20($sp) -/* 23ABC 800486BC 44900000 */ mtc1 $s0, $f0 -/* 23AC0 800486C0 00000000 */ nop -/* 23AC4 800486C4 46800020 */ cvt.s.w $f0, $f0 -/* 23AC8 800486C8 01141021 */ addu $v0, $t0, $s4 -/* 23ACC 800486CC 01151821 */ addu $v1, $t0, $s5 -/* 23AD0 800486D0 84420032 */ lh $v0, 0x32($v0) -/* 23AD4 800486D4 84630032 */ lh $v1, 0x32($v1) -/* 23AD8 800486D8 4482B000 */ mtc1 $v0, $f22 -/* 23ADC 800486DC 00000000 */ nop -/* 23AE0 800486E0 4680B5A0 */ cvt.s.w $f22, $f22 -/* 23AE4 800486E4 4483A000 */ mtc1 $v1, $f20 -/* 23AE8 800486E8 00000000 */ nop -/* 23AEC 800486EC 4680A520 */ cvt.s.w $f20, $f20 -/* 23AF0 800486F0 4616003C */ c.lt.s $f0, $f22 -/* 23AF4 800486F4 00000000 */ nop -/* 23AF8 800486F8 4500001D */ bc1f .L80048770 -/* 23AFC 800486FC 461AA503 */ div.s $f20, $f20, $f26 -.L80048700: -/* 23B00 80048700 0C00A67F */ jal rand_int -/* 23B04 80048704 24040064 */ addiu $a0, $zero, 0x64 -/* 23B08 80048708 461CA082 */ mul.s $f2, $f20, $f28 -/* 23B0C 8004870C 00000000 */ nop -/* 23B10 80048710 44820000 */ mtc1 $v0, $f0 -/* 23B14 80048714 00000000 */ nop -/* 23B18 80048718 46800020 */ cvt.s.w $f0, $f0 -/* 23B1C 8004871C 4602003E */ c.le.s $f0, $f2 -/* 23B20 80048720 00000000 */ nop -/* 23B24 80048724 45030001 */ bc1tl .L8004872C -/* 23B28 80048728 26310001 */ addiu $s1, $s1, 1 -.L8004872C: -/* 23B2C 8004872C 26100001 */ addiu $s0, $s0, 1 -/* 23B30 80048730 44900000 */ mtc1 $s0, $f0 -/* 23B34 80048734 00000000 */ nop -/* 23B38 80048738 46800020 */ cvt.s.w $f0, $f0 -/* 23B3C 8004873C 4616003C */ c.lt.s $f0, $f22 -/* 23B40 80048740 00000000 */ nop -/* 23B44 80048744 4500000A */ bc1f .L80048770 -/* 23B48 80048748 00000000 */ nop -/* 23B4C 8004874C 080121C0 */ j .L80048700 -/* 23B50 80048750 00000000 */ nop -.L80048754: -/* 23B54 80048754 26B50008 */ addiu $s5, $s5, 8 -.L80048758: -/* 23B58 80048758 26940008 */ addiu $s4, $s4, 8 -/* 23B5C 8004875C 26730008 */ addiu $s3, $s3, 8 -/* 23B60 80048760 26520001 */ addiu $s2, $s2, 1 -/* 23B64 80048764 2A420008 */ slti $v0, $s2, 8 -/* 23B68 80048768 1440FFB9 */ bnez $v0, .L80048650 -/* 23B6C 8004876C 26100008 */ addiu $s0, $s0, 8 -.L80048770: -/* 23B70 80048770 0C03A752 */ jal is_ability_active -/* 23B74 80048774 2404002B */ addiu $a0, $zero, 0x2b -/* 23B78 80048778 10400005 */ beqz $v0, .L80048790 -/* 23B7C 8004877C 00000000 */ nop -/* 23B80 80048780 0C00A67F */ jal rand_int -/* 23B84 80048784 24040002 */ addiu $a0, $zero, 2 -/* 23B88 80048788 26230001 */ addiu $v1, $s1, 1 -/* 23B8C 8004878C 00628821 */ addu $s1, $v1, $v0 -.L80048790: -/* 23B90 80048790 8FA80098 */ lw $t0, 0x98($sp) -/* 23B94 80048794 8D020000 */ lw $v0, ($t0) -/* 23B98 80048798 3C030080 */ lui $v1, 0x80 -/* 23B9C 8004879C 00431024 */ and $v0, $v0, $v1 -/* 23BA0 800487A0 54400001 */ bnel $v0, $zero, .L800487A8 -/* 23BA4 800487A4 0000882D */ daddu $s1, $zero, $zero -.L800487A8: -/* 23BA8 800487A8 12200002 */ beqz $s1, .L800487B4 -/* 23BAC 800487AC 24080156 */ addiu $t0, $zero, 0x156 -/* 23BB0 800487B0 AFA80030 */ sw $t0, 0x30($sp) -.L800487B4: -/* 23BB4 800487B4 8FA80028 */ lw $t0, 0x28($sp) -/* 23BB8 800487B8 00111040 */ sll $v0, $s1, 1 -/* 23BBC 800487BC 0102102A */ slt $v0, $t0, $v0 -/* 23BC0 800487C0 10400004 */ beqz $v0, .L800487D4 -/* 23BC4 800487C4 000817C2 */ srl $v0, $t0, 0x1f -/* 23BC8 800487C8 01021021 */ addu $v0, $t0, $v0 -/* 23BCC 800487CC 00028843 */ sra $s1, $v0, 1 -/* 23BD0 800487D0 8FA80028 */ lw $t0, 0x28($sp) -.L800487D4: -/* 23BD4 800487D4 00111040 */ sll $v0, $s1, 1 -/* 23BD8 800487D8 01024023 */ subu $t0, $t0, $v0 -/* 23BDC 800487DC AFA80028 */ sw $t0, 0x28($sp) -/* 23BE0 800487E0 8FA8002C */ lw $t0, 0x2c($sp) -/* 23BE4 800487E4 0111102A */ slt $v0, $t0, $s1 -/* 23BE8 800487E8 54400002 */ bnel $v0, $zero, .L800487F4 -/* 23BEC 800487EC 0100882D */ daddu $s1, $t0, $zero -/* 23BF0 800487F0 8FA8002C */ lw $t0, 0x2c($sp) -.L800487F4: -/* 23BF4 800487F4 0000902D */ daddu $s2, $zero, $zero -/* 23BF8 800487F8 01114023 */ subu $t0, $t0, $s1 -/* 23BFC 800487FC 1A200029 */ blez $s1, .L800488A4 -/* 23C00 80048800 AFA8002C */ sw $t0, 0x2c($sp) -/* 23C04 80048804 24130004 */ addiu $s3, $zero, 4 -/* 23C08 80048808 3C01403E */ lui $at, 0x403e -/* 23C0C 8004880C 4481A800 */ mtc1 $at, $f21 -/* 23C10 80048810 4480A000 */ mtc1 $zero, $f20 -/* 23C14 80048814 00171840 */ sll $v1, $s7, 1 -/* 23C18 80048818 00771821 */ addu $v1, $v1, $s7 -/* 23C1C 8004881C 02631004 */ sllv $v0, $v1, $s3 -/* 23C20 80048820 00431023 */ subu $v0, $v0, $v1 -/* 23C24 80048824 000280C0 */ sll $s0, $v0, 3 -.L80048828: -/* 23C28 80048828 8FA50034 */ lw $a1, 0x34($sp) -/* 23C2C 8004882C 8FA60038 */ lw $a2, 0x38($sp) -/* 23C30 80048830 4407F000 */ mfc1 $a3, $f30 -/* 23C34 80048834 8FA40030 */ lw $a0, 0x30($sp) -/* 23C38 80048838 8FA80024 */ lw $t0, 0x24($sp) -/* 23C3C 8004883C 02D01021 */ addu $v0, $s6, $s0 -/* 23C40 80048840 AFB30010 */ sw $s3, 0x10($sp) -/* 23C44 80048844 AFA20018 */ sw $v0, 0x18($sp) -/* 23C48 80048848 AFA0001C */ sw $zero, 0x1c($sp) -/* 23C4C 8004884C 0C04C4FD */ jal make_item_entity -/* 23C50 80048850 AFA80014 */ sw $t0, 0x14($sp) -/* 23C54 80048854 44960000 */ mtc1 $s6, $f0 -/* 23C58 80048858 00000000 */ nop -/* 23C5C 8004885C 46800021 */ cvt.d.w $f0, $f0 -/* 23C60 80048860 27DE0001 */ addiu $fp, $fp, 1 -/* 23C64 80048864 2BC2000C */ slti $v0, $fp, 0xc -/* 23C68 80048868 8FA80024 */ lw $t0, 0x24($sp) -/* 23C6C 8004886C 46340000 */ add.d $f0, $f0, $f20 -/* 23C70 80048870 25080002 */ addiu $t0, $t0, 2 -/* 23C74 80048874 AFA80024 */ sw $t0, 0x24($sp) -/* 23C78 80048878 4620010D */ trunc.w.d $f4, $f0 -/* 23C7C 8004887C 44162000 */ mfc1 $s6, $f4 -/* 23C80 80048880 14400005 */ bnez $v0, .L80048898 -/* 23C84 80048884 26520001 */ addiu $s2, $s2, 1 -/* 23C88 80048888 0000F02D */ daddu $fp, $zero, $zero -/* 23C8C 8004888C 26100168 */ addiu $s0, $s0, 0x168 -/* 23C90 80048890 26F70001 */ addiu $s7, $s7, 1 -/* 23C94 80048894 0017B0C0 */ sll $s6, $s7, 3 -.L80048898: -/* 23C98 80048898 0251102A */ slt $v0, $s2, $s1 -/* 23C9C 8004889C 1440FFE2 */ bnez $v0, .L80048828 -/* 23CA0 800488A0 00000000 */ nop -.L800488A4: -/* 23CA4 800488A4 0000882D */ daddu $s1, $zero, $zero -/* 23CA8 800488A8 0220902D */ daddu $s2, $s1, $zero -/* 23CAC 800488AC 24150006 */ addiu $s5, $zero, 6 -/* 23CB0 800488B0 24140004 */ addiu $s4, $zero, 4 -/* 23CB4 800488B4 8FB00020 */ lw $s0, 0x20($sp) -/* 23CB8 800488B8 3C0146FF */ lui $at, 0x46ff -/* 23CBC 800488BC 3421FE00 */ ori $at, $at, 0xfe00 -/* 23CC0 800488C0 4481D000 */ mtc1 $at, $f26 -/* 23CC4 800488C4 3C0142C8 */ lui $at, 0x42c8 -/* 23CC8 800488C8 4481E000 */ mtc1 $at, $f28 -/* 23CCC 800488CC 3C028011 */ lui $v0, %hi(gPlayerData+0x5) -/* 23CD0 800488D0 8042F295 */ lb $v0, %lo(gPlayerData+0x5)($v0) -/* 23CD4 800488D4 3C038011 */ lui $v1, %hi(gPlayerData+0x6) -/* 23CD8 800488D8 8063F296 */ lb $v1, %lo(gPlayerData+0x6)($v1) -/* 23CDC 800488DC 24130002 */ addiu $s3, $zero, 2 -/* 23CE0 800488E0 AFA00030 */ sw $zero, 0x30($sp) -/* 23CE4 800488E4 44821000 */ mtc1 $v0, $f2 -/* 23CE8 800488E8 00000000 */ nop -/* 23CEC 800488EC 468010A0 */ cvt.s.w $f2, $f2 -/* 23CF0 800488F0 44830000 */ mtc1 $v1, $f0 -/* 23CF4 800488F4 00000000 */ nop -/* 23CF8 800488F8 46800020 */ cvt.s.w $f0, $f0 -/* 23CFC 800488FC 46001603 */ div.s $f24, $f2, $f0 -.L80048900: -/* 23D00 80048900 8FA80020 */ lw $t0, 0x20($sp) -/* 23D04 80048904 86030072 */ lh $v1, 0x72($s0) -/* 23D08 80048908 01131021 */ addu $v0, $t0, $s3 -/* 23D0C 8004890C 4483B000 */ mtc1 $v1, $f22 -/* 23D10 80048910 00000000 */ nop -/* 23D14 80048914 4680B5A0 */ cvt.s.w $f22, $f22 -/* 23D18 80048918 461AB583 */ div.s $f22, $f22, $f26 -/* 23D1C 8004891C 84420072 */ lh $v0, 0x72($v0) -/* 23D20 80048920 4616C03E */ c.le.s $f24, $f22 -/* 23D24 80048924 4482A000 */ mtc1 $v0, $f20 -/* 23D28 80048928 00000000 */ nop -/* 23D2C 8004892C 4680A520 */ cvt.s.w $f20, $f20 -/* 23D30 80048930 45000034 */ bc1f .L80048A04 -/* 23D34 80048934 461AA503 */ div.s $f20, $f20, $f26 -/* 23D38 80048938 0C00A67F */ jal rand_int -/* 23D3C 8004893C 24040064 */ addiu $a0, $zero, 0x64 -/* 23D40 80048940 461CA082 */ mul.s $f2, $f20, $f28 -/* 23D44 80048944 00000000 */ nop -/* 23D48 80048948 44820000 */ mtc1 $v0, $f0 -/* 23D4C 8004894C 00000000 */ nop -/* 23D50 80048950 46800020 */ cvt.s.w $f0, $f0 -/* 23D54 80048954 4602003E */ c.le.s $f0, $f2 -/* 23D58 80048958 00000000 */ nop -/* 23D5C 8004895C 4502002A */ bc1fl .L80048A08 -/* 23D60 80048960 26B50008 */ addiu $s5, $s5, 8 -/* 23D64 80048964 0000802D */ daddu $s0, $zero, $zero -/* 23D68 80048968 8FA80020 */ lw $t0, 0x20($sp) -/* 23D6C 8004896C 44900000 */ mtc1 $s0, $f0 -/* 23D70 80048970 00000000 */ nop -/* 23D74 80048974 46800020 */ cvt.s.w $f0, $f0 -/* 23D78 80048978 01141021 */ addu $v0, $t0, $s4 -/* 23D7C 8004897C 01151821 */ addu $v1, $t0, $s5 -/* 23D80 80048980 84420072 */ lh $v0, 0x72($v0) -/* 23D84 80048984 84630072 */ lh $v1, 0x72($v1) -/* 23D88 80048988 4482B000 */ mtc1 $v0, $f22 -/* 23D8C 8004898C 00000000 */ nop -/* 23D90 80048990 4680B5A0 */ cvt.s.w $f22, $f22 -/* 23D94 80048994 4483A000 */ mtc1 $v1, $f20 -/* 23D98 80048998 00000000 */ nop -/* 23D9C 8004899C 4680A520 */ cvt.s.w $f20, $f20 -/* 23DA0 800489A0 4616003C */ c.lt.s $f0, $f22 -/* 23DA4 800489A4 00000000 */ nop -/* 23DA8 800489A8 4500001D */ bc1f .L80048A20 -/* 23DAC 800489AC 461AA503 */ div.s $f20, $f20, $f26 -.L800489B0: -/* 23DB0 800489B0 0C00A67F */ jal rand_int -/* 23DB4 800489B4 24040064 */ addiu $a0, $zero, 0x64 -/* 23DB8 800489B8 461CA082 */ mul.s $f2, $f20, $f28 -/* 23DBC 800489BC 00000000 */ nop -/* 23DC0 800489C0 44820000 */ mtc1 $v0, $f0 -/* 23DC4 800489C4 00000000 */ nop -/* 23DC8 800489C8 46800020 */ cvt.s.w $f0, $f0 -/* 23DCC 800489CC 4602003E */ c.le.s $f0, $f2 -/* 23DD0 800489D0 00000000 */ nop -/* 23DD4 800489D4 45030001 */ bc1tl .L800489DC -/* 23DD8 800489D8 26310001 */ addiu $s1, $s1, 1 -.L800489DC: -/* 23DDC 800489DC 26100001 */ addiu $s0, $s0, 1 -/* 23DE0 800489E0 44900000 */ mtc1 $s0, $f0 -/* 23DE4 800489E4 00000000 */ nop -/* 23DE8 800489E8 46800020 */ cvt.s.w $f0, $f0 -/* 23DEC 800489EC 4616003C */ c.lt.s $f0, $f22 -/* 23DF0 800489F0 00000000 */ nop -/* 23DF4 800489F4 4500000A */ bc1f .L80048A20 -/* 23DF8 800489F8 00000000 */ nop -/* 23DFC 800489FC 0801226C */ j .L800489B0 -/* 23E00 80048A00 00000000 */ nop -.L80048A04: -/* 23E04 80048A04 26B50008 */ addiu $s5, $s5, 8 -.L80048A08: -/* 23E08 80048A08 26940008 */ addiu $s4, $s4, 8 -/* 23E0C 80048A0C 26730008 */ addiu $s3, $s3, 8 -/* 23E10 80048A10 26520001 */ addiu $s2, $s2, 1 -/* 23E14 80048A14 2A420008 */ slti $v0, $s2, 8 -/* 23E18 80048A18 1440FFB9 */ bnez $v0, .L80048900 -/* 23E1C 80048A1C 26100008 */ addiu $s0, $s0, 8 -.L80048A20: -/* 23E20 80048A20 0C03A752 */ jal is_ability_active -/* 23E24 80048A24 2404002C */ addiu $a0, $zero, 0x2c -/* 23E28 80048A28 10400005 */ beqz $v0, .L80048A40 -/* 23E2C 80048A2C 00000000 */ nop -/* 23E30 80048A30 0C00A67F */ jal rand_int -/* 23E34 80048A34 24040002 */ addiu $a0, $zero, 2 -/* 23E38 80048A38 26230001 */ addiu $v1, $s1, 1 -/* 23E3C 80048A3C 00628821 */ addu $s1, $v1, $v0 -.L80048A40: -/* 23E40 80048A40 8FA80098 */ lw $t0, 0x98($sp) -/* 23E44 80048A44 8D020000 */ lw $v0, ($t0) -/* 23E48 80048A48 3C030080 */ lui $v1, 0x80 -/* 23E4C 80048A4C 00431024 */ and $v0, $v0, $v1 -/* 23E50 80048A50 54400001 */ bnel $v0, $zero, .L80048A58 -/* 23E54 80048A54 0000882D */ daddu $s1, $zero, $zero -.L80048A58: -/* 23E58 80048A58 12200002 */ beqz $s1, .L80048A64 -/* 23E5C 80048A5C 2408015B */ addiu $t0, $zero, 0x15b -/* 23E60 80048A60 AFA80030 */ sw $t0, 0x30($sp) -.L80048A64: -/* 23E64 80048A64 8FA80028 */ lw $t0, 0x28($sp) -/* 23E68 80048A68 00111040 */ sll $v0, $s1, 1 -/* 23E6C 80048A6C 0102102A */ slt $v0, $t0, $v0 -/* 23E70 80048A70 10400004 */ beqz $v0, .L80048A84 -/* 23E74 80048A74 000817C2 */ srl $v0, $t0, 0x1f -/* 23E78 80048A78 01021021 */ addu $v0, $t0, $v0 -/* 23E7C 80048A7C 00028843 */ sra $s1, $v0, 1 -/* 23E80 80048A80 8FA80028 */ lw $t0, 0x28($sp) -.L80048A84: -/* 23E84 80048A84 00111040 */ sll $v0, $s1, 1 -/* 23E88 80048A88 01024023 */ subu $t0, $t0, $v0 -/* 23E8C 80048A8C AFA80028 */ sw $t0, 0x28($sp) -/* 23E90 80048A90 8FA8002C */ lw $t0, 0x2c($sp) -/* 23E94 80048A94 0111102A */ slt $v0, $t0, $s1 -/* 23E98 80048A98 54400002 */ bnel $v0, $zero, .L80048AA4 -/* 23E9C 80048A9C 0100882D */ daddu $s1, $t0, $zero -/* 23EA0 80048AA0 8FA8002C */ lw $t0, 0x2c($sp) -.L80048AA4: -/* 23EA4 80048AA4 0000902D */ daddu $s2, $zero, $zero -/* 23EA8 80048AA8 01114023 */ subu $t0, $t0, $s1 -/* 23EAC 80048AAC 1A200029 */ blez $s1, .L80048B54 -/* 23EB0 80048AB0 AFA8002C */ sw $t0, 0x2c($sp) -/* 23EB4 80048AB4 24130004 */ addiu $s3, $zero, 4 -/* 23EB8 80048AB8 3C01403E */ lui $at, 0x403e -/* 23EBC 80048ABC 4481A800 */ mtc1 $at, $f21 -/* 23EC0 80048AC0 4480A000 */ mtc1 $zero, $f20 -/* 23EC4 80048AC4 00171840 */ sll $v1, $s7, 1 -/* 23EC8 80048AC8 00771821 */ addu $v1, $v1, $s7 -/* 23ECC 80048ACC 02631004 */ sllv $v0, $v1, $s3 -/* 23ED0 80048AD0 00431023 */ subu $v0, $v0, $v1 -/* 23ED4 80048AD4 000280C0 */ sll $s0, $v0, 3 -.L80048AD8: -/* 23ED8 80048AD8 8FA50034 */ lw $a1, 0x34($sp) -/* 23EDC 80048ADC 8FA60038 */ lw $a2, 0x38($sp) -/* 23EE0 80048AE0 4407F000 */ mfc1 $a3, $f30 -/* 23EE4 80048AE4 8FA40030 */ lw $a0, 0x30($sp) -/* 23EE8 80048AE8 8FA80024 */ lw $t0, 0x24($sp) -/* 23EEC 80048AEC 02D01021 */ addu $v0, $s6, $s0 -/* 23EF0 80048AF0 AFB30010 */ sw $s3, 0x10($sp) -/* 23EF4 80048AF4 AFA20018 */ sw $v0, 0x18($sp) -/* 23EF8 80048AF8 AFA0001C */ sw $zero, 0x1c($sp) -/* 23EFC 80048AFC 0C04C4FD */ jal make_item_entity -/* 23F00 80048B00 AFA80014 */ sw $t0, 0x14($sp) -/* 23F04 80048B04 44960000 */ mtc1 $s6, $f0 -/* 23F08 80048B08 00000000 */ nop -/* 23F0C 80048B0C 46800021 */ cvt.d.w $f0, $f0 -/* 23F10 80048B10 27DE0001 */ addiu $fp, $fp, 1 -/* 23F14 80048B14 2BC2000C */ slti $v0, $fp, 0xc -/* 23F18 80048B18 8FA80024 */ lw $t0, 0x24($sp) -/* 23F1C 80048B1C 46340000 */ add.d $f0, $f0, $f20 -/* 23F20 80048B20 25080002 */ addiu $t0, $t0, 2 -/* 23F24 80048B24 AFA80024 */ sw $t0, 0x24($sp) -/* 23F28 80048B28 4620010D */ trunc.w.d $f4, $f0 -/* 23F2C 80048B2C 44162000 */ mfc1 $s6, $f4 -/* 23F30 80048B30 14400005 */ bnez $v0, .L80048B48 -/* 23F34 80048B34 26520001 */ addiu $s2, $s2, 1 -/* 23F38 80048B38 0000F02D */ daddu $fp, $zero, $zero -/* 23F3C 80048B3C 26100168 */ addiu $s0, $s0, 0x168 -/* 23F40 80048B40 26F70001 */ addiu $s7, $s7, 1 -/* 23F44 80048B44 0017B0C0 */ sll $s6, $s7, 3 -.L80048B48: -/* 23F48 80048B48 0251102A */ slt $v0, $s2, $s1 -/* 23F4C 80048B4C 1440FFE2 */ bnez $v0, .L80048AD8 -/* 23F50 80048B50 00000000 */ nop -.L80048B54: -/* 23F54 80048B54 24080157 */ addiu $t0, $zero, 0x157 -/* 23F58 80048B58 AFA80030 */ sw $t0, 0x30($sp) -/* 23F5C 80048B5C 8FA80020 */ lw $t0, 0x20($sp) -/* 23F60 80048B60 851000B2 */ lh $s0, 0xb2($t0) -/* 23F64 80048B64 850400B4 */ lh $a0, 0xb4($t0) -/* 23F68 80048B68 0090102A */ slt $v0, $a0, $s0 -/* 23F6C 80048B6C 10400003 */ beqz $v0, .L80048B7C -/* 23F70 80048B70 0200882D */ daddu $s1, $s0, $zero -/* 23F74 80048B74 0080802D */ daddu $s0, $a0, $zero -/* 23F78 80048B78 0220202D */ daddu $a0, $s1, $zero -.L80048B7C: -/* 23F7C 80048B7C 06010003 */ bgez $s0, .L80048B8C -/* 23F80 80048B80 00908823 */ subu $s1, $a0, $s0 -/* 23F84 80048B84 080122E5 */ j .L80048B94 -/* 23F88 80048B88 00902023 */ subu $a0, $a0, $s0 -.L80048B8C: -/* 23F8C 80048B8C 12200005 */ beqz $s1, .L80048BA4 -/* 23F90 80048B90 0220202D */ daddu $a0, $s1, $zero -.L80048B94: -/* 23F94 80048B94 0C00A67F */ jal rand_int -/* 23F98 80048B98 00000000 */ nop -/* 23F9C 80048B9C 080122EA */ j .L80048BA8 -/* 23FA0 80048BA0 00508821 */ addu $s1, $v0, $s0 -.L80048BA4: -/* 23FA4 80048BA4 0200882D */ daddu $s1, $s0, $zero -.L80048BA8: -/* 23FA8 80048BA8 06220001 */ bltzl $s1, .L80048BB0 -/* 23FAC 80048BAC 0000882D */ daddu $s1, $zero, $zero -.L80048BB0: -/* 23FB0 80048BB0 3C02800B */ lui $v0, %hi(gCurrentEncounter+0xE) -/* 23FB4 80048BB4 84420F1E */ lh $v0, %lo(gCurrentEncounter+0xE)($v0) -/* 23FB8 80048BB8 24040019 */ addiu $a0, $zero, 0x19 -/* 23FBC 80048BBC 0C03A752 */ jal is_ability_active -/* 23FC0 80048BC0 02228821 */ addu $s1, $s1, $v0 -/* 23FC4 80048BC4 10400007 */ beqz $v0, .L80048BE4 -/* 23FC8 80048BC8 00000000 */ nop -/* 23FCC 80048BCC 3C02800B */ lui $v0, %hi(gCurrentEncounter+0xC) -/* 23FD0 80048BD0 90420F1C */ lbu $v0, %lo(gCurrentEncounter+0xC)($v0) -/* 23FD4 80048BD4 3C01800B */ lui $at, %hi(gCurrentEncounter+0xC) -/* 23FD8 80048BD8 A0200F1C */ sb $zero, %lo(gCurrentEncounter+0xC)($at) -/* 23FDC 80048BDC 00021042 */ srl $v0, $v0, 1 -/* 23FE0 80048BE0 02228821 */ addu $s1, $s1, $v0 -.L80048BE4: -/* 23FE4 80048BE4 3C02800B */ lui $v0, %hi(gCurrentEncounter+0xB) -/* 23FE8 80048BE8 80420F1B */ lb $v0, %lo(gCurrentEncounter+0xB)($v0) -/* 23FEC 80048BEC 10400004 */ beqz $v0, .L80048C00 -/* 23FF0 80048BF0 00111040 */ sll $v0, $s1, 1 -/* 23FF4 80048BF4 3C01800B */ lui $at, %hi(gCurrentEncounter+0xB) -/* 23FF8 80048BF8 A0200F1B */ sb $zero, %lo(gCurrentEncounter+0xB)($at) -/* 23FFC 80048BFC 02228821 */ addu $s1, $s1, $v0 -.L80048C00: -/* 24000 80048C00 0C03A752 */ jal is_ability_active -/* 24004 80048C04 24040010 */ addiu $a0, $zero, 0x10 -/* 24008 80048C08 54400001 */ bnel $v0, $zero, .L80048C10 -/* 2400C 80048C0C 00118840 */ sll $s1, $s1, 1 -.L80048C10: -/* 24010 80048C10 2A220015 */ slti $v0, $s1, 0x15 -/* 24014 80048C14 50400001 */ beql $v0, $zero, .L80048C1C -/* 24018 80048C18 24110014 */ addiu $s1, $zero, 0x14 -.L80048C1C: -/* 2401C 80048C1C 8FA80098 */ lw $t0, 0x98($sp) -/* 24020 80048C20 8D020000 */ lw $v0, ($t0) -/* 24024 80048C24 3C030080 */ lui $v1, 0x80 -/* 24028 80048C28 00431024 */ and $v0, $v0, $v1 -/* 2402C 80048C2C 54400001 */ bnel $v0, $zero, .L80048C34 -/* 24030 80048C30 0000882D */ daddu $s1, $zero, $zero -.L80048C34: -/* 24034 80048C34 8FA80028 */ lw $t0, 0x28($sp) -/* 24038 80048C38 00111040 */ sll $v0, $s1, 1 -/* 2403C 80048C3C 0102102A */ slt $v0, $t0, $v0 -/* 24040 80048C40 10400003 */ beqz $v0, .L80048C50 -/* 24044 80048C44 000817C2 */ srl $v0, $t0, 0x1f -/* 24048 80048C48 01021021 */ addu $v0, $t0, $v0 -/* 2404C 80048C4C 00028843 */ sra $s1, $v0, 1 -.L80048C50: -/* 24050 80048C50 8FA8002C */ lw $t0, 0x2c($sp) -/* 24054 80048C54 0111102A */ slt $v0, $t0, $s1 -/* 24058 80048C58 54400001 */ bnel $v0, $zero, .L80048C60 -/* 2405C 80048C5C 0100882D */ daddu $s1, $t0, $zero -.L80048C60: -/* 24060 80048C60 1A200029 */ blez $s1, .L80048D08 -/* 24064 80048C64 0000902D */ daddu $s2, $zero, $zero -/* 24068 80048C68 24130004 */ addiu $s3, $zero, 4 -/* 2406C 80048C6C 3C01403E */ lui $at, 0x403e -/* 24070 80048C70 4481A800 */ mtc1 $at, $f21 -/* 24074 80048C74 4480A000 */ mtc1 $zero, $f20 -/* 24078 80048C78 00171840 */ sll $v1, $s7, 1 -/* 2407C 80048C7C 00771821 */ addu $v1, $v1, $s7 -/* 24080 80048C80 02631004 */ sllv $v0, $v1, $s3 -/* 24084 80048C84 00431023 */ subu $v0, $v0, $v1 -/* 24088 80048C88 000280C0 */ sll $s0, $v0, 3 -.L80048C8C: -/* 2408C 80048C8C 8FA50034 */ lw $a1, 0x34($sp) -/* 24090 80048C90 8FA60038 */ lw $a2, 0x38($sp) -/* 24094 80048C94 4407F000 */ mfc1 $a3, $f30 -/* 24098 80048C98 8FA40030 */ lw $a0, 0x30($sp) -/* 2409C 80048C9C 8FA80024 */ lw $t0, 0x24($sp) -/* 240A0 80048CA0 02D01021 */ addu $v0, $s6, $s0 -/* 240A4 80048CA4 AFB30010 */ sw $s3, 0x10($sp) -/* 240A8 80048CA8 AFA20018 */ sw $v0, 0x18($sp) -/* 240AC 80048CAC AFA0001C */ sw $zero, 0x1c($sp) -/* 240B0 80048CB0 0C04C4FD */ jal make_item_entity -/* 240B4 80048CB4 AFA80014 */ sw $t0, 0x14($sp) -/* 240B8 80048CB8 44960000 */ mtc1 $s6, $f0 -/* 240BC 80048CBC 00000000 */ nop -/* 240C0 80048CC0 46800021 */ cvt.d.w $f0, $f0 -/* 240C4 80048CC4 27DE0001 */ addiu $fp, $fp, 1 -/* 240C8 80048CC8 2BC2000C */ slti $v0, $fp, 0xc -/* 240CC 80048CCC 8FA80024 */ lw $t0, 0x24($sp) -/* 240D0 80048CD0 46340000 */ add.d $f0, $f0, $f20 -/* 240D4 80048CD4 25080002 */ addiu $t0, $t0, 2 -/* 240D8 80048CD8 AFA80024 */ sw $t0, 0x24($sp) -/* 240DC 80048CDC 4620010D */ trunc.w.d $f4, $f0 -/* 240E0 80048CE0 44162000 */ mfc1 $s6, $f4 -/* 240E4 80048CE4 14400005 */ bnez $v0, .L80048CFC -/* 240E8 80048CE8 26520001 */ addiu $s2, $s2, 1 -/* 240EC 80048CEC 0000F02D */ daddu $fp, $zero, $zero -/* 240F0 80048CF0 26100168 */ addiu $s0, $s0, 0x168 -/* 240F4 80048CF4 26F70001 */ addiu $s7, $s7, 1 -/* 240F8 80048CF8 0017B0C0 */ sll $s6, $s7, 3 -.L80048CFC: -/* 240FC 80048CFC 0251102A */ slt $v0, $s2, $s1 -/* 24100 80048D00 1440FFE2 */ bnez $v0, .L80048C8C -/* 24104 80048D04 00000000 */ nop -.L80048D08: -/* 24108 80048D08 8FBF0064 */ lw $ra, 0x64($sp) -/* 2410C 80048D0C 8FBE0060 */ lw $fp, 0x60($sp) -/* 24110 80048D10 8FB7005C */ lw $s7, 0x5c($sp) -/* 24114 80048D14 8FB60058 */ lw $s6, 0x58($sp) -/* 24118 80048D18 8FB50054 */ lw $s5, 0x54($sp) -/* 2411C 80048D1C 8FB40050 */ lw $s4, 0x50($sp) -/* 24120 80048D20 8FB3004C */ lw $s3, 0x4c($sp) -/* 24124 80048D24 8FB20048 */ lw $s2, 0x48($sp) -/* 24128 80048D28 8FB10044 */ lw $s1, 0x44($sp) -/* 2412C 80048D2C 8FB00040 */ lw $s0, 0x40($sp) -/* 24130 80048D30 D7BE0090 */ ldc1 $f30, 0x90($sp) -/* 24134 80048D34 D7BC0088 */ ldc1 $f28, 0x88($sp) -/* 24138 80048D38 D7BA0080 */ ldc1 $f26, 0x80($sp) -/* 2413C 80048D3C D7B80078 */ ldc1 $f24, 0x78($sp) -/* 24140 80048D40 D7B60070 */ ldc1 $f22, 0x70($sp) -/* 24144 80048D44 D7B40068 */ ldc1 $f20, 0x68($sp) -/* 24148 80048D48 03E00008 */ jr $ra -/* 2414C 80048D4C 27BD0098 */ addiu $sp, $sp, 0x98 diff --git a/ver/us/asm/nonmatchings/code_6F10E0/func_802380E4_6F11C4.s b/ver/us/asm/nonmatchings/code_6F10E0/func_802380E4_6F11C4.s deleted file mode 100644 index c4b62ebbd6..0000000000 --- a/ver/us/asm/nonmatchings/code_6F10E0/func_802380E4_6F11C4.s +++ /dev/null @@ -1,43 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802380E4_6F11C4 -/* 6F11C4 802380E4 27BDFFE0 */ addiu $sp, $sp, -0x20 -/* 6F11C8 802380E8 AFB10014 */ sw $s1, 0x14($sp) -/* 6F11CC 802380EC 0080882D */ daddu $s1, $a0, $zero -/* 6F11D0 802380F0 AFBF0018 */ sw $ra, 0x18($sp) -/* 6F11D4 802380F4 AFB00010 */ sw $s0, 0x10($sp) -/* 6F11D8 802380F8 0C09A75B */ jal get_actor -/* 6F11DC 802380FC 8E240148 */ lw $a0, 0x148($s1) -/* 6F11E0 80238100 0C09A75B */ jal get_actor -/* 6F11E4 80238104 84440428 */ lh $a0, 0x428($v0) -/* 6F11E8 80238108 24030063 */ addiu $v1, $zero, 0x63 -/* 6F11EC 8023810C 3C108024 */ lui $s0, %hi(D_8023BB98_6F4C78) -/* 6F11F0 80238110 2610BB98 */ addiu $s0, $s0, %lo(D_8023BB98_6F4C78) -/* 6F11F4 80238114 AE230084 */ sw $v1, 0x84($s1) -/* 6F11F8 80238118 8C420008 */ lw $v0, 8($v0) -/* 6F11FC 8023811C 8E030000 */ lw $v1, ($s0) -/* 6F1200 80238120 9042001E */ lbu $v0, 0x1e($v0) -/* 6F1204 80238124 00620018 */ mult $v1, $v0 -/* 6F1208 80238128 00001812 */ mflo $v1 -/* 6F120C 8023812C 3C0251EB */ lui $v0, 0x51eb -/* 6F1210 80238130 3442851F */ ori $v0, $v0, 0x851f -/* 6F1214 80238134 00620018 */ mult $v1, $v0 -/* 6F1218 80238138 24040064 */ addiu $a0, $zero, 0x64 -/* 6F121C 8023813C 00031FC3 */ sra $v1, $v1, 0x1f -/* 6F1220 80238140 00003010 */ mfhi $a2 -/* 6F1224 80238144 00061143 */ sra $v0, $a2, 5 -/* 6F1228 80238148 00431023 */ subu $v0, $v0, $v1 -/* 6F122C 8023814C 0C00A67F */ jal rand_int -/* 6F1230 80238150 AE020000 */ sw $v0, ($s0) -/* 6F1234 80238154 8E030000 */ lw $v1, ($s0) -/* 6F1238 80238158 0062182A */ slt $v1, $v1, $v0 -/* 6F123C 8023815C 54600001 */ bnel $v1, $zero, .L80238164 -/* 6F1240 80238160 AE200084 */ sw $zero, 0x84($s1) -.L80238164: -/* 6F1244 80238164 8FBF0018 */ lw $ra, 0x18($sp) -/* 6F1248 80238168 8FB10014 */ lw $s1, 0x14($sp) -/* 6F124C 8023816C 8FB00010 */ lw $s0, 0x10($sp) -/* 6F1250 80238170 24020002 */ addiu $v0, $zero, 2 -/* 6F1254 80238174 03E00008 */ jr $ra -/* 6F1258 80238178 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/ver/us/asm/nonmatchings/code_6F10E0/func_8023817C_6F125C.s b/ver/us/asm/nonmatchings/code_6F10E0/func_8023817C_6F125C.s deleted file mode 100644 index ae6f485541..0000000000 --- a/ver/us/asm/nonmatchings/code_6F10E0/func_8023817C_6F125C.s +++ /dev/null @@ -1,583 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_8023817C_6F125C -/* 6F125C 8023817C 27BDFFB8 */ addiu $sp, $sp, -0x48 -/* 6F1260 80238180 AFB3001C */ sw $s3, 0x1c($sp) -/* 6F1264 80238184 0080982D */ daddu $s3, $a0, $zero -/* 6F1268 80238188 AFB40020 */ sw $s4, 0x20($sp) -/* 6F126C 8023818C 3C14800E */ lui $s4, %hi(gBattleStatus) -/* 6F1270 80238190 2694C070 */ addiu $s4, $s4, %lo(gBattleStatus) -/* 6F1274 80238194 AFBF0024 */ sw $ra, 0x24($sp) -/* 6F1278 80238198 AFB20018 */ sw $s2, 0x18($sp) -/* 6F127C 8023819C AFB10014 */ sw $s1, 0x14($sp) -/* 6F1280 802381A0 AFB00010 */ sw $s0, 0x10($sp) -/* 6F1284 802381A4 F7BA0040 */ sdc1 $f26, 0x40($sp) -/* 6F1288 802381A8 F7B80038 */ sdc1 $f24, 0x38($sp) -/* 6F128C 802381AC F7B60030 */ sdc1 $f22, 0x30($sp) -/* 6F1290 802381B0 F7B40028 */ sdc1 $f20, 0x28($sp) -/* 6F1294 802381B4 8E9200DC */ lw $s2, 0xdc($s4) -/* 6F1298 802381B8 8E71000C */ lw $s1, 0xc($s3) -/* 6F129C 802381BC 10A00010 */ beqz $a1, .L80238200 -/* 6F12A0 802381C0 2650000C */ addiu $s0, $s2, 0xc -/* 6F12A4 802381C4 8E250000 */ lw $a1, ($s1) -/* 6F12A8 802381C8 0C0B1EAF */ jal get_variable -/* 6F12AC 802381CC 26310004 */ addiu $s1, $s1, 4 -/* 6F12B0 802381D0 A6420070 */ sh $v0, 0x70($s2) -/* 6F12B4 802381D4 8E250000 */ lw $a1, ($s1) -/* 6F12B8 802381D8 0C0B1EAF */ jal get_variable -/* 6F12BC 802381DC 0260202D */ daddu $a0, $s3, $zero -/* 6F12C0 802381E0 A6420072 */ sh $v0, 0x72($s2) -/* 6F12C4 802381E4 AE600074 */ sw $zero, 0x74($s3) -/* 6F12C8 802381E8 AE600070 */ sw $zero, 0x70($s3) -/* 6F12CC 802381EC 86430072 */ lh $v1, 0x72($s2) -/* 6F12D0 802381F0 24020001 */ addiu $v0, $zero, 1 -/* 6F12D4 802381F4 14620002 */ bne $v1, $v0, .L80238200 -/* 6F12D8 802381F8 24020002 */ addiu $v0, $zero, 2 -/* 6F12DC 802381FC AE620070 */ sw $v0, 0x70($s3) -.L80238200: -/* 6F12E0 80238200 8E620070 */ lw $v0, 0x70($s3) -/* 6F12E4 80238204 144000F5 */ bnez $v0, .L802385DC -/* 6F12E8 80238208 00000000 */ nop -/* 6F12EC 8023820C C6400144 */ lwc1 $f0, 0x144($s2) -/* 6F12F0 80238210 C618000C */ lwc1 $f24, 0xc($s0) -/* 6F12F4 80238214 C61A0014 */ lwc1 $f26, 0x14($s0) -/* 6F12F8 80238218 E6000000 */ swc1 $f0, ($s0) -/* 6F12FC 8023821C C6400148 */ lwc1 $f0, 0x148($s2) -/* 6F1300 80238220 4406C000 */ mfc1 $a2, $f24 -/* 6F1304 80238224 4407D000 */ mfc1 $a3, $f26 -/* 6F1308 80238228 C6160000 */ lwc1 $f22, ($s0) -/* 6F130C 8023822C E6000004 */ swc1 $f0, 4($s0) -/* 6F1310 80238230 C654014C */ lwc1 $f20, 0x14c($s2) -/* 6F1314 80238234 4600B306 */ mov.s $f12, $f22 -/* 6F1318 80238238 4600A386 */ mov.s $f14, $f20 -/* 6F131C 8023823C 0C00A720 */ jal atan2 -/* 6F1320 80238240 E6140008 */ swc1 $f20, 8($s0) -/* 6F1324 80238244 4600B306 */ mov.s $f12, $f22 -/* 6F1328 80238248 4406C000 */ mfc1 $a2, $f24 -/* 6F132C 8023824C 4407D000 */ mfc1 $a3, $f26 -/* 6F1330 80238250 4600A386 */ mov.s $f14, $f20 -/* 6F1334 80238254 0C00A7B5 */ jal dist2D -/* 6F1338 80238258 E6000048 */ swc1 $f0, 0x48($s0) -/* 6F133C 8023825C 86020064 */ lh $v0, 0x64($s0) -/* 6F1340 80238260 46000106 */ mov.s $f4, $f0 -/* 6F1344 80238264 14400012 */ bnez $v0, .L802382B0 -/* 6F1348 80238268 E604004C */ swc1 $f4, 0x4c($s0) -/* 6F134C 8023826C C6000040 */ lwc1 $f0, 0x40($s0) -/* 6F1350 80238270 C6020040 */ lwc1 $f2, 0x40($s0) -/* 6F1354 80238274 46002003 */ div.s $f0, $f4, $f0 -/* 6F1358 80238278 4600028D */ trunc.w.s $f10, $f0 -/* 6F135C 8023827C 44035000 */ mfc1 $v1, $f10 -/* 6F1360 80238280 00000000 */ nop -/* 6F1364 80238284 00031400 */ sll $v0, $v1, 0x10 -/* 6F1368 80238288 00021403 */ sra $v0, $v0, 0x10 -/* 6F136C 8023828C 44820000 */ mtc1 $v0, $f0 -/* 6F1370 80238290 00000000 */ nop -/* 6F1374 80238294 46800020 */ cvt.s.w $f0, $f0 -/* 6F1378 80238298 46020002 */ mul.s $f0, $f0, $f2 -/* 6F137C 8023829C 00000000 */ nop -/* 6F1380 802382A0 46002086 */ mov.s $f2, $f4 -/* 6F1384 802382A4 A6030064 */ sh $v1, 0x64($s0) -/* 6F1388 802382A8 0808E0B9 */ j .L802382E4 -/* 6F138C 802382AC 46001201 */ sub.s $f8, $f2, $f0 -.L802382B0: -/* 6F1390 802382B0 44821000 */ mtc1 $v0, $f2 -/* 6F1394 802382B4 00000000 */ nop -/* 6F1398 802382B8 468010A0 */ cvt.s.w $f2, $f2 -/* 6F139C 802382BC 86020064 */ lh $v0, 0x64($s0) -/* 6F13A0 802382C0 46022083 */ div.s $f2, $f4, $f2 -/* 6F13A4 802382C4 44820000 */ mtc1 $v0, $f0 -/* 6F13A8 802382C8 00000000 */ nop -/* 6F13AC 802382CC 46800020 */ cvt.s.w $f0, $f0 -/* 6F13B0 802382D0 46020002 */ mul.s $f0, $f0, $f2 -/* 6F13B4 802382D4 00000000 */ nop -/* 6F13B8 802382D8 C604004C */ lwc1 $f4, 0x4c($s0) -/* 6F13BC 802382DC E6020040 */ swc1 $f2, 0x40($s0) -/* 6F13C0 802382E0 46002201 */ sub.s $f8, $f4, $f0 -.L802382E4: -/* 6F13C4 802382E4 86030064 */ lh $v1, 0x64($s0) -/* 6F13C8 802382E8 106001C1 */ beqz $v1, .L802389F0 -/* 6F13CC 802382EC 24020002 */ addiu $v0, $zero, 2 -/* 6F13D0 802382F0 86020064 */ lh $v0, 0x64($s0) -/* 6F13D4 802382F4 C602000C */ lwc1 $f2, 0xc($s0) -/* 6F13D8 802382F8 3C014049 */ lui $at, 0x4049 -/* 6F13DC 802382FC 34210FD0 */ ori $at, $at, 0xfd0 -/* 6F13E0 80238300 44810000 */ mtc1 $at, $f0 -/* 6F13E4 80238304 C6040000 */ lwc1 $f4, ($s0) -/* 6F13E8 80238308 44823000 */ mtc1 $v0, $f6 -/* 6F13EC 8023830C 00000000 */ nop -/* 6F13F0 80238310 468031A0 */ cvt.s.w $f6, $f6 -/* 6F13F4 80238314 46060003 */ div.s $f0, $f0, $f6 -/* 6F13F8 80238318 46041081 */ sub.s $f2, $f2, $f4 -/* 6F13FC 8023831C E600003C */ swc1 $f0, 0x3c($s0) -/* 6F1400 80238320 44830000 */ mtc1 $v1, $f0 -/* 6F1404 80238324 00000000 */ nop -/* 6F1408 80238328 46800020 */ cvt.s.w $f0, $f0 -/* 6F140C 8023832C 46001083 */ div.s $f2, $f2, $f0 -/* 6F1410 80238330 C6000010 */ lwc1 $f0, 0x10($s0) -/* 6F1414 80238334 E6020030 */ swc1 $f2, 0x30($s0) -/* 6F1418 80238338 C6020004 */ lwc1 $f2, 4($s0) -/* 6F141C 8023833C AE000044 */ sw $zero, 0x44($s0) -/* 6F1420 80238340 46020001 */ sub.s $f0, $f0, $f2 -/* 6F1424 80238344 C6040014 */ lwc1 $f4, 0x14($s0) -/* 6F1428 80238348 46003086 */ mov.s $f2, $f6 -/* 6F142C 8023834C 46020003 */ div.s $f0, $f0, $f2 -/* 6F1430 80238350 E6000034 */ swc1 $f0, 0x34($s0) -/* 6F1434 80238354 46003006 */ mov.s $f0, $f6 -/* 6F1438 80238358 46004003 */ div.s $f0, $f8, $f0 -/* 6F143C 8023835C C6020008 */ lwc1 $f2, 8($s0) -/* 6F1440 80238360 86020066 */ lh $v0, 0x66($s0) -/* 6F1444 80238364 46022101 */ sub.s $f4, $f4, $f2 -/* 6F1448 80238368 C6020040 */ lwc1 $f2, 0x40($s0) -/* 6F144C 8023836C 28420003 */ slti $v0, $v0, 3 -/* 6F1450 80238370 46001080 */ add.s $f2, $f2, $f0 -/* 6F1454 80238374 46062103 */ div.s $f4, $f4, $f6 -/* 6F1458 80238378 E6040038 */ swc1 $f4, 0x38($s0) -/* 6F145C 8023837C 10400045 */ beqz $v0, .L80238494 -/* 6F1460 80238380 E6020040 */ swc1 $f2, 0x40($s0) -/* 6F1464 80238384 86020064 */ lh $v0, 0x64($s0) -/* 6F1468 80238388 24030168 */ addiu $v1, $zero, 0x168 -/* 6F146C 8023838C 14400002 */ bnez $v0, .L80238398 -/* 6F1470 80238390 0062001A */ div $zero, $v1, $v0 -/* 6F1474 80238394 0007000D */ break 7 -.L80238398: -/* 6F1478 80238398 2401FFFF */ addiu $at, $zero, -1 -/* 6F147C 8023839C 14410004 */ bne $v0, $at, .L802383B0 -/* 6F1480 802383A0 3C018000 */ lui $at, 0x8000 -/* 6F1484 802383A4 14610002 */ bne $v1, $at, .L802383B0 -/* 6F1488 802383A8 00000000 */ nop -/* 6F148C 802383AC 0006000D */ break 6 -.L802383B0: -/* 6F1490 802383B0 00001812 */ mflo $v1 -/* 6F1494 802383B4 C608004C */ lwc1 $f8, 0x4c($s0) -/* 6F1498 802383B8 3C014034 */ lui $at, 0x4034 -/* 6F149C 802383BC 44811800 */ mtc1 $at, $f3 -/* 6F14A0 802383C0 44801000 */ mtc1 $zero, $f2 -/* 6F14A4 802383C4 46004021 */ cvt.d.s $f0, $f8 -/* 6F14A8 802383C8 46220001 */ sub.d $f0, $f0, $f2 -/* 6F14AC 802383CC 3C014018 */ lui $at, 0x4018 -/* 6F14B0 802383D0 44811800 */ mtc1 $at, $f3 -/* 6F14B4 802383D4 44801000 */ mtc1 $zero, $f2 -/* 6F14B8 802383D8 46200220 */ cvt.s.d $f8, $f0 -/* 6F14BC 802383DC 46004021 */ cvt.d.s $f0, $f8 -/* 6F14C0 802383E0 46220003 */ div.d $f0, $f0, $f2 -/* 6F14C4 802383E4 46200220 */ cvt.s.d $f8, $f0 -/* 6F14C8 802383E8 3C018024 */ lui $at, %hi(D_8023CD50_6F5E30) -/* 6F14CC 802383EC D422CD50 */ ldc1 $f2, %lo(D_8023CD50_6F5E30)($at) -/* 6F14D0 802383F0 46004021 */ cvt.d.s $f0, $f8 -/* 6F14D4 802383F4 46220000 */ add.d $f0, $f0, $f2 -/* 6F14D8 802383F8 3C0142B4 */ lui $at, 0x42b4 -/* 6F14DC 802383FC 44811000 */ mtc1 $at, $f2 -/* 6F14E0 80238400 46200220 */ cvt.s.d $f8, $f0 -/* 6F14E4 80238404 44830000 */ mtc1 $v1, $f0 -/* 6F14E8 80238408 00000000 */ nop -/* 6F14EC 8023840C 46800020 */ cvt.s.w $f0, $f0 -/* 6F14F0 80238410 86030066 */ lh $v1, 0x66($s0) -/* 6F14F4 80238414 24020002 */ addiu $v0, $zero, 2 -/* 6F14F8 80238418 E6020024 */ swc1 $f2, 0x24($s0) -/* 6F14FC 8023841C E6080050 */ swc1 $f8, 0x50($s0) -/* 6F1500 80238420 14620008 */ bne $v1, $v0, .L80238444 -/* 6F1504 80238424 E6000028 */ swc1 $f0, 0x28($s0) -/* 6F1508 80238428 3C018024 */ lui $at, %hi(D_8023CD58_6F5E38) -/* 6F150C 8023842C D422CD58 */ ldc1 $f2, %lo(D_8023CD58_6F5E38)($at) -/* 6F1510 80238430 46004021 */ cvt.d.s $f0, $f8 -/* 6F1514 80238434 46220002 */ mul.d $f0, $f0, $f2 -/* 6F1518 80238438 00000000 */ nop -/* 6F151C 8023843C 46200020 */ cvt.s.d $f0, $f0 -/* 6F1520 80238440 E6000050 */ swc1 $f0, 0x50($s0) -.L80238444: -/* 6F1524 80238444 C60C0024 */ lwc1 $f12, 0x24($s0) -/* 6F1528 80238448 3C0140C9 */ lui $at, 0x40c9 -/* 6F152C 8023844C 34210FD0 */ ori $at, $at, 0xfd0 -/* 6F1530 80238450 44810000 */ mtc1 $at, $f0 -/* 6F1534 80238454 C6140044 */ lwc1 $f20, 0x44($s0) -/* 6F1538 80238458 C616003C */ lwc1 $f22, 0x3c($s0) -/* 6F153C 8023845C AE000018 */ sw $zero, 0x18($s0) -/* 6F1540 80238460 46006302 */ mul.s $f12, $f12, $f0 -/* 6F1544 80238464 00000000 */ nop -/* 6F1548 80238468 AE00001C */ sw $zero, 0x1c($s0) -/* 6F154C 8023846C 4600A521 */ cvt.d.s $f20, $f20 -/* 6F1550 80238470 3C0143B4 */ lui $at, 0x43b4 -/* 6F1554 80238474 44810000 */ mtc1 $at, $f0 -/* 6F1558 80238478 4600B5A1 */ cvt.d.s $f22, $f22 -/* 6F155C 8023847C 0C00A85B */ jal sin_rad -/* 6F1560 80238480 46006303 */ div.s $f12, $f12, $f0 -/* 6F1564 80238484 3C018024 */ lui $at, %hi(D_8023CD60_6F5E40) -/* 6F1568 80238488 D422CD60 */ ldc1 $f2, %lo(D_8023CD60_6F5E40)($at) -/* 6F156C 8023848C 0808E169 */ j .L802385A4 -/* 6F1570 80238490 46000021 */ cvt.d.s $f0, $f0 -.L80238494: -/* 6F1574 80238494 86020064 */ lh $v0, 0x64($s0) -/* 6F1578 80238498 24030168 */ addiu $v1, $zero, 0x168 -/* 6F157C 8023849C 14400002 */ bnez $v0, .L802384A8 -/* 6F1580 802384A0 0062001A */ div $zero, $v1, $v0 -/* 6F1584 802384A4 0007000D */ break 7 -.L802384A8: -/* 6F1588 802384A8 2401FFFF */ addiu $at, $zero, -1 -/* 6F158C 802384AC 14410004 */ bne $v0, $at, .L802384C0 -/* 6F1590 802384B0 3C018000 */ lui $at, 0x8000 -/* 6F1594 802384B4 14610002 */ bne $v1, $at, .L802384C0 -/* 6F1598 802384B8 00000000 */ nop -/* 6F159C 802384BC 0006000D */ break 6 -.L802384C0: -/* 6F15A0 802384C0 00001812 */ mflo $v1 -/* 6F15A4 802384C4 C608004C */ lwc1 $f8, 0x4c($s0) -/* 6F15A8 802384C8 3C014034 */ lui $at, 0x4034 -/* 6F15AC 802384CC 44811800 */ mtc1 $at, $f3 -/* 6F15B0 802384D0 44801000 */ mtc1 $zero, $f2 -/* 6F15B4 802384D4 46004021 */ cvt.d.s $f0, $f8 -/* 6F15B8 802384D8 46220001 */ sub.d $f0, $f0, $f2 -/* 6F15BC 802384DC 3C014018 */ lui $at, 0x4018 -/* 6F15C0 802384E0 44811800 */ mtc1 $at, $f3 -/* 6F15C4 802384E4 44801000 */ mtc1 $zero, $f2 -/* 6F15C8 802384E8 46200220 */ cvt.s.d $f8, $f0 -/* 6F15CC 802384EC 46004021 */ cvt.d.s $f0, $f8 -/* 6F15D0 802384F0 46220003 */ div.d $f0, $f0, $f2 -/* 6F15D4 802384F4 46200220 */ cvt.s.d $f8, $f0 -/* 6F15D8 802384F8 3C018024 */ lui $at, %hi(D_8023CD68_6F5E48) -/* 6F15DC 802384FC D422CD68 */ ldc1 $f2, %lo(D_8023CD68_6F5E48)($at) -/* 6F15E0 80238500 46004021 */ cvt.d.s $f0, $f8 -/* 6F15E4 80238504 46220000 */ add.d $f0, $f0, $f2 -/* 6F15E8 80238508 3C0142B4 */ lui $at, 0x42b4 -/* 6F15EC 8023850C 44811000 */ mtc1 $at, $f2 -/* 6F15F0 80238510 46200220 */ cvt.s.d $f8, $f0 -/* 6F15F4 80238514 44830000 */ mtc1 $v1, $f0 -/* 6F15F8 80238518 00000000 */ nop -/* 6F15FC 8023851C 46800020 */ cvt.s.w $f0, $f0 -/* 6F1600 80238520 86030066 */ lh $v1, 0x66($s0) -/* 6F1604 80238524 24020004 */ addiu $v0, $zero, 4 -/* 6F1608 80238528 E6020024 */ swc1 $f2, 0x24($s0) -/* 6F160C 8023852C E6080050 */ swc1 $f8, 0x50($s0) -/* 6F1610 80238530 14620009 */ bne $v1, $v0, .L80238558 -/* 6F1614 80238534 E6000028 */ swc1 $f0, 0x28($s0) -/* 6F1618 80238538 3C013FF4 */ lui $at, 0x3ff4 -/* 6F161C 8023853C 44811800 */ mtc1 $at, $f3 -/* 6F1620 80238540 44801000 */ mtc1 $zero, $f2 -/* 6F1624 80238544 46004021 */ cvt.d.s $f0, $f8 -/* 6F1628 80238548 46220002 */ mul.d $f0, $f0, $f2 -/* 6F162C 8023854C 00000000 */ nop -/* 6F1630 80238550 46200020 */ cvt.s.d $f0, $f0 -/* 6F1634 80238554 E6000050 */ swc1 $f0, 0x50($s0) -.L80238558: -/* 6F1638 80238558 C60C0024 */ lwc1 $f12, 0x24($s0) -/* 6F163C 8023855C 3C0140C9 */ lui $at, 0x40c9 -/* 6F1640 80238560 34210FD0 */ ori $at, $at, 0xfd0 -/* 6F1644 80238564 44810000 */ mtc1 $at, $f0 -/* 6F1648 80238568 C6140044 */ lwc1 $f20, 0x44($s0) -/* 6F164C 8023856C C616003C */ lwc1 $f22, 0x3c($s0) -/* 6F1650 80238570 AE000018 */ sw $zero, 0x18($s0) -/* 6F1654 80238574 46006302 */ mul.s $f12, $f12, $f0 -/* 6F1658 80238578 00000000 */ nop -/* 6F165C 8023857C AE00001C */ sw $zero, 0x1c($s0) -/* 6F1660 80238580 4600A521 */ cvt.d.s $f20, $f20 -/* 6F1664 80238584 3C0143B4 */ lui $at, 0x43b4 -/* 6F1668 80238588 44810000 */ mtc1 $at, $f0 -/* 6F166C 8023858C 4600B5A1 */ cvt.d.s $f22, $f22 -/* 6F1670 80238590 0C00A85B */ jal sin_rad -/* 6F1674 80238594 46006303 */ div.s $f12, $f12, $f0 -/* 6F1678 80238598 3C018024 */ lui $at, %hi(D_8023CD70_6F5E50) -/* 6F167C 8023859C D422CD70 */ ldc1 $f2, %lo(D_8023CD70_6F5E50)($at) -/* 6F1680 802385A0 46000021 */ cvt.d.s $f0, $f0 -.L802385A4: -/* 6F1684 802385A4 46220002 */ mul.d $f0, $f0, $f2 -/* 6F1688 802385A8 00000000 */ nop -/* 6F168C 802385AC 46360002 */ mul.d $f0, $f0, $f22 -/* 6F1690 802385B0 00000000 */ nop -/* 6F1694 802385B4 46360000 */ add.d $f0, $f0, $f22 -/* 6F1698 802385B8 4620A500 */ add.d $f20, $f20, $f0 -/* 6F169C 802385BC 4620A520 */ cvt.s.d $f20, $f20 -/* 6F16A0 802385C0 E6140044 */ swc1 $f20, 0x44($s0) -/* 6F16A4 802385C4 24040100 */ addiu $a0, $zero, 0x100 -/* 6F16A8 802385C8 8E060058 */ lw $a2, 0x58($s0) -/* 6F16AC 802385CC 0C098F3F */ jal set_animation -/* 6F16B0 802385D0 24050001 */ addiu $a1, $zero, 1 -/* 6F16B4 802385D4 24020001 */ addiu $v0, $zero, 1 -/* 6F16B8 802385D8 AE620070 */ sw $v0, 0x70($s3) -.L802385DC: -/* 6F16BC 802385DC 8E630070 */ lw $v1, 0x70($s3) -/* 6F16C0 802385E0 24020002 */ addiu $v0, $zero, 2 -/* 6F16C4 802385E4 10620094 */ beq $v1, $v0, .L80238838 -/* 6F16C8 802385E8 28620003 */ slti $v0, $v1, 3 -/* 6F16CC 802385EC 10400005 */ beqz $v0, .L80238604 -/* 6F16D0 802385F0 24020001 */ addiu $v0, $zero, 1 -/* 6F16D4 802385F4 10620008 */ beq $v1, $v0, .L80238618 -/* 6F16D8 802385F8 0000102D */ daddu $v0, $zero, $zero -/* 6F16DC 802385FC 0808E27C */ j .L802389F0 -/* 6F16E0 80238600 00000000 */ nop -.L80238604: -/* 6F16E4 80238604 24020003 */ addiu $v0, $zero, 3 -/* 6F16E8 80238608 106200BD */ beq $v1, $v0, .L80238900 -/* 6F16EC 8023860C 0000102D */ daddu $v0, $zero, $zero -/* 6F16F0 80238610 0808E27C */ j .L802389F0 -/* 6F16F4 80238614 00000000 */ nop -.L80238618: -/* 6F16F8 80238618 C6020044 */ lwc1 $f2, 0x44($s0) -/* 6F16FC 8023861C 3C013FC9 */ lui $at, 0x3fc9 -/* 6F1700 80238620 34210FD0 */ ori $at, $at, 0xfd0 -/* 6F1704 80238624 44810000 */ mtc1 $at, $f0 -/* 6F1708 80238628 00000000 */ nop -/* 6F170C 8023862C 4602003C */ c.lt.s $f0, $f2 -/* 6F1710 80238630 00000000 */ nop -/* 6F1714 80238634 45000004 */ bc1f .L80238648 -/* 6F1718 80238638 24040100 */ addiu $a0, $zero, 0x100 -/* 6F171C 8023863C 8E06005C */ lw $a2, 0x5c($s0) -/* 6F1720 80238640 0C098F3F */ jal set_animation -/* 6F1724 80238644 24050001 */ addiu $a1, $zero, 1 -.L80238648: -/* 6F1728 80238648 C6060000 */ lwc1 $f6, ($s0) -/* 6F172C 8023864C C6000030 */ lwc1 $f0, 0x30($s0) -/* 6F1730 80238650 C6040004 */ lwc1 $f4, 4($s0) -/* 6F1734 80238654 C6560144 */ lwc1 $f22, 0x144($s2) -/* 6F1738 80238658 46003180 */ add.s $f6, $f6, $f0 -/* 6F173C 8023865C C6000034 */ lwc1 $f0, 0x34($s0) -/* 6F1740 80238660 C6020038 */ lwc1 $f2, 0x38($s0) -/* 6F1744 80238664 46002100 */ add.s $f4, $f4, $f0 -/* 6F1748 80238668 C6000008 */ lwc1 $f0, 8($s0) -/* 6F174C 8023866C C6540148 */ lwc1 $f20, 0x148($s2) -/* 6F1750 80238670 46020000 */ add.s $f0, $f0, $f2 -/* 6F1754 80238674 E6060000 */ swc1 $f6, ($s0) -/* 6F1758 80238678 E6040004 */ swc1 $f4, 4($s0) -/* 6F175C 8023867C E6000008 */ swc1 $f0, 8($s0) -/* 6F1760 80238680 C6400148 */ lwc1 $f0, 0x148($s2) -/* 6F1764 80238684 46003086 */ mov.s $f2, $f6 -/* 6F1768 80238688 E6000018 */ swc1 $f0, 0x18($s0) -/* 6F176C 8023868C E6420144 */ swc1 $f2, 0x144($s2) -/* 6F1770 80238690 0C00A85B */ jal sin_rad -/* 6F1774 80238694 C60C0044 */ lwc1 $f12, 0x44($s0) -/* 6F1778 80238698 C6020050 */ lwc1 $f2, 0x50($s0) -/* 6F177C 8023869C 46001082 */ mul.s $f2, $f2, $f0 -/* 6F1780 802386A0 00000000 */ nop -/* 6F1784 802386A4 C6000004 */ lwc1 $f0, 4($s0) -/* 6F1788 802386A8 46020000 */ add.s $f0, $f0, $f2 -/* 6F178C 802386AC E6400148 */ swc1 $f0, 0x148($s2) -/* 6F1790 802386B0 C6000008 */ lwc1 $f0, 8($s0) -/* 6F1794 802386B4 E640014C */ swc1 $f0, 0x14c($s2) -/* 6F1798 802386B8 C6020010 */ lwc1 $f2, 0x10($s0) -/* 6F179C 802386BC C6400148 */ lwc1 $f0, 0x148($s2) -/* 6F17A0 802386C0 4602003C */ c.lt.s $f0, $f2 -/* 6F17A4 802386C4 00000000 */ nop -/* 6F17A8 802386C8 45000007 */ bc1f .L802386E8 -/* 6F17AC 802386CC 4600B306 */ mov.s $f12, $f22 -/* 6F17B0 802386D0 86020064 */ lh $v0, 0x64($s0) -/* 6F17B4 802386D4 28420003 */ slti $v0, $v0, 3 -/* 6F17B8 802386D8 54400002 */ bnel $v0, $zero, .L802386E4 -/* 6F17BC 802386DC E6420148 */ swc1 $f2, 0x148($s2) -/* 6F17C0 802386E0 4600B306 */ mov.s $f12, $f22 -.L802386E4: -/* 6F17C4 802386E4 C6400148 */ lwc1 $f0, 0x148($s2) -.L802386E8: -/* 6F17C8 802386E8 8E460144 */ lw $a2, 0x144($s2) -/* 6F17CC 802386EC 46000007 */ neg.s $f0, $f0 -/* 6F17D0 802386F0 44070000 */ mfc1 $a3, $f0 -/* 6F17D4 802386F4 0C00A720 */ jal atan2 -/* 6F17D8 802386F8 4600A387 */ neg.s $f14, $f20 -/* 6F17DC 802386FC 46000007 */ neg.s $f0, $f0 -/* 6F17E0 80238700 E6400164 */ swc1 $f0, 0x164($s2) -/* 6F17E4 80238704 86020066 */ lh $v0, 0x66($s0) -/* 6F17E8 80238708 C6400148 */ lwc1 $f0, 0x148($s2) -/* 6F17EC 8023870C 28420003 */ slti $v0, $v0, 3 -/* 6F17F0 80238710 10400013 */ beqz $v0, .L80238760 -/* 6F17F4 80238714 E600001C */ swc1 $f0, 0x1c($s0) -/* 6F17F8 80238718 C60C0024 */ lwc1 $f12, 0x24($s0) -/* 6F17FC 8023871C 3C0140C9 */ lui $at, 0x40c9 -/* 6F1800 80238720 34210FD0 */ ori $at, $at, 0xfd0 -/* 6F1804 80238724 44810000 */ mtc1 $at, $f0 -/* 6F1808 80238728 C6140044 */ lwc1 $f20, 0x44($s0) -/* 6F180C 8023872C 46006302 */ mul.s $f12, $f12, $f0 -/* 6F1810 80238730 00000000 */ nop -/* 6F1814 80238734 C616003C */ lwc1 $f22, 0x3c($s0) -/* 6F1818 80238738 4600A521 */ cvt.d.s $f20, $f20 -/* 6F181C 8023873C 3C0143B4 */ lui $at, 0x43b4 -/* 6F1820 80238740 44810000 */ mtc1 $at, $f0 -/* 6F1824 80238744 4600B5A1 */ cvt.d.s $f22, $f22 -/* 6F1828 80238748 0C00A85B */ jal sin_rad -/* 6F182C 8023874C 46006303 */ div.s $f12, $f12, $f0 -/* 6F1830 80238750 3C018024 */ lui $at, %hi(D_8023CD78_6F5E58) -/* 6F1834 80238754 D422CD78 */ ldc1 $f2, %lo(D_8023CD78_6F5E58)($at) -/* 6F1838 80238758 0808E1E9 */ j .L802387A4 -/* 6F183C 8023875C 46000021 */ cvt.d.s $f0, $f0 -.L80238760: -/* 6F1840 80238760 C60C0024 */ lwc1 $f12, 0x24($s0) -/* 6F1844 80238764 3C0140C9 */ lui $at, 0x40c9 -/* 6F1848 80238768 34210FD0 */ ori $at, $at, 0xfd0 -/* 6F184C 8023876C 44810000 */ mtc1 $at, $f0 -/* 6F1850 80238770 C6140044 */ lwc1 $f20, 0x44($s0) -/* 6F1854 80238774 46006302 */ mul.s $f12, $f12, $f0 -/* 6F1858 80238778 00000000 */ nop -/* 6F185C 8023877C C616003C */ lwc1 $f22, 0x3c($s0) -/* 6F1860 80238780 4600A521 */ cvt.d.s $f20, $f20 -/* 6F1864 80238784 3C0143B4 */ lui $at, 0x43b4 -/* 6F1868 80238788 44810000 */ mtc1 $at, $f0 -/* 6F186C 8023878C 4600B5A1 */ cvt.d.s $f22, $f22 -/* 6F1870 80238790 0C00A85B */ jal sin_rad -/* 6F1874 80238794 46006303 */ div.s $f12, $f12, $f0 -/* 6F1878 80238798 3C018024 */ lui $at, %hi(D_8023CD80_6F5E60) -/* 6F187C 8023879C D422CD80 */ ldc1 $f2, %lo(D_8023CD80_6F5E60)($at) -/* 6F1880 802387A0 46000021 */ cvt.d.s $f0, $f0 -.L802387A4: -/* 6F1884 802387A4 46220002 */ mul.d $f0, $f0, $f2 -/* 6F1888 802387A8 00000000 */ nop -/* 6F188C 802387AC 46360002 */ mul.d $f0, $f0, $f22 -/* 6F1890 802387B0 00000000 */ nop -/* 6F1894 802387B4 46360000 */ add.d $f0, $f0, $f22 -/* 6F1898 802387B8 4620A500 */ add.d $f20, $f20, $f0 -/* 6F189C 802387BC 4620A520 */ cvt.s.d $f20, $f20 -/* 6F18A0 802387C0 E6140044 */ swc1 $f20, 0x44($s0) -/* 6F18A4 802387C4 C60C0024 */ lwc1 $f12, 0x24($s0) -/* 6F18A8 802387C8 C6000028 */ lwc1 $f0, 0x28($s0) -/* 6F18AC 802387CC 46006300 */ add.s $f12, $f12, $f0 -/* 6F18B0 802387D0 0C00A6C9 */ jal clamp_angle -/* 6F18B4 802387D4 E60C0024 */ swc1 $f12, 0x24($s0) -/* 6F18B8 802387D8 96020064 */ lhu $v0, 0x64($s0) -/* 6F18BC 802387DC E6000024 */ swc1 $f0, 0x24($s0) -/* 6F18C0 802387E0 2442FFFF */ addiu $v0, $v0, -1 -/* 6F18C4 802387E4 A6020064 */ sh $v0, 0x64($s0) -/* 6F18C8 802387E8 00021400 */ sll $v0, $v0, 0x10 -/* 6F18CC 802387EC 14400080 */ bnez $v0, .L802389F0 -/* 6F18D0 802387F0 0000102D */ daddu $v0, $zero, $zero -/* 6F18D4 802387F4 C6000010 */ lwc1 $f0, 0x10($s0) -/* 6F18D8 802387F8 24040100 */ addiu $a0, $zero, 0x100 -/* 6F18DC 802387FC E6400148 */ swc1 $f0, 0x148($s2) -/* 6F18E0 80238800 C6000018 */ lwc1 $f0, 0x18($s0) -/* 6F18E4 80238804 C602001C */ lwc1 $f2, 0x1c($s0) -/* 6F18E8 80238808 8E060060 */ lw $a2, 0x60($s0) -/* 6F18EC 8023880C 46020001 */ sub.s $f0, $f0, $f2 -/* 6F18F0 80238810 3C013FE6 */ lui $at, 0x3fe6 -/* 6F18F4 80238814 34216666 */ ori $at, $at, 0x6666 -/* 6F18F8 80238818 44811000 */ mtc1 $at, $f2 -/* 6F18FC 8023881C 24050001 */ addiu $a1, $zero, 1 -/* 6F1900 80238820 E602003C */ swc1 $f2, 0x3c($s0) -/* 6F1904 80238824 46000007 */ neg.s $f0, $f0 -/* 6F1908 80238828 0C098F3F */ jal set_animation -/* 6F190C 8023882C E6000044 */ swc1 $f0, 0x44($s0) -/* 6F1910 80238830 0808E27C */ j .L802389F0 -/* 6F1914 80238834 24020001 */ addiu $v0, $zero, 1 -.L80238838: -/* 6F1918 80238838 82820083 */ lb $v0, 0x83($s4) -/* 6F191C 8023883C 10400063 */ beqz $v0, .L802389CC -/* 6F1920 80238840 24020001 */ addiu $v0, $zero, 1 -/* 6F1924 80238844 A6020064 */ sh $v0, 0x64($s0) -/* 6F1928 80238848 86020064 */ lh $v0, 0x64($s0) -/* 6F192C 8023884C 24030168 */ addiu $v1, $zero, 0x168 -/* 6F1930 80238850 14400002 */ bnez $v0, .L8023885C -/* 6F1934 80238854 0062001A */ div $zero, $v1, $v0 -/* 6F1938 80238858 0007000D */ break 7 -.L8023885C: -/* 6F193C 8023885C 2401FFFF */ addiu $at, $zero, -1 -/* 6F1940 80238860 14410004 */ bne $v0, $at, .L80238874 -/* 6F1944 80238864 3C018000 */ lui $at, 0x8000 -/* 6F1948 80238868 14610002 */ bne $v1, $at, .L80238874 -/* 6F194C 8023886C 00000000 */ nop -/* 6F1950 80238870 0006000D */ break 6 -.L80238874: -/* 6F1954 80238874 00001812 */ mflo $v1 -/* 6F1958 80238878 C6020018 */ lwc1 $f2, 0x18($s0) -/* 6F195C 8023887C C600001C */ lwc1 $f0, 0x1c($s0) -/* 6F1960 80238880 3C013FE6 */ lui $at, 0x3fe6 -/* 6F1964 80238884 34216666 */ ori $at, $at, 0x6666 -/* 6F1968 80238888 44814000 */ mtc1 $at, $f8 -/* 6F196C 8023888C C604001C */ lwc1 $f4, 0x1c($s0) -/* 6F1970 80238890 46001081 */ sub.s $f2, $f2, $f0 -/* 6F1974 80238894 C6000018 */ lwc1 $f0, 0x18($s0) -/* 6F1978 80238898 3C0142B4 */ lui $at, 0x42b4 -/* 6F197C 8023889C 44813000 */ mtc1 $at, $f6 -/* 6F1980 802388A0 46040001 */ sub.s $f0, $f0, $f4 -/* 6F1984 802388A4 E608003C */ swc1 $f8, 0x3c($s0) -/* 6F1988 802388A8 E6060024 */ swc1 $f6, 0x24($s0) -/* 6F198C 802388AC 46001087 */ neg.s $f2, $f2 -/* 6F1990 802388B0 E6020044 */ swc1 $f2, 0x44($s0) -/* 6F1994 802388B4 3C018024 */ lui $at, %hi(D_8023CD88_6F5E68) -/* 6F1998 802388B8 D422CD88 */ ldc1 $f2, %lo(D_8023CD88_6F5E68)($at) -/* 6F199C 802388BC 46000005 */ abs.s $f0, $f0 -/* 6F19A0 802388C0 46000021 */ cvt.d.s $f0, $f0 -/* 6F19A4 802388C4 46220003 */ div.d $f0, $f0, $f2 -/* 6F19A8 802388C8 46200020 */ cvt.s.d $f0, $f0 -/* 6F19AC 802388CC E6000050 */ swc1 $f0, 0x50($s0) -/* 6F19B0 802388D0 44830000 */ mtc1 $v1, $f0 -/* 6F19B4 802388D4 00000000 */ nop -/* 6F19B8 802388D8 46800020 */ cvt.s.w $f0, $f0 -/* 6F19BC 802388DC E6000028 */ swc1 $f0, 0x28($s0) -/* 6F19C0 802388E0 C6400144 */ lwc1 $f0, 0x144($s2) -/* 6F19C4 802388E4 E6000000 */ swc1 $f0, ($s0) -/* 6F19C8 802388E8 C6400148 */ lwc1 $f0, 0x148($s2) -/* 6F19CC 802388EC E6000004 */ swc1 $f0, 4($s0) -/* 6F19D0 802388F0 C640014C */ lwc1 $f0, 0x14c($s2) -/* 6F19D4 802388F4 24020003 */ addiu $v0, $zero, 3 -/* 6F19D8 802388F8 E6000008 */ swc1 $f0, 8($s0) -/* 6F19DC 802388FC AE620070 */ sw $v0, 0x70($s3) -.L80238900: -/* 6F19E0 80238900 C60C0024 */ lwc1 $f12, 0x24($s0) -/* 6F19E4 80238904 3C0140C9 */ lui $at, 0x40c9 -/* 6F19E8 80238908 34210FD0 */ ori $at, $at, 0xfd0 -/* 6F19EC 8023890C 4481B000 */ mtc1 $at, $f22 -/* 6F19F0 80238910 00000000 */ nop -/* 6F19F4 80238914 46166302 */ mul.s $f12, $f12, $f22 -/* 6F19F8 80238918 00000000 */ nop -/* 6F19FC 8023891C C6140000 */ lwc1 $f20, ($s0) -/* 6F1A00 80238920 3C0143B4 */ lui $at, 0x43b4 -/* 6F1A04 80238924 4481C000 */ mtc1 $at, $f24 -/* 6F1A08 80238928 4600A521 */ cvt.d.s $f20, $f20 -/* 6F1A0C 8023892C 0C00A85B */ jal sin_rad -/* 6F1A10 80238930 46186303 */ div.s $f12, $f12, $f24 -/* 6F1A14 80238934 C6020050 */ lwc1 $f2, 0x50($s0) -/* 6F1A18 80238938 46001082 */ mul.s $f2, $f2, $f0 -/* 6F1A1C 8023893C 00000000 */ nop -/* 6F1A20 80238940 C60C0024 */ lwc1 $f12, 0x24($s0) -/* 6F1A24 80238944 46166302 */ mul.s $f12, $f12, $f22 -/* 6F1A28 80238948 00000000 */ nop -/* 6F1A2C 8023894C 3C018024 */ lui $at, %hi(D_8023CD90_6F5E70) -/* 6F1A30 80238950 D420CD90 */ ldc1 $f0, %lo(D_8023CD90_6F5E70)($at) -/* 6F1A34 80238954 460010A1 */ cvt.d.s $f2, $f2 -/* 6F1A38 80238958 46201083 */ div.d $f2, $f2, $f0 -/* 6F1A3C 8023895C 4622A500 */ add.d $f20, $f20, $f2 -/* 6F1A40 80238960 46186303 */ div.s $f12, $f12, $f24 -/* 6F1A44 80238964 4620A520 */ cvt.s.d $f20, $f20 -/* 6F1A48 80238968 0C00A85B */ jal sin_rad -/* 6F1A4C 8023896C E6140000 */ swc1 $f20, ($s0) -/* 6F1A50 80238970 C6020050 */ lwc1 $f2, 0x50($s0) -/* 6F1A54 80238974 46001082 */ mul.s $f2, $f2, $f0 -/* 6F1A58 80238978 00000000 */ nop -/* 6F1A5C 8023897C C60C0024 */ lwc1 $f12, 0x24($s0) -/* 6F1A60 80238980 C6000028 */ lwc1 $f0, 0x28($s0) -/* 6F1A64 80238984 46006300 */ add.s $f12, $f12, $f0 -/* 6F1A68 80238988 C6000004 */ lwc1 $f0, 4($s0) -/* 6F1A6C 8023898C 46020001 */ sub.s $f0, $f0, $f2 -/* 6F1A70 80238990 E60C0024 */ swc1 $f12, 0x24($s0) -/* 6F1A74 80238994 0C00A6C9 */ jal clamp_angle -/* 6F1A78 80238998 E6000004 */ swc1 $f0, 4($s0) -/* 6F1A7C 8023899C C6020000 */ lwc1 $f2, ($s0) -/* 6F1A80 802389A0 E6000024 */ swc1 $f0, 0x24($s0) -/* 6F1A84 802389A4 E6420144 */ swc1 $f2, 0x144($s2) -/* 6F1A88 802389A8 C6000004 */ lwc1 $f0, 4($s0) -/* 6F1A8C 802389AC E6400148 */ swc1 $f0, 0x148($s2) -/* 6F1A90 802389B0 C6000008 */ lwc1 $f0, 8($s0) -/* 6F1A94 802389B4 E640014C */ swc1 $f0, 0x14c($s2) -/* 6F1A98 802389B8 3C02800E */ lui $v0, %hi(gBattleStatus) -/* 6F1A9C 802389BC 8C42C070 */ lw $v0, %lo(gBattleStatus)($v0) -/* 6F1AA0 802389C0 30422000 */ andi $v0, $v0, 0x2000 -/* 6F1AA4 802389C4 10400003 */ beqz $v0, .L802389D4 -/* 6F1AA8 802389C8 00000000 */ nop -.L802389CC: -/* 6F1AAC 802389CC 0808E27C */ j .L802389F0 -/* 6F1AB0 802389D0 24020002 */ addiu $v0, $zero, 2 -.L802389D4: -/* 6F1AB4 802389D4 96030064 */ lhu $v1, 0x64($s0) -/* 6F1AB8 802389D8 2463FFFF */ addiu $v1, $v1, -1 -/* 6F1ABC 802389DC A6030064 */ sh $v1, 0x64($s0) -/* 6F1AC0 802389E0 00031C00 */ sll $v1, $v1, 0x10 -/* 6F1AC4 802389E4 10600002 */ beqz $v1, .L802389F0 -/* 6F1AC8 802389E8 24020001 */ addiu $v0, $zero, 1 -/* 6F1ACC 802389EC 0000102D */ daddu $v0, $zero, $zero -.L802389F0: -/* 6F1AD0 802389F0 8FBF0024 */ lw $ra, 0x24($sp) -/* 6F1AD4 802389F4 8FB40020 */ lw $s4, 0x20($sp) -/* 6F1AD8 802389F8 8FB3001C */ lw $s3, 0x1c($sp) -/* 6F1ADC 802389FC 8FB20018 */ lw $s2, 0x18($sp) -/* 6F1AE0 80238A00 8FB10014 */ lw $s1, 0x14($sp) -/* 6F1AE4 80238A04 8FB00010 */ lw $s0, 0x10($sp) -/* 6F1AE8 80238A08 D7BA0040 */ ldc1 $f26, 0x40($sp) -/* 6F1AEC 80238A0C D7B80038 */ ldc1 $f24, 0x38($sp) -/* 6F1AF0 80238A10 D7B60030 */ ldc1 $f22, 0x30($sp) -/* 6F1AF4 80238A14 D7B40028 */ ldc1 $f20, 0x28($sp) -/* 6F1AF8 80238A18 03E00008 */ jr $ra -/* 6F1AFC 80238A1C 27BD0048 */ addiu $sp, $sp, 0x48 diff --git a/ver/us/asm/nonmatchings/code_6F10E0/func_80238BCC_6F1CAC.s b/ver/us/asm/nonmatchings/code_6F10E0/func_80238BCC_6F1CAC.s deleted file mode 100644 index 0766f8f3e7..0000000000 --- a/ver/us/asm/nonmatchings/code_6F10E0/func_80238BCC_6F1CAC.s +++ /dev/null @@ -1,150 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_80238BCC_6F1CAC -/* 6F1CAC 80238BCC 3C02800E */ lui $v0, %hi(gBattleStatus+0xDC) -/* 6F1CB0 80238BD0 8C42C14C */ lw $v0, %lo(gBattleStatus+0xDC)($v0) -/* 6F1CB4 80238BD4 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 6F1CB8 80238BD8 AFB00010 */ sw $s0, 0x10($sp) -/* 6F1CBC 80238BDC 0080802D */ daddu $s0, $a0, $zero -/* 6F1CC0 80238BE0 AFBF0014 */ sw $ra, 0x14($sp) -/* 6F1CC4 80238BE4 0C09A75B */ jal get_actor -/* 6F1CC8 80238BE8 84440428 */ lh $a0, 0x428($v0) -/* 6F1CCC 80238BEC 0040202D */ daddu $a0, $v0, $zero -/* 6F1CD0 80238BF0 8C820000 */ lw $v0, ($a0) -/* 6F1CD4 80238BF4 30420800 */ andi $v0, $v0, 0x800 -/* 6F1CD8 80238BF8 14400022 */ bnez $v0, .L80238C84 -/* 6F1CDC 80238BFC 00000000 */ nop -/* 6F1CE0 80238C00 90830191 */ lbu $v1, 0x191($a0) -/* 6F1CE4 80238C04 3C02AAAA */ lui $v0, 0xaaaa -/* 6F1CE8 80238C08 3442AAAB */ ori $v0, $v0, 0xaaab -/* 6F1CEC 80238C0C 00620019 */ multu $v1, $v0 -/* 6F1CF0 80238C10 C4800188 */ lwc1 $f0, 0x188($a0) -/* 6F1CF4 80238C14 00003010 */ mfhi $a2 -/* 6F1CF8 80238C18 00061042 */ srl $v0, $a2, 1 -/* 6F1CFC 80238C1C 304200FF */ andi $v0, $v0, 0xff -/* 6F1D00 80238C20 44821000 */ mtc1 $v0, $f2 -/* 6F1D04 80238C24 00000000 */ nop -/* 6F1D08 80238C28 468010A0 */ cvt.s.w $f2, $f2 -/* 6F1D0C 80238C2C 46001082 */ mul.s $f2, $f2, $f0 -/* 6F1D10 80238C30 00000000 */ nop -/* 6F1D14 80238C34 C6000088 */ lwc1 $f0, 0x88($s0) -/* 6F1D18 80238C38 46800020 */ cvt.s.w $f0, $f0 -/* 6F1D1C 80238C3C 46020000 */ add.s $f0, $f0, $f2 -/* 6F1D20 80238C40 4600010D */ trunc.w.s $f4, $f0 -/* 6F1D24 80238C44 44032000 */ mfc1 $v1, $f4 -/* 6F1D28 80238C48 00000000 */ nop -/* 6F1D2C 80238C4C AE030088 */ sw $v1, 0x88($s0) -/* 6F1D30 80238C50 90820191 */ lbu $v0, 0x191($a0) -/* 6F1D34 80238C54 C4800188 */ lwc1 $f0, 0x188($a0) -/* 6F1D38 80238C58 00021082 */ srl $v0, $v0, 2 -/* 6F1D3C 80238C5C 44821000 */ mtc1 $v0, $f2 -/* 6F1D40 80238C60 00000000 */ nop -/* 6F1D44 80238C64 468010A0 */ cvt.s.w $f2, $f2 -/* 6F1D48 80238C68 46001082 */ mul.s $f2, $f2, $f0 -/* 6F1D4C 80238C6C 00000000 */ nop -/* 6F1D50 80238C70 44830000 */ mtc1 $v1, $f0 -/* 6F1D54 80238C74 00000000 */ nop -/* 6F1D58 80238C78 46800020 */ cvt.s.w $f0, $f0 -/* 6F1D5C 80238C7C 0808E341 */ j .L80238D04 -/* 6F1D60 80238C80 46020000 */ add.s $f0, $f0, $f2 -.L80238C84: -/* 6F1D64 80238C84 90830191 */ lbu $v1, 0x191($a0) -/* 6F1D68 80238C88 3C02AAAA */ lui $v0, 0xaaaa -/* 6F1D6C 80238C8C 3442AAAB */ ori $v0, $v0, 0xaaab -/* 6F1D70 80238C90 00620019 */ multu $v1, $v0 -/* 6F1D74 80238C94 C4800188 */ lwc1 $f0, 0x188($a0) -/* 6F1D78 80238C98 00003010 */ mfhi $a2 -/* 6F1D7C 80238C9C 00061042 */ srl $v0, $a2, 1 -/* 6F1D80 80238CA0 304200FF */ andi $v0, $v0, 0xff -/* 6F1D84 80238CA4 44821000 */ mtc1 $v0, $f2 -/* 6F1D88 80238CA8 00000000 */ nop -/* 6F1D8C 80238CAC 468010A0 */ cvt.s.w $f2, $f2 -/* 6F1D90 80238CB0 46001082 */ mul.s $f2, $f2, $f0 -/* 6F1D94 80238CB4 00000000 */ nop -/* 6F1D98 80238CB8 C6000088 */ lwc1 $f0, 0x88($s0) -/* 6F1D9C 80238CBC 46800020 */ cvt.s.w $f0, $f0 -/* 6F1DA0 80238CC0 46020001 */ sub.s $f0, $f0, $f2 -/* 6F1DA4 80238CC4 4600010D */ trunc.w.s $f4, $f0 -/* 6F1DA8 80238CC8 44032000 */ mfc1 $v1, $f4 -/* 6F1DAC 80238CCC 00000000 */ nop -/* 6F1DB0 80238CD0 AE030088 */ sw $v1, 0x88($s0) -/* 6F1DB4 80238CD4 90820191 */ lbu $v0, 0x191($a0) -/* 6F1DB8 80238CD8 C4800188 */ lwc1 $f0, 0x188($a0) -/* 6F1DBC 80238CDC 00021082 */ srl $v0, $v0, 2 -/* 6F1DC0 80238CE0 44821000 */ mtc1 $v0, $f2 -/* 6F1DC4 80238CE4 00000000 */ nop -/* 6F1DC8 80238CE8 468010A0 */ cvt.s.w $f2, $f2 -/* 6F1DCC 80238CEC 46001082 */ mul.s $f2, $f2, $f0 -/* 6F1DD0 80238CF0 00000000 */ nop -/* 6F1DD4 80238CF4 44830000 */ mtc1 $v1, $f0 -/* 6F1DD8 80238CF8 00000000 */ nop -/* 6F1DDC 80238CFC 46800020 */ cvt.s.w $f0, $f0 -/* 6F1DE0 80238D00 46020001 */ sub.s $f0, $f0, $f2 -.L80238D04: -/* 6F1DE4 80238D04 4600010D */ trunc.w.s $f4, $f0 -/* 6F1DE8 80238D08 E6040088 */ swc1 $f4, 0x88($s0) -/* 6F1DEC 80238D0C 8C820000 */ lw $v0, ($a0) -/* 6F1DF0 80238D10 30428000 */ andi $v0, $v0, 0x8000 -/* 6F1DF4 80238D14 1040000E */ beqz $v0, .L80238D50 -/* 6F1DF8 80238D18 00000000 */ nop -/* 6F1DFC 80238D1C 90820191 */ lbu $v0, 0x191($a0) -/* 6F1E00 80238D20 C4800188 */ lwc1 $f0, 0x188($a0) -/* 6F1E04 80238D24 00021042 */ srl $v0, $v0, 1 -/* 6F1E08 80238D28 44821000 */ mtc1 $v0, $f2 -/* 6F1E0C 80238D2C 00000000 */ nop -/* 6F1E10 80238D30 468010A0 */ cvt.s.w $f2, $f2 -/* 6F1E14 80238D34 46001082 */ mul.s $f2, $f2, $f0 -/* 6F1E18 80238D38 00000000 */ nop -/* 6F1E1C 80238D3C C6000088 */ lwc1 $f0, 0x88($s0) -/* 6F1E20 80238D40 46800020 */ cvt.s.w $f0, $f0 -/* 6F1E24 80238D44 46020001 */ sub.s $f0, $f0, $f2 -/* 6F1E28 80238D48 4600010D */ trunc.w.s $f4, $f0 -/* 6F1E2C 80238D4C E6040088 */ swc1 $f4, 0x88($s0) -.L80238D50: -/* 6F1E30 80238D50 90820191 */ lbu $v0, 0x191($a0) -/* 6F1E34 80238D54 C4820188 */ lwc1 $f2, 0x188($a0) -/* 6F1E38 80238D58 44820000 */ mtc1 $v0, $f0 -/* 6F1E3C 80238D5C 00000000 */ nop -/* 6F1E40 80238D60 46800020 */ cvt.s.w $f0, $f0 -/* 6F1E44 80238D64 46020002 */ mul.s $f0, $f0, $f2 -/* 6F1E48 80238D68 00000000 */ nop -/* 6F1E4C 80238D6C 90850190 */ lbu $a1, 0x190($a0) -/* 6F1E50 80238D70 4600010D */ trunc.w.s $f4, $f0 -/* 6F1E54 80238D74 44032000 */ mfc1 $v1, $f4 -/* 6F1E58 80238D78 00000000 */ nop -/* 6F1E5C 80238D7C 0065102A */ slt $v0, $v1, $a1 -/* 6F1E60 80238D80 54400001 */ bnel $v0, $zero, .L80238D88 -/* 6F1E64 80238D84 00A0182D */ daddu $v1, $a1, $zero -.L80238D88: -/* 6F1E68 80238D88 2462004C */ addiu $v0, $v1, 0x4c -/* 6F1E6C 80238D8C AE020090 */ sw $v0, 0x90($s0) -/* 6F1E70 80238D90 90820136 */ lbu $v0, 0x136($a0) -/* 6F1E74 80238D94 00021080 */ sll $v0, $v0, 2 -/* 6F1E78 80238D98 3C038028 */ lui $v1, %hi(bActorOffsets) -/* 6F1E7C 80238D9C 00621821 */ addu $v1, $v1, $v0 -/* 6F1E80 80238DA0 80632EE8 */ lb $v1, %lo(bActorOffsets)($v1) -/* 6F1E84 80238DA4 8E020084 */ lw $v0, 0x84($s0) -/* 6F1E88 80238DA8 00431021 */ addu $v0, $v0, $v1 -/* 6F1E8C 80238DAC AE020084 */ sw $v0, 0x84($s0) -/* 6F1E90 80238DB0 90820136 */ lbu $v0, 0x136($a0) -/* 6F1E94 80238DB4 00021080 */ sll $v0, $v0, 2 -/* 6F1E98 80238DB8 3C038028 */ lui $v1, %hi(D_80282EE9) -/* 6F1E9C 80238DBC 00621821 */ addu $v1, $v1, $v0 -/* 6F1EA0 80238DC0 80632EE9 */ lb $v1, %lo(D_80282EE9)($v1) -/* 6F1EA4 80238DC4 8E020088 */ lw $v0, 0x88($s0) -/* 6F1EA8 80238DC8 00431021 */ addu $v0, $v0, $v1 -/* 6F1EAC 80238DCC AE020088 */ sw $v0, 0x88($s0) -/* 6F1EB0 80238DD0 90820136 */ lbu $v0, 0x136($a0) -/* 6F1EB4 80238DD4 8E030090 */ lw $v1, 0x90($s0) -/* 6F1EB8 80238DD8 00021080 */ sll $v0, $v0, 2 -/* 6F1EBC 80238DDC 3C048028 */ lui $a0, %hi(D_80282EEA) -/* 6F1EC0 80238DE0 00822021 */ addu $a0, $a0, $v0 -/* 6F1EC4 80238DE4 80842EEA */ lb $a0, %lo(D_80282EEA)($a0) -/* 6F1EC8 80238DE8 00641821 */ addu $v1, $v1, $a0 -/* 6F1ECC 80238DEC AE030090 */ sw $v1, 0x90($s0) -/* 6F1ED0 80238DF0 8FBF0014 */ lw $ra, 0x14($sp) -/* 6F1ED4 80238DF4 8FB00010 */ lw $s0, 0x10($sp) -/* 6F1ED8 80238DF8 24020002 */ addiu $v0, $zero, 2 -/* 6F1EDC 80238DFC 03E00008 */ jr $ra -/* 6F1EE0 80238E00 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/ver/us/asm/nonmatchings/code_6F10E0/func_80238E04_6F1EE4.s b/ver/us/asm/nonmatchings/code_6F10E0/func_80238E04_6F1EE4.s deleted file mode 100644 index 17c2520ea6..0000000000 --- a/ver/us/asm/nonmatchings/code_6F10E0/func_80238E04_6F1EE4.s +++ /dev/null @@ -1,21 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_80238E04_6F1EE4 -/* 6F1EE4 80238E04 27BDFFE0 */ addiu $sp, $sp, -0x20 -/* 6F1EE8 80238E08 0000202D */ daddu $a0, $zero, $zero -/* 6F1EEC 80238E0C 3C013F80 */ lui $at, 0x3f80 -/* 6F1EF0 80238E10 44810000 */ mtc1 $at, $f0 -/* 6F1EF4 80238E14 3C05434E */ lui $a1, 0x434e -/* 6F1EF8 80238E18 3C064310 */ lui $a2, 0x4310 -/* 6F1EFC 80238E1C 0000382D */ daddu $a3, $zero, $zero -/* 6F1F00 80238E20 AFBF0018 */ sw $ra, 0x18($sp) -/* 6F1F04 80238E24 AFA00014 */ sw $zero, 0x14($sp) -/* 6F1F08 80238E28 0C01C844 */ jal func_80072110 -/* 6F1F0C 80238E2C E7A00010 */ swc1 $f0, 0x10($sp) -/* 6F1F10 80238E30 8FBF0018 */ lw $ra, 0x18($sp) -/* 6F1F14 80238E34 3C018024 */ lui $at, %hi(D_8023CDA0) -/* 6F1F18 80238E38 AC22CDA0 */ sw $v0, %lo(D_8023CDA0)($at) -/* 6F1F1C 80238E3C 24020002 */ addiu $v0, $zero, 2 -/* 6F1F20 80238E40 03E00008 */ jr $ra -/* 6F1F24 80238E44 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/ver/us/asm/nonmatchings/code_6F10E0/func_80238E48_6F1F28.s b/ver/us/asm/nonmatchings/code_6F10E0/func_80238E48_6F1F28.s deleted file mode 100644 index 40827d28c8..0000000000 --- a/ver/us/asm/nonmatchings/code_6F10E0/func_80238E48_6F1F28.s +++ /dev/null @@ -1,15 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_80238E48_6F1F28 -/* 6F1F28 80238E48 3C038024 */ lui $v1, %hi(D_8023CDA0) -/* 6F1F2C 80238E4C 8C63CDA0 */ lw $v1, %lo(D_8023CDA0)($v1) -/* 6F1F30 80238E50 3C014310 */ lui $at, 0x4310 -/* 6F1F34 80238E54 44810000 */ mtc1 $at, $f0 -/* 6F1F38 80238E58 8C62000C */ lw $v0, 0xc($v1) -/* 6F1F3C 80238E5C E4400008 */ swc1 $f0, 8($v0) -/* 6F1F40 80238E60 8C620000 */ lw $v0, ($v1) -/* 6F1F44 80238E64 34420010 */ ori $v0, $v0, 0x10 -/* 6F1F48 80238E68 AC620000 */ sw $v0, ($v1) -/* 6F1F4C 80238E6C 03E00008 */ jr $ra -/* 6F1F50 80238E70 24020002 */ addiu $v0, $zero, 2 diff --git a/ver/us/asm/nonmatchings/code_6F10E0/func_80238E74_6F1F54.s b/ver/us/asm/nonmatchings/code_6F10E0/func_80238E74_6F1F54.s deleted file mode 100644 index a007f4f194..0000000000 --- a/ver/us/asm/nonmatchings/code_6F10E0/func_80238E74_6F1F54.s +++ /dev/null @@ -1,33 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_80238E74_6F1F54 -/* 6F1F54 80238E74 3C02800E */ lui $v0, %hi(gBattleStatus) -/* 6F1F58 80238E78 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus) -/* 6F1F5C 80238E7C 8C4500DC */ lw $a1, 0xdc($v0) -/* 6F1F60 80238E80 AC800084 */ sw $zero, 0x84($a0) -/* 6F1F64 80238E84 8443017C */ lh $v1, 0x17c($v0) -/* 6F1F68 80238E88 24020087 */ addiu $v0, $zero, 0x87 -/* 6F1F6C 80238E8C 1062000A */ beq $v1, $v0, .L80238EB8 -/* 6F1F70 80238E90 28620088 */ slti $v0, $v1, 0x88 -/* 6F1F74 80238E94 10400005 */ beqz $v0, .L80238EAC -/* 6F1F78 80238E98 24020086 */ addiu $v0, $zero, 0x86 -/* 6F1F7C 80238E9C 10620006 */ beq $v1, $v0, .L80238EB8 -/* 6F1F80 80238EA0 24020002 */ addiu $v0, $zero, 2 -/* 6F1F84 80238EA4 0808E3B5 */ j .L80238ED4 -/* 6F1F88 80238EA8 00000000 */ nop -.L80238EAC: -/* 6F1F8C 80238EAC 24020088 */ addiu $v0, $zero, 0x88 -/* 6F1F90 80238EB0 14620008 */ bne $v1, $v0, .L80238ED4 -/* 6F1F94 80238EB4 24020002 */ addiu $v0, $zero, 2 -.L80238EB8: -/* 6F1F98 80238EB8 80A20220 */ lb $v0, 0x220($a1) -/* 6F1F9C 80238EBC 28420063 */ slti $v0, $v0, 0x63 -/* 6F1FA0 80238EC0 14400004 */ bnez $v0, .L80238ED4 -/* 6F1FA4 80238EC4 24020002 */ addiu $v0, $zero, 2 -/* 6F1FA8 80238EC8 24020001 */ addiu $v0, $zero, 1 -/* 6F1FAC 80238ECC AC820084 */ sw $v0, 0x84($a0) -/* 6F1FB0 80238ED0 24020002 */ addiu $v0, $zero, 2 -.L80238ED4: -/* 6F1FB4 80238ED4 03E00008 */ jr $ra -/* 6F1FB8 80238ED8 00000000 */ nop diff --git a/ver/us/asm/nonmatchings/code_6F10E0/func_80238EDC_6F1FBC.s b/ver/us/asm/nonmatchings/code_6F10E0/func_80238EDC_6F1FBC.s deleted file mode 100644 index bbc8b7c895..0000000000 --- a/ver/us/asm/nonmatchings/code_6F10E0/func_80238EDC_6F1FBC.s +++ /dev/null @@ -1,96 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_80238EDC_6F1FBC -/* 6F1FBC 80238EDC 27BDFFD0 */ addiu $sp, $sp, -0x30 -/* 6F1FC0 80238EE0 AFB30024 */ sw $s3, 0x24($sp) -/* 6F1FC4 80238EE4 0080982D */ daddu $s3, $a0, $zero -/* 6F1FC8 80238EE8 3C03800E */ lui $v1, %hi(gBattleStatus) -/* 6F1FCC 80238EEC 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus) -/* 6F1FD0 80238EF0 AFBF0028 */ sw $ra, 0x28($sp) -/* 6F1FD4 80238EF4 AFB20020 */ sw $s2, 0x20($sp) -/* 6F1FD8 80238EF8 AFB1001C */ sw $s1, 0x1c($sp) -/* 6F1FDC 80238EFC AFB00018 */ sw $s0, 0x18($sp) -/* 6F1FE0 80238F00 8E71000C */ lw $s1, 0xc($s3) -/* 6F1FE4 80238F04 8C6400DC */ lw $a0, 0xdc($v1) -/* 6F1FE8 80238F08 3C058024 */ lui $a1, %hi(D_8023CDA4) -/* 6F1FEC 80238F0C 24A5CDA4 */ addiu $a1, $a1, %lo(D_8023CDA4) -/* 6F1FF0 80238F10 ACA00000 */ sw $zero, ($a1) -/* 6F1FF4 80238F14 80820220 */ lb $v0, 0x220($a0) -/* 6F1FF8 80238F18 18400002 */ blez $v0, .L80238F24 -/* 6F1FFC 80238F1C 24020001 */ addiu $v0, $zero, 1 -/* 6F2000 80238F20 ACA20000 */ sw $v0, ($a1) -.L80238F24: -/* 6F2004 80238F24 8463017C */ lh $v1, 0x17c($v1) -/* 6F2008 80238F28 24020087 */ addiu $v0, $zero, 0x87 -/* 6F200C 80238F2C 1062000B */ beq $v1, $v0, .L80238F5C -/* 6F2010 80238F30 0000902D */ daddu $s2, $zero, $zero -/* 6F2014 80238F34 28620088 */ slti $v0, $v1, 0x88 -/* 6F2018 80238F38 10400005 */ beqz $v0, .L80238F50 -/* 6F201C 80238F3C 24020086 */ addiu $v0, $zero, 0x86 -/* 6F2020 80238F40 10620006 */ beq $v1, $v0, .L80238F5C -/* 6F2024 80238F44 00000000 */ nop -/* 6F2028 80238F48 0808E3E1 */ j .L80238F84 -/* 6F202C 80238F4C 00000000 */ nop -.L80238F50: -/* 6F2030 80238F50 24020088 */ addiu $v0, $zero, 0x88 -/* 6F2034 80238F54 1462000B */ bne $v1, $v0, .L80238F84 -/* 6F2038 80238F58 00000000 */ nop -.L80238F5C: -/* 6F203C 80238F5C 90820220 */ lbu $v0, 0x220($a0) -/* 6F2040 80238F60 24420002 */ addiu $v0, $v0, 2 -/* 6F2044 80238F64 A0820220 */ sb $v0, 0x220($a0) -/* 6F2048 80238F68 00021600 */ sll $v0, $v0, 0x18 -/* 6F204C 80238F6C 00021603 */ sra $v0, $v0, 0x18 -/* 6F2050 80238F70 28420063 */ slti $v0, $v0, 0x63 -/* 6F2054 80238F74 14400003 */ bnez $v0, .L80238F84 -/* 6F2058 80238F78 24120001 */ addiu $s2, $zero, 1 -/* 6F205C 80238F7C 24020063 */ addiu $v0, $zero, 0x63 -/* 6F2060 80238F80 A0820220 */ sb $v0, 0x220($a0) -.L80238F84: -/* 6F2064 80238F84 8E250000 */ lw $a1, ($s1) -/* 6F2068 80238F88 26310004 */ addiu $s1, $s1, 4 -/* 6F206C 80238F8C 0C0B1EAF */ jal get_variable -/* 6F2070 80238F90 0260202D */ daddu $a0, $s3, $zero -/* 6F2074 80238F94 8E250000 */ lw $a1, ($s1) -/* 6F2078 80238F98 26310004 */ addiu $s1, $s1, 4 -/* 6F207C 80238F9C 0260202D */ daddu $a0, $s3, $zero -/* 6F2080 80238FA0 0C0B1EAF */ jal get_variable -/* 6F2084 80238FA4 0040802D */ daddu $s0, $v0, $zero -/* 6F2088 80238FA8 0260202D */ daddu $a0, $s3, $zero -/* 6F208C 80238FAC 8E250000 */ lw $a1, ($s1) -/* 6F2090 80238FB0 0C0B1EAF */ jal get_variable -/* 6F2094 80238FB4 0040882D */ daddu $s1, $v0, $zero -/* 6F2098 80238FB8 0240202D */ daddu $a0, $s2, $zero -/* 6F209C 80238FBC 44901000 */ mtc1 $s0, $f2 -/* 6F20A0 80238FC0 00000000 */ nop -/* 6F20A4 80238FC4 468010A0 */ cvt.s.w $f2, $f2 -/* 6F20A8 80238FC8 44051000 */ mfc1 $a1, $f2 -/* 6F20AC 80238FCC 44911000 */ mtc1 $s1, $f2 -/* 6F20B0 80238FD0 00000000 */ nop -/* 6F20B4 80238FD4 468010A0 */ cvt.s.w $f2, $f2 -/* 6F20B8 80238FD8 44061000 */ mfc1 $a2, $f2 -/* 6F20BC 80238FDC 44821000 */ mtc1 $v0, $f2 -/* 6F20C0 80238FE0 00000000 */ nop -/* 6F20C4 80238FE4 468010A0 */ cvt.s.w $f2, $f2 -/* 6F20C8 80238FE8 3C013F80 */ lui $at, 0x3f80 -/* 6F20CC 80238FEC 44810000 */ mtc1 $at, $f0 -/* 6F20D0 80238FF0 44071000 */ mfc1 $a3, $f2 -/* 6F20D4 80238FF4 2403003C */ addiu $v1, $zero, 0x3c -/* 6F20D8 80238FF8 AFA30014 */ sw $v1, 0x14($sp) -/* 6F20DC 80238FFC 0C01C634 */ jal func_800718D0 -/* 6F20E0 80239000 E7A00010 */ swc1 $f0, 0x10($sp) -/* 6F20E4 80239004 3C05800E */ lui $a1, %hi(gBattleStatus) -/* 6F20E8 80239008 24A5C070 */ addiu $a1, $a1, %lo(gBattleStatus) -/* 6F20EC 8023900C 8CA30000 */ lw $v1, ($a1) -/* 6F20F0 80239010 3C044000 */ lui $a0, 0x4000 -/* 6F20F4 80239014 00641825 */ or $v1, $v1, $a0 -/* 6F20F8 80239018 ACA30000 */ sw $v1, ($a1) -/* 6F20FC 8023901C 8FBF0028 */ lw $ra, 0x28($sp) -/* 6F2100 80239020 8FB30024 */ lw $s3, 0x24($sp) -/* 6F2104 80239024 8FB20020 */ lw $s2, 0x20($sp) -/* 6F2108 80239028 8FB1001C */ lw $s1, 0x1c($sp) -/* 6F210C 8023902C 8FB00018 */ lw $s0, 0x18($sp) -/* 6F2110 80239030 24020002 */ addiu $v0, $zero, 2 -/* 6F2114 80239034 03E00008 */ jr $ra -/* 6F2118 80239038 27BD0030 */ addiu $sp, $sp, 0x30 diff --git a/ver/us/asm/nonmatchings/code_6F10E0/func_802390C8_6F21A8.s b/ver/us/asm/nonmatchings/code_6F10E0/func_802390C8_6F21A8.s deleted file mode 100644 index ff297ff1ca..0000000000 --- a/ver/us/asm/nonmatchings/code_6F10E0/func_802390C8_6F21A8.s +++ /dev/null @@ -1,54 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802390C8_6F21A8 -/* 6F21A8 802390C8 27BDFFD0 */ addiu $sp, $sp, -0x30 -/* 6F21AC 802390CC AFB1001C */ sw $s1, 0x1c($sp) -/* 6F21B0 802390D0 0080882D */ daddu $s1, $a0, $zero -/* 6F21B4 802390D4 AFBF0028 */ sw $ra, 0x28($sp) -/* 6F21B8 802390D8 AFB30024 */ sw $s3, 0x24($sp) -/* 6F21BC 802390DC AFB20020 */ sw $s2, 0x20($sp) -/* 6F21C0 802390E0 AFB00018 */ sw $s0, 0x18($sp) -/* 6F21C4 802390E4 8E30000C */ lw $s0, 0xc($s1) -/* 6F21C8 802390E8 8E050000 */ lw $a1, ($s0) -/* 6F21CC 802390EC 0C0B1EAF */ jal get_variable -/* 6F21D0 802390F0 26100004 */ addiu $s0, $s0, 4 -/* 6F21D4 802390F4 8E050000 */ lw $a1, ($s0) -/* 6F21D8 802390F8 26100004 */ addiu $s0, $s0, 4 -/* 6F21DC 802390FC 0220202D */ daddu $a0, $s1, $zero -/* 6F21E0 80239100 0C0B1EAF */ jal get_variable -/* 6F21E4 80239104 0040982D */ daddu $s3, $v0, $zero -/* 6F21E8 80239108 8E050000 */ lw $a1, ($s0) -/* 6F21EC 8023910C 26100004 */ addiu $s0, $s0, 4 -/* 6F21F0 80239110 0220202D */ daddu $a0, $s1, $zero -/* 6F21F4 80239114 0C0B1EAF */ jal get_variable -/* 6F21F8 80239118 0040902D */ daddu $s2, $v0, $zero -/* 6F21FC 8023911C 0220202D */ daddu $a0, $s1, $zero -/* 6F2200 80239120 8E050000 */ lw $a1, ($s0) -/* 6F2204 80239124 0C0B210B */ jal get_float_variable -/* 6F2208 80239128 0040802D */ daddu $s0, $v0, $zero -/* 6F220C 8023912C 24040006 */ addiu $a0, $zero, 6 -/* 6F2210 80239130 44931000 */ mtc1 $s3, $f2 -/* 6F2214 80239134 00000000 */ nop -/* 6F2218 80239138 468010A0 */ cvt.s.w $f2, $f2 -/* 6F221C 8023913C 44051000 */ mfc1 $a1, $f2 -/* 6F2220 80239140 44921000 */ mtc1 $s2, $f2 -/* 6F2224 80239144 00000000 */ nop -/* 6F2228 80239148 468010A0 */ cvt.s.w $f2, $f2 -/* 6F222C 8023914C 44061000 */ mfc1 $a2, $f2 -/* 6F2230 80239150 44901000 */ mtc1 $s0, $f2 -/* 6F2234 80239154 00000000 */ nop -/* 6F2238 80239158 468010A0 */ cvt.s.w $f2, $f2 -/* 6F223C 8023915C 44071000 */ mfc1 $a3, $f2 -/* 6F2240 80239160 2402002D */ addiu $v0, $zero, 0x2d -/* 6F2244 80239164 E7A00010 */ swc1 $f0, 0x10($sp) -/* 6F2248 80239168 0C01C82C */ jal func_800720B0 -/* 6F224C 8023916C AFA20014 */ sw $v0, 0x14($sp) -/* 6F2250 80239170 8FBF0028 */ lw $ra, 0x28($sp) -/* 6F2254 80239174 8FB30024 */ lw $s3, 0x24($sp) -/* 6F2258 80239178 8FB20020 */ lw $s2, 0x20($sp) -/* 6F225C 8023917C 8FB1001C */ lw $s1, 0x1c($sp) -/* 6F2260 80239180 8FB00018 */ lw $s0, 0x18($sp) -/* 6F2264 80239184 24020002 */ addiu $v0, $zero, 2 -/* 6F2268 80239188 03E00008 */ jr $ra -/* 6F226C 8023918C 27BD0030 */ addiu $sp, $sp, 0x30 diff --git a/ver/us/asm/nonmatchings/code_6F5E80/func_80238114_6F5F94.s b/ver/us/asm/nonmatchings/code_6F5E80/func_80238114_6F5F94.s deleted file mode 100644 index fb81095ff0..0000000000 --- a/ver/us/asm/nonmatchings/code_6F5E80/func_80238114_6F5F94.s +++ /dev/null @@ -1,110 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_80238114_6F5F94 -/* 6F5F94 80238114 27BDFFC0 */ addiu $sp, $sp, -0x40 -/* 6F5F98 80238118 AFB3001C */ sw $s3, 0x1c($sp) -/* 6F5F9C 8023811C 3C13800E */ lui $s3, %hi(gBattleStatus+0xDC) -/* 6F5FA0 80238120 8E73C14C */ lw $s3, %lo(gBattleStatus+0xDC)($s3) -/* 6F5FA4 80238124 AFBF0020 */ sw $ra, 0x20($sp) -/* 6F5FA8 80238128 AFB20018 */ sw $s2, 0x18($sp) -/* 6F5FAC 8023812C AFB10014 */ sw $s1, 0x14($sp) -/* 6F5FB0 80238130 AFB00010 */ sw $s0, 0x10($sp) -/* 6F5FB4 80238134 F7B80038 */ sdc1 $f24, 0x38($sp) -/* 6F5FB8 80238138 F7B60030 */ sdc1 $f22, 0x30($sp) -/* 6F5FBC 8023813C 10A00003 */ beqz $a1, .L8023814C -/* 6F5FC0 80238140 F7B40028 */ sdc1 $f20, 0x28($sp) -/* 6F5FC4 80238144 AC800070 */ sw $zero, 0x70($a0) -/* 6F5FC8 80238148 A2600425 */ sb $zero, 0x425($s3) -.L8023814C: -/* 6F5FCC 8023814C 8C820070 */ lw $v0, 0x70($a0) -/* 6F5FD0 80238150 14400047 */ bnez $v0, .L80238270 -/* 6F5FD4 80238154 0000102D */ daddu $v0, $zero, $zero -/* 6F5FD8 80238158 8262040C */ lb $v0, 0x40c($s3) -/* 6F5FDC 8023815C 1840002D */ blez $v0, .L80238214 -/* 6F5FE0 80238160 0000902D */ daddu $s2, $zero, $zero -/* 6F5FE4 80238164 3C014204 */ lui $at, 0x4204 -/* 6F5FE8 80238168 4481C000 */ mtc1 $at, $f24 -/* 6F5FEC 8023816C 02721021 */ addu $v0, $s3, $s2 -.L80238170: -/* 6F5FF0 80238170 8043040D */ lb $v1, 0x40d($v0) -/* 6F5FF4 80238174 C6740144 */ lwc1 $f20, 0x144($s3) -/* 6F5FF8 80238178 00031080 */ sll $v0, $v1, 2 -/* 6F5FFC 8023817C 00431021 */ addu $v0, $v0, $v1 -/* 6F6000 80238180 00021080 */ sll $v0, $v0, 2 -/* 6F6004 80238184 2442022C */ addiu $v0, $v0, 0x22c -/* 6F6008 80238188 02628821 */ addu $s1, $s3, $v0 -/* 6F600C 8023818C 86220004 */ lh $v0, 4($s1) -/* 6F6010 80238190 86240000 */ lh $a0, ($s1) -/* 6F6014 80238194 4482B000 */ mtc1 $v0, $f22 -/* 6F6018 80238198 00000000 */ nop -/* 6F601C 8023819C 0C09A75B */ jal get_actor -/* 6F6020 802381A0 4680B5A0 */ cvt.s.w $f22, $f22 -/* 6F6024 802381A4 0040802D */ daddu $s0, $v0, $zero -/* 6F6028 802381A8 12000015 */ beqz $s0, .L80238200 -/* 6F602C 802381AC 00000000 */ nop -/* 6F6030 802381B0 86250002 */ lh $a1, 2($s1) -/* 6F6034 802381B4 0C099117 */ jal get_actor_part -/* 6F6038 802381B8 0200202D */ daddu $a0, $s0, $zero -/* 6F603C 802381BC 82030218 */ lb $v1, 0x218($s0) -/* 6F6040 802381C0 1460000F */ bnez $v1, .L80238200 -/* 6F6044 802381C4 00000000 */ nop -/* 6F6048 802381C8 8C42007C */ lw $v0, 0x7c($v0) -/* 6F604C 802381CC 30420020 */ andi $v0, $v0, 0x20 -/* 6F6050 802381D0 1440000B */ bnez $v0, .L80238200 -/* 6F6054 802381D4 00000000 */ nop -/* 6F6058 802381D8 4614B03C */ c.lt.s $f22, $f20 -/* 6F605C 802381DC 00000000 */ nop -/* 6F6060 802381E0 45020004 */ bc1fl .L802381F4 -/* 6F6064 802381E4 AE00018C */ sw $zero, 0x18c($s0) -/* 6F6068 802381E8 C600018C */ lwc1 $f0, 0x18c($s0) -/* 6F606C 802381EC 46180000 */ add.s $f0, $f0, $f24 -/* 6F6070 802381F0 E600018C */ swc1 $f0, 0x18c($s0) -.L802381F4: -/* 6F6074 802381F4 0C00A6C9 */ jal clamp_angle -/* 6F6078 802381F8 C60C018C */ lwc1 $f12, 0x18c($s0) -/* 6F607C 802381FC E600018C */ swc1 $f0, 0x18c($s0) -.L80238200: -/* 6F6080 80238200 8262040C */ lb $v0, 0x40c($s3) -/* 6F6084 80238204 26520001 */ addiu $s2, $s2, 1 -/* 6F6088 80238208 0242102A */ slt $v0, $s2, $v0 -/* 6F608C 8023820C 1440FFD8 */ bnez $v0, .L80238170 -/* 6F6090 80238210 02721021 */ addu $v0, $s3, $s2 -.L80238214: -/* 6F6094 80238214 8E620088 */ lw $v0, 0x88($s3) -/* 6F6098 80238218 10400015 */ beqz $v0, .L80238270 -/* 6F609C 8023821C 0000102D */ daddu $v0, $zero, $zero -/* 6F60A0 80238220 8262040C */ lb $v0, 0x40c($s3) -/* 6F60A4 80238224 18400011 */ blez $v0, .L8023826C -/* 6F60A8 80238228 0000902D */ daddu $s2, $zero, $zero -/* 6F60AC 8023822C 02721021 */ addu $v0, $s3, $s2 -.L80238230: -/* 6F60B0 80238230 8043040D */ lb $v1, 0x40d($v0) -/* 6F60B4 80238234 00031080 */ sll $v0, $v1, 2 -/* 6F60B8 80238238 00431021 */ addu $v0, $v0, $v1 -/* 6F60BC 8023823C 00021080 */ sll $v0, $v0, 2 -/* 6F60C0 80238240 00538821 */ addu $s1, $v0, $s3 -/* 6F60C4 80238244 0C09A75B */ jal get_actor -/* 6F60C8 80238248 8624022C */ lh $a0, 0x22c($s1) -/* 6F60CC 8023824C 0040802D */ daddu $s0, $v0, $zero -/* 6F60D0 80238250 56000001 */ bnel $s0, $zero, .L80238258 -/* 6F60D4 80238254 AE00018C */ sw $zero, 0x18c($s0) -.L80238258: -/* 6F60D8 80238258 8262040C */ lb $v0, 0x40c($s3) -/* 6F60DC 8023825C 26520001 */ addiu $s2, $s2, 1 -/* 6F60E0 80238260 0242102A */ slt $v0, $s2, $v0 -/* 6F60E4 80238264 1440FFF2 */ bnez $v0, .L80238230 -/* 6F60E8 80238268 02721021 */ addu $v0, $s3, $s2 -.L8023826C: -/* 6F60EC 8023826C 24020002 */ addiu $v0, $zero, 2 -.L80238270: -/* 6F60F0 80238270 8FBF0020 */ lw $ra, 0x20($sp) -/* 6F60F4 80238274 8FB3001C */ lw $s3, 0x1c($sp) -/* 6F60F8 80238278 8FB20018 */ lw $s2, 0x18($sp) -/* 6F60FC 8023827C 8FB10014 */ lw $s1, 0x14($sp) -/* 6F6100 80238280 8FB00010 */ lw $s0, 0x10($sp) -/* 6F6104 80238284 D7B80038 */ ldc1 $f24, 0x38($sp) -/* 6F6108 80238288 D7B60030 */ ldc1 $f22, 0x30($sp) -/* 6F610C 8023828C D7B40028 */ ldc1 $f20, 0x28($sp) -/* 6F6110 80238290 03E00008 */ jr $ra -/* 6F6114 80238294 27BD0040 */ addiu $sp, $sp, 0x40 diff --git a/ver/us/asm/nonmatchings/code_6FFD80/func_80238000_6FFD80.s b/ver/us/asm/nonmatchings/code_6FFD80/func_80238000_6FFD80.s deleted file mode 100644 index 4a17825fae..0000000000 --- a/ver/us/asm/nonmatchings/code_6FFD80/func_80238000_6FFD80.s +++ /dev/null @@ -1,842 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_80238000_6FFD80 -/* 6FFD80 80238000 27BDFF80 */ addiu $sp, $sp, -0x80 -/* 6FFD84 80238004 AFB7005C */ sw $s7, 0x5c($sp) -/* 6FFD88 80238008 0080B82D */ daddu $s7, $a0, $zero -/* 6FFD8C 8023800C AFB60058 */ sw $s6, 0x58($sp) -/* 6FFD90 80238010 3C16800E */ lui $s6, %hi(gBattleStatus) -/* 6FFD94 80238014 26D6C070 */ addiu $s6, $s6, %lo(gBattleStatus) -/* 6FFD98 80238018 AFBF0060 */ sw $ra, 0x60($sp) -/* 6FFD9C 8023801C AFB50054 */ sw $s5, 0x54($sp) -/* 6FFDA0 80238020 AFB40050 */ sw $s4, 0x50($sp) -/* 6FFDA4 80238024 AFB3004C */ sw $s3, 0x4c($sp) -/* 6FFDA8 80238028 AFB20048 */ sw $s2, 0x48($sp) -/* 6FFDAC 8023802C AFB10044 */ sw $s1, 0x44($sp) -/* 6FFDB0 80238030 AFB00040 */ sw $s0, 0x40($sp) -/* 6FFDB4 80238034 F7B80078 */ sdc1 $f24, 0x78($sp) -/* 6FFDB8 80238038 F7B60070 */ sdc1 $f22, 0x70($sp) -/* 6FFDBC 8023803C F7B40068 */ sdc1 $f20, 0x68($sp) -/* 6FFDC0 80238040 8ED500DC */ lw $s5, 0xdc($s6) -/* 6FFDC4 80238044 3C04802A */ lui $a0, %hi(D_8029FBE0) -/* 6FFDC8 80238048 2484FBE0 */ addiu $a0, $a0, %lo(D_8029FBE0) -/* 6FFDCC 8023804C 10A00002 */ beqz $a1, .L80238058 -/* 6FFDD0 80238050 26B4000C */ addiu $s4, $s5, 0xc -/* 6FFDD4 80238054 AEE00070 */ sw $zero, 0x70($s7) -.L80238058: -/* 6FFDD8 80238058 8EE30070 */ lw $v1, 0x70($s7) -/* 6FFDDC 8023805C 24020001 */ addiu $v0, $zero, 1 -/* 6FFDE0 80238060 1062019B */ beq $v1, $v0, .L802386D0 -/* 6FFDE4 80238064 28620002 */ slti $v0, $v1, 2 -/* 6FFDE8 80238068 10400005 */ beqz $v0, .L80238080 -/* 6FFDEC 8023806C 24020002 */ addiu $v0, $zero, 2 -/* 6FFDF0 80238070 10600009 */ beqz $v1, .L80238098 -/* 6FFDF4 80238074 28620003 */ slti $v0, $v1, 3 -/* 6FFDF8 80238078 0808E26D */ j .L802389B4 -/* 6FFDFC 8023807C 00000000 */ nop -.L80238080: -/* 6FFE00 80238080 106201B5 */ beq $v1, $v0, .L80238758 -/* 6FFE04 80238084 24020003 */ addiu $v0, $zero, 3 -/* 6FFE08 80238088 106201F2 */ beq $v1, $v0, .L80238854 -/* 6FFE0C 8023808C 00000000 */ nop -/* 6FFE10 80238090 0808E26B */ j .L802389AC -/* 6FFE14 80238094 00000000 */ nop -.L80238098: -/* 6FFE18 80238098 3C048029 */ lui $a0, %hi(D_80293014) -/* 6FFE1C 8023809C 24843014 */ addiu $a0, $a0, %lo(D_80293014) -/* 6FFE20 802380A0 0C050529 */ jal create_icon -/* 6FFE24 802380A4 00000000 */ nop -/* 6FFE28 802380A8 0040982D */ daddu $s3, $v0, $zero -/* 6FFE2C 802380AC 0260202D */ daddu $a0, $s3, $zero -/* 6FFE30 802380B0 2405000A */ addiu $a1, $zero, 0xa -/* 6FFE34 802380B4 3C108024 */ lui $s0, %hi(D_8023BD78) -/* 6FFE38 802380B8 2610BD78 */ addiu $s0, $s0, %lo(D_8023BD78) -/* 6FFE3C 802380BC 0C051277 */ jal func_801449DC -/* 6FFE40 802380C0 AE130000 */ sw $s3, ($s0) -/* 6FFE44 802380C4 0260202D */ daddu $a0, $s3, $zero -/* 6FFE48 802380C8 2405FF9C */ addiu $a1, $zero, -0x64 -/* 6FFE4C 802380CC 0C051261 */ jal set_icon_render_pos -/* 6FFE50 802380D0 00A0302D */ daddu $a2, $a1, $zero -/* 6FFE54 802380D4 3C048029 */ lui $a0, %hi(D_80292F7C) -/* 6FFE58 802380D8 24842F7C */ addiu $a0, $a0, %lo(D_80292F7C) -/* 6FFE5C 802380DC 0C050529 */ jal create_icon -/* 6FFE60 802380E0 00000000 */ nop -/* 6FFE64 802380E4 0040982D */ daddu $s3, $v0, $zero -/* 6FFE68 802380E8 0260202D */ daddu $a0, $s3, $zero -/* 6FFE6C 802380EC 2405000A */ addiu $a1, $zero, 0xa -/* 6FFE70 802380F0 0C051277 */ jal func_801449DC -/* 6FFE74 802380F4 AE130004 */ sw $s3, 4($s0) -/* 6FFE78 802380F8 0260202D */ daddu $a0, $s3, $zero -/* 6FFE7C 802380FC 2405FF9C */ addiu $a1, $zero, -0x64 -/* 6FFE80 80238100 0C051261 */ jal set_icon_render_pos -/* 6FFE84 80238104 00A0302D */ daddu $a2, $a1, $zero -/* 6FFE88 80238108 3C048029 */ lui $a0, %hi(D_80292EE4) -/* 6FFE8C 8023810C 24842EE4 */ addiu $a0, $a0, %lo(D_80292EE4) -/* 6FFE90 80238110 0C050529 */ jal create_icon -/* 6FFE94 80238114 00000000 */ nop -/* 6FFE98 80238118 0040982D */ daddu $s3, $v0, $zero -/* 6FFE9C 8023811C 0260202D */ daddu $a0, $s3, $zero -/* 6FFEA0 80238120 2405000A */ addiu $a1, $zero, 0xa -/* 6FFEA4 80238124 0C051277 */ jal func_801449DC -/* 6FFEA8 80238128 AE130008 */ sw $s3, 8($s0) -/* 6FFEAC 8023812C 0260202D */ daddu $a0, $s3, $zero -/* 6FFEB0 80238130 2405FF9C */ addiu $a1, $zero, -0x64 -/* 6FFEB4 80238134 0C051261 */ jal set_icon_render_pos -/* 6FFEB8 80238138 00A0302D */ daddu $a2, $a1, $zero -/* 6FFEBC 8023813C 3C048029 */ lui $a0, %hi(D_80292E4C) -/* 6FFEC0 80238140 24842E4C */ addiu $a0, $a0, %lo(D_80292E4C) -/* 6FFEC4 80238144 0C050529 */ jal create_icon -/* 6FFEC8 80238148 00000000 */ nop -/* 6FFECC 8023814C 0040982D */ daddu $s3, $v0, $zero -/* 6FFED0 80238150 0260202D */ daddu $a0, $s3, $zero -/* 6FFED4 80238154 2405000A */ addiu $a1, $zero, 0xa -/* 6FFED8 80238158 0C051277 */ jal func_801449DC -/* 6FFEDC 8023815C AE13000C */ sw $s3, 0xc($s0) -/* 6FFEE0 80238160 0260202D */ daddu $a0, $s3, $zero -/* 6FFEE4 80238164 2405FF9C */ addiu $a1, $zero, -0x64 -/* 6FFEE8 80238168 0C051261 */ jal set_icon_render_pos -/* 6FFEEC 8023816C 00A0302D */ daddu $a2, $a1, $zero -/* 6FFEF0 80238170 3C048029 */ lui $a0, %hi(D_80292DB4) -/* 6FFEF4 80238174 24842DB4 */ addiu $a0, $a0, %lo(D_80292DB4) -/* 6FFEF8 80238178 0C050529 */ jal create_icon -/* 6FFEFC 8023817C 00000000 */ nop -/* 6FFF00 80238180 0040982D */ daddu $s3, $v0, $zero -/* 6FFF04 80238184 0260202D */ daddu $a0, $s3, $zero -/* 6FFF08 80238188 2405000A */ addiu $a1, $zero, 0xa -/* 6FFF0C 8023818C 0C051277 */ jal func_801449DC -/* 6FFF10 80238190 AE130010 */ sw $s3, 0x10($s0) -/* 6FFF14 80238194 0260202D */ daddu $a0, $s3, $zero -/* 6FFF18 80238198 2405FF9C */ addiu $a1, $zero, -0x64 -/* 6FFF1C 8023819C 0C051261 */ jal set_icon_render_pos -/* 6FFF20 802381A0 00A0302D */ daddu $a2, $a1, $zero -/* 6FFF24 802381A4 3C048029 */ lui $a0, %hi(D_80292D1C) -/* 6FFF28 802381A8 24842D1C */ addiu $a0, $a0, %lo(D_80292D1C) -/* 6FFF2C 802381AC 0C050529 */ jal create_icon -/* 6FFF30 802381B0 00000000 */ nop -/* 6FFF34 802381B4 0040982D */ daddu $s3, $v0, $zero -/* 6FFF38 802381B8 0260202D */ daddu $a0, $s3, $zero -/* 6FFF3C 802381BC 2405000A */ addiu $a1, $zero, 0xa -/* 6FFF40 802381C0 0C051277 */ jal func_801449DC -/* 6FFF44 802381C4 AE130014 */ sw $s3, 0x14($s0) -/* 6FFF48 802381C8 0260202D */ daddu $a0, $s3, $zero -/* 6FFF4C 802381CC 2405FF9C */ addiu $a1, $zero, -0x64 -/* 6FFF50 802381D0 0C051261 */ jal set_icon_render_pos -/* 6FFF54 802381D4 00A0302D */ daddu $a2, $a1, $zero -/* 6FFF58 802381D8 3C048029 */ lui $a0, %hi(D_8029369C) -/* 6FFF5C 802381DC 2484369C */ addiu $a0, $a0, %lo(D_8029369C) -/* 6FFF60 802381E0 0C050529 */ jal create_icon -/* 6FFF64 802381E4 00000000 */ nop -/* 6FFF68 802381E8 0040982D */ daddu $s3, $v0, $zero -/* 6FFF6C 802381EC 0260202D */ daddu $a0, $s3, $zero -/* 6FFF70 802381F0 2405000A */ addiu $a1, $zero, 0xa -/* 6FFF74 802381F4 0C051277 */ jal func_801449DC -/* 6FFF78 802381F8 AE130018 */ sw $s3, 0x18($s0) -/* 6FFF7C 802381FC 0260202D */ daddu $a0, $s3, $zero -/* 6FFF80 80238200 2405FF9C */ addiu $a1, $zero, -0x64 -/* 6FFF84 80238204 0C051261 */ jal set_icon_render_pos -/* 6FFF88 80238208 00A0302D */ daddu $a2, $a1, $zero -/* 6FFF8C 8023820C 3C048029 */ lui $a0, %hi(D_802934D4) -/* 6FFF90 80238210 248434D4 */ addiu $a0, $a0, %lo(D_802934D4) -/* 6FFF94 80238214 0C050529 */ jal create_icon -/* 6FFF98 80238218 00000000 */ nop -/* 6FFF9C 8023821C 0040982D */ daddu $s3, $v0, $zero -/* 6FFFA0 80238220 0260202D */ daddu $a0, $s3, $zero -/* 6FFFA4 80238224 24050009 */ addiu $a1, $zero, 9 -/* 6FFFA8 80238228 3C108024 */ lui $s0, %hi(D_8023BD98) -/* 6FFFAC 8023822C 2610BD98 */ addiu $s0, $s0, %lo(D_8023BD98) -/* 6FFFB0 80238230 0C051277 */ jal func_801449DC -/* 6FFFB4 80238234 AE130000 */ sw $s3, ($s0) -/* 6FFFB8 80238238 0260202D */ daddu $a0, $s3, $zero -/* 6FFFBC 8023823C 2405FF9C */ addiu $a1, $zero, -0x64 -/* 6FFFC0 80238240 0C051261 */ jal set_icon_render_pos -/* 6FFFC4 80238244 00A0302D */ daddu $a2, $a1, $zero -/* 6FFFC8 80238248 3C048029 */ lui $a0, %hi(D_8029343C) -/* 6FFFCC 8023824C 2484343C */ addiu $a0, $a0, %lo(D_8029343C) -/* 6FFFD0 80238250 0C050529 */ jal create_icon -/* 6FFFD4 80238254 00000000 */ nop -/* 6FFFD8 80238258 0040982D */ daddu $s3, $v0, $zero -/* 6FFFDC 8023825C 0260202D */ daddu $a0, $s3, $zero -/* 6FFFE0 80238260 24050009 */ addiu $a1, $zero, 9 -/* 6FFFE4 80238264 0C051277 */ jal func_801449DC -/* 6FFFE8 80238268 AE130004 */ sw $s3, 4($s0) -/* 6FFFEC 8023826C 0260202D */ daddu $a0, $s3, $zero -/* 6FFFF0 80238270 2405FF9C */ addiu $a1, $zero, -0x64 -/* 6FFFF4 80238274 0C051261 */ jal set_icon_render_pos -/* 6FFFF8 80238278 00A0302D */ daddu $a2, $a1, $zero -/* 6FFFFC 8023827C 3C048029 */ lui $a0, %hi(D_802933A4) -/* 700000 80238280 248433A4 */ addiu $a0, $a0, %lo(D_802933A4) -/* 700004 80238284 0C050529 */ jal create_icon -/* 700008 80238288 00000000 */ nop -/* 70000C 8023828C 0040982D */ daddu $s3, $v0, $zero -/* 700010 80238290 0260202D */ daddu $a0, $s3, $zero -/* 700014 80238294 24050009 */ addiu $a1, $zero, 9 -/* 700018 80238298 0C051277 */ jal func_801449DC -/* 70001C 8023829C AE130008 */ sw $s3, 8($s0) -/* 700020 802382A0 0260202D */ daddu $a0, $s3, $zero -/* 700024 802382A4 2405FF9C */ addiu $a1, $zero, -0x64 -/* 700028 802382A8 0C051261 */ jal set_icon_render_pos -/* 70002C 802382AC 00A0302D */ daddu $a2, $a1, $zero -/* 700030 802382B0 3C048029 */ lui $a0, %hi(D_8029330C) -/* 700034 802382B4 2484330C */ addiu $a0, $a0, %lo(D_8029330C) -/* 700038 802382B8 0C050529 */ jal create_icon -/* 70003C 802382BC 00000000 */ nop -/* 700040 802382C0 0040982D */ daddu $s3, $v0, $zero -/* 700044 802382C4 0260202D */ daddu $a0, $s3, $zero -/* 700048 802382C8 24050009 */ addiu $a1, $zero, 9 -/* 70004C 802382CC 0C051277 */ jal func_801449DC -/* 700050 802382D0 AE13000C */ sw $s3, 0xc($s0) -/* 700054 802382D4 0260202D */ daddu $a0, $s3, $zero -/* 700058 802382D8 2405FF9C */ addiu $a1, $zero, -0x64 -/* 70005C 802382DC 0C051261 */ jal set_icon_render_pos -/* 700060 802382E0 00A0302D */ daddu $a2, $a1, $zero -/* 700064 802382E4 3C048029 */ lui $a0, %hi(D_80293274) -/* 700068 802382E8 24843274 */ addiu $a0, $a0, %lo(D_80293274) -/* 70006C 802382EC 0C050529 */ jal create_icon -/* 700070 802382F0 00000000 */ nop -/* 700074 802382F4 0040982D */ daddu $s3, $v0, $zero -/* 700078 802382F8 0260202D */ daddu $a0, $s3, $zero -/* 70007C 802382FC 24050009 */ addiu $a1, $zero, 9 -/* 700080 80238300 0C051277 */ jal func_801449DC -/* 700084 80238304 AE130010 */ sw $s3, 0x10($s0) -/* 700088 80238308 0260202D */ daddu $a0, $s3, $zero -/* 70008C 8023830C 2405FF9C */ addiu $a1, $zero, -0x64 -/* 700090 80238310 0C051261 */ jal set_icon_render_pos -/* 700094 80238314 00A0302D */ daddu $a2, $a1, $zero -/* 700098 80238318 3C048029 */ lui $a0, %hi(D_802931DC) -/* 70009C 8023831C 248431DC */ addiu $a0, $a0, %lo(D_802931DC) -/* 7000A0 80238320 0C050529 */ jal create_icon -/* 7000A4 80238324 00000000 */ nop -/* 7000A8 80238328 0040982D */ daddu $s3, $v0, $zero -/* 7000AC 8023832C 0260202D */ daddu $a0, $s3, $zero -/* 7000B0 80238330 24050009 */ addiu $a1, $zero, 9 -/* 7000B4 80238334 0C051277 */ jal func_801449DC -/* 7000B8 80238338 AE130014 */ sw $s3, 0x14($s0) -/* 7000BC 8023833C 0260202D */ daddu $a0, $s3, $zero -/* 7000C0 80238340 2405FF9C */ addiu $a1, $zero, -0x64 -/* 7000C4 80238344 0C051261 */ jal set_icon_render_pos -/* 7000C8 80238348 00A0302D */ daddu $a2, $a1, $zero -/* 7000CC 8023834C 3C048029 */ lui $a0, %hi(D_802936D4) -/* 7000D0 80238350 248436D4 */ addiu $a0, $a0, %lo(D_802936D4) -/* 7000D4 80238354 0C050529 */ jal create_icon -/* 7000D8 80238358 00000000 */ nop -/* 7000DC 8023835C 0040982D */ daddu $s3, $v0, $zero -/* 7000E0 80238360 0260202D */ daddu $a0, $s3, $zero -/* 7000E4 80238364 2405000A */ addiu $a1, $zero, 0xa -/* 7000E8 80238368 3C128024 */ lui $s2, %hi(D_8023BDB4) -/* 7000EC 8023836C 2652BDB4 */ addiu $s2, $s2, %lo(D_8023BDB4) -/* 7000F0 80238370 0C051277 */ jal func_801449DC -/* 7000F4 80238374 AE530000 */ sw $s3, ($s2) -/* 7000F8 80238378 8E440000 */ lw $a0, ($s2) -/* 7000FC 8023837C 0C0513CA */ jal func_80144F28 -/* 700100 80238380 00000000 */ nop -/* 700104 80238384 0260202D */ daddu $a0, $s3, $zero -/* 700108 80238388 2405FF9C */ addiu $a1, $zero, -0x64 -/* 70010C 8023838C 0C051261 */ jal set_icon_render_pos -/* 700110 80238390 00A0302D */ daddu $a2, $a1, $zero -/* 700114 80238394 3C048011 */ lui $a0, %hi(D_80108E48) -/* 700118 80238398 24848E48 */ addiu $a0, $a0, %lo(D_80108E48) -/* 70011C 8023839C 3C118024 */ lui $s1, %hi(D_8023BDC4) -/* 700120 802383A0 2631BDC4 */ addiu $s1, $s1, %lo(D_8023BDC4) -/* 700124 802383A4 2402FFD0 */ addiu $v0, $zero, -0x30 -/* 700128 802383A8 3C108024 */ lui $s0, %hi(D_8023BDC8) -/* 70012C 802383AC 2610BDC8 */ addiu $s0, $s0, %lo(D_8023BDC8) -/* 700130 802383B0 AE220000 */ sw $v0, ($s1) -/* 700134 802383B4 24020050 */ addiu $v0, $zero, 0x50 -/* 700138 802383B8 0C050529 */ jal create_icon -/* 70013C 802383BC AE020000 */ sw $v0, ($s0) -/* 700140 802383C0 0040982D */ daddu $s3, $v0, $zero -/* 700144 802383C4 8E250000 */ lw $a1, ($s1) -/* 700148 802383C8 8E060000 */ lw $a2, ($s0) -/* 70014C 802383CC 3C018024 */ lui $at, %hi(D_8023BDC0) -/* 700150 802383D0 AC33BDC0 */ sw $s3, %lo(D_8023BDC0)($at) -/* 700154 802383D4 0C051261 */ jal set_icon_render_pos -/* 700158 802383D8 0260202D */ daddu $a0, $s3, $zero -/* 70015C 802383DC 0260202D */ daddu $a0, $s3, $zero -/* 700160 802383E0 0C051277 */ jal func_801449DC -/* 700164 802383E4 0000282D */ daddu $a1, $zero, $zero -/* 700168 802383E8 86A50428 */ lh $a1, 0x428($s5) -/* 70016C 802383EC 82A60426 */ lb $a2, 0x426($s5) -/* 700170 802383F0 0C09A5D5 */ jal set_goal_pos_to_part -/* 700174 802383F4 0280202D */ daddu $a0, $s4, $zero -/* 700178 802383F8 86A40428 */ lh $a0, 0x428($s5) -/* 70017C 802383FC 0C09A75B */ jal get_actor -/* 700180 80238400 0000882D */ daddu $s1, $zero, $zero -/* 700184 80238404 0040802D */ daddu $s0, $v0, $zero -/* 700188 80238408 82A50426 */ lb $a1, 0x426($s5) -/* 70018C 8023840C 0C099117 */ jal get_actor_part -/* 700190 80238410 0200202D */ daddu $a0, $s0, $zero -/* 700194 80238414 80430075 */ lb $v1, 0x75($v0) -/* 700198 80238418 C6000188 */ lwc1 $f0, 0x188($s0) -/* 70019C 8023841C 44831000 */ mtc1 $v1, $f2 -/* 7001A0 80238420 00000000 */ nop -/* 7001A4 80238424 468010A0 */ cvt.s.w $f2, $f2 -/* 7001A8 80238428 46001082 */ mul.s $f2, $f2, $f0 -/* 7001AC 8023842C 00000000 */ nop -/* 7001B0 80238430 C6A00018 */ lwc1 $f0, 0x18($s5) -/* 7001B4 80238434 46020000 */ add.s $f0, $f0, $f2 -/* 7001B8 80238438 E6A00018 */ swc1 $f0, 0x18($s5) -/* 7001BC 8023843C 80430076 */ lb $v1, 0x76($v0) -/* 7001C0 80238440 C6020188 */ lwc1 $f2, 0x188($s0) -/* 7001C4 80238444 44830000 */ mtc1 $v1, $f0 -/* 7001C8 80238448 00000000 */ nop -/* 7001CC 8023844C 46800020 */ cvt.s.w $f0, $f0 -/* 7001D0 80238450 46020002 */ mul.s $f0, $f0, $f2 -/* 7001D4 80238454 00000000 */ nop -/* 7001D8 80238458 C6A2001C */ lwc1 $f2, 0x1c($s5) -/* 7001DC 8023845C 46001080 */ add.s $f2, $f2, $f0 -/* 7001E0 80238460 C6A00020 */ lwc1 $f0, 0x20($s5) -/* 7001E4 80238464 E6A2001C */ swc1 $f2, 0x1c($s5) -/* 7001E8 80238468 90430073 */ lbu $v1, 0x73($v0) -/* 7001EC 8023846C 90420072 */ lbu $v0, 0x72($v0) -/* 7001F0 80238470 3C014038 */ lui $at, 0x4038 -/* 7001F4 80238474 44811800 */ mtc1 $at, $f3 -/* 7001F8 80238478 44801000 */ mtc1 $zero, $f2 -/* 7001FC 8023847C 00621821 */ addu $v1, $v1, $v0 -/* 700200 80238480 00031843 */ sra $v1, $v1, 1 -/* 700204 80238484 44830000 */ mtc1 $v1, $f0 -/* 700208 80238488 00000000 */ nop -/* 70020C 8023848C 46800021 */ cvt.d.w $f0, $f0 -/* 700210 80238490 46220003 */ div.d $f0, $f0, $f2 -/* 700214 80238494 46200020 */ cvt.s.d $f0, $f0 -/* 700218 80238498 E6A00030 */ swc1 $f0, 0x30($s5) -/* 70021C 8023849C C6020188 */ lwc1 $f2, 0x188($s0) -/* 700220 802384A0 46020002 */ mul.s $f0, $f0, $f2 -/* 700224 802384A4 00000000 */ nop -/* 700228 802384A8 8E440000 */ lw $a0, ($s2) -/* 70022C 802384AC 44050000 */ mfc1 $a1, $f0 -/* 700230 802384B0 3C013F80 */ lui $at, 0x3f80 -/* 700234 802384B4 4481B000 */ mtc1 $at, $f22 -/* 700238 802384B8 0C051308 */ jal func_80144C20 -/* 70023C 802384BC 00000000 */ nop -/* 700240 802384C0 27B30028 */ addiu $s3, $sp, 0x28 -/* 700244 802384C4 8EA60018 */ lw $a2, 0x18($s5) -/* 700248 802384C8 C6A00144 */ lwc1 $f0, 0x144($s5) -/* 70024C 802384CC 3C014100 */ lui $at, 0x4100 -/* 700250 802384D0 44811000 */ mtc1 $at, $f2 -/* 700254 802384D4 3C014180 */ lui $at, 0x4180 -/* 700258 802384D8 44812000 */ mtc1 $at, $f4 -/* 70025C 802384DC 46020000 */ add.s $f0, $f0, $f2 -/* 700260 802384E0 C6A20148 */ lwc1 $f2, 0x148($s5) -/* 700264 802384E4 8EA7001C */ lw $a3, 0x1c($s5) -/* 700268 802384E8 46041080 */ add.s $f2, $f2, $f4 -/* 70026C 802384EC E6A0000C */ swc1 $f0, 0xc($s5) -/* 700270 802384F0 46000306 */ mov.s $f12, $f0 -/* 700274 802384F4 C6A0014C */ lwc1 $f0, 0x14c($s5) -/* 700278 802384F8 27B2002C */ addiu $s2, $sp, 0x2c -/* 70027C 802384FC E6A20010 */ swc1 $f2, 0x10($s5) -/* 700280 80238500 46001386 */ mov.s $f14, $f2 -/* 700284 80238504 0C00A720 */ jal atan2 -/* 700288 80238508 E6A00014 */ swc1 $f0, 0x14($s5) -/* 70028C 8023850C E6A00054 */ swc1 $f0, 0x54($s5) -/* 700290 80238510 46000106 */ mov.s $f4, $f0 -/* 700294 80238514 3C0142E8 */ lui $at, 0x42e8 -/* 700298 80238518 44811000 */ mtc1 $at, $f2 -/* 70029C 8023851C 27B00030 */ addiu $s0, $sp, 0x30 -/* 7002A0 80238520 E6A0005C */ swc1 $f0, 0x5c($s5) -/* 7002A4 80238524 E6A40024 */ swc1 $f4, 0x24($s5) -/* 7002A8 80238528 E6A20058 */ swc1 $f2, 0x58($s5) -.L8023852C: -/* 7002AC 8023852C C68C0018 */ lwc1 $f12, 0x18($s4) -/* 7002B0 80238530 46166301 */ sub.s $f12, $f12, $f22 -/* 7002B4 80238534 0C00A6C9 */ jal clamp_angle -/* 7002B8 80238538 E68C0018 */ swc1 $f12, 0x18($s4) -/* 7002BC 8023853C 27A40020 */ addiu $a0, $sp, 0x20 -/* 7002C0 80238540 C6940008 */ lwc1 $f20, 8($s4) -/* 7002C4 80238544 8E86004C */ lw $a2, 0x4c($s4) -/* 7002C8 80238548 44070000 */ mfc1 $a3, $f0 -/* 7002CC 8023854C C6800000 */ lwc1 $f0, ($s4) -/* 7002D0 80238550 C6820004 */ lwc1 $f2, 4($s4) -/* 7002D4 80238554 27A50024 */ addiu $a1, $sp, 0x24 -/* 7002D8 80238558 E7A00020 */ swc1 $f0, 0x20($sp) -/* 7002DC 8023855C 0C00A7E7 */ jal add_vec2D_polar -/* 7002E0 80238560 E7A20024 */ swc1 $f2, 0x24($sp) -/* 7002E4 80238564 3C048007 */ lui $a0, %hi(gCurrentCameraID) -/* 7002E8 80238568 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0) -/* 7002EC 8023856C 4407A000 */ mfc1 $a3, $f20 -/* 7002F0 80238570 C7A00020 */ lwc1 $f0, 0x20($sp) -/* 7002F4 80238574 C7A20024 */ lwc1 $f2, 0x24($sp) -/* 7002F8 80238578 44050000 */ mfc1 $a1, $f0 -/* 7002FC 8023857C 44061000 */ mfc1 $a2, $f2 -/* 700300 80238580 AFB30010 */ sw $s3, 0x10($sp) -/* 700304 80238584 AFB20014 */ sw $s2, 0x14($sp) -/* 700308 80238588 0C00B94E */ jal get_screen_coords -/* 70030C 8023858C AFB00018 */ sw $s0, 0x18($sp) -/* 700310 80238590 8FA2002C */ lw $v0, 0x2c($sp) -/* 700314 80238594 284200B5 */ slti $v0, $v0, 0xb5 -/* 700318 80238598 10400004 */ beqz $v0, .L802385AC -/* 70031C 8023859C 26310001 */ addiu $s1, $s1, 1 -/* 700320 802385A0 2A22001E */ slti $v0, $s1, 0x1e -/* 700324 802385A4 1440FFE1 */ bnez $v0, .L8023852C -/* 700328 802385A8 00000000 */ nop -.L802385AC: -/* 70032C 802385AC 0000882D */ daddu $s1, $zero, $zero -/* 700330 802385B0 27B30028 */ addiu $s3, $sp, 0x28 -/* 700334 802385B4 27B2002C */ addiu $s2, $sp, 0x2c -/* 700338 802385B8 3C013F80 */ lui $at, 0x3f80 -/* 70033C 802385BC 4481B000 */ mtc1 $at, $f22 -/* 700340 802385C0 C6800048 */ lwc1 $f0, 0x48($s4) -/* 700344 802385C4 27B00030 */ addiu $s0, $sp, 0x30 -/* 700348 802385C8 E680001C */ swc1 $f0, 0x1c($s4) -.L802385CC: -/* 70034C 802385CC C68C001C */ lwc1 $f12, 0x1c($s4) -/* 700350 802385D0 46166300 */ add.s $f12, $f12, $f22 -/* 700354 802385D4 0C00A6C9 */ jal clamp_angle -/* 700358 802385D8 E68C001C */ swc1 $f12, 0x1c($s4) -/* 70035C 802385DC 27A40020 */ addiu $a0, $sp, 0x20 -/* 700360 802385E0 C6940008 */ lwc1 $f20, 8($s4) -/* 700364 802385E4 8E86004C */ lw $a2, 0x4c($s4) -/* 700368 802385E8 44070000 */ mfc1 $a3, $f0 -/* 70036C 802385EC C6800000 */ lwc1 $f0, ($s4) -/* 700370 802385F0 C6820004 */ lwc1 $f2, 4($s4) -/* 700374 802385F4 27A50024 */ addiu $a1, $sp, 0x24 -/* 700378 802385F8 E7A00020 */ swc1 $f0, 0x20($sp) -/* 70037C 802385FC 0C00A7E7 */ jal add_vec2D_polar -/* 700380 80238600 E7A20024 */ swc1 $f2, 0x24($sp) -/* 700384 80238604 3C048007 */ lui $a0, %hi(gCurrentCameraID) -/* 700388 80238608 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0) -/* 70038C 8023860C 4407A000 */ mfc1 $a3, $f20 -/* 700390 80238610 C7A00020 */ lwc1 $f0, 0x20($sp) -/* 700394 80238614 C7A20024 */ lwc1 $f2, 0x24($sp) -/* 700398 80238618 44050000 */ mfc1 $a1, $f0 -/* 70039C 8023861C 44061000 */ mfc1 $a2, $f2 -/* 7003A0 80238620 AFB30010 */ sw $s3, 0x10($sp) -/* 7003A4 80238624 AFB20014 */ sw $s2, 0x14($sp) -/* 7003A8 80238628 0C00B94E */ jal get_screen_coords -/* 7003AC 8023862C AFB00018 */ sw $s0, 0x18($sp) -/* 7003B0 80238630 8FA2002C */ lw $v0, 0x2c($sp) -/* 7003B4 80238634 2842001E */ slti $v0, $v0, 0x1e -/* 7003B8 80238638 14400004 */ bnez $v0, .L8023864C -/* 7003BC 8023863C 26310001 */ addiu $s1, $s1, 1 -/* 7003C0 80238640 2A22001E */ slti $v0, $s1, 0x1e -/* 7003C4 80238644 1440FFE1 */ bnez $v0, .L802385CC -/* 7003C8 80238648 00000000 */ nop -.L8023864C: -/* 7003CC 8023864C C682001C */ lwc1 $f2, 0x1c($s4) -/* 7003D0 80238650 C6800018 */ lwc1 $f0, 0x18($s4) -/* 7003D4 80238654 46001081 */ sub.s $f2, $f2, $f0 -/* 7003D8 80238658 3C014000 */ lui $at, 0x4000 -/* 7003DC 8023865C 44810000 */ mtc1 $at, $f0 -/* 7003E0 80238660 00000000 */ nop -/* 7003E4 80238664 46001081 */ sub.s $f2, $f2, $f0 -/* 7003E8 80238668 24020078 */ addiu $v0, $zero, 0x78 -/* 7003EC 8023866C 4600120D */ trunc.w.s $f8, $f2 -/* 7003F0 80238670 44044000 */ mfc1 $a0, $f8 -/* 7003F4 80238674 0C00A67F */ jal rand_int -/* 7003F8 80238678 A6820064 */ sh $v0, 0x64($s4) -/* 7003FC 8023867C 44822000 */ mtc1 $v0, $f4 -/* 700400 80238680 00000000 */ nop -/* 700404 80238684 46802120 */ cvt.s.w $f4, $f4 -/* 700408 80238688 C6800018 */ lwc1 $f0, 0x18($s4) -/* 70040C 8023868C 3C014040 */ lui $at, 0x4040 -/* 700410 80238690 44811000 */ mtc1 $at, $f2 -/* 700414 80238694 2402005A */ addiu $v0, $zero, 0x5a -/* 700418 80238698 3C018024 */ lui $at, %hi(D_8023BDB8) -/* 70041C 8023869C AC20BDB8 */ sw $zero, %lo(D_8023BDB8)($at) -/* 700420 802386A0 46040000 */ add.s $f0, $f0, $f4 -/* 700424 802386A4 3C018024 */ lui $at, %hi(D_8023BDBC) -/* 700428 802386A8 AC22BDBC */ sw $v0, %lo(D_8023BDBC)($at) -/* 70042C 802386AC E6820044 */ swc1 $f2, 0x44($s4) -/* 700430 802386B0 E6800048 */ swc1 $f0, 0x48($s4) -/* 700434 802386B4 0C09A216 */ jal func_80268858 -/* 700438 802386B8 A2C00086 */ sb $zero, 0x86($s6) -/* 70043C 802386BC 0C09A446 */ jal func_80269118 -/* 700440 802386C0 00000000 */ nop -/* 700444 802386C4 24020001 */ addiu $v0, $zero, 1 -/* 700448 802386C8 0808E26B */ j .L802389AC -/* 70044C 802386CC AEE20070 */ sw $v0, 0x70($s7) -.L802386D0: -/* 700450 802386D0 8082005E */ lb $v0, 0x5e($a0) -/* 700454 802386D4 14400005 */ bnez $v0, .L802386EC -/* 700458 802386D8 3C030004 */ lui $v1, 4 -/* 70045C 802386DC 8EC20210 */ lw $v0, 0x210($s6) -/* 700460 802386E0 00431024 */ and $v0, $v0, $v1 -/* 700464 802386E4 10400003 */ beqz $v0, .L802386F4 -/* 700468 802386E8 00000000 */ nop -.L802386EC: -/* 70046C 802386EC 3C018024 */ lui $at, %hi(D_8023BDBC) -/* 700470 802386F0 AC20BDBC */ sw $zero, %lo(D_8023BDBC)($at) -.L802386F4: -/* 700474 802386F4 3C038024 */ lui $v1, %hi(D_8023BDBC) -/* 700478 802386F8 2463BDBC */ addiu $v1, $v1, %lo(D_8023BDBC) -/* 70047C 802386FC 8C620000 */ lw $v0, ($v1) -/* 700480 80238700 1040000D */ beqz $v0, .L80238738 -/* 700484 80238704 2442FFFF */ addiu $v0, $v0, -1 -/* 700488 80238708 144000A8 */ bnez $v0, .L802389AC -/* 70048C 8023870C AC620000 */ sw $v0, ($v1) -/* 700490 80238710 0C00A67F */ jal rand_int -/* 700494 80238714 24040064 */ addiu $a0, $zero, 0x64 -/* 700498 80238718 28420032 */ slti $v0, $v0, 0x32 -/* 70049C 8023871C 10400004 */ beqz $v0, .L80238730 -/* 7004A0 80238720 00000000 */ nop -/* 7004A4 80238724 C6800018 */ lwc1 $f0, 0x18($s4) -/* 7004A8 80238728 0808E1CE */ j .L80238738 -/* 7004AC 8023872C E6800048 */ swc1 $f0, 0x48($s4) -.L80238730: -/* 7004B0 80238730 C680001C */ lwc1 $f0, 0x1c($s4) -/* 7004B4 80238734 E6800048 */ swc1 $f0, 0x48($s4) -.L80238738: -/* 7004B8 80238738 0C05272D */ jal play_sound -/* 7004BC 8023873C 24040311 */ addiu $a0, $zero, 0x311 -/* 7004C0 80238740 2402003C */ addiu $v0, $zero, 0x3c -/* 7004C4 80238744 3C018024 */ lui $at, %hi(D_8023BDBC) -/* 7004C8 80238748 AC22BDBC */ sw $v0, %lo(D_8023BDBC)($at) -/* 7004CC 8023874C 24020002 */ addiu $v0, $zero, 2 -/* 7004D0 80238750 0808E26B */ j .L802389AC -/* 7004D4 80238754 AEE20070 */ sw $v0, 0x70($s7) -.L80238758: -/* 7004D8 80238758 8082005E */ lb $v0, 0x5e($a0) -/* 7004DC 8023875C 14400007 */ bnez $v0, .L8023877C -/* 7004E0 80238760 3C030004 */ lui $v1, 4 -/* 7004E4 80238764 8EC20210 */ lw $v0, 0x210($s6) -/* 7004E8 80238768 00431024 */ and $v0, $v0, $v1 -/* 7004EC 8023876C 1440001F */ bnez $v0, .L802387EC -/* 7004F0 80238770 24020003 */ addiu $v0, $zero, 3 -/* 7004F4 80238774 0808E26B */ j .L802389AC -/* 7004F8 80238778 AEE20070 */ sw $v0, 0x70($s7) -.L8023877C: -/* 7004FC 8023877C 3C038024 */ lui $v1, %hi(D_8023BDBC) -/* 700500 80238780 2463BDBC */ addiu $v1, $v1, %lo(D_8023BDBC) -/* 700504 80238784 8C620000 */ lw $v0, ($v1) -/* 700508 80238788 14400017 */ bnez $v0, .L802387E8 -/* 70050C 8023878C 2442FFFF */ addiu $v0, $v0, -1 -/* 700510 80238790 86A40428 */ lh $a0, 0x428($s5) -/* 700514 80238794 0C09A75B */ jal get_actor -/* 700518 80238798 00000000 */ nop -/* 70051C 8023879C C6AC0054 */ lwc1 $f12, 0x54($s5) -/* 700520 802387A0 C6AE005C */ lwc1 $f14, 0x5c($s5) -/* 700524 802387A4 0C00A70A */ jal get_clamped_angle_diff -/* 700528 802387A8 0040802D */ daddu $s0, $v0, $zero -/* 70052C 802387AC 46000005 */ abs.s $f0, $f0 -/* 700530 802387B0 C6A20030 */ lwc1 $f2, 0x30($s5) -/* 700534 802387B4 C6040188 */ lwc1 $f4, 0x188($s0) -/* 700538 802387B8 46020003 */ div.s $f0, $f0, $f2 -/* 70053C 802387BC 46040082 */ mul.s $f2, $f0, $f4 -/* 700540 802387C0 00000000 */ nop -/* 700544 802387C4 3C014040 */ lui $at, 0x4040 -/* 700548 802387C8 44810000 */ mtc1 $at, $f0 -/* 70054C 802387CC 00000000 */ nop -/* 700550 802387D0 4600103C */ c.lt.s $f2, $f0 -/* 700554 802387D4 00000000 */ nop -/* 700558 802387D8 45000004 */ bc1f .L802387EC -/* 70055C 802387DC 24020003 */ addiu $v0, $zero, 3 -/* 700560 802387E0 0808E26B */ j .L802389AC -/* 700564 802387E4 AEE20070 */ sw $v0, 0x70($s7) -.L802387E8: -/* 700568 802387E8 AC620000 */ sw $v0, ($v1) -.L802387EC: -/* 70056C 802387EC C6800048 */ lwc1 $f0, 0x48($s4) -/* 700570 802387F0 C6820044 */ lwc1 $f2, 0x44($s4) -/* 700574 802387F4 46020000 */ add.s $f0, $f0, $f2 -/* 700578 802387F8 C6840018 */ lwc1 $f4, 0x18($s4) -/* 70057C 802387FC 4604003E */ c.le.s $f0, $f4 -/* 700580 80238800 00000000 */ nop -/* 700584 80238804 45000006 */ bc1f .L80238820 -/* 700588 80238808 E6800048 */ swc1 $f0, 0x48($s4) -/* 70058C 8023880C 44800000 */ mtc1 $zero, $f0 -/* 700590 80238810 00000000 */ nop -/* 700594 80238814 46020001 */ sub.s $f0, $f0, $f2 -/* 700598 80238818 E6840048 */ swc1 $f4, 0x48($s4) -/* 70059C 8023881C E6800044 */ swc1 $f0, 0x44($s4) -.L80238820: -/* 7005A0 80238820 C6800048 */ lwc1 $f0, 0x48($s4) -/* 7005A4 80238824 C684001C */ lwc1 $f4, 0x1c($s4) -/* 7005A8 80238828 4600203E */ c.le.s $f4, $f0 -/* 7005AC 8023882C 00000000 */ nop -/* 7005B0 80238830 4500005E */ bc1f .L802389AC -/* 7005B4 80238834 00000000 */ nop -/* 7005B8 80238838 C6820044 */ lwc1 $f2, 0x44($s4) -/* 7005BC 8023883C 44800000 */ mtc1 $zero, $f0 -/* 7005C0 80238840 00000000 */ nop -/* 7005C4 80238844 46020001 */ sub.s $f0, $f0, $f2 -/* 7005C8 80238848 E6840048 */ swc1 $f4, 0x48($s4) -/* 7005CC 8023884C 0808E26B */ j .L802389AC -/* 7005D0 80238850 E6800044 */ swc1 $f0, 0x44($s4) -.L80238854: -/* 7005D4 80238854 86A40428 */ lh $a0, 0x428($s5) -/* 7005D8 80238858 0C09A75B */ jal get_actor -/* 7005DC 8023885C 00000000 */ nop -/* 7005E0 80238860 C6AC0054 */ lwc1 $f12, 0x54($s5) -/* 7005E4 80238864 C6AE005C */ lwc1 $f14, 0x5c($s5) -/* 7005E8 80238868 0C00A70A */ jal get_clamped_angle_diff -/* 7005EC 8023886C 0040802D */ daddu $s0, $v0, $zero -/* 7005F0 80238870 46000186 */ mov.s $f6, $f0 -/* 7005F4 80238874 46003005 */ abs.s $f0, $f6 -/* 7005F8 80238878 C6A20030 */ lwc1 $f2, 0x30($s5) -/* 7005FC 8023887C C6040188 */ lwc1 $f4, 0x188($s0) -/* 700600 80238880 46020003 */ div.s $f0, $f0, $f2 -/* 700604 80238884 46040082 */ mul.s $f2, $f0, $f4 -/* 700608 80238888 00000000 */ nop -/* 70060C 8023888C C6A00050 */ lwc1 $f0, 0x50($s5) -/* 700610 80238890 44802000 */ mtc1 $zero, $f4 -/* 700614 80238894 00000000 */ nop -/* 700618 80238898 4600203E */ c.le.s $f4, $f0 -/* 70061C 8023889C 00000000 */ nop -/* 700620 802388A0 45000007 */ bc1f .L802388C0 -/* 700624 802388A4 00000000 */ nop -/* 700628 802388A8 4604303C */ c.lt.s $f6, $f4 -/* 70062C 802388AC 00000000 */ nop -/* 700630 802388B0 4503000A */ bc1tl .L802388DC -/* 700634 802388B4 A2C00086 */ sb $zero, 0x86($s6) -/* 700638 802388B8 0808E234 */ j .L802388D0 -/* 70063C 802388BC 2402FFFF */ addiu $v0, $zero, -1 -.L802388C0: -/* 700640 802388C0 4604303C */ c.lt.s $f6, $f4 -/* 700644 802388C4 00000000 */ nop -/* 700648 802388C8 45000003 */ bc1f .L802388D8 -/* 70064C 802388CC 2402FFFF */ addiu $v0, $zero, -1 -.L802388D0: -/* 700650 802388D0 0808E237 */ j .L802388DC -/* 700654 802388D4 A2C20086 */ sb $v0, 0x86($s6) -.L802388D8: -/* 700658 802388D8 A2C00086 */ sb $zero, 0x86($s6) -.L802388DC: -/* 70065C 802388DC 3C0140E0 */ lui $at, 0x40e0 -/* 700660 802388E0 44810000 */ mtc1 $at, $f0 -/* 700664 802388E4 00000000 */ nop -/* 700668 802388E8 4600103C */ c.lt.s $f2, $f0 -/* 70066C 802388EC 00000000 */ nop -/* 700670 802388F0 45000007 */ bc1f .L80238910 -/* 700674 802388F4 A2C00084 */ sb $zero, 0x84($s6) -/* 700678 802388F8 24020001 */ addiu $v0, $zero, 1 -/* 70067C 802388FC A2C20084 */ sb $v0, 0x84($s6) -/* 700680 80238900 0C09A458 */ jal func_80269160 -/* 700684 80238904 A2C20086 */ sb $v0, 0x86($s6) -/* 700688 80238908 0808E24C */ j .L80238930 -/* 70068C 8023890C 0000882D */ daddu $s1, $zero, $zero -.L80238910: -/* 700690 80238910 C6820048 */ lwc1 $f2, 0x48($s4) -/* 700694 80238914 C6800050 */ lwc1 $f0, 0x50($s4) -/* 700698 80238918 4600103C */ c.lt.s $f2, $f0 -/* 70069C 8023891C 00000000 */ nop -/* 7006A0 80238920 45000002 */ bc1f .L8023892C -/* 7006A4 80238924 2402FFFF */ addiu $v0, $zero, -1 -/* 7006A8 80238928 A2C20084 */ sb $v0, 0x84($s6) -.L8023892C: -/* 7006AC 8023892C 0000882D */ daddu $s1, $zero, $zero -.L80238930: -/* 7006B0 80238930 3C108024 */ lui $s0, %hi(D_8023BD78) -/* 7006B4 80238934 2610BD78 */ addiu $s0, $s0, %lo(D_8023BD78) -.L80238938: -/* 7006B8 80238938 8E040000 */ lw $a0, ($s0) -/* 7006BC 8023893C 26100004 */ addiu $s0, $s0, 4 -/* 7006C0 80238940 0C05123D */ jal free_icon -/* 7006C4 80238944 26310001 */ addiu $s1, $s1, 1 -/* 7006C8 80238948 2A220007 */ slti $v0, $s1, 7 -/* 7006CC 8023894C 1440FFFA */ bnez $v0, .L80238938 -/* 7006D0 80238950 00000000 */ nop -/* 7006D4 80238954 0000882D */ daddu $s1, $zero, $zero -/* 7006D8 80238958 3C108024 */ lui $s0, %hi(D_8023BD98) -/* 7006DC 8023895C 2610BD98 */ addiu $s0, $s0, %lo(D_8023BD98) -.L80238960: -/* 7006E0 80238960 8E040000 */ lw $a0, ($s0) -/* 7006E4 80238964 26100004 */ addiu $s0, $s0, 4 -/* 7006E8 80238968 0C05123D */ jal free_icon -/* 7006EC 8023896C 26310001 */ addiu $s1, $s1, 1 -/* 7006F0 80238970 2A220006 */ slti $v0, $s1, 6 -/* 7006F4 80238974 1440FFFA */ bnez $v0, .L80238960 -/* 7006F8 80238978 00000000 */ nop -/* 7006FC 8023897C 3C048024 */ lui $a0, %hi(D_8023BDB4) -/* 700700 80238980 8C84BDB4 */ lw $a0, %lo(D_8023BDB4)($a0) -/* 700704 80238984 0C05123D */ jal free_icon -/* 700708 80238988 00000000 */ nop -/* 70070C 8023898C 3C048024 */ lui $a0, %hi(D_8023BDC0) -/* 700710 80238990 8C84BDC0 */ lw $a0, %lo(D_8023BDC0)($a0) -/* 700714 80238994 0C05123D */ jal free_icon -/* 700718 80238998 00000000 */ nop -/* 70071C 8023899C 0C093EB1 */ jal set_popup_duration -/* 700720 802389A0 0000202D */ daddu $a0, $zero, $zero -/* 700724 802389A4 0808E314 */ j .L80238C50 -/* 700728 802389A8 24020002 */ addiu $v0, $zero, 2 -.L802389AC: -/* 70072C 802389AC 8EE30070 */ lw $v1, 0x70($s7) -/* 700730 802389B0 28620003 */ slti $v0, $v1, 3 -.L802389B4: -/* 700734 802389B4 50400030 */ beql $v0, $zero, .L80238A78 -/* 700738 802389B8 27B50028 */ addiu $s5, $sp, 0x28 -/* 70073C 802389BC 5860002E */ blezl $v1, .L80238A78 -/* 700740 802389C0 27B50028 */ addiu $s5, $sp, 0x28 -/* 700744 802389C4 86A40428 */ lh $a0, 0x428($s5) -/* 700748 802389C8 3C138024 */ lui $s3, %hi(D_8023BDC0) -/* 70074C 802389CC 8E73BDC0 */ lw $s3, %lo(D_8023BDC0)($s3) -/* 700750 802389D0 0C09A75B */ jal get_actor -/* 700754 802389D4 00000000 */ nop -/* 700758 802389D8 C68C0048 */ lwc1 $f12, 0x48($s4) -/* 70075C 802389DC C68E0050 */ lwc1 $f14, 0x50($s4) -/* 700760 802389E0 0C00A70A */ jal get_clamped_angle_diff -/* 700764 802389E4 0040802D */ daddu $s0, $v0, $zero -/* 700768 802389E8 46000005 */ abs.s $f0, $f0 -/* 70076C 802389EC C6820024 */ lwc1 $f2, 0x24($s4) -/* 700770 802389F0 C6040188 */ lwc1 $f4, 0x188($s0) -/* 700774 802389F4 46020003 */ div.s $f0, $f0, $f2 -/* 700778 802389F8 46040082 */ mul.s $f2, $f0, $f4 -/* 70077C 802389FC 00000000 */ nop -/* 700780 80238A00 3C0140E0 */ lui $at, 0x40e0 -/* 700784 80238A04 44810000 */ mtc1 $at, $f0 -/* 700788 80238A08 00000000 */ nop -/* 70078C 80238A0C 4600103C */ c.lt.s $f2, $f0 -/* 700790 80238A10 00000000 */ nop -/* 700794 80238A14 45000005 */ bc1f .L80238A2C -/* 700798 80238A18 0260202D */ daddu $a0, $s3, $zero -/* 70079C 80238A1C 3C058011 */ lui $a1, %hi(D_80108E1C) -/* 7007A0 80238A20 24A58E1C */ addiu $a1, $a1, %lo(D_80108E1C) -/* 7007A4 80238A24 0808E28D */ j .L80238A34 -/* 7007A8 80238A28 00000000 */ nop -.L80238A2C: -/* 7007AC 80238A2C 3C058011 */ lui $a1, %hi(D_80108E48) -/* 7007B0 80238A30 24A58E48 */ addiu $a1, $a1, %lo(D_80108E48) -.L80238A34: -/* 7007B4 80238A34 0C0511FF */ jal set_menu_icon_script -/* 7007B8 80238A38 00000000 */ nop -/* 7007BC 80238A3C 3C058024 */ lui $a1, %hi(D_8023BDC4) -/* 7007C0 80238A40 24A5BDC4 */ addiu $a1, $a1, %lo(D_8023BDC4) -/* 7007C4 80238A44 8CA20000 */ lw $v0, ($a1) -/* 7007C8 80238A48 24420014 */ addiu $v0, $v0, 0x14 -/* 7007CC 80238A4C ACA20000 */ sw $v0, ($a1) -/* 7007D0 80238A50 28420033 */ slti $v0, $v0, 0x33 -/* 7007D4 80238A54 14400002 */ bnez $v0, .L80238A60 -/* 7007D8 80238A58 24020032 */ addiu $v0, $zero, 0x32 -/* 7007DC 80238A5C ACA20000 */ sw $v0, ($a1) -.L80238A60: -/* 7007E0 80238A60 8CA50000 */ lw $a1, ($a1) -/* 7007E4 80238A64 3C068024 */ lui $a2, %hi(D_8023BDC8) -/* 7007E8 80238A68 8CC6BDC8 */ lw $a2, %lo(D_8023BDC8)($a2) -/* 7007EC 80238A6C 0C051261 */ jal set_icon_render_pos -/* 7007F0 80238A70 0260202D */ daddu $a0, $s3, $zero -/* 7007F4 80238A74 27B50028 */ addiu $s5, $sp, 0x28 -.L80238A78: -/* 7007F8 80238A78 27B2002C */ addiu $s2, $sp, 0x2c -/* 7007FC 80238A7C 3C048007 */ lui $a0, %hi(gCurrentCameraID) -/* 700800 80238A80 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0) -/* 700804 80238A84 27A20030 */ addiu $v0, $sp, 0x30 -/* 700808 80238A88 AFB50010 */ sw $s5, 0x10($sp) -/* 70080C 80238A8C AFB20014 */ sw $s2, 0x14($sp) -/* 700810 80238A90 AFA20018 */ sw $v0, 0x18($sp) -/* 700814 80238A94 8E85000C */ lw $a1, 0xc($s4) -/* 700818 80238A98 8E860010 */ lw $a2, 0x10($s4) -/* 70081C 80238A9C 0C00B94E */ jal get_screen_coords -/* 700820 80238AA0 8E870014 */ lw $a3, 0x14($s4) -/* 700824 80238AA4 3C138024 */ lui $s3, %hi(D_8023BDB4) -/* 700828 80238AA8 8E73BDB4 */ lw $s3, %lo(D_8023BDB4)($s3) -/* 70082C 80238AAC 8FA50028 */ lw $a1, 0x28($sp) -/* 700830 80238AB0 8FA6002C */ lw $a2, 0x2c($sp) -/* 700834 80238AB4 0C051261 */ jal set_icon_render_pos -/* 700838 80238AB8 0260202D */ daddu $a0, $s3, $zero -/* 70083C 80238ABC 0260202D */ daddu $a0, $s3, $zero -/* 700840 80238AC0 3C108024 */ lui $s0, %hi(D_8023BDB8) -/* 700844 80238AC4 2610BDB8 */ addiu $s0, $s0, %lo(D_8023BDB8) -/* 700848 80238AC8 44800000 */ mtc1 $zero, $f0 -/* 70084C 80238ACC C6080000 */ lwc1 $f8, ($s0) -/* 700850 80238AD0 46804220 */ cvt.s.w $f8, $f8 -/* 700854 80238AD4 44050000 */ mfc1 $a1, $f0 -/* 700858 80238AD8 44074000 */ mfc1 $a3, $f8 -/* 70085C 80238ADC 0C051489 */ jal func_80145224 -/* 700860 80238AE0 00A0302D */ daddu $a2, $a1, $zero -/* 700864 80238AE4 8E020000 */ lw $v0, ($s0) -/* 700868 80238AE8 2442FFF6 */ addiu $v0, $v0, -0xa -/* 70086C 80238AEC 44826000 */ mtc1 $v0, $f12 -/* 700870 80238AF0 00000000 */ nop -/* 700874 80238AF4 46806320 */ cvt.s.w $f12, $f12 -/* 700878 80238AF8 0C00A6C9 */ jal clamp_angle -/* 70087C 80238AFC AE020000 */ sw $v0, ($s0) -/* 700880 80238B00 8EE40070 */ lw $a0, 0x70($s7) -/* 700884 80238B04 4600020D */ trunc.w.s $f8, $f0 -/* 700888 80238B08 E6080000 */ swc1 $f8, ($s0) -/* 70088C 80238B0C 28820002 */ slti $v0, $a0, 2 -/* 700890 80238B10 1440004F */ bnez $v0, .L80238C50 -/* 700894 80238B14 0000102D */ daddu $v0, $zero, $zero -/* 700898 80238B18 28820003 */ slti $v0, $a0, 3 -/* 70089C 80238B1C 1040004B */ beqz $v0, .L80238C4C -/* 7008A0 80238B20 0000882D */ daddu $s1, $zero, $zero -/* 7008A4 80238B24 C68C0048 */ lwc1 $f12, 0x48($s4) -/* 7008A8 80238B28 3C0140C0 */ lui $at, 0x40c0 -/* 7008AC 80238B2C 4481B000 */ mtc1 $at, $f22 -/* 7008B0 80238B30 0C00A6C9 */ jal clamp_angle -/* 7008B4 80238B34 0240982D */ daddu $s3, $s2, $zero -/* 7008B8 80238B38 27A40034 */ addiu $a0, $sp, 0x34 -/* 7008BC 80238B3C 8E86004C */ lw $a2, 0x4c($s4) -/* 7008C0 80238B40 44070000 */ mfc1 $a3, $f0 -/* 7008C4 80238B44 C6800000 */ lwc1 $f0, ($s4) -/* 7008C8 80238B48 C6820004 */ lwc1 $f2, 4($s4) -/* 7008CC 80238B4C E7A00034 */ swc1 $f0, 0x34($sp) -/* 7008D0 80238B50 E7A20038 */ swc1 $f2, 0x38($sp) -/* 7008D4 80238B54 C6980008 */ lwc1 $f24, 8($s4) -/* 7008D8 80238B58 0C00A7E7 */ jal add_vec2D_polar -/* 7008DC 80238B5C 27A50038 */ addiu $a1, $sp, 0x38 -/* 7008E0 80238B60 C6940008 */ lwc1 $f20, 8($s4) -/* 7008E4 80238B64 C6800000 */ lwc1 $f0, ($s4) -/* 7008E8 80238B68 C6820004 */ lwc1 $f2, 4($s4) -/* 7008EC 80238B6C 3C128024 */ lui $s2, %hi(D_8023BD78) -/* 7008F0 80238B70 2652BD78 */ addiu $s2, $s2, %lo(D_8023BD78) -/* 7008F4 80238B74 E7A00020 */ swc1 $f0, 0x20($sp) -/* 7008F8 80238B78 E7A20024 */ swc1 $f2, 0x24($sp) -.L80238B7C: -/* 7008FC 80238B7C C7A20034 */ lwc1 $f2, 0x34($sp) -/* 700900 80238B80 C6800000 */ lwc1 $f0, ($s4) -/* 700904 80238B84 46001081 */ sub.s $f2, $f2, $f0 -/* 700908 80238B88 C7A60020 */ lwc1 $f6, 0x20($sp) -/* 70090C 80238B8C C6800004 */ lwc1 $f0, 4($s4) -/* 700910 80238B90 46161083 */ div.s $f2, $f2, $f22 -/* 700914 80238B94 46023180 */ add.s $f6, $f6, $f2 -/* 700918 80238B98 C7A20038 */ lwc1 $f2, 0x38($sp) -/* 70091C 80238B9C 46001081 */ sub.s $f2, $f2, $f0 -/* 700920 80238BA0 C6800008 */ lwc1 $f0, 8($s4) -/* 700924 80238BA4 4600C001 */ sub.s $f0, $f24, $f0 -/* 700928 80238BA8 C7A40024 */ lwc1 $f4, 0x24($sp) -/* 70092C 80238BAC 46161083 */ div.s $f2, $f2, $f22 -/* 700930 80238BB0 46022100 */ add.s $f4, $f4, $f2 -/* 700934 80238BB4 3C048007 */ lui $a0, %hi(gCurrentCameraID) -/* 700938 80238BB8 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0) -/* 70093C 80238BBC 46160003 */ div.s $f0, $f0, $f22 -/* 700940 80238BC0 4600A500 */ add.s $f20, $f20, $f0 -/* 700944 80238BC4 44053000 */ mfc1 $a1, $f6 -/* 700948 80238BC8 44062000 */ mfc1 $a2, $f4 -/* 70094C 80238BCC 4407A000 */ mfc1 $a3, $f20 -/* 700950 80238BD0 27A20030 */ addiu $v0, $sp, 0x30 -/* 700954 80238BD4 AFA50020 */ sw $a1, 0x20($sp) -/* 700958 80238BD8 AFA60024 */ sw $a2, 0x24($sp) -/* 70095C 80238BDC AFB50010 */ sw $s5, 0x10($sp) -/* 700960 80238BE0 AFB30014 */ sw $s3, 0x14($sp) -/* 700964 80238BE4 0C00B94E */ jal get_screen_coords -/* 700968 80238BE8 AFA20018 */ sw $v0, 0x18($sp) -/* 70096C 80238BEC 00118080 */ sll $s0, $s1, 2 -/* 700970 80238BF0 8E440000 */ lw $a0, ($s2) -/* 700974 80238BF4 8FA50028 */ lw $a1, 0x28($sp) -/* 700978 80238BF8 8FA6002C */ lw $a2, 0x2c($sp) -/* 70097C 80238BFC 0C051261 */ jal set_icon_render_pos -/* 700980 80238C00 26310001 */ addiu $s1, $s1, 1 -/* 700984 80238C04 3C048024 */ lui $a0, %hi(D_8023BD98) -/* 700988 80238C08 00902021 */ addu $a0, $a0, $s0 -/* 70098C 80238C0C 8C84BD98 */ lw $a0, %lo(D_8023BD98)($a0) -/* 700990 80238C10 8FA50028 */ lw $a1, 0x28($sp) -/* 700994 80238C14 8FA6002C */ lw $a2, 0x2c($sp) -/* 700998 80238C18 0C051261 */ jal set_icon_render_pos -/* 70099C 80238C1C 26520004 */ addiu $s2, $s2, 4 -/* 7009A0 80238C20 2A220006 */ slti $v0, $s1, 6 -/* 7009A4 80238C24 1440FFD5 */ bnez $v0, .L80238B7C -/* 7009A8 80238C28 00111080 */ sll $v0, $s1, 2 -/* 7009AC 80238C2C 3C048024 */ lui $a0, %hi(D_8023BD78) -/* 7009B0 80238C30 00822021 */ addu $a0, $a0, $v0 -/* 7009B4 80238C34 8C84BD78 */ lw $a0, %lo(D_8023BD78)($a0) -/* 7009B8 80238C38 8FA50028 */ lw $a1, 0x28($sp) -/* 7009BC 80238C3C 0C051261 */ jal set_icon_render_pos -/* 7009C0 80238C40 8FA6002C */ lw $a2, 0x2c($sp) -/* 7009C4 80238C44 0C093EB1 */ jal set_popup_duration -/* 7009C8 80238C48 24040063 */ addiu $a0, $zero, 0x63 -.L80238C4C: -/* 7009CC 80238C4C 0000102D */ daddu $v0, $zero, $zero -.L80238C50: -/* 7009D0 80238C50 8FBF0060 */ lw $ra, 0x60($sp) -/* 7009D4 80238C54 8FB7005C */ lw $s7, 0x5c($sp) -/* 7009D8 80238C58 8FB60058 */ lw $s6, 0x58($sp) -/* 7009DC 80238C5C 8FB50054 */ lw $s5, 0x54($sp) -/* 7009E0 80238C60 8FB40050 */ lw $s4, 0x50($sp) -/* 7009E4 80238C64 8FB3004C */ lw $s3, 0x4c($sp) -/* 7009E8 80238C68 8FB20048 */ lw $s2, 0x48($sp) -/* 7009EC 80238C6C 8FB10044 */ lw $s1, 0x44($sp) -/* 7009F0 80238C70 8FB00040 */ lw $s0, 0x40($sp) -/* 7009F4 80238C74 D7B80078 */ ldc1 $f24, 0x78($sp) -/* 7009F8 80238C78 D7B60070 */ ldc1 $f22, 0x70($sp) -/* 7009FC 80238C7C D7B40068 */ ldc1 $f20, 0x68($sp) -/* 700A00 80238C80 03E00008 */ jr $ra -/* 700A04 80238C84 27BD0080 */ addiu $sp, $sp, 0x80 diff --git a/ver/us/asm/nonmatchings/code_6FFD80/func_80238E24_700BA4.s b/ver/us/asm/nonmatchings/code_6FFD80/func_80238E24_700BA4.s deleted file mode 100644 index 1b605bd3aa..0000000000 --- a/ver/us/asm/nonmatchings/code_6FFD80/func_80238E24_700BA4.s +++ /dev/null @@ -1,174 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_80238E24_700BA4 -/* 700BA4 80238E24 27BDFFC0 */ addiu $sp, $sp, -0x40 -/* 700BA8 80238E28 AFB60030 */ sw $s6, 0x30($sp) -/* 700BAC 80238E2C 3C16800E */ lui $s6, %hi(gBattleStatus) -/* 700BB0 80238E30 26D6C070 */ addiu $s6, $s6, %lo(gBattleStatus) -/* 700BB4 80238E34 AFBF0034 */ sw $ra, 0x34($sp) -/* 700BB8 80238E38 AFB5002C */ sw $s5, 0x2c($sp) -/* 700BBC 80238E3C AFB40028 */ sw $s4, 0x28($sp) -/* 700BC0 80238E40 AFB30024 */ sw $s3, 0x24($sp) -/* 700BC4 80238E44 AFB20020 */ sw $s2, 0x20($sp) -/* 700BC8 80238E48 AFB1001C */ sw $s1, 0x1c($sp) -/* 700BCC 80238E4C AFB00018 */ sw $s0, 0x18($sp) -/* 700BD0 80238E50 F7B40038 */ sdc1 $f20, 0x38($sp) -/* 700BD4 80238E54 8ED000DC */ lw $s0, 0xdc($s6) -/* 700BD8 80238E58 0080902D */ daddu $s2, $a0, $zero -/* 700BDC 80238E5C 8E1501F4 */ lw $s5, 0x1f4($s0) -/* 700BE0 80238E60 10A00006 */ beqz $a1, .L80238E7C -/* 700BE4 80238E64 2611000C */ addiu $s1, $s0, 0xc -/* 700BE8 80238E68 86040428 */ lh $a0, 0x428($s0) -/* 700BEC 80238E6C 0C09A75B */ jal get_actor -/* 700BF0 80238E70 00000000 */ nop -/* 700BF4 80238E74 AE420074 */ sw $v0, 0x74($s2) -/* 700BF8 80238E78 AE400070 */ sw $zero, 0x70($s2) -.L80238E7C: -/* 700BFC 80238E7C 8E540070 */ lw $s4, 0x70($s2) -/* 700C00 80238E80 8E530074 */ lw $s3, 0x74($s2) -/* 700C04 80238E84 12800005 */ beqz $s4, .L80238E9C -/* 700C08 80238E88 24020001 */ addiu $v0, $zero, 1 -/* 700C0C 80238E8C 12820015 */ beq $s4, $v0, .L80238EE4 -/* 700C10 80238E90 00000000 */ nop -/* 700C14 80238E94 0808E40F */ j .L8023903C -/* 700C18 80238E98 00000000 */ nop -.L80238E9C: -/* 700C1C 80238E9C C6600144 */ lwc1 $f0, 0x144($s3) -/* 700C20 80238EA0 C6020144 */ lwc1 $f2, 0x144($s0) -/* 700C24 80238EA4 46020001 */ sub.s $f0, $f0, $f2 -/* 700C28 80238EA8 C6020148 */ lwc1 $f2, 0x148($s0) -/* 700C2C 80238EAC E6000018 */ swc1 $f0, 0x18($s0) -/* 700C30 80238EB0 C6600148 */ lwc1 $f0, 0x148($s3) -/* 700C34 80238EB4 46020001 */ sub.s $f0, $f0, $f2 -/* 700C38 80238EB8 C602014C */ lwc1 $f2, 0x14c($s0) -/* 700C3C 80238EBC E600001C */ swc1 $f0, 0x1c($s0) -/* 700C40 80238EC0 C660014C */ lwc1 $f0, 0x14c($s3) -/* 700C44 80238EC4 3C014000 */ lui $at, 0x4000 -/* 700C48 80238EC8 44812000 */ mtc1 $at, $f4 -/* 700C4C 80238ECC 46020001 */ sub.s $f0, $f0, $f2 -/* 700C50 80238ED0 E604004C */ swc1 $f4, 0x4c($s0) -/* 700C54 80238ED4 A6000070 */ sh $zero, 0x70($s0) -/* 700C58 80238ED8 E6000020 */ swc1 $f0, 0x20($s0) -/* 700C5C 80238EDC 0808E40F */ j .L8023903C -/* 700C60 80238EE0 AE420070 */ sw $v0, 0x70($s2) -.L80238EE4: -/* 700C64 80238EE4 C600000C */ lwc1 $f0, 0xc($s0) -/* 700C68 80238EE8 C602004C */ lwc1 $f2, 0x4c($s0) -/* 700C6C 80238EEC 46020000 */ add.s $f0, $f0, $f2 -/* 700C70 80238EF0 3C013F80 */ lui $at, 0x3f80 -/* 700C74 80238EF4 44811000 */ mtc1 $at, $f2 -/* 700C78 80238EF8 E600000C */ swc1 $f0, 0xc($s0) -/* 700C7C 80238EFC E6A20090 */ swc1 $f2, 0x90($s5) -/* 700C80 80238F00 86020070 */ lh $v0, 0x70($s0) -/* 700C84 80238F04 3C0140C9 */ lui $at, 0x40c9 -/* 700C88 80238F08 34210FD0 */ ori $at, $at, 0xfd0 -/* 700C8C 80238F0C 44810000 */ mtc1 $at, $f0 -/* 700C90 80238F10 44826000 */ mtc1 $v0, $f12 -/* 700C94 80238F14 00000000 */ nop -/* 700C98 80238F18 46806320 */ cvt.s.w $f12, $f12 -/* 700C9C 80238F1C 46006302 */ mul.s $f12, $f12, $f0 -/* 700CA0 80238F20 00000000 */ nop -/* 700CA4 80238F24 C6140010 */ lwc1 $f20, 0x10($s0) -/* 700CA8 80238F28 3C0143B4 */ lui $at, 0x43b4 -/* 700CAC 80238F2C 44810000 */ mtc1 $at, $f0 -/* 700CB0 80238F30 4600A521 */ cvt.d.s $f20, $f20 -/* 700CB4 80238F34 0C00A85B */ jal sin_rad -/* 700CB8 80238F38 46006303 */ div.s $f12, $f12, $f0 -/* 700CBC 80238F3C 46000000 */ add.s $f0, $f0, $f0 -/* 700CC0 80238F40 3C014049 */ lui $at, 0x4049 -/* 700CC4 80238F44 34210FD0 */ ori $at, $at, 0xfd0 -/* 700CC8 80238F48 44816000 */ mtc1 $at, $f12 -/* 700CCC 80238F4C 00000000 */ nop -/* 700CD0 80238F50 460C0302 */ mul.s $f12, $f0, $f12 -/* 700CD4 80238F54 0C00A85B */ jal sin_rad -/* 700CD8 80238F58 00000000 */ nop -/* 700CDC 80238F5C 3C018024 */ lui $at, %hi(D_8023BD60_703AE0) -/* 700CE0 80238F60 D422BD60 */ ldc1 $f2, %lo(D_8023BD60_703AE0)($at) -/* 700CE4 80238F64 46000021 */ cvt.d.s $f0, $f0 -/* 700CE8 80238F68 46220002 */ mul.d $f0, $f0, $f2 -/* 700CEC 80238F6C 00000000 */ nop -/* 700CF0 80238F70 96030070 */ lhu $v1, 0x70($s0) -/* 700CF4 80238F74 3C013FE0 */ lui $at, 0x3fe0 -/* 700CF8 80238F78 44811800 */ mtc1 $at, $f3 -/* 700CFC 80238F7C 44801000 */ mtc1 $zero, $f2 -/* 700D00 80238F80 24630006 */ addiu $v1, $v1, 6 -/* 700D04 80238F84 46220000 */ add.d $f0, $f0, $f2 -/* 700D08 80238F88 00031400 */ sll $v0, $v1, 0x10 -/* 700D0C 80238F8C 00021403 */ sra $v0, $v0, 0x10 -/* 700D10 80238F90 4620A500 */ add.d $f20, $f20, $f0 -/* 700D14 80238F94 44826000 */ mtc1 $v0, $f12 -/* 700D18 80238F98 00000000 */ nop -/* 700D1C 80238F9C 46806320 */ cvt.s.w $f12, $f12 -/* 700D20 80238FA0 A6030070 */ sh $v1, 0x70($s0) -/* 700D24 80238FA4 4620A520 */ cvt.s.d $f20, $f20 -/* 700D28 80238FA8 0C00A6C9 */ jal clamp_angle -/* 700D2C 80238FAC E6140010 */ swc1 $f20, 0x10($s0) -/* 700D30 80238FB0 3C038007 */ lui $v1, %hi(gGameStatusPtr) -/* 700D34 80238FB4 8C63419C */ lw $v1, %lo(gGameStatusPtr)($v1) -/* 700D38 80238FB8 4600018D */ trunc.w.s $f6, $f0 -/* 700D3C 80238FBC 44023000 */ mfc1 $v0, $f6 -/* 700D40 80238FC0 00000000 */ nop -/* 700D44 80238FC4 A6020070 */ sh $v0, 0x70($s0) -/* 700D48 80238FC8 94630134 */ lhu $v1, 0x134($v1) -/* 700D4C 80238FCC 3C02CCCC */ lui $v0, 0xcccc -/* 700D50 80238FD0 3442CCCD */ ori $v0, $v0, 0xcccd -/* 700D54 80238FD4 00620019 */ multu $v1, $v0 -/* 700D58 80238FD8 00004010 */ mfhi $t0 -/* 700D5C 80238FDC 000820C2 */ srl $a0, $t0, 3 -/* 700D60 80238FE0 00041080 */ sll $v0, $a0, 2 -/* 700D64 80238FE4 00441021 */ addu $v0, $v0, $a0 -/* 700D68 80238FE8 00021040 */ sll $v0, $v0, 1 -/* 700D6C 80238FEC 00621823 */ subu $v1, $v1, $v0 -/* 700D70 80238FF0 3063FFFF */ andi $v1, $v1, 0xffff -/* 700D74 80238FF4 14600007 */ bnez $v1, .L80239014 -/* 700D78 80238FF8 24042009 */ addiu $a0, $zero, 0x2009 -/* 700D7C 80238FFC C6000014 */ lwc1 $f0, 0x14($s0) -/* 700D80 80239000 E7A00010 */ swc1 $f0, 0x10($sp) -/* 700D84 80239004 8E06000C */ lw $a2, 0xc($s0) -/* 700D88 80239008 8E070010 */ lw $a3, 0x10($s0) -/* 700D8C 8023900C 0C052757 */ jal play_sound_at_position -/* 700D90 80239010 0000282D */ daddu $a1, $zero, $zero -.L80239014: -/* 700D94 80239014 C602000C */ lwc1 $f2, 0xc($s0) -/* 700D98 80239018 3C014370 */ lui $at, 0x4370 -/* 700D9C 8023901C 44810000 */ mtc1 $at, $f0 -/* 700DA0 80239020 00000000 */ nop -/* 700DA4 80239024 4602003C */ c.lt.s $f0, $f2 -/* 700DA8 80239028 00000000 */ nop -/* 700DAC 8023902C 45000003 */ bc1f .L8023903C -/* 700DB0 80239030 24020002 */ addiu $v0, $zero, 2 -/* 700DB4 80239034 0808E422 */ j .L80239088 -/* 700DB8 80239038 A2D40084 */ sb $s4, 0x84($s6) -.L8023903C: -/* 700DBC 8023903C C6200000 */ lwc1 $f0, ($s1) -/* 700DC0 80239040 E6000144 */ swc1 $f0, 0x144($s0) -/* 700DC4 80239044 C6200004 */ lwc1 $f0, 4($s1) -/* 700DC8 80239048 E6000148 */ swc1 $f0, 0x148($s0) -/* 700DCC 8023904C C6200008 */ lwc1 $f0, 8($s1) -/* 700DD0 80239050 E600014C */ swc1 $f0, 0x14c($s0) -/* 700DD4 80239054 C6200000 */ lwc1 $f0, ($s1) -/* 700DD8 80239058 C622000C */ lwc1 $f2, 0xc($s1) -/* 700DDC 8023905C 46020000 */ add.s $f0, $f0, $f2 -/* 700DE0 80239060 E6600144 */ swc1 $f0, 0x144($s3) -/* 700DE4 80239064 C6200004 */ lwc1 $f0, 4($s1) -/* 700DE8 80239068 C6220010 */ lwc1 $f2, 0x10($s1) -/* 700DEC 8023906C 46020000 */ add.s $f0, $f0, $f2 -/* 700DF0 80239070 E6600148 */ swc1 $f0, 0x148($s3) -/* 700DF4 80239074 C6200008 */ lwc1 $f0, 8($s1) -/* 700DF8 80239078 C6220014 */ lwc1 $f2, 0x14($s1) -/* 700DFC 8023907C 46020000 */ add.s $f0, $f0, $f2 -/* 700E00 80239080 0000102D */ daddu $v0, $zero, $zero -/* 700E04 80239084 E660014C */ swc1 $f0, 0x14c($s3) -.L80239088: -/* 700E08 80239088 8FBF0034 */ lw $ra, 0x34($sp) -/* 700E0C 8023908C 8FB60030 */ lw $s6, 0x30($sp) -/* 700E10 80239090 8FB5002C */ lw $s5, 0x2c($sp) -/* 700E14 80239094 8FB40028 */ lw $s4, 0x28($sp) -/* 700E18 80239098 8FB30024 */ lw $s3, 0x24($sp) -/* 700E1C 8023909C 8FB20020 */ lw $s2, 0x20($sp) -/* 700E20 802390A0 8FB1001C */ lw $s1, 0x1c($sp) -/* 700E24 802390A4 8FB00018 */ lw $s0, 0x18($sp) -/* 700E28 802390A8 D7B40038 */ ldc1 $f20, 0x38($sp) -/* 700E2C 802390AC 03E00008 */ jr $ra -/* 700E30 802390B0 27BD0040 */ addiu $sp, $sp, 0x40 diff --git a/ver/us/asm/nonmatchings/code_6FFD80/func_802390B4_700E34.s b/ver/us/asm/nonmatchings/code_6FFD80/func_802390B4_700E34.s deleted file mode 100644 index 433d154654..0000000000 --- a/ver/us/asm/nonmatchings/code_6FFD80/func_802390B4_700E34.s +++ /dev/null @@ -1,495 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802390B4_700E34 -/* 700E34 802390B4 27BDFFD0 */ addiu $sp, $sp, -0x30 -/* 700E38 802390B8 AFB1001C */ sw $s1, 0x1c($sp) -/* 700E3C 802390BC 3C11800E */ lui $s1, %hi(gBattleStatus+0xDC) -/* 700E40 802390C0 8E31C14C */ lw $s1, %lo(gBattleStatus+0xDC)($s1) -/* 700E44 802390C4 AFB20020 */ sw $s2, 0x20($sp) -/* 700E48 802390C8 0080902D */ daddu $s2, $a0, $zero -/* 700E4C 802390CC AFBF0024 */ sw $ra, 0x24($sp) -/* 700E50 802390D0 AFB00018 */ sw $s0, 0x18($sp) -/* 700E54 802390D4 F7B40028 */ sdc1 $f20, 0x28($sp) -/* 700E58 802390D8 10A00002 */ beqz $a1, .L802390E4 -/* 700E5C 802390DC 2630000C */ addiu $s0, $s1, 0xc -/* 700E60 802390E0 AE400070 */ sw $zero, 0x70($s2) -.L802390E4: -/* 700E64 802390E4 8E430070 */ lw $v1, 0x70($s2) -/* 700E68 802390E8 10600005 */ beqz $v1, .L80239100 -/* 700E6C 802390EC 24020001 */ addiu $v0, $zero, 1 -/* 700E70 802390F0 10620028 */ beq $v1, $v0, .L80239194 -/* 700E74 802390F4 24020002 */ addiu $v0, $zero, 2 -/* 700E78 802390F8 0808E5C8 */ j .L80239720 -/* 700E7C 802390FC 00000000 */ nop -.L80239100: -/* 700E80 80239100 C6200144 */ lwc1 $f0, 0x144($s1) -/* 700E84 80239104 C6220148 */ lwc1 $f2, 0x148($s1) -/* 700E88 80239108 C624014C */ lwc1 $f4, 0x14c($s1) -/* 700E8C 8023910C 2404000A */ addiu $a0, $zero, 0xa -/* 700E90 80239110 E620000C */ swc1 $f0, 0xc($s1) -/* 700E94 80239114 E6220010 */ swc1 $f2, 0x10($s1) -/* 700E98 80239118 0C00A67F */ jal rand_int -/* 700E9C 8023911C E6240014 */ swc1 $f4, 0x14($s1) -/* 700EA0 80239120 2403003C */ addiu $v1, $zero, 0x3c -/* 700EA4 80239124 00621823 */ subu $v1, $v1, $v0 -/* 700EA8 80239128 44830000 */ mtc1 $v1, $f0 -/* 700EAC 8023912C 00000000 */ nop -/* 700EB0 80239130 46800020 */ cvt.s.w $f0, $f0 -/* 700EB4 80239134 E6200054 */ swc1 $f0, 0x54($s1) -/* 700EB8 80239138 3C014240 */ lui $at, 0x4240 -/* 700EBC 8023913C 44810000 */ mtc1 $at, $f0 -/* 700EC0 80239140 3C013F80 */ lui $at, 0x3f80 -/* 700EC4 80239144 44811000 */ mtc1 $at, $f2 -/* 700EC8 80239148 2402005A */ addiu $v0, $zero, 0x5a -/* 700ECC 8023914C AE20005C */ sw $zero, 0x5c($s1) -/* 700ED0 80239150 A6220070 */ sh $v0, 0x70($s1) -/* 700ED4 80239154 E620004C */ swc1 $f0, 0x4c($s1) -/* 700ED8 80239158 AE400074 */ sw $zero, 0x74($s2) -/* 700EDC 8023915C AE400078 */ sw $zero, 0x78($s2) -/* 700EE0 80239160 AE40007C */ sw $zero, 0x7c($s2) -/* 700EE4 80239164 E7A20010 */ swc1 $f2, 0x10($sp) -/* 700EE8 80239168 AFA00014 */ sw $zero, 0x14($sp) -/* 700EEC 8023916C 8E25000C */ lw $a1, 0xc($s1) -/* 700EF0 80239170 8E260010 */ lw $a2, 0x10($s1) -/* 700EF4 80239174 8E270014 */ lw $a3, 0x14($s1) -/* 700EF8 80239178 0C01C79C */ jal func_80071E70 -/* 700EFC 8023917C 0000202D */ daddu $a0, $zero, $zero -/* 700F00 80239180 3C018024 */ lui $at, %hi(D_8023BD70) -/* 700F04 80239184 AC22BD70 */ sw $v0, %lo(D_8023BD70)($at) -/* 700F08 80239188 24020001 */ addiu $v0, $zero, 1 -/* 700F0C 8023918C 0808E5C6 */ j .L80239718 -/* 700F10 80239190 AE420070 */ sw $v0, 0x70($s2) -.L80239194: -/* 700F14 80239194 0200202D */ daddu $a0, $s0, $zero -/* 700F18 80239198 8E26004C */ lw $a2, 0x4c($s1) -/* 700F1C 8023919C 8E270054 */ lw $a3, 0x54($s1) -/* 700F20 802391A0 0C00A7E7 */ jal add_vec2D_polar -/* 700F24 802391A4 26250010 */ addiu $a1, $s1, 0x10 -/* 700F28 802391A8 3C028024 */ lui $v0, %hi(D_8023BD70) -/* 700F2C 802391AC 8C42BD70 */ lw $v0, %lo(D_8023BD70)($v0) -/* 700F30 802391B0 C620000C */ lwc1 $f0, 0xc($s1) -/* 700F34 802391B4 8C43000C */ lw $v1, 0xc($v0) -/* 700F38 802391B8 E4600038 */ swc1 $f0, 0x38($v1) -/* 700F3C 802391BC 8C43000C */ lw $v1, 0xc($v0) -/* 700F40 802391C0 C6200010 */ lwc1 $f0, 0x10($s1) -/* 700F44 802391C4 E460003C */ swc1 $f0, 0x3c($v1) -/* 700F48 802391C8 8C42000C */ lw $v0, 0xc($v0) -/* 700F4C 802391CC C6200014 */ lwc1 $f0, 0x14($s1) -/* 700F50 802391D0 E4400040 */ swc1 $f0, 0x40($v0) -/* 700F54 802391D4 C622000C */ lwc1 $f2, 0xc($s1) -/* 700F58 802391D8 3C01C33E */ lui $at, 0xc33e -/* 700F5C 802391DC 44810000 */ mtc1 $at, $f0 -/* 700F60 802391E0 00000000 */ nop -/* 700F64 802391E4 4600103C */ c.lt.s $f2, $f0 -/* 700F68 802391E8 00000000 */ nop -/* 700F6C 802391EC 45000053 */ bc1f .L8023933C -/* 700F70 802391F0 00000000 */ nop -/* 700F74 802391F4 8E420074 */ lw $v0, 0x74($s2) -/* 700F78 802391F8 544000F1 */ bnel $v0, $zero, .L802395C0 -/* 700F7C 802391FC 24020002 */ addiu $v0, $zero, 2 -/* 700F80 80239200 C6220054 */ lwc1 $f2, 0x54($s1) -/* 700F84 80239204 3C014387 */ lui $at, 0x4387 -/* 700F88 80239208 44810000 */ mtc1 $at, $f0 -/* 700F8C 8023920C 00000000 */ nop -/* 700F90 80239210 4602003E */ c.le.s $f0, $f2 -/* 700F94 80239214 00000000 */ nop -/* 700F98 80239218 45000019 */ bc1f .L80239280 -/* 700F9C 8023921C 00000000 */ nop -/* 700FA0 80239220 3C0143B4 */ lui $at, 0x43b4 -/* 700FA4 80239224 44810000 */ mtc1 $at, $f0 -/* 700FA8 80239228 00000000 */ nop -/* 700FAC 8023922C 4600103C */ c.lt.s $f2, $f0 -/* 700FB0 80239230 00000000 */ nop -/* 700FB4 80239234 45000012 */ bc1f .L80239280 -/* 700FB8 80239238 00000000 */ nop -/* 700FBC 8023923C 3C014334 */ lui $at, 0x4334 -/* 700FC0 80239240 44816000 */ mtc1 $at, $f12 -/* 700FC4 80239244 0C00A6C9 */ jal clamp_angle -/* 700FC8 80239248 460C1300 */ add.s $f12, $f2, $f12 -/* 700FCC 8023924C 3C0142B4 */ lui $at, 0x42b4 -/* 700FD0 80239250 44811000 */ mtc1 $at, $f2 -/* 700FD4 80239254 00000000 */ nop -/* 700FD8 80239258 46001001 */ sub.s $f0, $f2, $f0 -/* 700FDC 8023925C 46020000 */ add.s $f0, $f0, $f2 -/* 700FE0 80239260 24040004 */ addiu $a0, $zero, 4 -/* 700FE4 80239264 0C00A67F */ jal rand_int -/* 700FE8 80239268 E6200054 */ swc1 $f0, 0x54($s1) -/* 700FEC 8023926C 2442FFFE */ addiu $v0, $v0, -2 -/* 700FF0 80239270 44820000 */ mtc1 $v0, $f0 -/* 700FF4 80239274 00000000 */ nop -/* 700FF8 80239278 46800020 */ cvt.s.w $f0, $f0 -/* 700FFC 8023927C E620005C */ swc1 $f0, 0x5c($s1) -.L80239280: -/* 701000 80239280 C60C0048 */ lwc1 $f12, 0x48($s0) -/* 701004 80239284 3C014334 */ lui $at, 0x4334 -/* 701008 80239288 44811000 */ mtc1 $at, $f2 -/* 70100C 8023928C 00000000 */ nop -/* 701010 80239290 460C103E */ c.le.s $f2, $f12 -/* 701014 80239294 00000000 */ nop -/* 701018 80239298 45000017 */ bc1f .L802392F8 -/* 70101C 8023929C 00000000 */ nop -/* 701020 802392A0 3C014387 */ lui $at, 0x4387 -/* 701024 802392A4 44810000 */ mtc1 $at, $f0 -/* 701028 802392A8 00000000 */ nop -/* 70102C 802392AC 4600603C */ c.lt.s $f12, $f0 -/* 701030 802392B0 00000000 */ nop -/* 701034 802392B4 45000010 */ bc1f .L802392F8 -/* 701038 802392B8 00000000 */ nop -/* 70103C 802392BC 0C00A6C9 */ jal clamp_angle -/* 701040 802392C0 46026300 */ add.s $f12, $f12, $f2 -/* 701044 802392C4 3C0142B4 */ lui $at, 0x42b4 -/* 701048 802392C8 44811000 */ mtc1 $at, $f2 -/* 70104C 802392CC 00000000 */ nop -/* 701050 802392D0 46020001 */ sub.s $f0, $f0, $f2 -/* 701054 802392D4 46001081 */ sub.s $f2, $f2, $f0 -/* 701058 802392D8 24040004 */ addiu $a0, $zero, 4 -/* 70105C 802392DC 0C00A67F */ jal rand_int -/* 701060 802392E0 E6020048 */ swc1 $f2, 0x48($s0) -/* 701064 802392E4 2442FFFE */ addiu $v0, $v0, -2 -/* 701068 802392E8 44820000 */ mtc1 $v0, $f0 -/* 70106C 802392EC 00000000 */ nop -/* 701070 802392F0 46800020 */ cvt.s.w $f0, $f0 -/* 701074 802392F4 E6000050 */ swc1 $f0, 0x50($s0) -.L802392F8: -/* 701078 802392F8 8E42007C */ lw $v0, 0x7c($s2) -/* 70107C 802392FC 10400004 */ beqz $v0, .L80239310 -/* 701080 80239300 2404200A */ addiu $a0, $zero, 0x200a -/* 701084 80239304 C6000008 */ lwc1 $f0, 8($s0) -/* 701088 80239308 0808E4C7 */ j .L8023931C -/* 70108C 8023930C E7A00010 */ swc1 $f0, 0x10($sp) -.L80239310: -/* 701090 80239310 C6000008 */ lwc1 $f0, 8($s0) -/* 701094 80239314 2404200B */ addiu $a0, $zero, 0x200b -/* 701098 80239318 E7A00010 */ swc1 $f0, 0x10($sp) -.L8023931C: -/* 70109C 8023931C 8E060000 */ lw $a2, ($s0) -/* 7010A0 80239320 8E070004 */ lw $a3, 4($s0) -/* 7010A4 80239324 0C052757 */ jal play_sound_at_position -/* 7010A8 80239328 0000282D */ daddu $a1, $zero, $zero -/* 7010AC 8023932C 8E43007C */ lw $v1, 0x7c($s2) -/* 7010B0 80239330 24020001 */ addiu $v0, $zero, 1 -/* 7010B4 80239334 00431023 */ subu $v0, $v0, $v1 -/* 7010B8 80239338 AE42007C */ sw $v0, 0x7c($s2) -.L8023933C: -/* 7010BC 8023933C C6020000 */ lwc1 $f2, ($s0) -/* 7010C0 80239340 3C01433E */ lui $at, 0x433e -/* 7010C4 80239344 44810000 */ mtc1 $at, $f0 -/* 7010C8 80239348 00000000 */ nop -/* 7010CC 8023934C 4602003C */ c.lt.s $f0, $f2 -/* 7010D0 80239350 00000000 */ nop -/* 7010D4 80239354 45000046 */ bc1f .L80239470 -/* 7010D8 80239358 00000000 */ nop -/* 7010DC 8023935C 8E420074 */ lw $v0, 0x74($s2) -/* 7010E0 80239360 1040000E */ beqz $v0, .L8023939C -/* 7010E4 80239364 24020002 */ addiu $v0, $zero, 2 -/* 7010E8 80239368 0808E5C6 */ j .L80239718 -/* 7010EC 8023936C AE420070 */ sw $v0, 0x70($s2) -.L80239370: -/* 7010F0 80239370 3C014334 */ lui $at, 0x4334 -/* 7010F4 80239374 44816000 */ mtc1 $at, $f12 -/* 7010F8 80239378 0C00A6C9 */ jal clamp_angle -/* 7010FC 8023937C 460C1300 */ add.s $f12, $f2, $f12 -/* 701100 80239380 3C014387 */ lui $at, 0x4387 -/* 701104 80239384 44811000 */ mtc1 $at, $f2 -/* 701108 80239388 00000000 */ nop -/* 70110C 8023938C 46001001 */ sub.s $f0, $f2, $f0 -/* 701110 80239390 46020000 */ add.s $f0, $f0, $f2 -/* 701114 80239394 0808E50B */ j .L8023942C -/* 701118 80239398 E6000048 */ swc1 $f0, 0x48($s0) -.L8023939C: -/* 70111C 8023939C C6020048 */ lwc1 $f2, 0x48($s0) -/* 701120 802393A0 44800000 */ mtc1 $zero, $f0 -/* 701124 802393A4 00000000 */ nop -/* 701128 802393A8 4602003E */ c.le.s $f0, $f2 -/* 70112C 802393AC 00000000 */ nop -/* 701130 802393B0 45000008 */ bc1f .L802393D4 -/* 701134 802393B4 00000000 */ nop -/* 701138 802393B8 3C0142B4 */ lui $at, 0x42b4 -/* 70113C 802393BC 44810000 */ mtc1 $at, $f0 -/* 701140 802393C0 00000000 */ nop -/* 701144 802393C4 4600103C */ c.lt.s $f2, $f0 -/* 701148 802393C8 00000000 */ nop -/* 70114C 802393CC 4501FFE8 */ bc1t .L80239370 -/* 701150 802393D0 00000000 */ nop -.L802393D4: -/* 701154 802393D4 3C0142B4 */ lui $at, 0x42b4 -/* 701158 802393D8 44810000 */ mtc1 $at, $f0 -/* 70115C 802393DC 00000000 */ nop -/* 701160 802393E0 4602003E */ c.le.s $f0, $f2 -/* 701164 802393E4 00000000 */ nop -/* 701168 802393E8 45000010 */ bc1f .L8023942C -/* 70116C 802393EC 00000000 */ nop -/* 701170 802393F0 3C014334 */ lui $at, 0x4334 -/* 701174 802393F4 44810000 */ mtc1 $at, $f0 -/* 701178 802393F8 00000000 */ nop -/* 70117C 802393FC 4600103C */ c.lt.s $f2, $f0 -/* 701180 80239400 00000000 */ nop -/* 701184 80239404 45000009 */ bc1f .L8023942C -/* 701188 80239408 00000000 */ nop -/* 70118C 8023940C 0C00A6C9 */ jal clamp_angle -/* 701190 80239410 46001300 */ add.s $f12, $f2, $f0 -/* 701194 80239414 3C014387 */ lui $at, 0x4387 -/* 701198 80239418 44811000 */ mtc1 $at, $f2 -/* 70119C 8023941C 00000000 */ nop -/* 7011A0 80239420 46020001 */ sub.s $f0, $f0, $f2 -/* 7011A4 80239424 46001081 */ sub.s $f2, $f2, $f0 -/* 7011A8 80239428 E6020048 */ swc1 $f2, 0x48($s0) -.L8023942C: -/* 7011AC 8023942C 8E42007C */ lw $v0, 0x7c($s2) -/* 7011B0 80239430 10400004 */ beqz $v0, .L80239444 -/* 7011B4 80239434 2404200A */ addiu $a0, $zero, 0x200a -/* 7011B8 80239438 C6000008 */ lwc1 $f0, 8($s0) -/* 7011BC 8023943C 0808E514 */ j .L80239450 -/* 7011C0 80239440 E7A00010 */ swc1 $f0, 0x10($sp) -.L80239444: -/* 7011C4 80239444 C6000008 */ lwc1 $f0, 8($s0) -/* 7011C8 80239448 2404200B */ addiu $a0, $zero, 0x200b -/* 7011CC 8023944C E7A00010 */ swc1 $f0, 0x10($sp) -.L80239450: -/* 7011D0 80239450 8E060000 */ lw $a2, ($s0) -/* 7011D4 80239454 8E070004 */ lw $a3, 4($s0) -/* 7011D8 80239458 0C052757 */ jal play_sound_at_position -/* 7011DC 8023945C 0000282D */ daddu $a1, $zero, $zero -/* 7011E0 80239460 8E43007C */ lw $v1, 0x7c($s2) -/* 7011E4 80239464 24020001 */ addiu $v0, $zero, 1 -/* 7011E8 80239468 00431023 */ subu $v0, $v0, $v1 -/* 7011EC 8023946C AE42007C */ sw $v0, 0x7c($s2) -.L80239470: -/* 7011F0 80239470 C6020004 */ lwc1 $f2, 4($s0) -/* 7011F4 80239474 3C01C1F0 */ lui $at, 0xc1f0 -/* 7011F8 80239478 44810000 */ mtc1 $at, $f0 -/* 7011FC 8023947C 00000000 */ nop -/* 701200 80239480 4600103C */ c.lt.s $f2, $f0 -/* 701204 80239484 00000000 */ nop -/* 701208 80239488 45000043 */ bc1f .L80239598 -/* 70120C 8023948C 00000000 */ nop -/* 701210 80239490 8E420074 */ lw $v0, 0x74($s2) -/* 701214 80239494 1040000B */ beqz $v0, .L802394C4 -/* 701218 80239498 24020002 */ addiu $v0, $zero, 2 -/* 70121C 8023949C 0808E5C6 */ j .L80239718 -/* 701220 802394A0 AE420070 */ sw $v0, 0x70($s2) -.L802394A4: -/* 701224 802394A4 3C014334 */ lui $at, 0x4334 -/* 701228 802394A8 4481A000 */ mtc1 $at, $f20 -/* 70122C 802394AC 0C00A6C9 */ jal clamp_angle -/* 701230 802394B0 46146300 */ add.s $f12, $f12, $f20 -/* 701234 802394B4 4600A001 */ sub.s $f0, $f20, $f0 -/* 701238 802394B8 46140000 */ add.s $f0, $f0, $f20 -/* 70123C 802394BC 0808E554 */ j .L80239550 -/* 701240 802394C0 E6000048 */ swc1 $f0, 0x48($s0) -.L802394C4: -/* 701244 802394C4 C60C0048 */ lwc1 $f12, 0x48($s0) -/* 701248 802394C8 3C014387 */ lui $at, 0x4387 -/* 70124C 802394CC 44810000 */ mtc1 $at, $f0 -/* 701250 802394D0 00000000 */ nop -/* 701254 802394D4 460C003E */ c.le.s $f0, $f12 -/* 701258 802394D8 00000000 */ nop -/* 70125C 802394DC 45000008 */ bc1f .L80239500 -/* 701260 802394E0 00000000 */ nop -/* 701264 802394E4 3C0143B4 */ lui $at, 0x43b4 -/* 701268 802394E8 44810000 */ mtc1 $at, $f0 -/* 70126C 802394EC 00000000 */ nop -/* 701270 802394F0 4600603C */ c.lt.s $f12, $f0 -/* 701274 802394F4 00000000 */ nop -/* 701278 802394F8 4501FFEA */ bc1t .L802394A4 -/* 70127C 802394FC 00000000 */ nop -.L80239500: -/* 701280 80239500 44800000 */ mtc1 $zero, $f0 -/* 701284 80239504 00000000 */ nop -/* 701288 80239508 460C003E */ c.le.s $f0, $f12 -/* 70128C 8023950C 00000000 */ nop -/* 701290 80239510 4500000F */ bc1f .L80239550 -/* 701294 80239514 00000000 */ nop -/* 701298 80239518 3C0142B4 */ lui $at, 0x42b4 -/* 70129C 8023951C 44810000 */ mtc1 $at, $f0 -/* 7012A0 80239520 00000000 */ nop -/* 7012A4 80239524 4600603C */ c.lt.s $f12, $f0 -/* 7012A8 80239528 00000000 */ nop -/* 7012AC 8023952C 45000008 */ bc1f .L80239550 -/* 7012B0 80239530 00000000 */ nop -/* 7012B4 80239534 3C014334 */ lui $at, 0x4334 -/* 7012B8 80239538 4481A000 */ mtc1 $at, $f20 -/* 7012BC 8023953C 0C00A6C9 */ jal clamp_angle -/* 7012C0 80239540 46146300 */ add.s $f12, $f12, $f20 -/* 7012C4 80239544 46140001 */ sub.s $f0, $f0, $f20 -/* 7012C8 80239548 4600A501 */ sub.s $f20, $f20, $f0 -/* 7012CC 8023954C E6140048 */ swc1 $f20, 0x48($s0) -.L80239550: -/* 7012D0 80239550 8E42007C */ lw $v0, 0x7c($s2) -/* 7012D4 80239554 10400004 */ beqz $v0, .L80239568 -/* 7012D8 80239558 2404200A */ addiu $a0, $zero, 0x200a -/* 7012DC 8023955C C6000008 */ lwc1 $f0, 8($s0) -/* 7012E0 80239560 0808E55D */ j .L80239574 -/* 7012E4 80239564 E7A00010 */ swc1 $f0, 0x10($sp) -.L80239568: -/* 7012E8 80239568 C6000008 */ lwc1 $f0, 8($s0) -/* 7012EC 8023956C 2404200B */ addiu $a0, $zero, 0x200b -/* 7012F0 80239570 E7A00010 */ swc1 $f0, 0x10($sp) -.L80239574: -/* 7012F4 80239574 8E060000 */ lw $a2, ($s0) -/* 7012F8 80239578 8E070004 */ lw $a3, 4($s0) -/* 7012FC 8023957C 0C052757 */ jal play_sound_at_position -/* 701300 80239580 0000282D */ daddu $a1, $zero, $zero -/* 701304 80239584 8E43007C */ lw $v1, 0x7c($s2) -/* 701308 80239588 24020001 */ addiu $v0, $zero, 1 -/* 70130C 8023958C 00431023 */ subu $v0, $v0, $v1 -/* 701310 80239590 AE42007C */ sw $v0, 0x7c($s2) -/* 701314 80239594 C6020004 */ lwc1 $f2, 4($s0) -.L80239598: -/* 701318 80239598 3C014320 */ lui $at, 0x4320 -/* 70131C 8023959C 44810000 */ mtc1 $at, $f0 -/* 701320 802395A0 00000000 */ nop -/* 701324 802395A4 4602003C */ c.lt.s $f0, $f2 -/* 701328 802395A8 00000000 */ nop -/* 70132C 802395AC 45000045 */ bc1f .L802396C4 -/* 701330 802395B0 00000000 */ nop -/* 701334 802395B4 8E420074 */ lw $v0, 0x74($s2) -/* 701338 802395B8 1040000C */ beqz $v0, .L802395EC -/* 70133C 802395BC 24020002 */ addiu $v0, $zero, 2 -.L802395C0: -/* 701340 802395C0 0808E5C6 */ j .L80239718 -/* 701344 802395C4 AE420070 */ sw $v0, 0x70($s2) -.L802395C8: -/* 701348 802395C8 0C00A6C9 */ jal clamp_angle -/* 70134C 802395CC 46006300 */ add.s $f12, $f12, $f0 -/* 701350 802395D0 3C0143B4 */ lui $at, 0x43b4 -/* 701354 802395D4 44811000 */ mtc1 $at, $f2 -/* 701358 802395D8 00000000 */ nop -/* 70135C 802395DC 46001001 */ sub.s $f0, $f2, $f0 -/* 701360 802395E0 46020000 */ add.s $f0, $f0, $f2 -/* 701364 802395E4 0808E5A0 */ j .L80239680 -/* 701368 802395E8 E6000048 */ swc1 $f0, 0x48($s0) -.L802395EC: -/* 70136C 802395EC C60C0048 */ lwc1 $f12, 0x48($s0) -/* 701370 802395F0 3C0142B4 */ lui $at, 0x42b4 -/* 701374 802395F4 44810000 */ mtc1 $at, $f0 -/* 701378 802395F8 00000000 */ nop -/* 70137C 802395FC 460C003E */ c.le.s $f0, $f12 -/* 701380 80239600 00000000 */ nop -/* 701384 80239604 45000008 */ bc1f .L80239628 -/* 701388 80239608 00000000 */ nop -/* 70138C 8023960C 3C014334 */ lui $at, 0x4334 -/* 701390 80239610 44810000 */ mtc1 $at, $f0 -/* 701394 80239614 00000000 */ nop -/* 701398 80239618 4600603C */ c.lt.s $f12, $f0 -/* 70139C 8023961C 00000000 */ nop -/* 7013A0 80239620 4501FFE9 */ bc1t .L802395C8 -/* 7013A4 80239624 00000000 */ nop -.L80239628: -/* 7013A8 80239628 3C014334 */ lui $at, 0x4334 -/* 7013AC 8023962C 44811000 */ mtc1 $at, $f2 -/* 7013B0 80239630 00000000 */ nop -/* 7013B4 80239634 460C103E */ c.le.s $f2, $f12 -/* 7013B8 80239638 00000000 */ nop -/* 7013BC 8023963C 45000010 */ bc1f .L80239680 -/* 7013C0 80239640 00000000 */ nop -/* 7013C4 80239644 3C014387 */ lui $at, 0x4387 -/* 7013C8 80239648 44810000 */ mtc1 $at, $f0 -/* 7013CC 8023964C 00000000 */ nop -/* 7013D0 80239650 4600603C */ c.lt.s $f12, $f0 -/* 7013D4 80239654 00000000 */ nop -/* 7013D8 80239658 45000009 */ bc1f .L80239680 -/* 7013DC 8023965C 00000000 */ nop -/* 7013E0 80239660 0C00A6C9 */ jal clamp_angle -/* 7013E4 80239664 46026300 */ add.s $f12, $f12, $f2 -/* 7013E8 80239668 3C0143B4 */ lui $at, 0x43b4 -/* 7013EC 8023966C 44811000 */ mtc1 $at, $f2 -/* 7013F0 80239670 00000000 */ nop -/* 7013F4 80239674 46020001 */ sub.s $f0, $f0, $f2 -/* 7013F8 80239678 46001081 */ sub.s $f2, $f2, $f0 -/* 7013FC 8023967C E6020048 */ swc1 $f2, 0x48($s0) -.L80239680: -/* 701400 80239680 8E42007C */ lw $v0, 0x7c($s2) -/* 701404 80239684 10400004 */ beqz $v0, .L80239698 -/* 701408 80239688 2404200A */ addiu $a0, $zero, 0x200a -/* 70140C 8023968C C6000008 */ lwc1 $f0, 8($s0) -/* 701410 80239690 0808E5A9 */ j .L802396A4 -/* 701414 80239694 E7A00010 */ swc1 $f0, 0x10($sp) -.L80239698: -/* 701418 80239698 C6000008 */ lwc1 $f0, 8($s0) -/* 70141C 8023969C 2404200B */ addiu $a0, $zero, 0x200b -/* 701420 802396A0 E7A00010 */ swc1 $f0, 0x10($sp) -.L802396A4: -/* 701424 802396A4 8E060000 */ lw $a2, ($s0) -/* 701428 802396A8 8E070004 */ lw $a3, 4($s0) -/* 70142C 802396AC 0C052757 */ jal play_sound_at_position -/* 701430 802396B0 0000282D */ daddu $a1, $zero, $zero -/* 701434 802396B4 8E43007C */ lw $v1, 0x7c($s2) -/* 701438 802396B8 24020001 */ addiu $v0, $zero, 1 -/* 70143C 802396BC 00431023 */ subu $v0, $v0, $v1 -/* 701440 802396C0 AE42007C */ sw $v0, 0x7c($s2) -.L802396C4: -/* 701444 802396C4 C6000050 */ lwc1 $f0, 0x50($s0) -/* 701448 802396C8 3C013FE0 */ lui $at, 0x3fe0 -/* 70144C 802396CC 44811800 */ mtc1 $at, $f3 -/* 701450 802396D0 44801000 */ mtc1 $zero, $f2 -/* 701454 802396D4 46000021 */ cvt.d.s $f0, $f0 -/* 701458 802396D8 46220002 */ mul.d $f0, $f0, $f2 -/* 70145C 802396DC 00000000 */ nop -/* 701460 802396E0 C60C0048 */ lwc1 $f12, 0x48($s0) -/* 701464 802396E4 46006321 */ cvt.d.s $f12, $f12 -/* 701468 802396E8 46206300 */ add.d $f12, $f12, $f0 -/* 70146C 802396EC 0C00A6C9 */ jal clamp_angle -/* 701470 802396F0 46206320 */ cvt.s.d $f12, $f12 -/* 701474 802396F4 86020064 */ lh $v0, 0x64($s0) -/* 701478 802396F8 96030064 */ lhu $v1, 0x64($s0) -/* 70147C 802396FC 10400004 */ beqz $v0, .L80239710 -/* 701480 80239700 E6000048 */ swc1 $f0, 0x48($s0) -/* 701484 80239704 2462FFFF */ addiu $v0, $v1, -1 -/* 701488 80239708 0808E5C6 */ j .L80239718 -/* 70148C 8023970C A6020064 */ sh $v0, 0x64($s0) -.L80239710: -/* 701490 80239710 24020001 */ addiu $v0, $zero, 1 -/* 701494 80239714 AE420074 */ sw $v0, 0x74($s2) -.L80239718: -/* 701498 80239718 8E430070 */ lw $v1, 0x70($s2) -/* 70149C 8023971C 24020002 */ addiu $v0, $zero, 2 -.L80239720: -/* 7014A0 80239720 10620005 */ beq $v1, $v0, .L80239738 -/* 7014A4 80239724 24020003 */ addiu $v0, $zero, 3 -/* 7014A8 80239728 1062000D */ beq $v1, $v0, .L80239760 -/* 7014AC 8023972C 0200202D */ daddu $a0, $s0, $zero -/* 7014B0 80239730 0808E5E4 */ j .L80239790 -/* 7014B4 80239734 00000000 */ nop -.L80239738: -/* 7014B8 80239738 3C038024 */ lui $v1, %hi(D_8023BD70) -/* 7014BC 8023973C 8C63BD70 */ lw $v1, %lo(D_8023BD70)($v1) -/* 7014C0 80239740 24020005 */ addiu $v0, $zero, 5 -/* 7014C4 80239744 A6020064 */ sh $v0, 0x64($s0) -/* 7014C8 80239748 24020003 */ addiu $v0, $zero, 3 -/* 7014CC 8023974C AE420070 */ sw $v0, 0x70($s2) -/* 7014D0 80239750 8C620000 */ lw $v0, ($v1) -/* 7014D4 80239754 34420010 */ ori $v0, $v0, 0x10 -/* 7014D8 80239758 AC620000 */ sw $v0, ($v1) -/* 7014DC 8023975C 0200202D */ daddu $a0, $s0, $zero -.L80239760: -/* 7014E0 80239760 8E060040 */ lw $a2, 0x40($s0) -/* 7014E4 80239764 8E070048 */ lw $a3, 0x48($s0) -/* 7014E8 80239768 0C00A7E7 */ jal add_vec2D_polar -/* 7014EC 8023976C 26050004 */ addiu $a1, $s0, 4 -/* 7014F0 80239770 86020064 */ lh $v0, 0x64($s0) -/* 7014F4 80239774 96030064 */ lhu $v1, 0x64($s0) -/* 7014F8 80239778 14400004 */ bnez $v0, .L8023978C -/* 7014FC 8023977C 2462FFFF */ addiu $v0, $v1, -1 -/* 701500 80239780 AE200164 */ sw $zero, 0x164($s1) -/* 701504 80239784 0808E5EB */ j .L802397AC -/* 701508 80239788 24020002 */ addiu $v0, $zero, 2 -.L8023978C: -/* 70150C 8023978C A6020064 */ sh $v0, 0x64($s0) -.L80239790: -/* 701510 80239790 C6000000 */ lwc1 $f0, ($s0) -/* 701514 80239794 E6200144 */ swc1 $f0, 0x144($s1) -/* 701518 80239798 C6000004 */ lwc1 $f0, 4($s0) -/* 70151C 8023979C E6200148 */ swc1 $f0, 0x148($s1) -/* 701520 802397A0 C6000008 */ lwc1 $f0, 8($s0) -/* 701524 802397A4 0000102D */ daddu $v0, $zero, $zero -/* 701528 802397A8 E620014C */ swc1 $f0, 0x14c($s1) -.L802397AC: -/* 70152C 802397AC 8FBF0024 */ lw $ra, 0x24($sp) -/* 701530 802397B0 8FB20020 */ lw $s2, 0x20($sp) -/* 701534 802397B4 8FB1001C */ lw $s1, 0x1c($sp) -/* 701538 802397B8 8FB00018 */ lw $s0, 0x18($sp) -/* 70153C 802397BC D7B40028 */ ldc1 $f20, 0x28($sp) -/* 701540 802397C0 03E00008 */ jr $ra -/* 701544 802397C4 27BD0030 */ addiu $sp, $sp, 0x30 diff --git a/ver/us/asm/nonmatchings/code_703AF0/func_80238000_703AF0.s b/ver/us/asm/nonmatchings/code_703AF0/func_80238000_703AF0.s deleted file mode 100644 index 6a8d8c9ae8..0000000000 --- a/ver/us/asm/nonmatchings/code_703AF0/func_80238000_703AF0.s +++ /dev/null @@ -1,236 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_80238000_703AF0 -/* 703AF0 80238000 27BDFFB0 */ addiu $sp, $sp, -0x50 -/* 703AF4 80238004 AFB3002C */ sw $s3, 0x2c($sp) -/* 703AF8 80238008 3C13800E */ lui $s3, %hi(gBattleStatus) -/* 703AFC 8023800C 2673C070 */ addiu $s3, $s3, %lo(gBattleStatus) -/* 703B00 80238010 AFBF0030 */ sw $ra, 0x30($sp) -/* 703B04 80238014 AFB20028 */ sw $s2, 0x28($sp) -/* 703B08 80238018 AFB10024 */ sw $s1, 0x24($sp) -/* 703B0C 8023801C AFB00020 */ sw $s0, 0x20($sp) -/* 703B10 80238020 F7B80048 */ sdc1 $f24, 0x48($sp) -/* 703B14 80238024 F7B60040 */ sdc1 $f22, 0x40($sp) -/* 703B18 80238028 F7B40038 */ sdc1 $f20, 0x38($sp) -/* 703B1C 8023802C 8E7200DC */ lw $s2, 0xdc($s3) -/* 703B20 80238030 10A00022 */ beqz $a1, .L802380BC -/* 703B24 80238034 24110005 */ addiu $s1, $zero, 5 -/* 703B28 80238038 3C013F80 */ lui $at, 0x3f80 -/* 703B2C 8023803C 4481A000 */ mtc1 $at, $f20 -/* 703B30 80238040 AFB10014 */ sw $s1, 0x14($sp) -/* 703B34 80238044 AFA00018 */ sw $zero, 0x18($sp) -/* 703B38 80238048 E7B40010 */ swc1 $f20, 0x10($sp) -/* 703B3C 8023804C 8E450144 */ lw $a1, 0x144($s2) -/* 703B40 80238050 8E460148 */ lw $a2, 0x148($s2) -/* 703B44 80238054 8E47014C */ lw $a3, 0x14c($s2) -/* 703B48 80238058 24100001 */ addiu $s0, $zero, 1 -/* 703B4C 8023805C 3C018024 */ lui $at, %hi(D_8023C1BC) -/* 703B50 80238060 AC30C1BC */ sw $s0, %lo(D_8023C1BC)($at) -/* 703B54 80238064 3C018024 */ lui $at, %hi(D_8023C1C0) -/* 703B58 80238068 AC20C1C0 */ sw $zero, %lo(D_8023C1C0)($at) -/* 703B5C 8023806C 3C018024 */ lui $at, %hi(D_8023C1C4) -/* 703B60 80238070 AC30C1C4 */ sw $s0, %lo(D_8023C1C4)($at) -/* 703B64 80238074 3C018024 */ lui $at, %hi(D_8023C1C8) -/* 703B68 80238078 AC20C1C8 */ sw $zero, %lo(D_8023C1C8)($at) -/* 703B6C 8023807C 0C01C8EC */ jal func_800723B0 -/* 703B70 80238080 0000202D */ daddu $a0, $zero, $zero -/* 703B74 80238084 E7B40010 */ swc1 $f20, 0x10($sp) -/* 703B78 80238088 AFB10014 */ sw $s1, 0x14($sp) -/* 703B7C 8023808C AFA00018 */ sw $zero, 0x18($sp) -/* 703B80 80238090 8E450144 */ lw $a1, 0x144($s2) -/* 703B84 80238094 3C06C47A */ lui $a2, 0xc47a -/* 703B88 80238098 8E47014C */ lw $a3, 0x14c($s2) -/* 703B8C 8023809C 3C018024 */ lui $at, %hi(D_8023C1CC) -/* 703B90 802380A0 AC22C1CC */ sw $v0, %lo(D_8023C1CC)($at) -/* 703B94 802380A4 0C01C8EC */ jal func_800723B0 -/* 703B98 802380A8 0200202D */ daddu $a0, $s0, $zero -/* 703B9C 802380AC 3C018024 */ lui $at, %hi(D_8023C1D0) -/* 703BA0 802380B0 AC22C1D0 */ sw $v0, %lo(D_8023C1D0)($at) -/* 703BA4 802380B4 3C018024 */ lui $at, %hi(D_8023C1B8) -/* 703BA8 802380B8 AC30C1B8 */ sw $s0, %lo(D_8023C1B8)($at) -.L802380BC: -/* 703BAC 802380BC 3C028024 */ lui $v0, %hi(D_8023C1B8) -/* 703BB0 802380C0 8C42C1B8 */ lw $v0, %lo(D_8023C1B8)($v0) -/* 703BB4 802380C4 104000A0 */ beqz $v0, .L80238348 -/* 703BB8 802380C8 24020002 */ addiu $v0, $zero, 2 -/* 703BBC 802380CC 3C028024 */ lui $v0, %hi(D_8023C1BC) -/* 703BC0 802380D0 8C42C1BC */ lw $v0, %lo(D_8023C1BC)($v0) -/* 703BC4 802380D4 1040000C */ beqz $v0, .L80238108 -/* 703BC8 802380D8 00000000 */ nop -/* 703BCC 802380DC 3C108024 */ lui $s0, %hi(D_8023C1C0) -/* 703BD0 802380E0 2610C1C0 */ addiu $s0, $s0, %lo(D_8023C1C0) -/* 703BD4 802380E4 8E020000 */ lw $v0, ($s0) -/* 703BD8 802380E8 2442000F */ addiu $v0, $v0, 0xf -/* 703BDC 802380EC 44826000 */ mtc1 $v0, $f12 -/* 703BE0 802380F0 00000000 */ nop -/* 703BE4 802380F4 46806320 */ cvt.s.w $f12, $f12 -/* 703BE8 802380F8 0C00A6C9 */ jal clamp_angle -/* 703BEC 802380FC AE020000 */ sw $v0, ($s0) -/* 703BF0 80238100 4600018D */ trunc.w.s $f6, $f0 -/* 703BF4 80238104 E6060000 */ swc1 $f6, ($s0) -.L80238108: -/* 703BF8 80238108 3C0140C9 */ lui $at, 0x40c9 -/* 703BFC 8023810C 34210FD0 */ ori $at, $at, 0xfd0 -/* 703C00 80238110 44810000 */ mtc1 $at, $f0 -/* 703C04 80238114 3C018024 */ lui $at, %hi(D_8023C1C0) -/* 703C08 80238118 C42CC1C0 */ lwc1 $f12, %lo(D_8023C1C0)($at) -/* 703C0C 8023811C 46806320 */ cvt.s.w $f12, $f12 -/* 703C10 80238120 46006302 */ mul.s $f12, $f12, $f0 -/* 703C14 80238124 00000000 */ nop -/* 703C18 80238128 3C0143B4 */ lui $at, 0x43b4 -/* 703C1C 8023812C 44810000 */ mtc1 $at, $f0 -/* 703C20 80238130 0C00A85B */ jal sin_rad -/* 703C24 80238134 46006303 */ div.s $f12, $f12, $f0 -/* 703C28 80238138 3C014040 */ lui $at, 0x4040 -/* 703C2C 8023813C 44811000 */ mtc1 $at, $f2 -/* 703C30 80238140 00000000 */ nop -/* 703C34 80238144 46020002 */ mul.s $f0, $f0, $f2 -/* 703C38 80238148 00000000 */ nop -/* 703C3C 8023814C 86420152 */ lh $v0, 0x152($s2) -/* 703C40 80238150 3C014140 */ lui $at, 0x4140 -/* 703C44 80238154 44812000 */ mtc1 $at, $f4 -/* 703C48 80238158 44821000 */ mtc1 $v0, $f2 -/* 703C4C 8023815C 00000000 */ nop -/* 703C50 80238160 468010A0 */ cvt.s.w $f2, $f2 -/* 703C54 80238164 4600018D */ trunc.w.s $f6, $f0 -/* 703C58 80238168 44033000 */ mfc1 $v1, $f6 -/* 703C5C 8023816C 00000000 */ nop -/* 703C60 80238170 00031600 */ sll $v0, $v1, 0x18 -/* 703C64 80238174 C6400148 */ lwc1 $f0, 0x148($s2) -/* 703C68 80238178 00021603 */ sra $v0, $v0, 0x18 -/* 703C6C 8023817C A243019A */ sb $v1, 0x19a($s2) -/* 703C70 80238180 46020000 */ add.s $f0, $f0, $f2 -/* 703C74 80238184 44821000 */ mtc1 $v0, $f2 -/* 703C78 80238188 00000000 */ nop -/* 703C7C 8023818C 468010A0 */ cvt.s.w $f2, $f2 -/* 703C80 80238190 86420150 */ lh $v0, 0x150($s2) -/* 703C84 80238194 46020000 */ add.s $f0, $f0, $f2 -/* 703C88 80238198 44821000 */ mtc1 $v0, $f2 -/* 703C8C 8023819C 00000000 */ nop -/* 703C90 802381A0 468010A0 */ cvt.s.w $f2, $f2 -/* 703C94 802381A4 8E620004 */ lw $v0, 4($s3) -/* 703C98 802381A8 86430154 */ lh $v1, 0x154($s2) -/* 703C9C 802381AC 30420014 */ andi $v0, $v0, 0x14 -/* 703CA0 802381B0 46040580 */ add.s $f22, $f0, $f4 -/* 703CA4 802381B4 C6400144 */ lwc1 $f0, 0x144($s2) -/* 703CA8 802381B8 44832000 */ mtc1 $v1, $f4 -/* 703CAC 802381BC 00000000 */ nop -/* 703CB0 802381C0 46802120 */ cvt.s.w $f4, $f4 -/* 703CB4 802381C4 46020500 */ add.s $f20, $f0, $f2 -/* 703CB8 802381C8 C640014C */ lwc1 $f0, 0x14c($s2) -/* 703CBC 802381CC 24030004 */ addiu $v1, $zero, 4 -/* 703CC0 802381D0 14430003 */ bne $v0, $v1, .L802381E0 -/* 703CC4 802381D4 46040600 */ add.s $f24, $f0, $f4 -/* 703CC8 802381D8 3C01C47A */ lui $at, 0xc47a -/* 703CCC 802381DC 4481B000 */ mtc1 $at, $f22 -.L802381E0: -/* 703CD0 802381E0 3C028024 */ lui $v0, %hi(D_8023C1C4) -/* 703CD4 802381E4 8C42C1C4 */ lw $v0, %lo(D_8023C1C4)($v0) -/* 703CD8 802381E8 10400044 */ beqz $v0, .L802382FC -/* 703CDC 802381EC 00000000 */ nop -/* 703CE0 802381F0 3C038024 */ lui $v1, %hi(D_8023C1C8) -/* 703CE4 802381F4 8C63C1C8 */ lw $v1, %lo(D_8023C1C8)($v1) -/* 703CE8 802381F8 10600005 */ beqz $v1, .L80238210 -/* 703CEC 802381FC 24020001 */ addiu $v0, $zero, 1 -/* 703CF0 80238200 1062001D */ beq $v1, $v0, .L80238278 -/* 703CF4 80238204 0000102D */ daddu $v0, $zero, $zero -/* 703CF8 80238208 0808E0D2 */ j .L80238348 -/* 703CFC 8023820C 00000000 */ nop -.L80238210: -/* 703D00 80238210 3C108024 */ lui $s0, %hi(D_8023C1CC) -/* 703D04 80238214 2610C1CC */ addiu $s0, $s0, %lo(D_8023C1CC) -/* 703D08 80238218 8E020000 */ lw $v0, ($s0) -/* 703D0C 8023821C 1440000C */ bnez $v0, .L80238250 -/* 703D10 80238220 0000202D */ daddu $a0, $zero, $zero -/* 703D14 80238224 4405A000 */ mfc1 $a1, $f20 -/* 703D18 80238228 4406B000 */ mfc1 $a2, $f22 -/* 703D1C 8023822C 4407C000 */ mfc1 $a3, $f24 -/* 703D20 80238230 3C013F80 */ lui $at, 0x3f80 -/* 703D24 80238234 44810000 */ mtc1 $at, $f0 -/* 703D28 80238238 24020005 */ addiu $v0, $zero, 5 -/* 703D2C 8023823C AFA20014 */ sw $v0, 0x14($sp) -/* 703D30 80238240 AFA00018 */ sw $zero, 0x18($sp) -/* 703D34 80238244 0C01C8EC */ jal func_800723B0 -/* 703D38 80238248 E7A00010 */ swc1 $f0, 0x10($sp) -/* 703D3C 8023824C AE020000 */ sw $v0, ($s0) -.L80238250: -/* 703D40 80238250 3C048024 */ lui $a0, %hi(D_8023C1D0) -/* 703D44 80238254 2484C1D0 */ addiu $a0, $a0, %lo(D_8023C1D0) -/* 703D48 80238258 8C830000 */ lw $v1, ($a0) -/* 703D4C 8023825C 1060001F */ beqz $v1, .L802382DC -/* 703D50 80238260 00000000 */ nop -/* 703D54 80238264 8C620000 */ lw $v0, ($v1) -/* 703D58 80238268 AC800000 */ sw $zero, ($a0) -/* 703D5C 8023826C 34420010 */ ori $v0, $v0, 0x10 -/* 703D60 80238270 0808E0B7 */ j .L802382DC -/* 703D64 80238274 AC620000 */ sw $v0, ($v1) -.L80238278: -/* 703D68 80238278 3C048024 */ lui $a0, %hi(D_8023C1CC) -/* 703D6C 8023827C 2484C1CC */ addiu $a0, $a0, %lo(D_8023C1CC) -/* 703D70 80238280 8C830000 */ lw $v1, ($a0) -/* 703D74 80238284 10600005 */ beqz $v1, .L8023829C -/* 703D78 80238288 00000000 */ nop -/* 703D7C 8023828C 8C620000 */ lw $v0, ($v1) -/* 703D80 80238290 AC800000 */ sw $zero, ($a0) -/* 703D84 80238294 34420010 */ ori $v0, $v0, 0x10 -/* 703D88 80238298 AC620000 */ sw $v0, ($v1) -.L8023829C: -/* 703D8C 8023829C 3C108024 */ lui $s0, %hi(D_8023C1D0) -/* 703D90 802382A0 2610C1D0 */ addiu $s0, $s0, %lo(D_8023C1D0) -/* 703D94 802382A4 8E020000 */ lw $v0, ($s0) -/* 703D98 802382A8 1440000C */ bnez $v0, .L802382DC -/* 703D9C 802382AC 24040001 */ addiu $a0, $zero, 1 -/* 703DA0 802382B0 4405A000 */ mfc1 $a1, $f20 -/* 703DA4 802382B4 4406B000 */ mfc1 $a2, $f22 -/* 703DA8 802382B8 4407C000 */ mfc1 $a3, $f24 -/* 703DAC 802382BC 3C013F80 */ lui $at, 0x3f80 -/* 703DB0 802382C0 44810000 */ mtc1 $at, $f0 -/* 703DB4 802382C4 24020005 */ addiu $v0, $zero, 5 -/* 703DB8 802382C8 AFA20014 */ sw $v0, 0x14($sp) -/* 703DBC 802382CC AFA00018 */ sw $zero, 0x18($sp) -/* 703DC0 802382D0 0C01C8EC */ jal func_800723B0 -/* 703DC4 802382D4 E7A00010 */ swc1 $f0, 0x10($sp) -/* 703DC8 802382D8 AE020000 */ sw $v0, ($s0) -.L802382DC: -/* 703DCC 802382DC 8E030000 */ lw $v1, ($s0) -/* 703DD0 802382E0 8C62000C */ lw $v0, 0xc($v1) -/* 703DD4 802382E4 E4540004 */ swc1 $f20, 4($v0) -/* 703DD8 802382E8 8C62000C */ lw $v0, 0xc($v1) -/* 703DDC 802382EC E4560008 */ swc1 $f22, 8($v0) -/* 703DE0 802382F0 8C62000C */ lw $v0, 0xc($v1) -/* 703DE4 802382F4 0808E0D1 */ j .L80238344 -/* 703DE8 802382F8 E458000C */ swc1 $f24, 0xc($v0) -.L802382FC: -/* 703DEC 802382FC 3C048024 */ lui $a0, %hi(D_8023C1CC) -/* 703DF0 80238300 2484C1CC */ addiu $a0, $a0, %lo(D_8023C1CC) -/* 703DF4 80238304 8C830000 */ lw $v1, ($a0) -/* 703DF8 80238308 10600005 */ beqz $v1, .L80238320 -/* 703DFC 8023830C 00000000 */ nop -/* 703E00 80238310 8C620000 */ lw $v0, ($v1) -/* 703E04 80238314 AC800000 */ sw $zero, ($a0) -/* 703E08 80238318 34420010 */ ori $v0, $v0, 0x10 -/* 703E0C 8023831C AC620000 */ sw $v0, ($v1) -.L80238320: -/* 703E10 80238320 3C048024 */ lui $a0, %hi(D_8023C1D0) -/* 703E14 80238324 2484C1D0 */ addiu $a0, $a0, %lo(D_8023C1D0) -/* 703E18 80238328 8C830000 */ lw $v1, ($a0) -/* 703E1C 8023832C 10600006 */ beqz $v1, .L80238348 -/* 703E20 80238330 0000102D */ daddu $v0, $zero, $zero -/* 703E24 80238334 8C620000 */ lw $v0, ($v1) -/* 703E28 80238338 AC800000 */ sw $zero, ($a0) -/* 703E2C 8023833C 34420010 */ ori $v0, $v0, 0x10 -/* 703E30 80238340 AC620000 */ sw $v0, ($v1) -.L80238344: -/* 703E34 80238344 0000102D */ daddu $v0, $zero, $zero -.L80238348: -/* 703E38 80238348 8FBF0030 */ lw $ra, 0x30($sp) -/* 703E3C 8023834C 8FB3002C */ lw $s3, 0x2c($sp) -/* 703E40 80238350 8FB20028 */ lw $s2, 0x28($sp) -/* 703E44 80238354 8FB10024 */ lw $s1, 0x24($sp) -/* 703E48 80238358 8FB00020 */ lw $s0, 0x20($sp) -/* 703E4C 8023835C D7B80048 */ ldc1 $f24, 0x48($sp) -/* 703E50 80238360 D7B60040 */ ldc1 $f22, 0x40($sp) -/* 703E54 80238364 D7B40038 */ ldc1 $f20, 0x38($sp) -/* 703E58 80238368 03E00008 */ jr $ra -/* 703E5C 8023836C 27BD0050 */ addiu $sp, $sp, 0x50 diff --git a/ver/us/asm/nonmatchings/code_703AF0/func_80238370_703E60.s b/ver/us/asm/nonmatchings/code_703AF0/func_80238370_703E60.s deleted file mode 100644 index c4a558d173..0000000000 --- a/ver/us/asm/nonmatchings/code_703AF0/func_80238370_703E60.s +++ /dev/null @@ -1,26 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_80238370_703E60 -/* 703E60 80238370 3C048024 */ lui $a0, %hi(D_8023C1CC) -/* 703E64 80238374 8C84C1CC */ lw $a0, %lo(D_8023C1CC)($a0) -/* 703E68 80238378 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 703E6C 8023837C AFBF0010 */ sw $ra, 0x10($sp) -/* 703E70 80238380 3C018024 */ lui $at, %hi(D_8023C1B8) -/* 703E74 80238384 AC20C1B8 */ sw $zero, %lo(D_8023C1B8)($at) -/* 703E78 80238388 10800003 */ beqz $a0, .L80238398 -/* 703E7C 8023838C 00000000 */ nop -/* 703E80 80238390 0C016914 */ jal remove_effect -/* 703E84 80238394 00000000 */ nop -.L80238398: -/* 703E88 80238398 3C048024 */ lui $a0, %hi(D_8023C1D0) -/* 703E8C 8023839C 8C84C1D0 */ lw $a0, %lo(D_8023C1D0)($a0) -/* 703E90 802383A0 10800003 */ beqz $a0, .L802383B0 -/* 703E94 802383A4 00000000 */ nop -/* 703E98 802383A8 0C016914 */ jal remove_effect -/* 703E9C 802383AC 00000000 */ nop -.L802383B0: -/* 703EA0 802383B0 8FBF0010 */ lw $ra, 0x10($sp) -/* 703EA4 802383B4 24020002 */ addiu $v0, $zero, 2 -/* 703EA8 802383B8 03E00008 */ jr $ra -/* 703EAC 802383BC 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/ver/us/asm/nonmatchings/code_703AF0/func_802383C0_703EB0.s b/ver/us/asm/nonmatchings/code_703AF0/func_802383C0_703EB0.s deleted file mode 100644 index ea5f4a2ef6..0000000000 --- a/ver/us/asm/nonmatchings/code_703AF0/func_802383C0_703EB0.s +++ /dev/null @@ -1,9 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802383C0_703EB0 -/* 703EB0 802383C0 24020001 */ addiu $v0, $zero, 1 -/* 703EB4 802383C4 3C018024 */ lui $at, %hi(D_8023C1BC) -/* 703EB8 802383C8 AC22C1BC */ sw $v0, %lo(D_8023C1BC)($at) -/* 703EBC 802383CC 03E00008 */ jr $ra -/* 703EC0 802383D0 24020002 */ addiu $v0, $zero, 2 diff --git a/ver/us/asm/nonmatchings/code_703AF0/func_802383D4_703EC4.s b/ver/us/asm/nonmatchings/code_703AF0/func_802383D4_703EC4.s deleted file mode 100644 index df0e768aeb..0000000000 --- a/ver/us/asm/nonmatchings/code_703AF0/func_802383D4_703EC4.s +++ /dev/null @@ -1,8 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802383D4_703EC4 -/* 703EC4 802383D4 3C018024 */ lui $at, %hi(D_8023C1BC) -/* 703EC8 802383D8 AC20C1BC */ sw $zero, %lo(D_8023C1BC)($at) -/* 703ECC 802383DC 03E00008 */ jr $ra -/* 703ED0 802383E0 24020002 */ addiu $v0, $zero, 2 diff --git a/ver/us/asm/nonmatchings/code_703AF0/func_802383E4_703ED4.s b/ver/us/asm/nonmatchings/code_703AF0/func_802383E4_703ED4.s deleted file mode 100644 index f1297cb229..0000000000 --- a/ver/us/asm/nonmatchings/code_703AF0/func_802383E4_703ED4.s +++ /dev/null @@ -1,9 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802383E4_703ED4 -/* 703ED4 802383E4 24020001 */ addiu $v0, $zero, 1 -/* 703ED8 802383E8 3C018024 */ lui $at, %hi(D_8023C1C4) -/* 703EDC 802383EC AC22C1C4 */ sw $v0, %lo(D_8023C1C4)($at) -/* 703EE0 802383F0 03E00008 */ jr $ra -/* 703EE4 802383F4 24020002 */ addiu $v0, $zero, 2 diff --git a/ver/us/asm/nonmatchings/code_703AF0/func_802383F8_703EE8.s b/ver/us/asm/nonmatchings/code_703AF0/func_802383F8_703EE8.s deleted file mode 100644 index efe5ceb6e5..0000000000 --- a/ver/us/asm/nonmatchings/code_703AF0/func_802383F8_703EE8.s +++ /dev/null @@ -1,8 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802383F8_703EE8 -/* 703EE8 802383F8 3C018024 */ lui $at, %hi(D_8023C1C4) -/* 703EEC 802383FC AC20C1C4 */ sw $zero, %lo(D_8023C1C4)($at) -/* 703EF0 80238400 03E00008 */ jr $ra -/* 703EF4 80238404 24020002 */ addiu $v0, $zero, 2 diff --git a/ver/us/asm/nonmatchings/code_703AF0/func_80238408_703EF8.s b/ver/us/asm/nonmatchings/code_703AF0/func_80238408_703EF8.s deleted file mode 100644 index 16d016d4c8..0000000000 --- a/ver/us/asm/nonmatchings/code_703AF0/func_80238408_703EF8.s +++ /dev/null @@ -1,15 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_80238408_703EF8 -/* 703EF8 80238408 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 703EFC 8023840C AFBF0010 */ sw $ra, 0x10($sp) -/* 703F00 80238410 8C82000C */ lw $v0, 0xc($a0) -/* 703F04 80238414 0C0B1EAF */ jal get_variable -/* 703F08 80238418 8C450000 */ lw $a1, ($v0) -/* 703F0C 8023841C 8FBF0010 */ lw $ra, 0x10($sp) -/* 703F10 80238420 3C018024 */ lui $at, %hi(D_8023C1C8) -/* 703F14 80238424 AC22C1C8 */ sw $v0, %lo(D_8023C1C8)($at) -/* 703F18 80238428 24020002 */ addiu $v0, $zero, 2 -/* 703F1C 8023842C 03E00008 */ jr $ra -/* 703F20 80238430 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/ver/us/asm/nonmatchings/code_703AF0/func_80238434_703F24.s b/ver/us/asm/nonmatchings/code_703AF0/func_80238434_703F24.s deleted file mode 100644 index 5730ca5c8c..0000000000 --- a/ver/us/asm/nonmatchings/code_703AF0/func_80238434_703F24.s +++ /dev/null @@ -1,21 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_80238434_703F24 -/* 703F24 80238434 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 703F28 80238438 AFBF0010 */ sw $ra, 0x10($sp) -/* 703F2C 8023843C 0C04760B */ jal func_8011D82C -/* 703F30 80238440 24040001 */ addiu $a0, $zero, 1 -/* 703F34 80238444 0000202D */ daddu $a0, $zero, $zero -/* 703F38 80238448 24020001 */ addiu $v0, $zero, 1 -/* 703F3C 8023844C 0080282D */ daddu $a1, $a0, $zero -/* 703F40 80238450 0080302D */ daddu $a2, $a0, $zero -/* 703F44 80238454 3C038015 */ lui $v1, %hi(D_801512F0) -/* 703F48 80238458 8C6312F0 */ lw $v1, %lo(D_801512F0)($v1) -/* 703F4C 8023845C 0080382D */ daddu $a3, $a0, $zero -/* 703F50 80238460 0C046F97 */ jal set_background_color_blend -/* 703F54 80238464 A0620000 */ sb $v0, ($v1) -/* 703F58 80238468 8FBF0010 */ lw $ra, 0x10($sp) -/* 703F5C 8023846C 24020002 */ addiu $v0, $zero, 2 -/* 703F60 80238470 03E00008 */ jr $ra -/* 703F64 80238474 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/ver/us/asm/nonmatchings/code_703AF0/func_80238478_703F68.s b/ver/us/asm/nonmatchings/code_703AF0/func_80238478_703F68.s deleted file mode 100644 index 5eb0b38678..0000000000 --- a/ver/us/asm/nonmatchings/code_703AF0/func_80238478_703F68.s +++ /dev/null @@ -1,18 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_80238478_703F68 -/* 703F68 80238478 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 703F6C 8023847C AFBF0010 */ sw $ra, 0x10($sp) -/* 703F70 80238480 8C82000C */ lw $v0, 0xc($a0) -/* 703F74 80238484 0C0B1EAF */ jal get_variable -/* 703F78 80238488 8C450000 */ lw $a1, ($v0) -/* 703F7C 8023848C 0000202D */ daddu $a0, $zero, $zero -/* 703F80 80238490 0080282D */ daddu $a1, $a0, $zero -/* 703F84 80238494 0080302D */ daddu $a2, $a0, $zero -/* 703F88 80238498 0C046F97 */ jal set_background_color_blend -/* 703F8C 8023849C 304700FF */ andi $a3, $v0, 0xff -/* 703F90 802384A0 8FBF0010 */ lw $ra, 0x10($sp) -/* 703F94 802384A4 24020002 */ addiu $v0, $zero, 2 -/* 703F98 802384A8 03E00008 */ jr $ra -/* 703F9C 802384AC 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/ver/us/asm/nonmatchings/code_703AF0/func_802384B0_703FA0.s b/ver/us/asm/nonmatchings/code_703AF0/func_802384B0_703FA0.s deleted file mode 100644 index 28a061d960..0000000000 --- a/ver/us/asm/nonmatchings/code_703AF0/func_802384B0_703FA0.s +++ /dev/null @@ -1,52 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802384B0_703FA0 -/* 703FA0 802384B0 27BDFFD8 */ addiu $sp, $sp, -0x28 -/* 703FA4 802384B4 AFB1001C */ sw $s1, 0x1c($sp) -/* 703FA8 802384B8 0080882D */ daddu $s1, $a0, $zero -/* 703FAC 802384BC AFBF0024 */ sw $ra, 0x24($sp) -/* 703FB0 802384C0 AFB20020 */ sw $s2, 0x20($sp) -/* 703FB4 802384C4 AFB00018 */ sw $s0, 0x18($sp) -/* 703FB8 802384C8 8E30000C */ lw $s0, 0xc($s1) -/* 703FBC 802384CC 8E050000 */ lw $a1, ($s0) -/* 703FC0 802384D0 0C0B1EAF */ jal get_variable -/* 703FC4 802384D4 26100004 */ addiu $s0, $s0, 4 -/* 703FC8 802384D8 8E050000 */ lw $a1, ($s0) -/* 703FCC 802384DC 26100004 */ addiu $s0, $s0, 4 -/* 703FD0 802384E0 0220202D */ daddu $a0, $s1, $zero -/* 703FD4 802384E4 0C0B1EAF */ jal get_variable -/* 703FD8 802384E8 0040902D */ daddu $s2, $v0, $zero -/* 703FDC 802384EC 0220202D */ daddu $a0, $s1, $zero -/* 703FE0 802384F0 8E050000 */ lw $a1, ($s0) -/* 703FE4 802384F4 0C0B1EAF */ jal get_variable -/* 703FE8 802384F8 0040802D */ daddu $s0, $v0, $zero -/* 703FEC 802384FC 24040008 */ addiu $a0, $zero, 8 -/* 703FF0 80238500 44921000 */ mtc1 $s2, $f2 -/* 703FF4 80238504 00000000 */ nop -/* 703FF8 80238508 468010A0 */ cvt.s.w $f2, $f2 -/* 703FFC 8023850C 44051000 */ mfc1 $a1, $f2 -/* 704000 80238510 44901000 */ mtc1 $s0, $f2 -/* 704004 80238514 00000000 */ nop -/* 704008 80238518 468010A0 */ cvt.s.w $f2, $f2 -/* 70400C 8023851C 44061000 */ mfc1 $a2, $f2 -/* 704010 80238520 44821000 */ mtc1 $v0, $f2 -/* 704014 80238524 00000000 */ nop -/* 704018 80238528 468010A0 */ cvt.s.w $f2, $f2 -/* 70401C 8023852C 3C013FA6 */ lui $at, 0x3fa6 -/* 704020 80238530 34216666 */ ori $at, $at, 0x6666 -/* 704024 80238534 44810000 */ mtc1 $at, $f0 -/* 704028 80238538 44071000 */ mfc1 $a3, $f2 -/* 70402C 8023853C 24030037 */ addiu $v1, $zero, 0x37 -/* 704030 80238540 AFA30014 */ sw $v1, 0x14($sp) -/* 704034 80238544 0C01C2EC */ jal func_80070BB0 -/* 704038 80238548 E7A00010 */ swc1 $f0, 0x10($sp) -/* 70403C 8023854C 8FBF0024 */ lw $ra, 0x24($sp) -/* 704040 80238550 8FB20020 */ lw $s2, 0x20($sp) -/* 704044 80238554 8FB1001C */ lw $s1, 0x1c($sp) -/* 704048 80238558 8FB00018 */ lw $s0, 0x18($sp) -/* 70404C 8023855C 3C018024 */ lui $at, %hi(D_80239A0C_7054FC) -/* 704050 80238560 AC229A0C */ sw $v0, %lo(D_80239A0C_7054FC)($at) -/* 704054 80238564 24020002 */ addiu $v0, $zero, 2 -/* 704058 80238568 03E00008 */ jr $ra -/* 70405C 8023856C 27BD0028 */ addiu $sp, $sp, 0x28 diff --git a/ver/us/asm/nonmatchings/code_703AF0/func_80238570_704060.s b/ver/us/asm/nonmatchings/code_703AF0/func_80238570_704060.s deleted file mode 100644 index c2f2a165be..0000000000 --- a/ver/us/asm/nonmatchings/code_703AF0/func_80238570_704060.s +++ /dev/null @@ -1,16 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_80238570_704060 -/* 704060 80238570 3C048024 */ lui $a0, %hi(D_80239A0C_7054FC) -/* 704064 80238574 24849A0C */ addiu $a0, $a0, %lo(D_80239A0C_7054FC) -/* 704068 80238578 8C830000 */ lw $v1, ($a0) -/* 70406C 8023857C 50600005 */ beql $v1, $zero, .L80238594 -/* 704070 80238580 AC800000 */ sw $zero, ($a0) -/* 704074 80238584 8C620000 */ lw $v0, ($v1) -/* 704078 80238588 34420010 */ ori $v0, $v0, 0x10 -/* 70407C 8023858C AC620000 */ sw $v0, ($v1) -/* 704080 80238590 AC800000 */ sw $zero, ($a0) -.L80238594: -/* 704084 80238594 03E00008 */ jr $ra -/* 704088 80238598 24020002 */ addiu $v0, $zero, 2 diff --git a/ver/us/asm/nonmatchings/code_703AF0/func_8023859C_70408C.s b/ver/us/asm/nonmatchings/code_703AF0/func_8023859C_70408C.s deleted file mode 100644 index b052ca4ab8..0000000000 --- a/ver/us/asm/nonmatchings/code_703AF0/func_8023859C_70408C.s +++ /dev/null @@ -1,55 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_8023859C_70408C -/* 70408C 8023859C 27BDFFD8 */ addiu $sp, $sp, -0x28 -/* 704090 802385A0 AFB1001C */ sw $s1, 0x1c($sp) -/* 704094 802385A4 0080882D */ daddu $s1, $a0, $zero -/* 704098 802385A8 AFBF0024 */ sw $ra, 0x24($sp) -/* 70409C 802385AC AFB20020 */ sw $s2, 0x20($sp) -/* 7040A0 802385B0 AFB00018 */ sw $s0, 0x18($sp) -/* 7040A4 802385B4 8E30000C */ lw $s0, 0xc($s1) -/* 7040A8 802385B8 8E050000 */ lw $a1, ($s0) -/* 7040AC 802385BC 0C0B1EAF */ jal get_variable -/* 7040B0 802385C0 26100004 */ addiu $s0, $s0, 4 -/* 7040B4 802385C4 8E050000 */ lw $a1, ($s0) -/* 7040B8 802385C8 26100004 */ addiu $s0, $s0, 4 -/* 7040BC 802385CC 0220202D */ daddu $a0, $s1, $zero -/* 7040C0 802385D0 0C0B1EAF */ jal get_variable -/* 7040C4 802385D4 0040902D */ daddu $s2, $v0, $zero -/* 7040C8 802385D8 0220202D */ daddu $a0, $s1, $zero -/* 7040CC 802385DC 8E050000 */ lw $a1, ($s0) -/* 7040D0 802385E0 0C0B1EAF */ jal get_variable -/* 7040D4 802385E4 0040802D */ daddu $s0, $v0, $zero -/* 7040D8 802385E8 0000202D */ daddu $a0, $zero, $zero -/* 7040DC 802385EC 44921000 */ mtc1 $s2, $f2 -/* 7040E0 802385F0 00000000 */ nop -/* 7040E4 802385F4 468010A0 */ cvt.s.w $f2, $f2 -/* 7040E8 802385F8 44051000 */ mfc1 $a1, $f2 -/* 7040EC 802385FC 44901000 */ mtc1 $s0, $f2 -/* 7040F0 80238600 00000000 */ nop -/* 7040F4 80238604 468010A0 */ cvt.s.w $f2, $f2 -/* 7040F8 80238608 44061000 */ mfc1 $a2, $f2 -/* 7040FC 8023860C 44821000 */ mtc1 $v0, $f2 -/* 704100 80238610 00000000 */ nop -/* 704104 80238614 468010A0 */ cvt.s.w $f2, $f2 -/* 704108 80238618 3C013F80 */ lui $at, 0x3f80 -/* 70410C 8023861C 44810000 */ mtc1 $at, $f0 -/* 704110 80238620 44071000 */ mfc1 $a3, $f2 -/* 704114 80238624 2403000A */ addiu $v1, $zero, 0xa -/* 704118 80238628 AFA30014 */ sw $v1, 0x14($sp) -/* 70411C 8023862C 0C01C664 */ jal func_80071990 -/* 704120 80238630 E7A00010 */ swc1 $f0, 0x10($sp) -/* 704124 80238634 0040182D */ daddu $v1, $v0, $zero -/* 704128 80238638 8C64000C */ lw $a0, 0xc($v1) -/* 70412C 8023863C 3C018024 */ lui $at, %hi(D_8023C1B4) -/* 704130 80238640 AC23C1B4 */ sw $v1, %lo(D_8023C1B4)($at) -/* 704134 80238644 24030003 */ addiu $v1, $zero, 3 -/* 704138 80238648 AC830030 */ sw $v1, 0x30($a0) -/* 70413C 8023864C 8FBF0024 */ lw $ra, 0x24($sp) -/* 704140 80238650 8FB20020 */ lw $s2, 0x20($sp) -/* 704144 80238654 8FB1001C */ lw $s1, 0x1c($sp) -/* 704148 80238658 8FB00018 */ lw $s0, 0x18($sp) -/* 70414C 8023865C 24020002 */ addiu $v0, $zero, 2 -/* 704150 80238660 03E00008 */ jr $ra -/* 704154 80238664 27BD0028 */ addiu $sp, $sp, 0x28 diff --git a/ver/us/asm/nonmatchings/code_703AF0/func_80238668_704158.s b/ver/us/asm/nonmatchings/code_703AF0/func_80238668_704158.s deleted file mode 100644 index f5fabab58f..0000000000 --- a/ver/us/asm/nonmatchings/code_703AF0/func_80238668_704158.s +++ /dev/null @@ -1,78 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_80238668_704158 -/* 704158 80238668 3C03800E */ lui $v1, %hi(gBattleStatus+0xDC) -/* 70415C 8023866C 8C63C14C */ lw $v1, %lo(gBattleStatus+0xDC)($v1) -/* 704160 80238670 27BDFFC8 */ addiu $sp, $sp, -0x38 -/* 704164 80238674 AFBF001C */ sw $ra, 0x1c($sp) -/* 704168 80238678 AFB00018 */ sw $s0, 0x18($sp) -/* 70416C 8023867C F7B80030 */ sdc1 $f24, 0x30($sp) -/* 704170 80238680 F7B60028 */ sdc1 $f22, 0x28($sp) -/* 704174 80238684 F7B40020 */ sdc1 $f20, 0x20($sp) -/* 704178 80238688 84620150 */ lh $v0, 0x150($v1) -/* 70417C 8023868C C4620144 */ lwc1 $f2, 0x144($v1) -/* 704180 80238690 44820000 */ mtc1 $v0, $f0 -/* 704184 80238694 00000000 */ nop -/* 704188 80238698 46800020 */ cvt.s.w $f0, $f0 -/* 70418C 8023869C 46001600 */ add.s $f24, $f2, $f0 -/* 704190 802386A0 84620152 */ lh $v0, 0x152($v1) -/* 704194 802386A4 C4620148 */ lwc1 $f2, 0x148($v1) -/* 704198 802386A8 44820000 */ mtc1 $v0, $f0 -/* 70419C 802386AC 00000000 */ nop -/* 7041A0 802386B0 46800020 */ cvt.s.w $f0, $f0 -/* 7041A4 802386B4 46001080 */ add.s $f2, $f2, $f0 -/* 7041A8 802386B8 8062019A */ lb $v0, 0x19a($v1) -/* 7041AC 802386BC 0080802D */ daddu $s0, $a0, $zero -/* 7041B0 802386C0 44820000 */ mtc1 $v0, $f0 -/* 7041B4 802386C4 00000000 */ nop -/* 7041B8 802386C8 46800020 */ cvt.s.w $f0, $f0 -/* 7041BC 802386CC 46001080 */ add.s $f2, $f2, $f0 -/* 7041C0 802386D0 3C014140 */ lui $at, 0x4140 -/* 7041C4 802386D4 44810000 */ mtc1 $at, $f0 -/* 7041C8 802386D8 84620154 */ lh $v0, 0x154($v1) -/* 7041CC 802386DC 46001580 */ add.s $f22, $f2, $f0 -/* 7041D0 802386E0 44820000 */ mtc1 $v0, $f0 -/* 7041D4 802386E4 00000000 */ nop -/* 7041D8 802386E8 46800020 */ cvt.s.w $f0, $f0 -/* 7041DC 802386EC C462014C */ lwc1 $f2, 0x14c($v1) -/* 7041E0 802386F0 8E02000C */ lw $v0, 0xc($s0) -/* 7041E4 802386F4 10A00010 */ beqz $a1, .L80238738 -/* 7041E8 802386F8 46001500 */ add.s $f20, $f2, $f0 -/* 7041EC 802386FC 8C450000 */ lw $a1, ($v0) -/* 7041F0 80238700 0C0B1EAF */ jal get_variable -/* 7041F4 80238704 00000000 */ nop -/* 7041F8 80238708 4405C000 */ mfc1 $a1, $f24 -/* 7041FC 8023870C 3C013F80 */ lui $at, 0x3f80 -/* 704200 80238710 44810000 */ mtc1 $at, $f0 -/* 704204 80238714 4406B000 */ mfc1 $a2, $f22 -/* 704208 80238718 4407A000 */ mfc1 $a3, $f20 -/* 70420C 8023871C 0000202D */ daddu $a0, $zero, $zero -/* 704210 80238720 AE020070 */ sw $v0, 0x70($s0) -/* 704214 80238724 3C028024 */ lui $v0, %hi(D_8023C1B0) -/* 704218 80238728 2442C1B0 */ addiu $v0, $v0, %lo(D_8023C1B0) -/* 70421C 8023872C AFA20014 */ sw $v0, 0x14($sp) -/* 704220 80238730 0C01C3C4 */ jal func_80070F10 -/* 704224 80238734 E7A00010 */ swc1 $f0, 0x10($sp) -.L80238738: -/* 704228 80238738 8E020070 */ lw $v0, 0x70($s0) -/* 70422C 8023873C 2442FFFF */ addiu $v0, $v0, -1 -/* 704230 80238740 10400003 */ beqz $v0, .L80238750 -/* 704234 80238744 AE020070 */ sw $v0, 0x70($s0) -/* 704238 80238748 0808E1DA */ j .L80238768 -/* 70423C 8023874C 0000102D */ daddu $v0, $zero, $zero -.L80238750: -/* 704240 80238750 3C038024 */ lui $v1, %hi(D_8023C1B0) -/* 704244 80238754 8C63C1B0 */ lw $v1, %lo(D_8023C1B0)($v1) -/* 704248 80238758 24020002 */ addiu $v0, $zero, 2 -/* 70424C 8023875C 8C64000C */ lw $a0, 0xc($v1) -/* 704250 80238760 24030005 */ addiu $v1, $zero, 5 -/* 704254 80238764 AC830014 */ sw $v1, 0x14($a0) -.L80238768: -/* 704258 80238768 8FBF001C */ lw $ra, 0x1c($sp) -/* 70425C 8023876C 8FB00018 */ lw $s0, 0x18($sp) -/* 704260 80238770 D7B80030 */ ldc1 $f24, 0x30($sp) -/* 704264 80238774 D7B60028 */ ldc1 $f22, 0x28($sp) -/* 704268 80238778 D7B40020 */ ldc1 $f20, 0x20($sp) -/* 70426C 8023877C 03E00008 */ jr $ra -/* 704270 80238780 27BD0038 */ addiu $sp, $sp, 0x38 diff --git a/ver/us/asm/nonmatchings/code_703AF0/func_80238784_704274.s b/ver/us/asm/nonmatchings/code_703AF0/func_80238784_704274.s deleted file mode 100644 index f8512e6326..0000000000 --- a/ver/us/asm/nonmatchings/code_703AF0/func_80238784_704274.s +++ /dev/null @@ -1,41 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_80238784_704274 -/* 704274 80238784 27BDFFE0 */ addiu $sp, $sp, -0x20 -/* 704278 80238788 AFB00010 */ sw $s0, 0x10($sp) -/* 70427C 8023878C 3C10800E */ lui $s0, %hi(gBattleStatus+0xDC) -/* 704280 80238790 8E10C14C */ lw $s0, %lo(gBattleStatus+0xDC)($s0) -/* 704284 80238794 AFB20018 */ sw $s2, 0x18($sp) -/* 704288 80238798 0080902D */ daddu $s2, $a0, $zero -/* 70428C 8023879C AFBF001C */ sw $ra, 0x1c($sp) -/* 704290 802387A0 AFB10014 */ sw $s1, 0x14($sp) -/* 704294 802387A4 0C09A75B */ jal get_actor -/* 704298 802387A8 86040428 */ lh $a0, 0x428($s0) -/* 70429C 802387AC 82050426 */ lb $a1, 0x426($s0) -/* 7042A0 802387B0 0040802D */ daddu $s0, $v0, $zero -/* 7042A4 802387B4 0C099117 */ jal get_actor_part -/* 7042A8 802387B8 0200202D */ daddu $a0, $s0, $zero -/* 7042AC 802387BC 24050005 */ addiu $a1, $zero, 5 -/* 7042B0 802387C0 8E04020C */ lw $a0, 0x20c($s0) -/* 7042B4 802387C4 0C0997A6 */ jal lookup_status_chance -/* 7042B8 802387C8 0040882D */ daddu $s1, $v0, $zero -/* 7042BC 802387CC 0040202D */ daddu $a0, $v0, $zero -/* 7042C0 802387D0 82030218 */ lb $v1, 0x218($s0) -/* 7042C4 802387D4 2402000E */ addiu $v0, $zero, 0xe -/* 7042C8 802387D8 50620001 */ beql $v1, $v0, .L802387E0 -/* 7042CC 802387DC 0000202D */ daddu $a0, $zero, $zero -.L802387E0: -/* 7042D0 802387E0 8E22007C */ lw $v0, 0x7c($s1) -/* 7042D4 802387E4 30420020 */ andi $v0, $v0, 0x20 -/* 7042D8 802387E8 54400001 */ bnel $v0, $zero, .L802387F0 -/* 7042DC 802387EC 0000202D */ daddu $a0, $zero, $zero -.L802387F0: -/* 7042E0 802387F0 AE440084 */ sw $a0, 0x84($s2) -/* 7042E4 802387F4 8FBF001C */ lw $ra, 0x1c($sp) -/* 7042E8 802387F8 8FB20018 */ lw $s2, 0x18($sp) -/* 7042EC 802387FC 8FB10014 */ lw $s1, 0x14($sp) -/* 7042F0 80238800 8FB00010 */ lw $s0, 0x10($sp) -/* 7042F4 80238804 24020002 */ addiu $v0, $zero, 2 -/* 7042F8 80238808 03E00008 */ jr $ra -/* 7042FC 8023880C 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/ver/us/asm/nonmatchings/code_703AF0/func_80238810_704300.s b/ver/us/asm/nonmatchings/code_703AF0/func_80238810_704300.s deleted file mode 100644 index 364fb8a53d..0000000000 --- a/ver/us/asm/nonmatchings/code_703AF0/func_80238810_704300.s +++ /dev/null @@ -1,217 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_80238810_704300 -/* 704300 80238810 27BDFFC8 */ addiu $sp, $sp, -0x38 -/* 704304 80238814 AFB20018 */ sw $s2, 0x18($sp) -/* 704308 80238818 0080902D */ daddu $s2, $a0, $zero -/* 70430C 8023881C 3C02800E */ lui $v0, %hi(gBattleStatus) -/* 704310 80238820 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus) -/* 704314 80238824 AFBF0024 */ sw $ra, 0x24($sp) -/* 704318 80238828 AFB40020 */ sw $s4, 0x20($sp) -/* 70431C 8023882C AFB3001C */ sw $s3, 0x1c($sp) -/* 704320 80238830 AFB10014 */ sw $s1, 0x14($sp) -/* 704324 80238834 AFB00010 */ sw $s0, 0x10($sp) -/* 704328 80238838 F7B60030 */ sdc1 $f22, 0x30($sp) -/* 70432C 8023883C F7B40028 */ sdc1 $f20, 0x28($sp) -/* 704330 80238840 8C5000DC */ lw $s0, 0xdc($v0) -/* 704334 80238844 8E44000C */ lw $a0, 0xc($s2) -/* 704338 80238848 8C5100D8 */ lw $s1, 0xd8($v0) -/* 70433C 8023884C 10A00002 */ beqz $a1, .L80238858 -/* 704340 80238850 2613000C */ addiu $s3, $s0, 0xc -/* 704344 80238854 AE400070 */ sw $zero, 0x70($s2) -.L80238858: -/* 704348 80238858 8E430070 */ lw $v1, 0x70($s2) -/* 70434C 8023885C 24140001 */ addiu $s4, $zero, 1 -/* 704350 80238860 10740035 */ beq $v1, $s4, .L80238938 -/* 704354 80238864 28620002 */ slti $v0, $v1, 2 -/* 704358 80238868 50400005 */ beql $v0, $zero, .L80238880 -/* 70435C 8023886C 24020002 */ addiu $v0, $zero, 2 -/* 704360 80238870 10600009 */ beqz $v1, .L80238898 -/* 704364 80238874 00000000 */ nop -/* 704368 80238878 0808E2AA */ j .L80238AA8 -/* 70436C 8023887C 00000000 */ nop -.L80238880: -/* 704370 80238880 1062005A */ beq $v1, $v0, .L802389EC -/* 704374 80238884 24020003 */ addiu $v0, $zero, 3 -/* 704378 80238888 10620084 */ beq $v1, $v0, .L80238A9C -/* 70437C 8023888C 24020002 */ addiu $v0, $zero, 2 -/* 704380 80238890 0808E2AA */ j .L80238AA8 -/* 704384 80238894 00000000 */ nop -.L80238898: -/* 704388 80238898 8C850000 */ lw $a1, ($a0) -/* 70438C 8023889C 0C0B1EAF */ jal get_variable -/* 704390 802388A0 0240202D */ daddu $a0, $s2, $zero -/* 704394 802388A4 AE420078 */ sw $v0, 0x78($s2) -/* 704398 802388A8 C62C0144 */ lwc1 $f12, 0x144($s1) -/* 70439C 802388AC C62E0148 */ lwc1 $f14, 0x148($s1) -/* 7043A0 802388B0 8E060144 */ lw $a2, 0x144($s0) -/* 7043A4 802388B4 0C00A7B5 */ jal dist2D -/* 7043A8 802388B8 8E070148 */ lw $a3, 0x148($s0) -/* 7043AC 802388BC E6000058 */ swc1 $f0, 0x58($s0) -/* 7043B0 802388C0 C6200144 */ lwc1 $f0, 0x144($s1) -/* 7043B4 802388C4 3C014210 */ lui $at, 0x4210 -/* 7043B8 802388C8 44811000 */ mtc1 $at, $f2 -/* 7043BC 802388CC C60A0144 */ lwc1 $f10, 0x144($s0) -/* 7043C0 802388D0 3C0142B4 */ lui $at, 0x42b4 -/* 7043C4 802388D4 44812000 */ mtc1 $at, $f4 -/* 7043C8 802388D8 3C0140A0 */ lui $at, 0x40a0 -/* 7043CC 802388DC 44813000 */ mtc1 $at, $f6 -/* 7043D0 802388E0 E6000018 */ swc1 $f0, 0x18($s0) -/* 7043D4 802388E4 C6200148 */ lwc1 $f0, 0x148($s1) -/* 7043D8 802388E8 3C013F00 */ lui $at, 0x3f00 -/* 7043DC 802388EC 44814000 */ mtc1 $at, $f8 -/* 7043E0 802388F0 46020000 */ add.s $f0, $f0, $f2 -/* 7043E4 802388F4 C602014C */ lwc1 $f2, 0x14c($s0) -/* 7043E8 802388F8 E600001C */ swc1 $f0, 0x1c($s0) -/* 7043EC 802388FC C62C014C */ lwc1 $f12, 0x14c($s1) -/* 7043F0 80238900 C6000148 */ lwc1 $f0, 0x148($s0) -/* 7043F4 80238904 2402005A */ addiu $v0, $zero, 0x5a -/* 7043F8 80238908 A6020070 */ sh $v0, 0x70($s0) -/* 7043FC 8023890C 2402000A */ addiu $v0, $zero, 0xa -/* 704400 80238910 E60A000C */ swc1 $f10, 0xc($s0) -/* 704404 80238914 E6020014 */ swc1 $f2, 0x14($s0) -/* 704408 80238918 E6040054 */ swc1 $f4, 0x54($s0) -/* 70440C 8023891C E6060050 */ swc1 $f6, 0x50($s0) -/* 704410 80238920 E6080048 */ swc1 $f8, 0x48($s0) -/* 704414 80238924 E6000010 */ swc1 $f0, 0x10($s0) -/* 704418 80238928 E60C0020 */ swc1 $f12, 0x20($s0) -/* 70441C 8023892C AE420074 */ sw $v0, 0x74($s2) -/* 704420 80238930 0808E2AA */ j .L80238AA8 -/* 704424 80238934 AE540070 */ sw $s4, 0x70($s2) -.L80238938: -/* 704428 80238938 C6000054 */ lwc1 $f0, 0x54($s0) -/* 70442C 8023893C 3C0140C9 */ lui $at, 0x40c9 -/* 704430 80238940 34210FD0 */ ori $at, $at, 0xfd0 -/* 704434 80238944 44811000 */ mtc1 $at, $f2 -/* 704438 80238948 00000000 */ nop -/* 70443C 8023894C 46020002 */ mul.s $f0, $f0, $f2 -/* 704440 80238950 00000000 */ nop -/* 704444 80238954 3C0143B4 */ lui $at, 0x43b4 -/* 704448 80238958 44811000 */ mtc1 $at, $f2 -/* 70444C 8023895C 00000000 */ nop -/* 704450 80238960 46020503 */ div.s $f20, $f0, $f2 -/* 704454 80238964 0C00A85B */ jal sin_rad -/* 704458 80238968 4600A306 */ mov.s $f12, $f20 -/* 70445C 8023896C 46000586 */ mov.s $f22, $f0 -/* 704460 80238970 0C00A874 */ jal cos_rad -/* 704464 80238974 4600A306 */ mov.s $f12, $f20 -/* 704468 80238978 C6020058 */ lwc1 $f2, 0x58($s0) -/* 70446C 8023897C 46161182 */ mul.s $f6, $f2, $f22 -/* 704470 80238980 00000000 */ nop -/* 704474 80238984 46001087 */ neg.s $f2, $f2 -/* 704478 80238988 46001202 */ mul.s $f8, $f2, $f0 -/* 70447C 8023898C 00000000 */ nop -/* 704480 80238990 C6020050 */ lwc1 $f2, 0x50($s0) -/* 704484 80238994 C6000048 */ lwc1 $f0, 0x48($s0) -/* 704488 80238998 46001080 */ add.s $f2, $f2, $f0 -/* 70448C 8023899C C60C0054 */ lwc1 $f12, 0x54($s0) -/* 704490 802389A0 46026300 */ add.s $f12, $f12, $f2 -/* 704494 802389A4 C6040018 */ lwc1 $f4, 0x18($s0) -/* 704498 802389A8 C600001C */ lwc1 $f0, 0x1c($s0) -/* 70449C 802389AC 46062100 */ add.s $f4, $f4, $f6 -/* 7044A0 802389B0 E6020050 */ swc1 $f2, 0x50($s0) -/* 7044A4 802389B4 46080000 */ add.s $f0, $f0, $f8 -/* 7044A8 802389B8 E60C0054 */ swc1 $f12, 0x54($s0) -/* 7044AC 802389BC E604000C */ swc1 $f4, 0xc($s0) -/* 7044B0 802389C0 0C00A6C9 */ jal clamp_angle -/* 7044B4 802389C4 E6000010 */ swc1 $f0, 0x10($s0) -/* 7044B8 802389C8 96020070 */ lhu $v0, 0x70($s0) -/* 7044BC 802389CC E6000054 */ swc1 $f0, 0x54($s0) -/* 7044C0 802389D0 2442FFFF */ addiu $v0, $v0, -1 -/* 7044C4 802389D4 A6020070 */ sh $v0, 0x70($s0) -/* 7044C8 802389D8 00021400 */ sll $v0, $v0, 0x10 -/* 7044CC 802389DC 14400032 */ bnez $v0, .L80238AA8 -/* 7044D0 802389E0 24020002 */ addiu $v0, $zero, 2 -/* 7044D4 802389E4 0808E2AA */ j .L80238AA8 -/* 7044D8 802389E8 AE420070 */ sw $v0, 0x70($s2) -.L802389EC: -/* 7044DC 802389EC C6000054 */ lwc1 $f0, 0x54($s0) -/* 7044E0 802389F0 3C0140C9 */ lui $at, 0x40c9 -/* 7044E4 802389F4 34210FD0 */ ori $at, $at, 0xfd0 -/* 7044E8 802389F8 44811000 */ mtc1 $at, $f2 -/* 7044EC 802389FC 00000000 */ nop -/* 7044F0 80238A00 46020002 */ mul.s $f0, $f0, $f2 -/* 7044F4 80238A04 00000000 */ nop -/* 7044F8 80238A08 3C0143B4 */ lui $at, 0x43b4 -/* 7044FC 80238A0C 44811000 */ mtc1 $at, $f2 -/* 704500 80238A10 00000000 */ nop -/* 704504 80238A14 46020503 */ div.s $f20, $f0, $f2 -/* 704508 80238A18 0C00A85B */ jal sin_rad -/* 70450C 80238A1C 4600A306 */ mov.s $f12, $f20 -/* 704510 80238A20 46000586 */ mov.s $f22, $f0 -/* 704514 80238A24 0C00A874 */ jal cos_rad -/* 704518 80238A28 4600A306 */ mov.s $f12, $f20 -/* 70451C 80238A2C C6020058 */ lwc1 $f2, 0x58($s0) -/* 704520 80238A30 46161182 */ mul.s $f6, $f2, $f22 -/* 704524 80238A34 00000000 */ nop -/* 704528 80238A38 46001087 */ neg.s $f2, $f2 -/* 70452C 80238A3C 46001202 */ mul.s $f8, $f2, $f0 -/* 704530 80238A40 00000000 */ nop -/* 704534 80238A44 C60C0054 */ lwc1 $f12, 0x54($s0) -/* 704538 80238A48 C6000050 */ lwc1 $f0, 0x50($s0) -/* 70453C 80238A4C 46006300 */ add.s $f12, $f12, $f0 -/* 704540 80238A50 C6020018 */ lwc1 $f2, 0x18($s0) -/* 704544 80238A54 46061080 */ add.s $f2, $f2, $f6 -/* 704548 80238A58 C600001C */ lwc1 $f0, 0x1c($s0) -/* 70454C 80238A5C 46080000 */ add.s $f0, $f0, $f8 -/* 704550 80238A60 E60C0054 */ swc1 $f12, 0x54($s0) -/* 704554 80238A64 E602000C */ swc1 $f2, 0xc($s0) -/* 704558 80238A68 0C00A6C9 */ jal clamp_angle -/* 70455C 80238A6C E6000010 */ swc1 $f0, 0x10($s0) -/* 704560 80238A70 3C014234 */ lui $at, 0x4234 -/* 704564 80238A74 44811000 */ mtc1 $at, $f2 -/* 704568 80238A78 00000000 */ nop -/* 70456C 80238A7C 4602003C */ c.lt.s $f0, $f2 -/* 704570 80238A80 00000000 */ nop -/* 704574 80238A84 45000004 */ bc1f .L80238A98 -/* 704578 80238A88 E6000054 */ swc1 $f0, 0x54($s0) -/* 70457C 80238A8C 24020003 */ addiu $v0, $zero, 3 -/* 704580 80238A90 0808E2AA */ j .L80238AA8 -/* 704584 80238A94 AE420070 */ sw $v0, 0x70($s2) -.L80238A98: -/* 704588 80238A98 24020002 */ addiu $v0, $zero, 2 -.L80238A9C: -/* 70458C 80238A9C AE20018C */ sw $zero, 0x18c($s1) -/* 704590 80238AA0 0808E2C5 */ j .L80238B14 -/* 704594 80238AA4 AE00018C */ sw $zero, 0x18c($s0) -.L80238AA8: -/* 704598 80238AA8 C6600048 */ lwc1 $f0, 0x48($s3) -/* 70459C 80238AAC 3C014334 */ lui $at, 0x4334 -/* 7045A0 80238AB0 44811000 */ mtc1 $at, $f2 -/* 7045A4 80238AB4 00000000 */ nop -/* 7045A8 80238AB8 4600103C */ c.lt.s $f2, $f0 -/* 7045AC 80238ABC 00000000 */ nop -/* 7045B0 80238AC0 45020002 */ bc1fl .L80238ACC -/* 7045B4 80238AC4 E602018C */ swc1 $f2, 0x18c($s0) -/* 7045B8 80238AC8 AE00018C */ sw $zero, 0x18c($s0) -.L80238ACC: -/* 7045BC 80238ACC C6600000 */ lwc1 $f0, ($s3) -/* 7045C0 80238AD0 E6000144 */ swc1 $f0, 0x144($s0) -/* 7045C4 80238AD4 C6600004 */ lwc1 $f0, 4($s3) -/* 7045C8 80238AD8 E6000148 */ swc1 $f0, 0x148($s0) -/* 7045CC 80238ADC C6600008 */ lwc1 $f0, 8($s3) -/* 7045D0 80238AE0 E600014C */ swc1 $f0, 0x14c($s0) -/* 7045D4 80238AE4 8E420078 */ lw $v0, 0x78($s2) -/* 7045D8 80238AE8 1440000A */ bnez $v0, .L80238B14 -/* 7045DC 80238AEC 0000102D */ daddu $v0, $zero, $zero -/* 7045E0 80238AF0 C620018C */ lwc1 $f0, 0x18c($s1) -/* 7045E4 80238AF4 C6420074 */ lwc1 $f2, 0x74($s2) -/* 7045E8 80238AF8 468010A0 */ cvt.s.w $f2, $f2 -/* 7045EC 80238AFC 46020000 */ add.s $f0, $f0, $f2 -/* 7045F0 80238B00 E620018C */ swc1 $f0, 0x18c($s1) -/* 7045F4 80238B04 8E420074 */ lw $v0, 0x74($s2) -/* 7045F8 80238B08 24420001 */ addiu $v0, $v0, 1 -/* 7045FC 80238B0C AE420074 */ sw $v0, 0x74($s2) -/* 704600 80238B10 0000102D */ daddu $v0, $zero, $zero -.L80238B14: -/* 704604 80238B14 8FBF0024 */ lw $ra, 0x24($sp) -/* 704608 80238B18 8FB40020 */ lw $s4, 0x20($sp) -/* 70460C 80238B1C 8FB3001C */ lw $s3, 0x1c($sp) -/* 704610 80238B20 8FB20018 */ lw $s2, 0x18($sp) -/* 704614 80238B24 8FB10014 */ lw $s1, 0x14($sp) -/* 704618 80238B28 8FB00010 */ lw $s0, 0x10($sp) -/* 70461C 80238B2C D7B60030 */ ldc1 $f22, 0x30($sp) -/* 704620 80238B30 D7B40028 */ ldc1 $f20, 0x28($sp) -/* 704624 80238B34 03E00008 */ jr $ra -/* 704628 80238B38 27BD0038 */ addiu $sp, $sp, 0x38 diff --git a/ver/us/asm/nonmatchings/code_703AF0/func_80238B3C_70462C.s b/ver/us/asm/nonmatchings/code_703AF0/func_80238B3C_70462C.s deleted file mode 100644 index 6711fe8a70..0000000000 --- a/ver/us/asm/nonmatchings/code_703AF0/func_80238B3C_70462C.s +++ /dev/null @@ -1,55 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_80238B3C_70462C -/* 70462C 80238B3C 27BDFFD8 */ addiu $sp, $sp, -0x28 -/* 704630 80238B40 AFB1001C */ sw $s1, 0x1c($sp) -/* 704634 80238B44 0080882D */ daddu $s1, $a0, $zero -/* 704638 80238B48 AFBF0024 */ sw $ra, 0x24($sp) -/* 70463C 80238B4C AFB20020 */ sw $s2, 0x20($sp) -/* 704640 80238B50 AFB00018 */ sw $s0, 0x18($sp) -/* 704644 80238B54 8E30000C */ lw $s0, 0xc($s1) -/* 704648 80238B58 8E050000 */ lw $a1, ($s0) -/* 70464C 80238B5C 0C0B1EAF */ jal get_variable -/* 704650 80238B60 26100004 */ addiu $s0, $s0, 4 -/* 704654 80238B64 8E050000 */ lw $a1, ($s0) -/* 704658 80238B68 26100004 */ addiu $s0, $s0, 4 -/* 70465C 80238B6C 0220202D */ daddu $a0, $s1, $zero -/* 704660 80238B70 0C0B1EAF */ jal get_variable -/* 704664 80238B74 0040902D */ daddu $s2, $v0, $zero -/* 704668 80238B78 0220202D */ daddu $a0, $s1, $zero -/* 70466C 80238B7C 8E050000 */ lw $a1, ($s0) -/* 704670 80238B80 0C0B1EAF */ jal get_variable -/* 704674 80238B84 0040802D */ daddu $s0, $v0, $zero -/* 704678 80238B88 0000202D */ daddu $a0, $zero, $zero -/* 70467C 80238B8C 44921000 */ mtc1 $s2, $f2 -/* 704680 80238B90 00000000 */ nop -/* 704684 80238B94 468010A0 */ cvt.s.w $f2, $f2 -/* 704688 80238B98 44051000 */ mfc1 $a1, $f2 -/* 70468C 80238B9C 44901000 */ mtc1 $s0, $f2 -/* 704690 80238BA0 00000000 */ nop -/* 704694 80238BA4 468010A0 */ cvt.s.w $f2, $f2 -/* 704698 80238BA8 44061000 */ mfc1 $a2, $f2 -/* 70469C 80238BAC 44821000 */ mtc1 $v0, $f2 -/* 7046A0 80238BB0 00000000 */ nop -/* 7046A4 80238BB4 468010A0 */ cvt.s.w $f2, $f2 -/* 7046A8 80238BB8 3C013F80 */ lui $at, 0x3f80 -/* 7046AC 80238BBC 44810000 */ mtc1 $at, $f0 -/* 7046B0 80238BC0 44071000 */ mfc1 $a3, $f2 -/* 7046B4 80238BC4 2403003C */ addiu $v1, $zero, 0x3c -/* 7046B8 80238BC8 AFA30014 */ sw $v1, 0x14($sp) -/* 7046BC 80238BCC 0C01C664 */ jal func_80071990 -/* 7046C0 80238BD0 E7A00010 */ swc1 $f0, 0x10($sp) -/* 7046C4 80238BD4 0040182D */ daddu $v1, $v0, $zero -/* 7046C8 80238BD8 8C64000C */ lw $a0, 0xc($v1) -/* 7046CC 80238BDC 24020002 */ addiu $v0, $zero, 2 -/* 7046D0 80238BE0 3C018024 */ lui $at, %hi(D_8023C1B4) -/* 7046D4 80238BE4 AC23C1B4 */ sw $v1, %lo(D_8023C1B4)($at) -/* 7046D8 80238BE8 0040182D */ daddu $v1, $v0, $zero -/* 7046DC 80238BEC AC830030 */ sw $v1, 0x30($a0) -/* 7046E0 80238BF0 8FBF0024 */ lw $ra, 0x24($sp) -/* 7046E4 80238BF4 8FB20020 */ lw $s2, 0x20($sp) -/* 7046E8 80238BF8 8FB1001C */ lw $s1, 0x1c($sp) -/* 7046EC 80238BFC 8FB00018 */ lw $s0, 0x18($sp) -/* 7046F0 80238C00 03E00008 */ jr $ra -/* 7046F4 80238C04 27BD0028 */ addiu $sp, $sp, 0x28 diff --git a/ver/us/asm/nonmatchings/code_703AF0/func_80238C08_7046F8.s b/ver/us/asm/nonmatchings/code_703AF0/func_80238C08_7046F8.s deleted file mode 100644 index e56a311351..0000000000 --- a/ver/us/asm/nonmatchings/code_703AF0/func_80238C08_7046F8.s +++ /dev/null @@ -1,39 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_80238C08_7046F8 -/* 7046F8 80238C08 8C830084 */ lw $v1, 0x84($a0) -/* 7046FC 80238C0C 3C05800E */ lui $a1, %hi(gBattleStatus) -/* 704700 80238C10 24A5C070 */ addiu $a1, $a1, %lo(gBattleStatus) -/* 704704 80238C14 18600003 */ blez $v1, .L80238C24 -/* 704708 80238C18 24020001 */ addiu $v0, $zero, 1 -/* 70470C 80238C1C 0808E30A */ j .L80238C28 -/* 704710 80238C20 AC820084 */ sw $v0, 0x84($a0) -.L80238C24: -/* 704714 80238C24 AC800084 */ sw $zero, 0x84($a0) -.L80238C28: -/* 704718 80238C28 AC8000C0 */ sw $zero, 0xc0($a0) -/* 70471C 80238C2C AC8300AC */ sw $v1, 0xac($a0) -/* 704720 80238C30 80A2009B */ lb $v0, 0x9b($a1) -/* 704724 80238C34 0043102A */ slt $v0, $v0, $v1 -/* 704728 80238C38 10400009 */ beqz $v0, .L80238C60 -/* 70472C 80238C3C 24020001 */ addiu $v0, $zero, 1 -/* 704730 80238C40 A0A3009B */ sb $v1, 0x9b($a1) -/* 704734 80238C44 A0A2009C */ sb $v0, 0x9c($a1) -/* 704738 80238C48 0060102D */ daddu $v0, $v1, $zero -/* 70473C 80238C4C 8CA3043C */ lw $v1, 0x43c($a1) -/* 704740 80238C50 00021600 */ sll $v0, $v0, 0x18 -/* 704744 80238C54 8C63000C */ lw $v1, 0xc($v1) -/* 704748 80238C58 00021603 */ sra $v0, $v0, 0x18 -/* 70474C 80238C5C A4620024 */ sh $v0, 0x24($v1) -.L80238C60: -/* 704750 80238C60 3C04800E */ lui $a0, %hi(gBattleStatus) -/* 704754 80238C64 2484C070 */ addiu $a0, $a0, %lo(gBattleStatus) -/* 704758 80238C68 8C830004 */ lw $v1, 4($a0) -/* 70475C 80238C6C 30620002 */ andi $v0, $v1, 2 -/* 704760 80238C70 10400002 */ beqz $v0, .L80238C7C -/* 704764 80238C74 34620100 */ ori $v0, $v1, 0x100 -/* 704768 80238C78 AC820004 */ sw $v0, 4($a0) -.L80238C7C: -/* 70476C 80238C7C 03E00008 */ jr $ra -/* 704770 80238C80 24020002 */ addiu $v0, $zero, 2 diff --git a/ver/us/asm/nonmatchings/code_703AF0/func_80238C84_704774.s b/ver/us/asm/nonmatchings/code_703AF0/func_80238C84_704774.s deleted file mode 100644 index 59143adc66..0000000000 --- a/ver/us/asm/nonmatchings/code_703AF0/func_80238C84_704774.s +++ /dev/null @@ -1,130 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_80238C84_704774 -/* 704774 80238C84 27BDFFD8 */ addiu $sp, $sp, -0x28 -/* 704778 80238C88 AFB20020 */ sw $s2, 0x20($sp) -/* 70477C 80238C8C 0080902D */ daddu $s2, $a0, $zero -/* 704780 80238C90 AFBF0024 */ sw $ra, 0x24($sp) -/* 704784 80238C94 AFB1001C */ sw $s1, 0x1c($sp) -/* 704788 80238C98 AFB00018 */ sw $s0, 0x18($sp) -/* 70478C 80238C9C 8E50000C */ lw $s0, 0xc($s2) -/* 704790 80238CA0 54A00001 */ bnel $a1, $zero, .L80238CA8 -/* 704794 80238CA4 AE400070 */ sw $zero, 0x70($s2) -.L80238CA8: -/* 704798 80238CA8 8E430070 */ lw $v1, 0x70($s2) -/* 70479C 80238CAC 10600005 */ beqz $v1, .L80238CC4 -/* 7047A0 80238CB0 24020001 */ addiu $v0, $zero, 1 -/* 7047A4 80238CB4 1062003F */ beq $v1, $v0, .L80238DB4 -/* 7047A8 80238CB8 0000102D */ daddu $v0, $zero, $zero -/* 7047AC 80238CBC 0808E391 */ j .L80238E44 -/* 7047B0 80238CC0 00000000 */ nop -.L80238CC4: -/* 7047B4 80238CC4 8E050000 */ lw $a1, ($s0) -/* 7047B8 80238CC8 26100004 */ addiu $s0, $s0, 4 -/* 7047BC 80238CCC 0C0B1EAF */ jal get_variable -/* 7047C0 80238CD0 0240202D */ daddu $a0, $s2, $zero -/* 7047C4 80238CD4 AE420074 */ sw $v0, 0x74($s2) -/* 7047C8 80238CD8 8E050000 */ lw $a1, ($s0) -/* 7047CC 80238CDC 26100004 */ addiu $s0, $s0, 4 -/* 7047D0 80238CE0 0C0B1EAF */ jal get_variable -/* 7047D4 80238CE4 0240202D */ daddu $a0, $s2, $zero -/* 7047D8 80238CE8 8E050000 */ lw $a1, ($s0) -/* 7047DC 80238CEC 26100004 */ addiu $s0, $s0, 4 -/* 7047E0 80238CF0 0240202D */ daddu $a0, $s2, $zero -/* 7047E4 80238CF4 0C0B1EAF */ jal get_variable -/* 7047E8 80238CF8 0040882D */ daddu $s1, $v0, $zero -/* 7047EC 80238CFC 0240202D */ daddu $a0, $s2, $zero -/* 7047F0 80238D00 8E050000 */ lw $a1, ($s0) -/* 7047F4 80238D04 0C0B1EAF */ jal get_variable -/* 7047F8 80238D08 0040802D */ daddu $s0, $v0, $zero -/* 7047FC 80238D0C 0000202D */ daddu $a0, $zero, $zero -/* 704800 80238D10 24030014 */ addiu $v1, $zero, 0x14 -/* 704804 80238D14 AE430078 */ sw $v1, 0x78($s2) -/* 704808 80238D18 2403000A */ addiu $v1, $zero, 0xa -/* 70480C 80238D1C 44911000 */ mtc1 $s1, $f2 -/* 704810 80238D20 00000000 */ nop -/* 704814 80238D24 468010A0 */ cvt.s.w $f2, $f2 -/* 704818 80238D28 44051000 */ mfc1 $a1, $f2 -/* 70481C 80238D2C 44901000 */ mtc1 $s0, $f2 -/* 704820 80238D30 00000000 */ nop -/* 704824 80238D34 468010A0 */ cvt.s.w $f2, $f2 -/* 704828 80238D38 3C013F80 */ lui $at, 0x3f80 -/* 70482C 80238D3C 44810000 */ mtc1 $at, $f0 -/* 704830 80238D40 44061000 */ mfc1 $a2, $f2 -/* 704834 80238D44 44821000 */ mtc1 $v0, $f2 -/* 704838 80238D48 00000000 */ nop -/* 70483C 80238D4C 468010A0 */ cvt.s.w $f2, $f2 -/* 704840 80238D50 AE43007C */ sw $v1, 0x7c($s2) -/* 704844 80238D54 E7A00010 */ swc1 $f0, 0x10($sp) -/* 704848 80238D58 8E430078 */ lw $v1, 0x78($s2) -/* 70484C 80238D5C 44071000 */ mfc1 $a3, $f2 -/* 704850 80238D60 2463000A */ addiu $v1, $v1, 0xa -/* 704854 80238D64 0C01C664 */ jal func_80071990 -/* 704858 80238D68 AFA30014 */ sw $v1, 0x14($sp) -/* 70485C 80238D6C 8C43000C */ lw $v1, 0xc($v0) -/* 704860 80238D70 3C018024 */ lui $at, %hi(D_8023C1B4) -/* 704864 80238D74 AC22C1B4 */ sw $v0, %lo(D_8023C1B4)($at) -/* 704868 80238D78 24020003 */ addiu $v0, $zero, 3 -/* 70486C 80238D7C AC620030 */ sw $v0, 0x30($v1) -/* 704870 80238D80 8E420074 */ lw $v0, 0x74($s2) -/* 704874 80238D84 04420001 */ bltzl $v0, .L80238D8C -/* 704878 80238D88 2442000F */ addiu $v0, $v0, 0xf -.L80238D8C: -/* 70487C 80238D8C 00021103 */ sra $v0, $v0, 4 -/* 704880 80238D90 00021080 */ sll $v0, $v0, 2 -/* 704884 80238D94 3C038024 */ lui $v1, %hi(D_8023B948_707438) -/* 704888 80238D98 2463B948 */ addiu $v1, $v1, %lo(D_8023B948_707438) -/* 70488C 80238D9C 00431021 */ addu $v0, $v0, $v1 -/* 704890 80238DA0 8C430000 */ lw $v1, ($v0) -/* 704894 80238DA4 24020001 */ addiu $v0, $zero, 1 -/* 704898 80238DA8 AE420070 */ sw $v0, 0x70($s2) -/* 70489C 80238DAC 0808E390 */ j .L80238E40 -/* 7048A0 80238DB0 AE430074 */ sw $v1, 0x74($s2) -.L80238DB4: -/* 7048A4 80238DB4 2402000A */ addiu $v0, $zero, 0xa -/* 7048A8 80238DB8 8E43007C */ lw $v1, 0x7c($s2) -/* 7048AC 80238DBC 8E440074 */ lw $a0, 0x74($s2) -/* 7048B0 80238DC0 00431023 */ subu $v0, $v0, $v1 -/* 7048B4 80238DC4 00820018 */ mult $a0, $v0 -/* 7048B8 80238DC8 3C046666 */ lui $a0, 0x6666 -/* 7048BC 80238DCC 34846667 */ ori $a0, $a0, 0x6667 -/* 7048C0 80238DD0 00031040 */ sll $v0, $v1, 1 -/* 7048C4 80238DD4 00004812 */ mflo $t1 -/* 7048C8 80238DD8 00431021 */ addu $v0, $v0, $v1 -/* 7048CC 80238DDC 00491021 */ addu $v0, $v0, $t1 -/* 7048D0 80238DE0 00440018 */ mult $v0, $a0 -/* 7048D4 80238DE4 3C058024 */ lui $a1, %hi(D_8023C1B4) -/* 7048D8 80238DE8 24A5C1B4 */ addiu $a1, $a1, %lo(D_8023C1B4) -/* 7048DC 80238DEC 8CA40000 */ lw $a0, ($a1) -/* 7048E0 80238DF0 000217C3 */ sra $v0, $v0, 0x1f -/* 7048E4 80238DF4 8C84000C */ lw $a0, 0xc($a0) -/* 7048E8 80238DF8 00001810 */ mfhi $v1 -/* 7048EC 80238DFC 00031883 */ sra $v1, $v1, 2 -/* 7048F0 80238E00 00621823 */ subu $v1, $v1, $v0 -/* 7048F4 80238E04 AC830030 */ sw $v1, 0x30($a0) -/* 7048F8 80238E08 8E42007C */ lw $v0, 0x7c($s2) -/* 7048FC 80238E0C 10400002 */ beqz $v0, .L80238E18 -/* 704900 80238E10 2442FFFF */ addiu $v0, $v0, -1 -/* 704904 80238E14 AE42007C */ sw $v0, 0x7c($s2) -.L80238E18: -/* 704908 80238E18 8E420078 */ lw $v0, 0x78($s2) -/* 70490C 80238E1C 14400007 */ bnez $v0, .L80238E3C -/* 704910 80238E20 2442FFFF */ addiu $v0, $v0, -1 -/* 704914 80238E24 8CA40000 */ lw $a0, ($a1) -/* 704918 80238E28 8C830000 */ lw $v1, ($a0) -/* 70491C 80238E2C 24020002 */ addiu $v0, $zero, 2 -/* 704920 80238E30 34630010 */ ori $v1, $v1, 0x10 -/* 704924 80238E34 0808E391 */ j .L80238E44 -/* 704928 80238E38 AC830000 */ sw $v1, ($a0) -.L80238E3C: -/* 70492C 80238E3C AE420078 */ sw $v0, 0x78($s2) -.L80238E40: -/* 704930 80238E40 0000102D */ daddu $v0, $zero, $zero -.L80238E44: -/* 704934 80238E44 8FBF0024 */ lw $ra, 0x24($sp) -/* 704938 80238E48 8FB20020 */ lw $s2, 0x20($sp) -/* 70493C 80238E4C 8FB1001C */ lw $s1, 0x1c($sp) -/* 704940 80238E50 8FB00018 */ lw $s0, 0x18($sp) -/* 704944 80238E54 03E00008 */ jr $ra -/* 704948 80238E58 27BD0028 */ addiu $sp, $sp, 0x28 diff --git a/ver/us/asm/nonmatchings/code_707CA0/func_80238000_707CA0.s b/ver/us/asm/nonmatchings/code_707CA0/func_80238000_707CA0.s deleted file mode 100644 index e6ebffad05..0000000000 --- a/ver/us/asm/nonmatchings/code_707CA0/func_80238000_707CA0.s +++ /dev/null @@ -1,74 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_80238000_707CA0 -/* 707CA0 80238000 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 707CA4 80238004 AFB00010 */ sw $s0, 0x10($sp) -/* 707CA8 80238008 3C10800E */ lui $s0, %hi(gBattleStatus+0xDC) -/* 707CAC 8023800C 8E10C14C */ lw $s0, %lo(gBattleStatus+0xDC)($s0) -/* 707CB0 80238010 AFBF0014 */ sw $ra, 0x14($sp) -/* 707CB4 80238014 86050428 */ lh $a1, 0x428($s0) -/* 707CB8 80238018 82060426 */ lb $a2, 0x426($s0) -/* 707CBC 8023801C 0C09A5D5 */ jal set_goal_pos_to_part -/* 707CC0 80238020 2604000C */ addiu $a0, $s0, 0xc -/* 707CC4 80238024 86040428 */ lh $a0, 0x428($s0) -/* 707CC8 80238028 0C09A75B */ jal get_actor -/* 707CCC 8023802C 00000000 */ nop -/* 707CD0 80238030 82050426 */ lb $a1, 0x426($s0) -/* 707CD4 80238034 0C099117 */ jal get_actor_part -/* 707CD8 80238038 0040202D */ daddu $a0, $v0, $zero -/* 707CDC 8023803C 80430075 */ lb $v1, 0x75($v0) -/* 707CE0 80238040 C6020018 */ lwc1 $f2, 0x18($s0) -/* 707CE4 80238044 C6060144 */ lwc1 $f6, 0x144($s0) -/* 707CE8 80238048 44830000 */ mtc1 $v1, $f0 -/* 707CEC 8023804C 00000000 */ nop -/* 707CF0 80238050 46800020 */ cvt.s.w $f0, $f0 -/* 707CF4 80238054 46001080 */ add.s $f2, $f2, $f0 -/* 707CF8 80238058 3C014100 */ lui $at, 0x4100 -/* 707CFC 8023805C 44810000 */ mtc1 $at, $f0 -/* 707D00 80238060 C6040148 */ lwc1 $f4, 0x148($s0) -/* 707D04 80238064 46003180 */ add.s $f6, $f6, $f0 -/* 707D08 80238068 3C014180 */ lui $at, 0x4180 -/* 707D0C 8023806C 44810000 */ mtc1 $at, $f0 -/* 707D10 80238070 00000000 */ nop -/* 707D14 80238074 46002100 */ add.s $f4, $f4, $f0 -/* 707D18 80238078 E6020018 */ swc1 $f2, 0x18($s0) -/* 707D1C 8023807C 44061000 */ mfc1 $a2, $f2 -/* 707D20 80238080 80420076 */ lb $v0, 0x76($v0) -/* 707D24 80238084 C602001C */ lwc1 $f2, 0x1c($s0) -/* 707D28 80238088 44820000 */ mtc1 $v0, $f0 -/* 707D2C 8023808C 00000000 */ nop -/* 707D30 80238090 46800020 */ cvt.s.w $f0, $f0 -/* 707D34 80238094 46001080 */ add.s $f2, $f2, $f0 -/* 707D38 80238098 C6000020 */ lwc1 $f0, 0x20($s0) -/* 707D3C 8023809C E606000C */ swc1 $f6, 0xc($s0) -/* 707D40 802380A0 46003306 */ mov.s $f12, $f6 -/* 707D44 802380A4 E6040010 */ swc1 $f4, 0x10($s0) -/* 707D48 802380A8 E602001C */ swc1 $f2, 0x1c($s0) -/* 707D4C 802380AC C602014C */ lwc1 $f2, 0x14c($s0) -/* 707D50 802380B0 8E07001C */ lw $a3, 0x1c($s0) -/* 707D54 802380B4 46002386 */ mov.s $f14, $f4 -/* 707D58 802380B8 0C00A720 */ jal atan2 -/* 707D5C 802380BC E6020014 */ swc1 $f2, 0x14($s0) -/* 707D60 802380C0 3C0142B4 */ lui $at, 0x42b4 -/* 707D64 802380C4 44812000 */ mtc1 $at, $f4 -/* 707D68 802380C8 00000000 */ nop -/* 707D6C 802380CC 46040101 */ sub.s $f4, $f0, $f4 -/* 707D70 802380D0 3C013E80 */ lui $at, 0x3e80 -/* 707D74 802380D4 44811000 */ mtc1 $at, $f2 -/* 707D78 802380D8 00000000 */ nop -/* 707D7C 802380DC 46022102 */ mul.s $f4, $f4, $f2 -/* 707D80 802380E0 00000000 */ nop -/* 707D84 802380E4 44801000 */ mtc1 $zero, $f2 -/* 707D88 802380E8 E6000054 */ swc1 $f0, 0x54($s0) -/* 707D8C 802380EC 4602203C */ c.lt.s $f4, $f2 -/* 707D90 802380F0 00000000 */ nop -/* 707D94 802380F4 45000002 */ bc1f .L80238100 -/* 707D98 802380F8 E6040164 */ swc1 $f4, 0x164($s0) -/* 707D9C 802380FC E6020164 */ swc1 $f2, 0x164($s0) -.L80238100: -/* 707DA0 80238100 8FBF0014 */ lw $ra, 0x14($sp) -/* 707DA4 80238104 8FB00010 */ lw $s0, 0x10($sp) -/* 707DA8 80238108 24020002 */ addiu $v0, $zero, 2 -/* 707DAC 8023810C 03E00008 */ jr $ra -/* 707DB0 80238110 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/ver/us/asm/nonmatchings/code_707CA0/func_80238114_707DB4.s b/ver/us/asm/nonmatchings/code_707CA0/func_80238114_707DB4.s deleted file mode 100644 index cdd298d4a6..0000000000 --- a/ver/us/asm/nonmatchings/code_707CA0/func_80238114_707DB4.s +++ /dev/null @@ -1,65 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_80238114_707DB4 -/* 707DB4 80238114 3C02800E */ lui $v0, %hi(gBattleStatus+0xDC) -/* 707DB8 80238118 8C42C14C */ lw $v0, %lo(gBattleStatus+0xDC)($v0) -/* 707DBC 8023811C 8C860084 */ lw $a2, 0x84($a0) -/* 707DC0 80238120 AC800084 */ sw $zero, 0x84($a0) -/* 707DC4 80238124 8C420008 */ lw $v0, 8($v0) -/* 707DC8 80238128 90430006 */ lbu $v1, 6($v0) -/* 707DCC 8023812C 24070001 */ addiu $a3, $zero, 1 -/* 707DD0 80238130 10670013 */ beq $v1, $a3, .L80238180 -/* 707DD4 80238134 0000282D */ daddu $a1, $zero, $zero -/* 707DD8 80238138 28620002 */ slti $v0, $v1, 2 -/* 707DDC 8023813C 10400005 */ beqz $v0, .L80238154 -/* 707DE0 80238140 24020002 */ addiu $v0, $zero, 2 -/* 707DE4 80238144 10600007 */ beqz $v1, .L80238164 -/* 707DE8 80238148 28C20029 */ slti $v0, $a2, 0x29 -/* 707DEC 8023814C 0808E079 */ j .L802381E4 -/* 707DF0 80238150 AC8500C0 */ sw $a1, 0xc0($a0) -.L80238154: -/* 707DF4 80238154 10620015 */ beq $v1, $v0, .L802381AC -/* 707DF8 80238158 28C20015 */ slti $v0, $a2, 0x15 -/* 707DFC 8023815C 03E00008 */ jr $ra -/* 707E00 80238160 AC8500C0 */ sw $a1, 0xc0($a0) -.L80238164: -/* 707E04 80238164 1440001E */ bnez $v0, .L802381E0 -/* 707E08 80238168 24050003 */ addiu $a1, $zero, 3 -/* 707E0C 8023816C 28C2004C */ slti $v0, $a2, 0x4c -/* 707E10 80238170 1440001B */ bnez $v0, .L802381E0 -/* 707E14 80238174 24050004 */ addiu $a1, $zero, 4 -/* 707E18 80238178 0808E077 */ j .L802381DC -/* 707E1C 8023817C 24050005 */ addiu $a1, $zero, 5 -.L80238180: -/* 707E20 80238180 28C20024 */ slti $v0, $a2, 0x24 -/* 707E24 80238184 14400016 */ bnez $v0, .L802381E0 -/* 707E28 80238188 24050003 */ addiu $a1, $zero, 3 -/* 707E2C 8023818C 28C2003D */ slti $v0, $a2, 0x3d -/* 707E30 80238190 14400013 */ bnez $v0, .L802381E0 -/* 707E34 80238194 24050004 */ addiu $a1, $zero, 4 -/* 707E38 80238198 28C20051 */ slti $v0, $a2, 0x51 -/* 707E3C 8023819C 14400010 */ bnez $v0, .L802381E0 -/* 707E40 802381A0 24050005 */ addiu $a1, $zero, 5 -/* 707E44 802381A4 0808E077 */ j .L802381DC -/* 707E48 802381A8 24050006 */ addiu $a1, $zero, 6 -.L802381AC: -/* 707E4C 802381AC 1440000C */ bnez $v0, .L802381E0 -/* 707E50 802381B0 24050003 */ addiu $a1, $zero, 3 -/* 707E54 802381B4 28C2001F */ slti $v0, $a2, 0x1f -/* 707E58 802381B8 14400009 */ bnez $v0, .L802381E0 -/* 707E5C 802381BC 24050004 */ addiu $a1, $zero, 4 -/* 707E60 802381C0 28C2003D */ slti $v0, $a2, 0x3d -/* 707E64 802381C4 14400006 */ bnez $v0, .L802381E0 -/* 707E68 802381C8 24050005 */ addiu $a1, $zero, 5 -/* 707E6C 802381CC 28C20051 */ slti $v0, $a2, 0x51 -/* 707E70 802381D0 14400003 */ bnez $v0, .L802381E0 -/* 707E74 802381D4 24050006 */ addiu $a1, $zero, 6 -/* 707E78 802381D8 24050007 */ addiu $a1, $zero, 7 -.L802381DC: -/* 707E7C 802381DC AC870084 */ sw $a3, 0x84($a0) -.L802381E0: -/* 707E80 802381E0 AC8500C0 */ sw $a1, 0xc0($a0) -.L802381E4: -/* 707E84 802381E4 03E00008 */ jr $ra -/* 707E88 802381E8 24020002 */ addiu $v0, $zero, 2 diff --git a/ver/us/asm/nonmatchings/code_707CA0/func_802381EC_707E8C.s b/ver/us/asm/nonmatchings/code_707CA0/func_802381EC_707E8C.s deleted file mode 100644 index caec4fdec6..0000000000 --- a/ver/us/asm/nonmatchings/code_707CA0/func_802381EC_707E8C.s +++ /dev/null @@ -1,52 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802381EC_707E8C -/* 707E8C 802381EC 3C03800E */ lui $v1, %hi(gBattleStatus+0xDC) -/* 707E90 802381F0 8C63C14C */ lw $v1, %lo(gBattleStatus+0xDC)($v1) -/* 707E94 802381F4 10A00003 */ beqz $a1, .L80238204 -/* 707E98 802381F8 24020006 */ addiu $v0, $zero, 6 -/* 707E9C 802381FC AC800070 */ sw $zero, 0x70($a0) -/* 707EA0 80238200 AC820074 */ sw $v0, 0x74($a0) -.L80238204: -/* 707EA4 80238204 C4640170 */ lwc1 $f4, 0x170($v1) -/* 707EA8 80238208 3C013FF0 */ lui $at, 0x3ff0 -/* 707EAC 8023820C 44814800 */ mtc1 $at, $f9 -/* 707EB0 80238210 44804000 */ mtc1 $zero, $f8 -/* 707EB4 80238214 C4620174 */ lwc1 $f2, 0x174($v1) -/* 707EB8 80238218 46002121 */ cvt.d.s $f4, $f4 -/* 707EBC 8023821C 46244001 */ sub.d $f0, $f8, $f4 -/* 707EC0 80238220 3C014008 */ lui $at, 0x4008 -/* 707EC4 80238224 44815800 */ mtc1 $at, $f11 -/* 707EC8 80238228 44805000 */ mtc1 $zero, $f10 -/* 707ECC 8023822C 460010A1 */ cvt.d.s $f2, $f2 -/* 707ED0 80238230 46224181 */ sub.d $f6, $f8, $f2 -/* 707ED4 80238234 462A0003 */ div.d $f0, $f0, $f10 -/* 707ED8 80238238 46202100 */ add.d $f4, $f4, $f0 -/* 707EDC 8023823C 462A3183 */ div.d $f6, $f6, $f10 -/* 707EE0 80238240 C4600178 */ lwc1 $f0, 0x178($v1) -/* 707EE4 80238244 46261080 */ add.d $f2, $f2, $f6 -/* 707EE8 80238248 46000021 */ cvt.d.s $f0, $f0 -/* 707EEC 8023824C 46204201 */ sub.d $f8, $f8, $f0 -/* 707EF0 80238250 46202120 */ cvt.s.d $f4, $f4 -/* 707EF4 80238254 462010A0 */ cvt.s.d $f2, $f2 -/* 707EF8 80238258 462A4203 */ div.d $f8, $f8, $f10 -/* 707EFC 8023825C 46280000 */ add.d $f0, $f0, $f8 -/* 707F00 80238260 E4640170 */ swc1 $f4, 0x170($v1) -/* 707F04 80238264 E4620174 */ swc1 $f2, 0x174($v1) -/* 707F08 80238268 46200020 */ cvt.s.d $f0, $f0 -/* 707F0C 8023826C E4600178 */ swc1 $f0, 0x178($v1) -/* 707F10 80238270 8C820074 */ lw $v0, 0x74($a0) -/* 707F14 80238274 14400008 */ bnez $v0, .L80238298 -/* 707F18 80238278 2442FFFF */ addiu $v0, $v0, -1 -/* 707F1C 8023827C 3C013F80 */ lui $at, 0x3f80 -/* 707F20 80238280 44810000 */ mtc1 $at, $f0 -/* 707F24 80238284 24020002 */ addiu $v0, $zero, 2 -/* 707F28 80238288 E4600170 */ swc1 $f0, 0x170($v1) -/* 707F2C 8023828C E4600174 */ swc1 $f0, 0x174($v1) -/* 707F30 80238290 03E00008 */ jr $ra -/* 707F34 80238294 E4600178 */ swc1 $f0, 0x178($v1) -.L80238298: -/* 707F38 80238298 AC820074 */ sw $v0, 0x74($a0) -/* 707F3C 8023829C 03E00008 */ jr $ra -/* 707F40 802382A0 0000102D */ daddu $v0, $zero, $zero diff --git a/ver/us/asm/nonmatchings/code_707CA0/func_802382A4_707F44.s b/ver/us/asm/nonmatchings/code_707CA0/func_802382A4_707F44.s deleted file mode 100644 index 299ea42f29..0000000000 --- a/ver/us/asm/nonmatchings/code_707CA0/func_802382A4_707F44.s +++ /dev/null @@ -1,37 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802382A4_707F44 -/* 707F44 802382A4 27BDFFE0 */ addiu $sp, $sp, -0x20 -/* 707F48 802382A8 AFB00018 */ sw $s0, 0x18($sp) -/* 707F4C 802382AC 0080802D */ daddu $s0, $a0, $zero -/* 707F50 802382B0 AFBF001C */ sw $ra, 0x1c($sp) -/* 707F54 802382B4 C6040090 */ lwc1 $f4, 0x90($s0) -/* 707F58 802382B8 46802120 */ cvt.s.w $f4, $f4 -/* 707F5C 802382BC 44062000 */ mfc1 $a2, $f4 -/* 707F60 802382C0 C6040094 */ lwc1 $f4, 0x94($s0) -/* 707F64 802382C4 46802120 */ cvt.s.w $f4, $f4 -/* 707F68 802382C8 44072000 */ mfc1 $a3, $f4 -/* 707F6C 802382CC C60C0084 */ lwc1 $f12, 0x84($s0) -/* 707F70 802382D0 46806320 */ cvt.s.w $f12, $f12 -/* 707F74 802382D4 E7AC0010 */ swc1 $f12, 0x10($sp) -/* 707F78 802382D8 C60E0088 */ lwc1 $f14, 0x88($s0) -/* 707F7C 802382DC 468073A0 */ cvt.s.w $f14, $f14 -/* 707F80 802382E0 0C00A720 */ jal atan2 -/* 707F84 802382E4 E7AE0014 */ swc1 $f14, 0x14($sp) -/* 707F88 802382E8 27A40010 */ addiu $a0, $sp, 0x10 -/* 707F8C 802382EC 3C064396 */ lui $a2, 0x4396 -/* 707F90 802382F0 44070000 */ mfc1 $a3, $f0 -/* 707F94 802382F4 0C00A7E7 */ jal add_vec2D_polar -/* 707F98 802382F8 27A50014 */ addiu $a1, $sp, 0x14 -/* 707F9C 802382FC C7A00010 */ lwc1 $f0, 0x10($sp) -/* 707FA0 80238300 C7A20014 */ lwc1 $f2, 0x14($sp) -/* 707FA4 80238304 4600010D */ trunc.w.s $f4, $f0 -/* 707FA8 80238308 E6040090 */ swc1 $f4, 0x90($s0) -/* 707FAC 8023830C 4600110D */ trunc.w.s $f4, $f2 -/* 707FB0 80238310 E6040094 */ swc1 $f4, 0x94($s0) -/* 707FB4 80238314 8FBF001C */ lw $ra, 0x1c($sp) -/* 707FB8 80238318 8FB00018 */ lw $s0, 0x18($sp) -/* 707FBC 8023831C 24020002 */ addiu $v0, $zero, 2 -/* 707FC0 80238320 03E00008 */ jr $ra -/* 707FC4 80238324 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/ver/us/asm/nonmatchings/code_707CA0/func_80238328_707FC8.s b/ver/us/asm/nonmatchings/code_707CA0/func_80238328_707FC8.s deleted file mode 100644 index b2b43d3985..0000000000 --- a/ver/us/asm/nonmatchings/code_707CA0/func_80238328_707FC8.s +++ /dev/null @@ -1,31 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_80238328_707FC8 -/* 707FC8 80238328 8C830084 */ lw $v1, 0x84($a0) -/* 707FCC 8023832C 3C05800E */ lui $a1, %hi(gBattleStatus) -/* 707FD0 80238330 24A5C070 */ addiu $a1, $a1, %lo(gBattleStatus) -/* 707FD4 80238334 18600003 */ blez $v1, .L80238344 -/* 707FD8 80238338 24020001 */ addiu $v0, $zero, 1 -/* 707FDC 8023833C 0808E0D2 */ j .L80238348 -/* 707FE0 80238340 AC820084 */ sw $v0, 0x84($a0) -.L80238344: -/* 707FE4 80238344 AC800084 */ sw $zero, 0x84($a0) -.L80238348: -/* 707FE8 80238348 AC8000C0 */ sw $zero, 0xc0($a0) -/* 707FEC 8023834C AC8300AC */ sw $v1, 0xac($a0) -/* 707FF0 80238350 80A2009D */ lb $v0, 0x9d($a1) -/* 707FF4 80238354 0043102A */ slt $v0, $v0, $v1 -/* 707FF8 80238358 10400009 */ beqz $v0, .L80238380 -/* 707FFC 8023835C 24020001 */ addiu $v0, $zero, 1 -/* 708000 80238360 A0A3009D */ sb $v1, 0x9d($a1) -/* 708004 80238364 A0A2009E */ sb $v0, 0x9e($a1) -/* 708008 80238368 0060102D */ daddu $v0, $v1, $zero -/* 70800C 8023836C 8CA3043C */ lw $v1, 0x43c($a1) -/* 708010 80238370 00021600 */ sll $v0, $v0, 0x18 -/* 708014 80238374 8C63000C */ lw $v1, 0xc($v1) -/* 708018 80238378 00021603 */ sra $v0, $v0, 0x18 -/* 70801C 8023837C A4620010 */ sh $v0, 0x10($v1) -.L80238380: -/* 708020 80238380 03E00008 */ jr $ra -/* 708024 80238384 24020002 */ addiu $v0, $zero, 2 diff --git a/ver/us/asm/nonmatchings/code_707CA0/func_80238388_708028.s b/ver/us/asm/nonmatchings/code_707CA0/func_80238388_708028.s deleted file mode 100644 index 262b1c9ce3..0000000000 --- a/ver/us/asm/nonmatchings/code_707CA0/func_80238388_708028.s +++ /dev/null @@ -1,66 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_80238388_708028 -/* 708028 80238388 27BDFFC8 */ addiu $sp, $sp, -0x38 -/* 70802C 8023838C 3C02800E */ lui $v0, %hi(gBattleStatus) -/* 708030 80238390 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus) -/* 708034 80238394 AFBF0030 */ sw $ra, 0x30($sp) -/* 708038 80238398 AFB1002C */ sw $s1, 0x2c($sp) -/* 70803C 8023839C AFB00028 */ sw $s0, 0x28($sp) -/* 708040 802383A0 8C5000DC */ lw $s0, 0xdc($v0) -/* 708044 802383A4 8C5100D8 */ lw $s1, 0xd8($v0) -/* 708048 802383A8 0C00A67F */ jal rand_int -/* 70804C 802383AC 2404000A */ addiu $a0, $zero, 0xa -/* 708050 802383B0 3C018024 */ lui $at, %hi(D_8023C060_70BD00) -/* 708054 802383B4 D422C060 */ ldc1 $f2, %lo(D_8023C060_70BD00)($at) -/* 708058 802383B8 C6200144 */ lwc1 $f0, 0x144($s1) -/* 70805C 802383BC C6040144 */ lwc1 $f4, 0x144($s0) -/* 708060 802383C0 C6060148 */ lwc1 $f6, 0x148($s0) -/* 708064 802383C4 C60A014C */ lwc1 $f10, 0x14c($s0) -/* 708068 802383C8 E7A00010 */ swc1 $f0, 0x10($sp) -/* 70806C 802383CC 44820000 */ mtc1 $v0, $f0 -/* 708070 802383D0 00000000 */ nop -/* 708074 802383D4 46800021 */ cvt.d.w $f0, $f0 -/* 708078 802383D8 46220002 */ mul.d $f0, $f0, $f2 -/* 70807C 802383DC 00000000 */ nop -/* 708080 802383E0 24040001 */ addiu $a0, $zero, 1 -/* 708084 802383E4 C6220148 */ lwc1 $f2, 0x148($s1) -/* 708088 802383E8 2402001E */ addiu $v0, $zero, 0x1e -/* 70808C 802383EC E7A20014 */ swc1 $f2, 0x14($sp) -/* 708090 802383F0 3C013FF0 */ lui $at, 0x3ff0 -/* 708094 802383F4 44811800 */ mtc1 $at, $f3 -/* 708098 802383F8 44801000 */ mtc1 $zero, $f2 -/* 70809C 802383FC 46002121 */ cvt.d.s $f4, $f4 -/* 7080A0 80238400 46220000 */ add.d $f0, $f0, $f2 -/* 7080A4 80238404 3C014016 */ lui $at, 0x4016 -/* 7080A8 80238408 44811800 */ mtc1 $at, $f3 -/* 7080AC 8023840C 44801000 */ mtc1 $zero, $f2 -/* 7080B0 80238410 C628014C */ lwc1 $f8, 0x14c($s1) -/* 7080B4 80238414 46222101 */ sub.d $f4, $f4, $f2 -/* 7080B8 80238418 3C01402F */ lui $at, 0x402f -/* 7080BC 8023841C 44811800 */ mtc1 $at, $f3 -/* 7080C0 80238420 44801000 */ mtc1 $zero, $f2 -/* 7080C4 80238424 460031A1 */ cvt.d.s $f6, $f6 -/* 7080C8 80238428 AFA20020 */ sw $v0, 0x20($sp) -/* 7080CC 8023842C E7A80018 */ swc1 $f8, 0x18($sp) -/* 7080D0 80238430 46223180 */ add.d $f6, $f6, $f2 -/* 7080D4 80238434 3C0140A0 */ lui $at, 0x40a0 -/* 7080D8 80238438 44811000 */ mtc1 $at, $f2 -/* 7080DC 8023843C 46202120 */ cvt.s.d $f4, $f4 -/* 7080E0 80238440 46025280 */ add.s $f10, $f10, $f2 -/* 7080E4 80238444 44052000 */ mfc1 $a1, $f4 -/* 7080E8 80238448 462031A0 */ cvt.s.d $f6, $f6 -/* 7080EC 8023844C 44063000 */ mfc1 $a2, $f6 -/* 7080F0 80238450 44075000 */ mfc1 $a3, $f10 -/* 7080F4 80238454 46200020 */ cvt.s.d $f0, $f0 -/* 7080F8 80238458 0C01C67C */ jal func_800719F0 -/* 7080FC 8023845C E7A0001C */ swc1 $f0, 0x1c($sp) -/* 708100 80238460 8FBF0030 */ lw $ra, 0x30($sp) -/* 708104 80238464 8FB1002C */ lw $s1, 0x2c($sp) -/* 708108 80238468 8FB00028 */ lw $s0, 0x28($sp) -/* 70810C 8023846C 3C018024 */ lui $at, %hi(D_8023C070) -/* 708110 80238470 AC22C070 */ sw $v0, %lo(D_8023C070)($at) -/* 708114 80238474 24020002 */ addiu $v0, $zero, 2 -/* 708118 80238478 03E00008 */ jr $ra -/* 70811C 8023847C 27BD0038 */ addiu $sp, $sp, 0x38 diff --git a/ver/us/asm/nonmatchings/code_707CA0/func_80238480_708120.s b/ver/us/asm/nonmatchings/code_707CA0/func_80238480_708120.s deleted file mode 100644 index 9441ff41e0..0000000000 --- a/ver/us/asm/nonmatchings/code_707CA0/func_80238480_708120.s +++ /dev/null @@ -1,53 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_80238480_708120 -/* 708120 80238480 27BDFFC0 */ addiu $sp, $sp, -0x40 -/* 708124 80238484 AFB1001C */ sw $s1, 0x1c($sp) -/* 708128 80238488 0080882D */ daddu $s1, $a0, $zero -/* 70812C 8023848C AFBF0020 */ sw $ra, 0x20($sp) -/* 708130 80238490 AFB00018 */ sw $s0, 0x18($sp) -/* 708134 80238494 F7B80038 */ sdc1 $f24, 0x38($sp) -/* 708138 80238498 F7B60030 */ sdc1 $f22, 0x30($sp) -/* 70813C 8023849C F7B40028 */ sdc1 $f20, 0x28($sp) -/* 708140 802384A0 8E30000C */ lw $s0, 0xc($s1) -/* 708144 802384A4 8E050000 */ lw $a1, ($s0) -/* 708148 802384A8 0C0B210B */ jal get_float_variable -/* 70814C 802384AC 26100004 */ addiu $s0, $s0, 4 -/* 708150 802384B0 8E050000 */ lw $a1, ($s0) -/* 708154 802384B4 26100004 */ addiu $s0, $s0, 4 -/* 708158 802384B8 0220202D */ daddu $a0, $s1, $zero -/* 70815C 802384BC 0C0B210B */ jal get_float_variable -/* 708160 802384C0 46000606 */ mov.s $f24, $f0 -/* 708164 802384C4 0220202D */ daddu $a0, $s1, $zero -/* 708168 802384C8 8E050000 */ lw $a1, ($s0) -/* 70816C 802384CC 0C0B210B */ jal get_float_variable -/* 708170 802384D0 46000586 */ mov.s $f22, $f0 -/* 708174 802384D4 3C02800E */ lui $v0, %hi(gBattleStatus) -/* 708178 802384D8 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus) -/* 70817C 802384DC 0040802D */ daddu $s0, $v0, $zero -/* 708180 802384E0 8E0400A0 */ lw $a0, 0xa0($s0) -/* 708184 802384E4 10800003 */ beqz $a0, .L802384F4 -/* 708188 802384E8 46000506 */ mov.s $f20, $f0 -/* 70818C 802384EC 0C016914 */ jal remove_effect -/* 708190 802384F0 00000000 */ nop -.L802384F4: -/* 708194 802384F4 4405C000 */ mfc1 $a1, $f24 -/* 708198 802384F8 3C013FC0 */ lui $at, 0x3fc0 -/* 70819C 802384FC 44810000 */ mtc1 $at, $f0 -/* 7081A0 80238500 4406B000 */ mfc1 $a2, $f22 -/* 7081A4 80238504 4407A000 */ mfc1 $a3, $f20 -/* 7081A8 80238508 0000202D */ daddu $a0, $zero, $zero -/* 7081AC 8023850C AFA00014 */ sw $zero, 0x14($sp) -/* 7081B0 80238510 0C01C694 */ jal func_80071A50 -/* 7081B4 80238514 E7A00010 */ swc1 $f0, 0x10($sp) -/* 7081B8 80238518 AE0200A0 */ sw $v0, 0xa0($s0) -/* 7081BC 8023851C 8FBF0020 */ lw $ra, 0x20($sp) -/* 7081C0 80238520 8FB1001C */ lw $s1, 0x1c($sp) -/* 7081C4 80238524 8FB00018 */ lw $s0, 0x18($sp) -/* 7081C8 80238528 D7B80038 */ ldc1 $f24, 0x38($sp) -/* 7081CC 8023852C D7B60030 */ ldc1 $f22, 0x30($sp) -/* 7081D0 80238530 D7B40028 */ ldc1 $f20, 0x28($sp) -/* 7081D4 80238534 24020002 */ addiu $v0, $zero, 2 -/* 7081D8 80238538 03E00008 */ jr $ra -/* 7081DC 8023853C 27BD0040 */ addiu $sp, $sp, 0x40 diff --git a/ver/us/asm/nonmatchings/code_707CA0/func_80238540_7081E0.s b/ver/us/asm/nonmatchings/code_707CA0/func_80238540_7081E0.s deleted file mode 100644 index 9fa0aa0197..0000000000 --- a/ver/us/asm/nonmatchings/code_707CA0/func_80238540_7081E0.s +++ /dev/null @@ -1,616 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_80238540_7081E0 -/* 7081E0 80238540 27BDFFC8 */ addiu $sp, $sp, -0x38 -/* 7081E4 80238544 AFB10024 */ sw $s1, 0x24($sp) -/* 7081E8 80238548 3C11800E */ lui $s1, %hi(gBattleStatus+0xDC) -/* 7081EC 8023854C 8E31C14C */ lw $s1, %lo(gBattleStatus+0xDC)($s1) -/* 7081F0 80238550 AFB20028 */ sw $s2, 0x28($sp) -/* 7081F4 80238554 0080902D */ daddu $s2, $a0, $zero -/* 7081F8 80238558 AFBF002C */ sw $ra, 0x2c($sp) -/* 7081FC 8023855C AFB00020 */ sw $s0, 0x20($sp) -/* 708200 80238560 F7B40030 */ sdc1 $f20, 0x30($sp) -/* 708204 80238564 10A00002 */ beqz $a1, .L80238570 -/* 708208 80238568 2630000C */ addiu $s0, $s1, 0xc -/* 70820C 8023856C AE400070 */ sw $zero, 0x70($s2) -.L80238570: -/* 708210 80238570 8E430070 */ lw $v1, 0x70($s2) -/* 708214 80238574 10600005 */ beqz $v1, .L8023858C -/* 708218 80238578 24020001 */ addiu $v0, $zero, 1 -/* 70821C 8023857C 1062002C */ beq $v1, $v0, .L80238630 -/* 708220 80238580 24020002 */ addiu $v0, $zero, 2 -/* 708224 80238584 0808E346 */ j .L80238D18 -/* 708228 80238588 00000000 */ nop -.L8023858C: -/* 70822C 8023858C C6200144 */ lwc1 $f0, 0x144($s1) -/* 708230 80238590 C6220148 */ lwc1 $f2, 0x148($s1) -/* 708234 80238594 C624014C */ lwc1 $f4, 0x14c($s1) -/* 708238 80238598 3C01439D */ lui $at, 0x439d -/* 70823C 8023859C 34218000 */ ori $at, $at, 0x8000 -/* 708240 802385A0 44813000 */ mtc1 $at, $f6 -/* 708244 802385A4 3C014200 */ lui $at, 0x4200 -/* 708248 802385A8 44814000 */ mtc1 $at, $f8 -/* 70824C 802385AC 3C013F80 */ lui $at, 0x3f80 -/* 708250 802385B0 44815000 */ mtc1 $at, $f10 -/* 708254 802385B4 2402005A */ addiu $v0, $zero, 0x5a -/* 708258 802385B8 AE20005C */ sw $zero, 0x5c($s1) -/* 70825C 802385BC A6220070 */ sh $v0, 0x70($s1) -/* 708260 802385C0 E620000C */ swc1 $f0, 0xc($s1) -/* 708264 802385C4 E6220010 */ swc1 $f2, 0x10($s1) -/* 708268 802385C8 E6240014 */ swc1 $f4, 0x14($s1) -/* 70826C 802385CC E6260054 */ swc1 $f6, 0x54($s1) -/* 708270 802385D0 E628004C */ swc1 $f8, 0x4c($s1) -/* 708274 802385D4 AE400074 */ sw $zero, 0x74($s2) -/* 708278 802385D8 AE400078 */ sw $zero, 0x78($s2) -/* 70827C 802385DC E7AA0010 */ swc1 $f10, 0x10($sp) -/* 708280 802385E0 AFA00014 */ sw $zero, 0x14($sp) -/* 708284 802385E4 8E25000C */ lw $a1, 0xc($s1) -/* 708288 802385E8 8E260010 */ lw $a2, 0x10($s1) -/* 70828C 802385EC 8E270014 */ lw $a3, 0x14($s1) -/* 708290 802385F0 0C01C6C4 */ jal func_80071B10 -/* 708294 802385F4 24040001 */ addiu $a0, $zero, 1 -/* 708298 802385F8 8C43000C */ lw $v1, 0xc($v0) -/* 70829C 802385FC C6200054 */ lwc1 $f0, 0x54($s1) -/* 7082A0 80238600 E4600038 */ swc1 $f0, 0x38($v1) -/* 7082A4 80238604 8C43000C */ lw $v1, 0xc($v0) -/* 7082A8 80238608 C6200170 */ lwc1 $f0, 0x170($s1) -/* 7082AC 8023860C 3C018024 */ lui $at, %hi(D_8023C070) -/* 7082B0 80238610 AC22C070 */ sw $v0, %lo(D_8023C070)($at) -/* 7082B4 80238614 E460003C */ swc1 $f0, 0x3c($v1) -/* 7082B8 80238618 8C43000C */ lw $v1, 0xc($v0) -/* 7082BC 8023861C C6200170 */ lwc1 $f0, 0x170($s1) -/* 7082C0 80238620 24020001 */ addiu $v0, $zero, 1 -/* 7082C4 80238624 E4600040 */ swc1 $f0, 0x40($v1) -/* 7082C8 80238628 0808E344 */ j .L80238D10 -/* 7082CC 8023862C AE420070 */ sw $v0, 0x70($s2) -.L80238630: -/* 7082D0 80238630 0200202D */ daddu $a0, $s0, $zero -/* 7082D4 80238634 8E26004C */ lw $a2, 0x4c($s1) -/* 7082D8 80238638 8E270054 */ lw $a3, 0x54($s1) -/* 7082DC 8023863C 0C00A7E7 */ jal add_vec2D_polar -/* 7082E0 80238640 26250010 */ addiu $a1, $s1, 0x10 -/* 7082E4 80238644 C622000C */ lwc1 $f2, 0xc($s1) -/* 7082E8 80238648 3C01C320 */ lui $at, 0xc320 -/* 7082EC 8023864C 44810000 */ mtc1 $at, $f0 -/* 7082F0 80238650 00000000 */ nop -/* 7082F4 80238654 4600103C */ c.lt.s $f2, $f0 -/* 7082F8 80238658 00000000 */ nop -/* 7082FC 8023865C 45000042 */ bc1f .L80238768 -/* 708300 80238660 00000000 */ nop -/* 708304 80238664 8E420074 */ lw $v0, 0x74($s2) -/* 708308 80238668 544000EF */ bnel $v0, $zero, .L80238A28 -/* 70830C 8023866C 24020002 */ addiu $v0, $zero, 2 -/* 708310 80238670 C6220054 */ lwc1 $f2, 0x54($s1) -/* 708314 80238674 3C014387 */ lui $at, 0x4387 -/* 708318 80238678 44810000 */ mtc1 $at, $f0 -/* 70831C 8023867C 00000000 */ nop -/* 708320 80238680 4602003E */ c.le.s $f0, $f2 -/* 708324 80238684 00000000 */ nop -/* 708328 80238688 45000019 */ bc1f .L802386F0 -/* 70832C 8023868C 00000000 */ nop -/* 708330 80238690 3C0143B4 */ lui $at, 0x43b4 -/* 708334 80238694 44810000 */ mtc1 $at, $f0 -/* 708338 80238698 00000000 */ nop -/* 70833C 8023869C 4600103C */ c.lt.s $f2, $f0 -/* 708340 802386A0 00000000 */ nop -/* 708344 802386A4 45000012 */ bc1f .L802386F0 -/* 708348 802386A8 00000000 */ nop -/* 70834C 802386AC 3C014334 */ lui $at, 0x4334 -/* 708350 802386B0 44816000 */ mtc1 $at, $f12 -/* 708354 802386B4 0C00A6C9 */ jal clamp_angle -/* 708358 802386B8 460C1300 */ add.s $f12, $f2, $f12 -/* 70835C 802386BC 3C0142B4 */ lui $at, 0x42b4 -/* 708360 802386C0 44811000 */ mtc1 $at, $f2 -/* 708364 802386C4 00000000 */ nop -/* 708368 802386C8 46001001 */ sub.s $f0, $f2, $f0 -/* 70836C 802386CC 46020000 */ add.s $f0, $f0, $f2 -/* 708370 802386D0 24040004 */ addiu $a0, $zero, 4 -/* 708374 802386D4 0C00A67F */ jal rand_int -/* 708378 802386D8 E6200054 */ swc1 $f0, 0x54($s1) -/* 70837C 802386DC 2442FFFE */ addiu $v0, $v0, -2 -/* 708380 802386E0 44820000 */ mtc1 $v0, $f0 -/* 708384 802386E4 00000000 */ nop -/* 708388 802386E8 46800020 */ cvt.s.w $f0, $f0 -/* 70838C 802386EC E620005C */ swc1 $f0, 0x5c($s1) -.L802386F0: -/* 708390 802386F0 C60C0048 */ lwc1 $f12, 0x48($s0) -/* 708394 802386F4 3C014334 */ lui $at, 0x4334 -/* 708398 802386F8 44811000 */ mtc1 $at, $f2 -/* 70839C 802386FC 00000000 */ nop -/* 7083A0 80238700 460C103E */ c.le.s $f2, $f12 -/* 7083A4 80238704 00000000 */ nop -/* 7083A8 80238708 45000017 */ bc1f .L80238768 -/* 7083AC 8023870C 00000000 */ nop -/* 7083B0 80238710 3C014387 */ lui $at, 0x4387 -/* 7083B4 80238714 44810000 */ mtc1 $at, $f0 -/* 7083B8 80238718 00000000 */ nop -/* 7083BC 8023871C 4600603C */ c.lt.s $f12, $f0 -/* 7083C0 80238720 00000000 */ nop -/* 7083C4 80238724 45000010 */ bc1f .L80238768 -/* 7083C8 80238728 00000000 */ nop -/* 7083CC 8023872C 0C00A6C9 */ jal clamp_angle -/* 7083D0 80238730 46026300 */ add.s $f12, $f12, $f2 -/* 7083D4 80238734 3C0142B4 */ lui $at, 0x42b4 -/* 7083D8 80238738 44811000 */ mtc1 $at, $f2 -/* 7083DC 8023873C 00000000 */ nop -/* 7083E0 80238740 46020001 */ sub.s $f0, $f0, $f2 -/* 7083E4 80238744 46001081 */ sub.s $f2, $f2, $f0 -/* 7083E8 80238748 24040004 */ addiu $a0, $zero, 4 -/* 7083EC 8023874C 0C00A67F */ jal rand_int -/* 7083F0 80238750 E6020048 */ swc1 $f2, 0x48($s0) -/* 7083F4 80238754 2442FFFE */ addiu $v0, $v0, -2 -/* 7083F8 80238758 44820000 */ mtc1 $v0, $f0 -/* 7083FC 8023875C 00000000 */ nop -/* 708400 80238760 46800020 */ cvt.s.w $f0, $f0 -/* 708404 80238764 E6000050 */ swc1 $f0, 0x50($s0) -.L80238768: -/* 708408 80238768 C6020000 */ lwc1 $f2, ($s0) -/* 70840C 8023876C 3C014320 */ lui $at, 0x4320 -/* 708410 80238770 44810000 */ mtc1 $at, $f0 -/* 708414 80238774 00000000 */ nop -/* 708418 80238778 4602003C */ c.lt.s $f0, $f2 -/* 70841C 8023877C 00000000 */ nop -/* 708420 80238780 4500004F */ bc1f .L802388C0 -/* 708424 80238784 00000000 */ nop -/* 708428 80238788 8E420074 */ lw $v0, 0x74($s2) -/* 70842C 8023878C 1040000F */ beqz $v0, .L802387CC -/* 708430 80238790 24020002 */ addiu $v0, $zero, 2 -/* 708434 80238794 0808E344 */ j .L80238D10 -/* 708438 80238798 AE420070 */ sw $v0, 0x70($s2) -.L8023879C: -/* 70843C 8023879C 3C014334 */ lui $at, 0x4334 -/* 708440 802387A0 44816000 */ mtc1 $at, $f12 -/* 708444 802387A4 0C00A6C9 */ jal clamp_angle -/* 708448 802387A8 460C1300 */ add.s $f12, $f2, $f12 -/* 70844C 802387AC 3C014387 */ lui $at, 0x4387 -/* 708450 802387B0 44811000 */ mtc1 $at, $f2 -/* 708454 802387B4 00000000 */ nop -/* 708458 802387B8 46001001 */ sub.s $f0, $f2, $f0 -/* 70845C 802387BC 46020000 */ add.s $f0, $f0, $f2 -/* 708460 802387C0 24040004 */ addiu $a0, $zero, 4 -/* 708464 802387C4 0808E218 */ j .L80238860 -/* 708468 802387C8 E6000048 */ swc1 $f0, 0x48($s0) -.L802387CC: -/* 70846C 802387CC C6020048 */ lwc1 $f2, 0x48($s0) -/* 708470 802387D0 44800000 */ mtc1 $zero, $f0 -/* 708474 802387D4 00000000 */ nop -/* 708478 802387D8 4602003E */ c.le.s $f0, $f2 -/* 70847C 802387DC 00000000 */ nop -/* 708480 802387E0 45000008 */ bc1f .L80238804 -/* 708484 802387E4 00000000 */ nop -/* 708488 802387E8 3C0142B4 */ lui $at, 0x42b4 -/* 70848C 802387EC 44810000 */ mtc1 $at, $f0 -/* 708490 802387F0 00000000 */ nop -/* 708494 802387F4 4600103C */ c.lt.s $f2, $f0 -/* 708498 802387F8 00000000 */ nop -/* 70849C 802387FC 4501FFE7 */ bc1t .L8023879C -/* 7084A0 80238800 00000000 */ nop -.L80238804: -/* 7084A4 80238804 3C0142B4 */ lui $at, 0x42b4 -/* 7084A8 80238808 44810000 */ mtc1 $at, $f0 -/* 7084AC 8023880C 00000000 */ nop -/* 7084B0 80238810 4602003E */ c.le.s $f0, $f2 -/* 7084B4 80238814 00000000 */ nop -/* 7084B8 80238818 45000018 */ bc1f .L8023887C -/* 7084BC 8023881C 00000000 */ nop -/* 7084C0 80238820 3C014334 */ lui $at, 0x4334 -/* 7084C4 80238824 44810000 */ mtc1 $at, $f0 -/* 7084C8 80238828 00000000 */ nop -/* 7084CC 8023882C 4600103C */ c.lt.s $f2, $f0 -/* 7084D0 80238830 00000000 */ nop -/* 7084D4 80238834 45000011 */ bc1f .L8023887C -/* 7084D8 80238838 00000000 */ nop -/* 7084DC 8023883C 0C00A6C9 */ jal clamp_angle -/* 7084E0 80238840 46001300 */ add.s $f12, $f2, $f0 -/* 7084E4 80238844 3C014387 */ lui $at, 0x4387 -/* 7084E8 80238848 44811000 */ mtc1 $at, $f2 -/* 7084EC 8023884C 00000000 */ nop -/* 7084F0 80238850 46020001 */ sub.s $f0, $f0, $f2 -/* 7084F4 80238854 46001081 */ sub.s $f2, $f2, $f0 -/* 7084F8 80238858 24040004 */ addiu $a0, $zero, 4 -/* 7084FC 8023885C E6020048 */ swc1 $f2, 0x48($s0) -.L80238860: -/* 708500 80238860 0C00A67F */ jal rand_int -/* 708504 80238864 00000000 */ nop -/* 708508 80238868 2442FFFE */ addiu $v0, $v0, -2 -/* 70850C 8023886C 44820000 */ mtc1 $v0, $f0 -/* 708510 80238870 00000000 */ nop -/* 708514 80238874 46800020 */ cvt.s.w $f0, $f0 -/* 708518 80238878 E6000050 */ swc1 $f0, 0x50($s0) -.L8023887C: -/* 70851C 8023887C 8E420078 */ lw $v0, 0x78($s2) -/* 708520 80238880 10400004 */ beqz $v0, .L80238894 -/* 708524 80238884 2404029B */ addiu $a0, $zero, 0x29b -/* 708528 80238888 C6000008 */ lwc1 $f0, 8($s0) -/* 70852C 8023888C 0808E228 */ j .L802388A0 -/* 708530 80238890 E7A00010 */ swc1 $f0, 0x10($sp) -.L80238894: -/* 708534 80238894 C6000008 */ lwc1 $f0, 8($s0) -/* 708538 80238898 2404029C */ addiu $a0, $zero, 0x29c -/* 70853C 8023889C E7A00010 */ swc1 $f0, 0x10($sp) -.L802388A0: -/* 708540 802388A0 8E060000 */ lw $a2, ($s0) -/* 708544 802388A4 8E070004 */ lw $a3, 4($s0) -/* 708548 802388A8 0C052757 */ jal play_sound_at_position -/* 70854C 802388AC 0000282D */ daddu $a1, $zero, $zero -/* 708550 802388B0 8E430078 */ lw $v1, 0x78($s2) -/* 708554 802388B4 24020001 */ addiu $v0, $zero, 1 -/* 708558 802388B8 00431023 */ subu $v0, $v0, $v1 -/* 70855C 802388BC AE420078 */ sw $v0, 0x78($s2) -.L802388C0: -/* 708560 802388C0 C6000004 */ lwc1 $f0, 4($s0) -/* 708564 802388C4 44801000 */ mtc1 $zero, $f2 -/* 708568 802388C8 00000000 */ nop -/* 70856C 802388CC 4602003C */ c.lt.s $f0, $f2 -/* 708570 802388D0 00000000 */ nop -/* 708574 802388D4 45000049 */ bc1f .L802389FC -/* 708578 802388D8 00000000 */ nop -/* 70857C 802388DC 8E420074 */ lw $v0, 0x74($s2) -/* 708580 802388E0 1040000C */ beqz $v0, .L80238914 -/* 708584 802388E4 24020002 */ addiu $v0, $zero, 2 -/* 708588 802388E8 0808E344 */ j .L80238D10 -/* 70858C 802388EC AE420070 */ sw $v0, 0x70($s2) -.L802388F0: -/* 708590 802388F0 3C014334 */ lui $at, 0x4334 -/* 708594 802388F4 4481A000 */ mtc1 $at, $f20 -/* 708598 802388F8 0C00A6C9 */ jal clamp_angle -/* 70859C 802388FC 46146300 */ add.s $f12, $f12, $f20 -/* 7085A0 80238900 4600A001 */ sub.s $f0, $f20, $f0 -/* 7085A4 80238904 46140000 */ add.s $f0, $f0, $f20 -/* 7085A8 80238908 24040004 */ addiu $a0, $zero, 4 -/* 7085AC 8023890C 0808E267 */ j .L8023899C -/* 7085B0 80238910 E6000048 */ swc1 $f0, 0x48($s0) -.L80238914: -/* 7085B4 80238914 C60C0048 */ lwc1 $f12, 0x48($s0) -/* 7085B8 80238918 3C014387 */ lui $at, 0x4387 -/* 7085BC 8023891C 44810000 */ mtc1 $at, $f0 -/* 7085C0 80238920 00000000 */ nop -/* 7085C4 80238924 460C003E */ c.le.s $f0, $f12 -/* 7085C8 80238928 00000000 */ nop -/* 7085CC 8023892C 45000008 */ bc1f .L80238950 -/* 7085D0 80238930 00000000 */ nop -/* 7085D4 80238934 3C0143B4 */ lui $at, 0x43b4 -/* 7085D8 80238938 44810000 */ mtc1 $at, $f0 -/* 7085DC 8023893C 00000000 */ nop -/* 7085E0 80238940 4600603C */ c.lt.s $f12, $f0 -/* 7085E4 80238944 00000000 */ nop -/* 7085E8 80238948 4501FFE9 */ bc1t .L802388F0 -/* 7085EC 8023894C 00000000 */ nop -.L80238950: -/* 7085F0 80238950 460C103E */ c.le.s $f2, $f12 -/* 7085F4 80238954 00000000 */ nop -/* 7085F8 80238958 45000017 */ bc1f .L802389B8 -/* 7085FC 8023895C 00000000 */ nop -/* 708600 80238960 3C0142B4 */ lui $at, 0x42b4 -/* 708604 80238964 44810000 */ mtc1 $at, $f0 -/* 708608 80238968 00000000 */ nop -/* 70860C 8023896C 4600603C */ c.lt.s $f12, $f0 -/* 708610 80238970 00000000 */ nop -/* 708614 80238974 45000010 */ bc1f .L802389B8 -/* 708618 80238978 00000000 */ nop -/* 70861C 8023897C 3C014334 */ lui $at, 0x4334 -/* 708620 80238980 4481A000 */ mtc1 $at, $f20 -/* 708624 80238984 0C00A6C9 */ jal clamp_angle -/* 708628 80238988 46146300 */ add.s $f12, $f12, $f20 -/* 70862C 8023898C 46140001 */ sub.s $f0, $f0, $f20 -/* 708630 80238990 4600A501 */ sub.s $f20, $f20, $f0 -/* 708634 80238994 24040004 */ addiu $a0, $zero, 4 -/* 708638 80238998 E6140048 */ swc1 $f20, 0x48($s0) -.L8023899C: -/* 70863C 8023899C 0C00A67F */ jal rand_int -/* 708640 802389A0 00000000 */ nop -/* 708644 802389A4 2442FFFE */ addiu $v0, $v0, -2 -/* 708648 802389A8 44820000 */ mtc1 $v0, $f0 -/* 70864C 802389AC 00000000 */ nop -/* 708650 802389B0 46800020 */ cvt.s.w $f0, $f0 -/* 708654 802389B4 E6000050 */ swc1 $f0, 0x50($s0) -.L802389B8: -/* 708658 802389B8 8E420078 */ lw $v0, 0x78($s2) -/* 70865C 802389BC 10400004 */ beqz $v0, .L802389D0 -/* 708660 802389C0 2404029B */ addiu $a0, $zero, 0x29b -/* 708664 802389C4 C6000008 */ lwc1 $f0, 8($s0) -/* 708668 802389C8 0808E277 */ j .L802389DC -/* 70866C 802389CC E7A00010 */ swc1 $f0, 0x10($sp) -.L802389D0: -/* 708670 802389D0 C6000008 */ lwc1 $f0, 8($s0) -/* 708674 802389D4 2404029C */ addiu $a0, $zero, 0x29c -/* 708678 802389D8 E7A00010 */ swc1 $f0, 0x10($sp) -.L802389DC: -/* 70867C 802389DC 8E060000 */ lw $a2, ($s0) -/* 708680 802389E0 8E070004 */ lw $a3, 4($s0) -/* 708684 802389E4 0C052757 */ jal play_sound_at_position -/* 708688 802389E8 0000282D */ daddu $a1, $zero, $zero -/* 70868C 802389EC 8E430078 */ lw $v1, 0x78($s2) -/* 708690 802389F0 24020001 */ addiu $v0, $zero, 1 -/* 708694 802389F4 00431023 */ subu $v0, $v0, $v1 -/* 708698 802389F8 AE420078 */ sw $v0, 0x78($s2) -.L802389FC: -/* 70869C 802389FC C6020004 */ lwc1 $f2, 4($s0) -/* 7086A0 80238A00 3C014302 */ lui $at, 0x4302 -/* 7086A4 80238A04 44810000 */ mtc1 $at, $f0 -/* 7086A8 80238A08 00000000 */ nop -/* 7086AC 80238A0C 4602003C */ c.lt.s $f0, $f2 -/* 7086B0 80238A10 00000000 */ nop -/* 7086B4 80238A14 4500004E */ bc1f .L80238B50 -/* 7086B8 80238A18 00000000 */ nop -/* 7086BC 80238A1C 8E420074 */ lw $v0, 0x74($s2) -/* 7086C0 80238A20 1040000D */ beqz $v0, .L80238A58 -/* 7086C4 80238A24 24020002 */ addiu $v0, $zero, 2 -.L80238A28: -/* 7086C8 80238A28 0808E344 */ j .L80238D10 -/* 7086CC 80238A2C AE420070 */ sw $v0, 0x70($s2) -.L80238A30: -/* 7086D0 80238A30 0C00A6C9 */ jal clamp_angle -/* 7086D4 80238A34 46006300 */ add.s $f12, $f12, $f0 -/* 7086D8 80238A38 3C0143B4 */ lui $at, 0x43b4 -/* 7086DC 80238A3C 44811000 */ mtc1 $at, $f2 -/* 7086E0 80238A40 00000000 */ nop -/* 7086E4 80238A44 46001001 */ sub.s $f0, $f2, $f0 -/* 7086E8 80238A48 46020000 */ add.s $f0, $f0, $f2 -/* 7086EC 80238A4C 24040004 */ addiu $a0, $zero, 4 -/* 7086F0 80238A50 0808E2BC */ j .L80238AF0 -/* 7086F4 80238A54 E6000048 */ swc1 $f0, 0x48($s0) -.L80238A58: -/* 7086F8 80238A58 C60C0048 */ lwc1 $f12, 0x48($s0) -/* 7086FC 80238A5C 3C0142B4 */ lui $at, 0x42b4 -/* 708700 80238A60 44810000 */ mtc1 $at, $f0 -/* 708704 80238A64 00000000 */ nop -/* 708708 80238A68 460C003E */ c.le.s $f0, $f12 -/* 70870C 80238A6C 00000000 */ nop -/* 708710 80238A70 45000008 */ bc1f .L80238A94 -/* 708714 80238A74 00000000 */ nop -/* 708718 80238A78 3C014334 */ lui $at, 0x4334 -/* 70871C 80238A7C 44810000 */ mtc1 $at, $f0 -/* 708720 80238A80 00000000 */ nop -/* 708724 80238A84 4600603C */ c.lt.s $f12, $f0 -/* 708728 80238A88 00000000 */ nop -/* 70872C 80238A8C 4501FFE8 */ bc1t .L80238A30 -/* 708730 80238A90 00000000 */ nop -.L80238A94: -/* 708734 80238A94 3C014334 */ lui $at, 0x4334 -/* 708738 80238A98 44811000 */ mtc1 $at, $f2 -/* 70873C 80238A9C 00000000 */ nop -/* 708740 80238AA0 460C103E */ c.le.s $f2, $f12 -/* 708744 80238AA4 00000000 */ nop -/* 708748 80238AA8 45000018 */ bc1f .L80238B0C -/* 70874C 80238AAC 00000000 */ nop -/* 708750 80238AB0 3C014387 */ lui $at, 0x4387 -/* 708754 80238AB4 44810000 */ mtc1 $at, $f0 -/* 708758 80238AB8 00000000 */ nop -/* 70875C 80238ABC 4600603C */ c.lt.s $f12, $f0 -/* 708760 80238AC0 00000000 */ nop -/* 708764 80238AC4 45000011 */ bc1f .L80238B0C -/* 708768 80238AC8 00000000 */ nop -/* 70876C 80238ACC 0C00A6C9 */ jal clamp_angle -/* 708770 80238AD0 46026300 */ add.s $f12, $f12, $f2 -/* 708774 80238AD4 3C0143B4 */ lui $at, 0x43b4 -/* 708778 80238AD8 44811000 */ mtc1 $at, $f2 -/* 70877C 80238ADC 00000000 */ nop -/* 708780 80238AE0 46020001 */ sub.s $f0, $f0, $f2 -/* 708784 80238AE4 46001081 */ sub.s $f2, $f2, $f0 -/* 708788 80238AE8 24040004 */ addiu $a0, $zero, 4 -/* 70878C 80238AEC E6020048 */ swc1 $f2, 0x48($s0) -.L80238AF0: -/* 708790 80238AF0 0C00A67F */ jal rand_int -/* 708794 80238AF4 00000000 */ nop -/* 708798 80238AF8 2442FFFE */ addiu $v0, $v0, -2 -/* 70879C 80238AFC 44820000 */ mtc1 $v0, $f0 -/* 7087A0 80238B00 00000000 */ nop -/* 7087A4 80238B04 46800020 */ cvt.s.w $f0, $f0 -/* 7087A8 80238B08 E6000050 */ swc1 $f0, 0x50($s0) -.L80238B0C: -/* 7087AC 80238B0C 8E420078 */ lw $v0, 0x78($s2) -/* 7087B0 80238B10 10400004 */ beqz $v0, .L80238B24 -/* 7087B4 80238B14 2404029B */ addiu $a0, $zero, 0x29b -/* 7087B8 80238B18 C6000008 */ lwc1 $f0, 8($s0) -/* 7087BC 80238B1C 0808E2CC */ j .L80238B30 -/* 7087C0 80238B20 E7A00010 */ swc1 $f0, 0x10($sp) -.L80238B24: -/* 7087C4 80238B24 C6000008 */ lwc1 $f0, 8($s0) -/* 7087C8 80238B28 2404029C */ addiu $a0, $zero, 0x29c -/* 7087CC 80238B2C E7A00010 */ swc1 $f0, 0x10($sp) -.L80238B30: -/* 7087D0 80238B30 8E060000 */ lw $a2, ($s0) -/* 7087D4 80238B34 8E070004 */ lw $a3, 4($s0) -/* 7087D8 80238B38 0C052757 */ jal play_sound_at_position -/* 7087DC 80238B3C 0000282D */ daddu $a1, $zero, $zero -/* 7087E0 80238B40 8E430078 */ lw $v1, 0x78($s2) -/* 7087E4 80238B44 24020001 */ addiu $v0, $zero, 1 -/* 7087E8 80238B48 00431023 */ subu $v0, $v0, $v1 -/* 7087EC 80238B4C AE420078 */ sw $v0, 0x78($s2) -.L80238B50: -/* 7087F0 80238B50 C6000050 */ lwc1 $f0, 0x50($s0) -/* 7087F4 80238B54 3C013FE0 */ lui $at, 0x3fe0 -/* 7087F8 80238B58 44811800 */ mtc1 $at, $f3 -/* 7087FC 80238B5C 44801000 */ mtc1 $zero, $f2 -/* 708800 80238B60 46000021 */ cvt.d.s $f0, $f0 -/* 708804 80238B64 46220002 */ mul.d $f0, $f0, $f2 -/* 708808 80238B68 00000000 */ nop -/* 70880C 80238B6C C60C0048 */ lwc1 $f12, 0x48($s0) -/* 708810 80238B70 46006321 */ cvt.d.s $f12, $f12 -/* 708814 80238B74 46206300 */ add.d $f12, $f12, $f0 -/* 708818 80238B78 0C00A6C9 */ jal clamp_angle -/* 70881C 80238B7C 46206320 */ cvt.s.d $f12, $f12 -/* 708820 80238B80 3C01439D */ lui $at, 0x439d -/* 708824 80238B84 34218000 */ ori $at, $at, 0x8000 -/* 708828 80238B88 44816000 */ mtc1 $at, $f12 -/* 70882C 80238B8C 00000000 */ nop -/* 708830 80238B90 460C0301 */ sub.s $f12, $f0, $f12 -/* 708834 80238B94 0C00A6C9 */ jal clamp_angle -/* 708838 80238B98 E6000048 */ swc1 $f0, 0x48($s0) -/* 70883C 80238B9C C6220170 */ lwc1 $f2, 0x170($s1) -/* 708840 80238BA0 3C018024 */ lui $at, %hi(D_8023C068_70BD08) -/* 708844 80238BA4 D424C068 */ ldc1 $f4, %lo(D_8023C068_70BD08)($at) -/* 708848 80238BA8 460010A1 */ cvt.d.s $f2, $f2 -/* 70884C 80238BAC 46241081 */ sub.d $f2, $f2, $f4 -/* 708850 80238BB0 E6200164 */ swc1 $f0, 0x164($s1) -/* 708854 80238BB4 462010A0 */ cvt.s.d $f2, $f2 -/* 708858 80238BB8 E6220170 */ swc1 $f2, 0x170($s1) -/* 70885C 80238BBC 46001006 */ mov.s $f0, $f2 -/* 708860 80238BC0 E6220174 */ swc1 $f2, 0x174($s1) -/* 708864 80238BC4 E6220178 */ swc1 $f2, 0x178($s1) -/* 708868 80238BC8 3C013FF0 */ lui $at, 0x3ff0 -/* 70886C 80238BCC 44811800 */ mtc1 $at, $f3 -/* 708870 80238BD0 44801000 */ mtc1 $zero, $f2 -/* 708874 80238BD4 46000021 */ cvt.d.s $f0, $f0 -/* 708878 80238BD8 4622003C */ c.lt.d $f0, $f2 -/* 70887C 80238BDC 00000000 */ nop -/* 708880 80238BE0 45000007 */ bc1f .L80238C00 -/* 708884 80238BE4 00000000 */ nop -/* 708888 80238BE8 3C013F80 */ lui $at, 0x3f80 -/* 70888C 80238BEC 44810000 */ mtc1 $at, $f0 -/* 708890 80238BF0 00000000 */ nop -/* 708894 80238BF4 E6200170 */ swc1 $f0, 0x170($s1) -/* 708898 80238BF8 E6200174 */ swc1 $f0, 0x174($s1) -/* 70889C 80238BFC E6200178 */ swc1 $f0, 0x178($s1) -.L80238C00: -/* 7088A0 80238C00 C6220170 */ lwc1 $f2, 0x170($s1) -/* 7088A4 80238C04 3C01C170 */ lui $at, 0xc170 -/* 7088A8 80238C08 44810000 */ mtc1 $at, $f0 -/* 7088AC 80238C0C 00000000 */ nop -/* 7088B0 80238C10 46001082 */ mul.s $f2, $f2, $f0 -/* 7088B4 80238C14 00000000 */ nop -/* 7088B8 80238C18 27A40018 */ addiu $a0, $sp, 0x18 -/* 7088BC 80238C1C 8E070048 */ lw $a3, 0x48($s0) -/* 7088C0 80238C20 4480A000 */ mtc1 $zero, $f20 -/* 7088C4 80238C24 44061000 */ mfc1 $a2, $f2 -/* 7088C8 80238C28 27A5001C */ addiu $a1, $sp, 0x1c -/* 7088CC 80238C2C E7B40018 */ swc1 $f20, 0x18($sp) -/* 7088D0 80238C30 0C00A7E7 */ jal add_vec2D_polar -/* 7088D4 80238C34 E7B4001C */ swc1 $f20, 0x1c($sp) -/* 7088D8 80238C38 C6000000 */ lwc1 $f0, ($s0) -/* 7088DC 80238C3C C7A20018 */ lwc1 $f2, 0x18($sp) -/* 7088E0 80238C40 3C038024 */ lui $v1, %hi(D_8023C070) -/* 7088E4 80238C44 8C63C070 */ lw $v1, %lo(D_8023C070)($v1) -/* 7088E8 80238C48 46020000 */ add.s $f0, $f0, $f2 -/* 7088EC 80238C4C 8C62000C */ lw $v0, 0xc($v1) -/* 7088F0 80238C50 E4400004 */ swc1 $f0, 4($v0) -/* 7088F4 80238C54 C6000004 */ lwc1 $f0, 4($s0) -/* 7088F8 80238C58 C7A2001C */ lwc1 $f2, 0x1c($sp) -/* 7088FC 80238C5C 8C62000C */ lw $v0, 0xc($v1) -/* 708900 80238C60 46020000 */ add.s $f0, $f0, $f2 -/* 708904 80238C64 3C0140A0 */ lui $at, 0x40a0 -/* 708908 80238C68 44811000 */ mtc1 $at, $f2 -/* 70890C 80238C6C E4400008 */ swc1 $f0, 8($v0) -/* 708910 80238C70 C6000008 */ lwc1 $f0, 8($s0) -/* 708914 80238C74 46020000 */ add.s $f0, $f0, $f2 -/* 708918 80238C78 8C62000C */ lw $v0, 0xc($v1) -/* 70891C 80238C7C E440000C */ swc1 $f0, 0xc($v0) -/* 708920 80238C80 8C62000C */ lw $v0, 0xc($v1) -/* 708924 80238C84 C6000048 */ lwc1 $f0, 0x48($s0) -/* 708928 80238C88 E4400038 */ swc1 $f0, 0x38($v0) -/* 70892C 80238C8C 8C62000C */ lw $v0, 0xc($v1) -/* 708930 80238C90 C6200170 */ lwc1 $f0, 0x170($s1) -/* 708934 80238C94 E440003C */ swc1 $f0, 0x3c($v0) -/* 708938 80238C98 8C62000C */ lw $v0, 0xc($v1) -/* 70893C 80238C9C C6200170 */ lwc1 $f0, 0x170($s1) -/* 708940 80238CA0 E4400040 */ swc1 $f0, 0x40($v0) -/* 708944 80238CA4 86030064 */ lh $v1, 0x64($s0) -/* 708948 80238CA8 24020046 */ addiu $v0, $zero, 0x46 -/* 70894C 80238CAC 14620010 */ bne $v1, $v0, .L80238CF0 -/* 708950 80238CB0 2404029D */ addiu $a0, $zero, 0x29d -/* 708954 80238CB4 4406A000 */ mfc1 $a2, $f20 -/* 708958 80238CB8 4407A000 */ mfc1 $a3, $f20 -/* 70895C 80238CBC 0000282D */ daddu $a1, $zero, $zero -/* 708960 80238CC0 0C052757 */ jal play_sound_at_position -/* 708964 80238CC4 E7B40010 */ swc1 $f20, 0x10($sp) -/* 708968 80238CC8 0000202D */ daddu $a0, $zero, $zero -/* 70896C 80238CCC 3C05C248 */ lui $a1, 0xc248 -/* 708970 80238CD0 3C0641A0 */ lui $a2, 0x41a0 -/* 708974 80238CD4 4407A000 */ mfc1 $a3, $f20 -/* 708978 80238CD8 3C013F80 */ lui $at, 0x3f80 -/* 70897C 80238CDC 44810000 */ mtc1 $at, $f0 -/* 708980 80238CE0 24020078 */ addiu $v0, $zero, 0x78 -/* 708984 80238CE4 AFA20014 */ sw $v0, 0x14($sp) -/* 708988 80238CE8 0C01C6DC */ jal func_80071B70 -/* 70898C 80238CEC E7A00010 */ swc1 $f0, 0x10($sp) -.L80238CF0: -/* 708990 80238CF0 86020064 */ lh $v0, 0x64($s0) -/* 708994 80238CF4 96030064 */ lhu $v1, 0x64($s0) -/* 708998 80238CF8 10400003 */ beqz $v0, .L80238D08 -/* 70899C 80238CFC 2462FFFF */ addiu $v0, $v1, -1 -/* 7089A0 80238D00 0808E344 */ j .L80238D10 -/* 7089A4 80238D04 A6020064 */ sh $v0, 0x64($s0) -.L80238D08: -/* 7089A8 80238D08 24020001 */ addiu $v0, $zero, 1 -/* 7089AC 80238D0C AE420074 */ sw $v0, 0x74($s2) -.L80238D10: -/* 7089B0 80238D10 8E430070 */ lw $v1, 0x70($s2) -/* 7089B4 80238D14 24020002 */ addiu $v0, $zero, 2 -.L80238D18: -/* 7089B8 80238D18 10620005 */ beq $v1, $v0, .L80238D30 -/* 7089BC 80238D1C 24020003 */ addiu $v0, $zero, 3 -/* 7089C0 80238D20 10620008 */ beq $v1, $v0, .L80238D44 -/* 7089C4 80238D24 0200202D */ daddu $a0, $s0, $zero -/* 7089C8 80238D28 0808E374 */ j .L80238DD0 -/* 7089CC 80238D2C 00000000 */ nop -.L80238D30: -/* 7089D0 80238D30 24020005 */ addiu $v0, $zero, 5 -/* 7089D4 80238D34 A6020064 */ sh $v0, 0x64($s0) -/* 7089D8 80238D38 24020003 */ addiu $v0, $zero, 3 -/* 7089DC 80238D3C AE420070 */ sw $v0, 0x70($s2) -/* 7089E0 80238D40 0200202D */ daddu $a0, $s0, $zero -.L80238D44: -/* 7089E4 80238D44 8E060040 */ lw $a2, 0x40($s0) -/* 7089E8 80238D48 8E070048 */ lw $a3, 0x48($s0) -/* 7089EC 80238D4C 0C00A7E7 */ jal add_vec2D_polar -/* 7089F0 80238D50 26050004 */ addiu $a1, $s0, 4 -/* 7089F4 80238D54 3C048024 */ lui $a0, %hi(D_8023C070) -/* 7089F8 80238D58 8C84C070 */ lw $a0, %lo(D_8023C070)($a0) -/* 7089FC 80238D5C C6000000 */ lwc1 $f0, ($s0) -/* 708A00 80238D60 8C82000C */ lw $v0, 0xc($a0) -/* 708A04 80238D64 E4400004 */ swc1 $f0, 4($v0) -/* 708A08 80238D68 8C82000C */ lw $v0, 0xc($a0) -/* 708A0C 80238D6C C6000004 */ lwc1 $f0, 4($s0) -/* 708A10 80238D70 E4400008 */ swc1 $f0, 8($v0) -/* 708A14 80238D74 8C82000C */ lw $v0, 0xc($a0) -/* 708A18 80238D78 C6000008 */ lwc1 $f0, 8($s0) -/* 708A1C 80238D7C E440000C */ swc1 $f0, 0xc($v0) -/* 708A20 80238D80 8C82000C */ lw $v0, 0xc($a0) -/* 708A24 80238D84 C6000048 */ lwc1 $f0, 0x48($s0) -/* 708A28 80238D88 E4400038 */ swc1 $f0, 0x38($v0) -/* 708A2C 80238D8C 8C82000C */ lw $v0, 0xc($a0) -/* 708A30 80238D90 C6200170 */ lwc1 $f0, 0x170($s1) -/* 708A34 80238D94 E440003C */ swc1 $f0, 0x3c($v0) -/* 708A38 80238D98 8C82000C */ lw $v0, 0xc($a0) -/* 708A3C 80238D9C C6200170 */ lwc1 $f0, 0x170($s1) -/* 708A40 80238DA0 E4400040 */ swc1 $f0, 0x40($v0) -/* 708A44 80238DA4 86020064 */ lh $v0, 0x64($s0) -/* 708A48 80238DA8 96030064 */ lhu $v1, 0x64($s0) -/* 708A4C 80238DAC 14400007 */ bnez $v0, .L80238DCC -/* 708A50 80238DB0 2462FFFF */ addiu $v0, $v1, -1 -/* 708A54 80238DB4 AE200164 */ sw $zero, 0x164($s1) -/* 708A58 80238DB8 8C830000 */ lw $v1, ($a0) -/* 708A5C 80238DBC 24020002 */ addiu $v0, $zero, 2 -/* 708A60 80238DC0 34630010 */ ori $v1, $v1, 0x10 -/* 708A64 80238DC4 0808E385 */ j .L80238E14 -/* 708A68 80238DC8 AC830000 */ sw $v1, ($a0) -.L80238DCC: -/* 708A6C 80238DCC A6020064 */ sh $v0, 0x64($s0) -.L80238DD0: -/* 708A70 80238DD0 C6000000 */ lwc1 $f0, ($s0) -/* 708A74 80238DD4 3C013F80 */ lui $at, 0x3f80 -/* 708A78 80238DD8 44811000 */ mtc1 $at, $f2 -/* 708A7C 80238DDC E6200144 */ swc1 $f0, 0x144($s1) -/* 708A80 80238DE0 C6000004 */ lwc1 $f0, 4($s0) -/* 708A84 80238DE4 E6200148 */ swc1 $f0, 0x148($s1) -/* 708A88 80238DE8 C6000008 */ lwc1 $f0, 8($s0) -/* 708A8C 80238DEC 2402000A */ addiu $v0, $zero, 0xa -/* 708A90 80238DF0 E620014C */ swc1 $f0, 0x14c($s1) -/* 708A94 80238DF4 E7A20010 */ swc1 $f2, 0x10($sp) -/* 708A98 80238DF8 AFA20014 */ sw $v0, 0x14($sp) -/* 708A9C 80238DFC 8E250144 */ lw $a1, 0x144($s1) -/* 708AA0 80238E00 8E260148 */ lw $a2, 0x148($s1) -/* 708AA4 80238E04 8E27014C */ lw $a3, 0x14c($s1) -/* 708AA8 80238E08 0C01C70C */ jal func_80071C30 -/* 708AAC 80238E0C 24040003 */ addiu $a0, $zero, 3 -/* 708AB0 80238E10 0000102D */ daddu $v0, $zero, $zero -.L80238E14: -/* 708AB4 80238E14 8FBF002C */ lw $ra, 0x2c($sp) -/* 708AB8 80238E18 8FB20028 */ lw $s2, 0x28($sp) -/* 708ABC 80238E1C 8FB10024 */ lw $s1, 0x24($sp) -/* 708AC0 80238E20 8FB00020 */ lw $s0, 0x20($sp) -/* 708AC4 80238E24 D7B40030 */ ldc1 $f20, 0x30($sp) -/* 708AC8 80238E28 03E00008 */ jr $ra -/* 708ACC 80238E2C 27BD0038 */ addiu $sp, $sp, 0x38 diff --git a/ver/us/asm/nonmatchings/code_707CA0/func_80238E30_708AD0.s b/ver/us/asm/nonmatchings/code_707CA0/func_80238E30_708AD0.s deleted file mode 100644 index 561a41fd39..0000000000 --- a/ver/us/asm/nonmatchings/code_707CA0/func_80238E30_708AD0.s +++ /dev/null @@ -1,44 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_80238E30_708AD0 -/* 708AD0 80238E30 3C014008 */ lui $at, 0x4008 -/* 708AD4 80238E34 44811800 */ mtc1 $at, $f3 -/* 708AD8 80238E38 44801000 */ mtc1 $zero, $f2 -/* 708ADC 80238E3C C4800084 */ lwc1 $f0, 0x84($a0) -/* 708AE0 80238E40 46800021 */ cvt.d.w $f0, $f0 -/* 708AE4 80238E44 46220002 */ mul.d $f0, $f0, $f2 -/* 708AE8 80238E48 00000000 */ nop -/* 708AEC 80238E4C 3C014059 */ lui $at, 0x4059 -/* 708AF0 80238E50 44811800 */ mtc1 $at, $f3 -/* 708AF4 80238E54 44801000 */ mtc1 $zero, $f2 -/* 708AF8 80238E58 00000000 */ nop -/* 708AFC 80238E5C 46220003 */ div.d $f0, $f0, $f2 -/* 708B00 80238E60 3C013FF0 */ lui $at, 0x3ff0 -/* 708B04 80238E64 44811800 */ mtc1 $at, $f3 -/* 708B08 80238E68 44801000 */ mtc1 $zero, $f2 -/* 708B0C 80238E6C 3C02800E */ lui $v0, %hi(gBattleStatus+0xDC) -/* 708B10 80238E70 8C42C14C */ lw $v0, %lo(gBattleStatus+0xDC)($v0) -/* 708B14 80238E74 46220000 */ add.d $f0, $f0, $f2 -/* 708B18 80238E78 C44A0170 */ lwc1 $f10, 0x170($v0) -/* 708B1C 80238E7C 46200020 */ cvt.s.d $f0, $f0 -/* 708B20 80238E80 460A0081 */ sub.s $f2, $f0, $f10 -/* 708B24 80238E84 3C014040 */ lui $at, 0x4040 -/* 708B28 80238E88 44814000 */ mtc1 $at, $f8 -/* 708B2C 80238E8C 00000000 */ nop -/* 708B30 80238E90 46081083 */ div.s $f2, $f2, $f8 -/* 708B34 80238E94 46025280 */ add.s $f10, $f10, $f2 -/* 708B38 80238E98 C4460174 */ lwc1 $f6, 0x174($v0) -/* 708B3C 80238E9C 46060081 */ sub.s $f2, $f0, $f6 -/* 708B40 80238EA0 C4440178 */ lwc1 $f4, 0x178($v0) -/* 708B44 80238EA4 46040001 */ sub.s $f0, $f0, $f4 -/* 708B48 80238EA8 46081083 */ div.s $f2, $f2, $f8 -/* 708B4C 80238EAC 46023180 */ add.s $f6, $f6, $f2 -/* 708B50 80238EB0 46080003 */ div.s $f0, $f0, $f8 -/* 708B54 80238EB4 46002100 */ add.s $f4, $f4, $f0 -/* 708B58 80238EB8 E44A0170 */ swc1 $f10, 0x170($v0) -/* 708B5C 80238EBC E4460174 */ swc1 $f6, 0x174($v0) -/* 708B60 80238EC0 E4440178 */ swc1 $f4, 0x178($v0) -/* 708B64 80238EC4 03E00008 */ jr $ra -/* 708B68 80238EC8 24020002 */ addiu $v0, $zero, 2 -/* 708B6C 80238ECC 00000000 */ nop diff --git a/ver/us/asm/nonmatchings/code_70BD10/func_80238000_70BD10.s b/ver/us/asm/nonmatchings/code_70BD10/func_80238000_70BD10.s deleted file mode 100644 index 964ca9691a..0000000000 --- a/ver/us/asm/nonmatchings/code_70BD10/func_80238000_70BD10.s +++ /dev/null @@ -1,21 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_80238000_70BD10 -/* 70BD10 80238000 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 70BD14 80238004 10A00003 */ beqz $a1, .L80238014 -/* 70BD18 80238008 AFBF0010 */ sw $ra, 0x10($sp) -/* 70BD1C 8023800C 3C018024 */ lui $at, %hi(D_8023D2C8) -/* 70BD20 80238010 AC20D2C8 */ sw $zero, %lo(D_8023D2C8)($at) -.L80238014: -/* 70BD24 80238014 3C028024 */ lui $v0, %hi(D_8023D2C8) -/* 70BD28 80238018 8C42D2C8 */ lw $v0, %lo(D_8023D2C8)($v0) -/* 70BD2C 8023801C 14400004 */ bnez $v0, .L80238030 -/* 70BD30 80238020 24020002 */ addiu $v0, $zero, 2 -/* 70BD34 80238024 0C093EB1 */ jal set_popup_duration -/* 70BD38 80238028 24040063 */ addiu $a0, $zero, 0x63 -/* 70BD3C 8023802C 0000102D */ daddu $v0, $zero, $zero -.L80238030: -/* 70BD40 80238030 8FBF0010 */ lw $ra, 0x10($sp) -/* 70BD44 80238034 03E00008 */ jr $ra -/* 70BD48 80238038 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/ver/us/asm/nonmatchings/code_70BD10/func_8023803C_70BD4C.s b/ver/us/asm/nonmatchings/code_70BD10/func_8023803C_70BD4C.s deleted file mode 100644 index edcc7086aa..0000000000 --- a/ver/us/asm/nonmatchings/code_70BD10/func_8023803C_70BD4C.s +++ /dev/null @@ -1,691 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_8023803C_70BD4C -/* 70BD4C 8023803C 27BDFF98 */ addiu $sp, $sp, -0x68 -/* 70BD50 80238040 AFB00030 */ sw $s0, 0x30($sp) -/* 70BD54 80238044 3C10800E */ lui $s0, %hi(gBattleStatus) -/* 70BD58 80238048 2610C070 */ addiu $s0, $s0, %lo(gBattleStatus) -/* 70BD5C 8023804C AFBF0054 */ sw $ra, 0x54($sp) -/* 70BD60 80238050 AFBE0050 */ sw $fp, 0x50($sp) -/* 70BD64 80238054 AFB7004C */ sw $s7, 0x4c($sp) -/* 70BD68 80238058 AFB60048 */ sw $s6, 0x48($sp) -/* 70BD6C 8023805C AFB50044 */ sw $s5, 0x44($sp) -/* 70BD70 80238060 AFB40040 */ sw $s4, 0x40($sp) -/* 70BD74 80238064 AFB3003C */ sw $s3, 0x3c($sp) -/* 70BD78 80238068 AFB20038 */ sw $s2, 0x38($sp) -/* 70BD7C 8023806C AFB10034 */ sw $s1, 0x34($sp) -/* 70BD80 80238070 F7B60060 */ sdc1 $f22, 0x60($sp) -/* 70BD84 80238074 F7B40058 */ sdc1 $f20, 0x58($sp) -/* 70BD88 80238078 AFA40068 */ sw $a0, 0x68($sp) -/* 70BD8C 8023807C 8E1700DC */ lw $s7, 0xdc($s0) -/* 70BD90 80238080 8E0200D8 */ lw $v0, 0xd8($s0) -/* 70BD94 80238084 26F6000C */ addiu $s6, $s7, 0xc -/* 70BD98 80238088 10A00002 */ beqz $a1, .L80238094 -/* 70BD9C 8023808C 245E000C */ addiu $fp, $v0, 0xc -/* 70BDA0 80238090 AC800070 */ sw $zero, 0x70($a0) -.L80238094: -/* 70BDA4 80238094 8FA80068 */ lw $t0, 0x68($sp) -/* 70BDA8 80238098 8D030070 */ lw $v1, 0x70($t0) -/* 70BDAC 8023809C 24020001 */ addiu $v0, $zero, 1 -/* 70BDB0 802380A0 106200B4 */ beq $v1, $v0, .L80238374 -/* 70BDB4 802380A4 28620002 */ slti $v0, $v1, 2 -/* 70BDB8 802380A8 10400005 */ beqz $v0, .L802380C0 -/* 70BDBC 802380AC 24020002 */ addiu $v0, $zero, 2 -/* 70BDC0 802380B0 10600007 */ beqz $v1, .L802380D0 -/* 70BDC4 802380B4 00000000 */ nop -/* 70BDC8 802380B8 0808E21D */ j .L80238874 -/* 70BDCC 802380BC 00000000 */ nop -.L802380C0: -/* 70BDD0 802380C0 106200CD */ beq $v1, $v0, .L802383F8 -/* 70BDD4 802380C4 00000000 */ nop -/* 70BDD8 802380C8 0808E21D */ j .L80238874 -/* 70BDDC 802380CC 00000000 */ nop -.L802380D0: -/* 70BDE0 802380D0 3C048029 */ lui $a0, %hi(D_8029369C) -/* 70BDE4 802380D4 2484369C */ addiu $a0, $a0, %lo(D_8029369C) -/* 70BDE8 802380D8 0C050529 */ jal create_icon -/* 70BDEC 802380DC 0000902D */ daddu $s2, $zero, $zero -/* 70BDF0 802380E0 0040202D */ daddu $a0, $v0, $zero -/* 70BDF4 802380E4 3C018024 */ lui $at, %hi(D_8023D288) -/* 70BDF8 802380E8 AC24D288 */ sw $a0, %lo(D_8023D288)($at) -/* 70BDFC 802380EC 0C051277 */ jal func_801449DC -/* 70BE00 802380F0 2405000A */ addiu $a1, $zero, 0xa -/* 70BE04 802380F4 3C048029 */ lui $a0, %hi(D_802936D4) -/* 70BE08 802380F8 248436D4 */ addiu $a0, $a0, %lo(D_802936D4) -/* 70BE0C 802380FC 0C050529 */ jal create_icon -/* 70BE10 80238100 00000000 */ nop -/* 70BE14 80238104 0040202D */ daddu $a0, $v0, $zero -/* 70BE18 80238108 2405000A */ addiu $a1, $zero, 0xa -/* 70BE1C 8023810C 3C108024 */ lui $s0, %hi(D_8023D28C) -/* 70BE20 80238110 2610D28C */ addiu $s0, $s0, %lo(D_8023D28C) -/* 70BE24 80238114 0C051277 */ jal func_801449DC -/* 70BE28 80238118 AE040000 */ sw $a0, ($s0) -/* 70BE2C 8023811C 3C148024 */ lui $s4, %hi(D_8023D2B8) -/* 70BE30 80238120 2694D2B8 */ addiu $s4, $s4, %lo(D_8023D2B8) -/* 70BE34 80238124 8E040000 */ lw $a0, ($s0) -/* 70BE38 80238128 3C138024 */ lui $s3, %hi(D_8023AB80_70E890) -/* 70BE3C 8023812C 0C0513CA */ jal func_80144F28 -/* 70BE40 80238130 2673AB80 */ addiu $s3, $s3, %lo(D_8023AB80_70E890) -/* 70BE44 80238134 3C048011 */ lui $a0, %hi(D_80108E1C) -/* 70BE48 80238138 24848E1C */ addiu $a0, $a0, %lo(D_80108E1C) -/* 70BE4C 8023813C 3C118024 */ lui $s1, %hi(D_8023D2C0) -/* 70BE50 80238140 2631D2C0 */ addiu $s1, $s1, %lo(D_8023D2C0) -/* 70BE54 80238144 2402FFD0 */ addiu $v0, $zero, -0x30 -/* 70BE58 80238148 3C108024 */ lui $s0, %hi(D_8023D2C4) -/* 70BE5C 8023814C 2610D2C4 */ addiu $s0, $s0, %lo(D_8023D2C4) -/* 70BE60 80238150 AE220000 */ sw $v0, ($s1) -/* 70BE64 80238154 24020046 */ addiu $v0, $zero, 0x46 -/* 70BE68 80238158 0C050529 */ jal create_icon -/* 70BE6C 8023815C AE020000 */ sw $v0, ($s0) -/* 70BE70 80238160 0040A82D */ daddu $s5, $v0, $zero -/* 70BE74 80238164 8E250000 */ lw $a1, ($s1) -/* 70BE78 80238168 8E060000 */ lw $a2, ($s0) -/* 70BE7C 8023816C 3C018024 */ lui $at, %hi(D_8023D2BC) -/* 70BE80 80238170 AC35D2BC */ sw $s5, %lo(D_8023D2BC)($at) -/* 70BE84 80238174 0C051261 */ jal set_icon_render_pos -/* 70BE88 80238178 02A0202D */ daddu $a0, $s5, $zero -/* 70BE8C 8023817C 02A0202D */ daddu $a0, $s5, $zero -/* 70BE90 80238180 0C051277 */ jal func_801449DC -/* 70BE94 80238184 0240282D */ daddu $a1, $s2, $zero -.L80238188: -/* 70BE98 80238188 8E640000 */ lw $a0, ($s3) -/* 70BE9C 8023818C 26730004 */ addiu $s3, $s3, 4 -/* 70BEA0 80238190 0C050529 */ jal create_icon -/* 70BEA4 80238194 26520001 */ addiu $s2, $s2, 1 -/* 70BEA8 80238198 0040202D */ daddu $a0, $v0, $zero -/* 70BEAC 8023819C 2405000A */ addiu $a1, $zero, 0xa -/* 70BEB0 802381A0 0C051277 */ jal func_801449DC -/* 70BEB4 802381A4 AE840000 */ sw $a0, ($s4) -/* 70BEB8 802381A8 1A40FFF7 */ blez $s2, .L80238188 -/* 70BEBC 802381AC 26940004 */ addiu $s4, $s4, 4 -/* 70BEC0 802381B0 C6E00144 */ lwc1 $f0, 0x144($s7) -/* 70BEC4 802381B4 3C014204 */ lui $at, 0x4204 -/* 70BEC8 802381B8 44813000 */ mtc1 $at, $f6 -/* 70BECC 802381BC 00000000 */ nop -/* 70BED0 802381C0 46060000 */ add.s $f0, $f0, $f6 -/* 70BED4 802381C4 3C014208 */ lui $at, 0x4208 -/* 70BED8 802381C8 44812000 */ mtc1 $at, $f4 -/* 70BEDC 802381CC E6C00000 */ swc1 $f0, ($s6) -/* 70BEE0 802381D0 C6E00148 */ lwc1 $f0, 0x148($s7) -/* 70BEE4 802381D4 46040000 */ add.s $f0, $f0, $f4 -/* 70BEE8 802381D8 3C014170 */ lui $at, 0x4170 -/* 70BEEC 802381DC 44811000 */ mtc1 $at, $f2 -/* 70BEF0 802381E0 E6C00004 */ swc1 $f0, 4($s6) -/* 70BEF4 802381E4 C6E0014C */ lwc1 $f0, 0x14c($s7) -/* 70BEF8 802381E8 46020000 */ add.s $f0, $f0, $f2 -/* 70BEFC 802381EC E6C00008 */ swc1 $f0, 8($s6) -/* 70BF00 802381F0 C6E00144 */ lwc1 $f0, 0x144($s7) -/* 70BF04 802381F4 46060000 */ add.s $f0, $f0, $f6 -/* 70BF08 802381F8 E6C00018 */ swc1 $f0, 0x18($s6) -/* 70BF0C 802381FC C6E00148 */ lwc1 $f0, 0x148($s7) -/* 70BF10 80238200 46040000 */ add.s $f0, $f0, $f4 -/* 70BF14 80238204 E6C0001C */ swc1 $f0, 0x1c($s6) -/* 70BF18 80238208 C6E0014C */ lwc1 $f0, 0x14c($s7) -/* 70BF1C 8023820C 46020000 */ add.s $f0, $f0, $f2 -/* 70BF20 80238210 E6C00020 */ swc1 $f0, 0x20($s6) -/* 70BF24 80238214 86E50428 */ lh $a1, 0x428($s7) -/* 70BF28 80238218 82E60426 */ lb $a2, 0x426($s7) -/* 70BF2C 8023821C 0C09A5D5 */ jal set_goal_pos_to_part -/* 70BF30 80238220 02C0202D */ daddu $a0, $s6, $zero -/* 70BF34 80238224 86E40428 */ lh $a0, 0x428($s7) -/* 70BF38 80238228 0C09A75B */ jal get_actor -/* 70BF3C 8023822C 00000000 */ nop -/* 70BF40 80238230 0040882D */ daddu $s1, $v0, $zero -/* 70BF44 80238234 82E50426 */ lb $a1, 0x426($s7) -/* 70BF48 80238238 0C099117 */ jal get_actor_part -/* 70BF4C 8023823C 0220202D */ daddu $a0, $s1, $zero -/* 70BF50 80238240 0040802D */ daddu $s0, $v0, $zero -/* 70BF54 80238244 C6CC0000 */ lwc1 $f12, ($s6) -/* 70BF58 80238248 82020075 */ lb $v0, 0x75($s0) -/* 70BF5C 8023824C C6C0000C */ lwc1 $f0, 0xc($s6) -/* 70BF60 80238250 44821000 */ mtc1 $v0, $f2 -/* 70BF64 80238254 00000000 */ nop -/* 70BF68 80238258 468010A0 */ cvt.s.w $f2, $f2 -/* 70BF6C 8023825C 46020000 */ add.s $f0, $f0, $f2 -/* 70BF70 80238260 C6CE0004 */ lwc1 $f14, 4($s6) -/* 70BF74 80238264 E6C0000C */ swc1 $f0, 0xc($s6) -/* 70BF78 80238268 82020076 */ lb $v0, 0x76($s0) -/* 70BF7C 8023826C C6C00010 */ lwc1 $f0, 0x10($s6) -/* 70BF80 80238270 44821000 */ mtc1 $v0, $f2 -/* 70BF84 80238274 00000000 */ nop -/* 70BF88 80238278 468010A0 */ cvt.s.w $f2, $f2 -/* 70BF8C 8023827C 46020000 */ add.s $f0, $f0, $f2 -/* 70BF90 80238280 8EC6000C */ lw $a2, 0xc($s6) -/* 70BF94 80238284 E6C00010 */ swc1 $f0, 0x10($s6) -/* 70BF98 80238288 44070000 */ mfc1 $a3, $f0 -/* 70BF9C 8023828C 0C00A7B5 */ jal dist2D -/* 70BFA0 80238290 C6C00014 */ lwc1 $f0, 0x14($s6) -/* 70BFA4 80238294 E6C0004C */ swc1 $f0, 0x4c($s6) -/* 70BFA8 80238298 3C014040 */ lui $at, 0x4040 -/* 70BFAC 8023829C 44810000 */ mtc1 $at, $f0 -/* 70BFB0 802382A0 3C01BF80 */ lui $at, 0xbf80 -/* 70BFB4 802382A4 44811000 */ mtc1 $at, $f2 -/* 70BFB8 802382A8 2402001E */ addiu $v0, $zero, 0x1e -/* 70BFBC 802382AC AEC00040 */ sw $zero, 0x40($s6) -/* 70BFC0 802382B0 AEC00030 */ sw $zero, 0x30($s6) -/* 70BFC4 802382B4 AEC00034 */ sw $zero, 0x34($s6) -/* 70BFC8 802382B8 3C018024 */ lui $at, %hi(D_8023D290) -/* 70BFCC 802382BC AC20D290 */ sw $zero, %lo(D_8023D290)($at) -/* 70BFD0 802382C0 3C018024 */ lui $at, %hi(D_8023D294) -/* 70BFD4 802382C4 AC20D294 */ sw $zero, %lo(D_8023D294)($at) -/* 70BFD8 802382C8 3C018024 */ lui $at, %hi(D_8023D298) -/* 70BFDC 802382CC AC22D298 */ sw $v0, %lo(D_8023D298)($at) -/* 70BFE0 802382D0 3C018024 */ lui $at, %hi(D_8023D2A0) -/* 70BFE4 802382D4 AC20D2A0 */ sw $zero, %lo(D_8023D2A0)($at) -/* 70BFE8 802382D8 3C018024 */ lui $at, %hi(D_8023D2A4) -/* 70BFEC 802382DC AC20D2A4 */ sw $zero, %lo(D_8023D2A4)($at) -/* 70BFF0 802382E0 3C018024 */ lui $at, %hi(D_8023D2A8) -/* 70BFF4 802382E4 AC20D2A8 */ sw $zero, %lo(D_8023D2A8)($at) -/* 70BFF8 802382E8 3C018024 */ lui $at, %hi(D_8023D2AC) -/* 70BFFC 802382EC AC20D2AC */ sw $zero, %lo(D_8023D2AC)($at) -/* 70C000 802382F0 3C018024 */ lui $at, %hi(D_8023D29C) -/* 70C004 802382F4 AC20D29C */ sw $zero, %lo(D_8023D29C)($at) -/* 70C008 802382F8 3C018024 */ lui $at, %hi(D_8023D2B0) -/* 70C00C 802382FC E420D2B0 */ swc1 $f0, %lo(D_8023D2B0)($at) -/* 70C010 80238300 3C018024 */ lui $at, %hi(D_8023D2B4) -/* 70C014 80238304 E422D2B4 */ swc1 $f2, %lo(D_8023D2B4)($at) -/* 70C018 80238308 92020073 */ lbu $v0, 0x73($s0) -/* 70C01C 8023830C 92030072 */ lbu $v1, 0x72($s0) -/* 70C020 80238310 3C014038 */ lui $at, 0x4038 -/* 70C024 80238314 44811800 */ mtc1 $at, $f3 -/* 70C028 80238318 44801000 */ mtc1 $zero, $f2 -/* 70C02C 8023831C 00431021 */ addu $v0, $v0, $v1 -/* 70C030 80238320 00021043 */ sra $v0, $v0, 1 -/* 70C034 80238324 44820000 */ mtc1 $v0, $f0 -/* 70C038 80238328 00000000 */ nop -/* 70C03C 8023832C 46800021 */ cvt.d.w $f0, $f0 -/* 70C040 80238330 46220003 */ div.d $f0, $f0, $f2 -/* 70C044 80238334 46200020 */ cvt.s.d $f0, $f0 -/* 70C048 80238338 E6C00024 */ swc1 $f0, 0x24($s6) -/* 70C04C 8023833C C6220188 */ lwc1 $f2, 0x188($s1) -/* 70C050 80238340 46020002 */ mul.s $f0, $f0, $f2 -/* 70C054 80238344 00000000 */ nop -/* 70C058 80238348 3C048024 */ lui $a0, %hi(D_8023D28C) -/* 70C05C 8023834C 8C84D28C */ lw $a0, %lo(D_8023D28C)($a0) -/* 70C060 80238350 44050000 */ mfc1 $a1, $f0 -/* 70C064 80238354 0C051308 */ jal func_80144C20 -/* 70C068 80238358 00000000 */ nop -/* 70C06C 8023835C 8FA90068 */ lw $t1, 0x68($sp) -/* 70C070 80238360 24020001 */ addiu $v0, $zero, 1 -/* 70C074 80238364 3C018024 */ lui $at, %hi(D_8023D2C8) -/* 70C078 80238368 AC22D2C8 */ sw $v0, %lo(D_8023D2C8)($at) -/* 70C07C 8023836C 0808E21D */ j .L80238874 -/* 70C080 80238370 AD220070 */ sw $v0, 0x70($t1) -.L80238374: -/* 70C084 80238374 8E02021C */ lw $v0, 0x21c($s0) -/* 70C088 80238378 14400004 */ bnez $v0, .L8023838C -/* 70C08C 8023837C 00000000 */ nop -/* 70C090 80238380 8E020220 */ lw $v0, 0x220($s0) -/* 70C094 80238384 10400003 */ beqz $v0, .L80238394 -/* 70C098 80238388 00000000 */ nop -.L8023838C: -/* 70C09C 8023838C 3C018024 */ lui $at, %hi(D_8023D298) -/* 70C0A0 80238390 AC20D298 */ sw $zero, %lo(D_8023D298)($at) -.L80238394: -/* 70C0A4 80238394 3C038024 */ lui $v1, %hi(D_8023D298) -/* 70C0A8 80238398 2463D298 */ addiu $v1, $v1, %lo(D_8023D298) -/* 70C0AC 8023839C 8C620000 */ lw $v0, ($v1) -/* 70C0B0 802383A0 10400003 */ beqz $v0, .L802383B0 -/* 70C0B4 802383A4 2442FFFF */ addiu $v0, $v0, -1 -/* 70C0B8 802383A8 0808E21D */ j .L80238874 -/* 70C0BC 802383AC AC620000 */ sw $v0, ($v1) -.L802383B0: -/* 70C0C0 802383B0 3C058011 */ lui $a1, %hi(D_801091E4) -/* 70C0C4 802383B4 24A591E4 */ addiu $a1, $a1, %lo(D_801091E4) -/* 70C0C8 802383B8 3C048024 */ lui $a0, %hi(D_8023D2BC) -/* 70C0CC 802383BC 8C84D2BC */ lw $a0, %lo(D_8023D2BC)($a0) -/* 70C0D0 802383C0 24020050 */ addiu $v0, $zero, 0x50 -/* 70C0D4 802383C4 0C0511FF */ jal set_menu_icon_script -/* 70C0D8 802383C8 AC620000 */ sw $v0, ($v1) -/* 70C0DC 802383CC 44800000 */ mtc1 $zero, $f0 -/* 70C0E0 802383D0 24040312 */ addiu $a0, $zero, 0x312 -/* 70C0E4 802383D4 44060000 */ mfc1 $a2, $f0 -/* 70C0E8 802383D8 0000282D */ daddu $a1, $zero, $zero -/* 70C0EC 802383DC 00C0382D */ daddu $a3, $a2, $zero -/* 70C0F0 802383E0 0C052757 */ jal play_sound_at_position -/* 70C0F4 802383E4 AFA60010 */ sw $a2, 0x10($sp) -/* 70C0F8 802383E8 8FA80068 */ lw $t0, 0x68($sp) -/* 70C0FC 802383EC 24020002 */ addiu $v0, $zero, 2 -/* 70C100 802383F0 0808E21D */ j .L80238874 -/* 70C104 802383F4 AD020070 */ sw $v0, 0x70($t0) -.L802383F8: -/* 70C108 802383F8 8E05022C */ lw $a1, 0x22c($s0) -/* 70C10C 802383FC 28A20051 */ slti $v0, $a1, 0x51 -/* 70C110 80238400 50400001 */ beql $v0, $zero, .L80238408 -/* 70C114 80238404 24050050 */ addiu $a1, $zero, 0x50 -.L80238408: -/* 70C118 80238408 C6160228 */ lwc1 $f22, 0x228($s0) -/* 70C11C 8023840C 4680B5A0 */ cvt.s.w $f22, $f22 -/* 70C120 80238410 28A20023 */ slti $v0, $a1, 0x23 -/* 70C124 80238414 10400014 */ beqz $v0, .L80238468 -/* 70C128 80238418 00051040 */ sll $v0, $a1, 1 -/* 70C12C 8023841C 3C0140C9 */ lui $at, 0x40c9 -/* 70C130 80238420 34210FD0 */ ori $at, $at, 0xfd0 -/* 70C134 80238424 44810000 */ mtc1 $at, $f0 -/* 70C138 80238428 44826000 */ mtc1 $v0, $f12 -/* 70C13C 8023842C 00000000 */ nop -/* 70C140 80238430 46806320 */ cvt.s.w $f12, $f12 -/* 70C144 80238434 46006302 */ mul.s $f12, $f12, $f0 -/* 70C148 80238438 00000000 */ nop -/* 70C14C 8023843C 3C0143B4 */ lui $at, 0x43b4 -/* 70C150 80238440 44810000 */ mtc1 $at, $f0 -/* 70C154 80238444 4485A000 */ mtc1 $a1, $f20 -/* 70C158 80238448 00000000 */ nop -/* 70C15C 8023844C 4680A520 */ cvt.s.w $f20, $f20 -/* 70C160 80238450 0C00A85B */ jal sin_rad -/* 70C164 80238454 46006303 */ div.s $f12, $f12, $f0 -/* 70C168 80238458 4600A502 */ mul.s $f20, $f20, $f0 -/* 70C16C 8023845C 00000000 */ nop -/* 70C170 80238460 4600A28D */ trunc.w.s $f10, $f20 -/* 70C174 80238464 44055000 */ mfc1 $a1, $f10 -.L80238468: -/* 70C178 80238468 3C038024 */ lui $v1, %hi(D_8023D2A0) -/* 70C17C 8023846C 2463D2A0 */ addiu $v1, $v1, %lo(D_8023D2A0) -/* 70C180 80238470 3C048024 */ lui $a0, %hi(D_8023D2A4) -/* 70C184 80238474 2484D2A4 */ addiu $a0, $a0, %lo(D_8023D2A4) -/* 70C188 80238478 C4680000 */ lwc1 $f8, ($v1) -/* 70C18C 8023847C C4860000 */ lwc1 $f6, ($a0) -/* 70C190 80238480 3C028024 */ lui $v0, %hi(D_8023D2A8) -/* 70C194 80238484 2442D2A8 */ addiu $v0, $v0, %lo(D_8023D2A8) -/* 70C198 80238488 46064080 */ add.s $f2, $f8, $f6 -/* 70C19C 8023848C C4400000 */ lwc1 $f0, ($v0) -/* 70C1A0 80238490 3C014040 */ lui $at, 0x4040 -/* 70C1A4 80238494 44812000 */ mtc1 $at, $f4 -/* 70C1A8 80238498 46001080 */ add.s $f2, $f2, $f0 -/* 70C1AC 8023849C 44850000 */ mtc1 $a1, $f0 -/* 70C1B0 802384A0 00000000 */ nop -/* 70C1B4 802384A4 46800020 */ cvt.s.w $f0, $f0 -/* 70C1B8 802384A8 E4600000 */ swc1 $f0, ($v1) -/* 70C1BC 802384AC 46041083 */ div.s $f2, $f2, $f4 -/* 70C1C0 802384B0 46020001 */ sub.s $f0, $f0, $f2 -/* 70C1C4 802384B4 E4460000 */ swc1 $f6, ($v0) -/* 70C1C8 802384B8 4600028D */ trunc.w.s $f10, $f0 -/* 70C1CC 802384BC 44025000 */ mfc1 $v0, $f10 -/* 70C1D0 802384C0 00000000 */ nop -/* 70C1D4 802384C4 1840002B */ blez $v0, .L80238574 -/* 70C1D8 802384C8 E4880000 */ swc1 $f8, ($a0) -/* 70C1DC 802384CC C6E6004C */ lwc1 $f6, 0x4c($s7) -/* 70C1E0 802384D0 44800000 */ mtc1 $zero, $f0 -/* 70C1E4 802384D4 44822000 */ mtc1 $v0, $f4 -/* 70C1E8 802384D8 00000000 */ nop -/* 70C1EC 802384DC 46802120 */ cvt.s.w $f4, $f4 -/* 70C1F0 802384E0 3C018024 */ lui $at, %hi(D_8023D2AC) -/* 70C1F4 802384E4 E424D2AC */ swc1 $f4, %lo(D_8023D2AC)($at) -/* 70C1F8 802384E8 46003032 */ c.eq.s $f6, $f0 -/* 70C1FC 802384EC 00000000 */ nop -/* 70C200 802384F0 4503000F */ bc1tl .L80238530 -/* 70C204 802384F4 460020A1 */ cvt.d.s $f2, $f4 -/* 70C208 802384F8 460030A1 */ cvt.d.s $f2, $f6 -/* 70C20C 802384FC 46002021 */ cvt.d.s $f0, $f4 -/* 70C210 80238500 3C014021 */ lui $at, 0x4021 -/* 70C214 80238504 44812800 */ mtc1 $at, $f5 -/* 70C218 80238508 44802000 */ mtc1 $zero, $f4 -/* 70C21C 8023850C 3C014008 */ lui $at, 0x4008 -/* 70C220 80238510 44813800 */ mtc1 $at, $f7 -/* 70C224 80238514 44803000 */ mtc1 $zero, $f6 -/* 70C228 80238518 46240003 */ div.d $f0, $f0, $f4 -/* 70C22C 8023851C 46260003 */ div.d $f0, $f0, $f6 -/* 70C230 80238520 46201080 */ add.d $f2, $f2, $f0 -/* 70C234 80238524 462010A0 */ cvt.s.d $f2, $f2 -/* 70C238 80238528 0808E159 */ j .L80238564 -/* 70C23C 8023852C E6E2004C */ swc1 $f2, 0x4c($s7) -.L80238530: -/* 70C240 80238530 3C014021 */ lui $at, 0x4021 -/* 70C244 80238534 44810800 */ mtc1 $at, $f1 -/* 70C248 80238538 44800000 */ mtc1 $zero, $f0 -/* 70C24C 8023853C 3C013FE0 */ lui $at, 0x3fe0 -/* 70C250 80238540 44812800 */ mtc1 $at, $f5 -/* 70C254 80238544 44802000 */ mtc1 $zero, $f4 -/* 70C258 80238548 46201083 */ div.d $f2, $f2, $f0 -/* 70C25C 8023854C 46241082 */ mul.d $f2, $f2, $f4 -/* 70C260 80238550 00000000 */ nop -/* 70C264 80238554 46003021 */ cvt.d.s $f0, $f6 -/* 70C268 80238558 46220000 */ add.d $f0, $f0, $f2 -/* 70C26C 8023855C 46200020 */ cvt.s.d $f0, $f0 -/* 70C270 80238560 E6E0004C */ swc1 $f0, 0x4c($s7) -.L80238564: -/* 70C274 80238564 3C018024 */ lui $at, %hi(D_8023D2B4) -/* 70C278 80238568 E436D2B4 */ swc1 $f22, %lo(D_8023D2B4)($at) -/* 70C27C 8023856C 0808E163 */ j .L8023858C -/* 70C280 80238570 28A2001F */ slti $v0, $a1, 0x1f -.L80238574: -/* 70C284 80238574 44820000 */ mtc1 $v0, $f0 -/* 70C288 80238578 00000000 */ nop -/* 70C28C 8023857C 46800020 */ cvt.s.w $f0, $f0 -/* 70C290 80238580 3C018024 */ lui $at, %hi(D_8023D2AC) -/* 70C294 80238584 E420D2AC */ swc1 $f0, %lo(D_8023D2AC)($at) -/* 70C298 80238588 28A2001F */ slti $v0, $a1, 0x1f -.L8023858C: -/* 70C29C 8023858C 14400003 */ bnez $v0, .L8023859C -/* 70C2A0 80238590 00000000 */ nop -/* 70C2A4 80238594 3C018024 */ lui $at, %hi(D_8023D2B4) -/* 70C2A8 80238598 E436D2B4 */ swc1 $f22, %lo(D_8023D2B4)($at) -.L8023859C: -/* 70C2AC 8023859C C6C00040 */ lwc1 $f0, 0x40($s6) -/* 70C2B0 802385A0 3C018024 */ lui $at, %hi(D_8023D1B0_710EC0) -/* 70C2B4 802385A4 D422D1B0 */ ldc1 $f2, %lo(D_8023D1B0_710EC0)($at) -/* 70C2B8 802385A8 46000021 */ cvt.d.s $f0, $f0 -/* 70C2BC 802385AC 4620103C */ c.lt.d $f2, $f0 -/* 70C2C0 802385B0 00000000 */ nop -/* 70C2C4 802385B4 45000006 */ bc1f .L802385D0 -/* 70C2C8 802385B8 24020028 */ addiu $v0, $zero, 0x28 -/* 70C2CC 802385BC 3C0140D6 */ lui $at, 0x40d6 -/* 70C2D0 802385C0 34216666 */ ori $at, $at, 0x6666 -/* 70C2D4 802385C4 44810000 */ mtc1 $at, $f0 -/* 70C2D8 802385C8 00000000 */ nop -/* 70C2DC 802385CC E6C00040 */ swc1 $f0, 0x40($s6) -.L802385D0: -/* 70C2E0 802385D0 00451023 */ subu $v0, $v0, $a1 -/* 70C2E4 802385D4 44820000 */ mtc1 $v0, $f0 -/* 70C2E8 802385D8 00000000 */ nop -/* 70C2EC 802385DC 46800021 */ cvt.d.w $f0, $f0 -/* 70C2F0 802385E0 46200000 */ add.d $f0, $f0, $f0 -/* 70C2F4 802385E4 3C014044 */ lui $at, 0x4044 -/* 70C2F8 802385E8 44811800 */ mtc1 $at, $f3 -/* 70C2FC 802385EC 44801000 */ mtc1 $zero, $f2 -/* 70C300 802385F0 00000000 */ nop -/* 70C304 802385F4 46220003 */ div.d $f0, $f0, $f2 -/* 70C308 802385F8 C6C20040 */ lwc1 $f2, 0x40($s6) -/* 70C30C 802385FC 46200020 */ cvt.s.d $f0, $f0 -/* 70C310 80238600 46001081 */ sub.s $f2, $f2, $f0 -/* 70C314 80238604 4480B000 */ mtc1 $zero, $f22 -/* 70C318 80238608 00000000 */ nop -/* 70C31C 8023860C 4616103E */ c.le.s $f2, $f22 -/* 70C320 80238610 00000000 */ nop -/* 70C324 80238614 45000004 */ bc1f .L80238628 -/* 70C328 80238618 E6C20040 */ swc1 $f2, 0x40($s6) -/* 70C32C 8023861C E6D60040 */ swc1 $f22, 0x40($s6) -/* 70C330 80238620 3C018024 */ lui $at, %hi(D_8023D2AC) -/* 70C334 80238624 E436D2AC */ swc1 $f22, %lo(D_8023D2AC)($at) -.L80238628: -/* 70C338 80238628 3C018024 */ lui $at, %hi(D_8023D2B4) -/* 70C33C 8023862C C420D2B4 */ lwc1 $f0, %lo(D_8023D2B4)($at) -/* 70C340 80238630 4600B03E */ c.le.s $f22, $f0 -/* 70C344 80238634 00000000 */ nop -/* 70C348 80238638 4500001B */ bc1f .L802386A8 -/* 70C34C 8023863C 00000000 */ nop -/* 70C350 80238640 3C0140C9 */ lui $at, 0x40c9 -/* 70C354 80238644 34210FD0 */ ori $at, $at, 0xfd0 -/* 70C358 80238648 4481A000 */ mtc1 $at, $f20 -/* 70C35C 8023864C 00000000 */ nop -/* 70C360 80238650 46140502 */ mul.s $f20, $f0, $f20 -/* 70C364 80238654 00000000 */ nop -/* 70C368 80238658 3C0143B4 */ lui $at, 0x43b4 -/* 70C36C 8023865C 44810000 */ mtc1 $at, $f0 -/* 70C370 80238660 00000000 */ nop -/* 70C374 80238664 4600A503 */ div.s $f20, $f20, $f0 -/* 70C378 80238668 0C00A85B */ jal sin_rad -/* 70C37C 8023866C 4600A306 */ mov.s $f12, $f20 -/* 70C380 80238670 4600A306 */ mov.s $f12, $f20 -/* 70C384 80238674 0C00A874 */ jal cos_rad -/* 70C388 80238678 46000506 */ mov.s $f20, $f0 -/* 70C38C 8023867C C6C40040 */ lwc1 $f4, 0x40($s6) -/* 70C390 80238680 46142502 */ mul.s $f20, $f4, $f20 -/* 70C394 80238684 00000000 */ nop -/* 70C398 80238688 46002102 */ mul.s $f4, $f4, $f0 -/* 70C39C 8023868C 00000000 */ nop -/* 70C3A0 80238690 C6C20000 */ lwc1 $f2, ($s6) -/* 70C3A4 80238694 46141080 */ add.s $f2, $f2, $f20 -/* 70C3A8 80238698 C6C00004 */ lwc1 $f0, 4($s6) -/* 70C3AC 8023869C 46040000 */ add.s $f0, $f0, $f4 -/* 70C3B0 802386A0 E6C20000 */ swc1 $f2, ($s6) -/* 70C3B4 802386A4 E6C00004 */ swc1 $f0, 4($s6) -.L802386A8: -/* 70C3B8 802386A8 C6C00000 */ lwc1 $f0, ($s6) -/* 70C3BC 802386AC 3C01C1F0 */ lui $at, 0xc1f0 -/* 70C3C0 802386B0 44811000 */ mtc1 $at, $f2 -/* 70C3C4 802386B4 00000000 */ nop -/* 70C3C8 802386B8 4602003C */ c.lt.s $f0, $f2 -/* 70C3CC 802386BC 00000000 */ nop -/* 70C3D0 802386C0 45030001 */ bc1tl .L802386C8 -/* 70C3D4 802386C4 E6C20000 */ swc1 $f2, ($s6) -.L802386C8: -/* 70C3D8 802386C8 C6C00000 */ lwc1 $f0, ($s6) -/* 70C3DC 802386CC 3C01432A */ lui $at, 0x432a -/* 70C3E0 802386D0 44811000 */ mtc1 $at, $f2 -/* 70C3E4 802386D4 00000000 */ nop -/* 70C3E8 802386D8 4600103C */ c.lt.s $f2, $f0 -/* 70C3EC 802386DC 00000000 */ nop -/* 70C3F0 802386E0 45030001 */ bc1tl .L802386E8 -/* 70C3F4 802386E4 E6C20000 */ swc1 $f2, ($s6) -.L802386E8: -/* 70C3F8 802386E8 C6C00004 */ lwc1 $f0, 4($s6) -/* 70C3FC 802386EC 3C014302 */ lui $at, 0x4302 -/* 70C400 802386F0 44811000 */ mtc1 $at, $f2 -/* 70C404 802386F4 00000000 */ nop -/* 70C408 802386F8 4600103C */ c.lt.s $f2, $f0 -/* 70C40C 802386FC 00000000 */ nop -/* 70C410 80238700 45030001 */ bc1tl .L80238708 -/* 70C414 80238704 E6C20004 */ swc1 $f2, 4($s6) -.L80238708: -/* 70C418 80238708 C6C00004 */ lwc1 $f0, 4($s6) -/* 70C41C 8023870C 4616003C */ c.lt.s $f0, $f22 -/* 70C420 80238710 00000000 */ nop -/* 70C424 80238714 45030001 */ bc1tl .L8023871C -/* 70C428 80238718 E6D60004 */ swc1 $f22, 4($s6) -.L8023871C: -/* 70C42C 8023871C 8E020214 */ lw $v0, 0x214($s0) -/* 70C430 80238720 30428000 */ andi $v0, $v0, 0x8000 -/* 70C434 80238724 10400003 */ beqz $v0, .L80238734 -/* 70C438 80238728 00000000 */ nop -/* 70C43C 8023872C 3C018024 */ lui $at, %hi(D_8023D298) -/* 70C440 80238730 AC20D298 */ sw $zero, %lo(D_8023D298)($at) -.L80238734: -/* 70C444 80238734 3C108024 */ lui $s0, %hi(D_8023D298) -/* 70C448 80238738 2610D298 */ addiu $s0, $s0, %lo(D_8023D298) -/* 70C44C 8023873C 8E030000 */ lw $v1, ($s0) -/* 70C450 80238740 2402003C */ addiu $v0, $zero, 0x3c -/* 70C454 80238744 14620008 */ bne $v1, $v0, .L80238768 -/* 70C458 80238748 2402001E */ addiu $v0, $zero, 0x1e -/* 70C45C 8023874C 24040100 */ addiu $a0, $zero, 0x100 -/* 70C460 80238750 0000282D */ daddu $a1, $zero, $zero -/* 70C464 80238754 3C060010 */ lui $a2, 0x10 -/* 70C468 80238758 0C098F3F */ jal set_animation -/* 70C46C 8023875C 34C60010 */ ori $a2, $a2, 0x10 -/* 70C470 80238760 8E030000 */ lw $v1, ($s0) -/* 70C474 80238764 2402001E */ addiu $v0, $zero, 0x1e -.L80238768: -/* 70C478 80238768 14620005 */ bne $v1, $v0, .L80238780 -/* 70C47C 8023876C 24040100 */ addiu $a0, $zero, 0x100 -/* 70C480 80238770 0000282D */ daddu $a1, $zero, $zero -/* 70C484 80238774 3C060010 */ lui $a2, 0x10 -/* 70C488 80238778 0C098F3F */ jal set_animation -/* 70C48C 8023877C 34C60011 */ ori $a2, $a2, 0x11 -.L80238780: -/* 70C490 80238780 8E020000 */ lw $v0, ($s0) -/* 70C494 80238784 10400003 */ beqz $v0, .L80238794 -/* 70C498 80238788 2442FFFF */ addiu $v0, $v0, -1 -/* 70C49C 8023878C 0808E21D */ j .L80238874 -/* 70C4A0 80238790 AE020000 */ sw $v0, ($s0) -.L80238794: -/* 70C4A4 80238794 8FA90068 */ lw $t1, 0x68($sp) -/* 70C4A8 80238798 AD2000BC */ sw $zero, 0xbc($t1) -/* 70C4AC 8023879C AD2000C0 */ sw $zero, 0xc0($t1) -/* 70C4B0 802387A0 C6C00000 */ lwc1 $f0, ($s6) -/* 70C4B4 802387A4 4600028D */ trunc.w.s $f10, $f0 -/* 70C4B8 802387A8 E52A00A0 */ swc1 $f10, 0xa0($t1) -/* 70C4BC 802387AC C6C00004 */ lwc1 $f0, 4($s6) -/* 70C4C0 802387B0 4600028D */ trunc.w.s $f10, $f0 -/* 70C4C4 802387B4 E52A00A4 */ swc1 $f10, 0xa4($t1) -/* 70C4C8 802387B8 C6C00008 */ lwc1 $f0, 8($s6) -/* 70C4CC 802387BC 4600028D */ trunc.w.s $f10, $f0 -/* 70C4D0 802387C0 E52A00A8 */ swc1 $f10, 0xa8($t1) -/* 70C4D4 802387C4 C6CC0000 */ lwc1 $f12, ($s6) -/* 70C4D8 802387C8 C6CE0004 */ lwc1 $f14, 4($s6) -/* 70C4DC 802387CC 8EC6000C */ lw $a2, 0xc($s6) -/* 70C4E0 802387D0 0C00A7B5 */ jal dist2D -/* 70C4E4 802387D4 8EC70010 */ lw $a3, 0x10($s6) -/* 70C4E8 802387D8 C6C20024 */ lwc1 $f2, 0x24($s6) -/* 70C4EC 802387DC 3C014028 */ lui $at, 0x4028 -/* 70C4F0 802387E0 44812800 */ mtc1 $at, $f5 -/* 70C4F4 802387E4 44802000 */ mtc1 $zero, $f4 -/* 70C4F8 802387E8 46020003 */ div.s $f0, $f0, $f2 -/* 70C4FC 802387EC 460000A1 */ cvt.d.s $f2, $f0 -/* 70C500 802387F0 4624103E */ c.le.d $f2, $f4 -/* 70C504 802387F4 00000000 */ nop -/* 70C508 802387F8 45000004 */ bc1f .L8023880C -/* 70C50C 802387FC E6C0004C */ swc1 $f0, 0x4c($s6) -/* 70C510 80238800 8FA90068 */ lw $t1, 0x68($sp) -/* 70C514 80238804 24020001 */ addiu $v0, $zero, 1 -/* 70C518 80238808 AD2200C0 */ sw $v0, 0xc0($t1) -.L8023880C: -/* 70C51C 8023880C 3C048024 */ lui $a0, %hi(D_8023D28C) -/* 70C520 80238810 8C84D28C */ lw $a0, %lo(D_8023D28C)($a0) -/* 70C524 80238814 0C05123D */ jal free_icon -/* 70C528 80238818 0000902D */ daddu $s2, $zero, $zero -/* 70C52C 8023881C 3C048024 */ lui $a0, %hi(D_8023D288) -/* 70C530 80238820 8C84D288 */ lw $a0, %lo(D_8023D288)($a0) -/* 70C534 80238824 0C05123D */ jal free_icon -/* 70C538 80238828 00000000 */ nop -/* 70C53C 8023882C 3C048024 */ lui $a0, %hi(D_8023D2BC) -/* 70C540 80238830 8C84D2BC */ lw $a0, %lo(D_8023D2BC)($a0) -/* 70C544 80238834 3C108024 */ lui $s0, %hi(D_8023D2B8) -/* 70C548 80238838 2610D2B8 */ addiu $s0, $s0, %lo(D_8023D2B8) -/* 70C54C 8023883C 0C05123D */ jal free_icon -/* 70C550 80238840 00000000 */ nop -.L80238844: -/* 70C554 80238844 8E040000 */ lw $a0, ($s0) -/* 70C558 80238848 26100004 */ addiu $s0, $s0, 4 -/* 70C55C 8023884C 0C05123D */ jal free_icon -/* 70C560 80238850 26520001 */ addiu $s2, $s2, 1 -/* 70C564 80238854 1A40FFFB */ blez $s2, .L80238844 -/* 70C568 80238858 00000000 */ nop -/* 70C56C 8023885C 0C093EB1 */ jal set_popup_duration -/* 70C570 80238860 0000202D */ daddu $a0, $zero, $zero -/* 70C574 80238864 0C05271B */ jal stop_sound -/* 70C578 80238868 24040312 */ addiu $a0, $zero, 0x312 -/* 70C57C 8023886C 0808E28D */ j .L80238A34 -/* 70C580 80238870 24020002 */ addiu $v0, $zero, 2 -.L80238874: -/* 70C584 80238874 3C148007 */ lui $s4, %hi(gCurrentCameraID) -/* 70C588 80238878 26947410 */ addiu $s4, $s4, %lo(gCurrentCameraID) -/* 70C58C 8023887C 27B30020 */ addiu $s3, $sp, 0x20 -/* 70C590 80238880 27B20024 */ addiu $s2, $sp, 0x24 -/* 70C594 80238884 8E840000 */ lw $a0, ($s4) -/* 70C598 80238888 27B10028 */ addiu $s1, $sp, 0x28 -/* 70C59C 8023888C AFB30010 */ sw $s3, 0x10($sp) -/* 70C5A0 80238890 AFB20014 */ sw $s2, 0x14($sp) -/* 70C5A4 80238894 AFB10018 */ sw $s1, 0x18($sp) -/* 70C5A8 80238898 8EC5000C */ lw $a1, 0xc($s6) -/* 70C5AC 8023889C 8EC60010 */ lw $a2, 0x10($s6) -/* 70C5B0 802388A0 0C00B94E */ jal get_screen_coords -/* 70C5B4 802388A4 8EC70014 */ lw $a3, 0x14($s6) -/* 70C5B8 802388A8 3C158024 */ lui $s5, %hi(D_8023D28C) -/* 70C5BC 802388AC 8EB5D28C */ lw $s5, %lo(D_8023D28C)($s5) -/* 70C5C0 802388B0 8FA50020 */ lw $a1, 0x20($sp) -/* 70C5C4 802388B4 8FA60024 */ lw $a2, 0x24($sp) -/* 70C5C8 802388B8 0C051261 */ jal set_icon_render_pos -/* 70C5CC 802388BC 02A0202D */ daddu $a0, $s5, $zero -/* 70C5D0 802388C0 02A0202D */ daddu $a0, $s5, $zero -/* 70C5D4 802388C4 3C108024 */ lui $s0, %hi(D_8023D290) -/* 70C5D8 802388C8 2610D290 */ addiu $s0, $s0, %lo(D_8023D290) -/* 70C5DC 802388CC 44800000 */ mtc1 $zero, $f0 -/* 70C5E0 802388D0 C60A0000 */ lwc1 $f10, ($s0) -/* 70C5E4 802388D4 468052A0 */ cvt.s.w $f10, $f10 -/* 70C5E8 802388D8 44050000 */ mfc1 $a1, $f0 -/* 70C5EC 802388DC 44075000 */ mfc1 $a3, $f10 -/* 70C5F0 802388E0 0C051489 */ jal func_80145224 -/* 70C5F4 802388E4 00A0302D */ daddu $a2, $a1, $zero -/* 70C5F8 802388E8 8E020000 */ lw $v0, ($s0) -/* 70C5FC 802388EC 2442FFF6 */ addiu $v0, $v0, -0xa -/* 70C600 802388F0 44826000 */ mtc1 $v0, $f12 -/* 70C604 802388F4 00000000 */ nop -/* 70C608 802388F8 46806320 */ cvt.s.w $f12, $f12 -/* 70C60C 802388FC 0C00A6C9 */ jal clamp_angle -/* 70C610 80238900 AE020000 */ sw $v0, ($s0) -/* 70C614 80238904 8E840000 */ lw $a0, ($s4) -/* 70C618 80238908 AFB30010 */ sw $s3, 0x10($sp) -/* 70C61C 8023890C AFB20014 */ sw $s2, 0x14($sp) -/* 70C620 80238910 AFB10018 */ sw $s1, 0x18($sp) -/* 70C624 80238914 8EC50000 */ lw $a1, ($s6) -/* 70C628 80238918 8EC60004 */ lw $a2, 4($s6) -/* 70C62C 8023891C 8EC70008 */ lw $a3, 8($s6) -/* 70C630 80238920 4600028D */ trunc.w.s $f10, $f0 -/* 70C634 80238924 0C00B94E */ jal get_screen_coords -/* 70C638 80238928 E60A0000 */ swc1 $f10, ($s0) -/* 70C63C 8023892C 3C048024 */ lui $a0, %hi(D_8023D288) -/* 70C640 80238930 8C84D288 */ lw $a0, %lo(D_8023D288)($a0) -/* 70C644 80238934 8FA50020 */ lw $a1, 0x20($sp) -/* 70C648 80238938 0C051261 */ jal set_icon_render_pos -/* 70C64C 8023893C 8FA60024 */ lw $a2, 0x24($sp) -/* 70C650 80238940 8FA90068 */ lw $t1, 0x68($sp) -/* 70C654 80238944 8D230070 */ lw $v1, 0x70($t1) -/* 70C658 80238948 28620003 */ slti $v0, $v1, 3 -/* 70C65C 8023894C 10400013 */ beqz $v0, .L8023899C -/* 70C660 80238950 00000000 */ nop -/* 70C664 80238954 18600011 */ blez $v1, .L8023899C -/* 70C668 80238958 00000000 */ nop -/* 70C66C 8023895C 3C058024 */ lui $a1, %hi(D_8023D2C0) -/* 70C670 80238960 24A5D2C0 */ addiu $a1, $a1, %lo(D_8023D2C0) -/* 70C674 80238964 8CA20000 */ lw $v0, ($a1) -/* 70C678 80238968 24420014 */ addiu $v0, $v0, 0x14 -/* 70C67C 8023896C ACA20000 */ sw $v0, ($a1) -/* 70C680 80238970 28420033 */ slti $v0, $v0, 0x33 -/* 70C684 80238974 14400002 */ bnez $v0, .L80238980 -/* 70C688 80238978 24020032 */ addiu $v0, $zero, 0x32 -/* 70C68C 8023897C ACA20000 */ sw $v0, ($a1) -.L80238980: -/* 70C690 80238980 3C048024 */ lui $a0, %hi(D_8023D2BC) -/* 70C694 80238984 8C84D2BC */ lw $a0, %lo(D_8023D2BC)($a0) -/* 70C698 80238988 8CA50000 */ lw $a1, ($a1) -/* 70C69C 8023898C 3C068024 */ lui $a2, %hi(D_8023D2C4) -/* 70C6A0 80238990 8CC6D2C4 */ lw $a2, %lo(D_8023D2C4)($a2) -/* 70C6A4 80238994 0C051261 */ jal set_icon_render_pos -/* 70C6A8 80238998 00000000 */ nop -.L8023899C: -/* 70C6AC 8023899C 8FA80068 */ lw $t0, 0x68($sp) -/* 70C6B0 802389A0 8D040070 */ lw $a0, 0x70($t0) -/* 70C6B4 802389A4 28820003 */ slti $v0, $a0, 3 -/* 70C6B8 802389A8 1040001F */ beqz $v0, .L80238A28 -/* 70C6BC 802389AC 00000000 */ nop -/* 70C6C0 802389B0 1880001D */ blez $a0, .L80238A28 -/* 70C6C4 802389B4 0000902D */ daddu $s2, $zero, $zero -/* 70C6C8 802389B8 27B40020 */ addiu $s4, $sp, 0x20 -/* 70C6CC 802389BC C6C00000 */ lwc1 $f0, ($s6) -/* 70C6D0 802389C0 27B30024 */ addiu $s3, $sp, 0x24 -/* 70C6D4 802389C4 E7C00000 */ swc1 $f0, ($fp) -/* 70C6D8 802389C8 C6C00004 */ lwc1 $f0, 4($s6) -/* 70C6DC 802389CC 27B10028 */ addiu $s1, $sp, 0x28 -/* 70C6E0 802389D0 E7C00004 */ swc1 $f0, 4($fp) -/* 70C6E4 802389D4 C6C00008 */ lwc1 $f0, 8($s6) -/* 70C6E8 802389D8 3C108024 */ lui $s0, %hi(D_8023D2B8) -/* 70C6EC 802389DC 2610D2B8 */ addiu $s0, $s0, %lo(D_8023D2B8) -/* 70C6F0 802389E0 E7C00008 */ swc1 $f0, 8($fp) -.L802389E4: -/* 70C6F4 802389E4 3C048007 */ lui $a0, %hi(gCurrentCameraID) -/* 70C6F8 802389E8 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0) -/* 70C6FC 802389EC AFB40010 */ sw $s4, 0x10($sp) -/* 70C700 802389F0 AFB30014 */ sw $s3, 0x14($sp) -/* 70C704 802389F4 AFB10018 */ sw $s1, 0x18($sp) -/* 70C708 802389F8 8FC50000 */ lw $a1, ($fp) -/* 70C70C 802389FC 8FC60004 */ lw $a2, 4($fp) -/* 70C710 80238A00 8FC70008 */ lw $a3, 8($fp) -/* 70C714 80238A04 0C00B94E */ jal get_screen_coords -/* 70C718 80238A08 26520001 */ addiu $s2, $s2, 1 -/* 70C71C 80238A0C 8E040000 */ lw $a0, ($s0) -/* 70C720 80238A10 8FA50020 */ lw $a1, 0x20($sp) -/* 70C724 80238A14 8FA60024 */ lw $a2, 0x24($sp) -/* 70C728 80238A18 0C051261 */ jal set_icon_render_pos -/* 70C72C 80238A1C 26100004 */ addiu $s0, $s0, 4 -/* 70C730 80238A20 1A40FFF0 */ blez $s2, .L802389E4 -/* 70C734 80238A24 00000000 */ nop -.L80238A28: -/* 70C738 80238A28 0C093EB1 */ jal set_popup_duration -/* 70C73C 80238A2C 24040063 */ addiu $a0, $zero, 0x63 -/* 70C740 80238A30 0000102D */ daddu $v0, $zero, $zero -.L80238A34: -/* 70C744 80238A34 8FBF0054 */ lw $ra, 0x54($sp) -/* 70C748 80238A38 8FBE0050 */ lw $fp, 0x50($sp) -/* 70C74C 80238A3C 8FB7004C */ lw $s7, 0x4c($sp) -/* 70C750 80238A40 8FB60048 */ lw $s6, 0x48($sp) -/* 70C754 80238A44 8FB50044 */ lw $s5, 0x44($sp) -/* 70C758 80238A48 8FB40040 */ lw $s4, 0x40($sp) -/* 70C75C 80238A4C 8FB3003C */ lw $s3, 0x3c($sp) -/* 70C760 80238A50 8FB20038 */ lw $s2, 0x38($sp) -/* 70C764 80238A54 8FB10034 */ lw $s1, 0x34($sp) -/* 70C768 80238A58 8FB00030 */ lw $s0, 0x30($sp) -/* 70C76C 80238A5C D7B60060 */ ldc1 $f22, 0x60($sp) -/* 70C770 80238A60 D7B40058 */ ldc1 $f20, 0x58($sp) -/* 70C774 80238A64 03E00008 */ jr $ra -/* 70C778 80238A68 27BD0068 */ addiu $sp, $sp, 0x68 diff --git a/ver/us/asm/nonmatchings/code_70BD10/func_80238A6C_70C77C.s b/ver/us/asm/nonmatchings/code_70BD10/func_80238A6C_70C77C.s deleted file mode 100644 index f1af4bf4f7..0000000000 --- a/ver/us/asm/nonmatchings/code_70BD10/func_80238A6C_70C77C.s +++ /dev/null @@ -1,61 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_80238A6C_70C77C -/* 70C77C 80238A6C 27BDFFA8 */ addiu $sp, $sp, -0x58 -/* 70C780 80238A70 3C03800E */ lui $v1, %hi(gBattleStatus+0xDC) -/* 70C784 80238A74 8C63C14C */ lw $v1, %lo(gBattleStatus+0xDC)($v1) -/* 70C788 80238A78 3C0140A0 */ lui $at, 0x40a0 -/* 70C78C 80238A7C 44810000 */ mtc1 $at, $f0 -/* 70C790 80238A80 2404008C */ addiu $a0, $zero, 0x8c -/* 70C794 80238A84 AFBF0028 */ sw $ra, 0x28($sp) -/* 70C798 80238A88 F7BC0050 */ sdc1 $f28, 0x50($sp) -/* 70C79C 80238A8C F7BA0048 */ sdc1 $f26, 0x48($sp) -/* 70C7A0 80238A90 F7B80040 */ sdc1 $f24, 0x40($sp) -/* 70C7A4 80238A94 F7B60038 */ sdc1 $f22, 0x38($sp) -/* 70C7A8 80238A98 F7B40030 */ sdc1 $f20, 0x30($sp) -/* 70C7AC 80238A9C C4780144 */ lwc1 $f24, 0x144($v1) -/* 70C7B0 80238AA0 90620191 */ lbu $v0, 0x191($v1) -/* 70C7B4 80238AA4 4600C600 */ add.s $f24, $f24, $f0 -/* 70C7B8 80238AA8 C4760148 */ lwc1 $f22, 0x148($v1) -/* 70C7BC 80238AAC 44820000 */ mtc1 $v0, $f0 -/* 70C7C0 80238AB0 00000000 */ nop -/* 70C7C4 80238AB4 46800020 */ cvt.s.w $f0, $f0 -/* 70C7C8 80238AB8 4600B580 */ add.s $f22, $f22, $f0 -/* 70C7CC 80238ABC 3C0141A0 */ lui $at, 0x41a0 -/* 70C7D0 80238AC0 4481D000 */ mtc1 $at, $f26 -/* 70C7D4 80238AC4 C47C014C */ lwc1 $f28, 0x14c($v1) -/* 70C7D8 80238AC8 0C00A67F */ jal rand_int -/* 70C7DC 80238ACC 461AB580 */ add.s $f22, $f22, $f26 -/* 70C7E0 80238AD0 2442000A */ addiu $v0, $v0, 0xa -/* 70C7E4 80238AD4 4482A000 */ mtc1 $v0, $f20 -/* 70C7E8 80238AD8 00000000 */ nop -/* 70C7EC 80238ADC 4680A520 */ cvt.s.w $f20, $f20 -/* 70C7F0 80238AE0 0C00A67F */ jal rand_int -/* 70C7F4 80238AE4 24040050 */ addiu $a0, $zero, 0x50 -/* 70C7F8 80238AE8 0000202D */ daddu $a0, $zero, $zero -/* 70C7FC 80238AEC 2442000A */ addiu $v0, $v0, 0xa -/* 70C800 80238AF0 44820000 */ mtc1 $v0, $f0 -/* 70C804 80238AF4 00000000 */ nop -/* 70C808 80238AF8 46800020 */ cvt.s.w $f0, $f0 -/* 70C80C 80238AFC E7A00014 */ swc1 $f0, 0x14($sp) -/* 70C810 80238B00 3C013FC0 */ lui $at, 0x3fc0 -/* 70C814 80238B04 44810000 */ mtc1 $at, $f0 -/* 70C818 80238B08 4405C000 */ mfc1 $a1, $f24 -/* 70C81C 80238B0C 4407E000 */ mfc1 $a3, $f28 -/* 70C820 80238B10 4406B000 */ mfc1 $a2, $f22 -/* 70C824 80238B14 2402001E */ addiu $v0, $zero, 0x1e -/* 70C828 80238B18 E7B40010 */ swc1 $f20, 0x10($sp) -/* 70C82C 80238B1C E7BA0018 */ swc1 $f26, 0x18($sp) -/* 70C830 80238B20 AFA20020 */ sw $v0, 0x20($sp) -/* 70C834 80238B24 0C01C784 */ jal func_80071E10 -/* 70C838 80238B28 E7A0001C */ swc1 $f0, 0x1c($sp) -/* 70C83C 80238B2C 8FBF0028 */ lw $ra, 0x28($sp) -/* 70C840 80238B30 D7BC0050 */ ldc1 $f28, 0x50($sp) -/* 70C844 80238B34 D7BA0048 */ ldc1 $f26, 0x48($sp) -/* 70C848 80238B38 D7B80040 */ ldc1 $f24, 0x40($sp) -/* 70C84C 80238B3C D7B60038 */ ldc1 $f22, 0x38($sp) -/* 70C850 80238B40 D7B40030 */ ldc1 $f20, 0x30($sp) -/* 70C854 80238B44 24020002 */ addiu $v0, $zero, 2 -/* 70C858 80238B48 03E00008 */ jr $ra -/* 70C85C 80238B4C 27BD0058 */ addiu $sp, $sp, 0x58 diff --git a/ver/us/asm/nonmatchings/code_70BD10/func_80238B50_70C860.s b/ver/us/asm/nonmatchings/code_70BD10/func_80238B50_70C860.s deleted file mode 100644 index 18ff5669ca..0000000000 --- a/ver/us/asm/nonmatchings/code_70BD10/func_80238B50_70C860.s +++ /dev/null @@ -1,60 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_80238B50_70C860 -/* 70C860 80238B50 3C02800E */ lui $v0, %hi(gBattleStatus+0xDC) -/* 70C864 80238B54 8C42C14C */ lw $v0, %lo(gBattleStatus+0xDC)($v0) -/* 70C868 80238B58 8C420008 */ lw $v0, 8($v0) -/* 70C86C 80238B5C 24030001 */ addiu $v1, $zero, 1 -/* 70C870 80238B60 90450006 */ lbu $a1, 6($v0) -/* 70C874 80238B64 8C8700AC */ lw $a3, 0xac($a0) -/* 70C878 80238B68 10A30010 */ beq $a1, $v1, .L80238BAC -/* 70C87C 80238B6C 0000302D */ daddu $a2, $zero, $zero -/* 70C880 80238B70 28A20002 */ slti $v0, $a1, 2 -/* 70C884 80238B74 10400005 */ beqz $v0, .L80238B8C -/* 70C888 80238B78 24020002 */ addiu $v0, $zero, 2 -/* 70C88C 80238B7C 10A00007 */ beqz $a1, .L80238B9C -/* 70C890 80238B80 28E20064 */ slti $v0, $a3, 0x64 -/* 70C894 80238B84 0808E2FE */ j .L80238BF8 -/* 70C898 80238B88 00000000 */ nop -.L80238B8C: -/* 70C89C 80238B8C 10A2000F */ beq $a1, $v0, .L80238BCC -/* 70C8A0 80238B90 28E20064 */ slti $v0, $a3, 0x64 -/* 70C8A4 80238B94 0808E2FE */ j .L80238BF8 -/* 70C8A8 80238B98 00000000 */ nop -.L80238B9C: -/* 70C8AC 80238B9C 10400015 */ beqz $v0, .L80238BF4 -/* 70C8B0 80238BA0 24060002 */ addiu $a2, $zero, 2 -/* 70C8B4 80238BA4 0808E2FD */ j .L80238BF4 -/* 70C8B8 80238BA8 24060001 */ addiu $a2, $zero, 1 -.L80238BAC: -/* 70C8BC 80238BAC 28E20047 */ slti $v0, $a3, 0x47 -/* 70C8C0 80238BB0 14400010 */ bnez $v0, .L80238BF4 -/* 70C8C4 80238BB4 24060001 */ addiu $a2, $zero, 1 -/* 70C8C8 80238BB8 28E20064 */ slti $v0, $a3, 0x64 -/* 70C8CC 80238BBC 1040000E */ beqz $v0, .L80238BF8 -/* 70C8D0 80238BC0 24060003 */ addiu $a2, $zero, 3 -/* 70C8D4 80238BC4 0808E2FE */ j .L80238BF8 -/* 70C8D8 80238BC8 24060002 */ addiu $a2, $zero, 2 -.L80238BCC: -/* 70C8DC 80238BCC 28E20029 */ slti $v0, $a3, 0x29 -/* 70C8E0 80238BD0 14400008 */ bnez $v0, .L80238BF4 -/* 70C8E4 80238BD4 24060001 */ addiu $a2, $zero, 1 -/* 70C8E8 80238BD8 28E20047 */ slti $v0, $a3, 0x47 -/* 70C8EC 80238BDC 14400005 */ bnez $v0, .L80238BF4 -/* 70C8F0 80238BE0 24060002 */ addiu $a2, $zero, 2 -/* 70C8F4 80238BE4 28E20064 */ slti $v0, $a3, 0x64 -/* 70C8F8 80238BE8 10400003 */ beqz $v0, .L80238BF8 -/* 70C8FC 80238BEC 24060004 */ addiu $a2, $zero, 4 -/* 70C900 80238BF0 24060003 */ addiu $a2, $zero, 3 -.L80238BF4: -/* 70C904 80238BF4 28E20064 */ slti $v0, $a3, 0x64 -.L80238BF8: -/* 70C908 80238BF8 54400003 */ bnel $v0, $zero, .L80238C08 -/* 70C90C 80238BFC AC800084 */ sw $zero, 0x84($a0) -/* 70C910 80238C00 24020001 */ addiu $v0, $zero, 1 -/* 70C914 80238C04 AC820084 */ sw $v0, 0x84($a0) -.L80238C08: -/* 70C918 80238C08 AC8600C0 */ sw $a2, 0xc0($a0) -/* 70C91C 80238C0C 03E00008 */ jr $ra -/* 70C920 80238C10 24020002 */ addiu $v0, $zero, 2 diff --git a/ver/us/asm/nonmatchings/code_70BD10/func_80238C14_70C924.s b/ver/us/asm/nonmatchings/code_70BD10/func_80238C14_70C924.s deleted file mode 100644 index ff849707f8..0000000000 --- a/ver/us/asm/nonmatchings/code_70BD10/func_80238C14_70C924.s +++ /dev/null @@ -1,22 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_80238C14_70C924 -/* 70C924 80238C14 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 70C928 80238C18 AFB00010 */ sw $s0, 0x10($sp) -/* 70C92C 80238C1C 3C10800E */ lui $s0, %hi(gBattleStatus) -/* 70C930 80238C20 2610C070 */ addiu $s0, $s0, %lo(gBattleStatus) -/* 70C934 80238C24 AFBF0014 */ sw $ra, 0x14($sp) -/* 70C938 80238C28 8E0400A8 */ lw $a0, 0xa8($s0) -/* 70C93C 80238C2C 10800006 */ beqz $a0, .L80238C48 -/* 70C940 80238C30 24020002 */ addiu $v0, $zero, 2 -/* 70C944 80238C34 0C016914 */ jal remove_effect -/* 70C948 80238C38 00000000 */ nop -/* 70C94C 80238C3C 24020002 */ addiu $v0, $zero, 2 -/* 70C950 80238C40 AE0000A8 */ sw $zero, 0xa8($s0) -/* 70C954 80238C44 A20000A4 */ sb $zero, 0xa4($s0) -.L80238C48: -/* 70C958 80238C48 8FBF0014 */ lw $ra, 0x14($sp) -/* 70C95C 80238C4C 8FB00010 */ lw $s0, 0x10($sp) -/* 70C960 80238C50 03E00008 */ jr $ra -/* 70C964 80238C54 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/ver/us/asm/nonmatchings/code_70BD10/func_80238C58_70C968.s b/ver/us/asm/nonmatchings/code_70BD10/func_80238C58_70C968.s deleted file mode 100644 index 6ed121edd7..0000000000 --- a/ver/us/asm/nonmatchings/code_70BD10/func_80238C58_70C968.s +++ /dev/null @@ -1,69 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_80238C58_70C968 -/* 70C968 80238C58 27BDFFE0 */ addiu $sp, $sp, -0x20 -/* 70C96C 80238C5C AFB00018 */ sw $s0, 0x18($sp) -/* 70C970 80238C60 0080802D */ daddu $s0, $a0, $zero -/* 70C974 80238C64 3C06800E */ lui $a2, %hi(gBattleStatus) -/* 70C978 80238C68 24C6C070 */ addiu $a2, $a2, %lo(gBattleStatus) -/* 70C97C 80238C6C AFBF001C */ sw $ra, 0x1c($sp) -/* 70C980 80238C70 8CC400D8 */ lw $a0, 0xd8($a2) -/* 70C984 80238C74 54A00001 */ bnel $a1, $zero, .L80238C7C -/* 70C988 80238C78 AE000070 */ sw $zero, 0x70($s0) -.L80238C7C: -/* 70C98C 80238C7C 8E030070 */ lw $v1, 0x70($s0) -/* 70C990 80238C80 10600005 */ beqz $v1, .L80238C98 -/* 70C994 80238C84 24020001 */ addiu $v0, $zero, 1 -/* 70C998 80238C88 10620013 */ beq $v1, $v0, .L80238CD8 -/* 70C99C 80238C8C 0000102D */ daddu $v0, $zero, $zero -/* 70C9A0 80238C90 0808E34E */ j .L80238D38 -/* 70C9A4 80238C94 00000000 */ nop -.L80238C98: -/* 70C9A8 80238C98 3C013DCC */ lui $at, 0x3dcc -/* 70C9AC 80238C9C 3421CCCD */ ori $at, $at, 0xcccd -/* 70C9B0 80238CA0 44810000 */ mtc1 $at, $f0 -/* 70C9B4 80238CA4 24C200A8 */ addiu $v0, $a2, 0xa8 -/* 70C9B8 80238CA8 AFA20014 */ sw $v0, 0x14($sp) -/* 70C9BC 80238CAC E7A00010 */ swc1 $f0, 0x10($sp) -/* 70C9C0 80238CB0 8C850144 */ lw $a1, 0x144($a0) -/* 70C9C4 80238CB4 8C860148 */ lw $a2, 0x148($a0) -/* 70C9C8 80238CB8 8C87014C */ lw $a3, 0x14c($a0) -/* 70C9CC 80238CBC 3C018024 */ lui $at, %hi(D_8023D1E0) -/* 70C9D0 80238CC0 E420D1E0 */ swc1 $f0, %lo(D_8023D1E0)($at) -/* 70C9D4 80238CC4 0C01C304 */ jal func_80070C10 -/* 70C9D8 80238CC8 0000202D */ daddu $a0, $zero, $zero -/* 70C9DC 80238CCC 24020001 */ addiu $v0, $zero, 1 -/* 70C9E0 80238CD0 0808E34D */ j .L80238D34 -/* 70C9E4 80238CD4 AE020070 */ sw $v0, 0x70($s0) -.L80238CD8: -/* 70C9E8 80238CD8 3C038024 */ lui $v1, %hi(D_8023D1E0) -/* 70C9EC 80238CDC 2463D1E0 */ addiu $v1, $v1, %lo(D_8023D1E0) -/* 70C9F0 80238CE0 C4620000 */ lwc1 $f2, ($v1) -/* 70C9F4 80238CE4 3C013FF0 */ lui $at, 0x3ff0 -/* 70C9F8 80238CE8 44810800 */ mtc1 $at, $f1 -/* 70C9FC 80238CEC 44800000 */ mtc1 $zero, $f0 -/* 70CA00 80238CF0 460010A1 */ cvt.d.s $f2, $f2 -/* 70CA04 80238CF4 4622003E */ c.le.d $f0, $f2 -/* 70CA08 80238CF8 00000000 */ nop -/* 70CA0C 80238CFC 4501000E */ bc1t .L80238D38 -/* 70CA10 80238D00 24020002 */ addiu $v0, $zero, 2 -/* 70CA14 80238D04 8CC200A8 */ lw $v0, 0xa8($a2) -/* 70CA18 80238D08 3C018024 */ lui $at, %hi(D_8023D1B8_710EC8) -/* 70CA1C 80238D0C D424D1B8 */ ldc1 $f4, %lo(D_8023D1B8_710EC8)($at) -/* 70CA20 80238D10 8C42000C */ lw $v0, 0xc($v0) -/* 70CA24 80238D14 46241080 */ add.d $f2, $f2, $f4 -/* 70CA28 80238D18 C4400010 */ lwc1 $f0, 0x10($v0) -/* 70CA2C 80238D1C 46000021 */ cvt.d.s $f0, $f0 -/* 70CA30 80238D20 46240000 */ add.d $f0, $f0, $f4 -/* 70CA34 80238D24 462010A0 */ cvt.s.d $f2, $f2 -/* 70CA38 80238D28 E4620000 */ swc1 $f2, ($v1) -/* 70CA3C 80238D2C 46200020 */ cvt.s.d $f0, $f0 -/* 70CA40 80238D30 E4400010 */ swc1 $f0, 0x10($v0) -.L80238D34: -/* 70CA44 80238D34 0000102D */ daddu $v0, $zero, $zero -.L80238D38: -/* 70CA48 80238D38 8FBF001C */ lw $ra, 0x1c($sp) -/* 70CA4C 80238D3C 8FB00018 */ lw $s0, 0x18($sp) -/* 70CA50 80238D40 03E00008 */ jr $ra -/* 70CA54 80238D44 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/ver/us/asm/nonmatchings/code_70BD10/func_80238D8C_70CA9C.s b/ver/us/asm/nonmatchings/code_70BD10/func_80238D8C_70CA9C.s deleted file mode 100644 index 0a52b854f8..0000000000 --- a/ver/us/asm/nonmatchings/code_70BD10/func_80238D8C_70CA9C.s +++ /dev/null @@ -1,207 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_80238D8C_70CA9C -/* 70CA9C 80238D8C 27BDFFC8 */ addiu $sp, $sp, -0x38 -/* 70CAA0 80238D90 AFB50024 */ sw $s5, 0x24($sp) -/* 70CAA4 80238D94 3C15800E */ lui $s5, %hi(gBattleStatus+0xDC) -/* 70CAA8 80238D98 8EB5C14C */ lw $s5, %lo(gBattleStatus+0xDC)($s5) -/* 70CAAC 80238D9C AFBF0034 */ sw $ra, 0x34($sp) -/* 70CAB0 80238DA0 AFBE0030 */ sw $fp, 0x30($sp) -/* 70CAB4 80238DA4 AFB7002C */ sw $s7, 0x2c($sp) -/* 70CAB8 80238DA8 AFB60028 */ sw $s6, 0x28($sp) -/* 70CABC 80238DAC AFB40020 */ sw $s4, 0x20($sp) -/* 70CAC0 80238DB0 AFB3001C */ sw $s3, 0x1c($sp) -/* 70CAC4 80238DB4 AFB20018 */ sw $s2, 0x18($sp) -/* 70CAC8 80238DB8 AFB10014 */ sw $s1, 0x14($sp) -/* 70CACC 80238DBC AFB00010 */ sw $s0, 0x10($sp) -/* 70CAD0 80238DC0 AFA40038 */ sw $a0, 0x38($sp) -/* 70CAD4 80238DC4 3C018024 */ lui $at, %hi(D_8023D330) -/* 70CAD8 80238DC8 AC20D330 */ sw $zero, %lo(D_8023D330)($at) -/* 70CADC 80238DCC 3C018024 */ lui $at, %hi(D_8023D334) -/* 70CAE0 80238DD0 AC20D334 */ sw $zero, %lo(D_8023D334)($at) -/* 70CAE4 80238DD4 82A2040C */ lb $v0, 0x40c($s5) -/* 70CAE8 80238DD8 18400009 */ blez $v0, .L80238E00 -/* 70CAEC 80238DDC 0000982D */ daddu $s3, $zero, $zero -/* 70CAF0 80238DE0 3C038024 */ lui $v1, %hi(D_8023D2D0) -/* 70CAF4 80238DE4 2463D2D0 */ addiu $v1, $v1, %lo(D_8023D2D0) -.L80238DE8: -/* 70CAF8 80238DE8 AC600000 */ sw $zero, ($v1) -/* 70CAFC 80238DEC 82A2040C */ lb $v0, 0x40c($s5) -/* 70CB00 80238DF0 26730001 */ addiu $s3, $s3, 1 -/* 70CB04 80238DF4 0262102A */ slt $v0, $s3, $v0 -/* 70CB08 80238DF8 1440FFFB */ bnez $v0, .L80238DE8 -/* 70CB0C 80238DFC 24630004 */ addiu $v1, $v1, 4 -.L80238E00: -/* 70CB10 80238E00 0000B02D */ daddu $s6, $zero, $zero -/* 70CB14 80238E04 02C0902D */ daddu $s2, $s6, $zero -/* 70CB18 80238E08 82A2040C */ lb $v0, 0x40c($s5) -/* 70CB1C 80238E0C 18400056 */ blez $v0, .L80238F68 -/* 70CB20 80238E10 02C0982D */ daddu $s3, $s6, $zero -/* 70CB24 80238E14 3C1751EB */ lui $s7, 0x51eb -/* 70CB28 80238E18 36F7851F */ ori $s7, $s7, 0x851f -/* 70CB2C 80238E1C 3C1E8024 */ lui $fp, %hi(D_8023D2D0) -/* 70CB30 80238E20 27DED2D0 */ addiu $fp, $fp, %lo(D_8023D2D0) -.L80238E24: -/* 70CB34 80238E24 02B31021 */ addu $v0, $s5, $s3 -/* 70CB38 80238E28 8054040D */ lb $s4, 0x40d($v0) -/* 70CB3C 80238E2C 00141080 */ sll $v0, $s4, 2 -/* 70CB40 80238E30 00541021 */ addu $v0, $v0, $s4 -/* 70CB44 80238E34 00021080 */ sll $v0, $v0, 2 -/* 70CB48 80238E38 2442022C */ addiu $v0, $v0, 0x22c -/* 70CB4C 80238E3C 02A28021 */ addu $s0, $s5, $v0 -/* 70CB50 80238E40 0C09A75B */ jal get_actor -/* 70CB54 80238E44 86040000 */ lh $a0, ($s0) -/* 70CB58 80238E48 0040882D */ daddu $s1, $v0, $zero -/* 70CB5C 80238E4C 86050002 */ lh $a1, 2($s0) -/* 70CB60 80238E50 0C099117 */ jal get_actor_part -/* 70CB64 80238E54 0220202D */ daddu $a0, $s1, $zero -/* 70CB68 80238E58 822401B8 */ lb $a0, 0x1b8($s1) -/* 70CB6C 80238E5C 00041840 */ sll $v1, $a0, 1 -/* 70CB70 80238E60 00641821 */ addu $v1, $v1, $a0 -/* 70CB74 80238E64 000318C0 */ sll $v1, $v1, 3 -/* 70CB78 80238E68 00641821 */ addu $v1, $v1, $a0 -/* 70CB7C 80238E6C 822401B9 */ lb $a0, 0x1b9($s1) -/* 70CB80 80238E70 00031880 */ sll $v1, $v1, 2 -/* 70CB84 80238E74 14800002 */ bnez $a0, .L80238E80 -/* 70CB88 80238E78 0064001A */ div $zero, $v1, $a0 -/* 70CB8C 80238E7C 0007000D */ break 7 -.L80238E80: -/* 70CB90 80238E80 2401FFFF */ addiu $at, $zero, -1 -/* 70CB94 80238E84 14810004 */ bne $a0, $at, .L80238E98 -/* 70CB98 80238E88 3C018000 */ lui $at, 0x8000 -/* 70CB9C 80238E8C 14610002 */ bne $v1, $at, .L80238E98 -/* 70CBA0 80238E90 00000000 */ nop -/* 70CBA4 80238E94 0006000D */ break 6 -.L80238E98: -/* 70CBA8 80238E98 00001812 */ mflo $v1 -/* 70CBAC 80238E9C 0040282D */ daddu $a1, $v0, $zero -/* 70CBB0 80238EA0 8E240008 */ lw $a0, 8($s1) -/* 70CBB4 80238EA4 24020064 */ addiu $v0, $zero, 0x64 -/* 70CBB8 80238EA8 9084001A */ lbu $a0, 0x1a($a0) -/* 70CBBC 80238EAC 18800026 */ blez $a0, .L80238F48 -/* 70CBC0 80238EB0 00431023 */ subu $v0, $v0, $v1 -/* 70CBC4 80238EB4 00820018 */ mult $a0, $v0 -/* 70CBC8 80238EB8 00001812 */ mflo $v1 -/* 70CBCC 80238EBC 00000000 */ nop -/* 70CBD0 80238EC0 00000000 */ nop -/* 70CBD4 80238EC4 00770018 */ mult $v1, $s7 -/* 70CBD8 80238EC8 00031FC3 */ sra $v1, $v1, 0x1f -/* 70CBDC 80238ECC 00003810 */ mfhi $a3 -/* 70CBE0 80238ED0 00071143 */ sra $v0, $a3, 5 -/* 70CBE4 80238ED4 00431023 */ subu $v0, $v0, $v1 -/* 70CBE8 80238ED8 00822021 */ addu $a0, $a0, $v0 -/* 70CBEC 80238EDC 28820065 */ slti $v0, $a0, 0x65 -/* 70CBF0 80238EE0 50400001 */ beql $v0, $zero, .L80238EE8 -/* 70CBF4 80238EE4 24040064 */ addiu $a0, $zero, 0x64 -.L80238EE8: -/* 70CBF8 80238EE8 82220210 */ lb $v0, 0x210($s1) -/* 70CBFC 80238EEC 1040000D */ beqz $v0, .L80238F24 -/* 70CC00 80238EF0 00041880 */ sll $v1, $a0, 2 -/* 70CC04 80238EF4 00641821 */ addu $v1, $v1, $a0 -/* 70CC08 80238EF8 00031100 */ sll $v0, $v1, 4 -/* 70CC0C 80238EFC 00431023 */ subu $v0, $v0, $v1 -/* 70CC10 80238F00 00021040 */ sll $v0, $v0, 1 -/* 70CC14 80238F04 00570018 */ mult $v0, $s7 -/* 70CC18 80238F08 000217C3 */ sra $v0, $v0, 0x1f -/* 70CC1C 80238F0C 00003010 */ mfhi $a2 -/* 70CC20 80238F10 00061943 */ sra $v1, $a2, 5 -/* 70CC24 80238F14 00622023 */ subu $a0, $v1, $v0 -/* 70CC28 80238F18 28820097 */ slti $v0, $a0, 0x97 -/* 70CC2C 80238F1C 50400001 */ beql $v0, $zero, .L80238F24 -/* 70CC30 80238F20 24040096 */ addiu $a0, $zero, 0x96 -.L80238F24: -/* 70CC34 80238F24 82230218 */ lb $v1, 0x218($s1) -/* 70CC38 80238F28 2402000E */ addiu $v0, $zero, 0xe -/* 70CC3C 80238F2C 50620001 */ beql $v1, $v0, .L80238F34 -/* 70CC40 80238F30 0000202D */ daddu $a0, $zero, $zero -.L80238F34: -/* 70CC44 80238F34 8CA2007C */ lw $v0, 0x7c($a1) -/* 70CC48 80238F38 30420020 */ andi $v0, $v0, 0x20 -/* 70CC4C 80238F3C 54400001 */ bnel $v0, $zero, .L80238F44 -/* 70CC50 80238F40 0000202D */ daddu $a0, $zero, $zero -.L80238F44: -/* 70CC54 80238F44 26520001 */ addiu $s2, $s2, 1 -.L80238F48: -/* 70CC58 80238F48 00141080 */ sll $v0, $s4, 2 -/* 70CC5C 80238F4C 005E1021 */ addu $v0, $v0, $fp -/* 70CC60 80238F50 AC440000 */ sw $a0, ($v0) -/* 70CC64 80238F54 82A2040C */ lb $v0, 0x40c($s5) -/* 70CC68 80238F58 26730001 */ addiu $s3, $s3, 1 -/* 70CC6C 80238F5C 0262102A */ slt $v0, $s3, $v0 -/* 70CC70 80238F60 1440FFB0 */ bnez $v0, .L80238E24 -/* 70CC74 80238F64 02C4B021 */ addu $s6, $s6, $a0 -.L80238F68: -/* 70CC78 80238F68 5240000B */ beql $s2, $zero, .L80238F98 -/* 70CC7C 80238F6C 0000B02D */ daddu $s6, $zero, $zero -/* 70CC80 80238F70 16400002 */ bnez $s2, .L80238F7C -/* 70CC84 80238F74 02D2001A */ div $zero, $s6, $s2 -/* 70CC88 80238F78 0007000D */ break 7 -.L80238F7C: -/* 70CC8C 80238F7C 2401FFFF */ addiu $at, $zero, -1 -/* 70CC90 80238F80 16410004 */ bne $s2, $at, .L80238F94 -/* 70CC94 80238F84 3C018000 */ lui $at, 0x8000 -/* 70CC98 80238F88 16C10002 */ bne $s6, $at, .L80238F94 -/* 70CC9C 80238F8C 00000000 */ nop -/* 70CCA0 80238F90 0006000D */ break 6 -.L80238F94: -/* 70CCA4 80238F94 0000B012 */ mflo $s6 -.L80238F98: -/* 70CCA8 80238F98 8FA60038 */ lw $a2, 0x38($sp) -/* 70CCAC 80238F9C ACD60084 */ sw $s6, 0x84($a2) -/* 70CCB0 80238FA0 82A2040C */ lb $v0, 0x40c($s5) -/* 70CCB4 80238FA4 18400024 */ blez $v0, .L80239038 -/* 70CCB8 80238FA8 0000982D */ daddu $s3, $zero, $zero -/* 70CCBC 80238FAC 3C178024 */ lui $s7, %hi(D_8023D2D0) -/* 70CCC0 80238FB0 26F7D2D0 */ addiu $s7, $s7, %lo(D_8023D2D0) -/* 70CCC4 80238FB4 241EFFFF */ addiu $fp, $zero, -1 -/* 70CCC8 80238FB8 02B31021 */ addu $v0, $s5, $s3 -.L80238FBC: -/* 70CCCC 80238FBC 8054040D */ lb $s4, 0x40d($v0) -/* 70CCD0 80238FC0 00149080 */ sll $s2, $s4, 2 -/* 70CCD4 80238FC4 02541021 */ addu $v0, $s2, $s4 -/* 70CCD8 80238FC8 00021080 */ sll $v0, $v0, 2 -/* 70CCDC 80238FCC 2442022C */ addiu $v0, $v0, 0x22c -/* 70CCE0 80238FD0 02A28021 */ addu $s0, $s5, $v0 -/* 70CCE4 80238FD4 0C09A75B */ jal get_actor -/* 70CCE8 80238FD8 86040000 */ lh $a0, ($s0) -/* 70CCEC 80238FDC 0040882D */ daddu $s1, $v0, $zero -/* 70CCF0 80238FE0 86050002 */ lh $a1, 2($s0) -/* 70CCF4 80238FE4 0C099117 */ jal get_actor_part -/* 70CCF8 80238FE8 0220202D */ daddu $a0, $s1, $zero -/* 70CCFC 80238FEC 82230218 */ lb $v1, 0x218($s1) -/* 70CD00 80238FF0 2406000E */ addiu $a2, $zero, 0xe -/* 70CD04 80238FF4 10660005 */ beq $v1, $a2, .L8023900C -/* 70CD08 80238FF8 0040282D */ daddu $a1, $v0, $zero -/* 70CD0C 80238FFC 8CA2007C */ lw $v0, 0x7c($a1) -/* 70CD10 80239000 30420020 */ andi $v0, $v0, 0x20 -/* 70CD14 80239004 10400004 */ beqz $v0, .L80239018 -/* 70CD18 80239008 02571821 */ addu $v1, $s2, $s7 -.L8023900C: -/* 70CD1C 8023900C 02571021 */ addu $v0, $s2, $s7 -/* 70CD20 80239010 0808E409 */ j .L80239024 -/* 70CD24 80239014 AC5E0000 */ sw $fp, ($v0) -.L80239018: -/* 70CD28 80239018 8C620000 */ lw $v0, ($v1) -/* 70CD2C 8023901C 54400001 */ bnel $v0, $zero, .L80239024 -/* 70CD30 80239020 AC760000 */ sw $s6, ($v1) -.L80239024: -/* 70CD34 80239024 82A2040C */ lb $v0, 0x40c($s5) -/* 70CD38 80239028 26730001 */ addiu $s3, $s3, 1 -/* 70CD3C 8023902C 0262102A */ slt $v0, $s3, $v0 -/* 70CD40 80239030 1440FFE2 */ bnez $v0, .L80238FBC -/* 70CD44 80239034 02B31021 */ addu $v0, $s5, $s3 -.L80239038: -/* 70CD48 80239038 8FBF0034 */ lw $ra, 0x34($sp) -/* 70CD4C 8023903C 8FBE0030 */ lw $fp, 0x30($sp) -/* 70CD50 80239040 8FB7002C */ lw $s7, 0x2c($sp) -/* 70CD54 80239044 8FB60028 */ lw $s6, 0x28($sp) -/* 70CD58 80239048 8FB50024 */ lw $s5, 0x24($sp) -/* 70CD5C 8023904C 8FB40020 */ lw $s4, 0x20($sp) -/* 70CD60 80239050 8FB3001C */ lw $s3, 0x1c($sp) -/* 70CD64 80239054 8FB20018 */ lw $s2, 0x18($sp) -/* 70CD68 80239058 8FB10014 */ lw $s1, 0x14($sp) -/* 70CD6C 8023905C 8FB00010 */ lw $s0, 0x10($sp) -/* 70CD70 80239060 24020002 */ addiu $v0, $zero, 2 -/* 70CD74 80239064 03E00008 */ jr $ra -/* 70CD78 80239068 27BD0038 */ addiu $sp, $sp, 0x38 diff --git a/ver/us/asm/nonmatchings/code_70BD10/func_8023906C_70CD7C.s b/ver/us/asm/nonmatchings/code_70BD10/func_8023906C_70CD7C.s deleted file mode 100644 index d15824ee15..0000000000 --- a/ver/us/asm/nonmatchings/code_70BD10/func_8023906C_70CD7C.s +++ /dev/null @@ -1,60 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_8023906C_70CD7C -/* 70CD7C 8023906C 27BDFFD8 */ addiu $sp, $sp, -0x28 -/* 70CD80 80239070 AFB3001C */ sw $s3, 0x1c($sp) -/* 70CD84 80239074 0080982D */ daddu $s3, $a0, $zero -/* 70CD88 80239078 3C06800E */ lui $a2, %hi(gBattleStatus) -/* 70CD8C 8023907C 24C6C070 */ addiu $a2, $a2, %lo(gBattleStatus) -/* 70CD90 80239080 AFBF0024 */ sw $ra, 0x24($sp) -/* 70CD94 80239084 AFB40020 */ sw $s4, 0x20($sp) -/* 70CD98 80239088 AFB20018 */ sw $s2, 0x18($sp) -/* 70CD9C 8023908C AFB10014 */ sw $s1, 0x14($sp) -/* 70CDA0 80239090 AFB00010 */ sw $s0, 0x10($sp) -/* 70CDA4 80239094 8CC400DC */ lw $a0, 0xdc($a2) -/* 70CDA8 80239098 80820425 */ lb $v0, 0x425($a0) -/* 70CDAC 8023909C 3C038024 */ lui $v1, %hi(D_8023D2D0) -/* 70CDB0 802390A0 2463D2D0 */ addiu $v1, $v1, %lo(D_8023D2D0) -/* 70CDB4 802390A4 00821021 */ addu $v0, $a0, $v0 -/* 70CDB8 802390A8 8045040D */ lb $a1, 0x40d($v0) -/* 70CDBC 802390AC 00051080 */ sll $v0, $a1, 2 -/* 70CDC0 802390B0 00438021 */ addu $s0, $v0, $v1 -/* 70CDC4 802390B4 00451021 */ addu $v0, $v0, $a1 -/* 70CDC8 802390B8 00021080 */ sll $v0, $v0, 2 -/* 70CDCC 802390BC 2442022C */ addiu $v0, $v0, 0x22c -/* 70CDD0 802390C0 8E030000 */ lw $v1, ($s0) -/* 70CDD4 802390C4 00828821 */ addu $s1, $a0, $v0 -/* 70CDD8 802390C8 AE630084 */ sw $v1, 0x84($s3) -/* 70CDDC 802390CC 8E020000 */ lw $v0, ($s0) -/* 70CDE0 802390D0 2412FFFF */ addiu $s2, $zero, -1 -/* 70CDE4 802390D4 10520011 */ beq $v0, $s2, .L8023911C -/* 70CDE8 802390D8 00C0A02D */ daddu $s4, $a2, $zero -/* 70CDEC 802390DC 10400010 */ beqz $v0, .L80239120 -/* 70CDF0 802390E0 24020002 */ addiu $v0, $zero, 2 -/* 70CDF4 802390E4 86240000 */ lh $a0, ($s1) -/* 70CDF8 802390E8 0C09A75B */ jal get_actor -/* 70CDFC 802390EC 00000000 */ nop -/* 70CE00 802390F0 0C00A67F */ jal rand_int -/* 70CE04 802390F4 24040063 */ addiu $a0, $zero, 0x63 -/* 70CE08 802390F8 82830081 */ lb $v1, 0x81($s4) -/* 70CE0C 802390FC 0043102A */ slt $v0, $v0, $v1 -/* 70CE10 80239100 50400005 */ beql $v0, $zero, .L80239118 -/* 70CE14 80239104 AE000000 */ sw $zero, ($s0) -/* 70CE18 80239108 AE120000 */ sw $s2, ($s0) -/* 70CE1C 8023910C 86220000 */ lh $v0, ($s1) -/* 70CE20 80239110 0808E447 */ j .L8023911C -/* 70CE24 80239114 AE620084 */ sw $v0, 0x84($s3) -.L80239118: -/* 70CE28 80239118 AE600084 */ sw $zero, 0x84($s3) -.L8023911C: -/* 70CE2C 8023911C 24020002 */ addiu $v0, $zero, 2 -.L80239120: -/* 70CE30 80239120 8FBF0024 */ lw $ra, 0x24($sp) -/* 70CE34 80239124 8FB40020 */ lw $s4, 0x20($sp) -/* 70CE38 80239128 8FB3001C */ lw $s3, 0x1c($sp) -/* 70CE3C 8023912C 8FB20018 */ lw $s2, 0x18($sp) -/* 70CE40 80239130 8FB10014 */ lw $s1, 0x14($sp) -/* 70CE44 80239134 8FB00010 */ lw $s0, 0x10($sp) -/* 70CE48 80239138 03E00008 */ jr $ra -/* 70CE4C 8023913C 27BD0028 */ addiu $sp, $sp, 0x28 diff --git a/ver/us/asm/nonmatchings/code_70BD10/func_80239140_70CE50.s b/ver/us/asm/nonmatchings/code_70BD10/func_80239140_70CE50.s deleted file mode 100644 index 867071ee30..0000000000 --- a/ver/us/asm/nonmatchings/code_70BD10/func_80239140_70CE50.s +++ /dev/null @@ -1,961 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_80239140_70CE50 -/* 70CE50 80239140 27BDFF90 */ addiu $sp, $sp, -0x70 -/* 70CE54 80239144 AFB20038 */ sw $s2, 0x38($sp) -/* 70CE58 80239148 3C12800E */ lui $s2, %hi(gBattleStatus+0xDC) -/* 70CE5C 8023914C 8E52C14C */ lw $s2, %lo(gBattleStatus+0xDC)($s2) -/* 70CE60 80239150 AFB3003C */ sw $s3, 0x3c($sp) -/* 70CE64 80239154 0080982D */ daddu $s3, $a0, $zero -/* 70CE68 80239158 AFBF004C */ sw $ra, 0x4c($sp) -/* 70CE6C 8023915C AFB60048 */ sw $s6, 0x48($sp) -/* 70CE70 80239160 AFB50044 */ sw $s5, 0x44($sp) -/* 70CE74 80239164 AFB40040 */ sw $s4, 0x40($sp) -/* 70CE78 80239168 AFB10034 */ sw $s1, 0x34($sp) -/* 70CE7C 8023916C AFB00030 */ sw $s0, 0x30($sp) -/* 70CE80 80239170 F7BA0068 */ sdc1 $f26, 0x68($sp) -/* 70CE84 80239174 F7B80060 */ sdc1 $f24, 0x60($sp) -/* 70CE88 80239178 F7B60058 */ sdc1 $f22, 0x58($sp) -/* 70CE8C 8023917C F7B40050 */ sdc1 $f20, 0x50($sp) -/* 70CE90 80239180 10A00002 */ beqz $a1, .L8023918C -/* 70CE94 80239184 2656000C */ addiu $s6, $s2, 0xc -/* 70CE98 80239188 AE600070 */ sw $zero, 0x70($s3) -.L8023918C: -/* 70CE9C 8023918C 8E630070 */ lw $v1, 0x70($s3) -/* 70CEA0 80239190 10600005 */ beqz $v1, .L802391A8 -/* 70CEA4 80239194 24020001 */ addiu $v0, $zero, 1 -/* 70CEA8 80239198 10620075 */ beq $v1, $v0, .L80239370 -/* 70CEAC 8023919C 3C0451EB */ lui $a0, 0x51eb -/* 70CEB0 802391A0 0808E53B */ j .L802394EC -/* 70CEB4 802391A4 00000000 */ nop -.L802391A8: -/* 70CEB8 802391A8 0000202D */ daddu $a0, $zero, $zero -/* 70CEBC 802391AC 240200A5 */ addiu $v0, $zero, 0xa5 -/* 70CEC0 802391B0 24110001 */ addiu $s1, $zero, 1 -/* 70CEC4 802391B4 3C06C47A */ lui $a2, 0xc47a -/* 70CEC8 802391B8 44800000 */ mtc1 $zero, $f0 -/* 70CECC 802391BC 3C013F19 */ lui $at, 0x3f19 -/* 70CED0 802391C0 3421999A */ ori $at, $at, 0x999a -/* 70CED4 802391C4 44811000 */ mtc1 $at, $f2 -/* 70CED8 802391C8 44050000 */ mfc1 $a1, $f0 -/* 70CEDC 802391CC 3C01C000 */ lui $at, 0xc000 -/* 70CEE0 802391D0 44810000 */ mtc1 $at, $f0 -/* 70CEE4 802391D4 241000FF */ addiu $s0, $zero, 0xff -/* 70CEE8 802391D8 AE400054 */ sw $zero, 0x54($s2) -/* 70CEEC 802391DC A6420070 */ sh $v0, 0x70($s2) -/* 70CEF0 802391E0 A6400072 */ sh $zero, 0x72($s2) -/* 70CEF4 802391E4 3C018024 */ lui $at, %hi(D_8023D334) -/* 70CEF8 802391E8 AC31D334 */ sw $s1, %lo(D_8023D334)($at) -/* 70CEFC 802391EC 3C018024 */ lui $at, %hi(D_8023D338) -/* 70CF00 802391F0 AC30D338 */ sw $s0, %lo(D_8023D338)($at) -/* 70CF04 802391F4 AFA0001C */ sw $zero, 0x1c($sp) -/* 70CF08 802391F8 E7A20018 */ swc1 $f2, 0x18($sp) -/* 70CF0C 802391FC 00A0382D */ daddu $a3, $a1, $zero -/* 70CF10 80239200 AFA50010 */ sw $a1, 0x10($sp) -/* 70CF14 80239204 0C01C874 */ jal func_800721D0 -/* 70CF18 80239208 E7A00014 */ swc1 $f0, 0x14($sp) -/* 70CF1C 8023920C 8C44000C */ lw $a0, 0xc($v0) -/* 70CF20 80239210 24030014 */ addiu $v1, $zero, 0x14 -/* 70CF24 80239214 AC830018 */ sw $v1, 0x18($a0) -/* 70CF28 80239218 8C44000C */ lw $a0, 0xc($v0) -/* 70CF2C 8023921C 24030050 */ addiu $v1, $zero, 0x50 -/* 70CF30 80239220 AC83001C */ sw $v1, 0x1c($a0) -/* 70CF34 80239224 8C43000C */ lw $v1, 0xc($v0) -/* 70CF38 80239228 240500F0 */ addiu $a1, $zero, 0xf0 -/* 70CF3C 8023922C AC700020 */ sw $s0, 0x20($v1) -/* 70CF40 80239230 8C44000C */ lw $a0, 0xc($v0) -/* 70CF44 80239234 240300C8 */ addiu $v1, $zero, 0xc8 -/* 70CF48 80239238 AC830028 */ sw $v1, 0x28($a0) -/* 70CF4C 8023923C 8C43000C */ lw $v1, 0xc($v0) -/* 70CF50 80239240 3C068024 */ lui $a2, %hi(D_8023CCC0_7109D0) -/* 70CF54 80239244 24C6CCC0 */ addiu $a2, $a2, %lo(D_8023CCC0_7109D0) -/* 70CF58 80239248 AC65002C */ sw $a1, 0x2c($v1) -/* 70CF5C 8023924C 8C44000C */ lw $a0, 0xc($v0) -/* 70CF60 80239250 8CC30000 */ lw $v1, ($a2) -/* 70CF64 80239254 3C018024 */ lui $at, %hi(D_8023D1E4) -/* 70CF68 80239258 AC22D1E4 */ sw $v0, %lo(D_8023D1E4)($at) -/* 70CF6C 8023925C AC850030 */ sw $a1, 0x30($a0) -/* 70CF70 80239260 A060005C */ sb $zero, 0x5c($v1) -/* 70CF74 80239264 8CC40000 */ lw $a0, ($a2) -/* 70CF78 80239268 240200B1 */ addiu $v0, $zero, 0xb1 -/* 70CF7C 8023926C A4620054 */ sh $v0, 0x54($v1) -/* 70CF80 80239270 A4600044 */ sh $zero, 0x44($v1) -/* 70CF84 80239274 A4600046 */ sh $zero, 0x46($v1) -/* 70CF88 80239278 A4800070 */ sh $zero, 0x70($a0) -/* 70CF8C 8023927C 84820070 */ lh $v0, 0x70($a0) -/* 70CF90 80239280 3C014049 */ lui $at, 0x4049 -/* 70CF94 80239284 34210FD0 */ ori $at, $at, 0xfd0 -/* 70CF98 80239288 44810000 */ mtc1 $at, $f0 -/* 70CF9C 8023928C 44826000 */ mtc1 $v0, $f12 -/* 70CFA0 80239290 00000000 */ nop -/* 70CFA4 80239294 46806320 */ cvt.s.w $f12, $f12 -/* 70CFA8 80239298 46006302 */ mul.s $f12, $f12, $f0 -/* 70CFAC 8023929C 00000000 */ nop -/* 70CFB0 802392A0 3C018024 */ lui $at, %hi(D_8023D27C) -/* 70CFB4 802392A4 AC20D27C */ sw $zero, %lo(D_8023D27C)($at) -/* 70CFB8 802392A8 3C013F00 */ lui $at, 0x3f00 -/* 70CFBC 802392AC 44810000 */ mtc1 $at, $f0 -/* 70CFC0 802392B0 24021388 */ addiu $v0, $zero, 0x1388 -/* 70CFC4 802392B4 46006302 */ mul.s $f12, $f12, $f0 -/* 70CFC8 802392B8 00000000 */ nop -/* 70CFCC 802392BC A4820072 */ sh $v0, 0x72($a0) -/* 70CFD0 802392C0 3C01443B */ lui $at, 0x443b -/* 70CFD4 802392C4 34218000 */ ori $at, $at, 0x8000 -/* 70CFD8 802392C8 44810000 */ mtc1 $at, $f0 -/* 70CFDC 802392CC 2402FFFF */ addiu $v0, $zero, -1 -/* 70CFE0 802392D0 A482005A */ sh $v0, 0x5a($a0) -/* 70CFE4 802392D4 0C00A85B */ jal sin_rad -/* 70CFE8 802392D8 46006303 */ div.s $f12, $f12, $f0 -/* 70CFEC 802392DC 3C013FF0 */ lui $at, 0x3ff0 -/* 70CFF0 802392E0 44811800 */ mtc1 $at, $f3 -/* 70CFF4 802392E4 44801000 */ mtc1 $zero, $f2 -/* 70CFF8 802392E8 46000021 */ cvt.d.s $f0, $f0 -/* 70CFFC 802392EC 46201081 */ sub.d $f2, $f2, $f0 -/* 70D000 802392F0 3C014020 */ lui $at, 0x4020 -/* 70D004 802392F4 44810800 */ mtc1 $at, $f1 -/* 70D008 802392F8 44800000 */ mtc1 $zero, $f0 -/* 70D00C 802392FC 00000000 */ nop -/* 70D010 80239300 46201082 */ mul.d $f2, $f2, $f0 -/* 70D014 80239304 00000000 */ nop -/* 70D018 80239308 2402FFFF */ addiu $v0, $zero, -1 -/* 70D01C 8023930C 3C018024 */ lui $at, %hi(D_8023D274) -/* 70D020 80239310 AC22D274 */ sw $v0, %lo(D_8023D274)($at) -/* 70D024 80239314 3C01402A */ lui $at, 0x402a -/* 70D028 80239318 44810800 */ mtc1 $at, $f1 -/* 70D02C 8023931C 44800000 */ mtc1 $zero, $f0 -/* 70D030 80239320 240207D0 */ addiu $v0, $zero, 0x7d0 -/* 70D034 80239324 3C018024 */ lui $at, %hi(D_8023D26C) -/* 70D038 80239328 AC20D26C */ sw $zero, %lo(D_8023D26C)($at) -/* 70D03C 8023932C 3C018024 */ lui $at, %hi(D_8023D270) -/* 70D040 80239330 AC20D270 */ sw $zero, %lo(D_8023D270)($at) -/* 70D044 80239334 46201080 */ add.d $f2, $f2, $f0 -/* 70D048 80239338 3C018024 */ lui $at, %hi(D_8023D280) -/* 70D04C 8023933C AC20D280 */ sw $zero, %lo(D_8023D280)($at) -/* 70D050 80239340 3C018024 */ lui $at, %hi(D_8023D284) -/* 70D054 80239344 AC22D284 */ sw $v0, %lo(D_8023D284)($at) -/* 70D058 80239348 4620120D */ trunc.w.d $f8, $f2 -/* 70D05C 8023934C 3C018024 */ lui $at, %hi(D_8023D278) -/* 70D060 80239350 E428D278 */ swc1 $f8, %lo(D_8023D278)($at) -/* 70D064 80239354 0C00A67F */ jal rand_int -/* 70D068 80239358 2404000A */ addiu $a0, $zero, 0xa -/* 70D06C 8023935C 2442000B */ addiu $v0, $v0, 0xb -/* 70D070 80239360 AE620074 */ sw $v0, 0x74($s3) -/* 70D074 80239364 AE600078 */ sw $zero, 0x78($s3) -/* 70D078 80239368 0808E53B */ j .L802394EC -/* 70D07C 8023936C AE710070 */ sw $s1, 0x70($s3) -.L80239370: -/* 70D080 80239370 3C028024 */ lui $v0, %hi(D_8023D26C) -/* 70D084 80239374 8C42D26C */ lw $v0, %lo(D_8023D26C)($v0) -/* 70D088 80239378 3484851F */ ori $a0, $a0, 0x851f -/* 70D08C 8023937C 00021880 */ sll $v1, $v0, 2 -/* 70D090 80239380 00621821 */ addu $v1, $v1, $v0 -/* 70D094 80239384 00031100 */ sll $v0, $v1, 4 -/* 70D098 80239388 00431023 */ subu $v0, $v0, $v1 -/* 70D09C 8023938C 00021040 */ sll $v0, $v0, 1 -/* 70D0A0 80239390 00440018 */ mult $v0, $a0 -/* 70D0A4 80239394 0000882D */ daddu $s1, $zero, $zero -/* 70D0A8 80239398 000217C3 */ sra $v0, $v0, 0x1f -/* 70D0AC 8023939C 00004810 */ mfhi $t1 -/* 70D0B0 802393A0 00091943 */ sra $v1, $t1, 5 -/* 70D0B4 802393A4 00621823 */ subu $v1, $v1, $v0 -/* 70D0B8 802393A8 2463FFB5 */ addiu $v1, $v1, -0x4b -/* 70D0BC 802393AC 8242040C */ lb $v0, 0x40c($s2) -/* 70D0C0 802393B0 44830000 */ mtc1 $v1, $f0 -/* 70D0C4 802393B4 00000000 */ nop -/* 70D0C8 802393B8 46800020 */ cvt.s.w $f0, $f0 -/* 70D0CC 802393BC 18400024 */ blez $v0, .L80239450 -/* 70D0D0 802393C0 E6400054 */ swc1 $f0, 0x54($s2) -/* 70D0D4 802393C4 3C158024 */ lui $s5, %hi(D_8023D2D0) -/* 70D0D8 802393C8 26B5D2D0 */ addiu $s5, $s5, %lo(D_8023D2D0) -/* 70D0DC 802393CC 2414FFFF */ addiu $s4, $zero, -1 -/* 70D0E0 802393D0 3C014150 */ lui $at, 0x4150 -/* 70D0E4 802393D4 4481A000 */ mtc1 $at, $f20 -/* 70D0E8 802393D8 02511021 */ addu $v0, $s2, $s1 -.L802393DC: -/* 70D0EC 802393DC 8043040D */ lb $v1, 0x40d($v0) -/* 70D0F0 802393E0 00032080 */ sll $a0, $v1, 2 -/* 70D0F4 802393E4 00951021 */ addu $v0, $a0, $s5 -/* 70D0F8 802393E8 8C420000 */ lw $v0, ($v0) -/* 70D0FC 802393EC 10540013 */ beq $v0, $s4, .L8023943C -/* 70D100 802393F0 00000000 */ nop -/* 70D104 802393F4 10400011 */ beqz $v0, .L8023943C -/* 70D108 802393F8 00831021 */ addu $v0, $a0, $v1 -/* 70D10C 802393FC 00021080 */ sll $v0, $v0, 2 -/* 70D110 80239400 00521021 */ addu $v0, $v0, $s2 -/* 70D114 80239404 0C09A75B */ jal get_actor -/* 70D118 80239408 8444022C */ lh $a0, 0x22c($v0) -/* 70D11C 8023940C 0040802D */ daddu $s0, $v0, $zero -/* 70D120 80239410 C600018C */ lwc1 $f0, 0x18c($s0) -/* 70D124 80239414 3C028024 */ lui $v0, %hi(D_8023D270) -/* 70D128 80239418 8C42D270 */ lw $v0, %lo(D_8023D270)($v0) -/* 70D12C 8023941C 46140000 */ add.s $f0, $f0, $f20 -/* 70D130 80239420 00021080 */ sll $v0, $v0, 2 -/* 70D134 80239424 44826000 */ mtc1 $v0, $f12 -/* 70D138 80239428 00000000 */ nop -/* 70D13C 8023942C 46806320 */ cvt.s.w $f12, $f12 -/* 70D140 80239430 0C00A6C9 */ jal clamp_angle -/* 70D144 80239434 460C0300 */ add.s $f12, $f0, $f12 -/* 70D148 80239438 E600018C */ swc1 $f0, 0x18c($s0) -.L8023943C: -/* 70D14C 8023943C 8242040C */ lb $v0, 0x40c($s2) -/* 70D150 80239440 26310001 */ addiu $s1, $s1, 1 -/* 70D154 80239444 0222102A */ slt $v0, $s1, $v0 -/* 70D158 80239448 1440FFE4 */ bnez $v0, .L802393DC -/* 70D15C 8023944C 02511021 */ addu $v0, $s2, $s1 -.L80239450: -/* 70D160 80239450 86C20064 */ lh $v0, 0x64($s6) -/* 70D164 80239454 96C30064 */ lhu $v1, 0x64($s6) -/* 70D168 80239458 10400003 */ beqz $v0, .L80239468 -/* 70D16C 8023945C 2462FFFF */ addiu $v0, $v1, -1 -/* 70D170 80239460 0808E53B */ j .L802394EC -/* 70D174 80239464 A6C20064 */ sh $v0, 0x64($s6) -.L80239468: -/* 70D178 80239468 8242040C */ lb $v0, 0x40c($s2) -/* 70D17C 8023946C 18400017 */ blez $v0, .L802394CC -/* 70D180 80239470 0000882D */ daddu $s1, $zero, $zero -/* 70D184 80239474 3C138024 */ lui $s3, %hi(D_8023D2D0) -/* 70D188 80239478 2673D2D0 */ addiu $s3, $s3, %lo(D_8023D2D0) -/* 70D18C 8023947C 2410FFFF */ addiu $s0, $zero, -1 -/* 70D190 80239480 02511021 */ addu $v0, $s2, $s1 -.L80239484: -/* 70D194 80239484 8043040D */ lb $v1, 0x40d($v0) -/* 70D198 80239488 00032080 */ sll $a0, $v1, 2 -/* 70D19C 8023948C 00931021 */ addu $v0, $a0, $s3 -/* 70D1A0 80239490 8C420000 */ lw $v0, ($v0) -/* 70D1A4 80239494 10500008 */ beq $v0, $s0, .L802394B8 -/* 70D1A8 80239498 00000000 */ nop -/* 70D1AC 8023949C 10400006 */ beqz $v0, .L802394B8 -/* 70D1B0 802394A0 00831021 */ addu $v0, $a0, $v1 -/* 70D1B4 802394A4 00021080 */ sll $v0, $v0, 2 -/* 70D1B8 802394A8 00521021 */ addu $v0, $v0, $s2 -/* 70D1BC 802394AC 0C09A75B */ jal get_actor -/* 70D1C0 802394B0 8444022C */ lh $a0, 0x22c($v0) -/* 70D1C4 802394B4 AC40018C */ sw $zero, 0x18c($v0) -.L802394B8: -/* 70D1C8 802394B8 8242040C */ lb $v0, 0x40c($s2) -/* 70D1CC 802394BC 26310001 */ addiu $s1, $s1, 1 -/* 70D1D0 802394C0 0222102A */ slt $v0, $s1, $v0 -/* 70D1D4 802394C4 1440FFEF */ bnez $v0, .L80239484 -/* 70D1D8 802394C8 02511021 */ addu $v0, $s2, $s1 -.L802394CC: -/* 70D1DC 802394CC 3C048024 */ lui $a0, %hi(D_8023D1E4) -/* 70D1E0 802394D0 8C84D1E4 */ lw $a0, %lo(D_8023D1E4)($a0) -/* 70D1E4 802394D4 3C018024 */ lui $at, %hi(D_8023D334) -/* 70D1E8 802394D8 AC20D334 */ sw $zero, %lo(D_8023D334)($at) -/* 70D1EC 802394DC 0C016914 */ jal remove_effect -/* 70D1F0 802394E0 00000000 */ nop -/* 70D1F4 802394E4 0808E7D3 */ j .L80239F4C -/* 70D1F8 802394E8 24020002 */ addiu $v0, $zero, 2 -.L802394EC: -/* 70D1FC 802394EC 3C118024 */ lui $s1, %hi(D_8023D1E4) -/* 70D200 802394F0 2631D1E4 */ addiu $s1, $s1, %lo(D_8023D1E4) -/* 70D204 802394F4 3C018024 */ lui $at, %hi(D_8023D280) -/* 70D208 802394F8 C420D280 */ lwc1 $f0, %lo(D_8023D280)($at) -/* 70D20C 802394FC 46800021 */ cvt.d.w $f0, $f0 -/* 70D210 80239500 3C014049 */ lui $at, 0x4049 -/* 70D214 80239504 44811800 */ mtc1 $at, $f3 -/* 70D218 80239508 44801000 */ mtc1 $zero, $f2 -/* 70D21C 8023950C 3C013FF0 */ lui $at, 0x3ff0 -/* 70D220 80239510 44812800 */ mtc1 $at, $f5 -/* 70D224 80239514 44802000 */ mtc1 $zero, $f4 -/* 70D228 80239518 8E220000 */ lw $v0, ($s1) -/* 70D22C 8023951C 46220003 */ div.d $f0, $f0, $f2 -/* 70D230 80239520 46240000 */ add.d $f0, $f0, $f4 -/* 70D234 80239524 8C42000C */ lw $v0, 0xc($v0) -/* 70D238 80239528 46200020 */ cvt.s.d $f0, $f0 -/* 70D23C 8023952C E440004C */ swc1 $f0, 0x4c($v0) -/* 70D240 80239530 C6400144 */ lwc1 $f0, 0x144($s2) -/* 70D244 80239534 C6420148 */ lwc1 $f2, 0x148($s2) -/* 70D248 80239538 240403E8 */ addiu $a0, $zero, 0x3e8 -/* 70D24C 8023953C E7A00028 */ swc1 $f0, 0x28($sp) -/* 70D250 80239540 0C00A67F */ jal rand_int -/* 70D254 80239544 E7A2002C */ swc1 $f2, 0x2c($sp) -/* 70D258 80239548 3C108024 */ lui $s0, %hi(D_8023D274) -/* 70D25C 8023954C 8E10D274 */ lw $s0, %lo(D_8023D274)($s0) -/* 70D260 80239550 3C0140A0 */ lui $at, 0x40a0 -/* 70D264 80239554 4481A000 */ mtc1 $at, $f20 -/* 70D268 80239558 1200003E */ beqz $s0, .L80239654 -/* 70D26C 8023955C 00000000 */ nop -/* 70D270 80239560 1E000006 */ bgtz $s0, .L8023957C -/* 70D274 80239564 24020001 */ addiu $v0, $zero, 1 -/* 70D278 80239568 2402FFFF */ addiu $v0, $zero, -1 -/* 70D27C 8023956C 12020007 */ beq $s0, $v0, .L8023958C -/* 70D280 80239570 27A40028 */ addiu $a0, $sp, 0x28 -/* 70D284 80239574 0808E5CE */ j .L80239738 -/* 70D288 80239578 00000000 */ nop -.L8023957C: -/* 70D28C 8023957C 1202003F */ beq $s0, $v0, .L8023967C -/* 70D290 80239580 27A40028 */ addiu $a0, $sp, 0x28 -/* 70D294 80239584 0808E5CE */ j .L80239738 -/* 70D298 80239588 00000000 */ nop -.L8023958C: -/* 70D29C 8023958C 3C064140 */ lui $a2, 0x4140 -/* 70D2A0 80239590 C6400148 */ lwc1 $f0, 0x148($s2) -/* 70D2A4 80239594 3C014170 */ lui $at, 0x4170 -/* 70D2A8 80239598 44811000 */ mtc1 $at, $f2 -/* 70D2AC 8023959C 3C0742B4 */ lui $a3, 0x42b4 -/* 70D2B0 802395A0 C6440144 */ lwc1 $f4, 0x144($s2) -/* 70D2B4 802395A4 46020000 */ add.s $f0, $f0, $f2 -/* 70D2B8 802395A8 C642014C */ lwc1 $f2, 0x14c($s2) -/* 70D2BC 802395AC 27A5002C */ addiu $a1, $sp, 0x2c -/* 70D2C0 802395B0 E7A40028 */ swc1 $f4, 0x28($sp) -/* 70D2C4 802395B4 46141600 */ add.s $f24, $f2, $f20 -/* 70D2C8 802395B8 0C00A7E7 */ jal add_vec2D_polar -/* 70D2CC 802395BC E7A0002C */ swc1 $f0, 0x2c($sp) -/* 70D2D0 802395C0 8E230000 */ lw $v1, ($s1) -/* 70D2D4 802395C4 C7A00028 */ lwc1 $f0, 0x28($sp) -/* 70D2D8 802395C8 8C62000C */ lw $v0, 0xc($v1) -/* 70D2DC 802395CC E4400004 */ swc1 $f0, 4($v0) -/* 70D2E0 802395D0 8C62000C */ lw $v0, 0xc($v1) -/* 70D2E4 802395D4 C7A0002C */ lwc1 $f0, 0x2c($sp) -/* 70D2E8 802395D8 E4400008 */ swc1 $f0, 8($v0) -/* 70D2EC 802395DC 8C62000C */ lw $v0, 0xc($v1) -/* 70D2F0 802395E0 3C01C000 */ lui $at, 0xc000 -/* 70D2F4 802395E4 44810000 */ mtc1 $at, $f0 -/* 70D2F8 802395E8 E458000C */ swc1 $f24, 0xc($v0) -/* 70D2FC 802395EC 8C62000C */ lw $v0, 0xc($v1) -/* 70D300 802395F0 E440003C */ swc1 $f0, 0x3c($v0) -/* 70D304 802395F4 8C62000C */ lw $v0, 0xc($v1) -/* 70D308 802395F8 3C01C47A */ lui $at, 0xc47a -/* 70D30C 802395FC 44810000 */ mtc1 $at, $f0 -/* 70D310 80239600 AC400004 */ sw $zero, 4($v0) -/* 70D314 80239604 8C62000C */ lw $v0, 0xc($v1) -/* 70D318 80239608 E4400008 */ swc1 $f0, 8($v0) -/* 70D31C 8023960C 8C62000C */ lw $v0, 0xc($v1) -/* 70D320 80239610 AC40000C */ sw $zero, 0xc($v0) -/* 70D324 80239614 8E620078 */ lw $v0, 0x78($s3) -/* 70D328 80239618 10400007 */ beqz $v0, .L80239638 -/* 70D32C 8023961C 2404201E */ addiu $a0, $zero, 0x201e -/* 70D330 80239620 C640014C */ lwc1 $f0, 0x14c($s2) -/* 70D334 80239624 E7A00010 */ swc1 $f0, 0x10($sp) -/* 70D338 80239628 8E460144 */ lw $a2, 0x144($s2) -/* 70D33C 8023962C 8E470148 */ lw $a3, 0x148($s2) -/* 70D340 80239630 0C052757 */ jal play_sound_at_position -/* 70D344 80239634 0000282D */ daddu $a1, $zero, $zero -.L80239638: -/* 70D348 80239638 24040100 */ addiu $a0, $zero, 0x100 -/* 70D34C 8023963C 2405FFFF */ addiu $a1, $zero, -1 -/* 70D350 80239640 3C060010 */ lui $a2, 0x10 -/* 70D354 80239644 34C60016 */ ori $a2, $a2, 0x16 -/* 70D358 80239648 AE600078 */ sw $zero, 0x78($s3) -/* 70D35C 8023964C 0808E5CC */ j .L80239730 -/* 70D360 80239650 A6C00066 */ sh $zero, 0x66($s6) -.L80239654: -/* 70D364 80239654 8E230000 */ lw $v1, ($s1) -/* 70D368 80239658 3C01C47A */ lui $at, 0xc47a -/* 70D36C 8023965C 44810000 */ mtc1 $at, $f0 -/* 70D370 80239660 8C62000C */ lw $v0, 0xc($v1) -/* 70D374 80239664 AC400004 */ sw $zero, 4($v0) -/* 70D378 80239668 8C62000C */ lw $v0, 0xc($v1) -/* 70D37C 8023966C E4400008 */ swc1 $f0, 8($v0) -/* 70D380 80239670 8C62000C */ lw $v0, 0xc($v1) -/* 70D384 80239674 0808E5CE */ j .L80239738 -/* 70D388 80239678 AC40000C */ sw $zero, 0xc($v0) -.L8023967C: -/* 70D38C 8023967C 3C064140 */ lui $a2, 0x4140 -/* 70D390 80239680 C6400148 */ lwc1 $f0, 0x148($s2) -/* 70D394 80239684 3C014170 */ lui $at, 0x4170 -/* 70D398 80239688 44811000 */ mtc1 $at, $f2 -/* 70D39C 8023968C 3C0742B4 */ lui $a3, 0x42b4 -/* 70D3A0 80239690 C6440144 */ lwc1 $f4, 0x144($s2) -/* 70D3A4 80239694 46020000 */ add.s $f0, $f0, $f2 -/* 70D3A8 80239698 C642014C */ lwc1 $f2, 0x14c($s2) -/* 70D3AC 8023969C 27A5002C */ addiu $a1, $sp, 0x2c -/* 70D3B0 802396A0 E7A40028 */ swc1 $f4, 0x28($sp) -/* 70D3B4 802396A4 46141600 */ add.s $f24, $f2, $f20 -/* 70D3B8 802396A8 0C00A7E7 */ jal add_vec2D_polar -/* 70D3BC 802396AC E7A0002C */ swc1 $f0, 0x2c($sp) -/* 70D3C0 802396B0 8E230000 */ lw $v1, ($s1) -/* 70D3C4 802396B4 C7A00028 */ lwc1 $f0, 0x28($sp) -/* 70D3C8 802396B8 8C62000C */ lw $v0, 0xc($v1) -/* 70D3CC 802396BC E4400004 */ swc1 $f0, 4($v0) -/* 70D3D0 802396C0 8C62000C */ lw $v0, 0xc($v1) -/* 70D3D4 802396C4 C7A0002C */ lwc1 $f0, 0x2c($sp) -/* 70D3D8 802396C8 E4400008 */ swc1 $f0, 8($v0) -/* 70D3DC 802396CC 8C62000C */ lw $v0, 0xc($v1) -/* 70D3E0 802396D0 3C014000 */ lui $at, 0x4000 -/* 70D3E4 802396D4 44810000 */ mtc1 $at, $f0 -/* 70D3E8 802396D8 E458000C */ swc1 $f24, 0xc($v0) -/* 70D3EC 802396DC 8C62000C */ lw $v0, 0xc($v1) -/* 70D3F0 802396E0 E440003C */ swc1 $f0, 0x3c($v0) -/* 70D3F4 802396E4 8E620078 */ lw $v0, 0x78($s3) -/* 70D3F8 802396E8 54400009 */ bnel $v0, $zero, .L80239710 -/* 70D3FC 802396EC AE700078 */ sw $s0, 0x78($s3) -/* 70D400 802396F0 C640014C */ lwc1 $f0, 0x14c($s2) -/* 70D404 802396F4 2404201F */ addiu $a0, $zero, 0x201f -/* 70D408 802396F8 E7A00010 */ swc1 $f0, 0x10($sp) -/* 70D40C 802396FC 8E460144 */ lw $a2, 0x144($s2) -/* 70D410 80239700 8E470148 */ lw $a3, 0x148($s2) -/* 70D414 80239704 0C052757 */ jal play_sound_at_position -/* 70D418 80239708 0000282D */ daddu $a1, $zero, $zero -/* 70D41C 8023970C AE700078 */ sw $s0, 0x78($s3) -.L80239710: -/* 70D420 80239710 86C20066 */ lh $v0, 0x66($s6) -/* 70D424 80239714 50400001 */ beql $v0, $zero, .L8023971C -/* 70D428 80239718 AE700074 */ sw $s0, 0x74($s3) -.L8023971C: -/* 70D42C 8023971C A6D00066 */ sh $s0, 0x66($s6) -/* 70D430 80239720 24040100 */ addiu $a0, $zero, 0x100 -/* 70D434 80239724 2405FFFF */ addiu $a1, $zero, -1 -/* 70D438 80239728 3C060010 */ lui $a2, 0x10 -/* 70D43C 8023972C 34C60017 */ ori $a2, $a2, 0x17 -.L80239730: -/* 70D440 80239730 0C098F3F */ jal set_animation -/* 70D444 80239734 00000000 */ nop -.L80239738: -/* 70D448 80239738 3C108024 */ lui $s0, %hi(D_8023D270) -/* 70D44C 8023973C 2610D270 */ addiu $s0, $s0, %lo(D_8023D270) -/* 70D450 80239740 3C128007 */ lui $s2, %hi(gGameStatusPtr) -/* 70D454 80239744 2652419C */ addiu $s2, $s2, %lo(gGameStatusPtr) -/* 70D458 80239748 8E020000 */ lw $v0, ($s0) -/* 70D45C 8023974C 24110007 */ addiu $s1, $zero, 7 -/* 70D460 80239750 00021FC2 */ srl $v1, $v0, 0x1f -/* 70D464 80239754 00431021 */ addu $v0, $v0, $v1 -/* 70D468 80239758 8E430000 */ lw $v1, ($s2) -/* 70D46C 8023975C 00021043 */ sra $v0, $v0, 1 -/* 70D470 80239760 94630134 */ lhu $v1, 0x134($v1) -/* 70D474 80239764 02221023 */ subu $v0, $s1, $v0 -/* 70D478 80239768 14400002 */ bnez $v0, .L80239774 -/* 70D47C 8023976C 0062001A */ div $zero, $v1, $v0 -/* 70D480 80239770 0007000D */ break 7 -.L80239774: -/* 70D484 80239774 2401FFFF */ addiu $at, $zero, -1 -/* 70D488 80239778 14410004 */ bne $v0, $at, .L8023978C -/* 70D48C 8023977C 3C018000 */ lui $at, 0x8000 -/* 70D490 80239780 14610002 */ bne $v1, $at, .L8023978C -/* 70D494 80239784 00000000 */ nop -/* 70D498 80239788 0006000D */ break 6 -.L8023978C: -/* 70D49C 8023978C 00001010 */ mfhi $v0 -/* 70D4A0 80239790 14400043 */ bnez $v0, .L802398A0 -/* 70D4A4 80239794 24040064 */ addiu $a0, $zero, 0x64 -/* 70D4A8 80239798 3C014248 */ lui $at, 0x4248 -/* 70D4AC 8023979C 4481C000 */ mtc1 $at, $f24 -/* 70D4B0 802397A0 3C01C35C */ lui $at, 0xc35c -/* 70D4B4 802397A4 44810000 */ mtc1 $at, $f0 -/* 70D4B8 802397A8 0C00A67F */ jal rand_int -/* 70D4BC 802397AC E7A00028 */ swc1 $f0, 0x28($sp) -/* 70D4C0 802397B0 24040064 */ addiu $a0, $zero, 0x64 -/* 70D4C4 802397B4 240300B0 */ addiu $v1, $zero, 0xb0 -/* 70D4C8 802397B8 00621823 */ subu $v1, $v1, $v0 -/* 70D4CC 802397BC 44830000 */ mtc1 $v1, $f0 -/* 70D4D0 802397C0 00000000 */ nop -/* 70D4D4 802397C4 46800020 */ cvt.s.w $f0, $f0 -/* 70D4D8 802397C8 0C00A67F */ jal rand_int -/* 70D4DC 802397CC E7A0002C */ swc1 $f0, 0x2c($sp) -/* 70D4E0 802397D0 240403E8 */ addiu $a0, $zero, 0x3e8 -/* 70D4E4 802397D4 24420064 */ addiu $v0, $v0, 0x64 -/* 70D4E8 802397D8 C7A2002C */ lwc1 $f2, 0x2c($sp) -/* 70D4EC 802397DC 44820000 */ mtc1 $v0, $f0 -/* 70D4F0 802397E0 00000000 */ nop -/* 70D4F4 802397E4 46800020 */ cvt.s.w $f0, $f0 -/* 70D4F8 802397E8 0C00A67F */ jal rand_int -/* 70D4FC 802397EC 46001681 */ sub.s $f26, $f2, $f0 -/* 70D500 802397F0 4482A000 */ mtc1 $v0, $f20 -/* 70D504 802397F4 00000000 */ nop -/* 70D508 802397F8 4680A520 */ cvt.s.w $f20, $f20 -/* 70D50C 802397FC 3C01453B */ lui $at, 0x453b -/* 70D510 80239800 34218000 */ ori $at, $at, 0x8000 -/* 70D514 80239804 44810000 */ mtc1 $at, $f0 -/* 70D518 80239808 3C013FE0 */ lui $at, 0x3fe0 -/* 70D51C 8023980C 44811800 */ mtc1 $at, $f3 -/* 70D520 80239810 44801000 */ mtc1 $zero, $f2 -/* 70D524 80239814 4600A003 */ div.s $f0, $f20, $f0 -/* 70D528 80239818 46000021 */ cvt.d.s $f0, $f0 -/* 70D52C 8023981C 46220000 */ add.d $f0, $f0, $f2 -/* 70D530 80239820 240403E8 */ addiu $a0, $zero, 0x3e8 -/* 70D534 80239824 3C01435C */ lui $at, 0x435c -/* 70D538 80239828 4481B000 */ mtc1 $at, $f22 -/* 70D53C 8023982C 0C00A67F */ jal rand_int -/* 70D540 80239830 46200520 */ cvt.s.d $f20, $f0 -/* 70D544 80239834 44820000 */ mtc1 $v0, $f0 -/* 70D548 80239838 00000000 */ nop -/* 70D54C 8023983C 46800020 */ cvt.s.w $f0, $f0 -/* 70D550 80239840 4407C000 */ mfc1 $a3, $f24 -/* 70D554 80239844 3C014396 */ lui $at, 0x4396 -/* 70D558 80239848 44811000 */ mtc1 $at, $f2 -/* 70D55C 8023984C C7A40028 */ lwc1 $f4, 0x28($sp) -/* 70D560 80239850 C7A6002C */ lwc1 $f6, 0x2c($sp) -/* 70D564 80239854 24040001 */ addiu $a0, $zero, 1 -/* 70D568 80239858 E7B60010 */ swc1 $f22, 0x10($sp) -/* 70D56C 8023985C E7BA0014 */ swc1 $f26, 0x14($sp) -/* 70D570 80239860 E7B40020 */ swc1 $f20, 0x20($sp) -/* 70D574 80239864 46020083 */ div.s $f2, $f0, $f2 -/* 70D578 80239868 3C014017 */ lui $at, 0x4017 -/* 70D57C 8023986C 44810800 */ mtc1 $at, $f1 -/* 70D580 80239870 44800000 */ mtc1 $zero, $f0 -/* 70D584 80239874 460010A1 */ cvt.d.s $f2, $f2 -/* 70D588 80239878 46201080 */ add.d $f2, $f2, $f0 -/* 70D58C 8023987C AFA70018 */ sw $a3, 0x18($sp) -/* 70D590 80239880 C6000000 */ lwc1 $f0, ($s0) -/* 70D594 80239884 46800021 */ cvt.d.w $f0, $f0 -/* 70D598 80239888 46201080 */ add.d $f2, $f2, $f0 -/* 70D59C 8023988C 44052000 */ mfc1 $a1, $f4 -/* 70D5A0 80239890 44063000 */ mfc1 $a2, $f6 -/* 70D5A4 80239894 46201020 */ cvt.s.d $f0, $f2 -/* 70D5A8 80239898 0C01C904 */ jal func_80072410 -/* 70D5AC 8023989C E7A0001C */ swc1 $f0, 0x1c($sp) -.L802398A0: -/* 70D5B0 802398A0 8E020000 */ lw $v0, ($s0) -/* 70D5B4 802398A4 00021FC2 */ srl $v1, $v0, 0x1f -/* 70D5B8 802398A8 00431021 */ addu $v0, $v0, $v1 -/* 70D5BC 802398AC 8E430000 */ lw $v1, ($s2) -/* 70D5C0 802398B0 00021043 */ sra $v0, $v0, 1 -/* 70D5C4 802398B4 94630134 */ lhu $v1, 0x134($v1) -/* 70D5C8 802398B8 02221023 */ subu $v0, $s1, $v0 -/* 70D5CC 802398BC 14400002 */ bnez $v0, .L802398C8 -/* 70D5D0 802398C0 0062001A */ div $zero, $v1, $v0 -/* 70D5D4 802398C4 0007000D */ break 7 -.L802398C8: -/* 70D5D8 802398C8 2401FFFF */ addiu $at, $zero, -1 -/* 70D5DC 802398CC 14410004 */ bne $v0, $at, .L802398E0 -/* 70D5E0 802398D0 3C018000 */ lui $at, 0x8000 -/* 70D5E4 802398D4 14610002 */ bne $v1, $at, .L802398E0 -/* 70D5E8 802398D8 00000000 */ nop -/* 70D5EC 802398DC 0006000D */ break 6 -.L802398E0: -/* 70D5F0 802398E0 00001010 */ mfhi $v0 -/* 70D5F4 802398E4 14400046 */ bnez $v0, .L80239A00 -/* 70D5F8 802398E8 24040064 */ addiu $a0, $zero, 0x64 -/* 70D5FC 802398EC 3C01C248 */ lui $at, 0xc248 -/* 70D600 802398F0 4481C000 */ mtc1 $at, $f24 -/* 70D604 802398F4 3C01C35C */ lui $at, 0xc35c -/* 70D608 802398F8 44810000 */ mtc1 $at, $f0 -/* 70D60C 802398FC 0C00A67F */ jal rand_int -/* 70D610 80239900 E7A00028 */ swc1 $f0, 0x28($sp) -/* 70D614 80239904 24040064 */ addiu $a0, $zero, 0x64 -/* 70D618 80239908 240300B0 */ addiu $v1, $zero, 0xb0 -/* 70D61C 8023990C 00621823 */ subu $v1, $v1, $v0 -/* 70D620 80239910 44830000 */ mtc1 $v1, $f0 -/* 70D624 80239914 00000000 */ nop -/* 70D628 80239918 46800020 */ cvt.s.w $f0, $f0 -/* 70D62C 8023991C 0C00A67F */ jal rand_int -/* 70D630 80239920 E7A0002C */ swc1 $f0, 0x2c($sp) -/* 70D634 80239924 240403E8 */ addiu $a0, $zero, 0x3e8 -/* 70D638 80239928 24420064 */ addiu $v0, $v0, 0x64 -/* 70D63C 8023992C C7A2002C */ lwc1 $f2, 0x2c($sp) -/* 70D640 80239930 44820000 */ mtc1 $v0, $f0 -/* 70D644 80239934 00000000 */ nop -/* 70D648 80239938 46800020 */ cvt.s.w $f0, $f0 -/* 70D64C 8023993C 0C00A67F */ jal rand_int -/* 70D650 80239940 46001681 */ sub.s $f26, $f2, $f0 -/* 70D654 80239944 4482A000 */ mtc1 $v0, $f20 -/* 70D658 80239948 00000000 */ nop -/* 70D65C 8023994C 4680A520 */ cvt.s.w $f20, $f20 -/* 70D660 80239950 3C01457A */ lui $at, 0x457a -/* 70D664 80239954 44810000 */ mtc1 $at, $f0 -/* 70D668 80239958 3C018024 */ lui $at, %hi(D_8023D1C0_710ED0) -/* 70D66C 8023995C D422D1C0 */ ldc1 $f2, %lo(D_8023D1C0_710ED0)($at) -/* 70D670 80239960 4600A003 */ div.s $f0, $f20, $f0 -/* 70D674 80239964 46000021 */ cvt.d.s $f0, $f0 -/* 70D678 80239968 46220000 */ add.d $f0, $f0, $f2 -/* 70D67C 8023996C 240403E8 */ addiu $a0, $zero, 0x3e8 -/* 70D680 80239970 3C01435C */ lui $at, 0x435c -/* 70D684 80239974 4481B000 */ mtc1 $at, $f22 -/* 70D688 80239978 0C00A67F */ jal rand_int -/* 70D68C 8023997C 46200520 */ cvt.s.d $f20, $f0 -/* 70D690 80239980 44820000 */ mtc1 $v0, $f0 -/* 70D694 80239984 00000000 */ nop -/* 70D698 80239988 46800020 */ cvt.s.w $f0, $f0 -/* 70D69C 8023998C 4407C000 */ mfc1 $a3, $f24 -/* 70D6A0 80239990 3C014396 */ lui $at, 0x4396 -/* 70D6A4 80239994 44811000 */ mtc1 $at, $f2 -/* 70D6A8 80239998 C7A40028 */ lwc1 $f4, 0x28($sp) -/* 70D6AC 8023999C C7A6002C */ lwc1 $f6, 0x2c($sp) -/* 70D6B0 802399A0 24040001 */ addiu $a0, $zero, 1 -/* 70D6B4 802399A4 E7B60010 */ swc1 $f22, 0x10($sp) -/* 70D6B8 802399A8 E7BA0014 */ swc1 $f26, 0x14($sp) -/* 70D6BC 802399AC E7B40020 */ swc1 $f20, 0x20($sp) -/* 70D6C0 802399B0 46020083 */ div.s $f2, $f0, $f2 -/* 70D6C4 802399B4 460010A1 */ cvt.d.s $f2, $f2 -/* 70D6C8 802399B8 AFA70018 */ sw $a3, 0x18($sp) -/* 70D6CC 802399BC 8E020000 */ lw $v0, ($s0) -/* 70D6D0 802399C0 3C014006 */ lui $at, 0x4006 -/* 70D6D4 802399C4 44810800 */ mtc1 $at, $f1 -/* 70D6D8 802399C8 44800000 */ mtc1 $zero, $f0 -/* 70D6DC 802399CC 00021FC2 */ srl $v1, $v0, 0x1f -/* 70D6E0 802399D0 00431021 */ addu $v0, $v0, $v1 -/* 70D6E4 802399D4 46201080 */ add.d $f2, $f2, $f0 -/* 70D6E8 802399D8 00821007 */ srav $v0, $v0, $a0 -/* 70D6EC 802399DC 44820000 */ mtc1 $v0, $f0 -/* 70D6F0 802399E0 00000000 */ nop -/* 70D6F4 802399E4 46800021 */ cvt.d.w $f0, $f0 -/* 70D6F8 802399E8 46201080 */ add.d $f2, $f2, $f0 -/* 70D6FC 802399EC 44052000 */ mfc1 $a1, $f4 -/* 70D700 802399F0 44063000 */ mfc1 $a2, $f6 -/* 70D704 802399F4 46201020 */ cvt.s.d $f0, $f2 -/* 70D708 802399F8 0C01C904 */ jal func_80072410 -/* 70D70C 802399FC E7A0001C */ swc1 $f0, 0x1c($sp) -.L80239A00: -/* 70D710 80239A00 3C118024 */ lui $s1, %hi(D_8023CCC0_7109D0) -/* 70D714 80239A04 2631CCC0 */ addiu $s1, $s1, %lo(D_8023CCC0_7109D0) -/* 70D718 80239A08 8E230000 */ lw $v1, ($s1) -/* 70D71C 80239A0C 8064005C */ lb $a0, 0x5c($v1) -/* 70D720 80239A10 10800005 */ beqz $a0, .L80239A28 -/* 70D724 80239A14 24020001 */ addiu $v0, $zero, 1 -/* 70D728 80239A18 10820086 */ beq $a0, $v0, .L80239C34 -/* 70D72C 80239A1C 2402000A */ addiu $v0, $zero, 0xa -/* 70D730 80239A20 0808E710 */ j .L80239C40 -/* 70D734 80239A24 00000000 */ nop -.L80239A28: -/* 70D738 80239A28 8462005A */ lh $v0, 0x5a($v1) -/* 70D73C 80239A2C 24120001 */ addiu $s2, $zero, 1 -/* 70D740 80239A30 3C018024 */ lui $at, %hi(D_8023D274) -/* 70D744 80239A34 04410003 */ bgez $v0, .L80239A44 -/* 70D748 80239A38 AC32D274 */ sw $s2, %lo(D_8023D274)($at) -/* 70D74C 80239A3C 94620072 */ lhu $v0, 0x72($v1) -/* 70D750 80239A40 A462005A */ sh $v0, 0x5a($v1) -.L80239A44: -/* 70D754 80239A44 8E220000 */ lw $v0, ($s1) -/* 70D758 80239A48 84420072 */ lh $v0, 0x72($v0) -/* 70D75C 80239A4C 3C01459C */ lui $at, 0x459c -/* 70D760 80239A50 34214000 */ ori $at, $at, 0x4000 -/* 70D764 80239A54 44811000 */ mtc1 $at, $f2 -/* 70D768 80239A58 44820000 */ mtc1 $v0, $f0 -/* 70D76C 80239A5C 00000000 */ nop -/* 70D770 80239A60 46800020 */ cvt.s.w $f0, $f0 -/* 70D774 80239A64 4600103C */ c.lt.s $f2, $f0 -/* 70D778 80239A68 00000000 */ nop -/* 70D77C 80239A6C 45030001 */ bc1tl .L80239A74 -/* 70D780 80239A70 46001006 */ mov.s $f0, $f2 -.L80239A74: -/* 70D784 80239A74 3C014049 */ lui $at, 0x4049 -/* 70D788 80239A78 34210FD0 */ ori $at, $at, 0xfd0 -/* 70D78C 80239A7C 44816000 */ mtc1 $at, $f12 -/* 70D790 80239A80 00000000 */ nop -/* 70D794 80239A84 460C0302 */ mul.s $f12, $f0, $f12 -/* 70D798 80239A88 00000000 */ nop -/* 70D79C 80239A8C 3C013F00 */ lui $at, 0x3f00 -/* 70D7A0 80239A90 44810000 */ mtc1 $at, $f0 -/* 70D7A4 80239A94 00000000 */ nop -/* 70D7A8 80239A98 46006302 */ mul.s $f12, $f12, $f0 -/* 70D7AC 80239A9C 00000000 */ nop -/* 70D7B0 80239AA0 3C013FC9 */ lui $at, 0x3fc9 -/* 70D7B4 80239AA4 34210FD0 */ ori $at, $at, 0xfd0 -/* 70D7B8 80239AA8 44810000 */ mtc1 $at, $f0 -/* 70D7BC 80239AAC 46026303 */ div.s $f12, $f12, $f2 -/* 70D7C0 80239AB0 3C108024 */ lui $s0, %hi(D_8023D278) -/* 70D7C4 80239AB4 2610D278 */ addiu $s0, $s0, %lo(D_8023D278) -/* 70D7C8 80239AB8 C6140000 */ lwc1 $f20, ($s0) -/* 70D7CC 80239ABC 4680A521 */ cvt.d.w $f20, $f20 -/* 70D7D0 80239AC0 0C00A85B */ jal sin_rad -/* 70D7D4 80239AC4 46006300 */ add.s $f12, $f12, $f0 -/* 70D7D8 80239AC8 3C013FF0 */ lui $at, 0x3ff0 -/* 70D7DC 80239ACC 44811800 */ mtc1 $at, $f3 -/* 70D7E0 80239AD0 44801000 */ mtc1 $zero, $f2 -/* 70D7E4 80239AD4 46000021 */ cvt.d.s $f0, $f0 -/* 70D7E8 80239AD8 46201081 */ sub.d $f2, $f2, $f0 -/* 70D7EC 80239ADC 4622A082 */ mul.d $f2, $f20, $f2 -/* 70D7F0 80239AE0 00000000 */ nop -/* 70D7F4 80239AE4 3C013FF8 */ lui $at, 0x3ff8 -/* 70D7F8 80239AE8 44810800 */ mtc1 $at, $f1 -/* 70D7FC 80239AEC 44800000 */ mtc1 $zero, $f0 -/* 70D800 80239AF0 00000000 */ nop -/* 70D804 80239AF4 46201082 */ mul.d $f2, $f2, $f0 -/* 70D808 80239AF8 00000000 */ nop -/* 70D80C 80239AFC 3C068024 */ lui $a2, %hi(D_8023D27C) -/* 70D810 80239B00 24C6D27C */ addiu $a2, $a2, %lo(D_8023D27C) -/* 70D814 80239B04 8E250000 */ lw $a1, ($s1) -/* 70D818 80239B08 8CC20000 */ lw $v0, ($a2) -/* 70D81C 80239B0C 8E030000 */ lw $v1, ($s0) -/* 70D820 80239B10 84A40070 */ lh $a0, 0x70($a1) -/* 70D824 80239B14 00431021 */ addu $v0, $v0, $v1 -/* 70D828 80239B18 ACC20000 */ sw $v0, ($a2) -/* 70D82C 80239B1C 4622A500 */ add.d $f20, $f20, $f2 -/* 70D830 80239B20 84A20072 */ lh $v0, 0x72($a1) -/* 70D834 80239B24 44840000 */ mtc1 $a0, $f0 -/* 70D838 80239B28 00000000 */ nop -/* 70D83C 80239B2C 46800020 */ cvt.s.w $f0, $f0 -/* 70D840 80239B30 4620A520 */ cvt.s.d $f20, $f20 -/* 70D844 80239B34 46140000 */ add.s $f0, $f0, $f20 -/* 70D848 80239B38 28422329 */ slti $v0, $v0, 0x2329 -/* 70D84C 80239B3C 4600020D */ trunc.w.s $f8, $f0 -/* 70D850 80239B40 44034000 */ mfc1 $v1, $f8 -/* 70D854 80239B44 14400009 */ bnez $v0, .L80239B6C -/* 70D858 80239B48 A4A30070 */ sh $v1, 0x70($a1) -/* 70D85C 80239B4C 0060102D */ daddu $v0, $v1, $zero -/* 70D860 80239B50 00021C00 */ sll $v1, $v0, 0x10 -/* 70D864 80239B54 00032403 */ sra $a0, $v1, 0x10 -/* 70D868 80239B58 00031FC2 */ srl $v1, $v1, 0x1f -/* 70D86C 80239B5C 00832021 */ addu $a0, $a0, $v1 -/* 70D870 80239B60 00042043 */ sra $a0, $a0, 1 -/* 70D874 80239B64 00441023 */ subu $v0, $v0, $a0 -/* 70D878 80239B68 A4A20070 */ sh $v0, 0x70($a1) -.L80239B6C: -/* 70D87C 80239B6C 8E230000 */ lw $v1, ($s1) -/* 70D880 80239B70 84620070 */ lh $v0, 0x70($v1) -/* 70D884 80239B74 04420001 */ bltzl $v0, .L80239B7C -/* 70D888 80239B78 A4600070 */ sh $zero, 0x70($v1) -.L80239B7C: -/* 70D88C 80239B7C 8E230000 */ lw $v1, ($s1) -/* 70D890 80239B80 84620070 */ lh $v0, 0x70($v1) -/* 70D894 80239B84 44820000 */ mtc1 $v0, $f0 -/* 70D898 80239B88 00000000 */ nop -/* 70D89C 80239B8C 46800020 */ cvt.s.w $f0, $f0 -/* 70D8A0 80239B90 46140000 */ add.s $f0, $f0, $f20 -/* 70D8A4 80239B94 4600020D */ trunc.w.s $f8, $f0 -/* 70D8A8 80239B98 44024000 */ mfc1 $v0, $f8 -/* 70D8AC 80239B9C 00000000 */ nop -/* 70D8B0 80239BA0 A4620070 */ sh $v0, 0x70($v1) -/* 70D8B4 80239BA4 00021400 */ sll $v0, $v0, 0x10 -/* 70D8B8 80239BA8 00021403 */ sra $v0, $v0, 0x10 -/* 70D8BC 80239BAC 284202EF */ slti $v0, $v0, 0x2ef -/* 70D8C0 80239BB0 14400002 */ bnez $v0, .L80239BBC -/* 70D8C4 80239BB4 240202EE */ addiu $v0, $zero, 0x2ee -/* 70D8C8 80239BB8 A4620070 */ sh $v0, 0x70($v1) -.L80239BBC: -/* 70D8CC 80239BBC 8CC20000 */ lw $v0, ($a2) -/* 70D8D0 80239BC0 284203E9 */ slti $v0, $v0, 0x3e9 -/* 70D8D4 80239BC4 14400002 */ bnez $v0, .L80239BD0 -/* 70D8D8 80239BC8 240203E8 */ addiu $v0, $zero, 0x3e8 -/* 70D8DC 80239BCC ACC20000 */ sw $v0, ($a2) -.L80239BD0: -/* 70D8E0 80239BD0 8E240000 */ lw $a0, ($s1) -/* 70D8E4 80239BD4 94820072 */ lhu $v0, 0x72($a0) -/* 70D8E8 80239BD8 94830070 */ lhu $v1, 0x70($a0) -/* 70D8EC 80239BDC 3C058024 */ lui $a1, %hi(D_8023D284) -/* 70D8F0 80239BE0 24A5D284 */ addiu $a1, $a1, %lo(D_8023D284) -/* 70D8F4 80239BE4 00431021 */ addu $v0, $v0, $v1 -/* 70D8F8 80239BE8 A4820072 */ sh $v0, 0x72($a0) -/* 70D8FC 80239BEC 00021400 */ sll $v0, $v0, 0x10 -/* 70D900 80239BF0 8CA30000 */ lw $v1, ($a1) -/* 70D904 80239BF4 00021403 */ sra $v0, $v0, 0x10 -/* 70D908 80239BF8 24631388 */ addiu $v1, $v1, 0x1388 -/* 70D90C 80239BFC 0062182A */ slt $v1, $v1, $v0 -/* 70D910 80239C00 1060000F */ beqz $v1, .L80239C40 -/* 70D914 80239C04 00000000 */ nop -/* 70D918 80239C08 94A20002 */ lhu $v0, 2($a1) -/* 70D91C 80239C0C A092005C */ sb $s2, 0x5c($a0) -/* 70D920 80239C10 24421388 */ addiu $v0, $v0, 0x1388 -/* 70D924 80239C14 A4820072 */ sh $v0, 0x72($a0) -/* 70D928 80239C18 8E230000 */ lw $v1, ($s1) -/* 70D92C 80239C1C 24020005 */ addiu $v0, $zero, 5 -/* 70D930 80239C20 A062005D */ sb $v0, 0x5d($v1) -/* 70D934 80239C24 8E230000 */ lw $v1, ($s1) -/* 70D938 80239C28 94C20002 */ lhu $v0, 2($a2) -/* 70D93C 80239C2C 0808E710 */ j .L80239C40 -/* 70D940 80239C30 A4620070 */ sh $v0, 0x70($v1) -.L80239C34: -/* 70D944 80239C34 3C018024 */ lui $at, %hi(D_8023D274) -/* 70D948 80239C38 AC20D274 */ sw $zero, %lo(D_8023D274)($at) -/* 70D94C 80239C3C A062005C */ sb $v0, 0x5c($v1) -.L80239C40: -/* 70D950 80239C40 3C078024 */ lui $a3, %hi(D_8023CCC0_7109D0) -/* 70D954 80239C44 24E7CCC0 */ addiu $a3, $a3, %lo(D_8023CCC0_7109D0) -/* 70D958 80239C48 8CE50000 */ lw $a1, ($a3) -/* 70D95C 80239C4C 80A3005C */ lb $v1, 0x5c($a1) -/* 70D960 80239C50 2402000A */ addiu $v0, $zero, 0xa -/* 70D964 80239C54 10620005 */ beq $v1, $v0, .L80239C6C -/* 70D968 80239C58 2402000B */ addiu $v0, $zero, 0xb -/* 70D96C 80239C5C 1062003F */ beq $v1, $v0, .L80239D5C -/* 70D970 80239C60 00000000 */ nop -/* 70D974 80239C64 0808E792 */ j .L80239E48 -/* 70D978 80239C68 00000000 */ nop -.L80239C6C: -/* 70D97C 80239C6C 3C045555 */ lui $a0, 0x5555 -/* 70D980 80239C70 94A20070 */ lhu $v0, 0x70($a1) -/* 70D984 80239C74 34845556 */ ori $a0, $a0, 0x5556 -/* 70D988 80239C78 00021400 */ sll $v0, $v0, 0x10 -/* 70D98C 80239C7C 00021C03 */ sra $v1, $v0, 0x10 -/* 70D990 80239C80 00640018 */ mult $v1, $a0 -/* 70D994 80239C84 3C014348 */ lui $at, 0x4348 -/* 70D998 80239C88 44810000 */ mtc1 $at, $f0 -/* 70D99C 80239C8C 2408FFFF */ addiu $t0, $zero, -1 -/* 70D9A0 80239C90 3C018024 */ lui $at, %hi(D_8023D274) -/* 70D9A4 80239C94 AC28D274 */ sw $t0, %lo(D_8023D274)($at) -/* 70D9A8 80239C98 000217C3 */ sra $v0, $v0, 0x1f -/* 70D9AC 80239C9C 00004810 */ mfhi $t1 -/* 70D9B0 80239CA0 01221023 */ subu $v0, $t1, $v0 -/* 70D9B4 80239CA4 00021400 */ sll $v0, $v0, 0x10 -/* 70D9B8 80239CA8 00021403 */ sra $v0, $v0, 0x10 -/* 70D9BC 80239CAC 00621821 */ addu $v1, $v1, $v0 -/* 70D9C0 80239CB0 4483A000 */ mtc1 $v1, $f20 -/* 70D9C4 80239CB4 00000000 */ nop -/* 70D9C8 80239CB8 4680A520 */ cvt.s.w $f20, $f20 -/* 70D9CC 80239CBC 4600A03C */ c.lt.s $f20, $f0 -/* 70D9D0 80239CC0 00000000 */ nop -/* 70D9D4 80239CC4 45030001 */ bc1tl .L80239CCC -/* 70D9D8 80239CC8 46000506 */ mov.s $f20, $f0 -.L80239CCC: -/* 70D9DC 80239CCC 84A20072 */ lh $v0, 0x72($a1) -/* 70D9E0 80239CD0 44820000 */ mtc1 $v0, $f0 -/* 70D9E4 80239CD4 00000000 */ nop -/* 70D9E8 80239CD8 46800020 */ cvt.s.w $f0, $f0 -/* 70D9EC 80239CDC 46140001 */ sub.s $f0, $f0, $f20 -/* 70D9F0 80239CE0 3C048024 */ lui $a0, %hi(D_8023D284) -/* 70D9F4 80239CE4 2484D284 */ addiu $a0, $a0, %lo(D_8023D284) -/* 70D9F8 80239CE8 24061388 */ addiu $a2, $zero, 0x1388 -/* 70D9FC 80239CEC 4600020D */ trunc.w.s $f8, $f0 -/* 70DA00 80239CF0 44024000 */ mfc1 $v0, $f8 -/* 70DA04 80239CF4 00000000 */ nop -/* 70DA08 80239CF8 A4A20072 */ sh $v0, 0x72($a1) -/* 70DA0C 80239CFC 00021400 */ sll $v0, $v0, 0x10 -/* 70DA10 80239D00 8C830000 */ lw $v1, ($a0) -/* 70DA14 80239D04 00021403 */ sra $v0, $v0, 0x10 -/* 70DA18 80239D08 00C31823 */ subu $v1, $a2, $v1 -/* 70DA1C 80239D0C 0043102A */ slt $v0, $v0, $v1 -/* 70DA20 80239D10 1040004D */ beqz $v0, .L80239E48 -/* 70DA24 80239D14 2403000B */ addiu $v1, $zero, 0xb -/* 70DA28 80239D18 94820002 */ lhu $v0, 2($a0) -/* 70DA2C 80239D1C A0A3005C */ sb $v1, 0x5c($a1) -/* 70DA30 80239D20 00C21023 */ subu $v0, $a2, $v0 -/* 70DA34 80239D24 A4A20072 */ sh $v0, 0x72($a1) -/* 70DA38 80239D28 8CE30000 */ lw $v1, ($a3) -/* 70DA3C 80239D2C 24020005 */ addiu $v0, $zero, 5 -/* 70DA40 80239D30 A062005D */ sb $v0, 0x5d($v1) -/* 70DA44 80239D34 8C820000 */ lw $v0, ($a0) -/* 70DA48 80239D38 8CE30000 */ lw $v1, ($a3) -/* 70DA4C 80239D3C 244203E8 */ addiu $v0, $v0, 0x3e8 -/* 70DA50 80239D40 A468005A */ sh $t0, 0x5a($v1) -/* 70DA54 80239D44 AC820000 */ sw $v0, ($a0) -/* 70DA58 80239D48 28421389 */ slti $v0, $v0, 0x1389 -/* 70DA5C 80239D4C 5040003E */ beql $v0, $zero, .L80239E48 -/* 70DA60 80239D50 AC860000 */ sw $a2, ($a0) -/* 70DA64 80239D54 0808E792 */ j .L80239E48 -/* 70DA68 80239D58 00000000 */ nop -.L80239D5C: -/* 70DA6C 80239D5C 3C018024 */ lui $at, %hi(D_8023D274) -/* 70DA70 80239D60 AC20D274 */ sw $zero, %lo(D_8023D274)($at) -/* 70DA74 80239D64 A0A0005C */ sb $zero, 0x5c($a1) -/* 70DA78 80239D68 8CE30000 */ lw $v1, ($a3) -/* 70DA7C 80239D6C 84620070 */ lh $v0, 0x70($v1) -/* 70DA80 80239D70 3C018024 */ lui $at, %hi(D_8023D1C8_710ED8) -/* 70DA84 80239D74 D422D1C8 */ ldc1 $f2, %lo(D_8023D1C8_710ED8)($at) -/* 70DA88 80239D78 44820000 */ mtc1 $v0, $f0 -/* 70DA8C 80239D7C 00000000 */ nop -/* 70DA90 80239D80 46800021 */ cvt.d.w $f0, $f0 -/* 70DA94 80239D84 46220083 */ div.d $f2, $f0, $f2 -/* 70DA98 80239D88 46220001 */ sub.d $f0, $f0, $f2 -/* 70DA9C 80239D8C 4620020D */ trunc.w.d $f8, $f0 -/* 70DAA0 80239D90 44024000 */ mfc1 $v0, $f8 -/* 70DAA4 80239D94 00000000 */ nop -/* 70DAA8 80239D98 A4620070 */ sh $v0, 0x70($v1) -/* 70DAAC 80239D9C 84630070 */ lh $v1, 0x70($v1) -/* 70DAB0 80239DA0 3C014049 */ lui $at, 0x4049 -/* 70DAB4 80239DA4 34210FD0 */ ori $at, $at, 0xfd0 -/* 70DAB8 80239DA8 44810000 */ mtc1 $at, $f0 -/* 70DABC 80239DAC 44836000 */ mtc1 $v1, $f12 -/* 70DAC0 80239DB0 00000000 */ nop -/* 70DAC4 80239DB4 46806320 */ cvt.s.w $f12, $f12 -/* 70DAC8 80239DB8 46006302 */ mul.s $f12, $f12, $f0 -/* 70DACC 80239DBC 00000000 */ nop -/* 70DAD0 80239DC0 3C013F00 */ lui $at, 0x3f00 -/* 70DAD4 80239DC4 44810000 */ mtc1 $at, $f0 -/* 70DAD8 80239DC8 00000000 */ nop -/* 70DADC 80239DCC 46006302 */ mul.s $f12, $f12, $f0 -/* 70DAE0 80239DD0 00000000 */ nop -/* 70DAE4 80239DD4 00021400 */ sll $v0, $v0, 0x10 -/* 70DAE8 80239DD8 3C01443B */ lui $at, 0x443b -/* 70DAEC 80239DDC 34218000 */ ori $at, $at, 0x8000 -/* 70DAF0 80239DE0 44810000 */ mtc1 $at, $f0 -/* 70DAF4 80239DE4 00021403 */ sra $v0, $v0, 0x10 -/* 70DAF8 80239DE8 3C018024 */ lui $at, %hi(D_8023D27C) -/* 70DAFC 80239DEC AC22D27C */ sw $v0, %lo(D_8023D27C)($at) -/* 70DB00 80239DF0 0C00A85B */ jal sin_rad -/* 70DB04 80239DF4 46006303 */ div.s $f12, $f12, $f0 -/* 70DB08 80239DF8 3C013FF0 */ lui $at, 0x3ff0 -/* 70DB0C 80239DFC 44811800 */ mtc1 $at, $f3 -/* 70DB10 80239E00 44801000 */ mtc1 $zero, $f2 -/* 70DB14 80239E04 46000021 */ cvt.d.s $f0, $f0 -/* 70DB18 80239E08 46201081 */ sub.d $f2, $f2, $f0 -/* 70DB1C 80239E0C 3C014020 */ lui $at, 0x4020 -/* 70DB20 80239E10 44810800 */ mtc1 $at, $f1 -/* 70DB24 80239E14 44800000 */ mtc1 $zero, $f0 -/* 70DB28 80239E18 00000000 */ nop -/* 70DB2C 80239E1C 46201082 */ mul.d $f2, $f2, $f0 -/* 70DB30 80239E20 00000000 */ nop -/* 70DB34 80239E24 3C01402A */ lui $at, 0x402a -/* 70DB38 80239E28 44810800 */ mtc1 $at, $f1 -/* 70DB3C 80239E2C 44800000 */ mtc1 $zero, $f0 -/* 70DB40 80239E30 00000000 */ nop -/* 70DB44 80239E34 46201080 */ add.d $f2, $f2, $f0 -/* 70DB48 80239E38 4620120D */ trunc.w.d $f8, $f2 -/* 70DB4C 80239E3C 3C018024 */ lui $at, %hi(D_8023D278) -/* 70DB50 80239E40 0808E680 */ j .L80239A00 -/* 70DB54 80239E44 E428D278 */ swc1 $f8, %lo(D_8023D278)($at) -.L80239E48: -/* 70DB58 80239E48 3C048024 */ lui $a0, %hi(D_8023CCC0_7109D0) -/* 70DB5C 80239E4C 8C84CCC0 */ lw $a0, %lo(D_8023CCC0_7109D0)($a0) -/* 70DB60 80239E50 8082005C */ lb $v0, 0x5c($a0) -/* 70DB64 80239E54 14400008 */ bnez $v0, .L80239E78 -/* 70DB68 80239E58 00000000 */ nop -/* 70DB6C 80239E5C 84830070 */ lh $v1, 0x70($a0) -/* 70DB70 80239E60 04620001 */ bltzl $v1, .L80239E68 -/* 70DB74 80239E64 24630003 */ addiu $v1, $v1, 3 -.L80239E68: -/* 70DB78 80239E68 94820044 */ lhu $v0, 0x44($a0) -/* 70DB7C 80239E6C 00031883 */ sra $v1, $v1, 2 -/* 70DB80 80239E70 00431021 */ addu $v0, $v0, $v1 -/* 70DB84 80239E74 A4820044 */ sh $v0, 0x44($a0) -.L80239E78: -/* 70DB88 80239E78 3C048024 */ lui $a0, %hi(D_8023CCC0_7109D0) -/* 70DB8C 80239E7C 2484CCC0 */ addiu $a0, $a0, %lo(D_8023CCC0_7109D0) -/* 70DB90 80239E80 8C830000 */ lw $v1, ($a0) -/* 70DB94 80239E84 84620044 */ lh $v0, 0x44($v1) -/* 70DB98 80239E88 28422711 */ slti $v0, $v0, 0x2711 -/* 70DB9C 80239E8C 14400002 */ bnez $v0, .L80239E98 -/* 70DBA0 80239E90 24022710 */ addiu $v0, $zero, 0x2710 -/* 70DBA4 80239E94 A4620044 */ sh $v0, 0x44($v1) -.L80239E98: -/* 70DBA8 80239E98 8C850000 */ lw $a1, ($a0) -/* 70DBAC 80239E9C 3C0651EB */ lui $a2, 0x51eb -/* 70DBB0 80239EA0 94A30072 */ lhu $v1, 0x72($a1) -/* 70DBB4 80239EA4 34C6851F */ ori $a2, $a2, 0x851f -/* 70DBB8 80239EA8 00031C00 */ sll $v1, $v1, 0x10 -/* 70DBBC 80239EAC 00031403 */ sra $v0, $v1, 0x10 -/* 70DBC0 80239EB0 00460018 */ mult $v0, $a2 -/* 70DBC4 80239EB4 94A40070 */ lhu $a0, 0x70($a1) -/* 70DBC8 80239EB8 00031FC3 */ sra $v1, $v1, 0x1f -/* 70DBCC 80239EBC 00042400 */ sll $a0, $a0, 0x10 -/* 70DBD0 80239EC0 00004810 */ mfhi $t1 -/* 70DBD4 80239EC4 00091143 */ sra $v0, $t1, 5 -/* 70DBD8 80239EC8 00431023 */ subu $v0, $v0, $v1 -/* 70DBDC 80239ECC 00041C03 */ sra $v1, $a0, 0x10 -/* 70DBE0 80239ED0 00021400 */ sll $v0, $v0, 0x10 -/* 70DBE4 80239ED4 00660018 */ mult $v1, $a2 -/* 70DBE8 80239ED8 00021403 */ sra $v0, $v0, 0x10 -/* 70DBEC 80239EDC 3C038024 */ lui $v1, %hi(D_8023D270) -/* 70DBF0 80239EE0 2463D270 */ addiu $v1, $v1, %lo(D_8023D270) -/* 70DBF4 80239EE4 000427C3 */ sra $a0, $a0, 0x1f -/* 70DBF8 80239EE8 3C018024 */ lui $at, %hi(D_8023D26C) -/* 70DBFC 80239EEC AC22D26C */ sw $v0, %lo(D_8023D26C)($at) -/* 70DC00 80239EF0 00004810 */ mfhi $t1 -/* 70DC04 80239EF4 00091143 */ sra $v0, $t1, 5 -/* 70DC08 80239EF8 00441023 */ subu $v0, $v0, $a0 -/* 70DC0C 80239EFC 00021400 */ sll $v0, $v0, 0x10 -/* 70DC10 80239F00 00021403 */ sra $v0, $v0, 0x10 -/* 70DC14 80239F04 AC620000 */ sw $v0, ($v1) -/* 70DC18 80239F08 2842000B */ slti $v0, $v0, 0xb -/* 70DC1C 80239F0C 14400002 */ bnez $v0, .L80239F18 -/* 70DC20 80239F10 2402000A */ addiu $v0, $zero, 0xa -/* 70DC24 80239F14 AC620000 */ sw $v0, ($v1) -.L80239F18: -/* 70DC28 80239F18 94A40044 */ lhu $a0, 0x44($a1) -/* 70DC2C 80239F1C 00042400 */ sll $a0, $a0, 0x10 -/* 70DC30 80239F20 00041403 */ sra $v0, $a0, 0x10 -/* 70DC34 80239F24 00460018 */ mult $v0, $a2 -/* 70DC38 80239F28 0000102D */ daddu $v0, $zero, $zero -/* 70DC3C 80239F2C 000427C3 */ sra $a0, $a0, 0x1f -/* 70DC40 80239F30 00004810 */ mfhi $t1 -/* 70DC44 80239F34 00091943 */ sra $v1, $t1, 5 -/* 70DC48 80239F38 00641823 */ subu $v1, $v1, $a0 -/* 70DC4C 80239F3C 00031C00 */ sll $v1, $v1, 0x10 -/* 70DC50 80239F40 00031C03 */ sra $v1, $v1, 0x10 -/* 70DC54 80239F44 3C018024 */ lui $at, %hi(D_8023D280) -/* 70DC58 80239F48 AC23D280 */ sw $v1, %lo(D_8023D280)($at) -.L80239F4C: -/* 70DC5C 80239F4C 8FBF004C */ lw $ra, 0x4c($sp) -/* 70DC60 80239F50 8FB60048 */ lw $s6, 0x48($sp) -/* 70DC64 80239F54 8FB50044 */ lw $s5, 0x44($sp) -/* 70DC68 80239F58 8FB40040 */ lw $s4, 0x40($sp) -/* 70DC6C 80239F5C 8FB3003C */ lw $s3, 0x3c($sp) -/* 70DC70 80239F60 8FB20038 */ lw $s2, 0x38($sp) -/* 70DC74 80239F64 8FB10034 */ lw $s1, 0x34($sp) -/* 70DC78 80239F68 8FB00030 */ lw $s0, 0x30($sp) -/* 70DC7C 80239F6C D7BA0068 */ ldc1 $f26, 0x68($sp) -/* 70DC80 80239F70 D7B80060 */ ldc1 $f24, 0x60($sp) -/* 70DC84 80239F74 D7B60058 */ ldc1 $f22, 0x58($sp) -/* 70DC88 80239F78 D7B40050 */ ldc1 $f20, 0x50($sp) -/* 70DC8C 80239F7C 03E00008 */ jr $ra -/* 70DC90 80239F80 27BD0070 */ addiu $sp, $sp, 0x70 diff --git a/ver/us/asm/nonmatchings/code_70BD10/func_80239F84_70DC94.s b/ver/us/asm/nonmatchings/code_70BD10/func_80239F84_70DC94.s deleted file mode 100644 index 96f16967f0..0000000000 --- a/ver/us/asm/nonmatchings/code_70BD10/func_80239F84_70DC94.s +++ /dev/null @@ -1,143 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_80239F84_70DC94 -/* 70DC94 80239F84 27BDFFD8 */ addiu $sp, $sp, -0x28 -/* 70DC98 80239F88 AFB10014 */ sw $s1, 0x14($sp) -/* 70DC9C 80239F8C AFBF001C */ sw $ra, 0x1c($sp) -/* 70DCA0 80239F90 AFB20018 */ sw $s2, 0x18($sp) -/* 70DCA4 80239F94 AFB00010 */ sw $s0, 0x10($sp) -/* 70DCA8 80239F98 F7B40020 */ sdc1 $f20, 0x20($sp) -/* 70DCAC 80239F9C 10A00006 */ beqz $a1, .L80239FB8 -/* 70DCB0 80239FA0 0080882D */ daddu $s1, $a0, $zero -/* 70DCB4 80239FA4 8E2400AC */ lw $a0, 0xac($s1) -/* 70DCB8 80239FA8 0C09A75B */ jal get_actor -/* 70DCBC 80239FAC 00000000 */ nop -/* 70DCC0 80239FB0 AE220074 */ sw $v0, 0x74($s1) -/* 70DCC4 80239FB4 AE200070 */ sw $zero, 0x70($s1) -.L80239FB8: -/* 70DCC8 80239FB8 8E300074 */ lw $s0, 0x74($s1) -/* 70DCCC 80239FBC 8E230070 */ lw $v1, 0x70($s1) -/* 70DCD0 80239FC0 10600006 */ beqz $v1, .L80239FDC -/* 70DCD4 80239FC4 2612000C */ addiu $s2, $s0, 0xc -/* 70DCD8 80239FC8 24020001 */ addiu $v0, $zero, 1 -/* 70DCDC 80239FCC 1062001B */ beq $v1, $v0, .L8023A03C -/* 70DCE0 80239FD0 00000000 */ nop -/* 70DCE4 80239FD4 0808E859 */ j .L8023A164 -/* 70DCE8 80239FD8 00000000 */ nop -.L80239FDC: -/* 70DCEC 80239FDC 3C038024 */ lui $v1, %hi(D_8023D330) -/* 70DCF0 80239FE0 2463D330 */ addiu $v1, $v1, %lo(D_8023D330) -/* 70DCF4 80239FE4 0200202D */ daddu $a0, $s0, $zero -/* 70DCF8 80239FE8 C6000144 */ lwc1 $f0, 0x144($s0) -/* 70DCFC 80239FEC C6020148 */ lwc1 $f2, 0x148($s0) -/* 70DD00 80239FF0 C604014C */ lwc1 $f4, 0x14c($s0) -/* 70DD04 80239FF4 3C0140B0 */ lui $at, 0x40b0 -/* 70DD08 80239FF8 44813000 */ mtc1 $at, $f6 -/* 70DD0C 80239FFC 8C620000 */ lw $v0, ($v1) -/* 70DD10 8023A000 24050016 */ addiu $a1, $zero, 0x16 -/* 70DD14 8023A004 A6000070 */ sh $zero, 0x70($s0) -/* 70DD18 8023A008 24420001 */ addiu $v0, $v0, 1 -/* 70DD1C 8023A00C E600000C */ swc1 $f0, 0xc($s0) -/* 70DD20 8023A010 E6020010 */ swc1 $f2, 0x10($s0) -/* 70DD24 8023A014 E6040014 */ swc1 $f4, 0x14($s0) -/* 70DD28 8023A018 E606004C */ swc1 $f6, 0x4c($s0) -/* 70DD2C 8023A01C AC620000 */ sw $v0, ($v1) -/* 70DD30 8023A020 3C02800E */ lui $v0, %hi(gBattleStatus) -/* 70DD34 8023A024 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus) -/* 70DD38 8023A028 0C09DC58 */ jal dispatch_event_actor -/* 70DD3C 8023A02C AC400188 */ sw $zero, 0x188($v0) -/* 70DD40 8023A030 24020001 */ addiu $v0, $zero, 1 -/* 70DD44 8023A034 0808E859 */ j .L8023A164 -/* 70DD48 8023A038 AE220070 */ sw $v0, 0x70($s1) -.L8023A03C: -/* 70DD4C 8023A03C C602000C */ lwc1 $f2, 0xc($s0) -/* 70DD50 8023A040 C600004C */ lwc1 $f0, 0x4c($s0) -/* 70DD54 8023A044 86020070 */ lh $v0, 0x70($s0) -/* 70DD58 8023A048 46001080 */ add.s $f2, $f2, $f0 -/* 70DD5C 8023A04C 3C0140C9 */ lui $at, 0x40c9 -/* 70DD60 8023A050 34210FD0 */ ori $at, $at, 0xfd0 -/* 70DD64 8023A054 44810000 */ mtc1 $at, $f0 -/* 70DD68 8023A058 44826000 */ mtc1 $v0, $f12 -/* 70DD6C 8023A05C 00000000 */ nop -/* 70DD70 8023A060 46806320 */ cvt.s.w $f12, $f12 -/* 70DD74 8023A064 46006302 */ mul.s $f12, $f12, $f0 -/* 70DD78 8023A068 00000000 */ nop -/* 70DD7C 8023A06C C6140010 */ lwc1 $f20, 0x10($s0) -/* 70DD80 8023A070 3C0143B4 */ lui $at, 0x43b4 -/* 70DD84 8023A074 44810000 */ mtc1 $at, $f0 -/* 70DD88 8023A078 4600A521 */ cvt.d.s $f20, $f20 -/* 70DD8C 8023A07C E602000C */ swc1 $f2, 0xc($s0) -/* 70DD90 8023A080 0C00A85B */ jal sin_rad -/* 70DD94 8023A084 46006303 */ div.s $f12, $f12, $f0 -/* 70DD98 8023A088 46000000 */ add.s $f0, $f0, $f0 -/* 70DD9C 8023A08C 3C014049 */ lui $at, 0x4049 -/* 70DDA0 8023A090 34210FD0 */ ori $at, $at, 0xfd0 -/* 70DDA4 8023A094 44816000 */ mtc1 $at, $f12 -/* 70DDA8 8023A098 00000000 */ nop -/* 70DDAC 8023A09C 460C0302 */ mul.s $f12, $f0, $f12 -/* 70DDB0 8023A0A0 0C00A85B */ jal sin_rad -/* 70DDB4 8023A0A4 00000000 */ nop -/* 70DDB8 8023A0A8 3C018024 */ lui $at, %hi(D_8023D1D0_710EE0) -/* 70DDBC 8023A0AC D422D1D0 */ ldc1 $f2, %lo(D_8023D1D0_710EE0)($at) -/* 70DDC0 8023A0B0 46000021 */ cvt.d.s $f0, $f0 -/* 70DDC4 8023A0B4 46220002 */ mul.d $f0, $f0, $f2 -/* 70DDC8 8023A0B8 00000000 */ nop -/* 70DDCC 8023A0BC 96030070 */ lhu $v1, 0x70($s0) -/* 70DDD0 8023A0C0 3C013FE0 */ lui $at, 0x3fe0 -/* 70DDD4 8023A0C4 44811800 */ mtc1 $at, $f3 -/* 70DDD8 8023A0C8 44801000 */ mtc1 $zero, $f2 -/* 70DDDC 8023A0CC 24630006 */ addiu $v1, $v1, 6 -/* 70DDE0 8023A0D0 46220000 */ add.d $f0, $f0, $f2 -/* 70DDE4 8023A0D4 00031400 */ sll $v0, $v1, 0x10 -/* 70DDE8 8023A0D8 00021403 */ sra $v0, $v0, 0x10 -/* 70DDEC 8023A0DC 4620A500 */ add.d $f20, $f20, $f0 -/* 70DDF0 8023A0E0 44826000 */ mtc1 $v0, $f12 -/* 70DDF4 8023A0E4 00000000 */ nop -/* 70DDF8 8023A0E8 46806320 */ cvt.s.w $f12, $f12 -/* 70DDFC 8023A0EC A6030070 */ sh $v1, 0x70($s0) -/* 70DE00 8023A0F0 4620A520 */ cvt.s.d $f20, $f20 -/* 70DE04 8023A0F4 0C00A6C9 */ jal clamp_angle -/* 70DE08 8023A0F8 E6140010 */ swc1 $f20, 0x10($s0) -/* 70DE0C 8023A0FC C60C018C */ lwc1 $f12, 0x18c($s0) -/* 70DE10 8023A100 3C014204 */ lui $at, 0x4204 -/* 70DE14 8023A104 44811000 */ mtc1 $at, $f2 -/* 70DE18 8023A108 00000000 */ nop -/* 70DE1C 8023A10C 46026300 */ add.s $f12, $f12, $f2 -/* 70DE20 8023A110 4600020D */ trunc.w.s $f8, $f0 -/* 70DE24 8023A114 44024000 */ mfc1 $v0, $f8 -/* 70DE28 8023A118 00000000 */ nop -/* 70DE2C 8023A11C A6020070 */ sh $v0, 0x70($s0) -/* 70DE30 8023A120 0C00A6C9 */ jal clamp_angle -/* 70DE34 8023A124 E60C018C */ swc1 $f12, 0x18c($s0) -/* 70DE38 8023A128 C604000C */ lwc1 $f4, 0xc($s0) -/* 70DE3C 8023A12C 3C014370 */ lui $at, 0x4370 -/* 70DE40 8023A130 44811000 */ mtc1 $at, $f2 -/* 70DE44 8023A134 00000000 */ nop -/* 70DE48 8023A138 4604103C */ c.lt.s $f2, $f4 -/* 70DE4C 8023A13C 00000000 */ nop -/* 70DE50 8023A140 45000008 */ bc1f .L8023A164 -/* 70DE54 8023A144 E600018C */ swc1 $f0, 0x18c($s0) -/* 70DE58 8023A148 3C048024 */ lui $a0, %hi(D_8023D330) -/* 70DE5C 8023A14C 2484D330 */ addiu $a0, $a0, %lo(D_8023D330) -/* 70DE60 8023A150 8C830000 */ lw $v1, ($a0) -/* 70DE64 8023A154 24020002 */ addiu $v0, $zero, 2 -/* 70DE68 8023A158 2463FFFF */ addiu $v1, $v1, -1 -/* 70DE6C 8023A15C 0808E860 */ j .L8023A180 -/* 70DE70 8023A160 AC830000 */ sw $v1, ($a0) -.L8023A164: -/* 70DE74 8023A164 C6400000 */ lwc1 $f0, ($s2) -/* 70DE78 8023A168 E6000144 */ swc1 $f0, 0x144($s0) -/* 70DE7C 8023A16C C6400004 */ lwc1 $f0, 4($s2) -/* 70DE80 8023A170 E6000148 */ swc1 $f0, 0x148($s0) -/* 70DE84 8023A174 C6400008 */ lwc1 $f0, 8($s2) -/* 70DE88 8023A178 0000102D */ daddu $v0, $zero, $zero -/* 70DE8C 8023A17C E600014C */ swc1 $f0, 0x14c($s0) -.L8023A180: -/* 70DE90 8023A180 8FBF001C */ lw $ra, 0x1c($sp) -/* 70DE94 8023A184 8FB20018 */ lw $s2, 0x18($sp) -/* 70DE98 8023A188 8FB10014 */ lw $s1, 0x14($sp) -/* 70DE9C 8023A18C 8FB00010 */ lw $s0, 0x10($sp) -/* 70DEA0 8023A190 D7B40020 */ ldc1 $f20, 0x20($sp) -/* 70DEA4 8023A194 03E00008 */ jr $ra -/* 70DEA8 8023A198 27BD0028 */ addiu $sp, $sp, 0x28 diff --git a/ver/us/asm/nonmatchings/code_70BD10/func_8023A19C_70DEAC.s b/ver/us/asm/nonmatchings/code_70BD10/func_8023A19C_70DEAC.s deleted file mode 100644 index 3a4bf66857..0000000000 --- a/ver/us/asm/nonmatchings/code_70BD10/func_8023A19C_70DEAC.s +++ /dev/null @@ -1,9 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_8023A19C_70DEAC -/* 70DEAC 8023A19C 3C028024 */ lui $v0, %hi(D_8023D330) -/* 70DEB0 8023A1A0 8C42D330 */ lw $v0, %lo(D_8023D330)($v0) -/* 70DEB4 8023A1A4 2C420001 */ sltiu $v0, $v0, 1 -/* 70DEB8 8023A1A8 03E00008 */ jr $ra -/* 70DEBC 8023A1AC 00021040 */ sll $v0, $v0, 1 diff --git a/ver/us/asm/nonmatchings/code_70BD10/func_8023A1B0_70DEC0.s b/ver/us/asm/nonmatchings/code_70BD10/func_8023A1B0_70DEC0.s deleted file mode 100644 index 2cb0b6a97a..0000000000 --- a/ver/us/asm/nonmatchings/code_70BD10/func_8023A1B0_70DEC0.s +++ /dev/null @@ -1,8 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_8023A1B0_70DEC0 -/* 70DEC0 8023A1B0 3C028024 */ lui $v0, %hi(D_8023D334) -/* 70DEC4 8023A1B4 8C42D334 */ lw $v0, %lo(D_8023D334)($v0) -/* 70DEC8 8023A1B8 AC820084 */ sw $v0, 0x84($a0) -/* 70DECC 8023A1BC 03E00008 */ jr $ra diff --git a/ver/us/asm/nonmatchings/code_714CF0/func_80238028_714D18.s b/ver/us/asm/nonmatchings/code_714CF0/func_80238028_714D18.s deleted file mode 100644 index 94ca0a76bf..0000000000 --- a/ver/us/asm/nonmatchings/code_714CF0/func_80238028_714D18.s +++ /dev/null @@ -1,46 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_80238028_714D18 -/* 714D18 80238028 27BDFFE0 */ addiu $sp, $sp, -0x20 -/* 714D1C 8023802C AFBF0018 */ sw $ra, 0x18($sp) -/* 714D20 80238030 AFB10014 */ sw $s1, 0x14($sp) -/* 714D24 80238034 AFB00010 */ sw $s0, 0x10($sp) -/* 714D28 80238038 0C09A75B */ jal get_actor -/* 714D2C 8023803C 8C840148 */ lw $a0, 0x148($a0) -/* 714D30 80238040 3C108024 */ lui $s0, %hi(D_802382F8_714FE8) -/* 714D34 80238044 261082F8 */ addiu $s0, $s0, %lo(D_802382F8_714FE8) -/* 714D38 80238048 8E030000 */ lw $v1, ($s0) -/* 714D3C 8023804C 0040882D */ daddu $s1, $v0, $zero -/* 714D40 80238050 24630012 */ addiu $v1, $v1, 0x12 -/* 714D44 80238054 44836000 */ mtc1 $v1, $f12 -/* 714D48 80238058 00000000 */ nop -/* 714D4C 8023805C 46806320 */ cvt.s.w $f12, $f12 -/* 714D50 80238060 0C00A6C9 */ jal clamp_angle -/* 714D54 80238064 AE030000 */ sw $v1, ($s0) -/* 714D58 80238068 4600008D */ trunc.w.s $f2, $f0 -/* 714D5C 8023806C 44021000 */ mfc1 $v0, $f2 -/* 714D60 80238070 3C0140C9 */ lui $at, 0x40c9 -/* 714D64 80238074 34210FD0 */ ori $at, $at, 0xfd0 -/* 714D68 80238078 44810000 */ mtc1 $at, $f0 -/* 714D6C 8023807C 44826000 */ mtc1 $v0, $f12 -/* 714D70 80238080 00000000 */ nop -/* 714D74 80238084 46806320 */ cvt.s.w $f12, $f12 -/* 714D78 80238088 46006302 */ mul.s $f12, $f12, $f0 -/* 714D7C 8023808C 00000000 */ nop -/* 714D80 80238090 3C0143B4 */ lui $at, 0x43b4 -/* 714D84 80238094 44810000 */ mtc1 $at, $f0 -/* 714D88 80238098 AE020000 */ sw $v0, ($s0) -/* 714D8C 8023809C 0C00A85B */ jal sin_rad -/* 714D90 802380A0 46006303 */ div.s $f12, $f12, $f0 -/* 714D94 802380A4 46000000 */ add.s $f0, $f0, $f0 -/* 714D98 802380A8 4600008D */ trunc.w.s $f2, $f0 -/* 714D9C 802380AC 44031000 */ mfc1 $v1, $f2 -/* 714DA0 802380B0 00000000 */ nop -/* 714DA4 802380B4 A223019A */ sb $v1, 0x19a($s1) -/* 714DA8 802380B8 8FBF0018 */ lw $ra, 0x18($sp) -/* 714DAC 802380BC 8FB10014 */ lw $s1, 0x14($sp) -/* 714DB0 802380C0 8FB00010 */ lw $s0, 0x10($sp) -/* 714DB4 802380C4 24020002 */ addiu $v0, $zero, 2 -/* 714DB8 802380C8 03E00008 */ jr $ra -/* 714DBC 802380CC 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/ver/us/asm/nonmatchings/code_7179D0/func_802A1000_7179D0.s b/ver/us/asm/nonmatchings/code_7179D0/func_802A1000_7179D0.s deleted file mode 100644 index 0ec3aa17df..0000000000 --- a/ver/us/asm/nonmatchings/code_7179D0/func_802A1000_7179D0.s +++ /dev/null @@ -1,125 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A1000_7179D0 -/* 7179D0 802A1000 27BDFF98 */ addiu $sp, $sp, -0x68 -/* 7179D4 802A1004 AFB50044 */ sw $s5, 0x44($sp) -/* 7179D8 802A1008 0080A82D */ daddu $s5, $a0, $zero -/* 7179DC 802A100C AFB10034 */ sw $s1, 0x34($sp) -/* 7179E0 802A1010 0000882D */ daddu $s1, $zero, $zero -/* 7179E4 802A1014 2405001D */ addiu $a1, $zero, 0x1d -/* 7179E8 802A1018 F7B40050 */ sdc1 $f20, 0x50($sp) -/* 7179EC 802A101C 4480A000 */ mtc1 $zero, $f20 -/* 7179F0 802A1020 3C02800E */ lui $v0, %hi(gBattleStatus) -/* 7179F4 802A1024 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus) -/* 7179F8 802A1028 AFBF0048 */ sw $ra, 0x48($sp) -/* 7179FC 802A102C AFB40040 */ sw $s4, 0x40($sp) -/* 717A00 802A1030 AFB3003C */ sw $s3, 0x3c($sp) -/* 717A04 802A1034 AFB20038 */ sw $s2, 0x38($sp) -/* 717A08 802A1038 AFB00030 */ sw $s0, 0x30($sp) -/* 717A0C 802A103C F7B80060 */ sdc1 $f24, 0x60($sp) -/* 717A10 802A1040 F7B60058 */ sdc1 $f22, 0x58($sp) -/* 717A14 802A1044 8C5300D8 */ lw $s3, 0xd8($v0) -/* 717A18 802A1048 8442017A */ lh $v0, 0x17a($v0) -/* 717A1C 802A104C 0260202D */ daddu $a0, $s3, $zero -/* 717A20 802A1050 00021140 */ sll $v0, $v0, 5 -/* 717A24 802A1054 3C128008 */ lui $s2, %hi(gItemTable+0xC) -/* 717A28 802A1058 02429021 */ addu $s2, $s2, $v0 -/* 717A2C 802A105C 865278EC */ lh $s2, %lo(gItemTable+0xC)($s2) -/* 717A30 802A1060 92620191 */ lbu $v0, 0x191($s3) -/* 717A34 802A1064 C6620148 */ lwc1 $f2, 0x148($s3) -/* 717A38 802A1068 44820000 */ mtc1 $v0, $f0 -/* 717A3C 802A106C 00000000 */ nop -/* 717A40 802A1070 46800020 */ cvt.s.w $f0, $f0 -/* 717A44 802A1074 0C099CAB */ jal heroes_is_ability_active -/* 717A48 802A1078 46001580 */ add.s $f22, $f2, $f0 -/* 717A4C 802A107C 50400048 */ beql $v0, $zero, .L802A11A0 -/* 717A50 802A1080 AEB10084 */ sw $s1, 0x84($s5) -/* 717A54 802A1084 1A400045 */ blez $s2, .L802A119C -/* 717A58 802A1088 3C0451EB */ lui $a0, 0x51eb -/* 717A5C 802A108C 3484851F */ ori $a0, $a0, 0x851f -/* 717A60 802A1090 00121880 */ sll $v1, $s2, 2 -/* 717A64 802A1094 00721821 */ addu $v1, $v1, $s2 -/* 717A68 802A1098 00031100 */ sll $v0, $v1, 4 -/* 717A6C 802A109C 00431023 */ subu $v0, $v0, $v1 -/* 717A70 802A10A0 24420063 */ addiu $v0, $v0, 0x63 -/* 717A74 802A10A4 00440018 */ mult $v0, $a0 -/* 717A78 802A10A8 000217C3 */ sra $v0, $v0, 0x1f -/* 717A7C 802A10AC 00004010 */ mfhi $t0 -/* 717A80 802A10B0 00081943 */ sra $v1, $t0, 5 -/* 717A84 802A10B4 00629023 */ subu $s2, $v1, $v0 -/* 717A88 802A10B8 0232102A */ slt $v0, $s1, $s2 -/* 717A8C 802A10BC 10400019 */ beqz $v0, .L802A1124 -/* 717A90 802A10C0 0220802D */ daddu $s0, $s1, $zero -/* 717A94 802A10C4 24140017 */ addiu $s4, $zero, 0x17 -/* 717A98 802A10C8 3C0141F0 */ lui $at, 0x41f0 -/* 717A9C 802A10CC 4481C000 */ mtc1 $at, $f24 -/* 717AA0 802A10D0 24110001 */ addiu $s1, $zero, 1 -.L802A10D4: -/* 717AA4 802A10D4 C6600144 */ lwc1 $f0, 0x144($s3) -/* 717AA8 802A10D8 C662014C */ lwc1 $f2, 0x14c($s3) -/* 717AAC 802A10DC 4600A10D */ trunc.w.s $f4, $f20 -/* 717AB0 802A10E0 E7A40018 */ swc1 $f4, 0x18($sp) -/* 717AB4 802A10E4 24040157 */ addiu $a0, $zero, 0x157 -/* 717AB8 802A10E8 AFB10014 */ sw $s1, 0x14($sp) -/* 717ABC 802A10EC 26310003 */ addiu $s1, $s1, 3 -/* 717AC0 802A10F0 26100001 */ addiu $s0, $s0, 1 -/* 717AC4 802A10F4 4406B000 */ mfc1 $a2, $f22 -/* 717AC8 802A10F8 44050000 */ mfc1 $a1, $f0 -/* 717ACC 802A10FC 44071000 */ mfc1 $a3, $f2 -/* 717AD0 802A1100 4618A500 */ add.s $f20, $f20, $f24 -/* 717AD4 802A1104 AFB40010 */ sw $s4, 0x10($sp) -/* 717AD8 802A1108 0C04C4FD */ jal make_item_entity -/* 717ADC 802A110C AFA0001C */ sw $zero, 0x1c($sp) -/* 717AE0 802A1110 0C03A830 */ jal add_coins -/* 717AE4 802A1114 24040001 */ addiu $a0, $zero, 1 -/* 717AE8 802A1118 0212102A */ slt $v0, $s0, $s2 -/* 717AEC 802A111C 1440FFED */ bnez $v0, .L802A10D4 -/* 717AF0 802A1120 00000000 */ nop -.L802A1124: -/* 717AF4 802A1124 00101040 */ sll $v0, $s0, 1 -/* 717AF8 802A1128 00501021 */ addu $v0, $v0, $s0 -/* 717AFC 802A112C 2451001E */ addiu $s1, $v0, 0x1e -/* 717B00 802A1130 C6600144 */ lwc1 $f0, 0x144($s3) -/* 717B04 802A1134 C6760148 */ lwc1 $f22, 0x148($s3) -/* 717B08 802A1138 C662014C */ lwc1 $f2, 0x14c($s3) -/* 717B0C 802A113C 3C048007 */ lui $a0, %hi(gCurrentCameraID) -/* 717B10 802A1140 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0) -/* 717B14 802A1144 27A20020 */ addiu $v0, $sp, 0x20 -/* 717B18 802A1148 AFA20010 */ sw $v0, 0x10($sp) -/* 717B1C 802A114C 27A20024 */ addiu $v0, $sp, 0x24 -/* 717B20 802A1150 AFA20014 */ sw $v0, 0x14($sp) -/* 717B24 802A1154 44050000 */ mfc1 $a1, $f0 -/* 717B28 802A1158 4406B000 */ mfc1 $a2, $f22 -/* 717B2C 802A115C 44071000 */ mfc1 $a3, $f2 -/* 717B30 802A1160 27A20028 */ addiu $v0, $sp, 0x28 -/* 717B34 802A1164 0C00B94E */ jal get_screen_coords -/* 717B38 802A1168 AFA20018 */ sw $v0, 0x18($sp) -/* 717B3C 802A116C 3C048011 */ lui $a0, %hi(D_80108A64) -/* 717B40 802A1170 24848A64 */ addiu $a0, $a0, %lo(D_80108A64) -/* 717B44 802A1174 0C050529 */ jal create_icon -/* 717B48 802A1178 00000000 */ nop -/* 717B4C 802A117C 8FA50020 */ lw $a1, 0x20($sp) -/* 717B50 802A1180 8FA60024 */ lw $a2, 0x24($sp) -/* 717B54 802A1184 0040202D */ daddu $a0, $v0, $zero -/* 717B58 802A1188 3C01802A */ lui $at, %hi(D_802A1E80) -/* 717B5C 802A118C AC241E80 */ sw $a0, %lo(D_802A1E80)($at) -/* 717B60 802A1190 24A50024 */ addiu $a1, $a1, 0x24 -/* 717B64 802A1194 0C051261 */ jal set_icon_render_pos -/* 717B68 802A1198 24C6FFC1 */ addiu $a2, $a2, -0x3f -.L802A119C: -/* 717B6C 802A119C AEB10084 */ sw $s1, 0x84($s5) -.L802A11A0: -/* 717B70 802A11A0 8FBF0048 */ lw $ra, 0x48($sp) -/* 717B74 802A11A4 8FB50044 */ lw $s5, 0x44($sp) -/* 717B78 802A11A8 8FB40040 */ lw $s4, 0x40($sp) -/* 717B7C 802A11AC 8FB3003C */ lw $s3, 0x3c($sp) -/* 717B80 802A11B0 8FB20038 */ lw $s2, 0x38($sp) -/* 717B84 802A11B4 8FB10034 */ lw $s1, 0x34($sp) -/* 717B88 802A11B8 8FB00030 */ lw $s0, 0x30($sp) -/* 717B8C 802A11BC D7B80060 */ ldc1 $f24, 0x60($sp) -/* 717B90 802A11C0 D7B60058 */ ldc1 $f22, 0x58($sp) -/* 717B94 802A11C4 D7B40050 */ ldc1 $f20, 0x50($sp) -/* 717B98 802A11C8 24020002 */ addiu $v0, $zero, 2 -/* 717B9C 802A11CC 03E00008 */ jr $ra -/* 717BA0 802A11D0 27BD0068 */ addiu $sp, $sp, 0x68 diff --git a/ver/us/asm/nonmatchings/code_7179D0/func_802A11D4_717BA4.s b/ver/us/asm/nonmatchings/code_7179D0/func_802A11D4_717BA4.s deleted file mode 100644 index 8b39a3754a..0000000000 --- a/ver/us/asm/nonmatchings/code_7179D0/func_802A11D4_717BA4.s +++ /dev/null @@ -1,32 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A11D4_717BA4 -/* 717BA4 802A11D4 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 717BA8 802A11D8 3C03800E */ lui $v1, %hi(gBattleStatus) -/* 717BAC 802A11DC 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus) -/* 717BB0 802A11E0 AFBF0014 */ sw $ra, 0x14($sp) -/* 717BB4 802A11E4 AFB00010 */ sw $s0, 0x10($sp) -/* 717BB8 802A11E8 8462017A */ lh $v0, 0x17a($v1) -/* 717BBC 802A11EC 8C6400D8 */ lw $a0, 0xd8($v1) -/* 717BC0 802A11F0 00021140 */ sll $v0, $v0, 5 -/* 717BC4 802A11F4 3C108008 */ lui $s0, %hi(gItemTable+0xC) -/* 717BC8 802A11F8 02028021 */ addu $s0, $s0, $v0 -/* 717BCC 802A11FC 861078EC */ lh $s0, %lo(gItemTable+0xC)($s0) -/* 717BD0 802A1200 0C099CAB */ jal heroes_is_ability_active -/* 717BD4 802A1204 2405001D */ addiu $a1, $zero, 0x1d -/* 717BD8 802A1208 10400007 */ beqz $v0, .L802A1228 -/* 717BDC 802A120C 00000000 */ nop -/* 717BE0 802A1210 1A000005 */ blez $s0, .L802A1228 -/* 717BE4 802A1214 00000000 */ nop -/* 717BE8 802A1218 3C04802A */ lui $a0, %hi(D_802A1E80) -/* 717BEC 802A121C 8C841E80 */ lw $a0, %lo(D_802A1E80)($a0) -/* 717BF0 802A1220 0C05123D */ jal free_icon -/* 717BF4 802A1224 00000000 */ nop -.L802A1228: -/* 717BF8 802A1228 8FBF0014 */ lw $ra, 0x14($sp) -/* 717BFC 802A122C 8FB00010 */ lw $s0, 0x10($sp) -/* 717C00 802A1230 24020002 */ addiu $v0, $zero, 2 -/* 717C04 802A1234 03E00008 */ jr $ra -/* 717C08 802A1238 27BD0018 */ addiu $sp, $sp, 0x18 -/* 717C0C 802A123C 00000000 */ nop diff --git a/ver/us/asm/nonmatchings/code_718850/func_802A1000_718850.s b/ver/us/asm/nonmatchings/code_718850/func_802A1000_718850.s deleted file mode 100644 index 131f818cd3..0000000000 --- a/ver/us/asm/nonmatchings/code_718850/func_802A1000_718850.s +++ /dev/null @@ -1,125 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A1000_718850 -/* 718850 802A1000 27BDFF98 */ addiu $sp, $sp, -0x68 -/* 718854 802A1004 AFB50044 */ sw $s5, 0x44($sp) -/* 718858 802A1008 0080A82D */ daddu $s5, $a0, $zero -/* 71885C 802A100C AFB10034 */ sw $s1, 0x34($sp) -/* 718860 802A1010 0000882D */ daddu $s1, $zero, $zero -/* 718864 802A1014 2405001D */ addiu $a1, $zero, 0x1d -/* 718868 802A1018 F7B40050 */ sdc1 $f20, 0x50($sp) -/* 71886C 802A101C 4480A000 */ mtc1 $zero, $f20 -/* 718870 802A1020 3C02800E */ lui $v0, %hi(gBattleStatus) -/* 718874 802A1024 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus) -/* 718878 802A1028 AFBF0048 */ sw $ra, 0x48($sp) -/* 71887C 802A102C AFB40040 */ sw $s4, 0x40($sp) -/* 718880 802A1030 AFB3003C */ sw $s3, 0x3c($sp) -/* 718884 802A1034 AFB20038 */ sw $s2, 0x38($sp) -/* 718888 802A1038 AFB00030 */ sw $s0, 0x30($sp) -/* 71888C 802A103C F7B80060 */ sdc1 $f24, 0x60($sp) -/* 718890 802A1040 F7B60058 */ sdc1 $f22, 0x58($sp) -/* 718894 802A1044 8C5300D8 */ lw $s3, 0xd8($v0) -/* 718898 802A1048 8442017A */ lh $v0, 0x17a($v0) -/* 71889C 802A104C 0260202D */ daddu $a0, $s3, $zero -/* 7188A0 802A1050 00021140 */ sll $v0, $v0, 5 -/* 7188A4 802A1054 3C128008 */ lui $s2, %hi(gItemTable+0xC) -/* 7188A8 802A1058 02429021 */ addu $s2, $s2, $v0 -/* 7188AC 802A105C 865278EC */ lh $s2, %lo(gItemTable+0xC)($s2) -/* 7188B0 802A1060 92620191 */ lbu $v0, 0x191($s3) -/* 7188B4 802A1064 C6620148 */ lwc1 $f2, 0x148($s3) -/* 7188B8 802A1068 44820000 */ mtc1 $v0, $f0 -/* 7188BC 802A106C 00000000 */ nop -/* 7188C0 802A1070 46800020 */ cvt.s.w $f0, $f0 -/* 7188C4 802A1074 0C099CAB */ jal heroes_is_ability_active -/* 7188C8 802A1078 46001580 */ add.s $f22, $f2, $f0 -/* 7188CC 802A107C 50400048 */ beql $v0, $zero, .L802A11A0 -/* 7188D0 802A1080 AEB10084 */ sw $s1, 0x84($s5) -/* 7188D4 802A1084 1A400045 */ blez $s2, .L802A119C -/* 7188D8 802A1088 3C0451EB */ lui $a0, 0x51eb -/* 7188DC 802A108C 3484851F */ ori $a0, $a0, 0x851f -/* 7188E0 802A1090 00121880 */ sll $v1, $s2, 2 -/* 7188E4 802A1094 00721821 */ addu $v1, $v1, $s2 -/* 7188E8 802A1098 00031100 */ sll $v0, $v1, 4 -/* 7188EC 802A109C 00431023 */ subu $v0, $v0, $v1 -/* 7188F0 802A10A0 24420063 */ addiu $v0, $v0, 0x63 -/* 7188F4 802A10A4 00440018 */ mult $v0, $a0 -/* 7188F8 802A10A8 000217C3 */ sra $v0, $v0, 0x1f -/* 7188FC 802A10AC 00004010 */ mfhi $t0 -/* 718900 802A10B0 00081943 */ sra $v1, $t0, 5 -/* 718904 802A10B4 00629023 */ subu $s2, $v1, $v0 -/* 718908 802A10B8 0232102A */ slt $v0, $s1, $s2 -/* 71890C 802A10BC 10400019 */ beqz $v0, .L802A1124 -/* 718910 802A10C0 0220802D */ daddu $s0, $s1, $zero -/* 718914 802A10C4 24140017 */ addiu $s4, $zero, 0x17 -/* 718918 802A10C8 3C0141F0 */ lui $at, 0x41f0 -/* 71891C 802A10CC 4481C000 */ mtc1 $at, $f24 -/* 718920 802A10D0 24110001 */ addiu $s1, $zero, 1 -.L802A10D4: -/* 718924 802A10D4 C6600144 */ lwc1 $f0, 0x144($s3) -/* 718928 802A10D8 C662014C */ lwc1 $f2, 0x14c($s3) -/* 71892C 802A10DC 4600A10D */ trunc.w.s $f4, $f20 -/* 718930 802A10E0 E7A40018 */ swc1 $f4, 0x18($sp) -/* 718934 802A10E4 24040157 */ addiu $a0, $zero, 0x157 -/* 718938 802A10E8 AFB10014 */ sw $s1, 0x14($sp) -/* 71893C 802A10EC 26310003 */ addiu $s1, $s1, 3 -/* 718940 802A10F0 26100001 */ addiu $s0, $s0, 1 -/* 718944 802A10F4 4406B000 */ mfc1 $a2, $f22 -/* 718948 802A10F8 44050000 */ mfc1 $a1, $f0 -/* 71894C 802A10FC 44071000 */ mfc1 $a3, $f2 -/* 718950 802A1100 4618A500 */ add.s $f20, $f20, $f24 -/* 718954 802A1104 AFB40010 */ sw $s4, 0x10($sp) -/* 718958 802A1108 0C04C4FD */ jal make_item_entity -/* 71895C 802A110C AFA0001C */ sw $zero, 0x1c($sp) -/* 718960 802A1110 0C03A830 */ jal add_coins -/* 718964 802A1114 24040001 */ addiu $a0, $zero, 1 -/* 718968 802A1118 0212102A */ slt $v0, $s0, $s2 -/* 71896C 802A111C 1440FFED */ bnez $v0, .L802A10D4 -/* 718970 802A1120 00000000 */ nop -.L802A1124: -/* 718974 802A1124 00101040 */ sll $v0, $s0, 1 -/* 718978 802A1128 00501021 */ addu $v0, $v0, $s0 -/* 71897C 802A112C 2451001E */ addiu $s1, $v0, 0x1e -/* 718980 802A1130 C6600144 */ lwc1 $f0, 0x144($s3) -/* 718984 802A1134 C6760148 */ lwc1 $f22, 0x148($s3) -/* 718988 802A1138 C662014C */ lwc1 $f2, 0x14c($s3) -/* 71898C 802A113C 3C048007 */ lui $a0, %hi(gCurrentCameraID) -/* 718990 802A1140 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0) -/* 718994 802A1144 27A20020 */ addiu $v0, $sp, 0x20 -/* 718998 802A1148 AFA20010 */ sw $v0, 0x10($sp) -/* 71899C 802A114C 27A20024 */ addiu $v0, $sp, 0x24 -/* 7189A0 802A1150 AFA20014 */ sw $v0, 0x14($sp) -/* 7189A4 802A1154 44050000 */ mfc1 $a1, $f0 -/* 7189A8 802A1158 4406B000 */ mfc1 $a2, $f22 -/* 7189AC 802A115C 44071000 */ mfc1 $a3, $f2 -/* 7189B0 802A1160 27A20028 */ addiu $v0, $sp, 0x28 -/* 7189B4 802A1164 0C00B94E */ jal get_screen_coords -/* 7189B8 802A1168 AFA20018 */ sw $v0, 0x18($sp) -/* 7189BC 802A116C 3C048011 */ lui $a0, %hi(D_80108A64) -/* 7189C0 802A1170 24848A64 */ addiu $a0, $a0, %lo(D_80108A64) -/* 7189C4 802A1174 0C050529 */ jal create_icon -/* 7189C8 802A1178 00000000 */ nop -/* 7189CC 802A117C 8FA50020 */ lw $a1, 0x20($sp) -/* 7189D0 802A1180 8FA60024 */ lw $a2, 0x24($sp) -/* 7189D4 802A1184 0040202D */ daddu $a0, $v0, $zero -/* 7189D8 802A1188 3C01802A */ lui $at, %hi(D_802A2120) -/* 7189DC 802A118C AC242120 */ sw $a0, %lo(D_802A2120)($at) -/* 7189E0 802A1190 24A50024 */ addiu $a1, $a1, 0x24 -/* 7189E4 802A1194 0C051261 */ jal set_icon_render_pos -/* 7189E8 802A1198 24C6FFC1 */ addiu $a2, $a2, -0x3f -.L802A119C: -/* 7189EC 802A119C AEB10084 */ sw $s1, 0x84($s5) -.L802A11A0: -/* 7189F0 802A11A0 8FBF0048 */ lw $ra, 0x48($sp) -/* 7189F4 802A11A4 8FB50044 */ lw $s5, 0x44($sp) -/* 7189F8 802A11A8 8FB40040 */ lw $s4, 0x40($sp) -/* 7189FC 802A11AC 8FB3003C */ lw $s3, 0x3c($sp) -/* 718A00 802A11B0 8FB20038 */ lw $s2, 0x38($sp) -/* 718A04 802A11B4 8FB10034 */ lw $s1, 0x34($sp) -/* 718A08 802A11B8 8FB00030 */ lw $s0, 0x30($sp) -/* 718A0C 802A11BC D7B80060 */ ldc1 $f24, 0x60($sp) -/* 718A10 802A11C0 D7B60058 */ ldc1 $f22, 0x58($sp) -/* 718A14 802A11C4 D7B40050 */ ldc1 $f20, 0x50($sp) -/* 718A18 802A11C8 24020002 */ addiu $v0, $zero, 2 -/* 718A1C 802A11CC 03E00008 */ jr $ra -/* 718A20 802A11D0 27BD0068 */ addiu $sp, $sp, 0x68 diff --git a/ver/us/asm/nonmatchings/code_718850/func_802A11D4_718A24.s b/ver/us/asm/nonmatchings/code_718850/func_802A11D4_718A24.s deleted file mode 100644 index 4e1e4863cf..0000000000 --- a/ver/us/asm/nonmatchings/code_718850/func_802A11D4_718A24.s +++ /dev/null @@ -1,31 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A11D4_718A24 -/* 718A24 802A11D4 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 718A28 802A11D8 3C03800E */ lui $v1, %hi(gBattleStatus) -/* 718A2C 802A11DC 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus) -/* 718A30 802A11E0 AFBF0014 */ sw $ra, 0x14($sp) -/* 718A34 802A11E4 AFB00010 */ sw $s0, 0x10($sp) -/* 718A38 802A11E8 8462017A */ lh $v0, 0x17a($v1) -/* 718A3C 802A11EC 8C6400D8 */ lw $a0, 0xd8($v1) -/* 718A40 802A11F0 00021140 */ sll $v0, $v0, 5 -/* 718A44 802A11F4 3C108008 */ lui $s0, %hi(gItemTable+0xC) -/* 718A48 802A11F8 02028021 */ addu $s0, $s0, $v0 -/* 718A4C 802A11FC 861078EC */ lh $s0, %lo(gItemTable+0xC)($s0) -/* 718A50 802A1200 0C099CAB */ jal heroes_is_ability_active -/* 718A54 802A1204 2405001D */ addiu $a1, $zero, 0x1d -/* 718A58 802A1208 10400007 */ beqz $v0, .L802A1228 -/* 718A5C 802A120C 00000000 */ nop -/* 718A60 802A1210 1A000005 */ blez $s0, .L802A1228 -/* 718A64 802A1214 00000000 */ nop -/* 718A68 802A1218 3C04802A */ lui $a0, %hi(D_802A2120) -/* 718A6C 802A121C 8C842120 */ lw $a0, %lo(D_802A2120)($a0) -/* 718A70 802A1220 0C05123D */ jal free_icon -/* 718A74 802A1224 00000000 */ nop -.L802A1228: -/* 718A78 802A1228 8FBF0014 */ lw $ra, 0x14($sp) -/* 718A7C 802A122C 8FB00010 */ lw $s0, 0x10($sp) -/* 718A80 802A1230 24020002 */ addiu $v0, $zero, 2 -/* 718A84 802A1234 03E00008 */ jr $ra -/* 718A88 802A1238 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/ver/us/asm/nonmatchings/code_718850/func_802A123C_718A8C.s b/ver/us/asm/nonmatchings/code_718850/func_802A123C_718A8C.s deleted file mode 100644 index 277819da13..0000000000 --- a/ver/us/asm/nonmatchings/code_718850/func_802A123C_718A8C.s +++ /dev/null @@ -1,47 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A123C_718A8C -/* 718A8C 802A123C 3C02800E */ lui $v0, %hi(gBattleStatus+0xD8) -/* 718A90 802A1240 8C42C148 */ lw $v0, %lo(gBattleStatus+0xD8)($v0) -/* 718A94 802A1244 27BDFFE0 */ addiu $sp, $sp, -0x20 -/* 718A98 802A1248 AFB20018 */ sw $s2, 0x18($sp) -/* 718A9C 802A124C 3C128016 */ lui $s2, %hi(gCollisionStatus) -/* 718AA0 802A1250 2652A550 */ addiu $s2, $s2, %lo(gCollisionStatus) -/* 718AA4 802A1254 AFB10014 */ sw $s1, 0x14($sp) -/* 718AA8 802A1258 3C118011 */ lui $s1, %hi(gPlayerStatus) -/* 718AAC 802A125C 2631EFC8 */ addiu $s1, $s1, %lo(gPlayerStatus) -/* 718AB0 802A1260 AFBF001C */ sw $ra, 0x1c($sp) -/* 718AB4 802A1264 AFB00010 */ sw $s0, 0x10($sp) -/* 718AB8 802A1268 C4400188 */ lwc1 $f0, 0x188($v0) -/* 718ABC 802A126C 3C013FF0 */ lui $at, 0x3ff0 -/* 718AC0 802A1270 44811800 */ mtc1 $at, $f3 -/* 718AC4 802A1274 44801000 */ mtc1 $zero, $f2 -/* 718AC8 802A1278 46000021 */ cvt.d.s $f0, $f0 -/* 718ACC 802A127C 46220032 */ c.eq.d $f0, $f2 -/* 718AD0 802A1280 00000000 */ nop -/* 718AD4 802A1284 45000011 */ bc1f .L802A12CC -/* 718AD8 802A1288 24020002 */ addiu $v0, $zero, 2 -/* 718ADC 802A128C 8C9000AC */ lw $s0, 0xac($a0) -/* 718AE0 802A1290 0C04417A */ jal get_entity_by_index -/* 718AE4 802A1294 0200202D */ daddu $a0, $s0, $zero -/* 718AE8 802A1298 8E220000 */ lw $v0, ($s1) -/* 718AEC 802A129C 36104000 */ ori $s0, $s0, 0x4000 -/* 718AF0 802A12A0 A6500008 */ sh $s0, 8($s2) -/* 718AF4 802A12A4 34420002 */ ori $v0, $v0, 2 -/* 718AF8 802A12A8 0C043DB4 */ jal update_entities -/* 718AFC 802A12AC AE220000 */ sw $v0, ($s1) -/* 718B00 802A12B0 24020002 */ addiu $v0, $zero, 2 -/* 718B04 802A12B4 2403FFFF */ addiu $v1, $zero, -1 -/* 718B08 802A12B8 A6430008 */ sh $v1, 8($s2) -/* 718B0C 802A12BC 8E230000 */ lw $v1, ($s1) -/* 718B10 802A12C0 2404FFFD */ addiu $a0, $zero, -3 -/* 718B14 802A12C4 00641824 */ and $v1, $v1, $a0 -/* 718B18 802A12C8 AE230000 */ sw $v1, ($s1) -.L802A12CC: -/* 718B1C 802A12CC 8FBF001C */ lw $ra, 0x1c($sp) -/* 718B20 802A12D0 8FB20018 */ lw $s2, 0x18($sp) -/* 718B24 802A12D4 8FB10014 */ lw $s1, 0x14($sp) -/* 718B28 802A12D8 8FB00010 */ lw $s0, 0x10($sp) -/* 718B2C 802A12DC 03E00008 */ jr $ra -/* 718B30 802A12E0 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/ver/us/asm/nonmatchings/code_718850/func_802A12E4_718B34.s b/ver/us/asm/nonmatchings/code_718850/func_802A12E4_718B34.s deleted file mode 100644 index 5f25449342..0000000000 --- a/ver/us/asm/nonmatchings/code_718850/func_802A12E4_718B34.s +++ /dev/null @@ -1,17 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A12E4_718B34 -/* 718B34 802A12E4 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 718B38 802A12E8 AFBF0010 */ sw $ra, 0x10($sp) -/* 718B3C 802A12EC 0C04417A */ jal get_entity_by_index -/* 718B40 802A12F0 8C8400AC */ lw $a0, 0xac($a0) -/* 718B44 802A12F4 0040182D */ daddu $v1, $v0, $zero -/* 718B48 802A12F8 8C640000 */ lw $a0, ($v1) -/* 718B4C 802A12FC 3C052000 */ lui $a1, 0x2000 -/* 718B50 802A1300 00852025 */ or $a0, $a0, $a1 -/* 718B54 802A1304 AC640000 */ sw $a0, ($v1) -/* 718B58 802A1308 8FBF0010 */ lw $ra, 0x10($sp) -/* 718B5C 802A130C 24020002 */ addiu $v0, $zero, 2 -/* 718B60 802A1310 03E00008 */ jr $ra -/* 718B64 802A1314 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/ver/us/asm/nonmatchings/code_718850/func_802A1318_718B68.s b/ver/us/asm/nonmatchings/code_718850/func_802A1318_718B68.s deleted file mode 100644 index c62fde6344..0000000000 --- a/ver/us/asm/nonmatchings/code_718850/func_802A1318_718B68.s +++ /dev/null @@ -1,39 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A1318_718B68 -/* 718B68 802A1318 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 718B6C 802A131C AFBF0014 */ sw $ra, 0x14($sp) -/* 718B70 802A1320 AFB00010 */ sw $s0, 0x10($sp) -/* 718B74 802A1324 8C8400AC */ lw $a0, 0xac($a0) -/* 718B78 802A1328 3C10800E */ lui $s0, %hi(gBattleStatus+0xD8) -/* 718B7C 802A132C 8E10C148 */ lw $s0, %lo(gBattleStatus+0xD8)($s0) -/* 718B80 802A1330 0C04417A */ jal get_entity_by_index -/* 718B84 802A1334 00000000 */ nop -/* 718B88 802A1338 C6000188 */ lwc1 $f0, 0x188($s0) -/* 718B8C 802A133C E4400054 */ swc1 $f0, 0x54($v0) -/* 718B90 802A1340 C6000188 */ lwc1 $f0, 0x188($s0) -/* 718B94 802A1344 E4400058 */ swc1 $f0, 0x58($v0) -/* 718B98 802A1348 C6000188 */ lwc1 $f0, 0x188($s0) -/* 718B9C 802A134C E440005C */ swc1 $f0, 0x5c($v0) -/* 718BA0 802A1350 C6000188 */ lwc1 $f0, 0x188($s0) -/* 718BA4 802A1354 3C013FF0 */ lui $at, 0x3ff0 -/* 718BA8 802A1358 44811800 */ mtc1 $at, $f3 -/* 718BAC 802A135C 44801000 */ mtc1 $zero, $f2 -/* 718BB0 802A1360 46000021 */ cvt.d.s $f0, $f0 -/* 718BB4 802A1364 46220032 */ c.eq.d $f0, $f2 -/* 718BB8 802A1368 00000000 */ nop -/* 718BBC 802A136C 45010007 */ bc1t .L802A138C -/* 718BC0 802A1370 00000000 */ nop -/* 718BC4 802A1374 C440004C */ lwc1 $f0, 0x4c($v0) -/* 718BC8 802A1378 3C014120 */ lui $at, 0x4120 -/* 718BCC 802A137C 44811000 */ mtc1 $at, $f2 -/* 718BD0 802A1380 00000000 */ nop -/* 718BD4 802A1384 46020001 */ sub.s $f0, $f0, $f2 -/* 718BD8 802A1388 E440004C */ swc1 $f0, 0x4c($v0) -.L802A138C: -/* 718BDC 802A138C 8FBF0014 */ lw $ra, 0x14($sp) -/* 718BE0 802A1390 8FB00010 */ lw $s0, 0x10($sp) -/* 718BE4 802A1394 24020002 */ addiu $v0, $zero, 2 -/* 718BE8 802A1398 03E00008 */ jr $ra -/* 718BEC 802A139C 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/ver/us/asm/nonmatchings/code_71A7F0/func_802A1000_71A7F0.s b/ver/us/asm/nonmatchings/code_71A7F0/func_802A1000_71A7F0.s deleted file mode 100644 index 1687f8932c..0000000000 --- a/ver/us/asm/nonmatchings/code_71A7F0/func_802A1000_71A7F0.s +++ /dev/null @@ -1,125 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A1000_71A7F0 -/* 71A7F0 802A1000 27BDFF98 */ addiu $sp, $sp, -0x68 -/* 71A7F4 802A1004 AFB50044 */ sw $s5, 0x44($sp) -/* 71A7F8 802A1008 0080A82D */ daddu $s5, $a0, $zero -/* 71A7FC 802A100C AFB10034 */ sw $s1, 0x34($sp) -/* 71A800 802A1010 0000882D */ daddu $s1, $zero, $zero -/* 71A804 802A1014 2405001D */ addiu $a1, $zero, 0x1d -/* 71A808 802A1018 F7B40050 */ sdc1 $f20, 0x50($sp) -/* 71A80C 802A101C 4480A000 */ mtc1 $zero, $f20 -/* 71A810 802A1020 3C02800E */ lui $v0, %hi(gBattleStatus) -/* 71A814 802A1024 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus) -/* 71A818 802A1028 AFBF0048 */ sw $ra, 0x48($sp) -/* 71A81C 802A102C AFB40040 */ sw $s4, 0x40($sp) -/* 71A820 802A1030 AFB3003C */ sw $s3, 0x3c($sp) -/* 71A824 802A1034 AFB20038 */ sw $s2, 0x38($sp) -/* 71A828 802A1038 AFB00030 */ sw $s0, 0x30($sp) -/* 71A82C 802A103C F7B80060 */ sdc1 $f24, 0x60($sp) -/* 71A830 802A1040 F7B60058 */ sdc1 $f22, 0x58($sp) -/* 71A834 802A1044 8C5300D8 */ lw $s3, 0xd8($v0) -/* 71A838 802A1048 8442017A */ lh $v0, 0x17a($v0) -/* 71A83C 802A104C 0260202D */ daddu $a0, $s3, $zero -/* 71A840 802A1050 00021140 */ sll $v0, $v0, 5 -/* 71A844 802A1054 3C128008 */ lui $s2, %hi(gItemTable+0xC) -/* 71A848 802A1058 02429021 */ addu $s2, $s2, $v0 -/* 71A84C 802A105C 865278EC */ lh $s2, %lo(gItemTable+0xC)($s2) -/* 71A850 802A1060 92620191 */ lbu $v0, 0x191($s3) -/* 71A854 802A1064 C6620148 */ lwc1 $f2, 0x148($s3) -/* 71A858 802A1068 44820000 */ mtc1 $v0, $f0 -/* 71A85C 802A106C 00000000 */ nop -/* 71A860 802A1070 46800020 */ cvt.s.w $f0, $f0 -/* 71A864 802A1074 0C099CAB */ jal heroes_is_ability_active -/* 71A868 802A1078 46001580 */ add.s $f22, $f2, $f0 -/* 71A86C 802A107C 50400048 */ beql $v0, $zero, .L802A11A0 -/* 71A870 802A1080 AEB10084 */ sw $s1, 0x84($s5) -/* 71A874 802A1084 1A400045 */ blez $s2, .L802A119C -/* 71A878 802A1088 3C0451EB */ lui $a0, 0x51eb -/* 71A87C 802A108C 3484851F */ ori $a0, $a0, 0x851f -/* 71A880 802A1090 00121880 */ sll $v1, $s2, 2 -/* 71A884 802A1094 00721821 */ addu $v1, $v1, $s2 -/* 71A888 802A1098 00031100 */ sll $v0, $v1, 4 -/* 71A88C 802A109C 00431023 */ subu $v0, $v0, $v1 -/* 71A890 802A10A0 24420063 */ addiu $v0, $v0, 0x63 -/* 71A894 802A10A4 00440018 */ mult $v0, $a0 -/* 71A898 802A10A8 000217C3 */ sra $v0, $v0, 0x1f -/* 71A89C 802A10AC 00004010 */ mfhi $t0 -/* 71A8A0 802A10B0 00081943 */ sra $v1, $t0, 5 -/* 71A8A4 802A10B4 00629023 */ subu $s2, $v1, $v0 -/* 71A8A8 802A10B8 0232102A */ slt $v0, $s1, $s2 -/* 71A8AC 802A10BC 10400019 */ beqz $v0, .L802A1124 -/* 71A8B0 802A10C0 0220802D */ daddu $s0, $s1, $zero -/* 71A8B4 802A10C4 24140017 */ addiu $s4, $zero, 0x17 -/* 71A8B8 802A10C8 3C0141F0 */ lui $at, 0x41f0 -/* 71A8BC 802A10CC 4481C000 */ mtc1 $at, $f24 -/* 71A8C0 802A10D0 24110001 */ addiu $s1, $zero, 1 -.L802A10D4: -/* 71A8C4 802A10D4 C6600144 */ lwc1 $f0, 0x144($s3) -/* 71A8C8 802A10D8 C662014C */ lwc1 $f2, 0x14c($s3) -/* 71A8CC 802A10DC 4600A10D */ trunc.w.s $f4, $f20 -/* 71A8D0 802A10E0 E7A40018 */ swc1 $f4, 0x18($sp) -/* 71A8D4 802A10E4 24040157 */ addiu $a0, $zero, 0x157 -/* 71A8D8 802A10E8 AFB10014 */ sw $s1, 0x14($sp) -/* 71A8DC 802A10EC 26310003 */ addiu $s1, $s1, 3 -/* 71A8E0 802A10F0 26100001 */ addiu $s0, $s0, 1 -/* 71A8E4 802A10F4 4406B000 */ mfc1 $a2, $f22 -/* 71A8E8 802A10F8 44050000 */ mfc1 $a1, $f0 -/* 71A8EC 802A10FC 44071000 */ mfc1 $a3, $f2 -/* 71A8F0 802A1100 4618A500 */ add.s $f20, $f20, $f24 -/* 71A8F4 802A1104 AFB40010 */ sw $s4, 0x10($sp) -/* 71A8F8 802A1108 0C04C4FD */ jal make_item_entity -/* 71A8FC 802A110C AFA0001C */ sw $zero, 0x1c($sp) -/* 71A900 802A1110 0C03A830 */ jal add_coins -/* 71A904 802A1114 24040001 */ addiu $a0, $zero, 1 -/* 71A908 802A1118 0212102A */ slt $v0, $s0, $s2 -/* 71A90C 802A111C 1440FFED */ bnez $v0, .L802A10D4 -/* 71A910 802A1120 00000000 */ nop -.L802A1124: -/* 71A914 802A1124 00101040 */ sll $v0, $s0, 1 -/* 71A918 802A1128 00501021 */ addu $v0, $v0, $s0 -/* 71A91C 802A112C 2451001E */ addiu $s1, $v0, 0x1e -/* 71A920 802A1130 C6600144 */ lwc1 $f0, 0x144($s3) -/* 71A924 802A1134 C6760148 */ lwc1 $f22, 0x148($s3) -/* 71A928 802A1138 C662014C */ lwc1 $f2, 0x14c($s3) -/* 71A92C 802A113C 3C048007 */ lui $a0, %hi(gCurrentCameraID) -/* 71A930 802A1140 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0) -/* 71A934 802A1144 27A20020 */ addiu $v0, $sp, 0x20 -/* 71A938 802A1148 AFA20010 */ sw $v0, 0x10($sp) -/* 71A93C 802A114C 27A20024 */ addiu $v0, $sp, 0x24 -/* 71A940 802A1150 AFA20014 */ sw $v0, 0x14($sp) -/* 71A944 802A1154 44050000 */ mfc1 $a1, $f0 -/* 71A948 802A1158 4406B000 */ mfc1 $a2, $f22 -/* 71A94C 802A115C 44071000 */ mfc1 $a3, $f2 -/* 71A950 802A1160 27A20028 */ addiu $v0, $sp, 0x28 -/* 71A954 802A1164 0C00B94E */ jal get_screen_coords -/* 71A958 802A1168 AFA20018 */ sw $v0, 0x18($sp) -/* 71A95C 802A116C 3C048011 */ lui $a0, %hi(D_80108A64) -/* 71A960 802A1170 24848A64 */ addiu $a0, $a0, %lo(D_80108A64) -/* 71A964 802A1174 0C050529 */ jal create_icon -/* 71A968 802A1178 00000000 */ nop -/* 71A96C 802A117C 8FA50020 */ lw $a1, 0x20($sp) -/* 71A970 802A1180 8FA60024 */ lw $a2, 0x24($sp) -/* 71A974 802A1184 0040202D */ daddu $a0, $v0, $zero -/* 71A978 802A1188 3C01802A */ lui $at, %hi(D_802A19B0) -/* 71A97C 802A118C AC2419B0 */ sw $a0, %lo(D_802A19B0)($at) -/* 71A980 802A1190 24A50024 */ addiu $a1, $a1, 0x24 -/* 71A984 802A1194 0C051261 */ jal set_icon_render_pos -/* 71A988 802A1198 24C6FFC1 */ addiu $a2, $a2, -0x3f -.L802A119C: -/* 71A98C 802A119C AEB10084 */ sw $s1, 0x84($s5) -.L802A11A0: -/* 71A990 802A11A0 8FBF0048 */ lw $ra, 0x48($sp) -/* 71A994 802A11A4 8FB50044 */ lw $s5, 0x44($sp) -/* 71A998 802A11A8 8FB40040 */ lw $s4, 0x40($sp) -/* 71A99C 802A11AC 8FB3003C */ lw $s3, 0x3c($sp) -/* 71A9A0 802A11B0 8FB20038 */ lw $s2, 0x38($sp) -/* 71A9A4 802A11B4 8FB10034 */ lw $s1, 0x34($sp) -/* 71A9A8 802A11B8 8FB00030 */ lw $s0, 0x30($sp) -/* 71A9AC 802A11BC D7B80060 */ ldc1 $f24, 0x60($sp) -/* 71A9B0 802A11C0 D7B60058 */ ldc1 $f22, 0x58($sp) -/* 71A9B4 802A11C4 D7B40050 */ ldc1 $f20, 0x50($sp) -/* 71A9B8 802A11C8 24020002 */ addiu $v0, $zero, 2 -/* 71A9BC 802A11CC 03E00008 */ jr $ra -/* 71A9C0 802A11D0 27BD0068 */ addiu $sp, $sp, 0x68 diff --git a/ver/us/asm/nonmatchings/code_71A7F0/func_802A11D4_71A9C4.s b/ver/us/asm/nonmatchings/code_71A7F0/func_802A11D4_71A9C4.s deleted file mode 100644 index cdc7df50aa..0000000000 --- a/ver/us/asm/nonmatchings/code_71A7F0/func_802A11D4_71A9C4.s +++ /dev/null @@ -1,31 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A11D4_71A9C4 -/* 71A9C4 802A11D4 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 71A9C8 802A11D8 3C03800E */ lui $v1, %hi(gBattleStatus) -/* 71A9CC 802A11DC 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus) -/* 71A9D0 802A11E0 AFBF0014 */ sw $ra, 0x14($sp) -/* 71A9D4 802A11E4 AFB00010 */ sw $s0, 0x10($sp) -/* 71A9D8 802A11E8 8462017A */ lh $v0, 0x17a($v1) -/* 71A9DC 802A11EC 8C6400D8 */ lw $a0, 0xd8($v1) -/* 71A9E0 802A11F0 00021140 */ sll $v0, $v0, 5 -/* 71A9E4 802A11F4 3C108008 */ lui $s0, %hi(gItemTable+0xC) -/* 71A9E8 802A11F8 02028021 */ addu $s0, $s0, $v0 -/* 71A9EC 802A11FC 861078EC */ lh $s0, %lo(gItemTable+0xC)($s0) -/* 71A9F0 802A1200 0C099CAB */ jal heroes_is_ability_active -/* 71A9F4 802A1204 2405001D */ addiu $a1, $zero, 0x1d -/* 71A9F8 802A1208 10400007 */ beqz $v0, .L802A1228 -/* 71A9FC 802A120C 00000000 */ nop -/* 71AA00 802A1210 1A000005 */ blez $s0, .L802A1228 -/* 71AA04 802A1214 00000000 */ nop -/* 71AA08 802A1218 3C04802A */ lui $a0, %hi(D_802A19B0) -/* 71AA0C 802A121C 8C8419B0 */ lw $a0, %lo(D_802A19B0)($a0) -/* 71AA10 802A1220 0C05123D */ jal free_icon -/* 71AA14 802A1224 00000000 */ nop -.L802A1228: -/* 71AA18 802A1228 8FBF0014 */ lw $ra, 0x14($sp) -/* 71AA1C 802A122C 8FB00010 */ lw $s0, 0x10($sp) -/* 71AA20 802A1230 24020002 */ addiu $v0, $zero, 2 -/* 71AA24 802A1234 03E00008 */ jr $ra -/* 71AA28 802A1238 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/ver/us/asm/nonmatchings/code_71A7F0/func_802A123C_71AA2C.s b/ver/us/asm/nonmatchings/code_71A7F0/func_802A123C_71AA2C.s deleted file mode 100644 index 47bd62992b..0000000000 --- a/ver/us/asm/nonmatchings/code_71A7F0/func_802A123C_71AA2C.s +++ /dev/null @@ -1,21 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A123C_71AA2C -/* 71AA2C 802A123C 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 71AA30 802A1240 0080102D */ daddu $v0, $a0, $zero -/* 71AA34 802A1244 AFB00010 */ sw $s0, 0x10($sp) -/* 71AA38 802A1248 3C10800E */ lui $s0, %hi(gBattleStatus+0xD8) -/* 71AA3C 802A124C 8E10C148 */ lw $s0, %lo(gBattleStatus+0xD8)($s0) -/* 71AA40 802A1250 2405000B */ addiu $a1, $zero, 0xb -/* 71AA44 802A1254 AFBF0014 */ sw $ra, 0x14($sp) -/* 71AA48 802A1258 8C460084 */ lw $a2, 0x84($v0) -/* 71AA4C 802A125C 0C0997D0 */ jal inflict_status -/* 71AA50 802A1260 0200202D */ daddu $a0, $s0, $zero -/* 71AA54 802A1264 A200021C */ sb $zero, 0x21c($s0) -/* 71AA58 802A1268 8FBF0014 */ lw $ra, 0x14($sp) -/* 71AA5C 802A126C 8FB00010 */ lw $s0, 0x10($sp) -/* 71AA60 802A1270 24020002 */ addiu $v0, $zero, 2 -/* 71AA64 802A1274 03E00008 */ jr $ra -/* 71AA68 802A1278 27BD0018 */ addiu $sp, $sp, 0x18 -/* 71AA6C 802A127C 00000000 */ nop diff --git a/ver/us/asm/nonmatchings/code_71B1A0/func_802A1000_71B1A0.s b/ver/us/asm/nonmatchings/code_71B1A0/func_802A1000_71B1A0.s deleted file mode 100644 index adf3ec8b30..0000000000 --- a/ver/us/asm/nonmatchings/code_71B1A0/func_802A1000_71B1A0.s +++ /dev/null @@ -1,125 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A1000_71B1A0 -/* 71B1A0 802A1000 27BDFF98 */ addiu $sp, $sp, -0x68 -/* 71B1A4 802A1004 AFB50044 */ sw $s5, 0x44($sp) -/* 71B1A8 802A1008 0080A82D */ daddu $s5, $a0, $zero -/* 71B1AC 802A100C AFB10034 */ sw $s1, 0x34($sp) -/* 71B1B0 802A1010 0000882D */ daddu $s1, $zero, $zero -/* 71B1B4 802A1014 2405001D */ addiu $a1, $zero, 0x1d -/* 71B1B8 802A1018 F7B40050 */ sdc1 $f20, 0x50($sp) -/* 71B1BC 802A101C 4480A000 */ mtc1 $zero, $f20 -/* 71B1C0 802A1020 3C02800E */ lui $v0, %hi(gBattleStatus) -/* 71B1C4 802A1024 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus) -/* 71B1C8 802A1028 AFBF0048 */ sw $ra, 0x48($sp) -/* 71B1CC 802A102C AFB40040 */ sw $s4, 0x40($sp) -/* 71B1D0 802A1030 AFB3003C */ sw $s3, 0x3c($sp) -/* 71B1D4 802A1034 AFB20038 */ sw $s2, 0x38($sp) -/* 71B1D8 802A1038 AFB00030 */ sw $s0, 0x30($sp) -/* 71B1DC 802A103C F7B80060 */ sdc1 $f24, 0x60($sp) -/* 71B1E0 802A1040 F7B60058 */ sdc1 $f22, 0x58($sp) -/* 71B1E4 802A1044 8C5300D8 */ lw $s3, 0xd8($v0) -/* 71B1E8 802A1048 8442017A */ lh $v0, 0x17a($v0) -/* 71B1EC 802A104C 0260202D */ daddu $a0, $s3, $zero -/* 71B1F0 802A1050 00021140 */ sll $v0, $v0, 5 -/* 71B1F4 802A1054 3C128008 */ lui $s2, %hi(gItemTable+0xC) -/* 71B1F8 802A1058 02429021 */ addu $s2, $s2, $v0 -/* 71B1FC 802A105C 865278EC */ lh $s2, %lo(gItemTable+0xC)($s2) -/* 71B200 802A1060 92620191 */ lbu $v0, 0x191($s3) -/* 71B204 802A1064 C6620148 */ lwc1 $f2, 0x148($s3) -/* 71B208 802A1068 44820000 */ mtc1 $v0, $f0 -/* 71B20C 802A106C 00000000 */ nop -/* 71B210 802A1070 46800020 */ cvt.s.w $f0, $f0 -/* 71B214 802A1074 0C099CAB */ jal heroes_is_ability_active -/* 71B218 802A1078 46001580 */ add.s $f22, $f2, $f0 -/* 71B21C 802A107C 50400048 */ beql $v0, $zero, .L802A11A0 -/* 71B220 802A1080 AEB10084 */ sw $s1, 0x84($s5) -/* 71B224 802A1084 1A400045 */ blez $s2, .L802A119C -/* 71B228 802A1088 3C0451EB */ lui $a0, 0x51eb -/* 71B22C 802A108C 3484851F */ ori $a0, $a0, 0x851f -/* 71B230 802A1090 00121880 */ sll $v1, $s2, 2 -/* 71B234 802A1094 00721821 */ addu $v1, $v1, $s2 -/* 71B238 802A1098 00031100 */ sll $v0, $v1, 4 -/* 71B23C 802A109C 00431023 */ subu $v0, $v0, $v1 -/* 71B240 802A10A0 24420063 */ addiu $v0, $v0, 0x63 -/* 71B244 802A10A4 00440018 */ mult $v0, $a0 -/* 71B248 802A10A8 000217C3 */ sra $v0, $v0, 0x1f -/* 71B24C 802A10AC 00004010 */ mfhi $t0 -/* 71B250 802A10B0 00081943 */ sra $v1, $t0, 5 -/* 71B254 802A10B4 00629023 */ subu $s2, $v1, $v0 -/* 71B258 802A10B8 0232102A */ slt $v0, $s1, $s2 -/* 71B25C 802A10BC 10400019 */ beqz $v0, .L802A1124 -/* 71B260 802A10C0 0220802D */ daddu $s0, $s1, $zero -/* 71B264 802A10C4 24140017 */ addiu $s4, $zero, 0x17 -/* 71B268 802A10C8 3C0141F0 */ lui $at, 0x41f0 -/* 71B26C 802A10CC 4481C000 */ mtc1 $at, $f24 -/* 71B270 802A10D0 24110001 */ addiu $s1, $zero, 1 -.L802A10D4: -/* 71B274 802A10D4 C6600144 */ lwc1 $f0, 0x144($s3) -/* 71B278 802A10D8 C662014C */ lwc1 $f2, 0x14c($s3) -/* 71B27C 802A10DC 4600A10D */ trunc.w.s $f4, $f20 -/* 71B280 802A10E0 E7A40018 */ swc1 $f4, 0x18($sp) -/* 71B284 802A10E4 24040157 */ addiu $a0, $zero, 0x157 -/* 71B288 802A10E8 AFB10014 */ sw $s1, 0x14($sp) -/* 71B28C 802A10EC 26310003 */ addiu $s1, $s1, 3 -/* 71B290 802A10F0 26100001 */ addiu $s0, $s0, 1 -/* 71B294 802A10F4 4406B000 */ mfc1 $a2, $f22 -/* 71B298 802A10F8 44050000 */ mfc1 $a1, $f0 -/* 71B29C 802A10FC 44071000 */ mfc1 $a3, $f2 -/* 71B2A0 802A1100 4618A500 */ add.s $f20, $f20, $f24 -/* 71B2A4 802A1104 AFB40010 */ sw $s4, 0x10($sp) -/* 71B2A8 802A1108 0C04C4FD */ jal make_item_entity -/* 71B2AC 802A110C AFA0001C */ sw $zero, 0x1c($sp) -/* 71B2B0 802A1110 0C03A830 */ jal add_coins -/* 71B2B4 802A1114 24040001 */ addiu $a0, $zero, 1 -/* 71B2B8 802A1118 0212102A */ slt $v0, $s0, $s2 -/* 71B2BC 802A111C 1440FFED */ bnez $v0, .L802A10D4 -/* 71B2C0 802A1120 00000000 */ nop -.L802A1124: -/* 71B2C4 802A1124 00101040 */ sll $v0, $s0, 1 -/* 71B2C8 802A1128 00501021 */ addu $v0, $v0, $s0 -/* 71B2CC 802A112C 2451001E */ addiu $s1, $v0, 0x1e -/* 71B2D0 802A1130 C6600144 */ lwc1 $f0, 0x144($s3) -/* 71B2D4 802A1134 C6760148 */ lwc1 $f22, 0x148($s3) -/* 71B2D8 802A1138 C662014C */ lwc1 $f2, 0x14c($s3) -/* 71B2DC 802A113C 3C048007 */ lui $a0, %hi(gCurrentCameraID) -/* 71B2E0 802A1140 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0) -/* 71B2E4 802A1144 27A20020 */ addiu $v0, $sp, 0x20 -/* 71B2E8 802A1148 AFA20010 */ sw $v0, 0x10($sp) -/* 71B2EC 802A114C 27A20024 */ addiu $v0, $sp, 0x24 -/* 71B2F0 802A1150 AFA20014 */ sw $v0, 0x14($sp) -/* 71B2F4 802A1154 44050000 */ mfc1 $a1, $f0 -/* 71B2F8 802A1158 4406B000 */ mfc1 $a2, $f22 -/* 71B2FC 802A115C 44071000 */ mfc1 $a3, $f2 -/* 71B300 802A1160 27A20028 */ addiu $v0, $sp, 0x28 -/* 71B304 802A1164 0C00B94E */ jal get_screen_coords -/* 71B308 802A1168 AFA20018 */ sw $v0, 0x18($sp) -/* 71B30C 802A116C 3C048011 */ lui $a0, %hi(D_80108A64) -/* 71B310 802A1170 24848A64 */ addiu $a0, $a0, %lo(D_80108A64) -/* 71B314 802A1174 0C050529 */ jal create_icon -/* 71B318 802A1178 00000000 */ nop -/* 71B31C 802A117C 8FA50020 */ lw $a1, 0x20($sp) -/* 71B320 802A1180 8FA60024 */ lw $a2, 0x24($sp) -/* 71B324 802A1184 0040202D */ daddu $a0, $v0, $zero -/* 71B328 802A1188 3C01802A */ lui $at, %hi(D_802A1C90) -/* 71B32C 802A118C AC241C90 */ sw $a0, %lo(D_802A1C90)($at) -/* 71B330 802A1190 24A50024 */ addiu $a1, $a1, 0x24 -/* 71B334 802A1194 0C051261 */ jal set_icon_render_pos -/* 71B338 802A1198 24C6FFC1 */ addiu $a2, $a2, -0x3f -.L802A119C: -/* 71B33C 802A119C AEB10084 */ sw $s1, 0x84($s5) -.L802A11A0: -/* 71B340 802A11A0 8FBF0048 */ lw $ra, 0x48($sp) -/* 71B344 802A11A4 8FB50044 */ lw $s5, 0x44($sp) -/* 71B348 802A11A8 8FB40040 */ lw $s4, 0x40($sp) -/* 71B34C 802A11AC 8FB3003C */ lw $s3, 0x3c($sp) -/* 71B350 802A11B0 8FB20038 */ lw $s2, 0x38($sp) -/* 71B354 802A11B4 8FB10034 */ lw $s1, 0x34($sp) -/* 71B358 802A11B8 8FB00030 */ lw $s0, 0x30($sp) -/* 71B35C 802A11BC D7B80060 */ ldc1 $f24, 0x60($sp) -/* 71B360 802A11C0 D7B60058 */ ldc1 $f22, 0x58($sp) -/* 71B364 802A11C4 D7B40050 */ ldc1 $f20, 0x50($sp) -/* 71B368 802A11C8 24020002 */ addiu $v0, $zero, 2 -/* 71B36C 802A11CC 03E00008 */ jr $ra -/* 71B370 802A11D0 27BD0068 */ addiu $sp, $sp, 0x68 diff --git a/ver/us/asm/nonmatchings/code_71B1A0/func_802A11D4_71B374.s b/ver/us/asm/nonmatchings/code_71B1A0/func_802A11D4_71B374.s deleted file mode 100644 index c727cfebb3..0000000000 --- a/ver/us/asm/nonmatchings/code_71B1A0/func_802A11D4_71B374.s +++ /dev/null @@ -1,31 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A11D4_71B374 -/* 71B374 802A11D4 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 71B378 802A11D8 3C03800E */ lui $v1, %hi(gBattleStatus) -/* 71B37C 802A11DC 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus) -/* 71B380 802A11E0 AFBF0014 */ sw $ra, 0x14($sp) -/* 71B384 802A11E4 AFB00010 */ sw $s0, 0x10($sp) -/* 71B388 802A11E8 8462017A */ lh $v0, 0x17a($v1) -/* 71B38C 802A11EC 8C6400D8 */ lw $a0, 0xd8($v1) -/* 71B390 802A11F0 00021140 */ sll $v0, $v0, 5 -/* 71B394 802A11F4 3C108008 */ lui $s0, %hi(gItemTable+0xC) -/* 71B398 802A11F8 02028021 */ addu $s0, $s0, $v0 -/* 71B39C 802A11FC 861078EC */ lh $s0, %lo(gItemTable+0xC)($s0) -/* 71B3A0 802A1200 0C099CAB */ jal heroes_is_ability_active -/* 71B3A4 802A1204 2405001D */ addiu $a1, $zero, 0x1d -/* 71B3A8 802A1208 10400007 */ beqz $v0, .L802A1228 -/* 71B3AC 802A120C 00000000 */ nop -/* 71B3B0 802A1210 1A000005 */ blez $s0, .L802A1228 -/* 71B3B4 802A1214 00000000 */ nop -/* 71B3B8 802A1218 3C04802A */ lui $a0, %hi(D_802A1C90) -/* 71B3BC 802A121C 8C841C90 */ lw $a0, %lo(D_802A1C90)($a0) -/* 71B3C0 802A1220 0C05123D */ jal free_icon -/* 71B3C4 802A1224 00000000 */ nop -.L802A1228: -/* 71B3C8 802A1228 8FBF0014 */ lw $ra, 0x14($sp) -/* 71B3CC 802A122C 8FB00010 */ lw $s0, 0x10($sp) -/* 71B3D0 802A1230 24020002 */ addiu $v0, $zero, 2 -/* 71B3D4 802A1234 03E00008 */ jr $ra -/* 71B3D8 802A1238 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/ver/us/asm/nonmatchings/code_71B1A0/func_802A12D4_71B474.s b/ver/us/asm/nonmatchings/code_71B1A0/func_802A12D4_71B474.s deleted file mode 100644 index 2cbe5cb1c0..0000000000 --- a/ver/us/asm/nonmatchings/code_71B1A0/func_802A12D4_71B474.s +++ /dev/null @@ -1,39 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A12D4_71B474 -/* 71B474 802A12D4 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 71B478 802A12D8 AFB00010 */ sw $s0, 0x10($sp) -/* 71B47C 802A12DC 0080802D */ daddu $s0, $a0, $zero -/* 71B480 802A12E0 10A00003 */ beqz $a1, .L802A12F0 -/* 71B484 802A12E4 AFBF0014 */ sw $ra, 0x14($sp) -/* 71B488 802A12E8 24020014 */ addiu $v0, $zero, 0x14 -/* 71B48C 802A12EC AE020070 */ sw $v0, 0x70($s0) -.L802A12F0: -/* 71B490 802A12F0 0000202D */ daddu $a0, $zero, $zero -/* 71B494 802A12F4 0080282D */ daddu $a1, $a0, $zero -/* 71B498 802A12F8 8E020070 */ lw $v0, 0x70($s0) -/* 71B49C 802A12FC 0080302D */ daddu $a2, $a0, $zero -/* 71B4A0 802A1300 00023880 */ sll $a3, $v0, 2 -/* 71B4A4 802A1304 00E23821 */ addu $a3, $a3, $v0 -/* 71B4A8 802A1308 00073840 */ sll $a3, $a3, 1 -/* 71B4AC 802A130C 0C046F97 */ jal set_background_color_blend -/* 71B4B0 802A1310 30E700FE */ andi $a3, $a3, 0xfe -/* 71B4B4 802A1314 8E020070 */ lw $v0, 0x70($s0) -/* 71B4B8 802A1318 2442FFFF */ addiu $v0, $v0, -1 -/* 71B4BC 802A131C 10400003 */ beqz $v0, .L802A132C -/* 71B4C0 802A1320 AE020070 */ sw $v0, 0x70($s0) -/* 71B4C4 802A1324 080A84D1 */ j .L802A1344 -/* 71B4C8 802A1328 0000102D */ daddu $v0, $zero, $zero -.L802A132C: -/* 71B4CC 802A132C 0000202D */ daddu $a0, $zero, $zero -/* 71B4D0 802A1330 0080282D */ daddu $a1, $a0, $zero -/* 71B4D4 802A1334 0080302D */ daddu $a2, $a0, $zero -/* 71B4D8 802A1338 0C046F97 */ jal set_background_color_blend -/* 71B4DC 802A133C 0080382D */ daddu $a3, $a0, $zero -/* 71B4E0 802A1340 24020002 */ addiu $v0, $zero, 2 -.L802A1344: -/* 71B4E4 802A1344 8FBF0014 */ lw $ra, 0x14($sp) -/* 71B4E8 802A1348 8FB00010 */ lw $s0, 0x10($sp) -/* 71B4EC 802A134C 03E00008 */ jr $ra -/* 71B4F0 802A1350 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/ver/us/asm/nonmatchings/code_71B1A0/func_802A1354_71B4F4.s b/ver/us/asm/nonmatchings/code_71B1A0/func_802A1354_71B4F4.s deleted file mode 100644 index afc751fb0c..0000000000 --- a/ver/us/asm/nonmatchings/code_71B1A0/func_802A1354_71B4F4.s +++ /dev/null @@ -1,89 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A1354_71B4F4 -/* 71B4F4 802A1354 27BDFFC0 */ addiu $sp, $sp, -0x40 -/* 71B4F8 802A1358 AFBF0024 */ sw $ra, 0x24($sp) -/* 71B4FC 802A135C AFB20020 */ sw $s2, 0x20($sp) -/* 71B500 802A1360 AFB1001C */ sw $s1, 0x1c($sp) -/* 71B504 802A1364 AFB00018 */ sw $s0, 0x18($sp) -/* 71B508 802A1368 F7B80038 */ sdc1 $f24, 0x38($sp) -/* 71B50C 802A136C F7B60030 */ sdc1 $f22, 0x30($sp) -/* 71B510 802A1370 F7B40028 */ sdc1 $f20, 0x28($sp) -/* 71B514 802A1374 0C09A75B */ jal get_actor -/* 71B518 802A1378 8C840148 */ lw $a0, 0x148($a0) -/* 71B51C 802A137C 0C09A75B */ jal get_actor -/* 71B520 802A1380 84440428 */ lh $a0, 0x428($v0) -/* 71B524 802A1384 0040802D */ daddu $s0, $v0, $zero -/* 71B528 802A1388 1200003C */ beqz $s0, .L802A147C -/* 71B52C 802A138C 24020002 */ addiu $v0, $zero, 2 -/* 71B530 802A1390 0C05272D */ jal play_sound -/* 71B534 802A1394 24040366 */ addiu $a0, $zero, 0x366 -/* 71B538 802A1398 3C03CCCC */ lui $v1, 0xcccc -/* 71B53C 802A139C 3463CCCD */ ori $v1, $v1, 0xcccd -/* 71B540 802A13A0 92040191 */ lbu $a0, 0x191($s0) -/* 71B544 802A13A4 92020190 */ lbu $v0, 0x190($s0) -/* 71B548 802A13A8 00830019 */ multu $a0, $v1 -/* 71B54C 802A13AC C6000188 */ lwc1 $f0, 0x188($s0) -/* 71B550 802A13B0 00021882 */ srl $v1, $v0, 2 -/* 71B554 802A13B4 00431021 */ addu $v0, $v0, $v1 -/* 71B558 802A13B8 44823000 */ mtc1 $v0, $f6 -/* 71B55C 802A13BC 00000000 */ nop -/* 71B560 802A13C0 468031A0 */ cvt.s.w $f6, $f6 -/* 71B564 802A13C4 46003182 */ mul.s $f6, $f6, $f0 -/* 71B568 802A13C8 00000000 */ nop -/* 71B56C 802A13CC 2482FFFE */ addiu $v0, $a0, -2 -/* 71B570 802A13D0 44822000 */ mtc1 $v0, $f4 -/* 71B574 802A13D4 00000000 */ nop -/* 71B578 802A13D8 46802120 */ cvt.s.w $f4, $f4 -/* 71B57C 802A13DC 46002102 */ mul.s $f4, $f4, $f0 -/* 71B580 802A13E0 00000000 */ nop -/* 71B584 802A13E4 C6020148 */ lwc1 $f2, 0x148($s0) -/* 71B588 802A13E8 C6160144 */ lwc1 $f22, 0x144($s0) -/* 71B58C 802A13EC C618014C */ lwc1 $f24, 0x14c($s0) -/* 71B590 802A13F0 00004010 */ mfhi $t0 -/* 71B594 802A13F4 000810C2 */ srl $v0, $t0, 3 -/* 71B598 802A13F8 304200FF */ andi $v0, $v0, 0xff -/* 71B59C 802A13FC 44820000 */ mtc1 $v0, $f0 -/* 71B5A0 802A1400 00000000 */ nop -/* 71B5A4 802A1404 46800020 */ cvt.s.w $f0, $f0 -/* 71B5A8 802A1408 4600320D */ trunc.w.s $f8, $f6 -/* 71B5AC 802A140C 44114000 */ mfc1 $s1, $f8 -/* 71B5B0 802A1410 4600220D */ trunc.w.s $f8, $f4 -/* 71B5B4 802A1414 44124000 */ mfc1 $s2, $f8 -/* 71B5B8 802A1418 8E020000 */ lw $v0, ($s0) -/* 71B5BC 802A141C 30428000 */ andi $v0, $v0, 0x8000 -/* 71B5C0 802A1420 10400006 */ beqz $v0, .L802A143C -/* 71B5C4 802A1424 46001500 */ add.s $f20, $f2, $f0 -/* 71B5C8 802A1428 00041042 */ srl $v0, $a0, 1 -/* 71B5CC 802A142C 44820000 */ mtc1 $v0, $f0 -/* 71B5D0 802A1430 00000000 */ nop -/* 71B5D4 802A1434 46800020 */ cvt.s.w $f0, $f0 -/* 71B5D8 802A1438 4600A501 */ sub.s $f20, $f20, $f0 -.L802A143C: -/* 71B5DC 802A143C 0C00A67F */ jal rand_int -/* 71B5E0 802A1440 24040002 */ addiu $a0, $zero, 2 -/* 71B5E4 802A1444 24440003 */ addiu $a0, $v0, 3 -/* 71B5E8 802A1448 4405B000 */ mfc1 $a1, $f22 -/* 71B5EC 802A144C 4406A000 */ mfc1 $a2, $f20 -/* 71B5F0 802A1450 4407C000 */ mfc1 $a3, $f24 -/* 71B5F4 802A1454 44910000 */ mtc1 $s1, $f0 -/* 71B5F8 802A1458 00000000 */ nop -/* 71B5FC 802A145C 46800020 */ cvt.s.w $f0, $f0 -/* 71B600 802A1460 E7A00010 */ swc1 $f0, 0x10($sp) -/* 71B604 802A1464 44920000 */ mtc1 $s2, $f0 -/* 71B608 802A1468 00000000 */ nop -/* 71B60C 802A146C 46800020 */ cvt.s.w $f0, $f0 -/* 71B610 802A1470 0C01C334 */ jal func_80070CD0 -/* 71B614 802A1474 E7A00014 */ swc1 $f0, 0x14($sp) -/* 71B618 802A1478 24020002 */ addiu $v0, $zero, 2 -.L802A147C: -/* 71B61C 802A147C 8FBF0024 */ lw $ra, 0x24($sp) -/* 71B620 802A1480 8FB20020 */ lw $s2, 0x20($sp) -/* 71B624 802A1484 8FB1001C */ lw $s1, 0x1c($sp) -/* 71B628 802A1488 8FB00018 */ lw $s0, 0x18($sp) -/* 71B62C 802A148C D7B80038 */ ldc1 $f24, 0x38($sp) -/* 71B630 802A1490 D7B60030 */ ldc1 $f22, 0x30($sp) -/* 71B634 802A1494 D7B40028 */ ldc1 $f20, 0x28($sp) -/* 71B638 802A1498 03E00008 */ jr $ra -/* 71B63C 802A149C 27BD0040 */ addiu $sp, $sp, 0x40 diff --git a/ver/us/asm/nonmatchings/code_71BE30/func_802A1000_71BE30.s b/ver/us/asm/nonmatchings/code_71BE30/func_802A1000_71BE30.s deleted file mode 100644 index 0e6715e52e..0000000000 --- a/ver/us/asm/nonmatchings/code_71BE30/func_802A1000_71BE30.s +++ /dev/null @@ -1,125 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A1000_71BE30 -/* 71BE30 802A1000 27BDFF98 */ addiu $sp, $sp, -0x68 -/* 71BE34 802A1004 AFB50044 */ sw $s5, 0x44($sp) -/* 71BE38 802A1008 0080A82D */ daddu $s5, $a0, $zero -/* 71BE3C 802A100C AFB10034 */ sw $s1, 0x34($sp) -/* 71BE40 802A1010 0000882D */ daddu $s1, $zero, $zero -/* 71BE44 802A1014 2405001D */ addiu $a1, $zero, 0x1d -/* 71BE48 802A1018 F7B40050 */ sdc1 $f20, 0x50($sp) -/* 71BE4C 802A101C 4480A000 */ mtc1 $zero, $f20 -/* 71BE50 802A1020 3C02800E */ lui $v0, %hi(gBattleStatus) -/* 71BE54 802A1024 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus) -/* 71BE58 802A1028 AFBF0048 */ sw $ra, 0x48($sp) -/* 71BE5C 802A102C AFB40040 */ sw $s4, 0x40($sp) -/* 71BE60 802A1030 AFB3003C */ sw $s3, 0x3c($sp) -/* 71BE64 802A1034 AFB20038 */ sw $s2, 0x38($sp) -/* 71BE68 802A1038 AFB00030 */ sw $s0, 0x30($sp) -/* 71BE6C 802A103C F7B80060 */ sdc1 $f24, 0x60($sp) -/* 71BE70 802A1040 F7B60058 */ sdc1 $f22, 0x58($sp) -/* 71BE74 802A1044 8C5300D8 */ lw $s3, 0xd8($v0) -/* 71BE78 802A1048 8442017A */ lh $v0, 0x17a($v0) -/* 71BE7C 802A104C 0260202D */ daddu $a0, $s3, $zero -/* 71BE80 802A1050 00021140 */ sll $v0, $v0, 5 -/* 71BE84 802A1054 3C128008 */ lui $s2, %hi(gItemTable+0xC) -/* 71BE88 802A1058 02429021 */ addu $s2, $s2, $v0 -/* 71BE8C 802A105C 865278EC */ lh $s2, %lo(gItemTable+0xC)($s2) -/* 71BE90 802A1060 92620191 */ lbu $v0, 0x191($s3) -/* 71BE94 802A1064 C6620148 */ lwc1 $f2, 0x148($s3) -/* 71BE98 802A1068 44820000 */ mtc1 $v0, $f0 -/* 71BE9C 802A106C 00000000 */ nop -/* 71BEA0 802A1070 46800020 */ cvt.s.w $f0, $f0 -/* 71BEA4 802A1074 0C099CAB */ jal heroes_is_ability_active -/* 71BEA8 802A1078 46001580 */ add.s $f22, $f2, $f0 -/* 71BEAC 802A107C 50400048 */ beql $v0, $zero, .L802A11A0 -/* 71BEB0 802A1080 AEB10084 */ sw $s1, 0x84($s5) -/* 71BEB4 802A1084 1A400045 */ blez $s2, .L802A119C -/* 71BEB8 802A1088 3C0451EB */ lui $a0, 0x51eb -/* 71BEBC 802A108C 3484851F */ ori $a0, $a0, 0x851f -/* 71BEC0 802A1090 00121880 */ sll $v1, $s2, 2 -/* 71BEC4 802A1094 00721821 */ addu $v1, $v1, $s2 -/* 71BEC8 802A1098 00031100 */ sll $v0, $v1, 4 -/* 71BECC 802A109C 00431023 */ subu $v0, $v0, $v1 -/* 71BED0 802A10A0 24420063 */ addiu $v0, $v0, 0x63 -/* 71BED4 802A10A4 00440018 */ mult $v0, $a0 -/* 71BED8 802A10A8 000217C3 */ sra $v0, $v0, 0x1f -/* 71BEDC 802A10AC 00004010 */ mfhi $t0 -/* 71BEE0 802A10B0 00081943 */ sra $v1, $t0, 5 -/* 71BEE4 802A10B4 00629023 */ subu $s2, $v1, $v0 -/* 71BEE8 802A10B8 0232102A */ slt $v0, $s1, $s2 -/* 71BEEC 802A10BC 10400019 */ beqz $v0, .L802A1124 -/* 71BEF0 802A10C0 0220802D */ daddu $s0, $s1, $zero -/* 71BEF4 802A10C4 24140017 */ addiu $s4, $zero, 0x17 -/* 71BEF8 802A10C8 3C0141F0 */ lui $at, 0x41f0 -/* 71BEFC 802A10CC 4481C000 */ mtc1 $at, $f24 -/* 71BF00 802A10D0 24110001 */ addiu $s1, $zero, 1 -.L802A10D4: -/* 71BF04 802A10D4 C6600144 */ lwc1 $f0, 0x144($s3) -/* 71BF08 802A10D8 C662014C */ lwc1 $f2, 0x14c($s3) -/* 71BF0C 802A10DC 4600A10D */ trunc.w.s $f4, $f20 -/* 71BF10 802A10E0 E7A40018 */ swc1 $f4, 0x18($sp) -/* 71BF14 802A10E4 24040157 */ addiu $a0, $zero, 0x157 -/* 71BF18 802A10E8 AFB10014 */ sw $s1, 0x14($sp) -/* 71BF1C 802A10EC 26310003 */ addiu $s1, $s1, 3 -/* 71BF20 802A10F0 26100001 */ addiu $s0, $s0, 1 -/* 71BF24 802A10F4 4406B000 */ mfc1 $a2, $f22 -/* 71BF28 802A10F8 44050000 */ mfc1 $a1, $f0 -/* 71BF2C 802A10FC 44071000 */ mfc1 $a3, $f2 -/* 71BF30 802A1100 4618A500 */ add.s $f20, $f20, $f24 -/* 71BF34 802A1104 AFB40010 */ sw $s4, 0x10($sp) -/* 71BF38 802A1108 0C04C4FD */ jal make_item_entity -/* 71BF3C 802A110C AFA0001C */ sw $zero, 0x1c($sp) -/* 71BF40 802A1110 0C03A830 */ jal add_coins -/* 71BF44 802A1114 24040001 */ addiu $a0, $zero, 1 -/* 71BF48 802A1118 0212102A */ slt $v0, $s0, $s2 -/* 71BF4C 802A111C 1440FFED */ bnez $v0, .L802A10D4 -/* 71BF50 802A1120 00000000 */ nop -.L802A1124: -/* 71BF54 802A1124 00101040 */ sll $v0, $s0, 1 -/* 71BF58 802A1128 00501021 */ addu $v0, $v0, $s0 -/* 71BF5C 802A112C 2451001E */ addiu $s1, $v0, 0x1e -/* 71BF60 802A1130 C6600144 */ lwc1 $f0, 0x144($s3) -/* 71BF64 802A1134 C6760148 */ lwc1 $f22, 0x148($s3) -/* 71BF68 802A1138 C662014C */ lwc1 $f2, 0x14c($s3) -/* 71BF6C 802A113C 3C048007 */ lui $a0, %hi(gCurrentCameraID) -/* 71BF70 802A1140 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0) -/* 71BF74 802A1144 27A20020 */ addiu $v0, $sp, 0x20 -/* 71BF78 802A1148 AFA20010 */ sw $v0, 0x10($sp) -/* 71BF7C 802A114C 27A20024 */ addiu $v0, $sp, 0x24 -/* 71BF80 802A1150 AFA20014 */ sw $v0, 0x14($sp) -/* 71BF84 802A1154 44050000 */ mfc1 $a1, $f0 -/* 71BF88 802A1158 4406B000 */ mfc1 $a2, $f22 -/* 71BF8C 802A115C 44071000 */ mfc1 $a3, $f2 -/* 71BF90 802A1160 27A20028 */ addiu $v0, $sp, 0x28 -/* 71BF94 802A1164 0C00B94E */ jal get_screen_coords -/* 71BF98 802A1168 AFA20018 */ sw $v0, 0x18($sp) -/* 71BF9C 802A116C 3C048011 */ lui $a0, %hi(D_80108A64) -/* 71BFA0 802A1170 24848A64 */ addiu $a0, $a0, %lo(D_80108A64) -/* 71BFA4 802A1174 0C050529 */ jal create_icon -/* 71BFA8 802A1178 00000000 */ nop -/* 71BFAC 802A117C 8FA50020 */ lw $a1, 0x20($sp) -/* 71BFB0 802A1180 8FA60024 */ lw $a2, 0x24($sp) -/* 71BFB4 802A1184 0040202D */ daddu $a0, $v0, $zero -/* 71BFB8 802A1188 3C01802A */ lui $at, %hi(D_802A1EB0) -/* 71BFBC 802A118C AC241EB0 */ sw $a0, %lo(D_802A1EB0)($at) -/* 71BFC0 802A1190 24A50024 */ addiu $a1, $a1, 0x24 -/* 71BFC4 802A1194 0C051261 */ jal set_icon_render_pos -/* 71BFC8 802A1198 24C6FFC1 */ addiu $a2, $a2, -0x3f -.L802A119C: -/* 71BFCC 802A119C AEB10084 */ sw $s1, 0x84($s5) -.L802A11A0: -/* 71BFD0 802A11A0 8FBF0048 */ lw $ra, 0x48($sp) -/* 71BFD4 802A11A4 8FB50044 */ lw $s5, 0x44($sp) -/* 71BFD8 802A11A8 8FB40040 */ lw $s4, 0x40($sp) -/* 71BFDC 802A11AC 8FB3003C */ lw $s3, 0x3c($sp) -/* 71BFE0 802A11B0 8FB20038 */ lw $s2, 0x38($sp) -/* 71BFE4 802A11B4 8FB10034 */ lw $s1, 0x34($sp) -/* 71BFE8 802A11B8 8FB00030 */ lw $s0, 0x30($sp) -/* 71BFEC 802A11BC D7B80060 */ ldc1 $f24, 0x60($sp) -/* 71BFF0 802A11C0 D7B60058 */ ldc1 $f22, 0x58($sp) -/* 71BFF4 802A11C4 D7B40050 */ ldc1 $f20, 0x50($sp) -/* 71BFF8 802A11C8 24020002 */ addiu $v0, $zero, 2 -/* 71BFFC 802A11CC 03E00008 */ jr $ra -/* 71C000 802A11D0 27BD0068 */ addiu $sp, $sp, 0x68 diff --git a/ver/us/asm/nonmatchings/code_71BE30/func_802A11D4_71C004.s b/ver/us/asm/nonmatchings/code_71BE30/func_802A11D4_71C004.s deleted file mode 100644 index 8355227a8b..0000000000 --- a/ver/us/asm/nonmatchings/code_71BE30/func_802A11D4_71C004.s +++ /dev/null @@ -1,31 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A11D4_71C004 -/* 71C004 802A11D4 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 71C008 802A11D8 3C03800E */ lui $v1, %hi(gBattleStatus) -/* 71C00C 802A11DC 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus) -/* 71C010 802A11E0 AFBF0014 */ sw $ra, 0x14($sp) -/* 71C014 802A11E4 AFB00010 */ sw $s0, 0x10($sp) -/* 71C018 802A11E8 8462017A */ lh $v0, 0x17a($v1) -/* 71C01C 802A11EC 8C6400D8 */ lw $a0, 0xd8($v1) -/* 71C020 802A11F0 00021140 */ sll $v0, $v0, 5 -/* 71C024 802A11F4 3C108008 */ lui $s0, %hi(gItemTable+0xC) -/* 71C028 802A11F8 02028021 */ addu $s0, $s0, $v0 -/* 71C02C 802A11FC 861078EC */ lh $s0, %lo(gItemTable+0xC)($s0) -/* 71C030 802A1200 0C099CAB */ jal heroes_is_ability_active -/* 71C034 802A1204 2405001D */ addiu $a1, $zero, 0x1d -/* 71C038 802A1208 10400007 */ beqz $v0, .L802A1228 -/* 71C03C 802A120C 00000000 */ nop -/* 71C040 802A1210 1A000005 */ blez $s0, .L802A1228 -/* 71C044 802A1214 00000000 */ nop -/* 71C048 802A1218 3C04802A */ lui $a0, %hi(D_802A1EB0) -/* 71C04C 802A121C 8C841EB0 */ lw $a0, %lo(D_802A1EB0)($a0) -/* 71C050 802A1220 0C05123D */ jal free_icon -/* 71C054 802A1224 00000000 */ nop -.L802A1228: -/* 71C058 802A1228 8FBF0014 */ lw $ra, 0x14($sp) -/* 71C05C 802A122C 8FB00010 */ lw $s0, 0x10($sp) -/* 71C060 802A1230 24020002 */ addiu $v0, $zero, 2 -/* 71C064 802A1234 03E00008 */ jr $ra -/* 71C068 802A1238 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/ver/us/asm/nonmatchings/code_71BE30/func_802A123C_71C06C.s b/ver/us/asm/nonmatchings/code_71BE30/func_802A123C_71C06C.s deleted file mode 100644 index 1c3ccbdf7e..0000000000 --- a/ver/us/asm/nonmatchings/code_71BE30/func_802A123C_71C06C.s +++ /dev/null @@ -1,61 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A123C_71C06C -/* 71C06C 802A123C 27BDFFB8 */ addiu $sp, $sp, -0x48 -/* 71C070 802A1240 AFB1001C */ sw $s1, 0x1c($sp) -/* 71C074 802A1244 0080882D */ daddu $s1, $a0, $zero -/* 71C078 802A1248 AFBF0024 */ sw $ra, 0x24($sp) -/* 71C07C 802A124C AFB20020 */ sw $s2, 0x20($sp) -/* 71C080 802A1250 AFB00018 */ sw $s0, 0x18($sp) -/* 71C084 802A1254 F7BA0040 */ sdc1 $f26, 0x40($sp) -/* 71C088 802A1258 F7B80038 */ sdc1 $f24, 0x38($sp) -/* 71C08C 802A125C F7B60030 */ sdc1 $f22, 0x30($sp) -/* 71C090 802A1260 F7B40028 */ sdc1 $f20, 0x28($sp) -/* 71C094 802A1264 8E30000C */ lw $s0, 0xc($s1) -/* 71C098 802A1268 8E050000 */ lw $a1, ($s0) -/* 71C09C 802A126C 0C0B1EAF */ jal get_variable -/* 71C0A0 802A1270 26100004 */ addiu $s0, $s0, 4 -/* 71C0A4 802A1274 8E050000 */ lw $a1, ($s0) -/* 71C0A8 802A1278 26100004 */ addiu $s0, $s0, 4 -/* 71C0AC 802A127C 0220202D */ daddu $a0, $s1, $zero -/* 71C0B0 802A1280 0C0B1EAF */ jal get_variable -/* 71C0B4 802A1284 0040902D */ daddu $s2, $v0, $zero -/* 71C0B8 802A1288 0220202D */ daddu $a0, $s1, $zero -/* 71C0BC 802A128C 8E050000 */ lw $a1, ($s0) -/* 71C0C0 802A1290 0C0B1EAF */ jal get_variable -/* 71C0C4 802A1294 0040802D */ daddu $s0, $v0, $zero -/* 71C0C8 802A1298 4492D000 */ mtc1 $s2, $f26 -/* 71C0CC 802A129C 00000000 */ nop -/* 71C0D0 802A12A0 4680D6A0 */ cvt.s.w $f26, $f26 -/* 71C0D4 802A12A4 4490C000 */ mtc1 $s0, $f24 -/* 71C0D8 802A12A8 00000000 */ nop -/* 71C0DC 802A12AC 4680C620 */ cvt.s.w $f24, $f24 -/* 71C0E0 802A12B0 4482A000 */ mtc1 $v0, $f20 -/* 71C0E4 802A12B4 00000000 */ nop -/* 71C0E8 802A12B8 4680A520 */ cvt.s.w $f20, $f20 -/* 71C0EC 802A12BC 4405D000 */ mfc1 $a1, $f26 -/* 71C0F0 802A12C0 4406C000 */ mfc1 $a2, $f24 -/* 71C0F4 802A12C4 4407A000 */ mfc1 $a3, $f20 -/* 71C0F8 802A12C8 3C0141F0 */ lui $at, 0x41f0 -/* 71C0FC 802A12CC 4481B000 */ mtc1 $at, $f22 -/* 71C100 802A12D0 24040002 */ addiu $a0, $zero, 2 -/* 71C104 802A12D4 0C01BFBC */ jal func_8006FEF0 -/* 71C108 802A12D8 E7B60010 */ swc1 $f22, 0x10($sp) -/* 71C10C 802A12DC 4405D000 */ mfc1 $a1, $f26 -/* 71C110 802A12E0 4406C000 */ mfc1 $a2, $f24 -/* 71C114 802A12E4 4407A000 */ mfc1 $a3, $f20 -/* 71C118 802A12E8 24040002 */ addiu $a0, $zero, 2 -/* 71C11C 802A12EC 0C01BFBC */ jal func_8006FEF0 -/* 71C120 802A12F0 E7B60010 */ swc1 $f22, 0x10($sp) -/* 71C124 802A12F4 8FBF0024 */ lw $ra, 0x24($sp) -/* 71C128 802A12F8 8FB20020 */ lw $s2, 0x20($sp) -/* 71C12C 802A12FC 8FB1001C */ lw $s1, 0x1c($sp) -/* 71C130 802A1300 8FB00018 */ lw $s0, 0x18($sp) -/* 71C134 802A1304 D7BA0040 */ ldc1 $f26, 0x40($sp) -/* 71C138 802A1308 D7B80038 */ ldc1 $f24, 0x38($sp) -/* 71C13C 802A130C D7B60030 */ ldc1 $f22, 0x30($sp) -/* 71C140 802A1310 D7B40028 */ ldc1 $f20, 0x28($sp) -/* 71C144 802A1314 24020002 */ addiu $v0, $zero, 2 -/* 71C148 802A1318 03E00008 */ jr $ra -/* 71C14C 802A131C 27BD0048 */ addiu $sp, $sp, 0x48 diff --git a/ver/us/asm/nonmatchings/code_71BE30/func_802A13B8_71C1E8.s b/ver/us/asm/nonmatchings/code_71BE30/func_802A13B8_71C1E8.s deleted file mode 100644 index 8532910a58..0000000000 --- a/ver/us/asm/nonmatchings/code_71BE30/func_802A13B8_71C1E8.s +++ /dev/null @@ -1,41 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A13B8_71C1E8 -/* 71C1E8 802A13B8 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 71C1EC 802A13BC AFB00010 */ sw $s0, 0x10($sp) -/* 71C1F0 802A13C0 0080802D */ daddu $s0, $a0, $zero -/* 71C1F4 802A13C4 10A00003 */ beqz $a1, .L802A13D4 -/* 71C1F8 802A13C8 AFBF0014 */ sw $ra, 0x14($sp) -/* 71C1FC 802A13CC 24020014 */ addiu $v0, $zero, 0x14 -/* 71C200 802A13D0 AE020070 */ sw $v0, 0x70($s0) -.L802A13D4: -/* 71C204 802A13D4 0000202D */ daddu $a0, $zero, $zero -/* 71C208 802A13D8 0080282D */ daddu $a1, $a0, $zero -/* 71C20C 802A13DC 8E020070 */ lw $v0, 0x70($s0) -/* 71C210 802A13E0 0080302D */ daddu $a2, $a0, $zero -/* 71C214 802A13E4 00023880 */ sll $a3, $v0, 2 -/* 71C218 802A13E8 00E23821 */ addu $a3, $a3, $v0 -/* 71C21C 802A13EC 00073840 */ sll $a3, $a3, 1 -/* 71C220 802A13F0 0C046F97 */ jal set_background_color_blend -/* 71C224 802A13F4 30E700FE */ andi $a3, $a3, 0xfe -/* 71C228 802A13F8 8E020070 */ lw $v0, 0x70($s0) -/* 71C22C 802A13FC 2442FFFF */ addiu $v0, $v0, -1 -/* 71C230 802A1400 10400003 */ beqz $v0, .L802A1410 -/* 71C234 802A1404 AE020070 */ sw $v0, 0x70($s0) -/* 71C238 802A1408 080A850A */ j .L802A1428 -/* 71C23C 802A140C 0000102D */ daddu $v0, $zero, $zero -.L802A1410: -/* 71C240 802A1410 0000202D */ daddu $a0, $zero, $zero -/* 71C244 802A1414 0080282D */ daddu $a1, $a0, $zero -/* 71C248 802A1418 0080302D */ daddu $a2, $a0, $zero -/* 71C24C 802A141C 0C046F97 */ jal set_background_color_blend -/* 71C250 802A1420 0080382D */ daddu $a3, $a0, $zero -/* 71C254 802A1424 24020002 */ addiu $v0, $zero, 2 -.L802A1428: -/* 71C258 802A1428 8FBF0014 */ lw $ra, 0x14($sp) -/* 71C25C 802A142C 8FB00010 */ lw $s0, 0x10($sp) -/* 71C260 802A1430 03E00008 */ jr $ra -/* 71C264 802A1434 27BD0018 */ addiu $sp, $sp, 0x18 -/* 71C268 802A1438 00000000 */ nop -/* 71C26C 802A143C 00000000 */ nop diff --git a/ver/us/asm/nonmatchings/code_71CCE0/func_802A1000_71CCE0.s b/ver/us/asm/nonmatchings/code_71CCE0/func_802A1000_71CCE0.s deleted file mode 100644 index 0a1ba6689f..0000000000 --- a/ver/us/asm/nonmatchings/code_71CCE0/func_802A1000_71CCE0.s +++ /dev/null @@ -1,125 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A1000_71CCE0 -/* 71CCE0 802A1000 27BDFF98 */ addiu $sp, $sp, -0x68 -/* 71CCE4 802A1004 AFB50044 */ sw $s5, 0x44($sp) -/* 71CCE8 802A1008 0080A82D */ daddu $s5, $a0, $zero -/* 71CCEC 802A100C AFB10034 */ sw $s1, 0x34($sp) -/* 71CCF0 802A1010 0000882D */ daddu $s1, $zero, $zero -/* 71CCF4 802A1014 2405001D */ addiu $a1, $zero, 0x1d -/* 71CCF8 802A1018 F7B40050 */ sdc1 $f20, 0x50($sp) -/* 71CCFC 802A101C 4480A000 */ mtc1 $zero, $f20 -/* 71CD00 802A1020 3C02800E */ lui $v0, %hi(gBattleStatus) -/* 71CD04 802A1024 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus) -/* 71CD08 802A1028 AFBF0048 */ sw $ra, 0x48($sp) -/* 71CD0C 802A102C AFB40040 */ sw $s4, 0x40($sp) -/* 71CD10 802A1030 AFB3003C */ sw $s3, 0x3c($sp) -/* 71CD14 802A1034 AFB20038 */ sw $s2, 0x38($sp) -/* 71CD18 802A1038 AFB00030 */ sw $s0, 0x30($sp) -/* 71CD1C 802A103C F7B80060 */ sdc1 $f24, 0x60($sp) -/* 71CD20 802A1040 F7B60058 */ sdc1 $f22, 0x58($sp) -/* 71CD24 802A1044 8C5300D8 */ lw $s3, 0xd8($v0) -/* 71CD28 802A1048 8442017A */ lh $v0, 0x17a($v0) -/* 71CD2C 802A104C 0260202D */ daddu $a0, $s3, $zero -/* 71CD30 802A1050 00021140 */ sll $v0, $v0, 5 -/* 71CD34 802A1054 3C128008 */ lui $s2, %hi(gItemTable+0xC) -/* 71CD38 802A1058 02429021 */ addu $s2, $s2, $v0 -/* 71CD3C 802A105C 865278EC */ lh $s2, %lo(gItemTable+0xC)($s2) -/* 71CD40 802A1060 92620191 */ lbu $v0, 0x191($s3) -/* 71CD44 802A1064 C6620148 */ lwc1 $f2, 0x148($s3) -/* 71CD48 802A1068 44820000 */ mtc1 $v0, $f0 -/* 71CD4C 802A106C 00000000 */ nop -/* 71CD50 802A1070 46800020 */ cvt.s.w $f0, $f0 -/* 71CD54 802A1074 0C099CAB */ jal heroes_is_ability_active -/* 71CD58 802A1078 46001580 */ add.s $f22, $f2, $f0 -/* 71CD5C 802A107C 50400048 */ beql $v0, $zero, .L802A11A0 -/* 71CD60 802A1080 AEB10084 */ sw $s1, 0x84($s5) -/* 71CD64 802A1084 1A400045 */ blez $s2, .L802A119C -/* 71CD68 802A1088 3C0451EB */ lui $a0, 0x51eb -/* 71CD6C 802A108C 3484851F */ ori $a0, $a0, 0x851f -/* 71CD70 802A1090 00121880 */ sll $v1, $s2, 2 -/* 71CD74 802A1094 00721821 */ addu $v1, $v1, $s2 -/* 71CD78 802A1098 00031100 */ sll $v0, $v1, 4 -/* 71CD7C 802A109C 00431023 */ subu $v0, $v0, $v1 -/* 71CD80 802A10A0 24420063 */ addiu $v0, $v0, 0x63 -/* 71CD84 802A10A4 00440018 */ mult $v0, $a0 -/* 71CD88 802A10A8 000217C3 */ sra $v0, $v0, 0x1f -/* 71CD8C 802A10AC 00004010 */ mfhi $t0 -/* 71CD90 802A10B0 00081943 */ sra $v1, $t0, 5 -/* 71CD94 802A10B4 00629023 */ subu $s2, $v1, $v0 -/* 71CD98 802A10B8 0232102A */ slt $v0, $s1, $s2 -/* 71CD9C 802A10BC 10400019 */ beqz $v0, .L802A1124 -/* 71CDA0 802A10C0 0220802D */ daddu $s0, $s1, $zero -/* 71CDA4 802A10C4 24140017 */ addiu $s4, $zero, 0x17 -/* 71CDA8 802A10C8 3C0141F0 */ lui $at, 0x41f0 -/* 71CDAC 802A10CC 4481C000 */ mtc1 $at, $f24 -/* 71CDB0 802A10D0 24110001 */ addiu $s1, $zero, 1 -.L802A10D4: -/* 71CDB4 802A10D4 C6600144 */ lwc1 $f0, 0x144($s3) -/* 71CDB8 802A10D8 C662014C */ lwc1 $f2, 0x14c($s3) -/* 71CDBC 802A10DC 4600A10D */ trunc.w.s $f4, $f20 -/* 71CDC0 802A10E0 E7A40018 */ swc1 $f4, 0x18($sp) -/* 71CDC4 802A10E4 24040157 */ addiu $a0, $zero, 0x157 -/* 71CDC8 802A10E8 AFB10014 */ sw $s1, 0x14($sp) -/* 71CDCC 802A10EC 26310003 */ addiu $s1, $s1, 3 -/* 71CDD0 802A10F0 26100001 */ addiu $s0, $s0, 1 -/* 71CDD4 802A10F4 4406B000 */ mfc1 $a2, $f22 -/* 71CDD8 802A10F8 44050000 */ mfc1 $a1, $f0 -/* 71CDDC 802A10FC 44071000 */ mfc1 $a3, $f2 -/* 71CDE0 802A1100 4618A500 */ add.s $f20, $f20, $f24 -/* 71CDE4 802A1104 AFB40010 */ sw $s4, 0x10($sp) -/* 71CDE8 802A1108 0C04C4FD */ jal make_item_entity -/* 71CDEC 802A110C AFA0001C */ sw $zero, 0x1c($sp) -/* 71CDF0 802A1110 0C03A830 */ jal add_coins -/* 71CDF4 802A1114 24040001 */ addiu $a0, $zero, 1 -/* 71CDF8 802A1118 0212102A */ slt $v0, $s0, $s2 -/* 71CDFC 802A111C 1440FFED */ bnez $v0, .L802A10D4 -/* 71CE00 802A1120 00000000 */ nop -.L802A1124: -/* 71CE04 802A1124 00101040 */ sll $v0, $s0, 1 -/* 71CE08 802A1128 00501021 */ addu $v0, $v0, $s0 -/* 71CE0C 802A112C 2451001E */ addiu $s1, $v0, 0x1e -/* 71CE10 802A1130 C6600144 */ lwc1 $f0, 0x144($s3) -/* 71CE14 802A1134 C6760148 */ lwc1 $f22, 0x148($s3) -/* 71CE18 802A1138 C662014C */ lwc1 $f2, 0x14c($s3) -/* 71CE1C 802A113C 3C048007 */ lui $a0, %hi(gCurrentCameraID) -/* 71CE20 802A1140 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0) -/* 71CE24 802A1144 27A20020 */ addiu $v0, $sp, 0x20 -/* 71CE28 802A1148 AFA20010 */ sw $v0, 0x10($sp) -/* 71CE2C 802A114C 27A20024 */ addiu $v0, $sp, 0x24 -/* 71CE30 802A1150 AFA20014 */ sw $v0, 0x14($sp) -/* 71CE34 802A1154 44050000 */ mfc1 $a1, $f0 -/* 71CE38 802A1158 4406B000 */ mfc1 $a2, $f22 -/* 71CE3C 802A115C 44071000 */ mfc1 $a3, $f2 -/* 71CE40 802A1160 27A20028 */ addiu $v0, $sp, 0x28 -/* 71CE44 802A1164 0C00B94E */ jal get_screen_coords -/* 71CE48 802A1168 AFA20018 */ sw $v0, 0x18($sp) -/* 71CE4C 802A116C 3C048011 */ lui $a0, %hi(D_80108A64) -/* 71CE50 802A1170 24848A64 */ addiu $a0, $a0, %lo(D_80108A64) -/* 71CE54 802A1174 0C050529 */ jal create_icon -/* 71CE58 802A1178 00000000 */ nop -/* 71CE5C 802A117C 8FA50020 */ lw $a1, 0x20($sp) -/* 71CE60 802A1180 8FA60024 */ lw $a2, 0x24($sp) -/* 71CE64 802A1184 0040202D */ daddu $a0, $v0, $zero -/* 71CE68 802A1188 3C01802A */ lui $at, %hi(D_802A1A90) -/* 71CE6C 802A118C AC241A90 */ sw $a0, %lo(D_802A1A90)($at) -/* 71CE70 802A1190 24A50024 */ addiu $a1, $a1, 0x24 -/* 71CE74 802A1194 0C051261 */ jal set_icon_render_pos -/* 71CE78 802A1198 24C6FFC1 */ addiu $a2, $a2, -0x3f -.L802A119C: -/* 71CE7C 802A119C AEB10084 */ sw $s1, 0x84($s5) -.L802A11A0: -/* 71CE80 802A11A0 8FBF0048 */ lw $ra, 0x48($sp) -/* 71CE84 802A11A4 8FB50044 */ lw $s5, 0x44($sp) -/* 71CE88 802A11A8 8FB40040 */ lw $s4, 0x40($sp) -/* 71CE8C 802A11AC 8FB3003C */ lw $s3, 0x3c($sp) -/* 71CE90 802A11B0 8FB20038 */ lw $s2, 0x38($sp) -/* 71CE94 802A11B4 8FB10034 */ lw $s1, 0x34($sp) -/* 71CE98 802A11B8 8FB00030 */ lw $s0, 0x30($sp) -/* 71CE9C 802A11BC D7B80060 */ ldc1 $f24, 0x60($sp) -/* 71CEA0 802A11C0 D7B60058 */ ldc1 $f22, 0x58($sp) -/* 71CEA4 802A11C4 D7B40050 */ ldc1 $f20, 0x50($sp) -/* 71CEA8 802A11C8 24020002 */ addiu $v0, $zero, 2 -/* 71CEAC 802A11CC 03E00008 */ jr $ra -/* 71CEB0 802A11D0 27BD0068 */ addiu $sp, $sp, 0x68 diff --git a/ver/us/asm/nonmatchings/code_71CCE0/func_802A11D4_71CEB4.s b/ver/us/asm/nonmatchings/code_71CCE0/func_802A11D4_71CEB4.s deleted file mode 100644 index 7f16cf5e65..0000000000 --- a/ver/us/asm/nonmatchings/code_71CCE0/func_802A11D4_71CEB4.s +++ /dev/null @@ -1,31 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A11D4_71CEB4 -/* 71CEB4 802A11D4 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 71CEB8 802A11D8 3C03800E */ lui $v1, %hi(gBattleStatus) -/* 71CEBC 802A11DC 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus) -/* 71CEC0 802A11E0 AFBF0014 */ sw $ra, 0x14($sp) -/* 71CEC4 802A11E4 AFB00010 */ sw $s0, 0x10($sp) -/* 71CEC8 802A11E8 8462017A */ lh $v0, 0x17a($v1) -/* 71CECC 802A11EC 8C6400D8 */ lw $a0, 0xd8($v1) -/* 71CED0 802A11F0 00021140 */ sll $v0, $v0, 5 -/* 71CED4 802A11F4 3C108008 */ lui $s0, %hi(gItemTable+0xC) -/* 71CED8 802A11F8 02028021 */ addu $s0, $s0, $v0 -/* 71CEDC 802A11FC 861078EC */ lh $s0, %lo(gItemTable+0xC)($s0) -/* 71CEE0 802A1200 0C099CAB */ jal heroes_is_ability_active -/* 71CEE4 802A1204 2405001D */ addiu $a1, $zero, 0x1d -/* 71CEE8 802A1208 10400007 */ beqz $v0, .L802A1228 -/* 71CEEC 802A120C 00000000 */ nop -/* 71CEF0 802A1210 1A000005 */ blez $s0, .L802A1228 -/* 71CEF4 802A1214 00000000 */ nop -/* 71CEF8 802A1218 3C04802A */ lui $a0, %hi(D_802A1A90) -/* 71CEFC 802A121C 8C841A90 */ lw $a0, %lo(D_802A1A90)($a0) -/* 71CF00 802A1220 0C05123D */ jal free_icon -/* 71CF04 802A1224 00000000 */ nop -.L802A1228: -/* 71CF08 802A1228 8FBF0014 */ lw $ra, 0x14($sp) -/* 71CF0C 802A122C 8FB00010 */ lw $s0, 0x10($sp) -/* 71CF10 802A1230 24020002 */ addiu $v0, $zero, 2 -/* 71CF14 802A1234 03E00008 */ jr $ra -/* 71CF18 802A1238 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/ver/us/asm/nonmatchings/code_71CCE0/func_802A123C_71CF1C.s b/ver/us/asm/nonmatchings/code_71CCE0/func_802A123C_71CF1C.s deleted file mode 100644 index 720ca1c208..0000000000 --- a/ver/us/asm/nonmatchings/code_71CCE0/func_802A123C_71CF1C.s +++ /dev/null @@ -1,52 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A123C_71CF1C -/* 71CF1C 802A123C 27BDFFD0 */ addiu $sp, $sp, -0x30 -/* 71CF20 802A1240 AFB1001C */ sw $s1, 0x1c($sp) -/* 71CF24 802A1244 0080882D */ daddu $s1, $a0, $zero -/* 71CF28 802A1248 AFBF0028 */ sw $ra, 0x28($sp) -/* 71CF2C 802A124C AFB30024 */ sw $s3, 0x24($sp) -/* 71CF30 802A1250 AFB20020 */ sw $s2, 0x20($sp) -/* 71CF34 802A1254 AFB00018 */ sw $s0, 0x18($sp) -/* 71CF38 802A1258 8E30000C */ lw $s0, 0xc($s1) -/* 71CF3C 802A125C 8E050000 */ lw $a1, ($s0) -/* 71CF40 802A1260 0C0B1EAF */ jal get_variable -/* 71CF44 802A1264 26100004 */ addiu $s0, $s0, 4 -/* 71CF48 802A1268 8E050000 */ lw $a1, ($s0) -/* 71CF4C 802A126C 26100004 */ addiu $s0, $s0, 4 -/* 71CF50 802A1270 0220202D */ daddu $a0, $s1, $zero -/* 71CF54 802A1274 0C0B1EAF */ jal get_variable -/* 71CF58 802A1278 0040982D */ daddu $s3, $v0, $zero -/* 71CF5C 802A127C 8E050000 */ lw $a1, ($s0) -/* 71CF60 802A1280 26100004 */ addiu $s0, $s0, 4 -/* 71CF64 802A1284 0220202D */ daddu $a0, $s1, $zero -/* 71CF68 802A1288 0C0B1EAF */ jal get_variable -/* 71CF6C 802A128C 0040902D */ daddu $s2, $v0, $zero -/* 71CF70 802A1290 0220202D */ daddu $a0, $s1, $zero -/* 71CF74 802A1294 8E050000 */ lw $a1, ($s0) -/* 71CF78 802A1298 0C0B1EAF */ jal get_variable -/* 71CF7C 802A129C 0040802D */ daddu $s0, $v0, $zero -/* 71CF80 802A12A0 44930000 */ mtc1 $s3, $f0 -/* 71CF84 802A12A4 00000000 */ nop -/* 71CF88 802A12A8 46800020 */ cvt.s.w $f0, $f0 -/* 71CF8C 802A12AC 44050000 */ mfc1 $a1, $f0 -/* 71CF90 802A12B0 44920000 */ mtc1 $s2, $f0 -/* 71CF94 802A12B4 00000000 */ nop -/* 71CF98 802A12B8 46800020 */ cvt.s.w $f0, $f0 -/* 71CF9C 802A12BC 44060000 */ mfc1 $a2, $f0 -/* 71CFA0 802A12C0 44900000 */ mtc1 $s0, $f0 -/* 71CFA4 802A12C4 00000000 */ nop -/* 71CFA8 802A12C8 46800020 */ cvt.s.w $f0, $f0 -/* 71CFAC 802A12CC 44070000 */ mfc1 $a3, $f0 -/* 71CFB0 802A12D0 0000202D */ daddu $a0, $zero, $zero -/* 71CFB4 802A12D4 0C01C424 */ jal func_80071090 -/* 71CFB8 802A12D8 AFA20010 */ sw $v0, 0x10($sp) -/* 71CFBC 802A12DC 8FBF0028 */ lw $ra, 0x28($sp) -/* 71CFC0 802A12E0 8FB30024 */ lw $s3, 0x24($sp) -/* 71CFC4 802A12E4 8FB20020 */ lw $s2, 0x20($sp) -/* 71CFC8 802A12E8 8FB1001C */ lw $s1, 0x1c($sp) -/* 71CFCC 802A12EC 8FB00018 */ lw $s0, 0x18($sp) -/* 71CFD0 802A12F0 24020002 */ addiu $v0, $zero, 2 -/* 71CFD4 802A12F4 03E00008 */ jr $ra -/* 71CFD8 802A12F8 27BD0030 */ addiu $sp, $sp, 0x30 diff --git a/ver/us/asm/nonmatchings/code_71CCE0/func_802A12FC_71CFDC.s b/ver/us/asm/nonmatchings/code_71CCE0/func_802A12FC_71CFDC.s deleted file mode 100644 index 7312db9139..0000000000 --- a/ver/us/asm/nonmatchings/code_71CCE0/func_802A12FC_71CFDC.s +++ /dev/null @@ -1,18 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A12FC_71CFDC -/* 71CFDC 802A12FC 3C048011 */ lui $a0, %hi(gPlayerData) -/* 71CFE0 802A1300 2484F290 */ addiu $a0, $a0, %lo(gPlayerData) -/* 71CFE4 802A1304 90820002 */ lbu $v0, 2($a0) -/* 71CFE8 802A1308 80830003 */ lb $v1, 3($a0) -/* 71CFEC 802A130C 24420001 */ addiu $v0, $v0, 1 -/* 71CFF0 802A1310 A0820002 */ sb $v0, 2($a0) -/* 71CFF4 802A1314 00021600 */ sll $v0, $v0, 0x18 -/* 71CFF8 802A1318 00021603 */ sra $v0, $v0, 0x18 -/* 71CFFC 802A131C 0062182A */ slt $v1, $v1, $v0 -/* 71D000 802A1320 90820003 */ lbu $v0, 3($a0) -/* 71D004 802A1324 54600001 */ bnel $v1, $zero, .L802A132C -/* 71D008 802A1328 A0820002 */ sb $v0, 2($a0) -.L802A132C: -/* 71D00C 802A132C 03E00008 */ jr $ra diff --git a/ver/us/asm/nonmatchings/code_71E650/func_802A1000_71E650.s b/ver/us/asm/nonmatchings/code_71E650/func_802A1000_71E650.s deleted file mode 100644 index 6bd0f1b8a3..0000000000 --- a/ver/us/asm/nonmatchings/code_71E650/func_802A1000_71E650.s +++ /dev/null @@ -1,125 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A1000_71E650 -/* 71E650 802A1000 27BDFF98 */ addiu $sp, $sp, -0x68 -/* 71E654 802A1004 AFB50044 */ sw $s5, 0x44($sp) -/* 71E658 802A1008 0080A82D */ daddu $s5, $a0, $zero -/* 71E65C 802A100C AFB10034 */ sw $s1, 0x34($sp) -/* 71E660 802A1010 0000882D */ daddu $s1, $zero, $zero -/* 71E664 802A1014 2405001D */ addiu $a1, $zero, 0x1d -/* 71E668 802A1018 F7B40050 */ sdc1 $f20, 0x50($sp) -/* 71E66C 802A101C 4480A000 */ mtc1 $zero, $f20 -/* 71E670 802A1020 3C02800E */ lui $v0, %hi(gBattleStatus) -/* 71E674 802A1024 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus) -/* 71E678 802A1028 AFBF0048 */ sw $ra, 0x48($sp) -/* 71E67C 802A102C AFB40040 */ sw $s4, 0x40($sp) -/* 71E680 802A1030 AFB3003C */ sw $s3, 0x3c($sp) -/* 71E684 802A1034 AFB20038 */ sw $s2, 0x38($sp) -/* 71E688 802A1038 AFB00030 */ sw $s0, 0x30($sp) -/* 71E68C 802A103C F7B80060 */ sdc1 $f24, 0x60($sp) -/* 71E690 802A1040 F7B60058 */ sdc1 $f22, 0x58($sp) -/* 71E694 802A1044 8C5300D8 */ lw $s3, 0xd8($v0) -/* 71E698 802A1048 8442017A */ lh $v0, 0x17a($v0) -/* 71E69C 802A104C 0260202D */ daddu $a0, $s3, $zero -/* 71E6A0 802A1050 00021140 */ sll $v0, $v0, 5 -/* 71E6A4 802A1054 3C128008 */ lui $s2, %hi(gItemTable+0xC) -/* 71E6A8 802A1058 02429021 */ addu $s2, $s2, $v0 -/* 71E6AC 802A105C 865278EC */ lh $s2, %lo(gItemTable+0xC)($s2) -/* 71E6B0 802A1060 92620191 */ lbu $v0, 0x191($s3) -/* 71E6B4 802A1064 C6620148 */ lwc1 $f2, 0x148($s3) -/* 71E6B8 802A1068 44820000 */ mtc1 $v0, $f0 -/* 71E6BC 802A106C 00000000 */ nop -/* 71E6C0 802A1070 46800020 */ cvt.s.w $f0, $f0 -/* 71E6C4 802A1074 0C099CAB */ jal heroes_is_ability_active -/* 71E6C8 802A1078 46001580 */ add.s $f22, $f2, $f0 -/* 71E6CC 802A107C 50400048 */ beql $v0, $zero, .L802A11A0 -/* 71E6D0 802A1080 AEB10084 */ sw $s1, 0x84($s5) -/* 71E6D4 802A1084 1A400045 */ blez $s2, .L802A119C -/* 71E6D8 802A1088 3C0451EB */ lui $a0, 0x51eb -/* 71E6DC 802A108C 3484851F */ ori $a0, $a0, 0x851f -/* 71E6E0 802A1090 00121880 */ sll $v1, $s2, 2 -/* 71E6E4 802A1094 00721821 */ addu $v1, $v1, $s2 -/* 71E6E8 802A1098 00031100 */ sll $v0, $v1, 4 -/* 71E6EC 802A109C 00431023 */ subu $v0, $v0, $v1 -/* 71E6F0 802A10A0 24420063 */ addiu $v0, $v0, 0x63 -/* 71E6F4 802A10A4 00440018 */ mult $v0, $a0 -/* 71E6F8 802A10A8 000217C3 */ sra $v0, $v0, 0x1f -/* 71E6FC 802A10AC 00004010 */ mfhi $t0 -/* 71E700 802A10B0 00081943 */ sra $v1, $t0, 5 -/* 71E704 802A10B4 00629023 */ subu $s2, $v1, $v0 -/* 71E708 802A10B8 0232102A */ slt $v0, $s1, $s2 -/* 71E70C 802A10BC 10400019 */ beqz $v0, .L802A1124 -/* 71E710 802A10C0 0220802D */ daddu $s0, $s1, $zero -/* 71E714 802A10C4 24140017 */ addiu $s4, $zero, 0x17 -/* 71E718 802A10C8 3C0141F0 */ lui $at, 0x41f0 -/* 71E71C 802A10CC 4481C000 */ mtc1 $at, $f24 -/* 71E720 802A10D0 24110001 */ addiu $s1, $zero, 1 -.L802A10D4: -/* 71E724 802A10D4 C6600144 */ lwc1 $f0, 0x144($s3) -/* 71E728 802A10D8 C662014C */ lwc1 $f2, 0x14c($s3) -/* 71E72C 802A10DC 4600A10D */ trunc.w.s $f4, $f20 -/* 71E730 802A10E0 E7A40018 */ swc1 $f4, 0x18($sp) -/* 71E734 802A10E4 24040157 */ addiu $a0, $zero, 0x157 -/* 71E738 802A10E8 AFB10014 */ sw $s1, 0x14($sp) -/* 71E73C 802A10EC 26310003 */ addiu $s1, $s1, 3 -/* 71E740 802A10F0 26100001 */ addiu $s0, $s0, 1 -/* 71E744 802A10F4 4406B000 */ mfc1 $a2, $f22 -/* 71E748 802A10F8 44050000 */ mfc1 $a1, $f0 -/* 71E74C 802A10FC 44071000 */ mfc1 $a3, $f2 -/* 71E750 802A1100 4618A500 */ add.s $f20, $f20, $f24 -/* 71E754 802A1104 AFB40010 */ sw $s4, 0x10($sp) -/* 71E758 802A1108 0C04C4FD */ jal make_item_entity -/* 71E75C 802A110C AFA0001C */ sw $zero, 0x1c($sp) -/* 71E760 802A1110 0C03A830 */ jal add_coins -/* 71E764 802A1114 24040001 */ addiu $a0, $zero, 1 -/* 71E768 802A1118 0212102A */ slt $v0, $s0, $s2 -/* 71E76C 802A111C 1440FFED */ bnez $v0, .L802A10D4 -/* 71E770 802A1120 00000000 */ nop -.L802A1124: -/* 71E774 802A1124 00101040 */ sll $v0, $s0, 1 -/* 71E778 802A1128 00501021 */ addu $v0, $v0, $s0 -/* 71E77C 802A112C 2451001E */ addiu $s1, $v0, 0x1e -/* 71E780 802A1130 C6600144 */ lwc1 $f0, 0x144($s3) -/* 71E784 802A1134 C6760148 */ lwc1 $f22, 0x148($s3) -/* 71E788 802A1138 C662014C */ lwc1 $f2, 0x14c($s3) -/* 71E78C 802A113C 3C048007 */ lui $a0, %hi(gCurrentCameraID) -/* 71E790 802A1140 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0) -/* 71E794 802A1144 27A20020 */ addiu $v0, $sp, 0x20 -/* 71E798 802A1148 AFA20010 */ sw $v0, 0x10($sp) -/* 71E79C 802A114C 27A20024 */ addiu $v0, $sp, 0x24 -/* 71E7A0 802A1150 AFA20014 */ sw $v0, 0x14($sp) -/* 71E7A4 802A1154 44050000 */ mfc1 $a1, $f0 -/* 71E7A8 802A1158 4406B000 */ mfc1 $a2, $f22 -/* 71E7AC 802A115C 44071000 */ mfc1 $a3, $f2 -/* 71E7B0 802A1160 27A20028 */ addiu $v0, $sp, 0x28 -/* 71E7B4 802A1164 0C00B94E */ jal get_screen_coords -/* 71E7B8 802A1168 AFA20018 */ sw $v0, 0x18($sp) -/* 71E7BC 802A116C 3C048011 */ lui $a0, %hi(D_80108A64) -/* 71E7C0 802A1170 24848A64 */ addiu $a0, $a0, %lo(D_80108A64) -/* 71E7C4 802A1174 0C050529 */ jal create_icon -/* 71E7C8 802A1178 00000000 */ nop -/* 71E7CC 802A117C 8FA50020 */ lw $a1, 0x20($sp) -/* 71E7D0 802A1180 8FA60024 */ lw $a2, 0x24($sp) -/* 71E7D4 802A1184 0040202D */ daddu $a0, $v0, $zero -/* 71E7D8 802A1188 3C01802A */ lui $at, %hi(D_802A3F50) -/* 71E7DC 802A118C AC243F50 */ sw $a0, %lo(D_802A3F50)($at) -/* 71E7E0 802A1190 24A50024 */ addiu $a1, $a1, 0x24 -/* 71E7E4 802A1194 0C051261 */ jal set_icon_render_pos -/* 71E7E8 802A1198 24C6FFC1 */ addiu $a2, $a2, -0x3f -.L802A119C: -/* 71E7EC 802A119C AEB10084 */ sw $s1, 0x84($s5) -.L802A11A0: -/* 71E7F0 802A11A0 8FBF0048 */ lw $ra, 0x48($sp) -/* 71E7F4 802A11A4 8FB50044 */ lw $s5, 0x44($sp) -/* 71E7F8 802A11A8 8FB40040 */ lw $s4, 0x40($sp) -/* 71E7FC 802A11AC 8FB3003C */ lw $s3, 0x3c($sp) -/* 71E800 802A11B0 8FB20038 */ lw $s2, 0x38($sp) -/* 71E804 802A11B4 8FB10034 */ lw $s1, 0x34($sp) -/* 71E808 802A11B8 8FB00030 */ lw $s0, 0x30($sp) -/* 71E80C 802A11BC D7B80060 */ ldc1 $f24, 0x60($sp) -/* 71E810 802A11C0 D7B60058 */ ldc1 $f22, 0x58($sp) -/* 71E814 802A11C4 D7B40050 */ ldc1 $f20, 0x50($sp) -/* 71E818 802A11C8 24020002 */ addiu $v0, $zero, 2 -/* 71E81C 802A11CC 03E00008 */ jr $ra -/* 71E820 802A11D0 27BD0068 */ addiu $sp, $sp, 0x68 diff --git a/ver/us/asm/nonmatchings/code_71E650/func_802A11D4_71E824.s b/ver/us/asm/nonmatchings/code_71E650/func_802A11D4_71E824.s deleted file mode 100644 index 7b3e255495..0000000000 --- a/ver/us/asm/nonmatchings/code_71E650/func_802A11D4_71E824.s +++ /dev/null @@ -1,31 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A11D4_71E824 -/* 71E824 802A11D4 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 71E828 802A11D8 3C03800E */ lui $v1, %hi(gBattleStatus) -/* 71E82C 802A11DC 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus) -/* 71E830 802A11E0 AFBF0014 */ sw $ra, 0x14($sp) -/* 71E834 802A11E4 AFB00010 */ sw $s0, 0x10($sp) -/* 71E838 802A11E8 8462017A */ lh $v0, 0x17a($v1) -/* 71E83C 802A11EC 8C6400D8 */ lw $a0, 0xd8($v1) -/* 71E840 802A11F0 00021140 */ sll $v0, $v0, 5 -/* 71E844 802A11F4 3C108008 */ lui $s0, %hi(gItemTable+0xC) -/* 71E848 802A11F8 02028021 */ addu $s0, $s0, $v0 -/* 71E84C 802A11FC 861078EC */ lh $s0, %lo(gItemTable+0xC)($s0) -/* 71E850 802A1200 0C099CAB */ jal heroes_is_ability_active -/* 71E854 802A1204 2405001D */ addiu $a1, $zero, 0x1d -/* 71E858 802A1208 10400007 */ beqz $v0, .L802A1228 -/* 71E85C 802A120C 00000000 */ nop -/* 71E860 802A1210 1A000005 */ blez $s0, .L802A1228 -/* 71E864 802A1214 00000000 */ nop -/* 71E868 802A1218 3C04802A */ lui $a0, %hi(D_802A3F50) -/* 71E86C 802A121C 8C843F50 */ lw $a0, %lo(D_802A3F50)($a0) -/* 71E870 802A1220 0C05123D */ jal free_icon -/* 71E874 802A1224 00000000 */ nop -.L802A1228: -/* 71E878 802A1228 8FBF0014 */ lw $ra, 0x14($sp) -/* 71E87C 802A122C 8FB00010 */ lw $s0, 0x10($sp) -/* 71E880 802A1230 24020002 */ addiu $v0, $zero, 2 -/* 71E884 802A1234 03E00008 */ jr $ra -/* 71E888 802A1238 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/ver/us/asm/nonmatchings/code_71E650/func_802A123C_71E88C.s b/ver/us/asm/nonmatchings/code_71E650/func_802A123C_71E88C.s deleted file mode 100644 index 19f6f845ba..0000000000 --- a/ver/us/asm/nonmatchings/code_71E650/func_802A123C_71E88C.s +++ /dev/null @@ -1,341 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A123C_71E88C -/* 71E88C 802A123C 27BDFFA0 */ addiu $sp, $sp, -0x60 -/* 71E890 802A1240 AFBE0038 */ sw $fp, 0x38($sp) -/* 71E894 802A1244 3C1E802A */ lui $fp, %hi(D_802A3F88) -/* 71E898 802A1248 27DE3F88 */ addiu $fp, $fp, %lo(D_802A3F88) -/* 71E89C 802A124C AFBF003C */ sw $ra, 0x3c($sp) -/* 71E8A0 802A1250 AFB70034 */ sw $s7, 0x34($sp) -/* 71E8A4 802A1254 AFB60030 */ sw $s6, 0x30($sp) -/* 71E8A8 802A1258 AFB5002C */ sw $s5, 0x2c($sp) -/* 71E8AC 802A125C AFB40028 */ sw $s4, 0x28($sp) -/* 71E8B0 802A1260 AFB30024 */ sw $s3, 0x24($sp) -/* 71E8B4 802A1264 AFB20020 */ sw $s2, 0x20($sp) -/* 71E8B8 802A1268 AFB1001C */ sw $s1, 0x1c($sp) -/* 71E8BC 802A126C AFB00018 */ sw $s0, 0x18($sp) -/* 71E8C0 802A1270 F7BA0058 */ sdc1 $f26, 0x58($sp) -/* 71E8C4 802A1274 F7B80050 */ sdc1 $f24, 0x50($sp) -/* 71E8C8 802A1278 F7B60048 */ sdc1 $f22, 0x48($sp) -/* 71E8CC 802A127C F7B40040 */ sdc1 $f20, 0x40($sp) -/* 71E8D0 802A1280 10A00002 */ beqz $a1, .L802A128C -/* 71E8D4 802A1284 AFA40060 */ sw $a0, 0x60($sp) -/* 71E8D8 802A1288 AC800070 */ sw $zero, 0x70($a0) -.L802A128C: -/* 71E8DC 802A128C 8FA80060 */ lw $t0, 0x60($sp) -/* 71E8E0 802A1290 8D030070 */ lw $v1, 0x70($t0) -/* 71E8E4 802A1294 24020001 */ addiu $v0, $zero, 1 -/* 71E8E8 802A1298 1062005A */ beq $v1, $v0, .L802A1404 -/* 71E8EC 802A129C 28620002 */ slti $v0, $v1, 2 -/* 71E8F0 802A12A0 10400005 */ beqz $v0, .L802A12B8 -/* 71E8F4 802A12A4 24020002 */ addiu $v0, $zero, 2 -/* 71E8F8 802A12A8 10600007 */ beqz $v1, .L802A12C8 -/* 71E8FC 802A12AC 0000102D */ daddu $v0, $zero, $zero -/* 71E900 802A12B0 080A85C0 */ j .L802A1700 -/* 71E904 802A12B4 00000000 */ nop -.L802A12B8: -/* 71E908 802A12B8 10620104 */ beq $v1, $v0, .L802A16CC -/* 71E90C 802A12BC 0000102D */ daddu $v0, $zero, $zero -/* 71E910 802A12C0 080A85C0 */ j .L802A1700 -/* 71E914 802A12C4 00000000 */ nop -.L802A12C8: -/* 71E918 802A12C8 0000882D */ daddu $s1, $zero, $zero -/* 71E91C 802A12CC 3C17802A */ lui $s7, %hi(D_802A3F00_721550) -/* 71E920 802A12D0 26F73F00 */ addiu $s7, $s7, %lo(D_802A3F00_721550) -/* 71E924 802A12D4 24160008 */ addiu $s6, $zero, 8 -/* 71E928 802A12D8 24150004 */ addiu $s5, $zero, 4 -/* 71E92C 802A12DC 3C14802A */ lui $s4, %hi(D_802A3E88_7214D8) -/* 71E930 802A12E0 26943E88 */ addiu $s4, $s4, %lo(D_802A3E88_7214D8) -/* 71E934 802A12E4 3C13802A */ lui $s3, %hi(D_802A3F58) -/* 71E938 802A12E8 26733F58 */ addiu $s3, $s3, %lo(D_802A3F58) -/* 71E93C 802A12EC 3C01C348 */ lui $at, 0xc348 -/* 71E940 802A12F0 44810000 */ mtc1 $at, $f0 -/* 71E944 802A12F4 3C014120 */ lui $at, 0x4120 -/* 71E948 802A12F8 44811000 */ mtc1 $at, $f2 -/* 71E94C 802A12FC 3C12802A */ lui $s2, %hi(D_802A3F28_721578) -/* 71E950 802A1300 26523F28 */ addiu $s2, $s2, %lo(D_802A3F28_721578) -/* 71E954 802A1304 E7C00000 */ swc1 $f0, ($fp) -/* 71E958 802A1308 E7C20008 */ swc1 $f2, 8($fp) -.L802A130C: -/* 71E95C 802A130C 8E440000 */ lw $a0, ($s2) -/* 71E960 802A1310 26520004 */ addiu $s2, $s2, 4 -/* 71E964 802A1314 0C0B5083 */ jal func_802D420C -/* 71E968 802A1318 26310001 */ addiu $s1, $s1, 1 -/* 71E96C 802A131C 3C08802A */ lui $t0, %hi(D_802A3E88_7214D8) -/* 71E970 802A1320 25083E88 */ addiu $t0, $t0, %lo(D_802A3E88_7214D8) -/* 71E974 802A1324 02A81821 */ addu $v1, $s5, $t0 -/* 71E978 802A1328 AE620000 */ sw $v0, ($s3) -/* 71E97C 802A132C C4740000 */ lwc1 $f20, ($v1) -/* 71E980 802A1330 4680A520 */ cvt.s.w $f20, $f20 -/* 71E984 802A1334 0040802D */ daddu $s0, $v0, $zero -/* 71E988 802A1338 0200202D */ daddu $a0, $s0, $zero -/* 71E98C 802A133C 4600A10D */ trunc.w.s $f4, $f20 -/* 71E990 802A1340 44062000 */ mfc1 $a2, $f4 -/* 71E994 802A1344 3C08802A */ lui $t0, %hi(D_802A3E88_7214D8) -/* 71E998 802A1348 25083E88 */ addiu $t0, $t0, %lo(D_802A3E88_7214D8) -/* 71E99C 802A134C 02C81021 */ addu $v0, $s6, $t0 -/* 71E9A0 802A1350 26D6000C */ addiu $s6, $s6, 0xc -/* 71E9A4 802A1354 26B5000C */ addiu $s5, $s5, 0xc -/* 71E9A8 802A1358 C6820000 */ lwc1 $f2, ($s4) -/* 71E9AC 802A135C 468010A0 */ cvt.s.w $f2, $f2 -/* 71E9B0 802A1360 C7C00000 */ lwc1 $f0, ($fp) -/* 71E9B4 802A1364 2694000C */ addiu $s4, $s4, 0xc -/* 71E9B8 802A1368 46001580 */ add.s $f22, $f2, $f0 -/* 71E9BC 802A136C C7C20008 */ lwc1 $f2, 8($fp) -/* 71E9C0 802A1370 C4400000 */ lwc1 $f0, ($v0) -/* 71E9C4 802A1374 46800020 */ cvt.s.w $f0, $f0 -/* 71E9C8 802A1378 46020600 */ add.s $f24, $f0, $f2 -/* 71E9CC 802A137C 4600B10D */ trunc.w.s $f4, $f22 -/* 71E9D0 802A1380 44052000 */ mfc1 $a1, $f4 -/* 71E9D4 802A1384 4600C10D */ trunc.w.s $f4, $f24 -/* 71E9D8 802A1388 44072000 */ mfc1 $a3, $f4 -/* 71E9DC 802A138C 0C0B50D9 */ jal func_802D4364 -/* 71E9E0 802A1390 26730004 */ addiu $s3, $s3, 4 -/* 71E9E4 802A1394 0200202D */ daddu $a0, $s0, $zero -/* 71E9E8 802A1398 8EE50000 */ lw $a1, ($s7) -/* 71E9EC 802A139C 26F70004 */ addiu $s7, $s7, 4 -/* 71E9F0 802A13A0 3C073F80 */ lui $a3, 0x3f80 -/* 71E9F4 802A13A4 0C0B50EB */ jal func_802D43AC -/* 71E9F8 802A13A8 00A0302D */ daddu $a2, $a1, $zero -/* 71E9FC 802A13AC 2A22000A */ slti $v0, $s1, 0xa -/* 71EA00 802A13B0 1440FFD6 */ bnez $v0, .L802A130C -/* 71EA04 802A13B4 00000000 */ nop -/* 71EA08 802A13B8 3C028007 */ lui $v0, %hi(gGameStatusPtr) -/* 71EA0C 802A13BC 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0) -/* 71EA10 802A13C0 94440134 */ lhu $a0, 0x134($v0) -/* 71EA14 802A13C4 3C02CCCC */ lui $v0, 0xcccc -/* 71EA18 802A13C8 3442CCCD */ ori $v0, $v0, 0xcccd -/* 71EA1C 802A13CC 00820019 */ multu $a0, $v0 -/* 71EA20 802A13D0 8FA80060 */ lw $t0, 0x60($sp) -/* 71EA24 802A13D4 24020001 */ addiu $v0, $zero, 1 -/* 71EA28 802A13D8 AD020070 */ sw $v0, 0x70($t0) -/* 71EA2C 802A13DC 00004010 */ mfhi $t0 -/* 71EA30 802A13E0 000818C2 */ srl $v1, $t0, 3 -/* 71EA34 802A13E4 00031080 */ sll $v0, $v1, 2 -/* 71EA38 802A13E8 00431021 */ addu $v0, $v0, $v1 -/* 71EA3C 802A13EC 00021040 */ sll $v0, $v0, 1 -/* 71EA40 802A13F0 00822023 */ subu $a0, $a0, $v0 -/* 71EA44 802A13F4 8FA80060 */ lw $t0, 0x60($sp) -/* 71EA48 802A13F8 3084FFFF */ andi $a0, $a0, 0xffff -/* 71EA4C 802A13FC 080A85BF */ j .L802A16FC -/* 71EA50 802A1400 AD040074 */ sw $a0, 0x74($t0) -.L802A1404: -/* 71EA54 802A1404 C7C00000 */ lwc1 $f0, ($fp) -/* 71EA58 802A1408 3C0140C0 */ lui $at, 0x40c0 -/* 71EA5C 802A140C 44811000 */ mtc1 $at, $f2 -/* 71EA60 802A1410 00000000 */ nop -/* 71EA64 802A1414 46020000 */ add.s $f0, $f0, $f2 -/* 71EA68 802A1418 3C028007 */ lui $v0, %hi(gGameStatusPtr) -/* 71EA6C 802A141C 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0) -/* 71EA70 802A1420 E7C00000 */ swc1 $f0, ($fp) -/* 71EA74 802A1424 94430134 */ lhu $v1, 0x134($v0) -/* 71EA78 802A1428 3C02AAAA */ lui $v0, 0xaaaa -/* 71EA7C 802A142C 3442AAAB */ ori $v0, $v0, 0xaaab -/* 71EA80 802A1430 00620019 */ multu $v1, $v0 -/* 71EA84 802A1434 00004010 */ mfhi $t0 -/* 71EA88 802A1438 00082042 */ srl $a0, $t0, 1 -/* 71EA8C 802A143C 00041040 */ sll $v0, $a0, 1 -/* 71EA90 802A1440 00441021 */ addu $v0, $v0, $a0 -/* 71EA94 802A1444 00621823 */ subu $v1, $v1, $v0 -/* 71EA98 802A1448 3063FFFF */ andi $v1, $v1, 0xffff -/* 71EA9C 802A144C 14600011 */ bnez $v1, .L802A1494 -/* 71EAA0 802A1450 0000A82D */ daddu $s5, $zero, $zero -/* 71EAA4 802A1454 8FA80060 */ lw $t0, 0x60($sp) -/* 71EAA8 802A1458 3C026666 */ lui $v0, 0x6666 -/* 71EAAC 802A145C 8D040074 */ lw $a0, 0x74($t0) -/* 71EAB0 802A1460 34426667 */ ori $v0, $v0, 0x6667 -/* 71EAB4 802A1464 24840001 */ addiu $a0, $a0, 1 -/* 71EAB8 802A1468 00820018 */ mult $a0, $v0 -/* 71EABC 802A146C 000417C3 */ sra $v0, $a0, 0x1f -/* 71EAC0 802A1470 00004010 */ mfhi $t0 -/* 71EAC4 802A1474 00081883 */ sra $v1, $t0, 2 -/* 71EAC8 802A1478 00621823 */ subu $v1, $v1, $v0 -/* 71EACC 802A147C 00031080 */ sll $v0, $v1, 2 -/* 71EAD0 802A1480 00431021 */ addu $v0, $v0, $v1 -/* 71EAD4 802A1484 00021040 */ sll $v0, $v0, 1 -/* 71EAD8 802A1488 8FA80060 */ lw $t0, 0x60($sp) -/* 71EADC 802A148C 00822023 */ subu $a0, $a0, $v0 -/* 71EAE0 802A1490 AD040074 */ sw $a0, 0x74($t0) -.L802A1494: -/* 71EAE4 802A1494 0000882D */ daddu $s1, $zero, $zero -/* 71EAE8 802A1498 3C014220 */ lui $at, 0x4220 -/* 71EAEC 802A149C 4481D000 */ mtc1 $at, $f26 -/* 71EAF0 802A14A0 24140008 */ addiu $s4, $zero, 8 -/* 71EAF4 802A14A4 24130004 */ addiu $s3, $zero, 4 -/* 71EAF8 802A14A8 3C16802A */ lui $s6, %hi(D_802A3E88_7214D8) -/* 71EAFC 802A14AC 26D63E88 */ addiu $s6, $s6, %lo(D_802A3E88_7214D8) -/* 71EB00 802A14B0 02C0902D */ daddu $s2, $s6, $zero -/* 71EB04 802A14B4 3C10802A */ lui $s0, %hi(D_802A3F58) -/* 71EB08 802A14B8 26103F58 */ addiu $s0, $s0, %lo(D_802A3F58) -.L802A14BC: -/* 71EB0C 802A14BC 02761021 */ addu $v0, $s3, $s6 -/* 71EB10 802A14C0 C4540000 */ lwc1 $f20, ($v0) -/* 71EB14 802A14C4 4680A520 */ cvt.s.w $f20, $f20 -/* 71EB18 802A14C8 4600A10D */ trunc.w.s $f4, $f20 -/* 71EB1C 802A14CC 44062000 */ mfc1 $a2, $f4 -/* 71EB20 802A14D0 C6400000 */ lwc1 $f0, ($s2) -/* 71EB24 802A14D4 46800020 */ cvt.s.w $f0, $f0 -/* 71EB28 802A14D8 C7C20000 */ lwc1 $f2, ($fp) -/* 71EB2C 802A14DC 02961021 */ addu $v0, $s4, $s6 -/* 71EB30 802A14E0 46020580 */ add.s $f22, $f0, $f2 -/* 71EB34 802A14E4 C7C20008 */ lwc1 $f2, 8($fp) -/* 71EB38 802A14E8 C4400000 */ lwc1 $f0, ($v0) -/* 71EB3C 802A14EC 46800020 */ cvt.s.w $f0, $f0 -/* 71EB40 802A14F0 46020600 */ add.s $f24, $f0, $f2 -/* 71EB44 802A14F4 8E040000 */ lw $a0, ($s0) -/* 71EB48 802A14F8 4600B10D */ trunc.w.s $f4, $f22 -/* 71EB4C 802A14FC 44052000 */ mfc1 $a1, $f4 -/* 71EB50 802A1500 4600C10D */ trunc.w.s $f4, $f24 -/* 71EB54 802A1504 44072000 */ mfc1 $a3, $f4 -/* 71EB58 802A1508 0C0B50D9 */ jal func_802D4364 -/* 71EB5C 802A150C 00000000 */ nop -/* 71EB60 802A1510 56A00038 */ bnel $s5, $zero, .L802A15F4 -/* 71EB64 802A1514 2694000C */ addiu $s4, $s4, 0xc -/* 71EB68 802A1518 8FA80060 */ lw $t0, 0x60($sp) -/* 71EB6C 802A151C 8D020074 */ lw $v0, 0x74($t0) -/* 71EB70 802A1520 54510034 */ bnel $v0, $s1, .L802A15F4 -/* 71EB74 802A1524 2694000C */ addiu $s4, $s4, 0xc -/* 71EB78 802A1528 3C028007 */ lui $v0, %hi(gGameStatusPtr) -/* 71EB7C 802A152C 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0) -/* 71EB80 802A1530 94440134 */ lhu $a0, 0x134($v0) -/* 71EB84 802A1534 3C02CCCC */ lui $v0, 0xcccc -/* 71EB88 802A1538 3442CCCD */ ori $v0, $v0, 0xcccd -/* 71EB8C 802A153C 00820019 */ multu $a0, $v0 -/* 71EB90 802A1540 00004010 */ mfhi $t0 -/* 71EB94 802A1544 00081882 */ srl $v1, $t0, 2 -/* 71EB98 802A1548 00031080 */ sll $v0, $v1, 2 -/* 71EB9C 802A154C 00431021 */ addu $v0, $v0, $v1 -/* 71EBA0 802A1550 00822023 */ subu $a0, $a0, $v0 -/* 71EBA4 802A1554 3084FFFF */ andi $a0, $a0, 0xffff -/* 71EBA8 802A1558 54800026 */ bnel $a0, $zero, .L802A15F4 -/* 71EBAC 802A155C 2694000C */ addiu $s4, $s4, 0xc -/* 71EBB0 802A1560 44800000 */ mtc1 $zero, $f0 -/* 71EBB4 802A1564 00000000 */ nop -/* 71EBB8 802A1568 4616003C */ c.lt.s $f0, $f22 -/* 71EBBC 802A156C 00000000 */ nop -/* 71EBC0 802A1570 45000013 */ bc1f .L802A15C0 -/* 71EBC4 802A1574 00000000 */ nop -/* 71EBC8 802A1578 3C0142C8 */ lui $at, 0x42c8 -/* 71EBCC 802A157C 44810000 */ mtc1 $at, $f0 -/* 71EBD0 802A1580 00000000 */ nop -/* 71EBD4 802A1584 4616003C */ c.lt.s $f0, $f22 -/* 71EBD8 802A1588 00000000 */ nop -/* 71EBDC 802A158C 45000005 */ bc1f .L802A15A4 -/* 71EBE0 802A1590 4600B506 */ mov.s $f20, $f22 -/* 71EBE4 802A1594 3C014248 */ lui $at, 0x4248 -/* 71EBE8 802A1598 44810000 */ mtc1 $at, $f0 -/* 71EBEC 802A159C 00000000 */ nop -/* 71EBF0 802A15A0 4600A501 */ sub.s $f20, $f20, $f0 -.L802A15A4: -/* 71EBF4 802A15A4 4600A10D */ trunc.w.s $f4, $f20 -/* 71EBF8 802A15A8 44042000 */ mfc1 $a0, $f4 -/* 71EBFC 802A15AC 0C00A67F */ jal rand_int -/* 71EC00 802A15B0 00000000 */ nop -/* 71EC04 802A15B4 4482A000 */ mtc1 $v0, $f20 -/* 71EC08 802A15B8 00000000 */ nop -/* 71EC0C 802A15BC 4680A520 */ cvt.s.w $f20, $f20 -.L802A15C0: -/* 71EC10 802A15C0 4616D03C */ c.lt.s $f26, $f22 -/* 71EC14 802A15C4 00000000 */ nop -/* 71EC18 802A15C8 45000003 */ bc1f .L802A15D8 -/* 71EC1C 802A15CC 24040003 */ addiu $a0, $zero, 3 -/* 71EC20 802A15D0 461AB001 */ sub.s $f0, $f22, $f26 -/* 71EC24 802A15D4 46000587 */ neg.s $f22, $f0 -.L802A15D8: -/* 71EC28 802A15D8 4405B000 */ mfc1 $a1, $f22 -/* 71EC2C 802A15DC 4406A000 */ mfc1 $a2, $f20 -/* 71EC30 802A15E0 4407C000 */ mfc1 $a3, $f24 -/* 71EC34 802A15E4 24150001 */ addiu $s5, $zero, 1 -/* 71EC38 802A15E8 0C01BEB4 */ jal fx_walk_large -/* 71EC3C 802A15EC AFA00010 */ sw $zero, 0x10($sp) -/* 71EC40 802A15F0 2694000C */ addiu $s4, $s4, 0xc -.L802A15F4: -/* 71EC44 802A15F4 2673000C */ addiu $s3, $s3, 0xc -/* 71EC48 802A15F8 2652000C */ addiu $s2, $s2, 0xc -/* 71EC4C 802A15FC 26310001 */ addiu $s1, $s1, 1 -/* 71EC50 802A1600 2A22000A */ slti $v0, $s1, 0xa -/* 71EC54 802A1604 1440FFAD */ bnez $v0, .L802A14BC -/* 71EC58 802A1608 26100004 */ addiu $s0, $s0, 4 -/* 71EC5C 802A160C 3C028007 */ lui $v0, %hi(gGameStatusPtr) -/* 71EC60 802A1610 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0) -/* 71EC64 802A1614 94420134 */ lhu $v0, 0x134($v0) -/* 71EC68 802A1618 30420001 */ andi $v0, $v0, 1 -/* 71EC6C 802A161C 10400020 */ beqz $v0, .L802A16A0 -/* 71EC70 802A1620 00000000 */ nop -/* 71EC74 802A1624 0C00A67F */ jal rand_int -/* 71EC78 802A1628 24040009 */ addiu $a0, $zero, 9 -/* 71EC7C 802A162C 00021840 */ sll $v1, $v0, 1 -/* 71EC80 802A1630 00621821 */ addu $v1, $v1, $v0 -/* 71EC84 802A1634 24620001 */ addiu $v0, $v1, 1 -/* 71EC88 802A1638 00021080 */ sll $v0, $v0, 2 -/* 71EC8C 802A163C 3C01802A */ lui $at, %hi(D_802A3E88_7214D8) -/* 71EC90 802A1640 00220821 */ addu $at, $at, $v0 -/* 71EC94 802A1644 C4343E88 */ lwc1 $f20, %lo(D_802A3E88_7214D8)($at) -/* 71EC98 802A1648 4680A520 */ cvt.s.w $f20, $f20 -/* 71EC9C 802A164C 00031080 */ sll $v0, $v1, 2 -/* 71ECA0 802A1650 3C01802A */ lui $at, %hi(D_802A3E88_7214D8) -/* 71ECA4 802A1654 00220821 */ addu $at, $at, $v0 -/* 71ECA8 802A1658 C4203E88 */ lwc1 $f0, %lo(D_802A3E88_7214D8)($at) -/* 71ECAC 802A165C 46800020 */ cvt.s.w $f0, $f0 -/* 71ECB0 802A1660 C7C20000 */ lwc1 $f2, ($fp) -/* 71ECB4 802A1664 24630002 */ addiu $v1, $v1, 2 -/* 71ECB8 802A1668 46020000 */ add.s $f0, $f0, $f2 -/* 71ECBC 802A166C 00031880 */ sll $v1, $v1, 2 -/* 71ECC0 802A1670 C7C20008 */ lwc1 $f2, 8($fp) -/* 71ECC4 802A1674 44050000 */ mfc1 $a1, $f0 -/* 71ECC8 802A1678 3C01802A */ lui $at, %hi(D_802A3E88_7214D8) -/* 71ECCC 802A167C 00230821 */ addu $at, $at, $v1 -/* 71ECD0 802A1680 C4203E88 */ lwc1 $f0, %lo(D_802A3E88_7214D8)($at) -/* 71ECD4 802A1684 46800020 */ cvt.s.w $f0, $f0 -/* 71ECD8 802A1688 46020000 */ add.s $f0, $f0, $f2 -/* 71ECDC 802A168C 4406A000 */ mfc1 $a2, $f20 -/* 71ECE0 802A1690 44070000 */ mfc1 $a3, $f0 -/* 71ECE4 802A1694 24040002 */ addiu $a0, $zero, 2 -/* 71ECE8 802A1698 0C01BEB4 */ jal fx_walk_large -/* 71ECEC 802A169C AFA00010 */ sw $zero, 0x10($sp) -.L802A16A0: -/* 71ECF0 802A16A0 C7C20000 */ lwc1 $f2, ($fp) -/* 71ECF4 802A16A4 3C0143A0 */ lui $at, 0x43a0 -/* 71ECF8 802A16A8 44810000 */ mtc1 $at, $f0 -/* 71ECFC 802A16AC 00000000 */ nop -/* 71ED00 802A16B0 4602003E */ c.le.s $f0, $f2 -/* 71ED04 802A16B4 00000000 */ nop -/* 71ED08 802A16B8 45000010 */ bc1f .L802A16FC -/* 71ED0C 802A16BC 24020002 */ addiu $v0, $zero, 2 -/* 71ED10 802A16C0 8FA80060 */ lw $t0, 0x60($sp) -/* 71ED14 802A16C4 080A85BF */ j .L802A16FC -/* 71ED18 802A16C8 AD020070 */ sw $v0, 0x70($t0) -.L802A16CC: -/* 71ED1C 802A16CC 0000882D */ daddu $s1, $zero, $zero -/* 71ED20 802A16D0 3C10802A */ lui $s0, %hi(D_802A3F58) -/* 71ED24 802A16D4 26103F58 */ addiu $s0, $s0, %lo(D_802A3F58) -.L802A16D8: -/* 71ED28 802A16D8 8E040000 */ lw $a0, ($s0) -/* 71ED2C 802A16DC 26100004 */ addiu $s0, $s0, 4 -/* 71ED30 802A16E0 0C0B50FD */ jal func_802D43F4 -/* 71ED34 802A16E4 26310001 */ addiu $s1, $s1, 1 -/* 71ED38 802A16E8 2A22000A */ slti $v0, $s1, 0xa -/* 71ED3C 802A16EC 1440FFFA */ bnez $v0, .L802A16D8 -/* 71ED40 802A16F0 24020002 */ addiu $v0, $zero, 2 -/* 71ED44 802A16F4 080A85C0 */ j .L802A1700 -/* 71ED48 802A16F8 00000000 */ nop -.L802A16FC: -/* 71ED4C 802A16FC 0000102D */ daddu $v0, $zero, $zero -.L802A1700: -/* 71ED50 802A1700 8FBF003C */ lw $ra, 0x3c($sp) -/* 71ED54 802A1704 8FBE0038 */ lw $fp, 0x38($sp) -/* 71ED58 802A1708 8FB70034 */ lw $s7, 0x34($sp) -/* 71ED5C 802A170C 8FB60030 */ lw $s6, 0x30($sp) -/* 71ED60 802A1710 8FB5002C */ lw $s5, 0x2c($sp) -/* 71ED64 802A1714 8FB40028 */ lw $s4, 0x28($sp) -/* 71ED68 802A1718 8FB30024 */ lw $s3, 0x24($sp) -/* 71ED6C 802A171C 8FB20020 */ lw $s2, 0x20($sp) -/* 71ED70 802A1720 8FB1001C */ lw $s1, 0x1c($sp) -/* 71ED74 802A1724 8FB00018 */ lw $s0, 0x18($sp) -/* 71ED78 802A1728 D7BA0058 */ ldc1 $f26, 0x58($sp) -/* 71ED7C 802A172C D7B80050 */ ldc1 $f24, 0x50($sp) -/* 71ED80 802A1730 D7B60048 */ ldc1 $f22, 0x48($sp) -/* 71ED84 802A1734 D7B40040 */ ldc1 $f20, 0x40($sp) -/* 71ED88 802A1738 03E00008 */ jr $ra -/* 71ED8C 802A173C 27BD0060 */ addiu $sp, $sp, 0x60 diff --git a/ver/us/asm/nonmatchings/code_71E650/func_802A1740_71ED90.s b/ver/us/asm/nonmatchings/code_71E650/func_802A1740_71ED90.s deleted file mode 100644 index 781d8cb57e..0000000000 --- a/ver/us/asm/nonmatchings/code_71E650/func_802A1740_71ED90.s +++ /dev/null @@ -1,76 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A1740_71ED90 -/* 71ED90 802A1740 27BDFFD0 */ addiu $sp, $sp, -0x30 -/* 71ED94 802A1744 AFB3001C */ sw $s3, 0x1c($sp) -/* 71ED98 802A1748 3C13800E */ lui $s3, %hi(gBattleStatus+0xD8) -/* 71ED9C 802A174C 8E73C148 */ lw $s3, %lo(gBattleStatus+0xD8)($s3) -/* 71EDA0 802A1750 AFB40020 */ sw $s4, 0x20($sp) -/* 71EDA4 802A1754 AFBF0024 */ sw $ra, 0x24($sp) -/* 71EDA8 802A1758 AFB20018 */ sw $s2, 0x18($sp) -/* 71EDAC 802A175C AFB10014 */ sw $s1, 0x14($sp) -/* 71EDB0 802A1760 AFB00010 */ sw $s0, 0x10($sp) -/* 71EDB4 802A1764 F7B40028 */ sdc1 $f20, 0x28($sp) -/* 71EDB8 802A1768 10A00004 */ beqz $a1, .L802A177C -/* 71EDBC 802A176C 0080A02D */ daddu $s4, $a0, $zero -/* 71EDC0 802A1770 2402005A */ addiu $v0, $zero, 0x5a -/* 71EDC4 802A1774 AE800070 */ sw $zero, 0x70($s4) -/* 71EDC8 802A1778 AE820074 */ sw $v0, 0x74($s4) -.L802A177C: -/* 71EDCC 802A177C 8262040C */ lb $v0, 0x40c($s3) -/* 71EDD0 802A1780 18400021 */ blez $v0, .L802A1808 -/* 71EDD4 802A1784 0000902D */ daddu $s2, $zero, $zero -/* 71EDD8 802A1788 3C014204 */ lui $at, 0x4204 -/* 71EDDC 802A178C 4481A000 */ mtc1 $at, $f20 -/* 71EDE0 802A1790 02721021 */ addu $v0, $s3, $s2 -.L802A1794: -/* 71EDE4 802A1794 8042040D */ lb $v0, 0x40d($v0) -/* 71EDE8 802A1798 00028080 */ sll $s0, $v0, 2 -/* 71EDEC 802A179C 02028021 */ addu $s0, $s0, $v0 -/* 71EDF0 802A17A0 00108080 */ sll $s0, $s0, 2 -/* 71EDF4 802A17A4 2610022C */ addiu $s0, $s0, 0x22c -/* 71EDF8 802A17A8 02708021 */ addu $s0, $s3, $s0 -/* 71EDFC 802A17AC 0C09A75B */ jal get_actor -/* 71EE00 802A17B0 86040000 */ lh $a0, ($s0) -/* 71EE04 802A17B4 0040882D */ daddu $s1, $v0, $zero -/* 71EE08 802A17B8 86050002 */ lh $a1, 2($s0) -/* 71EE0C 802A17BC 0C099117 */ jal get_actor_part -/* 71EE10 802A17C0 0220202D */ daddu $a0, $s1, $zero -/* 71EE14 802A17C4 82230218 */ lb $v1, 0x218($s1) -/* 71EE18 802A17C8 1460000A */ bnez $v1, .L802A17F4 -/* 71EE1C 802A17CC 00000000 */ nop -/* 71EE20 802A17D0 8C42007C */ lw $v0, 0x7c($v0) -/* 71EE24 802A17D4 30420020 */ andi $v0, $v0, 0x20 -/* 71EE28 802A17D8 14400006 */ bnez $v0, .L802A17F4 -/* 71EE2C 802A17DC 00000000 */ nop -/* 71EE30 802A17E0 C62C018C */ lwc1 $f12, 0x18c($s1) -/* 71EE34 802A17E4 46146300 */ add.s $f12, $f12, $f20 -/* 71EE38 802A17E8 0C00A6C9 */ jal clamp_angle -/* 71EE3C 802A17EC E62C018C */ swc1 $f12, 0x18c($s1) -/* 71EE40 802A17F0 E620018C */ swc1 $f0, 0x18c($s1) -.L802A17F4: -/* 71EE44 802A17F4 8262040C */ lb $v0, 0x40c($s3) -/* 71EE48 802A17F8 26520001 */ addiu $s2, $s2, 1 -/* 71EE4C 802A17FC 0242102A */ slt $v0, $s2, $v0 -/* 71EE50 802A1800 1440FFE4 */ bnez $v0, .L802A1794 -/* 71EE54 802A1804 02721021 */ addu $v0, $s3, $s2 -.L802A1808: -/* 71EE58 802A1808 8E820074 */ lw $v0, 0x74($s4) -/* 71EE5C 802A180C 14400003 */ bnez $v0, .L802A181C -/* 71EE60 802A1810 2442FFFF */ addiu $v0, $v0, -1 -/* 71EE64 802A1814 080A8609 */ j .L802A1824 -/* 71EE68 802A1818 24020002 */ addiu $v0, $zero, 2 -.L802A181C: -/* 71EE6C 802A181C AE820074 */ sw $v0, 0x74($s4) -/* 71EE70 802A1820 0000102D */ daddu $v0, $zero, $zero -.L802A1824: -/* 71EE74 802A1824 8FBF0024 */ lw $ra, 0x24($sp) -/* 71EE78 802A1828 8FB40020 */ lw $s4, 0x20($sp) -/* 71EE7C 802A182C 8FB3001C */ lw $s3, 0x1c($sp) -/* 71EE80 802A1830 8FB20018 */ lw $s2, 0x18($sp) -/* 71EE84 802A1834 8FB10014 */ lw $s1, 0x14($sp) -/* 71EE88 802A1838 8FB00010 */ lw $s0, 0x10($sp) -/* 71EE8C 802A183C D7B40028 */ ldc1 $f20, 0x28($sp) -/* 71EE90 802A1840 03E00008 */ jr $ra -/* 71EE94 802A1844 27BD0030 */ addiu $sp, $sp, 0x30 diff --git a/ver/us/asm/nonmatchings/code_71E650/func_802A1848_71EE98.s b/ver/us/asm/nonmatchings/code_71E650/func_802A1848_71EE98.s deleted file mode 100644 index f4b172baaf..0000000000 --- a/ver/us/asm/nonmatchings/code_71E650/func_802A1848_71EE98.s +++ /dev/null @@ -1,83 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A1848_71EE98 -/* 71EE98 802A1848 27BDFFC8 */ addiu $sp, $sp, -0x38 -/* 71EE9C 802A184C AFB3001C */ sw $s3, 0x1c($sp) -/* 71EEA0 802A1850 3C13800E */ lui $s3, %hi(gBattleStatus+0xD8) -/* 71EEA4 802A1854 8E73C148 */ lw $s3, %lo(gBattleStatus+0xD8)($s3) -/* 71EEA8 802A1858 AFBF0024 */ sw $ra, 0x24($sp) -/* 71EEAC 802A185C AFB40020 */ sw $s4, 0x20($sp) -/* 71EEB0 802A1860 AFB20018 */ sw $s2, 0x18($sp) -/* 71EEB4 802A1864 AFB10014 */ sw $s1, 0x14($sp) -/* 71EEB8 802A1868 AFB00010 */ sw $s0, 0x10($sp) -/* 71EEBC 802A186C F7B60030 */ sdc1 $f22, 0x30($sp) -/* 71EEC0 802A1870 F7B40028 */ sdc1 $f20, 0x28($sp) -/* 71EEC4 802A1874 54A00001 */ bnel $a1, $zero, .L802A187C -/* 71EEC8 802A1878 AC800070 */ sw $zero, 0x70($a0) -.L802A187C: -/* 71EECC 802A187C 0000902D */ daddu $s2, $zero, $zero -/* 71EED0 802A1880 8262040C */ lb $v0, 0x40c($s3) -/* 71EED4 802A1884 1840002C */ blez $v0, .L802A1938 -/* 71EED8 802A1888 0240A02D */ daddu $s4, $s2, $zero -/* 71EEDC 802A188C 3C0143B4 */ lui $at, 0x43b4 -/* 71EEE0 802A1890 4481A000 */ mtc1 $at, $f20 -/* 71EEE4 802A1894 3C014204 */ lui $at, 0x4204 -/* 71EEE8 802A1898 4481B000 */ mtc1 $at, $f22 -/* 71EEEC 802A189C 02721021 */ addu $v0, $s3, $s2 -.L802A18A0: -/* 71EEF0 802A18A0 8043040D */ lb $v1, 0x40d($v0) -/* 71EEF4 802A18A4 00031080 */ sll $v0, $v1, 2 -/* 71EEF8 802A18A8 00431021 */ addu $v0, $v0, $v1 -/* 71EEFC 802A18AC 00021080 */ sll $v0, $v0, 2 -/* 71EF00 802A18B0 2442022C */ addiu $v0, $v0, 0x22c -/* 71EF04 802A18B4 02628821 */ addu $s1, $s3, $v0 -/* 71EF08 802A18B8 0C09A75B */ jal get_actor -/* 71EF0C 802A18BC 86240000 */ lh $a0, ($s1) -/* 71EF10 802A18C0 0040802D */ daddu $s0, $v0, $zero -/* 71EF14 802A18C4 12000017 */ beqz $s0, .L802A1924 -/* 71EF18 802A18C8 00000000 */ nop -/* 71EF1C 802A18CC 86250002 */ lh $a1, 2($s1) -/* 71EF20 802A18D0 0C099117 */ jal get_actor_part -/* 71EF24 802A18D4 0200202D */ daddu $a0, $s0, $zero -/* 71EF28 802A18D8 82030218 */ lb $v1, 0x218($s0) -/* 71EF2C 802A18DC 14600011 */ bnez $v1, .L802A1924 -/* 71EF30 802A18E0 00000000 */ nop -/* 71EF34 802A18E4 8C42007C */ lw $v0, 0x7c($v0) -/* 71EF38 802A18E8 30420020 */ andi $v0, $v0, 0x20 -/* 71EF3C 802A18EC 1440000D */ bnez $v0, .L802A1924 -/* 71EF40 802A18F0 00000000 */ nop -/* 71EF44 802A18F4 C600018C */ lwc1 $f0, 0x18c($s0) -/* 71EF48 802A18F8 4614003C */ c.lt.s $f0, $f20 -/* 71EF4C 802A18FC 00000000 */ nop -/* 71EF50 802A1900 45000008 */ bc1f .L802A1924 -/* 71EF54 802A1904 00000000 */ nop -/* 71EF58 802A1908 46160000 */ add.s $f0, $f0, $f22 -/* 71EF5C 802A190C 4600A03E */ c.le.s $f20, $f0 -/* 71EF60 802A1910 00000000 */ nop -/* 71EF64 802A1914 45000002 */ bc1f .L802A1920 -/* 71EF68 802A1918 E600018C */ swc1 $f0, 0x18c($s0) -/* 71EF6C 802A191C E614018C */ swc1 $f20, 0x18c($s0) -.L802A1920: -/* 71EF70 802A1920 24140001 */ addiu $s4, $zero, 1 -.L802A1924: -/* 71EF74 802A1924 8262040C */ lb $v0, 0x40c($s3) -/* 71EF78 802A1928 26520001 */ addiu $s2, $s2, 1 -/* 71EF7C 802A192C 0242102A */ slt $v0, $s2, $v0 -/* 71EF80 802A1930 1440FFDB */ bnez $v0, .L802A18A0 -/* 71EF84 802A1934 02721021 */ addu $v0, $s3, $s2 -.L802A1938: -/* 71EF88 802A1938 2E820001 */ sltiu $v0, $s4, 1 -/* 71EF8C 802A193C 8FBF0024 */ lw $ra, 0x24($sp) -/* 71EF90 802A1940 8FB40020 */ lw $s4, 0x20($sp) -/* 71EF94 802A1944 8FB3001C */ lw $s3, 0x1c($sp) -/* 71EF98 802A1948 8FB20018 */ lw $s2, 0x18($sp) -/* 71EF9C 802A194C 8FB10014 */ lw $s1, 0x14($sp) -/* 71EFA0 802A1950 8FB00010 */ lw $s0, 0x10($sp) -/* 71EFA4 802A1954 D7B60030 */ ldc1 $f22, 0x30($sp) -/* 71EFA8 802A1958 D7B40028 */ ldc1 $f20, 0x28($sp) -/* 71EFAC 802A195C 00021040 */ sll $v0, $v0, 1 -/* 71EFB0 802A1960 03E00008 */ jr $ra -/* 71EFB4 802A1964 27BD0038 */ addiu $sp, $sp, 0x38 -/* 71EFB8 802A1968 00000000 */ nop -/* 71EFBC 802A196C 00000000 */ nop diff --git a/ver/us/asm/nonmatchings/code_7215A0/func_802A1000_7215A0.s b/ver/us/asm/nonmatchings/code_7215A0/func_802A1000_7215A0.s deleted file mode 100644 index 32f285285f..0000000000 --- a/ver/us/asm/nonmatchings/code_7215A0/func_802A1000_7215A0.s +++ /dev/null @@ -1,125 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A1000_7215A0 -/* 7215A0 802A1000 27BDFF98 */ addiu $sp, $sp, -0x68 -/* 7215A4 802A1004 AFB50044 */ sw $s5, 0x44($sp) -/* 7215A8 802A1008 0080A82D */ daddu $s5, $a0, $zero -/* 7215AC 802A100C AFB10034 */ sw $s1, 0x34($sp) -/* 7215B0 802A1010 0000882D */ daddu $s1, $zero, $zero -/* 7215B4 802A1014 2405001D */ addiu $a1, $zero, 0x1d -/* 7215B8 802A1018 F7B40050 */ sdc1 $f20, 0x50($sp) -/* 7215BC 802A101C 4480A000 */ mtc1 $zero, $f20 -/* 7215C0 802A1020 3C02800E */ lui $v0, %hi(gBattleStatus) -/* 7215C4 802A1024 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus) -/* 7215C8 802A1028 AFBF0048 */ sw $ra, 0x48($sp) -/* 7215CC 802A102C AFB40040 */ sw $s4, 0x40($sp) -/* 7215D0 802A1030 AFB3003C */ sw $s3, 0x3c($sp) -/* 7215D4 802A1034 AFB20038 */ sw $s2, 0x38($sp) -/* 7215D8 802A1038 AFB00030 */ sw $s0, 0x30($sp) -/* 7215DC 802A103C F7B80060 */ sdc1 $f24, 0x60($sp) -/* 7215E0 802A1040 F7B60058 */ sdc1 $f22, 0x58($sp) -/* 7215E4 802A1044 8C5300D8 */ lw $s3, 0xd8($v0) -/* 7215E8 802A1048 8442017A */ lh $v0, 0x17a($v0) -/* 7215EC 802A104C 0260202D */ daddu $a0, $s3, $zero -/* 7215F0 802A1050 00021140 */ sll $v0, $v0, 5 -/* 7215F4 802A1054 3C128008 */ lui $s2, %hi(gItemTable+0xC) -/* 7215F8 802A1058 02429021 */ addu $s2, $s2, $v0 -/* 7215FC 802A105C 865278EC */ lh $s2, %lo(gItemTable+0xC)($s2) -/* 721600 802A1060 92620191 */ lbu $v0, 0x191($s3) -/* 721604 802A1064 C6620148 */ lwc1 $f2, 0x148($s3) -/* 721608 802A1068 44820000 */ mtc1 $v0, $f0 -/* 72160C 802A106C 00000000 */ nop -/* 721610 802A1070 46800020 */ cvt.s.w $f0, $f0 -/* 721614 802A1074 0C099CAB */ jal heroes_is_ability_active -/* 721618 802A1078 46001580 */ add.s $f22, $f2, $f0 -/* 72161C 802A107C 50400048 */ beql $v0, $zero, .L802A11A0 -/* 721620 802A1080 AEB10084 */ sw $s1, 0x84($s5) -/* 721624 802A1084 1A400045 */ blez $s2, .L802A119C -/* 721628 802A1088 3C0451EB */ lui $a0, 0x51eb -/* 72162C 802A108C 3484851F */ ori $a0, $a0, 0x851f -/* 721630 802A1090 00121880 */ sll $v1, $s2, 2 -/* 721634 802A1094 00721821 */ addu $v1, $v1, $s2 -/* 721638 802A1098 00031100 */ sll $v0, $v1, 4 -/* 72163C 802A109C 00431023 */ subu $v0, $v0, $v1 -/* 721640 802A10A0 24420063 */ addiu $v0, $v0, 0x63 -/* 721644 802A10A4 00440018 */ mult $v0, $a0 -/* 721648 802A10A8 000217C3 */ sra $v0, $v0, 0x1f -/* 72164C 802A10AC 00004010 */ mfhi $t0 -/* 721650 802A10B0 00081943 */ sra $v1, $t0, 5 -/* 721654 802A10B4 00629023 */ subu $s2, $v1, $v0 -/* 721658 802A10B8 0232102A */ slt $v0, $s1, $s2 -/* 72165C 802A10BC 10400019 */ beqz $v0, .L802A1124 -/* 721660 802A10C0 0220802D */ daddu $s0, $s1, $zero -/* 721664 802A10C4 24140017 */ addiu $s4, $zero, 0x17 -/* 721668 802A10C8 3C0141F0 */ lui $at, 0x41f0 -/* 72166C 802A10CC 4481C000 */ mtc1 $at, $f24 -/* 721670 802A10D0 24110001 */ addiu $s1, $zero, 1 -.L802A10D4: -/* 721674 802A10D4 C6600144 */ lwc1 $f0, 0x144($s3) -/* 721678 802A10D8 C662014C */ lwc1 $f2, 0x14c($s3) -/* 72167C 802A10DC 4600A10D */ trunc.w.s $f4, $f20 -/* 721680 802A10E0 E7A40018 */ swc1 $f4, 0x18($sp) -/* 721684 802A10E4 24040157 */ addiu $a0, $zero, 0x157 -/* 721688 802A10E8 AFB10014 */ sw $s1, 0x14($sp) -/* 72168C 802A10EC 26310003 */ addiu $s1, $s1, 3 -/* 721690 802A10F0 26100001 */ addiu $s0, $s0, 1 -/* 721694 802A10F4 4406B000 */ mfc1 $a2, $f22 -/* 721698 802A10F8 44050000 */ mfc1 $a1, $f0 -/* 72169C 802A10FC 44071000 */ mfc1 $a3, $f2 -/* 7216A0 802A1100 4618A500 */ add.s $f20, $f20, $f24 -/* 7216A4 802A1104 AFB40010 */ sw $s4, 0x10($sp) -/* 7216A8 802A1108 0C04C4FD */ jal make_item_entity -/* 7216AC 802A110C AFA0001C */ sw $zero, 0x1c($sp) -/* 7216B0 802A1110 0C03A830 */ jal add_coins -/* 7216B4 802A1114 24040001 */ addiu $a0, $zero, 1 -/* 7216B8 802A1118 0212102A */ slt $v0, $s0, $s2 -/* 7216BC 802A111C 1440FFED */ bnez $v0, .L802A10D4 -/* 7216C0 802A1120 00000000 */ nop -.L802A1124: -/* 7216C4 802A1124 00101040 */ sll $v0, $s0, 1 -/* 7216C8 802A1128 00501021 */ addu $v0, $v0, $s0 -/* 7216CC 802A112C 2451001E */ addiu $s1, $v0, 0x1e -/* 7216D0 802A1130 C6600144 */ lwc1 $f0, 0x144($s3) -/* 7216D4 802A1134 C6760148 */ lwc1 $f22, 0x148($s3) -/* 7216D8 802A1138 C662014C */ lwc1 $f2, 0x14c($s3) -/* 7216DC 802A113C 3C048007 */ lui $a0, %hi(gCurrentCameraID) -/* 7216E0 802A1140 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0) -/* 7216E4 802A1144 27A20020 */ addiu $v0, $sp, 0x20 -/* 7216E8 802A1148 AFA20010 */ sw $v0, 0x10($sp) -/* 7216EC 802A114C 27A20024 */ addiu $v0, $sp, 0x24 -/* 7216F0 802A1150 AFA20014 */ sw $v0, 0x14($sp) -/* 7216F4 802A1154 44050000 */ mfc1 $a1, $f0 -/* 7216F8 802A1158 4406B000 */ mfc1 $a2, $f22 -/* 7216FC 802A115C 44071000 */ mfc1 $a3, $f2 -/* 721700 802A1160 27A20028 */ addiu $v0, $sp, 0x28 -/* 721704 802A1164 0C00B94E */ jal get_screen_coords -/* 721708 802A1168 AFA20018 */ sw $v0, 0x18($sp) -/* 72170C 802A116C 3C048011 */ lui $a0, %hi(D_80108A64) -/* 721710 802A1170 24848A64 */ addiu $a0, $a0, %lo(D_80108A64) -/* 721714 802A1174 0C050529 */ jal create_icon -/* 721718 802A1178 00000000 */ nop -/* 72171C 802A117C 8FA50020 */ lw $a1, 0x20($sp) -/* 721720 802A1180 8FA60024 */ lw $a2, 0x24($sp) -/* 721724 802A1184 0040202D */ daddu $a0, $v0, $zero -/* 721728 802A1188 3C01802A */ lui $at, %hi(D_802A1A60) -/* 72172C 802A118C AC241A60 */ sw $a0, %lo(D_802A1A60)($at) -/* 721730 802A1190 24A50024 */ addiu $a1, $a1, 0x24 -/* 721734 802A1194 0C051261 */ jal set_icon_render_pos -/* 721738 802A1198 24C6FFC1 */ addiu $a2, $a2, -0x3f -.L802A119C: -/* 72173C 802A119C AEB10084 */ sw $s1, 0x84($s5) -.L802A11A0: -/* 721740 802A11A0 8FBF0048 */ lw $ra, 0x48($sp) -/* 721744 802A11A4 8FB50044 */ lw $s5, 0x44($sp) -/* 721748 802A11A8 8FB40040 */ lw $s4, 0x40($sp) -/* 72174C 802A11AC 8FB3003C */ lw $s3, 0x3c($sp) -/* 721750 802A11B0 8FB20038 */ lw $s2, 0x38($sp) -/* 721754 802A11B4 8FB10034 */ lw $s1, 0x34($sp) -/* 721758 802A11B8 8FB00030 */ lw $s0, 0x30($sp) -/* 72175C 802A11BC D7B80060 */ ldc1 $f24, 0x60($sp) -/* 721760 802A11C0 D7B60058 */ ldc1 $f22, 0x58($sp) -/* 721764 802A11C4 D7B40050 */ ldc1 $f20, 0x50($sp) -/* 721768 802A11C8 24020002 */ addiu $v0, $zero, 2 -/* 72176C 802A11CC 03E00008 */ jr $ra -/* 721770 802A11D0 27BD0068 */ addiu $sp, $sp, 0x68 diff --git a/ver/us/asm/nonmatchings/code_7215A0/func_802A11D4_721774.s b/ver/us/asm/nonmatchings/code_7215A0/func_802A11D4_721774.s deleted file mode 100644 index b9ac4be6ea..0000000000 --- a/ver/us/asm/nonmatchings/code_7215A0/func_802A11D4_721774.s +++ /dev/null @@ -1,31 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A11D4_721774 -/* 721774 802A11D4 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 721778 802A11D8 3C03800E */ lui $v1, %hi(gBattleStatus) -/* 72177C 802A11DC 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus) -/* 721780 802A11E0 AFBF0014 */ sw $ra, 0x14($sp) -/* 721784 802A11E4 AFB00010 */ sw $s0, 0x10($sp) -/* 721788 802A11E8 8462017A */ lh $v0, 0x17a($v1) -/* 72178C 802A11EC 8C6400D8 */ lw $a0, 0xd8($v1) -/* 721790 802A11F0 00021140 */ sll $v0, $v0, 5 -/* 721794 802A11F4 3C108008 */ lui $s0, %hi(gItemTable+0xC) -/* 721798 802A11F8 02028021 */ addu $s0, $s0, $v0 -/* 72179C 802A11FC 861078EC */ lh $s0, %lo(gItemTable+0xC)($s0) -/* 7217A0 802A1200 0C099CAB */ jal heroes_is_ability_active -/* 7217A4 802A1204 2405001D */ addiu $a1, $zero, 0x1d -/* 7217A8 802A1208 10400007 */ beqz $v0, .L802A1228 -/* 7217AC 802A120C 00000000 */ nop -/* 7217B0 802A1210 1A000005 */ blez $s0, .L802A1228 -/* 7217B4 802A1214 00000000 */ nop -/* 7217B8 802A1218 3C04802A */ lui $a0, %hi(D_802A1A60) -/* 7217BC 802A121C 8C841A60 */ lw $a0, %lo(D_802A1A60)($a0) -/* 7217C0 802A1220 0C05123D */ jal free_icon -/* 7217C4 802A1224 00000000 */ nop -.L802A1228: -/* 7217C8 802A1228 8FBF0014 */ lw $ra, 0x14($sp) -/* 7217CC 802A122C 8FB00010 */ lw $s0, 0x10($sp) -/* 7217D0 802A1230 24020002 */ addiu $v0, $zero, 2 -/* 7217D4 802A1234 03E00008 */ jr $ra -/* 7217D8 802A1238 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/ver/us/asm/nonmatchings/code_7215A0/func_802A123C_7217DC.s b/ver/us/asm/nonmatchings/code_7215A0/func_802A123C_7217DC.s deleted file mode 100644 index 93d3cbd6ba..0000000000 --- a/ver/us/asm/nonmatchings/code_7215A0/func_802A123C_7217DC.s +++ /dev/null @@ -1,112 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A123C_7217DC -/* 7217DC 802A123C 27BDFFB8 */ addiu $sp, $sp, -0x48 -/* 7217E0 802A1240 AFB20020 */ sw $s2, 0x20($sp) -/* 7217E4 802A1244 AFB30024 */ sw $s3, 0x24($sp) -/* 7217E8 802A1248 3C13800E */ lui $s3, %hi(gBattleStatus) -/* 7217EC 802A124C 2673C070 */ addiu $s3, $s3, %lo(gBattleStatus) -/* 7217F0 802A1250 AFBF002C */ sw $ra, 0x2c($sp) -/* 7217F4 802A1254 AFB40028 */ sw $s4, 0x28($sp) -/* 7217F8 802A1258 AFB1001C */ sw $s1, 0x1c($sp) -/* 7217FC 802A125C AFB00018 */ sw $s0, 0x18($sp) -/* 721800 802A1260 F7B80040 */ sdc1 $f24, 0x40($sp) -/* 721804 802A1264 F7B60038 */ sdc1 $f22, 0x38($sp) -/* 721808 802A1268 F7B40030 */ sdc1 $f20, 0x30($sp) -/* 72180C 802A126C 8E7000D8 */ lw $s0, 0xd8($s3) -/* 721810 802A1270 10A00002 */ beqz $a1, .L802A127C -/* 721814 802A1274 0080902D */ daddu $s2, $a0, $zero -/* 721818 802A1278 AE400070 */ sw $zero, 0x70($s2) -.L802A127C: -/* 72181C 802A127C 8E430070 */ lw $v1, 0x70($s2) -/* 721820 802A1280 10600005 */ beqz $v1, .L802A1298 -/* 721824 802A1284 24020001 */ addiu $v0, $zero, 1 -/* 721828 802A1288 1062000D */ beq $v1, $v0, .L802A12C0 -/* 72182C 802A128C 0000102D */ daddu $v0, $zero, $zero -/* 721830 802A1290 080A84E9 */ j .L802A13A4 -/* 721834 802A1294 00000000 */ nop -.L802A1298: -/* 721838 802A1298 0200202D */ daddu $a0, $s0, $zero -/* 72183C 802A129C 8E460084 */ lw $a2, 0x84($s2) -/* 721840 802A12A0 0C0997D0 */ jal inflict_status -/* 721844 802A12A4 2405000C */ addiu $a1, $zero, 0xc -/* 721848 802A12A8 24020003 */ addiu $v0, $zero, 3 -/* 72184C 802A12AC A200021C */ sb $zero, 0x21c($s0) -/* 721850 802A12B0 AE420074 */ sw $v0, 0x74($s2) -/* 721854 802A12B4 24020001 */ addiu $v0, $zero, 1 -/* 721858 802A12B8 080A84E8 */ j .L802A13A0 -/* 72185C 802A12BC AE420070 */ sw $v0, 0x70($s2) -.L802A12C0: -/* 721860 802A12C0 0000882D */ daddu $s1, $zero, $zero -/* 721864 802A12C4 24140019 */ addiu $s4, $zero, 0x19 -/* 721868 802A12C8 3C0140A0 */ lui $at, 0x40a0 -/* 72186C 802A12CC 4481C000 */ mtc1 $at, $f24 -/* 721870 802A12D0 3C013F80 */ lui $at, 0x3f80 -/* 721874 802A12D4 4481B000 */ mtc1 $at, $f22 -.L802A12D8: -/* 721878 802A12D8 0C00A67F */ jal rand_int -/* 72187C 802A12DC 24040014 */ addiu $a0, $zero, 0x14 -/* 721880 802A12E0 2442FFF6 */ addiu $v0, $v0, -0xa -/* 721884 802A12E4 C6020188 */ lwc1 $f2, 0x188($s0) -/* 721888 802A12E8 44820000 */ mtc1 $v0, $f0 -/* 72188C 802A12EC 00000000 */ nop -/* 721890 802A12F0 46800020 */ cvt.s.w $f0, $f0 -/* 721894 802A12F4 46020002 */ mul.s $f0, $f0, $f2 -/* 721898 802A12F8 00000000 */ nop -/* 72189C 802A12FC C6140144 */ lwc1 $f20, 0x144($s0) -/* 7218A0 802A1300 24040014 */ addiu $a0, $zero, 0x14 -/* 7218A4 802A1304 0C00A67F */ jal rand_int -/* 7218A8 802A1308 4600A500 */ add.s $f20, $f20, $f0 -/* 7218AC 802A130C 2442000A */ addiu $v0, $v0, 0xa -/* 7218B0 802A1310 C6020188 */ lwc1 $f2, 0x188($s0) -/* 7218B4 802A1314 44820000 */ mtc1 $v0, $f0 -/* 7218B8 802A1318 00000000 */ nop -/* 7218BC 802A131C 46800020 */ cvt.s.w $f0, $f0 -/* 7218C0 802A1320 46020002 */ mul.s $f0, $f0, $f2 -/* 7218C4 802A1324 00000000 */ nop -/* 7218C8 802A1328 C6020148 */ lwc1 $f2, 0x148($s0) -/* 7218CC 802A132C 46001080 */ add.s $f2, $f2, $f0 -/* 7218D0 802A1330 C600014C */ lwc1 $f0, 0x14c($s0) -/* 7218D4 802A1334 26310001 */ addiu $s1, $s1, 1 -/* 7218D8 802A1338 46180000 */ add.s $f0, $f0, $f24 -/* 7218DC 802A133C 4405A000 */ mfc1 $a1, $f20 -/* 7218E0 802A1340 44061000 */ mfc1 $a2, $f2 -/* 7218E4 802A1344 44070000 */ mfc1 $a3, $f0 -/* 7218E8 802A1348 0000202D */ daddu $a0, $zero, $zero -/* 7218EC 802A134C E7B60010 */ swc1 $f22, 0x10($sp) -/* 7218F0 802A1350 0C01C7FC */ jal func_80071FF0 -/* 7218F4 802A1354 AFB40014 */ sw $s4, 0x14($sp) -/* 7218F8 802A1358 2A22000A */ slti $v0, $s1, 0xa -/* 7218FC 802A135C 1440FFDE */ bnez $v0, .L802A12D8 -/* 721900 802A1360 00000000 */ nop -/* 721904 802A1364 8E420074 */ lw $v0, 0x74($s2) -/* 721908 802A1368 1440000C */ bnez $v0, .L802A139C -/* 72190C 802A136C 2442FFFF */ addiu $v0, $v0, -1 -/* 721910 802A1370 3C05FBFF */ lui $a1, 0xfbff -/* 721914 802A1374 34A5FFFF */ ori $a1, $a1, 0xffff -/* 721918 802A1378 3C04800E */ lui $a0, %hi(gBattleStatus) -/* 72191C 802A137C 2484C070 */ addiu $a0, $a0, %lo(gBattleStatus) -/* 721920 802A1380 8C830000 */ lw $v1, ($a0) -/* 721924 802A1384 24020002 */ addiu $v0, $zero, 2 -/* 721928 802A1388 A260008B */ sb $zero, 0x8b($s3) -/* 72192C 802A138C A2600088 */ sb $zero, 0x88($s3) -/* 721930 802A1390 00651824 */ and $v1, $v1, $a1 -/* 721934 802A1394 080A84E9 */ j .L802A13A4 -/* 721938 802A1398 AC830000 */ sw $v1, ($a0) -.L802A139C: -/* 72193C 802A139C AE420074 */ sw $v0, 0x74($s2) -.L802A13A0: -/* 721940 802A13A0 0000102D */ daddu $v0, $zero, $zero -.L802A13A4: -/* 721944 802A13A4 8FBF002C */ lw $ra, 0x2c($sp) -/* 721948 802A13A8 8FB40028 */ lw $s4, 0x28($sp) -/* 72194C 802A13AC 8FB30024 */ lw $s3, 0x24($sp) -/* 721950 802A13B0 8FB20020 */ lw $s2, 0x20($sp) -/* 721954 802A13B4 8FB1001C */ lw $s1, 0x1c($sp) -/* 721958 802A13B8 8FB00018 */ lw $s0, 0x18($sp) -/* 72195C 802A13BC D7B80040 */ ldc1 $f24, 0x40($sp) -/* 721960 802A13C0 D7B60038 */ ldc1 $f22, 0x38($sp) -/* 721964 802A13C4 D7B40030 */ ldc1 $f20, 0x30($sp) -/* 721968 802A13C8 03E00008 */ jr $ra -/* 72196C 802A13CC 27BD0048 */ addiu $sp, $sp, 0x48 diff --git a/ver/us/asm/nonmatchings/code_722000/func_802A1000_722000.s b/ver/us/asm/nonmatchings/code_722000/func_802A1000_722000.s deleted file mode 100644 index a5c15e33f3..0000000000 --- a/ver/us/asm/nonmatchings/code_722000/func_802A1000_722000.s +++ /dev/null @@ -1,125 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A1000_722000 -/* 722000 802A1000 27BDFF98 */ addiu $sp, $sp, -0x68 -/* 722004 802A1004 AFB50044 */ sw $s5, 0x44($sp) -/* 722008 802A1008 0080A82D */ daddu $s5, $a0, $zero -/* 72200C 802A100C AFB10034 */ sw $s1, 0x34($sp) -/* 722010 802A1010 0000882D */ daddu $s1, $zero, $zero -/* 722014 802A1014 2405001D */ addiu $a1, $zero, 0x1d -/* 722018 802A1018 F7B40050 */ sdc1 $f20, 0x50($sp) -/* 72201C 802A101C 4480A000 */ mtc1 $zero, $f20 -/* 722020 802A1020 3C02800E */ lui $v0, %hi(gBattleStatus) -/* 722024 802A1024 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus) -/* 722028 802A1028 AFBF0048 */ sw $ra, 0x48($sp) -/* 72202C 802A102C AFB40040 */ sw $s4, 0x40($sp) -/* 722030 802A1030 AFB3003C */ sw $s3, 0x3c($sp) -/* 722034 802A1034 AFB20038 */ sw $s2, 0x38($sp) -/* 722038 802A1038 AFB00030 */ sw $s0, 0x30($sp) -/* 72203C 802A103C F7B80060 */ sdc1 $f24, 0x60($sp) -/* 722040 802A1040 F7B60058 */ sdc1 $f22, 0x58($sp) -/* 722044 802A1044 8C5300D8 */ lw $s3, 0xd8($v0) -/* 722048 802A1048 8442017A */ lh $v0, 0x17a($v0) -/* 72204C 802A104C 0260202D */ daddu $a0, $s3, $zero -/* 722050 802A1050 00021140 */ sll $v0, $v0, 5 -/* 722054 802A1054 3C128008 */ lui $s2, %hi(gItemTable+0xC) -/* 722058 802A1058 02429021 */ addu $s2, $s2, $v0 -/* 72205C 802A105C 865278EC */ lh $s2, %lo(gItemTable+0xC)($s2) -/* 722060 802A1060 92620191 */ lbu $v0, 0x191($s3) -/* 722064 802A1064 C6620148 */ lwc1 $f2, 0x148($s3) -/* 722068 802A1068 44820000 */ mtc1 $v0, $f0 -/* 72206C 802A106C 00000000 */ nop -/* 722070 802A1070 46800020 */ cvt.s.w $f0, $f0 -/* 722074 802A1074 0C099CAB */ jal heroes_is_ability_active -/* 722078 802A1078 46001580 */ add.s $f22, $f2, $f0 -/* 72207C 802A107C 50400048 */ beql $v0, $zero, .L802A11A0 -/* 722080 802A1080 AEB10084 */ sw $s1, 0x84($s5) -/* 722084 802A1084 1A400045 */ blez $s2, .L802A119C -/* 722088 802A1088 3C0451EB */ lui $a0, 0x51eb -/* 72208C 802A108C 3484851F */ ori $a0, $a0, 0x851f -/* 722090 802A1090 00121880 */ sll $v1, $s2, 2 -/* 722094 802A1094 00721821 */ addu $v1, $v1, $s2 -/* 722098 802A1098 00031100 */ sll $v0, $v1, 4 -/* 72209C 802A109C 00431023 */ subu $v0, $v0, $v1 -/* 7220A0 802A10A0 24420063 */ addiu $v0, $v0, 0x63 -/* 7220A4 802A10A4 00440018 */ mult $v0, $a0 -/* 7220A8 802A10A8 000217C3 */ sra $v0, $v0, 0x1f -/* 7220AC 802A10AC 00004010 */ mfhi $t0 -/* 7220B0 802A10B0 00081943 */ sra $v1, $t0, 5 -/* 7220B4 802A10B4 00629023 */ subu $s2, $v1, $v0 -/* 7220B8 802A10B8 0232102A */ slt $v0, $s1, $s2 -/* 7220BC 802A10BC 10400019 */ beqz $v0, .L802A1124 -/* 7220C0 802A10C0 0220802D */ daddu $s0, $s1, $zero -/* 7220C4 802A10C4 24140017 */ addiu $s4, $zero, 0x17 -/* 7220C8 802A10C8 3C0141F0 */ lui $at, 0x41f0 -/* 7220CC 802A10CC 4481C000 */ mtc1 $at, $f24 -/* 7220D0 802A10D0 24110001 */ addiu $s1, $zero, 1 -.L802A10D4: -/* 7220D4 802A10D4 C6600144 */ lwc1 $f0, 0x144($s3) -/* 7220D8 802A10D8 C662014C */ lwc1 $f2, 0x14c($s3) -/* 7220DC 802A10DC 4600A10D */ trunc.w.s $f4, $f20 -/* 7220E0 802A10E0 E7A40018 */ swc1 $f4, 0x18($sp) -/* 7220E4 802A10E4 24040157 */ addiu $a0, $zero, 0x157 -/* 7220E8 802A10E8 AFB10014 */ sw $s1, 0x14($sp) -/* 7220EC 802A10EC 26310003 */ addiu $s1, $s1, 3 -/* 7220F0 802A10F0 26100001 */ addiu $s0, $s0, 1 -/* 7220F4 802A10F4 4406B000 */ mfc1 $a2, $f22 -/* 7220F8 802A10F8 44050000 */ mfc1 $a1, $f0 -/* 7220FC 802A10FC 44071000 */ mfc1 $a3, $f2 -/* 722100 802A1100 4618A500 */ add.s $f20, $f20, $f24 -/* 722104 802A1104 AFB40010 */ sw $s4, 0x10($sp) -/* 722108 802A1108 0C04C4FD */ jal make_item_entity -/* 72210C 802A110C AFA0001C */ sw $zero, 0x1c($sp) -/* 722110 802A1110 0C03A830 */ jal add_coins -/* 722114 802A1114 24040001 */ addiu $a0, $zero, 1 -/* 722118 802A1118 0212102A */ slt $v0, $s0, $s2 -/* 72211C 802A111C 1440FFED */ bnez $v0, .L802A10D4 -/* 722120 802A1120 00000000 */ nop -.L802A1124: -/* 722124 802A1124 00101040 */ sll $v0, $s0, 1 -/* 722128 802A1128 00501021 */ addu $v0, $v0, $s0 -/* 72212C 802A112C 2451001E */ addiu $s1, $v0, 0x1e -/* 722130 802A1130 C6600144 */ lwc1 $f0, 0x144($s3) -/* 722134 802A1134 C6760148 */ lwc1 $f22, 0x148($s3) -/* 722138 802A1138 C662014C */ lwc1 $f2, 0x14c($s3) -/* 72213C 802A113C 3C048007 */ lui $a0, %hi(gCurrentCameraID) -/* 722140 802A1140 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0) -/* 722144 802A1144 27A20020 */ addiu $v0, $sp, 0x20 -/* 722148 802A1148 AFA20010 */ sw $v0, 0x10($sp) -/* 72214C 802A114C 27A20024 */ addiu $v0, $sp, 0x24 -/* 722150 802A1150 AFA20014 */ sw $v0, 0x14($sp) -/* 722154 802A1154 44050000 */ mfc1 $a1, $f0 -/* 722158 802A1158 4406B000 */ mfc1 $a2, $f22 -/* 72215C 802A115C 44071000 */ mfc1 $a3, $f2 -/* 722160 802A1160 27A20028 */ addiu $v0, $sp, 0x28 -/* 722164 802A1164 0C00B94E */ jal get_screen_coords -/* 722168 802A1168 AFA20018 */ sw $v0, 0x18($sp) -/* 72216C 802A116C 3C048011 */ lui $a0, %hi(D_80108A64) -/* 722170 802A1170 24848A64 */ addiu $a0, $a0, %lo(D_80108A64) -/* 722174 802A1174 0C050529 */ jal create_icon -/* 722178 802A1178 00000000 */ nop -/* 72217C 802A117C 8FA50020 */ lw $a1, 0x20($sp) -/* 722180 802A1180 8FA60024 */ lw $a2, 0x24($sp) -/* 722184 802A1184 0040202D */ daddu $a0, $v0, $zero -/* 722188 802A1188 3C01802A */ lui $at, %hi(D_802A1B40) -/* 72218C 802A118C AC241B40 */ sw $a0, %lo(D_802A1B40)($at) -/* 722190 802A1190 24A50024 */ addiu $a1, $a1, 0x24 -/* 722194 802A1194 0C051261 */ jal set_icon_render_pos -/* 722198 802A1198 24C6FFC1 */ addiu $a2, $a2, -0x3f -.L802A119C: -/* 72219C 802A119C AEB10084 */ sw $s1, 0x84($s5) -.L802A11A0: -/* 7221A0 802A11A0 8FBF0048 */ lw $ra, 0x48($sp) -/* 7221A4 802A11A4 8FB50044 */ lw $s5, 0x44($sp) -/* 7221A8 802A11A8 8FB40040 */ lw $s4, 0x40($sp) -/* 7221AC 802A11AC 8FB3003C */ lw $s3, 0x3c($sp) -/* 7221B0 802A11B0 8FB20038 */ lw $s2, 0x38($sp) -/* 7221B4 802A11B4 8FB10034 */ lw $s1, 0x34($sp) -/* 7221B8 802A11B8 8FB00030 */ lw $s0, 0x30($sp) -/* 7221BC 802A11BC D7B80060 */ ldc1 $f24, 0x60($sp) -/* 7221C0 802A11C0 D7B60058 */ ldc1 $f22, 0x58($sp) -/* 7221C4 802A11C4 D7B40050 */ ldc1 $f20, 0x50($sp) -/* 7221C8 802A11C8 24020002 */ addiu $v0, $zero, 2 -/* 7221CC 802A11CC 03E00008 */ jr $ra -/* 7221D0 802A11D0 27BD0068 */ addiu $sp, $sp, 0x68 diff --git a/ver/us/asm/nonmatchings/code_722000/func_802A11D4_7221D4.s b/ver/us/asm/nonmatchings/code_722000/func_802A11D4_7221D4.s deleted file mode 100644 index 7beb1dce15..0000000000 --- a/ver/us/asm/nonmatchings/code_722000/func_802A11D4_7221D4.s +++ /dev/null @@ -1,31 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A11D4_7221D4 -/* 7221D4 802A11D4 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 7221D8 802A11D8 3C03800E */ lui $v1, %hi(gBattleStatus) -/* 7221DC 802A11DC 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus) -/* 7221E0 802A11E0 AFBF0014 */ sw $ra, 0x14($sp) -/* 7221E4 802A11E4 AFB00010 */ sw $s0, 0x10($sp) -/* 7221E8 802A11E8 8462017A */ lh $v0, 0x17a($v1) -/* 7221EC 802A11EC 8C6400D8 */ lw $a0, 0xd8($v1) -/* 7221F0 802A11F0 00021140 */ sll $v0, $v0, 5 -/* 7221F4 802A11F4 3C108008 */ lui $s0, %hi(gItemTable+0xC) -/* 7221F8 802A11F8 02028021 */ addu $s0, $s0, $v0 -/* 7221FC 802A11FC 861078EC */ lh $s0, %lo(gItemTable+0xC)($s0) -/* 722200 802A1200 0C099CAB */ jal heroes_is_ability_active -/* 722204 802A1204 2405001D */ addiu $a1, $zero, 0x1d -/* 722208 802A1208 10400007 */ beqz $v0, .L802A1228 -/* 72220C 802A120C 00000000 */ nop -/* 722210 802A1210 1A000005 */ blez $s0, .L802A1228 -/* 722214 802A1214 00000000 */ nop -/* 722218 802A1218 3C04802A */ lui $a0, %hi(D_802A1B40) -/* 72221C 802A121C 8C841B40 */ lw $a0, %lo(D_802A1B40)($a0) -/* 722220 802A1220 0C05123D */ jal free_icon -/* 722224 802A1224 00000000 */ nop -.L802A1228: -/* 722228 802A1228 8FBF0014 */ lw $ra, 0x14($sp) -/* 72222C 802A122C 8FB00010 */ lw $s0, 0x10($sp) -/* 722230 802A1230 24020002 */ addiu $v0, $zero, 2 -/* 722234 802A1234 03E00008 */ jr $ra -/* 722238 802A1238 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/ver/us/asm/nonmatchings/code_722000/func_802A123C_72223C.s b/ver/us/asm/nonmatchings/code_722000/func_802A123C_72223C.s deleted file mode 100644 index ebbe7fac6c..0000000000 --- a/ver/us/asm/nonmatchings/code_722000/func_802A123C_72223C.s +++ /dev/null @@ -1,44 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A123C_72223C -/* 72223C 802A123C 27BDFFE0 */ addiu $sp, $sp, -0x20 -/* 722240 802A1240 AFBF0018 */ sw $ra, 0x18($sp) -/* 722244 802A1244 AFB10014 */ sw $s1, 0x14($sp) -/* 722248 802A1248 AFB00010 */ sw $s0, 0x10($sp) -/* 72224C 802A124C 8C82000C */ lw $v0, 0xc($a0) -/* 722250 802A1250 0C0B1EAF */ jal get_variable -/* 722254 802A1254 8C450000 */ lw $a1, ($v0) -/* 722258 802A1258 0C09A75B */ jal get_actor -/* 72225C 802A125C 0040202D */ daddu $a0, $v0, $zero -/* 722260 802A1260 0040802D */ daddu $s0, $v0, $zero -/* 722264 802A1264 96020192 */ lhu $v0, 0x192($s0) -/* 722268 802A1268 82030210 */ lb $v1, 0x210($s0) -/* 72226C 802A126C 10600005 */ beqz $v1, .L802A1284 -/* 722270 802A1270 30510700 */ andi $s1, $v0, 0x700 -/* 722274 802A1274 86040436 */ lh $a0, 0x436($s0) -/* 722278 802A1278 A2000211 */ sb $zero, 0x211($s0) -/* 72227C 802A127C 0C011E26 */ jal func_80047898 -/* 722280 802A1280 A2000210 */ sb $zero, 0x210($s0) -.L802A1284: -/* 722284 802A1284 82020216 */ lb $v0, 0x216($s0) -/* 722288 802A1288 1040000C */ beqz $v0, .L802A12BC -/* 72228C 802A128C 00000000 */ nop -/* 722290 802A1290 A2000217 */ sb $zero, 0x217($s0) -/* 722294 802A1294 12200006 */ beqz $s1, .L802A12B0 -/* 722298 802A1298 A2000216 */ sb $zero, 0x216($s0) -/* 72229C 802A129C 24020100 */ addiu $v0, $zero, 0x100 -/* 7222A0 802A12A0 16220003 */ bne $s1, $v0, .L802A12B0 -/* 7222A4 802A12A4 00000000 */ nop -/* 7222A8 802A12A8 0C09F7A0 */ jal dispatch_event_partner -/* 7222AC 802A12AC 24040031 */ addiu $a0, $zero, 0x31 -.L802A12B0: -/* 7222B0 802A12B0 8E020440 */ lw $v0, 0x440($s0) -/* 7222B4 802A12B4 8C42000C */ lw $v0, 0xc($v0) -/* 7222B8 802A12B8 AC40003C */ sw $zero, 0x3c($v0) -.L802A12BC: -/* 7222BC 802A12BC 8FBF0018 */ lw $ra, 0x18($sp) -/* 7222C0 802A12C0 8FB10014 */ lw $s1, 0x14($sp) -/* 7222C4 802A12C4 8FB00010 */ lw $s0, 0x10($sp) -/* 7222C8 802A12C8 24020002 */ addiu $v0, $zero, 2 -/* 7222CC 802A12CC 03E00008 */ jr $ra diff --git a/ver/us/asm/nonmatchings/code_722B40/func_802A1000_722B40.s b/ver/us/asm/nonmatchings/code_722B40/func_802A1000_722B40.s deleted file mode 100644 index cc90b937a8..0000000000 --- a/ver/us/asm/nonmatchings/code_722B40/func_802A1000_722B40.s +++ /dev/null @@ -1,125 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A1000_722B40 -/* 722B40 802A1000 27BDFF98 */ addiu $sp, $sp, -0x68 -/* 722B44 802A1004 AFB50044 */ sw $s5, 0x44($sp) -/* 722B48 802A1008 0080A82D */ daddu $s5, $a0, $zero -/* 722B4C 802A100C AFB10034 */ sw $s1, 0x34($sp) -/* 722B50 802A1010 0000882D */ daddu $s1, $zero, $zero -/* 722B54 802A1014 2405001D */ addiu $a1, $zero, 0x1d -/* 722B58 802A1018 F7B40050 */ sdc1 $f20, 0x50($sp) -/* 722B5C 802A101C 4480A000 */ mtc1 $zero, $f20 -/* 722B60 802A1020 3C02800E */ lui $v0, %hi(gBattleStatus) -/* 722B64 802A1024 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus) -/* 722B68 802A1028 AFBF0048 */ sw $ra, 0x48($sp) -/* 722B6C 802A102C AFB40040 */ sw $s4, 0x40($sp) -/* 722B70 802A1030 AFB3003C */ sw $s3, 0x3c($sp) -/* 722B74 802A1034 AFB20038 */ sw $s2, 0x38($sp) -/* 722B78 802A1038 AFB00030 */ sw $s0, 0x30($sp) -/* 722B7C 802A103C F7B80060 */ sdc1 $f24, 0x60($sp) -/* 722B80 802A1040 F7B60058 */ sdc1 $f22, 0x58($sp) -/* 722B84 802A1044 8C5300D8 */ lw $s3, 0xd8($v0) -/* 722B88 802A1048 8442017A */ lh $v0, 0x17a($v0) -/* 722B8C 802A104C 0260202D */ daddu $a0, $s3, $zero -/* 722B90 802A1050 00021140 */ sll $v0, $v0, 5 -/* 722B94 802A1054 3C128008 */ lui $s2, %hi(gItemTable+0xC) -/* 722B98 802A1058 02429021 */ addu $s2, $s2, $v0 -/* 722B9C 802A105C 865278EC */ lh $s2, %lo(gItemTable+0xC)($s2) -/* 722BA0 802A1060 92620191 */ lbu $v0, 0x191($s3) -/* 722BA4 802A1064 C6620148 */ lwc1 $f2, 0x148($s3) -/* 722BA8 802A1068 44820000 */ mtc1 $v0, $f0 -/* 722BAC 802A106C 00000000 */ nop -/* 722BB0 802A1070 46800020 */ cvt.s.w $f0, $f0 -/* 722BB4 802A1074 0C099CAB */ jal heroes_is_ability_active -/* 722BB8 802A1078 46001580 */ add.s $f22, $f2, $f0 -/* 722BBC 802A107C 50400048 */ beql $v0, $zero, .L802A11A0 -/* 722BC0 802A1080 AEB10084 */ sw $s1, 0x84($s5) -/* 722BC4 802A1084 1A400045 */ blez $s2, .L802A119C -/* 722BC8 802A1088 3C0451EB */ lui $a0, 0x51eb -/* 722BCC 802A108C 3484851F */ ori $a0, $a0, 0x851f -/* 722BD0 802A1090 00121880 */ sll $v1, $s2, 2 -/* 722BD4 802A1094 00721821 */ addu $v1, $v1, $s2 -/* 722BD8 802A1098 00031100 */ sll $v0, $v1, 4 -/* 722BDC 802A109C 00431023 */ subu $v0, $v0, $v1 -/* 722BE0 802A10A0 24420063 */ addiu $v0, $v0, 0x63 -/* 722BE4 802A10A4 00440018 */ mult $v0, $a0 -/* 722BE8 802A10A8 000217C3 */ sra $v0, $v0, 0x1f -/* 722BEC 802A10AC 00004010 */ mfhi $t0 -/* 722BF0 802A10B0 00081943 */ sra $v1, $t0, 5 -/* 722BF4 802A10B4 00629023 */ subu $s2, $v1, $v0 -/* 722BF8 802A10B8 0232102A */ slt $v0, $s1, $s2 -/* 722BFC 802A10BC 10400019 */ beqz $v0, .L802A1124 -/* 722C00 802A10C0 0220802D */ daddu $s0, $s1, $zero -/* 722C04 802A10C4 24140017 */ addiu $s4, $zero, 0x17 -/* 722C08 802A10C8 3C0141F0 */ lui $at, 0x41f0 -/* 722C0C 802A10CC 4481C000 */ mtc1 $at, $f24 -/* 722C10 802A10D0 24110001 */ addiu $s1, $zero, 1 -.L802A10D4: -/* 722C14 802A10D4 C6600144 */ lwc1 $f0, 0x144($s3) -/* 722C18 802A10D8 C662014C */ lwc1 $f2, 0x14c($s3) -/* 722C1C 802A10DC 4600A10D */ trunc.w.s $f4, $f20 -/* 722C20 802A10E0 E7A40018 */ swc1 $f4, 0x18($sp) -/* 722C24 802A10E4 24040157 */ addiu $a0, $zero, 0x157 -/* 722C28 802A10E8 AFB10014 */ sw $s1, 0x14($sp) -/* 722C2C 802A10EC 26310003 */ addiu $s1, $s1, 3 -/* 722C30 802A10F0 26100001 */ addiu $s0, $s0, 1 -/* 722C34 802A10F4 4406B000 */ mfc1 $a2, $f22 -/* 722C38 802A10F8 44050000 */ mfc1 $a1, $f0 -/* 722C3C 802A10FC 44071000 */ mfc1 $a3, $f2 -/* 722C40 802A1100 4618A500 */ add.s $f20, $f20, $f24 -/* 722C44 802A1104 AFB40010 */ sw $s4, 0x10($sp) -/* 722C48 802A1108 0C04C4FD */ jal make_item_entity -/* 722C4C 802A110C AFA0001C */ sw $zero, 0x1c($sp) -/* 722C50 802A1110 0C03A830 */ jal add_coins -/* 722C54 802A1114 24040001 */ addiu $a0, $zero, 1 -/* 722C58 802A1118 0212102A */ slt $v0, $s0, $s2 -/* 722C5C 802A111C 1440FFED */ bnez $v0, .L802A10D4 -/* 722C60 802A1120 00000000 */ nop -.L802A1124: -/* 722C64 802A1124 00101040 */ sll $v0, $s0, 1 -/* 722C68 802A1128 00501021 */ addu $v0, $v0, $s0 -/* 722C6C 802A112C 2451001E */ addiu $s1, $v0, 0x1e -/* 722C70 802A1130 C6600144 */ lwc1 $f0, 0x144($s3) -/* 722C74 802A1134 C6760148 */ lwc1 $f22, 0x148($s3) -/* 722C78 802A1138 C662014C */ lwc1 $f2, 0x14c($s3) -/* 722C7C 802A113C 3C048007 */ lui $a0, %hi(gCurrentCameraID) -/* 722C80 802A1140 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0) -/* 722C84 802A1144 27A20020 */ addiu $v0, $sp, 0x20 -/* 722C88 802A1148 AFA20010 */ sw $v0, 0x10($sp) -/* 722C8C 802A114C 27A20024 */ addiu $v0, $sp, 0x24 -/* 722C90 802A1150 AFA20014 */ sw $v0, 0x14($sp) -/* 722C94 802A1154 44050000 */ mfc1 $a1, $f0 -/* 722C98 802A1158 4406B000 */ mfc1 $a2, $f22 -/* 722C9C 802A115C 44071000 */ mfc1 $a3, $f2 -/* 722CA0 802A1160 27A20028 */ addiu $v0, $sp, 0x28 -/* 722CA4 802A1164 0C00B94E */ jal get_screen_coords -/* 722CA8 802A1168 AFA20018 */ sw $v0, 0x18($sp) -/* 722CAC 802A116C 3C048011 */ lui $a0, %hi(D_80108A64) -/* 722CB0 802A1170 24848A64 */ addiu $a0, $a0, %lo(D_80108A64) -/* 722CB4 802A1174 0C050529 */ jal create_icon -/* 722CB8 802A1178 00000000 */ nop -/* 722CBC 802A117C 8FA50020 */ lw $a1, 0x20($sp) -/* 722CC0 802A1180 8FA60024 */ lw $a2, 0x24($sp) -/* 722CC4 802A1184 0040202D */ daddu $a0, $v0, $zero -/* 722CC8 802A1188 3C01802A */ lui $at, %hi(D_802A1C40) -/* 722CCC 802A118C AC241C40 */ sw $a0, %lo(D_802A1C40)($at) -/* 722CD0 802A1190 24A50024 */ addiu $a1, $a1, 0x24 -/* 722CD4 802A1194 0C051261 */ jal set_icon_render_pos -/* 722CD8 802A1198 24C6FFC1 */ addiu $a2, $a2, -0x3f -.L802A119C: -/* 722CDC 802A119C AEB10084 */ sw $s1, 0x84($s5) -.L802A11A0: -/* 722CE0 802A11A0 8FBF0048 */ lw $ra, 0x48($sp) -/* 722CE4 802A11A4 8FB50044 */ lw $s5, 0x44($sp) -/* 722CE8 802A11A8 8FB40040 */ lw $s4, 0x40($sp) -/* 722CEC 802A11AC 8FB3003C */ lw $s3, 0x3c($sp) -/* 722CF0 802A11B0 8FB20038 */ lw $s2, 0x38($sp) -/* 722CF4 802A11B4 8FB10034 */ lw $s1, 0x34($sp) -/* 722CF8 802A11B8 8FB00030 */ lw $s0, 0x30($sp) -/* 722CFC 802A11BC D7B80060 */ ldc1 $f24, 0x60($sp) -/* 722D00 802A11C0 D7B60058 */ ldc1 $f22, 0x58($sp) -/* 722D04 802A11C4 D7B40050 */ ldc1 $f20, 0x50($sp) -/* 722D08 802A11C8 24020002 */ addiu $v0, $zero, 2 -/* 722D0C 802A11CC 03E00008 */ jr $ra -/* 722D10 802A11D0 27BD0068 */ addiu $sp, $sp, 0x68 diff --git a/ver/us/asm/nonmatchings/code_722B40/func_802A11D4_722D14.s b/ver/us/asm/nonmatchings/code_722B40/func_802A11D4_722D14.s deleted file mode 100644 index b3e6542173..0000000000 --- a/ver/us/asm/nonmatchings/code_722B40/func_802A11D4_722D14.s +++ /dev/null @@ -1,31 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A11D4_722D14 -/* 722D14 802A11D4 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 722D18 802A11D8 3C03800E */ lui $v1, %hi(gBattleStatus) -/* 722D1C 802A11DC 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus) -/* 722D20 802A11E0 AFBF0014 */ sw $ra, 0x14($sp) -/* 722D24 802A11E4 AFB00010 */ sw $s0, 0x10($sp) -/* 722D28 802A11E8 8462017A */ lh $v0, 0x17a($v1) -/* 722D2C 802A11EC 8C6400D8 */ lw $a0, 0xd8($v1) -/* 722D30 802A11F0 00021140 */ sll $v0, $v0, 5 -/* 722D34 802A11F4 3C108008 */ lui $s0, %hi(gItemTable+0xC) -/* 722D38 802A11F8 02028021 */ addu $s0, $s0, $v0 -/* 722D3C 802A11FC 861078EC */ lh $s0, %lo(gItemTable+0xC)($s0) -/* 722D40 802A1200 0C099CAB */ jal heroes_is_ability_active -/* 722D44 802A1204 2405001D */ addiu $a1, $zero, 0x1d -/* 722D48 802A1208 10400007 */ beqz $v0, .L802A1228 -/* 722D4C 802A120C 00000000 */ nop -/* 722D50 802A1210 1A000005 */ blez $s0, .L802A1228 -/* 722D54 802A1214 00000000 */ nop -/* 722D58 802A1218 3C04802A */ lui $a0, %hi(D_802A1C40) -/* 722D5C 802A121C 8C841C40 */ lw $a0, %lo(D_802A1C40)($a0) -/* 722D60 802A1220 0C05123D */ jal free_icon -/* 722D64 802A1224 00000000 */ nop -.L802A1228: -/* 722D68 802A1228 8FBF0014 */ lw $ra, 0x14($sp) -/* 722D6C 802A122C 8FB00010 */ lw $s0, 0x10($sp) -/* 722D70 802A1230 24020002 */ addiu $v0, $zero, 2 -/* 722D74 802A1234 03E00008 */ jr $ra -/* 722D78 802A1238 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/ver/us/asm/nonmatchings/code_722B40/func_802A123C_722D7C.s b/ver/us/asm/nonmatchings/code_722B40/func_802A123C_722D7C.s deleted file mode 100644 index 85c4a5820c..0000000000 --- a/ver/us/asm/nonmatchings/code_722B40/func_802A123C_722D7C.s +++ /dev/null @@ -1,89 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A123C_722D7C -/* 722D7C 802A123C 27BDFFC0 */ addiu $sp, $sp, -0x40 -/* 722D80 802A1240 AFBF0024 */ sw $ra, 0x24($sp) -/* 722D84 802A1244 AFB20020 */ sw $s2, 0x20($sp) -/* 722D88 802A1248 AFB1001C */ sw $s1, 0x1c($sp) -/* 722D8C 802A124C AFB00018 */ sw $s0, 0x18($sp) -/* 722D90 802A1250 F7B80038 */ sdc1 $f24, 0x38($sp) -/* 722D94 802A1254 F7B60030 */ sdc1 $f22, 0x30($sp) -/* 722D98 802A1258 F7B40028 */ sdc1 $f20, 0x28($sp) -/* 722D9C 802A125C 0C09A75B */ jal get_actor -/* 722DA0 802A1260 8C840148 */ lw $a0, 0x148($a0) -/* 722DA4 802A1264 0C09A75B */ jal get_actor -/* 722DA8 802A1268 84440428 */ lh $a0, 0x428($v0) -/* 722DAC 802A126C 0040802D */ daddu $s0, $v0, $zero -/* 722DB0 802A1270 1200003C */ beqz $s0, .L802A1364 -/* 722DB4 802A1274 24020002 */ addiu $v0, $zero, 2 -/* 722DB8 802A1278 0C05272D */ jal play_sound -/* 722DBC 802A127C 24040366 */ addiu $a0, $zero, 0x366 -/* 722DC0 802A1280 3C03CCCC */ lui $v1, 0xcccc -/* 722DC4 802A1284 3463CCCD */ ori $v1, $v1, 0xcccd -/* 722DC8 802A1288 92040191 */ lbu $a0, 0x191($s0) -/* 722DCC 802A128C 92020190 */ lbu $v0, 0x190($s0) -/* 722DD0 802A1290 00830019 */ multu $a0, $v1 -/* 722DD4 802A1294 C6000188 */ lwc1 $f0, 0x188($s0) -/* 722DD8 802A1298 00021882 */ srl $v1, $v0, 2 -/* 722DDC 802A129C 00431021 */ addu $v0, $v0, $v1 -/* 722DE0 802A12A0 44823000 */ mtc1 $v0, $f6 -/* 722DE4 802A12A4 00000000 */ nop -/* 722DE8 802A12A8 468031A0 */ cvt.s.w $f6, $f6 -/* 722DEC 802A12AC 46003182 */ mul.s $f6, $f6, $f0 -/* 722DF0 802A12B0 00000000 */ nop -/* 722DF4 802A12B4 2482FFFE */ addiu $v0, $a0, -2 -/* 722DF8 802A12B8 44822000 */ mtc1 $v0, $f4 -/* 722DFC 802A12BC 00000000 */ nop -/* 722E00 802A12C0 46802120 */ cvt.s.w $f4, $f4 -/* 722E04 802A12C4 46002102 */ mul.s $f4, $f4, $f0 -/* 722E08 802A12C8 00000000 */ nop -/* 722E0C 802A12CC C6020148 */ lwc1 $f2, 0x148($s0) -/* 722E10 802A12D0 C6160144 */ lwc1 $f22, 0x144($s0) -/* 722E14 802A12D4 C618014C */ lwc1 $f24, 0x14c($s0) -/* 722E18 802A12D8 00004010 */ mfhi $t0 -/* 722E1C 802A12DC 000810C2 */ srl $v0, $t0, 3 -/* 722E20 802A12E0 304200FF */ andi $v0, $v0, 0xff -/* 722E24 802A12E4 44820000 */ mtc1 $v0, $f0 -/* 722E28 802A12E8 00000000 */ nop -/* 722E2C 802A12EC 46800020 */ cvt.s.w $f0, $f0 -/* 722E30 802A12F0 4600320D */ trunc.w.s $f8, $f6 -/* 722E34 802A12F4 44114000 */ mfc1 $s1, $f8 -/* 722E38 802A12F8 4600220D */ trunc.w.s $f8, $f4 -/* 722E3C 802A12FC 44124000 */ mfc1 $s2, $f8 -/* 722E40 802A1300 8E020000 */ lw $v0, ($s0) -/* 722E44 802A1304 30428000 */ andi $v0, $v0, 0x8000 -/* 722E48 802A1308 10400006 */ beqz $v0, .L802A1324 -/* 722E4C 802A130C 46001500 */ add.s $f20, $f2, $f0 -/* 722E50 802A1310 00041042 */ srl $v0, $a0, 1 -/* 722E54 802A1314 44820000 */ mtc1 $v0, $f0 -/* 722E58 802A1318 00000000 */ nop -/* 722E5C 802A131C 46800020 */ cvt.s.w $f0, $f0 -/* 722E60 802A1320 4600A501 */ sub.s $f20, $f20, $f0 -.L802A1324: -/* 722E64 802A1324 0C00A67F */ jal rand_int -/* 722E68 802A1328 24040002 */ addiu $a0, $zero, 2 -/* 722E6C 802A132C 24440003 */ addiu $a0, $v0, 3 -/* 722E70 802A1330 4405B000 */ mfc1 $a1, $f22 -/* 722E74 802A1334 4406A000 */ mfc1 $a2, $f20 -/* 722E78 802A1338 4407C000 */ mfc1 $a3, $f24 -/* 722E7C 802A133C 44910000 */ mtc1 $s1, $f0 -/* 722E80 802A1340 00000000 */ nop -/* 722E84 802A1344 46800020 */ cvt.s.w $f0, $f0 -/* 722E88 802A1348 E7A00010 */ swc1 $f0, 0x10($sp) -/* 722E8C 802A134C 44920000 */ mtc1 $s2, $f0 -/* 722E90 802A1350 00000000 */ nop -/* 722E94 802A1354 46800020 */ cvt.s.w $f0, $f0 -/* 722E98 802A1358 0C01C334 */ jal func_80070CD0 -/* 722E9C 802A135C E7A00014 */ swc1 $f0, 0x14($sp) -/* 722EA0 802A1360 24020002 */ addiu $v0, $zero, 2 -.L802A1364: -/* 722EA4 802A1364 8FBF0024 */ lw $ra, 0x24($sp) -/* 722EA8 802A1368 8FB20020 */ lw $s2, 0x20($sp) -/* 722EAC 802A136C 8FB1001C */ lw $s1, 0x1c($sp) -/* 722EB0 802A1370 8FB00018 */ lw $s0, 0x18($sp) -/* 722EB4 802A1374 D7B80038 */ ldc1 $f24, 0x38($sp) -/* 722EB8 802A1378 D7B60030 */ ldc1 $f22, 0x30($sp) -/* 722EBC 802A137C D7B40028 */ ldc1 $f20, 0x28($sp) -/* 722EC0 802A1380 03E00008 */ jr $ra -/* 722EC4 802A1384 27BD0040 */ addiu $sp, $sp, 0x40 diff --git a/ver/us/asm/nonmatchings/code_722B40/func_802A1420_722F60.s b/ver/us/asm/nonmatchings/code_722B40/func_802A1420_722F60.s deleted file mode 100644 index 0ad3832e8c..0000000000 --- a/ver/us/asm/nonmatchings/code_722B40/func_802A1420_722F60.s +++ /dev/null @@ -1,39 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A1420_722F60 -/* 722F60 802A1420 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 722F64 802A1424 AFB00010 */ sw $s0, 0x10($sp) -/* 722F68 802A1428 0080802D */ daddu $s0, $a0, $zero -/* 722F6C 802A142C 10A00003 */ beqz $a1, .L802A143C -/* 722F70 802A1430 AFBF0014 */ sw $ra, 0x14($sp) -/* 722F74 802A1434 24020014 */ addiu $v0, $zero, 0x14 -/* 722F78 802A1438 AE020070 */ sw $v0, 0x70($s0) -.L802A143C: -/* 722F7C 802A143C 0000202D */ daddu $a0, $zero, $zero -/* 722F80 802A1440 0080282D */ daddu $a1, $a0, $zero -/* 722F84 802A1444 8E020070 */ lw $v0, 0x70($s0) -/* 722F88 802A1448 0080302D */ daddu $a2, $a0, $zero -/* 722F8C 802A144C 00023880 */ sll $a3, $v0, 2 -/* 722F90 802A1450 00E23821 */ addu $a3, $a3, $v0 -/* 722F94 802A1454 00073840 */ sll $a3, $a3, 1 -/* 722F98 802A1458 0C046F97 */ jal set_background_color_blend -/* 722F9C 802A145C 30E700FE */ andi $a3, $a3, 0xfe -/* 722FA0 802A1460 8E020070 */ lw $v0, 0x70($s0) -/* 722FA4 802A1464 2442FFFF */ addiu $v0, $v0, -1 -/* 722FA8 802A1468 10400003 */ beqz $v0, .L802A1478 -/* 722FAC 802A146C AE020070 */ sw $v0, 0x70($s0) -/* 722FB0 802A1470 080A8524 */ j .L802A1490 -/* 722FB4 802A1474 0000102D */ daddu $v0, $zero, $zero -.L802A1478: -/* 722FB8 802A1478 0000202D */ daddu $a0, $zero, $zero -/* 722FBC 802A147C 0080282D */ daddu $a1, $a0, $zero -/* 722FC0 802A1480 0080302D */ daddu $a2, $a0, $zero -/* 722FC4 802A1484 0C046F97 */ jal set_background_color_blend -/* 722FC8 802A1488 0080382D */ daddu $a3, $a0, $zero -/* 722FCC 802A148C 24020002 */ addiu $v0, $zero, 2 -.L802A1490: -/* 722FD0 802A1490 8FBF0014 */ lw $ra, 0x14($sp) -/* 722FD4 802A1494 8FB00010 */ lw $s0, 0x10($sp) -/* 722FD8 802A1498 03E00008 */ jr $ra -/* 722FDC 802A149C 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/ver/us/asm/nonmatchings/code_723780/func_802A1000_723780.s b/ver/us/asm/nonmatchings/code_723780/func_802A1000_723780.s deleted file mode 100644 index 6a1411db6a..0000000000 --- a/ver/us/asm/nonmatchings/code_723780/func_802A1000_723780.s +++ /dev/null @@ -1,125 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A1000_723780 -/* 723780 802A1000 27BDFF98 */ addiu $sp, $sp, -0x68 -/* 723784 802A1004 AFB50044 */ sw $s5, 0x44($sp) -/* 723788 802A1008 0080A82D */ daddu $s5, $a0, $zero -/* 72378C 802A100C AFB10034 */ sw $s1, 0x34($sp) -/* 723790 802A1010 0000882D */ daddu $s1, $zero, $zero -/* 723794 802A1014 2405001D */ addiu $a1, $zero, 0x1d -/* 723798 802A1018 F7B40050 */ sdc1 $f20, 0x50($sp) -/* 72379C 802A101C 4480A000 */ mtc1 $zero, $f20 -/* 7237A0 802A1020 3C02800E */ lui $v0, %hi(gBattleStatus) -/* 7237A4 802A1024 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus) -/* 7237A8 802A1028 AFBF0048 */ sw $ra, 0x48($sp) -/* 7237AC 802A102C AFB40040 */ sw $s4, 0x40($sp) -/* 7237B0 802A1030 AFB3003C */ sw $s3, 0x3c($sp) -/* 7237B4 802A1034 AFB20038 */ sw $s2, 0x38($sp) -/* 7237B8 802A1038 AFB00030 */ sw $s0, 0x30($sp) -/* 7237BC 802A103C F7B80060 */ sdc1 $f24, 0x60($sp) -/* 7237C0 802A1040 F7B60058 */ sdc1 $f22, 0x58($sp) -/* 7237C4 802A1044 8C5300D8 */ lw $s3, 0xd8($v0) -/* 7237C8 802A1048 8442017A */ lh $v0, 0x17a($v0) -/* 7237CC 802A104C 0260202D */ daddu $a0, $s3, $zero -/* 7237D0 802A1050 00021140 */ sll $v0, $v0, 5 -/* 7237D4 802A1054 3C128008 */ lui $s2, %hi(gItemTable+0xC) -/* 7237D8 802A1058 02429021 */ addu $s2, $s2, $v0 -/* 7237DC 802A105C 865278EC */ lh $s2, %lo(gItemTable+0xC)($s2) -/* 7237E0 802A1060 92620191 */ lbu $v0, 0x191($s3) -/* 7237E4 802A1064 C6620148 */ lwc1 $f2, 0x148($s3) -/* 7237E8 802A1068 44820000 */ mtc1 $v0, $f0 -/* 7237EC 802A106C 00000000 */ nop -/* 7237F0 802A1070 46800020 */ cvt.s.w $f0, $f0 -/* 7237F4 802A1074 0C099CAB */ jal heroes_is_ability_active -/* 7237F8 802A1078 46001580 */ add.s $f22, $f2, $f0 -/* 7237FC 802A107C 50400048 */ beql $v0, $zero, .L802A11A0 -/* 723800 802A1080 AEB10084 */ sw $s1, 0x84($s5) -/* 723804 802A1084 1A400045 */ blez $s2, .L802A119C -/* 723808 802A1088 3C0451EB */ lui $a0, 0x51eb -/* 72380C 802A108C 3484851F */ ori $a0, $a0, 0x851f -/* 723810 802A1090 00121880 */ sll $v1, $s2, 2 -/* 723814 802A1094 00721821 */ addu $v1, $v1, $s2 -/* 723818 802A1098 00031100 */ sll $v0, $v1, 4 -/* 72381C 802A109C 00431023 */ subu $v0, $v0, $v1 -/* 723820 802A10A0 24420063 */ addiu $v0, $v0, 0x63 -/* 723824 802A10A4 00440018 */ mult $v0, $a0 -/* 723828 802A10A8 000217C3 */ sra $v0, $v0, 0x1f -/* 72382C 802A10AC 00004010 */ mfhi $t0 -/* 723830 802A10B0 00081943 */ sra $v1, $t0, 5 -/* 723834 802A10B4 00629023 */ subu $s2, $v1, $v0 -/* 723838 802A10B8 0232102A */ slt $v0, $s1, $s2 -/* 72383C 802A10BC 10400019 */ beqz $v0, .L802A1124 -/* 723840 802A10C0 0220802D */ daddu $s0, $s1, $zero -/* 723844 802A10C4 24140017 */ addiu $s4, $zero, 0x17 -/* 723848 802A10C8 3C0141F0 */ lui $at, 0x41f0 -/* 72384C 802A10CC 4481C000 */ mtc1 $at, $f24 -/* 723850 802A10D0 24110001 */ addiu $s1, $zero, 1 -.L802A10D4: -/* 723854 802A10D4 C6600144 */ lwc1 $f0, 0x144($s3) -/* 723858 802A10D8 C662014C */ lwc1 $f2, 0x14c($s3) -/* 72385C 802A10DC 4600A10D */ trunc.w.s $f4, $f20 -/* 723860 802A10E0 E7A40018 */ swc1 $f4, 0x18($sp) -/* 723864 802A10E4 24040157 */ addiu $a0, $zero, 0x157 -/* 723868 802A10E8 AFB10014 */ sw $s1, 0x14($sp) -/* 72386C 802A10EC 26310003 */ addiu $s1, $s1, 3 -/* 723870 802A10F0 26100001 */ addiu $s0, $s0, 1 -/* 723874 802A10F4 4406B000 */ mfc1 $a2, $f22 -/* 723878 802A10F8 44050000 */ mfc1 $a1, $f0 -/* 72387C 802A10FC 44071000 */ mfc1 $a3, $f2 -/* 723880 802A1100 4618A500 */ add.s $f20, $f20, $f24 -/* 723884 802A1104 AFB40010 */ sw $s4, 0x10($sp) -/* 723888 802A1108 0C04C4FD */ jal make_item_entity -/* 72388C 802A110C AFA0001C */ sw $zero, 0x1c($sp) -/* 723890 802A1110 0C03A830 */ jal add_coins -/* 723894 802A1114 24040001 */ addiu $a0, $zero, 1 -/* 723898 802A1118 0212102A */ slt $v0, $s0, $s2 -/* 72389C 802A111C 1440FFED */ bnez $v0, .L802A10D4 -/* 7238A0 802A1120 00000000 */ nop -.L802A1124: -/* 7238A4 802A1124 00101040 */ sll $v0, $s0, 1 -/* 7238A8 802A1128 00501021 */ addu $v0, $v0, $s0 -/* 7238AC 802A112C 2451001E */ addiu $s1, $v0, 0x1e -/* 7238B0 802A1130 C6600144 */ lwc1 $f0, 0x144($s3) -/* 7238B4 802A1134 C6760148 */ lwc1 $f22, 0x148($s3) -/* 7238B8 802A1138 C662014C */ lwc1 $f2, 0x14c($s3) -/* 7238BC 802A113C 3C048007 */ lui $a0, %hi(gCurrentCameraID) -/* 7238C0 802A1140 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0) -/* 7238C4 802A1144 27A20020 */ addiu $v0, $sp, 0x20 -/* 7238C8 802A1148 AFA20010 */ sw $v0, 0x10($sp) -/* 7238CC 802A114C 27A20024 */ addiu $v0, $sp, 0x24 -/* 7238D0 802A1150 AFA20014 */ sw $v0, 0x14($sp) -/* 7238D4 802A1154 44050000 */ mfc1 $a1, $f0 -/* 7238D8 802A1158 4406B000 */ mfc1 $a2, $f22 -/* 7238DC 802A115C 44071000 */ mfc1 $a3, $f2 -/* 7238E0 802A1160 27A20028 */ addiu $v0, $sp, 0x28 -/* 7238E4 802A1164 0C00B94E */ jal get_screen_coords -/* 7238E8 802A1168 AFA20018 */ sw $v0, 0x18($sp) -/* 7238EC 802A116C 3C048011 */ lui $a0, %hi(D_80108A64) -/* 7238F0 802A1170 24848A64 */ addiu $a0, $a0, %lo(D_80108A64) -/* 7238F4 802A1174 0C050529 */ jal create_icon -/* 7238F8 802A1178 00000000 */ nop -/* 7238FC 802A117C 8FA50020 */ lw $a1, 0x20($sp) -/* 723900 802A1180 8FA60024 */ lw $a2, 0x24($sp) -/* 723904 802A1184 0040202D */ daddu $a0, $v0, $zero -/* 723908 802A1188 3C01802A */ lui $at, %hi(D_802A1AC0) -/* 72390C 802A118C AC241AC0 */ sw $a0, %lo(D_802A1AC0)($at) -/* 723910 802A1190 24A50024 */ addiu $a1, $a1, 0x24 -/* 723914 802A1194 0C051261 */ jal set_icon_render_pos -/* 723918 802A1198 24C6FFC1 */ addiu $a2, $a2, -0x3f -.L802A119C: -/* 72391C 802A119C AEB10084 */ sw $s1, 0x84($s5) -.L802A11A0: -/* 723920 802A11A0 8FBF0048 */ lw $ra, 0x48($sp) -/* 723924 802A11A4 8FB50044 */ lw $s5, 0x44($sp) -/* 723928 802A11A8 8FB40040 */ lw $s4, 0x40($sp) -/* 72392C 802A11AC 8FB3003C */ lw $s3, 0x3c($sp) -/* 723930 802A11B0 8FB20038 */ lw $s2, 0x38($sp) -/* 723934 802A11B4 8FB10034 */ lw $s1, 0x34($sp) -/* 723938 802A11B8 8FB00030 */ lw $s0, 0x30($sp) -/* 72393C 802A11BC D7B80060 */ ldc1 $f24, 0x60($sp) -/* 723940 802A11C0 D7B60058 */ ldc1 $f22, 0x58($sp) -/* 723944 802A11C4 D7B40050 */ ldc1 $f20, 0x50($sp) -/* 723948 802A11C8 24020002 */ addiu $v0, $zero, 2 -/* 72394C 802A11CC 03E00008 */ jr $ra -/* 723950 802A11D0 27BD0068 */ addiu $sp, $sp, 0x68 diff --git a/ver/us/asm/nonmatchings/code_723780/func_802A11D4_723954.s b/ver/us/asm/nonmatchings/code_723780/func_802A11D4_723954.s deleted file mode 100644 index d88655f519..0000000000 --- a/ver/us/asm/nonmatchings/code_723780/func_802A11D4_723954.s +++ /dev/null @@ -1,31 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A11D4_723954 -/* 723954 802A11D4 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 723958 802A11D8 3C03800E */ lui $v1, %hi(gBattleStatus) -/* 72395C 802A11DC 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus) -/* 723960 802A11E0 AFBF0014 */ sw $ra, 0x14($sp) -/* 723964 802A11E4 AFB00010 */ sw $s0, 0x10($sp) -/* 723968 802A11E8 8462017A */ lh $v0, 0x17a($v1) -/* 72396C 802A11EC 8C6400D8 */ lw $a0, 0xd8($v1) -/* 723970 802A11F0 00021140 */ sll $v0, $v0, 5 -/* 723974 802A11F4 3C108008 */ lui $s0, %hi(gItemTable+0xC) -/* 723978 802A11F8 02028021 */ addu $s0, $s0, $v0 -/* 72397C 802A11FC 861078EC */ lh $s0, %lo(gItemTable+0xC)($s0) -/* 723980 802A1200 0C099CAB */ jal heroes_is_ability_active -/* 723984 802A1204 2405001D */ addiu $a1, $zero, 0x1d -/* 723988 802A1208 10400007 */ beqz $v0, .L802A1228 -/* 72398C 802A120C 00000000 */ nop -/* 723990 802A1210 1A000005 */ blez $s0, .L802A1228 -/* 723994 802A1214 00000000 */ nop -/* 723998 802A1218 3C04802A */ lui $a0, %hi(D_802A1AC0) -/* 72399C 802A121C 8C841AC0 */ lw $a0, %lo(D_802A1AC0)($a0) -/* 7239A0 802A1220 0C05123D */ jal free_icon -/* 7239A4 802A1224 00000000 */ nop -.L802A1228: -/* 7239A8 802A1228 8FBF0014 */ lw $ra, 0x14($sp) -/* 7239AC 802A122C 8FB00010 */ lw $s0, 0x10($sp) -/* 7239B0 802A1230 24020002 */ addiu $v0, $zero, 2 -/* 7239B4 802A1234 03E00008 */ jr $ra -/* 7239B8 802A1238 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/ver/us/asm/nonmatchings/code_723780/func_802A123C_7239BC.s b/ver/us/asm/nonmatchings/code_723780/func_802A123C_7239BC.s deleted file mode 100644 index 53c602e256..0000000000 --- a/ver/us/asm/nonmatchings/code_723780/func_802A123C_7239BC.s +++ /dev/null @@ -1,52 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A123C_7239BC -/* 7239BC 802A123C 27BDFFD0 */ addiu $sp, $sp, -0x30 -/* 7239C0 802A1240 AFB1001C */ sw $s1, 0x1c($sp) -/* 7239C4 802A1244 0080882D */ daddu $s1, $a0, $zero -/* 7239C8 802A1248 AFBF0028 */ sw $ra, 0x28($sp) -/* 7239CC 802A124C AFB30024 */ sw $s3, 0x24($sp) -/* 7239D0 802A1250 AFB20020 */ sw $s2, 0x20($sp) -/* 7239D4 802A1254 AFB00018 */ sw $s0, 0x18($sp) -/* 7239D8 802A1258 8E30000C */ lw $s0, 0xc($s1) -/* 7239DC 802A125C 8E050000 */ lw $a1, ($s0) -/* 7239E0 802A1260 0C0B1EAF */ jal get_variable -/* 7239E4 802A1264 26100004 */ addiu $s0, $s0, 4 -/* 7239E8 802A1268 8E050000 */ lw $a1, ($s0) -/* 7239EC 802A126C 26100004 */ addiu $s0, $s0, 4 -/* 7239F0 802A1270 0220202D */ daddu $a0, $s1, $zero -/* 7239F4 802A1274 0C0B1EAF */ jal get_variable -/* 7239F8 802A1278 0040982D */ daddu $s3, $v0, $zero -/* 7239FC 802A127C 8E050000 */ lw $a1, ($s0) -/* 723A00 802A1280 26100004 */ addiu $s0, $s0, 4 -/* 723A04 802A1284 0220202D */ daddu $a0, $s1, $zero -/* 723A08 802A1288 0C0B1EAF */ jal get_variable -/* 723A0C 802A128C 0040902D */ daddu $s2, $v0, $zero -/* 723A10 802A1290 0220202D */ daddu $a0, $s1, $zero -/* 723A14 802A1294 8E050000 */ lw $a1, ($s0) -/* 723A18 802A1298 0C0B1EAF */ jal get_variable -/* 723A1C 802A129C 0040802D */ daddu $s0, $v0, $zero -/* 723A20 802A12A0 44930000 */ mtc1 $s3, $f0 -/* 723A24 802A12A4 00000000 */ nop -/* 723A28 802A12A8 46800020 */ cvt.s.w $f0, $f0 -/* 723A2C 802A12AC 44050000 */ mfc1 $a1, $f0 -/* 723A30 802A12B0 44920000 */ mtc1 $s2, $f0 -/* 723A34 802A12B4 00000000 */ nop -/* 723A38 802A12B8 46800020 */ cvt.s.w $f0, $f0 -/* 723A3C 802A12BC 44060000 */ mfc1 $a2, $f0 -/* 723A40 802A12C0 44900000 */ mtc1 $s0, $f0 -/* 723A44 802A12C4 00000000 */ nop -/* 723A48 802A12C8 46800020 */ cvt.s.w $f0, $f0 -/* 723A4C 802A12CC 44070000 */ mfc1 $a3, $f0 -/* 723A50 802A12D0 0000202D */ daddu $a0, $zero, $zero -/* 723A54 802A12D4 0C01C424 */ jal func_80071090 -/* 723A58 802A12D8 AFA20010 */ sw $v0, 0x10($sp) -/* 723A5C 802A12DC 8FBF0028 */ lw $ra, 0x28($sp) -/* 723A60 802A12E0 8FB30024 */ lw $s3, 0x24($sp) -/* 723A64 802A12E4 8FB20020 */ lw $s2, 0x20($sp) -/* 723A68 802A12E8 8FB1001C */ lw $s1, 0x1c($sp) -/* 723A6C 802A12EC 8FB00018 */ lw $s0, 0x18($sp) -/* 723A70 802A12F0 24020002 */ addiu $v0, $zero, 2 -/* 723A74 802A12F4 03E00008 */ jr $ra -/* 723A78 802A12F8 27BD0030 */ addiu $sp, $sp, 0x30 diff --git a/ver/us/asm/nonmatchings/code_723780/func_802A12FC_723A7C.s b/ver/us/asm/nonmatchings/code_723780/func_802A12FC_723A7C.s deleted file mode 100644 index 1d1738f5c5..0000000000 --- a/ver/us/asm/nonmatchings/code_723780/func_802A12FC_723A7C.s +++ /dev/null @@ -1,18 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A12FC_723A7C -/* 723A7C 802A12FC 3C048011 */ lui $a0, %hi(gPlayerData) -/* 723A80 802A1300 2484F290 */ addiu $a0, $a0, %lo(gPlayerData) -/* 723A84 802A1304 90820002 */ lbu $v0, 2($a0) -/* 723A88 802A1308 80830003 */ lb $v1, 3($a0) -/* 723A8C 802A130C 2442000A */ addiu $v0, $v0, 0xa -/* 723A90 802A1310 A0820002 */ sb $v0, 2($a0) -/* 723A94 802A1314 00021600 */ sll $v0, $v0, 0x18 -/* 723A98 802A1318 00021603 */ sra $v0, $v0, 0x18 -/* 723A9C 802A131C 0062182A */ slt $v1, $v1, $v0 -/* 723AA0 802A1320 90820003 */ lbu $v0, 3($a0) -/* 723AA4 802A1324 54600001 */ bnel $v1, $zero, .L802A132C -/* 723AA8 802A1328 A0820002 */ sb $v0, 2($a0) -.L802A132C: -/* 723AAC 802A132C 03E00008 */ jr $ra diff --git a/ver/us/asm/nonmatchings/code_725F60/func_802A1000_725F60.s b/ver/us/asm/nonmatchings/code_725F60/func_802A1000_725F60.s deleted file mode 100644 index ba8c9d6b80..0000000000 --- a/ver/us/asm/nonmatchings/code_725F60/func_802A1000_725F60.s +++ /dev/null @@ -1,125 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A1000_725F60 -/* 725F60 802A1000 27BDFF98 */ addiu $sp, $sp, -0x68 -/* 725F64 802A1004 AFB50044 */ sw $s5, 0x44($sp) -/* 725F68 802A1008 0080A82D */ daddu $s5, $a0, $zero -/* 725F6C 802A100C AFB10034 */ sw $s1, 0x34($sp) -/* 725F70 802A1010 0000882D */ daddu $s1, $zero, $zero -/* 725F74 802A1014 2405001D */ addiu $a1, $zero, 0x1d -/* 725F78 802A1018 F7B40050 */ sdc1 $f20, 0x50($sp) -/* 725F7C 802A101C 4480A000 */ mtc1 $zero, $f20 -/* 725F80 802A1020 3C02800E */ lui $v0, %hi(gBattleStatus) -/* 725F84 802A1024 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus) -/* 725F88 802A1028 AFBF0048 */ sw $ra, 0x48($sp) -/* 725F8C 802A102C AFB40040 */ sw $s4, 0x40($sp) -/* 725F90 802A1030 AFB3003C */ sw $s3, 0x3c($sp) -/* 725F94 802A1034 AFB20038 */ sw $s2, 0x38($sp) -/* 725F98 802A1038 AFB00030 */ sw $s0, 0x30($sp) -/* 725F9C 802A103C F7B80060 */ sdc1 $f24, 0x60($sp) -/* 725FA0 802A1040 F7B60058 */ sdc1 $f22, 0x58($sp) -/* 725FA4 802A1044 8C5300D8 */ lw $s3, 0xd8($v0) -/* 725FA8 802A1048 8442017A */ lh $v0, 0x17a($v0) -/* 725FAC 802A104C 0260202D */ daddu $a0, $s3, $zero -/* 725FB0 802A1050 00021140 */ sll $v0, $v0, 5 -/* 725FB4 802A1054 3C128008 */ lui $s2, %hi(gItemTable+0xC) -/* 725FB8 802A1058 02429021 */ addu $s2, $s2, $v0 -/* 725FBC 802A105C 865278EC */ lh $s2, %lo(gItemTable+0xC)($s2) -/* 725FC0 802A1060 92620191 */ lbu $v0, 0x191($s3) -/* 725FC4 802A1064 C6620148 */ lwc1 $f2, 0x148($s3) -/* 725FC8 802A1068 44820000 */ mtc1 $v0, $f0 -/* 725FCC 802A106C 00000000 */ nop -/* 725FD0 802A1070 46800020 */ cvt.s.w $f0, $f0 -/* 725FD4 802A1074 0C099CAB */ jal heroes_is_ability_active -/* 725FD8 802A1078 46001580 */ add.s $f22, $f2, $f0 -/* 725FDC 802A107C 50400048 */ beql $v0, $zero, .L802A11A0 -/* 725FE0 802A1080 AEB10084 */ sw $s1, 0x84($s5) -/* 725FE4 802A1084 1A400045 */ blez $s2, .L802A119C -/* 725FE8 802A1088 3C0451EB */ lui $a0, 0x51eb -/* 725FEC 802A108C 3484851F */ ori $a0, $a0, 0x851f -/* 725FF0 802A1090 00121880 */ sll $v1, $s2, 2 -/* 725FF4 802A1094 00721821 */ addu $v1, $v1, $s2 -/* 725FF8 802A1098 00031100 */ sll $v0, $v1, 4 -/* 725FFC 802A109C 00431023 */ subu $v0, $v0, $v1 -/* 726000 802A10A0 24420063 */ addiu $v0, $v0, 0x63 -/* 726004 802A10A4 00440018 */ mult $v0, $a0 -/* 726008 802A10A8 000217C3 */ sra $v0, $v0, 0x1f -/* 72600C 802A10AC 00004010 */ mfhi $t0 -/* 726010 802A10B0 00081943 */ sra $v1, $t0, 5 -/* 726014 802A10B4 00629023 */ subu $s2, $v1, $v0 -/* 726018 802A10B8 0232102A */ slt $v0, $s1, $s2 -/* 72601C 802A10BC 10400019 */ beqz $v0, .L802A1124 -/* 726020 802A10C0 0220802D */ daddu $s0, $s1, $zero -/* 726024 802A10C4 24140017 */ addiu $s4, $zero, 0x17 -/* 726028 802A10C8 3C0141F0 */ lui $at, 0x41f0 -/* 72602C 802A10CC 4481C000 */ mtc1 $at, $f24 -/* 726030 802A10D0 24110001 */ addiu $s1, $zero, 1 -.L802A10D4: -/* 726034 802A10D4 C6600144 */ lwc1 $f0, 0x144($s3) -/* 726038 802A10D8 C662014C */ lwc1 $f2, 0x14c($s3) -/* 72603C 802A10DC 4600A10D */ trunc.w.s $f4, $f20 -/* 726040 802A10E0 E7A40018 */ swc1 $f4, 0x18($sp) -/* 726044 802A10E4 24040157 */ addiu $a0, $zero, 0x157 -/* 726048 802A10E8 AFB10014 */ sw $s1, 0x14($sp) -/* 72604C 802A10EC 26310003 */ addiu $s1, $s1, 3 -/* 726050 802A10F0 26100001 */ addiu $s0, $s0, 1 -/* 726054 802A10F4 4406B000 */ mfc1 $a2, $f22 -/* 726058 802A10F8 44050000 */ mfc1 $a1, $f0 -/* 72605C 802A10FC 44071000 */ mfc1 $a3, $f2 -/* 726060 802A1100 4618A500 */ add.s $f20, $f20, $f24 -/* 726064 802A1104 AFB40010 */ sw $s4, 0x10($sp) -/* 726068 802A1108 0C04C4FD */ jal make_item_entity -/* 72606C 802A110C AFA0001C */ sw $zero, 0x1c($sp) -/* 726070 802A1110 0C03A830 */ jal add_coins -/* 726074 802A1114 24040001 */ addiu $a0, $zero, 1 -/* 726078 802A1118 0212102A */ slt $v0, $s0, $s2 -/* 72607C 802A111C 1440FFED */ bnez $v0, .L802A10D4 -/* 726080 802A1120 00000000 */ nop -.L802A1124: -/* 726084 802A1124 00101040 */ sll $v0, $s0, 1 -/* 726088 802A1128 00501021 */ addu $v0, $v0, $s0 -/* 72608C 802A112C 2451001E */ addiu $s1, $v0, 0x1e -/* 726090 802A1130 C6600144 */ lwc1 $f0, 0x144($s3) -/* 726094 802A1134 C6760148 */ lwc1 $f22, 0x148($s3) -/* 726098 802A1138 C662014C */ lwc1 $f2, 0x14c($s3) -/* 72609C 802A113C 3C048007 */ lui $a0, %hi(gCurrentCameraID) -/* 7260A0 802A1140 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0) -/* 7260A4 802A1144 27A20020 */ addiu $v0, $sp, 0x20 -/* 7260A8 802A1148 AFA20010 */ sw $v0, 0x10($sp) -/* 7260AC 802A114C 27A20024 */ addiu $v0, $sp, 0x24 -/* 7260B0 802A1150 AFA20014 */ sw $v0, 0x14($sp) -/* 7260B4 802A1154 44050000 */ mfc1 $a1, $f0 -/* 7260B8 802A1158 4406B000 */ mfc1 $a2, $f22 -/* 7260BC 802A115C 44071000 */ mfc1 $a3, $f2 -/* 7260C0 802A1160 27A20028 */ addiu $v0, $sp, 0x28 -/* 7260C4 802A1164 0C00B94E */ jal get_screen_coords -/* 7260C8 802A1168 AFA20018 */ sw $v0, 0x18($sp) -/* 7260CC 802A116C 3C048011 */ lui $a0, %hi(D_80108A64) -/* 7260D0 802A1170 24848A64 */ addiu $a0, $a0, %lo(D_80108A64) -/* 7260D4 802A1174 0C050529 */ jal create_icon -/* 7260D8 802A1178 00000000 */ nop -/* 7260DC 802A117C 8FA50020 */ lw $a1, 0x20($sp) -/* 7260E0 802A1180 8FA60024 */ lw $a2, 0x24($sp) -/* 7260E4 802A1184 0040202D */ daddu $a0, $v0, $zero -/* 7260E8 802A1188 3C01802A */ lui $at, %hi(D_802A1E70) -/* 7260EC 802A118C AC241E70 */ sw $a0, %lo(D_802A1E70)($at) -/* 7260F0 802A1190 24A50024 */ addiu $a1, $a1, 0x24 -/* 7260F4 802A1194 0C051261 */ jal set_icon_render_pos -/* 7260F8 802A1198 24C6FFC1 */ addiu $a2, $a2, -0x3f -.L802A119C: -/* 7260FC 802A119C AEB10084 */ sw $s1, 0x84($s5) -.L802A11A0: -/* 726100 802A11A0 8FBF0048 */ lw $ra, 0x48($sp) -/* 726104 802A11A4 8FB50044 */ lw $s5, 0x44($sp) -/* 726108 802A11A8 8FB40040 */ lw $s4, 0x40($sp) -/* 72610C 802A11AC 8FB3003C */ lw $s3, 0x3c($sp) -/* 726110 802A11B0 8FB20038 */ lw $s2, 0x38($sp) -/* 726114 802A11B4 8FB10034 */ lw $s1, 0x34($sp) -/* 726118 802A11B8 8FB00030 */ lw $s0, 0x30($sp) -/* 72611C 802A11BC D7B80060 */ ldc1 $f24, 0x60($sp) -/* 726120 802A11C0 D7B60058 */ ldc1 $f22, 0x58($sp) -/* 726124 802A11C4 D7B40050 */ ldc1 $f20, 0x50($sp) -/* 726128 802A11C8 24020002 */ addiu $v0, $zero, 2 -/* 72612C 802A11CC 03E00008 */ jr $ra -/* 726130 802A11D0 27BD0068 */ addiu $sp, $sp, 0x68 diff --git a/ver/us/asm/nonmatchings/code_725F60/func_802A11D4_726134.s b/ver/us/asm/nonmatchings/code_725F60/func_802A11D4_726134.s deleted file mode 100644 index dc6c7eda29..0000000000 --- a/ver/us/asm/nonmatchings/code_725F60/func_802A11D4_726134.s +++ /dev/null @@ -1,31 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A11D4_726134 -/* 726134 802A11D4 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 726138 802A11D8 3C03800E */ lui $v1, %hi(gBattleStatus) -/* 72613C 802A11DC 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus) -/* 726140 802A11E0 AFBF0014 */ sw $ra, 0x14($sp) -/* 726144 802A11E4 AFB00010 */ sw $s0, 0x10($sp) -/* 726148 802A11E8 8462017A */ lh $v0, 0x17a($v1) -/* 72614C 802A11EC 8C6400D8 */ lw $a0, 0xd8($v1) -/* 726150 802A11F0 00021140 */ sll $v0, $v0, 5 -/* 726154 802A11F4 3C108008 */ lui $s0, %hi(gItemTable+0xC) -/* 726158 802A11F8 02028021 */ addu $s0, $s0, $v0 -/* 72615C 802A11FC 861078EC */ lh $s0, %lo(gItemTable+0xC)($s0) -/* 726160 802A1200 0C099CAB */ jal heroes_is_ability_active -/* 726164 802A1204 2405001D */ addiu $a1, $zero, 0x1d -/* 726168 802A1208 10400007 */ beqz $v0, .L802A1228 -/* 72616C 802A120C 00000000 */ nop -/* 726170 802A1210 1A000005 */ blez $s0, .L802A1228 -/* 726174 802A1214 00000000 */ nop -/* 726178 802A1218 3C04802A */ lui $a0, %hi(D_802A1E70) -/* 72617C 802A121C 8C841E70 */ lw $a0, %lo(D_802A1E70)($a0) -/* 726180 802A1220 0C05123D */ jal free_icon -/* 726184 802A1224 00000000 */ nop -.L802A1228: -/* 726188 802A1228 8FBF0014 */ lw $ra, 0x14($sp) -/* 72618C 802A122C 8FB00010 */ lw $s0, 0x10($sp) -/* 726190 802A1230 24020002 */ addiu $v0, $zero, 2 -/* 726194 802A1234 03E00008 */ jr $ra -/* 726198 802A1238 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/ver/us/asm/nonmatchings/code_725F60/func_802A123C_72619C.s b/ver/us/asm/nonmatchings/code_725F60/func_802A123C_72619C.s deleted file mode 100644 index 2f37053690..0000000000 --- a/ver/us/asm/nonmatchings/code_725F60/func_802A123C_72619C.s +++ /dev/null @@ -1,42 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A123C_72619C -/* 72619C 802A123C 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 7261A0 802A1240 AFB00010 */ sw $s0, 0x10($sp) -/* 7261A4 802A1244 3C10800E */ lui $s0, %hi(gBattleStatus+0xD8) -/* 7261A8 802A1248 8E10C148 */ lw $s0, %lo(gBattleStatus+0xD8)($s0) -/* 7261AC 802A124C AFBF0014 */ sw $ra, 0x14($sp) -/* 7261B0 802A1250 82020210 */ lb $v0, 0x210($s0) -/* 7261B4 802A1254 10400005 */ beqz $v0, .L802A126C -/* 7261B8 802A1258 00000000 */ nop -/* 7261BC 802A125C 86040436 */ lh $a0, 0x436($s0) -/* 7261C0 802A1260 A2000211 */ sb $zero, 0x211($s0) -/* 7261C4 802A1264 0C011E26 */ jal func_80047898 -/* 7261C8 802A1268 A2000210 */ sb $zero, 0x210($s0) -.L802A126C: -/* 7261CC 802A126C 82020212 */ lb $v0, 0x212($s0) -/* 7261D0 802A1270 10400005 */ beqz $v0, .L802A1288 -/* 7261D4 802A1274 00000000 */ nop -/* 7261D8 802A1278 86040436 */ lh $a0, 0x436($s0) -/* 7261DC 802A127C A2000213 */ sb $zero, 0x213($s0) -/* 7261E0 802A1280 0C011E68 */ jal func_800479A0 -/* 7261E4 802A1284 A2000212 */ sb $zero, 0x212($s0) -.L802A1288: -/* 7261E8 802A1288 82020214 */ lb $v0, 0x214($s0) -/* 7261EC 802A128C 10400003 */ beqz $v0, .L802A129C -/* 7261F0 802A1290 00000000 */ nop -/* 7261F4 802A1294 A2000215 */ sb $zero, 0x215($s0) -/* 7261F8 802A1298 A2000214 */ sb $zero, 0x214($s0) -.L802A129C: -/* 7261FC 802A129C 82020218 */ lb $v0, 0x218($s0) -/* 726200 802A12A0 10400003 */ beqz $v0, .L802A12B0 -/* 726204 802A12A4 00000000 */ nop -/* 726208 802A12A8 A2000219 */ sb $zero, 0x219($s0) -/* 72620C 802A12AC A2000218 */ sb $zero, 0x218($s0) -.L802A12B0: -/* 726210 802A12B0 8FBF0014 */ lw $ra, 0x14($sp) -/* 726214 802A12B4 8FB00010 */ lw $s0, 0x10($sp) -/* 726218 802A12B8 24020002 */ addiu $v0, $zero, 2 -/* 72621C 802A12BC 03E00008 */ jr $ra -/* 726220 802A12C0 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/ver/us/asm/nonmatchings/code_725F60/func_802A12C4_726224.s b/ver/us/asm/nonmatchings/code_725F60/func_802A12C4_726224.s deleted file mode 100644 index d20d7aa1ed..0000000000 --- a/ver/us/asm/nonmatchings/code_725F60/func_802A12C4_726224.s +++ /dev/null @@ -1,11 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A12C4_726224 -/* 726224 802A12C4 24020002 */ addiu $v0, $zero, 2 -/* 726228 802A12C8 3C01800E */ lui $at, %hi(gBattleStatus+0x8B) -/* 72622C 802A12CC A022C0FB */ sb $v0, %lo(gBattleStatus+0x8B)($at) -/* 726230 802A12D0 03E00008 */ jr $ra -/* 726234 802A12D4 24020002 */ addiu $v0, $zero, 2 -/* 726238 802A12D8 00000000 */ nop -/* 72623C 802A12DC 00000000 */ nop diff --git a/ver/us/asm/nonmatchings/code_726DD0/func_802A1000_726DD0.s b/ver/us/asm/nonmatchings/code_726DD0/func_802A1000_726DD0.s deleted file mode 100644 index 6a8d0df6b5..0000000000 --- a/ver/us/asm/nonmatchings/code_726DD0/func_802A1000_726DD0.s +++ /dev/null @@ -1,125 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A1000_726DD0 -/* 726DD0 802A1000 27BDFF98 */ addiu $sp, $sp, -0x68 -/* 726DD4 802A1004 AFB50044 */ sw $s5, 0x44($sp) -/* 726DD8 802A1008 0080A82D */ daddu $s5, $a0, $zero -/* 726DDC 802A100C AFB10034 */ sw $s1, 0x34($sp) -/* 726DE0 802A1010 0000882D */ daddu $s1, $zero, $zero -/* 726DE4 802A1014 2405001D */ addiu $a1, $zero, 0x1d -/* 726DE8 802A1018 F7B40050 */ sdc1 $f20, 0x50($sp) -/* 726DEC 802A101C 4480A000 */ mtc1 $zero, $f20 -/* 726DF0 802A1020 3C02800E */ lui $v0, %hi(gBattleStatus) -/* 726DF4 802A1024 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus) -/* 726DF8 802A1028 AFBF0048 */ sw $ra, 0x48($sp) -/* 726DFC 802A102C AFB40040 */ sw $s4, 0x40($sp) -/* 726E00 802A1030 AFB3003C */ sw $s3, 0x3c($sp) -/* 726E04 802A1034 AFB20038 */ sw $s2, 0x38($sp) -/* 726E08 802A1038 AFB00030 */ sw $s0, 0x30($sp) -/* 726E0C 802A103C F7B80060 */ sdc1 $f24, 0x60($sp) -/* 726E10 802A1040 F7B60058 */ sdc1 $f22, 0x58($sp) -/* 726E14 802A1044 8C5300D8 */ lw $s3, 0xd8($v0) -/* 726E18 802A1048 8442017A */ lh $v0, 0x17a($v0) -/* 726E1C 802A104C 0260202D */ daddu $a0, $s3, $zero -/* 726E20 802A1050 00021140 */ sll $v0, $v0, 5 -/* 726E24 802A1054 3C128008 */ lui $s2, %hi(gItemTable+0xC) -/* 726E28 802A1058 02429021 */ addu $s2, $s2, $v0 -/* 726E2C 802A105C 865278EC */ lh $s2, %lo(gItemTable+0xC)($s2) -/* 726E30 802A1060 92620191 */ lbu $v0, 0x191($s3) -/* 726E34 802A1064 C6620148 */ lwc1 $f2, 0x148($s3) -/* 726E38 802A1068 44820000 */ mtc1 $v0, $f0 -/* 726E3C 802A106C 00000000 */ nop -/* 726E40 802A1070 46800020 */ cvt.s.w $f0, $f0 -/* 726E44 802A1074 0C099CAB */ jal heroes_is_ability_active -/* 726E48 802A1078 46001580 */ add.s $f22, $f2, $f0 -/* 726E4C 802A107C 50400048 */ beql $v0, $zero, .L802A11A0 -/* 726E50 802A1080 AEB10084 */ sw $s1, 0x84($s5) -/* 726E54 802A1084 1A400045 */ blez $s2, .L802A119C -/* 726E58 802A1088 3C0451EB */ lui $a0, 0x51eb -/* 726E5C 802A108C 3484851F */ ori $a0, $a0, 0x851f -/* 726E60 802A1090 00121880 */ sll $v1, $s2, 2 -/* 726E64 802A1094 00721821 */ addu $v1, $v1, $s2 -/* 726E68 802A1098 00031100 */ sll $v0, $v1, 4 -/* 726E6C 802A109C 00431023 */ subu $v0, $v0, $v1 -/* 726E70 802A10A0 24420063 */ addiu $v0, $v0, 0x63 -/* 726E74 802A10A4 00440018 */ mult $v0, $a0 -/* 726E78 802A10A8 000217C3 */ sra $v0, $v0, 0x1f -/* 726E7C 802A10AC 00004010 */ mfhi $t0 -/* 726E80 802A10B0 00081943 */ sra $v1, $t0, 5 -/* 726E84 802A10B4 00629023 */ subu $s2, $v1, $v0 -/* 726E88 802A10B8 0232102A */ slt $v0, $s1, $s2 -/* 726E8C 802A10BC 10400019 */ beqz $v0, .L802A1124 -/* 726E90 802A10C0 0220802D */ daddu $s0, $s1, $zero -/* 726E94 802A10C4 24140017 */ addiu $s4, $zero, 0x17 -/* 726E98 802A10C8 3C0141F0 */ lui $at, 0x41f0 -/* 726E9C 802A10CC 4481C000 */ mtc1 $at, $f24 -/* 726EA0 802A10D0 24110001 */ addiu $s1, $zero, 1 -.L802A10D4: -/* 726EA4 802A10D4 C6600144 */ lwc1 $f0, 0x144($s3) -/* 726EA8 802A10D8 C662014C */ lwc1 $f2, 0x14c($s3) -/* 726EAC 802A10DC 4600A10D */ trunc.w.s $f4, $f20 -/* 726EB0 802A10E0 E7A40018 */ swc1 $f4, 0x18($sp) -/* 726EB4 802A10E4 24040157 */ addiu $a0, $zero, 0x157 -/* 726EB8 802A10E8 AFB10014 */ sw $s1, 0x14($sp) -/* 726EBC 802A10EC 26310003 */ addiu $s1, $s1, 3 -/* 726EC0 802A10F0 26100001 */ addiu $s0, $s0, 1 -/* 726EC4 802A10F4 4406B000 */ mfc1 $a2, $f22 -/* 726EC8 802A10F8 44050000 */ mfc1 $a1, $f0 -/* 726ECC 802A10FC 44071000 */ mfc1 $a3, $f2 -/* 726ED0 802A1100 4618A500 */ add.s $f20, $f20, $f24 -/* 726ED4 802A1104 AFB40010 */ sw $s4, 0x10($sp) -/* 726ED8 802A1108 0C04C4FD */ jal make_item_entity -/* 726EDC 802A110C AFA0001C */ sw $zero, 0x1c($sp) -/* 726EE0 802A1110 0C03A830 */ jal add_coins -/* 726EE4 802A1114 24040001 */ addiu $a0, $zero, 1 -/* 726EE8 802A1118 0212102A */ slt $v0, $s0, $s2 -/* 726EEC 802A111C 1440FFED */ bnez $v0, .L802A10D4 -/* 726EF0 802A1120 00000000 */ nop -.L802A1124: -/* 726EF4 802A1124 00101040 */ sll $v0, $s0, 1 -/* 726EF8 802A1128 00501021 */ addu $v0, $v0, $s0 -/* 726EFC 802A112C 2451001E */ addiu $s1, $v0, 0x1e -/* 726F00 802A1130 C6600144 */ lwc1 $f0, 0x144($s3) -/* 726F04 802A1134 C6760148 */ lwc1 $f22, 0x148($s3) -/* 726F08 802A1138 C662014C */ lwc1 $f2, 0x14c($s3) -/* 726F0C 802A113C 3C048007 */ lui $a0, %hi(gCurrentCameraID) -/* 726F10 802A1140 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0) -/* 726F14 802A1144 27A20020 */ addiu $v0, $sp, 0x20 -/* 726F18 802A1148 AFA20010 */ sw $v0, 0x10($sp) -/* 726F1C 802A114C 27A20024 */ addiu $v0, $sp, 0x24 -/* 726F20 802A1150 AFA20014 */ sw $v0, 0x14($sp) -/* 726F24 802A1154 44050000 */ mfc1 $a1, $f0 -/* 726F28 802A1158 4406B000 */ mfc1 $a2, $f22 -/* 726F2C 802A115C 44071000 */ mfc1 $a3, $f2 -/* 726F30 802A1160 27A20028 */ addiu $v0, $sp, 0x28 -/* 726F34 802A1164 0C00B94E */ jal get_screen_coords -/* 726F38 802A1168 AFA20018 */ sw $v0, 0x18($sp) -/* 726F3C 802A116C 3C048011 */ lui $a0, %hi(D_80108A64) -/* 726F40 802A1170 24848A64 */ addiu $a0, $a0, %lo(D_80108A64) -/* 726F44 802A1174 0C050529 */ jal create_icon -/* 726F48 802A1178 00000000 */ nop -/* 726F4C 802A117C 8FA50020 */ lw $a1, 0x20($sp) -/* 726F50 802A1180 8FA60024 */ lw $a2, 0x24($sp) -/* 726F54 802A1184 0040202D */ daddu $a0, $v0, $zero -/* 726F58 802A1188 3C01802A */ lui $at, %hi(D_802A1B40) -/* 726F5C 802A118C AC241B40 */ sw $a0, %lo(D_802A1B40)($at) -/* 726F60 802A1190 24A50024 */ addiu $a1, $a1, 0x24 -/* 726F64 802A1194 0C051261 */ jal set_icon_render_pos -/* 726F68 802A1198 24C6FFC1 */ addiu $a2, $a2, -0x3f -.L802A119C: -/* 726F6C 802A119C AEB10084 */ sw $s1, 0x84($s5) -.L802A11A0: -/* 726F70 802A11A0 8FBF0048 */ lw $ra, 0x48($sp) -/* 726F74 802A11A4 8FB50044 */ lw $s5, 0x44($sp) -/* 726F78 802A11A8 8FB40040 */ lw $s4, 0x40($sp) -/* 726F7C 802A11AC 8FB3003C */ lw $s3, 0x3c($sp) -/* 726F80 802A11B0 8FB20038 */ lw $s2, 0x38($sp) -/* 726F84 802A11B4 8FB10034 */ lw $s1, 0x34($sp) -/* 726F88 802A11B8 8FB00030 */ lw $s0, 0x30($sp) -/* 726F8C 802A11BC D7B80060 */ ldc1 $f24, 0x60($sp) -/* 726F90 802A11C0 D7B60058 */ ldc1 $f22, 0x58($sp) -/* 726F94 802A11C4 D7B40050 */ ldc1 $f20, 0x50($sp) -/* 726F98 802A11C8 24020002 */ addiu $v0, $zero, 2 -/* 726F9C 802A11CC 03E00008 */ jr $ra -/* 726FA0 802A11D0 27BD0068 */ addiu $sp, $sp, 0x68 diff --git a/ver/us/asm/nonmatchings/code_726DD0/func_802A11D4_726FA4.s b/ver/us/asm/nonmatchings/code_726DD0/func_802A11D4_726FA4.s deleted file mode 100644 index 3601b9f2c3..0000000000 --- a/ver/us/asm/nonmatchings/code_726DD0/func_802A11D4_726FA4.s +++ /dev/null @@ -1,31 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A11D4_726FA4 -/* 726FA4 802A11D4 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 726FA8 802A11D8 3C03800E */ lui $v1, %hi(gBattleStatus) -/* 726FAC 802A11DC 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus) -/* 726FB0 802A11E0 AFBF0014 */ sw $ra, 0x14($sp) -/* 726FB4 802A11E4 AFB00010 */ sw $s0, 0x10($sp) -/* 726FB8 802A11E8 8462017A */ lh $v0, 0x17a($v1) -/* 726FBC 802A11EC 8C6400D8 */ lw $a0, 0xd8($v1) -/* 726FC0 802A11F0 00021140 */ sll $v0, $v0, 5 -/* 726FC4 802A11F4 3C108008 */ lui $s0, %hi(gItemTable+0xC) -/* 726FC8 802A11F8 02028021 */ addu $s0, $s0, $v0 -/* 726FCC 802A11FC 861078EC */ lh $s0, %lo(gItemTable+0xC)($s0) -/* 726FD0 802A1200 0C099CAB */ jal heroes_is_ability_active -/* 726FD4 802A1204 2405001D */ addiu $a1, $zero, 0x1d -/* 726FD8 802A1208 10400007 */ beqz $v0, .L802A1228 -/* 726FDC 802A120C 00000000 */ nop -/* 726FE0 802A1210 1A000005 */ blez $s0, .L802A1228 -/* 726FE4 802A1214 00000000 */ nop -/* 726FE8 802A1218 3C04802A */ lui $a0, %hi(D_802A1B40) -/* 726FEC 802A121C 8C841B40 */ lw $a0, %lo(D_802A1B40)($a0) -/* 726FF0 802A1220 0C05123D */ jal free_icon -/* 726FF4 802A1224 00000000 */ nop -.L802A1228: -/* 726FF8 802A1228 8FBF0014 */ lw $ra, 0x14($sp) -/* 726FFC 802A122C 8FB00010 */ lw $s0, 0x10($sp) -/* 727000 802A1230 24020002 */ addiu $v0, $zero, 2 -/* 727004 802A1234 03E00008 */ jr $ra -/* 727008 802A1238 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/ver/us/asm/nonmatchings/code_726DD0/func_802A12D4_7270A4.s b/ver/us/asm/nonmatchings/code_726DD0/func_802A12D4_7270A4.s deleted file mode 100644 index fb41c22ce3..0000000000 --- a/ver/us/asm/nonmatchings/code_726DD0/func_802A12D4_7270A4.s +++ /dev/null @@ -1,38 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A12D4_7270A4 -/* 7270A4 802A12D4 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 7270A8 802A12D8 AFB00010 */ sw $s0, 0x10($sp) -/* 7270AC 802A12DC 0080802D */ daddu $s0, $a0, $zero -/* 7270B0 802A12E0 10A00003 */ beqz $a1, .L802A12F0 -/* 7270B4 802A12E4 AFBF0014 */ sw $ra, 0x14($sp) -/* 7270B8 802A12E8 24020014 */ addiu $v0, $zero, 0x14 -/* 7270BC 802A12EC AE020070 */ sw $v0, 0x70($s0) -.L802A12F0: -/* 7270C0 802A12F0 0000202D */ daddu $a0, $zero, $zero -/* 7270C4 802A12F4 0080282D */ daddu $a1, $a0, $zero -/* 7270C8 802A12F8 8E020070 */ lw $v0, 0x70($s0) -/* 7270CC 802A12FC 0080302D */ daddu $a2, $a0, $zero -/* 7270D0 802A1300 00023880 */ sll $a3, $v0, 2 -/* 7270D4 802A1304 00E23821 */ addu $a3, $a3, $v0 -/* 7270D8 802A1308 00073840 */ sll $a3, $a3, 1 -/* 7270DC 802A130C 0C046F97 */ jal set_background_color_blend -/* 7270E0 802A1310 30E700FE */ andi $a3, $a3, 0xfe -/* 7270E4 802A1314 8E020070 */ lw $v0, 0x70($s0) -/* 7270E8 802A1318 2442FFFF */ addiu $v0, $v0, -1 -/* 7270EC 802A131C 10400003 */ beqz $v0, .L802A132C -/* 7270F0 802A1320 AE020070 */ sw $v0, 0x70($s0) -/* 7270F4 802A1324 080A84D1 */ j .L802A1344 -/* 7270F8 802A1328 0000102D */ daddu $v0, $zero, $zero -.L802A132C: -/* 7270FC 802A132C 0000202D */ daddu $a0, $zero, $zero -/* 727100 802A1330 0080282D */ daddu $a1, $a0, $zero -/* 727104 802A1334 0080302D */ daddu $a2, $a0, $zero -/* 727108 802A1338 0C046F97 */ jal set_background_color_blend -/* 72710C 802A133C 0080382D */ daddu $a3, $a0, $zero -/* 727110 802A1340 24020002 */ addiu $v0, $zero, 2 -.L802A1344: -/* 727114 802A1344 8FBF0014 */ lw $ra, 0x14($sp) -/* 727118 802A1348 8FB00010 */ lw $s0, 0x10($sp) -/* 72711C 802A134C 03E00008 */ jr $ra diff --git a/ver/us/asm/nonmatchings/code_7285E0/func_802A1000_7285E0.s b/ver/us/asm/nonmatchings/code_7285E0/func_802A1000_7285E0.s deleted file mode 100644 index 17ba2dab24..0000000000 --- a/ver/us/asm/nonmatchings/code_7285E0/func_802A1000_7285E0.s +++ /dev/null @@ -1,125 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A1000_7285E0 -/* 7285E0 802A1000 27BDFF98 */ addiu $sp, $sp, -0x68 -/* 7285E4 802A1004 AFB50044 */ sw $s5, 0x44($sp) -/* 7285E8 802A1008 0080A82D */ daddu $s5, $a0, $zero -/* 7285EC 802A100C AFB10034 */ sw $s1, 0x34($sp) -/* 7285F0 802A1010 0000882D */ daddu $s1, $zero, $zero -/* 7285F4 802A1014 2405001D */ addiu $a1, $zero, 0x1d -/* 7285F8 802A1018 F7B40050 */ sdc1 $f20, 0x50($sp) -/* 7285FC 802A101C 4480A000 */ mtc1 $zero, $f20 -/* 728600 802A1020 3C02800E */ lui $v0, %hi(gBattleStatus) -/* 728604 802A1024 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus) -/* 728608 802A1028 AFBF0048 */ sw $ra, 0x48($sp) -/* 72860C 802A102C AFB40040 */ sw $s4, 0x40($sp) -/* 728610 802A1030 AFB3003C */ sw $s3, 0x3c($sp) -/* 728614 802A1034 AFB20038 */ sw $s2, 0x38($sp) -/* 728618 802A1038 AFB00030 */ sw $s0, 0x30($sp) -/* 72861C 802A103C F7B80060 */ sdc1 $f24, 0x60($sp) -/* 728620 802A1040 F7B60058 */ sdc1 $f22, 0x58($sp) -/* 728624 802A1044 8C5300D8 */ lw $s3, 0xd8($v0) -/* 728628 802A1048 8442017A */ lh $v0, 0x17a($v0) -/* 72862C 802A104C 0260202D */ daddu $a0, $s3, $zero -/* 728630 802A1050 00021140 */ sll $v0, $v0, 5 -/* 728634 802A1054 3C128008 */ lui $s2, %hi(gItemTable+0xC) -/* 728638 802A1058 02429021 */ addu $s2, $s2, $v0 -/* 72863C 802A105C 865278EC */ lh $s2, %lo(gItemTable+0xC)($s2) -/* 728640 802A1060 92620191 */ lbu $v0, 0x191($s3) -/* 728644 802A1064 C6620148 */ lwc1 $f2, 0x148($s3) -/* 728648 802A1068 44820000 */ mtc1 $v0, $f0 -/* 72864C 802A106C 00000000 */ nop -/* 728650 802A1070 46800020 */ cvt.s.w $f0, $f0 -/* 728654 802A1074 0C099CAB */ jal heroes_is_ability_active -/* 728658 802A1078 46001580 */ add.s $f22, $f2, $f0 -/* 72865C 802A107C 50400048 */ beql $v0, $zero, .L802A11A0 -/* 728660 802A1080 AEB10084 */ sw $s1, 0x84($s5) -/* 728664 802A1084 1A400045 */ blez $s2, .L802A119C -/* 728668 802A1088 3C0451EB */ lui $a0, 0x51eb -/* 72866C 802A108C 3484851F */ ori $a0, $a0, 0x851f -/* 728670 802A1090 00121880 */ sll $v1, $s2, 2 -/* 728674 802A1094 00721821 */ addu $v1, $v1, $s2 -/* 728678 802A1098 00031100 */ sll $v0, $v1, 4 -/* 72867C 802A109C 00431023 */ subu $v0, $v0, $v1 -/* 728680 802A10A0 24420063 */ addiu $v0, $v0, 0x63 -/* 728684 802A10A4 00440018 */ mult $v0, $a0 -/* 728688 802A10A8 000217C3 */ sra $v0, $v0, 0x1f -/* 72868C 802A10AC 00004010 */ mfhi $t0 -/* 728690 802A10B0 00081943 */ sra $v1, $t0, 5 -/* 728694 802A10B4 00629023 */ subu $s2, $v1, $v0 -/* 728698 802A10B8 0232102A */ slt $v0, $s1, $s2 -/* 72869C 802A10BC 10400019 */ beqz $v0, .L802A1124 -/* 7286A0 802A10C0 0220802D */ daddu $s0, $s1, $zero -/* 7286A4 802A10C4 24140017 */ addiu $s4, $zero, 0x17 -/* 7286A8 802A10C8 3C0141F0 */ lui $at, 0x41f0 -/* 7286AC 802A10CC 4481C000 */ mtc1 $at, $f24 -/* 7286B0 802A10D0 24110001 */ addiu $s1, $zero, 1 -.L802A10D4: -/* 7286B4 802A10D4 C6600144 */ lwc1 $f0, 0x144($s3) -/* 7286B8 802A10D8 C662014C */ lwc1 $f2, 0x14c($s3) -/* 7286BC 802A10DC 4600A10D */ trunc.w.s $f4, $f20 -/* 7286C0 802A10E0 E7A40018 */ swc1 $f4, 0x18($sp) -/* 7286C4 802A10E4 24040157 */ addiu $a0, $zero, 0x157 -/* 7286C8 802A10E8 AFB10014 */ sw $s1, 0x14($sp) -/* 7286CC 802A10EC 26310003 */ addiu $s1, $s1, 3 -/* 7286D0 802A10F0 26100001 */ addiu $s0, $s0, 1 -/* 7286D4 802A10F4 4406B000 */ mfc1 $a2, $f22 -/* 7286D8 802A10F8 44050000 */ mfc1 $a1, $f0 -/* 7286DC 802A10FC 44071000 */ mfc1 $a3, $f2 -/* 7286E0 802A1100 4618A500 */ add.s $f20, $f20, $f24 -/* 7286E4 802A1104 AFB40010 */ sw $s4, 0x10($sp) -/* 7286E8 802A1108 0C04C4FD */ jal make_item_entity -/* 7286EC 802A110C AFA0001C */ sw $zero, 0x1c($sp) -/* 7286F0 802A1110 0C03A830 */ jal add_coins -/* 7286F4 802A1114 24040001 */ addiu $a0, $zero, 1 -/* 7286F8 802A1118 0212102A */ slt $v0, $s0, $s2 -/* 7286FC 802A111C 1440FFED */ bnez $v0, .L802A10D4 -/* 728700 802A1120 00000000 */ nop -.L802A1124: -/* 728704 802A1124 00101040 */ sll $v0, $s0, 1 -/* 728708 802A1128 00501021 */ addu $v0, $v0, $s0 -/* 72870C 802A112C 2451001E */ addiu $s1, $v0, 0x1e -/* 728710 802A1130 C6600144 */ lwc1 $f0, 0x144($s3) -/* 728714 802A1134 C6760148 */ lwc1 $f22, 0x148($s3) -/* 728718 802A1138 C662014C */ lwc1 $f2, 0x14c($s3) -/* 72871C 802A113C 3C048007 */ lui $a0, %hi(gCurrentCameraID) -/* 728720 802A1140 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0) -/* 728724 802A1144 27A20020 */ addiu $v0, $sp, 0x20 -/* 728728 802A1148 AFA20010 */ sw $v0, 0x10($sp) -/* 72872C 802A114C 27A20024 */ addiu $v0, $sp, 0x24 -/* 728730 802A1150 AFA20014 */ sw $v0, 0x14($sp) -/* 728734 802A1154 44050000 */ mfc1 $a1, $f0 -/* 728738 802A1158 4406B000 */ mfc1 $a2, $f22 -/* 72873C 802A115C 44071000 */ mfc1 $a3, $f2 -/* 728740 802A1160 27A20028 */ addiu $v0, $sp, 0x28 -/* 728744 802A1164 0C00B94E */ jal get_screen_coords -/* 728748 802A1168 AFA20018 */ sw $v0, 0x18($sp) -/* 72874C 802A116C 3C048011 */ lui $a0, %hi(D_80108A64) -/* 728750 802A1170 24848A64 */ addiu $a0, $a0, %lo(D_80108A64) -/* 728754 802A1174 0C050529 */ jal create_icon -/* 728758 802A1178 00000000 */ nop -/* 72875C 802A117C 8FA50020 */ lw $a1, 0x20($sp) -/* 728760 802A1180 8FA60024 */ lw $a2, 0x24($sp) -/* 728764 802A1184 0040202D */ daddu $a0, $v0, $zero -/* 728768 802A1188 3C01802A */ lui $at, %hi(D_802A18E0) -/* 72876C 802A118C AC2418E0 */ sw $a0, %lo(D_802A18E0)($at) -/* 728770 802A1190 24A50024 */ addiu $a1, $a1, 0x24 -/* 728774 802A1194 0C051261 */ jal set_icon_render_pos -/* 728778 802A1198 24C6FFC1 */ addiu $a2, $a2, -0x3f -.L802A119C: -/* 72877C 802A119C AEB10084 */ sw $s1, 0x84($s5) -.L802A11A0: -/* 728780 802A11A0 8FBF0048 */ lw $ra, 0x48($sp) -/* 728784 802A11A4 8FB50044 */ lw $s5, 0x44($sp) -/* 728788 802A11A8 8FB40040 */ lw $s4, 0x40($sp) -/* 72878C 802A11AC 8FB3003C */ lw $s3, 0x3c($sp) -/* 728790 802A11B0 8FB20038 */ lw $s2, 0x38($sp) -/* 728794 802A11B4 8FB10034 */ lw $s1, 0x34($sp) -/* 728798 802A11B8 8FB00030 */ lw $s0, 0x30($sp) -/* 72879C 802A11BC D7B80060 */ ldc1 $f24, 0x60($sp) -/* 7287A0 802A11C0 D7B60058 */ ldc1 $f22, 0x58($sp) -/* 7287A4 802A11C4 D7B40050 */ ldc1 $f20, 0x50($sp) -/* 7287A8 802A11C8 24020002 */ addiu $v0, $zero, 2 -/* 7287AC 802A11CC 03E00008 */ jr $ra -/* 7287B0 802A11D0 27BD0068 */ addiu $sp, $sp, 0x68 diff --git a/ver/us/asm/nonmatchings/code_7285E0/func_802A11D4_7287B4.s b/ver/us/asm/nonmatchings/code_7285E0/func_802A11D4_7287B4.s deleted file mode 100644 index ca33cb533d..0000000000 --- a/ver/us/asm/nonmatchings/code_7285E0/func_802A11D4_7287B4.s +++ /dev/null @@ -1,32 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A11D4_7287B4 -/* 7287B4 802A11D4 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 7287B8 802A11D8 3C03800E */ lui $v1, %hi(gBattleStatus) -/* 7287BC 802A11DC 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus) -/* 7287C0 802A11E0 AFBF0014 */ sw $ra, 0x14($sp) -/* 7287C4 802A11E4 AFB00010 */ sw $s0, 0x10($sp) -/* 7287C8 802A11E8 8462017A */ lh $v0, 0x17a($v1) -/* 7287CC 802A11EC 8C6400D8 */ lw $a0, 0xd8($v1) -/* 7287D0 802A11F0 00021140 */ sll $v0, $v0, 5 -/* 7287D4 802A11F4 3C108008 */ lui $s0, %hi(gItemTable+0xC) -/* 7287D8 802A11F8 02028021 */ addu $s0, $s0, $v0 -/* 7287DC 802A11FC 861078EC */ lh $s0, %lo(gItemTable+0xC)($s0) -/* 7287E0 802A1200 0C099CAB */ jal heroes_is_ability_active -/* 7287E4 802A1204 2405001D */ addiu $a1, $zero, 0x1d -/* 7287E8 802A1208 10400007 */ beqz $v0, .L802A1228 -/* 7287EC 802A120C 00000000 */ nop -/* 7287F0 802A1210 1A000005 */ blez $s0, .L802A1228 -/* 7287F4 802A1214 00000000 */ nop -/* 7287F8 802A1218 3C04802A */ lui $a0, %hi(D_802A18E0) -/* 7287FC 802A121C 8C8418E0 */ lw $a0, %lo(D_802A18E0)($a0) -/* 728800 802A1220 0C05123D */ jal free_icon -/* 728804 802A1224 00000000 */ nop -.L802A1228: -/* 728808 802A1228 8FBF0014 */ lw $ra, 0x14($sp) -/* 72880C 802A122C 8FB00010 */ lw $s0, 0x10($sp) -/* 728810 802A1230 24020002 */ addiu $v0, $zero, 2 -/* 728814 802A1234 03E00008 */ jr $ra -/* 728818 802A1238 27BD0018 */ addiu $sp, $sp, 0x18 -/* 72881C 802A123C 00000000 */ nop diff --git a/ver/us/asm/nonmatchings/code_728EC0/func_802A1000_728EC0.s b/ver/us/asm/nonmatchings/code_728EC0/func_802A1000_728EC0.s deleted file mode 100644 index 8260bb2b97..0000000000 --- a/ver/us/asm/nonmatchings/code_728EC0/func_802A1000_728EC0.s +++ /dev/null @@ -1,125 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A1000_728EC0 -/* 728EC0 802A1000 27BDFF98 */ addiu $sp, $sp, -0x68 -/* 728EC4 802A1004 AFB50044 */ sw $s5, 0x44($sp) -/* 728EC8 802A1008 0080A82D */ daddu $s5, $a0, $zero -/* 728ECC 802A100C AFB10034 */ sw $s1, 0x34($sp) -/* 728ED0 802A1010 0000882D */ daddu $s1, $zero, $zero -/* 728ED4 802A1014 2405001D */ addiu $a1, $zero, 0x1d -/* 728ED8 802A1018 F7B40050 */ sdc1 $f20, 0x50($sp) -/* 728EDC 802A101C 4480A000 */ mtc1 $zero, $f20 -/* 728EE0 802A1020 3C02800E */ lui $v0, %hi(gBattleStatus) -/* 728EE4 802A1024 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus) -/* 728EE8 802A1028 AFBF0048 */ sw $ra, 0x48($sp) -/* 728EEC 802A102C AFB40040 */ sw $s4, 0x40($sp) -/* 728EF0 802A1030 AFB3003C */ sw $s3, 0x3c($sp) -/* 728EF4 802A1034 AFB20038 */ sw $s2, 0x38($sp) -/* 728EF8 802A1038 AFB00030 */ sw $s0, 0x30($sp) -/* 728EFC 802A103C F7B80060 */ sdc1 $f24, 0x60($sp) -/* 728F00 802A1040 F7B60058 */ sdc1 $f22, 0x58($sp) -/* 728F04 802A1044 8C5300D8 */ lw $s3, 0xd8($v0) -/* 728F08 802A1048 8442017A */ lh $v0, 0x17a($v0) -/* 728F0C 802A104C 0260202D */ daddu $a0, $s3, $zero -/* 728F10 802A1050 00021140 */ sll $v0, $v0, 5 -/* 728F14 802A1054 3C128008 */ lui $s2, %hi(gItemTable+0xC) -/* 728F18 802A1058 02429021 */ addu $s2, $s2, $v0 -/* 728F1C 802A105C 865278EC */ lh $s2, %lo(gItemTable+0xC)($s2) -/* 728F20 802A1060 92620191 */ lbu $v0, 0x191($s3) -/* 728F24 802A1064 C6620148 */ lwc1 $f2, 0x148($s3) -/* 728F28 802A1068 44820000 */ mtc1 $v0, $f0 -/* 728F2C 802A106C 00000000 */ nop -/* 728F30 802A1070 46800020 */ cvt.s.w $f0, $f0 -/* 728F34 802A1074 0C099CAB */ jal heroes_is_ability_active -/* 728F38 802A1078 46001580 */ add.s $f22, $f2, $f0 -/* 728F3C 802A107C 50400048 */ beql $v0, $zero, .L802A11A0 -/* 728F40 802A1080 AEB10084 */ sw $s1, 0x84($s5) -/* 728F44 802A1084 1A400045 */ blez $s2, .L802A119C -/* 728F48 802A1088 3C0451EB */ lui $a0, 0x51eb -/* 728F4C 802A108C 3484851F */ ori $a0, $a0, 0x851f -/* 728F50 802A1090 00121880 */ sll $v1, $s2, 2 -/* 728F54 802A1094 00721821 */ addu $v1, $v1, $s2 -/* 728F58 802A1098 00031100 */ sll $v0, $v1, 4 -/* 728F5C 802A109C 00431023 */ subu $v0, $v0, $v1 -/* 728F60 802A10A0 24420063 */ addiu $v0, $v0, 0x63 -/* 728F64 802A10A4 00440018 */ mult $v0, $a0 -/* 728F68 802A10A8 000217C3 */ sra $v0, $v0, 0x1f -/* 728F6C 802A10AC 00004010 */ mfhi $t0 -/* 728F70 802A10B0 00081943 */ sra $v1, $t0, 5 -/* 728F74 802A10B4 00629023 */ subu $s2, $v1, $v0 -/* 728F78 802A10B8 0232102A */ slt $v0, $s1, $s2 -/* 728F7C 802A10BC 10400019 */ beqz $v0, .L802A1124 -/* 728F80 802A10C0 0220802D */ daddu $s0, $s1, $zero -/* 728F84 802A10C4 24140017 */ addiu $s4, $zero, 0x17 -/* 728F88 802A10C8 3C0141F0 */ lui $at, 0x41f0 -/* 728F8C 802A10CC 4481C000 */ mtc1 $at, $f24 -/* 728F90 802A10D0 24110001 */ addiu $s1, $zero, 1 -.L802A10D4: -/* 728F94 802A10D4 C6600144 */ lwc1 $f0, 0x144($s3) -/* 728F98 802A10D8 C662014C */ lwc1 $f2, 0x14c($s3) -/* 728F9C 802A10DC 4600A10D */ trunc.w.s $f4, $f20 -/* 728FA0 802A10E0 E7A40018 */ swc1 $f4, 0x18($sp) -/* 728FA4 802A10E4 24040157 */ addiu $a0, $zero, 0x157 -/* 728FA8 802A10E8 AFB10014 */ sw $s1, 0x14($sp) -/* 728FAC 802A10EC 26310003 */ addiu $s1, $s1, 3 -/* 728FB0 802A10F0 26100001 */ addiu $s0, $s0, 1 -/* 728FB4 802A10F4 4406B000 */ mfc1 $a2, $f22 -/* 728FB8 802A10F8 44050000 */ mfc1 $a1, $f0 -/* 728FBC 802A10FC 44071000 */ mfc1 $a3, $f2 -/* 728FC0 802A1100 4618A500 */ add.s $f20, $f20, $f24 -/* 728FC4 802A1104 AFB40010 */ sw $s4, 0x10($sp) -/* 728FC8 802A1108 0C04C4FD */ jal make_item_entity -/* 728FCC 802A110C AFA0001C */ sw $zero, 0x1c($sp) -/* 728FD0 802A1110 0C03A830 */ jal add_coins -/* 728FD4 802A1114 24040001 */ addiu $a0, $zero, 1 -/* 728FD8 802A1118 0212102A */ slt $v0, $s0, $s2 -/* 728FDC 802A111C 1440FFED */ bnez $v0, .L802A10D4 -/* 728FE0 802A1120 00000000 */ nop -.L802A1124: -/* 728FE4 802A1124 00101040 */ sll $v0, $s0, 1 -/* 728FE8 802A1128 00501021 */ addu $v0, $v0, $s0 -/* 728FEC 802A112C 2451001E */ addiu $s1, $v0, 0x1e -/* 728FF0 802A1130 C6600144 */ lwc1 $f0, 0x144($s3) -/* 728FF4 802A1134 C6760148 */ lwc1 $f22, 0x148($s3) -/* 728FF8 802A1138 C662014C */ lwc1 $f2, 0x14c($s3) -/* 728FFC 802A113C 3C048007 */ lui $a0, %hi(gCurrentCameraID) -/* 729000 802A1140 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0) -/* 729004 802A1144 27A20020 */ addiu $v0, $sp, 0x20 -/* 729008 802A1148 AFA20010 */ sw $v0, 0x10($sp) -/* 72900C 802A114C 27A20024 */ addiu $v0, $sp, 0x24 -/* 729010 802A1150 AFA20014 */ sw $v0, 0x14($sp) -/* 729014 802A1154 44050000 */ mfc1 $a1, $f0 -/* 729018 802A1158 4406B000 */ mfc1 $a2, $f22 -/* 72901C 802A115C 44071000 */ mfc1 $a3, $f2 -/* 729020 802A1160 27A20028 */ addiu $v0, $sp, 0x28 -/* 729024 802A1164 0C00B94E */ jal get_screen_coords -/* 729028 802A1168 AFA20018 */ sw $v0, 0x18($sp) -/* 72902C 802A116C 3C048011 */ lui $a0, %hi(D_80108A64) -/* 729030 802A1170 24848A64 */ addiu $a0, $a0, %lo(D_80108A64) -/* 729034 802A1174 0C050529 */ jal create_icon -/* 729038 802A1178 00000000 */ nop -/* 72903C 802A117C 8FA50020 */ lw $a1, 0x20($sp) -/* 729040 802A1180 8FA60024 */ lw $a2, 0x24($sp) -/* 729044 802A1184 0040202D */ daddu $a0, $v0, $zero -/* 729048 802A1188 3C01802A */ lui $at, %hi(D_802A2890) -/* 72904C 802A118C AC242890 */ sw $a0, %lo(D_802A2890)($at) -/* 729050 802A1190 24A50024 */ addiu $a1, $a1, 0x24 -/* 729054 802A1194 0C051261 */ jal set_icon_render_pos -/* 729058 802A1198 24C6FFC1 */ addiu $a2, $a2, -0x3f -.L802A119C: -/* 72905C 802A119C AEB10084 */ sw $s1, 0x84($s5) -.L802A11A0: -/* 729060 802A11A0 8FBF0048 */ lw $ra, 0x48($sp) -/* 729064 802A11A4 8FB50044 */ lw $s5, 0x44($sp) -/* 729068 802A11A8 8FB40040 */ lw $s4, 0x40($sp) -/* 72906C 802A11AC 8FB3003C */ lw $s3, 0x3c($sp) -/* 729070 802A11B0 8FB20038 */ lw $s2, 0x38($sp) -/* 729074 802A11B4 8FB10034 */ lw $s1, 0x34($sp) -/* 729078 802A11B8 8FB00030 */ lw $s0, 0x30($sp) -/* 72907C 802A11BC D7B80060 */ ldc1 $f24, 0x60($sp) -/* 729080 802A11C0 D7B60058 */ ldc1 $f22, 0x58($sp) -/* 729084 802A11C4 D7B40050 */ ldc1 $f20, 0x50($sp) -/* 729088 802A11C8 24020002 */ addiu $v0, $zero, 2 -/* 72908C 802A11CC 03E00008 */ jr $ra -/* 729090 802A11D0 27BD0068 */ addiu $sp, $sp, 0x68 diff --git a/ver/us/asm/nonmatchings/code_728EC0/func_802A11D4_729094.s b/ver/us/asm/nonmatchings/code_728EC0/func_802A11D4_729094.s deleted file mode 100644 index 8dbb7fbac8..0000000000 --- a/ver/us/asm/nonmatchings/code_728EC0/func_802A11D4_729094.s +++ /dev/null @@ -1,31 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A11D4_729094 -/* 729094 802A11D4 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 729098 802A11D8 3C03800E */ lui $v1, %hi(gBattleStatus) -/* 72909C 802A11DC 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus) -/* 7290A0 802A11E0 AFBF0014 */ sw $ra, 0x14($sp) -/* 7290A4 802A11E4 AFB00010 */ sw $s0, 0x10($sp) -/* 7290A8 802A11E8 8462017A */ lh $v0, 0x17a($v1) -/* 7290AC 802A11EC 8C6400D8 */ lw $a0, 0xd8($v1) -/* 7290B0 802A11F0 00021140 */ sll $v0, $v0, 5 -/* 7290B4 802A11F4 3C108008 */ lui $s0, %hi(gItemTable+0xC) -/* 7290B8 802A11F8 02028021 */ addu $s0, $s0, $v0 -/* 7290BC 802A11FC 861078EC */ lh $s0, %lo(gItemTable+0xC)($s0) -/* 7290C0 802A1200 0C099CAB */ jal heroes_is_ability_active -/* 7290C4 802A1204 2405001D */ addiu $a1, $zero, 0x1d -/* 7290C8 802A1208 10400007 */ beqz $v0, .L802A1228 -/* 7290CC 802A120C 00000000 */ nop -/* 7290D0 802A1210 1A000005 */ blez $s0, .L802A1228 -/* 7290D4 802A1214 00000000 */ nop -/* 7290D8 802A1218 3C04802A */ lui $a0, %hi(D_802A2890) -/* 7290DC 802A121C 8C842890 */ lw $a0, %lo(D_802A2890)($a0) -/* 7290E0 802A1220 0C05123D */ jal free_icon -/* 7290E4 802A1224 00000000 */ nop -.L802A1228: -/* 7290E8 802A1228 8FBF0014 */ lw $ra, 0x14($sp) -/* 7290EC 802A122C 8FB00010 */ lw $s0, 0x10($sp) -/* 7290F0 802A1230 24020002 */ addiu $v0, $zero, 2 -/* 7290F4 802A1234 03E00008 */ jr $ra -/* 7290F8 802A1238 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/ver/us/asm/nonmatchings/code_728EC0/func_802A123C_7290FC.s b/ver/us/asm/nonmatchings/code_728EC0/func_802A123C_7290FC.s deleted file mode 100644 index 101711d756..0000000000 --- a/ver/us/asm/nonmatchings/code_728EC0/func_802A123C_7290FC.s +++ /dev/null @@ -1,57 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A123C_7290FC -/* 7290FC 802A123C 27BDFFD0 */ addiu $sp, $sp, -0x30 -/* 729100 802A1240 AFB10014 */ sw $s1, 0x14($sp) -/* 729104 802A1244 0080882D */ daddu $s1, $a0, $zero -/* 729108 802A1248 AFBF001C */ sw $ra, 0x1c($sp) -/* 72910C 802A124C AFB20018 */ sw $s2, 0x18($sp) -/* 729110 802A1250 AFB00010 */ sw $s0, 0x10($sp) -/* 729114 802A1254 F7B60028 */ sdc1 $f22, 0x28($sp) -/* 729118 802A1258 F7B40020 */ sdc1 $f20, 0x20($sp) -/* 72911C 802A125C 8E30000C */ lw $s0, 0xc($s1) -/* 729120 802A1260 8E050000 */ lw $a1, ($s0) -/* 729124 802A1264 0C0B1EAF */ jal get_variable -/* 729128 802A1268 26100004 */ addiu $s0, $s0, 4 -/* 72912C 802A126C 8E050000 */ lw $a1, ($s0) -/* 729130 802A1270 26100004 */ addiu $s0, $s0, 4 -/* 729134 802A1274 0220202D */ daddu $a0, $s1, $zero -/* 729138 802A1278 0C0B1EAF */ jal get_variable -/* 72913C 802A127C 0040902D */ daddu $s2, $v0, $zero -/* 729140 802A1280 0220202D */ daddu $a0, $s1, $zero -/* 729144 802A1284 8E050000 */ lw $a1, ($s0) -/* 729148 802A1288 0C0B1EAF */ jal get_variable -/* 72914C 802A128C 0040802D */ daddu $s0, $v0, $zero -/* 729150 802A1290 4492B000 */ mtc1 $s2, $f22 -/* 729154 802A1294 00000000 */ nop -/* 729158 802A1298 4680B5A0 */ cvt.s.w $f22, $f22 -/* 72915C 802A129C 4482A000 */ mtc1 $v0, $f20 -/* 729160 802A12A0 00000000 */ nop -/* 729164 802A12A4 4680A520 */ cvt.s.w $f20, $f20 -/* 729168 802A12A8 44900000 */ mtc1 $s0, $f0 -/* 72916C 802A12AC 00000000 */ nop -/* 729170 802A12B0 46800020 */ cvt.s.w $f0, $f0 -/* 729174 802A12B4 4405B000 */ mfc1 $a1, $f22 -/* 729178 802A12B8 4407A000 */ mfc1 $a3, $f20 -/* 72917C 802A12BC 44060000 */ mfc1 $a2, $f0 -/* 729180 802A12C0 0C01C04C */ jal func_80070130 -/* 729184 802A12C4 0000202D */ daddu $a0, $zero, $zero -/* 729188 802A12C8 26100014 */ addiu $s0, $s0, 0x14 -/* 72918C 802A12CC 44900000 */ mtc1 $s0, $f0 -/* 729190 802A12D0 00000000 */ nop -/* 729194 802A12D4 46800020 */ cvt.s.w $f0, $f0 -/* 729198 802A12D8 4405B000 */ mfc1 $a1, $f22 -/* 72919C 802A12DC 4407A000 */ mfc1 $a3, $f20 -/* 7291A0 802A12E0 44060000 */ mfc1 $a2, $f0 -/* 7291A4 802A12E4 0C01C07C */ jal func_800701F0 -/* 7291A8 802A12E8 0000202D */ daddu $a0, $zero, $zero -/* 7291AC 802A12EC 8FBF001C */ lw $ra, 0x1c($sp) -/* 7291B0 802A12F0 8FB20018 */ lw $s2, 0x18($sp) -/* 7291B4 802A12F4 8FB10014 */ lw $s1, 0x14($sp) -/* 7291B8 802A12F8 8FB00010 */ lw $s0, 0x10($sp) -/* 7291BC 802A12FC D7B60028 */ ldc1 $f22, 0x28($sp) -/* 7291C0 802A1300 D7B40020 */ ldc1 $f20, 0x20($sp) -/* 7291C4 802A1304 24020002 */ addiu $v0, $zero, 2 -/* 7291C8 802A1308 03E00008 */ jr $ra -/* 7291CC 802A130C 27BD0030 */ addiu $sp, $sp, 0x30 diff --git a/ver/us/asm/nonmatchings/code_72A750/func_802A1000_72A750.s b/ver/us/asm/nonmatchings/code_72A750/func_802A1000_72A750.s deleted file mode 100644 index f5347389ba..0000000000 --- a/ver/us/asm/nonmatchings/code_72A750/func_802A1000_72A750.s +++ /dev/null @@ -1,125 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A1000_72A750 -/* 72A750 802A1000 27BDFF98 */ addiu $sp, $sp, -0x68 -/* 72A754 802A1004 AFB50044 */ sw $s5, 0x44($sp) -/* 72A758 802A1008 0080A82D */ daddu $s5, $a0, $zero -/* 72A75C 802A100C AFB10034 */ sw $s1, 0x34($sp) -/* 72A760 802A1010 0000882D */ daddu $s1, $zero, $zero -/* 72A764 802A1014 2405001D */ addiu $a1, $zero, 0x1d -/* 72A768 802A1018 F7B40050 */ sdc1 $f20, 0x50($sp) -/* 72A76C 802A101C 4480A000 */ mtc1 $zero, $f20 -/* 72A770 802A1020 3C02800E */ lui $v0, %hi(gBattleStatus) -/* 72A774 802A1024 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus) -/* 72A778 802A1028 AFBF0048 */ sw $ra, 0x48($sp) -/* 72A77C 802A102C AFB40040 */ sw $s4, 0x40($sp) -/* 72A780 802A1030 AFB3003C */ sw $s3, 0x3c($sp) -/* 72A784 802A1034 AFB20038 */ sw $s2, 0x38($sp) -/* 72A788 802A1038 AFB00030 */ sw $s0, 0x30($sp) -/* 72A78C 802A103C F7B80060 */ sdc1 $f24, 0x60($sp) -/* 72A790 802A1040 F7B60058 */ sdc1 $f22, 0x58($sp) -/* 72A794 802A1044 8C5300D8 */ lw $s3, 0xd8($v0) -/* 72A798 802A1048 8442017A */ lh $v0, 0x17a($v0) -/* 72A79C 802A104C 0260202D */ daddu $a0, $s3, $zero -/* 72A7A0 802A1050 00021140 */ sll $v0, $v0, 5 -/* 72A7A4 802A1054 3C128008 */ lui $s2, %hi(gItemTable+0xC) -/* 72A7A8 802A1058 02429021 */ addu $s2, $s2, $v0 -/* 72A7AC 802A105C 865278EC */ lh $s2, %lo(gItemTable+0xC)($s2) -/* 72A7B0 802A1060 92620191 */ lbu $v0, 0x191($s3) -/* 72A7B4 802A1064 C6620148 */ lwc1 $f2, 0x148($s3) -/* 72A7B8 802A1068 44820000 */ mtc1 $v0, $f0 -/* 72A7BC 802A106C 00000000 */ nop -/* 72A7C0 802A1070 46800020 */ cvt.s.w $f0, $f0 -/* 72A7C4 802A1074 0C099CAB */ jal heroes_is_ability_active -/* 72A7C8 802A1078 46001580 */ add.s $f22, $f2, $f0 -/* 72A7CC 802A107C 50400048 */ beql $v0, $zero, .L802A11A0 -/* 72A7D0 802A1080 AEB10084 */ sw $s1, 0x84($s5) -/* 72A7D4 802A1084 1A400045 */ blez $s2, .L802A119C -/* 72A7D8 802A1088 3C0451EB */ lui $a0, 0x51eb -/* 72A7DC 802A108C 3484851F */ ori $a0, $a0, 0x851f -/* 72A7E0 802A1090 00121880 */ sll $v1, $s2, 2 -/* 72A7E4 802A1094 00721821 */ addu $v1, $v1, $s2 -/* 72A7E8 802A1098 00031100 */ sll $v0, $v1, 4 -/* 72A7EC 802A109C 00431023 */ subu $v0, $v0, $v1 -/* 72A7F0 802A10A0 24420063 */ addiu $v0, $v0, 0x63 -/* 72A7F4 802A10A4 00440018 */ mult $v0, $a0 -/* 72A7F8 802A10A8 000217C3 */ sra $v0, $v0, 0x1f -/* 72A7FC 802A10AC 00004010 */ mfhi $t0 -/* 72A800 802A10B0 00081943 */ sra $v1, $t0, 5 -/* 72A804 802A10B4 00629023 */ subu $s2, $v1, $v0 -/* 72A808 802A10B8 0232102A */ slt $v0, $s1, $s2 -/* 72A80C 802A10BC 10400019 */ beqz $v0, .L802A1124 -/* 72A810 802A10C0 0220802D */ daddu $s0, $s1, $zero -/* 72A814 802A10C4 24140017 */ addiu $s4, $zero, 0x17 -/* 72A818 802A10C8 3C0141F0 */ lui $at, 0x41f0 -/* 72A81C 802A10CC 4481C000 */ mtc1 $at, $f24 -/* 72A820 802A10D0 24110001 */ addiu $s1, $zero, 1 -.L802A10D4: -/* 72A824 802A10D4 C6600144 */ lwc1 $f0, 0x144($s3) -/* 72A828 802A10D8 C662014C */ lwc1 $f2, 0x14c($s3) -/* 72A82C 802A10DC 4600A10D */ trunc.w.s $f4, $f20 -/* 72A830 802A10E0 E7A40018 */ swc1 $f4, 0x18($sp) -/* 72A834 802A10E4 24040157 */ addiu $a0, $zero, 0x157 -/* 72A838 802A10E8 AFB10014 */ sw $s1, 0x14($sp) -/* 72A83C 802A10EC 26310003 */ addiu $s1, $s1, 3 -/* 72A840 802A10F0 26100001 */ addiu $s0, $s0, 1 -/* 72A844 802A10F4 4406B000 */ mfc1 $a2, $f22 -/* 72A848 802A10F8 44050000 */ mfc1 $a1, $f0 -/* 72A84C 802A10FC 44071000 */ mfc1 $a3, $f2 -/* 72A850 802A1100 4618A500 */ add.s $f20, $f20, $f24 -/* 72A854 802A1104 AFB40010 */ sw $s4, 0x10($sp) -/* 72A858 802A1108 0C04C4FD */ jal make_item_entity -/* 72A85C 802A110C AFA0001C */ sw $zero, 0x1c($sp) -/* 72A860 802A1110 0C03A830 */ jal add_coins -/* 72A864 802A1114 24040001 */ addiu $a0, $zero, 1 -/* 72A868 802A1118 0212102A */ slt $v0, $s0, $s2 -/* 72A86C 802A111C 1440FFED */ bnez $v0, .L802A10D4 -/* 72A870 802A1120 00000000 */ nop -.L802A1124: -/* 72A874 802A1124 00101040 */ sll $v0, $s0, 1 -/* 72A878 802A1128 00501021 */ addu $v0, $v0, $s0 -/* 72A87C 802A112C 2451001E */ addiu $s1, $v0, 0x1e -/* 72A880 802A1130 C6600144 */ lwc1 $f0, 0x144($s3) -/* 72A884 802A1134 C6760148 */ lwc1 $f22, 0x148($s3) -/* 72A888 802A1138 C662014C */ lwc1 $f2, 0x14c($s3) -/* 72A88C 802A113C 3C048007 */ lui $a0, %hi(gCurrentCameraID) -/* 72A890 802A1140 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0) -/* 72A894 802A1144 27A20020 */ addiu $v0, $sp, 0x20 -/* 72A898 802A1148 AFA20010 */ sw $v0, 0x10($sp) -/* 72A89C 802A114C 27A20024 */ addiu $v0, $sp, 0x24 -/* 72A8A0 802A1150 AFA20014 */ sw $v0, 0x14($sp) -/* 72A8A4 802A1154 44050000 */ mfc1 $a1, $f0 -/* 72A8A8 802A1158 4406B000 */ mfc1 $a2, $f22 -/* 72A8AC 802A115C 44071000 */ mfc1 $a3, $f2 -/* 72A8B0 802A1160 27A20028 */ addiu $v0, $sp, 0x28 -/* 72A8B4 802A1164 0C00B94E */ jal get_screen_coords -/* 72A8B8 802A1168 AFA20018 */ sw $v0, 0x18($sp) -/* 72A8BC 802A116C 3C048011 */ lui $a0, %hi(D_80108A64) -/* 72A8C0 802A1170 24848A64 */ addiu $a0, $a0, %lo(D_80108A64) -/* 72A8C4 802A1174 0C050529 */ jal create_icon -/* 72A8C8 802A1178 00000000 */ nop -/* 72A8CC 802A117C 8FA50020 */ lw $a1, 0x20($sp) -/* 72A8D0 802A1180 8FA60024 */ lw $a2, 0x24($sp) -/* 72A8D4 802A1184 0040202D */ daddu $a0, $v0, $zero -/* 72A8D8 802A1188 3C01802A */ lui $at, %hi(D_802A21C0) -/* 72A8DC 802A118C AC2421C0 */ sw $a0, %lo(D_802A21C0)($at) -/* 72A8E0 802A1190 24A50024 */ addiu $a1, $a1, 0x24 -/* 72A8E4 802A1194 0C051261 */ jal set_icon_render_pos -/* 72A8E8 802A1198 24C6FFC1 */ addiu $a2, $a2, -0x3f -.L802A119C: -/* 72A8EC 802A119C AEB10084 */ sw $s1, 0x84($s5) -.L802A11A0: -/* 72A8F0 802A11A0 8FBF0048 */ lw $ra, 0x48($sp) -/* 72A8F4 802A11A4 8FB50044 */ lw $s5, 0x44($sp) -/* 72A8F8 802A11A8 8FB40040 */ lw $s4, 0x40($sp) -/* 72A8FC 802A11AC 8FB3003C */ lw $s3, 0x3c($sp) -/* 72A900 802A11B0 8FB20038 */ lw $s2, 0x38($sp) -/* 72A904 802A11B4 8FB10034 */ lw $s1, 0x34($sp) -/* 72A908 802A11B8 8FB00030 */ lw $s0, 0x30($sp) -/* 72A90C 802A11BC D7B80060 */ ldc1 $f24, 0x60($sp) -/* 72A910 802A11C0 D7B60058 */ ldc1 $f22, 0x58($sp) -/* 72A914 802A11C4 D7B40050 */ ldc1 $f20, 0x50($sp) -/* 72A918 802A11C8 24020002 */ addiu $v0, $zero, 2 -/* 72A91C 802A11CC 03E00008 */ jr $ra -/* 72A920 802A11D0 27BD0068 */ addiu $sp, $sp, 0x68 diff --git a/ver/us/asm/nonmatchings/code_72A750/func_802A11D4_72A924.s b/ver/us/asm/nonmatchings/code_72A750/func_802A11D4_72A924.s deleted file mode 100644 index b6811fdb41..0000000000 --- a/ver/us/asm/nonmatchings/code_72A750/func_802A11D4_72A924.s +++ /dev/null @@ -1,31 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A11D4_72A924 -/* 72A924 802A11D4 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 72A928 802A11D8 3C03800E */ lui $v1, %hi(gBattleStatus) -/* 72A92C 802A11DC 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus) -/* 72A930 802A11E0 AFBF0014 */ sw $ra, 0x14($sp) -/* 72A934 802A11E4 AFB00010 */ sw $s0, 0x10($sp) -/* 72A938 802A11E8 8462017A */ lh $v0, 0x17a($v1) -/* 72A93C 802A11EC 8C6400D8 */ lw $a0, 0xd8($v1) -/* 72A940 802A11F0 00021140 */ sll $v0, $v0, 5 -/* 72A944 802A11F4 3C108008 */ lui $s0, %hi(gItemTable+0xC) -/* 72A948 802A11F8 02028021 */ addu $s0, $s0, $v0 -/* 72A94C 802A11FC 861078EC */ lh $s0, %lo(gItemTable+0xC)($s0) -/* 72A950 802A1200 0C099CAB */ jal heroes_is_ability_active -/* 72A954 802A1204 2405001D */ addiu $a1, $zero, 0x1d -/* 72A958 802A1208 10400007 */ beqz $v0, .L802A1228 -/* 72A95C 802A120C 00000000 */ nop -/* 72A960 802A1210 1A000005 */ blez $s0, .L802A1228 -/* 72A964 802A1214 00000000 */ nop -/* 72A968 802A1218 3C04802A */ lui $a0, %hi(D_802A21C0) -/* 72A96C 802A121C 8C8421C0 */ lw $a0, %lo(D_802A21C0)($a0) -/* 72A970 802A1220 0C05123D */ jal free_icon -/* 72A974 802A1224 00000000 */ nop -.L802A1228: -/* 72A978 802A1228 8FBF0014 */ lw $ra, 0x14($sp) -/* 72A97C 802A122C 8FB00010 */ lw $s0, 0x10($sp) -/* 72A980 802A1230 24020002 */ addiu $v0, $zero, 2 -/* 72A984 802A1234 03E00008 */ jr $ra -/* 72A988 802A1238 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/ver/us/asm/nonmatchings/code_72A750/func_802A123C_72A98C.s b/ver/us/asm/nonmatchings/code_72A750/func_802A123C_72A98C.s deleted file mode 100644 index 7ca16f92ed..0000000000 --- a/ver/us/asm/nonmatchings/code_72A750/func_802A123C_72A98C.s +++ /dev/null @@ -1,21 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A123C_72A98C -/* 72A98C 802A123C 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 72A990 802A1240 AFB00010 */ sw $s0, 0x10($sp) -/* 72A994 802A1244 0080802D */ daddu $s0, $a0, $zero -/* 72A998 802A1248 AFBF0014 */ sw $ra, 0x14($sp) -/* 72A99C 802A124C 0C09A75B */ jal get_actor -/* 72A9A0 802A1250 8E040148 */ lw $a0, 0x148($s0) -/* 72A9A4 802A1254 0C09A75B */ jal get_actor -/* 72A9A8 802A1258 84440428 */ lh $a0, 0x428($v0) -/* 72A9AC 802A125C 90430136 */ lbu $v1, 0x136($v0) -/* 72A9B0 802A1260 38630031 */ xori $v1, $v1, 0x31 -/* 72A9B4 802A1264 2C630001 */ sltiu $v1, $v1, 1 -/* 72A9B8 802A1268 AE0300A8 */ sw $v1, 0xa8($s0) -/* 72A9BC 802A126C 8FBF0014 */ lw $ra, 0x14($sp) -/* 72A9C0 802A1270 8FB00010 */ lw $s0, 0x10($sp) -/* 72A9C4 802A1274 24020002 */ addiu $v0, $zero, 2 -/* 72A9C8 802A1278 03E00008 */ jr $ra -/* 72A9CC 802A127C 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/ver/us/asm/nonmatchings/code_72A750/func_802A1280_72A9D0.s b/ver/us/asm/nonmatchings/code_72A750/func_802A1280_72A9D0.s deleted file mode 100644 index b3e60bc738..0000000000 --- a/ver/us/asm/nonmatchings/code_72A750/func_802A1280_72A9D0.s +++ /dev/null @@ -1,28 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A1280_72A9D0 -/* 72A9D0 802A1280 27BDFFE0 */ addiu $sp, $sp, -0x20 -/* 72A9D4 802A1284 AFBF001C */ sw $ra, 0x1c($sp) -/* 72A9D8 802A1288 AFB00018 */ sw $s0, 0x18($sp) -/* 72A9DC 802A128C 0C09A75B */ jal get_actor -/* 72A9E0 802A1290 8C840148 */ lw $a0, 0x148($a0) -/* 72A9E4 802A1294 0040802D */ daddu $s0, $v0, $zero -/* 72A9E8 802A1298 C6000020 */ lwc1 $f0, 0x20($s0) -/* 72A9EC 802A129C 24040231 */ addiu $a0, $zero, 0x231 -/* 72A9F0 802A12A0 E7A00010 */ swc1 $f0, 0x10($sp) -/* 72A9F4 802A12A4 8E060018 */ lw $a2, 0x18($s0) -/* 72A9F8 802A12A8 8E07001C */ lw $a3, 0x1c($s0) -/* 72A9FC 802A12AC 0C052757 */ jal play_sound_at_position -/* 72AA00 802A12B0 0000282D */ daddu $a1, $zero, $zero -/* 72AA04 802A12B4 86040428 */ lh $a0, 0x428($s0) -/* 72AA08 802A12B8 0C09A75B */ jal get_actor -/* 72AA0C 802A12BC 00000000 */ nop -/* 72AA10 802A12C0 0040202D */ daddu $a0, $v0, $zero -/* 72AA14 802A12C4 0C09DC58 */ jal dispatch_event_actor -/* 72AA18 802A12C8 24050039 */ addiu $a1, $zero, 0x39 -/* 72AA1C 802A12CC 8FBF001C */ lw $ra, 0x1c($sp) -/* 72AA20 802A12D0 8FB00018 */ lw $s0, 0x18($sp) -/* 72AA24 802A12D4 24020002 */ addiu $v0, $zero, 2 -/* 72AA28 802A12D8 03E00008 */ jr $ra -/* 72AA2C 802A12DC 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/ver/us/asm/nonmatchings/code_72A750/func_802A12E0_72AA30.s b/ver/us/asm/nonmatchings/code_72A750/func_802A12E0_72AA30.s deleted file mode 100644 index e75bda22ff..0000000000 --- a/ver/us/asm/nonmatchings/code_72A750/func_802A12E0_72AA30.s +++ /dev/null @@ -1,84 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A12E0_72AA30 -/* 72AA30 802A12E0 27BDFFC0 */ addiu $sp, $sp, -0x40 -/* 72AA34 802A12E4 AFB1001C */ sw $s1, 0x1c($sp) -/* 72AA38 802A12E8 0080882D */ daddu $s1, $a0, $zero -/* 72AA3C 802A12EC AFBF0020 */ sw $ra, 0x20($sp) -/* 72AA40 802A12F0 AFB00018 */ sw $s0, 0x18($sp) -/* 72AA44 802A12F4 F7B80038 */ sdc1 $f24, 0x38($sp) -/* 72AA48 802A12F8 F7B60030 */ sdc1 $f22, 0x30($sp) -/* 72AA4C 802A12FC F7B40028 */ sdc1 $f20, 0x28($sp) -/* 72AA50 802A1300 8E30000C */ lw $s0, 0xc($s1) -/* 72AA54 802A1304 8E050000 */ lw $a1, ($s0) -/* 72AA58 802A1308 0C0B1EAF */ jal get_variable -/* 72AA5C 802A130C 26100004 */ addiu $s0, $s0, 4 -/* 72AA60 802A1310 4482A000 */ mtc1 $v0, $f20 -/* 72AA64 802A1314 00000000 */ nop -/* 72AA68 802A1318 4680A520 */ cvt.s.w $f20, $f20 -/* 72AA6C 802A131C 8E050000 */ lw $a1, ($s0) -/* 72AA70 802A1320 26100004 */ addiu $s0, $s0, 4 -/* 72AA74 802A1324 0C0B1EAF */ jal get_variable -/* 72AA78 802A1328 0220202D */ daddu $a0, $s1, $zero -/* 72AA7C 802A132C 4482B000 */ mtc1 $v0, $f22 -/* 72AA80 802A1330 00000000 */ nop -/* 72AA84 802A1334 4680B5A0 */ cvt.s.w $f22, $f22 -/* 72AA88 802A1338 8E050000 */ lw $a1, ($s0) -/* 72AA8C 802A133C 0C0B1EAF */ jal get_variable -/* 72AA90 802A1340 0220202D */ daddu $a0, $s1, $zero -/* 72AA94 802A1344 4482C000 */ mtc1 $v0, $f24 -/* 72AA98 802A1348 00000000 */ nop -/* 72AA9C 802A134C 4680C620 */ cvt.s.w $f24, $f24 -/* 72AAA0 802A1350 0C00A67F */ jal rand_int -/* 72AAA4 802A1354 24040014 */ addiu $a0, $zero, 0x14 -/* 72AAA8 802A1358 2404000A */ addiu $a0, $zero, 0xa -/* 72AAAC 802A135C 2442FFF6 */ addiu $v0, $v0, -0xa -/* 72AAB0 802A1360 44820000 */ mtc1 $v0, $f0 -/* 72AAB4 802A1364 00000000 */ nop -/* 72AAB8 802A1368 46800020 */ cvt.s.w $f0, $f0 -/* 72AABC 802A136C 0C00A67F */ jal rand_int -/* 72AAC0 802A1370 4600A500 */ add.s $f20, $f20, $f0 -/* 72AAC4 802A1374 0000202D */ daddu $a0, $zero, $zero -/* 72AAC8 802A1378 2442FFFB */ addiu $v0, $v0, -5 -/* 72AACC 802A137C 44820000 */ mtc1 $v0, $f0 -/* 72AAD0 802A1380 00000000 */ nop -/* 72AAD4 802A1384 46800020 */ cvt.s.w $f0, $f0 -/* 72AAD8 802A1388 4600B580 */ add.s $f22, $f22, $f0 -/* 72AADC 802A138C 3C013F80 */ lui $at, 0x3f80 -/* 72AAE0 802A1390 44811000 */ mtc1 $at, $f2 -/* 72AAE4 802A1394 4407C000 */ mfc1 $a3, $f24 -/* 72AAE8 802A1398 4405A000 */ mfc1 $a1, $f20 -/* 72AAEC 802A139C 4406B000 */ mfc1 $a2, $f22 -/* 72AAF0 802A13A0 2402001E */ addiu $v0, $zero, 0x1e -/* 72AAF4 802A13A4 AFA20014 */ sw $v0, 0x14($sp) -/* 72AAF8 802A13A8 0C01C88C */ jal func_80072230 -/* 72AAFC 802A13AC E7A20010 */ swc1 $f2, 0x10($sp) -/* 72AB00 802A13B0 0040202D */ daddu $a0, $v0, $zero -/* 72AB04 802A13B4 8C82000C */ lw $v0, 0xc($a0) -/* 72AB08 802A13B8 240300F4 */ addiu $v1, $zero, 0xf4 -/* 72AB0C 802A13BC AC430018 */ sw $v1, 0x18($v0) -/* 72AB10 802A13C0 8C82000C */ lw $v0, 0xc($a0) -/* 72AB14 802A13C4 AC43001C */ sw $v1, 0x1c($v0) -/* 72AB18 802A13C8 8C83000C */ lw $v1, 0xc($a0) -/* 72AB1C 802A13CC 240200DC */ addiu $v0, $zero, 0xdc -/* 72AB20 802A13D0 AC620020 */ sw $v0, 0x20($v1) -/* 72AB24 802A13D4 8C82000C */ lw $v0, 0xc($a0) -/* 72AB28 802A13D8 240500D2 */ addiu $a1, $zero, 0xd2 -/* 72AB2C 802A13DC AC450028 */ sw $a1, 0x28($v0) -/* 72AB30 802A13E0 8C83000C */ lw $v1, 0xc($a0) -/* 72AB34 802A13E4 AC65002C */ sw $a1, 0x2c($v1) -/* 72AB38 802A13E8 8C84000C */ lw $a0, 0xc($a0) -/* 72AB3C 802A13EC 240300BE */ addiu $v1, $zero, 0xbe -/* 72AB40 802A13F0 AC830030 */ sw $v1, 0x30($a0) -/* 72AB44 802A13F4 8FBF0020 */ lw $ra, 0x20($sp) -/* 72AB48 802A13F8 8FB1001C */ lw $s1, 0x1c($sp) -/* 72AB4C 802A13FC 8FB00018 */ lw $s0, 0x18($sp) -/* 72AB50 802A1400 D7B80038 */ ldc1 $f24, 0x38($sp) -/* 72AB54 802A1404 D7B60030 */ ldc1 $f22, 0x30($sp) -/* 72AB58 802A1408 D7B40028 */ ldc1 $f20, 0x28($sp) -/* 72AB5C 802A140C 24020002 */ addiu $v0, $zero, 2 -/* 72AB60 802A1410 03E00008 */ jr $ra -/* 72AB64 802A1414 27BD0040 */ addiu $sp, $sp, 0x40 -/* 72AB68 802A1418 00000000 */ nop -/* 72AB6C 802A141C 00000000 */ nop diff --git a/ver/us/asm/nonmatchings/code_72B910/func_802A1000_72B910.s b/ver/us/asm/nonmatchings/code_72B910/func_802A1000_72B910.s deleted file mode 100644 index 16942c4975..0000000000 --- a/ver/us/asm/nonmatchings/code_72B910/func_802A1000_72B910.s +++ /dev/null @@ -1,125 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A1000_72B910 -/* 72B910 802A1000 27BDFF98 */ addiu $sp, $sp, -0x68 -/* 72B914 802A1004 AFB50044 */ sw $s5, 0x44($sp) -/* 72B918 802A1008 0080A82D */ daddu $s5, $a0, $zero -/* 72B91C 802A100C AFB10034 */ sw $s1, 0x34($sp) -/* 72B920 802A1010 0000882D */ daddu $s1, $zero, $zero -/* 72B924 802A1014 2405001D */ addiu $a1, $zero, 0x1d -/* 72B928 802A1018 F7B40050 */ sdc1 $f20, 0x50($sp) -/* 72B92C 802A101C 4480A000 */ mtc1 $zero, $f20 -/* 72B930 802A1020 3C02800E */ lui $v0, %hi(gBattleStatus) -/* 72B934 802A1024 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus) -/* 72B938 802A1028 AFBF0048 */ sw $ra, 0x48($sp) -/* 72B93C 802A102C AFB40040 */ sw $s4, 0x40($sp) -/* 72B940 802A1030 AFB3003C */ sw $s3, 0x3c($sp) -/* 72B944 802A1034 AFB20038 */ sw $s2, 0x38($sp) -/* 72B948 802A1038 AFB00030 */ sw $s0, 0x30($sp) -/* 72B94C 802A103C F7B80060 */ sdc1 $f24, 0x60($sp) -/* 72B950 802A1040 F7B60058 */ sdc1 $f22, 0x58($sp) -/* 72B954 802A1044 8C5300D8 */ lw $s3, 0xd8($v0) -/* 72B958 802A1048 8442017A */ lh $v0, 0x17a($v0) -/* 72B95C 802A104C 0260202D */ daddu $a0, $s3, $zero -/* 72B960 802A1050 00021140 */ sll $v0, $v0, 5 -/* 72B964 802A1054 3C128008 */ lui $s2, %hi(gItemTable+0xC) -/* 72B968 802A1058 02429021 */ addu $s2, $s2, $v0 -/* 72B96C 802A105C 865278EC */ lh $s2, %lo(gItemTable+0xC)($s2) -/* 72B970 802A1060 92620191 */ lbu $v0, 0x191($s3) -/* 72B974 802A1064 C6620148 */ lwc1 $f2, 0x148($s3) -/* 72B978 802A1068 44820000 */ mtc1 $v0, $f0 -/* 72B97C 802A106C 00000000 */ nop -/* 72B980 802A1070 46800020 */ cvt.s.w $f0, $f0 -/* 72B984 802A1074 0C099CAB */ jal heroes_is_ability_active -/* 72B988 802A1078 46001580 */ add.s $f22, $f2, $f0 -/* 72B98C 802A107C 50400048 */ beql $v0, $zero, .L802A11A0 -/* 72B990 802A1080 AEB10084 */ sw $s1, 0x84($s5) -/* 72B994 802A1084 1A400045 */ blez $s2, .L802A119C -/* 72B998 802A1088 3C0451EB */ lui $a0, 0x51eb -/* 72B99C 802A108C 3484851F */ ori $a0, $a0, 0x851f -/* 72B9A0 802A1090 00121880 */ sll $v1, $s2, 2 -/* 72B9A4 802A1094 00721821 */ addu $v1, $v1, $s2 -/* 72B9A8 802A1098 00031100 */ sll $v0, $v1, 4 -/* 72B9AC 802A109C 00431023 */ subu $v0, $v0, $v1 -/* 72B9B0 802A10A0 24420063 */ addiu $v0, $v0, 0x63 -/* 72B9B4 802A10A4 00440018 */ mult $v0, $a0 -/* 72B9B8 802A10A8 000217C3 */ sra $v0, $v0, 0x1f -/* 72B9BC 802A10AC 00004010 */ mfhi $t0 -/* 72B9C0 802A10B0 00081943 */ sra $v1, $t0, 5 -/* 72B9C4 802A10B4 00629023 */ subu $s2, $v1, $v0 -/* 72B9C8 802A10B8 0232102A */ slt $v0, $s1, $s2 -/* 72B9CC 802A10BC 10400019 */ beqz $v0, .L802A1124 -/* 72B9D0 802A10C0 0220802D */ daddu $s0, $s1, $zero -/* 72B9D4 802A10C4 24140017 */ addiu $s4, $zero, 0x17 -/* 72B9D8 802A10C8 3C0141F0 */ lui $at, 0x41f0 -/* 72B9DC 802A10CC 4481C000 */ mtc1 $at, $f24 -/* 72B9E0 802A10D0 24110001 */ addiu $s1, $zero, 1 -.L802A10D4: -/* 72B9E4 802A10D4 C6600144 */ lwc1 $f0, 0x144($s3) -/* 72B9E8 802A10D8 C662014C */ lwc1 $f2, 0x14c($s3) -/* 72B9EC 802A10DC 4600A10D */ trunc.w.s $f4, $f20 -/* 72B9F0 802A10E0 E7A40018 */ swc1 $f4, 0x18($sp) -/* 72B9F4 802A10E4 24040157 */ addiu $a0, $zero, 0x157 -/* 72B9F8 802A10E8 AFB10014 */ sw $s1, 0x14($sp) -/* 72B9FC 802A10EC 26310003 */ addiu $s1, $s1, 3 -/* 72BA00 802A10F0 26100001 */ addiu $s0, $s0, 1 -/* 72BA04 802A10F4 4406B000 */ mfc1 $a2, $f22 -/* 72BA08 802A10F8 44050000 */ mfc1 $a1, $f0 -/* 72BA0C 802A10FC 44071000 */ mfc1 $a3, $f2 -/* 72BA10 802A1100 4618A500 */ add.s $f20, $f20, $f24 -/* 72BA14 802A1104 AFB40010 */ sw $s4, 0x10($sp) -/* 72BA18 802A1108 0C04C4FD */ jal make_item_entity -/* 72BA1C 802A110C AFA0001C */ sw $zero, 0x1c($sp) -/* 72BA20 802A1110 0C03A830 */ jal add_coins -/* 72BA24 802A1114 24040001 */ addiu $a0, $zero, 1 -/* 72BA28 802A1118 0212102A */ slt $v0, $s0, $s2 -/* 72BA2C 802A111C 1440FFED */ bnez $v0, .L802A10D4 -/* 72BA30 802A1120 00000000 */ nop -.L802A1124: -/* 72BA34 802A1124 00101040 */ sll $v0, $s0, 1 -/* 72BA38 802A1128 00501021 */ addu $v0, $v0, $s0 -/* 72BA3C 802A112C 2451001E */ addiu $s1, $v0, 0x1e -/* 72BA40 802A1130 C6600144 */ lwc1 $f0, 0x144($s3) -/* 72BA44 802A1134 C6760148 */ lwc1 $f22, 0x148($s3) -/* 72BA48 802A1138 C662014C */ lwc1 $f2, 0x14c($s3) -/* 72BA4C 802A113C 3C048007 */ lui $a0, %hi(gCurrentCameraID) -/* 72BA50 802A1140 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0) -/* 72BA54 802A1144 27A20020 */ addiu $v0, $sp, 0x20 -/* 72BA58 802A1148 AFA20010 */ sw $v0, 0x10($sp) -/* 72BA5C 802A114C 27A20024 */ addiu $v0, $sp, 0x24 -/* 72BA60 802A1150 AFA20014 */ sw $v0, 0x14($sp) -/* 72BA64 802A1154 44050000 */ mfc1 $a1, $f0 -/* 72BA68 802A1158 4406B000 */ mfc1 $a2, $f22 -/* 72BA6C 802A115C 44071000 */ mfc1 $a3, $f2 -/* 72BA70 802A1160 27A20028 */ addiu $v0, $sp, 0x28 -/* 72BA74 802A1164 0C00B94E */ jal get_screen_coords -/* 72BA78 802A1168 AFA20018 */ sw $v0, 0x18($sp) -/* 72BA7C 802A116C 3C048011 */ lui $a0, %hi(D_80108A64) -/* 72BA80 802A1170 24848A64 */ addiu $a0, $a0, %lo(D_80108A64) -/* 72BA84 802A1174 0C050529 */ jal create_icon -/* 72BA88 802A1178 00000000 */ nop -/* 72BA8C 802A117C 8FA50020 */ lw $a1, 0x20($sp) -/* 72BA90 802A1180 8FA60024 */ lw $a2, 0x24($sp) -/* 72BA94 802A1184 0040202D */ daddu $a0, $v0, $zero -/* 72BA98 802A1188 3C01802A */ lui $at, %hi(D_802A1CA0) -/* 72BA9C 802A118C AC241CA0 */ sw $a0, %lo(D_802A1CA0)($at) -/* 72BAA0 802A1190 24A50024 */ addiu $a1, $a1, 0x24 -/* 72BAA4 802A1194 0C051261 */ jal set_icon_render_pos -/* 72BAA8 802A1198 24C6FFC1 */ addiu $a2, $a2, -0x3f -.L802A119C: -/* 72BAAC 802A119C AEB10084 */ sw $s1, 0x84($s5) -.L802A11A0: -/* 72BAB0 802A11A0 8FBF0048 */ lw $ra, 0x48($sp) -/* 72BAB4 802A11A4 8FB50044 */ lw $s5, 0x44($sp) -/* 72BAB8 802A11A8 8FB40040 */ lw $s4, 0x40($sp) -/* 72BABC 802A11AC 8FB3003C */ lw $s3, 0x3c($sp) -/* 72BAC0 802A11B0 8FB20038 */ lw $s2, 0x38($sp) -/* 72BAC4 802A11B4 8FB10034 */ lw $s1, 0x34($sp) -/* 72BAC8 802A11B8 8FB00030 */ lw $s0, 0x30($sp) -/* 72BACC 802A11BC D7B80060 */ ldc1 $f24, 0x60($sp) -/* 72BAD0 802A11C0 D7B60058 */ ldc1 $f22, 0x58($sp) -/* 72BAD4 802A11C4 D7B40050 */ ldc1 $f20, 0x50($sp) -/* 72BAD8 802A11C8 24020002 */ addiu $v0, $zero, 2 -/* 72BADC 802A11CC 03E00008 */ jr $ra -/* 72BAE0 802A11D0 27BD0068 */ addiu $sp, $sp, 0x68 diff --git a/ver/us/asm/nonmatchings/code_72B910/func_802A11D4_72BAE4.s b/ver/us/asm/nonmatchings/code_72B910/func_802A11D4_72BAE4.s deleted file mode 100644 index b71787bb28..0000000000 --- a/ver/us/asm/nonmatchings/code_72B910/func_802A11D4_72BAE4.s +++ /dev/null @@ -1,31 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A11D4_72BAE4 -/* 72BAE4 802A11D4 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 72BAE8 802A11D8 3C03800E */ lui $v1, %hi(gBattleStatus) -/* 72BAEC 802A11DC 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus) -/* 72BAF0 802A11E0 AFBF0014 */ sw $ra, 0x14($sp) -/* 72BAF4 802A11E4 AFB00010 */ sw $s0, 0x10($sp) -/* 72BAF8 802A11E8 8462017A */ lh $v0, 0x17a($v1) -/* 72BAFC 802A11EC 8C6400D8 */ lw $a0, 0xd8($v1) -/* 72BB00 802A11F0 00021140 */ sll $v0, $v0, 5 -/* 72BB04 802A11F4 3C108008 */ lui $s0, %hi(gItemTable+0xC) -/* 72BB08 802A11F8 02028021 */ addu $s0, $s0, $v0 -/* 72BB0C 802A11FC 861078EC */ lh $s0, %lo(gItemTable+0xC)($s0) -/* 72BB10 802A1200 0C099CAB */ jal heroes_is_ability_active -/* 72BB14 802A1204 2405001D */ addiu $a1, $zero, 0x1d -/* 72BB18 802A1208 10400007 */ beqz $v0, .L802A1228 -/* 72BB1C 802A120C 00000000 */ nop -/* 72BB20 802A1210 1A000005 */ blez $s0, .L802A1228 -/* 72BB24 802A1214 00000000 */ nop -/* 72BB28 802A1218 3C04802A */ lui $a0, %hi(D_802A1CA0) -/* 72BB2C 802A121C 8C841CA0 */ lw $a0, %lo(D_802A1CA0)($a0) -/* 72BB30 802A1220 0C05123D */ jal free_icon -/* 72BB34 802A1224 00000000 */ nop -.L802A1228: -/* 72BB38 802A1228 8FBF0014 */ lw $ra, 0x14($sp) -/* 72BB3C 802A122C 8FB00010 */ lw $s0, 0x10($sp) -/* 72BB40 802A1230 24020002 */ addiu $v0, $zero, 2 -/* 72BB44 802A1234 03E00008 */ jr $ra -/* 72BB48 802A1238 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/ver/us/asm/nonmatchings/code_72B910/func_802A12D4_72BBE4.s b/ver/us/asm/nonmatchings/code_72B910/func_802A12D4_72BBE4.s deleted file mode 100644 index 79cd07879f..0000000000 --- a/ver/us/asm/nonmatchings/code_72B910/func_802A12D4_72BBE4.s +++ /dev/null @@ -1,38 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A12D4_72BBE4 -/* 72BBE4 802A12D4 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 72BBE8 802A12D8 AFB00010 */ sw $s0, 0x10($sp) -/* 72BBEC 802A12DC 0080802D */ daddu $s0, $a0, $zero -/* 72BBF0 802A12E0 10A00003 */ beqz $a1, .L802A12F0 -/* 72BBF4 802A12E4 AFBF0014 */ sw $ra, 0x14($sp) -/* 72BBF8 802A12E8 24020014 */ addiu $v0, $zero, 0x14 -/* 72BBFC 802A12EC AE020070 */ sw $v0, 0x70($s0) -.L802A12F0: -/* 72BC00 802A12F0 0000202D */ daddu $a0, $zero, $zero -/* 72BC04 802A12F4 0080282D */ daddu $a1, $a0, $zero -/* 72BC08 802A12F8 8E020070 */ lw $v0, 0x70($s0) -/* 72BC0C 802A12FC 0080302D */ daddu $a2, $a0, $zero -/* 72BC10 802A1300 00023880 */ sll $a3, $v0, 2 -/* 72BC14 802A1304 00E23821 */ addu $a3, $a3, $v0 -/* 72BC18 802A1308 00073840 */ sll $a3, $a3, 1 -/* 72BC1C 802A130C 0C046F97 */ jal set_background_color_blend -/* 72BC20 802A1310 30E700FE */ andi $a3, $a3, 0xfe -/* 72BC24 802A1314 8E020070 */ lw $v0, 0x70($s0) -/* 72BC28 802A1318 2442FFFF */ addiu $v0, $v0, -1 -/* 72BC2C 802A131C 10400003 */ beqz $v0, .L802A132C -/* 72BC30 802A1320 AE020070 */ sw $v0, 0x70($s0) -/* 72BC34 802A1324 080A84D1 */ j .L802A1344 -/* 72BC38 802A1328 0000102D */ daddu $v0, $zero, $zero -.L802A132C: -/* 72BC3C 802A132C 0000202D */ daddu $a0, $zero, $zero -/* 72BC40 802A1330 0080282D */ daddu $a1, $a0, $zero -/* 72BC44 802A1334 0080302D */ daddu $a2, $a0, $zero -/* 72BC48 802A1338 0C046F97 */ jal set_background_color_blend -/* 72BC4C 802A133C 0080382D */ daddu $a3, $a0, $zero -/* 72BC50 802A1340 24020002 */ addiu $v0, $zero, 2 -.L802A1344: -/* 72BC54 802A1344 8FBF0014 */ lw $ra, 0x14($sp) -/* 72BC58 802A1348 8FB00010 */ lw $s0, 0x10($sp) -/* 72BC5C 802A134C 03E00008 */ jr $ra diff --git a/ver/us/asm/nonmatchings/code_72C5B0/func_802A1000_72C5B0.s b/ver/us/asm/nonmatchings/code_72C5B0/func_802A1000_72C5B0.s deleted file mode 100644 index a0d5140011..0000000000 --- a/ver/us/asm/nonmatchings/code_72C5B0/func_802A1000_72C5B0.s +++ /dev/null @@ -1,125 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A1000_72C5B0 -/* 72C5B0 802A1000 27BDFF98 */ addiu $sp, $sp, -0x68 -/* 72C5B4 802A1004 AFB50044 */ sw $s5, 0x44($sp) -/* 72C5B8 802A1008 0080A82D */ daddu $s5, $a0, $zero -/* 72C5BC 802A100C AFB10034 */ sw $s1, 0x34($sp) -/* 72C5C0 802A1010 0000882D */ daddu $s1, $zero, $zero -/* 72C5C4 802A1014 2405001D */ addiu $a1, $zero, 0x1d -/* 72C5C8 802A1018 F7B40050 */ sdc1 $f20, 0x50($sp) -/* 72C5CC 802A101C 4480A000 */ mtc1 $zero, $f20 -/* 72C5D0 802A1020 3C02800E */ lui $v0, %hi(gBattleStatus) -/* 72C5D4 802A1024 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus) -/* 72C5D8 802A1028 AFBF0048 */ sw $ra, 0x48($sp) -/* 72C5DC 802A102C AFB40040 */ sw $s4, 0x40($sp) -/* 72C5E0 802A1030 AFB3003C */ sw $s3, 0x3c($sp) -/* 72C5E4 802A1034 AFB20038 */ sw $s2, 0x38($sp) -/* 72C5E8 802A1038 AFB00030 */ sw $s0, 0x30($sp) -/* 72C5EC 802A103C F7B80060 */ sdc1 $f24, 0x60($sp) -/* 72C5F0 802A1040 F7B60058 */ sdc1 $f22, 0x58($sp) -/* 72C5F4 802A1044 8C5300D8 */ lw $s3, 0xd8($v0) -/* 72C5F8 802A1048 8442017A */ lh $v0, 0x17a($v0) -/* 72C5FC 802A104C 0260202D */ daddu $a0, $s3, $zero -/* 72C600 802A1050 00021140 */ sll $v0, $v0, 5 -/* 72C604 802A1054 3C128008 */ lui $s2, %hi(gItemTable+0xC) -/* 72C608 802A1058 02429021 */ addu $s2, $s2, $v0 -/* 72C60C 802A105C 865278EC */ lh $s2, %lo(gItemTable+0xC)($s2) -/* 72C610 802A1060 92620191 */ lbu $v0, 0x191($s3) -/* 72C614 802A1064 C6620148 */ lwc1 $f2, 0x148($s3) -/* 72C618 802A1068 44820000 */ mtc1 $v0, $f0 -/* 72C61C 802A106C 00000000 */ nop -/* 72C620 802A1070 46800020 */ cvt.s.w $f0, $f0 -/* 72C624 802A1074 0C099CAB */ jal heroes_is_ability_active -/* 72C628 802A1078 46001580 */ add.s $f22, $f2, $f0 -/* 72C62C 802A107C 50400048 */ beql $v0, $zero, .L802A11A0 -/* 72C630 802A1080 AEB10084 */ sw $s1, 0x84($s5) -/* 72C634 802A1084 1A400045 */ blez $s2, .L802A119C -/* 72C638 802A1088 3C0451EB */ lui $a0, 0x51eb -/* 72C63C 802A108C 3484851F */ ori $a0, $a0, 0x851f -/* 72C640 802A1090 00121880 */ sll $v1, $s2, 2 -/* 72C644 802A1094 00721821 */ addu $v1, $v1, $s2 -/* 72C648 802A1098 00031100 */ sll $v0, $v1, 4 -/* 72C64C 802A109C 00431023 */ subu $v0, $v0, $v1 -/* 72C650 802A10A0 24420063 */ addiu $v0, $v0, 0x63 -/* 72C654 802A10A4 00440018 */ mult $v0, $a0 -/* 72C658 802A10A8 000217C3 */ sra $v0, $v0, 0x1f -/* 72C65C 802A10AC 00004010 */ mfhi $t0 -/* 72C660 802A10B0 00081943 */ sra $v1, $t0, 5 -/* 72C664 802A10B4 00629023 */ subu $s2, $v1, $v0 -/* 72C668 802A10B8 0232102A */ slt $v0, $s1, $s2 -/* 72C66C 802A10BC 10400019 */ beqz $v0, .L802A1124 -/* 72C670 802A10C0 0220802D */ daddu $s0, $s1, $zero -/* 72C674 802A10C4 24140017 */ addiu $s4, $zero, 0x17 -/* 72C678 802A10C8 3C0141F0 */ lui $at, 0x41f0 -/* 72C67C 802A10CC 4481C000 */ mtc1 $at, $f24 -/* 72C680 802A10D0 24110001 */ addiu $s1, $zero, 1 -.L802A10D4: -/* 72C684 802A10D4 C6600144 */ lwc1 $f0, 0x144($s3) -/* 72C688 802A10D8 C662014C */ lwc1 $f2, 0x14c($s3) -/* 72C68C 802A10DC 4600A10D */ trunc.w.s $f4, $f20 -/* 72C690 802A10E0 E7A40018 */ swc1 $f4, 0x18($sp) -/* 72C694 802A10E4 24040157 */ addiu $a0, $zero, 0x157 -/* 72C698 802A10E8 AFB10014 */ sw $s1, 0x14($sp) -/* 72C69C 802A10EC 26310003 */ addiu $s1, $s1, 3 -/* 72C6A0 802A10F0 26100001 */ addiu $s0, $s0, 1 -/* 72C6A4 802A10F4 4406B000 */ mfc1 $a2, $f22 -/* 72C6A8 802A10F8 44050000 */ mfc1 $a1, $f0 -/* 72C6AC 802A10FC 44071000 */ mfc1 $a3, $f2 -/* 72C6B0 802A1100 4618A500 */ add.s $f20, $f20, $f24 -/* 72C6B4 802A1104 AFB40010 */ sw $s4, 0x10($sp) -/* 72C6B8 802A1108 0C04C4FD */ jal make_item_entity -/* 72C6BC 802A110C AFA0001C */ sw $zero, 0x1c($sp) -/* 72C6C0 802A1110 0C03A830 */ jal add_coins -/* 72C6C4 802A1114 24040001 */ addiu $a0, $zero, 1 -/* 72C6C8 802A1118 0212102A */ slt $v0, $s0, $s2 -/* 72C6CC 802A111C 1440FFED */ bnez $v0, .L802A10D4 -/* 72C6D0 802A1120 00000000 */ nop -.L802A1124: -/* 72C6D4 802A1124 00101040 */ sll $v0, $s0, 1 -/* 72C6D8 802A1128 00501021 */ addu $v0, $v0, $s0 -/* 72C6DC 802A112C 2451001E */ addiu $s1, $v0, 0x1e -/* 72C6E0 802A1130 C6600144 */ lwc1 $f0, 0x144($s3) -/* 72C6E4 802A1134 C6760148 */ lwc1 $f22, 0x148($s3) -/* 72C6E8 802A1138 C662014C */ lwc1 $f2, 0x14c($s3) -/* 72C6EC 802A113C 3C048007 */ lui $a0, %hi(gCurrentCameraID) -/* 72C6F0 802A1140 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0) -/* 72C6F4 802A1144 27A20020 */ addiu $v0, $sp, 0x20 -/* 72C6F8 802A1148 AFA20010 */ sw $v0, 0x10($sp) -/* 72C6FC 802A114C 27A20024 */ addiu $v0, $sp, 0x24 -/* 72C700 802A1150 AFA20014 */ sw $v0, 0x14($sp) -/* 72C704 802A1154 44050000 */ mfc1 $a1, $f0 -/* 72C708 802A1158 4406B000 */ mfc1 $a2, $f22 -/* 72C70C 802A115C 44071000 */ mfc1 $a3, $f2 -/* 72C710 802A1160 27A20028 */ addiu $v0, $sp, 0x28 -/* 72C714 802A1164 0C00B94E */ jal get_screen_coords -/* 72C718 802A1168 AFA20018 */ sw $v0, 0x18($sp) -/* 72C71C 802A116C 3C048011 */ lui $a0, %hi(D_80108A64) -/* 72C720 802A1170 24848A64 */ addiu $a0, $a0, %lo(D_80108A64) -/* 72C724 802A1174 0C050529 */ jal create_icon -/* 72C728 802A1178 00000000 */ nop -/* 72C72C 802A117C 8FA50020 */ lw $a1, 0x20($sp) -/* 72C730 802A1180 8FA60024 */ lw $a2, 0x24($sp) -/* 72C734 802A1184 0040202D */ daddu $a0, $v0, $zero -/* 72C738 802A1188 3C01802A */ lui $at, %hi(D_802A25C0) -/* 72C73C 802A118C AC2425C0 */ sw $a0, %lo(D_802A25C0)($at) -/* 72C740 802A1190 24A50024 */ addiu $a1, $a1, 0x24 -/* 72C744 802A1194 0C051261 */ jal set_icon_render_pos -/* 72C748 802A1198 24C6FFC1 */ addiu $a2, $a2, -0x3f -.L802A119C: -/* 72C74C 802A119C AEB10084 */ sw $s1, 0x84($s5) -.L802A11A0: -/* 72C750 802A11A0 8FBF0048 */ lw $ra, 0x48($sp) -/* 72C754 802A11A4 8FB50044 */ lw $s5, 0x44($sp) -/* 72C758 802A11A8 8FB40040 */ lw $s4, 0x40($sp) -/* 72C75C 802A11AC 8FB3003C */ lw $s3, 0x3c($sp) -/* 72C760 802A11B0 8FB20038 */ lw $s2, 0x38($sp) -/* 72C764 802A11B4 8FB10034 */ lw $s1, 0x34($sp) -/* 72C768 802A11B8 8FB00030 */ lw $s0, 0x30($sp) -/* 72C76C 802A11BC D7B80060 */ ldc1 $f24, 0x60($sp) -/* 72C770 802A11C0 D7B60058 */ ldc1 $f22, 0x58($sp) -/* 72C774 802A11C4 D7B40050 */ ldc1 $f20, 0x50($sp) -/* 72C778 802A11C8 24020002 */ addiu $v0, $zero, 2 -/* 72C77C 802A11CC 03E00008 */ jr $ra -/* 72C780 802A11D0 27BD0068 */ addiu $sp, $sp, 0x68 diff --git a/ver/us/asm/nonmatchings/code_72C5B0/func_802A11D4_72C784.s b/ver/us/asm/nonmatchings/code_72C5B0/func_802A11D4_72C784.s deleted file mode 100644 index 49d66b29a5..0000000000 --- a/ver/us/asm/nonmatchings/code_72C5B0/func_802A11D4_72C784.s +++ /dev/null @@ -1,31 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A11D4_72C784 -/* 72C784 802A11D4 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 72C788 802A11D8 3C03800E */ lui $v1, %hi(gBattleStatus) -/* 72C78C 802A11DC 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus) -/* 72C790 802A11E0 AFBF0014 */ sw $ra, 0x14($sp) -/* 72C794 802A11E4 AFB00010 */ sw $s0, 0x10($sp) -/* 72C798 802A11E8 8462017A */ lh $v0, 0x17a($v1) -/* 72C79C 802A11EC 8C6400D8 */ lw $a0, 0xd8($v1) -/* 72C7A0 802A11F0 00021140 */ sll $v0, $v0, 5 -/* 72C7A4 802A11F4 3C108008 */ lui $s0, %hi(gItemTable+0xC) -/* 72C7A8 802A11F8 02028021 */ addu $s0, $s0, $v0 -/* 72C7AC 802A11FC 861078EC */ lh $s0, %lo(gItemTable+0xC)($s0) -/* 72C7B0 802A1200 0C099CAB */ jal heroes_is_ability_active -/* 72C7B4 802A1204 2405001D */ addiu $a1, $zero, 0x1d -/* 72C7B8 802A1208 10400007 */ beqz $v0, .L802A1228 -/* 72C7BC 802A120C 00000000 */ nop -/* 72C7C0 802A1210 1A000005 */ blez $s0, .L802A1228 -/* 72C7C4 802A1214 00000000 */ nop -/* 72C7C8 802A1218 3C04802A */ lui $a0, %hi(D_802A25C0) -/* 72C7CC 802A121C 8C8425C0 */ lw $a0, %lo(D_802A25C0)($a0) -/* 72C7D0 802A1220 0C05123D */ jal free_icon -/* 72C7D4 802A1224 00000000 */ nop -.L802A1228: -/* 72C7D8 802A1228 8FBF0014 */ lw $ra, 0x14($sp) -/* 72C7DC 802A122C 8FB00010 */ lw $s0, 0x10($sp) -/* 72C7E0 802A1230 24020002 */ addiu $v0, $zero, 2 -/* 72C7E4 802A1234 03E00008 */ jr $ra -/* 72C7E8 802A1238 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/ver/us/asm/nonmatchings/code_72C5B0/func_802A123C_72C7EC.s b/ver/us/asm/nonmatchings/code_72C5B0/func_802A123C_72C7EC.s deleted file mode 100644 index 91de923e0f..0000000000 --- a/ver/us/asm/nonmatchings/code_72C5B0/func_802A123C_72C7EC.s +++ /dev/null @@ -1,112 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A123C_72C7EC -/* 72C7EC 802A123C 3C03802A */ lui $v1, %hi(D_802A25E4) -/* 72C7F0 802A1240 8C6325E4 */ lw $v1, %lo(D_802A25E4)($v1) -/* 72C7F4 802A1244 27BDFF98 */ addiu $sp, $sp, -0x68 -/* 72C7F8 802A1248 AFBF0064 */ sw $ra, 0x64($sp) -/* 72C7FC 802A124C AFB40060 */ sw $s4, 0x60($sp) -/* 72C800 802A1250 AFB3005C */ sw $s3, 0x5c($sp) -/* 72C804 802A1254 AFB20058 */ sw $s2, 0x58($sp) -/* 72C808 802A1258 AFB10054 */ sw $s1, 0x54($sp) -/* 72C80C 802A125C 28620006 */ slti $v0, $v1, 6 -/* 72C810 802A1260 10400058 */ beqz $v0, .L802A13C4 -/* 72C814 802A1264 AFB00050 */ sw $s0, 0x50($sp) -/* 72C818 802A1268 18600056 */ blez $v1, .L802A13C4 -/* 72C81C 802A126C 24050007 */ addiu $a1, $zero, 7 -/* 72C820 802A1270 0000202D */ daddu $a0, $zero, $zero -/* 72C824 802A1274 2406006A */ addiu $a2, $zero, 0x6a -/* 72C828 802A1278 24020024 */ addiu $v0, $zero, 0x24 -/* 72C82C 802A127C AFA20014 */ sw $v0, 0x14($sp) -/* 72C830 802A1280 AFA20018 */ sw $v0, 0x18($sp) -/* 72C834 802A1284 240200FF */ addiu $v0, $zero, 0xff -/* 72C838 802A1288 AFA2001C */ sw $v0, 0x1c($sp) -/* 72C83C 802A128C 24020140 */ addiu $v0, $zero, 0x140 -/* 72C840 802A1290 AFA20044 */ sw $v0, 0x44($sp) -/* 72C844 802A1294 240200F0 */ addiu $v0, $zero, 0xf0 -/* 72C848 802A1298 24070056 */ addiu $a3, $zero, 0x56 -/* 72C84C 802A129C AFA00010 */ sw $zero, 0x10($sp) -/* 72C850 802A12A0 AFA00020 */ sw $zero, 0x20($sp) -/* 72C854 802A12A4 AFA00024 */ sw $zero, 0x24($sp) -/* 72C858 802A12A8 AFA00028 */ sw $zero, 0x28($sp) -/* 72C85C 802A12AC AFA0002C */ sw $zero, 0x2c($sp) -/* 72C860 802A12B0 AFA00030 */ sw $zero, 0x30($sp) -/* 72C864 802A12B4 AFA00034 */ sw $zero, 0x34($sp) -/* 72C868 802A12B8 AFA00038 */ sw $zero, 0x38($sp) -/* 72C86C 802A12BC AFA0003C */ sw $zero, 0x3c($sp) -/* 72C870 802A12C0 AFA00040 */ sw $zero, 0x40($sp) -/* 72C874 802A12C4 AFA20048 */ sw $v0, 0x48($sp) -/* 72C878 802A12C8 0C03D4B8 */ jal draw_box -/* 72C87C 802A12CC AFA0004C */ sw $zero, 0x4c($sp) -/* 72C880 802A12D0 3C06ED1B */ lui $a2, 0xed1b -/* 72C884 802A12D4 34C60168 */ ori $a2, $a2, 0x168 -/* 72C888 802A12D8 3C050022 */ lui $a1, 0x22 -/* 72C88C 802A12DC 34A5C1D8 */ ori $a1, $a1, 0xc1d8 -/* 72C890 802A12E0 0000882D */ daddu $s1, $zero, $zero -/* 72C894 802A12E4 3C1451EB */ lui $s4, 0x51eb -/* 72C898 802A12E8 3694851F */ ori $s4, $s4, 0x851f -/* 72C89C 802A12EC 0220982D */ daddu $s3, $s1, $zero -/* 72C8A0 802A12F0 3C04800A */ lui $a0, %hi(gMasterGfxPos) -/* 72C8A4 802A12F4 2484A66C */ addiu $a0, $a0, %lo(gMasterGfxPos) -/* 72C8A8 802A12F8 8C820000 */ lw $v0, ($a0) -/* 72C8AC 802A12FC 3C12802A */ lui $s2, %hi(D_802A25C8) -/* 72C8B0 802A1300 265225C8 */ addiu $s2, $s2, %lo(D_802A25C8) -/* 72C8B4 802A1304 0040182D */ daddu $v1, $v0, $zero -/* 72C8B8 802A1308 24420008 */ addiu $v0, $v0, 8 -/* 72C8BC 802A130C AC820000 */ sw $v0, ($a0) -/* 72C8C0 802A1310 AC660000 */ sw $a2, ($v1) -/* 72C8C4 802A1314 AC650004 */ sw $a1, 4($v1) -.L802A1318: -/* 72C8C8 802A1318 2405007C */ addiu $a1, $zero, 0x7c -/* 72C8CC 802A131C 3C02802A */ lui $v0, %hi(D_802A25EC) -/* 72C8D0 802A1320 8C4225EC */ lw $v0, %lo(D_802A25EC)($v0) -/* 72C8D4 802A1324 8E500000 */ lw $s0, ($s2) -/* 72C8D8 802A1328 00540018 */ mult $v0, $s4 -/* 72C8DC 802A132C 26520004 */ addiu $s2, $s2, 4 -/* 72C8E0 802A1330 26310001 */ addiu $s1, $s1, 1 -/* 72C8E4 802A1334 0200202D */ daddu $a0, $s0, $zero -/* 72C8E8 802A1338 000217C3 */ sra $v0, $v0, 0x1f -/* 72C8EC 802A133C 00004010 */ mfhi $t0 -/* 72C8F0 802A1340 00083143 */ sra $a2, $t0, 5 -/* 72C8F4 802A1344 00C23023 */ subu $a2, $a2, $v0 -/* 72C8F8 802A1348 24C6FF98 */ addiu $a2, $a2, -0x68 -/* 72C8FC 802A134C 0C051261 */ jal set_icon_render_pos -/* 72C900 802A1350 02663023 */ subu $a2, $s3, $a2 -/* 72C904 802A1354 0C0511F8 */ jal draw_icon_2 -/* 72C908 802A1358 0200202D */ daddu $a0, $s0, $zero -/* 72C90C 802A135C 2A220007 */ slti $v0, $s1, 7 -/* 72C910 802A1360 1440FFED */ bnez $v0, .L802A1318 -/* 72C914 802A1364 2673001A */ addiu $s3, $s3, 0x1a -/* 72C918 802A1368 3C0251EB */ lui $v0, 0x51eb -/* 72C91C 802A136C 3442851F */ ori $v0, $v0, 0x851f -/* 72C920 802A1370 2405007C */ addiu $a1, $zero, 0x7c -/* 72C924 802A1374 00113040 */ sll $a2, $s1, 1 -/* 72C928 802A1378 00D13021 */ addu $a2, $a2, $s1 -/* 72C92C 802A137C 00063080 */ sll $a2, $a2, 2 -/* 72C930 802A1380 3C03802A */ lui $v1, %hi(D_802A25EC) -/* 72C934 802A1384 8C6325EC */ lw $v1, %lo(D_802A25EC)($v1) -/* 72C938 802A1388 00D13021 */ addu $a2, $a2, $s1 -/* 72C93C 802A138C 00620018 */ mult $v1, $v0 -/* 72C940 802A1390 3C10802A */ lui $s0, %hi(D_802A25C8) -/* 72C944 802A1394 8E1025C8 */ lw $s0, %lo(D_802A25C8)($s0) -/* 72C948 802A1398 00063040 */ sll $a2, $a2, 1 -/* 72C94C 802A139C 0200202D */ daddu $a0, $s0, $zero -/* 72C950 802A13A0 00031FC3 */ sra $v1, $v1, 0x1f -/* 72C954 802A13A4 00004010 */ mfhi $t0 -/* 72C958 802A13A8 00081143 */ sra $v0, $t0, 5 -/* 72C95C 802A13AC 00431023 */ subu $v0, $v0, $v1 -/* 72C960 802A13B0 2442FF98 */ addiu $v0, $v0, -0x68 -/* 72C964 802A13B4 0C051261 */ jal set_icon_render_pos -/* 72C968 802A13B8 00C23023 */ subu $a2, $a2, $v0 -/* 72C96C 802A13BC 0C0511F8 */ jal draw_icon_2 -/* 72C970 802A13C0 0200202D */ daddu $a0, $s0, $zero -.L802A13C4: -/* 72C974 802A13C4 8FBF0064 */ lw $ra, 0x64($sp) -/* 72C978 802A13C8 8FB40060 */ lw $s4, 0x60($sp) -/* 72C97C 802A13CC 8FB3005C */ lw $s3, 0x5c($sp) -/* 72C980 802A13D0 8FB20058 */ lw $s2, 0x58($sp) -/* 72C984 802A13D4 8FB10054 */ lw $s1, 0x54($sp) -/* 72C988 802A13D8 8FB00050 */ lw $s0, 0x50($sp) -/* 72C98C 802A13DC 03E00008 */ jr $ra -/* 72C990 802A13E0 27BD0068 */ addiu $sp, $sp, 0x68 diff --git a/ver/us/asm/nonmatchings/code_72C5B0/func_802A13E4_72C994.s b/ver/us/asm/nonmatchings/code_72C5B0/func_802A13E4_72C994.s deleted file mode 100644 index 6704900bf8..0000000000 --- a/ver/us/asm/nonmatchings/code_72C5B0/func_802A13E4_72C994.s +++ /dev/null @@ -1,327 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A13E4_72C994 -/* 72C994 802A13E4 27BDFFD0 */ addiu $sp, $sp, -0x30 -/* 72C998 802A13E8 0080302D */ daddu $a2, $a0, $zero -/* 72C99C 802A13EC AFB20020 */ sw $s2, 0x20($sp) -/* 72C9A0 802A13F0 3C12800E */ lui $s2, %hi(gBattleStatus) -/* 72C9A4 802A13F4 2652C070 */ addiu $s2, $s2, %lo(gBattleStatus) -/* 72C9A8 802A13F8 AFBF0028 */ sw $ra, 0x28($sp) -/* 72C9AC 802A13FC AFB30024 */ sw $s3, 0x24($sp) -/* 72C9B0 802A1400 AFB1001C */ sw $s1, 0x1c($sp) -/* 72C9B4 802A1404 10A00003 */ beqz $a1, .L802A1414 -/* 72C9B8 802A1408 AFB00018 */ sw $s0, 0x18($sp) -/* 72C9BC 802A140C 3C01802A */ lui $at, %hi(D_802A25E4) -/* 72C9C0 802A1410 AC2025E4 */ sw $zero, %lo(D_802A25E4)($at) -.L802A1414: -/* 72C9C4 802A1414 3C03802A */ lui $v1, %hi(D_802A25E4) -/* 72C9C8 802A1418 8C6325E4 */ lw $v1, %lo(D_802A25E4)($v1) -/* 72C9CC 802A141C 2C620006 */ sltiu $v0, $v1, 6 -/* 72C9D0 802A1420 10400112 */ beqz $v0, .L802A186C -/* 72C9D4 802A1424 00031080 */ sll $v0, $v1, 2 -/* 72C9D8 802A1428 3C01802A */ lui $at, %hi(jtbl_802A25A0_72DB50) -/* 72C9DC 802A142C 00220821 */ addu $at, $at, $v0 -/* 72C9E0 802A1430 8C2225A0 */ lw $v0, %lo(jtbl_802A25A0_72DB50)($at) -/* 72C9E4 802A1434 00400008 */ jr $v0 -/* 72C9E8 802A1438 00000000 */ nop -glabel L802A143C_72C9EC -/* 72C9EC 802A143C 3C05802A */ lui $a1, %hi(func_802A123C_72C7EC) -/* 72C9F0 802A1440 24A5123C */ addiu $a1, $a1, %lo(func_802A123C_72C7EC) -/* 72C9F4 802A1444 0C048C8F */ jal bind_dynamic_entity_7 -/* 72C9F8 802A1448 0000202D */ daddu $a0, $zero, $zero -/* 72C9FC 802A144C 3C01802A */ lui $at, %hi(D_802A25F8) -/* 72CA00 802A1450 AC2225F8 */ sw $v0, %lo(D_802A25F8)($at) -/* 72CA04 802A1454 0C00A67F */ jal rand_int -/* 72CA08 802A1458 24044718 */ addiu $a0, $zero, 0x4718 -/* 72CA0C 802A145C 3C01802A */ lui $at, %hi(D_802A25EC) -/* 72CA10 802A1460 AC2225EC */ sw $v0, %lo(D_802A25EC)($at) -/* 72CA14 802A1464 240203E8 */ addiu $v0, $zero, 0x3e8 -/* 72CA18 802A1468 3C10802A */ lui $s0, %hi(D_802A25FC) -/* 72CA1C 802A146C 261025FC */ addiu $s0, $s0, %lo(D_802A25FC) -/* 72CA20 802A1470 3C01802A */ lui $at, %hi(D_802A25F0) -/* 72CA24 802A1474 AC2225F0 */ sw $v0, %lo(D_802A25F0)($at) -/* 72CA28 802A1478 82430432 */ lb $v1, 0x432($s2) -/* 72CA2C 802A147C 3C02802A */ lui $v0, %hi(D_802A227C_72D82C) -/* 72CA30 802A1480 2442227C */ addiu $v0, $v0, %lo(D_802A227C_72D82C) -/* 72CA34 802A1484 18600010 */ blez $v1, .L802A14C8 -/* 72CA38 802A1488 AE020000 */ sw $v0, ($s0) -/* 72CA3C 802A148C 24040001 */ addiu $a0, $zero, 1 -/* 72CA40 802A1490 27A50010 */ addiu $a1, $sp, 0x10 -/* 72CA44 802A1494 0C04DF70 */ jal func_80137DC0 -/* 72CA48 802A1498 27A60014 */ addiu $a2, $sp, 0x14 -/* 72CA4C 802A149C C7A20014 */ lwc1 $f2, 0x14($sp) -/* 72CA50 802A14A0 3C014357 */ lui $at, 0x4357 -/* 72CA54 802A14A4 44810000 */ mtc1 $at, $f0 -/* 72CA58 802A14A8 00000000 */ nop -/* 72CA5C 802A14AC 4602003E */ c.le.s $f0, $f2 -/* 72CA60 802A14B0 00000000 */ nop -/* 72CA64 802A14B4 45020005 */ bc1fl .L802A14CC -/* 72CA68 802A14B8 0000802D */ daddu $s0, $zero, $zero -/* 72CA6C 802A14BC 3C02802A */ lui $v0, %hi(D_802A229C_72D84C) -/* 72CA70 802A14C0 2442229C */ addiu $v0, $v0, %lo(D_802A229C_72D84C) -/* 72CA74 802A14C4 AE020000 */ sw $v0, ($s0) -.L802A14C8: -/* 72CA78 802A14C8 0000802D */ daddu $s0, $zero, $zero -.L802A14CC: -/* 72CA7C 802A14CC 3C138009 */ lui $s3, %hi(D_8008A680) -/* 72CA80 802A14D0 2673A680 */ addiu $s3, $s3, %lo(D_8008A680) -/* 72CA84 802A14D4 3C128008 */ lui $s2, %hi(gItemTable) -/* 72CA88 802A14D8 265278E0 */ addiu $s2, $s2, %lo(gItemTable) -/* 72CA8C 802A14DC 3C11802A */ lui $s1, %hi(D_802A25C8) -/* 72CA90 802A14E0 263125C8 */ addiu $s1, $s1, %lo(D_802A25C8) -.L802A14E4: -/* 72CA94 802A14E4 3C03802A */ lui $v1, %hi(D_802A25FC) -/* 72CA98 802A14E8 8C6325FC */ lw $v1, %lo(D_802A25FC)($v1) -/* 72CA9C 802A14EC 00101080 */ sll $v0, $s0, 2 -/* 72CAA0 802A14F0 00431021 */ addu $v0, $v0, $v1 -/* 72CAA4 802A14F4 8C420000 */ lw $v0, ($v0) -/* 72CAA8 802A14F8 00021140 */ sll $v0, $v0, 5 -/* 72CAAC 802A14FC 00521021 */ addu $v0, $v0, $s2 -/* 72CAB0 802A1500 84420004 */ lh $v0, 4($v0) -/* 72CAB4 802A1504 000210C0 */ sll $v0, $v0, 3 -/* 72CAB8 802A1508 00531021 */ addu $v0, $v0, $s3 -/* 72CABC 802A150C 8C440000 */ lw $a0, ($v0) -/* 72CAC0 802A1510 0C050529 */ jal create_icon -/* 72CAC4 802A1514 26100001 */ addiu $s0, $s0, 1 -/* 72CAC8 802A1518 0040202D */ daddu $a0, $v0, $zero -/* 72CACC 802A151C 24050080 */ addiu $a1, $zero, 0x80 -/* 72CAD0 802A1520 0C051280 */ jal set_icon_flags -/* 72CAD4 802A1524 AE240000 */ sw $a0, ($s1) -/* 72CAD8 802A1528 2A020007 */ slti $v0, $s0, 7 -/* 72CADC 802A152C 1440FFED */ bnez $v0, .L802A14E4 -/* 72CAE0 802A1530 26310004 */ addiu $s1, $s1, 4 -/* 72CAE4 802A1534 24020001 */ addiu $v0, $zero, 1 -/* 72CAE8 802A1538 3C01802A */ lui $at, %hi(D_802A25E4) -/* 72CAEC 802A153C AC2225E4 */ sw $v0, %lo(D_802A25E4)($at) -/* 72CAF0 802A1540 080A861C */ j .L802A1870 -/* 72CAF4 802A1544 0000102D */ daddu $v0, $zero, $zero -glabel L802A1548_72CAF8 -/* 72CAF8 802A1548 3C0351EB */ lui $v1, 0x51eb -/* 72CAFC 802A154C 3C06802A */ lui $a2, %hi(D_802A25EC) -/* 72CB00 802A1550 24C625EC */ addiu $a2, $a2, %lo(D_802A25EC) -/* 72CB04 802A1554 3C07802A */ lui $a3, %hi(D_802A25F0) -/* 72CB08 802A1558 24E725F0 */ addiu $a3, $a3, %lo(D_802A25F0) -/* 72CB0C 802A155C 8CC20000 */ lw $v0, ($a2) -/* 72CB10 802A1560 8CE50000 */ lw $a1, ($a3) -/* 72CB14 802A1564 3463851F */ ori $v1, $v1, 0x851f -/* 72CB18 802A1568 00452021 */ addu $a0, $v0, $a1 -/* 72CB1C 802A156C 00830018 */ mult $a0, $v1 -/* 72CB20 802A1570 00041FC3 */ sra $v1, $a0, 0x1f -/* 72CB24 802A1574 00004010 */ mfhi $t0 -/* 72CB28 802A1578 00081143 */ sra $v0, $t0, 5 -/* 72CB2C 802A157C 00431023 */ subu $v0, $v0, $v1 -/* 72CB30 802A1580 284200B6 */ slti $v0, $v0, 0xb6 -/* 72CB34 802A1584 14400003 */ bnez $v0, .L802A1594 -/* 72CB38 802A1588 ACC40000 */ sw $a0, ($a2) -/* 72CB3C 802A158C 2482B8E8 */ addiu $v0, $a0, -0x4718 -/* 72CB40 802A1590 ACC20000 */ sw $v0, ($a2) -.L802A1594: -/* 72CB44 802A1594 00A0182D */ daddu $v1, $a1, $zero -/* 72CB48 802A1598 28620191 */ slti $v0, $v1, 0x191 -/* 72CB4C 802A159C 14400003 */ bnez $v0, .L802A15AC -/* 72CB50 802A15A0 28620065 */ slti $v0, $v1, 0x65 -/* 72CB54 802A15A4 080A856E */ j .L802A15B8 -/* 72CB58 802A15A8 2462FFF6 */ addiu $v0, $v1, -0xa -.L802A15AC: -/* 72CB5C 802A15AC 14400002 */ bnez $v0, .L802A15B8 -/* 72CB60 802A15B0 24A2FFFF */ addiu $v0, $a1, -1 -/* 72CB64 802A15B4 2462FFFB */ addiu $v0, $v1, -5 -.L802A15B8: -/* 72CB68 802A15B8 ACE20000 */ sw $v0, ($a3) -/* 72CB6C 802A15BC 3C02802A */ lui $v0, %hi(D_802A25F0) -/* 72CB70 802A15C0 8C4225F0 */ lw $v0, %lo(D_802A25F0)($v0) -/* 72CB74 802A15C4 2842000A */ slti $v0, $v0, 0xa -/* 72CB78 802A15C8 104000A8 */ beqz $v0, .L802A186C -/* 72CB7C 802A15CC 3C0351EB */ lui $v1, 0x51eb -/* 72CB80 802A15D0 3C02802A */ lui $v0, %hi(D_802A25EC) -/* 72CB84 802A15D4 8C4225EC */ lw $v0, %lo(D_802A25EC)($v0) -/* 72CB88 802A15D8 3463851F */ ori $v1, $v1, 0x851f -/* 72CB8C 802A15DC 00430018 */ mult $v0, $v1 -/* 72CB90 802A15E0 3C044EC4 */ lui $a0, 0x4ec4 -/* 72CB94 802A15E4 3484EC4F */ ori $a0, $a0, 0xec4f -/* 72CB98 802A15E8 000217C3 */ sra $v0, $v0, 0x1f -/* 72CB9C 802A15EC 00004010 */ mfhi $t0 -/* 72CBA0 802A15F0 00081943 */ sra $v1, $t0, 5 -/* 72CBA4 802A15F4 00621823 */ subu $v1, $v1, $v0 -/* 72CBA8 802A15F8 00640018 */ mult $v1, $a0 -/* 72CBAC 802A15FC 000317C3 */ sra $v0, $v1, 0x1f -/* 72CBB0 802A1600 3C01802A */ lui $at, %hi(D_802A25E8) -/* 72CBB4 802A1604 AC2325E8 */ sw $v1, %lo(D_802A25E8)($at) -/* 72CBB8 802A1608 00004010 */ mfhi $t0 -/* 72CBBC 802A160C 000820C3 */ sra $a0, $t0, 3 -/* 72CBC0 802A1610 00822023 */ subu $a0, $a0, $v0 -/* 72CBC4 802A1614 00041040 */ sll $v0, $a0, 1 -/* 72CBC8 802A1618 00441021 */ addu $v0, $v0, $a0 -/* 72CBCC 802A161C 00021080 */ sll $v0, $v0, 2 -/* 72CBD0 802A1620 00441021 */ addu $v0, $v0, $a0 -/* 72CBD4 802A1624 00021040 */ sll $v0, $v0, 1 -/* 72CBD8 802A1628 00621823 */ subu $v1, $v1, $v0 -/* 72CBDC 802A162C 2863000D */ slti $v1, $v1, 0xd -/* 72CBE0 802A1630 10600008 */ beqz $v1, .L802A1654 -/* 72CBE4 802A1634 00000000 */ nop -/* 72CBE8 802A1638 0C00A67F */ jal rand_int -/* 72CBEC 802A163C 24040064 */ addiu $a0, $zero, 0x64 -/* 72CBF0 802A1640 28420050 */ slti $v0, $v0, 0x50 -/* 72CBF4 802A1644 1440000D */ bnez $v0, .L802A167C -/* 72CBF8 802A1648 24020002 */ addiu $v0, $zero, 2 -/* 72CBFC 802A164C 080A859A */ j .L802A1668 -/* 72CC00 802A1650 24020003 */ addiu $v0, $zero, 3 -.L802A1654: -/* 72CC04 802A1654 0C00A67F */ jal rand_int -/* 72CC08 802A1658 24040064 */ addiu $a0, $zero, 0x64 -/* 72CC0C 802A165C 2842003C */ slti $v0, $v0, 0x3c -/* 72CC10 802A1660 10400005 */ beqz $v0, .L802A1678 -/* 72CC14 802A1664 24020003 */ addiu $v0, $zero, 3 -.L802A1668: -/* 72CC18 802A1668 3C01802A */ lui $at, %hi(D_802A25E4) -/* 72CC1C 802A166C AC2225E4 */ sw $v0, %lo(D_802A25E4)($at) -/* 72CC20 802A1670 080A861C */ j .L802A1870 -/* 72CC24 802A1674 0000102D */ daddu $v0, $zero, $zero -.L802A1678: -/* 72CC28 802A1678 24020002 */ addiu $v0, $zero, 2 -.L802A167C: -/* 72CC2C 802A167C 3C01802A */ lui $at, %hi(D_802A25E4) -/* 72CC30 802A1680 AC2225E4 */ sw $v0, %lo(D_802A25E4)($at) -/* 72CC34 802A1684 080A861C */ j .L802A1870 -/* 72CC38 802A1688 0000102D */ daddu $v0, $zero, $zero -glabel L802A168C_72CC3C -/* 72CC3C 802A168C 3C024EC4 */ lui $v0, 0x4ec4 -/* 72CC40 802A1690 3C06802A */ lui $a2, %hi(D_802A25E8) -/* 72CC44 802A1694 24C625E8 */ addiu $a2, $a2, %lo(D_802A25E8) -/* 72CC48 802A1698 8CC50000 */ lw $a1, ($a2) -/* 72CC4C 802A169C 3442EC4F */ ori $v0, $v0, 0xec4f -/* 72CC50 802A16A0 00A20018 */ mult $a1, $v0 -/* 72CC54 802A16A4 000517C3 */ sra $v0, $a1, 0x1f -/* 72CC58 802A16A8 00004010 */ mfhi $t0 -/* 72CC5C 802A16AC 000818C3 */ sra $v1, $t0, 3 -/* 72CC60 802A16B0 00622023 */ subu $a0, $v1, $v0 -/* 72CC64 802A16B4 00041040 */ sll $v0, $a0, 1 -/* 72CC68 802A16B8 00441021 */ addu $v0, $v0, $a0 -/* 72CC6C 802A16BC 00021080 */ sll $v0, $v0, 2 -/* 72CC70 802A16C0 00441021 */ addu $v0, $v0, $a0 -/* 72CC74 802A16C4 00021040 */ sll $v0, $v0, 1 -/* 72CC78 802A16C8 00A22023 */ subu $a0, $a1, $v0 -/* 72CC7C 802A16CC 24820003 */ addiu $v0, $a0, 3 -/* 72CC80 802A16D0 04420001 */ bltzl $v0, .L802A16D8 -/* 72CC84 802A16D4 24820006 */ addiu $v0, $a0, 6 -.L802A16D8: -/* 72CC88 802A16D8 00022083 */ sra $a0, $v0, 2 -/* 72CC8C 802A16DC 00A41823 */ subu $v1, $a1, $a0 -/* 72CC90 802A16E0 00031040 */ sll $v0, $v1, 1 -/* 72CC94 802A16E4 00431021 */ addu $v0, $v0, $v1 -/* 72CC98 802A16E8 000210C0 */ sll $v0, $v0, 3 -/* 72CC9C 802A16EC 00431021 */ addu $v0, $v0, $v1 -/* 72CCA0 802A16F0 00021080 */ sll $v0, $v0, 2 -/* 72CCA4 802A16F4 ACC30000 */ sw $v1, ($a2) -/* 72CCA8 802A16F8 3C01802A */ lui $at, %hi(D_802A25EC) -/* 72CCAC 802A16FC AC2225EC */ sw $v0, %lo(D_802A25EC)($at) -/* 72CCB0 802A1700 1480005B */ bnez $a0, .L802A1870 -/* 72CCB4 802A1704 0000102D */ daddu $v0, $zero, $zero -/* 72CCB8 802A1708 080A85D7 */ j .L802A175C -/* 72CCBC 802A170C 24020004 */ addiu $v0, $zero, 4 -glabel L802A1710_72CCC0 -/* 72CCC0 802A1710 3C024EC4 */ lui $v0, 0x4ec4 -/* 72CCC4 802A1714 3C06802A */ lui $a2, %hi(D_802A25E8) -/* 72CCC8 802A1718 24C625E8 */ addiu $a2, $a2, %lo(D_802A25E8) -/* 72CCCC 802A171C 8CC50000 */ lw $a1, ($a2) -/* 72CCD0 802A1720 3442EC4F */ ori $v0, $v0, 0xec4f -/* 72CCD4 802A1724 00A20018 */ mult $a1, $v0 -/* 72CCD8 802A1728 000517C3 */ sra $v0, $a1, 0x1f -/* 72CCDC 802A172C 00004010 */ mfhi $t0 -/* 72CCE0 802A1730 000818C3 */ sra $v1, $t0, 3 -/* 72CCE4 802A1734 00621823 */ subu $v1, $v1, $v0 -/* 72CCE8 802A1738 00031040 */ sll $v0, $v1, 1 -/* 72CCEC 802A173C 00431021 */ addu $v0, $v0, $v1 -/* 72CCF0 802A1740 00021080 */ sll $v0, $v0, 2 -/* 72CCF4 802A1744 00431021 */ addu $v0, $v0, $v1 -/* 72CCF8 802A1748 00021040 */ sll $v0, $v0, 1 -/* 72CCFC 802A174C 00A21823 */ subu $v1, $a1, $v0 -/* 72CD00 802A1750 14600006 */ bnez $v1, .L802A176C -/* 72CD04 802A1754 2402001A */ addiu $v0, $zero, 0x1a -/* 72CD08 802A1758 24020004 */ addiu $v0, $zero, 4 -.L802A175C: -/* 72CD0C 802A175C 3C01802A */ lui $at, %hi(D_802A25E4) -/* 72CD10 802A1760 AC2225E4 */ sw $v0, %lo(D_802A25E4)($at) -/* 72CD14 802A1764 080A861C */ j .L802A1870 -/* 72CD18 802A1768 0000102D */ daddu $v0, $zero, $zero -.L802A176C: -/* 72CD1C 802A176C 00432023 */ subu $a0, $v0, $v1 -/* 72CD20 802A1770 24820003 */ addiu $v0, $a0, 3 -/* 72CD24 802A1774 04420001 */ bltzl $v0, .L802A177C -/* 72CD28 802A1778 24820006 */ addiu $v0, $a0, 6 -.L802A177C: -/* 72CD2C 802A177C 00022083 */ sra $a0, $v0, 2 -/* 72CD30 802A1780 00A41821 */ addu $v1, $a1, $a0 -/* 72CD34 802A1784 00031040 */ sll $v0, $v1, 1 -/* 72CD38 802A1788 00431021 */ addu $v0, $v0, $v1 -/* 72CD3C 802A178C 000210C0 */ sll $v0, $v0, 3 -/* 72CD40 802A1790 00431021 */ addu $v0, $v0, $v1 -/* 72CD44 802A1794 00021080 */ sll $v0, $v0, 2 -/* 72CD48 802A1798 ACC30000 */ sw $v1, ($a2) -/* 72CD4C 802A179C 3C01802A */ lui $at, %hi(D_802A25EC) -/* 72CD50 802A17A0 AC2225EC */ sw $v0, %lo(D_802A25EC)($at) -/* 72CD54 802A17A4 080A861C */ j .L802A1870 -/* 72CD58 802A17A8 0000102D */ daddu $v0, $zero, $zero -glabel L802A17AC_72CD5C -/* 72CD5C 802A17AC 24020014 */ addiu $v0, $zero, 0x14 -/* 72CD60 802A17B0 3C01802A */ lui $at, %hi(D_802A25F4) -/* 72CD64 802A17B4 AC2225F4 */ sw $v0, %lo(D_802A25F4)($at) -/* 72CD68 802A17B8 24020005 */ addiu $v0, $zero, 5 -/* 72CD6C 802A17BC 3C01802A */ lui $at, %hi(D_802A25E4) -/* 72CD70 802A17C0 AC2225E4 */ sw $v0, %lo(D_802A25E4)($at) -/* 72CD74 802A17C4 080A861C */ j .L802A1870 -/* 72CD78 802A17C8 0000102D */ daddu $v0, $zero, $zero -glabel L802A17CC_72CD7C -/* 72CD7C 802A17CC 3C03802A */ lui $v1, %hi(D_802A25F4) -/* 72CD80 802A17D0 246325F4 */ addiu $v1, $v1, %lo(D_802A25F4) -/* 72CD84 802A17D4 8C620000 */ lw $v0, ($v1) -/* 72CD88 802A17D8 10400003 */ beqz $v0, .L802A17E8 -/* 72CD8C 802A17DC 2442FFFF */ addiu $v0, $v0, -1 -/* 72CD90 802A17E0 080A861B */ j .L802A186C -/* 72CD94 802A17E4 AC620000 */ sw $v0, ($v1) -.L802A17E8: -/* 72CD98 802A17E8 3C034EC4 */ lui $v1, 0x4ec4 -/* 72CD9C 802A17EC 3C02802A */ lui $v0, %hi(D_802A25E8) -/* 72CDA0 802A17F0 8C4225E8 */ lw $v0, %lo(D_802A25E8)($v0) -/* 72CDA4 802A17F4 3463EC4F */ ori $v1, $v1, 0xec4f -/* 72CDA8 802A17F8 00430018 */ mult $v0, $v1 -/* 72CDAC 802A17FC 3C11802A */ lui $s1, %hi(D_802A25C8) -/* 72CDB0 802A1800 263125C8 */ addiu $s1, $s1, %lo(D_802A25C8) -/* 72CDB4 802A1804 3C04802A */ lui $a0, %hi(D_802A25F8) -/* 72CDB8 802A1808 8C8425F8 */ lw $a0, %lo(D_802A25F8)($a0) -/* 72CDBC 802A180C 000217C3 */ sra $v0, $v0, 0x1f -/* 72CDC0 802A1810 00004010 */ mfhi $t0 -/* 72CDC4 802A1814 000818C3 */ sra $v1, $t0, 3 -/* 72CDC8 802A1818 00628023 */ subu $s0, $v1, $v0 -/* 72CDCC 802A181C 3C03802A */ lui $v1, %hi(D_802A25FC) -/* 72CDD0 802A1820 8C6325FC */ lw $v1, %lo(D_802A25FC)($v1) -/* 72CDD4 802A1824 00101080 */ sll $v0, $s0, 2 -/* 72CDD8 802A1828 00431021 */ addu $v0, $v0, $v1 -/* 72CDDC 802A182C 94420002 */ lhu $v0, 2($v0) -/* 72CDE0 802A1830 0000802D */ daddu $s0, $zero, $zero -/* 72CDE4 802A1834 A642017A */ sh $v0, 0x17a($s2) -/* 72CDE8 802A1838 00021400 */ sll $v0, $v0, 0x10 -/* 72CDEC 802A183C 00021403 */ sra $v0, $v0, 0x10 -/* 72CDF0 802A1840 0C048D70 */ jal func_801235C0 -/* 72CDF4 802A1844 ACC20084 */ sw $v0, 0x84($a2) -.L802A1848: -/* 72CDF8 802A1848 8E240000 */ lw $a0, ($s1) -/* 72CDFC 802A184C 26310004 */ addiu $s1, $s1, 4 -/* 72CE00 802A1850 0C05123D */ jal free_icon -/* 72CE04 802A1854 26100001 */ addiu $s0, $s0, 1 -/* 72CE08 802A1858 2A020007 */ slti $v0, $s0, 7 -/* 72CE0C 802A185C 1440FFFA */ bnez $v0, .L802A1848 -/* 72CE10 802A1860 24020002 */ addiu $v0, $zero, 2 -/* 72CE14 802A1864 080A861C */ j .L802A1870 -/* 72CE18 802A1868 00000000 */ nop -.L802A186C: -/* 72CE1C 802A186C 0000102D */ daddu $v0, $zero, $zero -.L802A1870: -/* 72CE20 802A1870 8FBF0028 */ lw $ra, 0x28($sp) -/* 72CE24 802A1874 8FB30024 */ lw $s3, 0x24($sp) -/* 72CE28 802A1878 8FB20020 */ lw $s2, 0x20($sp) -/* 72CE2C 802A187C 8FB1001C */ lw $s1, 0x1c($sp) -/* 72CE30 802A1880 8FB00018 */ lw $s0, 0x18($sp) -/* 72CE34 802A1884 03E00008 */ jr $ra -/* 72CE38 802A1888 27BD0030 */ addiu $sp, $sp, 0x30 diff --git a/ver/us/asm/nonmatchings/code_72C5B0/func_802A188C_72CE3C.s b/ver/us/asm/nonmatchings/code_72C5B0/func_802A188C_72CE3C.s deleted file mode 100644 index 7d98a22d10..0000000000 --- a/ver/us/asm/nonmatchings/code_72C5B0/func_802A188C_72CE3C.s +++ /dev/null @@ -1,53 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A188C_72CE3C -/* 72CE3C 802A188C 27BDFFD0 */ addiu $sp, $sp, -0x30 -/* 72CE40 802A1890 AFB10024 */ sw $s1, 0x24($sp) -/* 72CE44 802A1894 0080882D */ daddu $s1, $a0, $zero -/* 72CE48 802A1898 AFBF002C */ sw $ra, 0x2c($sp) -/* 72CE4C 802A189C AFB20028 */ sw $s2, 0x28($sp) -/* 72CE50 802A18A0 AFB00020 */ sw $s0, 0x20($sp) -/* 72CE54 802A18A4 8E30000C */ lw $s0, 0xc($s1) -/* 72CE58 802A18A8 8E050000 */ lw $a1, ($s0) -/* 72CE5C 802A18AC 0C0B1EAF */ jal get_variable -/* 72CE60 802A18B0 26100004 */ addiu $s0, $s0, 4 -/* 72CE64 802A18B4 8E050000 */ lw $a1, ($s0) -/* 72CE68 802A18B8 26100004 */ addiu $s0, $s0, 4 -/* 72CE6C 802A18BC 0220202D */ daddu $a0, $s1, $zero -/* 72CE70 802A18C0 0C0B1EAF */ jal get_variable -/* 72CE74 802A18C4 0040902D */ daddu $s2, $v0, $zero -/* 72CE78 802A18C8 0220202D */ daddu $a0, $s1, $zero -/* 72CE7C 802A18CC 8E050000 */ lw $a1, ($s0) -/* 72CE80 802A18D0 0C0B1EAF */ jal get_variable -/* 72CE84 802A18D4 0040802D */ daddu $s0, $v0, $zero -/* 72CE88 802A18D8 24040002 */ addiu $a0, $zero, 2 -/* 72CE8C 802A18DC 44921000 */ mtc1 $s2, $f2 -/* 72CE90 802A18E0 00000000 */ nop -/* 72CE94 802A18E4 468010A0 */ cvt.s.w $f2, $f2 -/* 72CE98 802A18E8 44051000 */ mfc1 $a1, $f2 -/* 72CE9C 802A18EC 44901000 */ mtc1 $s0, $f2 -/* 72CEA0 802A18F0 00000000 */ nop -/* 72CEA4 802A18F4 468010A0 */ cvt.s.w $f2, $f2 -/* 72CEA8 802A18F8 44061000 */ mfc1 $a2, $f2 -/* 72CEAC 802A18FC 44821000 */ mtc1 $v0, $f2 -/* 72CEB0 802A1900 00000000 */ nop -/* 72CEB4 802A1904 468010A0 */ cvt.s.w $f2, $f2 -/* 72CEB8 802A1908 3C01BF80 */ lui $at, 0xbf80 -/* 72CEBC 802A190C 44810000 */ mtc1 $at, $f0 -/* 72CEC0 802A1910 44071000 */ mfc1 $a3, $f2 -/* 72CEC4 802A1914 24030005 */ addiu $v1, $zero, 5 -/* 72CEC8 802A1918 AFA00010 */ sw $zero, 0x10($sp) -/* 72CECC 802A191C AFA00018 */ sw $zero, 0x18($sp) -/* 72CED0 802A1920 AFA3001C */ sw $v1, 0x1c($sp) -/* 72CED4 802A1924 0C01C064 */ jal func_80070190 -/* 72CED8 802A1928 E7A00014 */ swc1 $f0, 0x14($sp) -/* 72CEDC 802A192C 8FBF002C */ lw $ra, 0x2c($sp) -/* 72CEE0 802A1930 8FB20028 */ lw $s2, 0x28($sp) -/* 72CEE4 802A1934 8FB10024 */ lw $s1, 0x24($sp) -/* 72CEE8 802A1938 8FB00020 */ lw $s0, 0x20($sp) -/* 72CEEC 802A193C 24020002 */ addiu $v0, $zero, 2 -/* 72CEF0 802A1940 03E00008 */ jr $ra -/* 72CEF4 802A1944 27BD0030 */ addiu $sp, $sp, 0x30 -/* 72CEF8 802A1948 00000000 */ nop -/* 72CEFC 802A194C 00000000 */ nop diff --git a/ver/us/asm/nonmatchings/code_72DB70/func_802A1000_72DB70.s b/ver/us/asm/nonmatchings/code_72DB70/func_802A1000_72DB70.s deleted file mode 100644 index 6631454944..0000000000 --- a/ver/us/asm/nonmatchings/code_72DB70/func_802A1000_72DB70.s +++ /dev/null @@ -1,125 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A1000_72DB70 -/* 72DB70 802A1000 27BDFF98 */ addiu $sp, $sp, -0x68 -/* 72DB74 802A1004 AFB50044 */ sw $s5, 0x44($sp) -/* 72DB78 802A1008 0080A82D */ daddu $s5, $a0, $zero -/* 72DB7C 802A100C AFB10034 */ sw $s1, 0x34($sp) -/* 72DB80 802A1010 0000882D */ daddu $s1, $zero, $zero -/* 72DB84 802A1014 2405001D */ addiu $a1, $zero, 0x1d -/* 72DB88 802A1018 F7B40050 */ sdc1 $f20, 0x50($sp) -/* 72DB8C 802A101C 4480A000 */ mtc1 $zero, $f20 -/* 72DB90 802A1020 3C02800E */ lui $v0, %hi(gBattleStatus) -/* 72DB94 802A1024 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus) -/* 72DB98 802A1028 AFBF0048 */ sw $ra, 0x48($sp) -/* 72DB9C 802A102C AFB40040 */ sw $s4, 0x40($sp) -/* 72DBA0 802A1030 AFB3003C */ sw $s3, 0x3c($sp) -/* 72DBA4 802A1034 AFB20038 */ sw $s2, 0x38($sp) -/* 72DBA8 802A1038 AFB00030 */ sw $s0, 0x30($sp) -/* 72DBAC 802A103C F7B80060 */ sdc1 $f24, 0x60($sp) -/* 72DBB0 802A1040 F7B60058 */ sdc1 $f22, 0x58($sp) -/* 72DBB4 802A1044 8C5300D8 */ lw $s3, 0xd8($v0) -/* 72DBB8 802A1048 8442017A */ lh $v0, 0x17a($v0) -/* 72DBBC 802A104C 0260202D */ daddu $a0, $s3, $zero -/* 72DBC0 802A1050 00021140 */ sll $v0, $v0, 5 -/* 72DBC4 802A1054 3C128008 */ lui $s2, %hi(gItemTable+0xC) -/* 72DBC8 802A1058 02429021 */ addu $s2, $s2, $v0 -/* 72DBCC 802A105C 865278EC */ lh $s2, %lo(gItemTable+0xC)($s2) -/* 72DBD0 802A1060 92620191 */ lbu $v0, 0x191($s3) -/* 72DBD4 802A1064 C6620148 */ lwc1 $f2, 0x148($s3) -/* 72DBD8 802A1068 44820000 */ mtc1 $v0, $f0 -/* 72DBDC 802A106C 00000000 */ nop -/* 72DBE0 802A1070 46800020 */ cvt.s.w $f0, $f0 -/* 72DBE4 802A1074 0C099CAB */ jal heroes_is_ability_active -/* 72DBE8 802A1078 46001580 */ add.s $f22, $f2, $f0 -/* 72DBEC 802A107C 50400048 */ beql $v0, $zero, .L802A11A0 -/* 72DBF0 802A1080 AEB10084 */ sw $s1, 0x84($s5) -/* 72DBF4 802A1084 1A400045 */ blez $s2, .L802A119C -/* 72DBF8 802A1088 3C0451EB */ lui $a0, 0x51eb -/* 72DBFC 802A108C 3484851F */ ori $a0, $a0, 0x851f -/* 72DC00 802A1090 00121880 */ sll $v1, $s2, 2 -/* 72DC04 802A1094 00721821 */ addu $v1, $v1, $s2 -/* 72DC08 802A1098 00031100 */ sll $v0, $v1, 4 -/* 72DC0C 802A109C 00431023 */ subu $v0, $v0, $v1 -/* 72DC10 802A10A0 24420063 */ addiu $v0, $v0, 0x63 -/* 72DC14 802A10A4 00440018 */ mult $v0, $a0 -/* 72DC18 802A10A8 000217C3 */ sra $v0, $v0, 0x1f -/* 72DC1C 802A10AC 00004010 */ mfhi $t0 -/* 72DC20 802A10B0 00081943 */ sra $v1, $t0, 5 -/* 72DC24 802A10B4 00629023 */ subu $s2, $v1, $v0 -/* 72DC28 802A10B8 0232102A */ slt $v0, $s1, $s2 -/* 72DC2C 802A10BC 10400019 */ beqz $v0, .L802A1124 -/* 72DC30 802A10C0 0220802D */ daddu $s0, $s1, $zero -/* 72DC34 802A10C4 24140017 */ addiu $s4, $zero, 0x17 -/* 72DC38 802A10C8 3C0141F0 */ lui $at, 0x41f0 -/* 72DC3C 802A10CC 4481C000 */ mtc1 $at, $f24 -/* 72DC40 802A10D0 24110001 */ addiu $s1, $zero, 1 -.L802A10D4: -/* 72DC44 802A10D4 C6600144 */ lwc1 $f0, 0x144($s3) -/* 72DC48 802A10D8 C662014C */ lwc1 $f2, 0x14c($s3) -/* 72DC4C 802A10DC 4600A10D */ trunc.w.s $f4, $f20 -/* 72DC50 802A10E0 E7A40018 */ swc1 $f4, 0x18($sp) -/* 72DC54 802A10E4 24040157 */ addiu $a0, $zero, 0x157 -/* 72DC58 802A10E8 AFB10014 */ sw $s1, 0x14($sp) -/* 72DC5C 802A10EC 26310003 */ addiu $s1, $s1, 3 -/* 72DC60 802A10F0 26100001 */ addiu $s0, $s0, 1 -/* 72DC64 802A10F4 4406B000 */ mfc1 $a2, $f22 -/* 72DC68 802A10F8 44050000 */ mfc1 $a1, $f0 -/* 72DC6C 802A10FC 44071000 */ mfc1 $a3, $f2 -/* 72DC70 802A1100 4618A500 */ add.s $f20, $f20, $f24 -/* 72DC74 802A1104 AFB40010 */ sw $s4, 0x10($sp) -/* 72DC78 802A1108 0C04C4FD */ jal make_item_entity -/* 72DC7C 802A110C AFA0001C */ sw $zero, 0x1c($sp) -/* 72DC80 802A1110 0C03A830 */ jal add_coins -/* 72DC84 802A1114 24040001 */ addiu $a0, $zero, 1 -/* 72DC88 802A1118 0212102A */ slt $v0, $s0, $s2 -/* 72DC8C 802A111C 1440FFED */ bnez $v0, .L802A10D4 -/* 72DC90 802A1120 00000000 */ nop -.L802A1124: -/* 72DC94 802A1124 00101040 */ sll $v0, $s0, 1 -/* 72DC98 802A1128 00501021 */ addu $v0, $v0, $s0 -/* 72DC9C 802A112C 2451001E */ addiu $s1, $v0, 0x1e -/* 72DCA0 802A1130 C6600144 */ lwc1 $f0, 0x144($s3) -/* 72DCA4 802A1134 C6760148 */ lwc1 $f22, 0x148($s3) -/* 72DCA8 802A1138 C662014C */ lwc1 $f2, 0x14c($s3) -/* 72DCAC 802A113C 3C048007 */ lui $a0, %hi(gCurrentCameraID) -/* 72DCB0 802A1140 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0) -/* 72DCB4 802A1144 27A20020 */ addiu $v0, $sp, 0x20 -/* 72DCB8 802A1148 AFA20010 */ sw $v0, 0x10($sp) -/* 72DCBC 802A114C 27A20024 */ addiu $v0, $sp, 0x24 -/* 72DCC0 802A1150 AFA20014 */ sw $v0, 0x14($sp) -/* 72DCC4 802A1154 44050000 */ mfc1 $a1, $f0 -/* 72DCC8 802A1158 4406B000 */ mfc1 $a2, $f22 -/* 72DCCC 802A115C 44071000 */ mfc1 $a3, $f2 -/* 72DCD0 802A1160 27A20028 */ addiu $v0, $sp, 0x28 -/* 72DCD4 802A1164 0C00B94E */ jal get_screen_coords -/* 72DCD8 802A1168 AFA20018 */ sw $v0, 0x18($sp) -/* 72DCDC 802A116C 3C048011 */ lui $a0, %hi(D_80108A64) -/* 72DCE0 802A1170 24848A64 */ addiu $a0, $a0, %lo(D_80108A64) -/* 72DCE4 802A1174 0C050529 */ jal create_icon -/* 72DCE8 802A1178 00000000 */ nop -/* 72DCEC 802A117C 8FA50020 */ lw $a1, 0x20($sp) -/* 72DCF0 802A1180 8FA60024 */ lw $a2, 0x24($sp) -/* 72DCF4 802A1184 0040202D */ daddu $a0, $v0, $zero -/* 72DCF8 802A1188 3C01802A */ lui $at, %hi(D_802A19C0) -/* 72DCFC 802A118C AC2419C0 */ sw $a0, %lo(D_802A19C0)($at) -/* 72DD00 802A1190 24A50024 */ addiu $a1, $a1, 0x24 -/* 72DD04 802A1194 0C051261 */ jal set_icon_render_pos -/* 72DD08 802A1198 24C6FFC1 */ addiu $a2, $a2, -0x3f -.L802A119C: -/* 72DD0C 802A119C AEB10084 */ sw $s1, 0x84($s5) -.L802A11A0: -/* 72DD10 802A11A0 8FBF0048 */ lw $ra, 0x48($sp) -/* 72DD14 802A11A4 8FB50044 */ lw $s5, 0x44($sp) -/* 72DD18 802A11A8 8FB40040 */ lw $s4, 0x40($sp) -/* 72DD1C 802A11AC 8FB3003C */ lw $s3, 0x3c($sp) -/* 72DD20 802A11B0 8FB20038 */ lw $s2, 0x38($sp) -/* 72DD24 802A11B4 8FB10034 */ lw $s1, 0x34($sp) -/* 72DD28 802A11B8 8FB00030 */ lw $s0, 0x30($sp) -/* 72DD2C 802A11BC D7B80060 */ ldc1 $f24, 0x60($sp) -/* 72DD30 802A11C0 D7B60058 */ ldc1 $f22, 0x58($sp) -/* 72DD34 802A11C4 D7B40050 */ ldc1 $f20, 0x50($sp) -/* 72DD38 802A11C8 24020002 */ addiu $v0, $zero, 2 -/* 72DD3C 802A11CC 03E00008 */ jr $ra -/* 72DD40 802A11D0 27BD0068 */ addiu $sp, $sp, 0x68 diff --git a/ver/us/asm/nonmatchings/code_72DB70/func_802A11D4_72DD44.s b/ver/us/asm/nonmatchings/code_72DB70/func_802A11D4_72DD44.s deleted file mode 100644 index cdafccd5e4..0000000000 --- a/ver/us/asm/nonmatchings/code_72DB70/func_802A11D4_72DD44.s +++ /dev/null @@ -1,31 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A11D4_72DD44 -/* 72DD44 802A11D4 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 72DD48 802A11D8 3C03800E */ lui $v1, %hi(gBattleStatus) -/* 72DD4C 802A11DC 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus) -/* 72DD50 802A11E0 AFBF0014 */ sw $ra, 0x14($sp) -/* 72DD54 802A11E4 AFB00010 */ sw $s0, 0x10($sp) -/* 72DD58 802A11E8 8462017A */ lh $v0, 0x17a($v1) -/* 72DD5C 802A11EC 8C6400D8 */ lw $a0, 0xd8($v1) -/* 72DD60 802A11F0 00021140 */ sll $v0, $v0, 5 -/* 72DD64 802A11F4 3C108008 */ lui $s0, %hi(gItemTable+0xC) -/* 72DD68 802A11F8 02028021 */ addu $s0, $s0, $v0 -/* 72DD6C 802A11FC 861078EC */ lh $s0, %lo(gItemTable+0xC)($s0) -/* 72DD70 802A1200 0C099CAB */ jal heroes_is_ability_active -/* 72DD74 802A1204 2405001D */ addiu $a1, $zero, 0x1d -/* 72DD78 802A1208 10400007 */ beqz $v0, .L802A1228 -/* 72DD7C 802A120C 00000000 */ nop -/* 72DD80 802A1210 1A000005 */ blez $s0, .L802A1228 -/* 72DD84 802A1214 00000000 */ nop -/* 72DD88 802A1218 3C04802A */ lui $a0, %hi(D_802A19C0) -/* 72DD8C 802A121C 8C8419C0 */ lw $a0, %lo(D_802A19C0)($a0) -/* 72DD90 802A1220 0C05123D */ jal free_icon -/* 72DD94 802A1224 00000000 */ nop -.L802A1228: -/* 72DD98 802A1228 8FBF0014 */ lw $ra, 0x14($sp) -/* 72DD9C 802A122C 8FB00010 */ lw $s0, 0x10($sp) -/* 72DDA0 802A1230 24020002 */ addiu $v0, $zero, 2 -/* 72DDA4 802A1234 03E00008 */ jr $ra -/* 72DDA8 802A1238 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/ver/us/asm/nonmatchings/code_72DB70/func_802A123C_72DDAC.s b/ver/us/asm/nonmatchings/code_72DB70/func_802A123C_72DDAC.s deleted file mode 100644 index f911b8f033..0000000000 --- a/ver/us/asm/nonmatchings/code_72DB70/func_802A123C_72DDAC.s +++ /dev/null @@ -1,25 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A123C_72DDAC -/* 72DDAC 802A123C 27BDFFE0 */ addiu $sp, $sp, -0x20 -/* 72DDB0 802A1240 0080102D */ daddu $v0, $a0, $zero -/* 72DDB4 802A1244 AFB00010 */ sw $s0, 0x10($sp) -/* 72DDB8 802A1248 3C10800E */ lui $s0, %hi(gBattleStatus+0xD8) -/* 72DDBC 802A124C 8E10C148 */ lw $s0, %lo(gBattleStatus+0xD8)($s0) -/* 72DDC0 802A1250 2405000E */ addiu $a1, $zero, 0xe -/* 72DDC4 802A1254 AFBF0018 */ sw $ra, 0x18($sp) -/* 72DDC8 802A1258 AFB10014 */ sw $s1, 0x14($sp) -/* 72DDCC 802A125C 8C460084 */ lw $a2, 0x84($v0) -/* 72DDD0 802A1260 8E1101F4 */ lw $s1, 0x1f4($s0) -/* 72DDD4 802A1264 0C0997D0 */ jal inflict_status -/* 72DDD8 802A1268 0200202D */ daddu $a0, $s0, $zero -/* 72DDDC 802A126C A200021C */ sb $zero, 0x21c($s0) -/* 72DDE0 802A1270 8E230000 */ lw $v1, ($s1) -/* 72DDE4 802A1274 34630100 */ ori $v1, $v1, 0x100 -/* 72DDE8 802A1278 AE230000 */ sw $v1, ($s1) -/* 72DDEC 802A127C 8FBF0018 */ lw $ra, 0x18($sp) -/* 72DDF0 802A1280 8FB10014 */ lw $s1, 0x14($sp) -/* 72DDF4 802A1284 8FB00010 */ lw $s0, 0x10($sp) -/* 72DDF8 802A1288 24020002 */ addiu $v0, $zero, 2 -/* 72DDFC 802A128C 03E00008 */ jr $ra diff --git a/ver/us/asm/nonmatchings/code_743DF0/func_802A10E4_743ED4.s b/ver/us/asm/nonmatchings/code_743DF0/func_802A10E4_743ED4.s deleted file mode 100644 index 56572c7b17..0000000000 --- a/ver/us/asm/nonmatchings/code_743DF0/func_802A10E4_743ED4.s +++ /dev/null @@ -1,50 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A10E4_743ED4 -/* 743ED4 802A10E4 27BDFFE0 */ addiu $sp, $sp, -0x20 -/* 743ED8 802A10E8 AFB20018 */ sw $s2, 0x18($sp) -/* 743EDC 802A10EC 0080902D */ daddu $s2, $a0, $zero -/* 743EE0 802A10F0 AFBF001C */ sw $ra, 0x1c($sp) -/* 743EE4 802A10F4 AFB10014 */ sw $s1, 0x14($sp) -/* 743EE8 802A10F8 AFB00010 */ sw $s0, 0x10($sp) -/* 743EEC 802A10FC 0C09A75B */ jal get_actor -/* 743EF0 802A1100 8E440148 */ lw $a0, 0x148($s2) -/* 743EF4 802A1104 0C09A75B */ jal get_actor -/* 743EF8 802A1108 84440428 */ lh $a0, 0x428($v0) -/* 743EFC 802A110C 24030063 */ addiu $v1, $zero, 0x63 -/* 743F00 802A1110 AE430084 */ sw $v1, 0x84($s2) -/* 743F04 802A1114 8C420008 */ lw $v0, 8($v0) -/* 743F08 802A1118 9051001E */ lbu $s1, 0x1e($v0) -/* 743F0C 802A111C 0C03A752 */ jal is_ability_active -/* 743F10 802A1120 0000202D */ daddu $a0, $zero, $zero -/* 743F14 802A1124 54400001 */ bnel $v0, $zero, .L802A112C -/* 743F18 802A1128 26310007 */ addiu $s1, $s1, 7 -.L802A112C: -/* 743F1C 802A112C 3C10802A */ lui $s0, %hi(D_802A2730_745520) -/* 743F20 802A1130 26102730 */ addiu $s0, $s0, %lo(D_802A2730_745520) -/* 743F24 802A1134 8E030000 */ lw $v1, ($s0) -/* 743F28 802A1138 00710018 */ mult $v1, $s1 -/* 743F2C 802A113C 00001812 */ mflo $v1 -/* 743F30 802A1140 3C0251EB */ lui $v0, 0x51eb -/* 743F34 802A1144 3442851F */ ori $v0, $v0, 0x851f -/* 743F38 802A1148 00620018 */ mult $v1, $v0 -/* 743F3C 802A114C 24040064 */ addiu $a0, $zero, 0x64 -/* 743F40 802A1150 00031FC3 */ sra $v1, $v1, 0x1f -/* 743F44 802A1154 00003010 */ mfhi $a2 -/* 743F48 802A1158 00061143 */ sra $v0, $a2, 5 -/* 743F4C 802A115C 00431023 */ subu $v0, $v0, $v1 -/* 743F50 802A1160 0C00A67F */ jal rand_int -/* 743F54 802A1164 AE020000 */ sw $v0, ($s0) -/* 743F58 802A1168 8E030000 */ lw $v1, ($s0) -/* 743F5C 802A116C 0062182A */ slt $v1, $v1, $v0 -/* 743F60 802A1170 54600001 */ bnel $v1, $zero, .L802A1178 -/* 743F64 802A1174 AE400084 */ sw $zero, 0x84($s2) -.L802A1178: -/* 743F68 802A1178 8FBF001C */ lw $ra, 0x1c($sp) -/* 743F6C 802A117C 8FB20018 */ lw $s2, 0x18($sp) -/* 743F70 802A1180 8FB10014 */ lw $s1, 0x14($sp) -/* 743F74 802A1184 8FB00010 */ lw $s0, 0x10($sp) -/* 743F78 802A1188 24020002 */ addiu $v0, $zero, 2 -/* 743F7C 802A118C 03E00008 */ jr $ra -/* 743F80 802A1190 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/ver/us/asm/nonmatchings/code_743DF0/func_802A1194_743F84.s b/ver/us/asm/nonmatchings/code_743DF0/func_802A1194_743F84.s deleted file mode 100644 index d0d7f09299..0000000000 --- a/ver/us/asm/nonmatchings/code_743DF0/func_802A1194_743F84.s +++ /dev/null @@ -1,8 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A1194_743F84 -/* 743F84 802A1194 3C01802A */ lui $at, %hi(D_802A4020) -/* 743F88 802A1198 AC204020 */ sw $zero, %lo(D_802A4020)($at) -/* 743F8C 802A119C 03E00008 */ jr $ra -/* 743F90 802A11A0 24020002 */ addiu $v0, $zero, 2 diff --git a/ver/us/asm/nonmatchings/code_743DF0/func_802A11A4_743F94.s b/ver/us/asm/nonmatchings/code_743DF0/func_802A11A4_743F94.s deleted file mode 100644 index 16c377d35e..0000000000 --- a/ver/us/asm/nonmatchings/code_743DF0/func_802A11A4_743F94.s +++ /dev/null @@ -1,11 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A11A4_743F94 -/* 743F94 802A11A4 3C03802A */ lui $v1, %hi(D_802A4020) -/* 743F98 802A11A8 24634020 */ addiu $v1, $v1, %lo(D_802A4020) -/* 743F9C 802A11AC 8C620000 */ lw $v0, ($v1) -/* 743FA0 802A11B0 24420001 */ addiu $v0, $v0, 1 -/* 743FA4 802A11B4 AC620000 */ sw $v0, ($v1) -/* 743FA8 802A11B8 03E00008 */ jr $ra -/* 743FAC 802A11BC 24020002 */ addiu $v0, $zero, 2 diff --git a/ver/us/asm/nonmatchings/code_743DF0/func_802A11C0_743FB0.s b/ver/us/asm/nonmatchings/code_743DF0/func_802A11C0_743FB0.s deleted file mode 100644 index e6fe56d1d5..0000000000 --- a/ver/us/asm/nonmatchings/code_743DF0/func_802A11C0_743FB0.s +++ /dev/null @@ -1,17 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A11C0_743FB0 -/* 743FB0 802A11C0 3C058011 */ lui $a1, %hi(gPlayerData) -/* 743FB4 802A11C4 24A5F290 */ addiu $a1, $a1, %lo(gPlayerData) -/* 743FB8 802A11C8 3C04802A */ lui $a0, %hi(D_802A4020) -/* 743FBC 802A11CC 24844020 */ addiu $a0, $a0, %lo(D_802A4020) -/* 743FC0 802A11D0 94A202A0 */ lhu $v0, 0x2a0($a1) -/* 743FC4 802A11D4 8C830000 */ lw $v1, ($a0) -/* 743FC8 802A11D8 0043102A */ slt $v0, $v0, $v1 -/* 743FCC 802A11DC 10400003 */ beqz $v0, .L802A11EC -/* 743FD0 802A11E0 00000000 */ nop -/* 743FD4 802A11E4 94820002 */ lhu $v0, 2($a0) -/* 743FD8 802A11E8 A4A202A0 */ sh $v0, 0x2a0($a1) -.L802A11EC: -/* 743FDC 802A11EC 03E00008 */ jr $ra diff --git a/ver/us/asm/nonmatchings/code_77F240/func_802A10A4_77F2E4.s b/ver/us/asm/nonmatchings/code_77F240/func_802A10A4_77F2E4.s deleted file mode 100644 index 959b6adad4..0000000000 --- a/ver/us/asm/nonmatchings/code_77F240/func_802A10A4_77F2E4.s +++ /dev/null @@ -1,64 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802A10A4_77F2E4 -/* 77F2E4 802A10A4 27BDFFB8 */ addiu $sp, $sp, -0x48 -/* 77F2E8 802A10A8 F7B60030 */ sdc1 $f22, 0x30($sp) -/* 77F2EC 802A10AC 3C014170 */ lui $at, 0x4170 -/* 77F2F0 802A10B0 4481B000 */ mtc1 $at, $f22 -/* 77F2F4 802A10B4 F7BA0040 */ sdc1 $f26, 0x40($sp) -/* 77F2F8 802A10B8 3C0140A0 */ lui $at, 0x40a0 -/* 77F2FC 802A10BC 4481D000 */ mtc1 $at, $f26 -/* 77F300 802A10C0 3C02800E */ lui $v0, %hi(gBattleStatus+0xD8) -/* 77F304 802A10C4 8C42C148 */ lw $v0, %lo(gBattleStatus+0xD8)($v0) -/* 77F308 802A10C8 F7B80038 */ sdc1 $f24, 0x38($sp) -/* 77F30C 802A10CC 3C013F80 */ lui $at, 0x3f80 -/* 77F310 802A10D0 4481C000 */ mtc1 $at, $f24 -/* 77F314 802A10D4 AFB1001C */ sw $s1, 0x1c($sp) -/* 77F318 802A10D8 0000882D */ daddu $s1, $zero, $zero -/* 77F31C 802A10DC AFB20020 */ sw $s2, 0x20($sp) -/* 77F320 802A10E0 24120019 */ addiu $s2, $zero, 0x19 -/* 77F324 802A10E4 AFBF0024 */ sw $ra, 0x24($sp) -/* 77F328 802A10E8 AFB00018 */ sw $s0, 0x18($sp) -/* 77F32C 802A10EC F7B40028 */ sdc1 $f20, 0x28($sp) -/* 77F330 802A10F0 2450000C */ addiu $s0, $v0, 0xc -.L802A10F4: -/* 77F334 802A10F4 0C00A67F */ jal rand_int -/* 77F338 802A10F8 2404001E */ addiu $a0, $zero, 0x1e -/* 77F33C 802A10FC C614000C */ lwc1 $f20, 0xc($s0) -/* 77F340 802A1100 44820000 */ mtc1 $v0, $f0 -/* 77F344 802A1104 00000000 */ nop -/* 77F348 802A1108 46800020 */ cvt.s.w $f0, $f0 -/* 77F34C 802A110C 4600A500 */ add.s $f20, $f20, $f0 -/* 77F350 802A1110 24040014 */ addiu $a0, $zero, 0x14 -/* 77F354 802A1114 0C00A67F */ jal rand_int -/* 77F358 802A1118 4616A501 */ sub.s $f20, $f20, $f22 -/* 77F35C 802A111C C6020010 */ lwc1 $f2, 0x10($s0) -/* 77F360 802A1120 44820000 */ mtc1 $v0, $f0 -/* 77F364 802A1124 00000000 */ nop -/* 77F368 802A1128 46800020 */ cvt.s.w $f0, $f0 -/* 77F36C 802A112C 46001080 */ add.s $f2, $f2, $f0 -/* 77F370 802A1130 C6000014 */ lwc1 $f0, 0x14($s0) -/* 77F374 802A1134 461A0000 */ add.s $f0, $f0, $f26 -/* 77F378 802A1138 26310001 */ addiu $s1, $s1, 1 -/* 77F37C 802A113C 46161081 */ sub.s $f2, $f2, $f22 -/* 77F380 802A1140 4405A000 */ mfc1 $a1, $f20 -/* 77F384 802A1144 44070000 */ mfc1 $a3, $f0 -/* 77F388 802A1148 44061000 */ mfc1 $a2, $f2 -/* 77F38C 802A114C 0000202D */ daddu $a0, $zero, $zero -/* 77F390 802A1150 E7B80010 */ swc1 $f24, 0x10($sp) -/* 77F394 802A1154 0C01C7FC */ jal func_80071FF0 -/* 77F398 802A1158 AFB20014 */ sw $s2, 0x14($sp) -/* 77F39C 802A115C 2A220014 */ slti $v0, $s1, 0x14 -/* 77F3A0 802A1160 1440FFE4 */ bnez $v0, .L802A10F4 -/* 77F3A4 802A1164 24020002 */ addiu $v0, $zero, 2 -/* 77F3A8 802A1168 8FBF0024 */ lw $ra, 0x24($sp) -/* 77F3AC 802A116C 8FB20020 */ lw $s2, 0x20($sp) -/* 77F3B0 802A1170 8FB1001C */ lw $s1, 0x1c($sp) -/* 77F3B4 802A1174 8FB00018 */ lw $s0, 0x18($sp) -/* 77F3B8 802A1178 D7BA0040 */ ldc1 $f26, 0x40($sp) -/* 77F3BC 802A117C D7B80038 */ ldc1 $f24, 0x38($sp) -/* 77F3C0 802A1180 D7B60030 */ ldc1 $f22, 0x30($sp) -/* 77F3C4 802A1184 D7B40028 */ ldc1 $f20, 0x28($sp) -/* 77F3C8 802A1188 03E00008 */ jr $ra -/* 77F3CC 802A118C 27BD0048 */ addiu $sp, $sp, 0x48 diff --git a/ver/us/asm/nonmatchings/code_fa4c0_len_3bf0/func_802D7460.s b/ver/us/asm/nonmatchings/code_FBE10/func_802D7460.s similarity index 100% rename from ver/us/asm/nonmatchings/code_fa4c0_len_3bf0/func_802D7460.s rename to ver/us/asm/nonmatchings/code_FBE10/func_802D7460.s diff --git a/ver/us/asm/nonmatchings/code_fa4c0_len_3bf0/func_802D74C0.s b/ver/us/asm/nonmatchings/code_FBE10/func_802D74C0.s similarity index 100% rename from ver/us/asm/nonmatchings/code_fa4c0_len_3bf0/func_802D74C0.s rename to ver/us/asm/nonmatchings/code_FBE10/func_802D74C0.s diff --git a/ver/us/asm/nonmatchings/code_ad90_len_2880/update_camera_from_zone.s b/ver/us/asm/nonmatchings/code_ad90_len_2880/update_camera_from_zone.s deleted file mode 100644 index 6f58546ffe..0000000000 --- a/ver/us/asm/nonmatchings/code_ad90_len_2880/update_camera_from_zone.s +++ /dev/null @@ -1,1061 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel update_camera_from_zone -/* B8FC 800304FC 27BDFF80 */ addiu $sp, $sp, -0x80 -/* B900 80030500 AFB20030 */ sw $s2, 0x30($sp) -/* B904 80030504 00A0902D */ daddu $s2, $a1, $zero -/* B908 80030508 AFB40038 */ sw $s4, 0x38($sp) -/* B90C 8003050C 00C0A02D */ daddu $s4, $a2, $zero -/* B910 80030510 AFB30034 */ sw $s3, 0x34($sp) -/* B914 80030514 00E0982D */ daddu $s3, $a3, $zero -/* B918 80030518 AFB1002C */ sw $s1, 0x2c($sp) -/* B91C 8003051C AFBF0048 */ sw $ra, 0x48($sp) -/* B920 80030520 AFB70044 */ sw $s7, 0x44($sp) -/* B924 80030524 AFB60040 */ sw $s6, 0x40($sp) -/* B928 80030528 AFB5003C */ sw $s5, 0x3c($sp) -/* B92C 8003052C AFB00028 */ sw $s0, 0x28($sp) -/* B930 80030530 F7BE0078 */ sdc1 $f30, 0x78($sp) -/* B934 80030534 F7BC0070 */ sdc1 $f28, 0x70($sp) -/* B938 80030538 F7BA0068 */ sdc1 $f26, 0x68($sp) -/* B93C 8003053C F7B80060 */ sdc1 $f24, 0x60($sp) -/* B940 80030540 F7B60058 */ sdc1 $f22, 0x58($sp) -/* B944 80030544 F7B40050 */ sdc1 $f20, 0x50($sp) -/* B948 80030548 8E900000 */ lw $s0, ($s4) -/* B94C 8003054C C7B80094 */ lwc1 $f24, 0x94($sp) -/* B950 80030550 C7BE0098 */ lwc1 $f30, 0x98($sp) -/* B954 80030554 C7BA009C */ lwc1 $f26, 0x9c($sp) -/* B958 80030558 8FB500AC */ lw $s5, 0xac($sp) -/* B95C 8003055C 8FB600B0 */ lw $s6, 0xb0($sp) -/* B960 80030560 8FB700B4 */ lw $s7, 0xb4($sp) -/* B964 80030564 26020002 */ addiu $v0, $s0, 2 -/* B968 80030568 2C420002 */ sltiu $v0, $v0, 2 -/* B96C 8003056C 144000C4 */ bnez $v0, .L80030880 -/* B970 80030570 0240882D */ daddu $s1, $s2, $zero -/* B974 80030574 16000005 */ bnez $s0, .L8003058C -/* B978 80030578 00000000 */ nop -/* B97C 8003057C E6580010 */ swc1 $f24, 0x10($s2) -/* B980 80030580 E65E0014 */ swc1 $f30, 0x14($s2) -/* B984 80030584 0800C220 */ j .L80030880 -/* B988 80030588 E65A0018 */ swc1 $f26, 0x18($s2) -.L8003058C: -/* B98C 8003058C 8E030000 */ lw $v1, ($s0) -/* B990 80030590 2C620007 */ sltiu $v0, $v1, 7 -/* B994 80030594 104000BA */ beqz $v0, .L80030880 -/* B998 80030598 00031080 */ sll $v0, $v1, 2 -/* B99C 8003059C 3C01800A */ lui $at, %hi(jtbl_80098210) -/* B9A0 800305A0 00220821 */ addu $at, $at, $v0 -/* B9A4 800305A4 8C228210 */ lw $v0, %lo(jtbl_80098210)($at) -/* B9A8 800305A8 00400008 */ jr $v0 -/* B9AC 800305AC 00000000 */ nop -glabel L800305B0_B9B0 -/* B9B0 800305B0 8E020028 */ lw $v0, 0x28($s0) -/* B9B4 800305B4 504000B0 */ beql $v0, $zero, .L80030878 -/* B9B8 800305B8 E6380010 */ swc1 $f24, 0x10($s1) -/* B9BC 800305BC C60A0014 */ lwc1 $f10, 0x14($s0) -/* B9C0 800305C0 C60C0020 */ lwc1 $f12, 0x20($s0) -/* B9C4 800305C4 460C5281 */ sub.s $f10, $f10, $f12 -/* B9C8 800305C8 C6000018 */ lwc1 $f0, 0x18($s0) -/* B9CC 800305CC 46005287 */ neg.s $f10, $f10 -/* B9D0 800305D0 46005280 */ add.s $f10, $f10, $f0 -/* B9D4 800305D4 460A0201 */ sub.s $f8, $f0, $f10 -/* B9D8 800305D8 46084102 */ mul.s $f4, $f8, $f8 -/* B9DC 800305DC 00000000 */ nop -/* B9E0 800305E0 C606000C */ lwc1 $f6, 0xc($s0) -/* B9E4 800305E4 46003181 */ sub.s $f6, $f6, $f0 -/* B9E8 800305E8 460C3180 */ add.s $f6, $f6, $f12 -/* B9EC 800305EC 46066301 */ sub.s $f12, $f12, $f6 -/* B9F0 800305F0 460C6382 */ mul.s $f14, $f12, $f12 -/* B9F4 800305F4 00000000 */ nop -/* B9F8 800305F8 460AC081 */ sub.s $f2, $f24, $f10 -/* B9FC 800305FC 46081082 */ mul.s $f2, $f2, $f8 -/* BA00 80030600 00000000 */ nop -/* BA04 80030604 4606D001 */ sub.s $f0, $f26, $f6 -/* BA08 80030608 460C0002 */ mul.s $f0, $f0, $f12 -/* BA0C 8003060C 00000000 */ nop -/* BA10 80030610 460E2100 */ add.s $f4, $f4, $f14 -/* BA14 80030614 46001080 */ add.s $f2, $f2, $f0 -/* BA18 80030618 46041103 */ div.s $f4, $f2, $f4 -/* BA1C 8003061C 46082202 */ mul.s $f8, $f4, $f8 -/* BA20 80030620 00000000 */ nop -/* BA24 80030624 460C2102 */ mul.s $f4, $f4, $f12 -/* BA28 80030628 00000000 */ nop -/* BA2C 8003062C 460A4200 */ add.s $f8, $f8, $f10 -/* BA30 80030630 46062100 */ add.s $f4, $f4, $f6 -/* BA34 80030634 E63E0014 */ swc1 $f30, 0x14($s1) -/* BA38 80030638 E6280010 */ swc1 $f8, 0x10($s1) -/* BA3C 8003063C 0800C220 */ j .L80030880 -/* BA40 80030640 E6240018 */ swc1 $f4, 0x18($s1) -glabel L80030644_BA44 -/* BA44 80030644 C60E000C */ lwc1 $f14, 0xc($s0) -/* BA48 80030648 C61C0018 */ lwc1 $f28, 0x18($s0) -/* BA4C 8003064C 460EE201 */ sub.s $f8, $f28, $f14 -/* BA50 80030650 46084502 */ mul.s $f20, $f8, $f8 -/* BA54 80030654 00000000 */ nop -/* BA58 80030658 460EC081 */ sub.s $f2, $f24, $f14 -/* BA5C 8003065C 46081082 */ mul.s $f2, $f2, $f8 -/* BA60 80030660 00000000 */ nop -/* BA64 80030664 E7BC0010 */ swc1 $f28, 0x10($sp) -/* BA68 80030668 C60C0014 */ lwc1 $f12, 0x14($s0) -/* BA6C 8003066C C61C0020 */ lwc1 $f28, 0x20($s0) -/* BA70 80030670 460CE181 */ sub.s $f6, $f28, $f12 -/* BA74 80030674 46063482 */ mul.s $f18, $f6, $f6 -/* BA78 80030678 00000000 */ nop -/* BA7C 8003067C 460CD001 */ sub.s $f0, $f26, $f12 -/* BA80 80030680 46060002 */ mul.s $f0, $f0, $f6 -/* BA84 80030684 00000000 */ nop -/* BA88 80030688 4612A100 */ add.s $f4, $f20, $f18 -/* BA8C 8003068C 46001080 */ add.s $f2, $f2, $f0 -/* BA90 80030690 46041103 */ div.s $f4, $f2, $f4 -/* BA94 80030694 46082002 */ mul.s $f0, $f4, $f8 -/* BA98 80030698 00000000 */ nop -/* BA9C 8003069C 46062102 */ mul.s $f4, $f4, $f6 -/* BAA0 800306A0 00000000 */ nop -/* BAA4 800306A4 460E0400 */ add.s $f16, $f0, $f14 -/* BAA8 800306A8 46007586 */ mov.s $f22, $f14 -/* BAAC 800306AC 46004386 */ mov.s $f14, $f8 -/* BAB0 800306B0 46168201 */ sub.s $f8, $f16, $f22 -/* BAB4 800306B4 46087082 */ mul.s $f2, $f14, $f8 -/* BAB8 800306B8 00000000 */ nop -/* BABC 800306BC 460C2280 */ add.s $f10, $f4, $f12 -/* BAC0 800306C0 46006106 */ mov.s $f4, $f12 -/* BAC4 800306C4 46003306 */ mov.s $f12, $f6 -/* BAC8 800306C8 46045181 */ sub.s $f6, $f10, $f4 -/* BACC 800306CC 46066002 */ mul.s $f0, $f12, $f6 -/* BAD0 800306D0 00000000 */ nop -/* BAD4 800306D4 4610C501 */ sub.s $f20, $f24, $f16 -/* BAD8 800306D8 460AD481 */ sub.s $f18, $f26, $f10 -/* BADC 800306DC 46001080 */ add.s $f2, $f2, $f0 -/* BAE0 800306E0 44800000 */ mtc1 $zero, $f0 -/* BAE4 800306E4 00000000 */ nop -/* BAE8 800306E8 4600103C */ c.lt.s $f2, $f0 -/* BAEC 800306EC 00000000 */ nop -/* BAF0 800306F0 45000004 */ bc1f .L80030704 -/* BAF4 800306F4 E7BC0020 */ swc1 $f28, 0x20($sp) -/* BAF8 800306F8 4600B406 */ mov.s $f16, $f22 -/* BAFC 800306FC 0800C1D1 */ j .L80030744 -/* BB00 80030700 46002286 */ mov.s $f10, $f4 -.L80030704: -/* BB04 80030704 46084082 */ mul.s $f2, $f8, $f8 -/* BB08 80030708 00000000 */ nop -/* BB0C 8003070C 46063182 */ mul.s $f6, $f6, $f6 -/* BB10 80030710 00000000 */ nop -/* BB14 80030714 460E7002 */ mul.s $f0, $f14, $f14 -/* BB18 80030718 00000000 */ nop -/* BB1C 8003071C 460C6102 */ mul.s $f4, $f12, $f12 -/* BB20 80030720 00000000 */ nop -/* BB24 80030724 46061080 */ add.s $f2, $f2, $f6 -/* BB28 80030728 46040000 */ add.s $f0, $f0, $f4 -/* BB2C 8003072C 4602003C */ c.lt.s $f0, $f2 -/* BB30 80030730 00000000 */ nop -/* BB34 80030734 45000003 */ bc1f .L80030744 -/* BB38 80030738 00000000 */ nop -/* BB3C 8003073C C7B00010 */ lwc1 $f16, 0x10($sp) -/* BB40 80030740 C7AA0020 */ lwc1 $f10, 0x20($sp) -.L80030744: -/* BB44 80030744 8E020028 */ lw $v0, 0x28($s0) -/* BB48 80030748 54400004 */ bnel $v0, $zero, .L8003075C -/* BB4C 8003074C E6300010 */ swc1 $f16, 0x10($s1) -/* BB50 80030750 46148400 */ add.s $f16, $f16, $f20 -/* BB54 80030754 46125280 */ add.s $f10, $f10, $f18 -/* BB58 80030758 E6300010 */ swc1 $f16, 0x10($s1) -.L8003075C: -/* BB5C 8003075C E63E0014 */ swc1 $f30, 0x14($s1) -/* BB60 80030760 0800C220 */ j .L80030880 -/* BB64 80030764 E62A0018 */ swc1 $f10, 0x18($s1) -glabel L80030768_BB68 -/* BB68 80030768 8E020028 */ lw $v0, 0x28($s0) -/* BB6C 8003076C 50400042 */ beql $v0, $zero, .L80030878 -/* BB70 80030770 E6380010 */ swc1 $f24, 0x10($s1) -/* BB74 80030774 C600000C */ lwc1 $f0, 0xc($s0) -/* BB78 80030778 4600C581 */ sub.s $f22, $f24, $f0 -/* BB7C 8003077C 4616B082 */ mul.s $f2, $f22, $f22 -/* BB80 80030780 00000000 */ nop -/* BB84 80030784 C6000014 */ lwc1 $f0, 0x14($s0) -/* BB88 80030788 4600D501 */ sub.s $f20, $f26, $f0 -/* BB8C 8003078C 4614A002 */ mul.s $f0, $f20, $f20 -/* BB90 80030790 00000000 */ nop -/* BB94 80030794 46001600 */ add.s $f24, $f2, $f0 -/* BB98 80030798 44800000 */ mtc1 $zero, $f0 -/* BB9C 8003079C 00000000 */ nop -/* BBA0 800307A0 4600C032 */ c.eq.s $f24, $f0 -/* BBA4 800307A4 00000000 */ nop -/* BBA8 800307A8 45010035 */ bc1t .L80030880 -/* BBAC 800307AC 00000000 */ nop -/* BBB0 800307B0 4600C184 */ sqrt.s $f6, $f24 -/* BBB4 800307B4 46063032 */ c.eq.s $f6, $f6 -/* BBB8 800307B8 00000000 */ nop -/* BBBC 800307BC 45010004 */ bc1t .L800307D0 -/* BBC0 800307C0 00000000 */ nop -/* BBC4 800307C4 0C0187BC */ jal sqrtf -/* BBC8 800307C8 4600C306 */ mov.s $f12, $f24 -/* BBCC 800307CC 46000186 */ mov.s $f6, $f0 -.L800307D0: -/* BBD0 800307D0 C6040018 */ lwc1 $f4, 0x18($s0) -/* BBD4 800307D4 C600000C */ lwc1 $f0, 0xc($s0) -/* BBD8 800307D8 46002101 */ sub.s $f4, $f4, $f0 -/* BBDC 800307DC 46042102 */ mul.s $f4, $f4, $f4 -/* BBE0 800307E0 00000000 */ nop -/* BBE4 800307E4 C6020014 */ lwc1 $f2, 0x14($s0) -/* BBE8 800307E8 C6000020 */ lwc1 $f0, 0x20($s0) -/* BBEC 800307EC 46020001 */ sub.s $f0, $f0, $f2 -/* BBF0 800307F0 46000002 */ mul.s $f0, $f0, $f0 -/* BBF4 800307F4 00000000 */ nop -/* BBF8 800307F8 3C013F80 */ lui $at, 0x3f80 -/* BBFC 800307FC 44811000 */ mtc1 $at, $f2 -/* BC00 80030800 46002300 */ add.s $f12, $f4, $f0 -/* BC04 80030804 46061603 */ div.s $f24, $f2, $f6 -/* BC08 80030808 46006084 */ sqrt.s $f2, $f12 -/* BC0C 8003080C 46021032 */ c.eq.s $f2, $f2 -/* BC10 80030810 00000000 */ nop -/* BC14 80030814 45010004 */ bc1t .L80030828 -/* BC18 80030818 00000000 */ nop -/* BC1C 8003081C 0C0187BC */ jal sqrtf -/* BC20 80030820 00000000 */ nop -/* BC24 80030824 46000086 */ mov.s $f2, $f0 -.L80030828: -/* BC28 80030828 4602B002 */ mul.s $f0, $f22, $f2 -/* BC2C 8003082C 00000000 */ nop -/* BC30 80030830 4602A102 */ mul.s $f4, $f20, $f2 -/* BC34 80030834 00000000 */ nop -/* BC38 80030838 46180002 */ mul.s $f0, $f0, $f24 -/* BC3C 8003083C 00000000 */ nop -/* BC40 80030840 C602000C */ lwc1 $f2, 0xc($s0) -/* BC44 80030844 46001080 */ add.s $f2, $f2, $f0 -/* BC48 80030848 46182102 */ mul.s $f4, $f4, $f24 -/* BC4C 8003084C 00000000 */ nop -/* BC50 80030850 E63E0014 */ swc1 $f30, 0x14($s1) -/* BC54 80030854 E6220010 */ swc1 $f2, 0x10($s1) -/* BC58 80030858 C6000014 */ lwc1 $f0, 0x14($s0) -/* BC5C 8003085C 46040000 */ add.s $f0, $f0, $f4 -/* BC60 80030860 0800C220 */ j .L80030880 -/* BC64 80030864 E6200018 */ swc1 $f0, 0x18($s1) -glabel L80030868_BC68 -/* BC68 80030868 2402FFFF */ addiu $v0, $zero, -1 -/* BC6C 8003086C 0800C220 */ j .L80030880 -/* BC70 80030870 AE820000 */ sw $v0, ($s4) -glabel L80030874_BC74 -/* BC74 80030874 E6380010 */ swc1 $f24, 0x10($s1) -.L80030878: -/* BC78 80030878 E63E0014 */ swc1 $f30, 0x14($s1) -/* BC7C 8003087C E63A0018 */ swc1 $f26, 0x18($s1) -.L80030880: -glabel L80030880_BC80 -/* BC80 80030880 8FA20090 */ lw $v0, 0x90($sp) -/* BC84 80030884 C7B800A0 */ lwc1 $f24, 0xa0($sp) -/* BC88 80030888 C7BE00A4 */ lwc1 $f30, 0xa4($sp) -/* BC8C 8003088C 8C500000 */ lw $s0, ($v0) -/* BC90 80030890 C7BA00A8 */ lwc1 $f26, 0xa8($sp) -/* BC94 80030894 16000005 */ bnez $s0, .L800308AC -/* BC98 80030898 0260882D */ daddu $s1, $s3, $zero -/* BC9C 8003089C E6780010 */ swc1 $f24, 0x10($s3) -/* BCA0 800308A0 E67E0014 */ swc1 $f30, 0x14($s3) -/* BCA4 800308A4 0800C4F0 */ j .L800313C0 -/* BCA8 800308A8 E67A0018 */ swc1 $f26, 0x18($s3) -.L800308AC: -/* BCAC 800308AC 8E030000 */ lw $v1, ($s0) -/* BCB0 800308B0 2C620007 */ sltiu $v0, $v1, 7 -/* BCB4 800308B4 10400279 */ beqz $v0, .L8003129C -/* BCB8 800308B8 00031080 */ sll $v0, $v1, 2 -/* BCBC 800308BC 3C01800A */ lui $at, %hi(jtbl_80098230) -/* BCC0 800308C0 00220821 */ addu $at, $at, $v0 -/* BCC4 800308C4 8C228230 */ lw $v0, %lo(jtbl_80098230)($at) -/* BCC8 800308C8 00400008 */ jr $v0 -/* BCCC 800308CC 00000000 */ nop -glabel L800308D0_BCD0 -/* BCD0 800308D0 C6020018 */ lwc1 $f2, 0x18($s0) -/* BCD4 800308D4 C600000C */ lwc1 $f0, 0xc($s0) -/* BCD8 800308D8 46001081 */ sub.s $f2, $f2, $f0 -/* BCDC 800308DC C6000014 */ lwc1 $f0, 0x14($s0) -/* BCE0 800308E0 44061000 */ mfc1 $a2, $f2 -/* BCE4 800308E4 C6020020 */ lwc1 $f2, 0x20($s0) -/* BCE8 800308E8 4480A000 */ mtc1 $zero, $f20 -/* BCEC 800308EC 46001081 */ sub.s $f2, $f2, $f0 -/* BCF0 800308F0 4600A306 */ mov.s $f12, $f20 -/* BCF4 800308F4 44071000 */ mfc1 $a3, $f2 -/* BCF8 800308F8 0C00A720 */ jal atan2 -/* BCFC 800308FC 4600A386 */ mov.s $f14, $f20 -/* BD00 80030900 E6200000 */ swc1 $f0, ($s1) -/* BD04 80030904 C6000004 */ lwc1 $f0, 4($s0) -/* BD08 80030908 4614003C */ c.lt.s $f0, $f20 -/* BD0C 8003090C 00000000 */ nop -/* BD10 80030910 45030001 */ bc1tl .L80030918 -/* BD14 80030914 46000007 */ neg.s $f0, $f0 -.L80030918: -/* BD18 80030918 E6200004 */ swc1 $f0, 4($s1) -/* BD1C 8003091C C6000008 */ lwc1 $f0, 8($s0) -/* BD20 80030920 E6200008 */ swc1 $f0, 8($s1) -/* BD24 80030924 C6000024 */ lwc1 $f0, 0x24($s0) -/* BD28 80030928 E620000C */ swc1 $f0, 0xc($s1) -/* BD2C 8003092C 8E020028 */ lw $v0, 0x28($s0) -/* BD30 80030930 50400023 */ beql $v0, $zero, .L800309C0 -/* BD34 80030934 E6380010 */ swc1 $f24, 0x10($s1) -/* BD38 80030938 C60A0014 */ lwc1 $f10, 0x14($s0) -/* BD3C 8003093C C60C0020 */ lwc1 $f12, 0x20($s0) -/* BD40 80030940 460C5281 */ sub.s $f10, $f10, $f12 -/* BD44 80030944 C6000018 */ lwc1 $f0, 0x18($s0) -/* BD48 80030948 46005287 */ neg.s $f10, $f10 -/* BD4C 8003094C 46005280 */ add.s $f10, $f10, $f0 -/* BD50 80030950 460A0201 */ sub.s $f8, $f0, $f10 -/* BD54 80030954 46084102 */ mul.s $f4, $f8, $f8 -/* BD58 80030958 00000000 */ nop -/* BD5C 8003095C C606000C */ lwc1 $f6, 0xc($s0) -/* BD60 80030960 46003181 */ sub.s $f6, $f6, $f0 -/* BD64 80030964 460C3180 */ add.s $f6, $f6, $f12 -/* BD68 80030968 46066301 */ sub.s $f12, $f12, $f6 -/* BD6C 8003096C 460C6382 */ mul.s $f14, $f12, $f12 -/* BD70 80030970 00000000 */ nop -/* BD74 80030974 460AC081 */ sub.s $f2, $f24, $f10 -/* BD78 80030978 46081082 */ mul.s $f2, $f2, $f8 -/* BD7C 8003097C 00000000 */ nop -/* BD80 80030980 4606D001 */ sub.s $f0, $f26, $f6 -/* BD84 80030984 460C0002 */ mul.s $f0, $f0, $f12 -/* BD88 80030988 00000000 */ nop -/* BD8C 8003098C 460E2100 */ add.s $f4, $f4, $f14 -/* BD90 80030990 46001080 */ add.s $f2, $f2, $f0 -/* BD94 80030994 46041103 */ div.s $f4, $f2, $f4 -/* BD98 80030998 46082202 */ mul.s $f8, $f4, $f8 -/* BD9C 8003099C 00000000 */ nop -/* BDA0 800309A0 460C2102 */ mul.s $f4, $f4, $f12 -/* BDA4 800309A4 00000000 */ nop -/* BDA8 800309A8 460A4200 */ add.s $f8, $f8, $f10 -/* BDAC 800309AC 46062100 */ add.s $f4, $f4, $f6 -/* BDB0 800309B0 E63E0014 */ swc1 $f30, 0x14($s1) -/* BDB4 800309B4 E6280010 */ swc1 $f8, 0x10($s1) -/* BDB8 800309B8 0800C2D4 */ j .L80030B50 -/* BDBC 800309BC E6240018 */ swc1 $f4, 0x18($s1) -.L800309C0: -/* BDC0 800309C0 E63E0014 */ swc1 $f30, 0x14($s1) -/* BDC4 800309C4 0800C2D4 */ j .L80030B50 -/* BDC8 800309C8 E63A0018 */ swc1 $f26, 0x18($s1) -glabel L800309CC_BDCC -/* BDCC 800309CC C6020018 */ lwc1 $f2, 0x18($s0) -/* BDD0 800309D0 C600000C */ lwc1 $f0, 0xc($s0) -/* BDD4 800309D4 46001581 */ sub.s $f22, $f2, $f0 -/* BDD8 800309D8 C6020020 */ lwc1 $f2, 0x20($s0) -/* BDDC 800309DC C6000014 */ lwc1 $f0, 0x14($s0) -/* BDE0 800309E0 46001081 */ sub.s $f2, $f2, $f0 -/* BDE4 800309E4 44806000 */ mtc1 $zero, $f12 -/* BDE8 800309E8 4600B587 */ neg.s $f22, $f22 -/* BDEC 800309EC 4407B000 */ mfc1 $a3, $f22 -/* BDF0 800309F0 44061000 */ mfc1 $a2, $f2 -/* BDF4 800309F4 0C00A720 */ jal atan2 -/* BDF8 800309F8 46006386 */ mov.s $f14, $f12 -/* BDFC 800309FC E6200000 */ swc1 $f0, ($s1) -/* BE00 80030A00 C6000004 */ lwc1 $f0, 4($s0) -/* BE04 80030A04 4480E000 */ mtc1 $zero, $f28 -/* BE08 80030A08 00000000 */ nop -/* BE0C 80030A0C 461C003C */ c.lt.s $f0, $f28 -/* BE10 80030A10 00000000 */ nop -/* BE14 80030A14 45030001 */ bc1tl .L80030A1C -/* BE18 80030A18 46000007 */ neg.s $f0, $f0 -.L80030A1C: -/* BE1C 80030A1C E6200004 */ swc1 $f0, 4($s1) -/* BE20 80030A20 C6000008 */ lwc1 $f0, 8($s0) -/* BE24 80030A24 E6200008 */ swc1 $f0, 8($s1) -/* BE28 80030A28 C6000024 */ lwc1 $f0, 0x24($s0) -/* BE2C 80030A2C E620000C */ swc1 $f0, 0xc($s1) -/* BE30 80030A30 C60E000C */ lwc1 $f14, 0xc($s0) -/* BE34 80030A34 C61C0018 */ lwc1 $f28, 0x18($s0) -/* BE38 80030A38 460EE201 */ sub.s $f8, $f28, $f14 -/* BE3C 80030A3C 46084502 */ mul.s $f20, $f8, $f8 -/* BE40 80030A40 00000000 */ nop -/* BE44 80030A44 460EC081 */ sub.s $f2, $f24, $f14 -/* BE48 80030A48 46081082 */ mul.s $f2, $f2, $f8 -/* BE4C 80030A4C 00000000 */ nop -/* BE50 80030A50 E7BC0014 */ swc1 $f28, 0x14($sp) -/* BE54 80030A54 C60C0014 */ lwc1 $f12, 0x14($s0) -/* BE58 80030A58 C61C0020 */ lwc1 $f28, 0x20($s0) -/* BE5C 80030A5C 460CE181 */ sub.s $f6, $f28, $f12 -/* BE60 80030A60 46063482 */ mul.s $f18, $f6, $f6 -/* BE64 80030A64 00000000 */ nop -/* BE68 80030A68 460CD001 */ sub.s $f0, $f26, $f12 -/* BE6C 80030A6C 46060002 */ mul.s $f0, $f0, $f6 -/* BE70 80030A70 00000000 */ nop -/* BE74 80030A74 4612A100 */ add.s $f4, $f20, $f18 -/* BE78 80030A78 46001080 */ add.s $f2, $f2, $f0 -/* BE7C 80030A7C 46041103 */ div.s $f4, $f2, $f4 -/* BE80 80030A80 46082002 */ mul.s $f0, $f4, $f8 -/* BE84 80030A84 00000000 */ nop -/* BE88 80030A88 46062102 */ mul.s $f4, $f4, $f6 -/* BE8C 80030A8C 00000000 */ nop -/* BE90 80030A90 460E0400 */ add.s $f16, $f0, $f14 -/* BE94 80030A94 46007586 */ mov.s $f22, $f14 -/* BE98 80030A98 46004386 */ mov.s $f14, $f8 -/* BE9C 80030A9C 46168201 */ sub.s $f8, $f16, $f22 -/* BEA0 80030AA0 46087002 */ mul.s $f0, $f14, $f8 -/* BEA4 80030AA4 00000000 */ nop -/* BEA8 80030AA8 460C2280 */ add.s $f10, $f4, $f12 -/* BEAC 80030AAC 46006106 */ mov.s $f4, $f12 -/* BEB0 80030AB0 46003306 */ mov.s $f12, $f6 -/* BEB4 80030AB4 46045181 */ sub.s $f6, $f10, $f4 -/* BEB8 80030AB8 46066082 */ mul.s $f2, $f12, $f6 -/* BEBC 80030ABC 00000000 */ nop -/* BEC0 80030AC0 4610C501 */ sub.s $f20, $f24, $f16 -/* BEC4 80030AC4 E7BC0018 */ swc1 $f28, 0x18($sp) -/* BEC8 80030AC8 46020000 */ add.s $f0, $f0, $f2 -/* BECC 80030ACC 4480E000 */ mtc1 $zero, $f28 -/* BED0 80030AD0 00000000 */ nop -/* BED4 80030AD4 461C003C */ c.lt.s $f0, $f28 -/* BED8 80030AD8 00000000 */ nop -/* BEDC 80030ADC 45000004 */ bc1f .L80030AF0 -/* BEE0 80030AE0 460AD481 */ sub.s $f18, $f26, $f10 -/* BEE4 80030AE4 4600B406 */ mov.s $f16, $f22 -/* BEE8 80030AE8 0800C2CC */ j .L80030B30 -/* BEEC 80030AEC 46002286 */ mov.s $f10, $f4 -.L80030AF0: -/* BEF0 80030AF0 46084082 */ mul.s $f2, $f8, $f8 -/* BEF4 80030AF4 00000000 */ nop -/* BEF8 80030AF8 46063182 */ mul.s $f6, $f6, $f6 -/* BEFC 80030AFC 00000000 */ nop -/* BF00 80030B00 460E7002 */ mul.s $f0, $f14, $f14 -/* BF04 80030B04 00000000 */ nop -/* BF08 80030B08 460C6102 */ mul.s $f4, $f12, $f12 -/* BF0C 80030B0C 00000000 */ nop -/* BF10 80030B10 46061080 */ add.s $f2, $f2, $f6 -/* BF14 80030B14 46040000 */ add.s $f0, $f0, $f4 -/* BF18 80030B18 4602003C */ c.lt.s $f0, $f2 -/* BF1C 80030B1C 00000000 */ nop -/* BF20 80030B20 45000003 */ bc1f .L80030B30 -/* BF24 80030B24 00000000 */ nop -/* BF28 80030B28 C7B00014 */ lwc1 $f16, 0x14($sp) -/* BF2C 80030B2C C7AA0018 */ lwc1 $f10, 0x18($sp) -.L80030B30: -/* BF30 80030B30 8E020028 */ lw $v0, 0x28($s0) -/* BF34 80030B34 54400004 */ bnel $v0, $zero, .L80030B48 -/* BF38 80030B38 E6300010 */ swc1 $f16, 0x10($s1) -/* BF3C 80030B3C 46148400 */ add.s $f16, $f16, $f20 -/* BF40 80030B40 46125280 */ add.s $f10, $f10, $f18 -/* BF44 80030B44 E6300010 */ swc1 $f16, 0x10($s1) -.L80030B48: -/* BF48 80030B48 E63E0014 */ swc1 $f30, 0x14($s1) -/* BF4C 80030B4C E62A0018 */ swc1 $f10, 0x18($s1) -.L80030B50: -/* BF50 80030B50 12E0021B */ beqz $s7, .L800313C0 -/* BF54 80030B54 00000000 */ nop -/* BF58 80030B58 C6C00000 */ lwc1 $f0, ($s6) -/* BF5C 80030B5C 3C013F80 */ lui $at, 0x3f80 -/* BF60 80030B60 44812000 */ mtc1 $at, $f4 -/* BF64 80030B64 00000000 */ nop -/* BF68 80030B68 46040032 */ c.eq.s $f0, $f4 -/* BF6C 80030B6C 00000000 */ nop -/* BF70 80030B70 450101CA */ bc1t .L8003129C -/* BF74 80030B74 00000000 */ nop -/* BF78 80030B78 8E840000 */ lw $a0, ($s4) -/* BF7C 80030B7C 24820002 */ addiu $v0, $a0, 2 -/* BF80 80030B80 2C420003 */ sltiu $v0, $v0, 3 -/* BF84 80030B84 144001C5 */ bnez $v0, .L8003129C -/* BF88 80030B88 00000000 */ nop -/* BF8C 80030B8C 8C830000 */ lw $v1, ($a0) -/* BF90 80030B90 8E020000 */ lw $v0, ($s0) -/* BF94 80030B94 146201C1 */ bne $v1, $v0, .L8003129C -/* BF98 80030B98 00000000 */ nop -/* BF9C 80030B9C C4820004 */ lwc1 $f2, 4($a0) -/* BFA0 80030BA0 C6000004 */ lwc1 $f0, 4($s0) -/* BFA4 80030BA4 46001032 */ c.eq.s $f2, $f0 -/* BFA8 80030BA8 00000000 */ nop -/* BFAC 80030BAC 450001BB */ bc1f .L8003129C -/* BFB0 80030BB0 00000000 */ nop -/* BFB4 80030BB4 C4820008 */ lwc1 $f2, 8($a0) -/* BFB8 80030BB8 C6000008 */ lwc1 $f0, 8($s0) -/* BFBC 80030BBC 46001032 */ c.eq.s $f2, $f0 -/* BFC0 80030BC0 00000000 */ nop -/* BFC4 80030BC4 450001B5 */ bc1f .L8003129C -/* BFC8 80030BC8 00000000 */ nop -/* BFCC 80030BCC C4820024 */ lwc1 $f2, 0x24($a0) -/* BFD0 80030BD0 C6000024 */ lwc1 $f0, 0x24($s0) -/* BFD4 80030BD4 46001032 */ c.eq.s $f2, $f0 -/* BFD8 80030BD8 00000000 */ nop -/* BFDC 80030BDC 450001AF */ bc1f .L8003129C -/* BFE0 80030BE0 00000000 */ nop -/* BFE4 80030BE4 8C830028 */ lw $v1, 0x28($a0) -/* BFE8 80030BE8 8E020028 */ lw $v0, 0x28($s0) -/* BFEC 80030BEC 546201AB */ bnel $v1, $v0, .L8003129C -/* BFF0 80030BF0 E6C40000 */ swc1 $f4, ($s6) -/* BFF4 80030BF4 0800C4A7 */ j .L8003129C -/* BFF8 80030BF8 00000000 */ nop -glabel L80030BFC_BFFC -/* BFFC 80030BFC C6040004 */ lwc1 $f4, 4($s0) -/* C000 80030C00 44800000 */ mtc1 $zero, $f0 -/* C004 80030C04 00000000 */ nop -/* C008 80030C08 4600203C */ c.lt.s $f4, $f0 -/* C00C 80030C0C 00000000 */ nop -/* C010 80030C10 45000008 */ bc1f .L80030C34 -/* C014 80030C14 00000000 */ nop -/* C018 80030C18 C600000C */ lwc1 $f0, 0xc($s0) -/* C01C 80030C1C 4600C581 */ sub.s $f22, $f24, $f0 -/* C020 80030C20 C6020014 */ lwc1 $f2, 0x14($s0) -/* C024 80030C24 46002007 */ neg.s $f0, $f4 -/* C028 80030C28 E6200004 */ swc1 $f0, 4($s1) -/* C02C 80030C2C 0800C312 */ j .L80030C48 -/* C030 80030C30 4602D501 */ sub.s $f20, $f26, $f2 -.L80030C34: -/* C034 80030C34 C600000C */ lwc1 $f0, 0xc($s0) -/* C038 80030C38 46180581 */ sub.s $f22, $f0, $f24 -/* C03C 80030C3C C6000014 */ lwc1 $f0, 0x14($s0) -/* C040 80030C40 E6240004 */ swc1 $f4, 4($s1) -/* C044 80030C44 461A0501 */ sub.s $f20, $f0, $f26 -.L80030C48: -/* C048 80030C48 4406B000 */ mfc1 $a2, $f22 -/* C04C 80030C4C 44806000 */ mtc1 $zero, $f12 -/* C050 80030C50 4407A000 */ mfc1 $a3, $f20 -/* C054 80030C54 0C00A720 */ jal atan2 -/* C058 80030C58 46006386 */ mov.s $f14, $f12 -/* C05C 80030C5C E6200000 */ swc1 $f0, ($s1) -/* C060 80030C60 C6000008 */ lwc1 $f0, 8($s0) -/* C064 80030C64 E6200008 */ swc1 $f0, 8($s1) -/* C068 80030C68 C6000024 */ lwc1 $f0, 0x24($s0) -/* C06C 80030C6C E620000C */ swc1 $f0, 0xc($s1) -/* C070 80030C70 8E020028 */ lw $v0, 0x28($s0) -/* C074 80030C74 5040003E */ beql $v0, $zero, .L80030D70 -/* C078 80030C78 E6380010 */ swc1 $f24, 0x10($s1) -/* C07C 80030C7C C600000C */ lwc1 $f0, 0xc($s0) -/* C080 80030C80 4600C581 */ sub.s $f22, $f24, $f0 -/* C084 80030C84 4616B082 */ mul.s $f2, $f22, $f22 -/* C088 80030C88 00000000 */ nop -/* C08C 80030C8C C6000014 */ lwc1 $f0, 0x14($s0) -/* C090 80030C90 4600D501 */ sub.s $f20, $f26, $f0 -/* C094 80030C94 4614A002 */ mul.s $f0, $f20, $f20 -/* C098 80030C98 00000000 */ nop -/* C09C 80030C9C 46001600 */ add.s $f24, $f2, $f0 -/* C0A0 80030CA0 4480E000 */ mtc1 $zero, $f28 -/* C0A4 80030CA4 00000000 */ nop -/* C0A8 80030CA8 461CC032 */ c.eq.s $f24, $f28 -/* C0AC 80030CAC 00000000 */ nop -/* C0B0 80030CB0 45010031 */ bc1t .L80030D78 -/* C0B4 80030CB4 00000000 */ nop -/* C0B8 80030CB8 4600C184 */ sqrt.s $f6, $f24 -/* C0BC 80030CBC 46063032 */ c.eq.s $f6, $f6 -/* C0C0 80030CC0 00000000 */ nop -/* C0C4 80030CC4 45010004 */ bc1t .L80030CD8 -/* C0C8 80030CC8 00000000 */ nop -/* C0CC 80030CCC 0C0187BC */ jal sqrtf -/* C0D0 80030CD0 4600C306 */ mov.s $f12, $f24 -/* C0D4 80030CD4 46000186 */ mov.s $f6, $f0 -.L80030CD8: -/* C0D8 80030CD8 C6040018 */ lwc1 $f4, 0x18($s0) -/* C0DC 80030CDC C600000C */ lwc1 $f0, 0xc($s0) -/* C0E0 80030CE0 46002101 */ sub.s $f4, $f4, $f0 -/* C0E4 80030CE4 46042102 */ mul.s $f4, $f4, $f4 -/* C0E8 80030CE8 00000000 */ nop -/* C0EC 80030CEC C6020014 */ lwc1 $f2, 0x14($s0) -/* C0F0 80030CF0 C6000020 */ lwc1 $f0, 0x20($s0) -/* C0F4 80030CF4 46020001 */ sub.s $f0, $f0, $f2 -/* C0F8 80030CF8 46000002 */ mul.s $f0, $f0, $f0 -/* C0FC 80030CFC 00000000 */ nop -/* C100 80030D00 3C013F80 */ lui $at, 0x3f80 -/* C104 80030D04 44811000 */ mtc1 $at, $f2 -/* C108 80030D08 46002300 */ add.s $f12, $f4, $f0 -/* C10C 80030D0C 46061603 */ div.s $f24, $f2, $f6 -/* C110 80030D10 46006084 */ sqrt.s $f2, $f12 -/* C114 80030D14 46021032 */ c.eq.s $f2, $f2 -/* C118 80030D18 00000000 */ nop -/* C11C 80030D1C 45010004 */ bc1t .L80030D30 -/* C120 80030D20 00000000 */ nop -/* C124 80030D24 0C0187BC */ jal sqrtf -/* C128 80030D28 00000000 */ nop -/* C12C 80030D2C 46000086 */ mov.s $f2, $f0 -.L80030D30: -/* C130 80030D30 4602B002 */ mul.s $f0, $f22, $f2 -/* C134 80030D34 00000000 */ nop -/* C138 80030D38 4602A102 */ mul.s $f4, $f20, $f2 -/* C13C 80030D3C 00000000 */ nop -/* C140 80030D40 46180002 */ mul.s $f0, $f0, $f24 -/* C144 80030D44 00000000 */ nop -/* C148 80030D48 C602000C */ lwc1 $f2, 0xc($s0) -/* C14C 80030D4C 46001080 */ add.s $f2, $f2, $f0 -/* C150 80030D50 46182102 */ mul.s $f4, $f4, $f24 -/* C154 80030D54 00000000 */ nop -/* C158 80030D58 E63E0014 */ swc1 $f30, 0x14($s1) -/* C15C 80030D5C E6220010 */ swc1 $f2, 0x10($s1) -/* C160 80030D60 C6000014 */ lwc1 $f0, 0x14($s0) -/* C164 80030D64 46040000 */ add.s $f0, $f0, $f4 -/* C168 80030D68 0800C35E */ j .L80030D78 -/* C16C 80030D6C E6200018 */ swc1 $f0, 0x18($s1) -.L80030D70: -/* C170 80030D70 E63E0014 */ swc1 $f30, 0x14($s1) -/* C174 80030D74 E63A0018 */ swc1 $f26, 0x18($s1) -.L80030D78: -/* C178 80030D78 12E00191 */ beqz $s7, .L800313C0 -/* C17C 80030D7C 00000000 */ nop -/* C180 80030D80 C6C00000 */ lwc1 $f0, ($s6) -/* C184 80030D84 3C013F80 */ lui $at, 0x3f80 -/* C188 80030D88 44812000 */ mtc1 $at, $f4 -/* C18C 80030D8C 00000000 */ nop -/* C190 80030D90 46040032 */ c.eq.s $f0, $f4 -/* C194 80030D94 00000000 */ nop -/* C198 80030D98 45010140 */ bc1t .L8003129C -/* C19C 80030D9C 00000000 */ nop -/* C1A0 80030DA0 8E840000 */ lw $a0, ($s4) -/* C1A4 80030DA4 24820002 */ addiu $v0, $a0, 2 -/* C1A8 80030DA8 2C420003 */ sltiu $v0, $v0, 3 -/* C1AC 80030DAC 1440013B */ bnez $v0, .L8003129C -/* C1B0 80030DB0 00000000 */ nop -/* C1B4 80030DB4 8C830000 */ lw $v1, ($a0) -/* C1B8 80030DB8 8E020000 */ lw $v0, ($s0) -/* C1BC 80030DBC 14620137 */ bne $v1, $v0, .L8003129C -/* C1C0 80030DC0 00000000 */ nop -/* C1C4 80030DC4 C4820004 */ lwc1 $f2, 4($a0) -/* C1C8 80030DC8 C6000004 */ lwc1 $f0, 4($s0) -/* C1CC 80030DCC 46001032 */ c.eq.s $f2, $f0 -/* C1D0 80030DD0 00000000 */ nop -/* C1D4 80030DD4 45000131 */ bc1f .L8003129C -/* C1D8 80030DD8 00000000 */ nop -/* C1DC 80030DDC C4820008 */ lwc1 $f2, 8($a0) -/* C1E0 80030DE0 C6000008 */ lwc1 $f0, 8($s0) -/* C1E4 80030DE4 46001032 */ c.eq.s $f2, $f0 -/* C1E8 80030DE8 00000000 */ nop -/* C1EC 80030DEC 4500012B */ bc1f .L8003129C -/* C1F0 80030DF0 00000000 */ nop -/* C1F4 80030DF4 C4820024 */ lwc1 $f2, 0x24($a0) -/* C1F8 80030DF8 C6000024 */ lwc1 $f0, 0x24($s0) -/* C1FC 80030DFC 46001032 */ c.eq.s $f2, $f0 -/* C200 80030E00 00000000 */ nop -/* C204 80030E04 45000125 */ bc1f .L8003129C -/* C208 80030E08 00000000 */ nop -/* C20C 80030E0C 8C830028 */ lw $v1, 0x28($a0) -/* C210 80030E10 8E020028 */ lw $v0, 0x28($s0) -/* C214 80030E14 10620121 */ beq $v1, $v0, .L8003129C -/* C218 80030E18 00000000 */ nop -/* C21C 80030E1C C482000C */ lwc1 $f2, 0xc($a0) -/* C220 80030E20 C600000C */ lwc1 $f0, 0xc($s0) -/* C224 80030E24 46001032 */ c.eq.s $f2, $f0 -/* C228 80030E28 00000000 */ nop -/* C22C 80030E2C 4500011B */ bc1f .L8003129C -/* C230 80030E30 00000000 */ nop -/* C234 80030E34 C4820014 */ lwc1 $f2, 0x14($a0) -/* C238 80030E38 C6000014 */ lwc1 $f0, 0x14($s0) -/* C23C 80030E3C 46001032 */ c.eq.s $f2, $f0 -/* C240 80030E40 00000000 */ nop -/* C244 80030E44 45030115 */ bc1tl .L8003129C -/* C248 80030E48 E6C40000 */ swc1 $f4, ($s6) -/* C24C 80030E4C 0800C4A7 */ j .L8003129C -/* C250 80030E50 00000000 */ nop -glabel L80030E54_C254 -/* C254 80030E54 8E020028 */ lw $v0, 0x28($s0) -/* C258 80030E58 1440005D */ bnez $v0, .L80030FD0 -/* C25C 80030E5C 00000000 */ nop -/* C260 80030E60 C612000C */ lwc1 $f18, 0xc($s0) -/* C264 80030E64 C6100018 */ lwc1 $f16, 0x18($s0) -/* C268 80030E68 C60A0014 */ lwc1 $f10, 0x14($s0) -/* C26C 80030E6C C60C0020 */ lwc1 $f12, 0x20($s0) -/* C270 80030E70 C6040010 */ lwc1 $f4, 0x10($s0) -/* C274 80030E74 C60E001C */ lwc1 $f14, 0x1c($s0) -/* C278 80030E78 46109032 */ c.eq.s $f18, $f16 -/* C27C 80030E7C 00000000 */ nop -/* C280 80030E80 45000007 */ bc1f .L80030EA0 -/* C284 80030E84 46048201 */ sub.s $f8, $f16, $f4 -/* C288 80030E88 460C5032 */ c.eq.s $f10, $f12 -/* C28C 80030E8C 00000000 */ nop -/* C290 80030E90 45000003 */ bc1f .L80030EA0 -/* C294 80030E94 00000000 */ nop -/* C298 80030E98 46002486 */ mov.s $f18, $f4 -/* C29C 80030E9C 46007286 */ mov.s $f10, $f14 -.L80030EA0: -/* C2A0 80030EA0 44800000 */ mtc1 $zero, $f0 -/* C2A4 80030EA4 00000000 */ nop -/* C2A8 80030EA8 46004032 */ c.eq.s $f8, $f0 -/* C2AC 80030EAC 00000000 */ nop -/* C2B0 80030EB0 45020017 */ bc1fl .L80030F10 -/* C2B4 80030EB4 460C5181 */ sub.s $f6, $f10, $f12 -/* C2B8 80030EB8 46128181 */ sub.s $f6, $f16, $f18 -/* C2BC 80030EBC 46064102 */ mul.s $f4, $f8, $f6 -/* C2C0 80030EC0 00000000 */ nop -/* C2C4 80030EC4 461A6081 */ sub.s $f2, $f12, $f26 -/* C2C8 80030EC8 46081082 */ mul.s $f2, $f2, $f8 -/* C2CC 80030ECC 00000000 */ nop -/* C2D0 80030ED0 460C5281 */ sub.s $f10, $f10, $f12 -/* C2D4 80030ED4 460E6201 */ sub.s $f8, $f12, $f14 -/* C2D8 80030ED8 4610C001 */ sub.s $f0, $f24, $f16 -/* C2DC 80030EDC 46081083 */ div.s $f2, $f2, $f8 -/* C2E0 80030EE0 46020000 */ add.s $f0, $f0, $f2 -/* C2E4 80030EE4 46005082 */ mul.s $f2, $f10, $f0 -/* C2E8 80030EE8 00000000 */ nop -/* C2EC 80030EEC 46003182 */ mul.s $f6, $f6, $f0 -/* C2F0 80030EF0 00000000 */ nop -/* C2F4 80030EF4 46082103 */ div.s $f4, $f4, $f8 -/* C2F8 80030EF8 460A2101 */ sub.s $f4, $f4, $f10 -/* C2FC 80030EFC 46041083 */ div.s $f2, $f2, $f4 -/* C300 80030F00 46181200 */ add.s $f8, $f2, $f24 -/* C304 80030F04 46043183 */ div.s $f6, $f6, $f4 -/* C308 80030F08 0800C3D8 */ j .L80030F60 -/* C30C 80030F0C 461A3000 */ add.s $f0, $f6, $f26 -.L80030F10: -/* C310 80030F10 460E6081 */ sub.s $f2, $f12, $f14 -/* C314 80030F14 46023102 */ mul.s $f4, $f6, $f2 -/* C318 80030F18 00000000 */ nop -/* C31C 80030F1C 46188001 */ sub.s $f0, $f16, $f24 -/* C320 80030F20 46020002 */ mul.s $f0, $f0, $f2 -/* C324 80030F24 00000000 */ nop -/* C328 80030F28 460CD081 */ sub.s $f2, $f26, $f12 -/* C32C 80030F2C 46080003 */ div.s $f0, $f0, $f8 -/* C330 80030F30 46001080 */ add.s $f2, $f2, $f0 -/* C334 80030F34 46023182 */ mul.s $f6, $f6, $f2 -/* C338 80030F38 00000000 */ nop -/* C33C 80030F3C 46128001 */ sub.s $f0, $f16, $f18 -/* C340 80030F40 46020082 */ mul.s $f2, $f0, $f2 -/* C344 80030F44 00000000 */ nop -/* C348 80030F48 46082103 */ div.s $f4, $f4, $f8 -/* C34C 80030F4C 46002101 */ sub.s $f4, $f4, $f0 -/* C350 80030F50 46043183 */ div.s $f6, $f6, $f4 -/* C354 80030F54 46183200 */ add.s $f8, $f6, $f24 -/* C358 80030F58 46041083 */ div.s $f2, $f2, $f4 -/* C35C 80030F5C 461A1000 */ add.s $f0, $f2, $f26 -.L80030F60: -/* C360 80030F60 E6280010 */ swc1 $f8, 0x10($s1) -/* C364 80030F64 E63E0014 */ swc1 $f30, 0x14($s1) -/* C368 80030F68 12A0003E */ beqz $s5, .L80031064 -/* C36C 80030F6C E6200018 */ swc1 $f0, 0x18($s1) -/* C370 80030F70 C6020018 */ lwc1 $f2, 0x18($s0) -/* C374 80030F74 C600000C */ lwc1 $f0, 0xc($s0) -/* C378 80030F78 46001081 */ sub.s $f2, $f2, $f0 -/* C37C 80030F7C C6000014 */ lwc1 $f0, 0x14($s0) -/* C380 80030F80 44061000 */ mfc1 $a2, $f2 -/* C384 80030F84 C6020020 */ lwc1 $f2, 0x20($s0) -/* C388 80030F88 4480A000 */ mtc1 $zero, $f20 -/* C38C 80030F8C 46001081 */ sub.s $f2, $f2, $f0 -/* C390 80030F90 4600A306 */ mov.s $f12, $f20 -/* C394 80030F94 44071000 */ mfc1 $a3, $f2 -/* C398 80030F98 0C00A720 */ jal atan2 -/* C39C 80030F9C 4600A386 */ mov.s $f14, $f20 -/* C3A0 80030FA0 E6200000 */ swc1 $f0, ($s1) -/* C3A4 80030FA4 C6000004 */ lwc1 $f0, 4($s0) -/* C3A8 80030FA8 4614003C */ c.lt.s $f0, $f20 -/* C3AC 80030FAC 00000000 */ nop -/* C3B0 80030FB0 45030001 */ bc1tl .L80030FB8 -/* C3B4 80030FB4 46000007 */ neg.s $f0, $f0 -.L80030FB8: -/* C3B8 80030FB8 E6200004 */ swc1 $f0, 4($s1) -/* C3BC 80030FBC C6000008 */ lwc1 $f0, 8($s0) -/* C3C0 80030FC0 E6200008 */ swc1 $f0, 8($s1) -/* C3C4 80030FC4 C6000024 */ lwc1 $f0, 0x24($s0) -/* C3C8 80030FC8 0800C419 */ j .L80031064 -/* C3CC 80030FCC E620000C */ swc1 $f0, 0xc($s1) -.L80030FD0: -/* C3D0 80030FD0 12A0001D */ beqz $s5, .L80031048 -/* C3D4 80030FD4 00000000 */ nop -/* C3D8 80030FD8 C6020018 */ lwc1 $f2, 0x18($s0) -/* C3DC 80030FDC C600000C */ lwc1 $f0, 0xc($s0) -/* C3E0 80030FE0 46001081 */ sub.s $f2, $f2, $f0 -/* C3E4 80030FE4 C6000014 */ lwc1 $f0, 0x14($s0) -/* C3E8 80030FE8 44061000 */ mfc1 $a2, $f2 -/* C3EC 80030FEC C6020020 */ lwc1 $f2, 0x20($s0) -/* C3F0 80030FF0 4480A000 */ mtc1 $zero, $f20 -/* C3F4 80030FF4 46001081 */ sub.s $f2, $f2, $f0 -/* C3F8 80030FF8 4600A306 */ mov.s $f12, $f20 -/* C3FC 80030FFC 44071000 */ mfc1 $a3, $f2 -/* C400 80031000 0C00A720 */ jal atan2 -/* C404 80031004 4600A386 */ mov.s $f14, $f20 -/* C408 80031008 E6200000 */ swc1 $f0, ($s1) -/* C40C 8003100C C6000004 */ lwc1 $f0, 4($s0) -/* C410 80031010 4614003C */ c.lt.s $f0, $f20 -/* C414 80031014 00000000 */ nop -/* C418 80031018 45030001 */ bc1tl .L80031020 -/* C41C 8003101C 46000007 */ neg.s $f0, $f0 -.L80031020: -/* C420 80031020 E6200004 */ swc1 $f0, 4($s1) -/* C424 80031024 C6000008 */ lwc1 $f0, 8($s0) -/* C428 80031028 E6200008 */ swc1 $f0, 8($s1) -/* C42C 8003102C C6000024 */ lwc1 $f0, 0x24($s0) -/* C430 80031030 E620000C */ swc1 $f0, 0xc($s1) -/* C434 80031034 C6000018 */ lwc1 $f0, 0x18($s0) -/* C438 80031038 E6200010 */ swc1 $f0, 0x10($s1) -/* C43C 8003103C C6000020 */ lwc1 $f0, 0x20($s0) -/* C440 80031040 0800C418 */ j .L80031060 -/* C444 80031044 E6200018 */ swc1 $f0, 0x18($s1) -.L80031048: -/* C448 80031048 52E00006 */ beql $s7, $zero, .L80031064 -/* C44C 8003104C E63E0014 */ swc1 $f30, 0x14($s1) -/* C450 80031050 C6400010 */ lwc1 $f0, 0x10($s2) -/* C454 80031054 E6200010 */ swc1 $f0, 0x10($s1) -/* C458 80031058 C6400018 */ lwc1 $f0, 0x18($s2) -/* C45C 8003105C E6200018 */ swc1 $f0, 0x18($s1) -.L80031060: -/* C460 80031060 E63E0014 */ swc1 $f30, 0x14($s1) -.L80031064: -/* C464 80031064 0800C4A6 */ j .L80031298 -/* C468 80031068 2402FFFF */ addiu $v0, $zero, -1 -glabel L8003106C_C46C -/* C46C 8003106C 8E020028 */ lw $v0, 0x28($s0) -/* C470 80031070 1440003A */ bnez $v0, .L8003115C -/* C474 80031074 00000000 */ nop -/* C478 80031078 C60C0010 */ lwc1 $f12, 0x10($s0) -/* C47C 8003107C C6060018 */ lwc1 $f6, 0x18($s0) -/* C480 80031080 460C3181 */ sub.s $f6, $f6, $f12 -/* C484 80031084 46063102 */ mul.s $f4, $f6, $f6 -/* C488 80031088 00000000 */ nop -/* C48C 8003108C C60A001C */ lwc1 $f10, 0x1c($s0) -/* C490 80031090 C6080020 */ lwc1 $f8, 0x20($s0) -/* C494 80031094 460A4201 */ sub.s $f8, $f8, $f10 -/* C498 80031098 46084382 */ mul.s $f14, $f8, $f8 -/* C49C 8003109C 00000000 */ nop -/* C4A0 800310A0 460CC081 */ sub.s $f2, $f24, $f12 -/* C4A4 800310A4 46061082 */ mul.s $f2, $f2, $f6 -/* C4A8 800310A8 00000000 */ nop -/* C4AC 800310AC 460AD001 */ sub.s $f0, $f26, $f10 -/* C4B0 800310B0 46080002 */ mul.s $f0, $f0, $f8 -/* C4B4 800310B4 00000000 */ nop -/* C4B8 800310B8 460E2100 */ add.s $f4, $f4, $f14 -/* C4BC 800310BC 46001080 */ add.s $f2, $f2, $f0 -/* C4C0 800310C0 46041103 */ div.s $f4, $f2, $f4 -/* C4C4 800310C4 46062182 */ mul.s $f6, $f4, $f6 -/* C4C8 800310C8 00000000 */ nop -/* C4CC 800310CC 46082102 */ mul.s $f4, $f4, $f8 -/* C4D0 800310D0 00000000 */ nop -/* C4D4 800310D4 460C3080 */ add.s $f2, $f6, $f12 -/* C4D8 800310D8 44800000 */ mtc1 $zero, $f0 -/* C4DC 800310DC 460A2100 */ add.s $f4, $f4, $f10 -/* C4E0 800310E0 E63E0014 */ swc1 $f30, 0x14($s1) -/* C4E4 800310E4 E6220010 */ swc1 $f2, 0x10($s1) -/* C4E8 800310E8 E6240018 */ swc1 $f4, 0x18($s1) -/* C4EC 800310EC C6080004 */ lwc1 $f8, 4($s0) -/* C4F0 800310F0 4600403C */ c.lt.s $f8, $f0 -/* C4F4 800310F4 00000000 */ nop -/* C4F8 800310F8 45000008 */ bc1f .L8003111C -/* C4FC 800310FC 00000000 */ nop -/* C500 80031100 C600000C */ lwc1 $f0, 0xc($s0) -/* C504 80031104 46001581 */ sub.s $f22, $f2, $f0 -/* C508 80031108 C6020014 */ lwc1 $f2, 0x14($s0) -/* C50C 8003110C 46004007 */ neg.s $f0, $f8 -/* C510 80031110 E6200004 */ swc1 $f0, 4($s1) -/* C514 80031114 0800C44C */ j .L80031130 -/* C518 80031118 46022501 */ sub.s $f20, $f4, $f2 -.L8003111C: -/* C51C 8003111C C600000C */ lwc1 $f0, 0xc($s0) -/* C520 80031120 46020581 */ sub.s $f22, $f0, $f2 -/* C524 80031124 C6000014 */ lwc1 $f0, 0x14($s0) -/* C528 80031128 E6280004 */ swc1 $f8, 4($s1) -/* C52C 8003112C 46040501 */ sub.s $f20, $f0, $f4 -.L80031130: -/* C530 80031130 4406B000 */ mfc1 $a2, $f22 -/* C534 80031134 44806000 */ mtc1 $zero, $f12 -/* C538 80031138 4407A000 */ mfc1 $a3, $f20 -/* C53C 8003113C 0C00A720 */ jal atan2 -/* C540 80031140 46006386 */ mov.s $f14, $f12 -/* C544 80031144 E6200000 */ swc1 $f0, ($s1) -/* C548 80031148 C6000008 */ lwc1 $f0, 8($s0) -/* C54C 8003114C E6200008 */ swc1 $f0, 8($s1) -/* C550 80031150 C6000024 */ lwc1 $f0, 0x24($s0) -/* C554 80031154 0800C482 */ j .L80031208 -/* C558 80031158 E620000C */ swc1 $f0, 0xc($s1) -.L8003115C: -/* C55C 8003115C 12A00023 */ beqz $s5, .L800311EC -/* C560 80031160 00000000 */ nop -/* C564 80031164 C6060004 */ lwc1 $f6, 4($s0) -/* C568 80031168 44800000 */ mtc1 $zero, $f0 -/* C56C 8003116C 00000000 */ nop -/* C570 80031170 4600303C */ c.lt.s $f6, $f0 -/* C574 80031174 00000000 */ nop -/* C578 80031178 4500000A */ bc1f .L800311A4 -/* C57C 8003117C 00000000 */ nop -/* C580 80031180 C6020018 */ lwc1 $f2, 0x18($s0) -/* C584 80031184 C600000C */ lwc1 $f0, 0xc($s0) -/* C588 80031188 46001581 */ sub.s $f22, $f2, $f0 -/* C58C 8003118C C6040020 */ lwc1 $f4, 0x20($s0) -/* C590 80031190 C6020014 */ lwc1 $f2, 0x14($s0) -/* C594 80031194 46003007 */ neg.s $f0, $f6 -/* C598 80031198 E6200004 */ swc1 $f0, 4($s1) -/* C59C 8003119C 0800C470 */ j .L800311C0 -/* C5A0 800311A0 46022501 */ sub.s $f20, $f4, $f2 -.L800311A4: -/* C5A4 800311A4 C602000C */ lwc1 $f2, 0xc($s0) -/* C5A8 800311A8 C6000018 */ lwc1 $f0, 0x18($s0) -/* C5AC 800311AC 46001581 */ sub.s $f22, $f2, $f0 -/* C5B0 800311B0 C6020014 */ lwc1 $f2, 0x14($s0) -/* C5B4 800311B4 C6000020 */ lwc1 $f0, 0x20($s0) -/* C5B8 800311B8 E6260004 */ swc1 $f6, 4($s1) -/* C5BC 800311BC 46001501 */ sub.s $f20, $f2, $f0 -.L800311C0: -/* C5C0 800311C0 4406B000 */ mfc1 $a2, $f22 -/* C5C4 800311C4 44806000 */ mtc1 $zero, $f12 -/* C5C8 800311C8 4407A000 */ mfc1 $a3, $f20 -/* C5CC 800311CC 0C00A720 */ jal atan2 -/* C5D0 800311D0 46006386 */ mov.s $f14, $f12 -/* C5D4 800311D4 E6200000 */ swc1 $f0, ($s1) -/* C5D8 800311D8 C6000008 */ lwc1 $f0, 8($s0) -/* C5DC 800311DC E6200008 */ swc1 $f0, 8($s1) -/* C5E0 800311E0 C6000024 */ lwc1 $f0, 0x24($s0) -/* C5E4 800311E4 0800C47D */ j .L800311F4 -/* C5E8 800311E8 E620000C */ swc1 $f0, 0xc($s1) -.L800311EC: -/* C5EC 800311EC 52E00006 */ beql $s7, $zero, .L80031208 -/* C5F0 800311F0 E63E0014 */ swc1 $f30, 0x14($s1) -.L800311F4: -/* C5F4 800311F4 C6000018 */ lwc1 $f0, 0x18($s0) -/* C5F8 800311F8 E6200010 */ swc1 $f0, 0x10($s1) -/* C5FC 800311FC C6000020 */ lwc1 $f0, 0x20($s0) -/* C600 80031200 E6200018 */ swc1 $f0, 0x18($s1) -/* C604 80031204 E63E0014 */ swc1 $f30, 0x14($s1) -.L80031208: -/* C608 80031208 0800C4A6 */ j .L80031298 -/* C60C 8003120C 2402FFFF */ addiu $v0, $zero, -1 -glabel L80031210_C610 -/* C610 80031210 E6380010 */ swc1 $f24, 0x10($s1) -/* C614 80031214 E63E0014 */ swc1 $f30, 0x14($s1) -/* C618 80031218 0800C4A7 */ j .L8003129C -/* C61C 8003121C E63A0018 */ swc1 $f26, 0x18($s1) -glabel L80031220_C620 -/* C620 80031220 C6020018 */ lwc1 $f2, 0x18($s0) -/* C624 80031224 C600000C */ lwc1 $f0, 0xc($s0) -/* C628 80031228 46001081 */ sub.s $f2, $f2, $f0 -/* C62C 8003122C C6000014 */ lwc1 $f0, 0x14($s0) -/* C630 80031230 44061000 */ mfc1 $a2, $f2 -/* C634 80031234 C6020020 */ lwc1 $f2, 0x20($s0) -/* C638 80031238 4480A000 */ mtc1 $zero, $f20 -/* C63C 8003123C 46001081 */ sub.s $f2, $f2, $f0 -/* C640 80031240 4600A306 */ mov.s $f12, $f20 -/* C644 80031244 44071000 */ mfc1 $a3, $f2 -/* C648 80031248 0C00A720 */ jal atan2 -/* C64C 8003124C 4600A386 */ mov.s $f14, $f20 -/* C650 80031250 E6200000 */ swc1 $f0, ($s1) -/* C654 80031254 C6000004 */ lwc1 $f0, 4($s0) -/* C658 80031258 4614003C */ c.lt.s $f0, $f20 -/* C65C 8003125C 00000000 */ nop -/* C660 80031260 45030001 */ bc1tl .L80031268 -/* C664 80031264 46000007 */ neg.s $f0, $f0 -.L80031268: -/* C668 80031268 E6200004 */ swc1 $f0, 4($s1) -/* C66C 8003126C C6000008 */ lwc1 $f0, 8($s0) -/* C670 80031270 E6200008 */ swc1 $f0, 8($s1) -/* C674 80031274 C6000024 */ lwc1 $f0, 0x24($s0) -/* C678 80031278 E620000C */ swc1 $f0, 0xc($s1) -/* C67C 8003127C C6000018 */ lwc1 $f0, 0x18($s0) -/* C680 80031280 E6200010 */ swc1 $f0, 0x10($s1) -/* C684 80031284 C600001C */ lwc1 $f0, 0x1c($s0) -/* C688 80031288 E6200014 */ swc1 $f0, 0x14($s1) -/* C68C 8003128C C6000020 */ lwc1 $f0, 0x20($s0) -/* C690 80031290 2402FFFE */ addiu $v0, $zero, -2 -/* C694 80031294 E6200018 */ swc1 $f0, 0x18($s1) -.L80031298: -/* C698 80031298 AE820000 */ sw $v0, ($s4) -.L8003129C: -/* C69C 8003129C 12E00048 */ beqz $s7, .L800313C0 -/* C6A0 800312A0 24020005 */ addiu $v0, $zero, 5 -/* C6A4 800312A4 8E030000 */ lw $v1, ($s0) -/* C6A8 800312A8 10620007 */ beq $v1, $v0, .L800312C8 -/* C6AC 800312AC 00000000 */ nop -/* C6B0 800312B0 C6420000 */ lwc1 $f2, ($s2) -/* C6B4 800312B4 C6600000 */ lwc1 $f0, ($s3) -/* C6B8 800312B8 46001032 */ c.eq.s $f2, $f0 -/* C6BC 800312BC 00000000 */ nop -/* C6C0 800312C0 4501003F */ bc1t .L800313C0 -/* C6C4 800312C4 00000000 */ nop -.L800312C8: -/* C6C8 800312C8 C6400000 */ lwc1 $f0, ($s2) -/* C6CC 800312CC C6620000 */ lwc1 $f2, ($s3) -/* C6D0 800312D0 46020001 */ sub.s $f0, $f0, $f2 -/* C6D4 800312D4 3C014040 */ lui $at, 0x4040 -/* C6D8 800312D8 44811000 */ mtc1 $at, $f2 -/* C6DC 800312DC 46000005 */ abs.s $f0, $f0 -/* C6E0 800312E0 4602003C */ c.lt.s $f0, $f2 -/* C6E4 800312E4 00000000 */ nop -/* C6E8 800312E8 45000035 */ bc1f .L800313C0 -/* C6EC 800312EC 00000000 */ nop -/* C6F0 800312F0 C6400004 */ lwc1 $f0, 4($s2) -/* C6F4 800312F4 C6620004 */ lwc1 $f2, 4($s3) -/* C6F8 800312F8 46020001 */ sub.s $f0, $f0, $f2 -/* C6FC 800312FC 3C014120 */ lui $at, 0x4120 -/* C700 80031300 44812000 */ mtc1 $at, $f4 -/* C704 80031304 46000005 */ abs.s $f0, $f0 -/* C708 80031308 4604003C */ c.lt.s $f0, $f4 -/* C70C 8003130C 00000000 */ nop -/* C710 80031310 4500002B */ bc1f .L800313C0 -/* C714 80031314 00000000 */ nop -/* C718 80031318 C6400008 */ lwc1 $f0, 8($s2) -/* C71C 8003131C C6620008 */ lwc1 $f2, 8($s3) -/* C720 80031320 46020001 */ sub.s $f0, $f0, $f2 -/* C724 80031324 3C013F80 */ lui $at, 0x3f80 -/* C728 80031328 44813000 */ mtc1 $at, $f6 -/* C72C 8003132C 46000005 */ abs.s $f0, $f0 -/* C730 80031330 4606003C */ c.lt.s $f0, $f6 -/* C734 80031334 00000000 */ nop -/* C738 80031338 45000021 */ bc1f .L800313C0 -/* C73C 8003133C 00000000 */ nop -/* C740 80031340 C640000C */ lwc1 $f0, 0xc($s2) -/* C744 80031344 C662000C */ lwc1 $f2, 0xc($s3) -/* C748 80031348 46020001 */ sub.s $f0, $f0, $f2 -/* C74C 8003134C 46000005 */ abs.s $f0, $f0 -/* C750 80031350 4606003C */ c.lt.s $f0, $f6 -/* C754 80031354 00000000 */ nop -/* C758 80031358 45000019 */ bc1f .L800313C0 -/* C75C 8003135C 00000000 */ nop -/* C760 80031360 C6400010 */ lwc1 $f0, 0x10($s2) -/* C764 80031364 C6620010 */ lwc1 $f2, 0x10($s3) -/* C768 80031368 46020001 */ sub.s $f0, $f0, $f2 -/* C76C 8003136C 46000005 */ abs.s $f0, $f0 -/* C770 80031370 4604003C */ c.lt.s $f0, $f4 -/* C774 80031374 00000000 */ nop -/* C778 80031378 45000011 */ bc1f .L800313C0 -/* C77C 8003137C 00000000 */ nop -/* C780 80031380 C6400014 */ lwc1 $f0, 0x14($s2) -/* C784 80031384 C6620014 */ lwc1 $f2, 0x14($s3) -/* C788 80031388 46020001 */ sub.s $f0, $f0, $f2 -/* C78C 8003138C 46000005 */ abs.s $f0, $f0 -/* C790 80031390 4604003C */ c.lt.s $f0, $f4 -/* C794 80031394 00000000 */ nop -/* C798 80031398 45000009 */ bc1f .L800313C0 -/* C79C 8003139C 00000000 */ nop -/* C7A0 800313A0 C6400018 */ lwc1 $f0, 0x18($s2) -/* C7A4 800313A4 C6620018 */ lwc1 $f2, 0x18($s3) -/* C7A8 800313A8 46020001 */ sub.s $f0, $f0, $f2 -/* C7AC 800313AC 46000005 */ abs.s $f0, $f0 -/* C7B0 800313B0 4604003C */ c.lt.s $f0, $f4 -/* C7B4 800313B4 00000000 */ nop -/* C7B8 800313B8 45030001 */ bc1tl .L800313C0 -/* C7BC 800313BC E6C60000 */ swc1 $f6, ($s6) -.L800313C0: -/* C7C0 800313C0 8E830000 */ lw $v1, ($s4) -/* C7C4 800313C4 2402FFFF */ addiu $v0, $zero, -1 -/* C7C8 800313C8 14620021 */ bne $v1, $v0, .L80031450 -/* C7CC 800313CC 00000000 */ nop -/* C7D0 800313D0 12E00010 */ beqz $s7, .L80031414 -/* C7D4 800313D4 00000000 */ nop -/* C7D8 800313D8 C6460010 */ lwc1 $f6, 0x10($s2) -/* C7DC 800313DC C6600010 */ lwc1 $f0, 0x10($s3) -/* C7E0 800313E0 C6440014 */ lwc1 $f4, 0x14($s2) -/* C7E4 800313E4 46003181 */ sub.s $f6, $f6, $f0 -/* C7E8 800313E8 C6600014 */ lwc1 $f0, 0x14($s3) -/* C7EC 800313EC C6420018 */ lwc1 $f2, 0x18($s2) -/* C7F0 800313F0 46002101 */ sub.s $f4, $f4, $f0 -/* C7F4 800313F4 C6600018 */ lwc1 $f0, 0x18($s3) -/* C7F8 800313F8 46001081 */ sub.s $f2, $f2, $f0 -/* C7FC 800313FC 3C01800A */ lui $at, %hi(D_800A08E4) -/* C800 80031400 E42608E4 */ swc1 $f6, %lo(D_800A08E4)($at) -/* C804 80031404 3C01800A */ lui $at, %hi(D_800A08E8) -/* C808 80031408 E42408E8 */ swc1 $f4, %lo(D_800A08E8)($at) -/* C80C 8003140C 3C01800A */ lui $at, %hi(D_800A08EC) -/* C810 80031410 E42208EC */ swc1 $f2, %lo(D_800A08EC)($at) -.L80031414: -/* C814 80031414 C6600010 */ lwc1 $f0, 0x10($s3) -/* C818 80031418 3C01800A */ lui $at, %hi(D_800A08E4) -/* C81C 8003141C C42208E4 */ lwc1 $f2, %lo(D_800A08E4)($at) -/* C820 80031420 46020000 */ add.s $f0, $f0, $f2 -/* C824 80031424 3C01800A */ lui $at, %hi(D_800A08E8) -/* C828 80031428 C42208E8 */ lwc1 $f2, %lo(D_800A08E8)($at) -/* C82C 8003142C E6400010 */ swc1 $f0, 0x10($s2) -/* C830 80031430 C6600014 */ lwc1 $f0, 0x14($s3) -/* C834 80031434 46020000 */ add.s $f0, $f0, $f2 -/* C838 80031438 3C01800A */ lui $at, %hi(D_800A08EC) -/* C83C 8003143C C42208EC */ lwc1 $f2, %lo(D_800A08EC)($at) -/* C840 80031440 E6400014 */ swc1 $f0, 0x14($s2) -/* C844 80031444 C6600018 */ lwc1 $f0, 0x18($s3) -/* C848 80031448 46020000 */ add.s $f0, $f0, $f2 -/* C84C 8003144C E6400018 */ swc1 $f0, 0x18($s2) -.L80031450: -/* C850 80031450 8FBF0048 */ lw $ra, 0x48($sp) -/* C854 80031454 8FB70044 */ lw $s7, 0x44($sp) -/* C858 80031458 8FB60040 */ lw $s6, 0x40($sp) -/* C85C 8003145C 8FB5003C */ lw $s5, 0x3c($sp) -/* C860 80031460 8FB40038 */ lw $s4, 0x38($sp) -/* C864 80031464 8FB30034 */ lw $s3, 0x34($sp) -/* C868 80031468 8FB20030 */ lw $s2, 0x30($sp) -/* C86C 8003146C 8FB1002C */ lw $s1, 0x2c($sp) -/* C870 80031470 8FB00028 */ lw $s0, 0x28($sp) -/* C874 80031474 D7BE0078 */ ldc1 $f30, 0x78($sp) -/* C878 80031478 D7BC0070 */ ldc1 $f28, 0x70($sp) -/* C87C 8003147C D7BA0068 */ ldc1 $f26, 0x68($sp) -/* C880 80031480 D7B80060 */ ldc1 $f24, 0x60($sp) -/* C884 80031484 D7B60058 */ ldc1 $f22, 0x58($sp) -/* C888 80031488 D7B40050 */ ldc1 $f20, 0x50($sp) -/* C88C 8003148C 03E00008 */ jr $ra -/* C890 80031490 27BD0080 */ addiu $sp, $sp, 0x80 diff --git a/ver/us/asm/nonmatchings/controller/osContGetInitData.s b/ver/us/asm/nonmatchings/controller/osContGetInitData.s deleted file mode 100644 index 623223202c..0000000000 --- a/ver/us/asm/nonmatchings/controller/osContGetInitData.s +++ /dev/null @@ -1,52 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel osContGetInitData -/* 3D11C 80061D1C 27BDFFF0 */ addiu $sp, $sp, -0x10 -/* 3D120 80061D20 00805821 */ addu $t3, $a0, $zero -/* 3D124 80061D24 00A04821 */ addu $t1, $a1, $zero -/* 3D128 80061D28 00005021 */ addu $t2, $zero, $zero -/* 3D12C 80061D2C 3C02800A */ lui $v0, %hi(D_8009A606) -/* 3D130 80061D30 9042A606 */ lbu $v0, %lo(D_8009A606)($v0) -/* 3D134 80061D34 3C08800B */ lui $t0, %hi(D_800B0ED0) -/* 3D138 80061D38 25080ED0 */ addiu $t0, $t0, %lo(D_800B0ED0) -/* 3D13C 80061D3C 18400021 */ blez $v0, .L80061DC4 -/* 3D140 80061D40 00003821 */ addu $a3, $zero, $zero -/* 3D144 80061D44 240C0001 */ addiu $t4, $zero, 1 -/* 3D148 80061D48 24A60002 */ addiu $a2, $a1, 2 -.L80061D4C: -/* 3D14C 80061D4C 89020000 */ lwl $v0, ($t0) -/* 3D150 80061D50 99020003 */ lwr $v0, 3($t0) -/* 3D154 80061D54 89030004 */ lwl $v1, 4($t0) -/* 3D158 80061D58 99030007 */ lwr $v1, 7($t0) -/* 3D15C 80061D5C ABA20000 */ swl $v0, ($sp) -/* 3D160 80061D60 BBA20003 */ swr $v0, 3($sp) -/* 3D164 80061D64 ABA30004 */ swl $v1, 4($sp) -/* 3D168 80061D68 BBA30007 */ swr $v1, 7($sp) -/* 3D16C 80061D6C 93A20002 */ lbu $v0, 2($sp) -/* 3D170 80061D70 304200C0 */ andi $v0, $v0, 0xc0 -/* 3D174 80061D74 00021102 */ srl $v0, $v0, 4 -/* 3D178 80061D78 1440000A */ bnez $v0, .L80061DA4 -/* 3D17C 80061D7C A0C20001 */ sb $v0, 1($a2) -/* 3D180 80061D80 93A20005 */ lbu $v0, 5($sp) -/* 3D184 80061D84 93A30004 */ lbu $v1, 4($sp) -/* 3D188 80061D88 00021200 */ sll $v0, $v0, 8 -/* 3D18C 80061D8C 00621825 */ or $v1, $v1, $v0 -/* 3D190 80061D90 A5230000 */ sh $v1, ($t1) -/* 3D194 80061D94 93A30006 */ lbu $v1, 6($sp) -/* 3D198 80061D98 00EC1004 */ sllv $v0, $t4, $a3 -/* 3D19C 80061D9C 01425025 */ or $t2, $t2, $v0 -/* 3D1A0 80061DA0 A0C30000 */ sb $v1, ($a2) -.L80061DA4: -/* 3D1A4 80061DA4 24E70001 */ addiu $a3, $a3, 1 -/* 3D1A8 80061DA8 25080008 */ addiu $t0, $t0, 8 -/* 3D1AC 80061DAC 3C02800A */ lui $v0, %hi(D_8009A606) -/* 3D1B0 80061DB0 9042A606 */ lbu $v0, %lo(D_8009A606)($v0) -/* 3D1B4 80061DB4 24C60004 */ addiu $a2, $a2, 4 -/* 3D1B8 80061DB8 00E2102A */ slt $v0, $a3, $v0 -/* 3D1BC 80061DBC 1440FFE3 */ bnez $v0, .L80061D4C -/* 3D1C0 80061DC0 25290004 */ addiu $t1, $t1, 4 -.L80061DC4: -/* 3D1C4 80061DC4 A16A0000 */ sb $t2, ($t3) -/* 3D1C8 80061DC8 03E00008 */ jr $ra -/* 3D1CC 80061DCC 27BD0010 */ addiu $sp, $sp, 0x10 diff --git a/ver/us/asm/nonmatchings/controller/osContInit.s b/ver/us/asm/nonmatchings/controller/osContInit.s deleted file mode 100644 index ae612de60e..0000000000 --- a/ver/us/asm/nonmatchings/controller/osContInit.s +++ /dev/null @@ -1,111 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel osContInit -/* 3CF80 80061B80 3C028009 */ lui $v0, %hi(__osContinitialized) -/* 3CF84 80061B84 8C423DB0 */ lw $v0, %lo(__osContinitialized)($v0) -/* 3CF88 80061B88 27BDFF80 */ addiu $sp, $sp, -0x80 -/* 3CF8C 80061B8C AFB40070 */ sw $s4, 0x70($sp) -/* 3CF90 80061B90 0080A021 */ addu $s4, $a0, $zero -/* 3CF94 80061B94 AFB50074 */ sw $s5, 0x74($sp) -/* 3CF98 80061B98 00A0A821 */ addu $s5, $a1, $zero -/* 3CF9C 80061B9C AFB60078 */ sw $s6, 0x78($sp) -/* 3CFA0 80061BA0 00C0B021 */ addu $s6, $a2, $zero -/* 3CFA4 80061BA4 AFBF007C */ sw $ra, 0x7c($sp) -/* 3CFA8 80061BA8 AFB3006C */ sw $s3, 0x6c($sp) -/* 3CFAC 80061BAC AFB20068 */ sw $s2, 0x68($sp) -/* 3CFB0 80061BB0 AFB10064 */ sw $s1, 0x64($sp) -/* 3CFB4 80061BB4 10400003 */ beqz $v0, .L80061BC4 -/* 3CFB8 80061BB8 AFB00060 */ sw $s0, 0x60($sp) -/* 3CFBC 80061BBC 0801873D */ j .L80061CF4 -/* 3CFC0 80061BC0 00001021 */ addu $v0, $zero, $zero -.L80061BC4: -/* 3CFC4 80061BC4 24020001 */ addiu $v0, $zero, 1 -/* 3CFC8 80061BC8 3C018009 */ lui $at, %hi(__osContinitialized) -/* 3CFCC 80061BCC 0C0198A8 */ jal osGetTime -/* 3CFD0 80061BD0 AC223DB0 */ sw $v0, %lo(__osContinitialized)($at) -/* 3CFD4 80061BD4 00409021 */ addu $s2, $v0, $zero -/* 3CFD8 80061BD8 00609821 */ addu $s3, $v1, $zero -/* 3CFDC 80061BDC 56400022 */ bnel $s2, $zero, .L80061C68 -/* 3CFE0 80061BE0 24020004 */ addiu $v0, $zero, 4 -/* 3CFE4 80061BE4 16400007 */ bnez $s2, .L80061C04 -/* 3CFE8 80061BE8 27B10040 */ addiu $s1, $sp, 0x40 -/* 3CFEC 80061BEC 3C020165 */ lui $v0, 0x165 -/* 3CFF0 80061BF0 3442A0BB */ ori $v0, $v0, 0xa0bb -/* 3CFF4 80061BF4 0053102B */ sltu $v0, $v0, $s3 -/* 3CFF8 80061BF8 1440001B */ bnez $v0, .L80061C68 -/* 3CFFC 80061BFC 24020004 */ addiu $v0, $zero, 4 -/* 3D000 80061C00 27B10040 */ addiu $s1, $sp, 0x40 -.L80061C04: -/* 3D004 80061C04 02202021 */ addu $a0, $s1, $zero -/* 3D008 80061C08 27B00058 */ addiu $s0, $sp, 0x58 -/* 3D00C 80061C0C 02002821 */ addu $a1, $s0, $zero -/* 3D010 80061C10 0C019560 */ jal osCreateMesgQueue -/* 3D014 80061C14 24060001 */ addiu $a2, $zero, 1 -/* 3D018 80061C18 00004021 */ addu $t0, $zero, $zero -/* 3D01C 80061C1C 00004821 */ addu $t1, $zero, $zero -/* 3D020 80061C20 27A40020 */ addiu $a0, $sp, 0x20 -/* 3D024 80061C24 24060000 */ addiu $a2, $zero, 0 -/* 3D028 80061C28 3C070165 */ lui $a3, 0x165 -/* 3D02C 80061C2C 34E7A0BC */ ori $a3, $a3, 0xa0bc -/* 3D030 80061C30 00F3102B */ sltu $v0, $a3, $s3 -/* 3D034 80061C34 00F33823 */ subu $a3, $a3, $s3 -/* 3D038 80061C38 00D23023 */ subu $a2, $a2, $s2 -/* 3D03C 80061C3C 00C23023 */ subu $a2, $a2, $v0 -/* 3D040 80061C40 AFA80010 */ sw $t0, 0x10($sp) -/* 3D044 80061C44 AFA90014 */ sw $t1, 0x14($sp) -/* 3D048 80061C48 AFB10018 */ sw $s1, 0x18($sp) -/* 3D04C 80061C4C 0C0198D4 */ jal osSetTimer -/* 3D050 80061C50 AFB0001C */ sw $s0, 0x1c($sp) -/* 3D054 80061C54 02202021 */ addu $a0, $s1, $zero -/* 3D058 80061C58 02002821 */ addu $a1, $s0, $zero -/* 3D05C 80061C5C 0C0195BC */ jal osRecvMesg -/* 3D060 80061C60 24060001 */ addiu $a2, $zero, 1 -/* 3D064 80061C64 24020004 */ addiu $v0, $zero, 4 -.L80061C68: -/* 3D068 80061C68 3C01800A */ lui $at, %hi(D_8009A606) -/* 3D06C 80061C6C A022A606 */ sb $v0, %lo(D_8009A606)($at) -/* 3D070 80061C70 0C018774 */ jal osPackRequestData -/* 3D074 80061C74 00002021 */ addu $a0, $zero, $zero -/* 3D078 80061C78 24040001 */ addiu $a0, $zero, 1 -/* 3D07C 80061C7C 3C11800B */ lui $s1, %hi(D_800B0ED0) -/* 3D080 80061C80 26310ED0 */ addiu $s1, $s1, %lo(D_800B0ED0) -/* 3D084 80061C84 0C019730 */ jal osSiRawStartDma -/* 3D088 80061C88 02202821 */ addu $a1, $s1, $zero -/* 3D08C 80061C8C 02802021 */ addu $a0, $s4, $zero -/* 3D090 80061C90 27B00058 */ addiu $s0, $sp, 0x58 -/* 3D094 80061C94 02002821 */ addu $a1, $s0, $zero -/* 3D098 80061C98 0C0195BC */ jal osRecvMesg -/* 3D09C 80061C9C 24060001 */ addiu $a2, $zero, 1 -/* 3D0A0 80061CA0 00002021 */ addu $a0, $zero, $zero -/* 3D0A4 80061CA4 0C019730 */ jal osSiRawStartDma -/* 3D0A8 80061CA8 02202821 */ addu $a1, $s1, $zero -/* 3D0AC 80061CAC 02802021 */ addu $a0, $s4, $zero -/* 3D0B0 80061CB0 02002821 */ addu $a1, $s0, $zero -/* 3D0B4 80061CB4 24060001 */ addiu $a2, $zero, 1 -/* 3D0B8 80061CB8 0C0195BC */ jal osRecvMesg -/* 3D0BC 80061CBC 00408021 */ addu $s0, $v0, $zero -/* 3D0C0 80061CC0 02A02021 */ addu $a0, $s5, $zero -/* 3D0C4 80061CC4 0C018747 */ jal osContGetInitData -/* 3D0C8 80061CC8 02C02821 */ addu $a1, $s6, $zero -/* 3D0CC 80061CCC 3C01800A */ lui $at, %hi(D_8009A61C) -/* 3D0D0 80061CD0 0C01975C */ jal __osSiCreateAccessQueue -/* 3D0D4 80061CD4 A020A61C */ sb $zero, %lo(D_8009A61C)($at) -/* 3D0D8 80061CD8 3C04800E */ lui $a0, %hi(D_800DAAC0) -/* 3D0DC 80061CDC 2484AAC0 */ addiu $a0, $a0, %lo(D_800DAAC0) -/* 3D0E0 80061CE0 3C05800A */ lui $a1, %hi(D_8009A620) -/* 3D0E4 80061CE4 24A5A620 */ addiu $a1, $a1, %lo(D_8009A620) -/* 3D0E8 80061CE8 0C019560 */ jal osCreateMesgQueue -/* 3D0EC 80061CEC 24060001 */ addiu $a2, $zero, 1 -/* 3D0F0 80061CF0 02001021 */ addu $v0, $s0, $zero -.L80061CF4: -/* 3D0F4 80061CF4 8FBF007C */ lw $ra, 0x7c($sp) -/* 3D0F8 80061CF8 8FB60078 */ lw $s6, 0x78($sp) -/* 3D0FC 80061CFC 8FB50074 */ lw $s5, 0x74($sp) -/* 3D100 80061D00 8FB40070 */ lw $s4, 0x70($sp) -/* 3D104 80061D04 8FB3006C */ lw $s3, 0x6c($sp) -/* 3D108 80061D08 8FB20068 */ lw $s2, 0x68($sp) -/* 3D10C 80061D0C 8FB10064 */ lw $s1, 0x64($sp) -/* 3D110 80061D10 8FB00060 */ lw $s0, 0x60($sp) -/* 3D114 80061D14 03E00008 */ jr $ra -/* 3D118 80061D18 27BD0080 */ addiu $sp, $sp, 0x80 diff --git a/ver/us/asm/nonmatchings/controller/osPackRequestData.s b/ver/us/asm/nonmatchings/controller/osPackRequestData.s deleted file mode 100644 index 02aedcb746..0000000000 --- a/ver/us/asm/nonmatchings/controller/osPackRequestData.s +++ /dev/null @@ -1,55 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel osPackRequestData -/* 3D1D0 80061DD0 27BDFFF0 */ addiu $sp, $sp, -0x10 -/* 3D1D4 80061DD4 00802821 */ addu $a1, $a0, $zero -/* 3D1D8 80061DD8 2406000E */ addiu $a2, $zero, 0xe -/* 3D1DC 80061DDC 3C02800B */ lui $v0, %hi(D_800B0F08) -/* 3D1E0 80061DE0 24420F08 */ addiu $v0, $v0, %lo(D_800B0F08) -.L80061DE4: -/* 3D1E4 80061DE4 AC400000 */ sw $zero, ($v0) -/* 3D1E8 80061DE8 24C6FFFF */ addiu $a2, $a2, -1 -/* 3D1EC 80061DEC 04C1FFFD */ bgez $a2, .L80061DE4 -/* 3D1F0 80061DF0 2442FFFC */ addiu $v0, $v0, -4 -/* 3D1F4 80061DF4 3C03800B */ lui $v1, %hi(D_800B0F0C) -/* 3D1F8 80061DF8 24630F0C */ addiu $v1, $v1, %lo(D_800B0F0C) -/* 3D1FC 80061DFC 2467FFC4 */ addiu $a3, $v1, -0x3c -/* 3D200 80061E00 3C04800A */ lui $a0, %hi(D_8009A606) -/* 3D204 80061E04 9084A606 */ lbu $a0, %lo(D_8009A606)($a0) -/* 3D208 80061E08 00003021 */ addu $a2, $zero, $zero -/* 3D20C 80061E0C 24020001 */ addiu $v0, $zero, 1 -/* 3D210 80061E10 AC620000 */ sw $v0, ($v1) -/* 3D214 80061E14 240300FF */ addiu $v1, $zero, 0xff -/* 3D218 80061E18 24020001 */ addiu $v0, $zero, 1 -/* 3D21C 80061E1C A3A20001 */ sb $v0, 1($sp) -/* 3D220 80061E20 24020003 */ addiu $v0, $zero, 3 -/* 3D224 80061E24 A3A30000 */ sb $v1, ($sp) -/* 3D228 80061E28 A3A20002 */ sb $v0, 2($sp) -/* 3D22C 80061E2C A3A50003 */ sb $a1, 3($sp) -/* 3D230 80061E30 A3A30004 */ sb $v1, 4($sp) -/* 3D234 80061E34 A3A30005 */ sb $v1, 5($sp) -/* 3D238 80061E38 A3A30006 */ sb $v1, 6($sp) -/* 3D23C 80061E3C 1880000F */ blez $a0, .L80061E7C -/* 3D240 80061E40 A3A30007 */ sb $v1, 7($sp) -.L80061E44: -/* 3D244 80061E44 8BA20000 */ lwl $v0, ($sp) -/* 3D248 80061E48 9BA20003 */ lwr $v0, 3($sp) -/* 3D24C 80061E4C 8BA30004 */ lwl $v1, 4($sp) -/* 3D250 80061E50 9BA30007 */ lwr $v1, 7($sp) -/* 3D254 80061E54 A8E20000 */ swl $v0, ($a3) -/* 3D258 80061E58 B8E20003 */ swr $v0, 3($a3) -/* 3D25C 80061E5C A8E30004 */ swl $v1, 4($a3) -/* 3D260 80061E60 B8E30007 */ swr $v1, 7($a3) -/* 3D264 80061E64 3C02800A */ lui $v0, %hi(D_8009A606) -/* 3D268 80061E68 9042A606 */ lbu $v0, %lo(D_8009A606)($v0) -/* 3D26C 80061E6C 24C60001 */ addiu $a2, $a2, 1 -/* 3D270 80061E70 00C2102A */ slt $v0, $a2, $v0 -/* 3D274 80061E74 1440FFF3 */ bnez $v0, .L80061E44 -/* 3D278 80061E78 24E70008 */ addiu $a3, $a3, 8 -.L80061E7C: -/* 3D27C 80061E7C 240200FE */ addiu $v0, $zero, 0xfe -/* 3D280 80061E80 A0E20000 */ sb $v0, ($a3) -/* 3D284 80061E84 03E00008 */ jr $ra -/* 3D288 80061E88 27BD0010 */ addiu $sp, $sp, 0x10 -/* 3D28C 80061E8C 00000000 */ nop diff --git a/ver/us/asm/nonmatchings/os/controller/osContInit.s b/ver/us/asm/nonmatchings/os/controller/osContInit.s index 278ff22cb1..ae612de60e 100644 --- a/ver/us/asm/nonmatchings/os/controller/osContInit.s +++ b/ver/us/asm/nonmatchings/os/controller/osContInit.s @@ -2,8 +2,8 @@ .set noreorder # don't insert nops after branches glabel osContInit -/* 3CF80 80061B80 3C028009 */ lui $v0, %hi(D_80093DB0) -/* 3CF84 80061B84 8C423DB0 */ lw $v0, %lo(D_80093DB0)($v0) +/* 3CF80 80061B80 3C028009 */ lui $v0, %hi(__osContinitialized) +/* 3CF84 80061B84 8C423DB0 */ lw $v0, %lo(__osContinitialized)($v0) /* 3CF88 80061B88 27BDFF80 */ addiu $sp, $sp, -0x80 /* 3CF8C 80061B8C AFB40070 */ sw $s4, 0x70($sp) /* 3CF90 80061B90 0080A021 */ addu $s4, $a0, $zero @@ -21,9 +21,9 @@ glabel osContInit /* 3CFC0 80061BC0 00001021 */ addu $v0, $zero, $zero .L80061BC4: /* 3CFC4 80061BC4 24020001 */ addiu $v0, $zero, 1 -/* 3CFC8 80061BC8 3C018009 */ lui $at, %hi(D_80093DB0) +/* 3CFC8 80061BC8 3C018009 */ lui $at, %hi(__osContinitialized) /* 3CFCC 80061BCC 0C0198A8 */ jal osGetTime -/* 3CFD0 80061BD0 AC223DB0 */ sw $v0, %lo(D_80093DB0)($at) +/* 3CFD0 80061BD0 AC223DB0 */ sw $v0, %lo(__osContinitialized)($at) /* 3CFD4 80061BD4 00409021 */ addu $s2, $v0, $zero /* 3CFD8 80061BD8 00609821 */ addu $s3, $v1, $zero /* 3CFDC 80061BDC 56400022 */ bnel $s2, $zero, .L80061C68 diff --git a/ver/us/asm/nonmatchings/os/osEPiReadIo/osEPiReadIo.s b/ver/us/asm/nonmatchings/os/osEPiReadIo/osEPiReadIo.s deleted file mode 100644 index 623936c37f..0000000000 --- a/ver/us/asm/nonmatchings/os/osEPiReadIo/osEPiReadIo.s +++ /dev/null @@ -1,28 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel osEPiReadIo -/* 3C1C0 80060DC0 27BDFFE0 */ addiu $sp, $sp, -0x20 -/* 3C1C4 80060DC4 AFB00010 */ sw $s0, 0x10($sp) -/* 3C1C8 80060DC8 00808021 */ addu $s0, $a0, $zero -/* 3C1CC 80060DCC AFB10014 */ sw $s1, 0x14($sp) -/* 3C1D0 80060DD0 00A08821 */ addu $s1, $a1, $zero -/* 3C1D4 80060DD4 AFB20018 */ sw $s2, 0x18($sp) -/* 3C1D8 80060DD8 AFBF001C */ sw $ra, 0x1c($sp) -/* 3C1DC 80060DDC 0C018529 */ jal __osPiGetAccess -/* 3C1E0 80060DE0 00C09021 */ addu $s2, $a2, $zero -/* 3C1E4 80060DE4 02002021 */ addu $a0, $s0, $zero -/* 3C1E8 80060DE8 02202821 */ addu $a1, $s1, $zero -/* 3C1EC 80060DEC 0C01AD5C */ jal osEPiRawReadIo -/* 3C1F0 80060DF0 02403021 */ addu $a2, $s2, $zero -/* 3C1F4 80060DF4 0C018544 */ jal __osPiRelAccess -/* 3C1F8 80060DF8 00408021 */ addu $s0, $v0, $zero -/* 3C1FC 80060DFC 02001021 */ addu $v0, $s0, $zero -/* 3C200 80060E00 8FBF001C */ lw $ra, 0x1c($sp) -/* 3C204 80060E04 8FB20018 */ lw $s2, 0x18($sp) -/* 3C208 80060E08 8FB10014 */ lw $s1, 0x14($sp) -/* 3C20C 80060E0C 8FB00010 */ lw $s0, 0x10($sp) -/* 3C210 80060E10 03E00008 */ jr $ra -/* 3C214 80060E14 27BD0020 */ addiu $sp, $sp, 0x20 -/* 3C218 80060E18 00000000 */ nop -/* 3C21C 80060E1C 00000000 */ nop diff --git a/ver/us/asm/nonmatchings/os/osEPiWriteIo/osEPiWriteIo.s b/ver/us/asm/nonmatchings/os/osEPiWriteIo/osEPiWriteIo.s deleted file mode 100644 index aee330f3d0..0000000000 --- a/ver/us/asm/nonmatchings/os/osEPiWriteIo/osEPiWriteIo.s +++ /dev/null @@ -1,28 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel osEPiWriteIo -/* 3C160 80060D60 27BDFFE0 */ addiu $sp, $sp, -0x20 -/* 3C164 80060D64 AFB00010 */ sw $s0, 0x10($sp) -/* 3C168 80060D68 00808021 */ addu $s0, $a0, $zero -/* 3C16C 80060D6C AFB10014 */ sw $s1, 0x14($sp) -/* 3C170 80060D70 00A08821 */ addu $s1, $a1, $zero -/* 3C174 80060D74 AFB20018 */ sw $s2, 0x18($sp) -/* 3C178 80060D78 AFBF001C */ sw $ra, 0x1c($sp) -/* 3C17C 80060D7C 0C018529 */ jal __osPiGetAccess -/* 3C180 80060D80 00C09021 */ addu $s2, $a2, $zero -/* 3C184 80060D84 02002021 */ addu $a0, $s0, $zero -/* 3C188 80060D88 02202821 */ addu $a1, $s1, $zero -/* 3C18C 80060D8C 0C01ADB8 */ jal osEPiRawWriteIo -/* 3C190 80060D90 02403021 */ addu $a2, $s2, $zero -/* 3C194 80060D94 0C018544 */ jal __osPiRelAccess -/* 3C198 80060D98 00408021 */ addu $s0, $v0, $zero -/* 3C19C 80060D9C 02001021 */ addu $v0, $s0, $zero -/* 3C1A0 80060DA0 8FBF001C */ lw $ra, 0x1c($sp) -/* 3C1A4 80060DA4 8FB20018 */ lw $s2, 0x18($sp) -/* 3C1A8 80060DA8 8FB10014 */ lw $s1, 0x14($sp) -/* 3C1AC 80060DAC 8FB00010 */ lw $s0, 0x10($sp) -/* 3C1B0 80060DB0 03E00008 */ jr $ra -/* 3C1B4 80060DB4 27BD0020 */ addiu $sp, $sp, 0x20 -/* 3C1B8 80060DB8 00000000 */ nop -/* 3C1BC 80060DBC 00000000 */ nop