mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 08:52:40 +01:00
Merge pull request #127 from ethteck/cornucopia
Oft-Duplicated Map Funcs
This commit is contained in:
commit
0db14af7a9
4
Makefile
4
Makefile
@ -78,6 +78,10 @@ endif
|
||||
|
||||
include sources.mk
|
||||
|
||||
ifeq ($(PERMUTER),1)
|
||||
override OBJECTS:=$(filter %.c.o, $(OBJECTS))
|
||||
endif
|
||||
|
||||
%.d: ;
|
||||
|
||||
ifeq ($(WATCH_INCLUDES),1)
|
||||
|
@ -19,15 +19,15 @@ glabel func_802E8A58
|
||||
/* 10A310 802E8A90 080BA2B2 */ j .L802E8AC8
|
||||
/* 10A314 802E8A94 00000000 */ nop
|
||||
.L802E8A98:
|
||||
/* 10A318 802E8A98 3C028016 */ lui $v0, 0x8016
|
||||
/* 10A31C 802E8A9C 8442A552 */ lh $v0, -0x5aae($v0)
|
||||
/* 10A318 802E8A98 3C028016 */ lui $v0, %hi(gCollisionStatus+0x2)
|
||||
/* 10A31C 802E8A9C 8442A552 */ lh $v0, %lo(gCollisionStatus+0x2)($v0)
|
||||
/* 10A320 802E8AA0 1840000B */ blez $v0, .L802E8AD0
|
||||
/* 10A324 802E8AA4 24020001 */ addiu $v0, $zero, 1
|
||||
/* 10A328 802E8AA8 080BA2B4 */ j .L802E8AD0
|
||||
/* 10A32C 802E8AAC ACA20004 */ sw $v0, 4($a1)
|
||||
.L802E8AB0:
|
||||
/* 10A330 802E8AB0 3C028016 */ lui $v0, 0x8016
|
||||
/* 10A334 802E8AB4 8442A552 */ lh $v0, -0x5aae($v0)
|
||||
/* 10A330 802E8AB0 3C028016 */ lui $v0, %hi(gCollisionStatus+0x2)
|
||||
/* 10A334 802E8AB4 8442A552 */ lh $v0, %lo(gCollisionStatus+0x2)($v0)
|
||||
/* 10A338 802E8AB8 04410005 */ bgez $v0, .L802E8AD0
|
||||
/* 10A33C 802E8ABC 24020002 */ addiu $v0, $zero, 2
|
||||
/* 10A340 802E8AC0 080BA2B4 */ j .L802E8AD0
|
||||
|
@ -1,79 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802E9050
|
||||
/* 10A8D0 802E9050 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 10A8D4 802E9054 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 10A8D8 802E9058 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 10A8DC 802E905C AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 10A8E0 802E9060 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 10A8E4 802E9064 F7B40020 */ sdc1 $f20, 0x20($sp)
|
||||
/* 10A8E8 802E9068 C6000064 */ lwc1 $f0, 0x64($s0)
|
||||
/* 10A8EC 802E906C 3C014334 */ lui $at, 0x4334
|
||||
/* 10A8F0 802E9070 44816000 */ mtc1 $at, $f12
|
||||
/* 10A8F4 802E9074 0C00A6C9 */ jal clamp_angle
|
||||
/* 10A8F8 802E9078 46006301 */ sub.s $f12, $f12, $f0
|
||||
/* 10A8FC 802E907C 3C118011 */ lui $s1, %hi(gPlayerStatus)
|
||||
/* 10A900 802E9080 2631EFC8 */ addiu $s1, $s1, %lo(gPlayerStatus)
|
||||
/* 10A904 802E9084 C60C0048 */ lwc1 $f12, 0x48($s0)
|
||||
/* 10A908 802E9088 C60E0050 */ lwc1 $f14, 0x50($s0)
|
||||
/* 10A90C 802E908C 8E260028 */ lw $a2, 0x28($s1)
|
||||
/* 10A910 802E9090 8E270030 */ lw $a3, 0x30($s1)
|
||||
/* 10A914 802E9094 0C00A720 */ jal atan2
|
||||
/* 10A918 802E9098 46000506 */ mov.s $f20, $f0
|
||||
/* 10A91C 802E909C 0C00A6C9 */ jal clamp_angle
|
||||
/* 10A920 802E90A0 46000306 */ mov.s $f12, $f0
|
||||
/* 10A924 802E90A4 4600A501 */ sub.s $f20, $f20, $f0
|
||||
/* 10A928 802E90A8 8E220004 */ lw $v0, 4($s1)
|
||||
/* 10A92C 802E90AC 30420001 */ andi $v0, $v0, 1
|
||||
/* 10A930 802E90B0 14400022 */ bnez $v0, .L802E913C
|
||||
/* 10A934 802E90B4 4600A505 */ abs.s $f20, $f20
|
||||
/* 10A938 802E90B8 92020006 */ lbu $v0, 6($s0)
|
||||
/* 10A93C 802E90BC 30420001 */ andi $v0, $v0, 1
|
||||
/* 10A940 802E90C0 1440001E */ bnez $v0, .L802E913C
|
||||
/* 10A944 802E90C4 00000000 */ nop
|
||||
/* 10A948 802E90C8 3C014220 */ lui $at, 0x4220
|
||||
/* 10A94C 802E90CC 44810000 */ mtc1 $at, $f0
|
||||
/* 10A950 802E90D0 00000000 */ nop
|
||||
/* 10A954 802E90D4 4600A03E */ c.le.s $f20, $f0
|
||||
/* 10A958 802E90D8 00000000 */ nop
|
||||
/* 10A95C 802E90DC 45010008 */ bc1t .L802E9100
|
||||
/* 10A960 802E90E0 00000000 */ nop
|
||||
/* 10A964 802E90E4 3C0143A0 */ lui $at, 0x43a0
|
||||
/* 10A968 802E90E8 44810000 */ mtc1 $at, $f0
|
||||
/* 10A96C 802E90EC 00000000 */ nop
|
||||
/* 10A970 802E90F0 4614003E */ c.le.s $f0, $f20
|
||||
/* 10A974 802E90F4 00000000 */ nop
|
||||
/* 10A978 802E90F8 45000010 */ bc1f .L802E913C
|
||||
/* 10A97C 802E90FC 00000000 */ nop
|
||||
.L802E9100:
|
||||
/* 10A980 802E9100 8E020000 */ lw $v0, ($s0)
|
||||
/* 10A984 802E9104 34421000 */ ori $v0, $v0, 0x1000
|
||||
/* 10A988 802E9108 AE020000 */ sw $v0, ($s0)
|
||||
/* 10A98C 802E910C 8E220004 */ lw $v0, 4($s1)
|
||||
/* 10A990 802E9110 30420010 */ andi $v0, $v0, 0x10
|
||||
/* 10A994 802E9114 1040000F */ beqz $v0, .L802E9154
|
||||
/* 10A998 802E9118 00000000 */ nop
|
||||
/* 10A99C 802E911C 92020006 */ lbu $v0, 6($s0)
|
||||
/* 10A9A0 802E9120 30420008 */ andi $v0, $v0, 8
|
||||
/* 10A9A4 802E9124 1040000B */ beqz $v0, .L802E9154
|
||||
/* 10A9A8 802E9128 00000000 */ nop
|
||||
/* 10A9AC 802E912C 0C04419E */ jal func_80110678
|
||||
/* 10A9B0 802E9130 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 10A9B4 802E9134 080BA455 */ j .L802E9154
|
||||
/* 10A9B8 802E9138 00000000 */ nop
|
||||
.L802E913C:
|
||||
/* 10A9BC 802E913C 8E020000 */ lw $v0, ($s0)
|
||||
/* 10A9C0 802E9140 2403EFFF */ addiu $v1, $zero, -0x1001
|
||||
/* 10A9C4 802E9144 00431024 */ and $v0, $v0, $v1
|
||||
/* 10A9C8 802E9148 AE020000 */ sw $v0, ($s0)
|
||||
/* 10A9CC 802E914C 2402FFFF */ addiu $v0, $zero, -1
|
||||
/* 10A9D0 802E9150 A62200C6 */ sh $v0, 0xc6($s1)
|
||||
.L802E9154:
|
||||
/* 10A9D4 802E9154 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 10A9D8 802E9158 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 10A9DC 802E915C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 10A9E0 802E9160 D7B40020 */ ldc1 $f20, 0x20($sp)
|
||||
/* 10A9E4 802E9164 03E00008 */ jr $ra
|
||||
/* 10A9E8 802E9168 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
/* 10A9EC 802E916C 00000000 */ nop
|
@ -39,7 +39,7 @@ glabel ActorSpeak
|
||||
/* 181898 80252FB8 AC22FA70 */ sw $v0, %lo(gSpeakingActorIdleAnim)($at)
|
||||
/* 18189C 80252FBC 2402FF81 */ addiu $v0, $zero, -0x7f
|
||||
/* 1818A0 80252FC0 16420002 */ bne $s2, $v0, .L80252FCC
|
||||
/* 1818A4 80252FC4 00000000 */ nop
|
||||
/* 1818A4 80252FC4 00000000 */ nop
|
||||
/* 1818A8 80252FC8 8E720148 */ lw $s2, 0x148($s3)
|
||||
.L80252FCC:
|
||||
/* 1818AC 80252FCC 0C09A75B */ jal get_actor
|
||||
@ -57,7 +57,7 @@ glabel ActorSpeak
|
||||
/* 1818DC 80252FFC 3C01802A */ lui $at, %hi(gSpeakingActorPart)
|
||||
/* 1818E0 80253000 AC32FA78 */ sw $s2, %lo(gSpeakingActorPart)($at)
|
||||
/* 1818E4 80253004 44831000 */ mtc1 $v1, $f2
|
||||
/* 1818E8 80253008 00000000 */ nop
|
||||
/* 1818E8 80253008 00000000 */ nop
|
||||
/* 1818EC 8025300C 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* 1818F0 80253010 30428000 */ andi $v0, $v0, 0x8000
|
||||
/* 1818F4 80253014 1440000D */ bnez $v0, .L8025304C
|
||||
@ -65,12 +65,12 @@ glabel ActorSpeak
|
||||
/* 1818FC 8025301C 86220152 */ lh $v0, 0x152($s1)
|
||||
/* 181900 80253020 C6200148 */ lwc1 $f0, 0x148($s1)
|
||||
/* 181904 80253024 44821000 */ mtc1 $v0, $f2
|
||||
/* 181908 80253028 00000000 */ nop
|
||||
/* 181908 80253028 00000000 */ nop
|
||||
/* 18190C 8025302C 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* 181910 80253030 92220191 */ lbu $v0, 0x191($s1)
|
||||
/* 181914 80253034 46020000 */ add.s $f0, $f0, $f2
|
||||
/* 181918 80253038 44821000 */ mtc1 $v0, $f2
|
||||
/* 18191C 8025303C 00000000 */ nop
|
||||
/* 18191C 8025303C 00000000 */ nop
|
||||
/* 181920 80253040 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* 181924 80253044 08094C1F */ j .L8025307C
|
||||
/* 181928 80253048 46001000 */ add.s $f0, $f2, $f0
|
||||
@ -78,13 +78,13 @@ glabel ActorSpeak
|
||||
/* 18192C 8025304C 86220152 */ lh $v0, 0x152($s1)
|
||||
/* 181930 80253050 C6220148 */ lwc1 $f2, 0x148($s1)
|
||||
/* 181934 80253054 44820000 */ mtc1 $v0, $f0
|
||||
/* 181938 80253058 00000000 */ nop
|
||||
/* 181938 80253058 00000000 */ nop
|
||||
/* 18193C 8025305C 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 181940 80253060 92220191 */ lbu $v0, 0x191($s1)
|
||||
/* 181944 80253064 46001080 */ add.s $f2, $f2, $f0
|
||||
/* 181948 80253068 00021042 */ srl $v0, $v0, 1
|
||||
/* 18194C 8025306C 44820000 */ mtc1 $v0, $f0
|
||||
/* 181950 80253070 00000000 */ nop
|
||||
/* 181950 80253070 00000000 */ nop
|
||||
/* 181954 80253074 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 181958 80253078 46001000 */ add.s $f0, $f2, $f0
|
||||
.L8025307C:
|
||||
@ -96,7 +96,7 @@ glabel ActorSpeak
|
||||
/* 181970 80253090 27A20020 */ addiu $v0, $sp, 0x20
|
||||
/* 181974 80253094 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* 181978 80253098 44830000 */ mtc1 $v1, $f0
|
||||
/* 18197C 8025309C 00000000 */ nop
|
||||
/* 18197C 8025309C 00000000 */ nop
|
||||
/* 181980 802530A0 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 181984 802530A4 46001080 */ add.s $f2, $f2, $f0
|
||||
/* 181988 802530A8 27A20024 */ addiu $v0, $sp, 0x24
|
||||
@ -116,7 +116,7 @@ glabel ActorSpeak
|
||||
/* 1819C0 802530E0 3C01802A */ lui $at, %hi(gSpeakingActorPrintCtx)
|
||||
/* 1819C4 802530E4 AC24FA60 */ sw $a0, %lo(gSpeakingActorPrintCtx)($at)
|
||||
/* 1819C8 802530E8 0C0496AE */ jal clamp_printer_coords
|
||||
/* 1819CC 802530EC 00000000 */ nop
|
||||
/* 1819CC 802530EC 00000000 */ nop
|
||||
/* 1819D0 802530F0 3C03800A */ lui $v1, %hi(D_8009A650)
|
||||
/* 1819D4 802530F4 2463A650 */ addiu $v1, $v1, %lo(D_8009A650)
|
||||
/* 1819D8 802530F8 AE600070 */ sw $zero, 0x70($s3)
|
||||
@ -131,7 +131,7 @@ glabel ActorSpeak
|
||||
/* 1819FC 8025311C 0240282D */ daddu $a1, $s2, $zero
|
||||
.L80253120:
|
||||
/* 181A00 80253120 0C03A6D5 */ jal increment_status_menu_disabled
|
||||
/* 181A04 80253124 00000000 */ nop
|
||||
/* 181A04 80253124 00000000 */ nop
|
||||
.L80253128:
|
||||
/* 181A08 80253128 8E620070 */ lw $v0, 0x70($s3)
|
||||
/* 181A0C 8025312C 14400060 */ bnez $v0, .L802532B0
|
||||
@ -143,7 +143,7 @@ glabel ActorSpeak
|
||||
/* 181A24 80253144 86220150 */ lh $v0, 0x150($s1)
|
||||
/* 181A28 80253148 C6200144 */ lwc1 $f0, 0x144($s1)
|
||||
/* 181A2C 8025314C 44821000 */ mtc1 $v0, $f2
|
||||
/* 181A30 80253150 00000000 */ nop
|
||||
/* 181A30 80253150 00000000 */ nop
|
||||
/* 181A34 80253154 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* 181A38 80253158 8E220000 */ lw $v0, ($s1)
|
||||
/* 181A3C 8025315C 30428000 */ andi $v0, $v0, 0x8000
|
||||
@ -152,12 +152,12 @@ glabel ActorSpeak
|
||||
/* 181A48 80253168 86220152 */ lh $v0, 0x152($s1)
|
||||
/* 181A4C 8025316C C6200148 */ lwc1 $f0, 0x148($s1)
|
||||
/* 181A50 80253170 44821000 */ mtc1 $v0, $f2
|
||||
/* 181A54 80253174 00000000 */ nop
|
||||
/* 181A54 80253174 00000000 */ nop
|
||||
/* 181A58 80253178 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* 181A5C 8025317C 92220191 */ lbu $v0, 0x191($s1)
|
||||
/* 181A60 80253180 46020000 */ add.s $f0, $f0, $f2
|
||||
/* 181A64 80253184 44821000 */ mtc1 $v0, $f2
|
||||
/* 181A68 80253188 00000000 */ nop
|
||||
/* 181A68 80253188 00000000 */ nop
|
||||
/* 181A6C 8025318C 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* 181A70 80253190 08094C72 */ j .L802531C8
|
||||
/* 181A74 80253194 46001000 */ add.s $f0, $f2, $f0
|
||||
@ -165,13 +165,13 @@ glabel ActorSpeak
|
||||
/* 181A78 80253198 86220152 */ lh $v0, 0x152($s1)
|
||||
/* 181A7C 8025319C C6220148 */ lwc1 $f2, 0x148($s1)
|
||||
/* 181A80 802531A0 44820000 */ mtc1 $v0, $f0
|
||||
/* 181A84 802531A4 00000000 */ nop
|
||||
/* 181A84 802531A4 00000000 */ nop
|
||||
/* 181A88 802531A8 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 181A8C 802531AC 92220191 */ lbu $v0, 0x191($s1)
|
||||
/* 181A90 802531B0 46001080 */ add.s $f2, $f2, $f0
|
||||
/* 181A94 802531B4 00021042 */ srl $v0, $v0, 1
|
||||
/* 181A98 802531B8 44820000 */ mtc1 $v0, $f0
|
||||
/* 181A9C 802531BC 00000000 */ nop
|
||||
/* 181A9C 802531BC 00000000 */ nop
|
||||
/* 181AA0 802531C0 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 181AA4 802531C4 46001000 */ add.s $f0, $f2, $f0
|
||||
.L802531C8:
|
||||
@ -183,7 +183,7 @@ glabel ActorSpeak
|
||||
/* 181ABC 802531DC 27A20020 */ addiu $v0, $sp, 0x20
|
||||
/* 181AC0 802531E0 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* 181AC4 802531E4 44830000 */ mtc1 $v1, $f0
|
||||
/* 181AC8 802531E8 00000000 */ nop
|
||||
/* 181AC8 802531E8 00000000 */ nop
|
||||
/* 181ACC 802531EC 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 181AD0 802531F0 46001080 */ add.s $f2, $f2, $f0
|
||||
/* 181AD4 802531F4 27A20024 */ addiu $v0, $sp, 0x24
|
||||
@ -204,16 +204,16 @@ glabel ActorSpeak
|
||||
/* 181B10 80253230 10400005 */ beqz $v0, .L80253248
|
||||
/* 181B14 80253234 30620080 */ andi $v0, $v1, 0x80
|
||||
/* 181B18 80253238 0C03A6CC */ jal decrement_status_menu_disabled
|
||||
/* 181B1C 8025323C 00000000 */ nop
|
||||
/* 181B1C 8025323C 00000000 */ nop
|
||||
/* 181B20 80253240 08094CAC */ j .L802532B0
|
||||
/* 181B24 80253244 24020001 */ addiu $v0, $zero, 1
|
||||
.L80253248:
|
||||
/* 181B28 80253248 10400005 */ beqz $v0, .L80253260
|
||||
/* 181B2C 8025324C 00000000 */ nop
|
||||
/* 181B2C 8025324C 00000000 */ nop
|
||||
/* 181B30 80253250 3C06802A */ lui $a2, %hi(gSpeakingActorTalkAnim)
|
||||
/* 181B34 80253254 8CC6FA6C */ lw $a2, %lo(gSpeakingActorTalkAnim)($a2)
|
||||
/* 181B38 80253258 08094C9A */ j .L80253268
|
||||
/* 181B3C 8025325C 00000000 */ nop
|
||||
/* 181B3C 8025325C 00000000 */ nop
|
||||
.L80253260:
|
||||
/* 181B40 80253260 3C06802A */ lui $a2, %hi(gSpeakingActorIdleAnim)
|
||||
/* 181B44 80253264 8CC6FA70 */ lw $a2, %lo(gSpeakingActorIdleAnim)($a2)
|
||||
@ -229,7 +229,7 @@ glabel ActorSpeak
|
||||
/* 181B64 80253284 1462000A */ bne $v1, $v0, .L802532B0
|
||||
/* 181B68 80253288 0000102D */ daddu $v0, $zero, $zero
|
||||
/* 181B6C 8025328C 0C03A6CC */ jal decrement_status_menu_disabled
|
||||
/* 181B70 80253290 00000000 */ nop
|
||||
/* 181B70 80253290 00000000 */ nop
|
||||
/* 181B74 80253294 24020001 */ addiu $v0, $zero, 1
|
||||
/* 181B78 80253298 3C03800A */ lui $v1, %hi(D_8009A650)
|
||||
/* 181B7C 8025329C 2463A650 */ addiu $v1, $v1, %lo(D_8009A650)
|
||||
|
@ -1,59 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel AddGoalPos
|
||||
/* 199028 8026A748 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
/* 19902C 8026A74C AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 199030 8026A750 0080902D */ daddu $s2, $a0, $zero
|
||||
/* 199034 8026A754 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 199038 8026A758 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 19903C 8026A75C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 199040 8026A760 F7B80030 */ sdc1 $f24, 0x30($sp)
|
||||
/* 199044 8026A764 F7B60028 */ sdc1 $f22, 0x28($sp)
|
||||
/* 199048 8026A768 F7B40020 */ sdc1 $f20, 0x20($sp)
|
||||
/* 19904C 8026A76C 8E50000C */ lw $s0, 0xc($s2)
|
||||
/* 199050 8026A770 8E050000 */ lw $a1, ($s0)
|
||||
/* 199054 8026A774 0C0B1EAF */ jal get_variable
|
||||
/* 199058 8026A778 26100004 */ addiu $s0, $s0, 4
|
||||
/* 19905C 8026A77C 0040882D */ daddu $s1, $v0, $zero
|
||||
/* 199060 8026A780 2402FF81 */ addiu $v0, $zero, -0x7f
|
||||
/* 199064 8026A784 16220002 */ bne $s1, $v0, .L8026A790
|
||||
/* 199068 8026A788 00000000 */ nop
|
||||
/* 19906C 8026A78C 8E510148 */ lw $s1, 0x148($s2)
|
||||
.L8026A790:
|
||||
/* 199070 8026A790 8E050000 */ lw $a1, ($s0)
|
||||
/* 199074 8026A794 26100004 */ addiu $s0, $s0, 4
|
||||
/* 199078 8026A798 0C0B210B */ jal get_float_variable
|
||||
/* 19907C 8026A79C 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 199080 8026A7A0 8E050000 */ lw $a1, ($s0)
|
||||
/* 199084 8026A7A4 26100004 */ addiu $s0, $s0, 4
|
||||
/* 199088 8026A7A8 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 19908C 8026A7AC 0C0B210B */ jal get_float_variable
|
||||
/* 199090 8026A7B0 46000606 */ mov.s $f24, $f0
|
||||
/* 199094 8026A7B4 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 199098 8026A7B8 8E050000 */ lw $a1, ($s0)
|
||||
/* 19909C 8026A7BC 0C0B210B */ jal get_float_variable
|
||||
/* 1990A0 8026A7C0 46000506 */ mov.s $f20, $f0
|
||||
/* 1990A4 8026A7C4 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 1990A8 8026A7C8 0C09A75B */ jal get_actor
|
||||
/* 1990AC 8026A7CC 46000586 */ mov.s $f22, $f0
|
||||
/* 1990B0 8026A7D0 0040182D */ daddu $v1, $v0, $zero
|
||||
/* 1990B4 8026A7D4 C4640018 */ lwc1 $f4, 0x18($v1)
|
||||
/* 1990B8 8026A7D8 46182100 */ add.s $f4, $f4, $f24
|
||||
/* 1990BC 8026A7DC C462001C */ lwc1 $f2, 0x1c($v1)
|
||||
/* 1990C0 8026A7E0 46141080 */ add.s $f2, $f2, $f20
|
||||
/* 1990C4 8026A7E4 C4600020 */ lwc1 $f0, 0x20($v1)
|
||||
/* 1990C8 8026A7E8 46160000 */ add.s $f0, $f0, $f22
|
||||
/* 1990CC 8026A7EC E4640018 */ swc1 $f4, 0x18($v1)
|
||||
/* 1990D0 8026A7F0 E462001C */ swc1 $f2, 0x1c($v1)
|
||||
/* 1990D4 8026A7F4 E4600020 */ swc1 $f0, 0x20($v1)
|
||||
/* 1990D8 8026A7F8 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 1990DC 8026A7FC 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 1990E0 8026A800 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 1990E4 8026A804 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 1990E8 8026A808 D7B80030 */ ldc1 $f24, 0x30($sp)
|
||||
/* 1990EC 8026A80C D7B60028 */ ldc1 $f22, 0x28($sp)
|
||||
/* 1990F0 8026A810 D7B40020 */ ldc1 $f20, 0x20($sp)
|
||||
/* 1990F4 8026A814 24020002 */ addiu $v0, $zero, 2
|
||||
/* 1990F8 8026A818 03E00008 */ jr $ra
|
||||
/* 1990FC 8026A81C 27BD0038 */ addiu $sp, $sp, 0x38
|
@ -1,56 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel GetActorPos
|
||||
/* 199388 8026AAA8 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 19938C 8026AAAC AFB40020 */ sw $s4, 0x20($sp)
|
||||
/* 199390 8026AAB0 0080A02D */ daddu $s4, $a0, $zero
|
||||
/* 199394 8026AAB4 AFBF0024 */ sw $ra, 0x24($sp)
|
||||
/* 199398 8026AAB8 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 19939C 8026AABC AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 1993A0 8026AAC0 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 1993A4 8026AAC4 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 1993A8 8026AAC8 8E92000C */ lw $s2, 0xc($s4)
|
||||
/* 1993AC 8026AACC 8E450000 */ lw $a1, ($s2)
|
||||
/* 1993B0 8026AAD0 0C0B1EAF */ jal get_variable
|
||||
/* 1993B4 8026AAD4 26520004 */ addiu $s2, $s2, 4
|
||||
/* 1993B8 8026AAD8 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 1993BC 8026AADC 2402FF81 */ addiu $v0, $zero, -0x7f
|
||||
/* 1993C0 8026AAE0 14820002 */ bne $a0, $v0, .L8026AAEC
|
||||
/* 1993C4 8026AAE4 00000000 */ nop
|
||||
/* 1993C8 8026AAE8 8E840148 */ lw $a0, 0x148($s4)
|
||||
.L8026AAEC:
|
||||
/* 1993CC 8026AAEC 0C09A75B */ jal get_actor
|
||||
/* 1993D0 8026AAF0 00000000 */ nop
|
||||
/* 1993D4 8026AAF4 8E450000 */ lw $a1, ($s2)
|
||||
/* 1993D8 8026AAF8 26520004 */ addiu $s2, $s2, 4
|
||||
/* 1993DC 8026AAFC C4400144 */ lwc1 $f0, 0x144($v0)
|
||||
/* 1993E0 8026AB00 C442014C */ lwc1 $f2, 0x14c($v0)
|
||||
/* 1993E4 8026AB04 8E500000 */ lw $s0, ($s2)
|
||||
/* 1993E8 8026AB08 4600010D */ trunc.w.s $f4, $f0
|
||||
/* 1993EC 8026AB0C 44062000 */ mfc1 $a2, $f4
|
||||
/* 1993F0 8026AB10 C4400148 */ lwc1 $f0, 0x148($v0)
|
||||
/* 1993F4 8026AB14 8E520004 */ lw $s2, 4($s2)
|
||||
/* 1993F8 8026AB18 4600010D */ trunc.w.s $f4, $f0
|
||||
/* 1993FC 8026AB1C 44112000 */ mfc1 $s1, $f4
|
||||
/* 199400 8026AB20 4600110D */ trunc.w.s $f4, $f2
|
||||
/* 199404 8026AB24 44132000 */ mfc1 $s3, $f4
|
||||
/* 199408 8026AB28 0C0B2026 */ jal set_variable
|
||||
/* 19940C 8026AB2C 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 199410 8026AB30 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 199414 8026AB34 0200282D */ daddu $a1, $s0, $zero
|
||||
/* 199418 8026AB38 0C0B2026 */ jal set_variable
|
||||
/* 19941C 8026AB3C 0220302D */ daddu $a2, $s1, $zero
|
||||
/* 199420 8026AB40 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 199424 8026AB44 0240282D */ daddu $a1, $s2, $zero
|
||||
/* 199428 8026AB48 0C0B2026 */ jal set_variable
|
||||
/* 19942C 8026AB4C 0260302D */ daddu $a2, $s3, $zero
|
||||
/* 199430 8026AB50 8FBF0024 */ lw $ra, 0x24($sp)
|
||||
/* 199434 8026AB54 8FB40020 */ lw $s4, 0x20($sp)
|
||||
/* 199438 8026AB58 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* 19943C 8026AB5C 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 199440 8026AB60 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 199444 8026AB64 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 199448 8026AB68 24020002 */ addiu $v0, $zero, 2
|
||||
/* 19944C 8026AB6C 03E00008 */ jr $ra
|
||||
/* 199450 8026AB70 27BD0028 */ addiu $sp, $sp, 0x28
|
@ -1,56 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel GetGoalPos
|
||||
/* 199100 8026A820 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 199104 8026A824 AFB40020 */ sw $s4, 0x20($sp)
|
||||
/* 199108 8026A828 0080A02D */ daddu $s4, $a0, $zero
|
||||
/* 19910C 8026A82C AFBF0024 */ sw $ra, 0x24($sp)
|
||||
/* 199110 8026A830 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 199114 8026A834 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 199118 8026A838 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 19911C 8026A83C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 199120 8026A840 8E92000C */ lw $s2, 0xc($s4)
|
||||
/* 199124 8026A844 8E450000 */ lw $a1, ($s2)
|
||||
/* 199128 8026A848 0C0B1EAF */ jal get_variable
|
||||
/* 19912C 8026A84C 26520004 */ addiu $s2, $s2, 4
|
||||
/* 199130 8026A850 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 199134 8026A854 2402FF81 */ addiu $v0, $zero, -0x7f
|
||||
/* 199138 8026A858 14820002 */ bne $a0, $v0, .L8026A864
|
||||
/* 19913C 8026A85C 00000000 */ nop
|
||||
/* 199140 8026A860 8E840148 */ lw $a0, 0x148($s4)
|
||||
.L8026A864:
|
||||
/* 199144 8026A864 0C09A75B */ jal get_actor
|
||||
/* 199148 8026A868 00000000 */ nop
|
||||
/* 19914C 8026A86C 8E450000 */ lw $a1, ($s2)
|
||||
/* 199150 8026A870 26520004 */ addiu $s2, $s2, 4
|
||||
/* 199154 8026A874 C4400018 */ lwc1 $f0, 0x18($v0)
|
||||
/* 199158 8026A878 C4420020 */ lwc1 $f2, 0x20($v0)
|
||||
/* 19915C 8026A87C 8E500000 */ lw $s0, ($s2)
|
||||
/* 199160 8026A880 4600010D */ trunc.w.s $f4, $f0
|
||||
/* 199164 8026A884 44062000 */ mfc1 $a2, $f4
|
||||
/* 199168 8026A888 C440001C */ lwc1 $f0, 0x1c($v0)
|
||||
/* 19916C 8026A88C 8E520004 */ lw $s2, 4($s2)
|
||||
/* 199170 8026A890 4600010D */ trunc.w.s $f4, $f0
|
||||
/* 199174 8026A894 44112000 */ mfc1 $s1, $f4
|
||||
/* 199178 8026A898 4600110D */ trunc.w.s $f4, $f2
|
||||
/* 19917C 8026A89C 44132000 */ mfc1 $s3, $f4
|
||||
/* 199180 8026A8A0 0C0B2026 */ jal set_variable
|
||||
/* 199184 8026A8A4 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 199188 8026A8A8 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 19918C 8026A8AC 0200282D */ daddu $a1, $s0, $zero
|
||||
/* 199190 8026A8B0 0C0B2026 */ jal set_variable
|
||||
/* 199194 8026A8B4 0220302D */ daddu $a2, $s1, $zero
|
||||
/* 199198 8026A8B8 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 19919C 8026A8BC 0240282D */ daddu $a1, $s2, $zero
|
||||
/* 1991A0 8026A8C0 0C0B2026 */ jal set_variable
|
||||
/* 1991A4 8026A8C4 0260302D */ daddu $a2, $s3, $zero
|
||||
/* 1991A8 8026A8C8 8FBF0024 */ lw $ra, 0x24($sp)
|
||||
/* 1991AC 8026A8CC 8FB40020 */ lw $s4, 0x20($sp)
|
||||
/* 1991B0 8026A8D0 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* 1991B4 8026A8D4 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 1991B8 8026A8D8 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 1991BC 8026A8DC 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 1991C0 8026A8E0 24020002 */ addiu $v0, $zero, 2
|
||||
/* 1991C4 8026A8E4 03E00008 */ jr $ra
|
||||
/* 1991C8 8026A8E8 27BD0028 */ addiu $sp, $sp, 0x28
|
@ -1,56 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel GetIdleGoal
|
||||
/* 1991CC 8026A8EC 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 1991D0 8026A8F0 AFB40020 */ sw $s4, 0x20($sp)
|
||||
/* 1991D4 8026A8F4 0080A02D */ daddu $s4, $a0, $zero
|
||||
/* 1991D8 8026A8F8 AFBF0024 */ sw $ra, 0x24($sp)
|
||||
/* 1991DC 8026A8FC AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 1991E0 8026A900 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 1991E4 8026A904 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 1991E8 8026A908 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 1991EC 8026A90C 8E92000C */ lw $s2, 0xc($s4)
|
||||
/* 1991F0 8026A910 8E450000 */ lw $a1, ($s2)
|
||||
/* 1991F4 8026A914 0C0B1EAF */ jal get_variable
|
||||
/* 1991F8 8026A918 26520004 */ addiu $s2, $s2, 4
|
||||
/* 1991FC 8026A91C 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 199200 8026A920 2402FF81 */ addiu $v0, $zero, -0x7f
|
||||
/* 199204 8026A924 14820002 */ bne $a0, $v0, .L8026A930
|
||||
/* 199208 8026A928 00000000 */ nop
|
||||
/* 19920C 8026A92C 8E840148 */ lw $a0, 0x148($s4)
|
||||
.L8026A930:
|
||||
/* 199210 8026A930 0C09A75B */ jal get_actor
|
||||
/* 199214 8026A934 00000000 */ nop
|
||||
/* 199218 8026A938 8E450000 */ lw $a1, ($s2)
|
||||
/* 19921C 8026A93C 26520004 */ addiu $s2, $s2, 4
|
||||
/* 199220 8026A940 C44000D4 */ lwc1 $f0, 0xd4($v0)
|
||||
/* 199224 8026A944 C44200DC */ lwc1 $f2, 0xdc($v0)
|
||||
/* 199228 8026A948 8E500000 */ lw $s0, ($s2)
|
||||
/* 19922C 8026A94C 4600010D */ trunc.w.s $f4, $f0
|
||||
/* 199230 8026A950 44062000 */ mfc1 $a2, $f4
|
||||
/* 199234 8026A954 C44000D8 */ lwc1 $f0, 0xd8($v0)
|
||||
/* 199238 8026A958 8E520004 */ lw $s2, 4($s2)
|
||||
/* 19923C 8026A95C 4600010D */ trunc.w.s $f4, $f0
|
||||
/* 199240 8026A960 44112000 */ mfc1 $s1, $f4
|
||||
/* 199244 8026A964 4600110D */ trunc.w.s $f4, $f2
|
||||
/* 199248 8026A968 44132000 */ mfc1 $s3, $f4
|
||||
/* 19924C 8026A96C 0C0B2026 */ jal set_variable
|
||||
/* 199250 8026A970 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 199254 8026A974 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 199258 8026A978 0200282D */ daddu $a1, $s0, $zero
|
||||
/* 19925C 8026A97C 0C0B2026 */ jal set_variable
|
||||
/* 199260 8026A980 0220302D */ daddu $a2, $s1, $zero
|
||||
/* 199264 8026A984 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 199268 8026A988 0240282D */ daddu $a1, $s2, $zero
|
||||
/* 19926C 8026A98C 0C0B2026 */ jal set_variable
|
||||
/* 199270 8026A990 0260302D */ daddu $a2, $s3, $zero
|
||||
/* 199274 8026A994 8FBF0024 */ lw $ra, 0x24($sp)
|
||||
/* 199278 8026A998 8FB40020 */ lw $s4, 0x20($sp)
|
||||
/* 19927C 8026A99C 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* 199280 8026A9A0 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 199284 8026A9A4 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 199288 8026A9A8 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 19928C 8026A9AC 24020002 */ addiu $v0, $zero, 2
|
||||
/* 199290 8026A9B0 03E00008 */ jr $ra
|
||||
/* 199294 8026A9B4 27BD0028 */ addiu $sp, $sp, 0x28
|
@ -1,65 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel GetPartTarget
|
||||
/* 199298 8026A9B8 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 19929C 8026A9BC AFB40020 */ sw $s4, 0x20($sp)
|
||||
/* 1992A0 8026A9C0 0080A02D */ daddu $s4, $a0, $zero
|
||||
/* 1992A4 8026A9C4 AFBF0024 */ sw $ra, 0x24($sp)
|
||||
/* 1992A8 8026A9C8 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 1992AC 8026A9CC AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 1992B0 8026A9D0 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 1992B4 8026A9D4 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 1992B8 8026A9D8 8E92000C */ lw $s2, 0xc($s4)
|
||||
/* 1992BC 8026A9DC 8E450000 */ lw $a1, ($s2)
|
||||
/* 1992C0 8026A9E0 0C0B1EAF */ jal get_variable
|
||||
/* 1992C4 8026A9E4 26520004 */ addiu $s2, $s2, 4
|
||||
/* 1992C8 8026A9E8 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 1992CC 8026A9EC 8E450000 */ lw $a1, ($s2)
|
||||
/* 1992D0 8026A9F0 26520004 */ addiu $s2, $s2, 4
|
||||
/* 1992D4 8026A9F4 0C0B1EAF */ jal get_variable
|
||||
/* 1992D8 8026A9F8 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 1992DC 8026A9FC 0040882D */ daddu $s1, $v0, $zero
|
||||
/* 1992E0 8026AA00 2402FF81 */ addiu $v0, $zero, -0x7f
|
||||
/* 1992E4 8026AA04 16020002 */ bne $s0, $v0, .L8026AA10
|
||||
/* 1992E8 8026AA08 00000000 */ nop
|
||||
/* 1992EC 8026AA0C 8E900148 */ lw $s0, 0x148($s4)
|
||||
.L8026AA10:
|
||||
/* 1992F0 8026AA10 0C09A75B */ jal get_actor
|
||||
/* 1992F4 8026AA14 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 1992F8 8026AA18 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 1992FC 8026AA1C 0C099117 */ jal get_actor_part
|
||||
/* 199300 8026AA20 0220282D */ daddu $a1, $s1, $zero
|
||||
/* 199304 8026AA24 8E450000 */ lw $a1, ($s2)
|
||||
/* 199308 8026AA28 26520004 */ addiu $s2, $s2, 4
|
||||
/* 19930C 8026AA2C 8C420010 */ lw $v0, 0x10($v0)
|
||||
/* 199310 8026AA30 8E500000 */ lw $s0, ($s2)
|
||||
/* 199314 8026AA34 C440000C */ lwc1 $f0, 0xc($v0)
|
||||
/* 199318 8026AA38 8E520004 */ lw $s2, 4($s2)
|
||||
/* 19931C 8026AA3C 4600010D */ trunc.w.s $f4, $f0
|
||||
/* 199320 8026AA40 44062000 */ mfc1 $a2, $f4
|
||||
/* 199324 8026AA44 C4400010 */ lwc1 $f0, 0x10($v0)
|
||||
/* 199328 8026AA48 C4420014 */ lwc1 $f2, 0x14($v0)
|
||||
/* 19932C 8026AA4C 4600010D */ trunc.w.s $f4, $f0
|
||||
/* 199330 8026AA50 44112000 */ mfc1 $s1, $f4
|
||||
/* 199334 8026AA54 4600110D */ trunc.w.s $f4, $f2
|
||||
/* 199338 8026AA58 44132000 */ mfc1 $s3, $f4
|
||||
/* 19933C 8026AA5C 0C0B2026 */ jal set_variable
|
||||
/* 199340 8026AA60 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 199344 8026AA64 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 199348 8026AA68 0200282D */ daddu $a1, $s0, $zero
|
||||
/* 19934C 8026AA6C 0C0B2026 */ jal set_variable
|
||||
/* 199350 8026AA70 0220302D */ daddu $a2, $s1, $zero
|
||||
/* 199354 8026AA74 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 199358 8026AA78 0240282D */ daddu $a1, $s2, $zero
|
||||
/* 19935C 8026AA7C 0C0B2026 */ jal set_variable
|
||||
/* 199360 8026AA80 0260302D */ daddu $a2, $s3, $zero
|
||||
/* 199364 8026AA84 8FBF0024 */ lw $ra, 0x24($sp)
|
||||
/* 199368 8026AA88 8FB40020 */ lw $s4, 0x20($sp)
|
||||
/* 19936C 8026AA8C 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* 199370 8026AA90 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 199374 8026AA94 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 199378 8026AA98 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 19937C 8026AA9C 24020002 */ addiu $v0, $zero, 2
|
||||
/* 199380 8026AAA0 03E00008 */ jr $ra
|
||||
/* 199384 8026AAA4 27BD0028 */ addiu $sp, $sp, 0x28
|
@ -1,82 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel SetGoalPos
|
||||
/* 198DF0 8026A510 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 198DF4 8026A514 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 198DF8 8026A518 0080902D */ daddu $s2, $a0, $zero
|
||||
/* 198DFC 8026A51C AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 198E00 8026A520 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 198E04 8026A524 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 198E08 8026A528 F7B60028 */ sdc1 $f22, 0x28($sp)
|
||||
/* 198E0C 8026A52C F7B40020 */ sdc1 $f20, 0x20($sp)
|
||||
/* 198E10 8026A530 8E50000C */ lw $s0, 0xc($s2)
|
||||
/* 198E14 8026A534 8E050000 */ lw $a1, ($s0)
|
||||
/* 198E18 8026A538 0C0B1EAF */ jal get_variable
|
||||
/* 198E1C 8026A53C 26100004 */ addiu $s0, $s0, 4
|
||||
/* 198E20 8026A540 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 198E24 8026A544 2402FF81 */ addiu $v0, $zero, -0x7f
|
||||
/* 198E28 8026A548 14820002 */ bne $a0, $v0, .L8026A554
|
||||
/* 198E2C 8026A54C 00000000 */ nop
|
||||
/* 198E30 8026A550 8E440148 */ lw $a0, 0x148($s2)
|
||||
.L8026A554:
|
||||
/* 198E34 8026A554 0C09A75B */ jal get_actor
|
||||
/* 198E38 8026A558 00000000 */ nop
|
||||
/* 198E3C 8026A55C 3C03FF43 */ lui $v1, 0xff43
|
||||
/* 198E40 8026A560 34639EB2 */ ori $v1, $v1, 0x9eb2
|
||||
/* 198E44 8026A564 8E050000 */ lw $a1, ($s0)
|
||||
/* 198E48 8026A568 14A30004 */ bne $a1, $v1, .L8026A57C
|
||||
/* 198E4C 8026A56C 2451000C */ addiu $s1, $v0, 0xc
|
||||
/* 198E50 8026A570 C4560018 */ lwc1 $f22, 0x18($v0)
|
||||
/* 198E54 8026A574 0809A965 */ j .L8026A594
|
||||
/* 198E58 8026A578 26100004 */ addiu $s0, $s0, 4
|
||||
.L8026A57C:
|
||||
/* 198E5C 8026A57C 0C0B1EAF */ jal get_variable
|
||||
/* 198E60 8026A580 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 198E64 8026A584 4482B000 */ mtc1 $v0, $f22
|
||||
/* 198E68 8026A588 00000000 */ nop
|
||||
/* 198E6C 8026A58C 4680B5A0 */ cvt.s.w $f22, $f22
|
||||
/* 198E70 8026A590 26100004 */ addiu $s0, $s0, 4
|
||||
.L8026A594:
|
||||
/* 198E74 8026A594 3C02FF43 */ lui $v0, 0xff43
|
||||
/* 198E78 8026A598 8E050000 */ lw $a1, ($s0)
|
||||
/* 198E7C 8026A59C 34429EB2 */ ori $v0, $v0, 0x9eb2
|
||||
/* 198E80 8026A5A0 14A20004 */ bne $a1, $v0, .L8026A5B4
|
||||
/* 198E84 8026A5A4 3C02FF43 */ lui $v0, 0xff43
|
||||
/* 198E88 8026A5A8 C6340010 */ lwc1 $f20, 0x10($s1)
|
||||
/* 198E8C 8026A5AC 0809A973 */ j .L8026A5CC
|
||||
/* 198E90 8026A5B0 00000000 */ nop
|
||||
.L8026A5B4:
|
||||
/* 198E94 8026A5B4 0C0B1EAF */ jal get_variable
|
||||
/* 198E98 8026A5B8 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 198E9C 8026A5BC 4482A000 */ mtc1 $v0, $f20
|
||||
/* 198EA0 8026A5C0 00000000 */ nop
|
||||
/* 198EA4 8026A5C4 4680A520 */ cvt.s.w $f20, $f20
|
||||
/* 198EA8 8026A5C8 3C02FF43 */ lui $v0, 0xff43
|
||||
.L8026A5CC:
|
||||
/* 198EAC 8026A5CC 8E050004 */ lw $a1, 4($s0)
|
||||
/* 198EB0 8026A5D0 34429EB2 */ ori $v0, $v0, 0x9eb2
|
||||
/* 198EB4 8026A5D4 14A20004 */ bne $a1, $v0, .L8026A5E8
|
||||
/* 198EB8 8026A5D8 00000000 */ nop
|
||||
/* 198EBC 8026A5DC C6200014 */ lwc1 $f0, 0x14($s1)
|
||||
/* 198EC0 8026A5E0 0809A980 */ j .L8026A600
|
||||
/* 198EC4 8026A5E4 E636000C */ swc1 $f22, 0xc($s1)
|
||||
.L8026A5E8:
|
||||
/* 198EC8 8026A5E8 0C0B1EAF */ jal get_variable
|
||||
/* 198ECC 8026A5EC 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 198ED0 8026A5F0 44820000 */ mtc1 $v0, $f0
|
||||
/* 198ED4 8026A5F4 00000000 */ nop
|
||||
/* 198ED8 8026A5F8 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 198EDC 8026A5FC E636000C */ swc1 $f22, 0xc($s1)
|
||||
.L8026A600:
|
||||
/* 198EE0 8026A600 E6340010 */ swc1 $f20, 0x10($s1)
|
||||
/* 198EE4 8026A604 E6200014 */ swc1 $f0, 0x14($s1)
|
||||
/* 198EE8 8026A608 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 198EEC 8026A60C 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 198EF0 8026A610 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 198EF4 8026A614 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 198EF8 8026A618 D7B60028 */ ldc1 $f22, 0x28($sp)
|
||||
/* 198EFC 8026A61C D7B40020 */ ldc1 $f20, 0x20($sp)
|
||||
/* 198F00 8026A620 24020002 */ addiu $v0, $zero, 2
|
||||
/* 198F04 8026A624 03E00008 */ jr $ra
|
||||
/* 198F08 8026A628 27BD0030 */ addiu $sp, $sp, 0x30
|
@ -1,34 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel SetGoalToFirstTarget
|
||||
/* 198D7C 8026A49C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 198D80 8026A4A0 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 198D84 8026A4A4 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 198D88 8026A4A8 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 198D8C 8026A4AC 8E02000C */ lw $v0, 0xc($s0)
|
||||
/* 198D90 8026A4B0 0C0B1EAF */ jal get_variable
|
||||
/* 198D94 8026A4B4 8C450000 */ lw $a1, ($v0)
|
||||
/* 198D98 8026A4B8 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 198D9C 8026A4BC 2402FF81 */ addiu $v0, $zero, -0x7f
|
||||
/* 198DA0 8026A4C0 14820002 */ bne $a0, $v0, .L8026A4CC
|
||||
/* 198DA4 8026A4C4 00000000 */ nop
|
||||
/* 198DA8 8026A4C8 8E040148 */ lw $a0, 0x148($s0)
|
||||
.L8026A4CC:
|
||||
/* 198DAC 8026A4CC 0C09A75B */ jal get_actor
|
||||
/* 198DB0 8026A4D0 00000000 */ nop
|
||||
/* 198DB4 8026A4D4 8044040D */ lb $a0, 0x40d($v0)
|
||||
/* 198DB8 8026A4D8 00041880 */ sll $v1, $a0, 2
|
||||
/* 198DBC 8026A4DC 00641821 */ addu $v1, $v1, $a0
|
||||
/* 198DC0 8026A4E0 00031880 */ sll $v1, $v1, 2
|
||||
/* 198DC4 8026A4E4 2463022C */ addiu $v1, $v1, 0x22c
|
||||
/* 198DC8 8026A4E8 00431821 */ addu $v1, $v0, $v1
|
||||
/* 198DCC 8026A4EC 84650000 */ lh $a1, ($v1)
|
||||
/* 198DD0 8026A4F0 84660002 */ lh $a2, 2($v1)
|
||||
/* 198DD4 8026A4F4 0C09A5D5 */ jal set_goal_pos_to_part
|
||||
/* 198DD8 8026A4F8 2444000C */ addiu $a0, $v0, 0xc
|
||||
/* 198DDC 8026A4FC 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 198DE0 8026A500 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 198DE4 8026A504 24020002 */ addiu $v0, $zero, 2
|
||||
/* 198DE8 8026A508 03E00008 */ jr $ra
|
||||
/* 198DEC 8026A50C 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,82 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel SetIdleGoal
|
||||
/* 198F0C 8026A62C 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 198F10 8026A630 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 198F14 8026A634 0080902D */ daddu $s2, $a0, $zero
|
||||
/* 198F18 8026A638 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 198F1C 8026A63C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 198F20 8026A640 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 198F24 8026A644 F7B60028 */ sdc1 $f22, 0x28($sp)
|
||||
/* 198F28 8026A648 F7B40020 */ sdc1 $f20, 0x20($sp)
|
||||
/* 198F2C 8026A64C 8E50000C */ lw $s0, 0xc($s2)
|
||||
/* 198F30 8026A650 8E050000 */ lw $a1, ($s0)
|
||||
/* 198F34 8026A654 0C0B1EAF */ jal get_variable
|
||||
/* 198F38 8026A658 26100004 */ addiu $s0, $s0, 4
|
||||
/* 198F3C 8026A65C 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 198F40 8026A660 2402FF81 */ addiu $v0, $zero, -0x7f
|
||||
/* 198F44 8026A664 14820002 */ bne $a0, $v0, .L8026A670
|
||||
/* 198F48 8026A668 00000000 */ nop
|
||||
/* 198F4C 8026A66C 8E440148 */ lw $a0, 0x148($s2)
|
||||
.L8026A670:
|
||||
/* 198F50 8026A670 0C09A75B */ jal get_actor
|
||||
/* 198F54 8026A674 00000000 */ nop
|
||||
/* 198F58 8026A678 3C03FF43 */ lui $v1, 0xff43
|
||||
/* 198F5C 8026A67C 34639EB2 */ ori $v1, $v1, 0x9eb2
|
||||
/* 198F60 8026A680 8E050000 */ lw $a1, ($s0)
|
||||
/* 198F64 8026A684 14A30004 */ bne $a1, $v1, .L8026A698
|
||||
/* 198F68 8026A688 245100C8 */ addiu $s1, $v0, 0xc8
|
||||
/* 198F6C 8026A68C C45600D4 */ lwc1 $f22, 0xd4($v0)
|
||||
/* 198F70 8026A690 0809A9AC */ j .L8026A6B0
|
||||
/* 198F74 8026A694 26100004 */ addiu $s0, $s0, 4
|
||||
.L8026A698:
|
||||
/* 198F78 8026A698 0C0B1EAF */ jal get_variable
|
||||
/* 198F7C 8026A69C 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 198F80 8026A6A0 4482B000 */ mtc1 $v0, $f22
|
||||
/* 198F84 8026A6A4 00000000 */ nop
|
||||
/* 198F88 8026A6A8 4680B5A0 */ cvt.s.w $f22, $f22
|
||||
/* 198F8C 8026A6AC 26100004 */ addiu $s0, $s0, 4
|
||||
.L8026A6B0:
|
||||
/* 198F90 8026A6B0 3C02FF43 */ lui $v0, 0xff43
|
||||
/* 198F94 8026A6B4 8E050000 */ lw $a1, ($s0)
|
||||
/* 198F98 8026A6B8 34429EB2 */ ori $v0, $v0, 0x9eb2
|
||||
/* 198F9C 8026A6BC 14A20004 */ bne $a1, $v0, .L8026A6D0
|
||||
/* 198FA0 8026A6C0 3C02FF43 */ lui $v0, 0xff43
|
||||
/* 198FA4 8026A6C4 C6340010 */ lwc1 $f20, 0x10($s1)
|
||||
/* 198FA8 8026A6C8 0809A9BA */ j .L8026A6E8
|
||||
/* 198FAC 8026A6CC 00000000 */ nop
|
||||
.L8026A6D0:
|
||||
/* 198FB0 8026A6D0 0C0B1EAF */ jal get_variable
|
||||
/* 198FB4 8026A6D4 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 198FB8 8026A6D8 4482A000 */ mtc1 $v0, $f20
|
||||
/* 198FBC 8026A6DC 00000000 */ nop
|
||||
/* 198FC0 8026A6E0 4680A520 */ cvt.s.w $f20, $f20
|
||||
/* 198FC4 8026A6E4 3C02FF43 */ lui $v0, 0xff43
|
||||
.L8026A6E8:
|
||||
/* 198FC8 8026A6E8 8E050004 */ lw $a1, 4($s0)
|
||||
/* 198FCC 8026A6EC 34429EB2 */ ori $v0, $v0, 0x9eb2
|
||||
/* 198FD0 8026A6F0 14A20004 */ bne $a1, $v0, .L8026A704
|
||||
/* 198FD4 8026A6F4 00000000 */ nop
|
||||
/* 198FD8 8026A6F8 C6200014 */ lwc1 $f0, 0x14($s1)
|
||||
/* 198FDC 8026A6FC 0809A9C7 */ j .L8026A71C
|
||||
/* 198FE0 8026A700 E636000C */ swc1 $f22, 0xc($s1)
|
||||
.L8026A704:
|
||||
/* 198FE4 8026A704 0C0B1EAF */ jal get_variable
|
||||
/* 198FE8 8026A708 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 198FEC 8026A70C 44820000 */ mtc1 $v0, $f0
|
||||
/* 198FF0 8026A710 00000000 */ nop
|
||||
/* 198FF4 8026A714 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 198FF8 8026A718 E636000C */ swc1 $f22, 0xc($s1)
|
||||
.L8026A71C:
|
||||
/* 198FFC 8026A71C E6340010 */ swc1 $f20, 0x10($s1)
|
||||
/* 199000 8026A720 E6200014 */ swc1 $f0, 0x14($s1)
|
||||
/* 199004 8026A724 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 199008 8026A728 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 19900C 8026A72C 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 199010 8026A730 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 199014 8026A734 D7B60028 */ ldc1 $f22, 0x28($sp)
|
||||
/* 199018 8026A738 D7B40020 */ ldc1 $f20, 0x20($sp)
|
||||
/* 19901C 8026A73C 24020002 */ addiu $v0, $zero, 2
|
||||
/* 199020 8026A740 03E00008 */ jr $ra
|
||||
/* 199024 8026A744 27BD0030 */ addiu $sp, $sp, 0x30
|
@ -1,43 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel SetPartGoalToTarget
|
||||
/* 198CE4 8026A404 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 198CE8 8026A408 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 198CEC 8026A40C 0080902D */ daddu $s2, $a0, $zero
|
||||
/* 198CF0 8026A410 AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* 198CF4 8026A414 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 198CF8 8026A418 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 198CFC 8026A41C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 198D00 8026A420 8E50000C */ lw $s0, 0xc($s2)
|
||||
/* 198D04 8026A424 8E050000 */ lw $a1, ($s0)
|
||||
/* 198D08 8026A428 0C0B1EAF */ jal get_variable
|
||||
/* 198D0C 8026A42C 26100004 */ addiu $s0, $s0, 4
|
||||
/* 198D10 8026A430 0040882D */ daddu $s1, $v0, $zero
|
||||
/* 198D14 8026A434 8E050000 */ lw $a1, ($s0)
|
||||
/* 198D18 8026A438 0C0B1EAF */ jal get_variable
|
||||
/* 198D1C 8026A43C 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 198D20 8026A440 0040982D */ daddu $s3, $v0, $zero
|
||||
/* 198D24 8026A444 2402FF81 */ addiu $v0, $zero, -0x7f
|
||||
/* 198D28 8026A448 16220002 */ bne $s1, $v0, .L8026A454
|
||||
/* 198D2C 8026A44C 00000000 */ nop
|
||||
/* 198D30 8026A450 8E510148 */ lw $s1, 0x148($s2)
|
||||
.L8026A454:
|
||||
/* 198D34 8026A454 0C09A75B */ jal get_actor
|
||||
/* 198D38 8026A458 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 198D3C 8026A45C 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 198D40 8026A460 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 198D44 8026A464 0C099117 */ jal get_actor_part
|
||||
/* 198D48 8026A468 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 198D4C 8026A46C 8C440010 */ lw $a0, 0x10($v0)
|
||||
/* 198D50 8026A470 86050428 */ lh $a1, 0x428($s0)
|
||||
/* 198D54 8026A474 0C09A676 */ jal set_part_goal_to_actor_part
|
||||
/* 198D58 8026A478 82060426 */ lb $a2, 0x426($s0)
|
||||
/* 198D5C 8026A47C 8FBF0020 */ lw $ra, 0x20($sp)
|
||||
/* 198D60 8026A480 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* 198D64 8026A484 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 198D68 8026A488 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 198D6C 8026A48C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 198D70 8026A490 24020002 */ addiu $v0, $zero, 2
|
||||
/* 198D74 8026A494 03E00008 */ jr $ra
|
||||
/* 198D78 8026A498 27BD0028 */ addiu $sp, $sp, 0x28
|
@ -1,52 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80049B44
|
||||
/* 24F44 80049B44 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 24F48 80049B48 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 24F4C 80049B4C 0080982D */ daddu $s3, $a0, $zero
|
||||
/* 24F50 80049B50 AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* 24F54 80049B54 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 24F58 80049B58 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 24F5C 80049B5C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 24F60 80049B60 8E720148 */ lw $s2, 0x148($s3)
|
||||
/* 24F64 80049B64 86440008 */ lh $a0, 8($s2)
|
||||
/* 24F68 80049B68 0C00EABB */ jal get_npc_unsafe
|
||||
/* 24F6C 80049B6C 00A0882D */ daddu $s1, $a1, $zero
|
||||
/* 24F70 80049B70 8E240008 */ lw $a0, 8($s1)
|
||||
/* 24F74 80049B74 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 24F78 80049B78 00041FC2 */ srl $v1, $a0, 0x1f
|
||||
/* 24F7C 80049B7C 00832021 */ addu $a0, $a0, $v1
|
||||
/* 24F80 80049B80 00042043 */ sra $a0, $a0, 1
|
||||
/* 24F84 80049B84 0C00A67F */ jal rand_int
|
||||
/* 24F88 80049B88 24840001 */ addiu $a0, $a0, 1
|
||||
/* 24F8C 80049B8C 8E230008 */ lw $v1, 8($s1)
|
||||
/* 24F90 80049B90 240400B4 */ addiu $a0, $zero, 0xb4
|
||||
/* 24F94 80049B94 00032FC2 */ srl $a1, $v1, 0x1f
|
||||
/* 24F98 80049B98 00651821 */ addu $v1, $v1, $a1
|
||||
/* 24F9C 80049B9C 00031843 */ sra $v1, $v1, 1
|
||||
/* 24FA0 80049BA0 00621821 */ addu $v1, $v1, $v0
|
||||
/* 24FA4 80049BA4 0C00A67F */ jal rand_int
|
||||
/* 24FA8 80049BA8 A603008E */ sh $v1, 0x8e($s0)
|
||||
/* 24FAC 80049BAC C60C000C */ lwc1 $f12, 0xc($s0)
|
||||
/* 24FB0 80049BB0 44820000 */ mtc1 $v0, $f0
|
||||
/* 24FB4 80049BB4 00000000 */ nop
|
||||
/* 24FB8 80049BB8 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 24FBC 80049BBC 46006300 */ add.s $f12, $f12, $f0
|
||||
/* 24FC0 80049BC0 3C0142B4 */ lui $at, 0x42b4
|
||||
/* 24FC4 80049BC4 44810000 */ mtc1 $at, $f0
|
||||
/* 24FC8 80049BC8 0C00A6C9 */ jal clamp_angle
|
||||
/* 24FCC 80049BCC 46006301 */ sub.s $f12, $f12, $f0
|
||||
/* 24FD0 80049BD0 E600000C */ swc1 $f0, 0xc($s0)
|
||||
/* 24FD4 80049BD4 8E4200CC */ lw $v0, 0xcc($s2)
|
||||
/* 24FD8 80049BD8 8C420000 */ lw $v0, ($v0)
|
||||
/* 24FDC 80049BDC AE020028 */ sw $v0, 0x28($s0)
|
||||
/* 24FE0 80049BE0 24020003 */ addiu $v0, $zero, 3
|
||||
/* 24FE4 80049BE4 AE620070 */ sw $v0, 0x70($s3)
|
||||
/* 24FE8 80049BE8 8FBF0020 */ lw $ra, 0x20($sp)
|
||||
/* 24FEC 80049BEC 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* 24FF0 80049BF0 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 24FF4 80049BF4 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 24FF8 80049BF8 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 24FFC 80049BFC 03E00008 */ jr $ra
|
||||
/* 25000 80049C00 27BD0028 */ addiu $sp, $sp, 0x28
|
@ -1,37 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802BD100
|
||||
/* 317020 802BD100 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 317024 802BD104 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 317028 802BD108 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 31702C 802BD10C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 317030 802BD110 0000802D */ daddu $s0, $zero, $zero
|
||||
/* 317034 802BD114 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
.L802BD118:
|
||||
/* 317038 802BD118 0C051734 */ jal get_trigger_by_id
|
||||
/* 31703C 802BD11C 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 317040 802BD120 0040182D */ daddu $v1, $v0, $zero
|
||||
/* 317044 802BD124 1060000B */ beqz $v1, .L802BD154
|
||||
/* 317048 802BD128 26100001 */ addiu $s0, $s0, 1
|
||||
/* 31704C 802BD12C 8C620000 */ lw $v0, ($v1)
|
||||
/* 317050 802BD130 30420100 */ andi $v0, $v0, 0x100
|
||||
/* 317054 802BD134 10400007 */ beqz $v0, .L802BD154
|
||||
/* 317058 802BD138 00000000 */ nop
|
||||
/* 31705C 802BD13C 8C620008 */ lw $v0, 8($v1)
|
||||
/* 317060 802BD140 14510005 */ bne $v0, $s1, .L802BD158
|
||||
/* 317064 802BD144 2A020040 */ slti $v0, $s0, 0x40
|
||||
/* 317068 802BD148 8C62002C */ lw $v0, 0x2c($v1)
|
||||
/* 31706C 802BD14C 080AF458 */ j .L802BD160
|
||||
/* 317070 802BD150 00000000 */ nop
|
||||
.L802BD154:
|
||||
/* 317074 802BD154 2A020040 */ slti $v0, $s0, 0x40
|
||||
.L802BD158:
|
||||
/* 317078 802BD158 1440FFEF */ bnez $v0, .L802BD118
|
||||
/* 31707C 802BD15C 0000102D */ daddu $v0, $zero, $zero
|
||||
.L802BD160:
|
||||
/* 317080 802BD160 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 317084 802BD164 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 317088 802BD168 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 31708C 802BD16C 03E00008 */ jr $ra
|
||||
/* 317090 802BD170 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -1,19 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802BDB84
|
||||
/* 317AA4 802BDB84 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 317AA8 802BDB88 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 317AAC 802BDB8C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 317AB0 802BDB90 10A00003 */ beqz $a1, .L802BDBA0
|
||||
/* 317AB4 802BDB94 8C90014C */ lw $s0, 0x14c($a0)
|
||||
/* 317AB8 802BDB98 0C03BA65 */ jal func_800EE994
|
||||
/* 317ABC 802BDB9C 0200202D */ daddu $a0, $s0, $zero
|
||||
.L802BDBA0:
|
||||
/* 317AC0 802BDBA0 0C03BA6E */ jal func_800EE9B8
|
||||
/* 317AC4 802BDBA4 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 317AC8 802BDBA8 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 317ACC 802BDBAC 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 317AD0 802BDBB0 0002102B */ sltu $v0, $zero, $v0
|
||||
/* 317AD4 802BDBB4 03E00008 */ jr $ra
|
||||
/* 317AD8 802BDBB8 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,19 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802BD300
|
||||
/* 318050 802BD300 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 318054 802BD304 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 318058 802BD308 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 31805C 802BD30C 10A00003 */ beqz $a1, .L802BD31C
|
||||
/* 318060 802BD310 8C90014C */ lw $s0, 0x14c($a0)
|
||||
/* 318064 802BD314 0C03BB31 */ jal func_800EECC4
|
||||
/* 318068 802BD318 0200202D */ daddu $a0, $s0, $zero
|
||||
.L802BD31C:
|
||||
/* 31806C 802BD31C 0C03BB3A */ jal func_800EECE8
|
||||
/* 318070 802BD320 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 318074 802BD324 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 318078 802BD328 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 31807C 802BD32C 0002102B */ sltu $v0, $zero, $v0
|
||||
/* 318080 802BD330 03E00008 */ jr $ra
|
||||
/* 318084 802BD334 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,8 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802BD748
|
||||
/* 318498 802BD748 3C028011 */ lui $v0, %hi(D_8010EBB0)
|
||||
/* 31849C 802BD74C 8042EBB0 */ lb $v0, %lo(D_8010EBB0)($v0)
|
||||
/* 3184A0 802BD750 03E00008 */ jr $ra
|
||||
/* 3184A4 802BD754 2C420001 */ sltiu $v0, $v0, 1
|
@ -1,19 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802BE4E8
|
||||
/* 319238 802BE4E8 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 31923C 802BE4EC AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 319240 802BE4F0 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 319244 802BE4F4 10A00003 */ beqz $a1, .L802BE504
|
||||
/* 319248 802BE4F8 8C90014C */ lw $s0, 0x14c($a0)
|
||||
/* 31924C 802BE4FC 0C03BA65 */ jal func_800EE994
|
||||
/* 319250 802BE500 0200202D */ daddu $a0, $s0, $zero
|
||||
.L802BE504:
|
||||
/* 319254 802BE504 0C03BA6E */ jal func_800EE9B8
|
||||
/* 319258 802BE508 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 31925C 802BE50C 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 319260 802BE510 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 319264 802BE514 0002102B */ sltu $v0, $zero, $v0
|
||||
/* 319268 802BE518 03E00008 */ jr $ra
|
||||
/* 31926C 802BE51C 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,19 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802BD148
|
||||
/* 3196B8 802BD148 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 3196BC 802BD14C AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 3196C0 802BD150 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 3196C4 802BD154 10A00003 */ beqz $a1, .L802BD164
|
||||
/* 3196C8 802BD158 8C90014C */ lw $s0, 0x14c($a0)
|
||||
/* 3196CC 802BD15C 0C03BB31 */ jal func_800EECC4
|
||||
/* 3196D0 802BD160 0200202D */ daddu $a0, $s0, $zero
|
||||
.L802BD164:
|
||||
/* 3196D4 802BD164 0C03BB3A */ jal func_800EECE8
|
||||
/* 3196D8 802BD168 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 3196DC 802BD16C 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 3196E0 802BD170 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 3196E4 802BD174 0002102B */ sltu $v0, $zero, $v0
|
||||
/* 3196E8 802BD178 03E00008 */ jr $ra
|
||||
/* 3196EC 802BD17C 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -772,14 +772,14 @@ glabel func_802BD660
|
||||
/* 31A764 802BE1F4 AC620000 */ sw $v0, ($v1)
|
||||
/* 31A768 802BE1F8 2402FFFF */ addiu $v0, $zero, -1
|
||||
/* 31A76C 802BE1FC E6020064 */ swc1 $f2, 0x64($s0)
|
||||
/* 31A770 802BE200 3C018016 */ lui $at, 0x8016
|
||||
/* 31A774 802BE204 A422A552 */ sh $v0, -0x5aae($at)
|
||||
/* 31A770 802BE200 3C018016 */ lui $at, %hi(gCollisionStatus+0x2)
|
||||
/* 31A774 802BE204 A422A552 */ sh $v0, %lo(gCollisionStatus+0x2)($at)
|
||||
/* 31A778 802BE208 080AF9E3 */ j .L802BE78C
|
||||
/* 31A77C 802BE20C 00000000 */ nop
|
||||
/* 31A780 802BE210 0C0AF556 */ jal func_802BD558
|
||||
/* 31A784 802BE214 24150015 */ addiu $s5, $zero, 0x15
|
||||
/* 31A788 802BE218 3C018016 */ lui $at, 0x8016
|
||||
/* 31A78C 802BE21C A422A552 */ sh $v0, -0x5aae($at)
|
||||
/* 31A788 802BE218 3C018016 */ lui $at, %hi(gCollisionStatus+0x2)
|
||||
/* 31A78C 802BE21C A422A552 */ sh $v0, %lo(gCollisionStatus+0x2)($at)
|
||||
/* 31A790 802BE220 822300B4 */ lb $v1, 0xb4($s1)
|
||||
/* 31A794 802BE224 10750156 */ beq $v1, $s5, .L802BE780
|
||||
/* 31A798 802BE228 24020017 */ addiu $v0, $zero, 0x17
|
||||
|
@ -1,19 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802BE8D4
|
||||
/* 31AE44 802BE8D4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 31AE48 802BE8D8 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 31AE4C 802BE8DC AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 31AE50 802BE8E0 10A00003 */ beqz $a1, .L802BE8F0
|
||||
/* 31AE54 802BE8E4 8C90014C */ lw $s0, 0x14c($a0)
|
||||
/* 31AE58 802BE8E8 0C03BA65 */ jal func_800EE994
|
||||
/* 31AE5C 802BE8EC 0200202D */ daddu $a0, $s0, $zero
|
||||
.L802BE8F0:
|
||||
/* 31AE60 802BE8F0 0C03BA6E */ jal func_800EE9B8
|
||||
/* 31AE64 802BE8F4 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 31AE68 802BE8F8 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 31AE6C 802BE8FC 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 31AE70 802BE900 0002102B */ sltu $v0, $zero, $v0
|
||||
/* 31AE74 802BE904 03E00008 */ jr $ra
|
||||
/* 31AE78 802BE908 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,47 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802BD100_3251D0
|
||||
/* 3251D0 802BD100 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 3251D4 802BD104 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 3251D8 802BD108 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 3251DC 802BD10C AFBF0024 */ sw $ra, 0x24($sp)
|
||||
/* 3251E0 802BD110 AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 3251E4 802BD114 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 3251E8 802BD118 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 3251EC 802BD11C 8E050000 */ lw $a1, ($s0)
|
||||
/* 3251F0 802BD120 0C0B1EAF */ jal get_variable
|
||||
/* 3251F4 802BD124 26100004 */ addiu $s0, $s0, 4
|
||||
/* 3251F8 802BD128 8E050000 */ lw $a1, ($s0)
|
||||
/* 3251FC 802BD12C 26100004 */ addiu $s0, $s0, 4
|
||||
/* 325200 802BD130 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 325204 802BD134 0C0B1EAF */ jal get_variable
|
||||
/* 325208 802BD138 0040902D */ daddu $s2, $v0, $zero
|
||||
/* 32520C 802BD13C 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 325210 802BD140 8E050000 */ lw $a1, ($s0)
|
||||
/* 325214 802BD144 0C0B1EAF */ jal get_variable
|
||||
/* 325218 802BD148 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 32521C 802BD14C 44921000 */ mtc1 $s2, $f2
|
||||
/* 325220 802BD150 00000000 */ nop
|
||||
/* 325224 802BD154 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* 325228 802BD158 44051000 */ mfc1 $a1, $f2
|
||||
/* 32522C 802BD15C 44901000 */ mtc1 $s0, $f2
|
||||
/* 325230 802BD160 00000000 */ nop
|
||||
/* 325234 802BD164 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* 325238 802BD168 44061000 */ mfc1 $a2, $f2
|
||||
/* 32523C 802BD16C 44821000 */ mtc1 $v0, $f2
|
||||
/* 325240 802BD170 00000000 */ nop
|
||||
/* 325244 802BD174 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* 325248 802BD178 3C014270 */ lui $at, 0x4270
|
||||
/* 32524C 802BD17C 44810000 */ mtc1 $at, $f0
|
||||
/* 325250 802BD180 44071000 */ mfc1 $a3, $f2
|
||||
/* 325254 802BD184 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 325258 802BD188 0C01BFBC */ jal func_8006FEF0
|
||||
/* 32525C 802BD18C E7A00010 */ swc1 $f0, 0x10($sp)
|
||||
/* 325260 802BD190 8FBF0024 */ lw $ra, 0x24($sp)
|
||||
/* 325264 802BD194 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* 325268 802BD198 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 32526C 802BD19C 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 325270 802BD1A0 24020002 */ addiu $v0, $zero, 2
|
||||
/* 325274 802BD1A4 03E00008 */ jr $ra
|
||||
/* 325278 802BD1A8 27BD0028 */ addiu $sp, $sp, 0x28
|
@ -1,52 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802BD1AC_3251D0
|
||||
/* 32527C 802BD1AC 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 325280 802BD1B0 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 325284 802BD1B4 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 325288 802BD1B8 AFBF0028 */ sw $ra, 0x28($sp)
|
||||
/* 32528C 802BD1BC AFB30024 */ sw $s3, 0x24($sp)
|
||||
/* 325290 802BD1C0 AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 325294 802BD1C4 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 325298 802BD1C8 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 32529C 802BD1CC 8E050000 */ lw $a1, ($s0)
|
||||
/* 3252A0 802BD1D0 0C0B1EAF */ jal get_variable
|
||||
/* 3252A4 802BD1D4 26100004 */ addiu $s0, $s0, 4
|
||||
/* 3252A8 802BD1D8 8E050000 */ lw $a1, ($s0)
|
||||
/* 3252AC 802BD1DC 26100004 */ addiu $s0, $s0, 4
|
||||
/* 3252B0 802BD1E0 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 3252B4 802BD1E4 0C0B1EAF */ jal get_variable
|
||||
/* 3252B8 802BD1E8 0040982D */ daddu $s3, $v0, $zero
|
||||
/* 3252BC 802BD1EC 8E050000 */ lw $a1, ($s0)
|
||||
/* 3252C0 802BD1F0 26100004 */ addiu $s0, $s0, 4
|
||||
/* 3252C4 802BD1F4 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 3252C8 802BD1F8 0C0B1EAF */ jal get_variable
|
||||
/* 3252CC 802BD1FC 0040902D */ daddu $s2, $v0, $zero
|
||||
/* 3252D0 802BD200 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 3252D4 802BD204 8E050000 */ lw $a1, ($s0)
|
||||
/* 3252D8 802BD208 0C0B1EAF */ jal get_variable
|
||||
/* 3252DC 802BD20C 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 3252E0 802BD210 44930000 */ mtc1 $s3, $f0
|
||||
/* 3252E4 802BD214 00000000 */ nop
|
||||
/* 3252E8 802BD218 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 3252EC 802BD21C 44050000 */ mfc1 $a1, $f0
|
||||
/* 3252F0 802BD220 44920000 */ mtc1 $s2, $f0
|
||||
/* 3252F4 802BD224 00000000 */ nop
|
||||
/* 3252F8 802BD228 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 3252FC 802BD22C 44060000 */ mfc1 $a2, $f0
|
||||
/* 325300 802BD230 44900000 */ mtc1 $s0, $f0
|
||||
/* 325304 802BD234 00000000 */ nop
|
||||
/* 325308 802BD238 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 32530C 802BD23C 44070000 */ mfc1 $a3, $f0
|
||||
/* 325310 802BD240 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 325314 802BD244 0C01C424 */ jal func_80071090
|
||||
/* 325318 802BD248 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* 32531C 802BD24C 8FBF0028 */ lw $ra, 0x28($sp)
|
||||
/* 325320 802BD250 8FB30024 */ lw $s3, 0x24($sp)
|
||||
/* 325324 802BD254 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* 325328 802BD258 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 32532C 802BD25C 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 325330 802BD260 24020002 */ addiu $v0, $zero, 2
|
||||
/* 325334 802BD264 03E00008 */ jr $ra
|
||||
/* 325338 802BD268 27BD0030 */ addiu $sp, $sp, 0x30
|
@ -1,52 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802BD26C
|
||||
/* 32533C 802BD26C 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 325340 802BD270 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 325344 802BD274 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 325348 802BD278 AFBF0028 */ sw $ra, 0x28($sp)
|
||||
/* 32534C 802BD27C AFB30024 */ sw $s3, 0x24($sp)
|
||||
/* 325350 802BD280 AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 325354 802BD284 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 325358 802BD288 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 32535C 802BD28C 8E050000 */ lw $a1, ($s0)
|
||||
/* 325360 802BD290 0C0B1EAF */ jal get_variable
|
||||
/* 325364 802BD294 26100004 */ addiu $s0, $s0, 4
|
||||
/* 325368 802BD298 8E050000 */ lw $a1, ($s0)
|
||||
/* 32536C 802BD29C 26100004 */ addiu $s0, $s0, 4
|
||||
/* 325370 802BD2A0 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 325374 802BD2A4 0C0B1EAF */ jal get_variable
|
||||
/* 325378 802BD2A8 0040982D */ daddu $s3, $v0, $zero
|
||||
/* 32537C 802BD2AC 8E050000 */ lw $a1, ($s0)
|
||||
/* 325380 802BD2B0 26100004 */ addiu $s0, $s0, 4
|
||||
/* 325384 802BD2B4 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 325388 802BD2B8 0C0B1EAF */ jal get_variable
|
||||
/* 32538C 802BD2BC 0040902D */ daddu $s2, $v0, $zero
|
||||
/* 325390 802BD2C0 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 325394 802BD2C4 8E050000 */ lw $a1, ($s0)
|
||||
/* 325398 802BD2C8 0C0B1EAF */ jal get_variable
|
||||
/* 32539C 802BD2CC 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 3253A0 802BD2D0 44930000 */ mtc1 $s3, $f0
|
||||
/* 3253A4 802BD2D4 00000000 */ nop
|
||||
/* 3253A8 802BD2D8 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 3253AC 802BD2DC 44050000 */ mfc1 $a1, $f0
|
||||
/* 3253B0 802BD2E0 44920000 */ mtc1 $s2, $f0
|
||||
/* 3253B4 802BD2E4 00000000 */ nop
|
||||
/* 3253B8 802BD2E8 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 3253BC 802BD2EC 44060000 */ mfc1 $a2, $f0
|
||||
/* 3253C0 802BD2F0 44900000 */ mtc1 $s0, $f0
|
||||
/* 3253C4 802BD2F4 00000000 */ nop
|
||||
/* 3253C8 802BD2F8 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 3253CC 802BD2FC 44070000 */ mfc1 $a3, $f0
|
||||
/* 3253D0 802BD300 24040001 */ addiu $a0, $zero, 1
|
||||
/* 3253D4 802BD304 0C01C424 */ jal func_80071090
|
||||
/* 3253D8 802BD308 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* 3253DC 802BD30C 8FBF0028 */ lw $ra, 0x28($sp)
|
||||
/* 3253E0 802BD310 8FB30024 */ lw $s3, 0x24($sp)
|
||||
/* 3253E4 802BD314 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* 3253E8 802BD318 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 3253EC 802BD31C 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 3253F0 802BD320 24020002 */ addiu $v0, $zero, 2
|
||||
/* 3253F4 802BD324 03E00008 */ jr $ra
|
||||
/* 3253F8 802BD328 27BD0030 */ addiu $sp, $sp, 0x30
|
@ -1,29 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802BD32C
|
||||
/* 3253FC 802BD32C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 325400 802BD330 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 325404 802BD334 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 325408 802BD338 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 32540C 802BD33C 0C0B1EAF */ jal get_variable
|
||||
/* 325410 802BD340 8C450000 */ lw $a1, ($v0)
|
||||
/* 325414 802BD344 3C038011 */ lui $v1, %hi(gPlayerData)
|
||||
/* 325418 802BD348 2463F290 */ addiu $v1, $v1, %lo(gPlayerData)
|
||||
/* 32541C 802BD34C 80640002 */ lb $a0, 2($v1)
|
||||
/* 325420 802BD350 80650003 */ lb $a1, 3($v1)
|
||||
/* 325424 802BD354 00822021 */ addu $a0, $a0, $v0
|
||||
/* 325428 802BD358 00A4102A */ slt $v0, $a1, $a0
|
||||
/* 32542C 802BD35C 10400002 */ beqz $v0, .L802BD368
|
||||
/* 325430 802BD360 0060802D */ daddu $s0, $v1, $zero
|
||||
/* 325434 802BD364 00A0202D */ daddu $a0, $a1, $zero
|
||||
.L802BD368:
|
||||
/* 325438 802BD368 58800001 */ blezl $a0, .L802BD370
|
||||
/* 32543C 802BD36C 24040001 */ addiu $a0, $zero, 1
|
||||
.L802BD370:
|
||||
/* 325440 802BD370 A2040002 */ sb $a0, 2($s0)
|
||||
/* 325444 802BD374 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 325448 802BD378 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 32544C 802BD37C 24020002 */ addiu $v0, $zero, 2
|
||||
/* 325450 802BD380 03E00008 */ jr $ra
|
||||
/* 325454 802BD384 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,29 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802BD388
|
||||
/* 325458 802BD388 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 32545C 802BD38C AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 325460 802BD390 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 325464 802BD394 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 325468 802BD398 0C0B1EAF */ jal get_variable
|
||||
/* 32546C 802BD39C 8C450000 */ lw $a1, ($v0)
|
||||
/* 325470 802BD3A0 3C038011 */ lui $v1, %hi(gPlayerData)
|
||||
/* 325474 802BD3A4 2463F290 */ addiu $v1, $v1, %lo(gPlayerData)
|
||||
/* 325478 802BD3A8 80640005 */ lb $a0, 5($v1)
|
||||
/* 32547C 802BD3AC 80650006 */ lb $a1, 6($v1)
|
||||
/* 325480 802BD3B0 00822021 */ addu $a0, $a0, $v0
|
||||
/* 325484 802BD3B4 00A4102A */ slt $v0, $a1, $a0
|
||||
/* 325488 802BD3B8 10400002 */ beqz $v0, .L802BD3C4
|
||||
/* 32548C 802BD3BC 0060802D */ daddu $s0, $v1, $zero
|
||||
/* 325490 802BD3C0 00A0202D */ daddu $a0, $a1, $zero
|
||||
.L802BD3C4:
|
||||
/* 325494 802BD3C4 58800001 */ blezl $a0, .L802BD3CC
|
||||
/* 325498 802BD3C8 24040001 */ addiu $a0, $zero, 1
|
||||
.L802BD3CC:
|
||||
/* 32549C 802BD3CC A2040005 */ sb $a0, 5($s0)
|
||||
/* 3254A0 802BD3D0 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 3254A4 802BD3D4 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 3254A8 802BD3D8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 3254AC 802BD3DC 03E00008 */ jr $ra
|
||||
/* 3254B0 802BD3E0 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,18 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802BD3E4
|
||||
/* 3254B4 802BD3E4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 3254B8 802BD3E8 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 3254BC 802BD3EC 0C009C22 */ jal func_80027088
|
||||
/* 3254C0 802BD3F0 24040002 */ addiu $a0, $zero, 2
|
||||
/* 3254C4 802BD3F4 3C02800A */ lui $v0, %hi(D_8009A650)
|
||||
/* 3254C8 802BD3F8 2442A650 */ addiu $v0, $v0, %lo(D_8009A650)
|
||||
/* 3254CC 802BD3FC 8C430000 */ lw $v1, ($v0)
|
||||
/* 3254D0 802BD400 3C040020 */ lui $a0, 0x20
|
||||
/* 3254D4 802BD404 00641825 */ or $v1, $v1, $a0
|
||||
/* 3254D8 802BD408 AC430000 */ sw $v1, ($v0)
|
||||
/* 3254DC 802BD40C 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 3254E0 802BD410 24020002 */ addiu $v0, $zero, 2
|
||||
/* 3254E4 802BD414 03E00008 */ jr $ra
|
||||
/* 3254E8 802BD418 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,19 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802BD41C
|
||||
/* 3254EC 802BD41C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 3254F0 802BD420 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 3254F4 802BD424 0C009C22 */ jal func_80027088
|
||||
/* 3254F8 802BD428 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 3254FC 802BD42C 3C04FFDF */ lui $a0, 0xffdf
|
||||
/* 325500 802BD430 3C03800A */ lui $v1, %hi(D_8009A650)
|
||||
/* 325504 802BD434 2463A650 */ addiu $v1, $v1, %lo(D_8009A650)
|
||||
/* 325508 802BD438 8C620000 */ lw $v0, ($v1)
|
||||
/* 32550C 802BD43C 3484FFFF */ ori $a0, $a0, 0xffff
|
||||
/* 325510 802BD440 00441024 */ and $v0, $v0, $a0
|
||||
/* 325514 802BD444 AC620000 */ sw $v0, ($v1)
|
||||
/* 325518 802BD448 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 32551C 802BD44C 24020002 */ addiu $v0, $zero, 2
|
||||
/* 325520 802BD450 03E00008 */ jr $ra
|
||||
/* 325524 802BD454 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,43 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802BD458
|
||||
/* 325528 802BD458 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 32552C 802BD45C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 325530 802BD460 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 325534 802BD464 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 325538 802BD468 8E02000C */ lw $v0, 0xc($s0)
|
||||
/* 32553C 802BD46C 0C0B1EAF */ jal get_variable
|
||||
/* 325540 802BD470 8C450000 */ lw $a1, ($v0)
|
||||
/* 325544 802BD474 3C038008 */ lui $v1, %hi(gItemTable)
|
||||
/* 325548 802BD478 246378E0 */ addiu $v1, $v1, %lo(gItemTable)
|
||||
/* 32554C 802BD47C 00021140 */ sll $v0, $v0, 5
|
||||
/* 325550 802BD480 00431021 */ addu $v0, $v0, $v1
|
||||
/* 325554 802BD484 8043001B */ lb $v1, 0x1b($v0)
|
||||
/* 325558 802BD488 AE0300B0 */ sw $v1, 0xb0($s0)
|
||||
/* 32555C 802BD48C 8043001C */ lb $v1, 0x1c($v0)
|
||||
/* 325560 802BD490 AE0000B8 */ sw $zero, 0xb8($s0)
|
||||
/* 325564 802BD494 AE0300B4 */ sw $v1, 0xb4($s0)
|
||||
/* 325568 802BD498 94420018 */ lhu $v0, 0x18($v0)
|
||||
/* 32556C 802BD49C 30420100 */ andi $v0, $v0, 0x100
|
||||
/* 325570 802BD4A0 10400002 */ beqz $v0, .L802BD4AC
|
||||
/* 325574 802BD4A4 24020001 */ addiu $v0, $zero, 1
|
||||
/* 325578 802BD4A8 AE0200B8 */ sw $v0, 0xb8($s0)
|
||||
.L802BD4AC:
|
||||
/* 32557C 802BD4AC 8E0200B0 */ lw $v0, 0xb0($s0)
|
||||
/* 325580 802BD4B0 04400006 */ bltz $v0, .L802BD4CC
|
||||
/* 325584 802BD4B4 0000182D */ daddu $v1, $zero, $zero
|
||||
/* 325588 802BD4B8 5C400006 */ bgtzl $v0, .L802BD4D4
|
||||
/* 32558C 802BD4BC AE0300C0 */ sw $v1, 0xc0($s0)
|
||||
/* 325590 802BD4C0 8E0200B4 */ lw $v0, 0xb4($s0)
|
||||
/* 325594 802BD4C4 04430003 */ bgezl $v0, .L802BD4D4
|
||||
/* 325598 802BD4C8 AE0300C0 */ sw $v1, 0xc0($s0)
|
||||
.L802BD4CC:
|
||||
/* 32559C 802BD4CC 24030001 */ addiu $v1, $zero, 1
|
||||
/* 3255A0 802BD4D0 AE0300C0 */ sw $v1, 0xc0($s0)
|
||||
.L802BD4D4:
|
||||
/* 3255A4 802BD4D4 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 3255A8 802BD4D8 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 3255AC 802BD4DC 24020002 */ addiu $v0, $zero, 2
|
||||
/* 3255B0 802BD4E0 03E00008 */ jr $ra
|
||||
/* 3255B4 802BD4E4 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,14 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802BD4E8
|
||||
/* 3255B8 802BD4E8 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 3255BC 802BD4EC AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 3255C0 802BD4F0 0C03A91F */ jal remove_consumable
|
||||
/* 3255C4 802BD4F4 00000000 */ nop
|
||||
/* 3255C8 802BD4F8 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 3255CC 802BD4FC 24020002 */ addiu $v0, $zero, 2
|
||||
/* 3255D0 802BD500 03E00008 */ jr $ra
|
||||
/* 3255D4 802BD504 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
/* 3255D8 802BD508 00000000 */ nop
|
||||
/* 3255DC 802BD50C 00000000 */ nop
|
@ -1,6 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_E00021B4
|
||||
/* 327AA4 E00021B4 03E00008 */ jr $ra
|
||||
/* 327AA8 E00021B8 00000000 */ nop
|
@ -1,14 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_E0002738
|
||||
/* 328028 E0002738 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 32802C E000273C AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 328030 E0002740 0C080128 */ jal func_E02004A0
|
||||
/* 328034 E0002744 00000000 */ nop
|
||||
/* 328038 E0002748 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 32803C E000274C 03E00008 */ jr $ra
|
||||
/* 328040 E0002750 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
/* 328044 E0002754 00000000 */ nop
|
||||
/* 328048 E0002758 00000000 */ nop
|
||||
/* 32804C E000275C 00000000 */ nop
|
@ -17,8 +17,8 @@ glabel func_800E06D8
|
||||
/* 79BB8 800E0708 82220015 */ lb $v0, 0x15($s1)
|
||||
/* 79BBC 800E070C 1440003C */ bnez $v0, .L800E0800
|
||||
/* 79BC0 800E0710 0000102D */ daddu $v0, $zero, $zero
|
||||
/* 79BC4 800E0714 3C028016 */ lui $v0, 0x8016
|
||||
/* 79BC8 800E0718 8442A562 */ lh $v0, -0x5a9e($v0)
|
||||
/* 79BC4 800E0714 3C028016 */ lui $v0, %hi(gCollisionStatus+0x12)
|
||||
/* 79BC8 800E0718 8442A562 */ lh $v0, %lo(gCollisionStatus+0x12)($v0)
|
||||
/* 79BCC 800E071C 2405FFFF */ addiu $a1, $zero, -1
|
||||
/* 79BD0 800E0720 14450003 */ bne $v0, $a1, .L800E0730
|
||||
/* 79BD4 800E0724 3C020200 */ lui $v0, 0x200
|
||||
@ -41,8 +41,8 @@ glabel func_800E06D8
|
||||
/* 79C10 800E0760 080381FF */ j .L800E07FC
|
||||
/* 79C14 800E0764 A62500C6 */ sh $a1, 0xc6($s1)
|
||||
.L800E0768:
|
||||
/* 79C18 800E0768 3C108016 */ lui $s0, 0x8016
|
||||
/* 79C1C 800E076C 8610A562 */ lh $s0, -0x5a9e($s0)
|
||||
/* 79C18 800E0768 3C108016 */ lui $s0, %hi(gCollisionStatus+0x12)
|
||||
/* 79C1C 800E076C 8610A562 */ lh $s0, %lo(gCollisionStatus+0x12)($s0)
|
||||
/* 79C20 800E0770 32024000 */ andi $v0, $s0, 0x4000
|
||||
/* 79C24 800E0774 14400007 */ bnez $v0, .L800E0794
|
||||
/* 79C28 800E0778 00000000 */ nop
|
||||
|
@ -104,8 +104,8 @@ glabel update_player_shadow
|
||||
/* 7B1FC 800E1D4C AFA20024 */ sw $v0, 0x24($sp)
|
||||
/* 7B200 800E1D50 C7A00038 */ lwc1 $f0, 0x38($sp)
|
||||
/* 7B204 800E1D54 C7A2003C */ lwc1 $f2, 0x3c($sp)
|
||||
/* 7B208 800E1D58 3C018016 */ lui $at, 0x8016
|
||||
/* 7B20C 800E1D5C A422A556 */ sh $v0, -0x5aaa($at)
|
||||
/* 7B208 800E1D58 3C018016 */ lui $at, %hi(gCollisionStatus+0x6)
|
||||
/* 7B20C 800E1D5C A422A556 */ sh $v0, %lo(gCollisionStatus+0x6)($at)
|
||||
/* 7B210 800E1D60 E6000028 */ swc1 $f0, 0x28($s0)
|
||||
/* 7B214 800E1D64 E6020030 */ swc1 $f2, 0x30($s0)
|
||||
/* 7B218 800E1D68 C62C006C */ lwc1 $f12, 0x6c($s1)
|
||||
|
@ -22,8 +22,8 @@ glabel func_800E5098
|
||||
/* 7E584 800E50D4 00001810 */ mfhi $v1
|
||||
/* 7E588 800E50D8 14600019 */ bnez $v1, .L800E5140
|
||||
/* 7E58C 800E50DC 00000000 */ nop
|
||||
/* 7E590 800E50E0 3C048016 */ lui $a0, 0x8016
|
||||
/* 7E594 800E50E4 8484A552 */ lh $a0, -0x5aae($a0)
|
||||
/* 7E590 800E50E0 3C048016 */ lui $a0, %hi(gCollisionStatus+0x2)
|
||||
/* 7E594 800E50E4 8484A552 */ lh $a0, %lo(gCollisionStatus+0x2)($a0)
|
||||
/* 7E598 800E50E8 0C016F6A */ jal get_collider_type_by_id
|
||||
/* 7E59C 800E50EC 00000000 */ nop
|
||||
/* 7E5A0 800E50F0 304300FF */ andi $v1, $v0, 0xff
|
||||
|
@ -7,7 +7,7 @@ glabel func_800E5150
|
||||
/* 7E608 800E5158 0C03945D */ jal func_800E5174
|
||||
/* 7E60C 800E515C 00000000 */ nop
|
||||
/* 7E610 800E5160 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 7E614 800E5164 3C018016 */ lui $at, 0x8016
|
||||
/* 7E618 800E5168 A422A55A */ sh $v0, -0x5aa6($at)
|
||||
/* 7E614 800E5164 3C018016 */ lui $at, %hi(gCollisionStatus+0xA)
|
||||
/* 7E618 800E5168 A422A55A */ sh $v0, %lo(gCollisionStatus+0xA)($at)
|
||||
/* 7E61C 800E516C 03E00008 */ jr $ra
|
||||
/* 7E620 800E5170 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
@ -214,8 +214,8 @@ glabel func_800E5530
|
||||
.L800E5844:
|
||||
/* 7ECF4 800E5844 16020014 */ bne $s0, $v0, .L800E5898
|
||||
/* 7ECF8 800E5848 00000000 */ nop
|
||||
/* 7ECFC 800E584C 3C048016 */ lui $a0, 0x8016
|
||||
/* 7ED00 800E5850 8484A552 */ lh $a0, -0x5aae($a0)
|
||||
/* 7ECFC 800E584C 3C048016 */ lui $a0, %hi(gCollisionStatus+0x2)
|
||||
/* 7ED00 800E5850 8484A552 */ lh $a0, %lo(gCollisionStatus+0x2)($a0)
|
||||
/* 7ED04 800E5854 0C016F6A */ jal get_collider_type_by_id
|
||||
/* 7ED08 800E5858 00000000 */ nop
|
||||
/* 7ED0C 800E585C 304200FF */ andi $v0, $v0, 0xff
|
||||
|
@ -16,8 +16,8 @@ glabel func_800EFD08
|
||||
/* 891E4 800EFD34 3C108011 */ lui $s0, 0x8011
|
||||
/* 891E8 800EFD38 8E109480 */ lw $s0, -0x6b80($s0)
|
||||
.L800EFD3C:
|
||||
/* 891EC 800EFD3C 3C048016 */ lui $a0, 0x8016
|
||||
/* 891F0 800EFD40 9484A552 */ lhu $a0, -0x5aae($a0)
|
||||
/* 891EC 800EFD3C 3C048016 */ lui $a0, %hi(gCollisionStatus+0x2)
|
||||
/* 891F0 800EFD40 9484A552 */ lhu $a0, %lo(gCollisionStatus+0x2)($a0)
|
||||
/* 891F4 800EFD44 0C016F6A */ jal get_collider_type_by_id
|
||||
/* 891F8 800EFD48 00000000 */ nop
|
||||
/* 891FC 800EFD4C 822300B4 */ lb $v1, 0xb4($s1)
|
||||
|
@ -2,8 +2,8 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802D244C
|
||||
/* F6DFC 802D244C 3C028016 */ lui $v0, 0x8016
|
||||
/* F6E00 802D2450 8442A552 */ lh $v0, -0x5aae($v0)
|
||||
/* F6DFC 802D244C 3C028016 */ lui $v0, %hi(gCollisionStatus+0x2)
|
||||
/* F6E00 802D2450 8442A552 */ lh $v0, %lo(gCollisionStatus+0x2)($v0)
|
||||
/* F6E04 802D2454 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* F6E08 802D2458 04400006 */ bltz $v0, .L802D2474
|
||||
/* F6E0C 802D245C AFBF0010 */ sw $ra, 0x10($sp)
|
||||
|
@ -2,8 +2,8 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802D2484
|
||||
/* F6E34 802D2484 3C028016 */ lui $v0, 0x8016
|
||||
/* F6E38 802D2488 8442A552 */ lh $v0, -0x5aae($v0)
|
||||
/* F6E34 802D2484 3C028016 */ lui $v0, %hi(gCollisionStatus+0x2)
|
||||
/* F6E38 802D2488 8442A552 */ lh $v0, %lo(gCollisionStatus+0x2)($v0)
|
||||
/* F6E3C 802D248C 00021027 */ nor $v0, $zero, $v0
|
||||
/* F6E40 802D2490 000217C3 */ sra $v0, $v0, 0x1f
|
||||
/* F6E44 802D2494 03E00008 */ jr $ra
|
||||
|
@ -14,8 +14,8 @@ glabel entity_get_collision_flags
|
||||
/* A6FDC 801108DC 00621024 */ and $v0, $v1, $v0
|
||||
/* A6FE0 801108E0 AC820000 */ sw $v0, ($a0)
|
||||
.L801108E4:
|
||||
/* A6FE4 801108E4 3C038016 */ lui $v1, 0x8016
|
||||
/* A6FE8 801108E8 8463A552 */ lh $v1, -0x5aae($v1)
|
||||
/* A6FE4 801108E4 3C038016 */ lui $v1, %hi(gCollisionStatus+0x2)
|
||||
/* A6FE8 801108E8 8463A552 */ lh $v1, %lo(gCollisionStatus+0x2)($v1)
|
||||
/* A6FEC 801108EC 2402FFFF */ addiu $v0, $zero, -1
|
||||
/* A6FF0 801108F0 10620005 */ beq $v1, $v0, .L80110908
|
||||
/* A6FF4 801108F4 30624000 */ andi $v0, $v1, 0x4000
|
||||
@ -24,8 +24,8 @@ glabel entity_get_collision_flags
|
||||
/* A7000 80110900 50C20001 */ beql $a2, $v0, .L80110908
|
||||
/* A7004 80110904 34A50001 */ ori $a1, $a1, 1
|
||||
.L80110908:
|
||||
/* A7008 80110908 3C038016 */ lui $v1, 0x8016
|
||||
/* A700C 8011090C 8463A554 */ lh $v1, -0x5aac($v1)
|
||||
/* A7008 80110908 3C038016 */ lui $v1, %hi(gCollisionStatus+0x4)
|
||||
/* A700C 8011090C 8463A554 */ lh $v1, %lo(gCollisionStatus+0x4)($v1)
|
||||
/* A7010 80110910 2402FFFF */ addiu $v0, $zero, -1
|
||||
/* A7014 80110914 10620005 */ beq $v1, $v0, .L8011092C
|
||||
/* A7018 80110918 30624000 */ andi $v0, $v1, 0x4000
|
||||
@ -34,8 +34,8 @@ glabel entity_get_collision_flags
|
||||
/* A7024 80110924 50C20001 */ beql $a2, $v0, .L8011092C
|
||||
/* A7028 80110928 34A50100 */ ori $a1, $a1, 0x100
|
||||
.L8011092C:
|
||||
/* A702C 8011092C 3C038016 */ lui $v1, 0x8016
|
||||
/* A7030 80110930 8463A558 */ lh $v1, -0x5aa8($v1)
|
||||
/* A702C 8011092C 3C038016 */ lui $v1, %hi(gCollisionStatus+0x8)
|
||||
/* A7030 80110930 8463A558 */ lh $v1, %lo(gCollisionStatus+0x8)($v1)
|
||||
/* A7034 80110934 2402FFFF */ addiu $v0, $zero, -1
|
||||
/* A7038 80110938 10620005 */ beq $v1, $v0, .L80110950
|
||||
/* A703C 8011093C 30624000 */ andi $v0, $v1, 0x4000
|
||||
@ -54,8 +54,8 @@ glabel entity_get_collision_flags
|
||||
/* A706C 8011096C 50C20001 */ beql $a2, $v0, .L80110974
|
||||
/* A7070 80110970 34A50010 */ ori $a1, $a1, 0x10
|
||||
.L80110974:
|
||||
/* A7074 80110974 3C038016 */ lui $v1, 0x8016
|
||||
/* A7078 80110978 8463A564 */ lh $v1, -0x5a9c($v1)
|
||||
/* A7074 80110974 3C038016 */ lui $v1, %hi(gCollisionStatus+0x14)
|
||||
/* A7078 80110978 8463A564 */ lh $v1, %lo(gCollisionStatus+0x14)($v1)
|
||||
/* A707C 8011097C 2402FFFF */ addiu $v0, $zero, -1
|
||||
/* A7080 80110980 10620005 */ beq $v1, $v0, .L80110998
|
||||
/* A7084 80110984 30624000 */ andi $v0, $v1, 0x4000
|
||||
@ -64,8 +64,8 @@ glabel entity_get_collision_flags
|
||||
/* A7090 80110990 50C20001 */ beql $a2, $v0, .L80110998
|
||||
/* A7094 80110994 34A50040 */ ori $a1, $a1, 0x40
|
||||
.L80110998:
|
||||
/* A7098 80110998 3C038016 */ lui $v1, 0x8016
|
||||
/* A709C 8011099C 8463A562 */ lh $v1, -0x5a9e($v1)
|
||||
/* A7098 80110998 3C038016 */ lui $v1, %hi(gCollisionStatus+0x12)
|
||||
/* A709C 8011099C 8463A562 */ lh $v1, %lo(gCollisionStatus+0x12)($v1)
|
||||
/* A70A0 801109A0 2402FFFF */ addiu $v0, $zero, -1
|
||||
/* A70A4 801109A4 1062000B */ beq $v1, $v0, .L801109D4
|
||||
/* A70A8 801109A8 30624000 */ andi $v0, $v1, 0x4000
|
||||
|
@ -1,22 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80240C4C_BDDDFC
|
||||
/* BDDDFC 80240C4C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* BDDE00 80240C50 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* BDDE04 80240C54 0080802D */ daddu $s0, $a0, $zero
|
||||
/* BDDE08 80240C58 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* BDDE0C 80240C5C 8E020148 */ lw $v0, 0x148($s0)
|
||||
/* BDDE10 80240C60 0C00EABB */ jal get_npc_unsafe
|
||||
/* BDDE14 80240C64 84440008 */ lh $a0, 8($v0)
|
||||
/* BDDE18 80240C68 9443008E */ lhu $v1, 0x8e($v0)
|
||||
/* BDDE1C 80240C6C 2463FFFF */ addiu $v1, $v1, -1
|
||||
/* BDDE20 80240C70 A443008E */ sh $v1, 0x8e($v0)
|
||||
/* BDDE24 80240C74 00031C00 */ sll $v1, $v1, 0x10
|
||||
/* BDDE28 80240C78 58600001 */ blezl $v1, .L80240C80
|
||||
/* BDDE2C 80240C7C AE000070 */ sw $zero, 0x70($s0)
|
||||
.L80240C80:
|
||||
/* BDDE30 80240C80 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* BDDE34 80240C84 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* BDDE38 80240C88 03E00008 */ jr $ra
|
||||
/* BDDE3C 80240C8C 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -207,7 +207,7 @@ glabel func_80240C90_BDDE40
|
||||
/* BDE154 80240FA4 0000102D */ daddu $v0, $zero, $zero
|
||||
/* BDE158 80240FA8 0260202D */ daddu $a0, $s3, $zero
|
||||
/* BDE15C 80240FAC 0280282D */ daddu $a1, $s4, $zero
|
||||
/* BDE160 80240FB0 0C090313 */ jal func_80240C4C_BDDDFC
|
||||
/* BDE160 80240FB0 0C090313 */ jal UnkDurationCheck
|
||||
/* BDE164 80240FB4 0200302D */ daddu $a2, $s0, $zero
|
||||
.L80240FB8:
|
||||
/* BDE168 80240FB8 0000102D */ daddu $v0, $zero, $zero
|
||||
|
@ -1,52 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80240400_BDF190
|
||||
/* BDF190 80240400 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* BDF194 80240404 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* BDF198 80240408 0080982D */ daddu $s3, $a0, $zero
|
||||
/* BDF19C 8024040C AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* BDF1A0 80240410 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* BDF1A4 80240414 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* BDF1A8 80240418 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* BDF1AC 8024041C 8E720148 */ lw $s2, 0x148($s3)
|
||||
/* BDF1B0 80240420 86440008 */ lh $a0, 8($s2)
|
||||
/* BDF1B4 80240424 0C00EABB */ jal get_npc_unsafe
|
||||
/* BDF1B8 80240428 00A0882D */ daddu $s1, $a1, $zero
|
||||
/* BDF1BC 8024042C 8E240008 */ lw $a0, 8($s1)
|
||||
/* BDF1C0 80240430 0040802D */ daddu $s0, $v0, $zero
|
||||
/* BDF1C4 80240434 00041FC2 */ srl $v1, $a0, 0x1f
|
||||
/* BDF1C8 80240438 00832021 */ addu $a0, $a0, $v1
|
||||
/* BDF1CC 8024043C 00042043 */ sra $a0, $a0, 1
|
||||
/* BDF1D0 80240440 0C00A67F */ jal rand_int
|
||||
/* BDF1D4 80240444 24840001 */ addiu $a0, $a0, 1
|
||||
/* BDF1D8 80240448 8E230008 */ lw $v1, 8($s1)
|
||||
/* BDF1DC 8024044C 240400B4 */ addiu $a0, $zero, 0xb4
|
||||
/* BDF1E0 80240450 00032FC2 */ srl $a1, $v1, 0x1f
|
||||
/* BDF1E4 80240454 00651821 */ addu $v1, $v1, $a1
|
||||
/* BDF1E8 80240458 00031843 */ sra $v1, $v1, 1
|
||||
/* BDF1EC 8024045C 00621821 */ addu $v1, $v1, $v0
|
||||
/* BDF1F0 80240460 0C00A67F */ jal rand_int
|
||||
/* BDF1F4 80240464 A603008E */ sh $v1, 0x8e($s0)
|
||||
/* BDF1F8 80240468 C60C000C */ lwc1 $f12, 0xc($s0)
|
||||
/* BDF1FC 8024046C 44820000 */ mtc1 $v0, $f0
|
||||
/* BDF200 80240470 00000000 */ nop
|
||||
/* BDF204 80240474 46800020 */ cvt.s.w $f0, $f0
|
||||
/* BDF208 80240478 46006300 */ add.s $f12, $f12, $f0
|
||||
/* BDF20C 8024047C 3C0142B4 */ lui $at, 0x42b4
|
||||
/* BDF210 80240480 44810000 */ mtc1 $at, $f0
|
||||
/* BDF214 80240484 0C00A6C9 */ jal clamp_angle
|
||||
/* BDF218 80240488 46006301 */ sub.s $f12, $f12, $f0
|
||||
/* BDF21C 8024048C E600000C */ swc1 $f0, 0xc($s0)
|
||||
/* BDF220 80240490 8E4200CC */ lw $v0, 0xcc($s2)
|
||||
/* BDF224 80240494 8C420000 */ lw $v0, ($v0)
|
||||
/* BDF228 80240498 AE020028 */ sw $v0, 0x28($s0)
|
||||
/* BDF22C 8024049C 24020003 */ addiu $v0, $zero, 3
|
||||
/* BDF230 802404A0 AE620070 */ sw $v0, 0x70($s3)
|
||||
/* BDF234 802404A4 8FBF0020 */ lw $ra, 0x20($sp)
|
||||
/* BDF238 802404A8 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* BDF23C 802404AC 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* BDF240 802404B0 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* BDF244 802404B4 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* BDF248 802404B8 03E00008 */ jr $ra
|
||||
/* BDF24C 802404BC 27BD0028 */ addiu $sp, $sp, 0x28
|
@ -1,33 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80240730_BDF4C0
|
||||
/* BDF4C0 80240730 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* BDF4C4 80240734 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* BDF4C8 80240738 0080882D */ daddu $s1, $a0, $zero
|
||||
/* BDF4CC 8024073C AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* BDF4D0 80240740 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* BDF4D4 80240744 8E300148 */ lw $s0, 0x148($s1)
|
||||
/* BDF4D8 80240748 0C00EABB */ jal get_npc_unsafe
|
||||
/* BDF4DC 8024074C 86040008 */ lh $a0, 8($s0)
|
||||
/* BDF4E0 80240750 8E0300CC */ lw $v1, 0xcc($s0)
|
||||
/* BDF4E4 80240754 3C014120 */ lui $at, 0x4120
|
||||
/* BDF4E8 80240758 44812000 */ mtc1 $at, $f4
|
||||
/* BDF4EC 8024075C 3C014000 */ lui $at, 0x4000
|
||||
/* BDF4F0 80240760 44810000 */ mtc1 $at, $f0
|
||||
/* BDF4F4 80240764 C442003C */ lwc1 $f2, 0x3c($v0)
|
||||
/* BDF4F8 80240768 8C640010 */ lw $a0, 0x10($v1)
|
||||
/* BDF4FC 8024076C 8C430000 */ lw $v1, ($v0)
|
||||
/* BDF500 80240770 E444001C */ swc1 $f4, 0x1c($v0)
|
||||
/* BDF504 80240774 E4400014 */ swc1 $f0, 0x14($v0)
|
||||
/* BDF508 80240778 E4420064 */ swc1 $f2, 0x64($v0)
|
||||
/* BDF50C 8024077C 34630800 */ ori $v1, $v1, 0x800
|
||||
/* BDF510 80240780 AC430000 */ sw $v1, ($v0)
|
||||
/* BDF514 80240784 AC440028 */ sw $a0, 0x28($v0)
|
||||
/* BDF518 80240788 2402000B */ addiu $v0, $zero, 0xb
|
||||
/* BDF51C 8024078C AE220070 */ sw $v0, 0x70($s1)
|
||||
/* BDF520 80240790 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* BDF524 80240794 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* BDF528 80240798 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* BDF52C 8024079C 03E00008 */ jr $ra
|
||||
/* BDF530 802407A0 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -1,35 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802407A4_BDF534
|
||||
/* BDF534 802407A4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* BDF538 802407A8 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* BDF53C 802407AC 0080802D */ daddu $s0, $a0, $zero
|
||||
/* BDF540 802407B0 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* BDF544 802407B4 8E020148 */ lw $v0, 0x148($s0)
|
||||
/* BDF548 802407B8 0C00EABB */ jal get_npc_unsafe
|
||||
/* BDF54C 802407BC 84440008 */ lh $a0, 8($v0)
|
||||
/* BDF550 802407C0 0040202D */ daddu $a0, $v0, $zero
|
||||
/* BDF554 802407C4 C482003C */ lwc1 $f2, 0x3c($a0)
|
||||
/* BDF558 802407C8 C480001C */ lwc1 $f0, 0x1c($a0)
|
||||
/* BDF55C 802407CC 46001080 */ add.s $f2, $f2, $f0
|
||||
/* BDF560 802407D0 C4840014 */ lwc1 $f4, 0x14($a0)
|
||||
/* BDF564 802407D4 46040001 */ sub.s $f0, $f0, $f4
|
||||
/* BDF568 802407D8 C4840064 */ lwc1 $f4, 0x64($a0)
|
||||
/* BDF56C 802407DC 4602203C */ c.lt.s $f4, $f2
|
||||
/* BDF570 802407E0 E482003C */ swc1 $f2, 0x3c($a0)
|
||||
/* BDF574 802407E4 45010009 */ bc1t .L8024080C
|
||||
/* BDF578 802407E8 E480001C */ swc1 $f0, 0x1c($a0)
|
||||
/* BDF57C 802407EC 8C820000 */ lw $v0, ($a0)
|
||||
/* BDF580 802407F0 2403F7FF */ addiu $v1, $zero, -0x801
|
||||
/* BDF584 802407F4 E484003C */ swc1 $f4, 0x3c($a0)
|
||||
/* BDF588 802407F8 AC80001C */ sw $zero, 0x1c($a0)
|
||||
/* BDF58C 802407FC 00431024 */ and $v0, $v0, $v1
|
||||
/* BDF590 80240800 AC820000 */ sw $v0, ($a0)
|
||||
/* BDF594 80240804 2402000C */ addiu $v0, $zero, 0xc
|
||||
/* BDF598 80240808 AE020070 */ sw $v0, 0x70($s0)
|
||||
.L8024080C:
|
||||
/* BDF59C 8024080C 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* BDF5A0 80240810 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* BDF5A4 80240814 03E00008 */ jr $ra
|
||||
/* BDF5A8 80240818 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,32 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80240A6C_BDF7FC
|
||||
/* BDF7FC 80240A6C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* BDF800 80240A70 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* BDF804 80240A74 0080882D */ daddu $s1, $a0, $zero
|
||||
/* BDF808 80240A78 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* BDF80C 80240A7C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* BDF810 80240A80 8E300148 */ lw $s0, 0x148($s1)
|
||||
/* BDF814 80240A84 0C00EABB */ jal get_npc_unsafe
|
||||
/* BDF818 80240A88 86040008 */ lh $a0, 8($s0)
|
||||
/* BDF81C 80240A8C 9443008E */ lhu $v1, 0x8e($v0)
|
||||
/* BDF820 80240A90 2463FFFF */ addiu $v1, $v1, -1
|
||||
/* BDF824 80240A94 A443008E */ sh $v1, 0x8e($v0)
|
||||
/* BDF828 80240A98 00031C00 */ sll $v1, $v1, 0x10
|
||||
/* BDF82C 80240A9C 14600008 */ bnez $v1, .L80240AC0
|
||||
/* BDF830 80240AA0 00000000 */ nop
|
||||
/* BDF834 80240AA4 8E0200B0 */ lw $v0, 0xb0($s0)
|
||||
/* BDF838 80240AA8 30420080 */ andi $v0, $v0, 0x80
|
||||
/* BDF83C 80240AAC 10400003 */ beqz $v0, .L80240ABC
|
||||
/* BDF840 80240AB0 2402000F */ addiu $v0, $zero, 0xf
|
||||
/* BDF844 80240AB4 080902B0 */ j .L80240AC0
|
||||
/* BDF848 80240AB8 AE220070 */ sw $v0, 0x70($s1)
|
||||
.L80240ABC:
|
||||
/* BDF84C 80240ABC AE200070 */ sw $zero, 0x70($s1)
|
||||
.L80240AC0:
|
||||
/* BDF850 80240AC0 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* BDF854 80240AC4 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* BDF858 80240AC8 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* BDF85C 80240ACC 03E00008 */ jr $ra
|
||||
/* BDF860 80240AD0 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -141,7 +141,7 @@ glabel func_80240B94_BDF924
|
||||
/* BDFB2C 80240D9C 00000000 */ nop
|
||||
/* BDFB30 80240DA0 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BDFB34 80240DA4 0260282D */ daddu $a1, $s3, $zero
|
||||
/* BDFB38 80240DA8 0C090100 */ jal func_80240400_BDF190
|
||||
/* BDFB38 80240DA8 0C090100 */ jal UnkNpcAIFunc1
|
||||
/* BDFB3C 80240DAC 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* BDFB40 80240DB0 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BDFB44 80240DB4 0260282D */ daddu $a1, $s3, $zero
|
||||
@ -157,11 +157,11 @@ glabel func_80240B94_BDF924
|
||||
/* BDFB6C 80240DDC 00000000 */ nop
|
||||
/* BDFB70 80240DE0 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BDFB74 80240DE4 0260282D */ daddu $a1, $s3, $zero
|
||||
/* BDFB78 80240DE8 0C0901CC */ jal func_80240730_BDF4C0
|
||||
/* BDFB78 80240DE8 0C0901CC */ jal NpcJumpFunc2
|
||||
/* BDFB7C 80240DEC 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* BDFB80 80240DF0 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BDFB84 80240DF4 0260282D */ daddu $a1, $s3, $zero
|
||||
/* BDFB88 80240DF8 0C0901E9 */ jal func_802407A4_BDF534
|
||||
/* BDFB88 80240DF8 0C0901E9 */ jal NpcJumpFunc
|
||||
/* BDFB8C 80240DFC 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* BDFB90 80240E00 0809039A */ j .L80240E68
|
||||
/* BDFB94 80240E04 00000000 */ nop
|
||||
@ -177,7 +177,7 @@ glabel func_80240B94_BDF924
|
||||
/* BDFBBC 80240E2C 00000000 */ nop
|
||||
/* BDFBC0 80240E30 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BDFBC4 80240E34 0260282D */ daddu $a1, $s3, $zero
|
||||
/* BDFBC8 80240E38 0C09029B */ jal func_80240A6C_BDF7FC
|
||||
/* BDFBC8 80240E38 0C09029B */ jal UnkNpcDurationFlagFunc
|
||||
/* BDFBCC 80240E3C 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* BDFBD0 80240E40 0809039A */ j .L80240E68
|
||||
/* BDFBD4 80240E44 00000000 */ nop
|
||||
|
@ -71,7 +71,7 @@ glabel func_8024113C_BDFECC
|
||||
/* BDFFD0 80241240 00000000 */ nop
|
||||
/* BDFFD4 80241244 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BDFFD8 80241248 0200282D */ daddu $a1, $s0, $zero
|
||||
/* BDFFDC 8024124C 0C090100 */ jal func_80240400_BDF190
|
||||
/* BDFFDC 8024124C 0C090100 */ jal UnkNpcAIFunc1
|
||||
/* BDFFE0 80241250 0240302D */ daddu $a2, $s2, $zero
|
||||
/* BDFFE4 80241254 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BDFFE8 80241258 0200282D */ daddu $a1, $s0, $zero
|
||||
|
@ -1,52 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80240400_BE3BB0
|
||||
/* BE3BB0 80240400 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* BE3BB4 80240404 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* BE3BB8 80240408 0080982D */ daddu $s3, $a0, $zero
|
||||
/* BE3BBC 8024040C AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* BE3BC0 80240410 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* BE3BC4 80240414 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* BE3BC8 80240418 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* BE3BCC 8024041C 8E720148 */ lw $s2, 0x148($s3)
|
||||
/* BE3BD0 80240420 86440008 */ lh $a0, 8($s2)
|
||||
/* BE3BD4 80240424 0C00EABB */ jal get_npc_unsafe
|
||||
/* BE3BD8 80240428 00A0882D */ daddu $s1, $a1, $zero
|
||||
/* BE3BDC 8024042C 8E240008 */ lw $a0, 8($s1)
|
||||
/* BE3BE0 80240430 0040802D */ daddu $s0, $v0, $zero
|
||||
/* BE3BE4 80240434 00041FC2 */ srl $v1, $a0, 0x1f
|
||||
/* BE3BE8 80240438 00832021 */ addu $a0, $a0, $v1
|
||||
/* BE3BEC 8024043C 00042043 */ sra $a0, $a0, 1
|
||||
/* BE3BF0 80240440 0C00A67F */ jal rand_int
|
||||
/* BE3BF4 80240444 24840001 */ addiu $a0, $a0, 1
|
||||
/* BE3BF8 80240448 8E230008 */ lw $v1, 8($s1)
|
||||
/* BE3BFC 8024044C 240400B4 */ addiu $a0, $zero, 0xb4
|
||||
/* BE3C00 80240450 00032FC2 */ srl $a1, $v1, 0x1f
|
||||
/* BE3C04 80240454 00651821 */ addu $v1, $v1, $a1
|
||||
/* BE3C08 80240458 00031843 */ sra $v1, $v1, 1
|
||||
/* BE3C0C 8024045C 00621821 */ addu $v1, $v1, $v0
|
||||
/* BE3C10 80240460 0C00A67F */ jal rand_int
|
||||
/* BE3C14 80240464 A603008E */ sh $v1, 0x8e($s0)
|
||||
/* BE3C18 80240468 C60C000C */ lwc1 $f12, 0xc($s0)
|
||||
/* BE3C1C 8024046C 44820000 */ mtc1 $v0, $f0
|
||||
/* BE3C20 80240470 00000000 */ nop
|
||||
/* BE3C24 80240474 46800020 */ cvt.s.w $f0, $f0
|
||||
/* BE3C28 80240478 46006300 */ add.s $f12, $f12, $f0
|
||||
/* BE3C2C 8024047C 3C0142B4 */ lui $at, 0x42b4
|
||||
/* BE3C30 80240480 44810000 */ mtc1 $at, $f0
|
||||
/* BE3C34 80240484 0C00A6C9 */ jal clamp_angle
|
||||
/* BE3C38 80240488 46006301 */ sub.s $f12, $f12, $f0
|
||||
/* BE3C3C 8024048C E600000C */ swc1 $f0, 0xc($s0)
|
||||
/* BE3C40 80240490 8E4200CC */ lw $v0, 0xcc($s2)
|
||||
/* BE3C44 80240494 8C420000 */ lw $v0, ($v0)
|
||||
/* BE3C48 80240498 AE020028 */ sw $v0, 0x28($s0)
|
||||
/* BE3C4C 8024049C 24020003 */ addiu $v0, $zero, 3
|
||||
/* BE3C50 802404A0 AE620070 */ sw $v0, 0x70($s3)
|
||||
/* BE3C54 802404A4 8FBF0020 */ lw $ra, 0x20($sp)
|
||||
/* BE3C58 802404A8 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* BE3C5C 802404AC 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* BE3C60 802404B0 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* BE3C64 802404B4 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* BE3C68 802404B8 03E00008 */ jr $ra
|
||||
/* BE3C6C 802404BC 27BD0028 */ addiu $sp, $sp, 0x28
|
@ -1,33 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80240730_BE3EE0
|
||||
/* BE3EE0 80240730 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* BE3EE4 80240734 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* BE3EE8 80240738 0080882D */ daddu $s1, $a0, $zero
|
||||
/* BE3EEC 8024073C AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* BE3EF0 80240740 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* BE3EF4 80240744 8E300148 */ lw $s0, 0x148($s1)
|
||||
/* BE3EF8 80240748 0C00EABB */ jal get_npc_unsafe
|
||||
/* BE3EFC 8024074C 86040008 */ lh $a0, 8($s0)
|
||||
/* BE3F00 80240750 8E0300CC */ lw $v1, 0xcc($s0)
|
||||
/* BE3F04 80240754 3C014120 */ lui $at, 0x4120
|
||||
/* BE3F08 80240758 44812000 */ mtc1 $at, $f4
|
||||
/* BE3F0C 8024075C 3C014000 */ lui $at, 0x4000
|
||||
/* BE3F10 80240760 44810000 */ mtc1 $at, $f0
|
||||
/* BE3F14 80240764 C442003C */ lwc1 $f2, 0x3c($v0)
|
||||
/* BE3F18 80240768 8C640010 */ lw $a0, 0x10($v1)
|
||||
/* BE3F1C 8024076C 8C430000 */ lw $v1, ($v0)
|
||||
/* BE3F20 80240770 E444001C */ swc1 $f4, 0x1c($v0)
|
||||
/* BE3F24 80240774 E4400014 */ swc1 $f0, 0x14($v0)
|
||||
/* BE3F28 80240778 E4420064 */ swc1 $f2, 0x64($v0)
|
||||
/* BE3F2C 8024077C 34630800 */ ori $v1, $v1, 0x800
|
||||
/* BE3F30 80240780 AC430000 */ sw $v1, ($v0)
|
||||
/* BE3F34 80240784 AC440028 */ sw $a0, 0x28($v0)
|
||||
/* BE3F38 80240788 2402000B */ addiu $v0, $zero, 0xb
|
||||
/* BE3F3C 8024078C AE220070 */ sw $v0, 0x70($s1)
|
||||
/* BE3F40 80240790 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* BE3F44 80240794 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* BE3F48 80240798 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* BE3F4C 8024079C 03E00008 */ jr $ra
|
||||
/* BE3F50 802407A0 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -1,35 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802407A4_BE3F54
|
||||
/* BE3F54 802407A4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* BE3F58 802407A8 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* BE3F5C 802407AC 0080802D */ daddu $s0, $a0, $zero
|
||||
/* BE3F60 802407B0 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* BE3F64 802407B4 8E020148 */ lw $v0, 0x148($s0)
|
||||
/* BE3F68 802407B8 0C00EABB */ jal get_npc_unsafe
|
||||
/* BE3F6C 802407BC 84440008 */ lh $a0, 8($v0)
|
||||
/* BE3F70 802407C0 0040202D */ daddu $a0, $v0, $zero
|
||||
/* BE3F74 802407C4 C482003C */ lwc1 $f2, 0x3c($a0)
|
||||
/* BE3F78 802407C8 C480001C */ lwc1 $f0, 0x1c($a0)
|
||||
/* BE3F7C 802407CC 46001080 */ add.s $f2, $f2, $f0
|
||||
/* BE3F80 802407D0 C4840014 */ lwc1 $f4, 0x14($a0)
|
||||
/* BE3F84 802407D4 46040001 */ sub.s $f0, $f0, $f4
|
||||
/* BE3F88 802407D8 C4840064 */ lwc1 $f4, 0x64($a0)
|
||||
/* BE3F8C 802407DC 4602203C */ c.lt.s $f4, $f2
|
||||
/* BE3F90 802407E0 E482003C */ swc1 $f2, 0x3c($a0)
|
||||
/* BE3F94 802407E4 45010009 */ bc1t .L8024080C
|
||||
/* BE3F98 802407E8 E480001C */ swc1 $f0, 0x1c($a0)
|
||||
/* BE3F9C 802407EC 8C820000 */ lw $v0, ($a0)
|
||||
/* BE3FA0 802407F0 2403F7FF */ addiu $v1, $zero, -0x801
|
||||
/* BE3FA4 802407F4 E484003C */ swc1 $f4, 0x3c($a0)
|
||||
/* BE3FA8 802407F8 AC80001C */ sw $zero, 0x1c($a0)
|
||||
/* BE3FAC 802407FC 00431024 */ and $v0, $v0, $v1
|
||||
/* BE3FB0 80240800 AC820000 */ sw $v0, ($a0)
|
||||
/* BE3FB4 80240804 2402000C */ addiu $v0, $zero, 0xc
|
||||
/* BE3FB8 80240808 AE020070 */ sw $v0, 0x70($s0)
|
||||
.L8024080C:
|
||||
/* BE3FBC 8024080C 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* BE3FC0 80240810 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* BE3FC4 80240814 03E00008 */ jr $ra
|
||||
/* BE3FC8 80240818 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,32 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80240A6C_BE421C
|
||||
/* BE421C 80240A6C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* BE4220 80240A70 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* BE4224 80240A74 0080882D */ daddu $s1, $a0, $zero
|
||||
/* BE4228 80240A78 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* BE422C 80240A7C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* BE4230 80240A80 8E300148 */ lw $s0, 0x148($s1)
|
||||
/* BE4234 80240A84 0C00EABB */ jal get_npc_unsafe
|
||||
/* BE4238 80240A88 86040008 */ lh $a0, 8($s0)
|
||||
/* BE423C 80240A8C 9443008E */ lhu $v1, 0x8e($v0)
|
||||
/* BE4240 80240A90 2463FFFF */ addiu $v1, $v1, -1
|
||||
/* BE4244 80240A94 A443008E */ sh $v1, 0x8e($v0)
|
||||
/* BE4248 80240A98 00031C00 */ sll $v1, $v1, 0x10
|
||||
/* BE424C 80240A9C 14600008 */ bnez $v1, .L80240AC0
|
||||
/* BE4250 80240AA0 00000000 */ nop
|
||||
/* BE4254 80240AA4 8E0200B0 */ lw $v0, 0xb0($s0)
|
||||
/* BE4258 80240AA8 30420080 */ andi $v0, $v0, 0x80
|
||||
/* BE425C 80240AAC 10400003 */ beqz $v0, .L80240ABC
|
||||
/* BE4260 80240AB0 2402000F */ addiu $v0, $zero, 0xf
|
||||
/* BE4264 80240AB4 080902B0 */ j .L80240AC0
|
||||
/* BE4268 80240AB8 AE220070 */ sw $v0, 0x70($s1)
|
||||
.L80240ABC:
|
||||
/* BE426C 80240ABC AE200070 */ sw $zero, 0x70($s1)
|
||||
.L80240AC0:
|
||||
/* BE4270 80240AC0 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* BE4274 80240AC4 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* BE4278 80240AC8 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* BE427C 80240ACC 03E00008 */ jr $ra
|
||||
/* BE4280 80240AD0 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -141,7 +141,7 @@ glabel func_80240B94_BE4344
|
||||
/* BE454C 80240D9C 00000000 */ nop
|
||||
/* BE4550 80240DA0 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BE4554 80240DA4 0260282D */ daddu $a1, $s3, $zero
|
||||
/* BE4558 80240DA8 0C090100 */ jal func_80240400_BE3BB0
|
||||
/* BE4558 80240DA8 0C090100 */ jal UnkNpcAIFunc1
|
||||
/* BE455C 80240DAC 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* BE4560 80240DB0 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BE4564 80240DB4 0260282D */ daddu $a1, $s3, $zero
|
||||
@ -157,11 +157,11 @@ glabel func_80240B94_BE4344
|
||||
/* BE458C 80240DDC 00000000 */ nop
|
||||
/* BE4590 80240DE0 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BE4594 80240DE4 0260282D */ daddu $a1, $s3, $zero
|
||||
/* BE4598 80240DE8 0C0901CC */ jal func_80240730_BE3EE0
|
||||
/* BE4598 80240DE8 0C0901CC */ jal NpcJumpFunc2
|
||||
/* BE459C 80240DEC 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* BE45A0 80240DF0 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BE45A4 80240DF4 0260282D */ daddu $a1, $s3, $zero
|
||||
/* BE45A8 80240DF8 0C0901E9 */ jal func_802407A4_BE3F54
|
||||
/* BE45A8 80240DF8 0C0901E9 */ jal NpcJumpFunc
|
||||
/* BE45AC 80240DFC 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* BE45B0 80240E00 0809039A */ j .L80240E68
|
||||
/* BE45B4 80240E04 00000000 */ nop
|
||||
@ -177,7 +177,7 @@ glabel func_80240B94_BE4344
|
||||
/* BE45DC 80240E2C 00000000 */ nop
|
||||
/* BE45E0 80240E30 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BE45E4 80240E34 0260282D */ daddu $a1, $s3, $zero
|
||||
/* BE45E8 80240E38 0C09029B */ jal func_80240A6C_BE421C
|
||||
/* BE45E8 80240E38 0C09029B */ jal UnkNpcDurationFlagFunc
|
||||
/* BE45EC 80240E3C 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* BE45F0 80240E40 0809039A */ j .L80240E68
|
||||
/* BE45F4 80240E44 00000000 */ nop
|
||||
|
@ -1,34 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80241A6C_BE521C
|
||||
/* BE521C 80241A6C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* BE5220 80241A70 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* BE5224 80241A74 0080902D */ daddu $s2, $a0, $zero
|
||||
/* BE5228 80241A78 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* BE522C 80241A7C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* BE5230 80241A80 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* BE5234 80241A84 8E510148 */ lw $s1, 0x148($s2)
|
||||
/* BE5238 80241A88 0C00EABB */ jal get_npc_unsafe
|
||||
/* BE523C 80241A8C 86240008 */ lh $a0, 8($s1)
|
||||
/* BE5240 80241A90 0040802D */ daddu $s0, $v0, $zero
|
||||
/* BE5244 80241A94 3C02800F */ lui $v0, %hi(gPlayerStatusPtr)
|
||||
/* BE5248 80241A98 8C427B30 */ lw $v0, %lo(gPlayerStatusPtr)($v0)
|
||||
/* BE524C 80241A9C C60C0038 */ lwc1 $f12, 0x38($s0)
|
||||
/* BE5250 80241AA0 C60E0040 */ lwc1 $f14, 0x40($s0)
|
||||
/* BE5254 80241AA4 A600008E */ sh $zero, 0x8e($s0)
|
||||
/* BE5258 80241AA8 8C460028 */ lw $a2, 0x28($v0)
|
||||
/* BE525C 80241AAC 0C00A720 */ jal atan2
|
||||
/* BE5260 80241AB0 8C470030 */ lw $a3, 0x30($v0)
|
||||
/* BE5264 80241AB4 E600000C */ swc1 $f0, 0xc($s0)
|
||||
/* BE5268 80241AB8 8E2200CC */ lw $v0, 0xcc($s1)
|
||||
/* BE526C 80241ABC 8C420020 */ lw $v0, 0x20($v0)
|
||||
/* BE5270 80241AC0 AE020028 */ sw $v0, 0x28($s0)
|
||||
/* BE5274 80241AC4 2402000B */ addiu $v0, $zero, 0xb
|
||||
/* BE5278 80241AC8 AE420070 */ sw $v0, 0x70($s2)
|
||||
/* BE527C 80241ACC 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* BE5280 80241AD0 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* BE5284 80241AD4 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* BE5288 80241AD8 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* BE528C 80241ADC 03E00008 */ jr $ra
|
||||
/* BE5290 80241AE0 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -1,31 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80241C84_BE5434
|
||||
/* BE5434 80241C84 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* BE5438 80241C88 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* BE543C 80241C8C 0080802D */ daddu $s0, $a0, $zero
|
||||
/* BE5440 80241C90 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* BE5444 80241C94 8E020148 */ lw $v0, 0x148($s0)
|
||||
/* BE5448 80241C98 0C00EABB */ jal get_npc_unsafe
|
||||
/* BE544C 80241C9C 84440008 */ lh $a0, 8($v0)
|
||||
/* BE5450 80241CA0 0040202D */ daddu $a0, $v0, $zero
|
||||
/* BE5454 80241CA4 8482008E */ lh $v0, 0x8e($a0)
|
||||
/* BE5458 80241CA8 9483008E */ lhu $v1, 0x8e($a0)
|
||||
/* BE545C 80241CAC 18400005 */ blez $v0, .L80241CC4
|
||||
/* BE5460 80241CB0 2462FFFF */ addiu $v0, $v1, -1
|
||||
/* BE5464 80241CB4 A482008E */ sh $v0, 0x8e($a0)
|
||||
/* BE5468 80241CB8 00021400 */ sll $v0, $v0, 0x10
|
||||
/* BE546C 80241CBC 1C400006 */ bgtz $v0, .L80241CD8
|
||||
/* BE5470 80241CC0 00000000 */ nop
|
||||
.L80241CC4:
|
||||
/* BE5474 80241CC4 8482008C */ lh $v0, 0x8c($a0)
|
||||
/* BE5478 80241CC8 14400003 */ bnez $v0, .L80241CD8
|
||||
/* BE547C 80241CCC 2402000E */ addiu $v0, $zero, 0xe
|
||||
/* BE5480 80241CD0 A480008E */ sh $zero, 0x8e($a0)
|
||||
/* BE5484 80241CD4 AE020070 */ sw $v0, 0x70($s0)
|
||||
.L80241CD8:
|
||||
/* BE5488 80241CD8 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* BE548C 80241CDC 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* BE5490 80241CE0 03E00008 */ jr $ra
|
||||
/* BE5494 80241CE4 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -93,7 +93,7 @@ glabel func_8024219C_BE594C
|
||||
/* BE5AA4 802422F4 0000102D */ daddu $v0, $zero, $zero
|
||||
/* BE5AA8 802422F8 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BE5AAC 802422FC 0200282D */ daddu $a1, $s0, $zero
|
||||
/* BE5AB0 80242300 0C09069B */ jal func_80241A6C_BE521C
|
||||
/* BE5AB0 80242300 0C09069B */ jal UnkNpcAIFunc2
|
||||
/* BE5AB4 80242304 0260302D */ daddu $a2, $s3, $zero
|
||||
/* BE5AB8 80242308 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BE5ABC 8024230C 0200282D */ daddu $a1, $s0, $zero
|
||||
@ -109,7 +109,7 @@ glabel func_8024219C_BE594C
|
||||
/* BE5AE4 80242334 0000102D */ daddu $v0, $zero, $zero
|
||||
/* BE5AE8 80242338 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BE5AEC 8024233C 0200282D */ daddu $a1, $s0, $zero
|
||||
/* BE5AF0 80242340 0C090721 */ jal func_80241C84_BE5434
|
||||
/* BE5AF0 80242340 0C090721 */ jal UnkNpcAIFunc3
|
||||
/* BE5AF4 80242344 0260302D */ daddu $a2, $s3, $zero
|
||||
/* BE5AF8 80242348 080908D9 */ j .L80242364
|
||||
/* BE5AFC 8024234C 0000102D */ daddu $v0, $zero, $zero
|
||||
|
@ -1,22 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80242FD4_BE6784
|
||||
/* BE6784 80242FD4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* BE6788 80242FD8 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* BE678C 80242FDC 0080802D */ daddu $s0, $a0, $zero
|
||||
/* BE6790 80242FE0 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* BE6794 80242FE4 8E020148 */ lw $v0, 0x148($s0)
|
||||
/* BE6798 80242FE8 0C00EABB */ jal get_npc_unsafe
|
||||
/* BE679C 80242FEC 84440008 */ lh $a0, 8($v0)
|
||||
/* BE67A0 80242FF0 9443008E */ lhu $v1, 0x8e($v0)
|
||||
/* BE67A4 80242FF4 2463FFFF */ addiu $v1, $v1, -1
|
||||
/* BE67A8 80242FF8 A443008E */ sh $v1, 0x8e($v0)
|
||||
/* BE67AC 80242FFC 00031C00 */ sll $v1, $v1, 0x10
|
||||
/* BE67B0 80243000 58600001 */ blezl $v1, .L80243008
|
||||
/* BE67B4 80243004 AE000070 */ sw $zero, 0x70($s0)
|
||||
.L80243008:
|
||||
/* BE67B8 80243008 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* BE67BC 8024300C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* BE67C0 80243010 03E00008 */ jr $ra
|
||||
/* BE67C4 80243014 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -207,7 +207,7 @@ glabel func_80243018_BE67C8
|
||||
/* BE6ADC 8024332C 0000102D */ daddu $v0, $zero, $zero
|
||||
/* BE6AE0 80243330 0260202D */ daddu $a0, $s3, $zero
|
||||
/* BE6AE4 80243334 0280282D */ daddu $a1, $s4, $zero
|
||||
/* BE6AE8 80243338 0C090BF5 */ jal func_80242FD4_BE6784
|
||||
/* BE6AE8 80243338 0C090BF5 */ jal UnkDurationCheck
|
||||
/* BE6AEC 8024333C 0200302D */ daddu $a2, $s0, $zero
|
||||
.L80243340:
|
||||
/* BE6AF0 80243340 0000102D */ daddu $v0, $zero, $zero
|
||||
|
@ -1,52 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80240400_BE7FE0
|
||||
/* BE7FE0 80240400 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* BE7FE4 80240404 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* BE7FE8 80240408 0080982D */ daddu $s3, $a0, $zero
|
||||
/* BE7FEC 8024040C AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* BE7FF0 80240410 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* BE7FF4 80240414 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* BE7FF8 80240418 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* BE7FFC 8024041C 8E720148 */ lw $s2, 0x148($s3)
|
||||
/* BE8000 80240420 86440008 */ lh $a0, 8($s2)
|
||||
/* BE8004 80240424 0C00EABB */ jal get_npc_unsafe
|
||||
/* BE8008 80240428 00A0882D */ daddu $s1, $a1, $zero
|
||||
/* BE800C 8024042C 8E240008 */ lw $a0, 8($s1)
|
||||
/* BE8010 80240430 0040802D */ daddu $s0, $v0, $zero
|
||||
/* BE8014 80240434 00041FC2 */ srl $v1, $a0, 0x1f
|
||||
/* BE8018 80240438 00832021 */ addu $a0, $a0, $v1
|
||||
/* BE801C 8024043C 00042043 */ sra $a0, $a0, 1
|
||||
/* BE8020 80240440 0C00A67F */ jal rand_int
|
||||
/* BE8024 80240444 24840001 */ addiu $a0, $a0, 1
|
||||
/* BE8028 80240448 8E230008 */ lw $v1, 8($s1)
|
||||
/* BE802C 8024044C 240400B4 */ addiu $a0, $zero, 0xb4
|
||||
/* BE8030 80240450 00032FC2 */ srl $a1, $v1, 0x1f
|
||||
/* BE8034 80240454 00651821 */ addu $v1, $v1, $a1
|
||||
/* BE8038 80240458 00031843 */ sra $v1, $v1, 1
|
||||
/* BE803C 8024045C 00621821 */ addu $v1, $v1, $v0
|
||||
/* BE8040 80240460 0C00A67F */ jal rand_int
|
||||
/* BE8044 80240464 A603008E */ sh $v1, 0x8e($s0)
|
||||
/* BE8048 80240468 C60C000C */ lwc1 $f12, 0xc($s0)
|
||||
/* BE804C 8024046C 44820000 */ mtc1 $v0, $f0
|
||||
/* BE8050 80240470 00000000 */ nop
|
||||
/* BE8054 80240474 46800020 */ cvt.s.w $f0, $f0
|
||||
/* BE8058 80240478 46006300 */ add.s $f12, $f12, $f0
|
||||
/* BE805C 8024047C 3C0142B4 */ lui $at, 0x42b4
|
||||
/* BE8060 80240480 44810000 */ mtc1 $at, $f0
|
||||
/* BE8064 80240484 0C00A6C9 */ jal clamp_angle
|
||||
/* BE8068 80240488 46006301 */ sub.s $f12, $f12, $f0
|
||||
/* BE806C 8024048C E600000C */ swc1 $f0, 0xc($s0)
|
||||
/* BE8070 80240490 8E4200CC */ lw $v0, 0xcc($s2)
|
||||
/* BE8074 80240494 8C420000 */ lw $v0, ($v0)
|
||||
/* BE8078 80240498 AE020028 */ sw $v0, 0x28($s0)
|
||||
/* BE807C 8024049C 24020003 */ addiu $v0, $zero, 3
|
||||
/* BE8080 802404A0 AE620070 */ sw $v0, 0x70($s3)
|
||||
/* BE8084 802404A4 8FBF0020 */ lw $ra, 0x20($sp)
|
||||
/* BE8088 802404A8 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* BE808C 802404AC 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* BE8090 802404B0 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* BE8094 802404B4 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* BE8098 802404B8 03E00008 */ jr $ra
|
||||
/* BE809C 802404BC 27BD0028 */ addiu $sp, $sp, 0x28
|
@ -1,33 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80240730_BE8310
|
||||
/* BE8310 80240730 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* BE8314 80240734 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* BE8318 80240738 0080882D */ daddu $s1, $a0, $zero
|
||||
/* BE831C 8024073C AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* BE8320 80240740 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* BE8324 80240744 8E300148 */ lw $s0, 0x148($s1)
|
||||
/* BE8328 80240748 0C00EABB */ jal get_npc_unsafe
|
||||
/* BE832C 8024074C 86040008 */ lh $a0, 8($s0)
|
||||
/* BE8330 80240750 8E0300CC */ lw $v1, 0xcc($s0)
|
||||
/* BE8334 80240754 3C014120 */ lui $at, 0x4120
|
||||
/* BE8338 80240758 44812000 */ mtc1 $at, $f4
|
||||
/* BE833C 8024075C 3C014000 */ lui $at, 0x4000
|
||||
/* BE8340 80240760 44810000 */ mtc1 $at, $f0
|
||||
/* BE8344 80240764 C442003C */ lwc1 $f2, 0x3c($v0)
|
||||
/* BE8348 80240768 8C640010 */ lw $a0, 0x10($v1)
|
||||
/* BE834C 8024076C 8C430000 */ lw $v1, ($v0)
|
||||
/* BE8350 80240770 E444001C */ swc1 $f4, 0x1c($v0)
|
||||
/* BE8354 80240774 E4400014 */ swc1 $f0, 0x14($v0)
|
||||
/* BE8358 80240778 E4420064 */ swc1 $f2, 0x64($v0)
|
||||
/* BE835C 8024077C 34630800 */ ori $v1, $v1, 0x800
|
||||
/* BE8360 80240780 AC430000 */ sw $v1, ($v0)
|
||||
/* BE8364 80240784 AC440028 */ sw $a0, 0x28($v0)
|
||||
/* BE8368 80240788 2402000B */ addiu $v0, $zero, 0xb
|
||||
/* BE836C 8024078C AE220070 */ sw $v0, 0x70($s1)
|
||||
/* BE8370 80240790 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* BE8374 80240794 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* BE8378 80240798 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* BE837C 8024079C 03E00008 */ jr $ra
|
||||
/* BE8380 802407A0 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -1,35 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802407A4_BE8384
|
||||
/* BE8384 802407A4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* BE8388 802407A8 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* BE838C 802407AC 0080802D */ daddu $s0, $a0, $zero
|
||||
/* BE8390 802407B0 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* BE8394 802407B4 8E020148 */ lw $v0, 0x148($s0)
|
||||
/* BE8398 802407B8 0C00EABB */ jal get_npc_unsafe
|
||||
/* BE839C 802407BC 84440008 */ lh $a0, 8($v0)
|
||||
/* BE83A0 802407C0 0040202D */ daddu $a0, $v0, $zero
|
||||
/* BE83A4 802407C4 C482003C */ lwc1 $f2, 0x3c($a0)
|
||||
/* BE83A8 802407C8 C480001C */ lwc1 $f0, 0x1c($a0)
|
||||
/* BE83AC 802407CC 46001080 */ add.s $f2, $f2, $f0
|
||||
/* BE83B0 802407D0 C4840014 */ lwc1 $f4, 0x14($a0)
|
||||
/* BE83B4 802407D4 46040001 */ sub.s $f0, $f0, $f4
|
||||
/* BE83B8 802407D8 C4840064 */ lwc1 $f4, 0x64($a0)
|
||||
/* BE83BC 802407DC 4602203C */ c.lt.s $f4, $f2
|
||||
/* BE83C0 802407E0 E482003C */ swc1 $f2, 0x3c($a0)
|
||||
/* BE83C4 802407E4 45010009 */ bc1t .L8024080C
|
||||
/* BE83C8 802407E8 E480001C */ swc1 $f0, 0x1c($a0)
|
||||
/* BE83CC 802407EC 8C820000 */ lw $v0, ($a0)
|
||||
/* BE83D0 802407F0 2403F7FF */ addiu $v1, $zero, -0x801
|
||||
/* BE83D4 802407F4 E484003C */ swc1 $f4, 0x3c($a0)
|
||||
/* BE83D8 802407F8 AC80001C */ sw $zero, 0x1c($a0)
|
||||
/* BE83DC 802407FC 00431024 */ and $v0, $v0, $v1
|
||||
/* BE83E0 80240800 AC820000 */ sw $v0, ($a0)
|
||||
/* BE83E4 80240804 2402000C */ addiu $v0, $zero, 0xc
|
||||
/* BE83E8 80240808 AE020070 */ sw $v0, 0x70($s0)
|
||||
.L8024080C:
|
||||
/* BE83EC 8024080C 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* BE83F0 80240810 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* BE83F4 80240814 03E00008 */ jr $ra
|
||||
/* BE83F8 80240818 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,32 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80240A6C_BE864C
|
||||
/* BE864C 80240A6C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* BE8650 80240A70 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* BE8654 80240A74 0080882D */ daddu $s1, $a0, $zero
|
||||
/* BE8658 80240A78 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* BE865C 80240A7C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* BE8660 80240A80 8E300148 */ lw $s0, 0x148($s1)
|
||||
/* BE8664 80240A84 0C00EABB */ jal get_npc_unsafe
|
||||
/* BE8668 80240A88 86040008 */ lh $a0, 8($s0)
|
||||
/* BE866C 80240A8C 9443008E */ lhu $v1, 0x8e($v0)
|
||||
/* BE8670 80240A90 2463FFFF */ addiu $v1, $v1, -1
|
||||
/* BE8674 80240A94 A443008E */ sh $v1, 0x8e($v0)
|
||||
/* BE8678 80240A98 00031C00 */ sll $v1, $v1, 0x10
|
||||
/* BE867C 80240A9C 14600008 */ bnez $v1, .L80240AC0
|
||||
/* BE8680 80240AA0 00000000 */ nop
|
||||
/* BE8684 80240AA4 8E0200B0 */ lw $v0, 0xb0($s0)
|
||||
/* BE8688 80240AA8 30420080 */ andi $v0, $v0, 0x80
|
||||
/* BE868C 80240AAC 10400003 */ beqz $v0, .L80240ABC
|
||||
/* BE8690 80240AB0 2402000F */ addiu $v0, $zero, 0xf
|
||||
/* BE8694 80240AB4 080902B0 */ j .L80240AC0
|
||||
/* BE8698 80240AB8 AE220070 */ sw $v0, 0x70($s1)
|
||||
.L80240ABC:
|
||||
/* BE869C 80240ABC AE200070 */ sw $zero, 0x70($s1)
|
||||
.L80240AC0:
|
||||
/* BE86A0 80240AC0 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* BE86A4 80240AC4 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* BE86A8 80240AC8 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* BE86AC 80240ACC 03E00008 */ jr $ra
|
||||
/* BE86B0 80240AD0 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -141,7 +141,7 @@ glabel func_80240B94_BE8774
|
||||
/* BE897C 80240D9C 00000000 */ nop
|
||||
/* BE8980 80240DA0 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BE8984 80240DA4 0260282D */ daddu $a1, $s3, $zero
|
||||
/* BE8988 80240DA8 0C090100 */ jal func_80240400_BE7FE0
|
||||
/* BE8988 80240DA8 0C090100 */ jal UnkNpcAIFunc1
|
||||
/* BE898C 80240DAC 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* BE8990 80240DB0 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BE8994 80240DB4 0260282D */ daddu $a1, $s3, $zero
|
||||
@ -157,11 +157,11 @@ glabel func_80240B94_BE8774
|
||||
/* BE89BC 80240DDC 00000000 */ nop
|
||||
/* BE89C0 80240DE0 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BE89C4 80240DE4 0260282D */ daddu $a1, $s3, $zero
|
||||
/* BE89C8 80240DE8 0C0901CC */ jal func_80240730_BE8310
|
||||
/* BE89C8 80240DE8 0C0901CC */ jal NpcJumpFunc2
|
||||
/* BE89CC 80240DEC 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* BE89D0 80240DF0 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BE89D4 80240DF4 0260282D */ daddu $a1, $s3, $zero
|
||||
/* BE89D8 80240DF8 0C0901E9 */ jal func_802407A4_BE8384
|
||||
/* BE89D8 80240DF8 0C0901E9 */ jal NpcJumpFunc
|
||||
/* BE89DC 80240DFC 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* BE89E0 80240E00 0809039A */ j .L80240E68
|
||||
/* BE89E4 80240E04 00000000 */ nop
|
||||
@ -177,7 +177,7 @@ glabel func_80240B94_BE8774
|
||||
/* BE8A0C 80240E2C 00000000 */ nop
|
||||
/* BE8A10 80240E30 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BE8A14 80240E34 0260282D */ daddu $a1, $s3, $zero
|
||||
/* BE8A18 80240E38 0C09029B */ jal func_80240A6C_BE864C
|
||||
/* BE8A18 80240E38 0C09029B */ jal UnkNpcDurationFlagFunc
|
||||
/* BE8A1C 80240E3C 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* BE8A20 80240E40 0809039A */ j .L80240E68
|
||||
/* BE8A24 80240E44 00000000 */ nop
|
||||
|
@ -71,7 +71,7 @@ glabel func_8024113C_BE8D1C
|
||||
/* BE8E20 80241240 00000000 */ nop
|
||||
/* BE8E24 80241244 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BE8E28 80241248 0200282D */ daddu $a1, $s0, $zero
|
||||
/* BE8E2C 8024124C 0C090100 */ jal func_80240400_BE7FE0
|
||||
/* BE8E2C 8024124C 0C090100 */ jal UnkNpcAIFunc1
|
||||
/* BE8E30 80241250 0240302D */ daddu $a2, $s2, $zero
|
||||
/* BE8E34 80241254 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BE8E38 80241258 0200282D */ daddu $a1, $s0, $zero
|
||||
|
@ -1,52 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80241128_BEDF18
|
||||
/* BEDF18 80241128 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* BEDF1C 8024112C AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* BEDF20 80241130 0080982D */ daddu $s3, $a0, $zero
|
||||
/* BEDF24 80241134 AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* BEDF28 80241138 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* BEDF2C 8024113C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* BEDF30 80241140 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* BEDF34 80241144 8E720148 */ lw $s2, 0x148($s3)
|
||||
/* BEDF38 80241148 86440008 */ lh $a0, 8($s2)
|
||||
/* BEDF3C 8024114C 0C00EABB */ jal get_npc_unsafe
|
||||
/* BEDF40 80241150 00A0882D */ daddu $s1, $a1, $zero
|
||||
/* BEDF44 80241154 8E240008 */ lw $a0, 8($s1)
|
||||
/* BEDF48 80241158 0040802D */ daddu $s0, $v0, $zero
|
||||
/* BEDF4C 8024115C 00041FC2 */ srl $v1, $a0, 0x1f
|
||||
/* BEDF50 80241160 00832021 */ addu $a0, $a0, $v1
|
||||
/* BEDF54 80241164 00042043 */ sra $a0, $a0, 1
|
||||
/* BEDF58 80241168 0C00A67F */ jal rand_int
|
||||
/* BEDF5C 8024116C 24840001 */ addiu $a0, $a0, 1
|
||||
/* BEDF60 80241170 8E230008 */ lw $v1, 8($s1)
|
||||
/* BEDF64 80241174 240400B4 */ addiu $a0, $zero, 0xb4
|
||||
/* BEDF68 80241178 00032FC2 */ srl $a1, $v1, 0x1f
|
||||
/* BEDF6C 8024117C 00651821 */ addu $v1, $v1, $a1
|
||||
/* BEDF70 80241180 00031843 */ sra $v1, $v1, 1
|
||||
/* BEDF74 80241184 00621821 */ addu $v1, $v1, $v0
|
||||
/* BEDF78 80241188 0C00A67F */ jal rand_int
|
||||
/* BEDF7C 8024118C A603008E */ sh $v1, 0x8e($s0)
|
||||
/* BEDF80 80241190 C60C000C */ lwc1 $f12, 0xc($s0)
|
||||
/* BEDF84 80241194 44820000 */ mtc1 $v0, $f0
|
||||
/* BEDF88 80241198 00000000 */ nop
|
||||
/* BEDF8C 8024119C 46800020 */ cvt.s.w $f0, $f0
|
||||
/* BEDF90 802411A0 46006300 */ add.s $f12, $f12, $f0
|
||||
/* BEDF94 802411A4 3C0142B4 */ lui $at, 0x42b4
|
||||
/* BEDF98 802411A8 44810000 */ mtc1 $at, $f0
|
||||
/* BEDF9C 802411AC 0C00A6C9 */ jal clamp_angle
|
||||
/* BEDFA0 802411B0 46006301 */ sub.s $f12, $f12, $f0
|
||||
/* BEDFA4 802411B4 E600000C */ swc1 $f0, 0xc($s0)
|
||||
/* BEDFA8 802411B8 8E4200CC */ lw $v0, 0xcc($s2)
|
||||
/* BEDFAC 802411BC 8C420000 */ lw $v0, ($v0)
|
||||
/* BEDFB0 802411C0 AE020028 */ sw $v0, 0x28($s0)
|
||||
/* BEDFB4 802411C4 24020003 */ addiu $v0, $zero, 3
|
||||
/* BEDFB8 802411C8 AE620070 */ sw $v0, 0x70($s3)
|
||||
/* BEDFBC 802411CC 8FBF0020 */ lw $ra, 0x20($sp)
|
||||
/* BEDFC0 802411D0 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* BEDFC4 802411D4 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* BEDFC8 802411D8 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* BEDFCC 802411DC 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* BEDFD0 802411E0 03E00008 */ jr $ra
|
||||
/* BEDFD4 802411E4 27BD0028 */ addiu $sp, $sp, 0x28
|
@ -1,34 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_8024152C_BEE31C
|
||||
/* BEE31C 8024152C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* BEE320 80241530 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* BEE324 80241534 0080902D */ daddu $s2, $a0, $zero
|
||||
/* BEE328 80241538 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* BEE32C 8024153C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* BEE330 80241540 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* BEE334 80241544 8E510148 */ lw $s1, 0x148($s2)
|
||||
/* BEE338 80241548 0C00EABB */ jal get_npc_unsafe
|
||||
/* BEE33C 8024154C 86240008 */ lh $a0, 8($s1)
|
||||
/* BEE340 80241550 0040802D */ daddu $s0, $v0, $zero
|
||||
/* BEE344 80241554 3C02800F */ lui $v0, %hi(gPlayerStatusPtr)
|
||||
/* BEE348 80241558 8C427B30 */ lw $v0, %lo(gPlayerStatusPtr)($v0)
|
||||
/* BEE34C 8024155C C60C0038 */ lwc1 $f12, 0x38($s0)
|
||||
/* BEE350 80241560 C60E0040 */ lwc1 $f14, 0x40($s0)
|
||||
/* BEE354 80241564 A600008E */ sh $zero, 0x8e($s0)
|
||||
/* BEE358 80241568 8C460028 */ lw $a2, 0x28($v0)
|
||||
/* BEE35C 8024156C 0C00A720 */ jal atan2
|
||||
/* BEE360 80241570 8C470030 */ lw $a3, 0x30($v0)
|
||||
/* BEE364 80241574 E600000C */ swc1 $f0, 0xc($s0)
|
||||
/* BEE368 80241578 8E2200CC */ lw $v0, 0xcc($s1)
|
||||
/* BEE36C 8024157C 8C420020 */ lw $v0, 0x20($v0)
|
||||
/* BEE370 80241580 AE020028 */ sw $v0, 0x28($s0)
|
||||
/* BEE374 80241584 2402000B */ addiu $v0, $zero, 0xb
|
||||
/* BEE378 80241588 AE420070 */ sw $v0, 0x70($s2)
|
||||
/* BEE37C 8024158C 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* BEE380 80241590 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* BEE384 80241594 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* BEE388 80241598 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* BEE38C 8024159C 03E00008 */ jr $ra
|
||||
/* BEE390 802415A0 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -1,31 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80241744_BEE534
|
||||
/* BEE534 80241744 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* BEE538 80241748 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* BEE53C 8024174C 0080802D */ daddu $s0, $a0, $zero
|
||||
/* BEE540 80241750 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* BEE544 80241754 8E020148 */ lw $v0, 0x148($s0)
|
||||
/* BEE548 80241758 0C00EABB */ jal get_npc_unsafe
|
||||
/* BEE54C 8024175C 84440008 */ lh $a0, 8($v0)
|
||||
/* BEE550 80241760 0040202D */ daddu $a0, $v0, $zero
|
||||
/* BEE554 80241764 8482008E */ lh $v0, 0x8e($a0)
|
||||
/* BEE558 80241768 9483008E */ lhu $v1, 0x8e($a0)
|
||||
/* BEE55C 8024176C 18400005 */ blez $v0, .L80241784
|
||||
/* BEE560 80241770 2462FFFF */ addiu $v0, $v1, -1
|
||||
/* BEE564 80241774 A482008E */ sh $v0, 0x8e($a0)
|
||||
/* BEE568 80241778 00021400 */ sll $v0, $v0, 0x10
|
||||
/* BEE56C 8024177C 1C400006 */ bgtz $v0, .L80241798
|
||||
/* BEE570 80241780 00000000 */ nop
|
||||
.L80241784:
|
||||
/* BEE574 80241784 8482008C */ lh $v0, 0x8c($a0)
|
||||
/* BEE578 80241788 14400003 */ bnez $v0, .L80241798
|
||||
/* BEE57C 8024178C 2402000E */ addiu $v0, $zero, 0xe
|
||||
/* BEE580 80241790 A480008E */ sh $zero, 0x8e($a0)
|
||||
/* BEE584 80241794 AE020070 */ sw $v0, 0x70($s0)
|
||||
.L80241798:
|
||||
/* BEE588 80241798 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* BEE58C 8024179C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* BEE590 802417A0 03E00008 */ jr $ra
|
||||
/* BEE594 802417A4 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -83,7 +83,7 @@ glabel func_80241C5C_BEEA4C
|
||||
/* BEEB7C 80241D8C 0000102D */ daddu $v0, $zero, $zero
|
||||
/* BEEB80 80241D90 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BEEB84 80241D94 0200282D */ daddu $a1, $s0, $zero
|
||||
/* BEEB88 80241D98 0C09044A */ jal func_80241128_BEDF18
|
||||
/* BEEB88 80241D98 0C09044A */ jal UnkNpcAIFunc1
|
||||
/* BEEB8C 80241D9C 0260302D */ daddu $a2, $s3, $zero
|
||||
/* BEEB90 80241DA0 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BEEB94 80241DA4 0200282D */ daddu $a1, $s0, $zero
|
||||
@ -93,7 +93,7 @@ glabel func_80241C5C_BEEA4C
|
||||
/* BEEBA4 80241DB4 0000102D */ daddu $v0, $zero, $zero
|
||||
/* BEEBA8 80241DB8 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BEEBAC 80241DBC 0200282D */ daddu $a1, $s0, $zero
|
||||
/* BEEBB0 80241DC0 0C09054B */ jal func_8024152C_BEE31C
|
||||
/* BEEBB0 80241DC0 0C09054B */ jal UnkNpcAIFunc2
|
||||
/* BEEBB4 80241DC4 0260302D */ daddu $a2, $s3, $zero
|
||||
/* BEEBB8 80241DC8 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BEEBBC 80241DCC 0200282D */ daddu $a1, $s0, $zero
|
||||
@ -109,7 +109,7 @@ glabel func_80241C5C_BEEA4C
|
||||
/* BEEBE4 80241DF4 0000102D */ daddu $v0, $zero, $zero
|
||||
/* BEEBE8 80241DF8 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BEEBEC 80241DFC 0200282D */ daddu $a1, $s0, $zero
|
||||
/* BEEBF0 80241E00 0C0905D1 */ jal func_80241744_BEE534
|
||||
/* BEEBF0 80241E00 0C0905D1 */ jal UnkNpcAIFunc3
|
||||
/* BEEBF4 80241E04 0260302D */ daddu $a2, $s3, $zero
|
||||
/* BEEBF8 80241E08 08090789 */ j .L80241E24
|
||||
/* BEEBFC 80241E0C 0000102D */ daddu $v0, $zero, $zero
|
||||
|
@ -1,52 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802408F8_BFE178
|
||||
/* BFE178 802408F8 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* BFE17C 802408FC AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* BFE180 80240900 0080982D */ daddu $s3, $a0, $zero
|
||||
/* BFE184 80240904 AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* BFE188 80240908 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* BFE18C 8024090C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* BFE190 80240910 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* BFE194 80240914 8E720148 */ lw $s2, 0x148($s3)
|
||||
/* BFE198 80240918 86440008 */ lh $a0, 8($s2)
|
||||
/* BFE19C 8024091C 0C00EABB */ jal get_npc_unsafe
|
||||
/* BFE1A0 80240920 00A0882D */ daddu $s1, $a1, $zero
|
||||
/* BFE1A4 80240924 8E240008 */ lw $a0, 8($s1)
|
||||
/* BFE1A8 80240928 0040802D */ daddu $s0, $v0, $zero
|
||||
/* BFE1AC 8024092C 00041FC2 */ srl $v1, $a0, 0x1f
|
||||
/* BFE1B0 80240930 00832021 */ addu $a0, $a0, $v1
|
||||
/* BFE1B4 80240934 00042043 */ sra $a0, $a0, 1
|
||||
/* BFE1B8 80240938 0C00A67F */ jal rand_int
|
||||
/* BFE1BC 8024093C 24840001 */ addiu $a0, $a0, 1
|
||||
/* BFE1C0 80240940 8E230008 */ lw $v1, 8($s1)
|
||||
/* BFE1C4 80240944 240400B4 */ addiu $a0, $zero, 0xb4
|
||||
/* BFE1C8 80240948 00032FC2 */ srl $a1, $v1, 0x1f
|
||||
/* BFE1CC 8024094C 00651821 */ addu $v1, $v1, $a1
|
||||
/* BFE1D0 80240950 00031843 */ sra $v1, $v1, 1
|
||||
/* BFE1D4 80240954 00621821 */ addu $v1, $v1, $v0
|
||||
/* BFE1D8 80240958 0C00A67F */ jal rand_int
|
||||
/* BFE1DC 8024095C A603008E */ sh $v1, 0x8e($s0)
|
||||
/* BFE1E0 80240960 C60C000C */ lwc1 $f12, 0xc($s0)
|
||||
/* BFE1E4 80240964 44820000 */ mtc1 $v0, $f0
|
||||
/* BFE1E8 80240968 00000000 */ nop
|
||||
/* BFE1EC 8024096C 46800020 */ cvt.s.w $f0, $f0
|
||||
/* BFE1F0 80240970 46006300 */ add.s $f12, $f12, $f0
|
||||
/* BFE1F4 80240974 3C0142B4 */ lui $at, 0x42b4
|
||||
/* BFE1F8 80240978 44810000 */ mtc1 $at, $f0
|
||||
/* BFE1FC 8024097C 0C00A6C9 */ jal clamp_angle
|
||||
/* BFE200 80240980 46006301 */ sub.s $f12, $f12, $f0
|
||||
/* BFE204 80240984 E600000C */ swc1 $f0, 0xc($s0)
|
||||
/* BFE208 80240988 8E4200CC */ lw $v0, 0xcc($s2)
|
||||
/* BFE20C 8024098C 8C420000 */ lw $v0, ($v0)
|
||||
/* BFE210 80240990 AE020028 */ sw $v0, 0x28($s0)
|
||||
/* BFE214 80240994 24020003 */ addiu $v0, $zero, 3
|
||||
/* BFE218 80240998 AE620070 */ sw $v0, 0x70($s3)
|
||||
/* BFE21C 8024099C 8FBF0020 */ lw $ra, 0x20($sp)
|
||||
/* BFE220 802409A0 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* BFE224 802409A4 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* BFE228 802409A8 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* BFE22C 802409AC 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* BFE230 802409B0 03E00008 */ jr $ra
|
||||
/* BFE234 802409B4 27BD0028 */ addiu $sp, $sp, 0x28
|
@ -1,34 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80240CFC_BFE57C
|
||||
/* BFE57C 80240CFC 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* BFE580 80240D00 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* BFE584 80240D04 0080902D */ daddu $s2, $a0, $zero
|
||||
/* BFE588 80240D08 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* BFE58C 80240D0C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* BFE590 80240D10 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* BFE594 80240D14 8E510148 */ lw $s1, 0x148($s2)
|
||||
/* BFE598 80240D18 0C00EABB */ jal get_npc_unsafe
|
||||
/* BFE59C 80240D1C 86240008 */ lh $a0, 8($s1)
|
||||
/* BFE5A0 80240D20 0040802D */ daddu $s0, $v0, $zero
|
||||
/* BFE5A4 80240D24 3C02800F */ lui $v0, %hi(gPlayerStatusPtr)
|
||||
/* BFE5A8 80240D28 8C427B30 */ lw $v0, %lo(gPlayerStatusPtr)($v0)
|
||||
/* BFE5AC 80240D2C C60C0038 */ lwc1 $f12, 0x38($s0)
|
||||
/* BFE5B0 80240D30 C60E0040 */ lwc1 $f14, 0x40($s0)
|
||||
/* BFE5B4 80240D34 A600008E */ sh $zero, 0x8e($s0)
|
||||
/* BFE5B8 80240D38 8C460028 */ lw $a2, 0x28($v0)
|
||||
/* BFE5BC 80240D3C 0C00A720 */ jal atan2
|
||||
/* BFE5C0 80240D40 8C470030 */ lw $a3, 0x30($v0)
|
||||
/* BFE5C4 80240D44 E600000C */ swc1 $f0, 0xc($s0)
|
||||
/* BFE5C8 80240D48 8E2200CC */ lw $v0, 0xcc($s1)
|
||||
/* BFE5CC 80240D4C 8C420020 */ lw $v0, 0x20($v0)
|
||||
/* BFE5D0 80240D50 AE020028 */ sw $v0, 0x28($s0)
|
||||
/* BFE5D4 80240D54 2402000B */ addiu $v0, $zero, 0xb
|
||||
/* BFE5D8 80240D58 AE420070 */ sw $v0, 0x70($s2)
|
||||
/* BFE5DC 80240D5C 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* BFE5E0 80240D60 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* BFE5E4 80240D64 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* BFE5E8 80240D68 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* BFE5EC 80240D6C 03E00008 */ jr $ra
|
||||
/* BFE5F0 80240D70 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -1,31 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80240F14_BFE794
|
||||
/* BFE794 80240F14 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* BFE798 80240F18 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* BFE79C 80240F1C 0080802D */ daddu $s0, $a0, $zero
|
||||
/* BFE7A0 80240F20 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* BFE7A4 80240F24 8E020148 */ lw $v0, 0x148($s0)
|
||||
/* BFE7A8 80240F28 0C00EABB */ jal get_npc_unsafe
|
||||
/* BFE7AC 80240F2C 84440008 */ lh $a0, 8($v0)
|
||||
/* BFE7B0 80240F30 0040202D */ daddu $a0, $v0, $zero
|
||||
/* BFE7B4 80240F34 8482008E */ lh $v0, 0x8e($a0)
|
||||
/* BFE7B8 80240F38 9483008E */ lhu $v1, 0x8e($a0)
|
||||
/* BFE7BC 80240F3C 18400005 */ blez $v0, .L80240F54
|
||||
/* BFE7C0 80240F40 2462FFFF */ addiu $v0, $v1, -1
|
||||
/* BFE7C4 80240F44 A482008E */ sh $v0, 0x8e($a0)
|
||||
/* BFE7C8 80240F48 00021400 */ sll $v0, $v0, 0x10
|
||||
/* BFE7CC 80240F4C 1C400006 */ bgtz $v0, .L80240F68
|
||||
/* BFE7D0 80240F50 00000000 */ nop
|
||||
.L80240F54:
|
||||
/* BFE7D4 80240F54 8482008C */ lh $v0, 0x8c($a0)
|
||||
/* BFE7D8 80240F58 14400003 */ bnez $v0, .L80240F68
|
||||
/* BFE7DC 80240F5C 2402000E */ addiu $v0, $zero, 0xe
|
||||
/* BFE7E0 80240F60 A480008E */ sh $zero, 0x8e($a0)
|
||||
/* BFE7E4 80240F64 AE020070 */ sw $v0, 0x70($s0)
|
||||
.L80240F68:
|
||||
/* BFE7E8 80240F68 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* BFE7EC 80240F6C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* BFE7F0 80240F70 03E00008 */ jr $ra
|
||||
/* BFE7F4 80240F74 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -83,7 +83,7 @@ glabel func_8024142C_BFECAC
|
||||
/* BFEDDC 8024155C 0000102D */ daddu $v0, $zero, $zero
|
||||
/* BFEDE0 80241560 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BFEDE4 80241564 0200282D */ daddu $a1, $s0, $zero
|
||||
/* BFEDE8 80241568 0C09023E */ jal func_802408F8_BFE178
|
||||
/* BFEDE8 80241568 0C09023E */ jal UnkNpcAIFunc1
|
||||
/* BFEDEC 8024156C 0260302D */ daddu $a2, $s3, $zero
|
||||
/* BFEDF0 80241570 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BFEDF4 80241574 0200282D */ daddu $a1, $s0, $zero
|
||||
@ -93,7 +93,7 @@ glabel func_8024142C_BFECAC
|
||||
/* BFEE04 80241584 0000102D */ daddu $v0, $zero, $zero
|
||||
/* BFEE08 80241588 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BFEE0C 8024158C 0200282D */ daddu $a1, $s0, $zero
|
||||
/* BFEE10 80241590 0C09033F */ jal func_80240CFC_BFE57C
|
||||
/* BFEE10 80241590 0C09033F */ jal UnkNpcAIFunc2
|
||||
/* BFEE14 80241594 0260302D */ daddu $a2, $s3, $zero
|
||||
/* BFEE18 80241598 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BFEE1C 8024159C 0200282D */ daddu $a1, $s0, $zero
|
||||
@ -109,7 +109,7 @@ glabel func_8024142C_BFECAC
|
||||
/* BFEE44 802415C4 0000102D */ daddu $v0, $zero, $zero
|
||||
/* BFEE48 802415C8 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BFEE4C 802415CC 0200282D */ daddu $a1, $s0, $zero
|
||||
/* BFEE50 802415D0 0C0903C5 */ jal func_80240F14_BFE794
|
||||
/* BFEE50 802415D0 0C0903C5 */ jal UnkNpcAIFunc3
|
||||
/* BFEE54 802415D4 0260302D */ daddu $a2, $s3, $zero
|
||||
/* BFEE58 802415D8 0809057D */ j .L802415F4
|
||||
/* BFEE5C 802415DC 0000102D */ daddu $v0, $zero, $zero
|
||||
|
@ -79,7 +79,7 @@ glabel func_802422B0_BFFB30
|
||||
/* BFFC54 802423D4 00000000 */ nop
|
||||
/* BFFC58 802423D8 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BFFC5C 802423DC 0220282D */ daddu $a1, $s1, $zero
|
||||
/* BFFC60 802423E0 0C09023E */ jal func_802408F8_BFE178
|
||||
/* BFFC60 802423E0 0C09023E */ jal UnkNpcAIFunc1
|
||||
/* BFFC64 802423E4 0260302D */ daddu $a2, $s3, $zero
|
||||
/* BFFC68 802423E8 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BFFC6C 802423EC 0220282D */ daddu $a1, $s1, $zero
|
||||
|
@ -1,33 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80242C5C_C004DC
|
||||
/* C004DC 80242C5C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* C004E0 80242C60 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* C004E4 80242C64 0080882D */ daddu $s1, $a0, $zero
|
||||
/* C004E8 80242C68 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* C004EC 80242C6C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* C004F0 80242C70 8E300148 */ lw $s0, 0x148($s1)
|
||||
/* C004F4 80242C74 0C00EABB */ jal get_npc_unsafe
|
||||
/* C004F8 80242C78 86040008 */ lh $a0, 8($s0)
|
||||
/* C004FC 80242C7C 8E0300CC */ lw $v1, 0xcc($s0)
|
||||
/* C00500 80242C80 3C014120 */ lui $at, 0x4120
|
||||
/* C00504 80242C84 44812000 */ mtc1 $at, $f4
|
||||
/* C00508 80242C88 3C014000 */ lui $at, 0x4000
|
||||
/* C0050C 80242C8C 44810000 */ mtc1 $at, $f0
|
||||
/* C00510 80242C90 C442003C */ lwc1 $f2, 0x3c($v0)
|
||||
/* C00514 80242C94 8C640010 */ lw $a0, 0x10($v1)
|
||||
/* C00518 80242C98 8C430000 */ lw $v1, ($v0)
|
||||
/* C0051C 80242C9C E444001C */ swc1 $f4, 0x1c($v0)
|
||||
/* C00520 80242CA0 E4400014 */ swc1 $f0, 0x14($v0)
|
||||
/* C00524 80242CA4 E4420064 */ swc1 $f2, 0x64($v0)
|
||||
/* C00528 80242CA8 34630800 */ ori $v1, $v1, 0x800
|
||||
/* C0052C 80242CAC AC430000 */ sw $v1, ($v0)
|
||||
/* C00530 80242CB0 AC440028 */ sw $a0, 0x28($v0)
|
||||
/* C00534 80242CB4 2402000B */ addiu $v0, $zero, 0xb
|
||||
/* C00538 80242CB8 AE220070 */ sw $v0, 0x70($s1)
|
||||
/* C0053C 80242CBC 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* C00540 80242CC0 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* C00544 80242CC4 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* C00548 80242CC8 03E00008 */ jr $ra
|
||||
/* C0054C 80242CCC 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -1,35 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80242CD0_C00550
|
||||
/* C00550 80242CD0 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* C00554 80242CD4 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* C00558 80242CD8 0080802D */ daddu $s0, $a0, $zero
|
||||
/* C0055C 80242CDC AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* C00560 80242CE0 8E020148 */ lw $v0, 0x148($s0)
|
||||
/* C00564 80242CE4 0C00EABB */ jal get_npc_unsafe
|
||||
/* C00568 80242CE8 84440008 */ lh $a0, 8($v0)
|
||||
/* C0056C 80242CEC 0040202D */ daddu $a0, $v0, $zero
|
||||
/* C00570 80242CF0 C482003C */ lwc1 $f2, 0x3c($a0)
|
||||
/* C00574 80242CF4 C480001C */ lwc1 $f0, 0x1c($a0)
|
||||
/* C00578 80242CF8 46001080 */ add.s $f2, $f2, $f0
|
||||
/* C0057C 80242CFC C4840014 */ lwc1 $f4, 0x14($a0)
|
||||
/* C00580 80242D00 46040001 */ sub.s $f0, $f0, $f4
|
||||
/* C00584 80242D04 C4840064 */ lwc1 $f4, 0x64($a0)
|
||||
/* C00588 80242D08 4602203C */ c.lt.s $f4, $f2
|
||||
/* C0058C 80242D0C E482003C */ swc1 $f2, 0x3c($a0)
|
||||
/* C00590 80242D10 45010009 */ bc1t .L80242D38
|
||||
/* C00594 80242D14 E480001C */ swc1 $f0, 0x1c($a0)
|
||||
/* C00598 80242D18 8C820000 */ lw $v0, ($a0)
|
||||
/* C0059C 80242D1C 2403F7FF */ addiu $v1, $zero, -0x801
|
||||
/* C005A0 80242D20 E484003C */ swc1 $f4, 0x3c($a0)
|
||||
/* C005A4 80242D24 AC80001C */ sw $zero, 0x1c($a0)
|
||||
/* C005A8 80242D28 00431024 */ and $v0, $v0, $v1
|
||||
/* C005AC 80242D2C AC820000 */ sw $v0, ($a0)
|
||||
/* C005B0 80242D30 2402000C */ addiu $v0, $zero, 0xc
|
||||
/* C005B4 80242D34 AE020070 */ sw $v0, 0x70($s0)
|
||||
.L80242D38:
|
||||
/* C005B8 80242D38 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* C005BC 80242D3C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* C005C0 80242D40 03E00008 */ jr $ra
|
||||
/* C005C4 80242D44 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,32 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80242F98_C00818
|
||||
/* C00818 80242F98 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* C0081C 80242F9C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* C00820 80242FA0 0080882D */ daddu $s1, $a0, $zero
|
||||
/* C00824 80242FA4 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* C00828 80242FA8 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* C0082C 80242FAC 8E300148 */ lw $s0, 0x148($s1)
|
||||
/* C00830 80242FB0 0C00EABB */ jal get_npc_unsafe
|
||||
/* C00834 80242FB4 86040008 */ lh $a0, 8($s0)
|
||||
/* C00838 80242FB8 9443008E */ lhu $v1, 0x8e($v0)
|
||||
/* C0083C 80242FBC 2463FFFF */ addiu $v1, $v1, -1
|
||||
/* C00840 80242FC0 A443008E */ sh $v1, 0x8e($v0)
|
||||
/* C00844 80242FC4 00031C00 */ sll $v1, $v1, 0x10
|
||||
/* C00848 80242FC8 14600008 */ bnez $v1, .L80242FEC
|
||||
/* C0084C 80242FCC 00000000 */ nop
|
||||
/* C00850 80242FD0 8E0200B0 */ lw $v0, 0xb0($s0)
|
||||
/* C00854 80242FD4 30420080 */ andi $v0, $v0, 0x80
|
||||
/* C00858 80242FD8 10400003 */ beqz $v0, .L80242FE8
|
||||
/* C0085C 80242FDC 2402000F */ addiu $v0, $zero, 0xf
|
||||
/* C00860 80242FE0 08090BFB */ j .L80242FEC
|
||||
/* C00864 80242FE4 AE220070 */ sw $v0, 0x70($s1)
|
||||
.L80242FE8:
|
||||
/* C00868 80242FE8 AE200070 */ sw $zero, 0x70($s1)
|
||||
.L80242FEC:
|
||||
/* C0086C 80242FEC 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* C00870 80242FF0 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* C00874 80242FF4 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* C00878 80242FF8 03E00008 */ jr $ra
|
||||
/* C0087C 80242FFC 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -157,11 +157,11 @@ glabel func_802430C0_C00940
|
||||
/* C00B88 80243308 00000000 */ nop
|
||||
/* C00B8C 8024330C 0280202D */ daddu $a0, $s4, $zero
|
||||
/* C00B90 80243310 0260282D */ daddu $a1, $s3, $zero
|
||||
/* C00B94 80243314 0C090B17 */ jal func_80242C5C_C004DC
|
||||
/* C00B94 80243314 0C090B17 */ jal NpcJumpFunc2
|
||||
/* C00B98 80243318 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* C00B9C 8024331C 0280202D */ daddu $a0, $s4, $zero
|
||||
/* C00BA0 80243320 0260282D */ daddu $a1, $s3, $zero
|
||||
/* C00BA4 80243324 0C090B34 */ jal func_80242CD0_C00550
|
||||
/* C00BA4 80243324 0C090B34 */ jal NpcJumpFunc
|
||||
/* C00BA8 80243328 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* C00BAC 8024332C 08090CE5 */ j .L80243394
|
||||
/* C00BB0 80243330 00000000 */ nop
|
||||
@ -177,7 +177,7 @@ glabel func_802430C0_C00940
|
||||
/* C00BD8 80243358 00000000 */ nop
|
||||
/* C00BDC 8024335C 0280202D */ daddu $a0, $s4, $zero
|
||||
/* C00BE0 80243360 0260282D */ daddu $a1, $s3, $zero
|
||||
/* C00BE4 80243364 0C090BE6 */ jal func_80242F98_C00818
|
||||
/* C00BE4 80243364 0C090BE6 */ jal UnkNpcDurationFlagFunc
|
||||
/* C00BE8 80243368 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* C00BEC 8024336C 08090CE5 */ j .L80243394
|
||||
/* C00BF0 80243370 00000000 */ nop
|
||||
|
@ -1,32 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80240000_C2EBA0
|
||||
/* C2EBA0 80240000 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* C2EBA4 80240004 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* C2EBA8 80240008 0080882D */ daddu $s1, $a0, $zero
|
||||
/* C2EBAC 8024000C AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* C2EBB0 80240010 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* C2EBB4 80240014 8E300148 */ lw $s0, 0x148($s1)
|
||||
/* C2EBB8 80240018 0C00EABB */ jal get_npc_unsafe
|
||||
/* C2EBBC 8024001C 86040008 */ lh $a0, 8($s0)
|
||||
/* C2EBC0 80240020 24030001 */ addiu $v1, $zero, 1
|
||||
/* C2EBC4 80240024 0040202D */ daddu $a0, $v0, $zero
|
||||
/* C2EBC8 80240028 AE03006C */ sw $v1, 0x6c($s0)
|
||||
/* C2EBCC 8024002C 8482008C */ lh $v0, 0x8c($a0)
|
||||
/* C2EBD0 80240030 14400009 */ bnez $v0, .L80240058
|
||||
/* C2EBD4 80240034 24020002 */ addiu $v0, $zero, 2
|
||||
/* C2EBD8 80240038 96030072 */ lhu $v1, 0x72($s0)
|
||||
/* C2EBDC 8024003C AE02006C */ sw $v0, 0x6c($s0)
|
||||
/* C2EBE0 80240040 A483008E */ sh $v1, 0x8e($a0)
|
||||
/* C2EBE4 80240044 8E0200CC */ lw $v0, 0xcc($s0)
|
||||
/* C2EBE8 80240048 8C420020 */ lw $v0, 0x20($v0)
|
||||
/* C2EBEC 8024004C AC820028 */ sw $v0, 0x28($a0)
|
||||
/* C2EBF0 80240050 2402001F */ addiu $v0, $zero, 0x1f
|
||||
/* C2EBF4 80240054 AE220070 */ sw $v0, 0x70($s1)
|
||||
.L80240058:
|
||||
/* C2EBF8 80240058 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* C2EBFC 8024005C 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* C2EC00 80240060 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* C2EC04 80240064 03E00008 */ jr $ra
|
||||
/* C2EC08 80240068 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -1,33 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_8024006C_C2EC0C
|
||||
/* C2EC0C 8024006C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* C2EC10 80240070 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* C2EC14 80240074 0080882D */ daddu $s1, $a0, $zero
|
||||
/* C2EC18 80240078 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* C2EC1C 8024007C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* C2EC20 80240080 8E300148 */ lw $s0, 0x148($s1)
|
||||
/* C2EC24 80240084 0C00EABB */ jal get_npc_unsafe
|
||||
/* C2EC28 80240088 86040008 */ lh $a0, 8($s0)
|
||||
/* C2EC2C 8024008C 0040202D */ daddu $a0, $v0, $zero
|
||||
/* C2EC30 80240090 9482008E */ lhu $v0, 0x8e($a0)
|
||||
/* C2EC34 80240094 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* C2EC38 80240098 A482008E */ sh $v0, 0x8e($a0)
|
||||
/* C2EC3C 8024009C 00021400 */ sll $v0, $v0, 0x10
|
||||
/* C2EC40 802400A0 1C400009 */ bgtz $v0, .L802400C8
|
||||
/* C2EC44 802400A4 24020003 */ addiu $v0, $zero, 3
|
||||
/* C2EC48 802400A8 96030076 */ lhu $v1, 0x76($s0)
|
||||
/* C2EC4C 802400AC AE02006C */ sw $v0, 0x6c($s0)
|
||||
/* C2EC50 802400B0 A483008E */ sh $v1, 0x8e($a0)
|
||||
/* C2EC54 802400B4 8E0200CC */ lw $v0, 0xcc($s0)
|
||||
/* C2EC58 802400B8 8C420024 */ lw $v0, 0x24($v0)
|
||||
/* C2EC5C 802400BC AC820028 */ sw $v0, 0x28($a0)
|
||||
/* C2EC60 802400C0 24020020 */ addiu $v0, $zero, 0x20
|
||||
/* C2EC64 802400C4 AE220070 */ sw $v0, 0x70($s1)
|
||||
.L802400C8:
|
||||
/* C2EC68 802400C8 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* C2EC6C 802400CC 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* C2EC70 802400D0 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* C2EC74 802400D4 03E00008 */ jr $ra
|
||||
/* C2EC78 802400D8 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -1,60 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802400DC_C2EC7C
|
||||
/* C2EC7C 802400DC 27BDFFC0 */ addiu $sp, $sp, -0x40
|
||||
/* C2EC80 802400E0 AFB10034 */ sw $s1, 0x34($sp)
|
||||
/* C2EC84 802400E4 0080882D */ daddu $s1, $a0, $zero
|
||||
/* C2EC88 802400E8 AFBF0038 */ sw $ra, 0x38($sp)
|
||||
/* C2EC8C 802400EC AFB00030 */ sw $s0, 0x30($sp)
|
||||
/* C2EC90 802400F0 8E300148 */ lw $s0, 0x148($s1)
|
||||
/* C2EC94 802400F4 0C00EABB */ jal get_npc_unsafe
|
||||
/* C2EC98 802400F8 86040008 */ lh $a0, 8($s0)
|
||||
/* C2EC9C 802400FC 0040282D */ daddu $a1, $v0, $zero
|
||||
/* C2ECA0 80240100 94A2008E */ lhu $v0, 0x8e($a1)
|
||||
/* C2ECA4 80240104 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* C2ECA8 80240108 A4A2008E */ sh $v0, 0x8e($a1)
|
||||
/* C2ECAC 8024010C 00021400 */ sll $v0, $v0, 0x10
|
||||
/* C2ECB0 80240110 1C400023 */ bgtz $v0, .L802401A0
|
||||
/* C2ECB4 80240114 24020004 */ addiu $v0, $zero, 4
|
||||
/* C2ECB8 80240118 8E0300CC */ lw $v1, 0xcc($s0)
|
||||
/* C2ECBC 8024011C AE02006C */ sw $v0, 0x6c($s0)
|
||||
/* C2ECC0 80240120 8C620000 */ lw $v0, ($v1)
|
||||
/* C2ECC4 80240124 ACA20028 */ sw $v0, 0x28($a1)
|
||||
/* C2ECC8 80240128 9602007A */ lhu $v0, 0x7a($s0)
|
||||
/* C2ECCC 8024012C A4A2008E */ sh $v0, 0x8e($a1)
|
||||
/* C2ECD0 80240130 8E020078 */ lw $v0, 0x78($s0)
|
||||
/* C2ECD4 80240134 28420008 */ slti $v0, $v0, 8
|
||||
/* C2ECD8 80240138 14400018 */ bnez $v0, .L8024019C
|
||||
/* C2ECDC 8024013C 24020021 */ addiu $v0, $zero, 0x21
|
||||
/* C2ECE0 80240140 24040003 */ addiu $a0, $zero, 3
|
||||
/* C2ECE4 80240144 27A30028 */ addiu $v1, $sp, 0x28
|
||||
/* C2ECE8 80240148 84A700A8 */ lh $a3, 0xa8($a1)
|
||||
/* C2ECEC 8024014C 3C013F80 */ lui $at, 0x3f80
|
||||
/* C2ECF0 80240150 44810000 */ mtc1 $at, $f0
|
||||
/* C2ECF4 80240154 3C014000 */ lui $at, 0x4000
|
||||
/* C2ECF8 80240158 44811000 */ mtc1 $at, $f2
|
||||
/* C2ECFC 8024015C 3C01C1A0 */ lui $at, 0xc1a0
|
||||
/* C2ED00 80240160 44812000 */ mtc1 $at, $f4
|
||||
/* C2ED04 80240164 44873000 */ mtc1 $a3, $f6
|
||||
/* C2ED08 80240168 00000000 */ nop
|
||||
/* C2ED0C 8024016C 468031A0 */ cvt.s.w $f6, $f6
|
||||
/* C2ED10 80240170 E7A00010 */ swc1 $f0, 0x10($sp)
|
||||
/* C2ED14 80240174 E7A20014 */ swc1 $f2, 0x14($sp)
|
||||
/* C2ED18 80240178 E7A40018 */ swc1 $f4, 0x18($sp)
|
||||
/* C2ED1C 8024017C 8E020078 */ lw $v0, 0x78($s0)
|
||||
/* C2ED20 80240180 44073000 */ mfc1 $a3, $f6
|
||||
/* C2ED24 80240184 0000302D */ daddu $a2, $zero, $zero
|
||||
/* C2ED28 80240188 AFA30020 */ sw $v1, 0x20($sp)
|
||||
/* C2ED2C 8024018C 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* C2ED30 80240190 0C01BFA4 */ jal fx_emote
|
||||
/* C2ED34 80240194 AFA2001C */ sw $v0, 0x1c($sp)
|
||||
/* C2ED38 80240198 24020021 */ addiu $v0, $zero, 0x21
|
||||
.L8024019C:
|
||||
/* C2ED3C 8024019C AE220070 */ sw $v0, 0x70($s1)
|
||||
.L802401A0:
|
||||
/* C2ED40 802401A0 8FBF0038 */ lw $ra, 0x38($sp)
|
||||
/* C2ED44 802401A4 8FB10034 */ lw $s1, 0x34($sp)
|
||||
/* C2ED48 802401A8 8FB00030 */ lw $s0, 0x30($sp)
|
||||
/* C2ED4C 802401AC 03E00008 */ jr $ra
|
||||
/* C2ED50 802401B0 27BD0040 */ addiu $sp, $sp, 0x40
|
@ -1,26 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802401B4_C2ED54
|
||||
/* C2ED54 802401B4 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* C2ED58 802401B8 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* C2ED5C 802401BC 0080882D */ daddu $s1, $a0, $zero
|
||||
/* C2ED60 802401C0 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* C2ED64 802401C4 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* C2ED68 802401C8 8E300148 */ lw $s0, 0x148($s1)
|
||||
/* C2ED6C 802401CC 0C00EABB */ jal get_npc_unsafe
|
||||
/* C2ED70 802401D0 86040008 */ lh $a0, 8($s0)
|
||||
/* C2ED74 802401D4 9443008E */ lhu $v1, 0x8e($v0)
|
||||
/* C2ED78 802401D8 2463FFFF */ addiu $v1, $v1, -1
|
||||
/* C2ED7C 802401DC A443008E */ sh $v1, 0x8e($v0)
|
||||
/* C2ED80 802401E0 00031C00 */ sll $v1, $v1, 0x10
|
||||
/* C2ED84 802401E4 1C600003 */ bgtz $v1, .L802401F4
|
||||
/* C2ED88 802401E8 2402000C */ addiu $v0, $zero, 0xc
|
||||
/* C2ED8C 802401EC AE00006C */ sw $zero, 0x6c($s0)
|
||||
/* C2ED90 802401F0 AE220070 */ sw $v0, 0x70($s1)
|
||||
.L802401F4:
|
||||
/* C2ED94 802401F4 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* C2ED98 802401F8 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* C2ED9C 802401FC 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* C2EDA0 80240200 03E00008 */ jr $ra
|
||||
/* C2EDA4 80240204 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -151,21 +151,21 @@ glabel func_8024061C_C2F1BC
|
||||
/* C2F3EC 8024084C 0280302D */ daddu $a2, $s4, $zero
|
||||
/* C2F3F0 80240850 0809022A */ j .L802408A8
|
||||
/* C2F3F4 80240854 00000000 */ nop
|
||||
/* C2F3F8 80240858 0C090000 */ jal func_80240000_C2EBA0
|
||||
/* C2F3F8 80240858 0C090000 */ jal UnkNpcAIFunc6
|
||||
/* C2F3FC 8024085C 0240202D */ daddu $a0, $s2, $zero
|
||||
/* C2F400 80240860 0C09001B */ jal func_8024006C_C2EC0C
|
||||
/* C2F400 80240860 0C09001B */ jal UnkNpcAIFunc7
|
||||
/* C2F404 80240864 0240202D */ daddu $a0, $s2, $zero
|
||||
/* C2F408 80240868 8E430070 */ lw $v1, 0x70($s2)
|
||||
/* C2F40C 8024086C 24020020 */ addiu $v0, $zero, 0x20
|
||||
/* C2F410 80240870 1462000D */ bne $v1, $v0, .L802408A8
|
||||
/* C2F414 80240874 00000000 */ nop
|
||||
/* C2F418 80240878 0C090037 */ jal func_802400DC_C2EC7C
|
||||
/* C2F418 80240878 0C090037 */ jal UnkNpcAIFunc8
|
||||
/* C2F41C 8024087C 0240202D */ daddu $a0, $s2, $zero
|
||||
/* C2F420 80240880 8E430070 */ lw $v1, 0x70($s2)
|
||||
/* C2F424 80240884 24020021 */ addiu $v0, $zero, 0x21
|
||||
/* C2F428 80240888 14620007 */ bne $v1, $v0, .L802408A8
|
||||
/* C2F42C 8024088C 00000000 */ nop
|
||||
/* C2F430 80240890 0C09006D */ jal func_802401B4_C2ED54
|
||||
/* C2F430 80240890 0C09006D */ jal UnkNpcAIFunc5
|
||||
/* C2F434 80240894 0240202D */ daddu $a0, $s2, $zero
|
||||
/* C2F438 80240898 0809022A */ j .L802408A8
|
||||
/* C2F43C 8024089C 00000000 */ nop
|
||||
|
@ -168,23 +168,23 @@ glabel func_802410D4_C2FC74
|
||||
/* C2FEE8 80241348 24020003 */ addiu $v0, $zero, 3
|
||||
/* C2FEEC 8024134C 080904FF */ j .L802413FC
|
||||
/* C2FEF0 80241350 AE420070 */ sw $v0, 0x70($s2)
|
||||
/* C2FEF4 80241354 0C090000 */ jal func_80240000_C2EBA0
|
||||
/* C2FEF4 80241354 0C090000 */ jal UnkNpcAIFunc6
|
||||
/* C2FEF8 80241358 0240202D */ daddu $a0, $s2, $zero
|
||||
/* C2FEFC 8024135C 8E430070 */ lw $v1, 0x70($s2)
|
||||
/* C2FF00 80241360 2402001F */ addiu $v0, $zero, 0x1f
|
||||
/* C2FF04 80241364 14620025 */ bne $v1, $v0, .L802413FC
|
||||
/* C2FF08 80241368 00000000 */ nop
|
||||
/* C2FF0C 8024136C 0C09001B */ jal func_8024006C_C2EC0C
|
||||
/* C2FF0C 8024136C 0C09001B */ jal UnkNpcAIFunc7
|
||||
/* C2FF10 80241370 0240202D */ daddu $a0, $s2, $zero
|
||||
/* C2FF14 80241374 8E430070 */ lw $v1, 0x70($s2)
|
||||
/* C2FF18 80241378 24020020 */ addiu $v0, $zero, 0x20
|
||||
/* C2FF1C 8024137C 1462001F */ bne $v1, $v0, .L802413FC
|
||||
/* C2FF20 80241380 00000000 */ nop
|
||||
/* C2FF24 80241384 0C090037 */ jal func_802400DC_C2EC7C
|
||||
/* C2FF24 80241384 0C090037 */ jal UnkNpcAIFunc8
|
||||
/* C2FF28 80241388 0240202D */ daddu $a0, $s2, $zero
|
||||
/* C2FF2C 8024138C 080904FF */ j .L802413FC
|
||||
/* C2FF30 80241390 00000000 */ nop
|
||||
/* C2FF34 80241394 0C09006D */ jal func_802401B4_C2ED54
|
||||
/* C2FF34 80241394 0C09006D */ jal UnkNpcAIFunc5
|
||||
/* C2FF38 80241398 0240202D */ daddu $a0, $s2, $zero
|
||||
/* C2FF3C 8024139C 080904FF */ j .L802413FC
|
||||
/* C2FF40 802413A0 00000000 */ nop
|
||||
|
@ -1,32 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80240250_C31730
|
||||
/* C31730 80240250 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* C31734 80240254 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* C31738 80240258 0080882D */ daddu $s1, $a0, $zero
|
||||
/* C3173C 8024025C AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* C31740 80240260 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* C31744 80240264 8E300148 */ lw $s0, 0x148($s1)
|
||||
/* C31748 80240268 0C00EABB */ jal get_npc_unsafe
|
||||
/* C3174C 8024026C 86040008 */ lh $a0, 8($s0)
|
||||
/* C31750 80240270 24030001 */ addiu $v1, $zero, 1
|
||||
/* C31754 80240274 0040202D */ daddu $a0, $v0, $zero
|
||||
/* C31758 80240278 AE03006C */ sw $v1, 0x6c($s0)
|
||||
/* C3175C 8024027C 8482008C */ lh $v0, 0x8c($a0)
|
||||
/* C31760 80240280 14400009 */ bnez $v0, .L802402A8
|
||||
/* C31764 80240284 24020002 */ addiu $v0, $zero, 2
|
||||
/* C31768 80240288 96030072 */ lhu $v1, 0x72($s0)
|
||||
/* C3176C 8024028C AE02006C */ sw $v0, 0x6c($s0)
|
||||
/* C31770 80240290 A483008E */ sh $v1, 0x8e($a0)
|
||||
/* C31774 80240294 8E0200CC */ lw $v0, 0xcc($s0)
|
||||
/* C31778 80240298 8C420020 */ lw $v0, 0x20($v0)
|
||||
/* C3177C 8024029C AC820028 */ sw $v0, 0x28($a0)
|
||||
/* C31780 802402A0 2402001F */ addiu $v0, $zero, 0x1f
|
||||
/* C31784 802402A4 AE220070 */ sw $v0, 0x70($s1)
|
||||
.L802402A8:
|
||||
/* C31788 802402A8 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* C3178C 802402AC 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* C31790 802402B0 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* C31794 802402B4 03E00008 */ jr $ra
|
||||
/* C31798 802402B8 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -1,33 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802402BC_C3179C
|
||||
/* C3179C 802402BC 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* C317A0 802402C0 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* C317A4 802402C4 0080882D */ daddu $s1, $a0, $zero
|
||||
/* C317A8 802402C8 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* C317AC 802402CC AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* C317B0 802402D0 8E300148 */ lw $s0, 0x148($s1)
|
||||
/* C317B4 802402D4 0C00EABB */ jal get_npc_unsafe
|
||||
/* C317B8 802402D8 86040008 */ lh $a0, 8($s0)
|
||||
/* C317BC 802402DC 0040202D */ daddu $a0, $v0, $zero
|
||||
/* C317C0 802402E0 9482008E */ lhu $v0, 0x8e($a0)
|
||||
/* C317C4 802402E4 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* C317C8 802402E8 A482008E */ sh $v0, 0x8e($a0)
|
||||
/* C317CC 802402EC 00021400 */ sll $v0, $v0, 0x10
|
||||
/* C317D0 802402F0 1C400009 */ bgtz $v0, .L80240318
|
||||
/* C317D4 802402F4 24020003 */ addiu $v0, $zero, 3
|
||||
/* C317D8 802402F8 96030076 */ lhu $v1, 0x76($s0)
|
||||
/* C317DC 802402FC AE02006C */ sw $v0, 0x6c($s0)
|
||||
/* C317E0 80240300 A483008E */ sh $v1, 0x8e($a0)
|
||||
/* C317E4 80240304 8E0200CC */ lw $v0, 0xcc($s0)
|
||||
/* C317E8 80240308 8C420024 */ lw $v0, 0x24($v0)
|
||||
/* C317EC 8024030C AC820028 */ sw $v0, 0x28($a0)
|
||||
/* C317F0 80240310 24020020 */ addiu $v0, $zero, 0x20
|
||||
/* C317F4 80240314 AE220070 */ sw $v0, 0x70($s1)
|
||||
.L80240318:
|
||||
/* C317F8 80240318 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* C317FC 8024031C 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* C31800 80240320 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* C31804 80240324 03E00008 */ jr $ra
|
||||
/* C31808 80240328 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -1,60 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_8024032C_C3180C
|
||||
/* C3180C 8024032C 27BDFFC0 */ addiu $sp, $sp, -0x40
|
||||
/* C31810 80240330 AFB10034 */ sw $s1, 0x34($sp)
|
||||
/* C31814 80240334 0080882D */ daddu $s1, $a0, $zero
|
||||
/* C31818 80240338 AFBF0038 */ sw $ra, 0x38($sp)
|
||||
/* C3181C 8024033C AFB00030 */ sw $s0, 0x30($sp)
|
||||
/* C31820 80240340 8E300148 */ lw $s0, 0x148($s1)
|
||||
/* C31824 80240344 0C00EABB */ jal get_npc_unsafe
|
||||
/* C31828 80240348 86040008 */ lh $a0, 8($s0)
|
||||
/* C3182C 8024034C 0040282D */ daddu $a1, $v0, $zero
|
||||
/* C31830 80240350 94A2008E */ lhu $v0, 0x8e($a1)
|
||||
/* C31834 80240354 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* C31838 80240358 A4A2008E */ sh $v0, 0x8e($a1)
|
||||
/* C3183C 8024035C 00021400 */ sll $v0, $v0, 0x10
|
||||
/* C31840 80240360 1C400023 */ bgtz $v0, .L802403F0
|
||||
/* C31844 80240364 24020004 */ addiu $v0, $zero, 4
|
||||
/* C31848 80240368 8E0300CC */ lw $v1, 0xcc($s0)
|
||||
/* C3184C 8024036C AE02006C */ sw $v0, 0x6c($s0)
|
||||
/* C31850 80240370 8C620000 */ lw $v0, ($v1)
|
||||
/* C31854 80240374 ACA20028 */ sw $v0, 0x28($a1)
|
||||
/* C31858 80240378 9602007A */ lhu $v0, 0x7a($s0)
|
||||
/* C3185C 8024037C A4A2008E */ sh $v0, 0x8e($a1)
|
||||
/* C31860 80240380 8E020078 */ lw $v0, 0x78($s0)
|
||||
/* C31864 80240384 28420008 */ slti $v0, $v0, 8
|
||||
/* C31868 80240388 14400018 */ bnez $v0, .L802403EC
|
||||
/* C3186C 8024038C 24020021 */ addiu $v0, $zero, 0x21
|
||||
/* C31870 80240390 24040003 */ addiu $a0, $zero, 3
|
||||
/* C31874 80240394 27A30028 */ addiu $v1, $sp, 0x28
|
||||
/* C31878 80240398 84A700A8 */ lh $a3, 0xa8($a1)
|
||||
/* C3187C 8024039C 3C013F80 */ lui $at, 0x3f80
|
||||
/* C31880 802403A0 44810000 */ mtc1 $at, $f0
|
||||
/* C31884 802403A4 3C014000 */ lui $at, 0x4000
|
||||
/* C31888 802403A8 44811000 */ mtc1 $at, $f2
|
||||
/* C3188C 802403AC 3C01C1A0 */ lui $at, 0xc1a0
|
||||
/* C31890 802403B0 44812000 */ mtc1 $at, $f4
|
||||
/* C31894 802403B4 44873000 */ mtc1 $a3, $f6
|
||||
/* C31898 802403B8 00000000 */ nop
|
||||
/* C3189C 802403BC 468031A0 */ cvt.s.w $f6, $f6
|
||||
/* C318A0 802403C0 E7A00010 */ swc1 $f0, 0x10($sp)
|
||||
/* C318A4 802403C4 E7A20014 */ swc1 $f2, 0x14($sp)
|
||||
/* C318A8 802403C8 E7A40018 */ swc1 $f4, 0x18($sp)
|
||||
/* C318AC 802403CC 8E020078 */ lw $v0, 0x78($s0)
|
||||
/* C318B0 802403D0 44073000 */ mfc1 $a3, $f6
|
||||
/* C318B4 802403D4 0000302D */ daddu $a2, $zero, $zero
|
||||
/* C318B8 802403D8 AFA30020 */ sw $v1, 0x20($sp)
|
||||
/* C318BC 802403DC 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* C318C0 802403E0 0C01BFA4 */ jal fx_emote
|
||||
/* C318C4 802403E4 AFA2001C */ sw $v0, 0x1c($sp)
|
||||
/* C318C8 802403E8 24020021 */ addiu $v0, $zero, 0x21
|
||||
.L802403EC:
|
||||
/* C318CC 802403EC AE220070 */ sw $v0, 0x70($s1)
|
||||
.L802403F0:
|
||||
/* C318D0 802403F0 8FBF0038 */ lw $ra, 0x38($sp)
|
||||
/* C318D4 802403F4 8FB10034 */ lw $s1, 0x34($sp)
|
||||
/* C318D8 802403F8 8FB00030 */ lw $s0, 0x30($sp)
|
||||
/* C318DC 802403FC 03E00008 */ jr $ra
|
||||
/* C318E0 80240400 27BD0040 */ addiu $sp, $sp, 0x40
|
@ -1,26 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80240404_C318E4
|
||||
/* C318E4 80240404 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* C318E8 80240408 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* C318EC 8024040C 0080882D */ daddu $s1, $a0, $zero
|
||||
/* C318F0 80240410 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* C318F4 80240414 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* C318F8 80240418 8E300148 */ lw $s0, 0x148($s1)
|
||||
/* C318FC 8024041C 0C00EABB */ jal get_npc_unsafe
|
||||
/* C31900 80240420 86040008 */ lh $a0, 8($s0)
|
||||
/* C31904 80240424 9443008E */ lhu $v1, 0x8e($v0)
|
||||
/* C31908 80240428 2463FFFF */ addiu $v1, $v1, -1
|
||||
/* C3190C 8024042C A443008E */ sh $v1, 0x8e($v0)
|
||||
/* C31910 80240430 00031C00 */ sll $v1, $v1, 0x10
|
||||
/* C31914 80240434 1C600003 */ bgtz $v1, .L80240444
|
||||
/* C31918 80240438 2402000C */ addiu $v0, $zero, 0xc
|
||||
/* C3191C 8024043C AE00006C */ sw $zero, 0x6c($s0)
|
||||
/* C31920 80240440 AE220070 */ sw $v0, 0x70($s1)
|
||||
.L80240444:
|
||||
/* C31924 80240444 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* C31928 80240448 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* C3192C 8024044C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* C31930 80240450 03E00008 */ jr $ra
|
||||
/* C31934 80240454 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -151,21 +151,21 @@ glabel func_8024086C_C31D4C
|
||||
/* C31F7C 80240A9C 0280302D */ daddu $a2, $s4, $zero
|
||||
/* C31F80 80240AA0 080902BE */ j .L80240AF8
|
||||
/* C31F84 80240AA4 00000000 */ nop
|
||||
/* C31F88 80240AA8 0C090094 */ jal func_80240250_C31730
|
||||
/* C31F88 80240AA8 0C090094 */ jal UnkNpcAIFunc6
|
||||
/* C31F8C 80240AAC 0240202D */ daddu $a0, $s2, $zero
|
||||
/* C31F90 80240AB0 0C0900AF */ jal func_802402BC_C3179C
|
||||
/* C31F90 80240AB0 0C0900AF */ jal UnkNpcAIFunc7
|
||||
/* C31F94 80240AB4 0240202D */ daddu $a0, $s2, $zero
|
||||
/* C31F98 80240AB8 8E430070 */ lw $v1, 0x70($s2)
|
||||
/* C31F9C 80240ABC 24020020 */ addiu $v0, $zero, 0x20
|
||||
/* C31FA0 80240AC0 1462000D */ bne $v1, $v0, .L80240AF8
|
||||
/* C31FA4 80240AC4 00000000 */ nop
|
||||
/* C31FA8 80240AC8 0C0900CB */ jal func_8024032C_C3180C
|
||||
/* C31FA8 80240AC8 0C0900CB */ jal UnkNpcAIFunc8
|
||||
/* C31FAC 80240ACC 0240202D */ daddu $a0, $s2, $zero
|
||||
/* C31FB0 80240AD0 8E430070 */ lw $v1, 0x70($s2)
|
||||
/* C31FB4 80240AD4 24020021 */ addiu $v0, $zero, 0x21
|
||||
/* C31FB8 80240AD8 14620007 */ bne $v1, $v0, .L80240AF8
|
||||
/* C31FBC 80240ADC 00000000 */ nop
|
||||
/* C31FC0 80240AE0 0C090101 */ jal func_80240404_C318E4
|
||||
/* C31FC0 80240AE0 0C090101 */ jal UnkNpcAIFunc5
|
||||
/* C31FC4 80240AE4 0240202D */ daddu $a0, $s2, $zero
|
||||
/* C31FC8 80240AE8 080902BE */ j .L80240AF8
|
||||
/* C31FCC 80240AEC 00000000 */ nop
|
||||
|
@ -1,52 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80240F20_C32400
|
||||
/* C32400 80240F20 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* C32404 80240F24 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* C32408 80240F28 0080982D */ daddu $s3, $a0, $zero
|
||||
/* C3240C 80240F2C AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* C32410 80240F30 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* C32414 80240F34 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* C32418 80240F38 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* C3241C 80240F3C 8E720148 */ lw $s2, 0x148($s3)
|
||||
/* C32420 80240F40 86440008 */ lh $a0, 8($s2)
|
||||
/* C32424 80240F44 0C00EABB */ jal get_npc_unsafe
|
||||
/* C32428 80240F48 00A0882D */ daddu $s1, $a1, $zero
|
||||
/* C3242C 80240F4C 8E240008 */ lw $a0, 8($s1)
|
||||
/* C32430 80240F50 0040802D */ daddu $s0, $v0, $zero
|
||||
/* C32434 80240F54 00041FC2 */ srl $v1, $a0, 0x1f
|
||||
/* C32438 80240F58 00832021 */ addu $a0, $a0, $v1
|
||||
/* C3243C 80240F5C 00042043 */ sra $a0, $a0, 1
|
||||
/* C32440 80240F60 0C00A67F */ jal rand_int
|
||||
/* C32444 80240F64 24840001 */ addiu $a0, $a0, 1
|
||||
/* C32448 80240F68 8E230008 */ lw $v1, 8($s1)
|
||||
/* C3244C 80240F6C 240400B4 */ addiu $a0, $zero, 0xb4
|
||||
/* C32450 80240F70 00032FC2 */ srl $a1, $v1, 0x1f
|
||||
/* C32454 80240F74 00651821 */ addu $v1, $v1, $a1
|
||||
/* C32458 80240F78 00031843 */ sra $v1, $v1, 1
|
||||
/* C3245C 80240F7C 00621821 */ addu $v1, $v1, $v0
|
||||
/* C32460 80240F80 0C00A67F */ jal rand_int
|
||||
/* C32464 80240F84 A603008E */ sh $v1, 0x8e($s0)
|
||||
/* C32468 80240F88 C60C000C */ lwc1 $f12, 0xc($s0)
|
||||
/* C3246C 80240F8C 44820000 */ mtc1 $v0, $f0
|
||||
/* C32470 80240F90 00000000 */ nop
|
||||
/* C32474 80240F94 46800020 */ cvt.s.w $f0, $f0
|
||||
/* C32478 80240F98 46006300 */ add.s $f12, $f12, $f0
|
||||
/* C3247C 80240F9C 3C0142B4 */ lui $at, 0x42b4
|
||||
/* C32480 80240FA0 44810000 */ mtc1 $at, $f0
|
||||
/* C32484 80240FA4 0C00A6C9 */ jal clamp_angle
|
||||
/* C32488 80240FA8 46006301 */ sub.s $f12, $f12, $f0
|
||||
/* C3248C 80240FAC E600000C */ swc1 $f0, 0xc($s0)
|
||||
/* C32490 80240FB0 8E4200CC */ lw $v0, 0xcc($s2)
|
||||
/* C32494 80240FB4 8C420000 */ lw $v0, ($v0)
|
||||
/* C32498 80240FB8 AE020028 */ sw $v0, 0x28($s0)
|
||||
/* C3249C 80240FBC 24020003 */ addiu $v0, $zero, 3
|
||||
/* C324A0 80240FC0 AE620070 */ sw $v0, 0x70($s3)
|
||||
/* C324A4 80240FC4 8FBF0020 */ lw $ra, 0x20($sp)
|
||||
/* C324A8 80240FC8 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* C324AC 80240FCC 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* C324B0 80240FD0 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* C324B4 80240FD4 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* C324B8 80240FD8 03E00008 */ jr $ra
|
||||
/* C324BC 80240FDC 27BD0028 */ addiu $sp, $sp, 0x28
|
@ -1,33 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80241250_C32730
|
||||
/* C32730 80241250 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* C32734 80241254 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* C32738 80241258 0080882D */ daddu $s1, $a0, $zero
|
||||
/* C3273C 8024125C AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* C32740 80241260 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* C32744 80241264 8E300148 */ lw $s0, 0x148($s1)
|
||||
/* C32748 80241268 0C00EABB */ jal get_npc_unsafe
|
||||
/* C3274C 8024126C 86040008 */ lh $a0, 8($s0)
|
||||
/* C32750 80241270 8E0300CC */ lw $v1, 0xcc($s0)
|
||||
/* C32754 80241274 3C014120 */ lui $at, 0x4120
|
||||
/* C32758 80241278 44812000 */ mtc1 $at, $f4
|
||||
/* C3275C 8024127C 3C014000 */ lui $at, 0x4000
|
||||
/* C32760 80241280 44810000 */ mtc1 $at, $f0
|
||||
/* C32764 80241284 C442003C */ lwc1 $f2, 0x3c($v0)
|
||||
/* C32768 80241288 8C640010 */ lw $a0, 0x10($v1)
|
||||
/* C3276C 8024128C 8C430000 */ lw $v1, ($v0)
|
||||
/* C32770 80241290 E444001C */ swc1 $f4, 0x1c($v0)
|
||||
/* C32774 80241294 E4400014 */ swc1 $f0, 0x14($v0)
|
||||
/* C32778 80241298 E4420064 */ swc1 $f2, 0x64($v0)
|
||||
/* C3277C 8024129C 34630800 */ ori $v1, $v1, 0x800
|
||||
/* C32780 802412A0 AC430000 */ sw $v1, ($v0)
|
||||
/* C32784 802412A4 AC440028 */ sw $a0, 0x28($v0)
|
||||
/* C32788 802412A8 2402000B */ addiu $v0, $zero, 0xb
|
||||
/* C3278C 802412AC AE220070 */ sw $v0, 0x70($s1)
|
||||
/* C32790 802412B0 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* C32794 802412B4 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* C32798 802412B8 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* C3279C 802412BC 03E00008 */ jr $ra
|
||||
/* C327A0 802412C0 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -1,35 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802412C4_C327A4
|
||||
/* C327A4 802412C4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* C327A8 802412C8 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* C327AC 802412CC 0080802D */ daddu $s0, $a0, $zero
|
||||
/* C327B0 802412D0 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* C327B4 802412D4 8E020148 */ lw $v0, 0x148($s0)
|
||||
/* C327B8 802412D8 0C00EABB */ jal get_npc_unsafe
|
||||
/* C327BC 802412DC 84440008 */ lh $a0, 8($v0)
|
||||
/* C327C0 802412E0 0040202D */ daddu $a0, $v0, $zero
|
||||
/* C327C4 802412E4 C482003C */ lwc1 $f2, 0x3c($a0)
|
||||
/* C327C8 802412E8 C480001C */ lwc1 $f0, 0x1c($a0)
|
||||
/* C327CC 802412EC 46001080 */ add.s $f2, $f2, $f0
|
||||
/* C327D0 802412F0 C4840014 */ lwc1 $f4, 0x14($a0)
|
||||
/* C327D4 802412F4 46040001 */ sub.s $f0, $f0, $f4
|
||||
/* C327D8 802412F8 C4840064 */ lwc1 $f4, 0x64($a0)
|
||||
/* C327DC 802412FC 4602203C */ c.lt.s $f4, $f2
|
||||
/* C327E0 80241300 E482003C */ swc1 $f2, 0x3c($a0)
|
||||
/* C327E4 80241304 45010009 */ bc1t .L8024132C
|
||||
/* C327E8 80241308 E480001C */ swc1 $f0, 0x1c($a0)
|
||||
/* C327EC 8024130C 8C820000 */ lw $v0, ($a0)
|
||||
/* C327F0 80241310 2403F7FF */ addiu $v1, $zero, -0x801
|
||||
/* C327F4 80241314 E484003C */ swc1 $f4, 0x3c($a0)
|
||||
/* C327F8 80241318 AC80001C */ sw $zero, 0x1c($a0)
|
||||
/* C327FC 8024131C 00431024 */ and $v0, $v0, $v1
|
||||
/* C32800 80241320 AC820000 */ sw $v0, ($a0)
|
||||
/* C32804 80241324 2402000C */ addiu $v0, $zero, 0xc
|
||||
/* C32808 80241328 AE020070 */ sw $v0, 0x70($s0)
|
||||
.L8024132C:
|
||||
/* C3280C 8024132C 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* C32810 80241330 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* C32814 80241334 03E00008 */ jr $ra
|
||||
/* C32818 80241338 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,32 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_8024158C_C32A6C
|
||||
/* C32A6C 8024158C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* C32A70 80241590 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* C32A74 80241594 0080882D */ daddu $s1, $a0, $zero
|
||||
/* C32A78 80241598 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* C32A7C 8024159C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* C32A80 802415A0 8E300148 */ lw $s0, 0x148($s1)
|
||||
/* C32A84 802415A4 0C00EABB */ jal get_npc_unsafe
|
||||
/* C32A88 802415A8 86040008 */ lh $a0, 8($s0)
|
||||
/* C32A8C 802415AC 9443008E */ lhu $v1, 0x8e($v0)
|
||||
/* C32A90 802415B0 2463FFFF */ addiu $v1, $v1, -1
|
||||
/* C32A94 802415B4 A443008E */ sh $v1, 0x8e($v0)
|
||||
/* C32A98 802415B8 00031C00 */ sll $v1, $v1, 0x10
|
||||
/* C32A9C 802415BC 14600008 */ bnez $v1, .L802415E0
|
||||
/* C32AA0 802415C0 00000000 */ nop
|
||||
/* C32AA4 802415C4 8E0200B0 */ lw $v0, 0xb0($s0)
|
||||
/* C32AA8 802415C8 30420080 */ andi $v0, $v0, 0x80
|
||||
/* C32AAC 802415CC 10400003 */ beqz $v0, .L802415DC
|
||||
/* C32AB0 802415D0 2402000F */ addiu $v0, $zero, 0xf
|
||||
/* C32AB4 802415D4 08090578 */ j .L802415E0
|
||||
/* C32AB8 802415D8 AE220070 */ sw $v0, 0x70($s1)
|
||||
.L802415DC:
|
||||
/* C32ABC 802415DC AE200070 */ sw $zero, 0x70($s1)
|
||||
.L802415E0:
|
||||
/* C32AC0 802415E0 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* C32AC4 802415E4 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* C32AC8 802415E8 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* C32ACC 802415EC 03E00008 */ jr $ra
|
||||
/* C32AD0 802415F0 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -141,7 +141,7 @@ glabel func_802416B4_C32B94
|
||||
/* C32D9C 802418BC 00000000 */ nop
|
||||
/* C32DA0 802418C0 0280202D */ daddu $a0, $s4, $zero
|
||||
/* C32DA4 802418C4 0260282D */ daddu $a1, $s3, $zero
|
||||
/* C32DA8 802418C8 0C0903C8 */ jal func_80240F20_C32400
|
||||
/* C32DA8 802418C8 0C0903C8 */ jal UnkNpcAIFunc1
|
||||
/* C32DAC 802418CC 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* C32DB0 802418D0 0280202D */ daddu $a0, $s4, $zero
|
||||
/* C32DB4 802418D4 0260282D */ daddu $a1, $s3, $zero
|
||||
@ -157,11 +157,11 @@ glabel func_802416B4_C32B94
|
||||
/* C32DDC 802418FC 00000000 */ nop
|
||||
/* C32DE0 80241900 0280202D */ daddu $a0, $s4, $zero
|
||||
/* C32DE4 80241904 0260282D */ daddu $a1, $s3, $zero
|
||||
/* C32DE8 80241908 0C090494 */ jal func_80241250_C32730
|
||||
/* C32DE8 80241908 0C090494 */ jal NpcJumpFunc2
|
||||
/* C32DEC 8024190C 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* C32DF0 80241910 0280202D */ daddu $a0, $s4, $zero
|
||||
/* C32DF4 80241914 0260282D */ daddu $a1, $s3, $zero
|
||||
/* C32DF8 80241918 0C0904B1 */ jal func_802412C4_C327A4
|
||||
/* C32DF8 80241918 0C0904B1 */ jal NpcJumpFunc
|
||||
/* C32DFC 8024191C 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* C32E00 80241920 08090662 */ j .L80241988
|
||||
/* C32E04 80241924 00000000 */ nop
|
||||
@ -177,7 +177,7 @@ glabel func_802416B4_C32B94
|
||||
/* C32E2C 8024194C 00000000 */ nop
|
||||
/* C32E30 80241950 0280202D */ daddu $a0, $s4, $zero
|
||||
/* C32E34 80241954 0260282D */ daddu $a1, $s3, $zero
|
||||
/* C32E38 80241958 0C090563 */ jal func_8024158C_C32A6C
|
||||
/* C32E38 80241958 0C090563 */ jal UnkNpcDurationFlagFunc
|
||||
/* C32E3C 8024195C 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* C32E40 80241960 08090662 */ j .L80241988
|
||||
/* C32E44 80241964 00000000 */ nop
|
||||
|
@ -117,7 +117,7 @@ glabel func_802419B0_C32E90
|
||||
/* C33038 80241B58 00000000 */ nop
|
||||
/* C3303C 80241B5C 0240202D */ daddu $a0, $s2, $zero
|
||||
/* C33040 80241B60 0260282D */ daddu $a1, $s3, $zero
|
||||
/* C33044 80241B64 0C0903C8 */ jal func_80240F20_C32400
|
||||
/* C33044 80241B64 0C0903C8 */ jal UnkNpcAIFunc1
|
||||
/* C33048 80241B68 0280302D */ daddu $a2, $s4, $zero
|
||||
/* C3304C 80241B6C 0240202D */ daddu $a0, $s2, $zero
|
||||
/* C33050 80241B70 0260282D */ daddu $a1, $s3, $zero
|
||||
@ -133,11 +133,11 @@ glabel func_802419B0_C32E90
|
||||
/* C33078 80241B98 00000000 */ nop
|
||||
/* C3307C 80241B9C 0240202D */ daddu $a0, $s2, $zero
|
||||
/* C33080 80241BA0 0260282D */ daddu $a1, $s3, $zero
|
||||
/* C33084 80241BA4 0C090494 */ jal func_80241250_C32730
|
||||
/* C33084 80241BA4 0C090494 */ jal NpcJumpFunc2
|
||||
/* C33088 80241BA8 0280302D */ daddu $a2, $s4, $zero
|
||||
/* C3308C 80241BAC 0240202D */ daddu $a0, $s2, $zero
|
||||
/* C33090 80241BB0 0260282D */ daddu $a1, $s3, $zero
|
||||
/* C33094 80241BB4 0C0904B1 */ jal func_802412C4_C327A4
|
||||
/* C33094 80241BB4 0C0904B1 */ jal NpcJumpFunc
|
||||
/* C33098 80241BB8 0280302D */ daddu $a2, $s4, $zero
|
||||
/* C3309C 80241BBC 08090715 */ j .L80241C54
|
||||
/* C330A0 80241BC0 00000000 */ nop
|
||||
@ -153,25 +153,25 @@ glabel func_802419B0_C32E90
|
||||
/* C330C8 80241BE8 00000000 */ nop
|
||||
/* C330CC 80241BEC 0240202D */ daddu $a0, $s2, $zero
|
||||
/* C330D0 80241BF0 0260282D */ daddu $a1, $s3, $zero
|
||||
/* C330D4 80241BF4 0C090563 */ jal func_8024158C_C32A6C
|
||||
/* C330D4 80241BF4 0C090563 */ jal UnkNpcDurationFlagFunc
|
||||
/* C330D8 80241BF8 0280302D */ daddu $a2, $s4, $zero
|
||||
/* C330DC 80241BFC 08090715 */ j .L80241C54
|
||||
/* C330E0 80241C00 00000000 */ nop
|
||||
/* C330E4 80241C04 0C090094 */ jal func_80240250_C31730
|
||||
/* C330E4 80241C04 0C090094 */ jal UnkNpcAIFunc6
|
||||
/* C330E8 80241C08 0240202D */ daddu $a0, $s2, $zero
|
||||
/* C330EC 80241C0C 0C0900AF */ jal func_802402BC_C3179C
|
||||
/* C330EC 80241C0C 0C0900AF */ jal UnkNpcAIFunc7
|
||||
/* C330F0 80241C10 0240202D */ daddu $a0, $s2, $zero
|
||||
/* C330F4 80241C14 8E430070 */ lw $v1, 0x70($s2)
|
||||
/* C330F8 80241C18 24020020 */ addiu $v0, $zero, 0x20
|
||||
/* C330FC 80241C1C 1462000D */ bne $v1, $v0, .L80241C54
|
||||
/* C33100 80241C20 00000000 */ nop
|
||||
/* C33104 80241C24 0C0900CB */ jal func_8024032C_C3180C
|
||||
/* C33104 80241C24 0C0900CB */ jal UnkNpcAIFunc8
|
||||
/* C33108 80241C28 0240202D */ daddu $a0, $s2, $zero
|
||||
/* C3310C 80241C2C 8E430070 */ lw $v1, 0x70($s2)
|
||||
/* C33110 80241C30 24020021 */ addiu $v0, $zero, 0x21
|
||||
/* C33114 80241C34 14620007 */ bne $v1, $v0, .L80241C54
|
||||
/* C33118 80241C38 00000000 */ nop
|
||||
/* C3311C 80241C3C 0C090101 */ jal func_80240404_C318E4
|
||||
/* C3311C 80241C3C 0C090101 */ jal UnkNpcAIFunc5
|
||||
/* C33120 80241C40 0240202D */ daddu $a0, $s2, $zero
|
||||
/* C33124 80241C44 08090715 */ j .L80241C54
|
||||
/* C33128 80241C48 00000000 */ nop
|
||||
|
@ -168,23 +168,23 @@ glabel func_80242480_C33960
|
||||
/* C33BD4 802426F4 24020003 */ addiu $v0, $zero, 3
|
||||
/* C33BD8 802426F8 080909EA */ j .L802427A8
|
||||
/* C33BDC 802426FC AE420070 */ sw $v0, 0x70($s2)
|
||||
/* C33BE0 80242700 0C090094 */ jal func_80240250_C31730
|
||||
/* C33BE0 80242700 0C090094 */ jal UnkNpcAIFunc6
|
||||
/* C33BE4 80242704 0240202D */ daddu $a0, $s2, $zero
|
||||
/* C33BE8 80242708 8E430070 */ lw $v1, 0x70($s2)
|
||||
/* C33BEC 8024270C 2402001F */ addiu $v0, $zero, 0x1f
|
||||
/* C33BF0 80242710 14620025 */ bne $v1, $v0, .L802427A8
|
||||
/* C33BF4 80242714 00000000 */ nop
|
||||
/* C33BF8 80242718 0C0900AF */ jal func_802402BC_C3179C
|
||||
/* C33BF8 80242718 0C0900AF */ jal UnkNpcAIFunc7
|
||||
/* C33BFC 8024271C 0240202D */ daddu $a0, $s2, $zero
|
||||
/* C33C00 80242720 8E430070 */ lw $v1, 0x70($s2)
|
||||
/* C33C04 80242724 24020020 */ addiu $v0, $zero, 0x20
|
||||
/* C33C08 80242728 1462001F */ bne $v1, $v0, .L802427A8
|
||||
/* C33C0C 8024272C 00000000 */ nop
|
||||
/* C33C10 80242730 0C0900CB */ jal func_8024032C_C3180C
|
||||
/* C33C10 80242730 0C0900CB */ jal UnkNpcAIFunc8
|
||||
/* C33C14 80242734 0240202D */ daddu $a0, $s2, $zero
|
||||
/* C33C18 80242738 080909EA */ j .L802427A8
|
||||
/* C33C1C 8024273C 00000000 */ nop
|
||||
/* C33C20 80242740 0C090101 */ jal func_80240404_C318E4
|
||||
/* C33C20 80242740 0C090101 */ jal UnkNpcAIFunc5
|
||||
/* C33C24 80242744 0240202D */ daddu $a0, $s2, $zero
|
||||
/* C33C28 80242748 080909EA */ j .L802427A8
|
||||
/* C33C2C 8024274C 00000000 */ nop
|
||||
|
@ -1,52 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802407D8_C36D08
|
||||
/* C36D08 802407D8 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* C36D0C 802407DC AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* C36D10 802407E0 0080982D */ daddu $s3, $a0, $zero
|
||||
/* C36D14 802407E4 AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* C36D18 802407E8 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* C36D1C 802407EC AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* C36D20 802407F0 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* C36D24 802407F4 8E720148 */ lw $s2, 0x148($s3)
|
||||
/* C36D28 802407F8 86440008 */ lh $a0, 8($s2)
|
||||
/* C36D2C 802407FC 0C00EABB */ jal get_npc_unsafe
|
||||
/* C36D30 80240800 00A0882D */ daddu $s1, $a1, $zero
|
||||
/* C36D34 80240804 8E240008 */ lw $a0, 8($s1)
|
||||
/* C36D38 80240808 0040802D */ daddu $s0, $v0, $zero
|
||||
/* C36D3C 8024080C 00041FC2 */ srl $v1, $a0, 0x1f
|
||||
/* C36D40 80240810 00832021 */ addu $a0, $a0, $v1
|
||||
/* C36D44 80240814 00042043 */ sra $a0, $a0, 1
|
||||
/* C36D48 80240818 0C00A67F */ jal rand_int
|
||||
/* C36D4C 8024081C 24840001 */ addiu $a0, $a0, 1
|
||||
/* C36D50 80240820 8E230008 */ lw $v1, 8($s1)
|
||||
/* C36D54 80240824 240400B4 */ addiu $a0, $zero, 0xb4
|
||||
/* C36D58 80240828 00032FC2 */ srl $a1, $v1, 0x1f
|
||||
/* C36D5C 8024082C 00651821 */ addu $v1, $v1, $a1
|
||||
/* C36D60 80240830 00031843 */ sra $v1, $v1, 1
|
||||
/* C36D64 80240834 00621821 */ addu $v1, $v1, $v0
|
||||
/* C36D68 80240838 0C00A67F */ jal rand_int
|
||||
/* C36D6C 8024083C A603008E */ sh $v1, 0x8e($s0)
|
||||
/* C36D70 80240840 C60C000C */ lwc1 $f12, 0xc($s0)
|
||||
/* C36D74 80240844 44820000 */ mtc1 $v0, $f0
|
||||
/* C36D78 80240848 00000000 */ nop
|
||||
/* C36D7C 8024084C 46800020 */ cvt.s.w $f0, $f0
|
||||
/* C36D80 80240850 46006300 */ add.s $f12, $f12, $f0
|
||||
/* C36D84 80240854 3C0142B4 */ lui $at, 0x42b4
|
||||
/* C36D88 80240858 44810000 */ mtc1 $at, $f0
|
||||
/* C36D8C 8024085C 0C00A6C9 */ jal clamp_angle
|
||||
/* C36D90 80240860 46006301 */ sub.s $f12, $f12, $f0
|
||||
/* C36D94 80240864 E600000C */ swc1 $f0, 0xc($s0)
|
||||
/* C36D98 80240868 8E4200CC */ lw $v0, 0xcc($s2)
|
||||
/* C36D9C 8024086C 8C420000 */ lw $v0, ($v0)
|
||||
/* C36DA0 80240870 AE020028 */ sw $v0, 0x28($s0)
|
||||
/* C36DA4 80240874 24020003 */ addiu $v0, $zero, 3
|
||||
/* C36DA8 80240878 AE620070 */ sw $v0, 0x70($s3)
|
||||
/* C36DAC 8024087C 8FBF0020 */ lw $ra, 0x20($sp)
|
||||
/* C36DB0 80240880 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* C36DB4 80240884 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* C36DB8 80240888 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* C36DBC 8024088C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* C36DC0 80240890 03E00008 */ jr $ra
|
||||
/* C36DC4 80240894 27BD0028 */ addiu $sp, $sp, 0x28
|
@ -1,34 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80240BDC_C3710C
|
||||
/* C3710C 80240BDC 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* C37110 80240BE0 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* C37114 80240BE4 0080902D */ daddu $s2, $a0, $zero
|
||||
/* C37118 80240BE8 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* C3711C 80240BEC AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* C37120 80240BF0 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* C37124 80240BF4 8E510148 */ lw $s1, 0x148($s2)
|
||||
/* C37128 80240BF8 0C00EABB */ jal get_npc_unsafe
|
||||
/* C3712C 80240BFC 86240008 */ lh $a0, 8($s1)
|
||||
/* C37130 80240C00 0040802D */ daddu $s0, $v0, $zero
|
||||
/* C37134 80240C04 3C02800F */ lui $v0, %hi(gPlayerStatusPtr)
|
||||
/* C37138 80240C08 8C427B30 */ lw $v0, %lo(gPlayerStatusPtr)($v0)
|
||||
/* C3713C 80240C0C C60C0038 */ lwc1 $f12, 0x38($s0)
|
||||
/* C37140 80240C10 C60E0040 */ lwc1 $f14, 0x40($s0)
|
||||
/* C37144 80240C14 A600008E */ sh $zero, 0x8e($s0)
|
||||
/* C37148 80240C18 8C460028 */ lw $a2, 0x28($v0)
|
||||
/* C3714C 80240C1C 0C00A720 */ jal atan2
|
||||
/* C37150 80240C20 8C470030 */ lw $a3, 0x30($v0)
|
||||
/* C37154 80240C24 E600000C */ swc1 $f0, 0xc($s0)
|
||||
/* C37158 80240C28 8E2200CC */ lw $v0, 0xcc($s1)
|
||||
/* C3715C 80240C2C 8C420020 */ lw $v0, 0x20($v0)
|
||||
/* C37160 80240C30 AE020028 */ sw $v0, 0x28($s0)
|
||||
/* C37164 80240C34 2402000B */ addiu $v0, $zero, 0xb
|
||||
/* C37168 80240C38 AE420070 */ sw $v0, 0x70($s2)
|
||||
/* C3716C 80240C3C 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* C37170 80240C40 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* C37174 80240C44 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* C37178 80240C48 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* C3717C 80240C4C 03E00008 */ jr $ra
|
||||
/* C37180 80240C50 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -1,31 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80240DF4_C37324
|
||||
/* C37324 80240DF4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* C37328 80240DF8 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* C3732C 80240DFC 0080802D */ daddu $s0, $a0, $zero
|
||||
/* C37330 80240E00 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* C37334 80240E04 8E020148 */ lw $v0, 0x148($s0)
|
||||
/* C37338 80240E08 0C00EABB */ jal get_npc_unsafe
|
||||
/* C3733C 80240E0C 84440008 */ lh $a0, 8($v0)
|
||||
/* C37340 80240E10 0040202D */ daddu $a0, $v0, $zero
|
||||
/* C37344 80240E14 8482008E */ lh $v0, 0x8e($a0)
|
||||
/* C37348 80240E18 9483008E */ lhu $v1, 0x8e($a0)
|
||||
/* C3734C 80240E1C 18400005 */ blez $v0, .L80240E34
|
||||
/* C37350 80240E20 2462FFFF */ addiu $v0, $v1, -1
|
||||
/* C37354 80240E24 A482008E */ sh $v0, 0x8e($a0)
|
||||
/* C37358 80240E28 00021400 */ sll $v0, $v0, 0x10
|
||||
/* C3735C 80240E2C 1C400006 */ bgtz $v0, .L80240E48
|
||||
/* C37360 80240E30 00000000 */ nop
|
||||
.L80240E34:
|
||||
/* C37364 80240E34 8482008C */ lh $v0, 0x8c($a0)
|
||||
/* C37368 80240E38 14400003 */ bnez $v0, .L80240E48
|
||||
/* C3736C 80240E3C 2402000E */ addiu $v0, $zero, 0xe
|
||||
/* C37370 80240E40 A480008E */ sh $zero, 0x8e($a0)
|
||||
/* C37374 80240E44 AE020070 */ sw $v0, 0x70($s0)
|
||||
.L80240E48:
|
||||
/* C37378 80240E48 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* C3737C 80240E4C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* C37380 80240E50 03E00008 */ jr $ra
|
||||
/* C37384 80240E54 27BD0018 */ addiu $sp, $sp, 0x18
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user