mirror of
https://github.com/zeldaret/oot.git
synced 2024-11-25 09:45:02 +00:00
Stuff
This commit is contained in:
parent
55d066eb4b
commit
22eb68c5ef
11 changed files with 10 additions and 1394 deletions
|
@ -1,40 +0,0 @@
|
|||
.rdata
|
||||
glabel D_80877EC0
|
||||
.asciz "\x1b[32m"
|
||||
.balign 4
|
||||
|
||||
glabel D_80877EC8
|
||||
.asciz "WHY !!!!!!!!!!!!!!!!\n"
|
||||
.balign 4
|
||||
|
||||
glabel D_80877EE0
|
||||
.asciz "\x1b[m"
|
||||
.balign 4
|
||||
|
||||
.text
|
||||
glabel BgGanonOtyuka_Destroy
|
||||
/* 00098 808759B8 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
|
||||
/* 0009C 808759BC AFA40018 */ sw $a0, 0x0018($sp)
|
||||
/* 000A0 808759C0 8FAE0018 */ lw $t6, 0x0018($sp)
|
||||
/* 000A4 808759C4 AFBF0014 */ sw $ra, 0x0014($sp)
|
||||
/* 000A8 808759C8 00A02025 */ or $a0, $a1, $zero ## $a0 = 00000000
|
||||
/* 000AC 808759CC 24A50810 */ addiu $a1, $a1, 0x0810 ## $a1 = 00000810
|
||||
/* 000B0 808759D0 0C00FB56 */ jal DynaPolyInfo_Free
|
||||
## DynaPolyInfo_delReserve
|
||||
/* 000B4 808759D4 8DC6014C */ lw $a2, 0x014C($t6) ## 0000014C
|
||||
/* 000B8 808759D8 3C048087 */ lui $a0, %hi(D_80877EC0) ## $a0 = 80870000
|
||||
/* 000BC 808759DC 0C00084C */ jal osSyncPrintf
|
||||
|
||||
/* 000C0 808759E0 24847EC0 */ addiu $a0, $a0, %lo(D_80877EC0) ## $a0 = 80877EC0
|
||||
/* 000C4 808759E4 3C048087 */ lui $a0, %hi(D_80877EC8) ## $a0 = 80870000
|
||||
/* 000C8 808759E8 0C00084C */ jal osSyncPrintf
|
||||
|
||||
/* 000CC 808759EC 24847EC8 */ addiu $a0, $a0, %lo(D_80877EC8) ## $a0 = 80877EC8
|
||||
/* 000D0 808759F0 3C048087 */ lui $a0, %hi(D_80877EE0) ## $a0 = 80870000
|
||||
/* 000D4 808759F4 0C00084C */ jal osSyncPrintf
|
||||
|
||||
/* 000D8 808759F8 24847EE0 */ addiu $a0, $a0, %lo(D_80877EE0) ## $a0 = 80877EE0
|
||||
/* 000DC 808759FC 8FBF0014 */ lw $ra, 0x0014($sp)
|
||||
/* 000E0 80875A00 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
|
||||
/* 000E4 80875A04 03E00008 */ jr $ra
|
||||
/* 000E8 80875A08 00000000 */ nop
|
|
@ -1,649 +0,0 @@
|
|||
.rdata
|
||||
glabel D_80877F24
|
||||
.asciz "../z_bg_ganon_otyuka.c"
|
||||
.balign 4
|
||||
|
||||
glabel D_80877F3C
|
||||
.asciz "../z_bg_ganon_otyuka.c"
|
||||
.balign 4
|
||||
|
||||
glabel D_80877F54
|
||||
.asciz "../z_bg_ganon_otyuka.c"
|
||||
.balign 4
|
||||
|
||||
glabel D_80877F6C
|
||||
.asciz "../z_bg_ganon_otyuka.c"
|
||||
.balign 4
|
||||
|
||||
glabel D_80877F84
|
||||
.asciz "../z_bg_ganon_otyuka.c"
|
||||
.balign 4
|
||||
|
||||
.late_rodata
|
||||
glabel D_80877FAC
|
||||
.float 3.1415927
|
||||
|
||||
glabel D_80877FB0
|
||||
.float 3.1415927
|
||||
|
||||
glabel D_80877FB4
|
||||
.float 0.3
|
||||
|
||||
.text
|
||||
glabel BgGanonOtyuka_Draw
|
||||
/* 00810 80876130 27BDFF20 */ addiu $sp, $sp, 0xFF20 ## $sp = FFFFFF20
|
||||
/* 00814 80876134 AFA400E0 */ sw $a0, 0x00E0($sp)
|
||||
/* 00818 80876138 AFBF006C */ sw $ra, 0x006C($sp)
|
||||
/* 0081C 8087613C AFA500E4 */ sw $a1, 0x00E4($sp)
|
||||
/* 00820 80876140 00A02025 */ or $a0, $a1, $zero ## $a0 = 00000000
|
||||
/* 00824 80876144 AFBE0068 */ sw $s8, 0x0068($sp)
|
||||
/* 00828 80876148 AFB70064 */ sw $s7, 0x0064($sp)
|
||||
/* 0082C 8087614C AFB60060 */ sw $s6, 0x0060($sp)
|
||||
/* 00830 80876150 AFB5005C */ sw $s5, 0x005C($sp)
|
||||
/* 00834 80876154 AFB40058 */ sw $s4, 0x0058($sp)
|
||||
/* 00838 80876158 AFB30054 */ sw $s3, 0x0054($sp)
|
||||
/* 0083C 8087615C AFB20050 */ sw $s2, 0x0050($sp)
|
||||
/* 00840 80876160 AFB1004C */ sw $s1, 0x004C($sp)
|
||||
/* 00844 80876164 AFB00048 */ sw $s0, 0x0048($sp)
|
||||
/* 00848 80876168 F7B60040 */ sdc1 $f22, 0x0040($sp)
|
||||
/* 0084C 8087616C F7B40038 */ sdc1 $f20, 0x0038($sp)
|
||||
/* 00850 80876170 0C030129 */ jal Gameplay_GetCamera
|
||||
/* 00854 80876174 00002825 */ or $a1, $zero, $zero ## $a1 = 00000000
|
||||
/* 00858 80876178 3C01C1F0 */ lui $at, 0xC1F0 ## $at = C1F00000
|
||||
/* 0085C 8087617C 44812000 */ mtc1 $at, $f4 ## $f4 = -30.00
|
||||
/* 00860 80876180 8FAE00E4 */ lw $t6, 0x00E4($sp)
|
||||
/* 00864 80876184 AFA200CC */ sw $v0, 0x00CC($sp)
|
||||
/* 00868 80876188 E7A400BC */ swc1 $f4, 0x00BC($sp)
|
||||
/* 0086C 8087618C 8DC50000 */ lw $a1, 0x0000($t6) ## 00000000
|
||||
/* 00870 80876190 3C068087 */ lui $a2, %hi(D_80877F24) ## $a2 = 80870000
|
||||
/* 00874 80876194 24C67F24 */ addiu $a2, $a2, %lo(D_80877F24) ## $a2 = 80877F24
|
||||
/* 00878 80876198 27A400A8 */ addiu $a0, $sp, 0x00A8 ## $a0 = FFFFFFC8
|
||||
/* 0087C 8087619C 240702BE */ addiu $a3, $zero, 0x02BE ## $a3 = 000002BE
|
||||
/* 00880 808761A0 0C031AB1 */ jal Graph_OpenDisps
|
||||
/* 00884 808761A4 00A09825 */ or $s3, $a1, $zero ## $s3 = 00000000
|
||||
/* 00888 808761A8 8FA300E4 */ lw $v1, 0x00E4($sp)
|
||||
/* 0088C 808761AC 240200E8 */ addiu $v0, $zero, 0x00E8 ## $v0 = 000000E8
|
||||
/* 00890 808761B0 8C741C7C */ lw $s4, 0x1C7C($v1) ## 00001C7C
|
||||
/* 00894 808761B4 12800011 */ beq $s4, $zero, .L808761FC
|
||||
/* 00898 808761B8 00000000 */ nop
|
||||
/* 0089C 808761BC 868F0000 */ lh $t7, 0x0000($s4) ## 00000000
|
||||
.L808761C0:
|
||||
/* 008A0 808761C0 544F000C */ bnel $v0, $t7, .L808761F4
|
||||
/* 008A4 808761C4 8E940124 */ lw $s4, 0x0124($s4) ## 00000124
|
||||
/* 008A8 808761C8 8698001C */ lh $t8, 0x001C($s4) ## 0000001C
|
||||
/* 008AC 808761CC 57000009 */ bnel $t8, $zero, .L808761F4
|
||||
/* 008B0 808761D0 8E940124 */ lw $s4, 0x0124($s4) ## 00000124
|
||||
/* 008B4 808761D4 92990198 */ lbu $t9, 0x0198($s4) ## 00000198
|
||||
/* 008B8 808761D8 3C01C4FA */ lui $at, 0xC4FA ## $at = C4FA0000
|
||||
/* 008BC 808761DC 13200007 */ beq $t9, $zero, .L808761FC
|
||||
/* 008C0 808761E0 00000000 */ nop
|
||||
/* 008C4 808761E4 44813000 */ mtc1 $at, $f6 ## $f6 = -2000.00
|
||||
/* 008C8 808761E8 10000004 */ beq $zero, $zero, .L808761FC
|
||||
/* 008CC 808761EC E7A600BC */ swc1 $f6, 0x00BC($sp)
|
||||
/* 008D0 808761F0 8E940124 */ lw $s4, 0x0124($s4) ## 00000124
|
||||
.L808761F4:
|
||||
/* 008D4 808761F4 5680FFF2 */ bnel $s4, $zero, .L808761C0
|
||||
/* 008D8 808761F8 868F0000 */ lh $t7, 0x0000($s4) ## 00000000
|
||||
.L808761FC:
|
||||
/* 008DC 808761FC 0C024F46 */ jal func_80093D18
|
||||
/* 008E0 80876200 8C640000 */ lw $a0, 0x0000($v1) ## 00000000
|
||||
/* 008E4 80876204 8E6302C0 */ lw $v1, 0x02C0($s3) ## 000002C0
|
||||
/* 008E8 80876208 3C098087 */ lui $t1, %hi(D_80877328) ## $t1 = 80870000
|
||||
/* 008EC 8087620C 25297328 */ addiu $t1, $t1, %lo(D_80877328) ## $t1 = 80877328
|
||||
/* 008F0 80876210 24680008 */ addiu $t0, $v1, 0x0008 ## $t0 = 00000008
|
||||
/* 008F4 80876214 AE6802C0 */ sw $t0, 0x02C0($s3) ## 000002C0
|
||||
/* 008F8 80876218 3C17DE00 */ lui $s7, 0xDE00 ## $s7 = DE000000
|
||||
/* 008FC 8087621C AC770000 */ sw $s7, 0x0000($v1) ## 00000000
|
||||
/* 00900 80876220 AC690004 */ sw $t1, 0x0004($v1) ## 00000004
|
||||
/* 00904 80876224 8FAA00E4 */ lw $t2, 0x00E4($sp)
|
||||
/* 00908 80876228 3C1E8087 */ lui $s8, %hi(D_80876A64) ## $s8 = 80870000
|
||||
/* 0090C 8087622C 3C16DA38 */ lui $s6, 0xDA38 ## $s6 = DA380000
|
||||
/* 00910 80876230 8D541C64 */ lw $s4, 0x1C64($t2) ## 00001C64
|
||||
/* 00914 80876234 36D60003 */ ori $s6, $s6, 0x0003 ## $s6 = DA380003
|
||||
/* 00918 80876238 27DE6A64 */ addiu $s8, $s8, %lo(D_80876A64) ## $s8 = 80876A64
|
||||
/* 0091C 8087623C 1280008C */ beq $s4, $zero, .L80876470
|
||||
/* 00920 80876240 3C014700 */ lui $at, 0x4700 ## $at = 47000000
|
||||
/* 00924 80876244 3C158087 */ lui $s5, %hi(D_80877F54) ## $s5 = 80870000
|
||||
/* 00928 80876248 4480B000 */ mtc1 $zero, $f22 ## $f22 = 0.00
|
||||
/* 0092C 8087624C 4481A000 */ mtc1 $at, $f20 ## $f20 = 32768.00
|
||||
/* 00930 80876250 26B57F54 */ addiu $s5, $s5, %lo(D_80877F54) ## $s5 = 80877F54
|
||||
/* 00934 80876254 868B0000 */ lh $t3, 0x0000($s4) ## 00000000
|
||||
.L80876258:
|
||||
/* 00938 80876258 24010106 */ addiu $at, $zero, 0x0106 ## $at = 00000106
|
||||
/* 0093C 8087625C C7A800BC */ lwc1 $f8, 0x00BC($sp)
|
||||
/* 00940 80876260 55610081 */ bnel $t3, $at, .L80876468
|
||||
/* 00944 80876264 8E940124 */ lw $s4, 0x0124($s4) ## 00000124
|
||||
/* 00948 80876268 C68A00EC */ lwc1 $f10, 0x00EC($s4) ## 000000EC
|
||||
/* 0094C 8087626C 8FAC00CC */ lw $t4, 0x00CC($sp)
|
||||
/* 00950 80876270 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
|
||||
/* 00954 80876274 460A403C */ c.lt.s $f8, $f10
|
||||
/* 00958 80876278 00000000 */ nop
|
||||
/* 0095C 8087627C 4502007A */ bc1fl .L80876468
|
||||
/* 00960 80876280 8E940124 */ lw $s4, 0x0124($s4) ## 00000124
|
||||
/* 00964 80876284 C68E0028 */ lwc1 $f14, 0x0028($s4) ## 00000028
|
||||
/* 00968 80876288 C5900060 */ lwc1 $f16, 0x0060($t4) ## 00000060
|
||||
/* 0096C 8087628C 3C128087 */ lui $s2, %hi(D_80877408) ## $s2 = 80870000
|
||||
/* 00970 80876290 00008825 */ or $s1, $zero, $zero ## $s1 = 00000000
|
||||
/* 00974 80876294 4610703C */ c.lt.s $f14, $f16
|
||||
/* 00978 80876298 26527408 */ addiu $s2, $s2, %lo(D_80877408) ## $s2 = 80877408
|
||||
/* 0097C 8087629C 45000004 */ bc1f .L808762B0
|
||||
/* 00980 808762A0 00000000 */ nop
|
||||
/* 00984 808762A4 3C128087 */ lui $s2, %hi(D_808773B0) ## $s2 = 80870000
|
||||
/* 00988 808762A8 10000001 */ beq $zero, $zero, .L808762B0
|
||||
/* 0098C 808762AC 265273B0 */ addiu $s2, $s2, %lo(D_808773B0) ## $s2 = 808773B0
|
||||
.L808762B0:
|
||||
/* 00990 808762B0 C68C0024 */ lwc1 $f12, 0x0024($s4) ## 00000024
|
||||
/* 00994 808762B4 0C034261 */ jal Matrix_Translate
|
||||
/* 00998 808762B8 8E86002C */ lw $a2, 0x002C($s4) ## 0000002C
|
||||
/* 0099C 808762BC 928D016A */ lbu $t5, 0x016A($s4) ## 0000016A
|
||||
/* 009A0 808762C0 51A00022 */ beql $t5, $zero, .L8087634C
|
||||
/* 009A4 808762C4 8E7002C0 */ lw $s0, 0x02C0($s3) ## 000002C0
|
||||
/* 009A8 808762C8 868E00B4 */ lh $t6, 0x00B4($s4) ## 000000B4
|
||||
/* 009AC 808762CC 3C018087 */ lui $at, %hi(D_80877FAC) ## $at = 80870000
|
||||
/* 009B0 808762D0 C4287FAC */ lwc1 $f8, %lo(D_80877FAC)($at)
|
||||
/* 009B4 808762D4 448E9000 */ mtc1 $t6, $f18 ## $f18 = 0.00
|
||||
/* 009B8 808762D8 24050001 */ addiu $a1, $zero, 0x0001 ## $a1 = 00000001
|
||||
/* 009BC 808762DC 46809120 */ cvt.s.w $f4, $f18
|
||||
/* 009C0 808762E0 46142183 */ div.s $f6, $f4, $f20
|
||||
/* 009C4 808762E4 46083302 */ mul.s $f12, $f6, $f8
|
||||
/* 009C8 808762E8 0C0342DC */ jal Matrix_RotateX
|
||||
/* 009CC 808762EC 00000000 */ nop
|
||||
/* 009D0 808762F0 868F00B8 */ lh $t7, 0x00B8($s4) ## 000000B8
|
||||
/* 009D4 808762F4 3C018087 */ lui $at, %hi(D_80877FB0) ## $at = 80870000
|
||||
/* 009D8 808762F8 C4247FB0 */ lwc1 $f4, %lo(D_80877FB0)($at)
|
||||
/* 009DC 808762FC 448F5000 */ mtc1 $t7, $f10 ## $f10 = 0.00
|
||||
/* 009E0 80876300 24050001 */ addiu $a1, $zero, 0x0001 ## $a1 = 00000001
|
||||
/* 009E4 80876304 46805420 */ cvt.s.w $f16, $f10
|
||||
/* 009E8 80876308 46148483 */ div.s $f18, $f16, $f20
|
||||
/* 009EC 8087630C 46049302 */ mul.s $f12, $f18, $f4
|
||||
/* 009F0 80876310 0C0343B5 */ jal Matrix_RotateZ
|
||||
/* 009F4 80876314 00000000 */ nop
|
||||
/* 009F8 80876318 8FB800CC */ lw $t8, 0x00CC($sp)
|
||||
/* 009FC 8087631C C6860028 */ lwc1 $f6, 0x0028($s4) ## 00000028
|
||||
/* 00A00 80876320 3C118087 */ lui $s1, %hi(D_808773B0) ## $s1 = 80870000
|
||||
/* 00A04 80876324 C7080060 */ lwc1 $f8, 0x0060($t8) ## 00000060
|
||||
/* 00A08 80876328 263173B0 */ addiu $s1, $s1, %lo(D_808773B0) ## $s1 = 808773B0
|
||||
/* 00A0C 8087632C 4608303C */ c.lt.s $f6, $f8
|
||||
/* 00A10 80876330 00000000 */ nop
|
||||
/* 00A14 80876334 45000004 */ bc1f .L80876348
|
||||
/* 00A18 80876338 00000000 */ nop
|
||||
/* 00A1C 8087633C 3C118087 */ lui $s1, %hi(D_80877408) ## $s1 = 80870000
|
||||
/* 00A20 80876340 10000001 */ beq $zero, $zero, .L80876348
|
||||
/* 00A24 80876344 26317408 */ addiu $s1, $s1, %lo(D_80877408) ## $s1 = 80877408
|
||||
.L80876348:
|
||||
/* 00A28 80876348 8E7002C0 */ lw $s0, 0x02C0($s3) ## 000002C0
|
||||
.L8087634C:
|
||||
/* 00A2C 8087634C 3C058087 */ lui $a1, %hi(D_80877F3C) ## $a1 = 80870000
|
||||
/* 00A30 80876350 24A57F3C */ addiu $a1, $a1, %lo(D_80877F3C) ## $a1 = 80877F3C
|
||||
/* 00A34 80876354 26190008 */ addiu $t9, $s0, 0x0008 ## $t9 = 00000008
|
||||
/* 00A38 80876358 AE7902C0 */ sw $t9, 0x02C0($s3) ## 000002C0
|
||||
/* 00A3C 8087635C AE160000 */ sw $s6, 0x0000($s0) ## 00000000
|
||||
/* 00A40 80876360 8FA800E4 */ lw $t0, 0x00E4($sp)
|
||||
/* 00A44 80876364 240602FE */ addiu $a2, $zero, 0x02FE ## $a2 = 000002FE
|
||||
/* 00A48 80876368 0C0346A2 */ jal Matrix_NewMtx
|
||||
/* 00A4C 8087636C 8D040000 */ lw $a0, 0x0000($t0) ## 00000000
|
||||
/* 00A50 80876370 AE020004 */ sw $v0, 0x0004($s0) ## 00000004
|
||||
/* 00A54 80876374 8E6302C0 */ lw $v1, 0x02C0($s3) ## 000002C0
|
||||
/* 00A58 80876378 00008025 */ or $s0, $zero, $zero ## $s0 = 00000000
|
||||
/* 00A5C 8087637C 24690008 */ addiu $t1, $v1, 0x0008 ## $t1 = 00000008
|
||||
/* 00A60 80876380 AE6902C0 */ sw $t1, 0x02C0($s3) ## 000002C0
|
||||
/* 00A64 80876384 AC720004 */ sw $s2, 0x0004($v1) ## 00000004
|
||||
/* 00A68 80876388 12200006 */ beq $s1, $zero, .L808763A4
|
||||
/* 00A6C 8087638C AC770000 */ sw $s7, 0x0000($v1) ## 00000000
|
||||
/* 00A70 80876390 8E6302C0 */ lw $v1, 0x02C0($s3) ## 000002C0
|
||||
/* 00A74 80876394 246A0008 */ addiu $t2, $v1, 0x0008 ## $t2 = 00000008
|
||||
/* 00A78 80876398 AE6A02C0 */ sw $t2, 0x02C0($s3) ## 000002C0
|
||||
/* 00A7C 8087639C AC710004 */ sw $s1, 0x0004($v1) ## 00000004
|
||||
/* 00A80 808763A0 AC770000 */ sw $s7, 0x0000($v1) ## 00000000
|
||||
.L808763A4:
|
||||
/* 00A84 808763A4 03D05821 */ addu $t3, $s8, $s0
|
||||
.L808763A8:
|
||||
/* 00A88 808763A8 916C0000 */ lbu $t4, 0x0000($t3) ## 00000000
|
||||
/* 00A8C 808763AC 928D016C */ lbu $t5, 0x016C($s4) ## 0000016C
|
||||
/* 00A90 808763B0 3C128087 */ lui $s2, %hi(D_80877460) ## $s2 = 80870000
|
||||
/* 00A94 808763B4 018D7024 */ and $t6, $t4, $t5
|
||||
/* 00A98 808763B8 51C00025 */ beql $t6, $zero, .L80876450
|
||||
/* 00A9C 808763BC 26100001 */ addiu $s0, $s0, 0x0001 ## $s0 = 00000001
|
||||
/* 00AA0 808763C0 0C034213 */ jal Matrix_Push
|
||||
/* 00AA4 808763C4 26527460 */ addiu $s2, $s2, %lo(D_80877460) ## $s2 = 80877460
|
||||
/* 00AA8 808763C8 00107880 */ sll $t7, $s0, 2
|
||||
/* 00AAC 808763CC 01F07823 */ subu $t7, $t7, $s0
|
||||
/* 00AB0 808763D0 3C188087 */ lui $t8, %hi(D_80876AA0) ## $t8 = 80870000
|
||||
/* 00AB4 808763D4 27186AA0 */ addiu $t8, $t8, %lo(D_80876AA0) ## $t8 = 80876AA0
|
||||
/* 00AB8 808763D8 000F7880 */ sll $t7, $t7, 2
|
||||
/* 00ABC 808763DC 01F81021 */ addu $v0, $t7, $t8
|
||||
/* 00AC0 808763E0 C44C0000 */ lwc1 $f12, 0x0000($v0) ## 00000000
|
||||
/* 00AC4 808763E4 8C460008 */ lw $a2, 0x0008($v0) ## 00000008
|
||||
/* 00AC8 808763E8 4600B386 */ mov.s $f14, $f22
|
||||
/* 00ACC 808763EC 0C034261 */ jal Matrix_Translate
|
||||
/* 00AD0 808763F0 24070001 */ addiu $a3, $zero, 0x0001 ## $a3 = 00000001
|
||||
/* 00AD4 808763F4 0010C880 */ sll $t9, $s0, 2
|
||||
/* 00AD8 808763F8 3C018087 */ lui $at, %hi(D_80876AD0) ## $at = 80870000
|
||||
/* 00ADC 808763FC 00390821 */ addu $at, $at, $t9
|
||||
/* 00AE0 80876400 C42C6AD0 */ lwc1 $f12, %lo(D_80876AD0)($at)
|
||||
/* 00AE4 80876404 0C034348 */ jal Matrix_RotateY
|
||||
/* 00AE8 80876408 24050001 */ addiu $a1, $zero, 0x0001 ## $a1 = 00000001
|
||||
/* 00AEC 8087640C 8E7102C0 */ lw $s1, 0x02C0($s3) ## 000002C0
|
||||
/* 00AF0 80876410 02A02825 */ or $a1, $s5, $zero ## $a1 = 80877F54
|
||||
/* 00AF4 80876414 24060311 */ addiu $a2, $zero, 0x0311 ## $a2 = 00000311
|
||||
/* 00AF8 80876418 26280008 */ addiu $t0, $s1, 0x0008 ## $t0 = 80877410
|
||||
/* 00AFC 8087641C AE6802C0 */ sw $t0, 0x02C0($s3) ## 000002C0
|
||||
/* 00B00 80876420 AE360000 */ sw $s6, 0x0000($s1) ## 80877408
|
||||
/* 00B04 80876424 8FA900E4 */ lw $t1, 0x00E4($sp)
|
||||
/* 00B08 80876428 0C0346A2 */ jal Matrix_NewMtx
|
||||
/* 00B0C 8087642C 8D240000 */ lw $a0, 0x0000($t1) ## 00000000
|
||||
/* 00B10 80876430 AE220004 */ sw $v0, 0x0004($s1) ## 8087740C
|
||||
/* 00B14 80876434 8E6302C0 */ lw $v1, 0x02C0($s3) ## 000002C0
|
||||
/* 00B18 80876438 246A0008 */ addiu $t2, $v1, 0x0008 ## $t2 = 00000008
|
||||
/* 00B1C 8087643C AE6A02C0 */ sw $t2, 0x02C0($s3) ## 000002C0
|
||||
/* 00B20 80876440 AC720004 */ sw $s2, 0x0004($v1) ## 00000004
|
||||
/* 00B24 80876444 0C034221 */ jal Matrix_Pull
|
||||
/* 00B28 80876448 AC770000 */ sw $s7, 0x0000($v1) ## 00000000
|
||||
/* 00B2C 8087644C 26100001 */ addiu $s0, $s0, 0x0001 ## $s0 = 00000002
|
||||
.L80876450:
|
||||
/* 00B30 80876450 00108400 */ sll $s0, $s0, 16
|
||||
/* 00B34 80876454 00108403 */ sra $s0, $s0, 16
|
||||
/* 00B38 80876458 2A010004 */ slti $at, $s0, 0x0004
|
||||
/* 00B3C 8087645C 5420FFD2 */ bnel $at, $zero, .L808763A8
|
||||
/* 00B40 80876460 03D05821 */ addu $t3, $s8, $s0
|
||||
/* 00B44 80876464 8E940124 */ lw $s4, 0x0124($s4) ## 00000124
|
||||
.L80876468:
|
||||
/* 00B48 80876468 5680FF7B */ bnel $s4, $zero, .L80876258
|
||||
/* 00B4C 8087646C 868B0000 */ lh $t3, 0x0000($s4) ## 00000000
|
||||
.L80876470:
|
||||
/* 00B50 80876470 8FAB00E4 */ lw $t3, 0x00E4($sp)
|
||||
/* 00B54 80876474 3C16DA38 */ lui $s6, 0xDA38 ## $s6 = DA380000
|
||||
/* 00B58 80876478 3C1E8087 */ lui $s8, %hi(D_80876A64) ## $s8 = 80870000
|
||||
/* 00B5C 8087647C 4480B000 */ mtc1 $zero, $f22 ## $f22 = 0.00
|
||||
/* 00B60 80876480 27DE6A64 */ addiu $s8, $s8, %lo(D_80876A64) ## $s8 = 80876A64
|
||||
/* 00B64 80876484 36D60003 */ ori $s6, $s6, 0x0003 ## $s6 = DA380003
|
||||
/* 00B68 80876488 0C024F61 */ jal func_80093D84
|
||||
/* 00B6C 8087648C 8D640000 */ lw $a0, 0x0000($t3) ## 00000000
|
||||
/* 00B70 80876490 8FAC00E4 */ lw $t4, 0x00E4($sp)
|
||||
/* 00B74 80876494 3C158087 */ lui $s5, %hi(D_80877F6C) ## $s5 = 80870000
|
||||
/* 00B78 80876498 26B57F6C */ addiu $s5, $s5, %lo(D_80877F6C) ## $s5 = 80877F6C
|
||||
/* 00B7C 8087649C 8D941C64 */ lw $s4, 0x1C64($t4) ## 00001C64
|
||||
/* 00B80 808764A0 3C018087 */ lui $at, %hi(D_80877FB4) ## $at = 80870000
|
||||
/* 00B84 808764A4 5280014F */ beql $s4, $zero, .L808769E4
|
||||
/* 00B88 808764A8 8FA900E4 */ lw $t1, 0x00E4($sp)
|
||||
/* 00B8C 808764AC C4347FB4 */ lwc1 $f20, %lo(D_80877FB4)($at)
|
||||
/* 00B90 808764B0 868D0000 */ lh $t5, 0x0000($s4) ## 00000000
|
||||
.L808764B4:
|
||||
/* 00B94 808764B4 24010106 */ addiu $at, $zero, 0x0106 ## $at = 00000106
|
||||
/* 00B98 808764B8 15A10146 */ bne $t5, $at, .L808769D4
|
||||
/* 00B9C 808764BC 3C01C1F0 */ lui $at, 0xC1F0 ## $at = C1F00000
|
||||
/* 00BA0 808764C0 44815000 */ mtc1 $at, $f10 ## $f10 = -30.00
|
||||
/* 00BA4 808764C4 C69000EC */ lwc1 $f16, 0x00EC($s4) ## 000000EC
|
||||
/* 00BA8 808764C8 4610503C */ c.lt.s $f10, $f16
|
||||
/* 00BAC 808764CC 00000000 */ nop
|
||||
/* 00BB0 808764D0 45020141 */ bc1fl .L808769D8
|
||||
/* 00BB4 808764D4 8E940124 */ lw $s4, 0x0124($s4) ## 00000124
|
||||
/* 00BB8 808764D8 928E016E */ lbu $t6, 0x016E($s4) ## 0000016E
|
||||
/* 00BBC 808764DC 3C18DB06 */ lui $t8, 0xDB06 ## $t8 = DB060000
|
||||
/* 00BC0 808764E0 37180020 */ ori $t8, $t8, 0x0020 ## $t8 = DB060020
|
||||
/* 00BC4 808764E4 11C0013B */ beq $t6, $zero, .L808769D4
|
||||
/* 00BC8 808764E8 00002825 */ or $a1, $zero, $zero ## $a1 = 00000000
|
||||
/* 00BCC 808764EC 8E7002D0 */ lw $s0, 0x02D0($s3) ## 000002D0
|
||||
/* 00BD0 808764F0 24080020 */ addiu $t0, $zero, 0x0020 ## $t0 = 00000020
|
||||
/* 00BD4 808764F4 24090040 */ addiu $t1, $zero, 0x0040 ## $t1 = 00000040
|
||||
/* 00BD8 808764F8 260F0008 */ addiu $t7, $s0, 0x0008 ## $t7 = 0000000A
|
||||
/* 00BDC 808764FC AE6F02D0 */ sw $t7, 0x02D0($s3) ## 000002D0
|
||||
/* 00BE0 80876500 AE180000 */ sw $t8, 0x0000($s0) ## 00000002
|
||||
/* 00BE4 80876504 8FB900E4 */ lw $t9, 0x00E4($sp)
|
||||
/* 00BE8 80876508 9286016D */ lbu $a2, 0x016D($s4) ## 0000016D
|
||||
/* 00BEC 8087650C 240A0001 */ addiu $t2, $zero, 0x0001 ## $t2 = 00000001
|
||||
/* 00BF0 80876510 8F240000 */ lw $a0, 0x0000($t9) ## 00000000
|
||||
/* 00BF4 80876514 240B0020 */ addiu $t3, $zero, 0x0020 ## $t3 = 00000020
|
||||
/* 00BF8 80876518 240C0040 */ addiu $t4, $zero, 0x0040 ## $t4 = 00000040
|
||||
/* 00BFC 8087651C 00063080 */ sll $a2, $a2, 2
|
||||
/* 00C00 80876520 AFA6001C */ sw $a2, 0x001C($sp)
|
||||
/* 00C04 80876524 AFAC0028 */ sw $t4, 0x0028($sp)
|
||||
/* 00C08 80876528 AFAB0024 */ sw $t3, 0x0024($sp)
|
||||
/* 00C0C 8087652C AFA00020 */ sw $zero, 0x0020($sp)
|
||||
/* 00C10 80876530 AFAA0018 */ sw $t2, 0x0018($sp)
|
||||
/* 00C14 80876534 AFA90014 */ sw $t1, 0x0014($sp)
|
||||
/* 00C18 80876538 AFA80010 */ sw $t0, 0x0010($sp)
|
||||
/* 00C1C 8087653C 0C0253D0 */ jal Gfx_TwoTexScroll
|
||||
/* 00C20 80876540 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
|
||||
/* 00C24 80876544 AE020004 */ sw $v0, 0x0004($s0) ## 00000006
|
||||
/* 00C28 80876548 8E6302D0 */ lw $v1, 0x02D0($s3) ## 000002D0
|
||||
/* 00C2C 8087654C 3C0EE700 */ lui $t6, 0xE700 ## $t6 = E7000000
|
||||
/* 00C30 80876550 3C18FA00 */ lui $t8, 0xFA00 ## $t8 = FA000000
|
||||
/* 00C34 80876554 246D0008 */ addiu $t5, $v1, 0x0008 ## $t5 = 00000008
|
||||
/* 00C38 80876558 AE6D02D0 */ sw $t5, 0x02D0($s3) ## 000002D0
|
||||
/* 00C3C 8087655C AC600004 */ sw $zero, 0x0004($v1) ## 00000004
|
||||
/* 00C40 80876560 AC6E0000 */ sw $t6, 0x0000($v1) ## 00000000
|
||||
/* 00C44 80876564 8E6202D0 */ lw $v0, 0x02D0($s3) ## 000002D0
|
||||
/* 00C48 80876568 4459F800 */ cfc1 $t9, $f31
|
||||
/* 00C4C 8087656C 24080001 */ addiu $t0, $zero, 0x0001 ## $t0 = 00000001
|
||||
/* 00C50 80876570 244F0008 */ addiu $t7, $v0, 0x0008 ## $t7 = 00000008
|
||||
/* 00C54 80876574 AE6F02D0 */ sw $t7, 0x02D0($s3) ## 000002D0
|
||||
/* 00C58 80876578 AC580000 */ sw $t8, 0x0000($v0) ## 00000000
|
||||
/* 00C5C 8087657C 44C8F800 */ ctc1 $t0, $f31
|
||||
/* 00C60 80876580 C6920174 */ lwc1 $f18, 0x0174($s4) ## 00000174
|
||||
/* 00C64 80876584 3C014F00 */ lui $at, 0x4F00 ## $at = 4F000000
|
||||
/* 00C68 80876588 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
|
||||
/* 00C6C 8087658C 46009124 */ cvt.w.s $f4, $f18
|
||||
/* 00C70 80876590 4448F800 */ cfc1 $t0, $f31
|
||||
/* 00C74 80876594 00000000 */ nop
|
||||
/* 00C78 80876598 31080078 */ andi $t0, $t0, 0x0078 ## $t0 = 00000000
|
||||
/* 00C7C 8087659C 51000013 */ beql $t0, $zero, .L808765EC
|
||||
/* 00C80 808765A0 44082000 */ mfc1 $t0, $f4
|
||||
/* 00C84 808765A4 44812000 */ mtc1 $at, $f4 ## $f4 = 2147483648.00
|
||||
/* 00C88 808765A8 24080001 */ addiu $t0, $zero, 0x0001 ## $t0 = 00000001
|
||||
/* 00C8C 808765AC 46049101 */ sub.s $f4, $f18, $f4
|
||||
/* 00C90 808765B0 44C8F800 */ ctc1 $t0, $f31
|
||||
/* 00C94 808765B4 00000000 */ nop
|
||||
/* 00C98 808765B8 46002124 */ cvt.w.s $f4, $f4
|
||||
/* 00C9C 808765BC 4448F800 */ cfc1 $t0, $f31
|
||||
/* 00CA0 808765C0 00000000 */ nop
|
||||
/* 00CA4 808765C4 31080078 */ andi $t0, $t0, 0x0078 ## $t0 = 00000000
|
||||
/* 00CA8 808765C8 15000005 */ bne $t0, $zero, .L808765E0
|
||||
/* 00CAC 808765CC 00000000 */ nop
|
||||
/* 00CB0 808765D0 44082000 */ mfc1 $t0, $f4
|
||||
/* 00CB4 808765D4 3C018000 */ lui $at, 0x8000 ## $at = 80000000
|
||||
/* 00CB8 808765D8 10000007 */ beq $zero, $zero, .L808765F8
|
||||
/* 00CBC 808765DC 01014025 */ or $t0, $t0, $at ## $t0 = 80000000
|
||||
.L808765E0:
|
||||
/* 00CC0 808765E0 10000005 */ beq $zero, $zero, .L808765F8
|
||||
/* 00CC4 808765E4 2408FFFF */ addiu $t0, $zero, 0xFFFF ## $t0 = FFFFFFFF
|
||||
/* 00CC8 808765E8 44082000 */ mfc1 $t0, $f4
|
||||
.L808765EC:
|
||||
/* 00CCC 808765EC 00000000 */ nop
|
||||
/* 00CD0 808765F0 0500FFFB */ bltz $t0, .L808765E0
|
||||
/* 00CD4 808765F4 00000000 */ nop
|
||||
.L808765F8:
|
||||
/* 00CD8 808765F8 44D9F800 */ ctc1 $t9, $f31
|
||||
/* 00CDC 808765FC 240C0001 */ addiu $t4, $zero, 0x0001 ## $t4 = 00000001
|
||||
/* 00CE0 80876600 C6860178 */ lwc1 $f6, 0x0178($s4) ## 00000178
|
||||
/* 00CE4 80876604 00085600 */ sll $t2, $t0, 24
|
||||
/* 00CE8 80876608 444BF800 */ cfc1 $t3, $f31
|
||||
/* 00CEC 8087660C 44CCF800 */ ctc1 $t4, $f31
|
||||
/* 00CF0 80876610 3C014F00 */ lui $at, 0x4F00 ## $at = 4F000000
|
||||
/* 00CF4 80876614 46003224 */ cvt.w.s $f8, $f6
|
||||
/* 00CF8 80876618 444CF800 */ cfc1 $t4, $f31
|
||||
/* 00CFC 8087661C 00000000 */ nop
|
||||
/* 00D00 80876620 318C0078 */ andi $t4, $t4, 0x0078 ## $t4 = 00000000
|
||||
/* 00D04 80876624 51800013 */ beql $t4, $zero, .L80876674
|
||||
/* 00D08 80876628 440C4000 */ mfc1 $t4, $f8
|
||||
/* 00D0C 8087662C 44814000 */ mtc1 $at, $f8 ## $f8 = 2147483648.00
|
||||
/* 00D10 80876630 240C0001 */ addiu $t4, $zero, 0x0001 ## $t4 = 00000001
|
||||
/* 00D14 80876634 46083201 */ sub.s $f8, $f6, $f8
|
||||
/* 00D18 80876638 44CCF800 */ ctc1 $t4, $f31
|
||||
/* 00D1C 8087663C 00000000 */ nop
|
||||
/* 00D20 80876640 46004224 */ cvt.w.s $f8, $f8
|
||||
/* 00D24 80876644 444CF800 */ cfc1 $t4, $f31
|
||||
/* 00D28 80876648 00000000 */ nop
|
||||
/* 00D2C 8087664C 318C0078 */ andi $t4, $t4, 0x0078 ## $t4 = 00000000
|
||||
/* 00D30 80876650 15800005 */ bne $t4, $zero, .L80876668
|
||||
/* 00D34 80876654 00000000 */ nop
|
||||
/* 00D38 80876658 440C4000 */ mfc1 $t4, $f8
|
||||
/* 00D3C 8087665C 3C018000 */ lui $at, 0x8000 ## $at = 80000000
|
||||
/* 00D40 80876660 10000007 */ beq $zero, $zero, .L80876680
|
||||
/* 00D44 80876664 01816025 */ or $t4, $t4, $at ## $t4 = 80000000
|
||||
.L80876668:
|
||||
/* 00D48 80876668 10000005 */ beq $zero, $zero, .L80876680
|
||||
/* 00D4C 8087666C 240CFFFF */ addiu $t4, $zero, 0xFFFF ## $t4 = FFFFFFFF
|
||||
/* 00D50 80876670 440C4000 */ mfc1 $t4, $f8
|
||||
.L80876674:
|
||||
/* 00D54 80876674 00000000 */ nop
|
||||
/* 00D58 80876678 0580FFFB */ bltz $t4, .L80876668
|
||||
/* 00D5C 8087667C 00000000 */ nop
|
||||
.L80876680:
|
||||
/* 00D60 80876680 44CBF800 */ ctc1 $t3, $f31
|
||||
/* 00D64 80876684 24190001 */ addiu $t9, $zero, 0x0001 ## $t9 = 00000001
|
||||
/* 00D68 80876688 C68A017C */ lwc1 $f10, 0x017C($s4) ## 0000017C
|
||||
/* 00D6C 8087668C 318D00FF */ andi $t5, $t4, 0x00FF ## $t5 = 000000FF
|
||||
/* 00D70 80876690 4458F800 */ cfc1 $t8, $f31
|
||||
/* 00D74 80876694 44D9F800 */ ctc1 $t9, $f31
|
||||
/* 00D78 80876698 000D7400 */ sll $t6, $t5, 16
|
||||
/* 00D7C 8087669C 014E7825 */ or $t7, $t2, $t6 ## $t7 = E7000000
|
||||
/* 00D80 808766A0 46005424 */ cvt.w.s $f16, $f10
|
||||
/* 00D84 808766A4 3C014F00 */ lui $at, 0x4F00 ## $at = 4F000000
|
||||
/* 00D88 808766A8 3C0DFB00 */ lui $t5, 0xFB00 ## $t5 = FB000000
|
||||
/* 00D8C 808766AC 4459F800 */ cfc1 $t9, $f31
|
||||
/* 00D90 808766B0 00000000 */ nop
|
||||
/* 00D94 808766B4 33390078 */ andi $t9, $t9, 0x0078 ## $t9 = 00000000
|
||||
/* 00D98 808766B8 53200013 */ beql $t9, $zero, .L80876708
|
||||
/* 00D9C 808766BC 44198000 */ mfc1 $t9, $f16
|
||||
/* 00DA0 808766C0 44818000 */ mtc1 $at, $f16 ## $f16 = 2147483648.00
|
||||
/* 00DA4 808766C4 24190001 */ addiu $t9, $zero, 0x0001 ## $t9 = 00000001
|
||||
/* 00DA8 808766C8 46105401 */ sub.s $f16, $f10, $f16
|
||||
/* 00DAC 808766CC 44D9F800 */ ctc1 $t9, $f31
|
||||
/* 00DB0 808766D0 00000000 */ nop
|
||||
/* 00DB4 808766D4 46008424 */ cvt.w.s $f16, $f16
|
||||
/* 00DB8 808766D8 4459F800 */ cfc1 $t9, $f31
|
||||
/* 00DBC 808766DC 00000000 */ nop
|
||||
/* 00DC0 808766E0 33390078 */ andi $t9, $t9, 0x0078 ## $t9 = 00000000
|
||||
/* 00DC4 808766E4 17200005 */ bne $t9, $zero, .L808766FC
|
||||
/* 00DC8 808766E8 00000000 */ nop
|
||||
/* 00DCC 808766EC 44198000 */ mfc1 $t9, $f16
|
||||
/* 00DD0 808766F0 3C018000 */ lui $at, 0x8000 ## $at = 80000000
|
||||
/* 00DD4 808766F4 10000007 */ beq $zero, $zero, .L80876714
|
||||
/* 00DD8 808766F8 0321C825 */ or $t9, $t9, $at ## $t9 = 80000000
|
||||
.L808766FC:
|
||||
/* 00DDC 808766FC 10000005 */ beq $zero, $zero, .L80876714
|
||||
/* 00DE0 80876700 2419FFFF */ addiu $t9, $zero, 0xFFFF ## $t9 = FFFFFFFF
|
||||
/* 00DE4 80876704 44198000 */ mfc1 $t9, $f16
|
||||
.L80876708:
|
||||
/* 00DE8 80876708 00000000 */ nop
|
||||
/* 00DEC 8087670C 0720FFFB */ bltz $t9, .L808766FC
|
||||
/* 00DF0 80876710 00000000 */ nop
|
||||
.L80876714:
|
||||
/* 00DF4 80876714 332800FF */ andi $t0, $t9, 0x00FF ## $t0 = 000000FF
|
||||
/* 00DF8 80876718 00084A00 */ sll $t1, $t0, 8
|
||||
/* 00DFC 8087671C 01E95825 */ or $t3, $t7, $t1 ## $t3 = E7000000
|
||||
/* 00E00 80876720 AC4B0004 */ sw $t3, 0x0004($v0) ## 00000004
|
||||
/* 00E04 80876724 8E6202D0 */ lw $v0, 0x02D0($s3) ## 000002D0
|
||||
/* 00E08 80876728 44D8F800 */ ctc1 $t8, $f31
|
||||
/* 00E0C 8087672C 240E0001 */ addiu $t6, $zero, 0x0001 ## $t6 = 00000001
|
||||
/* 00E10 80876730 244C0008 */ addiu $t4, $v0, 0x0008 ## $t4 = 00000008
|
||||
/* 00E14 80876734 AE6C02D0 */ sw $t4, 0x02D0($s3) ## 000002D0
|
||||
/* 00E18 80876738 AC4D0000 */ sw $t5, 0x0000($v0) ## 00000000
|
||||
/* 00E1C 8087673C 444AF800 */ cfc1 $t2, $f31
|
||||
/* 00E20 80876740 44CEF800 */ ctc1 $t6, $f31
|
||||
/* 00E24 80876744 C6920180 */ lwc1 $f18, 0x0180($s4) ## 00000180
|
||||
/* 00E28 80876748 3C014F00 */ lui $at, 0x4F00 ## $at = 4F000000
|
||||
/* 00E2C 8087674C 46009124 */ cvt.w.s $f4, $f18
|
||||
/* 00E30 80876750 444EF800 */ cfc1 $t6, $f31
|
||||
/* 00E34 80876754 00000000 */ nop
|
||||
/* 00E38 80876758 31CE0078 */ andi $t6, $t6, 0x0078 ## $t6 = 00000000
|
||||
/* 00E3C 8087675C 51C00013 */ beql $t6, $zero, .L808767AC
|
||||
/* 00E40 80876760 440E2000 */ mfc1 $t6, $f4
|
||||
/* 00E44 80876764 44812000 */ mtc1 $at, $f4 ## $f4 = 2147483648.00
|
||||
/* 00E48 80876768 240E0001 */ addiu $t6, $zero, 0x0001 ## $t6 = 00000001
|
||||
/* 00E4C 8087676C 46049101 */ sub.s $f4, $f18, $f4
|
||||
/* 00E50 80876770 44CEF800 */ ctc1 $t6, $f31
|
||||
/* 00E54 80876774 00000000 */ nop
|
||||
/* 00E58 80876778 46002124 */ cvt.w.s $f4, $f4
|
||||
/* 00E5C 8087677C 444EF800 */ cfc1 $t6, $f31
|
||||
/* 00E60 80876780 00000000 */ nop
|
||||
/* 00E64 80876784 31CE0078 */ andi $t6, $t6, 0x0078 ## $t6 = 00000000
|
||||
/* 00E68 80876788 15C00005 */ bne $t6, $zero, .L808767A0
|
||||
/* 00E6C 8087678C 00000000 */ nop
|
||||
/* 00E70 80876790 440E2000 */ mfc1 $t6, $f4
|
||||
/* 00E74 80876794 3C018000 */ lui $at, 0x8000 ## $at = 80000000
|
||||
/* 00E78 80876798 10000007 */ beq $zero, $zero, .L808767B8
|
||||
/* 00E7C 8087679C 01C17025 */ or $t6, $t6, $at ## $t6 = 80000000
|
||||
.L808767A0:
|
||||
/* 00E80 808767A0 10000005 */ beq $zero, $zero, .L808767B8
|
||||
/* 00E84 808767A4 240EFFFF */ addiu $t6, $zero, 0xFFFF ## $t6 = FFFFFFFF
|
||||
/* 00E88 808767A8 440E2000 */ mfc1 $t6, $f4
|
||||
.L808767AC:
|
||||
/* 00E8C 808767AC 00000000 */ nop
|
||||
/* 00E90 808767B0 05C0FFFB */ bltz $t6, .L808767A0
|
||||
/* 00E94 808767B4 00000000 */ nop
|
||||
.L808767B8:
|
||||
/* 00E98 808767B8 44CAF800 */ ctc1 $t2, $f31
|
||||
/* 00E9C 808767BC 240F0001 */ addiu $t7, $zero, 0x0001 ## $t7 = 00000001
|
||||
/* 00EA0 808767C0 C6860184 */ lwc1 $f6, 0x0184($s4) ## 00000184
|
||||
/* 00EA4 808767C4 000ECE00 */ sll $t9, $t6, 24
|
||||
/* 00EA8 808767C8 4448F800 */ cfc1 $t0, $f31
|
||||
/* 00EAC 808767CC 44CFF800 */ ctc1 $t7, $f31
|
||||
/* 00EB0 808767D0 3C014F00 */ lui $at, 0x4F00 ## $at = 4F000000
|
||||
/* 00EB4 808767D4 46003224 */ cvt.w.s $f8, $f6
|
||||
/* 00EB8 808767D8 444FF800 */ cfc1 $t7, $f31
|
||||
/* 00EBC 808767DC 00000000 */ nop
|
||||
/* 00EC0 808767E0 31EF0078 */ andi $t7, $t7, 0x0078 ## $t7 = 00000000
|
||||
/* 00EC4 808767E4 51E00013 */ beql $t7, $zero, .L80876834
|
||||
/* 00EC8 808767E8 440F4000 */ mfc1 $t7, $f8
|
||||
/* 00ECC 808767EC 44814000 */ mtc1 $at, $f8 ## $f8 = 2147483648.00
|
||||
/* 00ED0 808767F0 240F0001 */ addiu $t7, $zero, 0x0001 ## $t7 = 00000001
|
||||
/* 00ED4 808767F4 46083201 */ sub.s $f8, $f6, $f8
|
||||
/* 00ED8 808767F8 44CFF800 */ ctc1 $t7, $f31
|
||||
/* 00EDC 808767FC 00000000 */ nop
|
||||
/* 00EE0 80876800 46004224 */ cvt.w.s $f8, $f8
|
||||
/* 00EE4 80876804 444FF800 */ cfc1 $t7, $f31
|
||||
/* 00EE8 80876808 00000000 */ nop
|
||||
/* 00EEC 8087680C 31EF0078 */ andi $t7, $t7, 0x0078 ## $t7 = 00000000
|
||||
/* 00EF0 80876810 15E00005 */ bne $t7, $zero, .L80876828
|
||||
/* 00EF4 80876814 00000000 */ nop
|
||||
/* 00EF8 80876818 440F4000 */ mfc1 $t7, $f8
|
||||
/* 00EFC 8087681C 3C018000 */ lui $at, 0x8000 ## $at = 80000000
|
||||
/* 00F00 80876820 10000007 */ beq $zero, $zero, .L80876840
|
||||
/* 00F04 80876824 01E17825 */ or $t7, $t7, $at ## $t7 = 80000000
|
||||
.L80876828:
|
||||
/* 00F08 80876828 10000005 */ beq $zero, $zero, .L80876840
|
||||
/* 00F0C 8087682C 240FFFFF */ addiu $t7, $zero, 0xFFFF ## $t7 = FFFFFFFF
|
||||
/* 00F10 80876830 440F4000 */ mfc1 $t7, $f8
|
||||
.L80876834:
|
||||
/* 00F14 80876834 00000000 */ nop
|
||||
/* 00F18 80876838 05E0FFFB */ bltz $t7, .L80876828
|
||||
/* 00F1C 8087683C 00000000 */ nop
|
||||
.L80876840:
|
||||
/* 00F20 80876840 44C8F800 */ ctc1 $t0, $f31
|
||||
/* 00F24 80876844 240A0001 */ addiu $t2, $zero, 0x0001 ## $t2 = 00000001
|
||||
/* 00F28 80876848 C68A0188 */ lwc1 $f10, 0x0188($s4) ## 00000188
|
||||
/* 00F2C 8087684C 31E900FF */ andi $t1, $t7, 0x00FF ## $t1 = 000000FF
|
||||
/* 00F30 80876850 444DF800 */ cfc1 $t5, $f31
|
||||
/* 00F34 80876854 44CAF800 */ ctc1 $t2, $f31
|
||||
/* 00F38 80876858 00095C00 */ sll $t3, $t1, 16
|
||||
/* 00F3C 8087685C 032B6025 */ or $t4, $t9, $t3 ## $t4 = FFFFFFFF
|
||||
/* 00F40 80876860 46005424 */ cvt.w.s $f16, $f10
|
||||
/* 00F44 80876864 3C014F00 */ lui $at, 0x4F00 ## $at = 4F000000
|
||||
/* 00F48 80876868 444AF800 */ cfc1 $t2, $f31
|
||||
/* 00F4C 8087686C 00000000 */ nop
|
||||
/* 00F50 80876870 314A0078 */ andi $t2, $t2, 0x0078 ## $t2 = 00000000
|
||||
/* 00F54 80876874 51400013 */ beql $t2, $zero, .L808768C4
|
||||
/* 00F58 80876878 440A8000 */ mfc1 $t2, $f16
|
||||
/* 00F5C 8087687C 44818000 */ mtc1 $at, $f16 ## $f16 = 2147483648.00
|
||||
/* 00F60 80876880 240A0001 */ addiu $t2, $zero, 0x0001 ## $t2 = 00000001
|
||||
/* 00F64 80876884 46105401 */ sub.s $f16, $f10, $f16
|
||||
/* 00F68 80876888 44CAF800 */ ctc1 $t2, $f31
|
||||
/* 00F6C 8087688C 00000000 */ nop
|
||||
/* 00F70 80876890 46008424 */ cvt.w.s $f16, $f16
|
||||
/* 00F74 80876894 444AF800 */ cfc1 $t2, $f31
|
||||
/* 00F78 80876898 00000000 */ nop
|
||||
/* 00F7C 8087689C 314A0078 */ andi $t2, $t2, 0x0078 ## $t2 = 00000000
|
||||
/* 00F80 808768A0 15400005 */ bne $t2, $zero, .L808768B8
|
||||
/* 00F84 808768A4 00000000 */ nop
|
||||
/* 00F88 808768A8 440A8000 */ mfc1 $t2, $f16
|
||||
/* 00F8C 808768AC 3C018000 */ lui $at, 0x8000 ## $at = 80000000
|
||||
/* 00F90 808768B0 10000007 */ beq $zero, $zero, .L808768D0
|
||||
/* 00F94 808768B4 01415025 */ or $t2, $t2, $at ## $t2 = 80000000
|
||||
.L808768B8:
|
||||
/* 00F98 808768B8 10000005 */ beq $zero, $zero, .L808768D0
|
||||
/* 00F9C 808768BC 240AFFFF */ addiu $t2, $zero, 0xFFFF ## $t2 = FFFFFFFF
|
||||
/* 00FA0 808768C0 440A8000 */ mfc1 $t2, $f16
|
||||
.L808768C4:
|
||||
/* 00FA4 808768C4 00000000 */ nop
|
||||
/* 00FA8 808768C8 0540FFFB */ bltz $t2, .L808768B8
|
||||
/* 00FAC 808768CC 00000000 */ nop
|
||||
.L808768D0:
|
||||
/* 00FB0 808768D0 314E00FF */ andi $t6, $t2, 0x00FF ## $t6 = 000000FF
|
||||
/* 00FB4 808768D4 000EC200 */ sll $t8, $t6, 8
|
||||
/* 00FB8 808768D8 01984025 */ or $t0, $t4, $t8 ## $t0 = FFFFFFFF
|
||||
/* 00FBC 808768DC 44CDF800 */ ctc1 $t5, $f31
|
||||
/* 00FC0 808768E0 350F0080 */ ori $t7, $t0, 0x0080 ## $t7 = FFFFFFFF
|
||||
/* 00FC4 808768E4 AC4F0004 */ sw $t7, 0x0004($v0) ## 00000004
|
||||
/* 00FC8 808768E8 8E86002C */ lw $a2, 0x002C($s4) ## 0000002C
|
||||
/* 00FCC 808768EC C68C0024 */ lwc1 $f12, 0x0024($s4) ## 00000024
|
||||
/* 00FD0 808768F0 0C034261 */ jal Matrix_Translate
|
||||
/* 00FD4 808768F4 4600B386 */ mov.s $f14, $f22
|
||||
/* 00FD8 808768F8 00008025 */ or $s0, $zero, $zero ## $s0 = 00000000
|
||||
/* 00FDC 808768FC 03D04821 */ addu $t1, $s8, $s0
|
||||
.L80876900:
|
||||
/* 00FE0 80876900 91390000 */ lbu $t9, 0x0000($t1) ## 00000000
|
||||
/* 00FE4 80876904 928B016B */ lbu $t3, 0x016B($s4) ## 0000016B
|
||||
/* 00FE8 80876908 3C128087 */ lui $s2, %hi(D_80877CF8) ## $s2 = 80870000
|
||||
/* 00FEC 8087690C 032B6824 */ and $t5, $t9, $t3
|
||||
/* 00FF0 80876910 51A0002B */ beql $t5, $zero, .L808769C0
|
||||
/* 00FF4 80876914 26100001 */ addiu $s0, $s0, 0x0001 ## $s0 = 00000001
|
||||
/* 00FF8 80876918 0C034213 */ jal Matrix_Push
|
||||
/* 00FFC 8087691C 26527CF8 */ addiu $s2, $s2, %lo(D_80877CF8) ## $s2 = 80877CF8
|
||||
/* 01000 80876920 00105080 */ sll $t2, $s0, 2
|
||||
/* 01004 80876924 01505023 */ subu $t2, $t2, $s0
|
||||
/* 01008 80876928 3C0E8087 */ lui $t6, %hi(D_80876AA0) ## $t6 = 80870000
|
||||
/* 0100C 8087692C 25CE6AA0 */ addiu $t6, $t6, %lo(D_80876AA0) ## $t6 = 80876AA0
|
||||
/* 01010 80876930 000A5080 */ sll $t2, $t2, 2
|
||||
/* 01014 80876934 014E1021 */ addu $v0, $t2, $t6
|
||||
/* 01018 80876938 C44C0000 */ lwc1 $f12, 0x0000($v0) ## 00000000
|
||||
/* 0101C 8087693C 8C460008 */ lw $a2, 0x0008($v0) ## 00000008
|
||||
/* 01020 80876940 4600B386 */ mov.s $f14, $f22
|
||||
/* 01024 80876944 0C034261 */ jal Matrix_Translate
|
||||
/* 01028 80876948 24070001 */ addiu $a3, $zero, 0x0001 ## $a3 = 00000001
|
||||
/* 0102C 8087694C 00106080 */ sll $t4, $s0, 2
|
||||
/* 01030 80876950 3C018087 */ lui $at, %hi(D_80876AD0) ## $at = 80870000
|
||||
/* 01034 80876954 002C0821 */ addu $at, $at, $t4
|
||||
/* 01038 80876958 C42C6AD0 */ lwc1 $f12, %lo(D_80876AD0)($at)
|
||||
/* 0103C 8087695C 0C034348 */ jal Matrix_RotateY
|
||||
/* 01040 80876960 24050001 */ addiu $a1, $zero, 0x0001 ## $a1 = 00000001
|
||||
/* 01044 80876964 C6920170 */ lwc1 $f18, 0x0170($s4) ## 00000170
|
||||
/* 01048 80876968 4406A000 */ mfc1 $a2, $f20
|
||||
/* 0104C 8087696C 4600A306 */ mov.s $f12, $f20
|
||||
/* 01050 80876970 46149382 */ mul.s $f14, $f18, $f20
|
||||
/* 01054 80876974 0C0342A3 */ jal Matrix_Scale
|
||||
/* 01058 80876978 24070001 */ addiu $a3, $zero, 0x0001 ## $a3 = 00000001
|
||||
/* 0105C 8087697C 8E7102D0 */ lw $s1, 0x02D0($s3) ## 000002D0
|
||||
/* 01060 80876980 02A02825 */ or $a1, $s5, $zero ## $a1 = 80877F6C
|
||||
/* 01064 80876984 2406034F */ addiu $a2, $zero, 0x034F ## $a2 = 0000034F
|
||||
/* 01068 80876988 26380008 */ addiu $t8, $s1, 0x0008 ## $t8 = 80877410
|
||||
/* 0106C 8087698C AE7802D0 */ sw $t8, 0x02D0($s3) ## 000002D0
|
||||
/* 01070 80876990 AE360000 */ sw $s6, 0x0000($s1) ## 80877408
|
||||
/* 01074 80876994 8FA800E4 */ lw $t0, 0x00E4($sp)
|
||||
/* 01078 80876998 0C0346A2 */ jal Matrix_NewMtx
|
||||
/* 0107C 8087699C 8D040000 */ lw $a0, 0x0000($t0) ## 00000000
|
||||
/* 01080 808769A0 AE220004 */ sw $v0, 0x0004($s1) ## 8087740C
|
||||
/* 01084 808769A4 8E6302D0 */ lw $v1, 0x02D0($s3) ## 000002D0
|
||||
/* 01088 808769A8 246F0008 */ addiu $t7, $v1, 0x0008 ## $t7 = 00000008
|
||||
/* 0108C 808769AC AE6F02D0 */ sw $t7, 0x02D0($s3) ## 000002D0
|
||||
/* 01090 808769B0 AC720004 */ sw $s2, 0x0004($v1) ## 00000004
|
||||
/* 01094 808769B4 0C034221 */ jal Matrix_Pull
|
||||
/* 01098 808769B8 AC770000 */ sw $s7, 0x0000($v1) ## 00000000
|
||||
/* 0109C 808769BC 26100001 */ addiu $s0, $s0, 0x0001 ## $s0 = 00000002
|
||||
.L808769C0:
|
||||
/* 010A0 808769C0 00108400 */ sll $s0, $s0, 16
|
||||
/* 010A4 808769C4 00108403 */ sra $s0, $s0, 16
|
||||
/* 010A8 808769C8 2A010004 */ slti $at, $s0, 0x0004
|
||||
/* 010AC 808769CC 5420FFCC */ bnel $at, $zero, .L80876900
|
||||
/* 010B0 808769D0 03D04821 */ addu $t1, $s8, $s0
|
||||
.L808769D4:
|
||||
/* 010B4 808769D4 8E940124 */ lw $s4, 0x0124($s4) ## 00000124
|
||||
.L808769D8:
|
||||
/* 010B8 808769D8 5680FEB6 */ bnel $s4, $zero, .L808764B4
|
||||
/* 010BC 808769DC 868D0000 */ lh $t5, 0x0000($s4) ## 00000000
|
||||
/* 010C0 808769E0 8FA900E4 */ lw $t1, 0x00E4($sp)
|
||||
.L808769E4:
|
||||
/* 010C4 808769E4 3C068087 */ lui $a2, %hi(D_80877F84) ## $a2 = 80870000
|
||||
/* 010C8 808769E8 24C67F84 */ addiu $a2, $a2, %lo(D_80877F84) ## $a2 = 80877F84
|
||||
/* 010CC 808769EC 27A400A8 */ addiu $a0, $sp, 0x00A8 ## $a0 = FFFFFFC8
|
||||
/* 010D0 808769F0 24070359 */ addiu $a3, $zero, 0x0359 ## $a3 = 00000359
|
||||
/* 010D4 808769F4 0C031AD5 */ jal Graph_CloseDisps
|
||||
/* 010D8 808769F8 8D250000 */ lw $a1, 0x0000($t1) ## 00000000
|
||||
/* 010DC 808769FC 8FBF006C */ lw $ra, 0x006C($sp)
|
||||
/* 010E0 80876A00 D7B40038 */ ldc1 $f20, 0x0038($sp)
|
||||
/* 010E4 80876A04 D7B60040 */ ldc1 $f22, 0x0040($sp)
|
||||
/* 010E8 80876A08 8FB00048 */ lw $s0, 0x0048($sp)
|
||||
/* 010EC 80876A0C 8FB1004C */ lw $s1, 0x004C($sp)
|
||||
/* 010F0 80876A10 8FB20050 */ lw $s2, 0x0050($sp)
|
||||
/* 010F4 80876A14 8FB30054 */ lw $s3, 0x0054($sp)
|
||||
/* 010F8 80876A18 8FB40058 */ lw $s4, 0x0058($sp)
|
||||
/* 010FC 80876A1C 8FB5005C */ lw $s5, 0x005C($sp)
|
||||
/* 01100 80876A20 8FB60060 */ lw $s6, 0x0060($sp)
|
||||
/* 01104 80876A24 8FB70064 */ lw $s7, 0x0064($sp)
|
||||
/* 01108 80876A28 8FBE0068 */ lw $s8, 0x0068($sp)
|
||||
/* 0110C 80876A2C 03E00008 */ jr $ra
|
||||
/* 01110 80876A30 27BD00E0 */ addiu $sp, $sp, 0x00E0 ## $sp = 00000000
|
||||
/* 01114 80876A34 00000000 */ nop
|
||||
/* 01118 80876A38 00000000 */ nop
|
||||
/* 0111C 80876A3C 00000000 */ nop
|
|
@ -1,45 +0,0 @@
|
|||
glabel BgGanonOtyuka_Init
|
||||
/* 00000 80875920 27BDFFD0 */ addiu $sp, $sp, 0xFFD0 ## $sp = FFFFFFD0
|
||||
/* 00004 80875924 AFA50034 */ sw $a1, 0x0034($sp)
|
||||
/* 00008 80875928 AFBF001C */ sw $ra, 0x001C($sp)
|
||||
/* 0000C 8087592C AFB00018 */ sw $s0, 0x0018($sp)
|
||||
/* 00010 80875930 3C058087 */ lui $a1, %hi(D_80876A60) ## $a1 = 80870000
|
||||
/* 00014 80875934 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
|
||||
/* 00018 80875938 AFA00024 */ sw $zero, 0x0024($sp)
|
||||
/* 0001C 8087593C 0C01E037 */ jal Actor_ProcessInitChain
|
||||
|
||||
/* 00020 80875940 24A56A60 */ addiu $a1, $a1, %lo(D_80876A60) ## $a1 = 80876A60
|
||||
/* 00024 80875944 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 00028 80875948 0C010D20 */ jal DynaPolyInfo_SetActorMove
|
||||
|
||||
/* 0002C 8087594C 00002825 */ or $a1, $zero, $zero ## $a1 = 00000000
|
||||
/* 00030 80875950 3C048087 */ lui $a0, %hi(D_80877E90) ## $a0 = 80870000
|
||||
/* 00034 80875954 24847E90 */ addiu $a0, $a0, %lo(D_80877E90) ## $a0 = 80877E90
|
||||
/* 00038 80875958 0C010620 */ jal DynaPolyInfo_Alloc
|
||||
|
||||
/* 0003C 8087595C 27A50024 */ addiu $a1, $sp, 0x0024 ## $a1 = FFFFFFF4
|
||||
/* 00040 80875960 8FA40034 */ lw $a0, 0x0034($sp)
|
||||
/* 00044 80875964 02003025 */ or $a2, $s0, $zero ## $a2 = 00000000
|
||||
/* 00048 80875968 8FA70024 */ lw $a3, 0x0024($sp)
|
||||
/* 0004C 8087596C 0C00FA9D */ jal DynaPolyInfo_RegisterActor
|
||||
## DynaPolyInfo_setActor
|
||||
/* 00050 80875970 24850810 */ addiu $a1, $a0, 0x0810 ## $a1 = 00000810
|
||||
/* 00054 80875974 860E001C */ lh $t6, 0x001C($s0) ## 0000001C
|
||||
/* 00058 80875978 24010023 */ addiu $at, $zero, 0x0023 ## $at = 00000023
|
||||
/* 0005C 8087597C AE02014C */ sw $v0, 0x014C($s0) ## 0000014C
|
||||
/* 00060 80875980 11C10006 */ beq $t6, $at, .L8087599C
|
||||
/* 00064 80875984 3C188087 */ lui $t8, %hi(func_808760DC) ## $t8 = 80870000
|
||||
/* 00068 80875988 3C0F8087 */ lui $t7, %hi(func_80875A0C) ## $t7 = 80870000
|
||||
/* 0006C 8087598C 25EF5A0C */ addiu $t7, $t7, %lo(func_80875A0C) ## $t7 = 80875A0C
|
||||
/* 00070 80875990 AE000134 */ sw $zero, 0x0134($s0) ## 00000134
|
||||
/* 00074 80875994 10000003 */ beq $zero, $zero, .L808759A4
|
||||
/* 00078 80875998 AE0F0164 */ sw $t7, 0x0164($s0) ## 00000164
|
||||
.L8087599C:
|
||||
/* 0007C 8087599C 271860DC */ addiu $t8, $t8, %lo(func_808760DC) ## $t8 = 808760DC
|
||||
/* 00080 808759A0 AE180130 */ sw $t8, 0x0130($s0) ## 00000130
|
||||
.L808759A4:
|
||||
/* 00084 808759A4 8FBF001C */ lw $ra, 0x001C($sp)
|
||||
/* 00088 808759A8 8FB00018 */ lw $s0, 0x0018($sp)
|
||||
/* 0008C 808759AC 27BD0030 */ addiu $sp, $sp, 0x0030 ## $sp = 00000000
|
||||
/* 00090 808759B0 03E00008 */ jr $ra
|
||||
/* 00094 808759B4 00000000 */ nop
|
|
@ -1,20 +0,0 @@
|
|||
glabel BgGanonOtyuka_Update
|
||||
/* 007C8 808760E8 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
|
||||
/* 007CC 808760EC AFBF0014 */ sw $ra, 0x0014($sp)
|
||||
/* 007D0 808760F0 AFA40018 */ sw $a0, 0x0018($sp)
|
||||
/* 007D4 808760F4 8C990164 */ lw $t9, 0x0164($a0) ## 00000164
|
||||
/* 007D8 808760F8 0320F809 */ jalr $ra, $t9
|
||||
/* 007DC 808760FC 00000000 */ nop
|
||||
/* 007E0 80876100 8FA40018 */ lw $a0, 0x0018($sp)
|
||||
/* 007E4 80876104 908E016D */ lbu $t6, 0x016D($a0) ## 0000016D
|
||||
/* 007E8 80876108 84820168 */ lh $v0, 0x0168($a0) ## 00000168
|
||||
/* 007EC 8087610C 25CF0001 */ addiu $t7, $t6, 0x0001 ## $t7 = 00000001
|
||||
/* 007F0 80876110 10400003 */ beq $v0, $zero, .L80876120
|
||||
/* 007F4 80876114 A08F016D */ sb $t7, 0x016D($a0) ## 0000016D
|
||||
/* 007F8 80876118 2458FFFF */ addiu $t8, $v0, 0xFFFF ## $t8 = FFFFFFFF
|
||||
/* 007FC 8087611C A4980168 */ sh $t8, 0x0168($a0) ## 00000168
|
||||
.L80876120:
|
||||
/* 00800 80876120 8FBF0014 */ lw $ra, 0x0014($sp)
|
||||
/* 00804 80876124 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
|
||||
/* 00808 80876128 03E00008 */ jr $ra
|
||||
/* 0080C 8087612C 00000000 */ nop
|
|
@ -1,194 +0,0 @@
|
|||
.rdata
|
||||
glabel D_80877EE4
|
||||
.asciz "OTC O 1\n"
|
||||
.balign 4
|
||||
|
||||
glabel D_80877EF0
|
||||
.asciz "OTC O 2\n"
|
||||
.balign 4
|
||||
|
||||
glabel D_80877EFC
|
||||
.asciz "OTC O 3\n"
|
||||
.balign 4
|
||||
|
||||
.late_rodata
|
||||
glabel D_80877F9C
|
||||
.float 4900.0
|
||||
|
||||
.text
|
||||
glabel func_80875A0C
|
||||
/* 000EC 80875A0C 27BDFF90 */ addiu $sp, $sp, 0xFF90 ## $sp = FFFFFF90
|
||||
/* 000F0 80875A10 AFBF003C */ sw $ra, 0x003C($sp)
|
||||
/* 000F4 80875A14 AFB60038 */ sw $s6, 0x0038($sp)
|
||||
/* 000F8 80875A18 AFB50034 */ sw $s5, 0x0034($sp)
|
||||
/* 000FC 80875A1C AFB40030 */ sw $s4, 0x0030($sp)
|
||||
/* 00100 80875A20 AFB3002C */ sw $s3, 0x002C($sp)
|
||||
/* 00104 80875A24 AFB20028 */ sw $s2, 0x0028($sp)
|
||||
/* 00108 80875A28 AFB10024 */ sw $s1, 0x0024($sp)
|
||||
/* 0010C 80875A2C AFB00020 */ sw $s0, 0x0020($sp)
|
||||
/* 00110 80875A30 F7B40018 */ sdc1 $f20, 0x0018($sp)
|
||||
/* 00114 80875A34 908E016A */ lbu $t6, 0x016A($a0) ## 0000016A
|
||||
/* 00118 80875A38 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
|
||||
/* 0011C 80875A3C 00A0A825 */ or $s5, $a1, $zero ## $s5 = 00000000
|
||||
/* 00120 80875A40 15C0000A */ bne $t6, $zero, .L80875A6C
|
||||
/* 00124 80875A44 00000000 */ nop
|
||||
/* 00128 80875A48 90AF1C26 */ lbu $t7, 0x1C26($a1) ## 00001C26
|
||||
/* 0012C 80875A4C 3C018087 */ lui $at, %hi(D_80877F9C) ## $at = 80870000
|
||||
/* 00130 80875A50 51E00083 */ beql $t7, $zero, .L80875C60
|
||||
/* 00134 80875A54 8FBF003C */ lw $ra, 0x003C($sp)
|
||||
/* 00138 80875A58 C484008C */ lwc1 $f4, 0x008C($a0) ## 0000008C
|
||||
/* 0013C 80875A5C C4267F9C */ lwc1 $f6, %lo(D_80877F9C)($at)
|
||||
/* 00140 80875A60 4606203C */ c.lt.s $f4, $f6
|
||||
/* 00144 80875A64 00000000 */ nop
|
||||
/* 00148 80875A68 4500007C */ bc1f .L80875C5C
|
||||
.L80875A6C:
|
||||
/* 0014C 80875A6C 3C048087 */ lui $a0, %hi(D_80877EE4) ## $a0 = 80870000
|
||||
/* 00150 80875A70 0C00084C */ jal osSyncPrintf
|
||||
|
||||
/* 00154 80875A74 24847EE4 */ addiu $a0, $a0, %lo(D_80877EE4) ## $a0 = 80877EE4
|
||||
/* 00158 80875A78 3C014120 */ lui $at, 0x4120 ## $at = 41200000
|
||||
/* 0015C 80875A7C 3C168087 */ lui $s6, %hi(D_80876A64) ## $s6 = 80870000
|
||||
/* 00160 80875A80 3C128087 */ lui $s2, %hi(D_80876A68) ## $s2 = 80870000
|
||||
/* 00164 80875A84 44818000 */ mtc1 $at, $f16 ## $f16 = 10.00
|
||||
/* 00168 80875A88 26526A68 */ addiu $s2, $s2, %lo(D_80876A68) ## $s2 = 80876A68
|
||||
/* 0016C 80875A8C 26D66A64 */ addiu $s6, $s6, %lo(D_80876A64) ## $s6 = 80876A64
|
||||
/* 00170 80875A90 00008825 */ or $s1, $zero, $zero ## $s1 = 00000000
|
||||
/* 00174 80875A94 2413000C */ addiu $s3, $zero, 0x000C ## $s3 = 0000000C
|
||||
/* 00178 80875A98 24040106 */ addiu $a0, $zero, 0x0106 ## $a0 = 00000106
|
||||
/* 0017C 80875A9C 8EA21C64 */ lw $v0, 0x1C64($s5) ## 00001C64
|
||||
.L80875AA0:
|
||||
/* 00180 80875AA0 5040002F */ beql $v0, $zero, .L80875B60
|
||||
/* 00184 80875AA4 26310001 */ addiu $s1, $s1, 0x0001 ## $s1 = 00000001
|
||||
.L80875AA8:
|
||||
/* 00188 80875AA8 10500004 */ beq $v0, $s0, .L80875ABC
|
||||
/* 0018C 80875AAC 00000000 */ nop
|
||||
/* 00190 80875AB0 84580000 */ lh $t8, 0x0000($v0) ## 00000000
|
||||
/* 00194 80875AB4 10980003 */ beq $a0, $t8, .L80875AC4
|
||||
/* 00198 80875AB8 00000000 */ nop
|
||||
.L80875ABC:
|
||||
/* 0019C 80875ABC 10000025 */ beq $zero, $zero, .L80875B54
|
||||
/* 001A0 80875AC0 8C420124 */ lw $v0, 0x0124($v0) ## 00000124
|
||||
.L80875AC4:
|
||||
/* 001A4 80875AC4 02330019 */ multu $s1, $s3
|
||||
/* 001A8 80875AC8 C4480024 */ lwc1 $f8, 0x0024($v0) ## 00000024
|
||||
/* 001AC 80875ACC C60A0024 */ lwc1 $f10, 0x0024($s0) ## 00000024
|
||||
/* 001B0 80875AD0 C4460028 */ lwc1 $f6, 0x0028($v0) ## 00000028
|
||||
/* 001B4 80875AD4 460A4481 */ sub.s $f18, $f8, $f10
|
||||
/* 001B8 80875AD8 C6080028 */ lwc1 $f8, 0x0028($s0) ## 00000028
|
||||
/* 001BC 80875ADC C44A002C */ lwc1 $f10, 0x002C($v0) ## 0000002C
|
||||
/* 001C0 80875AE0 46083301 */ sub.s $f12, $f6, $f8
|
||||
/* 001C4 80875AE4 0000C812 */ mflo $t9
|
||||
/* 001C8 80875AE8 02591821 */ addu $v1, $s2, $t9
|
||||
/* 001CC 80875AEC C4640000 */ lwc1 $f4, 0x0000($v1) ## 00000000
|
||||
/* 001D0 80875AF0 C4660008 */ lwc1 $f6, 0x0008($v1) ## 00000008
|
||||
/* 001D4 80875AF4 46122080 */ add.s $f2, $f4, $f18
|
||||
/* 001D8 80875AF8 C604002C */ lwc1 $f4, 0x002C($s0) ## 0000002C
|
||||
/* 001DC 80875AFC 46001005 */ abs.s $f0, $f2
|
||||
/* 001E0 80875B00 46045481 */ sub.s $f18, $f10, $f4
|
||||
/* 001E4 80875B04 4610003C */ c.lt.s $f0, $f16
|
||||
/* 001E8 80875B08 46123380 */ add.s $f14, $f6, $f18
|
||||
/* 001EC 80875B0C 45020011 */ bc1fl .L80875B54
|
||||
/* 001F0 80875B10 8C420124 */ lw $v0, 0x0124($v0) ## 00000124
|
||||
/* 001F4 80875B14 46006005 */ abs.s $f0, $f12
|
||||
/* 001F8 80875B18 4610003C */ c.lt.s $f0, $f16
|
||||
/* 001FC 80875B1C 00000000 */ nop
|
||||
/* 00200 80875B20 4502000C */ bc1fl .L80875B54
|
||||
/* 00204 80875B24 8C420124 */ lw $v0, 0x0124($v0) ## 00000124
|
||||
/* 00208 80875B28 46007005 */ abs.s $f0, $f14
|
||||
/* 0020C 80875B2C 4610003C */ c.lt.s $f0, $f16
|
||||
/* 00210 80875B30 00000000 */ nop
|
||||
/* 00214 80875B34 45000006 */ bc1f .L80875B50
|
||||
/* 00218 80875B38 02D14821 */ addu $t1, $s6, $s1
|
||||
/* 0021C 80875B3C 912A0000 */ lbu $t2, 0x0000($t1) ## 00000000
|
||||
/* 00220 80875B40 9048016C */ lbu $t0, 0x016C($v0) ## 0000016C
|
||||
/* 00224 80875B44 010A5825 */ or $t3, $t0, $t2 ## $t3 = 00000000
|
||||
/* 00228 80875B48 10000004 */ beq $zero, $zero, .L80875B5C
|
||||
/* 0022C 80875B4C A04B016C */ sb $t3, 0x016C($v0) ## 0000016C
|
||||
.L80875B50:
|
||||
/* 00230 80875B50 8C420124 */ lw $v0, 0x0124($v0) ## 00000124
|
||||
.L80875B54:
|
||||
/* 00234 80875B54 1440FFD4 */ bne $v0, $zero, .L80875AA8
|
||||
/* 00238 80875B58 00000000 */ nop
|
||||
.L80875B5C:
|
||||
/* 0023C 80875B5C 26310001 */ addiu $s1, $s1, 0x0001 ## $s1 = 00000002
|
||||
.L80875B60:
|
||||
/* 00240 80875B60 00118C00 */ sll $s1, $s1, 16
|
||||
/* 00244 80875B64 00118C03 */ sra $s1, $s1, 16
|
||||
/* 00248 80875B68 2A210004 */ slti $at, $s1, 0x0004
|
||||
/* 0024C 80875B6C 5420FFCC */ bnel $at, $zero, .L80875AA0
|
||||
/* 00250 80875B70 8EA21C64 */ lw $v0, 0x1C64($s5) ## 00001C64
|
||||
/* 00254 80875B74 3C048087 */ lui $a0, %hi(D_80877EF0) ## $a0 = 80870000
|
||||
/* 00258 80875B78 0C00084C */ jal osSyncPrintf
|
||||
|
||||
/* 0025C 80875B7C 24847EF0 */ addiu $a0, $a0, %lo(D_80877EF0) ## $a0 = 80877EF0
|
||||
/* 00260 80875B80 3C014248 */ lui $at, 0x4248 ## $at = 42480000
|
||||
/* 00264 80875B84 26B407C0 */ addiu $s4, $s5, 0x07C0 ## $s4 = 000007C0
|
||||
/* 00268 80875B88 4481A000 */ mtc1 $at, $f20 ## $f20 = 50.00
|
||||
/* 0026C 80875B8C 27B5004C */ addiu $s5, $sp, 0x004C ## $s5 = FFFFFFDC
|
||||
/* 00270 80875B90 00008825 */ or $s1, $zero, $zero ## $s1 = 00000000
|
||||
.L80875B94:
|
||||
/* 00274 80875B94 02330019 */ multu $s1, $s3
|
||||
/* 00278 80875B98 C60A0024 */ lwc1 $f10, 0x0024($s0) ## 00000024
|
||||
/* 0027C 80875B9C 4406A000 */ mfc1 $a2, $f20
|
||||
/* 00280 80875BA0 02802025 */ or $a0, $s4, $zero ## $a0 = 000007C0
|
||||
/* 00284 80875BA4 02A02825 */ or $a1, $s5, $zero ## $a1 = FFFFFFDC
|
||||
/* 00288 80875BA8 00006012 */ mflo $t4
|
||||
/* 0028C 80875BAC 024C1821 */ addu $v1, $s2, $t4
|
||||
/* 00290 80875BB0 C4680000 */ lwc1 $f8, 0x0000($v1) ## 00000000
|
||||
/* 00294 80875BB4 C4720008 */ lwc1 $f18, 0x0008($v1) ## 00000008
|
||||
/* 00298 80875BB8 460A4100 */ add.s $f4, $f8, $f10
|
||||
/* 0029C 80875BBC E7A4004C */ swc1 $f4, 0x004C($sp)
|
||||
/* 002A0 80875BC0 C6060028 */ lwc1 $f6, 0x0028($s0) ## 00000028
|
||||
/* 002A4 80875BC4 E7A60050 */ swc1 $f6, 0x0050($sp)
|
||||
/* 002A8 80875BC8 C608002C */ lwc1 $f8, 0x002C($s0) ## 0000002C
|
||||
/* 002AC 80875BCC 46089280 */ add.s $f10, $f18, $f8
|
||||
/* 002B0 80875BD0 0C00F8C3 */ jal func_8003E30C
|
||||
/* 002B4 80875BD4 E7AA0054 */ swc1 $f10, 0x0054($sp)
|
||||
/* 002B8 80875BD8 10400005 */ beq $v0, $zero, .L80875BF0
|
||||
/* 002BC 80875BDC 02D17021 */ addu $t6, $s6, $s1
|
||||
/* 002C0 80875BE0 920D016B */ lbu $t5, 0x016B($s0) ## 0000016B
|
||||
/* 002C4 80875BE4 91CF0000 */ lbu $t7, 0x0000($t6) ## 00000000
|
||||
/* 002C8 80875BE8 01AFC025 */ or $t8, $t5, $t7 ## $t8 = 00000000
|
||||
/* 002CC 80875BEC A218016B */ sb $t8, 0x016B($s0) ## 0000016B
|
||||
.L80875BF0:
|
||||
/* 002D0 80875BF0 26310001 */ addiu $s1, $s1, 0x0001 ## $s1 = 00000001
|
||||
/* 002D4 80875BF4 00118C00 */ sll $s1, $s1, 16
|
||||
/* 002D8 80875BF8 00118C03 */ sra $s1, $s1, 16
|
||||
/* 002DC 80875BFC 2A210004 */ slti $at, $s1, 0x0004
|
||||
/* 002E0 80875C00 1420FFE4 */ bne $at, $zero, .L80875B94
|
||||
/* 002E4 80875C04 00000000 */ nop
|
||||
/* 002E8 80875C08 3C048087 */ lui $a0, %hi(D_80877EFC) ## $a0 = 80870000
|
||||
/* 002EC 80875C0C 0C00084C */ jal osSyncPrintf
|
||||
|
||||
/* 002F0 80875C10 24847EFC */ addiu $a0, $a0, %lo(D_80877EFC) ## $a0 = 80877EFC
|
||||
/* 002F4 80875C14 3C01437F */ lui $at, 0x437F ## $at = 437F0000
|
||||
/* 002F8 80875C18 44810000 */ mtc1 $at, $f0 ## $f0 = 255.00
|
||||
/* 002FC 80875C1C 44802000 */ mtc1 $zero, $f4 ## $f4 = 0.00
|
||||
/* 00300 80875C20 24020001 */ addiu $v0, $zero, 0x0001 ## $v0 = 00000001
|
||||
/* 00304 80875C24 3C198087 */ lui $t9, %hi(func_80875C88) ## $t9 = 80870000
|
||||
/* 00308 80875C28 27395C88 */ addiu $t9, $t9, %lo(func_80875C88) ## $t9 = 80875C88
|
||||
/* 0030C 80875C2C 24090014 */ addiu $t1, $zero, 0x0014 ## $t1 = 00000014
|
||||
/* 00310 80875C30 AE190164 */ sw $t9, 0x0164($s0) ## 00000164
|
||||
/* 00314 80875C34 A202016A */ sb $v0, 0x016A($s0) ## 0000016A
|
||||
/* 00318 80875C38 A6090168 */ sh $t1, 0x0168($s0) ## 00000168
|
||||
/* 0031C 80875C3C A202016E */ sb $v0, 0x016E($s0) ## 0000016E
|
||||
/* 00320 80875C40 A200016D */ sb $zero, 0x016D($s0) ## 0000016D
|
||||
/* 00324 80875C44 E6000174 */ swc1 $f0, 0x0174($s0) ## 00000174
|
||||
/* 00328 80875C48 E6000178 */ swc1 $f0, 0x0178($s0) ## 00000178
|
||||
/* 0032C 80875C4C E600017C */ swc1 $f0, 0x017C($s0) ## 0000017C
|
||||
/* 00330 80875C50 E6000180 */ swc1 $f0, 0x0180($s0) ## 00000180
|
||||
/* 00334 80875C54 E6000184 */ swc1 $f0, 0x0184($s0) ## 00000184
|
||||
/* 00338 80875C58 E6040188 */ swc1 $f4, 0x0188($s0) ## 00000188
|
||||
.L80875C5C:
|
||||
/* 0033C 80875C5C 8FBF003C */ lw $ra, 0x003C($sp)
|
||||
.L80875C60:
|
||||
/* 00340 80875C60 D7B40018 */ ldc1 $f20, 0x0018($sp)
|
||||
/* 00344 80875C64 8FB00020 */ lw $s0, 0x0020($sp)
|
||||
/* 00348 80875C68 8FB10024 */ lw $s1, 0x0024($sp)
|
||||
/* 0034C 80875C6C 8FB20028 */ lw $s2, 0x0028($sp)
|
||||
/* 00350 80875C70 8FB3002C */ lw $s3, 0x002C($sp)
|
||||
/* 00354 80875C74 8FB40030 */ lw $s4, 0x0030($sp)
|
||||
/* 00358 80875C78 8FB50034 */ lw $s5, 0x0034($sp)
|
||||
/* 0035C 80875C7C 8FB60038 */ lw $s6, 0x0038($sp)
|
||||
/* 00360 80875C80 03E00008 */ jr $ra
|
||||
/* 00364 80875C84 27BD0070 */ addiu $sp, $sp, 0x0070 ## $sp = 00000000
|
|
@ -1,333 +0,0 @@
|
|||
.rdata
|
||||
glabel D_80877F08
|
||||
.asciz "MODE DOWN\n"
|
||||
.balign 4
|
||||
|
||||
glabel D_80877F14
|
||||
.asciz "MODE DOWN END\n"
|
||||
.balign 4
|
||||
|
||||
.late_rodata
|
||||
glabel D_80877FA0
|
||||
.float -750.0
|
||||
|
||||
glabel D_80877FA4
|
||||
.float 0.1
|
||||
|
||||
glabel D_80877FA8
|
||||
.float -750.0
|
||||
|
||||
.text
|
||||
glabel func_80875C88
|
||||
/* 00368 80875C88 27BDFF80 */ addiu $sp, $sp, 0xFF80 ## $sp = FFFFFF80
|
||||
/* 0036C 80875C8C AFB10040 */ sw $s1, 0x0040($sp)
|
||||
/* 00370 80875C90 00808825 */ or $s1, $a0, $zero ## $s1 = 00000000
|
||||
/* 00374 80875C94 AFBF0044 */ sw $ra, 0x0044($sp)
|
||||
/* 00378 80875C98 AFB0003C */ sw $s0, 0x003C($sp)
|
||||
/* 0037C 80875C9C F7B60030 */ sdc1 $f22, 0x0030($sp)
|
||||
/* 00380 80875CA0 F7B40028 */ sdc1 $f20, 0x0028($sp)
|
||||
/* 00384 80875CA4 AFA50084 */ sw $a1, 0x0084($sp)
|
||||
/* 00388 80875CA8 3C048087 */ lui $a0, %hi(D_80877F08) ## $a0 = 80870000
|
||||
/* 0038C 80875CAC 8CB01C44 */ lw $s0, 0x1C44($a1) ## 00001C44
|
||||
/* 00390 80875CB0 0C00084C */ jal osSyncPrintf
|
||||
|
||||
/* 00394 80875CB4 24847F08 */ addiu $a0, $a0, %lo(D_80877F08) ## $a0 = 80877F08
|
||||
/* 00398 80875CB8 9222016E */ lbu $v0, 0x016E($s1) ## 0000016E
|
||||
/* 0039C 80875CBC 24010001 */ addiu $at, $zero, 0x0001 ## $at = 00000001
|
||||
/* 003A0 80875CC0 1441001B */ bne $v0, $at, .L80875D30
|
||||
/* 003A4 80875CC4 3C013F80 */ lui $at, 0x3F80 ## $at = 3F800000
|
||||
/* 003A8 80875CC8 4481B000 */ mtc1 $at, $f22 ## $f22 = 1.00
|
||||
/* 003AC 80875CCC 2624017C */ addiu $a0, $s1, 0x017C ## $a0 = 0000017C
|
||||
/* 003B0 80875CD0 3C05432A */ lui $a1, 0x432A ## $a1 = 432A0000
|
||||
/* 003B4 80875CD4 4406B000 */ mfc1 $a2, $f22
|
||||
/* 003B8 80875CD8 0C01E107 */ jal Math_SmoothScaleMaxF
|
||||
|
||||
/* 003BC 80875CDC 3C074108 */ lui $a3, 0x4108 ## $a3 = 41080000
|
||||
/* 003C0 80875CE0 4406B000 */ mfc1 $a2, $f22
|
||||
/* 003C4 80875CE4 26240180 */ addiu $a0, $s1, 0x0180 ## $a0 = 00000180
|
||||
/* 003C8 80875CE8 3C0542F0 */ lui $a1, 0x42F0 ## $a1 = 42F00000
|
||||
/* 003CC 80875CEC 0C01E107 */ jal Math_SmoothScaleMaxF
|
||||
|
||||
/* 003D0 80875CF0 3C074158 */ lui $a3, 0x4158 ## $a3 = 41580000
|
||||
/* 003D4 80875CF4 3C014020 */ lui $at, 0x4020 ## $at = 40200000
|
||||
/* 003D8 80875CF8 4481A000 */ mtc1 $at, $f20 ## $f20 = 2.50
|
||||
/* 003DC 80875CFC 4406B000 */ mfc1 $a2, $f22
|
||||
/* 003E0 80875D00 26240170 */ addiu $a0, $s1, 0x0170 ## $a0 = 00000170
|
||||
/* 003E4 80875D04 4405A000 */ mfc1 $a1, $f20
|
||||
/* 003E8 80875D08 0C01E107 */ jal Math_SmoothScaleMaxF
|
||||
|
||||
/* 003EC 80875D0C 3C073E80 */ lui $a3, 0x3E80 ## $a3 = 3E800000
|
||||
/* 003F0 80875D10 C6240170 */ lwc1 $f4, 0x0170($s1) ## 00000170
|
||||
/* 003F4 80875D14 240F0002 */ addiu $t7, $zero, 0x0002 ## $t7 = 00000002
|
||||
/* 003F8 80875D18 4604A032 */ c.eq.s $f20, $f4
|
||||
/* 003FC 80875D1C 00000000 */ nop
|
||||
/* 00400 80875D20 45020022 */ bc1fl .L80875DAC
|
||||
/* 00404 80875D24 86220168 */ lh $v0, 0x0168($s1) ## 00000168
|
||||
/* 00408 80875D28 1000001F */ beq $zero, $zero, .L80875DA8
|
||||
/* 0040C 80875D2C A22F016E */ sb $t7, 0x016E($s1) ## 0000016E
|
||||
.L80875D30:
|
||||
/* 00410 80875D30 24010002 */ addiu $at, $zero, 0x0002 ## $at = 00000002
|
||||
/* 00414 80875D34 1441001C */ bne $v0, $at, .L80875DA8
|
||||
/* 00418 80875D38 3C013F80 */ lui $at, 0x3F80 ## $at = 3F800000
|
||||
/* 0041C 80875D3C 4481B000 */ mtc1 $at, $f22 ## $f22 = 1.00
|
||||
/* 00420 80875D40 4480A000 */ mtc1 $zero, $f20 ## $f20 = 0.00
|
||||
/* 00424 80875D44 26240178 */ addiu $a0, $s1, 0x0178 ## $a0 = 00000178
|
||||
/* 00428 80875D48 4406B000 */ mfc1 $a2, $f22
|
||||
/* 0042C 80875D4C 4405A000 */ mfc1 $a1, $f20
|
||||
/* 00430 80875D50 0C01E107 */ jal Math_SmoothScaleMaxF
|
||||
|
||||
/* 00434 80875D54 3C0741CC */ lui $a3, 0x41CC ## $a3 = 41CC0000
|
||||
/* 00438 80875D58 4405A000 */ mfc1 $a1, $f20
|
||||
/* 0043C 80875D5C 4406B000 */ mfc1 $a2, $f22
|
||||
/* 00440 80875D60 26240180 */ addiu $a0, $s1, 0x0180 ## $a0 = 00000180
|
||||
/* 00444 80875D64 0C01E107 */ jal Math_SmoothScaleMaxF
|
||||
|
||||
/* 00448 80875D68 3C074140 */ lui $a3, 0x4140 ## $a3 = 41400000
|
||||
/* 0044C 80875D6C 4405A000 */ mfc1 $a1, $f20
|
||||
/* 00450 80875D70 4406B000 */ mfc1 $a2, $f22
|
||||
/* 00454 80875D74 26240184 */ addiu $a0, $s1, 0x0184 ## $a0 = 00000184
|
||||
/* 00458 80875D78 0C01E107 */ jal Math_SmoothScaleMaxF
|
||||
|
||||
/* 0045C 80875D7C 3C0741CC */ lui $a3, 0x41CC ## $a3 = 41CC0000
|
||||
/* 00460 80875D80 4405B000 */ mfc1 $a1, $f22
|
||||
/* 00464 80875D84 26240170 */ addiu $a0, $s1, 0x0170 ## $a0 = 00000170
|
||||
/* 00468 80875D88 0C01E123 */ jal Math_SmoothDownscaleMaxF
|
||||
|
||||
/* 0046C 80875D8C 3C063E80 */ lui $a2, 0x3E80 ## $a2 = 3E800000
|
||||
/* 00470 80875D90 C6260170 */ lwc1 $f6, 0x0170($s1) ## 00000170
|
||||
/* 00474 80875D94 4606A032 */ c.eq.s $f20, $f6
|
||||
/* 00478 80875D98 00000000 */ nop
|
||||
/* 0047C 80875D9C 45020003 */ bc1fl .L80875DAC
|
||||
/* 00480 80875DA0 86220168 */ lh $v0, 0x0168($s1) ## 00000168
|
||||
/* 00484 80875DA4 A220016E */ sb $zero, 0x016E($s1) ## 0000016E
|
||||
.L80875DA8:
|
||||
/* 00488 80875DA8 86220168 */ lh $v0, 0x0168($s1) ## 00000168
|
||||
.L80875DAC:
|
||||
/* 0048C 80875DAC 3C013F80 */ lui $at, 0x3F80 ## $at = 3F800000
|
||||
/* 00490 80875DB0 4481B000 */ mtc1 $at, $f22 ## $f22 = 1.00
|
||||
/* 00494 80875DB4 4480A000 */ mtc1 $zero, $f20 ## $f20 = 0.00
|
||||
/* 00498 80875DB8 1440009C */ bne $v0, $zero, .L8087602C
|
||||
/* 0049C 80875DBC 24010001 */ addiu $at, $zero, 0x0001 ## $at = 00000001
|
||||
/* 004A0 80875DC0 4406B000 */ mfc1 $a2, $f22
|
||||
/* 004A4 80875DC4 E6340170 */ swc1 $f20, 0x0170($s1) ## 00000170
|
||||
/* 004A8 80875DC8 26240028 */ addiu $a0, $s1, 0x0028 ## $a0 = 00000028
|
||||
/* 004AC 80875DCC 3C05C47A */ lui $a1, 0xC47A ## $a1 = C47A0000
|
||||
/* 004B0 80875DD0 0C01E107 */ jal Math_SmoothScaleMaxF
|
||||
|
||||
/* 004B4 80875DD4 8E270068 */ lw $a3, 0x0068($s1) ## 00000068
|
||||
/* 004B8 80875DD8 4406B000 */ mfc1 $a2, $f22
|
||||
/* 004BC 80875DDC 26240068 */ addiu $a0, $s1, 0x0068 ## $a0 = 00000068
|
||||
/* 004C0 80875DE0 3C0542C8 */ lui $a1, 0x42C8 ## $a1 = 42C80000
|
||||
/* 004C4 80875DE4 0C01E107 */ jal Math_SmoothScaleMaxF
|
||||
|
||||
/* 004C8 80875DE8 3C074000 */ lui $a3, 0x4000 ## $a3 = 40000000
|
||||
/* 004CC 80875DEC 9222016B */ lbu $v0, 0x016B($s1) ## 0000016B
|
||||
/* 004D0 80875DF0 3C0141F0 */ lui $at, 0x41F0 ## $at = 41F00000
|
||||
/* 004D4 80875DF4 30580001 */ andi $t8, $v0, 0x0001 ## $t8 = 00000000
|
||||
/* 004D8 80875DF8 5700000C */ bnel $t8, $zero, .L80875E2C
|
||||
/* 004DC 80875DFC 3C0141F0 */ lui $at, 0x41F0 ## $at = 41F00000
|
||||
/* 004E0 80875E00 44810000 */ mtc1 $at, $f0 ## $f0 = 30.00
|
||||
/* 004E4 80875E04 C6280068 */ lwc1 $f8, 0x0068($s1) ## 00000068
|
||||
/* 004E8 80875E08 863900B8 */ lh $t9, 0x00B8($s1) ## 000000B8
|
||||
/* 004EC 80875E0C 9222016B */ lbu $v0, 0x016B($s1) ## 0000016B
|
||||
/* 004F0 80875E10 46004282 */ mul.s $f10, $f8, $f0
|
||||
/* 004F4 80875E14 4600540D */ trunc.w.s $f16, $f10
|
||||
/* 004F8 80875E18 440B8000 */ mfc1 $t3, $f16
|
||||
/* 004FC 80875E1C 00000000 */ nop
|
||||
/* 00500 80875E20 032B6023 */ subu $t4, $t9, $t3
|
||||
/* 00504 80875E24 A62C00B8 */ sh $t4, 0x00B8($s1) ## 000000B8
|
||||
/* 00508 80875E28 3C0141F0 */ lui $at, 0x41F0 ## $at = 41F00000
|
||||
.L80875E2C:
|
||||
/* 0050C 80875E2C 44810000 */ mtc1 $at, $f0 ## $f0 = 30.00
|
||||
/* 00510 80875E30 304D0002 */ andi $t5, $v0, 0x0002 ## $t5 = 00000000
|
||||
/* 00514 80875E34 15A0000A */ bne $t5, $zero, .L80875E60
|
||||
/* 00518 80875E38 3C018087 */ lui $at, %hi(D_80877FA0) ## $at = 80870000
|
||||
/* 0051C 80875E3C C6320068 */ lwc1 $f18, 0x0068($s1) ## 00000068
|
||||
/* 00520 80875E40 862E00B8 */ lh $t6, 0x00B8($s1) ## 000000B8
|
||||
/* 00524 80875E44 9222016B */ lbu $v0, 0x016B($s1) ## 0000016B
|
||||
/* 00528 80875E48 46009102 */ mul.s $f4, $f18, $f0
|
||||
/* 0052C 80875E4C 4600218D */ trunc.w.s $f6, $f4
|
||||
/* 00530 80875E50 44093000 */ mfc1 $t1, $f6
|
||||
/* 00534 80875E54 00000000 */ nop
|
||||
/* 00538 80875E58 01C95021 */ addu $t2, $t6, $t1
|
||||
/* 0053C 80875E5C A62A00B8 */ sh $t2, 0x00B8($s1) ## 000000B8
|
||||
.L80875E60:
|
||||
/* 00540 80875E60 30590004 */ andi $t9, $v0, 0x0004 ## $t9 = 00000000
|
||||
/* 00544 80875E64 5720000B */ bnel $t9, $zero, .L80875E94
|
||||
/* 00548 80875E68 304E0008 */ andi $t6, $v0, 0x0008 ## $t6 = 00000000
|
||||
/* 0054C 80875E6C C6280068 */ lwc1 $f8, 0x0068($s1) ## 00000068
|
||||
/* 00550 80875E70 862B00B4 */ lh $t3, 0x00B4($s1) ## 000000B4
|
||||
/* 00554 80875E74 9222016B */ lbu $v0, 0x016B($s1) ## 0000016B
|
||||
/* 00558 80875E78 46004282 */ mul.s $f10, $f8, $f0
|
||||
/* 0055C 80875E7C 4600540D */ trunc.w.s $f16, $f10
|
||||
/* 00560 80875E80 44188000 */ mfc1 $t8, $f16
|
||||
/* 00564 80875E84 00000000 */ nop
|
||||
/* 00568 80875E88 01784021 */ addu $t0, $t3, $t8
|
||||
/* 0056C 80875E8C A62800B4 */ sh $t0, 0x00B4($s1) ## 000000B4
|
||||
/* 00570 80875E90 304E0008 */ andi $t6, $v0, 0x0008 ## $t6 = 00000000
|
||||
.L80875E94:
|
||||
/* 00574 80875E94 55C0000A */ bnel $t6, $zero, .L80875EC0
|
||||
/* 00578 80875E98 C6280028 */ lwc1 $f8, 0x0028($s1) ## 00000028
|
||||
/* 0057C 80875E9C C6320068 */ lwc1 $f18, 0x0068($s1) ## 00000068
|
||||
/* 00580 80875EA0 862900B4 */ lh $t1, 0x00B4($s1) ## 000000B4
|
||||
/* 00584 80875EA4 46009102 */ mul.s $f4, $f18, $f0
|
||||
/* 00588 80875EA8 4600218D */ trunc.w.s $f6, $f4
|
||||
/* 0058C 80875EAC 440D3000 */ mfc1 $t5, $f6
|
||||
/* 00590 80875EB0 00000000 */ nop
|
||||
/* 00594 80875EB4 012D7823 */ subu $t7, $t1, $t5
|
||||
/* 00598 80875EB8 A62F00B4 */ sh $t7, 0x00B4($s1) ## 000000B4
|
||||
/* 0059C 80875EBC C6280028 */ lwc1 $f8, 0x0028($s1) ## 00000028
|
||||
.L80875EC0:
|
||||
/* 005A0 80875EC0 C42A7FA0 */ lwc1 $f10, %lo(D_80877FA0)($at)
|
||||
/* 005A4 80875EC4 3C01C3C8 */ lui $at, 0xC3C8 ## $at = C3C80000
|
||||
/* 005A8 80875EC8 460A403C */ c.lt.s $f8, $f10
|
||||
/* 005AC 80875ECC 00000000 */ nop
|
||||
/* 005B0 80875ED0 45000078 */ bc1f .L808760B4
|
||||
/* 005B4 80875ED4 00000000 */ nop
|
||||
/* 005B8 80875ED8 C6100028 */ lwc1 $f16, 0x0028($s0) ## 00000028
|
||||
/* 005BC 80875EDC 44819000 */ mtc1 $at, $f18 ## $f18 = -400.00
|
||||
/* 005C0 80875EE0 3C018087 */ lui $at, %hi(D_80877FA4) ## $at = 80870000
|
||||
/* 005C4 80875EE4 00008025 */ or $s0, $zero, $zero ## $s0 = 00000000
|
||||
/* 005C8 80875EE8 4612803C */ c.lt.s $f16, $f18
|
||||
/* 005CC 80875EEC 00000000 */ nop
|
||||
/* 005D0 80875EF0 4500004A */ bc1f .L8087601C
|
||||
/* 005D4 80875EF4 00000000 */ nop
|
||||
/* 005D8 80875EF8 C4247FA4 */ lwc1 $f4, %lo(D_80877FA4)($at)
|
||||
/* 005DC 80875EFC 3C014316 */ lui $at, 0x4316 ## $at = 43160000
|
||||
/* 005E0 80875F00 4481B000 */ mtc1 $at, $f22 ## $f22 = 150.00
|
||||
/* 005E4 80875F04 E7B4005C */ swc1 $f20, 0x005C($sp)
|
||||
/* 005E8 80875F08 E7B40054 */ swc1 $f20, 0x0054($sp)
|
||||
/* 005EC 80875F0C E7B40068 */ swc1 $f20, 0x0068($sp)
|
||||
/* 005F0 80875F10 E7B40064 */ swc1 $f20, 0x0064($sp)
|
||||
/* 005F4 80875F14 E7B40060 */ swc1 $f20, 0x0060($sp)
|
||||
/* 005F8 80875F18 E7A40058 */ swc1 $f4, 0x0058($sp)
|
||||
.L80875F1C:
|
||||
/* 005FC 80875F1C 0C00CFC8 */ jal Math_Rand_CenteredFloat
|
||||
|
||||
/* 00600 80875F20 4600B306 */ mov.s $f12, $f22
|
||||
/* 00604 80875F24 C6260024 */ lwc1 $f6, 0x0024($s1) ## 00000024
|
||||
/* 00608 80875F28 3C014270 */ lui $at, 0x4270 ## $at = 42700000
|
||||
/* 0060C 80875F2C 44816000 */ mtc1 $at, $f12 ## $f12 = 60.00
|
||||
/* 00610 80875F30 46060200 */ add.s $f8, $f0, $f6
|
||||
/* 00614 80875F34 0C00CFBE */ jal Math_Rand_ZeroFloat
|
||||
|
||||
/* 00618 80875F38 E7A8006C */ swc1 $f8, 0x006C($sp)
|
||||
/* 0061C 80875F3C 3C018087 */ lui $at, %hi(D_80877FA8) ## $at = 80870000
|
||||
/* 00620 80875F40 C42A7FA8 */ lwc1 $f10, %lo(D_80877FA8)($at)
|
||||
/* 00624 80875F44 4600B306 */ mov.s $f12, $f22
|
||||
/* 00628 80875F48 460A0400 */ add.s $f16, $f0, $f10
|
||||
/* 0062C 80875F4C 0C00CFC8 */ jal Math_Rand_CenteredFloat
|
||||
|
||||
/* 00630 80875F50 E7B00070 */ swc1 $f16, 0x0070($sp)
|
||||
/* 00634 80875F54 C632002C */ lwc1 $f18, 0x002C($s1) ## 0000002C
|
||||
/* 00638 80875F58 3C0142C8 */ lui $at, 0x42C8 ## $at = 42C80000
|
||||
/* 0063C 80875F5C 44816000 */ mtc1 $at, $f12 ## $f12 = 100.00
|
||||
/* 00640 80875F60 46120100 */ add.s $f4, $f0, $f18
|
||||
/* 00644 80875F64 0C00CFBE */ jal Math_Rand_ZeroFloat
|
||||
|
||||
/* 00648 80875F68 E7A40074 */ swc1 $f4, 0x0074($sp)
|
||||
/* 0064C 80875F6C 3C0140A0 */ lui $at, 0x40A0 ## $at = 40A00000
|
||||
/* 00650 80875F70 44816000 */ mtc1 $at, $f12 ## $f12 = 5.00
|
||||
/* 00654 80875F74 0C00CFBE */ jal Math_Rand_ZeroFloat
|
||||
|
||||
/* 00658 80875F78 46000506 */ mov.s $f20, $f0
|
||||
/* 0065C 80875F7C 4600A18D */ trunc.w.s $f6, $f20
|
||||
/* 00660 80875F80 3C0B8087 */ lui $t3, %hi(D_80876A98) ## $t3 = 80870000
|
||||
/* 00664 80875F84 256B6A98 */ addiu $t3, $t3, %lo(D_80876A98) ## $t3 = 80876A98
|
||||
/* 00668 80875F88 4600020D */ trunc.w.s $f8, $f0
|
||||
/* 0066C 80875F8C 440E3000 */ mfc1 $t6, $f6
|
||||
/* 00670 80875F90 3C188087 */ lui $t8, %hi(D_80876A9C) ## $t8 = 80870000
|
||||
/* 00674 80875F94 27186A9C */ addiu $t8, $t8, %lo(D_80876A9C) ## $t8 = 80876A9C
|
||||
/* 00678 80875F98 440F4000 */ mfc1 $t7, $f8
|
||||
/* 0067C 80875F9C AFAB0010 */ sw $t3, 0x0010($sp)
|
||||
/* 00680 80875FA0 AFB80014 */ sw $t8, 0x0014($sp)
|
||||
/* 00684 80875FA4 000E5400 */ sll $t2, $t6, 16
|
||||
/* 00688 80875FA8 000F5C00 */ sll $t3, $t7, 16
|
||||
/* 0068C 80875FAC 000BC403 */ sra $t8, $t3, 16
|
||||
/* 00690 80875FB0 000ACC03 */ sra $t9, $t2, 16
|
||||
/* 00694 80875FB4 272C00FA */ addiu $t4, $t9, 0x00FA ## $t4 = 000000FA
|
||||
/* 00698 80875FB8 2708000F */ addiu $t0, $t8, 0x000F ## $t0 = 80876AAB
|
||||
/* 0069C 80875FBC 24090005 */ addiu $t1, $zero, 0x0005 ## $t1 = 00000005
|
||||
/* 006A0 80875FC0 AFA9001C */ sw $t1, 0x001C($sp)
|
||||
/* 006A4 80875FC4 AFA80020 */ sw $t0, 0x0020($sp)
|
||||
/* 006A8 80875FC8 AFAC0018 */ sw $t4, 0x0018($sp)
|
||||
/* 006AC 80875FCC 8FA40084 */ lw $a0, 0x0084($sp)
|
||||
/* 006B0 80875FD0 27A5006C */ addiu $a1, $sp, 0x006C ## $a1 = FFFFFFEC
|
||||
/* 006B4 80875FD4 27A60060 */ addiu $a2, $sp, 0x0060 ## $a2 = FFFFFFE0
|
||||
/* 006B8 80875FD8 0C00A0DB */ jal func_8002836C
|
||||
/* 006BC 80875FDC 27A70054 */ addiu $a3, $sp, 0x0054 ## $a3 = FFFFFFD4
|
||||
/* 006C0 80875FE0 26100001 */ addiu $s0, $s0, 0x0001 ## $s0 = 00000001
|
||||
/* 006C4 80875FE4 00108400 */ sll $s0, $s0, 16
|
||||
/* 006C8 80875FE8 00108403 */ sra $s0, $s0, 16
|
||||
/* 006CC 80875FEC 2A01001E */ slti $at, $s0, 0x001E
|
||||
/* 006D0 80875FF0 1420FFCA */ bne $at, $zero, .L80875F1C
|
||||
/* 006D4 80875FF4 00000000 */ nop
|
||||
/* 006D8 80875FF8 8FA40084 */ lw $a0, 0x0084($sp)
|
||||
/* 006DC 80875FFC 2405000A */ addiu $a1, $zero, 0x000A ## $a1 = 0000000A
|
||||
/* 006E0 80876000 0C00CF6E */ jal func_80033DB8
|
||||
/* 006E4 80876004 2406000F */ addiu $a2, $zero, 0x000F ## $a2 = 0000000F
|
||||
/* 006E8 80876008 8FA40084 */ lw $a0, 0x0084($sp)
|
||||
/* 006EC 8087600C 26250024 */ addiu $a1, $s1, 0x0024 ## $a1 = 00000024
|
||||
/* 006F0 80876010 24060028 */ addiu $a2, $zero, 0x0028 ## $a2 = 00000028
|
||||
/* 006F4 80876014 0C01AEB6 */ jal Audio_PlaySoundAtPosition
|
||||
|
||||
/* 006F8 80876018 24072839 */ addiu $a3, $zero, 0x2839 ## $a3 = 00002839
|
||||
.L8087601C:
|
||||
/* 006FC 8087601C 0C00B55C */ jal Actor_Kill
|
||||
|
||||
/* 00700 80876020 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
|
||||
/* 00704 80876024 10000023 */ beq $zero, $zero, .L808760B4
|
||||
/* 00708 80876028 00000000 */ nop
|
||||
.L8087602C:
|
||||
/* 0070C 8087602C 1441000D */ bne $v0, $at, .L80876064
|
||||
/* 00710 80876030 3C078013 */ lui $a3, %hi(D_801333E0)
|
||||
/* 00714 80876034 3C078013 */ lui $a3, %hi(D_801333E0)
|
||||
/* 00718 80876038 3C0E8013 */ lui $t6, %hi(D_801333E8)
|
||||
/* 0071C 8087603C 24E733E0 */ addiu $a3, %lo(D_801333E0)
|
||||
/* 00720 80876040 25CE33E8 */ addiu $t6, %lo(D_801333E8)
|
||||
/* 00724 80876044 AFAE0014 */ sw $t6, 0x0014($sp)
|
||||
/* 00728 80876048 AFA70010 */ sw $a3, 0x0010($sp)
|
||||
/* 0072C 8087604C 24042893 */ addiu $a0, $zero, 0x2893 ## $a0 = 00002893
|
||||
/* 00730 80876050 262500E4 */ addiu $a1, $s1, 0x00E4 ## $a1 = 000000E4
|
||||
/* 00734 80876054 0C03DCE3 */ jal Audio_PlaySoundGeneral
|
||||
|
||||
/* 00738 80876058 24060004 */ addiu $a2, $zero, 0x0004 ## $a2 = 00000004
|
||||
/* 0073C 8087605C 1000000B */ beq $zero, $zero, .L8087608C
|
||||
/* 00740 80876060 4406B000 */ mfc1 $a2, $f22
|
||||
.L80876064:
|
||||
/* 00744 80876064 3C0A8013 */ lui $t2, %hi(D_801333E8)
|
||||
/* 00748 80876068 24E733E0 */ addiu $a3, %lo(D_801333E0)
|
||||
/* 0074C 8087606C 254A33E8 */ addiu $t2, %lo(D_801333E8)
|
||||
/* 00750 80876070 AFAA0014 */ sw $t2, 0x0014($sp)
|
||||
/* 00754 80876074 AFA70010 */ sw $a3, 0x0010($sp)
|
||||
/* 00758 80876078 2404205C */ addiu $a0, $zero, 0x205C ## $a0 = 0000205C
|
||||
/* 0075C 8087607C 262500E4 */ addiu $a1, $s1, 0x00E4 ## $a1 = 000000E4
|
||||
/* 00760 80876080 0C03DCE3 */ jal Audio_PlaySoundGeneral
|
||||
|
||||
/* 00764 80876084 24060004 */ addiu $a2, $zero, 0x0004 ## $a2 = 00000004
|
||||
/* 00768 80876088 4406B000 */ mfc1 $a2, $f22
|
||||
.L8087608C:
|
||||
/* 0076C 8087608C 26240028 */ addiu $a0, $s1, 0x0028 ## $a0 = 00000028
|
||||
/* 00770 80876090 3C05C47A */ lui $a1, 0xC47A ## $a1 = C47A0000
|
||||
/* 00774 80876094 0C01E107 */ jal Math_SmoothScaleMaxF
|
||||
|
||||
/* 00778 80876098 8E270068 */ lw $a3, 0x0068($s1) ## 00000068
|
||||
/* 0077C 8087609C 4406B000 */ mfc1 $a2, $f22
|
||||
/* 00780 808760A0 3C073DCC */ lui $a3, 0x3DCC ## $a3 = 3DCC0000
|
||||
/* 00784 808760A4 34E7CCCD */ ori $a3, $a3, 0xCCCD ## $a3 = 3DCCCCCD
|
||||
/* 00788 808760A8 26240068 */ addiu $a0, $s1, 0x0068 ## $a0 = 00000068
|
||||
/* 0078C 808760AC 0C01E107 */ jal Math_SmoothScaleMaxF
|
||||
|
||||
/* 00790 808760B0 3C0542C8 */ lui $a1, 0x42C8 ## $a1 = 42C80000
|
||||
.L808760B4:
|
||||
/* 00794 808760B4 3C048087 */ lui $a0, %hi(D_80877F14) ## $a0 = 80870000
|
||||
/* 00798 808760B8 0C00084C */ jal osSyncPrintf
|
||||
|
||||
/* 0079C 808760BC 24847F14 */ addiu $a0, $a0, %lo(D_80877F14) ## $a0 = 80877F14
|
||||
/* 007A0 808760C0 8FBF0044 */ lw $ra, 0x0044($sp)
|
||||
/* 007A4 808760C4 D7B40028 */ ldc1 $f20, 0x0028($sp)
|
||||
/* 007A8 808760C8 D7B60030 */ ldc1 $f22, 0x0030($sp)
|
||||
/* 007AC 808760CC 8FB0003C */ lw $s0, 0x003C($sp)
|
||||
/* 007B0 808760D0 8FB10040 */ lw $s1, 0x0040($sp)
|
||||
/* 007B4 808760D4 03E00008 */ jr $ra
|
||||
/* 007B8 808760D8 27BD0080 */ addiu $sp, $sp, 0x0080 ## $sp = 00000000
|
|
@ -1,4 +0,0 @@
|
|||
glabel func_808760DC
|
||||
/* 007BC 808760DC AFA40000 */ sw $a0, 0x0000($sp)
|
||||
/* 007C0 808760E0 03E00008 */ jr $ra
|
||||
/* 007C4 808760E4 AFA50004 */ sw $a1, 0x0004($sp)
|
File diff suppressed because one or more lines are too long
|
@ -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_80877FC0
|
||||
.incbin "baserom/ovl_Bg_Ganon_Otyuka", 0x26A0, 0x000001A0
|
2
spec
2
spec
|
@ -689,7 +689,7 @@ endseg
|
|||
beginseg
|
||||
name "ovl_Bg_Ganon_Otyuka"
|
||||
include "build/src/overlays/actors/ovl_Bg_Ganon_Otyuka/z_bg_ganon_otyuka.o"
|
||||
include "build/data/overlays/actors/z_bg_ganon_otyuka.reloc.o"
|
||||
include "build/src/overlays/actors/ovl_Bg_Ganon_Otyuka/ovl_Bg_Ganon_Otyuka_reloc.o"
|
||||
endseg
|
||||
|
||||
beginseg
|
||||
|
|
|
@ -19,7 +19,7 @@ void BgGanonOtyuka_Draw(Actor* thisx, GlobalContext* globalCtx);
|
|||
|
||||
void func_80875A0C(BgGanonOtyuka* this, GlobalContext* globalCtx);
|
||||
void func_80875C88(BgGanonOtyuka* this, GlobalContext* globalCtx);
|
||||
void func_808760DC(Actor* thisx, GlobalContext* globalCtx);
|
||||
void BgGanonOtyuka_DoNothing(Actor* thisx, GlobalContext* globalCtx);
|
||||
|
||||
const ActorInit Bg_Ganon_Otyuka_InitVars = {
|
||||
ACTOR_BG_GANON_OTYUKA,
|
||||
|
@ -37,22 +37,18 @@ static InitChainEntry sInitChain[] = {
|
|||
ICHAIN_VEC3F_DIV1000(scale, 1000, ICHAIN_STOP),
|
||||
};
|
||||
|
||||
u8 D_80876A64[] = { 0x01, 0x02, 0x04, 0x08 };
|
||||
static u8 D_80876A64[] = { 1, 2, 4, 8 };
|
||||
|
||||
Vec3f D_80876A68[] = {
|
||||
static Vec3f D_80876A68[] = {
|
||||
{ 120.0f, 0.0f, 0.0f },
|
||||
{ -120.0f, 0.0f, 0.0f },
|
||||
{ 0.0f, 0.0f, 120.0f },
|
||||
{ 0.0f, 0.0f, -120.0f },
|
||||
};
|
||||
|
||||
UNK_TYPE D_80876A98[] = {
|
||||
0x3C3C0000,
|
||||
};
|
||||
static Color_RGBA8 sDustPrimColor = { 60, 60, 0, 0 };
|
||||
|
||||
UNK_TYPE D_80876A9C[] = {
|
||||
0x32140000,
|
||||
};
|
||||
static Color_RGBA8 sDustEnvColor = { 50, 20, 0, 0 };
|
||||
|
||||
static Vec3f D_80876AA0[] = {
|
||||
{ 60.0f, 0.0f, 0.0f },
|
||||
|
@ -111,7 +107,7 @@ void BgGanonOtyuka_Init(Actor* thisx, GlobalContext* globalCtx) {
|
|||
thisx->draw = NULL;
|
||||
this->actionFunc = func_80875A0C;
|
||||
} else {
|
||||
thisx->update = func_808760DC;
|
||||
thisx->update = BgGanonOtyuka_DoNothing;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -135,7 +131,7 @@ void func_80875A0C(BgGanonOtyuka* this, GlobalContext* globalCtx) {
|
|||
Vec3f center;
|
||||
s16 i;
|
||||
|
||||
if (this->unk_16A != 0 || (globalCtx->actorCtx.unk_02 != 0) && (this->dyna.actor.xyzDistFromLinkSq < 4900.0f)) {
|
||||
if (this->unk_16A != 0 || ((globalCtx->actorCtx.unk_02 != 0) && (this->dyna.actor.xyzDistFromLinkSq < 4900.0f))) {
|
||||
osSyncPrintf("OTC O 1\n");
|
||||
|
||||
for (i = 0; i < ARRAY_COUNT(D_80876A68); i++) {
|
||||
|
@ -238,7 +234,7 @@ void func_80875C88(BgGanonOtyuka* this, GlobalContext* globalCtx) {
|
|||
pos.x = Math_Rand_CenteredFloat(150.0f) + this->dyna.actor.posRot.pos.x;
|
||||
pos.y = Math_Rand_ZeroFloat(60.0f) + -750.0f;
|
||||
pos.z = Math_Rand_CenteredFloat(150.0f) + this->dyna.actor.posRot.pos.z;
|
||||
func_8002836C(globalCtx, &pos, &velocity, &accel, D_80876A98, D_80876A9C,
|
||||
func_8002836C(globalCtx, &pos, &velocity, &accel, &sDustPrimColor, &sDustEnvColor,
|
||||
(s16)Math_Rand_ZeroFloat(100.0f) + 250, 5, (s16)Math_Rand_ZeroFloat(5.0f) + 15);
|
||||
}
|
||||
|
||||
|
@ -261,7 +257,7 @@ void func_80875C88(BgGanonOtyuka* this, GlobalContext* globalCtx) {
|
|||
osSyncPrintf("MODE DOWN END\n");
|
||||
}
|
||||
|
||||
void func_808760DC(Actor* thisx, GlobalContext* globalCtx) {
|
||||
void BgGanonOtyuka_DoNothing(Actor* thisx, GlobalContext* globalCtx) {
|
||||
}
|
||||
|
||||
void BgGanonOtyuka_Update(Actor* thisx, GlobalContext* globalCtx) {
|
||||
|
|
Loading…
Reference in a new issue