UnkYawFunc

This commit is contained in:
Ethan Roseman 2020-11-22 10:46:50 -05:00
parent a2f84553ed
commit 41b7fd69a1
55 changed files with 49 additions and 2808 deletions

View File

@ -1,103 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80242E88_95E088
/* 95E088 80242E88 27BDFFB8 */ addiu $sp, $sp, -0x48
/* 95E08C 80242E8C AFB1001C */ sw $s1, 0x1c($sp)
/* 95E090 80242E90 0080882D */ daddu $s1, $a0, $zero
/* 95E094 80242E94 AFBF0034 */ sw $ra, 0x34($sp)
/* 95E098 80242E98 AFB60030 */ sw $s6, 0x30($sp)
/* 95E09C 80242E9C AFB5002C */ sw $s5, 0x2c($sp)
/* 95E0A0 80242EA0 AFB40028 */ sw $s4, 0x28($sp)
/* 95E0A4 80242EA4 AFB30024 */ sw $s3, 0x24($sp)
/* 95E0A8 80242EA8 AFB20020 */ sw $s2, 0x20($sp)
/* 95E0AC 80242EAC AFB00018 */ sw $s0, 0x18($sp)
/* 95E0B0 80242EB0 F7B60040 */ sdc1 $f22, 0x40($sp)
/* 95E0B4 80242EB4 F7B40038 */ sdc1 $f20, 0x38($sp)
/* 95E0B8 80242EB8 8E30000C */ lw $s0, 0xc($s1)
/* 95E0BC 80242EBC 8E160000 */ lw $s6, ($s0)
/* 95E0C0 80242EC0 26100004 */ addiu $s0, $s0, 4
/* 95E0C4 80242EC4 0C0B1EAF */ jal get_variable
/* 95E0C8 80242EC8 02C0282D */ daddu $a1, $s6, $zero
/* 95E0CC 80242ECC 44820000 */ mtc1 $v0, $f0
/* 95E0D0 80242ED0 00000000 */ nop
/* 95E0D4 80242ED4 46800020 */ cvt.s.w $f0, $f0
/* 95E0D8 80242ED8 E7A00010 */ swc1 $f0, 0x10($sp)
/* 95E0DC 80242EDC 8E140000 */ lw $s4, ($s0)
/* 95E0E0 80242EE0 26100004 */ addiu $s0, $s0, 4
/* 95E0E4 80242EE4 0220202D */ daddu $a0, $s1, $zero
/* 95E0E8 80242EE8 0C0B1EAF */ jal get_variable
/* 95E0EC 80242EEC 0280282D */ daddu $a1, $s4, $zero
/* 95E0F0 80242EF0 0220202D */ daddu $a0, $s1, $zero
/* 95E0F4 80242EF4 8E150000 */ lw $s5, ($s0)
/* 95E0F8 80242EF8 4482B000 */ mtc1 $v0, $f22
/* 95E0FC 80242EFC 00000000 */ nop
/* 95E100 80242F00 4680B5A0 */ cvt.s.w $f22, $f22
/* 95E104 80242F04 0C0B1EAF */ jal get_variable
/* 95E108 80242F08 02A0282D */ daddu $a1, $s5, $zero
/* 95E10C 80242F0C 2404FFFC */ addiu $a0, $zero, -4
/* 95E110 80242F10 44820000 */ mtc1 $v0, $f0
/* 95E114 80242F14 00000000 */ nop
/* 95E118 80242F18 46800020 */ cvt.s.w $f0, $f0
/* 95E11C 80242F1C 0C00EABB */ jal get_npc_unsafe
/* 95E120 80242F20 E7A00014 */ swc1 $f0, 0x14($sp)
/* 95E124 80242F24 3C048007 */ lui $a0, %hi(gCurrentCameraID)
/* 95E128 80242F28 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
/* 95E12C 80242F2C 3C014334 */ lui $at, 0x4334
/* 95E130 80242F30 44816000 */ mtc1 $at, $f12
/* 95E134 80242F34 00041880 */ sll $v1, $a0, 2
/* 95E138 80242F38 00641821 */ addu $v1, $v1, $a0
/* 95E13C 80242F3C 00031880 */ sll $v1, $v1, 2
/* 95E140 80242F40 00641823 */ subu $v1, $v1, $a0
/* 95E144 80242F44 000320C0 */ sll $a0, $v1, 3
/* 95E148 80242F48 00641821 */ addu $v1, $v1, $a0
/* 95E14C 80242F4C 000318C0 */ sll $v1, $v1, 3
/* 95E150 80242F50 3C01800B */ lui $at, 0x800b
/* 95E154 80242F54 00230821 */ addu $at, $at, $v1
/* 95E158 80242F58 C4201DEC */ lwc1 $f0, 0x1dec($at)
/* 95E15C 80242F5C 460C0300 */ add.s $f12, $f0, $f12
/* 95E160 80242F60 0C00A6C9 */ jal clamp_angle
/* 95E164 80242F64 0040982D */ daddu $s3, $v0, $zero
/* 95E168 80242F68 27B00010 */ addiu $s0, $sp, 0x10
/* 95E16C 80242F6C 0200202D */ daddu $a0, $s0, $zero
/* 95E170 80242F70 27B20014 */ addiu $s2, $sp, 0x14
/* 95E174 80242F74 0240282D */ daddu $a1, $s2, $zero
/* 95E178 80242F78 3C064170 */ lui $a2, 0x4170
/* 95E17C 80242F7C 8E67000C */ lw $a3, 0xc($s3)
/* 95E180 80242F80 0C00A7E7 */ jal add_vec2D_polar
/* 95E184 80242F84 46000506 */ mov.s $f20, $f0
/* 95E188 80242F88 0200202D */ daddu $a0, $s0, $zero
/* 95E18C 80242F8C 3C064120 */ lui $a2, 0x4120
/* 95E190 80242F90 4407A000 */ mfc1 $a3, $f20
/* 95E194 80242F94 0C00A7E7 */ jal add_vec2D_polar
/* 95E198 80242F98 0240282D */ daddu $a1, $s2, $zero
/* 95E19C 80242F9C 0220202D */ daddu $a0, $s1, $zero
/* 95E1A0 80242FA0 C7A00010 */ lwc1 $f0, 0x10($sp)
/* 95E1A4 80242FA4 4600008D */ trunc.w.s $f2, $f0
/* 95E1A8 80242FA8 44061000 */ mfc1 $a2, $f2
/* 95E1AC 80242FAC 0C0B2026 */ jal set_variable
/* 95E1B0 80242FB0 02C0282D */ daddu $a1, $s6, $zero
/* 95E1B4 80242FB4 0220202D */ daddu $a0, $s1, $zero
/* 95E1B8 80242FB8 4600B08D */ trunc.w.s $f2, $f22
/* 95E1BC 80242FBC 44061000 */ mfc1 $a2, $f2
/* 95E1C0 80242FC0 0C0B2026 */ jal set_variable
/* 95E1C4 80242FC4 0280282D */ daddu $a1, $s4, $zero
/* 95E1C8 80242FC8 0220202D */ daddu $a0, $s1, $zero
/* 95E1CC 80242FCC C7A00014 */ lwc1 $f0, 0x14($sp)
/* 95E1D0 80242FD0 4600008D */ trunc.w.s $f2, $f0
/* 95E1D4 80242FD4 44061000 */ mfc1 $a2, $f2
/* 95E1D8 80242FD8 0C0B2026 */ jal set_variable
/* 95E1DC 80242FDC 02A0282D */ daddu $a1, $s5, $zero
/* 95E1E0 80242FE0 8FBF0034 */ lw $ra, 0x34($sp)
/* 95E1E4 80242FE4 8FB60030 */ lw $s6, 0x30($sp)
/* 95E1E8 80242FE8 8FB5002C */ lw $s5, 0x2c($sp)
/* 95E1EC 80242FEC 8FB40028 */ lw $s4, 0x28($sp)
/* 95E1F0 80242FF0 8FB30024 */ lw $s3, 0x24($sp)
/* 95E1F4 80242FF4 8FB20020 */ lw $s2, 0x20($sp)
/* 95E1F8 80242FF8 8FB1001C */ lw $s1, 0x1c($sp)
/* 95E1FC 80242FFC 8FB00018 */ lw $s0, 0x18($sp)
/* 95E200 80243000 D7B60040 */ ldc1 $f22, 0x40($sp)
/* 95E204 80243004 D7B40038 */ ldc1 $f20, 0x38($sp)
/* 95E208 80243008 24020002 */ addiu $v0, $zero, 2
/* 95E20C 8024300C 03E00008 */ jr $ra
/* 95E210 80243010 27BD0048 */ addiu $sp, $sp, 0x48

View File

@ -1,103 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80243870_96CA30
/* 96CA30 80243870 27BDFFB8 */ addiu $sp, $sp, -0x48
/* 96CA34 80243874 AFB1001C */ sw $s1, 0x1c($sp)
/* 96CA38 80243878 0080882D */ daddu $s1, $a0, $zero
/* 96CA3C 8024387C AFBF0034 */ sw $ra, 0x34($sp)
/* 96CA40 80243880 AFB60030 */ sw $s6, 0x30($sp)
/* 96CA44 80243884 AFB5002C */ sw $s5, 0x2c($sp)
/* 96CA48 80243888 AFB40028 */ sw $s4, 0x28($sp)
/* 96CA4C 8024388C AFB30024 */ sw $s3, 0x24($sp)
/* 96CA50 80243890 AFB20020 */ sw $s2, 0x20($sp)
/* 96CA54 80243894 AFB00018 */ sw $s0, 0x18($sp)
/* 96CA58 80243898 F7B60040 */ sdc1 $f22, 0x40($sp)
/* 96CA5C 8024389C F7B40038 */ sdc1 $f20, 0x38($sp)
/* 96CA60 802438A0 8E30000C */ lw $s0, 0xc($s1)
/* 96CA64 802438A4 8E160000 */ lw $s6, ($s0)
/* 96CA68 802438A8 26100004 */ addiu $s0, $s0, 4
/* 96CA6C 802438AC 0C0B1EAF */ jal get_variable
/* 96CA70 802438B0 02C0282D */ daddu $a1, $s6, $zero
/* 96CA74 802438B4 44820000 */ mtc1 $v0, $f0
/* 96CA78 802438B8 00000000 */ nop
/* 96CA7C 802438BC 46800020 */ cvt.s.w $f0, $f0
/* 96CA80 802438C0 E7A00010 */ swc1 $f0, 0x10($sp)
/* 96CA84 802438C4 8E140000 */ lw $s4, ($s0)
/* 96CA88 802438C8 26100004 */ addiu $s0, $s0, 4
/* 96CA8C 802438CC 0220202D */ daddu $a0, $s1, $zero
/* 96CA90 802438D0 0C0B1EAF */ jal get_variable
/* 96CA94 802438D4 0280282D */ daddu $a1, $s4, $zero
/* 96CA98 802438D8 0220202D */ daddu $a0, $s1, $zero
/* 96CA9C 802438DC 8E150000 */ lw $s5, ($s0)
/* 96CAA0 802438E0 4482B000 */ mtc1 $v0, $f22
/* 96CAA4 802438E4 00000000 */ nop
/* 96CAA8 802438E8 4680B5A0 */ cvt.s.w $f22, $f22
/* 96CAAC 802438EC 0C0B1EAF */ jal get_variable
/* 96CAB0 802438F0 02A0282D */ daddu $a1, $s5, $zero
/* 96CAB4 802438F4 2404FFFC */ addiu $a0, $zero, -4
/* 96CAB8 802438F8 44820000 */ mtc1 $v0, $f0
/* 96CABC 802438FC 00000000 */ nop
/* 96CAC0 80243900 46800020 */ cvt.s.w $f0, $f0
/* 96CAC4 80243904 0C00EABB */ jal get_npc_unsafe
/* 96CAC8 80243908 E7A00014 */ swc1 $f0, 0x14($sp)
/* 96CACC 8024390C 3C048007 */ lui $a0, %hi(gCurrentCameraID)
/* 96CAD0 80243910 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
/* 96CAD4 80243914 3C014334 */ lui $at, 0x4334
/* 96CAD8 80243918 44816000 */ mtc1 $at, $f12
/* 96CADC 8024391C 00041880 */ sll $v1, $a0, 2
/* 96CAE0 80243920 00641821 */ addu $v1, $v1, $a0
/* 96CAE4 80243924 00031880 */ sll $v1, $v1, 2
/* 96CAE8 80243928 00641823 */ subu $v1, $v1, $a0
/* 96CAEC 8024392C 000320C0 */ sll $a0, $v1, 3
/* 96CAF0 80243930 00641821 */ addu $v1, $v1, $a0
/* 96CAF4 80243934 000318C0 */ sll $v1, $v1, 3
/* 96CAF8 80243938 3C01800B */ lui $at, 0x800b
/* 96CAFC 8024393C 00230821 */ addu $at, $at, $v1
/* 96CB00 80243940 C4201DEC */ lwc1 $f0, 0x1dec($at)
/* 96CB04 80243944 460C0300 */ add.s $f12, $f0, $f12
/* 96CB08 80243948 0C00A6C9 */ jal clamp_angle
/* 96CB0C 8024394C 0040982D */ daddu $s3, $v0, $zero
/* 96CB10 80243950 27B00010 */ addiu $s0, $sp, 0x10
/* 96CB14 80243954 0200202D */ daddu $a0, $s0, $zero
/* 96CB18 80243958 27B20014 */ addiu $s2, $sp, 0x14
/* 96CB1C 8024395C 0240282D */ daddu $a1, $s2, $zero
/* 96CB20 80243960 3C064170 */ lui $a2, 0x4170
/* 96CB24 80243964 8E67000C */ lw $a3, 0xc($s3)
/* 96CB28 80243968 0C00A7E7 */ jal add_vec2D_polar
/* 96CB2C 8024396C 46000506 */ mov.s $f20, $f0
/* 96CB30 80243970 0200202D */ daddu $a0, $s0, $zero
/* 96CB34 80243974 3C064120 */ lui $a2, 0x4120
/* 96CB38 80243978 4407A000 */ mfc1 $a3, $f20
/* 96CB3C 8024397C 0C00A7E7 */ jal add_vec2D_polar
/* 96CB40 80243980 0240282D */ daddu $a1, $s2, $zero
/* 96CB44 80243984 0220202D */ daddu $a0, $s1, $zero
/* 96CB48 80243988 C7A00010 */ lwc1 $f0, 0x10($sp)
/* 96CB4C 8024398C 4600008D */ trunc.w.s $f2, $f0
/* 96CB50 80243990 44061000 */ mfc1 $a2, $f2
/* 96CB54 80243994 0C0B2026 */ jal set_variable
/* 96CB58 80243998 02C0282D */ daddu $a1, $s6, $zero
/* 96CB5C 8024399C 0220202D */ daddu $a0, $s1, $zero
/* 96CB60 802439A0 4600B08D */ trunc.w.s $f2, $f22
/* 96CB64 802439A4 44061000 */ mfc1 $a2, $f2
/* 96CB68 802439A8 0C0B2026 */ jal set_variable
/* 96CB6C 802439AC 0280282D */ daddu $a1, $s4, $zero
/* 96CB70 802439B0 0220202D */ daddu $a0, $s1, $zero
/* 96CB74 802439B4 C7A00014 */ lwc1 $f0, 0x14($sp)
/* 96CB78 802439B8 4600008D */ trunc.w.s $f2, $f0
/* 96CB7C 802439BC 44061000 */ mfc1 $a2, $f2
/* 96CB80 802439C0 0C0B2026 */ jal set_variable
/* 96CB84 802439C4 02A0282D */ daddu $a1, $s5, $zero
/* 96CB88 802439C8 8FBF0034 */ lw $ra, 0x34($sp)
/* 96CB8C 802439CC 8FB60030 */ lw $s6, 0x30($sp)
/* 96CB90 802439D0 8FB5002C */ lw $s5, 0x2c($sp)
/* 96CB94 802439D4 8FB40028 */ lw $s4, 0x28($sp)
/* 96CB98 802439D8 8FB30024 */ lw $s3, 0x24($sp)
/* 96CB9C 802439DC 8FB20020 */ lw $s2, 0x20($sp)
/* 96CBA0 802439E0 8FB1001C */ lw $s1, 0x1c($sp)
/* 96CBA4 802439E4 8FB00018 */ lw $s0, 0x18($sp)
/* 96CBA8 802439E8 D7B60040 */ ldc1 $f22, 0x40($sp)
/* 96CBAC 802439EC D7B40038 */ ldc1 $f20, 0x38($sp)
/* 96CBB0 802439F0 24020002 */ addiu $v0, $zero, 2
/* 96CBB4 802439F4 03E00008 */ jr $ra
/* 96CBB8 802439F8 27BD0048 */ addiu $sp, $sp, 0x48

View File

@ -1,103 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8024086C_A39D4C
/* A39D4C 8024086C 27BDFFB8 */ addiu $sp, $sp, -0x48
/* A39D50 80240870 AFB1001C */ sw $s1, 0x1c($sp)
/* A39D54 80240874 0080882D */ daddu $s1, $a0, $zero
/* A39D58 80240878 AFBF0034 */ sw $ra, 0x34($sp)
/* A39D5C 8024087C AFB60030 */ sw $s6, 0x30($sp)
/* A39D60 80240880 AFB5002C */ sw $s5, 0x2c($sp)
/* A39D64 80240884 AFB40028 */ sw $s4, 0x28($sp)
/* A39D68 80240888 AFB30024 */ sw $s3, 0x24($sp)
/* A39D6C 8024088C AFB20020 */ sw $s2, 0x20($sp)
/* A39D70 80240890 AFB00018 */ sw $s0, 0x18($sp)
/* A39D74 80240894 F7B60040 */ sdc1 $f22, 0x40($sp)
/* A39D78 80240898 F7B40038 */ sdc1 $f20, 0x38($sp)
/* A39D7C 8024089C 8E30000C */ lw $s0, 0xc($s1)
/* A39D80 802408A0 8E160000 */ lw $s6, ($s0)
/* A39D84 802408A4 26100004 */ addiu $s0, $s0, 4
/* A39D88 802408A8 0C0B1EAF */ jal get_variable
/* A39D8C 802408AC 02C0282D */ daddu $a1, $s6, $zero
/* A39D90 802408B0 44820000 */ mtc1 $v0, $f0
/* A39D94 802408B4 00000000 */ nop
/* A39D98 802408B8 46800020 */ cvt.s.w $f0, $f0
/* A39D9C 802408BC E7A00010 */ swc1 $f0, 0x10($sp)
/* A39DA0 802408C0 8E140000 */ lw $s4, ($s0)
/* A39DA4 802408C4 26100004 */ addiu $s0, $s0, 4
/* A39DA8 802408C8 0220202D */ daddu $a0, $s1, $zero
/* A39DAC 802408CC 0C0B1EAF */ jal get_variable
/* A39DB0 802408D0 0280282D */ daddu $a1, $s4, $zero
/* A39DB4 802408D4 0220202D */ daddu $a0, $s1, $zero
/* A39DB8 802408D8 8E150000 */ lw $s5, ($s0)
/* A39DBC 802408DC 4482B000 */ mtc1 $v0, $f22
/* A39DC0 802408E0 00000000 */ nop
/* A39DC4 802408E4 4680B5A0 */ cvt.s.w $f22, $f22
/* A39DC8 802408E8 0C0B1EAF */ jal get_variable
/* A39DCC 802408EC 02A0282D */ daddu $a1, $s5, $zero
/* A39DD0 802408F0 2404FFFC */ addiu $a0, $zero, -4
/* A39DD4 802408F4 44820000 */ mtc1 $v0, $f0
/* A39DD8 802408F8 00000000 */ nop
/* A39DDC 802408FC 46800020 */ cvt.s.w $f0, $f0
/* A39DE0 80240900 0C00EABB */ jal get_npc_unsafe
/* A39DE4 80240904 E7A00014 */ swc1 $f0, 0x14($sp)
/* A39DE8 80240908 3C048007 */ lui $a0, %hi(gCurrentCameraID)
/* A39DEC 8024090C 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
/* A39DF0 80240910 3C014334 */ lui $at, 0x4334
/* A39DF4 80240914 44816000 */ mtc1 $at, $f12
/* A39DF8 80240918 00041880 */ sll $v1, $a0, 2
/* A39DFC 8024091C 00641821 */ addu $v1, $v1, $a0
/* A39E00 80240920 00031880 */ sll $v1, $v1, 2
/* A39E04 80240924 00641823 */ subu $v1, $v1, $a0
/* A39E08 80240928 000320C0 */ sll $a0, $v1, 3
/* A39E0C 8024092C 00641821 */ addu $v1, $v1, $a0
/* A39E10 80240930 000318C0 */ sll $v1, $v1, 3
/* A39E14 80240934 3C01800B */ lui $at, 0x800b
/* A39E18 80240938 00230821 */ addu $at, $at, $v1
/* A39E1C 8024093C C4201DEC */ lwc1 $f0, 0x1dec($at)
/* A39E20 80240940 460C0300 */ add.s $f12, $f0, $f12
/* A39E24 80240944 0C00A6C9 */ jal clamp_angle
/* A39E28 80240948 0040982D */ daddu $s3, $v0, $zero
/* A39E2C 8024094C 27B00010 */ addiu $s0, $sp, 0x10
/* A39E30 80240950 0200202D */ daddu $a0, $s0, $zero
/* A39E34 80240954 27B20014 */ addiu $s2, $sp, 0x14
/* A39E38 80240958 0240282D */ daddu $a1, $s2, $zero
/* A39E3C 8024095C 3C064170 */ lui $a2, 0x4170
/* A39E40 80240960 8E67000C */ lw $a3, 0xc($s3)
/* A39E44 80240964 0C00A7E7 */ jal add_vec2D_polar
/* A39E48 80240968 46000506 */ mov.s $f20, $f0
/* A39E4C 8024096C 0200202D */ daddu $a0, $s0, $zero
/* A39E50 80240970 3C064120 */ lui $a2, 0x4120
/* A39E54 80240974 4407A000 */ mfc1 $a3, $f20
/* A39E58 80240978 0C00A7E7 */ jal add_vec2D_polar
/* A39E5C 8024097C 0240282D */ daddu $a1, $s2, $zero
/* A39E60 80240980 0220202D */ daddu $a0, $s1, $zero
/* A39E64 80240984 C7A00010 */ lwc1 $f0, 0x10($sp)
/* A39E68 80240988 4600008D */ trunc.w.s $f2, $f0
/* A39E6C 8024098C 44061000 */ mfc1 $a2, $f2
/* A39E70 80240990 0C0B2026 */ jal set_variable
/* A39E74 80240994 02C0282D */ daddu $a1, $s6, $zero
/* A39E78 80240998 0220202D */ daddu $a0, $s1, $zero
/* A39E7C 8024099C 4600B08D */ trunc.w.s $f2, $f22
/* A39E80 802409A0 44061000 */ mfc1 $a2, $f2
/* A39E84 802409A4 0C0B2026 */ jal set_variable
/* A39E88 802409A8 0280282D */ daddu $a1, $s4, $zero
/* A39E8C 802409AC 0220202D */ daddu $a0, $s1, $zero
/* A39E90 802409B0 C7A00014 */ lwc1 $f0, 0x14($sp)
/* A39E94 802409B4 4600008D */ trunc.w.s $f2, $f0
/* A39E98 802409B8 44061000 */ mfc1 $a2, $f2
/* A39E9C 802409BC 0C0B2026 */ jal set_variable
/* A39EA0 802409C0 02A0282D */ daddu $a1, $s5, $zero
/* A39EA4 802409C4 8FBF0034 */ lw $ra, 0x34($sp)
/* A39EA8 802409C8 8FB60030 */ lw $s6, 0x30($sp)
/* A39EAC 802409CC 8FB5002C */ lw $s5, 0x2c($sp)
/* A39EB0 802409D0 8FB40028 */ lw $s4, 0x28($sp)
/* A39EB4 802409D4 8FB30024 */ lw $s3, 0x24($sp)
/* A39EB8 802409D8 8FB20020 */ lw $s2, 0x20($sp)
/* A39EBC 802409DC 8FB1001C */ lw $s1, 0x1c($sp)
/* A39EC0 802409E0 8FB00018 */ lw $s0, 0x18($sp)
/* A39EC4 802409E4 D7B60040 */ ldc1 $f22, 0x40($sp)
/* A39EC8 802409E8 D7B40038 */ ldc1 $f20, 0x38($sp)
/* A39ECC 802409EC 24020002 */ addiu $v0, $zero, 2
/* A39ED0 802409F0 03E00008 */ jr $ra
/* A39ED4 802409F4 27BD0048 */ addiu $sp, $sp, 0x48

View File

@ -1,103 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80240950_B20E90
/* B20E90 80240950 27BDFFB8 */ addiu $sp, $sp, -0x48
/* B20E94 80240954 AFB1001C */ sw $s1, 0x1c($sp)
/* B20E98 80240958 0080882D */ daddu $s1, $a0, $zero
/* B20E9C 8024095C AFBF0034 */ sw $ra, 0x34($sp)
/* B20EA0 80240960 AFB60030 */ sw $s6, 0x30($sp)
/* B20EA4 80240964 AFB5002C */ sw $s5, 0x2c($sp)
/* B20EA8 80240968 AFB40028 */ sw $s4, 0x28($sp)
/* B20EAC 8024096C AFB30024 */ sw $s3, 0x24($sp)
/* B20EB0 80240970 AFB20020 */ sw $s2, 0x20($sp)
/* B20EB4 80240974 AFB00018 */ sw $s0, 0x18($sp)
/* B20EB8 80240978 F7B60040 */ sdc1 $f22, 0x40($sp)
/* B20EBC 8024097C F7B40038 */ sdc1 $f20, 0x38($sp)
/* B20EC0 80240980 8E30000C */ lw $s0, 0xc($s1)
/* B20EC4 80240984 8E160000 */ lw $s6, ($s0)
/* B20EC8 80240988 26100004 */ addiu $s0, $s0, 4
/* B20ECC 8024098C 0C0B1EAF */ jal get_variable
/* B20ED0 80240990 02C0282D */ daddu $a1, $s6, $zero
/* B20ED4 80240994 44820000 */ mtc1 $v0, $f0
/* B20ED8 80240998 00000000 */ nop
/* B20EDC 8024099C 46800020 */ cvt.s.w $f0, $f0
/* B20EE0 802409A0 E7A00010 */ swc1 $f0, 0x10($sp)
/* B20EE4 802409A4 8E140000 */ lw $s4, ($s0)
/* B20EE8 802409A8 26100004 */ addiu $s0, $s0, 4
/* B20EEC 802409AC 0220202D */ daddu $a0, $s1, $zero
/* B20EF0 802409B0 0C0B1EAF */ jal get_variable
/* B20EF4 802409B4 0280282D */ daddu $a1, $s4, $zero
/* B20EF8 802409B8 0220202D */ daddu $a0, $s1, $zero
/* B20EFC 802409BC 8E150000 */ lw $s5, ($s0)
/* B20F00 802409C0 4482B000 */ mtc1 $v0, $f22
/* B20F04 802409C4 00000000 */ nop
/* B20F08 802409C8 4680B5A0 */ cvt.s.w $f22, $f22
/* B20F0C 802409CC 0C0B1EAF */ jal get_variable
/* B20F10 802409D0 02A0282D */ daddu $a1, $s5, $zero
/* B20F14 802409D4 2404FFFC */ addiu $a0, $zero, -4
/* B20F18 802409D8 44820000 */ mtc1 $v0, $f0
/* B20F1C 802409DC 00000000 */ nop
/* B20F20 802409E0 46800020 */ cvt.s.w $f0, $f0
/* B20F24 802409E4 0C00EABB */ jal get_npc_unsafe
/* B20F28 802409E8 E7A00014 */ swc1 $f0, 0x14($sp)
/* B20F2C 802409EC 3C048007 */ lui $a0, %hi(gCurrentCameraID)
/* B20F30 802409F0 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
/* B20F34 802409F4 3C014334 */ lui $at, 0x4334
/* B20F38 802409F8 44816000 */ mtc1 $at, $f12
/* B20F3C 802409FC 00041880 */ sll $v1, $a0, 2
/* B20F40 80240A00 00641821 */ addu $v1, $v1, $a0
/* B20F44 80240A04 00031880 */ sll $v1, $v1, 2
/* B20F48 80240A08 00641823 */ subu $v1, $v1, $a0
/* B20F4C 80240A0C 000320C0 */ sll $a0, $v1, 3
/* B20F50 80240A10 00641821 */ addu $v1, $v1, $a0
/* B20F54 80240A14 000318C0 */ sll $v1, $v1, 3
/* B20F58 80240A18 3C01800B */ lui $at, 0x800b
/* B20F5C 80240A1C 00230821 */ addu $at, $at, $v1
/* B20F60 80240A20 C4201DEC */ lwc1 $f0, 0x1dec($at)
/* B20F64 80240A24 460C0300 */ add.s $f12, $f0, $f12
/* B20F68 80240A28 0C00A6C9 */ jal clamp_angle
/* B20F6C 80240A2C 0040982D */ daddu $s3, $v0, $zero
/* B20F70 80240A30 27B00010 */ addiu $s0, $sp, 0x10
/* B20F74 80240A34 0200202D */ daddu $a0, $s0, $zero
/* B20F78 80240A38 27B20014 */ addiu $s2, $sp, 0x14
/* B20F7C 80240A3C 0240282D */ daddu $a1, $s2, $zero
/* B20F80 80240A40 3C064170 */ lui $a2, 0x4170
/* B20F84 80240A44 8E67000C */ lw $a3, 0xc($s3)
/* B20F88 80240A48 0C00A7E7 */ jal add_vec2D_polar
/* B20F8C 80240A4C 46000506 */ mov.s $f20, $f0
/* B20F90 80240A50 0200202D */ daddu $a0, $s0, $zero
/* B20F94 80240A54 3C064120 */ lui $a2, 0x4120
/* B20F98 80240A58 4407A000 */ mfc1 $a3, $f20
/* B20F9C 80240A5C 0C00A7E7 */ jal add_vec2D_polar
/* B20FA0 80240A60 0240282D */ daddu $a1, $s2, $zero
/* B20FA4 80240A64 0220202D */ daddu $a0, $s1, $zero
/* B20FA8 80240A68 C7A00010 */ lwc1 $f0, 0x10($sp)
/* B20FAC 80240A6C 4600008D */ trunc.w.s $f2, $f0
/* B20FB0 80240A70 44061000 */ mfc1 $a2, $f2
/* B20FB4 80240A74 0C0B2026 */ jal set_variable
/* B20FB8 80240A78 02C0282D */ daddu $a1, $s6, $zero
/* B20FBC 80240A7C 0220202D */ daddu $a0, $s1, $zero
/* B20FC0 80240A80 4600B08D */ trunc.w.s $f2, $f22
/* B20FC4 80240A84 44061000 */ mfc1 $a2, $f2
/* B20FC8 80240A88 0C0B2026 */ jal set_variable
/* B20FCC 80240A8C 0280282D */ daddu $a1, $s4, $zero
/* B20FD0 80240A90 0220202D */ daddu $a0, $s1, $zero
/* B20FD4 80240A94 C7A00014 */ lwc1 $f0, 0x14($sp)
/* B20FD8 80240A98 4600008D */ trunc.w.s $f2, $f0
/* B20FDC 80240A9C 44061000 */ mfc1 $a2, $f2
/* B20FE0 80240AA0 0C0B2026 */ jal set_variable
/* B20FE4 80240AA4 02A0282D */ daddu $a1, $s5, $zero
/* B20FE8 80240AA8 8FBF0034 */ lw $ra, 0x34($sp)
/* B20FEC 80240AAC 8FB60030 */ lw $s6, 0x30($sp)
/* B20FF0 80240AB0 8FB5002C */ lw $s5, 0x2c($sp)
/* B20FF4 80240AB4 8FB40028 */ lw $s4, 0x28($sp)
/* B20FF8 80240AB8 8FB30024 */ lw $s3, 0x24($sp)
/* B20FFC 80240ABC 8FB20020 */ lw $s2, 0x20($sp)
/* B21000 80240AC0 8FB1001C */ lw $s1, 0x1c($sp)
/* B21004 80240AC4 8FB00018 */ lw $s0, 0x18($sp)
/* B21008 80240AC8 D7B60040 */ ldc1 $f22, 0x40($sp)
/* B2100C 80240ACC D7B40038 */ ldc1 $f20, 0x38($sp)
/* B21010 80240AD0 24020002 */ addiu $v0, $zero, 2
/* B21014 80240AD4 03E00008 */ jr $ra
/* B21018 80240AD8 27BD0048 */ addiu $sp, $sp, 0x48

