mirror of
https://github.com/zeldaret/oot.git
synced 2024-11-13 04:39:36 +00:00
ovl_En_Okuta (#470)
* merge upstream * Merge upstream * Migrate data * Progress * Progress * Progress * Cleanup data * Match EnOkuta_Update * EnOkuta_Draw * func_80AC25D8 * Work on func_80AC2350 * Name EnOkuta_OverrideLimbDraw * More progress * More progress * Progress * Progress * func_80AC2350 * func_80AC1938 * Use LINK_IS_ADULT * func_80AC1B80 * Name some stuff * Update spec and remove asm * Name EnOkuta_SpawnSplash * Name more stuff * Name EnOkuta_Appear * Name ColliderInits * Reorder comparison to make more sense * Name some Octorock related functions * Name some projectile stuff * Reorder comparison * Convert remaining uses of unk_194 to decimal * Name some more stuff * Rename some wait functions to have 'to' * Consolidate timers * Name some more stuff * Change EnOkuta_SetupWaitToAppear to take this * Name jumpHeight * Name this->scale * Name shots * Name _SetupWaitToShoot and _SetupShoot * Name more stuff (might change) * Name EnOkuta_ColliderCheck for now * Replace some floating point constants * Change name to make a bit more sense * Rename mouth to snout * Just rename parameter to scale * Fun magic number I guess * Remove several returns * Cleanup * Update src/overlays/actors/ovl_En_Okuta/z_en_okuta.c Co-authored-by: Roman971 <32455037+Roman971@users.noreply.github.com> * Update src/overlays/actors/ovl_En_Okuta/z_en_okuta.c Co-authored-by: Roman971 <32455037+Roman971@users.noreply.github.com> * Clang format Co-authored-by: Roman971 <32455037+Roman971@users.noreply.github.com>
This commit is contained in:
parent
9a9025f01c
commit
89f89ac5ea
37 changed files with 645 additions and 2597 deletions
|
@ -1,12 +0,0 @@
|
|||
glabel EnOkuta_Destroy
|
||||
/* 00208 80AC0868 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
|
||||
/* 0020C 80AC086C 00803025 */ or $a2, $a0, $zero ## $a2 = 00000000
|
||||
/* 00210 80AC0870 AFBF0014 */ sw $ra, 0x0014($sp)
|
||||
/* 00214 80AC0874 00A02025 */ or $a0, $a1, $zero ## $a0 = 00000000
|
||||
/* 00218 80AC0878 0C0170EB */ jal Collider_DestroyCylinder
|
||||
|
||||
/* 0021C 80AC087C 24C50370 */ addiu $a1, $a2, 0x0370 ## $a1 = 00000370
|
||||
/* 00220 80AC0880 8FBF0014 */ lw $ra, 0x0014($sp)
|
||||
/* 00224 80AC0884 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
|
||||
/* 00228 80AC0888 03E00008 */ jr $ra
|
||||
/* 0022C 80AC088C 00000000 */ nop
|
|
@ -1,97 +0,0 @@
|
|||
.rdata
|
||||
glabel D_80AC28D0
|
||||
.asciz "../z_en_okuta.c"
|
||||
.balign 4
|
||||
|
||||
glabel D_80AC28E0
|
||||
.asciz "../z_en_okuta.c"
|
||||
.balign 4
|
||||
|
||||
glabel D_80AC28F0
|
||||
.asciz "../z_en_okuta.c"
|
||||
.balign 4
|
||||
|
||||
.late_rodata
|
||||
glabel D_80AC2988
|
||||
.float 9.58738019108e-05
|
||||
|
||||
.text
|
||||
glabel EnOkuta_Draw
|
||||
/* 02074 80AC26D4 27BDFFA8 */ addiu $sp, $sp, 0xFFA8 ## $sp = FFFFFFA8
|
||||
/* 02078 80AC26D8 AFB00020 */ sw $s0, 0x0020($sp)
|
||||
/* 0207C 80AC26DC 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
|
||||
/* 02080 80AC26E0 AFBF002C */ sw $ra, 0x002C($sp)
|
||||
/* 02084 80AC26E4 AFB20028 */ sw $s2, 0x0028($sp)
|
||||
/* 02088 80AC26E8 AFB10024 */ sw $s1, 0x0024($sp)
|
||||
/* 0208C 80AC26EC 00A09025 */ or $s2, $a1, $zero ## $s2 = 00000000
|
||||
/* 02090 80AC26F0 0C024F46 */ jal func_80093D18
|
||||
/* 02094 80AC26F4 8CA40000 */ lw $a0, 0x0000($a1) ## 00000000
|
||||
/* 02098 80AC26F8 860E001C */ lh $t6, 0x001C($s0) ## 0000001C
|
||||
/* 0209C 80AC26FC 3C0680AC */ lui $a2, %hi(D_80AC28D0) ## $a2 = 80AC0000
|
||||
/* 020A0 80AC2700 24C628D0 */ addiu $a2, $a2, %lo(D_80AC28D0) ## $a2 = 80AC28D0
|
||||
/* 020A4 80AC2704 15C0000B */ bne $t6, $zero, .L80AC2734
|
||||
/* 020A8 80AC2708 27A4003C */ addiu $a0, $sp, 0x003C ## $a0 = FFFFFFE4
|
||||
/* 020AC 80AC270C 8E050150 */ lw $a1, 0x0150($s0) ## 00000150
|
||||
/* 020B0 80AC2710 8E06016C */ lw $a2, 0x016C($s0) ## 0000016C
|
||||
/* 020B4 80AC2714 3C0780AC */ lui $a3, %hi(func_80AC25D8) ## $a3 = 80AC0000
|
||||
/* 020B8 80AC2718 24E725D8 */ addiu $a3, $a3, %lo(func_80AC25D8) ## $a3 = 80AC25D8
|
||||
/* 020BC 80AC271C AFB00014 */ sw $s0, 0x0014($sp)
|
||||
/* 020C0 80AC2720 AFA00010 */ sw $zero, 0x0010($sp)
|
||||
/* 020C4 80AC2724 0C028572 */ jal SkelAnime_Draw
|
||||
|
||||
/* 020C8 80AC2728 02402025 */ or $a0, $s2, $zero ## $a0 = 00000000
|
||||
/* 020CC 80AC272C 1000002F */ beq $zero, $zero, .L80AC27EC
|
||||
/* 020D0 80AC2730 8FBF002C */ lw $ra, 0x002C($sp)
|
||||
.L80AC2734:
|
||||
/* 020D4 80AC2734 8E450000 */ lw $a1, 0x0000($s2) ## 00000000
|
||||
/* 020D8 80AC2738 24070675 */ addiu $a3, $zero, 0x0675 ## $a3 = 00000675
|
||||
/* 020DC 80AC273C 0C031AB1 */ jal Graph_OpenDisps
|
||||
/* 020E0 80AC2740 00A08825 */ or $s1, $a1, $zero ## $s1 = 00000000
|
||||
/* 020E4 80AC2744 3C010001 */ lui $at, 0x0001 ## $at = 00010000
|
||||
/* 020E8 80AC2748 34211DA0 */ ori $at, $at, 0x1DA0 ## $at = 00011DA0
|
||||
/* 020EC 80AC274C 02412021 */ addu $a0, $s2, $at
|
||||
/* 020F0 80AC2750 0C03424C */ jal Matrix_Mult
|
||||
/* 020F4 80AC2754 24050001 */ addiu $a1, $zero, 0x0001 ## $a1 = 00000001
|
||||
/* 020F8 80AC2758 860F0018 */ lh $t7, 0x0018($s0) ## 00000018
|
||||
/* 020FC 80AC275C 3C0180AC */ lui $at, %hi(D_80AC2988) ## $at = 80AC0000
|
||||
/* 02100 80AC2760 C4282988 */ lwc1 $f8, %lo(D_80AC2988)($at)
|
||||
/* 02104 80AC2764 448F2000 */ mtc1 $t7, $f4 ## $f4 = 0.00
|
||||
/* 02108 80AC2768 24050001 */ addiu $a1, $zero, 0x0001 ## $a1 = 00000001
|
||||
/* 0210C 80AC276C 468021A0 */ cvt.s.w $f6, $f4
|
||||
/* 02110 80AC2770 46083302 */ mul.s $f12, $f6, $f8
|
||||
/* 02114 80AC2774 0C0343B5 */ jal Matrix_RotateZ
|
||||
/* 02118 80AC2778 00000000 */ nop
|
||||
/* 0211C 80AC277C 8E2202C0 */ lw $v0, 0x02C0($s1) ## 000002C0
|
||||
/* 02120 80AC2780 3C19DA38 */ lui $t9, 0xDA38 ## $t9 = DA380000
|
||||
/* 02124 80AC2784 37390003 */ ori $t9, $t9, 0x0003 ## $t9 = DA380003
|
||||
/* 02128 80AC2788 24580008 */ addiu $t8, $v0, 0x0008 ## $t8 = 00000008
|
||||
/* 0212C 80AC278C AE3802C0 */ sw $t8, 0x02C0($s1) ## 000002C0
|
||||
/* 02130 80AC2790 3C0580AC */ lui $a1, %hi(D_80AC28E0) ## $a1 = 80AC0000
|
||||
/* 02134 80AC2794 AC590000 */ sw $t9, 0x0000($v0) ## 00000000
|
||||
/* 02138 80AC2798 8E440000 */ lw $a0, 0x0000($s2) ## 00000000
|
||||
/* 0213C 80AC279C 24A528E0 */ addiu $a1, $a1, %lo(D_80AC28E0) ## $a1 = 80AC28E0
|
||||
/* 02140 80AC27A0 24060679 */ addiu $a2, $zero, 0x0679 ## $a2 = 00000679
|
||||
/* 02144 80AC27A4 0C0346A2 */ jal Matrix_NewMtx
|
||||
/* 02148 80AC27A8 00408025 */ or $s0, $v0, $zero ## $s0 = 00000000
|
||||
/* 0214C 80AC27AC AE020004 */ sw $v0, 0x0004($s0) ## 00000004
|
||||
/* 02150 80AC27B0 8E2202C0 */ lw $v0, 0x02C0($s1) ## 000002C0
|
||||
/* 02154 80AC27B4 3C0A0600 */ lui $t2, 0x0600 ## $t2 = 06000000
|
||||
/* 02158 80AC27B8 254A3380 */ addiu $t2, $t2, 0x3380 ## $t2 = 06003380
|
||||
/* 0215C 80AC27BC 24480008 */ addiu $t0, $v0, 0x0008 ## $t0 = 00000008
|
||||
/* 02160 80AC27C0 AE2802C0 */ sw $t0, 0x02C0($s1) ## 000002C0
|
||||
/* 02164 80AC27C4 3C09DE00 */ lui $t1, 0xDE00 ## $t1 = DE000000
|
||||
/* 02168 80AC27C8 3C0680AC */ lui $a2, %hi(D_80AC28F0) ## $a2 = 80AC0000
|
||||
/* 0216C 80AC27CC AC490000 */ sw $t1, 0x0000($v0) ## 00000000
|
||||
/* 02170 80AC27D0 AC4A0004 */ sw $t2, 0x0004($v0) ## 00000004
|
||||
/* 02174 80AC27D4 8E450000 */ lw $a1, 0x0000($s2) ## 00000000
|
||||
/* 02178 80AC27D8 24C628F0 */ addiu $a2, $a2, %lo(D_80AC28F0) ## $a2 = 80AC28F0
|
||||
/* 0217C 80AC27DC 27A4003C */ addiu $a0, $sp, 0x003C ## $a0 = FFFFFFE4
|
||||
/* 02180 80AC27E0 0C031AD5 */ jal Graph_CloseDisps
|
||||
/* 02184 80AC27E4 2407067E */ addiu $a3, $zero, 0x067E ## $a3 = 0000067E
|
||||
/* 02188 80AC27E8 8FBF002C */ lw $ra, 0x002C($sp)
|
||||
.L80AC27EC:
|
||||
/* 0218C 80AC27EC 8FB00020 */ lw $s0, 0x0020($sp)
|
||||
/* 02190 80AC27F0 8FB10024 */ lw $s1, 0x0024($sp)
|
||||
/* 02194 80AC27F4 8FB20028 */ lw $s2, 0x0028($sp)
|
||||
/* 02198 80AC27F8 03E00008 */ jr $ra
|
||||
/* 0219C 80AC27FC 27BD0058 */ addiu $sp, $sp, 0x0058 ## $sp = 00000000
|
|
@ -1,146 +0,0 @@
|
|||
glabel EnOkuta_Init
|
||||
/* 00000 80AC0660 27BDFFB8 */ addiu $sp, $sp, 0xFFB8 ## $sp = FFFFFFB8
|
||||
/* 00004 80AC0664 AFB10028 */ sw $s1, 0x0028($sp)
|
||||
/* 00008 80AC0668 00A08825 */ or $s1, $a1, $zero ## $s1 = 00000000
|
||||
/* 0000C 80AC066C AFBF002C */ sw $ra, 0x002C($sp)
|
||||
/* 00010 80AC0670 AFB00024 */ sw $s0, 0x0024($sp)
|
||||
/* 00014 80AC0674 3C0580AC */ lui $a1, %hi(D_80AC28A0) ## $a1 = 80AC0000
|
||||
/* 00018 80AC0678 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
|
||||
/* 0001C 80AC067C 0C01E037 */ jal Actor_ProcessInitChain
|
||||
|
||||
/* 00020 80AC0680 24A528A0 */ addiu $a1, $a1, %lo(D_80AC28A0) ## $a1 = 80AC28A0
|
||||
/* 00024 80AC0684 8619001C */ lh $t9, 0x001C($s0) ## 0000001C
|
||||
/* 00028 80AC0688 860E001C */ lh $t6, 0x001C($s0) ## 0000001C
|
||||
/* 0002C 80AC068C 260400B4 */ addiu $a0, $s0, 0x00B4 ## $a0 = 000000B4
|
||||
/* 00030 80AC0690 332800FF */ andi $t0, $t9, 0x00FF ## $t0 = 00000000
|
||||
/* 00034 80AC0694 A608001C */ sh $t0, 0x001C($s0) ## 0000001C
|
||||
/* 00038 80AC0698 8609001C */ lh $t1, 0x001C($s0) ## 0000001C
|
||||
/* 0003C 80AC069C 000E7A03 */ sra $t7, $t6, 8
|
||||
/* 00040 80AC06A0 31F800FF */ andi $t8, $t7, 0x00FF ## $t8 = 00000000
|
||||
/* 00044 80AC06A4 15200047 */ bne $t1, $zero, .L80AC07C4
|
||||
/* 00048 80AC06A8 A6180196 */ sh $t8, 0x0196($s0) ## 00000196
|
||||
/* 0004C 80AC06AC 3C060600 */ lui $a2, 0x0600 ## $a2 = 06000000
|
||||
/* 00050 80AC06B0 3C070600 */ lui $a3, 0x0600 ## $a3 = 06000000
|
||||
/* 00054 80AC06B4 260A0198 */ addiu $t2, $s0, 0x0198 ## $t2 = 00000198
|
||||
/* 00058 80AC06B8 260B027C */ addiu $t3, $s0, 0x027C ## $t3 = 0000027C
|
||||
/* 0005C 80AC06BC 240C0026 */ addiu $t4, $zero, 0x0026 ## $t4 = 00000026
|
||||
/* 00060 80AC06C0 AFAC0018 */ sw $t4, 0x0018($sp)
|
||||
/* 00064 80AC06C4 AFAB0014 */ sw $t3, 0x0014($sp)
|
||||
/* 00068 80AC06C8 AFAA0010 */ sw $t2, 0x0010($sp)
|
||||
/* 0006C 80AC06CC 24E73C64 */ addiu $a3, $a3, 0x3C64 ## $a3 = 06003C64
|
||||
/* 00070 80AC06D0 24C63660 */ addiu $a2, $a2, 0x3660 ## $a2 = 06003660
|
||||
/* 00074 80AC06D4 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
|
||||
/* 00078 80AC06D8 0C02915F */ jal SkelAnime_Init
|
||||
|
||||
/* 0007C 80AC06DC 2605014C */ addiu $a1, $s0, 0x014C ## $a1 = 0000014C
|
||||
/* 00080 80AC06E0 26050370 */ addiu $a1, $s0, 0x0370 ## $a1 = 00000370
|
||||
/* 00084 80AC06E4 AFA50030 */ sw $a1, 0x0030($sp)
|
||||
/* 00088 80AC06E8 0C0170D9 */ jal Collider_InitCylinder
|
||||
|
||||
/* 0008C 80AC06EC 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
|
||||
/* 00090 80AC06F0 3C0780AC */ lui $a3, %hi(D_80AC284C) ## $a3 = 80AC0000
|
||||
/* 00094 80AC06F4 8FA50030 */ lw $a1, 0x0030($sp)
|
||||
/* 00098 80AC06F8 24E7284C */ addiu $a3, $a3, %lo(D_80AC284C) ## $a3 = 80AC284C
|
||||
/* 0009C 80AC06FC 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
|
||||
/* 000A0 80AC0700 0C01712B */ jal Collider_SetCylinder
|
||||
|
||||
/* 000A4 80AC0704 02003025 */ or $a2, $s0, $zero ## $a2 = 00000000
|
||||
/* 000A8 80AC0708 3C0580AC */ lui $a1, %hi(D_80AC2880) ## $a1 = 80AC0000
|
||||
/* 000AC 80AC070C 3C0680AC */ lui $a2, %hi(D_80AC2878) ## $a2 = 80AC0000
|
||||
/* 000B0 80AC0710 24C62878 */ addiu $a2, $a2, %lo(D_80AC2878) ## $a2 = 80AC2878
|
||||
/* 000B4 80AC0714 24A52880 */ addiu $a1, $a1, %lo(D_80AC2880) ## $a1 = 80AC2880
|
||||
/* 000B8 80AC0718 0C0187B5 */ jal func_80061ED4
|
||||
/* 000BC 80AC071C 26040098 */ addiu $a0, $s0, 0x0098 ## $a0 = 00000098
|
||||
/* 000C0 80AC0720 86020196 */ lh $v0, 0x0196($s0) ## 00000196
|
||||
/* 000C4 80AC0724 240100FF */ addiu $at, $zero, 0x00FF ## $at = 000000FF
|
||||
/* 000C8 80AC0728 262407C0 */ addiu $a0, $s1, 0x07C0 ## $a0 = 000007C0
|
||||
/* 000CC 80AC072C 10410002 */ beq $v0, $at, .L80AC0738
|
||||
/* 000D0 80AC0730 26050078 */ addiu $a1, $s0, 0x0078 ## $a1 = 00000078
|
||||
/* 000D4 80AC0734 14400002 */ bne $v0, $zero, .L80AC0740
|
||||
.L80AC0738:
|
||||
/* 000D8 80AC0738 240D0001 */ addiu $t5, $zero, 0x0001 ## $t5 = 00000001
|
||||
/* 000DC 80AC073C A60D0196 */ sh $t5, 0x0196($s0) ## 00000196
|
||||
.L80AC0740:
|
||||
/* 000E0 80AC0740 260E0024 */ addiu $t6, $s0, 0x0024 ## $t6 = 00000024
|
||||
/* 000E4 80AC0744 AFAE0010 */ sw $t6, 0x0010($sp)
|
||||
/* 000E8 80AC0748 27A60034 */ addiu $a2, $sp, 0x0034 ## $a2 = FFFFFFEC
|
||||
/* 000EC 80AC074C 02003825 */ or $a3, $s0, $zero ## $a3 = 00000000
|
||||
/* 000F0 80AC0750 0C00F269 */ jal func_8003C9A4
|
||||
/* 000F4 80AC0754 AFA40030 */ sw $a0, 0x0030($sp)
|
||||
/* 000F8 80AC0758 E6000080 */ swc1 $f0, 0x0080($s0) ## 00000080
|
||||
/* 000FC 80AC075C 8E060024 */ lw $a2, 0x0024($s0) ## 00000024
|
||||
/* 00100 80AC0760 8E07002C */ lw $a3, 0x002C($s0) ## 0000002C
|
||||
/* 00104 80AC0764 27AF0038 */ addiu $t7, $sp, 0x0038 ## $t7 = FFFFFFF0
|
||||
/* 00108 80AC0768 27B8003C */ addiu $t8, $sp, 0x003C ## $t8 = FFFFFFF4
|
||||
/* 0010C 80AC076C AFB80014 */ sw $t8, 0x0014($sp)
|
||||
/* 00110 80AC0770 AFAF0010 */ sw $t7, 0x0010($sp)
|
||||
/* 00114 80AC0774 8FA50030 */ lw $a1, 0x0030($sp)
|
||||
/* 00118 80AC0778 0C010891 */ jal func_80042244
|
||||
/* 0011C 80AC077C 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
|
||||
/* 00120 80AC0780 10400007 */ beq $v0, $zero, .L80AC07A0
|
||||
/* 00124 80AC0784 C7A60038 */ lwc1 $f6, 0x0038($sp)
|
||||
/* 00128 80AC0788 C6040080 */ lwc1 $f4, 0x0080($s0) ## 00000080
|
||||
/* 0012C 80AC078C C7A80038 */ lwc1 $f8, 0x0038($sp)
|
||||
/* 00130 80AC0790 4604303E */ c.le.s $f6, $f4
|
||||
/* 00134 80AC0794 00000000 */ nop
|
||||
/* 00138 80AC0798 45020006 */ bc1fl .L80AC07B4
|
||||
/* 0013C 80AC079C E608000C */ swc1 $f8, 0x000C($s0) ## 0000000C
|
||||
.L80AC07A0:
|
||||
/* 00140 80AC07A0 0C00B55C */ jal Actor_Kill
|
||||
|
||||
/* 00144 80AC07A4 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 00148 80AC07A8 10000002 */ beq $zero, $zero, .L80AC07B4
|
||||
/* 0014C 80AC07AC 00000000 */ nop
|
||||
/* 00150 80AC07B0 E608000C */ swc1 $f8, 0x000C($s0) ## 0000000C
|
||||
.L80AC07B4:
|
||||
/* 00154 80AC07B4 0C2B02A2 */ jal func_80AC0A88
|
||||
/* 00158 80AC07B8 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 0015C 80AC07BC 10000026 */ beq $zero, $zero, .L80AC0858
|
||||
/* 00160 80AC07C0 8FBF002C */ lw $ra, 0x002C($sp)
|
||||
.L80AC07C4:
|
||||
/* 00164 80AC07C4 3C054489 */ lui $a1, 0x4489 ## $a1 = 44890000
|
||||
/* 00168 80AC07C8 3C068003 */ lui $a2, %hi(ActorShadow_DrawFunc_Circle)
|
||||
/* 0016C 80AC07CC 24C6B5EC */ addiu $a2, %lo(ActorShadow_DrawFunc_Circle)
|
||||
/* 00170 80AC07D0 34A58000 */ ori $a1, $a1, 0x8000 ## $a1 = 44898000
|
||||
/* 00174 80AC07D4 0C00AC78 */ jal ActorShape_Init
|
||||
|
||||
/* 00178 80AC07D8 3C074190 */ lui $a3, 0x4190 ## $a3 = 41900000
|
||||
/* 0017C 80AC07DC 8E190004 */ lw $t9, 0x0004($s0) ## 00000004
|
||||
/* 00180 80AC07E0 2401FFFE */ addiu $at, $zero, 0xFFFE ## $at = FFFFFFFE
|
||||
/* 00184 80AC07E4 26050370 */ addiu $a1, $s0, 0x0370 ## $a1 = 00000370
|
||||
/* 00188 80AC07E8 03214024 */ and $t0, $t9, $at
|
||||
/* 0018C 80AC07EC AE080004 */ sw $t0, 0x0004($s0) ## 00000004
|
||||
/* 00190 80AC07F0 350A0010 */ ori $t2, $t0, 0x0010 ## $t2 = 00000010
|
||||
/* 00194 80AC07F4 AE0A0004 */ sw $t2, 0x0004($s0) ## 00000004
|
||||
/* 00198 80AC07F8 AFA50030 */ sw $a1, 0x0030($sp)
|
||||
/* 0019C 80AC07FC 0C0170D9 */ jal Collider_InitCylinder
|
||||
|
||||
/* 001A0 80AC0800 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
|
||||
/* 001A4 80AC0804 3C0780AC */ lui $a3, %hi(D_80AC2820) ## $a3 = 80AC0000
|
||||
/* 001A8 80AC0808 8FA50030 */ lw $a1, 0x0030($sp)
|
||||
/* 001AC 80AC080C 24E72820 */ addiu $a3, $a3, %lo(D_80AC2820) ## $a3 = 80AC2820
|
||||
/* 001B0 80AC0810 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
|
||||
/* 001B4 80AC0814 0C01712B */ jal Collider_SetCylinder
|
||||
|
||||
/* 001B8 80AC0818 02003025 */ or $a2, $s0, $zero ## $a2 = 00000000
|
||||
/* 001BC 80AC081C 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
|
||||
/* 001C0 80AC0820 26251C24 */ addiu $a1, $s1, 0x1C24 ## $a1 = 00001C24
|
||||
/* 001C4 80AC0824 02003025 */ or $a2, $s0, $zero ## $a2 = 00000000
|
||||
/* 001C8 80AC0828 0C00CDD2 */ jal Actor_ChangeType
|
||||
|
||||
/* 001CC 80AC082C 24070006 */ addiu $a3, $zero, 0x0006 ## $a3 = 00000006
|
||||
/* 001D0 80AC0830 3C014120 */ lui $at, 0x4120 ## $at = 41200000
|
||||
/* 001D4 80AC0834 44815000 */ mtc1 $at, $f10 ## $f10 = 10.00
|
||||
/* 001D8 80AC0838 3C0C80AC */ lui $t4, %hi(func_80AC1938) ## $t4 = 80AC0000
|
||||
/* 001DC 80AC083C 240B001E */ addiu $t3, $zero, 0x001E ## $t3 = 0000001E
|
||||
/* 001E0 80AC0840 258C1938 */ addiu $t4, $t4, %lo(func_80AC1938) ## $t4 = 80AC1938
|
||||
/* 001E4 80AC0844 A60B0194 */ sh $t3, 0x0194($s0) ## 00000194
|
||||
/* 001E8 80AC0848 A60000B6 */ sh $zero, 0x00B6($s0) ## 000000B6
|
||||
/* 001EC 80AC084C AE0C0190 */ sw $t4, 0x0190($s0) ## 00000190
|
||||
/* 001F0 80AC0850 E60A0068 */ swc1 $f10, 0x0068($s0) ## 00000068
|
||||
/* 001F4 80AC0854 8FBF002C */ lw $ra, 0x002C($sp)
|
||||
.L80AC0858:
|
||||
/* 001F8 80AC0858 8FB00024 */ lw $s0, 0x0024($sp)
|
||||
/* 001FC 80AC085C 8FB10028 */ lw $s1, 0x0028($sp)
|
||||
/* 00200 80AC0860 03E00008 */ jr $ra
|
||||
/* 00204 80AC0864 27BD0048 */ addiu $sp, $sp, 0x0048 ## $sp = 00000000
|
|
@ -1,249 +0,0 @@
|
|||
glabel EnOkuta_Update
|
||||
/* 01974 80AC1FD4 27BDFFA8 */ addiu $sp, $sp, 0xFFA8 ## $sp = FFFFFFA8
|
||||
/* 01978 80AC1FD8 AFBF0024 */ sw $ra, 0x0024($sp)
|
||||
/* 0197C 80AC1FDC AFB10020 */ sw $s1, 0x0020($sp)
|
||||
/* 01980 80AC1FE0 AFB0001C */ sw $s0, 0x001C($sp)
|
||||
/* 01984 80AC1FE4 8CA21C44 */ lw $v0, 0x1C44($a1) ## 00001C44
|
||||
/* 01988 80AC1FE8 3C013000 */ lui $at, 0x3000 ## $at = 30000000
|
||||
/* 0198C 80AC1FEC 342100C0 */ ori $at, $at, 0x00C0 ## $at = 300000C0
|
||||
/* 01990 80AC1FF0 8C4E067C */ lw $t6, 0x067C($v0) ## 0000067C
|
||||
/* 01994 80AC1FF4 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
|
||||
/* 01998 80AC1FF8 00A08825 */ or $s1, $a1, $zero ## $s1 = 00000000
|
||||
/* 0199C 80AC1FFC 01C17824 */ and $t7, $t6, $at
|
||||
/* 019A0 80AC2000 55E000CF */ bnel $t7, $zero, .L80AC2340
|
||||
/* 019A4 80AC2004 8FBF0024 */ lw $ra, 0x0024($sp)
|
||||
/* 019A8 80AC2008 8498001C */ lh $t8, 0x001C($a0) ## 0000001C
|
||||
/* 019AC 80AC200C 5700001D */ bnel $t8, $zero, .L80AC2084
|
||||
/* 019B0 80AC2010 8E190190 */ lw $t9, 0x0190($s0) ## 00000190
|
||||
/* 019B4 80AC2014 0C2B07CA */ jal func_80AC1F28
|
||||
/* 019B8 80AC2018 00000000 */ nop
|
||||
/* 019BC 80AC201C 8E060024 */ lw $a2, 0x0024($s0) ## 00000024
|
||||
/* 019C0 80AC2020 8E07002C */ lw $a3, 0x002C($s0) ## 0000002C
|
||||
/* 019C4 80AC2024 27B90044 */ addiu $t9, $sp, 0x0044 ## $t9 = FFFFFFEC
|
||||
/* 019C8 80AC2028 27A80048 */ addiu $t0, $sp, 0x0048 ## $t0 = FFFFFFF0
|
||||
/* 019CC 80AC202C AFA80014 */ sw $t0, 0x0014($sp)
|
||||
/* 019D0 80AC2030 AFB90010 */ sw $t9, 0x0010($sp)
|
||||
/* 019D4 80AC2034 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
|
||||
/* 019D8 80AC2038 0C010891 */ jal func_80042244
|
||||
/* 019DC 80AC203C 262507C0 */ addiu $a1, $s1, 0x07C0 ## $a1 = 000007C0
|
||||
/* 019E0 80AC2040 10400007 */ beq $v0, $zero, .L80AC2060
|
||||
/* 019E4 80AC2044 C7A40044 */ lwc1 $f4, 0x0044($sp)
|
||||
/* 019E8 80AC2048 C6060080 */ lwc1 $f6, 0x0080($s0) ## 00000080
|
||||
/* 019EC 80AC204C C7A80044 */ lwc1 $f8, 0x0044($sp)
|
||||
/* 019F0 80AC2050 4606203C */ c.lt.s $f4, $f6
|
||||
/* 019F4 80AC2054 00000000 */ nop
|
||||
/* 019F8 80AC2058 45020009 */ bc1fl .L80AC2080
|
||||
/* 019FC 80AC205C E608000C */ swc1 $f8, 0x000C($s0) ## 0000000C
|
||||
.L80AC2060:
|
||||
/* 01A00 80AC2060 920900AF */ lbu $t1, 0x00AF($s0) ## 000000AF
|
||||
/* 01A04 80AC2064 51200007 */ beql $t1, $zero, .L80AC2084
|
||||
/* 01A08 80AC2068 8E190190 */ lw $t9, 0x0190($s0) ## 00000190
|
||||
/* 01A0C 80AC206C 0C00B55C */ jal Actor_Kill
|
||||
|
||||
/* 01A10 80AC2070 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 01A14 80AC2074 100000B2 */ beq $zero, $zero, .L80AC2340
|
||||
/* 01A18 80AC2078 8FBF0024 */ lw $ra, 0x0024($sp)
|
||||
/* 01A1C 80AC207C E608000C */ swc1 $f8, 0x000C($s0) ## 0000000C
|
||||
.L80AC2080:
|
||||
/* 01A20 80AC2080 8E190190 */ lw $t9, 0x0190($s0) ## 00000190
|
||||
.L80AC2084:
|
||||
/* 01A24 80AC2084 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 01A28 80AC2088 02202825 */ or $a1, $s1, $zero ## $a1 = 00000000
|
||||
/* 01A2C 80AC208C 0320F809 */ jalr $ra, $t9
|
||||
/* 01A30 80AC2090 00000000 */ nop
|
||||
/* 01A34 80AC2094 860A001C */ lh $t2, 0x001C($s0) ## 0000001C
|
||||
/* 01A38 80AC2098 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 01A3C 80AC209C 15400017 */ bne $t2, $zero, .L80AC20FC
|
||||
/* 01A40 80AC20A0 00000000 */ nop
|
||||
/* 01A44 80AC20A4 0C2B06E0 */ jal func_80AC1B80
|
||||
/* 01A48 80AC20A8 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 01A4C 80AC20AC 3C0B80AC */ lui $t3, %hi(D_80AC286E) ## $t3 = 80AC0000
|
||||
/* 01A50 80AC20B0 856B286E */ lh $t3, %lo(D_80AC286E)($t3)
|
||||
/* 01A54 80AC20B4 860C03B4 */ lh $t4, 0x03B4($s0) ## 000003B4
|
||||
/* 01A58 80AC20B8 C6120368 */ lwc1 $f18, 0x0368($s0) ## 00000368
|
||||
/* 01A5C 80AC20BC 448B5000 */ mtc1 $t3, $f10 ## $f10 = -0.00
|
||||
/* 01A60 80AC20C0 448C3000 */ mtc1 $t4, $f6 ## $f6 = 0.00
|
||||
/* 01A64 80AC20C4 3C0142C8 */ lui $at, 0x42C8 ## $at = 42C80000
|
||||
/* 01A68 80AC20C8 46805420 */ cvt.s.w $f16, $f10
|
||||
/* 01A6C 80AC20CC 46803220 */ cvt.s.w $f8, $f6
|
||||
/* 01A70 80AC20D0 46128102 */ mul.s $f4, $f16, $f18
|
||||
/* 01A74 80AC20D4 C6100054 */ lwc1 $f16, 0x0054($s0) ## 00000054
|
||||
/* 01A78 80AC20D8 44813000 */ mtc1 $at, $f6 ## $f6 = 100.00
|
||||
/* 01A7C 80AC20DC 46082281 */ sub.s $f10, $f4, $f8
|
||||
/* 01A80 80AC20E0 46105482 */ mul.s $f18, $f10, $f16
|
||||
/* 01A84 80AC20E4 00000000 */ nop
|
||||
/* 01A88 80AC20E8 46069102 */ mul.s $f4, $f18, $f6
|
||||
/* 01A8C 80AC20EC 4600220D */ trunc.w.s $f8, $f4
|
||||
/* 01A90 80AC20F0 440E4000 */ mfc1 $t6, $f8
|
||||
/* 01A94 80AC20F4 10000037 */ beq $zero, $zero, .L80AC21D4
|
||||
/* 01A98 80AC20F8 A60E03B2 */ sh $t6, 0x03B2($s0) ## 000003B2
|
||||
.L80AC20FC:
|
||||
/* 01A9C 80AC20FC 0C00B638 */ jal Actor_MoveForward
|
||||
|
||||
/* 01AA0 80AC2100 AFA00034 */ sw $zero, 0x0034($sp)
|
||||
/* 01AA4 80AC2104 26050024 */ addiu $a1, $s0, 0x0024 ## $a1 = 00000024
|
||||
/* 01AA8 80AC2108 AFA50030 */ sw $a1, 0x0030($sp)
|
||||
/* 01AAC 80AC210C 0C01DF90 */ jal Math_Vec3f_Copy
|
||||
## Vec3f_Copy
|
||||
/* 01AB0 80AC2110 27A40038 */ addiu $a0, $sp, 0x0038 ## $a0 = FFFFFFE0
|
||||
/* 01AB4 80AC2114 3C0141F0 */ lui $at, 0x41F0 ## $at = 41F00000
|
||||
/* 01AB8 80AC2118 44815000 */ mtc1 $at, $f10 ## $f10 = 30.00
|
||||
/* 01ABC 80AC211C 240F0005 */ addiu $t7, $zero, 0x0005 ## $t7 = 00000005
|
||||
/* 01AC0 80AC2120 AFAF0014 */ sw $t7, 0x0014($sp)
|
||||
/* 01AC4 80AC2124 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
|
||||
/* 01AC8 80AC2128 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000
|
||||
/* 01ACC 80AC212C 3C064120 */ lui $a2, 0x4120 ## $a2 = 41200000
|
||||
/* 01AD0 80AC2130 3C074170 */ lui $a3, 0x4170 ## $a3 = 41700000
|
||||
/* 01AD4 80AC2134 0C00B92D */ jal func_8002E4B4
|
||||
/* 01AD8 80AC2138 E7AA0010 */ swc1 $f10, 0x0010($sp)
|
||||
/* 01ADC 80AC213C 96180088 */ lhu $t8, 0x0088($s0) ## 00000088
|
||||
/* 01AE0 80AC2140 262407C0 */ addiu $a0, $s1, 0x07C0 ## $a0 = 000007C0
|
||||
/* 01AE4 80AC2144 33080008 */ andi $t0, $t8, 0x0008 ## $t0 = 00000000
|
||||
/* 01AE8 80AC2148 5100000B */ beql $t0, $zero, .L80AC2178
|
||||
/* 01AEC 80AC214C 960B0088 */ lhu $t3, 0x0088($s0) ## 00000088
|
||||
/* 01AF0 80AC2150 8E050074 */ lw $a1, 0x0074($s0) ## 00000074
|
||||
/* 01AF4 80AC2154 0C010812 */ jal func_80042048
|
||||
/* 01AF8 80AC2158 9206007C */ lbu $a2, 0x007C($s0) ## 0000007C
|
||||
/* 01AFC 80AC215C 10400005 */ beq $v0, $zero, .L80AC2174
|
||||
/* 01B00 80AC2160 24090001 */ addiu $t1, $zero, 0x0001 ## $t1 = 00000001
|
||||
/* 01B04 80AC2164 AFA90034 */ sw $t1, 0x0034($sp)
|
||||
/* 01B08 80AC2168 96190088 */ lhu $t9, 0x0088($s0) ## 00000088
|
||||
/* 01B0C 80AC216C 332AFFF7 */ andi $t2, $t9, 0xFFF7 ## $t2 = 00000000
|
||||
/* 01B10 80AC2170 A60A0088 */ sh $t2, 0x0088($s0) ## 00000088
|
||||
.L80AC2174:
|
||||
/* 01B14 80AC2174 960B0088 */ lhu $t3, 0x0088($s0) ## 00000088
|
||||
.L80AC2178:
|
||||
/* 01B18 80AC2178 262407C0 */ addiu $a0, $s1, 0x07C0 ## $a0 = 000007C0
|
||||
/* 01B1C 80AC217C 316C0001 */ andi $t4, $t3, 0x0001 ## $t4 = 00000000
|
||||
/* 01B20 80AC2180 5180000B */ beql $t4, $zero, .L80AC21B0
|
||||
/* 01B24 80AC2184 8FB80034 */ lw $t8, 0x0034($sp)
|
||||
/* 01B28 80AC2188 8E050078 */ lw $a1, 0x0078($s0) ## 00000078
|
||||
/* 01B2C 80AC218C 0C010812 */ jal func_80042048
|
||||
/* 01B30 80AC2190 9206007D */ lbu $a2, 0x007D($s0) ## 0000007D
|
||||
/* 01B34 80AC2194 10400005 */ beq $v0, $zero, .L80AC21AC
|
||||
/* 01B38 80AC2198 240D0001 */ addiu $t5, $zero, 0x0001 ## $t5 = 00000001
|
||||
/* 01B3C 80AC219C AFAD0034 */ sw $t5, 0x0034($sp)
|
||||
/* 01B40 80AC21A0 960E0088 */ lhu $t6, 0x0088($s0) ## 00000088
|
||||
/* 01B44 80AC21A4 31CFFFFE */ andi $t7, $t6, 0xFFFE ## $t7 = 00000000
|
||||
/* 01B48 80AC21A8 A60F0088 */ sh $t7, 0x0088($s0) ## 00000088
|
||||
.L80AC21AC:
|
||||
/* 01B4C 80AC21AC 8FB80034 */ lw $t8, 0x0034($sp)
|
||||
.L80AC21B0:
|
||||
/* 01B50 80AC21B0 53000009 */ beql $t8, $zero, .L80AC21D8
|
||||
/* 01B54 80AC21B4 26050370 */ addiu $a1, $s0, 0x0370 ## $a1 = 00000370
|
||||
/* 01B58 80AC21B8 96080088 */ lhu $t0, 0x0088($s0) ## 00000088
|
||||
/* 01B5C 80AC21BC 8FA40030 */ lw $a0, 0x0030($sp)
|
||||
/* 01B60 80AC21C0 31090009 */ andi $t1, $t0, 0x0009 ## $t1 = 00000000
|
||||
/* 01B64 80AC21C4 55200004 */ bnel $t1, $zero, .L80AC21D8
|
||||
/* 01B68 80AC21C8 26050370 */ addiu $a1, $s0, 0x0370 ## $a1 = 00000370
|
||||
/* 01B6C 80AC21CC 0C01DF90 */ jal Math_Vec3f_Copy
|
||||
## Vec3f_Copy
|
||||
/* 01B70 80AC21D0 27A50038 */ addiu $a1, $sp, 0x0038 ## $a1 = FFFFFFE0
|
||||
.L80AC21D4:
|
||||
/* 01B74 80AC21D4 26050370 */ addiu $a1, $s0, 0x0370 ## $a1 = 00000370
|
||||
.L80AC21D8:
|
||||
/* 01B78 80AC21D8 AFA5002C */ sw $a1, 0x002C($sp)
|
||||
/* 01B7C 80AC21DC 0C0189B7 */ jal Collider_CylinderUpdate
|
||||
|
||||
/* 01B80 80AC21E0 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 01B84 80AC21E4 8E020190 */ lw $v0, 0x0190($s0) ## 00000190
|
||||
/* 01B88 80AC21E8 3C1980AC */ lui $t9, %hi(func_80AC0F64) ## $t9 = 80AC0000
|
||||
/* 01B8C 80AC21EC 27390F64 */ addiu $t9, $t9, %lo(func_80AC0F64) ## $t9 = 80AC0F64
|
||||
/* 01B90 80AC21F0 13220004 */ beq $t9, $v0, .L80AC2204
|
||||
/* 01B94 80AC21F4 3C0A80AC */ lui $t2, %hi(func_80AC10A8) ## $t2 = 80AC0000
|
||||
/* 01B98 80AC21F8 254A10A8 */ addiu $t2, $t2, %lo(func_80AC10A8) ## $t2 = 80AC10A8
|
||||
/* 01B9C 80AC21FC 5542001E */ bnel $t2, $v0, .L80AC2278
|
||||
/* 01BA0 80AC2200 8609001C */ lh $t1, 0x001C($s0) ## 0000001C
|
||||
.L80AC2204:
|
||||
/* 01BA4 80AC2204 8E0B016C */ lw $t3, 0x016C($s0) ## 0000016C
|
||||
/* 01BA8 80AC2208 C6060054 */ lwc1 $f6, 0x0054($s0) ## 00000054
|
||||
/* 01BAC 80AC220C C6080028 */ lwc1 $f8, 0x0028($s0) ## 00000028
|
||||
/* 01BB0 80AC2210 856C0002 */ lh $t4, 0x0002($t3) ## 00000002
|
||||
/* 01BB4 80AC2214 3C0F80AC */ lui $t7, %hi(D_80AC286C) ## $t7 = 80AC0000
|
||||
/* 01BB8 80AC2218 3C0142C8 */ lui $at, 0x42C8 ## $at = 42C80000
|
||||
/* 01BBC 80AC221C 448C8000 */ mtc1 $t4, $f16 ## $f16 = 0.00
|
||||
/* 01BC0 80AC2220 00000000 */ nop
|
||||
/* 01BC4 80AC2224 468084A0 */ cvt.s.w $f18, $f16
|
||||
/* 01BC8 80AC2228 46069102 */ mul.s $f4, $f18, $f6
|
||||
/* 01BCC 80AC222C 46044280 */ add.s $f10, $f8, $f4
|
||||
/* 01BD0 80AC2230 C6080050 */ lwc1 $f8, 0x0050($s0) ## 00000050
|
||||
/* 01BD4 80AC2234 4600540D */ trunc.w.s $f16, $f10
|
||||
/* 01BD8 80AC2238 44815000 */ mtc1 $at, $f10 ## $f10 = 100.00
|
||||
/* 01BDC 80AC223C 440E8000 */ mfc1 $t6, $f16
|
||||
/* 01BE0 80AC2240 00000000 */ nop
|
||||
/* 01BE4 80AC2244 A60E03B8 */ sh $t6, 0x03B8($s0) ## 000003B8
|
||||
/* 01BE8 80AC2248 85EF286C */ lh $t7, %lo(D_80AC286C)($t7)
|
||||
/* 01BEC 80AC224C 448F9000 */ mtc1 $t7, $f18 ## $f18 = -0.00
|
||||
/* 01BF0 80AC2250 00000000 */ nop
|
||||
/* 01BF4 80AC2254 468091A0 */ cvt.s.w $f6, $f18
|
||||
/* 01BF8 80AC2258 46083102 */ mul.s $f4, $f6, $f8
|
||||
/* 01BFC 80AC225C 00000000 */ nop
|
||||
/* 01C00 80AC2260 460A2402 */ mul.s $f16, $f4, $f10
|
||||
/* 01C04 80AC2264 4600848D */ trunc.w.s $f18, $f16
|
||||
/* 01C08 80AC2268 44089000 */ mfc1 $t0, $f18
|
||||
/* 01C0C 80AC226C 00000000 */ nop
|
||||
/* 01C10 80AC2270 A60803B0 */ sh $t0, 0x03B0($s0) ## 000003B0
|
||||
/* 01C14 80AC2274 8609001C */ lh $t1, 0x001C($s0) ## 0000001C
|
||||
.L80AC2278:
|
||||
/* 01C18 80AC2278 24010010 */ addiu $at, $zero, 0x0010 ## $at = 00000010
|
||||
/* 01C1C 80AC227C 5521000C */ bnel $t1, $at, .L80AC22B0
|
||||
/* 01C20 80AC2280 8E020190 */ lw $v0, 0x0190($s0) ## 00000190
|
||||
/* 01C24 80AC2284 8E190004 */ lw $t9, 0x0004($s0) ## 00000004
|
||||
/* 01C28 80AC2288 3C010100 */ lui $at, 0x0100 ## $at = 01000000
|
||||
/* 01C2C 80AC228C 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
|
||||
/* 01C30 80AC2290 03215025 */ or $t2, $t9, $at ## $t2 = 81AC0F64
|
||||
/* 01C34 80AC2294 3C010001 */ lui $at, 0x0001 ## $at = 00010000
|
||||
/* 01C38 80AC2298 AE0A0004 */ sw $t2, 0x0004($s0) ## 00000004
|
||||
/* 01C3C 80AC229C 34211E60 */ ori $at, $at, 0x1E60 ## $at = 00011E60
|
||||
/* 01C40 80AC22A0 02212821 */ addu $a1, $s1, $at
|
||||
/* 01C44 80AC22A4 0C0175E7 */ jal CollisionCheck_SetAT
|
||||
## CollisionCheck_setAT
|
||||
/* 01C48 80AC22A8 8FA6002C */ lw $a2, 0x002C($sp)
|
||||
/* 01C4C 80AC22AC 8E020190 */ lw $v0, 0x0190($s0) ## 00000190
|
||||
.L80AC22B0:
|
||||
/* 01C50 80AC22B0 3C0B80AC */ lui $t3, %hi(func_80AC0F08) ## $t3 = 80AC0000
|
||||
/* 01C54 80AC22B4 256B0F08 */ addiu $t3, $t3, %lo(func_80AC0F08) ## $t3 = 80AC0F08
|
||||
/* 01C58 80AC22B8 11620014 */ beq $t3, $v0, .L80AC230C
|
||||
/* 01C5C 80AC22BC 3C010001 */ lui $at, 0x0001 ## $at = 00010000
|
||||
/* 01C60 80AC22C0 3C0C80AC */ lui $t4, %hi(func_80AC14A8) ## $t4 = 80AC0000
|
||||
/* 01C64 80AC22C4 258C14A8 */ addiu $t4, $t4, %lo(func_80AC14A8) ## $t4 = 80AC14A8
|
||||
/* 01C68 80AC22C8 34211E60 */ ori $at, $at, 0x1E60 ## $at = 00011E60
|
||||
/* 01C6C 80AC22CC 1182000C */ beq $t4, $v0, .L80AC2300
|
||||
/* 01C70 80AC22D0 02212821 */ addu $a1, $s1, $at
|
||||
/* 01C74 80AC22D4 3C0D80AC */ lui $t5, %hi(func_80AC1458) ## $t5 = 80AC0000
|
||||
/* 01C78 80AC22D8 25AD1458 */ addiu $t5, $t5, %lo(func_80AC1458) ## $t5 = 80AC1458
|
||||
/* 01C7C 80AC22DC 11A20008 */ beq $t5, $v0, .L80AC2300
|
||||
/* 01C80 80AC22E0 3C0E80AC */ lui $t6, %hi(func_80AC17BC) ## $t6 = 80AC0000
|
||||
/* 01C84 80AC22E4 25CE17BC */ addiu $t6, $t6, %lo(func_80AC17BC) ## $t6 = 80AC17BC
|
||||
/* 01C88 80AC22E8 11C20005 */ beq $t6, $v0, .L80AC2300
|
||||
/* 01C8C 80AC22EC 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
|
||||
/* 01C90 80AC22F0 8FA6002C */ lw $a2, 0x002C($sp)
|
||||
/* 01C94 80AC22F4 0C01767D */ jal CollisionCheck_SetAC
|
||||
## CollisionCheck_setAC
|
||||
/* 01C98 80AC22F8 AFA50030 */ sw $a1, 0x0030($sp)
|
||||
/* 01C9C 80AC22FC 8FA50030 */ lw $a1, 0x0030($sp)
|
||||
.L80AC2300:
|
||||
/* 01CA0 80AC2300 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
|
||||
/* 01CA4 80AC2304 0C017713 */ jal CollisionCheck_SetOC
|
||||
## CollisionCheck_setOT
|
||||
/* 01CA8 80AC2308 8FA6002C */ lw $a2, 0x002C($sp)
|
||||
.L80AC230C:
|
||||
/* 01CAC 80AC230C 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 01CB0 80AC2310 0C00B56E */ jal Actor_SetHeight
|
||||
|
||||
/* 01CB4 80AC2314 3C054170 */ lui $a1, 0x4170 ## $a1 = 41700000
|
||||
/* 01CB8 80AC2318 860F001C */ lh $t7, 0x001C($s0) ## 0000001C
|
||||
/* 01CBC 80AC231C 55E00008 */ bnel $t7, $zero, .L80AC2340
|
||||
/* 01CC0 80AC2320 8FBF0024 */ lw $ra, 0x0024($sp)
|
||||
/* 01CC4 80AC2324 8E180134 */ lw $t8, 0x0134($s0) ## 00000134
|
||||
/* 01CC8 80AC2328 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 01CCC 80AC232C 53000004 */ beql $t8, $zero, .L80AC2340
|
||||
/* 01CD0 80AC2330 8FBF0024 */ lw $ra, 0x0024($sp)
|
||||
/* 01CD4 80AC2334 0C2B027A */ jal func_80AC09E8
|
||||
/* 01CD8 80AC2338 02202825 */ or $a1, $s1, $zero ## $a1 = 00000000
|
||||
/* 01CDC 80AC233C 8FBF0024 */ lw $ra, 0x0024($sp)
|
||||
.L80AC2340:
|
||||
/* 01CE0 80AC2340 8FB0001C */ lw $s0, 0x001C($sp)
|
||||
/* 01CE4 80AC2344 8FB10020 */ lw $s1, 0x0020($sp)
|
||||
/* 01CE8 80AC2348 03E00008 */ jr $ra
|
||||
/* 01CEC 80AC234C 27BD0058 */ addiu $sp, $sp, 0x0058 ## $sp = 00000000
|
|
@ -1,45 +0,0 @@
|
|||
glabel func_80AC0890
|
||||
/* 00230 80AC0890 27BDFFB0 */ addiu $sp, $sp, 0xFFB0 ## $sp = FFFFFFB0
|
||||
/* 00234 80AC0894 F7BA0030 */ sdc1 $f26, 0x0030($sp)
|
||||
/* 00238 80AC0898 3C013E80 */ lui $at, 0x3E80 ## $at = 3E800000
|
||||
/* 0023C 80AC089C 4481D000 */ mtc1 $at, $f26 ## $f26 = 0.25
|
||||
/* 00240 80AC08A0 F7B80028 */ sdc1 $f24, 0x0028($sp)
|
||||
/* 00244 80AC08A4 3C0141F0 */ lui $at, 0x41F0 ## $at = 41F00000
|
||||
/* 00248 80AC08A8 4481C000 */ mtc1 $at, $f24 ## $f24 = 30.00
|
||||
/* 0024C 80AC08AC F7B60020 */ sdc1 $f22, 0x0020($sp)
|
||||
/* 00250 80AC08B0 3C014120 */ lui $at, 0x4120 ## $at = 41200000
|
||||
/* 00254 80AC08B4 4481B000 */ mtc1 $at, $f22 ## $f22 = 10.00
|
||||
/* 00258 80AC08B8 F7B40018 */ sdc1 $f20, 0x0018($sp)
|
||||
/* 0025C 80AC08BC 3C01C120 */ lui $at, 0xC120 ## $at = C1200000
|
||||
/* 00260 80AC08C0 AFB30048 */ sw $s3, 0x0048($sp)
|
||||
/* 00264 80AC08C4 AFB20044 */ sw $s2, 0x0044($sp)
|
||||
/* 00268 80AC08C8 AFB10040 */ sw $s1, 0x0040($sp)
|
||||
/* 0026C 80AC08CC AFB0003C */ sw $s0, 0x003C($sp)
|
||||
/* 00270 80AC08D0 4481A000 */ mtc1 $at, $f20 ## $f20 = -10.00
|
||||
/* 00274 80AC08D4 00A09025 */ or $s2, $a1, $zero ## $s2 = 00000000
|
||||
/* 00278 80AC08D8 AFBF004C */ sw $ra, 0x004C($sp)
|
||||
/* 0027C 80AC08DC 00008025 */ or $s0, $zero, $zero ## $s0 = 00000000
|
||||
/* 00280 80AC08E0 24910024 */ addiu $s1, $a0, 0x0024 ## $s1 = 00000024
|
||||
/* 00284 80AC08E4 2413000A */ addiu $s3, $zero, 0x000A ## $s3 = 0000000A
|
||||
/* 00288 80AC08E8 4406A000 */ mfc1 $a2, $f20
|
||||
.L80AC08EC:
|
||||
/* 0028C 80AC08EC 4407B000 */ mfc1 $a3, $f22
|
||||
/* 00290 80AC08F0 02402025 */ or $a0, $s2, $zero ## $a0 = 00000000
|
||||
/* 00294 80AC08F4 02202825 */ or $a1, $s1, $zero ## $a1 = 00000024
|
||||
/* 00298 80AC08F8 E7B80010 */ swc1 $f24, 0x0010($sp)
|
||||
/* 0029C 80AC08FC 0C00A4F9 */ jal EffectSsBubble_Spawn
|
||||
/* 002A0 80AC0900 E7BA0014 */ swc1 $f26, 0x0014($sp)
|
||||
/* 002A4 80AC0904 26100001 */ addiu $s0, $s0, 0x0001 ## $s0 = 00000001
|
||||
/* 002A8 80AC0908 5613FFF8 */ bnel $s0, $s3, .L80AC08EC
|
||||
/* 002AC 80AC090C 4406A000 */ mfc1 $a2, $f20
|
||||
/* 002B0 80AC0910 8FBF004C */ lw $ra, 0x004C($sp)
|
||||
/* 002B4 80AC0914 D7B40018 */ ldc1 $f20, 0x0018($sp)
|
||||
/* 002B8 80AC0918 D7B60020 */ ldc1 $f22, 0x0020($sp)
|
||||
/* 002BC 80AC091C D7B80028 */ ldc1 $f24, 0x0028($sp)
|
||||
/* 002C0 80AC0920 D7BA0030 */ ldc1 $f26, 0x0030($sp)
|
||||
/* 002C4 80AC0924 8FB0003C */ lw $s0, 0x003C($sp)
|
||||
/* 002C8 80AC0928 8FB10040 */ lw $s1, 0x0040($sp)
|
||||
/* 002CC 80AC092C 8FB20044 */ lw $s2, 0x0044($sp)
|
||||
/* 002D0 80AC0930 8FB30048 */ lw $s3, 0x0048($sp)
|
||||
/* 002D4 80AC0934 03E00008 */ jr $ra
|
||||
/* 002D8 80AC0938 27BD0050 */ addiu $sp, $sp, 0x0050 ## $sp = 00000000
|
|
@ -1,27 +0,0 @@
|
|||
glabel func_80AC093C
|
||||
/* 002DC 80AC093C 27BDFFD8 */ addiu $sp, $sp, 0xFFD8 ## $sp = FFFFFFD8
|
||||
/* 002E0 80AC0940 AFA5002C */ sw $a1, 0x002C($sp)
|
||||
/* 002E4 80AC0944 00802825 */ or $a1, $a0, $zero ## $a1 = 00000000
|
||||
/* 002E8 80AC0948 AFA40028 */ sw $a0, 0x0028($sp)
|
||||
/* 002EC 80AC094C AFA60030 */ sw $a2, 0x0030($sp)
|
||||
/* 002F0 80AC0950 87B90032 */ lh $t9, 0x0032($sp)
|
||||
/* 002F4 80AC0954 AFA70034 */ sw $a3, 0x0034($sp)
|
||||
/* 002F8 80AC0958 00E02025 */ or $a0, $a3, $zero ## $a0 = 00000000
|
||||
/* 002FC 80AC095C 3C0E80AC */ lui $t6, %hi(D_80AC28B4) ## $t6 = 80AC0000
|
||||
/* 00300 80AC0960 3C0F80AC */ lui $t7, %hi(D_80AC28B8) ## $t7 = 80AC0000
|
||||
/* 00304 80AC0964 AFBF0024 */ sw $ra, 0x0024($sp)
|
||||
/* 00308 80AC0968 25EF28B8 */ addiu $t7, $t7, %lo(D_80AC28B8) ## $t7 = 80AC28B8
|
||||
/* 0030C 80AC096C 25CE28B4 */ addiu $t6, $t6, %lo(D_80AC28B4) ## $t6 = 80AC28B4
|
||||
/* 00310 80AC0970 3C0780AC */ lui $a3, %hi(D_80AC28A8) ## $a3 = 80AC0000
|
||||
/* 00314 80AC0974 24180190 */ addiu $t8, $zero, 0x0190 ## $t8 = 00000190
|
||||
/* 00318 80AC0978 8FA6002C */ lw $a2, 0x002C($sp)
|
||||
/* 0031C 80AC097C AFB80018 */ sw $t8, 0x0018($sp)
|
||||
/* 00320 80AC0980 24E728A8 */ addiu $a3, $a3, %lo(D_80AC28A8) ## $a3 = 80AC28A8
|
||||
/* 00324 80AC0984 AFAE0010 */ sw $t6, 0x0010($sp)
|
||||
/* 00328 80AC0988 AFAF0014 */ sw $t7, 0x0014($sp)
|
||||
/* 0032C 80AC098C 0C00A0A7 */ jal func_8002829C
|
||||
/* 00330 80AC0990 AFB9001C */ sw $t9, 0x001C($sp)
|
||||
/* 00334 80AC0994 8FBF0024 */ lw $ra, 0x0024($sp)
|
||||
/* 00338 80AC0998 27BD0028 */ addiu $sp, $sp, 0x0028 ## $sp = 00000000
|
||||
/* 0033C 80AC099C 03E00008 */ jr $ra
|
||||
/* 00340 80AC09A0 00000000 */ nop
|
|
@ -1,18 +0,0 @@
|
|||
glabel func_80AC09A4
|
||||
/* 00344 80AC09A4 27BDFFE0 */ addiu $sp, $sp, 0xFFE0 ## $sp = FFFFFFE0
|
||||
/* 00348 80AC09A8 AFA40020 */ sw $a0, 0x0020($sp)
|
||||
/* 0034C 80AC09AC AFA50024 */ sw $a1, 0x0024($sp)
|
||||
/* 00350 80AC09B0 00A02025 */ or $a0, $a1, $zero ## $a0 = 00000000
|
||||
/* 00354 80AC09B4 8FA50020 */ lw $a1, 0x0020($sp)
|
||||
/* 00358 80AC09B8 AFBF001C */ sw $ra, 0x001C($sp)
|
||||
/* 0035C 80AC09BC 240E0514 */ addiu $t6, $zero, 0x0514 ## $t6 = 00000514
|
||||
/* 00360 80AC09C0 AFAE0014 */ sw $t6, 0x0014($sp)
|
||||
/* 00364 80AC09C4 AFA00010 */ sw $zero, 0x0010($sp)
|
||||
/* 00368 80AC09C8 00003025 */ or $a2, $zero, $zero ## $a2 = 00000000
|
||||
/* 0036C 80AC09CC 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
|
||||
/* 00370 80AC09D0 0C00A527 */ jal EffectSsGSplash_Spawn
|
||||
/* 00374 80AC09D4 24A50008 */ addiu $a1, $a1, 0x0008 ## $a1 = 00000008
|
||||
/* 00378 80AC09D8 8FBF001C */ lw $ra, 0x001C($sp)
|
||||
/* 0037C 80AC09DC 27BD0020 */ addiu $sp, $sp, 0x0020 ## $sp = 00000000
|
||||
/* 00380 80AC09E0 03E00008 */ jr $ra
|
||||
/* 00384 80AC09E4 00000000 */ nop
|
|
@ -1,43 +0,0 @@
|
|||
glabel func_80AC09E8
|
||||
/* 00388 80AC09E8 27BDFFD0 */ addiu $sp, $sp, 0xFFD0 ## $sp = FFFFFFD0
|
||||
/* 0038C 80AC09EC AFBF001C */ sw $ra, 0x001C($sp)
|
||||
/* 00390 80AC09F0 AFA50034 */ sw $a1, 0x0034($sp)
|
||||
/* 00394 80AC09F4 C4840024 */ lwc1 $f4, 0x0024($a0) ## 00000024
|
||||
/* 00398 80AC09F8 3C0F0001 */ lui $t7, 0x0001 ## $t7 = 00010000
|
||||
/* 0039C 80AC09FC 01E57821 */ addu $t7, $t7, $a1
|
||||
/* 003A0 80AC0A00 E7A40024 */ swc1 $f4, 0x0024($sp)
|
||||
/* 003A4 80AC0A04 C486000C */ lwc1 $f6, 0x000C($a0) ## 0000000C
|
||||
/* 003A8 80AC0A08 24010007 */ addiu $at, $zero, 0x0007 ## $at = 00000007
|
||||
/* 003AC 80AC0A0C E7A60028 */ swc1 $f6, 0x0028($sp)
|
||||
/* 003B0 80AC0A10 C488002C */ lwc1 $f8, 0x002C($a0) ## 0000002C
|
||||
/* 003B4 80AC0A14 E7A8002C */ swc1 $f8, 0x002C($sp)
|
||||
/* 003B8 80AC0A18 8DEF1DE4 */ lw $t7, 0x1DE4($t7) ## 00011DE4
|
||||
/* 003BC 80AC0A1C 01E1001B */ divu $zero, $t7, $at
|
||||
/* 003C0 80AC0A20 0000C010 */ mfhi $t8
|
||||
/* 003C4 80AC0A24 57000015 */ bnel $t8, $zero, .L80AC0A7C
|
||||
/* 003C8 80AC0A28 8FBF001C */ lw $ra, 0x001C($sp)
|
||||
/* 003CC 80AC0A2C 8C880190 */ lw $t0, 0x0190($a0) ## 00000190
|
||||
/* 003D0 80AC0A30 3C1980AC */ lui $t9, %hi(func_80AC12D8) ## $t9 = 80AC0000
|
||||
/* 003D4 80AC0A34 273912D8 */ addiu $t9, $t9, %lo(func_80AC12D8) ## $t9 = 80AC12D8
|
||||
/* 003D8 80AC0A38 1728000A */ bne $t9, $t0, .L80AC0A64
|
||||
/* 003DC 80AC0A3C 27A50024 */ addiu $a1, $sp, 0x0024 ## $a1 = FFFFFFF4
|
||||
/* 003E0 80AC0A40 C48A0028 */ lwc1 $f10, 0x0028($a0) ## 00000028
|
||||
/* 003E4 80AC0A44 C490000C */ lwc1 $f16, 0x000C($a0) ## 0000000C
|
||||
/* 003E8 80AC0A48 3C014248 */ lui $at, 0x4248 ## $at = 42480000
|
||||
/* 003EC 80AC0A4C 44812000 */ mtc1 $at, $f4 ## $f4 = 50.00
|
||||
/* 003F0 80AC0A50 46105481 */ sub.s $f18, $f10, $f16
|
||||
/* 003F4 80AC0A54 4604903C */ c.lt.s $f18, $f4
|
||||
/* 003F8 80AC0A58 00000000 */ nop
|
||||
/* 003FC 80AC0A5C 45020007 */ bc1fl .L80AC0A7C
|
||||
/* 00400 80AC0A60 8FBF001C */ lw $ra, 0x001C($sp)
|
||||
.L80AC0A64:
|
||||
/* 00404 80AC0A64 8FA40034 */ lw $a0, 0x0034($sp)
|
||||
/* 00408 80AC0A68 240600FA */ addiu $a2, $zero, 0x00FA ## $a2 = 000000FA
|
||||
/* 0040C 80AC0A6C 2407028A */ addiu $a3, $zero, 0x028A ## $a3 = 0000028A
|
||||
/* 00410 80AC0A70 0C00A511 */ jal EffectSsGRipple_Spawn
|
||||
/* 00414 80AC0A74 AFA00010 */ sw $zero, 0x0010($sp)
|
||||
/* 00418 80AC0A78 8FBF001C */ lw $ra, 0x001C($sp)
|
||||
.L80AC0A7C:
|
||||
/* 0041C 80AC0A7C 27BD0030 */ addiu $sp, $sp, 0x0030 ## $sp = 00000000
|
||||
/* 00420 80AC0A80 03E00008 */ jr $ra
|
||||
/* 00424 80AC0A84 00000000 */ nop
|
|
@ -1,12 +0,0 @@
|
|||
glabel func_80AC0A88
|
||||
/* 00428 80AC0A88 8C8E0004 */ lw $t6, 0x0004($a0) ## 00000004
|
||||
/* 0042C 80AC0A8C C484000C */ lwc1 $f4, 0x000C($a0) ## 0000000C
|
||||
/* 00430 80AC0A90 2401FFFE */ addiu $at, $zero, 0xFFFE ## $at = FFFFFFFE
|
||||
/* 00434 80AC0A94 3C1880AC */ lui $t8, %hi(func_80AC0F08) ## $t8 = 80AC0000
|
||||
/* 00438 80AC0A98 27180F08 */ addiu $t8, $t8, %lo(func_80AC0F08) ## $t8 = 80AC0F08
|
||||
/* 0043C 80AC0A9C 01C17824 */ and $t7, $t6, $at
|
||||
/* 00440 80AC0AA0 AC800134 */ sw $zero, 0x0134($a0) ## 00000134
|
||||
/* 00444 80AC0AA4 AC8F0004 */ sw $t7, 0x0004($a0) ## 00000004
|
||||
/* 00448 80AC0AA8 AC980190 */ sw $t8, 0x0190($a0) ## 00000190
|
||||
/* 0044C 80AC0AAC 03E00008 */ jr $ra
|
||||
/* 00450 80AC0AB0 E4840028 */ swc1 $f4, 0x0028($a0) ## 00000028
|
|
@ -1,29 +0,0 @@
|
|||
glabel func_80AC0AB4
|
||||
/* 00454 80AC0AB4 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
|
||||
/* 00458 80AC0AB8 AFA5001C */ sw $a1, 0x001C($sp)
|
||||
/* 0045C 80AC0ABC AFBF0014 */ sw $ra, 0x0014($sp)
|
||||
/* 00460 80AC0AC0 8C980004 */ lw $t8, 0x0004($a0) ## 00000004
|
||||
/* 00464 80AC0AC4 848F008A */ lh $t7, 0x008A($a0) ## 0000008A
|
||||
/* 00468 80AC0AC8 3C0E80AC */ lui $t6, %hi(EnOkuta_Draw) ## $t6 = 80AC0000
|
||||
/* 0046C 80AC0ACC 25CE26D4 */ addiu $t6, $t6, %lo(EnOkuta_Draw) ## $t6 = 80AC26D4
|
||||
/* 00470 80AC0AD0 37190001 */ ori $t9, $t8, 0x0001 ## $t9 = 00000001
|
||||
/* 00474 80AC0AD4 00803025 */ or $a2, $a0, $zero ## $a2 = 00000000
|
||||
/* 00478 80AC0AD8 AC8E0134 */ sw $t6, 0x0134($a0) ## 00000134
|
||||
/* 0047C 80AC0ADC AC990004 */ sw $t9, 0x0004($a0) ## 00000004
|
||||
/* 00480 80AC0AE0 3C050600 */ lui $a1, 0x0600 ## $a1 = 06000000
|
||||
/* 00484 80AC0AE4 A48F00B6 */ sh $t7, 0x00B6($a0) ## 000000B6
|
||||
/* 00488 80AC0AE8 AFA60018 */ sw $a2, 0x0018($sp)
|
||||
/* 0048C 80AC0AEC 24A53C64 */ addiu $a1, $a1, 0x3C64 ## $a1 = 06003C64
|
||||
/* 00490 80AC0AF0 0C02947A */ jal SkelAnime_ChangeAnimDefaultStop
|
||||
/* 00494 80AC0AF4 2484014C */ addiu $a0, $a0, 0x014C ## $a0 = 0000014C
|
||||
/* 00498 80AC0AF8 8FA40018 */ lw $a0, 0x0018($sp)
|
||||
/* 0049C 80AC0AFC 0C2B0224 */ jal func_80AC0890
|
||||
/* 004A0 80AC0B00 8FA5001C */ lw $a1, 0x001C($sp)
|
||||
/* 004A4 80AC0B04 8FA60018 */ lw $a2, 0x0018($sp)
|
||||
/* 004A8 80AC0B08 3C0880AC */ lui $t0, %hi(func_80AC0F64) ## $t0 = 80AC0000
|
||||
/* 004AC 80AC0B0C 25080F64 */ addiu $t0, $t0, %lo(func_80AC0F64) ## $t0 = 80AC0F64
|
||||
/* 004B0 80AC0B10 ACC80190 */ sw $t0, 0x0190($a2) ## 00000190
|
||||
/* 004B4 80AC0B14 8FBF0014 */ lw $ra, 0x0014($sp)
|
||||
/* 004B8 80AC0B18 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
|
||||
/* 004BC 80AC0B1C 03E00008 */ jr $ra
|
||||
/* 004C0 80AC0B20 00000000 */ nop
|
|
@ -1,16 +0,0 @@
|
|||
glabel func_80AC0B24
|
||||
/* 004C4 80AC0B24 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
|
||||
/* 004C8 80AC0B28 AFBF0014 */ sw $ra, 0x0014($sp)
|
||||
/* 004CC 80AC0B2C AFA40018 */ sw $a0, 0x0018($sp)
|
||||
/* 004D0 80AC0B30 3C050600 */ lui $a1, 0x0600 ## $a1 = 06000000
|
||||
/* 004D4 80AC0B34 24A50AC0 */ addiu $a1, $a1, 0x0AC0 ## $a1 = 06000AC0
|
||||
/* 004D8 80AC0B38 0C02947A */ jal SkelAnime_ChangeAnimDefaultStop
|
||||
/* 004DC 80AC0B3C 2484014C */ addiu $a0, $a0, 0x014C ## $a0 = 0000014C
|
||||
/* 004E0 80AC0B40 8FAF0018 */ lw $t7, 0x0018($sp)
|
||||
/* 004E4 80AC0B44 3C0E80AC */ lui $t6, %hi(func_80AC10A8) ## $t6 = 80AC0000
|
||||
/* 004E8 80AC0B48 25CE10A8 */ addiu $t6, $t6, %lo(func_80AC10A8) ## $t6 = 80AC10A8
|
||||
/* 004EC 80AC0B4C ADEE0190 */ sw $t6, 0x0190($t7) ## 00000190
|
||||
/* 004F0 80AC0B50 8FBF0014 */ lw $ra, 0x0014($sp)
|
||||
/* 004F4 80AC0B54 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
|
||||
/* 004F8 80AC0B58 03E00008 */ jr $ra
|
||||
/* 004FC 80AC0B5C 00000000 */ nop
|
|
@ -1,27 +0,0 @@
|
|||
glabel func_80AC0B60
|
||||
/* 00500 80AC0B60 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
|
||||
/* 00504 80AC0B64 AFBF0014 */ sw $ra, 0x0014($sp)
|
||||
/* 00508 80AC0B68 00803025 */ or $a2, $a0, $zero ## $a2 = 00000000
|
||||
/* 0050C 80AC0B6C 3C050600 */ lui $a1, 0x0600 ## $a1 = 06000000
|
||||
/* 00510 80AC0B70 24A50DDC */ addiu $a1, $a1, 0x0DDC ## $a1 = 06000DDC
|
||||
/* 00514 80AC0B74 AFA60018 */ sw $a2, 0x0018($sp)
|
||||
/* 00518 80AC0B78 0C0294BE */ jal SkelAnime_ChangeAnimDefaultRepeat
|
||||
/* 0051C 80AC0B7C 2484014C */ addiu $a0, $a0, 0x014C ## $a0 = 0000014C
|
||||
/* 00520 80AC0B80 8FA60018 */ lw $a2, 0x0018($sp)
|
||||
/* 00524 80AC0B84 3C0E80AC */ lui $t6, %hi(func_80AC12D8) ## $t6 = 80AC0000
|
||||
/* 00528 80AC0B88 25CE12D8 */ addiu $t6, $t6, %lo(func_80AC12D8) ## $t6 = 80AC12D8
|
||||
/* 0052C 80AC0B8C 8CCF0190 */ lw $t7, 0x0190($a2) ## 00000190
|
||||
/* 00530 80AC0B90 3C1980AC */ lui $t9, %hi(func_80AC11A8) ## $t9 = 80AC0000
|
||||
/* 00534 80AC0B94 24180002 */ addiu $t8, $zero, 0x0002 ## $t8 = 00000002
|
||||
/* 00538 80AC0B98 15CF0003 */ bne $t6, $t7, .L80AC0BA8
|
||||
/* 0053C 80AC0B9C 273911A8 */ addiu $t9, $t9, %lo(func_80AC11A8) ## $t9 = 80AC11A8
|
||||
/* 00540 80AC0BA0 10000002 */ beq $zero, $zero, .L80AC0BAC
|
||||
/* 00544 80AC0BA4 A4D80194 */ sh $t8, 0x0194($a2) ## 00000194
|
||||
.L80AC0BA8:
|
||||
/* 00548 80AC0BA8 A4C00194 */ sh $zero, 0x0194($a2) ## 00000194
|
||||
.L80AC0BAC:
|
||||
/* 0054C 80AC0BAC ACD90190 */ sw $t9, 0x0190($a2) ## 00000190
|
||||
/* 00550 80AC0BB0 8FBF0014 */ lw $ra, 0x0014($sp)
|
||||
/* 00554 80AC0BB4 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
|
||||
/* 00558 80AC0BB8 03E00008 */ jr $ra
|
||||
/* 0055C 80AC0BBC 00000000 */ nop
|
|
@ -1,66 +0,0 @@
|
|||
glabel func_80AC0BC0
|
||||
/* 00560 80AC0BC0 27BDFFD8 */ addiu $sp, $sp, 0xFFD8 ## $sp = FFFFFFD8
|
||||
/* 00564 80AC0BC4 AFB00018 */ sw $s0, 0x0018($sp)
|
||||
/* 00568 80AC0BC8 AFA5002C */ sw $a1, 0x002C($sp)
|
||||
/* 0056C 80AC0BCC 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
|
||||
/* 00570 80AC0BD0 AFBF001C */ sw $ra, 0x001C($sp)
|
||||
/* 00574 80AC0BD4 3C050600 */ lui $a1, 0x0600 ## $a1 = 06000000
|
||||
/* 00578 80AC0BD8 24A50344 */ addiu $a1, $a1, 0x0344 ## $a1 = 06000344
|
||||
/* 0057C 80AC0BDC 0C02947A */ jal SkelAnime_ChangeAnimDefaultStop
|
||||
/* 00580 80AC0BE0 2484014C */ addiu $a0, $a0, 0x014C ## $a0 = 0000014C
|
||||
/* 00584 80AC0BE4 8E0E0190 */ lw $t6, 0x0190($s0) ## 00000190
|
||||
/* 00588 80AC0BE8 3C0280AC */ lui $v0, %hi(func_80AC12D8) ## $v0 = 80AC0000
|
||||
/* 0058C 80AC0BEC 244212D8 */ addiu $v0, $v0, %lo(func_80AC12D8) ## $v0 = 80AC12D8
|
||||
/* 00590 80AC0BF0 104E0003 */ beq $v0, $t6, .L80AC0C00
|
||||
/* 00594 80AC0BF4 3C014120 */ lui $at, 0x4120 ## $at = 41200000
|
||||
/* 00598 80AC0BF8 860F0196 */ lh $t7, 0x0196($s0) ## 00000196
|
||||
/* 0059C 80AC0BFC A60F0194 */ sh $t7, 0x0194($s0) ## 00000194
|
||||
.L80AC0C00:
|
||||
/* 005A0 80AC0C00 44811000 */ mtc1 $at, $f2 ## $f2 = 10.00
|
||||
/* 005A4 80AC0C04 3C0141A0 */ lui $at, 0x41A0 ## $at = 41A00000
|
||||
/* 005A8 80AC0C08 44813000 */ mtc1 $at, $f6 ## $f6 = 20.00
|
||||
/* 005AC 80AC0C0C C6040094 */ lwc1 $f4, 0x0094($s0) ## 00000094
|
||||
/* 005B0 80AC0C10 3C014248 */ lui $at, 0x4248 ## $at = 42480000
|
||||
/* 005B4 80AC0C14 44815000 */ mtc1 $at, $f10 ## $f10 = 50.00
|
||||
/* 005B8 80AC0C18 46062000 */ add.s $f0, $f4, $f6
|
||||
/* 005BC 80AC0C1C 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 005C0 80AC0C20 4602003C */ c.lt.s $f0, $f2
|
||||
/* 005C4 80AC0C24 E6000360 */ swc1 $f0, 0x0360($s0) ## 00000360
|
||||
/* 005C8 80AC0C28 45020004 */ bc1fl .L80AC0C3C
|
||||
/* 005CC 80AC0C2C C6080360 */ lwc1 $f8, 0x0360($s0) ## 00000360
|
||||
/* 005D0 80AC0C30 10000003 */ beq $zero, $zero, .L80AC0C40
|
||||
/* 005D4 80AC0C34 E6020360 */ swc1 $f2, 0x0360($s0) ## 00000360
|
||||
/* 005D8 80AC0C38 C6080360 */ lwc1 $f8, 0x0360($s0) ## 00000360
|
||||
.L80AC0C3C:
|
||||
/* 005DC 80AC0C3C E6080360 */ swc1 $f8, 0x0360($s0) ## 00000360
|
||||
.L80AC0C40:
|
||||
/* 005E0 80AC0C40 C6000360 */ lwc1 $f0, 0x0360($s0) ## 00000360
|
||||
/* 005E4 80AC0C44 8FA5002C */ lw $a1, 0x002C($sp)
|
||||
/* 005E8 80AC0C48 4600503C */ c.lt.s $f10, $f0
|
||||
/* 005EC 80AC0C4C 00000000 */ nop
|
||||
/* 005F0 80AC0C50 45020006 */ bc1fl .L80AC0C6C
|
||||
/* 005F4 80AC0C54 3C014248 */ lui $at, 0x4248 ## $at = 42480000
|
||||
/* 005F8 80AC0C58 0C2B0269 */ jal func_80AC09A4
|
||||
/* 005FC 80AC0C5C AFA20024 */ sw $v0, 0x0024($sp)
|
||||
/* 00600 80AC0C60 8FA20024 */ lw $v0, 0x0024($sp)
|
||||
/* 00604 80AC0C64 C6000360 */ lwc1 $f0, 0x0360($s0) ## 00000360
|
||||
/* 00608 80AC0C68 3C014248 */ lui $at, 0x4248 ## $at = 42480000
|
||||
.L80AC0C6C:
|
||||
/* 0060C 80AC0C6C 44818000 */ mtc1 $at, $f16 ## $f16 = 50.00
|
||||
/* 00610 80AC0C70 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 00614 80AC0C74 240538C2 */ addiu $a1, $zero, 0x38C2 ## $a1 = 000038C2
|
||||
/* 00618 80AC0C78 4600803C */ c.lt.s $f16, $f0
|
||||
/* 0061C 80AC0C7C 00000000 */ nop
|
||||
/* 00620 80AC0C80 45020005 */ bc1fl .L80AC0C98
|
||||
/* 00624 80AC0C84 AE020190 */ sw $v0, 0x0190($s0) ## 00000190
|
||||
/* 00628 80AC0C88 0C00BE0A */ jal Audio_PlayActorSound2
|
||||
|
||||
/* 0062C 80AC0C8C AFA20024 */ sw $v0, 0x0024($sp)
|
||||
/* 00630 80AC0C90 8FA20024 */ lw $v0, 0x0024($sp)
|
||||
/* 00634 80AC0C94 AE020190 */ sw $v0, 0x0190($s0) ## 00000190
|
||||
.L80AC0C98:
|
||||
/* 00638 80AC0C98 8FBF001C */ lw $ra, 0x001C($sp)
|
||||
/* 0063C 80AC0C9C 8FB00018 */ lw $s0, 0x0018($sp)
|
||||
/* 00640 80AC0CA0 27BD0028 */ addiu $sp, $sp, 0x0028 ## $sp = 00000000
|
||||
/* 00644 80AC0CA4 03E00008 */ jr $ra
|
||||
/* 00648 80AC0CA8 00000000 */ nop
|
|
@ -1,37 +0,0 @@
|
|||
glabel func_80AC0CAC
|
||||
/* 0064C 80AC0CAC 27BDFFD8 */ addiu $sp, $sp, 0xFFD8 ## $sp = FFFFFFD8
|
||||
/* 00650 80AC0CB0 AFB00020 */ sw $s0, 0x0020($sp)
|
||||
/* 00654 80AC0CB4 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
|
||||
/* 00658 80AC0CB8 AFBF0024 */ sw $ra, 0x0024($sp)
|
||||
/* 0065C 80AC0CBC 3C050600 */ lui $a1, 0x0600 ## $a1 = 06000000
|
||||
/* 00660 80AC0CC0 24A53910 */ addiu $a1, $a1, 0x3910 ## $a1 = 06003910
|
||||
/* 00664 80AC0CC4 2484014C */ addiu $a0, $a0, 0x014C ## $a0 = 0000014C
|
||||
/* 00668 80AC0CC8 0C029490 */ jal SkelAnime_ChangeAnimTransitionStop
|
||||
/* 0066C 80AC0CCC 3C06C0A0 */ lui $a2, 0xC0A0 ## $a2 = C0A00000
|
||||
/* 00670 80AC0CD0 240E000B */ addiu $t6, $zero, 0x000B ## $t6 = 0000000B
|
||||
/* 00674 80AC0CD4 AFAE0010 */ sw $t6, 0x0010($sp)
|
||||
/* 00678 80AC0CD8 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 0067C 80AC0CDC 24054000 */ addiu $a1, $zero, 0x4000 ## $a1 = 00004000
|
||||
/* 00680 80AC0CE0 240600FF */ addiu $a2, $zero, 0x00FF ## $a2 = 000000FF
|
||||
/* 00684 80AC0CE4 0C00D09B */ jal func_8003426C
|
||||
/* 00688 80AC0CE8 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
|
||||
/* 0068C 80AC0CEC 920F0381 */ lbu $t7, 0x0381($s0) ## 00000381
|
||||
/* 00690 80AC0CF0 3C053C23 */ lui $a1, 0x3C23 ## $a1 = 3C230000
|
||||
/* 00694 80AC0CF4 34A5D70A */ ori $a1, $a1, 0xD70A ## $a1 = 3C23D70A
|
||||
/* 00698 80AC0CF8 31F8FFFD */ andi $t8, $t7, 0xFFFD ## $t8 = 00000000
|
||||
/* 0069C 80AC0CFC A2180381 */ sb $t8, 0x0381($s0) ## 00000381
|
||||
/* 006A0 80AC0D00 0C00B58B */ jal Actor_SetScale
|
||||
|
||||
/* 006A4 80AC0D04 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 006A8 80AC0D08 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 006AC 80AC0D0C 0C00BE0A */ jal Audio_PlayActorSound2
|
||||
|
||||
/* 006B0 80AC0D10 240538C6 */ addiu $a1, $zero, 0x38C6 ## $a1 = 000038C6
|
||||
/* 006B4 80AC0D14 3C1980AC */ lui $t9, %hi(func_80AC1458) ## $t9 = 80AC0000
|
||||
/* 006B8 80AC0D18 27391458 */ addiu $t9, $t9, %lo(func_80AC1458) ## $t9 = 80AC1458
|
||||
/* 006BC 80AC0D1C AE190190 */ sw $t9, 0x0190($s0) ## 00000190
|
||||
/* 006C0 80AC0D20 8FBF0024 */ lw $ra, 0x0024($sp)
|
||||
/* 006C4 80AC0D24 8FB00020 */ lw $s0, 0x0020($sp)
|
||||
/* 006C8 80AC0D28 27BD0028 */ addiu $sp, $sp, 0x0028 ## $sp = 00000000
|
||||
/* 006CC 80AC0D2C 03E00008 */ jr $ra
|
||||
/* 006D0 80AC0D30 00000000 */ nop
|
|
@ -1,19 +0,0 @@
|
|||
glabel func_80AC0D34
|
||||
/* 006D4 80AC0D34 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
|
||||
/* 006D8 80AC0D38 AFBF0014 */ sw $ra, 0x0014($sp)
|
||||
/* 006DC 80AC0D3C 00803825 */ or $a3, $a0, $zero ## $a3 = 00000000
|
||||
/* 006E0 80AC0D40 3C050600 */ lui $a1, 0x0600 ## $a1 = 06000000
|
||||
/* 006E4 80AC0D44 24A508FC */ addiu $a1, $a1, 0x08FC ## $a1 = 060008FC
|
||||
/* 006E8 80AC0D48 AFA70018 */ sw $a3, 0x0018($sp)
|
||||
/* 006EC 80AC0D4C 2484014C */ addiu $a0, $a0, 0x014C ## $a0 = 0000014C
|
||||
/* 006F0 80AC0D50 0C029490 */ jal SkelAnime_ChangeAnimTransitionStop
|
||||
/* 006F4 80AC0D54 3C06C040 */ lui $a2, 0xC040 ## $a2 = C0400000
|
||||
/* 006F8 80AC0D58 8FA70018 */ lw $a3, 0x0018($sp)
|
||||
/* 006FC 80AC0D5C 3C0E80AC */ lui $t6, %hi(func_80AC14A8) ## $t6 = 80AC0000
|
||||
/* 00700 80AC0D60 25CE14A8 */ addiu $t6, $t6, %lo(func_80AC14A8) ## $t6 = 80AC14A8
|
||||
/* 00704 80AC0D64 A4E00194 */ sh $zero, 0x0194($a3) ## 00000194
|
||||
/* 00708 80AC0D68 ACEE0190 */ sw $t6, 0x0190($a3) ## 00000190
|
||||
/* 0070C 80AC0D6C 8FBF0014 */ lw $ra, 0x0014($sp)
|
||||
/* 00710 80AC0D70 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
|
||||
/* 00714 80AC0D74 03E00008 */ jr $ra
|
||||
/* 00718 80AC0D78 00000000 */ nop
|
|
@ -1,20 +0,0 @@
|
|||
glabel func_80AC0D7C
|
||||
/* 0071C 80AC0D7C 27BDFFE0 */ addiu $sp, $sp, 0xFFE0 ## $sp = FFFFFFE0
|
||||
/* 00720 80AC0D80 AFBF001C */ sw $ra, 0x001C($sp)
|
||||
/* 00724 80AC0D84 240E0050 */ addiu $t6, $zero, 0x0050 ## $t6 = 00000050
|
||||
/* 00728 80AC0D88 A48E0194 */ sh $t6, 0x0194($a0) ## 00000194
|
||||
/* 0072C 80AC0D8C 240F0050 */ addiu $t7, $zero, 0x0050 ## $t7 = 00000050
|
||||
/* 00730 80AC0D90 AFAF0010 */ sw $t7, 0x0010($sp)
|
||||
/* 00734 80AC0D94 AFA40020 */ sw $a0, 0x0020($sp)
|
||||
/* 00738 80AC0D98 00002825 */ or $a1, $zero, $zero ## $a1 = 00000000
|
||||
/* 0073C 80AC0D9C 240600FF */ addiu $a2, $zero, 0x00FF ## $a2 = 000000FF
|
||||
/* 00740 80AC0DA0 0C00D09B */ jal func_8003426C
|
||||
/* 00744 80AC0DA4 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
|
||||
/* 00748 80AC0DA8 8FA40020 */ lw $a0, 0x0020($sp)
|
||||
/* 0074C 80AC0DAC 3C1880AC */ lui $t8, %hi(func_80AC17BC) ## $t8 = 80AC0000
|
||||
/* 00750 80AC0DB0 271817BC */ addiu $t8, $t8, %lo(func_80AC17BC) ## $t8 = 80AC17BC
|
||||
/* 00754 80AC0DB4 AC980190 */ sw $t8, 0x0190($a0) ## 00000190
|
||||
/* 00758 80AC0DB8 8FBF001C */ lw $ra, 0x001C($sp)
|
||||
/* 0075C 80AC0DBC 27BD0020 */ addiu $sp, $sp, 0x0020 ## $sp = 00000000
|
||||
/* 00760 80AC0DC0 03E00008 */ jr $ra
|
||||
/* 00764 80AC0DC4 00000000 */ nop
|
|
@ -1,86 +0,0 @@
|
|||
glabel func_80AC0DC8
|
||||
/* 00768 80AC0DC8 27BDFFA8 */ addiu $sp, $sp, 0xFFA8 ## $sp = FFFFFFA8
|
||||
/* 0076C 80AC0DCC AFB00030 */ sw $s0, 0x0030($sp)
|
||||
/* 00770 80AC0DD0 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
|
||||
/* 00774 80AC0DD4 AFBF0034 */ sw $ra, 0x0034($sp)
|
||||
/* 00778 80AC0DD8 AFA5005C */ sw $a1, 0x005C($sp)
|
||||
/* 0077C 80AC0DDC 0C01DE1C */ jal Math_Sins
|
||||
## sins?
|
||||
/* 00780 80AC0DE0 848400B6 */ lh $a0, 0x00B6($a0) ## 000000B6
|
||||
/* 00784 80AC0DE4 E7A0003C */ swc1 $f0, 0x003C($sp)
|
||||
/* 00788 80AC0DE8 0C01DE0D */ jal Math_Coss
|
||||
## coss?
|
||||
/* 0078C 80AC0DEC 860400B6 */ lh $a0, 0x00B6($s0) ## 000000B6
|
||||
/* 00790 80AC0DF0 3C0141C8 */ lui $at, 0x41C8 ## $at = 41C80000
|
||||
/* 00794 80AC0DF4 44816000 */ mtc1 $at, $f12 ## $f12 = 25.00
|
||||
/* 00798 80AC0DF8 C7A6003C */ lwc1 $f6, 0x003C($sp)
|
||||
/* 0079C 80AC0DFC C6040024 */ lwc1 $f4, 0x0024($s0) ## 00000024
|
||||
/* 007A0 80AC0E00 3C0140C0 */ lui $at, 0x40C0 ## $at = 40C00000
|
||||
/* 007A4 80AC0E04 46066202 */ mul.s $f8, $f12, $f6
|
||||
/* 007A8 80AC0E08 44819000 */ mtc1 $at, $f18 ## $f18 = 6.00
|
||||
/* 007AC 80AC0E0C 8FA5005C */ lw $a1, 0x005C($sp)
|
||||
/* 007B0 80AC0E10 24190010 */ addiu $t9, $zero, 0x0010 ## $t9 = 00000010
|
||||
/* 007B4 80AC0E14 2406000E */ addiu $a2, $zero, 0x000E ## $a2 = 0000000E
|
||||
/* 007B8 80AC0E18 24A41C24 */ addiu $a0, $a1, 0x1C24 ## $a0 = 00001C24
|
||||
/* 007BC 80AC0E1C 46082280 */ add.s $f10, $f4, $f8
|
||||
/* 007C0 80AC0E20 46006202 */ mul.s $f8, $f12, $f0
|
||||
/* 007C4 80AC0E24 E7AA004C */ swc1 $f10, 0x004C($sp)
|
||||
/* 007C8 80AC0E28 C6100028 */ lwc1 $f16, 0x0028($s0) ## 00000028
|
||||
/* 007CC 80AC0E2C 8FA7004C */ lw $a3, 0x004C($sp)
|
||||
/* 007D0 80AC0E30 46128181 */ sub.s $f6, $f16, $f18
|
||||
/* 007D4 80AC0E34 E7A60050 */ swc1 $f6, 0x0050($sp)
|
||||
/* 007D8 80AC0E38 C604002C */ lwc1 $f4, 0x002C($s0) ## 0000002C
|
||||
/* 007DC 80AC0E3C C7B00050 */ lwc1 $f16, 0x0050($sp)
|
||||
/* 007E0 80AC0E40 46082280 */ add.s $f10, $f4, $f8
|
||||
/* 007E4 80AC0E44 E7B00010 */ swc1 $f16, 0x0010($sp)
|
||||
/* 007E8 80AC0E48 E7AA0054 */ swc1 $f10, 0x0054($sp)
|
||||
/* 007EC 80AC0E4C C7B20054 */ lwc1 $f18, 0x0054($sp)
|
||||
/* 007F0 80AC0E50 E7B20014 */ swc1 $f18, 0x0014($sp)
|
||||
/* 007F4 80AC0E54 860E00B4 */ lh $t6, 0x00B4($s0) ## 000000B4
|
||||
/* 007F8 80AC0E58 AFAE0018 */ sw $t6, 0x0018($sp)
|
||||
/* 007FC 80AC0E5C 860F00B6 */ lh $t7, 0x00B6($s0) ## 000000B6
|
||||
/* 00800 80AC0E60 AFAF001C */ sw $t7, 0x001C($sp)
|
||||
/* 00804 80AC0E64 861800B8 */ lh $t8, 0x00B8($s0) ## 000000B8
|
||||
/* 00808 80AC0E68 E7A00038 */ swc1 $f0, 0x0038($sp)
|
||||
/* 0080C 80AC0E6C AFB90024 */ sw $t9, 0x0024($sp)
|
||||
/* 00810 80AC0E70 0C00C7D4 */ jal Actor_Spawn
|
||||
## ActorSpawn
|
||||
/* 00814 80AC0E74 AFB80020 */ sw $t8, 0x0020($sp)
|
||||
/* 00818 80AC0E78 C7A20038 */ lwc1 $f2, 0x0038($sp)
|
||||
/* 0081C 80AC0E7C 1040001A */ beq $v0, $zero, .L80AC0EE8
|
||||
/* 00820 80AC0E80 C7AE003C */ lwc1 $f14, 0x003C($sp)
|
||||
/* 00824 80AC0E84 3C014220 */ lui $at, 0x4220 ## $at = 42200000
|
||||
/* 00828 80AC0E88 44810000 */ mtc1 $at, $f0 ## $f0 = 40.00
|
||||
/* 0082C 80AC0E8C C6060024 */ lwc1 $f6, 0x0024($s0) ## 00000024
|
||||
/* 00830 80AC0E90 3C013FC0 */ lui $at, 0x3FC0 ## $at = 3FC00000
|
||||
/* 00834 80AC0E94 460E0102 */ mul.s $f4, $f0, $f14
|
||||
/* 00838 80AC0E98 44816000 */ mtc1 $at, $f12 ## $f12 = 1.50
|
||||
/* 0083C 80AC0E9C 27A4004C */ addiu $a0, $sp, 0x004C ## $a0 = FFFFFFF4
|
||||
/* 00840 80AC0EA0 46020402 */ mul.s $f16, $f0, $f2
|
||||
/* 00844 80AC0EA4 27A50040 */ addiu $a1, $sp, 0x0040 ## $a1 = FFFFFFE8
|
||||
/* 00848 80AC0EA8 24060014 */ addiu $a2, $zero, 0x0014 ## $a2 = 00000014
|
||||
/* 0084C 80AC0EAC 8FA7005C */ lw $a3, 0x005C($sp)
|
||||
/* 00850 80AC0EB0 46043200 */ add.s $f8, $f6, $f4
|
||||
/* 00854 80AC0EB4 460E6102 */ mul.s $f4, $f12, $f14
|
||||
/* 00858 80AC0EB8 E7A8004C */ swc1 $f8, 0x004C($sp)
|
||||
/* 0085C 80AC0EBC C60A002C */ lwc1 $f10, 0x002C($s0) ## 0000002C
|
||||
/* 00860 80AC0EC0 44804000 */ mtc1 $zero, $f8 ## $f8 = 0.00
|
||||
/* 00864 80AC0EC4 46105480 */ add.s $f18, $f10, $f16
|
||||
/* 00868 80AC0EC8 46026282 */ mul.s $f10, $f12, $f2
|
||||
/* 0086C 80AC0ECC E7B20054 */ swc1 $f18, 0x0054($sp)
|
||||
/* 00870 80AC0ED0 C6060028 */ lwc1 $f6, 0x0028($s0) ## 00000028
|
||||
/* 00874 80AC0ED4 E7A40040 */ swc1 $f4, 0x0040($sp)
|
||||
/* 00878 80AC0ED8 E7A80044 */ swc1 $f8, 0x0044($sp)
|
||||
/* 0087C 80AC0EDC E7AA0048 */ swc1 $f10, 0x0048($sp)
|
||||
/* 00880 80AC0EE0 0C2B024F */ jal func_80AC093C
|
||||
/* 00884 80AC0EE4 E7A60050 */ swc1 $f6, 0x0050($sp)
|
||||
.L80AC0EE8:
|
||||
/* 00888 80AC0EE8 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 0088C 80AC0EEC 0C00BE0A */ jal Audio_PlayActorSound2
|
||||
|
||||
/* 00890 80AC0EF0 2405387E */ addiu $a1, $zero, 0x387E ## $a1 = 0000387E
|
||||
/* 00894 80AC0EF4 8FBF0034 */ lw $ra, 0x0034($sp)
|
||||
/* 00898 80AC0EF8 8FB00030 */ lw $s0, 0x0030($sp)
|
||||
/* 0089C 80AC0EFC 27BD0058 */ addiu $sp, $sp, 0x0058 ## $sp = 00000000
|
||||
/* 008A0 80AC0F00 03E00008 */ jr $ra
|
||||
/* 008A4 80AC0F04 00000000 */ nop
|
|
@ -1,25 +0,0 @@
|
|||
glabel func_80AC0F08
|
||||
/* 008A8 80AC0F08 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
|
||||
/* 008AC 80AC0F0C AFBF0014 */ sw $ra, 0x0014($sp)
|
||||
/* 008B0 80AC0F10 3C0143F0 */ lui $at, 0x43F0 ## $at = 43F00000
|
||||
/* 008B4 80AC0F14 44813000 */ mtc1 $at, $f6 ## $f6 = 480.00
|
||||
/* 008B8 80AC0F18 C4800090 */ lwc1 $f0, 0x0090($a0) ## 00000090
|
||||
/* 008BC 80AC0F1C C484000C */ lwc1 $f4, 0x000C($a0) ## 0000000C
|
||||
/* 008C0 80AC0F20 3C014348 */ lui $at, 0x4348 ## $at = 43480000
|
||||
/* 008C4 80AC0F24 4606003C */ c.lt.s $f0, $f6
|
||||
/* 008C8 80AC0F28 E4840028 */ swc1 $f4, 0x0028($a0) ## 00000028
|
||||
/* 008CC 80AC0F2C 4502000A */ bc1fl .L80AC0F58
|
||||
/* 008D0 80AC0F30 8FBF0014 */ lw $ra, 0x0014($sp)
|
||||
/* 008D4 80AC0F34 44814000 */ mtc1 $at, $f8 ## $f8 = 200.00
|
||||
/* 008D8 80AC0F38 00000000 */ nop
|
||||
/* 008DC 80AC0F3C 4600403C */ c.lt.s $f8, $f0
|
||||
/* 008E0 80AC0F40 00000000 */ nop
|
||||
/* 008E4 80AC0F44 45020004 */ bc1fl .L80AC0F58
|
||||
/* 008E8 80AC0F48 8FBF0014 */ lw $ra, 0x0014($sp)
|
||||
/* 008EC 80AC0F4C 0C2B02AD */ jal func_80AC0AB4
|
||||
/* 008F0 80AC0F50 00000000 */ nop
|
||||
/* 008F4 80AC0F54 8FBF0014 */ lw $ra, 0x0014($sp)
|
||||
.L80AC0F58:
|
||||
/* 008F8 80AC0F58 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
|
||||
/* 008FC 80AC0F5C 03E00008 */ jr $ra
|
||||
/* 00900 80AC0F60 00000000 */ nop
|
|
@ -1,101 +0,0 @@
|
|||
.late_rodata
|
||||
glabel D_80AC2900
|
||||
.float 0.01
|
||||
|
||||
.text
|
||||
glabel func_80AC0F64
|
||||
/* 00904 80AC0F64 27BDFFD8 */ addiu $sp, $sp, 0xFFD8 ## $sp = FFFFFFD8
|
||||
/* 00908 80AC0F68 AFB00018 */ sw $s0, 0x0018($sp)
|
||||
/* 0090C 80AC0F6C 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
|
||||
/* 00910 80AC0F70 AFBF001C */ sw $ra, 0x001C($sp)
|
||||
/* 00914 80AC0F74 2484014C */ addiu $a0, $a0, 0x014C ## $a0 = 0000014C
|
||||
/* 00918 80AC0F78 AFA5002C */ sw $a1, 0x002C($sp)
|
||||
/* 0091C 80AC0F7C 0C02927F */ jal SkelAnime_FrameUpdateMatrix
|
||||
|
||||
/* 00920 80AC0F80 AFA40020 */ sw $a0, 0x0020($sp)
|
||||
/* 00924 80AC0F84 10400010 */ beq $v0, $zero, .L80AC0FC8
|
||||
/* 00928 80AC0F88 3C014080 */ lui $at, 0x4080 ## $at = 40800000
|
||||
/* 0092C 80AC0F8C 3C014320 */ lui $at, 0x4320 ## $at = 43200000
|
||||
/* 00930 80AC0F90 44813000 */ mtc1 $at, $f6 ## $f6 = 160.00
|
||||
/* 00934 80AC0F94 C6040090 */ lwc1 $f4, 0x0090($s0) ## 00000090
|
||||
/* 00938 80AC0F98 4606203C */ c.lt.s $f4, $f6
|
||||
/* 0093C 80AC0F9C 00000000 */ nop
|
||||
/* 00940 80AC0FA0 45000005 */ bc1f .L80AC0FB8
|
||||
/* 00944 80AC0FA4 00000000 */ nop
|
||||
/* 00948 80AC0FA8 0C2B02C9 */ jal func_80AC0B24
|
||||
/* 0094C 80AC0FAC 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 00950 80AC0FB0 10000020 */ beq $zero, $zero, .L80AC1034
|
||||
/* 00954 80AC0FB4 8FA40020 */ lw $a0, 0x0020($sp)
|
||||
.L80AC0FB8:
|
||||
/* 00958 80AC0FB8 0C2B02D8 */ jal func_80AC0B60
|
||||
/* 0095C 80AC0FBC 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 00960 80AC0FC0 1000001C */ beq $zero, $zero, .L80AC1034
|
||||
/* 00964 80AC0FC4 8FA40020 */ lw $a0, 0x0020($sp)
|
||||
.L80AC0FC8:
|
||||
/* 00968 80AC0FC8 C6000164 */ lwc1 $f0, 0x0164($s0) ## 00000164
|
||||
/* 0096C 80AC0FCC 44814000 */ mtc1 $at, $f8 ## $f8 = 0.00
|
||||
/* 00970 80AC0FD0 3C013E80 */ lui $at, 0x3E80 ## $at = 3E800000
|
||||
/* 00974 80AC0FD4 8FA40020 */ lw $a0, 0x0020($sp)
|
||||
/* 00978 80AC0FD8 4608003E */ c.le.s $f0, $f8
|
||||
/* 0097C 80AC0FDC 00000000 */ nop
|
||||
/* 00980 80AC0FE0 4500000C */ bc1f .L80AC1014
|
||||
/* 00984 80AC0FE4 00000000 */ nop
|
||||
/* 00988 80AC0FE8 44815000 */ mtc1 $at, $f10 ## $f10 = 0.25
|
||||
/* 0098C 80AC0FEC 3C0180AC */ lui $at, %hi(D_80AC2900) ## $at = 80AC0000
|
||||
/* 00990 80AC0FF0 C4322900 */ lwc1 $f18, %lo(D_80AC2900)($at)
|
||||
/* 00994 80AC0FF4 460A0402 */ mul.s $f16, $f0, $f10
|
||||
/* 00998 80AC0FF8 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 0099C 80AC0FFC 46128102 */ mul.s $f4, $f16, $f18
|
||||
/* 009A0 80AC1000 44052000 */ mfc1 $a1, $f4
|
||||
/* 009A4 80AC1004 0C00B58B */ jal Actor_SetScale
|
||||
|
||||
/* 009A8 80AC1008 00000000 */ nop
|
||||
/* 009AC 80AC100C 10000009 */ beq $zero, $zero, .L80AC1034
|
||||
/* 009B0 80AC1010 8FA40020 */ lw $a0, 0x0020($sp)
|
||||
.L80AC1014:
|
||||
/* 009B4 80AC1014 0C0295B2 */ jal func_800A56C8
|
||||
/* 009B8 80AC1018 3C0540A0 */ lui $a1, 0x40A0 ## $a1 = 40A00000
|
||||
/* 009BC 80AC101C 10400004 */ beq $v0, $zero, .L80AC1030
|
||||
/* 009C0 80AC1020 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 009C4 80AC1024 3C053C23 */ lui $a1, 0x3C23 ## $a1 = 3C230000
|
||||
/* 009C8 80AC1028 0C00B58B */ jal Actor_SetScale
|
||||
|
||||
/* 009CC 80AC102C 34A5D70A */ ori $a1, $a1, 0xD70A ## $a1 = 3C23D70A
|
||||
.L80AC1030:
|
||||
/* 009D0 80AC1030 8FA40020 */ lw $a0, 0x0020($sp)
|
||||
.L80AC1034:
|
||||
/* 009D4 80AC1034 0C0295B2 */ jal func_800A56C8
|
||||
/* 009D8 80AC1038 3C054000 */ lui $a1, 0x4000 ## $a1 = 40000000
|
||||
/* 009DC 80AC103C 10400003 */ beq $v0, $zero, .L80AC104C
|
||||
/* 009E0 80AC1040 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 009E4 80AC1044 0C00BE0A */ jal Audio_PlayActorSound2
|
||||
|
||||
/* 009E8 80AC1048 240538C2 */ addiu $a1, $zero, 0x38C2 ## $a1 = 000038C2
|
||||
.L80AC104C:
|
||||
/* 009EC 80AC104C 8FA40020 */ lw $a0, 0x0020($sp)
|
||||
/* 009F0 80AC1050 0C0295B2 */ jal func_800A56C8
|
||||
/* 009F4 80AC1054 3C054140 */ lui $a1, 0x4140 ## $a1 = 41400000
|
||||
/* 009F8 80AC1058 10400003 */ beq $v0, $zero, .L80AC1068
|
||||
/* 009FC 80AC105C 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 00A00 80AC1060 0C00BE0A */ jal Audio_PlayActorSound2
|
||||
|
||||
/* 00A04 80AC1064 240538C3 */ addiu $a1, $zero, 0x38C3 ## $a1 = 000038C3
|
||||
.L80AC1068:
|
||||
/* 00A08 80AC1068 8FA40020 */ lw $a0, 0x0020($sp)
|
||||
/* 00A0C 80AC106C 0C0295B2 */ jal func_800A56C8
|
||||
/* 00A10 80AC1070 3C054040 */ lui $a1, 0x4040 ## $a1 = 40400000
|
||||
/* 00A14 80AC1074 14400004 */ bne $v0, $zero, .L80AC1088
|
||||
/* 00A18 80AC1078 8FA40020 */ lw $a0, 0x0020($sp)
|
||||
/* 00A1C 80AC107C 0C0295B2 */ jal func_800A56C8
|
||||
/* 00A20 80AC1080 3C054170 */ lui $a1, 0x4170 ## $a1 = 41700000
|
||||
/* 00A24 80AC1084 10400003 */ beq $v0, $zero, .L80AC1094
|
||||
.L80AC1088:
|
||||
/* 00A28 80AC1088 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 00A2C 80AC108C 0C2B0269 */ jal func_80AC09A4
|
||||
/* 00A30 80AC1090 8FA5002C */ lw $a1, 0x002C($sp)
|
||||
.L80AC1094:
|
||||
/* 00A34 80AC1094 8FBF001C */ lw $ra, 0x001C($sp)
|
||||
/* 00A38 80AC1098 8FB00018 */ lw $s0, 0x0018($sp)
|
||||
/* 00A3C 80AC109C 27BD0028 */ addiu $sp, $sp, 0x0028 ## $sp = 00000000
|
||||
/* 00A40 80AC10A0 03E00008 */ jr $ra
|
||||
/* 00A44 80AC10A4 00000000 */ nop
|
|
@ -1,79 +0,0 @@
|
|||
.late_rodata
|
||||
glabel D_80AC2904
|
||||
.float 0.01
|
||||
|
||||
.text
|
||||
glabel func_80AC10A8
|
||||
/* 00A48 80AC10A8 27BDFFD8 */ addiu $sp, $sp, 0xFFD8 ## $sp = FFFFFFD8
|
||||
/* 00A4C 80AC10AC AFB00018 */ sw $s0, 0x0018($sp)
|
||||
/* 00A50 80AC10B0 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
|
||||
/* 00A54 80AC10B4 AFBF001C */ sw $ra, 0x001C($sp)
|
||||
/* 00A58 80AC10B8 AFA5002C */ sw $a1, 0x002C($sp)
|
||||
/* 00A5C 80AC10BC 8E05000C */ lw $a1, 0x000C($s0) ## 0000000C
|
||||
/* 00A60 80AC10C0 24840028 */ addiu $a0, $a0, 0x0028 ## $a0 = 00000028
|
||||
/* 00A64 80AC10C4 3C063F00 */ lui $a2, 0x3F00 ## $a2 = 3F000000
|
||||
/* 00A68 80AC10C8 0C01E107 */ jal Math_SmoothScaleMaxF
|
||||
|
||||
/* 00A6C 80AC10CC 3C0741F0 */ lui $a3, 0x41F0 ## $a3 = 41F00000
|
||||
/* 00A70 80AC10D0 2604014C */ addiu $a0, $s0, 0x014C ## $a0 = 0000014C
|
||||
/* 00A74 80AC10D4 0C02927F */ jal SkelAnime_FrameUpdateMatrix
|
||||
|
||||
/* 00A78 80AC10D8 AFA40020 */ sw $a0, 0x0020($sp)
|
||||
/* 00A7C 80AC10DC 1040000B */ beq $v0, $zero, .L80AC110C
|
||||
/* 00A80 80AC10E0 3C014080 */ lui $at, 0x4080 ## $at = 40800000
|
||||
/* 00A84 80AC10E4 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 00A88 80AC10E8 0C00BE0A */ jal Audio_PlayActorSound2
|
||||
|
||||
/* 00A8C 80AC10EC 240538C5 */ addiu $a1, $zero, 0x38C5 ## $a1 = 000038C5
|
||||
/* 00A90 80AC10F0 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 00A94 80AC10F4 0C2B0224 */ jal func_80AC0890
|
||||
/* 00A98 80AC10F8 8FA5002C */ lw $a1, 0x002C($sp)
|
||||
/* 00A9C 80AC10FC 0C2B02A2 */ jal func_80AC0A88
|
||||
/* 00AA0 80AC1100 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 00AA4 80AC1104 10000016 */ beq $zero, $zero, .L80AC1160
|
||||
/* 00AA8 80AC1108 8FA40020 */ lw $a0, 0x0020($sp)
|
||||
.L80AC110C:
|
||||
/* 00AAC 80AC110C C6000164 */ lwc1 $f0, 0x0164($s0) ## 00000164
|
||||
/* 00AB0 80AC1110 44812000 */ mtc1 $at, $f4 ## $f4 = 0.00
|
||||
/* 00AB4 80AC1114 3C0140C0 */ lui $at, 0x40C0 ## $at = 40C00000
|
||||
/* 00AB8 80AC1118 4600203E */ c.le.s $f4, $f0
|
||||
/* 00ABC 80AC111C 00000000 */ nop
|
||||
/* 00AC0 80AC1120 4502000F */ bc1fl .L80AC1160
|
||||
/* 00AC4 80AC1124 8FA40020 */ lw $a0, 0x0020($sp)
|
||||
/* 00AC8 80AC1128 44813000 */ mtc1 $at, $f6 ## $f6 = 6.00
|
||||
/* 00ACC 80AC112C 3C013F00 */ lui $at, 0x3F00 ## $at = 3F000000
|
||||
/* 00AD0 80AC1130 44815000 */ mtc1 $at, $f10 ## $f10 = 0.50
|
||||
/* 00AD4 80AC1134 46003201 */ sub.s $f8, $f6, $f0
|
||||
/* 00AD8 80AC1138 3C0180AC */ lui $at, %hi(D_80AC2904) ## $at = 80AC0000
|
||||
/* 00ADC 80AC113C C4322904 */ lwc1 $f18, %lo(D_80AC2904)($at)
|
||||
/* 00AE0 80AC1140 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 00AE4 80AC1144 460A4402 */ mul.s $f16, $f8, $f10
|
||||
/* 00AE8 80AC1148 00000000 */ nop
|
||||
/* 00AEC 80AC114C 46128102 */ mul.s $f4, $f16, $f18
|
||||
/* 00AF0 80AC1150 44052000 */ mfc1 $a1, $f4
|
||||
/* 00AF4 80AC1154 0C00B58B */ jal Actor_SetScale
|
||||
|
||||
/* 00AF8 80AC1158 00000000 */ nop
|
||||
/* 00AFC 80AC115C 8FA40020 */ lw $a0, 0x0020($sp)
|
||||
.L80AC1160:
|
||||
/* 00B00 80AC1160 0C0295B2 */ jal func_800A56C8
|
||||
/* 00B04 80AC1164 3C054000 */ lui $a1, 0x4000 ## $a1 = 40000000
|
||||
/* 00B08 80AC1168 10400003 */ beq $v0, $zero, .L80AC1178
|
||||
/* 00B0C 80AC116C 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 00B10 80AC1170 0C00BE0A */ jal Audio_PlayActorSound2
|
||||
|
||||
/* 00B14 80AC1174 240538C4 */ addiu $a1, $zero, 0x38C4 ## $a1 = 000038C4
|
||||
.L80AC1178:
|
||||
/* 00B18 80AC1178 8FA40020 */ lw $a0, 0x0020($sp)
|
||||
/* 00B1C 80AC117C 0C0295B2 */ jal func_800A56C8
|
||||
/* 00B20 80AC1180 3C054080 */ lui $a1, 0x4080 ## $a1 = 40800000
|
||||
/* 00B24 80AC1184 10400003 */ beq $v0, $zero, .L80AC1194
|
||||
/* 00B28 80AC1188 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 00B2C 80AC118C 0C2B0269 */ jal func_80AC09A4
|
||||
/* 00B30 80AC1190 8FA5002C */ lw $a1, 0x002C($sp)
|
||||
.L80AC1194:
|
||||
/* 00B34 80AC1194 8FBF001C */ lw $ra, 0x001C($sp)
|
||||
/* 00B38 80AC1198 8FB00018 */ lw $s0, 0x0018($sp)
|
||||
/* 00B3C 80AC119C 27BD0028 */ addiu $sp, $sp, 0x0028 ## $sp = 00000000
|
||||
/* 00B40 80AC11A0 03E00008 */ jr $ra
|
||||
/* 00B44 80AC11A4 00000000 */ nop
|
|
@ -1,87 +0,0 @@
|
|||
glabel func_80AC11A8
|
||||
/* 00B48 80AC11A8 27BDFFC8 */ addiu $sp, $sp, 0xFFC8 ## $sp = FFFFFFC8
|
||||
/* 00B4C 80AC11AC AFBF0024 */ sw $ra, 0x0024($sp)
|
||||
/* 00B50 80AC11B0 AFB00020 */ sw $s0, 0x0020($sp)
|
||||
/* 00B54 80AC11B4 AFA5003C */ sw $a1, 0x003C($sp)
|
||||
/* 00B58 80AC11B8 C484000C */ lwc1 $f4, 0x000C($a0) ## 0000000C
|
||||
/* 00B5C 80AC11BC 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
|
||||
/* 00B60 80AC11C0 2484014C */ addiu $a0, $a0, 0x014C ## $a0 = 0000014C
|
||||
/* 00B64 80AC11C4 E484FEDC */ swc1 $f4, -0x0124($a0) ## 00000028
|
||||
/* 00B68 80AC11C8 0C02927F */ jal SkelAnime_FrameUpdateMatrix
|
||||
|
||||
/* 00B6C 80AC11CC AFA4002C */ sw $a0, 0x002C($sp)
|
||||
/* 00B70 80AC11D0 8FA4002C */ lw $a0, 0x002C($sp)
|
||||
/* 00B74 80AC11D4 0C0295B2 */ jal func_800A56C8
|
||||
/* 00B78 80AC11D8 24050000 */ addiu $a1, $zero, 0x0000 ## $a1 = 00000000
|
||||
/* 00B7C 80AC11DC 10400005 */ beq $v0, $zero, .L80AC11F4
|
||||
/* 00B80 80AC11E0 3C053F00 */ lui $a1, 0x3F00 ## $a1 = 3F000000
|
||||
/* 00B84 80AC11E4 86020194 */ lh $v0, 0x0194($s0) ## 00000194
|
||||
/* 00B88 80AC11E8 10400002 */ beq $v0, $zero, .L80AC11F4
|
||||
/* 00B8C 80AC11EC 244EFFFF */ addiu $t6, $v0, 0xFFFF ## $t6 = FFFFFFFF
|
||||
/* 00B90 80AC11F0 A60E0194 */ sh $t6, 0x0194($s0) ## 00000194
|
||||
.L80AC11F4:
|
||||
/* 00B94 80AC11F4 0C0295B2 */ jal func_800A56C8
|
||||
/* 00B98 80AC11F8 8FA4002C */ lw $a0, 0x002C($sp)
|
||||
/* 00B9C 80AC11FC 10400003 */ beq $v0, $zero, .L80AC120C
|
||||
/* 00BA0 80AC1200 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 00BA4 80AC1204 0C00BE0A */ jal Audio_PlayActorSound2
|
||||
|
||||
/* 00BA8 80AC1208 240538C1 */ addiu $a1, $zero, 0x38C1 ## $a1 = 000038C1
|
||||
.L80AC120C:
|
||||
/* 00BAC 80AC120C 3C014320 */ lui $at, 0x4320 ## $at = 43200000
|
||||
/* 00BB0 80AC1210 44813000 */ mtc1 $at, $f6 ## $f6 = 160.00
|
||||
/* 00BB4 80AC1214 C6000090 */ lwc1 $f0, 0x0090($s0) ## 00000090
|
||||
/* 00BB8 80AC1218 3C01440C */ lui $at, 0x440C ## $at = 440C0000
|
||||
/* 00BBC 80AC121C 4606003C */ c.lt.s $f0, $f6
|
||||
/* 00BC0 80AC1220 00000000 */ nop
|
||||
/* 00BC4 80AC1224 45010009 */ bc1t .L80AC124C
|
||||
/* 00BC8 80AC1228 00000000 */ nop
|
||||
/* 00BCC 80AC122C 44814000 */ mtc1 $at, $f8 ## $f8 = 560.00
|
||||
/* 00BD0 80AC1230 260400B6 */ addiu $a0, $s0, 0x00B6 ## $a0 = 000000B6
|
||||
/* 00BD4 80AC1234 24060003 */ addiu $a2, $zero, 0x0003 ## $a2 = 00000003
|
||||
/* 00BD8 80AC1238 4600403C */ c.lt.s $f8, $f0
|
||||
/* 00BDC 80AC123C 2407071C */ addiu $a3, $zero, 0x071C ## $a3 = 0000071C
|
||||
/* 00BE0 80AC1240 240F038E */ addiu $t7, $zero, 0x038E ## $t7 = 0000038E
|
||||
/* 00BE4 80AC1244 45020006 */ bc1fl .L80AC1260
|
||||
/* 00BE8 80AC1248 8605008A */ lh $a1, 0x008A($s0) ## 0000008A
|
||||
.L80AC124C:
|
||||
/* 00BEC 80AC124C 0C2B02C9 */ jal func_80AC0B24
|
||||
/* 00BF0 80AC1250 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 00BF4 80AC1254 1000001C */ beq $zero, $zero, .L80AC12C8
|
||||
/* 00BF8 80AC1258 8FBF0024 */ lw $ra, 0x0024($sp)
|
||||
/* 00BFC 80AC125C 8605008A */ lh $a1, 0x008A($s0) ## 0000008A
|
||||
.L80AC1260:
|
||||
/* 00C00 80AC1260 0C01E1A7 */ jal Math_SmoothScaleMaxMinS
|
||||
|
||||
/* 00C04 80AC1264 AFAF0010 */ sw $t7, 0x0010($sp)
|
||||
/* 00C08 80AC1268 04400004 */ bltz $v0, .L80AC127C
|
||||
/* 00C0C 80AC126C 00021C00 */ sll $v1, $v0, 16
|
||||
/* 00C10 80AC1270 00021C00 */ sll $v1, $v0, 16
|
||||
/* 00C14 80AC1274 10000003 */ beq $zero, $zero, .L80AC1284
|
||||
/* 00C18 80AC1278 00031C03 */ sra $v1, $v1, 16
|
||||
.L80AC127C:
|
||||
/* 00C1C 80AC127C 00031C03 */ sra $v1, $v1, 16
|
||||
/* 00C20 80AC1280 00031823 */ subu $v1, $zero, $v1
|
||||
.L80AC1284:
|
||||
/* 00C24 80AC1284 2861038E */ slti $at, $v1, 0x038E
|
||||
/* 00C28 80AC1288 5020000F */ beql $at, $zero, .L80AC12C8
|
||||
/* 00C2C 80AC128C 8FBF0024 */ lw $ra, 0x0024($sp)
|
||||
/* 00C30 80AC1290 86180194 */ lh $t8, 0x0194($s0) ## 00000194
|
||||
/* 00C34 80AC1294 3C014348 */ lui $at, 0x4348 ## $at = 43480000
|
||||
/* 00C38 80AC1298 5700000B */ bnel $t8, $zero, .L80AC12C8
|
||||
/* 00C3C 80AC129C 8FBF0024 */ lw $ra, 0x0024($sp)
|
||||
/* 00C40 80AC12A0 C60A0094 */ lwc1 $f10, 0x0094($s0) ## 00000094
|
||||
/* 00C44 80AC12A4 44818000 */ mtc1 $at, $f16 ## $f16 = 200.00
|
||||
/* 00C48 80AC12A8 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 00C4C 80AC12AC 4610503C */ c.lt.s $f10, $f16
|
||||
/* 00C50 80AC12B0 00000000 */ nop
|
||||
/* 00C54 80AC12B4 45020004 */ bc1fl .L80AC12C8
|
||||
/* 00C58 80AC12B8 8FBF0024 */ lw $ra, 0x0024($sp)
|
||||
/* 00C5C 80AC12BC 0C2B02F0 */ jal func_80AC0BC0
|
||||
/* 00C60 80AC12C0 8FA5003C */ lw $a1, 0x003C($sp)
|
||||
/* 00C64 80AC12C4 8FBF0024 */ lw $ra, 0x0024($sp)
|
||||
.L80AC12C8:
|
||||
/* 00C68 80AC12C8 8FB00020 */ lw $s0, 0x0020($sp)
|
||||
/* 00C6C 80AC12CC 27BD0038 */ addiu $sp, $sp, 0x0038 ## $sp = 00000000
|
||||
/* 00C70 80AC12D0 03E00008 */ jr $ra
|
||||
/* 00C74 80AC12D4 00000000 */ nop
|
|
@ -1,116 +0,0 @@
|
|||
.late_rodata
|
||||
glabel D_80AC2908
|
||||
.word 0x3E860932
|
||||
|
||||
.text
|
||||
glabel func_80AC12D8
|
||||
/* 00C78 80AC12D8 27BDFFD8 */ addiu $sp, $sp, 0xFFD8 ## $sp = FFFFFFD8
|
||||
/* 00C7C 80AC12DC AFB00018 */ sw $s0, 0x0018($sp)
|
||||
/* 00C80 80AC12E0 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
|
||||
/* 00C84 80AC12E4 AFBF001C */ sw $ra, 0x001C($sp)
|
||||
/* 00C88 80AC12E8 AFA5002C */ sw $a1, 0x002C($sp)
|
||||
/* 00C8C 80AC12EC 8605008A */ lh $a1, 0x008A($s0) ## 0000008A
|
||||
/* 00C90 80AC12F0 248400B6 */ addiu $a0, $a0, 0x00B6 ## $a0 = 000000B6
|
||||
/* 00C94 80AC12F4 24060003 */ addiu $a2, $zero, 0x0003 ## $a2 = 00000003
|
||||
/* 00C98 80AC12F8 0C01E1EF */ jal Math_SmoothScaleMaxS
|
||||
|
||||
/* 00C9C 80AC12FC 2407071C */ addiu $a3, $zero, 0x071C ## $a3 = 0000071C
|
||||
/* 00CA0 80AC1300 2604014C */ addiu $a0, $s0, 0x014C ## $a0 = 0000014C
|
||||
/* 00CA4 80AC1304 0C02927F */ jal SkelAnime_FrameUpdateMatrix
|
||||
|
||||
/* 00CA8 80AC1308 AFA40020 */ sw $a0, 0x0020($sp)
|
||||
/* 00CAC 80AC130C 10400011 */ beq $v0, $zero, .L80AC1354
|
||||
/* 00CB0 80AC1310 3C014150 */ lui $at, 0x4150 ## $at = 41500000
|
||||
/* 00CB4 80AC1314 86020194 */ lh $v0, 0x0194($s0) ## 00000194
|
||||
/* 00CB8 80AC1318 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 00CBC 80AC131C 10400003 */ beq $v0, $zero, .L80AC132C
|
||||
/* 00CC0 80AC1320 244EFFFF */ addiu $t6, $v0, 0xFFFF ## $t6 = FFFFFFFF
|
||||
/* 00CC4 80AC1324 A60E0194 */ sh $t6, 0x0194($s0) ## 00000194
|
||||
/* 00CC8 80AC1328 86020194 */ lh $v0, 0x0194($s0) ## 00000194
|
||||
.L80AC132C:
|
||||
/* 00CCC 80AC132C 14400005 */ bne $v0, $zero, .L80AC1344
|
||||
/* 00CD0 80AC1330 00000000 */ nop
|
||||
/* 00CD4 80AC1334 0C2B02D8 */ jal func_80AC0B60
|
||||
/* 00CD8 80AC1338 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 00CDC 80AC133C 10000039 */ beq $zero, $zero, .L80AC1424
|
||||
/* 00CE0 80AC1340 3C014320 */ lui $at, 0x4320 ## $at = 43200000
|
||||
.L80AC1344:
|
||||
/* 00CE4 80AC1344 0C2B02F0 */ jal func_80AC0BC0
|
||||
/* 00CE8 80AC1348 8FA5002C */ lw $a1, 0x002C($sp)
|
||||
/* 00CEC 80AC134C 10000035 */ beq $zero, $zero, .L80AC1424
|
||||
/* 00CF0 80AC1350 3C014320 */ lui $at, 0x4320 ## $at = 43200000
|
||||
.L80AC1354:
|
||||
/* 00CF4 80AC1354 C6000164 */ lwc1 $f0, 0x0164($s0) ## 00000164
|
||||
/* 00CF8 80AC1358 44812000 */ mtc1 $at, $f4 ## $f4 = 160.00
|
||||
/* 00CFC 80AC135C 3C0180AC */ lui $at, %hi(D_80AC2908) ## $at = 80AC0000
|
||||
/* 00D00 80AC1360 4604003C */ c.lt.s $f0, $f4
|
||||
/* 00D04 80AC1364 00000000 */ nop
|
||||
/* 00D08 80AC1368 4502000B */ bc1fl .L80AC1398
|
||||
/* 00D0C 80AC136C 8FA40020 */ lw $a0, 0x0020($sp)
|
||||
/* 00D10 80AC1370 C4262908 */ lwc1 $f6, %lo(D_80AC2908)($at)
|
||||
/* 00D14 80AC1374 46003302 */ mul.s $f12, $f6, $f0
|
||||
/* 00D18 80AC1378 0C0400A4 */ jal sinf
|
||||
|
||||
/* 00D1C 80AC137C 00000000 */ nop
|
||||
/* 00D20 80AC1380 C6080360 */ lwc1 $f8, 0x0360($s0) ## 00000360
|
||||
/* 00D24 80AC1384 C610000C */ lwc1 $f16, 0x000C($s0) ## 0000000C
|
||||
/* 00D28 80AC1388 46080282 */ mul.s $f10, $f0, $f8
|
||||
/* 00D2C 80AC138C 46105480 */ add.s $f18, $f10, $f16
|
||||
/* 00D30 80AC1390 E6120028 */ swc1 $f18, 0x0028($s0) ## 00000028
|
||||
/* 00D34 80AC1394 8FA40020 */ lw $a0, 0x0020($sp)
|
||||
.L80AC1398:
|
||||
/* 00D38 80AC1398 0C0295B2 */ jal func_800A56C8
|
||||
/* 00D3C 80AC139C 3C0540C0 */ lui $a1, 0x40C0 ## $a1 = 40C00000
|
||||
/* 00D40 80AC13A0 10400003 */ beq $v0, $zero, .L80AC13B0
|
||||
/* 00D44 80AC13A4 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 00D48 80AC13A8 0C2B0372 */ jal func_80AC0DC8
|
||||
/* 00D4C 80AC13AC 8FA5002C */ lw $a1, 0x002C($sp)
|
||||
.L80AC13B0:
|
||||
/* 00D50 80AC13B0 3C014248 */ lui $at, 0x4248 ## $at = 42480000
|
||||
/* 00D54 80AC13B4 44812000 */ mtc1 $at, $f4 ## $f4 = 50.00
|
||||
/* 00D58 80AC13B8 C6060360 */ lwc1 $f6, 0x0360($s0) ## 00000360
|
||||
/* 00D5C 80AC13BC 8FA40020 */ lw $a0, 0x0020($sp)
|
||||
/* 00D60 80AC13C0 4606203C */ c.lt.s $f4, $f6
|
||||
/* 00D64 80AC13C4 00000000 */ nop
|
||||
/* 00D68 80AC13C8 45020008 */ bc1fl .L80AC13EC
|
||||
/* 00D6C 80AC13CC 3C014248 */ lui $at, 0x4248 ## $at = 42480000
|
||||
/* 00D70 80AC13D0 0C0295B2 */ jal func_800A56C8
|
||||
/* 00D74 80AC13D4 3C054150 */ lui $a1, 0x4150 ## $a1 = 41500000
|
||||
/* 00D78 80AC13D8 10400003 */ beq $v0, $zero, .L80AC13E8
|
||||
/* 00D7C 80AC13DC 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 00D80 80AC13E0 0C2B0269 */ jal func_80AC09A4
|
||||
/* 00D84 80AC13E4 8FA5002C */ lw $a1, 0x002C($sp)
|
||||
.L80AC13E8:
|
||||
/* 00D88 80AC13E8 3C014248 */ lui $at, 0x4248 ## $at = 42480000
|
||||
.L80AC13EC:
|
||||
/* 00D8C 80AC13EC 44814000 */ mtc1 $at, $f8 ## $f8 = 50.00
|
||||
/* 00D90 80AC13F0 C60A0360 */ lwc1 $f10, 0x0360($s0) ## 00000360
|
||||
/* 00D94 80AC13F4 8FA40020 */ lw $a0, 0x0020($sp)
|
||||
/* 00D98 80AC13F8 460A403C */ c.lt.s $f8, $f10
|
||||
/* 00D9C 80AC13FC 00000000 */ nop
|
||||
/* 00DA0 80AC1400 45020008 */ bc1fl .L80AC1424
|
||||
/* 00DA4 80AC1404 3C014320 */ lui $at, 0x4320 ## $at = 43200000
|
||||
/* 00DA8 80AC1408 0C0295B2 */ jal func_800A56C8
|
||||
/* 00DAC 80AC140C 3C054150 */ lui $a1, 0x4150 ## $a1 = 41500000
|
||||
/* 00DB0 80AC1410 10400003 */ beq $v0, $zero, .L80AC1420
|
||||
/* 00DB4 80AC1414 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 00DB8 80AC1418 0C00BE0A */ jal Audio_PlayActorSound2
|
||||
|
||||
/* 00DBC 80AC141C 240538C3 */ addiu $a1, $zero, 0x38C3 ## $a1 = 000038C3
|
||||
.L80AC1420:
|
||||
/* 00DC0 80AC1420 3C014320 */ lui $at, 0x4320 ## $at = 43200000
|
||||
.L80AC1424:
|
||||
/* 00DC4 80AC1424 44819000 */ mtc1 $at, $f18 ## $f18 = 160.00
|
||||
/* 00DC8 80AC1428 C6100090 */ lwc1 $f16, 0x0090($s0) ## 00000090
|
||||
/* 00DCC 80AC142C 4612803C */ c.lt.s $f16, $f18
|
||||
/* 00DD0 80AC1430 00000000 */ nop
|
||||
/* 00DD4 80AC1434 45020004 */ bc1fl .L80AC1448
|
||||
/* 00DD8 80AC1438 8FBF001C */ lw $ra, 0x001C($sp)
|
||||
/* 00DDC 80AC143C 0C2B02C9 */ jal func_80AC0B24
|
||||
/* 00DE0 80AC1440 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 00DE4 80AC1444 8FBF001C */ lw $ra, 0x001C($sp)
|
||||
.L80AC1448:
|
||||
/* 00DE8 80AC1448 8FB00018 */ lw $s0, 0x0018($sp)
|
||||
/* 00DEC 80AC144C 27BD0028 */ addiu $sp, $sp, 0x0028 ## $sp = 00000000
|
||||
/* 00DF0 80AC1450 03E00008 */ jr $ra
|
||||
/* 00DF4 80AC1454 00000000 */ nop
|
|
@ -1,24 +0,0 @@
|
|||
glabel func_80AC1458
|
||||
/* 00DF8 80AC1458 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
|
||||
/* 00DFC 80AC145C AFBF0014 */ sw $ra, 0x0014($sp)
|
||||
/* 00E00 80AC1460 AFA40018 */ sw $a0, 0x0018($sp)
|
||||
/* 00E04 80AC1464 AFA5001C */ sw $a1, 0x001C($sp)
|
||||
/* 00E08 80AC1468 0C02927F */ jal SkelAnime_FrameUpdateMatrix
|
||||
|
||||
/* 00E0C 80AC146C 2484014C */ addiu $a0, $a0, 0x014C ## $a0 = 0000014C
|
||||
/* 00E10 80AC1470 50400004 */ beql $v0, $zero, .L80AC1484
|
||||
/* 00E14 80AC1474 8FAE0018 */ lw $t6, 0x0018($sp)
|
||||
/* 00E18 80AC1478 0C2B034D */ jal func_80AC0D34
|
||||
/* 00E1C 80AC147C 8FA40018 */ lw $a0, 0x0018($sp)
|
||||
/* 00E20 80AC1480 8FAE0018 */ lw $t6, 0x0018($sp)
|
||||
.L80AC1484:
|
||||
/* 00E24 80AC1484 3C063F00 */ lui $a2, 0x3F00 ## $a2 = 3F000000
|
||||
/* 00E28 80AC1488 3C0740A0 */ lui $a3, 0x40A0 ## $a3 = 40A00000
|
||||
/* 00E2C 80AC148C 25C40028 */ addiu $a0, $t6, 0x0028 ## $a0 = 00000028
|
||||
/* 00E30 80AC1490 0C01E107 */ jal Math_SmoothScaleMaxF
|
||||
|
||||
/* 00E34 80AC1494 8DC5000C */ lw $a1, 0x000C($t6) ## 0000000C
|
||||
/* 00E38 80AC1498 8FBF0014 */ lw $ra, 0x0014($sp)
|
||||
/* 00E3C 80AC149C 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
|
||||
/* 00E40 80AC14A0 03E00008 */ jr $ra
|
||||
/* 00E44 80AC14A4 00000000 */ nop
|
|
@ -1,241 +0,0 @@
|
|||
.late_rodata
|
||||
glabel D_80AC290C
|
||||
.float 0.01
|
||||
|
||||
glabel D_80AC2910
|
||||
.word 0x3E6EE632
|
||||
glabel D_80AC2914
|
||||
.float 0.01
|
||||
|
||||
glabel D_80AC2918
|
||||
.float 0.04
|
||||
|
||||
glabel D_80AC291C
|
||||
.float 0.8
|
||||
|
||||
glabel D_80AC2920
|
||||
.float 0.01
|
||||
|
||||
.text
|
||||
glabel func_80AC14A8
|
||||
/* 00E48 80AC14A8 27BDFF78 */ addiu $sp, $sp, 0xFF78 ## $sp = FFFFFF78
|
||||
/* 00E4C 80AC14AC AFB50054 */ sw $s5, 0x0054($sp)
|
||||
/* 00E50 80AC14B0 AFB00040 */ sw $s0, 0x0040($sp)
|
||||
/* 00E54 80AC14B4 0080A825 */ or $s5, $a0, $zero ## $s5 = 00000000
|
||||
/* 00E58 80AC14B8 AFBF005C */ sw $ra, 0x005C($sp)
|
||||
/* 00E5C 80AC14BC AFB60058 */ sw $s6, 0x0058($sp)
|
||||
/* 00E60 80AC14C0 2490014C */ addiu $s0, $a0, 0x014C ## $s0 = 0000014C
|
||||
/* 00E64 80AC14C4 00A0B025 */ or $s6, $a1, $zero ## $s6 = 00000000
|
||||
/* 00E68 80AC14C8 AFB40050 */ sw $s4, 0x0050($sp)
|
||||
/* 00E6C 80AC14CC AFB3004C */ sw $s3, 0x004C($sp)
|
||||
/* 00E70 80AC14D0 AFB20048 */ sw $s2, 0x0048($sp)
|
||||
/* 00E74 80AC14D4 AFB10044 */ sw $s1, 0x0044($sp)
|
||||
/* 00E78 80AC14D8 F7B60038 */ sdc1 $f22, 0x0038($sp)
|
||||
/* 00E7C 80AC14DC F7B40030 */ sdc1 $f20, 0x0030($sp)
|
||||
/* 00E80 80AC14E0 0C02927F */ jal SkelAnime_FrameUpdateMatrix
|
||||
|
||||
/* 00E84 80AC14E4 02002025 */ or $a0, $s0, $zero ## $a0 = 0000014C
|
||||
/* 00E88 80AC14E8 10400004 */ beq $v0, $zero, .L80AC14FC
|
||||
/* 00E8C 80AC14EC 3C013F00 */ lui $at, 0x3F00 ## $at = 3F000000
|
||||
/* 00E90 80AC14F0 86AE0194 */ lh $t6, 0x0194($s5) ## 00000194
|
||||
/* 00E94 80AC14F4 25CF0001 */ addiu $t7, $t6, 0x0001 ## $t7 = 00000001
|
||||
/* 00E98 80AC14F8 A6AF0194 */ sh $t7, 0x0194($s5) ## 00000194
|
||||
.L80AC14FC:
|
||||
/* 00E9C 80AC14FC 4481B000 */ mtc1 $at, $f22 ## $f22 = 0.50
|
||||
/* 00EA0 80AC1500 26A40028 */ addiu $a0, $s5, 0x0028 ## $a0 = 00000028
|
||||
/* 00EA4 80AC1504 8EA5000C */ lw $a1, 0x000C($s5) ## 0000000C
|
||||
/* 00EA8 80AC1508 4406B000 */ mfc1 $a2, $f22
|
||||
/* 00EAC 80AC150C 0C01E107 */ jal Math_SmoothScaleMaxF
|
||||
|
||||
/* 00EB0 80AC1510 3C0740A0 */ lui $a3, 0x40A0 ## $a3 = 40A00000
|
||||
/* 00EB4 80AC1514 86B80194 */ lh $t8, 0x0194($s5) ## 00000194
|
||||
/* 00EB8 80AC1518 24010005 */ addiu $at, $zero, 0x0005 ## $at = 00000005
|
||||
/* 00EBC 80AC151C 27A40070 */ addiu $a0, $sp, 0x0070 ## $a0 = FFFFFFE8
|
||||
/* 00EC0 80AC1520 17010016 */ bne $t8, $at, .L80AC157C
|
||||
/* 00EC4 80AC1524 27A5007C */ addiu $a1, $sp, 0x007C ## $a1 = FFFFFFF4
|
||||
/* 00EC8 80AC1528 C6A40024 */ lwc1 $f4, 0x0024($s5) ## 00000024
|
||||
/* 00ECC 80AC152C 3C014220 */ lui $at, 0x4220 ## $at = 42200000
|
||||
/* 00ED0 80AC1530 44814000 */ mtc1 $at, $f8 ## $f8 = 40.00
|
||||
/* 00ED4 80AC1534 E7A40070 */ swc1 $f4, 0x0070($sp)
|
||||
/* 00ED8 80AC1538 C6A60028 */ lwc1 $f6, 0x0028($s5) ## 00000028
|
||||
/* 00EDC 80AC153C 4480A000 */ mtc1 $zero, $f20 ## $f20 = 0.00
|
||||
/* 00EE0 80AC1540 3C01BF00 */ lui $at, 0xBF00 ## $at = BF000000
|
||||
/* 00EE4 80AC1544 46083280 */ add.s $f10, $f6, $f8
|
||||
/* 00EE8 80AC1548 44819000 */ mtc1 $at, $f18 ## $f18 = -0.50
|
||||
/* 00EEC 80AC154C 2406FFEC */ addiu $a2, $zero, 0xFFEC ## $a2 = FFFFFFEC
|
||||
/* 00EF0 80AC1550 02C03825 */ or $a3, $s6, $zero ## $a3 = 00000000
|
||||
/* 00EF4 80AC1554 E7AA0074 */ swc1 $f10, 0x0074($sp)
|
||||
/* 00EF8 80AC1558 C6B0002C */ lwc1 $f16, 0x002C($s5) ## 0000002C
|
||||
/* 00EFC 80AC155C E7B4007C */ swc1 $f20, 0x007C($sp)
|
||||
/* 00F00 80AC1560 E7B40084 */ swc1 $f20, 0x0084($sp)
|
||||
/* 00F04 80AC1564 E7B20080 */ swc1 $f18, 0x0080($sp)
|
||||
/* 00F08 80AC1568 0C2B024F */ jal func_80AC093C
|
||||
/* 00F0C 80AC156C E7B00078 */ swc1 $f16, 0x0078($sp)
|
||||
/* 00F10 80AC1570 02A02025 */ or $a0, $s5, $zero ## $a0 = 00000000
|
||||
/* 00F14 80AC1574 0C00BE0A */ jal Audio_PlayActorSound2
|
||||
|
||||
/* 00F18 80AC1578 240538C7 */ addiu $a1, $zero, 0x38C7 ## $a1 = 000038C7
|
||||
.L80AC157C:
|
||||
/* 00F1C 80AC157C 4480A000 */ mtc1 $zero, $f20 ## $f20 = 0.00
|
||||
/* 00F20 80AC1580 02002025 */ or $a0, $s0, $zero ## $a0 = 0000014C
|
||||
/* 00F24 80AC1584 0C0295B2 */ jal func_800A56C8
|
||||
/* 00F28 80AC1588 3C054170 */ lui $a1, 0x4170 ## $a1 = 41700000
|
||||
/* 00F2C 80AC158C 10400006 */ beq $v0, $zero, .L80AC15A8
|
||||
/* 00F30 80AC1590 02A02025 */ or $a0, $s5, $zero ## $a0 = 00000000
|
||||
/* 00F34 80AC1594 0C2B0269 */ jal func_80AC09A4
|
||||
/* 00F38 80AC1598 02C02825 */ or $a1, $s6, $zero ## $a1 = 00000000
|
||||
/* 00F3C 80AC159C 02A02025 */ or $a0, $s5, $zero ## $a0 = 00000000
|
||||
/* 00F40 80AC15A0 0C00BE0A */ jal Audio_PlayActorSound2
|
||||
|
||||
/* 00F44 80AC15A4 240538C3 */ addiu $a1, $zero, 0x38C3 ## $a1 = 000038C3
|
||||
.L80AC15A8:
|
||||
/* 00F48 80AC15A8 86A20194 */ lh $v0, 0x0194($s5) ## 00000194
|
||||
/* 00F4C 80AC15AC 28410003 */ slti $at, $v0, 0x0003
|
||||
/* 00F50 80AC15B0 50200013 */ beql $at, $zero, .L80AC1600
|
||||
/* 00F54 80AC15B4 28410006 */ slti $at, $v0, 0x0006
|
||||
/* 00F58 80AC15B8 44822000 */ mtc1 $v0, $f4 ## $f4 = 0.00
|
||||
/* 00F5C 80AC15BC 3C013E80 */ lui $at, 0x3E80 ## $at = 3E800000
|
||||
/* 00F60 80AC15C0 44814000 */ mtc1 $at, $f8 ## $f8 = 0.25
|
||||
/* 00F64 80AC15C4 468021A0 */ cvt.s.w $f6, $f4
|
||||
/* 00F68 80AC15C8 3C013F80 */ lui $at, 0x3F80 ## $at = 3F800000
|
||||
/* 00F6C 80AC15CC 44818000 */ mtc1 $at, $f16 ## $f16 = 1.00
|
||||
/* 00F70 80AC15D0 3C0180AC */ lui $at, %hi(D_80AC290C) ## $at = 80AC0000
|
||||
/* 00F74 80AC15D4 C424290C */ lwc1 $f4, %lo(D_80AC290C)($at)
|
||||
/* 00F78 80AC15D8 02A02025 */ or $a0, $s5, $zero ## $a0 = 00000000
|
||||
/* 00F7C 80AC15DC 46083282 */ mul.s $f10, $f6, $f8
|
||||
/* 00F80 80AC15E0 46105480 */ add.s $f18, $f10, $f16
|
||||
/* 00F84 80AC15E4 46049182 */ mul.s $f6, $f18, $f4
|
||||
/* 00F88 80AC15E8 44053000 */ mfc1 $a1, $f6
|
||||
/* 00F8C 80AC15EC 0C00B58B */ jal Actor_SetScale
|
||||
|
||||
/* 00F90 80AC15F0 00000000 */ nop
|
||||
/* 00F94 80AC15F4 10000066 */ beq $zero, $zero, .L80AC1790
|
||||
/* 00F98 80AC15F8 8FBF005C */ lw $ra, 0x005C($sp)
|
||||
/* 00F9C 80AC15FC 28410006 */ slti $at, $v0, 0x0006
|
||||
.L80AC1600:
|
||||
/* 00FA0 80AC1600 10200012 */ beq $at, $zero, .L80AC164C
|
||||
/* 00FA4 80AC1604 2459FFFE */ addiu $t9, $v0, 0xFFFE ## $t9 = FFFFFFFE
|
||||
/* 00FA8 80AC1608 44994000 */ mtc1 $t9, $f8 ## $f8 = NaN
|
||||
/* 00FAC 80AC160C 3C0180AC */ lui $at, %hi(D_80AC2910) ## $at = 80AC0000
|
||||
/* 00FB0 80AC1610 C4302910 */ lwc1 $f16, %lo(D_80AC2910)($at)
|
||||
/* 00FB4 80AC1614 468042A0 */ cvt.s.w $f10, $f8
|
||||
/* 00FB8 80AC1618 3C013FC0 */ lui $at, 0x3FC0 ## $at = 3FC00000
|
||||
/* 00FBC 80AC161C 44812000 */ mtc1 $at, $f4 ## $f4 = 1.50
|
||||
/* 00FC0 80AC1620 3C0180AC */ lui $at, %hi(D_80AC2914) ## $at = 80AC0000
|
||||
/* 00FC4 80AC1624 C4282914 */ lwc1 $f8, %lo(D_80AC2914)($at)
|
||||
/* 00FC8 80AC1628 02A02025 */ or $a0, $s5, $zero ## $a0 = 00000000
|
||||
/* 00FCC 80AC162C 46105482 */ mul.s $f18, $f10, $f16
|
||||
/* 00FD0 80AC1630 46122181 */ sub.s $f6, $f4, $f18
|
||||
/* 00FD4 80AC1634 46083282 */ mul.s $f10, $f6, $f8
|
||||
/* 00FD8 80AC1638 44055000 */ mfc1 $a1, $f10
|
||||
/* 00FDC 80AC163C 0C00B58B */ jal Actor_SetScale
|
||||
|
||||
/* 00FE0 80AC1640 00000000 */ nop
|
||||
/* 00FE4 80AC1644 10000052 */ beq $zero, $zero, .L80AC1790
|
||||
/* 00FE8 80AC1648 8FBF005C */ lw $ra, 0x005C($sp)
|
||||
.L80AC164C:
|
||||
/* 00FEC 80AC164C 2841000B */ slti $at, $v0, 0x000B
|
||||
/* 00FF0 80AC1650 10200013 */ beq $at, $zero, .L80AC16A0
|
||||
/* 00FF4 80AC1654 26A40050 */ addiu $a0, $s5, 0x0050 ## $a0 = 00000050
|
||||
/* 00FF8 80AC1658 2448FFFB */ addiu $t0, $v0, 0xFFFB ## $t0 = FFFFFFFB
|
||||
/* 00FFC 80AC165C 44888000 */ mtc1 $t0, $f16 ## $f16 = NaN
|
||||
/* 01000 80AC1660 3C0180AC */ lui $at, %hi(D_80AC2918) ## $at = 80AC0000
|
||||
/* 01004 80AC1664 C4322918 */ lwc1 $f18, %lo(D_80AC2918)($at)
|
||||
/* 01008 80AC1668 46808120 */ cvt.s.w $f4, $f16
|
||||
/* 0100C 80AC166C 3C0180AC */ lui $at, %hi(D_80AC291C) ## $at = 80AC0000
|
||||
/* 01010 80AC1670 C428291C */ lwc1 $f8, %lo(D_80AC291C)($at)
|
||||
/* 01014 80AC1674 3C0180AC */ lui $at, %hi(D_80AC2920) ## $at = 80AC0000
|
||||
/* 01018 80AC1678 C4302920 */ lwc1 $f16, %lo(D_80AC2920)($at)
|
||||
/* 0101C 80AC167C 02A02025 */ or $a0, $s5, $zero ## $a0 = 00000000
|
||||
/* 01020 80AC1680 46122182 */ mul.s $f6, $f4, $f18
|
||||
/* 01024 80AC1684 46083280 */ add.s $f10, $f6, $f8
|
||||
/* 01028 80AC1688 46105102 */ mul.s $f4, $f10, $f16
|
||||
/* 0102C 80AC168C 44052000 */ mfc1 $a1, $f4
|
||||
/* 01030 80AC1690 0C00B58B */ jal Actor_SetScale
|
||||
|
||||
/* 01034 80AC1694 00000000 */ nop
|
||||
/* 01038 80AC1698 1000003D */ beq $zero, $zero, .L80AC1790
|
||||
/* 0103C 80AC169C 8FBF005C */ lw $ra, 0x005C($sp)
|
||||
.L80AC16A0:
|
||||
/* 01040 80AC16A0 4405A000 */ mfc1 $a1, $f20
|
||||
/* 01044 80AC16A4 3C063A03 */ lui $a2, 0x3A03 ## $a2 = 3A030000
|
||||
/* 01048 80AC16A8 0C01DE80 */ jal Math_ApproxF
|
||||
|
||||
/* 0104C 80AC16AC 34C6126F */ ori $a2, $a2, 0x126F ## $a2 = 3A03126F
|
||||
/* 01050 80AC16B0 10400033 */ beq $v0, $zero, .L80AC1780
|
||||
/* 01054 80AC16B4 02C02025 */ or $a0, $s6, $zero ## $a0 = 00000000
|
||||
/* 01058 80AC16B8 26B10024 */ addiu $s1, $s5, 0x0024 ## $s1 = 00000024
|
||||
/* 0105C 80AC16BC 02202825 */ or $a1, $s1, $zero ## $a1 = 00000024
|
||||
/* 01060 80AC16C0 2406001E */ addiu $a2, $zero, 0x001E ## $a2 = 0000001E
|
||||
/* 01064 80AC16C4 0C01AEB6 */ jal Audio_PlaySoundAtPosition
|
||||
|
||||
/* 01068 80AC16C8 240738C5 */ addiu $a3, $zero, 0x38C5 ## $a3 = 000038C5
|
||||
/* 0106C 80AC16CC 02C02025 */ or $a0, $s6, $zero ## $a0 = 00000000
|
||||
/* 01070 80AC16D0 02A02825 */ or $a1, $s5, $zero ## $a1 = 00000000
|
||||
/* 01074 80AC16D4 02203025 */ or $a2, $s1, $zero ## $a2 = 00000024
|
||||
/* 01078 80AC16D8 0C007E50 */ jal Item_DropCollectibleRandom
|
||||
|
||||
/* 0107C 80AC16DC 24070070 */ addiu $a3, $zero, 0x0070 ## $a3 = 00000070
|
||||
/* 01080 80AC16E0 3C0140E0 */ lui $at, 0x40E0 ## $at = 40E00000
|
||||
/* 01084 80AC16E4 3C1380AC */ lui $s3, %hi(D_80AC28CC) ## $s3 = 80AC0000
|
||||
/* 01088 80AC16E8 3C1280AC */ lui $s2, %hi(D_80AC28C8) ## $s2 = 80AC0000
|
||||
/* 0108C 80AC16EC 4481A000 */ mtc1 $at, $f20 ## $f20 = 7.00
|
||||
/* 01090 80AC16F0 265228C8 */ addiu $s2, $s2, %lo(D_80AC28C8) ## $s2 = 80AC28C8
|
||||
/* 01094 80AC16F4 267328CC */ addiu $s3, $s3, %lo(D_80AC28CC) ## $s3 = 80AC28CC
|
||||
/* 01098 80AC16F8 00008025 */ or $s0, $zero, $zero ## $s0 = 00000000
|
||||
/* 0109C 80AC16FC 24140014 */ addiu $s4, $zero, 0x0014 ## $s4 = 00000014
|
||||
.L80AC1700:
|
||||
/* 010A0 80AC1700 0C03F66B */ jal Math_Rand_ZeroOne
|
||||
## Rand.Next() float
|
||||
/* 010A4 80AC1704 00000000 */ nop
|
||||
/* 010A8 80AC1708 46160481 */ sub.s $f18, $f0, $f22
|
||||
/* 010AC 80AC170C 46149182 */ mul.s $f6, $f18, $f20
|
||||
/* 010B0 80AC1710 0C03F66B */ jal Math_Rand_ZeroOne
|
||||
## Rand.Next() float
|
||||
/* 010B4 80AC1714 E7A6007C */ swc1 $f6, 0x007C($sp)
|
||||
/* 010B8 80AC1718 46140202 */ mul.s $f8, $f0, $f20
|
||||
/* 010BC 80AC171C 0C03F66B */ jal Math_Rand_ZeroOne
|
||||
## Rand.Next() float
|
||||
/* 010C0 80AC1720 E7A80080 */ swc1 $f8, 0x0080($sp)
|
||||
/* 010C4 80AC1724 46160281 */ sub.s $f10, $f0, $f22
|
||||
/* 010C8 80AC1728 24040064 */ addiu $a0, $zero, 0x0064 ## $a0 = 00000064
|
||||
/* 010CC 80AC172C 24050032 */ addiu $a1, $zero, 0x0032 ## $a1 = 00000032
|
||||
/* 010D0 80AC1730 46145402 */ mul.s $f16, $f10, $f20
|
||||
/* 010D4 80AC1734 0C01DF64 */ jal Math_Rand_S16Offset
|
||||
|
||||
/* 010D8 80AC1738 E7B00084 */ swc1 $f16, 0x0084($sp)
|
||||
/* 010DC 80AC173C 3C0780AC */ lui $a3, %hi(D_80AC28BC) ## $a3 = 80AC0000
|
||||
/* 010E0 80AC1740 24090019 */ addiu $t1, $zero, 0x0019 ## $t1 = 00000019
|
||||
/* 010E4 80AC1744 AFA9001C */ sw $t1, 0x001C($sp)
|
||||
/* 010E8 80AC1748 24E728BC */ addiu $a3, $a3, %lo(D_80AC28BC) ## $a3 = 80AC28BC
|
||||
/* 010EC 80AC174C 02C02025 */ or $a0, $s6, $zero ## $a0 = 00000000
|
||||
/* 010F0 80AC1750 02202825 */ or $a1, $s1, $zero ## $a1 = 00000024
|
||||
/* 010F4 80AC1754 27A6007C */ addiu $a2, $sp, 0x007C ## $a2 = FFFFFFF4
|
||||
/* 010F8 80AC1758 AFB20010 */ sw $s2, 0x0010($sp)
|
||||
/* 010FC 80AC175C AFB30014 */ sw $s3, 0x0014($sp)
|
||||
/* 01100 80AC1760 AFA20018 */ sw $v0, 0x0018($sp)
|
||||
/* 01104 80AC1764 0C00A5A5 */ jal EffectSsDtBubble_SpawnCustomColor
|
||||
/* 01108 80AC1768 AFA00020 */ sw $zero, 0x0020($sp)
|
||||
/* 0110C 80AC176C 26100001 */ addiu $s0, $s0, 0x0001 ## $s0 = 00000001
|
||||
/* 01110 80AC1770 1614FFE3 */ bne $s0, $s4, .L80AC1700
|
||||
/* 01114 80AC1774 00000000 */ nop
|
||||
/* 01118 80AC1778 0C00B55C */ jal Actor_Kill
|
||||
|
||||
/* 0111C 80AC177C 02A02025 */ or $a0, $s5, $zero ## $a0 = 00000000
|
||||
.L80AC1780:
|
||||
/* 01120 80AC1780 C6A00050 */ lwc1 $f0, 0x0050($s5) ## 00000050
|
||||
/* 01124 80AC1784 E6A00058 */ swc1 $f0, 0x0058($s5) ## 00000058
|
||||
/* 01128 80AC1788 E6A00054 */ swc1 $f0, 0x0054($s5) ## 00000054
|
||||
/* 0112C 80AC178C 8FBF005C */ lw $ra, 0x005C($sp)
|
||||
.L80AC1790:
|
||||
/* 01130 80AC1790 D7B40030 */ ldc1 $f20, 0x0030($sp)
|
||||
/* 01134 80AC1794 D7B60038 */ ldc1 $f22, 0x0038($sp)
|
||||
/* 01138 80AC1798 8FB00040 */ lw $s0, 0x0040($sp)
|
||||
/* 0113C 80AC179C 8FB10044 */ lw $s1, 0x0044($sp)
|
||||
/* 01140 80AC17A0 8FB20048 */ lw $s2, 0x0048($sp)
|
||||
/* 01144 80AC17A4 8FB3004C */ lw $s3, 0x004C($sp)
|
||||
/* 01148 80AC17A8 8FB40050 */ lw $s4, 0x0050($sp)
|
||||
/* 0114C 80AC17AC 8FB50054 */ lw $s5, 0x0054($sp)
|
||||
/* 01150 80AC17B0 8FB60058 */ lw $s6, 0x0058($sp)
|
||||
/* 01154 80AC17B4 03E00008 */ jr $ra
|
||||
/* 01158 80AC17B8 27BD0088 */ addiu $sp, $sp, 0x0088 ## $sp = 00000000
|
|
@ -1,113 +0,0 @@
|
|||
.late_rodata
|
||||
glabel D_80AC2924
|
||||
.float 0.2
|
||||
|
||||
glabel D_80AC2928
|
||||
.float 1.9
|
||||
|
||||
.text
|
||||
glabel func_80AC17BC
|
||||
/* 0115C 80AC17BC 27BDFFA8 */ addiu $sp, $sp, 0xFFA8 ## $sp = FFFFFFA8
|
||||
/* 01160 80AC17C0 AFBF003C */ sw $ra, 0x003C($sp)
|
||||
/* 01164 80AC17C4 AFB00038 */ sw $s0, 0x0038($sp)
|
||||
/* 01168 80AC17C8 AFA5005C */ sw $a1, 0x005C($sp)
|
||||
/* 0116C 80AC17CC 84820194 */ lh $v0, 0x0194($a0) ## 00000194
|
||||
/* 01170 80AC17D0 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
|
||||
/* 01174 80AC17D4 10400003 */ beq $v0, $zero, .L80AC17E4
|
||||
/* 01178 80AC17D8 244EFFFF */ addiu $t6, $v0, 0xFFFF ## $t6 = FFFFFFFF
|
||||
/* 0117C 80AC17DC A48E0194 */ sh $t6, 0x0194($a0) ## 00000194
|
||||
/* 01180 80AC17E0 84820194 */ lh $v0, 0x0194($a0) ## 00000194
|
||||
.L80AC17E4:
|
||||
/* 01184 80AC17E4 54400005 */ bnel $v0, $zero, .L80AC17FC
|
||||
/* 01188 80AC17E8 28410040 */ slti $at, $v0, 0x0040
|
||||
/* 0118C 80AC17EC 0C2B034D */ jal func_80AC0D34
|
||||
/* 01190 80AC17F0 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 01194 80AC17F4 86020194 */ lh $v0, 0x0194($s0) ## 00000194
|
||||
/* 01198 80AC17F8 28410040 */ slti $at, $v0, 0x0040
|
||||
.L80AC17FC:
|
||||
/* 0119C 80AC17FC 14200044 */ bne $at, $zero, .L80AC1910
|
||||
/* 011A0 80AC1800 304F0001 */ andi $t7, $v0, 0x0001 ## $t7 = 00000000
|
||||
/* 011A4 80AC1804 11E00042 */ beq $t7, $zero, .L80AC1910
|
||||
/* 011A8 80AC1808 2443FFC0 */ addiu $v1, $v0, 0xFFC0 ## $v1 = FFFFFFC0
|
||||
/* 011AC 80AC180C 00031843 */ sra $v1, $v1, 1
|
||||
/* 011B0 80AC1810 00031C00 */ sll $v1, $v1, 16
|
||||
/* 011B4 80AC1814 00031C03 */ sra $v1, $v1, 16
|
||||
/* 011B8 80AC1818 24180008 */ addiu $t8, $zero, 0x0008 ## $t8 = 00000008
|
||||
/* 011BC 80AC181C 0303C823 */ subu $t9, $t8, $v1
|
||||
/* 011C0 80AC1820 44998000 */ mtc1 $t9, $f16 ## $f16 = 0.00
|
||||
/* 011C4 80AC1824 3C014200 */ lui $at, 0x4200 ## $at = 42000000
|
||||
/* 011C8 80AC1828 44813000 */ mtc1 $at, $f6 ## $f6 = 32.00
|
||||
/* 011CC 80AC182C 468084A0 */ cvt.s.w $f18, $f16
|
||||
/* 011D0 80AC1830 C6040028 */ lwc1 $f4, 0x0028($s0) ## 00000028
|
||||
/* 011D4 80AC1834 3C014100 */ lui $at, 0x4100 ## $at = 41000000
|
||||
/* 011D8 80AC1838 44815000 */ mtc1 $at, $f10 ## $f10 = 8.00
|
||||
/* 011DC 80AC183C 30680002 */ andi $t0, $v1, 0x0002 ## $t0 = 00000000
|
||||
/* 011E0 80AC1840 46062201 */ sub.s $f8, $f4, $f6
|
||||
/* 011E4 80AC1844 46125102 */ mul.s $f4, $f10, $f18
|
||||
/* 011E8 80AC1848 3C01C120 */ lui $at, 0xC120 ## $at = C1200000
|
||||
/* 011EC 80AC184C 46044180 */ add.s $f6, $f8, $f4
|
||||
/* 011F0 80AC1850 11000005 */ beq $t0, $zero, .L80AC1868
|
||||
/* 011F4 80AC1854 E7A60050 */ swc1 $f6, 0x0050($sp)
|
||||
/* 011F8 80AC1858 3C014120 */ lui $at, 0x4120 ## $at = 41200000
|
||||
/* 011FC 80AC185C 44810000 */ mtc1 $at, $f0 ## $f0 = 10.00
|
||||
/* 01200 80AC1860 10000004 */ beq $zero, $zero, .L80AC1874
|
||||
/* 01204 80AC1864 C6100024 */ lwc1 $f16, 0x0024($s0) ## 00000024
|
||||
.L80AC1868:
|
||||
/* 01208 80AC1868 44810000 */ mtc1 $at, $f0 ## $f0 = 10.00
|
||||
/* 0120C 80AC186C 00000000 */ nop
|
||||
/* 01210 80AC1870 C6100024 */ lwc1 $f16, 0x0024($s0) ## 00000024
|
||||
.L80AC1874:
|
||||
/* 01214 80AC1874 30690001 */ andi $t1, $v1, 0x0001 ## $t1 = 00000000
|
||||
/* 01218 80AC1878 3C01C120 */ lui $at, 0xC120 ## $at = C1200000
|
||||
/* 0121C 80AC187C 46100280 */ add.s $f10, $f0, $f16
|
||||
/* 01220 80AC1880 11200005 */ beq $t1, $zero, .L80AC1898
|
||||
/* 01224 80AC1884 E7AA004C */ swc1 $f10, 0x004C($sp)
|
||||
/* 01228 80AC1888 3C014120 */ lui $at, 0x4120 ## $at = 41200000
|
||||
/* 0122C 80AC188C 44810000 */ mtc1 $at, $f0 ## $f0 = 10.00
|
||||
/* 01230 80AC1890 10000004 */ beq $zero, $zero, .L80AC18A4
|
||||
/* 01234 80AC1894 C612002C */ lwc1 $f18, 0x002C($s0) ## 0000002C
|
||||
.L80AC1898:
|
||||
/* 01238 80AC1898 44810000 */ mtc1 $at, $f0 ## $f0 = 10.00
|
||||
/* 0123C 80AC189C 00000000 */ nop
|
||||
/* 01240 80AC18A0 C612002C */ lwc1 $f18, 0x002C($s0) ## 0000002C
|
||||
.L80AC18A4:
|
||||
/* 01244 80AC18A4 46120200 */ add.s $f8, $f0, $f18
|
||||
/* 01248 80AC18A8 0C03F66B */ jal Math_Rand_ZeroOne
|
||||
## Rand.Next() float
|
||||
/* 0124C 80AC18AC E7A80054 */ swc1 $f8, 0x0054($sp)
|
||||
/* 01250 80AC18B0 3C0180AC */ lui $at, %hi(D_80AC2924) ## $at = 80AC0000
|
||||
/* 01254 80AC18B4 C4242924 */ lwc1 $f4, %lo(D_80AC2924)($at)
|
||||
/* 01258 80AC18B8 3C0180AC */ lui $at, %hi(D_80AC2928) ## $at = 80AC0000
|
||||
/* 0125C 80AC18BC C4302928 */ lwc1 $f16, %lo(D_80AC2928)($at)
|
||||
/* 01260 80AC18C0 46040182 */ mul.s $f6, $f0, $f4
|
||||
/* 01264 80AC18C4 240A0096 */ addiu $t2, $zero, 0x0096 ## $t2 = 00000096
|
||||
/* 01268 80AC18C8 240B0096 */ addiu $t3, $zero, 0x0096 ## $t3 = 00000096
|
||||
/* 0126C 80AC18CC 240C00FA */ addiu $t4, $zero, 0x00FA ## $t4 = 000000FA
|
||||
/* 01270 80AC18D0 240D00EB */ addiu $t5, $zero, 0x00EB ## $t5 = 000000EB
|
||||
/* 01274 80AC18D4 240E00F5 */ addiu $t6, $zero, 0x00F5 ## $t6 = 000000F5
|
||||
/* 01278 80AC18D8 240F00FF */ addiu $t7, $zero, 0x00FF ## $t7 = 000000FF
|
||||
/* 0127C 80AC18DC 46103280 */ add.s $f10, $f6, $f16
|
||||
/* 01280 80AC18E0 AFAF0024 */ sw $t7, 0x0024($sp)
|
||||
/* 01284 80AC18E4 AFAE0020 */ sw $t6, 0x0020($sp)
|
||||
/* 01288 80AC18E8 AFAD001C */ sw $t5, 0x001C($sp)
|
||||
/* 0128C 80AC18EC E7AA0028 */ swc1 $f10, 0x0028($sp)
|
||||
/* 01290 80AC18F0 AFAC0018 */ sw $t4, 0x0018($sp)
|
||||
/* 01294 80AC18F4 AFAB0014 */ sw $t3, 0x0014($sp)
|
||||
/* 01298 80AC18F8 AFAA0010 */ sw $t2, 0x0010($sp)
|
||||
/* 0129C 80AC18FC 8FA4005C */ lw $a0, 0x005C($sp)
|
||||
/* 012A0 80AC1900 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000
|
||||
/* 012A4 80AC1904 27A6004C */ addiu $a2, $sp, 0x004C ## $a2 = FFFFFFF4
|
||||
/* 012A8 80AC1908 0C00A850 */ jal EffectSsEnIce_SpawnFlyingVec3f
|
||||
/* 012AC 80AC190C 24070096 */ addiu $a3, $zero, 0x0096 ## $a3 = 00000096
|
||||
.L80AC1910:
|
||||
/* 012B0 80AC1910 26040028 */ addiu $a0, $s0, 0x0028 ## $a0 = 00000028
|
||||
/* 012B4 80AC1914 8E05000C */ lw $a1, 0x000C($s0) ## 0000000C
|
||||
/* 012B8 80AC1918 3C063F00 */ lui $a2, 0x3F00 ## $a2 = 3F000000
|
||||
/* 012BC 80AC191C 0C01E107 */ jal Math_SmoothScaleMaxF
|
||||
|
||||
/* 012C0 80AC1920 3C0740A0 */ lui $a3, 0x40A0 ## $a3 = 40A00000
|
||||
/* 012C4 80AC1924 8FBF003C */ lw $ra, 0x003C($sp)
|
||||
/* 012C8 80AC1928 8FB00038 */ lw $s0, 0x0038($sp)
|
||||
/* 012CC 80AC192C 27BD0058 */ addiu $sp, $sp, 0x0058 ## $sp = 00000000
|
||||
/* 012D0 80AC1930 03E00008 */ jr $ra
|
||||
/* 012D4 80AC1934 00000000 */ nop
|
|
@ -1,166 +0,0 @@
|
|||
.late_rodata
|
||||
glabel D_80AC292C
|
||||
.float 0.1
|
||||
|
||||
.text
|
||||
glabel func_80AC1938
|
||||
/* 012D8 80AC1938 27BDFFA8 */ addiu $sp, $sp, 0xFFA8 ## $sp = FFFFFFA8
|
||||
/* 012DC 80AC193C AFBF0034 */ sw $ra, 0x0034($sp)
|
||||
/* 012E0 80AC1940 AFB00030 */ sw $s0, 0x0030($sp)
|
||||
/* 012E4 80AC1944 AFA5005C */ sw $a1, 0x005C($sp)
|
||||
/* 012E8 80AC1948 848F0194 */ lh $t7, 0x0194($a0) ## 00000194
|
||||
/* 012EC 80AC194C 8CA31C44 */ lw $v1, 0x1C44($a1) ## 00001C44
|
||||
/* 012F0 80AC1950 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
|
||||
/* 012F4 80AC1954 25F8FFFF */ addiu $t8, $t7, 0xFFFF ## $t8 = FFFFFFFF
|
||||
/* 012F8 80AC1958 A4980194 */ sh $t8, 0x0194($a0) ## 00000194
|
||||
/* 012FC 80AC195C 84990194 */ lh $t9, 0x0194($a0) ## 00000194
|
||||
/* 01300 80AC1960 3C01BF80 */ lui $at, 0xBF80 ## $at = BF800000
|
||||
/* 01304 80AC1964 57200005 */ bnel $t9, $zero, .L80AC197C
|
||||
/* 01308 80AC1968 86080018 */ lh $t0, 0x0018($s0) ## 00000018
|
||||
/* 0130C 80AC196C 44812000 */ mtc1 $at, $f4 ## $f4 = -1.00
|
||||
/* 01310 80AC1970 00000000 */ nop
|
||||
/* 01314 80AC1974 E484006C */ swc1 $f4, 0x006C($a0) ## 0000006C
|
||||
/* 01318 80AC1978 86080018 */ lh $t0, 0x0018($s0) ## 00000018
|
||||
.L80AC197C:
|
||||
/* 0131C 80AC197C 96020088 */ lhu $v0, 0x0088($s0) ## 00000088
|
||||
/* 01320 80AC1980 3C013F80 */ lui $at, 0x3F80 ## $at = 3F800000
|
||||
/* 01324 80AC1984 25091554 */ addiu $t1, $t0, 0x1554 ## $t1 = 00001554
|
||||
/* 01328 80AC1988 304A0020 */ andi $t2, $v0, 0x0020 ## $t2 = 00000000
|
||||
/* 0132C 80AC198C 11400014 */ beq $t2, $zero, .L80AC19E0
|
||||
/* 01330 80AC1990 A6090018 */ sh $t1, 0x0018($s0) ## 00000018
|
||||
/* 01334 80AC1994 44811000 */ mtc1 $at, $f2 ## $f2 = 1.00
|
||||
/* 01338 80AC1998 3C01BF80 */ lui $at, 0xBF80 ## $at = BF800000
|
||||
/* 0133C 80AC199C 44813000 */ mtc1 $at, $f6 ## $f6 = -1.00
|
||||
/* 01340 80AC19A0 3C0180AC */ lui $at, %hi(D_80AC292C) ## $at = 80AC0000
|
||||
/* 01344 80AC19A4 C6080068 */ lwc1 $f8, 0x0068($s0) ## 00000068
|
||||
/* 01348 80AC19A8 E606006C */ swc1 $f6, 0x006C($s0) ## 0000006C
|
||||
/* 0134C 80AC19AC C42A292C */ lwc1 $f10, %lo(D_80AC292C)($at)
|
||||
/* 01350 80AC19B0 460A4401 */ sub.s $f16, $f8, $f10
|
||||
/* 01354 80AC19B4 E6100068 */ swc1 $f16, 0x0068($s0) ## 00000068
|
||||
/* 01358 80AC19B8 C6000068 */ lwc1 $f0, 0x0068($s0) ## 00000068
|
||||
/* 0135C 80AC19BC 4602003C */ c.lt.s $f0, $f2
|
||||
/* 01360 80AC19C0 00000000 */ nop
|
||||
/* 01364 80AC19C4 45020005 */ bc1fl .L80AC19DC
|
||||
/* 01368 80AC19C8 E6000068 */ swc1 $f0, 0x0068($s0) ## 00000068
|
||||
/* 0136C 80AC19CC E6020068 */ swc1 $f2, 0x0068($s0) ## 00000068
|
||||
/* 01370 80AC19D0 10000003 */ beq $zero, $zero, .L80AC19E0
|
||||
/* 01374 80AC19D4 96020088 */ lhu $v0, 0x0088($s0) ## 00000088
|
||||
/* 01378 80AC19D8 E6000068 */ swc1 $f0, 0x0068($s0) ## 00000068
|
||||
.L80AC19DC:
|
||||
/* 0137C 80AC19DC 96020088 */ lhu $v0, 0x0088($s0) ## 00000088
|
||||
.L80AC19E0:
|
||||
/* 01380 80AC19E0 304B0008 */ andi $t3, $v0, 0x0008 ## $t3 = 00000000
|
||||
/* 01384 80AC19E4 15600016 */ bne $t3, $zero, .L80AC1A40
|
||||
/* 01388 80AC19E8 304C0001 */ andi $t4, $v0, 0x0001 ## $t4 = 00000000
|
||||
/* 0138C 80AC19EC 55800015 */ bnel $t4, $zero, .L80AC1A44
|
||||
/* 01390 80AC19F0 8062014E */ lb $v0, 0x014E($v1) ## 0000014E
|
||||
/* 01394 80AC19F4 920D0380 */ lbu $t5, 0x0380($s0) ## 00000380
|
||||
/* 01398 80AC19F8 31AE0002 */ andi $t6, $t5, 0x0002 ## $t6 = 00000000
|
||||
/* 0139C 80AC19FC 55C00011 */ bnel $t6, $zero, .L80AC1A44
|
||||
/* 013A0 80AC1A00 8062014E */ lb $v0, 0x014E($v1) ## 0000014E
|
||||
/* 013A4 80AC1A04 920F0381 */ lbu $t7, 0x0381($s0) ## 00000381
|
||||
/* 013A8 80AC1A08 31F80002 */ andi $t8, $t7, 0x0002 ## $t8 = 00000000
|
||||
/* 013AC 80AC1A0C 5700000D */ bnel $t8, $zero, .L80AC1A44
|
||||
/* 013B0 80AC1A10 8062014E */ lb $v0, 0x014E($v1) ## 0000014E
|
||||
/* 013B4 80AC1A14 92190382 */ lbu $t9, 0x0382($s0) ## 00000382
|
||||
/* 013B8 80AC1A18 3C01C6FA */ lui $at, 0xC6FA ## $at = C6FA0000
|
||||
/* 013BC 80AC1A1C 33280002 */ andi $t0, $t9, 0x0002 ## $t0 = 00000000
|
||||
/* 013C0 80AC1A20 55000008 */ bnel $t0, $zero, .L80AC1A44
|
||||
/* 013C4 80AC1A24 8062014E */ lb $v0, 0x014E($v1) ## 0000014E
|
||||
/* 013C8 80AC1A28 44819000 */ mtc1 $at, $f18 ## $f18 = -32000.00
|
||||
/* 013CC 80AC1A2C C6040080 */ lwc1 $f4, 0x0080($s0) ## 00000080
|
||||
/* 013D0 80AC1A30 46049032 */ c.eq.s $f18, $f4
|
||||
/* 013D4 80AC1A34 00000000 */ nop
|
||||
/* 013D8 80AC1A38 45020047 */ bc1fl .L80AC1B58
|
||||
/* 013DC 80AC1A3C 86180194 */ lh $t8, 0x0194($s0) ## 00000194
|
||||
.L80AC1A40:
|
||||
/* 013E0 80AC1A40 8062014E */ lb $v0, 0x014E($v1) ## 0000014E
|
||||
.L80AC1A44:
|
||||
/* 013E4 80AC1A44 24010001 */ addiu $at, $zero, 0x0001 ## $at = 00000001
|
||||
/* 013E8 80AC1A48 10410006 */ beq $v0, $at, .L80AC1A64
|
||||
/* 013EC 80AC1A4C 24010002 */ addiu $at, $zero, 0x0002 ## $at = 00000002
|
||||
/* 013F0 80AC1A50 1441001C */ bne $v0, $at, .L80AC1AC4
|
||||
/* 013F4 80AC1A54 3C098016 */ lui $t1, %hi(gSaveContext+4)
|
||||
/* 013F8 80AC1A58 8D29E664 */ lw $t1, %lo(gSaveContext+4)($t1)
|
||||
/* 013FC 80AC1A5C 5520001A */ bnel $t1, $zero, .L80AC1AC8
|
||||
/* 01400 80AC1A60 C6060024 */ lwc1 $f6, 0x0024($s0) ## 00000024
|
||||
.L80AC1A64:
|
||||
/* 01404 80AC1A64 92020380 */ lbu $v0, 0x0380($s0) ## 00000380
|
||||
/* 01408 80AC1A68 304A0002 */ andi $t2, $v0, 0x0002 ## $t2 = 00000000
|
||||
/* 0140C 80AC1A6C 11400015 */ beq $t2, $zero, .L80AC1AC4
|
||||
/* 01410 80AC1A70 304B0010 */ andi $t3, $v0, 0x0010 ## $t3 = 00000000
|
||||
/* 01414 80AC1A74 11600013 */ beq $t3, $zero, .L80AC1AC4
|
||||
/* 01418 80AC1A78 304C0004 */ andi $t4, $v0, 0x0004 ## $t4 = 00000000
|
||||
/* 0141C 80AC1A7C 11800011 */ beq $t4, $zero, .L80AC1AC4
|
||||
/* 01420 80AC1A80 304EFFE9 */ andi $t6, $v0, 0xFFE9 ## $t6 = 00000000
|
||||
/* 01424 80AC1A84 A20E0380 */ sb $t6, 0x0380($s0) ## 00000380
|
||||
/* 01428 80AC1A88 35CF0008 */ ori $t7, $t6, 0x0008 ## $t7 = 00000008
|
||||
/* 0142C 80AC1A8C 24180002 */ addiu $t8, $zero, 0x0002 ## $t8 = 00000002
|
||||
/* 01430 80AC1A90 A20F0380 */ sb $t7, 0x0380($s0) ## 00000380
|
||||
/* 01434 80AC1A94 AE180388 */ sw $t8, 0x0388($s0) ## 00000388
|
||||
/* 01438 80AC1A98 24640A20 */ addiu $a0, $v1, 0x0A20 ## $a0 = 00000A20
|
||||
/* 0143C 80AC1A9C 27A50040 */ addiu $a1, $sp, 0x0040 ## $a1 = FFFFFFE8
|
||||
/* 01440 80AC1AA0 0C034833 */ jal func_800D20CC
|
||||
/* 01444 80AC1AA4 00003025 */ or $a2, $zero, $zero ## $a2 = 00000000
|
||||
/* 01448 80AC1AA8 87B90042 */ lh $t9, 0x0042($sp)
|
||||
/* 0144C 80AC1AAC 34018000 */ ori $at, $zero, 0x8000 ## $at = 00008000
|
||||
/* 01450 80AC1AB0 2409001E */ addiu $t1, $zero, 0x001E ## $t1 = 0000001E
|
||||
/* 01454 80AC1AB4 03214021 */ addu $t0, $t9, $at
|
||||
/* 01458 80AC1AB8 A6080032 */ sh $t0, 0x0032($s0) ## 00000032
|
||||
/* 0145C 80AC1ABC 1000002B */ beq $zero, $zero, .L80AC1B6C
|
||||
/* 01460 80AC1AC0 A6090194 */ sh $t1, 0x0194($s0) ## 00000194
|
||||
.L80AC1AC4:
|
||||
/* 01464 80AC1AC4 C6060024 */ lwc1 $f6, 0x0024($s0) ## 00000024
|
||||
.L80AC1AC8:
|
||||
/* 01468 80AC1AC8 3C014130 */ lui $at, 0x4130 ## $at = 41300000
|
||||
/* 0146C 80AC1ACC 44815000 */ mtc1 $at, $f10 ## $f10 = 11.00
|
||||
/* 01470 80AC1AD0 E7A6004C */ swc1 $f6, 0x004C($sp)
|
||||
/* 01474 80AC1AD4 C6080028 */ lwc1 $f8, 0x0028($s0) ## 00000028
|
||||
/* 01478 80AC1AD8 3C0F0600 */ lui $t7, 0x0600 ## $t7 = 06000000
|
||||
/* 0147C 80AC1ADC 25EF3380 */ addiu $t7, $t7, 0x3380 ## $t7 = 06003380
|
||||
/* 01480 80AC1AE0 460A4400 */ add.s $f16, $f8, $f10
|
||||
/* 01484 80AC1AE4 240A0001 */ addiu $t2, $zero, 0x0001 ## $t2 = 00000001
|
||||
/* 01488 80AC1AE8 240B0002 */ addiu $t3, $zero, 0x0002 ## $t3 = 00000002
|
||||
/* 0148C 80AC1AEC 240C000F */ addiu $t4, $zero, 0x000F ## $t4 = 0000000F
|
||||
/* 01490 80AC1AF0 E7B00050 */ swc1 $f16, 0x0050($sp)
|
||||
/* 01494 80AC1AF4 C612002C */ lwc1 $f18, 0x002C($s0) ## 0000002C
|
||||
/* 01498 80AC1AF8 240D0007 */ addiu $t5, $zero, 0x0007 ## $t5 = 00000007
|
||||
/* 0149C 80AC1AFC 240E000A */ addiu $t6, $zero, 0x000A ## $t6 = 0000000A
|
||||
/* 014A0 80AC1B00 AFAE0020 */ sw $t6, 0x0020($sp)
|
||||
/* 014A4 80AC1B04 AFAD001C */ sw $t5, 0x001C($sp)
|
||||
/* 014A8 80AC1B08 AFAF0024 */ sw $t7, 0x0024($sp)
|
||||
/* 014AC 80AC1B0C AFAC0018 */ sw $t4, 0x0018($sp)
|
||||
/* 014B0 80AC1B10 AFAB0014 */ sw $t3, 0x0014($sp)
|
||||
/* 014B4 80AC1B14 AFAA0010 */ sw $t2, 0x0010($sp)
|
||||
/* 014B8 80AC1B18 8FA4005C */ lw $a0, 0x005C($sp)
|
||||
/* 014BC 80AC1B1C 27A5004C */ addiu $a1, $sp, 0x004C ## $a1 = FFFFFFF4
|
||||
/* 014C0 80AC1B20 3C0640C0 */ lui $a2, 0x40C0 ## $a2 = 40C00000
|
||||
/* 014C4 80AC1B24 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
|
||||
/* 014C8 80AC1B28 0C00A5E9 */ jal EffectSsHahen_SpawnBurst
|
||||
/* 014CC 80AC1B2C E7B20054 */ swc1 $f18, 0x0054($sp)
|
||||
/* 014D0 80AC1B30 8FA4005C */ lw $a0, 0x005C($sp)
|
||||
/* 014D4 80AC1B34 26050024 */ addiu $a1, $s0, 0x0024 ## $a1 = 00000024
|
||||
/* 014D8 80AC1B38 24060014 */ addiu $a2, $zero, 0x0014 ## $a2 = 00000014
|
||||
/* 014DC 80AC1B3C 0C01AEB6 */ jal Audio_PlaySoundAtPosition
|
||||
|
||||
/* 014E0 80AC1B40 240738C0 */ addiu $a3, $zero, 0x38C0 ## $a3 = 000038C0
|
||||
/* 014E4 80AC1B44 0C00B55C */ jal Actor_Kill
|
||||
|
||||
/* 014E8 80AC1B48 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 014EC 80AC1B4C 10000008 */ beq $zero, $zero, .L80AC1B70
|
||||
/* 014F0 80AC1B50 8FBF0034 */ lw $ra, 0x0034($sp)
|
||||
/* 014F4 80AC1B54 86180194 */ lh $t8, 0x0194($s0) ## 00000194
|
||||
.L80AC1B58:
|
||||
/* 014F8 80AC1B58 2401FED4 */ addiu $at, $zero, 0xFED4 ## $at = FFFFFED4
|
||||
/* 014FC 80AC1B5C 57010004 */ bnel $t8, $at, .L80AC1B70
|
||||
/* 01500 80AC1B60 8FBF0034 */ lw $ra, 0x0034($sp)
|
||||
/* 01504 80AC1B64 0C00B55C */ jal Actor_Kill
|
||||
|
||||
/* 01508 80AC1B68 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
.L80AC1B6C:
|
||||
/* 0150C 80AC1B6C 8FBF0034 */ lw $ra, 0x0034($sp)
|
||||
.L80AC1B70:
|
||||
/* 01510 80AC1B70 8FB00030 */ lw $s0, 0x0030($sp)
|
||||
/* 01514 80AC1B74 27BD0058 */ addiu $sp, $sp, 0x0058 ## $sp = 00000000
|
||||
/* 01518 80AC1B78 03E00008 */ jr $ra
|
||||
/* 0151C 80AC1B7C 00000000 */ nop
|
|
@ -1,297 +0,0 @@
|
|||
.late_rodata
|
||||
glabel D_80AC2930
|
||||
.float 0.4
|
||||
|
||||
glabel D_80AC2934
|
||||
.float 0.075
|
||||
|
||||
glabel D_80AC2938
|
||||
.word 0x3FE66666
|
||||
glabel D_80AC293C
|
||||
.float 0.8
|
||||
|
||||
glabel D_80AC2940
|
||||
.float 1.3
|
||||
|
||||
glabel D_80AC2944
|
||||
.float 0.05
|
||||
|
||||
glabel D_80AC2948
|
||||
.word 0x3D086595
|
||||
glabel D_80AC294C
|
||||
.word 0x3EAA7EFA
|
||||
glabel D_80AC2950
|
||||
.word 0x3EB33333
|
||||
glabel D_80AC2954
|
||||
.float 0.8
|
||||
|
||||
glabel D_80AC2958
|
||||
.float 0.05
|
||||
|
||||
glabel D_80AC295C
|
||||
.float 0.8
|
||||
|
||||
glabel D_80AC2960
|
||||
.float 1.3
|
||||
|
||||
glabel D_80AC2964
|
||||
.float 0.1
|
||||
|
||||
glabel D_80AC2968
|
||||
.word 0x3D886595
|
||||
glabel D_80AC296C
|
||||
.word 0x3E490FDB
|
||||
glabel D_80AC2970
|
||||
.float 0.2
|
||||
|
||||
.text
|
||||
glabel func_80AC1B80
|
||||
/* 01520 80AC1B80 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
|
||||
/* 01524 80AC1B84 AFBF0014 */ sw $ra, 0x0014($sp)
|
||||
/* 01528 80AC1B88 8C820190 */ lw $v0, 0x0190($a0) ## 00000190
|
||||
/* 0152C 80AC1B8C 3C0E80AC */ lui $t6, %hi(func_80AC0F64) ## $t6 = 80AC0000
|
||||
/* 01530 80AC1B90 25CE0F64 */ addiu $t6, $t6, %lo(func_80AC0F64) ## $t6 = 80AC0F64
|
||||
/* 01534 80AC1B94 15C2004E */ bne $t6, $v0, .L80AC1CD0
|
||||
/* 01538 80AC1B98 C48E0164 */ lwc1 $f14, 0x0164($a0) ## 00000164
|
||||
/* 0153C 80AC1B9C 3C014100 */ lui $at, 0x4100 ## $at = 41000000
|
||||
/* 01540 80AC1BA0 44812000 */ mtc1 $at, $f4 ## $f4 = 8.00
|
||||
/* 01544 80AC1BA4 3C014120 */ lui $at, 0x4120 ## $at = 41200000
|
||||
/* 01548 80AC1BA8 4604703C */ c.lt.s $f14, $f4
|
||||
/* 0154C 80AC1BAC 00000000 */ nop
|
||||
/* 01550 80AC1BB0 45020009 */ bc1fl .L80AC1BD8
|
||||
/* 01554 80AC1BB4 44813000 */ mtc1 $at, $f6 ## $f6 = 10.00
|
||||
/* 01558 80AC1BB8 3C013F80 */ lui $at, 0x3F80 ## $at = 3F800000
|
||||
/* 0155C 80AC1BBC 44818000 */ mtc1 $at, $f16 ## $f16 = 1.00
|
||||
/* 01560 80AC1BC0 00000000 */ nop
|
||||
/* 01564 80AC1BC4 E490036C */ swc1 $f16, 0x036C($a0) ## 0000036C
|
||||
/* 01568 80AC1BC8 E4900368 */ swc1 $f16, 0x0368($a0) ## 00000368
|
||||
/* 0156C 80AC1BCC 100000D2 */ beq $zero, $zero, .L80AC1F18
|
||||
/* 01570 80AC1BD0 E4900364 */ swc1 $f16, 0x0364($a0) ## 00000364
|
||||
/* 01574 80AC1BD4 44813000 */ mtc1 $at, $f6 ## $f6 = 1.00
|
||||
.L80AC1BD8:
|
||||
/* 01578 80AC1BD8 3C014160 */ lui $at, 0x4160 ## $at = 41600000
|
||||
/* 0157C 80AC1BDC 4606703C */ c.lt.s $f14, $f6
|
||||
/* 01580 80AC1BE0 00000000 */ nop
|
||||
/* 01584 80AC1BE4 4502000F */ bc1fl .L80AC1C24
|
||||
/* 01588 80AC1BE8 44814000 */ mtc1 $at, $f8 ## $f8 = 14.00
|
||||
/* 0158C 80AC1BEC 3C013F80 */ lui $at, 0x3F80 ## $at = 3F800000
|
||||
/* 01590 80AC1BF0 44818000 */ mtc1 $at, $f16 ## $f16 = 1.00
|
||||
/* 01594 80AC1BF4 3C0140E0 */ lui $at, 0x40E0 ## $at = 40E00000
|
||||
/* 01598 80AC1BF8 44814000 */ mtc1 $at, $f8 ## $f8 = 7.00
|
||||
/* 0159C 80AC1BFC 3C0180AC */ lui $at, %hi(D_80AC2930) ## $at = 80AC0000
|
||||
/* 015A0 80AC1C00 E490036C */ swc1 $f16, 0x036C($a0) ## 0000036C
|
||||
/* 015A4 80AC1C04 46087281 */ sub.s $f10, $f14, $f8
|
||||
/* 015A8 80AC1C08 E4900364 */ swc1 $f16, 0x0364($a0) ## 00000364
|
||||
/* 015AC 80AC1C0C C4322930 */ lwc1 $f18, %lo(D_80AC2930)($at)
|
||||
/* 015B0 80AC1C10 46125102 */ mul.s $f4, $f10, $f18
|
||||
/* 015B4 80AC1C14 46102180 */ add.s $f6, $f4, $f16
|
||||
/* 015B8 80AC1C18 100000BF */ beq $zero, $zero, .L80AC1F18
|
||||
/* 015BC 80AC1C1C E4860368 */ swc1 $f6, 0x0368($a0) ## 00000368
|
||||
/* 015C0 80AC1C20 44814000 */ mtc1 $at, $f8 ## $f8 = -0.00
|
||||
.L80AC1C24:
|
||||
/* 015C4 80AC1C24 3C0180AC */ lui $at, %hi(D_80AC293C) ## $at = 80AC0000
|
||||
/* 015C8 80AC1C28 4608703C */ c.lt.s $f14, $f8
|
||||
/* 015CC 80AC1C2C 00000000 */ nop
|
||||
/* 015D0 80AC1C30 45000015 */ bc1f .L80AC1C88
|
||||
/* 015D4 80AC1C34 00000000 */ nop
|
||||
/* 015D8 80AC1C38 3C013F80 */ lui $at, 0x3F80 ## $at = 3F800000
|
||||
/* 015DC 80AC1C3C 44818000 */ mtc1 $at, $f16 ## $f16 = 1.00
|
||||
/* 015E0 80AC1C40 3C014110 */ lui $at, 0x4110 ## $at = 41100000
|
||||
/* 015E4 80AC1C44 44815000 */ mtc1 $at, $f10 ## $f10 = 9.00
|
||||
/* 015E8 80AC1C48 3C0180AC */ lui $at, %hi(D_80AC2934) ## $at = 80AC0000
|
||||
/* 015EC 80AC1C4C C4322934 */ lwc1 $f18, %lo(D_80AC2934)($at)
|
||||
/* 015F0 80AC1C50 460A7001 */ sub.s $f0, $f14, $f10
|
||||
/* 015F4 80AC1C54 3C0180AC */ lui $at, %hi(D_80AC2938) ## $at = 80AC0000
|
||||
/* 015F8 80AC1C58 46120102 */ mul.s $f4, $f0, $f18
|
||||
/* 015FC 80AC1C5C 46102080 */ add.s $f2, $f4, $f16
|
||||
/* 01600 80AC1C60 E482036C */ swc1 $f2, 0x036C($a0) ## 0000036C
|
||||
/* 01604 80AC1C64 E4820364 */ swc1 $f2, 0x0364($a0) ## 00000364
|
||||
/* 01608 80AC1C68 C4262938 */ lwc1 $f6, %lo(D_80AC2938)($at)
|
||||
/* 0160C 80AC1C6C 3C013E80 */ lui $at, 0x3E80 ## $at = 3E800000
|
||||
/* 01610 80AC1C70 44814000 */ mtc1 $at, $f8 ## $f8 = 0.25
|
||||
/* 01614 80AC1C74 00000000 */ nop
|
||||
/* 01618 80AC1C78 46080282 */ mul.s $f10, $f0, $f8
|
||||
/* 0161C 80AC1C7C 460A3481 */ sub.s $f18, $f6, $f10
|
||||
/* 01620 80AC1C80 100000A5 */ beq $zero, $zero, .L80AC1F18
|
||||
/* 01624 80AC1C84 E4920368 */ swc1 $f18, 0x0368($a0) ## 00000368
|
||||
.L80AC1C88:
|
||||
/* 01628 80AC1C88 C42C293C */ lwc1 $f12, %lo(D_80AC293C)($at)
|
||||
/* 0162C 80AC1C8C 3C014150 */ lui $at, 0x4150 ## $at = 41500000
|
||||
/* 01630 80AC1C90 44812000 */ mtc1 $at, $f4 ## $f4 = 13.00
|
||||
/* 01634 80AC1C94 3C0180AC */ lui $at, %hi(D_80AC2940) ## $at = 80AC0000
|
||||
/* 01638 80AC1C98 C4282940 */ lwc1 $f8, %lo(D_80AC2940)($at)
|
||||
/* 0163C 80AC1C9C 46047001 */ sub.s $f0, $f14, $f4
|
||||
/* 01640 80AC1CA0 3C0180AC */ lui $at, %hi(D_80AC2944) ## $at = 80AC0000
|
||||
/* 01644 80AC1CA4 C4262944 */ lwc1 $f6, %lo(D_80AC2944)($at)
|
||||
/* 01648 80AC1CA8 3C0180AC */ lui $at, %hi(D_80AC2948) ## $at = 80AC0000
|
||||
/* 0164C 80AC1CAC 46060282 */ mul.s $f10, $f0, $f6
|
||||
/* 01650 80AC1CB0 460A4081 */ sub.s $f2, $f8, $f10
|
||||
/* 01654 80AC1CB4 E482036C */ swc1 $f2, 0x036C($a0) ## 0000036C
|
||||
/* 01658 80AC1CB8 E4820364 */ swc1 $f2, 0x0364($a0) ## 00000364
|
||||
/* 0165C 80AC1CBC C4322948 */ lwc1 $f18, %lo(D_80AC2948)($at)
|
||||
/* 01660 80AC1CC0 46120102 */ mul.s $f4, $f0, $f18
|
||||
/* 01664 80AC1CC4 460C2180 */ add.s $f6, $f4, $f12
|
||||
/* 01668 80AC1CC8 10000093 */ beq $zero, $zero, .L80AC1F18
|
||||
/* 0166C 80AC1CCC E4860368 */ swc1 $f6, 0x0368($a0) ## 00000368
|
||||
.L80AC1CD0:
|
||||
/* 01670 80AC1CD0 3C0F80AC */ lui $t7, %hi(func_80AC10A8) ## $t7 = 80AC0000
|
||||
/* 01674 80AC1CD4 25EF10A8 */ addiu $t7, $t7, %lo(func_80AC10A8) ## $t7 = 80AC10A8
|
||||
/* 01678 80AC1CD8 15E20027 */ bne $t7, $v0, .L80AC1D78
|
||||
/* 0167C 80AC1CDC 3C1880AC */ lui $t8, %hi(func_80AC12D8) ## $t8 = 80AC0000
|
||||
/* 01680 80AC1CE0 3C014040 */ lui $at, 0x4040 ## $at = 40400000
|
||||
/* 01684 80AC1CE4 44810000 */ mtc1 $at, $f0 ## $f0 = 3.00
|
||||
/* 01688 80AC1CE8 3C014080 */ lui $at, 0x4080 ## $at = 40800000
|
||||
/* 0168C 80AC1CEC 4600703C */ c.lt.s $f14, $f0
|
||||
/* 01690 80AC1CF0 00000000 */ nop
|
||||
/* 01694 80AC1CF4 45020006 */ bc1fl .L80AC1D10
|
||||
/* 01698 80AC1CF8 44814000 */ mtc1 $at, $f8 ## $f8 = 4.00
|
||||
/* 0169C 80AC1CFC 3C013F80 */ lui $at, 0x3F80 ## $at = 3F800000
|
||||
/* 016A0 80AC1D00 44818000 */ mtc1 $at, $f16 ## $f16 = 1.00
|
||||
/* 016A4 80AC1D04 10000019 */ beq $zero, $zero, .L80AC1D6C
|
||||
/* 016A8 80AC1D08 E4900368 */ swc1 $f16, 0x0368($a0) ## 00000368
|
||||
/* 016AC 80AC1D0C 44814000 */ mtc1 $at, $f8 ## $f8 = 1.00
|
||||
.L80AC1D10:
|
||||
/* 016B0 80AC1D10 3C0180AC */ lui $at, %hi(D_80AC294C) ## $at = 80AC0000
|
||||
/* 016B4 80AC1D14 4608703C */ c.lt.s $f14, $f8
|
||||
/* 016B8 80AC1D18 00000000 */ nop
|
||||
/* 016BC 80AC1D1C 4502000B */ bc1fl .L80AC1D4C
|
||||
/* 016C0 80AC1D20 46007181 */ sub.s $f6, $f14, $f0
|
||||
/* 016C4 80AC1D24 3C013F80 */ lui $at, 0x3F80 ## $at = 3F800000
|
||||
/* 016C8 80AC1D28 44818000 */ mtc1 $at, $f16 ## $f16 = 1.00
|
||||
/* 016CC 80AC1D2C 3C014000 */ lui $at, 0x4000 ## $at = 40000000
|
||||
/* 016D0 80AC1D30 44815000 */ mtc1 $at, $f10 ## $f10 = 2.00
|
||||
/* 016D4 80AC1D34 00000000 */ nop
|
||||
/* 016D8 80AC1D38 460A7481 */ sub.s $f18, $f14, $f10
|
||||
/* 016DC 80AC1D3C 46109100 */ add.s $f4, $f18, $f16
|
||||
/* 016E0 80AC1D40 1000000A */ beq $zero, $zero, .L80AC1D6C
|
||||
/* 016E4 80AC1D44 E4840368 */ swc1 $f4, 0x0368($a0) ## 00000368
|
||||
/* 016E8 80AC1D48 46007181 */ sub.s $f6, $f14, $f0
|
||||
.L80AC1D4C:
|
||||
/* 016EC 80AC1D4C C428294C */ lwc1 $f8, %lo(D_80AC294C)($at)
|
||||
/* 016F0 80AC1D50 3C014000 */ lui $at, 0x4000 ## $at = 40000000
|
||||
/* 016F4 80AC1D54 44819000 */ mtc1 $at, $f18 ## $f18 = 2.00
|
||||
/* 016F8 80AC1D58 46083282 */ mul.s $f10, $f6, $f8
|
||||
/* 016FC 80AC1D5C 3C013F80 */ lui $at, 0x3F80 ## $at = 3F800000
|
||||
/* 01700 80AC1D60 44818000 */ mtc1 $at, $f16 ## $f16 = 1.00
|
||||
/* 01704 80AC1D64 460A9101 */ sub.s $f4, $f18, $f10
|
||||
/* 01708 80AC1D68 E4840368 */ swc1 $f4, 0x0368($a0) ## 00000368
|
||||
.L80AC1D6C:
|
||||
/* 0170C 80AC1D6C E490036C */ swc1 $f16, 0x036C($a0) ## 0000036C
|
||||
/* 01710 80AC1D70 10000069 */ beq $zero, $zero, .L80AC1F18
|
||||
/* 01714 80AC1D74 E4900364 */ swc1 $f16, 0x0364($a0) ## 00000364
|
||||
.L80AC1D78:
|
||||
/* 01718 80AC1D78 271812D8 */ addiu $t8, $t8, %lo(func_80AC12D8) ## $t8 = 80AC12D8
|
||||
/* 0171C 80AC1D7C 1702004B */ bne $t8, $v0, .L80AC1EAC
|
||||
/* 01720 80AC1D80 3C1980AC */ lui $t9, %hi(func_80AC11A8) ## $t9 = 80AC0000
|
||||
/* 01724 80AC1D84 3C0140A0 */ lui $at, 0x40A0 ## $at = 40A00000
|
||||
/* 01728 80AC1D88 44813000 */ mtc1 $at, $f6 ## $f6 = 5.00
|
||||
/* 0172C 80AC1D8C 3C0140E0 */ lui $at, 0x40E0 ## $at = 40E00000
|
||||
/* 01730 80AC1D90 4606703C */ c.lt.s $f14, $f6
|
||||
/* 01734 80AC1D94 00000000 */ nop
|
||||
/* 01738 80AC1D98 4502000D */ bc1fl .L80AC1DD0
|
||||
/* 0173C 80AC1D9C 44815000 */ mtc1 $at, $f10 ## $f10 = 7.00
|
||||
/* 01740 80AC1DA0 3C013F80 */ lui $at, 0x3F80 ## $at = 3F800000
|
||||
/* 01744 80AC1DA4 44818000 */ mtc1 $at, $f16 ## $f16 = 1.00
|
||||
/* 01748 80AC1DA8 3C013E00 */ lui $at, 0x3E00 ## $at = 3E000000
|
||||
/* 0174C 80AC1DAC 44814000 */ mtc1 $at, $f8 ## $f8 = 0.12
|
||||
/* 01750 80AC1DB0 00000000 */ nop
|
||||
/* 01754 80AC1DB4 46087482 */ mul.s $f18, $f14, $f8
|
||||
/* 01758 80AC1DB8 46109000 */ add.s $f0, $f18, $f16
|
||||
/* 0175C 80AC1DBC E480036C */ swc1 $f0, 0x036C($a0) ## 0000036C
|
||||
/* 01760 80AC1DC0 E4800368 */ swc1 $f0, 0x0368($a0) ## 00000368
|
||||
/* 01764 80AC1DC4 10000054 */ beq $zero, $zero, .L80AC1F18
|
||||
/* 01768 80AC1DC8 E4800364 */ swc1 $f0, 0x0364($a0) ## 00000364
|
||||
/* 0176C 80AC1DCC 44815000 */ mtc1 $at, $f10 ## $f10 = 0.12
|
||||
.L80AC1DD0:
|
||||
/* 01770 80AC1DD0 3C014188 */ lui $at, 0x4188 ## $at = 41880000
|
||||
/* 01774 80AC1DD4 460A703C */ c.lt.s $f14, $f10
|
||||
/* 01778 80AC1DD8 00000000 */ nop
|
||||
/* 0177C 80AC1DDC 4502000F */ bc1fl .L80AC1E1C
|
||||
/* 01780 80AC1DE0 44812000 */ mtc1 $at, $f4 ## $f4 = 17.00
|
||||
/* 01784 80AC1DE4 3C014080 */ lui $at, 0x4080 ## $at = 40800000
|
||||
/* 01788 80AC1DE8 44812000 */ mtc1 $at, $f4 ## $f4 = 4.00
|
||||
/* 0178C 80AC1DEC 3C0180AC */ lui $at, %hi(D_80AC2950) ## $at = 80AC0000
|
||||
/* 01790 80AC1DF0 C4282950 */ lwc1 $f8, %lo(D_80AC2950)($at)
|
||||
/* 01794 80AC1DF4 46047181 */ sub.s $f6, $f14, $f4
|
||||
/* 01798 80AC1DF8 3C013FC0 */ lui $at, 0x3FC0 ## $at = 3FC00000
|
||||
/* 0179C 80AC1DFC 44815000 */ mtc1 $at, $f10 ## $f10 = 1.50
|
||||
/* 017A0 80AC1E00 46083482 */ mul.s $f18, $f6, $f8
|
||||
/* 017A4 80AC1E04 46125001 */ sub.s $f0, $f10, $f18
|
||||
/* 017A8 80AC1E08 E480036C */ swc1 $f0, 0x036C($a0) ## 0000036C
|
||||
/* 017AC 80AC1E0C E4800368 */ swc1 $f0, 0x0368($a0) ## 00000368
|
||||
/* 017B0 80AC1E10 10000041 */ beq $zero, $zero, .L80AC1F18
|
||||
/* 017B4 80AC1E14 E4800364 */ swc1 $f0, 0x0364($a0) ## 00000364
|
||||
/* 017B8 80AC1E18 44812000 */ mtc1 $at, $f4 ## $f4 = 1.50
|
||||
.L80AC1E1C:
|
||||
/* 017BC 80AC1E1C 3C0180AC */ lui $at, %hi(D_80AC295C) ## $at = 80AC0000
|
||||
/* 017C0 80AC1E20 4604703C */ c.lt.s $f14, $f4
|
||||
/* 017C4 80AC1E24 00000000 */ nop
|
||||
/* 017C8 80AC1E28 4500000E */ bc1f .L80AC1E64
|
||||
/* 017CC 80AC1E2C 00000000 */ nop
|
||||
/* 017D0 80AC1E30 3C0180AC */ lui $at, %hi(D_80AC2954) ## $at = 80AC0000
|
||||
/* 017D4 80AC1E34 C42C2954 */ lwc1 $f12, %lo(D_80AC2954)($at)
|
||||
/* 017D8 80AC1E38 3C0140C0 */ lui $at, 0x40C0 ## $at = 40C00000
|
||||
/* 017DC 80AC1E3C 44813000 */ mtc1 $at, $f6 ## $f6 = 6.00
|
||||
/* 017E0 80AC1E40 3C0180AC */ lui $at, %hi(D_80AC2958) ## $at = 80AC0000
|
||||
/* 017E4 80AC1E44 C42A2958 */ lwc1 $f10, %lo(D_80AC2958)($at)
|
||||
/* 017E8 80AC1E48 46067201 */ sub.s $f8, $f14, $f6
|
||||
/* 017EC 80AC1E4C E48C0368 */ swc1 $f12, 0x0368($a0) ## 00000368
|
||||
/* 017F0 80AC1E50 460A4482 */ mul.s $f18, $f8, $f10
|
||||
/* 017F4 80AC1E54 460C9000 */ add.s $f0, $f18, $f12
|
||||
/* 017F8 80AC1E58 E480036C */ swc1 $f0, 0x036C($a0) ## 0000036C
|
||||
/* 017FC 80AC1E5C 1000002E */ beq $zero, $zero, .L80AC1F18
|
||||
/* 01800 80AC1E60 E4800364 */ swc1 $f0, 0x0364($a0) ## 00000364
|
||||
.L80AC1E64:
|
||||
/* 01804 80AC1E64 C42C295C */ lwc1 $f12, %lo(D_80AC295C)($at)
|
||||
/* 01808 80AC1E68 3C014180 */ lui $at, 0x4180 ## $at = 41800000
|
||||
/* 0180C 80AC1E6C 44812000 */ mtc1 $at, $f4 ## $f4 = 16.00
|
||||
/* 01810 80AC1E70 3C0180AC */ lui $at, %hi(D_80AC2960) ## $at = 80AC0000
|
||||
/* 01814 80AC1E74 C4262960 */ lwc1 $f6, %lo(D_80AC2960)($at)
|
||||
/* 01818 80AC1E78 46047001 */ sub.s $f0, $f14, $f4
|
||||
/* 0181C 80AC1E7C 3C0180AC */ lui $at, %hi(D_80AC2964) ## $at = 80AC0000
|
||||
/* 01820 80AC1E80 C4282964 */ lwc1 $f8, %lo(D_80AC2964)($at)
|
||||
/* 01824 80AC1E84 3C0180AC */ lui $at, %hi(D_80AC2968) ## $at = 80AC0000
|
||||
/* 01828 80AC1E88 46080282 */ mul.s $f10, $f0, $f8
|
||||
/* 0182C 80AC1E8C 460A3081 */ sub.s $f2, $f6, $f10
|
||||
/* 01830 80AC1E90 E482036C */ swc1 $f2, 0x036C($a0) ## 0000036C
|
||||
/* 01834 80AC1E94 E4820364 */ swc1 $f2, 0x0364($a0) ## 00000364
|
||||
/* 01838 80AC1E98 C4322968 */ lwc1 $f18, %lo(D_80AC2968)($at)
|
||||
/* 0183C 80AC1E9C 46120102 */ mul.s $f4, $f0, $f18
|
||||
/* 01840 80AC1EA0 460C2200 */ add.s $f8, $f4, $f12
|
||||
/* 01844 80AC1EA4 1000001C */ beq $zero, $zero, .L80AC1F18
|
||||
/* 01848 80AC1EA8 E4880368 */ swc1 $f8, 0x0368($a0) ## 00000368
|
||||
.L80AC1EAC:
|
||||
/* 0184C 80AC1EAC 273911A8 */ addiu $t9, $t9, %lo(func_80AC11A8) ## $t9 = 80AC11A8
|
||||
/* 01850 80AC1EB0 17220014 */ bne $t9, $v0, .L80AC1F04
|
||||
/* 01854 80AC1EB4 3C013F80 */ lui $at, 0x3F80 ## $at = 3F800000
|
||||
/* 01858 80AC1EB8 3C013F80 */ lui $at, 0x3F80 ## $at = 3F800000
|
||||
/* 0185C 80AC1EBC 44818000 */ mtc1 $at, $f16 ## $f16 = 1.00
|
||||
/* 01860 80AC1EC0 3C0180AC */ lui $at, %hi(D_80AC296C) ## $at = 80AC0000
|
||||
/* 01864 80AC1EC4 E490036C */ swc1 $f16, 0x036C($a0) ## 0000036C
|
||||
/* 01868 80AC1EC8 E4900364 */ swc1 $f16, 0x0364($a0) ## 00000364
|
||||
/* 0186C 80AC1ECC C426296C */ lwc1 $f6, %lo(D_80AC296C)($at)
|
||||
/* 01870 80AC1ED0 AFA40018 */ sw $a0, 0x0018($sp)
|
||||
/* 01874 80AC1ED4 460E3302 */ mul.s $f12, $f6, $f14
|
||||
/* 01878 80AC1ED8 0C0400A4 */ jal sinf
|
||||
|
||||
/* 0187C 80AC1EDC 00000000 */ nop
|
||||
/* 01880 80AC1EE0 3C013F80 */ lui $at, 0x3F80 ## $at = 3F800000
|
||||
/* 01884 80AC1EE4 44818000 */ mtc1 $at, $f16 ## $f16 = 1.00
|
||||
/* 01888 80AC1EE8 3C0180AC */ lui $at, %hi(D_80AC2970) ## $at = 80AC0000
|
||||
/* 0188C 80AC1EEC C42A2970 */ lwc1 $f10, %lo(D_80AC2970)($at)
|
||||
/* 01890 80AC1EF0 8FA40018 */ lw $a0, 0x0018($sp)
|
||||
/* 01894 80AC1EF4 460A0482 */ mul.s $f18, $f0, $f10
|
||||
/* 01898 80AC1EF8 46109100 */ add.s $f4, $f18, $f16
|
||||
/* 0189C 80AC1EFC 10000006 */ beq $zero, $zero, .L80AC1F18
|
||||
/* 018A0 80AC1F00 E4840368 */ swc1 $f4, 0x0368($a0) ## 00000368
|
||||
.L80AC1F04:
|
||||
/* 018A4 80AC1F04 44818000 */ mtc1 $at, $f16 ## $f16 = -0.00
|
||||
/* 018A8 80AC1F08 00000000 */ nop
|
||||
/* 018AC 80AC1F0C E490036C */ swc1 $f16, 0x036C($a0) ## 0000036C
|
||||
/* 018B0 80AC1F10 E4900368 */ swc1 $f16, 0x0368($a0) ## 00000368
|
||||
/* 018B4 80AC1F14 E4900364 */ swc1 $f16, 0x0364($a0) ## 00000364
|
||||
.L80AC1F18:
|
||||
/* 018B8 80AC1F18 8FBF0014 */ lw $ra, 0x0014($sp)
|
||||
/* 018BC 80AC1F1C 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
|
||||
/* 018C0 80AC1F20 03E00008 */ jr $ra
|
||||
/* 018C4 80AC1F24 00000000 */ nop
|
|
@ -1,48 +0,0 @@
|
|||
glabel func_80AC1F28
|
||||
/* 018C8 80AC1F28 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
|
||||
/* 018CC 80AC1F2C AFBF0014 */ sw $ra, 0x0014($sp)
|
||||
/* 018D0 80AC1F30 AFA5001C */ sw $a1, 0x001C($sp)
|
||||
/* 018D4 80AC1F34 90820381 */ lbu $v0, 0x0381($a0) ## 00000381
|
||||
/* 018D8 80AC1F38 00803825 */ or $a3, $a0, $zero ## $a3 = 00000000
|
||||
/* 018DC 80AC1F3C 24E50388 */ addiu $a1, $a3, 0x0388 ## $a1 = 00000388
|
||||
/* 018E0 80AC1F40 304E0002 */ andi $t6, $v0, 0x0002 ## $t6 = 00000000
|
||||
/* 018E4 80AC1F44 11C0001F */ beq $t6, $zero, .L80AC1FC4
|
||||
/* 018E8 80AC1F48 304FFFFD */ andi $t7, $v0, 0xFFFD ## $t7 = 00000000
|
||||
/* 018EC 80AC1F4C A08F0381 */ sb $t7, 0x0381($a0) ## 00000381
|
||||
/* 018F0 80AC1F50 AFA70018 */ sw $a3, 0x0018($sp)
|
||||
/* 018F4 80AC1F54 0C00D594 */ jal func_80035650
|
||||
/* 018F8 80AC1F58 24060001 */ addiu $a2, $zero, 0x0001 ## $a2 = 00000001
|
||||
/* 018FC 80AC1F5C 8FA70018 */ lw $a3, 0x0018($sp)
|
||||
/* 01900 80AC1F60 8FA4001C */ lw $a0, 0x001C($sp)
|
||||
/* 01904 80AC1F64 90F800B1 */ lbu $t8, 0x00B1($a3) ## 000000B1
|
||||
/* 01908 80AC1F68 00E02825 */ or $a1, $a3, $zero ## $a1 = 00000000
|
||||
/* 0190C 80AC1F6C 17000004 */ bne $t8, $zero, .L80AC1F80
|
||||
/* 01910 80AC1F70 00000000 */ nop
|
||||
/* 01914 80AC1F74 90F900B0 */ lbu $t9, 0x00B0($a3) ## 000000B0
|
||||
/* 01918 80AC1F78 53200013 */ beql $t9, $zero, .L80AC1FC8
|
||||
/* 0191C 80AC1F7C 8FBF0014 */ lw $ra, 0x0014($sp)
|
||||
.L80AC1F80:
|
||||
/* 01920 80AC1F80 0C00CB1F */ jal func_80032C7C
|
||||
/* 01924 80AC1F84 AFA70018 */ sw $a3, 0x0018($sp)
|
||||
/* 01928 80AC1F88 8FA70018 */ lw $a3, 0x0018($sp)
|
||||
/* 0192C 80AC1F8C 2401FFFE */ addiu $at, $zero, 0xFFFE ## $at = FFFFFFFE
|
||||
/* 01930 80AC1F90 8CE80004 */ lw $t0, 0x0004($a3) ## 00000004
|
||||
/* 01934 80AC1F94 90EA00B1 */ lbu $t2, 0x00B1($a3) ## 000000B1
|
||||
/* 01938 80AC1F98 A0E000AF */ sb $zero, 0x00AF($a3) ## 000000AF
|
||||
/* 0193C 80AC1F9C 01014824 */ and $t1, $t0, $at
|
||||
/* 01940 80AC1FA0 24010003 */ addiu $at, $zero, 0x0003 ## $at = 00000003
|
||||
/* 01944 80AC1FA4 15410005 */ bne $t2, $at, .L80AC1FBC
|
||||
/* 01948 80AC1FA8 ACE90004 */ sw $t1, 0x0004($a3) ## 00000004
|
||||
/* 0194C 80AC1FAC 0C2B035F */ jal func_80AC0D7C
|
||||
/* 01950 80AC1FB0 00E02025 */ or $a0, $a3, $zero ## $a0 = 00000000
|
||||
/* 01954 80AC1FB4 10000004 */ beq $zero, $zero, .L80AC1FC8
|
||||
/* 01958 80AC1FB8 8FBF0014 */ lw $ra, 0x0014($sp)
|
||||
.L80AC1FBC:
|
||||
/* 0195C 80AC1FBC 0C2B032B */ jal func_80AC0CAC
|
||||
/* 01960 80AC1FC0 00E02025 */ or $a0, $a3, $zero ## $a0 = 00000000
|
||||
.L80AC1FC4:
|
||||
/* 01964 80AC1FC4 8FBF0014 */ lw $ra, 0x0014($sp)
|
||||
.L80AC1FC8:
|
||||
/* 01968 80AC1FC8 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
|
||||
/* 0196C 80AC1FCC 03E00008 */ jr $ra
|
||||
/* 01970 80AC1FD0 00000000 */ nop
|
|
@ -1,189 +0,0 @@
|
|||
.late_rodata
|
||||
glabel D_80AC2974
|
||||
.word 0x3E490FDB
|
||||
glabel D_80AC2978
|
||||
.float 0.4
|
||||
|
||||
glabel D_80AC297C
|
||||
.word 0x3D9D7DBF
|
||||
glabel D_80AC2980
|
||||
.word 0x3EAA7EFA
|
||||
glabel D_80AC2984
|
||||
.float 0.2
|
||||
|
||||
.text
|
||||
glabel func_80AC2350
|
||||
/* 01CF0 80AC2350 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
|
||||
/* 01CF4 80AC2354 AFBF0014 */ sw $ra, 0x0014($sp)
|
||||
/* 01CF8 80AC2358 8C820190 */ lw $v0, 0x0190($a0) ## 00000190
|
||||
/* 01CFC 80AC235C 3C0E80AC */ lui $t6, %hi(func_80AC11A8) ## $t6 = 80AC0000
|
||||
/* 01D00 80AC2360 44857000 */ mtc1 $a1, $f14 ## $f14 = 0.00
|
||||
/* 01D04 80AC2364 25CE11A8 */ addiu $t6, $t6, %lo(func_80AC11A8) ## $t6 = 80AC11A8
|
||||
/* 01D08 80AC2368 15C20014 */ bne $t6, $v0, .L80AC23BC
|
||||
/* 01D0C 80AC236C 3C0F80AC */ lui $t7, %hi(func_80AC12D8) ## $t7 = 80AC0000
|
||||
/* 01D10 80AC2370 3C013F80 */ lui $at, 0x3F80 ## $at = 3F800000
|
||||
/* 01D14 80AC2374 44818000 */ mtc1 $at, $f16 ## $f16 = 1.00
|
||||
/* 01D18 80AC2378 3C0180AC */ lui $at, %hi(D_80AC2974) ## $at = 80AC0000
|
||||
/* 01D1C 80AC237C E4D00008 */ swc1 $f16, 0x0008($a2) ## 00000008
|
||||
/* 01D20 80AC2380 E4D00000 */ swc1 $f16, 0x0000($a2) ## 00000000
|
||||
/* 01D24 80AC2384 C4242974 */ lwc1 $f4, %lo(D_80AC2974)($at)
|
||||
/* 01D28 80AC2388 AFA60020 */ sw $a2, 0x0020($sp)
|
||||
/* 01D2C 80AC238C 460E2302 */ mul.s $f12, $f4, $f14
|
||||
/* 01D30 80AC2390 0C0400A4 */ jal sinf
|
||||
|
||||
/* 01D34 80AC2394 00000000 */ nop
|
||||
/* 01D38 80AC2398 3C013F80 */ lui $at, 0x3F80 ## $at = 3F800000
|
||||
/* 01D3C 80AC239C 44818000 */ mtc1 $at, $f16 ## $f16 = 1.00
|
||||
/* 01D40 80AC23A0 3C0180AC */ lui $at, %hi(D_80AC2978) ## $at = 80AC0000
|
||||
/* 01D44 80AC23A4 C4262978 */ lwc1 $f6, %lo(D_80AC2978)($at)
|
||||
/* 01D48 80AC23A8 8FA60020 */ lw $a2, 0x0020($sp)
|
||||
/* 01D4C 80AC23AC 46060202 */ mul.s $f8, $f0, $f6
|
||||
/* 01D50 80AC23B0 46104280 */ add.s $f10, $f8, $f16
|
||||
/* 01D54 80AC23B4 10000083 */ beq $zero, $zero, .L80AC25C4
|
||||
/* 01D58 80AC23B8 E4CA0004 */ swc1 $f10, 0x0004($a2) ## 00000004
|
||||
.L80AC23BC:
|
||||
/* 01D5C 80AC23BC 25EF12D8 */ addiu $t7, $t7, %lo(func_80AC12D8) ## $t7 = 000012D8
|
||||
/* 01D60 80AC23C0 15E20036 */ bne $t7, $v0, .L80AC249C
|
||||
/* 01D64 80AC23C4 3C1880AC */ lui $t8, %hi(func_80AC14A8) ## $t8 = 80AC0000
|
||||
/* 01D68 80AC23C8 3C0140A0 */ lui $at, 0x40A0 ## $at = 40A00000
|
||||
/* 01D6C 80AC23CC 44819000 */ mtc1 $at, $f18 ## $f18 = 5.00
|
||||
/* 01D70 80AC23D0 3C0140E0 */ lui $at, 0x40E0 ## $at = 40E00000
|
||||
/* 01D74 80AC23D4 4612703C */ c.lt.s $f14, $f18
|
||||
/* 01D78 80AC23D8 00000000 */ nop
|
||||
/* 01D7C 80AC23DC 4502000C */ bc1fl .L80AC2410
|
||||
/* 01D80 80AC23E0 44814000 */ mtc1 $at, $f8 ## $f8 = 7.00
|
||||
/* 01D84 80AC23E4 3C013F80 */ lui $at, 0x3F80 ## $at = 3F800000
|
||||
/* 01D88 80AC23E8 44818000 */ mtc1 $at, $f16 ## $f16 = 1.00
|
||||
/* 01D8C 80AC23EC 3C013E80 */ lui $at, 0x3E80 ## $at = 3E800000
|
||||
/* 01D90 80AC23F0 44812000 */ mtc1 $at, $f4 ## $f4 = 0.25
|
||||
/* 01D94 80AC23F4 E4D00000 */ swc1 $f16, 0x0000($a2) ## 00000000
|
||||
/* 01D98 80AC23F8 46047182 */ mul.s $f6, $f14, $f4
|
||||
/* 01D9C 80AC23FC 46103000 */ add.s $f0, $f6, $f16
|
||||
/* 01DA0 80AC2400 E4C00008 */ swc1 $f0, 0x0008($a2) ## 00000008
|
||||
/* 01DA4 80AC2404 1000006F */ beq $zero, $zero, .L80AC25C4
|
||||
/* 01DA8 80AC2408 E4C00004 */ swc1 $f0, 0x0004($a2) ## 00000004
|
||||
/* 01DAC 80AC240C 44814000 */ mtc1 $at, $f8 ## $f8 = 0.25
|
||||
.L80AC2410:
|
||||
/* 01DB0 80AC2410 3C013F80 */ lui $at, 0x3F80 ## $at = 3F800000
|
||||
/* 01DB4 80AC2414 4608703C */ c.lt.s $f14, $f8
|
||||
/* 01DB8 80AC2418 00000000 */ nop
|
||||
/* 01DBC 80AC241C 45020012 */ bc1fl .L80AC2468
|
||||
/* 01DC0 80AC2420 44818000 */ mtc1 $at, $f16 ## $f16 = 1.00
|
||||
/* 01DC4 80AC2424 3C013F80 */ lui $at, 0x3F80 ## $at = 3F800000
|
||||
/* 01DC8 80AC2428 44818000 */ mtc1 $at, $f16 ## $f16 = 1.00
|
||||
/* 01DCC 80AC242C 3C014080 */ lui $at, 0x4080 ## $at = 40800000
|
||||
/* 01DD0 80AC2430 44815000 */ mtc1 $at, $f10 ## $f10 = 4.00
|
||||
/* 01DD4 80AC2434 3C013F00 */ lui $at, 0x3F00 ## $at = 3F000000
|
||||
/* 01DD8 80AC2438 44812000 */ mtc1 $at, $f4 ## $f4 = 0.50
|
||||
/* 01DDC 80AC243C 460A7481 */ sub.s $f18, $f14, $f10
|
||||
/* 01DE0 80AC2440 3C014000 */ lui $at, 0x4000 ## $at = 40000000
|
||||
/* 01DE4 80AC2444 44814000 */ mtc1 $at, $f8 ## $f8 = 2.00
|
||||
/* 01DE8 80AC2448 46049002 */ mul.s $f0, $f18, $f4
|
||||
/* 01DEC 80AC244C 46004081 */ sub.s $f2, $f8, $f0
|
||||
/* 01DF0 80AC2450 46100180 */ add.s $f6, $f0, $f16
|
||||
/* 01DF4 80AC2454 E4C20008 */ swc1 $f2, 0x0008($a2) ## 00000008
|
||||
/* 01DF8 80AC2458 E4C20004 */ swc1 $f2, 0x0004($a2) ## 00000004
|
||||
/* 01DFC 80AC245C 10000059 */ beq $zero, $zero, .L80AC25C4
|
||||
/* 01E00 80AC2460 E4C60000 */ swc1 $f6, 0x0000($a2) ## 00000000
|
||||
/* 01E04 80AC2464 44818000 */ mtc1 $at, $f16 ## $f16 = 2.00
|
||||
.L80AC2468:
|
||||
/* 01E08 80AC2468 3C0140C0 */ lui $at, 0x40C0 ## $at = 40C00000
|
||||
/* 01E0C 80AC246C 44815000 */ mtc1 $at, $f10 ## $f10 = 6.00
|
||||
/* 01E10 80AC2470 3C0180AC */ lui $at, %hi(D_80AC297C) ## $at = 80AC0000
|
||||
/* 01E14 80AC2474 C424297C */ lwc1 $f4, %lo(D_80AC297C)($at)
|
||||
/* 01E18 80AC2478 460A7481 */ sub.s $f18, $f14, $f10
|
||||
/* 01E1C 80AC247C 3C014000 */ lui $at, 0x4000 ## $at = 40000000
|
||||
/* 01E20 80AC2480 44814000 */ mtc1 $at, $f8 ## $f8 = 2.00
|
||||
/* 01E24 80AC2484 E4D00004 */ swc1 $f16, 0x0004($a2) ## 00000004
|
||||
/* 01E28 80AC2488 46049182 */ mul.s $f6, $f18, $f4
|
||||
/* 01E2C 80AC248C E4D00008 */ swc1 $f16, 0x0008($a2) ## 00000008
|
||||
/* 01E30 80AC2490 46064281 */ sub.s $f10, $f8, $f6
|
||||
/* 01E34 80AC2494 1000004B */ beq $zero, $zero, .L80AC25C4
|
||||
/* 01E38 80AC2498 E4CA0000 */ swc1 $f10, 0x0000($a2) ## 00000000
|
||||
.L80AC249C:
|
||||
/* 01E3C 80AC249C 271814A8 */ addiu $t8, $t8, %lo(func_80AC14A8) ## $t8 = 80AC14A8
|
||||
/* 01E40 80AC24A0 17020046 */ bne $t8, $v0, .L80AC25BC
|
||||
/* 01E44 80AC24A4 3C01420C */ lui $at, 0x420C ## $at = 420C0000
|
||||
/* 01E48 80AC24A8 44819000 */ mtc1 $at, $f18 ## $f18 = 35.00
|
||||
/* 01E4C 80AC24AC 3C0141C8 */ lui $at, 0x41C8 ## $at = 41C80000
|
||||
/* 01E50 80AC24B0 460E903E */ c.le.s $f18, $f14
|
||||
/* 01E54 80AC24B4 00000000 */ nop
|
||||
/* 01E58 80AC24B8 45010007 */ bc1t .L80AC24D8
|
||||
/* 01E5C 80AC24BC 00000000 */ nop
|
||||
/* 01E60 80AC24C0 44812000 */ mtc1 $at, $f4 ## $f4 = 25.00
|
||||
/* 01E64 80AC24C4 3C0141D8 */ lui $at, 0x41D8 ## $at = 41D80000
|
||||
/* 01E68 80AC24C8 4604703C */ c.lt.s $f14, $f4
|
||||
/* 01E6C 80AC24CC 00000000 */ nop
|
||||
/* 01E70 80AC24D0 45020004 */ bc1fl .L80AC24E4
|
||||
/* 01E74 80AC24D4 44814000 */ mtc1 $at, $f8 ## $f8 = 27.00
|
||||
.L80AC24D8:
|
||||
/* 01E78 80AC24D8 1000003B */ beq $zero, $zero, .L80AC25C8
|
||||
/* 01E7C 80AC24DC 00001025 */ or $v0, $zero, $zero ## $v0 = 00000000
|
||||
/* 01E80 80AC24E0 44814000 */ mtc1 $at, $f8 ## $f8 = 27.00
|
||||
.L80AC24E4:
|
||||
/* 01E84 80AC24E4 3C0141F0 */ lui $at, 0x41F0 ## $at = 41F00000
|
||||
/* 01E88 80AC24E8 4608703C */ c.lt.s $f14, $f8
|
||||
/* 01E8C 80AC24EC 00000000 */ nop
|
||||
/* 01E90 80AC24F0 4502000F */ bc1fl .L80AC2530
|
||||
/* 01E94 80AC24F4 44814000 */ mtc1 $at, $f8 ## $f8 = 30.00
|
||||
/* 01E98 80AC24F8 3C013F80 */ lui $at, 0x3F80 ## $at = 3F800000
|
||||
/* 01E9C 80AC24FC 44818000 */ mtc1 $at, $f16 ## $f16 = 1.00
|
||||
/* 01EA0 80AC2500 3C0141C0 */ lui $at, 0x41C0 ## $at = 41C00000
|
||||
/* 01EA4 80AC2504 44813000 */ mtc1 $at, $f6 ## $f6 = 24.00
|
||||
/* 01EA8 80AC2508 3C013F00 */ lui $at, 0x3F00 ## $at = 3F000000
|
||||
/* 01EAC 80AC250C 44819000 */ mtc1 $at, $f18 ## $f18 = 0.50
|
||||
/* 01EB0 80AC2510 46067281 */ sub.s $f10, $f14, $f6
|
||||
/* 01EB4 80AC2514 E4D00000 */ swc1 $f16, 0x0000($a2) ## 00000000
|
||||
/* 01EB8 80AC2518 46125102 */ mul.s $f4, $f10, $f18
|
||||
/* 01EBC 80AC251C 46102000 */ add.s $f0, $f4, $f16
|
||||
/* 01EC0 80AC2520 E4C00008 */ swc1 $f0, 0x0008($a2) ## 00000008
|
||||
/* 01EC4 80AC2524 10000027 */ beq $zero, $zero, .L80AC25C4
|
||||
/* 01EC8 80AC2528 E4C00004 */ swc1 $f0, 0x0004($a2) ## 00000004
|
||||
/* 01ECC 80AC252C 44814000 */ mtc1 $at, $f8 ## $f8 = 0.50
|
||||
.L80AC2530:
|
||||
/* 01ED0 80AC2530 3C013F80 */ lui $at, 0x3F80 ## $at = 3F800000
|
||||
/* 01ED4 80AC2534 4608703C */ c.lt.s $f14, $f8
|
||||
/* 01ED8 80AC2538 00000000 */ nop
|
||||
/* 01EDC 80AC253C 45020012 */ bc1fl .L80AC2588
|
||||
/* 01EE0 80AC2540 44818000 */ mtc1 $at, $f16 ## $f16 = 1.00
|
||||
/* 01EE4 80AC2544 3C013F80 */ lui $at, 0x3F80 ## $at = 3F800000
|
||||
/* 01EE8 80AC2548 44818000 */ mtc1 $at, $f16 ## $f16 = 1.00
|
||||
/* 01EEC 80AC254C 3C0141D0 */ lui $at, 0x41D0 ## $at = 41D00000
|
||||
/* 01EF0 80AC2550 44813000 */ mtc1 $at, $f6 ## $f6 = 26.00
|
||||
/* 01EF4 80AC2554 3C0180AC */ lui $at, %hi(D_80AC2980) ## $at = 80AC0000
|
||||
/* 01EF8 80AC2558 C4322980 */ lwc1 $f18, %lo(D_80AC2980)($at)
|
||||
/* 01EFC 80AC255C 46067281 */ sub.s $f10, $f14, $f6
|
||||
/* 01F00 80AC2560 3C014000 */ lui $at, 0x4000 ## $at = 40000000
|
||||
/* 01F04 80AC2564 44814000 */ mtc1 $at, $f8 ## $f8 = 2.00
|
||||
/* 01F08 80AC2568 46125002 */ mul.s $f0, $f10, $f18
|
||||
/* 01F0C 80AC256C 46004081 */ sub.s $f2, $f8, $f0
|
||||
/* 01F10 80AC2570 46100100 */ add.s $f4, $f0, $f16
|
||||
/* 01F14 80AC2574 E4C20008 */ swc1 $f2, 0x0008($a2) ## 00000008
|
||||
/* 01F18 80AC2578 E4C20004 */ swc1 $f2, 0x0004($a2) ## 00000004
|
||||
/* 01F1C 80AC257C 10000011 */ beq $zero, $zero, .L80AC25C4
|
||||
/* 01F20 80AC2580 E4C40000 */ swc1 $f4, 0x0000($a2) ## 00000000
|
||||
/* 01F24 80AC2584 44818000 */ mtc1 $at, $f16 ## $f16 = 2.00
|
||||
.L80AC2588:
|
||||
/* 01F28 80AC2588 3C0141E8 */ lui $at, 0x41E8 ## $at = 41E80000
|
||||
/* 01F2C 80AC258C 44813000 */ mtc1 $at, $f6 ## $f6 = 29.00
|
||||
/* 01F30 80AC2590 3C0180AC */ lui $at, %hi(D_80AC2984) ## $at = 80AC0000
|
||||
/* 01F34 80AC2594 C4322984 */ lwc1 $f18, %lo(D_80AC2984)($at)
|
||||
/* 01F38 80AC2598 46067281 */ sub.s $f10, $f14, $f6
|
||||
/* 01F3C 80AC259C 3C014000 */ lui $at, 0x4000 ## $at = 40000000
|
||||
/* 01F40 80AC25A0 44814000 */ mtc1 $at, $f8 ## $f8 = 2.00
|
||||
/* 01F44 80AC25A4 E4D00004 */ swc1 $f16, 0x0004($a2) ## 00000004
|
||||
/* 01F48 80AC25A8 46125102 */ mul.s $f4, $f10, $f18
|
||||
/* 01F4C 80AC25AC E4D00008 */ swc1 $f16, 0x0008($a2) ## 00000008
|
||||
/* 01F50 80AC25B0 46044181 */ sub.s $f6, $f8, $f4
|
||||
/* 01F54 80AC25B4 10000003 */ beq $zero, $zero, .L80AC25C4
|
||||
/* 01F58 80AC25B8 E4C60000 */ swc1 $f6, 0x0000($a2) ## 00000000
|
||||
.L80AC25BC:
|
||||
/* 01F5C 80AC25BC 10000002 */ beq $zero, $zero, .L80AC25C8
|
||||
/* 01F60 80AC25C0 00001025 */ or $v0, $zero, $zero ## $v0 = 00000000
|
||||
.L80AC25C4:
|
||||
/* 01F64 80AC25C4 24020001 */ addiu $v0, $zero, 0x0001 ## $v0 = 00000001
|
||||
.L80AC25C8:
|
||||
/* 01F68 80AC25C8 8FBF0014 */ lw $ra, 0x0014($sp)
|
||||
/* 01F6C 80AC25CC 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
|
||||
/* 01F70 80AC25D0 03E00008 */ jr $ra
|
||||
/* 01F74 80AC25D4 00000000 */ nop
|
|
@ -1,69 +0,0 @@
|
|||
glabel func_80AC25D8
|
||||
/* 01F78 80AC25D8 27BDFFD0 */ addiu $sp, $sp, 0xFFD0 ## $sp = FFFFFFD0
|
||||
/* 01F7C 80AC25DC AFA40030 */ sw $a0, 0x0030($sp)
|
||||
/* 01F80 80AC25E0 8FA40044 */ lw $a0, 0x0044($sp)
|
||||
/* 01F84 80AC25E4 AFBF0014 */ sw $ra, 0x0014($sp)
|
||||
/* 01F88 80AC25E8 AFA60038 */ sw $a2, 0x0038($sp)
|
||||
/* 01F8C 80AC25EC AFA7003C */ sw $a3, 0x003C($sp)
|
||||
/* 01F90 80AC25F0 8C8F0190 */ lw $t7, 0x0190($a0) ## 00000190
|
||||
/* 01F94 80AC25F4 3C0E80AC */ lui $t6, %hi(func_80AC14A8) ## $t6 = 80AC0000
|
||||
/* 01F98 80AC25F8 25CE14A8 */ addiu $t6, $t6, %lo(func_80AC14A8) ## $t6 = 80AC14A8
|
||||
/* 01F9C 80AC25FC 00001825 */ or $v1, $zero, $zero ## $v1 = 00000000
|
||||
/* 01FA0 80AC2600 15CF0006 */ bne $t6, $t7, .L80AC261C
|
||||
/* 01FA4 80AC2604 C4800164 */ lwc1 $f0, 0x0164($a0) ## 00000164
|
||||
/* 01FA8 80AC2608 84980194 */ lh $t8, 0x0194($a0) ## 00000194
|
||||
/* 01FAC 80AC260C 44982000 */ mtc1 $t8, $f4 ## $f4 = 0.00
|
||||
/* 01FB0 80AC2610 00000000 */ nop
|
||||
/* 01FB4 80AC2614 468021A0 */ cvt.s.w $f6, $f4
|
||||
/* 01FB8 80AC2618 46060000 */ add.s $f0, $f0, $f6
|
||||
.L80AC261C:
|
||||
/* 01FBC 80AC261C 24010005 */ addiu $at, $zero, 0x0005 ## $at = 00000005
|
||||
/* 01FC0 80AC2620 14A1001A */ bne $a1, $at, .L80AC268C
|
||||
/* 01FC4 80AC2624 3C013F80 */ lui $at, 0x3F80 ## $at = 3F800000
|
||||
/* 01FC8 80AC2628 44810000 */ mtc1 $at, $f0 ## $f0 = 1.00
|
||||
/* 01FCC 80AC262C C4880364 */ lwc1 $f8, 0x0364($a0) ## 00000364
|
||||
/* 01FD0 80AC2630 46080032 */ c.eq.s $f0, $f8
|
||||
/* 01FD4 80AC2634 00000000 */ nop
|
||||
/* 01FD8 80AC2638 4502000C */ bc1fl .L80AC266C
|
||||
/* 01FDC 80AC263C 8C890364 */ lw $t1, 0x0364($a0) ## 00000364
|
||||
/* 01FE0 80AC2640 C48A0368 */ lwc1 $f10, 0x0368($a0) ## 00000368
|
||||
/* 01FE4 80AC2644 460A0032 */ c.eq.s $f0, $f10
|
||||
/* 01FE8 80AC2648 00000000 */ nop
|
||||
/* 01FEC 80AC264C 45020007 */ bc1fl .L80AC266C
|
||||
/* 01FF0 80AC2650 8C890364 */ lw $t1, 0x0364($a0) ## 00000364
|
||||
/* 01FF4 80AC2654 C490036C */ lwc1 $f16, 0x036C($a0) ## 0000036C
|
||||
/* 01FF8 80AC2658 46100032 */ c.eq.s $f0, $f16
|
||||
/* 01FFC 80AC265C 00000000 */ nop
|
||||
/* 02000 80AC2660 45010011 */ bc1t .L80AC26A8
|
||||
/* 02004 80AC2664 00000000 */ nop
|
||||
/* 02008 80AC2668 8C890364 */ lw $t1, 0x0364($a0) ## 00000364
|
||||
.L80AC266C:
|
||||
/* 0200C 80AC266C 27B9001C */ addiu $t9, $sp, 0x001C ## $t9 = FFFFFFEC
|
||||
/* 02010 80AC2670 24030001 */ addiu $v1, $zero, 0x0001 ## $v1 = 00000001
|
||||
/* 02014 80AC2674 AF290000 */ sw $t1, 0x0000($t9) ## FFFFFFEC
|
||||
/* 02018 80AC2678 8C880368 */ lw $t0, 0x0368($a0) ## 00000368
|
||||
/* 0201C 80AC267C AF280004 */ sw $t0, 0x0004($t9) ## FFFFFFF0
|
||||
/* 02020 80AC2680 8C89036C */ lw $t1, 0x036C($a0) ## 0000036C
|
||||
/* 02024 80AC2684 10000008 */ beq $zero, $zero, .L80AC26A8
|
||||
/* 02028 80AC2688 AF290008 */ sw $t1, 0x0008($t9) ## FFFFFFF4
|
||||
.L80AC268C:
|
||||
/* 0202C 80AC268C 24010008 */ addiu $at, $zero, 0x0008 ## $at = 00000008
|
||||
/* 02030 80AC2690 14A10005 */ bne $a1, $at, .L80AC26A8
|
||||
/* 02034 80AC2694 00000000 */ nop
|
||||
/* 02038 80AC2698 44050000 */ mfc1 $a1, $f0
|
||||
/* 0203C 80AC269C 0C2B08D4 */ jal func_80AC2350
|
||||
/* 02040 80AC26A0 27A6001C */ addiu $a2, $sp, 0x001C ## $a2 = FFFFFFEC
|
||||
/* 02044 80AC26A4 00401825 */ or $v1, $v0, $zero ## $v1 = 00000000
|
||||
.L80AC26A8:
|
||||
/* 02048 80AC26A8 10600005 */ beq $v1, $zero, .L80AC26C0
|
||||
/* 0204C 80AC26AC C7AC001C */ lwc1 $f12, 0x001C($sp)
|
||||
/* 02050 80AC26B0 C7AE0020 */ lwc1 $f14, 0x0020($sp)
|
||||
/* 02054 80AC26B4 8FA60024 */ lw $a2, 0x0024($sp)
|
||||
/* 02058 80AC26B8 0C0342A3 */ jal Matrix_Scale
|
||||
/* 0205C 80AC26BC 24070001 */ addiu $a3, $zero, 0x0001 ## $a3 = 00000001
|
||||
.L80AC26C0:
|
||||
/* 02060 80AC26C0 8FBF0014 */ lw $ra, 0x0014($sp)
|
||||
/* 02064 80AC26C4 27BD0030 */ addiu $sp, $sp, 0x0030 ## $sp = 00000000
|
||||
/* 02068 80AC26C8 00001025 */ or $v0, $zero, $zero ## $v0 = 00000000
|
||||
/* 0206C 80AC26CC 03E00008 */ jr $ra
|
||||
/* 02070 80AC26D0 00000000 */ nop
|
|
@ -1,44 +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_Okuta_InitVars
|
||||
.word 0x000E0500, 0x00000005, 0x00070000, 0x000003BC
|
||||
.word EnOkuta_Init
|
||||
.word EnOkuta_Destroy
|
||||
.word EnOkuta_Update
|
||||
.word EnOkuta_Draw
|
||||
glabel D_80AC2820
|
||||
.word 0x0A110939, 0x20010000, 0x00000000, 0xFFCFFFFF, 0x00080000, 0xFFCFFFFF, 0x00000000, 0x09010100, 0x000D0014, 0x00000000, 0x00000000
|
||||
glabel D_80AC284C
|
||||
.word 0x00000939, 0x10010000, 0x01000000, 0x00000000, 0x00000000, 0xFFCFFFFF, 0x00000000, 0x00010100
|
||||
glabel D_80AC286C
|
||||
.byte 0x00, 0x14
|
||||
glabel D_80AC286E
|
||||
.byte 0x00, 0x28, 0xFF, 0xE2, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
glabel D_80AC2878
|
||||
.word 0x0100000F, 0x003C6400
|
||||
glabel D_80AC2880
|
||||
.word 0x00020102, 0x01020202, 0x01020402, 0x34020202, 0x02000000, 0x00000104, 0x02020804, 0x00000400
|
||||
glabel D_80AC28A0
|
||||
.word 0x89170042, 0x304C1964
|
||||
glabel D_80AC28A8
|
||||
.word 0x00000000, 0x00000000, 0x00000000
|
||||
glabel D_80AC28B4
|
||||
.word 0xFFFFFFFF
|
||||
glabel D_80AC28B8
|
||||
.word 0x969696FF
|
||||
glabel D_80AC28BC
|
||||
.word 0x00000000, 0xBF000000, 0x00000000
|
||||
glabel D_80AC28C8
|
||||
.word 0xFFFFFFFF
|
||||
glabel D_80AC28CC
|
||||
.word 0x96969600
|
||||
|
|
@ -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_80AC2990
|
||||
.incbin "baserom/ovl_En_Okuta", 0x2330, 0x00000310
|
|
@ -664,7 +664,7 @@ UNK_TYPE func_80041D4C(CollisionContext*, CollisionPoly*, CollisionPoly*);
|
|||
// ? func_80041F10(?);
|
||||
u16 func_80041F34(CollisionContext*, CollisionPoly*, u32);
|
||||
s32 func_80041FA0(CollisionContext*, CollisionPoly*, u32);
|
||||
// ? func_80042048(?);
|
||||
s32 func_80042048(CollisionContext*, CollisionPoly*, s32);
|
||||
// ? func_80042108(?);
|
||||
s32 func_8004213C(GlobalContext*, CollisionContext*, f32, f32, f32*, UNK_PTR);
|
||||
s32 func_8004239C(GlobalContext* globalCtx, CollisionContext* colCtx, Vec3f* arg2, f32 arg3, WaterBox** arg4);
|
||||
|
|
3
spec
3
spec
|
@ -2837,8 +2837,7 @@ endseg
|
|||
beginseg
|
||||
name "ovl_En_Okuta"
|
||||
include "build/src/overlays/actors/ovl_En_Okuta/z_en_okuta.o"
|
||||
include "build/data/overlays/actors/z_en_okuta.data.o"
|
||||
include "build/data/overlays/actors/z_en_okuta.reloc.o"
|
||||
include "build/src/overlays/actors/ovl_En_Okuta/ovl_En_Okuta_reloc.o"
|
||||
endseg
|
||||
|
||||
beginseg
|
||||
|
|
|
@ -9,7 +9,17 @@ void EnOkuta_Destroy(Actor* thisx, GlobalContext* globalCtx);
|
|||
void EnOkuta_Update(Actor* thisx, GlobalContext* globalCtx);
|
||||
void EnOkuta_Draw(Actor* thisx, GlobalContext* globalCtx);
|
||||
|
||||
/*
|
||||
void EnOkuta_SetupWaitToAppear(EnOkuta* this);
|
||||
void EnOkuta_WaitToAppear(EnOkuta* this, GlobalContext* globalCtx);
|
||||
void EnOkuta_Appear(EnOkuta* this, GlobalContext* globalCtx);
|
||||
void EnOkuta_Hide(EnOkuta* this, GlobalContext* globalCtx);
|
||||
void EnOkuta_WaitToShoot(EnOkuta* this, GlobalContext* globalCtx);
|
||||
void EnOkuta_Shoot(EnOkuta* this, GlobalContext* globalCtx);
|
||||
void EnOkuta_WaitToDie(EnOkuta* this, GlobalContext* globalCtx);
|
||||
void EnOkuta_Die(EnOkuta* this, GlobalContext* globalCtx);
|
||||
void EnOkuta_Freeze(EnOkuta* this, GlobalContext* globalCtx);
|
||||
void EnOkuta_ProjectileFly(EnOkuta* this, GlobalContext* globalCtx);
|
||||
|
||||
const ActorInit En_Okuta_InitVars = {
|
||||
ACTOR_EN_OKUTA,
|
||||
ACTORTYPE_ENEMY,
|
||||
|
@ -21,63 +31,643 @@ const ActorInit En_Okuta_InitVars = {
|
|||
(ActorFunc)EnOkuta_Update,
|
||||
(ActorFunc)EnOkuta_Draw,
|
||||
};
|
||||
*/
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Okuta/EnOkuta_Init.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Okuta/EnOkuta_Destroy.s")
|
||||
extern AnimationHeader D_06000344;
|
||||
extern AnimationHeader D_060008FC;
|
||||
extern AnimationHeader D_06000AC0;
|
||||
extern AnimationHeader D_06000DDC;
|
||||
extern Gfx D_06003380[];
|
||||
extern SkeletonHeader D_06003660;
|
||||
extern AnimationHeader D_06003910;
|
||||
extern AnimationHeader D_06003C64;
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Okuta/func_80AC0890.s")
|
||||
static ColliderCylinderInit sProjectileColliderInit = {
|
||||
{ COLTYPE_UNK10, 0x11, 0x09, 0x39, 0x20, COLSHAPE_CYLINDER },
|
||||
{ 0x00, { 0xFFCFFFFF, 0x00, 0x08 }, { 0xFFCFFFFF, 0x00, 0x00 }, 0x09, 0x01, 0x01 },
|
||||
{ 13, 20, 0, { 0, 0, 0 } },
|
||||
};
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Okuta/func_80AC093C.s")
|
||||
static ColliderCylinderInit sOctorockColliderInit = {
|
||||
{ COLTYPE_UNK0, 0x00, 0x09, 0x39, 0x10, COLSHAPE_CYLINDER },
|
||||
{ 0x01, { 0x00000000, 0x00, 0x00 }, { 0xFFCFFFFF, 0x00, 0x00 }, 0x00, 0x01, 0x01 },
|
||||
{ 20, 40, -30, { 0, 0, 0 } },
|
||||
};
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Okuta/func_80AC09A4.s")
|
||||
static CollisionCheckInfoInit sColChkInfoInit = { 1, 0xF, 0x3C, 0x64 };
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Okuta/func_80AC09E8.s")
|
||||
static DamageTable sDamageTable = {
|
||||
0x00, 0x02, 0x01, 0x02, 0x01, 0x02, 0x02, 0x02, 0x01, 0x02, 0x04, 0x02, 0x34, 0x02, 0x02, 0x02,
|
||||
0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x04, 0x02, 0x02, 0x08, 0x04, 0x00, 0x00, 0x04, 0x00,
|
||||
};
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Okuta/func_80AC0A88.s")
|
||||
static InitChainEntry sInitChain[] = {
|
||||
ICHAIN_S8(naviEnemyId, 66, ICHAIN_CONTINUE),
|
||||
ICHAIN_F32(unk_4C, 6500, ICHAIN_STOP),
|
||||
};
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Okuta/func_80AC0AB4.s")
|
||||
void EnOkuta_Init(Actor* thisx, GlobalContext* globalCtx) {
|
||||
EnOkuta* this = THIS;
|
||||
s32 pad;
|
||||
WaterBox* outWaterBox;
|
||||
f32 ySurface;
|
||||
UNK_TYPE sp30;
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Okuta/func_80AC0B24.s")
|
||||
Actor_ProcessInitChain(thisx, sInitChain);
|
||||
this->numShots = (thisx->params >> 8) & 0xFF;
|
||||
thisx->params &= 0xFF;
|
||||
if (thisx->params == 0) {
|
||||
SkelAnime_Init(globalCtx, &this->skelAnime, &D_06003660, &D_06003C64, this->limbDrawTable,
|
||||
this->transitionDrawTable, 38);
|
||||
Collider_InitCylinder(globalCtx, &this->collider);
|
||||
Collider_SetCylinder(globalCtx, &this->collider, thisx, &sOctorockColliderInit);
|
||||
func_80061ED4(&thisx->colChkInfo, &sDamageTable, &sColChkInfoInit);
|
||||
if ((this->numShots == 0xFF) || (this->numShots == 0)) {
|
||||
this->numShots = 1;
|
||||
}
|
||||
thisx->groundY = func_8003C9A4(&globalCtx->colCtx, &thisx->floorPoly, &sp30, thisx, &thisx->posRot.pos);
|
||||
if (!func_80042244(globalCtx, &globalCtx->colCtx, thisx->posRot.pos.x, thisx->posRot.pos.z, &ySurface,
|
||||
&outWaterBox) ||
|
||||
(ySurface <= thisx->groundY)) {
|
||||
Actor_Kill(thisx);
|
||||
} else {
|
||||
thisx->initPosRot.pos.y = ySurface;
|
||||
}
|
||||
EnOkuta_SetupWaitToAppear(this);
|
||||
} else {
|
||||
ActorShape_Init(&thisx->shape, 1100.0f, ActorShadow_DrawFunc_Circle, 18.0f);
|
||||
thisx->flags &= ~1;
|
||||
thisx->flags |= 0x10;
|
||||
Collider_InitCylinder(globalCtx, &this->collider);
|
||||
Collider_SetCylinder(globalCtx, &this->collider, thisx, &sProjectileColliderInit);
|
||||
Actor_ChangeType(globalCtx, &globalCtx->actorCtx, thisx, ACTORTYPE_PROP);
|
||||
this->timer = 30;
|
||||
thisx->shape.rot.y = 0;
|
||||
this->actionFunc = EnOkuta_ProjectileFly;
|
||||
thisx->speedXZ = 10.0f;
|
||||
}
|
||||
}
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Okuta/func_80AC0B60.s")
|
||||
void EnOkuta_Destroy(Actor* thisx, GlobalContext* globalCtx) {
|
||||
EnOkuta* this = THIS;
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Okuta/func_80AC0BC0.s")
|
||||
Collider_DestroyCylinder(globalCtx, &this->collider);
|
||||
}
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Okuta/func_80AC0CAC.s")
|
||||
void EnOkuta_SpawnBubbles(EnOkuta* this, GlobalContext* globalCtx) {
|
||||
s32 i;
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Okuta/func_80AC0D34.s")
|
||||
for (i = 0; i < 10; i++) {
|
||||
EffectSsBubble_Spawn(globalCtx, &this->actor.posRot.pos, -10.0f, 10.0f, 30.0f, 0.25f);
|
||||
}
|
||||
}
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Okuta/func_80AC0D7C.s")
|
||||
void EnOkuta_SpawnDust(Vec3f* pos, Vec3f* velocity, s16 scaleStep, GlobalContext* globalCtx) {
|
||||
static Vec3f accel = { 0.0f, 0.0f, 0.0f };
|
||||
static Color_RGBA8 primColor = { 255, 255, 255, 255 };
|
||||
static Color_RGBA8 envColor = { 150, 150, 150, 255 };
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Okuta/func_80AC0DC8.s")
|
||||
func_8002829C(globalCtx, pos, velocity, &accel, &primColor, &envColor, 0x190, scaleStep);
|
||||
}
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Okuta/func_80AC0F08.s")
|
||||
void EnOkuta_SpawnSplash(EnOkuta* this, GlobalContext* globalCtx) {
|
||||
EffectSsGSplash_Spawn(globalCtx, &this->actor.initPosRot.pos, NULL, NULL, 0, 1300);
|
||||
}
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Okuta/func_80AC0F64.s")
|
||||
void EnOkuta_SpawnRipple(EnOkuta* this, GlobalContext* globalCtx) {
|
||||
Vec3f pos;
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Okuta/func_80AC10A8.s")
|
||||
pos.x = this->actor.posRot.pos.x;
|
||||
pos.y = this->actor.initPosRot.pos.y;
|
||||
pos.z = this->actor.posRot.pos.z;
|
||||
if ((globalCtx->gameplayFrames % 7) == 0 &&
|
||||
((this->actionFunc != EnOkuta_Shoot) || ((this->actor.posRot.pos.y - this->actor.initPosRot.pos.y) < 50.0f))) {
|
||||
EffectSsGRipple_Spawn(globalCtx, &pos, 250, 650, 0);
|
||||
}
|
||||
}
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Okuta/func_80AC11A8.s")
|
||||
void EnOkuta_SetupWaitToAppear(EnOkuta* this) {
|
||||
this->actor.draw = NULL;
|
||||
this->actor.flags &= ~1;
|
||||
this->actionFunc = EnOkuta_WaitToAppear;
|
||||
this->actor.posRot.pos.y = this->actor.initPosRot.pos.y;
|
||||
}
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Okuta/func_80AC12D8.s")
|
||||
void EnOkuta_SetupAppear(EnOkuta* this, GlobalContext* globalCtx) {
|
||||
this->actor.draw = EnOkuta_Draw;
|
||||
this->actor.shape.rot.y = this->actor.yawTowardsLink;
|
||||
this->actor.flags |= 1;
|
||||
SkelAnime_ChangeAnimDefaultStop(&this->skelAnime, &D_06003C64);
|
||||
EnOkuta_SpawnBubbles(this, globalCtx);
|
||||
this->actionFunc = EnOkuta_Appear;
|
||||
}
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Okuta/func_80AC1458.s")
|
||||
void EnOkuta_SetupHide(EnOkuta* this) {
|
||||
SkelAnime_ChangeAnimDefaultStop(&this->skelAnime, &D_06000AC0);
|
||||
this->actionFunc = EnOkuta_Hide;
|
||||
}
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Okuta/func_80AC14A8.s")
|
||||
void EnOkuta_SetupWaitToShoot(EnOkuta* this) {
|
||||
SkelAnime_ChangeAnimDefaultRepeat(&this->skelAnime, &D_06000DDC);
|
||||
this->timer = (this->actionFunc == EnOkuta_Shoot) ? 2 : 0;
|
||||
this->actionFunc = EnOkuta_WaitToShoot;
|
||||
}
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Okuta/func_80AC17BC.s")
|
||||
void EnOkuta_SetupShoot(EnOkuta* this, GlobalContext* globalCtx) {
|
||||
SkelAnime_ChangeAnimDefaultStop(&this->skelAnime, &D_06000344);
|
||||
if (this->actionFunc != EnOkuta_Shoot) {
|
||||
this->timer = this->numShots;
|
||||
}
|
||||
this->jumpHeight = this->actor.yDistFromLink + 20.0f;
|
||||
this->jumpHeight = CLAMP_MIN(this->jumpHeight, 10.0f);
|
||||
if (this->jumpHeight > 50.0f) {
|
||||
EnOkuta_SpawnSplash(this, globalCtx);
|
||||
}
|
||||
if (this->jumpHeight > 50.0f) {
|
||||
Audio_PlayActorSound2(&this->actor, NA_SE_EN_OCTAROCK_JUMP);
|
||||
}
|
||||
this->actionFunc = EnOkuta_Shoot;
|
||||
}
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Okuta/func_80AC1938.s")
|
||||
void EnOkuta_SetupWaitToDie(EnOkuta* this) {
|
||||
SkelAnime_ChangeAnimTransitionStop(&this->skelAnime, &D_06003910, -5.0f);
|
||||
func_8003426C(&this->actor, 0x4000, 0xFF, 0, 0xB);
|
||||
this->collider.base.acFlags &= ~2;
|
||||
Actor_SetScale(&this->actor, 0.01f);
|
||||
Audio_PlayActorSound2(&this->actor, NA_SE_EN_OCTAROCK_DEAD1);
|
||||
this->actionFunc = EnOkuta_WaitToDie;
|
||||
}
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Okuta/func_80AC1B80.s")
|
||||
void EnOkuta_SetupDie(EnOkuta* this) {
|
||||
SkelAnime_ChangeAnimTransitionStop(&this->skelAnime, &D_060008FC, -3.0f);
|
||||
this->timer = 0;
|
||||
this->actionFunc = EnOkuta_Die;
|
||||
}
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Okuta/func_80AC1F28.s")
|
||||
void EnOkuta_SetupFreeze(EnOkuta* this) {
|
||||
this->timer = 80;
|
||||
func_8003426C(&this->actor, 0, 0xFF, 0, 0x50);
|
||||
this->actionFunc = EnOkuta_Freeze;
|
||||
}
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Okuta/EnOkuta_Update.s")
|
||||
void EnOkuta_SpawnProjectile(EnOkuta* this, GlobalContext* globalCtx) {
|
||||
Vec3f pos;
|
||||
Vec3f velocity;
|
||||
f32 sin = Math_Sins(this->actor.shape.rot.y);
|
||||
f32 cos = Math_Coss(this->actor.shape.rot.y);
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Okuta/func_80AC2350.s")
|
||||
pos.x = this->actor.posRot.pos.x + (25.0f * sin);
|
||||
pos.y = this->actor.posRot.pos.y - 6.0f;
|
||||
pos.z = this->actor.posRot.pos.z + (25.0f * cos);
|
||||
if (Actor_Spawn(&globalCtx->actorCtx, globalCtx, ACTOR_EN_OKUTA, pos.x, pos.y, pos.z, this->actor.shape.rot.x,
|
||||
this->actor.shape.rot.y, this->actor.shape.rot.z, 0x10) != NULL) {
|
||||
pos.x = this->actor.posRot.pos.x + (40.0f * sin);
|
||||
pos.z = this->actor.posRot.pos.z + (40.0f * cos);
|
||||
pos.y = this->actor.posRot.pos.y;
|
||||
velocity.x = 1.5f * sin;
|
||||
velocity.y = 0.0f;
|
||||
velocity.z = 1.5f * cos;
|
||||
EnOkuta_SpawnDust(&pos, &velocity, 20, globalCtx);
|
||||
}
|
||||
Audio_PlayActorSound2(&this->actor, NA_SE_EN_NUTS_THROW);
|
||||
}
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Okuta/func_80AC25D8.s")
|
||||
void EnOkuta_WaitToAppear(EnOkuta* this, GlobalContext* globalCtx) {
|
||||
this->actor.posRot.pos.y = this->actor.initPosRot.pos.y;
|
||||
if ((this->actor.xzDistFromLink < 480.0f) && (this->actor.xzDistFromLink > 200.0f)) {
|
||||
EnOkuta_SetupAppear(this, globalCtx);
|
||||
}
|
||||
}
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Okuta/EnOkuta_Draw.s")
|
||||
void EnOkuta_Appear(EnOkuta* this, GlobalContext* globalCtx) {
|
||||
s32 pad;
|
||||
|
||||
if (SkelAnime_FrameUpdateMatrix(&this->skelAnime)) {
|
||||
if (this->actor.xzDistFromLink < 160.0f) {
|
||||
EnOkuta_SetupHide(this);
|
||||
} else {
|
||||
EnOkuta_SetupWaitToShoot(this);
|
||||
}
|
||||
} else if (this->skelAnime.animCurrentFrame <= 4.0f) {
|
||||
Actor_SetScale(&this->actor, this->skelAnime.animCurrentFrame * 0.25f * 0.01f);
|
||||
} else if (func_800A56C8(&this->skelAnime, 5.0f)) {
|
||||
Actor_SetScale(&this->actor, 0.01f);
|
||||
}
|
||||
if (func_800A56C8(&this->skelAnime, 2.0f)) {
|
||||
Audio_PlayActorSound2(&this->actor, NA_SE_EN_OCTAROCK_JUMP);
|
||||
}
|
||||
if (func_800A56C8(&this->skelAnime, 12.0f)) {
|
||||
Audio_PlayActorSound2(&this->actor, NA_SE_EN_OCTAROCK_LAND);
|
||||
}
|
||||
if (func_800A56C8(&this->skelAnime, 3.0f) || func_800A56C8(&this->skelAnime, 15.0f)) {
|
||||
EnOkuta_SpawnSplash(this, globalCtx);
|
||||
}
|
||||
}
|
||||
|
||||
void EnOkuta_Hide(EnOkuta* this, GlobalContext* globalCtx) {
|
||||
s32 pad;
|
||||
|
||||
Math_SmoothScaleMaxF(&this->actor.posRot.pos.y, this->actor.initPosRot.pos.y, 0.5f, 30.0f);
|
||||
if (SkelAnime_FrameUpdateMatrix(&this->skelAnime)) {
|
||||
Audio_PlayActorSound2(&this->actor, NA_SE_EN_OCTAROCK_BUBLE);
|
||||
EnOkuta_SpawnBubbles(this, globalCtx);
|
||||
EnOkuta_SetupWaitToAppear(this);
|
||||
} else if (this->skelAnime.animCurrentFrame >= 4.0f) {
|
||||
Actor_SetScale(&this->actor, (6.0f - this->skelAnime.animCurrentFrame) * 0.5f * 0.01f);
|
||||
}
|
||||
if (func_800A56C8(&this->skelAnime, 2.0f)) {
|
||||
Audio_PlayActorSound2(&this->actor, NA_SE_EN_OCTAROCK_SINK);
|
||||
}
|
||||
if (func_800A56C8(&this->skelAnime, 4.0f)) {
|
||||
EnOkuta_SpawnSplash(this, globalCtx);
|
||||
}
|
||||
}
|
||||
|
||||
void EnOkuta_WaitToShoot(EnOkuta* this, GlobalContext* globalCtx) {
|
||||
s16 temp_v0_2;
|
||||
s32 phi_v1;
|
||||
|
||||
this->actor.posRot.pos.y = this->actor.initPosRot.pos.y;
|
||||
SkelAnime_FrameUpdateMatrix(&this->skelAnime);
|
||||
if (func_800A56C8(&this->skelAnime, 0.0f)) {
|
||||
if (this->timer != 0) {
|
||||
this->timer--;
|
||||
}
|
||||
}
|
||||
if (func_800A56C8(&this->skelAnime, 0.5f)) {
|
||||
Audio_PlayActorSound2(&this->actor, NA_SE_EN_OCTAROCK_FLOAT);
|
||||
}
|
||||
if (this->actor.xzDistFromLink < 160.0f || this->actor.xzDistFromLink > 560.0f) {
|
||||
EnOkuta_SetupHide(this);
|
||||
} else {
|
||||
temp_v0_2 = Math_SmoothScaleMaxMinS(&this->actor.shape.rot.y, this->actor.yawTowardsLink, 3, 0x71C, 0x38E);
|
||||
phi_v1 = ABS(temp_v0_2);
|
||||
if ((phi_v1 < 0x38E) && (this->timer == 0) && (this->actor.yDistFromLink < 200.0f)) {
|
||||
EnOkuta_SetupShoot(this, globalCtx);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void EnOkuta_Shoot(EnOkuta* this, GlobalContext* globalCtx) {
|
||||
Math_SmoothScaleMaxS(&this->actor.shape.rot.y, this->actor.yawTowardsLink, 3, 0x71C);
|
||||
if (SkelAnime_FrameUpdateMatrix(&this->skelAnime)) {
|
||||
if (this->timer != 0) {
|
||||
this->timer--;
|
||||
}
|
||||
if (this->timer == 0) {
|
||||
EnOkuta_SetupWaitToShoot(this);
|
||||
} else {
|
||||
EnOkuta_SetupShoot(this, globalCtx);
|
||||
}
|
||||
} else {
|
||||
f32 animCurrentFrame = this->skelAnime.animCurrentFrame;
|
||||
|
||||
if (animCurrentFrame < 13.0f) {
|
||||
this->actor.posRot.pos.y =
|
||||
(sinf((0.08333f * M_PI) * animCurrentFrame) * this->jumpHeight) + this->actor.initPosRot.pos.y;
|
||||
}
|
||||
if (func_800A56C8(&this->skelAnime, 6.0f)) {
|
||||
EnOkuta_SpawnProjectile(this, globalCtx);
|
||||
}
|
||||
if ((this->jumpHeight > 50.0f) && func_800A56C8(&this->skelAnime, 13.0f)) {
|
||||
EnOkuta_SpawnSplash(this, globalCtx);
|
||||
}
|
||||
if ((this->jumpHeight > 50.0f) && func_800A56C8(&this->skelAnime, 13.0f)) {
|
||||
Audio_PlayActorSound2(&this->actor, NA_SE_EN_OCTAROCK_LAND);
|
||||
}
|
||||
}
|
||||
if (this->actor.xzDistFromLink < 160.0f) {
|
||||
EnOkuta_SetupHide(this);
|
||||
}
|
||||
}
|
||||
|
||||
void EnOkuta_WaitToDie(EnOkuta* this, GlobalContext* globalCtx) {
|
||||
if (SkelAnime_FrameUpdateMatrix(&this->skelAnime)) {
|
||||
EnOkuta_SetupDie(this);
|
||||
}
|
||||
Math_SmoothScaleMaxF(&this->actor.posRot.pos.y, this->actor.initPosRot.pos.y, 0.5f, 5.0f);
|
||||
}
|
||||
|
||||
void EnOkuta_Die(EnOkuta* this, GlobalContext* globalCtx) {
|
||||
static Vec3f accel = { 0.0f, -0.5f, 0.0f };
|
||||
static Color_RGBA8 primColor = { 255, 255, 255, 255 };
|
||||
static Color_RGBA8 envColor = { 150, 150, 150, 0 };
|
||||
Vec3f velocity;
|
||||
Vec3f pos;
|
||||
s32 i;
|
||||
|
||||
if (SkelAnime_FrameUpdateMatrix(&this->skelAnime)) {
|
||||
this->timer++;
|
||||
}
|
||||
Math_SmoothScaleMaxF(&this->actor.posRot.pos.y, this->actor.initPosRot.pos.y, 0.5f, 5.0f);
|
||||
if (this->timer == 5) {
|
||||
pos.x = this->actor.posRot.pos.x;
|
||||
pos.y = this->actor.posRot.pos.y + 40.0f;
|
||||
pos.z = this->actor.posRot.pos.z;
|
||||
velocity.x = 0.0f;
|
||||
velocity.y = -0.5f;
|
||||
velocity.z = 0.0f;
|
||||
EnOkuta_SpawnDust(&pos, &velocity, -0x14, globalCtx);
|
||||
Audio_PlayActorSound2(&this->actor, NA_SE_EN_OCTAROCK_DEAD2);
|
||||
}
|
||||
if (func_800A56C8(&this->skelAnime, 15.0f)) {
|
||||
EnOkuta_SpawnSplash(this, globalCtx);
|
||||
Audio_PlayActorSound2(&this->actor, NA_SE_EN_OCTAROCK_LAND);
|
||||
}
|
||||
if (this->timer < 3) {
|
||||
Actor_SetScale(&this->actor, ((this->timer * 0.25f) + 1.0f) * 0.01f);
|
||||
} else if (this->timer < 6) {
|
||||
Actor_SetScale(&this->actor, (1.5f - ((this->timer - 2) * 0.2333f)) * 0.01f);
|
||||
} else if (this->timer < 11) {
|
||||
Actor_SetScale(&this->actor, (((this->timer - 5) * 0.04f) + 0.8f) * 0.01f);
|
||||
} else {
|
||||
if (Math_ApproxF(&this->actor.scale.x, 0.0f, 0.0005f)) {
|
||||
Audio_PlaySoundAtPosition(globalCtx, &this->actor.posRot.pos, 30, NA_SE_EN_OCTAROCK_BUBLE);
|
||||
Item_DropCollectibleRandom(globalCtx, &this->actor, &this->actor.posRot.pos, 0x70);
|
||||
for (i = 0; i < 20; i++) {
|
||||
velocity.x = (Math_Rand_ZeroOne() - 0.5f) * 7.0f;
|
||||
velocity.y = Math_Rand_ZeroOne() * 7.0f;
|
||||
velocity.z = (Math_Rand_ZeroOne() - 0.5f) * 7.0f;
|
||||
EffectSsDtBubble_SpawnCustomColor(globalCtx, &this->actor.posRot.pos, &velocity, &accel, &primColor,
|
||||
&envColor, Math_Rand_S16Offset(100, 50), 25, 0);
|
||||
}
|
||||
Actor_Kill(&this->actor);
|
||||
}
|
||||
this->actor.scale.y = this->actor.scale.z = this->actor.scale.x;
|
||||
}
|
||||
}
|
||||
|
||||
void EnOkuta_Freeze(EnOkuta* this, GlobalContext* globalCtx) {
|
||||
Vec3f pos;
|
||||
s16 temp_v1;
|
||||
|
||||
if (this->timer != 0) {
|
||||
this->timer--;
|
||||
}
|
||||
if (this->timer == 0) {
|
||||
EnOkuta_SetupDie(this);
|
||||
}
|
||||
if ((this->timer >= 64) && (this->timer & 1)) {
|
||||
temp_v1 = (this->timer - 64) >> 1;
|
||||
pos.y = (this->actor.posRot.pos.y - 32.0f) + (8.0f * (8 - temp_v1));
|
||||
pos.x = this->actor.posRot.pos.x + ((temp_v1 & 2) ? 10.0f : -10.0f);
|
||||
pos.z = this->actor.posRot.pos.z + ((temp_v1 & 1) ? 10.0f : -10.0f);
|
||||
EffectSsEnIce_SpawnFlyingVec3f(globalCtx, &this->actor, &pos, 150, 150, 150, 250, 235, 245, 255,
|
||||
(Math_Rand_ZeroOne() * 0.2f) + 1.9f);
|
||||
}
|
||||
Math_SmoothScaleMaxF(&this->actor.posRot.pos.y, this->actor.initPosRot.pos.y, 0.5f, 5.0f);
|
||||
}
|
||||
|
||||
void EnOkuta_ProjectileFly(EnOkuta* this, GlobalContext* globalCtx) {
|
||||
Vec3f pos;
|
||||
Player* player = PLAYER;
|
||||
Vec3s sp40;
|
||||
|
||||
this->timer--;
|
||||
if (this->timer == 0) {
|
||||
this->actor.gravity = -1.0f;
|
||||
}
|
||||
this->actor.initPosRot.rot.z += 0x1554;
|
||||
if (this->actor.bgCheckFlags & 0x20) {
|
||||
this->actor.gravity = -1.0f;
|
||||
this->actor.speedXZ -= 0.1f;
|
||||
this->actor.speedXZ = CLAMP_MIN(this->actor.speedXZ, 1.0f);
|
||||
}
|
||||
if ((this->actor.bgCheckFlags & 8) || (this->actor.bgCheckFlags & 1) || (this->collider.base.atFlags & 2) ||
|
||||
this->collider.base.acFlags & 2 || this->collider.base.maskA & 2 || this->actor.groundY == -32000.0f) {
|
||||
if ((player->currentShield == PLAYER_SHIELD_DEKU ||
|
||||
(player->currentShield == PLAYER_SHIELD_HYLIAN && LINK_IS_ADULT)) &&
|
||||
this->collider.base.atFlags & 2 && this->collider.base.atFlags & 0x10 && this->collider.base.atFlags & 4) {
|
||||
this->collider.base.atFlags &= ~0x16;
|
||||
this->collider.base.atFlags |= 8;
|
||||
this->collider.body.toucher.flags = 2;
|
||||
func_800D20CC(&player->shieldMf, &sp40, 0);
|
||||
this->actor.posRot.rot.y = sp40.y + 0x8000;
|
||||
this->timer = 30;
|
||||
} else {
|
||||
pos.x = this->actor.posRot.pos.x;
|
||||
pos.y = this->actor.posRot.pos.y + 11.0f;
|
||||
pos.z = this->actor.posRot.pos.z;
|
||||
EffectSsHahen_SpawnBurst(globalCtx, &pos, 6.0f, 0, 1, 2, 15, 7, 10, D_06003380);
|
||||
Audio_PlaySoundAtPosition(globalCtx, &this->actor.posRot.pos, 20, NA_SE_EN_OCTAROCK_ROCK);
|
||||
Actor_Kill(&this->actor);
|
||||
}
|
||||
} else if (this->timer == -300) {
|
||||
Actor_Kill(&this->actor);
|
||||
}
|
||||
}
|
||||
|
||||
void EnOkuta_UpdateHeadScale(EnOkuta* this) {
|
||||
f32 animCurrentFrame = this->skelAnime.animCurrentFrame;
|
||||
|
||||
if (this->actionFunc == EnOkuta_Appear) {
|
||||
if (animCurrentFrame < 8.0f) {
|
||||
this->headScale.x = this->headScale.y = this->headScale.z = 1.0f;
|
||||
} else if (animCurrentFrame < 10.0f) {
|
||||
this->headScale.x = this->headScale.z = 1.0f;
|
||||
this->headScale.y = ((animCurrentFrame - 7.0f) * 0.4f) + 1.0f;
|
||||
} else if (animCurrentFrame < 14.0f) {
|
||||
this->headScale.x = this->headScale.z = ((animCurrentFrame - 9.0f) * 0.075f) + 1.0f;
|
||||
this->headScale.y = 1.8f - ((animCurrentFrame - 9.0f) * 0.25f);
|
||||
} else {
|
||||
this->headScale.x = this->headScale.z = 1.3f - ((animCurrentFrame - 13.0f) * 0.05f);
|
||||
this->headScale.y = ((animCurrentFrame - 13.0f) * 0.0333f) + 0.8f;
|
||||
}
|
||||
} else if (this->actionFunc == EnOkuta_Hide) {
|
||||
if (animCurrentFrame < 3.0f) {
|
||||
this->headScale.y = 1.0f;
|
||||
} else if (animCurrentFrame < 4.0f) {
|
||||
this->headScale.y = (animCurrentFrame - 2.0f) + 1.0f;
|
||||
} else {
|
||||
this->headScale.y = 2.0f - ((animCurrentFrame - 3.0f) * 0.333f);
|
||||
}
|
||||
this->headScale.x = this->headScale.z = 1.0f;
|
||||
} else if (this->actionFunc == EnOkuta_Shoot) {
|
||||
if (animCurrentFrame < 5.0f) {
|
||||
this->headScale.x = this->headScale.y = this->headScale.z = (animCurrentFrame * 0.125f) + 1.0f;
|
||||
} else if (animCurrentFrame < 7.0f) {
|
||||
this->headScale.x = this->headScale.y = this->headScale.z = 1.5f - ((animCurrentFrame - 4.0f) * 0.35f);
|
||||
} else if (animCurrentFrame < 17.0f) {
|
||||
this->headScale.x = this->headScale.z = ((animCurrentFrame - 6.0f) * 0.05f) + 0.8f;
|
||||
this->headScale.y = 0.8f;
|
||||
} else {
|
||||
this->headScale.x = this->headScale.z = 1.3f - ((animCurrentFrame - 16.0f) * 0.1f);
|
||||
this->headScale.y = ((animCurrentFrame - 16.0f) * 0.0666f) + 0.8f;
|
||||
}
|
||||
} else if (this->actionFunc == EnOkuta_WaitToShoot) {
|
||||
this->headScale.x = this->headScale.z = 1.0f;
|
||||
this->headScale.y = (sinf((M_PI / 16) * animCurrentFrame) * 0.2f) + 1.0f;
|
||||
} else {
|
||||
this->headScale.x = this->headScale.y = this->headScale.z = 1.0f;
|
||||
}
|
||||
}
|
||||
|
||||
void EnOkuta_ColliderCheck(EnOkuta* this, GlobalContext* globalCtx) {
|
||||
if (this->collider.base.acFlags & 2) {
|
||||
this->collider.base.acFlags &= ~2;
|
||||
func_80035650(&this->actor, &this->collider.body, 1);
|
||||
if ((this->actor.colChkInfo.damageEffect != 0) || (this->actor.colChkInfo.damage != 0)) {
|
||||
func_80032C7C(globalCtx, &this->actor);
|
||||
this->actor.colChkInfo.health = 0;
|
||||
this->actor.flags &= ~1;
|
||||
if (this->actor.colChkInfo.damageEffect == 3) {
|
||||
EnOkuta_SetupFreeze(this);
|
||||
} else {
|
||||
EnOkuta_SetupWaitToDie(this);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void EnOkuta_Update(Actor* thisx, GlobalContext* globalCtx) {
|
||||
EnOkuta* this = THIS;
|
||||
Player* player = PLAYER;
|
||||
GlobalContext* globalCtx2 = globalCtx;
|
||||
WaterBox* outWaterBox;
|
||||
f32 ySurface;
|
||||
Vec3f sp38;
|
||||
s32 sp34;
|
||||
|
||||
if (!(player->stateFlags1 & 0x300000C0)) {
|
||||
if (this->actor.params == 0) {
|
||||
EnOkuta_ColliderCheck(this, globalCtx2);
|
||||
if (!func_80042244(globalCtx2, &globalCtx2->colCtx, this->actor.posRot.pos.x, this->actor.posRot.pos.z,
|
||||
&ySurface, &outWaterBox) ||
|
||||
(ySurface < this->actor.groundY)) {
|
||||
if (this->actor.colChkInfo.health != 0) {
|
||||
Actor_Kill(&this->actor);
|
||||
return;
|
||||
}
|
||||
} else {
|
||||
this->actor.initPosRot.pos.y = ySurface;
|
||||
}
|
||||
}
|
||||
this->actionFunc(this, globalCtx2);
|
||||
if (this->actor.params == 0) {
|
||||
EnOkuta_UpdateHeadScale(this);
|
||||
this->collider.dim.height =
|
||||
(((sOctorockColliderInit.dim.height * this->headScale.y) - this->collider.dim.yShift) *
|
||||
this->actor.scale.y * 100.0f);
|
||||
} else {
|
||||
sp34 = false;
|
||||
Actor_MoveForward(&this->actor);
|
||||
Math_Vec3f_Copy(&sp38, &this->actor.posRot.pos);
|
||||
func_8002E4B4(globalCtx2, &this->actor, 10.0f, 15.0f, 30.0f, 5);
|
||||
if ((this->actor.bgCheckFlags & 8) &&
|
||||
func_80042048(&globalCtx2->colCtx, this->actor.wallPoly, this->actor.wallPolySource)) {
|
||||
sp34 = true;
|
||||
this->actor.bgCheckFlags &= ~8;
|
||||
}
|
||||
if ((this->actor.bgCheckFlags & 1) &&
|
||||
func_80042048(&globalCtx2->colCtx, this->actor.floorPoly, this->actor.floorPolySource)) {
|
||||
sp34 = true;
|
||||
this->actor.bgCheckFlags &= ~1;
|
||||
}
|
||||
if (sp34 && !(this->actor.bgCheckFlags & 9)) {
|
||||
Math_Vec3f_Copy(&this->actor.posRot.pos, &sp38);
|
||||
}
|
||||
}
|
||||
Collider_CylinderUpdate(&this->actor, &this->collider);
|
||||
if ((this->actionFunc == EnOkuta_Appear) || (this->actionFunc == EnOkuta_Hide)) {
|
||||
this->collider.dim.pos.y =
|
||||
this->actor.posRot.pos.y + (this->skelAnime.limbDrawTbl->y * this->actor.scale.y);
|
||||
this->collider.dim.radius = sOctorockColliderInit.dim.radius * this->actor.scale.x * 100.0f;
|
||||
}
|
||||
if (this->actor.params == 0x10) {
|
||||
this->actor.flags |= 0x1000000;
|
||||
CollisionCheck_SetAT(globalCtx2, &globalCtx2->colChkCtx, &this->collider.base);
|
||||
}
|
||||
if (this->actionFunc != EnOkuta_WaitToAppear) {
|
||||
if ((this->actionFunc != EnOkuta_Die) && (this->actionFunc != EnOkuta_WaitToDie) &&
|
||||
(this->actionFunc != EnOkuta_Freeze)) {
|
||||
CollisionCheck_SetAC(globalCtx2, &globalCtx2->colChkCtx, &this->collider.base);
|
||||
}
|
||||
CollisionCheck_SetOC(globalCtx2, &globalCtx2->colChkCtx, &this->collider.base);
|
||||
}
|
||||
Actor_SetHeight(&this->actor, 15.0f);
|
||||
if ((this->actor.params == 0) && (this->actor.draw != NULL)) {
|
||||
EnOkuta_SpawnRipple(this, globalCtx2);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
s32 EnOkuta_GetSnoutScale(EnOkuta* this, f32 animCurrentFrame, Vec3f* scale) {
|
||||
if (this->actionFunc == EnOkuta_WaitToShoot) {
|
||||
scale->x = scale->z = 1.0f;
|
||||
scale->y = (sinf((M_PI / 16) * animCurrentFrame) * 0.4f) + 1.0f;
|
||||
} else if (this->actionFunc == EnOkuta_Shoot) {
|
||||
if (animCurrentFrame < 5.0f) {
|
||||
scale->x = 1.0f;
|
||||
scale->y = scale->z = (animCurrentFrame * 0.25f) + 1.0f;
|
||||
} else if (animCurrentFrame < 7.0f) {
|
||||
scale->x = (animCurrentFrame - 4.0f) * 0.5f + 1.0f;
|
||||
scale->y = scale->z = 2.0f - (animCurrentFrame - 4.0f) * 0.5f;
|
||||
} else {
|
||||
scale->x = 2.0f - ((animCurrentFrame - 6.0f) * 0.0769f);
|
||||
scale->y = scale->z = 1.0f;
|
||||
}
|
||||
} else if (this->actionFunc == EnOkuta_Die) {
|
||||
if (animCurrentFrame >= 35.0f || animCurrentFrame < 25.0f) {
|
||||
return false;
|
||||
}
|
||||
if (animCurrentFrame < 27.0f) {
|
||||
scale->x = 1.0f;
|
||||
scale->y = scale->z = ((animCurrentFrame - 24.0f) * 0.5f) + 1.0f;
|
||||
} else if (animCurrentFrame < 30.0f) {
|
||||
scale->x = (animCurrentFrame - 26.0f) * 0.333f + 1.0f;
|
||||
scale->y = scale->z = 2.0f - (animCurrentFrame - 26.0f) * 0.333f;
|
||||
} else {
|
||||
scale->x = 2.0f - ((animCurrentFrame - 29.0f) * 0.2f);
|
||||
scale->y = scale->z = 1.0f;
|
||||
}
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
s32 EnOkuta_OverrideLimbDraw(GlobalContext* globalCtx, s32 limbIndex, Gfx** dList, Vec3f* pos, Vec3s* rot,
|
||||
Actor* actor) {
|
||||
EnOkuta* this = (EnOkuta*)actor;
|
||||
f32 animCurrentFrame = this->skelAnime.animCurrentFrame;
|
||||
Vec3f scale;
|
||||
s32 doScale = false;
|
||||
|
||||
if (this->actionFunc == EnOkuta_Die) {
|
||||
animCurrentFrame += this->timer;
|
||||
}
|
||||
if (limbIndex == 5) {
|
||||
if ((this->headScale.x != 1.0f) || (this->headScale.y != 1.0f) || (this->headScale.z != 1.0f)) {
|
||||
scale = this->headScale;
|
||||
doScale = true;
|
||||
}
|
||||
} else if (limbIndex == 8) {
|
||||
doScale = EnOkuta_GetSnoutScale(this, animCurrentFrame, &scale);
|
||||
}
|
||||
if (doScale) {
|
||||
Matrix_Scale(scale.x, scale.y, scale.z, MTXMODE_APPLY);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
void EnOkuta_Draw(Actor* thisx, GlobalContext* globalCtx) {
|
||||
EnOkuta* this = THIS;
|
||||
s32 pad;
|
||||
|
||||
func_80093D18(globalCtx->state.gfxCtx);
|
||||
|
||||
if (this->actor.params == 0) {
|
||||
SkelAnime_Draw(globalCtx, this->skelAnime.skeleton, this->skelAnime.limbDrawTbl, EnOkuta_OverrideLimbDraw, NULL,
|
||||
&this->actor);
|
||||
} else {
|
||||
OPEN_DISPS(globalCtx->state.gfxCtx, "../z_en_okuta.c", 1653);
|
||||
|
||||
Matrix_Mult(&globalCtx->mf_11DA0, MTXMODE_APPLY);
|
||||
Matrix_RotateZ(this->actor.initPosRot.rot.z * (M_PI / 0x8000), MTXMODE_APPLY);
|
||||
gSPMatrix(POLY_OPA_DISP++, Matrix_NewMtx(globalCtx->state.gfxCtx, "../z_en_okuta.c", 1657),
|
||||
G_MTX_NOPUSH | G_MTX_LOAD | G_MTX_MODELVIEW);
|
||||
gSPDisplayList(POLY_OPA_DISP++, D_06003380);
|
||||
|
||||
CLOSE_DISPS(globalCtx->state.gfxCtx, "../z_en_okuta.c", 1662);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,9 +6,19 @@
|
|||
|
||||
struct EnOkuta;
|
||||
|
||||
typedef void (*EnOkutaActionFunc)(struct EnOkuta*, GlobalContext*);
|
||||
|
||||
typedef struct EnOkuta {
|
||||
/* 0x0000 */ Actor actor;
|
||||
/* 0x014C */ char unk_14C[0x270];
|
||||
/* 0x014C */ SkelAnime skelAnime;
|
||||
/* 0x0190 */ EnOkutaActionFunc actionFunc;
|
||||
/* 0x0194 */ s16 timer;
|
||||
/* 0x0196 */ s16 numShots;
|
||||
/* 0x0198 */ Vec3s limbDrawTable[38];
|
||||
/* 0x027C */ Vec3s transitionDrawTable[38];
|
||||
/* 0x0360 */ f32 jumpHeight;
|
||||
/* 0x0364 */ Vec3f headScale;
|
||||
/* 0x0370 */ ColliderCylinder collider;
|
||||
} EnOkuta; // size = 0x03BC
|
||||
|
||||
extern const ActorInit En_Okuta_InitVars;
|
||||
|
|
|
@ -1237,6 +1237,16 @@ D_02003C80 = 0x02003C80;
|
|||
D_02005020 = 0x02005020;
|
||||
D_020024A0 = 0x020024A0;
|
||||
|
||||
// z_en_okuta
|
||||
D_06000344 = 0x06000344;
|
||||
D_060008FC = 0x060008FC;
|
||||
D_06000AC0 = 0x06000AC0;
|
||||
D_06000DDC = 0x06000DDC;
|
||||
D_06003380 = 0x06003380;
|
||||
D_06003660 = 0x06003660;
|
||||
D_06003910 = 0x06003910;
|
||||
D_06003C64 = 0x06003C64;
|
||||
|
||||
// z_bg_jya_megami
|
||||
D_06005C4C = 0x06005C4C;
|
||||
D_06005780 = 0x06005780;
|
||||
|
|
Loading…
Reference in a new issue