mirror of
https://github.com/zeldaret/oot.git
synced 2024-11-13 04:39:36 +00:00
En_Bw (Torch Slug) (#537)
* Darkmeiro decompilation Bg_Gnd_Darkmeiro decompiled, matched, and documented. * give this a shot * fix conflict * one more try * could be useful * whoops * ZAP2 stuff * ZAP why * ZAP again * slug-o-cola * sfx macros * Matched * this will have to do * well maybe a little more * good enough
This commit is contained in:
parent
695bc37be4
commit
9fcf8a4430
30 changed files with 840 additions and 3465 deletions
|
@ -1,19 +0,0 @@
|
|||
glabel EnBw_Destroy
|
||||
/* 00164 809CE844 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
|
||||
/* 00168 809CE848 AFA40018 */ sw $a0, 0x0018($sp)
|
||||
/* 0016C 809CE84C AFA5001C */ sw $a1, 0x001C($sp)
|
||||
/* 00170 809CE850 00A02025 */ or $a0, $a1, $zero ## $a0 = 00000000
|
||||
/* 00174 809CE854 8FA50018 */ lw $a1, 0x0018($sp)
|
||||
/* 00178 809CE858 AFBF0014 */ sw $ra, 0x0014($sp)
|
||||
/* 0017C 809CE85C 0C0170EB */ jal Collider_DestroyCylinder
|
||||
|
||||
/* 00180 809CE860 24A50294 */ addiu $a1, $a1, 0x0294 ## $a1 = 00000294
|
||||
/* 00184 809CE864 8FA50018 */ lw $a1, 0x0018($sp)
|
||||
/* 00188 809CE868 8FA4001C */ lw $a0, 0x001C($sp)
|
||||
/* 0018C 809CE86C 0C0170EB */ jal Collider_DestroyCylinder
|
||||
|
||||
/* 00190 809CE870 24A502E0 */ addiu $a1, $a1, 0x02E0 ## $a1 = 000002E0
|
||||
/* 00194 809CE874 8FBF0014 */ lw $ra, 0x0014($sp)
|
||||
/* 00198 809CE878 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
|
||||
/* 0019C 809CE87C 03E00008 */ jr $ra
|
||||
/* 001A0 809CE880 00000000 */ nop
|
|
@ -1,352 +0,0 @@
|
|||
.rdata
|
||||
glabel D_809D1570
|
||||
.asciz "../z_en_bw.c"
|
||||
.balign 4
|
||||
|
||||
glabel D_809D1580
|
||||
.asciz "../z_en_bw.c"
|
||||
.balign 4
|
||||
|
||||
glabel D_809D1590
|
||||
.asciz "../z_en_bw.c"
|
||||
.balign 4
|
||||
|
||||
.late_rodata
|
||||
glabel D_809D16CC
|
||||
.word 0x48B71B00
|
||||
glabel D_809D16D0
|
||||
.word 0x48127C00
|
||||
glabel D_809D16D4
|
||||
.word 0x49064700
|
||||
glabel D_809D16D8
|
||||
.word 0x3C54FDF4
|
||||
glabel D_809D16DC
|
||||
.float 0.01
|
||||
|
||||
glabel D_809D16E0
|
||||
.float 1.3
|
||||
|
||||
.text
|
||||
glabel EnBw_Draw
|
||||
/* 02858 809D0F38 27BDFF48 */ addiu $sp, $sp, 0xFF48 ## $sp = FFFFFF48
|
||||
/* 0285C 809D0F3C 3C0F809D */ lui $t7, %hi(D_809D1554) ## $t7 = 809D0000
|
||||
/* 02860 809D0F40 AFBF0044 */ sw $ra, 0x0044($sp)
|
||||
/* 02864 809D0F44 AFB20040 */ sw $s2, 0x0040($sp)
|
||||
/* 02868 809D0F48 AFB1003C */ sw $s1, 0x003C($sp)
|
||||
/* 0286C 809D0F4C AFB00038 */ sw $s0, 0x0038($sp)
|
||||
/* 02870 809D0F50 25EF1554 */ addiu $t7, $t7, %lo(D_809D1554) ## $t7 = 809D1554
|
||||
/* 02874 809D0F54 8DF90000 */ lw $t9, 0x0000($t7) ## 809D1554
|
||||
/* 02878 809D0F58 27AE00AC */ addiu $t6, $sp, 0x00AC ## $t6 = FFFFFFF4
|
||||
/* 0287C 809D0F5C 8DF80004 */ lw $t8, 0x0004($t7) ## 809D1558
|
||||
/* 02880 809D0F60 ADD90000 */ sw $t9, 0x0000($t6) ## FFFFFFF4
|
||||
/* 02884 809D0F64 8DF90008 */ lw $t9, 0x0008($t7) ## 809D155C
|
||||
/* 02888 809D0F68 00A09025 */ or $s2, $a1, $zero ## $s2 = 00000000
|
||||
/* 0288C 809D0F6C ADD80004 */ sw $t8, 0x0004($t6) ## FFFFFFF8
|
||||
/* 02890 809D0F70 ADD90008 */ sw $t9, 0x0008($t6) ## FFFFFFFC
|
||||
/* 02894 809D0F74 8CA50000 */ lw $a1, 0x0000($a1) ## 00000000
|
||||
/* 02898 809D0F78 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
|
||||
/* 0289C 809D0F7C 3C06809D */ lui $a2, %hi(D_809D1570) ## $a2 = 809D0000
|
||||
/* 028A0 809D0F80 24C61570 */ addiu $a2, $a2, %lo(D_809D1570) ## $a2 = 809D1570
|
||||
/* 028A4 809D0F84 27A40080 */ addiu $a0, $sp, 0x0080 ## $a0 = FFFFFFC8
|
||||
/* 028A8 809D0F88 2407058F */ addiu $a3, $zero, 0x058F ## $a3 = 0000058F
|
||||
/* 028AC 809D0F8C 0C031AB1 */ jal Graph_OpenDisps
|
||||
/* 028B0 809D0F90 00A08825 */ or $s1, $a1, $zero ## $s1 = 00000000
|
||||
/* 028B4 809D0F94 9209022F */ lbu $t1, 0x022F($s0) ## 0000022F
|
||||
/* 028B8 809D0F98 240100FF */ addiu $at, $zero, 0x00FF ## $at = 000000FF
|
||||
/* 028BC 809D0F9C 15210028 */ bne $t1, $at, .L809D1040
|
||||
/* 028C0 809D0FA0 00000000 */ nop
|
||||
/* 028C4 809D0FA4 0C024F46 */ jal func_80093D18
|
||||
/* 028C8 809D0FA8 8E440000 */ lw $a0, 0x0000($s2) ## 00000000
|
||||
/* 028CC 809D0FAC 8E2302C0 */ lw $v1, 0x02C0($s1) ## 000002C0
|
||||
/* 028D0 809D0FB0 3C0BFB00 */ lui $t3, 0xFB00 ## $t3 = FB000000
|
||||
/* 028D4 809D0FB4 3C07809D */ lui $a3, %hi(func_809D0D18) ## $a3 = 809D0000
|
||||
/* 028D8 809D0FB8 246A0008 */ addiu $t2, $v1, 0x0008 ## $t2 = 00000008
|
||||
/* 028DC 809D0FBC AE2A02C0 */ sw $t2, 0x02C0($s1) ## 000002C0
|
||||
/* 028E0 809D0FC0 AC6B0000 */ sw $t3, 0x0000($v1) ## 00000000
|
||||
/* 028E4 809D0FC4 9218022D */ lbu $t8, 0x022D($s0) ## 0000022D
|
||||
/* 028E8 809D0FC8 920D022C */ lbu $t5, 0x022C($s0) ## 0000022C
|
||||
/* 028EC 809D0FCC 920B022E */ lbu $t3, 0x022E($s0) ## 0000022E
|
||||
/* 028F0 809D0FD0 0018CC00 */ sll $t9, $t8, 16
|
||||
/* 028F4 809D0FD4 9218022F */ lbu $t8, 0x022F($s0) ## 0000022F
|
||||
/* 028F8 809D0FD8 000D7600 */ sll $t6, $t5, 24
|
||||
/* 028FC 809D0FDC 01D94825 */ or $t1, $t6, $t9 ## $t1 = 00000000
|
||||
/* 02900 809D0FE0 000B6200 */ sll $t4, $t3, 8
|
||||
/* 02904 809D0FE4 012C6825 */ or $t5, $t1, $t4 ## $t5 = 00000000
|
||||
/* 02908 809D0FE8 01B87025 */ or $t6, $t5, $t8 ## $t6 = 00000000
|
||||
/* 0290C 809D0FEC AC6E0004 */ sw $t6, 0x0004($v1) ## 00000004
|
||||
/* 02910 809D0FF0 8E2302C0 */ lw $v1, 0x02C0($s1) ## 000002C0
|
||||
/* 02914 809D0FF4 3C0B8011 */ lui $t3, %hi(D_80116280+0x10)
|
||||
/* 02918 809D0FF8 3C0ADB06 */ lui $t2, 0xDB06 ## $t2 = DB060000
|
||||
/* 0291C 809D0FFC 24790008 */ addiu $t9, $v1, 0x0008 ## $t9 = 00000008
|
||||
/* 02920 809D1000 AE3902C0 */ sw $t9, 0x02C0($s1) ## 000002C0
|
||||
/* 02924 809D1004 354A0020 */ ori $t2, $t2, 0x0020 ## $t2 = DB060020
|
||||
/* 02928 809D1008 256B6290 */ addiu $t3, %lo(D_80116280+0x10)
|
||||
/* 0292C 809D100C AC6B0004 */ sw $t3, 0x0004($v1) ## 00000004
|
||||
/* 02930 809D1010 AC6A0000 */ sw $t2, 0x0000($v1) ## 00000000
|
||||
/* 02934 809D1014 8E06016C */ lw $a2, 0x016C($s0) ## 0000016C
|
||||
/* 02938 809D1018 8E050150 */ lw $a1, 0x0150($s0) ## 00000150
|
||||
/* 0293C 809D101C AFB00014 */ sw $s0, 0x0014($sp)
|
||||
/* 02940 809D1020 AFA00010 */ sw $zero, 0x0010($sp)
|
||||
/* 02944 809D1024 8E2902C0 */ lw $t1, 0x02C0($s1) ## 000002C0
|
||||
/* 02948 809D1028 24E70D18 */ addiu $a3, $a3, %lo(func_809D0D18) ## $a3 = 809D0D18
|
||||
/* 0294C 809D102C 02402025 */ or $a0, $s2, $zero ## $a0 = 00000000
|
||||
/* 02950 809D1030 0C0288A2 */ jal SkelAnime_Draw
|
||||
/* 02954 809D1034 AFA90018 */ sw $t1, 0x0018($sp)
|
||||
/* 02958 809D1038 10000035 */ beq $zero, $zero, .L809D1110
|
||||
/* 0295C 809D103C AE2202C0 */ sw $v0, 0x02C0($s1) ## 000002C0
|
||||
.L809D1040:
|
||||
/* 02960 809D1040 0C024F61 */ jal func_80093D84
|
||||
/* 02964 809D1044 8E440000 */ lw $a0, 0x0000($s2) ## 00000000
|
||||
/* 02968 809D1048 8E2202D0 */ lw $v0, 0x02D0($s1) ## 000002D0
|
||||
/* 0296C 809D104C 3C0FE700 */ lui $t7, 0xE700 ## $t7 = E7000000
|
||||
/* 02970 809D1050 3C18FA00 */ lui $t8, 0xFA00 ## $t8 = FA000000
|
||||
/* 02974 809D1054 244C0008 */ addiu $t4, $v0, 0x0008 ## $t4 = 00000008
|
||||
/* 02978 809D1058 AE2C02D0 */ sw $t4, 0x02D0($s1) ## 000002D0
|
||||
/* 0297C 809D105C AC400004 */ sw $zero, 0x0004($v0) ## 00000004
|
||||
/* 02980 809D1060 AC4F0000 */ sw $t7, 0x0000($v0) ## 00000000
|
||||
/* 02984 809D1064 8E2202D0 */ lw $v0, 0x02D0($s1) ## 000002D0
|
||||
/* 02988 809D1068 37188080 */ ori $t8, $t8, 0x8080 ## $t8 = FA008080
|
||||
/* 0298C 809D106C 3C0BFB00 */ lui $t3, 0xFB00 ## $t3 = FB000000
|
||||
/* 02990 809D1070 244D0008 */ addiu $t5, $v0, 0x0008 ## $t5 = 00000008
|
||||
/* 02994 809D1074 AE2D02D0 */ sw $t5, 0x02D0($s1) ## 000002D0
|
||||
/* 02998 809D1078 AC580000 */ sw $t8, 0x0000($v0) ## 00000000
|
||||
/* 0299C 809D107C 9219022F */ lbu $t9, 0x022F($s0) ## 0000022F
|
||||
/* 029A0 809D1080 3C07809D */ lui $a3, %hi(func_809D0D18) ## $a3 = 809D0000
|
||||
/* 029A4 809D1084 24E70D18 */ addiu $a3, $a3, %lo(func_809D0D18) ## $a3 = 809D0D18
|
||||
/* 029A8 809D1088 AC590004 */ sw $t9, 0x0004($v0) ## 00000004
|
||||
/* 029AC 809D108C 8E2202D0 */ lw $v0, 0x02D0($s1) ## 000002D0
|
||||
/* 029B0 809D1090 02402025 */ or $a0, $s2, $zero ## $a0 = 00000000
|
||||
/* 029B4 809D1094 244A0008 */ addiu $t2, $v0, 0x0008 ## $t2 = 00000008
|
||||
/* 029B8 809D1098 AE2A02D0 */ sw $t2, 0x02D0($s1) ## 000002D0
|
||||
/* 029BC 809D109C AC4B0000 */ sw $t3, 0x0000($v0) ## 00000000
|
||||
/* 029C0 809D10A0 9218022D */ lbu $t8, 0x022D($s0) ## 0000022D
|
||||
/* 029C4 809D10A4 920C022C */ lbu $t4, 0x022C($s0) ## 0000022C
|
||||
/* 029C8 809D10A8 920B022E */ lbu $t3, 0x022E($s0) ## 0000022E
|
||||
/* 029CC 809D10AC 00187400 */ sll $t6, $t8, 16
|
||||
/* 029D0 809D10B0 9218022F */ lbu $t8, 0x022F($s0) ## 0000022F
|
||||
/* 029D4 809D10B4 000C7E00 */ sll $t7, $t4, 24
|
||||
/* 029D8 809D10B8 01EEC825 */ or $t9, $t7, $t6 ## $t9 = E7000000
|
||||
/* 029DC 809D10BC 000B4A00 */ sll $t1, $t3, 8
|
||||
/* 029E0 809D10C0 03296025 */ or $t4, $t9, $t1 ## $t4 = E7000000
|
||||
/* 029E4 809D10C4 01987825 */ or $t7, $t4, $t8 ## $t7 = FF008080
|
||||
/* 029E8 809D10C8 AC4F0004 */ sw $t7, 0x0004($v0) ## 00000004
|
||||
/* 029EC 809D10CC 8E2202D0 */ lw $v0, 0x02D0($s1) ## 000002D0
|
||||
/* 029F0 809D10D0 3C0B8011 */ lui $t3, %hi(D_80116280)
|
||||
/* 029F4 809D10D4 3C0ADB06 */ lui $t2, 0xDB06 ## $t2 = DB060000
|
||||
/* 029F8 809D10D8 244E0008 */ addiu $t6, $v0, 0x0008 ## $t6 = 00000008
|
||||
/* 029FC 809D10DC AE2E02D0 */ sw $t6, 0x02D0($s1) ## 000002D0
|
||||
/* 02A00 809D10E0 354A0020 */ ori $t2, $t2, 0x0020 ## $t2 = DB060020
|
||||
/* 02A04 809D10E4 256B6280 */ addiu $t3, %lo(D_80116280)
|
||||
/* 02A08 809D10E8 AC4B0004 */ sw $t3, 0x0004($v0) ## 00000004
|
||||
/* 02A0C 809D10EC AC4A0000 */ sw $t2, 0x0000($v0) ## 00000000
|
||||
/* 02A10 809D10F0 8E06016C */ lw $a2, 0x016C($s0) ## 0000016C
|
||||
/* 02A14 809D10F4 8E050150 */ lw $a1, 0x0150($s0) ## 00000150
|
||||
/* 02A18 809D10F8 AFB00014 */ sw $s0, 0x0014($sp)
|
||||
/* 02A1C 809D10FC AFA00010 */ sw $zero, 0x0010($sp)
|
||||
/* 02A20 809D1100 8E3902D0 */ lw $t9, 0x02D0($s1) ## 000002D0
|
||||
/* 02A24 809D1104 0C0288A2 */ jal SkelAnime_Draw
|
||||
/* 02A28 809D1108 AFB90018 */ sw $t9, 0x0018($sp)
|
||||
/* 02A2C 809D110C AE2202D0 */ sw $v0, 0x02D0($s1) ## 000002D0
|
||||
.L809D1110:
|
||||
/* 02A30 809D1110 3C010001 */ lui $at, 0x0001 ## $at = 00010000
|
||||
/* 02A34 809D1114 02414821 */ addu $t1, $s2, $at
|
||||
/* 02A38 809D1118 AFA90050 */ sw $t1, 0x0050($sp)
|
||||
/* 02A3C 809D111C 8D381DE4 */ lw $t8, 0x1DE4($t1) ## 00001DE4
|
||||
/* 02A40 809D1120 860D001C */ lh $t5, 0x001C($s0) ## 0000001C
|
||||
/* 02A44 809D1124 3C01809D */ lui $at, %hi(D_809D16CC) ## $at = 809D0000
|
||||
/* 02A48 809D1128 270F0001 */ addiu $t7, $t8, 0x0001 ## $t7 = 00000001
|
||||
/* 02A4C 809D112C 31EE0003 */ andi $t6, $t7, 0x0003 ## $t6 = 00000001
|
||||
/* 02A50 809D1130 15AE001E */ bne $t5, $t6, .L809D11AC
|
||||
/* 02A54 809D1134 00000000 */ nop
|
||||
/* 02A58 809D1138 C6040058 */ lwc1 $f4, 0x0058($s0) ## 00000058
|
||||
/* 02A5C 809D113C C42616CC */ lwc1 $f6, %lo(D_809D16CC)($at)
|
||||
/* 02A60 809D1140 27A400AC */ addiu $a0, $sp, 0x00AC ## $a0 = FFFFFFF4
|
||||
/* 02A64 809D1144 26050264 */ addiu $a1, $s0, 0x0264 ## $a1 = 00000264
|
||||
/* 02A68 809D1148 46062202 */ mul.s $f8, $f4, $f6
|
||||
/* 02A6C 809D114C 0C0346BD */ jal Matrix_MultVec3f
|
||||
/* 02A70 809D1150 E7A800B4 */ swc1 $f8, 0x00B4($sp)
|
||||
/* 02A74 809D1154 3C01809D */ lui $at, %hi(D_809D16D0) ## $at = 809D0000
|
||||
/* 02A78 809D1158 C43016D0 */ lwc1 $f16, %lo(D_809D16D0)($at)
|
||||
/* 02A7C 809D115C C60A0058 */ lwc1 $f10, 0x0058($s0) ## 00000058
|
||||
/* 02A80 809D1160 27A400AC */ addiu $a0, $sp, 0x00AC ## $a0 = FFFFFFF4
|
||||
/* 02A84 809D1164 26050270 */ addiu $a1, $s0, 0x0270 ## $a1 = 00000270
|
||||
/* 02A88 809D1168 46105482 */ mul.s $f18, $f10, $f16
|
||||
/* 02A8C 809D116C 0C0346BD */ jal Matrix_MultVec3f
|
||||
/* 02A90 809D1170 E7B200B4 */ swc1 $f18, 0x00B4($sp)
|
||||
/* 02A94 809D1174 3C01809D */ lui $at, %hi(D_809D16D4) ## $at = 809D0000
|
||||
/* 02A98 809D1178 C42616D4 */ lwc1 $f6, %lo(D_809D16D4)($at)
|
||||
/* 02A9C 809D117C C6040050 */ lwc1 $f4, 0x0050($s0) ## 00000050
|
||||
/* 02AA0 809D1180 27A400AC */ addiu $a0, $sp, 0x00AC ## $a0 = FFFFFFF4
|
||||
/* 02AA4 809D1184 26050288 */ addiu $a1, $s0, 0x0288 ## $a1 = 00000288
|
||||
/* 02AA8 809D1188 46062202 */ mul.s $f8, $f4, $f6
|
||||
/* 02AAC 809D118C 0C0346BD */ jal Matrix_MultVec3f
|
||||
/* 02AB0 809D1190 E7A800AC */ swc1 $f8, 0x00AC($sp)
|
||||
/* 02AB4 809D1194 C7AA00AC */ lwc1 $f10, 0x00AC($sp)
|
||||
/* 02AB8 809D1198 27A400AC */ addiu $a0, $sp, 0x00AC ## $a0 = FFFFFFF4
|
||||
/* 02ABC 809D119C 2605027C */ addiu $a1, $s0, 0x027C ## $a1 = 0000027C
|
||||
/* 02AC0 809D11A0 46005407 */ neg.s $f16, $f10
|
||||
/* 02AC4 809D11A4 0C0346BD */ jal Matrix_MultVec3f
|
||||
/* 02AC8 809D11A8 E7B000AC */ swc1 $f16, 0x00AC($sp)
|
||||
.L809D11AC:
|
||||
/* 02ACC 809D11AC 3C01809D */ lui $at, %hi(D_809D16D8) ## $at = 809D0000
|
||||
/* 02AD0 809D11B0 C42416D8 */ lwc1 $f4, %lo(D_809D16D8)($at)
|
||||
/* 02AD4 809D11B4 C6120054 */ lwc1 $f18, 0x0054($s0) ## 00000054
|
||||
/* 02AD8 809D11B8 3C01447A */ lui $at, 0x447A ## $at = 447A0000
|
||||
/* 02ADC 809D11BC 44814000 */ mtc1 $at, $f8 ## $f8 = 1000.00
|
||||
/* 02AE0 809D11C0 46049181 */ sub.s $f6, $f18, $f4
|
||||
/* 02AE4 809D11C4 C6100028 */ lwc1 $f16, 0x0028($s0) ## 00000028
|
||||
/* 02AE8 809D11C8 C60C0024 */ lwc1 $f12, 0x0024($s0) ## 00000024
|
||||
/* 02AEC 809D11CC 8E06002C */ lw $a2, 0x002C($s0) ## 0000002C
|
||||
/* 02AF0 809D11D0 46083282 */ mul.s $f10, $f6, $f8
|
||||
/* 02AF4 809D11D4 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
|
||||
/* 02AF8 809D11D8 0C034261 */ jal Matrix_Translate
|
||||
/* 02AFC 809D11DC 460A8380 */ add.s $f14, $f16, $f10
|
||||
/* 02B00 809D11E0 0C024F61 */ jal func_80093D84
|
||||
/* 02B04 809D11E4 8E440000 */ lw $a0, 0x0000($s2) ## 00000000
|
||||
/* 02B08 809D11E8 8E2202D0 */ lw $v0, 0x02D0($s1) ## 000002D0
|
||||
/* 02B0C 809D11EC 3C0BFB00 */ lui $t3, 0xFB00 ## $t3 = FB000000
|
||||
/* 02B10 809D11F0 3C19FF00 */ lui $t9, 0xFF00 ## $t9 = FF000000
|
||||
/* 02B14 809D11F4 244A0008 */ addiu $t2, $v0, 0x0008 ## $t2 = 00000008
|
||||
/* 02B18 809D11F8 AE2A02D0 */ sw $t2, 0x02D0($s1) ## 000002D0
|
||||
/* 02B1C 809D11FC AC4B0000 */ sw $t3, 0x0000($v0) ## 00000000
|
||||
/* 02B20 809D1200 AC590004 */ sw $t9, 0x0004($v0) ## 00000004
|
||||
/* 02B24 809D1204 8E2202D0 */ lw $v0, 0x02D0($s1) ## 000002D0
|
||||
/* 02B28 809D1208 3C0CDB06 */ lui $t4, 0xDB06 ## $t4 = DB060000
|
||||
/* 02B2C 809D120C 358C0020 */ ori $t4, $t4, 0x0020 ## $t4 = DB060020
|
||||
/* 02B30 809D1210 24490008 */ addiu $t1, $v0, 0x0008 ## $t1 = 00000008
|
||||
/* 02B34 809D1214 AE2902D0 */ sw $t1, 0x02D0($s1) ## 000002D0
|
||||
/* 02B38 809D1218 AC4C0000 */ sw $t4, 0x0000($v0) ## 00000000
|
||||
/* 02B3C 809D121C 8E440000 */ lw $a0, 0x0000($s2) ## 00000000
|
||||
/* 02B40 809D1220 8FAE0050 */ lw $t6, 0x0050($sp)
|
||||
/* 02B44 809D1224 24180020 */ addiu $t8, $zero, 0x0020 ## $t8 = 00000020
|
||||
/* 02B48 809D1228 240F0040 */ addiu $t7, $zero, 0x0040 ## $t7 = 00000040
|
||||
/* 02B4C 809D122C 240D0001 */ addiu $t5, $zero, 0x0001 ## $t5 = 00000001
|
||||
/* 02B50 809D1230 AFAD0018 */ sw $t5, 0x0018($sp)
|
||||
/* 02B54 809D1234 AFAF0014 */ sw $t7, 0x0014($sp)
|
||||
/* 02B58 809D1238 AFB80010 */ sw $t8, 0x0010($sp)
|
||||
/* 02B5C 809D123C AFA0001C */ sw $zero, 0x001C($sp)
|
||||
/* 02B60 809D1240 8DCA1DE4 */ lw $t2, 0x1DE4($t6) ## 00001DE4
|
||||
/* 02B64 809D1244 240C0080 */ addiu $t4, $zero, 0x0080 ## $t4 = 00000080
|
||||
/* 02B68 809D1248 24090020 */ addiu $t1, $zero, 0x0020 ## $t1 = 00000020
|
||||
/* 02B6C 809D124C 000A0823 */ subu $at, $zero, $t2
|
||||
/* 02B70 809D1250 00015880 */ sll $t3, $at, 2
|
||||
/* 02B74 809D1254 01615821 */ addu $t3, $t3, $at
|
||||
/* 02B78 809D1258 000B5880 */ sll $t3, $t3, 2
|
||||
/* 02B7C 809D125C 317901FF */ andi $t9, $t3, 0x01FF ## $t9 = 00000000
|
||||
/* 02B80 809D1260 AFB90020 */ sw $t9, 0x0020($sp)
|
||||
/* 02B84 809D1264 AFA90024 */ sw $t1, 0x0024($sp)
|
||||
/* 02B88 809D1268 AFAC0028 */ sw $t4, 0x0028($sp)
|
||||
/* 02B8C 809D126C 00002825 */ or $a1, $zero, $zero ## $a1 = 00000000
|
||||
/* 02B90 809D1270 00003025 */ or $a2, $zero, $zero ## $a2 = 00000000
|
||||
/* 02B94 809D1274 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
|
||||
/* 02B98 809D1278 0C0253D0 */ jal Gfx_TwoTexScroll
|
||||
/* 02B9C 809D127C AFA20060 */ sw $v0, 0x0060($sp)
|
||||
/* 02BA0 809D1280 8FA30060 */ lw $v1, 0x0060($sp)
|
||||
/* 02BA4 809D1284 3C0FFA00 */ lui $t7, 0xFA00 ## $t7 = FA000000
|
||||
/* 02BA8 809D1288 3C0DFFFF */ lui $t5, 0xFFFF ## $t5 = FFFF0000
|
||||
/* 02BAC 809D128C AC620004 */ sw $v0, 0x0004($v1) ## 00000004
|
||||
/* 02BB0 809D1290 8E2202D0 */ lw $v0, 0x02D0($s1) ## 000002D0
|
||||
/* 02BB4 809D1294 35AD00FF */ ori $t5, $t5, 0x00FF ## $t5 = FFFF00FF
|
||||
/* 02BB8 809D1298 35EF8080 */ ori $t7, $t7, 0x8080 ## $t7 = FA008080
|
||||
/* 02BBC 809D129C 24580008 */ addiu $t8, $v0, 0x0008 ## $t8 = 00000008
|
||||
/* 02BC0 809D12A0 AE3802D0 */ sw $t8, 0x02D0($s1) ## 000002D0
|
||||
/* 02BC4 809D12A4 AC4D0004 */ sw $t5, 0x0004($v0) ## 00000004
|
||||
/* 02BC8 809D12A8 AC4F0000 */ sw $t7, 0x0000($v0) ## 00000000
|
||||
/* 02BCC 809D12AC 3C01809D */ lui $at, %hi(D_809D16DC) ## $at = 809D0000
|
||||
/* 02BD0 809D12B0 C42416DC */ lwc1 $f4, %lo(D_809D16DC)($at)
|
||||
/* 02BD4 809D12B4 C6120248 */ lwc1 $f18, 0x0248($s0) ## 00000248
|
||||
/* 02BD8 809D12B8 24070001 */ addiu $a3, $zero, 0x0001 ## $a3 = 00000001
|
||||
/* 02BDC 809D12BC 46049302 */ mul.s $f12, $f18, $f4
|
||||
/* 02BE0 809D12C0 44066000 */ mfc1 $a2, $f12
|
||||
/* 02BE4 809D12C4 0C0342A3 */ jal Matrix_Scale
|
||||
/* 02BE8 809D12C8 46006386 */ mov.s $f14, $f12
|
||||
/* 02BEC 809D12CC 3C010001 */ lui $at, 0x0001 ## $at = 00010000
|
||||
/* 02BF0 809D12D0 34211DA0 */ ori $at, $at, 0x1DA0 ## $at = 00011DA0
|
||||
/* 02BF4 809D12D4 0C0347F5 */ jal func_800D1FD4
|
||||
/* 02BF8 809D12D8 02412021 */ addu $a0, $s2, $at
|
||||
/* 02BFC 809D12DC 8E2202D0 */ lw $v0, 0x02D0($s1) ## 000002D0
|
||||
/* 02C00 809D12E0 3C0ADA38 */ lui $t2, 0xDA38 ## $t2 = DA380000
|
||||
/* 02C04 809D12E4 354A0003 */ ori $t2, $t2, 0x0003 ## $t2 = DA380003
|
||||
/* 02C08 809D12E8 244E0008 */ addiu $t6, $v0, 0x0008 ## $t6 = 00000008
|
||||
/* 02C0C 809D12EC AE2E02D0 */ sw $t6, 0x02D0($s1) ## 000002D0
|
||||
/* 02C10 809D12F0 AC4A0000 */ sw $t2, 0x0000($v0) ## 00000000
|
||||
/* 02C14 809D12F4 8E440000 */ lw $a0, 0x0000($s2) ## 00000000
|
||||
/* 02C18 809D12F8 3C05809D */ lui $a1, %hi(D_809D1580) ## $a1 = 809D0000
|
||||
/* 02C1C 809D12FC 24A51580 */ addiu $a1, $a1, %lo(D_809D1580) ## $a1 = 809D1580
|
||||
/* 02C20 809D1300 240605DC */ addiu $a2, $zero, 0x05DC ## $a2 = 000005DC
|
||||
/* 02C24 809D1304 0C0346A2 */ jal Matrix_NewMtx
|
||||
/* 02C28 809D1308 AFA20058 */ sw $v0, 0x0058($sp)
|
||||
/* 02C2C 809D130C 8FA30058 */ lw $v1, 0x0058($sp)
|
||||
/* 02C30 809D1310 3C090405 */ lui $t1, %hi(D_0404D4E0) ## $t1 = 04050000
|
||||
/* 02C34 809D1314 2529D4E0 */ addiu $t1, $t1, %lo(D_0404D4E0) ## $t1 = 0404D4E0
|
||||
/* 02C38 809D1318 AC620004 */ sw $v0, 0x0004($v1) ## 00000004
|
||||
/* 02C3C 809D131C 8E2202D0 */ lw $v0, 0x02D0($s1) ## 000002D0
|
||||
/* 02C40 809D1320 3C19DE00 */ lui $t9, 0xDE00 ## $t9 = DE000000
|
||||
/* 02C44 809D1324 244B0008 */ addiu $t3, $v0, 0x0008 ## $t3 = 00000008
|
||||
/* 02C48 809D1328 AE2B02D0 */ sw $t3, 0x02D0($s1) ## 000002D0
|
||||
/* 02C4C 809D132C AC490004 */ sw $t1, 0x0004($v0) ## 00000004
|
||||
/* 02C50 809D1330 AC590000 */ sw $t9, 0x0000($v0) ## 00000000
|
||||
/* 02C54 809D1334 920C023B */ lbu $t4, 0x023B($s0) ## 0000023B
|
||||
/* 02C58 809D1338 11800031 */ beq $t4, $zero, .L809D1400
|
||||
/* 02C5C 809D133C 00000000 */ nop
|
||||
/* 02C60 809D1340 920D023B */ lbu $t5, 0x023B($s0) ## 0000023B
|
||||
/* 02C64 809D1344 92180114 */ lbu $t8, 0x0114($s0) ## 00000114
|
||||
/* 02C68 809D1348 3C19809D */ lui $t9, %hi(D_809D14F4) ## $t9 = 809D0000
|
||||
/* 02C6C 809D134C 25AEFFFF */ addiu $t6, $t5, 0xFFFF ## $t6 = FFFFFFFF
|
||||
/* 02C70 809D1350 31C800FF */ andi $t0, $t6, 0x00FF ## $t0 = 000000FF
|
||||
/* 02C74 809D1354 310A0003 */ andi $t2, $t0, 0x0003 ## $t2 = 00000003
|
||||
/* 02C78 809D1358 270F0001 */ addiu $t7, $t8, 0x0001 ## $t7 = 00000001
|
||||
/* 02C7C 809D135C A20F0114 */ sb $t7, 0x0114($s0) ## 00000114
|
||||
/* 02C80 809D1360 15400027 */ bne $t2, $zero, .L809D1400
|
||||
/* 02C84 809D1364 A20E023B */ sb $t6, 0x023B($s0) ## 0000023B
|
||||
/* 02C88 809D1368 00081883 */ sra $v1, $t0, 2
|
||||
/* 02C8C 809D136C 00035880 */ sll $t3, $v1, 2
|
||||
/* 02C90 809D1370 01635823 */ subu $t3, $t3, $v1
|
||||
/* 02C94 809D1374 000B5880 */ sll $t3, $t3, 2
|
||||
/* 02C98 809D1378 273914F4 */ addiu $t9, $t9, %lo(D_809D14F4) ## $t9 = 809D14F4
|
||||
/* 02C9C 809D137C 01791021 */ addu $v0, $t3, $t9
|
||||
/* 02CA0 809D1380 C4460000 */ lwc1 $f6, 0x0000($v0) ## 00000000
|
||||
/* 02CA4 809D1384 C6080024 */ lwc1 $f8, 0x0024($s0) ## 00000024
|
||||
/* 02CA8 809D1388 C44A0004 */ lwc1 $f10, 0x0004($v0) ## 00000004
|
||||
/* 02CAC 809D138C 3C01809D */ lui $at, %hi(D_809D16E0) ## $at = 809D0000
|
||||
/* 02CB0 809D1390 46083400 */ add.s $f16, $f6, $f8
|
||||
/* 02CB4 809D1394 C4460008 */ lwc1 $f6, 0x0008($v0) ## 00000008
|
||||
/* 02CB8 809D1398 24090096 */ addiu $t1, $zero, 0x0096 ## $t1 = 00000096
|
||||
/* 02CBC 809D139C 240C0096 */ addiu $t4, $zero, 0x0096 ## $t4 = 00000096
|
||||
/* 02CC0 809D13A0 E7B00098 */ swc1 $f16, 0x0098($sp)
|
||||
/* 02CC4 809D13A4 C6120028 */ lwc1 $f18, 0x0028($s0) ## 00000028
|
||||
/* 02CC8 809D13A8 241800FA */ addiu $t8, $zero, 0x00FA ## $t8 = 000000FA
|
||||
/* 02CCC 809D13AC 240F00EB */ addiu $t7, $zero, 0x00EB ## $t7 = 000000EB
|
||||
/* 02CD0 809D13B0 46125100 */ add.s $f4, $f10, $f18
|
||||
/* 02CD4 809D13B4 C42A16E0 */ lwc1 $f10, %lo(D_809D16E0)($at)
|
||||
/* 02CD8 809D13B8 240D00F5 */ addiu $t5, $zero, 0x00F5 ## $t5 = 000000F5
|
||||
/* 02CDC 809D13BC 240E00FF */ addiu $t6, $zero, 0x00FF ## $t6 = 000000FF
|
||||
/* 02CE0 809D13C0 E7A4009C */ swc1 $f4, 0x009C($sp)
|
||||
/* 02CE4 809D13C4 C608002C */ lwc1 $f8, 0x002C($s0) ## 0000002C
|
||||
/* 02CE8 809D13C8 AFAE0024 */ sw $t6, 0x0024($sp)
|
||||
/* 02CEC 809D13CC AFAD0020 */ sw $t5, 0x0020($sp)
|
||||
/* 02CF0 809D13D0 46083400 */ add.s $f16, $f6, $f8
|
||||
/* 02CF4 809D13D4 AFAF001C */ sw $t7, 0x001C($sp)
|
||||
/* 02CF8 809D13D8 AFB80018 */ sw $t8, 0x0018($sp)
|
||||
/* 02CFC 809D13DC AFAC0014 */ sw $t4, 0x0014($sp)
|
||||
/* 02D00 809D13E0 E7B000A0 */ swc1 $f16, 0x00A0($sp)
|
||||
/* 02D04 809D13E4 AFA90010 */ sw $t1, 0x0010($sp)
|
||||
/* 02D08 809D13E8 02402025 */ or $a0, $s2, $zero ## $a0 = 00000000
|
||||
/* 02D0C 809D13EC 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000
|
||||
/* 02D10 809D13F0 27A60098 */ addiu $a2, $sp, 0x0098 ## $a2 = FFFFFFE0
|
||||
/* 02D14 809D13F4 24070096 */ addiu $a3, $zero, 0x0096 ## $a3 = 00000096
|
||||
/* 02D18 809D13F8 0C00A850 */ jal EffectSsEnIce_SpawnFlyingVec3f
|
||||
/* 02D1C 809D13FC E7AA0028 */ swc1 $f10, 0x0028($sp)
|
||||
.L809D1400:
|
||||
/* 02D20 809D1400 3C06809D */ lui $a2, %hi(D_809D1590) ## $a2 = 809D0000
|
||||
/* 02D24 809D1404 24C61590 */ addiu $a2, $a2, %lo(D_809D1590) ## $a2 = 809D1590
|
||||
/* 02D28 809D1408 27A40080 */ addiu $a0, $sp, 0x0080 ## $a0 = FFFFFFC8
|
||||
/* 02D2C 809D140C 8E450000 */ lw $a1, 0x0000($s2) ## 00000000
|
||||
/* 02D30 809D1410 0C031AD5 */ jal Graph_CloseDisps
|
||||
/* 02D34 809D1414 240705F1 */ addiu $a3, $zero, 0x05F1 ## $a3 = 000005F1
|
||||
/* 02D38 809D1418 8FBF0044 */ lw $ra, 0x0044($sp)
|
||||
/* 02D3C 809D141C 8FB00038 */ lw $s0, 0x0038($sp)
|
||||
/* 02D40 809D1420 8FB1003C */ lw $s1, 0x003C($sp)
|
||||
/* 02D44 809D1424 8FB20040 */ lw $s2, 0x0040($sp)
|
||||
/* 02D48 809D1428 03E00008 */ jr $ra
|
||||
/* 02D4C 809D142C 27BD00B8 */ addiu $sp, $sp, 0x00B8 ## $sp = 00000000
|
|
@ -1,99 +0,0 @@
|
|||
.late_rodata
|
||||
glabel D_809D15A0
|
||||
.float 0.6
|
||||
|
||||
.text
|
||||
glabel EnBw_Init
|
||||
/* 00008 809CE6E8 27BDFFC8 */ addiu $sp, $sp, 0xFFC8 ## $sp = FFFFFFC8
|
||||
/* 0000C 809CE6EC AFA5003C */ sw $a1, 0x003C($sp)
|
||||
/* 00010 809CE6F0 AFBF002C */ sw $ra, 0x002C($sp)
|
||||
/* 00014 809CE6F4 AFB00028 */ sw $s0, 0x0028($sp)
|
||||
/* 00018 809CE6F8 3C053C54 */ lui $a1, 0x3C54 ## $a1 = 3C540000
|
||||
/* 0001C 809CE6FC 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
|
||||
/* 00020 809CE700 0C00B58B */ jal Actor_SetScale
|
||||
|
||||
/* 00024 809CE704 34A5FDF3 */ ori $a1, $a1, 0xFDF3 ## $a1 = 3C54FDF3
|
||||
/* 00028 809CE708 3C01C000 */ lui $at, 0xC000 ## $at = C0000000
|
||||
/* 0002C 809CE70C 44812000 */ mtc1 $at, $f4 ## $f4 = -2.00
|
||||
/* 00030 809CE710 240E0023 */ addiu $t6, $zero, 0x0023 ## $t6 = 00000023
|
||||
/* 00034 809CE714 A20E0117 */ sb $t6, 0x0117($s0) ## 00000117
|
||||
/* 00038 809CE718 E604006C */ swc1 $f4, 0x006C($s0) ## 0000006C
|
||||
/* 0003C 809CE71C 3C060600 */ lui $a2, %hi(D_060020F0) ## $a2 = 06000000
|
||||
/* 00040 809CE720 3C070600 */ lui $a3, %hi(D_06000228) ## $a3 = 06000000
|
||||
/* 00044 809CE724 260F0190 */ addiu $t7, $s0, 0x0190 ## $t7 = 00000190
|
||||
/* 00048 809CE728 261801D8 */ addiu $t8, $s0, 0x01D8 ## $t8 = 000001D8
|
||||
/* 0004C 809CE72C 2419000C */ addiu $t9, $zero, 0x000C ## $t9 = 0000000C
|
||||
/* 00050 809CE730 AFB90018 */ sw $t9, 0x0018($sp)
|
||||
/* 00054 809CE734 AFB80014 */ sw $t8, 0x0014($sp)
|
||||
/* 00058 809CE738 AFAF0010 */ sw $t7, 0x0010($sp)
|
||||
/* 0005C 809CE73C 24E70228 */ addiu $a3, $a3, %lo(D_06000228) ## $a3 = 06000228
|
||||
/* 00060 809CE740 24C620F0 */ addiu $a2, $a2, %lo(D_060020F0) ## $a2 = 060020F0
|
||||
/* 00064 809CE744 8FA4003C */ lw $a0, 0x003C($sp)
|
||||
/* 00068 809CE748 0C02915F */ jal SkelAnime_Init
|
||||
|
||||
/* 0006C 809CE74C 2605014C */ addiu $a1, $s0, 0x014C ## $a1 = 0000014C
|
||||
/* 00070 809CE750 3C068003 */ lui $a2, %hi(ActorShadow_DrawFunc_Circle)
|
||||
/* 00074 809CE754 24C6B5EC */ addiu $a2, %lo(ActorShadow_DrawFunc_Circle)
|
||||
/* 00078 809CE758 260400B4 */ addiu $a0, $s0, 0x00B4 ## $a0 = 000000B4
|
||||
/* 0007C 809CE75C 24050000 */ addiu $a1, $zero, 0x0000 ## $a1 = 00000000
|
||||
/* 00080 809CE760 0C00AC78 */ jal ActorShape_Init
|
||||
|
||||
/* 00084 809CE764 3C074220 */ lui $a3, 0x4220 ## $a3 = 42200000
|
||||
/* 00088 809CE768 8E0C0024 */ lw $t4, 0x0024($s0) ## 00000024
|
||||
/* 0008C 809CE76C 8E0B0028 */ lw $t3, 0x0028($s0) ## 00000028
|
||||
/* 00090 809CE770 3C08809D */ lui $t0, %hi(D_809D14A8) ## $t0 = 809D0000
|
||||
/* 00094 809CE774 AE0C0038 */ sw $t4, 0x0038($s0) ## 00000038
|
||||
/* 00098 809CE778 8E0C002C */ lw $t4, 0x002C($s0) ## 0000002C
|
||||
/* 0009C 809CE77C 250814A8 */ addiu $t0, $t0, %lo(D_809D14A8) ## $t0 = 809D14A8
|
||||
/* 000A0 809CE780 24090006 */ addiu $t1, $zero, 0x0006 ## $t1 = 00000006
|
||||
/* 000A4 809CE784 240A00FE */ addiu $t2, $zero, 0x00FE ## $t2 = 000000FE
|
||||
/* 000A8 809CE788 AE080098 */ sw $t0, 0x0098($s0) ## 00000098
|
||||
/* 000AC 809CE78C A20900AF */ sb $t1, 0x00AF($s0) ## 000000AF
|
||||
/* 000B0 809CE790 A20A00AE */ sb $t2, 0x00AE($s0) ## 000000AE
|
||||
/* 000B4 809CE794 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 000B8 809CE798 AE0B003C */ sw $t3, 0x003C($s0) ## 0000003C
|
||||
/* 000BC 809CE79C 0C273A6A */ jal func_809CE9A8
|
||||
/* 000C0 809CE7A0 AE0C0040 */ sw $t4, 0x0040($s0) ## 00000040
|
||||
/* 000C4 809CE7A4 240E00FF */ addiu $t6, $zero, 0x00FF ## $t6 = 000000FF
|
||||
/* 000C8 809CE7A8 A20E022C */ sb $t6, 0x022C($s0) ## 0000022C
|
||||
/* 000CC 809CE7AC A20E022F */ sb $t6, 0x022F($s0) ## 0000022F
|
||||
/* 000D0 809CE7B0 A200022E */ sb $zero, 0x022E($s0) ## 0000022E
|
||||
/* 000D4 809CE7B4 A200022D */ sb $zero, 0x022D($s0) ## 0000022D
|
||||
/* 000D8 809CE7B8 3C01809D */ lui $at, %hi(D_809D15A0) ## $at = 809D0000
|
||||
/* 000DC 809CE7BC C42615A0 */ lwc1 $f6, %lo(D_809D15A0)($at)
|
||||
/* 000E0 809CE7C0 24180003 */ addiu $t8, $zero, 0x0003 ## $t8 = 00000003
|
||||
/* 000E4 809CE7C4 A2180221 */ sb $t8, 0x0221($s0) ## 00000221
|
||||
/* 000E8 809CE7C8 26050294 */ addiu $a1, $s0, 0x0294 ## $a1 = 00000294
|
||||
/* 000EC 809CE7CC E6060248 */ swc1 $f6, 0x0248($s0) ## 00000248
|
||||
/* 000F0 809CE7D0 AFA50030 */ sw $a1, 0x0030($sp)
|
||||
/* 000F4 809CE7D4 0C0170D9 */ jal Collider_InitCylinder
|
||||
|
||||
/* 000F8 809CE7D8 8FA4003C */ lw $a0, 0x003C($sp)
|
||||
/* 000FC 809CE7DC 3C07809D */ lui $a3, %hi(D_809D1450) ## $a3 = 809D0000
|
||||
/* 00100 809CE7E0 8FA50030 */ lw $a1, 0x0030($sp)
|
||||
/* 00104 809CE7E4 24E71450 */ addiu $a3, $a3, %lo(D_809D1450) ## $a3 = 809D1450
|
||||
/* 00108 809CE7E8 8FA4003C */ lw $a0, 0x003C($sp)
|
||||
/* 0010C 809CE7EC 0C01712B */ jal Collider_SetCylinder
|
||||
|
||||
/* 00110 809CE7F0 02003025 */ or $a2, $s0, $zero ## $a2 = 00000000
|
||||
/* 00114 809CE7F4 3C07809D */ lui $a3, %hi(D_809D147C) ## $a3 = 809D0000
|
||||
/* 00118 809CE7F8 24E7147C */ addiu $a3, $a3, %lo(D_809D147C) ## $a3 = 809D147C
|
||||
/* 0011C 809CE7FC 8FA4003C */ lw $a0, 0x003C($sp)
|
||||
/* 00120 809CE800 260502E0 */ addiu $a1, $s0, 0x02E0 ## $a1 = 000002E0
|
||||
/* 00124 809CE804 0C01712B */ jal Collider_SetCylinder
|
||||
|
||||
/* 00128 809CE808 02003025 */ or $a2, $s0, $zero ## $a2 = 00000000
|
||||
/* 0012C 809CE80C 86190032 */ lh $t9, 0x0032($s0) ## 00000032
|
||||
/* 00130 809CE810 3C02809D */ lui $v0, %hi(D_809D14C8) ## $v0 = 809D0000
|
||||
/* 00134 809CE814 244214C8 */ addiu $v0, $v0, %lo(D_809D14C8) ## $v0 = 809D14C8
|
||||
/* 00138 809CE818 A6190236 */ sh $t9, 0x0236($s0) ## 00000236
|
||||
/* 0013C 809CE81C 8C480000 */ lw $t0, 0x0000($v0) ## 809D14C8
|
||||
/* 00140 809CE820 A608001C */ sh $t0, 0x001C($s0) ## 0000001C
|
||||
/* 00144 809CE824 8C490000 */ lw $t1, 0x0000($v0) ## 809D14C8
|
||||
/* 00148 809CE828 8FBF002C */ lw $ra, 0x002C($sp)
|
||||
/* 0014C 809CE82C 8FB00028 */ lw $s0, 0x0028($sp)
|
||||
/* 00150 809CE830 252A0001 */ addiu $t2, $t1, 0x0001 ## $t2 = 00000001
|
||||
/* 00154 809CE834 314B0003 */ andi $t3, $t2, 0x0003 ## $t3 = 00000001
|
||||
/* 00158 809CE838 AC4B0000 */ sw $t3, 0x0000($v0) ## 809D14C8
|
||||
/* 0015C 809CE83C 03E00008 */ jr $ra
|
||||
/* 00160 809CE840 27BD0038 */ addiu $sp, $sp, 0x0038 ## $sp = 00000000
|
|
@ -1,331 +0,0 @@
|
|||
.late_rodata
|
||||
glabel D_809D16A0
|
||||
.word 0xBD99999A
|
||||
glabel D_809D16A4
|
||||
.float 0.4
|
||||
|
||||
glabel D_809D16A8
|
||||
.word 0xBDCCCCCD
|
||||
glabel D_809D16AC
|
||||
.word 0xBDCCCCCD
|
||||
glabel D_809D16B0
|
||||
.float 0.4
|
||||
|
||||
.text
|
||||
glabel EnBw_Update
|
||||
/* 021B0 809D0890 27BDFF80 */ addiu $sp, $sp, 0xFF80 ## $sp = FFFFFF80
|
||||
/* 021B4 809D0894 3C0F809D */ lui $t7, %hi(D_809D14CC) ## $t7 = 809D0000
|
||||
/* 021B8 809D0898 AFBF0034 */ sw $ra, 0x0034($sp)
|
||||
/* 021BC 809D089C AFB10030 */ sw $s1, 0x0030($sp)
|
||||
/* 021C0 809D08A0 AFB0002C */ sw $s0, 0x002C($sp)
|
||||
/* 021C4 809D08A4 25EF14CC */ addiu $t7, $t7, %lo(D_809D14CC) ## $t7 = 809D14CC
|
||||
/* 021C8 809D08A8 8DF90000 */ lw $t9, 0x0000($t7) ## 809D14CC
|
||||
/* 021CC 809D08AC 27AE006C */ addiu $t6, $sp, 0x006C ## $t6 = FFFFFFEC
|
||||
/* 021D0 809D08B0 8DF80004 */ lw $t8, 0x0004($t7) ## 809D14D0
|
||||
/* 021D4 809D08B4 ADD90000 */ sw $t9, 0x0000($t6) ## FFFFFFEC
|
||||
/* 021D8 809D08B8 8DF90008 */ lw $t9, 0x0008($t7) ## 809D14D4
|
||||
/* 021DC 809D08BC 3C09809D */ lui $t1, %hi(D_809D14D8) ## $t1 = 809D0000
|
||||
/* 021E0 809D08C0 252914D8 */ addiu $t1, $t1, %lo(D_809D14D8) ## $t1 = 809D14D8
|
||||
/* 021E4 809D08C4 ADD80004 */ sw $t8, 0x0004($t6) ## FFFFFFF0
|
||||
/* 021E8 809D08C8 ADD90008 */ sw $t9, 0x0008($t6) ## FFFFFFF4
|
||||
/* 021EC 809D08CC 8D2B0000 */ lw $t3, 0x0000($t1) ## 809D14D8
|
||||
/* 021F0 809D08D0 27A80060 */ addiu $t0, $sp, 0x0060 ## $t0 = FFFFFFE0
|
||||
/* 021F4 809D08D4 8D2A0004 */ lw $t2, 0x0004($t1) ## 809D14DC
|
||||
/* 021F8 809D08D8 AD0B0000 */ sw $t3, 0x0000($t0) ## FFFFFFE0
|
||||
/* 021FC 809D08DC 8D2B0008 */ lw $t3, 0x0008($t1) ## 809D14E0
|
||||
/* 02200 809D08E0 AD0A0004 */ sw $t2, 0x0004($t0) ## FFFFFFE4
|
||||
/* 02204 809D08E4 3C0C809D */ lui $t4, %hi(D_809D14E4) ## $t4 = 809D0000
|
||||
/* 02208 809D08E8 AD0B0008 */ sw $t3, 0x0008($t0) ## FFFFFFE8
|
||||
/* 0220C 809D08EC 3C0D809D */ lui $t5, %hi(D_809D14E8) ## $t5 = 809D0000
|
||||
/* 02210 809D08F0 3C0E809D */ lui $t6, %hi(D_809D14EC) ## $t6 = 809D0000
|
||||
/* 02214 809D08F4 3C0F809D */ lui $t7, %hi(D_809D14F0) ## $t7 = 809D0000
|
||||
/* 02218 809D08F8 8D8C14E4 */ lw $t4, %lo(D_809D14E4)($t4)
|
||||
/* 0221C 809D08FC 8DAD14E8 */ lw $t5, %lo(D_809D14E8)($t5)
|
||||
/* 02220 809D0900 8DCE14EC */ lw $t6, %lo(D_809D14EC)($t6)
|
||||
/* 02224 809D0904 8DEF14F0 */ lw $t7, %lo(D_809D14F0)($t7)
|
||||
/* 02228 809D0908 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
|
||||
/* 0222C 809D090C 00A08825 */ or $s1, $a1, $zero ## $s1 = 00000000
|
||||
/* 02230 809D0910 AFAC0050 */ sw $t4, 0x0050($sp)
|
||||
/* 02234 809D0914 AFAD004C */ sw $t5, 0x004C($sp)
|
||||
/* 02238 809D0918 AFAE0048 */ sw $t6, 0x0048($sp)
|
||||
/* 0223C 809D091C 0C274161 */ jal func_809D0584
|
||||
/* 02240 809D0920 AFAF0044 */ sw $t7, 0x0044($sp)
|
||||
/* 02244 809D0924 921800B1 */ lbu $t8, 0x00B1($s0) ## 000000B1
|
||||
/* 02248 809D0928 24010006 */ addiu $at, $zero, 0x0006 ## $at = 00000006
|
||||
/* 0224C 809D092C 530100B9 */ beql $t8, $at, .L809D0C14
|
||||
/* 02250 809D0930 260502E0 */ addiu $a1, $s0, 0x02E0 ## $a1 = 000002E0
|
||||
/* 02254 809D0934 8E190228 */ lw $t9, 0x0228($s0) ## 00000228
|
||||
/* 02258 809D0938 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 0225C 809D093C 02202825 */ or $a1, $s1, $zero ## $a1 = 00000000
|
||||
/* 02260 809D0940 0320F809 */ jalr $ra, $t9
|
||||
/* 02264 809D0944 00000000 */ nop
|
||||
/* 02268 809D0948 9208023C */ lbu $t0, 0x023C($s0) ## 0000023C
|
||||
/* 0226C 809D094C 3C010001 */ lui $at, 0x0001 ## $at = 00010000
|
||||
/* 02270 809D0950 02216021 */ addu $t4, $s1, $at
|
||||
/* 02274 809D0954 15000005 */ bne $t0, $zero, .L809D096C
|
||||
/* 02278 809D0958 3C01C040 */ lui $at, 0xC040 ## $at = C0400000
|
||||
/* 0227C 809D095C 9209023A */ lbu $t1, 0x023A($s0) ## 0000023A
|
||||
/* 02280 809D0960 252A0004 */ addiu $t2, $t1, 0x0004 ## $t2 = 00000004
|
||||
/* 02284 809D0964 314B007F */ andi $t3, $t2, 0x007F ## $t3 = 00000004
|
||||
/* 02288 809D0968 A20B023A */ sb $t3, 0x023A($s0) ## 0000023A
|
||||
.L809D096C:
|
||||
/* 0228C 809D096C AFAC0040 */ sw $t4, 0x0040($sp)
|
||||
/* 02290 809D0970 920F0221 */ lbu $t7, 0x0221($s0) ## 00000221
|
||||
/* 02294 809D0974 8D8E1DE4 */ lw $t6, 0x1DE4($t4) ## 00001DE4
|
||||
/* 02298 809D0978 01CFC024 */ and $t8, $t6, $t7
|
||||
/* 0229C 809D097C 1700002B */ bne $t8, $zero, .L809D0A2C
|
||||
/* 022A0 809D0980 00000000 */ nop
|
||||
/* 022A4 809D0984 44812000 */ mtc1 $at, $f4 ## $f4 = -3.00
|
||||
/* 022A8 809D0988 3C0141C0 */ lui $at, 0x41C0 ## $at = 41C00000
|
||||
/* 022AC 809D098C 44814000 */ mtc1 $at, $f8 ## $f8 = 24.00
|
||||
/* 022B0 809D0990 E7A40064 */ swc1 $f4, 0x0064($sp)
|
||||
/* 022B4 809D0994 C6060248 */ lwc1 $f6, 0x0248($s0) ## 00000248
|
||||
/* 022B8 809D0998 46083302 */ mul.s $f12, $f6, $f8
|
||||
/* 022BC 809D099C 0C00CFC8 */ jal Rand_CenteredFloat
|
||||
|
||||
/* 022C0 809D09A0 00000000 */ nop
|
||||
/* 022C4 809D09A4 E7A0006C */ swc1 $f0, 0x006C($sp)
|
||||
/* 022C8 809D09A8 3C0141F0 */ lui $at, 0x41F0 ## $at = 41F00000
|
||||
/* 022CC 809D09AC 44818000 */ mtc1 $at, $f16 ## $f16 = 30.00
|
||||
/* 022D0 809D09B0 C60A0248 */ lwc1 $f10, 0x0248($s0) ## 00000248
|
||||
/* 022D4 809D09B4 3C0141C0 */ lui $at, 0x41C0 ## $at = 41C00000
|
||||
/* 022D8 809D09B8 44813000 */ mtc1 $at, $f6 ## $f6 = 24.00
|
||||
/* 022DC 809D09BC 46105482 */ mul.s $f18, $f10, $f16
|
||||
/* 022E0 809D09C0 E7B20070 */ swc1 $f18, 0x0070($sp)
|
||||
/* 022E4 809D09C4 C6040248 */ lwc1 $f4, 0x0248($s0) ## 00000248
|
||||
/* 022E8 809D09C8 46062302 */ mul.s $f12, $f4, $f6
|
||||
/* 022EC 809D09CC 0C00CFC8 */ jal Rand_CenteredFloat
|
||||
|
||||
/* 022F0 809D09D0 00000000 */ nop
|
||||
/* 022F4 809D09D4 3C01809D */ lui $at, %hi(D_809D16A0) ## $at = 809D0000
|
||||
/* 022F8 809D09D8 C42216A0 */ lwc1 $f2, %lo(D_809D16A0)($at)
|
||||
/* 022FC 809D09DC C7A8006C */ lwc1 $f8, 0x006C($sp)
|
||||
/* 02300 809D09E0 27B90050 */ addiu $t9, $sp, 0x0050 ## $t9 = FFFFFFD0
|
||||
/* 02304 809D09E4 27A8004C */ addiu $t0, $sp, 0x004C ## $t0 = FFFFFFCC
|
||||
/* 02308 809D09E8 46024282 */ mul.s $f10, $f8, $f2
|
||||
/* 0230C 809D09EC 2409003C */ addiu $t1, $zero, 0x003C ## $t1 = 0000003C
|
||||
/* 02310 809D09F0 240A0014 */ addiu $t2, $zero, 0x0014 ## $t2 = 00000014
|
||||
/* 02314 809D09F4 46020402 */ mul.s $f16, $f0, $f2
|
||||
/* 02318 809D09F8 E7A00074 */ swc1 $f0, 0x0074($sp)
|
||||
/* 0231C 809D09FC AFAA0020 */ sw $t2, 0x0020($sp)
|
||||
/* 02320 809D0A00 AFA90018 */ sw $t1, 0x0018($sp)
|
||||
/* 02324 809D0A04 E7AA0060 */ swc1 $f10, 0x0060($sp)
|
||||
/* 02328 809D0A08 AFA80014 */ sw $t0, 0x0014($sp)
|
||||
/* 0232C 809D0A0C AFB90010 */ sw $t9, 0x0010($sp)
|
||||
/* 02330 809D0A10 E7B00068 */ swc1 $f16, 0x0068($sp)
|
||||
/* 02334 809D0A14 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
|
||||
/* 02338 809D0A18 26050024 */ addiu $a1, $s0, 0x0024 ## $a1 = 00000024
|
||||
/* 0233C 809D0A1C 27A6006C */ addiu $a2, $sp, 0x006C ## $a2 = FFFFFFEC
|
||||
/* 02340 809D0A20 27A70060 */ addiu $a3, $sp, 0x0060 ## $a3 = FFFFFFE0
|
||||
/* 02344 809D0A24 0C00A0DB */ jal func_8002836C
|
||||
/* 02348 809D0A28 AFA0001C */ sw $zero, 0x001C($sp)
|
||||
.L809D0A2C:
|
||||
/* 0234C 809D0A2C 3C01809D */ lui $at, %hi(D_809D16A4) ## $at = 809D0000
|
||||
/* 02350 809D0A30 C43216A4 */ lwc1 $f18, %lo(D_809D16A4)($at)
|
||||
/* 02354 809D0A34 C6040248 */ lwc1 $f4, 0x0248($s0) ## 00000248
|
||||
/* 02358 809D0A38 240F0001 */ addiu $t7, $zero, 0x0001 ## $t7 = 00000001
|
||||
/* 0235C 809D0A3C 4612203E */ c.le.s $f4, $f18
|
||||
/* 02360 809D0A40 00000000 */ nop
|
||||
/* 02364 809D0A44 45020053 */ bc1fl .L809D0B94
|
||||
/* 02368 809D0A48 A20F02B0 */ sb $t7, 0x02B0($s0) ## 000002B0
|
||||
/* 0236C 809D0A4C A20002B0 */ sb $zero, 0x02B0($s0) ## 000002B0
|
||||
/* 02370 809D0A50 8FAB0040 */ lw $t3, 0x0040($sp)
|
||||
/* 02374 809D0A54 8D6C1DE4 */ lw $t4, 0x1DE4($t3) ## 00001DE4
|
||||
/* 02378 809D0A58 318D0001 */ andi $t5, $t4, 0x0001 ## $t5 = 00000000
|
||||
/* 0237C 809D0A5C 55A0004E */ bnel $t5, $zero, .L809D0B98
|
||||
/* 02380 809D0A60 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 02384 809D0A64 920E0220 */ lbu $t6, 0x0220($s0) ## 00000220
|
||||
/* 02388 809D0A68 29C10005 */ slti $at, $t6, 0x0005
|
||||
/* 0238C 809D0A6C 5020004A */ beql $at, $zero, .L809D0B98
|
||||
/* 02390 809D0A70 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 02394 809D0A74 920F023C */ lbu $t7, 0x023C($s0) ## 0000023C
|
||||
/* 02398 809D0A78 3C01809D */ lui $at, %hi(D_809D16A8) ## $at = 809D0000
|
||||
/* 0239C 809D0A7C 26180024 */ addiu $t8, $s0, 0x0024 ## $t8 = 00000024
|
||||
/* 023A0 809D0A80 55E00045 */ bnel $t7, $zero, .L809D0B98
|
||||
/* 023A4 809D0A84 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 023A8 809D0A88 C42616A8 */ lwc1 $f6, %lo(D_809D16A8)($at)
|
||||
/* 023AC 809D0A8C 3C014080 */ lui $at, 0x4080 ## $at = 40800000
|
||||
/* 023B0 809D0A90 44816000 */ mtc1 $at, $f12 ## $f12 = 4.00
|
||||
/* 023B4 809D0A94 AFB80040 */ sw $t8, 0x0040($sp)
|
||||
/* 023B8 809D0A98 0C00CFC8 */ jal Rand_CenteredFloat
|
||||
|
||||
/* 023BC 809D0A9C E7A60064 */ swc1 $f6, 0x0064($sp)
|
||||
/* 023C0 809D0AA0 3C014000 */ lui $at, 0x4000 ## $at = 40000000
|
||||
/* 023C4 809D0AA4 44816000 */ mtc1 $at, $f12 ## $f12 = 2.00
|
||||
/* 023C8 809D0AA8 0C00CFC8 */ jal Rand_CenteredFloat
|
||||
|
||||
/* 023CC 809D0AAC E7A0006C */ swc1 $f0, 0x006C($sp)
|
||||
/* 023D0 809D0AB0 3C0140C0 */ lui $at, 0x40C0 ## $at = 40C00000
|
||||
/* 023D4 809D0AB4 44814000 */ mtc1 $at, $f8 ## $f8 = 6.00
|
||||
/* 023D8 809D0AB8 3C014080 */ lui $at, 0x4080 ## $at = 40800000
|
||||
/* 023DC 809D0ABC 44816000 */ mtc1 $at, $f12 ## $f12 = 4.00
|
||||
/* 023E0 809D0AC0 46080280 */ add.s $f10, $f0, $f8
|
||||
/* 023E4 809D0AC4 0C00CFC8 */ jal Rand_CenteredFloat
|
||||
|
||||
/* 023E8 809D0AC8 E7AA0070 */ swc1 $f10, 0x0070($sp)
|
||||
/* 023EC 809D0ACC 3C01809D */ lui $at, %hi(D_809D16AC) ## $at = 809D0000
|
||||
/* 023F0 809D0AD0 C42216AC */ lwc1 $f2, %lo(D_809D16AC)($at)
|
||||
/* 023F4 809D0AD4 C7B0006C */ lwc1 $f16, 0x006C($sp)
|
||||
/* 023F8 809D0AD8 3C014080 */ lui $at, 0x4080 ## $at = 40800000
|
||||
/* 023FC 809D0ADC 44816000 */ mtc1 $at, $f12 ## $f12 = 4.00
|
||||
/* 02400 809D0AE0 46028482 */ mul.s $f18, $f16, $f2
|
||||
/* 02404 809D0AE4 E7A00074 */ swc1 $f0, 0x0074($sp)
|
||||
/* 02408 809D0AE8 46020102 */ mul.s $f4, $f0, $f2
|
||||
/* 0240C 809D0AEC E7B20060 */ swc1 $f18, 0x0060($sp)
|
||||
/* 02410 809D0AF0 0C00CFC8 */ jal Rand_CenteredFloat
|
||||
|
||||
/* 02414 809D0AF4 E7A40068 */ swc1 $f4, 0x0068($sp)
|
||||
/* 02418 809D0AF8 3C014080 */ lui $at, 0x4080 ## $at = 40800000
|
||||
/* 0241C 809D0AFC 44816000 */ mtc1 $at, $f12 ## $f12 = 4.00
|
||||
/* 02420 809D0B00 0C00CFC8 */ jal Rand_CenteredFloat
|
||||
|
||||
/* 02424 809D0B04 00000000 */ nop
|
||||
/* 02428 809D0B08 9219022F */ lbu $t9, 0x022F($s0) ## 0000022F
|
||||
/* 0242C 809D0B0C 27A90048 */ addiu $t1, $sp, 0x0048 ## $t1 = FFFFFFC8
|
||||
/* 02430 809D0B10 27AA0044 */ addiu $t2, $sp, 0x0044 ## $t2 = FFFFFFC4
|
||||
/* 02434 809D0B14 332200FF */ andi $v0, $t9, 0x00FF ## $v0 = 00000000
|
||||
/* 02438 809D0B18 2841001E */ slti $at, $v0, 0x001E
|
||||
/* 0243C 809D0B1C 14200004 */ bne $at, $zero, .L809D0B30
|
||||
/* 02440 809D0B20 A3B9004B */ sb $t9, 0x004B($sp)
|
||||
/* 02444 809D0B24 2448FFE2 */ addiu $t0, $v0, 0xFFE2 ## $t0 = FFFFFFE2
|
||||
/* 02448 809D0B28 10000002 */ beq $zero, $zero, .L809D0B34
|
||||
/* 0244C 809D0B2C A3A80047 */ sb $t0, 0x0047($sp)
|
||||
.L809D0B30:
|
||||
/* 02450 809D0B30 A3A00047 */ sb $zero, 0x0047($sp)
|
||||
.L809D0B34:
|
||||
/* 02454 809D0B34 240B00B4 */ addiu $t3, $zero, 0x00B4 ## $t3 = 000000B4
|
||||
/* 02458 809D0B38 240C0028 */ addiu $t4, $zero, 0x0028 ## $t4 = 00000028
|
||||
/* 0245C 809D0B3C AFAC001C */ sw $t4, 0x001C($sp)
|
||||
/* 02460 809D0B40 AFAB0018 */ sw $t3, 0x0018($sp)
|
||||
/* 02464 809D0B44 AFA90010 */ sw $t1, 0x0010($sp)
|
||||
/* 02468 809D0B48 AFAA0014 */ sw $t2, 0x0014($sp)
|
||||
/* 0246C 809D0B4C 3C014220 */ lui $at, 0x4220 ## $at = 42200000
|
||||
/* 02470 809D0B50 44814000 */ mtc1 $at, $f8 ## $f8 = 40.00
|
||||
/* 02474 809D0B54 C6060248 */ lwc1 $f6, 0x0248($s0) ## 00000248
|
||||
/* 02478 809D0B58 3C0141A0 */ lui $at, 0x41A0 ## $at = 41A00000
|
||||
/* 0247C 809D0B5C 44818000 */ mtc1 $at, $f16 ## $f16 = 20.00
|
||||
/* 02480 809D0B60 46083282 */ mul.s $f10, $f6, $f8
|
||||
/* 02484 809D0B64 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
|
||||
/* 02488 809D0B68 8FA50040 */ lw $a1, 0x0040($sp)
|
||||
/* 0248C 809D0B6C 27A6006C */ addiu $a2, $sp, 0x006C ## $a2 = FFFFFFEC
|
||||
/* 02490 809D0B70 27A70060 */ addiu $a3, $sp, 0x0060 ## $a3 = FFFFFFE0
|
||||
/* 02494 809D0B74 460A8481 */ sub.s $f18, $f16, $f10
|
||||
/* 02498 809D0B78 4600910D */ trunc.w.s $f4, $f18
|
||||
/* 0249C 809D0B7C 440E2000 */ mfc1 $t6, $f4
|
||||
/* 024A0 809D0B80 0C00A0DB */ jal func_8002836C
|
||||
/* 024A4 809D0B84 AFAE0020 */ sw $t6, 0x0020($sp)
|
||||
/* 024A8 809D0B88 10000003 */ beq $zero, $zero, .L809D0B98
|
||||
/* 024AC 809D0B8C 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 024B0 809D0B90 A20F02B0 */ sb $t7, 0x02B0($s0) ## 000002B0
|
||||
.L809D0B94:
|
||||
/* 024B4 809D0B94 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
.L809D0B98:
|
||||
/* 024B8 809D0B98 02202825 */ or $a1, $s1, $zero ## $a1 = 00000000
|
||||
/* 024BC 809D0B9C 3C064248 */ lui $a2, 0x4248 ## $a2 = 42480000
|
||||
/* 024C0 809D0BA0 0C00CE6E */ jal func_800339B8
|
||||
/* 024C4 809D0BA4 86070032 */ lh $a3, 0x0032($s0) ## 00000032
|
||||
/* 024C8 809D0BA8 92030220 */ lbu $v1, 0x0220($s0) ## 00000220
|
||||
/* 024CC 809D0BAC 24010004 */ addiu $at, $zero, 0x0004 ## $at = 00000004
|
||||
/* 024D0 809D0BB0 A6020234 */ sh $v0, 0x0234($s0) ## 00000234
|
||||
/* 024D4 809D0BB4 1061000A */ beq $v1, $at, .L809D0BE0
|
||||
/* 024D8 809D0BB8 24010006 */ addiu $at, $zero, 0x0006 ## $at = 00000006
|
||||
/* 024DC 809D0BBC 10610008 */ beq $v1, $at, .L809D0BE0
|
||||
/* 024E0 809D0BC0 24010005 */ addiu $at, $zero, 0x0005 ## $at = 00000005
|
||||
/* 024E4 809D0BC4 10610006 */ beq $v1, $at, .L809D0BE0
|
||||
/* 024E8 809D0BC8 24010001 */ addiu $at, $zero, 0x0001 ## $at = 00000001
|
||||
/* 024EC 809D0BCC 10610004 */ beq $v1, $at, .L809D0BE0
|
||||
/* 024F0 809D0BD0 00000000 */ nop
|
||||
/* 024F4 809D0BD4 86180234 */ lh $t8, 0x0234($s0) ## 00000234
|
||||
/* 024F8 809D0BD8 53000004 */ beql $t8, $zero, .L809D0BEC
|
||||
/* 024FC 809D0BDC 3C0141A8 */ lui $at, 0x41A8 ## $at = 41A80000
|
||||
.L809D0BE0:
|
||||
/* 02500 809D0BE0 0C00B638 */ jal Actor_MoveForward
|
||||
|
||||
/* 02504 809D0BE4 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 02508 809D0BE8 3C0141A8 */ lui $at, 0x41A8 ## $at = 41A80000
|
||||
.L809D0BEC:
|
||||
/* 0250C 809D0BEC 44813000 */ mtc1 $at, $f6 ## $f6 = 21.00
|
||||
/* 02510 809D0BF0 2419001F */ addiu $t9, $zero, 0x001F ## $t9 = 0000001F
|
||||
/* 02514 809D0BF4 AFB90014 */ sw $t9, 0x0014($sp)
|
||||
/* 02518 809D0BF8 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
|
||||
/* 0251C 809D0BFC 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000
|
||||
/* 02520 809D0C00 3C0641A0 */ lui $a2, 0x41A0 ## $a2 = 41A00000
|
||||
/* 02524 809D0C04 3C0741F0 */ lui $a3, 0x41F0 ## $a3 = 41F00000
|
||||
/* 02528 809D0C08 0C00B92D */ jal func_8002E4B4
|
||||
/* 0252C 809D0C0C E7A60010 */ swc1 $f6, 0x0010($sp)
|
||||
/* 02530 809D0C10 260502E0 */ addiu $a1, $s0, 0x02E0 ## $a1 = 000002E0
|
||||
.L809D0C14:
|
||||
/* 02534 809D0C14 26080024 */ addiu $t0, $s0, 0x0024 ## $t0 = 00000024
|
||||
/* 02538 809D0C18 AFA80040 */ sw $t0, 0x0040($sp)
|
||||
/* 0253C 809D0C1C AFA50038 */ sw $a1, 0x0038($sp)
|
||||
/* 02540 809D0C20 0C0189B7 */ jal Collider_CylinderUpdate
|
||||
|
||||
/* 02544 809D0C24 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 02548 809D0C28 3C010001 */ lui $at, 0x0001 ## $at = 00010000
|
||||
/* 0254C 809D0C2C 34211E60 */ ori $at, $at, 0x1E60 ## $at = 00011E60
|
||||
/* 02550 809D0C30 02212821 */ addu $a1, $s1, $at
|
||||
/* 02554 809D0C34 AFA5003C */ sw $a1, 0x003C($sp)
|
||||
/* 02558 809D0C38 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
|
||||
/* 0255C 809D0C3C 0C017713 */ jal CollisionCheck_SetOC
|
||||
## CollisionCheck_setOT
|
||||
/* 02560 809D0C40 8FA60038 */ lw $a2, 0x0038($sp)
|
||||
/* 02564 809D0C44 92090220 */ lbu $t1, 0x0220($s0) ## 00000220
|
||||
/* 02568 809D0C48 5120000D */ beql $t1, $zero, .L809D0C80
|
||||
/* 0256C 809D0C4C 920D0221 */ lbu $t5, 0x0221($s0) ## 00000221
|
||||
/* 02570 809D0C50 920A0114 */ lbu $t2, 0x0114($s0) ## 00000114
|
||||
/* 02574 809D0C54 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
|
||||
/* 02578 809D0C58 8FA5003C */ lw $a1, 0x003C($sp)
|
||||
/* 0257C 809D0C5C 11400005 */ beq $t2, $zero, .L809D0C74
|
||||
/* 02580 809D0C60 00000000 */ nop
|
||||
/* 02584 809D0C64 960B0112 */ lhu $t3, 0x0112($s0) ## 00000112
|
||||
/* 02588 809D0C68 316C4000 */ andi $t4, $t3, 0x4000 ## $t4 = 00000000
|
||||
/* 0258C 809D0C6C 55800004 */ bnel $t4, $zero, .L809D0C80
|
||||
/* 02590 809D0C70 920D0221 */ lbu $t5, 0x0221($s0) ## 00000221
|
||||
.L809D0C74:
|
||||
/* 02594 809D0C74 0C01767D */ jal CollisionCheck_SetAC
|
||||
## CollisionCheck_setAC
|
||||
/* 02598 809D0C78 8FA60038 */ lw $a2, 0x0038($sp)
|
||||
/* 0259C 809D0C7C 920D0221 */ lbu $t5, 0x0221($s0) ## 00000221
|
||||
.L809D0C80:
|
||||
/* 025A0 809D0C80 24010001 */ addiu $at, $zero, 0x0001 ## $at = 00000001
|
||||
/* 025A4 809D0C84 51A10014 */ beql $t5, $at, .L809D0CD8
|
||||
/* 025A8 809D0C88 8FAF0040 */ lw $t7, 0x0040($sp)
|
||||
/* 025AC 809D0C8C 920E0220 */ lbu $t6, 0x0220($s0) ## 00000220
|
||||
/* 025B0 809D0C90 29C10005 */ slti $at, $t6, 0x0005
|
||||
/* 025B4 809D0C94 1020000F */ beq $at, $zero, .L809D0CD4
|
||||
/* 025B8 809D0C98 3C01809D */ lui $at, %hi(D_809D16B0) ## $at = 809D0000
|
||||
/* 025BC 809D0C9C C42816B0 */ lwc1 $f8, %lo(D_809D16B0)($at)
|
||||
/* 025C0 809D0CA0 C6100248 */ lwc1 $f16, 0x0248($s0) ## 00000248
|
||||
/* 025C4 809D0CA4 26060294 */ addiu $a2, $s0, 0x0294 ## $a2 = 00000294
|
||||
/* 025C8 809D0CA8 00C02825 */ or $a1, $a2, $zero ## $a1 = 00000294
|
||||
/* 025CC 809D0CAC 4610403C */ c.lt.s $f8, $f16
|
||||
/* 025D0 809D0CB0 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 025D4 809D0CB4 45020008 */ bc1fl .L809D0CD8
|
||||
/* 025D8 809D0CB8 8FAF0040 */ lw $t7, 0x0040($sp)
|
||||
/* 025DC 809D0CBC 0C0189B7 */ jal Collider_CylinderUpdate
|
||||
|
||||
/* 025E0 809D0CC0 AFA60038 */ sw $a2, 0x0038($sp)
|
||||
/* 025E4 809D0CC4 8FA60038 */ lw $a2, 0x0038($sp)
|
||||
/* 025E8 809D0CC8 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
|
||||
/* 025EC 809D0CCC 0C0175E7 */ jal CollisionCheck_SetAT
|
||||
## CollisionCheck_setAT
|
||||
/* 025F0 809D0CD0 8FA5003C */ lw $a1, 0x003C($sp)
|
||||
.L809D0CD4:
|
||||
/* 025F4 809D0CD4 8FAF0040 */ lw $t7, 0x0040($sp)
|
||||
.L809D0CD8:
|
||||
/* 025F8 809D0CD8 3C0140A0 */ lui $at, 0x40A0 ## $at = 40A00000
|
||||
/* 025FC 809D0CDC 44819000 */ mtc1 $at, $f18 ## $f18 = 5.00
|
||||
/* 02600 809D0CE0 8DF90000 */ lw $t9, 0x0000($t7) ## 00000000
|
||||
/* 02604 809D0CE4 AE190038 */ sw $t9, 0x0038($s0) ## 00000038
|
||||
/* 02608 809D0CE8 8DF80004 */ lw $t8, 0x0004($t7) ## 00000004
|
||||
/* 0260C 809D0CEC AE18003C */ sw $t8, 0x003C($s0) ## 0000003C
|
||||
/* 02610 809D0CF0 C60A003C */ lwc1 $f10, 0x003C($s0) ## 0000003C
|
||||
/* 02614 809D0CF4 8DF90008 */ lw $t9, 0x0008($t7) ## 00000008
|
||||
/* 02618 809D0CF8 46125100 */ add.s $f4, $f10, $f18
|
||||
/* 0261C 809D0CFC AE190040 */ sw $t9, 0x0040($s0) ## 00000040
|
||||
/* 02620 809D0D00 E604003C */ swc1 $f4, 0x003C($s0) ## 0000003C
|
||||
/* 02624 809D0D04 8FBF0034 */ lw $ra, 0x0034($sp)
|
||||
/* 02628 809D0D08 8FB10030 */ lw $s1, 0x0030($sp)
|
||||
/* 0262C 809D0D0C 8FB0002C */ lw $s0, 0x002C($sp)
|
||||
/* 02630 809D0D10 03E00008 */ jr $ra
|
||||
/* 02634 809D0D14 27BD0080 */ addiu $sp, $sp, 0x0080 ## $sp = 00000000
|
|
@ -1,3 +0,0 @@
|
|||
glabel func_809CE6E0
|
||||
/* 00000 809CE6E0 03E00008 */ jr $ra
|
||||
/* 00004 809CE6E4 AC850228 */ sw $a1, 0x0228($a0) ## 00000228
|
|
@ -1,100 +0,0 @@
|
|||
.late_rodata
|
||||
glabel D_809D15A4
|
||||
.float 0.001
|
||||
|
||||
glabel D_809D15A8
|
||||
.word 0x3BE56041
|
||||
glabel D_809D15AC
|
||||
.word 0x3C54FDF4
|
||||
glabel D_809D15B0
|
||||
.float 0.001
|
||||
|
||||
glabel D_809D15B4
|
||||
.word 0x3C54FDF4
|
||||
glabel D_809D15B8
|
||||
.word 0x3BE56041
|
||||
glabel D_809D15BC
|
||||
.float 0.001
|
||||
|
||||
glabel D_809D15C0
|
||||
.word 0x3BE56041
|
||||
glabel D_809D15C4
|
||||
.word 0x3C54FDF4
|
||||
|
||||
.text
|
||||
glabel func_809CE884
|
||||
/* 001A4 809CE884 44800000 */ mtc1 $zero, $f0 ## $f0 = 0.00
|
||||
/* 001A8 809CE888 27BDFFD8 */ addiu $sp, $sp, 0xFFD8 ## $sp = FFFFFFD8
|
||||
/* 001AC 809CE88C AFB00020 */ sw $s0, 0x0020($sp)
|
||||
/* 001B0 809CE890 AFA5002C */ sw $a1, 0x002C($sp)
|
||||
/* 001B4 809CE894 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
|
||||
/* 001B8 809CE898 AFBF0024 */ sw $ra, 0x0024($sp)
|
||||
/* 001BC 809CE89C 44050000 */ mfc1 $a1, $f0
|
||||
/* 001C0 809CE8A0 24840068 */ addiu $a0, $a0, 0x0068 ## $a0 = 00000068
|
||||
/* 001C4 809CE8A4 3C063F80 */ lui $a2, 0x3F80 ## $a2 = 3F800000
|
||||
/* 001C8 809CE8A8 3C073F00 */ lui $a3, 0x3F00 ## $a3 = 3F000000
|
||||
/* 001CC 809CE8AC 0C01E0C4 */ jal Math_SmoothStepToF
|
||||
|
||||
/* 001D0 809CE8B0 E7A00010 */ swc1 $f0, 0x0010($sp)
|
||||
/* 001D4 809CE8B4 860E0222 */ lh $t6, 0x0222($s0) ## 00000222
|
||||
/* 001D8 809CE8B8 3C01809D */ lui $at, %hi(D_809D15A4) ## $at = 809D0000
|
||||
/* 001DC 809CE8BC 25CFFF06 */ addiu $t7, $t6, 0xFF06 ## $t7 = FFFFFF06
|
||||
/* 001E0 809CE8C0 A60F0222 */ sh $t7, 0x0222($s0) ## 00000222
|
||||
/* 001E4 809CE8C4 86180222 */ lh $t8, 0x0222($s0) ## 00000222
|
||||
/* 001E8 809CE8C8 C42815A4 */ lwc1 $f8, %lo(D_809D15A4)($at)
|
||||
/* 001EC 809CE8CC 44982000 */ mtc1 $t8, $f4 ## $f4 = 0.00
|
||||
/* 001F0 809CE8D0 00000000 */ nop
|
||||
/* 001F4 809CE8D4 468021A0 */ cvt.s.w $f6, $f4
|
||||
/* 001F8 809CE8D8 46083302 */ mul.s $f12, $f6, $f8
|
||||
/* 001FC 809CE8DC 0C0329C8 */ jal Math_SinF
|
||||
/* 00200 809CE8E0 00000000 */ nop
|
||||
/* 00204 809CE8E4 3C01809D */ lui $at, %hi(D_809D15A8) ## $at = 809D0000
|
||||
/* 00208 809CE8E8 C42A15A8 */ lwc1 $f10, %lo(D_809D15A8)($at)
|
||||
/* 0020C 809CE8EC 86190222 */ lh $t9, 0x0222($s0) ## 00000222
|
||||
/* 00210 809CE8F0 3C01809D */ lui $at, %hi(D_809D15AC) ## $at = 809D0000
|
||||
/* 00214 809CE8F4 460A0402 */ mul.s $f16, $f0, $f10
|
||||
/* 00218 809CE8F8 C43215AC */ lwc1 $f18, %lo(D_809D15AC)($at)
|
||||
/* 0021C 809CE8FC 44993000 */ mtc1 $t9, $f6 ## $f6 = 0.00
|
||||
/* 00220 809CE900 3C01809D */ lui $at, %hi(D_809D15B0) ## $at = 809D0000
|
||||
/* 00224 809CE904 46803220 */ cvt.s.w $f8, $f6
|
||||
/* 00228 809CE908 46128100 */ add.s $f4, $f16, $f18
|
||||
/* 0022C 809CE90C E6040050 */ swc1 $f4, 0x0050($s0) ## 00000050
|
||||
/* 00230 809CE910 C42A15B0 */ lwc1 $f10, %lo(D_809D15B0)($at)
|
||||
/* 00234 809CE914 460A4302 */ mul.s $f12, $f8, $f10
|
||||
/* 00238 809CE918 0C0329C8 */ jal Math_SinF
|
||||
/* 0023C 809CE91C 00000000 */ nop
|
||||
/* 00240 809CE920 3C01809D */ lui $at, %hi(D_809D15B4) ## $at = 809D0000
|
||||
/* 00244 809CE924 C43015B4 */ lwc1 $f16, %lo(D_809D15B4)($at)
|
||||
/* 00248 809CE928 3C01809D */ lui $at, %hi(D_809D15B8) ## $at = 809D0000
|
||||
/* 0024C 809CE92C C43215B8 */ lwc1 $f18, %lo(D_809D15B8)($at)
|
||||
/* 00250 809CE930 86080222 */ lh $t0, 0x0222($s0) ## 00000222
|
||||
/* 00254 809CE934 3C01809D */ lui $at, %hi(D_809D15BC) ## $at = 809D0000
|
||||
/* 00258 809CE938 46120102 */ mul.s $f4, $f0, $f18
|
||||
/* 0025C 809CE93C 44884000 */ mtc1 $t0, $f8 ## $f8 = 0.00
|
||||
/* 00260 809CE940 00000000 */ nop
|
||||
/* 00264 809CE944 468042A0 */ cvt.s.w $f10, $f8
|
||||
/* 00268 809CE948 46048181 */ sub.s $f6, $f16, $f4
|
||||
/* 0026C 809CE94C E6060054 */ swc1 $f6, 0x0054($s0) ## 00000054
|
||||
/* 00270 809CE950 C43215BC */ lwc1 $f18, %lo(D_809D15BC)($at)
|
||||
/* 00274 809CE954 46125302 */ mul.s $f12, $f10, $f18
|
||||
/* 00278 809CE958 0C0329C8 */ jal Math_SinF
|
||||
/* 0027C 809CE95C 00000000 */ nop
|
||||
/* 00280 809CE960 3C01809D */ lui $at, %hi(D_809D15C0) ## $at = 809D0000
|
||||
/* 00284 809CE964 C43015C0 */ lwc1 $f16, %lo(D_809D15C0)($at)
|
||||
/* 00288 809CE968 3C01809D */ lui $at, %hi(D_809D15C4) ## $at = 809D0000
|
||||
/* 0028C 809CE96C C42615C4 */ lwc1 $f6, %lo(D_809D15C4)($at)
|
||||
/* 00290 809CE970 46100102 */ mul.s $f4, $f0, $f16
|
||||
/* 00294 809CE974 86090222 */ lh $t1, 0x0222($s0) ## 00000222
|
||||
/* 00298 809CE978 46062200 */ add.s $f8, $f4, $f6
|
||||
/* 0029C 809CE97C 15200005 */ bne $t1, $zero, .L809CE994
|
||||
/* 002A0 809CE980 E6080058 */ swc1 $f8, 0x0058($s0) ## 00000058
|
||||
/* 002A4 809CE984 860A00B6 */ lh $t2, 0x00B6($s0) ## 000000B6
|
||||
/* 002A8 809CE988 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 002AC 809CE98C 0C273A6A */ jal func_809CE9A8
|
||||
/* 002B0 809CE990 A60A0032 */ sh $t2, 0x0032($s0) ## 00000032
|
||||
.L809CE994:
|
||||
/* 002B4 809CE994 8FBF0024 */ lw $ra, 0x0024($sp)
|
||||
/* 002B8 809CE998 8FB00020 */ lw $s0, 0x0020($sp)
|
||||
/* 002BC 809CE99C 27BD0028 */ addiu $sp, $sp, 0x0028 ## $sp = 00000000
|
||||
/* 002C0 809CE9A0 03E00008 */ jr $ra
|
||||
/* 002C4 809CE9A4 00000000 */ nop
|
|
@ -1,33 +0,0 @@
|
|||
glabel func_809CE9A8
|
||||
/* 002C8 809CE9A8 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
|
||||
/* 002CC 809CE9AC AFBF0014 */ sw $ra, 0x0014($sp)
|
||||
/* 002D0 809CE9B0 00803825 */ or $a3, $a0, $zero ## $a3 = 00000000
|
||||
/* 002D4 809CE9B4 3C050600 */ lui $a1, %hi(D_06000228) ## $a1 = 06000000
|
||||
/* 002D8 809CE9B8 24A50228 */ addiu $a1, $a1, %lo(D_06000228) ## $a1 = 06000228
|
||||
/* 002DC 809CE9BC AFA70018 */ sw $a3, 0x0018($sp)
|
||||
/* 002E0 809CE9C0 2484014C */ addiu $a0, $a0, 0x014C ## $a0 = 0000014C
|
||||
/* 002E4 809CE9C4 0C0294D3 */ jal SkelAnime_ChangeAnimTransitionRepeat
|
||||
/* 002E8 809CE9C8 3C06C000 */ lui $a2, 0xC000 ## $a2 = C0000000
|
||||
/* 002EC 809CE9CC 8FA70018 */ lw $a3, 0x0018($sp)
|
||||
/* 002F0 809CE9D0 240E0002 */ addiu $t6, $zero, 0x0002 ## $t6 = 00000002
|
||||
/* 002F4 809CE9D4 0C03F66B */ jal Rand_ZeroOne
|
||||
## Rand.Next() float
|
||||
/* 002F8 809CE9D8 A0EE0220 */ sb $t6, 0x0220($a3) ## 00000220
|
||||
/* 002FC 809CE9DC 3C014348 */ lui $at, 0x4348 ## $at = 43480000
|
||||
/* 00300 809CE9E0 44811000 */ mtc1 $at, $f2 ## $f2 = 200.00
|
||||
/* 00304 809CE9E4 8FA40018 */ lw $a0, 0x0018($sp)
|
||||
/* 00308 809CE9E8 44805000 */ mtc1 $zero, $f10 ## $f10 = 0.00
|
||||
/* 0030C 809CE9EC 46020102 */ mul.s $f4, $f0, $f2
|
||||
/* 00310 809CE9F0 3C05809D */ lui $a1, %hi(func_809CEA24) ## $a1 = 809D0000
|
||||
/* 00314 809CE9F4 24A5EA24 */ addiu $a1, $a1, %lo(func_809CEA24) ## $a1 = 809CEA24
|
||||
/* 00318 809CE9F8 A0800232 */ sb $zero, 0x0232($a0) ## 00000232
|
||||
/* 0031C 809CE9FC E48A0068 */ swc1 $f10, 0x0068($a0) ## 00000068
|
||||
/* 00320 809CEA00 46022180 */ add.s $f6, $f4, $f2
|
||||
/* 00324 809CEA04 4600320D */ trunc.w.s $f8, $f6
|
||||
/* 00328 809CEA08 44184000 */ mfc1 $t8, $f8
|
||||
/* 0032C 809CEA0C 0C2739B8 */ jal func_809CE6E0
|
||||
/* 00330 809CEA10 A4980222 */ sh $t8, 0x0222($a0) ## 00000222
|
||||
/* 00334 809CEA14 8FBF0014 */ lw $ra, 0x0014($sp)
|
||||
/* 00338 809CEA18 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
|
||||
/* 0033C 809CEA1C 03E00008 */ jr $ra
|
||||
/* 00340 809CEA20 00000000 */ nop
|
|
@ -1,953 +0,0 @@
|
|||
.late_rodata
|
||||
glabel D_809D15C8
|
||||
.float 0.1
|
||||
|
||||
glabel D_809D15CC
|
||||
.float 0.8
|
||||
|
||||
glabel D_809D15D0
|
||||
.float 0.1
|
||||
|
||||
glabel D_809D15D4
|
||||
.word 0x3B83126F
|
||||
glabel D_809D15D8
|
||||
.word 0x3C54FDF4
|
||||
glabel D_809D15DC
|
||||
.word 0x3B83126F
|
||||
glabel D_809D15E0
|
||||
.word 0x3C54FDF4
|
||||
glabel D_809D15E4
|
||||
.word 0x3B83126F
|
||||
glabel D_809D15E8
|
||||
.word 0x3C54FDF4
|
||||
glabel D_809D15EC
|
||||
.word 0x4622F983
|
||||
glabel jtbl_809D15F0
|
||||
.word L809CEEB0
|
||||
.word L809CEEC0
|
||||
.word L809CEF60
|
||||
.word L809CEF70
|
||||
.word L809CEF7C
|
||||
.word L809CEF8C
|
||||
.word L809CEF9C
|
||||
.word L809CEF98
|
||||
glabel D_809D1610
|
||||
.word 0x4622F983
|
||||
|
||||
.text
|
||||
glabel func_809CEA24
|
||||
/* 00344 809CEA24 27BDFF88 */ addiu $sp, $sp, 0xFF88 ## $sp = FFFFFF88
|
||||
/* 00348 809CEA28 AFBF0034 */ sw $ra, 0x0034($sp)
|
||||
/* 0034C 809CEA2C AFB00030 */ sw $s0, 0x0030($sp)
|
||||
/* 00350 809CEA30 AFA5007C */ sw $a1, 0x007C($sp)
|
||||
/* 00354 809CEA34 AFA00074 */ sw $zero, 0x0074($sp)
|
||||
/* 00358 809CEA38 AFA00064 */ sw $zero, 0x0064($sp)
|
||||
/* 0035C 809CEA3C 8CA21C44 */ lw $v0, 0x1C44($a1) ## 00001C44
|
||||
/* 00360 809CEA40 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
|
||||
/* 00364 809CEA44 2484014C */ addiu $a0, $a0, 0x014C ## $a0 = 0000014C
|
||||
/* 00368 809CEA48 AFA20054 */ sw $v0, 0x0054($sp)
|
||||
/* 0036C 809CEA4C 0C02927F */ jal SkelAnime_FrameUpdateMatrix
|
||||
|
||||
/* 00370 809CEA50 AFA20050 */ sw $v0, 0x0050($sp)
|
||||
/* 00374 809CEA54 3C01809D */ lui $at, %hi(D_809D15C8) ## $at = 809D0000
|
||||
/* 00378 809CEA58 C42615C8 */ lwc1 $f6, %lo(D_809D15C8)($at)
|
||||
/* 0037C 809CEA5C C6040250 */ lwc1 $f4, 0x0250($s0) ## 00000250
|
||||
/* 00380 809CEA60 C60C0240 */ lwc1 $f12, 0x0240($s0) ## 00000240
|
||||
/* 00384 809CEA64 46062200 */ add.s $f8, $f4, $f6
|
||||
/* 00388 809CEA68 0C0329DD */ jal Math_CosF
|
||||
/* 0038C 809CEA6C E6080244 */ swc1 $f8, 0x0244($s0) ## 00000244
|
||||
/* 00390 809CEA70 C60A0240 */ lwc1 $f10, 0x0240($s0) ## 00000240
|
||||
/* 00394 809CEA74 C6100244 */ lwc1 $f16, 0x0244($s0) ## 00000244
|
||||
/* 00398 809CEA78 3C01809D */ lui $at, %hi(D_809D15CC) ## $at = 809D0000
|
||||
/* 0039C 809CEA7C C60C024C */ lwc1 $f12, 0x024C($s0) ## 0000024C
|
||||
/* 003A0 809CEA80 46105480 */ add.s $f18, $f10, $f16
|
||||
/* 003A4 809CEA84 46000086 */ mov.s $f2, $f0
|
||||
/* 003A8 809CEA88 E6120240 */ swc1 $f18, 0x0240($s0) ## 00000240
|
||||
/* 003AC 809CEA8C C42415CC */ lwc1 $f4, %lo(D_809D15CC)($at)
|
||||
/* 003B0 809CEA90 3C01809D */ lui $at, %hi(D_809D15D0) ## $at = 809D0000
|
||||
/* 003B4 809CEA94 4604603C */ c.lt.s $f12, $f4
|
||||
/* 003B8 809CEA98 00000000 */ nop
|
||||
/* 003BC 809CEA9C 45020005 */ bc1fl .L809CEAB4
|
||||
/* 003C0 809CEAA0 C60C0240 */ lwc1 $f12, 0x0240($s0) ## 00000240
|
||||
/* 003C4 809CEAA4 C42615D0 */ lwc1 $f6, %lo(D_809D15D0)($at)
|
||||
/* 003C8 809CEAA8 46066200 */ add.s $f8, $f12, $f6
|
||||
/* 003CC 809CEAAC E608024C */ swc1 $f8, 0x024C($s0) ## 0000024C
|
||||
/* 003D0 809CEAB0 C60C0240 */ lwc1 $f12, 0x0240($s0) ## 00000240
|
||||
.L809CEAB4:
|
||||
/* 003D4 809CEAB4 0C0329C8 */ jal Math_SinF
|
||||
/* 003D8 809CEAB8 E7A20058 */ swc1 $f2, 0x0058($sp)
|
||||
/* 003DC 809CEABC 3C01809D */ lui $at, %hi(D_809D15D4) ## $at = 809D0000
|
||||
/* 003E0 809CEAC0 C43015D4 */ lwc1 $f16, %lo(D_809D15D4)($at)
|
||||
/* 003E4 809CEAC4 C60A024C */ lwc1 $f10, 0x024C($s0) ## 0000024C
|
||||
/* 003E8 809CEAC8 3C01809D */ lui $at, %hi(D_809D15D8) ## $at = 809D0000
|
||||
/* 003EC 809CEACC C42615D8 */ lwc1 $f6, %lo(D_809D15D8)($at)
|
||||
/* 003F0 809CEAD0 46105482 */ mul.s $f18, $f10, $f16
|
||||
/* 003F4 809CEAD4 C60C0240 */ lwc1 $f12, 0x0240($s0) ## 00000240
|
||||
/* 003F8 809CEAD8 46120102 */ mul.s $f4, $f0, $f18
|
||||
/* 003FC 809CEADC 46043201 */ sub.s $f8, $f6, $f4
|
||||
/* 00400 809CEAE0 0C0329C8 */ jal Math_SinF
|
||||
/* 00404 809CEAE4 E6080050 */ swc1 $f8, 0x0050($s0) ## 00000050
|
||||
/* 00408 809CEAE8 3C01809D */ lui $at, %hi(D_809D15DC) ## $at = 809D0000
|
||||
/* 0040C 809CEAEC C43015DC */ lwc1 $f16, %lo(D_809D15DC)($at)
|
||||
/* 00410 809CEAF0 C60A024C */ lwc1 $f10, 0x024C($s0) ## 0000024C
|
||||
/* 00414 809CEAF4 3C01809D */ lui $at, %hi(D_809D15E0) ## $at = 809D0000
|
||||
/* 00418 809CEAF8 C42415E0 */ lwc1 $f4, %lo(D_809D15E0)($at)
|
||||
/* 0041C 809CEAFC 46105482 */ mul.s $f18, $f10, $f16
|
||||
/* 00420 809CEB00 C60C0240 */ lwc1 $f12, 0x0240($s0) ## 00000240
|
||||
/* 00424 809CEB04 46120182 */ mul.s $f6, $f0, $f18
|
||||
/* 00428 809CEB08 46062201 */ sub.s $f8, $f4, $f6
|
||||
/* 0042C 809CEB0C 0C0329C8 */ jal Math_SinF
|
||||
/* 00430 809CEB10 E6080054 */ swc1 $f8, 0x0054($s0) ## 00000054
|
||||
/* 00434 809CEB14 3C01809D */ lui $at, %hi(D_809D15E4) ## $at = 809D0000
|
||||
/* 00438 809CEB18 C43015E4 */ lwc1 $f16, %lo(D_809D15E4)($at)
|
||||
/* 0043C 809CEB1C C60A024C */ lwc1 $f10, 0x024C($s0) ## 0000024C
|
||||
/* 00440 809CEB20 3C01809D */ lui $at, %hi(D_809D15E8) ## $at = 809D0000
|
||||
/* 00444 809CEB24 C42615E8 */ lwc1 $f6, %lo(D_809D15E8)($at)
|
||||
/* 00448 809CEB28 46105482 */ mul.s $f18, $f10, $f16
|
||||
/* 0044C 809CEB2C C60C0240 */ lwc1 $f12, 0x0240($s0) ## 00000240
|
||||
/* 00450 809CEB30 46120102 */ mul.s $f4, $f0, $f18
|
||||
/* 00454 809CEB34 46062200 */ add.s $f8, $f4, $f6
|
||||
/* 00458 809CEB38 0C0329DD */ jal Math_CosF
|
||||
/* 0045C 809CEB3C E6080058 */ swc1 $f8, 0x0058($s0) ## 00000058
|
||||
/* 00460 809CEB40 92020232 */ lbu $v0, 0x0232($s0) ## 00000232
|
||||
/* 00464 809CEB44 C7A20058 */ lwc1 $f2, 0x0058($sp)
|
||||
/* 00468 809CEB48 46000386 */ mov.s $f14, $f0
|
||||
/* 0046C 809CEB4C 54400019 */ bnel $v0, $zero, .L809CEBB4
|
||||
/* 00470 809CEB50 44809000 */ mtc1 $zero, $f18 ## $f18 = 0.00
|
||||
/* 00474 809CEB54 44805000 */ mtc1 $zero, $f10 ## $f10 = 0.00
|
||||
/* 00478 809CEB58 44808000 */ mtc1 $zero, $f16 ## $f16 = 0.00
|
||||
/* 0047C 809CEB5C 244F0001 */ addiu $t7, $v0, 0x0001 ## $t7 = 00000001
|
||||
/* 00480 809CEB60 4602503E */ c.le.s $f10, $f2
|
||||
/* 00484 809CEB64 00000000 */ nop
|
||||
/* 00488 809CEB68 45020004 */ bc1fl .L809CEB7C
|
||||
/* 0048C 809CEB6C 46001307 */ neg.s $f12, $f2
|
||||
/* 00490 809CEB70 10000002 */ beq $zero, $zero, .L809CEB7C
|
||||
/* 00494 809CEB74 46001306 */ mov.s $f12, $f2
|
||||
/* 00498 809CEB78 46001307 */ neg.s $f12, $f2
|
||||
.L809CEB7C:
|
||||
/* 0049C 809CEB7C 4600803E */ c.le.s $f16, $f0
|
||||
/* 004A0 809CEB80 00000000 */ nop
|
||||
/* 004A4 809CEB84 45020004 */ bc1fl .L809CEB98
|
||||
/* 004A8 809CEB88 46000087 */ neg.s $f2, $f0
|
||||
/* 004AC 809CEB8C 10000002 */ beq $zero, $zero, .L809CEB98
|
||||
/* 004B0 809CEB90 46000086 */ mov.s $f2, $f0
|
||||
/* 004B4 809CEB94 46000087 */ neg.s $f2, $f0
|
||||
.L809CEB98:
|
||||
/* 004B8 809CEB98 4602603C */ c.lt.s $f12, $f2
|
||||
/* 004BC 809CEB9C 00000000 */ nop
|
||||
/* 004C0 809CEBA0 4502001D */ bc1fl .L809CEC18
|
||||
/* 004C4 809CEBA4 3C014120 */ lui $at, 0x4120 ## $at = 41200000
|
||||
/* 004C8 809CEBA8 1000001A */ beq $zero, $zero, .L809CEC14
|
||||
/* 004CC 809CEBAC A20F0232 */ sb $t7, 0x0232($s0) ## 00000232
|
||||
/* 004D0 809CEBB0 44809000 */ mtc1 $zero, $f18 ## $f18 = 0.00
|
||||
.L809CEBB4:
|
||||
/* 004D4 809CEBB4 44802000 */ mtc1 $zero, $f4 ## $f4 = 0.00
|
||||
/* 004D8 809CEBB8 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 004DC 809CEBBC 4602903E */ c.le.s $f18, $f2
|
||||
/* 004E0 809CEBC0 24053974 */ addiu $a1, $zero, 0x3974 ## $a1 = 00003974
|
||||
/* 004E4 809CEBC4 45020004 */ bc1fl .L809CEBD8
|
||||
/* 004E8 809CEBC8 46001307 */ neg.s $f12, $f2
|
||||
/* 004EC 809CEBCC 10000002 */ beq $zero, $zero, .L809CEBD8
|
||||
/* 004F0 809CEBD0 46001306 */ mov.s $f12, $f2
|
||||
/* 004F4 809CEBD4 46001307 */ neg.s $f12, $f2
|
||||
.L809CEBD8:
|
||||
/* 004F8 809CEBD8 4600203E */ c.le.s $f4, $f0
|
||||
/* 004FC 809CEBDC 00000000 */ nop
|
||||
/* 00500 809CEBE0 45020004 */ bc1fl .L809CEBF4
|
||||
/* 00504 809CEBE4 46000087 */ neg.s $f2, $f0
|
||||
/* 00508 809CEBE8 10000002 */ beq $zero, $zero, .L809CEBF4
|
||||
/* 0050C 809CEBEC 46000086 */ mov.s $f2, $f0
|
||||
/* 00510 809CEBF0 46000087 */ neg.s $f2, $f0
|
||||
.L809CEBF4:
|
||||
/* 00514 809CEBF4 460C103C */ c.lt.s $f2, $f12
|
||||
/* 00518 809CEBF8 00000000 */ nop
|
||||
/* 0051C 809CEBFC 45020006 */ bc1fl .L809CEC18
|
||||
/* 00520 809CEC00 3C014120 */ lui $at, 0x4120 ## $at = 41200000
|
||||
/* 00524 809CEC04 0C00BE0A */ jal Audio_PlayActorSound2
|
||||
|
||||
/* 00528 809CEC08 E7AE005C */ swc1 $f14, 0x005C($sp)
|
||||
/* 0052C 809CEC0C C7AE005C */ lwc1 $f14, 0x005C($sp)
|
||||
/* 00530 809CEC10 A2000232 */ sb $zero, 0x0232($s0) ## 00000232
|
||||
.L809CEC14:
|
||||
/* 00534 809CEC14 3C014120 */ lui $at, 0x4120 ## $at = 41200000
|
||||
.L809CEC18:
|
||||
/* 00538 809CEC18 44813000 */ mtc1 $at, $f6 ## $f6 = 10.00
|
||||
/* 0053C 809CEC1C C6080244 */ lwc1 $f8, 0x0244($s0) ## 00000244
|
||||
/* 00540 809CEC20 C610024C */ lwc1 $f16, 0x024C($s0) ## 0000024C
|
||||
/* 00544 809CEC24 44802000 */ mtc1 $zero, $f4 ## $f4 = 0.00
|
||||
/* 00548 809CEC28 46083282 */ mul.s $f10, $f6, $f8
|
||||
/* 0054C 809CEC2C 00000000 */ nop
|
||||
/* 00550 809CEC30 460A8482 */ mul.s $f18, $f16, $f10
|
||||
/* 00554 809CEC34 00000000 */ nop
|
||||
/* 00558 809CEC38 46127382 */ mul.s $f14, $f14, $f18
|
||||
/* 0055C 809CEC3C 460E203E */ c.le.s $f4, $f14
|
||||
/* 00560 809CEC40 00000000 */ nop
|
||||
/* 00564 809CEC44 45000003 */ bc1f .L809CEC54
|
||||
/* 00568 809CEC48 00000000 */ nop
|
||||
/* 0056C 809CEC4C 10000003 */ beq $zero, $zero, .L809CEC5C
|
||||
/* 00570 809CEC50 E60E0068 */ swc1 $f14, 0x0068($s0) ## 00000068
|
||||
.L809CEC54:
|
||||
/* 00574 809CEC54 46007187 */ neg.s $f6, $f14
|
||||
/* 00578 809CEC58 E6060068 */ swc1 $f6, 0x0068($s0) ## 00000068
|
||||
.L809CEC5C:
|
||||
/* 0057C 809CEC5C 92180221 */ lbu $t8, 0x0221($s0) ## 00000221
|
||||
/* 00580 809CEC60 24010001 */ addiu $at, $zero, 0x0001 ## $at = 00000001
|
||||
/* 00584 809CEC64 53010013 */ beql $t8, $at, .L809CECB4
|
||||
/* 00588 809CEC68 8FAB007C */ lw $t3, 0x007C($sp)
|
||||
/* 0058C 809CEC6C 0C0329C8 */ jal Math_SinF
|
||||
/* 00590 809CEC70 C60C0240 */ lwc1 $f12, 0x0240($s0) ## 00000240
|
||||
/* 00594 809CEC74 44804000 */ mtc1 $zero, $f8 ## $f8 = 0.00
|
||||
/* 00598 809CEC78 3C0142AA */ lui $at, 0x42AA ## $at = 42AA0000
|
||||
/* 0059C 809CEC7C 44818000 */ mtc1 $at, $f16 ## $f16 = 85.00
|
||||
/* 005A0 809CEC80 4600403E */ c.le.s $f8, $f0
|
||||
/* 005A4 809CEC84 00000000 */ nop
|
||||
/* 005A8 809CEC88 45020004 */ bc1fl .L809CEC9C
|
||||
/* 005AC 809CEC8C 46000087 */ neg.s $f2, $f0
|
||||
/* 005B0 809CEC90 10000002 */ beq $zero, $zero, .L809CEC9C
|
||||
/* 005B4 809CEC94 46000086 */ mov.s $f2, $f0
|
||||
/* 005B8 809CEC98 46000087 */ neg.s $f2, $f0
|
||||
.L809CEC9C:
|
||||
/* 005BC 809CEC9C 46101282 */ mul.s $f10, $f2, $f16
|
||||
/* 005C0 809CECA0 4600548D */ trunc.w.s $f18, $f10
|
||||
/* 005C4 809CECA4 440A9000 */ mfc1 $t2, $f18
|
||||
/* 005C8 809CECA8 00000000 */ nop
|
||||
/* 005CC 809CECAC A20A022D */ sb $t2, 0x022D($s0) ## 0000022D
|
||||
/* 005D0 809CECB0 8FAB007C */ lw $t3, 0x007C($sp)
|
||||
.L809CECB4:
|
||||
/* 005D4 809CECB4 3C010001 */ lui $at, 0x0001 ## $at = 00010000
|
||||
/* 005D8 809CECB8 3C0E0001 */ lui $t6, 0x0001 ## $t6 = 00010000
|
||||
/* 005DC 809CECBC 01616021 */ addu $t4, $t3, $at
|
||||
/* 005E0 809CECC0 AFAC003C */ sw $t4, 0x003C($sp)
|
||||
/* 005E4 809CECC4 01CB7021 */ addu $t6, $t6, $t3
|
||||
/* 005E8 809CECC8 8DCE1DE4 */ lw $t6, 0x1DE4($t6) ## 00011DE4
|
||||
/* 005EC 809CECCC 860D001C */ lh $t5, 0x001C($s0) ## 0000001C
|
||||
/* 005F0 809CECD0 31CF0003 */ andi $t7, $t6, 0x0003 ## $t7 = 00000000
|
||||
/* 005F4 809CECD4 55AF0015 */ bnel $t5, $t7, .L809CED2C
|
||||
/* 005F8 809CECD8 86090222 */ lh $t1, 0x0222($s0) ## 00000222
|
||||
/* 005FC 809CECDC 44802000 */ mtc1 $zero, $f4 ## $f4 = 0.00
|
||||
/* 00600 809CECE0 C6060068 */ lwc1 $f6, 0x0068($s0) ## 00000068
|
||||
/* 00604 809CECE4 256407C0 */ addiu $a0, $t3, 0x07C0 ## $a0 = 000007C0
|
||||
/* 00608 809CECE8 26050024 */ addiu $a1, $s0, 0x0024 ## $a1 = 00000024
|
||||
/* 0060C 809CECEC 46062032 */ c.eq.s $f4, $f6
|
||||
/* 00610 809CECF0 26060264 */ addiu $a2, $s0, 0x0264 ## $a2 = 00000264
|
||||
/* 00614 809CECF4 27A70068 */ addiu $a3, $sp, 0x0068 ## $a3 = FFFFFFF0
|
||||
/* 00618 809CECF8 27B80074 */ addiu $t8, $sp, 0x0074 ## $t8 = FFFFFFFC
|
||||
/* 0061C 809CECFC 4501000A */ bc1t .L809CED28
|
||||
/* 00620 809CED00 24190001 */ addiu $t9, $zero, 0x0001 ## $t9 = 00000001
|
||||
/* 00624 809CED04 24080001 */ addiu $t0, $zero, 0x0001 ## $t0 = 00000001
|
||||
/* 00628 809CED08 AFA80020 */ sw $t0, 0x0020($sp)
|
||||
/* 0062C 809CED0C AFB80010 */ sw $t8, 0x0010($sp)
|
||||
/* 00630 809CED10 AFB90014 */ sw $t9, 0x0014($sp)
|
||||
/* 00634 809CED14 AFA00018 */ sw $zero, 0x0018($sp)
|
||||
/* 00638 809CED18 0C00F83F */ jal func_8003E0FC
|
||||
/* 0063C 809CED1C AFA0001C */ sw $zero, 0x001C($sp)
|
||||
/* 00640 809CED20 14400004 */ bne $v0, $zero, .L809CED34
|
||||
/* 00644 809CED24 AFA20064 */ sw $v0, 0x0064($sp)
|
||||
.L809CED28:
|
||||
/* 00648 809CED28 86090222 */ lh $t1, 0x0222($s0) ## 00000222
|
||||
.L809CED2C:
|
||||
/* 0064C 809CED2C 552000AC */ bnel $t1, $zero, .L809CEFE0
|
||||
/* 00650 809CED30 44808000 */ mtc1 $zero, $f16 ## $f16 = 0.00
|
||||
.L809CED34:
|
||||
/* 00654 809CED34 8FAA0074 */ lw $t2, 0x0074($sp)
|
||||
/* 00658 809CED38 8FAC0074 */ lw $t4, 0x0074($sp)
|
||||
/* 0065C 809CED3C 3C0B8016 */ lui $t3, %hi(gSegments)
|
||||
/* 00660 809CED40 11400020 */ beq $t2, $zero, .L809CEDC4
|
||||
/* 00664 809CED44 000C7100 */ sll $t6, $t4, 4
|
||||
/* 00668 809CED48 000E6F02 */ srl $t5, $t6, 28
|
||||
/* 0066C 809CED4C 000D7880 */ sll $t7, $t5, 2
|
||||
/* 00670 809CED50 016F5821 */ addu $t3, $t3, $t7
|
||||
/* 00674 809CED54 3C0100FF */ lui $at, 0x00FF ## $at = 00FF0000
|
||||
/* 00678 809CED58 8D6B6FA8 */ lw $t3, %lo(gSegments)($t3)
|
||||
/* 0067C 809CED5C 3421FFFF */ ori $at, $at, 0xFFFF ## $at = 00FFFFFF
|
||||
/* 00680 809CED60 0181C024 */ and $t8, $t4, $at
|
||||
/* 00684 809CED64 3C018000 */ lui $at, 0x8000 ## $at = 80000000
|
||||
/* 00688 809CED68 0178C821 */ addu $t9, $t3, $t8
|
||||
/* 0068C 809CED6C 03214021 */ addu $t0, $t9, $at
|
||||
/* 00690 809CED70 AFA80074 */ sw $t0, 0x0074($sp)
|
||||
/* 00694 809CED74 3C098000 */ lui $t1, %hi(D_80000008)
|
||||
/* 00698 809CED78 3C0A8000 */ lui $t2, %hi(D_8000000C)
|
||||
/* 0069C 809CED7C 01595021 */ addu $t2, $t2, $t9
|
||||
/* 006A0 809CED80 01394821 */ addu $t1, $t1, $t9
|
||||
/* 006A4 809CED84 85290008 */ lh $t1, %lo(D_80000008)($t1)
|
||||
/* 006A8 809CED88 854A000C */ lh $t2, %lo(D_8000000C)($t2)
|
||||
/* 006AC 809CED8C 44894000 */ mtc1 $t1, $f8 ## $f8 = -0.00
|
||||
/* 006B0 809CED90 448A8000 */ mtc1 $t2, $f16 ## $f16 = -0.00
|
||||
/* 006B4 809CED94 46804320 */ cvt.s.w $f12, $f8
|
||||
/* 006B8 809CED98 0C03F494 */ jal Math_FAtan2F
|
||||
/* 006BC 809CED9C 468083A0 */ cvt.s.w $f14, $f16
|
||||
/* 006C0 809CEDA0 3C01809D */ lui $at, %hi(D_809D15EC) ## $at = 809D0000
|
||||
/* 006C4 809CEDA4 C42A15EC */ lwc1 $f10, %lo(D_809D15EC)($at)
|
||||
/* 006C8 809CEDA8 460A0482 */ mul.s $f18, $f0, $f10
|
||||
/* 006CC 809CEDAC 4600910D */ trunc.w.s $f4, $f18
|
||||
/* 006D0 809CEDB0 44032000 */ mfc1 $v1, $f4
|
||||
/* 006D4 809CEDB4 00000000 */ nop
|
||||
/* 006D8 809CEDB8 00031C00 */ sll $v1, $v1, 16
|
||||
/* 006DC 809CEDBC 10000006 */ beq $zero, $zero, .L809CEDD8
|
||||
/* 006E0 809CEDC0 00031C03 */ sra $v1, $v1, 16
|
||||
.L809CEDC4:
|
||||
/* 006E4 809CEDC4 86030032 */ lh $v1, 0x0032($s0) ## 00000032
|
||||
/* 006E8 809CEDC8 34018000 */ ori $at, $zero, 0x8000 ## $at = 00008000
|
||||
/* 006EC 809CEDCC 00611821 */ addu $v1, $v1, $at
|
||||
/* 006F0 809CEDD0 00031C00 */ sll $v1, $v1, 16
|
||||
/* 006F4 809CEDD4 00031C03 */ sra $v1, $v1, 16
|
||||
.L809CEDD8:
|
||||
/* 006F8 809CEDD8 860D0236 */ lh $t5, 0x0236($s0) ## 00000236
|
||||
/* 006FC 809CEDDC 8FA4007C */ lw $a0, 0x007C($sp)
|
||||
/* 00700 809CEDE0 8FAF0064 */ lw $t7, 0x0064($sp)
|
||||
/* 00704 809CEDE4 146D0002 */ bne $v1, $t5, .L809CEDF0
|
||||
/* 00708 809CEDE8 248407C0 */ addiu $a0, $a0, 0x07C0 ## $a0 = 000007C0
|
||||
/* 0070C 809CEDEC 15E000FC */ bne $t7, $zero, .L809CF1E0
|
||||
.L809CEDF0:
|
||||
/* 00710 809CEDF0 26050270 */ addiu $a1, $s0, 0x0270 ## $a1 = 00000270
|
||||
/* 00714 809CEDF4 27AC0074 */ addiu $t4, $sp, 0x0074 ## $t4 = FFFFFFFC
|
||||
/* 00718 809CEDF8 240B0001 */ addiu $t3, $zero, 0x0001 ## $t3 = 00000001
|
||||
/* 0071C 809CEDFC 24180001 */ addiu $t8, $zero, 0x0001 ## $t8 = 00000001
|
||||
/* 00720 809CEE00 AFB80020 */ sw $t8, 0x0020($sp)
|
||||
/* 00724 809CEE04 AFAB0014 */ sw $t3, 0x0014($sp)
|
||||
/* 00728 809CEE08 AFAC0010 */ sw $t4, 0x0010($sp)
|
||||
/* 0072C 809CEE0C AFA50038 */ sw $a1, 0x0038($sp)
|
||||
/* 00730 809CEE10 26060288 */ addiu $a2, $s0, 0x0288 ## $a2 = 00000288
|
||||
/* 00734 809CEE14 27A70068 */ addiu $a3, $sp, 0x0068 ## $a3 = FFFFFFF0
|
||||
/* 00738 809CEE18 AFA00018 */ sw $zero, 0x0018($sp)
|
||||
/* 0073C 809CEE1C AFA0001C */ sw $zero, 0x001C($sp)
|
||||
/* 00740 809CEE20 A7A30062 */ sh $v1, 0x0062($sp)
|
||||
/* 00744 809CEE24 0C00F83F */ jal func_8003E0FC
|
||||
/* 00748 809CEE28 AFA40040 */ sw $a0, 0x0040($sp)
|
||||
/* 0074C 809CEE2C 87A30062 */ lh $v1, 0x0062($sp)
|
||||
/* 00750 809CEE30 8FA40040 */ lw $a0, 0x0040($sp)
|
||||
/* 00754 809CEE34 10400004 */ beq $v0, $zero, .L809CEE48
|
||||
/* 00758 809CEE38 8FA50038 */ lw $a1, 0x0038($sp)
|
||||
/* 0075C 809CEE3C 8FA80064 */ lw $t0, 0x0064($sp)
|
||||
/* 00760 809CEE40 35090002 */ ori $t1, $t0, 0x0002 ## $t1 = 00000002
|
||||
/* 00764 809CEE44 AFA90064 */ sw $t1, 0x0064($sp)
|
||||
.L809CEE48:
|
||||
/* 00768 809CEE48 27B90074 */ addiu $t9, $sp, 0x0074 ## $t9 = FFFFFFFC
|
||||
/* 0076C 809CEE4C 240A0001 */ addiu $t2, $zero, 0x0001 ## $t2 = 00000001
|
||||
/* 00770 809CEE50 240E0001 */ addiu $t6, $zero, 0x0001 ## $t6 = 00000001
|
||||
/* 00774 809CEE54 AFAE0020 */ sw $t6, 0x0020($sp)
|
||||
/* 00778 809CEE58 AFAA0014 */ sw $t2, 0x0014($sp)
|
||||
/* 0077C 809CEE5C AFB90010 */ sw $t9, 0x0010($sp)
|
||||
/* 00780 809CEE60 2606027C */ addiu $a2, $s0, 0x027C ## $a2 = 0000027C
|
||||
/* 00784 809CEE64 27A70068 */ addiu $a3, $sp, 0x0068 ## $a3 = FFFFFFF0
|
||||
/* 00788 809CEE68 AFA00018 */ sw $zero, 0x0018($sp)
|
||||
/* 0078C 809CEE6C AFA0001C */ sw $zero, 0x001C($sp)
|
||||
/* 00790 809CEE70 0C00F83F */ jal func_8003E0FC
|
||||
/* 00794 809CEE74 A7A30062 */ sh $v1, 0x0062($sp)
|
||||
/* 00798 809CEE78 10400004 */ beq $v0, $zero, .L809CEE8C
|
||||
/* 0079C 809CEE7C 87A30062 */ lh $v1, 0x0062($sp)
|
||||
/* 007A0 809CEE80 8FAD0064 */ lw $t5, 0x0064($sp)
|
||||
/* 007A4 809CEE84 35AF0004 */ ori $t7, $t5, 0x0004 ## $t7 = 00000004
|
||||
/* 007A8 809CEE88 AFAF0064 */ sw $t7, 0x0064($sp)
|
||||
.L809CEE8C:
|
||||
/* 007AC 809CEE8C 8FAC0064 */ lw $t4, 0x0064($sp)
|
||||
/* 007B0 809CEE90 2D810008 */ sltiu $at, $t4, 0x0008
|
||||
/* 007B4 809CEE94 10200041 */ beq $at, $zero, .L809CEF9C
|
||||
/* 007B8 809CEE98 000C6080 */ sll $t4, $t4, 2
|
||||
/* 007BC 809CEE9C 3C01809D */ lui $at, %hi(jtbl_809D15F0) ## $at = 809D0000
|
||||
/* 007C0 809CEEA0 002C0821 */ addu $at, $at, $t4
|
||||
/* 007C4 809CEEA4 8C2C15F0 */ lw $t4, %lo(jtbl_809D15F0)($at)
|
||||
/* 007C8 809CEEA8 01800008 */ jr $t4
|
||||
/* 007CC 809CEEAC 00000000 */ nop
|
||||
glabel L809CEEB0
|
||||
/* 007D0 809CEEB0 860B0236 */ lh $t3, 0x0236($s0) ## 00000236
|
||||
/* 007D4 809CEEB4 86180238 */ lh $t8, 0x0238($s0) ## 00000238
|
||||
/* 007D8 809CEEB8 01784021 */ addu $t0, $t3, $t8
|
||||
/* 007DC 809CEEBC A6080236 */ sh $t0, 0x0236($s0) ## 00000236
|
||||
glabel L809CEEC0
|
||||
/* 007E0 809CEEC0 92090221 */ lbu $t1, 0x0221($s0) ## 00000221
|
||||
/* 007E4 809CEEC4 24010003 */ addiu $at, $zero, 0x0003 ## $at = 00000003
|
||||
/* 007E8 809CEEC8 8FB9003C */ lw $t9, 0x003C($sp)
|
||||
/* 007EC 809CEECC 5521000C */ bnel $t1, $at, .L809CEF00
|
||||
/* 007F0 809CEED0 860C008A */ lh $t4, 0x008A($s0) ## 0000008A
|
||||
/* 007F4 809CEED4 8F2A1DE4 */ lw $t2, 0x1DE4($t9) ## 00001DE4
|
||||
/* 007F8 809CEED8 240D4000 */ addiu $t5, $zero, 0x4000 ## $t5 = 00004000
|
||||
/* 007FC 809CEEDC 240FC000 */ addiu $t7, $zero, 0xC000 ## $t7 = FFFFC000
|
||||
/* 00800 809CEEE0 314E0002 */ andi $t6, $t2, 0x0002 ## $t6 = 00000000
|
||||
/* 00804 809CEEE4 11C00003 */ beq $t6, $zero, .L809CEEF4
|
||||
/* 00808 809CEEE8 00000000 */ nop
|
||||
/* 0080C 809CEEEC 1000002B */ beq $zero, $zero, .L809CEF9C
|
||||
/* 00810 809CEEF0 A60D0238 */ sh $t5, 0x0238($s0) ## 00000238
|
||||
.L809CEEF4:
|
||||
/* 00814 809CEEF4 10000029 */ beq $zero, $zero, .L809CEF9C
|
||||
/* 00818 809CEEF8 A60F0238 */ sh $t7, 0x0238($s0) ## 00000238
|
||||
/* 0081C 809CEEFC 860C008A */ lh $t4, 0x008A($s0) ## 0000008A
|
||||
.L809CEF00:
|
||||
/* 00820 809CEF00 860B00B6 */ lh $t3, 0x00B6($s0) ## 000000B6
|
||||
/* 00824 809CEF04 44808000 */ mtc1 $zero, $f16 ## $f16 = 0.00
|
||||
/* 00828 809CEF08 24194000 */ addiu $t9, $zero, 0x4000 ## $t9 = 00004000
|
||||
/* 0082C 809CEF0C 018BC023 */ subu $t8, $t4, $t3
|
||||
/* 00830 809CEF10 00184400 */ sll $t0, $t8, 16
|
||||
/* 00834 809CEF14 00084C03 */ sra $t1, $t0, 16
|
||||
/* 00838 809CEF18 44893000 */ mtc1 $t1, $f6 ## $f6 = 0.00
|
||||
/* 0083C 809CEF1C 240AC000 */ addiu $t2, $zero, 0xC000 ## $t2 = FFFFC000
|
||||
/* 00840 809CEF20 46803220 */ cvt.s.w $f8, $f6
|
||||
/* 00844 809CEF24 4608803E */ c.le.s $f16, $f8
|
||||
/* 00848 809CEF28 00000000 */ nop
|
||||
/* 0084C 809CEF2C 45020004 */ bc1fl .L809CEF40
|
||||
/* 00850 809CEF30 A60A0238 */ sh $t2, 0x0238($s0) ## 00000238
|
||||
/* 00854 809CEF34 10000002 */ beq $zero, $zero, .L809CEF40
|
||||
/* 00858 809CEF38 A6190238 */ sh $t9, 0x0238($s0) ## 00000238
|
||||
/* 0085C 809CEF3C A60A0238 */ sh $t2, 0x0238($s0) ## 00000238
|
||||
.L809CEF40:
|
||||
/* 00860 809CEF40 920E0221 */ lbu $t6, 0x0221($s0) ## 00000221
|
||||
/* 00864 809CEF44 24010001 */ addiu $at, $zero, 0x0001 ## $at = 00000001
|
||||
/* 00868 809CEF48 55C10015 */ bnel $t6, $at, .L809CEFA0
|
||||
/* 0086C 809CEF4C 8FAD0064 */ lw $t5, 0x0064($sp)
|
||||
/* 00870 809CEF50 860D0238 */ lh $t5, 0x0238($s0) ## 00000238
|
||||
/* 00874 809CEF54 000D7823 */ subu $t7, $zero, $t5
|
||||
/* 00878 809CEF58 10000010 */ beq $zero, $zero, .L809CEF9C
|
||||
/* 0087C 809CEF5C A60F0238 */ sh $t7, 0x0238($s0) ## 00000238
|
||||
glabel L809CEF60
|
||||
/* 00880 809CEF60 860C0236 */ lh $t4, 0x0236($s0) ## 00000236
|
||||
/* 00884 809CEF64 860B0238 */ lh $t3, 0x0238($s0) ## 00000238
|
||||
/* 00888 809CEF68 018BC021 */ addu $t8, $t4, $t3
|
||||
/* 0088C 809CEF6C A6180236 */ sh $t8, 0x0236($s0) ## 00000236
|
||||
glabel L809CEF70
|
||||
/* 00890 809CEF70 24084000 */ addiu $t0, $zero, 0x4000 ## $t0 = 00004000
|
||||
/* 00894 809CEF74 10000009 */ beq $zero, $zero, .L809CEF9C
|
||||
/* 00898 809CEF78 A6080238 */ sh $t0, 0x0238($s0) ## 00000238
|
||||
glabel L809CEF7C
|
||||
/* 0089C 809CEF7C 86090236 */ lh $t1, 0x0236($s0) ## 00000236
|
||||
/* 008A0 809CEF80 86190238 */ lh $t9, 0x0238($s0) ## 00000238
|
||||
/* 008A4 809CEF84 01395021 */ addu $t2, $t1, $t9
|
||||
/* 008A8 809CEF88 A60A0236 */ sh $t2, 0x0236($s0) ## 00000236
|
||||
glabel L809CEF8C
|
||||
/* 008AC 809CEF8C 240EC000 */ addiu $t6, $zero, 0xC000 ## $t6 = FFFFC000
|
||||
/* 008B0 809CEF90 10000002 */ beq $zero, $zero, .L809CEF9C
|
||||
/* 008B4 809CEF94 A60E0238 */ sh $t6, 0x0238($s0) ## 00000238
|
||||
glabel L809CEF98
|
||||
/* 008B8 809CEF98 A6000238 */ sh $zero, 0x0238($s0) ## 00000238
|
||||
glabel L809CEF9C
|
||||
.L809CEF9C:
|
||||
/* 008BC 809CEF9C 8FAD0064 */ lw $t5, 0x0064($sp)
|
||||
.L809CEFA0:
|
||||
/* 008C0 809CEFA0 24010006 */ addiu $at, $zero, 0x0006 ## $at = 00000006
|
||||
/* 008C4 809CEFA4 11A10002 */ beq $t5, $at, .L809CEFB0
|
||||
/* 008C8 809CEFA8 00000000 */ nop
|
||||
/* 008CC 809CEFAC A6030236 */ sh $v1, 0x0236($s0) ## 00000236
|
||||
.L809CEFB0:
|
||||
/* 008D0 809CEFB0 0C03F66B */ jal Rand_ZeroOne
|
||||
## Rand.Next() float
|
||||
/* 008D4 809CEFB4 00000000 */ nop
|
||||
/* 008D8 809CEFB8 3C014348 */ lui $at, 0x4348 ## $at = 43480000
|
||||
/* 008DC 809CEFBC 44815000 */ mtc1 $at, $f10 ## $f10 = 200.00
|
||||
/* 008E0 809CEFC0 44812000 */ mtc1 $at, $f4 ## $f4 = 200.00
|
||||
/* 008E4 809CEFC4 460A0482 */ mul.s $f18, $f0, $f10
|
||||
/* 008E8 809CEFC8 46049180 */ add.s $f6, $f18, $f4
|
||||
/* 008EC 809CEFCC 4600320D */ trunc.w.s $f8, $f6
|
||||
/* 008F0 809CEFD0 440C4000 */ mfc1 $t4, $f8
|
||||
/* 008F4 809CEFD4 10000082 */ beq $zero, $zero, .L809CF1E0
|
||||
/* 008F8 809CEFD8 A60C0222 */ sh $t4, 0x0222($s0) ## 00000222
|
||||
/* 008FC 809CEFDC 44808000 */ mtc1 $zero, $f16 ## $f16 = 0.00
|
||||
.L809CEFE0:
|
||||
/* 00900 809CEFE0 C60A0068 */ lwc1 $f10, 0x0068($s0) ## 00000068
|
||||
/* 00904 809CEFE4 460A8032 */ c.eq.s $f16, $f10
|
||||
/* 00908 809CEFE8 00000000 */ nop
|
||||
/* 0090C 809CEFEC 4503007D */ bc1tl .L809CF1E4
|
||||
/* 00910 809CEFF0 86080222 */ lh $t0, 0x0222($s0) ## 00000222
|
||||
/* 00914 809CEFF4 960B0088 */ lhu $t3, 0x0088($s0) ## 00000088
|
||||
/* 00918 809CEFF8 31780008 */ andi $t8, $t3, 0x0008 ## $t8 = 00000000
|
||||
/* 0091C 809CEFFC 53000079 */ beql $t8, $zero, .L809CF1E4
|
||||
/* 00920 809CF000 86080222 */ lh $t0, 0x0222($s0) ## 00000222
|
||||
/* 00924 809CF004 8603007E */ lh $v1, 0x007E($s0) ## 0000007E
|
||||
/* 00928 809CF008 86080236 */ lh $t0, 0x0236($s0) ## 00000236
|
||||
/* 0092C 809CF00C 92020221 */ lbu $v0, 0x0221($s0) ## 00000221
|
||||
/* 00930 809CF010 24090001 */ addiu $t1, $zero, 0x0001 ## $t1 = 00000001
|
||||
/* 00934 809CF014 10680030 */ beq $v1, $t0, .L809CF0D8
|
||||
/* 00938 809CF018 24010003 */ addiu $at, $zero, 0x0003 ## $at = 00000003
|
||||
/* 0093C 809CF01C AFA90064 */ sw $t1, 0x0064($sp)
|
||||
/* 00940 809CF020 14410019 */ bne $v0, $at, .L809CF088
|
||||
/* 00944 809CF024 A6030236 */ sh $v1, 0x0236($s0) ## 00000236
|
||||
/* 00948 809CF028 8FB9003C */ lw $t9, 0x003C($sp)
|
||||
/* 0094C 809CF02C 240D4000 */ addiu $t5, $zero, 0x4000 ## $t5 = 00004000
|
||||
/* 00950 809CF030 240FC000 */ addiu $t7, $zero, 0xC000 ## $t7 = FFFFC000
|
||||
/* 00954 809CF034 8F2A1DE4 */ lw $t2, 0x1DE4($t9) ## 00001DE4
|
||||
/* 00958 809CF038 314E0020 */ andi $t6, $t2, 0x0020 ## $t6 = 00000000
|
||||
/* 0095C 809CF03C 51C00004 */ beql $t6, $zero, .L809CF050
|
||||
/* 00960 809CF040 A60F0238 */ sh $t7, 0x0238($s0) ## 00000238
|
||||
/* 00964 809CF044 10000002 */ beq $zero, $zero, .L809CF050
|
||||
/* 00968 809CF048 A60D0238 */ sh $t5, 0x0238($s0) ## 00000238
|
||||
/* 0096C 809CF04C A60F0238 */ sh $t7, 0x0238($s0) ## 00000238
|
||||
.L809CF050:
|
||||
/* 00970 809CF050 960C0088 */ lhu $t4, 0x0088($s0) ## 00000088
|
||||
/* 00974 809CF054 318BFFF7 */ andi $t3, $t4, 0xFFF7 ## $t3 = 00000000
|
||||
/* 00978 809CF058 0C03F66B */ jal Rand_ZeroOne
|
||||
## Rand.Next() float
|
||||
/* 0097C 809CF05C A60B0088 */ sh $t3, 0x0088($s0) ## 00000088
|
||||
/* 00980 809CF060 3C0141A0 */ lui $at, 0x41A0 ## $at = 41A00000
|
||||
/* 00984 809CF064 44819000 */ mtc1 $at, $f18 ## $f18 = 20.00
|
||||
/* 00988 809CF068 3C014320 */ lui $at, 0x4320 ## $at = 43200000
|
||||
/* 0098C 809CF06C 44813000 */ mtc1 $at, $f6 ## $f6 = 160.00
|
||||
/* 00990 809CF070 46120102 */ mul.s $f4, $f0, $f18
|
||||
/* 00994 809CF074 46062200 */ add.s $f8, $f4, $f6
|
||||
/* 00998 809CF078 4600440D */ trunc.w.s $f16, $f8
|
||||
/* 0099C 809CF07C 44088000 */ mfc1 $t0, $f16
|
||||
/* 009A0 809CF080 10000057 */ beq $zero, $zero, .L809CF1E0
|
||||
/* 009A4 809CF084 A6080222 */ sh $t0, 0x0222($s0) ## 00000222
|
||||
.L809CF088:
|
||||
/* 009A8 809CF088 8609008A */ lh $t1, 0x008A($s0) ## 0000008A
|
||||
/* 009AC 809CF08C 86190236 */ lh $t9, 0x0236($s0) ## 00000236
|
||||
/* 009B0 809CF090 240F4000 */ addiu $t7, $zero, 0x4000 ## $t7 = 00004000
|
||||
/* 009B4 809CF094 240CC000 */ addiu $t4, $zero, 0xC000 ## $t4 = FFFFC000
|
||||
/* 009B8 809CF098 01395023 */ subu $t2, $t1, $t9
|
||||
/* 009BC 809CF09C 000A7400 */ sll $t6, $t2, 16
|
||||
/* 009C0 809CF0A0 000E6C03 */ sra $t5, $t6, 16
|
||||
/* 009C4 809CF0A4 05A20004 */ bltzl $t5, .L809CF0B8
|
||||
/* 009C8 809CF0A8 A60C0238 */ sh $t4, 0x0238($s0) ## 00000238
|
||||
/* 009CC 809CF0AC 10000002 */ beq $zero, $zero, .L809CF0B8
|
||||
/* 009D0 809CF0B0 A60F0238 */ sh $t7, 0x0238($s0) ## 00000238
|
||||
/* 009D4 809CF0B4 A60C0238 */ sh $t4, 0x0238($s0) ## 00000238
|
||||
.L809CF0B8:
|
||||
/* 009D8 809CF0B8 920B0221 */ lbu $t3, 0x0221($s0) ## 00000221
|
||||
/* 009DC 809CF0BC 24010001 */ addiu $at, $zero, 0x0001 ## $at = 00000001
|
||||
/* 009E0 809CF0C0 55610048 */ bnel $t3, $at, .L809CF1E4
|
||||
/* 009E4 809CF0C4 86080222 */ lh $t0, 0x0222($s0) ## 00000222
|
||||
/* 009E8 809CF0C8 86180238 */ lh $t8, 0x0238($s0) ## 00000238
|
||||
/* 009EC 809CF0CC 00184023 */ subu $t0, $zero, $t8
|
||||
/* 009F0 809CF0D0 10000043 */ beq $zero, $zero, .L809CF1E0
|
||||
/* 009F4 809CF0D4 A6080238 */ sh $t0, 0x0238($s0) ## 00000238
|
||||
.L809CF0D8:
|
||||
/* 009F8 809CF0D8 14400041 */ bne $v0, $zero, .L809CF1E0
|
||||
/* 009FC 809CF0DC 8FA4007C */ lw $a0, 0x007C($sp)
|
||||
/* 00A00 809CF0E0 8FA60054 */ lw $a2, 0x0054($sp)
|
||||
/* 00A04 809CF0E4 27A90074 */ addiu $t1, $sp, 0x0074 ## $t1 = FFFFFFFC
|
||||
/* 00A08 809CF0E8 24190001 */ addiu $t9, $zero, 0x0001 ## $t9 = 00000001
|
||||
/* 00A0C 809CF0EC 240A0001 */ addiu $t2, $zero, 0x0001 ## $t2 = 00000001
|
||||
/* 00A10 809CF0F0 AFAA0020 */ sw $t2, 0x0020($sp)
|
||||
/* 00A14 809CF0F4 AFB90014 */ sw $t9, 0x0014($sp)
|
||||
/* 00A18 809CF0F8 AFA90010 */ sw $t1, 0x0010($sp)
|
||||
/* 00A1C 809CF0FC 248407C0 */ addiu $a0, $a0, 0x07C0 ## $a0 = 000007C0
|
||||
/* 00A20 809CF100 26050024 */ addiu $a1, $s0, 0x0024 ## $a1 = 00000024
|
||||
/* 00A24 809CF104 27A70068 */ addiu $a3, $sp, 0x0068 ## $a3 = FFFFFFF0
|
||||
/* 00A28 809CF108 AFA00018 */ sw $zero, 0x0018($sp)
|
||||
/* 00A2C 809CF10C AFA0001C */ sw $zero, 0x001C($sp)
|
||||
/* 00A30 809CF110 0C00F83F */ jal func_8003E0FC
|
||||
/* 00A34 809CF114 24C60024 */ addiu $a2, $a2, 0x0024 ## $a2 = 00000024
|
||||
/* 00A38 809CF118 10400031 */ beq $v0, $zero, .L809CF1E0
|
||||
/* 00A3C 809CF11C AFA20064 */ sw $v0, 0x0064($sp)
|
||||
/* 00A40 809CF120 8FAE0074 */ lw $t6, 0x0074($sp)
|
||||
/* 00A44 809CF124 3C0B8016 */ lui $t3, %hi(gSegments)
|
||||
/* 00A48 809CF128 3C0100FF */ lui $at, 0x00FF ## $at = 00FF0000
|
||||
/* 00A4C 809CF12C 000E6900 */ sll $t5, $t6, 4
|
||||
/* 00A50 809CF130 000D7F02 */ srl $t7, $t5, 28
|
||||
/* 00A54 809CF134 000F6080 */ sll $t4, $t7, 2
|
||||
/* 00A58 809CF138 016C5821 */ addu $t3, $t3, $t4
|
||||
/* 00A5C 809CF13C 8D6B6FA8 */ lw $t3, %lo(gSegments)($t3)
|
||||
/* 00A60 809CF140 3421FFFF */ ori $at, $at, 0xFFFF ## $at = 00FFFFFF
|
||||
/* 00A64 809CF144 01C1C024 */ and $t8, $t6, $at
|
||||
/* 00A68 809CF148 3C018000 */ lui $at, 0x8000 ## $at = 80000000
|
||||
/* 00A6C 809CF14C 01784021 */ addu $t0, $t3, $t8
|
||||
/* 00A70 809CF150 01014821 */ addu $t1, $t0, $at
|
||||
/* 00A74 809CF154 AFA90074 */ sw $t1, 0x0074($sp)
|
||||
/* 00A78 809CF158 3C198000 */ lui $t9, %hi(D_80000008)
|
||||
/* 00A7C 809CF15C 3C0A8000 */ lui $t2, %hi(D_8000000C)
|
||||
/* 00A80 809CF160 01485021 */ addu $t2, $t2, $t0
|
||||
/* 00A84 809CF164 0328C821 */ addu $t9, $t9, $t0
|
||||
/* 00A88 809CF168 87390008 */ lh $t9, %lo(D_80000008)($t9)
|
||||
/* 00A8C 809CF16C 854A000C */ lh $t2, %lo(D_8000000C)($t2)
|
||||
/* 00A90 809CF170 44995000 */ mtc1 $t9, $f10 ## $f10 = -0.00
|
||||
/* 00A94 809CF174 448A9000 */ mtc1 $t2, $f18 ## $f18 = -0.00
|
||||
/* 00A98 809CF178 46805320 */ cvt.s.w $f12, $f10
|
||||
/* 00A9C 809CF17C 0C03F494 */ jal Math_FAtan2F
|
||||
/* 00AA0 809CF180 468093A0 */ cvt.s.w $f14, $f18
|
||||
/* 00AA4 809CF184 3C01809D */ lui $at, %hi(D_809D1610) ## $at = 809D0000
|
||||
/* 00AA8 809CF188 C4241610 */ lwc1 $f4, %lo(D_809D1610)($at)
|
||||
/* 00AAC 809CF18C 860F0236 */ lh $t7, 0x0236($s0) ## 00000236
|
||||
/* 00AB0 809CF190 46040182 */ mul.s $f6, $f0, $f4
|
||||
/* 00AB4 809CF194 4600320D */ trunc.w.s $f8, $f6
|
||||
/* 00AB8 809CF198 44024000 */ mfc1 $v0, $f8
|
||||
/* 00ABC 809CF19C 00000000 */ nop
|
||||
/* 00AC0 809CF1A0 00021400 */ sll $v0, $v0, 16
|
||||
/* 00AC4 809CF1A4 00021403 */ sra $v0, $v0, 16
|
||||
/* 00AC8 809CF1A8 504F000E */ beql $v0, $t7, .L809CF1E4
|
||||
/* 00ACC 809CF1AC 86080222 */ lh $t0, 0x0222($s0) ## 00000222
|
||||
/* 00AD0 809CF1B0 860C008A */ lh $t4, 0x008A($s0) ## 0000008A
|
||||
/* 00AD4 809CF1B4 24094000 */ addiu $t1, $zero, 0x4000 ## $t1 = 00004000
|
||||
/* 00AD8 809CF1B8 2419C000 */ addiu $t9, $zero, 0xC000 ## $t9 = FFFFC000
|
||||
/* 00ADC 809CF1BC 01827023 */ subu $t6, $t4, $v0
|
||||
/* 00AE0 809CF1C0 000E5C00 */ sll $t3, $t6, 16
|
||||
/* 00AE4 809CF1C4 000BC403 */ sra $t8, $t3, 16
|
||||
/* 00AE8 809CF1C8 07020004 */ bltzl $t8, .L809CF1DC
|
||||
/* 00AEC 809CF1CC A6190238 */ sh $t9, 0x0238($s0) ## 00000238
|
||||
/* 00AF0 809CF1D0 10000002 */ beq $zero, $zero, .L809CF1DC
|
||||
/* 00AF4 809CF1D4 A6090238 */ sh $t1, 0x0238($s0) ## 00000238
|
||||
/* 00AF8 809CF1D8 A6190238 */ sh $t9, 0x0238($s0) ## 00000238
|
||||
.L809CF1DC:
|
||||
/* 00AFC 809CF1DC A6020236 */ sh $v0, 0x0236($s0) ## 00000236
|
||||
.L809CF1E0:
|
||||
/* 00B00 809CF1E0 86080222 */ lh $t0, 0x0222($s0) ## 00000222
|
||||
.L809CF1E4:
|
||||
/* 00B04 809CF1E4 86020224 */ lh $v0, 0x0224($s0) ## 00000224
|
||||
/* 00B08 809CF1E8 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 00B0C 809CF1EC 250AFFFF */ addiu $t2, $t0, 0xFFFF ## $t2 = FFFFFFFF
|
||||
/* 00B10 809CF1F0 10400003 */ beq $v0, $zero, .L809CF200
|
||||
/* 00B14 809CF1F4 A60A0222 */ sh $t2, 0x0222($s0) ## 00000222
|
||||
/* 00B18 809CF1F8 244DFFFF */ addiu $t5, $v0, 0xFFFF ## $t5 = FFFFFFFF
|
||||
/* 00B1C 809CF1FC A60D0224 */ sh $t5, 0x0224($s0) ## 00000224
|
||||
.L809CF200:
|
||||
/* 00B20 809CF200 860F0234 */ lh $t7, 0x0234($s0) ## 00000234
|
||||
/* 00B24 809CF204 55E00014 */ bnel $t7, $zero, .L809CF258
|
||||
/* 00B28 809CF208 92030221 */ lbu $v1, 0x0221($s0) ## 00000221
|
||||
/* 00B2C 809CF20C 860C0236 */ lh $t4, 0x0236($s0) ## 00000236
|
||||
/* 00B30 809CF210 860E0238 */ lh $t6, 0x0238($s0) ## 00000238
|
||||
/* 00B34 809CF214 8FA5007C */ lw $a1, 0x007C($sp)
|
||||
/* 00B38 809CF218 3C064248 */ lui $a2, 0x4248 ## $a2 = 42480000
|
||||
/* 00B3C 809CF21C 018E3821 */ addu $a3, $t4, $t6
|
||||
/* 00B40 809CF220 00073C00 */ sll $a3, $a3, 16
|
||||
/* 00B44 809CF224 0C00CE6E */ jal func_800339B8
|
||||
/* 00B48 809CF228 00073C03 */ sra $a3, $a3, 16
|
||||
/* 00B4C 809CF22C 5440000A */ bnel $v0, $zero, .L809CF258
|
||||
/* 00B50 809CF230 92030221 */ lbu $v1, 0x0221($s0) ## 00000221
|
||||
/* 00B54 809CF234 860B0238 */ lh $t3, 0x0238($s0) ## 00000238
|
||||
/* 00B58 809CF238 24014000 */ addiu $at, $zero, 0x4000 ## $at = 00004000
|
||||
/* 00B5C 809CF23C 24184000 */ addiu $t8, $zero, 0x4000 ## $t8 = 00004000
|
||||
/* 00B60 809CF240 11610003 */ beq $t3, $at, .L809CF250
|
||||
/* 00B64 809CF244 2409C000 */ addiu $t1, $zero, 0xC000 ## $t1 = FFFFC000
|
||||
/* 00B68 809CF248 10000002 */ beq $zero, $zero, .L809CF254
|
||||
/* 00B6C 809CF24C A6180238 */ sh $t8, 0x0238($s0) ## 00000238
|
||||
.L809CF250:
|
||||
/* 00B70 809CF250 A6090238 */ sh $t1, 0x0238($s0) ## 00000238
|
||||
.L809CF254:
|
||||
/* 00B74 809CF254 92030221 */ lbu $v1, 0x0221($s0) ## 00000221
|
||||
.L809CF258:
|
||||
/* 00B78 809CF258 3C053F19 */ lui $a1, 0x3F19 ## $a1 = 3F190000
|
||||
/* 00B7C 809CF25C 34A5999A */ ori $a1, $a1, 0x999A ## $a1 = 3F19999A
|
||||
/* 00B80 809CF260 10600045 */ beq $v1, $zero, .L809CF378
|
||||
/* 00B84 809CF264 26040248 */ addiu $a0, $s0, 0x0248 ## $a0 = 00000248
|
||||
/* 00B88 809CF268 24010001 */ addiu $at, $zero, 0x0001 ## $at = 00000001
|
||||
/* 00B8C 809CF26C 106100A6 */ beq $v1, $at, .L809CF508
|
||||
/* 00B90 809CF270 8FAC0064 */ lw $t4, 0x0064($sp)
|
||||
/* 00B94 809CF274 24010003 */ addiu $at, $zero, 0x0003 ## $at = 00000003
|
||||
/* 00B98 809CF278 14610125 */ bne $v1, $at, .L809CF710
|
||||
/* 00B9C 809CF27C 26040248 */ addiu $a0, $s0, 0x0248 ## $a0 = 00000248
|
||||
/* 00BA0 809CF280 44808000 */ mtc1 $zero, $f16 ## $f16 = 0.00
|
||||
/* 00BA4 809CF284 3C053F19 */ lui $a1, 0x3F19 ## $a1 = 3F190000
|
||||
/* 00BA8 809CF288 3C073D4C */ lui $a3, 0x3D4C ## $a3 = 3D4C0000
|
||||
/* 00BAC 809CF28C 34E7CCCD */ ori $a3, $a3, 0xCCCD ## $a3 = 3D4CCCCD
|
||||
/* 00BB0 809CF290 34A5999A */ ori $a1, $a1, 0x999A ## $a1 = 3F19999A
|
||||
/* 00BB4 809CF294 3C063F80 */ lui $a2, 0x3F80 ## $a2 = 3F800000
|
||||
/* 00BB8 809CF298 0C01E0C4 */ jal Math_SmoothStepToF
|
||||
|
||||
/* 00BBC 809CF29C E7B00010 */ swc1 $f16, 0x0010($sp)
|
||||
/* 00BC0 809CF2A0 86190224 */ lh $t9, 0x0224($s0) ## 00000224
|
||||
/* 00BC4 809CF2A4 3C014348 */ lui $at, 0x4348 ## $at = 43480000
|
||||
/* 00BC8 809CF2A8 57200020 */ bnel $t9, $zero, .L809CF32C
|
||||
/* 00BCC 809CF2AC 3C01447A */ lui $at, 0x447A ## $at = 447A0000
|
||||
/* 00BD0 809CF2B0 C60A0090 */ lwc1 $f10, 0x0090($s0) ## 00000090
|
||||
/* 00BD4 809CF2B4 44819000 */ mtc1 $at, $f18 ## $f18 = 1000.00
|
||||
/* 00BD8 809CF2B8 3C014248 */ lui $at, 0x4248 ## $at = 42480000
|
||||
/* 00BDC 809CF2BC 4612503C */ c.lt.s $f10, $f18
|
||||
/* 00BE0 809CF2C0 00000000 */ nop
|
||||
/* 00BE4 809CF2C4 45020019 */ bc1fl .L809CF32C
|
||||
/* 00BE8 809CF2C8 3C01447A */ lui $at, 0x447A ## $at = 447A0000
|
||||
/* 00BEC 809CF2CC C6000094 */ lwc1 $f0, 0x0094($s0) ## 00000094
|
||||
/* 00BF0 809CF2D0 44802000 */ mtc1 $zero, $f4 ## $f4 = 0.00
|
||||
/* 00BF4 809CF2D4 44813000 */ mtc1 $at, $f6 ## $f6 = 1000.00
|
||||
/* 00BF8 809CF2D8 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 00BFC 809CF2DC 4600203E */ c.le.s $f4, $f0
|
||||
/* 00C00 809CF2E0 00000000 */ nop
|
||||
/* 00C04 809CF2E4 45020004 */ bc1fl .L809CF2F8
|
||||
/* 00C08 809CF2E8 46000087 */ neg.s $f2, $f0
|
||||
/* 00C0C 809CF2EC 10000002 */ beq $zero, $zero, .L809CF2F8
|
||||
/* 00C10 809CF2F0 46000086 */ mov.s $f2, $f0
|
||||
/* 00C14 809CF2F4 46000087 */ neg.s $f2, $f0
|
||||
.L809CF2F8:
|
||||
/* 00C18 809CF2F8 4606103C */ c.lt.s $f2, $f6
|
||||
/* 00C1C 809CF2FC 00000000 */ nop
|
||||
/* 00C20 809CF300 4502000A */ bc1fl .L809CF32C
|
||||
/* 00C24 809CF304 3C01447A */ lui $at, 0x447A ## $at = 447A0000
|
||||
/* 00C28 809CF308 0C00B821 */ jal func_8002E084
|
||||
/* 00C2C 809CF30C 24051C70 */ addiu $a1, $zero, 0x1C70 ## $a1 = 00001C70
|
||||
/* 00C30 809CF310 50400006 */ beql $v0, $zero, .L809CF32C
|
||||
/* 00C34 809CF314 3C01447A */ lui $at, 0x447A ## $at = 447A0000
|
||||
/* 00C38 809CF318 0C273DCB */ jal func_809CF72C
|
||||
/* 00C3C 809CF31C 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 00C40 809CF320 100000FC */ beq $zero, $zero, .L809CF714
|
||||
/* 00C44 809CF324 86090032 */ lh $t1, 0x0032($s0) ## 00000032
|
||||
/* 00C48 809CF328 3C01447A */ lui $at, 0x447A ## $at = 447A0000
|
||||
.L809CF32C:
|
||||
/* 00C4C 809CF32C 44818000 */ mtc1 $at, $f16 ## $f16 = 1000.00
|
||||
/* 00C50 809CF330 C6080068 */ lwc1 $f8, 0x0068($s0) ## 00000068
|
||||
/* 00C54 809CF334 86080236 */ lh $t0, 0x0236($s0) ## 00000236
|
||||
/* 00C58 809CF338 860A0238 */ lh $t2, 0x0238($s0) ## 00000238
|
||||
/* 00C5C 809CF33C 46104282 */ mul.s $f10, $f8, $f16
|
||||
/* 00C60 809CF340 AFA00010 */ sw $zero, 0x0010($sp)
|
||||
/* 00C64 809CF344 010A2821 */ addu $a1, $t0, $t2
|
||||
/* 00C68 809CF348 00052C00 */ sll $a1, $a1, 16
|
||||
/* 00C6C 809CF34C 00052C03 */ sra $a1, $a1, 16
|
||||
/* 00C70 809CF350 26040032 */ addiu $a0, $s0, 0x0032 ## $a0 = 00000032
|
||||
/* 00C74 809CF354 24060001 */ addiu $a2, $zero, 0x0001 ## $a2 = 00000001
|
||||
/* 00C78 809CF358 4600548D */ trunc.w.s $f18, $f10
|
||||
/* 00C7C 809CF35C 44079000 */ mfc1 $a3, $f18
|
||||
/* 00C80 809CF360 00000000 */ nop
|
||||
/* 00C84 809CF364 00073C00 */ sll $a3, $a3, 16
|
||||
/* 00C88 809CF368 0C01E1A7 */ jal Math_SmoothStepToS
|
||||
|
||||
/* 00C8C 809CF36C 00073C03 */ sra $a3, $a3, 16
|
||||
/* 00C90 809CF370 100000E8 */ beq $zero, $zero, .L809CF714
|
||||
/* 00C94 809CF374 86090032 */ lh $t1, 0x0032($s0) ## 00000032
|
||||
.L809CF378:
|
||||
/* 00C98 809CF378 44802000 */ mtc1 $zero, $f4 ## $f4 = 0.00
|
||||
/* 00C9C 809CF37C 3C073D4C */ lui $a3, 0x3D4C ## $a3 = 3D4C0000
|
||||
/* 00CA0 809CF380 34E7CCCD */ ori $a3, $a3, 0xCCCD ## $a3 = 3D4CCCCD
|
||||
/* 00CA4 809CF384 3C063F80 */ lui $a2, 0x3F80 ## $a2 = 3F800000
|
||||
/* 00CA8 809CF388 0C01E0C4 */ jal Math_SmoothStepToF
|
||||
|
||||
/* 00CAC 809CF38C E7A40010 */ swc1 $f4, 0x0010($sp)
|
||||
/* 00CB0 809CF390 8FAF0064 */ lw $t7, 0x0064($sp)
|
||||
/* 00CB4 809CF394 3C01447A */ lui $at, 0x447A ## $at = 447A0000
|
||||
/* 00CB8 809CF398 55E0002E */ bnel $t7, $zero, .L809CF454
|
||||
/* 00CBC 809CF39C C6100068 */ lwc1 $f16, 0x0068($s0) ## 00000068
|
||||
/* 00CC0 809CF3A0 3C01447A */ lui $at, 0x447A ## $at = 447A0000
|
||||
/* 00CC4 809CF3A4 44814000 */ mtc1 $at, $f8 ## $f8 = 1000.00
|
||||
/* 00CC8 809CF3A8 C6060068 */ lwc1 $f6, 0x0068($s0) ## 00000068
|
||||
/* 00CCC 809CF3AC 8605008A */ lh $a1, 0x008A($s0) ## 0000008A
|
||||
/* 00CD0 809CF3B0 AFA00010 */ sw $zero, 0x0010($sp)
|
||||
/* 00CD4 809CF3B4 46083402 */ mul.s $f16, $f6, $f8
|
||||
/* 00CD8 809CF3B8 26040032 */ addiu $a0, $s0, 0x0032 ## $a0 = 00000032
|
||||
/* 00CDC 809CF3BC 24060001 */ addiu $a2, $zero, 0x0001 ## $a2 = 00000001
|
||||
/* 00CE0 809CF3C0 4600828D */ trunc.w.s $f10, $f16
|
||||
/* 00CE4 809CF3C4 44075000 */ mfc1 $a3, $f10
|
||||
/* 00CE8 809CF3C8 00000000 */ nop
|
||||
/* 00CEC 809CF3CC 00073C00 */ sll $a3, $a3, 16
|
||||
/* 00CF0 809CF3D0 0C01E1A7 */ jal Math_SmoothStepToS
|
||||
|
||||
/* 00CF4 809CF3D4 00073C03 */ sra $a3, $a3, 16
|
||||
/* 00CF8 809CF3D8 3C0142B4 */ lui $at, 0x42B4 ## $at = 42B40000
|
||||
/* 00CFC 809CF3DC 44812000 */ mtc1 $at, $f4 ## $f4 = 90.00
|
||||
/* 00D00 809CF3E0 C6120090 */ lwc1 $f18, 0x0090($s0) ## 00000090
|
||||
/* 00D04 809CF3E4 3C014248 */ lui $at, 0x4248 ## $at = 42480000
|
||||
/* 00D08 809CF3E8 4604903C */ c.lt.s $f18, $f4
|
||||
/* 00D0C 809CF3EC 00000000 */ nop
|
||||
/* 00D10 809CF3F0 45020029 */ bc1fl .L809CF498
|
||||
/* 00D14 809CF3F4 86090224 */ lh $t1, 0x0224($s0) ## 00000224
|
||||
/* 00D18 809CF3F8 C6060094 */ lwc1 $f6, 0x0094($s0) ## 00000094
|
||||
/* 00D1C 809CF3FC 44814000 */ mtc1 $at, $f8 ## $f8 = 50.00
|
||||
/* 00D20 809CF400 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 00D24 809CF404 4608303C */ c.lt.s $f6, $f8
|
||||
/* 00D28 809CF408 00000000 */ nop
|
||||
/* 00D2C 809CF40C 45020022 */ bc1fl .L809CF498
|
||||
/* 00D30 809CF410 86090224 */ lh $t1, 0x0224($s0) ## 00000224
|
||||
/* 00D34 809CF414 0C00B821 */ jal func_8002E084
|
||||
/* 00D38 809CF418 24051554 */ addiu $a1, $zero, 0x1554 ## $a1 = 00001554
|
||||
/* 00D3C 809CF41C 1040001D */ beq $v0, $zero, .L809CF494
|
||||
/* 00D40 809CF420 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 00D44 809CF424 3C06428E */ lui $a2, 0x428E ## $a2 = 428E0000
|
||||
/* 00D48 809CF428 34C67EFC */ ori $a2, $a2, 0x7EFC ## $a2 = 428E7EFC
|
||||
/* 00D4C 809CF42C 8FA5007C */ lw $a1, 0x007C($sp)
|
||||
/* 00D50 809CF430 0C00CE6E */ jal func_800339B8
|
||||
/* 00D54 809CF434 8607008A */ lh $a3, 0x008A($s0) ## 0000008A
|
||||
/* 00D58 809CF438 50400017 */ beql $v0, $zero, .L809CF498
|
||||
/* 00D5C 809CF43C 86090224 */ lh $t1, 0x0224($s0) ## 00000224
|
||||
/* 00D60 809CF440 0C273E3C */ jal func_809CF8F0
|
||||
/* 00D64 809CF444 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 00D68 809CF448 10000013 */ beq $zero, $zero, .L809CF498
|
||||
/* 00D6C 809CF44C 86090224 */ lh $t1, 0x0224($s0) ## 00000224
|
||||
/* 00D70 809CF450 C6100068 */ lwc1 $f16, 0x0068($s0) ## 00000068
|
||||
.L809CF454:
|
||||
/* 00D74 809CF454 44815000 */ mtc1 $at, $f10 ## $f10 = 0.00
|
||||
/* 00D78 809CF458 860E0236 */ lh $t6, 0x0236($s0) ## 00000236
|
||||
/* 00D7C 809CF45C 860B0238 */ lh $t3, 0x0238($s0) ## 00000238
|
||||
/* 00D80 809CF460 460A8482 */ mul.s $f18, $f16, $f10
|
||||
/* 00D84 809CF464 AFA00010 */ sw $zero, 0x0010($sp)
|
||||
/* 00D88 809CF468 01CB2821 */ addu $a1, $t6, $t3
|
||||
/* 00D8C 809CF46C 00052C00 */ sll $a1, $a1, 16
|
||||
/* 00D90 809CF470 00052C03 */ sra $a1, $a1, 16
|
||||
/* 00D94 809CF474 26040032 */ addiu $a0, $s0, 0x0032 ## $a0 = 00000032
|
||||
/* 00D98 809CF478 24060001 */ addiu $a2, $zero, 0x0001 ## $a2 = 00000001
|
||||
/* 00D9C 809CF47C 4600910D */ trunc.w.s $f4, $f18
|
||||
/* 00DA0 809CF480 44072000 */ mfc1 $a3, $f4
|
||||
/* 00DA4 809CF484 00000000 */ nop
|
||||
/* 00DA8 809CF488 00073C00 */ sll $a3, $a3, 16
|
||||
/* 00DAC 809CF48C 0C01E1A7 */ jal Math_SmoothStepToS
|
||||
|
||||
/* 00DB0 809CF490 00073C03 */ sra $a3, $a3, 16
|
||||
.L809CF494:
|
||||
/* 00DB4 809CF494 86090224 */ lh $t1, 0x0224($s0) ## 00000224
|
||||
.L809CF498:
|
||||
/* 00DB8 809CF498 3C014270 */ lui $at, 0x4270 ## $at = 42700000
|
||||
/* 00DBC 809CF49C 240D0003 */ addiu $t5, $zero, 0x0003 ## $t5 = 00000003
|
||||
/* 00DC0 809CF4A0 11200014 */ beq $t1, $zero, .L809CF4F4
|
||||
/* 00DC4 809CF4A4 240F0096 */ addiu $t7, $zero, 0x0096 ## $t7 = 00000096
|
||||
/* 00DC8 809CF4A8 C6000094 */ lwc1 $f0, 0x0094($s0) ## 00000094
|
||||
/* 00DCC 809CF4AC 44803000 */ mtc1 $zero, $f6 ## $f6 = 0.00
|
||||
/* 00DD0 809CF4B0 44814000 */ mtc1 $at, $f8 ## $f8 = 60.00
|
||||
/* 00DD4 809CF4B4 8FB90050 */ lw $t9, 0x0050($sp)
|
||||
/* 00DD8 809CF4B8 4600303E */ c.le.s $f6, $f0
|
||||
/* 00DDC 809CF4BC 00000000 */ nop
|
||||
/* 00DE0 809CF4C0 45020004 */ bc1fl .L809CF4D4
|
||||
/* 00DE4 809CF4C4 46000087 */ neg.s $f2, $f0
|
||||
/* 00DE8 809CF4C8 10000002 */ beq $zero, $zero, .L809CF4D4
|
||||
/* 00DEC 809CF4CC 46000086 */ mov.s $f2, $f0
|
||||
/* 00DF0 809CF4D0 46000087 */ neg.s $f2, $f0
|
||||
.L809CF4D4:
|
||||
/* 00DF4 809CF4D4 4602403C */ c.lt.s $f8, $f2
|
||||
/* 00DF8 809CF4D8 00000000 */ nop
|
||||
/* 00DFC 809CF4DC 45030006 */ bc1tl .L809CF4F8
|
||||
/* 00E00 809CF4E0 44808000 */ mtc1 $zero, $f16 ## $f16 = 0.00
|
||||
/* 00E04 809CF4E4 8F28067C */ lw $t0, 0x067C($t9) ## 0000067C
|
||||
/* 00E08 809CF4E8 310A6000 */ andi $t2, $t0, 0x6000 ## $t2 = 00000000
|
||||
/* 00E0C 809CF4EC 51400089 */ beql $t2, $zero, .L809CF714
|
||||
/* 00E10 809CF4F0 86090032 */ lh $t1, 0x0032($s0) ## 00000032
|
||||
.L809CF4F4:
|
||||
/* 00E14 809CF4F4 44808000 */ mtc1 $zero, $f16 ## $f16 = 0.00
|
||||
.L809CF4F8:
|
||||
/* 00E18 809CF4F8 A20D0221 */ sb $t5, 0x0221($s0) ## 00000221
|
||||
/* 00E1C 809CF4FC A60F0224 */ sh $t7, 0x0224($s0) ## 00000224
|
||||
/* 00E20 809CF500 10000083 */ beq $zero, $zero, .L809CF710
|
||||
/* 00E24 809CF504 E6100250 */ swc1 $f16, 0x0250($s0) ## 00000250
|
||||
.L809CF508:
|
||||
/* 00E28 809CF508 15800005 */ bne $t4, $zero, .L809CF520
|
||||
/* 00E2C 809CF50C 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 00E30 809CF510 960E0088 */ lhu $t6, 0x0088($s0) ## 00000088
|
||||
/* 00E34 809CF514 31CB0008 */ andi $t3, $t6, 0x0008 ## $t3 = 00000000
|
||||
/* 00E38 809CF518 51600006 */ beql $t3, $zero, .L809CF534
|
||||
/* 00E3C 809CF51C 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
.L809CF520:
|
||||
/* 00E40 809CF520 0C00B821 */ jal func_8002E084
|
||||
/* 00E44 809CF524 24051C70 */ addiu $a1, $zero, 0x1C70 ## $a1 = 00001C70
|
||||
/* 00E48 809CF528 1040001D */ beq $v0, $zero, .L809CF5A0
|
||||
/* 00E4C 809CF52C 3C01447A */ lui $at, 0x447A ## $at = 447A0000
|
||||
/* 00E50 809CF530 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
.L809CF534:
|
||||
/* 00E54 809CF534 0C00B821 */ jal func_8002E084
|
||||
/* 00E58 809CF538 24051C70 */ addiu $a1, $zero, 0x1C70 ## $a1 = 00001C70
|
||||
/* 00E5C 809CF53C 50400005 */ beql $v0, $zero, .L809CF554
|
||||
/* 00E60 809CF540 8605008A */ lh $a1, 0x008A($s0) ## 0000008A
|
||||
/* 00E64 809CF544 86180238 */ lh $t8, 0x0238($s0) ## 00000238
|
||||
/* 00E68 809CF548 00184823 */ subu $t1, $zero, $t8
|
||||
/* 00E6C 809CF54C A6090238 */ sh $t1, 0x0238($s0) ## 00000238
|
||||
/* 00E70 809CF550 8605008A */ lh $a1, 0x008A($s0) ## 0000008A
|
||||
.L809CF554:
|
||||
/* 00E74 809CF554 24018000 */ addiu $at, $zero, 0x8000 ## $at = FFFF8000
|
||||
/* 00E78 809CF558 C60A0068 */ lwc1 $f10, 0x0068($s0) ## 00000068
|
||||
/* 00E7C 809CF55C 00A12821 */ addu $a1, $a1, $at
|
||||
/* 00E80 809CF560 3C01447A */ lui $at, 0x447A ## $at = 447A0000
|
||||
/* 00E84 809CF564 44819000 */ mtc1 $at, $f18 ## $f18 = 1000.00
|
||||
/* 00E88 809CF568 00052C00 */ sll $a1, $a1, 16
|
||||
/* 00E8C 809CF56C 00052C03 */ sra $a1, $a1, 16
|
||||
/* 00E90 809CF570 46125102 */ mul.s $f4, $f10, $f18
|
||||
/* 00E94 809CF574 AFA00010 */ sw $zero, 0x0010($sp)
|
||||
/* 00E98 809CF578 26040032 */ addiu $a0, $s0, 0x0032 ## $a0 = 00000032
|
||||
/* 00E9C 809CF57C 24060001 */ addiu $a2, $zero, 0x0001 ## $a2 = 00000001
|
||||
/* 00EA0 809CF580 4600218D */ trunc.w.s $f6, $f4
|
||||
/* 00EA4 809CF584 44073000 */ mfc1 $a3, $f6
|
||||
/* 00EA8 809CF588 00000000 */ nop
|
||||
/* 00EAC 809CF58C 00073C00 */ sll $a3, $a3, 16
|
||||
/* 00EB0 809CF590 0C01E1A7 */ jal Math_SmoothStepToS
|
||||
|
||||
/* 00EB4 809CF594 00073C03 */ sra $a3, $a3, 16
|
||||
/* 00EB8 809CF598 10000013 */ beq $zero, $zero, .L809CF5E8
|
||||
/* 00EBC 809CF59C 86020224 */ lh $v0, 0x0224($s0) ## 00000224
|
||||
.L809CF5A0:
|
||||
/* 00EC0 809CF5A0 C6080068 */ lwc1 $f8, 0x0068($s0) ## 00000068
|
||||
/* 00EC4 809CF5A4 44818000 */ mtc1 $at, $f16 ## $f16 = 0.00
|
||||
/* 00EC8 809CF5A8 86080236 */ lh $t0, 0x0236($s0) ## 00000236
|
||||
/* 00ECC 809CF5AC 860A0238 */ lh $t2, 0x0238($s0) ## 00000238
|
||||
/* 00ED0 809CF5B0 46104282 */ mul.s $f10, $f8, $f16
|
||||
/* 00ED4 809CF5B4 AFA00010 */ sw $zero, 0x0010($sp)
|
||||
/* 00ED8 809CF5B8 010A2821 */ addu $a1, $t0, $t2
|
||||
/* 00EDC 809CF5BC 00052C00 */ sll $a1, $a1, 16
|
||||
/* 00EE0 809CF5C0 00052C03 */ sra $a1, $a1, 16
|
||||
/* 00EE4 809CF5C4 26040032 */ addiu $a0, $s0, 0x0032 ## $a0 = 00000032
|
||||
/* 00EE8 809CF5C8 24060001 */ addiu $a2, $zero, 0x0001 ## $a2 = 00000001
|
||||
/* 00EEC 809CF5CC 4600548D */ trunc.w.s $f18, $f10
|
||||
/* 00EF0 809CF5D0 44079000 */ mfc1 $a3, $f18
|
||||
/* 00EF4 809CF5D4 00000000 */ nop
|
||||
/* 00EF8 809CF5D8 00073C00 */ sll $a3, $a3, 16
|
||||
/* 00EFC 809CF5DC 0C01E1A7 */ jal Math_SmoothStepToS
|
||||
|
||||
/* 00F00 809CF5E0 00073C03 */ sra $a3, $a3, 16
|
||||
/* 00F04 809CF5E4 86020224 */ lh $v0, 0x0224($s0) ## 00000224
|
||||
.L809CF5E8:
|
||||
/* 00F08 809CF5E8 240F0960 */ addiu $t7, $zero, 0x0960 ## $t7 = 00000960
|
||||
/* 00F0C 809CF5EC 284100C9 */ slti $at, $v0, 0x00C9
|
||||
/* 00F10 809CF5F0 10200047 */ beq $at, $zero, .L809CF710
|
||||
/* 00F14 809CF5F4 01E26023 */ subu $t4, $t7, $v0
|
||||
/* 00F18 809CF5F8 004C0019 */ multu $v0, $t4
|
||||
/* 00F1C 809CF5FC 00002012 */ mflo $a0
|
||||
/* 00F20 809CF600 00042400 */ sll $a0, $a0, 16
|
||||
/* 00F24 809CF604 0C01DE1C */ jal Math_SinS
|
||||
## sins?
|
||||
/* 00F28 809CF608 00042403 */ sra $a0, $a0, 16
|
||||
/* 00F2C 809CF60C 3C01425C */ lui $at, 0x425C ## $at = 425C0000
|
||||
/* 00F30 809CF610 44812000 */ mtc1 $at, $f4 ## $f4 = 55.00
|
||||
/* 00F34 809CF614 00000000 */ nop
|
||||
/* 00F38 809CF618 46040182 */ mul.s $f6, $f0, $f4
|
||||
/* 00F3C 809CF61C 4600320D */ trunc.w.s $f8, $f6
|
||||
/* 00F40 809CF620 44024000 */ mfc1 $v0, $f8
|
||||
/* 00F44 809CF624 00000000 */ nop
|
||||
/* 00F48 809CF628 00021400 */ sll $v0, $v0, 16
|
||||
/* 00F4C 809CF62C 00021403 */ sra $v0, $v0, 16
|
||||
/* 00F50 809CF630 04400003 */ bltz $v0, .L809CF640
|
||||
/* 00F54 809CF634 00021823 */ subu $v1, $zero, $v0
|
||||
/* 00F58 809CF638 10000001 */ beq $zero, $zero, .L809CF640
|
||||
/* 00F5C 809CF63C 00401825 */ or $v1, $v0, $zero ## $v1 = 00000000
|
||||
.L809CF640:
|
||||
/* 00F60 809CF640 86020224 */ lh $v0, 0x0224($s0) ## 00000224
|
||||
/* 00F64 809CF644 24090960 */ addiu $t1, $zero, 0x0960 ## $t1 = 00000960
|
||||
/* 00F68 809CF648 240B00FF */ addiu $t3, $zero, 0x00FF ## $t3 = 000000FF
|
||||
/* 00F6C 809CF64C 0122C823 */ subu $t9, $t1, $v0
|
||||
/* 00F70 809CF650 00590019 */ multu $v0, $t9
|
||||
/* 00F74 809CF654 0163C023 */ subu $t8, $t3, $v1
|
||||
/* 00F78 809CF658 A218022C */ sb $t8, 0x022C($s0) ## 0000022C
|
||||
/* 00F7C 809CF65C 00002012 */ mflo $a0
|
||||
/* 00F80 809CF660 00042400 */ sll $a0, $a0, 16
|
||||
/* 00F84 809CF664 0C01DE1C */ jal Math_SinS
|
||||
## sins?
|
||||
/* 00F88 809CF668 00042403 */ sra $a0, $a0, 16
|
||||
/* 00F8C 809CF66C 3C0142E6 */ lui $at, 0x42E6 ## $at = 42E60000
|
||||
/* 00F90 809CF670 44818000 */ mtc1 $at, $f16 ## $f16 = 115.00
|
||||
/* 00F94 809CF674 240F0960 */ addiu $t7, $zero, 0x0960 ## $t7 = 00000960
|
||||
/* 00F98 809CF678 46100282 */ mul.s $f10, $f0, $f16
|
||||
/* 00F9C 809CF67C 4600548D */ trunc.w.s $f18, $f10
|
||||
/* 00FA0 809CF680 44029000 */ mfc1 $v0, $f18
|
||||
/* 00FA4 809CF684 00000000 */ nop
|
||||
/* 00FA8 809CF688 00021400 */ sll $v0, $v0, 16
|
||||
/* 00FAC 809CF68C 00021403 */ sra $v0, $v0, 16
|
||||
/* 00FB0 809CF690 04400003 */ bltz $v0, .L809CF6A0
|
||||
/* 00FB4 809CF694 00021823 */ subu $v1, $zero, $v0
|
||||
/* 00FB8 809CF698 10000001 */ beq $zero, $zero, .L809CF6A0
|
||||
/* 00FBC 809CF69C 00401825 */ or $v1, $v0, $zero ## $v1 = 00000000
|
||||
.L809CF6A0:
|
||||
/* 00FC0 809CF6A0 860D0224 */ lh $t5, 0x0224($s0) ## 00000224
|
||||
/* 00FC4 809CF6A4 246A0055 */ addiu $t2, $v1, 0x0055 ## $t2 = 00000055
|
||||
/* 00FC8 809CF6A8 A20A022D */ sb $t2, 0x022D($s0) ## 0000022D
|
||||
/* 00FCC 809CF6AC 01ED2023 */ subu $a0, $t7, $t5
|
||||
/* 00FD0 809CF6B0 00042400 */ sll $a0, $a0, 16
|
||||
/* 00FD4 809CF6B4 0C01DE1C */ jal Math_SinS
|
||||
## sins?
|
||||
/* 00FD8 809CF6B8 00042403 */ sra $a0, $a0, 16
|
||||
/* 00FDC 809CF6BC 3C01437F */ lui $at, 0x437F ## $at = 437F0000
|
||||
/* 00FE0 809CF6C0 44812000 */ mtc1 $at, $f4 ## $f4 = 255.00
|
||||
/* 00FE4 809CF6C4 00000000 */ nop
|
||||
/* 00FE8 809CF6C8 46040182 */ mul.s $f6, $f0, $f4
|
||||
/* 00FEC 809CF6CC 4600320D */ trunc.w.s $f8, $f6
|
||||
/* 00FF0 809CF6D0 44024000 */ mfc1 $v0, $f8
|
||||
/* 00FF4 809CF6D4 00000000 */ nop
|
||||
/* 00FF8 809CF6D8 00021400 */ sll $v0, $v0, 16
|
||||
/* 00FFC 809CF6DC 00021403 */ sra $v0, $v0, 16
|
||||
/* 01000 809CF6E0 04400003 */ bltz $v0, .L809CF6F0
|
||||
/* 01004 809CF6E4 00027023 */ subu $t6, $zero, $v0
|
||||
/* 01008 809CF6E8 10000002 */ beq $zero, $zero, .L809CF6F4
|
||||
/* 0100C 809CF6EC A202022E */ sb $v0, 0x022E($s0) ## 0000022E
|
||||
.L809CF6F0:
|
||||
/* 01010 809CF6F0 A20E022E */ sb $t6, 0x022E($s0) ## 0000022E
|
||||
.L809CF6F4:
|
||||
/* 01014 809CF6F4 860B0224 */ lh $t3, 0x0224($s0) ## 00000224
|
||||
/* 01018 809CF6F8 55600006 */ bnel $t3, $zero, .L809CF714
|
||||
/* 0101C 809CF6FC 86090032 */ lh $t1, 0x0032($s0) ## 00000032
|
||||
/* 01020 809CF700 44808000 */ mtc1 $zero, $f16 ## $f16 = 0.00
|
||||
/* 01024 809CF704 24180003 */ addiu $t8, $zero, 0x0003 ## $t8 = 00000003
|
||||
/* 01028 809CF708 A2180221 */ sb $t8, 0x0221($s0) ## 00000221
|
||||
/* 0102C 809CF70C E6100250 */ swc1 $f16, 0x0250($s0) ## 00000250
|
||||
.L809CF710:
|
||||
/* 01030 809CF710 86090032 */ lh $t1, 0x0032($s0) ## 00000032
|
||||
.L809CF714:
|
||||
/* 01034 809CF714 A60900B6 */ sh $t1, 0x00B6($s0) ## 000000B6
|
||||
/* 01038 809CF718 8FBF0034 */ lw $ra, 0x0034($sp)
|
||||
/* 0103C 809CF71C 8FB00030 */ lw $s0, 0x0030($sp)
|
||||
/* 01040 809CF720 27BD0078 */ addiu $sp, $sp, 0x0078 ## $sp = 00000000
|
||||
/* 01044 809CF724 03E00008 */ jr $ra
|
||||
/* 01048 809CF728 00000000 */ nop
|
|
@ -1,39 +0,0 @@
|
|||
.late_rodata
|
||||
glabel D_809D1614
|
||||
.float 0.6
|
||||
|
||||
.text
|
||||
glabel func_809CF72C
|
||||
/* 0104C 809CF72C 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
|
||||
/* 01050 809CF730 AFBF0014 */ sw $ra, 0x0014($sp)
|
||||
/* 01054 809CF734 00803825 */ or $a3, $a0, $zero ## $a3 = 00000000
|
||||
/* 01058 809CF738 3C050600 */ lui $a1, %hi(D_060021A0) ## $a1 = 06000000
|
||||
/* 0105C 809CF73C 24A521A0 */ addiu $a1, $a1, %lo(D_060021A0) ## $a1 = 060021A0
|
||||
/* 01060 809CF740 AFA70018 */ sw $a3, 0x0018($sp)
|
||||
/* 01064 809CF744 2484014C */ addiu $a0, $a0, 0x014C ## $a0 = 0000014C
|
||||
/* 01068 809CF748 0C029490 */ jal SkelAnime_ChangeAnimTransitionStop
|
||||
/* 0106C 809CF74C 3C06C000 */ lui $a2, 0xC000 ## $a2 = C0000000
|
||||
/* 01070 809CF750 8FA40018 */ lw $a0, 0x0018($sp)
|
||||
/* 01074 809CF754 240E0003 */ addiu $t6, $zero, 0x0003 ## $t6 = 00000003
|
||||
/* 01078 809CF758 3C01809D */ lui $at, %hi(D_809D1614) ## $at = 809D0000
|
||||
/* 0107C 809CF75C A08E0220 */ sb $t6, 0x0220($a0) ## 00000220
|
||||
/* 01080 809CF760 A0800221 */ sb $zero, 0x0221($a0) ## 00000221
|
||||
/* 01084 809CF764 C4241614 */ lwc1 $f4, %lo(D_809D1614)($at)
|
||||
/* 01088 809CF768 44803000 */ mtc1 $zero, $f6 ## $f6 = 0.00
|
||||
/* 0108C 809CF76C 240F0014 */ addiu $t7, $zero, 0x0014 ## $t7 = 00000014
|
||||
/* 01090 809CF770 24180BB8 */ addiu $t8, $zero, 0x0BB8 ## $t8 = 00000BB8
|
||||
/* 01094 809CF774 24053975 */ addiu $a1, $zero, 0x3975 ## $a1 = 00003975
|
||||
/* 01098 809CF778 A48F0222 */ sh $t7, 0x0222($a0) ## 00000222
|
||||
/* 0109C 809CF77C A4980224 */ sh $t8, 0x0224($a0) ## 00000224
|
||||
/* 010A0 809CF780 E4840250 */ swc1 $f4, 0x0250($a0) ## 00000250
|
||||
/* 010A4 809CF784 0C00BE0A */ jal Audio_PlayActorSound2
|
||||
|
||||
/* 010A8 809CF788 E4860068 */ swc1 $f6, 0x0068($a0) ## 00000068
|
||||
/* 010AC 809CF78C 3C05809D */ lui $a1, %hi(func_809CF7AC) ## $a1 = 809D0000
|
||||
/* 010B0 809CF790 8FA40018 */ lw $a0, 0x0018($sp)
|
||||
/* 010B4 809CF794 0C2739B8 */ jal func_809CE6E0
|
||||
/* 010B8 809CF798 24A5F7AC */ addiu $a1, $a1, %lo(func_809CF7AC) ## $a1 = 809CF7AC
|
||||
/* 010BC 809CF79C 8FBF0014 */ lw $ra, 0x0014($sp)
|
||||
/* 010C0 809CF7A0 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
|
||||
/* 010C4 809CF7A4 03E00008 */ jr $ra
|
||||
/* 010C8 809CF7A8 00000000 */ nop
|
|
@ -1,112 +0,0 @@
|
|||
.late_rodata
|
||||
glabel D_809D1618
|
||||
.float 0.001
|
||||
|
||||
glabel D_809D161C
|
||||
.word 0x3C54FDF4
|
||||
glabel D_809D1620
|
||||
.word 0x3B656041
|
||||
glabel D_809D1624
|
||||
.float 0.001
|
||||
|
||||
glabel D_809D1628
|
||||
.word 0x3CC8B439
|
||||
glabel D_809D162C
|
||||
.word 0x3C54FDF4
|
||||
glabel D_809D1630
|
||||
.float 0.001
|
||||
|
||||
glabel D_809D1634
|
||||
.word 0x3C54FDF4
|
||||
glabel D_809D1638
|
||||
.word 0x3B656041
|
||||
|
||||
.text
|
||||
glabel func_809CF7AC
|
||||
/* 010CC 809CF7AC 27BDFFE0 */ addiu $sp, $sp, 0xFFE0 ## $sp = FFFFFFE0
|
||||
/* 010D0 809CF7B0 AFB00018 */ sw $s0, 0x0018($sp)
|
||||
/* 010D4 809CF7B4 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
|
||||
/* 010D8 809CF7B8 AFBF001C */ sw $ra, 0x001C($sp)
|
||||
/* 010DC 809CF7BC AFA50024 */ sw $a1, 0x0024($sp)
|
||||
/* 010E0 809CF7C0 0C02927F */ jal SkelAnime_FrameUpdateMatrix
|
||||
|
||||
/* 010E4 809CF7C4 2484014C */ addiu $a0, $a0, 0x014C ## $a0 = 0000014C
|
||||
/* 010E8 809CF7C8 50400009 */ beql $v0, $zero, .L809CF7F0
|
||||
/* 010EC 809CF7CC 86180222 */ lh $t8, 0x0222($s0) ## 00000222
|
||||
/* 010F0 809CF7D0 86020222 */ lh $v0, 0x0222($s0) ## 00000222
|
||||
/* 010F4 809CF7D4 240F0064 */ addiu $t7, $zero, 0x0064 ## $t7 = 00000064
|
||||
/* 010F8 809CF7D8 18400003 */ blez $v0, .L809CF7E8
|
||||
/* 010FC 809CF7DC 244EFFFF */ addiu $t6, $v0, 0xFFFF ## $t6 = FFFFFFFF
|
||||
/* 01100 809CF7E0 10000002 */ beq $zero, $zero, .L809CF7EC
|
||||
/* 01104 809CF7E4 A60E0222 */ sh $t6, 0x0222($s0) ## 00000222
|
||||
.L809CF7E8:
|
||||
/* 01108 809CF7E8 A60F0222 */ sh $t7, 0x0222($s0) ## 00000222
|
||||
.L809CF7EC:
|
||||
/* 0110C 809CF7EC 86180222 */ lh $t8, 0x0222($s0) ## 00000222
|
||||
.L809CF7F0:
|
||||
/* 01110 809CF7F0 2B010014 */ slti $at, $t8, 0x0014
|
||||
/* 01114 809CF7F4 54200005 */ bnel $at, $zero, .L809CF80C
|
||||
/* 01118 809CF7F8 86090224 */ lh $t1, 0x0224($s0) ## 00000224
|
||||
/* 0111C 809CF7FC 86190224 */ lh $t9, 0x0224($s0) ## 00000224
|
||||
/* 01120 809CF800 2728FF06 */ addiu $t0, $t9, 0xFF06 ## $t0 = FFFFFF06
|
||||
/* 01124 809CF804 A6080224 */ sh $t0, 0x0224($s0) ## 00000224
|
||||
/* 01128 809CF808 86090224 */ lh $t1, 0x0224($s0) ## 00000224
|
||||
.L809CF80C:
|
||||
/* 0112C 809CF80C 3C01809D */ lui $at, %hi(D_809D1618) ## $at = 809D0000
|
||||
/* 01130 809CF810 C4281618 */ lwc1 $f8, %lo(D_809D1618)($at)
|
||||
/* 01134 809CF814 44892000 */ mtc1 $t1, $f4 ## $f4 = 0.00
|
||||
/* 01138 809CF818 00000000 */ nop
|
||||
/* 0113C 809CF81C 468021A0 */ cvt.s.w $f6, $f4
|
||||
/* 01140 809CF820 46083302 */ mul.s $f12, $f6, $f8
|
||||
/* 01144 809CF824 0C0329C8 */ jal Math_SinF
|
||||
/* 01148 809CF828 00000000 */ nop
|
||||
/* 0114C 809CF82C 3C01809D */ lui $at, %hi(D_809D161C) ## $at = 809D0000
|
||||
/* 01150 809CF830 C42A161C */ lwc1 $f10, %lo(D_809D161C)($at)
|
||||
/* 01154 809CF834 3C01809D */ lui $at, %hi(D_809D1620) ## $at = 809D0000
|
||||
/* 01158 809CF838 C4301620 */ lwc1 $f16, %lo(D_809D1620)($at)
|
||||
/* 0115C 809CF83C 860A0224 */ lh $t2, 0x0224($s0) ## 00000224
|
||||
/* 01160 809CF840 3C01809D */ lui $at, %hi(D_809D1624) ## $at = 809D0000
|
||||
/* 01164 809CF844 46100482 */ mul.s $f18, $f0, $f16
|
||||
/* 01168 809CF848 448A3000 */ mtc1 $t2, $f6 ## $f6 = 0.00
|
||||
/* 0116C 809CF84C 00000000 */ nop
|
||||
/* 01170 809CF850 46803220 */ cvt.s.w $f8, $f6
|
||||
/* 01174 809CF854 46125101 */ sub.s $f4, $f10, $f18
|
||||
/* 01178 809CF858 E6040050 */ swc1 $f4, 0x0050($s0) ## 00000050
|
||||
/* 0117C 809CF85C C4301624 */ lwc1 $f16, %lo(D_809D1624)($at)
|
||||
/* 01180 809CF860 46104302 */ mul.s $f12, $f8, $f16
|
||||
/* 01184 809CF864 0C0329C8 */ jal Math_SinF
|
||||
/* 01188 809CF868 00000000 */ nop
|
||||
/* 0118C 809CF86C 3C01809D */ lui $at, %hi(D_809D1628) ## $at = 809D0000
|
||||
/* 01190 809CF870 C42A1628 */ lwc1 $f10, %lo(D_809D1628)($at)
|
||||
/* 01194 809CF874 860B0224 */ lh $t3, 0x0224($s0) ## 00000224
|
||||
/* 01198 809CF878 3C01809D */ lui $at, %hi(D_809D162C) ## $at = 809D0000
|
||||
/* 0119C 809CF87C 460A0482 */ mul.s $f18, $f0, $f10
|
||||
/* 011A0 809CF880 C424162C */ lwc1 $f4, %lo(D_809D162C)($at)
|
||||
/* 011A4 809CF884 448B4000 */ mtc1 $t3, $f8 ## $f8 = 0.00
|
||||
/* 011A8 809CF888 3C01809D */ lui $at, %hi(D_809D1630) ## $at = 809D0000
|
||||
/* 011AC 809CF88C 46804420 */ cvt.s.w $f16, $f8
|
||||
/* 011B0 809CF890 46049180 */ add.s $f6, $f18, $f4
|
||||
/* 011B4 809CF894 E6060054 */ swc1 $f6, 0x0054($s0) ## 00000054
|
||||
/* 011B8 809CF898 C42A1630 */ lwc1 $f10, %lo(D_809D1630)($at)
|
||||
/* 011BC 809CF89C 460A8302 */ mul.s $f12, $f16, $f10
|
||||
/* 011C0 809CF8A0 0C0329C8 */ jal Math_SinF
|
||||
/* 011C4 809CF8A4 00000000 */ nop
|
||||
/* 011C8 809CF8A8 3C01809D */ lui $at, %hi(D_809D1634) ## $at = 809D0000
|
||||
/* 011CC 809CF8AC C4321634 */ lwc1 $f18, %lo(D_809D1634)($at)
|
||||
/* 011D0 809CF8B0 3C01809D */ lui $at, %hi(D_809D1638) ## $at = 809D0000
|
||||
/* 011D4 809CF8B4 C4241638 */ lwc1 $f4, %lo(D_809D1638)($at)
|
||||
/* 011D8 809CF8B8 860C0224 */ lh $t4, 0x0224($s0) ## 00000224
|
||||
/* 011DC 809CF8BC 46040182 */ mul.s $f6, $f0, $f4
|
||||
/* 011E0 809CF8C0 46069201 */ sub.s $f8, $f18, $f6
|
||||
/* 011E4 809CF8C4 15800005 */ bne $t4, $zero, .L809CF8DC
|
||||
/* 011E8 809CF8C8 E6080058 */ swc1 $f8, 0x0058($s0) ## 00000058
|
||||
/* 011EC 809CF8CC 0C273A6A */ jal func_809CE9A8
|
||||
/* 011F0 809CF8D0 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 011F4 809CF8D4 240D00C8 */ addiu $t5, $zero, 0x00C8 ## $t5 = 000000C8
|
||||
/* 011F8 809CF8D8 A60D0224 */ sh $t5, 0x0224($s0) ## 00000224
|
||||
.L809CF8DC:
|
||||
/* 011FC 809CF8DC 8FBF001C */ lw $ra, 0x001C($sp)
|
||||
/* 01200 809CF8E0 8FB00018 */ lw $s0, 0x0018($sp)
|
||||
/* 01204 809CF8E4 27BD0020 */ addiu $sp, $sp, 0x0020 ## $sp = 00000000
|
||||
/* 01208 809CF8E8 03E00008 */ jr $ra
|
||||
/* 0120C 809CF8EC 00000000 */ nop
|
|
@ -1,39 +0,0 @@
|
|||
glabel func_809CF8F0
|
||||
/* 01210 809CF8F0 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
|
||||
/* 01214 809CF8F4 AFBF0014 */ sw $ra, 0x0014($sp)
|
||||
/* 01218 809CF8F8 00803825 */ or $a3, $a0, $zero ## $a3 = 00000000
|
||||
/* 0121C 809CF8FC 3C050600 */ lui $a1, %hi(D_06002250) ## $a1 = 06000000
|
||||
/* 01220 809CF900 24A52250 */ addiu $a1, $a1, %lo(D_06002250) ## $a1 = 06002250
|
||||
/* 01224 809CF904 AFA70018 */ sw $a3, 0x0018($sp)
|
||||
/* 01228 809CF908 2484014C */ addiu $a0, $a0, 0x014C ## $a0 = 0000014C
|
||||
/* 0122C 809CF90C 0C029490 */ jal SkelAnime_ChangeAnimTransitionStop
|
||||
/* 01230 809CF910 3C06BF80 */ lui $a2, 0xBF80 ## $a2 = BF800000
|
||||
/* 01234 809CF914 8FA40018 */ lw $a0, 0x0018($sp)
|
||||
/* 01238 809CF918 3C0140E0 */ lui $at, 0x40E0 ## $at = 40E00000
|
||||
/* 0123C 809CF91C 44812000 */ mtc1 $at, $f4 ## $f4 = 7.00
|
||||
/* 01240 809CF920 8482008A */ lh $v0, 0x008A($a0) ## 0000008A
|
||||
/* 01244 809CF924 3C014130 */ lui $at, 0x4130 ## $at = 41300000
|
||||
/* 01248 809CF928 44813000 */ mtc1 $at, $f6 ## $f6 = 11.00
|
||||
/* 0124C 809CF92C 240E0004 */ addiu $t6, $zero, 0x0004 ## $t6 = 00000004
|
||||
/* 01250 809CF930 240F03E8 */ addiu $t7, $zero, 0x03E8 ## $t7 = 000003E8
|
||||
/* 01254 809CF934 2405386C */ addiu $a1, $zero, 0x386C ## $a1 = 0000386C
|
||||
/* 01258 809CF938 A08E0220 */ sb $t6, 0x0220($a0) ## 00000220
|
||||
/* 0125C 809CF93C A48F0222 */ sh $t7, 0x0222($a0) ## 00000222
|
||||
/* 01260 809CF940 E4840068 */ swc1 $f4, 0x0068($a0) ## 00000068
|
||||
/* 01264 809CF944 A48200B6 */ sh $v0, 0x00B6($a0) ## 000000B6
|
||||
/* 01268 809CF948 A4820032 */ sh $v0, 0x0032($a0) ## 00000032
|
||||
/* 0126C 809CF94C 0C00BE0A */ jal Audio_PlayActorSound2
|
||||
|
||||
/* 01270 809CF950 E4860060 */ swc1 $f6, 0x0060($a0) ## 00000060
|
||||
/* 01274 809CF954 8FA40018 */ lw $a0, 0x0018($sp)
|
||||
/* 01278 809CF958 3C010100 */ lui $at, 0x0100 ## $at = 01000000
|
||||
/* 0127C 809CF95C 3C05809D */ lui $a1, %hi(func_809CF984) ## $a1 = 809D0000
|
||||
/* 01280 809CF960 8C980004 */ lw $t8, 0x0004($a0) ## 00000004
|
||||
/* 01284 809CF964 24A5F984 */ addiu $a1, $a1, %lo(func_809CF984) ## $a1 = 809CF984
|
||||
/* 01288 809CF968 0301C825 */ or $t9, $t8, $at ## $t9 = 01000000
|
||||
/* 0128C 809CF96C 0C2739B8 */ jal func_809CE6E0
|
||||
/* 01290 809CF970 AC990004 */ sw $t9, 0x0004($a0) ## 00000004
|
||||
/* 01294 809CF974 8FBF0014 */ lw $ra, 0x0014($sp)
|
||||
/* 01298 809CF978 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
|
||||
/* 0129C 809CF97C 03E00008 */ jr $ra
|
||||
/* 012A0 809CF980 00000000 */ nop
|
|
@ -1,172 +0,0 @@
|
|||
.late_rodata
|
||||
glabel D_809D163C
|
||||
.float 0.001
|
||||
|
||||
glabel D_809D1640
|
||||
.word 0x3C54FDF4
|
||||
glabel D_809D1644
|
||||
.word 0x3B656041
|
||||
glabel D_809D1648
|
||||
.float 0.001
|
||||
|
||||
glabel D_809D164C
|
||||
.word 0x3CC8B439
|
||||
glabel D_809D1650
|
||||
.word 0x3C54FDF4
|
||||
glabel D_809D1654
|
||||
.float 0.001
|
||||
|
||||
glabel D_809D1658
|
||||
.word 0x3C54FDF4
|
||||
glabel D_809D165C
|
||||
.word 0x3B656041
|
||||
|
||||
.text
|
||||
glabel func_809CF984
|
||||
/* 012A4 809CF984 27BDFFC0 */ addiu $sp, $sp, 0xFFC0 ## $sp = FFFFFFC0
|
||||
/* 012A8 809CF988 44800000 */ mtc1 $zero, $f0 ## $f0 = 0.00
|
||||
/* 012AC 809CF98C AFBF0034 */ sw $ra, 0x0034($sp)
|
||||
/* 012B0 809CF990 AFB00030 */ sw $s0, 0x0030($sp)
|
||||
/* 012B4 809CF994 AFA50044 */ sw $a1, 0x0044($sp)
|
||||
/* 012B8 809CF998 8CAF1C44 */ lw $t7, 0x1C44($a1) ## 00001C44
|
||||
/* 012BC 809CF99C 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
|
||||
/* 012C0 809CF9A0 44050000 */ mfc1 $a1, $f0
|
||||
/* 012C4 809CF9A4 24840068 */ addiu $a0, $a0, 0x0068 ## $a0 = 00000068
|
||||
/* 012C8 809CF9A8 3C063F80 */ lui $a2, 0x3F80 ## $a2 = 3F800000
|
||||
/* 012CC 809CF9AC 3C073F00 */ lui $a3, 0x3F00 ## $a3 = 3F000000
|
||||
/* 012D0 809CF9B0 E7A00010 */ swc1 $f0, 0x0010($sp)
|
||||
/* 012D4 809CF9B4 0C01E0C4 */ jal Math_SmoothStepToF
|
||||
|
||||
/* 012D8 809CF9B8 AFAF003C */ sw $t7, 0x003C($sp)
|
||||
/* 012DC 809CF9BC 86180222 */ lh $t8, 0x0222($s0) ## 00000222
|
||||
/* 012E0 809CF9C0 3C01809D */ lui $at, %hi(D_809D163C) ## $at = 809D0000
|
||||
/* 012E4 809CF9C4 271900FA */ addiu $t9, $t8, 0x00FA ## $t9 = 000000FA
|
||||
/* 012E8 809CF9C8 A6190222 */ sh $t9, 0x0222($s0) ## 00000222
|
||||
/* 012EC 809CF9CC 86080222 */ lh $t0, 0x0222($s0) ## 00000222
|
||||
/* 012F0 809CF9D0 C428163C */ lwc1 $f8, %lo(D_809D163C)($at)
|
||||
/* 012F4 809CF9D4 44882000 */ mtc1 $t0, $f4 ## $f4 = 0.00
|
||||
/* 012F8 809CF9D8 00000000 */ nop
|
||||
/* 012FC 809CF9DC 468021A0 */ cvt.s.w $f6, $f4
|
||||
/* 01300 809CF9E0 46083302 */ mul.s $f12, $f6, $f8
|
||||
/* 01304 809CF9E4 0C0329C8 */ jal Math_SinF
|
||||
/* 01308 809CF9E8 00000000 */ nop
|
||||
/* 0130C 809CF9EC 3C01809D */ lui $at, %hi(D_809D1640) ## $at = 809D0000
|
||||
/* 01310 809CF9F0 C42A1640 */ lwc1 $f10, %lo(D_809D1640)($at)
|
||||
/* 01314 809CF9F4 3C01809D */ lui $at, %hi(D_809D1644) ## $at = 809D0000
|
||||
/* 01318 809CF9F8 C4301644 */ lwc1 $f16, %lo(D_809D1644)($at)
|
||||
/* 0131C 809CF9FC 86090222 */ lh $t1, 0x0222($s0) ## 00000222
|
||||
/* 01320 809CFA00 3C01809D */ lui $at, %hi(D_809D1648) ## $at = 809D0000
|
||||
/* 01324 809CFA04 46100482 */ mul.s $f18, $f0, $f16
|
||||
/* 01328 809CFA08 44893000 */ mtc1 $t1, $f6 ## $f6 = 0.00
|
||||
/* 0132C 809CFA0C 00000000 */ nop
|
||||
/* 01330 809CFA10 46803220 */ cvt.s.w $f8, $f6
|
||||
/* 01334 809CFA14 46125101 */ sub.s $f4, $f10, $f18
|
||||
/* 01338 809CFA18 E6040050 */ swc1 $f4, 0x0050($s0) ## 00000050
|
||||
/* 0133C 809CFA1C C4301648 */ lwc1 $f16, %lo(D_809D1648)($at)
|
||||
/* 01340 809CFA20 46104302 */ mul.s $f12, $f8, $f16
|
||||
/* 01344 809CFA24 0C0329C8 */ jal Math_SinF
|
||||
/* 01348 809CFA28 00000000 */ nop
|
||||
/* 0134C 809CFA2C 3C01809D */ lui $at, %hi(D_809D164C) ## $at = 809D0000
|
||||
/* 01350 809CFA30 C42A164C */ lwc1 $f10, %lo(D_809D164C)($at)
|
||||
/* 01354 809CFA34 860A0222 */ lh $t2, 0x0222($s0) ## 00000222
|
||||
/* 01358 809CFA38 3C01809D */ lui $at, %hi(D_809D1650) ## $at = 809D0000
|
||||
/* 0135C 809CFA3C 460A0482 */ mul.s $f18, $f0, $f10
|
||||
/* 01360 809CFA40 C4241650 */ lwc1 $f4, %lo(D_809D1650)($at)
|
||||
/* 01364 809CFA44 448A4000 */ mtc1 $t2, $f8 ## $f8 = 0.00
|
||||
/* 01368 809CFA48 3C01809D */ lui $at, %hi(D_809D1654) ## $at = 809D0000
|
||||
/* 0136C 809CFA4C 46804420 */ cvt.s.w $f16, $f8
|
||||
/* 01370 809CFA50 46049180 */ add.s $f6, $f18, $f4
|
||||
/* 01374 809CFA54 E6060054 */ swc1 $f6, 0x0054($s0) ## 00000054
|
||||
/* 01378 809CFA58 C42A1654 */ lwc1 $f10, %lo(D_809D1654)($at)
|
||||
/* 0137C 809CFA5C 460A8302 */ mul.s $f12, $f16, $f10
|
||||
/* 01380 809CFA60 0C0329C8 */ jal Math_SinF
|
||||
/* 01384 809CFA64 00000000 */ nop
|
||||
/* 01388 809CFA68 3C01809D */ lui $at, %hi(D_809D1658) ## $at = 809D0000
|
||||
/* 0138C 809CFA6C C4321658 */ lwc1 $f18, %lo(D_809D1658)($at)
|
||||
/* 01390 809CFA70 3C01809D */ lui $at, %hi(D_809D165C) ## $at = 809D0000
|
||||
/* 01394 809CFA74 C424165C */ lwc1 $f4, %lo(D_809D165C)($at)
|
||||
/* 01398 809CFA78 920202A4 */ lbu $v0, 0x02A4($s0) ## 000002A4
|
||||
/* 0139C 809CFA7C 2401FFFD */ addiu $at, $zero, 0xFFFD ## $at = FFFFFFFD
|
||||
/* 013A0 809CFA80 46040182 */ mul.s $f6, $f0, $f4
|
||||
/* 013A4 809CFA84 304B0002 */ andi $t3, $v0, 0x0002 ## $t3 = 00000000
|
||||
/* 013A8 809CFA88 00416024 */ and $t4, $v0, $at
|
||||
/* 013AC 809CFA8C 3C01C0C0 */ lui $at, 0xC0C0 ## $at = C0C00000
|
||||
/* 013B0 809CFA90 46069201 */ sub.s $f8, $f18, $f6
|
||||
/* 013B4 809CFA94 1160000E */ beq $t3, $zero, .L809CFAD0
|
||||
/* 013B8 809CFA98 E6080058 */ swc1 $f8, 0x0058($s0) ## 00000058
|
||||
/* 013BC 809CFA9C 8FA4003C */ lw $a0, 0x003C($sp)
|
||||
/* 013C0 809CFAA0 8E0E0298 */ lw $t6, 0x0298($s0) ## 00000298
|
||||
/* 013C4 809CFAA4 44818000 */ mtc1 $at, $f16 ## $f16 = -6.00
|
||||
/* 013C8 809CFAA8 860D008A */ lh $t5, 0x008A($s0) ## 0000008A
|
||||
/* 013CC 809CFAAC A20C02A4 */ sb $t4, 0x02A4($s0) ## 000002A4
|
||||
/* 013D0 809CFAB0 E6100068 */ swc1 $f16, 0x0068($s0) ## 00000068
|
||||
/* 013D4 809CFAB4 148E0006 */ bne $a0, $t6, .L809CFAD0
|
||||
/* 013D8 809CFAB8 A60D0032 */ sh $t5, 0x0032($s0) ## 00000032
|
||||
/* 013DC 809CFABC 31980004 */ andi $t8, $t4, 0x0004 ## $t8 = 00000000
|
||||
/* 013E0 809CFAC0 17000003 */ bne $t8, $zero, .L809CFAD0
|
||||
/* 013E4 809CFAC4 00000000 */ nop
|
||||
/* 013E8 809CFAC8 0C00BE0A */ jal Audio_PlayActorSound2
|
||||
|
||||
/* 013EC 809CFACC 2405083E */ addiu $a1, $zero, 0x083E ## $a1 = 0000083E
|
||||
.L809CFAD0:
|
||||
/* 013F0 809CFAD0 0C02927F */ jal SkelAnime_FrameUpdateMatrix
|
||||
|
||||
/* 013F4 809CFAD4 2604014C */ addiu $a0, $s0, 0x014C ## $a0 = 0000014C
|
||||
/* 013F8 809CFAD8 96190088 */ lhu $t9, 0x0088($s0) ## 00000088
|
||||
/* 013FC 809CFADC 8FA40044 */ lw $a0, 0x0044($sp)
|
||||
/* 01400 809CFAE0 33280003 */ andi $t0, $t9, 0x0003 ## $t0 = 00000000
|
||||
/* 01404 809CFAE4 1100002B */ beq $t0, $zero, .L809CFB94
|
||||
/* 01408 809CFAE8 248407C0 */ addiu $a0, $a0, 0x07C0 ## $a0 = 000007C0
|
||||
/* 0140C 809CFAEC 8E050078 */ lw $a1, 0x0078($s0) ## 00000078
|
||||
/* 01410 809CFAF0 0C010753 */ jal func_80041D4C
|
||||
/* 01414 809CFAF4 9206007D */ lbu $a2, 0x007D($s0) ## 0000007D
|
||||
/* 01418 809CFAF8 24010002 */ addiu $at, $zero, 0x0002 ## $at = 00000002
|
||||
/* 0141C 809CFAFC 10410005 */ beq $v0, $at, .L809CFB14
|
||||
/* 01420 809CFB00 24010003 */ addiu $at, $zero, 0x0003 ## $at = 00000003
|
||||
/* 01424 809CFB04 10410003 */ beq $v0, $at, .L809CFB14
|
||||
/* 01428 809CFB08 24010009 */ addiu $at, $zero, 0x0009 ## $at = 00000009
|
||||
/* 0142C 809CFB0C 14410005 */ bne $v0, $at, .L809CFB24
|
||||
/* 01430 809CFB10 8FA40044 */ lw $a0, 0x0044($sp)
|
||||
.L809CFB14:
|
||||
/* 01434 809CFB14 0C00B55C */ jal Actor_Kill
|
||||
|
||||
/* 01438 809CFB18 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 0143C 809CFB1C 1000001E */ beq $zero, $zero, .L809CFB98
|
||||
/* 01440 809CFB20 8FBF0034 */ lw $ra, 0x0034($sp)
|
||||
.L809CFB24:
|
||||
/* 01444 809CFB24 3C014080 */ lui $at, 0x4080 ## $at = 40800000
|
||||
/* 01448 809CFB28 44815000 */ mtc1 $at, $f10 ## $f10 = 4.00
|
||||
/* 0144C 809CFB2C 2409000B */ addiu $t1, $zero, 0x000B ## $t1 = 0000000B
|
||||
/* 01450 809CFB30 AFA90010 */ sw $t1, 0x0010($sp)
|
||||
/* 01454 809CFB34 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000
|
||||
/* 01458 809CFB38 26060024 */ addiu $a2, $s0, 0x0024 ## $a2 = 00000024
|
||||
/* 0145C 809CFB3C 3C0741F0 */ lui $a3, 0x41F0 ## $a3 = 41F00000
|
||||
/* 01460 809CFB40 AFA00018 */ sw $zero, 0x0018($sp)
|
||||
/* 01464 809CFB44 AFA0001C */ sw $zero, 0x001C($sp)
|
||||
/* 01468 809CFB48 AFA00020 */ sw $zero, 0x0020($sp)
|
||||
/* 0146C 809CFB4C 0C00CC98 */ jal func_80033260
|
||||
/* 01470 809CFB50 E7AA0014 */ swc1 $f10, 0x0014($sp)
|
||||
/* 01474 809CFB54 8E0B0004 */ lw $t3, 0x0004($s0) ## 00000004
|
||||
/* 01478 809CFB58 3C01FEFF */ lui $at, 0xFEFF ## $at = FEFF0000
|
||||
/* 0147C 809CFB5C 44802000 */ mtc1 $zero, $f4 ## $f4 = 0.00
|
||||
/* 01480 809CFB60 3421FFFF */ ori $at, $at, 0xFFFF ## $at = FEFFFFFF
|
||||
/* 01484 809CFB64 240A0BB8 */ addiu $t2, $zero, 0x0BB8 ## $t2 = 00000BB8
|
||||
/* 01488 809CFB68 01616024 */ and $t4, $t3, $at
|
||||
/* 0148C 809CFB6C A60A0222 */ sh $t2, 0x0222($s0) ## 00000222
|
||||
/* 01490 809CFB70 AE0C0004 */ sw $t4, 0x0004($s0) ## 00000004
|
||||
/* 01494 809CFB74 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 01498 809CFB78 2405387B */ addiu $a1, $zero, 0x387B ## $a1 = 0000387B
|
||||
/* 0149C 809CFB7C 0C00BE0A */ jal Audio_PlayActorSound2
|
||||
|
||||
/* 014A0 809CFB80 E6040068 */ swc1 $f4, 0x0068($s0) ## 00000068
|
||||
/* 014A4 809CFB84 3C05809D */ lui $a1, %hi(func_809CE884) ## $a1 = 809D0000
|
||||
/* 014A8 809CFB88 24A5E884 */ addiu $a1, $a1, %lo(func_809CE884) ## $a1 = 809CE884
|
||||
/* 014AC 809CFB8C 0C2739B8 */ jal func_809CE6E0
|
||||
/* 014B0 809CFB90 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
.L809CFB94:
|
||||
/* 014B4 809CFB94 8FBF0034 */ lw $ra, 0x0034($sp)
|
||||
.L809CFB98:
|
||||
/* 014B8 809CFB98 8FB00030 */ lw $s0, 0x0030($sp)
|
||||
/* 014BC 809CFB9C 27BD0040 */ addiu $sp, $sp, 0x0040 ## $sp = 00000000
|
||||
/* 014C0 809CFBA0 03E00008 */ jr $ra
|
||||
/* 014C4 809CFBA4 00000000 */ nop
|
|
@ -1,44 +0,0 @@
|
|||
glabel func_809CFBA8
|
||||
/* 014C8 809CFBA8 27BDFFE0 */ addiu $sp, $sp, 0xFFE0 ## $sp = FFFFFFE0
|
||||
/* 014CC 809CFBAC AFB00018 */ sw $s0, 0x0018($sp)
|
||||
/* 014D0 809CFBB0 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
|
||||
/* 014D4 809CFBB4 AFBF001C */ sw $ra, 0x001C($sp)
|
||||
/* 014D8 809CFBB8 3C050600 */ lui $a1, %hi(D_06002250) ## $a1 = 06000000
|
||||
/* 014DC 809CFBBC 24A52250 */ addiu $a1, $a1, %lo(D_06002250) ## $a1 = 06002250
|
||||
/* 014E0 809CFBC0 2484014C */ addiu $a0, $a0, 0x014C ## $a0 = 0000014C
|
||||
/* 014E4 809CFBC4 0C0294D3 */ jal SkelAnime_ChangeAnimTransitionRepeat
|
||||
/* 014E8 809CFBC8 3C06BF80 */ lui $a2, 0xBF80 ## $a2 = BF800000
|
||||
/* 014EC 809CFBCC 44800000 */ mtc1 $zero, $f0 ## $f0 = 0.00
|
||||
/* 014F0 809CFBD0 3C014130 */ lui $at, 0x4130 ## $at = 41300000
|
||||
/* 014F4 809CFBD4 44812000 */ mtc1 $at, $f4 ## $f4 = 11.00
|
||||
/* 014F8 809CFBD8 240E0005 */ addiu $t6, $zero, 0x0005 ## $t6 = 00000005
|
||||
/* 014FC 809CFBDC 240F03E8 */ addiu $t7, $zero, 0x03E8 ## $t7 = 000003E8
|
||||
/* 01500 809CFBE0 A20E0220 */ sb $t6, 0x0220($s0) ## 00000220
|
||||
/* 01504 809CFBE4 A60F0222 */ sh $t7, 0x0222($s0) ## 00000222
|
||||
/* 01508 809CFBE8 E6000260 */ swc1 $f0, 0x0260($s0) ## 00000260
|
||||
/* 0150C 809CFBEC E6000068 */ swc1 $f0, 0x0068($s0) ## 00000068
|
||||
/* 01510 809CFBF0 0C03F66B */ jal Rand_ZeroOne
|
||||
## Rand.Next() float
|
||||
/* 01514 809CFBF4 E6040060 */ swc1 $f4, 0x0060($s0) ## 00000060
|
||||
/* 01518 809CFBF8 3C013E80 */ lui $at, 0x3E80 ## $at = 3E800000
|
||||
/* 0151C 809CFBFC 44813000 */ mtc1 $at, $f6 ## $f6 = 0.25
|
||||
/* 01520 809CFC00 3C013F80 */ lui $at, 0x3F80 ## $at = 3F800000
|
||||
/* 01524 809CFC04 44815000 */ mtc1 $at, $f10 ## $f10 = 1.00
|
||||
/* 01528 809CFC08 46060202 */ mul.s $f8, $f0, $f6
|
||||
/* 0152C 809CFC0C 24180BB8 */ addiu $t8, $zero, 0x0BB8 ## $t8 = 00000BB8
|
||||
/* 01530 809CFC10 A6180224 */ sh $t8, 0x0224($s0) ## 00000224
|
||||
/* 01534 809CFC14 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 01538 809CFC18 24053976 */ addiu $a1, $zero, 0x3976 ## $a1 = 00003976
|
||||
/* 0153C 809CFC1C 460A4400 */ add.s $f16, $f8, $f10
|
||||
/* 01540 809CFC20 0C00BE0A */ jal Audio_PlayActorSound2
|
||||
|
||||
/* 01544 809CFC24 E610025C */ swc1 $f16, 0x025C($s0) ## 0000025C
|
||||
/* 01548 809CFC28 3C05809D */ lui $a1, %hi(func_809CFC4C) ## $a1 = 809D0000
|
||||
/* 0154C 809CFC2C 24A5FC4C */ addiu $a1, $a1, %lo(func_809CFC4C) ## $a1 = 809CFC4C
|
||||
/* 01550 809CFC30 0C2739B8 */ jal func_809CE6E0
|
||||
/* 01554 809CFC34 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 01558 809CFC38 8FBF001C */ lw $ra, 0x001C($sp)
|
||||
/* 0155C 809CFC3C 8FB00018 */ lw $s0, 0x0018($sp)
|
||||
/* 01560 809CFC40 27BD0020 */ addiu $sp, $sp, 0x0020 ## $sp = 00000000
|
||||
/* 01564 809CFC44 03E00008 */ jr $ra
|
||||
/* 01568 809CFC48 00000000 */ nop
|
|
@ -1,220 +0,0 @@
|
|||
.late_rodata
|
||||
glabel D_809D1660
|
||||
.float 0.7
|
||||
|
||||
glabel D_809D1664
|
||||
.float 0.001
|
||||
|
||||
glabel D_809D1668
|
||||
.word 0x3BE56041
|
||||
glabel D_809D166C
|
||||
.word 0x3C54FDF4
|
||||
glabel D_809D1670
|
||||
.float 0.001
|
||||
|
||||
glabel D_809D1674
|
||||
.word 0x3C54FDF4
|
||||
glabel D_809D1678
|
||||
.word 0x3BE56041
|
||||
glabel D_809D167C
|
||||
.float 0.001
|
||||
|
||||
glabel D_809D1680
|
||||
.word 0x3BE56041
|
||||
glabel D_809D1684
|
||||
.word 0x3C54FDF4
|
||||
|
||||
.text
|
||||
glabel func_809CFC4C
|
||||
/* 0156C 809CFC4C 27BDFFC8 */ addiu $sp, $sp, 0xFFC8 ## $sp = FFFFFFC8
|
||||
/* 01570 809CFC50 AFB00030 */ sw $s0, 0x0030($sp)
|
||||
/* 01574 809CFC54 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
|
||||
/* 01578 809CFC58 AFBF0034 */ sw $ra, 0x0034($sp)
|
||||
/* 0157C 809CFC5C AFA5003C */ sw $a1, 0x003C($sp)
|
||||
/* 01580 809CFC60 24057FFF */ addiu $a1, $zero, 0x7FFF ## $a1 = 00007FFF
|
||||
/* 01584 809CFC64 248400B8 */ addiu $a0, $a0, 0x00B8 ## $a0 = 000000B8
|
||||
/* 01588 809CFC68 AFA00010 */ sw $zero, 0x0010($sp)
|
||||
/* 0158C 809CFC6C 24060001 */ addiu $a2, $zero, 0x0001 ## $a2 = 00000001
|
||||
/* 01590 809CFC70 0C01E1A7 */ jal Math_SmoothStepToS
|
||||
|
||||
/* 01594 809CFC74 24070FA0 */ addiu $a3, $zero, 0x0FA0 ## $a3 = 00000FA0
|
||||
/* 01598 809CFC78 44800000 */ mtc1 $zero, $f0 ## $f0 = 0.00
|
||||
/* 0159C 809CFC7C 3C073D4C */ lui $a3, 0x3D4C ## $a3 = 3D4C0000
|
||||
/* 015A0 809CFC80 34E7CCCD */ ori $a3, $a3, 0xCCCD ## $a3 = 3D4CCCCD
|
||||
/* 015A4 809CFC84 44050000 */ mfc1 $a1, $f0
|
||||
/* 015A8 809CFC88 26040248 */ addiu $a0, $s0, 0x0248 ## $a0 = 00000248
|
||||
/* 015AC 809CFC8C 3C063F80 */ lui $a2, 0x3F80 ## $a2 = 3F800000
|
||||
/* 015B0 809CFC90 0C01E0C4 */ jal Math_SmoothStepToF
|
||||
|
||||
/* 015B4 809CFC94 E7A00010 */ swc1 $f0, 0x0010($sp)
|
||||
/* 015B8 809CFC98 0C02927F */ jal SkelAnime_FrameUpdateMatrix
|
||||
|
||||
/* 015BC 809CFC9C 2604014C */ addiu $a0, $s0, 0x014C ## $a0 = 0000014C
|
||||
/* 015C0 809CFCA0 960E0088 */ lhu $t6, 0x0088($s0) ## 00000088
|
||||
/* 015C4 809CFCA4 8FB8003C */ lw $t8, 0x003C($sp)
|
||||
/* 015C8 809CFCA8 3C190001 */ lui $t9, 0x0001 ## $t9 = 00010000
|
||||
/* 015CC 809CFCAC 31CF0003 */ andi $t7, $t6, 0x0003 ## $t7 = 00000000
|
||||
/* 015D0 809CFCB0 11E0006D */ beq $t7, $zero, .L809CFE68
|
||||
/* 015D4 809CFCB4 0338C821 */ addu $t9, $t9, $t8
|
||||
/* 015D8 809CFCB8 8F391DE4 */ lw $t9, 0x1DE4($t9) ## 00011DE4
|
||||
/* 015DC 809CFCBC 3328007F */ andi $t0, $t9, 0x007F ## $t0 = 00000000
|
||||
/* 015E0 809CFCC0 5500000B */ bnel $t0, $zero, .L809CFCF0
|
||||
/* 015E4 809CFCC4 C6100258 */ lwc1 $f16, 0x0258($s0) ## 00000258
|
||||
/* 015E8 809CFCC8 0C03F66B */ jal Rand_ZeroOne
|
||||
## Rand.Next() float
|
||||
/* 015EC 809CFCCC 00000000 */ nop
|
||||
/* 015F0 809CFCD0 3C013E80 */ lui $at, 0x3E80 ## $at = 3E800000
|
||||
/* 015F4 809CFCD4 44812000 */ mtc1 $at, $f4 ## $f4 = 0.25
|
||||
/* 015F8 809CFCD8 3C01809D */ lui $at, %hi(D_809D1660) ## $at = 809D0000
|
||||
/* 015FC 809CFCDC C4281660 */ lwc1 $f8, %lo(D_809D1660)($at)
|
||||
/* 01600 809CFCE0 46040182 */ mul.s $f6, $f0, $f4
|
||||
/* 01604 809CFCE4 46083280 */ add.s $f10, $f6, $f8
|
||||
/* 01608 809CFCE8 E60A025C */ swc1 $f10, 0x025C($s0) ## 0000025C
|
||||
/* 0160C 809CFCEC C6100258 */ lwc1 $f16, 0x0258($s0) ## 00000258
|
||||
.L809CFCF0:
|
||||
/* 01610 809CFCF0 C612025C */ lwc1 $f18, 0x025C($s0) ## 0000025C
|
||||
/* 01614 809CFCF4 44803000 */ mtc1 $zero, $f6 ## $f6 = 0.00
|
||||
/* 01618 809CFCF8 24090004 */ addiu $t1, $zero, 0x0004 ## $t1 = 00000004
|
||||
/* 0161C 809CFCFC 46128100 */ add.s $f4, $f16, $f18
|
||||
/* 01620 809CFD00 A2090221 */ sb $t1, 0x0221($s0) ## 00000221
|
||||
/* 01624 809CFD04 3C053D99 */ lui $a1, 0x3D99 ## $a1 = 3D990000
|
||||
/* 01628 809CFD08 3C073BA3 */ lui $a3, 0x3BA3 ## $a3 = 3BA30000
|
||||
/* 0162C 809CFD0C E6040258 */ swc1 $f4, 0x0258($s0) ## 00000258
|
||||
/* 01630 809CFD10 34E7D70A */ ori $a3, $a3, 0xD70A ## $a3 = 3BA3D70A
|
||||
/* 01634 809CFD14 34A5999A */ ori $a1, $a1, 0x999A ## $a1 = 3D99999A
|
||||
/* 01638 809CFD18 26040260 */ addiu $a0, $s0, 0x0260 ## $a0 = 00000260
|
||||
/* 0163C 809CFD1C 3C063F80 */ lui $a2, 0x3F80 ## $a2 = 3F800000
|
||||
/* 01640 809CFD20 0C01E0C4 */ jal Math_SmoothStepToF
|
||||
|
||||
/* 01644 809CFD24 E7A60010 */ swc1 $f6, 0x0010($sp)
|
||||
/* 01648 809CFD28 960A0088 */ lhu $t2, 0x0088($s0) ## 00000088
|
||||
/* 0164C 809CFD2C 8FA4003C */ lw $a0, 0x003C($sp)
|
||||
/* 01650 809CFD30 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000
|
||||
/* 01654 809CFD34 314B0002 */ andi $t3, $t2, 0x0002 ## $t3 = 00000000
|
||||
/* 01658 809CFD38 1160000E */ beq $t3, $zero, .L809CFD74
|
||||
/* 0165C 809CFD3C 26060024 */ addiu $a2, $s0, 0x0024 ## $a2 = 00000024
|
||||
/* 01660 809CFD40 3C014080 */ lui $at, 0x4080 ## $at = 40800000
|
||||
/* 01664 809CFD44 44814000 */ mtc1 $at, $f8 ## $f8 = 4.00
|
||||
/* 01668 809CFD48 240C000B */ addiu $t4, $zero, 0x000B ## $t4 = 0000000B
|
||||
/* 0166C 809CFD4C AFAC0010 */ sw $t4, 0x0010($sp)
|
||||
/* 01670 809CFD50 3C0741F0 */ lui $a3, 0x41F0 ## $a3 = 41F00000
|
||||
/* 01674 809CFD54 AFA00018 */ sw $zero, 0x0018($sp)
|
||||
/* 01678 809CFD58 AFA0001C */ sw $zero, 0x001C($sp)
|
||||
/* 0167C 809CFD5C AFA00020 */ sw $zero, 0x0020($sp)
|
||||
/* 01680 809CFD60 0C00CC98 */ jal func_80033260
|
||||
/* 01684 809CFD64 E7A80014 */ swc1 $f8, 0x0014($sp)
|
||||
/* 01688 809CFD68 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 0168C 809CFD6C 0C00BE0A */ jal Audio_PlayActorSound2
|
||||
|
||||
/* 01690 809CFD70 2405387B */ addiu $a1, $zero, 0x387B ## $a1 = 0000387B
|
||||
.L809CFD74:
|
||||
/* 01694 809CFD74 86020224 */ lh $v0, 0x0224($s0) ## 00000224
|
||||
/* 01698 809CFD78 10400031 */ beq $v0, $zero, .L809CFE40
|
||||
/* 0169C 809CFD7C 244DFF06 */ addiu $t5, $v0, 0xFF06 ## $t5 = FFFFFF06
|
||||
/* 016A0 809CFD80 A60D0224 */ sh $t5, 0x0224($s0) ## 00000224
|
||||
/* 016A4 809CFD84 860E0224 */ lh $t6, 0x0224($s0) ## 00000224
|
||||
/* 016A8 809CFD88 3C01809D */ lui $at, %hi(D_809D1664) ## $at = 809D0000
|
||||
/* 016AC 809CFD8C C4321664 */ lwc1 $f18, %lo(D_809D1664)($at)
|
||||
/* 016B0 809CFD90 448E5000 */ mtc1 $t6, $f10 ## $f10 = 0.00
|
||||
/* 016B4 809CFD94 00000000 */ nop
|
||||
/* 016B8 809CFD98 46805420 */ cvt.s.w $f16, $f10
|
||||
/* 016BC 809CFD9C 46128302 */ mul.s $f12, $f16, $f18
|
||||
/* 016C0 809CFDA0 0C0329C8 */ jal Math_SinF
|
||||
/* 016C4 809CFDA4 00000000 */ nop
|
||||
/* 016C8 809CFDA8 3C01809D */ lui $at, %hi(D_809D1668) ## $at = 809D0000
|
||||
/* 016CC 809CFDAC C4241668 */ lwc1 $f4, %lo(D_809D1668)($at)
|
||||
/* 016D0 809CFDB0 860F0224 */ lh $t7, 0x0224($s0) ## 00000224
|
||||
/* 016D4 809CFDB4 3C01809D */ lui $at, %hi(D_809D166C) ## $at = 809D0000
|
||||
/* 016D8 809CFDB8 46040182 */ mul.s $f6, $f0, $f4
|
||||
/* 016DC 809CFDBC C428166C */ lwc1 $f8, %lo(D_809D166C)($at)
|
||||
/* 016E0 809CFDC0 448F8000 */ mtc1 $t7, $f16 ## $f16 = 0.00
|
||||
/* 016E4 809CFDC4 3C01809D */ lui $at, %hi(D_809D1670) ## $at = 809D0000
|
||||
/* 016E8 809CFDC8 468084A0 */ cvt.s.w $f18, $f16
|
||||
/* 016EC 809CFDCC 46083280 */ add.s $f10, $f6, $f8
|
||||
/* 016F0 809CFDD0 E60A0050 */ swc1 $f10, 0x0050($s0) ## 00000050
|
||||
/* 016F4 809CFDD4 C4241670 */ lwc1 $f4, %lo(D_809D1670)($at)
|
||||
/* 016F8 809CFDD8 46049302 */ mul.s $f12, $f18, $f4
|
||||
/* 016FC 809CFDDC 0C0329C8 */ jal Math_SinF
|
||||
/* 01700 809CFDE0 00000000 */ nop
|
||||
/* 01704 809CFDE4 3C01809D */ lui $at, %hi(D_809D1674) ## $at = 809D0000
|
||||
/* 01708 809CFDE8 C4261674 */ lwc1 $f6, %lo(D_809D1674)($at)
|
||||
/* 0170C 809CFDEC 3C01809D */ lui $at, %hi(D_809D1678) ## $at = 809D0000
|
||||
/* 01710 809CFDF0 C4281678 */ lwc1 $f8, %lo(D_809D1678)($at)
|
||||
/* 01714 809CFDF4 86180224 */ lh $t8, 0x0224($s0) ## 00000224
|
||||
/* 01718 809CFDF8 3C01809D */ lui $at, %hi(D_809D167C) ## $at = 809D0000
|
||||
/* 0171C 809CFDFC 46080282 */ mul.s $f10, $f0, $f8
|
||||
/* 01720 809CFE00 44989000 */ mtc1 $t8, $f18 ## $f18 = 0.00
|
||||
/* 01724 809CFE04 00000000 */ nop
|
||||
/* 01728 809CFE08 46809120 */ cvt.s.w $f4, $f18
|
||||
/* 0172C 809CFE0C 460A3401 */ sub.s $f16, $f6, $f10
|
||||
/* 01730 809CFE10 E6100054 */ swc1 $f16, 0x0054($s0) ## 00000054
|
||||
/* 01734 809CFE14 C428167C */ lwc1 $f8, %lo(D_809D167C)($at)
|
||||
/* 01738 809CFE18 46082302 */ mul.s $f12, $f4, $f8
|
||||
/* 0173C 809CFE1C 0C0329C8 */ jal Math_SinF
|
||||
/* 01740 809CFE20 00000000 */ nop
|
||||
/* 01744 809CFE24 3C01809D */ lui $at, %hi(D_809D1680) ## $at = 809D0000
|
||||
/* 01748 809CFE28 C4261680 */ lwc1 $f6, %lo(D_809D1680)($at)
|
||||
/* 0174C 809CFE2C 3C01809D */ lui $at, %hi(D_809D1684) ## $at = 809D0000
|
||||
/* 01750 809CFE30 C4301684 */ lwc1 $f16, %lo(D_809D1684)($at)
|
||||
/* 01754 809CFE34 46060282 */ mul.s $f10, $f0, $f6
|
||||
/* 01758 809CFE38 46105480 */ add.s $f18, $f10, $f16
|
||||
/* 0175C 809CFE3C E6120058 */ swc1 $f18, 0x0058($s0) ## 00000058
|
||||
.L809CFE40:
|
||||
/* 01760 809CFE40 86190222 */ lh $t9, 0x0222($s0) ## 00000222
|
||||
/* 01764 809CFE44 2728FFFF */ addiu $t0, $t9, 0xFFFF ## $t0 = FFFFFFFF
|
||||
/* 01768 809CFE48 A6080222 */ sh $t0, 0x0222($s0) ## 00000222
|
||||
/* 0176C 809CFE4C 86090222 */ lh $t1, 0x0222($s0) ## 00000222
|
||||
/* 01770 809CFE50 5520002B */ bnel $t1, $zero, .L809CFF00
|
||||
/* 01774 809CFE54 8FBF0034 */ lw $ra, 0x0034($sp)
|
||||
/* 01778 809CFE58 0C273FC4 */ jal func_809CFF10
|
||||
/* 0177C 809CFE5C 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 01780 809CFE60 10000027 */ beq $zero, $zero, .L809CFF00
|
||||
/* 01784 809CFE64 8FBF0034 */ lw $ra, 0x0034($sp)
|
||||
.L809CFE68:
|
||||
/* 01788 809CFE68 920A022C */ lbu $t2, 0x022C($s0) ## 0000022C
|
||||
/* 0178C 809CFE6C 920C022D */ lbu $t4, 0x022D($s0) ## 0000022D
|
||||
/* 01790 809CFE70 240F00C8 */ addiu $t7, $zero, 0x00C8 ## $t7 = 000000C8
|
||||
/* 01794 809CFE74 254BFFF8 */ addiu $t3, $t2, 0xFFF8 ## $t3 = FFFFFFF8
|
||||
/* 01798 809CFE78 316E00FF */ andi $t6, $t3, 0x00FF ## $t6 = 000000F8
|
||||
/* 0179C 809CFE7C 29C100C8 */ slti $at, $t6, 0x00C8
|
||||
/* 017A0 809CFE80 258D0020 */ addiu $t5, $t4, 0x0020 ## $t5 = 00000020
|
||||
/* 017A4 809CFE84 A20B022C */ sb $t3, 0x022C($s0) ## 0000022C
|
||||
/* 017A8 809CFE88 10200002 */ beq $at, $zero, .L809CFE94
|
||||
/* 017AC 809CFE8C A20D022D */ sb $t5, 0x022D($s0) ## 0000022D
|
||||
/* 017B0 809CFE90 A20F022C */ sb $t7, 0x022C($s0) ## 0000022C
|
||||
.L809CFE94:
|
||||
/* 017B4 809CFE94 9218022D */ lbu $t8, 0x022D($s0) ## 0000022D
|
||||
/* 017B8 809CFE98 241900C8 */ addiu $t9, $zero, 0x00C8 ## $t9 = 000000C8
|
||||
/* 017BC 809CFE9C 240800FF */ addiu $t0, $zero, 0x00FF ## $t0 = 000000FF
|
||||
/* 017C0 809CFEA0 2B0100C9 */ slti $at, $t8, 0x00C9
|
||||
/* 017C4 809CFEA4 54200003 */ bnel $at, $zero, .L809CFEB4
|
||||
/* 017C8 809CFEA8 9202022E */ lbu $v0, 0x022E($s0) ## 0000022E
|
||||
/* 017CC 809CFEAC A219022D */ sb $t9, 0x022D($s0) ## 0000022D
|
||||
/* 017D0 809CFEB0 9202022E */ lbu $v0, 0x022E($s0) ## 0000022E
|
||||
.L809CFEB4:
|
||||
/* 017D4 809CFEB4 284100EC */ slti $at, $v0, 0x00EC
|
||||
/* 017D8 809CFEB8 14200003 */ bne $at, $zero, .L809CFEC8
|
||||
/* 017DC 809CFEBC 24490028 */ addiu $t1, $v0, 0x0028 ## $t1 = 00000028
|
||||
/* 017E0 809CFEC0 10000002 */ beq $zero, $zero, .L809CFECC
|
||||
/* 017E4 809CFEC4 A208022E */ sb $t0, 0x022E($s0) ## 0000022E
|
||||
.L809CFEC8:
|
||||
/* 017E8 809CFEC8 A209022E */ sb $t1, 0x022E($s0) ## 0000022E
|
||||
.L809CFECC:
|
||||
/* 017EC 809CFECC 3C01447A */ lui $at, 0x447A ## $at = 447A0000
|
||||
/* 017F0 809CFED0 44812000 */ mtc1 $at, $f4 ## $f4 = 1000.00
|
||||
/* 017F4 809CFED4 C60000BC */ lwc1 $f0, 0x00BC($s0) ## 000000BC
|
||||
/* 017F8 809CFED8 3C014348 */ lui $at, 0x4348 ## $at = 43480000
|
||||
/* 017FC 809CFEDC 4604003C */ c.lt.s $f0, $f4
|
||||
/* 01800 809CFEE0 00000000 */ nop
|
||||
/* 01804 809CFEE4 45020006 */ bc1fl .L809CFF00
|
||||
/* 01808 809CFEE8 8FBF0034 */ lw $ra, 0x0034($sp)
|
||||
/* 0180C 809CFEEC 44814000 */ mtc1 $at, $f8 ## $f8 = 200.00
|
||||
/* 01810 809CFEF0 00000000 */ nop
|
||||
/* 01814 809CFEF4 46080180 */ add.s $f6, $f0, $f8
|
||||
/* 01818 809CFEF8 E60600BC */ swc1 $f6, 0x00BC($s0) ## 000000BC
|
||||
/* 0181C 809CFEFC 8FBF0034 */ lw $ra, 0x0034($sp)
|
||||
.L809CFF00:
|
||||
/* 01820 809CFF00 8FB00030 */ lw $s0, 0x0030($sp)
|
||||
/* 01824 809CFF04 27BD0038 */ addiu $sp, $sp, 0x0038 ## $sp = 00000000
|
||||
/* 01828 809CFF08 03E00008 */ jr $ra
|
||||
/* 0182C 809CFF0C 00000000 */ nop
|
|
@ -1,36 +0,0 @@
|
|||
glabel func_809CFF10
|
||||
/* 01830 809CFF10 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
|
||||
/* 01834 809CFF14 AFBF0014 */ sw $ra, 0x0014($sp)
|
||||
/* 01838 809CFF18 00803825 */ or $a3, $a0, $zero ## $a3 = 00000000
|
||||
/* 0183C 809CFF1C 3C050600 */ lui $a1, %hi(D_06002250) ## $a1 = 06000000
|
||||
/* 01840 809CFF20 24A52250 */ addiu $a1, $a1, %lo(D_06002250) ## $a1 = 06002250
|
||||
/* 01844 809CFF24 AFA70018 */ sw $a3, 0x0018($sp)
|
||||
/* 01848 809CFF28 2484014C */ addiu $a0, $a0, 0x014C ## $a0 = 0000014C
|
||||
/* 0184C 809CFF2C 0C0294D3 */ jal SkelAnime_ChangeAnimTransitionRepeat
|
||||
/* 01850 809CFF30 3C06BF80 */ lui $a2, 0xBF80 ## $a2 = BF800000
|
||||
/* 01854 809CFF34 8FA40018 */ lw $a0, 0x0018($sp)
|
||||
/* 01858 809CFF38 3C014130 */ lui $at, 0x4130 ## $at = 41300000
|
||||
/* 0185C 809CFF3C 44802000 */ mtc1 $zero, $f4 ## $f4 = 0.00
|
||||
/* 01860 809CFF40 44813000 */ mtc1 $at, $f6 ## $f6 = 11.00
|
||||
/* 01864 809CFF44 240E0006 */ addiu $t6, $zero, 0x0006 ## $t6 = 00000006
|
||||
/* 01868 809CFF48 240F03E8 */ addiu $t7, $zero, 0x03E8 ## $t7 = 000003E8
|
||||
/* 0186C 809CFF4C 24180003 */ addiu $t8, $zero, 0x0003 ## $t8 = 00000003
|
||||
/* 01870 809CFF50 24053976 */ addiu $a1, $zero, 0x3976 ## $a1 = 00003976
|
||||
/* 01874 809CFF54 A08E0220 */ sb $t6, 0x0220($a0) ## 00000220
|
||||
/* 01878 809CFF58 A48F0222 */ sh $t7, 0x0222($a0) ## 00000222
|
||||
/* 0187C 809CFF5C A0980221 */ sb $t8, 0x0221($a0) ## 00000221
|
||||
/* 01880 809CFF60 E4840068 */ swc1 $f4, 0x0068($a0) ## 00000068
|
||||
/* 01884 809CFF64 0C00BE0A */ jal Audio_PlayActorSound2
|
||||
|
||||
/* 01888 809CFF68 E4860060 */ swc1 $f6, 0x0060($a0) ## 00000060
|
||||
/* 0188C 809CFF6C 8FA40018 */ lw $a0, 0x0018($sp)
|
||||
/* 01890 809CFF70 3C05809D */ lui $a1, %hi(func_809CFF98) ## $a1 = 809D0000
|
||||
/* 01894 809CFF74 24A5FF98 */ addiu $a1, $a1, %lo(func_809CFF98) ## $a1 = 809CFF98
|
||||
/* 01898 809CFF78 94990088 */ lhu $t9, 0x0088($a0) ## 00000088
|
||||
/* 0189C 809CFF7C 3328FFFE */ andi $t0, $t9, 0xFFFE ## $t0 = 00000000
|
||||
/* 018A0 809CFF80 0C2739B8 */ jal func_809CE6E0
|
||||
/* 018A4 809CFF84 A4880088 */ sh $t0, 0x0088($a0) ## 00000088
|
||||
/* 018A8 809CFF88 8FBF0014 */ lw $ra, 0x0014($sp)
|
||||
/* 018AC 809CFF8C 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
|
||||
/* 018B0 809CFF90 03E00008 */ jr $ra
|
||||
/* 018B4 809CFF94 00000000 */ nop
|
|
@ -1,100 +0,0 @@
|
|||
glabel func_809CFF98
|
||||
/* 018B8 809CFF98 27BDFFC8 */ addiu $sp, $sp, 0xFFC8 ## $sp = FFFFFFC8
|
||||
/* 018BC 809CFF9C AFB00030 */ sw $s0, 0x0030($sp)
|
||||
/* 018C0 809CFFA0 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
|
||||
/* 018C4 809CFFA4 AFBF0034 */ sw $ra, 0x0034($sp)
|
||||
/* 018C8 809CFFA8 AFA5003C */ sw $a1, 0x003C($sp)
|
||||
/* 018CC 809CFFAC 00002825 */ or $a1, $zero, $zero ## $a1 = 00000000
|
||||
/* 018D0 809CFFB0 248400B8 */ addiu $a0, $a0, 0x00B8 ## $a0 = 000000B8
|
||||
/* 018D4 809CFFB4 AFA00010 */ sw $zero, 0x0010($sp)
|
||||
/* 018D8 809CFFB8 24060001 */ addiu $a2, $zero, 0x0001 ## $a2 = 00000001
|
||||
/* 018DC 809CFFBC 0C01E1A7 */ jal Math_SmoothStepToS
|
||||
|
||||
/* 018E0 809CFFC0 24070FA0 */ addiu $a3, $zero, 0x0FA0 ## $a3 = 00000FA0
|
||||
/* 018E4 809CFFC4 44802000 */ mtc1 $zero, $f4 ## $f4 = 0.00
|
||||
/* 018E8 809CFFC8 3C053F19 */ lui $a1, 0x3F19 ## $a1 = 3F190000
|
||||
/* 018EC 809CFFCC 3C073D4C */ lui $a3, 0x3D4C ## $a3 = 3D4C0000
|
||||
/* 018F0 809CFFD0 34E7CCCD */ ori $a3, $a3, 0xCCCD ## $a3 = 3D4CCCCD
|
||||
/* 018F4 809CFFD4 34A5999A */ ori $a1, $a1, 0x999A ## $a1 = 3F19999A
|
||||
/* 018F8 809CFFD8 26040248 */ addiu $a0, $s0, 0x0248 ## $a0 = 00000248
|
||||
/* 018FC 809CFFDC 3C063F80 */ lui $a2, 0x3F80 ## $a2 = 3F800000
|
||||
/* 01900 809CFFE0 0C01E0C4 */ jal Math_SmoothStepToF
|
||||
|
||||
/* 01904 809CFFE4 E7A40010 */ swc1 $f4, 0x0010($sp)
|
||||
/* 01908 809CFFE8 0C02927F */ jal SkelAnime_FrameUpdateMatrix
|
||||
|
||||
/* 0190C 809CFFEC 2604014C */ addiu $a0, $s0, 0x014C ## $a0 = 0000014C
|
||||
/* 01910 809CFFF0 960E0088 */ lhu $t6, 0x0088($s0) ## 00000088
|
||||
/* 01914 809CFFF4 8FA4003C */ lw $a0, 0x003C($sp)
|
||||
/* 01918 809CFFF8 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000
|
||||
/* 0191C 809CFFFC 31CF0003 */ andi $t7, $t6, 0x0003 ## $t7 = 00000000
|
||||
/* 01920 809D0000 11E00016 */ beq $t7, $zero, .L809D005C
|
||||
/* 01924 809D0004 26060024 */ addiu $a2, $s0, 0x0024 ## $a2 = 00000024
|
||||
/* 01928 809D0008 3C014080 */ lui $at, 0x4080 ## $at = 40800000
|
||||
/* 0192C 809D000C 44813000 */ mtc1 $at, $f6 ## $f6 = 4.00
|
||||
/* 01930 809D0010 2418000B */ addiu $t8, $zero, 0x000B ## $t8 = 0000000B
|
||||
/* 01934 809D0014 AFB80010 */ sw $t8, 0x0010($sp)
|
||||
/* 01938 809D0018 3C0741F0 */ lui $a3, 0x41F0 ## $a3 = 41F00000
|
||||
/* 0193C 809D001C AFA00018 */ sw $zero, 0x0018($sp)
|
||||
/* 01940 809D0020 AFA0001C */ sw $zero, 0x001C($sp)
|
||||
/* 01944 809D0024 AFA00020 */ sw $zero, 0x0020($sp)
|
||||
/* 01948 809D0028 0C00CC98 */ jal func_80033260
|
||||
/* 0194C 809D002C E7A60014 */ swc1 $f6, 0x0014($sp)
|
||||
/* 01950 809D0030 44804000 */ mtc1 $zero, $f8 ## $f8 = 0.00
|
||||
/* 01954 809D0034 24190BB8 */ addiu $t9, $zero, 0x0BB8 ## $t9 = 00000BB8
|
||||
/* 01958 809D0038 A6190222 */ sh $t9, 0x0222($s0) ## 00000222
|
||||
/* 0195C 809D003C 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 01960 809D0040 2405387B */ addiu $a1, $zero, 0x387B ## $a1 = 0000387B
|
||||
/* 01964 809D0044 0C00BE0A */ jal Audio_PlayActorSound2
|
||||
|
||||
/* 01968 809D0048 E6080250 */ swc1 $f8, 0x0250($s0) ## 00000250
|
||||
/* 0196C 809D004C 3C05809D */ lui $a1, %hi(func_809CE884) ## $a1 = 809D0000
|
||||
/* 01970 809D0050 24A5E884 */ addiu $a1, $a1, %lo(func_809CE884) ## $a1 = 809CE884
|
||||
/* 01974 809D0054 0C2739B8 */ jal func_809CE6E0
|
||||
/* 01978 809D0058 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
.L809D005C:
|
||||
/* 0197C 809D005C 9202022C */ lbu $v0, 0x022C($s0) ## 0000022C
|
||||
/* 01980 809D0060 44805000 */ mtc1 $zero, $f10 ## $f10 = 0.00
|
||||
/* 01984 809D0064 240900FF */ addiu $t1, $zero, 0x00FF ## $t1 = 000000FF
|
||||
/* 01988 809D0068 284100F7 */ slti $at, $v0, 0x00F7
|
||||
/* 0198C 809D006C 10200003 */ beq $at, $zero, .L809D007C
|
||||
/* 01990 809D0070 24480008 */ addiu $t0, $v0, 0x0008 ## $t0 = 00000008
|
||||
/* 01994 809D0074 10000002 */ beq $zero, $zero, .L809D0080
|
||||
/* 01998 809D0078 A208022C */ sb $t0, 0x022C($s0) ## 0000022C
|
||||
.L809D007C:
|
||||
/* 0199C 809D007C A209022C */ sb $t1, 0x022C($s0) ## 0000022C
|
||||
.L809D0080:
|
||||
/* 019A0 809D0080 9202022D */ lbu $v0, 0x022D($s0) ## 0000022D
|
||||
/* 019A4 809D0084 28410020 */ slti $at, $v0, 0x0020
|
||||
/* 019A8 809D0088 10200003 */ beq $at, $zero, .L809D0098
|
||||
/* 019AC 809D008C 244AFFE0 */ addiu $t2, $v0, 0xFFE0 ## $t2 = FFFFFFE0
|
||||
/* 019B0 809D0090 10000002 */ beq $zero, $zero, .L809D009C
|
||||
/* 019B4 809D0094 A200022D */ sb $zero, 0x022D($s0) ## 0000022D
|
||||
.L809D0098:
|
||||
/* 019B8 809D0098 A20A022D */ sb $t2, 0x022D($s0) ## 0000022D
|
||||
.L809D009C:
|
||||
/* 019BC 809D009C 9202022E */ lbu $v0, 0x022E($s0) ## 0000022E
|
||||
/* 019C0 809D00A0 28410028 */ slti $at, $v0, 0x0028
|
||||
/* 019C4 809D00A4 10200003 */ beq $at, $zero, .L809D00B4
|
||||
/* 019C8 809D00A8 244BFFD8 */ addiu $t3, $v0, 0xFFD8 ## $t3 = FFFFFFD8
|
||||
/* 019CC 809D00AC 10000002 */ beq $zero, $zero, .L809D00B8
|
||||
/* 019D0 809D00B0 A200022E */ sb $zero, 0x022E($s0) ## 0000022E
|
||||
.L809D00B4:
|
||||
/* 019D4 809D00B4 A20B022E */ sb $t3, 0x022E($s0) ## 0000022E
|
||||
.L809D00B8:
|
||||
/* 019D8 809D00B8 C60000BC */ lwc1 $f0, 0x00BC($s0) ## 000000BC
|
||||
/* 019DC 809D00BC 3C014348 */ lui $at, 0x4348 ## $at = 43480000
|
||||
/* 019E0 809D00C0 4600503C */ c.lt.s $f10, $f0
|
||||
/* 019E4 809D00C4 00000000 */ nop
|
||||
/* 019E8 809D00C8 45020006 */ bc1fl .L809D00E4
|
||||
/* 019EC 809D00CC 8FBF0034 */ lw $ra, 0x0034($sp)
|
||||
/* 019F0 809D00D0 44818000 */ mtc1 $at, $f16 ## $f16 = 200.00
|
||||
/* 019F4 809D00D4 00000000 */ nop
|
||||
/* 019F8 809D00D8 46100481 */ sub.s $f18, $f0, $f16
|
||||
/* 019FC 809D00DC E61200BC */ swc1 $f18, 0x00BC($s0) ## 000000BC
|
||||
/* 01A00 809D00E0 8FBF0034 */ lw $ra, 0x0034($sp)
|
||||
.L809D00E4:
|
||||
/* 01A04 809D00E4 8FB00030 */ lw $s0, 0x0030($sp)
|
||||
/* 01A08 809D00E8 27BD0038 */ addiu $sp, $sp, 0x0038 ## $sp = 00000000
|
||||
/* 01A0C 809D00EC 03E00008 */ jr $ra
|
||||
/* 01A10 809D00F0 00000000 */ nop
|
|
@ -1,24 +0,0 @@
|
|||
glabel func_809D00F4
|
||||
/* 01A14 809D00F4 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
|
||||
/* 01A18 809D00F8 AFBF0014 */ sw $ra, 0x0014($sp)
|
||||
/* 01A1C 809D00FC 8C8F0004 */ lw $t7, 0x0004($a0) ## 00000004
|
||||
/* 01A20 809D0100 44802000 */ mtc1 $zero, $f4 ## $f4 = 0.00
|
||||
/* 01A24 809D0104 2401FFFE */ addiu $at, $zero, 0xFFFE ## $at = FFFFFFFE
|
||||
/* 01A28 809D0108 240E0028 */ addiu $t6, $zero, 0x0028 ## $t6 = 00000028
|
||||
/* 01A2C 809D010C 01E1C024 */ and $t8, $t7, $at
|
||||
/* 01A30 809D0110 A0800220 */ sb $zero, 0x0220($a0) ## 00000220
|
||||
/* 01A34 809D0114 A48E0222 */ sh $t6, 0x0222($a0) ## 00000222
|
||||
/* 01A38 809D0118 AC980004 */ sw $t8, 0x0004($a0) ## 00000004
|
||||
/* 01A3C 809D011C E4840068 */ swc1 $f4, 0x0068($a0) ## 00000068
|
||||
/* 01A40 809D0120 AFA40018 */ sw $a0, 0x0018($sp)
|
||||
/* 01A44 809D0124 0C00BE0A */ jal Audio_PlayActorSound2
|
||||
|
||||
/* 01A48 809D0128 24053978 */ addiu $a1, $zero, 0x3978 ## $a1 = 00003978
|
||||
/* 01A4C 809D012C 3C05809D */ lui $a1, %hi(func_809D014C) ## $a1 = 809D0000
|
||||
/* 01A50 809D0130 8FA40018 */ lw $a0, 0x0018($sp)
|
||||
/* 01A54 809D0134 0C2739B8 */ jal func_809CE6E0
|
||||
/* 01A58 809D0138 24A5014C */ addiu $a1, $a1, %lo(func_809D014C) ## $a1 = 809D014C
|
||||
/* 01A5C 809D013C 8FBF0014 */ lw $ra, 0x0014($sp)
|
||||
/* 01A60 809D0140 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
|
||||
/* 01A64 809D0144 03E00008 */ jr $ra
|
||||
/* 01A68 809D0148 00000000 */ nop
|
|
@ -1,41 +0,0 @@
|
|||
.late_rodata
|
||||
glabel D_809D1688
|
||||
.word 0x3951B717
|
||||
|
||||
.text
|
||||
glabel func_809D014C
|
||||
/* 01A6C 809D014C 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
|
||||
/* 01A70 809D0150 AFBF0014 */ sw $ra, 0x0014($sp)
|
||||
/* 01A74 809D0154 AFA5001C */ sw $a1, 0x001C($sp)
|
||||
/* 01A78 809D0158 908E0230 */ lbu $t6, 0x0230($a0) ## 00000230
|
||||
/* 01A7C 809D015C 3C01809D */ lui $at, %hi(D_809D1688) ## $at = 809D0000
|
||||
/* 01A80 809D0160 51C0000C */ beql $t6, $zero, .L809D0194
|
||||
/* 01A84 809D0164 84880222 */ lh $t0, 0x0222($a0) ## 00000222
|
||||
/* 01A88 809D0168 C4201688 */ lwc1 $f0, %lo(D_809D1688)($at)
|
||||
/* 01A8C 809D016C C4840050 */ lwc1 $f4, 0x0050($a0) ## 00000050
|
||||
/* 01A90 809D0170 C4880054 */ lwc1 $f8, 0x0054($a0) ## 00000054
|
||||
/* 01A94 809D0174 C4900058 */ lwc1 $f16, 0x0058($a0) ## 00000058
|
||||
/* 01A98 809D0178 46002180 */ add.s $f6, $f4, $f0
|
||||
/* 01A9C 809D017C 46004281 */ sub.s $f10, $f8, $f0
|
||||
/* 01AA0 809D0180 E4860050 */ swc1 $f6, 0x0050($a0) ## 00000050
|
||||
/* 01AA4 809D0184 46008480 */ add.s $f18, $f16, $f0
|
||||
/* 01AA8 809D0188 E48A0054 */ swc1 $f10, 0x0054($a0) ## 00000054
|
||||
/* 01AAC 809D018C E4920058 */ swc1 $f18, 0x0058($a0) ## 00000058
|
||||
/* 01AB0 809D0190 84880222 */ lh $t0, 0x0222($a0) ## 00000222
|
||||
.L809D0194:
|
||||
/* 01AB4 809D0194 908F022F */ lbu $t7, 0x022F($a0) ## 0000022F
|
||||
/* 01AB8 809D0198 2509FFFF */ addiu $t1, $t0, 0xFFFF ## $t1 = FFFFFFFF
|
||||
/* 01ABC 809D019C A4890222 */ sh $t1, 0x0222($a0) ## 00000222
|
||||
/* 01AC0 809D01A0 848A0222 */ lh $t2, 0x0222($a0) ## 00000222
|
||||
/* 01AC4 809D01A4 25F9FFFA */ addiu $t9, $t7, 0xFFFA ## $t9 = FFFFFFFA
|
||||
/* 01AC8 809D01A8 A099022F */ sb $t9, 0x022F($a0) ## 0000022F
|
||||
/* 01ACC 809D01AC 1D400003 */ bgtz $t2, .L809D01BC
|
||||
/* 01AD0 809D01B0 A09900C8 */ sb $t9, 0x00C8($a0) ## 000000C8
|
||||
/* 01AD4 809D01B4 0C00B55C */ jal Actor_Kill
|
||||
|
||||
/* 01AD8 809D01B8 00000000 */ nop
|
||||
.L809D01BC:
|
||||
/* 01ADC 809D01BC 8FBF0014 */ lw $ra, 0x0014($sp)
|
||||
/* 01AE0 809D01C0 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
|
||||
/* 01AE4 809D01C4 03E00008 */ jr $ra
|
||||
/* 01AE8 809D01C8 00000000 */ nop
|
|
@ -1,43 +0,0 @@
|
|||
glabel func_809D01CC
|
||||
/* 01AEC 809D01CC 44802000 */ mtc1 $zero, $f4 ## $f4 = 0.00
|
||||
/* 01AF0 809D01D0 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
|
||||
/* 01AF4 809D01D4 AFBF0014 */ sw $ra, 0x0014($sp)
|
||||
/* 01AF8 809D01D8 240E0001 */ addiu $t6, $zero, 0x0001 ## $t6 = 00000001
|
||||
/* 01AFC 809D01DC A08E0220 */ sb $t6, 0x0220($a0) ## 00000220
|
||||
/* 01B00 809D01E0 E4840068 */ swc1 $f4, 0x0068($a0) ## 00000068
|
||||
/* 01B04 809D01E4 0C03F66B */ jal Rand_ZeroOne
|
||||
## Rand.Next() float
|
||||
/* 01B08 809D01E8 AFA40018 */ sw $a0, 0x0018($sp)
|
||||
/* 01B0C 809D01EC 3C013E80 */ lui $at, 0x3E80 ## $at = 3E800000
|
||||
/* 01B10 809D01F0 44813000 */ mtc1 $at, $f6 ## $f6 = 0.25
|
||||
/* 01B14 809D01F4 3C013F80 */ lui $at, 0x3F80 ## $at = 3F800000
|
||||
/* 01B18 809D01F8 44815000 */ mtc1 $at, $f10 ## $f10 = 1.00
|
||||
/* 01B1C 809D01FC 46060202 */ mul.s $f8, $f0, $f6
|
||||
/* 01B20 809D0200 8FA40018 */ lw $a0, 0x0018($sp)
|
||||
/* 01B24 809D0204 44809000 */ mtc1 $zero, $f18 ## $f18 = 0.00
|
||||
/* 01B28 809D0208 2401000E */ addiu $at, $zero, 0x000E ## $at = 0000000E
|
||||
/* 01B2C 809D020C 908F0231 */ lbu $t7, 0x0231($a0) ## 00000231
|
||||
/* 01B30 809D0210 24180050 */ addiu $t8, $zero, 0x0050 ## $t8 = 00000050
|
||||
/* 01B34 809D0214 240A0050 */ addiu $t2, $zero, 0x0050 ## $t2 = 00000050
|
||||
/* 01B38 809D0218 460A4400 */ add.s $f16, $f8, $f10
|
||||
/* 01B3C 809D021C 3C05809D */ lui $a1, %hi(func_809D0268) ## $a1 = 809D0000
|
||||
/* 01B40 809D0220 E4920260 */ swc1 $f18, 0x0260($a0) ## 00000260
|
||||
/* 01B44 809D0224 15E10002 */ bne $t7, $at, .L809D0230
|
||||
/* 01B48 809D0228 E490025C */ swc1 $f16, 0x025C($a0) ## 0000025C
|
||||
/* 01B4C 809D022C A098023B */ sb $t8, 0x023B($a0) ## 0000023B
|
||||
.L809D0230:
|
||||
/* 01B50 809D0230 94990112 */ lhu $t9, 0x0112($a0) ## 00000112
|
||||
/* 01B54 809D0234 24090019 */ addiu $t1, $zero, 0x0019 ## $t1 = 00000019
|
||||
/* 01B58 809D0238 33284000 */ andi $t0, $t9, 0x4000 ## $t0 = 00000000
|
||||
/* 01B5C 809D023C 51000004 */ beql $t0, $zero, .L809D0250
|
||||
/* 01B60 809D0240 A48A0222 */ sh $t2, 0x0222($a0) ## 00000222
|
||||
/* 01B64 809D0244 10000002 */ beq $zero, $zero, .L809D0250
|
||||
/* 01B68 809D0248 A4890222 */ sh $t1, 0x0222($a0) ## 00000222
|
||||
/* 01B6C 809D024C A48A0222 */ sh $t2, 0x0222($a0) ## 00000222
|
||||
.L809D0250:
|
||||
/* 01B70 809D0250 0C2739B8 */ jal func_809CE6E0
|
||||
/* 01B74 809D0254 24A50268 */ addiu $a1, $a1, %lo(func_809D0268) ## $a1 = 809D0268
|
||||
/* 01B78 809D0258 8FBF0014 */ lw $ra, 0x0014($sp)
|
||||
/* 01B7C 809D025C 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
|
||||
/* 01B80 809D0260 03E00008 */ jr $ra
|
||||
/* 01B84 809D0264 00000000 */ nop
|
|
@ -1,103 +0,0 @@
|
|||
.late_rodata
|
||||
glabel D_809D168C
|
||||
.float 0.7
|
||||
|
||||
.text
|
||||
glabel func_809D0268
|
||||
/* 01B88 809D0268 27BDFFD8 */ addiu $sp, $sp, 0xFFD8 ## $sp = FFFFFFD8
|
||||
/* 01B8C 809D026C AFBF0024 */ sw $ra, 0x0024($sp)
|
||||
/* 01B90 809D0270 AFB00020 */ sw $s0, 0x0020($sp)
|
||||
/* 01B94 809D0274 908E022C */ lbu $t6, 0x022C($a0) ## 0000022C
|
||||
/* 01B98 809D0278 9098022D */ lbu $t8, 0x022D($a0) ## 0000022D
|
||||
/* 01B9C 809D027C 9088022E */ lbu $t0, 0x022E($a0) ## 0000022E
|
||||
/* 01BA0 809D0280 25CFFFFF */ addiu $t7, $t6, 0xFFFF ## $t7 = FFFFFFFF
|
||||
/* 01BA4 809D0284 31EA00FF */ andi $t2, $t7, 0x00FF ## $t2 = 000000FF
|
||||
/* 01BA8 809D0288 294100C8 */ slti $at, $t2, 0x00C8
|
||||
/* 01BAC 809D028C 27190004 */ addiu $t9, $t8, 0x0004 ## $t9 = 00000004
|
||||
/* 01BB0 809D0290 25090005 */ addiu $t1, $t0, 0x0005 ## $t1 = 00000005
|
||||
/* 01BB4 809D0294 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
|
||||
/* 01BB8 809D0298 A08F022C */ sb $t7, 0x022C($a0) ## 0000022C
|
||||
/* 01BBC 809D029C A099022D */ sb $t9, 0x022D($a0) ## 0000022D
|
||||
/* 01BC0 809D02A0 10200003 */ beq $at, $zero, .L809D02B0
|
||||
/* 01BC4 809D02A4 A089022E */ sb $t1, 0x022E($a0) ## 0000022E
|
||||
/* 01BC8 809D02A8 240B00C8 */ addiu $t3, $zero, 0x00C8 ## $t3 = 000000C8
|
||||
/* 01BCC 809D02AC A08B022C */ sb $t3, 0x022C($a0) ## 0000022C
|
||||
.L809D02B0:
|
||||
/* 01BD0 809D02B0 920C022D */ lbu $t4, 0x022D($s0) ## 0000022D
|
||||
/* 01BD4 809D02B4 240D00C8 */ addiu $t5, $zero, 0x00C8 ## $t5 = 000000C8
|
||||
/* 01BD8 809D02B8 240F00E6 */ addiu $t7, $zero, 0x00E6 ## $t7 = 000000E6
|
||||
/* 01BDC 809D02BC 298100C9 */ slti $at, $t4, 0x00C9
|
||||
/* 01BE0 809D02C0 14200002 */ bne $at, $zero, .L809D02CC
|
||||
/* 01BE4 809D02C4 3C080001 */ lui $t0, 0x0001 ## $t0 = 00010000
|
||||
/* 01BE8 809D02C8 A20D022D */ sb $t5, 0x022D($s0) ## 0000022D
|
||||
.L809D02CC:
|
||||
/* 01BEC 809D02CC 920E022E */ lbu $t6, 0x022E($s0) ## 0000022E
|
||||
/* 01BF0 809D02D0 01054021 */ addu $t0, $t0, $a1
|
||||
/* 01BF4 809D02D4 29C100E7 */ slti $at, $t6, 0x00E7
|
||||
/* 01BF8 809D02D8 54200003 */ bnel $at, $zero, .L809D02E8
|
||||
/* 01BFC 809D02DC 96180112 */ lhu $t8, 0x0112($s0) ## 00000112
|
||||
/* 01C00 809D02E0 A20F022E */ sb $t7, 0x022E($s0) ## 0000022E
|
||||
/* 01C04 809D02E4 96180112 */ lhu $t8, 0x0112($s0) ## 00000112
|
||||
.L809D02E8:
|
||||
/* 01C08 809D02E8 33194000 */ andi $t9, $t8, 0x4000 ## $t9 = 00000000
|
||||
/* 01C0C 809D02EC 5320001C */ beql $t9, $zero, .L809D0360
|
||||
/* 01C10 809D02F0 860A0222 */ lh $t2, 0x0222($s0) ## 00000222
|
||||
/* 01C14 809D02F4 8D081DE4 */ lw $t0, 0x1DE4($t0) ## 00011DE4
|
||||
/* 01C18 809D02F8 3109007F */ andi $t1, $t0, 0x007F ## $t1 = 00000000
|
||||
/* 01C1C 809D02FC 5520000B */ bnel $t1, $zero, .L809D032C
|
||||
/* 01C20 809D0300 C6100258 */ lwc1 $f16, 0x0258($s0) ## 00000258
|
||||
/* 01C24 809D0304 0C03F66B */ jal Rand_ZeroOne
|
||||
## Rand.Next() float
|
||||
/* 01C28 809D0308 00000000 */ nop
|
||||
/* 01C2C 809D030C 3C013E80 */ lui $at, 0x3E80 ## $at = 3E800000
|
||||
/* 01C30 809D0310 44812000 */ mtc1 $at, $f4 ## $f4 = 0.25
|
||||
/* 01C34 809D0314 3C013F00 */ lui $at, 0x3F00 ## $at = 3F000000
|
||||
/* 01C38 809D0318 44814000 */ mtc1 $at, $f8 ## $f8 = 0.50
|
||||
/* 01C3C 809D031C 46040182 */ mul.s $f6, $f0, $f4
|
||||
/* 01C40 809D0320 46083280 */ add.s $f10, $f6, $f8
|
||||
/* 01C44 809D0324 E60A025C */ swc1 $f10, 0x025C($s0) ## 0000025C
|
||||
/* 01C48 809D0328 C6100258 */ lwc1 $f16, 0x0258($s0) ## 00000258
|
||||
.L809D032C:
|
||||
/* 01C4C 809D032C C612025C */ lwc1 $f18, 0x025C($s0) ## 0000025C
|
||||
/* 01C50 809D0330 44803000 */ mtc1 $zero, $f6 ## $f6 = 0.00
|
||||
/* 01C54 809D0334 3C053D99 */ lui $a1, 0x3D99 ## $a1 = 3D990000
|
||||
/* 01C58 809D0338 46128100 */ add.s $f4, $f16, $f18
|
||||
/* 01C5C 809D033C 3C073BA3 */ lui $a3, 0x3BA3 ## $a3 = 3BA30000
|
||||
/* 01C60 809D0340 34E7D70A */ ori $a3, $a3, 0xD70A ## $a3 = 3BA3D70A
|
||||
/* 01C64 809D0344 34A5999A */ ori $a1, $a1, 0x999A ## $a1 = 3D99999A
|
||||
/* 01C68 809D0348 E6040258 */ swc1 $f4, 0x0258($s0) ## 00000258
|
||||
/* 01C6C 809D034C 26040260 */ addiu $a0, $s0, 0x0260 ## $a0 = 00000260
|
||||
/* 01C70 809D0350 3C063F80 */ lui $a2, 0x3F80 ## $a2 = 3F800000
|
||||
/* 01C74 809D0354 0C01E0C4 */ jal Math_SmoothStepToF
|
||||
|
||||
/* 01C78 809D0358 E7A60010 */ swc1 $f6, 0x0010($sp)
|
||||
/* 01C7C 809D035C 860A0222 */ lh $t2, 0x0222($s0) ## 00000222
|
||||
.L809D0360:
|
||||
/* 01C80 809D0360 254BFFFF */ addiu $t3, $t2, 0xFFFF ## $t3 = FFFFFFFF
|
||||
/* 01C84 809D0364 A60B0222 */ sh $t3, 0x0222($s0) ## 00000222
|
||||
/* 01C88 809D0368 860C0222 */ lh $t4, 0x0222($s0) ## 00000222
|
||||
/* 01C8C 809D036C 55800013 */ bnel $t4, $zero, .L809D03BC
|
||||
/* 01C90 809D0370 8FBF0024 */ lw $ra, 0x0024($sp)
|
||||
/* 01C94 809D0374 0C273A6A */ jal func_809CE9A8
|
||||
/* 01C98 809D0378 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 01C9C 809D037C 240E00C8 */ addiu $t6, $zero, 0x00C8 ## $t6 = 000000C8
|
||||
/* 01CA0 809D0380 240F00FF */ addiu $t7, $zero, 0x00FF ## $t7 = 000000FF
|
||||
/* 01CA4 809D0384 24180258 */ addiu $t8, $zero, 0x0258 ## $t8 = 00000258
|
||||
/* 01CA8 809D0388 24190001 */ addiu $t9, $zero, 0x0001 ## $t9 = 00000001
|
||||
/* 01CAC 809D038C 86080236 */ lh $t0, 0x0236($s0) ## 00000236
|
||||
/* 01CB0 809D0390 A20E022D */ sb $t6, 0x022D($s0) ## 0000022D
|
||||
/* 01CB4 809D0394 A20E022C */ sb $t6, 0x022C($s0) ## 0000022C
|
||||
/* 01CB8 809D0398 A20F022E */ sb $t7, 0x022E($s0) ## 0000022E
|
||||
/* 01CBC 809D039C A6180224 */ sh $t8, 0x0224($s0) ## 00000224
|
||||
/* 01CC0 809D03A0 A2190221 */ sb $t9, 0x0221($s0) ## 00000221
|
||||
/* 01CC4 809D03A4 3C01809D */ lui $at, %hi(D_809D168C) ## $at = 809D0000
|
||||
/* 01CC8 809D03A8 C428168C */ lwc1 $f8, %lo(D_809D168C)($at)
|
||||
/* 01CCC 809D03AC 25090001 */ addiu $t1, $t0, 0x0001 ## $t1 = 00000001
|
||||
/* 01CD0 809D03B0 A6090236 */ sh $t1, 0x0236($s0) ## 00000236
|
||||
/* 01CD4 809D03B4 E6080250 */ swc1 $f8, 0x0250($s0) ## 00000250
|
||||
/* 01CD8 809D03B8 8FBF0024 */ lw $ra, 0x0024($sp)
|
||||
.L809D03BC:
|
||||
/* 01CDC 809D03BC 8FB00020 */ lw $s0, 0x0020($sp)
|
||||
/* 01CE0 809D03C0 27BD0028 */ addiu $sp, $sp, 0x0028 ## $sp = 00000000
|
||||
/* 01CE4 809D03C4 03E00008 */ jr $ra
|
||||
/* 01CE8 809D03C8 00000000 */ nop
|
|
@ -1,25 +0,0 @@
|
|||
glabel func_809D03CC
|
||||
/* 01CEC 809D03CC 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
|
||||
/* 01CF0 809D03D0 AFBF0014 */ sw $ra, 0x0014($sp)
|
||||
/* 01CF4 809D03D4 908E0231 */ lbu $t6, 0x0231($a0) ## 00000231
|
||||
/* 01CF8 809D03D8 44802000 */ mtc1 $zero, $f4 ## $f4 = 0.00
|
||||
/* 01CFC 809D03DC 2401000E */ addiu $at, $zero, 0x000E ## $at = 0000000E
|
||||
/* 01D00 809D03E0 15C10003 */ bne $t6, $at, .L809D03F0
|
||||
/* 01D04 809D03E4 E4840068 */ swc1 $f4, 0x0068($a0) ## 00000068
|
||||
/* 01D08 809D03E8 240F0020 */ addiu $t7, $zero, 0x0020 ## $t7 = 00000020
|
||||
/* 01D0C 809D03EC A08F023B */ sb $t7, 0x023B($a0) ## 0000023B
|
||||
.L809D03F0:
|
||||
/* 01D10 809D03F0 90980114 */ lbu $t8, 0x0114($a0) ## 00000114
|
||||
/* 01D14 809D03F4 2405389E */ addiu $a1, $zero, 0x389E ## $a1 = 0000389E
|
||||
/* 01D18 809D03F8 A098023C */ sb $t8, 0x023C($a0) ## 0000023C
|
||||
/* 01D1C 809D03FC 0C00BE0A */ jal Audio_PlayActorSound2
|
||||
|
||||
/* 01D20 809D0400 AFA40018 */ sw $a0, 0x0018($sp)
|
||||
/* 01D24 809D0404 3C05809D */ lui $a1, %hi(func_809D0424) ## $a1 = 809D0000
|
||||
/* 01D28 809D0408 8FA40018 */ lw $a0, 0x0018($sp)
|
||||
/* 01D2C 809D040C 0C2739B8 */ jal func_809CE6E0
|
||||
/* 01D30 809D0410 24A50424 */ addiu $a1, $a1, %lo(func_809D0424) ## $a1 = 809D0424
|
||||
/* 01D34 809D0414 8FBF0014 */ lw $ra, 0x0014($sp)
|
||||
/* 01D38 809D0418 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
|
||||
/* 01D3C 809D041C 03E00008 */ jr $ra
|
||||
/* 01D40 809D0420 00000000 */ nop
|
|
@ -1,105 +0,0 @@
|
|||
.late_rodata
|
||||
glabel D_809D1690
|
||||
.float 0.7
|
||||
|
||||
glabel D_809D1694
|
||||
.word 0x3C1374BC
|
||||
|
||||
.text
|
||||
glabel func_809D0424
|
||||
/* 01D44 809D0424 27BDFFC0 */ addiu $sp, $sp, 0xFFC0 ## $sp = FFFFFFC0
|
||||
/* 01D48 809D0428 AFBF0034 */ sw $ra, 0x0034($sp)
|
||||
/* 01D4C 809D042C AFB00030 */ sw $s0, 0x0030($sp)
|
||||
/* 01D50 809D0430 AFA50044 */ sw $a1, 0x0044($sp)
|
||||
/* 01D54 809D0434 908E0114 */ lbu $t6, 0x0114($a0) ## 00000114
|
||||
/* 01D58 809D0438 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
|
||||
/* 01D5C 809D043C 55C0004D */ bnel $t6, $zero, .L809D0574
|
||||
/* 01D60 809D0440 8FBF0034 */ lw $ra, 0x0034($sp)
|
||||
/* 01D64 809D0444 908F00AF */ lbu $t7, 0x00AF($a0) ## 000000AF
|
||||
/* 01D68 809D0448 A080023C */ sb $zero, 0x023C($a0) ## 0000023C
|
||||
/* 01D6C 809D044C 260502E0 */ addiu $a1, $s0, 0x02E0 ## $a1 = 000002E0
|
||||
/* 01D70 809D0450 11E00025 */ beq $t7, $zero, .L809D04E8
|
||||
/* 01D74 809D0454 00000000 */ nop
|
||||
/* 01D78 809D0458 90820220 */ lbu $v0, 0x0220($a0) ## 00000220
|
||||
/* 01D7C 809D045C 24030005 */ addiu $v1, $zero, 0x0005 ## $v1 = 00000005
|
||||
/* 01D80 809D0460 24010006 */ addiu $at, $zero, 0x0006 ## $at = 00000006
|
||||
/* 01D84 809D0464 10620015 */ beq $v1, $v0, .L809D04BC
|
||||
/* 01D88 809D0468 00000000 */ nop
|
||||
/* 01D8C 809D046C 10410013 */ beq $v0, $at, .L809D04BC
|
||||
/* 01D90 809D0470 00000000 */ nop
|
||||
/* 01D94 809D0474 0C273A6A */ jal func_809CE9A8
|
||||
/* 01D98 809D0478 00000000 */ nop
|
||||
/* 01D9C 809D047C 241900C8 */ addiu $t9, $zero, 0x00C8 ## $t9 = 000000C8
|
||||
/* 01DA0 809D0480 860B0236 */ lh $t3, 0x0236($s0) ## 00000236
|
||||
/* 01DA4 809D0484 240800FF */ addiu $t0, $zero, 0x00FF ## $t0 = 000000FF
|
||||
/* 01DA8 809D0488 24090258 */ addiu $t1, $zero, 0x0258 ## $t1 = 00000258
|
||||
/* 01DAC 809D048C 240A0001 */ addiu $t2, $zero, 0x0001 ## $t2 = 00000001
|
||||
/* 01DB0 809D0490 A219022D */ sb $t9, 0x022D($s0) ## 0000022D
|
||||
/* 01DB4 809D0494 A219022C */ sb $t9, 0x022C($s0) ## 0000022C
|
||||
/* 01DB8 809D0498 A208022E */ sb $t0, 0x022E($s0) ## 0000022E
|
||||
/* 01DBC 809D049C A6090224 */ sh $t1, 0x0224($s0) ## 00000224
|
||||
/* 01DC0 809D04A0 A20A0221 */ sb $t2, 0x0221($s0) ## 00000221
|
||||
/* 01DC4 809D04A4 3C01809D */ lui $at, %hi(D_809D1690) ## $at = 809D0000
|
||||
/* 01DC8 809D04A8 C4241690 */ lwc1 $f4, %lo(D_809D1690)($at)
|
||||
/* 01DCC 809D04AC 256C0001 */ addiu $t4, $t3, 0x0001 ## $t4 = 00000001
|
||||
/* 01DD0 809D04B0 A60C0236 */ sh $t4, 0x0236($s0) ## 00000236
|
||||
/* 01DD4 809D04B4 1000002E */ beq $zero, $zero, .L809D0570
|
||||
/* 01DD8 809D04B8 E6040250 */ swc1 $f4, 0x0250($s0) ## 00000250
|
||||
.L809D04BC:
|
||||
/* 01DDC 809D04BC 10620006 */ beq $v1, $v0, .L809D04D8
|
||||
/* 01DE0 809D04C0 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 01DE4 809D04C4 3C05809D */ lui $a1, %hi(func_809CFF98) ## $a1 = 809D0000
|
||||
/* 01DE8 809D04C8 0C2739B8 */ jal func_809CE6E0
|
||||
/* 01DEC 809D04CC 24A5FF98 */ addiu $a1, $a1, %lo(func_809CFF98) ## $a1 = 809CFF98
|
||||
/* 01DF0 809D04D0 10000028 */ beq $zero, $zero, .L809D0574
|
||||
/* 01DF4 809D04D4 8FBF0034 */ lw $ra, 0x0034($sp)
|
||||
.L809D04D8:
|
||||
/* 01DF8 809D04D8 0C273FC4 */ jal func_809CFF10
|
||||
/* 01DFC 809D04DC 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 01E00 809D04E0 10000024 */ beq $zero, $zero, .L809D0574
|
||||
/* 01E04 809D04E4 8FBF0034 */ lw $ra, 0x0034($sp)
|
||||
.L809D04E8:
|
||||
/* 01E08 809D04E8 0C00D579 */ jal func_800355E4
|
||||
/* 01E0C 809D04EC 8FA40044 */ lw $a0, 0x0044($sp)
|
||||
/* 01E10 809D04F0 10400017 */ beq $v0, $zero, .L809D0550
|
||||
/* 01E14 809D04F4 240E0001 */ addiu $t6, $zero, 0x0001 ## $t6 = 00000001
|
||||
/* 01E18 809D04F8 A2000230 */ sb $zero, 0x0230($s0) ## 00000230
|
||||
/* 01E1C 809D04FC 3C01809D */ lui $at, %hi(D_809D1694) ## $at = 809D0000
|
||||
/* 01E20 809D0500 C4281694 */ lwc1 $f8, %lo(D_809D1694)($at)
|
||||
/* 01E24 809D0504 C6060054 */ lwc1 $f6, 0x0054($s0) ## 00000054
|
||||
/* 01E28 809D0508 3C014080 */ lui $at, 0x4080 ## $at = 40800000
|
||||
/* 01E2C 809D050C 44818000 */ mtc1 $at, $f16 ## $f16 = 4.00
|
||||
/* 01E30 809D0510 46083281 */ sub.s $f10, $f6, $f8
|
||||
/* 01E34 809D0514 26060024 */ addiu $a2, $s0, 0x0024 ## $a2 = 00000024
|
||||
/* 01E38 809D0518 240D000B */ addiu $t5, $zero, 0x000B ## $t5 = 0000000B
|
||||
/* 01E3C 809D051C 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000
|
||||
/* 01E40 809D0520 E60A0054 */ swc1 $f10, 0x0054($s0) ## 00000054
|
||||
/* 01E44 809D0524 AFA6003C */ sw $a2, 0x003C($sp)
|
||||
/* 01E48 809D0528 AFA00020 */ sw $zero, 0x0020($sp)
|
||||
/* 01E4C 809D052C AFA0001C */ sw $zero, 0x001C($sp)
|
||||
/* 01E50 809D0530 AFA00018 */ sw $zero, 0x0018($sp)
|
||||
/* 01E54 809D0534 AFAD0010 */ sw $t5, 0x0010($sp)
|
||||
/* 01E58 809D0538 8FA40044 */ lw $a0, 0x0044($sp)
|
||||
/* 01E5C 809D053C 3C0741F0 */ lui $a3, 0x41F0 ## $a3 = 41F00000
|
||||
/* 01E60 809D0540 0C00CC98 */ jal func_80033260
|
||||
/* 01E64 809D0544 E7B00014 */ swc1 $f16, 0x0014($sp)
|
||||
/* 01E68 809D0548 10000003 */ beq $zero, $zero, .L809D0558
|
||||
/* 01E6C 809D054C 8FA6003C */ lw $a2, 0x003C($sp)
|
||||
.L809D0550:
|
||||
/* 01E70 809D0550 A20E0230 */ sb $t6, 0x0230($s0) ## 00000230
|
||||
/* 01E74 809D0554 26060024 */ addiu $a2, $s0, 0x0024 ## $a2 = 00000024
|
||||
.L809D0558:
|
||||
/* 01E78 809D0558 8FA40044 */ lw $a0, 0x0044($sp)
|
||||
/* 01E7C 809D055C 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000
|
||||
/* 01E80 809D0560 0C007E50 */ jal Item_DropCollectibleRandom
|
||||
|
||||
/* 01E84 809D0564 24070090 */ addiu $a3, $zero, 0x0090 ## $a3 = 00000090
|
||||
/* 01E88 809D0568 0C27403D */ jal func_809D00F4
|
||||
/* 01E8C 809D056C 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
.L809D0570:
|
||||
/* 01E90 809D0570 8FBF0034 */ lw $ra, 0x0034($sp)
|
||||
.L809D0574:
|
||||
/* 01E94 809D0574 8FB00030 */ lw $s0, 0x0030($sp)
|
||||
/* 01E98 809D0578 27BD0040 */ addiu $sp, $sp, 0x0040 ## $sp = 00000000
|
||||
/* 01E9C 809D057C 03E00008 */ jr $ra
|
||||
/* 01EA0 809D0580 00000000 */ nop
|
|
@ -1,221 +0,0 @@
|
|||
.late_rodata
|
||||
glabel D_809D1698
|
||||
.word 0x3C1374BC
|
||||
glabel D_809D169C
|
||||
.word 0x3C1374BC
|
||||
|
||||
.text
|
||||
glabel func_809D0584
|
||||
/* 01EA4 809D0584 27BDFFC0 */ addiu $sp, $sp, 0xFFC0 ## $sp = FFFFFFC0
|
||||
/* 01EA8 809D0588 AFBF0034 */ sw $ra, 0x0034($sp)
|
||||
/* 01EAC 809D058C AFB00030 */ sw $s0, 0x0030($sp)
|
||||
/* 01EB0 809D0590 AFA50044 */ sw $a1, 0x0044($sp)
|
||||
/* 01EB4 809D0594 94820088 */ lhu $v0, 0x0088($a0) ## 00000088
|
||||
/* 01EB8 809D0598 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
|
||||
/* 01EBC 809D059C 304E0010 */ andi $t6, $v0, 0x0010 ## $t6 = 00000000
|
||||
/* 01EC0 809D05A0 11C00019 */ beq $t6, $zero, .L809D0608
|
||||
/* 01EC4 809D05A4 304F0001 */ andi $t7, $v0, 0x0001 ## $t7 = 00000000
|
||||
/* 01EC8 809D05A8 11E00017 */ beq $t7, $zero, .L809D0608
|
||||
/* 01ECC 809D05AC 3C01809D */ lui $at, %hi(D_809D1698) ## $at = 809D0000
|
||||
/* 01ED0 809D05B0 A0800230 */ sb $zero, 0x0230($a0) ## 00000230
|
||||
/* 01ED4 809D05B4 C4261698 */ lwc1 $f6, %lo(D_809D1698)($at)
|
||||
/* 01ED8 809D05B8 C4840054 */ lwc1 $f4, 0x0054($a0) ## 00000054
|
||||
/* 01EDC 809D05BC 3C014080 */ lui $at, 0x4080 ## $at = 40800000
|
||||
/* 01EE0 809D05C0 44815000 */ mtc1 $at, $f10 ## $f10 = 4.00
|
||||
/* 01EE4 809D05C4 46062201 */ sub.s $f8, $f4, $f6
|
||||
/* 01EE8 809D05C8 2418000B */ addiu $t8, $zero, 0x000B ## $t8 = 0000000B
|
||||
/* 01EEC 809D05CC 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000
|
||||
/* 01EF0 809D05D0 26060024 */ addiu $a2, $s0, 0x0024 ## $a2 = 00000024
|
||||
/* 01EF4 809D05D4 E4880054 */ swc1 $f8, 0x0054($a0) ## 00000054
|
||||
/* 01EF8 809D05D8 AFA00020 */ sw $zero, 0x0020($sp)
|
||||
/* 01EFC 809D05DC AFA0001C */ sw $zero, 0x001C($sp)
|
||||
/* 01F00 809D05E0 AFA00018 */ sw $zero, 0x0018($sp)
|
||||
/* 01F04 809D05E4 AFB80010 */ sw $t8, 0x0010($sp)
|
||||
/* 01F08 809D05E8 8FA40044 */ lw $a0, 0x0044($sp)
|
||||
/* 01F0C 809D05EC 3C0741F0 */ lui $a3, 0x41F0 ## $a3 = 41F00000
|
||||
/* 01F10 809D05F0 0C00CC98 */ jal func_80033260
|
||||
/* 01F14 809D05F4 E7AA0014 */ swc1 $f10, 0x0014($sp)
|
||||
/* 01F18 809D05F8 0C27403D */ jal func_809D00F4
|
||||
/* 01F1C 809D05FC 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 01F20 809D0600 1000009F */ beq $zero, $zero, .L809D0880
|
||||
/* 01F24 809D0604 8FBF0034 */ lw $ra, 0x0034($sp)
|
||||
.L809D0608:
|
||||
/* 01F28 809D0608 920202F1 */ lbu $v0, 0x02F1($s0) ## 000002F1
|
||||
/* 01F2C 809D060C 30590002 */ andi $t9, $v0, 0x0002 ## $t9 = 00000000
|
||||
/* 01F30 809D0610 5320007F */ beql $t9, $zero, .L809D0810
|
||||
/* 01F34 809D0614 8FA90044 */ lw $t1, 0x0044($sp)
|
||||
/* 01F38 809D0618 920300B1 */ lbu $v1, 0x00B1($s0) ## 000000B1
|
||||
/* 01F3C 809D061C 3048FFFD */ andi $t0, $v0, 0xFFFD ## $t0 = 00000000
|
||||
/* 01F40 809D0620 A20802F1 */ sb $t0, 0x02F1($s0) ## 000002F1
|
||||
/* 01F44 809D0624 50600096 */ beql $v1, $zero, .L809D0880
|
||||
/* 01F48 809D0628 8FBF0034 */ lw $ra, 0x0034($sp)
|
||||
/* 01F4C 809D062C 92090220 */ lbu $t1, 0x0220($s0) ## 00000220
|
||||
/* 01F50 809D0630 24010006 */ addiu $at, $zero, 0x0006 ## $at = 00000006
|
||||
/* 01F54 809D0634 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 01F58 809D0638 11210090 */ beq $t1, $at, .L809D087C
|
||||
/* 01F5C 809D063C 260502F8 */ addiu $a1, $s0, 0x02F8 ## $a1 = 000002F8
|
||||
/* 01F60 809D0640 A2030231 */ sb $v1, 0x0231($s0) ## 00000231
|
||||
/* 01F64 809D0644 0C00D594 */ jal func_80035650
|
||||
/* 01F68 809D0648 00003025 */ or $a2, $zero, $zero ## $a2 = 00000000
|
||||
/* 01F6C 809D064C 92020231 */ lbu $v0, 0x0231($s0) ## 00000231
|
||||
/* 01F70 809D0650 24030001 */ addiu $v1, $zero, 0x0001 ## $v1 = 00000001
|
||||
/* 01F74 809D0654 2401000E */ addiu $at, $zero, 0x000E ## $at = 0000000E
|
||||
/* 01F78 809D0658 50620004 */ beql $v1, $v0, .L809D066C
|
||||
/* 01F7C 809D065C 920A023C */ lbu $t2, 0x023C($s0) ## 0000023C
|
||||
/* 01F80 809D0660 54410013 */ bnel $v0, $at, .L809D06B0
|
||||
/* 01F84 809D0664 44809000 */ mtc1 $zero, $f18 ## $f18 = 0.00
|
||||
/* 01F88 809D0668 920A023C */ lbu $t2, 0x023C($s0) ## 0000023C
|
||||
.L809D066C:
|
||||
/* 01F8C 809D066C 55400084 */ bnel $t2, $zero, .L809D0880
|
||||
/* 01F90 809D0670 8FBF0034 */ lw $ra, 0x0034($sp)
|
||||
/* 01F94 809D0674 0C00D58A */ jal Actor_ApplyDamage
|
||||
|
||||
/* 01F98 809D0678 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 01F9C 809D067C 240B0050 */ addiu $t3, $zero, 0x0050 ## $t3 = 00000050
|
||||
/* 01FA0 809D0680 AFAB0010 */ sw $t3, 0x0010($sp)
|
||||
/* 01FA4 809D0684 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 01FA8 809D0688 00002825 */ or $a1, $zero, $zero ## $a1 = 00000000
|
||||
/* 01FAC 809D068C 24060078 */ addiu $a2, $zero, 0x0078 ## $a2 = 00000078
|
||||
/* 01FB0 809D0690 0C00D09B */ jal func_8003426C
|
||||
/* 01FB4 809D0694 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
|
||||
/* 01FB8 809D0698 0C2740F3 */ jal func_809D03CC
|
||||
/* 01FBC 809D069C 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 01FC0 809D06A0 44808000 */ mtc1 $zero, $f16 ## $f16 = 0.00
|
||||
/* 01FC4 809D06A4 10000075 */ beq $zero, $zero, .L809D087C
|
||||
/* 01FC8 809D06A8 E6100248 */ swc1 $f16, 0x0248($s0) ## 00000248
|
||||
/* 01FCC 809D06AC 44809000 */ mtc1 $zero, $f18 ## $f18 = 0.00
|
||||
.L809D06B0:
|
||||
/* 01FD0 809D06B0 C6040248 */ lwc1 $f4, 0x0248($s0) ## 00000248
|
||||
/* 01FD4 809D06B4 46049032 */ c.eq.s $f18, $f4
|
||||
/* 01FD8 809D06B8 00000000 */ nop
|
||||
/* 01FDC 809D06BC 45020005 */ bc1fl .L809D06D4
|
||||
/* 01FE0 809D06C0 92020221 */ lbu $v0, 0x0221($s0) ## 00000221
|
||||
/* 01FE4 809D06C4 0C00D58A */ jal Actor_ApplyDamage
|
||||
|
||||
/* 01FE8 809D06C8 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 01FEC 809D06CC 24030001 */ addiu $v1, $zero, 0x0001 ## $v1 = 00000001
|
||||
/* 01FF0 809D06D0 92020221 */ lbu $v0, 0x0221($s0) ## 00000221
|
||||
.L809D06D4:
|
||||
/* 01FF4 809D06D4 24010004 */ addiu $at, $zero, 0x0004 ## $at = 00000004
|
||||
/* 01FF8 809D06D8 50620004 */ beql $v1, $v0, .L809D06EC
|
||||
/* 01FFC 809D06DC 920C00AF */ lbu $t4, 0x00AF($s0) ## 000000AF
|
||||
/* 02000 809D06E0 54410033 */ bnel $v0, $at, .L809D07B0
|
||||
/* 02004 809D06E4 92020220 */ lbu $v0, 0x0220($s0) ## 00000220
|
||||
/* 02008 809D06E8 920C00AF */ lbu $t4, 0x00AF($s0) ## 000000AF
|
||||
.L809D06EC:
|
||||
/* 0200C 809D06EC 55800030 */ bnel $t4, $zero, .L809D07B0
|
||||
/* 02010 809D06F0 92020220 */ lbu $v0, 0x0220($s0) ## 00000220
|
||||
/* 02014 809D06F4 920D0220 */ lbu $t5, 0x0220($s0) ## 00000220
|
||||
/* 02018 809D06F8 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 0201C 809D06FC 24054000 */ addiu $a1, $zero, 0x4000 ## $a1 = 00004000
|
||||
/* 02020 809D0700 11A00042 */ beq $t5, $zero, .L809D080C
|
||||
/* 02024 809D0704 240600FF */ addiu $a2, $zero, 0x00FF ## $a2 = 000000FF
|
||||
/* 02028 809D0708 240E0008 */ addiu $t6, $zero, 0x0008 ## $t6 = 00000008
|
||||
/* 0202C 809D070C AFAE0010 */ sw $t6, 0x0010($sp)
|
||||
/* 02030 809D0710 0C00D09B */ jal func_8003426C
|
||||
/* 02034 809D0714 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
|
||||
/* 02038 809D0718 8FA40044 */ lw $a0, 0x0044($sp)
|
||||
/* 0203C 809D071C 0C00D579 */ jal func_800355E4
|
||||
/* 02040 809D0720 260502E0 */ addiu $a1, $s0, 0x02E0 ## $a1 = 000002E0
|
||||
/* 02044 809D0724 10400017 */ beq $v0, $zero, .L809D0784
|
||||
/* 02048 809D0728 24180001 */ addiu $t8, $zero, 0x0001 ## $t8 = 00000001
|
||||
/* 0204C 809D072C A2000230 */ sb $zero, 0x0230($s0) ## 00000230
|
||||
/* 02050 809D0730 3C01809D */ lui $at, %hi(D_809D169C) ## $at = 809D0000
|
||||
/* 02054 809D0734 C428169C */ lwc1 $f8, %lo(D_809D169C)($at)
|
||||
/* 02058 809D0738 C6060054 */ lwc1 $f6, 0x0054($s0) ## 00000054
|
||||
/* 0205C 809D073C 3C014080 */ lui $at, 0x4080 ## $at = 40800000
|
||||
/* 02060 809D0740 44818000 */ mtc1 $at, $f16 ## $f16 = 4.00
|
||||
/* 02064 809D0744 46083281 */ sub.s $f10, $f6, $f8
|
||||
/* 02068 809D0748 26060024 */ addiu $a2, $s0, 0x0024 ## $a2 = 00000024
|
||||
/* 0206C 809D074C 240F000B */ addiu $t7, $zero, 0x000B ## $t7 = 0000000B
|
||||
/* 02070 809D0750 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000
|
||||
/* 02074 809D0754 E60A0054 */ swc1 $f10, 0x0054($s0) ## 00000054
|
||||
/* 02078 809D0758 AFA6003C */ sw $a2, 0x003C($sp)
|
||||
/* 0207C 809D075C AFA00020 */ sw $zero, 0x0020($sp)
|
||||
/* 02080 809D0760 AFA0001C */ sw $zero, 0x001C($sp)
|
||||
/* 02084 809D0764 AFA00018 */ sw $zero, 0x0018($sp)
|
||||
/* 02088 809D0768 AFAF0010 */ sw $t7, 0x0010($sp)
|
||||
/* 0208C 809D076C 8FA40044 */ lw $a0, 0x0044($sp)
|
||||
/* 02090 809D0770 3C0741F0 */ lui $a3, 0x41F0 ## $a3 = 41F00000
|
||||
/* 02094 809D0774 0C00CC98 */ jal func_80033260
|
||||
/* 02098 809D0778 E7B00014 */ swc1 $f16, 0x0014($sp)
|
||||
/* 0209C 809D077C 10000003 */ beq $zero, $zero, .L809D078C
|
||||
/* 020A0 809D0780 8FA6003C */ lw $a2, 0x003C($sp)
|
||||
.L809D0784:
|
||||
/* 020A4 809D0784 A2180230 */ sb $t8, 0x0230($s0) ## 00000230
|
||||
/* 020A8 809D0788 26060024 */ addiu $a2, $s0, 0x0024 ## $a2 = 00000024
|
||||
.L809D078C:
|
||||
/* 020AC 809D078C 8FA40044 */ lw $a0, 0x0044($sp)
|
||||
/* 020B0 809D0790 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000
|
||||
/* 020B4 809D0794 0C007E50 */ jal Item_DropCollectibleRandom
|
||||
|
||||
/* 020B8 809D0798 24070090 */ addiu $a3, $zero, 0x0090 ## $a3 = 00000090
|
||||
/* 020BC 809D079C 0C27403D */ jal func_809D00F4
|
||||
/* 020C0 809D07A0 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 020C4 809D07A4 1000001A */ beq $zero, $zero, .L809D0810
|
||||
/* 020C8 809D07A8 8FA90044 */ lw $t1, 0x0044($sp)
|
||||
/* 020CC 809D07AC 92020220 */ lbu $v0, 0x0220($s0) ## 00000220
|
||||
.L809D07B0:
|
||||
/* 020D0 809D07B0 24010006 */ addiu $at, $zero, 0x0006 ## $at = 00000006
|
||||
/* 020D4 809D07B4 50620016 */ beql $v1, $v0, .L809D0810
|
||||
/* 020D8 809D07B8 8FA90044 */ lw $t1, 0x0044($sp)
|
||||
/* 020DC 809D07BC 10410013 */ beq $v0, $at, .L809D080C
|
||||
/* 020E0 809D07C0 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 020E4 809D07C4 0C00BE0A */ jal Audio_PlayActorSound2
|
||||
|
||||
/* 020E8 809D07C8 24053977 */ addiu $a1, $zero, 0x3977 ## $a1 = 00003977
|
||||
/* 020EC 809D07CC 24190008 */ addiu $t9, $zero, 0x0008 ## $t9 = 00000008
|
||||
/* 020F0 809D07D0 AFB90010 */ sw $t9, 0x0010($sp)
|
||||
/* 020F4 809D07D4 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 020F8 809D07D8 24054000 */ addiu $a1, $zero, 0x4000 ## $a1 = 00004000
|
||||
/* 020FC 809D07DC 240600FF */ addiu $a2, $zero, 0x00FF ## $a2 = 000000FF
|
||||
/* 02100 809D07E0 0C00D09B */ jal func_8003426C
|
||||
/* 02104 809D07E4 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
|
||||
/* 02108 809D07E8 92080220 */ lbu $t0, 0x0220($s0) ## 00000220
|
||||
/* 0210C 809D07EC 24010005 */ addiu $at, $zero, 0x0005 ## $at = 00000005
|
||||
/* 02110 809D07F0 51010004 */ beql $t0, $at, .L809D0804
|
||||
/* 02114 809D07F4 44809000 */ mtc1 $zero, $f18 ## $f18 = 0.00
|
||||
/* 02118 809D07F8 0C274073 */ jal func_809D01CC
|
||||
/* 0211C 809D07FC 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 02120 809D0800 44809000 */ mtc1 $zero, $f18 ## $f18 = 0.00
|
||||
.L809D0804:
|
||||
/* 02124 809D0804 00000000 */ nop
|
||||
/* 02128 809D0808 E6120248 */ swc1 $f18, 0x0248($s0) ## 00000248
|
||||
.L809D080C:
|
||||
/* 0212C 809D080C 8FA90044 */ lw $t1, 0x0044($sp)
|
||||
.L809D0810:
|
||||
/* 02130 809D0810 3C0143C8 */ lui $at, 0x43C8 ## $at = 43C80000
|
||||
/* 02134 809D0814 912A1C26 */ lbu $t2, 0x1C26($t1) ## 00001C26
|
||||
/* 02138 809D0818 51400019 */ beql $t2, $zero, .L809D0880
|
||||
/* 0213C 809D081C 8FBF0034 */ lw $ra, 0x0034($sp)
|
||||
/* 02140 809D0820 44812000 */ mtc1 $at, $f4 ## $f4 = 400.00
|
||||
/* 02144 809D0824 C6060090 */ lwc1 $f6, 0x0090($s0) ## 00000090
|
||||
/* 02148 809D0828 4604303E */ c.le.s $f6, $f4
|
||||
/* 0214C 809D082C 00000000 */ nop
|
||||
/* 02150 809D0830 45020013 */ bc1fl .L809D0880
|
||||
/* 02154 809D0834 8FBF0034 */ lw $ra, 0x0034($sp)
|
||||
/* 02158 809D0838 960B0088 */ lhu $t3, 0x0088($s0) ## 00000088
|
||||
/* 0215C 809D083C 316C0001 */ andi $t4, $t3, 0x0001 ## $t4 = 00000000
|
||||
/* 02160 809D0840 5180000F */ beql $t4, $zero, .L809D0880
|
||||
/* 02164 809D0844 8FBF0034 */ lw $ra, 0x0034($sp)
|
||||
/* 02168 809D0848 92020220 */ lbu $v0, 0x0220($s0) ## 00000220
|
||||
/* 0216C 809D084C 24010005 */ addiu $at, $zero, 0x0005 ## $at = 00000005
|
||||
/* 02170 809D0850 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 02174 809D0854 14410005 */ bne $v0, $at, .L809D086C
|
||||
/* 02178 809D0858 00000000 */ nop
|
||||
/* 0217C 809D085C 0C273FC4 */ jal func_809CFF10
|
||||
/* 02180 809D0860 A200023C */ sb $zero, 0x023C($s0) ## 0000023C
|
||||
/* 02184 809D0864 10000006 */ beq $zero, $zero, .L809D0880
|
||||
/* 02188 809D0868 8FBF0034 */ lw $ra, 0x0034($sp)
|
||||
.L809D086C:
|
||||
/* 0218C 809D086C 10400003 */ beq $v0, $zero, .L809D087C
|
||||
/* 02190 809D0870 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 02194 809D0874 0C273EEA */ jal func_809CFBA8
|
||||
/* 02198 809D0878 A200023C */ sb $zero, 0x023C($s0) ## 0000023C
|
||||
.L809D087C:
|
||||
/* 0219C 809D087C 8FBF0034 */ lw $ra, 0x0034($sp)
|
||||
.L809D0880:
|
||||
/* 021A0 809D0880 8FB00030 */ lw $s0, 0x0030($sp)
|
||||
/* 021A4 809D0884 27BD0040 */ addiu $sp, $sp, 0x0040 ## $sp = 00000000
|
||||
/* 021A8 809D0888 03E00008 */ jr $ra
|
||||
/* 021AC 809D088C 00000000 */ nop
|
|
@ -1,162 +0,0 @@
|
|||
.rdata
|
||||
glabel D_809D1560
|
||||
.asciz "../z_en_bw.c"
|
||||
.balign 4
|
||||
|
||||
.late_rodata
|
||||
glabel D_809D16B4
|
||||
.word 0x3DEB851F
|
||||
glabel D_809D16B8
|
||||
.word 0x3E051EB8
|
||||
glabel D_809D16BC
|
||||
.float 0.1
|
||||
|
||||
glabel D_809D16C0
|
||||
.float 0.1
|
||||
|
||||
glabel D_809D16C4
|
||||
.word 0x3E051EB8
|
||||
glabel D_809D16C8
|
||||
.word 0x3DEB851F
|
||||
|
||||
.text
|
||||
glabel func_809D0D18
|
||||
/* 02638 809D0D18 27BDFFB8 */ addiu $sp, $sp, 0xFFB8 ## $sp = FFFFFFB8
|
||||
/* 0263C 809D0D1C 24010001 */ addiu $at, $zero, 0x0001 ## $at = 00000001
|
||||
/* 02640 809D0D20 AFBF003C */ sw $ra, 0x003C($sp)
|
||||
/* 02644 809D0D24 AFB00038 */ sw $s0, 0x0038($sp)
|
||||
/* 02648 809D0D28 AFA40048 */ sw $a0, 0x0048($sp)
|
||||
/* 0264C 809D0D2C AFA60050 */ sw $a2, 0x0050($sp)
|
||||
/* 02650 809D0D30 14A1007B */ bne $a1, $at, .L809D0F20
|
||||
/* 02654 809D0D34 AFA70054 */ sw $a3, 0x0054($sp)
|
||||
/* 02658 809D0D38 8FA80060 */ lw $t0, 0x0060($sp)
|
||||
/* 0265C 809D0D3C 8FB0005C */ lw $s0, 0x005C($sp)
|
||||
/* 02660 809D0D40 3C0FDB06 */ lui $t7, 0xDB06 ## $t7 = DB060000
|
||||
/* 02664 809D0D44 8D020000 */ lw $v0, 0x0000($t0) ## 00000000
|
||||
/* 02668 809D0D48 35EF0024 */ ori $t7, $t7, 0x0024 ## $t7 = DB060024
|
||||
/* 0266C 809D0D4C 24190020 */ addiu $t9, $zero, 0x0020 ## $t9 = 00000020
|
||||
/* 02670 809D0D50 244E0008 */ addiu $t6, $v0, 0x0008 ## $t6 = 00000008
|
||||
/* 02674 809D0D54 AD0E0000 */ sw $t6, 0x0000($t0) ## 00000000
|
||||
/* 02678 809D0D58 AC4F0000 */ sw $t7, 0x0000($v0) ## 00000000
|
||||
/* 0267C 809D0D5C 8FB80048 */ lw $t8, 0x0048($sp)
|
||||
/* 02680 809D0D60 24090020 */ addiu $t1, $zero, 0x0020 ## $t1 = 00000020
|
||||
/* 02684 809D0D64 240A0001 */ addiu $t2, $zero, 0x0001 ## $t2 = 00000001
|
||||
/* 02688 809D0D68 8F040000 */ lw $a0, 0x0000($t8) ## 00000000
|
||||
/* 0268C 809D0D6C AFA0001C */ sw $zero, 0x001C($sp)
|
||||
/* 02690 809D0D70 AFAA0018 */ sw $t2, 0x0018($sp)
|
||||
/* 02694 809D0D74 AFA90014 */ sw $t1, 0x0014($sp)
|
||||
/* 02698 809D0D78 AFB90010 */ sw $t9, 0x0010($sp)
|
||||
/* 0269C 809D0D7C 920B023A */ lbu $t3, 0x023A($s0) ## 0000023A
|
||||
/* 026A0 809D0D80 240C0020 */ addiu $t4, $zero, 0x0020 ## $t4 = 00000020
|
||||
/* 026A4 809D0D84 240D0020 */ addiu $t5, $zero, 0x0020 ## $t5 = 00000020
|
||||
/* 026A8 809D0D88 AFAD0028 */ sw $t5, 0x0028($sp)
|
||||
/* 026AC 809D0D8C AFAC0024 */ sw $t4, 0x0024($sp)
|
||||
/* 026B0 809D0D90 00002825 */ or $a1, $zero, $zero ## $a1 = 00000000
|
||||
/* 026B4 809D0D94 00003025 */ or $a2, $zero, $zero ## $a2 = 00000000
|
||||
/* 026B8 809D0D98 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
|
||||
/* 026BC 809D0D9C AFA20040 */ sw $v0, 0x0040($sp)
|
||||
/* 026C0 809D0DA0 0C0253D0 */ jal Gfx_TwoTexScroll
|
||||
/* 026C4 809D0DA4 AFAB0020 */ sw $t3, 0x0020($sp)
|
||||
/* 026C8 809D0DA8 8FA30040 */ lw $v1, 0x0040($sp)
|
||||
/* 026CC 809D0DAC 24010001 */ addiu $at, $zero, 0x0001 ## $at = 00000001
|
||||
/* 026D0 809D0DB0 AC620004 */ sw $v0, 0x0004($v1) ## 00000004
|
||||
/* 026D4 809D0DB4 92020220 */ lbu $v0, 0x0220($s0) ## 00000220
|
||||
/* 026D8 809D0DB8 10410003 */ beq $v0, $at, .L809D0DC8
|
||||
/* 026DC 809D0DBC 24010005 */ addiu $at, $zero, 0x0005 ## $at = 00000005
|
||||
/* 026E0 809D0DC0 54410058 */ bnel $v0, $at, .L809D0F24
|
||||
/* 026E4 809D0DC4 00001025 */ or $v0, $zero, $zero ## $v0 = 00000000
|
||||
.L809D0DC8:
|
||||
/* 026E8 809D0DC8 0C034213 */ jal Matrix_Push
|
||||
/* 026EC 809D0DCC 00000000 */ nop
|
||||
/* 026F0 809D0DD0 3C013F80 */ lui $at, 0x3F80 ## $at = 3F800000
|
||||
/* 026F4 809D0DD4 44816000 */ mtc1 $at, $f12 ## $f12 = 1.00
|
||||
/* 026F8 809D0DD8 24070001 */ addiu $a3, $zero, 0x0001 ## $a3 = 00000001
|
||||
/* 026FC 809D0DDC 44066000 */ mfc1 $a2, $f12
|
||||
/* 02700 809D0DE0 0C0342A3 */ jal Matrix_Scale
|
||||
/* 02704 809D0DE4 46006386 */ mov.s $f14, $f12
|
||||
/* 02708 809D0DE8 3C01809D */ lui $at, %hi(D_809D16B4) ## $at = 809D0000
|
||||
/* 0270C 809D0DEC C42616B4 */ lwc1 $f6, %lo(D_809D16B4)($at)
|
||||
/* 02710 809D0DF0 C6040258 */ lwc1 $f4, 0x0258($s0) ## 00000258
|
||||
/* 02714 809D0DF4 24050001 */ addiu $a1, $zero, 0x0001 ## $a1 = 00000001
|
||||
/* 02718 809D0DF8 46062302 */ mul.s $f12, $f4, $f6
|
||||
/* 0271C 809D0DFC 0C0342DC */ jal Matrix_RotateX
|
||||
/* 02720 809D0E00 00000000 */ nop
|
||||
/* 02724 809D0E04 3C01809D */ lui $at, %hi(D_809D16B8) ## $at = 809D0000
|
||||
/* 02728 809D0E08 C42A16B8 */ lwc1 $f10, %lo(D_809D16B8)($at)
|
||||
/* 0272C 809D0E0C C6080258 */ lwc1 $f8, 0x0258($s0) ## 00000258
|
||||
/* 02730 809D0E10 24050001 */ addiu $a1, $zero, 0x0001 ## $a1 = 00000001
|
||||
/* 02734 809D0E14 460A4302 */ mul.s $f12, $f8, $f10
|
||||
/* 02738 809D0E18 0C034348 */ jal Matrix_RotateY
|
||||
/* 0273C 809D0E1C 00000000 */ nop
|
||||
/* 02740 809D0E20 3C01809D */ lui $at, %hi(D_809D16BC) ## $at = 809D0000
|
||||
/* 02744 809D0E24 C43216BC */ lwc1 $f18, %lo(D_809D16BC)($at)
|
||||
/* 02748 809D0E28 C6100258 */ lwc1 $f16, 0x0258($s0) ## 00000258
|
||||
/* 0274C 809D0E2C 24050001 */ addiu $a1, $zero, 0x0001 ## $a1 = 00000001
|
||||
/* 02750 809D0E30 46128302 */ mul.s $f12, $f16, $f18
|
||||
/* 02754 809D0E34 0C0343B5 */ jal Matrix_RotateZ
|
||||
/* 02758 809D0E38 00000000 */ nop
|
||||
/* 0275C 809D0E3C 3C013F80 */ lui $at, 0x3F80 ## $at = 3F800000
|
||||
/* 02760 809D0E40 44811000 */ mtc1 $at, $f2 ## $f2 = 1.00
|
||||
/* 02764 809D0E44 C6000260 */ lwc1 $f0, 0x0260($s0) ## 00000260
|
||||
/* 02768 809D0E48 24070001 */ addiu $a3, $zero, 0x0001 ## $a3 = 00000001
|
||||
/* 0276C 809D0E4C 46001301 */ sub.s $f12, $f2, $f0
|
||||
/* 02770 809D0E50 46020380 */ add.s $f14, $f0, $f2
|
||||
/* 02774 809D0E54 44066000 */ mfc1 $a2, $f12
|
||||
/* 02778 809D0E58 0C0342A3 */ jal Matrix_Scale
|
||||
/* 0277C 809D0E5C 00000000 */ nop
|
||||
/* 02780 809D0E60 3C01809D */ lui $at, %hi(D_809D16C0) ## $at = 809D0000
|
||||
/* 02784 809D0E64 C42616C0 */ lwc1 $f6, %lo(D_809D16C0)($at)
|
||||
/* 02788 809D0E68 C6040258 */ lwc1 $f4, 0x0258($s0) ## 00000258
|
||||
/* 0278C 809D0E6C 24050001 */ addiu $a1, $zero, 0x0001 ## $a1 = 00000001
|
||||
/* 02790 809D0E70 46062302 */ mul.s $f12, $f4, $f6
|
||||
/* 02794 809D0E74 0C0343B5 */ jal Matrix_RotateZ
|
||||
/* 02798 809D0E78 46006307 */ neg.s $f12, $f12
|
||||
/* 0279C 809D0E7C 3C01809D */ lui $at, %hi(D_809D16C4) ## $at = 809D0000
|
||||
/* 027A0 809D0E80 C42A16C4 */ lwc1 $f10, %lo(D_809D16C4)($at)
|
||||
/* 027A4 809D0E84 C6080258 */ lwc1 $f8, 0x0258($s0) ## 00000258
|
||||
/* 027A8 809D0E88 24050001 */ addiu $a1, $zero, 0x0001 ## $a1 = 00000001
|
||||
/* 027AC 809D0E8C 460A4302 */ mul.s $f12, $f8, $f10
|
||||
/* 027B0 809D0E90 0C034348 */ jal Matrix_RotateY
|
||||
/* 027B4 809D0E94 46006307 */ neg.s $f12, $f12
|
||||
/* 027B8 809D0E98 3C01809D */ lui $at, %hi(D_809D16C8) ## $at = 809D0000
|
||||
/* 027BC 809D0E9C C43216C8 */ lwc1 $f18, %lo(D_809D16C8)($at)
|
||||
/* 027C0 809D0EA0 C6100258 */ lwc1 $f16, 0x0258($s0) ## 00000258
|
||||
/* 027C4 809D0EA4 24050001 */ addiu $a1, $zero, 0x0001 ## $a1 = 00000001
|
||||
/* 027C8 809D0EA8 46128302 */ mul.s $f12, $f16, $f18
|
||||
/* 027CC 809D0EAC 0C0342DC */ jal Matrix_RotateX
|
||||
/* 027D0 809D0EB0 46006307 */ neg.s $f12, $f12
|
||||
/* 027D4 809D0EB4 8FA30060 */ lw $v1, 0x0060($sp)
|
||||
/* 027D8 809D0EB8 3C0FDA38 */ lui $t7, 0xDA38 ## $t7 = DA380000
|
||||
/* 027DC 809D0EBC 35EF0003 */ ori $t7, $t7, 0x0003 ## $t7 = DA380003
|
||||
/* 027E0 809D0EC0 8C620000 */ lw $v0, 0x0000($v1) ## 00000000
|
||||
/* 027E4 809D0EC4 3C05809D */ lui $a1, %hi(D_809D1560) ## $a1 = 809D0000
|
||||
/* 027E8 809D0EC8 24A51560 */ addiu $a1, $a1, %lo(D_809D1560) ## $a1 = 809D1560
|
||||
/* 027EC 809D0ECC 244E0008 */ addiu $t6, $v0, 0x0008 ## $t6 = 00000008
|
||||
/* 027F0 809D0ED0 AC6E0000 */ sw $t6, 0x0000($v1) ## 00000000
|
||||
/* 027F4 809D0ED4 AC4F0000 */ sw $t7, 0x0000($v0) ## 00000000
|
||||
/* 027F8 809D0ED8 8FB80048 */ lw $t8, 0x0048($sp)
|
||||
/* 027FC 809D0EDC 2406056C */ addiu $a2, $zero, 0x056C ## $a2 = 0000056C
|
||||
/* 02800 809D0EE0 00408025 */ or $s0, $v0, $zero ## $s0 = 00000000
|
||||
/* 02804 809D0EE4 0C0346A2 */ jal Matrix_NewMtx
|
||||
/* 02808 809D0EE8 8F040000 */ lw $a0, 0x0000($t8) ## 00000000
|
||||
/* 0280C 809D0EEC AE020004 */ sw $v0, 0x0004($s0) ## 00000004
|
||||
/* 02810 809D0EF0 8FB90060 */ lw $t9, 0x0060($sp)
|
||||
/* 02814 809D0EF4 3C0ADE00 */ lui $t2, 0xDE00 ## $t2 = DE000000
|
||||
/* 02818 809D0EF8 8F220000 */ lw $v0, 0x0000($t9) ## 00000000
|
||||
/* 0281C 809D0EFC 24490008 */ addiu $t1, $v0, 0x0008 ## $t1 = 00000008
|
||||
/* 02820 809D0F00 AF290000 */ sw $t1, 0x0000($t9) ## 00000000
|
||||
/* 02824 809D0F04 AC4A0000 */ sw $t2, 0x0000($v0) ## 00000000
|
||||
/* 02828 809D0F08 8FAB0050 */ lw $t3, 0x0050($sp)
|
||||
/* 0282C 809D0F0C 8D6C0000 */ lw $t4, 0x0000($t3) ## 00000000
|
||||
/* 02830 809D0F10 0C034221 */ jal Matrix_Pull
|
||||
/* 02834 809D0F14 AC4C0004 */ sw $t4, 0x0004($v0) ## 00000004
|
||||
/* 02838 809D0F18 10000002 */ beq $zero, $zero, .L809D0F24
|
||||
/* 0283C 809D0F1C 24020001 */ addiu $v0, $zero, 0x0001 ## $v0 = 00000001
|
||||
.L809D0F20:
|
||||
/* 02840 809D0F20 00001025 */ or $v0, $zero, $zero ## $v0 = 00000000
|
||||
.L809D0F24:
|
||||
/* 02844 809D0F24 8FBF003C */ lw $ra, 0x003C($sp)
|
||||
/* 02848 809D0F28 8FB00038 */ lw $s0, 0x0038($sp)
|
||||
/* 0284C 809D0F2C 27BD0048 */ addiu $sp, $sp, 0x0048 ## $sp = 00000000
|
||||
/* 02850 809D0F30 03E00008 */ jr $ra
|
||||
/* 02854 809D0F34 00000000 */ nop
|
|
@ -1,42 +0,0 @@
|
|||
.include "macro.inc"
|
||||
|
||||
# assembler directives
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.section .data
|
||||
|
||||
.balign 16
|
||||
|
||||
glabel En_Bw_InitVars
|
||||
.word 0x00380500, 0x00000015, 0x00250000, 0x0000032C
|
||||
.word EnBw_Init
|
||||
.word EnBw_Destroy
|
||||
.word EnBw_Update
|
||||
.word EnBw_Draw
|
||||
glabel D_809D1450
|
||||
.word 0x0A110000, 0x00010000, 0x00000000, 0xFFCFFFFF, 0x01080000, 0x00000000, 0x00000000, 0x01000000, 0x001E0041, 0x00000000, 0x00000000
|
||||
glabel D_809D147C
|
||||
.word 0x00000909, 0x10010000, 0x00000000, 0x00000000, 0x00000000, 0xFFCFFFFF, 0x00000000, 0x00010100, 0x001E0023, 0x00000000, 0x00000000
|
||||
glabel D_809D14A8
|
||||
.word 0x100000F2, 0x00F2F210, 0x00F2F4F2, 0xE4F2F2F2, 0xF260E360, 0x0000F1F4, 0xF2F2F8F4, 0x0000F400
|
||||
glabel D_809D14C8
|
||||
.word 0x00000000
|
||||
glabel D_809D14CC
|
||||
.word 0x00000000, 0x00000000, 0x00000000
|
||||
glabel D_809D14D8
|
||||
.word 0x00000000, 0x00000000, 0x00000000
|
||||
glabel D_809D14E4
|
||||
.word 0xFFC800FF
|
||||
glabel D_809D14E8
|
||||
.word 0xFF5000FF
|
||||
glabel D_809D14EC
|
||||
.word 0x000000FF
|
||||
glabel D_809D14F0
|
||||
.word 0x000000DC
|
||||
glabel D_809D14F4
|
||||
.word 0x41A00000, 0x41200000, 0x00000000, 0xC1A00000, 0x41200000, 0x00000000, 0x00000000, 0x41200000, 0xC1C80000, 0x41200000, 0x00000000, 0x41700000, 0x41200000, 0x00000000, 0xC1700000, 0x00000000, 0x41200000, 0x41C80000, 0xC1200000, 0x00000000, 0x41700000, 0xC1200000, 0x00000000, 0xC1700000
|
||||
glabel D_809D1554
|
||||
.word 0x00000000, 0x00000000, 0x00000000
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
.include "macro.inc"
|
||||
|
||||
# assembler directives
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.section .rodata
|
||||
|
||||
.balign 16
|
||||
|
||||
glabel D_809D16F0
|
||||
.incbin "baserom/ovl_En_Bw", 0x3010, 0x000003F0
|
|
@ -606,6 +606,7 @@ s32 func_8003DF10(CollisionContext*, Vec3f*, Vec3f*, Vec3f*, CollisionPoly**, u3
|
|||
s32 func_8003DFA0(CollisionContext*, Vec3f*, Vec3f*, Vec3f*, CollisionPoly**, u32, u32, u32, u32, u32*, Actor*, f32);
|
||||
s32 func_8003E0B8(CollisionContext* colCtx, Vec3f* posA, Vec3f* posB, Vec3f* posResult, CollisionPoly** outPoly,
|
||||
s32 chkOneFace);
|
||||
s32 func_8003E0FC(CollisionContext*, Vec3f*, Vec3f*, Vec3f*, CollisionPoly**, u32, u32, u32, u32);
|
||||
// ? func_8003E0FC(?);
|
||||
s32 func_8003E188(CollisionContext*, Vec3f*, Vec3f*, Vec3f*, CollisionPoly**, u32, u32, u32, u32, f32*);
|
||||
// ? func_8003E214(?);
|
||||
|
|
3
spec
3
spec
|
@ -2020,8 +2020,7 @@ endseg
|
|||
beginseg
|
||||
name "ovl_En_Bw"
|
||||
include "build/src/overlays/actors/ovl_En_Bw/z_en_bw.o"
|
||||
include "build/data/overlays/actors/z_en_bw.data.o"
|
||||
include "build/data/overlays/actors/z_en_bw.reloc.o"
|
||||
include "build/src/overlays/actors/ovl_En_Bw/ovl_En_Bw_reloc.o"
|
||||
endseg
|
||||
|
||||
beginseg
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
/*
|
||||
* File: z_en_bw.c
|
||||
* Overlay: ovl_En_Bw
|
||||
* Description: Torch slug
|
||||
*/
|
||||
|
||||
#include "z_en_bw.h"
|
||||
|
||||
#define FLAGS 0x00000015
|
||||
|
@ -9,13 +15,30 @@ void EnBw_Destroy(Actor* thisx, GlobalContext* globalCtx);
|
|||
void EnBw_Update(Actor* thisx, GlobalContext* globalCtx);
|
||||
void EnBw_Draw(Actor* thisx, GlobalContext* globalCtx);
|
||||
|
||||
extern UNK_TYPE D_0404D4E0;
|
||||
extern UNK_TYPE D_06000228;
|
||||
extern UNK_TYPE D_060020F0;
|
||||
extern UNK_TYPE D_060021A0;
|
||||
extern UNK_TYPE D_06002250;
|
||||
void func_809CE884(EnBw* this, GlobalContext* globalCtx);
|
||||
void func_809CE9A8(EnBw* this);
|
||||
void func_809CEA24(EnBw* this, GlobalContext* globalCtx);
|
||||
void func_809CF72C(EnBw* this);
|
||||
void func_809CF7AC(EnBw* this, GlobalContext* globalCtx);
|
||||
void func_809CF8F0(EnBw* this);
|
||||
void func_809CF984(EnBw* this, GlobalContext* globalCtx);
|
||||
void func_809CFBA8(EnBw* this);
|
||||
void func_809CFC4C(EnBw* this, GlobalContext* globalCtx);
|
||||
void func_809CFF10(EnBw* this);
|
||||
void func_809CFF98(EnBw* this, GlobalContext* globalCtx);
|
||||
void func_809D00F4(EnBw* this);
|
||||
void func_809D014C(EnBw* this, GlobalContext* globalCtx);
|
||||
void func_809D01CC(EnBw* this);
|
||||
void func_809D0268(EnBw* this, GlobalContext* globalCtx);
|
||||
void func_809D03CC(EnBw* this);
|
||||
void func_809D0424(EnBw* this, GlobalContext* globalCtx);
|
||||
|
||||
extern Gfx D_0404D4E0[];
|
||||
extern AnimationHeader D_06000228;
|
||||
extern SkeletonHeader D_060020F0;
|
||||
extern AnimationHeader D_060021A0;
|
||||
extern AnimationHeader D_06002250;
|
||||
|
||||
/*
|
||||
const ActorInit En_Bw_InitVars = {
|
||||
ACTOR_EN_BW,
|
||||
ACTORTYPE_ENEMY,
|
||||
|
@ -27,51 +50,801 @@ const ActorInit En_Bw_InitVars = {
|
|||
(ActorFunc)EnBw_Update,
|
||||
(ActorFunc)EnBw_Draw,
|
||||
};
|
||||
*/
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Bw/func_809CE6E0.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Bw/EnBw_Init.s")
|
||||
static ColliderCylinderInit sCylinderInit1 = {
|
||||
{ COLTYPE_UNK10, 0x11, 0x00, 0x00, 0x00, COLSHAPE_CYLINDER },
|
||||
{ 0x00, { 0xFFCFFFFF, 0x01, 0x08 }, { 0x00000000, 0x00, 0x00 }, 0x01, 0x00, 0x00 },
|
||||
{ 30, 65, 0, { 0, 0, 0 } },
|
||||
};
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Bw/EnBw_Destroy.s")
|
||||
static ColliderCylinderInit sCylinderInit2 = {
|
||||
{ COLTYPE_UNK0, 0x00, 0x09, 0x09, 0x10, COLSHAPE_CYLINDER },
|
||||
{ 0x00, { 0x00000000, 0x00, 0x00 }, { 0xFFCFFFFF, 0x00, 0x00 }, 0x00, 0x01, 0x01 },
|
||||
{ 30, 35, 0, { 0, 0, 0 } },
|
||||
};
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Bw/func_809CE884.s")
|
||||
static DamageTable sDamageTable = {
|
||||
0x10, 0x00, 0x00, 0xF2, 0x00, 0xF2, 0xF2, 0x10, 0x00, 0xF2, 0xF4, 0xF2, 0xE4, 0xF2, 0xF2, 0xF2,
|
||||
0xF2, 0x60, 0xE3, 0x60, 0x00, 0x00, 0xF1, 0xF4, 0xF2, 0xF2, 0xF8, 0xF4, 0x00, 0x00, 0xF4, 0x00,
|
||||
};
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Bw/func_809CE9A8.s")
|
||||
static s32 sSlugGroup = 0;
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Bw/func_809CEA24.s")
|
||||
void EnBw_SetupAction(EnBw* this, EnBwActionFunc actionFunc) {
|
||||
this->actionFunc = actionFunc;
|
||||
}
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Bw/func_809CF72C.s")
|
||||
void EnBw_Init(Actor* thisx, GlobalContext* globalCtx) {
|
||||
EnBw* this = THIS;
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Bw/func_809CF7AC.s")
|
||||
Actor_SetScale(&this->actor, 0.012999999f);
|
||||
this->actor.naviEnemyId = 0x23;
|
||||
this->actor.gravity = -2.0f;
|
||||
SkelAnime_Init(globalCtx, &this->skelAnime, &D_060020F0, &D_06000228, this->limbDrawTbl, this->transitionDrawTbl,
|
||||
12);
|
||||
ActorShape_Init(&this->actor.shape, 0.0f, ActorShadow_DrawFunc_Circle, 40.0f);
|
||||
this->actor.colChkInfo.damageTable = &sDamageTable;
|
||||
this->actor.colChkInfo.health = 6;
|
||||
this->actor.colChkInfo.mass = 0xFE;
|
||||
this->actor.posRot2.pos = this->actor.posRot.pos;
|
||||
func_809CE9A8(this);
|
||||
this->color1.a = this->color1.r = 255;
|
||||
this->color1.g = this->color1.b = 0;
|
||||
this->unk_248 = 0.6f;
|
||||
this->unk_221 = 3;
|
||||
Collider_InitCylinder(globalCtx, &this->collider1);
|
||||
//! this->collider2 should have Init called on it, but it doesn't matter since the heap is zeroed before use.
|
||||
Collider_SetCylinder(globalCtx, &this->collider1, &this->actor, &sCylinderInit1);
|
||||
Collider_SetCylinder(globalCtx, &this->collider2, &this->actor, &sCylinderInit2);
|
||||
this->unk_236 = this->actor.posRot.rot.y;
|
||||
this->actor.params = sSlugGroup;
|
||||
sSlugGroup = (sSlugGroup + 1) & 3;
|
||||
}
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Bw/func_809CF8F0.s")
|
||||
void EnBw_Destroy(Actor* thisx, GlobalContext* globalCtx) {
|
||||
s32 pad;
|
||||
EnBw* this = THIS;
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Bw/func_809CF984.s")
|
||||
Collider_DestroyCylinder(globalCtx, &this->collider1);
|
||||
Collider_DestroyCylinder(globalCtx, &this->collider2);
|
||||
}
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Bw/func_809CFBA8.s")
|
||||
void func_809CE884(EnBw* this, GlobalContext* globalCtx) {
|
||||
Math_SmoothStepToF(&this->actor.speedXZ, 0.0f, 1.0f, 0.5f, 0.0f);
|
||||
this->unk_222 -= 250;
|
||||
this->actor.scale.x = 0.013f + Math_SinF(this->unk_222 * 0.001f) * 0.0069999998f;
|
||||
this->actor.scale.y = 0.013f - Math_SinF(this->unk_222 * 0.001f) * 0.0069999998f;
|
||||
this->actor.scale.z = 0.013f + Math_SinF(this->unk_222 * 0.001f) * 0.0069999998f;
|
||||
if (this->unk_222 == 0) {
|
||||
this->actor.posRot.rot.y = this->actor.shape.rot.y;
|
||||
func_809CE9A8(this);
|
||||
}
|
||||
}
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Bw/func_809CFC4C.s")
|
||||
void func_809CE9A8(EnBw* this) {
|
||||
SkelAnime_ChangeAnimTransitionRepeat(&this->skelAnime, &D_06000228, -2.0f);
|
||||
this->unk_220 = 2;
|
||||
this->unk_222 = Rand_ZeroOne() * 200.0f + 200.0f;
|
||||
this->unk_232 = 0;
|
||||
this->actor.speedXZ = 0.0f;
|
||||
EnBw_SetupAction(this, func_809CEA24);
|
||||
}
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Bw/func_809CFF10.s")
|
||||
void func_809CEA24(EnBw* this, GlobalContext* globalCtx) {
|
||||
CollisionPoly* sp74 = NULL;
|
||||
Vec3f sp68;
|
||||
u32 sp64 = 0;
|
||||
s16 sp62;
|
||||
s16 sp60;
|
||||
f32 sp5C;
|
||||
f32 sp58;
|
||||
Player* player = PLAYER;
|
||||
Player* player2 = PLAYER;
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Bw/func_809CFF98.s")
|
||||
SkelAnime_FrameUpdateMatrix(&this->skelAnime);
|
||||
this->unk_244 = this->unk_250 + 0.1f;
|
||||
sp58 = Math_CosF(this->unk_240);
|
||||
this->unk_240 += this->unk_244;
|
||||
if (this->unk_24C < 0.8f) {
|
||||
this->unk_24C += 0.1f;
|
||||
}
|
||||
this->actor.scale.x = 0.013f - Math_SinF(this->unk_240) * (this->unk_24C * 0.004f);
|
||||
this->actor.scale.y = 0.013f - Math_SinF(this->unk_240) * (this->unk_24C * 0.004f);
|
||||
this->actor.scale.z = 0.013f + Math_SinF(this->unk_240) * (this->unk_24C * 0.004f);
|
||||
sp5C = Math_CosF(this->unk_240);
|
||||
if (this->unk_232 == 0) {
|
||||
if (ABS(sp58) < ABS(sp5C)) {
|
||||
this->unk_232++;
|
||||
}
|
||||
} else {
|
||||
if (ABS(sp58) > ABS(sp5C)) {
|
||||
Audio_PlayActorSound2(&this->actor, NA_SE_EN_BUBLEWALK_WALK);
|
||||
this->unk_232 = 0;
|
||||
}
|
||||
}
|
||||
sp5C *= this->unk_24C * (10.0f * this->unk_244);
|
||||
this->actor.speedXZ = ABS(sp5C);
|
||||
if (this->unk_221 != 1) {
|
||||
sp58 = Math_SinF(this->unk_240);
|
||||
sp60 = ABS(sp58) * 85.0f;
|
||||
this->color1.g = sp60;
|
||||
}
|
||||
if ((((globalCtx->gameplayFrames % 4) == this->actor.params) && (this->actor.speedXZ != 0.0f) &&
|
||||
(sp64 =
|
||||
func_8003E0FC(&globalCtx->colCtx, &this->actor.posRot.pos, &this->unk_264, &sp68, &sp74, 1, 0, 0, 1))) ||
|
||||
(this->unk_222 == 0)) {
|
||||
if (sp74 != NULL) {
|
||||
sp74 = SEGMENTED_TO_VIRTUAL(sp74);
|
||||
sp62 = Math_FAtan2F(sp74->norm.x, sp74->norm.z) * ((f32)0x8000 / M_PI);
|
||||
} else {
|
||||
sp62 = this->actor.posRot.rot.y + 0x8000;
|
||||
}
|
||||
if ((this->unk_236 != sp62) || (sp64 == 0)) {
|
||||
if (func_8003E0FC(&globalCtx->colCtx, &this->unk_270, &this->unk_288, &sp68, &sp74, 1, 0, 0, 1)) {
|
||||
sp64 |= 2;
|
||||
}
|
||||
if (func_8003E0FC(&globalCtx->colCtx, &this->unk_270, &this->unk_27C, &sp68, &sp74, 1, 0, 0, 1)) {
|
||||
sp64 |= 4;
|
||||
}
|
||||
switch (sp64) {
|
||||
case 0:
|
||||
this->unk_236 += this->unk_238;
|
||||
case 1:
|
||||
if (this->unk_221 == 3) {
|
||||
if (globalCtx->gameplayFrames & 2) {
|
||||
this->unk_238 = 0x4000;
|
||||
} else {
|
||||
this->unk_238 = -0x4000;
|
||||
}
|
||||
} else {
|
||||
if ((s16)(this->actor.yawTowardsLink - this->actor.shape.rot.y) >= 0.0f) {
|
||||
this->unk_238 = 0x4000;
|
||||
} else {
|
||||
this->unk_238 = -0x4000;
|
||||
}
|
||||
if (this->unk_221 == 1) {
|
||||
this->unk_238 = -this->unk_238;
|
||||
}
|
||||
}
|
||||
break;
|
||||
case 2:
|
||||
this->unk_236 += this->unk_238;
|
||||
case 3:
|
||||
this->unk_238 = 0x4000;
|
||||
break;
|
||||
case 4:
|
||||
this->unk_236 += this->unk_238;
|
||||
case 5:
|
||||
this->unk_238 = -0x4000;
|
||||
break;
|
||||
case 7:
|
||||
this->unk_238 = 0;
|
||||
break;
|
||||
}
|
||||
if (sp64 != 6) {
|
||||
this->unk_236 = sp62;
|
||||
}
|
||||
this->unk_222 = (Rand_ZeroOne() * 200.0f) + 200.0f;
|
||||
}
|
||||
} else if ((this->actor.speedXZ != 0.0f) && (this->actor.bgCheckFlags & 8)) {
|
||||
if (this->unk_236 != this->actor.wallPolyRot) {
|
||||
sp64 = 1;
|
||||
this->unk_236 = this->actor.wallPolyRot;
|
||||
if (this->unk_221 == 3) {
|
||||
if (globalCtx->gameplayFrames & 0x20) {
|
||||
this->unk_238 = 0x4000;
|
||||
} else {
|
||||
this->unk_238 = -0x4000;
|
||||
}
|
||||
this->actor.bgCheckFlags &= ~8;
|
||||
this->unk_222 = (Rand_ZeroOne() * 20.0f) + 160.0f;
|
||||
} else {
|
||||
if ((s16)(this->actor.yawTowardsLink - this->unk_236) >= 0) {
|
||||
this->unk_238 = 0x4000;
|
||||
} else {
|
||||
this->unk_238 = -0x4000;
|
||||
}
|
||||
if (this->unk_221 == 1) {
|
||||
this->unk_238 = -this->unk_238;
|
||||
}
|
||||
}
|
||||
} else if (this->unk_221 == 0) {
|
||||
sp64 = func_8003E0FC(&globalCtx->colCtx, &this->actor.posRot.pos, &player->actor.posRot.pos, &sp68, &sp74,
|
||||
1, 0, 0, 1);
|
||||
if (sp64 != 0) {
|
||||
sp74 = SEGMENTED_TO_VIRTUAL(sp74);
|
||||
sp60 = Math_FAtan2F(sp74->norm.x, sp74->norm.z) * ((f32)0x8000 / M_PI);
|
||||
if (this->unk_236 != sp60) {
|
||||
if ((s16)(this->actor.yawTowardsLink - sp60) >= 0) {
|
||||
this->unk_238 = 0x4000;
|
||||
} else {
|
||||
this->unk_238 = -0x4000;
|
||||
}
|
||||
this->unk_236 = sp60;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
this->unk_222--;
|
||||
if (this->unk_224 != 0) {
|
||||
this->unk_224--;
|
||||
}
|
||||
if ((this->unk_234 == 0) && !func_800339B8(&this->actor, globalCtx, 50.0f, this->unk_236 + this->unk_238)) {
|
||||
if (this->unk_238 != 0x4000) {
|
||||
this->unk_238 = 0x4000;
|
||||
} else {
|
||||
this->unk_238 = -0x4000;
|
||||
}
|
||||
}
|
||||
switch (this->unk_221) {
|
||||
case 3:
|
||||
Math_SmoothStepToF(&this->unk_248, 0.6f, 1.0f, 0.05f, 0.0f);
|
||||
if ((this->unk_224 == 0) && (this->actor.xzDistFromLink < 200.0f) &&
|
||||
(ABS(this->actor.yDistFromLink) < 50.0f) && func_8002E084(&this->actor, 0x1C70)) {
|
||||
func_809CF72C(this);
|
||||
} else {
|
||||
Math_SmoothStepToS(&this->actor.posRot.rot.y, this->unk_236 + this->unk_238, 1,
|
||||
this->actor.speedXZ * 1000.0f, 0);
|
||||
}
|
||||
break;
|
||||
case 0:
|
||||
Math_SmoothStepToF(&this->unk_248, 0.6f, 1.0f, 0.05f, 0.0f);
|
||||
if (sp64 == 0) {
|
||||
Math_SmoothStepToS(&this->actor.posRot.rot.y, this->actor.yawTowardsLink, 1,
|
||||
this->actor.speedXZ * 1000.0f, 0);
|
||||
if ((this->actor.xzDistFromLink < 90.0f) && (this->actor.yDistFromLink < 50.0f) &&
|
||||
func_8002E084(&this->actor, 0x1554) &&
|
||||
func_800339B8(&this->actor, globalCtx, 71.24802f, this->actor.yawTowardsLink)) {
|
||||
func_809CF8F0(this);
|
||||
}
|
||||
} else {
|
||||
Math_SmoothStepToS(&this->actor.posRot.rot.y, this->unk_236 + this->unk_238, 1,
|
||||
this->actor.speedXZ * 1000.0f, 0);
|
||||
}
|
||||
if ((this->unk_224 == 0) || (ABS(this->actor.yDistFromLink) > 60.0f) || (player2->stateFlags1 & 0x6000)) {
|
||||
this->unk_221 = 3;
|
||||
this->unk_224 = 150;
|
||||
this->unk_250 = 0.0f;
|
||||
}
|
||||
break;
|
||||
case 1:
|
||||
if (((sp64 == 0) && !(this->actor.bgCheckFlags & 8)) || func_8002E084(&this->actor, 0x1C70)) {
|
||||
if (func_8002E084(&this->actor, 0x1C70)) {
|
||||
this->unk_238 = -this->unk_238;
|
||||
}
|
||||
Math_SmoothStepToS(&this->actor.posRot.rot.y, this->actor.yawTowardsLink - 0x8000, 1,
|
||||
this->actor.speedXZ * 1000.0f, 0);
|
||||
} else {
|
||||
Math_SmoothStepToS(&this->actor.posRot.rot.y, this->unk_236 + this->unk_238, 1,
|
||||
this->actor.speedXZ * 1000.0f, 0);
|
||||
}
|
||||
if (this->unk_224 <= 200) {
|
||||
sp60 = Math_SinS(this->unk_224 * (0x960 - this->unk_224)) * 55.0f;
|
||||
this->color1.r = 255 - ABS(sp60);
|
||||
sp60 = Math_SinS(this->unk_224 * (0x960 - this->unk_224)) * 115.0f;
|
||||
this->color1.g = ABS(sp60) + 85;
|
||||
sp60 = Math_SinS(0x960 - this->unk_224) * 255.0f;
|
||||
this->color1.b = ABS(sp60);
|
||||
if (this->unk_224 == 0) {
|
||||
this->unk_221 = 3;
|
||||
this->unk_250 = 0.0f;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
this->actor.shape.rot.y = this->actor.posRot.rot.y;
|
||||
}
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Bw/func_809D00F4.s")
|
||||
void func_809CF72C(EnBw* this) {
|
||||
SkelAnime_ChangeAnimTransitionStop(&this->skelAnime, &D_060021A0, -2.0f);
|
||||
this->unk_220 = 3;
|
||||
this->unk_221 = 0;
|
||||
this->unk_250 = 0.6f;
|
||||
this->unk_222 = 20;
|
||||
this->unk_224 = 0xBB8;
|
||||
this->actor.speedXZ = 0.0f;
|
||||
Audio_PlayActorSound2(&this->actor, NA_SE_EN_BUBLEWALK_AIM);
|
||||
EnBw_SetupAction(this, func_809CF7AC);
|
||||
}
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Bw/func_809D014C.s")
|
||||
void func_809CF7AC(EnBw* this, GlobalContext* globalCtx) {
|
||||
if (SkelAnime_FrameUpdateMatrix(&this->skelAnime)) {
|
||||
if (this->unk_222 > 0) {
|
||||
this->unk_222--;
|
||||
} else {
|
||||
this->unk_222 = 100;
|
||||
}
|
||||
}
|
||||
if (this->unk_222 >= 20) {
|
||||
this->unk_224 -= 250;
|
||||
}
|
||||
this->actor.scale.x = 0.013f - Math_SinF(this->unk_224 * 0.001f) * 0.0034999999f;
|
||||
this->actor.scale.y = 0.013f + Math_SinF(this->unk_224 * 0.001f) * 0.0245f;
|
||||
this->actor.scale.z = 0.013f - Math_SinF(this->unk_224 * 0.001f) * 0.0034999999f;
|
||||
if (this->unk_224 == 0) {
|
||||
func_809CE9A8(this);
|
||||
this->unk_224 = 200;
|
||||
}
|
||||
}
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Bw/func_809D01CC.s")
|
||||
void func_809CF8F0(EnBw* this) {
|
||||
SkelAnime_ChangeAnimTransitionStop(&this->skelAnime, &D_06002250, -1.0f);
|
||||
this->actor.speedXZ = 7.0f;
|
||||
this->actor.posRot.rot.y = this->actor.shape.rot.y = this->actor.yawTowardsLink;
|
||||
this->unk_220 = 4;
|
||||
this->unk_222 = 1000;
|
||||
this->actor.velocity.y = 11.0f;
|
||||
Audio_PlayActorSound2(&this->actor, NA_SE_EN_STAL_JUMP);
|
||||
this->actor.flags |= 0x1000000;
|
||||
EnBw_SetupAction(this, func_809CF984);
|
||||
}
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Bw/func_809D0268.s")
|
||||
void func_809CF984(EnBw* this, GlobalContext* globalCtx) {
|
||||
Player* player = PLAYER;
|
||||
s32 floorPolyType;
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Bw/func_809D03CC.s")
|
||||
Math_SmoothStepToF(&this->actor.speedXZ, 0.0f, 1.0f, 0.5f, 0.0f);
|
||||
this->unk_222 += 250;
|
||||
this->actor.scale.x = 0.013f - Math_SinF(this->unk_222 * 0.001f) * 0.0034999999f;
|
||||
this->actor.scale.y = 0.013f + Math_SinF(this->unk_222 * 0.001f) * 0.0245f;
|
||||
this->actor.scale.z = 0.013f - Math_SinF(this->unk_222 * 0.001f) * 0.0034999999f;
|
||||
if (this->collider1.base.atFlags & 2) {
|
||||
this->collider1.base.atFlags &= ~2;
|
||||
this->actor.speedXZ = -6.0f;
|
||||
this->actor.posRot.rot.y = this->actor.yawTowardsLink;
|
||||
if ((&player->actor == this->collider1.base.at) && !(this->collider1.base.atFlags & 4)) {
|
||||
Audio_PlayActorSound2(&player->actor, NA_SE_PL_BODY_HIT);
|
||||
}
|
||||
}
|
||||
SkelAnime_FrameUpdateMatrix(&this->skelAnime);
|
||||
if (this->actor.bgCheckFlags & 3) {
|
||||
floorPolyType = func_80041D4C(&globalCtx->colCtx, this->actor.floorPoly, this->actor.floorPolySource);
|
||||
if ((floorPolyType == 2) || (floorPolyType == 3) || (floorPolyType == 9)) {
|
||||
Actor_Kill(&this->actor);
|
||||
return;
|
||||
}
|
||||
func_80033260(globalCtx, &this->actor, &this->actor.posRot.pos, 30.0f, 0xB, 4.0f, 0, 0, 0);
|
||||
this->unk_222 = 3000;
|
||||
this->actor.flags &= ~0x01000000;
|
||||
this->actor.speedXZ = 0.0f;
|
||||
Audio_PlayActorSound2(&this->actor, NA_SE_EN_DODO_M_GND);
|
||||
EnBw_SetupAction(this, func_809CE884);
|
||||
}
|
||||
}
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Bw/func_809D0424.s")
|
||||
void func_809CFBA8(EnBw* this) {
|
||||
SkelAnime_ChangeAnimTransitionRepeat(&this->skelAnime, &D_06002250, -1.0f);
|
||||
this->unk_220 = 5;
|
||||
this->unk_222 = 1000;
|
||||
this->unk_260 = 0.0f;
|
||||
this->actor.speedXZ = 0.0f;
|
||||
this->actor.velocity.y = 11.0f;
|
||||
this->unk_25C = Rand_ZeroOne() * 0.25f + 1.0f;
|
||||
this->unk_224 = 0xBB8;
|
||||
Audio_PlayActorSound2(&this->actor, NA_SE_EN_BUBLEWALK_REVERSE);
|
||||
EnBw_SetupAction(this, func_809CFC4C);
|
||||
}
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Bw/func_809D0584.s")
|
||||
void func_809CFC4C(EnBw* this, GlobalContext* globalCtx) {
|
||||
Math_SmoothStepToS(&this->actor.shape.rot.z, 0x7FFF, 1, 0xFA0, 0);
|
||||
Math_SmoothStepToF(&this->unk_248, 0.0f, 1.0f, 0.05f, 0.0f);
|
||||
SkelAnime_FrameUpdateMatrix(&this->skelAnime);
|
||||
if (this->actor.bgCheckFlags & 3) {
|
||||
if ((globalCtx->gameplayFrames % 0x80) == 0) {
|
||||
this->unk_25C = (Rand_ZeroOne() * 0.25f) + 0.7f;
|
||||
}
|
||||
this->unk_221 = 4;
|
||||
this->unk_258 += this->unk_25C;
|
||||
Math_SmoothStepToF(&this->unk_260, 0.075f, 1.0f, 0.005f, 0.0f);
|
||||
if (this->actor.bgCheckFlags & 2) {
|
||||
func_80033260(globalCtx, &this->actor, &this->actor.posRot.pos, 30.0f, 0xB, 4.0f, 0, 0, 0);
|
||||
Audio_PlayActorSound2(&this->actor, NA_SE_EN_DODO_M_GND);
|
||||
}
|
||||
if (this->unk_224 != 0) {
|
||||
this->unk_224 -= 250;
|
||||
this->actor.scale.x = 0.013f + Math_SinF(this->unk_224 * 0.001f) * 0.0069999998f;
|
||||
this->actor.scale.y = 0.013f - Math_SinF(this->unk_224 * 0.001f) * 0.0069999998f;
|
||||
this->actor.scale.z = 0.013f + Math_SinF(this->unk_224 * 0.001f) * 0.0069999998f;
|
||||
}
|
||||
this->unk_222--;
|
||||
if (this->unk_222 == 0) {
|
||||
func_809CFF10(this);
|
||||
}
|
||||
} else {
|
||||
this->color1.r -= 8;
|
||||
this->color1.g += 32;
|
||||
if (this->color1.r < 200) {
|
||||
this->color1.r = 200;
|
||||
}
|
||||
if (this->color1.g > 200) {
|
||||
this->color1.g = 200;
|
||||
}
|
||||
if (this->color1.b > 235) {
|
||||
this->color1.b = 255;
|
||||
} else {
|
||||
this->color1.b += 40;
|
||||
}
|
||||
if (this->actor.shape.unk_08 < 1000.0f) {
|
||||
this->actor.shape.unk_08 += 200.0f;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Bw/EnBw_Update.s")
|
||||
void func_809CFF10(EnBw* this) {
|
||||
SkelAnime_ChangeAnimTransitionRepeat(&this->skelAnime, &D_06002250, -1.0f);
|
||||
this->unk_220 = 6;
|
||||
this->unk_222 = 1000;
|
||||
this->unk_221 = 3;
|
||||
this->actor.speedXZ = 0.0f;
|
||||
this->actor.velocity.y = 11.0f;
|
||||
Audio_PlayActorSound2(&this->actor, NA_SE_EN_BUBLEWALK_REVERSE);
|
||||
this->actor.bgCheckFlags &= ~1;
|
||||
EnBw_SetupAction(this, func_809CFF98);
|
||||
}
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Bw/func_809D0D18.s")
|
||||
void func_809CFF98(EnBw* this, GlobalContext* globalCtx) {
|
||||
Math_SmoothStepToS(&this->actor.shape.rot.z, 0, 1, 0xFA0, 0);
|
||||
Math_SmoothStepToF(&this->unk_248, 0.6f, 1.0f, 0.05f, 0.0f);
|
||||
SkelAnime_FrameUpdateMatrix(&this->skelAnime);
|
||||
if (this->actor.bgCheckFlags & 3) {
|
||||
func_80033260(globalCtx, &this->actor, &this->actor.posRot.pos, 30.0f, 0xB, 4.0f, 0, 0, 0);
|
||||
this->unk_222 = 0xBB8;
|
||||
this->unk_250 = 0.0f;
|
||||
Audio_PlayActorSound2(&this->actor, NA_SE_EN_DODO_M_GND);
|
||||
EnBw_SetupAction(this, func_809CE884);
|
||||
}
|
||||
if (this->color1.r < 247) {
|
||||
this->color1.r += 8;
|
||||
} else {
|
||||
this->color1.r = 255;
|
||||
}
|
||||
if (this->color1.g < 32) {
|
||||
this->color1.g = 0;
|
||||
} else {
|
||||
this->color1.g -= 32;
|
||||
}
|
||||
if (this->color1.b < 40) {
|
||||
this->color1.b = 0;
|
||||
} else {
|
||||
this->color1.b -= 40;
|
||||
}
|
||||
if (this->actor.shape.unk_08 > 0.0f) {
|
||||
this->actor.shape.unk_08 -= 200.0f;
|
||||
}
|
||||
}
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Bw/EnBw_Draw.s")
|
||||
void func_809D00F4(EnBw* this) {
|
||||
this->unk_220 = 0;
|
||||
this->unk_222 = 40;
|
||||
this->actor.flags &= ~1;
|
||||
this->actor.speedXZ = 0.0f;
|
||||
Audio_PlayActorSound2(&this->actor, NA_SE_EN_BUBLEWALK_DEAD);
|
||||
EnBw_SetupAction(this, func_809D014C);
|
||||
}
|
||||
|
||||
void func_809D014C(EnBw* this, GlobalContext* globalCtx) {
|
||||
if (this->unk_230) {
|
||||
this->actor.scale.x += 0.0002f;
|
||||
this->actor.scale.y -= 0.0002f;
|
||||
this->actor.scale.z += 0.0002f;
|
||||
}
|
||||
this->actor.shape.unk_14 = this->color1.a -= 6;
|
||||
this->unk_222--;
|
||||
if (this->unk_222 <= 0) {
|
||||
Actor_Kill(&this->actor);
|
||||
}
|
||||
}
|
||||
|
||||
void func_809D01CC(EnBw* this) {
|
||||
this->unk_220 = 1;
|
||||
this->actor.speedXZ = 0.0f;
|
||||
this->unk_25C = (Rand_ZeroOne() * 0.25f) + 1.0f;
|
||||
this->unk_260 = 0.0f;
|
||||
if (this->damageEffect == 0xE) {
|
||||
this->iceTimer = 0x50;
|
||||
}
|
||||
this->unk_222 = (this->actor.dmgEffectParams & 0x4000) ? 25 : 80;
|
||||
EnBw_SetupAction(this, func_809D0268);
|
||||
}
|
||||
|
||||
void func_809D0268(EnBw* this, GlobalContext* globalCtx) {
|
||||
this->color1.r -= 1;
|
||||
this->color1.g += 4;
|
||||
this->color1.b += 5;
|
||||
if (this->color1.r < 200) {
|
||||
this->color1.r = 200;
|
||||
}
|
||||
if (this->color1.g > 200) {
|
||||
this->color1.g = 200;
|
||||
}
|
||||
if (this->color1.b > 230) {
|
||||
this->color1.b = 230;
|
||||
}
|
||||
if (this->actor.dmgEffectParams & 0x4000) {
|
||||
if ((globalCtx->gameplayFrames % 0x80) == 0) {
|
||||
this->unk_25C = 0.5f + Rand_ZeroOne() * 0.25f;
|
||||
}
|
||||
this->unk_258 += this->unk_25C;
|
||||
Math_SmoothStepToF(&this->unk_260, 0.075f, 1.0f, 0.005f, 0.0f);
|
||||
}
|
||||
this->unk_222--;
|
||||
if (this->unk_222 == 0) {
|
||||
func_809CE9A8(this);
|
||||
this->color1.r = this->color1.g = 200;
|
||||
this->color1.b = 255;
|
||||
this->unk_224 = 0x258;
|
||||
this->unk_221 = 1;
|
||||
this->unk_250 = 0.7f;
|
||||
this->unk_236++;
|
||||
}
|
||||
}
|
||||
|
||||
void func_809D03CC(EnBw* this) {
|
||||
this->actor.speedXZ = 0.0f;
|
||||
if (this->damageEffect == 0xE) {
|
||||
this->iceTimer = 32;
|
||||
}
|
||||
this->unk_23C = this->actor.dmgEffectTimer;
|
||||
Audio_PlayActorSound2(&this->actor, NA_SE_EN_GOMA_JR_FREEZE);
|
||||
EnBw_SetupAction(this, func_809D0424);
|
||||
}
|
||||
|
||||
void func_809D0424(EnBw* this, GlobalContext* globalCtx) {
|
||||
if (this->actor.dmgEffectTimer == 0) {
|
||||
this->unk_23C = 0;
|
||||
if (this->actor.colChkInfo.health != 0) {
|
||||
if ((this->unk_220 != 5) && (this->unk_220 != 6)) {
|
||||
func_809CE9A8(this);
|
||||
this->color1.r = this->color1.g = 200;
|
||||
this->color1.b = 255;
|
||||
this->unk_224 = 0x258;
|
||||
this->unk_221 = 1;
|
||||
this->unk_250 = 0.7f;
|
||||
this->unk_236++;
|
||||
} else if (this->unk_220 != 5) {
|
||||
EnBw_SetupAction(this, func_809CFF98);
|
||||
} else {
|
||||
func_809CFF10(this);
|
||||
}
|
||||
} else {
|
||||
if (func_800355E4(globalCtx, &this->collider2.base)) {
|
||||
this->unk_230 = 0;
|
||||
this->actor.scale.y -= 0.009f;
|
||||
func_80033260(globalCtx, &this->actor, &this->actor.posRot.pos, 30.0f, 0xB, 4.0f, 0, 0, 0);
|
||||
} else {
|
||||
this->unk_230 = 1;
|
||||
}
|
||||
Item_DropCollectibleRandom(globalCtx, &this->actor, &this->actor.posRot.pos, 0x90);
|
||||
func_809D00F4(this);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void func_809D0584(EnBw* this, GlobalContext* globalCtx) {
|
||||
if ((this->actor.bgCheckFlags & 0x10) && (this->actor.bgCheckFlags & 1)) {
|
||||
this->unk_230 = 0;
|
||||
this->actor.scale.y -= 0.009f;
|
||||
func_80033260(globalCtx, &this->actor, &this->actor.posRot.pos, 30.0f, 0xB, 4.0f, 0, 0, 0);
|
||||
func_809D00F4(this);
|
||||
} else {
|
||||
if (this->collider2.base.acFlags & 2) {
|
||||
this->collider2.base.acFlags &= ~2;
|
||||
if ((this->actor.colChkInfo.damageEffect == 0) || (this->unk_220 == 6)) {
|
||||
return;
|
||||
}
|
||||
this->damageEffect = this->actor.colChkInfo.damageEffect;
|
||||
func_80035650(&this->actor, &this->collider2.body, 0);
|
||||
if ((this->damageEffect == 1) || (this->damageEffect == 0xE)) {
|
||||
if (this->unk_23C == 0) {
|
||||
Actor_ApplyDamage(&this->actor);
|
||||
func_8003426C(&this->actor, 0, 0x78, 0, 0x50);
|
||||
func_809D03CC(this);
|
||||
this->unk_248 = 0.0f;
|
||||
}
|
||||
return;
|
||||
}
|
||||
if (this->unk_248 == 0.0f) {
|
||||
Actor_ApplyDamage(&this->actor);
|
||||
}
|
||||
if (((this->unk_221 == 1) || (this->unk_221 == 4)) && (this->actor.colChkInfo.health == 0)) {
|
||||
if (this->unk_220 != 0) {
|
||||
func_8003426C(&this->actor, 0x4000, 0xFF, 0, 8);
|
||||
if (func_800355E4(globalCtx, &this->collider2.base)) {
|
||||
this->unk_230 = 0;
|
||||
this->actor.scale.y -= 0.009f;
|
||||
func_80033260(globalCtx, &this->actor, &this->actor.posRot.pos, 30.0f, 0xB, 4.0f, 0, 0, 0);
|
||||
} else {
|
||||
this->unk_230 = 1;
|
||||
}
|
||||
Item_DropCollectibleRandom(globalCtx, &this->actor, &this->actor.posRot.pos, 0x90);
|
||||
func_809D00F4(this);
|
||||
}
|
||||
} else if ((this->unk_220 != 1) && (this->unk_220 != 6)) {
|
||||
Audio_PlayActorSound2(&this->actor, NA_SE_EN_BUBLEWALK_DAMAGE);
|
||||
func_8003426C(&this->actor, 0x4000, 0xFF, 0, 8);
|
||||
if (this->unk_220 != 5) {
|
||||
func_809D01CC(this);
|
||||
}
|
||||
this->unk_248 = 0.0f;
|
||||
}
|
||||
}
|
||||
if ((globalCtx->actorCtx.unk_02 != 0) && (this->actor.xzDistFromLink <= 400.0f) &&
|
||||
(this->actor.bgCheckFlags & 1)) {
|
||||
if (this->unk_220 == 5) {
|
||||
this->unk_23C = 0;
|
||||
func_809CFF10(this);
|
||||
} else if (this->unk_220 != 0) {
|
||||
this->unk_23C = 0;
|
||||
func_809CFBA8(this);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void EnBw_Update(Actor* thisx, GlobalContext* globalCtx2) {
|
||||
GlobalContext* globalCtx = globalCtx2;
|
||||
EnBw* this = THIS;
|
||||
Vec3f velocity = { 0.0f, 0.0f, 0.0f };
|
||||
Vec3f accel = { 0.0f, 0.0f, 0.0f };
|
||||
s32 pad[3]; // probably an unused Vec3f
|
||||
Color_RGBA8 sp50 = { 255, 200, 0, 255 };
|
||||
Color_RGBA8 sp4C = { 255, 80, 0, 255 };
|
||||
Color_RGBA8 sp48 = { 0, 0, 0, 255 };
|
||||
Color_RGBA8 sp44 = { 0, 0, 0, 220 };
|
||||
|
||||
func_809D0584(this, globalCtx);
|
||||
if (thisx->colChkInfo.damageEffect != 6) {
|
||||
this->actionFunc(this, globalCtx);
|
||||
if (this->unk_23C == 0) {
|
||||
this->unk_23A = (this->unk_23A + 4) & 0x7F;
|
||||
}
|
||||
if ((globalCtx->gameplayFrames & this->unk_221) == 0) {
|
||||
accel.y = -3.0f;
|
||||
velocity.x = Rand_CenteredFloat(this->unk_248 * 24.0f);
|
||||
velocity.y = this->unk_248 * 30.0f;
|
||||
velocity.z = Rand_CenteredFloat(this->unk_248 * 24.0f);
|
||||
accel.x = velocity.x * -0.075f;
|
||||
accel.z = velocity.z * -0.075f;
|
||||
func_8002836C(globalCtx, &thisx->posRot.pos, &velocity, &accel, &sp50, &sp4C, 0x3C, 0, 0x14);
|
||||
}
|
||||
if (this->unk_248 <= 0.4f) {
|
||||
this->collider1.body.toucher.effect = 0;
|
||||
if (((globalCtx->gameplayFrames & 1) == 0) && (this->unk_220 < 5) && (this->unk_23C == 0)) {
|
||||
accel.y = -0.1f;
|
||||
velocity.x = Rand_CenteredFloat(4.0f);
|
||||
velocity.y = Rand_CenteredFloat(2.0f) + 6.0f;
|
||||
velocity.z = Rand_CenteredFloat(4.0f);
|
||||
accel.x = velocity.x * -0.1f;
|
||||
accel.z = velocity.z * -0.1f;
|
||||
Rand_CenteredFloat(4.0f);
|
||||
Rand_CenteredFloat(4.0f);
|
||||
sp48.a = this->color1.a;
|
||||
if (sp48.a >= 30) {
|
||||
sp44.a = sp48.a - 30;
|
||||
} else {
|
||||
sp44.a = 0;
|
||||
}
|
||||
func_8002836C(globalCtx, &thisx->posRot.pos, &velocity, &accel, &sp48, &sp44, 0xB4, 0x28,
|
||||
20.0f - (this->unk_248 * 40.0f));
|
||||
}
|
||||
} else {
|
||||
this->collider1.body.toucher.effect = 1;
|
||||
}
|
||||
|
||||
this->unk_234 = func_800339B8(thisx, globalCtx, 50.0f, thisx->posRot.rot.y);
|
||||
if ((this->unk_220 == 4) || (this->unk_220 == 6) || (this->unk_220 == 5) || (this->unk_220 == 1) ||
|
||||
(this->unk_234 != 0)) {
|
||||
Actor_MoveForward(thisx);
|
||||
}
|
||||
func_8002E4B4(globalCtx, thisx, 20.0f, 30.0f, 21.0f, 0x1F);
|
||||
}
|
||||
Collider_CylinderUpdate(thisx, &this->collider2);
|
||||
CollisionCheck_SetOC(globalCtx, &globalCtx->colChkCtx, &this->collider2.base);
|
||||
if ((this->unk_220 != 0) && ((thisx->dmgEffectTimer == 0) || !(thisx->dmgEffectParams & 0x4000))) {
|
||||
CollisionCheck_SetAC(globalCtx, &globalCtx->colChkCtx, &this->collider2.base);
|
||||
}
|
||||
if ((this->unk_221 != 1) && (this->unk_220 < 5) && (this->unk_248 > 0.4f)) {
|
||||
Collider_CylinderUpdate(thisx, &this->collider1);
|
||||
CollisionCheck_SetAT(globalCtx, &globalCtx->colChkCtx, &this->collider1.base);
|
||||
}
|
||||
thisx->posRot2.pos = thisx->posRot.pos;
|
||||
thisx->posRot2.pos.y += 5.0f;
|
||||
}
|
||||
|
||||
s32 EnBw_OverrideLimbDraw(GlobalContext* globalCtx, s32 limbIndex, Gfx** dList, Vec3f* pos, Vec3s* rot, void* thisx,
|
||||
Gfx** gfx) {
|
||||
EnBw* this = THIS;
|
||||
|
||||
if (limbIndex == 1) {
|
||||
gSPSegment((*gfx)++, 0x09,
|
||||
Gfx_TwoTexScroll(globalCtx->state.gfxCtx, 0, 0, 0, 0x20, 0x20, 1, 0, this->unk_23A, 0x20, 0x20));
|
||||
if ((this->unk_220 == 1) || (this->unk_220 == 5)) {
|
||||
Matrix_Push();
|
||||
Matrix_Scale(1.0f, 1.0f, 1.0f, MTXMODE_APPLY);
|
||||
Matrix_RotateX(this->unk_258 * 0.115f, MTXMODE_APPLY);
|
||||
Matrix_RotateY(this->unk_258 * 0.13f, MTXMODE_APPLY);
|
||||
Matrix_RotateZ(this->unk_258 * 0.1f, MTXMODE_APPLY);
|
||||
Matrix_Scale(1.0f - this->unk_260, 1.0f + this->unk_260, 1.0f - this->unk_260, MTXMODE_APPLY);
|
||||
Matrix_RotateZ(-(this->unk_258 * 0.1f), MTXMODE_APPLY);
|
||||
Matrix_RotateY(-(this->unk_258 * 0.13f), MTXMODE_APPLY);
|
||||
Matrix_RotateX(-(this->unk_258 * 0.115f), MTXMODE_APPLY);
|
||||
gSPMatrix((*gfx)++, Matrix_NewMtx(globalCtx->state.gfxCtx, "../z_en_bw.c", 1388),
|
||||
G_MTX_NOPUSH | G_MTX_LOAD | G_MTX_MODELVIEW);
|
||||
gSPDisplayList((*gfx)++, *dList);
|
||||
Matrix_Pull();
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
static Vec3f sIceOffsets[] = {
|
||||
{ 20.0f, 10.0f, 0.0f }, { -20.0f, 10.0f, 0.0f }, { 0.0f, 10.0f, -25.0f }, { 10.0f, 0.0f, 15.0f },
|
||||
{ 10.0f, 0.0f, -15.0f }, { 0.0f, 10.0f, 25.0f }, { -10.0f, 0.0f, 15.0f }, { -10.0f, 0.0f, -15.0f },
|
||||
};
|
||||
|
||||
void EnBw_Draw(Actor* thisx, GlobalContext* globalCtx2) {
|
||||
Vec3f spAC = { 0.0f, 0.0f, 0.0f };
|
||||
GlobalContext* globalCtx = globalCtx2;
|
||||
EnBw* this = THIS;
|
||||
Vec3f icePos;
|
||||
s32 iceIndex;
|
||||
|
||||
OPEN_DISPS(globalCtx->state.gfxCtx, "../z_en_bw.c", 1423);
|
||||
|
||||
if (this->color1.a == 0xFF) {
|
||||
func_80093D18(globalCtx->state.gfxCtx);
|
||||
gDPSetEnvColor(POLY_OPA_DISP++, this->color1.r, this->color1.g, this->color1.b, this->color1.a);
|
||||
gSPSegment(POLY_OPA_DISP++, 0x08, &D_80116280[2]);
|
||||
POLY_OPA_DISP = SkelAnime_Draw(globalCtx, this->skelAnime.skeleton, this->skelAnime.limbDrawTbl,
|
||||
EnBw_OverrideLimbDraw, NULL, this, POLY_OPA_DISP);
|
||||
} else {
|
||||
func_80093D84(globalCtx->state.gfxCtx);
|
||||
gDPPipeSync(POLY_XLU_DISP++);
|
||||
gDPSetPrimColor(POLY_XLU_DISP++, 0x80, 0x80, 0, 0, 0, this->color1.a);
|
||||
gDPSetEnvColor(POLY_XLU_DISP++, this->color1.r, this->color1.g, this->color1.b, this->color1.a);
|
||||
gSPSegment(POLY_XLU_DISP++, 0x08, &D_80116280[0]);
|
||||
POLY_XLU_DISP = SkelAnime_Draw(globalCtx, this->skelAnime.skeleton, this->skelAnime.limbDrawTbl,
|
||||
EnBw_OverrideLimbDraw, NULL, this, POLY_XLU_DISP);
|
||||
}
|
||||
|
||||
if (((globalCtx->gameplayFrames + 1) % 4) == thisx->params) {
|
||||
spAC.z = thisx->scale.z * 375000.0f;
|
||||
Matrix_MultVec3f(&spAC, &this->unk_264);
|
||||
spAC.z = thisx->scale.z * 150000.0f;
|
||||
Matrix_MultVec3f(&spAC, &this->unk_270);
|
||||
spAC.x = thisx->scale.x * 550000.0f;
|
||||
Matrix_MultVec3f(&spAC, &this->unk_288);
|
||||
spAC.x = -spAC.x;
|
||||
Matrix_MultVec3f(&spAC, &this->unk_27C);
|
||||
}
|
||||
|
||||
Matrix_Translate(thisx->posRot.pos.x, thisx->posRot.pos.y + ((thisx->scale.y - 0.013f) * 1000.0f),
|
||||
thisx->posRot.pos.z, MTXMODE_NEW);
|
||||
func_80093D84(globalCtx->state.gfxCtx);
|
||||
gDPSetEnvColor(POLY_XLU_DISP++, 255, 0, 0, 0);
|
||||
|
||||
gSPSegment(POLY_XLU_DISP++, 0x08,
|
||||
Gfx_TwoTexScroll(globalCtx->state.gfxCtx, 0, 0, 0, 0x20, 0x40, 1, 0,
|
||||
(globalCtx->gameplayFrames * -20) % 0x200, 0x20, 0x80));
|
||||
gDPSetPrimColor(POLY_XLU_DISP++, 0x80, 0x80, 255, 255, 0, 255);
|
||||
Matrix_Scale(this->unk_248 * 0.01f, this->unk_248 * 0.01f, this->unk_248 * 0.01f, MTXMODE_APPLY);
|
||||
func_800D1FD4(&globalCtx->mf_11DA0);
|
||||
gSPMatrix(POLY_XLU_DISP++, Matrix_NewMtx(globalCtx->state.gfxCtx, "../z_en_bw.c", 1500),
|
||||
G_MTX_NOPUSH | G_MTX_LOAD | G_MTX_MODELVIEW);
|
||||
gSPDisplayList(POLY_XLU_DISP++, D_0404D4E0);
|
||||
|
||||
if (this->iceTimer != 0) {
|
||||
thisx->dmgEffectTimer++;
|
||||
this->iceTimer--;
|
||||
if ((this->iceTimer & 3) == 0) {
|
||||
iceIndex = this->iceTimer >> 2;
|
||||
|
||||
icePos.x = sIceOffsets[iceIndex].x + thisx->posRot.pos.x;
|
||||
icePos.y = sIceOffsets[iceIndex].y + thisx->posRot.pos.y;
|
||||
icePos.z = sIceOffsets[iceIndex].z + thisx->posRot.pos.z;
|
||||
EffectSsEnIce_SpawnFlyingVec3f(globalCtx, thisx, &icePos, 0x96, 0x96, 0x96, 0xFA, 0xEB, 0xF5, 0xFF, 1.3f);
|
||||
}
|
||||
}
|
||||
CLOSE_DISPS(globalCtx->state.gfxCtx, "../z_en_bw.c", 1521);
|
||||
}
|
||||
|
|
|
@ -5,10 +5,43 @@
|
|||
#include "global.h"
|
||||
|
||||
struct EnBw;
|
||||
typedef void (*EnBwActionFunc)(struct EnBw*, GlobalContext*);
|
||||
|
||||
typedef struct EnBw {
|
||||
/* 0x0000 */ Actor actor;
|
||||
/* 0x014C */ char unk_14C[0x1E0];
|
||||
/* 0x014C */ SkelAnime skelAnime;
|
||||
/* 0x0190 */ Vec3s limbDrawTbl[12];
|
||||
/* 0x01D8 */ Vec3s transitionDrawTbl[12];
|
||||
/* 0x0220 */ u8 unk_220;
|
||||
/* 0x0221 */ u8 unk_221;
|
||||
/* 0x0222 */ s16 unk_222;
|
||||
/* 0x0224 */ s16 unk_224;
|
||||
/* 0x0228 */ EnBwActionFunc actionFunc;
|
||||
/* 0x022C */ Color_RGBA8 color1;
|
||||
/* 0x0230 */ u8 unk_230;
|
||||
/* 0x0231 */ u8 damageEffect;
|
||||
/* 0x0232 */ u8 unk_232;
|
||||
/* 0x0234 */ s16 unk_234;
|
||||
/* 0x0236 */ s16 unk_236;
|
||||
/* 0x0238 */ s16 unk_238;
|
||||
/* 0x023A */ u8 unk_23A;
|
||||
/* 0x022B */ u8 iceTimer;
|
||||
/* 0x023C */ u8 unk_23C;
|
||||
/* 0x0240 */ f32 unk_240;
|
||||
/* 0x0244 */ f32 unk_244;
|
||||
/* 0x0248 */ f32 unk_248;
|
||||
/* 0x024C */ f32 unk_24C;
|
||||
/* 0x0250 */ f32 unk_250;
|
||||
/* 0x0254 */ char unk_254[4];
|
||||
/* 0x0258 */ f32 unk_258;
|
||||
/* 0x025C */ f32 unk_25C;
|
||||
/* 0x0260 */ f32 unk_260;
|
||||
/* 0x0264 */ Vec3f unk_264;
|
||||
/* 0x0270 */ Vec3f unk_270;
|
||||
/* 0x027C */ Vec3f unk_27C;
|
||||
/* 0x0288 */ Vec3f unk_288;
|
||||
/* 0x0294 */ ColliderCylinder collider1;
|
||||
/* 0x02E0 */ ColliderCylinder collider2;
|
||||
} EnBw; // size = 0x032C
|
||||
|
||||
extern const ActorInit En_Bw_InitVars;
|
||||
|
|
Loading…
Reference in a new issue