View File

@ -1,103 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80242D20_B378F0
/* B378F0 80242D20 27BDFFB8 */ addiu $sp, $sp, -0x48
/* B378F4 80242D24 AFB1001C */ sw $s1, 0x1c($sp)
/* B378F8 80242D28 0080882D */ daddu $s1, $a0, $zero
/* B378FC 80242D2C AFBF0034 */ sw $ra, 0x34($sp)
/* B37900 80242D30 AFB60030 */ sw $s6, 0x30($sp)
/* B37904 80242D34 AFB5002C */ sw $s5, 0x2c($sp)
/* B37908 80242D38 AFB40028 */ sw $s4, 0x28($sp)
/* B3790C 80242D3C AFB30024 */ sw $s3, 0x24($sp)
/* B37910 80242D40 AFB20020 */ sw $s2, 0x20($sp)
/* B37914 80242D44 AFB00018 */ sw $s0, 0x18($sp)
/* B37918 80242D48 F7B60040 */ sdc1 $f22, 0x40($sp)
/* B3791C 80242D4C F7B40038 */ sdc1 $f20, 0x38($sp)
/* B37920 80242D50 8E30000C */ lw $s0, 0xc($s1)
/* B37924 80242D54 8E160000 */ lw $s6, ($s0)
/* B37928 80242D58 26100004 */ addiu $s0, $s0, 4
/* B3792C 80242D5C 0C0B1EAF */ jal get_variable
/* B37930 80242D60 02C0282D */ daddu $a1, $s6, $zero
/* B37934 80242D64 44820000 */ mtc1 $v0, $f0
/* B37938 80242D68 00000000 */ nop
/* B3793C 80242D6C 46800020 */ cvt.s.w $f0, $f0
/* B37940 80242D70 E7A00010 */ swc1 $f0, 0x10($sp)
/* B37944 80242D74 8E140000 */ lw $s4, ($s0)
/* B37948 80242D78 26100004 */ addiu $s0, $s0, 4
/* B3794C 80242D7C 0220202D */ daddu $a0, $s1, $zero
/* B37950 80242D80 0C0B1EAF */ jal get_variable
/* B37954 80242D84 0280282D */ daddu $a1, $s4, $zero
/* B37958 80242D88 0220202D */ daddu $a0, $s1, $zero
/* B3795C 80242D8C 8E150000 */ lw $s5, ($s0)
/* B37960 80242D90 4482B000 */ mtc1 $v0, $f22
/* B37964 80242D94 00000000 */ nop
/* B37968 80242D98 4680B5A0 */ cvt.s.w $f22, $f22
/* B3796C 80242D9C 0C0B1EAF */ jal get_variable
/* B37970 80242DA0 02A0282D */ daddu $a1, $s5, $zero
/* B37974 80242DA4 2404FFFC */ addiu $a0, $zero, -4
/* B37978 80242DA8 44820000 */ mtc1 $v0, $f0
/* B3797C 80242DAC 00000000 */ nop
/* B37980 80242DB0 46800020 */ cvt.s.w $f0, $f0
/* B37984 80242DB4 0C00EABB */ jal get_npc_unsafe
/* B37988 80242DB8 E7A00014 */ swc1 $f0, 0x14($sp)
/* B3798C 80242DBC 3C048007 */ lui $a0, %hi(gCurrentCameraID)
/* B37990 80242DC0 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
/* B37994 80242DC4 3C014334 */ lui $at, 0x4334
/* B37998 80242DC8 44816000 */ mtc1 $at, $f12
/* B3799C 80242DCC 00041880 */ sll $v1, $a0, 2
/* B379A0 80242DD0 00641821 */ addu $v1, $v1, $a0
/* B379A4 80242DD4 00031880 */ sll $v1, $v1, 2
/* B379A8 80242DD8 00641823 */ subu $v1, $v1, $a0
/* B379AC 80242DDC 000320C0 */ sll $a0, $v1, 3
/* B379B0 80242DE0 00641821 */ addu $v1, $v1, $a0
/* B379B4 80242DE4 000318C0 */ sll $v1, $v1, 3
/* B379B8 80242DE8 3C01800B */ lui $at, 0x800b
/* B379BC 80242DEC 00230821 */ addu $at, $at, $v1
/* B379C0 80242DF0 C4201DEC */ lwc1 $f0, 0x1dec($at)
/* B379C4 80242DF4 460C0300 */ add.s $f12, $f0, $f12
/* B379C8 80242DF8 0C00A6C9 */ jal clamp_angle
/* B379CC 80242DFC 0040982D */ daddu $s3, $v0, $zero
/* B379D0 80242E00 27B00010 */ addiu $s0, $sp, 0x10
/* B379D4 80242E04 0200202D */ daddu $a0, $s0, $zero
/* B379D8 80242E08 27B20014 */ addiu $s2, $sp, 0x14
/* B379DC 80242E0C 0240282D */ daddu $a1, $s2, $zero
/* B379E0 80242E10 3C064170 */ lui $a2, 0x4170
/* B379E4 80242E14 8E67000C */ lw $a3, 0xc($s3)
/* B379E8 80242E18 0C00A7E7 */ jal add_vec2D_polar
/* B379EC 80242E1C 46000506 */ mov.s $f20, $f0
/* B379F0 80242E20 0200202D */ daddu $a0, $s0, $zero
/* B379F4 80242E24 3C064120 */ lui $a2, 0x4120
/* B379F8 80242E28 4407A000 */ mfc1 $a3, $f20
/* B379FC 80242E2C 0C00A7E7 */ jal add_vec2D_polar
/* B37A00 80242E30 0240282D */ daddu $a1, $s2, $zero
/* B37A04 80242E34 0220202D */ daddu $a0, $s1, $zero
/* B37A08 80242E38 C7A00010 */ lwc1 $f0, 0x10($sp)
/* B37A0C 80242E3C 4600008D */ trunc.w.s $f2, $f0
/* B37A10 80242E40 44061000 */ mfc1 $a2, $f2
/* B37A14 80242E44 0C0B2026 */ jal set_variable
/* B37A18 80242E48 02C0282D */ daddu $a1, $s6, $zero
/* B37A1C 80242E4C 0220202D */ daddu $a0, $s1, $zero
/* B37A20 80242E50 4600B08D */ trunc.w.s $f2, $f22
/* B37A24 80242E54 44061000 */ mfc1 $a2, $f2
/* B37A28 80242E58 0C0B2026 */ jal set_variable
/* B37A2C 80242E5C 0280282D */ daddu $a1, $s4, $zero
/* B37A30 80242E60 0220202D */ daddu $a0, $s1, $zero
/* B37A34 80242E64 C7A00014 */ lwc1 $f0, 0x14($sp)
/* B37A38 80242E68 4600008D */ trunc.w.s $f2, $f0
/* B37A3C 80242E6C 44061000 */ mfc1 $a2, $f2
/* B37A40 80242E70 0C0B2026 */ jal set_variable
/* B37A44 80242E74 02A0282D */ daddu $a1, $s5, $zero
/* B37A48 80242E78 8FBF0034 */ lw $ra, 0x34($sp)
/* B37A4C 80242E7C 8FB60030 */ lw $s6, 0x30($sp)
/* B37A50 80242E80 8FB5002C */ lw $s5, 0x2c($sp)
/* B37A54 80242E84 8FB40028 */ lw $s4, 0x28($sp)
/* B37A58 80242E88 8FB30024 */ lw $s3, 0x24($sp)
/* B37A5C 80242E8C 8FB20020 */ lw $s2, 0x20($sp)
/* B37A60 80242E90 8FB1001C */ lw $s1, 0x1c($sp)
/* B37A64 80242E94 8FB00018 */ lw $s0, 0x18($sp)
/* B37A68 80242E98 D7B60040 */ ldc1 $f22, 0x40($sp)
/* B37A6C 80242E9C D7B40038 */ ldc1 $f20, 0x38($sp)
/* B37A70 80242EA0 24020002 */ addiu $v0, $zero, 2
/* B37A74 80242EA4 03E00008 */ jr $ra
/* B37A78 80242EA8 27BD0048 */ addiu $sp, $sp, 0x48

View File

@ -1,103 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80242514_8B2584
/* 8B2584 80242514 27BDFFB8 */ addiu $sp, $sp, -0x48
/* 8B2588 80242518 AFB1001C */ sw $s1, 0x1c($sp)
/* 8B258C 8024251C 0080882D */ daddu $s1, $a0, $zero
/* 8B2590 80242520 AFBF0034 */ sw $ra, 0x34($sp)
/* 8B2594 80242524 AFB60030 */ sw $s6, 0x30($sp)
/* 8B2598 80242528 AFB5002C */ sw $s5, 0x2c($sp)
/* 8B259C 8024252C AFB40028 */ sw $s4, 0x28($sp)
/* 8B25A0 80242530 AFB30024 */ sw $s3, 0x24($sp)
/* 8B25A4 80242534 AFB20020 */ sw $s2, 0x20($sp)
/* 8B25A8 80242538 AFB00018 */ sw $s0, 0x18($sp)
/* 8B25AC 8024253C F7B60040 */ sdc1 $f22, 0x40($sp)
/* 8B25B0 80242540 F7B40038 */ sdc1 $f20, 0x38($sp)
/* 8B25B4 80242544 8E30000C */ lw $s0, 0xc($s1)
/* 8B25B8 80242548 8E160000 */ lw $s6, ($s0)
/* 8B25BC 8024254C 26100004 */ addiu $s0, $s0, 4
/* 8B25C0 80242550 0C0B1EAF */ jal get_variable
/* 8B25C4 80242554 02C0282D */ daddu $a1, $s6, $zero
/* 8B25C8 80242558 44820000 */ mtc1 $v0, $f0
/* 8B25CC 8024255C 00000000 */ nop
/* 8B25D0 80242560 46800020 */ cvt.s.w $f0, $f0
/* 8B25D4 80242564 E7A00010 */ swc1 $f0, 0x10($sp)
/* 8B25D8 80242568 8E140000 */ lw $s4, ($s0)
/* 8B25DC 8024256C 26100004 */ addiu $s0, $s0, 4
/* 8B25E0 80242570 0220202D */ daddu $a0, $s1, $zero
/* 8B25E4 80242574 0C0B1EAF */ jal get_variable
/* 8B25E8 80242578 0280282D */ daddu $a1, $s4, $zero
/* 8B25EC 8024257C 0220202D */ daddu $a0, $s1, $zero
/* 8B25F0 80242580 8E150000 */ lw $s5, ($s0)
/* 8B25F4 80242584 4482B000 */ mtc1 $v0, $f22
/* 8B25F8 80242588 00000000 */ nop
/* 8B25FC 8024258C 4680B5A0 */ cvt.s.w $f22, $f22
/* 8B2600 80242590 0C0B1EAF */ jal get_variable
/* 8B2604 80242594 02A0282D */ daddu $a1, $s5, $zero
/* 8B2608 80242598 2404FFFC */ addiu $a0, $zero, -4
/* 8B260C 8024259C 44820000 */ mtc1 $v0, $f0
/* 8B2610 802425A0 00000000 */ nop
/* 8B2614 802425A4 46800020 */ cvt.s.w $f0, $f0
/* 8B2618 802425A8 0C00EABB */ jal get_npc_unsafe
/* 8B261C 802425AC E7A00014 */ swc1 $f0, 0x14($sp)
/* 8B2620 802425B0 3C048007 */ lui $a0, %hi(gCurrentCameraID)
/* 8B2624 802425B4 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
/* 8B2628 802425B8 3C014334 */ lui $at, 0x4334
/* 8B262C 802425BC 44816000 */ mtc1 $at, $f12
/* 8B2630 802425C0 00041880 */ sll $v1, $a0, 2
/* 8B2634 802425C4 00641821 */ addu $v1, $v1, $a0
/* 8B2638 802425C8 00031880 */ sll $v1, $v1, 2
/* 8B263C 802425CC 00641823 */ subu $v1, $v1, $a0
/* 8B2640 802425D0 000320C0 */ sll $a0, $v1, 3
/* 8B2644 802425D4 00641821 */ addu $v1, $v1, $a0
/* 8B2648 802425D8 000318C0 */ sll $v1, $v1, 3
/* 8B264C 802425DC 3C01800B */ lui $at, 0x800b
/* 8B2650 802425E0 00230821 */ addu $at, $at, $v1
/* 8B2654 802425E4 C4201DEC */ lwc1 $f0, 0x1dec($at)
/* 8B2658 802425E8 460C0300 */ add.s $f12, $f0, $f12
/* 8B265C 802425EC 0C00A6C9 */ jal clamp_angle
/* 8B2660 802425F0 0040982D */ daddu $s3, $v0, $zero
/* 8B2664 802425F4 27B00010 */ addiu $s0, $sp, 0x10
/* 8B2668 802425F8 0200202D */ daddu $a0, $s0, $zero
/* 8B266C 802425FC 27B20014 */ addiu $s2, $sp, 0x14
/* 8B2670 80242600 0240282D */ daddu $a1, $s2, $zero
/* 8B2674 80242604 3C064170 */ lui $a2, 0x4170
/* 8B2678 80242608 8E67000C */ lw $a3, 0xc($s3)
/* 8B267C 8024260C 0C00A7E7 */ jal add_vec2D_polar
/* 8B2680 80242610 46000506 */ mov.s $f20, $f0
/* 8B2684 80242614 0200202D */ daddu $a0, $s0, $zero
/* 8B2688 80242618 3C064120 */ lui $a2, 0x4120
/* 8B268C 8024261C 4407A000 */ mfc1 $a3, $f20
/* 8B2690 80242620 0C00A7E7 */ jal add_vec2D_polar
/* 8B2694 80242624 0240282D */ daddu $a1, $s2, $zero
/* 8B2698 80242628 0220202D */ daddu $a0, $s1, $zero
/* 8B269C 8024262C C7A00010 */ lwc1 $f0, 0x10($sp)
/* 8B26A0 80242630 4600008D */ trunc.w.s $f2, $f0
/* 8B26A4 80242634 44061000 */ mfc1 $a2, $f2
/* 8B26A8 80242638 0C0B2026 */ jal set_variable
/* 8B26AC 8024263C 02C0282D */ daddu $a1, $s6, $zero
/* 8B26B0 80242640 0220202D */ daddu $a0, $s1, $zero
/* 8B26B4 80242644 4600B08D */ trunc.w.s $f2, $f22
/* 8B26B8 80242648 44061000 */ mfc1 $a2, $f2
/* 8B26BC 8024264C 0C0B2026 */ jal set_variable
/* 8B26C0 80242650 0280282D */ daddu $a1, $s4, $zero
/* 8B26C4 80242654 0220202D */ daddu $a0, $s1, $zero
/* 8B26C8 80242658 C7A00014 */ lwc1 $f0, 0x14($sp)
/* 8B26CC 8024265C 4600008D */ trunc.w.s $f2, $f0
/* 8B26D0 80242660 44061000 */ mfc1 $a2, $f2
/* 8B26D4 80242664 0C0B2026 */ jal set_variable
/* 8B26D8 80242668 02A0282D */ daddu $a1, $s5, $zero
/* 8B26DC 8024266C 8FBF0034 */ lw $ra, 0x34($sp)
/* 8B26E0 80242670 8FB60030 */ lw $s6, 0x30($sp)
/* 8B26E4 80242674 8FB5002C */ lw $s5, 0x2c($sp)
/* 8B26E8 80242678 8FB40028 */ lw $s4, 0x28($sp)
/* 8B26EC 8024267C 8FB30024 */ lw $s3, 0x24($sp)
/* 8B26F0 80242680 8FB20020 */ lw $s2, 0x20($sp)
/* 8B26F4 80242684 8FB1001C */ lw $s1, 0x1c($sp)
/* 8B26F8 80242688 8FB00018 */ lw $s0, 0x18($sp)
/* 8B26FC 8024268C D7B60040 */ ldc1 $f22, 0x40($sp)
/* 8B2700 80242690 D7B40038 */ ldc1 $f20, 0x38($sp)
/* 8B2704 80242694 24020002 */ addiu $v0, $zero, 2
/* 8B2708 80242698 03E00008 */ jr $ra
/* 8B270C 8024269C 27BD0048 */ addiu $sp, $sp, 0x48

View File

@ -1,103 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80242528_C5CC68
/* C5CC68 80242528 27BDFFB8 */ addiu $sp, $sp, -0x48
/* C5CC6C 8024252C AFB1001C */ sw $s1, 0x1c($sp)
/* C5CC70 80242530 0080882D */ daddu $s1, $a0, $zero
/* C5CC74 80242534 AFBF0034 */ sw $ra, 0x34($sp)
/* C5CC78 80242538 AFB60030 */ sw $s6, 0x30($sp)
/* C5CC7C 8024253C AFB5002C */ sw $s5, 0x2c($sp)
/* C5CC80 80242540 AFB40028 */ sw $s4, 0x28($sp)
/* C5CC84 80242544 AFB30024 */ sw $s3, 0x24($sp)
/* C5CC88 80242548 AFB20020 */ sw $s2, 0x20($sp)
/* C5CC8C 8024254C AFB00018 */ sw $s0, 0x18($sp)
/* C5CC90 80242550 F7B60040 */ sdc1 $f22, 0x40($sp)
/* C5CC94 80242554 F7B40038 */ sdc1 $f20, 0x38($sp)
/* C5CC98 80242558 8E30000C */ lw $s0, 0xc($s1)
/* C5CC9C 8024255C 8E160000 */ lw $s6, ($s0)
/* C5CCA0 80242560 26100004 */ addiu $s0, $s0, 4
/* C5CCA4 80242564 0C0B1EAF */ jal get_variable
/* C5CCA8 80242568 02C0282D */ daddu $a1, $s6, $zero
/* C5CCAC 8024256C 44820000 */ mtc1 $v0, $f0
/* C5CCB0 80242570 00000000 */ nop
/* C5CCB4 80242574 46800020 */ cvt.s.w $f0, $f0
/* C5CCB8 80242578 E7A00010 */ swc1 $f0, 0x10($sp)
/* C5CCBC 8024257C 8E140000 */ lw $s4, ($s0)
/* C5CCC0 80242580 26100004 */ addiu $s0, $s0, 4
/* C5CCC4 80242584 0220202D */ daddu $a0, $s1, $zero
/* C5CCC8 80242588 0C0B1EAF */ jal get_variable
/* C5CCCC 8024258C 0280282D */ daddu $a1, $s4, $zero
/* C5CCD0 80242590 0220202D */ daddu $a0, $s1, $zero
/* C5CCD4 80242594 8E150000 */ lw $s5, ($s0)
/* C5CCD8 80242598 4482B000 */ mtc1 $v0, $f22
/* C5CCDC 8024259C 00000000 */ nop
/* C5CCE0 802425A0 4680B5A0 */ cvt.s.w $f22, $f22
/* C5CCE4 802425A4 0C0B1EAF */ jal get_variable
/* C5CCE8 802425A8 02A0282D */ daddu $a1, $s5, $zero
/* C5CCEC 802425AC 2404FFFC */ addiu $a0, $zero, -4
/* C5CCF0 802425B0 44820000 */ mtc1 $v0, $f0
/* C5CCF4 802425B4 00000000 */ nop
/* C5CCF8 802425B8 46800020 */ cvt.s.w $f0, $f0
/* C5CCFC 802425BC 0C00EABB */ jal get_npc_unsafe
/* C5CD00 802425C0 E7A00014 */ swc1 $f0, 0x14($sp)
/* C5CD04 802425C4 3C048007 */ lui $a0, %hi(gCurrentCameraID)
/* C5CD08 802425C8 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
/* C5CD0C 802425CC 3C014334 */ lui $at, 0x4334
/* C5CD10 802425D0 44816000 */ mtc1 $at, $f12
/* C5CD14 802425D4 00041880 */ sll $v1, $a0, 2
/* C5CD18 802425D8 00641821 */ addu $v1, $v1, $a0
/* C5CD1C 802425DC 00031880 */ sll $v1, $v1, 2
/* C5CD20 802425E0 00641823 */ subu $v1, $v1, $a0
/* C5CD24 802425E4 000320C0 */ sll $a0, $v1, 3
/* C5CD28 802425E8 00641821 */ addu $v1, $v1, $a0
/* C5CD2C 802425EC 000318C0 */ sll $v1, $v1, 3
/* C5CD30 802425F0 3C01800B */ lui $at, 0x800b
/* C5CD34 802425F4 00230821 */ addu $at, $at, $v1
/* C5CD38 802425F8 C4201DEC */ lwc1 $f0, 0x1dec($at)
/* C5CD3C 802425FC 460C0300 */ add.s $f12, $f0, $f12
/* C5CD40 80242600 0C00A6C9 */ jal clamp_angle
/* C5CD44 80242604 0040982D */ daddu $s3, $v0, $zero
/* C5CD48 80242608 27B00010 */ addiu $s0, $sp, 0x10
/* C5CD4C 8024260C 0200202D */ daddu $a0, $s0, $zero
/* C5CD50 80242610 27B20014 */ addiu $s2, $sp, 0x14
/* C5CD54 80242614 0240282D */ daddu $a1, $s2, $zero
/* C5CD58 80242618 3C064170 */ lui $a2, 0x4170
/* C5CD5C 8024261C 8E67000C */ lw $a3, 0xc($s3)
/* C5CD60 80242620 0C00A7E7 */ jal add_vec2D_polar
/* C5CD64 80242624 46000506 */ mov.s $f20, $f0
/* C5CD68 80242628 0200202D */ daddu $a0, $s0, $zero
/* C5CD6C 8024262C 3C064120 */ lui $a2, 0x4120
/* C5CD70 80242630 4407A000 */ mfc1 $a3, $f20
/* C5CD74 80242634 0C00A7E7 */ jal add_vec2D_polar
/* C5CD78 80242638 0240282D */ daddu $a1, $s2, $zero
/* C5CD7C 8024263C 0220202D */ daddu $a0, $s1, $zero
/* C5CD80 80242640 C7A00010 */ lwc1 $f0, 0x10($sp)
/* C5CD84 80242644 4600008D */ trunc.w.s $f2, $f0
/* C5CD88 80242648 44061000 */ mfc1 $a2, $f2
/* C5CD8C 8024264C 0C0B2026 */ jal set_variable
/* C5CD90 80242650 02C0282D */ daddu $a1, $s6, $zero
/* C5CD94 80242654 0220202D */ daddu $a0, $s1, $zero
/* C5CD98 80242658 4600B08D */ trunc.w.s $f2, $f22
/* C5CD9C 8024265C 44061000 */ mfc1 $a2, $f2
/* C5CDA0 80242660 0C0B2026 */ jal set_variable
/* C5CDA4 80242664 0280282D */ daddu $a1, $s4, $zero
/* C5CDA8 80242668 0220202D */ daddu $a0, $s1, $zero
/* C5CDAC 8024266C C7A00014 */ lwc1 $f0, 0x14($sp)
/* C5CDB0 80242670 4600008D */ trunc.w.s $f2, $f0
/* C5CDB4 80242674 44061000 */ mfc1 $a2, $f2
/* C5CDB8 80242678 0C0B2026 */ jal set_variable
/* C5CDBC 8024267C 02A0282D */ daddu $a1, $s5, $zero
/* C5CDC0 80242680 8FBF0034 */ lw $ra, 0x34($sp)
/* C5CDC4 80242684 8FB60030 */ lw $s6, 0x30($sp)
/* C5CDC8 80242688 8FB5002C */ lw $s5, 0x2c($sp)
/* C5CDCC 8024268C 8FB40028 */ lw $s4, 0x28($sp)
/* C5CDD0 80242690 8FB30024 */ lw $s3, 0x24($sp)
/* C5CDD4 80242694 8FB20020 */ lw $s2, 0x20($sp)
/* C5CDD8 80242698 8FB1001C */ lw $s1, 0x1c($sp)
/* C5CDDC 8024269C 8FB00018 */ lw $s0, 0x18($sp)
/* C5CDE0 802426A0 D7B60040 */ ldc1 $f22, 0x40($sp)
/* C5CDE4 802426A4 D7B40038 */ ldc1 $f20, 0x38($sp)
/* C5CDE8 802426A8 24020002 */ addiu $v0, $zero, 2
/* C5CDEC 802426AC 03E00008 */ jr $ra
/* C5CDF0 802426B0 27BD0048 */ addiu $sp, $sp, 0x48

View File

