mirror of
https://github.com/pmret/papermario.git
synced 2024-11-09 12:32:38 +01:00
big boy cleanup
This commit is contained in:
parent
5bf7732a4e
commit
a659c1aeb4
@ -546,7 +546,7 @@ glabel func_802BD758
|
||||
/* 318C8C 802BDF3C E6800020 */ swc1 $f0, 0x20($s4)
|
||||
/* 318C90 802BDF40 C6200040 */ lwc1 $f0, 0x40($s1)
|
||||
/* 318C94 802BDF44 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 318C98 802BDF48 0C0AF440 */ jal func_802BD100_317E50
|
||||
/* 318C98 802BDF48 0C0AF440 */ jal func_802BD100
|
||||
/* 318C9C 802BDF4C E6800024 */ swc1 $f0, 0x24($s4)
|
||||
/* 318CA0 802BDF50 24020001 */ addiu $v0, $zero, 1
|
||||
/* 318CA4 802BDF54 3C01802C */ lui $at, 0x802c
|
||||
|
@ -514,7 +514,7 @@ glabel func_802BD638
|
||||
/* 31BE10 802BDDF0 10400027 */ beqz $v0, .L802BDE90
|
||||
/* 31BE14 802BDDF4 34048000 */ ori $a0, $zero, 0x8000
|
||||
.L802BDDF8:
|
||||
/* 31BE18 802BDDF8 0C0AF440 */ jal func_802BD100_31B120
|
||||
/* 31BE18 802BDDF8 0C0AF440 */ jal func_802BD100
|
||||
/* 31BE1C 802BDDFC 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 31BE20 802BDE00 14400004 */ bnez $v0, .L802BDE14
|
||||
/* 31BE24 802BDE04 2404010C */ addiu $a0, $zero, 0x10c
|
||||
|
@ -34,7 +34,7 @@ glabel func_802BD2B4
|
||||
/* 31CE94 802BD324 24420001 */ addiu $v0, $v0, 1
|
||||
/* 31CE98 802BD328 16400026 */ bnez $s2, .L802BD3C4
|
||||
/* 31CE9C 802BD32C AE02030C */ sw $v0, 0x30c($s0)
|
||||
/* 31CEA0 802BD330 0C0AF440 */ jal func_802BD100_31CC70
|
||||
/* 31CEA0 802BD330 0C0AF440 */ jal func_802BD100
|
||||
/* 31CEA4 802BD334 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 31CEA8 802BD338 0C03B52E */ jal update_player_move_history
|
||||
/* 31CEAC 802BD33C 0220202D */ daddu $a0, $s1, $zero
|
||||
|
@ -13,7 +13,7 @@ glabel func_802BDD0C
|
||||
/* 31D89C 802BDD2C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 31D8A0 802BDD30 10A00011 */ beqz $a1, .L802BDD78
|
||||
/* 31D8A4 802BDD34 8C90014C */ lw $s0, 0x14c($a0)
|
||||
/* 31D8A8 802BDD38 0C0AF460 */ jal func_802BD180_31CC70
|
||||
/* 31D8A8 802BDD38 0C0AF460 */ jal func_802BD180
|
||||
/* 31D8AC 802BDD3C 00000000 */ nop
|
||||
/* 31D8B0 802BDD40 0C03BA65 */ jal func_800EE994
|
||||
/* 31D8B4 802BDD44 0200202D */ daddu $a0, $s0, $zero
|
||||
|
@ -28,7 +28,7 @@ glabel func_802BDD9C
|
||||
/* 31D964 802BDDF4 0C03BD17 */ jal clear_partner_move_history
|
||||
/* 31D968 802BDDF8 A0C20001 */ sb $v0, 1($a2)
|
||||
.L802BDDFC:
|
||||
/* 31D96C 802BDDFC 0C0AF460 */ jal func_802BD180_31CC70
|
||||
/* 31D96C 802BDDFC 0C0AF460 */ jal func_802BD180
|
||||
/* 31D970 802BDE00 00000000 */ nop
|
||||
/* 31D974 802BDE04 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 31D978 802BDE08 03E00008 */ jr $ra
|
||||
|
@ -27,7 +27,7 @@ glabel func_802BDE10
|
||||
/* 31D9D4 802BDE64 24630010 */ addiu $v1, $v1, 0x10
|
||||
/* 31D9D8 802BDE68 0C03ACC5 */ jal partner_use_ability
|
||||
/* 31D9DC 802BDE6C 00000000 */ nop
|
||||
/* 31D9E0 802BDE70 0C0AF440 */ jal func_802BD100_31CC70
|
||||
/* 31D9E0 802BDE70 0C0AF440 */ jal func_802BD100
|
||||
/* 31D9E4 802BDE74 0200202D */ daddu $a0, $s0, $zero
|
||||
.L802BDE78:
|
||||
/* 31D9E8 802BDE78 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
|
@ -34,12 +34,12 @@ glabel func_802BDE88
|
||||
/* 31DA64 802BDEF4 00000000 */ nop
|
||||
/* 31DA68 802BDEF8 0C03ADF3 */ jal partner_kill_ability_script
|
||||
/* 31DA6C 802BDEFC 00000000 */ nop
|
||||
/* 31DA70 802BDF00 0C0AF460 */ jal func_802BD180_31CC70
|
||||
/* 31DA70 802BDF00 0C0AF460 */ jal func_802BD180
|
||||
/* 31DA74 802BDF04 00000000 */ nop
|
||||
/* 31DA78 802BDF08 080AF7C6 */ j .L802BDF18
|
||||
/* 31DA7C 802BDF0C 00000000 */ nop
|
||||
.L802BDF10:
|
||||
/* 31DA80 802BDF10 0C0AF440 */ jal func_802BD100_31CC70
|
||||
/* 31DA80 802BDF10 0C0AF440 */ jal func_802BD100
|
||||
/* 31DA84 802BDF14 0240202D */ daddu $a0, $s2, $zero
|
||||
.L802BDF18:
|
||||
/* 31DA88 802BDF18 C6220088 */ lwc1 $f2, 0x88($s1)
|
||||
|
@ -591,7 +591,7 @@ glabel func_802BE3A4
|
||||
/* 31FA08 802BEC98 00431024 */ and $v0, $v0, $v1
|
||||
/* 31FA0C 802BEC9C 14400003 */ bnez $v0, .L802BECAC
|
||||
/* 31FA10 802BECA0 00000000 */ nop
|
||||
/* 31FA14 802BECA4 0C0AF440 */ jal func_802BD100_31DE70
|
||||
/* 31FA14 802BECA4 0C0AF440 */ jal func_802BD100
|
||||
/* 31FA18 802BECA8 00000000 */ nop
|
||||
.L802BECAC:
|
||||
/* 31FA1C 802BECAC 3C06802C */ lui $a2, 0x802c
|
||||
|
@ -145,7 +145,7 @@ glabel func_802BFAB8
|
||||
/* 320A40 802BFCD0 8E26000C */ lw $a2, 0xc($s1)
|
||||
/* 320A44 802BFCD4 0C00EA95 */ jal npc_move_heading
|
||||
/* 320A48 802BFCD8 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 320A4C 802BFCDC 0C0AF440 */ jal func_802BD100_31DE70
|
||||
/* 320A4C 802BFCDC 0C0AF440 */ jal func_802BD100
|
||||
/* 320A50 802BFCE0 00000000 */ nop
|
||||
/* 320A54 802BFCE4 8E620074 */ lw $v0, 0x74($s3)
|
||||
/* 320A58 802BFCE8 30420003 */ andi $v0, $v0, 3
|
||||
|
@ -26,8 +26,8 @@ glabel func_8013A37C
|
||||
/* D0ACC 8013A3CC 2484F800 */ addiu $a0, $a0, -0x800
|
||||
/* D0AD0 8013A3D0 0C00A41B */ jal _heap_malloc
|
||||
/* D0AD4 8013A3D4 24052B98 */ addiu $a1, $zero, 0x2b98
|
||||
/* D0AD8 8013A3D8 3C038015 */ lui $v1, 0x8015
|
||||
/* D0ADC 8013A3DC 24636954 */ addiu $v1, $v1, 0x6954
|
||||
/* D0AD8 8013A3D8 3C038015 */ lui $v1, %hi(D_80156954)
|
||||
/* D0ADC 8013A3DC 24636954 */ addiu $v1, $v1, %lo(D_80156954)
|
||||
/* D0AE0 8013A3E0 AC620000 */ sw $v0, ($v1)
|
||||
/* D0AE4 8013A3E4 0000882D */ daddu $s1, $zero, $zero
|
||||
/* D0AE8 8013A3E8 0060902D */ daddu $s2, $v1, $zero
|
||||
|
@ -6,8 +6,8 @@ glabel func_8013A4D0
|
||||
/* D0BD4 8013A4D4 8C4241F4 */ lw $v0, 0x41f4($v0)
|
||||
/* D0BD8 8013A4D8 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* D0BDC 8013A4DC AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* D0BE0 8013A4E0 3C108015 */ lui $s0, 0x8015
|
||||
/* D0BE4 8013A4E4 26106954 */ addiu $s0, $s0, 0x6954
|
||||
/* D0BE0 8013A4E0 3C108015 */ lui $s0, %hi(D_80156954)
|
||||
/* D0BE4 8013A4E4 26106954 */ addiu $s0, $s0, %lo(D_80156954)
|
||||
/* D0BE8 8013A4E8 AFBF0024 */ sw $ra, 0x24($sp)
|
||||
/* D0BEC 8013A4EC AFB40020 */ sw $s4, 0x20($sp)
|
||||
/* D0BF0 8013A4F0 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
@ -31,8 +31,8 @@ glabel func_8013A4D0
|
||||
/* D0C38 8013A538 00511025 */ or $v0, $v0, $s1
|
||||
/* D0C3C 8013A53C AC620014 */ sw $v0, 0x14($v1)
|
||||
.L8013A540:
|
||||
/* D0C40 8013A540 3C028015 */ lui $v0, 0x8015
|
||||
/* D0C44 8013A544 8C426954 */ lw $v0, 0x6954($v0)
|
||||
/* D0C40 8013A540 3C028015 */ lui $v0, %hi(D_80156954)
|
||||
/* D0C44 8013A544 8C426954 */ lw $v0, %lo(D_80156954)($v0)
|
||||
/* D0C48 8013A548 02022021 */ addu $a0, $s0, $v0
|
||||
/* D0C4C 8013A54C 8C820014 */ lw $v0, 0x14($a0)
|
||||
/* D0C50 8013A550 30420001 */ andi $v0, $v0, 1
|
||||
@ -48,8 +48,8 @@ glabel func_8013A4D0
|
||||
/* D0C74 8013A574 1440FFF2 */ bnez $v0, .L8013A540
|
||||
/* D0C78 8013A578 2610007C */ addiu $s0, $s0, 0x7c
|
||||
/* D0C7C 8013A57C 24110001 */ addiu $s1, $zero, 1
|
||||
/* D0C80 8013A580 3C128015 */ lui $s2, 0x8015
|
||||
/* D0C84 8013A584 26526954 */ addiu $s2, $s2, 0x6954
|
||||
/* D0C80 8013A580 3C128015 */ lui $s2, %hi(D_80156954)
|
||||
/* D0C84 8013A584 26526954 */ addiu $s2, $s2, %lo(D_80156954)
|
||||
/* D0C88 8013A588 2414000B */ addiu $s4, $zero, 0xb
|
||||
/* D0C8C 8013A58C 2413000C */ addiu $s3, $zero, 0xc
|
||||
/* D0C90 8013A590 2410007C */ addiu $s0, $zero, 0x7c
|
||||
|
@ -2,8 +2,8 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_8013A704
|
||||
/* D0E04 8013A704 3C028015 */ lui $v0, 0x8015
|
||||
/* D0E08 8013A708 8C426954 */ lw $v0, 0x6954($v0)
|
||||
/* D0E04 8013A704 3C028015 */ lui $v0, %hi(D_80156954)
|
||||
/* D0E08 8013A708 8C426954 */ lw $v0, %lo(D_80156954)($v0)
|
||||
/* D0E0C 8013A70C 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* D0E10 8013A710 AFB60028 */ sw $s6, 0x28($sp)
|
||||
/* D0E14 8013A714 0080B02D */ daddu $s6, $a0, $zero
|
||||
@ -42,12 +42,12 @@ glabel func_8013A704
|
||||
/* D0E88 8013A788 02A0902D */ daddu $s2, $s5, $zero
|
||||
/* D0E8C 8013A78C 2404FFFF */ addiu $a0, $zero, -1
|
||||
/* D0E90 8013A790 24100001 */ addiu $s0, $zero, 1
|
||||
/* D0E94 8013A794 3C148015 */ lui $s4, 0x8015
|
||||
/* D0E98 8013A798 26946954 */ addiu $s4, $s4, 0x6954
|
||||
/* D0E94 8013A794 3C148015 */ lui $s4, %hi(D_80156954)
|
||||
/* D0E98 8013A798 26946954 */ addiu $s4, $s4, %lo(D_80156954)
|
||||
/* D0E9C 8013A79C 2411007C */ addiu $s1, $zero, 0x7c
|
||||
.L8013A7A0:
|
||||
/* D0EA0 8013A7A0 3C038015 */ lui $v1, 0x8015
|
||||
/* D0EA4 8013A7A4 8C636954 */ lw $v1, 0x6954($v1)
|
||||
/* D0EA0 8013A7A0 3C038015 */ lui $v1, %hi(D_80156954)
|
||||
/* D0EA4 8013A7A4 8C636954 */ lw $v1, %lo(D_80156954)($v1)
|
||||
/* D0EA8 8013A7A8 02231021 */ addu $v0, $s1, $v1
|
||||
/* D0EAC 8013A7AC 8C420014 */ lw $v0, 0x14($v0)
|
||||
/* D0EB0 8013A7B0 30420001 */ andi $v0, $v0, 1
|
||||
|
@ -12,8 +12,8 @@ glabel func_8013A888
|
||||
.L8013A8A4:
|
||||
/* D0FA4 8013A8A4 00041140 */ sll $v0, $a0, 5
|
||||
/* D0FA8 8013A8A8 00441023 */ subu $v0, $v0, $a0
|
||||
/* D0FAC 8013A8AC 3C038015 */ lui $v1, 0x8015
|
||||
/* D0FB0 8013A8B0 8C636954 */ lw $v1, 0x6954($v1)
|
||||
/* D0FAC 8013A8AC 3C038015 */ lui $v1, %hi(D_80156954)
|
||||
/* D0FB0 8013A8B0 8C636954 */ lw $v1, %lo(D_80156954)($v1)
|
||||
/* D0FB4 8013A8B4 00021080 */ sll $v0, $v0, 2
|
||||
/* D0FB8 8013A8B8 00431021 */ addu $v0, $v0, $v1
|
||||
/* D0FBC 8013A8BC 0C04EA15 */ jal func_8013A854
|
||||
|
@ -11,8 +11,8 @@ glabel func_8013A8E0
|
||||
/* D0FF4 8013A8F4 10400008 */ beqz $v0, .L8013A918
|
||||
/* D0FF8 8013A8F8 00041140 */ sll $v0, $a0, 5
|
||||
/* D0FFC 8013A8FC 00441023 */ subu $v0, $v0, $a0
|
||||
/* D1000 8013A900 3C038015 */ lui $v1, 0x8015
|
||||
/* D1004 8013A904 8C636954 */ lw $v1, 0x6954($v1)
|
||||
/* D1000 8013A900 3C038015 */ lui $v1, %hi(D_80156954)
|
||||
/* D1004 8013A904 8C636954 */ lw $v1, %lo(D_80156954)($v1)
|
||||
/* D1008 8013A908 00021080 */ sll $v0, $v0, 2
|
||||
/* D100C 8013A90C 00431021 */ addu $v0, $v0, $v1
|
||||
/* D1010 8013A910 03E00008 */ jr $ra
|
||||
|
@ -4,8 +4,8 @@
|
||||
glabel func_8013A920
|
||||
/* D1020 8013A920 00041940 */ sll $v1, $a0, 5
|
||||
/* D1024 8013A924 00641823 */ subu $v1, $v1, $a0
|
||||
/* D1028 8013A928 3C028015 */ lui $v0, 0x8015
|
||||
/* D102C 8013A92C 8C426954 */ lw $v0, 0x6954($v0)
|
||||
/* D1028 8013A928 3C028015 */ lui $v0, %hi(D_80156954)
|
||||
/* D102C 8013A92C 8C426954 */ lw $v0, %lo(D_80156954)($v0)
|
||||
/* D1030 8013A930 00031880 */ sll $v1, $v1, 2
|
||||
/* D1034 8013A934 03E00008 */ jr $ra
|
||||
/* D1038 8013A938 00431021 */ addu $v0, $v0, $v1
|
||||
|
@ -7,8 +7,8 @@ glabel func_8013AA9C
|
||||
/* D11A4 8013AAA4 00C0802D */ daddu $s0, $a2, $zero
|
||||
/* D11A8 8013AAA8 00041140 */ sll $v0, $a0, 5
|
||||
/* D11AC 8013AAAC 00441023 */ subu $v0, $v0, $a0
|
||||
/* D11B0 8013AAB0 3C038015 */ lui $v1, 0x8015
|
||||
/* D11B4 8013AAB4 8C636954 */ lw $v1, 0x6954($v1)
|
||||
/* D11B0 8013AAB0 3C038015 */ lui $v1, %hi(D_80156954)
|
||||
/* D11B4 8013AAB4 8C636954 */ lw $v1, %lo(D_80156954)($v1)
|
||||
/* D11B8 8013AAB8 8FA80030 */ lw $t0, 0x30($sp)
|
||||
/* D11BC 8013AABC 8FA60034 */ lw $a2, 0x34($sp)
|
||||
/* D11C0 8013AAC0 00021080 */ sll $v0, $v0, 2
|
||||
|
@ -4,8 +4,8 @@
|
||||
glabel func_8013AF20
|
||||
/* D1620 8013AF20 00041140 */ sll $v0, $a0, 5
|
||||
/* D1624 8013AF24 00441023 */ subu $v0, $v0, $a0
|
||||
/* D1628 8013AF28 3C038015 */ lui $v1, 0x8015
|
||||
/* D162C 8013AF2C 8C636954 */ lw $v1, 0x6954($v1)
|
||||
/* D1628 8013AF28 3C038015 */ lui $v1, %hi(D_80156954)
|
||||
/* D162C 8013AF2C 8C636954 */ lw $v1, %lo(D_80156954)($v1)
|
||||
/* D1630 8013AF30 00021080 */ sll $v0, $v0, 2
|
||||
/* D1634 8013AF34 00432021 */ addu $a0, $v0, $v1
|
||||
/* D1638 8013AF38 8C830014 */ lw $v1, 0x14($a0)
|
||||
|
@ -10,8 +10,8 @@ glabel func_8013AF70
|
||||
/* D1684 8013AF84 0000882D */ daddu $s1, $zero, $zero
|
||||
/* D1688 8013AF88 00081140 */ sll $v0, $t0, 5
|
||||
/* D168C 8013AF8C 00481023 */ subu $v0, $v0, $t0
|
||||
/* D1690 8013AF90 3C038015 */ lui $v1, 0x8015
|
||||
/* D1694 8013AF94 8C636954 */ lw $v1, 0x6954($v1)
|
||||
/* D1690 8013AF90 3C038015 */ lui $v1, %hi(D_80156954)
|
||||
/* D1694 8013AF94 8C636954 */ lw $v1, %lo(D_80156954)($v1)
|
||||
/* D1698 8013AF98 00021080 */ sll $v0, $v0, 2
|
||||
/* D169C 8013AF9C AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* D16A0 8013AFA0 AFB00010 */ sw $s0, 0x10($sp)
|
||||
|
@ -262,8 +262,8 @@ glabel func_8013CFA8
|
||||
/* D3A94 8013D394 30420002 */ andi $v0, $v0, 2
|
||||
/* D3A98 8013D398 1040005E */ beqz $v0, .L8013D514
|
||||
/* D3A9C 8013D39C 0180282D */ daddu $a1, $t4, $zero
|
||||
/* D3AA0 8013D3A0 3C028015 */ lui $v0, 0x8015
|
||||
/* D3AA4 8013D3A4 8C426954 */ lw $v0, 0x6954($v0)
|
||||
/* D3AA0 8013D3A0 3C028015 */ lui $v0, %hi(D_80156954)
|
||||
/* D3AA4 8013D3A4 8C426954 */ lw $v0, %lo(D_80156954)($v0)
|
||||
/* D3AA8 8013D3A8 90420000 */ lbu $v0, ($v0)
|
||||
/* D3AAC 8013D3AC 1040005A */ beqz $v0, .L8013D518
|
||||
/* D3AB0 8013D3B0 01E0302D */ daddu $a2, $t7, $zero
|
||||
@ -650,8 +650,8 @@ glabel func_8013CFA8
|
||||
/* D4044 8013D944 30420002 */ andi $v0, $v0, 2
|
||||
/* D4048 8013D948 10400035 */ beqz $v0, .L8013DA20
|
||||
/* D404C 8013D94C 3C050100 */ lui $a1, 0x100
|
||||
/* D4050 8013D950 3C028015 */ lui $v0, 0x8015
|
||||
/* D4054 8013D954 8C426954 */ lw $v0, 0x6954($v0)
|
||||
/* D4050 8013D950 3C028015 */ lui $v0, %hi(D_80156954)
|
||||
/* D4054 8013D954 8C426954 */ lw $v0, %lo(D_80156954)($v0)
|
||||
/* D4058 8013D958 90420000 */ lbu $v0, ($v0)
|
||||
/* D405C 8013D95C 10400031 */ beqz $v0, .L8013DA24
|
||||
/* D4060 8013D960 34A54008 */ ori $a1, $a1, 0x4008
|
||||
|
@ -102,8 +102,8 @@ glabel func_8013DAB4
|
||||
/* D432C 8013DC2C 30420001 */ andi $v0, $v0, 1
|
||||
/* D4330 8013DC30 504000E9 */ beql $v0, $zero, .L8013DFD8
|
||||
/* D4334 8013DC34 3C08070A */ lui $t0, 0x70a
|
||||
/* D4338 8013DC38 3C028015 */ lui $v0, 0x8015
|
||||
/* D433C 8013DC3C 8C426954 */ lw $v0, 0x6954($v0)
|
||||
/* D4338 8013DC38 3C028015 */ lui $v0, %hi(D_80156954)
|
||||
/* D433C 8013DC3C 8C426954 */ lw $v0, %lo(D_80156954)($v0)
|
||||
/* D4340 8013DC40 90420000 */ lbu $v0, ($v0)
|
||||
/* D4344 8013DC44 104000E3 */ beqz $v0, .L8013DFD4
|
||||
/* D4348 8013DC48 3C020018 */ lui $v0, 0x18
|
||||
|
@ -85,7 +85,7 @@ glabel func_80240C90_BDDE40
|
||||
/* BDDF70 80240DC0 10400007 */ beqz $v0, .L80240DE0
|
||||
/* BDDF74 80240DC4 0260202D */ daddu $a0, $s3, $zero
|
||||
/* BDDF78 80240DC8 0280282D */ daddu $a1, $s4, $zero
|
||||
/* BDDF7C 80240DCC 0C090000 */ jal func_80240000
|
||||
/* BDDF7C 80240DCC 0C090000 */ jal func_80240000_BDD1B0
|
||||
/* BDDF80 80240DD0 0200302D */ daddu $a2, $s0, $zero
|
||||
/* BDDF84 80240DD4 10400002 */ beqz $v0, .L80240DE0
|
||||
/* BDDF88 80240DD8 24020014 */ addiu $v0, $zero, 0x14
|
||||
@ -102,11 +102,11 @@ glabel func_80240C90_BDDE40
|
||||
/* BDDFB0 80240E00 00000000 */ nop
|
||||
/* BDDFB4 80240E04 0260202D */ daddu $a0, $s3, $zero
|
||||
/* BDDFB8 80240E08 0280282D */ daddu $a1, $s4, $zero
|
||||
/* BDDFBC 80240E0C 0C090058 */ jal func_80240160
|
||||
/* BDDFBC 80240E0C 0C090058 */ jal func_80240160_BDD310
|
||||
/* BDDFC0 80240E10 0200302D */ daddu $a2, $s0, $zero
|
||||
/* BDDFC4 80240E14 0260202D */ daddu $a0, $s3, $zero
|
||||
/* BDDFC8 80240E18 0280282D */ daddu $a1, $s4, $zero
|
||||
/* BDDFCC 80240E1C 0C090075 */ jal func_802401D4
|
||||
/* BDDFCC 80240E1C 0C090075 */ jal func_802401D4_BDD384
|
||||
/* BDDFD0 80240E20 0200302D */ daddu $a2, $s0, $zero
|
||||
/* BDDFD4 80240E24 8E630070 */ lw $v1, 0x70($s3)
|
||||
/* BDDFD8 80240E28 24020002 */ addiu $v0, $zero, 2
|
||||
@ -114,7 +114,7 @@ glabel func_80240C90_BDDE40
|
||||
/* BDDFE0 80240E30 0000102D */ daddu $v0, $zero, $zero
|
||||
/* BDDFE4 80240E34 0260202D */ daddu $a0, $s3, $zero
|
||||
/* BDDFE8 80240E38 0280282D */ daddu $a1, $s4, $zero
|
||||
/* BDDFEC 80240E3C 0C0900C1 */ jal func_80240304
|
||||
/* BDDFEC 80240E3C 0C0900C1 */ jal func_80240304_BDD4B4
|
||||
/* BDDFF0 80240E40 0200302D */ daddu $a2, $s0, $zero
|
||||
/* BDDFF4 80240E44 8E630070 */ lw $v1, 0x70($s3)
|
||||
/* BDDFF8 80240E48 24020003 */ addiu $v0, $zero, 3
|
||||
@ -122,7 +122,7 @@ glabel func_80240C90_BDDE40
|
||||
/* BDE000 80240E50 0000102D */ daddu $v0, $zero, $zero
|
||||
/* BDE004 80240E54 0260202D */ daddu $a0, $s3, $zero
|
||||
/* BDE008 80240E58 0280282D */ daddu $a1, $s4, $zero
|
||||
/* BDE00C 80240E5C 0C0900E8 */ jal func_802403A0
|
||||
/* BDE00C 80240E5C 0C0900E8 */ jal func_802403A0_BDD550
|
||||
/* BDE010 80240E60 0200302D */ daddu $a2, $s0, $zero
|
||||
/* BDE014 80240E64 8E630070 */ lw $v1, 0x70($s3)
|
||||
/* BDE018 80240E68 24020004 */ addiu $v0, $zero, 4
|
||||
@ -130,11 +130,11 @@ glabel func_80240C90_BDDE40
|
||||
/* BDE020 80240E70 0000102D */ daddu $v0, $zero, $zero
|
||||
/* BDE024 80240E74 0260202D */ daddu $a0, $s3, $zero
|
||||
/* BDE028 80240E78 0280282D */ daddu $a1, $s4, $zero
|
||||
/* BDE02C 80240E7C 0C09010A */ jal func_80240428
|
||||
/* BDE02C 80240E7C 0C09010A */ jal func_80240428_BDD5D8
|
||||
/* BDE030 80240E80 0200302D */ daddu $a2, $s0, $zero
|
||||
/* BDE034 80240E84 0260202D */ daddu $a0, $s3, $zero
|
||||
/* BDE038 80240E88 0280282D */ daddu $a1, $s4, $zero
|
||||
/* BDE03C 80240E8C 0C090134 */ jal func_802404D0
|
||||
/* BDE03C 80240E8C 0C090134 */ jal func_802404D0_BDD680
|
||||
/* BDE040 80240E90 0200302D */ daddu $a2, $s0, $zero
|
||||
/* BDE044 80240E94 080903EF */ j .L80240FBC
|
||||
/* BDE048 80240E98 0000102D */ daddu $v0, $zero, $zero
|
||||
@ -165,23 +165,23 @@ glabel func_80240C90_BDDE40
|
||||
/* BDE0AC 80240EFC AE620070 */ sw $v0, 0x70($s3)
|
||||
/* BDE0B0 80240F00 0260202D */ daddu $a0, $s3, $zero
|
||||
/* BDE0B4 80240F04 0280282D */ daddu $a1, $s4, $zero
|
||||
/* BDE0B8 80240F08 0C090191 */ jal func_80240644
|
||||
/* BDE0B8 80240F08 0C090191 */ jal func_80240644_BDD7F4
|
||||
/* BDE0BC 80240F0C 0200302D */ daddu $a2, $s0, $zero
|
||||
/* BDE0C0 80240F10 0260202D */ daddu $a0, $s3, $zero
|
||||
/* BDE0C4 80240F14 0280282D */ daddu $a1, $s4, $zero
|
||||
/* BDE0C8 80240F18 0C0901A5 */ jal func_80240694
|
||||
/* BDE0C8 80240F18 0C0901A5 */ jal func_80240694_BDD844
|
||||
/* BDE0CC 80240F1C 0200302D */ daddu $a2, $s0, $zero
|
||||
/* BDE0D0 80240F20 080903EF */ j .L80240FBC
|
||||
/* BDE0D4 80240F24 0000102D */ daddu $v0, $zero, $zero
|
||||
/* BDE0D8 80240F28 0260202D */ daddu $a0, $s3, $zero
|
||||
/* BDE0DC 80240F2C 0280282D */ daddu $a1, $s4, $zero
|
||||
/* BDE0E0 80240F30 0C09020D */ jal func_80240834
|
||||
/* BDE0E0 80240F30 0C09020D */ jal func_80240834_BDD9E4
|
||||
/* BDE0E4 80240F34 0200302D */ daddu $a2, $s0, $zero
|
||||
/* BDE0E8 80240F38 080903EF */ j .L80240FBC
|
||||
/* BDE0EC 80240F3C 0000102D */ daddu $v0, $zero, $zero
|
||||
/* BDE0F0 80240F40 0260202D */ daddu $a0, $s3, $zero
|
||||
/* BDE0F4 80240F44 0280282D */ daddu $a1, $s4, $zero
|
||||
/* BDE0F8 80240F48 0C090261 */ jal func_80240984
|
||||
/* BDE0F8 80240F48 0C090261 */ jal func_80240984_BDDB34
|
||||
/* BDE0FC 80240F4C 0200302D */ daddu $a2, $s0, $zero
|
||||
/* BDE100 80240F50 8E630070 */ lw $v1, 0x70($s3)
|
||||
/* BDE104 80240F54 24020029 */ addiu $v0, $zero, 0x29
|
||||
@ -189,17 +189,17 @@ glabel func_80240C90_BDDE40
|
||||
/* BDE10C 80240F5C 0000102D */ daddu $v0, $zero, $zero
|
||||
/* BDE110 80240F60 0260202D */ daddu $a0, $s3, $zero
|
||||
/* BDE114 80240F64 0280282D */ daddu $a1, $s4, $zero
|
||||
/* BDE118 80240F68 0C09028C */ jal func_80240A30
|
||||
/* BDE118 80240F68 0C09028C */ jal func_80240A30_BDDBE0
|
||||
/* BDE11C 80240F6C 0200302D */ daddu $a2, $s0, $zero
|
||||
/* BDE120 80240F70 080903EF */ j .L80240FBC
|
||||
/* BDE124 80240F74 0000102D */ daddu $v0, $zero, $zero
|
||||
/* BDE128 80240F78 0260202D */ daddu $a0, $s3, $zero
|
||||
/* BDE12C 80240F7C 0280282D */ daddu $a1, $s4, $zero
|
||||
/* BDE130 80240F80 0C0902DA */ jal func_80240B68
|
||||
/* BDE130 80240F80 0C0902DA */ jal func_80240B68_BDDD18
|
||||
/* BDE134 80240F84 0200302D */ daddu $a2, $s0, $zero
|
||||
/* BDE138 80240F88 0260202D */ daddu $a0, $s3, $zero
|
||||
/* BDE13C 80240F8C 0280282D */ daddu $a1, $s4, $zero
|
||||
/* BDE140 80240F90 0C0902F9 */ jal func_80240BE4
|
||||
/* BDE140 80240F90 0C0902F9 */ jal func_80240BE4_BDDD94
|
||||
/* BDE144 80240F94 0200302D */ daddu $a2, $s0, $zero
|
||||
/* BDE148 80240F98 8E630070 */ lw $v1, 0x70($s3)
|
||||
/* BDE14C 80240F9C 24020034 */ addiu $v0, $zero, 0x34
|
||||
@ -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
|
||||
/* BDE160 80240FB0 0C090313 */ jal func_80240C4C_BDDDFC
|
||||
/* BDE164 80240FB4 0200302D */ daddu $a2, $s0, $zero
|
||||
.L80240FB8:
|
||||
/* BDE168 80240FB8 0000102D */ daddu $v0, $zero, $zero
|
||||
|
@ -131,7 +131,7 @@ glabel func_80240B94_BDF924
|
||||
/* BDFB04 80240D74 00000000 */ nop
|
||||
/* BDFB08 80240D78 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BDFB0C 80240D7C 0260282D */ daddu $a1, $s3, $zero
|
||||
/* BDFB10 80240D80 0C090000 */ jal func_80240000
|
||||
/* BDFB10 80240D80 0C090000 */ jal func_80240000_BDED90
|
||||
/* BDFB14 80240D84 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* BDFB18 80240D88 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BDFB1C 80240D8C 0260282D */ daddu $a1, $s3, $zero
|
||||
@ -141,27 +141,27 @@ 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
|
||||
/* BDFB38 80240DA8 0C090100 */ jal func_80240400_BDF190
|
||||
/* BDFB3C 80240DAC 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* BDFB40 80240DB0 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BDFB44 80240DB4 0260282D */ daddu $a1, $s3, $zero
|
||||
/* BDFB48 80240DB8 0C090130 */ jal func_802404C0
|
||||
/* BDFB48 80240DB8 0C090130 */ jal func_802404C0_BDF250
|
||||
/* BDFB4C 80240DBC 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* BDFB50 80240DC0 0809039A */ j .L80240E68
|
||||
/* BDFB54 80240DC4 00000000 */ nop
|
||||
/* BDFB58 80240DC8 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BDFB5C 80240DCC 0260282D */ daddu $a1, $s3, $zero
|
||||
/* BDFB60 80240DD0 0C09019F */ jal func_8024067C
|
||||
/* BDFB60 80240DD0 0C09019F */ jal func_8024067C_BDF40C
|
||||
/* BDFB64 80240DD4 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* BDFB68 80240DD8 0809039A */ j .L80240E68
|
||||
/* BDFB6C 80240DDC 00000000 */ nop
|
||||
/* BDFB70 80240DE0 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BDFB74 80240DE4 0260282D */ daddu $a1, $s3, $zero
|
||||
/* BDFB78 80240DE8 0C0901CC */ jal func_80240730
|
||||
/* BDFB78 80240DE8 0C0901CC */ jal func_80240730_BDF4C0
|
||||
/* 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
|
||||
/* BDFB88 80240DF8 0C0901E9 */ jal func_802407A4_BDF534
|
||||
/* BDFB8C 80240DFC 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* BDFB90 80240E00 0809039A */ j .L80240E68
|
||||
/* BDFB94 80240E04 00000000 */ nop
|
||||
@ -171,19 +171,19 @@ glabel func_80240B94_BDF924
|
||||
/* BDFBA4 80240E14 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* BDFBA8 80240E18 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BDFBAC 80240E1C 0260282D */ daddu $a1, $s3, $zero
|
||||
/* BDFBB0 80240E20 0C090253 */ jal func_8024094C
|
||||
/* BDFBB0 80240E20 0C090253 */ jal func_8024094C_BDF6DC
|
||||
/* BDFBB4 80240E24 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* BDFBB8 80240E28 0809039A */ j .L80240E68
|
||||
/* BDFBBC 80240E2C 00000000 */ nop
|
||||
/* BDFBC0 80240E30 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BDFBC4 80240E34 0260282D */ daddu $a1, $s3, $zero
|
||||
/* BDFBC8 80240E38 0C09029B */ jal func_80240A6C
|
||||
/* BDFBC8 80240E38 0C09029B */ jal func_80240A6C_BDF7FC
|
||||
/* BDFBCC 80240E3C 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* BDFBD0 80240E40 0809039A */ j .L80240E68
|
||||
/* BDFBD4 80240E44 00000000 */ nop
|
||||
/* BDFBD8 80240E48 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BDFBDC 80240E4C 0260282D */ daddu $a1, $s3, $zero
|
||||
/* BDFBE0 80240E50 0C0902B5 */ jal func_80240AD4
|
||||
/* BDFBE0 80240E50 0C0902B5 */ jal func_80240AD4_BDF864
|
||||
/* BDFBE4 80240E54 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* BDFBE8 80240E58 0809039A */ j .L80240E68
|
||||
/* BDFBEC 80240E5C 00000000 */ nop
|
||||
|
@ -1,59 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80241068
|
||||
/* BDFDF8 80241068 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* BDFDFC 8024106C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* BDFE00 80241070 0080882D */ daddu $s1, $a0, $zero
|
||||
/* BDFE04 80241074 AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* BDFE08 80241078 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* BDFE0C 8024107C AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* BDFE10 80241080 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* BDFE14 80241084 8E320148 */ lw $s2, 0x148($s1)
|
||||
/* BDFE18 80241088 86440008 */ lh $a0, 8($s2)
|
||||
/* BDFE1C 8024108C 0C00EABB */ jal get_npc_unsafe
|
||||
/* BDFE20 80241090 00A0982D */ daddu $s3, $a1, $zero
|
||||
/* BDFE24 80241094 0040802D */ daddu $s0, $v0, $zero
|
||||
/* BDFE28 80241098 9602008E */ lhu $v0, 0x8e($s0)
|
||||
/* BDFE2C 8024109C 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* BDFE30 802410A0 A602008E */ sh $v0, 0x8e($s0)
|
||||
/* BDFE34 802410A4 00021400 */ sll $v0, $v0, 0x10
|
||||
/* BDFE38 802410A8 0441001D */ bgez $v0, .L80241120
|
||||
/* BDFE3C 802410AC 00000000 */ nop
|
||||
/* BDFE40 802410B0 8E220074 */ lw $v0, 0x74($s1)
|
||||
/* BDFE44 802410B4 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* BDFE48 802410B8 04400014 */ bltz $v0, .L8024110C
|
||||
/* BDFE4C 802410BC AE220074 */ sw $v0, 0x74($s1)
|
||||
/* BDFE50 802410C0 C600000C */ lwc1 $f0, 0xc($s0)
|
||||
/* BDFE54 802410C4 3C014334 */ lui $at, 0x4334
|
||||
/* BDFE58 802410C8 44816000 */ mtc1 $at, $f12
|
||||
/* BDFE5C 802410CC 0C00A6C9 */ jal clamp_angle
|
||||
/* BDFE60 802410D0 460C0300 */ add.s $f12, $f0, $f12
|
||||
/* BDFE64 802410D4 E600000C */ swc1 $f0, 0xc($s0)
|
||||
/* BDFE68 802410D8 8E640008 */ lw $a0, 8($s3)
|
||||
/* BDFE6C 802410DC 000417C2 */ srl $v0, $a0, 0x1f
|
||||
/* BDFE70 802410E0 00822021 */ addu $a0, $a0, $v0
|
||||
/* BDFE74 802410E4 00042043 */ sra $a0, $a0, 1
|
||||
/* BDFE78 802410E8 0C00A67F */ jal rand_int
|
||||
/* BDFE7C 802410EC 24840001 */ addiu $a0, $a0, 1
|
||||
/* BDFE80 802410F0 8E630008 */ lw $v1, 8($s3)
|
||||
/* BDFE84 802410F4 000327C2 */ srl $a0, $v1, 0x1f
|
||||
/* BDFE88 802410F8 00641821 */ addu $v1, $v1, $a0
|
||||
/* BDFE8C 802410FC 00031843 */ sra $v1, $v1, 1
|
||||
/* BDFE90 80241100 00621821 */ addu $v1, $v1, $v0
|
||||
/* BDFE94 80241104 08090448 */ j .L80241120
|
||||
/* BDFE98 80241108 A603008E */ sh $v1, 0x8e($s0)
|
||||
.L8024110C:
|
||||
/* BDFE9C 8024110C 24020004 */ addiu $v0, $zero, 4
|
||||
/* BDFEA0 80241110 AE220070 */ sw $v0, 0x70($s1)
|
||||
/* BDFEA4 80241114 8E4200CC */ lw $v0, 0xcc($s2)
|
||||
/* BDFEA8 80241118 8C420000 */ lw $v0, ($v0)
|
||||
/* BDFEAC 8024111C AE020028 */ sw $v0, 0x28($s0)
|
||||
.L80241120:
|
||||
/* BDFEB0 80241120 8FBF0020 */ lw $ra, 0x20($sp)
|
||||
/* BDFEB4 80241124 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* BDFEB8 80241128 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* BDFEBC 8024112C 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* BDFEC0 80241130 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* BDFEC4 80241134 03E00008 */ jr $ra
|
||||
/* BDFEC8 80241138 27BD0028 */ addiu $sp, $sp, 0x28
|
@ -0,0 +1,59 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80241068_BDFDF8
|
||||
/* BDFDF8 80241068 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* BDFDFC 8024106C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* BDFE00 80241070 0080882D */ daddu $s1, $a0, $zero
|
||||
/* BDFE04 80241074 AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* BDFE08 80241078 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* BDFE0C 8024107C AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* BDFE10 80241080 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* BDFE14 80241084 8E320148 */ lw $s2, 0x148($s1)
|
||||
/* BDFE18 80241088 86440008 */ lh $a0, 8($s2)
|
||||
/* BDFE1C 8024108C 0C00EABB */ jal get_npc_unsafe
|
||||
/* BDFE20 80241090 00A0982D */ daddu $s3, $a1, $zero
|
||||
/* BDFE24 80241094 0040802D */ daddu $s0, $v0, $zero
|
||||
/* BDFE28 80241098 9602008E */ lhu $v0, 0x8e($s0)
|
||||
/* BDFE2C 8024109C 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* BDFE30 802410A0 A602008E */ sh $v0, 0x8e($s0)
|
||||
/* BDFE34 802410A4 00021400 */ sll $v0, $v0, 0x10
|
||||
/* BDFE38 802410A8 0441001D */ bgez $v0, .L80241120
|
||||
/* BDFE3C 802410AC 00000000 */ nop
|
||||
/* BDFE40 802410B0 8E220074 */ lw $v0, 0x74($s1)
|
||||
/* BDFE44 802410B4 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* BDFE48 802410B8 04400014 */ bltz $v0, .L8024110C
|
||||
/* BDFE4C 802410BC AE220074 */ sw $v0, 0x74($s1)
|
||||
/* BDFE50 802410C0 C600000C */ lwc1 $f0, 0xc($s0)
|
||||
/* BDFE54 802410C4 3C014334 */ lui $at, 0x4334
|
||||
/* BDFE58 802410C8 44816000 */ mtc1 $at, $f12
|
||||
/* BDFE5C 802410CC 0C00A6C9 */ jal clamp_angle
|
||||
/* BDFE60 802410D0 460C0300 */ add.s $f12, $f0, $f12
|
||||
/* BDFE64 802410D4 E600000C */ swc1 $f0, 0xc($s0)
|
||||
/* BDFE68 802410D8 8E640008 */ lw $a0, 8($s3)
|
||||
/* BDFE6C 802410DC 000417C2 */ srl $v0, $a0, 0x1f
|
||||
/* BDFE70 802410E0 00822021 */ addu $a0, $a0, $v0
|
||||
/* BDFE74 802410E4 00042043 */ sra $a0, $a0, 1
|
||||
/* BDFE78 802410E8 0C00A67F */ jal rand_int
|
||||
/* BDFE7C 802410EC 24840001 */ addiu $a0, $a0, 1
|
||||
/* BDFE80 802410F0 8E630008 */ lw $v1, 8($s3)
|
||||
/* BDFE84 802410F4 000327C2 */ srl $a0, $v1, 0x1f
|
||||
/* BDFE88 802410F8 00641821 */ addu $v1, $v1, $a0
|
||||
/* BDFE8C 802410FC 00031843 */ sra $v1, $v1, 1
|
||||
/* BDFE90 80241100 00621821 */ addu $v1, $v1, $v0
|
||||
/* BDFE94 80241104 08090448 */ j .L80241120
|
||||
/* BDFE98 80241108 A603008E */ sh $v1, 0x8e($s0)
|
||||
.L8024110C:
|
||||
/* BDFE9C 8024110C 24020004 */ addiu $v0, $zero, 4
|
||||
/* BDFEA0 80241110 AE220070 */ sw $v0, 0x70($s1)
|
||||
/* BDFEA4 80241114 8E4200CC */ lw $v0, 0xcc($s2)
|
||||
/* BDFEA8 80241118 8C420000 */ lw $v0, ($v0)
|
||||
/* BDFEAC 8024111C AE020028 */ sw $v0, 0x28($s0)
|
||||
.L80241120:
|
||||
/* BDFEB0 80241120 8FBF0020 */ lw $ra, 0x20($sp)
|
||||
/* BDFEB4 80241124 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* BDFEB8 80241128 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* BDFEBC 8024112C 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* BDFEC0 80241130 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* BDFEC4 80241134 03E00008 */ jr $ra
|
||||
/* BDFEC8 80241138 27BD0028 */ addiu $sp, $sp, 0x28
|
@ -61,27 +61,27 @@ glabel func_8024113C_BDFECC
|
||||
/* BDFFA8 80241218 00000000 */ nop
|
||||
/* BDFFAC 8024121C 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BDFFB0 80241220 0200282D */ daddu $a1, $s0, $zero
|
||||
/* BDFFB4 80241224 0C090000 */ jal func_80240000
|
||||
/* BDFFB4 80241224 0C090000 */ jal func_80240000_BDED90
|
||||
/* BDFFB8 80241228 0240302D */ daddu $a2, $s2, $zero
|
||||
/* BDFFBC 8024122C 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BDFFC0 80241230 0200282D */ daddu $a1, $s0, $zero
|
||||
/* BDFFC4 80241234 0C0903A4 */ jal func_80240E90
|
||||
/* BDFFC4 80241234 0C0903A4 */ jal func_80240E90_BDFC20
|
||||
/* BDFFC8 80241238 0240302D */ daddu $a2, $s2, $zero
|
||||
/* BDFFCC 8024123C 0809049F */ j .L8024127C
|
||||
/* BDFFD0 80241240 00000000 */ nop
|
||||
/* BDFFD4 80241244 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BDFFD8 80241248 0200282D */ daddu $a1, $s0, $zero
|
||||
/* BDFFDC 8024124C 0C090100 */ jal func_80240400
|
||||
/* BDFFDC 8024124C 0C090100 */ jal func_80240400_BDF190
|
||||
/* BDFFE0 80241250 0240302D */ daddu $a2, $s2, $zero
|
||||
/* BDFFE4 80241254 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BDFFE8 80241258 0200282D */ daddu $a1, $s0, $zero
|
||||
/* BDFFEC 8024125C 0C09041A */ jal func_80241068
|
||||
/* BDFFEC 8024125C 0C09041A */ jal func_80241068_BDFDF8
|
||||
/* BDFFF0 80241260 0240302D */ daddu $a2, $s2, $zero
|
||||
/* BDFFF4 80241264 0809049F */ j .L8024127C
|
||||
/* BDFFF8 80241268 00000000 */ nop
|
||||
/* BDFFFC 8024126C 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BE0000 80241270 0200282D */ daddu $a1, $s0, $zero
|
||||
/* BE0004 80241274 0C09019F */ jal func_8024067C
|
||||
/* BE0004 80241274 0C09019F */ jal func_8024067C_BDF40C
|
||||
/* BE0008 80241278 0240302D */ daddu $a2, $s2, $zero
|
||||
.L8024127C:
|
||||
/* BE000C 8024127C C6A0003C */ lwc1 $f0, 0x3c($s5)
|
||||
|
@ -1,18 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80241648
|
||||
/* BE03D8 80241648 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* BE03DC 8024164C AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* BE03E0 80241650 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* BE03E4 80241654 0C0B1EAF */ jal get_variable
|
||||
/* BE03E8 80241658 8C450000 */ lw $a1, ($v0)
|
||||
/* BE03EC 8024165C 3C018024 */ lui $at, 0x8024
|
||||
/* BE03F0 80241660 AC221CD0 */ sw $v0, 0x1cd0($at)
|
||||
/* BE03F4 80241664 24020002 */ addiu $v0, $zero, 2
|
||||
/* BE03F8 80241668 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* BE03FC 8024166C 24030001 */ addiu $v1, $zero, 1
|
||||
/* BE0400 80241670 3C018024 */ lui $at, 0x8024
|
||||
/* BE0404 80241674 AC231CCC */ sw $v1, 0x1ccc($at)
|
||||
/* BE0408 80241678 03E00008 */ jr $ra
|
||||
/* BE040C 8024167C 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -0,0 +1,18 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80241648_BE03D8
|
||||
/* BE03D8 80241648 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* BE03DC 8024164C AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* BE03E0 80241650 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* BE03E4 80241654 0C0B1EAF */ jal get_variable
|
||||
/* BE03E8 80241658 8C450000 */ lw $a1, ($v0)
|
||||
/* BE03EC 8024165C 3C018024 */ lui $at, 0x8024
|
||||
/* BE03F0 80241660 AC221CD0 */ sw $v0, 0x1cd0($at)
|
||||
/* BE03F4 80241664 24020002 */ addiu $v0, $zero, 2
|
||||
/* BE03F8 80241668 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* BE03FC 8024166C 24030001 */ addiu $v1, $zero, 1
|
||||
/* BE0400 80241670 3C018024 */ lui $at, 0x8024
|
||||
/* BE0404 80241674 AC231CCC */ sw $v1, 0x1ccc($at)
|
||||
/* BE0408 80241678 03E00008 */ jr $ra
|
||||
/* BE040C 8024167C 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -131,7 +131,7 @@ glabel func_80240B94_BE4344
|
||||
/* BE4524 80240D74 00000000 */ nop
|
||||
/* BE4528 80240D78 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BE452C 80240D7C 0260282D */ daddu $a1, $s3, $zero
|
||||
/* BE4530 80240D80 0C090000 */ jal func_80240000
|
||||
/* BE4530 80240D80 0C090000 */ jal func_80240000_BE37B0
|
||||
/* BE4534 80240D84 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* BE4538 80240D88 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BE453C 80240D8C 0260282D */ daddu $a1, $s3, $zero
|
||||
@ -141,27 +141,27 @@ 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
|
||||
/* BE4558 80240DA8 0C090100 */ jal func_80240400_BE3BB0
|
||||
/* BE455C 80240DAC 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* BE4560 80240DB0 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BE4564 80240DB4 0260282D */ daddu $a1, $s3, $zero
|
||||
/* BE4568 80240DB8 0C090130 */ jal func_802404C0
|
||||
/* BE4568 80240DB8 0C090130 */ jal func_802404C0_BE3C70
|
||||
/* BE456C 80240DBC 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* BE4570 80240DC0 0809039A */ j .L80240E68
|
||||
/* BE4574 80240DC4 00000000 */ nop
|
||||
/* BE4578 80240DC8 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BE457C 80240DCC 0260282D */ daddu $a1, $s3, $zero
|
||||
/* BE4580 80240DD0 0C09019F */ jal func_8024067C
|
||||
/* BE4580 80240DD0 0C09019F */ jal func_8024067C_BE3E2C
|
||||
/* BE4584 80240DD4 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* BE4588 80240DD8 0809039A */ j .L80240E68
|
||||
/* BE458C 80240DDC 00000000 */ nop
|
||||
/* BE4590 80240DE0 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BE4594 80240DE4 0260282D */ daddu $a1, $s3, $zero
|
||||
/* BE4598 80240DE8 0C0901CC */ jal func_80240730
|
||||
/* BE4598 80240DE8 0C0901CC */ jal func_80240730_BE3EE0
|
||||
/* 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
|
||||
/* BE45A8 80240DF8 0C0901E9 */ jal func_802407A4_BE3F54
|
||||
/* BE45AC 80240DFC 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* BE45B0 80240E00 0809039A */ j .L80240E68
|
||||
/* BE45B4 80240E04 00000000 */ nop
|
||||
@ -171,19 +171,19 @@ glabel func_80240B94_BE4344
|
||||
/* BE45C4 80240E14 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* BE45C8 80240E18 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BE45CC 80240E1C 0260282D */ daddu $a1, $s3, $zero
|
||||
/* BE45D0 80240E20 0C090253 */ jal func_8024094C
|
||||
/* BE45D0 80240E20 0C090253 */ jal func_8024094C_BE40FC
|
||||
/* BE45D4 80240E24 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* BE45D8 80240E28 0809039A */ j .L80240E68
|
||||
/* BE45DC 80240E2C 00000000 */ nop
|
||||
/* BE45E0 80240E30 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BE45E4 80240E34 0260282D */ daddu $a1, $s3, $zero
|
||||
/* BE45E8 80240E38 0C09029B */ jal func_80240A6C
|
||||
/* BE45E8 80240E38 0C09029B */ jal func_80240A6C_BE421C
|
||||
/* BE45EC 80240E3C 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* BE45F0 80240E40 0809039A */ j .L80240E68
|
||||
/* BE45F4 80240E44 00000000 */ nop
|
||||
/* BE45F8 80240E48 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BE45FC 80240E4C 0260282D */ daddu $a1, $s3, $zero
|
||||
/* BE4600 80240E50 0C0902B5 */ jal func_80240AD4
|
||||
/* BE4600 80240E50 0C0902B5 */ jal func_80240AD4_BE4284
|
||||
/* BE4604 80240E54 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* BE4608 80240E58 0809039A */ j .L80240E68
|
||||
/* BE460C 80240E5C 00000000 */ nop
|
||||
|
@ -1,225 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80241728
|
||||
/* BE4ED8 80241728 27BDFF88 */ addiu $sp, $sp, -0x78
|
||||
/* BE4EDC 8024172C AFB3004C */ sw $s3, 0x4c($sp)
|
||||
/* BE4EE0 80241730 0080982D */ daddu $s3, $a0, $zero
|
||||
/* BE4EE4 80241734 AFBF0054 */ sw $ra, 0x54($sp)
|
||||
/* BE4EE8 80241738 AFB40050 */ sw $s4, 0x50($sp)
|
||||
/* BE4EEC 8024173C AFB20048 */ sw $s2, 0x48($sp)
|
||||
/* BE4EF0 80241740 AFB10044 */ sw $s1, 0x44($sp)
|
||||
/* BE4EF4 80241744 AFB00040 */ sw $s0, 0x40($sp)
|
||||
/* BE4EF8 80241748 F7BA0070 */ sdc1 $f26, 0x70($sp)
|
||||
/* BE4EFC 8024174C F7B80068 */ sdc1 $f24, 0x68($sp)
|
||||
/* BE4F00 80241750 F7B60060 */ sdc1 $f22, 0x60($sp)
|
||||
/* BE4F04 80241754 F7B40058 */ sdc1 $f20, 0x58($sp)
|
||||
/* BE4F08 80241758 8E710148 */ lw $s1, 0x148($s3)
|
||||
/* BE4F0C 8024175C 00A0902D */ daddu $s2, $a1, $zero
|
||||
/* BE4F10 80241760 86240008 */ lh $a0, 8($s1)
|
||||
/* BE4F14 80241764 0C00EABB */ jal get_npc_unsafe
|
||||
/* BE4F18 80241768 00C0A02D */ daddu $s4, $a2, $zero
|
||||
/* BE4F1C 8024176C 0040802D */ daddu $s0, $v0, $zero
|
||||
/* BE4F20 80241770 C6200078 */ lwc1 $f0, 0x78($s1)
|
||||
/* BE4F24 80241774 46800020 */ cvt.s.w $f0, $f0
|
||||
/* BE4F28 80241778 46000021 */ cvt.d.s $f0, $f0
|
||||
/* BE4F2C 8024177C 3C014059 */ lui $at, 0x4059
|
||||
/* BE4F30 80241780 44811800 */ mtc1 $at, $f3
|
||||
/* BE4F34 80241784 44801000 */ mtc1 $zero, $f2
|
||||
/* BE4F38 80241788 8602008E */ lh $v0, 0x8e($s0)
|
||||
/* BE4F3C 8024178C 9603008E */ lhu $v1, 0x8e($s0)
|
||||
/* BE4F40 80241790 46220003 */ div.d $f0, $f0, $f2
|
||||
/* BE4F44 80241794 46200620 */ cvt.s.d $f24, $f0
|
||||
/* BE4F48 80241798 C6200088 */ lwc1 $f0, 0x88($s1)
|
||||
/* BE4F4C 8024179C 46800020 */ cvt.s.w $f0, $f0
|
||||
/* BE4F50 802417A0 46000021 */ cvt.d.s $f0, $f0
|
||||
/* BE4F54 802417A4 46220003 */ div.d $f0, $f0, $f2
|
||||
/* BE4F58 802417A8 46200020 */ cvt.s.d $f0, $f0
|
||||
/* BE4F5C 802417AC 18400003 */ blez $v0, .L802417BC
|
||||
/* BE4F60 802417B0 4600C680 */ add.s $f26, $f24, $f0
|
||||
/* BE4F64 802417B4 2462FFFF */ addiu $v0, $v1, -1
|
||||
/* BE4F68 802417B8 A602008E */ sh $v0, 0x8e($s0)
|
||||
.L802417BC:
|
||||
/* BE4F6C 802417BC 8E220070 */ lw $v0, 0x70($s1)
|
||||
/* BE4F70 802417C0 18400034 */ blez $v0, .L80241894
|
||||
/* BE4F74 802417C4 00000000 */ nop
|
||||
/* BE4F78 802417C8 C62C0074 */ lwc1 $f12, 0x74($s1)
|
||||
/* BE4F7C 802417CC 46806320 */ cvt.s.w $f12, $f12
|
||||
/* BE4F80 802417D0 44820000 */ mtc1 $v0, $f0
|
||||
/* BE4F84 802417D4 00000000 */ nop
|
||||
/* BE4F88 802417D8 46800020 */ cvt.s.w $f0, $f0
|
||||
/* BE4F8C 802417DC 46000021 */ cvt.d.s $f0, $f0
|
||||
/* BE4F90 802417E0 46220003 */ div.d $f0, $f0, $f2
|
||||
/* BE4F94 802417E4 0C00A8BB */ jal sin_deg
|
||||
/* BE4F98 802417E8 462005A0 */ cvt.s.d $f22, $f0
|
||||
/* BE4F9C 802417EC 8E020000 */ lw $v0, ($s0)
|
||||
/* BE4FA0 802417F0 30420008 */ andi $v0, $v0, 8
|
||||
/* BE4FA4 802417F4 10400003 */ beqz $v0, .L80241804
|
||||
/* BE4FA8 802417F8 46000506 */ mov.s $f20, $f0
|
||||
/* BE4FAC 802417FC 08090611 */ j .L80241844
|
||||
/* BE4FB0 80241800 0000102D */ daddu $v0, $zero, $zero
|
||||
.L80241804:
|
||||
/* BE4FB4 80241804 27A50028 */ addiu $a1, $sp, 0x28
|
||||
/* BE4FB8 80241808 27A6002C */ addiu $a2, $sp, 0x2c
|
||||
/* BE4FBC 8024180C C6000038 */ lwc1 $f0, 0x38($s0)
|
||||
/* BE4FC0 80241810 C602003C */ lwc1 $f2, 0x3c($s0)
|
||||
/* BE4FC4 80241814 C6040040 */ lwc1 $f4, 0x40($s0)
|
||||
/* BE4FC8 80241818 3C01447A */ lui $at, 0x447a
|
||||
/* BE4FCC 8024181C 44813000 */ mtc1 $at, $f6
|
||||
/* BE4FD0 80241820 27A20034 */ addiu $v0, $sp, 0x34
|
||||
/* BE4FD4 80241824 E7A00028 */ swc1 $f0, 0x28($sp)
|
||||
/* BE4FD8 80241828 E7A2002C */ swc1 $f2, 0x2c($sp)
|
||||
/* BE4FDC 8024182C E7A40030 */ swc1 $f4, 0x30($sp)
|
||||
/* BE4FE0 80241830 E7A60034 */ swc1 $f6, 0x34($sp)
|
||||
/* BE4FE4 80241834 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* BE4FE8 80241838 8E040080 */ lw $a0, 0x80($s0)
|
||||
/* BE4FEC 8024183C 0C0372DF */ jal func_800DCB7C
|
||||
/* BE4FF0 80241840 27A70030 */ addiu $a3, $sp, 0x30
|
||||
.L80241844:
|
||||
/* BE4FF4 80241844 10400007 */ beqz $v0, .L80241864
|
||||
/* BE4FF8 80241848 00000000 */ nop
|
||||
/* BE4FFC 8024184C 4616A082 */ mul.s $f2, $f20, $f22
|
||||
/* BE5000 80241850 00000000 */ nop
|
||||
/* BE5004 80241854 C7A0002C */ lwc1 $f0, 0x2c($sp)
|
||||
/* BE5008 80241858 46180000 */ add.s $f0, $f0, $f24
|
||||
/* BE500C 8024185C 0809061C */ j .L80241870
|
||||
/* BE5010 80241860 46020000 */ add.s $f0, $f0, $f2
|
||||
.L80241864:
|
||||
/* BE5014 80241864 4616A002 */ mul.s $f0, $f20, $f22
|
||||
/* BE5018 80241868 00000000 */ nop
|
||||
/* BE501C 8024186C 4600D000 */ add.s $f0, $f26, $f0
|
||||
.L80241870:
|
||||
/* BE5020 80241870 E600003C */ swc1 $f0, 0x3c($s0)
|
||||
/* BE5024 80241874 8E220074 */ lw $v0, 0x74($s1)
|
||||
/* BE5028 80241878 2442000A */ addiu $v0, $v0, 0xa
|
||||
/* BE502C 8024187C 44826000 */ mtc1 $v0, $f12
|
||||
/* BE5030 80241880 00000000 */ nop
|
||||
/* BE5034 80241884 0C00A6C9 */ jal clamp_angle
|
||||
/* BE5038 80241888 46806320 */ cvt.s.w $f12, $f12
|
||||
/* BE503C 8024188C 4600020D */ trunc.w.s $f8, $f0
|
||||
/* BE5040 80241890 E6280074 */ swc1 $f8, 0x74($s1)
|
||||
.L80241894:
|
||||
/* BE5044 80241894 8E220090 */ lw $v0, 0x90($s1)
|
||||
/* BE5048 80241898 1C400040 */ bgtz $v0, .L8024199C
|
||||
/* BE504C 8024189C 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* BE5050 802418A0 860200A8 */ lh $v0, 0xa8($s0)
|
||||
/* BE5054 802418A4 C600003C */ lwc1 $f0, 0x3c($s0)
|
||||
/* BE5058 802418A8 44821000 */ mtc1 $v0, $f2
|
||||
/* BE505C 802418AC 00000000 */ nop
|
||||
/* BE5060 802418B0 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* BE5064 802418B4 3C02800F */ lui $v0, %hi(gPlayerStatusPtr)
|
||||
/* BE5068 802418B8 8C427B30 */ lw $v0, %lo(gPlayerStatusPtr)($v0)
|
||||
/* BE506C 802418BC 46020000 */ add.s $f0, $f0, $f2
|
||||
/* BE5070 802418C0 3C014024 */ lui $at, 0x4024
|
||||
/* BE5074 802418C4 44812800 */ mtc1 $at, $f5
|
||||
/* BE5078 802418C8 44802000 */ mtc1 $zero, $f4
|
||||
/* BE507C 802418CC C442002C */ lwc1 $f2, 0x2c($v0)
|
||||
/* BE5080 802418D0 46000021 */ cvt.d.s $f0, $f0
|
||||
/* BE5084 802418D4 46240000 */ add.d $f0, $f0, $f4
|
||||
/* BE5088 802418D8 460010A1 */ cvt.d.s $f2, $f2
|
||||
/* BE508C 802418DC 4620103C */ c.lt.d $f2, $f0
|
||||
/* BE5090 802418E0 00000000 */ nop
|
||||
/* BE5094 802418E4 4500002E */ bc1f .L802419A0
|
||||
/* BE5098 802418E8 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BE509C 802418EC 24020001 */ addiu $v0, $zero, 1
|
||||
/* BE50A0 802418F0 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* BE50A4 802418F4 8E460024 */ lw $a2, 0x24($s2)
|
||||
/* BE50A8 802418F8 8E470028 */ lw $a3, 0x28($s2)
|
||||
/* BE50AC 802418FC 0C01242D */ jal func_800490B4
|
||||
/* BE50B0 80241900 0220282D */ daddu $a1, $s1, $zero
|
||||
/* BE50B4 80241904 10400026 */ beqz $v0, .L802419A0
|
||||
/* BE50B8 80241908 0000202D */ daddu $a0, $zero, $zero
|
||||
/* BE50BC 8024190C 0200282D */ daddu $a1, $s0, $zero
|
||||
/* BE50C0 80241910 0000302D */ daddu $a2, $zero, $zero
|
||||
/* BE50C4 80241914 2412000C */ addiu $s2, $zero, 0xc
|
||||
/* BE50C8 80241918 860300A8 */ lh $v1, 0xa8($s0)
|
||||
/* BE50CC 8024191C 3C013F80 */ lui $at, 0x3f80
|
||||
/* BE50D0 80241920 44810000 */ mtc1 $at, $f0
|
||||
/* BE50D4 80241924 3C014000 */ lui $at, 0x4000
|
||||
/* BE50D8 80241928 44811000 */ mtc1 $at, $f2
|
||||
/* BE50DC 8024192C 3C01C1A0 */ lui $at, 0xc1a0
|
||||
/* BE50E0 80241930 44812000 */ mtc1 $at, $f4
|
||||
/* BE50E4 80241934 44834000 */ mtc1 $v1, $f8
|
||||
/* BE50E8 80241938 00000000 */ nop
|
||||
/* BE50EC 8024193C 46804220 */ cvt.s.w $f8, $f8
|
||||
/* BE50F0 80241940 44074000 */ mfc1 $a3, $f8
|
||||
/* BE50F4 80241944 27A20038 */ addiu $v0, $sp, 0x38
|
||||
/* BE50F8 80241948 AFB2001C */ sw $s2, 0x1c($sp)
|
||||
/* BE50FC 8024194C AFA20020 */ sw $v0, 0x20($sp)
|
||||
/* BE5100 80241950 E7A00010 */ swc1 $f0, 0x10($sp)
|
||||
/* BE5104 80241954 E7A20014 */ swc1 $f2, 0x14($sp)
|
||||
/* BE5108 80241958 0C01BFA4 */ jal fx_emote
|
||||
/* BE510C 8024195C E7A40018 */ swc1 $f4, 0x18($sp)
|
||||
/* BE5110 80241960 0200202D */ daddu $a0, $s0, $zero
|
||||
/* BE5114 80241964 240502F4 */ addiu $a1, $zero, 0x2f4
|
||||
/* BE5118 80241968 C480003C */ lwc1 $f0, 0x3c($a0)
|
||||
/* BE511C 8024196C 3C060020 */ lui $a2, 0x20
|
||||
/* BE5120 80241970 0C012530 */ jal func_800494C0
|
||||
/* BE5124 80241974 E4800064 */ swc1 $f0, 0x64($a0)
|
||||
/* BE5128 80241978 8E220018 */ lw $v0, 0x18($s1)
|
||||
/* BE512C 8024197C 9442002A */ lhu $v0, 0x2a($v0)
|
||||
/* BE5130 80241980 30420001 */ andi $v0, $v0, 1
|
||||
/* BE5134 80241984 10400003 */ beqz $v0, .L80241994
|
||||
/* BE5138 80241988 2402000A */ addiu $v0, $zero, 0xa
|
||||
/* BE513C 8024198C 0809068F */ j .L80241A3C
|
||||
/* BE5140 80241990 AE620070 */ sw $v0, 0x70($s3)
|
||||
.L80241994:
|
||||
/* BE5144 80241994 0809068F */ j .L80241A3C
|
||||
/* BE5148 80241998 AE720070 */ sw $s2, 0x70($s3)
|
||||
.L8024199C:
|
||||
/* BE514C 8024199C AE220090 */ sw $v0, 0x90($s1)
|
||||
.L802419A0:
|
||||
/* BE5150 802419A0 8602008C */ lh $v0, 0x8c($s0)
|
||||
/* BE5154 802419A4 14400025 */ bnez $v0, .L80241A3C
|
||||
/* BE5158 802419A8 00000000 */ nop
|
||||
/* BE515C 802419AC 8602008E */ lh $v0, 0x8e($s0)
|
||||
/* BE5160 802419B0 1C400022 */ bgtz $v0, .L80241A3C
|
||||
/* BE5164 802419B4 00000000 */ nop
|
||||
/* BE5168 802419B8 8E620074 */ lw $v0, 0x74($s3)
|
||||
/* BE516C 802419BC 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* BE5170 802419C0 1840001D */ blez $v0, .L80241A38
|
||||
/* BE5174 802419C4 AE620074 */ sw $v0, 0x74($s3)
|
||||
/* BE5178 802419C8 8E220018 */ lw $v0, 0x18($s1)
|
||||
/* BE517C 802419CC 9442002A */ lhu $v0, 0x2a($v0)
|
||||
/* BE5180 802419D0 30420010 */ andi $v0, $v0, 0x10
|
||||
/* BE5184 802419D4 14400007 */ bnez $v0, .L802419F4
|
||||
/* BE5188 802419D8 00000000 */ nop
|
||||
/* BE518C 802419DC C600000C */ lwc1 $f0, 0xc($s0)
|
||||
/* BE5190 802419E0 3C014334 */ lui $at, 0x4334
|
||||
/* BE5194 802419E4 44816000 */ mtc1 $at, $f12
|
||||
/* BE5198 802419E8 0C00A6C9 */ jal clamp_angle
|
||||
/* BE519C 802419EC 460C0300 */ add.s $f12, $f0, $f12
|
||||
/* BE51A0 802419F0 E600000C */ swc1 $f0, 0xc($s0)
|
||||
.L802419F4:
|
||||
/* BE51A4 802419F4 0C00A67F */ jal rand_int
|
||||
/* BE51A8 802419F8 240403E8 */ addiu $a0, $zero, 0x3e8
|
||||
/* BE51AC 802419FC 3C032E8B */ lui $v1, 0x2e8b
|
||||
/* BE51B0 80241A00 3463A2E9 */ ori $v1, $v1, 0xa2e9
|
||||
/* BE51B4 80241A04 00430018 */ mult $v0, $v1
|
||||
/* BE51B8 80241A08 00021FC3 */ sra $v1, $v0, 0x1f
|
||||
/* BE51BC 80241A0C 00004010 */ mfhi $t0
|
||||
/* BE51C0 80241A10 00082043 */ sra $a0, $t0, 1
|
||||
/* BE51C4 80241A14 00832023 */ subu $a0, $a0, $v1
|
||||
/* BE51C8 80241A18 00041840 */ sll $v1, $a0, 1
|
||||
/* BE51CC 80241A1C 00641821 */ addu $v1, $v1, $a0
|
||||
/* BE51D0 80241A20 00031880 */ sll $v1, $v1, 2
|
||||
/* BE51D4 80241A24 00641823 */ subu $v1, $v1, $a0
|
||||
/* BE51D8 80241A28 00431023 */ subu $v0, $v0, $v1
|
||||
/* BE51DC 80241A2C 24420005 */ addiu $v0, $v0, 5
|
||||
/* BE51E0 80241A30 0809068F */ j .L80241A3C
|
||||
/* BE51E4 80241A34 A602008E */ sh $v0, 0x8e($s0)
|
||||
.L80241A38:
|
||||
/* BE51E8 80241A38 AE600070 */ sw $zero, 0x70($s3)
|
||||
.L80241A3C:
|
||||
/* BE51EC 80241A3C 8FBF0054 */ lw $ra, 0x54($sp)
|
||||
/* BE51F0 80241A40 8FB40050 */ lw $s4, 0x50($sp)
|
||||
/* BE51F4 80241A44 8FB3004C */ lw $s3, 0x4c($sp)
|
||||
/* BE51F8 80241A48 8FB20048 */ lw $s2, 0x48($sp)
|
||||
/* BE51FC 80241A4C 8FB10044 */ lw $s1, 0x44($sp)
|
||||
/* BE5200 80241A50 8FB00040 */ lw $s0, 0x40($sp)
|
||||
/* BE5204 80241A54 D7BA0070 */ ldc1 $f26, 0x70($sp)
|
||||
/* BE5208 80241A58 D7B80068 */ ldc1 $f24, 0x68($sp)
|
||||
/* BE520C 80241A5C D7B60060 */ ldc1 $f22, 0x60($sp)
|
||||
/* BE5210 80241A60 D7B40058 */ ldc1 $f20, 0x58($sp)
|
||||
/* BE5214 80241A64 03E00008 */ jr $ra
|
||||
/* BE5218 80241A68 27BD0078 */ addiu $sp, $sp, 0x78
|
@ -0,0 +1,225 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80241728_BE4ED8
|
||||
/* BE4ED8 80241728 27BDFF88 */ addiu $sp, $sp, -0x78
|
||||
/* BE4EDC 8024172C AFB3004C */ sw $s3, 0x4c($sp)
|
||||
/* BE4EE0 80241730 0080982D */ daddu $s3, $a0, $zero
|
||||
/* BE4EE4 80241734 AFBF0054 */ sw $ra, 0x54($sp)
|
||||
/* BE4EE8 80241738 AFB40050 */ sw $s4, 0x50($sp)
|
||||
/* BE4EEC 8024173C AFB20048 */ sw $s2, 0x48($sp)
|
||||
/* BE4EF0 80241740 AFB10044 */ sw $s1, 0x44($sp)
|
||||
/* BE4EF4 80241744 AFB00040 */ sw $s0, 0x40($sp)
|
||||
/* BE4EF8 80241748 F7BA0070 */ sdc1 $f26, 0x70($sp)
|
||||
/* BE4EFC 8024174C F7B80068 */ sdc1 $f24, 0x68($sp)
|
||||
/* BE4F00 80241750 F7B60060 */ sdc1 $f22, 0x60($sp)
|
||||
/* BE4F04 80241754 F7B40058 */ sdc1 $f20, 0x58($sp)
|
||||
/* BE4F08 80241758 8E710148 */ lw $s1, 0x148($s3)
|
||||
/* BE4F0C 8024175C 00A0902D */ daddu $s2, $a1, $zero
|
||||
/* BE4F10 80241760 86240008 */ lh $a0, 8($s1)
|
||||
/* BE4F14 80241764 0C00EABB */ jal get_npc_unsafe
|
||||
/* BE4F18 80241768 00C0A02D */ daddu $s4, $a2, $zero
|
||||
/* BE4F1C 8024176C 0040802D */ daddu $s0, $v0, $zero
|
||||
/* BE4F20 80241770 C6200078 */ lwc1 $f0, 0x78($s1)
|
||||
/* BE4F24 80241774 46800020 */ cvt.s.w $f0, $f0
|
||||
/* BE4F28 80241778 46000021 */ cvt.d.s $f0, $f0
|
||||
/* BE4F2C 8024177C 3C014059 */ lui $at, 0x4059
|
||||
/* BE4F30 80241780 44811800 */ mtc1 $at, $f3
|
||||
/* BE4F34 80241784 44801000 */ mtc1 $zero, $f2
|
||||
/* BE4F38 80241788 8602008E */ lh $v0, 0x8e($s0)
|
||||
/* BE4F3C 8024178C 9603008E */ lhu $v1, 0x8e($s0)
|
||||
/* BE4F40 80241790 46220003 */ div.d $f0, $f0, $f2
|
||||
/* BE4F44 80241794 46200620 */ cvt.s.d $f24, $f0
|
||||
/* BE4F48 80241798 C6200088 */ lwc1 $f0, 0x88($s1)
|
||||
/* BE4F4C 8024179C 46800020 */ cvt.s.w $f0, $f0
|
||||
/* BE4F50 802417A0 46000021 */ cvt.d.s $f0, $f0
|
||||
/* BE4F54 802417A4 46220003 */ div.d $f0, $f0, $f2
|
||||
/* BE4F58 802417A8 46200020 */ cvt.s.d $f0, $f0
|
||||
/* BE4F5C 802417AC 18400003 */ blez $v0, .L802417BC
|
||||
/* BE4F60 802417B0 4600C680 */ add.s $f26, $f24, $f0
|
||||
/* BE4F64 802417B4 2462FFFF */ addiu $v0, $v1, -1
|
||||
/* BE4F68 802417B8 A602008E */ sh $v0, 0x8e($s0)
|
||||
.L802417BC:
|
||||
/* BE4F6C 802417BC 8E220070 */ lw $v0, 0x70($s1)
|
||||
/* BE4F70 802417C0 18400034 */ blez $v0, .L80241894
|
||||
/* BE4F74 802417C4 00000000 */ nop
|
||||
/* BE4F78 802417C8 C62C0074 */ lwc1 $f12, 0x74($s1)
|
||||
/* BE4F7C 802417CC 46806320 */ cvt.s.w $f12, $f12
|
||||
/* BE4F80 802417D0 44820000 */ mtc1 $v0, $f0
|
||||
/* BE4F84 802417D4 00000000 */ nop
|
||||
/* BE4F88 802417D8 46800020 */ cvt.s.w $f0, $f0
|
||||
/* BE4F8C 802417DC 46000021 */ cvt.d.s $f0, $f0
|
||||
/* BE4F90 802417E0 46220003 */ div.d $f0, $f0, $f2
|
||||
/* BE4F94 802417E4 0C00A8BB */ jal sin_deg
|
||||
/* BE4F98 802417E8 462005A0 */ cvt.s.d $f22, $f0
|
||||
/* BE4F9C 802417EC 8E020000 */ lw $v0, ($s0)
|
||||
/* BE4FA0 802417F0 30420008 */ andi $v0, $v0, 8
|
||||
/* BE4FA4 802417F4 10400003 */ beqz $v0, .L80241804
|
||||
/* BE4FA8 802417F8 46000506 */ mov.s $f20, $f0
|
||||
/* BE4FAC 802417FC 08090611 */ j .L80241844
|
||||
/* BE4FB0 80241800 0000102D */ daddu $v0, $zero, $zero
|
||||
.L80241804:
|
||||
/* BE4FB4 80241804 27A50028 */ addiu $a1, $sp, 0x28
|
||||
/* BE4FB8 80241808 27A6002C */ addiu $a2, $sp, 0x2c
|
||||
/* BE4FBC 8024180C C6000038 */ lwc1 $f0, 0x38($s0)
|
||||
/* BE4FC0 80241810 C602003C */ lwc1 $f2, 0x3c($s0)
|
||||
/* BE4FC4 80241814 C6040040 */ lwc1 $f4, 0x40($s0)
|
||||
/* BE4FC8 80241818 3C01447A */ lui $at, 0x447a
|
||||
/* BE4FCC 8024181C 44813000 */ mtc1 $at, $f6
|
||||
/* BE4FD0 80241820 27A20034 */ addiu $v0, $sp, 0x34
|
||||
/* BE4FD4 80241824 E7A00028 */ swc1 $f0, 0x28($sp)
|
||||
/* BE4FD8 80241828 E7A2002C */ swc1 $f2, 0x2c($sp)
|
||||
/* BE4FDC 8024182C E7A40030 */ swc1 $f4, 0x30($sp)
|
||||
/* BE4FE0 80241830 E7A60034 */ swc1 $f6, 0x34($sp)
|
||||
/* BE4FE4 80241834 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* BE4FE8 80241838 8E040080 */ lw $a0, 0x80($s0)
|
||||
/* BE4FEC 8024183C 0C0372DF */ jal func_800DCB7C
|
||||
/* BE4FF0 80241840 27A70030 */ addiu $a3, $sp, 0x30
|
||||
.L80241844:
|
||||
/* BE4FF4 80241844 10400007 */ beqz $v0, .L80241864
|
||||
/* BE4FF8 80241848 00000000 */ nop
|
||||
/* BE4FFC 8024184C 4616A082 */ mul.s $f2, $f20, $f22
|
||||
/* BE5000 80241850 00000000 */ nop
|
||||
/* BE5004 80241854 C7A0002C */ lwc1 $f0, 0x2c($sp)
|
||||
/* BE5008 80241858 46180000 */ add.s $f0, $f0, $f24
|
||||
/* BE500C 8024185C 0809061C */ j .L80241870
|
||||
/* BE5010 80241860 46020000 */ add.s $f0, $f0, $f2
|
||||
.L80241864:
|
||||
/* BE5014 80241864 4616A002 */ mul.s $f0, $f20, $f22
|
||||
/* BE5018 80241868 00000000 */ nop
|
||||
/* BE501C 8024186C 4600D000 */ add.s $f0, $f26, $f0
|
||||
.L80241870:
|
||||
/* BE5020 80241870 E600003C */ swc1 $f0, 0x3c($s0)
|
||||
/* BE5024 80241874 8E220074 */ lw $v0, 0x74($s1)
|
||||
/* BE5028 80241878 2442000A */ addiu $v0, $v0, 0xa
|
||||
/* BE502C 8024187C 44826000 */ mtc1 $v0, $f12
|
||||
/* BE5030 80241880 00000000 */ nop
|
||||
/* BE5034 80241884 0C00A6C9 */ jal clamp_angle
|
||||
/* BE5038 80241888 46806320 */ cvt.s.w $f12, $f12
|
||||
/* BE503C 8024188C 4600020D */ trunc.w.s $f8, $f0
|
||||
/* BE5040 80241890 E6280074 */ swc1 $f8, 0x74($s1)
|
||||
.L80241894:
|
||||
/* BE5044 80241894 8E220090 */ lw $v0, 0x90($s1)
|
||||
/* BE5048 80241898 1C400040 */ bgtz $v0, .L8024199C
|
||||
/* BE504C 8024189C 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* BE5050 802418A0 860200A8 */ lh $v0, 0xa8($s0)
|
||||
/* BE5054 802418A4 C600003C */ lwc1 $f0, 0x3c($s0)
|
||||
/* BE5058 802418A8 44821000 */ mtc1 $v0, $f2
|
||||
/* BE505C 802418AC 00000000 */ nop
|
||||
/* BE5060 802418B0 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* BE5064 802418B4 3C02800F */ lui $v0, %hi(gPlayerStatusPtr)
|
||||
/* BE5068 802418B8 8C427B30 */ lw $v0, %lo(gPlayerStatusPtr)($v0)
|
||||
/* BE506C 802418BC 46020000 */ add.s $f0, $f0, $f2
|
||||
/* BE5070 802418C0 3C014024 */ lui $at, 0x4024
|
||||
/* BE5074 802418C4 44812800 */ mtc1 $at, $f5
|
||||
/* BE5078 802418C8 44802000 */ mtc1 $zero, $f4
|
||||
/* BE507C 802418CC C442002C */ lwc1 $f2, 0x2c($v0)
|
||||
/* BE5080 802418D0 46000021 */ cvt.d.s $f0, $f0
|
||||
/* BE5084 802418D4 46240000 */ add.d $f0, $f0, $f4
|
||||
/* BE5088 802418D8 460010A1 */ cvt.d.s $f2, $f2
|
||||
/* BE508C 802418DC 4620103C */ c.lt.d $f2, $f0
|
||||
/* BE5090 802418E0 00000000 */ nop
|
||||
/* BE5094 802418E4 4500002E */ bc1f .L802419A0
|
||||
/* BE5098 802418E8 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BE509C 802418EC 24020001 */ addiu $v0, $zero, 1
|
||||
/* BE50A0 802418F0 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* BE50A4 802418F4 8E460024 */ lw $a2, 0x24($s2)
|
||||
/* BE50A8 802418F8 8E470028 */ lw $a3, 0x28($s2)
|
||||
/* BE50AC 802418FC 0C01242D */ jal func_800490B4
|
||||
/* BE50B0 80241900 0220282D */ daddu $a1, $s1, $zero
|
||||
/* BE50B4 80241904 10400026 */ beqz $v0, .L802419A0
|
||||
/* BE50B8 80241908 0000202D */ daddu $a0, $zero, $zero
|
||||
/* BE50BC 8024190C 0200282D */ daddu $a1, $s0, $zero
|
||||
/* BE50C0 80241910 0000302D */ daddu $a2, $zero, $zero
|
||||
/* BE50C4 80241914 2412000C */ addiu $s2, $zero, 0xc
|
||||
/* BE50C8 80241918 860300A8 */ lh $v1, 0xa8($s0)
|
||||
/* BE50CC 8024191C 3C013F80 */ lui $at, 0x3f80
|
||||
/* BE50D0 80241920 44810000 */ mtc1 $at, $f0
|
||||
/* BE50D4 80241924 3C014000 */ lui $at, 0x4000
|
||||
/* BE50D8 80241928 44811000 */ mtc1 $at, $f2
|
||||
/* BE50DC 8024192C 3C01C1A0 */ lui $at, 0xc1a0
|
||||
/* BE50E0 80241930 44812000 */ mtc1 $at, $f4
|
||||
/* BE50E4 80241934 44834000 */ mtc1 $v1, $f8
|
||||
/* BE50E8 80241938 00000000 */ nop
|
||||
/* BE50EC 8024193C 46804220 */ cvt.s.w $f8, $f8
|
||||
/* BE50F0 80241940 44074000 */ mfc1 $a3, $f8
|
||||
/* BE50F4 80241944 27A20038 */ addiu $v0, $sp, 0x38
|
||||
/* BE50F8 80241948 AFB2001C */ sw $s2, 0x1c($sp)
|
||||
/* BE50FC 8024194C AFA20020 */ sw $v0, 0x20($sp)
|
||||
/* BE5100 80241950 E7A00010 */ swc1 $f0, 0x10($sp)
|
||||
/* BE5104 80241954 E7A20014 */ swc1 $f2, 0x14($sp)
|
||||
/* BE5108 80241958 0C01BFA4 */ jal fx_emote
|
||||
/* BE510C 8024195C E7A40018 */ swc1 $f4, 0x18($sp)
|
||||
/* BE5110 80241960 0200202D */ daddu $a0, $s0, $zero
|
||||
/* BE5114 80241964 240502F4 */ addiu $a1, $zero, 0x2f4
|
||||
/* BE5118 80241968 C480003C */ lwc1 $f0, 0x3c($a0)
|
||||
/* BE511C 8024196C 3C060020 */ lui $a2, 0x20
|
||||
/* BE5120 80241970 0C012530 */ jal func_800494C0
|
||||
/* BE5124 80241974 E4800064 */ swc1 $f0, 0x64($a0)
|
||||
/* BE5128 80241978 8E220018 */ lw $v0, 0x18($s1)
|
||||
/* BE512C 8024197C 9442002A */ lhu $v0, 0x2a($v0)
|
||||
/* BE5130 80241980 30420001 */ andi $v0, $v0, 1
|
||||
/* BE5134 80241984 10400003 */ beqz $v0, .L80241994
|
||||
/* BE5138 80241988 2402000A */ addiu $v0, $zero, 0xa
|
||||
/* BE513C 8024198C 0809068F */ j .L80241A3C
|
||||
/* BE5140 80241990 AE620070 */ sw $v0, 0x70($s3)
|
||||
.L80241994:
|
||||
/* BE5144 80241994 0809068F */ j .L80241A3C
|
||||
/* BE5148 80241998 AE720070 */ sw $s2, 0x70($s3)
|
||||
.L8024199C:
|
||||
/* BE514C 8024199C AE220090 */ sw $v0, 0x90($s1)
|
||||
.L802419A0:
|
||||
/* BE5150 802419A0 8602008C */ lh $v0, 0x8c($s0)
|
||||
/* BE5154 802419A4 14400025 */ bnez $v0, .L80241A3C
|
||||
/* BE5158 802419A8 00000000 */ nop
|
||||
/* BE515C 802419AC 8602008E */ lh $v0, 0x8e($s0)
|
||||
/* BE5160 802419B0 1C400022 */ bgtz $v0, .L80241A3C
|
||||
/* BE5164 802419B4 00000000 */ nop
|
||||
/* BE5168 802419B8 8E620074 */ lw $v0, 0x74($s3)
|
||||
/* BE516C 802419BC 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* BE5170 802419C0 1840001D */ blez $v0, .L80241A38
|
||||
/* BE5174 802419C4 AE620074 */ sw $v0, 0x74($s3)
|
||||
/* BE5178 802419C8 8E220018 */ lw $v0, 0x18($s1)
|
||||
/* BE517C 802419CC 9442002A */ lhu $v0, 0x2a($v0)
|
||||
/* BE5180 802419D0 30420010 */ andi $v0, $v0, 0x10
|
||||
/* BE5184 802419D4 14400007 */ bnez $v0, .L802419F4
|
||||
/* BE5188 802419D8 00000000 */ nop
|
||||
/* BE518C 802419DC C600000C */ lwc1 $f0, 0xc($s0)
|
||||
/* BE5190 802419E0 3C014334 */ lui $at, 0x4334
|
||||
/* BE5194 802419E4 44816000 */ mtc1 $at, $f12
|
||||
/* BE5198 802419E8 0C00A6C9 */ jal clamp_angle
|
||||
/* BE519C 802419EC 460C0300 */ add.s $f12, $f0, $f12
|
||||
/* BE51A0 802419F0 E600000C */ swc1 $f0, 0xc($s0)
|
||||
.L802419F4:
|
||||
/* BE51A4 802419F4 0C00A67F */ jal rand_int
|
||||
/* BE51A8 802419F8 240403E8 */ addiu $a0, $zero, 0x3e8
|
||||
/* BE51AC 802419FC 3C032E8B */ lui $v1, 0x2e8b
|
||||
/* BE51B0 80241A00 3463A2E9 */ ori $v1, $v1, 0xa2e9
|
||||
/* BE51B4 80241A04 00430018 */ mult $v0, $v1
|
||||
/* BE51B8 80241A08 00021FC3 */ sra $v1, $v0, 0x1f
|
||||
/* BE51BC 80241A0C 00004010 */ mfhi $t0
|
||||
/* BE51C0 80241A10 00082043 */ sra $a0, $t0, 1
|
||||
/* BE51C4 80241A14 00832023 */ subu $a0, $a0, $v1
|
||||
/* BE51C8 80241A18 00041840 */ sll $v1, $a0, 1
|
||||
/* BE51CC 80241A1C 00641821 */ addu $v1, $v1, $a0
|
||||
/* BE51D0 80241A20 00031880 */ sll $v1, $v1, 2
|
||||
/* BE51D4 80241A24 00641823 */ subu $v1, $v1, $a0
|
||||
/* BE51D8 80241A28 00431023 */ subu $v0, $v0, $v1
|
||||
/* BE51DC 80241A2C 24420005 */ addiu $v0, $v0, 5
|
||||
/* BE51E0 80241A30 0809068F */ j .L80241A3C
|
||||
/* BE51E4 80241A34 A602008E */ sh $v0, 0x8e($s0)
|
||||
.L80241A38:
|
||||
/* BE51E8 80241A38 AE600070 */ sw $zero, 0x70($s3)
|
||||
.L80241A3C:
|
||||
/* BE51EC 80241A3C 8FBF0054 */ lw $ra, 0x54($sp)
|
||||
/* BE51F0 80241A40 8FB40050 */ lw $s4, 0x50($sp)
|
||||
/* BE51F4 80241A44 8FB3004C */ lw $s3, 0x4c($sp)
|
||||
/* BE51F8 80241A48 8FB20048 */ lw $s2, 0x48($sp)
|
||||
/* BE51FC 80241A4C 8FB10044 */ lw $s1, 0x44($sp)
|
||||
/* BE5200 80241A50 8FB00040 */ lw $s0, 0x40($sp)
|
||||
/* BE5204 80241A54 D7BA0070 */ ldc1 $f26, 0x70($sp)
|
||||
/* BE5208 80241A58 D7B80068 */ ldc1 $f24, 0x68($sp)
|
||||
/* BE520C 80241A5C D7B60060 */ ldc1 $f22, 0x60($sp)
|
||||
/* BE5210 80241A60 D7B40058 */ ldc1 $f20, 0x58($sp)
|
||||
/* BE5214 80241A64 03E00008 */ jr $ra
|
||||
/* BE5218 80241A68 27BD0078 */ addiu $sp, $sp, 0x78
|
@ -1,34 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80241A6C
|
||||
/* 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
|
@ -0,0 +1,34 @@
|
||||
.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,32 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80241AE4
|
||||
/* BE5294 80241AE4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* BE5298 80241AE8 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* BE529C 80241AEC 0080802D */ daddu $s0, $a0, $zero
|
||||
/* BE52A0 80241AF0 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* BE52A4 80241AF4 8E020148 */ lw $v0, 0x148($s0)
|
||||
/* BE52A8 80241AF8 0C00EABB */ jal get_npc_unsafe
|
||||
/* BE52AC 80241AFC 84440008 */ lh $a0, 8($v0)
|
||||
/* BE52B0 80241B00 9443008E */ lhu $v1, 0x8e($v0)
|
||||
/* BE52B4 80241B04 C440003C */ lwc1 $f0, 0x3c($v0)
|
||||
/* BE52B8 80241B08 24640001 */ addiu $a0, $v1, 1
|
||||
/* BE52BC 80241B0C 00031C00 */ sll $v1, $v1, 0x10
|
||||
/* BE52C0 80241B10 00031B83 */ sra $v1, $v1, 0xe
|
||||
/* BE52C4 80241B14 A444008E */ sh $a0, 0x8e($v0)
|
||||
/* BE52C8 80241B18 3C018024 */ lui $at, 0x8024
|
||||
/* BE52CC 80241B1C 00230821 */ addu $at, $at, $v1
|
||||
/* BE52D0 80241B20 C42236DC */ lwc1 $f2, 0x36dc($at)
|
||||
/* BE52D4 80241B24 8443008E */ lh $v1, 0x8e($v0)
|
||||
/* BE52D8 80241B28 46020000 */ add.s $f0, $f0, $f2
|
||||
/* BE52DC 80241B2C 28630005 */ slti $v1, $v1, 5
|
||||
/* BE52E0 80241B30 14600003 */ bnez $v1, .L80241B40
|
||||
/* BE52E4 80241B34 E440003C */ swc1 $f0, 0x3c($v0)
|
||||
/* BE52E8 80241B38 2402000C */ addiu $v0, $zero, 0xc
|
||||
/* BE52EC 80241B3C AE020070 */ sw $v0, 0x70($s0)
|
||||
.L80241B40:
|
||||
/* BE52F0 80241B40 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* BE52F4 80241B44 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* BE52F8 80241B48 03E00008 */ jr $ra
|
||||
/* BE52FC 80241B4C 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -0,0 +1,32 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80241AE4_BE5294
|
||||
/* BE5294 80241AE4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* BE5298 80241AE8 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* BE529C 80241AEC 0080802D */ daddu $s0, $a0, $zero
|
||||
/* BE52A0 80241AF0 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* BE52A4 80241AF4 8E020148 */ lw $v0, 0x148($s0)
|
||||
/* BE52A8 80241AF8 0C00EABB */ jal get_npc_unsafe
|
||||
/* BE52AC 80241AFC 84440008 */ lh $a0, 8($v0)
|
||||
/* BE52B0 80241B00 9443008E */ lhu $v1, 0x8e($v0)
|
||||
/* BE52B4 80241B04 C440003C */ lwc1 $f0, 0x3c($v0)
|
||||
/* BE52B8 80241B08 24640001 */ addiu $a0, $v1, 1
|
||||
/* BE52BC 80241B0C 00031C00 */ sll $v1, $v1, 0x10
|
||||
/* BE52C0 80241B10 00031B83 */ sra $v1, $v1, 0xe
|
||||
/* BE52C4 80241B14 A444008E */ sh $a0, 0x8e($v0)
|
||||
/* BE52C8 80241B18 3C018024 */ lui $at, 0x8024
|
||||
/* BE52CC 80241B1C 00230821 */ addu $at, $at, $v1
|
||||
/* BE52D0 80241B20 C42236DC */ lwc1 $f2, 0x36dc($at)
|
||||
/* BE52D4 80241B24 8443008E */ lh $v1, 0x8e($v0)
|
||||
/* BE52D8 80241B28 46020000 */ add.s $f0, $f0, $f2
|
||||
/* BE52DC 80241B2C 28630005 */ slti $v1, $v1, 5
|
||||
/* BE52E0 80241B30 14600003 */ bnez $v1, .L80241B40
|
||||
/* BE52E4 80241B34 E440003C */ swc1 $f0, 0x3c($v0)
|
||||
/* BE52E8 80241B38 2402000C */ addiu $v0, $zero, 0xc
|
||||
/* BE52EC 80241B3C AE020070 */ sw $v0, 0x70($s0)
|
||||
.L80241B40:
|
||||
/* BE52F0 80241B40 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* BE52F4 80241B44 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* BE52F8 80241B48 03E00008 */ jr $ra
|
||||
/* BE52FC 80241B4C 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,243 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80241CE8
|
||||
/* BE5498 80241CE8 27BDFFB0 */ addiu $sp, $sp, -0x50
|
||||
/* BE549C 80241CEC AFB20030 */ sw $s2, 0x30($sp)
|
||||
/* BE54A0 80241CF0 0080902D */ daddu $s2, $a0, $zero
|
||||
/* BE54A4 80241CF4 AFBF0038 */ sw $ra, 0x38($sp)
|
||||
/* BE54A8 80241CF8 AFB30034 */ sw $s3, 0x34($sp)
|
||||
/* BE54AC 80241CFC AFB1002C */ sw $s1, 0x2c($sp)
|
||||
/* BE54B0 80241D00 AFB00028 */ sw $s0, 0x28($sp)
|
||||
/* BE54B4 80241D04 F7B60048 */ sdc1 $f22, 0x48($sp)
|
||||
/* BE54B8 80241D08 F7B40040 */ sdc1 $f20, 0x40($sp)
|
||||
/* BE54BC 80241D0C 8E510148 */ lw $s1, 0x148($s2)
|
||||
/* BE54C0 80241D10 86240008 */ lh $a0, 8($s1)
|
||||
/* BE54C4 80241D14 0C00EABB */ jal get_npc_unsafe
|
||||
/* BE54C8 80241D18 00A0982D */ daddu $s3, $a1, $zero
|
||||
/* BE54CC 80241D1C 0040802D */ daddu $s0, $v0, $zero
|
||||
/* BE54D0 80241D20 0200202D */ daddu $a0, $s0, $zero
|
||||
/* BE54D4 80241D24 C6220088 */ lwc1 $f2, 0x88($s1)
|
||||
/* BE54D8 80241D28 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* BE54DC 80241D2C 460010A1 */ cvt.d.s $f2, $f2
|
||||
/* BE54E0 80241D30 C604001C */ lwc1 $f4, 0x1c($s0)
|
||||
/* BE54E4 80241D34 C6000014 */ lwc1 $f0, 0x14($s0)
|
||||
/* BE54E8 80241D38 8E050018 */ lw $a1, 0x18($s0)
|
||||
/* BE54EC 80241D3C 46002100 */ add.s $f4, $f4, $f0
|
||||
/* BE54F0 80241D40 8E06000C */ lw $a2, 0xc($s0)
|
||||
/* BE54F4 80241D44 C6200078 */ lwc1 $f0, 0x78($s1)
|
||||
/* BE54F8 80241D48 46800020 */ cvt.s.w $f0, $f0
|
||||
/* BE54FC 80241D4C E604001C */ swc1 $f4, 0x1c($s0)
|
||||
/* BE5500 80241D50 3C014059 */ lui $at, 0x4059
|
||||
/* BE5504 80241D54 44812800 */ mtc1 $at, $f5
|
||||
/* BE5508 80241D58 44802000 */ mtc1 $zero, $f4
|
||||
/* BE550C 80241D5C 46000021 */ cvt.d.s $f0, $f0
|
||||
/* BE5510 80241D60 46240003 */ div.d $f0, $f0, $f4
|
||||
/* BE5514 80241D64 46200520 */ cvt.s.d $f20, $f0
|
||||
/* BE5518 80241D68 46241083 */ div.d $f2, $f2, $f4
|
||||
/* BE551C 80241D6C 0C00EA95 */ jal npc_move_heading
|
||||
/* BE5520 80241D70 462015A0 */ cvt.s.d $f22, $f2
|
||||
/* BE5524 80241D74 C604001C */ lwc1 $f4, 0x1c($s0)
|
||||
/* BE5528 80241D78 44801000 */ mtc1 $zero, $f2
|
||||
/* BE552C 80241D7C 44801800 */ mtc1 $zero, $f3
|
||||
/* BE5530 80241D80 46002021 */ cvt.d.s $f0, $f4
|
||||
/* BE5534 80241D84 4620103E */ c.le.d $f2, $f0
|
||||
/* BE5538 80241D88 00000000 */ nop
|
||||
/* BE553C 80241D8C 45000030 */ bc1f .L80241E50
|
||||
/* BE5540 80241D90 00000000 */ nop
|
||||
/* BE5544 80241D94 C600003C */ lwc1 $f0, 0x3c($s0)
|
||||
/* BE5548 80241D98 46040000 */ add.s $f0, $f0, $f4
|
||||
/* BE554C 80241D9C E600003C */ swc1 $f0, 0x3c($s0)
|
||||
/* BE5550 80241DA0 8E2200CC */ lw $v0, 0xcc($s1)
|
||||
/* BE5554 80241DA4 8C420024 */ lw $v0, 0x24($v0)
|
||||
/* BE5558 80241DA8 AE020028 */ sw $v0, 0x28($s0)
|
||||
/* BE555C 80241DAC A2200007 */ sb $zero, 7($s1)
|
||||
/* BE5560 80241DB0 8E020000 */ lw $v0, ($s0)
|
||||
/* BE5564 80241DB4 30420008 */ andi $v0, $v0, 8
|
||||
/* BE5568 80241DB8 14400011 */ bnez $v0, .L80241E00
|
||||
/* BE556C 80241DBC 0000102D */ daddu $v0, $zero, $zero
|
||||
/* BE5570 80241DC0 27A50018 */ addiu $a1, $sp, 0x18
|
||||
/* BE5574 80241DC4 27A6001C */ addiu $a2, $sp, 0x1c
|
||||
/* BE5578 80241DC8 C6000038 */ lwc1 $f0, 0x38($s0)
|
||||
/* BE557C 80241DCC C602003C */ lwc1 $f2, 0x3c($s0)
|
||||
/* BE5580 80241DD0 C6040040 */ lwc1 $f4, 0x40($s0)
|
||||
/* BE5584 80241DD4 3C01447A */ lui $at, 0x447a
|
||||
/* BE5588 80241DD8 44813000 */ mtc1 $at, $f6
|
||||
/* BE558C 80241DDC 27A20024 */ addiu $v0, $sp, 0x24
|
||||
/* BE5590 80241DE0 E7A00018 */ swc1 $f0, 0x18($sp)
|
||||
/* BE5594 80241DE4 E7A2001C */ swc1 $f2, 0x1c($sp)
|
||||
/* BE5598 80241DE8 E7A40020 */ swc1 $f4, 0x20($sp)
|
||||
/* BE559C 80241DEC E7A60024 */ swc1 $f6, 0x24($sp)
|
||||
/* BE55A0 80241DF0 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* BE55A4 80241DF4 8E040080 */ lw $a0, 0x80($s0)
|
||||
/* BE55A8 80241DF8 0C0372DF */ jal func_800DCB7C
|
||||
/* BE55AC 80241DFC 27A70020 */ addiu $a3, $sp, 0x20
|
||||
.L80241E00:
|
||||
/* BE55B0 80241E00 1040000B */ beqz $v0, .L80241E30
|
||||
/* BE55B4 80241E04 00000000 */ nop
|
||||
/* BE55B8 80241E08 C7A0001C */ lwc1 $f0, 0x1c($sp)
|
||||
/* BE55BC 80241E0C 46140080 */ add.s $f2, $f0, $f20
|
||||
/* BE55C0 80241E10 C600003C */ lwc1 $f0, 0x3c($s0)
|
||||
/* BE55C4 80241E14 4600103E */ c.le.s $f2, $f0
|
||||
/* BE55C8 80241E18 00000000 */ nop
|
||||
/* BE55CC 80241E1C 4500008D */ bc1f .L80242054
|
||||
/* BE55D0 80241E20 00000000 */ nop
|
||||
/* BE55D4 80241E24 E602003C */ swc1 $f2, 0x3c($s0)
|
||||
/* BE55D8 80241E28 08090815 */ j .L80242054
|
||||
/* BE55DC 80241E2C AE400070 */ sw $zero, 0x70($s2)
|
||||
.L80241E30:
|
||||
/* BE55E0 80241E30 C602003C */ lwc1 $f2, 0x3c($s0)
|
||||
/* BE55E4 80241E34 C6000064 */ lwc1 $f0, 0x64($s0)
|
||||
/* BE55E8 80241E38 4602003E */ c.le.s $f0, $f2
|
||||
/* BE55EC 80241E3C 00000000 */ nop
|
||||
/* BE55F0 80241E40 45030084 */ bc1tl .L80242054
|
||||
/* BE55F4 80241E44 AE400070 */ sw $zero, 0x70($s2)
|
||||
/* BE55F8 80241E48 08090815 */ j .L80242054
|
||||
/* BE55FC 80241E4C 00000000 */ nop
|
||||
.L80241E50:
|
||||
/* BE5600 80241E50 4622003C */ c.lt.d $f0, $f2
|
||||
/* BE5604 80241E54 00000000 */ nop
|
||||
/* BE5608 80241E58 4500007E */ bc1f .L80242054
|
||||
/* BE560C 80241E5C 00000000 */ nop
|
||||
/* BE5610 80241E60 9602008E */ lhu $v0, 0x8e($s0)
|
||||
/* BE5614 80241E64 24420001 */ addiu $v0, $v0, 1
|
||||
/* BE5618 80241E68 A602008E */ sh $v0, 0x8e($s0)
|
||||
/* BE561C 80241E6C 00021400 */ sll $v0, $v0, 0x10
|
||||
/* BE5620 80241E70 8E630020 */ lw $v1, 0x20($s3)
|
||||
/* BE5624 80241E74 00021403 */ sra $v0, $v0, 0x10
|
||||
/* BE5628 80241E78 0043102A */ slt $v0, $v0, $v1
|
||||
/* BE562C 80241E7C 14400026 */ bnez $v0, .L80241F18
|
||||
/* BE5630 80241E80 00000000 */ nop
|
||||
/* BE5634 80241E84 C60C0038 */ lwc1 $f12, 0x38($s0)
|
||||
/* BE5638 80241E88 C60E0040 */ lwc1 $f14, 0x40($s0)
|
||||
/* BE563C 80241E8C 3C02800F */ lui $v0, %hi(gPlayerStatusPtr)
|
||||
/* BE5640 80241E90 8C427B30 */ lw $v0, %lo(gPlayerStatusPtr)($v0)
|
||||
/* BE5644 80241E94 A600008E */ sh $zero, 0x8e($s0)
|
||||
/* BE5648 80241E98 8C460028 */ lw $a2, 0x28($v0)
|
||||
/* BE564C 80241E9C 0C00A720 */ jal atan2
|
||||
/* BE5650 80241EA0 8C470030 */ lw $a3, 0x30($v0)
|
||||
/* BE5654 80241EA4 46000506 */ mov.s $f20, $f0
|
||||
/* BE5658 80241EA8 C60C000C */ lwc1 $f12, 0xc($s0)
|
||||
/* BE565C 80241EAC 0C00A70A */ jal get_clamped_angle_diff
|
||||
/* BE5660 80241EB0 4600A386 */ mov.s $f14, $f20
|
||||
/* BE5664 80241EB4 46000086 */ mov.s $f2, $f0
|
||||
/* BE5668 80241EB8 8E62001C */ lw $v0, 0x1c($s3)
|
||||
/* BE566C 80241EBC 46001005 */ abs.s $f0, $f2
|
||||
/* BE5670 80241EC0 44822000 */ mtc1 $v0, $f4
|
||||
/* BE5674 80241EC4 00000000 */ nop
|
||||
/* BE5678 80241EC8 46802120 */ cvt.s.w $f4, $f4
|
||||
/* BE567C 80241ECC 4600203C */ c.lt.s $f4, $f0
|
||||
/* BE5680 80241ED0 00000000 */ nop
|
||||
/* BE5684 80241ED4 4500000D */ bc1f .L80241F0C
|
||||
/* BE5688 80241ED8 00000000 */ nop
|
||||
/* BE568C 80241EDC 44800000 */ mtc1 $zero, $f0
|
||||
/* BE5690 80241EE0 C614000C */ lwc1 $f20, 0xc($s0)
|
||||
/* BE5694 80241EE4 4600103C */ c.lt.s $f2, $f0
|
||||
/* BE5698 80241EE8 00000000 */ nop
|
||||
/* BE569C 80241EEC 45000006 */ bc1f .L80241F08
|
||||
/* BE56A0 80241EF0 00021023 */ negu $v0, $v0
|
||||
/* BE56A4 80241EF4 44820000 */ mtc1 $v0, $f0
|
||||
/* BE56A8 80241EF8 00000000 */ nop
|
||||
/* BE56AC 80241EFC 46800020 */ cvt.s.w $f0, $f0
|
||||
/* BE56B0 80241F00 080907C3 */ j .L80241F0C
|
||||
/* BE56B4 80241F04 4600A500 */ add.s $f20, $f20, $f0
|
||||
.L80241F08:
|
||||
/* BE56B8 80241F08 4604A500 */ add.s $f20, $f20, $f4
|
||||
.L80241F0C:
|
||||
/* BE56BC 80241F0C 0C00A6C9 */ jal clamp_angle
|
||||
/* BE56C0 80241F10 4600A306 */ mov.s $f12, $f20
|
||||
/* BE56C4 80241F14 E600000C */ swc1 $f0, 0xc($s0)
|
||||
.L80241F18:
|
||||
/* BE56C8 80241F18 8E020000 */ lw $v0, ($s0)
|
||||
/* BE56CC 80241F1C 30420008 */ andi $v0, $v0, 8
|
||||
/* BE56D0 80241F20 1040000A */ beqz $v0, .L80241F4C
|
||||
/* BE56D4 80241F24 27A50018 */ addiu $a1, $sp, 0x18
|
||||
/* BE56D8 80241F28 C602003C */ lwc1 $f2, 0x3c($s0)
|
||||
/* BE56DC 80241F2C C600001C */ lwc1 $f0, 0x1c($s0)
|
||||
/* BE56E0 80241F30 46001080 */ add.s $f2, $f2, $f0
|
||||
/* BE56E4 80241F34 4616103C */ c.lt.s $f2, $f22
|
||||
/* BE56E8 80241F38 00000000 */ nop
|
||||
/* BE56EC 80241F3C 45020045 */ bc1fl .L80242054
|
||||
/* BE56F0 80241F40 E602003C */ swc1 $f2, 0x3c($s0)
|
||||
/* BE56F4 80241F44 08090814 */ j .L80242050
|
||||
/* BE56F8 80241F48 E616003C */ swc1 $f22, 0x3c($s0)
|
||||
.L80241F4C:
|
||||
/* BE56FC 80241F4C C6000038 */ lwc1 $f0, 0x38($s0)
|
||||
/* BE5700 80241F50 27A6001C */ addiu $a2, $sp, 0x1c
|
||||
/* BE5704 80241F54 E7A00018 */ swc1 $f0, 0x18($sp)
|
||||
/* BE5708 80241F58 860200A8 */ lh $v0, 0xa8($s0)
|
||||
/* BE570C 80241F5C C600001C */ lwc1 $f0, 0x1c($s0)
|
||||
/* BE5710 80241F60 C604003C */ lwc1 $f4, 0x3c($s0)
|
||||
/* BE5714 80241F64 44821000 */ mtc1 $v0, $f2
|
||||
/* BE5718 80241F68 00000000 */ nop
|
||||
/* BE571C 80241F6C 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* BE5720 80241F70 46000005 */ abs.s $f0, $f0
|
||||
/* BE5724 80241F74 46020000 */ add.s $f0, $f0, $f2
|
||||
/* BE5728 80241F78 C6060040 */ lwc1 $f6, 0x40($s0)
|
||||
/* BE572C 80241F7C 27A20024 */ addiu $v0, $sp, 0x24
|
||||
/* BE5730 80241F80 46022100 */ add.s $f4, $f4, $f2
|
||||
/* BE5734 80241F84 3C014024 */ lui $at, 0x4024
|
||||
/* BE5738 80241F88 44811800 */ mtc1 $at, $f3
|
||||
/* BE573C 80241F8C 44801000 */ mtc1 $zero, $f2
|
||||
/* BE5740 80241F90 46000021 */ cvt.d.s $f0, $f0
|
||||
/* BE5744 80241F94 46220000 */ add.d $f0, $f0, $f2
|
||||
/* BE5748 80241F98 E7A60020 */ swc1 $f6, 0x20($sp)
|
||||
/* BE574C 80241F9C E7A4001C */ swc1 $f4, 0x1c($sp)
|
||||
/* BE5750 80241FA0 46200020 */ cvt.s.d $f0, $f0
|
||||
/* BE5754 80241FA4 E7A00024 */ swc1 $f0, 0x24($sp)
|
||||
/* BE5758 80241FA8 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* BE575C 80241FAC 8E040080 */ lw $a0, 0x80($s0)
|
||||
/* BE5760 80241FB0 0C0372DF */ jal func_800DCB7C
|
||||
/* BE5764 80241FB4 27A70020 */ addiu $a3, $sp, 0x20
|
||||
/* BE5768 80241FB8 10400015 */ beqz $v0, .L80242010
|
||||
/* BE576C 80241FBC 00000000 */ nop
|
||||
/* BE5770 80241FC0 860200A8 */ lh $v0, 0xa8($s0)
|
||||
/* BE5774 80241FC4 C604001C */ lwc1 $f4, 0x1c($s0)
|
||||
/* BE5778 80241FC8 44820000 */ mtc1 $v0, $f0
|
||||
/* BE577C 80241FCC 00000000 */ nop
|
||||
/* BE5780 80241FD0 46800020 */ cvt.s.w $f0, $f0
|
||||
/* BE5784 80241FD4 46002085 */ abs.s $f2, $f4
|
||||
/* BE5788 80241FD8 46020000 */ add.s $f0, $f0, $f2
|
||||
/* BE578C 80241FDC C7A20024 */ lwc1 $f2, 0x24($sp)
|
||||
/* BE5790 80241FE0 4600103E */ c.le.s $f2, $f0
|
||||
/* BE5794 80241FE4 00000000 */ nop
|
||||
/* BE5798 80241FE8 45000005 */ bc1f .L80242000
|
||||
/* BE579C 80241FEC 00000000 */ nop
|
||||
/* BE57A0 80241FF0 C7A0001C */ lwc1 $f0, 0x1c($sp)
|
||||
/* BE57A4 80241FF4 AE00001C */ sw $zero, 0x1c($s0)
|
||||
/* BE57A8 80241FF8 08090815 */ j .L80242054
|
||||
/* BE57AC 80241FFC E600003C */ swc1 $f0, 0x3c($s0)
|
||||
.L80242000:
|
||||
/* BE57B0 80242000 C600003C */ lwc1 $f0, 0x3c($s0)
|
||||
/* BE57B4 80242004 46040000 */ add.s $f0, $f0, $f4
|
||||
/* BE57B8 80242008 08090815 */ j .L80242054
|
||||
/* BE57BC 8024200C E600003C */ swc1 $f0, 0x3c($s0)
|
||||
.L80242010:
|
||||
/* BE57C0 80242010 C606003C */ lwc1 $f6, 0x3c($s0)
|
||||
/* BE57C4 80242014 860200A8 */ lh $v0, 0xa8($s0)
|
||||
/* BE57C8 80242018 46163081 */ sub.s $f2, $f6, $f22
|
||||
/* BE57CC 8024201C 44820000 */ mtc1 $v0, $f0
|
||||
/* BE57D0 80242020 00000000 */ nop
|
||||
/* BE57D4 80242024 46800020 */ cvt.s.w $f0, $f0
|
||||
/* BE57D8 80242028 46001080 */ add.s $f2, $f2, $f0
|
||||
/* BE57DC 8024202C C604001C */ lwc1 $f4, 0x1c($s0)
|
||||
/* BE57E0 80242030 46002005 */ abs.s $f0, $f4
|
||||
/* BE57E4 80242034 4602003C */ c.lt.s $f0, $f2
|
||||
/* BE57E8 80242038 00000000 */ nop
|
||||
/* BE57EC 8024203C 45020005 */ bc1fl .L80242054
|
||||
/* BE57F0 80242040 AE00001C */ sw $zero, 0x1c($s0)
|
||||
/* BE57F4 80242044 46043000 */ add.s $f0, $f6, $f4
|
||||
/* BE57F8 80242048 08090815 */ j .L80242054
|
||||
/* BE57FC 8024204C E600003C */ swc1 $f0, 0x3c($s0)
|
||||
.L80242050:
|
||||
/* BE5800 80242050 AE00001C */ sw $zero, 0x1c($s0)
|
||||
.L80242054:
|
||||
/* BE5804 80242054 8FBF0038 */ lw $ra, 0x38($sp)
|
||||
/* BE5808 80242058 8FB30034 */ lw $s3, 0x34($sp)
|
||||
/* BE580C 8024205C 8FB20030 */ lw $s2, 0x30($sp)
|
||||
/* BE5810 80242060 8FB1002C */ lw $s1, 0x2c($sp)
|
||||
/* BE5814 80242064 8FB00028 */ lw $s0, 0x28($sp)
|
||||
/* BE5818 80242068 D7B60048 */ ldc1 $f22, 0x48($sp)
|
||||
/* BE581C 8024206C D7B40040 */ ldc1 $f20, 0x40($sp)
|
||||
/* BE5820 80242070 03E00008 */ jr $ra
|
||||
/* BE5824 80242074 27BD0050 */ addiu $sp, $sp, 0x50
|
@ -0,0 +1,243 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80241CE8_BE5498
|
||||
/* BE5498 80241CE8 27BDFFB0 */ addiu $sp, $sp, -0x50
|
||||
/* BE549C 80241CEC AFB20030 */ sw $s2, 0x30($sp)
|
||||
/* BE54A0 80241CF0 0080902D */ daddu $s2, $a0, $zero
|
||||
/* BE54A4 80241CF4 AFBF0038 */ sw $ra, 0x38($sp)
|
||||
/* BE54A8 80241CF8 AFB30034 */ sw $s3, 0x34($sp)
|
||||
/* BE54AC 80241CFC AFB1002C */ sw $s1, 0x2c($sp)
|
||||
/* BE54B0 80241D00 AFB00028 */ sw $s0, 0x28($sp)
|
||||
/* BE54B4 80241D04 F7B60048 */ sdc1 $f22, 0x48($sp)
|
||||
/* BE54B8 80241D08 F7B40040 */ sdc1 $f20, 0x40($sp)
|
||||
/* BE54BC 80241D0C 8E510148 */ lw $s1, 0x148($s2)
|
||||
/* BE54C0 80241D10 86240008 */ lh $a0, 8($s1)
|
||||
/* BE54C4 80241D14 0C00EABB */ jal get_npc_unsafe
|
||||
/* BE54C8 80241D18 00A0982D */ daddu $s3, $a1, $zero
|
||||
/* BE54CC 80241D1C 0040802D */ daddu $s0, $v0, $zero
|
||||
/* BE54D0 80241D20 0200202D */ daddu $a0, $s0, $zero
|
||||
/* BE54D4 80241D24 C6220088 */ lwc1 $f2, 0x88($s1)
|
||||
/* BE54D8 80241D28 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* BE54DC 80241D2C 460010A1 */ cvt.d.s $f2, $f2
|
||||
/* BE54E0 80241D30 C604001C */ lwc1 $f4, 0x1c($s0)
|
||||
/* BE54E4 80241D34 C6000014 */ lwc1 $f0, 0x14($s0)
|
||||
/* BE54E8 80241D38 8E050018 */ lw $a1, 0x18($s0)
|
||||
/* BE54EC 80241D3C 46002100 */ add.s $f4, $f4, $f0
|
||||
/* BE54F0 80241D40 8E06000C */ lw $a2, 0xc($s0)
|
||||
/* BE54F4 80241D44 C6200078 */ lwc1 $f0, 0x78($s1)
|
||||
/* BE54F8 80241D48 46800020 */ cvt.s.w $f0, $f0
|
||||
/* BE54FC 80241D4C E604001C */ swc1 $f4, 0x1c($s0)
|
||||
/* BE5500 80241D50 3C014059 */ lui $at, 0x4059
|
||||
/* BE5504 80241D54 44812800 */ mtc1 $at, $f5
|
||||
/* BE5508 80241D58 44802000 */ mtc1 $zero, $f4
|
||||
/* BE550C 80241D5C 46000021 */ cvt.d.s $f0, $f0
|
||||
/* BE5510 80241D60 46240003 */ div.d $f0, $f0, $f4
|
||||
/* BE5514 80241D64 46200520 */ cvt.s.d $f20, $f0
|
||||
/* BE5518 80241D68 46241083 */ div.d $f2, $f2, $f4
|
||||
/* BE551C 80241D6C 0C00EA95 */ jal npc_move_heading
|
||||
/* BE5520 80241D70 462015A0 */ cvt.s.d $f22, $f2
|
||||
/* BE5524 80241D74 C604001C */ lwc1 $f4, 0x1c($s0)
|
||||
/* BE5528 80241D78 44801000 */ mtc1 $zero, $f2
|
||||
/* BE552C 80241D7C 44801800 */ mtc1 $zero, $f3
|
||||
/* BE5530 80241D80 46002021 */ cvt.d.s $f0, $f4
|
||||
/* BE5534 80241D84 4620103E */ c.le.d $f2, $f0
|
||||
/* BE5538 80241D88 00000000 */ nop
|
||||
/* BE553C 80241D8C 45000030 */ bc1f .L80241E50
|
||||
/* BE5540 80241D90 00000000 */ nop
|
||||
/* BE5544 80241D94 C600003C */ lwc1 $f0, 0x3c($s0)
|
||||
/* BE5548 80241D98 46040000 */ add.s $f0, $f0, $f4
|
||||
/* BE554C 80241D9C E600003C */ swc1 $f0, 0x3c($s0)
|
||||
/* BE5550 80241DA0 8E2200CC */ lw $v0, 0xcc($s1)
|
||||
/* BE5554 80241DA4 8C420024 */ lw $v0, 0x24($v0)
|
||||
/* BE5558 80241DA8 AE020028 */ sw $v0, 0x28($s0)
|
||||
/* BE555C 80241DAC A2200007 */ sb $zero, 7($s1)
|
||||
/* BE5560 80241DB0 8E020000 */ lw $v0, ($s0)
|
||||
/* BE5564 80241DB4 30420008 */ andi $v0, $v0, 8
|
||||
/* BE5568 80241DB8 14400011 */ bnez $v0, .L80241E00
|
||||
/* BE556C 80241DBC 0000102D */ daddu $v0, $zero, $zero
|
||||
/* BE5570 80241DC0 27A50018 */ addiu $a1, $sp, 0x18
|
||||
/* BE5574 80241DC4 27A6001C */ addiu $a2, $sp, 0x1c
|
||||
/* BE5578 80241DC8 C6000038 */ lwc1 $f0, 0x38($s0)
|
||||
/* BE557C 80241DCC C602003C */ lwc1 $f2, 0x3c($s0)
|
||||
/* BE5580 80241DD0 C6040040 */ lwc1 $f4, 0x40($s0)
|
||||
/* BE5584 80241DD4 3C01447A */ lui $at, 0x447a
|
||||
/* BE5588 80241DD8 44813000 */ mtc1 $at, $f6
|
||||
/* BE558C 80241DDC 27A20024 */ addiu $v0, $sp, 0x24
|
||||
/* BE5590 80241DE0 E7A00018 */ swc1 $f0, 0x18($sp)
|
||||
/* BE5594 80241DE4 E7A2001C */ swc1 $f2, 0x1c($sp)
|
||||
/* BE5598 80241DE8 E7A40020 */ swc1 $f4, 0x20($sp)
|
||||
/* BE559C 80241DEC E7A60024 */ swc1 $f6, 0x24($sp)
|
||||
/* BE55A0 80241DF0 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* BE55A4 80241DF4 8E040080 */ lw $a0, 0x80($s0)
|
||||
/* BE55A8 80241DF8 0C0372DF */ jal func_800DCB7C
|
||||
/* BE55AC 80241DFC 27A70020 */ addiu $a3, $sp, 0x20
|
||||
.L80241E00:
|
||||
/* BE55B0 80241E00 1040000B */ beqz $v0, .L80241E30
|
||||
/* BE55B4 80241E04 00000000 */ nop
|
||||
/* BE55B8 80241E08 C7A0001C */ lwc1 $f0, 0x1c($sp)
|
||||
/* BE55BC 80241E0C 46140080 */ add.s $f2, $f0, $f20
|
||||
/* BE55C0 80241E10 C600003C */ lwc1 $f0, 0x3c($s0)
|
||||
/* BE55C4 80241E14 4600103E */ c.le.s $f2, $f0
|
||||
/* BE55C8 80241E18 00000000 */ nop
|
||||
/* BE55CC 80241E1C 4500008D */ bc1f .L80242054
|
||||
/* BE55D0 80241E20 00000000 */ nop
|
||||
/* BE55D4 80241E24 E602003C */ swc1 $f2, 0x3c($s0)
|
||||
/* BE55D8 80241E28 08090815 */ j .L80242054
|
||||
/* BE55DC 80241E2C AE400070 */ sw $zero, 0x70($s2)
|
||||
.L80241E30:
|
||||
/* BE55E0 80241E30 C602003C */ lwc1 $f2, 0x3c($s0)
|
||||
/* BE55E4 80241E34 C6000064 */ lwc1 $f0, 0x64($s0)
|
||||
/* BE55E8 80241E38 4602003E */ c.le.s $f0, $f2
|
||||
/* BE55EC 80241E3C 00000000 */ nop
|
||||
/* BE55F0 80241E40 45030084 */ bc1tl .L80242054
|
||||
/* BE55F4 80241E44 AE400070 */ sw $zero, 0x70($s2)
|
||||
/* BE55F8 80241E48 08090815 */ j .L80242054
|
||||
/* BE55FC 80241E4C 00000000 */ nop
|
||||
.L80241E50:
|
||||
/* BE5600 80241E50 4622003C */ c.lt.d $f0, $f2
|
||||
/* BE5604 80241E54 00000000 */ nop
|
||||
/* BE5608 80241E58 4500007E */ bc1f .L80242054
|
||||
/* BE560C 80241E5C 00000000 */ nop
|
||||
/* BE5610 80241E60 9602008E */ lhu $v0, 0x8e($s0)
|
||||
/* BE5614 80241E64 24420001 */ addiu $v0, $v0, 1
|
||||
/* BE5618 80241E68 A602008E */ sh $v0, 0x8e($s0)
|
||||
/* BE561C 80241E6C 00021400 */ sll $v0, $v0, 0x10
|
||||
/* BE5620 80241E70 8E630020 */ lw $v1, 0x20($s3)
|
||||
/* BE5624 80241E74 00021403 */ sra $v0, $v0, 0x10
|
||||
/* BE5628 80241E78 0043102A */ slt $v0, $v0, $v1
|
||||
/* BE562C 80241E7C 14400026 */ bnez $v0, .L80241F18
|
||||
/* BE5630 80241E80 00000000 */ nop
|
||||
/* BE5634 80241E84 C60C0038 */ lwc1 $f12, 0x38($s0)
|
||||
/* BE5638 80241E88 C60E0040 */ lwc1 $f14, 0x40($s0)
|
||||
/* BE563C 80241E8C 3C02800F */ lui $v0, %hi(gPlayerStatusPtr)
|
||||
/* BE5640 80241E90 8C427B30 */ lw $v0, %lo(gPlayerStatusPtr)($v0)
|
||||
/* BE5644 80241E94 A600008E */ sh $zero, 0x8e($s0)
|
||||
/* BE5648 80241E98 8C460028 */ lw $a2, 0x28($v0)
|
||||
/* BE564C 80241E9C 0C00A720 */ jal atan2
|
||||
/* BE5650 80241EA0 8C470030 */ lw $a3, 0x30($v0)
|
||||
/* BE5654 80241EA4 46000506 */ mov.s $f20, $f0
|
||||
/* BE5658 80241EA8 C60C000C */ lwc1 $f12, 0xc($s0)
|
||||
/* BE565C 80241EAC 0C00A70A */ jal get_clamped_angle_diff
|
||||
/* BE5660 80241EB0 4600A386 */ mov.s $f14, $f20
|
||||
/* BE5664 80241EB4 46000086 */ mov.s $f2, $f0
|
||||
/* BE5668 80241EB8 8E62001C */ lw $v0, 0x1c($s3)
|
||||
/* BE566C 80241EBC 46001005 */ abs.s $f0, $f2
|
||||
/* BE5670 80241EC0 44822000 */ mtc1 $v0, $f4
|
||||
/* BE5674 80241EC4 00000000 */ nop
|
||||
/* BE5678 80241EC8 46802120 */ cvt.s.w $f4, $f4
|
||||
/* BE567C 80241ECC 4600203C */ c.lt.s $f4, $f0
|
||||
/* BE5680 80241ED0 00000000 */ nop
|
||||
/* BE5684 80241ED4 4500000D */ bc1f .L80241F0C
|
||||
/* BE5688 80241ED8 00000000 */ nop
|
||||
/* BE568C 80241EDC 44800000 */ mtc1 $zero, $f0
|
||||
/* BE5690 80241EE0 C614000C */ lwc1 $f20, 0xc($s0)
|
||||
/* BE5694 80241EE4 4600103C */ c.lt.s $f2, $f0
|
||||
/* BE5698 80241EE8 00000000 */ nop
|
||||
/* BE569C 80241EEC 45000006 */ bc1f .L80241F08
|
||||
/* BE56A0 80241EF0 00021023 */ negu $v0, $v0
|
||||
/* BE56A4 80241EF4 44820000 */ mtc1 $v0, $f0
|
||||
/* BE56A8 80241EF8 00000000 */ nop
|
||||
/* BE56AC 80241EFC 46800020 */ cvt.s.w $f0, $f0
|
||||
/* BE56B0 80241F00 080907C3 */ j .L80241F0C
|
||||
/* BE56B4 80241F04 4600A500 */ add.s $f20, $f20, $f0
|
||||
.L80241F08:
|
||||
/* BE56B8 80241F08 4604A500 */ add.s $f20, $f20, $f4
|
||||
.L80241F0C:
|
||||
/* BE56BC 80241F0C 0C00A6C9 */ jal clamp_angle
|
||||
/* BE56C0 80241F10 4600A306 */ mov.s $f12, $f20
|
||||
/* BE56C4 80241F14 E600000C */ swc1 $f0, 0xc($s0)
|
||||
.L80241F18:
|
||||
/* BE56C8 80241F18 8E020000 */ lw $v0, ($s0)
|
||||
/* BE56CC 80241F1C 30420008 */ andi $v0, $v0, 8
|
||||
/* BE56D0 80241F20 1040000A */ beqz $v0, .L80241F4C
|
||||
/* BE56D4 80241F24 27A50018 */ addiu $a1, $sp, 0x18
|
||||
/* BE56D8 80241F28 C602003C */ lwc1 $f2, 0x3c($s0)
|
||||
/* BE56DC 80241F2C C600001C */ lwc1 $f0, 0x1c($s0)
|
||||
/* BE56E0 80241F30 46001080 */ add.s $f2, $f2, $f0
|
||||
/* BE56E4 80241F34 4616103C */ c.lt.s $f2, $f22
|
||||
/* BE56E8 80241F38 00000000 */ nop
|
||||
/* BE56EC 80241F3C 45020045 */ bc1fl .L80242054
|
||||
/* BE56F0 80241F40 E602003C */ swc1 $f2, 0x3c($s0)
|
||||
/* BE56F4 80241F44 08090814 */ j .L80242050
|
||||
/* BE56F8 80241F48 E616003C */ swc1 $f22, 0x3c($s0)
|
||||
.L80241F4C:
|
||||
/* BE56FC 80241F4C C6000038 */ lwc1 $f0, 0x38($s0)
|
||||
/* BE5700 80241F50 27A6001C */ addiu $a2, $sp, 0x1c
|
||||
/* BE5704 80241F54 E7A00018 */ swc1 $f0, 0x18($sp)
|
||||
/* BE5708 80241F58 860200A8 */ lh $v0, 0xa8($s0)
|
||||
/* BE570C 80241F5C C600001C */ lwc1 $f0, 0x1c($s0)
|
||||
/* BE5710 80241F60 C604003C */ lwc1 $f4, 0x3c($s0)
|
||||
/* BE5714 80241F64 44821000 */ mtc1 $v0, $f2
|
||||
/* BE5718 80241F68 00000000 */ nop
|
||||
/* BE571C 80241F6C 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* BE5720 80241F70 46000005 */ abs.s $f0, $f0
|
||||
/* BE5724 80241F74 46020000 */ add.s $f0, $f0, $f2
|
||||
/* BE5728 80241F78 C6060040 */ lwc1 $f6, 0x40($s0)
|
||||
/* BE572C 80241F7C 27A20024 */ addiu $v0, $sp, 0x24
|
||||
/* BE5730 80241F80 46022100 */ add.s $f4, $f4, $f2
|
||||
/* BE5734 80241F84 3C014024 */ lui $at, 0x4024
|
||||
/* BE5738 80241F88 44811800 */ mtc1 $at, $f3
|
||||
/* BE573C 80241F8C 44801000 */ mtc1 $zero, $f2
|
||||
/* BE5740 80241F90 46000021 */ cvt.d.s $f0, $f0
|
||||
/* BE5744 80241F94 46220000 */ add.d $f0, $f0, $f2
|
||||
/* BE5748 80241F98 E7A60020 */ swc1 $f6, 0x20($sp)
|
||||
/* BE574C 80241F9C E7A4001C */ swc1 $f4, 0x1c($sp)
|
||||
/* BE5750 80241FA0 46200020 */ cvt.s.d $f0, $f0
|
||||
/* BE5754 80241FA4 E7A00024 */ swc1 $f0, 0x24($sp)
|
||||
/* BE5758 80241FA8 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* BE575C 80241FAC 8E040080 */ lw $a0, 0x80($s0)
|
||||
/* BE5760 80241FB0 0C0372DF */ jal func_800DCB7C
|
||||
/* BE5764 80241FB4 27A70020 */ addiu $a3, $sp, 0x20
|
||||
/* BE5768 80241FB8 10400015 */ beqz $v0, .L80242010
|
||||
/* BE576C 80241FBC 00000000 */ nop
|
||||
/* BE5770 80241FC0 860200A8 */ lh $v0, 0xa8($s0)
|
||||
/* BE5774 80241FC4 C604001C */ lwc1 $f4, 0x1c($s0)
|
||||
/* BE5778 80241FC8 44820000 */ mtc1 $v0, $f0
|
||||
/* BE577C 80241FCC 00000000 */ nop
|
||||
/* BE5780 80241FD0 46800020 */ cvt.s.w $f0, $f0
|
||||
/* BE5784 80241FD4 46002085 */ abs.s $f2, $f4
|
||||
/* BE5788 80241FD8 46020000 */ add.s $f0, $f0, $f2
|
||||
/* BE578C 80241FDC C7A20024 */ lwc1 $f2, 0x24($sp)
|
||||
/* BE5790 80241FE0 4600103E */ c.le.s $f2, $f0
|
||||
/* BE5794 80241FE4 00000000 */ nop
|
||||
/* BE5798 80241FE8 45000005 */ bc1f .L80242000
|
||||
/* BE579C 80241FEC 00000000 */ nop
|
||||
/* BE57A0 80241FF0 C7A0001C */ lwc1 $f0, 0x1c($sp)
|
||||
/* BE57A4 80241FF4 AE00001C */ sw $zero, 0x1c($s0)
|
||||
/* BE57A8 80241FF8 08090815 */ j .L80242054
|
||||
/* BE57AC 80241FFC E600003C */ swc1 $f0, 0x3c($s0)
|
||||
.L80242000:
|
||||
/* BE57B0 80242000 C600003C */ lwc1 $f0, 0x3c($s0)
|
||||
/* BE57B4 80242004 46040000 */ add.s $f0, $f0, $f4
|
||||
/* BE57B8 80242008 08090815 */ j .L80242054
|
||||
/* BE57BC 8024200C E600003C */ swc1 $f0, 0x3c($s0)
|
||||
.L80242010:
|
||||
/* BE57C0 80242010 C606003C */ lwc1 $f6, 0x3c($s0)
|
||||
/* BE57C4 80242014 860200A8 */ lh $v0, 0xa8($s0)
|
||||
/* BE57C8 80242018 46163081 */ sub.s $f2, $f6, $f22
|
||||
/* BE57CC 8024201C 44820000 */ mtc1 $v0, $f0
|
||||
/* BE57D0 80242020 00000000 */ nop
|
||||
/* BE57D4 80242024 46800020 */ cvt.s.w $f0, $f0
|
||||
/* BE57D8 80242028 46001080 */ add.s $f2, $f2, $f0
|
||||
/* BE57DC 8024202C C604001C */ lwc1 $f4, 0x1c($s0)
|
||||
/* BE57E0 80242030 46002005 */ abs.s $f0, $f4
|
||||
/* BE57E4 80242034 4602003C */ c.lt.s $f0, $f2
|
||||
/* BE57E8 80242038 00000000 */ nop
|
||||
/* BE57EC 8024203C 45020005 */ bc1fl .L80242054
|
||||
/* BE57F0 80242040 AE00001C */ sw $zero, 0x1c($s0)
|
||||
/* BE57F4 80242044 46043000 */ add.s $f0, $f6, $f4
|
||||
/* BE57F8 80242048 08090815 */ j .L80242054
|
||||
/* BE57FC 8024204C E600003C */ swc1 $f0, 0x3c($s0)
|
||||
.L80242050:
|
||||
/* BE5800 80242050 AE00001C */ sw $zero, 0x1c($s0)
|
||||
.L80242054:
|
||||
/* BE5804 80242054 8FBF0038 */ lw $ra, 0x38($sp)
|
||||
/* BE5808 80242058 8FB30034 */ lw $s3, 0x34($sp)
|
||||
/* BE580C 8024205C 8FB20030 */ lw $s2, 0x30($sp)
|
||||
/* BE5810 80242060 8FB1002C */ lw $s1, 0x2c($sp)
|
||||
/* BE5814 80242064 8FB00028 */ lw $s0, 0x28($sp)
|
||||
/* BE5818 80242068 D7B60048 */ ldc1 $f22, 0x48($sp)
|
||||
/* BE581C 8024206C D7B40040 */ ldc1 $f20, 0x40($sp)
|
||||
/* BE5820 80242070 03E00008 */ jr $ra
|
||||
/* BE5824 80242074 27BD0050 */ addiu $sp, $sp, 0x50
|
@ -46,7 +46,7 @@ glabel func_8024219C_BE594C
|
||||
/* BE59F0 80242240 02A0202D */ daddu $a0, $s5, $zero
|
||||
/* BE59F4 80242244 0240282D */ daddu $a1, $s2, $zero
|
||||
/* BE59F8 80242248 0280302D */ daddu $a2, $s4, $zero
|
||||
/* BE59FC 8024224C 0C09081E */ jal func_80242078
|
||||
/* BE59FC 8024224C 0C09081E */ jal func_80242078_BE5828
|
||||
/* BE5A00 80242250 0200382D */ daddu $a3, $s0, $zero
|
||||
.L80242254:
|
||||
/* BE5A04 80242254 2402FFFE */ addiu $v0, $zero, -2
|
||||
@ -73,49 +73,49 @@ glabel func_8024219C_BE594C
|
||||
/* BE5A54 802422A4 00000000 */ nop
|
||||
/* BE5A58 802422A8 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BE5A5C 802422AC 0200282D */ daddu $a1, $s0, $zero
|
||||
/* BE5A60 802422B0 0C0903A4 */ jal func_80240E90
|
||||
/* BE5A60 802422B0 0C0903A4 */ jal func_80240E90_BE4640
|
||||
/* BE5A64 802422B4 0260302D */ daddu $a2, $s3, $zero
|
||||
/* BE5A68 802422B8 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BE5A6C 802422BC 0200282D */ daddu $a1, $s0, $zero
|
||||
/* BE5A70 802422C0 0C090410 */ jal func_80241040
|
||||
/* BE5A70 802422C0 0C090410 */ jal func_80241040_BE47F0
|
||||
/* BE5A74 802422C4 0260302D */ daddu $a2, $s3, $zero
|
||||
/* BE5A78 802422C8 080908D9 */ j .L80242364
|
||||
/* BE5A7C 802422CC 0000102D */ daddu $v0, $zero, $zero
|
||||
/* BE5A80 802422D0 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BE5A84 802422D4 0200282D */ daddu $a1, $s0, $zero
|
||||
/* BE5A88 802422D8 0C09059A */ jal func_80241668
|
||||
/* BE5A88 802422D8 0C09059A */ jal func_80241668_BE4E18
|
||||
/* BE5A8C 802422DC 0260302D */ daddu $a2, $s3, $zero
|
||||
/* BE5A90 802422E0 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BE5A94 802422E4 0200282D */ daddu $a1, $s0, $zero
|
||||
/* BE5A98 802422E8 0C0905CA */ jal func_80241728
|
||||
/* BE5A98 802422E8 0C0905CA */ jal func_80241728_BE4ED8
|
||||
/* BE5A9C 802422EC 0260302D */ daddu $a2, $s3, $zero
|
||||
/* BE5AA0 802422F0 080908D9 */ j .L80242364
|
||||
/* 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
|
||||
/* BE5AB0 80242300 0C09069B */ jal func_80241A6C_BE521C
|
||||
/* BE5AB4 80242304 0260302D */ daddu $a2, $s3, $zero
|
||||
/* BE5AB8 80242308 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BE5ABC 8024230C 0200282D */ daddu $a1, $s0, $zero
|
||||
/* BE5AC0 80242310 0C0906B9 */ jal func_80241AE4
|
||||
/* BE5AC0 80242310 0C0906B9 */ jal func_80241AE4_BE5294
|
||||
/* BE5AC4 80242314 0260302D */ daddu $a2, $s3, $zero
|
||||
/* BE5AC8 80242318 080908D9 */ j .L80242364
|
||||
/* BE5ACC 8024231C 0000102D */ daddu $v0, $zero, $zero
|
||||
/* BE5AD0 80242320 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BE5AD4 80242324 0200282D */ daddu $a1, $s0, $zero
|
||||
/* BE5AD8 80242328 0C0906D4 */ jal func_80241B50
|
||||
/* BE5AD8 80242328 0C0906D4 */ jal func_80241B50_BE5300
|
||||
/* BE5ADC 8024232C 0260302D */ daddu $a2, $s3, $zero
|
||||
/* BE5AE0 80242330 080908D9 */ j .L80242364
|
||||
/* 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
|
||||
/* BE5AF0 80242340 0C090721 */ jal func_80241C84_BE5434
|
||||
/* BE5AF4 80242344 0260302D */ daddu $a2, $s3, $zero
|
||||
/* BE5AF8 80242348 080908D9 */ j .L80242364
|
||||
/* BE5AFC 8024234C 0000102D */ daddu $v0, $zero, $zero
|
||||
/* BE5B00 80242350 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BE5B04 80242354 0200282D */ daddu $a1, $s0, $zero
|
||||
/* BE5B08 80242358 0C09073A */ jal func_80241CE8
|
||||
/* BE5B08 80242358 0C09073A */ jal func_80241CE8_BE5498
|
||||
/* BE5B0C 8024235C 0260302D */ daddu $a2, $s3, $zero
|
||||
.L80242360:
|
||||
/* BE5B10 80242360 0000102D */ daddu $v0, $zero, $zero
|
||||
|
@ -1,96 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80242388
|
||||
/* BE5B38 80242388 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* BE5B3C 8024238C AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* BE5B40 80242390 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* BE5B44 80242394 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* BE5B48 80242398 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* BE5B4C 8024239C F7B40020 */ sdc1 $f20, 0x20($sp)
|
||||
/* BE5B50 802423A0 8C900148 */ lw $s0, 0x148($a0)
|
||||
/* BE5B54 802423A4 86040008 */ lh $a0, 8($s0)
|
||||
/* BE5B58 802423A8 3C014387 */ lui $at, 0x4387
|
||||
/* BE5B5C 802423AC 4481A000 */ mtc1 $at, $f20
|
||||
/* BE5B60 802423B0 0C00EABB */ jal get_npc_unsafe
|
||||
/* BE5B64 802423B4 00A0882D */ daddu $s1, $a1, $zero
|
||||
/* BE5B68 802423B8 0200202D */ daddu $a0, $s0, $zero
|
||||
/* BE5B6C 802423BC 8E26000C */ lw $a2, 0xc($s1)
|
||||
/* BE5B70 802423C0 8E270010 */ lw $a3, 0x10($s1)
|
||||
/* BE5B74 802423C4 0040882D */ daddu $s1, $v0, $zero
|
||||
/* BE5B78 802423C8 3C03800B */ lui $v1, %hi(gCameras)
|
||||
/* BE5B7C 802423CC 24631D80 */ addiu $v1, $v1, %lo(gCameras)
|
||||
/* BE5B80 802423D0 3C02800A */ lui $v0, 0x800a
|
||||
/* BE5B84 802423D4 8442A634 */ lh $v0, -0x59cc($v0)
|
||||
/* BE5B88 802423D8 0000282D */ daddu $a1, $zero, $zero
|
||||
/* BE5B8C 802423DC 00028080 */ sll $s0, $v0, 2
|
||||
/* BE5B90 802423E0 02028021 */ addu $s0, $s0, $v0
|
||||
/* BE5B94 802423E4 00108080 */ sll $s0, $s0, 2
|
||||
/* BE5B98 802423E8 02028023 */ subu $s0, $s0, $v0
|
||||
/* BE5B9C 802423EC 001010C0 */ sll $v0, $s0, 3
|
||||
/* BE5BA0 802423F0 02028021 */ addu $s0, $s0, $v0
|
||||
/* BE5BA4 802423F4 001080C0 */ sll $s0, $s0, 3
|
||||
/* BE5BA8 802423F8 0C0124FB */ jal func_800493EC
|
||||
/* BE5BAC 802423FC 02038021 */ addu $s0, $s0, $v1
|
||||
/* BE5BB0 80242400 C60C006C */ lwc1 $f12, 0x6c($s0)
|
||||
/* BE5BB4 80242404 C62E000C */ lwc1 $f14, 0xc($s1)
|
||||
/* BE5BB8 80242408 0C00A70A */ jal get_clamped_angle_diff
|
||||
/* BE5BBC 8024240C 0002802B */ sltu $s0, $zero, $v0
|
||||
/* BE5BC0 80242410 0C00A6C9 */ jal clamp_angle
|
||||
/* BE5BC4 80242414 46000306 */ mov.s $f12, $f0
|
||||
/* BE5BC8 80242418 3C018024 */ lui $at, 0x8024
|
||||
/* BE5BCC 8024241C D4224328 */ ldc1 $f2, 0x4328($at)
|
||||
/* BE5BD0 80242420 46000021 */ cvt.d.s $f0, $f0
|
||||
/* BE5BD4 80242424 4622003C */ c.lt.d $f0, $f2
|
||||
/* BE5BD8 80242428 00000000 */ nop
|
||||
/* BE5BDC 8024242C 45000003 */ bc1f .L8024243C
|
||||
/* BE5BE0 80242430 00000000 */ nop
|
||||
/* BE5BE4 80242434 3C0142B4 */ lui $at, 0x42b4
|
||||
/* BE5BE8 80242438 4481A000 */ mtc1 $at, $f20
|
||||
.L8024243C:
|
||||
/* BE5BEC 8024243C 3C12800F */ lui $s2, %hi(gPlayerStatusPtr)
|
||||
/* BE5BF0 80242440 26527B30 */ addiu $s2, $s2, %lo(gPlayerStatusPtr)
|
||||
/* BE5BF4 80242444 C62C0038 */ lwc1 $f12, 0x38($s1)
|
||||
/* BE5BF8 80242448 8E420000 */ lw $v0, ($s2)
|
||||
/* BE5BFC 8024244C C62E0040 */ lwc1 $f14, 0x40($s1)
|
||||
/* BE5C00 80242450 8C460028 */ lw $a2, 0x28($v0)
|
||||
/* BE5C04 80242454 0C00A720 */ jal atan2
|
||||
/* BE5C08 80242458 8C470030 */ lw $a3, 0x30($v0)
|
||||
/* BE5C0C 8024245C 4600A306 */ mov.s $f12, $f20
|
||||
/* BE5C10 80242460 0C00A70A */ jal get_clamped_angle_diff
|
||||
/* BE5C14 80242464 46000386 */ mov.s $f14, $f0
|
||||
/* BE5C18 80242468 46000005 */ abs.s $f0, $f0
|
||||
/* BE5C1C 8024246C 3C018024 */ lui $at, 0x8024
|
||||
/* BE5C20 80242470 D4224330 */ ldc1 $f2, 0x4330($at)
|
||||
/* BE5C24 80242474 46000021 */ cvt.d.s $f0, $f0
|
||||
/* BE5C28 80242478 4620103C */ c.lt.d $f2, $f0
|
||||
/* BE5C2C 8024247C 00000000 */ nop
|
||||
/* BE5C30 80242480 45030001 */ bc1tl .L80242488
|
||||
/* BE5C34 80242484 0000802D */ daddu $s0, $zero, $zero
|
||||
.L80242488:
|
||||
/* BE5C38 80242488 8E420000 */ lw $v0, ($s2)
|
||||
/* BE5C3C 8024248C C620003C */ lwc1 $f0, 0x3c($s1)
|
||||
/* BE5C40 80242490 C442002C */ lwc1 $f2, 0x2c($v0)
|
||||
/* BE5C44 80242494 46020001 */ sub.s $f0, $f0, $f2
|
||||
/* BE5C48 80242498 3C014220 */ lui $at, 0x4220
|
||||
/* BE5C4C 8024249C 44811000 */ mtc1 $at, $f2
|
||||
/* BE5C50 802424A0 46000005 */ abs.s $f0, $f0
|
||||
/* BE5C54 802424A4 4600103E */ c.le.s $f2, $f0
|
||||
/* BE5C58 802424A8 00000000 */ nop
|
||||
/* BE5C5C 802424AC 45030001 */ bc1tl .L802424B4
|
||||
/* BE5C60 802424B0 0000802D */ daddu $s0, $zero, $zero
|
||||
.L802424B4:
|
||||
/* BE5C64 802424B4 3C038011 */ lui $v1, 0x8011
|
||||
/* BE5C68 802424B8 8063EBB3 */ lb $v1, -0x144d($v1)
|
||||
/* BE5C6C 802424BC 24020009 */ addiu $v0, $zero, 9
|
||||
/* BE5C70 802424C0 50620001 */ beql $v1, $v0, .L802424C8
|
||||
/* BE5C74 802424C4 0000802D */ daddu $s0, $zero, $zero
|
||||
.L802424C8:
|
||||
/* BE5C78 802424C8 0200102D */ daddu $v0, $s0, $zero
|
||||
/* BE5C7C 802424CC 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* BE5C80 802424D0 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* BE5C84 802424D4 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* BE5C88 802424D8 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* BE5C8C 802424DC D7B40020 */ ldc1 $f20, 0x20($sp)
|
||||
/* BE5C90 802424E0 03E00008 */ jr $ra
|
||||
/* BE5C94 802424E4 27BD0028 */ addiu $sp, $sp, 0x28
|
@ -0,0 +1,96 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80242388_BE5B38
|
||||
/* BE5B38 80242388 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* BE5B3C 8024238C AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* BE5B40 80242390 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* BE5B44 80242394 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* BE5B48 80242398 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* BE5B4C 8024239C F7B40020 */ sdc1 $f20, 0x20($sp)
|
||||
/* BE5B50 802423A0 8C900148 */ lw $s0, 0x148($a0)
|
||||
/* BE5B54 802423A4 86040008 */ lh $a0, 8($s0)
|
||||
/* BE5B58 802423A8 3C014387 */ lui $at, 0x4387
|
||||
/* BE5B5C 802423AC 4481A000 */ mtc1 $at, $f20
|
||||
/* BE5B60 802423B0 0C00EABB */ jal get_npc_unsafe
|
||||
/* BE5B64 802423B4 00A0882D */ daddu $s1, $a1, $zero
|
||||
/* BE5B68 802423B8 0200202D */ daddu $a0, $s0, $zero
|
||||
/* BE5B6C 802423BC 8E26000C */ lw $a2, 0xc($s1)
|
||||
/* BE5B70 802423C0 8E270010 */ lw $a3, 0x10($s1)
|
||||
/* BE5B74 802423C4 0040882D */ daddu $s1, $v0, $zero
|
||||
/* BE5B78 802423C8 3C03800B */ lui $v1, %hi(gCameras)
|
||||
/* BE5B7C 802423CC 24631D80 */ addiu $v1, $v1, %lo(gCameras)
|
||||
/* BE5B80 802423D0 3C02800A */ lui $v0, 0x800a
|
||||
/* BE5B84 802423D4 8442A634 */ lh $v0, -0x59cc($v0)
|
||||
/* BE5B88 802423D8 0000282D */ daddu $a1, $zero, $zero
|
||||
/* BE5B8C 802423DC 00028080 */ sll $s0, $v0, 2
|
||||
/* BE5B90 802423E0 02028021 */ addu $s0, $s0, $v0
|
||||
/* BE5B94 802423E4 00108080 */ sll $s0, $s0, 2
|
||||
/* BE5B98 802423E8 02028023 */ subu $s0, $s0, $v0
|
||||
/* BE5B9C 802423EC 001010C0 */ sll $v0, $s0, 3
|
||||
/* BE5BA0 802423F0 02028021 */ addu $s0, $s0, $v0
|
||||
/* BE5BA4 802423F4 001080C0 */ sll $s0, $s0, 3
|
||||
/* BE5BA8 802423F8 0C0124FB */ jal func_800493EC
|
||||
/* BE5BAC 802423FC 02038021 */ addu $s0, $s0, $v1
|
||||
/* BE5BB0 80242400 C60C006C */ lwc1 $f12, 0x6c($s0)
|
||||
/* BE5BB4 80242404 C62E000C */ lwc1 $f14, 0xc($s1)
|
||||
/* BE5BB8 80242408 0C00A70A */ jal get_clamped_angle_diff
|
||||
/* BE5BBC 8024240C 0002802B */ sltu $s0, $zero, $v0
|
||||
/* BE5BC0 80242410 0C00A6C9 */ jal clamp_angle
|
||||
/* BE5BC4 80242414 46000306 */ mov.s $f12, $f0
|
||||
/* BE5BC8 80242418 3C018024 */ lui $at, 0x8024
|
||||
/* BE5BCC 8024241C D4224328 */ ldc1 $f2, 0x4328($at)
|
||||
/* BE5BD0 80242420 46000021 */ cvt.d.s $f0, $f0
|
||||
/* BE5BD4 80242424 4622003C */ c.lt.d $f0, $f2
|
||||
/* BE5BD8 80242428 00000000 */ nop
|
||||
/* BE5BDC 8024242C 45000003 */ bc1f .L8024243C
|
||||
/* BE5BE0 80242430 00000000 */ nop
|
||||
/* BE5BE4 80242434 3C0142B4 */ lui $at, 0x42b4
|
||||
/* BE5BE8 80242438 4481A000 */ mtc1 $at, $f20
|
||||
.L8024243C:
|
||||
/* BE5BEC 8024243C 3C12800F */ lui $s2, %hi(gPlayerStatusPtr)
|
||||
/* BE5BF0 80242440 26527B30 */ addiu $s2, $s2, %lo(gPlayerStatusPtr)
|
||||
/* BE5BF4 80242444 C62C0038 */ lwc1 $f12, 0x38($s1)
|
||||
/* BE5BF8 80242448 8E420000 */ lw $v0, ($s2)
|
||||
/* BE5BFC 8024244C C62E0040 */ lwc1 $f14, 0x40($s1)
|
||||
/* BE5C00 80242450 8C460028 */ lw $a2, 0x28($v0)
|
||||
/* BE5C04 80242454 0C00A720 */ jal atan2
|
||||
/* BE5C08 80242458 8C470030 */ lw $a3, 0x30($v0)
|
||||
/* BE5C0C 8024245C 4600A306 */ mov.s $f12, $f20
|
||||
/* BE5C10 80242460 0C00A70A */ jal get_clamped_angle_diff
|
||||
/* BE5C14 80242464 46000386 */ mov.s $f14, $f0
|
||||
/* BE5C18 80242468 46000005 */ abs.s $f0, $f0
|
||||
/* BE5C1C 8024246C 3C018024 */ lui $at, 0x8024
|
||||
/* BE5C20 80242470 D4224330 */ ldc1 $f2, 0x4330($at)
|
||||
/* BE5C24 80242474 46000021 */ cvt.d.s $f0, $f0
|
||||
/* BE5C28 80242478 4620103C */ c.lt.d $f2, $f0
|
||||
/* BE5C2C 8024247C 00000000 */ nop
|
||||
/* BE5C30 80242480 45030001 */ bc1tl .L80242488
|
||||
/* BE5C34 80242484 0000802D */ daddu $s0, $zero, $zero
|
||||
.L80242488:
|
||||
/* BE5C38 80242488 8E420000 */ lw $v0, ($s2)
|
||||
/* BE5C3C 8024248C C620003C */ lwc1 $f0, 0x3c($s1)
|
||||
/* BE5C40 80242490 C442002C */ lwc1 $f2, 0x2c($v0)
|
||||
/* BE5C44 80242494 46020001 */ sub.s $f0, $f0, $f2
|
||||
/* BE5C48 80242498 3C014220 */ lui $at, 0x4220
|
||||
/* BE5C4C 8024249C 44811000 */ mtc1 $at, $f2
|
||||
/* BE5C50 802424A0 46000005 */ abs.s $f0, $f0
|
||||
/* BE5C54 802424A4 4600103E */ c.le.s $f2, $f0
|
||||
/* BE5C58 802424A8 00000000 */ nop
|
||||
/* BE5C5C 802424AC 45030001 */ bc1tl .L802424B4
|
||||
/* BE5C60 802424B0 0000802D */ daddu $s0, $zero, $zero
|
||||
.L802424B4:
|
||||
/* BE5C64 802424B4 3C038011 */ lui $v1, 0x8011
|
||||
/* BE5C68 802424B8 8063EBB3 */ lb $v1, -0x144d($v1)
|
||||
/* BE5C6C 802424BC 24020009 */ addiu $v0, $zero, 9
|
||||
/* BE5C70 802424C0 50620001 */ beql $v1, $v0, .L802424C8
|
||||
/* BE5C74 802424C4 0000802D */ daddu $s0, $zero, $zero
|
||||
.L802424C8:
|
||||
/* BE5C78 802424C8 0200102D */ daddu $v0, $s0, $zero
|
||||
/* BE5C7C 802424CC 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* BE5C80 802424D0 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* BE5C84 802424D4 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* BE5C88 802424D8 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* BE5C8C 802424DC D7B40020 */ ldc1 $f20, 0x20($sp)
|
||||
/* BE5C90 802424E0 03E00008 */ jr $ra
|
||||
/* BE5C94 802424E4 27BD0028 */ addiu $sp, $sp, 0x28
|
@ -1,81 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_8024255C
|
||||
/* BE5D0C 8024255C 27BDFFB8 */ addiu $sp, $sp, -0x48
|
||||
/* BE5D10 80242560 AFB3003C */ sw $s3, 0x3c($sp)
|
||||
/* BE5D14 80242564 0080982D */ daddu $s3, $a0, $zero
|
||||
/* BE5D18 80242568 AFBF0044 */ sw $ra, 0x44($sp)
|
||||
/* BE5D1C 8024256C AFB40040 */ sw $s4, 0x40($sp)
|
||||
/* BE5D20 80242570 AFB20038 */ sw $s2, 0x38($sp)
|
||||
/* BE5D24 80242574 AFB10034 */ sw $s1, 0x34($sp)
|
||||
/* BE5D28 80242578 AFB00030 */ sw $s0, 0x30($sp)
|
||||
/* BE5D2C 8024257C 8E700148 */ lw $s0, 0x148($s3)
|
||||
/* BE5D30 80242580 00A0902D */ daddu $s2, $a1, $zero
|
||||
/* BE5D34 80242584 86040008 */ lh $a0, 8($s0)
|
||||
/* BE5D38 80242588 0C00EABB */ jal get_npc_unsafe
|
||||
/* BE5D3C 8024258C 00C0A02D */ daddu $s4, $a2, $zero
|
||||
/* BE5D40 80242590 8E630074 */ lw $v1, 0x74($s3)
|
||||
/* BE5D44 80242594 1C600032 */ bgtz $v1, .L80242660
|
||||
/* BE5D48 80242598 0040882D */ daddu $s1, $v0, $zero
|
||||
/* BE5D4C 8024259C 8E420014 */ lw $v0, 0x14($s2)
|
||||
/* BE5D50 802425A0 AE620074 */ sw $v0, 0x74($s3)
|
||||
/* BE5D54 802425A4 C640000C */ lwc1 $f0, 0xc($s2)
|
||||
/* BE5D58 802425A8 3C018024 */ lui $at, 0x8024
|
||||
/* BE5D5C 802425AC D4224338 */ ldc1 $f2, 0x4338($at)
|
||||
/* BE5D60 802425B0 46000021 */ cvt.d.s $f0, $f0
|
||||
/* BE5D64 802425B4 46220002 */ mul.d $f0, $f0, $f2
|
||||
/* BE5D68 802425B8 00000000 */ nop
|
||||
/* BE5D6C 802425BC 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BE5D70 802425C0 AFA00010 */ sw $zero, 0x10($sp)
|
||||
/* BE5D74 802425C4 8E470010 */ lw $a3, 0x10($s2)
|
||||
/* BE5D78 802425C8 46200020 */ cvt.s.d $f0, $f0
|
||||
/* BE5D7C 802425CC 44060000 */ mfc1 $a2, $f0
|
||||
/* BE5D80 802425D0 0C01242D */ jal func_800490B4
|
||||
/* BE5D84 802425D4 0200282D */ daddu $a1, $s0, $zero
|
||||
/* BE5D88 802425D8 10400021 */ beqz $v0, .L80242660
|
||||
/* BE5D8C 802425DC 0000202D */ daddu $a0, $zero, $zero
|
||||
/* BE5D90 802425E0 0220282D */ daddu $a1, $s1, $zero
|
||||
/* BE5D94 802425E4 0000302D */ daddu $a2, $zero, $zero
|
||||
/* BE5D98 802425E8 8E0200CC */ lw $v0, 0xcc($s0)
|
||||
/* BE5D9C 802425EC 3C013F80 */ lui $at, 0x3f80
|
||||
/* BE5DA0 802425F0 44810000 */ mtc1 $at, $f0
|
||||
/* BE5DA4 802425F4 3C014000 */ lui $at, 0x4000
|
||||
/* BE5DA8 802425F8 44811000 */ mtc1 $at, $f2
|
||||
/* BE5DAC 802425FC 8C430024 */ lw $v1, 0x24($v0)
|
||||
/* BE5DB0 80242600 862200A8 */ lh $v0, 0xa8($s1)
|
||||
/* BE5DB4 80242604 3C01C1A0 */ lui $at, 0xc1a0
|
||||
/* BE5DB8 80242608 44812000 */ mtc1 $at, $f4
|
||||
/* BE5DBC 8024260C 44823000 */ mtc1 $v0, $f6
|
||||
/* BE5DC0 80242610 00000000 */ nop
|
||||
/* BE5DC4 80242614 468031A0 */ cvt.s.w $f6, $f6
|
||||
/* BE5DC8 80242618 44073000 */ mfc1 $a3, $f6
|
||||
/* BE5DCC 8024261C 2402000F */ addiu $v0, $zero, 0xf
|
||||
/* BE5DD0 80242620 AE230028 */ sw $v1, 0x28($s1)
|
||||
/* BE5DD4 80242624 AFA2001C */ sw $v0, 0x1c($sp)
|
||||
/* BE5DD8 80242628 27A20028 */ addiu $v0, $sp, 0x28
|
||||
/* BE5DDC 8024262C E7A00010 */ swc1 $f0, 0x10($sp)
|
||||
/* BE5DE0 80242630 E7A20014 */ swc1 $f2, 0x14($sp)
|
||||
/* BE5DE4 80242634 E7A40018 */ swc1 $f4, 0x18($sp)
|
||||
/* BE5DE8 80242638 0C01BFA4 */ jal fx_emote
|
||||
/* BE5DEC 8024263C AFA20020 */ sw $v0, 0x20($sp)
|
||||
/* BE5DF0 80242640 0220202D */ daddu $a0, $s1, $zero
|
||||
/* BE5DF4 80242644 240502F4 */ addiu $a1, $zero, 0x2f4
|
||||
/* BE5DF8 80242648 0C012530 */ jal func_800494C0
|
||||
/* BE5DFC 8024264C 3C060020 */ lui $a2, 0x20
|
||||
/* BE5E00 80242650 2402000C */ addiu $v0, $zero, 0xc
|
||||
/* BE5E04 80242654 A622008E */ sh $v0, 0x8e($s1)
|
||||
/* BE5E08 80242658 24020002 */ addiu $v0, $zero, 2
|
||||
/* BE5E0C 8024265C AE620070 */ sw $v0, 0x70($s3)
|
||||
.L80242660:
|
||||
/* BE5E10 80242660 8E620074 */ lw $v0, 0x74($s3)
|
||||
/* BE5E14 80242664 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* BE5E18 80242668 AE620074 */ sw $v0, 0x74($s3)
|
||||
/* BE5E1C 8024266C 8FBF0044 */ lw $ra, 0x44($sp)
|
||||
/* BE5E20 80242670 8FB40040 */ lw $s4, 0x40($sp)
|
||||
/* BE5E24 80242674 8FB3003C */ lw $s3, 0x3c($sp)
|
||||
/* BE5E28 80242678 8FB20038 */ lw $s2, 0x38($sp)
|
||||
/* BE5E2C 8024267C 8FB10034 */ lw $s1, 0x34($sp)
|
||||
/* BE5E30 80242680 8FB00030 */ lw $s0, 0x30($sp)
|
||||
/* BE5E34 80242684 03E00008 */ jr $ra
|
||||
/* BE5E38 80242688 27BD0048 */ addiu $sp, $sp, 0x48
|
@ -0,0 +1,81 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_8024255C_BE5D0C
|
||||
/* BE5D0C 8024255C 27BDFFB8 */ addiu $sp, $sp, -0x48
|
||||
/* BE5D10 80242560 AFB3003C */ sw $s3, 0x3c($sp)
|
||||
/* BE5D14 80242564 0080982D */ daddu $s3, $a0, $zero
|
||||
/* BE5D18 80242568 AFBF0044 */ sw $ra, 0x44($sp)
|
||||
/* BE5D1C 8024256C AFB40040 */ sw $s4, 0x40($sp)
|
||||
/* BE5D20 80242570 AFB20038 */ sw $s2, 0x38($sp)
|
||||
/* BE5D24 80242574 AFB10034 */ sw $s1, 0x34($sp)
|
||||
/* BE5D28 80242578 AFB00030 */ sw $s0, 0x30($sp)
|
||||
/* BE5D2C 8024257C 8E700148 */ lw $s0, 0x148($s3)
|
||||
/* BE5D30 80242580 00A0902D */ daddu $s2, $a1, $zero
|
||||
/* BE5D34 80242584 86040008 */ lh $a0, 8($s0)
|
||||
/* BE5D38 80242588 0C00EABB */ jal get_npc_unsafe
|
||||
/* BE5D3C 8024258C 00C0A02D */ daddu $s4, $a2, $zero
|
||||
/* BE5D40 80242590 8E630074 */ lw $v1, 0x74($s3)
|
||||
/* BE5D44 80242594 1C600032 */ bgtz $v1, .L80242660
|
||||
/* BE5D48 80242598 0040882D */ daddu $s1, $v0, $zero
|
||||
/* BE5D4C 8024259C 8E420014 */ lw $v0, 0x14($s2)
|
||||
/* BE5D50 802425A0 AE620074 */ sw $v0, 0x74($s3)
|
||||
/* BE5D54 802425A4 C640000C */ lwc1 $f0, 0xc($s2)
|
||||
/* BE5D58 802425A8 3C018024 */ lui $at, 0x8024
|
||||
/* BE5D5C 802425AC D4224338 */ ldc1 $f2, 0x4338($at)
|
||||
/* BE5D60 802425B0 46000021 */ cvt.d.s $f0, $f0
|
||||
/* BE5D64 802425B4 46220002 */ mul.d $f0, $f0, $f2
|
||||
/* BE5D68 802425B8 00000000 */ nop
|
||||
/* BE5D6C 802425BC 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BE5D70 802425C0 AFA00010 */ sw $zero, 0x10($sp)
|
||||
/* BE5D74 802425C4 8E470010 */ lw $a3, 0x10($s2)
|
||||
/* BE5D78 802425C8 46200020 */ cvt.s.d $f0, $f0
|
||||
/* BE5D7C 802425CC 44060000 */ mfc1 $a2, $f0
|
||||
/* BE5D80 802425D0 0C01242D */ jal func_800490B4
|
||||
/* BE5D84 802425D4 0200282D */ daddu $a1, $s0, $zero
|
||||
/* BE5D88 802425D8 10400021 */ beqz $v0, .L80242660
|
||||
/* BE5D8C 802425DC 0000202D */ daddu $a0, $zero, $zero
|
||||
/* BE5D90 802425E0 0220282D */ daddu $a1, $s1, $zero
|
||||
/* BE5D94 802425E4 0000302D */ daddu $a2, $zero, $zero
|
||||
/* BE5D98 802425E8 8E0200CC */ lw $v0, 0xcc($s0)
|
||||
/* BE5D9C 802425EC 3C013F80 */ lui $at, 0x3f80
|
||||
/* BE5DA0 802425F0 44810000 */ mtc1 $at, $f0
|
||||
/* BE5DA4 802425F4 3C014000 */ lui $at, 0x4000
|
||||
/* BE5DA8 802425F8 44811000 */ mtc1 $at, $f2
|
||||
/* BE5DAC 802425FC 8C430024 */ lw $v1, 0x24($v0)
|
||||
/* BE5DB0 80242600 862200A8 */ lh $v0, 0xa8($s1)
|
||||
/* BE5DB4 80242604 3C01C1A0 */ lui $at, 0xc1a0
|
||||
/* BE5DB8 80242608 44812000 */ mtc1 $at, $f4
|
||||
/* BE5DBC 8024260C 44823000 */ mtc1 $v0, $f6
|
||||
/* BE5DC0 80242610 00000000 */ nop
|
||||
/* BE5DC4 80242614 468031A0 */ cvt.s.w $f6, $f6
|
||||
/* BE5DC8 80242618 44073000 */ mfc1 $a3, $f6
|
||||
/* BE5DCC 8024261C 2402000F */ addiu $v0, $zero, 0xf
|
||||
/* BE5DD0 80242620 AE230028 */ sw $v1, 0x28($s1)
|
||||
/* BE5DD4 80242624 AFA2001C */ sw $v0, 0x1c($sp)
|
||||
/* BE5DD8 80242628 27A20028 */ addiu $v0, $sp, 0x28
|
||||
/* BE5DDC 8024262C E7A00010 */ swc1 $f0, 0x10($sp)
|
||||
/* BE5DE0 80242630 E7A20014 */ swc1 $f2, 0x14($sp)
|
||||
/* BE5DE4 80242634 E7A40018 */ swc1 $f4, 0x18($sp)
|
||||
/* BE5DE8 80242638 0C01BFA4 */ jal fx_emote
|
||||
/* BE5DEC 8024263C AFA20020 */ sw $v0, 0x20($sp)
|
||||
/* BE5DF0 80242640 0220202D */ daddu $a0, $s1, $zero
|
||||
/* BE5DF4 80242644 240502F4 */ addiu $a1, $zero, 0x2f4
|
||||
/* BE5DF8 80242648 0C012530 */ jal func_800494C0
|
||||
/* BE5DFC 8024264C 3C060020 */ lui $a2, 0x20
|
||||
/* BE5E00 80242650 2402000C */ addiu $v0, $zero, 0xc
|
||||
/* BE5E04 80242654 A622008E */ sh $v0, 0x8e($s1)
|
||||
/* BE5E08 80242658 24020002 */ addiu $v0, $zero, 2
|
||||
/* BE5E0C 8024265C AE620070 */ sw $v0, 0x70($s3)
|
||||
.L80242660:
|
||||
/* BE5E10 80242660 8E620074 */ lw $v0, 0x74($s3)
|
||||
/* BE5E14 80242664 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* BE5E18 80242668 AE620074 */ sw $v0, 0x74($s3)
|
||||
/* BE5E1C 8024266C 8FBF0044 */ lw $ra, 0x44($sp)
|
||||
/* BE5E20 80242670 8FB40040 */ lw $s4, 0x40($sp)
|
||||
/* BE5E24 80242674 8FB3003C */ lw $s3, 0x3c($sp)
|
||||
/* BE5E28 80242678 8FB20038 */ lw $s2, 0x38($sp)
|
||||
/* BE5E2C 8024267C 8FB10034 */ lw $s1, 0x34($sp)
|
||||
/* BE5E30 80242680 8FB00030 */ lw $s0, 0x30($sp)
|
||||
/* BE5E34 80242684 03E00008 */ jr $ra
|
||||
/* BE5E38 80242688 27BD0048 */ addiu $sp, $sp, 0x48
|
@ -1,39 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80242728
|
||||
/* BE5ED8 80242728 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* BE5EDC 8024272C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* BE5EE0 80242730 0080882D */ daddu $s1, $a0, $zero
|
||||
/* BE5EE4 80242734 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* BE5EE8 80242738 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* BE5EEC 8024273C 8E220148 */ lw $v0, 0x148($s1)
|
||||
/* BE5EF0 80242740 0C00EABB */ jal get_npc_unsafe
|
||||
/* BE5EF4 80242744 84440008 */ lh $a0, 8($v0)
|
||||
/* BE5EF8 80242748 0040802D */ daddu $s0, $v0, $zero
|
||||
/* BE5EFC 8024274C 9602008E */ lhu $v0, 0x8e($s0)
|
||||
/* BE5F00 80242750 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* BE5F04 80242754 A602008E */ sh $v0, 0x8e($s0)
|
||||
/* BE5F08 80242758 00021400 */ sll $v0, $v0, 0x10
|
||||
/* BE5F0C 8024275C 1C40000F */ bgtz $v0, .L8024279C
|
||||
/* BE5F10 80242760 00000000 */ nop
|
||||
/* BE5F14 80242764 3C02800F */ lui $v0, %hi(gPlayerStatusPtr)
|
||||
/* BE5F18 80242768 8C427B30 */ lw $v0, %lo(gPlayerStatusPtr)($v0)
|
||||
/* BE5F1C 8024276C C60C0038 */ lwc1 $f12, 0x38($s0)
|
||||
/* BE5F20 80242770 C60E0040 */ lwc1 $f14, 0x40($s0)
|
||||
/* BE5F24 80242774 8C460028 */ lw $a2, 0x28($v0)
|
||||
/* BE5F28 80242778 0C00A720 */ jal atan2
|
||||
/* BE5F2C 8024277C 8C470030 */ lw $a3, 0x30($v0)
|
||||
/* BE5F30 80242780 2402001A */ addiu $v0, $zero, 0x1a
|
||||
/* BE5F34 80242784 A60200A8 */ sh $v0, 0xa8($s0)
|
||||
/* BE5F38 80242788 24020018 */ addiu $v0, $zero, 0x18
|
||||
/* BE5F3C 8024278C A60200A6 */ sh $v0, 0xa6($s0)
|
||||
/* BE5F40 80242790 24020004 */ addiu $v0, $zero, 4
|
||||
/* BE5F44 80242794 E600000C */ swc1 $f0, 0xc($s0)
|
||||
/* BE5F48 80242798 AE220070 */ sw $v0, 0x70($s1)
|
||||
.L8024279C:
|
||||
/* BE5F4C 8024279C 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* BE5F50 802427A0 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* BE5F54 802427A4 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* BE5F58 802427A8 03E00008 */ jr $ra
|
||||
/* BE5F5C 802427AC 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -0,0 +1,39 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80242728_BE5ED8
|
||||
/* BE5ED8 80242728 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* BE5EDC 8024272C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* BE5EE0 80242730 0080882D */ daddu $s1, $a0, $zero
|
||||
/* BE5EE4 80242734 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* BE5EE8 80242738 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* BE5EEC 8024273C 8E220148 */ lw $v0, 0x148($s1)
|
||||
/* BE5EF0 80242740 0C00EABB */ jal get_npc_unsafe
|
||||
/* BE5EF4 80242744 84440008 */ lh $a0, 8($v0)
|
||||
/* BE5EF8 80242748 0040802D */ daddu $s0, $v0, $zero
|
||||
/* BE5EFC 8024274C 9602008E */ lhu $v0, 0x8e($s0)
|
||||
/* BE5F00 80242750 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* BE5F04 80242754 A602008E */ sh $v0, 0x8e($s0)
|
||||
/* BE5F08 80242758 00021400 */ sll $v0, $v0, 0x10
|
||||
/* BE5F0C 8024275C 1C40000F */ bgtz $v0, .L8024279C
|
||||
/* BE5F10 80242760 00000000 */ nop
|
||||
/* BE5F14 80242764 3C02800F */ lui $v0, %hi(gPlayerStatusPtr)
|
||||
/* BE5F18 80242768 8C427B30 */ lw $v0, %lo(gPlayerStatusPtr)($v0)
|
||||
/* BE5F1C 8024276C C60C0038 */ lwc1 $f12, 0x38($s0)
|
||||
/* BE5F20 80242770 C60E0040 */ lwc1 $f14, 0x40($s0)
|
||||
/* BE5F24 80242774 8C460028 */ lw $a2, 0x28($v0)
|
||||
/* BE5F28 80242778 0C00A720 */ jal atan2
|
||||
/* BE5F2C 8024277C 8C470030 */ lw $a3, 0x30($v0)
|
||||
/* BE5F30 80242780 2402001A */ addiu $v0, $zero, 0x1a
|
||||
/* BE5F34 80242784 A60200A8 */ sh $v0, 0xa8($s0)
|
||||
/* BE5F38 80242788 24020018 */ addiu $v0, $zero, 0x18
|
||||
/* BE5F3C 8024278C A60200A6 */ sh $v0, 0xa6($s0)
|
||||
/* BE5F40 80242790 24020004 */ addiu $v0, $zero, 4
|
||||
/* BE5F44 80242794 E600000C */ swc1 $f0, 0xc($s0)
|
||||
/* BE5F48 80242798 AE220070 */ sw $v0, 0x70($s1)
|
||||
.L8024279C:
|
||||
/* BE5F4C 8024279C 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* BE5F50 802427A0 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* BE5F54 802427A4 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* BE5F58 802427A8 03E00008 */ jr $ra
|
||||
/* BE5F5C 802427AC 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -1,24 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802429CC
|
||||
/* BE617C 802429CC 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* BE6180 802429D0 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* BE6184 802429D4 0080882D */ daddu $s1, $a0, $zero
|
||||
/* BE6188 802429D8 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* BE618C 802429DC AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* BE6190 802429E0 8E300148 */ lw $s0, 0x148($s1)
|
||||
/* BE6194 802429E4 0C00EABB */ jal get_npc_unsafe
|
||||
/* BE6198 802429E8 86040008 */ lh $a0, 8($s0)
|
||||
/* BE619C 802429EC 96030096 */ lhu $v1, 0x96($s0)
|
||||
/* BE61A0 802429F0 A443008E */ sh $v1, 0x8e($v0)
|
||||
/* BE61A4 802429F4 8E0300CC */ lw $v1, 0xcc($s0)
|
||||
/* BE61A8 802429F8 8C630034 */ lw $v1, 0x34($v1)
|
||||
/* BE61AC 802429FC AC430028 */ sw $v1, 0x28($v0)
|
||||
/* BE61B0 80242A00 24020015 */ addiu $v0, $zero, 0x15
|
||||
/* BE61B4 80242A04 AE220070 */ sw $v0, 0x70($s1)
|
||||
/* BE61B8 80242A08 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* BE61BC 80242A0C 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* BE61C0 80242A10 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* BE61C4 80242A14 03E00008 */ jr $ra
|
||||
/* BE61C8 80242A18 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -0,0 +1,24 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802429CC_BE617C
|
||||
/* BE617C 802429CC 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* BE6180 802429D0 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* BE6184 802429D4 0080882D */ daddu $s1, $a0, $zero
|
||||
/* BE6188 802429D8 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* BE618C 802429DC AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* BE6190 802429E0 8E300148 */ lw $s0, 0x148($s1)
|
||||
/* BE6194 802429E4 0C00EABB */ jal get_npc_unsafe
|
||||
/* BE6198 802429E8 86040008 */ lh $a0, 8($s0)
|
||||
/* BE619C 802429EC 96030096 */ lhu $v1, 0x96($s0)
|
||||
/* BE61A0 802429F0 A443008E */ sh $v1, 0x8e($v0)
|
||||
/* BE61A4 802429F4 8E0300CC */ lw $v1, 0xcc($s0)
|
||||
/* BE61A8 802429F8 8C630034 */ lw $v1, 0x34($v1)
|
||||
/* BE61AC 802429FC AC430028 */ sw $v1, 0x28($v0)
|
||||
/* BE61B0 80242A00 24020015 */ addiu $v0, $zero, 0x15
|
||||
/* BE61B4 80242A04 AE220070 */ sw $v0, 0x70($s1)
|
||||
/* BE61B8 80242A08 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* BE61BC 80242A0C 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* BE61C0 80242A10 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* BE61C4 80242A14 03E00008 */ jr $ra
|
||||
/* BE61C8 80242A18 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -1,91 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80242BBC
|
||||
/* BE636C 80242BBC 27BDFFB8 */ addiu $sp, $sp, -0x48
|
||||
/* BE6370 80242BC0 AFB3003C */ sw $s3, 0x3c($sp)
|
||||
/* BE6374 80242BC4 0080982D */ daddu $s3, $a0, $zero
|
||||
/* BE6378 80242BC8 AFBF0040 */ sw $ra, 0x40($sp)
|
||||
/* BE637C 80242BCC AFB20038 */ sw $s2, 0x38($sp)
|
||||
/* BE6380 80242BD0 AFB10034 */ sw $s1, 0x34($sp)
|
||||
/* BE6384 80242BD4 AFB00030 */ sw $s0, 0x30($sp)
|
||||
/* BE6388 80242BD8 8E720148 */ lw $s2, 0x148($s3)
|
||||
/* BE638C 80242BDC 0C00EABB */ jal get_npc_unsafe
|
||||
/* BE6390 80242BE0 86440008 */ lh $a0, 8($s2)
|
||||
/* BE6394 80242BE4 0040802D */ daddu $s0, $v0, $zero
|
||||
/* BE6398 80242BE8 0200202D */ daddu $a0, $s0, $zero
|
||||
/* BE639C 80242BEC 0C00F598 */ jal func_8003D660
|
||||
/* BE63A0 80242BF0 24050001 */ addiu $a1, $zero, 1
|
||||
/* BE63A4 80242BF4 8E050018 */ lw $a1, 0x18($s0)
|
||||
/* BE63A8 80242BF8 8E06000C */ lw $a2, 0xc($s0)
|
||||
/* BE63AC 80242BFC 0C00EA95 */ jal npc_move_heading
|
||||
/* BE63B0 80242C00 0200202D */ daddu $a0, $s0, $zero
|
||||
/* BE63B4 80242C04 8E4300D0 */ lw $v1, 0xd0($s2)
|
||||
/* BE63B8 80242C08 C6000040 */ lwc1 $f0, 0x40($s0)
|
||||
/* BE63BC 80242C0C C462001C */ lwc1 $f2, 0x1c($v1)
|
||||
/* BE63C0 80242C10 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* BE63C4 80242C14 C4640024 */ lwc1 $f4, 0x24($v1)
|
||||
/* BE63C8 80242C18 46802120 */ cvt.s.w $f4, $f4
|
||||
/* BE63CC 80242C1C E7A00010 */ swc1 $f0, 0x10($sp)
|
||||
/* BE63D0 80242C20 8E4200D0 */ lw $v0, 0xd0($s2)
|
||||
/* BE63D4 80242C24 44051000 */ mfc1 $a1, $f2
|
||||
/* BE63D8 80242C28 C4400028 */ lwc1 $f0, 0x28($v0)
|
||||
/* BE63DC 80242C2C 46800020 */ cvt.s.w $f0, $f0
|
||||
/* BE63E0 80242C30 E7A00014 */ swc1 $f0, 0x14($sp)
|
||||
/* BE63E4 80242C34 8E4200D0 */ lw $v0, 0xd0($s2)
|
||||
/* BE63E8 80242C38 44062000 */ mfc1 $a2, $f4
|
||||
/* BE63EC 80242C3C C440002C */ lwc1 $f0, 0x2c($v0)
|
||||
/* BE63F0 80242C40 46800020 */ cvt.s.w $f0, $f0
|
||||
/* BE63F4 80242C44 E7A00018 */ swc1 $f0, 0x18($sp)
|
||||
/* BE63F8 80242C48 8C640030 */ lw $a0, 0x30($v1)
|
||||
/* BE63FC 80242C4C 0C0123F5 */ jal is_point_within_region
|
||||
/* BE6400 80242C50 8E070038 */ lw $a3, 0x38($s0)
|
||||
/* BE6404 80242C54 C6000038 */ lwc1 $f0, 0x38($s0)
|
||||
/* BE6408 80242C58 C602003C */ lwc1 $f2, 0x3c($s0)
|
||||
/* BE640C 80242C5C C6040040 */ lwc1 $f4, 0x40($s0)
|
||||
/* BE6410 80242C60 3C013F80 */ lui $at, 0x3f80
|
||||
/* BE6414 80242C64 44813000 */ mtc1 $at, $f6
|
||||
/* BE6418 80242C68 E7A00020 */ swc1 $f0, 0x20($sp)
|
||||
/* BE641C 80242C6C E7A20024 */ swc1 $f2, 0x24($sp)
|
||||
/* BE6420 80242C70 E7A40028 */ swc1 $f4, 0x28($sp)
|
||||
/* BE6424 80242C74 E7A60010 */ swc1 $f6, 0x10($sp)
|
||||
/* BE6428 80242C78 C600000C */ lwc1 $f0, 0xc($s0)
|
||||
/* BE642C 80242C7C 0002882B */ sltu $s1, $zero, $v0
|
||||
/* BE6430 80242C80 E7A00014 */ swc1 $f0, 0x14($sp)
|
||||
/* BE6434 80242C84 860200A8 */ lh $v0, 0xa8($s0)
|
||||
/* BE6438 80242C88 27A50020 */ addiu $a1, $sp, 0x20
|
||||
/* BE643C 80242C8C 44820000 */ mtc1 $v0, $f0
|
||||
/* BE6440 80242C90 00000000 */ nop
|
||||
/* BE6444 80242C94 46800020 */ cvt.s.w $f0, $f0
|
||||
/* BE6448 80242C98 E7A00018 */ swc1 $f0, 0x18($sp)
|
||||
/* BE644C 80242C9C 860200A6 */ lh $v0, 0xa6($s0)
|
||||
/* BE6450 80242CA0 27A60024 */ addiu $a2, $sp, 0x24
|
||||
/* BE6454 80242CA4 44820000 */ mtc1 $v0, $f0
|
||||
/* BE6458 80242CA8 00000000 */ nop
|
||||
/* BE645C 80242CAC 46800020 */ cvt.s.w $f0, $f0
|
||||
/* BE6460 80242CB0 E7A0001C */ swc1 $f0, 0x1c($sp)
|
||||
/* BE6464 80242CB4 8E040080 */ lw $a0, 0x80($s0)
|
||||
/* BE6468 80242CB8 0C037711 */ jal func_800DDC44
|
||||
/* BE646C 80242CBC 27A70028 */ addiu $a3, $sp, 0x28
|
||||
/* BE6470 80242CC0 54400001 */ bnel $v0, $zero, .L80242CC8
|
||||
/* BE6474 80242CC4 24110001 */ addiu $s1, $zero, 1
|
||||
.L80242CC8:
|
||||
/* BE6478 80242CC8 9602008E */ lhu $v0, 0x8e($s0)
|
||||
/* BE647C 80242CCC 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* BE6480 80242CD0 A602008E */ sh $v0, 0x8e($s0)
|
||||
/* BE6484 80242CD4 00021400 */ sll $v0, $v0, 0x10
|
||||
/* BE6488 80242CD8 58400001 */ blezl $v0, .L80242CE0
|
||||
/* BE648C 80242CDC 24110001 */ addiu $s1, $zero, 1
|
||||
.L80242CE0:
|
||||
/* BE6490 80242CE0 12200003 */ beqz $s1, .L80242CF0
|
||||
/* BE6494 80242CE4 24020004 */ addiu $v0, $zero, 4
|
||||
/* BE6498 80242CE8 AE620070 */ sw $v0, 0x70($s3)
|
||||
/* BE649C 80242CEC A2400007 */ sb $zero, 7($s2)
|
||||
.L80242CF0:
|
||||
/* BE64A0 80242CF0 8FBF0040 */ lw $ra, 0x40($sp)
|
||||
/* BE64A4 80242CF4 8FB3003C */ lw $s3, 0x3c($sp)
|
||||
/* BE64A8 80242CF8 8FB20038 */ lw $s2, 0x38($sp)
|
||||
/* BE64AC 80242CFC 8FB10034 */ lw $s1, 0x34($sp)
|
||||
/* BE64B0 80242D00 8FB00030 */ lw $s0, 0x30($sp)
|
||||
/* BE64B4 80242D04 03E00008 */ jr $ra
|
||||
/* BE64B8 80242D08 27BD0048 */ addiu $sp, $sp, 0x48
|
@ -0,0 +1,91 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80242BBC_BE636C
|
||||
/* BE636C 80242BBC 27BDFFB8 */ addiu $sp, $sp, -0x48
|
||||
/* BE6370 80242BC0 AFB3003C */ sw $s3, 0x3c($sp)
|
||||
/* BE6374 80242BC4 0080982D */ daddu $s3, $a0, $zero
|
||||
/* BE6378 80242BC8 AFBF0040 */ sw $ra, 0x40($sp)
|
||||
/* BE637C 80242BCC AFB20038 */ sw $s2, 0x38($sp)
|
||||
/* BE6380 80242BD0 AFB10034 */ sw $s1, 0x34($sp)
|
||||
/* BE6384 80242BD4 AFB00030 */ sw $s0, 0x30($sp)
|
||||
/* BE6388 80242BD8 8E720148 */ lw $s2, 0x148($s3)
|
||||
/* BE638C 80242BDC 0C00EABB */ jal get_npc_unsafe
|
||||
/* BE6390 80242BE0 86440008 */ lh $a0, 8($s2)
|
||||
/* BE6394 80242BE4 0040802D */ daddu $s0, $v0, $zero
|
||||
/* BE6398 80242BE8 0200202D */ daddu $a0, $s0, $zero
|
||||
/* BE639C 80242BEC 0C00F598 */ jal func_8003D660
|
||||
/* BE63A0 80242BF0 24050001 */ addiu $a1, $zero, 1
|
||||
/* BE63A4 80242BF4 8E050018 */ lw $a1, 0x18($s0)
|
||||
/* BE63A8 80242BF8 8E06000C */ lw $a2, 0xc($s0)
|
||||
/* BE63AC 80242BFC 0C00EA95 */ jal npc_move_heading
|
||||
/* BE63B0 80242C00 0200202D */ daddu $a0, $s0, $zero
|
||||
/* BE63B4 80242C04 8E4300D0 */ lw $v1, 0xd0($s2)
|
||||
/* BE63B8 80242C08 C6000040 */ lwc1 $f0, 0x40($s0)
|
||||
/* BE63BC 80242C0C C462001C */ lwc1 $f2, 0x1c($v1)
|
||||
/* BE63C0 80242C10 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* BE63C4 80242C14 C4640024 */ lwc1 $f4, 0x24($v1)
|
||||
/* BE63C8 80242C18 46802120 */ cvt.s.w $f4, $f4
|
||||
/* BE63CC 80242C1C E7A00010 */ swc1 $f0, 0x10($sp)
|
||||
/* BE63D0 80242C20 8E4200D0 */ lw $v0, 0xd0($s2)
|
||||
/* BE63D4 80242C24 44051000 */ mfc1 $a1, $f2
|
||||
/* BE63D8 80242C28 C4400028 */ lwc1 $f0, 0x28($v0)
|
||||
/* BE63DC 80242C2C 46800020 */ cvt.s.w $f0, $f0
|
||||
/* BE63E0 80242C30 E7A00014 */ swc1 $f0, 0x14($sp)
|
||||
/* BE63E4 80242C34 8E4200D0 */ lw $v0, 0xd0($s2)
|
||||
/* BE63E8 80242C38 44062000 */ mfc1 $a2, $f4
|
||||
/* BE63EC 80242C3C C440002C */ lwc1 $f0, 0x2c($v0)
|
||||
/* BE63F0 80242C40 46800020 */ cvt.s.w $f0, $f0
|
||||
/* BE63F4 80242C44 E7A00018 */ swc1 $f0, 0x18($sp)
|
||||
/* BE63F8 80242C48 8C640030 */ lw $a0, 0x30($v1)
|
||||
/* BE63FC 80242C4C 0C0123F5 */ jal is_point_within_region
|
||||
/* BE6400 80242C50 8E070038 */ lw $a3, 0x38($s0)
|
||||
/* BE6404 80242C54 C6000038 */ lwc1 $f0, 0x38($s0)
|
||||
/* BE6408 80242C58 C602003C */ lwc1 $f2, 0x3c($s0)
|
||||
/* BE640C 80242C5C C6040040 */ lwc1 $f4, 0x40($s0)
|
||||
/* BE6410 80242C60 3C013F80 */ lui $at, 0x3f80
|
||||
/* BE6414 80242C64 44813000 */ mtc1 $at, $f6
|
||||
/* BE6418 80242C68 E7A00020 */ swc1 $f0, 0x20($sp)
|
||||
/* BE641C 80242C6C E7A20024 */ swc1 $f2, 0x24($sp)
|
||||
/* BE6420 80242C70 E7A40028 */ swc1 $f4, 0x28($sp)
|
||||
/* BE6424 80242C74 E7A60010 */ swc1 $f6, 0x10($sp)
|
||||
/* BE6428 80242C78 C600000C */ lwc1 $f0, 0xc($s0)
|
||||
/* BE642C 80242C7C 0002882B */ sltu $s1, $zero, $v0
|
||||
/* BE6430 80242C80 E7A00014 */ swc1 $f0, 0x14($sp)
|
||||
/* BE6434 80242C84 860200A8 */ lh $v0, 0xa8($s0)
|
||||
/* BE6438 80242C88 27A50020 */ addiu $a1, $sp, 0x20
|
||||
/* BE643C 80242C8C 44820000 */ mtc1 $v0, $f0
|
||||
/* BE6440 80242C90 00000000 */ nop
|
||||
/* BE6444 80242C94 46800020 */ cvt.s.w $f0, $f0
|
||||
/* BE6448 80242C98 E7A00018 */ swc1 $f0, 0x18($sp)
|
||||
/* BE644C 80242C9C 860200A6 */ lh $v0, 0xa6($s0)
|
||||
/* BE6450 80242CA0 27A60024 */ addiu $a2, $sp, 0x24
|
||||
/* BE6454 80242CA4 44820000 */ mtc1 $v0, $f0
|
||||
/* BE6458 80242CA8 00000000 */ nop
|
||||
/* BE645C 80242CAC 46800020 */ cvt.s.w $f0, $f0
|
||||
/* BE6460 80242CB0 E7A0001C */ swc1 $f0, 0x1c($sp)
|
||||
/* BE6464 80242CB4 8E040080 */ lw $a0, 0x80($s0)
|
||||
/* BE6468 80242CB8 0C037711 */ jal func_800DDC44
|
||||
/* BE646C 80242CBC 27A70028 */ addiu $a3, $sp, 0x28
|
||||
/* BE6470 80242CC0 54400001 */ bnel $v0, $zero, .L80242CC8
|
||||
/* BE6474 80242CC4 24110001 */ addiu $s1, $zero, 1
|
||||
.L80242CC8:
|
||||
/* BE6478 80242CC8 9602008E */ lhu $v0, 0x8e($s0)
|
||||
/* BE647C 80242CCC 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* BE6480 80242CD0 A602008E */ sh $v0, 0x8e($s0)
|
||||
/* BE6484 80242CD4 00021400 */ sll $v0, $v0, 0x10
|
||||
/* BE6488 80242CD8 58400001 */ blezl $v0, .L80242CE0
|
||||
/* BE648C 80242CDC 24110001 */ addiu $s1, $zero, 1
|
||||
.L80242CE0:
|
||||
/* BE6490 80242CE0 12200003 */ beqz $s1, .L80242CF0
|
||||
/* BE6494 80242CE4 24020004 */ addiu $v0, $zero, 4
|
||||
/* BE6498 80242CE8 AE620070 */ sw $v0, 0x70($s3)
|
||||
/* BE649C 80242CEC A2400007 */ sb $zero, 7($s2)
|
||||
.L80242CF0:
|
||||
/* BE64A0 80242CF0 8FBF0040 */ lw $ra, 0x40($sp)
|
||||
/* BE64A4 80242CF4 8FB3003C */ lw $s3, 0x3c($sp)
|
||||
/* BE64A8 80242CF8 8FB20038 */ lw $s2, 0x38($sp)
|
||||
/* BE64AC 80242CFC 8FB10034 */ lw $s1, 0x34($sp)
|
||||
/* BE64B0 80242D00 8FB00030 */ lw $s0, 0x30($sp)
|
||||
/* BE64B4 80242D04 03E00008 */ jr $ra
|
||||
/* BE64B8 80242D08 27BD0048 */ addiu $sp, $sp, 0x48
|
@ -1,50 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80242D0C
|
||||
/* BE64BC 80242D0C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* BE64C0 80242D10 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* BE64C4 80242D14 0080902D */ daddu $s2, $a0, $zero
|
||||
/* BE64C8 80242D18 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* BE64CC 80242D1C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* BE64D0 80242D20 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* BE64D4 80242D24 8E500148 */ lw $s0, 0x148($s2)
|
||||
/* BE64D8 80242D28 86040008 */ lh $a0, 8($s0)
|
||||
/* BE64DC 80242D2C 0C00EABB */ jal get_npc_unsafe
|
||||
/* BE64E0 80242D30 00A0882D */ daddu $s1, $a1, $zero
|
||||
/* BE64E4 80242D34 0040182D */ daddu $v1, $v0, $zero
|
||||
/* BE64E8 80242D38 9462008E */ lhu $v0, 0x8e($v1)
|
||||
/* BE64EC 80242D3C 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* BE64F0 80242D40 A462008E */ sh $v0, 0x8e($v1)
|
||||
/* BE64F4 80242D44 00021400 */ sll $v0, $v0, 0x10
|
||||
/* BE64F8 80242D48 1C400015 */ bgtz $v0, .L80242DA0
|
||||
/* BE64FC 80242D4C 00000000 */ nop
|
||||
/* BE6500 80242D50 8E0200CC */ lw $v0, 0xcc($s0)
|
||||
/* BE6504 80242D54 8C420004 */ lw $v0, 4($v0)
|
||||
/* BE6508 80242D58 AC620028 */ sw $v0, 0x28($v1)
|
||||
/* BE650C 80242D5C 8E0200D0 */ lw $v0, 0xd0($s0)
|
||||
/* BE6510 80242D60 8C420014 */ lw $v0, 0x14($v0)
|
||||
/* BE6514 80242D64 04410004 */ bgez $v0, .L80242D78
|
||||
/* BE6518 80242D68 00000000 */ nop
|
||||
/* BE651C 80242D6C C6200000 */ lwc1 $f0, ($s1)
|
||||
/* BE6520 80242D70 08090B66 */ j .L80242D98
|
||||
/* BE6524 80242D74 E4600018 */ swc1 $f0, 0x18($v1)
|
||||
.L80242D78:
|
||||
/* BE6528 80242D78 3C018024 */ lui $at, 0x8024
|
||||
/* BE652C 80242D7C D4224348 */ ldc1 $f2, 0x4348($at)
|
||||
/* BE6530 80242D80 44820000 */ mtc1 $v0, $f0
|
||||
/* BE6534 80242D84 00000000 */ nop
|
||||
/* BE6538 80242D88 46800021 */ cvt.d.w $f0, $f0
|
||||
/* BE653C 80242D8C 46220003 */ div.d $f0, $f0, $f2
|
||||
/* BE6540 80242D90 46200020 */ cvt.s.d $f0, $f0
|
||||
/* BE6544 80242D94 E4600018 */ swc1 $f0, 0x18($v1)
|
||||
.L80242D98:
|
||||
/* BE6548 80242D98 24020029 */ addiu $v0, $zero, 0x29
|
||||
/* BE654C 80242D9C AE420070 */ sw $v0, 0x70($s2)
|
||||
.L80242DA0:
|
||||
/* BE6550 80242DA0 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* BE6554 80242DA4 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* BE6558 80242DA8 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* BE655C 80242DAC 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* BE6560 80242DB0 03E00008 */ jr $ra
|
||||
/* BE6564 80242DB4 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -0,0 +1,50 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80242D0C_BE64BC
|
||||
/* BE64BC 80242D0C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* BE64C0 80242D10 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* BE64C4 80242D14 0080902D */ daddu $s2, $a0, $zero
|
||||
/* BE64C8 80242D18 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* BE64CC 80242D1C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* BE64D0 80242D20 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* BE64D4 80242D24 8E500148 */ lw $s0, 0x148($s2)
|
||||
/* BE64D8 80242D28 86040008 */ lh $a0, 8($s0)
|
||||
/* BE64DC 80242D2C 0C00EABB */ jal get_npc_unsafe
|
||||
/* BE64E0 80242D30 00A0882D */ daddu $s1, $a1, $zero
|
||||
/* BE64E4 80242D34 0040182D */ daddu $v1, $v0, $zero
|
||||
/* BE64E8 80242D38 9462008E */ lhu $v0, 0x8e($v1)
|
||||
/* BE64EC 80242D3C 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* BE64F0 80242D40 A462008E */ sh $v0, 0x8e($v1)
|
||||
/* BE64F4 80242D44 00021400 */ sll $v0, $v0, 0x10
|
||||
/* BE64F8 80242D48 1C400015 */ bgtz $v0, .L80242DA0
|
||||
/* BE64FC 80242D4C 00000000 */ nop
|
||||
/* BE6500 80242D50 8E0200CC */ lw $v0, 0xcc($s0)
|
||||
/* BE6504 80242D54 8C420004 */ lw $v0, 4($v0)
|
||||
/* BE6508 80242D58 AC620028 */ sw $v0, 0x28($v1)
|
||||
/* BE650C 80242D5C 8E0200D0 */ lw $v0, 0xd0($s0)
|
||||
/* BE6510 80242D60 8C420014 */ lw $v0, 0x14($v0)
|
||||
/* BE6514 80242D64 04410004 */ bgez $v0, .L80242D78
|
||||
/* BE6518 80242D68 00000000 */ nop
|
||||
/* BE651C 80242D6C C6200000 */ lwc1 $f0, ($s1)
|
||||
/* BE6520 80242D70 08090B66 */ j .L80242D98
|
||||
/* BE6524 80242D74 E4600018 */ swc1 $f0, 0x18($v1)
|
||||
.L80242D78:
|
||||
/* BE6528 80242D78 3C018024 */ lui $at, 0x8024
|
||||
/* BE652C 80242D7C D4224348 */ ldc1 $f2, 0x4348($at)
|
||||
/* BE6530 80242D80 44820000 */ mtc1 $v0, $f0
|
||||
/* BE6534 80242D84 00000000 */ nop
|
||||
/* BE6538 80242D88 46800021 */ cvt.d.w $f0, $f0
|
||||
/* BE653C 80242D8C 46220003 */ div.d $f0, $f0, $f2
|
||||
/* BE6540 80242D90 46200020 */ cvt.s.d $f0, $f0
|
||||
/* BE6544 80242D94 E4600018 */ swc1 $f0, 0x18($v1)
|
||||
.L80242D98:
|
||||
/* BE6548 80242D98 24020029 */ addiu $v0, $zero, 0x29
|
||||
/* BE654C 80242D9C AE420070 */ sw $v0, 0x70($s2)
|
||||
.L80242DA0:
|
||||
/* BE6550 80242DA0 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* BE6554 80242DA4 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* BE6558 80242DA8 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* BE655C 80242DAC 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* BE6560 80242DB0 03E00008 */ jr $ra
|
||||
/* BE6564 80242DB4 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -1,85 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80242DB8
|
||||
/* BE6568 80242DB8 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* BE656C 80242DBC AFB30024 */ sw $s3, 0x24($sp)
|
||||
/* BE6570 80242DC0 0080982D */ daddu $s3, $a0, $zero
|
||||
/* BE6574 80242DC4 AFBF0028 */ sw $ra, 0x28($sp)
|
||||
/* BE6578 80242DC8 AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* BE657C 80242DCC AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* BE6580 80242DD0 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* BE6584 80242DD4 8E720148 */ lw $s2, 0x148($s3)
|
||||
/* BE6588 80242DD8 00A0882D */ daddu $s1, $a1, $zero
|
||||
/* BE658C 80242DDC 86440008 */ lh $a0, 8($s2)
|
||||
/* BE6590 80242DE0 0C00EABB */ jal get_npc_unsafe
|
||||
/* BE6594 80242DE4 00C0802D */ daddu $s0, $a2, $zero
|
||||
/* BE6598 80242DE8 0200202D */ daddu $a0, $s0, $zero
|
||||
/* BE659C 80242DEC 0240282D */ daddu $a1, $s2, $zero
|
||||
/* BE65A0 80242DF0 AFA00010 */ sw $zero, 0x10($sp)
|
||||
/* BE65A4 80242DF4 8E260024 */ lw $a2, 0x24($s1)
|
||||
/* BE65A8 80242DF8 8E270028 */ lw $a3, 0x28($s1)
|
||||
/* BE65AC 80242DFC 0C01242D */ jal func_800490B4
|
||||
/* BE65B0 80242E00 0040802D */ daddu $s0, $v0, $zero
|
||||
/* BE65B4 80242E04 1040000C */ beqz $v0, .L80242E38
|
||||
/* BE65B8 80242E08 00000000 */ nop
|
||||
/* BE65BC 80242E0C C60C0038 */ lwc1 $f12, 0x38($s0)
|
||||
/* BE65C0 80242E10 3C02800F */ lui $v0, %hi(gPlayerStatusPtr)
|
||||
/* BE65C4 80242E14 8C427B30 */ lw $v0, %lo(gPlayerStatusPtr)($v0)
|
||||
/* BE65C8 80242E18 C60E0040 */ lwc1 $f14, 0x40($s0)
|
||||
/* BE65CC 80242E1C 8C460028 */ lw $a2, 0x28($v0)
|
||||
/* BE65D0 80242E20 0C00A720 */ jal atan2
|
||||
/* BE65D4 80242E24 8C470030 */ lw $a3, 0x30($v0)
|
||||
/* BE65D8 80242E28 2402000C */ addiu $v0, $zero, 0xc
|
||||
/* BE65DC 80242E2C E600000C */ swc1 $f0, 0xc($s0)
|
||||
/* BE65E0 80242E30 08090BB5 */ j .L80242ED4
|
||||
/* BE65E4 80242E34 AE620070 */ sw $v0, 0x70($s3)
|
||||
.L80242E38:
|
||||
/* BE65E8 80242E38 C60C0038 */ lwc1 $f12, 0x38($s0)
|
||||
/* BE65EC 80242E3C 8E4200D0 */ lw $v0, 0xd0($s2)
|
||||
/* BE65F0 80242E40 C60E0040 */ lwc1 $f14, 0x40($s0)
|
||||
/* BE65F4 80242E44 C4440000 */ lwc1 $f4, ($v0)
|
||||
/* BE65F8 80242E48 46802120 */ cvt.s.w $f4, $f4
|
||||
/* BE65FC 80242E4C 44062000 */ mfc1 $a2, $f4
|
||||
/* BE6600 80242E50 C4440008 */ lwc1 $f4, 8($v0)
|
||||
/* BE6604 80242E54 46802120 */ cvt.s.w $f4, $f4
|
||||
/* BE6608 80242E58 44072000 */ mfc1 $a3, $f4
|
||||
/* BE660C 80242E5C 0C00A7B5 */ jal dist2D
|
||||
/* BE6610 80242E60 00000000 */ nop
|
||||
/* BE6614 80242E64 C6020018 */ lwc1 $f2, 0x18($s0)
|
||||
/* BE6618 80242E68 4602003E */ c.le.s $f0, $f2
|
||||
/* BE661C 80242E6C 00000000 */ nop
|
||||
/* BE6620 80242E70 45000005 */ bc1f .L80242E88
|
||||
/* BE6624 80242E74 2402000A */ addiu $v0, $zero, 0xa
|
||||
/* BE6628 80242E78 A602008E */ sh $v0, 0x8e($s0)
|
||||
/* BE662C 80242E7C 24020032 */ addiu $v0, $zero, 0x32
|
||||
/* BE6630 80242E80 08090BB5 */ j .L80242ED4
|
||||
/* BE6634 80242E84 AE620070 */ sw $v0, 0x70($s3)
|
||||
.L80242E88:
|
||||
/* BE6638 80242E88 8602008C */ lh $v0, 0x8c($s0)
|
||||
/* BE663C 80242E8C 14400011 */ bnez $v0, .L80242ED4
|
||||
/* BE6640 80242E90 00000000 */ nop
|
||||
/* BE6644 80242E94 C60C0038 */ lwc1 $f12, 0x38($s0)
|
||||
/* BE6648 80242E98 8E4200D0 */ lw $v0, 0xd0($s2)
|
||||
/* BE664C 80242E9C C60E0040 */ lwc1 $f14, 0x40($s0)
|
||||
/* BE6650 80242EA0 C4440000 */ lwc1 $f4, ($v0)
|
||||
/* BE6654 80242EA4 46802120 */ cvt.s.w $f4, $f4
|
||||
/* BE6658 80242EA8 44062000 */ mfc1 $a2, $f4
|
||||
/* BE665C 80242EAC C4440008 */ lwc1 $f4, 8($v0)
|
||||
/* BE6660 80242EB0 46802120 */ cvt.s.w $f4, $f4
|
||||
/* BE6664 80242EB4 44072000 */ mfc1 $a3, $f4
|
||||
/* BE6668 80242EB8 0C00A720 */ jal atan2
|
||||
/* BE666C 80242EBC 00000000 */ nop
|
||||
/* BE6670 80242EC0 8E050018 */ lw $a1, 0x18($s0)
|
||||
/* BE6674 80242EC4 44060000 */ mfc1 $a2, $f0
|
||||
/* BE6678 80242EC8 0200202D */ daddu $a0, $s0, $zero
|
||||
/* BE667C 80242ECC 0C00EA95 */ jal npc_move_heading
|
||||
/* BE6680 80242ED0 AC86000C */ sw $a2, 0xc($a0)
|
||||
.L80242ED4:
|
||||
/* BE6684 80242ED4 8FBF0028 */ lw $ra, 0x28($sp)
|
||||
/* BE6688 80242ED8 8FB30024 */ lw $s3, 0x24($sp)
|
||||
/* BE668C 80242EDC 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* BE6690 80242EE0 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* BE6694 80242EE4 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* BE6698 80242EE8 03E00008 */ jr $ra
|
||||
/* BE669C 80242EEC 27BD0030 */ addiu $sp, $sp, 0x30
|
@ -0,0 +1,85 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80242DB8_BE6568
|
||||
/* BE6568 80242DB8 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* BE656C 80242DBC AFB30024 */ sw $s3, 0x24($sp)
|
||||
/* BE6570 80242DC0 0080982D */ daddu $s3, $a0, $zero
|
||||
/* BE6574 80242DC4 AFBF0028 */ sw $ra, 0x28($sp)
|
||||
/* BE6578 80242DC8 AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* BE657C 80242DCC AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* BE6580 80242DD0 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* BE6584 80242DD4 8E720148 */ lw $s2, 0x148($s3)
|
||||
/* BE6588 80242DD8 00A0882D */ daddu $s1, $a1, $zero
|
||||
/* BE658C 80242DDC 86440008 */ lh $a0, 8($s2)
|
||||
/* BE6590 80242DE0 0C00EABB */ jal get_npc_unsafe
|
||||
/* BE6594 80242DE4 00C0802D */ daddu $s0, $a2, $zero
|
||||
/* BE6598 80242DE8 0200202D */ daddu $a0, $s0, $zero
|
||||
/* BE659C 80242DEC 0240282D */ daddu $a1, $s2, $zero
|
||||
/* BE65A0 80242DF0 AFA00010 */ sw $zero, 0x10($sp)
|
||||
/* BE65A4 80242DF4 8E260024 */ lw $a2, 0x24($s1)
|
||||
/* BE65A8 80242DF8 8E270028 */ lw $a3, 0x28($s1)
|
||||
/* BE65AC 80242DFC 0C01242D */ jal func_800490B4
|
||||
/* BE65B0 80242E00 0040802D */ daddu $s0, $v0, $zero
|
||||
/* BE65B4 80242E04 1040000C */ beqz $v0, .L80242E38
|
||||
/* BE65B8 80242E08 00000000 */ nop
|
||||
/* BE65BC 80242E0C C60C0038 */ lwc1 $f12, 0x38($s0)
|
||||
/* BE65C0 80242E10 3C02800F */ lui $v0, %hi(gPlayerStatusPtr)
|
||||
/* BE65C4 80242E14 8C427B30 */ lw $v0, %lo(gPlayerStatusPtr)($v0)
|
||||
/* BE65C8 80242E18 C60E0040 */ lwc1 $f14, 0x40($s0)
|
||||
/* BE65CC 80242E1C 8C460028 */ lw $a2, 0x28($v0)
|
||||
/* BE65D0 80242E20 0C00A720 */ jal atan2
|
||||
/* BE65D4 80242E24 8C470030 */ lw $a3, 0x30($v0)
|
||||
/* BE65D8 80242E28 2402000C */ addiu $v0, $zero, 0xc
|
||||
/* BE65DC 80242E2C E600000C */ swc1 $f0, 0xc($s0)
|
||||
/* BE65E0 80242E30 08090BB5 */ j .L80242ED4
|
||||
/* BE65E4 80242E34 AE620070 */ sw $v0, 0x70($s3)
|
||||
.L80242E38:
|
||||
/* BE65E8 80242E38 C60C0038 */ lwc1 $f12, 0x38($s0)
|
||||
/* BE65EC 80242E3C 8E4200D0 */ lw $v0, 0xd0($s2)
|
||||
/* BE65F0 80242E40 C60E0040 */ lwc1 $f14, 0x40($s0)
|
||||
/* BE65F4 80242E44 C4440000 */ lwc1 $f4, ($v0)
|
||||
/* BE65F8 80242E48 46802120 */ cvt.s.w $f4, $f4
|
||||
/* BE65FC 80242E4C 44062000 */ mfc1 $a2, $f4
|
||||
/* BE6600 80242E50 C4440008 */ lwc1 $f4, 8($v0)
|
||||
/* BE6604 80242E54 46802120 */ cvt.s.w $f4, $f4
|
||||
/* BE6608 80242E58 44072000 */ mfc1 $a3, $f4
|
||||
/* BE660C 80242E5C 0C00A7B5 */ jal dist2D
|
||||
/* BE6610 80242E60 00000000 */ nop
|
||||
/* BE6614 80242E64 C6020018 */ lwc1 $f2, 0x18($s0)
|
||||
/* BE6618 80242E68 4602003E */ c.le.s $f0, $f2
|
||||
/* BE661C 80242E6C 00000000 */ nop
|
||||
/* BE6620 80242E70 45000005 */ bc1f .L80242E88
|
||||
/* BE6624 80242E74 2402000A */ addiu $v0, $zero, 0xa
|
||||
/* BE6628 80242E78 A602008E */ sh $v0, 0x8e($s0)
|
||||
/* BE662C 80242E7C 24020032 */ addiu $v0, $zero, 0x32
|
||||
/* BE6630 80242E80 08090BB5 */ j .L80242ED4
|
||||
/* BE6634 80242E84 AE620070 */ sw $v0, 0x70($s3)
|
||||
.L80242E88:
|
||||
/* BE6638 80242E88 8602008C */ lh $v0, 0x8c($s0)
|
||||
/* BE663C 80242E8C 14400011 */ bnez $v0, .L80242ED4
|
||||
/* BE6640 80242E90 00000000 */ nop
|
||||
/* BE6644 80242E94 C60C0038 */ lwc1 $f12, 0x38($s0)
|
||||
/* BE6648 80242E98 8E4200D0 */ lw $v0, 0xd0($s2)
|
||||
/* BE664C 80242E9C C60E0040 */ lwc1 $f14, 0x40($s0)
|
||||
/* BE6650 80242EA0 C4440000 */ lwc1 $f4, ($v0)
|
||||
/* BE6654 80242EA4 46802120 */ cvt.s.w $f4, $f4
|
||||
/* BE6658 80242EA8 44062000 */ mfc1 $a2, $f4
|
||||
/* BE665C 80242EAC C4440008 */ lwc1 $f4, 8($v0)
|
||||
/* BE6660 80242EB0 46802120 */ cvt.s.w $f4, $f4
|
||||
/* BE6664 80242EB4 44072000 */ mfc1 $a3, $f4
|
||||
/* BE6668 80242EB8 0C00A720 */ jal atan2
|
||||
/* BE666C 80242EBC 00000000 */ nop
|
||||
/* BE6670 80242EC0 8E050018 */ lw $a1, 0x18($s0)
|
||||
/* BE6674 80242EC4 44060000 */ mfc1 $a2, $f0
|
||||
/* BE6678 80242EC8 0200202D */ daddu $a0, $s0, $zero
|
||||
/* BE667C 80242ECC 0C00EA95 */ jal npc_move_heading
|
||||
/* BE6680 80242ED0 AC86000C */ sw $a2, 0xc($a0)
|
||||
.L80242ED4:
|
||||
/* BE6684 80242ED4 8FBF0028 */ lw $ra, 0x28($sp)
|
||||
/* BE6688 80242ED8 8FB30024 */ lw $s3, 0x24($sp)
|
||||
/* BE668C 80242EDC 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* BE6690 80242EE0 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* BE6694 80242EE4 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* BE6698 80242EE8 03E00008 */ jr $ra
|
||||
/* BE669C 80242EEC 27BD0030 */ addiu $sp, $sp, 0x30
|
@ -1,31 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80242F6C
|
||||
/* BE671C 80242F6C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* BE6720 80242F70 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* BE6724 80242F74 0080882D */ daddu $s1, $a0, $zero
|
||||
/* BE6728 80242F78 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* BE672C 80242F7C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* BE6730 80242F80 8E300148 */ lw $s0, 0x148($s1)
|
||||
/* BE6734 80242F84 0C00EABB */ jal get_npc_unsafe
|
||||
/* BE6738 80242F88 86040008 */ lh $a0, 8($s0)
|
||||
/* BE673C 80242F8C 0040182D */ daddu $v1, $v0, $zero
|
||||
/* BE6740 80242F90 9462008E */ lhu $v0, 0x8e($v1)
|
||||
/* BE6744 80242F94 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* BE6748 80242F98 A462008E */ sh $v0, 0x8e($v1)
|
||||
/* BE674C 80242F9C 00021400 */ sll $v0, $v0, 0x10
|
||||
/* BE6750 80242FA0 1C400007 */ bgtz $v0, .L80242FC0
|
||||
/* BE6754 80242FA4 24020008 */ addiu $v0, $zero, 8
|
||||
/* BE6758 80242FA8 A462008E */ sh $v0, 0x8e($v1)
|
||||
/* BE675C 80242FAC 8E0200CC */ lw $v0, 0xcc($s0)
|
||||
/* BE6760 80242FB0 8C420038 */ lw $v0, 0x38($v0)
|
||||
/* BE6764 80242FB4 AC620028 */ sw $v0, 0x28($v1)
|
||||
/* BE6768 80242FB8 24020034 */ addiu $v0, $zero, 0x34
|
||||
/* BE676C 80242FBC AE220070 */ sw $v0, 0x70($s1)
|
||||
.L80242FC0:
|
||||
/* BE6770 80242FC0 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* BE6774 80242FC4 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* BE6778 80242FC8 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* BE677C 80242FCC 03E00008 */ jr $ra
|
||||
/* BE6780 80242FD0 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -0,0 +1,31 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80242F6C_BE671C
|
||||
/* BE671C 80242F6C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* BE6720 80242F70 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* BE6724 80242F74 0080882D */ daddu $s1, $a0, $zero
|
||||
/* BE6728 80242F78 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* BE672C 80242F7C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* BE6730 80242F80 8E300148 */ lw $s0, 0x148($s1)
|
||||
/* BE6734 80242F84 0C00EABB */ jal get_npc_unsafe
|
||||
/* BE6738 80242F88 86040008 */ lh $a0, 8($s0)
|
||||
/* BE673C 80242F8C 0040182D */ daddu $v1, $v0, $zero
|
||||
/* BE6740 80242F90 9462008E */ lhu $v0, 0x8e($v1)
|
||||
/* BE6744 80242F94 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* BE6748 80242F98 A462008E */ sh $v0, 0x8e($v1)
|
||||
/* BE674C 80242F9C 00021400 */ sll $v0, $v0, 0x10
|
||||
/* BE6750 80242FA0 1C400007 */ bgtz $v0, .L80242FC0
|
||||
/* BE6754 80242FA4 24020008 */ addiu $v0, $zero, 8
|
||||
/* BE6758 80242FA8 A462008E */ sh $v0, 0x8e($v1)
|
||||
/* BE675C 80242FAC 8E0200CC */ lw $v0, 0xcc($s0)
|
||||
/* BE6760 80242FB0 8C420038 */ lw $v0, 0x38($v0)
|
||||
/* BE6764 80242FB4 AC620028 */ sw $v0, 0x28($v1)
|
||||
/* BE6768 80242FB8 24020034 */ addiu $v0, $zero, 0x34
|
||||
/* BE676C 80242FBC AE220070 */ sw $v0, 0x70($s1)
|
||||
.L80242FC0:
|
||||
/* BE6770 80242FC0 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* BE6774 80242FC4 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* BE6778 80242FC8 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* BE677C 80242FCC 03E00008 */ jr $ra
|
||||
/* BE6780 80242FD0 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -1,22 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80242FD4
|
||||
/* 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
|
@ -0,0 +1,22 @@
|
||||
.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
|
@ -1,225 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80243018
|
||||
/* BE67C8 80243018 27BDFFB0 */ addiu $sp, $sp, -0x50
|
||||
/* BE67CC 8024301C AFB3003C */ sw $s3, 0x3c($sp)
|
||||
/* BE67D0 80243020 0080982D */ daddu $s3, $a0, $zero
|
||||
/* BE67D4 80243024 AFBF0048 */ sw $ra, 0x48($sp)
|
||||
/* BE67D8 80243028 AFB50044 */ sw $s5, 0x44($sp)
|
||||
/* BE67DC 8024302C AFB40040 */ sw $s4, 0x40($sp)
|
||||
/* BE67E0 80243030 AFB20038 */ sw $s2, 0x38($sp)
|
||||
/* BE67E4 80243034 AFB10034 */ sw $s1, 0x34($sp)
|
||||
/* BE67E8 80243038 AFB00030 */ sw $s0, 0x30($sp)
|
||||
/* BE67EC 8024303C 8E720148 */ lw $s2, 0x148($s3)
|
||||
/* BE67F0 80243040 86440008 */ lh $a0, 8($s2)
|
||||
/* BE67F4 80243044 0C00EABB */ jal get_npc_unsafe
|
||||
/* BE67F8 80243048 00A0882D */ daddu $s1, $a1, $zero
|
||||
/* BE67FC 8024304C 0260202D */ daddu $a0, $s3, $zero
|
||||
/* BE6800 80243050 8E70000C */ lw $s0, 0xc($s3)
|
||||
/* BE6804 80243054 0040A82D */ daddu $s5, $v0, $zero
|
||||
/* BE6808 80243058 8E050000 */ lw $a1, ($s0)
|
||||
/* BE680C 8024305C 0C0B1EAF */ jal get_variable
|
||||
/* BE6810 80243060 26100004 */ addiu $s0, $s0, 4
|
||||
/* BE6814 80243064 0260202D */ daddu $a0, $s3, $zero
|
||||
/* BE6818 80243068 8E050000 */ lw $a1, ($s0)
|
||||
/* BE681C 8024306C 0C0B1EAF */ jal get_variable
|
||||
/* BE6820 80243070 0040A02D */ daddu $s4, $v0, $zero
|
||||
/* BE6824 80243074 AE420094 */ sw $v0, 0x94($s2)
|
||||
/* BE6828 80243078 AFA00010 */ sw $zero, 0x10($sp)
|
||||
/* BE682C 8024307C 8E4200D0 */ lw $v0, 0xd0($s2)
|
||||
/* BE6830 80243080 8C420030 */ lw $v0, 0x30($v0)
|
||||
/* BE6834 80243084 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* BE6838 80243088 8E4200D0 */ lw $v0, 0xd0($s2)
|
||||
/* BE683C 8024308C 8C42001C */ lw $v0, 0x1c($v0)
|
||||
/* BE6840 80243090 AFA20018 */ sw $v0, 0x18($sp)
|
||||
/* BE6844 80243094 8E4200D0 */ lw $v0, 0xd0($s2)
|
||||
/* BE6848 80243098 8C420024 */ lw $v0, 0x24($v0)
|
||||
/* BE684C 8024309C AFA2001C */ sw $v0, 0x1c($sp)
|
||||
/* BE6850 802430A0 8E4200D0 */ lw $v0, 0xd0($s2)
|
||||
/* BE6854 802430A4 8C420028 */ lw $v0, 0x28($v0)
|
||||
/* BE6858 802430A8 AFA20020 */ sw $v0, 0x20($sp)
|
||||
/* BE685C 802430AC 8E4200D0 */ lw $v0, 0xd0($s2)
|
||||
/* BE6860 802430B0 3C014220 */ lui $at, 0x4220
|
||||
/* BE6864 802430B4 44810000 */ mtc1 $at, $f0
|
||||
/* BE6868 802430B8 8C42002C */ lw $v0, 0x2c($v0)
|
||||
/* BE686C 802430BC 27B00010 */ addiu $s0, $sp, 0x10
|
||||
/* BE6870 802430C0 E7A00028 */ swc1 $f0, 0x28($sp)
|
||||
/* BE6874 802430C4 A7A0002C */ sh $zero, 0x2c($sp)
|
||||
/* BE6878 802430C8 12200012 */ beqz $s1, .L80243114
|
||||
/* BE687C 802430CC AFA20024 */ sw $v0, 0x24($sp)
|
||||
/* BE6880 802430D0 AE600070 */ sw $zero, 0x70($s3)
|
||||
/* BE6884 802430D4 8EA30000 */ lw $v1, ($s5)
|
||||
/* BE6888 802430D8 2402F7FF */ addiu $v0, $zero, -0x801
|
||||
/* BE688C 802430DC A6A0008E */ sh $zero, 0x8e($s5)
|
||||
/* BE6890 802430E0 00621824 */ and $v1, $v1, $v0
|
||||
/* BE6894 802430E4 AEA30000 */ sw $v1, ($s5)
|
||||
/* BE6898 802430E8 8E4200D0 */ lw $v0, 0xd0($s2)
|
||||
/* BE689C 802430EC 8C420034 */ lw $v0, 0x34($v0)
|
||||
/* BE68A0 802430F0 54400005 */ bnel $v0, $zero, .L80243108
|
||||
/* BE68A4 802430F4 2402FDFF */ addiu $v0, $zero, -0x201
|
||||
/* BE68A8 802430F8 34620200 */ ori $v0, $v1, 0x200
|
||||
/* BE68AC 802430FC 2403FFF7 */ addiu $v1, $zero, -9
|
||||
/* BE68B0 80243100 08090C44 */ j .L80243110
|
||||
/* BE68B4 80243104 00431024 */ and $v0, $v0, $v1
|
||||
.L80243108:
|
||||
/* BE68B8 80243108 00621024 */ and $v0, $v1, $v0
|
||||
/* BE68BC 8024310C 34420008 */ ori $v0, $v0, 8
|
||||
.L80243110:
|
||||
/* BE68C0 80243110 AEA20000 */ sw $v0, ($s5)
|
||||
.L80243114:
|
||||
/* BE68C4 80243114 8E4300B0 */ lw $v1, 0xb0($s2)
|
||||
/* BE68C8 80243118 30620004 */ andi $v0, $v1, 4
|
||||
/* BE68CC 8024311C 10400007 */ beqz $v0, .L8024313C
|
||||
/* BE68D0 80243120 00000000 */ nop
|
||||
/* BE68D4 80243124 824200B4 */ lb $v0, 0xb4($s2)
|
||||
/* BE68D8 80243128 14400086 */ bnez $v0, .L80243344
|
||||
/* BE68DC 8024312C 0000102D */ daddu $v0, $zero, $zero
|
||||
/* BE68E0 80243130 2402FFFB */ addiu $v0, $zero, -5
|
||||
/* BE68E4 80243134 00621024 */ and $v0, $v1, $v0
|
||||
/* BE68E8 80243138 AE4200B0 */ sw $v0, 0xb0($s2)
|
||||
.L8024313C:
|
||||
/* BE68EC 8024313C 8E620070 */ lw $v0, 0x70($s3)
|
||||
/* BE68F0 80243140 2442FFF4 */ addiu $v0, $v0, -0xc
|
||||
/* BE68F4 80243144 2C420003 */ sltiu $v0, $v0, 3
|
||||
/* BE68F8 80243148 10400007 */ beqz $v0, .L80243168
|
||||
/* BE68FC 8024314C 0260202D */ daddu $a0, $s3, $zero
|
||||
/* BE6900 80243150 0280282D */ daddu $a1, $s4, $zero
|
||||
/* BE6904 80243154 0C0908E2 */ jal func_80242388
|
||||
/* BE6908 80243158 0200302D */ daddu $a2, $s0, $zero
|
||||
/* BE690C 8024315C 10400002 */ beqz $v0, .L80243168
|
||||
/* BE6910 80243160 24020014 */ addiu $v0, $zero, 0x14
|
||||
/* BE6914 80243164 AE620070 */ sw $v0, 0x70($s3)
|
||||
.L80243168:
|
||||
/* BE6918 80243168 8E630070 */ lw $v1, 0x70($s3)
|
||||
/* BE691C 8024316C 2C620035 */ sltiu $v0, $v1, 0x35
|
||||
/* BE6920 80243170 10400073 */ beqz $v0, .L80243340
|
||||
/* BE6924 80243174 00031080 */ sll $v0, $v1, 2
|
||||
/* BE6928 80243178 3C018024 */ lui $at, 0x8024
|
||||
/* BE692C 8024317C 00220821 */ addu $at, $at, $v0
|
||||
/* BE6930 80243180 8C224350 */ lw $v0, 0x4350($at)
|
||||
/* BE6934 80243184 00400008 */ jr $v0
|
||||
/* BE6938 80243188 00000000 */ nop
|
||||
/* BE693C 8024318C 0260202D */ daddu $a0, $s3, $zero
|
||||
/* BE6940 80243190 0280282D */ daddu $a1, $s4, $zero
|
||||
/* BE6944 80243194 0C09093A */ jal func_802424E8
|
||||
/* BE6948 80243198 0200302D */ daddu $a2, $s0, $zero
|
||||
/* BE694C 8024319C 0260202D */ daddu $a0, $s3, $zero
|
||||
/* BE6950 802431A0 0280282D */ daddu $a1, $s4, $zero
|
||||
/* BE6954 802431A4 0C090957 */ jal func_8024255C
|
||||
/* BE6958 802431A8 0200302D */ daddu $a2, $s0, $zero
|
||||
/* BE695C 802431AC 8E630070 */ lw $v1, 0x70($s3)
|
||||
/* BE6960 802431B0 24020002 */ addiu $v0, $zero, 2
|
||||
/* BE6964 802431B4 14620063 */ bne $v1, $v0, .L80243344
|
||||
/* BE6968 802431B8 0000102D */ daddu $v0, $zero, $zero
|
||||
/* BE696C 802431BC 0260202D */ daddu $a0, $s3, $zero
|
||||
/* BE6970 802431C0 0280282D */ daddu $a1, $s4, $zero
|
||||
/* BE6974 802431C4 0C0909A3 */ jal func_8024268C
|
||||
/* BE6978 802431C8 0200302D */ daddu $a2, $s0, $zero
|
||||
/* BE697C 802431CC 8E630070 */ lw $v1, 0x70($s3)
|
||||
/* BE6980 802431D0 24020003 */ addiu $v0, $zero, 3
|
||||
/* BE6984 802431D4 1462005B */ bne $v1, $v0, .L80243344
|
||||
/* BE6988 802431D8 0000102D */ daddu $v0, $zero, $zero
|
||||
/* BE698C 802431DC 0260202D */ daddu $a0, $s3, $zero
|
||||
/* BE6990 802431E0 0280282D */ daddu $a1, $s4, $zero
|
||||
/* BE6994 802431E4 0C0909CA */ jal func_80242728
|
||||
/* BE6998 802431E8 0200302D */ daddu $a2, $s0, $zero
|
||||
/* BE699C 802431EC 8E630070 */ lw $v1, 0x70($s3)
|
||||
/* BE69A0 802431F0 24020004 */ addiu $v0, $zero, 4
|
||||
/* BE69A4 802431F4 14620053 */ bne $v1, $v0, .L80243344
|
||||
/* BE69A8 802431F8 0000102D */ daddu $v0, $zero, $zero
|
||||
/* BE69AC 802431FC 0260202D */ daddu $a0, $s3, $zero
|
||||
/* BE69B0 80243200 0280282D */ daddu $a1, $s4, $zero
|
||||
/* BE69B4 80243204 0C0909EC */ jal func_802427B0
|
||||
/* BE69B8 80243208 0200302D */ daddu $a2, $s0, $zero
|
||||
/* BE69BC 8024320C 0260202D */ daddu $a0, $s3, $zero
|
||||
/* BE69C0 80243210 0280282D */ daddu $a1, $s4, $zero
|
||||
/* BE69C4 80243214 0C090A16 */ jal func_80242858
|
||||
/* BE69C8 80243218 0200302D */ daddu $a2, $s0, $zero
|
||||
/* BE69CC 8024321C 08090CD1 */ j .L80243344
|
||||
/* BE69D0 80243220 0000102D */ daddu $v0, $zero, $zero
|
||||
/* BE69D4 80243224 0260202D */ daddu $a0, $s3, $zero
|
||||
/* BE69D8 80243228 0280282D */ daddu $a1, $s4, $zero
|
||||
/* BE69DC 8024322C 0C0127DF */ jal func_80049F7C
|
||||
/* BE69E0 80243230 0200302D */ daddu $a2, $s0, $zero
|
||||
/* BE69E4 80243234 8E630070 */ lw $v1, 0x70($s3)
|
||||
/* BE69E8 80243238 2402000D */ addiu $v0, $zero, 0xd
|
||||
/* BE69EC 8024323C 14620041 */ bne $v1, $v0, .L80243344
|
||||
/* BE69F0 80243240 0000102D */ daddu $v0, $zero, $zero
|
||||
/* BE69F4 80243244 0260202D */ daddu $a0, $s3, $zero
|
||||
/* BE69F8 80243248 0280282D */ daddu $a1, $s4, $zero
|
||||
/* BE69FC 8024324C 0C012849 */ jal func_8004A124
|
||||
/* BE6A00 80243250 0200302D */ daddu $a2, $s0, $zero
|
||||
/* BE6A04 80243254 8E630070 */ lw $v1, 0x70($s3)
|
||||
/* BE6A08 80243258 2402000E */ addiu $v0, $zero, 0xe
|
||||
/* BE6A0C 8024325C 14620039 */ bne $v1, $v0, .L80243344
|
||||
/* BE6A10 80243260 0000102D */ daddu $v0, $zero, $zero
|
||||
/* BE6A14 80243264 96A2008E */ lhu $v0, 0x8e($s5)
|
||||
/* BE6A18 80243268 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* BE6A1C 8024326C A6A2008E */ sh $v0, 0x8e($s5)
|
||||
/* BE6A20 80243270 00021400 */ sll $v0, $v0, 0x10
|
||||
/* BE6A24 80243274 14400033 */ bnez $v0, .L80243344
|
||||
/* BE6A28 80243278 0000102D */ daddu $v0, $zero, $zero
|
||||
/* BE6A2C 8024327C 24020028 */ addiu $v0, $zero, 0x28
|
||||
/* BE6A30 80243280 08090CD0 */ j .L80243340
|
||||
/* BE6A34 80243284 AE620070 */ sw $v0, 0x70($s3)
|
||||
/* BE6A38 80243288 0260202D */ daddu $a0, $s3, $zero
|
||||
/* BE6A3C 8024328C 0280282D */ daddu $a1, $s4, $zero
|
||||
/* BE6A40 80243290 0C090A73 */ jal func_802429CC
|
||||
/* BE6A44 80243294 0200302D */ daddu $a2, $s0, $zero
|
||||
/* BE6A48 80243298 0260202D */ daddu $a0, $s3, $zero
|
||||
/* BE6A4C 8024329C 0280282D */ daddu $a1, $s4, $zero
|
||||
/* BE6A50 802432A0 0C090A87 */ jal func_80242A1C
|
||||
/* BE6A54 802432A4 0200302D */ daddu $a2, $s0, $zero
|
||||
/* BE6A58 802432A8 08090CD1 */ j .L80243344
|
||||
/* BE6A5C 802432AC 0000102D */ daddu $v0, $zero, $zero
|
||||
/* BE6A60 802432B0 0260202D */ daddu $a0, $s3, $zero
|
||||
/* BE6A64 802432B4 0280282D */ daddu $a1, $s4, $zero
|
||||
/* BE6A68 802432B8 0C090AEF */ jal func_80242BBC
|
||||
/* BE6A6C 802432BC 0200302D */ daddu $a2, $s0, $zero
|
||||
/* BE6A70 802432C0 08090CD1 */ j .L80243344
|
||||
/* BE6A74 802432C4 0000102D */ daddu $v0, $zero, $zero
|
||||
/* BE6A78 802432C8 0260202D */ daddu $a0, $s3, $zero
|
||||
/* BE6A7C 802432CC 0280282D */ daddu $a1, $s4, $zero
|
||||
/* BE6A80 802432D0 0C090B43 */ jal func_80242D0C
|
||||
/* BE6A84 802432D4 0200302D */ daddu $a2, $s0, $zero
|
||||
/* BE6A88 802432D8 8E630070 */ lw $v1, 0x70($s3)
|
||||
/* BE6A8C 802432DC 24020029 */ addiu $v0, $zero, 0x29
|
||||
/* BE6A90 802432E0 14620018 */ bne $v1, $v0, .L80243344
|
||||
/* BE6A94 802432E4 0000102D */ daddu $v0, $zero, $zero
|
||||
/* BE6A98 802432E8 0260202D */ daddu $a0, $s3, $zero
|
||||
/* BE6A9C 802432EC 0280282D */ daddu $a1, $s4, $zero
|
||||
/* BE6AA0 802432F0 0C090B6E */ jal func_80242DB8
|
||||
/* BE6AA4 802432F4 0200302D */ daddu $a2, $s0, $zero
|
||||
/* BE6AA8 802432F8 08090CD1 */ j .L80243344
|
||||
/* BE6AAC 802432FC 0000102D */ daddu $v0, $zero, $zero
|
||||
/* BE6AB0 80243300 0260202D */ daddu $a0, $s3, $zero
|
||||
/* BE6AB4 80243304 0280282D */ daddu $a1, $s4, $zero
|
||||
/* BE6AB8 80243308 0C090BBC */ jal func_80242EF0
|
||||
/* BE6ABC 8024330C 0200302D */ daddu $a2, $s0, $zero
|
||||
/* BE6AC0 80243310 0260202D */ daddu $a0, $s3, $zero
|
||||
/* BE6AC4 80243314 0280282D */ daddu $a1, $s4, $zero
|
||||
/* BE6AC8 80243318 0C090BDB */ jal func_80242F6C
|
||||
/* BE6ACC 8024331C 0200302D */ daddu $a2, $s0, $zero
|
||||
/* BE6AD0 80243320 8E630070 */ lw $v1, 0x70($s3)
|
||||
/* BE6AD4 80243324 24020034 */ addiu $v0, $zero, 0x34
|
||||
/* BE6AD8 80243328 14620006 */ bne $v1, $v0, .L80243344
|
||||
/* 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
|
||||
/* BE6AEC 8024333C 0200302D */ daddu $a2, $s0, $zero
|
||||
.L80243340:
|
||||
/* BE6AF0 80243340 0000102D */ daddu $v0, $zero, $zero
|
||||
.L80243344:
|
||||
/* BE6AF4 80243344 8FBF0048 */ lw $ra, 0x48($sp)
|
||||
/* BE6AF8 80243348 8FB50044 */ lw $s5, 0x44($sp)
|
||||
/* BE6AFC 8024334C 8FB40040 */ lw $s4, 0x40($sp)
|
||||
/* BE6B00 80243350 8FB3003C */ lw $s3, 0x3c($sp)
|
||||
/* BE6B04 80243354 8FB20038 */ lw $s2, 0x38($sp)
|
||||
/* BE6B08 80243358 8FB10034 */ lw $s1, 0x34($sp)
|
||||
/* BE6B0C 8024335C 8FB00030 */ lw $s0, 0x30($sp)
|
||||
/* BE6B10 80243360 03E00008 */ jr $ra
|
||||
/* BE6B14 80243364 27BD0050 */ addiu $sp, $sp, 0x50
|
||||
/* BE6B18 80243368 00000000 */ nop
|
||||
/* BE6B1C 8024336C 00000000 */ nop
|
@ -0,0 +1,225 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80243018_BE67C8
|
||||
/* BE67C8 80243018 27BDFFB0 */ addiu $sp, $sp, -0x50
|
||||
/* BE67CC 8024301C AFB3003C */ sw $s3, 0x3c($sp)
|
||||
/* BE67D0 80243020 0080982D */ daddu $s3, $a0, $zero
|
||||
/* BE67D4 80243024 AFBF0048 */ sw $ra, 0x48($sp)
|
||||
/* BE67D8 80243028 AFB50044 */ sw $s5, 0x44($sp)
|
||||
/* BE67DC 8024302C AFB40040 */ sw $s4, 0x40($sp)
|
||||
/* BE67E0 80243030 AFB20038 */ sw $s2, 0x38($sp)
|
||||
/* BE67E4 80243034 AFB10034 */ sw $s1, 0x34($sp)
|
||||
/* BE67E8 80243038 AFB00030 */ sw $s0, 0x30($sp)
|
||||
/* BE67EC 8024303C 8E720148 */ lw $s2, 0x148($s3)
|
||||
/* BE67F0 80243040 86440008 */ lh $a0, 8($s2)
|
||||
/* BE67F4 80243044 0C00EABB */ jal get_npc_unsafe
|
||||
/* BE67F8 80243048 00A0882D */ daddu $s1, $a1, $zero
|
||||
/* BE67FC 8024304C 0260202D */ daddu $a0, $s3, $zero
|
||||
/* BE6800 80243050 8E70000C */ lw $s0, 0xc($s3)
|
||||
/* BE6804 80243054 0040A82D */ daddu $s5, $v0, $zero
|
||||
/* BE6808 80243058 8E050000 */ lw $a1, ($s0)
|
||||
/* BE680C 8024305C 0C0B1EAF */ jal get_variable
|
||||
/* BE6810 80243060 26100004 */ addiu $s0, $s0, 4
|
||||
/* BE6814 80243064 0260202D */ daddu $a0, $s3, $zero
|
||||
/* BE6818 80243068 8E050000 */ lw $a1, ($s0)
|
||||
/* BE681C 8024306C 0C0B1EAF */ jal get_variable
|
||||
/* BE6820 80243070 0040A02D */ daddu $s4, $v0, $zero
|
||||
/* BE6824 80243074 AE420094 */ sw $v0, 0x94($s2)
|
||||
/* BE6828 80243078 AFA00010 */ sw $zero, 0x10($sp)
|
||||
/* BE682C 8024307C 8E4200D0 */ lw $v0, 0xd0($s2)
|
||||
/* BE6830 80243080 8C420030 */ lw $v0, 0x30($v0)
|
||||
/* BE6834 80243084 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* BE6838 80243088 8E4200D0 */ lw $v0, 0xd0($s2)
|
||||
/* BE683C 8024308C 8C42001C */ lw $v0, 0x1c($v0)
|
||||
/* BE6840 80243090 AFA20018 */ sw $v0, 0x18($sp)
|
||||
/* BE6844 80243094 8E4200D0 */ lw $v0, 0xd0($s2)
|
||||
/* BE6848 80243098 8C420024 */ lw $v0, 0x24($v0)
|
||||
/* BE684C 8024309C AFA2001C */ sw $v0, 0x1c($sp)
|
||||
/* BE6850 802430A0 8E4200D0 */ lw $v0, 0xd0($s2)
|
||||
/* BE6854 802430A4 8C420028 */ lw $v0, 0x28($v0)
|
||||
/* BE6858 802430A8 AFA20020 */ sw $v0, 0x20($sp)
|
||||
/* BE685C 802430AC 8E4200D0 */ lw $v0, 0xd0($s2)
|
||||
/* BE6860 802430B0 3C014220 */ lui $at, 0x4220
|
||||
/* BE6864 802430B4 44810000 */ mtc1 $at, $f0
|
||||
/* BE6868 802430B8 8C42002C */ lw $v0, 0x2c($v0)
|
||||
/* BE686C 802430BC 27B00010 */ addiu $s0, $sp, 0x10
|
||||
/* BE6870 802430C0 E7A00028 */ swc1 $f0, 0x28($sp)
|
||||
/* BE6874 802430C4 A7A0002C */ sh $zero, 0x2c($sp)
|
||||
/* BE6878 802430C8 12200012 */ beqz $s1, .L80243114
|
||||
/* BE687C 802430CC AFA20024 */ sw $v0, 0x24($sp)
|
||||
/* BE6880 802430D0 AE600070 */ sw $zero, 0x70($s3)
|
||||
/* BE6884 802430D4 8EA30000 */ lw $v1, ($s5)
|
||||
/* BE6888 802430D8 2402F7FF */ addiu $v0, $zero, -0x801
|
||||
/* BE688C 802430DC A6A0008E */ sh $zero, 0x8e($s5)
|
||||
/* BE6890 802430E0 00621824 */ and $v1, $v1, $v0
|
||||
/* BE6894 802430E4 AEA30000 */ sw $v1, ($s5)
|
||||
/* BE6898 802430E8 8E4200D0 */ lw $v0, 0xd0($s2)
|
||||
/* BE689C 802430EC 8C420034 */ lw $v0, 0x34($v0)
|
||||
/* BE68A0 802430F0 54400005 */ bnel $v0, $zero, .L80243108
|
||||
/* BE68A4 802430F4 2402FDFF */ addiu $v0, $zero, -0x201
|
||||
/* BE68A8 802430F8 34620200 */ ori $v0, $v1, 0x200
|
||||
/* BE68AC 802430FC 2403FFF7 */ addiu $v1, $zero, -9
|
||||
/* BE68B0 80243100 08090C44 */ j .L80243110
|
||||
/* BE68B4 80243104 00431024 */ and $v0, $v0, $v1
|
||||
.L80243108:
|
||||
/* BE68B8 80243108 00621024 */ and $v0, $v1, $v0
|
||||
/* BE68BC 8024310C 34420008 */ ori $v0, $v0, 8
|
||||
.L80243110:
|
||||
/* BE68C0 80243110 AEA20000 */ sw $v0, ($s5)
|
||||
.L80243114:
|
||||
/* BE68C4 80243114 8E4300B0 */ lw $v1, 0xb0($s2)
|
||||
/* BE68C8 80243118 30620004 */ andi $v0, $v1, 4
|
||||
/* BE68CC 8024311C 10400007 */ beqz $v0, .L8024313C
|
||||
/* BE68D0 80243120 00000000 */ nop
|
||||
/* BE68D4 80243124 824200B4 */ lb $v0, 0xb4($s2)
|
||||
/* BE68D8 80243128 14400086 */ bnez $v0, .L80243344
|
||||
/* BE68DC 8024312C 0000102D */ daddu $v0, $zero, $zero
|
||||
/* BE68E0 80243130 2402FFFB */ addiu $v0, $zero, -5
|
||||
/* BE68E4 80243134 00621024 */ and $v0, $v1, $v0
|
||||
/* BE68E8 80243138 AE4200B0 */ sw $v0, 0xb0($s2)
|
||||
.L8024313C:
|
||||
/* BE68EC 8024313C 8E620070 */ lw $v0, 0x70($s3)
|
||||
/* BE68F0 80243140 2442FFF4 */ addiu $v0, $v0, -0xc
|
||||
/* BE68F4 80243144 2C420003 */ sltiu $v0, $v0, 3
|
||||
/* BE68F8 80243148 10400007 */ beqz $v0, .L80243168
|
||||
/* BE68FC 8024314C 0260202D */ daddu $a0, $s3, $zero
|
||||
/* BE6900 80243150 0280282D */ daddu $a1, $s4, $zero
|
||||
/* BE6904 80243154 0C0908E2 */ jal func_80242388_BE5B38
|
||||
/* BE6908 80243158 0200302D */ daddu $a2, $s0, $zero
|
||||
/* BE690C 8024315C 10400002 */ beqz $v0, .L80243168
|
||||
/* BE6910 80243160 24020014 */ addiu $v0, $zero, 0x14
|
||||
/* BE6914 80243164 AE620070 */ sw $v0, 0x70($s3)
|
||||
.L80243168:
|
||||
/* BE6918 80243168 8E630070 */ lw $v1, 0x70($s3)
|
||||
/* BE691C 8024316C 2C620035 */ sltiu $v0, $v1, 0x35
|
||||
/* BE6920 80243170 10400073 */ beqz $v0, .L80243340
|
||||
/* BE6924 80243174 00031080 */ sll $v0, $v1, 2
|
||||
/* BE6928 80243178 3C018024 */ lui $at, 0x8024
|
||||
/* BE692C 8024317C 00220821 */ addu $at, $at, $v0
|
||||
/* BE6930 80243180 8C224350 */ lw $v0, 0x4350($at)
|
||||
/* BE6934 80243184 00400008 */ jr $v0
|
||||
/* BE6938 80243188 00000000 */ nop
|
||||
/* BE693C 8024318C 0260202D */ daddu $a0, $s3, $zero
|
||||
/* BE6940 80243190 0280282D */ daddu $a1, $s4, $zero
|
||||
/* BE6944 80243194 0C09093A */ jal func_802424E8_BE5C98
|
||||
/* BE6948 80243198 0200302D */ daddu $a2, $s0, $zero
|
||||
/* BE694C 8024319C 0260202D */ daddu $a0, $s3, $zero
|
||||
/* BE6950 802431A0 0280282D */ daddu $a1, $s4, $zero
|
||||
/* BE6954 802431A4 0C090957 */ jal func_8024255C_BE5D0C
|
||||
/* BE6958 802431A8 0200302D */ daddu $a2, $s0, $zero
|
||||
/* BE695C 802431AC 8E630070 */ lw $v1, 0x70($s3)
|
||||
/* BE6960 802431B0 24020002 */ addiu $v0, $zero, 2
|
||||
/* BE6964 802431B4 14620063 */ bne $v1, $v0, .L80243344
|
||||
/* BE6968 802431B8 0000102D */ daddu $v0, $zero, $zero
|
||||
/* BE696C 802431BC 0260202D */ daddu $a0, $s3, $zero
|
||||
/* BE6970 802431C0 0280282D */ daddu $a1, $s4, $zero
|
||||
/* BE6974 802431C4 0C0909A3 */ jal func_8024268C_BE5E3C
|
||||
/* BE6978 802431C8 0200302D */ daddu $a2, $s0, $zero
|
||||
/* BE697C 802431CC 8E630070 */ lw $v1, 0x70($s3)
|
||||
/* BE6980 802431D0 24020003 */ addiu $v0, $zero, 3
|
||||
/* BE6984 802431D4 1462005B */ bne $v1, $v0, .L80243344
|
||||
/* BE6988 802431D8 0000102D */ daddu $v0, $zero, $zero
|
||||
/* BE698C 802431DC 0260202D */ daddu $a0, $s3, $zero
|
||||
/* BE6990 802431E0 0280282D */ daddu $a1, $s4, $zero
|
||||
/* BE6994 802431E4 0C0909CA */ jal func_80242728_BE5ED8
|
||||
/* BE6998 802431E8 0200302D */ daddu $a2, $s0, $zero
|
||||
/* BE699C 802431EC 8E630070 */ lw $v1, 0x70($s3)
|
||||
/* BE69A0 802431F0 24020004 */ addiu $v0, $zero, 4
|
||||
/* BE69A4 802431F4 14620053 */ bne $v1, $v0, .L80243344
|
||||
/* BE69A8 802431F8 0000102D */ daddu $v0, $zero, $zero
|
||||
/* BE69AC 802431FC 0260202D */ daddu $a0, $s3, $zero
|
||||
/* BE69B0 80243200 0280282D */ daddu $a1, $s4, $zero
|
||||
/* BE69B4 80243204 0C0909EC */ jal func_802427B0_BE5F60
|
||||
/* BE69B8 80243208 0200302D */ daddu $a2, $s0, $zero
|
||||
/* BE69BC 8024320C 0260202D */ daddu $a0, $s3, $zero
|
||||
/* BE69C0 80243210 0280282D */ daddu $a1, $s4, $zero
|
||||
/* BE69C4 80243214 0C090A16 */ jal func_80242858_BE6008
|
||||
/* BE69C8 80243218 0200302D */ daddu $a2, $s0, $zero
|
||||
/* BE69CC 8024321C 08090CD1 */ j .L80243344
|
||||
/* BE69D0 80243220 0000102D */ daddu $v0, $zero, $zero
|
||||
/* BE69D4 80243224 0260202D */ daddu $a0, $s3, $zero
|
||||
/* BE69D8 80243228 0280282D */ daddu $a1, $s4, $zero
|
||||
/* BE69DC 8024322C 0C0127DF */ jal func_80049F7C
|
||||
/* BE69E0 80243230 0200302D */ daddu $a2, $s0, $zero
|
||||
/* BE69E4 80243234 8E630070 */ lw $v1, 0x70($s3)
|
||||
/* BE69E8 80243238 2402000D */ addiu $v0, $zero, 0xd
|
||||
/* BE69EC 8024323C 14620041 */ bne $v1, $v0, .L80243344
|
||||
/* BE69F0 80243240 0000102D */ daddu $v0, $zero, $zero
|
||||
/* BE69F4 80243244 0260202D */ daddu $a0, $s3, $zero
|
||||
/* BE69F8 80243248 0280282D */ daddu $a1, $s4, $zero
|
||||
/* BE69FC 8024324C 0C012849 */ jal func_8004A124
|
||||
/* BE6A00 80243250 0200302D */ daddu $a2, $s0, $zero
|
||||
/* BE6A04 80243254 8E630070 */ lw $v1, 0x70($s3)
|
||||
/* BE6A08 80243258 2402000E */ addiu $v0, $zero, 0xe
|
||||
/* BE6A0C 8024325C 14620039 */ bne $v1, $v0, .L80243344
|
||||
/* BE6A10 80243260 0000102D */ daddu $v0, $zero, $zero
|
||||
/* BE6A14 80243264 96A2008E */ lhu $v0, 0x8e($s5)
|
||||
/* BE6A18 80243268 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* BE6A1C 8024326C A6A2008E */ sh $v0, 0x8e($s5)
|
||||
/* BE6A20 80243270 00021400 */ sll $v0, $v0, 0x10
|
||||
/* BE6A24 80243274 14400033 */ bnez $v0, .L80243344
|
||||
/* BE6A28 80243278 0000102D */ daddu $v0, $zero, $zero
|
||||
/* BE6A2C 8024327C 24020028 */ addiu $v0, $zero, 0x28
|
||||
/* BE6A30 80243280 08090CD0 */ j .L80243340
|
||||
/* BE6A34 80243284 AE620070 */ sw $v0, 0x70($s3)
|
||||
/* BE6A38 80243288 0260202D */ daddu $a0, $s3, $zero
|
||||
/* BE6A3C 8024328C 0280282D */ daddu $a1, $s4, $zero
|
||||
/* BE6A40 80243290 0C090A73 */ jal func_802429CC_BE617C
|
||||
/* BE6A44 80243294 0200302D */ daddu $a2, $s0, $zero
|
||||
/* BE6A48 80243298 0260202D */ daddu $a0, $s3, $zero
|
||||
/* BE6A4C 8024329C 0280282D */ daddu $a1, $s4, $zero
|
||||
/* BE6A50 802432A0 0C090A87 */ jal func_80242A1C_BE61CC
|
||||
/* BE6A54 802432A4 0200302D */ daddu $a2, $s0, $zero
|
||||
/* BE6A58 802432A8 08090CD1 */ j .L80243344
|
||||
/* BE6A5C 802432AC 0000102D */ daddu $v0, $zero, $zero
|
||||
/* BE6A60 802432B0 0260202D */ daddu $a0, $s3, $zero
|
||||
/* BE6A64 802432B4 0280282D */ daddu $a1, $s4, $zero
|
||||
/* BE6A68 802432B8 0C090AEF */ jal func_80242BBC_BE636C
|
||||
/* BE6A6C 802432BC 0200302D */ daddu $a2, $s0, $zero
|
||||
/* BE6A70 802432C0 08090CD1 */ j .L80243344
|
||||
/* BE6A74 802432C4 0000102D */ daddu $v0, $zero, $zero
|
||||
/* BE6A78 802432C8 0260202D */ daddu $a0, $s3, $zero
|
||||
/* BE6A7C 802432CC 0280282D */ daddu $a1, $s4, $zero
|
||||
/* BE6A80 802432D0 0C090B43 */ jal func_80242D0C_BE64BC
|
||||
/* BE6A84 802432D4 0200302D */ daddu $a2, $s0, $zero
|
||||
/* BE6A88 802432D8 8E630070 */ lw $v1, 0x70($s3)
|
||||
/* BE6A8C 802432DC 24020029 */ addiu $v0, $zero, 0x29
|
||||
/* BE6A90 802432E0 14620018 */ bne $v1, $v0, .L80243344
|
||||
/* BE6A94 802432E4 0000102D */ daddu $v0, $zero, $zero
|
||||
/* BE6A98 802432E8 0260202D */ daddu $a0, $s3, $zero
|
||||
/* BE6A9C 802432EC 0280282D */ daddu $a1, $s4, $zero
|
||||
/* BE6AA0 802432F0 0C090B6E */ jal func_80242DB8_BE6568
|
||||
/* BE6AA4 802432F4 0200302D */ daddu $a2, $s0, $zero
|
||||
/* BE6AA8 802432F8 08090CD1 */ j .L80243344
|
||||
/* BE6AAC 802432FC 0000102D */ daddu $v0, $zero, $zero
|
||||
/* BE6AB0 80243300 0260202D */ daddu $a0, $s3, $zero
|
||||
/* BE6AB4 80243304 0280282D */ daddu $a1, $s4, $zero
|
||||
/* BE6AB8 80243308 0C090BBC */ jal func_80242EF0_BE66A0
|
||||
/* BE6ABC 8024330C 0200302D */ daddu $a2, $s0, $zero
|
||||
/* BE6AC0 80243310 0260202D */ daddu $a0, $s3, $zero
|
||||
/* BE6AC4 80243314 0280282D */ daddu $a1, $s4, $zero
|
||||
/* BE6AC8 80243318 0C090BDB */ jal func_80242F6C_BE671C
|
||||
/* BE6ACC 8024331C 0200302D */ daddu $a2, $s0, $zero
|
||||
/* BE6AD0 80243320 8E630070 */ lw $v1, 0x70($s3)
|
||||
/* BE6AD4 80243324 24020034 */ addiu $v0, $zero, 0x34
|
||||
/* BE6AD8 80243328 14620006 */ bne $v1, $v0, .L80243344
|
||||
/* 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
|
||||
/* BE6AEC 8024333C 0200302D */ daddu $a2, $s0, $zero
|
||||
.L80243340:
|
||||
/* BE6AF0 80243340 0000102D */ daddu $v0, $zero, $zero
|
||||
.L80243344:
|
||||
/* BE6AF4 80243344 8FBF0048 */ lw $ra, 0x48($sp)
|
||||
/* BE6AF8 80243348 8FB50044 */ lw $s5, 0x44($sp)
|
||||
/* BE6AFC 8024334C 8FB40040 */ lw $s4, 0x40($sp)
|
||||
/* BE6B00 80243350 8FB3003C */ lw $s3, 0x3c($sp)
|
||||
/* BE6B04 80243354 8FB20038 */ lw $s2, 0x38($sp)
|
||||
/* BE6B08 80243358 8FB10034 */ lw $s1, 0x34($sp)
|
||||
/* BE6B0C 8024335C 8FB00030 */ lw $s0, 0x30($sp)
|
||||
/* BE6B10 80243360 03E00008 */ jr $ra
|
||||
/* BE6B14 80243364 27BD0050 */ addiu $sp, $sp, 0x50
|
||||
/* BE6B18 80243368 00000000 */ nop
|
||||
/* BE6B1C 8024336C 00000000 */ nop
|
@ -131,7 +131,7 @@ glabel func_80240B94_BE8774
|
||||
/* BE8954 80240D74 00000000 */ nop
|
||||
/* BE8958 80240D78 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BE895C 80240D7C 0260282D */ daddu $a1, $s3, $zero
|
||||
/* BE8960 80240D80 0C090000 */ jal func_80240000
|
||||
/* BE8960 80240D80 0C090000 */ jal func_80240000_BE7BE0
|
||||
/* BE8964 80240D84 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* BE8968 80240D88 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BE896C 80240D8C 0260282D */ daddu $a1, $s3, $zero
|
||||
@ -141,27 +141,27 @@ 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
|
||||
/* BE8988 80240DA8 0C090100 */ jal func_80240400_BE7FE0
|
||||
/* BE898C 80240DAC 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* BE8990 80240DB0 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BE8994 80240DB4 0260282D */ daddu $a1, $s3, $zero
|
||||
/* BE8998 80240DB8 0C090130 */ jal func_802404C0
|
||||
/* BE8998 80240DB8 0C090130 */ jal func_802404C0_BE80A0
|
||||
/* BE899C 80240DBC 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* BE89A0 80240DC0 0809039A */ j .L80240E68
|
||||
/* BE89A4 80240DC4 00000000 */ nop
|
||||
/* BE89A8 80240DC8 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BE89AC 80240DCC 0260282D */ daddu $a1, $s3, $zero
|
||||
/* BE89B0 80240DD0 0C09019F */ jal func_8024067C
|
||||
/* BE89B0 80240DD0 0C09019F */ jal func_8024067C_BE825C
|
||||
/* BE89B4 80240DD4 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* BE89B8 80240DD8 0809039A */ j .L80240E68
|
||||
/* BE89BC 80240DDC 00000000 */ nop
|
||||
/* BE89C0 80240DE0 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BE89C4 80240DE4 0260282D */ daddu $a1, $s3, $zero
|
||||
/* BE89C8 80240DE8 0C0901CC */ jal func_80240730
|
||||
/* BE89C8 80240DE8 0C0901CC */ jal func_80240730_BE8310
|
||||
/* 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
|
||||
/* BE89D8 80240DF8 0C0901E9 */ jal func_802407A4_BE8384
|
||||
/* BE89DC 80240DFC 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* BE89E0 80240E00 0809039A */ j .L80240E68
|
||||
/* BE89E4 80240E04 00000000 */ nop
|
||||
@ -171,19 +171,19 @@ glabel func_80240B94_BE8774
|
||||
/* BE89F4 80240E14 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* BE89F8 80240E18 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BE89FC 80240E1C 0260282D */ daddu $a1, $s3, $zero
|
||||
/* BE8A00 80240E20 0C090253 */ jal func_8024094C
|
||||
/* BE8A00 80240E20 0C090253 */ jal func_8024094C_BE852C
|
||||
/* BE8A04 80240E24 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* BE8A08 80240E28 0809039A */ j .L80240E68
|
||||
/* BE8A0C 80240E2C 00000000 */ nop
|
||||
/* BE8A10 80240E30 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BE8A14 80240E34 0260282D */ daddu $a1, $s3, $zero
|
||||
/* BE8A18 80240E38 0C09029B */ jal func_80240A6C
|
||||
/* BE8A18 80240E38 0C09029B */ jal func_80240A6C_BE864C
|
||||
/* BE8A1C 80240E3C 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* BE8A20 80240E40 0809039A */ j .L80240E68
|
||||
/* BE8A24 80240E44 00000000 */ nop
|
||||
/* BE8A28 80240E48 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BE8A2C 80240E4C 0260282D */ daddu $a1, $s3, $zero
|
||||
/* BE8A30 80240E50 0C0902B5 */ jal func_80240AD4
|
||||
/* BE8A30 80240E50 0C0902B5 */ jal func_80240AD4_BE86B4
|
||||
/* BE8A34 80240E54 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* BE8A38 80240E58 0809039A */ j .L80240E68
|
||||
/* BE8A3C 80240E5C 00000000 */ nop
|
||||
|
@ -61,27 +61,27 @@ glabel func_8024113C_BE8D1C
|
||||
/* BE8DF8 80241218 00000000 */ nop
|
||||
/* BE8DFC 8024121C 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BE8E00 80241220 0200282D */ daddu $a1, $s0, $zero
|
||||
/* BE8E04 80241224 0C090000 */ jal func_80240000
|
||||
/* BE8E04 80241224 0C090000 */ jal func_80240000_BE7BE0
|
||||
/* BE8E08 80241228 0240302D */ daddu $a2, $s2, $zero
|
||||
/* BE8E0C 8024122C 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BE8E10 80241230 0200282D */ daddu $a1, $s0, $zero
|
||||
/* BE8E14 80241234 0C0903A4 */ jal func_80240E90
|
||||
/* BE8E14 80241234 0C0903A4 */ jal func_80240E90_BE8A70
|
||||
/* BE8E18 80241238 0240302D */ daddu $a2, $s2, $zero
|
||||
/* BE8E1C 8024123C 0809049F */ j .L8024127C
|
||||
/* BE8E20 80241240 00000000 */ nop
|
||||
/* BE8E24 80241244 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BE8E28 80241248 0200282D */ daddu $a1, $s0, $zero
|
||||
/* BE8E2C 8024124C 0C090100 */ jal func_80240400
|
||||
/* BE8E2C 8024124C 0C090100 */ jal func_80240400_BE7FE0
|
||||
/* BE8E30 80241250 0240302D */ daddu $a2, $s2, $zero
|
||||
/* BE8E34 80241254 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BE8E38 80241258 0200282D */ daddu $a1, $s0, $zero
|
||||
/* BE8E3C 8024125C 0C09041A */ jal func_80241068
|
||||
/* BE8E3C 8024125C 0C09041A */ jal func_80241068_BE8C48
|
||||
/* BE8E40 80241260 0240302D */ daddu $a2, $s2, $zero
|
||||
/* BE8E44 80241264 0809049F */ j .L8024127C
|
||||
/* BE8E48 80241268 00000000 */ nop
|
||||
/* BE8E4C 8024126C 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BE8E50 80241270 0200282D */ daddu $a1, $s0, $zero
|
||||
/* BE8E54 80241274 0C09019F */ jal func_8024067C
|
||||
/* BE8E54 80241274 0C09019F */ jal func_8024067C_BE825C
|
||||
/* BE8E58 80241278 0240302D */ daddu $a2, $s2, $zero
|
||||
.L8024127C:
|
||||
/* BE8E5C 8024127C C6A0003C */ lwc1 $f0, 0x3c($s5)
|
||||
|
@ -1,34 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_8024152C
|
||||
/* 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
|
@ -0,0 +1,34 @@
|
||||
.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,79 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80241B38
|
||||
/* BEE928 80241B38 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
/* BEE92C 80241B3C AFB00028 */ sw $s0, 0x28($sp)
|
||||
/* BEE930 80241B40 00A0802D */ daddu $s0, $a1, $zero
|
||||
/* BEE934 80241B44 AFB1002C */ sw $s1, 0x2c($sp)
|
||||
/* BEE938 80241B48 00C0882D */ daddu $s1, $a2, $zero
|
||||
/* BEE93C 80241B4C AFBF0034 */ sw $ra, 0x34($sp)
|
||||
/* BEE940 80241B50 AFB20030 */ sw $s2, 0x30($sp)
|
||||
/* BEE944 80241B54 AE200070 */ sw $zero, 0x70($s1)
|
||||
/* BEE948 80241B58 8C830000 */ lw $v1, ($a0)
|
||||
/* BEE94C 80241B5C 2402FDFF */ addiu $v0, $zero, -0x201
|
||||
/* BEE950 80241B60 A480008E */ sh $zero, 0x8e($a0)
|
||||
/* BEE954 80241B64 00621824 */ and $v1, $v1, $v0
|
||||
/* BEE958 80241B68 34650800 */ ori $a1, $v1, 0x800
|
||||
/* BEE95C 80241B6C AC850000 */ sw $a1, ($a0)
|
||||
/* BEE960 80241B70 8E0200D0 */ lw $v0, 0xd0($s0)
|
||||
/* BEE964 80241B74 8C420034 */ lw $v0, 0x34($v0)
|
||||
/* BEE968 80241B78 10400003 */ beqz $v0, .L80241B88
|
||||
/* BEE96C 80241B7C 00E0902D */ daddu $s2, $a3, $zero
|
||||
/* BEE970 80241B80 080906E4 */ j .L80241B90
|
||||
/* BEE974 80241B84 34620808 */ ori $v0, $v1, 0x808
|
||||
.L80241B88:
|
||||
/* BEE978 80241B88 2402FFF7 */ addiu $v0, $zero, -9
|
||||
/* BEE97C 80241B8C 00A21024 */ and $v0, $a1, $v0
|
||||
.L80241B90:
|
||||
/* BEE980 80241B90 AC820000 */ sw $v0, ($a0)
|
||||
/* BEE984 80241B94 27A20024 */ addiu $v0, $sp, 0x24
|
||||
/* BEE988 80241B98 27A50018 */ addiu $a1, $sp, 0x18
|
||||
/* BEE98C 80241B9C C4800038 */ lwc1 $f0, 0x38($a0)
|
||||
/* BEE990 80241BA0 C482003C */ lwc1 $f2, 0x3c($a0)
|
||||
/* BEE994 80241BA4 C4840040 */ lwc1 $f4, 0x40($a0)
|
||||
/* BEE998 80241BA8 3C01447A */ lui $at, 0x447a
|
||||
/* BEE99C 80241BAC 44813000 */ mtc1 $at, $f6
|
||||
/* BEE9A0 80241BB0 27A6001C */ addiu $a2, $sp, 0x1c
|
||||
/* BEE9A4 80241BB4 E7A00018 */ swc1 $f0, 0x18($sp)
|
||||
/* BEE9A8 80241BB8 E7A2001C */ swc1 $f2, 0x1c($sp)
|
||||
/* BEE9AC 80241BBC E7A40020 */ swc1 $f4, 0x20($sp)
|
||||
/* BEE9B0 80241BC0 E7A60024 */ swc1 $f6, 0x24($sp)
|
||||
/* BEE9B4 80241BC4 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* BEE9B8 80241BC8 8C840080 */ lw $a0, 0x80($a0)
|
||||
/* BEE9BC 80241BCC 0C0372DF */ jal func_800DCB7C
|
||||
/* BEE9C0 80241BD0 27A70020 */ addiu $a3, $sp, 0x20
|
||||
/* BEE9C4 80241BD4 C7A20024 */ lwc1 $f2, 0x24($sp)
|
||||
/* BEE9C8 80241BD8 3C014059 */ lui $at, 0x4059
|
||||
/* BEE9CC 80241BDC 44812800 */ mtc1 $at, $f5
|
||||
/* BEE9D0 80241BE0 44802000 */ mtc1 $zero, $f4
|
||||
/* BEE9D4 80241BE4 460010A1 */ cvt.d.s $f2, $f2
|
||||
/* BEE9D8 80241BE8 46241082 */ mul.d $f2, $f2, $f4
|
||||
/* BEE9DC 80241BEC 00000000 */ nop
|
||||
/* BEE9E0 80241BF0 C7A0001C */ lwc1 $f0, 0x1c($sp)
|
||||
/* BEE9E4 80241BF4 46000021 */ cvt.d.s $f0, $f0
|
||||
/* BEE9E8 80241BF8 46240002 */ mul.d $f0, $f0, $f4
|
||||
/* BEE9EC 80241BFC 00000000 */ nop
|
||||
/* BEE9F0 80241C00 3C013FE0 */ lui $at, 0x3fe0
|
||||
/* BEE9F4 80241C04 44812800 */ mtc1 $at, $f5
|
||||
/* BEE9F8 80241C08 44802000 */ mtc1 $zero, $f4
|
||||
/* BEE9FC 80241C0C 00000000 */ nop
|
||||
/* BEEA00 80241C10 46241080 */ add.d $f2, $f2, $f4
|
||||
/* BEEA04 80241C14 AE000074 */ sw $zero, 0x74($s0)
|
||||
/* BEEA08 80241C18 46240000 */ add.d $f0, $f0, $f4
|
||||
/* BEEA0C 80241C1C AE000090 */ sw $zero, 0x90($s0)
|
||||
/* BEEA10 80241C20 4620120D */ trunc.w.d $f8, $f2
|
||||
/* BEEA14 80241C24 E6080078 */ swc1 $f8, 0x78($s0)
|
||||
/* BEEA18 80241C28 4620020D */ trunc.w.d $f8, $f0
|
||||
/* BEEA1C 80241C2C E6080088 */ swc1 $f8, 0x88($s0)
|
||||
/* BEEA20 80241C30 8E420014 */ lw $v0, 0x14($s2)
|
||||
/* BEEA24 80241C34 AE220074 */ sw $v0, 0x74($s1)
|
||||
/* BEEA28 80241C38 8E0200B0 */ lw $v0, 0xb0($s0)
|
||||
/* BEEA2C 80241C3C 34420010 */ ori $v0, $v0, 0x10
|
||||
/* BEEA30 80241C40 AE0200B0 */ sw $v0, 0xb0($s0)
|
||||
/* BEEA34 80241C44 8FBF0034 */ lw $ra, 0x34($sp)
|
||||
/* BEEA38 80241C48 8FB20030 */ lw $s2, 0x30($sp)
|
||||
/* BEEA3C 80241C4C 8FB1002C */ lw $s1, 0x2c($sp)
|
||||
/* BEEA40 80241C50 8FB00028 */ lw $s0, 0x28($sp)
|
||||
/* BEEA44 80241C54 03E00008 */ jr $ra
|
||||
/* BEEA48 80241C58 27BD0038 */ addiu $sp, $sp, 0x38
|
@ -0,0 +1,79 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80241B38_BEE928
|
||||
/* BEE928 80241B38 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
/* BEE92C 80241B3C AFB00028 */ sw $s0, 0x28($sp)
|
||||
/* BEE930 80241B40 00A0802D */ daddu $s0, $a1, $zero
|
||||
/* BEE934 80241B44 AFB1002C */ sw $s1, 0x2c($sp)
|
||||
/* BEE938 80241B48 00C0882D */ daddu $s1, $a2, $zero
|
||||
/* BEE93C 80241B4C AFBF0034 */ sw $ra, 0x34($sp)
|
||||
/* BEE940 80241B50 AFB20030 */ sw $s2, 0x30($sp)
|
||||
/* BEE944 80241B54 AE200070 */ sw $zero, 0x70($s1)
|
||||
/* BEE948 80241B58 8C830000 */ lw $v1, ($a0)
|
||||
/* BEE94C 80241B5C 2402FDFF */ addiu $v0, $zero, -0x201
|
||||
/* BEE950 80241B60 A480008E */ sh $zero, 0x8e($a0)
|
||||
/* BEE954 80241B64 00621824 */ and $v1, $v1, $v0
|
||||
/* BEE958 80241B68 34650800 */ ori $a1, $v1, 0x800
|
||||
/* BEE95C 80241B6C AC850000 */ sw $a1, ($a0)
|
||||
/* BEE960 80241B70 8E0200D0 */ lw $v0, 0xd0($s0)
|
||||
/* BEE964 80241B74 8C420034 */ lw $v0, 0x34($v0)
|
||||
/* BEE968 80241B78 10400003 */ beqz $v0, .L80241B88
|
||||
/* BEE96C 80241B7C 00E0902D */ daddu $s2, $a3, $zero
|
||||
/* BEE970 80241B80 080906E4 */ j .L80241B90
|
||||
/* BEE974 80241B84 34620808 */ ori $v0, $v1, 0x808
|
||||
.L80241B88:
|
||||
/* BEE978 80241B88 2402FFF7 */ addiu $v0, $zero, -9
|
||||
/* BEE97C 80241B8C 00A21024 */ and $v0, $a1, $v0
|
||||
.L80241B90:
|
||||
/* BEE980 80241B90 AC820000 */ sw $v0, ($a0)
|
||||
/* BEE984 80241B94 27A20024 */ addiu $v0, $sp, 0x24
|
||||
/* BEE988 80241B98 27A50018 */ addiu $a1, $sp, 0x18
|
||||
/* BEE98C 80241B9C C4800038 */ lwc1 $f0, 0x38($a0)
|
||||
/* BEE990 80241BA0 C482003C */ lwc1 $f2, 0x3c($a0)
|
||||
/* BEE994 80241BA4 C4840040 */ lwc1 $f4, 0x40($a0)
|
||||
/* BEE998 80241BA8 3C01447A */ lui $at, 0x447a
|
||||
/* BEE99C 80241BAC 44813000 */ mtc1 $at, $f6
|
||||
/* BEE9A0 80241BB0 27A6001C */ addiu $a2, $sp, 0x1c
|
||||
/* BEE9A4 80241BB4 E7A00018 */ swc1 $f0, 0x18($sp)
|
||||
/* BEE9A8 80241BB8 E7A2001C */ swc1 $f2, 0x1c($sp)
|
||||
/* BEE9AC 80241BBC E7A40020 */ swc1 $f4, 0x20($sp)
|
||||
/* BEE9B0 80241BC0 E7A60024 */ swc1 $f6, 0x24($sp)
|
||||
/* BEE9B4 80241BC4 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* BEE9B8 80241BC8 8C840080 */ lw $a0, 0x80($a0)
|
||||
/* BEE9BC 80241BCC 0C0372DF */ jal func_800DCB7C
|
||||
/* BEE9C0 80241BD0 27A70020 */ addiu $a3, $sp, 0x20
|
||||
/* BEE9C4 80241BD4 C7A20024 */ lwc1 $f2, 0x24($sp)
|
||||
/* BEE9C8 80241BD8 3C014059 */ lui $at, 0x4059
|
||||
/* BEE9CC 80241BDC 44812800 */ mtc1 $at, $f5
|
||||
/* BEE9D0 80241BE0 44802000 */ mtc1 $zero, $f4
|
||||
/* BEE9D4 80241BE4 460010A1 */ cvt.d.s $f2, $f2
|
||||
/* BEE9D8 80241BE8 46241082 */ mul.d $f2, $f2, $f4
|
||||
/* BEE9DC 80241BEC 00000000 */ nop
|
||||
/* BEE9E0 80241BF0 C7A0001C */ lwc1 $f0, 0x1c($sp)
|
||||
/* BEE9E4 80241BF4 46000021 */ cvt.d.s $f0, $f0
|
||||
/* BEE9E8 80241BF8 46240002 */ mul.d $f0, $f0, $f4
|
||||
/* BEE9EC 80241BFC 00000000 */ nop
|
||||
/* BEE9F0 80241C00 3C013FE0 */ lui $at, 0x3fe0
|
||||
/* BEE9F4 80241C04 44812800 */ mtc1 $at, $f5
|
||||
/* BEE9F8 80241C08 44802000 */ mtc1 $zero, $f4
|
||||
/* BEE9FC 80241C0C 00000000 */ nop
|
||||
/* BEEA00 80241C10 46241080 */ add.d $f2, $f2, $f4
|
||||
/* BEEA04 80241C14 AE000074 */ sw $zero, 0x74($s0)
|
||||
/* BEEA08 80241C18 46240000 */ add.d $f0, $f0, $f4
|
||||
/* BEEA0C 80241C1C AE000090 */ sw $zero, 0x90($s0)
|
||||
/* BEEA10 80241C20 4620120D */ trunc.w.d $f8, $f2
|
||||
/* BEEA14 80241C24 E6080078 */ swc1 $f8, 0x78($s0)
|
||||
/* BEEA18 80241C28 4620020D */ trunc.w.d $f8, $f0
|
||||
/* BEEA1C 80241C2C E6080088 */ swc1 $f8, 0x88($s0)
|
||||
/* BEEA20 80241C30 8E420014 */ lw $v0, 0x14($s2)
|
||||
/* BEEA24 80241C34 AE220074 */ sw $v0, 0x74($s1)
|
||||
/* BEEA28 80241C38 8E0200B0 */ lw $v0, 0xb0($s0)
|
||||
/* BEEA2C 80241C3C 34420010 */ ori $v0, $v0, 0x10
|
||||
/* BEEA30 80241C40 AE0200B0 */ sw $v0, 0xb0($s0)
|
||||
/* BEEA34 80241C44 8FBF0034 */ lw $ra, 0x34($sp)
|
||||
/* BEEA38 80241C48 8FB20030 */ lw $s2, 0x30($sp)
|
||||
/* BEEA3C 80241C4C 8FB1002C */ lw $s1, 0x2c($sp)
|
||||
/* BEEA40 80241C50 8FB00028 */ lw $s0, 0x28($sp)
|
||||
/* BEEA44 80241C54 03E00008 */ jr $ra
|
||||
/* BEEA48 80241C58 27BD0038 */ addiu $sp, $sp, 0x38
|
@ -46,7 +46,7 @@ glabel func_80241C5C_BEEA4C
|
||||
/* BEEAF0 80241D00 02A0202D */ daddu $a0, $s5, $zero
|
||||
/* BEEAF4 80241D04 0240282D */ daddu $a1, $s2, $zero
|
||||
/* BEEAF8 80241D08 0280302D */ daddu $a2, $s4, $zero
|
||||
/* BEEAFC 80241D0C 0C0906CE */ jal func_80241B38
|
||||
/* BEEAFC 80241D0C 0C0906CE */ jal func_80241B38_BEE928
|
||||
/* BEEB00 80241D10 0200382D */ daddu $a3, $s0, $zero
|
||||
.L80241D14:
|
||||
/* BEEB04 80241D14 2402FFFE */ addiu $v0, $zero, -2
|
||||
@ -73,49 +73,49 @@ glabel func_80241C5C_BEEA4C
|
||||
/* BEEB54 80241D64 00000000 */ nop
|
||||
/* BEEB58 80241D68 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BEEB5C 80241D6C 0200282D */ daddu $a1, $s0, $zero
|
||||
/* BEEB60 80241D70 0C090254 */ jal func_80240950
|
||||
/* BEEB60 80241D70 0C090254 */ jal func_80240950_BED740
|
||||
/* BEEB64 80241D74 0260302D */ daddu $a2, $s3, $zero
|
||||
/* BEEB68 80241D78 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BEEB6C 80241D7C 0200282D */ daddu $a1, $s0, $zero
|
||||
/* BEEB70 80241D80 0C0902C0 */ jal func_80240B00
|
||||
/* BEEB70 80241D80 0C0902C0 */ jal func_80240B00_BED8F0
|
||||
/* BEEB74 80241D84 0260302D */ daddu $a2, $s3, $zero
|
||||
/* BEEB78 80241D88 08090789 */ j .L80241E24
|
||||
/* 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
|
||||
/* BEEB88 80241D98 0C09044A */ jal func_80241128_BEDF18
|
||||
/* BEEB8C 80241D9C 0260302D */ daddu $a2, $s3, $zero
|
||||
/* BEEB90 80241DA0 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BEEB94 80241DA4 0200282D */ daddu $a1, $s0, $zero
|
||||
/* BEEB98 80241DA8 0C09047A */ jal func_802411E8
|
||||
/* BEEB98 80241DA8 0C09047A */ jal func_802411E8_BEDFD8
|
||||
/* BEEB9C 80241DAC 0260302D */ daddu $a2, $s3, $zero
|
||||
/* BEEBA0 80241DB0 08090789 */ j .L80241E24
|
||||
/* 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
|
||||
/* BEEBB0 80241DC0 0C09054B */ jal func_8024152C_BEE31C
|
||||
/* BEEBB4 80241DC4 0260302D */ daddu $a2, $s3, $zero
|
||||
/* BEEBB8 80241DC8 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BEEBBC 80241DCC 0200282D */ daddu $a1, $s0, $zero
|
||||
/* BEEBC0 80241DD0 0C090569 */ jal func_802415A4
|
||||
/* BEEBC0 80241DD0 0C090569 */ jal func_802415A4_BEE394
|
||||
/* BEEBC4 80241DD4 0260302D */ daddu $a2, $s3, $zero
|
||||
/* BEEBC8 80241DD8 08090789 */ j .L80241E24
|
||||
/* BEEBCC 80241DDC 0000102D */ daddu $v0, $zero, $zero
|
||||
/* BEEBD0 80241DE0 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BEEBD4 80241DE4 0200282D */ daddu $a1, $s0, $zero
|
||||
/* BEEBD8 80241DE8 0C090584 */ jal func_80241610
|
||||
/* BEEBD8 80241DE8 0C090584 */ jal func_80241610_BEE400
|
||||
/* BEEBDC 80241DEC 0260302D */ daddu $a2, $s3, $zero
|
||||
/* BEEBE0 80241DF0 08090789 */ j .L80241E24
|
||||
/* 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
|
||||
/* BEEBF0 80241E00 0C0905D1 */ jal func_80241744_BEE534
|
||||
/* BEEBF4 80241E04 0260302D */ daddu $a2, $s3, $zero
|
||||
/* BEEBF8 80241E08 08090789 */ j .L80241E24
|
||||
/* BEEBFC 80241E0C 0000102D */ daddu $v0, $zero, $zero
|
||||
/* BEEC00 80241E10 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BEEC04 80241E14 0200282D */ daddu $a1, $s0, $zero
|
||||
/* BEEC08 80241E18 0C0905EA */ jal func_802417A8
|
||||
/* BEEC08 80241E18 0C0905EA */ jal func_802417A8_BEE598
|
||||
/* BEEC0C 80241E1C 0260302D */ daddu $a2, $s3, $zero
|
||||
.L80241E20:
|
||||
/* BEEC10 80241E20 0000102D */ daddu $v0, $zero, $zero
|
||||
|
@ -1,18 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_8024008C
|
||||
/* BF482C 8024008C 3C018011 */ lui $at, 0x8011
|
||||
/* BF4830 80240090 C422EFF4 */ lwc1 $f2, -0x100c($at)
|
||||
/* BF4834 80240094 3C01C120 */ lui $at, 0xc120
|
||||
/* BF4838 80240098 44810000 */ mtc1 $at, $f0
|
||||
/* BF483C 8024009C 00000000 */ nop
|
||||
/* BF4840 802400A0 4600103C */ c.lt.s $f2, $f0
|
||||
/* BF4844 802400A4 00000000 */ nop
|
||||
/* BF4848 802400A8 45010002 */ bc1t .L802400B4
|
||||
/* BF484C 802400AC 24020002 */ addiu $v0, $zero, 2
|
||||
/* BF4850 802400B0 0000102D */ daddu $v0, $zero, $zero
|
||||
.L802400B4:
|
||||
/* BF4854 802400B4 03E00008 */ jr $ra
|
||||
/* BF4858 802400B8 00000000 */ nop
|
||||
/* BF485C 802400BC 00000000 */ nop
|
@ -0,0 +1,18 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_8024008C_BF482C
|
||||
/* BF482C 8024008C 3C018011 */ lui $at, 0x8011
|
||||
/* BF4830 80240090 C422EFF4 */ lwc1 $f2, -0x100c($at)
|
||||
/* BF4834 80240094 3C01C120 */ lui $at, 0xc120
|
||||
/* BF4838 80240098 44810000 */ mtc1 $at, $f0
|
||||
/* BF483C 8024009C 00000000 */ nop
|
||||
/* BF4840 802400A0 4600103C */ c.lt.s $f2, $f0
|
||||
/* BF4844 802400A4 00000000 */ nop
|
||||
/* BF4848 802400A8 45010002 */ bc1t .L802400B4
|
||||
/* BF484C 802400AC 24020002 */ addiu $v0, $zero, 2
|
||||
/* BF4850 802400B0 0000102D */ daddu $v0, $zero, $zero
|
||||
.L802400B4:
|
||||
/* BF4854 802400B4 03E00008 */ jr $ra
|
||||
/* BF4858 802400B8 00000000 */ nop
|
||||
/* BF485C 802400BC 00000000 */ nop
|
@ -1,225 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802409B8
|
||||
/* BFE238 802409B8 27BDFF88 */ addiu $sp, $sp, -0x78
|
||||
/* BFE23C 802409BC AFB3004C */ sw $s3, 0x4c($sp)
|
||||
/* BFE240 802409C0 0080982D */ daddu $s3, $a0, $zero
|
||||
/* BFE244 802409C4 AFBF0054 */ sw $ra, 0x54($sp)
|
||||
/* BFE248 802409C8 AFB40050 */ sw $s4, 0x50($sp)
|
||||
/* BFE24C 802409CC AFB20048 */ sw $s2, 0x48($sp)
|
||||
/* BFE250 802409D0 AFB10044 */ sw $s1, 0x44($sp)
|
||||
/* BFE254 802409D4 AFB00040 */ sw $s0, 0x40($sp)
|
||||
/* BFE258 802409D8 F7BA0070 */ sdc1 $f26, 0x70($sp)
|
||||
/* BFE25C 802409DC F7B80068 */ sdc1 $f24, 0x68($sp)
|
||||
/* BFE260 802409E0 F7B60060 */ sdc1 $f22, 0x60($sp)
|
||||
/* BFE264 802409E4 F7B40058 */ sdc1 $f20, 0x58($sp)
|
||||
/* BFE268 802409E8 8E710148 */ lw $s1, 0x148($s3)
|
||||
/* BFE26C 802409EC 00A0902D */ daddu $s2, $a1, $zero
|
||||
/* BFE270 802409F0 86240008 */ lh $a0, 8($s1)
|
||||
/* BFE274 802409F4 0C00EABB */ jal get_npc_unsafe
|
||||
/* BFE278 802409F8 00C0A02D */ daddu $s4, $a2, $zero
|
||||
/* BFE27C 802409FC 0040802D */ daddu $s0, $v0, $zero
|
||||
/* BFE280 80240A00 C6200078 */ lwc1 $f0, 0x78($s1)
|
||||
/* BFE284 80240A04 46800020 */ cvt.s.w $f0, $f0
|
||||
/* BFE288 80240A08 46000021 */ cvt.d.s $f0, $f0
|
||||
/* BFE28C 80240A0C 3C014059 */ lui $at, 0x4059
|
||||
/* BFE290 80240A10 44811800 */ mtc1 $at, $f3
|
||||
/* BFE294 80240A14 44801000 */ mtc1 $zero, $f2
|
||||
/* BFE298 80240A18 8602008E */ lh $v0, 0x8e($s0)
|
||||
/* BFE29C 80240A1C 9603008E */ lhu $v1, 0x8e($s0)
|
||||
/* BFE2A0 80240A20 46220003 */ div.d $f0, $f0, $f2
|
||||
/* BFE2A4 80240A24 46200620 */ cvt.s.d $f24, $f0
|
||||
/* BFE2A8 80240A28 C6200088 */ lwc1 $f0, 0x88($s1)
|
||||
/* BFE2AC 80240A2C 46800020 */ cvt.s.w $f0, $f0
|
||||
/* BFE2B0 80240A30 46000021 */ cvt.d.s $f0, $f0
|
||||
/* BFE2B4 80240A34 46220003 */ div.d $f0, $f0, $f2
|
||||
/* BFE2B8 80240A38 46200020 */ cvt.s.d $f0, $f0
|
||||
/* BFE2BC 80240A3C 18400003 */ blez $v0, .L80240A4C
|
||||
/* BFE2C0 80240A40 4600C680 */ add.s $f26, $f24, $f0
|
||||
/* BFE2C4 80240A44 2462FFFF */ addiu $v0, $v1, -1
|
||||
/* BFE2C8 80240A48 A602008E */ sh $v0, 0x8e($s0)
|
||||
.L80240A4C:
|
||||
/* BFE2CC 80240A4C 8E220070 */ lw $v0, 0x70($s1)
|
||||
/* BFE2D0 80240A50 18400034 */ blez $v0, .L80240B24
|
||||
/* BFE2D4 80240A54 00000000 */ nop
|
||||
/* BFE2D8 80240A58 C62C0074 */ lwc1 $f12, 0x74($s1)
|
||||
/* BFE2DC 80240A5C 46806320 */ cvt.s.w $f12, $f12
|
||||
/* BFE2E0 80240A60 44820000 */ mtc1 $v0, $f0
|
||||
/* BFE2E4 80240A64 00000000 */ nop
|
||||
/* BFE2E8 80240A68 46800020 */ cvt.s.w $f0, $f0
|
||||
/* BFE2EC 80240A6C 46000021 */ cvt.d.s $f0, $f0
|
||||
/* BFE2F0 80240A70 46220003 */ div.d $f0, $f0, $f2
|
||||
/* BFE2F4 80240A74 0C00A8BB */ jal sin_deg
|
||||
/* BFE2F8 80240A78 462005A0 */ cvt.s.d $f22, $f0
|
||||
/* BFE2FC 80240A7C 8E020000 */ lw $v0, ($s0)
|
||||
/* BFE300 80240A80 30420008 */ andi $v0, $v0, 8
|
||||
/* BFE304 80240A84 10400003 */ beqz $v0, .L80240A94
|
||||
/* BFE308 80240A88 46000506 */ mov.s $f20, $f0
|
||||
/* BFE30C 80240A8C 080902B5 */ j .L80240AD4
|
||||
/* BFE310 80240A90 0000102D */ daddu $v0, $zero, $zero
|
||||
.L80240A94:
|
||||
/* BFE314 80240A94 27A50028 */ addiu $a1, $sp, 0x28
|
||||
/* BFE318 80240A98 27A6002C */ addiu $a2, $sp, 0x2c
|
||||
/* BFE31C 80240A9C C6000038 */ lwc1 $f0, 0x38($s0)
|
||||
/* BFE320 80240AA0 C602003C */ lwc1 $f2, 0x3c($s0)
|
||||
/* BFE324 80240AA4 C6040040 */ lwc1 $f4, 0x40($s0)
|
||||
/* BFE328 80240AA8 3C01447A */ lui $at, 0x447a
|
||||
/* BFE32C 80240AAC 44813000 */ mtc1 $at, $f6
|
||||
/* BFE330 80240AB0 27A20034 */ addiu $v0, $sp, 0x34
|
||||
/* BFE334 80240AB4 E7A00028 */ swc1 $f0, 0x28($sp)
|
||||
/* BFE338 80240AB8 E7A2002C */ swc1 $f2, 0x2c($sp)
|
||||
/* BFE33C 80240ABC E7A40030 */ swc1 $f4, 0x30($sp)
|
||||
/* BFE340 80240AC0 E7A60034 */ swc1 $f6, 0x34($sp)
|
||||
/* BFE344 80240AC4 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* BFE348 80240AC8 8E040080 */ lw $a0, 0x80($s0)
|
||||
/* BFE34C 80240ACC 0C0372DF */ jal func_800DCB7C
|
||||
/* BFE350 80240AD0 27A70030 */ addiu $a3, $sp, 0x30
|
||||
.L80240AD4:
|
||||
/* BFE354 80240AD4 10400007 */ beqz $v0, .L80240AF4
|
||||
/* BFE358 80240AD8 00000000 */ nop
|
||||
/* BFE35C 80240ADC 4616A082 */ mul.s $f2, $f20, $f22
|
||||
/* BFE360 80240AE0 00000000 */ nop
|
||||
/* BFE364 80240AE4 C7A0002C */ lwc1 $f0, 0x2c($sp)
|
||||
/* BFE368 80240AE8 46180000 */ add.s $f0, $f0, $f24
|
||||
/* BFE36C 80240AEC 080902C0 */ j .L80240B00
|
||||
/* BFE370 80240AF0 46020000 */ add.s $f0, $f0, $f2
|
||||
.L80240AF4:
|
||||
/* BFE374 80240AF4 4616A002 */ mul.s $f0, $f20, $f22
|
||||
/* BFE378 80240AF8 00000000 */ nop
|
||||
/* BFE37C 80240AFC 4600D000 */ add.s $f0, $f26, $f0
|
||||
.L80240B00:
|
||||
/* BFE380 80240B00 E600003C */ swc1 $f0, 0x3c($s0)
|
||||
/* BFE384 80240B04 8E220074 */ lw $v0, 0x74($s1)
|
||||
/* BFE388 80240B08 2442000A */ addiu $v0, $v0, 0xa
|
||||
/* BFE38C 80240B0C 44826000 */ mtc1 $v0, $f12
|
||||
/* BFE390 80240B10 00000000 */ nop
|
||||
/* BFE394 80240B14 0C00A6C9 */ jal clamp_angle
|
||||
/* BFE398 80240B18 46806320 */ cvt.s.w $f12, $f12
|
||||
/* BFE39C 80240B1C 4600020D */ trunc.w.s $f8, $f0
|
||||
/* BFE3A0 80240B20 E6280074 */ swc1 $f8, 0x74($s1)
|
||||
.L80240B24:
|
||||
/* BFE3A4 80240B24 8E220090 */ lw $v0, 0x90($s1)
|
||||
/* BFE3A8 80240B28 1C400040 */ bgtz $v0, .L80240C2C
|
||||
/* BFE3AC 80240B2C 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* BFE3B0 80240B30 860200A8 */ lh $v0, 0xa8($s0)
|
||||
/* BFE3B4 80240B34 C600003C */ lwc1 $f0, 0x3c($s0)
|
||||
/* BFE3B8 80240B38 44821000 */ mtc1 $v0, $f2
|
||||
/* BFE3BC 80240B3C 00000000 */ nop
|
||||
/* BFE3C0 80240B40 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* BFE3C4 80240B44 3C02800F */ lui $v0, %hi(gPlayerStatusPtr)
|
||||
/* BFE3C8 80240B48 8C427B30 */ lw $v0, %lo(gPlayerStatusPtr)($v0)
|
||||
/* BFE3CC 80240B4C 46020000 */ add.s $f0, $f0, $f2
|
||||
/* BFE3D0 80240B50 3C014024 */ lui $at, 0x4024
|
||||
/* BFE3D4 80240B54 44812800 */ mtc1 $at, $f5
|
||||
/* BFE3D8 80240B58 44802000 */ mtc1 $zero, $f4
|
||||
/* BFE3DC 80240B5C C442002C */ lwc1 $f2, 0x2c($v0)
|
||||
/* BFE3E0 80240B60 46000021 */ cvt.d.s $f0, $f0
|
||||
/* BFE3E4 80240B64 46240000 */ add.d $f0, $f0, $f4
|
||||
/* BFE3E8 80240B68 460010A1 */ cvt.d.s $f2, $f2
|
||||
/* BFE3EC 80240B6C 4620103C */ c.lt.d $f2, $f0
|
||||
/* BFE3F0 80240B70 00000000 */ nop
|
||||
/* BFE3F4 80240B74 4500002E */ bc1f .L80240C30
|
||||
/* BFE3F8 80240B78 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BFE3FC 80240B7C 24020001 */ addiu $v0, $zero, 1
|
||||
/* BFE400 80240B80 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* BFE404 80240B84 8E460024 */ lw $a2, 0x24($s2)
|
||||
/* BFE408 80240B88 8E470028 */ lw $a3, 0x28($s2)
|
||||
/* BFE40C 80240B8C 0C01242D */ jal func_800490B4
|
||||
/* BFE410 80240B90 0220282D */ daddu $a1, $s1, $zero
|
||||
/* BFE414 80240B94 10400026 */ beqz $v0, .L80240C30
|
||||
/* BFE418 80240B98 0000202D */ daddu $a0, $zero, $zero
|
||||
/* BFE41C 80240B9C 0200282D */ daddu $a1, $s0, $zero
|
||||
/* BFE420 80240BA0 0000302D */ daddu $a2, $zero, $zero
|
||||
/* BFE424 80240BA4 2412000C */ addiu $s2, $zero, 0xc
|
||||
/* BFE428 80240BA8 860300A8 */ lh $v1, 0xa8($s0)
|
||||
/* BFE42C 80240BAC 3C013F80 */ lui $at, 0x3f80
|
||||
/* BFE430 80240BB0 44810000 */ mtc1 $at, $f0
|
||||
/* BFE434 80240BB4 3C014000 */ lui $at, 0x4000
|
||||
/* BFE438 80240BB8 44811000 */ mtc1 $at, $f2
|
||||
/* BFE43C 80240BBC 3C01C1A0 */ lui $at, 0xc1a0
|
||||
/* BFE440 80240BC0 44812000 */ mtc1 $at, $f4
|
||||
/* BFE444 80240BC4 44834000 */ mtc1 $v1, $f8
|
||||
/* BFE448 80240BC8 00000000 */ nop
|
||||
/* BFE44C 80240BCC 46804220 */ cvt.s.w $f8, $f8
|
||||
/* BFE450 80240BD0 44074000 */ mfc1 $a3, $f8
|
||||
/* BFE454 80240BD4 27A20038 */ addiu $v0, $sp, 0x38
|
||||
/* BFE458 80240BD8 AFB2001C */ sw $s2, 0x1c($sp)
|
||||
/* BFE45C 80240BDC AFA20020 */ sw $v0, 0x20($sp)
|
||||
/* BFE460 80240BE0 E7A00010 */ swc1 $f0, 0x10($sp)
|
||||
/* BFE464 80240BE4 E7A20014 */ swc1 $f2, 0x14($sp)
|
||||
/* BFE468 80240BE8 0C01BFA4 */ jal fx_emote
|
||||
/* BFE46C 80240BEC E7A40018 */ swc1 $f4, 0x18($sp)
|
||||
/* BFE470 80240BF0 0200202D */ daddu $a0, $s0, $zero
|
||||
/* BFE474 80240BF4 240502F4 */ addiu $a1, $zero, 0x2f4
|
||||
/* BFE478 80240BF8 C480003C */ lwc1 $f0, 0x3c($a0)
|
||||
/* BFE47C 80240BFC 3C060020 */ lui $a2, 0x20
|
||||
/* BFE480 80240C00 0C012530 */ jal func_800494C0
|
||||
/* BFE484 80240C04 E4800064 */ swc1 $f0, 0x64($a0)
|
||||
/* BFE488 80240C08 8E220018 */ lw $v0, 0x18($s1)
|
||||
/* BFE48C 80240C0C 9442002A */ lhu $v0, 0x2a($v0)
|
||||
/* BFE490 80240C10 30420001 */ andi $v0, $v0, 1
|
||||
/* BFE494 80240C14 10400003 */ beqz $v0, .L80240C24
|
||||
/* BFE498 80240C18 2402000A */ addiu $v0, $zero, 0xa
|
||||
/* BFE49C 80240C1C 08090333 */ j .L80240CCC
|
||||
/* BFE4A0 80240C20 AE620070 */ sw $v0, 0x70($s3)
|
||||
.L80240C24:
|
||||
/* BFE4A4 80240C24 08090333 */ j .L80240CCC
|
||||
/* BFE4A8 80240C28 AE720070 */ sw $s2, 0x70($s3)
|
||||
.L80240C2C:
|
||||
/* BFE4AC 80240C2C AE220090 */ sw $v0, 0x90($s1)
|
||||
.L80240C30:
|
||||
/* BFE4B0 80240C30 8602008C */ lh $v0, 0x8c($s0)
|
||||
/* BFE4B4 80240C34 14400025 */ bnez $v0, .L80240CCC
|
||||
/* BFE4B8 80240C38 00000000 */ nop
|
||||
/* BFE4BC 80240C3C 8602008E */ lh $v0, 0x8e($s0)
|
||||
/* BFE4C0 80240C40 1C400022 */ bgtz $v0, .L80240CCC
|
||||
/* BFE4C4 80240C44 00000000 */ nop
|
||||
/* BFE4C8 80240C48 8E620074 */ lw $v0, 0x74($s3)
|
||||
/* BFE4CC 80240C4C 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* BFE4D0 80240C50 1840001D */ blez $v0, .L80240CC8
|
||||
/* BFE4D4 80240C54 AE620074 */ sw $v0, 0x74($s3)
|
||||
/* BFE4D8 80240C58 8E220018 */ lw $v0, 0x18($s1)
|
||||
/* BFE4DC 80240C5C 9442002A */ lhu $v0, 0x2a($v0)
|
||||
/* BFE4E0 80240C60 30420010 */ andi $v0, $v0, 0x10
|
||||
/* BFE4E4 80240C64 14400007 */ bnez $v0, .L80240C84
|
||||
/* BFE4E8 80240C68 00000000 */ nop
|
||||
/* BFE4EC 80240C6C C600000C */ lwc1 $f0, 0xc($s0)
|
||||
/* BFE4F0 80240C70 3C014334 */ lui $at, 0x4334
|
||||
/* BFE4F4 80240C74 44816000 */ mtc1 $at, $f12
|
||||
/* BFE4F8 80240C78 0C00A6C9 */ jal clamp_angle
|
||||
/* BFE4FC 80240C7C 460C0300 */ add.s $f12, $f0, $f12
|
||||
/* BFE500 80240C80 E600000C */ swc1 $f0, 0xc($s0)
|
||||
.L80240C84:
|
||||
/* BFE504 80240C84 0C00A67F */ jal rand_int
|
||||
/* BFE508 80240C88 240403E8 */ addiu $a0, $zero, 0x3e8
|
||||
/* BFE50C 80240C8C 3C032E8B */ lui $v1, 0x2e8b
|
||||
/* BFE510 80240C90 3463A2E9 */ ori $v1, $v1, 0xa2e9
|
||||
/* BFE514 80240C94 00430018 */ mult $v0, $v1
|
||||
/* BFE518 80240C98 00021FC3 */ sra $v1, $v0, 0x1f
|
||||
/* BFE51C 80240C9C 00004010 */ mfhi $t0
|
||||
/* BFE520 80240CA0 00082043 */ sra $a0, $t0, 1
|
||||
/* BFE524 80240CA4 00832023 */ subu $a0, $a0, $v1
|
||||
/* BFE528 80240CA8 00041840 */ sll $v1, $a0, 1
|
||||
/* BFE52C 80240CAC 00641821 */ addu $v1, $v1, $a0
|
||||
/* BFE530 80240CB0 00031880 */ sll $v1, $v1, 2
|
||||
/* BFE534 80240CB4 00641823 */ subu $v1, $v1, $a0
|
||||
/* BFE538 80240CB8 00431023 */ subu $v0, $v0, $v1
|
||||
/* BFE53C 80240CBC 24420005 */ addiu $v0, $v0, 5
|
||||
/* BFE540 80240CC0 08090333 */ j .L80240CCC
|
||||
/* BFE544 80240CC4 A602008E */ sh $v0, 0x8e($s0)
|
||||
.L80240CC8:
|
||||
/* BFE548 80240CC8 AE600070 */ sw $zero, 0x70($s3)
|
||||
.L80240CCC:
|
||||
/* BFE54C 80240CCC 8FBF0054 */ lw $ra, 0x54($sp)
|
||||
/* BFE550 80240CD0 8FB40050 */ lw $s4, 0x50($sp)
|
||||
/* BFE554 80240CD4 8FB3004C */ lw $s3, 0x4c($sp)
|
||||
/* BFE558 80240CD8 8FB20048 */ lw $s2, 0x48($sp)
|
||||
/* BFE55C 80240CDC 8FB10044 */ lw $s1, 0x44($sp)
|
||||
/* BFE560 80240CE0 8FB00040 */ lw $s0, 0x40($sp)
|
||||
/* BFE564 80240CE4 D7BA0070 */ ldc1 $f26, 0x70($sp)
|
||||
/* BFE568 80240CE8 D7B80068 */ ldc1 $f24, 0x68($sp)
|
||||
/* BFE56C 80240CEC D7B60060 */ ldc1 $f22, 0x60($sp)
|
||||
/* BFE570 80240CF0 D7B40058 */ ldc1 $f20, 0x58($sp)
|
||||
/* BFE574 80240CF4 03E00008 */ jr $ra
|
||||
/* BFE578 80240CF8 27BD0078 */ addiu $sp, $sp, 0x78
|
@ -0,0 +1,225 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802409B8_BFE238
|
||||
/* BFE238 802409B8 27BDFF88 */ addiu $sp, $sp, -0x78
|
||||
/* BFE23C 802409BC AFB3004C */ sw $s3, 0x4c($sp)
|
||||
/* BFE240 802409C0 0080982D */ daddu $s3, $a0, $zero
|
||||
/* BFE244 802409C4 AFBF0054 */ sw $ra, 0x54($sp)
|
||||
/* BFE248 802409C8 AFB40050 */ sw $s4, 0x50($sp)
|
||||
/* BFE24C 802409CC AFB20048 */ sw $s2, 0x48($sp)
|
||||
/* BFE250 802409D0 AFB10044 */ sw $s1, 0x44($sp)
|
||||
/* BFE254 802409D4 AFB00040 */ sw $s0, 0x40($sp)
|
||||
/* BFE258 802409D8 F7BA0070 */ sdc1 $f26, 0x70($sp)
|
||||
/* BFE25C 802409DC F7B80068 */ sdc1 $f24, 0x68($sp)
|
||||
/* BFE260 802409E0 F7B60060 */ sdc1 $f22, 0x60($sp)
|
||||
/* BFE264 802409E4 F7B40058 */ sdc1 $f20, 0x58($sp)
|
||||
/* BFE268 802409E8 8E710148 */ lw $s1, 0x148($s3)
|
||||
/* BFE26C 802409EC 00A0902D */ daddu $s2, $a1, $zero
|
||||
/* BFE270 802409F0 86240008 */ lh $a0, 8($s1)
|
||||
/* BFE274 802409F4 0C00EABB */ jal get_npc_unsafe
|
||||
/* BFE278 802409F8 00C0A02D */ daddu $s4, $a2, $zero
|
||||
/* BFE27C 802409FC 0040802D */ daddu $s0, $v0, $zero
|
||||
/* BFE280 80240A00 C6200078 */ lwc1 $f0, 0x78($s1)
|
||||
/* BFE284 80240A04 46800020 */ cvt.s.w $f0, $f0
|
||||
/* BFE288 80240A08 46000021 */ cvt.d.s $f0, $f0
|
||||
/* BFE28C 80240A0C 3C014059 */ lui $at, 0x4059
|
||||
/* BFE290 80240A10 44811800 */ mtc1 $at, $f3
|
||||
/* BFE294 80240A14 44801000 */ mtc1 $zero, $f2
|
||||
/* BFE298 80240A18 8602008E */ lh $v0, 0x8e($s0)
|
||||
/* BFE29C 80240A1C 9603008E */ lhu $v1, 0x8e($s0)
|
||||
/* BFE2A0 80240A20 46220003 */ div.d $f0, $f0, $f2
|
||||
/* BFE2A4 80240A24 46200620 */ cvt.s.d $f24, $f0
|
||||
/* BFE2A8 80240A28 C6200088 */ lwc1 $f0, 0x88($s1)
|
||||
/* BFE2AC 80240A2C 46800020 */ cvt.s.w $f0, $f0
|
||||
/* BFE2B0 80240A30 46000021 */ cvt.d.s $f0, $f0
|
||||
/* BFE2B4 80240A34 46220003 */ div.d $f0, $f0, $f2
|
||||
/* BFE2B8 80240A38 46200020 */ cvt.s.d $f0, $f0
|
||||
/* BFE2BC 80240A3C 18400003 */ blez $v0, .L80240A4C
|
||||
/* BFE2C0 80240A40 4600C680 */ add.s $f26, $f24, $f0
|
||||
/* BFE2C4 80240A44 2462FFFF */ addiu $v0, $v1, -1
|
||||
/* BFE2C8 80240A48 A602008E */ sh $v0, 0x8e($s0)
|
||||
.L80240A4C:
|
||||
/* BFE2CC 80240A4C 8E220070 */ lw $v0, 0x70($s1)
|
||||
/* BFE2D0 80240A50 18400034 */ blez $v0, .L80240B24
|
||||
/* BFE2D4 80240A54 00000000 */ nop
|
||||
/* BFE2D8 80240A58 C62C0074 */ lwc1 $f12, 0x74($s1)
|
||||
/* BFE2DC 80240A5C 46806320 */ cvt.s.w $f12, $f12
|
||||
/* BFE2E0 80240A60 44820000 */ mtc1 $v0, $f0
|
||||
/* BFE2E4 80240A64 00000000 */ nop
|
||||
/* BFE2E8 80240A68 46800020 */ cvt.s.w $f0, $f0
|
||||
/* BFE2EC 80240A6C 46000021 */ cvt.d.s $f0, $f0
|
||||
/* BFE2F0 80240A70 46220003 */ div.d $f0, $f0, $f2
|
||||
/* BFE2F4 80240A74 0C00A8BB */ jal sin_deg
|
||||
/* BFE2F8 80240A78 462005A0 */ cvt.s.d $f22, $f0
|
||||
/* BFE2FC 80240A7C 8E020000 */ lw $v0, ($s0)
|
||||
/* BFE300 80240A80 30420008 */ andi $v0, $v0, 8
|
||||
/* BFE304 80240A84 10400003 */ beqz $v0, .L80240A94
|
||||
/* BFE308 80240A88 46000506 */ mov.s $f20, $f0
|
||||
/* BFE30C 80240A8C 080902B5 */ j .L80240AD4
|
||||
/* BFE310 80240A90 0000102D */ daddu $v0, $zero, $zero
|
||||
.L80240A94:
|
||||
/* BFE314 80240A94 27A50028 */ addiu $a1, $sp, 0x28
|
||||
/* BFE318 80240A98 27A6002C */ addiu $a2, $sp, 0x2c
|
||||
/* BFE31C 80240A9C C6000038 */ lwc1 $f0, 0x38($s0)
|
||||
/* BFE320 80240AA0 C602003C */ lwc1 $f2, 0x3c($s0)
|
||||
/* BFE324 80240AA4 C6040040 */ lwc1 $f4, 0x40($s0)
|
||||
/* BFE328 80240AA8 3C01447A */ lui $at, 0x447a
|
||||
/* BFE32C 80240AAC 44813000 */ mtc1 $at, $f6
|
||||
/* BFE330 80240AB0 27A20034 */ addiu $v0, $sp, 0x34
|
||||
/* BFE334 80240AB4 E7A00028 */ swc1 $f0, 0x28($sp)
|
||||
/* BFE338 80240AB8 E7A2002C */ swc1 $f2, 0x2c($sp)
|
||||
/* BFE33C 80240ABC E7A40030 */ swc1 $f4, 0x30($sp)
|
||||
/* BFE340 80240AC0 E7A60034 */ swc1 $f6, 0x34($sp)
|
||||
/* BFE344 80240AC4 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* BFE348 80240AC8 8E040080 */ lw $a0, 0x80($s0)
|
||||
/* BFE34C 80240ACC 0C0372DF */ jal func_800DCB7C
|
||||
/* BFE350 80240AD0 27A70030 */ addiu $a3, $sp, 0x30
|
||||
.L80240AD4:
|
||||
/* BFE354 80240AD4 10400007 */ beqz $v0, .L80240AF4
|
||||
/* BFE358 80240AD8 00000000 */ nop
|
||||
/* BFE35C 80240ADC 4616A082 */ mul.s $f2, $f20, $f22
|
||||
/* BFE360 80240AE0 00000000 */ nop
|
||||
/* BFE364 80240AE4 C7A0002C */ lwc1 $f0, 0x2c($sp)
|
||||
/* BFE368 80240AE8 46180000 */ add.s $f0, $f0, $f24
|
||||
/* BFE36C 80240AEC 080902C0 */ j .L80240B00
|
||||
/* BFE370 80240AF0 46020000 */ add.s $f0, $f0, $f2
|
||||
.L80240AF4:
|
||||
/* BFE374 80240AF4 4616A002 */ mul.s $f0, $f20, $f22
|
||||
/* BFE378 80240AF8 00000000 */ nop
|
||||
/* BFE37C 80240AFC 4600D000 */ add.s $f0, $f26, $f0
|
||||
.L80240B00:
|
||||
/* BFE380 80240B00 E600003C */ swc1 $f0, 0x3c($s0)
|
||||
/* BFE384 80240B04 8E220074 */ lw $v0, 0x74($s1)
|
||||
/* BFE388 80240B08 2442000A */ addiu $v0, $v0, 0xa
|
||||
/* BFE38C 80240B0C 44826000 */ mtc1 $v0, $f12
|
||||
/* BFE390 80240B10 00000000 */ nop
|
||||
/* BFE394 80240B14 0C00A6C9 */ jal clamp_angle
|
||||
/* BFE398 80240B18 46806320 */ cvt.s.w $f12, $f12
|
||||
/* BFE39C 80240B1C 4600020D */ trunc.w.s $f8, $f0
|
||||
/* BFE3A0 80240B20 E6280074 */ swc1 $f8, 0x74($s1)
|
||||
.L80240B24:
|
||||
/* BFE3A4 80240B24 8E220090 */ lw $v0, 0x90($s1)
|
||||
/* BFE3A8 80240B28 1C400040 */ bgtz $v0, .L80240C2C
|
||||
/* BFE3AC 80240B2C 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* BFE3B0 80240B30 860200A8 */ lh $v0, 0xa8($s0)
|
||||
/* BFE3B4 80240B34 C600003C */ lwc1 $f0, 0x3c($s0)
|
||||
/* BFE3B8 80240B38 44821000 */ mtc1 $v0, $f2
|
||||
/* BFE3BC 80240B3C 00000000 */ nop
|
||||
/* BFE3C0 80240B40 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* BFE3C4 80240B44 3C02800F */ lui $v0, %hi(gPlayerStatusPtr)
|
||||
/* BFE3C8 80240B48 8C427B30 */ lw $v0, %lo(gPlayerStatusPtr)($v0)
|
||||
/* BFE3CC 80240B4C 46020000 */ add.s $f0, $f0, $f2
|
||||
/* BFE3D0 80240B50 3C014024 */ lui $at, 0x4024
|
||||
/* BFE3D4 80240B54 44812800 */ mtc1 $at, $f5
|
||||
/* BFE3D8 80240B58 44802000 */ mtc1 $zero, $f4
|
||||
/* BFE3DC 80240B5C C442002C */ lwc1 $f2, 0x2c($v0)
|
||||
/* BFE3E0 80240B60 46000021 */ cvt.d.s $f0, $f0
|
||||
/* BFE3E4 80240B64 46240000 */ add.d $f0, $f0, $f4
|
||||
/* BFE3E8 80240B68 460010A1 */ cvt.d.s $f2, $f2
|
||||
/* BFE3EC 80240B6C 4620103C */ c.lt.d $f2, $f0
|
||||
/* BFE3F0 80240B70 00000000 */ nop
|
||||
/* BFE3F4 80240B74 4500002E */ bc1f .L80240C30
|
||||
/* BFE3F8 80240B78 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BFE3FC 80240B7C 24020001 */ addiu $v0, $zero, 1
|
||||
/* BFE400 80240B80 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* BFE404 80240B84 8E460024 */ lw $a2, 0x24($s2)
|
||||
/* BFE408 80240B88 8E470028 */ lw $a3, 0x28($s2)
|
||||
/* BFE40C 80240B8C 0C01242D */ jal func_800490B4
|
||||
/* BFE410 80240B90 0220282D */ daddu $a1, $s1, $zero
|
||||
/* BFE414 80240B94 10400026 */ beqz $v0, .L80240C30
|
||||
/* BFE418 80240B98 0000202D */ daddu $a0, $zero, $zero
|
||||
/* BFE41C 80240B9C 0200282D */ daddu $a1, $s0, $zero
|
||||
/* BFE420 80240BA0 0000302D */ daddu $a2, $zero, $zero
|
||||
/* BFE424 80240BA4 2412000C */ addiu $s2, $zero, 0xc
|
||||
/* BFE428 80240BA8 860300A8 */ lh $v1, 0xa8($s0)
|
||||
/* BFE42C 80240BAC 3C013F80 */ lui $at, 0x3f80
|
||||
/* BFE430 80240BB0 44810000 */ mtc1 $at, $f0
|
||||
/* BFE434 80240BB4 3C014000 */ lui $at, 0x4000
|
||||
/* BFE438 80240BB8 44811000 */ mtc1 $at, $f2
|
||||
/* BFE43C 80240BBC 3C01C1A0 */ lui $at, 0xc1a0
|
||||
/* BFE440 80240BC0 44812000 */ mtc1 $at, $f4
|
||||
/* BFE444 80240BC4 44834000 */ mtc1 $v1, $f8
|
||||
/* BFE448 80240BC8 00000000 */ nop
|
||||
/* BFE44C 80240BCC 46804220 */ cvt.s.w $f8, $f8
|
||||
/* BFE450 80240BD0 44074000 */ mfc1 $a3, $f8
|
||||
/* BFE454 80240BD4 27A20038 */ addiu $v0, $sp, 0x38
|
||||
/* BFE458 80240BD8 AFB2001C */ sw $s2, 0x1c($sp)
|
||||
/* BFE45C 80240BDC AFA20020 */ sw $v0, 0x20($sp)
|
||||
/* BFE460 80240BE0 E7A00010 */ swc1 $f0, 0x10($sp)
|
||||
/* BFE464 80240BE4 E7A20014 */ swc1 $f2, 0x14($sp)
|
||||
/* BFE468 80240BE8 0C01BFA4 */ jal fx_emote
|
||||
/* BFE46C 80240BEC E7A40018 */ swc1 $f4, 0x18($sp)
|
||||
/* BFE470 80240BF0 0200202D */ daddu $a0, $s0, $zero
|
||||
/* BFE474 80240BF4 240502F4 */ addiu $a1, $zero, 0x2f4
|
||||
/* BFE478 80240BF8 C480003C */ lwc1 $f0, 0x3c($a0)
|
||||
/* BFE47C 80240BFC 3C060020 */ lui $a2, 0x20
|
||||
/* BFE480 80240C00 0C012530 */ jal func_800494C0
|
||||
/* BFE484 80240C04 E4800064 */ swc1 $f0, 0x64($a0)
|
||||
/* BFE488 80240C08 8E220018 */ lw $v0, 0x18($s1)
|
||||
/* BFE48C 80240C0C 9442002A */ lhu $v0, 0x2a($v0)
|
||||
/* BFE490 80240C10 30420001 */ andi $v0, $v0, 1
|
||||
/* BFE494 80240C14 10400003 */ beqz $v0, .L80240C24
|
||||
/* BFE498 80240C18 2402000A */ addiu $v0, $zero, 0xa
|
||||
/* BFE49C 80240C1C 08090333 */ j .L80240CCC
|
||||
/* BFE4A0 80240C20 AE620070 */ sw $v0, 0x70($s3)
|
||||
.L80240C24:
|
||||
/* BFE4A4 80240C24 08090333 */ j .L80240CCC
|
||||
/* BFE4A8 80240C28 AE720070 */ sw $s2, 0x70($s3)
|
||||
.L80240C2C:
|
||||
/* BFE4AC 80240C2C AE220090 */ sw $v0, 0x90($s1)
|
||||
.L80240C30:
|
||||
/* BFE4B0 80240C30 8602008C */ lh $v0, 0x8c($s0)
|
||||
/* BFE4B4 80240C34 14400025 */ bnez $v0, .L80240CCC
|
||||
/* BFE4B8 80240C38 00000000 */ nop
|
||||
/* BFE4BC 80240C3C 8602008E */ lh $v0, 0x8e($s0)
|
||||
/* BFE4C0 80240C40 1C400022 */ bgtz $v0, .L80240CCC
|
||||
/* BFE4C4 80240C44 00000000 */ nop
|
||||
/* BFE4C8 80240C48 8E620074 */ lw $v0, 0x74($s3)
|
||||
/* BFE4CC 80240C4C 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* BFE4D0 80240C50 1840001D */ blez $v0, .L80240CC8
|
||||
/* BFE4D4 80240C54 AE620074 */ sw $v0, 0x74($s3)
|
||||
/* BFE4D8 80240C58 8E220018 */ lw $v0, 0x18($s1)
|
||||
/* BFE4DC 80240C5C 9442002A */ lhu $v0, 0x2a($v0)
|
||||
/* BFE4E0 80240C60 30420010 */ andi $v0, $v0, 0x10
|
||||
/* BFE4E4 80240C64 14400007 */ bnez $v0, .L80240C84
|
||||
/* BFE4E8 80240C68 00000000 */ nop
|
||||
/* BFE4EC 80240C6C C600000C */ lwc1 $f0, 0xc($s0)
|
||||
/* BFE4F0 80240C70 3C014334 */ lui $at, 0x4334
|
||||
/* BFE4F4 80240C74 44816000 */ mtc1 $at, $f12
|
||||
/* BFE4F8 80240C78 0C00A6C9 */ jal clamp_angle
|
||||
/* BFE4FC 80240C7C 460C0300 */ add.s $f12, $f0, $f12
|
||||
/* BFE500 80240C80 E600000C */ swc1 $f0, 0xc($s0)
|
||||
.L80240C84:
|
||||
/* BFE504 80240C84 0C00A67F */ jal rand_int
|
||||
/* BFE508 80240C88 240403E8 */ addiu $a0, $zero, 0x3e8
|
||||
/* BFE50C 80240C8C 3C032E8B */ lui $v1, 0x2e8b
|
||||
/* BFE510 80240C90 3463A2E9 */ ori $v1, $v1, 0xa2e9
|
||||
/* BFE514 80240C94 00430018 */ mult $v0, $v1
|
||||
/* BFE518 80240C98 00021FC3 */ sra $v1, $v0, 0x1f
|
||||
/* BFE51C 80240C9C 00004010 */ mfhi $t0
|
||||
/* BFE520 80240CA0 00082043 */ sra $a0, $t0, 1
|
||||
/* BFE524 80240CA4 00832023 */ subu $a0, $a0, $v1
|
||||
/* BFE528 80240CA8 00041840 */ sll $v1, $a0, 1
|
||||
/* BFE52C 80240CAC 00641821 */ addu $v1, $v1, $a0
|
||||
/* BFE530 80240CB0 00031880 */ sll $v1, $v1, 2
|
||||
/* BFE534 80240CB4 00641823 */ subu $v1, $v1, $a0
|
||||
/* BFE538 80240CB8 00431023 */ subu $v0, $v0, $v1
|
||||
/* BFE53C 80240CBC 24420005 */ addiu $v0, $v0, 5
|
||||
/* BFE540 80240CC0 08090333 */ j .L80240CCC
|
||||
/* BFE544 80240CC4 A602008E */ sh $v0, 0x8e($s0)
|
||||
.L80240CC8:
|
||||
/* BFE548 80240CC8 AE600070 */ sw $zero, 0x70($s3)
|
||||
.L80240CCC:
|
||||
/* BFE54C 80240CCC 8FBF0054 */ lw $ra, 0x54($sp)
|
||||
/* BFE550 80240CD0 8FB40050 */ lw $s4, 0x50($sp)
|
||||
/* BFE554 80240CD4 8FB3004C */ lw $s3, 0x4c($sp)
|
||||
/* BFE558 80240CD8 8FB20048 */ lw $s2, 0x48($sp)
|
||||
/* BFE55C 80240CDC 8FB10044 */ lw $s1, 0x44($sp)
|
||||
/* BFE560 80240CE0 8FB00040 */ lw $s0, 0x40($sp)
|
||||
/* BFE564 80240CE4 D7BA0070 */ ldc1 $f26, 0x70($sp)
|
||||
/* BFE568 80240CE8 D7B80068 */ ldc1 $f24, 0x68($sp)
|
||||
/* BFE56C 80240CEC D7B60060 */ ldc1 $f22, 0x60($sp)
|
||||
/* BFE570 80240CF0 D7B40058 */ ldc1 $f20, 0x58($sp)
|
||||
/* BFE574 80240CF4 03E00008 */ jr $ra
|
||||
/* BFE578 80240CF8 27BD0078 */ addiu $sp, $sp, 0x78
|
@ -1,83 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80240DE0
|
||||
/* BFE660 80240DE0 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* BFE664 80240DE4 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* BFE668 80240DE8 0080982D */ daddu $s3, $a0, $zero
|
||||
/* BFE66C 80240DEC AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* BFE670 80240DF0 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* BFE674 80240DF4 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* BFE678 80240DF8 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* BFE67C 80240DFC 8E720148 */ lw $s2, 0x148($s3)
|
||||
/* BFE680 80240E00 86440008 */ lh $a0, 8($s2)
|
||||
/* BFE684 80240E04 0C00EABB */ jal get_npc_unsafe
|
||||
/* BFE688 80240E08 00A0802D */ daddu $s0, $a1, $zero
|
||||
/* BFE68C 80240E0C 0040882D */ daddu $s1, $v0, $zero
|
||||
/* BFE690 80240E10 C6420080 */ lwc1 $f2, 0x80($s2)
|
||||
/* BFE694 80240E14 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* BFE698 80240E18 460010A1 */ cvt.d.s $f2, $f2
|
||||
/* BFE69C 80240E1C C6400084 */ lwc1 $f0, 0x84($s2)
|
||||
/* BFE6A0 80240E20 46800020 */ cvt.s.w $f0, $f0
|
||||
/* BFE6A4 80240E24 46000021 */ cvt.d.s $f0, $f0
|
||||
/* BFE6A8 80240E28 3C014059 */ lui $at, 0x4059
|
||||
/* BFE6AC 80240E2C 44812800 */ mtc1 $at, $f5
|
||||
/* BFE6B0 80240E30 44802000 */ mtc1 $zero, $f4
|
||||
/* BFE6B4 80240E34 8E4200CC */ lw $v0, 0xcc($s2)
|
||||
/* BFE6B8 80240E38 C62C0038 */ lwc1 $f12, 0x38($s1)
|
||||
/* BFE6BC 80240E3C C62E0040 */ lwc1 $f14, 0x40($s1)
|
||||
/* BFE6C0 80240E40 46241083 */ div.d $f2, $f2, $f4
|
||||
/* BFE6C4 80240E44 462010A0 */ cvt.s.d $f2, $f2
|
||||
/* BFE6C8 80240E48 46240003 */ div.d $f0, $f0, $f4
|
||||
/* BFE6CC 80240E4C 8C420020 */ lw $v0, 0x20($v0)
|
||||
/* BFE6D0 80240E50 46200020 */ cvt.s.d $f0, $f0
|
||||
/* BFE6D4 80240E54 E622001C */ swc1 $f2, 0x1c($s1)
|
||||
/* BFE6D8 80240E58 E6200014 */ swc1 $f0, 0x14($s1)
|
||||
/* BFE6DC 80240E5C AE220028 */ sw $v0, 0x28($s1)
|
||||
/* BFE6E0 80240E60 C6000018 */ lwc1 $f0, 0x18($s0)
|
||||
/* BFE6E4 80240E64 3C02800F */ lui $v0, %hi(gPlayerStatusPtr)
|
||||
/* BFE6E8 80240E68 8C427B30 */ lw $v0, %lo(gPlayerStatusPtr)($v0)
|
||||
/* BFE6EC 80240E6C E6200018 */ swc1 $f0, 0x18($s1)
|
||||
/* BFE6F0 80240E70 8C460028 */ lw $a2, 0x28($v0)
|
||||
/* BFE6F4 80240E74 0C00A720 */ jal atan2
|
||||
/* BFE6F8 80240E78 8C470030 */ lw $a3, 0x30($v0)
|
||||
/* BFE6FC 80240E7C E620000C */ swc1 $f0, 0xc($s1)
|
||||
/* BFE700 80240E80 8E420018 */ lw $v0, 0x18($s2)
|
||||
/* BFE704 80240E84 AE400074 */ sw $zero, 0x74($s2)
|
||||
/* BFE708 80240E88 9442002A */ lhu $v0, 0x2a($v0)
|
||||
/* BFE70C 80240E8C 30420002 */ andi $v0, $v0, 2
|
||||
/* BFE710 80240E90 10400005 */ beqz $v0, .L80240EA8
|
||||
/* BFE714 80240E94 24020003 */ addiu $v0, $zero, 3
|
||||
/* BFE718 80240E98 A622008E */ sh $v0, 0x8e($s1)
|
||||
/* BFE71C 80240E9C 2402000D */ addiu $v0, $zero, 0xd
|
||||
/* BFE720 80240EA0 080903BE */ j .L80240EF8
|
||||
/* BFE724 80240EA4 AE620070 */ sw $v0, 0x70($s3)
|
||||
.L80240EA8:
|
||||
/* BFE728 80240EA8 24030001 */ addiu $v1, $zero, 1
|
||||
/* BFE72C 80240EAC 2402000E */ addiu $v0, $zero, 0xe
|
||||
/* BFE730 80240EB0 A623008E */ sh $v1, 0x8e($s1)
|
||||
/* BFE734 80240EB4 AE620070 */ sw $v0, 0x70($s3)
|
||||
/* BFE738 80240EB8 C6200038 */ lwc1 $f0, 0x38($s1)
|
||||
/* BFE73C 80240EBC 4600018D */ trunc.w.s $f6, $f0
|
||||
/* BFE740 80240EC0 44023000 */ mfc1 $v0, $f6
|
||||
/* BFE744 80240EC4 00000000 */ nop
|
||||
/* BFE748 80240EC8 A6420010 */ sh $v0, 0x10($s2)
|
||||
/* BFE74C 80240ECC C620003C */ lwc1 $f0, 0x3c($s1)
|
||||
/* BFE750 80240ED0 4600018D */ trunc.w.s $f6, $f0
|
||||
/* BFE754 80240ED4 44023000 */ mfc1 $v0, $f6
|
||||
/* BFE758 80240ED8 00000000 */ nop
|
||||
/* BFE75C 80240EDC A6420012 */ sh $v0, 0x12($s2)
|
||||
/* BFE760 80240EE0 C6200040 */ lwc1 $f0, 0x40($s1)
|
||||
/* BFE764 80240EE4 A2430007 */ sb $v1, 7($s2)
|
||||
/* BFE768 80240EE8 4600018D */ trunc.w.s $f6, $f0
|
||||
/* BFE76C 80240EEC 44023000 */ mfc1 $v0, $f6
|
||||
/* BFE770 80240EF0 00000000 */ nop
|
||||
/* BFE774 80240EF4 A6420014 */ sh $v0, 0x14($s2)
|
||||
.L80240EF8:
|
||||
/* BFE778 80240EF8 8FBF0020 */ lw $ra, 0x20($sp)
|
||||
/* BFE77C 80240EFC 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* BFE780 80240F00 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* BFE784 80240F04 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* BFE788 80240F08 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* BFE78C 80240F0C 03E00008 */ jr $ra
|
||||
/* BFE790 80240F10 27BD0028 */ addiu $sp, $sp, 0x28
|
@ -0,0 +1,83 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80240DE0_BFE660
|
||||
/* BFE660 80240DE0 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* BFE664 80240DE4 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* BFE668 80240DE8 0080982D */ daddu $s3, $a0, $zero
|
||||
/* BFE66C 80240DEC AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* BFE670 80240DF0 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* BFE674 80240DF4 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* BFE678 80240DF8 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* BFE67C 80240DFC 8E720148 */ lw $s2, 0x148($s3)
|
||||
/* BFE680 80240E00 86440008 */ lh $a0, 8($s2)
|
||||
/* BFE684 80240E04 0C00EABB */ jal get_npc_unsafe
|
||||
/* BFE688 80240E08 00A0802D */ daddu $s0, $a1, $zero
|
||||
/* BFE68C 80240E0C 0040882D */ daddu $s1, $v0, $zero
|
||||
/* BFE690 80240E10 C6420080 */ lwc1 $f2, 0x80($s2)
|
||||
/* BFE694 80240E14 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* BFE698 80240E18 460010A1 */ cvt.d.s $f2, $f2
|
||||
/* BFE69C 80240E1C C6400084 */ lwc1 $f0, 0x84($s2)
|
||||
/* BFE6A0 80240E20 46800020 */ cvt.s.w $f0, $f0
|
||||
/* BFE6A4 80240E24 46000021 */ cvt.d.s $f0, $f0
|
||||
/* BFE6A8 80240E28 3C014059 */ lui $at, 0x4059
|
||||
/* BFE6AC 80240E2C 44812800 */ mtc1 $at, $f5
|
||||
/* BFE6B0 80240E30 44802000 */ mtc1 $zero, $f4
|
||||
/* BFE6B4 80240E34 8E4200CC */ lw $v0, 0xcc($s2)
|
||||
/* BFE6B8 80240E38 C62C0038 */ lwc1 $f12, 0x38($s1)
|
||||
/* BFE6BC 80240E3C C62E0040 */ lwc1 $f14, 0x40($s1)
|
||||
/* BFE6C0 80240E40 46241083 */ div.d $f2, $f2, $f4
|
||||
/* BFE6C4 80240E44 462010A0 */ cvt.s.d $f2, $f2
|
||||
/* BFE6C8 80240E48 46240003 */ div.d $f0, $f0, $f4
|
||||
/* BFE6CC 80240E4C 8C420020 */ lw $v0, 0x20($v0)
|
||||
/* BFE6D0 80240E50 46200020 */ cvt.s.d $f0, $f0
|
||||
/* BFE6D4 80240E54 E622001C */ swc1 $f2, 0x1c($s1)
|
||||
/* BFE6D8 80240E58 E6200014 */ swc1 $f0, 0x14($s1)
|
||||
/* BFE6DC 80240E5C AE220028 */ sw $v0, 0x28($s1)
|
||||
/* BFE6E0 80240E60 C6000018 */ lwc1 $f0, 0x18($s0)
|
||||
/* BFE6E4 80240E64 3C02800F */ lui $v0, %hi(gPlayerStatusPtr)
|
||||
/* BFE6E8 80240E68 8C427B30 */ lw $v0, %lo(gPlayerStatusPtr)($v0)
|
||||
/* BFE6EC 80240E6C E6200018 */ swc1 $f0, 0x18($s1)
|
||||
/* BFE6F0 80240E70 8C460028 */ lw $a2, 0x28($v0)
|
||||
/* BFE6F4 80240E74 0C00A720 */ jal atan2
|
||||
/* BFE6F8 80240E78 8C470030 */ lw $a3, 0x30($v0)
|
||||
/* BFE6FC 80240E7C E620000C */ swc1 $f0, 0xc($s1)
|
||||
/* BFE700 80240E80 8E420018 */ lw $v0, 0x18($s2)
|
||||
/* BFE704 80240E84 AE400074 */ sw $zero, 0x74($s2)
|
||||
/* BFE708 80240E88 9442002A */ lhu $v0, 0x2a($v0)
|
||||
/* BFE70C 80240E8C 30420002 */ andi $v0, $v0, 2
|
||||
/* BFE710 80240E90 10400005 */ beqz $v0, .L80240EA8
|
||||
/* BFE714 80240E94 24020003 */ addiu $v0, $zero, 3
|
||||
/* BFE718 80240E98 A622008E */ sh $v0, 0x8e($s1)
|
||||
/* BFE71C 80240E9C 2402000D */ addiu $v0, $zero, 0xd
|
||||
/* BFE720 80240EA0 080903BE */ j .L80240EF8
|
||||
/* BFE724 80240EA4 AE620070 */ sw $v0, 0x70($s3)
|
||||
.L80240EA8:
|
||||
/* BFE728 80240EA8 24030001 */ addiu $v1, $zero, 1
|
||||
/* BFE72C 80240EAC 2402000E */ addiu $v0, $zero, 0xe
|
||||
/* BFE730 80240EB0 A623008E */ sh $v1, 0x8e($s1)
|
||||
/* BFE734 80240EB4 AE620070 */ sw $v0, 0x70($s3)
|
||||
/* BFE738 80240EB8 C6200038 */ lwc1 $f0, 0x38($s1)
|
||||
/* BFE73C 80240EBC 4600018D */ trunc.w.s $f6, $f0
|
||||
/* BFE740 80240EC0 44023000 */ mfc1 $v0, $f6
|
||||
/* BFE744 80240EC4 00000000 */ nop
|
||||
/* BFE748 80240EC8 A6420010 */ sh $v0, 0x10($s2)
|
||||
/* BFE74C 80240ECC C620003C */ lwc1 $f0, 0x3c($s1)
|
||||
/* BFE750 80240ED0 4600018D */ trunc.w.s $f6, $f0
|
||||
/* BFE754 80240ED4 44023000 */ mfc1 $v0, $f6
|
||||
/* BFE758 80240ED8 00000000 */ nop
|
||||
/* BFE75C 80240EDC A6420012 */ sh $v0, 0x12($s2)
|
||||
/* BFE760 80240EE0 C6200040 */ lwc1 $f0, 0x40($s1)
|
||||
/* BFE764 80240EE4 A2430007 */ sb $v1, 7($s2)
|
||||
/* BFE768 80240EE8 4600018D */ trunc.w.s $f6, $f0
|
||||
/* BFE76C 80240EEC 44023000 */ mfc1 $v0, $f6
|
||||
/* BFE770 80240EF0 00000000 */ nop
|
||||
/* BFE774 80240EF4 A6420014 */ sh $v0, 0x14($s2)
|
||||
.L80240EF8:
|
||||
/* BFE778 80240EF8 8FBF0020 */ lw $ra, 0x20($sp)
|
||||
/* BFE77C 80240EFC 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* BFE780 80240F00 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* BFE784 80240F04 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* BFE788 80240F08 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* BFE78C 80240F0C 03E00008 */ jr $ra
|
||||
/* BFE790 80240F10 27BD0028 */ addiu $sp, $sp, 0x28
|
@ -1,243 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80240F78
|
||||
/* BFE7F8 80240F78 27BDFFB0 */ addiu $sp, $sp, -0x50
|
||||
/* BFE7FC 80240F7C AFB20030 */ sw $s2, 0x30($sp)
|
||||
/* BFE800 80240F80 0080902D */ daddu $s2, $a0, $zero
|
||||
/* BFE804 80240F84 AFBF0038 */ sw $ra, 0x38($sp)
|
||||
/* BFE808 80240F88 AFB30034 */ sw $s3, 0x34($sp)
|
||||
/* BFE80C 80240F8C AFB1002C */ sw $s1, 0x2c($sp)
|
||||
/* BFE810 80240F90 AFB00028 */ sw $s0, 0x28($sp)
|
||||
/* BFE814 80240F94 F7B60048 */ sdc1 $f22, 0x48($sp)
|
||||
/* BFE818 80240F98 F7B40040 */ sdc1 $f20, 0x40($sp)
|
||||
/* BFE81C 80240F9C 8E510148 */ lw $s1, 0x148($s2)
|
||||
/* BFE820 80240FA0 86240008 */ lh $a0, 8($s1)
|
||||
/* BFE824 80240FA4 0C00EABB */ jal get_npc_unsafe
|
||||
/* BFE828 80240FA8 00A0982D */ daddu $s3, $a1, $zero
|
||||
/* BFE82C 80240FAC 0040802D */ daddu $s0, $v0, $zero
|
||||
/* BFE830 80240FB0 0200202D */ daddu $a0, $s0, $zero
|
||||
/* BFE834 80240FB4 C6220088 */ lwc1 $f2, 0x88($s1)
|
||||
/* BFE838 80240FB8 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* BFE83C 80240FBC 460010A1 */ cvt.d.s $f2, $f2
|
||||
/* BFE840 80240FC0 C604001C */ lwc1 $f4, 0x1c($s0)
|
||||
/* BFE844 80240FC4 C6000014 */ lwc1 $f0, 0x14($s0)
|
||||
/* BFE848 80240FC8 8E050018 */ lw $a1, 0x18($s0)
|
||||
/* BFE84C 80240FCC 46002100 */ add.s $f4, $f4, $f0
|
||||
/* BFE850 80240FD0 8E06000C */ lw $a2, 0xc($s0)
|
||||
/* BFE854 80240FD4 C6200078 */ lwc1 $f0, 0x78($s1)
|
||||
/* BFE858 80240FD8 46800020 */ cvt.s.w $f0, $f0
|
||||
/* BFE85C 80240FDC E604001C */ swc1 $f4, 0x1c($s0)
|
||||
/* BFE860 80240FE0 3C014059 */ lui $at, 0x4059
|
||||
/* BFE864 80240FE4 44812800 */ mtc1 $at, $f5
|
||||
/* BFE868 80240FE8 44802000 */ mtc1 $zero, $f4
|
||||
/* BFE86C 80240FEC 46000021 */ cvt.d.s $f0, $f0
|
||||
/* BFE870 80240FF0 46240003 */ div.d $f0, $f0, $f4
|
||||
/* BFE874 80240FF4 46200520 */ cvt.s.d $f20, $f0
|
||||
/* BFE878 80240FF8 46241083 */ div.d $f2, $f2, $f4
|
||||
/* BFE87C 80240FFC 0C00EA95 */ jal npc_move_heading
|
||||
/* BFE880 80241000 462015A0 */ cvt.s.d $f22, $f2
|
||||
/* BFE884 80241004 C604001C */ lwc1 $f4, 0x1c($s0)
|
||||
/* BFE888 80241008 44801000 */ mtc1 $zero, $f2
|
||||
/* BFE88C 8024100C 44801800 */ mtc1 $zero, $f3
|
||||
/* BFE890 80241010 46002021 */ cvt.d.s $f0, $f4
|
||||
/* BFE894 80241014 4620103E */ c.le.d $f2, $f0
|
||||
/* BFE898 80241018 00000000 */ nop
|
||||
/* BFE89C 8024101C 45000030 */ bc1f .L802410E0
|
||||
/* BFE8A0 80241020 00000000 */ nop
|
||||
/* BFE8A4 80241024 C600003C */ lwc1 $f0, 0x3c($s0)
|
||||
/* BFE8A8 80241028 46040000 */ add.s $f0, $f0, $f4
|
||||
/* BFE8AC 8024102C E600003C */ swc1 $f0, 0x3c($s0)
|
||||
/* BFE8B0 80241030 8E2200CC */ lw $v0, 0xcc($s1)
|
||||
/* BFE8B4 80241034 8C420024 */ lw $v0, 0x24($v0)
|
||||
/* BFE8B8 80241038 AE020028 */ sw $v0, 0x28($s0)
|
||||
/* BFE8BC 8024103C A2200007 */ sb $zero, 7($s1)
|
||||
/* BFE8C0 80241040 8E020000 */ lw $v0, ($s0)
|
||||
/* BFE8C4 80241044 30420008 */ andi $v0, $v0, 8
|
||||
/* BFE8C8 80241048 14400011 */ bnez $v0, .L80241090
|
||||
/* BFE8CC 8024104C 0000102D */ daddu $v0, $zero, $zero
|
||||
/* BFE8D0 80241050 27A50018 */ addiu $a1, $sp, 0x18
|
||||
/* BFE8D4 80241054 27A6001C */ addiu $a2, $sp, 0x1c
|
||||
/* BFE8D8 80241058 C6000038 */ lwc1 $f0, 0x38($s0)
|
||||
/* BFE8DC 8024105C C602003C */ lwc1 $f2, 0x3c($s0)
|
||||
/* BFE8E0 80241060 C6040040 */ lwc1 $f4, 0x40($s0)
|
||||
/* BFE8E4 80241064 3C01447A */ lui $at, 0x447a
|
||||
/* BFE8E8 80241068 44813000 */ mtc1 $at, $f6
|
||||
/* BFE8EC 8024106C 27A20024 */ addiu $v0, $sp, 0x24
|
||||
/* BFE8F0 80241070 E7A00018 */ swc1 $f0, 0x18($sp)
|
||||
/* BFE8F4 80241074 E7A2001C */ swc1 $f2, 0x1c($sp)
|
||||
/* BFE8F8 80241078 E7A40020 */ swc1 $f4, 0x20($sp)
|
||||
/* BFE8FC 8024107C E7A60024 */ swc1 $f6, 0x24($sp)
|
||||
/* BFE900 80241080 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* BFE904 80241084 8E040080 */ lw $a0, 0x80($s0)
|
||||
/* BFE908 80241088 0C0372DF */ jal func_800DCB7C
|
||||
/* BFE90C 8024108C 27A70020 */ addiu $a3, $sp, 0x20
|
||||
.L80241090:
|
||||
/* BFE910 80241090 1040000B */ beqz $v0, .L802410C0
|
||||
/* BFE914 80241094 00000000 */ nop
|
||||
/* BFE918 80241098 C7A0001C */ lwc1 $f0, 0x1c($sp)
|
||||
/* BFE91C 8024109C 46140080 */ add.s $f2, $f0, $f20
|
||||
/* BFE920 802410A0 C600003C */ lwc1 $f0, 0x3c($s0)
|
||||
/* BFE924 802410A4 4600103E */ c.le.s $f2, $f0
|
||||
/* BFE928 802410A8 00000000 */ nop
|
||||
/* BFE92C 802410AC 4500008D */ bc1f .L802412E4
|
||||
/* BFE930 802410B0 00000000 */ nop
|
||||
/* BFE934 802410B4 E602003C */ swc1 $f2, 0x3c($s0)
|
||||
/* BFE938 802410B8 080904B9 */ j .L802412E4
|
||||
/* BFE93C 802410BC AE400070 */ sw $zero, 0x70($s2)
|
||||
.L802410C0:
|
||||
/* BFE940 802410C0 C602003C */ lwc1 $f2, 0x3c($s0)
|
||||
/* BFE944 802410C4 C6000064 */ lwc1 $f0, 0x64($s0)
|
||||
/* BFE948 802410C8 4602003E */ c.le.s $f0, $f2
|
||||
/* BFE94C 802410CC 00000000 */ nop
|
||||
/* BFE950 802410D0 45030084 */ bc1tl .L802412E4
|
||||
/* BFE954 802410D4 AE400070 */ sw $zero, 0x70($s2)
|
||||
/* BFE958 802410D8 080904B9 */ j .L802412E4
|
||||
/* BFE95C 802410DC 00000000 */ nop
|
||||
.L802410E0:
|
||||
/* BFE960 802410E0 4622003C */ c.lt.d $f0, $f2
|
||||
/* BFE964 802410E4 00000000 */ nop
|
||||
/* BFE968 802410E8 4500007E */ bc1f .L802412E4
|
||||
/* BFE96C 802410EC 00000000 */ nop
|
||||
/* BFE970 802410F0 9602008E */ lhu $v0, 0x8e($s0)
|
||||
/* BFE974 802410F4 24420001 */ addiu $v0, $v0, 1
|
||||
/* BFE978 802410F8 A602008E */ sh $v0, 0x8e($s0)
|
||||
/* BFE97C 802410FC 00021400 */ sll $v0, $v0, 0x10
|
||||
/* BFE980 80241100 8E630020 */ lw $v1, 0x20($s3)
|
||||
/* BFE984 80241104 00021403 */ sra $v0, $v0, 0x10
|
||||
/* BFE988 80241108 0043102A */ slt $v0, $v0, $v1
|
||||
/* BFE98C 8024110C 14400026 */ bnez $v0, .L802411A8
|
||||
/* BFE990 80241110 00000000 */ nop
|
||||
/* BFE994 80241114 C60C0038 */ lwc1 $f12, 0x38($s0)
|
||||
/* BFE998 80241118 C60E0040 */ lwc1 $f14, 0x40($s0)
|
||||
/* BFE99C 8024111C 3C02800F */ lui $v0, %hi(gPlayerStatusPtr)
|
||||
/* BFE9A0 80241120 8C427B30 */ lw $v0, %lo(gPlayerStatusPtr)($v0)
|
||||
/* BFE9A4 80241124 A600008E */ sh $zero, 0x8e($s0)
|
||||
/* BFE9A8 80241128 8C460028 */ lw $a2, 0x28($v0)
|
||||
/* BFE9AC 8024112C 0C00A720 */ jal atan2
|
||||
/* BFE9B0 80241130 8C470030 */ lw $a3, 0x30($v0)
|
||||
/* BFE9B4 80241134 46000506 */ mov.s $f20, $f0
|
||||
/* BFE9B8 80241138 C60C000C */ lwc1 $f12, 0xc($s0)
|
||||
/* BFE9BC 8024113C 0C00A70A */ jal get_clamped_angle_diff
|
||||
/* BFE9C0 80241140 4600A386 */ mov.s $f14, $f20
|
||||
/* BFE9C4 80241144 46000086 */ mov.s $f2, $f0
|
||||
/* BFE9C8 80241148 8E62001C */ lw $v0, 0x1c($s3)
|
||||
/* BFE9CC 8024114C 46001005 */ abs.s $f0, $f2
|
||||
/* BFE9D0 80241150 44822000 */ mtc1 $v0, $f4
|
||||
/* BFE9D4 80241154 00000000 */ nop
|
||||
/* BFE9D8 80241158 46802120 */ cvt.s.w $f4, $f4
|
||||
/* BFE9DC 8024115C 4600203C */ c.lt.s $f4, $f0
|
||||
/* BFE9E0 80241160 00000000 */ nop
|
||||
/* BFE9E4 80241164 4500000D */ bc1f .L8024119C
|
||||
/* BFE9E8 80241168 00000000 */ nop
|
||||
/* BFE9EC 8024116C 44800000 */ mtc1 $zero, $f0
|
||||
/* BFE9F0 80241170 C614000C */ lwc1 $f20, 0xc($s0)
|
||||
/* BFE9F4 80241174 4600103C */ c.lt.s $f2, $f0
|
||||
/* BFE9F8 80241178 00000000 */ nop
|
||||
/* BFE9FC 8024117C 45000006 */ bc1f .L80241198
|
||||
/* BFEA00 80241180 00021023 */ negu $v0, $v0
|
||||
/* BFEA04 80241184 44820000 */ mtc1 $v0, $f0
|
||||
/* BFEA08 80241188 00000000 */ nop
|
||||
/* BFEA0C 8024118C 46800020 */ cvt.s.w $f0, $f0
|
||||
/* BFEA10 80241190 08090467 */ j .L8024119C
|
||||
/* BFEA14 80241194 4600A500 */ add.s $f20, $f20, $f0
|
||||
.L80241198:
|
||||
/* BFEA18 80241198 4604A500 */ add.s $f20, $f20, $f4
|
||||
.L8024119C:
|
||||
/* BFEA1C 8024119C 0C00A6C9 */ jal clamp_angle
|
||||
/* BFEA20 802411A0 4600A306 */ mov.s $f12, $f20
|
||||
/* BFEA24 802411A4 E600000C */ swc1 $f0, 0xc($s0)
|
||||
.L802411A8:
|
||||
/* BFEA28 802411A8 8E020000 */ lw $v0, ($s0)
|
||||
/* BFEA2C 802411AC 30420008 */ andi $v0, $v0, 8
|
||||
/* BFEA30 802411B0 1040000A */ beqz $v0, .L802411DC
|
||||
/* BFEA34 802411B4 27A50018 */ addiu $a1, $sp, 0x18
|
||||
/* BFEA38 802411B8 C602003C */ lwc1 $f2, 0x3c($s0)
|
||||
/* BFEA3C 802411BC C600001C */ lwc1 $f0, 0x1c($s0)
|
||||
/* BFEA40 802411C0 46001080 */ add.s $f2, $f2, $f0
|
||||
/* BFEA44 802411C4 4616103C */ c.lt.s $f2, $f22
|
||||
/* BFEA48 802411C8 00000000 */ nop
|
||||
/* BFEA4C 802411CC 45020045 */ bc1fl .L802412E4
|
||||
/* BFEA50 802411D0 E602003C */ swc1 $f2, 0x3c($s0)
|
||||
/* BFEA54 802411D4 080904B8 */ j .L802412E0
|
||||
/* BFEA58 802411D8 E616003C */ swc1 $f22, 0x3c($s0)
|
||||
.L802411DC:
|
||||
/* BFEA5C 802411DC C6000038 */ lwc1 $f0, 0x38($s0)
|
||||
/* BFEA60 802411E0 27A6001C */ addiu $a2, $sp, 0x1c
|
||||
/* BFEA64 802411E4 E7A00018 */ swc1 $f0, 0x18($sp)
|
||||
/* BFEA68 802411E8 860200A8 */ lh $v0, 0xa8($s0)
|
||||
/* BFEA6C 802411EC C600001C */ lwc1 $f0, 0x1c($s0)
|
||||
/* BFEA70 802411F0 C604003C */ lwc1 $f4, 0x3c($s0)
|
||||
/* BFEA74 802411F4 44821000 */ mtc1 $v0, $f2
|
||||
/* BFEA78 802411F8 00000000 */ nop
|
||||
/* BFEA7C 802411FC 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* BFEA80 80241200 46000005 */ abs.s $f0, $f0
|
||||
/* BFEA84 80241204 46020000 */ add.s $f0, $f0, $f2
|
||||
/* BFEA88 80241208 C6060040 */ lwc1 $f6, 0x40($s0)
|
||||
/* BFEA8C 8024120C 27A20024 */ addiu $v0, $sp, 0x24
|
||||
/* BFEA90 80241210 46022100 */ add.s $f4, $f4, $f2
|
||||
/* BFEA94 80241214 3C014024 */ lui $at, 0x4024
|
||||
/* BFEA98 80241218 44811800 */ mtc1 $at, $f3
|
||||
/* BFEA9C 8024121C 44801000 */ mtc1 $zero, $f2
|
||||
/* BFEAA0 80241220 46000021 */ cvt.d.s $f0, $f0
|
||||
/* BFEAA4 80241224 46220000 */ add.d $f0, $f0, $f2
|
||||
/* BFEAA8 80241228 E7A60020 */ swc1 $f6, 0x20($sp)
|
||||
/* BFEAAC 8024122C E7A4001C */ swc1 $f4, 0x1c($sp)
|
||||
/* BFEAB0 80241230 46200020 */ cvt.s.d $f0, $f0
|
||||
/* BFEAB4 80241234 E7A00024 */ swc1 $f0, 0x24($sp)
|
||||
/* BFEAB8 80241238 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* BFEABC 8024123C 8E040080 */ lw $a0, 0x80($s0)
|
||||
/* BFEAC0 80241240 0C0372DF */ jal func_800DCB7C
|
||||
/* BFEAC4 80241244 27A70020 */ addiu $a3, $sp, 0x20
|
||||
/* BFEAC8 80241248 10400015 */ beqz $v0, .L802412A0
|
||||
/* BFEACC 8024124C 00000000 */ nop
|
||||
/* BFEAD0 80241250 860200A8 */ lh $v0, 0xa8($s0)
|
||||
/* BFEAD4 80241254 C604001C */ lwc1 $f4, 0x1c($s0)
|
||||
/* BFEAD8 80241258 44820000 */ mtc1 $v0, $f0
|
||||
/* BFEADC 8024125C 00000000 */ nop
|
||||
/* BFEAE0 80241260 46800020 */ cvt.s.w $f0, $f0
|
||||
/* BFEAE4 80241264 46002085 */ abs.s $f2, $f4
|
||||
/* BFEAE8 80241268 46020000 */ add.s $f0, $f0, $f2
|
||||
/* BFEAEC 8024126C C7A20024 */ lwc1 $f2, 0x24($sp)
|
||||
/* BFEAF0 80241270 4600103E */ c.le.s $f2, $f0
|
||||
/* BFEAF4 80241274 00000000 */ nop
|
||||
/* BFEAF8 80241278 45000005 */ bc1f .L80241290
|
||||
/* BFEAFC 8024127C 00000000 */ nop
|
||||
/* BFEB00 80241280 C7A0001C */ lwc1 $f0, 0x1c($sp)
|
||||
/* BFEB04 80241284 AE00001C */ sw $zero, 0x1c($s0)
|
||||
/* BFEB08 80241288 080904B9 */ j .L802412E4
|
||||
/* BFEB0C 8024128C E600003C */ swc1 $f0, 0x3c($s0)
|
||||
.L80241290:
|
||||
/* BFEB10 80241290 C600003C */ lwc1 $f0, 0x3c($s0)
|
||||
/* BFEB14 80241294 46040000 */ add.s $f0, $f0, $f4
|
||||
/* BFEB18 80241298 080904B9 */ j .L802412E4
|
||||
/* BFEB1C 8024129C E600003C */ swc1 $f0, 0x3c($s0)
|
||||
.L802412A0:
|
||||
/* BFEB20 802412A0 C606003C */ lwc1 $f6, 0x3c($s0)
|
||||
/* BFEB24 802412A4 860200A8 */ lh $v0, 0xa8($s0)
|
||||
/* BFEB28 802412A8 46163081 */ sub.s $f2, $f6, $f22
|
||||
/* BFEB2C 802412AC 44820000 */ mtc1 $v0, $f0
|
||||
/* BFEB30 802412B0 00000000 */ nop
|
||||
/* BFEB34 802412B4 46800020 */ cvt.s.w $f0, $f0
|
||||
/* BFEB38 802412B8 46001080 */ add.s $f2, $f2, $f0
|
||||
/* BFEB3C 802412BC C604001C */ lwc1 $f4, 0x1c($s0)
|
||||
/* BFEB40 802412C0 46002005 */ abs.s $f0, $f4
|
||||
/* BFEB44 802412C4 4602003C */ c.lt.s $f0, $f2
|
||||
/* BFEB48 802412C8 00000000 */ nop
|
||||
/* BFEB4C 802412CC 45020005 */ bc1fl .L802412E4
|
||||
/* BFEB50 802412D0 AE00001C */ sw $zero, 0x1c($s0)
|
||||
/* BFEB54 802412D4 46043000 */ add.s $f0, $f6, $f4
|
||||
/* BFEB58 802412D8 080904B9 */ j .L802412E4
|
||||
/* BFEB5C 802412DC E600003C */ swc1 $f0, 0x3c($s0)
|
||||
.L802412E0:
|
||||
/* BFEB60 802412E0 AE00001C */ sw $zero, 0x1c($s0)
|
||||
.L802412E4:
|
||||
/* BFEB64 802412E4 8FBF0038 */ lw $ra, 0x38($sp)
|
||||
/* BFEB68 802412E8 8FB30034 */ lw $s3, 0x34($sp)
|
||||
/* BFEB6C 802412EC 8FB20030 */ lw $s2, 0x30($sp)
|
||||
/* BFEB70 802412F0 8FB1002C */ lw $s1, 0x2c($sp)
|
||||
/* BFEB74 802412F4 8FB00028 */ lw $s0, 0x28($sp)
|
||||
/* BFEB78 802412F8 D7B60048 */ ldc1 $f22, 0x48($sp)
|
||||
/* BFEB7C 802412FC D7B40040 */ ldc1 $f20, 0x40($sp)
|
||||
/* BFEB80 80241300 03E00008 */ jr $ra
|
||||
/* BFEB84 80241304 27BD0050 */ addiu $sp, $sp, 0x50
|
@ -0,0 +1,243 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80240F78_BFE7F8
|
||||
/* BFE7F8 80240F78 27BDFFB0 */ addiu $sp, $sp, -0x50
|
||||
/* BFE7FC 80240F7C AFB20030 */ sw $s2, 0x30($sp)
|
||||
/* BFE800 80240F80 0080902D */ daddu $s2, $a0, $zero
|
||||
/* BFE804 80240F84 AFBF0038 */ sw $ra, 0x38($sp)
|
||||
/* BFE808 80240F88 AFB30034 */ sw $s3, 0x34($sp)
|
||||
/* BFE80C 80240F8C AFB1002C */ sw $s1, 0x2c($sp)
|
||||
/* BFE810 80240F90 AFB00028 */ sw $s0, 0x28($sp)
|
||||
/* BFE814 80240F94 F7B60048 */ sdc1 $f22, 0x48($sp)
|
||||
/* BFE818 80240F98 F7B40040 */ sdc1 $f20, 0x40($sp)
|
||||
/* BFE81C 80240F9C 8E510148 */ lw $s1, 0x148($s2)
|
||||
/* BFE820 80240FA0 86240008 */ lh $a0, 8($s1)
|
||||
/* BFE824 80240FA4 0C00EABB */ jal get_npc_unsafe
|
||||
/* BFE828 80240FA8 00A0982D */ daddu $s3, $a1, $zero
|
||||
/* BFE82C 80240FAC 0040802D */ daddu $s0, $v0, $zero
|
||||
/* BFE830 80240FB0 0200202D */ daddu $a0, $s0, $zero
|
||||
/* BFE834 80240FB4 C6220088 */ lwc1 $f2, 0x88($s1)
|
||||
/* BFE838 80240FB8 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* BFE83C 80240FBC 460010A1 */ cvt.d.s $f2, $f2
|
||||
/* BFE840 80240FC0 C604001C */ lwc1 $f4, 0x1c($s0)
|
||||
/* BFE844 80240FC4 C6000014 */ lwc1 $f0, 0x14($s0)
|
||||
/* BFE848 80240FC8 8E050018 */ lw $a1, 0x18($s0)
|
||||
/* BFE84C 80240FCC 46002100 */ add.s $f4, $f4, $f0
|
||||
/* BFE850 80240FD0 8E06000C */ lw $a2, 0xc($s0)
|
||||
/* BFE854 80240FD4 C6200078 */ lwc1 $f0, 0x78($s1)
|
||||
/* BFE858 80240FD8 46800020 */ cvt.s.w $f0, $f0
|
||||
/* BFE85C 80240FDC E604001C */ swc1 $f4, 0x1c($s0)
|
||||
/* BFE860 80240FE0 3C014059 */ lui $at, 0x4059
|
||||
/* BFE864 80240FE4 44812800 */ mtc1 $at, $f5
|
||||
/* BFE868 80240FE8 44802000 */ mtc1 $zero, $f4
|
||||
/* BFE86C 80240FEC 46000021 */ cvt.d.s $f0, $f0
|
||||
/* BFE870 80240FF0 46240003 */ div.d $f0, $f0, $f4
|
||||
/* BFE874 80240FF4 46200520 */ cvt.s.d $f20, $f0
|
||||
/* BFE878 80240FF8 46241083 */ div.d $f2, $f2, $f4
|
||||
/* BFE87C 80240FFC 0C00EA95 */ jal npc_move_heading
|
||||
/* BFE880 80241000 462015A0 */ cvt.s.d $f22, $f2
|
||||
/* BFE884 80241004 C604001C */ lwc1 $f4, 0x1c($s0)
|
||||
/* BFE888 80241008 44801000 */ mtc1 $zero, $f2
|
||||
/* BFE88C 8024100C 44801800 */ mtc1 $zero, $f3
|
||||
/* BFE890 80241010 46002021 */ cvt.d.s $f0, $f4
|
||||
/* BFE894 80241014 4620103E */ c.le.d $f2, $f0
|
||||
/* BFE898 80241018 00000000 */ nop
|
||||
/* BFE89C 8024101C 45000030 */ bc1f .L802410E0
|
||||
/* BFE8A0 80241020 00000000 */ nop
|
||||
/* BFE8A4 80241024 C600003C */ lwc1 $f0, 0x3c($s0)
|
||||
/* BFE8A8 80241028 46040000 */ add.s $f0, $f0, $f4
|
||||
/* BFE8AC 8024102C E600003C */ swc1 $f0, 0x3c($s0)
|
||||
/* BFE8B0 80241030 8E2200CC */ lw $v0, 0xcc($s1)
|
||||
/* BFE8B4 80241034 8C420024 */ lw $v0, 0x24($v0)
|
||||
/* BFE8B8 80241038 AE020028 */ sw $v0, 0x28($s0)
|
||||
/* BFE8BC 8024103C A2200007 */ sb $zero, 7($s1)
|
||||
/* BFE8C0 80241040 8E020000 */ lw $v0, ($s0)
|
||||
/* BFE8C4 80241044 30420008 */ andi $v0, $v0, 8
|
||||
/* BFE8C8 80241048 14400011 */ bnez $v0, .L80241090
|
||||
/* BFE8CC 8024104C 0000102D */ daddu $v0, $zero, $zero
|
||||
/* BFE8D0 80241050 27A50018 */ addiu $a1, $sp, 0x18
|
||||
/* BFE8D4 80241054 27A6001C */ addiu $a2, $sp, 0x1c
|
||||
/* BFE8D8 80241058 C6000038 */ lwc1 $f0, 0x38($s0)
|
||||
/* BFE8DC 8024105C C602003C */ lwc1 $f2, 0x3c($s0)
|
||||
/* BFE8E0 80241060 C6040040 */ lwc1 $f4, 0x40($s0)
|
||||
/* BFE8E4 80241064 3C01447A */ lui $at, 0x447a
|
||||
/* BFE8E8 80241068 44813000 */ mtc1 $at, $f6
|
||||
/* BFE8EC 8024106C 27A20024 */ addiu $v0, $sp, 0x24
|
||||
/* BFE8F0 80241070 E7A00018 */ swc1 $f0, 0x18($sp)
|
||||
/* BFE8F4 80241074 E7A2001C */ swc1 $f2, 0x1c($sp)
|
||||
/* BFE8F8 80241078 E7A40020 */ swc1 $f4, 0x20($sp)
|
||||
/* BFE8FC 8024107C E7A60024 */ swc1 $f6, 0x24($sp)
|
||||
/* BFE900 80241080 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* BFE904 80241084 8E040080 */ lw $a0, 0x80($s0)
|
||||
/* BFE908 80241088 0C0372DF */ jal func_800DCB7C
|
||||
/* BFE90C 8024108C 27A70020 */ addiu $a3, $sp, 0x20
|
||||
.L80241090:
|
||||
/* BFE910 80241090 1040000B */ beqz $v0, .L802410C0
|
||||
/* BFE914 80241094 00000000 */ nop
|
||||
/* BFE918 80241098 C7A0001C */ lwc1 $f0, 0x1c($sp)
|
||||
/* BFE91C 8024109C 46140080 */ add.s $f2, $f0, $f20
|
||||
/* BFE920 802410A0 C600003C */ lwc1 $f0, 0x3c($s0)
|
||||
/* BFE924 802410A4 4600103E */ c.le.s $f2, $f0
|
||||
/* BFE928 802410A8 00000000 */ nop
|
||||
/* BFE92C 802410AC 4500008D */ bc1f .L802412E4
|
||||
/* BFE930 802410B0 00000000 */ nop
|
||||
/* BFE934 802410B4 E602003C */ swc1 $f2, 0x3c($s0)
|
||||
/* BFE938 802410B8 080904B9 */ j .L802412E4
|
||||
/* BFE93C 802410BC AE400070 */ sw $zero, 0x70($s2)
|
||||
.L802410C0:
|
||||
/* BFE940 802410C0 C602003C */ lwc1 $f2, 0x3c($s0)
|
||||
/* BFE944 802410C4 C6000064 */ lwc1 $f0, 0x64($s0)
|
||||
/* BFE948 802410C8 4602003E */ c.le.s $f0, $f2
|
||||
/* BFE94C 802410CC 00000000 */ nop
|
||||
/* BFE950 802410D0 45030084 */ bc1tl .L802412E4
|
||||
/* BFE954 802410D4 AE400070 */ sw $zero, 0x70($s2)
|
||||
/* BFE958 802410D8 080904B9 */ j .L802412E4
|
||||
/* BFE95C 802410DC 00000000 */ nop
|
||||
.L802410E0:
|
||||
/* BFE960 802410E0 4622003C */ c.lt.d $f0, $f2
|
||||
/* BFE964 802410E4 00000000 */ nop
|
||||
/* BFE968 802410E8 4500007E */ bc1f .L802412E4
|
||||
/* BFE96C 802410EC 00000000 */ nop
|
||||
/* BFE970 802410F0 9602008E */ lhu $v0, 0x8e($s0)
|
||||
/* BFE974 802410F4 24420001 */ addiu $v0, $v0, 1
|
||||
/* BFE978 802410F8 A602008E */ sh $v0, 0x8e($s0)
|
||||
/* BFE97C 802410FC 00021400 */ sll $v0, $v0, 0x10
|
||||
/* BFE980 80241100 8E630020 */ lw $v1, 0x20($s3)
|
||||
/* BFE984 80241104 00021403 */ sra $v0, $v0, 0x10
|
||||
/* BFE988 80241108 0043102A */ slt $v0, $v0, $v1
|
||||
/* BFE98C 8024110C 14400026 */ bnez $v0, .L802411A8
|
||||
/* BFE990 80241110 00000000 */ nop
|
||||
/* BFE994 80241114 C60C0038 */ lwc1 $f12, 0x38($s0)
|
||||
/* BFE998 80241118 C60E0040 */ lwc1 $f14, 0x40($s0)
|
||||
/* BFE99C 8024111C 3C02800F */ lui $v0, %hi(gPlayerStatusPtr)
|
||||
/* BFE9A0 80241120 8C427B30 */ lw $v0, %lo(gPlayerStatusPtr)($v0)
|
||||
/* BFE9A4 80241124 A600008E */ sh $zero, 0x8e($s0)
|
||||
/* BFE9A8 80241128 8C460028 */ lw $a2, 0x28($v0)
|
||||
/* BFE9AC 8024112C 0C00A720 */ jal atan2
|
||||
/* BFE9B0 80241130 8C470030 */ lw $a3, 0x30($v0)
|
||||
/* BFE9B4 80241134 46000506 */ mov.s $f20, $f0
|
||||
/* BFE9B8 80241138 C60C000C */ lwc1 $f12, 0xc($s0)
|
||||
/* BFE9BC 8024113C 0C00A70A */ jal get_clamped_angle_diff
|
||||
/* BFE9C0 80241140 4600A386 */ mov.s $f14, $f20
|
||||
/* BFE9C4 80241144 46000086 */ mov.s $f2, $f0
|
||||
/* BFE9C8 80241148 8E62001C */ lw $v0, 0x1c($s3)
|
||||
/* BFE9CC 8024114C 46001005 */ abs.s $f0, $f2
|
||||
/* BFE9D0 80241150 44822000 */ mtc1 $v0, $f4
|
||||
/* BFE9D4 80241154 00000000 */ nop
|
||||
/* BFE9D8 80241158 46802120 */ cvt.s.w $f4, $f4
|
||||
/* BFE9DC 8024115C 4600203C */ c.lt.s $f4, $f0
|
||||
/* BFE9E0 80241160 00000000 */ nop
|
||||
/* BFE9E4 80241164 4500000D */ bc1f .L8024119C
|
||||
/* BFE9E8 80241168 00000000 */ nop
|
||||
/* BFE9EC 8024116C 44800000 */ mtc1 $zero, $f0
|
||||
/* BFE9F0 80241170 C614000C */ lwc1 $f20, 0xc($s0)
|
||||
/* BFE9F4 80241174 4600103C */ c.lt.s $f2, $f0
|
||||
/* BFE9F8 80241178 00000000 */ nop
|
||||
/* BFE9FC 8024117C 45000006 */ bc1f .L80241198
|
||||
/* BFEA00 80241180 00021023 */ negu $v0, $v0
|
||||
/* BFEA04 80241184 44820000 */ mtc1 $v0, $f0
|
||||
/* BFEA08 80241188 00000000 */ nop
|
||||
/* BFEA0C 8024118C 46800020 */ cvt.s.w $f0, $f0
|
||||
/* BFEA10 80241190 08090467 */ j .L8024119C
|
||||
/* BFEA14 80241194 4600A500 */ add.s $f20, $f20, $f0
|
||||
.L80241198:
|
||||
/* BFEA18 80241198 4604A500 */ add.s $f20, $f20, $f4
|
||||
.L8024119C:
|
||||
/* BFEA1C 8024119C 0C00A6C9 */ jal clamp_angle
|
||||
/* BFEA20 802411A0 4600A306 */ mov.s $f12, $f20
|
||||
/* BFEA24 802411A4 E600000C */ swc1 $f0, 0xc($s0)
|
||||
.L802411A8:
|
||||
/* BFEA28 802411A8 8E020000 */ lw $v0, ($s0)
|
||||
/* BFEA2C 802411AC 30420008 */ andi $v0, $v0, 8
|
||||
/* BFEA30 802411B0 1040000A */ beqz $v0, .L802411DC
|
||||
/* BFEA34 802411B4 27A50018 */ addiu $a1, $sp, 0x18
|
||||
/* BFEA38 802411B8 C602003C */ lwc1 $f2, 0x3c($s0)
|
||||
/* BFEA3C 802411BC C600001C */ lwc1 $f0, 0x1c($s0)
|
||||
/* BFEA40 802411C0 46001080 */ add.s $f2, $f2, $f0
|
||||
/* BFEA44 802411C4 4616103C */ c.lt.s $f2, $f22
|
||||
/* BFEA48 802411C8 00000000 */ nop
|
||||
/* BFEA4C 802411CC 45020045 */ bc1fl .L802412E4
|
||||
/* BFEA50 802411D0 E602003C */ swc1 $f2, 0x3c($s0)
|
||||
/* BFEA54 802411D4 080904B8 */ j .L802412E0
|
||||
/* BFEA58 802411D8 E616003C */ swc1 $f22, 0x3c($s0)
|
||||
.L802411DC:
|
||||
/* BFEA5C 802411DC C6000038 */ lwc1 $f0, 0x38($s0)
|
||||
/* BFEA60 802411E0 27A6001C */ addiu $a2, $sp, 0x1c
|
||||
/* BFEA64 802411E4 E7A00018 */ swc1 $f0, 0x18($sp)
|
||||
/* BFEA68 802411E8 860200A8 */ lh $v0, 0xa8($s0)
|
||||
/* BFEA6C 802411EC C600001C */ lwc1 $f0, 0x1c($s0)
|
||||
/* BFEA70 802411F0 C604003C */ lwc1 $f4, 0x3c($s0)
|
||||
/* BFEA74 802411F4 44821000 */ mtc1 $v0, $f2
|
||||
/* BFEA78 802411F8 00000000 */ nop
|
||||
/* BFEA7C 802411FC 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* BFEA80 80241200 46000005 */ abs.s $f0, $f0
|
||||
/* BFEA84 80241204 46020000 */ add.s $f0, $f0, $f2
|
||||
/* BFEA88 80241208 C6060040 */ lwc1 $f6, 0x40($s0)
|
||||
/* BFEA8C 8024120C 27A20024 */ addiu $v0, $sp, 0x24
|
||||
/* BFEA90 80241210 46022100 */ add.s $f4, $f4, $f2
|
||||
/* BFEA94 80241214 3C014024 */ lui $at, 0x4024
|
||||
/* BFEA98 80241218 44811800 */ mtc1 $at, $f3
|
||||
/* BFEA9C 8024121C 44801000 */ mtc1 $zero, $f2
|
||||
/* BFEAA0 80241220 46000021 */ cvt.d.s $f0, $f0
|
||||
/* BFEAA4 80241224 46220000 */ add.d $f0, $f0, $f2
|
||||
/* BFEAA8 80241228 E7A60020 */ swc1 $f6, 0x20($sp)
|
||||
/* BFEAAC 8024122C E7A4001C */ swc1 $f4, 0x1c($sp)
|
||||
/* BFEAB0 80241230 46200020 */ cvt.s.d $f0, $f0
|
||||
/* BFEAB4 80241234 E7A00024 */ swc1 $f0, 0x24($sp)
|
||||
/* BFEAB8 80241238 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* BFEABC 8024123C 8E040080 */ lw $a0, 0x80($s0)
|
||||
/* BFEAC0 80241240 0C0372DF */ jal func_800DCB7C
|
||||
/* BFEAC4 80241244 27A70020 */ addiu $a3, $sp, 0x20
|
||||
/* BFEAC8 80241248 10400015 */ beqz $v0, .L802412A0
|
||||
/* BFEACC 8024124C 00000000 */ nop
|
||||
/* BFEAD0 80241250 860200A8 */ lh $v0, 0xa8($s0)
|
||||
/* BFEAD4 80241254 C604001C */ lwc1 $f4, 0x1c($s0)
|
||||
/* BFEAD8 80241258 44820000 */ mtc1 $v0, $f0
|
||||
/* BFEADC 8024125C 00000000 */ nop
|
||||
/* BFEAE0 80241260 46800020 */ cvt.s.w $f0, $f0
|
||||
/* BFEAE4 80241264 46002085 */ abs.s $f2, $f4
|
||||
/* BFEAE8 80241268 46020000 */ add.s $f0, $f0, $f2
|
||||
/* BFEAEC 8024126C C7A20024 */ lwc1 $f2, 0x24($sp)
|
||||
/* BFEAF0 80241270 4600103E */ c.le.s $f2, $f0
|
||||
/* BFEAF4 80241274 00000000 */ nop
|
||||
/* BFEAF8 80241278 45000005 */ bc1f .L80241290
|
||||
/* BFEAFC 8024127C 00000000 */ nop
|
||||
/* BFEB00 80241280 C7A0001C */ lwc1 $f0, 0x1c($sp)
|
||||
/* BFEB04 80241284 AE00001C */ sw $zero, 0x1c($s0)
|
||||
/* BFEB08 80241288 080904B9 */ j .L802412E4
|
||||
/* BFEB0C 8024128C E600003C */ swc1 $f0, 0x3c($s0)
|
||||
.L80241290:
|
||||
/* BFEB10 80241290 C600003C */ lwc1 $f0, 0x3c($s0)
|
||||
/* BFEB14 80241294 46040000 */ add.s $f0, $f0, $f4
|
||||
/* BFEB18 80241298 080904B9 */ j .L802412E4
|
||||
/* BFEB1C 8024129C E600003C */ swc1 $f0, 0x3c($s0)
|
||||
.L802412A0:
|
||||
/* BFEB20 802412A0 C606003C */ lwc1 $f6, 0x3c($s0)
|
||||
/* BFEB24 802412A4 860200A8 */ lh $v0, 0xa8($s0)
|
||||
/* BFEB28 802412A8 46163081 */ sub.s $f2, $f6, $f22
|
||||
/* BFEB2C 802412AC 44820000 */ mtc1 $v0, $f0
|
||||
/* BFEB30 802412B0 00000000 */ nop
|
||||
/* BFEB34 802412B4 46800020 */ cvt.s.w $f0, $f0
|
||||
/* BFEB38 802412B8 46001080 */ add.s $f2, $f2, $f0
|
||||
/* BFEB3C 802412BC C604001C */ lwc1 $f4, 0x1c($s0)
|
||||
/* BFEB40 802412C0 46002005 */ abs.s $f0, $f4
|
||||
/* BFEB44 802412C4 4602003C */ c.lt.s $f0, $f2
|
||||
/* BFEB48 802412C8 00000000 */ nop
|
||||
/* BFEB4C 802412CC 45020005 */ bc1fl .L802412E4
|
||||
/* BFEB50 802412D0 AE00001C */ sw $zero, 0x1c($s0)
|
||||
/* BFEB54 802412D4 46043000 */ add.s $f0, $f6, $f4
|
||||
/* BFEB58 802412D8 080904B9 */ j .L802412E4
|
||||
/* BFEB5C 802412DC E600003C */ swc1 $f0, 0x3c($s0)
|
||||
.L802412E0:
|
||||
/* BFEB60 802412E0 AE00001C */ sw $zero, 0x1c($s0)
|
||||
.L802412E4:
|
||||
/* BFEB64 802412E4 8FBF0038 */ lw $ra, 0x38($sp)
|
||||
/* BFEB68 802412E8 8FB30034 */ lw $s3, 0x34($sp)
|
||||
/* BFEB6C 802412EC 8FB20030 */ lw $s2, 0x30($sp)
|
||||
/* BFEB70 802412F0 8FB1002C */ lw $s1, 0x2c($sp)
|
||||
/* BFEB74 802412F4 8FB00028 */ lw $s0, 0x28($sp)
|
||||
/* BFEB78 802412F8 D7B60048 */ ldc1 $f22, 0x48($sp)
|
||||
/* BFEB7C 802412FC D7B40040 */ ldc1 $f20, 0x40($sp)
|
||||
/* BFEB80 80241300 03E00008 */ jr $ra
|
||||
/* BFEB84 80241304 27BD0050 */ addiu $sp, $sp, 0x50
|
@ -1,79 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80241308
|
||||
/* BFEB88 80241308 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
/* BFEB8C 8024130C AFB00028 */ sw $s0, 0x28($sp)
|
||||
/* BFEB90 80241310 00A0802D */ daddu $s0, $a1, $zero
|
||||
/* BFEB94 80241314 AFB1002C */ sw $s1, 0x2c($sp)
|
||||
/* BFEB98 80241318 00C0882D */ daddu $s1, $a2, $zero
|
||||
/* BFEB9C 8024131C AFBF0034 */ sw $ra, 0x34($sp)
|
||||
/* BFEBA0 80241320 AFB20030 */ sw $s2, 0x30($sp)
|
||||
/* BFEBA4 80241324 AE200070 */ sw $zero, 0x70($s1)
|
||||
/* BFEBA8 80241328 8C830000 */ lw $v1, ($a0)
|
||||
/* BFEBAC 8024132C 2402FDFF */ addiu $v0, $zero, -0x201
|
||||
/* BFEBB0 80241330 A480008E */ sh $zero, 0x8e($a0)
|
||||
/* BFEBB4 80241334 00621824 */ and $v1, $v1, $v0
|
||||
/* BFEBB8 80241338 34650800 */ ori $a1, $v1, 0x800
|
||||
/* BFEBBC 8024133C AC850000 */ sw $a1, ($a0)
|
||||
/* BFEBC0 80241340 8E0200D0 */ lw $v0, 0xd0($s0)
|
||||
/* BFEBC4 80241344 8C420034 */ lw $v0, 0x34($v0)
|
||||
/* BFEBC8 80241348 10400003 */ beqz $v0, .L80241358
|
||||
/* BFEBCC 8024134C 00E0902D */ daddu $s2, $a3, $zero
|
||||
/* BFEBD0 80241350 080904D8 */ j .L80241360
|
||||
/* BFEBD4 80241354 34620808 */ ori $v0, $v1, 0x808
|
||||
.L80241358:
|
||||
/* BFEBD8 80241358 2402FFF7 */ addiu $v0, $zero, -9
|
||||
/* BFEBDC 8024135C 00A21024 */ and $v0, $a1, $v0
|
||||
.L80241360:
|
||||
/* BFEBE0 80241360 AC820000 */ sw $v0, ($a0)
|
||||
/* BFEBE4 80241364 27A20024 */ addiu $v0, $sp, 0x24
|
||||
/* BFEBE8 80241368 27A50018 */ addiu $a1, $sp, 0x18
|
||||
/* BFEBEC 8024136C C4800038 */ lwc1 $f0, 0x38($a0)
|
||||
/* BFEBF0 80241370 C482003C */ lwc1 $f2, 0x3c($a0)
|
||||
/* BFEBF4 80241374 C4840040 */ lwc1 $f4, 0x40($a0)
|
||||
/* BFEBF8 80241378 3C01447A */ lui $at, 0x447a
|
||||
/* BFEBFC 8024137C 44813000 */ mtc1 $at, $f6
|
||||
/* BFEC00 80241380 27A6001C */ addiu $a2, $sp, 0x1c
|
||||
/* BFEC04 80241384 E7A00018 */ swc1 $f0, 0x18($sp)
|
||||
/* BFEC08 80241388 E7A2001C */ swc1 $f2, 0x1c($sp)
|
||||
/* BFEC0C 8024138C E7A40020 */ swc1 $f4, 0x20($sp)
|
||||
/* BFEC10 80241390 E7A60024 */ swc1 $f6, 0x24($sp)
|
||||
/* BFEC14 80241394 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* BFEC18 80241398 8C840080 */ lw $a0, 0x80($a0)
|
||||
/* BFEC1C 8024139C 0C0372DF */ jal func_800DCB7C
|
||||
/* BFEC20 802413A0 27A70020 */ addiu $a3, $sp, 0x20
|
||||
/* BFEC24 802413A4 C7A20024 */ lwc1 $f2, 0x24($sp)
|
||||
/* BFEC28 802413A8 3C014059 */ lui $at, 0x4059
|
||||
/* BFEC2C 802413AC 44812800 */ mtc1 $at, $f5
|
||||
/* BFEC30 802413B0 44802000 */ mtc1 $zero, $f4
|
||||
/* BFEC34 802413B4 460010A1 */ cvt.d.s $f2, $f2
|
||||
/* BFEC38 802413B8 46241082 */ mul.d $f2, $f2, $f4
|
||||
/* BFEC3C 802413BC 00000000 */ nop
|
||||
/* BFEC40 802413C0 C7A0001C */ lwc1 $f0, 0x1c($sp)
|
||||
/* BFEC44 802413C4 46000021 */ cvt.d.s $f0, $f0
|
||||
/* BFEC48 802413C8 46240002 */ mul.d $f0, $f0, $f4
|
||||
/* BFEC4C 802413CC 00000000 */ nop
|
||||
/* BFEC50 802413D0 3C013FE0 */ lui $at, 0x3fe0
|
||||
/* BFEC54 802413D4 44812800 */ mtc1 $at, $f5
|
||||
/* BFEC58 802413D8 44802000 */ mtc1 $zero, $f4
|
||||
/* BFEC5C 802413DC 00000000 */ nop
|
||||
/* BFEC60 802413E0 46241080 */ add.d $f2, $f2, $f4
|
||||
/* BFEC64 802413E4 AE000074 */ sw $zero, 0x74($s0)
|
||||
/* BFEC68 802413E8 46240000 */ add.d $f0, $f0, $f4
|
||||
/* BFEC6C 802413EC AE000090 */ sw $zero, 0x90($s0)
|
||||
/* BFEC70 802413F0 4620120D */ trunc.w.d $f8, $f2
|
||||
/* BFEC74 802413F4 E6080078 */ swc1 $f8, 0x78($s0)
|
||||
/* BFEC78 802413F8 4620020D */ trunc.w.d $f8, $f0
|
||||
/* BFEC7C 802413FC E6080088 */ swc1 $f8, 0x88($s0)
|
||||
/* BFEC80 80241400 8E420014 */ lw $v0, 0x14($s2)
|
||||
/* BFEC84 80241404 AE220074 */ sw $v0, 0x74($s1)
|
||||
/* BFEC88 80241408 8E0200B0 */ lw $v0, 0xb0($s0)
|
||||
/* BFEC8C 8024140C 34420010 */ ori $v0, $v0, 0x10
|
||||
/* BFEC90 80241410 AE0200B0 */ sw $v0, 0xb0($s0)
|
||||
/* BFEC94 80241414 8FBF0034 */ lw $ra, 0x34($sp)
|
||||
/* BFEC98 80241418 8FB20030 */ lw $s2, 0x30($sp)
|
||||
/* BFEC9C 8024141C 8FB1002C */ lw $s1, 0x2c($sp)
|
||||
/* BFECA0 80241420 8FB00028 */ lw $s0, 0x28($sp)
|
||||
/* BFECA4 80241424 03E00008 */ jr $ra
|
||||
/* BFECA8 80241428 27BD0038 */ addiu $sp, $sp, 0x38
|
@ -0,0 +1,79 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80241308_BFEB88
|
||||
/* BFEB88 80241308 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
/* BFEB8C 8024130C AFB00028 */ sw $s0, 0x28($sp)
|
||||
/* BFEB90 80241310 00A0802D */ daddu $s0, $a1, $zero
|
||||
/* BFEB94 80241314 AFB1002C */ sw $s1, 0x2c($sp)
|
||||
/* BFEB98 80241318 00C0882D */ daddu $s1, $a2, $zero
|
||||
/* BFEB9C 8024131C AFBF0034 */ sw $ra, 0x34($sp)
|
||||
/* BFEBA0 80241320 AFB20030 */ sw $s2, 0x30($sp)
|
||||
/* BFEBA4 80241324 AE200070 */ sw $zero, 0x70($s1)
|
||||
/* BFEBA8 80241328 8C830000 */ lw $v1, ($a0)
|
||||
/* BFEBAC 8024132C 2402FDFF */ addiu $v0, $zero, -0x201
|
||||
/* BFEBB0 80241330 A480008E */ sh $zero, 0x8e($a0)
|
||||
/* BFEBB4 80241334 00621824 */ and $v1, $v1, $v0
|
||||
/* BFEBB8 80241338 34650800 */ ori $a1, $v1, 0x800
|
||||
/* BFEBBC 8024133C AC850000 */ sw $a1, ($a0)
|
||||
/* BFEBC0 80241340 8E0200D0 */ lw $v0, 0xd0($s0)
|
||||
/* BFEBC4 80241344 8C420034 */ lw $v0, 0x34($v0)
|
||||
/* BFEBC8 80241348 10400003 */ beqz $v0, .L80241358
|
||||
/* BFEBCC 8024134C 00E0902D */ daddu $s2, $a3, $zero
|
||||
/* BFEBD0 80241350 080904D8 */ j .L80241360
|
||||
/* BFEBD4 80241354 34620808 */ ori $v0, $v1, 0x808
|
||||
.L80241358:
|
||||
/* BFEBD8 80241358 2402FFF7 */ addiu $v0, $zero, -9
|
||||
/* BFEBDC 8024135C 00A21024 */ and $v0, $a1, $v0
|
||||
.L80241360:
|
||||
/* BFEBE0 80241360 AC820000 */ sw $v0, ($a0)
|
||||
/* BFEBE4 80241364 27A20024 */ addiu $v0, $sp, 0x24
|
||||
/* BFEBE8 80241368 27A50018 */ addiu $a1, $sp, 0x18
|
||||
/* BFEBEC 8024136C C4800038 */ lwc1 $f0, 0x38($a0)
|
||||
/* BFEBF0 80241370 C482003C */ lwc1 $f2, 0x3c($a0)
|
||||
/* BFEBF4 80241374 C4840040 */ lwc1 $f4, 0x40($a0)
|
||||
/* BFEBF8 80241378 3C01447A */ lui $at, 0x447a
|
||||
/* BFEBFC 8024137C 44813000 */ mtc1 $at, $f6
|
||||
/* BFEC00 80241380 27A6001C */ addiu $a2, $sp, 0x1c
|
||||
/* BFEC04 80241384 E7A00018 */ swc1 $f0, 0x18($sp)
|
||||
/* BFEC08 80241388 E7A2001C */ swc1 $f2, 0x1c($sp)
|
||||
/* BFEC0C 8024138C E7A40020 */ swc1 $f4, 0x20($sp)
|
||||
/* BFEC10 80241390 E7A60024 */ swc1 $f6, 0x24($sp)
|
||||
/* BFEC14 80241394 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* BFEC18 80241398 8C840080 */ lw $a0, 0x80($a0)
|
||||
/* BFEC1C 8024139C 0C0372DF */ jal func_800DCB7C
|
||||
/* BFEC20 802413A0 27A70020 */ addiu $a3, $sp, 0x20
|
||||
/* BFEC24 802413A4 C7A20024 */ lwc1 $f2, 0x24($sp)
|
||||
/* BFEC28 802413A8 3C014059 */ lui $at, 0x4059
|
||||
/* BFEC2C 802413AC 44812800 */ mtc1 $at, $f5
|
||||
/* BFEC30 802413B0 44802000 */ mtc1 $zero, $f4
|
||||
/* BFEC34 802413B4 460010A1 */ cvt.d.s $f2, $f2
|
||||
/* BFEC38 802413B8 46241082 */ mul.d $f2, $f2, $f4
|
||||
/* BFEC3C 802413BC 00000000 */ nop
|
||||
/* BFEC40 802413C0 C7A0001C */ lwc1 $f0, 0x1c($sp)
|
||||
/* BFEC44 802413C4 46000021 */ cvt.d.s $f0, $f0
|
||||
/* BFEC48 802413C8 46240002 */ mul.d $f0, $f0, $f4
|
||||
/* BFEC4C 802413CC 00000000 */ nop
|
||||
/* BFEC50 802413D0 3C013FE0 */ lui $at, 0x3fe0
|
||||
/* BFEC54 802413D4 44812800 */ mtc1 $at, $f5
|
||||
/* BFEC58 802413D8 44802000 */ mtc1 $zero, $f4
|
||||
/* BFEC5C 802413DC 00000000 */ nop
|
||||
/* BFEC60 802413E0 46241080 */ add.d $f2, $f2, $f4
|
||||
/* BFEC64 802413E4 AE000074 */ sw $zero, 0x74($s0)
|
||||
/* BFEC68 802413E8 46240000 */ add.d $f0, $f0, $f4
|
||||
/* BFEC6C 802413EC AE000090 */ sw $zero, 0x90($s0)
|
||||
/* BFEC70 802413F0 4620120D */ trunc.w.d $f8, $f2
|
||||
/* BFEC74 802413F4 E6080078 */ swc1 $f8, 0x78($s0)
|
||||
/* BFEC78 802413F8 4620020D */ trunc.w.d $f8, $f0
|
||||
/* BFEC7C 802413FC E6080088 */ swc1 $f8, 0x88($s0)
|
||||
/* BFEC80 80241400 8E420014 */ lw $v0, 0x14($s2)
|
||||
/* BFEC84 80241404 AE220074 */ sw $v0, 0x74($s1)
|
||||
/* BFEC88 80241408 8E0200B0 */ lw $v0, 0xb0($s0)
|
||||
/* BFEC8C 8024140C 34420010 */ ori $v0, $v0, 0x10
|
||||
/* BFEC90 80241410 AE0200B0 */ sw $v0, 0xb0($s0)
|
||||
/* BFEC94 80241414 8FBF0034 */ lw $ra, 0x34($sp)
|
||||
/* BFEC98 80241418 8FB20030 */ lw $s2, 0x30($sp)
|
||||
/* BFEC9C 8024141C 8FB1002C */ lw $s1, 0x2c($sp)
|
||||
/* BFECA0 80241420 8FB00028 */ lw $s0, 0x28($sp)
|
||||
/* BFECA4 80241424 03E00008 */ jr $ra
|
||||
/* BFECA8 80241428 27BD0038 */ addiu $sp, $sp, 0x38
|
@ -1,131 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_8024142C
|
||||
/* BFECAC 8024142C 27BDFFB0 */ addiu $sp, $sp, -0x50
|
||||
/* BFECB0 80241430 AFB40040 */ sw $s4, 0x40($sp)
|
||||
/* BFECB4 80241434 0080A02D */ daddu $s4, $a0, $zero
|
||||
/* BFECB8 80241438 AFBF0048 */ sw $ra, 0x48($sp)
|
||||
/* BFECBC 8024143C AFB50044 */ sw $s5, 0x44($sp)
|
||||
/* BFECC0 80241440 AFB3003C */ sw $s3, 0x3c($sp)
|
||||
/* BFECC4 80241444 AFB20038 */ sw $s2, 0x38($sp)
|
||||
/* BFECC8 80241448 AFB10034 */ sw $s1, 0x34($sp)
|
||||
/* BFECCC 8024144C AFB00030 */ sw $s0, 0x30($sp)
|
||||
/* BFECD0 80241450 8E920148 */ lw $s2, 0x148($s4)
|
||||
/* BFECD4 80241454 86440008 */ lh $a0, 8($s2)
|
||||
/* BFECD8 80241458 8E90000C */ lw $s0, 0xc($s4)
|
||||
/* BFECDC 8024145C 0C00EABB */ jal get_npc_unsafe
|
||||
/* BFECE0 80241460 00A0882D */ daddu $s1, $a1, $zero
|
||||
/* BFECE4 80241464 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BFECE8 80241468 8E050000 */ lw $a1, ($s0)
|
||||
/* BFECEC 8024146C 0C0B1EAF */ jal get_variable
|
||||
/* BFECF0 80241470 0040A82D */ daddu $s5, $v0, $zero
|
||||
/* BFECF4 80241474 AFA00010 */ sw $zero, 0x10($sp)
|
||||
/* BFECF8 80241478 8E4300D0 */ lw $v1, 0xd0($s2)
|
||||
/* BFECFC 8024147C 8C630030 */ lw $v1, 0x30($v1)
|
||||
/* BFED00 80241480 AFA30014 */ sw $v1, 0x14($sp)
|
||||
/* BFED04 80241484 8E4300D0 */ lw $v1, 0xd0($s2)
|
||||
/* BFED08 80241488 8C63001C */ lw $v1, 0x1c($v1)
|
||||
/* BFED0C 8024148C AFA30018 */ sw $v1, 0x18($sp)
|
||||
/* BFED10 80241490 8E4300D0 */ lw $v1, 0xd0($s2)
|
||||
/* BFED14 80241494 8C630024 */ lw $v1, 0x24($v1)
|
||||
/* BFED18 80241498 AFA3001C */ sw $v1, 0x1c($sp)
|
||||
/* BFED1C 8024149C 8E4300D0 */ lw $v1, 0xd0($s2)
|
||||
/* BFED20 802414A0 8C630028 */ lw $v1, 0x28($v1)
|
||||
/* BFED24 802414A4 27B30010 */ addiu $s3, $sp, 0x10
|
||||
/* BFED28 802414A8 AFA30020 */ sw $v1, 0x20($sp)
|
||||
/* BFED2C 802414AC 8E4300D0 */ lw $v1, 0xd0($s2)
|
||||
/* BFED30 802414B0 3C0142F0 */ lui $at, 0x42f0
|
||||
/* BFED34 802414B4 44810000 */ mtc1 $at, $f0
|
||||
/* BFED38 802414B8 8C63002C */ lw $v1, 0x2c($v1)
|
||||
/* BFED3C 802414BC 0040802D */ daddu $s0, $v0, $zero
|
||||
/* BFED40 802414C0 E7A00028 */ swc1 $f0, 0x28($sp)
|
||||
/* BFED44 802414C4 A7A0002C */ sh $zero, 0x2c($sp)
|
||||
/* BFED48 802414C8 12200006 */ beqz $s1, .L802414E4
|
||||
/* BFED4C 802414CC AFA30024 */ sw $v1, 0x24($sp)
|
||||
/* BFED50 802414D0 02A0202D */ daddu $a0, $s5, $zero
|
||||
/* BFED54 802414D4 0240282D */ daddu $a1, $s2, $zero
|
||||
/* BFED58 802414D8 0280302D */ daddu $a2, $s4, $zero
|
||||
/* BFED5C 802414DC 0C0904C2 */ jal func_80241308
|
||||
/* BFED60 802414E0 0200382D */ daddu $a3, $s0, $zero
|
||||
.L802414E4:
|
||||
/* BFED64 802414E4 2402FFFE */ addiu $v0, $zero, -2
|
||||
/* BFED68 802414E8 A2A200AB */ sb $v0, 0xab($s5)
|
||||
/* BFED6C 802414EC 8E4300B0 */ lw $v1, 0xb0($s2)
|
||||
/* BFED70 802414F0 30620004 */ andi $v0, $v1, 4
|
||||
/* BFED74 802414F4 10400007 */ beqz $v0, .L80241514
|
||||
/* BFED78 802414F8 00000000 */ nop
|
||||
/* BFED7C 802414FC 824200B4 */ lb $v0, 0xb4($s2)
|
||||
/* BFED80 80241500 1440003C */ bnez $v0, .L802415F4
|
||||
/* BFED84 80241504 0000102D */ daddu $v0, $zero, $zero
|
||||
/* BFED88 80241508 2402FFFB */ addiu $v0, $zero, -5
|
||||
/* BFED8C 8024150C 00621024 */ and $v0, $v1, $v0
|
||||
/* BFED90 80241510 AE4200B0 */ sw $v0, 0xb0($s2)
|
||||
.L80241514:
|
||||
/* BFED94 80241514 8E830070 */ lw $v1, 0x70($s4)
|
||||
/* BFED98 80241518 2C62000F */ sltiu $v0, $v1, 0xf
|
||||
/* BFED9C 8024151C 10400034 */ beqz $v0, .L802415F0
|
||||
/* BFEDA0 80241520 00031080 */ sll $v0, $v1, 2
|
||||
/* BFEDA4 80241524 3C018026 */ lui $at, 0x8026
|
||||
/* BFEDA8 80241528 00220821 */ addu $at, $at, $v0
|
||||
/* BFEDAC 8024152C 8C223438 */ lw $v0, 0x3438($at)
|
||||
/* BFEDB0 80241530 00400008 */ jr $v0
|
||||
/* BFEDB4 80241534 00000000 */ nop
|
||||
/* BFEDB8 80241538 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BFEDBC 8024153C 0200282D */ daddu $a1, $s0, $zero
|
||||
/* BFEDC0 80241540 0C090048 */ jal func_80240120
|
||||
/* BFEDC4 80241544 0260302D */ daddu $a2, $s3, $zero
|
||||
/* BFEDC8 80241548 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BFEDCC 8024154C 0200282D */ daddu $a1, $s0, $zero
|
||||
/* BFEDD0 80241550 0C0900B4 */ jal func_802402D0
|
||||
/* BFEDD4 80241554 0260302D */ daddu $a2, $s3, $zero
|
||||
/* BFEDD8 80241558 0809057D */ j .L802415F4
|
||||
/* 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
|
||||
/* BFEDEC 8024156C 0260302D */ daddu $a2, $s3, $zero
|
||||
/* BFEDF0 80241570 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BFEDF4 80241574 0200282D */ daddu $a1, $s0, $zero
|
||||
/* BFEDF8 80241578 0C09026E */ jal func_802409B8
|
||||
/* BFEDFC 8024157C 0260302D */ daddu $a2, $s3, $zero
|
||||
/* BFEE00 80241580 0809057D */ j .L802415F4
|
||||
/* 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
|
||||
/* BFEE14 80241594 0260302D */ daddu $a2, $s3, $zero
|
||||
/* BFEE18 80241598 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BFEE1C 8024159C 0200282D */ daddu $a1, $s0, $zero
|
||||
/* BFEE20 802415A0 0C09035D */ jal func_80240D74
|
||||
/* BFEE24 802415A4 0260302D */ daddu $a2, $s3, $zero
|
||||
/* BFEE28 802415A8 0809057D */ j .L802415F4
|
||||
/* BFEE2C 802415AC 0000102D */ daddu $v0, $zero, $zero
|
||||
/* BFEE30 802415B0 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BFEE34 802415B4 0200282D */ daddu $a1, $s0, $zero
|
||||
/* BFEE38 802415B8 0C090378 */ jal func_80240DE0
|
||||
/* BFEE3C 802415BC 0260302D */ daddu $a2, $s3, $zero
|
||||
/* BFEE40 802415C0 0809057D */ j .L802415F4
|
||||
/* 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
|
||||
/* BFEE54 802415D4 0260302D */ daddu $a2, $s3, $zero
|
||||
/* BFEE58 802415D8 0809057D */ j .L802415F4
|
||||
/* BFEE5C 802415DC 0000102D */ daddu $v0, $zero, $zero
|
||||
/* BFEE60 802415E0 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BFEE64 802415E4 0200282D */ daddu $a1, $s0, $zero
|
||||
/* BFEE68 802415E8 0C0903DE */ jal func_80240F78
|
||||
/* BFEE6C 802415EC 0260302D */ daddu $a2, $s3, $zero
|
||||
.L802415F0:
|
||||
/* BFEE70 802415F0 0000102D */ daddu $v0, $zero, $zero
|
||||
.L802415F4:
|
||||
/* BFEE74 802415F4 8FBF0048 */ lw $ra, 0x48($sp)
|
||||
/* BFEE78 802415F8 8FB50044 */ lw $s5, 0x44($sp)
|
||||
/* BFEE7C 802415FC 8FB40040 */ lw $s4, 0x40($sp)
|
||||
/* BFEE80 80241600 8FB3003C */ lw $s3, 0x3c($sp)
|
||||
/* BFEE84 80241604 8FB20038 */ lw $s2, 0x38($sp)
|
||||
/* BFEE88 80241608 8FB10034 */ lw $s1, 0x34($sp)
|
||||
/* BFEE8C 8024160C 8FB00030 */ lw $s0, 0x30($sp)
|
||||
/* BFEE90 80241610 03E00008 */ jr $ra
|
||||
/* BFEE94 80241614 27BD0050 */ addiu $sp, $sp, 0x50
|
@ -0,0 +1,131 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_8024142C_BFECAC
|
||||
/* BFECAC 8024142C 27BDFFB0 */ addiu $sp, $sp, -0x50
|
||||
/* BFECB0 80241430 AFB40040 */ sw $s4, 0x40($sp)
|
||||
/* BFECB4 80241434 0080A02D */ daddu $s4, $a0, $zero
|
||||
/* BFECB8 80241438 AFBF0048 */ sw $ra, 0x48($sp)
|
||||
/* BFECBC 8024143C AFB50044 */ sw $s5, 0x44($sp)
|
||||
/* BFECC0 80241440 AFB3003C */ sw $s3, 0x3c($sp)
|
||||
/* BFECC4 80241444 AFB20038 */ sw $s2, 0x38($sp)
|
||||
/* BFECC8 80241448 AFB10034 */ sw $s1, 0x34($sp)
|
||||
/* BFECCC 8024144C AFB00030 */ sw $s0, 0x30($sp)
|
||||
/* BFECD0 80241450 8E920148 */ lw $s2, 0x148($s4)
|
||||
/* BFECD4 80241454 86440008 */ lh $a0, 8($s2)
|
||||
/* BFECD8 80241458 8E90000C */ lw $s0, 0xc($s4)
|
||||
/* BFECDC 8024145C 0C00EABB */ jal get_npc_unsafe
|
||||
/* BFECE0 80241460 00A0882D */ daddu $s1, $a1, $zero
|
||||
/* BFECE4 80241464 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BFECE8 80241468 8E050000 */ lw $a1, ($s0)
|
||||
/* BFECEC 8024146C 0C0B1EAF */ jal get_variable
|
||||
/* BFECF0 80241470 0040A82D */ daddu $s5, $v0, $zero
|
||||
/* BFECF4 80241474 AFA00010 */ sw $zero, 0x10($sp)
|
||||
/* BFECF8 80241478 8E4300D0 */ lw $v1, 0xd0($s2)
|
||||
/* BFECFC 8024147C 8C630030 */ lw $v1, 0x30($v1)
|
||||
/* BFED00 80241480 AFA30014 */ sw $v1, 0x14($sp)
|
||||
/* BFED04 80241484 8E4300D0 */ lw $v1, 0xd0($s2)
|
||||
/* BFED08 80241488 8C63001C */ lw $v1, 0x1c($v1)
|
||||
/* BFED0C 8024148C AFA30018 */ sw $v1, 0x18($sp)
|
||||
/* BFED10 80241490 8E4300D0 */ lw $v1, 0xd0($s2)
|
||||
/* BFED14 80241494 8C630024 */ lw $v1, 0x24($v1)
|
||||
/* BFED18 80241498 AFA3001C */ sw $v1, 0x1c($sp)
|
||||
/* BFED1C 8024149C 8E4300D0 */ lw $v1, 0xd0($s2)
|
||||
/* BFED20 802414A0 8C630028 */ lw $v1, 0x28($v1)
|
||||
/* BFED24 802414A4 27B30010 */ addiu $s3, $sp, 0x10
|
||||
/* BFED28 802414A8 AFA30020 */ sw $v1, 0x20($sp)
|
||||
/* BFED2C 802414AC 8E4300D0 */ lw $v1, 0xd0($s2)
|
||||
/* BFED30 802414B0 3C0142F0 */ lui $at, 0x42f0
|
||||
/* BFED34 802414B4 44810000 */ mtc1 $at, $f0
|
||||
/* BFED38 802414B8 8C63002C */ lw $v1, 0x2c($v1)
|
||||
/* BFED3C 802414BC 0040802D */ daddu $s0, $v0, $zero
|
||||
/* BFED40 802414C0 E7A00028 */ swc1 $f0, 0x28($sp)
|
||||
/* BFED44 802414C4 A7A0002C */ sh $zero, 0x2c($sp)
|
||||
/* BFED48 802414C8 12200006 */ beqz $s1, .L802414E4
|
||||
/* BFED4C 802414CC AFA30024 */ sw $v1, 0x24($sp)
|
||||
/* BFED50 802414D0 02A0202D */ daddu $a0, $s5, $zero
|
||||
/* BFED54 802414D4 0240282D */ daddu $a1, $s2, $zero
|
||||
/* BFED58 802414D8 0280302D */ daddu $a2, $s4, $zero
|
||||
/* BFED5C 802414DC 0C0904C2 */ jal func_80241308_BFEB88
|
||||
/* BFED60 802414E0 0200382D */ daddu $a3, $s0, $zero
|
||||
.L802414E4:
|
||||
/* BFED64 802414E4 2402FFFE */ addiu $v0, $zero, -2
|
||||
/* BFED68 802414E8 A2A200AB */ sb $v0, 0xab($s5)
|
||||
/* BFED6C 802414EC 8E4300B0 */ lw $v1, 0xb0($s2)
|
||||
/* BFED70 802414F0 30620004 */ andi $v0, $v1, 4
|
||||
/* BFED74 802414F4 10400007 */ beqz $v0, .L80241514
|
||||
/* BFED78 802414F8 00000000 */ nop
|
||||
/* BFED7C 802414FC 824200B4 */ lb $v0, 0xb4($s2)
|
||||
/* BFED80 80241500 1440003C */ bnez $v0, .L802415F4
|
||||
/* BFED84 80241504 0000102D */ daddu $v0, $zero, $zero
|
||||
/* BFED88 80241508 2402FFFB */ addiu $v0, $zero, -5
|
||||
/* BFED8C 8024150C 00621024 */ and $v0, $v1, $v0
|
||||
/* BFED90 80241510 AE4200B0 */ sw $v0, 0xb0($s2)
|
||||
.L80241514:
|
||||
/* BFED94 80241514 8E830070 */ lw $v1, 0x70($s4)
|
||||
/* BFED98 80241518 2C62000F */ sltiu $v0, $v1, 0xf
|
||||
/* BFED9C 8024151C 10400034 */ beqz $v0, .L802415F0
|
||||
/* BFEDA0 80241520 00031080 */ sll $v0, $v1, 2
|
||||
/* BFEDA4 80241524 3C018026 */ lui $at, 0x8026
|
||||
/* BFEDA8 80241528 00220821 */ addu $at, $at, $v0
|
||||
/* BFEDAC 8024152C 8C223438 */ lw $v0, 0x3438($at)
|
||||
/* BFEDB0 80241530 00400008 */ jr $v0
|
||||
/* BFEDB4 80241534 00000000 */ nop
|
||||
/* BFEDB8 80241538 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BFEDBC 8024153C 0200282D */ daddu $a1, $s0, $zero
|
||||
/* BFEDC0 80241540 0C090048 */ jal func_80240120_BFD9A0
|
||||
/* BFEDC4 80241544 0260302D */ daddu $a2, $s3, $zero
|
||||
/* BFEDC8 80241548 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BFEDCC 8024154C 0200282D */ daddu $a1, $s0, $zero
|
||||
/* BFEDD0 80241550 0C0900B4 */ jal func_802402D0_BFDB50
|
||||
/* BFEDD4 80241554 0260302D */ daddu $a2, $s3, $zero
|
||||
/* BFEDD8 80241558 0809057D */ j .L802415F4
|
||||
/* 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
|
||||
/* BFEDEC 8024156C 0260302D */ daddu $a2, $s3, $zero
|
||||
/* BFEDF0 80241570 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BFEDF4 80241574 0200282D */ daddu $a1, $s0, $zero
|
||||
/* BFEDF8 80241578 0C09026E */ jal func_802409B8_BFE238
|
||||
/* BFEDFC 8024157C 0260302D */ daddu $a2, $s3, $zero
|
||||
/* BFEE00 80241580 0809057D */ j .L802415F4
|
||||
/* 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
|
||||
/* BFEE14 80241594 0260302D */ daddu $a2, $s3, $zero
|
||||
/* BFEE18 80241598 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BFEE1C 8024159C 0200282D */ daddu $a1, $s0, $zero
|
||||
/* BFEE20 802415A0 0C09035D */ jal func_80240D74_BFE5F4
|
||||
/* BFEE24 802415A4 0260302D */ daddu $a2, $s3, $zero
|
||||
/* BFEE28 802415A8 0809057D */ j .L802415F4
|
||||
/* BFEE2C 802415AC 0000102D */ daddu $v0, $zero, $zero
|
||||
/* BFEE30 802415B0 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BFEE34 802415B4 0200282D */ daddu $a1, $s0, $zero
|
||||
/* BFEE38 802415B8 0C090378 */ jal func_80240DE0_BFE660
|
||||
/* BFEE3C 802415BC 0260302D */ daddu $a2, $s3, $zero
|
||||
/* BFEE40 802415C0 0809057D */ j .L802415F4
|
||||
/* 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
|
||||
/* BFEE54 802415D4 0260302D */ daddu $a2, $s3, $zero
|
||||
/* BFEE58 802415D8 0809057D */ j .L802415F4
|
||||
/* BFEE5C 802415DC 0000102D */ daddu $v0, $zero, $zero
|
||||
/* BFEE60 802415E0 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BFEE64 802415E4 0200282D */ daddu $a1, $s0, $zero
|
||||
/* BFEE68 802415E8 0C0903DE */ jal func_80240F78_BFE7F8
|
||||
/* BFEE6C 802415EC 0260302D */ daddu $a2, $s3, $zero
|
||||
.L802415F0:
|
||||
/* BFEE70 802415F0 0000102D */ daddu $v0, $zero, $zero
|
||||
.L802415F4:
|
||||
/* BFEE74 802415F4 8FBF0048 */ lw $ra, 0x48($sp)
|
||||
/* BFEE78 802415F8 8FB50044 */ lw $s5, 0x44($sp)
|
||||
/* BFEE7C 802415FC 8FB40040 */ lw $s4, 0x40($sp)
|
||||
/* BFEE80 80241600 8FB3003C */ lw $s3, 0x3c($sp)
|
||||
/* BFEE84 80241604 8FB20038 */ lw $s2, 0x38($sp)
|
||||
/* BFEE88 80241608 8FB10034 */ lw $s1, 0x34($sp)
|
||||
/* BFEE8C 8024160C 8FB00030 */ lw $s0, 0x30($sp)
|
||||
/* BFEE90 80241610 03E00008 */ jr $ra
|
||||
/* BFEE94 80241614 27BD0050 */ addiu $sp, $sp, 0x50
|
@ -1,93 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80241618
|
||||
/* BFEE98 80241618 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* BFEE9C 8024161C AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* BFEEA0 80241620 0080982D */ daddu $s3, $a0, $zero
|
||||
/* BFEEA4 80241624 AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* BFEEA8 80241628 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* BFEEAC 8024162C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* BFEEB0 80241630 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* BFEEB4 80241634 F7B40028 */ sdc1 $f20, 0x28($sp)
|
||||
/* BFEEB8 80241638 8E720148 */ lw $s2, 0x148($s3)
|
||||
/* BFEEBC 8024163C 86440008 */ lh $a0, 8($s2)
|
||||
/* BFEEC0 80241640 0C00EABB */ jal get_npc_unsafe
|
||||
/* BFEEC4 80241644 00A0882D */ daddu $s1, $a1, $zero
|
||||
/* BFEEC8 80241648 0040802D */ daddu $s0, $v0, $zero
|
||||
/* BFEECC 8024164C 9602008E */ lhu $v0, 0x8e($s0)
|
||||
/* BFEED0 80241650 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* BFEED4 80241654 A602008E */ sh $v0, 0x8e($s0)
|
||||
/* BFEED8 80241658 00021400 */ sll $v0, $v0, 0x10
|
||||
/* BFEEDC 8024165C 1C40003C */ bgtz $v0, .L80241750
|
||||
/* BFEEE0 80241660 3C03FFDF */ lui $v1, 0xffdf
|
||||
/* BFEEE4 80241664 8E020000 */ lw $v0, ($s0)
|
||||
/* BFEEE8 80241668 3463FFFF */ ori $v1, $v1, 0xffff
|
||||
/* BFEEEC 8024166C 00431024 */ and $v0, $v0, $v1
|
||||
/* BFEEF0 80241670 AE020000 */ sw $v0, ($s0)
|
||||
/* BFEEF4 80241674 8E240020 */ lw $a0, 0x20($s1)
|
||||
/* BFEEF8 80241678 000417C2 */ srl $v0, $a0, 0x1f
|
||||
/* BFEEFC 8024167C 00822021 */ addu $a0, $a0, $v0
|
||||
/* BFEF00 80241680 00042043 */ sra $a0, $a0, 1
|
||||
/* BFEF04 80241684 0C00A67F */ jal rand_int
|
||||
/* BFEF08 80241688 24840001 */ addiu $a0, $a0, 1
|
||||
/* BFEF0C 8024168C 8E230020 */ lw $v1, 0x20($s1)
|
||||
/* BFEF10 80241690 C60C0038 */ lwc1 $f12, 0x38($s0)
|
||||
/* BFEF14 80241694 000327C2 */ srl $a0, $v1, 0x1f
|
||||
/* BFEF18 80241698 00641821 */ addu $v1, $v1, $a0
|
||||
/* BFEF1C 8024169C 00031843 */ sra $v1, $v1, 1
|
||||
/* BFEF20 802416A0 00621821 */ addu $v1, $v1, $v0
|
||||
/* BFEF24 802416A4 A603008E */ sh $v1, 0x8e($s0)
|
||||
/* BFEF28 802416A8 8E4200CC */ lw $v0, 0xcc($s2)
|
||||
/* BFEF2C 802416AC C60E0040 */ lwc1 $f14, 0x40($s0)
|
||||
/* BFEF30 802416B0 8C420020 */ lw $v0, 0x20($v0)
|
||||
/* BFEF34 802416B4 AE020028 */ sw $v0, 0x28($s0)
|
||||
/* BFEF38 802416B8 C6200018 */ lwc1 $f0, 0x18($s1)
|
||||
/* BFEF3C 802416BC 3C02800F */ lui $v0, %hi(gPlayerStatusPtr)
|
||||
/* BFEF40 802416C0 8C427B30 */ lw $v0, %lo(gPlayerStatusPtr)($v0)
|
||||
/* BFEF44 802416C4 E6000018 */ swc1 $f0, 0x18($s0)
|
||||
/* BFEF48 802416C8 8C460028 */ lw $a2, 0x28($v0)
|
||||
/* BFEF4C 802416CC 0C00A720 */ jal atan2
|
||||
/* BFEF50 802416D0 8C470030 */ lw $a3, 0x30($v0)
|
||||
/* BFEF54 802416D4 46000506 */ mov.s $f20, $f0
|
||||
/* BFEF58 802416D8 C60C000C */ lwc1 $f12, 0xc($s0)
|
||||
/* BFEF5C 802416DC 0C00A70A */ jal get_clamped_angle_diff
|
||||
/* BFEF60 802416E0 4600A386 */ mov.s $f14, $f20
|
||||
/* BFEF64 802416E4 46000086 */ mov.s $f2, $f0
|
||||
/* BFEF68 802416E8 8E22001C */ lw $v0, 0x1c($s1)
|
||||
/* BFEF6C 802416EC 46001005 */ abs.s $f0, $f2
|
||||
/* BFEF70 802416F0 44822000 */ mtc1 $v0, $f4
|
||||
/* BFEF74 802416F4 00000000 */ nop
|
||||
/* BFEF78 802416F8 46802120 */ cvt.s.w $f4, $f4
|
||||
/* BFEF7C 802416FC 4600203C */ c.lt.s $f4, $f0
|
||||
/* BFEF80 80241700 00000000 */ nop
|
||||
/* BFEF84 80241704 4500000D */ bc1f .L8024173C
|
||||
/* BFEF88 80241708 00000000 */ nop
|
||||
/* BFEF8C 8024170C 44800000 */ mtc1 $zero, $f0
|
||||
/* BFEF90 80241710 C614000C */ lwc1 $f20, 0xc($s0)
|
||||
/* BFEF94 80241714 4600103C */ c.lt.s $f2, $f0
|
||||
/* BFEF98 80241718 00000000 */ nop
|
||||
/* BFEF9C 8024171C 45000006 */ bc1f .L80241738
|
||||
/* BFEFA0 80241720 00021023 */ negu $v0, $v0
|
||||
/* BFEFA4 80241724 44820000 */ mtc1 $v0, $f0
|
||||
/* BFEFA8 80241728 00000000 */ nop
|
||||
/* BFEFAC 8024172C 46800020 */ cvt.s.w $f0, $f0
|
||||
/* BFEFB0 80241730 080905CF */ j .L8024173C
|
||||
/* BFEFB4 80241734 4600A500 */ add.s $f20, $f20, $f0
|
||||
.L80241738:
|
||||
/* BFEFB8 80241738 4604A500 */ add.s $f20, $f20, $f4
|
||||
.L8024173C:
|
||||
/* BFEFBC 8024173C 0C00A6C9 */ jal clamp_angle
|
||||
/* BFEFC0 80241740 4600A306 */ mov.s $f12, $f20
|
||||
/* BFEFC4 80241744 2402000D */ addiu $v0, $zero, 0xd
|
||||
/* BFEFC8 80241748 E600000C */ swc1 $f0, 0xc($s0)
|
||||
/* BFEFCC 8024174C AE620070 */ sw $v0, 0x70($s3)
|
||||
.L80241750:
|
||||
/* BFEFD0 80241750 8FBF0020 */ lw $ra, 0x20($sp)
|
||||
/* BFEFD4 80241754 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* BFEFD8 80241758 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* BFEFDC 8024175C 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* BFEFE0 80241760 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* BFEFE4 80241764 D7B40028 */ ldc1 $f20, 0x28($sp)
|
||||
/* BFEFE8 80241768 03E00008 */ jr $ra
|
||||
/* BFEFEC 8024176C 27BD0030 */ addiu $sp, $sp, 0x30
|
@ -0,0 +1,93 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80241618_BFEE98
|
||||
/* BFEE98 80241618 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* BFEE9C 8024161C AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* BFEEA0 80241620 0080982D */ daddu $s3, $a0, $zero
|
||||
/* BFEEA4 80241624 AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* BFEEA8 80241628 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* BFEEAC 8024162C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* BFEEB0 80241630 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* BFEEB4 80241634 F7B40028 */ sdc1 $f20, 0x28($sp)
|
||||
/* BFEEB8 80241638 8E720148 */ lw $s2, 0x148($s3)
|
||||
/* BFEEBC 8024163C 86440008 */ lh $a0, 8($s2)
|
||||
/* BFEEC0 80241640 0C00EABB */ jal get_npc_unsafe
|
||||
/* BFEEC4 80241644 00A0882D */ daddu $s1, $a1, $zero
|
||||
/* BFEEC8 80241648 0040802D */ daddu $s0, $v0, $zero
|
||||
/* BFEECC 8024164C 9602008E */ lhu $v0, 0x8e($s0)
|
||||
/* BFEED0 80241650 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* BFEED4 80241654 A602008E */ sh $v0, 0x8e($s0)
|
||||
/* BFEED8 80241658 00021400 */ sll $v0, $v0, 0x10
|
||||
/* BFEEDC 8024165C 1C40003C */ bgtz $v0, .L80241750
|
||||
/* BFEEE0 80241660 3C03FFDF */ lui $v1, 0xffdf
|
||||
/* BFEEE4 80241664 8E020000 */ lw $v0, ($s0)
|
||||
/* BFEEE8 80241668 3463FFFF */ ori $v1, $v1, 0xffff
|
||||
/* BFEEEC 8024166C 00431024 */ and $v0, $v0, $v1
|
||||
/* BFEEF0 80241670 AE020000 */ sw $v0, ($s0)
|
||||
/* BFEEF4 80241674 8E240020 */ lw $a0, 0x20($s1)
|
||||
/* BFEEF8 80241678 000417C2 */ srl $v0, $a0, 0x1f
|
||||
/* BFEEFC 8024167C 00822021 */ addu $a0, $a0, $v0
|
||||
/* BFEF00 80241680 00042043 */ sra $a0, $a0, 1
|
||||
/* BFEF04 80241684 0C00A67F */ jal rand_int
|
||||
/* BFEF08 80241688 24840001 */ addiu $a0, $a0, 1
|
||||
/* BFEF0C 8024168C 8E230020 */ lw $v1, 0x20($s1)
|
||||
/* BFEF10 80241690 C60C0038 */ lwc1 $f12, 0x38($s0)
|
||||
/* BFEF14 80241694 000327C2 */ srl $a0, $v1, 0x1f
|
||||
/* BFEF18 80241698 00641821 */ addu $v1, $v1, $a0
|
||||
/* BFEF1C 8024169C 00031843 */ sra $v1, $v1, 1
|
||||
/* BFEF20 802416A0 00621821 */ addu $v1, $v1, $v0
|
||||
/* BFEF24 802416A4 A603008E */ sh $v1, 0x8e($s0)
|
||||
/* BFEF28 802416A8 8E4200CC */ lw $v0, 0xcc($s2)
|
||||
/* BFEF2C 802416AC C60E0040 */ lwc1 $f14, 0x40($s0)
|
||||
/* BFEF30 802416B0 8C420020 */ lw $v0, 0x20($v0)
|
||||
/* BFEF34 802416B4 AE020028 */ sw $v0, 0x28($s0)
|
||||
/* BFEF38 802416B8 C6200018 */ lwc1 $f0, 0x18($s1)
|
||||
/* BFEF3C 802416BC 3C02800F */ lui $v0, %hi(gPlayerStatusPtr)
|
||||
/* BFEF40 802416C0 8C427B30 */ lw $v0, %lo(gPlayerStatusPtr)($v0)
|
||||
/* BFEF44 802416C4 E6000018 */ swc1 $f0, 0x18($s0)
|
||||
/* BFEF48 802416C8 8C460028 */ lw $a2, 0x28($v0)
|
||||
/* BFEF4C 802416CC 0C00A720 */ jal atan2
|
||||
/* BFEF50 802416D0 8C470030 */ lw $a3, 0x30($v0)
|
||||
/* BFEF54 802416D4 46000506 */ mov.s $f20, $f0
|
||||
/* BFEF58 802416D8 C60C000C */ lwc1 $f12, 0xc($s0)
|
||||
/* BFEF5C 802416DC 0C00A70A */ jal get_clamped_angle_diff
|
||||
/* BFEF60 802416E0 4600A386 */ mov.s $f14, $f20
|
||||
/* BFEF64 802416E4 46000086 */ mov.s $f2, $f0
|
||||
/* BFEF68 802416E8 8E22001C */ lw $v0, 0x1c($s1)
|
||||
/* BFEF6C 802416EC 46001005 */ abs.s $f0, $f2
|
||||
/* BFEF70 802416F0 44822000 */ mtc1 $v0, $f4
|
||||
/* BFEF74 802416F4 00000000 */ nop
|
||||
/* BFEF78 802416F8 46802120 */ cvt.s.w $f4, $f4
|
||||
/* BFEF7C 802416FC 4600203C */ c.lt.s $f4, $f0
|
||||
/* BFEF80 80241700 00000000 */ nop
|
||||
/* BFEF84 80241704 4500000D */ bc1f .L8024173C
|
||||
/* BFEF88 80241708 00000000 */ nop
|
||||
/* BFEF8C 8024170C 44800000 */ mtc1 $zero, $f0
|
||||
/* BFEF90 80241710 C614000C */ lwc1 $f20, 0xc($s0)
|
||||
/* BFEF94 80241714 4600103C */ c.lt.s $f2, $f0
|
||||
/* BFEF98 80241718 00000000 */ nop
|
||||
/* BFEF9C 8024171C 45000006 */ bc1f .L80241738
|
||||
/* BFEFA0 80241720 00021023 */ negu $v0, $v0
|
||||
/* BFEFA4 80241724 44820000 */ mtc1 $v0, $f0
|
||||
/* BFEFA8 80241728 00000000 */ nop
|
||||
/* BFEFAC 8024172C 46800020 */ cvt.s.w $f0, $f0
|
||||
/* BFEFB0 80241730 080905CF */ j .L8024173C
|
||||
/* BFEFB4 80241734 4600A500 */ add.s $f20, $f20, $f0
|
||||
.L80241738:
|
||||
/* BFEFB8 80241738 4604A500 */ add.s $f20, $f20, $f4
|
||||
.L8024173C:
|
||||
/* BFEFBC 8024173C 0C00A6C9 */ jal clamp_angle
|
||||
/* BFEFC0 80241740 4600A306 */ mov.s $f12, $f20
|
||||
/* BFEFC4 80241744 2402000D */ addiu $v0, $zero, 0xd
|
||||
/* BFEFC8 80241748 E600000C */ swc1 $f0, 0xc($s0)
|
||||
/* BFEFCC 8024174C AE620070 */ sw $v0, 0x70($s3)
|
||||
.L80241750:
|
||||
/* BFEFD0 80241750 8FBF0020 */ lw $ra, 0x20($sp)
|
||||
/* BFEFD4 80241754 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* BFEFD8 80241758 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* BFEFDC 8024175C 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* BFEFE0 80241760 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* BFEFE4 80241764 D7B40028 */ ldc1 $f20, 0x28($sp)
|
||||
/* BFEFE8 80241768 03E00008 */ jr $ra
|
||||
/* BFEFEC 8024176C 27BD0030 */ addiu $sp, $sp, 0x30
|
@ -1,51 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80241BF0
|
||||
/* BFF470 80241BF0 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* BFF474 80241BF4 AFB20028 */ sw $s2, 0x28($sp)
|
||||
/* BFF478 80241BF8 0080902D */ daddu $s2, $a0, $zero
|
||||
/* BFF47C 80241BFC AFBF002C */ sw $ra, 0x2c($sp)
|
||||
/* BFF480 80241C00 AFB10024 */ sw $s1, 0x24($sp)
|
||||
/* BFF484 80241C04 AFB00020 */ sw $s0, 0x20($sp)
|
||||
/* BFF488 80241C08 8E500148 */ lw $s0, 0x148($s2)
|
||||
/* BFF48C 80241C0C 0C00EABB */ jal get_npc_unsafe
|
||||
/* BFF490 80241C10 86040008 */ lh $a0, 8($s0)
|
||||
/* BFF494 80241C14 2404FEFF */ addiu $a0, $zero, -0x101
|
||||
/* BFF498 80241C18 0040882D */ daddu $s1, $v0, $zero
|
||||
/* BFF49C 80241C1C 0000282D */ daddu $a1, $zero, $zero
|
||||
/* BFF4A0 80241C20 8E03006C */ lw $v1, 0x6c($s0)
|
||||
/* BFF4A4 80241C24 00A0302D */ daddu $a2, $a1, $zero
|
||||
/* BFF4A8 80241C28 00641824 */ and $v1, $v1, $a0
|
||||
/* BFF4AC 80241C2C AE03006C */ sw $v1, 0x6c($s0)
|
||||
/* BFF4B0 80241C30 AFA00010 */ sw $zero, 0x10($sp)
|
||||
/* BFF4B4 80241C34 AFA00014 */ sw $zero, 0x14($sp)
|
||||
/* BFF4B8 80241C38 AFA00018 */ sw $zero, 0x18($sp)
|
||||
/* BFF4BC 80241C3C 8E240024 */ lw $a0, 0x24($s1)
|
||||
/* BFF4C0 80241C40 0C0B7A25 */ jal func_802DE894
|
||||
/* BFF4C4 80241C44 00A0382D */ daddu $a3, $a1, $zero
|
||||
/* BFF4C8 80241C48 8E02006C */ lw $v0, 0x6c($s0)
|
||||
/* BFF4CC 80241C4C 30421000 */ andi $v0, $v0, 0x1000
|
||||
/* BFF4D0 80241C50 10400008 */ beqz $v0, .L80241C74
|
||||
/* BFF4D4 80241C54 00000000 */ nop
|
||||
/* BFF4D8 80241C58 3C048000 */ lui $a0, 0x8000
|
||||
/* BFF4DC 80241C5C 0C05271B */ jal stop_sound
|
||||
/* BFF4E0 80241C60 34840011 */ ori $a0, $a0, 0x11
|
||||
/* BFF4E4 80241C64 8E02006C */ lw $v0, 0x6c($s0)
|
||||
/* BFF4E8 80241C68 2403EFFF */ addiu $v1, $zero, -0x1001
|
||||
/* BFF4EC 80241C6C 00431024 */ and $v0, $v0, $v1
|
||||
/* BFF4F0 80241C70 AE02006C */ sw $v0, 0x6c($s0)
|
||||
.L80241C74:
|
||||
/* BFF4F4 80241C74 8E0200CC */ lw $v0, 0xcc($s0)
|
||||
/* BFF4F8 80241C78 8C430024 */ lw $v1, 0x24($v0)
|
||||
/* BFF4FC 80241C7C 24020014 */ addiu $v0, $zero, 0x14
|
||||
/* BFF500 80241C80 A622008E */ sh $v0, 0x8e($s1)
|
||||
/* BFF504 80241C84 24020011 */ addiu $v0, $zero, 0x11
|
||||
/* BFF508 80241C88 AE230028 */ sw $v1, 0x28($s1)
|
||||
/* BFF50C 80241C8C AE420070 */ sw $v0, 0x70($s2)
|
||||
/* BFF510 80241C90 8FBF002C */ lw $ra, 0x2c($sp)
|
||||
/* BFF514 80241C94 8FB20028 */ lw $s2, 0x28($sp)
|
||||
/* BFF518 80241C98 8FB10024 */ lw $s1, 0x24($sp)
|
||||
/* BFF51C 80241C9C 8FB00020 */ lw $s0, 0x20($sp)
|
||||
/* BFF520 80241CA0 03E00008 */ jr $ra
|
||||
/* BFF524 80241CA4 27BD0030 */ addiu $sp, $sp, 0x30
|
@ -0,0 +1,51 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80241BF0_BFF470
|
||||
/* BFF470 80241BF0 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* BFF474 80241BF4 AFB20028 */ sw $s2, 0x28($sp)
|
||||
/* BFF478 80241BF8 0080902D */ daddu $s2, $a0, $zero
|
||||
/* BFF47C 80241BFC AFBF002C */ sw $ra, 0x2c($sp)
|
||||
/* BFF480 80241C00 AFB10024 */ sw $s1, 0x24($sp)
|
||||
/* BFF484 80241C04 AFB00020 */ sw $s0, 0x20($sp)
|
||||
/* BFF488 80241C08 8E500148 */ lw $s0, 0x148($s2)
|
||||
/* BFF48C 80241C0C 0C00EABB */ jal get_npc_unsafe
|
||||
/* BFF490 80241C10 86040008 */ lh $a0, 8($s0)
|
||||
/* BFF494 80241C14 2404FEFF */ addiu $a0, $zero, -0x101
|
||||
/* BFF498 80241C18 0040882D */ daddu $s1, $v0, $zero
|
||||
/* BFF49C 80241C1C 0000282D */ daddu $a1, $zero, $zero
|
||||
/* BFF4A0 80241C20 8E03006C */ lw $v1, 0x6c($s0)
|
||||
/* BFF4A4 80241C24 00A0302D */ daddu $a2, $a1, $zero
|
||||
/* BFF4A8 80241C28 00641824 */ and $v1, $v1, $a0
|
||||
/* BFF4AC 80241C2C AE03006C */ sw $v1, 0x6c($s0)
|
||||
/* BFF4B0 80241C30 AFA00010 */ sw $zero, 0x10($sp)
|
||||
/* BFF4B4 80241C34 AFA00014 */ sw $zero, 0x14($sp)
|
||||
/* BFF4B8 80241C38 AFA00018 */ sw $zero, 0x18($sp)
|
||||
/* BFF4BC 80241C3C 8E240024 */ lw $a0, 0x24($s1)
|
||||
/* BFF4C0 80241C40 0C0B7A25 */ jal func_802DE894
|
||||
/* BFF4C4 80241C44 00A0382D */ daddu $a3, $a1, $zero
|
||||
/* BFF4C8 80241C48 8E02006C */ lw $v0, 0x6c($s0)
|
||||
/* BFF4CC 80241C4C 30421000 */ andi $v0, $v0, 0x1000
|
||||
/* BFF4D0 80241C50 10400008 */ beqz $v0, .L80241C74
|
||||
/* BFF4D4 80241C54 00000000 */ nop
|
||||
/* BFF4D8 80241C58 3C048000 */ lui $a0, 0x8000
|
||||
/* BFF4DC 80241C5C 0C05271B */ jal stop_sound
|
||||
/* BFF4E0 80241C60 34840011 */ ori $a0, $a0, 0x11
|
||||
/* BFF4E4 80241C64 8E02006C */ lw $v0, 0x6c($s0)
|
||||
/* BFF4E8 80241C68 2403EFFF */ addiu $v1, $zero, -0x1001
|
||||
/* BFF4EC 80241C6C 00431024 */ and $v0, $v0, $v1
|
||||
/* BFF4F0 80241C70 AE02006C */ sw $v0, 0x6c($s0)
|
||||
.L80241C74:
|
||||
/* BFF4F4 80241C74 8E0200CC */ lw $v0, 0xcc($s0)
|
||||
/* BFF4F8 80241C78 8C430024 */ lw $v1, 0x24($v0)
|
||||
/* BFF4FC 80241C7C 24020014 */ addiu $v0, $zero, 0x14
|
||||
/* BFF500 80241C80 A622008E */ sh $v0, 0x8e($s1)
|
||||
/* BFF504 80241C84 24020011 */ addiu $v0, $zero, 0x11
|
||||
/* BFF508 80241C88 AE230028 */ sw $v1, 0x28($s1)
|
||||
/* BFF50C 80241C8C AE420070 */ sw $v0, 0x70($s2)
|
||||
/* BFF510 80241C90 8FBF002C */ lw $ra, 0x2c($sp)
|
||||
/* BFF514 80241C94 8FB20028 */ lw $s2, 0x28($sp)
|
||||
/* BFF518 80241C98 8FB10024 */ lw $s1, 0x24($sp)
|
||||
/* BFF51C 80241C9C 8FB00020 */ lw $s0, 0x20($sp)
|
||||
/* BFF520 80241CA0 03E00008 */ jr $ra
|
||||
/* BFF524 80241CA4 27BD0030 */ addiu $sp, $sp, 0x30
|
@ -1,39 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80241E70
|
||||
/* BFF6F0 80241E70 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* BFF6F4 80241E74 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* BFF6F8 80241E78 0080802D */ daddu $s0, $a0, $zero
|
||||
/* BFF6FC 80241E7C AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* BFF700 80241E80 8E020148 */ lw $v0, 0x148($s0)
|
||||
/* BFF704 80241E84 0C00EABB */ jal get_npc_unsafe
|
||||
/* BFF708 80241E88 84440008 */ lh $a0, 8($v0)
|
||||
/* BFF70C 80241E8C 0040202D */ daddu $a0, $v0, $zero
|
||||
/* BFF710 80241E90 9482008E */ lhu $v0, 0x8e($a0)
|
||||
/* BFF714 80241E94 24420001 */ addiu $v0, $v0, 1
|
||||
/* BFF718 80241E98 A482008E */ sh $v0, 0x8e($a0)
|
||||
/* BFF71C 80241E9C 00021400 */ sll $v0, $v0, 0x10
|
||||
/* BFF720 80241EA0 00021403 */ sra $v0, $v0, 0x10
|
||||
/* BFF724 80241EA4 28420003 */ slti $v0, $v0, 3
|
||||
/* BFF728 80241EA8 1440000D */ bnez $v0, .L80241EE0
|
||||
/* BFF72C 80241EAC 24020009 */ addiu $v0, $zero, 9
|
||||
/* BFF730 80241EB0 3C038011 */ lui $v1, 0x8011
|
||||
/* BFF734 80241EB4 8063EBB3 */ lb $v1, -0x144d($v1)
|
||||
/* BFF738 80241EB8 10620003 */ beq $v1, $v0, .L80241EC8
|
||||
/* BFF73C 80241EBC 24020064 */ addiu $v0, $zero, 0x64
|
||||
/* BFF740 80241EC0 080907B7 */ j .L80241EDC
|
||||
/* BFF744 80241EC4 A480008E */ sh $zero, 0x8e($a0)
|
||||
.L80241EC8:
|
||||
/* BFF748 80241EC8 0C038069 */ jal enable_player_input
|
||||
/* BFF74C 80241ECC 00000000 */ nop
|
||||
/* BFF750 80241ED0 0C03BD80 */ jal func_800EF600
|
||||
/* BFF754 80241ED4 00000000 */ nop
|
||||
/* BFF758 80241ED8 24020010 */ addiu $v0, $zero, 0x10
|
||||
.L80241EDC:
|
||||
/* BFF75C 80241EDC AE020070 */ sw $v0, 0x70($s0)
|
||||
.L80241EE0:
|
||||
/* BFF760 80241EE0 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* BFF764 80241EE4 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* BFF768 80241EE8 03E00008 */ jr $ra
|
||||
/* BFF76C 80241EEC 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -0,0 +1,39 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80241E70_BFF6F0
|
||||
/* BFF6F0 80241E70 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* BFF6F4 80241E74 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* BFF6F8 80241E78 0080802D */ daddu $s0, $a0, $zero
|
||||
/* BFF6FC 80241E7C AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* BFF700 80241E80 8E020148 */ lw $v0, 0x148($s0)
|
||||
/* BFF704 80241E84 0C00EABB */ jal get_npc_unsafe
|
||||
/* BFF708 80241E88 84440008 */ lh $a0, 8($v0)
|
||||
/* BFF70C 80241E8C 0040202D */ daddu $a0, $v0, $zero
|
||||
/* BFF710 80241E90 9482008E */ lhu $v0, 0x8e($a0)
|
||||
/* BFF714 80241E94 24420001 */ addiu $v0, $v0, 1
|
||||
/* BFF718 80241E98 A482008E */ sh $v0, 0x8e($a0)
|
||||
/* BFF71C 80241E9C 00021400 */ sll $v0, $v0, 0x10
|
||||
/* BFF720 80241EA0 00021403 */ sra $v0, $v0, 0x10
|
||||
/* BFF724 80241EA4 28420003 */ slti $v0, $v0, 3
|
||||
/* BFF728 80241EA8 1440000D */ bnez $v0, .L80241EE0
|
||||
/* BFF72C 80241EAC 24020009 */ addiu $v0, $zero, 9
|
||||
/* BFF730 80241EB0 3C038011 */ lui $v1, 0x8011
|
||||
/* BFF734 80241EB4 8063EBB3 */ lb $v1, -0x144d($v1)
|
||||
/* BFF738 80241EB8 10620003 */ beq $v1, $v0, .L80241EC8
|
||||
/* BFF73C 80241EBC 24020064 */ addiu $v0, $zero, 0x64
|
||||
/* BFF740 80241EC0 080907B7 */ j .L80241EDC
|
||||
/* BFF744 80241EC4 A480008E */ sh $zero, 0x8e($a0)
|
||||
.L80241EC8:
|
||||
/* BFF748 80241EC8 0C038069 */ jal enable_player_input
|
||||
/* BFF74C 80241ECC 00000000 */ nop
|
||||
/* BFF750 80241ED0 0C03BD80 */ jal func_800EF600
|
||||
/* BFF754 80241ED4 00000000 */ nop
|
||||
/* BFF758 80241ED8 24020010 */ addiu $v0, $zero, 0x10
|
||||
.L80241EDC:
|
||||
/* BFF75C 80241EDC AE020070 */ sw $v0, 0x70($s0)
|
||||
.L80241EE0:
|
||||
/* BFF760 80241EE0 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* BFF764 80241EE4 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* BFF768 80241EE8 03E00008 */ jr $ra
|
||||
/* BFF76C 80241EEC 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -47,7 +47,7 @@ glabel func_802422B0_BFFB30
|
||||
/* BFFBD8 80242358 02A0202D */ daddu $a0, $s5, $zero
|
||||
/* BFFBDC 8024235C 0240282D */ daddu $a1, $s2, $zero
|
||||
/* BFFBE0 80242360 0280302D */ daddu $a2, $s4, $zero
|
||||
/* BFFBE4 80242364 0C0904C2 */ jal func_80241308
|
||||
/* BFFBE4 80242364 0C0904C2 */ jal func_80241308_BFEB88
|
||||
/* BFFBE8 80242368 0220382D */ daddu $a3, $s1, $zero
|
||||
.L8024236C:
|
||||
/* BFFBEC 8024236C 8E830070 */ lw $v1, 0x70($s4)
|
||||
@ -61,7 +61,7 @@ glabel func_802422B0_BFFB30
|
||||
/* BFFC0C 8024238C 00000000 */ nop
|
||||
/* BFFC10 80242390 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BFFC14 80242394 0220282D */ daddu $a1, $s1, $zero
|
||||
/* BFFC18 80242398 0C090048 */ jal func_80240120
|
||||
/* BFFC18 80242398 0C090048 */ jal func_80240120_BFD9A0
|
||||
/* BFFC1C 8024239C 0260302D */ daddu $a2, $s3, $zero
|
||||
/* BFFC20 802423A0 0000282D */ daddu $a1, $zero, $zero
|
||||
/* BFFC24 802423A4 00A0302D */ daddu $a2, $a1, $zero
|
||||
@ -73,17 +73,17 @@ glabel func_802422B0_BFFB30
|
||||
/* BFFC3C 802423BC 00A0382D */ daddu $a3, $a1, $zero
|
||||
/* BFFC40 802423C0 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BFFC44 802423C4 0220282D */ daddu $a1, $s1, $zero
|
||||
/* BFFC48 802423C8 0C0900B4 */ jal func_802402D0
|
||||
/* BFFC48 802423C8 0C0900B4 */ jal func_802402D0_BFDB50
|
||||
/* BFFC4C 802423CC 0260302D */ daddu $a2, $s3, $zero
|
||||
/* BFFC50 802423D0 080908FE */ j .L802423F8
|
||||
/* BFFC54 802423D4 00000000 */ nop
|
||||
/* BFFC58 802423D8 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BFFC5C 802423DC 0220282D */ daddu $a1, $s1, $zero
|
||||
/* BFFC60 802423E0 0C09023E */ jal func_802408F8
|
||||
/* BFFC60 802423E0 0C09023E */ jal func_802408F8_BFE178
|
||||
/* BFFC64 802423E4 0260302D */ daddu $a2, $s3, $zero
|
||||
/* BFFC68 802423E8 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BFFC6C 802423EC 0220282D */ daddu $a1, $s1, $zero
|
||||
/* BFFC70 802423F0 0C09026E */ jal func_802409B8
|
||||
/* BFFC70 802423F0 0C09026E */ jal func_802409B8_BFE238
|
||||
/* BFFC74 802423F4 0260302D */ daddu $a2, $s3, $zero
|
||||
.L802423F8:
|
||||
/* BFFC78 802423F8 8E830070 */ lw $v1, 0x70($s4)
|
||||
@ -94,7 +94,7 @@ glabel func_802422B0_BFFB30
|
||||
/* BFFC8C 8024240C A6A2008E */ sh $v0, 0x8e($s5)
|
||||
/* BFFC90 80242410 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BFFC94 80242414 0220282D */ daddu $a1, $s1, $zero
|
||||
/* BFFC98 80242418 0C090586 */ jal func_80241618
|
||||
/* BFFC98 80242418 0C090586 */ jal func_80241618_BFEE98
|
||||
/* BFFC9C 8024241C 0260302D */ daddu $a2, $s3, $zero
|
||||
/* BFFCA0 80242420 8E830070 */ lw $v1, 0x70($s4)
|
||||
/* BFFCA4 80242424 2402000D */ addiu $v0, $zero, 0xd
|
||||
@ -102,7 +102,7 @@ glabel func_802422B0_BFFB30
|
||||
/* BFFCAC 8024242C 00000000 */ nop
|
||||
/* BFFCB0 80242430 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BFFCB4 80242434 0220282D */ daddu $a1, $s1, $zero
|
||||
/* BFFCB8 80242438 0C0905DC */ jal func_80241770
|
||||
/* BFFCB8 80242438 0C0905DC */ jal func_80241770_BFEFF0
|
||||
/* BFFCBC 8024243C 0260302D */ daddu $a2, $s3, $zero
|
||||
/* BFFCC0 80242440 0809093E */ j .L802424F8
|
||||
/* BFFCC4 80242444 00000000 */ nop
|
||||
@ -116,39 +116,39 @@ glabel func_802422B0_BFFB30
|
||||
/* BFFCE4 80242464 00000000 */ nop
|
||||
/* BFFCE8 80242468 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BFFCEC 8024246C 0220282D */ daddu $a1, $s1, $zero
|
||||
/* BFFCF0 80242470 0C090655 */ jal func_80241954
|
||||
/* BFFCF0 80242470 0C090655 */ jal func_80241954_BFF1D4
|
||||
/* BFFCF4 80242474 0260302D */ daddu $a2, $s3, $zero
|
||||
/* BFFCF8 80242478 0809093E */ j .L802424F8
|
||||
/* BFFCFC 8024247C 00000000 */ nop
|
||||
/* BFFD00 80242480 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BFFD04 80242484 0220282D */ daddu $a1, $s1, $zero
|
||||
/* BFFD08 80242488 0C0906FC */ jal func_80241BF0
|
||||
/* BFFD08 80242488 0C0906FC */ jal func_80241BF0_BFF470
|
||||
/* BFFD0C 8024248C 0260302D */ daddu $a2, $s3, $zero
|
||||
/* BFFD10 80242490 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BFFD14 80242494 0220282D */ daddu $a1, $s1, $zero
|
||||
/* BFFD18 80242498 0C09072A */ jal func_80241CA8
|
||||
/* BFFD18 80242498 0C09072A */ jal func_80241CA8_BFF528
|
||||
/* BFFD1C 8024249C 0260302D */ daddu $a2, $s3, $zero
|
||||
/* BFFD20 802424A0 0809093E */ j .L802424F8
|
||||
/* BFFD24 802424A4 00000000 */ nop
|
||||
/* BFFD28 802424A8 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BFFD2C 802424AC 0220282D */ daddu $a1, $s1, $zero
|
||||
/* BFFD30 802424B0 0C09078A */ jal func_80241E28
|
||||
/* BFFD30 802424B0 0C09078A */ jal func_80241E28_BFF6A8
|
||||
/* BFFD34 802424B4 0260302D */ daddu $a2, $s3, $zero
|
||||
/* BFFD38 802424B8 0809093E */ j .L802424F8
|
||||
/* BFFD3C 802424BC 00000000 */ nop
|
||||
/* BFFD40 802424C0 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BFFD44 802424C4 0220282D */ daddu $a1, $s1, $zero
|
||||
/* BFFD48 802424C8 0C09079C */ jal func_80241E70
|
||||
/* BFFD48 802424C8 0C09079C */ jal func_80241E70_BFF6F0
|
||||
/* BFFD4C 802424CC 0260302D */ daddu $a2, $s3, $zero
|
||||
/* BFFD50 802424D0 0809093E */ j .L802424F8
|
||||
/* BFFD54 802424D4 00000000 */ nop
|
||||
/* BFFD58 802424D8 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BFFD5C 802424DC 0220282D */ daddu $a1, $s1, $zero
|
||||
/* BFFD60 802424E0 0C0907BC */ jal func_80241EF0
|
||||
/* BFFD60 802424E0 0C0907BC */ jal func_80241EF0_BFF770
|
||||
/* BFFD64 802424E4 0260302D */ daddu $a2, $s3, $zero
|
||||
/* BFFD68 802424E8 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BFFD6C 802424EC 0220282D */ daddu $a1, $s1, $zero
|
||||
/* BFFD70 802424F0 0C0907E6 */ jal func_80241F98
|
||||
/* BFFD70 802424F0 0C0907E6 */ jal func_80241F98_BFF818
|
||||
/* BFFD74 802424F4 0260302D */ daddu $a2, $s3, $zero
|
||||
.L802424F8:
|
||||
/* BFFD78 802424F8 8E820070 */ lw $v0, 0x70($s4)
|
||||
|
@ -1,95 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_8024252C
|
||||
/* BFFDAC 8024252C 27BDFFB8 */ addiu $sp, $sp, -0x48
|
||||
/* BFFDB0 80242530 AFB50024 */ sw $s5, 0x24($sp)
|
||||
/* BFFDB4 80242534 0080A82D */ daddu $s5, $a0, $zero
|
||||
/* BFFDB8 80242538 AFBF002C */ sw $ra, 0x2c($sp)
|
||||
/* BFFDBC 8024253C AFB60028 */ sw $s6, 0x28($sp)
|
||||
/* BFFDC0 80242540 AFB40020 */ sw $s4, 0x20($sp)
|
||||
/* BFFDC4 80242544 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* BFFDC8 80242548 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* BFFDCC 8024254C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* BFFDD0 80242550 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* BFFDD4 80242554 F7B80040 */ sdc1 $f24, 0x40($sp)
|
||||
/* BFFDD8 80242558 F7B60038 */ sdc1 $f22, 0x38($sp)
|
||||
/* BFFDDC 8024255C F7B40030 */ sdc1 $f20, 0x30($sp)
|
||||
/* BFFDE0 80242560 8EB30148 */ lw $s3, 0x148($s5)
|
||||
/* BFFDE4 80242564 86640008 */ lh $a0, 8($s3)
|
||||
/* BFFDE8 80242568 0C00EABB */ jal get_npc_unsafe
|
||||
/* BFFDEC 8024256C 00A0B02D */ daddu $s6, $a1, $zero
|
||||
/* BFFDF0 80242570 0040A02D */ daddu $s4, $v0, $zero
|
||||
/* BFFDF4 80242574 AEA00074 */ sw $zero, 0x74($s5)
|
||||
/* BFFDF8 80242578 C6980038 */ lwc1 $f24, 0x38($s4)
|
||||
/* BFFDFC 8024257C C6960040 */ lwc1 $f22, 0x40($s4)
|
||||
/* BFFE00 80242580 0000902D */ daddu $s2, $zero, $zero
|
||||
/* BFFE04 80242584 AEA00078 */ sw $zero, 0x78($s5)
|
||||
/* BFFE08 80242588 8E6300D0 */ lw $v1, 0xd0($s3)
|
||||
/* BFFE0C 8024258C 8C620000 */ lw $v0, ($v1)
|
||||
/* BFFE10 80242590 3C0146FF */ lui $at, 0x46ff
|
||||
/* BFFE14 80242594 3421FE00 */ ori $at, $at, 0xfe00
|
||||
/* BFFE18 80242598 4481A000 */ mtc1 $at, $f20
|
||||
/* BFFE1C 8024259C 18400018 */ blez $v0, .L80242600
|
||||
/* BFFE20 802425A0 0240802D */ daddu $s0, $s2, $zero
|
||||
/* BFFE24 802425A4 0240882D */ daddu $s1, $s2, $zero
|
||||
.L802425A8:
|
||||
/* BFFE28 802425A8 02231021 */ addu $v0, $s1, $v1
|
||||
/* BFFE2C 802425AC 4600C306 */ mov.s $f12, $f24
|
||||
/* BFFE30 802425B0 C4440004 */ lwc1 $f4, 4($v0)
|
||||
/* BFFE34 802425B4 46802120 */ cvt.s.w $f4, $f4
|
||||
/* BFFE38 802425B8 44062000 */ mfc1 $a2, $f4
|
||||
/* BFFE3C 802425BC C444000C */ lwc1 $f4, 0xc($v0)
|
||||
/* BFFE40 802425C0 46802120 */ cvt.s.w $f4, $f4
|
||||
/* BFFE44 802425C4 44072000 */ mfc1 $a3, $f4
|
||||
/* BFFE48 802425C8 0C00A7B5 */ jal dist2D
|
||||
/* BFFE4C 802425CC 4600B386 */ mov.s $f14, $f22
|
||||
/* BFFE50 802425D0 4614003C */ c.lt.s $f0, $f20
|
||||
/* BFFE54 802425D4 00000000 */ nop
|
||||
/* BFFE58 802425D8 45000003 */ bc1f .L802425E8
|
||||
/* BFFE5C 802425DC 2631000C */ addiu $s1, $s1, 0xc
|
||||
/* BFFE60 802425E0 46000506 */ mov.s $f20, $f0
|
||||
/* BFFE64 802425E4 AEB20078 */ sw $s2, 0x78($s5)
|
||||
.L802425E8:
|
||||
/* BFFE68 802425E8 8E6300D0 */ lw $v1, 0xd0($s3)
|
||||
/* BFFE6C 802425EC 26100001 */ addiu $s0, $s0, 1
|
||||
/* BFFE70 802425F0 8C620000 */ lw $v0, ($v1)
|
||||
/* BFFE74 802425F4 0202102A */ slt $v0, $s0, $v0
|
||||
/* BFFE78 802425F8 1440FFEB */ bnez $v0, .L802425A8
|
||||
/* BFFE7C 802425FC 26520001 */ addiu $s2, $s2, 1
|
||||
.L80242600:
|
||||
/* BFFE80 80242600 8E6200CC */ lw $v0, 0xcc($s3)
|
||||
/* BFFE84 80242604 8C420004 */ lw $v0, 4($v0)
|
||||
/* BFFE88 80242608 AE820028 */ sw $v0, 0x28($s4)
|
||||
/* BFFE8C 8024260C 8E6200D0 */ lw $v0, 0xd0($s3)
|
||||
/* BFFE90 80242610 8C42007C */ lw $v0, 0x7c($v0)
|
||||
/* BFFE94 80242614 04410004 */ bgez $v0, .L80242628
|
||||
/* BFFE98 80242618 00000000 */ nop
|
||||
/* BFFE9C 8024261C C6C00000 */ lwc1 $f0, ($s6)
|
||||
/* BFFEA0 80242620 08090992 */ j .L80242648
|
||||
/* BFFEA4 80242624 E6800018 */ swc1 $f0, 0x18($s4)
|
||||
.L80242628:
|
||||
/* BFFEA8 80242628 3C018026 */ lui $at, 0x8026
|
||||
/* BFFEAC 8024262C D4223510 */ ldc1 $f2, 0x3510($at)
|
||||
/* BFFEB0 80242630 44820000 */ mtc1 $v0, $f0
|
||||
/* BFFEB4 80242634 00000000 */ nop
|
||||
/* BFFEB8 80242638 46800021 */ cvt.d.w $f0, $f0
|
||||
/* BFFEBC 8024263C 46220003 */ div.d $f0, $f0, $f2
|
||||
/* BFFEC0 80242640 46200020 */ cvt.s.d $f0, $f0
|
||||
/* BFFEC4 80242644 E6800018 */ swc1 $f0, 0x18($s4)
|
||||
.L80242648:
|
||||
/* BFFEC8 80242648 24020001 */ addiu $v0, $zero, 1
|
||||
/* BFFECC 8024264C AEA20070 */ sw $v0, 0x70($s5)
|
||||
/* BFFED0 80242650 8FBF002C */ lw $ra, 0x2c($sp)
|
||||
/* BFFED4 80242654 8FB60028 */ lw $s6, 0x28($sp)
|
||||
/* BFFED8 80242658 8FB50024 */ lw $s5, 0x24($sp)
|
||||
/* BFFEDC 8024265C 8FB40020 */ lw $s4, 0x20($sp)
|
||||
/* BFFEE0 80242660 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* BFFEE4 80242664 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* BFFEE8 80242668 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* BFFEEC 8024266C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* BFFEF0 80242670 D7B80040 */ ldc1 $f24, 0x40($sp)
|
||||
/* BFFEF4 80242674 D7B60038 */ ldc1 $f22, 0x38($sp)
|
||||
/* BFFEF8 80242678 D7B40030 */ ldc1 $f20, 0x30($sp)
|
||||
/* BFFEFC 8024267C 03E00008 */ jr $ra
|
||||
/* BFFF00 80242680 27BD0048 */ addiu $sp, $sp, 0x48
|
@ -0,0 +1,95 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_8024252C_BFFDAC
|
||||
/* BFFDAC 8024252C 27BDFFB8 */ addiu $sp, $sp, -0x48
|
||||
/* BFFDB0 80242530 AFB50024 */ sw $s5, 0x24($sp)
|
||||
/* BFFDB4 80242534 0080A82D */ daddu $s5, $a0, $zero
|
||||
/* BFFDB8 80242538 AFBF002C */ sw $ra, 0x2c($sp)
|
||||
/* BFFDBC 8024253C AFB60028 */ sw $s6, 0x28($sp)
|
||||
/* BFFDC0 80242540 AFB40020 */ sw $s4, 0x20($sp)
|
||||
/* BFFDC4 80242544 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* BFFDC8 80242548 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* BFFDCC 8024254C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* BFFDD0 80242550 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* BFFDD4 80242554 F7B80040 */ sdc1 $f24, 0x40($sp)
|
||||
/* BFFDD8 80242558 F7B60038 */ sdc1 $f22, 0x38($sp)
|
||||
/* BFFDDC 8024255C F7B40030 */ sdc1 $f20, 0x30($sp)
|
||||
/* BFFDE0 80242560 8EB30148 */ lw $s3, 0x148($s5)
|
||||
/* BFFDE4 80242564 86640008 */ lh $a0, 8($s3)
|
||||
/* BFFDE8 80242568 0C00EABB */ jal get_npc_unsafe
|
||||
/* BFFDEC 8024256C 00A0B02D */ daddu $s6, $a1, $zero
|
||||
/* BFFDF0 80242570 0040A02D */ daddu $s4, $v0, $zero
|
||||
/* BFFDF4 80242574 AEA00074 */ sw $zero, 0x74($s5)
|
||||
/* BFFDF8 80242578 C6980038 */ lwc1 $f24, 0x38($s4)
|
||||
/* BFFDFC 8024257C C6960040 */ lwc1 $f22, 0x40($s4)
|
||||
/* BFFE00 80242580 0000902D */ daddu $s2, $zero, $zero
|
||||
/* BFFE04 80242584 AEA00078 */ sw $zero, 0x78($s5)
|
||||
/* BFFE08 80242588 8E6300D0 */ lw $v1, 0xd0($s3)
|
||||
/* BFFE0C 8024258C 8C620000 */ lw $v0, ($v1)
|
||||
/* BFFE10 80242590 3C0146FF */ lui $at, 0x46ff
|
||||
/* BFFE14 80242594 3421FE00 */ ori $at, $at, 0xfe00
|
||||
/* BFFE18 80242598 4481A000 */ mtc1 $at, $f20
|
||||
/* BFFE1C 8024259C 18400018 */ blez $v0, .L80242600
|
||||
/* BFFE20 802425A0 0240802D */ daddu $s0, $s2, $zero
|
||||
/* BFFE24 802425A4 0240882D */ daddu $s1, $s2, $zero
|
||||
.L802425A8:
|
||||
/* BFFE28 802425A8 02231021 */ addu $v0, $s1, $v1
|
||||
/* BFFE2C 802425AC 4600C306 */ mov.s $f12, $f24
|
||||
/* BFFE30 802425B0 C4440004 */ lwc1 $f4, 4($v0)
|
||||
/* BFFE34 802425B4 46802120 */ cvt.s.w $f4, $f4
|
||||
/* BFFE38 802425B8 44062000 */ mfc1 $a2, $f4
|
||||
/* BFFE3C 802425BC C444000C */ lwc1 $f4, 0xc($v0)
|
||||
/* BFFE40 802425C0 46802120 */ cvt.s.w $f4, $f4
|
||||
/* BFFE44 802425C4 44072000 */ mfc1 $a3, $f4
|
||||
/* BFFE48 802425C8 0C00A7B5 */ jal dist2D
|
||||
/* BFFE4C 802425CC 4600B386 */ mov.s $f14, $f22
|
||||
/* BFFE50 802425D0 4614003C */ c.lt.s $f0, $f20
|
||||
/* BFFE54 802425D4 00000000 */ nop
|
||||
/* BFFE58 802425D8 45000003 */ bc1f .L802425E8
|
||||
/* BFFE5C 802425DC 2631000C */ addiu $s1, $s1, 0xc
|
||||
/* BFFE60 802425E0 46000506 */ mov.s $f20, $f0
|
||||
/* BFFE64 802425E4 AEB20078 */ sw $s2, 0x78($s5)
|
||||
.L802425E8:
|
||||
/* BFFE68 802425E8 8E6300D0 */ lw $v1, 0xd0($s3)
|
||||
/* BFFE6C 802425EC 26100001 */ addiu $s0, $s0, 1
|
||||
/* BFFE70 802425F0 8C620000 */ lw $v0, ($v1)
|
||||
/* BFFE74 802425F4 0202102A */ slt $v0, $s0, $v0
|
||||
/* BFFE78 802425F8 1440FFEB */ bnez $v0, .L802425A8
|
||||
/* BFFE7C 802425FC 26520001 */ addiu $s2, $s2, 1
|
||||
.L80242600:
|
||||
/* BFFE80 80242600 8E6200CC */ lw $v0, 0xcc($s3)
|
||||
/* BFFE84 80242604 8C420004 */ lw $v0, 4($v0)
|
||||
/* BFFE88 80242608 AE820028 */ sw $v0, 0x28($s4)
|
||||
/* BFFE8C 8024260C 8E6200D0 */ lw $v0, 0xd0($s3)
|
||||
/* BFFE90 80242610 8C42007C */ lw $v0, 0x7c($v0)
|
||||
/* BFFE94 80242614 04410004 */ bgez $v0, .L80242628
|
||||
/* BFFE98 80242618 00000000 */ nop
|
||||
/* BFFE9C 8024261C C6C00000 */ lwc1 $f0, ($s6)
|
||||
/* BFFEA0 80242620 08090992 */ j .L80242648
|
||||
/* BFFEA4 80242624 E6800018 */ swc1 $f0, 0x18($s4)
|
||||
.L80242628:
|
||||
/* BFFEA8 80242628 3C018026 */ lui $at, 0x8026
|
||||
/* BFFEAC 8024262C D4223510 */ ldc1 $f2, 0x3510($at)
|
||||
/* BFFEB0 80242630 44820000 */ mtc1 $v0, $f0
|
||||
/* BFFEB4 80242634 00000000 */ nop
|
||||
/* BFFEB8 80242638 46800021 */ cvt.d.w $f0, $f0
|
||||
/* BFFEBC 8024263C 46220003 */ div.d $f0, $f0, $f2
|
||||
/* BFFEC0 80242640 46200020 */ cvt.s.d $f0, $f0
|
||||
/* BFFEC4 80242644 E6800018 */ swc1 $f0, 0x18($s4)
|
||||
.L80242648:
|
||||
/* BFFEC8 80242648 24020001 */ addiu $v0, $zero, 1
|
||||
/* BFFECC 8024264C AEA20070 */ sw $v0, 0x70($s5)
|
||||
/* BFFED0 80242650 8FBF002C */ lw $ra, 0x2c($sp)
|
||||
/* BFFED4 80242654 8FB60028 */ lw $s6, 0x28($sp)
|
||||
/* BFFED8 80242658 8FB50024 */ lw $s5, 0x24($sp)
|
||||
/* BFFEDC 8024265C 8FB40020 */ lw $s4, 0x20($sp)
|
||||
/* BFFEE0 80242660 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* BFFEE4 80242664 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* BFFEE8 80242668 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* BFFEEC 8024266C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* BFFEF0 80242670 D7B80040 */ ldc1 $f24, 0x40($sp)
|
||||
/* BFFEF4 80242674 D7B60038 */ ldc1 $f22, 0x38($sp)
|
||||
/* BFFEF8 80242678 D7B40030 */ ldc1 $f20, 0x30($sp)
|
||||
/* BFFEFC 8024267C 03E00008 */ jr $ra
|
||||
/* BFFF00 80242680 27BD0048 */ addiu $sp, $sp, 0x48
|
@ -1,183 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80242684
|
||||
/* BFFF04 80242684 27BDFFA8 */ addiu $sp, $sp, -0x58
|
||||
/* BFFF08 80242688 AFB20038 */ sw $s2, 0x38($sp)
|
||||
/* BFFF0C 8024268C 0080902D */ daddu $s2, $a0, $zero
|
||||
/* BFFF10 80242690 AFBF0044 */ sw $ra, 0x44($sp)
|
||||
/* BFFF14 80242694 AFB40040 */ sw $s4, 0x40($sp)
|
||||
/* BFFF18 80242698 AFB3003C */ sw $s3, 0x3c($sp)
|
||||
/* BFFF1C 8024269C AFB10034 */ sw $s1, 0x34($sp)
|
||||
/* BFFF20 802426A0 AFB00030 */ sw $s0, 0x30($sp)
|
||||
/* BFFF24 802426A4 F7B60050 */ sdc1 $f22, 0x50($sp)
|
||||
/* BFFF28 802426A8 F7B40048 */ sdc1 $f20, 0x48($sp)
|
||||
/* BFFF2C 802426AC 8E510148 */ lw $s1, 0x148($s2)
|
||||
/* BFFF30 802426B0 00A0982D */ daddu $s3, $a1, $zero
|
||||
/* BFFF34 802426B4 86240008 */ lh $a0, 8($s1)
|
||||
/* BFFF38 802426B8 0C00EABB */ jal get_npc_unsafe
|
||||
/* BFFF3C 802426BC 00C0A02D */ daddu $s4, $a2, $zero
|
||||
/* BFFF40 802426C0 8E630014 */ lw $v1, 0x14($s3)
|
||||
/* BFFF44 802426C4 04600030 */ bltz $v1, .L80242788
|
||||
/* BFFF48 802426C8 0040802D */ daddu $s0, $v0, $zero
|
||||
/* BFFF4C 802426CC 8E420074 */ lw $v0, 0x74($s2)
|
||||
/* BFFF50 802426D0 1C40002C */ bgtz $v0, .L80242784
|
||||
/* BFFF54 802426D4 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* BFFF58 802426D8 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BFFF5C 802426DC AE430074 */ sw $v1, 0x74($s2)
|
||||
/* BFFF60 802426E0 AFA00010 */ sw $zero, 0x10($sp)
|
||||
/* BFFF64 802426E4 8E66000C */ lw $a2, 0xc($s3)
|
||||
/* BFFF68 802426E8 8E670010 */ lw $a3, 0x10($s3)
|
||||
/* BFFF6C 802426EC 0C01242D */ jal func_800490B4
|
||||
/* BFFF70 802426F0 0220282D */ daddu $a1, $s1, $zero
|
||||
/* BFFF74 802426F4 10400021 */ beqz $v0, .L8024277C
|
||||
/* BFFF78 802426F8 0000202D */ daddu $a0, $zero, $zero
|
||||
/* BFFF7C 802426FC 0200282D */ daddu $a1, $s0, $zero
|
||||
/* BFFF80 80242700 0000302D */ daddu $a2, $zero, $zero
|
||||
/* BFFF84 80242704 860300A8 */ lh $v1, 0xa8($s0)
|
||||
/* BFFF88 80242708 3C013F80 */ lui $at, 0x3f80
|
||||
/* BFFF8C 8024270C 44810000 */ mtc1 $at, $f0
|
||||
/* BFFF90 80242710 3C014000 */ lui $at, 0x4000
|
||||
/* BFFF94 80242714 44811000 */ mtc1 $at, $f2
|
||||
/* BFFF98 80242718 3C01C1A0 */ lui $at, 0xc1a0
|
||||
/* BFFF9C 8024271C 44812000 */ mtc1 $at, $f4
|
||||
/* BFFFA0 80242720 2402000F */ addiu $v0, $zero, 0xf
|
||||
/* BFFFA4 80242724 AFA2001C */ sw $v0, 0x1c($sp)
|
||||
/* BFFFA8 80242728 44833000 */ mtc1 $v1, $f6
|
||||
/* BFFFAC 8024272C 00000000 */ nop
|
||||
/* BFFFB0 80242730 468031A0 */ cvt.s.w $f6, $f6
|
||||
/* BFFFB4 80242734 44073000 */ mfc1 $a3, $f6
|
||||
/* BFFFB8 80242738 27A20028 */ addiu $v0, $sp, 0x28
|
||||
/* BFFFBC 8024273C AFA20020 */ sw $v0, 0x20($sp)
|
||||
/* BFFFC0 80242740 E7A00010 */ swc1 $f0, 0x10($sp)
|
||||
/* BFFFC4 80242744 E7A20014 */ swc1 $f2, 0x14($sp)
|
||||
/* BFFFC8 80242748 0C01BFA4 */ jal fx_emote
|
||||
/* BFFFCC 8024274C E7A40018 */ swc1 $f4, 0x18($sp)
|
||||
/* BFFFD0 80242750 0200202D */ daddu $a0, $s0, $zero
|
||||
/* BFFFD4 80242754 240502F4 */ addiu $a1, $zero, 0x2f4
|
||||
/* BFFFD8 80242758 0C012530 */ jal func_800494C0
|
||||
/* BFFFDC 8024275C 3C060020 */ lui $a2, 0x20
|
||||
/* BFFFE0 80242760 8E220018 */ lw $v0, 0x18($s1)
|
||||
/* BFFFE4 80242764 9442002A */ lhu $v0, 0x2a($v0)
|
||||
/* BFFFE8 80242768 30420001 */ andi $v0, $v0, 1
|
||||
/* BFFFEC 8024276C 14400064 */ bnez $v0, .L80242900
|
||||
/* BFFFF0 80242770 2402000A */ addiu $v0, $zero, 0xa
|
||||
/* BFFFF4 80242774 08090A40 */ j .L80242900
|
||||
/* BFFFF8 80242778 2402000C */ addiu $v0, $zero, 0xc
|
||||
.L8024277C:
|
||||
/* BFFFFC 8024277C 8E420074 */ lw $v0, 0x74($s2)
|
||||
/* C00000 80242780 2442FFFF */ addiu $v0, $v0, -1
|
||||
.L80242784:
|
||||
/* C00004 80242784 AE420074 */ sw $v0, 0x74($s2)
|
||||
.L80242788:
|
||||
/* C00008 80242788 8602008C */ lh $v0, 0x8c($s0)
|
||||
/* C0000C 8024278C 1440005D */ bnez $v0, .L80242904
|
||||
/* C00010 80242790 00000000 */ nop
|
||||
/* C00014 80242794 C6000018 */ lwc1 $f0, 0x18($s0)
|
||||
/* C00018 80242798 3C014010 */ lui $at, 0x4010
|
||||
/* C0001C 8024279C 44811800 */ mtc1 $at, $f3
|
||||
/* C00020 802427A0 44801000 */ mtc1 $zero, $f2
|
||||
/* C00024 802427A4 46000021 */ cvt.d.s $f0, $f0
|
||||
/* C00028 802427A8 4622003C */ c.lt.d $f0, $f2
|
||||
/* C0002C 802427AC 00000000 */ nop
|
||||
/* C00030 802427B0 45000003 */ bc1f .L802427C0
|
||||
/* C00034 802427B4 0200202D */ daddu $a0, $s0, $zero
|
||||
/* C00038 802427B8 080909F1 */ j .L802427C4
|
||||
/* C0003C 802427BC 0000282D */ daddu $a1, $zero, $zero
|
||||
.L802427C0:
|
||||
/* C00040 802427C0 24050001 */ addiu $a1, $zero, 1
|
||||
.L802427C4:
|
||||
/* C00044 802427C4 0C00F598 */ jal func_8003D660
|
||||
/* C00048 802427C8 00000000 */ nop
|
||||
/* C0004C 802427CC C60C0038 */ lwc1 $f12, 0x38($s0)
|
||||
/* C00050 802427D0 8E430078 */ lw $v1, 0x78($s2)
|
||||
/* C00054 802427D4 C60E0040 */ lwc1 $f14, 0x40($s0)
|
||||
/* C00058 802427D8 00031040 */ sll $v0, $v1, 1
|
||||
/* C0005C 802427DC 00431021 */ addu $v0, $v0, $v1
|
||||
/* C00060 802427E0 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* C00064 802427E4 00021080 */ sll $v0, $v0, 2
|
||||
/* C00068 802427E8 00431021 */ addu $v0, $v0, $v1
|
||||
/* C0006C 802427EC C4560004 */ lwc1 $f22, 4($v0)
|
||||
/* C00070 802427F0 4680B5A0 */ cvt.s.w $f22, $f22
|
||||
/* C00074 802427F4 C454000C */ lwc1 $f20, 0xc($v0)
|
||||
/* C00078 802427F8 4680A520 */ cvt.s.w $f20, $f20
|
||||
/* C0007C 802427FC 4406B000 */ mfc1 $a2, $f22
|
||||
/* C00080 80242800 4407A000 */ mfc1 $a3, $f20
|
||||
/* C00084 80242804 0C00A720 */ jal atan2
|
||||
/* C00088 80242808 00000000 */ nop
|
||||
/* C0008C 8024280C 8E050018 */ lw $a1, 0x18($s0)
|
||||
/* C00090 80242810 44060000 */ mfc1 $a2, $f0
|
||||
/* C00094 80242814 0200202D */ daddu $a0, $s0, $zero
|
||||
/* C00098 80242818 0C00EA95 */ jal npc_move_heading
|
||||
/* C0009C 8024281C AE06000C */ sw $a2, 0xc($s0)
|
||||
/* C000A0 80242820 C60C0038 */ lwc1 $f12, 0x38($s0)
|
||||
/* C000A4 80242824 C60E0040 */ lwc1 $f14, 0x40($s0)
|
||||
/* C000A8 80242828 4406B000 */ mfc1 $a2, $f22
|
||||
/* C000AC 8024282C 4407A000 */ mfc1 $a3, $f20
|
||||
/* C000B0 80242830 0C00A7B5 */ jal dist2D
|
||||
/* C000B4 80242834 00000000 */ nop
|
||||
/* C000B8 80242838 C6020018 */ lwc1 $f2, 0x18($s0)
|
||||
/* C000BC 8024283C 4602003E */ c.le.s $f0, $f2
|
||||
/* C000C0 80242840 00000000 */ nop
|
||||
/* C000C4 80242844 4500002F */ bc1f .L80242904
|
||||
/* C000C8 80242848 240403E8 */ addiu $a0, $zero, 0x3e8
|
||||
/* C000CC 8024284C 24020002 */ addiu $v0, $zero, 2
|
||||
/* C000D0 80242850 0C00A67F */ jal rand_int
|
||||
/* C000D4 80242854 AE420070 */ sw $v0, 0x70($s2)
|
||||
/* C000D8 80242858 3C035555 */ lui $v1, 0x5555
|
||||
/* C000DC 8024285C 34635556 */ ori $v1, $v1, 0x5556
|
||||
/* C000E0 80242860 00430018 */ mult $v0, $v1
|
||||
/* C000E4 80242864 000227C3 */ sra $a0, $v0, 0x1f
|
||||
/* C000E8 80242868 00004010 */ mfhi $t0
|
||||
/* C000EC 8024286C 01042023 */ subu $a0, $t0, $a0
|
||||
/* C000F0 80242870 00041840 */ sll $v1, $a0, 1
|
||||
/* C000F4 80242874 00641821 */ addu $v1, $v1, $a0
|
||||
/* C000F8 80242878 00431023 */ subu $v0, $v0, $v1
|
||||
/* C000FC 8024287C 24430002 */ addiu $v1, $v0, 2
|
||||
/* C00100 80242880 AE430074 */ sw $v1, 0x74($s2)
|
||||
/* C00104 80242884 8E62002C */ lw $v0, 0x2c($s3)
|
||||
/* C00108 80242888 18400009 */ blez $v0, .L802428B0
|
||||
/* C0010C 8024288C 24020004 */ addiu $v0, $zero, 4
|
||||
/* C00110 80242890 8E620004 */ lw $v0, 4($s3)
|
||||
/* C00114 80242894 18400006 */ blez $v0, .L802428B0
|
||||
/* C00118 80242898 24020004 */ addiu $v0, $zero, 4
|
||||
/* C0011C 8024289C 8E620008 */ lw $v0, 8($s3)
|
||||
/* C00120 802428A0 18400003 */ blez $v0, .L802428B0
|
||||
/* C00124 802428A4 24020004 */ addiu $v0, $zero, 4
|
||||
/* C00128 802428A8 14600002 */ bnez $v1, .L802428B4
|
||||
/* C0012C 802428AC 00000000 */ nop
|
||||
.L802428B0:
|
||||
/* C00130 802428B0 AE420070 */ sw $v0, 0x70($s2)
|
||||
.L802428B4:
|
||||
/* C00134 802428B4 0C00A67F */ jal rand_int
|
||||
/* C00138 802428B8 24042710 */ addiu $a0, $zero, 0x2710
|
||||
/* C0013C 802428BC 3C0351EB */ lui $v1, 0x51eb
|
||||
/* C00140 802428C0 3463851F */ ori $v1, $v1, 0x851f
|
||||
/* C00144 802428C4 00430018 */ mult $v0, $v1
|
||||
/* C00148 802428C8 00021FC3 */ sra $v1, $v0, 0x1f
|
||||
/* C0014C 802428CC 00004010 */ mfhi $t0
|
||||
/* C00150 802428D0 00082143 */ sra $a0, $t0, 5
|
||||
/* C00154 802428D4 00832023 */ subu $a0, $a0, $v1
|
||||
/* C00158 802428D8 00041840 */ sll $v1, $a0, 1
|
||||
/* C0015C 802428DC 00641821 */ addu $v1, $v1, $a0
|
||||
/* C00160 802428E0 000318C0 */ sll $v1, $v1, 3
|
||||
/* C00164 802428E4 00641821 */ addu $v1, $v1, $a0
|
||||
/* C00168 802428E8 00031880 */ sll $v1, $v1, 2
|
||||
/* C0016C 802428EC 8E640004 */ lw $a0, 4($s3)
|
||||
/* C00170 802428F0 00431023 */ subu $v0, $v0, $v1
|
||||
/* C00174 802428F4 0044102A */ slt $v0, $v0, $a0
|
||||
/* C00178 802428F8 10400002 */ beqz $v0, .L80242904
|
||||
/* C0017C 802428FC 24020004 */ addiu $v0, $zero, 4
|
||||
.L80242900:
|
||||
/* C00180 80242900 AE420070 */ sw $v0, 0x70($s2)
|
||||
.L80242904:
|
||||
/* C00184 80242904 8FBF0044 */ lw $ra, 0x44($sp)
|
||||
/* C00188 80242908 8FB40040 */ lw $s4, 0x40($sp)
|
||||
/* C0018C 8024290C 8FB3003C */ lw $s3, 0x3c($sp)
|
||||
/* C00190 80242910 8FB20038 */ lw $s2, 0x38($sp)
|
||||
/* C00194 80242914 8FB10034 */ lw $s1, 0x34($sp)
|
||||
/* C00198 80242918 8FB00030 */ lw $s0, 0x30($sp)
|
||||
/* C0019C 8024291C D7B60050 */ ldc1 $f22, 0x50($sp)
|
||||
/* C001A0 80242920 D7B40048 */ ldc1 $f20, 0x48($sp)
|
||||
/* C001A4 80242924 03E00008 */ jr $ra
|
||||
/* C001A8 80242928 27BD0058 */ addiu $sp, $sp, 0x58
|
@ -0,0 +1,183 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80242684_BFFF04
|
||||
/* BFFF04 80242684 27BDFFA8 */ addiu $sp, $sp, -0x58
|
||||
/* BFFF08 80242688 AFB20038 */ sw $s2, 0x38($sp)
|
||||
/* BFFF0C 8024268C 0080902D */ daddu $s2, $a0, $zero
|
||||
/* BFFF10 80242690 AFBF0044 */ sw $ra, 0x44($sp)
|
||||
/* BFFF14 80242694 AFB40040 */ sw $s4, 0x40($sp)
|
||||
/* BFFF18 80242698 AFB3003C */ sw $s3, 0x3c($sp)
|
||||
/* BFFF1C 8024269C AFB10034 */ sw $s1, 0x34($sp)
|
||||
/* BFFF20 802426A0 AFB00030 */ sw $s0, 0x30($sp)
|
||||
/* BFFF24 802426A4 F7B60050 */ sdc1 $f22, 0x50($sp)
|
||||
/* BFFF28 802426A8 F7B40048 */ sdc1 $f20, 0x48($sp)
|
||||
/* BFFF2C 802426AC 8E510148 */ lw $s1, 0x148($s2)
|
||||
/* BFFF30 802426B0 00A0982D */ daddu $s3, $a1, $zero
|
||||
/* BFFF34 802426B4 86240008 */ lh $a0, 8($s1)
|
||||
/* BFFF38 802426B8 0C00EABB */ jal get_npc_unsafe
|
||||
/* BFFF3C 802426BC 00C0A02D */ daddu $s4, $a2, $zero
|
||||
/* BFFF40 802426C0 8E630014 */ lw $v1, 0x14($s3)
|
||||
/* BFFF44 802426C4 04600030 */ bltz $v1, .L80242788
|
||||
/* BFFF48 802426C8 0040802D */ daddu $s0, $v0, $zero
|
||||
/* BFFF4C 802426CC 8E420074 */ lw $v0, 0x74($s2)
|
||||
/* BFFF50 802426D0 1C40002C */ bgtz $v0, .L80242784
|
||||
/* BFFF54 802426D4 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* BFFF58 802426D8 0280202D */ daddu $a0, $s4, $zero
|
||||
/* BFFF5C 802426DC AE430074 */ sw $v1, 0x74($s2)
|
||||
/* BFFF60 802426E0 AFA00010 */ sw $zero, 0x10($sp)
|
||||
/* BFFF64 802426E4 8E66000C */ lw $a2, 0xc($s3)
|
||||
/* BFFF68 802426E8 8E670010 */ lw $a3, 0x10($s3)
|
||||
/* BFFF6C 802426EC 0C01242D */ jal func_800490B4
|
||||
/* BFFF70 802426F0 0220282D */ daddu $a1, $s1, $zero
|
||||
/* BFFF74 802426F4 10400021 */ beqz $v0, .L8024277C
|
||||
/* BFFF78 802426F8 0000202D */ daddu $a0, $zero, $zero
|
||||
/* BFFF7C 802426FC 0200282D */ daddu $a1, $s0, $zero
|
||||
/* BFFF80 80242700 0000302D */ daddu $a2, $zero, $zero
|
||||
/* BFFF84 80242704 860300A8 */ lh $v1, 0xa8($s0)
|
||||
/* BFFF88 80242708 3C013F80 */ lui $at, 0x3f80
|
||||
/* BFFF8C 8024270C 44810000 */ mtc1 $at, $f0
|
||||
/* BFFF90 80242710 3C014000 */ lui $at, 0x4000
|
||||
/* BFFF94 80242714 44811000 */ mtc1 $at, $f2
|
||||
/* BFFF98 80242718 3C01C1A0 */ lui $at, 0xc1a0
|
||||
/* BFFF9C 8024271C 44812000 */ mtc1 $at, $f4
|
||||
/* BFFFA0 80242720 2402000F */ addiu $v0, $zero, 0xf
|
||||
/* BFFFA4 80242724 AFA2001C */ sw $v0, 0x1c($sp)
|
||||
/* BFFFA8 80242728 44833000 */ mtc1 $v1, $f6
|
||||
/* BFFFAC 8024272C 00000000 */ nop
|
||||
/* BFFFB0 80242730 468031A0 */ cvt.s.w $f6, $f6
|
||||
/* BFFFB4 80242734 44073000 */ mfc1 $a3, $f6
|
||||
/* BFFFB8 80242738 27A20028 */ addiu $v0, $sp, 0x28
|
||||
/* BFFFBC 8024273C AFA20020 */ sw $v0, 0x20($sp)
|
||||
/* BFFFC0 80242740 E7A00010 */ swc1 $f0, 0x10($sp)
|
||||
/* BFFFC4 80242744 E7A20014 */ swc1 $f2, 0x14($sp)
|
||||
/* BFFFC8 80242748 0C01BFA4 */ jal fx_emote
|
||||
/* BFFFCC 8024274C E7A40018 */ swc1 $f4, 0x18($sp)
|
||||
/* BFFFD0 80242750 0200202D */ daddu $a0, $s0, $zero
|
||||
/* BFFFD4 80242754 240502F4 */ addiu $a1, $zero, 0x2f4
|
||||
/* BFFFD8 80242758 0C012530 */ jal func_800494C0
|
||||
/* BFFFDC 8024275C 3C060020 */ lui $a2, 0x20
|
||||
/* BFFFE0 80242760 8E220018 */ lw $v0, 0x18($s1)
|
||||
/* BFFFE4 80242764 9442002A */ lhu $v0, 0x2a($v0)
|
||||
/* BFFFE8 80242768 30420001 */ andi $v0, $v0, 1
|
||||
/* BFFFEC 8024276C 14400064 */ bnez $v0, .L80242900
|
||||
/* BFFFF0 80242770 2402000A */ addiu $v0, $zero, 0xa
|
||||
/* BFFFF4 80242774 08090A40 */ j .L80242900
|
||||
/* BFFFF8 80242778 2402000C */ addiu $v0, $zero, 0xc
|
||||
.L8024277C:
|
||||
/* BFFFFC 8024277C 8E420074 */ lw $v0, 0x74($s2)
|
||||
/* C00000 80242780 2442FFFF */ addiu $v0, $v0, -1
|
||||
.L80242784:
|
||||
/* C00004 80242784 AE420074 */ sw $v0, 0x74($s2)
|
||||
.L80242788:
|
||||
/* C00008 80242788 8602008C */ lh $v0, 0x8c($s0)
|
||||
/* C0000C 8024278C 1440005D */ bnez $v0, .L80242904
|
||||
/* C00010 80242790 00000000 */ nop
|
||||
/* C00014 80242794 C6000018 */ lwc1 $f0, 0x18($s0)
|
||||
/* C00018 80242798 3C014010 */ lui $at, 0x4010
|
||||
/* C0001C 8024279C 44811800 */ mtc1 $at, $f3
|
||||
/* C00020 802427A0 44801000 */ mtc1 $zero, $f2
|
||||
/* C00024 802427A4 46000021 */ cvt.d.s $f0, $f0
|
||||
/* C00028 802427A8 4622003C */ c.lt.d $f0, $f2
|
||||
/* C0002C 802427AC 00000000 */ nop
|
||||
/* C00030 802427B0 45000003 */ bc1f .L802427C0
|
||||
/* C00034 802427B4 0200202D */ daddu $a0, $s0, $zero
|
||||
/* C00038 802427B8 080909F1 */ j .L802427C4
|
||||
/* C0003C 802427BC 0000282D */ daddu $a1, $zero, $zero
|
||||
.L802427C0:
|
||||
/* C00040 802427C0 24050001 */ addiu $a1, $zero, 1
|
||||
.L802427C4:
|
||||
/* C00044 802427C4 0C00F598 */ jal func_8003D660
|
||||
/* C00048 802427C8 00000000 */ nop
|
||||
/* C0004C 802427CC C60C0038 */ lwc1 $f12, 0x38($s0)
|
||||
/* C00050 802427D0 8E430078 */ lw $v1, 0x78($s2)
|
||||
/* C00054 802427D4 C60E0040 */ lwc1 $f14, 0x40($s0)
|
||||
/* C00058 802427D8 00031040 */ sll $v0, $v1, 1
|
||||
/* C0005C 802427DC 00431021 */ addu $v0, $v0, $v1
|
||||
/* C00060 802427E0 8E2300D0 */ lw $v1, 0xd0($s1)
|
||||
/* C00064 802427E4 00021080 */ sll $v0, $v0, 2
|
||||
/* C00068 802427E8 00431021 */ addu $v0, $v0, $v1
|
||||
/* C0006C 802427EC C4560004 */ lwc1 $f22, 4($v0)
|
||||
/* C00070 802427F0 4680B5A0 */ cvt.s.w $f22, $f22
|
||||
/* C00074 802427F4 C454000C */ lwc1 $f20, 0xc($v0)
|
||||
/* C00078 802427F8 4680A520 */ cvt.s.w $f20, $f20
|
||||
/* C0007C 802427FC 4406B000 */ mfc1 $a2, $f22
|
||||
/* C00080 80242800 4407A000 */ mfc1 $a3, $f20
|
||||
/* C00084 80242804 0C00A720 */ jal atan2
|
||||
/* C00088 80242808 00000000 */ nop
|
||||
/* C0008C 8024280C 8E050018 */ lw $a1, 0x18($s0)
|
||||
/* C00090 80242810 44060000 */ mfc1 $a2, $f0
|
||||
/* C00094 80242814 0200202D */ daddu $a0, $s0, $zero
|
||||
/* C00098 80242818 0C00EA95 */ jal npc_move_heading
|
||||
/* C0009C 8024281C AE06000C */ sw $a2, 0xc($s0)
|
||||
/* C000A0 80242820 C60C0038 */ lwc1 $f12, 0x38($s0)
|
||||
/* C000A4 80242824 C60E0040 */ lwc1 $f14, 0x40($s0)
|
||||
/* C000A8 80242828 4406B000 */ mfc1 $a2, $f22
|
||||
/* C000AC 8024282C 4407A000 */ mfc1 $a3, $f20
|
||||
/* C000B0 80242830 0C00A7B5 */ jal dist2D
|
||||
/* C000B4 80242834 00000000 */ nop
|
||||
/* C000B8 80242838 C6020018 */ lwc1 $f2, 0x18($s0)
|
||||
/* C000BC 8024283C 4602003E */ c.le.s $f0, $f2
|
||||
/* C000C0 80242840 00000000 */ nop
|
||||
/* C000C4 80242844 4500002F */ bc1f .L80242904
|
||||
/* C000C8 80242848 240403E8 */ addiu $a0, $zero, 0x3e8
|
||||
/* C000CC 8024284C 24020002 */ addiu $v0, $zero, 2
|
||||
/* C000D0 80242850 0C00A67F */ jal rand_int
|
||||
/* C000D4 80242854 AE420070 */ sw $v0, 0x70($s2)
|
||||
/* C000D8 80242858 3C035555 */ lui $v1, 0x5555
|
||||
/* C000DC 8024285C 34635556 */ ori $v1, $v1, 0x5556
|
||||
/* C000E0 80242860 00430018 */ mult $v0, $v1
|
||||
/* C000E4 80242864 000227C3 */ sra $a0, $v0, 0x1f
|
||||
/* C000E8 80242868 00004010 */ mfhi $t0
|
||||
/* C000EC 8024286C 01042023 */ subu $a0, $t0, $a0
|
||||
/* C000F0 80242870 00041840 */ sll $v1, $a0, 1
|
||||
/* C000F4 80242874 00641821 */ addu $v1, $v1, $a0
|
||||
/* C000F8 80242878 00431023 */ subu $v0, $v0, $v1
|
||||
/* C000FC 8024287C 24430002 */ addiu $v1, $v0, 2
|
||||
/* C00100 80242880 AE430074 */ sw $v1, 0x74($s2)
|
||||
/* C00104 80242884 8E62002C */ lw $v0, 0x2c($s3)
|
||||
/* C00108 80242888 18400009 */ blez $v0, .L802428B0
|
||||
/* C0010C 8024288C 24020004 */ addiu $v0, $zero, 4
|
||||
/* C00110 80242890 8E620004 */ lw $v0, 4($s3)
|
||||
/* C00114 80242894 18400006 */ blez $v0, .L802428B0
|
||||
/* C00118 80242898 24020004 */ addiu $v0, $zero, 4
|
||||
/* C0011C 8024289C 8E620008 */ lw $v0, 8($s3)
|
||||
/* C00120 802428A0 18400003 */ blez $v0, .L802428B0
|
||||
/* C00124 802428A4 24020004 */ addiu $v0, $zero, 4
|
||||
/* C00128 802428A8 14600002 */ bnez $v1, .L802428B4
|
||||
/* C0012C 802428AC 00000000 */ nop
|
||||
.L802428B0:
|
||||
/* C00130 802428B0 AE420070 */ sw $v0, 0x70($s2)
|
||||
.L802428B4:
|
||||
/* C00134 802428B4 0C00A67F */ jal rand_int
|
||||
/* C00138 802428B8 24042710 */ addiu $a0, $zero, 0x2710
|
||||
/* C0013C 802428BC 3C0351EB */ lui $v1, 0x51eb
|
||||
/* C00140 802428C0 3463851F */ ori $v1, $v1, 0x851f
|
||||
/* C00144 802428C4 00430018 */ mult $v0, $v1
|
||||
/* C00148 802428C8 00021FC3 */ sra $v1, $v0, 0x1f
|
||||
/* C0014C 802428CC 00004010 */ mfhi $t0
|
||||
/* C00150 802428D0 00082143 */ sra $a0, $t0, 5
|
||||
/* C00154 802428D4 00832023 */ subu $a0, $a0, $v1
|
||||
/* C00158 802428D8 00041840 */ sll $v1, $a0, 1
|
||||
/* C0015C 802428DC 00641821 */ addu $v1, $v1, $a0
|
||||
/* C00160 802428E0 000318C0 */ sll $v1, $v1, 3
|
||||
/* C00164 802428E4 00641821 */ addu $v1, $v1, $a0
|
||||
/* C00168 802428E8 00031880 */ sll $v1, $v1, 2
|
||||
/* C0016C 802428EC 8E640004 */ lw $a0, 4($s3)
|
||||
/* C00170 802428F0 00431023 */ subu $v0, $v0, $v1
|
||||
/* C00174 802428F4 0044102A */ slt $v0, $v0, $a0
|
||||
/* C00178 802428F8 10400002 */ beqz $v0, .L80242904
|
||||
/* C0017C 802428FC 24020004 */ addiu $v0, $zero, 4
|
||||
.L80242900:
|
||||
/* C00180 80242900 AE420070 */ sw $v0, 0x70($s2)
|
||||
.L80242904:
|
||||
/* C00184 80242904 8FBF0044 */ lw $ra, 0x44($sp)
|
||||
/* C00188 80242908 8FB40040 */ lw $s4, 0x40($sp)
|
||||
/* C0018C 8024290C 8FB3003C */ lw $s3, 0x3c($sp)
|
||||
/* C00190 80242910 8FB20038 */ lw $s2, 0x38($sp)
|
||||
/* C00194 80242914 8FB10034 */ lw $s1, 0x34($sp)
|
||||
/* C00198 80242918 8FB00030 */ lw $s0, 0x30($sp)
|
||||
/* C0019C 8024291C D7B60050 */ ldc1 $f22, 0x50($sp)
|
||||
/* C001A0 80242920 D7B40048 */ ldc1 $f20, 0x48($sp)
|
||||
/* C001A4 80242924 03E00008 */ jr $ra
|
||||
/* C001A8 80242928 27BD0058 */ addiu $sp, $sp, 0x58
|
@ -1,52 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_8024292C
|
||||
/* C001AC 8024292C 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* C001B0 80242930 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* C001B4 80242934 0080982D */ daddu $s3, $a0, $zero
|
||||
/* C001B8 80242938 AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* C001BC 8024293C AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* C001C0 80242940 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* C001C4 80242944 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* C001C8 80242948 8E720148 */ lw $s2, 0x148($s3)
|
||||
/* C001CC 8024294C 86440008 */ lh $a0, 8($s2)
|
||||
/* C001D0 80242950 0C00EABB */ jal get_npc_unsafe
|
||||
/* C001D4 80242954 00A0882D */ daddu $s1, $a1, $zero
|
||||
/* C001D8 80242958 8E240008 */ lw $a0, 8($s1)
|
||||
/* C001DC 8024295C 0040802D */ daddu $s0, $v0, $zero
|
||||
/* C001E0 80242960 00041FC2 */ srl $v1, $a0, 0x1f
|
||||
/* C001E4 80242964 00832021 */ addu $a0, $a0, $v1
|
||||
/* C001E8 80242968 00042043 */ sra $a0, $a0, 1
|
||||
/* C001EC 8024296C 0C00A67F */ jal rand_int
|
||||
/* C001F0 80242970 24840001 */ addiu $a0, $a0, 1
|
||||
/* C001F4 80242974 8E230008 */ lw $v1, 8($s1)
|
||||
/* C001F8 80242978 240400B4 */ addiu $a0, $zero, 0xb4
|
||||
/* C001FC 8024297C 00032FC2 */ srl $a1, $v1, 0x1f
|
||||
/* C00200 80242980 00651821 */ addu $v1, $v1, $a1
|
||||
/* C00204 80242984 00031843 */ sra $v1, $v1, 1
|
||||
/* C00208 80242988 00621821 */ addu $v1, $v1, $v0
|
||||
/* C0020C 8024298C 0C00A67F */ jal rand_int
|
||||
/* C00210 80242990 A603008E */ sh $v1, 0x8e($s0)
|
||||
/* C00214 80242994 C60C000C */ lwc1 $f12, 0xc($s0)
|
||||
/* C00218 80242998 44820000 */ mtc1 $v0, $f0
|
||||
/* C0021C 8024299C 00000000 */ nop
|
||||
/* C00220 802429A0 46800020 */ cvt.s.w $f0, $f0
|
||||
/* C00224 802429A4 46006300 */ add.s $f12, $f12, $f0
|
||||
/* C00228 802429A8 3C0142B4 */ lui $at, 0x42b4
|
||||
/* C0022C 802429AC 44810000 */ mtc1 $at, $f0
|
||||
/* C00230 802429B0 0C00A6C9 */ jal clamp_angle
|
||||
/* C00234 802429B4 46006301 */ sub.s $f12, $f12, $f0
|
||||
/* C00238 802429B8 E600000C */ swc1 $f0, 0xc($s0)
|
||||
/* C0023C 802429BC 8E4200CC */ lw $v0, 0xcc($s2)
|
||||
/* C00240 802429C0 8C420000 */ lw $v0, ($v0)
|
||||
/* C00244 802429C4 AE020028 */ sw $v0, 0x28($s0)
|
||||
/* C00248 802429C8 24020003 */ addiu $v0, $zero, 3
|
||||
/* C0024C 802429CC AE620070 */ sw $v0, 0x70($s3)
|
||||
/* C00250 802429D0 8FBF0020 */ lw $ra, 0x20($sp)
|
||||
/* C00254 802429D4 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* C00258 802429D8 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* C0025C 802429DC 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* C00260 802429E0 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* C00264 802429E4 03E00008 */ jr $ra
|
||||
/* C00268 802429E8 27BD0028 */ addiu $sp, $sp, 0x28
|
@ -0,0 +1,52 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_8024292C_C001AC
|
||||
/* C001AC 8024292C 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* C001B0 80242930 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* C001B4 80242934 0080982D */ daddu $s3, $a0, $zero
|
||||
/* C001B8 80242938 AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* C001BC 8024293C AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* C001C0 80242940 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* C001C4 80242944 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* C001C8 80242948 8E720148 */ lw $s2, 0x148($s3)
|
||||
/* C001CC 8024294C 86440008 */ lh $a0, 8($s2)
|
||||
/* C001D0 80242950 0C00EABB */ jal get_npc_unsafe
|
||||
/* C001D4 80242954 00A0882D */ daddu $s1, $a1, $zero
|
||||
/* C001D8 80242958 8E240008 */ lw $a0, 8($s1)
|
||||
/* C001DC 8024295C 0040802D */ daddu $s0, $v0, $zero
|
||||
/* C001E0 80242960 00041FC2 */ srl $v1, $a0, 0x1f
|
||||
/* C001E4 80242964 00832021 */ addu $a0, $a0, $v1
|
||||
/* C001E8 80242968 00042043 */ sra $a0, $a0, 1
|
||||
/* C001EC 8024296C 0C00A67F */ jal rand_int
|
||||
/* C001F0 80242970 24840001 */ addiu $a0, $a0, 1
|
||||
/* C001F4 80242974 8E230008 */ lw $v1, 8($s1)
|
||||
/* C001F8 80242978 240400B4 */ addiu $a0, $zero, 0xb4
|
||||
/* C001FC 8024297C 00032FC2 */ srl $a1, $v1, 0x1f
|
||||
/* C00200 80242980 00651821 */ addu $v1, $v1, $a1
|
||||
/* C00204 80242984 00031843 */ sra $v1, $v1, 1
|
||||
/* C00208 80242988 00621821 */ addu $v1, $v1, $v0
|
||||
/* C0020C 8024298C 0C00A67F */ jal rand_int
|
||||
/* C00210 80242990 A603008E */ sh $v1, 0x8e($s0)
|
||||
/* C00214 80242994 C60C000C */ lwc1 $f12, 0xc($s0)
|
||||
/* C00218 80242998 44820000 */ mtc1 $v0, $f0
|
||||
/* C0021C 8024299C 00000000 */ nop
|
||||
/* C00220 802429A0 46800020 */ cvt.s.w $f0, $f0
|
||||
/* C00224 802429A4 46006300 */ add.s $f12, $f12, $f0
|
||||
/* C00228 802429A8 3C0142B4 */ lui $at, 0x42b4
|
||||
/* C0022C 802429AC 44810000 */ mtc1 $at, $f0
|
||||
/* C00230 802429B0 0C00A6C9 */ jal clamp_angle
|
||||
/* C00234 802429B4 46006301 */ sub.s $f12, $f12, $f0
|
||||
/* C00238 802429B8 E600000C */ swc1 $f0, 0xc($s0)
|
||||
/* C0023C 802429BC 8E4200CC */ lw $v0, 0xcc($s2)
|
||||
/* C00240 802429C0 8C420000 */ lw $v0, ($v0)
|
||||
/* C00244 802429C4 AE020028 */ sw $v0, 0x28($s0)
|
||||
/* C00248 802429C8 24020003 */ addiu $v0, $zero, 3
|
||||
/* C0024C 802429CC AE620070 */ sw $v0, 0x70($s3)
|
||||
/* C00250 802429D0 8FBF0020 */ lw $ra, 0x20($sp)
|
||||
/* C00254 802429D4 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* C00258 802429D8 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* C0025C 802429DC 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* C00260 802429E0 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* C00264 802429E4 03E00008 */ jr $ra
|
||||
/* C00268 802429E8 27BD0028 */ addiu $sp, $sp, 0x28
|
@ -1,120 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802429EC
|
||||
/* C0026C 802429EC 27BDFFB8 */ addiu $sp, $sp, -0x48
|
||||
/* C00270 802429F0 AFB40040 */ sw $s4, 0x40($sp)
|
||||
/* C00274 802429F4 0080A02D */ daddu $s4, $a0, $zero
|
||||
/* C00278 802429F8 AFBF0044 */ sw $ra, 0x44($sp)
|
||||
/* C0027C 802429FC AFB3003C */ sw $s3, 0x3c($sp)
|
||||
/* C00280 80242A00 AFB20038 */ sw $s2, 0x38($sp)
|
||||
/* C00284 80242A04 AFB10034 */ sw $s1, 0x34($sp)
|
||||
/* C00288 80242A08 AFB00030 */ sw $s0, 0x30($sp)
|
||||
/* C0028C 80242A0C 8E910148 */ lw $s1, 0x148($s4)
|
||||
/* C00290 80242A10 00A0902D */ daddu $s2, $a1, $zero
|
||||
/* C00294 80242A14 86240008 */ lh $a0, 8($s1)
|
||||
/* C00298 80242A18 0C00EABB */ jal get_npc_unsafe
|
||||
/* C0029C 80242A1C 00C0982D */ daddu $s3, $a2, $zero
|
||||
/* C002A0 80242A20 8E430014 */ lw $v1, 0x14($s2)
|
||||
/* C002A4 80242A24 04600031 */ bltz $v1, .L80242AEC
|
||||
/* C002A8 80242A28 0040802D */ daddu $s0, $v0, $zero
|
||||
/* C002AC 80242A2C 0260202D */ daddu $a0, $s3, $zero
|
||||
/* C002B0 80242A30 AFA00010 */ sw $zero, 0x10($sp)
|
||||
/* C002B4 80242A34 8E460024 */ lw $a2, 0x24($s2)
|
||||
/* C002B8 80242A38 8E470028 */ lw $a3, 0x28($s2)
|
||||
/* C002BC 80242A3C 0C01242D */ jal func_800490B4
|
||||
/* C002C0 80242A40 0220282D */ daddu $a1, $s1, $zero
|
||||
/* C002C4 80242A44 10400029 */ beqz $v0, .L80242AEC
|
||||
/* C002C8 80242A48 0000202D */ daddu $a0, $zero, $zero
|
||||
/* C002CC 80242A4C 0200282D */ daddu $a1, $s0, $zero
|
||||
/* C002D0 80242A50 0000302D */ daddu $a2, $zero, $zero
|
||||
/* C002D4 80242A54 860300A8 */ lh $v1, 0xa8($s0)
|
||||
/* C002D8 80242A58 3C013F80 */ lui $at, 0x3f80
|
||||
/* C002DC 80242A5C 44810000 */ mtc1 $at, $f0
|
||||
/* C002E0 80242A60 3C014000 */ lui $at, 0x4000
|
||||
/* C002E4 80242A64 44811000 */ mtc1 $at, $f2
|
||||
/* C002E8 80242A68 3C01C1A0 */ lui $at, 0xc1a0
|
||||
/* C002EC 80242A6C 44812000 */ mtc1 $at, $f4
|
||||
/* C002F0 80242A70 2402000F */ addiu $v0, $zero, 0xf
|
||||
/* C002F4 80242A74 AFA2001C */ sw $v0, 0x1c($sp)
|
||||
/* C002F8 80242A78 44833000 */ mtc1 $v1, $f6
|
||||
/* C002FC 80242A7C 00000000 */ nop
|
||||
/* C00300 80242A80 468031A0 */ cvt.s.w $f6, $f6
|
||||
/* C00304 80242A84 44073000 */ mfc1 $a3, $f6
|
||||
/* C00308 80242A88 27A20028 */ addiu $v0, $sp, 0x28
|
||||
/* C0030C 80242A8C AFA20020 */ sw $v0, 0x20($sp)
|
||||
/* C00310 80242A90 E7A00010 */ swc1 $f0, 0x10($sp)
|
||||
/* C00314 80242A94 E7A20014 */ swc1 $f2, 0x14($sp)
|
||||
/* C00318 80242A98 0C01BFA4 */ jal fx_emote
|
||||
/* C0031C 80242A9C E7A40018 */ swc1 $f4, 0x18($sp)
|
||||
/* C00320 80242AA0 3C02800F */ lui $v0, %hi(gPlayerStatusPtr)
|
||||
/* C00324 80242AA4 8C427B30 */ lw $v0, %lo(gPlayerStatusPtr)($v0)
|
||||
/* C00328 80242AA8 C60C0038 */ lwc1 $f12, 0x38($s0)
|
||||
/* C0032C 80242AAC C60E0040 */ lwc1 $f14, 0x40($s0)
|
||||
/* C00330 80242AB0 8C460028 */ lw $a2, 0x28($v0)
|
||||
/* C00334 80242AB4 0C00A720 */ jal atan2
|
||||
/* C00338 80242AB8 8C470030 */ lw $a3, 0x30($v0)
|
||||
/* C0033C 80242ABC 0200202D */ daddu $a0, $s0, $zero
|
||||
/* C00340 80242AC0 240502F4 */ addiu $a1, $zero, 0x2f4
|
||||
/* C00344 80242AC4 3C060020 */ lui $a2, 0x20
|
||||
/* C00348 80242AC8 0C012530 */ jal func_800494C0
|
||||
/* C0034C 80242ACC E480000C */ swc1 $f0, 0xc($a0)
|
||||
/* C00350 80242AD0 8E220018 */ lw $v0, 0x18($s1)
|
||||
/* C00354 80242AD4 9442002A */ lhu $v0, 0x2a($v0)
|
||||
/* C00358 80242AD8 30420001 */ andi $v0, $v0, 1
|
||||
/* C0035C 80242ADC 14400029 */ bnez $v0, .L80242B84
|
||||
/* C00360 80242AE0 2402000A */ addiu $v0, $zero, 0xa
|
||||
/* C00364 80242AE4 08090AE1 */ j .L80242B84
|
||||
/* C00368 80242AE8 2402000C */ addiu $v0, $zero, 0xc
|
||||
.L80242AEC:
|
||||
/* C0036C 80242AEC 8602008C */ lh $v0, 0x8c($s0)
|
||||
/* C00370 80242AF0 14400025 */ bnez $v0, .L80242B88
|
||||
/* C00374 80242AF4 00000000 */ nop
|
||||
/* C00378 80242AF8 9602008E */ lhu $v0, 0x8e($s0)
|
||||
/* C0037C 80242AFC 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* C00380 80242B00 A602008E */ sh $v0, 0x8e($s0)
|
||||
/* C00384 80242B04 00021400 */ sll $v0, $v0, 0x10
|
||||
/* C00388 80242B08 1440001F */ bnez $v0, .L80242B88
|
||||
/* C0038C 80242B0C 00000000 */ nop
|
||||
/* C00390 80242B10 8E820074 */ lw $v0, 0x74($s4)
|
||||
/* C00394 80242B14 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* C00398 80242B18 10400019 */ beqz $v0, .L80242B80
|
||||
/* C0039C 80242B1C AE820074 */ sw $v0, 0x74($s4)
|
||||
/* C003A0 80242B20 8E220018 */ lw $v0, 0x18($s1)
|
||||
/* C003A4 80242B24 9442002A */ lhu $v0, 0x2a($v0)
|
||||
/* C003A8 80242B28 30420010 */ andi $v0, $v0, 0x10
|
||||
/* C003AC 80242B2C 14400007 */ bnez $v0, .L80242B4C
|
||||
/* C003B0 80242B30 00000000 */ nop
|
||||
/* C003B4 80242B34 C600000C */ lwc1 $f0, 0xc($s0)
|
||||
/* C003B8 80242B38 3C014334 */ lui $at, 0x4334
|
||||
/* C003BC 80242B3C 44816000 */ mtc1 $at, $f12
|
||||
/* C003C0 80242B40 0C00A6C9 */ jal clamp_angle
|
||||
/* C003C4 80242B44 460C0300 */ add.s $f12, $f0, $f12
|
||||
/* C003C8 80242B48 E600000C */ swc1 $f0, 0xc($s0)
|
||||
.L80242B4C:
|
||||
/* C003CC 80242B4C 8E440008 */ lw $a0, 8($s2)
|
||||
/* C003D0 80242B50 000417C2 */ srl $v0, $a0, 0x1f
|
||||
/* C003D4 80242B54 00822021 */ addu $a0, $a0, $v0
|
||||
/* C003D8 80242B58 00042043 */ sra $a0, $a0, 1
|
||||
/* C003DC 80242B5C 0C00A67F */ jal rand_int
|
||||
/* C003E0 80242B60 24840001 */ addiu $a0, $a0, 1
|
||||
/* C003E4 80242B64 8E430008 */ lw $v1, 8($s2)
|
||||
/* C003E8 80242B68 000327C2 */ srl $a0, $v1, 0x1f
|
||||
/* C003EC 80242B6C 00641821 */ addu $v1, $v1, $a0
|
||||
/* C003F0 80242B70 00031843 */ sra $v1, $v1, 1
|
||||
/* C003F4 80242B74 00621821 */ addu $v1, $v1, $v0
|
||||
/* C003F8 80242B78 08090AE2 */ j .L80242B88
|
||||
/* C003FC 80242B7C A603008E */ sh $v1, 0x8e($s0)
|
||||
.L80242B80:
|
||||
/* C00400 80242B80 24020004 */ addiu $v0, $zero, 4
|
||||
.L80242B84:
|
||||
/* C00404 80242B84 AE820070 */ sw $v0, 0x70($s4)
|
||||
.L80242B88:
|
||||
/* C00408 80242B88 8FBF0044 */ lw $ra, 0x44($sp)
|
||||
/* C0040C 80242B8C 8FB40040 */ lw $s4, 0x40($sp)
|
||||
/* C00410 80242B90 8FB3003C */ lw $s3, 0x3c($sp)
|
||||
/* C00414 80242B94 8FB20038 */ lw $s2, 0x38($sp)
|
||||
/* C00418 80242B98 8FB10034 */ lw $s1, 0x34($sp)
|
||||
/* C0041C 80242B9C 8FB00030 */ lw $s0, 0x30($sp)
|
||||
/* C00420 80242BA0 03E00008 */ jr $ra
|
||||
/* C00424 80242BA4 27BD0048 */ addiu $sp, $sp, 0x48
|
@ -0,0 +1,120 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802429EC_C0026C
|
||||
/* C0026C 802429EC 27BDFFB8 */ addiu $sp, $sp, -0x48
|
||||
/* C00270 802429F0 AFB40040 */ sw $s4, 0x40($sp)
|
||||
/* C00274 802429F4 0080A02D */ daddu $s4, $a0, $zero
|
||||
/* C00278 802429F8 AFBF0044 */ sw $ra, 0x44($sp)
|
||||
/* C0027C 802429FC AFB3003C */ sw $s3, 0x3c($sp)
|
||||
/* C00280 80242A00 AFB20038 */ sw $s2, 0x38($sp)
|
||||
/* C00284 80242A04 AFB10034 */ sw $s1, 0x34($sp)
|
||||
/* C00288 80242A08 AFB00030 */ sw $s0, 0x30($sp)
|
||||
/* C0028C 80242A0C 8E910148 */ lw $s1, 0x148($s4)
|
||||
/* C00290 80242A10 00A0902D */ daddu $s2, $a1, $zero
|
||||
/* C00294 80242A14 86240008 */ lh $a0, 8($s1)
|
||||
/* C00298 80242A18 0C00EABB */ jal get_npc_unsafe
|
||||
/* C0029C 80242A1C 00C0982D */ daddu $s3, $a2, $zero
|
||||
/* C002A0 80242A20 8E430014 */ lw $v1, 0x14($s2)
|
||||
/* C002A4 80242A24 04600031 */ bltz $v1, .L80242AEC
|
||||
/* C002A8 80242A28 0040802D */ daddu $s0, $v0, $zero
|
||||
/* C002AC 80242A2C 0260202D */ daddu $a0, $s3, $zero
|
||||
/* C002B0 80242A30 AFA00010 */ sw $zero, 0x10($sp)
|
||||
/* C002B4 80242A34 8E460024 */ lw $a2, 0x24($s2)
|
||||
/* C002B8 80242A38 8E470028 */ lw $a3, 0x28($s2)
|
||||
/* C002BC 80242A3C 0C01242D */ jal func_800490B4
|
||||
/* C002C0 80242A40 0220282D */ daddu $a1, $s1, $zero
|
||||
/* C002C4 80242A44 10400029 */ beqz $v0, .L80242AEC
|
||||
/* C002C8 80242A48 0000202D */ daddu $a0, $zero, $zero
|
||||
/* C002CC 80242A4C 0200282D */ daddu $a1, $s0, $zero
|
||||
/* C002D0 80242A50 0000302D */ daddu $a2, $zero, $zero
|
||||
/* C002D4 80242A54 860300A8 */ lh $v1, 0xa8($s0)
|
||||
/* C002D8 80242A58 3C013F80 */ lui $at, 0x3f80
|
||||
/* C002DC 80242A5C 44810000 */ mtc1 $at, $f0
|
||||
/* C002E0 80242A60 3C014000 */ lui $at, 0x4000
|
||||
/* C002E4 80242A64 44811000 */ mtc1 $at, $f2
|
||||
/* C002E8 80242A68 3C01C1A0 */ lui $at, 0xc1a0
|
||||
/* C002EC 80242A6C 44812000 */ mtc1 $at, $f4
|
||||
/* C002F0 80242A70 2402000F */ addiu $v0, $zero, 0xf
|
||||
/* C002F4 80242A74 AFA2001C */ sw $v0, 0x1c($sp)
|
||||
/* C002F8 80242A78 44833000 */ mtc1 $v1, $f6
|
||||
/* C002FC 80242A7C 00000000 */ nop
|
||||
/* C00300 80242A80 468031A0 */ cvt.s.w $f6, $f6
|
||||
/* C00304 80242A84 44073000 */ mfc1 $a3, $f6
|
||||
/* C00308 80242A88 27A20028 */ addiu $v0, $sp, 0x28
|
||||
/* C0030C 80242A8C AFA20020 */ sw $v0, 0x20($sp)
|
||||
/* C00310 80242A90 E7A00010 */ swc1 $f0, 0x10($sp)
|
||||
/* C00314 80242A94 E7A20014 */ swc1 $f2, 0x14($sp)
|
||||
/* C00318 80242A98 0C01BFA4 */ jal fx_emote
|
||||
/* C0031C 80242A9C E7A40018 */ swc1 $f4, 0x18($sp)
|
||||
/* C00320 80242AA0 3C02800F */ lui $v0, %hi(gPlayerStatusPtr)
|
||||
/* C00324 80242AA4 8C427B30 */ lw $v0, %lo(gPlayerStatusPtr)($v0)
|
||||
/* C00328 80242AA8 C60C0038 */ lwc1 $f12, 0x38($s0)
|
||||
/* C0032C 80242AAC C60E0040 */ lwc1 $f14, 0x40($s0)
|
||||
/* C00330 80242AB0 8C460028 */ lw $a2, 0x28($v0)
|
||||
/* C00334 80242AB4 0C00A720 */ jal atan2
|
||||
/* C00338 80242AB8 8C470030 */ lw $a3, 0x30($v0)
|
||||
/* C0033C 80242ABC 0200202D */ daddu $a0, $s0, $zero
|
||||
/* C00340 80242AC0 240502F4 */ addiu $a1, $zero, 0x2f4
|
||||
/* C00344 80242AC4 3C060020 */ lui $a2, 0x20
|
||||
/* C00348 80242AC8 0C012530 */ jal func_800494C0
|
||||
/* C0034C 80242ACC E480000C */ swc1 $f0, 0xc($a0)
|
||||
/* C00350 80242AD0 8E220018 */ lw $v0, 0x18($s1)
|
||||
/* C00354 80242AD4 9442002A */ lhu $v0, 0x2a($v0)
|
||||
/* C00358 80242AD8 30420001 */ andi $v0, $v0, 1
|
||||
/* C0035C 80242ADC 14400029 */ bnez $v0, .L80242B84
|
||||
/* C00360 80242AE0 2402000A */ addiu $v0, $zero, 0xa
|
||||
/* C00364 80242AE4 08090AE1 */ j .L80242B84
|
||||
/* C00368 80242AE8 2402000C */ addiu $v0, $zero, 0xc
|
||||
.L80242AEC:
|
||||
/* C0036C 80242AEC 8602008C */ lh $v0, 0x8c($s0)
|
||||
/* C00370 80242AF0 14400025 */ bnez $v0, .L80242B88
|
||||
/* C00374 80242AF4 00000000 */ nop
|
||||
/* C00378 80242AF8 9602008E */ lhu $v0, 0x8e($s0)
|
||||
/* C0037C 80242AFC 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* C00380 80242B00 A602008E */ sh $v0, 0x8e($s0)
|
||||
/* C00384 80242B04 00021400 */ sll $v0, $v0, 0x10
|
||||
/* C00388 80242B08 1440001F */ bnez $v0, .L80242B88
|
||||
/* C0038C 80242B0C 00000000 */ nop
|
||||
/* C00390 80242B10 8E820074 */ lw $v0, 0x74($s4)
|
||||
/* C00394 80242B14 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* C00398 80242B18 10400019 */ beqz $v0, .L80242B80
|
||||
/* C0039C 80242B1C AE820074 */ sw $v0, 0x74($s4)
|
||||
/* C003A0 80242B20 8E220018 */ lw $v0, 0x18($s1)
|
||||
/* C003A4 80242B24 9442002A */ lhu $v0, 0x2a($v0)
|
||||
/* C003A8 80242B28 30420010 */ andi $v0, $v0, 0x10
|
||||
/* C003AC 80242B2C 14400007 */ bnez $v0, .L80242B4C
|
||||
/* C003B0 80242B30 00000000 */ nop
|
||||
/* C003B4 80242B34 C600000C */ lwc1 $f0, 0xc($s0)
|
||||
/* C003B8 80242B38 3C014334 */ lui $at, 0x4334
|
||||
/* C003BC 80242B3C 44816000 */ mtc1 $at, $f12
|
||||
/* C003C0 80242B40 0C00A6C9 */ jal clamp_angle
|
||||
/* C003C4 80242B44 460C0300 */ add.s $f12, $f0, $f12
|
||||
/* C003C8 80242B48 E600000C */ swc1 $f0, 0xc($s0)
|
||||
.L80242B4C:
|
||||
/* C003CC 80242B4C 8E440008 */ lw $a0, 8($s2)
|
||||
/* C003D0 80242B50 000417C2 */ srl $v0, $a0, 0x1f
|
||||
/* C003D4 80242B54 00822021 */ addu $a0, $a0, $v0
|
||||
/* C003D8 80242B58 00042043 */ sra $a0, $a0, 1
|
||||
/* C003DC 80242B5C 0C00A67F */ jal rand_int
|
||||
/* C003E0 80242B60 24840001 */ addiu $a0, $a0, 1
|
||||
/* C003E4 80242B64 8E430008 */ lw $v1, 8($s2)
|
||||
/* C003E8 80242B68 000327C2 */ srl $a0, $v1, 0x1f
|
||||
/* C003EC 80242B6C 00641821 */ addu $v1, $v1, $a0
|
||||
/* C003F0 80242B70 00031843 */ sra $v1, $v1, 1
|
||||
/* C003F4 80242B74 00621821 */ addu $v1, $v1, $v0
|
||||
/* C003F8 80242B78 08090AE2 */ j .L80242B88
|
||||
/* C003FC 80242B7C A603008E */ sh $v1, 0x8e($s0)
|
||||
.L80242B80:
|
||||
/* C00400 80242B80 24020004 */ addiu $v0, $zero, 4
|
||||
.L80242B84:
|
||||
/* C00404 80242B84 AE820070 */ sw $v0, 0x70($s4)
|
||||
.L80242B88:
|
||||
/* C00408 80242B88 8FBF0044 */ lw $ra, 0x44($sp)
|
||||
/* C0040C 80242B8C 8FB40040 */ lw $s4, 0x40($sp)
|
||||
/* C00410 80242B90 8FB3003C */ lw $s3, 0x3c($sp)
|
||||
/* C00414 80242B94 8FB20038 */ lw $s2, 0x38($sp)
|
||||
/* C00418 80242B98 8FB10034 */ lw $s1, 0x34($sp)
|
||||
/* C0041C 80242B9C 8FB00030 */ lw $s0, 0x30($sp)
|
||||
/* C00420 80242BA0 03E00008 */ jr $ra
|
||||
/* C00424 80242BA4 27BD0048 */ addiu $sp, $sp, 0x48
|
@ -1,35 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80242CD0
|
||||
/* 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
|
@ -0,0 +1,35 @@
|
||||
.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,82 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80242D48
|
||||
/* C005C8 80242D48 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* C005CC 80242D4C AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* C005D0 80242D50 0080982D */ daddu $s3, $a0, $zero
|
||||
/* C005D4 80242D54 AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* C005D8 80242D58 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* C005DC 80242D5C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* C005E0 80242D60 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* C005E4 80242D64 F7B40028 */ sdc1 $f20, 0x28($sp)
|
||||
/* C005E8 80242D68 8E710148 */ lw $s1, 0x148($s3)
|
||||
/* C005EC 80242D6C 86240008 */ lh $a0, 8($s1)
|
||||
/* C005F0 80242D70 0C00EABB */ jal get_npc_unsafe
|
||||
/* C005F4 80242D74 00A0802D */ daddu $s0, $a1, $zero
|
||||
/* C005F8 80242D78 8E040020 */ lw $a0, 0x20($s0)
|
||||
/* C005FC 80242D7C 0040902D */ daddu $s2, $v0, $zero
|
||||
/* C00600 80242D80 00041FC2 */ srl $v1, $a0, 0x1f
|
||||
/* C00604 80242D84 00832021 */ addu $a0, $a0, $v1
|
||||
/* C00608 80242D88 00042043 */ sra $a0, $a0, 1
|
||||
/* C0060C 80242D8C 0C00A67F */ jal rand_int
|
||||
/* C00610 80242D90 24840001 */ addiu $a0, $a0, 1
|
||||
/* C00614 80242D94 8E030020 */ lw $v1, 0x20($s0)
|
||||
/* C00618 80242D98 C64C0038 */ lwc1 $f12, 0x38($s2)
|
||||
/* C0061C 80242D9C 000327C2 */ srl $a0, $v1, 0x1f
|
||||
/* C00620 80242DA0 00641821 */ addu $v1, $v1, $a0
|
||||
/* C00624 80242DA4 00031843 */ sra $v1, $v1, 1
|
||||
/* C00628 80242DA8 00621821 */ addu $v1, $v1, $v0
|
||||
/* C0062C 80242DAC A643008E */ sh $v1, 0x8e($s2)
|
||||
/* C00630 80242DB0 8E2200CC */ lw $v0, 0xcc($s1)
|
||||
/* C00634 80242DB4 C64E0040 */ lwc1 $f14, 0x40($s2)
|
||||
/* C00638 80242DB8 8C42000C */ lw $v0, 0xc($v0)
|
||||
/* C0063C 80242DBC AE420028 */ sw $v0, 0x28($s2)
|
||||
/* C00640 80242DC0 C6000018 */ lwc1 $f0, 0x18($s0)
|
||||
/* C00644 80242DC4 3C02800F */ lui $v0, %hi(gPlayerStatusPtr)
|
||||
/* C00648 80242DC8 8C427B30 */ lw $v0, %lo(gPlayerStatusPtr)($v0)
|
||||
/* C0064C 80242DCC E6400018 */ swc1 $f0, 0x18($s2)
|
||||
/* C00650 80242DD0 8C460028 */ lw $a2, 0x28($v0)
|
||||
/* C00654 80242DD4 0C00A720 */ jal atan2
|
||||
/* C00658 80242DD8 8C470030 */ lw $a3, 0x30($v0)
|
||||
/* C0065C 80242DDC 46000506 */ mov.s $f20, $f0
|
||||
/* C00660 80242DE0 C64C000C */ lwc1 $f12, 0xc($s2)
|
||||
/* C00664 80242DE4 0C00A70A */ jal get_clamped_angle_diff
|
||||
/* C00668 80242DE8 4600A386 */ mov.s $f14, $f20
|
||||
/* C0066C 80242DEC 46000086 */ mov.s $f2, $f0
|
||||
/* C00670 80242DF0 8E02001C */ lw $v0, 0x1c($s0)
|
||||
/* C00674 80242DF4 46001005 */ abs.s $f0, $f2
|
||||
/* C00678 80242DF8 44822000 */ mtc1 $v0, $f4
|
||||
/* C0067C 80242DFC 00000000 */ nop
|
||||
/* C00680 80242E00 46802120 */ cvt.s.w $f4, $f4
|
||||
/* C00684 80242E04 4600203C */ c.lt.s $f4, $f0
|
||||
/* C00688 80242E08 00000000 */ nop
|
||||
/* C0068C 80242E0C 4500000D */ bc1f .L80242E44
|
||||
/* C00690 80242E10 00000000 */ nop
|
||||
/* C00694 80242E14 44800000 */ mtc1 $zero, $f0
|
||||
/* C00698 80242E18 C654000C */ lwc1 $f20, 0xc($s2)
|
||||
/* C0069C 80242E1C 4600103C */ c.lt.s $f2, $f0
|
||||
/* C006A0 80242E20 00000000 */ nop
|
||||
/* C006A4 80242E24 45000006 */ bc1f .L80242E40
|
||||
/* C006A8 80242E28 00021023 */ negu $v0, $v0
|
||||
/* C006AC 80242E2C 44820000 */ mtc1 $v0, $f0
|
||||
/* C006B0 80242E30 00000000 */ nop
|
||||
/* C006B4 80242E34 46800020 */ cvt.s.w $f0, $f0
|
||||
/* C006B8 80242E38 08090B91 */ j .L80242E44
|
||||
/* C006BC 80242E3C 4600A500 */ add.s $f20, $f20, $f0
|
||||
.L80242E40:
|
||||
/* C006C0 80242E40 4604A500 */ add.s $f20, $f20, $f4
|
||||
.L80242E44:
|
||||
/* C006C4 80242E44 0C00A6C9 */ jal clamp_angle
|
||||
/* C006C8 80242E48 4600A306 */ mov.s $f12, $f20
|
||||
/* C006CC 80242E4C 2402000D */ addiu $v0, $zero, 0xd
|
||||
/* C006D0 80242E50 E640000C */ swc1 $f0, 0xc($s2)
|
||||
/* C006D4 80242E54 AE620070 */ sw $v0, 0x70($s3)
|
||||
/* C006D8 80242E58 8FBF0020 */ lw $ra, 0x20($sp)
|
||||
/* C006DC 80242E5C 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* C006E0 80242E60 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* C006E4 80242E64 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* C006E8 80242E68 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* C006EC 80242E6C D7B40028 */ ldc1 $f20, 0x28($sp)
|
||||
/* C006F0 80242E70 03E00008 */ jr $ra
|
||||
/* C006F4 80242E74 27BD0030 */ addiu $sp, $sp, 0x30
|
@ -0,0 +1,82 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80242D48_C005C8
|
||||
/* C005C8 80242D48 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* C005CC 80242D4C AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* C005D0 80242D50 0080982D */ daddu $s3, $a0, $zero
|
||||
/* C005D4 80242D54 AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* C005D8 80242D58 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* C005DC 80242D5C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* C005E0 80242D60 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* C005E4 80242D64 F7B40028 */ sdc1 $f20, 0x28($sp)
|
||||
/* C005E8 80242D68 8E710148 */ lw $s1, 0x148($s3)
|
||||
/* C005EC 80242D6C 86240008 */ lh $a0, 8($s1)
|
||||
/* C005F0 80242D70 0C00EABB */ jal get_npc_unsafe
|
||||
/* C005F4 80242D74 00A0802D */ daddu $s0, $a1, $zero
|
||||
/* C005F8 80242D78 8E040020 */ lw $a0, 0x20($s0)
|
||||
/* C005FC 80242D7C 0040902D */ daddu $s2, $v0, $zero
|
||||
/* C00600 80242D80 00041FC2 */ srl $v1, $a0, 0x1f
|
||||
/* C00604 80242D84 00832021 */ addu $a0, $a0, $v1
|
||||
/* C00608 80242D88 00042043 */ sra $a0, $a0, 1
|
||||
/* C0060C 80242D8C 0C00A67F */ jal rand_int
|
||||
/* C00610 80242D90 24840001 */ addiu $a0, $a0, 1
|
||||
/* C00614 80242D94 8E030020 */ lw $v1, 0x20($s0)
|
||||
/* C00618 80242D98 C64C0038 */ lwc1 $f12, 0x38($s2)
|
||||
/* C0061C 80242D9C 000327C2 */ srl $a0, $v1, 0x1f
|
||||
/* C00620 80242DA0 00641821 */ addu $v1, $v1, $a0
|
||||
/* C00624 80242DA4 00031843 */ sra $v1, $v1, 1
|
||||
/* C00628 80242DA8 00621821 */ addu $v1, $v1, $v0
|
||||
/* C0062C 80242DAC A643008E */ sh $v1, 0x8e($s2)
|
||||
/* C00630 80242DB0 8E2200CC */ lw $v0, 0xcc($s1)
|
||||
/* C00634 80242DB4 C64E0040 */ lwc1 $f14, 0x40($s2)
|
||||
/* C00638 80242DB8 8C42000C */ lw $v0, 0xc($v0)
|
||||
/* C0063C 80242DBC AE420028 */ sw $v0, 0x28($s2)
|
||||
/* C00640 80242DC0 C6000018 */ lwc1 $f0, 0x18($s0)
|
||||
/* C00644 80242DC4 3C02800F */ lui $v0, %hi(gPlayerStatusPtr)
|
||||
/* C00648 80242DC8 8C427B30 */ lw $v0, %lo(gPlayerStatusPtr)($v0)
|
||||
/* C0064C 80242DCC E6400018 */ swc1 $f0, 0x18($s2)
|
||||
/* C00650 80242DD0 8C460028 */ lw $a2, 0x28($v0)
|
||||
/* C00654 80242DD4 0C00A720 */ jal atan2
|
||||
/* C00658 80242DD8 8C470030 */ lw $a3, 0x30($v0)
|
||||
/* C0065C 80242DDC 46000506 */ mov.s $f20, $f0
|
||||
/* C00660 80242DE0 C64C000C */ lwc1 $f12, 0xc($s2)
|
||||
/* C00664 80242DE4 0C00A70A */ jal get_clamped_angle_diff
|
||||
/* C00668 80242DE8 4600A386 */ mov.s $f14, $f20
|
||||
/* C0066C 80242DEC 46000086 */ mov.s $f2, $f0
|
||||
/* C00670 80242DF0 8E02001C */ lw $v0, 0x1c($s0)
|
||||
/* C00674 80242DF4 46001005 */ abs.s $f0, $f2
|
||||
/* C00678 80242DF8 44822000 */ mtc1 $v0, $f4
|
||||
/* C0067C 80242DFC 00000000 */ nop
|
||||
/* C00680 80242E00 46802120 */ cvt.s.w $f4, $f4
|
||||
/* C00684 80242E04 4600203C */ c.lt.s $f4, $f0
|
||||
/* C00688 80242E08 00000000 */ nop
|
||||
/* C0068C 80242E0C 4500000D */ bc1f .L80242E44
|
||||
/* C00690 80242E10 00000000 */ nop
|
||||
/* C00694 80242E14 44800000 */ mtc1 $zero, $f0
|
||||
/* C00698 80242E18 C654000C */ lwc1 $f20, 0xc($s2)
|
||||
/* C0069C 80242E1C 4600103C */ c.lt.s $f2, $f0
|
||||
/* C006A0 80242E20 00000000 */ nop
|
||||
/* C006A4 80242E24 45000006 */ bc1f .L80242E40
|
||||
/* C006A8 80242E28 00021023 */ negu $v0, $v0
|
||||
/* C006AC 80242E2C 44820000 */ mtc1 $v0, $f0
|
||||
/* C006B0 80242E30 00000000 */ nop
|
||||
/* C006B4 80242E34 46800020 */ cvt.s.w $f0, $f0
|
||||
/* C006B8 80242E38 08090B91 */ j .L80242E44
|
||||
/* C006BC 80242E3C 4600A500 */ add.s $f20, $f20, $f0
|
||||
.L80242E40:
|
||||
/* C006C0 80242E40 4604A500 */ add.s $f20, $f20, $f4
|
||||
.L80242E44:
|
||||
/* C006C4 80242E44 0C00A6C9 */ jal clamp_angle
|
||||
/* C006C8 80242E48 4600A306 */ mov.s $f12, $f20
|
||||
/* C006CC 80242E4C 2402000D */ addiu $v0, $zero, 0xd
|
||||
/* C006D0 80242E50 E640000C */ swc1 $f0, 0xc($s2)
|
||||
/* C006D4 80242E54 AE620070 */ sw $v0, 0x70($s3)
|
||||
/* C006D8 80242E58 8FBF0020 */ lw $ra, 0x20($sp)
|
||||
/* C006DC 80242E5C 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* C006E0 80242E60 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* C006E4 80242E64 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* C006E8 80242E68 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* C006EC 80242E6C D7B40028 */ ldc1 $f20, 0x28($sp)
|
||||
/* C006F0 80242E70 03E00008 */ jr $ra
|
||||
/* C006F4 80242E74 27BD0030 */ addiu $sp, $sp, 0x30
|
@ -1,80 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80242E78
|
||||
/* C006F8 80242E78 27BDFFB8 */ addiu $sp, $sp, -0x48
|
||||
/* C006FC 80242E7C AFB3003C */ sw $s3, 0x3c($sp)
|
||||
/* C00700 80242E80 0080982D */ daddu $s3, $a0, $zero
|
||||
/* C00704 80242E84 AFBF0040 */ sw $ra, 0x40($sp)
|
||||
/* C00708 80242E88 AFB20038 */ sw $s2, 0x38($sp)
|
||||
/* C0070C 80242E8C AFB10034 */ sw $s1, 0x34($sp)
|
||||
/* C00710 80242E90 AFB00030 */ sw $s0, 0x30($sp)
|
||||
/* C00714 80242E94 8E720148 */ lw $s2, 0x148($s3)
|
||||
/* C00718 80242E98 00A0882D */ daddu $s1, $a1, $zero
|
||||
/* C0071C 80242E9C 86440008 */ lh $a0, 8($s2)
|
||||
/* C00720 80242EA0 0C00EABB */ jal get_npc_unsafe
|
||||
/* C00724 80242EA4 00C0802D */ daddu $s0, $a2, $zero
|
||||
/* C00728 80242EA8 0200202D */ daddu $a0, $s0, $zero
|
||||
/* C0072C 80242EAC 0240282D */ daddu $a1, $s2, $zero
|
||||
/* C00730 80242EB0 24030001 */ addiu $v1, $zero, 1
|
||||
/* C00734 80242EB4 AFA30010 */ sw $v1, 0x10($sp)
|
||||
/* C00738 80242EB8 8E260024 */ lw $a2, 0x24($s1)
|
||||
/* C0073C 80242EBC 8E270028 */ lw $a3, 0x28($s1)
|
||||
/* C00740 80242EC0 0C01242D */ jal func_800490B4
|
||||
/* C00744 80242EC4 0040802D */ daddu $s0, $v0, $zero
|
||||
/* C00748 80242EC8 1440001E */ bnez $v0, .L80242F44
|
||||
/* C0074C 80242ECC 0200202D */ daddu $a0, $s0, $zero
|
||||
/* C00750 80242ED0 24040002 */ addiu $a0, $zero, 2
|
||||
/* C00754 80242ED4 0200282D */ daddu $a1, $s0, $zero
|
||||
/* C00758 80242ED8 0000302D */ daddu $a2, $zero, $zero
|
||||
/* C0075C 80242EDC 860300A8 */ lh $v1, 0xa8($s0)
|
||||
/* C00760 80242EE0 3C013F80 */ lui $at, 0x3f80
|
||||
/* C00764 80242EE4 44810000 */ mtc1 $at, $f0
|
||||
/* C00768 80242EE8 3C014000 */ lui $at, 0x4000
|
||||
/* C0076C 80242EEC 44811000 */ mtc1 $at, $f2
|
||||
/* C00770 80242EF0 3C01C1A0 */ lui $at, 0xc1a0
|
||||
/* C00774 80242EF4 44812000 */ mtc1 $at, $f4
|
||||
/* C00778 80242EF8 2402000F */ addiu $v0, $zero, 0xf
|
||||
/* C0077C 80242EFC AFA2001C */ sw $v0, 0x1c($sp)
|
||||
/* C00780 80242F00 44833000 */ mtc1 $v1, $f6
|
||||
/* C00784 80242F04 00000000 */ nop
|
||||
/* C00788 80242F08 468031A0 */ cvt.s.w $f6, $f6
|
||||
/* C0078C 80242F0C 44073000 */ mfc1 $a3, $f6
|
||||
/* C00790 80242F10 27A20028 */ addiu $v0, $sp, 0x28
|
||||
/* C00794 80242F14 AFA20020 */ sw $v0, 0x20($sp)
|
||||
/* C00798 80242F18 E7A00010 */ swc1 $f0, 0x10($sp)
|
||||
/* C0079C 80242F1C E7A20014 */ swc1 $f2, 0x14($sp)
|
||||
/* C007A0 80242F20 0C01BFA4 */ jal fx_emote
|
||||
/* C007A4 80242F24 E7A40018 */ swc1 $f4, 0x18($sp)
|
||||
/* C007A8 80242F28 8E4200CC */ lw $v0, 0xcc($s2)
|
||||
/* C007AC 80242F2C 8C430000 */ lw $v1, ($v0)
|
||||
/* C007B0 80242F30 24020019 */ addiu $v0, $zero, 0x19
|
||||
/* C007B4 80242F34 A602008E */ sh $v0, 0x8e($s0)
|
||||
/* C007B8 80242F38 2402000E */ addiu $v0, $zero, 0xe
|
||||
/* C007BC 80242F3C 08090BDE */ j .L80242F78
|
||||
/* C007C0 80242F40 AE030028 */ sw $v1, 0x28($s0)
|
||||
.L80242F44:
|
||||
/* C007C4 80242F44 0C00F598 */ jal func_8003D660
|
||||
/* C007C8 80242F48 24050001 */ addiu $a1, $zero, 1
|
||||
/* C007CC 80242F4C 8E050018 */ lw $a1, 0x18($s0)
|
||||
/* C007D0 80242F50 8E06000C */ lw $a2, 0xc($s0)
|
||||
/* C007D4 80242F54 0C00EA95 */ jal npc_move_heading
|
||||
/* C007D8 80242F58 0200202D */ daddu $a0, $s0, $zero
|
||||
/* C007DC 80242F5C 8602008E */ lh $v0, 0x8e($s0)
|
||||
/* C007E0 80242F60 9603008E */ lhu $v1, 0x8e($s0)
|
||||
/* C007E4 80242F64 18400003 */ blez $v0, .L80242F74
|
||||
/* C007E8 80242F68 2462FFFF */ addiu $v0, $v1, -1
|
||||
/* C007EC 80242F6C 08090BDF */ j .L80242F7C
|
||||
/* C007F0 80242F70 A602008E */ sh $v0, 0x8e($s0)
|
||||
.L80242F74:
|
||||
/* C007F4 80242F74 2402000C */ addiu $v0, $zero, 0xc
|
||||
.L80242F78:
|
||||
/* C007F8 80242F78 AE620070 */ sw $v0, 0x70($s3)
|
||||
.L80242F7C:
|
||||
/* C007FC 80242F7C 8FBF0040 */ lw $ra, 0x40($sp)
|
||||
/* C00800 80242F80 8FB3003C */ lw $s3, 0x3c($sp)
|
||||
/* C00804 80242F84 8FB20038 */ lw $s2, 0x38($sp)
|
||||
/* C00808 80242F88 8FB10034 */ lw $s1, 0x34($sp)
|
||||
/* C0080C 80242F8C 8FB00030 */ lw $s0, 0x30($sp)
|
||||
/* C00810 80242F90 03E00008 */ jr $ra
|
||||
/* C00814 80242F94 27BD0048 */ addiu $sp, $sp, 0x48
|
@ -0,0 +1,80 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80242E78_C006F8
|
||||
/* C006F8 80242E78 27BDFFB8 */ addiu $sp, $sp, -0x48
|
||||
/* C006FC 80242E7C AFB3003C */ sw $s3, 0x3c($sp)
|
||||
/* C00700 80242E80 0080982D */ daddu $s3, $a0, $zero
|
||||
/* C00704 80242E84 AFBF0040 */ sw $ra, 0x40($sp)
|
||||
/* C00708 80242E88 AFB20038 */ sw $s2, 0x38($sp)
|
||||
/* C0070C 80242E8C AFB10034 */ sw $s1, 0x34($sp)
|
||||
/* C00710 80242E90 AFB00030 */ sw $s0, 0x30($sp)
|
||||
/* C00714 80242E94 8E720148 */ lw $s2, 0x148($s3)
|
||||
/* C00718 80242E98 00A0882D */ daddu $s1, $a1, $zero
|
||||
/* C0071C 80242E9C 86440008 */ lh $a0, 8($s2)
|
||||
/* C00720 80242EA0 0C00EABB */ jal get_npc_unsafe
|
||||
/* C00724 80242EA4 00C0802D */ daddu $s0, $a2, $zero
|
||||
/* C00728 80242EA8 0200202D */ daddu $a0, $s0, $zero
|
||||
/* C0072C 80242EAC 0240282D */ daddu $a1, $s2, $zero
|
||||
/* C00730 80242EB0 24030001 */ addiu $v1, $zero, 1
|
||||
/* C00734 80242EB4 AFA30010 */ sw $v1, 0x10($sp)
|
||||
/* C00738 80242EB8 8E260024 */ lw $a2, 0x24($s1)
|
||||
/* C0073C 80242EBC 8E270028 */ lw $a3, 0x28($s1)
|
||||
/* C00740 80242EC0 0C01242D */ jal func_800490B4
|
||||
/* C00744 80242EC4 0040802D */ daddu $s0, $v0, $zero
|
||||
/* C00748 80242EC8 1440001E */ bnez $v0, .L80242F44
|
||||
/* C0074C 80242ECC 0200202D */ daddu $a0, $s0, $zero
|
||||
/* C00750 80242ED0 24040002 */ addiu $a0, $zero, 2
|
||||
/* C00754 80242ED4 0200282D */ daddu $a1, $s0, $zero
|
||||
/* C00758 80242ED8 0000302D */ daddu $a2, $zero, $zero
|
||||
/* C0075C 80242EDC 860300A8 */ lh $v1, 0xa8($s0)
|
||||
/* C00760 80242EE0 3C013F80 */ lui $at, 0x3f80
|
||||
/* C00764 80242EE4 44810000 */ mtc1 $at, $f0
|
||||
/* C00768 80242EE8 3C014000 */ lui $at, 0x4000
|
||||
/* C0076C 80242EEC 44811000 */ mtc1 $at, $f2
|
||||
/* C00770 80242EF0 3C01C1A0 */ lui $at, 0xc1a0
|
||||
/* C00774 80242EF4 44812000 */ mtc1 $at, $f4
|
||||
/* C00778 80242EF8 2402000F */ addiu $v0, $zero, 0xf
|
||||
/* C0077C 80242EFC AFA2001C */ sw $v0, 0x1c($sp)
|
||||
/* C00780 80242F00 44833000 */ mtc1 $v1, $f6
|
||||
/* C00784 80242F04 00000000 */ nop
|
||||
/* C00788 80242F08 468031A0 */ cvt.s.w $f6, $f6
|
||||
/* C0078C 80242F0C 44073000 */ mfc1 $a3, $f6
|
||||
/* C00790 80242F10 27A20028 */ addiu $v0, $sp, 0x28
|
||||
/* C00794 80242F14 AFA20020 */ sw $v0, 0x20($sp)
|
||||
/* C00798 80242F18 E7A00010 */ swc1 $f0, 0x10($sp)
|
||||
/* C0079C 80242F1C E7A20014 */ swc1 $f2, 0x14($sp)
|
||||
/* C007A0 80242F20 0C01BFA4 */ jal fx_emote
|
||||
/* C007A4 80242F24 E7A40018 */ swc1 $f4, 0x18($sp)
|
||||
/* C007A8 80242F28 8E4200CC */ lw $v0, 0xcc($s2)
|
||||
/* C007AC 80242F2C 8C430000 */ lw $v1, ($v0)
|
||||
/* C007B0 80242F30 24020019 */ addiu $v0, $zero, 0x19
|
||||
/* C007B4 80242F34 A602008E */ sh $v0, 0x8e($s0)
|
||||
/* C007B8 80242F38 2402000E */ addiu $v0, $zero, 0xe
|
||||
/* C007BC 80242F3C 08090BDE */ j .L80242F78
|
||||
/* C007C0 80242F40 AE030028 */ sw $v1, 0x28($s0)
|
||||
.L80242F44:
|
||||
/* C007C4 80242F44 0C00F598 */ jal func_8003D660
|
||||
/* C007C8 80242F48 24050001 */ addiu $a1, $zero, 1
|
||||
/* C007CC 80242F4C 8E050018 */ lw $a1, 0x18($s0)
|
||||
/* C007D0 80242F50 8E06000C */ lw $a2, 0xc($s0)
|
||||
/* C007D4 80242F54 0C00EA95 */ jal npc_move_heading
|
||||
/* C007D8 80242F58 0200202D */ daddu $a0, $s0, $zero
|
||||
/* C007DC 80242F5C 8602008E */ lh $v0, 0x8e($s0)
|
||||
/* C007E0 80242F60 9603008E */ lhu $v1, 0x8e($s0)
|
||||
/* C007E4 80242F64 18400003 */ blez $v0, .L80242F74
|
||||
/* C007E8 80242F68 2462FFFF */ addiu $v0, $v1, -1
|
||||
/* C007EC 80242F6C 08090BDF */ j .L80242F7C
|
||||
/* C007F0 80242F70 A602008E */ sh $v0, 0x8e($s0)
|
||||
.L80242F74:
|
||||
/* C007F4 80242F74 2402000C */ addiu $v0, $zero, 0xc
|
||||
.L80242F78:
|
||||
/* C007F8 80242F78 AE620070 */ sw $v0, 0x70($s3)
|
||||
.L80242F7C:
|
||||
/* C007FC 80242F7C 8FBF0040 */ lw $ra, 0x40($sp)
|
||||
/* C00800 80242F80 8FB3003C */ lw $s3, 0x3c($sp)
|
||||
/* C00804 80242F84 8FB20038 */ lw $s2, 0x38($sp)
|
||||
/* C00808 80242F88 8FB10034 */ lw $s1, 0x34($sp)
|
||||
/* C0080C 80242F8C 8FB00030 */ lw $s0, 0x30($sp)
|
||||
/* C00810 80242F90 03E00008 */ jr $ra
|
||||
/* C00814 80242F94 27BD0048 */ addiu $sp, $sp, 0x48
|
@ -1,32 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80242F98
|
||||
/* 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
|
@ -0,0 +1,32 @@
|
||||
.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
|
@ -131,59 +131,59 @@ glabel func_802430C0_C00940
|
||||
/* C00B20 802432A0 00000000 */ nop
|
||||
/* C00B24 802432A4 0280202D */ daddu $a0, $s4, $zero
|
||||
/* C00B28 802432A8 0260282D */ daddu $a1, $s3, $zero
|
||||
/* C00B2C 802432AC 0C09094B */ jal func_8024252C
|
||||
/* C00B2C 802432AC 0C09094B */ jal func_8024252C_BFFDAC
|
||||
/* C00B30 802432B0 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* C00B34 802432B4 0280202D */ daddu $a0, $s4, $zero
|
||||
/* C00B38 802432B8 0260282D */ daddu $a1, $s3, $zero
|
||||
/* C00B3C 802432BC 0C0909A1 */ jal func_80242684
|
||||
/* C00B3C 802432BC 0C0909A1 */ jal func_80242684_BFFF04
|
||||
/* C00B40 802432C0 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* C00B44 802432C4 08090CE5 */ j .L80243394
|
||||
/* C00B48 802432C8 00000000 */ nop
|
||||
/* C00B4C 802432CC 0280202D */ daddu $a0, $s4, $zero
|
||||
/* C00B50 802432D0 0260282D */ daddu $a1, $s3, $zero
|
||||
/* C00B54 802432D4 0C090A4B */ jal func_8024292C
|
||||
/* C00B54 802432D4 0C090A4B */ jal func_8024292C_C001AC
|
||||
/* C00B58 802432D8 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* C00B5C 802432DC 0280202D */ daddu $a0, $s4, $zero
|
||||
/* C00B60 802432E0 0260282D */ daddu $a1, $s3, $zero
|
||||
/* C00B64 802432E4 0C090A7B */ jal func_802429EC
|
||||
/* C00B64 802432E4 0C090A7B */ jal func_802429EC_C0026C
|
||||
/* C00B68 802432E8 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* C00B6C 802432EC 08090CE5 */ j .L80243394
|
||||
/* C00B70 802432F0 00000000 */ nop
|
||||
/* C00B74 802432F4 0280202D */ daddu $a0, $s4, $zero
|
||||
/* C00B78 802432F8 0260282D */ daddu $a1, $s3, $zero
|
||||
/* C00B7C 802432FC 0C090AEA */ jal func_80242BA8
|
||||
/* C00B7C 802432FC 0C090AEA */ jal func_80242BA8_C00428
|
||||
/* C00B80 80243300 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* C00B84 80243304 08090CE5 */ j .L80243394
|
||||
/* C00B88 80243308 00000000 */ nop
|
||||
/* C00B8C 8024330C 0280202D */ daddu $a0, $s4, $zero
|
||||
/* C00B90 80243310 0260282D */ daddu $a1, $s3, $zero
|
||||
/* C00B94 80243314 0C090B17 */ jal func_80242C5C
|
||||
/* C00B94 80243314 0C090B17 */ jal func_80242C5C_C004DC
|
||||
/* 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
|
||||
/* C00BA4 80243324 0C090B34 */ jal func_80242CD0_C00550
|
||||
/* C00BA8 80243328 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* C00BAC 8024332C 08090CE5 */ j .L80243394
|
||||
/* C00BB0 80243330 00000000 */ nop
|
||||
/* C00BB4 80243334 0280202D */ daddu $a0, $s4, $zero
|
||||
/* C00BB8 80243338 0260282D */ daddu $a1, $s3, $zero
|
||||
/* C00BBC 8024333C 0C090B52 */ jal func_80242D48
|
||||
/* C00BBC 8024333C 0C090B52 */ jal func_80242D48_C005C8
|
||||
/* C00BC0 80243340 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* C00BC4 80243344 0280202D */ daddu $a0, $s4, $zero
|
||||
/* C00BC8 80243348 0260282D */ daddu $a1, $s3, $zero
|
||||
/* C00BCC 8024334C 0C090B9E */ jal func_80242E78
|
||||
/* C00BCC 8024334C 0C090B9E */ jal func_80242E78_C006F8
|
||||
/* C00BD0 80243350 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* C00BD4 80243354 08090CE5 */ j .L80243394
|
||||
/* C00BD8 80243358 00000000 */ nop
|
||||
/* C00BDC 8024335C 0280202D */ daddu $a0, $s4, $zero
|
||||
/* C00BE0 80243360 0260282D */ daddu $a1, $s3, $zero
|
||||
/* C00BE4 80243364 0C090BE6 */ jal func_80242F98
|
||||
/* C00BE4 80243364 0C090BE6 */ jal func_80242F98_C00818
|
||||
/* C00BE8 80243368 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* C00BEC 8024336C 08090CE5 */ j .L80243394
|
||||
/* C00BF0 80243370 00000000 */ nop
|
||||
/* C00BF4 80243374 0280202D */ daddu $a0, $s4, $zero
|
||||
/* C00BF8 80243378 0260282D */ daddu $a1, $s3, $zero
|
||||
/* C00BFC 8024337C 0C090C00 */ jal func_80243000
|
||||
/* C00BFC 8024337C 0C090C00 */ jal func_80243000_C00880
|
||||
/* C00C00 80243380 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* C00C04 80243384 08090CE5 */ j .L80243394
|
||||
/* C00C08 80243388 00000000 */ nop
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user