@ -1,103 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80242AF8_C63808
/* C63808 80242AF8 27BDFFB8 */ addiu $sp, $sp, -0x48
/* C6380C 80242AFC AFB1001C */ sw $s1, 0x1c($sp)
/* C63810 80242B00 0080882D */ daddu $s1, $a0, $zero
/* C63814 80242B04 AFBF0034 */ sw $ra, 0x34($sp)
/* C63818 80242B08 AFB60030 */ sw $s6, 0x30($sp)
/* C6381C 80242B0C AFB5002C */ sw $s5, 0x2c($sp)
/* C63820 80242B10 AFB40028 */ sw $s4, 0x28($sp)
/* C63824 80242B14 AFB30024 */ sw $s3, 0x24($sp)
/* C63828 80242B18 AFB20020 */ sw $s2, 0x20($sp)
/* C6382C 80242B1C AFB00018 */ sw $s0, 0x18($sp)
/* C63830 80242B20 F7B60040 */ sdc1 $f22, 0x40($sp)
/* C63834 80242B24 F7B40038 */ sdc1 $f20, 0x38($sp)
/* C63838 80242B28 8E30000C */ lw $s0, 0xc($s1)
/* C6383C 80242B2C 8E160000 */ lw $s6, ($s0)
/* C63840 80242B30 26100004 */ addiu $s0, $s0, 4
/* C63844 80242B34 0C0B1EAF */ jal get_variable
/* C63848 80242B38 02C0282D */ daddu $a1, $s6, $zero
/* C6384C 80242B3C 44820000 */ mtc1 $v0, $f0
/* C63850 80242B40 00000000 */ nop
/* C63854 80242B44 46800020 */ cvt.s.w $f0, $f0
/* C63858 80242B48 E7A00010 */ swc1 $f0, 0x10($sp)
/* C6385C 80242B4C 8E140000 */ lw $s4, ($s0)
/* C63860 80242B50 26100004 */ addiu $s0, $s0, 4
/* C63864 80242B54 0220202D */ daddu $a0, $s1, $zero
/* C63868 80242B58 0C0B1EAF */ jal get_variable
/* C6386C 80242B5C 0280282D */ daddu $a1, $s4, $zero
/* C63870 80242B60 0220202D */ daddu $a0, $s1, $zero
/* C63874 80242B64 8E150000 */ lw $s5, ($s0)
/* C63878 80242B68 4482B000 */ mtc1 $v0, $f22
/* C6387C 80242B6C 00000000 */ nop
/* C63880 80242B70 4680B5A0 */ cvt.s.w $f22, $f22
/* C63884 80242B74 0C0B1EAF */ jal get_variable
/* C63888 80242B78 02A0282D */ daddu $a1, $s5, $zero
/* C6388C 80242B7C 2404FFFC */ addiu $a0, $zero, -4
/* C63890 80242B80 44820000 */ mtc1 $v0, $f0
/* C63894 80242B84 00000000 */ nop
/* C63898 80242B88 46800020 */ cvt.s.w $f0, $f0
/* C6389C 80242B8C 0C00EABB */ jal get_npc_unsafe
/* C638A0 80242B90 E7A00014 */ swc1 $f0, 0x14($sp)
/* C638A4 80242B94 3C048007 */ lui $a0, %hi(gCurrentCameraID)
/* C638A8 80242B98 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
/* C638AC 80242B9C 3C014334 */ lui $at, 0x4334
/* C638B0 80242BA0 44816000 */ mtc1 $at, $f12
/* C638B4 80242BA4 00041880 */ sll $v1, $a0, 2
/* C638B8 80242BA8 00641821 */ addu $v1, $v1, $a0
/* C638BC 80242BAC 00031880 */ sll $v1, $v1, 2
/* C638C0 80242BB0 00641823 */ subu $v1, $v1, $a0
/* C638C4 80242BB4 000320C0 */ sll $a0, $v1, 3
/* C638C8 80242BB8 00641821 */ addu $v1, $v1, $a0
/* C638CC 80242BBC 000318C0 */ sll $v1, $v1, 3
/* C638D0 80242BC0 3C01800B */ lui $at, 0x800b
/* C638D4 80242BC4 00230821 */ addu $at, $at, $v1
/* C638D8 80242BC8 C4201DEC */ lwc1 $f0, 0x1dec($at)
/* C638DC 80242BCC 460C0300 */ add.s $f12, $f0, $f12
/* C638E0 80242BD0 0C00A6C9 */ jal clamp_angle
/* C638E4 80242BD4 0040982D */ daddu $s3, $v0, $zero
/* C638E8 80242BD8 27B00010 */ addiu $s0, $sp, 0x10
/* C638EC 80242BDC 0200202D */ daddu $a0, $s0, $zero
/* C638F0 80242BE0 27B20014 */ addiu $s2, $sp, 0x14
/* C638F4 80242BE4 0240282D */ daddu $a1, $s2, $zero
/* C638F8 80242BE8 3C064170 */ lui $a2, 0x4170
/* C638FC 80242BEC 8E67000C */ lw $a3, 0xc($s3)
/* C63900 80242BF0 0C00A7E7 */ jal add_vec2D_polar
/* C63904 80242BF4 46000506 */ mov.s $f20, $f0
/* C63908 80242BF8 0200202D */ daddu $a0, $s0, $zero
/* C6390C 80242BFC 3C064120 */ lui $a2, 0x4120
/* C63910 80242C00 4407A000 */ mfc1 $a3, $f20
/* C63914 80242C04 0C00A7E7 */ jal add_vec2D_polar
/* C63918 80242C08 0240282D */ daddu $a1, $s2, $zero
/* C6391C 80242C0C 0220202D */ daddu $a0, $s1, $zero
/* C63920 80242C10 C7A00010 */ lwc1 $f0, 0x10($sp)
/* C63924 80242C14 4600008D */ trunc.w.s $f2, $f0
/* C63928 80242C18 44061000 */ mfc1 $a2, $f2
/* C6392C 80242C1C 0C0B2026 */ jal set_variable
/* C63930 80242C20 02C0282D */ daddu $a1, $s6, $zero
/* C63934 80242C24 0220202D */ daddu $a0, $s1, $zero
/* C63938 80242C28 4600B08D */ trunc.w.s $f2, $f22
/* C6393C 80242C2C 44061000 */ mfc1 $a2, $f2
/* C63940 80242C30 0C0B2026 */ jal set_variable
/* C63944 80242C34 0280282D */ daddu $a1, $s4, $zero
/* C63948 80242C38 0220202D */ daddu $a0, $s1, $zero
/* C6394C 80242C3C C7A00014 */ lwc1 $f0, 0x14($sp)
/* C63950 80242C40 4600008D */ trunc.w.s $f2, $f0
/* C63954 80242C44 44061000 */ mfc1 $a2, $f2
/* C63958 80242C48 0C0B2026 */ jal set_variable
/* C6395C 80242C4C 02A0282D */ daddu $a1, $s5, $zero
/* C63960 80242C50 8FBF0034 */ lw $ra, 0x34($sp)
/* C63964 80242C54 8FB60030 */ lw $s6, 0x30($sp)
/* C63968 80242C58 8FB5002C */ lw $s5, 0x2c($sp)
/* C6396C 80242C5C 8FB40028 */ lw $s4, 0x28($sp)
/* C63970 80242C60 8FB30024 */ lw $s3, 0x24($sp)
/* C63974 80242C64 8FB20020 */ lw $s2, 0x20($sp)
/* C63978 80242C68 8FB1001C */ lw $s1, 0x1c($sp)
/* C6397C 80242C6C 8FB00018 */ lw $s0, 0x18($sp)
/* C63980 80242C70 D7B60040 */ ldc1 $f22, 0x40($sp)
/* C63984 80242C74 D7B40038 */ ldc1 $f20, 0x38($sp)
/* C63988 80242C78 24020002 */ addiu $v0, $zero, 2
/* C6398C 80242C7C 03E00008 */ jr $ra
/* C63990 80242C80 27BD0048 */ addiu $sp, $sp, 0x48

View File

@ -1,103 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80243808_C7A4E8
/* C7A4E8 80243808 27BDFFB8 */ addiu $sp, $sp, -0x48
/* C7A4EC 8024380C AFB1001C */ sw $s1, 0x1c($sp)
/* C7A4F0 80243810 0080882D */ daddu $s1, $a0, $zero
/* C7A4F4 80243814 AFBF0034 */ sw $ra, 0x34($sp)
/* C7A4F8 80243818 AFB60030 */ sw $s6, 0x30($sp)
/* C7A4FC 8024381C AFB5002C */ sw $s5, 0x2c($sp)
/* C7A500 80243820 AFB40028 */ sw $s4, 0x28($sp)
/* C7A504 80243824 AFB30024 */ sw $s3, 0x24($sp)
/* C7A508 80243828 AFB20020 */ sw $s2, 0x20($sp)
/* C7A50C 8024382C AFB00018 */ sw $s0, 0x18($sp)
/* C7A510 80243830 F7B60040 */ sdc1 $f22, 0x40($sp)
/* C7A514 80243834 F7B40038 */ sdc1 $f20, 0x38($sp)
/* C7A518 80243838 8E30000C */ lw $s0, 0xc($s1)
/* C7A51C 8024383C 8E160000 */ lw $s6, ($s0)
/* C7A520 80243840 26100004 */ addiu $s0, $s0, 4
/* C7A524 80243844 0C0B1EAF */ jal get_variable
/* C7A528 80243848 02C0282D */ daddu $a1, $s6, $zero
/* C7A52C 8024384C 44820000 */ mtc1 $v0, $f0
/* C7A530 80243850 00000000 */ nop
/* C7A534 80243854 46800020 */ cvt.s.w $f0, $f0
/* C7A538 80243858 E7A00010 */ swc1 $f0, 0x10($sp)
/* C7A53C 8024385C 8E140000 */ lw $s4, ($s0)
/* C7A540 80243860 26100004 */ addiu $s0, $s0, 4
/* C7A544 80243864 0220202D */ daddu $a0, $s1, $zero
/* C7A548 80243868 0C0B1EAF */ jal get_variable
/* C7A54C 8024386C 0280282D */ daddu $a1, $s4, $zero
/* C7A550 80243870 0220202D */ daddu $a0, $s1, $zero
/* C7A554 80243874 8E150000 */ lw $s5, ($s0)
/* C7A558 80243878 4482B000 */ mtc1 $v0, $f22
/* C7A55C 8024387C 00000000 */ nop
/* C7A560 80243880 4680B5A0 */ cvt.s.w $f22, $f22
/* C7A564 80243884 0C0B1EAF */ jal get_variable
/* C7A568 80243888 02A0282D */ daddu $a1, $s5, $zero
/* C7A56C 8024388C 2404FFFC */ addiu $a0, $zero, -4
/* C7A570 80243890 44820000 */ mtc1 $v0, $f0
/* C7A574 80243894 00000000 */ nop
/* C7A578 80243898 46800020 */ cvt.s.w $f0, $f0
/* C7A57C 8024389C 0C00EABB */ jal get_npc_unsafe
/* C7A580 802438A0 E7A00014 */ swc1 $f0, 0x14($sp)
/* C7A584 802438A4 3C048007 */ lui $a0, %hi(gCurrentCameraID)
/* C7A588 802438A8 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
/* C7A58C 802438AC 3C014334 */ lui $at, 0x4334
/* C7A590 802438B0 44816000 */ mtc1 $at, $f12
/* C7A594 802438B4 00041880 */ sll $v1, $a0, 2
/* C7A598 802438B8 00641821 */ addu $v1, $v1, $a0
/* C7A59C 802438BC 00031880 */ sll $v1, $v1, 2
/* C7A5A0 802438C0 00641823 */ subu $v1, $v1, $a0
/* C7A5A4 802438C4 000320C0 */ sll $a0, $v1, 3
/* C7A5A8 802438C8 00641821 */ addu $v1, $v1, $a0
/* C7A5AC 802438CC 000318C0 */ sll $v1, $v1, 3
/* C7A5B0 802438D0 3C01800B */ lui $at, 0x800b
/* C7A5B4 802438D4 00230821 */ addu $at, $at, $v1
/* C7A5B8 802438D8 C4201DEC */ lwc1 $f0, 0x1dec($at)
/* C7A5BC 802438DC 460C0300 */ add.s $f12, $f0, $f12
/* C7A5C0 802438E0 0C00A6C9 */ jal clamp_angle
/* C7A5C4 802438E4 0040982D */ daddu $s3, $v0, $zero
/* C7A5C8 802438E8 27B00010 */ addiu $s0, $sp, 0x10
/* C7A5CC 802438EC 0200202D */ daddu $a0, $s0, $zero
/* C7A5D0 802438F0 27B20014 */ addiu $s2, $sp, 0x14
/* C7A5D4 802438F4 0240282D */ daddu $a1, $s2, $zero
/* C7A5D8 802438F8 3C064170 */ lui $a2, 0x4170
/* C7A5DC 802438FC 8E67000C */ lw $a3, 0xc($s3)
/* C7A5E0 80243900 0C00A7E7 */ jal add_vec2D_polar
/* C7A5E4 80243904 46000506 */ mov.s $f20, $f0
/* C7A5E8 80243908 0200202D */ daddu $a0, $s0, $zero
/* C7A5EC 8024390C 3C064120 */ lui $a2, 0x4120
/* C7A5F0 80243910 4407A000 */ mfc1 $a3, $f20
/* C7A5F4 80243914 0C00A7E7 */ jal add_vec2D_polar
/* C7A5F8 80243918 0240282D */ daddu $a1, $s2, $zero
/* C7A5FC 8024391C 0220202D */ daddu $a0, $s1, $zero
/* C7A600 80243920 C7A00010 */ lwc1 $f0, 0x10($sp)
/* C7A604 80243924 4600008D */ trunc.w.s $f2, $f0
/* C7A608 80243928 44061000 */ mfc1 $a2, $f2
/* C7A60C 8024392C 0C0B2026 */ jal set_variable
/* C7A610 80243930 02C0282D */ daddu $a1, $s6, $zero
/* C7A614 80243934 0220202D */ daddu $a0, $s1, $zero
/* C7A618 80243938 4600B08D */ trunc.w.s $f2, $f22
/* C7A61C 8024393C 44061000 */ mfc1 $a2, $f2
/* C7A620 80243940 0C0B2026 */ jal set_variable
/* C7A624 80243944 0280282D */ daddu $a1, $s4, $zero
/* C7A628 80243948 0220202D */ daddu $a0, $s1, $zero
/* C7A62C 8024394C C7A00014 */ lwc1 $f0, 0x14($sp)
/* C7A630 80243950 4600008D */ trunc.w.s $f2, $f0
/* C7A634 80243954 44061000 */ mfc1 $a2, $f2
/* C7A638 80243958 0C0B2026 */ jal set_variable
/* C7A63C 8024395C 02A0282D */ daddu $a1, $s5, $zero
/* C7A640 80243960 8FBF0034 */ lw $ra, 0x34($sp)
/* C7A644 80243964 8FB60030 */ lw $s6, 0x30($sp)
/* C7A648 80243968 8FB5002C */ lw $s5, 0x2c($sp)
/* C7A64C 8024396C 8FB40028 */ lw $s4, 0x28($sp)
/* C7A650 80243970 8FB30024 */ lw $s3, 0x24($sp)
/* C7A654 80243974 8FB20020 */ lw $s2, 0x20($sp)
/* C7A658 80243978 8FB1001C */ lw $s1, 0x1c($sp)
/* C7A65C 8024397C 8FB00018 */ lw $s0, 0x18($sp)
/* C7A660 80243980 D7B60040 */ ldc1 $f22, 0x40($sp)
/* C7A664 80243984 D7B40038 */ ldc1 $f20, 0x38($sp)
/* C7A668 80243988 24020002 */ addiu $v0, $zero, 2
/* C7A66C 8024398C 03E00008 */ jr $ra
/* C7A670 80243990 27BD0048 */ addiu $sp, $sp, 0x48

View File

@ -1,103 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80242AF8_C885A8
/* C885A8 80242AF8 27BDFFB8 */ addiu $sp, $sp, -0x48
/* C885AC 80242AFC AFB1001C */ sw $s1, 0x1c($sp)
/* C885B0 80242B00 0080882D */ daddu $s1, $a0, $zero
/* C885B4 80242B04 AFBF0034 */ sw $ra, 0x34($sp)
/* C885B8 80242B08 AFB60030 */ sw $s6, 0x30($sp)
/* C885BC 80242B0C AFB5002C */ sw $s5, 0x2c($sp)
/* C885C0 80242B10 AFB40028 */ sw $s4, 0x28($sp)
/* C885C4 80242B14 AFB30024 */ sw $s3, 0x24($sp)
/* C885C8 80242B18 AFB20020 */ sw $s2, 0x20($sp)
/* C885CC 80242B1C AFB00018 */ sw $s0, 0x18($sp)
/* C885D0 80242B20 F7B60040 */ sdc1 $f22, 0x40($sp)
/* C885D4 80242B24 F7B40038 */ sdc1 $f20, 0x38($sp)
/* C885D8 80242B28 8E30000C */ lw $s0, 0xc($s1)
/* C885DC 80242B2C 8E160000 */ lw $s6, ($s0)
/* C885E0 80242B30 26100004 */ addiu $s0, $s0, 4
/* C885E4 80242B34 0C0B1EAF */ jal get_variable
/* C885E8 80242B38 02C0282D */ daddu $a1, $s6, $zero
/* C885EC 80242B3C 44820000 */ mtc1 $v0, $f0
/* C885F0 80242B40 00000000 */ nop
/* C885F4 80242B44 46800020 */ cvt.s.w $f0, $f0
/* C885F8 80242B48 E7A00010 */ swc1 $f0, 0x10($sp)
/* C885FC 80242B4C 8E140000 */ lw $s4, ($s0)
/* C88600 80242B50 26100004 */ addiu $s0, $s0, 4
/* C88604 80242B54 0220202D */ daddu $a0, $s1, $zero
/* C88608 80242B58 0C0B1EAF */ jal get_variable
/* C8860C 80242B5C 0280282D */ daddu $a1, $s4, $zero
/* C88610 80242B60 0220202D */ daddu $a0, $s1, $zero
/* C88614 80242B64 8E150000 */ lw $s5, ($s0)
/* C88618 80242B68 4482B000 */ mtc1 $v0, $f22
/* C8861C 80242B6C 00000000 */ nop
/* C88620 80242B70 4680B5A0 */ cvt.s.w $f22, $f22
/* C88624 80242B74 0C0B1EAF */ jal get_variable
/* C88628 80242B78 02A0282D */ daddu $a1, $s5, $zero
/* C8862C 80242B7C 2404FFFC */ addiu $a0, $zero, -4
/* C88630 80242B80 44820000 */ mtc1 $v0, $f0
/* C88634 80242B84 00000000 */ nop
/* C88638 80242B88 46800020 */ cvt.s.w $f0, $f0
/* C8863C 80242B8C 0C00EABB */ jal get_npc_unsafe
/* C88640 80242B90 E7A00014 */ swc1 $f0, 0x14($sp)
/* C88644 80242B94 3C048007 */ lui $a0, %hi(gCurrentCameraID)
/* C88648 80242B98 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
/* C8864C 80242B9C 3C014334 */ lui $at, 0x4334
/* C88650 80242BA0 44816000 */ mtc1 $at, $f12
/* C88654 80242BA4 00041880 */ sll $v1, $a0, 2
/* C88658 80242BA8 00641821 */ addu $v1, $v1, $a0
/* C8865C 80242BAC 00031880 */ sll $v1, $v1, 2
/* C88660 80242BB0 00641823 */ subu $v1, $v1, $a0
/* C88664 80242BB4 000320C0 */ sll $a0, $v1, 3
/* C88668 80242BB8 00641821 */ addu $v1, $v1, $a0
/* C8866C 80242BBC 000318C0 */ sll $v1, $v1, 3
/* C88670 80242BC0 3C01800B */ lui $at, 0x800b
/* C88674 80242BC4 00230821 */ addu $at, $at, $v1
/* C88678 80242BC8 C4201DEC */ lwc1 $f0, 0x1dec($at)
/* C8867C 80242BCC 460C0300 */ add.s $f12, $f0, $f12
/* C88680 80242BD0 0C00A6C9 */ jal clamp_angle
/* C88684 80242BD4 0040982D */ daddu $s3, $v0, $zero
/* C88688 80242BD8 27B00010 */ addiu $s0, $sp, 0x10
/* C8868C 80242BDC 0200202D */ daddu $a0, $s0, $zero
/* C88690 80242BE0 27B20014 */ addiu $s2, $sp, 0x14
/* C88694 80242BE4 0240282D */ daddu $a1, $s2, $zero
/* C88698 80242BE8 3C064170 */ lui $a2, 0x4170
/* C8869C 80242BEC 8E67000C */ lw $a3, 0xc($s3)
/* C886A0 80242BF0 0C00A7E7 */ jal add_vec2D_polar
/* C886A4 80242BF4 46000506 */ mov.s $f20, $f0
/* C886A8 80242BF8 0200202D */ daddu $a0, $s0, $zero
/* C886AC 80242BFC 3C064120 */ lui $a2, 0x4120
/* C886B0 80242C00 4407A000 */ mfc1 $a3, $f20
/* C886B4 80242C04 0C00A7E7 */ jal add_vec2D_polar
/* C886B8 80242C08 0240282D */ daddu $a1, $s2, $zero
/* C886BC 80242C0C 0220202D */ daddu $a0, $s1, $zero
/* C886C0 80242C10 C7A00010 */ lwc1 $f0, 0x10($sp)
/* C886C4 80242C14 4600008D */ trunc.w.s $f2, $f0
/* C886C8 80242C18 44061000 */ mfc1 $a2, $f2
/* C886CC 80242C1C 0C0B2026 */ jal set_variable
/* C886D0 80242C20 02C0282D */ daddu $a1, $s6, $zero
/* C886D4 80242C24 0220202D */ daddu $a0, $s1, $zero
/* C886D8 80242C28 4600B08D */ trunc.w.s $f2, $f22
/* C886DC 80242C2C 44061000 */ mfc1 $a2, $f2
/* C886E0 80242C30 0C0B2026 */ jal set_variable
/* C886E4 80242C34 0280282D */ daddu $a1, $s4, $zero
/* C886E8 80242C38 0220202D */ daddu $a0, $s1, $zero
/* C886EC 80242C3C C7A00014 */ lwc1 $f0, 0x14($sp)
/* C886F0 80242C40 4600008D */ trunc.w.s $f2, $f0
/* C886F4 80242C44 44061000 */ mfc1 $a2, $f2
/* C886F8 80242C48 0C0B2026 */ jal set_variable
/* C886FC 80242C4C 02A0282D */ daddu $a1, $s5, $zero
/* C88700 80242C50 8FBF0034 */ lw $ra, 0x34($sp)
/* C88704 80242C54 8FB60030 */ lw $s6, 0x30($sp)
/* C88708 80242C58 8FB5002C */ lw $s5, 0x2c($sp)
/* C8870C 80242C5C 8FB40028 */ lw $s4, 0x28($sp)
/* C88710 80242C60 8FB30024 */ lw $s3, 0x24($sp)
/* C88714 80242C64 8FB20020 */ lw $s2, 0x20($sp)
/* C88718 80242C68 8FB1001C */ lw $s1, 0x1c($sp)
/* C8871C 80242C6C 8FB00018 */ lw $s0, 0x18($sp)
/* C88720 80242C70 D7B60040 */ ldc1 $f22, 0x40($sp)
/* C88724 80242C74 D7B40038 */ ldc1 $f20, 0x38($sp)
/* C88728 80242C78 24020002 */ addiu $v0, $zero, 2
/* C8872C 80242C7C 03E00008 */ jr $ra
/* C88730 80242C80 27BD0048 */ addiu $sp, $sp, 0x48

View File

@ -1,103 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802419C4_C8F574
/* C8F574 802419C4 27BDFFB8 */ addiu $sp, $sp, -0x48
/* C8F578 802419C8 AFB1001C */ sw $s1, 0x1c($sp)
/* C8F57C 802419CC 0080882D */ daddu $s1, $a0, $zero
/* C8F580 802419D0 AFBF0034 */ sw $ra, 0x34($sp)
/* C8F584 802419D4 AFB60030 */ sw $s6, 0x30($sp)
/* C8F588 802419D8 AFB5002C */ sw $s5, 0x2c($sp)
/* C8F58C 802419DC AFB40028 */ sw $s4, 0x28($sp)
/* C8F590 802419E0 AFB30024 */ sw $s3, 0x24($sp)
/* C8F594 802419E4 AFB20020 */ sw $s2, 0x20($sp)
/* C8F598 802419E8 AFB00018 */ sw $s0, 0x18($sp)
/* C8F59C 802419EC F7B60040 */ sdc1 $f22, 0x40($sp)
/* C8F5A0 802419F0 F7B40038 */ sdc1 $f20, 0x38($sp)
/* C8F5A4 802419F4 8E30000C */ lw $s0, 0xc($s1)
/* C8F5A8 802419F8 8E160000 */ lw $s6, ($s0)
/* C8F5AC 802419FC 26100004 */ addiu $s0, $s0, 4
/* C8F5B0 80241A00 0C0B1EAF */ jal get_variable
/* C8F5B4 80241A04 02C0282D */ daddu $a1, $s6, $zero
/* C8F5B8 80241A08 44820000 */ mtc1 $v0, $f0
/* C8F5BC 80241A0C 00000000 */ nop
/* C8F5C0 80241A10 46800020 */ cvt.s.w $f0, $f0
/* C8F5C4 80241A14 E7A00010 */ swc1 $f0, 0x10($sp)
/* C8F5C8 80241A18 8E140000 */ lw $s4, ($s0)
/* C8F5CC 80241A1C 26100004 */ addiu $s0, $s0, 4
/* C8F5D0 80241A20 0220202D */ daddu $a0, $s1, $zero
/* C8F5D4 80241A24 0C0B1EAF */ jal get_variable
/* C8F5D8 80241A28 0280282D */ daddu $a1, $s4, $zero
/* C8F5DC 80241A2C 0220202D */ daddu $a0, $s1, $zero
/* C8F5E0 80241A30 8E150000 */ lw $s5, ($s0)
/* C8F5E4 80241A34 4482B000 */ mtc1 $v0, $f22
/* C8F5E8 80241A38 00000000 */ nop
/* C8F5EC 80241A3C 4680B5A0 */ cvt.s.w $f22, $f22
/* C8F5F0 80241A40 0C0B1EAF */ jal get_variable
/* C8F5F4 80241A44 02A0282D */ daddu $a1, $s5, $zero
/* C8F5F8 80241A48 2404FFFC */ addiu $a0, $zero, -4
/* C8F5FC 80241A4C 44820000 */ mtc1 $v0, $f0
/* C8F600 80241A50 00000000 */ nop
/* C8F604 80241A54 46800020 */ cvt.s.w $f0, $f0
/* C8F608 80241A58 0C00EABB */ jal get_npc_unsafe
/* C8F60C 80241A5C E7A00014 */ swc1 $f0, 0x14($sp)
/* C8F610 80241A60 3C048007 */ lui $a0, %hi(gCurrentCameraID)
/* C8F614 80241A64 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
/* C8F618 80241A68 3C014334 */ lui $at, 0x4334
/* C8F61C 80241A6C 44816000 */ mtc1 $at, $f12
/* C8F620 80241A70 00041880 */ sll $v1, $a0, 2
/* C8F624 80241A74 00641821 */ addu $v1, $v1, $a0
/* C8F628 80241A78 00031880 */ sll $v1, $v1, 2
/* C8F62C 80241A7C 00641823 */ subu $v1, $v1, $a0
/* C8F630 80241A80 000320C0 */ sll $a0, $v1, 3
/* C8F634 80241A84 00641821 */ addu $v1, $v1, $a0
/* C8F638 80241A88 000318C0 */ sll $v1, $v1, 3
/* C8F63C 80241A8C 3C01800B */ lui $at, 0x800b
/* C8F640 80241A90 00230821 */ addu $at, $at, $v1
/* C8F644 80241A94 C4201DEC */ lwc1 $f0, 0x1dec($at)
/* C8F648 80241A98 460C0300 */ add.s $f12, $f0, $f12
/* C8F64C 80241A9C 0C00A6C9 */ jal clamp_angle
/* C8F650 80241AA0 0040982D */ daddu $s3, $v0, $zero
/* C8F654 80241AA4 27B00010 */ addiu $s0, $sp, 0x10
/* C8F658 80241AA8 0200202D */ daddu $a0, $s0, $zero
/* C8F65C 80241AAC 27B20014 */ addiu $s2, $sp, 0x14
/* C8F660 80241AB0 0240282D */ daddu $a1, $s2, $zero
/* C8F664 80241AB4 3C064170 */ lui $a2, 0x4170
/* C8F668 80241AB8 8E67000C */ lw $a3, 0xc($s3)
/* C8F66C 80241ABC 0C00A7E7 */ jal add_vec2D_polar
/* C8F670 80241AC0 46000506 */ mov.s $f20, $f0
/* C8F674 80241AC4 0200202D */ daddu $a0, $s0, $zero
/* C8F678 80241AC8 3C064120 */ lui $a2, 0x4120
/* C8F67C 80241ACC 4407A000 */ mfc1 $a3, $f20
/* C8F680 80241AD0 0C00A7E7 */ jal add_vec2D_polar
/* C8F684 80241AD4 0240282D */ daddu $a1, $s2, $zero
/* C8F688 80241AD8 0220202D */ daddu $a0, $s1, $zero
/* C8F68C 80241ADC C7A00010 */ lwc1 $f0, 0x10($sp)
/* C8F690 80241AE0 4600008D */ trunc.w.s $f2, $f0
/* C8F694 80241AE4 44061000 */ mfc1 $a2, $f2
/* C8F698 80241AE8 0C0B2026 */ jal set_variable
/* C8F69C 80241AEC 02C0282D */ daddu $a1, $s6, $zero
/* C8F6A0 80241AF0 0220202D */ daddu $a0, $s1, $zero
/* C8F6A4 80241AF4 4600B08D */ trunc.w.s $f2, $f22
/* C8F6A8 80241AF8 44061000 */ mfc1 $a2, $f2
/* C8F6AC 80241AFC 0C0B2026 */ jal set_variable
/* C8F6B0 80241B00 0280282D */ daddu $a1, $s4, $zero
/* C8F6B4 80241B04 0220202D */ daddu $a0, $s1, $zero
/* C8F6B8 80241B08 C7A00014 */ lwc1 $f0, 0x14($sp)
/* C8F6BC 80241B0C 4600008D */ trunc.w.s $f2, $f0
/* C8F6C0 80241B10 44061000 */ mfc1 $a2, $f2
/* C8F6C4 80241B14 0C0B2026 */ jal set_variable
/* C8F6C8 80241B18 02A0282D */ daddu $a1, $s5, $zero
/* C8F6CC 80241B1C 8FBF0034 */ lw $ra, 0x34($sp)
/* C8F6D0 80241B20 8FB60030 */ lw $s6, 0x30($sp)
/* C8F6D4 80241B24 8FB5002C */ lw $s5, 0x2c($sp)
/* C8F6D8 80241B28 8FB40028 */ lw $s4, 0x28($sp)
/* C8F6DC 80241B2C 8FB30024 */ lw $s3, 0x24($sp)
/* C8F6E0 80241B30 8FB20020 */ lw $s2, 0x20($sp)
/* C8F6E4 80241B34 8FB1001C */ lw $s1, 0x1c($sp)
/* C8F6E8 80241B38 8FB00018 */ lw $s0, 0x18($sp)
/* C8F6EC 80241B3C D7B60040 */ ldc1 $f22, 0x40($sp)
/* C8F6F0 80241B40 D7B40038 */ ldc1 $f20, 0x38($sp)
/* C8F6F4 80241B44 24020002 */ addiu $v0, $zero, 2
/* C8F6F8 80241B48 03E00008 */ jr $ra
/* C8F6FC 80241B4C 27BD0048 */ addiu $sp, $sp, 0x48

View File

@ -1,103 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8024086C_C9679C
/* C9679C 8024086C 27BDFFB8 */ addiu $sp, $sp, -0x48
/* C967A0 80240870 AFB1001C */ sw $s1, 0x1c($sp)
/* C967A4 80240874 0080882D */ daddu $s1, $a0, $zero
/* C967A8 80240878 AFBF0034 */ sw $ra, 0x34($sp)
/* C967AC 8024087C AFB60030 */ sw $s6, 0x30($sp)
/* C967B0 80240880 AFB5002C */ sw $s5, 0x2c($sp)
/* C967B4 80240884 AFB40028 */ sw $s4, 0x28($sp)
/* C967B8 80240888 AFB30024 */ sw $s3, 0x24($sp)
/* C967BC 8024088C AFB20020 */ sw $s2, 0x20($sp)
/* C967C0 80240890 AFB00018 */ sw $s0, 0x18($sp)
/* C967C4 80240894 F7B60040 */ sdc1 $f22, 0x40($sp)
/* C967C8 80240898 F7B40038 */ sdc1 $f20, 0x38($sp)
/* C967CC 8024089C 8E30000C */ lw $s0, 0xc($s1)
/* C967D0 802408A0 8E160000 */ lw $s6, ($s0)
/* C967D4 802408A4 26100004 */ addiu $s0, $s0, 4
/* C967D8 802408A8 0C0B1EAF */ jal get_variable
/* C967DC 802408AC 02C0282D */ daddu $a1, $s6, $zero
/* C967E0 802408B0 44820000 */ mtc1 $v0, $f0
/* C967E4 802408B4 00000000 */ nop
/* C967E8 802408B8 46800020 */ cvt.s.w $f0, $f0
/* C967EC 802408BC E7A00010 */ swc1 $f0, 0x10($sp)
/* C967F0 802408C0 8E140000 */ lw $s4, ($s0)
/* C967F4 802408C4 26100004 */ addiu $s0, $s0, 4
/* C967F8 802408C8 0220202D */ daddu $a0, $s1, $zero
/* C967FC 802408CC 0C0B1EAF */ jal get_variable
/* C96800 802408D0 0280282D */ daddu $a1, $s4, $zero
/* C96804 802408D4 0220202D */ daddu $a0, $s1, $zero
/* C96808 802408D8 8E150000 */ lw $s5, ($s0)
/* C9680C 802408DC 4482B000 */ mtc1 $v0, $f22
/* C96810 802408E0 00000000 */ nop
/* C96814 802408E4 4680B5A0 */ cvt.s.w $f22, $f22
/* C96818 802408E8 0C0B1EAF */ jal get_variable
/* C9681C 802408EC 02A0282D */ daddu $a1, $s5, $zero
/* C96820 802408F0 2404FFFC */ addiu $a0, $zero, -4
/* C96824 802408F4 44820000 */ mtc1 $v0, $f0
/* C96828 802408F8 00000000 */ nop
/* C9682C 802408FC 46800020 */ cvt.s.w $f0, $f0
/* C96830 80240900 0C00EABB */ jal get_npc_unsafe
/* C96834 80240904 E7A00014 */ swc1 $f0, 0x14($sp)
/* C96838 80240908 3C048007 */ lui $a0, %hi(gCurrentCameraID)
/* C9683C 8024090C 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
/* C96840 80240910 3C014334 */ lui $at, 0x4334
/* C96844 80240914 44816000 */ mtc1 $at, $f12
/* C96848 80240918 00041880 */ sll $v1, $a0, 2
/* C9684C 8024091C 00641821 */ addu $v1, $v1, $a0
/* C96850 80240920 00031880 */ sll $v1, $v1, 2
/* C96854 80240924 00641823 */ subu $v1, $v1, $a0
/* C96858 80240928 000320C0 */ sll $a0, $v1, 3
/* C9685C 8024092C 00641821 */ addu $v1, $v1, $a0
/* C96860 80240930 000318C0 */ sll $v1, $v1, 3
/* C96864 80240934 3C01800B */ lui $at, 0x800b
/* C96868 80240938 00230821 */ addu $at, $at, $v1
/* C9686C 8024093C C4201DEC */ lwc1 $f0, 0x1dec($at)
/* C96870 80240940 460C0300 */ add.s $f12, $f0, $f12
/* C96874 80240944 0C00A6C9 */ jal clamp_angle
/* C96878 80240948 0040982D */ daddu $s3, $v0, $zero
/* C9687C 8024094C 27B00010 */ addiu $s0, $sp, 0x10
/* C96880 80240950 0200202D */ daddu $a0, $s0, $zero
/* C96884 80240954 27B20014 */ addiu $s2, $sp, 0x14
/* C96888 80240958 0240282D */ daddu $a1, $s2, $zero
/* C9688C 8024095C 3C064170 */ lui $a2, 0x4170
/* C96890 80240960 8E67000C */ lw $a3, 0xc($s3)
/* C96894 80240964 0C00A7E7 */ jal add_vec2D_polar
/* C96898 80240968 46000506 */ mov.s $f20, $f0
/* C9689C 8024096C 0200202D */ daddu $a0, $s0, $zero
/* C968A0 80240970 3C064120 */ lui $a2, 0x4120
/* C968A4 80240974 4407A000 */ mfc1 $a3, $f20
/* C968A8 80240978 0C00A7E7 */ jal add_vec2D_polar
/* C968AC 8024097C 0240282D */ daddu $a1, $s2, $zero
/* C968B0 80240980 0220202D */ daddu $a0, $s1, $zero
/* C968B4 80240984 C7A00010 */ lwc1 $f0, 0x10($sp)
/* C968B8 80240988 4600008D */ trunc.w.s $f2, $f0
/* C968BC 8024098C 44061000 */ mfc1 $a2, $f2
/* C968C0 80240990 0C0B2026 */ jal set_variable
/* C968C4 80240994 02C0282D */ daddu $a1, $s6, $zero
/* C968C8 80240998 0220202D */ daddu $a0, $s1, $zero
/* C968CC 8024099C 4600B08D */ trunc.w.s $f2, $f22
/* C968D0 802409A0 44061000 */ mfc1 $a2, $f2
/* C968D4 802409A4 0C0B2026 */ jal set_variable
/* C968D8 802409A8 0280282D */ daddu $a1, $s4, $zero
/* C968DC 802409AC 0220202D */ daddu $a0, $s1, $zero
/* C968E0 802409B0 C7A00014 */ lwc1 $f0, 0x14($sp)
/* C968E4 802409B4 4600008D */ trunc.w.s $f2, $f0
/* C968E8 802409B8 44061000 */ mfc1 $a2, $f2
/* C968EC 802409BC 0C0B2026 */ jal set_variable
/* C968F0 802409C0 02A0282D */ daddu $a1, $s5, $zero
/* C968F4 802409C4 8FBF0034 */ lw $ra, 0x34($sp)
/* C968F8 802409C8 8FB60030 */ lw $s6, 0x30($sp)
/* C968FC 802409CC 8FB5002C */ lw $s5, 0x2c($sp)
/* C96900 802409D0 8FB40028 */ lw $s4, 0x28($sp)
/* C96904 802409D4 8FB30024 */ lw $s3, 0x24($sp)
/* C96908 802409D8 8FB20020 */ lw $s2, 0x20($sp)
/* C9690C 802409DC 8FB1001C */ lw $s1, 0x1c($sp)
/* C96910 802409E0 8FB00018 */ lw $s0, 0x18($sp)
/* C96914 802409E4 D7B60040 */ ldc1 $f22, 0x40($sp)
/* C96918 802409E8 D7B40038 */ ldc1 $f20, 0x38($sp)
/* C9691C 802409EC 24020002 */ addiu $v0, $zero, 2
/* C96920 802409F0 03E00008 */ jr $ra
/* C96924 802409F4 27BD0048 */ addiu $sp, $sp, 0x48

View File

@ -1,103 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80241BA4_7EC8B4
/* 7EC8B4 80241BA4 27BDFFB8 */ addiu $sp, $sp, -0x48
/* 7EC8B8 80241BA8 AFB1001C */ sw $s1, 0x1c($sp)
/* 7EC8BC 80241BAC 0080882D */ daddu $s1, $a0, $zero
/* 7EC8C0 80241BB0 AFBF0034 */ sw $ra, 0x34($sp)
/* 7EC8C4 80241BB4 AFB60030 */ sw $s6, 0x30($sp)
/* 7EC8C8 80241BB8 AFB5002C */ sw $s5, 0x2c($sp)
/* 7EC8CC 80241BBC AFB40028 */ sw $s4, 0x28($sp)
/* 7EC8D0 80241BC0 AFB30024 */ sw $s3, 0x24($sp)
/* 7EC8D4 80241BC4 AFB20020 */ sw $s2, 0x20($sp)
/* 7EC8D8 80241BC8 AFB00018 */ sw $s0, 0x18($sp)
/* 7EC8DC 80241BCC F7B60040 */ sdc1 $f22, 0x40($sp)
/* 7EC8E0 80241BD0 F7B40038 */ sdc1 $f20, 0x38($sp)
/* 7EC8E4 80241BD4 8E30000C */ lw $s0, 0xc($s1)
/* 7EC8E8 80241BD8 8E160000 */ lw $s6, ($s0)
/* 7EC8EC 80241BDC 26100004 */ addiu $s0, $s0, 4
/* 7EC8F0 80241BE0 0C0B1EAF */ jal get_variable
/* 7EC8F4 80241BE4 02C0282D */ daddu $a1, $s6, $zero
/* 7EC8F8 80241BE8 44820000 */ mtc1 $v0, $f0
/* 7EC8FC 80241BEC 00000000 */ nop
/* 7EC900 80241BF0 46800020 */ cvt.s.w $f0, $f0
/* 7EC904 80241BF4 E7A00010 */ swc1 $f0, 0x10($sp)
/* 7EC908 80241BF8 8E140000 */ lw $s4, ($s0)
/* 7EC90C 80241BFC 26100004 */ addiu $s0, $s0, 4
/* 7EC910 80241C00 0220202D */ daddu $a0, $s1, $zero
/* 7EC914 80241C04 0C0B1EAF */ jal get_variable
/* 7EC918 80241C08 0280282D */ daddu $a1, $s4, $zero
/* 7EC91C 80241C0C 0220202D */ daddu $a0, $s1, $zero
/* 7EC920 80241C10 8E150000 */ lw $s5, ($s0)
/* 7EC924 80241C14 4482B000 */ mtc1 $v0, $f22
/* 7EC928 80241C18 00000000 */ nop
/* 7EC92C 80241C1C 4680B5A0 */ cvt.s.w $f22, $f22
/* 7EC930 80241C20 0C0B1EAF */ jal get_variable
/* 7EC934 80241C24 02A0282D */ daddu $a1, $s5, $zero
/* 7EC938 80241C28 2404FFFC */ addiu $a0, $zero, -4
/* 7EC93C 80241C2C 44820000 */ mtc1 $v0, $f0
/* 7EC940 80241C30 00000000 */ nop
/* 7EC944 80241C34 46800020 */ cvt.s.w $f0, $f0
/* 7EC948 80241C38 0C00EABB */ jal get_npc_unsafe
/* 7EC94C 80241C3C E7A00014 */ swc1 $f0, 0x14($sp)
/* 7EC950 80241C40 3C048007 */ lui $a0, %hi(gCurrentCameraID)
/* 7EC954 80241C44 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
/* 7EC958 80241C48 3C014334 */ lui $at, 0x4334
/* 7EC95C 80241C4C 44816000 */ mtc1 $at, $f12
/* 7EC960 80241C50 00041880 */ sll $v1, $a0, 2
/* 7EC964 80241C54 00641821 */ addu $v1, $v1, $a0
/* 7EC968 80241C58 00031880 */ sll $v1, $v1, 2
/* 7EC96C 80241C5C 00641823 */ subu $v1, $v1, $a0
/* 7EC970 80241C60 000320C0 */ sll $a0, $v1, 3
/* 7EC974 80241C64 00641821 */ addu $v1, $v1, $a0
/* 7EC978 80241C68 000318C0 */ sll $v1, $v1, 3
/* 7EC97C 80241C6C 3C01800B */ lui $at, 0x800b
/* 7EC980 80241C70 00230821 */ addu $at, $at, $v1
/* 7EC984 80241C74 C4201DEC */ lwc1 $f0, 0x1dec($at)
/* 7EC988 80241C78 460C0300 */ add.s $f12, $f0, $f12
/* 7EC98C 80241C7C 0C00A6C9 */ jal clamp_angle
/* 7EC990 80241C80 0040982D */ daddu $s3, $v0, $zero
/* 7EC994 80241C84 27B00010 */ addiu $s0, $sp, 0x10
/* 7EC998 80241C88 0200202D */ daddu $a0, $s0, $zero
/* 7EC99C 80241C8C 27B20014 */ addiu $s2, $sp, 0x14
/* 7EC9A0 80241C90 0240282D */ daddu $a1, $s2, $zero
/* 7EC9A4 80241C94 3C064170 */ lui $a2, 0x4170
/* 7EC9A8 80241C98 8E67000C */ lw $a3, 0xc($s3)
/* 7EC9AC 80241C9C 0C00A7E7 */ jal add_vec2D_polar
/* 7EC9B0 80241CA0 46000506 */ mov.s $f20, $f0
/* 7EC9B4 80241CA4 0200202D */ daddu $a0, $s0, $zero
/* 7EC9B8 80241CA8 3C064120 */ lui $a2, 0x4120
/* 7EC9BC 80241CAC 4407A000 */ mfc1 $a3, $f20
/* 7EC9C0 80241CB0 0C00A7E7 */ jal add_vec2D_polar
/* 7EC9C4 80241CB4 0240282D */ daddu $a1, $s2, $zero
/* 7EC9C8 80241CB8 0220202D */ daddu $a0, $s1, $zero
/* 7EC9CC 80241CBC C7A00010 */ lwc1 $f0, 0x10($sp)
/* 7EC9D0 80241CC0 4600008D */ trunc.w.s $f2, $f0
/* 7EC9D4 80241CC4 44061000 */ mfc1 $a2, $f2
/* 7EC9D8 80241CC8 0C0B2026 */ jal set_variable
/* 7EC9DC 80241CCC 02C0282D */ daddu $a1, $s6, $zero
/* 7EC9E0 80241CD0 0220202D */ daddu $a0, $s1, $zero
/* 7EC9E4 80241CD4 4600B08D */ trunc.w.s $f2, $f22
/* 7EC9E8 80241CD8 44061000 */ mfc1 $a2, $f2
/* 7EC9EC 80241CDC 0C0B2026 */ jal set_variable
/* 7EC9F0 80241CE0 0280282D */ daddu $a1, $s4, $zero
/* 7EC9F4 80241CE4 0220202D */ daddu $a0, $s1, $zero
/* 7EC9F8 80241CE8 C7A00014 */ lwc1 $f0, 0x14($sp)
/* 7EC9FC 80241CEC 4600008D */ trunc.w.s $f2, $f0
/* 7ECA00 80241CF0 44061000 */ mfc1 $a2, $f2
/* 7ECA04 80241CF4 0C0B2026 */ jal set_variable
/* 7ECA08 80241CF8 02A0282D */ daddu $a1, $s5, $zero
/* 7ECA0C 80241CFC 8FBF0034 */ lw $ra, 0x34($sp)
/* 7ECA10 80241D00 8FB60030 */ lw $s6, 0x30($sp)
/* 7ECA14 80241D04 8FB5002C */ lw $s5, 0x2c($sp)
/* 7ECA18 80241D08 8FB40028 */ lw $s4, 0x28($sp)
/* 7ECA1C 80241D0C 8FB30024 */ lw $s3, 0x24($sp)
/* 7ECA20 80241D10 8FB20020 */ lw $s2, 0x20($sp)
/* 7ECA24 80241D14 8FB1001C */ lw $s1, 0x1c($sp)
/* 7ECA28 80241D18 8FB00018 */ lw $s0, 0x18($sp)
/* 7ECA2C 80241D1C D7B60040 */ ldc1 $f22, 0x40($sp)
/* 7ECA30 80241D20 D7B40038 */ ldc1 $f20, 0x38($sp)
/* 7ECA34 80241D24 24020002 */ addiu $v0, $zero, 2
/* 7ECA38 80241D28 03E00008 */ jr $ra
/* 7ECA3C 80241D2C 27BD0048 */ addiu $sp, $sp, 0x48

View File

@ -1,103 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8024395C_7EE66C
/* 7EE66C 8024395C 27BDFFB8 */ addiu $sp, $sp, -0x48
/* 7EE670 80243960 AFB1001C */ sw $s1, 0x1c($sp)
/* 7EE674 80243964 0080882D */ daddu $s1, $a0, $zero
/* 7EE678 80243968 AFBF0034 */ sw $ra, 0x34($sp)
/* 7EE67C 8024396C AFB60030 */ sw $s6, 0x30($sp)
/* 7EE680 80243970 AFB5002C */ sw $s5, 0x2c($sp)
/* 7EE684 80243974 AFB40028 */ sw $s4, 0x28($sp)
/* 7EE688 80243978 AFB30024 */ sw $s3, 0x24($sp)
/* 7EE68C 8024397C AFB20020 */ sw $s2, 0x20($sp)
/* 7EE690 80243980 AFB00018 */ sw $s0, 0x18($sp)
/* 7EE694 80243984 F7B60040 */ sdc1 $f22, 0x40($sp)
/* 7EE698 80243988 F7B40038 */ sdc1 $f20, 0x38($sp)
/* 7EE69C 8024398C 8E30000C */ lw $s0, 0xc($s1)
/* 7EE6A0 80243990 8E160000 */ lw $s6, ($s0)
/* 7EE6A4 80243994 26100004 */ addiu $s0, $s0, 4
/* 7EE6A8 80243998 0C0B1EAF */ jal get_variable
/* 7EE6AC 8024399C 02C0282D */ daddu $a1, $s6, $zero
/* 7EE6B0 802439A0 44820000 */ mtc1 $v0, $f0
/* 7EE6B4 802439A4 00000000 */ nop
/* 7EE6B8 802439A8 46800020 */ cvt.s.w $f0, $f0
/* 7EE6BC 802439AC E7A00010 */ swc1 $f0, 0x10($sp)
/* 7EE6C0 802439B0 8E140000 */ lw $s4, ($s0)
/* 7EE6C4 802439B4 26100004 */ addiu $s0, $s0, 4
/* 7EE6C8 802439B8 0220202D */ daddu $a0, $s1, $zero
/* 7EE6CC 802439BC 0C0B1EAF */ jal get_variable
/* 7EE6D0 802439C0 0280282D */ daddu $a1, $s4, $zero
/* 7EE6D4 802439C4 0220202D */ daddu $a0, $s1, $zero
/* 7EE6D8 802439C8 8E150000 */ lw $s5, ($s0)
/* 7EE6DC 802439CC 4482B000 */ mtc1 $v0, $f22
/* 7EE6E0 802439D0 00000000 */ nop
/* 7EE6E4 802439D4 4680B5A0 */ cvt.s.w $f22, $f22
/* 7EE6E8 802439D8 0C0B1EAF */ jal get_variable
/* 7EE6EC 802439DC 02A0282D */ daddu $a1, $s5, $zero
/* 7EE6F0 802439E0 2404FFFC */ addiu $a0, $zero, -4
/* 7EE6F4 802439E4 44820000 */ mtc1 $v0, $f0
/* 7EE6F8 802439E8 00000000 */ nop
/* 7EE6FC 802439EC 46800020 */ cvt.s.w $f0, $f0
/* 7EE700 802439F0 0C00EABB */ jal get_npc_unsafe
/* 7EE704 802439F4 E7A00014 */ swc1 $f0, 0x14($sp)
/* 7EE708 802439F8 3C048007 */ lui $a0, %hi(gCurrentCameraID)
/* 7EE70C 802439FC 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
/* 7EE710 80243A00 3C014334 */ lui $at, 0x4334
/* 7EE714 80243A04 44816000 */ mtc1 $at, $f12
/* 7EE718 80243A08 00041880 */ sll $v1, $a0, 2
/* 7EE71C 80243A0C 00641821 */ addu $v1, $v1, $a0
/* 7EE720 80243A10 00031880 */ sll $v1, $v1, 2
/* 7EE724 80243A14 00641823 */ subu $v1, $v1, $a0
/* 7EE728 80243A18 000320C0 */ sll $a0, $v1, 3
/* 7EE72C 80243A1C 00641821 */ addu $v1, $v1, $a0
/* 7EE730 80243A20 000318C0 */ sll $v1, $v1, 3
/* 7EE734 80243A24 3C01800B */ lui $at, 0x800b
/* 7EE738 80243A28 00230821 */ addu $at, $at, $v1
/* 7EE73C 80243A2C C4201DEC */ lwc1 $f0, 0x1dec($at)
/* 7EE740 80243A30 460C0300 */ add.s $f12, $f0, $f12
/* 7EE744 80243A34 0C00A6C9 */ jal clamp_angle
/* 7EE748 80243A38 0040982D */ daddu $s3, $v0, $zero
/* 7EE74C 80243A3C 27B00010 */ addiu $s0, $sp, 0x10
/* 7EE750 80243A40 0200202D */ daddu $a0, $s0, $zero
/* 7EE754 80243A44 27B20014 */ addiu $s2, $sp, 0x14
/* 7EE758 80243A48 0240282D */ daddu $a1, $s2, $zero
/* 7EE75C 80243A4C 3C064170 */ lui $a2, 0x4170
/* 7EE760 80243A50 8E67000C */ lw $a3, 0xc($s3)
/* 7EE764 80243A54 0C00A7E7 */ jal add_vec2D_polar
/* 7EE768 80243A58 46000506 */ mov.s $f20, $f0
/* 7EE76C 80243A5C 0200202D */ daddu $a0, $s0, $zero
/* 7EE770 80243A60 3C064120 */ lui $a2, 0x4120
/* 7EE774 80243A64 4407A000 */ mfc1 $a3, $f20
/* 7EE778 80243A68 0C00A7E7 */ jal add_vec2D_polar
/* 7EE77C 80243A6C 0240282D */ daddu $a1, $s2, $zero
/* 7EE780 80243A70 0220202D */ daddu $a0, $s1, $zero
/* 7EE784 80243A74 C7A00010 */ lwc1 $f0, 0x10($sp)
/* 7EE788 80243A78 4600008D */ trunc.w.s $f2, $f0
/* 7EE78C 80243A7C 44061000 */ mfc1 $a2, $f2
/* 7EE790 80243A80 0C0B2026 */ jal set_variable
/* 7EE794 80243A84 02C0282D */ daddu $a1, $s6, $zero
/* 7EE798 80243A88 0220202D */ daddu $a0, $s1, $zero
/* 7EE79C 80243A8C 4600B08D */ trunc.w.s $f2, $f22
/* 7EE7A0 80243A90 44061000 */ mfc1 $a2, $f2
/* 7EE7A4 80243A94 0C0B2026 */ jal set_variable
/* 7EE7A8 80243A98 0280282D */ daddu $a1, $s4, $zero
/* 7EE7AC 80243A9C 0220202D */ daddu $a0, $s1, $zero
/* 7EE7B0 80243AA0 C7A00014 */ lwc1 $f0, 0x14($sp)
/* 7EE7B4 80243AA4 4600008D */ trunc.w.s $f2, $f0
/* 7EE7B8 80243AA8 44061000 */ mfc1 $a2, $f2
/* 7EE7BC 80243AAC 0C0B2026 */ jal set_variable
/* 7EE7C0 80243AB0 02A0282D */ daddu $a1, $s5, $zero
/* 7EE7C4 80243AB4 8FBF0034 */ lw $ra, 0x34($sp)
/* 7EE7C8 80243AB8 8FB60030 */ lw $s6, 0x30($sp)
/* 7EE7CC 80243ABC 8FB5002C */ lw $s5, 0x2c($sp)
/* 7EE7D0 80243AC0 8FB40028 */ lw $s4, 0x28($sp)
/* 7EE7D4 80243AC4 8FB30024 */ lw $s3, 0x24($sp)
/* 7EE7D8 80243AC8 8FB20020 */ lw $s2, 0x20($sp)
/* 7EE7DC 80243ACC 8FB1001C */ lw $s1, 0x1c($sp)
/* 7EE7E0 80243AD0 8FB00018 */ lw $s0, 0x18($sp)
/* 7EE7E4 80243AD4 D7B60040 */ ldc1 $f22, 0x40($sp)
/* 7EE7E8 80243AD8 D7B40038 */ ldc1 $f20, 0x38($sp)
/* 7EE7EC 80243ADC 24020002 */ addiu $v0, $zero, 2
/* 7EE7F0 80243AE0 03E00008 */ jr $ra
/* 7EE7F4 80243AE4 27BD0048 */ addiu $sp, $sp, 0x48

View File

@ -1,103 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80243EEC_80476C
/* 80476C 80243EEC 27BDFFB8 */ addiu $sp, $sp, -0x48
/* 804770 80243EF0 AFB1001C */ sw $s1, 0x1c($sp)
/* 804774 80243EF4 0080882D */ daddu $s1, $a0, $zero
/* 804778 80243EF8 AFBF0034 */ sw $ra, 0x34($sp)
/* 80477C 80243EFC AFB60030 */ sw $s6, 0x30($sp)
/* 804780 80243F00 AFB5002C */ sw $s5, 0x2c($sp)
/* 804784 80243F04 AFB40028 */ sw $s4, 0x28($sp)
/* 804788 80243F08 AFB30024 */ sw $s3, 0x24($sp)
/* 80478C 80243F0C AFB20020 */ sw $s2, 0x20($sp)
/* 804790 80243F10 AFB00018 */ sw $s0, 0x18($sp)
/* 804794 80243F14 F7B60040 */ sdc1 $f22, 0x40($sp)
/* 804798 80243F18 F7B40038 */ sdc1 $f20, 0x38($sp)
/* 80479C 80243F1C 8E30000C */ lw $s0, 0xc($s1)
/* 8047A0 80243F20 8E160000 */ lw $s6, ($s0)
/* 8047A4 80243F24 26100004 */ addiu $s0, $s0, 4
/* 8047A8 80243F28 0C0B1EAF */ jal get_variable
/* 8047AC 80243F2C 02C0282D */ daddu $a1, $s6, $zero
/* 8047B0 80243F30 44820000 */ mtc1 $v0, $f0
/* 8047B4 80243F34 00000000 */ nop
/* 8047B8 80243F38 46800020 */ cvt.s.w $f0, $f0
/* 8047BC 80243F3C E7A00010 */ swc1 $f0, 0x10($sp)
/* 8047C0 80243F40 8E140000 */ lw $s4, ($s0)
/* 8047C4 80243F44 26100004 */ addiu $s0, $s0, 4
/* 8047C8 80243F48 0220202D */ daddu $a0, $s1, $zero
/* 8047CC 80243F4C 0C0B1EAF */ jal get_variable
/* 8047D0 80243F50 0280282D */ daddu $a1, $s4, $zero
/* 8047D4 80243F54 0220202D */ daddu $a0, $s1, $zero
/* 8047D8 80243F58 8E150000 */ lw $s5, ($s0)
/* 8047DC 80243F5C 4482B000 */ mtc1 $v0, $f22
/* 8047E0 80243F60 00000000 */ nop
/* 8047E4 80243F64 4680B5A0 */ cvt.s.w $f22, $f22
/* 8047E8 80243F68 0C0B1EAF */ jal get_variable
/* 8047EC 80243F6C 02A0282D */ daddu $a1, $s5, $zero
/* 8047F0 80243F70 2404FFFC */ addiu $a0, $zero, -4
/* 8047F4 80243F74 44820000 */ mtc1 $v0, $f0
/* 8047F8 80243F78 00000000 */ nop
/* 8047FC 80243F7C 46800020 */ cvt.s.w $f0, $f0
/* 804800 80243F80 0C00EABB */ jal get_npc_unsafe
/* 804804 80243F84 E7A00014 */ swc1 $f0, 0x14($sp)
/* 804808 80243F88 3C048007 */ lui $a0, %hi(gCurrentCameraID)
/* 80480C 80243F8C 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
/* 804810 80243F90 3C014334 */ lui $at, 0x4334
/* 804814 80243F94 44816000 */ mtc1 $at, $f12
/* 804818 80243F98 00041880 */ sll $v1, $a0, 2
/* 80481C 80243F9C 00641821 */ addu $v1, $v1, $a0
/* 804820 80243FA0 00031880 */ sll $v1, $v1, 2
/* 804824 80243FA4 00641823 */ subu $v1, $v1, $a0
/* 804828 80243FA8 000320C0 */ sll $a0, $v1, 3
/* 80482C 80243FAC 00641821 */ addu $v1, $v1, $a0
/* 804830 80243FB0 000318C0 */ sll $v1, $v1, 3
/* 804834 80243FB4 3C01800B */ lui $at, 0x800b
/* 804838 80243FB8 00230821 */ addu $at, $at, $v1
/* 80483C 80243FBC C4201DEC */ lwc1 $f0, 0x1dec($at)
/* 804840 80243FC0 460C0300 */ add.s $f12, $f0, $f12
/* 804844 80243FC4 0C00A6C9 */ jal clamp_angle
/* 804848 80243FC8 0040982D */ daddu $s3, $v0, $zero
/* 80484C 80243FCC 27B00010 */ addiu $s0, $sp, 0x10
/* 804850 80243FD0 0200202D */ daddu $a0, $s0, $zero
/* 804854 80243FD4 27B20014 */ addiu $s2, $sp, 0x14
/* 804858 80243FD8 0240282D */ daddu $a1, $s2, $zero
/* 80485C 80243FDC 3C064170 */ lui $a2, 0x4170
/* 804860 80243FE0 8E67000C */ lw $a3, 0xc($s3)
/* 804864 80243FE4 0C00A7E7 */ jal add_vec2D_polar
/* 804868 80243FE8 46000506 */ mov.s $f20, $f0
/* 80486C 80243FEC 0200202D */ daddu $a0, $s0, $zero
/* 804870 80243FF0 3C064120 */ lui $a2, 0x4120
/* 804874 80243FF4 4407A000 */ mfc1 $a3, $f20
/* 804878 80243FF8 0C00A7E7 */ jal add_vec2D_polar
/* 80487C 80243FFC 0240282D */ daddu $a1, $s2, $zero
/* 804880 80244000 0220202D */ daddu $a0, $s1, $zero
/* 804884 80244004 C7A00010 */ lwc1 $f0, 0x10($sp)
/* 804888 80244008 4600008D */ trunc.w.s $f2, $f0
/* 80488C 8024400C 44061000 */ mfc1 $a2, $f2
/* 804890 80244010 0C0B2026 */ jal set_variable
/* 804894 80244014 02C0282D */ daddu $a1, $s6, $zero
/* 804898 80244018 0220202D */ daddu $a0, $s1, $zero
/* 80489C 8024401C 4600B08D */ trunc.w.s $f2, $f22
/* 8048A0 80244020 44061000 */ mfc1 $a2, $f2
/* 8048A4 80244024 0C0B2026 */ jal set_variable
/* 8048A8 80244028 0280282D */ daddu $a1, $s4, $zero
/* 8048AC 8024402C 0220202D */ daddu $a0, $s1, $zero
/* 8048B0 80244030 C7A00014 */ lwc1 $f0, 0x14($sp)
/* 8048B4 80244034 4600008D */ trunc.w.s $f2, $f0
/* 8048B8 80244038 44061000 */ mfc1 $a2, $f2
/* 8048BC 8024403C 0C0B2026 */ jal set_variable
/* 8048C0 80244040 02A0282D */ daddu $a1, $s5, $zero
/* 8048C4 80244044 8FBF0034 */ lw $ra, 0x34($sp)
/* 8048C8 80244048 8FB60030 */ lw $s6, 0x30($sp)
/* 8048CC 8024404C 8FB5002C */ lw $s5, 0x2c($sp)
/* 8048D0 80244050 8FB40028 */ lw $s4, 0x28($sp)
/* 8048D4 80244054 8FB30024 */ lw $s3, 0x24($sp)
/* 8048D8 80244058 8FB20020 */ lw $s2, 0x20($sp)
/* 8048DC 8024405C 8FB1001C */ lw $s1, 0x1c($sp)
/* 8048E0 80244060 8FB00018 */ lw $s0, 0x18($sp)
/* 8048E4 80244064 D7B60040 */ ldc1 $f22, 0x40($sp)
/* 8048E8 80244068 D7B40038 */ ldc1 $f20, 0x38($sp)
/* 8048EC 8024406C 24020002 */ addiu $v0, $zero, 2
/* 8048F0 80244070 03E00008 */ jr $ra
/* 8048F4 80244074 27BD0048 */ addiu $sp, $sp, 0x48

View File

@ -1,103 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802431F4_8264B4
/* 8264B4 802431F4 27BDFFB8 */ addiu $sp, $sp, -0x48
/* 8264B8 802431F8 AFB1001C */ sw $s1, 0x1c($sp)
/* 8264BC 802431FC 0080882D */ daddu $s1, $a0, $zero
/* 8264C0 80243200 AFBF0034 */ sw $ra, 0x34($sp)
/* 8264C4 80243204 AFB60030 */ sw $s6, 0x30($sp)
/* 8264C8 80243208 AFB5002C */ sw $s5, 0x2c($sp)
/* 8264CC 8024320C AFB40028 */ sw $s4, 0x28($sp)
/* 8264D0 80243210 AFB30024 */ sw $s3, 0x24($sp)
/* 8264D4 80243214 AFB20020 */ sw $s2, 0x20($sp)
/* 8264D8 80243218 AFB00018 */ sw $s0, 0x18($sp)
/* 8264DC 8024321C F7B60040 */ sdc1 $f22, 0x40($sp)
/* 8264E0 80243220 F7B40038 */ sdc1 $f20, 0x38($sp)
/* 8264E4 80243224 8E30000C */ lw $s0, 0xc($s1)
/* 8264E8 80243228 8E160000 */ lw $s6, ($s0)
/* 8264EC 8024322C 26100004 */ addiu $s0, $s0, 4
/* 8264F0 80243230 0C0B1EAF */ jal get_variable
/* 8264F4 80243234 02C0282D */ daddu $a1, $s6, $zero
/* 8264F8 80243238 44820000 */ mtc1 $v0, $f0
/* 8264FC 8024323C 00000000 */ nop
/* 826500 80243240 46800020 */ cvt.s.w $f0, $f0
/* 826504 80243244 E7A00010 */ swc1 $f0, 0x10($sp)
/* 826508 80243248 8E140000 */ lw $s4, ($s0)
/* 82650C 8024324C 26100004 */ addiu $s0, $s0, 4
/* 826510 80243250 0220202D */ daddu $a0, $s1, $zero
/* 826514 80243254 0C0B1EAF */ jal get_variable
/* 826518 80243258 0280282D */ daddu $a1, $s4, $zero
/* 82651C 8024325C 0220202D */ daddu $a0, $s1, $zero
/* 826520 80243260 8E150000 */ lw $s5, ($s0)
/* 826524 80243264 4482B000 */ mtc1 $v0, $f22
/* 826528 80243268 00000000 */ nop
/* 82652C 8024326C 4680B5A0 */ cvt.s.w $f22, $f22
/* 826530 80243270 0C0B1EAF */ jal get_variable
/* 826534 80243274 02A0282D */ daddu $a1, $s5, $zero
/* 826538 80243278 2404FFFC */ addiu $a0, $zero, -4
/* 82653C 8024327C 44820000 */ mtc1 $v0, $f0
/* 826540 80243280 00000000 */ nop
/* 826544 80243284 46800020 */ cvt.s.w $f0, $f0
/* 826548 80243288 0C00EABB */ jal get_npc_unsafe
/* 82654C 8024328C E7A00014 */ swc1 $f0, 0x14($sp)
/* 826550 80243290 3C048007 */ lui $a0, %hi(gCurrentCameraID)
/* 826554 80243294 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
/* 826558 80243298 3C014334 */ lui $at, 0x4334
/* 82655C 8024329C 44816000 */ mtc1 $at, $f12
/* 826560 802432A0 00041880 */ sll $v1, $a0, 2
/* 826564 802432A4 00641821 */ addu $v1, $v1, $a0
/* 826568 802432A8 00031880 */ sll $v1, $v1, 2
/* 82656C 802432AC 00641823 */ subu $v1, $v1, $a0
/* 826570 802432B0 000320C0 */ sll $a0, $v1, 3
/* 826574 802432B4 00641821 */ addu $v1, $v1, $a0
/* 826578 802432B8 000318C0 */ sll $v1, $v1, 3
/* 82657C 802432BC 3C01800B */ lui $at, 0x800b
/* 826580 802432C0 00230821 */ addu $at, $at, $v1
/* 826584 802432C4 C4201DEC */ lwc1 $f0, 0x1dec($at)
/* 826588 802432C8 460C0300 */ add.s $f12, $f0, $f12
/* 82658C 802432CC 0C00A6C9 */ jal clamp_angle
/* 826590 802432D0 0040982D */ daddu $s3, $v0, $zero
/* 826594 802432D4 27B00010 */ addiu $s0, $sp, 0x10
/* 826598 802432D8 0200202D */ daddu $a0, $s0, $zero
/* 82659C 802432DC 27B20014 */ addiu $s2, $sp, 0x14
/* 8265A0 802432E0 0240282D */ daddu $a1, $s2, $zero
/* 8265A4 802432E4 3C064170 */ lui $a2, 0x4170
/* 8265A8 802432E8 8E67000C */ lw $a3, 0xc($s3)
/* 8265AC 802432EC 0C00A7E7 */ jal add_vec2D_polar
/* 8265B0 802432F0 46000506 */ mov.s $f20, $f0
/* 8265B4 802432F4 0200202D */ daddu $a0, $s0, $zero
/* 8265B8 802432F8 3C064120 */ lui $a2, 0x4120
/* 8265BC 802432FC 4407A000 */ mfc1 $a3, $f20
/* 8265C0 80243300 0C00A7E7 */ jal add_vec2D_polar
/* 8265C4 80243304 0240282D */ daddu $a1, $s2, $zero
/* 8265C8 80243308 0220202D */ daddu $a0, $s1, $zero
/* 8265CC 8024330C C7A00010 */ lwc1 $f0, 0x10($sp)
/* 8265D0 80243310 4600008D */ trunc.w.s $f2, $f0
/* 8265D4 80243314 44061000 */ mfc1 $a2, $f2
/* 8265D8 80243318 0C0B2026 */ jal set_variable
/* 8265DC 8024331C 02C0282D */ daddu $a1, $s6, $zero
/* 8265E0 80243320 0220202D */ daddu $a0, $s1, $zero
/* 8265E4 80243324 4600B08D */ trunc.w.s $f2, $f22
/* 8265E8 80243328 44061000 */ mfc1 $a2, $f2
/* 8265EC 8024332C 0C0B2026 */ jal set_variable
/* 8265F0 80243330 0280282D */ daddu $a1, $s4, $zero
/* 8265F4 80243334 0220202D */ daddu $a0, $s1, $zero
/* 8265F8 80243338 C7A00014 */ lwc1 $f0, 0x14($sp)
/* 8265FC 8024333C 4600008D */ trunc.w.s $f2, $f0
/* 826600 80243340 44061000 */ mfc1 $a2, $f2
/* 826604 80243344 0C0B2026 */ jal set_variable
/* 826608 80243348 02A0282D */ daddu $a1, $s5, $zero
/* 82660C 8024334C 8FBF0034 */ lw $ra, 0x34($sp)
/* 826610 80243350 8FB60030 */ lw $s6, 0x30($sp)
/* 826614 80243354 8FB5002C */ lw $s5, 0x2c($sp)
/* 826618 80243358 8FB40028 */ lw $s4, 0x28($sp)
/* 82661C 8024335C 8FB30024 */ lw $s3, 0x24($sp)
/* 826620 80243360 8FB20020 */ lw $s2, 0x20($sp)
/* 826624 80243364 8FB1001C */ lw $s1, 0x1c($sp)
/* 826628 80243368 8FB00018 */ lw $s0, 0x18($sp)
/* 82662C 8024336C D7B60040 */ ldc1 $f22, 0x40($sp)
/* 826630 80243370 D7B40038 */ ldc1 $f20, 0x38($sp)
/* 826634 80243374 24020002 */ addiu $v0, $zero, 2
/* 826638 80243378 03E00008 */ jr $ra
/* 82663C 8024337C 27BD0048 */ addiu $sp, $sp, 0x48

View File

@ -1,103 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80241988_833188
/* 833188 80241988 27BDFFB8 */ addiu $sp, $sp, -0x48
/* 83318C 8024198C AFB1001C */ sw $s1, 0x1c($sp)
/* 833190 80241990 0080882D */ daddu $s1, $a0, $zero
/* 833194 80241994 AFBF0034 */ sw $ra, 0x34($sp)
/* 833198 80241998 AFB60030 */ sw $s6, 0x30($sp)
/* 83319C 8024199C AFB5002C */ sw $s5, 0x2c($sp)
/* 8331A0 802419A0 AFB40028 */ sw $s4, 0x28($sp)
/* 8331A4 802419A4 AFB30024 */ sw $s3, 0x24($sp)
/* 8331A8 802419A8 AFB20020 */ sw $s2, 0x20($sp)
/* 8331AC 802419AC AFB00018 */ sw $s0, 0x18($sp)
/* 8331B0 802419B0 F7B60040 */ sdc1 $f22, 0x40($sp)
/* 8331B4 802419B4 F7B40038 */ sdc1 $f20, 0x38($sp)
/* 8331B8 802419B8 8E30000C */ lw $s0, 0xc($s1)
/* 8331BC 802419BC 8E160000 */ lw $s6, ($s0)
/* 8331C0 802419C0 26100004 */ addiu $s0, $s0, 4
/* 8331C4 802419C4 0C0B1EAF */ jal get_variable
/* 8331C8 802419C8 02C0282D */ daddu $a1, $s6, $zero
/* 8331CC 802419CC 44820000 */ mtc1 $v0, $f0
/* 8331D0 802419D0 00000000 */ nop
/* 8331D4 802419D4 46800020 */ cvt.s.w $f0, $f0
/* 8331D8 802419D8 E7A00010 */ swc1 $f0, 0x10($sp)
/* 8331DC 802419DC 8E140000 */ lw $s4, ($s0)
/* 8331E0 802419E0 26100004 */ addiu $s0, $s0, 4
/* 8331E4 802419E4 0220202D */ daddu $a0, $s1, $zero
/* 8331E8 802419E8 0C0B1EAF */ jal get_variable
/* 8331EC 802419EC 0280282D */ daddu $a1, $s4, $zero
/* 8331F0 802419F0 0220202D */ daddu $a0, $s1, $zero
/* 8331F4 802419F4 8E150000 */ lw $s5, ($s0)
/* 8331F8 802419F8 4482B000 */ mtc1 $v0, $f22
/* 8331FC 802419FC 00000000 */ nop
/* 833200 80241A00 4680B5A0 */ cvt.s.w $f22, $f22
/* 833204 80241A04 0C0B1EAF */ jal get_variable
/* 833208 80241A08 02A0282D */ daddu $a1, $s5, $zero
/* 83320C 80241A0C 2404FFFC */ addiu $a0, $zero, -4
/* 833210 80241A10 44820000 */ mtc1 $v0, $f0
/* 833214 80241A14 00000000 */ nop
/* 833218 80241A18 46800020 */ cvt.s.w $f0, $f0
/* 83321C 80241A1C 0C00EABB */ jal get_npc_unsafe
/* 833220 80241A20 E7A00014 */ swc1 $f0, 0x14($sp)
/* 833224 80241A24 3C048007 */ lui $a0, %hi(gCurrentCameraID)
/* 833228 80241A28 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
/* 83322C 80241A2C 3C014334 */ lui $at, 0x4334
/* 833230 80241A30 44816000 */ mtc1 $at, $f12
/* 833234 80241A34 00041880 */ sll $v1, $a0, 2
/* 833238 80241A38 00641821 */ addu $v1, $v1, $a0
/* 83323C 80241A3C 00031880 */ sll $v1, $v1, 2
/* 833240 80241A40 00641823 */ subu $v1, $v1, $a0
/* 833244 80241A44 000320C0 */ sll $a0, $v1, 3
/* 833248 80241A48 00641821 */ addu $v1, $v1, $a0
/* 83324C 80241A4C 000318C0 */ sll $v1, $v1, 3
/* 833250 80241A50 3C01800B */ lui $at, 0x800b
/* 833254 80241A54 00230821 */ addu $at, $at, $v1
/* 833258 80241A58 C4201DEC */ lwc1 $f0, 0x1dec($at)
/* 83325C 80241A5C 460C0300 */ add.s $f12, $f0, $f12
/* 833260 80241A60 0C00A6C9 */ jal clamp_angle
/* 833264 80241A64 0040982D */ daddu $s3, $v0, $zero
/* 833268 80241A68 27B00010 */ addiu $s0, $sp, 0x10
/* 83326C 80241A6C 0200202D */ daddu $a0, $s0, $zero
/* 833270 80241A70 27B20014 */ addiu $s2, $sp, 0x14
/* 833274 80241A74 0240282D */ daddu $a1, $s2, $zero
/* 833278 80241A78 3C064170 */ lui $a2, 0x4170
/* 83327C 80241A7C 8E67000C */ lw $a3, 0xc($s3)
/* 833280 80241A80 0C00A7E7 */ jal add_vec2D_polar
/* 833284 80241A84 46000506 */ mov.s $f20, $f0
/* 833288 80241A88 0200202D */ daddu $a0, $s0, $zero
/* 83328C 80241A8C 3C064120 */ lui $a2, 0x4120
/* 833290 80241A90 4407A000 */ mfc1 $a3, $f20
/* 833294 80241A94 0C00A7E7 */ jal add_vec2D_polar
/* 833298 80241A98 0240282D */ daddu $a1, $s2, $zero
/* 83329C 80241A9C 0220202D */ daddu $a0, $s1, $zero
/* 8332A0 80241AA0 C7A00010 */ lwc1 $f0, 0x10($sp)
/* 8332A4 80241AA4 4600008D */ trunc.w.s $f2, $f0
/* 8332A8 80241AA8 44061000 */ mfc1 $a2, $f2
/* 8332AC 80241AAC 0C0B2026 */ jal set_variable
/* 8332B0 80241AB0 02C0282D */ daddu $a1, $s6, $zero
/* 8332B4 80241AB4 0220202D */ daddu $a0, $s1, $zero
/* 8332B8 80241AB8 4600B08D */ trunc.w.s $f2, $f22
/* 8332BC 80241ABC 44061000 */ mfc1 $a2, $f2
/* 8332C0 80241AC0 0C0B2026 */ jal set_variable
/* 8332C4 80241AC4 0280282D */ daddu $a1, $s4, $zero
/* 8332C8 80241AC8 0220202D */ daddu $a0, $s1, $zero
/* 8332CC 80241ACC C7A00014 */ lwc1 $f0, 0x14($sp)
/* 8332D0 80241AD0 4600008D */ trunc.w.s $f2, $f0
/* 8332D4 80241AD4 44061000 */ mfc1 $a2, $f2
/* 8332D8 80241AD8 0C0B2026 */ jal set_variable
/* 8332DC 80241ADC 02A0282D */ daddu $a1, $s5, $zero
/* 8332E0 80241AE0 8FBF0034 */ lw $ra, 0x34($sp)
/* 8332E4 80241AE4 8FB60030 */ lw $s6, 0x30($sp)
/* 8332E8 80241AE8 8FB5002C */ lw $s5, 0x2c($sp)
/* 8332EC 80241AEC 8FB40028 */ lw $s4, 0x28($sp)
/* 8332F0 80241AF0 8FB30024 */ lw $s3, 0x24($sp)
/* 8332F4 80241AF4 8FB20020 */ lw $s2, 0x20($sp)
/* 8332F8 80241AF8 8FB1001C */ lw $s1, 0x1c($sp)
/* 8332FC 80241AFC 8FB00018 */ lw $s0, 0x18($sp)
/* 833300 80241B00 D7B60040 */ ldc1 $f22, 0x40($sp)
/* 833304 80241B04 D7B40038 */ ldc1 $f20, 0x38($sp)
/* 833308 80241B08 24020002 */ addiu $v0, $zero, 2
/* 83330C 80241B0C 03E00008 */ jr $ra
/* 833310 80241B10 27BD0048 */ addiu $sp, $sp, 0x48

View File

@ -1,103 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80242894_854A04
/* 854A04 80242894 27BDFFB8 */ addiu $sp, $sp, -0x48
/* 854A08 80242898 AFB1001C */ sw $s1, 0x1c($sp)
/* 854A0C 8024289C 0080882D */ daddu $s1, $a0, $zero
/* 854A10 802428A0 AFBF0034 */ sw $ra, 0x34($sp)
/* 854A14 802428A4 AFB60030 */ sw $s6, 0x30($sp)
/* 854A18 802428A8 AFB5002C */ sw $s5, 0x2c($sp)
/* 854A1C 802428AC AFB40028 */ sw $s4, 0x28($sp)
/* 854A20 802428B0 AFB30024 */ sw $s3, 0x24($sp)
/* 854A24 802428B4 AFB20020 */ sw $s2, 0x20($sp)
/* 854A28 802428B8 AFB00018 */ sw $s0, 0x18($sp)
/* 854A2C 802428BC F7B60040 */ sdc1 $f22, 0x40($sp)
/* 854A30 802428C0 F7B40038 */ sdc1 $f20, 0x38($sp)
/* 854A34 802428C4 8E30000C */ lw $s0, 0xc($s1)
/* 854A38 802428C8 8E160000 */ lw $s6, ($s0)
/* 854A3C 802428CC 26100004 */ addiu $s0, $s0, 4
/* 854A40 802428D0 0C0B1EAF */ jal get_variable
/* 854A44 802428D4 02C0282D */ daddu $a1, $s6, $zero
/* 854A48 802428D8 44820000 */ mtc1 $v0, $f0
/* 854A4C 802428DC 00000000 */ nop
/* 854A50 802428E0 46800020 */ cvt.s.w $f0, $f0
/* 854A54 802428E4 E7A00010 */ swc1 $f0, 0x10($sp)
/* 854A58 802428E8 8E140000 */ lw $s4, ($s0)
/* 854A5C 802428EC 26100004 */ addiu $s0, $s0, 4
/* 854A60 802428F0 0220202D */ daddu $a0, $s1, $zero
/* 854A64 802428F4 0C0B1EAF */ jal get_variable
/* 854A68 802428F8 0280282D */ daddu $a1, $s4, $zero
/* 854A6C 802428FC 0220202D */ daddu $a0, $s1, $zero
/* 854A70 80242900 8E150000 */ lw $s5, ($s0)
/* 854A74 80242904 4482B000 */ mtc1 $v0, $f22
/* 854A78 80242908 00000000 */ nop
/* 854A7C 8024290C 4680B5A0 */ cvt.s.w $f22, $f22
/* 854A80 80242910 0C0B1EAF */ jal get_variable
/* 854A84 80242914 02A0282D */ daddu $a1, $s5, $zero
/* 854A88 80242918 2404FFFC */ addiu $a0, $zero, -4
/* 854A8C 8024291C 44820000 */ mtc1 $v0, $f0
/* 854A90 80242920 00000000 */ nop
/* 854A94 80242924 46800020 */ cvt.s.w $f0, $f0
/* 854A98 80242928 0C00EABB */ jal get_npc_unsafe
/* 854A9C 8024292C E7A00014 */ swc1 $f0, 0x14($sp)
/* 854AA0 80242930 3C048007 */ lui $a0, %hi(gCurrentCameraID)
/* 854AA4 80242934 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
/* 854AA8 80242938 3C014334 */ lui $at, 0x4334
/* 854AAC 8024293C 44816000 */ mtc1 $at, $f12
/* 854AB0 80242940 00041880 */ sll $v1, $a0, 2
/* 854AB4 80242944 00641821 */ addu $v1, $v1, $a0
/* 854AB8 80242948 00031880 */ sll $v1, $v1, 2
/* 854ABC 8024294C 00641823 */ subu $v1, $v1, $a0
/* 854AC0 80242950 000320C0 */ sll $a0, $v1, 3
/* 854AC4 80242954 00641821 */ addu $v1, $v1, $a0
/* 854AC8 80242958 000318C0 */ sll $v1, $v1, 3
/* 854ACC 8024295C 3C01800B */ lui $at, 0x800b
/* 854AD0 80242960 00230821 */ addu $at, $at, $v1
/* 854AD4 80242964 C4201DEC */ lwc1 $f0, 0x1dec($at)
/* 854AD8 80242968 460C0300 */ add.s $f12, $f0, $f12
/* 854ADC 8024296C 0C00A6C9 */ jal clamp_angle
/* 854AE0 80242970 0040982D */ daddu $s3, $v0, $zero
/* 854AE4 80242974 27B00010 */ addiu $s0, $sp, 0x10
/* 854AE8 80242978 0200202D */ daddu $a0, $s0, $zero
/* 854AEC 8024297C 27B20014 */ addiu $s2, $sp, 0x14
/* 854AF0 80242980 0240282D */ daddu $a1, $s2, $zero
/* 854AF4 80242984 3C064170 */ lui $a2, 0x4170
/* 854AF8 80242988 8E67000C */ lw $a3, 0xc($s3)
/* 854AFC 8024298C 0C00A7E7 */ jal add_vec2D_polar
/* 854B00 80242990 46000506 */ mov.s $f20, $f0
/* 854B04 80242994 0200202D */ daddu $a0, $s0, $zero
/* 854B08 80242998 3C064120 */ lui $a2, 0x4120
/* 854B0C 8024299C 4407A000 */ mfc1 $a3, $f20
/* 854B10 802429A0 0C00A7E7 */ jal add_vec2D_polar
/* 854B14 802429A4 0240282D */ daddu $a1, $s2, $zero
/* 854B18 802429A8 0220202D */ daddu $a0, $s1, $zero
/* 854B1C 802429AC C7A00010 */ lwc1 $f0, 0x10($sp)
/* 854B20 802429B0 4600008D */ trunc.w.s $f2, $f0
/* 854B24 802429B4 44061000 */ mfc1 $a2, $f2
/* 854B28 802429B8 0C0B2026 */ jal set_variable
/* 854B2C 802429BC 02C0282D */ daddu $a1, $s6, $zero
/* 854B30 802429C0 0220202D */ daddu $a0, $s1, $zero
/* 854B34 802429C4 4600B08D */ trunc.w.s $f2, $f22
/* 854B38 802429C8 44061000 */ mfc1 $a2, $f2
/* 854B3C 802429CC 0C0B2026 */ jal set_variable
/* 854B40 802429D0 0280282D */ daddu $a1, $s4, $zero
/* 854B44 802429D4 0220202D */ daddu $a0, $s1, $zero
/* 854B48 802429D8 C7A00014 */ lwc1 $f0, 0x14($sp)
/* 854B4C 802429DC 4600008D */ trunc.w.s $f2, $f0
/* 854B50 802429E0 44061000 */ mfc1 $a2, $f2
/* 854B54 802429E4 0C0B2026 */ jal set_variable
/* 854B58 802429E8 02A0282D */ daddu $a1, $s5, $zero
/* 854B5C 802429EC 8FBF0034 */ lw $ra, 0x34($sp)
/* 854B60 802429F0 8FB60030 */ lw $s6, 0x30($sp)
/* 854B64 802429F4 8FB5002C */ lw $s5, 0x2c($sp)
/* 854B68 802429F8 8FB40028 */ lw $s4, 0x28($sp)
/* 854B6C 802429FC 8FB30024 */ lw $s3, 0x24($sp)
/* 854B70 80242A00 8FB20020 */ lw $s2, 0x20($sp)
/* 854B74 80242A04 8FB1001C */ lw $s1, 0x1c($sp)
/* 854B78 80242A08 8FB00018 */ lw $s0, 0x18($sp)
/* 854B7C 80242A0C D7B60040 */ ldc1 $f22, 0x40($sp)
/* 854B80 80242A10 D7B40038 */ ldc1 $f20, 0x38($sp)
/* 854B84 80242A14 24020002 */ addiu $v0, $zero, 2
/* 854B88 80242A18 03E00008 */ jr $ra
/* 854B8C 80242A1C 27BD0048 */ addiu $sp, $sp, 0x48

View File

@ -1,103 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80242240_9C7620
/* 9C7620 80242240 27BDFFB8 */ addiu $sp, $sp, -0x48
/* 9C7624 80242244 AFB1001C */ sw $s1, 0x1c($sp)
/* 9C7628 80242248 0080882D */ daddu $s1, $a0, $zero
/* 9C762C 8024224C AFBF0034 */ sw $ra, 0x34($sp)
/* 9C7630 80242250 AFB60030 */ sw $s6, 0x30($sp)
/* 9C7634 80242254 AFB5002C */ sw $s5, 0x2c($sp)
/* 9C7638 80242258 AFB40028 */ sw $s4, 0x28($sp)
/* 9C763C 8024225C AFB30024 */ sw $s3, 0x24($sp)
/* 9C7640 80242260 AFB20020 */ sw $s2, 0x20($sp)
/* 9C7644 80242264 AFB00018 */ sw $s0, 0x18($sp)
/* 9C7648 80242268 F7B60040 */ sdc1 $f22, 0x40($sp)
/* 9C764C 8024226C F7B40038 */ sdc1 $f20, 0x38($sp)
/* 9C7650 80242270 8E30000C */ lw $s0, 0xc($s1)
/* 9C7654 80242274 8E160000 */ lw $s6, ($s0)
/* 9C7658 80242278 26100004 */ addiu $s0, $s0, 4
/* 9C765C 8024227C 0C0B1EAF */ jal get_variable
/* 9C7660 80242280 02C0282D */ daddu $a1, $s6, $zero
/* 9C7664 80242284 44820000 */ mtc1 $v0, $f0
/* 9C7668 80242288 00000000 */ nop
/* 9C766C 8024228C 46800020 */ cvt.s.w $f0, $f0
/* 9C7670 80242290 E7A00010 */ swc1 $f0, 0x10($sp)
/* 9C7674 80242294 8E140000 */ lw $s4, ($s0)
/* 9C7678 80242298 26100004 */ addiu $s0, $s0, 4
/* 9C767C 8024229C 0220202D */ daddu $a0, $s1, $zero
/* 9C7680 802422A0 0C0B1EAF */ jal get_variable
/* 9C7684 802422A4 0280282D */ daddu $a1, $s4, $zero
/* 9C7688 802422A8 0220202D */ daddu $a0, $s1, $zero
/* 9C768C 802422AC 8E150000 */ lw $s5, ($s0)
/* 9C7690 802422B0 4482B000 */ mtc1 $v0, $f22
/* 9C7694 802422B4 00000000 */ nop
/* 9C7698 802422B8 4680B5A0 */ cvt.s.w $f22, $f22
/* 9C769C 802422BC 0C0B1EAF */ jal get_variable
/* 9C76A0 802422C0 02A0282D */ daddu $a1, $s5, $zero
/* 9C76A4 802422C4 2404FFFC */ addiu $a0, $zero, -4
/* 9C76A8 802422C8 44820000 */ mtc1 $v0, $f0
/* 9C76AC 802422CC 00000000 */ nop
/* 9C76B0 802422D0 46800020 */ cvt.s.w $f0, $f0
/* 9C76B4 802422D4 0C00EABB */ jal get_npc_unsafe
/* 9C76B8 802422D8 E7A00014 */ swc1 $f0, 0x14($sp)
/* 9C76BC 802422DC 3C048007 */ lui $a0, %hi(gCurrentCameraID)
/* 9C76C0 802422E0 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
/* 9C76C4 802422E4 3C014334 */ lui $at, 0x4334
/* 9C76C8 802422E8 44816000 */ mtc1 $at, $f12
/* 9C76CC 802422EC 00041880 */ sll $v1, $a0, 2
/* 9C76D0 802422F0 00641821 */ addu $v1, $v1, $a0
/* 9C76D4 802422F4 00031880 */ sll $v1, $v1, 2
/* 9C76D8 802422F8 00641823 */ subu $v1, $v1, $a0
/* 9C76DC 802422FC 000320C0 */ sll $a0, $v1, 3
/* 9C76E0 80242300 00641821 */ addu $v1, $v1, $a0
/* 9C76E4 80242304 000318C0 */ sll $v1, $v1, 3
/* 9C76E8 80242308 3C01800B */ lui $at, 0x800b
/* 9C76EC 8024230C 00230821 */ addu $at, $at, $v1
/* 9C76F0 80242310 C4201DEC */ lwc1 $f0, 0x1dec($at)
/* 9C76F4 80242314 460C0300 */ add.s $f12, $f0, $f12
/* 9C76F8 80242318 0C00A6C9 */ jal clamp_angle
/* 9C76FC 8024231C 0040982D */ daddu $s3, $v0, $zero
/* 9C7700 80242320 27B00010 */ addiu $s0, $sp, 0x10
/* 9C7704 80242324 0200202D */ daddu $a0, $s0, $zero
/* 9C7708 80242328 27B20014 */ addiu $s2, $sp, 0x14
/* 9C770C 8024232C 0240282D */ daddu $a1, $s2, $zero
/* 9C7710 80242330 3C064170 */ lui $a2, 0x4170
/* 9C7714 80242334 8E67000C */ lw $a3, 0xc($s3)
/* 9C7718 80242338 0C00A7E7 */ jal add_vec2D_polar
/* 9C771C 8024233C 46000506 */ mov.s $f20, $f0
/* 9C7720 80242340 0200202D */ daddu $a0, $s0, $zero
/* 9C7724 80242344 3C064120 */ lui $a2, 0x4120
/* 9C7728 80242348 4407A000 */ mfc1 $a3, $f20
/* 9C772C 8024234C 0C00A7E7 */ jal add_vec2D_polar
/* 9C7730 80242350 0240282D */ daddu $a1, $s2, $zero
/* 9C7734 80242354 0220202D */ daddu $a0, $s1, $zero
/* 9C7738 80242358 C7A00010 */ lwc1 $f0, 0x10($sp)
/* 9C773C 8024235C 4600008D */ trunc.w.s $f2, $f0
/* 9C7740 80242360 44061000 */ mfc1 $a2, $f2
/* 9C7744 80242364 0C0B2026 */ jal set_variable
/* 9C7748 80242368 02C0282D */ daddu $a1, $s6, $zero
/* 9C774C 8024236C 0220202D */ daddu $a0, $s1, $zero
/* 9C7750 80242370 4600B08D */ trunc.w.s $f2, $f22
/* 9C7754 80242374 44061000 */ mfc1 $a2, $f2
/* 9C7758 80242378 0C0B2026 */ jal set_variable
/* 9C775C 8024237C 0280282D */ daddu $a1, $s4, $zero
/* 9C7760 80242380 0220202D */ daddu $a0, $s1, $zero
/* 9C7764 80242384 C7A00014 */ lwc1 $f0, 0x14($sp)
/* 9C7768 80242388 4600008D */ trunc.w.s $f2, $f0
/* 9C776C 8024238C 44061000 */ mfc1 $a2, $f2
/* 9C7770 80242390 0C0B2026 */ jal set_variable
/* 9C7774 80242394 02A0282D */ daddu $a1, $s5, $zero
/* 9C7778 80242398 8FBF0034 */ lw $ra, 0x34($sp)
/* 9C777C 8024239C 8FB60030 */ lw $s6, 0x30($sp)
/* 9C7780 802423A0 8FB5002C */ lw $s5, 0x2c($sp)
/* 9C7784 802423A4 8FB40028 */ lw $s4, 0x28($sp)
/* 9C7788 802423A8 8FB30024 */ lw $s3, 0x24($sp)
/* 9C778C 802423AC 8FB20020 */ lw $s2, 0x20($sp)
/* 9C7790 802423B0 8FB1001C */ lw $s1, 0x1c($sp)
/* 9C7794 802423B4 8FB00018 */ lw $s0, 0x18($sp)
/* 9C7798 802423B8 D7B60040 */ ldc1 $f22, 0x40($sp)
/* 9C779C 802423BC D7B40038 */ ldc1 $f20, 0x38($sp)
/* 9C77A0 802423C0 24020002 */ addiu $v0, $zero, 2
/* 9C77A4 802423C4 03E00008 */ jr $ra
/* 9C77A8 802423C8 27BD0048 */ addiu $sp, $sp, 0x48

View File

@ -1,103 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80242DE8_9D9E08
/* 9D9E08 80242DE8 27BDFFB8 */ addiu $sp, $sp, -0x48
/* 9D9E0C 80242DEC AFB1001C */ sw $s1, 0x1c($sp)
/* 9D9E10 80242DF0 0080882D */ daddu $s1, $a0, $zero
/* 9D9E14 80242DF4 AFBF0034 */ sw $ra, 0x34($sp)
/* 9D9E18 80242DF8 AFB60030 */ sw $s6, 0x30($sp)
/* 9D9E1C 80242DFC AFB5002C */ sw $s5, 0x2c($sp)
/* 9D9E20 80242E00 AFB40028 */ sw $s4, 0x28($sp)
/* 9D9E24 80242E04 AFB30024 */ sw $s3, 0x24($sp)
/* 9D9E28 80242E08 AFB20020 */ sw $s2, 0x20($sp)
/* 9D9E2C 80242E0C AFB00018 */ sw $s0, 0x18($sp)
/* 9D9E30 80242E10 F7B60040 */ sdc1 $f22, 0x40($sp)
/* 9D9E34 80242E14 F7B40038 */ sdc1 $f20, 0x38($sp)
/* 9D9E38 80242E18 8E30000C */ lw $s0, 0xc($s1)
/* 9D9E3C 80242E1C 8E160000 */ lw $s6, ($s0)
/* 9D9E40 80242E20 26100004 */ addiu $s0, $s0, 4
/* 9D9E44 80242E24 0C0B1EAF */ jal get_variable
/* 9D9E48 80242E28 02C0282D */ daddu $a1, $s6, $zero
/* 9D9E4C 80242E2C 44820000 */ mtc1 $v0, $f0
/* 9D9E50 80242E30 00000000 */ nop
/* 9D9E54 80242E34 46800020 */ cvt.s.w $f0, $f0
/* 9D9E58 80242E38 E7A00010 */ swc1 $f0, 0x10($sp)
/* 9D9E5C 80242E3C 8E140000 */ lw $s4, ($s0)
/* 9D9E60 80242E40 26100004 */ addiu $s0, $s0, 4
/* 9D9E64 80242E44 0220202D */ daddu $a0, $s1, $zero
/* 9D9E68 80242E48 0C0B1EAF */ jal get_variable
/* 9D9E6C 80242E4C 0280282D */ daddu $a1, $s4, $zero
/* 9D9E70 80242E50 0220202D */ daddu $a0, $s1, $zero
/* 9D9E74 80242E54 8E150000 */ lw $s5, ($s0)
/* 9D9E78 80242E58 4482B000 */ mtc1 $v0, $f22
/* 9D9E7C 80242E5C 00000000 */ nop
/* 9D9E80 80242E60 4680B5A0 */ cvt.s.w $f22, $f22
/* 9D9E84 80242E64 0C0B1EAF */ jal get_variable
/* 9D9E88 80242E68 02A0282D */ daddu $a1, $s5, $zero
/* 9D9E8C 80242E6C 2404FFFC */ addiu $a0, $zero, -4
/* 9D9E90 80242E70 44820000 */ mtc1 $v0, $f0
/* 9D9E94 80242E74 00000000 */ nop
/* 9D9E98 80242E78 46800020 */ cvt.s.w $f0, $f0
/* 9D9E9C 80242E7C 0C00EABB */ jal get_npc_unsafe
/* 9D9EA0 80242E80 E7A00014 */ swc1 $f0, 0x14($sp)
/* 9D9EA4 80242E84 3C048007 */ lui $a0, %hi(gCurrentCameraID)
/* 9D9EA8 80242E88 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
/* 9D9EAC 80242E8C 3C014334 */ lui $at, 0x4334
/* 9D9EB0 80242E90 44816000 */ mtc1 $at, $f12
/* 9D9EB4 80242E94 00041880 */ sll $v1, $a0, 2
/* 9D9EB8 80242E98 00641821 */ addu $v1, $v1, $a0
/* 9D9EBC 80242E9C 00031880 */ sll $v1, $v1, 2
/* 9D9EC0 80242EA0 00641823 */ subu $v1, $v1, $a0
/* 9D9EC4 80242EA4 000320C0 */ sll $a0, $v1, 3
/* 9D9EC8 80242EA8 00641821 */ addu $v1, $v1, $a0
/* 9D9ECC 80242EAC 000318C0 */ sll $v1, $v1, 3
/* 9D9ED0 80242EB0 3C01800B */ lui $at, 0x800b
/* 9D9ED4 80242EB4 00230821 */ addu $at, $at, $v1
/* 9D9ED8 80242EB8 C4201DEC */ lwc1 $f0, 0x1dec($at)
/* 9D9EDC 80242EBC 460C0300 */ add.s $f12, $f0, $f12
/* 9D9EE0 80242EC0 0C00A6C9 */ jal clamp_angle
/* 9D9EE4 80242EC4 0040982D */ daddu $s3, $v0, $zero
/* 9D9EE8 80242EC8 27B00010 */ addiu $s0, $sp, 0x10
/* 9D9EEC 80242ECC 0200202D */ daddu $a0, $s0, $zero
/* 9D9EF0 80242ED0 27B20014 */ addiu $s2, $sp, 0x14
/* 9D9EF4 80242ED4 0240282D */ daddu $a1, $s2, $zero
/* 9D9EF8 80242ED8 3C064170 */ lui $a2, 0x4170
/* 9D9EFC 80242EDC 8E67000C */ lw $a3, 0xc($s3)
/* 9D9F00 80242EE0 0C00A7E7 */ jal add_vec2D_polar
/* 9D9F04 80242EE4 46000506 */ mov.s $f20, $f0
/* 9D9F08 80242EE8 0200202D */ daddu $a0, $s0, $zero
/* 9D9F0C 80242EEC 3C064120 */ lui $a2, 0x4120
/* 9D9F10 80242EF0 4407A000 */ mfc1 $a3, $f20
/* 9D9F14 80242EF4 0C00A7E7 */ jal add_vec2D_polar
/* 9D9F18 80242EF8 0240282D */ daddu $a1, $s2, $zero
/* 9D9F1C 80242EFC 0220202D */ daddu $a0, $s1, $zero
/* 9D9F20 80242F00 C7A00010 */ lwc1 $f0, 0x10($sp)
/* 9D9F24 80242F04 4600008D */ trunc.w.s $f2, $f0
/* 9D9F28 80242F08 44061000 */ mfc1 $a2, $f2
/* 9D9F2C 80242F0C 0C0B2026 */ jal set_variable
/* 9D9F30 80242F10 02C0282D */ daddu $a1, $s6, $zero
/* 9D9F34 80242F14 0220202D */ daddu $a0, $s1, $zero
/* 9D9F38 80242F18 4600B08D */ trunc.w.s $f2, $f22
/* 9D9F3C 80242F1C 44061000 */ mfc1 $a2, $f2
/* 9D9F40 80242F20 0C0B2026 */ jal set_variable
/* 9D9F44 80242F24 0280282D */ daddu $a1, $s4, $zero
/* 9D9F48 80242F28 0220202D */ daddu $a0, $s1, $zero
/* 9D9F4C 80242F2C C7A00014 */ lwc1 $f0, 0x14($sp)
/* 9D9F50 80242F30 4600008D */ trunc.w.s $f2, $f0
/* 9D9F54 80242F34 44061000 */ mfc1 $a2, $f2
/* 9D9F58 80242F38 0C0B2026 */ jal set_variable
/* 9D9F5C 80242F3C 02A0282D */ daddu $a1, $s5, $zero
/* 9D9F60 80242F40 8FBF0034 */ lw $ra, 0x34($sp)
/* 9D9F64 80242F44 8FB60030 */ lw $s6, 0x30($sp)
/* 9D9F68 80242F48 8FB5002C */ lw $s5, 0x2c($sp)
/* 9D9F6C 80242F4C 8FB40028 */ lw $s4, 0x28($sp)
/* 9D9F70 80242F50 8FB30024 */ lw $s3, 0x24($sp)
/* 9D9F74 80242F54 8FB20020 */ lw $s2, 0x20($sp)
/* 9D9F78 80242F58 8FB1001C */ lw $s1, 0x1c($sp)
/* 9D9F7C 80242F5C 8FB00018 */ lw $s0, 0x18($sp)
/* 9D9F80 80242F60 D7B60040 */ ldc1 $f22, 0x40($sp)
/* 9D9F84 80242F64 D7B40038 */ ldc1 $f20, 0x38($sp)
/* 9D9F88 80242F68 24020002 */ addiu $v0, $zero, 2
/* 9D9F8C 80242F6C 03E00008 */ jr $ra
/* 9D9F90 80242F70 27BD0048 */ addiu $sp, $sp, 0x48

View File

@ -1,103 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80240D3C_BBDEDC
/* BBDEDC 80240D3C 27BDFFB8 */ addiu $sp, $sp, -0x48
/* BBDEE0 80240D40 AFB1001C */ sw $s1, 0x1c($sp)
/* BBDEE4 80240D44 0080882D */ daddu $s1, $a0, $zero
/* BBDEE8 80240D48 AFBF0034 */ sw $ra, 0x34($sp)
/* BBDEEC 80240D4C AFB60030 */ sw $s6, 0x30($sp)
/* BBDEF0 80240D50 AFB5002C */ sw $s5, 0x2c($sp)
/* BBDEF4 80240D54 AFB40028 */ sw $s4, 0x28($sp)
/* BBDEF8 80240D58 AFB30024 */ sw $s3, 0x24($sp)
/* BBDEFC 80240D5C AFB20020 */ sw $s2, 0x20($sp)
/* BBDF00 80240D60 AFB00018 */ sw $s0, 0x18($sp)
/* BBDF04 80240D64 F7B60040 */ sdc1 $f22, 0x40($sp)
/* BBDF08 80240D68 F7B40038 */ sdc1 $f20, 0x38($sp)
/* BBDF0C 80240D6C 8E30000C */ lw $s0, 0xc($s1)
/* BBDF10 80240D70 8E160000 */ lw $s6, ($s0)
/* BBDF14 80240D74 26100004 */ addiu $s0, $s0, 4
/* BBDF18 80240D78 0C0B1EAF */ jal get_variable
/* BBDF1C 80240D7C 02C0282D */ daddu $a1, $s6, $zero
/* BBDF20 80240D80 44820000 */ mtc1 $v0, $f0
/* BBDF24 80240D84 00000000 */ nop
/* BBDF28 80240D88 46800020 */ cvt.s.w $f0, $f0
/* BBDF2C 80240D8C E7A00010 */ swc1 $f0, 0x10($sp)
/* BBDF30 80240D90 8E140000 */ lw $s4, ($s0)
/* BBDF34 80240D94 26100004 */ addiu $s0, $s0, 4
/* BBDF38 80240D98 0220202D */ daddu $a0, $s1, $zero
/* BBDF3C 80240D9C 0C0B1EAF */ jal get_variable
/* BBDF40 80240DA0 0280282D */ daddu $a1, $s4, $zero
/* BBDF44 80240DA4 0220202D */ daddu $a0, $s1, $zero
/* BBDF48 80240DA8 8E150000 */ lw $s5, ($s0)
/* BBDF4C 80240DAC 4482B000 */ mtc1 $v0, $f22
/* BBDF50 80240DB0 00000000 */ nop
/* BBDF54 80240DB4 4680B5A0 */ cvt.s.w $f22, $f22
/* BBDF58 80240DB8 0C0B1EAF */ jal get_variable
/* BBDF5C 80240DBC 02A0282D */ daddu $a1, $s5, $zero
/* BBDF60 80240DC0 2404FFFC */ addiu $a0, $zero, -4
/* BBDF64 80240DC4 44820000 */ mtc1 $v0, $f0
/* BBDF68 80240DC8 00000000 */ nop
/* BBDF6C 80240DCC 46800020 */ cvt.s.w $f0, $f0
/* BBDF70 80240DD0 0C00EABB */ jal get_npc_unsafe
/* BBDF74 80240DD4 E7A00014 */ swc1 $f0, 0x14($sp)
/* BBDF78 80240DD8 3C048007 */ lui $a0, %hi(gCurrentCameraID)
/* BBDF7C 80240DDC 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
/* BBDF80 80240DE0 3C014334 */ lui $at, 0x4334
/* BBDF84 80240DE4 44816000 */ mtc1 $at, $f12
/* BBDF88 80240DE8 00041880 */ sll $v1, $a0, 2
/* BBDF8C 80240DEC 00641821 */ addu $v1, $v1, $a0
/* BBDF90 80240DF0 00031880 */ sll $v1, $v1, 2
/* BBDF94 80240DF4 00641823 */ subu $v1, $v1, $a0
/* BBDF98 80240DF8 000320C0 */ sll $a0, $v1, 3
/* BBDF9C 80240DFC 00641821 */ addu $v1, $v1, $a0
/* BBDFA0 80240E00 000318C0 */ sll $v1, $v1, 3
/* BBDFA4 80240E04 3C01800B */ lui $at, 0x800b
/* BBDFA8 80240E08 00230821 */ addu $at, $at, $v1
/* BBDFAC 80240E0C C4201DEC */ lwc1 $f0, 0x1dec($at)
/* BBDFB0 80240E10 460C0300 */ add.s $f12, $f0, $f12
/* BBDFB4 80240E14 0C00A6C9 */ jal clamp_angle
/* BBDFB8 80240E18 0040982D */ daddu $s3, $v0, $zero
/* BBDFBC 80240E1C 27B00010 */ addiu $s0, $sp, 0x10
/* BBDFC0 80240E20 0200202D */ daddu $a0, $s0, $zero
/* BBDFC4 80240E24 27B20014 */ addiu $s2, $sp, 0x14
/* BBDFC8 80240E28 0240282D */ daddu $a1, $s2, $zero
/* BBDFCC 80240E2C 3C064170 */ lui $a2, 0x4170
/* BBDFD0 80240E30 8E67000C */ lw $a3, 0xc($s3)
/* BBDFD4 80240E34 0C00A7E7 */ jal add_vec2D_polar
/* BBDFD8 80240E38 46000506 */ mov.s $f20, $f0
/* BBDFDC 80240E3C 0200202D */ daddu $a0, $s0, $zero
/* BBDFE0 80240E40 3C064120 */ lui $a2, 0x4120
/* BBDFE4 80240E44 4407A000 */ mfc1 $a3, $f20
/* BBDFE8 80240E48 0C00A7E7 */ jal add_vec2D_polar
/* BBDFEC 80240E4C 0240282D */ daddu $a1, $s2, $zero
/* BBDFF0 80240E50 0220202D */ daddu $a0, $s1, $zero
/* BBDFF4 80240E54 C7A00010 */ lwc1 $f0, 0x10($sp)
/* BBDFF8 80240E58 4600008D */ trunc.w.s $f2, $f0
/* BBDFFC 80240E5C 44061000 */ mfc1 $a2, $f2
/* BBE000 80240E60 0C0B2026 */ jal set_variable
/* BBE004 80240E64 02C0282D */ daddu $a1, $s6, $zero
/* BBE008 80240E68 0220202D */ daddu $a0, $s1, $zero
/* BBE00C 80240E6C 4600B08D */ trunc.w.s $f2, $f22
/* BBE010 80240E70 44061000 */ mfc1 $a2, $f2
/* BBE014 80240E74 0C0B2026 */ jal set_variable
/* BBE018 80240E78 0280282D */ daddu $a1, $s4, $zero
/* BBE01C 80240E7C 0220202D */ daddu $a0, $s1, $zero
/* BBE020 80240E80 C7A00014 */ lwc1 $f0, 0x14($sp)
/* BBE024 80240E84 4600008D */ trunc.w.s $f2, $f0
/* BBE028 80240E88 44061000 */ mfc1 $a2, $f2
/* BBE02C 80240E8C 0C0B2026 */ jal set_variable
/* BBE030 80240E90 02A0282D */ daddu $a1, $s5, $zero
/* BBE034 80240E94 8FBF0034 */ lw $ra, 0x34($sp)
/* BBE038 80240E98 8FB60030 */ lw $s6, 0x30($sp)
/* BBE03C 80240E9C 8FB5002C */ lw $s5, 0x2c($sp)
/* BBE040 80240EA0 8FB40028 */ lw $s4, 0x28($sp)
/* BBE044 80240EA4 8FB30024 */ lw $s3, 0x24($sp)
/* BBE048 80240EA8 8FB20020 */ lw $s2, 0x20($sp)
/* BBE04C 80240EAC 8FB1001C */ lw $s1, 0x1c($sp)
/* BBE050 80240EB0 8FB00018 */ lw $s0, 0x18($sp)
/* BBE054 80240EB4 D7B60040 */ ldc1 $f22, 0x40($sp)
/* BBE058 80240EB8 D7B40038 */ ldc1 $f20, 0x38($sp)
/* BBE05C 80240EBC 24020002 */ addiu $v0, $zero, 2
/* BBE060 80240EC0 03E00008 */ jr $ra
/* BBE064 80240EC4 27BD0048 */ addiu $sp, $sp, 0x48

View File

@ -1,103 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802406CC_BC494C
/* BC494C 802406CC 27BDFFB8 */ addiu $sp, $sp, -0x48
/* BC4950 802406D0 AFB1001C */ sw $s1, 0x1c($sp)
/* BC4954 802406D4 0080882D */ daddu $s1, $a0, $zero
/* BC4958 802406D8 AFBF0034 */ sw $ra, 0x34($sp)
/* BC495C 802406DC AFB60030 */ sw $s6, 0x30($sp)
/* BC4960 802406E0 AFB5002C */ sw $s5, 0x2c($sp)
/* BC4964 802406E4 AFB40028 */ sw $s4, 0x28($sp)
/* BC4968 802406E8 AFB30024 */ sw $s3, 0x24($sp)
/* BC496C 802406EC AFB20020 */ sw $s2, 0x20($sp)
/* BC4970 802406F0 AFB00018 */ sw $s0, 0x18($sp)
/* BC4974 802406F4 F7B60040 */ sdc1 $f22, 0x40($sp)
/* BC4978 802406F8 F7B40038 */ sdc1 $f20, 0x38($sp)
/* BC497C 802406FC 8E30000C */ lw $s0, 0xc($s1)
/* BC4980 80240700 8E160000 */ lw $s6, ($s0)
/* BC4984 80240704 26100004 */ addiu $s0, $s0, 4
/* BC4988 80240708 0C0B1EAF */ jal get_variable
/* BC498C 8024070C 02C0282D */ daddu $a1, $s6, $zero
/* BC4990 80240710 44820000 */ mtc1 $v0, $f0
/* BC4994 80240714 00000000 */ nop
/* BC4998 80240718 46800020 */ cvt.s.w $f0, $f0
/* BC499C 8024071C E7A00010 */ swc1 $f0, 0x10($sp)
/* BC49A0 80240720 8E140000 */ lw $s4, ($s0)
/* BC49A4 80240724 26100004 */ addiu $s0, $s0, 4
/* BC49A8 80240728 0220202D */ daddu $a0, $s1, $zero
/* BC49AC 8024072C 0C0B1EAF */ jal get_variable
/* BC49B0 80240730 0280282D */ daddu $a1, $s4, $zero
/* BC49B4 80240734 0220202D */ daddu $a0, $s1, $zero
/* BC49B8 80240738 8E150000 */ lw $s5, ($s0)
/* BC49BC 8024073C 4482B000 */ mtc1 $v0, $f22
/* BC49C0 80240740 00000000 */ nop
/* BC49C4 80240744 4680B5A0 */ cvt.s.w $f22, $f22
/* BC49C8 80240748 0C0B1EAF */ jal get_variable
/* BC49CC 8024074C 02A0282D */ daddu $a1, $s5, $zero
/* BC49D0 80240750 2404FFFC */ addiu $a0, $zero, -4
/* BC49D4 80240754 44820000 */ mtc1 $v0, $f0
/* BC49D8 80240758 00000000 */ nop
/* BC49DC 8024075C 46800020 */ cvt.s.w $f0, $f0
/* BC49E0 80240760 0C00EABB */ jal get_npc_unsafe
/* BC49E4 80240764 E7A00014 */ swc1 $f0, 0x14($sp)
/* BC49E8 80240768 3C048007 */ lui $a0, %hi(gCurrentCameraID)
/* BC49EC 8024076C 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
/* BC49F0 80240770 3C014334 */ lui $at, 0x4334
/* BC49F4 80240774 44816000 */ mtc1 $at, $f12
/* BC49F8 80240778 00041880 */ sll $v1, $a0, 2
/* BC49FC 8024077C 00641821 */ addu $v1, $v1, $a0
/* BC4A00 80240780 00031880 */ sll $v1, $v1, 2
/* BC4A04 80240784 00641823 */ subu $v1, $v1, $a0
/* BC4A08 80240788 000320C0 */ sll $a0, $v1, 3
/* BC4A0C 8024078C 00641821 */ addu $v1, $v1, $a0
/* BC4A10 80240790 000318C0 */ sll $v1, $v1, 3
/* BC4A14 80240794 3C01800B */ lui $at, 0x800b
/* BC4A18 80240798 00230821 */ addu $at, $at, $v1
/* BC4A1C 8024079C C4201DEC */ lwc1 $f0, 0x1dec($at)
/* BC4A20 802407A0 460C0300 */ add.s $f12, $f0, $f12
/* BC4A24 802407A4 0C00A6C9 */ jal clamp_angle
/* BC4A28 802407A8 0040982D */ daddu $s3, $v0, $zero
/* BC4A2C 802407AC 27B00010 */ addiu $s0, $sp, 0x10
/* BC4A30 802407B0 0200202D */ daddu $a0, $s0, $zero
/* BC4A34 802407B4 27B20014 */ addiu $s2, $sp, 0x14
/* BC4A38 802407B8 0240282D */ daddu $a1, $s2, $zero
/* BC4A3C 802407BC 3C064170 */ lui $a2, 0x4170
/* BC4A40 802407C0 8E67000C */ lw $a3, 0xc($s3)
/* BC4A44 802407C4 0C00A7E7 */ jal add_vec2D_polar
/* BC4A48 802407C8 46000506 */ mov.s $f20, $f0
/* BC4A4C 802407CC 0200202D */ daddu $a0, $s0, $zero
/* BC4A50 802407D0 3C064120 */ lui $a2, 0x4120
/* BC4A54 802407D4 4407A000 */ mfc1 $a3, $f20
/* BC4A58 802407D8 0C00A7E7 */ jal add_vec2D_polar
/* BC4A5C 802407DC 0240282D */ daddu $a1, $s2, $zero
/* BC4A60 802407E0 0220202D */ daddu $a0, $s1, $zero
/* BC4A64 802407E4 C7A00010 */ lwc1 $f0, 0x10($sp)
/* BC4A68 802407E8 4600008D */ trunc.w.s $f2, $f0
/* BC4A6C 802407EC 44061000 */ mfc1 $a2, $f2
/* BC4A70 802407F0 0C0B2026 */ jal set_variable
/* BC4A74 802407F4 02C0282D */ daddu $a1, $s6, $zero
/* BC4A78 802407F8 0220202D */ daddu $a0, $s1, $zero
/* BC4A7C 802407FC 4600B08D */ trunc.w.s $f2, $f22
/* BC4A80 80240800 44061000 */ mfc1 $a2, $f2
/* BC4A84 80240804 0C0B2026 */ jal set_variable
/* BC4A88 80240808 0280282D */ daddu $a1, $s4, $zero
/* BC4A8C 8024080C 0220202D */ daddu $a0, $s1, $zero
/* BC4A90 80240810 C7A00014 */ lwc1 $f0, 0x14($sp)
/* BC4A94 80240814 4600008D */ trunc.w.s $f2, $f0
/* BC4A98 80240818 44061000 */ mfc1 $a2, $f2
/* BC4A9C 8024081C 0C0B2026 */ jal set_variable
/* BC4AA0 80240820 02A0282D */ daddu $a1, $s5, $zero
/* BC4AA4 80240824 8FBF0034 */ lw $ra, 0x34($sp)
/* BC4AA8 80240828 8FB60030 */ lw $s6, 0x30($sp)
/* BC4AAC 8024082C 8FB5002C */ lw $s5, 0x2c($sp)
/* BC4AB0 80240830 8FB40028 */ lw $s4, 0x28($sp)
/* BC4AB4 80240834 8FB30024 */ lw $s3, 0x24($sp)
/* BC4AB8 80240838 8FB20020 */ lw $s2, 0x20($sp)
/* BC4ABC 8024083C 8FB1001C */ lw $s1, 0x1c($sp)
/* BC4AC0 80240840 8FB00018 */ lw $s0, 0x18($sp)
/* BC4AC4 80240844 D7B60040 */ ldc1 $f22, 0x40($sp)
/* BC4AC8 80240848 D7B40038 */ ldc1 $f20, 0x38($sp)
/* BC4ACC 8024084C 24020002 */ addiu $v0, $zero, 2
/* BC4AD0 80240850 03E00008 */ jr $ra
/* BC4AD4 80240854 27BD0048 */ addiu $sp, $sp, 0x48

View File

@ -1,103 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802408BC_AB08AC
/* AB08AC 802408BC 27BDFFB8 */ addiu $sp, $sp, -0x48
/* AB08B0 802408C0 AFB1001C */ sw $s1, 0x1c($sp)
/* AB08B4 802408C4 0080882D */ daddu $s1, $a0, $zero
/* AB08B8 802408C8 AFBF0034 */ sw $ra, 0x34($sp)
/* AB08BC 802408CC AFB60030 */ sw $s6, 0x30($sp)
/* AB08C0 802408D0 AFB5002C */ sw $s5, 0x2c($sp)
/* AB08C4 802408D4 AFB40028 */ sw $s4, 0x28($sp)
/* AB08C8 802408D8 AFB30024 */ sw $s3, 0x24($sp)
/* AB08CC 802408DC AFB20020 */ sw $s2, 0x20($sp)
/* AB08D0 802408E0 AFB00018 */ sw $s0, 0x18($sp)
/* AB08D4 802408E4 F7B60040 */ sdc1 $f22, 0x40($sp)
/* AB08D8 802408E8 F7B40038 */ sdc1 $f20, 0x38($sp)
/* AB08DC 802408EC 8E30000C */ lw $s0, 0xc($s1)
/* AB08E0 802408F0 8E160000 */ lw $s6, ($s0)
/* AB08E4 802408F4 26100004 */ addiu $s0, $s0, 4
/* AB08E8 802408F8 0C0B1EAF */ jal get_variable
/* AB08EC 802408FC 02C0282D */ daddu $a1, $s6, $zero
/* AB08F0 80240900 44820000 */ mtc1 $v0, $f0
/* AB08F4 80240904 00000000 */ nop
/* AB08F8 80240908 46800020 */ cvt.s.w $f0, $f0
/* AB08FC 8024090C E7A00010 */ swc1 $f0, 0x10($sp)
/* AB0900 80240910 8E140000 */ lw $s4, ($s0)
/* AB0904 80240914 26100004 */ addiu $s0, $s0, 4
/* AB0908 80240918 0220202D */ daddu $a0, $s1, $zero
/* AB090C 8024091C 0C0B1EAF */ jal get_variable
/* AB0910 80240920 0280282D */ daddu $a1, $s4, $zero
/* AB0914 80240924 0220202D */ daddu $a0, $s1, $zero
/* AB0918 80240928 8E150000 */ lw $s5, ($s0)
/* AB091C 8024092C 4482B000 */ mtc1 $v0, $f22
/* AB0920 80240930 00000000 */ nop
/* AB0924 80240934 4680B5A0 */ cvt.s.w $f22, $f22
/* AB0928 80240938 0C0B1EAF */ jal get_variable
/* AB092C 8024093C 02A0282D */ daddu $a1, $s5, $zero
/* AB0930 80240940 2404FFFC */ addiu $a0, $zero, -4
/* AB0934 80240944 44820000 */ mtc1 $v0, $f0
/* AB0938 80240948 00000000 */ nop
/* AB093C 8024094C 46800020 */ cvt.s.w $f0, $f0
/* AB0940 80240950 0C00EABB */ jal get_npc_unsafe
/* AB0944 80240954 E7A00014 */ swc1 $f0, 0x14($sp)
/* AB0948 80240958 3C048007 */ lui $a0, %hi(gCurrentCameraID)
/* AB094C 8024095C 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
/* AB0950 80240960 3C014334 */ lui $at, 0x4334
/* AB0954 80240964 44816000 */ mtc1 $at, $f12
/* AB0958 80240968 00041880 */ sll $v1, $a0, 2
/* AB095C 8024096C 00641821 */ addu $v1, $v1, $a0
/* AB0960 80240970 00031880 */ sll $v1, $v1, 2
/* AB0964 80240974 00641823 */ subu $v1, $v1, $a0
/* AB0968 80240978 000320C0 */ sll $a0, $v1, 3
/* AB096C 8024097C 00641821 */ addu $v1, $v1, $a0
/* AB0970 80240980 000318C0 */ sll $v1, $v1, 3
/* AB0974 80240984 3C01800B */ lui $at, 0x800b
/* AB0978 80240988 00230821 */ addu $at, $at, $v1
/* AB097C 8024098C C4201DEC */ lwc1 $f0, 0x1dec($at)
/* AB0980 80240990 460C0300 */ add.s $f12, $f0, $f12
/* AB0984 80240994 0C00A6C9 */ jal clamp_angle
/* AB0988 80240998 0040982D */ daddu $s3, $v0, $zero
/* AB098C 8024099C 27B00010 */ addiu $s0, $sp, 0x10
/* AB0990 802409A0 0200202D */ daddu $a0, $s0, $zero
/* AB0994 802409A4 27B20014 */ addiu $s2, $sp, 0x14
/* AB0998 802409A8 0240282D */ daddu $a1, $s2, $zero
/* AB099C 802409AC 3C064170 */ lui $a2, 0x4170
/* AB09A0 802409B0 8E67000C */ lw $a3, 0xc($s3)
/* AB09A4 802409B4 0C00A7E7 */ jal add_vec2D_polar
/* AB09A8 802409B8 46000506 */ mov.s $f20, $f0
/* AB09AC 802409BC 0200202D */ daddu $a0, $s0, $zero
/* AB09B0 802409C0 3C064120 */ lui $a2, 0x4120
/* AB09B4 802409C4 4407A000 */ mfc1 $a3, $f20
/* AB09B8 802409C8 0C00A7E7 */ jal add_vec2D_polar
/* AB09BC 802409CC 0240282D */ daddu $a1, $s2, $zero
/* AB09C0 802409D0 0220202D */ daddu $a0, $s1, $zero
/* AB09C4 802409D4 C7A00010 */ lwc1 $f0, 0x10($sp)
/* AB09C8 802409D8 4600008D */ trunc.w.s $f2, $f0
/* AB09CC 802409DC 44061000 */ mfc1 $a2, $f2
/* AB09D0 802409E0 0C0B2026 */ jal set_variable
/* AB09D4 802409E4 02C0282D */ daddu $a1, $s6, $zero
/* AB09D8 802409E8 0220202D */ daddu $a0, $s1, $zero
/* AB09DC 802409EC 4600B08D */ trunc.w.s $f2, $f22
/* AB09E0 802409F0 44061000 */ mfc1 $a2, $f2
/* AB09E4 802409F4 0C0B2026 */ jal set_variable
/* AB09E8 802409F8 0280282D */ daddu $a1, $s4, $zero
/* AB09EC 802409FC 0220202D */ daddu $a0, $s1, $zero
/* AB09F0 80240A00 C7A00014 */ lwc1 $f0, 0x14($sp)
/* AB09F4 80240A04 4600008D */ trunc.w.s $f2, $f0
/* AB09F8 80240A08 44061000 */ mfc1 $a2, $f2
/* AB09FC 80240A0C 0C0B2026 */ jal set_variable
/* AB0A00 80240A10 02A0282D */ daddu $a1, $s5, $zero
/* AB0A04 80240A14 8FBF0034 */ lw $ra, 0x34($sp)
/* AB0A08 80240A18 8FB60030 */ lw $s6, 0x30($sp)
/* AB0A0C 80240A1C 8FB5002C */ lw $s5, 0x2c($sp)
/* AB0A10 80240A20 8FB40028 */ lw $s4, 0x28($sp)
/* AB0A14 80240A24 8FB30024 */ lw $s3, 0x24($sp)
/* AB0A18 80240A28 8FB20020 */ lw $s2, 0x20($sp)
/* AB0A1C 80240A2C 8FB1001C */ lw $s1, 0x1c($sp)
/* AB0A20 80240A30 8FB00018 */ lw $s0, 0x18($sp)
/* AB0A24 80240A34 D7B60040 */ ldc1 $f22, 0x40($sp)
/* AB0A28 80240A38 D7B40038 */ ldc1 $f20, 0x38($sp)
/* AB0A2C 80240A3C 24020002 */ addiu $v0, $zero, 2
/* AB0A30 80240A40 03E00008 */ jr $ra
/* AB0A34 80240A44 27BD0048 */ addiu $sp, $sp, 0x48

View File

@ -1,103 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80241884_CF93F4
/* CF93F4 80241884 27BDFFB8 */ addiu $sp, $sp, -0x48
/* CF93F8 80241888 AFB1001C */ sw $s1, 0x1c($sp)
/* CF93FC 8024188C 0080882D */ daddu $s1, $a0, $zero
/* CF9400 80241890 AFBF0034 */ sw $ra, 0x34($sp)
/* CF9404 80241894 AFB60030 */ sw $s6, 0x30($sp)
/* CF9408 80241898 AFB5002C */ sw $s5, 0x2c($sp)
/* CF940C 8024189C AFB40028 */ sw $s4, 0x28($sp)
/* CF9410 802418A0 AFB30024 */ sw $s3, 0x24($sp)
/* CF9414 802418A4 AFB20020 */ sw $s2, 0x20($sp)
/* CF9418 802418A8 AFB00018 */ sw $s0, 0x18($sp)
/* CF941C 802418AC F7B60040 */ sdc1 $f22, 0x40($sp)
/* CF9420 802418B0 F7B40038 */ sdc1 $f20, 0x38($sp)
/* CF9424 802418B4 8E30000C */ lw $s0, 0xc($s1)
/* CF9428 802418B8 8E160000 */ lw $s6, ($s0)
/* CF942C 802418BC 26100004 */ addiu $s0, $s0, 4
/* CF9430 802418C0 0C0B1EAF */ jal get_variable
/* CF9434 802418C4 02C0282D */ daddu $a1, $s6, $zero
/* CF9438 802418C8 44820000 */ mtc1 $v0, $f0
/* CF943C 802418CC 00000000 */ nop
/* CF9440 802418D0 46800020 */ cvt.s.w $f0, $f0
/* CF9444 802418D4 E7A00010 */ swc1 $f0, 0x10($sp)
/* CF9448 802418D8 8E140000 */ lw $s4, ($s0)
/* CF944C 802418DC 26100004 */ addiu $s0, $s0, 4
/* CF9450 802418E0 0220202D */ daddu $a0, $s1, $zero
/* CF9454 802418E4 0C0B1EAF */ jal get_variable
/* CF9458 802418E8 0280282D */ daddu $a1, $s4, $zero
/* CF945C 802418EC 0220202D */ daddu $a0, $s1, $zero
/* CF9460 802418F0 8E150000 */ lw $s5, ($s0)
/* CF9464 802418F4 4482B000 */ mtc1 $v0, $f22
/* CF9468 802418F8 00000000 */ nop
/* CF946C 802418FC 4680B5A0 */ cvt.s.w $f22, $f22
/* CF9470 80241900 0C0B1EAF */ jal get_variable
/* CF9474 80241904 02A0282D */ daddu $a1, $s5, $zero
/* CF9478 80241908 2404FFFC */ addiu $a0, $zero, -4
/* CF947C 8024190C 44820000 */ mtc1 $v0, $f0
/* CF9480 80241910 00000000 */ nop
/* CF9484 80241914 46800020 */ cvt.s.w $f0, $f0
/* CF9488 80241918 0C00EABB */ jal get_npc_unsafe
/* CF948C 8024191C E7A00014 */ swc1 $f0, 0x14($sp)
/* CF9490 80241920 3C048007 */ lui $a0, %hi(gCurrentCameraID)
/* CF9494 80241924 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
/* CF9498 80241928 3C014334 */ lui $at, 0x4334
/* CF949C 8024192C 44816000 */ mtc1 $at, $f12
/* CF94A0 80241930 00041880 */ sll $v1, $a0, 2
/* CF94A4 80241934 00641821 */ addu $v1, $v1, $a0
/* CF94A8 80241938 00031880 */ sll $v1, $v1, 2
/* CF94AC 8024193C 00641823 */ subu $v1, $v1, $a0
/* CF94B0 80241940 000320C0 */ sll $a0, $v1, 3
/* CF94B4 80241944 00641821 */ addu $v1, $v1, $a0
/* CF94B8 80241948 000318C0 */ sll $v1, $v1, 3
/* CF94BC 8024194C 3C01800B */ lui $at, 0x800b
/* CF94C0 80241950 00230821 */ addu $at, $at, $v1
/* CF94C4 80241954 C4201DEC */ lwc1 $f0, 0x1dec($at)
/* CF94C8 80241958 460C0300 */ add.s $f12, $f0, $f12
/* CF94CC 8024195C 0C00A6C9 */ jal clamp_angle
/* CF94D0 80241960 0040982D */ daddu $s3, $v0, $zero
/* CF94D4 80241964 27B00010 */ addiu $s0, $sp, 0x10
/* CF94D8 80241968 0200202D */ daddu $a0, $s0, $zero
/* CF94DC 8024196C 27B20014 */ addiu $s2, $sp, 0x14
/* CF94E0 80241970 0240282D */ daddu $a1, $s2, $zero
/* CF94E4 80241974 3C064170 */ lui $a2, 0x4170
/* CF94E8 80241978 8E67000C */ lw $a3, 0xc($s3)
/* CF94EC 8024197C 0C00A7E7 */ jal add_vec2D_polar
/* CF94F0 80241980 46000506 */ mov.s $f20, $f0
/* CF94F4 80241984 0200202D */ daddu $a0, $s0, $zero
/* CF94F8 80241988 3C064120 */ lui $a2, 0x4120
/* CF94FC 8024198C 4407A000 */ mfc1 $a3, $f20
/* CF9500 80241990 0C00A7E7 */ jal add_vec2D_polar
/* CF9504 80241994 0240282D */ daddu $a1, $s2, $zero
/* CF9508 80241998 0220202D */ daddu $a0, $s1, $zero
/* CF950C 8024199C C7A00010 */ lwc1 $f0, 0x10($sp)
/* CF9510 802419A0 4600008D */ trunc.w.s $f2, $f0
/* CF9514 802419A4 44061000 */ mfc1 $a2, $f2
/* CF9518 802419A8 0C0B2026 */ jal set_variable
/* CF951C 802419AC 02C0282D */ daddu $a1, $s6, $zero
/* CF9520 802419B0 0220202D */ daddu $a0, $s1, $zero
/* CF9524 802419B4 4600B08D */ trunc.w.s $f2, $f22
/* CF9528 802419B8 44061000 */ mfc1 $a2, $f2
/* CF952C 802419BC 0C0B2026 */ jal set_variable
/* CF9530 802419C0 0280282D */ daddu $a1, $s4, $zero
/* CF9534 802419C4 0220202D */ daddu $a0, $s1, $zero
/* CF9538 802419C8 C7A00014 */ lwc1 $f0, 0x14($sp)
/* CF953C 802419CC 4600008D */ trunc.w.s $f2, $f0
/* CF9540 802419D0 44061000 */ mfc1 $a2, $f2
/* CF9544 802419D4 0C0B2026 */ jal set_variable
/* CF9548 802419D8 02A0282D */ daddu $a1, $s5, $zero
/* CF954C 802419DC 8FBF0034 */ lw $ra, 0x34($sp)
/* CF9550 802419E0 8FB60030 */ lw $s6, 0x30($sp)
/* CF9554 802419E4 8FB5002C */ lw $s5, 0x2c($sp)
/* CF9558 802419E8 8FB40028 */ lw $s4, 0x28($sp)
/* CF955C 802419EC 8FB30024 */ lw $s3, 0x24($sp)
/* CF9560 802419F0 8FB20020 */ lw $s2, 0x20($sp)
/* CF9564 802419F4 8FB1001C */ lw $s1, 0x1c($sp)
/* CF9568 802419F8 8FB00018 */ lw $s0, 0x18($sp)
/* CF956C 802419FC D7B60040 */ ldc1 $f22, 0x40($sp)
/* CF9570 80241A00 D7B40038 */ ldc1 $f20, 0x38($sp)
/* CF9574 80241A04 24020002 */ addiu $v0, $zero, 2
/* CF9578 80241A08 03E00008 */ jr $ra
/* CF957C 80241A0C 27BD0048 */ addiu $sp, $sp, 0x48

View File

@ -1,103 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8024233C_D221CC
/* D221CC 8024233C 27BDFFB8 */ addiu $sp, $sp, -0x48
/* D221D0 80242340 AFB1001C */ sw $s1, 0x1c($sp)
/* D221D4 80242344 0080882D */ daddu $s1, $a0, $zero
/* D221D8 80242348 AFBF0034 */ sw $ra, 0x34($sp)
/* D221DC 8024234C AFB60030 */ sw $s6, 0x30($sp)
/* D221E0 80242350 AFB5002C */ sw $s5, 0x2c($sp)
/* D221E4 80242354 AFB40028 */ sw $s4, 0x28($sp)
/* D221E8 80242358 AFB30024 */ sw $s3, 0x24($sp)
/* D221EC 8024235C AFB20020 */ sw $s2, 0x20($sp)
/* D221F0 80242360 AFB00018 */ sw $s0, 0x18($sp)
/* D221F4 80242364 F7B60040 */ sdc1 $f22, 0x40($sp)
/* D221F8 80242368 F7B40038 */ sdc1 $f20, 0x38($sp)
/* D221FC 8024236C 8E30000C */ lw $s0, 0xc($s1)
/* D22200 80242370 8E160000 */ lw $s6, ($s0)
/* D22204 80242374 26100004 */ addiu $s0, $s0, 4
/* D22208 80242378 0C0B1EAF */ jal get_variable
/* D2220C 8024237C 02C0282D */ daddu $a1, $s6, $zero
/* D22210 80242380 44820000 */ mtc1 $v0, $f0
/* D22214 80242384 00000000 */ nop
/* D22218 80242388 46800020 */ cvt.s.w $f0, $f0
/* D2221C 8024238C E7A00010 */ swc1 $f0, 0x10($sp)
/* D22220 80242390 8E140000 */ lw $s4, ($s0)
/* D22224 80242394 26100004 */ addiu $s0, $s0, 4
/* D22228 80242398 0220202D */ daddu $a0, $s1, $zero
/* D2222C 8024239C 0C0B1EAF */ jal get_variable
/* D22230 802423A0 0280282D */ daddu $a1, $s4, $zero
/* D22234 802423A4 0220202D */ daddu $a0, $s1, $zero
/* D22238 802423A8 8E150000 */ lw $s5, ($s0)
/* D2223C 802423AC 4482B000 */ mtc1 $v0, $f22
/* D22240 802423B0 00000000 */ nop
/* D22244 802423B4 4680B5A0 */ cvt.s.w $f22, $f22
/* D22248 802423B8 0C0B1EAF */ jal get_variable
/* D2224C 802423BC 02A0282D */ daddu $a1, $s5, $zero
/* D22250 802423C0 2404FFFC */ addiu $a0, $zero, -4
/* D22254 802423C4 44820000 */ mtc1 $v0, $f0
/* D22258 802423C8 00000000 */ nop
/* D2225C 802423CC 46800020 */ cvt.s.w $f0, $f0
/* D22260 802423D0 0C00EABB */ jal get_npc_unsafe
/* D22264 802423D4 E7A00014 */ swc1 $f0, 0x14($sp)
/* D22268 802423D8 3C048007 */ lui $a0, %hi(gCurrentCameraID)
/* D2226C 802423DC 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
/* D22270 802423E0 3C014334 */ lui $at, 0x4334
/* D22274 802423E4 44816000 */ mtc1 $at, $f12
/* D22278 802423E8 00041880 */ sll $v1, $a0, 2
/* D2227C 802423EC 00641821 */ addu $v1, $v1, $a0
/* D22280 802423F0 00031880 */ sll $v1, $v1, 2
/* D22284 802423F4 00641823 */ subu $v1, $v1, $a0
/* D22288 802423F8 000320C0 */ sll $a0, $v1, 3
/* D2228C 802423FC 00641821 */ addu $v1, $v1, $a0
/* D22290 80242400 000318C0 */ sll $v1, $v1, 3
/* D22294 80242404 3C01800B */ lui $at, 0x800b
/* D22298 80242408 00230821 */ addu $at, $at, $v1
/* D2229C 8024240C C4201DEC */ lwc1 $f0, 0x1dec($at)
/* D222A0 80242410 460C0300 */ add.s $f12, $f0, $f12
/* D222A4 80242414 0C00A6C9 */ jal clamp_angle
/* D222A8 80242418 0040982D */ daddu $s3, $v0, $zero
/* D222AC 8024241C 27B00010 */ addiu $s0, $sp, 0x10
/* D222B0 80242420 0200202D */ daddu $a0, $s0, $zero
/* D222B4 80242424 27B20014 */ addiu $s2, $sp, 0x14
/* D222B8 80242428 0240282D */ daddu $a1, $s2, $zero
/* D222BC 8024242C 3C064170 */ lui $a2, 0x4170
/* D222C0 80242430 8E67000C */ lw $a3, 0xc($s3)
/* D222C4 80242434 0C00A7E7 */ jal add_vec2D_polar
/* D222C8 80242438 46000506 */ mov.s $f20, $f0
/* D222CC 8024243C 0200202D */ daddu $a0, $s0, $zero
/* D222D0 80242440 3C064120 */ lui $a2, 0x4120
/* D222D4 80242444 4407A000 */ mfc1 $a3, $f20
/* D222D8 80242448 0C00A7E7 */ jal add_vec2D_polar
/* D222DC 8024244C 0240282D */ daddu $a1, $s2, $zero
/* D222E0 80242450 0220202D */ daddu $a0, $s1, $zero
/* D222E4 80242454 C7A00010 */ lwc1 $f0, 0x10($sp)
/* D222E8 80242458 4600008D */ trunc.w.s $f2, $f0
/* D222EC 8024245C 44061000 */ mfc1 $a2, $f2
/* D222F0 80242460 0C0B2026 */ jal set_variable
/* D222F4 80242464 02C0282D */ daddu $a1, $s6, $zero
/* D222F8 80242468 0220202D */ daddu $a0, $s1, $zero
/* D222FC 8024246C 4600B08D */ trunc.w.s $f2, $f22
/* D22300 80242470 44061000 */ mfc1 $a2, $f2
/* D22304 80242474 0C0B2026 */ jal set_variable
/* D22308 80242478 0280282D */ daddu $a1, $s4, $zero
/* D2230C 8024247C 0220202D */ daddu $a0, $s1, $zero
/* D22310 80242480 C7A00014 */ lwc1 $f0, 0x14($sp)
/* D22314 80242484 4600008D */ trunc.w.s $f2, $f0
/* D22318 80242488 44061000 */ mfc1 $a2, $f2
/* D2231C 8024248C 0C0B2026 */ jal set_variable
/* D22320 80242490 02A0282D */ daddu $a1, $s5, $zero
/* D22324 80242494 8FBF0034 */ lw $ra, 0x34($sp)
/* D22328 80242498 8FB60030 */ lw $s6, 0x30($sp)
/* D2232C 8024249C 8FB5002C */ lw $s5, 0x2c($sp)
/* D22330 802424A0 8FB40028 */ lw $s4, 0x28($sp)
/* D22334 802424A4 8FB30024 */ lw $s3, 0x24($sp)
/* D22338 802424A8 8FB20020 */ lw $s2, 0x20($sp)
/* D2233C 802424AC 8FB1001C */ lw $s1, 0x1c($sp)
/* D22340 802424B0 8FB00018 */ lw $s0, 0x18($sp)
/* D22344 802424B4 D7B60040 */ ldc1 $f22, 0x40($sp)
/* D22348 802424B8 D7B40038 */ ldc1 $f20, 0x38($sp)
/* D2234C 802424BC 24020002 */ addiu $v0, $zero, 2
/* D22350 802424C0 03E00008 */ jr $ra
/* D22354 802424C4 27BD0048 */ addiu $sp, $sp, 0x48

View File

@ -1,103 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802413D4_940984
/* 940984 802413D4 27BDFFB8 */ addiu $sp, $sp, -0x48
/* 940988 802413D8 AFB1001C */ sw $s1, 0x1c($sp)
/* 94098C 802413DC 0080882D */ daddu $s1, $a0, $zero
/* 940990 802413E0 AFBF0034 */ sw $ra, 0x34($sp)
/* 940994 802413E4 AFB60030 */ sw $s6, 0x30($sp)
/* 940998 802413E8 AFB5002C */ sw $s5, 0x2c($sp)
/* 94099C 802413EC AFB40028 */ sw $s4, 0x28($sp)
/* 9409A0 802413F0 AFB30024 */ sw $s3, 0x24($sp)
/* 9409A4 802413F4 AFB20020 */ sw $s2, 0x20($sp)
/* 9409A8 802413F8 AFB00018 */ sw $s0, 0x18($sp)
/* 9409AC 802413FC F7B60040 */ sdc1 $f22, 0x40($sp)
/* 9409B0 80241400 F7B40038 */ sdc1 $f20, 0x38($sp)
/* 9409B4 80241404 8E30000C */ lw $s0, 0xc($s1)
/* 9409B8 80241408 8E160000 */ lw $s6, ($s0)
/* 9409BC 8024140C 26100004 */ addiu $s0, $s0, 4
/* 9409C0 80241410 0C0B1EAF */ jal get_variable
/* 9409C4 80241414 02C0282D */ daddu $a1, $s6, $zero
/* 9409C8 80241418 44820000 */ mtc1 $v0, $f0
/* 9409CC 8024141C 00000000 */ nop
/* 9409D0 80241420 46800020 */ cvt.s.w $f0, $f0
/* 9409D4 80241424 E7A00010 */ swc1 $f0, 0x10($sp)
/* 9409D8 80241428 8E140000 */ lw $s4, ($s0)
/* 9409DC 8024142C 26100004 */ addiu $s0, $s0, 4
/* 9409E0 80241430 0220202D */ daddu $a0, $s1, $zero
/* 9409E4 80241434 0C0B1EAF */ jal get_variable
/* 9409E8 80241438 0280282D */ daddu $a1, $s4, $zero
/* 9409EC 8024143C 0220202D */ daddu $a0, $s1, $zero
/* 9409F0 80241440 8E150000 */ lw $s5, ($s0)
/* 9409F4 80241444 4482B000 */ mtc1 $v0, $f22
/* 9409F8 80241448 00000000 */ nop
/* 9409FC 8024144C 4680B5A0 */ cvt.s.w $f22, $f22
/* 940A00 80241450 0C0B1EAF */ jal get_variable
/* 940A04 80241454 02A0282D */ daddu $a1, $s5, $zero
/* 940A08 80241458 2404FFFC */ addiu $a0, $zero, -4
/* 940A0C 8024145C 44820000 */ mtc1 $v0, $f0
/* 940A10 80241460 00000000 */ nop
/* 940A14 80241464 46800020 */ cvt.s.w $f0, $f0
/* 940A18 80241468 0C00EABB */ jal get_npc_unsafe
/* 940A1C 8024146C E7A00014 */ swc1 $f0, 0x14($sp)
/* 940A20 80241470 3C048007 */ lui $a0, %hi(gCurrentCameraID)
/* 940A24 80241474 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
/* 940A28 80241478 3C014334 */ lui $at, 0x4334
/* 940A2C 8024147C 44816000 */ mtc1 $at, $f12
/* 940A30 80241480 00041880 */ sll $v1, $a0, 2
/* 940A34 80241484 00641821 */ addu $v1, $v1, $a0
/* 940A38 80241488 00031880 */ sll $v1, $v1, 2
/* 940A3C 8024148C 00641823 */ subu $v1, $v1, $a0
/* 940A40 80241490 000320C0 */ sll $a0, $v1, 3
/* 940A44 80241494 00641821 */ addu $v1, $v1, $a0
/* 940A48 80241498 000318C0 */ sll $v1, $v1, 3
/* 940A4C 8024149C 3C01800B */ lui $at, 0x800b
/* 940A50 802414A0 00230821 */ addu $at, $at, $v1
/* 940A54 802414A4 C4201DEC */ lwc1 $f0, 0x1dec($at)
/* 940A58 802414A8 460C0300 */ add.s $f12, $f0, $f12
/* 940A5C 802414AC 0C00A6C9 */ jal clamp_angle
/* 940A60 802414B0 0040982D */ daddu $s3, $v0, $zero
/* 940A64 802414B4 27B00010 */ addiu $s0, $sp, 0x10
/* 940A68 802414B8 0200202D */ daddu $a0, $s0, $zero
/* 940A6C 802414BC 27B20014 */ addiu $s2, $sp, 0x14
/* 940A70 802414C0 0240282D */ daddu $a1, $s2, $zero
/* 940A74 802414C4 3C064170 */ lui $a2, 0x4170
/* 940A78 802414C8 8E67000C */ lw $a3, 0xc($s3)
/* 940A7C 802414CC 0C00A7E7 */ jal add_vec2D_polar
/* 940A80 802414D0 46000506 */ mov.s $f20, $f0
/* 940A84 802414D4 0200202D */ daddu $a0, $s0, $zero
/* 940A88 802414D8 3C064120 */ lui $a2, 0x4120
/* 940A8C 802414DC 4407A000 */ mfc1 $a3, $f20
/* 940A90 802414E0 0C00A7E7 */ jal add_vec2D_polar
/* 940A94 802414E4 0240282D */ daddu $a1, $s2, $zero
/* 940A98 802414E8 0220202D */ daddu $a0, $s1, $zero
/* 940A9C 802414EC C7A00010 */ lwc1 $f0, 0x10($sp)
/* 940AA0 802414F0 4600008D */ trunc.w.s $f2, $f0
/* 940AA4 802414F4 44061000 */ mfc1 $a2, $f2
/* 940AA8 802414F8 0C0B2026 */ jal set_variable
/* 940AAC 802414FC 02C0282D */ daddu $a1, $s6, $zero
/* 940AB0 80241500 0220202D */ daddu $a0, $s1, $zero
/* 940AB4 80241504 4600B08D */ trunc.w.s $f2, $f22
/* 940AB8 80241508 44061000 */ mfc1 $a2, $f2
/* 940ABC 8024150C 0C0B2026 */ jal set_variable
/* 940AC0 80241510 0280282D */ daddu $a1, $s4, $zero
/* 940AC4 80241514 0220202D */ daddu $a0, $s1, $zero
/* 940AC8 80241518 C7A00014 */ lwc1 $f0, 0x14($sp)
/* 940ACC 8024151C 4600008D */ trunc.w.s $f2, $f0
/* 940AD0 80241520 44061000 */ mfc1 $a2, $f2
/* 940AD4 80241524 0C0B2026 */ jal set_variable
/* 940AD8 80241528 02A0282D */ daddu $a1, $s5, $zero
/* 940ADC 8024152C 8FBF0034 */ lw $ra, 0x34($sp)
/* 940AE0 80241530 8FB60030 */ lw $s6, 0x30($sp)
/* 940AE4 80241534 8FB5002C */ lw $s5, 0x2c($sp)
/* 940AE8 80241538 8FB40028 */ lw $s4, 0x28($sp)
/* 940AEC 8024153C 8FB30024 */ lw $s3, 0x24($sp)
/* 940AF0 80241540 8FB20020 */ lw $s2, 0x20($sp)
/* 940AF4 80241544 8FB1001C */ lw $s1, 0x1c($sp)
/* 940AF8 80241548 8FB00018 */ lw $s0, 0x18($sp)
/* 940AFC 8024154C D7B60040 */ ldc1 $f22, 0x40($sp)
/* 940B00 80241550 D7B40038 */ ldc1 $f20, 0x38($sp)
/* 940B04 80241554 24020002 */ addiu $v0, $zero, 2
/* 940B08 80241558 03E00008 */ jr $ra
/* 940B0C 8024155C 27BD0048 */ addiu $sp, $sp, 0x48

View File

@ -1,103 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8024059C_94646C
/* 94646C 8024059C 27BDFFB8 */ addiu $sp, $sp, -0x48
/* 946470 802405A0 AFB1001C */ sw $s1, 0x1c($sp)
/* 946474 802405A4 0080882D */ daddu $s1, $a0, $zero
/* 946478 802405A8 AFBF0034 */ sw $ra, 0x34($sp)
/* 94647C 802405AC AFB60030 */ sw $s6, 0x30($sp)
/* 946480 802405B0 AFB5002C */ sw $s5, 0x2c($sp)
/* 946484 802405B4 AFB40028 */ sw $s4, 0x28($sp)
/* 946488 802405B8 AFB30024 */ sw $s3, 0x24($sp)
/* 94648C 802405BC AFB20020 */ sw $s2, 0x20($sp)
/* 946490 802405C0 AFB00018 */ sw $s0, 0x18($sp)
/* 946494 802405C4 F7B60040 */ sdc1 $f22, 0x40($sp)
/* 946498 802405C8 F7B40038 */ sdc1 $f20, 0x38($sp)
/* 94649C 802405CC 8E30000C */ lw $s0, 0xc($s1)
/* 9464A0 802405D0 8E160000 */ lw $s6, ($s0)
/* 9464A4 802405D4 26100004 */ addiu $s0, $s0, 4
/* 9464A8 802405D8 0C0B1EAF */ jal get_variable
/* 9464AC 802405DC 02C0282D */ daddu $a1, $s6, $zero
/* 9464B0 802405E0 44820000 */ mtc1 $v0, $f0
/* 9464B4 802405E4 00000000 */ nop
/* 9464B8 802405E8 46800020 */ cvt.s.w $f0, $f0
/* 9464BC 802405EC E7A00010 */ swc1 $f0, 0x10($sp)
/* 9464C0 802405F0 8E140000 */ lw $s4, ($s0)
/* 9464C4 802405F4 26100004 */ addiu $s0, $s0, 4
/* 9464C8 802405F8 0220202D */ daddu $a0, $s1, $zero
/* 9464CC 802405FC 0C0B1EAF */ jal get_variable
/* 9464D0 80240600 0280282D */ daddu $a1, $s4, $zero
/* 9464D4 80240604 0220202D */ daddu $a0, $s1, $zero
/* 9464D8 80240608 8E150000 */ lw $s5, ($s0)
/* 9464DC 8024060C 4482B000 */ mtc1 $v0, $f22
/* 9464E0 80240610 00000000 */ nop
/* 9464E4 80240614 4680B5A0 */ cvt.s.w $f22, $f22
/* 9464E8 80240618 0C0B1EAF */ jal get_variable
/* 9464EC 8024061C 02A0282D */ daddu $a1, $s5, $zero
/* 9464F0 80240620 2404FFFC */ addiu $a0, $zero, -4
/* 9464F4 80240624 44820000 */ mtc1 $v0, $f0
/* 9464F8 80240628 00000000 */ nop
/* 9464FC 8024062C 46800020 */ cvt.s.w $f0, $f0
/* 946500 80240630 0C00EABB */ jal get_npc_unsafe
/* 946504 80240634 E7A00014 */ swc1 $f0, 0x14($sp)
/* 946508 80240638 3C048007 */ lui $a0, %hi(gCurrentCameraID)
/* 94650C 8024063C 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
/* 946510 80240640 3C014334 */ lui $at, 0x4334
/* 946514 80240644 44816000 */ mtc1 $at, $f12
/* 946518 80240648 00041880 */ sll $v1, $a0, 2
/* 94651C 8024064C 00641821 */ addu $v1, $v1, $a0
/* 946520 80240650 00031880 */ sll $v1, $v1, 2
/* 946524 80240654 00641823 */ subu $v1, $v1, $a0
/* 946528 80240658 000320C0 */ sll $a0, $v1, 3
/* 94652C 8024065C 00641821 */ addu $v1, $v1, $a0
/* 946530 80240660 000318C0 */ sll $v1, $v1, 3
/* 946534 80240664 3C01800B */ lui $at, 0x800b
/* 946538 80240668 00230821 */ addu $at, $at, $v1
/* 94653C 8024066C C4201DEC */ lwc1 $f0, 0x1dec($at)
/* 946540 80240670 460C0300 */ add.s $f12, $f0, $f12
/* 946544 80240674 0C00A6C9 */ jal clamp_angle
/* 946548 80240678 0040982D */ daddu $s3, $v0, $zero
/* 94654C 8024067C 27B00010 */ addiu $s0, $sp, 0x10
/* 946550 80240680 0200202D */ daddu $a0, $s0, $zero
/* 946554 80240684 27B20014 */ addiu $s2, $sp, 0x14
/* 946558 80240688 0240282D */ daddu $a1, $s2, $zero
/* 94655C 8024068C 3C064170 */ lui $a2, 0x4170
/* 946560 80240690 8E67000C */ lw $a3, 0xc($s3)
/* 946564 80240694 0C00A7E7 */ jal add_vec2D_polar
/* 946568 80240698 46000506 */ mov.s $f20, $f0
/* 94656C 8024069C 0200202D */ daddu $a0, $s0, $zero
/* 946570 802406A0 3C064120 */ lui $a2, 0x4120
/* 946574 802406A4 4407A000 */ mfc1 $a3, $f20
/* 946578 802406A8 0C00A7E7 */ jal add_vec2D_polar
/* 94657C 802406AC 0240282D */ daddu $a1, $s2, $zero
/* 946580 802406B0 0220202D */ daddu $a0, $s1, $zero
/* 946584 802406B4 C7A00010 */ lwc1 $f0, 0x10($sp)
/* 946588 802406B8 4600008D */ trunc.w.s $f2, $f0
/* 94658C 802406BC 44061000 */ mfc1 $a2, $f2
/* 946590 802406C0 0C0B2026 */ jal set_variable
/* 946594 802406C4 02C0282D */ daddu $a1, $s6, $zero
/* 946598 802406C8 0220202D */ daddu $a0, $s1, $zero
/* 94659C 802406CC 4600B08D */ trunc.w.s $f2, $f22
/* 9465A0 802406D0 44061000 */ mfc1 $a2, $f2
/* 9465A4 802406D4 0C0B2026 */ jal set_variable
/* 9465A8 802406D8 0280282D */ daddu $a1, $s4, $zero
/* 9465AC 802406DC 0220202D */ daddu $a0, $s1, $zero
/* 9465B0 802406E0 C7A00014 */ lwc1 $f0, 0x14($sp)
/* 9465B4 802406E4 4600008D */ trunc.w.s $f2, $f0
/* 9465B8 802406E8 44061000 */ mfc1 $a2, $f2
/* 9465BC 802406EC 0C0B2026 */ jal set_variable
/* 9465C0 802406F0 02A0282D */ daddu $a1, $s5, $zero
/* 9465C4 802406F4 8FBF0034 */ lw $ra, 0x34($sp)
/* 9465C8 802406F8 8FB60030 */ lw $s6, 0x30($sp)
/* 9465CC 802406FC 8FB5002C */ lw $s5, 0x2c($sp)
/* 9465D0 80240700 8FB40028 */ lw $s4, 0x28($sp)
/* 9465D4 80240704 8FB30024 */ lw $s3, 0x24($sp)
/* 9465D8 80240708 8FB20020 */ lw $s2, 0x20($sp)
/* 9465DC 8024070C 8FB1001C */ lw $s1, 0x1c($sp)
/* 9465E0 80240710 8FB00018 */ lw $s0, 0x18($sp)
/* 9465E4 80240714 D7B60040 */ ldc1 $f22, 0x40($sp)
/* 9465E8 80240718 D7B40038 */ ldc1 $f20, 0x38($sp)
/* 9465EC 8024071C 24020002 */ addiu $v0, $zero, 2
/* 9465F0 80240720 03E00008 */ jr $ra
/* 9465F4 80240724 27BD0048 */ addiu $sp, $sp, 0x48

View File

@ -88,7 +88,7 @@ INCLUDE_ASM(s32, "world/area_dro/dro_01/95B7E0", func_80242858_95DA58);
#include "world/common/SetManyVars.inc.c"
INCLUDE_ASM(s32, "world/area_dro/dro_01/95B7E0", func_80242E88_95E088);
#include "world/common/UnkYawFunc.inc.c"
INCLUDE_ASM(s32, "world/area_dro/dro_01/95B7E0", func_80243014_95E214);

View File

@ -106,7 +106,7 @@ INCLUDE_ASM(s32, "world/area_dro/dro_02/9694C0", func_80243778_96C938);
#include "world/common/SetManyVars.inc.c"
INCLUDE_ASM(s32, "world/area_dro/dro_02/9694C0", func_80243870_96CA30);
#include "world/common/UnkYawFunc.inc.c"
INCLUDE_ASM(s32, "world/area_dro/dro_02/9694C0", func_802439FC_96CBBC);

View File

@ -16,7 +16,7 @@ INCLUDE_ASM(s32, "world/area_hos/hos_06/A397F0", func_802406E0_A39BC0);
#include "world/common/SetManyVars.inc.c"
INCLUDE_ASM(s32, "world/area_hos/hos_06/A397F0", func_8024086C_A39D4C);
#include "world/common/UnkYawFunc.inc.c"
INCLUDE_ASM(s32, "world/area_hos/hos_06/A397F0", func_802409F8_A39ED8);

View File

@ -24,7 +24,7 @@ INCLUDE_ASM(s32, "world/area_jan/jan_00/B20540", func_802407C4_B20D04);
#include "world/common/SetManyVars.inc.c"
INCLUDE_ASM(s32, "world/area_jan/jan_00/B20540", func_80240950_B20E90);
#include "world/common/UnkYawFunc.inc.c"
INCLUDE_ASM(s32, "world/area_jan/jan_00/B20540", func_80240ADC_B2101C);

View File

@ -126,7 +126,7 @@ INCLUDE_ASM(s32, "world/area_jan/jan_03/B34BD0", func_80242C00_B377D0);
#include "world/common/SetManyVars.inc.c"
INCLUDE_ASM(s32, "world/area_jan/jan_03/B34BD0", func_80242D20_B378F0);
#include "world/common/UnkYawFunc.inc.c"
INCLUDE_ASM(s32, "world/area_jan/jan_03/B34BD0", func_80242EAC_B37A7C);

View File

@ -104,7 +104,7 @@ INCLUDE_ASM(s32, "world/area_kmr/kmr_02/8B0070", func_80242394_8B2404);
#include "world/common/SetManyVars.inc.c"
INCLUDE_ASM(s32, "world/area_kmr/kmr_02/8B0070", func_80242514_8B2584);
#include "world/common/UnkYawFunc.inc.c"
INCLUDE_ASM(s32, "world/area_kmr/kmr_02/8B0070", func_802426A0_8B2710);

View File

@ -46,7 +46,7 @@ INCLUDE_ASM(s32, "world/area_kzn/kzn_02/C5AC20", func_8024239C_C5CADC);
#include "world/common/SetManyVars.inc.c"
INCLUDE_ASM(s32, "world/area_kzn/kzn_02/C5AC20", func_80242528_C5CC68);
#include "world/common/UnkYawFunc.inc.c"
INCLUDE_ASM(s32, "world/area_kzn/kzn_02/C5AC20", func_802426B4_C5CDF4);

View File

@ -58,7 +58,7 @@ INCLUDE_ASM(s32, "world/area_kzn/kzn_03/C61020", func_8024296C_C6367C);
#include "world/common/SetManyVars.inc.c"
INCLUDE_ASM(s32, "world/area_kzn/kzn_03/C61020", func_80242AF8_C63808);
#include "world/common/UnkYawFunc.inc.c"
INCLUDE_ASM(s32, "world/area_kzn/kzn_03/C61020", func_80242C84_C63994);

View File

@ -58,7 +58,7 @@ INCLUDE_ASM(s32, "world/area_kzn/kzn_09/C77D00", func_8024367C_C7A35C);
#include "world/common/SetManyVars.inc.c"
INCLUDE_ASM(s32, "world/area_kzn/kzn_09/C77D00", func_80243808_C7A4E8);
#include "world/common/UnkYawFunc.inc.c"
INCLUDE_ASM(s32, "world/area_kzn/kzn_09/C77D00", func_80243994_C7A674);

View File

@ -58,7 +58,7 @@ INCLUDE_ASM(s32, "world/area_kzn/kzn_17/C85DC0", func_8024296C_C8841C);
#include "world/common/SetManyVars.inc.c"
INCLUDE_ASM(s32, "world/area_kzn/kzn_17/C85DC0", func_80242AF8_C885A8);
#include "world/common/UnkYawFunc.inc.c"
INCLUDE_ASM(s32, "world/area_kzn/kzn_17/C85DC0", func_80242C84_C88734);

View File

@ -48,7 +48,7 @@ INCLUDE_ASM(s32, "world/area_kzn/kzn_19/C8DBB0", func_80241838_C8F3E8);
#include "world/common/SetManyVars.inc.c"
INCLUDE_ASM(s32, "world/area_kzn/kzn_19/C8DBB0", func_802419C4_C8F574);
#include "world/common/UnkYawFunc.inc.c"
INCLUDE_ASM(s32, "world/area_kzn/kzn_19/C8DBB0", func_80241B50_C8F700);

View File

@ -16,7 +16,7 @@ INCLUDE_ASM(s32, "world/area_kzn/kzn_20/C96240", func_802406E0_C96610);
#include "world/common/SetManyVars.inc.c"
INCLUDE_ASM(s32, "world/area_kzn/kzn_20/C96240", func_8024086C_C9679C);
#include "world/common/UnkYawFunc.inc.c"
INCLUDE_ASM(s32, "world/area_kzn/kzn_20/C96240", func_802409F8_C96928);

View File

@ -64,7 +64,7 @@ INCLUDE_ASM(s32, "world/area_mac/mac_00/7EB340", func_80241A18_7EC728);
#include "world/common/SetManyVars.inc.c"
INCLUDE_ASM(ApiStatus, "world/area_mac/mac_00/7EB340", func_80241BA4_7EC8B4, ScriptInstance* script, s32 isInitialCall);
#include "world/common/UnkYawFunc.inc.c"
INCLUDE_ASM(s32, "world/area_mac/mac_00/7EB340", func_80241D30_7ECA40);

View File

@ -40,7 +40,7 @@ INCLUDE_ASM(s32, "world/area_mac/mac_00/7ED280", func_802437D0_7EE4E0);
#include "world/common/SetManyVars.inc.c"
INCLUDE_ASM(s32, "world/area_mac/mac_00/7ED280", func_8024395C_7EE66C);
#include "world/common/UnkYawFunc.inc.c"
INCLUDE_ASM(s32, "world/area_mac/mac_00/7ED280", func_80243AE8_7EE7F8);

View File

@ -124,7 +124,7 @@ INCLUDE_ASM(s32, "world/area_mac/mac_01/8017D0", func_80243D60_8045E0);
#include "world/common/SetManyVars.inc.c"
INCLUDE_ASM(s32, "world/area_mac/mac_01/8017D0", func_80243EEC_80476C);
#include "world/common/UnkYawFunc.inc.c"
INCLUDE_ASM(s32, "world/area_mac/mac_01/8017D0", func_80244078_8048F8);

View File

@ -100,7 +100,7 @@ INCLUDE_ASM(s32, "world/area_mac/mac_02/823BF0", func_802430D0_826390);
#include "world/common/SetManyVars.inc.c"
INCLUDE_ASM(s32, "world/area_mac/mac_02/823BF0", func_802431F4_8264B4);
#include "world/common/UnkYawFunc.inc.c"
INCLUDE_ASM(s32, "world/area_mac/mac_02/823BF0", func_80243380_826640);

View File

@ -64,7 +64,7 @@ INCLUDE_ASM(s32, "world/area_mac/mac_03/831B20", func_802417FC_832FFC);
#include "world/common/SetManyVars.inc.c"
INCLUDE_ASM(s32, "world/area_mac/mac_03/831B20", func_80241988_833188);
#include "world/common/UnkYawFunc.inc.c"
INCLUDE_ASM(s32, "world/area_mac/mac_03/831B20", func_80241B14_833314);

View File

@ -96,7 +96,7 @@ INCLUDE_ASM(s32, "world/area_mac/mac_05/852170", func_80242708_854878);
#include "world/common/SetManyVars.inc.c"
INCLUDE_ASM(s32, "world/area_mac/mac_05/852170", func_80242894_854A04);
#include "world/common/UnkYawFunc.inc.c"
INCLUDE_ASM(s32, "world/area_mac/mac_05/852170", func_80242A20_854B90);

View File

@ -102,7 +102,7 @@ INCLUDE_ASM(s32, "world/area_nok/nok_01/9C53E0", func_802420B4_9C7494);
#include "world/common/SetManyVars.inc.c"
INCLUDE_ASM(s32, "world/area_nok/nok_01/9C53E0", func_80242240_9C7620);
#include "world/common/UnkYawFunc.inc.c"
INCLUDE_ASM(s32, "world/area_nok/nok_01/9C53E0", func_802423CC_9C77AC);

View File

@ -86,7 +86,7 @@ INCLUDE_ASM(s32, "world/area_nok/nok_02/9D7AA0", func_80242C5C_9D9C7C);
#include "world/common/SetManyVars.inc.c"
INCLUDE_ASM(s32, "world/area_nok/nok_02/9D7AA0", func_80242DE8_9D9E08);
#include "world/common/UnkYawFunc.inc.c"
INCLUDE_ASM(s32, "world/area_nok/nok_02/9D7AA0", func_80242F74_9D9F94);

View File

@ -16,7 +16,7 @@ INCLUDE_ASM(s32, "world/area_obk/obk_01/BBD980", func_80240BB0_BBDD50);
#include "world/common/SetManyVars.inc.c"
INCLUDE_ASM(s32, "world/area_obk/obk_01/BBD980", func_80240D3C_BBDEDC);
#include "world/common/UnkYawFunc.inc.c"
INCLUDE_ASM(s32, "world/area_obk/obk_01/BBD980", func_80240EC8_BBE068);

View File

@ -16,7 +16,7 @@ INCLUDE_ASM(s32, "world/area_obk/obk_03/BC43F0", func_80240540_BC47C0);
#include "world/common/SetManyVars.inc.c"
INCLUDE_ASM(s32, "world/area_obk/obk_03/BC43F0", func_802406CC_BC494C);
#include "world/common/UnkYawFunc.inc.c"
INCLUDE_ASM(s32, "world/area_obk/obk_03/BC43F0", func_80240858_BC4AD8);

View File

@ -16,7 +16,7 @@ INCLUDE_ASM(s32, "world/area_osr/osr_01/AB0350", func_80240730_AB0720);
#include "world/common/SetManyVars.inc.c"
INCLUDE_ASM(s32, "world/area_osr/osr_01/AB0350", func_802408BC_AB08AC);
#include "world/common/UnkYawFunc.inc.c"
INCLUDE_ASM(s32, "world/area_osr/osr_01/AB0350", func_80240A48_AB0A38);

View File

@ -64,7 +64,7 @@ INCLUDE_ASM(s32, "world/area_sam/sam_01/CF7E80", func_80241764_CF92D4);
#include "world/common/SetManyVars.inc.c"
INCLUDE_ASM(s32, "world/area_sam/sam_01/CF7E80", func_80241884_CF93F4);
#include "world/common/UnkYawFunc.inc.c"
INCLUDE_ASM(s32, "world/area_sam/sam_01/CF7E80", func_80241A10_CF9580);

View File

@ -60,7 +60,7 @@ INCLUDE_ASM(s32, "world/area_sam/sam_06/D203E0", func_80242244_D220D4);
#include "world/common/SetManyVars.inc.c"
INCLUDE_ASM(s32, "world/area_sam/sam_06/D203E0", func_8024233C_D221CC);
#include "world/common/UnkYawFunc.inc.c"
INCLUDE_ASM(s32, "world/area_sam/sam_06/D203E0", func_802424C8_D22358);

View File

@ -46,7 +46,7 @@ INCLUDE_ASM(s32, "world/area_sbk/sbk_30/93F5B0", func_80241248_9407F8);
#include "world/common/SetManyVars.inc.c"
INCLUDE_ASM(s32, "world/area_sbk/sbk_30/93F5B0", func_802413D4_940984);
#include "world/common/UnkYawFunc.inc.c"
INCLUDE_ASM(s32, "world/area_sbk/sbk_30/93F5B0", func_80241560_940B10);

View File

@ -16,7 +16,7 @@ INCLUDE_ASM(s32, "world/area_sbk/sbk_34/945F10", func_80240410_9462E0);
#include "world/common/SetManyVars.inc.c"
INCLUDE_ASM(s32, "world/area_sbk/sbk_34/945F10", func_8024059C_94646C);
#include "world/common/UnkYawFunc.inc.c"
INCLUDE_ASM(s32, "world/area_sbk/sbk_34/945F10", func_80240728_9465F8);

View File

@ -0,0 +1,22 @@
#include "common.h"
static ApiStatus UnkYawFunc(ScriptInstance* script, s32 isInitialCall) {
Bytecode* args = script->ptrReadPos;
s32 a0 = *args++;
f32 a = get_variable(script, a0);
s32 a1 = *args++;
f32 b = get_variable(script, a1);
s32 a2 = *args++;
f32 c = get_variable(script, a2);
Npc* partner = get_npc_unsafe(NpcId_PARTNER);
f32 currentCamYaw = clamp_angle(CURRENT_CAM->currentYaw + 180.0f);
add_vec2D_polar(&a, &c, 15.0f, partner->yaw);
add_vec2D_polar(&a, &c, 10.0f, currentCamYaw);
set_variable(script, a0, a);
set_variable(script, a1, b);
set_variable(script, a2, c);
return ApiStatus_DONE2;
}