mirror of
https://github.com/zeldaret/oot.git
synced 2025-04-10 08:36:24 +00:00
Gossip Stone, 1 nonmatching (#251)
* Gossip Stone, 1 nonmatching * Appease the Fig * spec * Fix last function ordering * Ethan Review 1 * a * Hidden PR notes QQ * a * Fixed now?? * a
This commit is contained in:
parent
06d1743d22
commit
83d08078c3
22 changed files with 590 additions and 1611 deletions
asm/non_matchings/overlays/actors/ovl_En_Gs
EnGs_Destroy.sEnGs_Draw.sEnGs_Init.sEnGs_Update.sfunc_80A4E3EC.sfunc_80A4E470.sfunc_80A4E648.sfunc_80A4E754.sfunc_80A4E910.sfunc_80A4EA08.sfunc_80A4EB3C.sfunc_80A4ED34.sfunc_80A4F700.sfunc_80A4F734.sfunc_80A4F77C.s
data/overlays/actors
include
specsrc/overlays/actors/ovl_En_Gs
undefined_syms.txt
|
@ -1,4 +0,0 @@
|
|||
glabel EnGs_Destroy
|
||||
/* 000C0 80A4E3E0 AFA40000 */ sw $a0, 0x0000($sp)
|
||||
/* 000C4 80A4E3E4 03E00008 */ jr $ra
|
||||
/* 000C8 80A4E3E8 AFA50004 */ sw $a1, 0x0004($sp)
|
|
@ -1,303 +0,0 @@
|
|||
.rdata
|
||||
glabel D_80A4FE50
|
||||
.asciz "../z_en_gs.c"
|
||||
.balign 4
|
||||
|
||||
glabel D_80A4FE60
|
||||
.asciz "../z_en_gs.c"
|
||||
.balign 4
|
||||
|
||||
glabel D_80A4FE70
|
||||
.asciz "../z_en_gs.c"
|
||||
.balign 4
|
||||
|
||||
glabel D_80A4FE80
|
||||
.asciz "../z_en_gs.c"
|
||||
.balign 4
|
||||
|
||||
.late_rodata
|
||||
glabel D_80A4FF38
|
||||
.float 9.58738019108e-05
|
||||
|
||||
glabel D_80A4FF3C
|
||||
.float 9.58738019108e-05
|
||||
|
||||
glabel D_80A4FF40
|
||||
.float 9.58738019108e-05
|
||||
|
||||
glabel D_80A4FF44
|
||||
.float 9.58738019108e-05
|
||||
|
||||
glabel D_80A4FF48
|
||||
.float 9.58738019108e-05
|
||||
|
||||
glabel D_80A4FF4C
|
||||
.float 9.58738019108e-05
|
||||
|
||||
glabel D_80A4FF50
|
||||
.float 0.05
|
||||
|
||||
glabel D_80A4FF54
|
||||
.word 0xBD4CCCCD, 0x00000000, 0x00000000
|
||||
|
||||
.text
|
||||
glabel EnGs_Draw
|
||||
/* 01668 80A4F988 27BDFF70 */ addiu $sp, $sp, 0xFF70 ## $sp = FFFFFF70
|
||||
/* 0166C 80A4F98C AFBF003C */ sw $ra, 0x003C($sp)
|
||||
/* 01670 80A4F990 AFB10038 */ sw $s1, 0x0038($sp)
|
||||
/* 01674 80A4F994 AFB00034 */ sw $s0, 0x0034($sp)
|
||||
/* 01678 80A4F998 AFA50094 */ sw $a1, 0x0094($sp)
|
||||
/* 0167C 80A4F99C 908E019E */ lbu $t6, 0x019E($a0) ## 0000019E
|
||||
/* 01680 80A4F9A0 00808825 */ or $s1, $a0, $zero ## $s1 = 00000000
|
||||
/* 01684 80A4F9A4 27A40070 */ addiu $a0, $sp, 0x0070 ## $a0 = FFFFFFE0
|
||||
/* 01688 80A4F9A8 31CF0008 */ andi $t7, $t6, 0x0008 ## $t7 = 00000000
|
||||
/* 0168C 80A4F9AC 15E000EF */ bne $t7, $zero, .L80A4FD6C
|
||||
/* 01690 80A4F9B0 3C0680A5 */ lui $a2, %hi(D_80A4FE50) ## $a2 = 80A50000
|
||||
/* 01694 80A4F9B4 8CA50000 */ lw $a1, 0x0000($a1) ## 00000000
|
||||
/* 01698 80A4F9B8 24C6FE50 */ addiu $a2, $a2, %lo(D_80A4FE50) ## $a2 = 80A4FE50
|
||||
/* 0169C 80A4F9BC 24070416 */ addiu $a3, $zero, 0x0416 ## $a3 = 00000416
|
||||
/* 016A0 80A4F9C0 0C031AB1 */ jal Graph_OpenDisps
|
||||
/* 016A4 80A4F9C4 00A08025 */ or $s0, $a1, $zero ## $s0 = 00000000
|
||||
/* 016A8 80A4F9C8 8FA20094 */ lw $v0, 0x0094($sp)
|
||||
/* 016AC 80A4F9CC 3C190001 */ lui $t9, 0x0001 ## $t9 = 00010000
|
||||
/* 016B0 80A4F9D0 0322C821 */ addu $t9, $t9, $v0
|
||||
/* 016B4 80A4F9D4 8F391DE4 */ lw $t9, 0x1DE4($t9) ## 00011DE4
|
||||
/* 016B8 80A4F9D8 AFB90084 */ sw $t9, 0x0084($sp)
|
||||
/* 016BC 80A4F9DC 0C024F46 */ jal func_80093D18
|
||||
/* 016C0 80A4F9E0 8C440000 */ lw $a0, 0x0000($v0) ## 00000000
|
||||
/* 016C4 80A4F9E4 0C034213 */ jal Matrix_Push
|
||||
/* 016C8 80A4F9E8 00000000 */ nop
|
||||
/* 016CC 80A4F9EC 9228019E */ lbu $t0, 0x019E($s1) ## 0000019E
|
||||
/* 016D0 80A4F9F0 31090001 */ andi $t1, $t0, 0x0001 ## $t1 = 00000000
|
||||
/* 016D4 80A4F9F4 5120003D */ beql $t1, $zero, .L80A4FAEC
|
||||
/* 016D8 80A4F9F8 8E0202C0 */ lw $v0, 0x02C0($s0) ## 000002C0
|
||||
/* 016DC 80A4F9FC 862A01A2 */ lh $t2, 0x01A2($s1) ## 000001A2
|
||||
/* 016E0 80A4FA00 3C0180A5 */ lui $at, %hi(D_80A4FF38) ## $at = 80A50000
|
||||
/* 016E4 80A4FA04 C428FF38 */ lwc1 $f8, %lo(D_80A4FF38)($at)
|
||||
/* 016E8 80A4FA08 448A2000 */ mtc1 $t2, $f4 ## $f4 = 0.00
|
||||
/* 016EC 80A4FA0C 24050001 */ addiu $a1, $zero, 0x0001 ## $a1 = 00000001
|
||||
/* 016F0 80A4FA10 468021A0 */ cvt.s.w $f6, $f4
|
||||
/* 016F4 80A4FA14 46083302 */ mul.s $f12, $f6, $f8
|
||||
/* 016F8 80A4FA18 0C034348 */ jal Matrix_RotateY
|
||||
/* 016FC 80A4FA1C 00000000 */ nop
|
||||
/* 01700 80A4FA20 862B01A0 */ lh $t3, 0x01A0($s1) ## 000001A0
|
||||
/* 01704 80A4FA24 3C0180A5 */ lui $at, %hi(D_80A4FF3C) ## $at = 80A50000
|
||||
/* 01708 80A4FA28 C432FF3C */ lwc1 $f18, %lo(D_80A4FF3C)($at)
|
||||
/* 0170C 80A4FA2C 448B5000 */ mtc1 $t3, $f10 ## $f10 = 0.00
|
||||
/* 01710 80A4FA30 24050001 */ addiu $a1, $zero, 0x0001 ## $a1 = 00000001
|
||||
/* 01714 80A4FA34 46805420 */ cvt.s.w $f16, $f10
|
||||
/* 01718 80A4FA38 46128302 */ mul.s $f12, $f16, $f18
|
||||
/* 0171C 80A4FA3C 0C0342DC */ jal Matrix_RotateX
|
||||
/* 01720 80A4FA40 00000000 */ nop
|
||||
/* 01724 80A4FA44 862C01A4 */ lh $t4, 0x01A4($s1) ## 000001A4
|
||||
/* 01728 80A4FA48 3C0180A5 */ lui $at, %hi(D_80A4FF40) ## $at = 80A50000
|
||||
/* 0172C 80A4FA4C C428FF40 */ lwc1 $f8, %lo(D_80A4FF40)($at)
|
||||
/* 01730 80A4FA50 448C2000 */ mtc1 $t4, $f4 ## $f4 = 0.00
|
||||
/* 01734 80A4FA54 24050001 */ addiu $a1, $zero, 0x0001 ## $a1 = 00000001
|
||||
/* 01738 80A4FA58 468021A0 */ cvt.s.w $f6, $f4
|
||||
/* 0173C 80A4FA5C 46083302 */ mul.s $f12, $f6, $f8
|
||||
/* 01740 80A4FA60 0C0343B5 */ jal Matrix_RotateZ
|
||||
/* 01744 80A4FA64 00000000 */ nop
|
||||
/* 01748 80A4FA68 C62C01B4 */ lwc1 $f12, 0x01B4($s1) ## 000001B4
|
||||
/* 0174C 80A4FA6C C62E01B8 */ lwc1 $f14, 0x01B8($s1) ## 000001B8
|
||||
/* 01750 80A4FA70 8E2601BC */ lw $a2, 0x01BC($s1) ## 000001BC
|
||||
/* 01754 80A4FA74 0C0342A3 */ jal Matrix_Scale
|
||||
/* 01758 80A4FA78 24070001 */ addiu $a3, $zero, 0x0001 ## $a3 = 00000001
|
||||
/* 0175C 80A4FA7C 862D01A8 */ lh $t5, 0x01A8($s1) ## 000001A8
|
||||
/* 01760 80A4FA80 3C0180A5 */ lui $at, %hi(D_80A4FF44) ## $at = 80A50000
|
||||
/* 01764 80A4FA84 C432FF44 */ lwc1 $f18, %lo(D_80A4FF44)($at)
|
||||
/* 01768 80A4FA88 448D5000 */ mtc1 $t5, $f10 ## $f10 = 0.00
|
||||
/* 0176C 80A4FA8C 24050001 */ addiu $a1, $zero, 0x0001 ## $a1 = 00000001
|
||||
/* 01770 80A4FA90 46805420 */ cvt.s.w $f16, $f10
|
||||
/* 01774 80A4FA94 46128302 */ mul.s $f12, $f16, $f18
|
||||
/* 01778 80A4FA98 0C034348 */ jal Matrix_RotateY
|
||||
/* 0177C 80A4FA9C 00000000 */ nop
|
||||
/* 01780 80A4FAA0 862E01A6 */ lh $t6, 0x01A6($s1) ## 000001A6
|
||||
/* 01784 80A4FAA4 3C0180A5 */ lui $at, %hi(D_80A4FF48) ## $at = 80A50000
|
||||
/* 01788 80A4FAA8 C428FF48 */ lwc1 $f8, %lo(D_80A4FF48)($at)
|
||||
/* 0178C 80A4FAAC 448E2000 */ mtc1 $t6, $f4 ## $f4 = 0.00
|
||||
/* 01790 80A4FAB0 24050001 */ addiu $a1, $zero, 0x0001 ## $a1 = 00000001
|
||||
/* 01794 80A4FAB4 468021A0 */ cvt.s.w $f6, $f4
|
||||
/* 01798 80A4FAB8 46083302 */ mul.s $f12, $f6, $f8
|
||||
/* 0179C 80A4FABC 0C0342DC */ jal Matrix_RotateX
|
||||
/* 017A0 80A4FAC0 00000000 */ nop
|
||||
/* 017A4 80A4FAC4 862F01AA */ lh $t7, 0x01AA($s1) ## 000001AA
|
||||
/* 017A8 80A4FAC8 3C0180A5 */ lui $at, %hi(D_80A4FF4C) ## $at = 80A50000
|
||||
/* 017AC 80A4FACC C432FF4C */ lwc1 $f18, %lo(D_80A4FF4C)($at)
|
||||
/* 017B0 80A4FAD0 448F5000 */ mtc1 $t7, $f10 ## $f10 = 0.00
|
||||
/* 017B4 80A4FAD4 24050001 */ addiu $a1, $zero, 0x0001 ## $a1 = 00000001
|
||||
/* 017B8 80A4FAD8 46805420 */ cvt.s.w $f16, $f10
|
||||
/* 017BC 80A4FADC 46128302 */ mul.s $f12, $f16, $f18
|
||||
/* 017C0 80A4FAE0 0C0343B5 */ jal Matrix_RotateZ
|
||||
/* 017C4 80A4FAE4 00000000 */ nop
|
||||
/* 017C8 80A4FAE8 8E0202C0 */ lw $v0, 0x02C0($s0) ## 000002C0
|
||||
.L80A4FAEC:
|
||||
/* 017CC 80A4FAEC 3C19DA38 */ lui $t9, 0xDA38 ## $t9 = DA380000
|
||||
/* 017D0 80A4FAF0 37390003 */ ori $t9, $t9, 0x0003 ## $t9 = DA380003
|
||||
/* 017D4 80A4FAF4 24580008 */ addiu $t8, $v0, 0x0008 ## $t8 = 00000008
|
||||
/* 017D8 80A4FAF8 AE1802C0 */ sw $t8, 0x02C0($s0) ## 000002C0
|
||||
/* 017DC 80A4FAFC AC590000 */ sw $t9, 0x0000($v0) ## 00000000
|
||||
/* 017E0 80A4FB00 8FA80094 */ lw $t0, 0x0094($sp)
|
||||
/* 017E4 80A4FB04 3C0580A5 */ lui $a1, %hi(D_80A4FE60) ## $a1 = 80A50000
|
||||
/* 017E8 80A4FB08 24A5FE60 */ addiu $a1, $a1, %lo(D_80A4FE60) ## $a1 = 80A4FE60
|
||||
/* 017EC 80A4FB0C 8D040000 */ lw $a0, 0x0000($t0) ## 00000000
|
||||
/* 017F0 80A4FB10 24060428 */ addiu $a2, $zero, 0x0428 ## $a2 = 00000428
|
||||
/* 017F4 80A4FB14 0C0346A2 */ jal Matrix_NewMtx
|
||||
/* 017F8 80A4FB18 AFA2006C */ sw $v0, 0x006C($sp)
|
||||
/* 017FC 80A4FB1C 8FA3006C */ lw $v1, 0x006C($sp)
|
||||
/* 01800 80A4FB20 3C0A0600 */ lui $t2, 0x0600 ## $t2 = 06000000
|
||||
/* 01804 80A4FB24 254A0950 */ addiu $t2, $t2, 0x0950 ## $t2 = 06000950
|
||||
/* 01808 80A4FB28 AC620004 */ sw $v0, 0x0004($v1) ## 00000004
|
||||
/* 0180C 80A4FB2C 8E0202C0 */ lw $v0, 0x02C0($s0) ## 000002C0
|
||||
/* 01810 80A4FB30 3C04DE00 */ lui $a0, 0xDE00 ## $a0 = DE000000
|
||||
/* 01814 80A4FB34 24490008 */ addiu $t1, $v0, 0x0008 ## $t1 = 00000008
|
||||
/* 01818 80A4FB38 AE0902C0 */ sw $t1, 0x02C0($s0) ## 000002C0
|
||||
/* 0181C 80A4FB3C AC4A0004 */ sw $t2, 0x0004($v0) ## 00000004
|
||||
/* 01820 80A4FB40 AC440000 */ sw $a0, 0x0000($v0) ## 00000000
|
||||
/* 01824 80A4FB44 922B019E */ lbu $t3, 0x019E($s1) ## 0000019E
|
||||
/* 01828 80A4FB48 316C0004 */ andi $t4, $t3, 0x0004 ## $t4 = 00000000
|
||||
/* 0182C 80A4FB4C 51800013 */ beql $t4, $zero, .L80A4FB9C
|
||||
/* 01830 80A4FB50 8E0202C0 */ lw $v0, 0x02C0($s0) ## 000002C0
|
||||
/* 01834 80A4FB54 8E0202C0 */ lw $v0, 0x02C0($s0) ## 000002C0
|
||||
/* 01838 80A4FB58 3C0EFA00 */ lui $t6, 0xFA00 ## $t6 = FA000000
|
||||
/* 0183C 80A4FB5C 244D0008 */ addiu $t5, $v0, 0x0008 ## $t5 = 00000008
|
||||
/* 01840 80A4FB60 AE0D02C0 */ sw $t5, 0x02C0($s0) ## 000002C0
|
||||
/* 01844 80A4FB64 AC4E0000 */ sw $t6, 0x0000($v0) ## 00000000
|
||||
/* 01848 80A4FB68 922901E5 */ lbu $t1, 0x01E5($s1) ## 000001E5
|
||||
/* 0184C 80A4FB6C 923801E4 */ lbu $t8, 0x01E4($s1) ## 000001E4
|
||||
/* 01850 80A4FB70 922D01E6 */ lbu $t5, 0x01E6($s1) ## 000001E6
|
||||
/* 01854 80A4FB74 922801E7 */ lbu $t0, 0x01E7($s1) ## 000001E7
|
||||
/* 01858 80A4FB78 00095400 */ sll $t2, $t1, 16
|
||||
/* 0185C 80A4FB7C 0018CE00 */ sll $t9, $t8, 24
|
||||
/* 01860 80A4FB80 032A5825 */ or $t3, $t9, $t2 ## $t3 = 06000950
|
||||
/* 01864 80A4FB84 000D7200 */ sll $t6, $t5, 8
|
||||
/* 01868 80A4FB88 016E7825 */ or $t7, $t3, $t6 ## $t7 = FE000950
|
||||
/* 0186C 80A4FB8C 01E84825 */ or $t1, $t7, $t0 ## $t1 = FE000950
|
||||
/* 01870 80A4FB90 10000008 */ beq $zero, $zero, .L80A4FBB4
|
||||
/* 01874 80A4FB94 AC490004 */ sw $t1, 0x0004($v0) ## 00000004
|
||||
/* 01878 80A4FB98 8E0202C0 */ lw $v0, 0x02C0($s0) ## 000002C0
|
||||
.L80A4FB9C:
|
||||
/* 0187C 80A4FB9C 3C0AFA00 */ lui $t2, 0xFA00 ## $t2 = FA000000
|
||||
/* 01880 80A4FBA0 240CFFFF */ addiu $t4, $zero, 0xFFFF ## $t4 = FFFFFFFF
|
||||
/* 01884 80A4FBA4 24590008 */ addiu $t9, $v0, 0x0008 ## $t9 = 00000008
|
||||
/* 01888 80A4FBA8 AE1902C0 */ sw $t9, 0x02C0($s0) ## 000002C0
|
||||
/* 0188C 80A4FBAC AC4C0004 */ sw $t4, 0x0004($v0) ## 00000004
|
||||
/* 01890 80A4FBB0 AC4A0000 */ sw $t2, 0x0000($v0) ## 00000000
|
||||
.L80A4FBB4:
|
||||
/* 01894 80A4FBB4 8E0202C0 */ lw $v0, 0x02C0($s0) ## 000002C0
|
||||
/* 01898 80A4FBB8 3C0B0600 */ lui $t3, 0x0600 ## $t3 = 06000000
|
||||
/* 0189C 80A4FBBC 256B09D0 */ addiu $t3, $t3, 0x09D0 ## $t3 = 060009D0
|
||||
/* 018A0 80A4FBC0 244D0008 */ addiu $t5, $v0, 0x0008 ## $t5 = 00000008
|
||||
/* 018A4 80A4FBC4 AE0D02C0 */ sw $t5, 0x02C0($s0) ## 000002C0
|
||||
/* 018A8 80A4FBC8 AC4B0004 */ sw $t3, 0x0004($v0) ## 00000004
|
||||
/* 018AC 80A4FBCC AC440000 */ sw $a0, 0x0000($v0) ## 00000000
|
||||
/* 018B0 80A4FBD0 8E0202C0 */ lw $v0, 0x02C0($s0) ## 000002C0
|
||||
/* 018B4 80A4FBD4 3C180600 */ lui $t8, 0x0600 ## $t8 = 06000000
|
||||
/* 018B8 80A4FBD8 27180A60 */ addiu $t8, $t8, 0x0A60 ## $t8 = 06000A60
|
||||
/* 018BC 80A4FBDC 244E0008 */ addiu $t6, $v0, 0x0008 ## $t6 = 00000008
|
||||
/* 018C0 80A4FBE0 AE0E02C0 */ sw $t6, 0x02C0($s0) ## 000002C0
|
||||
/* 018C4 80A4FBE4 AC580004 */ sw $t8, 0x0004($v0) ## 00000004
|
||||
/* 018C8 80A4FBE8 0C034221 */ jal Matrix_Pull
|
||||
/* 018CC 80A4FBEC AC440000 */ sw $a0, 0x0000($v0) ## 00000000
|
||||
/* 018D0 80A4FBF0 922F019E */ lbu $t7, 0x019E($s1) ## 0000019E
|
||||
/* 018D4 80A4FBF4 8FA90094 */ lw $t1, 0x0094($sp)
|
||||
/* 018D8 80A4FBF8 31E80002 */ andi $t0, $t7, 0x0002 ## $t0 = 00000000
|
||||
/* 018DC 80A4FBFC 51000055 */ beql $t0, $zero, .L80A4FD54
|
||||
/* 018E0 80A4FC00 8FAD0094 */ lw $t5, 0x0094($sp)
|
||||
/* 018E4 80A4FC04 0C024F61 */ jal func_80093D84
|
||||
/* 018E8 80A4FC08 8D240000 */ lw $a0, 0x0000($t1) ## 00000000
|
||||
/* 018EC 80A4FC0C 8FA40094 */ lw $a0, 0x0094($sp)
|
||||
/* 018F0 80A4FC10 3C010001 */ lui $at, 0x0001 ## $at = 00010000
|
||||
/* 018F4 80A4FC14 34211DA0 */ ori $at, $at, 0x1DA0 ## $at = 00011DA0
|
||||
/* 018F8 80A4FC18 0C0347F5 */ jal func_800D1FD4
|
||||
/* 018FC 80A4FC1C 00812021 */ addu $a0, $a0, $at
|
||||
/* 01900 80A4FC20 3C0180A5 */ lui $at, %hi(D_80A4FF50) ## $at = 80A50000
|
||||
/* 01904 80A4FC24 C42CFF50 */ lwc1 $f12, %lo(D_80A4FF50)($at)
|
||||
/* 01908 80A4FC28 3C0180A5 */ lui $at, %hi(D_80A4FF54) ## $at = 80A50000
|
||||
/* 0190C 80A4FC2C C42EFF54 */ lwc1 $f14, %lo(D_80A4FF54)($at)
|
||||
/* 01910 80A4FC30 3C063F80 */ lui $a2, 0x3F80 ## $a2 = 3F800000
|
||||
/* 01914 80A4FC34 0C0342A3 */ jal Matrix_Scale
|
||||
/* 01918 80A4FC38 24070001 */ addiu $a3, $zero, 0x0001 ## $a3 = 00000001
|
||||
/* 0191C 80A4FC3C 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0
|
||||
/* 01920 80A4FC40 3C0ADA38 */ lui $t2, 0xDA38 ## $t2 = DA380000
|
||||
/* 01924 80A4FC44 354A0003 */ ori $t2, $t2, 0x0003 ## $t2 = DA380003
|
||||
/* 01928 80A4FC48 24590008 */ addiu $t9, $v0, 0x0008 ## $t9 = 00000008
|
||||
/* 0192C 80A4FC4C AE1902D0 */ sw $t9, 0x02D0($s0) ## 000002D0
|
||||
/* 01930 80A4FC50 AC4A0000 */ sw $t2, 0x0000($v0) ## 00000000
|
||||
/* 01934 80A4FC54 8FAC0094 */ lw $t4, 0x0094($sp)
|
||||
/* 01938 80A4FC58 3C0580A5 */ lui $a1, %hi(D_80A4FE70) ## $a1 = 80A50000
|
||||
/* 0193C 80A4FC5C 24A5FE70 */ addiu $a1, $a1, %lo(D_80A4FE70) ## $a1 = 80A4FE70
|
||||
/* 01940 80A4FC60 2406043F */ addiu $a2, $zero, 0x043F ## $a2 = 0000043F
|
||||
/* 01944 80A4FC64 00408825 */ or $s1, $v0, $zero ## $s1 = 00000000
|
||||
/* 01948 80A4FC68 0C0346A2 */ jal Matrix_NewMtx
|
||||
/* 0194C 80A4FC6C 8D840000 */ lw $a0, 0x0000($t4) ## 00000000
|
||||
/* 01950 80A4FC70 AE220004 */ sw $v0, 0x0004($s1) ## 00000004
|
||||
/* 01954 80A4FC74 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0
|
||||
/* 01958 80A4FC78 3C0BDB06 */ lui $t3, 0xDB06 ## $t3 = DB060000
|
||||
/* 0195C 80A4FC7C 356B0020 */ ori $t3, $t3, 0x0020 ## $t3 = DB060020
|
||||
/* 01960 80A4FC80 244D0008 */ addiu $t5, $v0, 0x0008 ## $t5 = 00000008
|
||||
/* 01964 80A4FC84 AE0D02D0 */ sw $t5, 0x02D0($s0) ## 000002D0
|
||||
/* 01968 80A4FC88 AC4B0000 */ sw $t3, 0x0000($v0) ## 00000000
|
||||
/* 0196C 80A4FC8C 8FAE0094 */ lw $t6, 0x0094($sp)
|
||||
/* 01970 80A4FC90 8FA90084 */ lw $t1, 0x0084($sp)
|
||||
/* 01974 80A4FC94 240D0080 */ addiu $t5, $zero, 0x0080 ## $t5 = 00000080
|
||||
/* 01978 80A4FC98 8DC40000 */ lw $a0, 0x0000($t6) ## 00000000
|
||||
/* 0197C 80A4FC9C 0009C823 */ subu $t9, $zero, $t1
|
||||
/* 01980 80A4FCA0 00195080 */ sll $t2, $t9, 2
|
||||
/* 01984 80A4FCA4 01595021 */ addu $t2, $t2, $t9
|
||||
/* 01988 80A4FCA8 000A5080 */ sll $t2, $t2, 2
|
||||
/* 0198C 80A4FCAC 24180020 */ addiu $t8, $zero, 0x0020 ## $t8 = 00000020
|
||||
/* 01990 80A4FCB0 240F0040 */ addiu $t7, $zero, 0x0040 ## $t7 = 00000040
|
||||
/* 01994 80A4FCB4 24080001 */ addiu $t0, $zero, 0x0001 ## $t0 = 00000001
|
||||
/* 01998 80A4FCB8 240C0020 */ addiu $t4, $zero, 0x0020 ## $t4 = 00000020
|
||||
/* 0199C 80A4FCBC AFAC0024 */ sw $t4, 0x0024($sp)
|
||||
/* 019A0 80A4FCC0 AFA80018 */ sw $t0, 0x0018($sp)
|
||||
/* 019A4 80A4FCC4 AFAF0014 */ sw $t7, 0x0014($sp)
|
||||
/* 019A8 80A4FCC8 AFB80010 */ sw $t8, 0x0010($sp)
|
||||
/* 019AC 80A4FCCC AFAA0020 */ sw $t2, 0x0020($sp)
|
||||
/* 019B0 80A4FCD0 AFAD0028 */ sw $t5, 0x0028($sp)
|
||||
/* 019B4 80A4FCD4 AFA0001C */ sw $zero, 0x001C($sp)
|
||||
/* 019B8 80A4FCD8 00002825 */ or $a1, $zero, $zero ## $a1 = 00000000
|
||||
/* 019BC 80A4FCDC 00003025 */ or $a2, $zero, $zero ## $a2 = 00000000
|
||||
/* 019C0 80A4FCE0 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
|
||||
/* 019C4 80A4FCE4 0C0253D0 */ jal Gfx_TwoTexScroll
|
||||
/* 019C8 80A4FCE8 00408825 */ or $s1, $v0, $zero ## $s1 = 00000000
|
||||
/* 019CC 80A4FCEC AE220004 */ sw $v0, 0x0004($s1) ## 00000004
|
||||
/* 019D0 80A4FCF0 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0
|
||||
/* 019D4 80A4FCF4 3C0EFA00 */ lui $t6, 0xFA00 ## $t6 = FA000000
|
||||
/* 019D8 80A4FCF8 3C18FFFF */ lui $t8, 0xFFFF ## $t8 = FFFF0000
|
||||
/* 019DC 80A4FCFC 244B0008 */ addiu $t3, $v0, 0x0008 ## $t3 = 00000008
|
||||
/* 019E0 80A4FD00 AE0B02D0 */ sw $t3, 0x02D0($s0) ## 000002D0
|
||||
/* 019E4 80A4FD04 371800FF */ ori $t8, $t8, 0x00FF ## $t8 = FFFF00FF
|
||||
/* 019E8 80A4FD08 35CE8080 */ ori $t6, $t6, 0x8080 ## $t6 = FA008080
|
||||
/* 019EC 80A4FD0C AC4E0000 */ sw $t6, 0x0000($v0) ## 00000000
|
||||
/* 019F0 80A4FD10 AC580004 */ sw $t8, 0x0004($v0) ## 00000004
|
||||
/* 019F4 80A4FD14 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0
|
||||
/* 019F8 80A4FD18 3C08FB00 */ lui $t0, 0xFB00 ## $t0 = FB000000
|
||||
/* 019FC 80A4FD1C 3C09FF00 */ lui $t1, 0xFF00 ## $t1 = FF000000
|
||||
/* 01A00 80A4FD20 244F0008 */ addiu $t7, $v0, 0x0008 ## $t7 = 00000008
|
||||
/* 01A04 80A4FD24 AE0F02D0 */ sw $t7, 0x02D0($s0) ## 000002D0
|
||||
/* 01A08 80A4FD28 AC490004 */ sw $t1, 0x0004($v0) ## 00000004
|
||||
/* 01A0C 80A4FD2C AC480000 */ sw $t0, 0x0000($v0) ## 00000000
|
||||
/* 01A10 80A4FD30 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0
|
||||
/* 01A14 80A4FD34 3C0C0405 */ lui $t4, 0x0405 ## $t4 = 04050000
|
||||
/* 01A18 80A4FD38 258CD4E0 */ addiu $t4, $t4, 0xD4E0 ## $t4 = 0404D4E0
|
||||
/* 01A1C 80A4FD3C 24590008 */ addiu $t9, $v0, 0x0008 ## $t9 = 00000008
|
||||
/* 01A20 80A4FD40 AE1902D0 */ sw $t9, 0x02D0($s0) ## 000002D0
|
||||
/* 01A24 80A4FD44 3C0ADE00 */ lui $t2, 0xDE00 ## $t2 = DE000000
|
||||
/* 01A28 80A4FD48 AC4A0000 */ sw $t2, 0x0000($v0) ## 00000000
|
||||
/* 01A2C 80A4FD4C AC4C0004 */ sw $t4, 0x0004($v0) ## 00000004
|
||||
/* 01A30 80A4FD50 8FAD0094 */ lw $t5, 0x0094($sp)
|
||||
.L80A4FD54:
|
||||
/* 01A34 80A4FD54 3C0680A5 */ lui $a2, %hi(D_80A4FE80) ## $a2 = 80A50000
|
||||
/* 01A38 80A4FD58 24C6FE80 */ addiu $a2, $a2, %lo(D_80A4FE80) ## $a2 = 80A4FE80
|
||||
/* 01A3C 80A4FD5C 27A40070 */ addiu $a0, $sp, 0x0070 ## $a0 = FFFFFFE0
|
||||
/* 01A40 80A4FD60 2407044D */ addiu $a3, $zero, 0x044D ## $a3 = 0000044D
|
||||
/* 01A44 80A4FD64 0C031AD5 */ jal Graph_CloseDisps
|
||||
/* 01A48 80A4FD68 8DA50000 */ lw $a1, 0x0000($t5) ## 00000000
|
||||
.L80A4FD6C:
|
||||
/* 01A4C 80A4FD6C 8FBF003C */ lw $ra, 0x003C($sp)
|
||||
/* 01A50 80A4FD70 8FB00034 */ lw $s0, 0x0034($sp)
|
||||
/* 01A54 80A4FD74 8FB10038 */ lw $s1, 0x0038($sp)
|
||||
/* 01A58 80A4FD78 03E00008 */ jr $ra
|
||||
/* 01A5C 80A4FD7C 27BD0090 */ addiu $sp, $sp, 0x0090 ## $sp = 00000000
|
|
@ -1,52 +0,0 @@
|
|||
glabel EnGs_Init
|
||||
/* 00000 80A4E320 27BDFFD8 */ addiu $sp, $sp, 0xFFD8 ## $sp = FFFFFFD8
|
||||
/* 00004 80A4E324 AFA5002C */ sw $a1, 0x002C($sp)
|
||||
/* 00008 80A4E328 AFBF001C */ sw $ra, 0x001C($sp)
|
||||
/* 0000C 80A4E32C AFB00018 */ sw $s0, 0x0018($sp)
|
||||
/* 00010 80A4E330 3C0580A5 */ lui $a1, %hi(D_80A4FDF8) ## $a1 = 80A50000
|
||||
/* 00014 80A4E334 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
|
||||
/* 00018 80A4E338 0C01E037 */ jal Actor_ProcessInitChain
|
||||
|
||||
/* 0001C 80A4E33C 24A5FDF8 */ addiu $a1, $a1, %lo(D_80A4FDF8) ## $a1 = 80A4FDF8
|
||||
/* 00020 80A4E340 2605014C */ addiu $a1, $s0, 0x014C ## $a1 = 0000014C
|
||||
/* 00024 80A4E344 AFA50020 */ sw $a1, 0x0020($sp)
|
||||
/* 00028 80A4E348 0C0170D9 */ jal Collider_InitCylinder
|
||||
|
||||
/* 0002C 80A4E34C 8FA4002C */ lw $a0, 0x002C($sp)
|
||||
/* 00030 80A4E350 3C0780A5 */ lui $a3, %hi(D_80A4FDA0) ## $a3 = 80A50000
|
||||
/* 00034 80A4E354 8FA50020 */ lw $a1, 0x0020($sp)
|
||||
/* 00038 80A4E358 24E7FDA0 */ addiu $a3, $a3, %lo(D_80A4FDA0) ## $a3 = 80A4FDA0
|
||||
/* 0003C 80A4E35C 8FA4002C */ lw $a0, 0x002C($sp)
|
||||
/* 00040 80A4E360 0C01712B */ jal Collider_SetCylinder
|
||||
|
||||
/* 00044 80A4E364 02003025 */ or $a2, $s0, $zero ## $a2 = 00000000
|
||||
/* 00048 80A4E368 3C0580A5 */ lui $a1, %hi(D_80A4FDD8) ## $a1 = 80A50000
|
||||
/* 0004C 80A4E36C 3C0680A5 */ lui $a2, %hi(D_80A4FDCC) ## $a2 = 80A50000
|
||||
/* 00050 80A4E370 24C6FDCC */ addiu $a2, $a2, %lo(D_80A4FDCC) ## $a2 = 80A4FDCC
|
||||
/* 00054 80A4E374 24A5FDD8 */ addiu $a1, $a1, %lo(D_80A4FDD8) ## $a1 = 80A4FDD8
|
||||
/* 00058 80A4E378 0C0187BF */ jal func_80061EFC
|
||||
/* 0005C 80A4E37C 26040098 */ addiu $a0, $s0, 0x0098 ## $a0 = 00000098
|
||||
/* 00060 80A4E380 3C013F80 */ lui $at, 0x3F80 ## $at = 3F800000
|
||||
/* 00064 80A4E384 44810000 */ mtc1 $at, $f0 ## $f0 = 1.00
|
||||
/* 00068 80A4E388 8E180024 */ lw $t8, 0x0024($s0) ## 00000024
|
||||
/* 0006C 80A4E38C 8E0F0028 */ lw $t7, 0x0028($s0) ## 00000028
|
||||
/* 00070 80A4E390 3C1980A5 */ lui $t9, %hi(func_80A4F734) ## $t9 = 80A50000
|
||||
/* 00074 80A4E394 AE1801D8 */ sw $t8, 0x01D8($s0) ## 000001D8
|
||||
/* 00078 80A4E398 8E18002C */ lw $t8, 0x002C($s0) ## 0000002C
|
||||
/* 0007C 80A4E39C 240E0006 */ addiu $t6, $zero, 0x0006 ## $t6 = 00000006
|
||||
/* 00080 80A4E3A0 2739F734 */ addiu $t9, $t9, %lo(func_80A4F734) ## $t9 = 80A4F734
|
||||
/* 00084 80A4E3A4 A20E001F */ sb $t6, 0x001F($s0) ## 0000001F
|
||||
/* 00088 80A4E3A8 AE190198 */ sw $t9, 0x0198($s0) ## 00000198
|
||||
/* 0008C 80A4E3AC E60001B4 */ swc1 $f0, 0x01B4($s0) ## 000001B4
|
||||
/* 00090 80A4E3B0 E60001B8 */ swc1 $f0, 0x01B8($s0) ## 000001B8
|
||||
/* 00094 80A4E3B4 E60001BC */ swc1 $f0, 0x01BC($s0) ## 000001BC
|
||||
/* 00098 80A4E3B8 E60001C0 */ swc1 $f0, 0x01C0($s0) ## 000001C0
|
||||
/* 0009C 80A4E3BC E60001C4 */ swc1 $f0, 0x01C4($s0) ## 000001C4
|
||||
/* 000A0 80A4E3C0 E60001C8 */ swc1 $f0, 0x01C8($s0) ## 000001C8
|
||||
/* 000A4 80A4E3C4 AE0F01DC */ sw $t7, 0x01DC($s0) ## 000001DC
|
||||
/* 000A8 80A4E3C8 AE1801E0 */ sw $t8, 0x01E0($s0) ## 000001E0
|
||||
/* 000AC 80A4E3CC 8FBF001C */ lw $ra, 0x001C($sp)
|
||||
/* 000B0 80A4E3D0 8FB00018 */ lw $s0, 0x0018($sp)
|
||||
/* 000B4 80A4E3D4 27BD0028 */ addiu $sp, $sp, 0x0028 ## $sp = 00000000
|
||||
/* 000B8 80A4E3D8 03E00008 */ jr $ra
|
||||
/* 000BC 80A4E3DC 00000000 */ nop
|
|
@ -1,123 +0,0 @@
|
|||
.late_rodata
|
||||
glabel jtbl_80A4FF24
|
||||
.word L80A4F8F8
|
||||
.word L80A4F8D4
|
||||
.word L80A4F8B0
|
||||
.word L80A4F88C
|
||||
.word L80A4F868
|
||||
|
||||
.text
|
||||
glabel EnGs_Update
|
||||
/* 014D4 80A4F7F4 27BDFFD0 */ addiu $sp, $sp, 0xFFD0 ## $sp = FFFFFFD0
|
||||
/* 014D8 80A4F7F8 AFB10018 */ sw $s1, 0x0018($sp)
|
||||
/* 014DC 80A4F7FC 00A08825 */ or $s1, $a1, $zero ## $s1 = 00000000
|
||||
/* 014E0 80A4F800 AFBF001C */ sw $ra, 0x001C($sp)
|
||||
/* 014E4 80A4F804 AFB00014 */ sw $s0, 0x0014($sp)
|
||||
/* 014E8 80A4F808 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
|
||||
/* 014EC 80A4F80C 0C00B56E */ jal Actor_SetHeight
|
||||
|
||||
/* 014F0 80A4F810 3C0541B8 */ lui $a1, 0x41B8 ## $a1 = 41B80000
|
||||
/* 014F4 80A4F814 920E019E */ lbu $t6, 0x019E($s0) ## 0000019E
|
||||
/* 014F8 80A4F818 31CF0010 */ andi $t7, $t6, 0x0010 ## $t7 = 00000000
|
||||
/* 014FC 80A4F81C 55E0004E */ bnel $t7, $zero, .L80A4F958
|
||||
/* 01500 80A4F820 8E190198 */ lw $t9, 0x0198($s0) ## 00000198
|
||||
/* 01504 80A4F824 9202015D */ lbu $v0, 0x015D($s0) ## 0000015D
|
||||
/* 01508 80A4F828 30580002 */ andi $t8, $v0, 0x0002 ## $t8 = 00000000
|
||||
/* 0150C 80A4F82C 5300003B */ beql $t8, $zero, .L80A4F91C
|
||||
/* 01510 80A4F830 2605014C */ addiu $a1, $s0, 0x014C ## $a1 = 0000014C
|
||||
/* 01514 80A4F834 920800B1 */ lbu $t0, 0x00B1($s0) ## 000000B1
|
||||
/* 01518 80A4F838 3059FFFD */ andi $t9, $v0, 0xFFFD ## $t9 = 00000000
|
||||
/* 0151C 80A4F83C A200019F */ sb $zero, 0x019F($s0) ## 0000019F
|
||||
/* 01520 80A4F840 2509FFF5 */ addiu $t1, $t0, 0xFFF5 ## $t1 = FFFFFFF5
|
||||
/* 01524 80A4F844 2D210005 */ sltiu $at, $t1, 0x0005
|
||||
/* 01528 80A4F848 10200033 */ beq $at, $zero, .L80A4F918
|
||||
/* 0152C 80A4F84C A219015D */ sb $t9, 0x015D($s0) ## 0000015D
|
||||
/* 01530 80A4F850 00094880 */ sll $t1, $t1, 2
|
||||
/* 01534 80A4F854 3C0180A5 */ lui $at, %hi(jtbl_80A4FF24) ## $at = 80A50000
|
||||
/* 01538 80A4F858 00290821 */ addu $at, $at, $t1
|
||||
/* 0153C 80A4F85C 8C29FF24 */ lw $t1, %lo(jtbl_80A4FF24)($at)
|
||||
/* 01540 80A4F860 01200008 */ jr $t1
|
||||
/* 01544 80A4F864 00000000 */ nop
|
||||
glabel L80A4F868
|
||||
/* 01548 80A4F868 920A019E */ lbu $t2, 0x019E($s0) ## 0000019E
|
||||
/* 0154C 80A4F86C 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 01550 80A4F870 354B0001 */ ori $t3, $t2, 0x0001 ## $t3 = 00000001
|
||||
/* 01554 80A4F874 0C293DDF */ jal func_80A4F77C
|
||||
/* 01558 80A4F878 A20B019E */ sb $t3, 0x019E($s0) ## 0000019E
|
||||
/* 0155C 80A4F87C 3C0C80A5 */ lui $t4, %hi(func_80A4E910) ## $t4 = 80A50000
|
||||
/* 01560 80A4F880 258CE910 */ addiu $t4, $t4, %lo(func_80A4E910) ## $t4 = 80A4E910
|
||||
/* 01564 80A4F884 10000024 */ beq $zero, $zero, .L80A4F918
|
||||
/* 01568 80A4F888 AE0C0198 */ sw $t4, 0x0198($s0) ## 00000198
|
||||
glabel L80A4F88C
|
||||
/* 0156C 80A4F88C 920D019E */ lbu $t5, 0x019E($s0) ## 0000019E
|
||||
/* 01570 80A4F890 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 01574 80A4F894 35AE0001 */ ori $t6, $t5, 0x0001 ## $t6 = 00000001
|
||||
/* 01578 80A4F898 0C293DDF */ jal func_80A4F77C
|
||||
/* 0157C 80A4F89C A20E019E */ sb $t6, 0x019E($s0) ## 0000019E
|
||||
/* 01580 80A4F8A0 3C0F80A5 */ lui $t7, %hi(func_80A4EA08) ## $t7 = 80A50000
|
||||
/* 01584 80A4F8A4 25EFEA08 */ addiu $t7, $t7, %lo(func_80A4EA08) ## $t7 = 80A4EA08
|
||||
/* 01588 80A4F8A8 1000001B */ beq $zero, $zero, .L80A4F918
|
||||
/* 0158C 80A4F8AC AE0F0198 */ sw $t7, 0x0198($s0) ## 00000198
|
||||
glabel L80A4F8B0
|
||||
/* 01590 80A4F8B0 9218019E */ lbu $t8, 0x019E($s0) ## 0000019E
|
||||
/* 01594 80A4F8B4 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 01598 80A4F8B8 37190001 */ ori $t9, $t8, 0x0001 ## $t9 = 00000001
|
||||
/* 0159C 80A4F8BC 0C293DDF */ jal func_80A4F77C
|
||||
/* 015A0 80A4F8C0 A219019E */ sb $t9, 0x019E($s0) ## 0000019E
|
||||
/* 015A4 80A4F8C4 3C0880A5 */ lui $t0, %hi(func_80A4EB3C) ## $t0 = 80A50000
|
||||
/* 015A8 80A4F8C8 2508EB3C */ addiu $t0, $t0, %lo(func_80A4EB3C) ## $t0 = 80A4EB3C
|
||||
/* 015AC 80A4F8CC 10000012 */ beq $zero, $zero, .L80A4F918
|
||||
/* 015B0 80A4F8D0 AE080198 */ sw $t0, 0x0198($s0) ## 00000198
|
||||
glabel L80A4F8D4
|
||||
/* 015B4 80A4F8D4 9209019E */ lbu $t1, 0x019E($s0) ## 0000019E
|
||||
/* 015B8 80A4F8D8 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 015BC 80A4F8DC 352A0002 */ ori $t2, $t1, 0x0002 ## $t2 = 00000002
|
||||
/* 015C0 80A4F8E0 0C293DDF */ jal func_80A4F77C
|
||||
/* 015C4 80A4F8E4 A20A019E */ sb $t2, 0x019E($s0) ## 0000019E
|
||||
/* 015C8 80A4F8E8 3C0B80A5 */ lui $t3, %hi(func_80A4ED34) ## $t3 = 80A50000
|
||||
/* 015CC 80A4F8EC 256BED34 */ addiu $t3, $t3, %lo(func_80A4ED34) ## $t3 = 80A4ED34
|
||||
/* 015D0 80A4F8F0 10000009 */ beq $zero, $zero, .L80A4F918
|
||||
/* 015D4 80A4F8F4 AE0B0198 */ sw $t3, 0x0198($s0) ## 00000198
|
||||
glabel L80A4F8F8
|
||||
/* 015D8 80A4F8F8 920C019E */ lbu $t4, 0x019E($s0) ## 0000019E
|
||||
/* 015DC 80A4F8FC 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 015E0 80A4F900 358D0001 */ ori $t5, $t4, 0x0001 ## $t5 = 00000001
|
||||
/* 015E4 80A4F904 0C293DDF */ jal func_80A4F77C
|
||||
/* 015E8 80A4F908 A20D019E */ sb $t5, 0x019E($s0) ## 0000019E
|
||||
/* 015EC 80A4F90C 3C0E80A5 */ lui $t6, %hi(func_80A4F13C) ## $t6 = 80A50000
|
||||
/* 015F0 80A4F910 25CEF13C */ addiu $t6, $t6, %lo(func_80A4F13C) ## $t6 = 80A4F13C
|
||||
/* 015F4 80A4F914 AE0E0198 */ sw $t6, 0x0198($s0) ## 00000198
|
||||
.L80A4F918:
|
||||
/* 015F8 80A4F918 2605014C */ addiu $a1, $s0, 0x014C ## $a1 = 0000014C
|
||||
.L80A4F91C:
|
||||
/* 015FC 80A4F91C AFA50020 */ sw $a1, 0x0020($sp)
|
||||
/* 01600 80A4F920 0C0189B7 */ jal Collider_CylinderUpdate
|
||||
|
||||
/* 01604 80A4F924 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 01608 80A4F928 3C010001 */ lui $at, 0x0001 ## $at = 00010000
|
||||
/* 0160C 80A4F92C 34211E60 */ ori $at, $at, 0x1E60 ## $at = 00011E60
|
||||
/* 01610 80A4F930 02212821 */ addu $a1, $s1, $at
|
||||
/* 01614 80A4F934 AFA50024 */ sw $a1, 0x0024($sp)
|
||||
/* 01618 80A4F938 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
|
||||
/* 0161C 80A4F93C 0C01767D */ jal CollisionCheck_SetAC
|
||||
## CollisionCheck_setAC
|
||||
/* 01620 80A4F940 8FA60020 */ lw $a2, 0x0020($sp)
|
||||
/* 01624 80A4F944 8FA50024 */ lw $a1, 0x0024($sp)
|
||||
/* 01628 80A4F948 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
|
||||
/* 0162C 80A4F94C 0C017713 */ jal CollisionCheck_SetOC
|
||||
## CollisionCheck_setOT
|
||||
/* 01630 80A4F950 8FA60020 */ lw $a2, 0x0020($sp)
|
||||
/* 01634 80A4F954 8E190198 */ lw $t9, 0x0198($s0) ## 00000198
|
||||
.L80A4F958:
|
||||
/* 01638 80A4F958 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 0163C 80A4F95C 02202825 */ or $a1, $s1, $zero ## $a1 = 00000000
|
||||
/* 01640 80A4F960 0320F809 */ jalr $ra, $t9
|
||||
/* 01644 80A4F964 00000000 */ nop
|
||||
/* 01648 80A4F968 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 0164C 80A4F96C 0C293992 */ jal func_80A4E648
|
||||
/* 01650 80A4F970 02202825 */ or $a1, $s1, $zero ## $a1 = 00000000
|
||||
/* 01654 80A4F974 8FBF001C */ lw $ra, 0x001C($sp)
|
||||
/* 01658 80A4F978 8FB00014 */ lw $s0, 0x0014($sp)
|
||||
/* 0165C 80A4F97C 8FB10018 */ lw $s1, 0x0018($sp)
|
||||
/* 01660 80A4F980 03E00008 */ jr $ra
|
||||
/* 01664 80A4F984 27BD0030 */ addiu $sp, $sp, 0x0030 ## $sp = 00000000
|
|
@ -1,35 +0,0 @@
|
|||
glabel func_80A4E3EC
|
||||
/* 000CC 80A4E3EC 27BDFFE0 */ addiu $sp, $sp, 0xFFE0 ## $sp = FFFFFFE0
|
||||
/* 000D0 80A4E3F0 AFBF0014 */ sw $ra, 0x0014($sp)
|
||||
/* 000D4 80A4E3F4 AFA40020 */ sw $a0, 0x0020($sp)
|
||||
/* 000D8 80A4E3F8 24030002 */ addiu $v1, $zero, 0x0002 ## $v1 = 00000002
|
||||
/* 000DC 80A4E3FC AFA50024 */ sw $a1, 0x0024($sp)
|
||||
/* 000E0 80A4E400 AFA3001C */ sw $v1, 0x001C($sp)
|
||||
/* 000E4 80A4E404 0C042F6F */ jal func_8010BDBC
|
||||
/* 000E8 80A4E408 24A420D8 */ addiu $a0, $a1, 0x20D8 ## $a0 = 000020D8
|
||||
/* 000EC 80A4E40C 24010006 */ addiu $at, $zero, 0x0006 ## $at = 00000006
|
||||
/* 000F0 80A4E410 14410012 */ bne $v0, $at, .L80A4E45C
|
||||
/* 000F4 80A4E414 8FA3001C */ lw $v1, 0x001C($sp)
|
||||
/* 000F8 80A4E418 8FA40024 */ lw $a0, 0x0024($sp)
|
||||
/* 000FC 80A4E41C 0C041AF2 */ jal func_80106BC8
|
||||
/* 00100 80A4E420 AFA3001C */ sw $v1, 0x001C($sp)
|
||||
/* 00104 80A4E424 8FA3001C */ lw $v1, 0x001C($sp)
|
||||
/* 00108 80A4E428 1040000C */ beq $v0, $zero, .L80A4E45C
|
||||
/* 0010C 80A4E42C 8FA50020 */ lw $a1, 0x0020($sp)
|
||||
/* 00110 80A4E430 94AE010E */ lhu $t6, 0x010E($a1) ## 0000010E
|
||||
/* 00114 80A4E434 24012054 */ addiu $at, $zero, 0x2054 ## $at = 00002054
|
||||
/* 00118 80A4E438 00001825 */ or $v1, $zero, $zero ## $v1 = 00000000
|
||||
/* 0011C 80A4E43C 15C10007 */ bne $t6, $at, .L80A4E45C
|
||||
/* 00120 80A4E440 00000000 */ nop
|
||||
/* 00124 80A4E444 84AF001C */ lh $t7, 0x001C($a1) ## 0000001C
|
||||
/* 00128 80A4E448 24030001 */ addiu $v1, $zero, 0x0001 ## $v1 = 00000001
|
||||
/* 0012C 80A4E44C 31F800FF */ andi $t8, $t7, 0x00FF ## $t8 = 00000000
|
||||
/* 00130 80A4E450 27190400 */ addiu $t9, $t8, 0x0400 ## $t9 = 00000400
|
||||
/* 00134 80A4E454 10000001 */ beq $zero, $zero, .L80A4E45C
|
||||
/* 00138 80A4E458 A4B9010E */ sh $t9, 0x010E($a1) ## 0000010E
|
||||
.L80A4E45C:
|
||||
/* 0013C 80A4E45C 8FBF0014 */ lw $ra, 0x0014($sp)
|
||||
/* 00140 80A4E460 27BD0020 */ addiu $sp, $sp, 0x0020 ## $sp = 00000000
|
||||
/* 00144 80A4E464 00601025 */ or $v0, $v1, $zero ## $v0 = 00000001
|
||||
/* 00148 80A4E468 03E00008 */ jr $ra
|
||||
/* 0014C 80A4E46C 00000000 */ nop
|
|
@ -1,132 +0,0 @@
|
|||
glabel func_80A4E470
|
||||
/* 00150 80A4E470 27BDFFC8 */ addiu $sp, $sp, 0xFFC8 ## $sp = FFFFFFC8
|
||||
/* 00154 80A4E474 3C068016 */ lui $a2, %hi(gGameInfo)
|
||||
/* 00158 80A4E478 24C6FA90 */ addiu $a2, %lo(gGameInfo)
|
||||
/* 0015C 80A4E47C 8CCE0000 */ lw $t6, 0x0000($a2) ## 8015FA90
|
||||
/* 00160 80A4E480 AFBF0034 */ sw $ra, 0x0034($sp)
|
||||
/* 00164 80A4E484 AFB10030 */ sw $s1, 0x0030($sp)
|
||||
/* 00168 80A4E488 AFB0002C */ sw $s0, 0x002C($sp)
|
||||
/* 0016C 80A4E48C 8CA21C44 */ lw $v0, 0x1C44($a1) ## 00001C44
|
||||
/* 00170 80A4E490 3C0142C8 */ lui $at, 0x42C8 ## $at = 42C80000
|
||||
/* 00174 80A4E494 A5C01532 */ sh $zero, 0x1532($t6) ## 00001532
|
||||
/* 00178 80A4E498 C4860090 */ lwc1 $f6, 0x0090($a0) ## 00000090
|
||||
/* 0017C 80A4E49C 44812000 */ mtc1 $at, $f4 ## $f4 = 100.00
|
||||
/* 00180 80A4E4A0 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
|
||||
/* 00184 80A4E4A4 00A08825 */ or $s1, $a1, $zero ## $s1 = 00000000
|
||||
/* 00188 80A4E4A8 4604303E */ c.le.s $f6, $f4
|
||||
/* 0018C 80A4E4AC 00000000 */ nop
|
||||
/* 00190 80A4E4B0 45020061 */ bc1fl .L80A4E638
|
||||
/* 00194 80A4E4B4 8FBF0034 */ lw $ra, 0x0034($sp)
|
||||
/* 00198 80A4E4B8 8CCF0000 */ lw $t7, 0x0000($a2) ## 8015FA90
|
||||
/* 0019C 80A4E4BC 24050001 */ addiu $a1, $zero, 0x0001 ## $a1 = 00000001
|
||||
/* 001A0 80A4E4C0 A5E51532 */ sh $a1, 0x1532($t7) ## 00001532
|
||||
/* 001A4 80A4E4C4 9083019D */ lbu $v1, 0x019D($a0) ## 0000019D
|
||||
/* 001A8 80A4E4C8 1460000E */ bne $v1, $zero, .L80A4E504
|
||||
/* 001AC 80A4E4CC 306C0001 */ andi $t4, $v1, 0x0001 ## $t4 = 00000000
|
||||
/* 001B0 80A4E4D0 8C580680 */ lw $t8, 0x0680($v0) ## 00000680
|
||||
/* 001B4 80A4E4D4 3C010080 */ lui $at, 0x0080 ## $at = 00800000
|
||||
/* 001B8 80A4E4D8 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
|
||||
/* 001BC 80A4E4DC 0301C825 */ or $t9, $t8, $at ## $t9 = 00800000
|
||||
/* 001C0 80A4E4E0 001949C0 */ sll $t1, $t9, 7
|
||||
/* 001C4 80A4E4E4 05210053 */ bgez $t1, .L80A4E634
|
||||
/* 001C8 80A4E4E8 AC590680 */ sw $t9, 0x0680($v0) ## 00000680
|
||||
/* 001CC 80A4E4EC 0C042F56 */ jal func_8010BD58
|
||||
/* 001D0 80A4E4F0 24050001 */ addiu $a1, $zero, 0x0001 ## $a1 = 00000001
|
||||
/* 001D4 80A4E4F4 920A019D */ lbu $t2, 0x019D($s0) ## 0000019D
|
||||
/* 001D8 80A4E4F8 354B0001 */ ori $t3, $t2, 0x0001 ## $t3 = 00000001
|
||||
/* 001DC 80A4E4FC 1000004D */ beq $zero, $zero, .L80A4E634
|
||||
/* 001E0 80A4E500 A20B019D */ sb $t3, 0x019D($s0) ## 0000019D
|
||||
.L80A4E504:
|
||||
/* 001E4 80A4E504 1180004B */ beq $t4, $zero, .L80A4E634
|
||||
/* 001E8 80A4E508 3C010001 */ lui $at, 0x0001 ## $at = 00010000
|
||||
/* 001EC 80A4E50C 02211821 */ addu $v1, $s1, $at
|
||||
/* 001F0 80A4E510 946404C6 */ lhu $a0, 0x04C6($v1) ## 000004C6
|
||||
/* 001F4 80A4E514 24010004 */ addiu $at, $zero, 0x0004 ## $at = 00000004
|
||||
/* 001F8 80A4E518 14810040 */ bne $a0, $at, .L80A4E61C
|
||||
/* 001FC 80A4E51C 00000000 */ nop
|
||||
/* 00200 80A4E520 946204CA */ lhu $v0, 0x04CA($v1) ## 000004CA
|
||||
/* 00204 80A4E524 24010006 */ addiu $at, $zero, 0x0006 ## $at = 00000006
|
||||
/* 00208 80A4E528 10410008 */ beq $v0, $at, .L80A4E54C
|
||||
/* 0020C 80A4E52C 24010007 */ addiu $at, $zero, 0x0007 ## $at = 00000007
|
||||
/* 00210 80A4E530 10410006 */ beq $v0, $at, .L80A4E54C
|
||||
/* 00214 80A4E534 24010008 */ addiu $at, $zero, 0x0008 ## $at = 00000008
|
||||
/* 00218 80A4E538 10410004 */ beq $v0, $at, .L80A4E54C
|
||||
/* 0021C 80A4E53C 24010009 */ addiu $at, $zero, 0x0009 ## $at = 00000009
|
||||
/* 00220 80A4E540 10410002 */ beq $v0, $at, .L80A4E54C
|
||||
/* 00224 80A4E544 2401000A */ addiu $at, $zero, 0x000A ## $at = 0000000A
|
||||
/* 00228 80A4E548 14410016 */ bne $v0, $at, .L80A4E5A4
|
||||
.L80A4E54C:
|
||||
/* 0022C 80A4E54C 3C014220 */ lui $at, 0x4220 ## $at = 42200000
|
||||
/* 00230 80A4E550 44815000 */ mtc1 $at, $f10 ## $f10 = 40.00
|
||||
/* 00234 80A4E554 C6080028 */ lwc1 $f8, 0x0028($s0) ## 00000028
|
||||
/* 00238 80A4E558 8E070024 */ lw $a3, 0x0024($s0) ## 00000024
|
||||
/* 0023C 80A4E55C 240D0002 */ addiu $t5, $zero, 0x0002 ## $t5 = 00000002
|
||||
/* 00240 80A4E560 460A4400 */ add.s $f16, $f8, $f10
|
||||
/* 00244 80A4E564 26241C24 */ addiu $a0, $s1, 0x1C24 ## $a0 = 00001C24
|
||||
/* 00248 80A4E568 02202825 */ or $a1, $s1, $zero ## $a1 = 00000000
|
||||
/* 0024C 80A4E56C 24060018 */ addiu $a2, $zero, 0x0018 ## $a2 = 00000018
|
||||
/* 00250 80A4E570 E7B00010 */ swc1 $f16, 0x0010($sp)
|
||||
/* 00254 80A4E574 C612002C */ lwc1 $f18, 0x002C($s0) ## 0000002C
|
||||
/* 00258 80A4E578 AFAD0024 */ sw $t5, 0x0024($sp)
|
||||
/* 0025C 80A4E57C AFA00020 */ sw $zero, 0x0020($sp)
|
||||
/* 00260 80A4E580 AFA0001C */ sw $zero, 0x001C($sp)
|
||||
/* 00264 80A4E584 AFA00018 */ sw $zero, 0x0018($sp)
|
||||
/* 00268 80A4E588 0C00C7D4 */ jal Actor_Spawn
|
||||
## ActorSpawn
|
||||
/* 0026C 80A4E58C E7B20014 */ swc1 $f18, 0x0014($sp)
|
||||
/* 00270 80A4E590 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 00274 80A4E594 0C00BE0A */ jal Audio_PlayActorSound2
|
||||
|
||||
/* 00278 80A4E598 240528E7 */ addiu $a1, $zero, 0x28E7 ## $a1 = 000028E7
|
||||
/* 0027C 80A4E59C 10000018 */ beq $zero, $zero, .L80A4E600
|
||||
/* 00280 80A4E5A0 8605001C */ lh $a1, 0x001C($s0) ## 0000001C
|
||||
.L80A4E5A4:
|
||||
/* 00284 80A4E5A4 2401000B */ addiu $at, $zero, 0x000B ## $at = 0000000B
|
||||
/* 00288 80A4E5A8 14410014 */ bne $v0, $at, .L80A4E5FC
|
||||
/* 0028C 80A4E5AC 3C014220 */ lui $at, 0x4220 ## $at = 42200000
|
||||
/* 00290 80A4E5B0 44813000 */ mtc1 $at, $f6 ## $f6 = 40.00
|
||||
/* 00294 80A4E5B4 C6040028 */ lwc1 $f4, 0x0028($s0) ## 00000028
|
||||
/* 00298 80A4E5B8 8E070024 */ lw $a3, 0x0024($s0) ## 00000024
|
||||
/* 0029C 80A4E5BC 240E0007 */ addiu $t6, $zero, 0x0007 ## $t6 = 00000007
|
||||
/* 002A0 80A4E5C0 46062200 */ add.s $f8, $f4, $f6
|
||||
/* 002A4 80A4E5C4 26241C24 */ addiu $a0, $s1, 0x1C24 ## $a0 = 00001C24
|
||||
/* 002A8 80A4E5C8 02202825 */ or $a1, $s1, $zero ## $a1 = 00000000
|
||||
/* 002AC 80A4E5CC 24060018 */ addiu $a2, $zero, 0x0018 ## $a2 = 00000018
|
||||
/* 002B0 80A4E5D0 E7A80010 */ swc1 $f8, 0x0010($sp)
|
||||
/* 002B4 80A4E5D4 C60A002C */ lwc1 $f10, 0x002C($s0) ## 0000002C
|
||||
/* 002B8 80A4E5D8 AFAE0024 */ sw $t6, 0x0024($sp)
|
||||
/* 002BC 80A4E5DC AFA00020 */ sw $zero, 0x0020($sp)
|
||||
/* 002C0 80A4E5E0 AFA0001C */ sw $zero, 0x001C($sp)
|
||||
/* 002C4 80A4E5E4 AFA00018 */ sw $zero, 0x0018($sp)
|
||||
/* 002C8 80A4E5E8 0C00C7D4 */ jal Actor_Spawn
|
||||
## ActorSpawn
|
||||
/* 002CC 80A4E5EC E7AA0014 */ swc1 $f10, 0x0014($sp)
|
||||
/* 002D0 80A4E5F0 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 002D4 80A4E5F4 0C00BE0A */ jal Audio_PlayActorSound2
|
||||
|
||||
/* 002D8 80A4E5F8 240528E7 */ addiu $a1, $zero, 0x28E7 ## $a1 = 000028E7
|
||||
.L80A4E5FC:
|
||||
/* 002DC 80A4E5FC 8605001C */ lh $a1, 0x001C($s0) ## 0000001C
|
||||
.L80A4E600:
|
||||
/* 002E0 80A4E600 A200019D */ sb $zero, 0x019D($s0) ## 0000019D
|
||||
/* 002E4 80A4E604 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
|
||||
/* 002E8 80A4E608 00052A03 */ sra $a1, $a1, 8
|
||||
/* 002EC 80A4E60C 0C00B2DD */ jal Flags_SetSwitch
|
||||
|
||||
/* 002F0 80A4E610 30A5003F */ andi $a1, $a1, 0x003F ## $a1 = 00000000
|
||||
/* 002F4 80A4E614 10000008 */ beq $zero, $zero, .L80A4E638
|
||||
/* 002F8 80A4E618 8FBF0034 */ lw $ra, 0x0034($sp)
|
||||
.L80A4E61C:
|
||||
/* 002FC 80A4E61C 54A40006 */ bnel $a1, $a0, .L80A4E638
|
||||
/* 00300 80A4E620 8FBF0034 */ lw $ra, 0x0034($sp)
|
||||
/* 00304 80A4E624 8C4F0680 */ lw $t7, 0x0680($v0) ## 00000680
|
||||
/* 00308 80A4E628 3C010080 */ lui $at, 0x0080 ## $at = 00800000
|
||||
/* 0030C 80A4E62C 01E1C025 */ or $t8, $t7, $at ## $t8 = 00800000
|
||||
/* 00310 80A4E630 AC580680 */ sw $t8, 0x0680($v0) ## 00000680
|
||||
.L80A4E634:
|
||||
/* 00314 80A4E634 8FBF0034 */ lw $ra, 0x0034($sp)
|
||||
.L80A4E638:
|
||||
/* 00318 80A4E638 8FB0002C */ lw $s0, 0x002C($sp)
|
||||
/* 0031C 80A4E63C 8FB10030 */ lw $s1, 0x0030($sp)
|
||||
/* 00320 80A4E640 03E00008 */ jr $ra
|
||||
/* 00324 80A4E644 27BD0038 */ addiu $sp, $sp, 0x0038 ## $sp = 00000000
|
|
@ -1,74 +0,0 @@
|
|||
glabel func_80A4E648
|
||||
/* 00328 80A4E648 27BDFFD8 */ addiu $sp, $sp, 0xFFD8 ## $sp = FFFFFFD8
|
||||
/* 0032C 80A4E64C AFBF001C */ sw $ra, 0x001C($sp)
|
||||
/* 00330 80A4E650 AFB00018 */ sw $s0, 0x0018($sp)
|
||||
/* 00334 80A4E654 9082019C */ lbu $v0, 0x019C($a0) ## 0000019C
|
||||
/* 00338 80A4E658 24010001 */ addiu $at, $zero, 0x0001 ## $at = 00000001
|
||||
/* 0033C 80A4E65C 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
|
||||
/* 00340 80A4E660 14410007 */ bne $v0, $at, .L80A4E680
|
||||
/* 00344 80A4E664 00A03025 */ or $a2, $a1, $zero ## $a2 = 00000000
|
||||
/* 00348 80A4E668 00A02025 */ or $a0, $a1, $zero ## $a0 = 00000000
|
||||
/* 0034C 80A4E66C 0C042DC8 */ jal func_8010B720
|
||||
/* 00350 80A4E670 9605010E */ lhu $a1, 0x010E($s0) ## 0000010E
|
||||
/* 00354 80A4E674 240E0002 */ addiu $t6, $zero, 0x0002 ## $t6 = 00000002
|
||||
/* 00358 80A4E678 10000031 */ beq $zero, $zero, .L80A4E740
|
||||
/* 0035C 80A4E67C A20E019C */ sb $t6, 0x019C($s0) ## 0000019C
|
||||
.L80A4E680:
|
||||
/* 00360 80A4E680 24010002 */ addiu $at, $zero, 0x0002 ## $at = 00000002
|
||||
/* 00364 80A4E684 14410006 */ bne $v0, $at, .L80A4E6A0
|
||||
/* 00368 80A4E688 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 0036C 80A4E68C 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 00370 80A4E690 0C2938FB */ jal func_80A4E3EC
|
||||
/* 00374 80A4E694 00C02825 */ or $a1, $a2, $zero ## $a1 = 00000000
|
||||
/* 00378 80A4E698 10000029 */ beq $zero, $zero, .L80A4E740
|
||||
/* 0037C 80A4E69C A202019C */ sb $v0, 0x019C($s0) ## 0000019C
|
||||
.L80A4E6A0:
|
||||
/* 00380 80A4E6A0 00C02825 */ or $a1, $a2, $zero ## $a1 = 00000000
|
||||
/* 00384 80A4E6A4 0C00BC65 */ jal func_8002F194
|
||||
/* 00388 80A4E6A8 AFA6002C */ sw $a2, 0x002C($sp)
|
||||
/* 0038C 80A4E6AC 10400004 */ beq $v0, $zero, .L80A4E6C0
|
||||
/* 00390 80A4E6B0 8FA4002C */ lw $a0, 0x002C($sp)
|
||||
/* 00394 80A4E6B4 240F0002 */ addiu $t7, $zero, 0x0002 ## $t7 = 00000002
|
||||
/* 00398 80A4E6B8 10000021 */ beq $zero, $zero, .L80A4E740
|
||||
/* 0039C 80A4E6BC A20F019C */ sb $t7, 0x019C($s0) ## 0000019C
|
||||
.L80A4E6C0:
|
||||
/* 003A0 80A4E6C0 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000
|
||||
/* 003A4 80A4E6C4 27A60026 */ addiu $a2, $sp, 0x0026 ## $a2 = FFFFFFFE
|
||||
/* 003A8 80A4E6C8 0C00BCDD */ jal func_8002F374
|
||||
/* 003AC 80A4E6CC 27A70024 */ addiu $a3, $sp, 0x0024 ## $a3 = FFFFFFFC
|
||||
/* 003B0 80A4E6D0 87A20026 */ lh $v0, 0x0026($sp)
|
||||
/* 003B4 80A4E6D4 0440001A */ bltz $v0, .L80A4E740
|
||||
/* 003B8 80A4E6D8 28410141 */ slti $at, $v0, 0x0141
|
||||
/* 003BC 80A4E6DC 10200018 */ beq $at, $zero, .L80A4E740
|
||||
/* 003C0 80A4E6E0 87A20024 */ lh $v0, 0x0024($sp)
|
||||
/* 003C4 80A4E6E4 04400016 */ bltz $v0, .L80A4E740
|
||||
/* 003C8 80A4E6E8 284100F1 */ slti $at, $v0, 0x00F1
|
||||
/* 003CC 80A4E6EC 50200015 */ beql $at, $zero, .L80A4E744
|
||||
/* 003D0 80A4E6F0 8FBF001C */ lw $ra, 0x001C($sp)
|
||||
/* 003D4 80A4E6F4 9218019C */ lbu $t8, 0x019C($s0) ## 0000019C
|
||||
/* 003D8 80A4E6F8 24010003 */ addiu $at, $zero, 0x0003 ## $at = 00000003
|
||||
/* 003DC 80A4E6FC 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 003E0 80A4E700 1301000F */ beq $t8, $at, .L80A4E740
|
||||
/* 003E4 80A4E704 8FA5002C */ lw $a1, 0x002C($sp)
|
||||
/* 003E8 80A4E708 0C00BCB3 */ jal func_8002F2CC
|
||||
/* 003EC 80A4E70C 3C064220 */ lui $a2, 0x4220 ## $a2 = 42200000
|
||||
/* 003F0 80A4E710 24010001 */ addiu $at, $zero, 0x0001 ## $at = 00000001
|
||||
/* 003F4 80A4E714 5441000B */ bnel $v0, $at, .L80A4E744
|
||||
/* 003F8 80A4E718 8FBF001C */ lw $ra, 0x001C($sp)
|
||||
/* 003FC 80A4E71C 0C023C20 */ jal func_8008F080
|
||||
/* 00400 80A4E720 8FA4002C */ lw $a0, 0x002C($sp)
|
||||
/* 00404 80A4E724 24010008 */ addiu $at, $zero, 0x0008 ## $at = 00000008
|
||||
/* 00408 80A4E728 14410004 */ bne $v0, $at, .L80A4E73C
|
||||
/* 0040C 80A4E72C 24082053 */ addiu $t0, $zero, 0x2053 ## $t0 = 00002053
|
||||
/* 00410 80A4E730 24192054 */ addiu $t9, $zero, 0x2054 ## $t9 = 00002054
|
||||
/* 00414 80A4E734 10000002 */ beq $zero, $zero, .L80A4E740
|
||||
/* 00418 80A4E738 A619010E */ sh $t9, 0x010E($s0) ## 0000010E
|
||||
.L80A4E73C:
|
||||
/* 0041C 80A4E73C A608010E */ sh $t0, 0x010E($s0) ## 0000010E
|
||||
.L80A4E740:
|
||||
/* 00420 80A4E740 8FBF001C */ lw $ra, 0x001C($sp)
|
||||
.L80A4E744:
|
||||
/* 00424 80A4E744 8FB00018 */ lw $s0, 0x0018($sp)
|
||||
/* 00428 80A4E748 27BD0028 */ addiu $sp, $sp, 0x0028 ## $sp = 00000000
|
||||
/* 0042C 80A4E74C 03E00008 */ jr $ra
|
||||
/* 00430 80A4E750 00000000 */ nop
|
|
@ -1,128 +0,0 @@
|
|||
.late_rodata
|
||||
glabel D_80A4FE90
|
||||
.word 0x3C8EFA35
|
||||
glabel D_80A4FE94
|
||||
.word 0x3C8EFA35
|
||||
|
||||
.text
|
||||
glabel func_80A4E754
|
||||
/* 00434 80A4E754 27BDFFD0 */ addiu $sp, $sp, 0xFFD0 ## $sp = FFFFFFD0
|
||||
/* 00438 80A4E758 AFA40030 */ sw $a0, 0x0030($sp)
|
||||
/* 0043C 80A4E75C C7A4004C */ lwc1 $f4, 0x004C($sp)
|
||||
/* 00440 80A4E760 AFBF001C */ sw $ra, 0x001C($sp)
|
||||
/* 00444 80A4E764 AFA50034 */ sw $a1, 0x0034($sp)
|
||||
/* 00448 80A4E768 AFA60038 */ sw $a2, 0x0038($sp)
|
||||
/* 0044C 80A4E76C AFA7003C */ sw $a3, 0x003C($sp)
|
||||
/* 00450 80A4E770 8CE50000 */ lw $a1, 0x0000($a3) ## 00000000
|
||||
/* 00454 80A4E774 00C02025 */ or $a0, $a2, $zero ## $a0 = 00000000
|
||||
/* 00458 80A4E778 8FA60044 */ lw $a2, 0x0044($sp)
|
||||
/* 0045C 80A4E77C 8FA70048 */ lw $a3, 0x0048($sp)
|
||||
/* 00460 80A4E780 0C01E0C4 */ jal Math_SmoothScaleMaxMinF
|
||||
|
||||
/* 00464 80A4E784 E7A40010 */ swc1 $f4, 0x0010($sp)
|
||||
/* 00468 80A4E788 8FAF0054 */ lw $t7, 0x0054($sp)
|
||||
/* 0046C 80A4E78C E7A0002C */ swc1 $f0, 0x002C($sp)
|
||||
/* 00470 80A4E790 8FA40038 */ lw $a0, 0x0038($sp)
|
||||
/* 00474 80A4E794 15E00059 */ bne $t7, $zero, .L80A4E8FC
|
||||
/* 00478 80A4E798 8FB8003C */ lw $t8, 0x003C($sp)
|
||||
/* 0047C 80A4E79C C7A6004C */ lwc1 $f6, 0x004C($sp)
|
||||
/* 00480 80A4E7A0 8F050000 */ lw $a1, 0x0000($t8) ## 00000000
|
||||
/* 00484 80A4E7A4 8FA60044 */ lw $a2, 0x0044($sp)
|
||||
/* 00488 80A4E7A8 8FA70048 */ lw $a3, 0x0048($sp)
|
||||
/* 0048C 80A4E7AC 0C01E0C4 */ jal Math_SmoothScaleMaxMinF
|
||||
|
||||
/* 00490 80A4E7B0 E7A60010 */ swc1 $f6, 0x0010($sp)
|
||||
/* 00494 80A4E7B4 8FA20050 */ lw $v0, 0x0050($sp)
|
||||
/* 00498 80A4E7B8 8FB90040 */ lw $t9, 0x0040($sp)
|
||||
/* 0049C 80A4E7BC E7A0002C */ swc1 $f0, 0x002C($sp)
|
||||
/* 004A0 80A4E7C0 44825000 */ mtc1 $v0, $f10 ## $f10 = 0.00
|
||||
/* 004A4 80A4E7C4 97280000 */ lhu $t0, 0x0000($t9) ## 00000000
|
||||
/* 004A8 80A4E7C8 3C013F80 */ lui $at, 0x3F80 ## $at = 3F800000
|
||||
/* 004AC 80A4E7CC 46805420 */ cvt.s.w $f16, $f10
|
||||
/* 004B0 80A4E7D0 0102001A */ div $zero, $t0, $v0
|
||||
/* 004B4 80A4E7D4 44814000 */ mtc1 $at, $f8 ## $f8 = 1.00
|
||||
/* 004B8 80A4E7D8 00004810 */ mfhi $t1
|
||||
/* 004BC 80A4E7DC 44899000 */ mtc1 $t1, $f18 ## $f18 = 0.00
|
||||
/* 004C0 80A4E7E0 46104083 */ div.s $f2, $f8, $f16
|
||||
/* 004C4 80A4E7E4 14400002 */ bne $v0, $zero, .L80A4E7F0
|
||||
/* 004C8 80A4E7E8 00000000 */ nop
|
||||
/* 004CC 80A4E7EC 0007000D */ break 7
|
||||
.L80A4E7F0:
|
||||
/* 004D0 80A4E7F0 2401FFFF */ addiu $at, $zero, 0xFFFF ## $at = FFFFFFFF
|
||||
/* 004D4 80A4E7F4 14410004 */ bne $v0, $at, .L80A4E808
|
||||
/* 004D8 80A4E7F8 3C018000 */ lui $at, 0x8000 ## $at = 80000000
|
||||
/* 004DC 80A4E7FC 15010002 */ bne $t0, $at, .L80A4E808
|
||||
/* 004E0 80A4E800 00000000 */ nop
|
||||
/* 004E4 80A4E804 0006000D */ break 6
|
||||
.L80A4E808:
|
||||
/* 004E8 80A4E808 3C0143B4 */ lui $at, 0x43B4 ## $at = 43B40000
|
||||
/* 004EC 80A4E80C 44815000 */ mtc1 $at, $f10 ## $f10 = 360.00
|
||||
/* 004F0 80A4E810 3C0180A5 */ lui $at, %hi(D_80A4FE90) ## $at = 80A50000
|
||||
/* 004F4 80A4E814 C430FE90 */ lwc1 $f16, %lo(D_80A4FE90)($at)
|
||||
/* 004F8 80A4E818 46809120 */ cvt.s.w $f4, $f18
|
||||
/* 004FC 80A4E81C E7A20024 */ swc1 $f2, 0x0024($sp)
|
||||
/* 00500 80A4E820 46022182 */ mul.s $f6, $f4, $f2
|
||||
/* 00504 80A4E824 00000000 */ nop
|
||||
/* 00508 80A4E828 460A3202 */ mul.s $f8, $f6, $f10
|
||||
/* 0050C 80A4E82C 00000000 */ nop
|
||||
/* 00510 80A4E830 46104302 */ mul.s $f12, $f8, $f16
|
||||
/* 00514 80A4E834 0C0400A4 */ jal sinf
|
||||
|
||||
/* 00518 80A4E838 00000000 */ nop
|
||||
/* 0051C 80A4E83C 8FAA0038 */ lw $t2, 0x0038($sp)
|
||||
/* 00520 80A4E840 3C013F80 */ lui $at, 0x3F80 ## $at = 3F800000
|
||||
/* 00524 80A4E844 44813000 */ mtc1 $at, $f6 ## $f6 = 1.00
|
||||
/* 00528 80A4E848 C5520000 */ lwc1 $f18, 0x0000($t2) ## 00000000
|
||||
/* 0052C 80A4E84C 8FAB0030 */ lw $t3, 0x0030($sp)
|
||||
/* 00530 80A4E850 C7A20024 */ lwc1 $f2, 0x0024($sp)
|
||||
/* 00534 80A4E854 46009102 */ mul.s $f4, $f18, $f0
|
||||
/* 00538 80A4E858 46062280 */ add.s $f10, $f4, $f6
|
||||
/* 0053C 80A4E85C E56A01B4 */ swc1 $f10, 0x01B4($t3) ## 000001B4
|
||||
/* 00540 80A4E860 8FAC0040 */ lw $t4, 0x0040($sp)
|
||||
/* 00544 80A4E864 8FAE0050 */ lw $t6, 0x0050($sp)
|
||||
/* 00548 80A4E868 958D0000 */ lhu $t5, 0x0000($t4) ## 00000000
|
||||
/* 0054C 80A4E86C 01AE001A */ div $zero, $t5, $t6
|
||||
/* 00550 80A4E870 00007810 */ mfhi $t7
|
||||
/* 00554 80A4E874 448F4000 */ mtc1 $t7, $f8 ## $f8 = 0.00
|
||||
/* 00558 80A4E878 15C00002 */ bne $t6, $zero, .L80A4E884
|
||||
/* 0055C 80A4E87C 00000000 */ nop
|
||||
/* 00560 80A4E880 0007000D */ break 7
|
||||
.L80A4E884:
|
||||
/* 00564 80A4E884 2401FFFF */ addiu $at, $zero, 0xFFFF ## $at = FFFFFFFF
|
||||
/* 00568 80A4E888 15C10004 */ bne $t6, $at, .L80A4E89C
|
||||
/* 0056C 80A4E88C 3C018000 */ lui $at, 0x8000 ## $at = 80000000
|
||||
/* 00570 80A4E890 15A10002 */ bne $t5, $at, .L80A4E89C
|
||||
/* 00574 80A4E894 00000000 */ nop
|
||||
/* 00578 80A4E898 0006000D */ break 6
|
||||
.L80A4E89C:
|
||||
/* 0057C 80A4E89C 46804420 */ cvt.s.w $f16, $f8
|
||||
/* 00580 80A4E8A0 3C0143B4 */ lui $at, 0x43B4 ## $at = 43B40000
|
||||
/* 00584 80A4E8A4 44812000 */ mtc1 $at, $f4 ## $f4 = 360.00
|
||||
/* 00588 80A4E8A8 3C0180A5 */ lui $at, %hi(D_80A4FE94) ## $at = 80A50000
|
||||
/* 0058C 80A4E8AC C42AFE94 */ lwc1 $f10, %lo(D_80A4FE94)($at)
|
||||
/* 00590 80A4E8B0 46028482 */ mul.s $f18, $f16, $f2
|
||||
/* 00594 80A4E8B4 00000000 */ nop
|
||||
/* 00598 80A4E8B8 46049182 */ mul.s $f6, $f18, $f4
|
||||
/* 0059C 80A4E8BC 00000000 */ nop
|
||||
/* 005A0 80A4E8C0 460A3302 */ mul.s $f12, $f6, $f10
|
||||
/* 005A4 80A4E8C4 0C0400A4 */ jal sinf
|
||||
|
||||
/* 005A8 80A4E8C8 00000000 */ nop
|
||||
/* 005AC 80A4E8CC 8FB80038 */ lw $t8, 0x0038($sp)
|
||||
/* 005B0 80A4E8D0 3C013F80 */ lui $at, 0x3F80 ## $at = 3F800000
|
||||
/* 005B4 80A4E8D4 44814000 */ mtc1 $at, $f8 ## $f8 = 1.00
|
||||
/* 005B8 80A4E8D8 C7100000 */ lwc1 $f16, 0x0000($t8) ## 00000000
|
||||
/* 005BC 80A4E8DC 8FB90030 */ lw $t9, 0x0030($sp)
|
||||
/* 005C0 80A4E8E0 8FA20040 */ lw $v0, 0x0040($sp)
|
||||
/* 005C4 80A4E8E4 46008482 */ mul.s $f18, $f16, $f0
|
||||
/* 005C8 80A4E8E8 46124101 */ sub.s $f4, $f8, $f18
|
||||
/* 005CC 80A4E8EC E72401B8 */ swc1 $f4, 0x01B8($t9) ## 000001B8
|
||||
/* 005D0 80A4E8F0 94480000 */ lhu $t0, 0x0000($v0) ## 00000000
|
||||
/* 005D4 80A4E8F4 25090001 */ addiu $t1, $t0, 0x0001 ## $t1 = 00000001
|
||||
/* 005D8 80A4E8F8 A4490000 */ sh $t1, 0x0000($v0) ## 00000000
|
||||
.L80A4E8FC:
|
||||
/* 005DC 80A4E8FC 8FBF001C */ lw $ra, 0x001C($sp)
|
||||
/* 005E0 80A4E900 C7A0002C */ lwc1 $f0, 0x002C($sp)
|
||||
/* 005E4 80A4E904 27BD0030 */ addiu $sp, $sp, 0x0030 ## $sp = 00000000
|
||||
/* 005E8 80A4E908 03E00008 */ jr $ra
|
||||
/* 005EC 80A4E90C 00000000 */ nop
|
|
@ -1,78 +0,0 @@
|
|||
.late_rodata
|
||||
glabel D_80A4FE98
|
||||
.float 0.8
|
||||
|
||||
glabel D_80A4FE9C
|
||||
.word 0x3BE56042
|
||||
glabel D_80A4FEA0
|
||||
.float 0.001
|
||||
|
||||
.text
|
||||
glabel func_80A4E910
|
||||
/* 005F0 80A4E910 27BDFFC8 */ addiu $sp, $sp, 0xFFC8 ## $sp = FFFFFFC8
|
||||
/* 005F4 80A4E914 AFBF0034 */ sw $ra, 0x0034($sp)
|
||||
/* 005F8 80A4E918 AFB00030 */ sw $s0, 0x0030($sp)
|
||||
/* 005FC 80A4E91C AFA5003C */ sw $a1, 0x003C($sp)
|
||||
/* 00600 80A4E920 9082019F */ lbu $v0, 0x019F($a0) ## 0000019F
|
||||
/* 00604 80A4E924 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
|
||||
/* 00608 80A4E928 24010001 */ addiu $at, $zero, 0x0001 ## $at = 00000001
|
||||
/* 0060C 80A4E92C 1440000C */ bne $v0, $zero, .L80A4E960
|
||||
/* 00610 80A4E930 00000000 */ nop
|
||||
/* 00614 80A4E934 0C00BE0A */ jal Audio_PlayActorSound2
|
||||
|
||||
/* 00618 80A4E938 24053831 */ addiu $a1, $zero, 0x3831 ## $a1 = 00003831
|
||||
/* 0061C 80A4E93C 3C013F00 */ lui $at, 0x3F00 ## $at = 3F000000
|
||||
/* 00620 80A4E940 44812000 */ mtc1 $at, $f4 ## $f4 = 0.50
|
||||
/* 00624 80A4E944 44803000 */ mtc1 $zero, $f6 ## $f6 = 0.00
|
||||
/* 00628 80A4E948 240E0001 */ addiu $t6, $zero, 0x0001 ## $t6 = 00000001
|
||||
/* 0062C 80A4E94C A6000200 */ sh $zero, 0x0200($s0) ## 00000200
|
||||
/* 00630 80A4E950 A20E019F */ sb $t6, 0x019F($s0) ## 0000019F
|
||||
/* 00634 80A4E954 E60401E8 */ swc1 $f4, 0x01E8($s0) ## 000001E8
|
||||
/* 00638 80A4E958 10000026 */ beq $zero, $zero, .L80A4E9F4
|
||||
/* 0063C 80A4E95C E60601EC */ swc1 $f6, 0x01EC($s0) ## 000001EC
|
||||
.L80A4E960:
|
||||
/* 00640 80A4E960 14410024 */ bne $v0, $at, .L80A4E9F4
|
||||
/* 00644 80A4E964 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 00648 80A4E968 3C0180A5 */ lui $at, %hi(D_80A4FE98) ## $at = 80A50000
|
||||
/* 0064C 80A4E96C C428FE98 */ lwc1 $f8, %lo(D_80A4FE98)($at)
|
||||
/* 00650 80A4E970 3C0180A5 */ lui $at, %hi(D_80A4FE9C) ## $at = 80A50000
|
||||
/* 00654 80A4E974 C42AFE9C */ lwc1 $f10, %lo(D_80A4FE9C)($at)
|
||||
/* 00658 80A4E978 3C0180A5 */ lui $at, %hi(D_80A4FEA0) ## $at = 80A50000
|
||||
/* 0065C 80A4E97C C430FEA0 */ lwc1 $f16, %lo(D_80A4FEA0)($at)
|
||||
/* 00660 80A4E980 260F0200 */ addiu $t7, $s0, 0x0200 ## $t7 = 00000200
|
||||
/* 00664 80A4E984 24180007 */ addiu $t8, $zero, 0x0007 ## $t8 = 00000007
|
||||
/* 00668 80A4E988 AFB80020 */ sw $t8, 0x0020($sp)
|
||||
/* 0066C 80A4E98C AFAF0010 */ sw $t7, 0x0010($sp)
|
||||
/* 00670 80A4E990 8FA5003C */ lw $a1, 0x003C($sp)
|
||||
/* 00674 80A4E994 260601E8 */ addiu $a2, $s0, 0x01E8 ## $a2 = 000001E8
|
||||
/* 00678 80A4E998 260701EC */ addiu $a3, $s0, 0x01EC ## $a3 = 000001EC
|
||||
/* 0067C 80A4E99C AFA00024 */ sw $zero, 0x0024($sp)
|
||||
/* 00680 80A4E9A0 E7A80014 */ swc1 $f8, 0x0014($sp)
|
||||
/* 00684 80A4E9A4 E7AA0018 */ swc1 $f10, 0x0018($sp)
|
||||
/* 00688 80A4E9A8 0C2939D5 */ jal func_80A4E754
|
||||
/* 0068C 80A4E9AC E7B0001C */ swc1 $f16, 0x001C($sp)
|
||||
/* 00690 80A4E9B0 44809000 */ mtc1 $zero, $f18 ## $f18 = 0.00
|
||||
/* 00694 80A4E9B4 00000000 */ nop
|
||||
/* 00698 80A4E9B8 46120032 */ c.eq.s $f0, $f18
|
||||
/* 0069C 80A4E9BC 00000000 */ nop
|
||||
/* 006A0 80A4E9C0 4502000D */ bc1fl .L80A4E9F8
|
||||
/* 006A4 80A4E9C4 8FBF0034 */ lw $ra, 0x0034($sp)
|
||||
/* 006A8 80A4E9C8 0C02FF21 */ jal Gameplay_InCsMode
|
||||
/* 006AC 80A4E9CC 8FA4003C */ lw $a0, 0x003C($sp)
|
||||
/* 006B0 80A4E9D0 14400004 */ bne $v0, $zero, .L80A4E9E4
|
||||
/* 006B4 80A4E9D4 8FA4003C */ lw $a0, 0x003C($sp)
|
||||
/* 006B8 80A4E9D8 240571B1 */ addiu $a1, $zero, 0x71B1 ## $a1 = 000071B1
|
||||
/* 006BC 80A4E9DC 0C042DA0 */ jal func_8010B680
|
||||
/* 006C0 80A4E9E0 00003025 */ or $a2, $zero, $zero ## $a2 = 00000000
|
||||
.L80A4E9E4:
|
||||
/* 006C4 80A4E9E4 3C1980A5 */ lui $t9, %hi(func_80A4F734) ## $t9 = 80A50000
|
||||
/* 006C8 80A4E9E8 2739F734 */ addiu $t9, $t9, %lo(func_80A4F734) ## $t9 = 80A4F734
|
||||
/* 006CC 80A4E9EC A200019C */ sb $zero, 0x019C($s0) ## 0000019C
|
||||
/* 006D0 80A4E9F0 AE190198 */ sw $t9, 0x0198($s0) ## 00000198
|
||||
.L80A4E9F4:
|
||||
/* 006D4 80A4E9F4 8FBF0034 */ lw $ra, 0x0034($sp)
|
||||
.L80A4E9F8:
|
||||
/* 006D8 80A4E9F8 8FB00030 */ lw $s0, 0x0030($sp)
|
||||
/* 006DC 80A4E9FC 27BD0038 */ addiu $sp, $sp, 0x0038 ## $sp = 00000000
|
||||
/* 006E0 80A4EA00 03E00008 */ jr $ra
|
||||
/* 006E4 80A4EA04 00000000 */ nop
|
|
@ -1,99 +0,0 @@
|
|||
.late_rodata
|
||||
glabel D_80A4FEA4
|
||||
.float 0.3
|
||||
|
||||
glabel D_80A4FEA8
|
||||
.word 0x43360B61
|
||||
glabel D_80A4FEAC
|
||||
.float 0.8
|
||||
|
||||
glabel D_80A4FEB0
|
||||
.float 0.005
|
||||
|
||||
glabel D_80A4FEB4
|
||||
.float 0.001
|
||||
|
||||
.text
|
||||
glabel func_80A4EA08
|
||||
/* 006E8 80A4EA08 27BDFFD0 */ addiu $sp, $sp, 0xFFD0 ## $sp = FFFFFFD0
|
||||
/* 006EC 80A4EA0C AFBF002C */ sw $ra, 0x002C($sp)
|
||||
/* 006F0 80A4EA10 9082019F */ lbu $v0, 0x019F($a0) ## 0000019F
|
||||
/* 006F4 80A4EA14 24010001 */ addiu $at, $zero, 0x0001 ## $at = 00000001
|
||||
/* 006F8 80A4EA18 1440000E */ bne $v0, $zero, .L80A4EA54
|
||||
/* 006FC 80A4EA1C 00000000 */ nop
|
||||
/* 00700 80A4EA20 24053831 */ addiu $a1, $zero, 0x3831 ## $a1 = 00003831
|
||||
/* 00704 80A4EA24 0C00BE0A */ jal Audio_PlayActorSound2
|
||||
|
||||
/* 00708 80A4EA28 AFA40030 */ sw $a0, 0x0030($sp)
|
||||
/* 0070C 80A4EA2C 8FA40030 */ lw $a0, 0x0030($sp)
|
||||
/* 00710 80A4EA30 3C0180A5 */ lui $at, %hi(D_80A4FEA4) ## $at = 80A50000
|
||||
/* 00714 80A4EA34 C424FEA4 */ lwc1 $f4, %lo(D_80A4FEA4)($at)
|
||||
/* 00718 80A4EA38 44803000 */ mtc1 $zero, $f6 ## $f6 = 0.00
|
||||
/* 0071C 80A4EA3C 240E0001 */ addiu $t6, $zero, 0x0001 ## $t6 = 00000001
|
||||
/* 00720 80A4EA40 A4800200 */ sh $zero, 0x0200($a0) ## 00000200
|
||||
/* 00724 80A4EA44 A08E019F */ sb $t6, 0x019F($a0) ## 0000019F
|
||||
/* 00728 80A4EA48 E48401E8 */ swc1 $f4, 0x01E8($a0) ## 000001E8
|
||||
/* 0072C 80A4EA4C 10000037 */ beq $zero, $zero, .L80A4EB2C
|
||||
/* 00730 80A4EA50 E48601EC */ swc1 $f6, 0x01EC($a0) ## 000001EC
|
||||
.L80A4EA54:
|
||||
/* 00734 80A4EA54 54410036 */ bnel $v0, $at, .L80A4EB30
|
||||
/* 00738 80A4EA58 8FBF002C */ lw $ra, 0x002C($sp)
|
||||
/* 0073C 80A4EA5C 948F0200 */ lhu $t7, 0x0200($a0) ## 00000200
|
||||
/* 00740 80A4EA60 3C013E00 */ lui $at, 0x3E00 ## $at = 3E000000
|
||||
/* 00744 80A4EA64 44818000 */ mtc1 $at, $f16 ## $f16 = 0.12
|
||||
/* 00748 80A4EA68 05E10004 */ bgez $t7, .L80A4EA7C
|
||||
/* 0074C 80A4EA6C 31F80007 */ andi $t8, $t7, 0x0007 ## $t8 = 00000000
|
||||
/* 00750 80A4EA70 13000002 */ beq $t8, $zero, .L80A4EA7C
|
||||
/* 00754 80A4EA74 00000000 */ nop
|
||||
/* 00758 80A4EA78 2718FFF8 */ addiu $t8, $t8, 0xFFF8 ## $t8 = FFFFFFF8
|
||||
.L80A4EA7C:
|
||||
/* 0075C 80A4EA7C 44984000 */ mtc1 $t8, $f8 ## $f8 = NaN
|
||||
/* 00760 80A4EA80 3C0143B4 */ lui $at, 0x43B4 ## $at = 43B40000
|
||||
/* 00764 80A4EA84 44812000 */ mtc1 $at, $f4 ## $f4 = 360.00
|
||||
/* 00768 80A4EA88 468042A0 */ cvt.s.w $f10, $f8
|
||||
/* 0076C 80A4EA8C 3C0180A5 */ lui $at, %hi(D_80A4FEA8) ## $at = 80A50000
|
||||
/* 00770 80A4EA90 C428FEA8 */ lwc1 $f8, %lo(D_80A4FEA8)($at)
|
||||
/* 00774 80A4EA94 3C0180A5 */ lui $at, %hi(D_80A4FEAC) ## $at = 80A50000
|
||||
/* 00778 80A4EA98 248B0200 */ addiu $t3, $a0, 0x0200 ## $t3 = 00000200
|
||||
/* 0077C 80A4EA9C 240C0007 */ addiu $t4, $zero, 0x0007 ## $t4 = 00000007
|
||||
/* 00780 80A4EAA0 46105482 */ mul.s $f18, $f10, $f16
|
||||
/* 00784 80A4EAA4 248601E8 */ addiu $a2, $a0, 0x01E8 ## $a2 = 000001E8
|
||||
/* 00788 80A4EAA8 248701EC */ addiu $a3, $a0, 0x01EC ## $a3 = 000001EC
|
||||
/* 0078C 80A4EAAC 46049182 */ mul.s $f6, $f18, $f4
|
||||
/* 00790 80A4EAB0 00000000 */ nop
|
||||
/* 00794 80A4EAB4 46083282 */ mul.s $f10, $f6, $f8
|
||||
/* 00798 80A4EAB8 4600540D */ trunc.w.s $f16, $f10
|
||||
/* 0079C 80A4EABC 44088000 */ mfc1 $t0, $f16
|
||||
/* 007A0 80A4EAC0 00000000 */ nop
|
||||
/* 007A4 80A4EAC4 A48801A4 */ sh $t0, 0x01A4($a0) ## 000001A4
|
||||
/* 007A8 80A4EAC8 848901A4 */ lh $t1, 0x01A4($a0) ## 000001A4
|
||||
/* 007AC 80A4EACC 00095023 */ subu $t2, $zero, $t1
|
||||
/* 007B0 80A4EAD0 A48A01AA */ sh $t2, 0x01AA($a0) ## 000001AA
|
||||
/* 007B4 80A4EAD4 C432FEAC */ lwc1 $f18, %lo(D_80A4FEAC)($at)
|
||||
/* 007B8 80A4EAD8 3C0180A5 */ lui $at, %hi(D_80A4FEB0) ## $at = 80A50000
|
||||
/* 007BC 80A4EADC C424FEB0 */ lwc1 $f4, %lo(D_80A4FEB0)($at)
|
||||
/* 007C0 80A4EAE0 3C0180A5 */ lui $at, %hi(D_80A4FEB4) ## $at = 80A50000
|
||||
/* 007C4 80A4EAE4 C426FEB4 */ lwc1 $f6, %lo(D_80A4FEB4)($at)
|
||||
/* 007C8 80A4EAE8 AFA40030 */ sw $a0, 0x0030($sp)
|
||||
/* 007CC 80A4EAEC AFA00024 */ sw $zero, 0x0024($sp)
|
||||
/* 007D0 80A4EAF0 AFAC0020 */ sw $t4, 0x0020($sp)
|
||||
/* 007D4 80A4EAF4 AFAB0010 */ sw $t3, 0x0010($sp)
|
||||
/* 007D8 80A4EAF8 E7B20014 */ swc1 $f18, 0x0014($sp)
|
||||
/* 007DC 80A4EAFC E7A40018 */ swc1 $f4, 0x0018($sp)
|
||||
/* 007E0 80A4EB00 0C2939D5 */ jal func_80A4E754
|
||||
/* 007E4 80A4EB04 E7A6001C */ swc1 $f6, 0x001C($sp)
|
||||
/* 007E8 80A4EB08 44804000 */ mtc1 $zero, $f8 ## $f8 = 0.00
|
||||
/* 007EC 80A4EB0C 3C0D80A5 */ lui $t5, %hi(func_80A4F734) ## $t5 = 80A50000
|
||||
/* 007F0 80A4EB10 8FA40030 */ lw $a0, 0x0030($sp)
|
||||
/* 007F4 80A4EB14 46080032 */ c.eq.s $f0, $f8
|
||||
/* 007F8 80A4EB18 25ADF734 */ addiu $t5, $t5, %lo(func_80A4F734) ## $t5 = 80A4F734
|
||||
/* 007FC 80A4EB1C 45020004 */ bc1fl .L80A4EB30
|
||||
/* 00800 80A4EB20 8FBF002C */ lw $ra, 0x002C($sp)
|
||||
/* 00804 80A4EB24 A080019C */ sb $zero, 0x019C($a0) ## 0000019C
|
||||
/* 00808 80A4EB28 AC8D0198 */ sw $t5, 0x0198($a0) ## 00000198
|
||||
.L80A4EB2C:
|
||||
/* 0080C 80A4EB2C 8FBF002C */ lw $ra, 0x002C($sp)
|
||||
.L80A4EB30:
|
||||
/* 00810 80A4EB30 27BD0030 */ addiu $sp, $sp, 0x0030 ## $sp = 00000000
|
||||
/* 00814 80A4EB34 03E00008 */ jr $ra
|
||||
/* 00818 80A4EB38 00000000 */ nop
|
|
@ -1,153 +0,0 @@
|
|||
.late_rodata
|
||||
glabel D_80A4FEB8
|
||||
.float -0.8
|
||||
|
||||
glabel D_80A4FEBC
|
||||
.float 0.001
|
||||
|
||||
glabel D_80A4FEC0
|
||||
.float 0.001
|
||||
|
||||
glabel D_80A4FEC4
|
||||
.float 0.03
|
||||
|
||||
glabel D_80A4FEC8
|
||||
.float 0.001
|
||||
|
||||
.text
|
||||
glabel func_80A4EB3C
|
||||
/* 0081C 80A4EB3C 27BDFFC8 */ addiu $sp, $sp, 0xFFC8 ## $sp = FFFFFFC8
|
||||
/* 00820 80A4EB40 AFBF0034 */ sw $ra, 0x0034($sp)
|
||||
/* 00824 80A4EB44 AFB00030 */ sw $s0, 0x0030($sp)
|
||||
/* 00828 80A4EB48 9083019F */ lbu $v1, 0x019F($a0) ## 0000019F
|
||||
/* 0082C 80A4EB4C 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
|
||||
/* 00830 80A4EB50 24010001 */ addiu $at, $zero, 0x0001 ## $at = 00000001
|
||||
/* 00834 80A4EB54 1460000C */ bne $v1, $zero, .L80A4EB88
|
||||
/* 00838 80A4EB58 00601025 */ or $v0, $v1, $zero ## $v0 = 00000000
|
||||
/* 0083C 80A4EB5C 3C013F80 */ lui $at, 0x3F80 ## $at = 3F800000
|
||||
/* 00840 80A4EB60 44813000 */ mtc1 $at, $f6 ## $f6 = 1.00
|
||||
/* 00844 80A4EB64 C48401B8 */ lwc1 $f4, 0x01B8($a0) ## 000001B8
|
||||
/* 00848 80A4EB68 3C0180A5 */ lui $at, %hi(D_80A4FEB8) ## $at = 80A50000
|
||||
/* 0084C 80A4EB6C 246E0001 */ addiu $t6, $v1, 0x0001 ## $t6 = 00000001
|
||||
/* 00850 80A4EB70 46062201 */ sub.s $f8, $f4, $f6
|
||||
/* 00854 80A4EB74 E48801E8 */ swc1 $f8, 0x01E8($a0) ## 000001E8
|
||||
/* 00858 80A4EB78 C42AFEB8 */ lwc1 $f10, %lo(D_80A4FEB8)($at)
|
||||
/* 0085C 80A4EB7C A08E019F */ sb $t6, 0x019F($a0) ## 0000019F
|
||||
/* 00860 80A4EB80 10000067 */ beq $zero, $zero, .L80A4ED20
|
||||
/* 00864 80A4EB84 E48A01EC */ swc1 $f10, 0x01EC($a0) ## 000001EC
|
||||
.L80A4EB88:
|
||||
/* 00868 80A4EB88 14410016 */ bne $v0, $at, .L80A4EBE4
|
||||
/* 0086C 80A4EB8C 260401E8 */ addiu $a0, $s0, 0x01E8 ## $a0 = 000001E8
|
||||
/* 00870 80A4EB90 3C0180A5 */ lui $at, %hi(D_80A4FEBC) ## $at = 80A50000
|
||||
/* 00874 80A4EB94 C430FEBC */ lwc1 $f16, %lo(D_80A4FEBC)($at)
|
||||
/* 00878 80A4EB98 8E0501EC */ lw $a1, 0x01EC($s0) ## 000001EC
|
||||
/* 0087C 80A4EB9C 3C073ECC */ lui $a3, 0x3ECC ## $a3 = 3ECC0000
|
||||
/* 00880 80A4EBA0 34E7CCCD */ ori $a3, $a3, 0xCCCD ## $a3 = 3ECCCCCD
|
||||
/* 00884 80A4EBA4 3C063F80 */ lui $a2, 0x3F80 ## $a2 = 3F800000
|
||||
/* 00888 80A4EBA8 0C01E0C4 */ jal Math_SmoothScaleMaxMinF
|
||||
|
||||
/* 0088C 80A4EBAC E7B00010 */ swc1 $f16, 0x0010($sp)
|
||||
/* 00890 80A4EBB0 44801000 */ mtc1 $zero, $f2 ## $f2 = 0.00
|
||||
/* 00894 80A4EBB4 3C013F80 */ lui $at, 0x3F80 ## $at = 3F800000
|
||||
/* 00898 80A4EBB8 44812000 */ mtc1 $at, $f4 ## $f4 = 1.00
|
||||
/* 0089C 80A4EBBC C61201E8 */ lwc1 $f18, 0x01E8($s0) ## 000001E8
|
||||
/* 008A0 80A4EBC0 46020032 */ c.eq.s $f0, $f2
|
||||
/* 008A4 80A4EBC4 46049180 */ add.s $f6, $f18, $f4
|
||||
/* 008A8 80A4EBC8 45000055 */ bc1f .L80A4ED20
|
||||
/* 008AC 80A4EBCC E60601B8 */ swc1 $f6, 0x01B8($s0) ## 000001B8
|
||||
/* 008B0 80A4EBD0 920F019F */ lbu $t7, 0x019F($s0) ## 0000019F
|
||||
/* 008B4 80A4EBD4 A6000200 */ sh $zero, 0x0200($s0) ## 00000200
|
||||
/* 008B8 80A4EBD8 25F80001 */ addiu $t8, $t7, 0x0001 ## $t8 = 00000001
|
||||
/* 008BC 80A4EBDC 10000050 */ beq $zero, $zero, .L80A4ED20
|
||||
/* 008C0 80A4EBE0 A218019F */ sb $t8, 0x019F($s0) ## 0000019F
|
||||
.L80A4EBE4:
|
||||
/* 008C4 80A4EBE4 24010002 */ addiu $at, $zero, 0x0002 ## $at = 00000002
|
||||
/* 008C8 80A4EBE8 54410013 */ bnel $v0, $at, .L80A4EC38
|
||||
/* 008CC 80A4EBEC 24010003 */ addiu $at, $zero, 0x0003 ## $at = 00000003
|
||||
/* 008D0 80A4EBF0 96190200 */ lhu $t9, 0x0200($s0) ## 00000200
|
||||
/* 008D4 80A4EBF4 27280001 */ addiu $t0, $t9, 0x0001 ## $t0 = 00000001
|
||||
/* 008D8 80A4EBF8 3109FFFF */ andi $t1, $t0, 0xFFFF ## $t1 = 00000001
|
||||
/* 008DC 80A4EBFC 29210064 */ slti $at, $t1, 0x0064
|
||||
/* 008E0 80A4EC00 14200047 */ bne $at, $zero, .L80A4ED20
|
||||
/* 008E4 80A4EC04 A6080200 */ sh $t0, 0x0200($s0) ## 00000200
|
||||
/* 008E8 80A4EC08 3C013F80 */ lui $at, 0x3F80 ## $at = 3F800000
|
||||
/* 008EC 80A4EC0C 44815000 */ mtc1 $at, $f10 ## $f10 = 1.00
|
||||
/* 008F0 80A4EC10 C60801B8 */ lwc1 $f8, 0x01B8($s0) ## 000001B8
|
||||
/* 008F4 80A4EC14 920A019F */ lbu $t2, 0x019F($s0) ## 0000019F
|
||||
/* 008F8 80A4EC18 44801000 */ mtc1 $zero, $f2 ## $f2 = 0.00
|
||||
/* 008FC 80A4EC1C 460A4401 */ sub.s $f16, $f8, $f10
|
||||
/* 00900 80A4EC20 254B0001 */ addiu $t3, $t2, 0x0001 ## $t3 = 00000001
|
||||
/* 00904 80A4EC24 A20B019F */ sb $t3, 0x019F($s0) ## 0000019F
|
||||
/* 00908 80A4EC28 E60201EC */ swc1 $f2, 0x01EC($s0) ## 000001EC
|
||||
/* 0090C 80A4EC2C 1000003C */ beq $zero, $zero, .L80A4ED20
|
||||
/* 00910 80A4EC30 E61001E8 */ swc1 $f16, 0x01E8($s0) ## 000001E8
|
||||
/* 00914 80A4EC34 24010003 */ addiu $at, $zero, 0x0003 ## $at = 00000003
|
||||
.L80A4EC38:
|
||||
/* 00918 80A4EC38 1441001C */ bne $v0, $at, .L80A4ECAC
|
||||
/* 0091C 80A4EC3C 260401E8 */ addiu $a0, $s0, 0x01E8 ## $a0 = 000001E8
|
||||
/* 00920 80A4EC40 3C0180A5 */ lui $at, %hi(D_80A4FEC0) ## $at = 80A50000
|
||||
/* 00924 80A4EC44 C432FEC0 */ lwc1 $f18, %lo(D_80A4FEC0)($at)
|
||||
/* 00928 80A4EC48 8E0501EC */ lw $a1, 0x01EC($s0) ## 000001EC
|
||||
/* 0092C 80A4EC4C 3C063F80 */ lui $a2, 0x3F80 ## $a2 = 3F800000
|
||||
/* 00930 80A4EC50 3C073F00 */ lui $a3, 0x3F00 ## $a3 = 3F000000
|
||||
/* 00934 80A4EC54 0C01E0C4 */ jal Math_SmoothScaleMaxMinF
|
||||
|
||||
/* 00938 80A4EC58 E7B20010 */ swc1 $f18, 0x0010($sp)
|
||||
/* 0093C 80A4EC5C 44801000 */ mtc1 $zero, $f2 ## $f2 = 0.00
|
||||
/* 00940 80A4EC60 3C013F80 */ lui $at, 0x3F80 ## $at = 3F800000
|
||||
/* 00944 80A4EC64 44813000 */ mtc1 $at, $f6 ## $f6 = 1.00
|
||||
/* 00948 80A4EC68 C60401E8 */ lwc1 $f4, 0x01E8($s0) ## 000001E8
|
||||
/* 0094C 80A4EC6C 46020032 */ c.eq.s $f0, $f2
|
||||
/* 00950 80A4EC70 3C013F00 */ lui $at, 0x3F00 ## $at = 3F000000
|
||||
/* 00954 80A4EC74 46062200 */ add.s $f8, $f4, $f6
|
||||
/* 00958 80A4EC78 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 0095C 80A4EC7C 24053831 */ addiu $a1, $zero, 0x3831 ## $a1 = 00003831
|
||||
/* 00960 80A4EC80 45000027 */ bc1f .L80A4ED20
|
||||
/* 00964 80A4EC84 E60801B8 */ swc1 $f8, 0x01B8($s0) ## 000001B8
|
||||
/* 00968 80A4EC88 44815000 */ mtc1 $at, $f10 ## $f10 = 0.50
|
||||
/* 0096C 80A4EC8C E60201EC */ swc1 $f2, 0x01EC($s0) ## 000001EC
|
||||
/* 00970 80A4EC90 A6000200 */ sh $zero, 0x0200($s0) ## 00000200
|
||||
/* 00974 80A4EC94 0C00BE0A */ jal Audio_PlayActorSound2
|
||||
|
||||
/* 00978 80A4EC98 E60A01E8 */ swc1 $f10, 0x01E8($s0) ## 000001E8
|
||||
/* 0097C 80A4EC9C 920C019F */ lbu $t4, 0x019F($s0) ## 0000019F
|
||||
/* 00980 80A4ECA0 258D0001 */ addiu $t5, $t4, 0x0001 ## $t5 = 00000001
|
||||
/* 00984 80A4ECA4 1000001E */ beq $zero, $zero, .L80A4ED20
|
||||
/* 00988 80A4ECA8 A20D019F */ sb $t5, 0x019F($s0) ## 0000019F
|
||||
.L80A4ECAC:
|
||||
/* 0098C 80A4ECAC 24010004 */ addiu $at, $zero, 0x0004 ## $at = 00000004
|
||||
/* 00990 80A4ECB0 1441001B */ bne $v0, $at, .L80A4ED20
|
||||
/* 00994 80A4ECB4 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 00998 80A4ECB8 3C013F80 */ lui $at, 0x3F80 ## $at = 3F800000
|
||||
/* 0099C 80A4ECBC 44818000 */ mtc1 $at, $f16 ## $f16 = 1.00
|
||||
/* 009A0 80A4ECC0 3C0180A5 */ lui $at, %hi(D_80A4FEC4) ## $at = 80A50000
|
||||
/* 009A4 80A4ECC4 C432FEC4 */ lwc1 $f18, %lo(D_80A4FEC4)($at)
|
||||
/* 009A8 80A4ECC8 3C0180A5 */ lui $at, %hi(D_80A4FEC8) ## $at = 80A50000
|
||||
/* 009AC 80A4ECCC C424FEC8 */ lwc1 $f4, %lo(D_80A4FEC8)($at)
|
||||
/* 009B0 80A4ECD0 260E0200 */ addiu $t6, $s0, 0x0200 ## $t6 = 00000200
|
||||
/* 009B4 80A4ECD4 240F0005 */ addiu $t7, $zero, 0x0005 ## $t7 = 00000005
|
||||
/* 009B8 80A4ECD8 AFAF0020 */ sw $t7, 0x0020($sp)
|
||||
/* 009BC 80A4ECDC AFAE0010 */ sw $t6, 0x0010($sp)
|
||||
/* 009C0 80A4ECE0 260601E8 */ addiu $a2, $s0, 0x01E8 ## $a2 = 000001E8
|
||||
/* 009C4 80A4ECE4 260701EC */ addiu $a3, $s0, 0x01EC ## $a3 = 000001EC
|
||||
/* 009C8 80A4ECE8 AFA00024 */ sw $zero, 0x0024($sp)
|
||||
/* 009CC 80A4ECEC E7B00014 */ swc1 $f16, 0x0014($sp)
|
||||
/* 009D0 80A4ECF0 E7B20018 */ swc1 $f18, 0x0018($sp)
|
||||
/* 009D4 80A4ECF4 0C2939D5 */ jal func_80A4E754
|
||||
/* 009D8 80A4ECF8 E7A4001C */ swc1 $f4, 0x001C($sp)
|
||||
/* 009DC 80A4ECFC 44801000 */ mtc1 $zero, $f2 ## $f2 = 0.00
|
||||
/* 009E0 80A4ED00 3C1880A5 */ lui $t8, %hi(func_80A4F734) ## $t8 = 80A50000
|
||||
/* 009E4 80A4ED04 2718F734 */ addiu $t8, $t8, %lo(func_80A4F734) ## $t8 = 80A4F734
|
||||
/* 009E8 80A4ED08 46020032 */ c.eq.s $f0, $f2
|
||||
/* 009EC 80A4ED0C 00000000 */ nop
|
||||
/* 009F0 80A4ED10 45020004 */ bc1fl .L80A4ED24
|
||||
/* 009F4 80A4ED14 8FBF0034 */ lw $ra, 0x0034($sp)
|
||||
/* 009F8 80A4ED18 A200019C */ sb $zero, 0x019C($s0) ## 0000019C
|
||||
/* 009FC 80A4ED1C AE180198 */ sw $t8, 0x0198($s0) ## 00000198
|
||||
.L80A4ED20:
|
||||
/* 00A00 80A4ED20 8FBF0034 */ lw $ra, 0x0034($sp)
|
||||
.L80A4ED24:
|
||||
/* 00A04 80A4ED24 8FB00030 */ lw $s0, 0x0030($sp)
|
||||
/* 00A08 80A4ED28 27BD0038 */ addiu $sp, $sp, 0x0038 ## $sp = 00000000
|
||||
/* 00A0C 80A4ED2C 03E00008 */ jr $ra
|
||||
/* 00A10 80A4ED30 00000000 */ nop
|
|
@ -1,292 +0,0 @@
|
|||
.late_rodata
|
||||
glabel D_80A4FECC
|
||||
.word 0x463B8000
|
||||
glabel D_80A4FED0
|
||||
.float 0.3
|
||||
|
||||
glabel D_80A4FED4
|
||||
.word 0xC63B8000
|
||||
|
||||
.text
|
||||
glabel func_80A4ED34
|
||||
/* 00A14 80A4ED34 27BDFF88 */ addiu $sp, $sp, 0xFF88 ## $sp = FFFFFF88
|
||||
/* 00A18 80A4ED38 AFBF003C */ sw $ra, 0x003C($sp)
|
||||
/* 00A1C 80A4ED3C AFB10038 */ sw $s1, 0x0038($sp)
|
||||
/* 00A20 80A4ED40 AFB00034 */ sw $s0, 0x0034($sp)
|
||||
/* 00A24 80A4ED44 F7B40028 */ sdc1 $f20, 0x0028($sp)
|
||||
/* 00A28 80A4ED48 AFA5007C */ sw $a1, 0x007C($sp)
|
||||
/* 00A2C 80A4ED4C 9083019F */ lbu $v1, 0x019F($a0) ## 0000019F
|
||||
/* 00A30 80A4ED50 00808825 */ or $s1, $a0, $zero ## $s1 = 00000000
|
||||
/* 00A34 80A4ED54 24010001 */ addiu $at, $zero, 0x0001 ## $at = 00000001
|
||||
/* 00A38 80A4ED58 14600006 */ bne $v1, $zero, .L80A4ED74
|
||||
/* 00A3C 80A4ED5C 00601025 */ or $v0, $v1, $zero ## $v0 = 00000000
|
||||
/* 00A40 80A4ED60 246F0001 */ addiu $t7, $v1, 0x0001 ## $t7 = 00000001
|
||||
/* 00A44 80A4ED64 240E0028 */ addiu $t6, $zero, 0x0028 ## $t6 = 00000028
|
||||
/* 00A48 80A4ED68 A48E0200 */ sh $t6, 0x0200($a0) ## 00000200
|
||||
/* 00A4C 80A4ED6C A08F019F */ sb $t7, 0x019F($a0) ## 0000019F
|
||||
/* 00A50 80A4ED70 31E200FF */ andi $v0, $t7, 0x00FF ## $v0 = 00000001
|
||||
.L80A4ED74:
|
||||
/* 00A54 80A4ED74 1441000E */ bne $v0, $at, .L80A4EDB0
|
||||
/* 00A58 80A4ED78 263001E4 */ addiu $s0, $s1, 0x01E4 ## $s0 = 000001E4
|
||||
/* 00A5C 80A4ED7C 96220200 */ lhu $v0, 0x0200($s1) ## 00000200
|
||||
/* 00A60 80A4ED80 24190050 */ addiu $t9, $zero, 0x0050 ## $t9 = 00000050
|
||||
/* 00A64 80A4ED84 2C430001 */ sltiu $v1, $v0, 0x0001
|
||||
/* 00A68 80A4ED88 2458FFFF */ addiu $t8, $v0, 0xFFFF ## $t8 = 00000000
|
||||
/* 00A6C 80A4ED8C 10600008 */ beq $v1, $zero, .L80A4EDB0
|
||||
/* 00A70 80A4ED90 A6380200 */ sh $t8, 0x0200($s1) ## 00000200
|
||||
/* 00A74 80A4ED94 9228019E */ lbu $t0, 0x019E($s1) ## 0000019E
|
||||
/* 00A78 80A4ED98 922A019F */ lbu $t2, 0x019F($s1) ## 0000019F
|
||||
/* 00A7C 80A4ED9C A6390200 */ sh $t9, 0x0200($s1) ## 00000200
|
||||
/* 00A80 80A4EDA0 35090004 */ ori $t1, $t0, 0x0004 ## $t1 = 00000004
|
||||
/* 00A84 80A4EDA4 254B0001 */ addiu $t3, $t2, 0x0001 ## $t3 = 00000001
|
||||
/* 00A88 80A4EDA8 A229019E */ sb $t1, 0x019E($s1) ## 0000019E
|
||||
/* 00A8C 80A4EDAC A22B019F */ sb $t3, 0x019F($s1) ## 0000019F
|
||||
.L80A4EDB0:
|
||||
/* 00A90 80A4EDB0 922C019F */ lbu $t4, 0x019F($s1) ## 0000019F
|
||||
/* 00A94 80A4EDB4 24010002 */ addiu $at, $zero, 0x0002 ## $at = 00000002
|
||||
/* 00A98 80A4EDB8 02002025 */ or $a0, $s0, $zero ## $a0 = 000001E4
|
||||
/* 00A9C 80A4EDBC 55810048 */ bnel $t4, $at, .L80A4EEE0
|
||||
/* 00AA0 80A4EDC0 922E019F */ lbu $t6, 0x019F($s1) ## 0000019F
|
||||
/* 00AA4 80A4EDC4 962D0200 */ lhu $t5, 0x0200($s1) ## 00000200
|
||||
/* 00AA8 80A4EDC8 3C0580A5 */ lui $a1, %hi(D_80A4FE04) ## $a1 = 80A50000
|
||||
/* 00AAC 80A4EDCC 24A5FE04 */ addiu $a1, $a1, %lo(D_80A4FE04) ## $a1 = 80A4FE04
|
||||
/* 00AB0 80A4EDD0 25AEFFFF */ addiu $t6, $t5, 0xFFFF ## $t6 = FFFFFFFF
|
||||
/* 00AB4 80A4EDD4 0C01E218 */ jal Color_RGBA8_Copy
|
||||
|
||||
/* 00AB8 80A4EDD8 A62E0200 */ sh $t6, 0x0200($s1) ## 00000200
|
||||
/* 00ABC 80A4EDDC 96220200 */ lhu $v0, 0x0200($s1) ## 00000200
|
||||
/* 00AC0 80A4EDE0 28410050 */ slti $at, $v0, 0x0050
|
||||
/* 00AC4 80A4EDE4 10200034 */ beq $at, $zero, .L80A4EEB8
|
||||
/* 00AC8 80A4EDE8 24010014 */ addiu $at, $zero, 0x0014 ## $at = 00000014
|
||||
/* 00ACC 80A4EDEC 0041001A */ div $zero, $v0, $at
|
||||
/* 00AD0 80A4EDF0 00007810 */ mfhi $t7
|
||||
/* 00AD4 80A4EDF4 29E10008 */ slti $at, $t7, 0x0008
|
||||
/* 00AD8 80A4EDF8 1020002F */ beq $at, $zero, .L80A4EEB8
|
||||
/* 00ADC 80A4EDFC 28410014 */ slti $at, $v0, 0x0014
|
||||
/* 00AE0 80A4EE00 10200018 */ beq $at, $zero, .L80A4EE64
|
||||
/* 00AE4 80A4EE04 02002025 */ or $a0, $s0, $zero ## $a0 = 000001E4
|
||||
/* 00AE8 80A4EE08 3C0580A5 */ lui $a1, %hi(D_80A4FDFC) ## $a1 = 80A50000
|
||||
/* 00AEC 80A4EE0C 24A5FDFC */ addiu $a1, $a1, %lo(D_80A4FDFC) ## $a1 = 80A4FDFC
|
||||
/* 00AF0 80A4EE10 0C01E218 */ jal Color_RGBA8_Copy
|
||||
|
||||
/* 00AF4 80A4EE14 02002025 */ or $a0, $s0, $zero ## $a0 = 000001E4
|
||||
/* 00AF8 80A4EE18 96220200 */ lhu $v0, 0x0200($s1) ## 00000200
|
||||
/* 00AFC 80A4EE1C 24010014 */ addiu $at, $zero, 0x0014 ## $at = 00000014
|
||||
/* 00B00 80A4EE20 3C078013 */ lui $a3, %hi(D_801333E0)
|
||||
/* 00B04 80A4EE24 0041001A */ div $zero, $v0, $at
|
||||
/* 00B08 80A4EE28 0000C010 */ mfhi $t8
|
||||
/* 00B0C 80A4EE2C 24010007 */ addiu $at, $zero, 0x0007 ## $at = 00000007
|
||||
/* 00B10 80A4EE30 17010021 */ bne $t8, $at, .L80A4EEB8
|
||||
/* 00B14 80A4EE34 24E733E0 */ addiu $a3, %lo(D_801333E0)
|
||||
/* 00B18 80A4EE38 3C198013 */ lui $t9, %hi(D_801333E8)
|
||||
/* 00B1C 80A4EE3C 273933E8 */ addiu $t9, %lo(D_801333E8)
|
||||
/* 00B20 80A4EE40 3C058013 */ lui $a1, %hi(D_801333D4)
|
||||
/* 00B24 80A4EE44 24A533D4 */ addiu $a1, %lo(D_801333D4)
|
||||
/* 00B28 80A4EE48 AFB90014 */ sw $t9, 0x0014($sp)
|
||||
/* 00B2C 80A4EE4C 2404481A */ addiu $a0, $zero, 0x481A ## $a0 = 0000481A
|
||||
/* 00B30 80A4EE50 24060004 */ addiu $a2, $zero, 0x0004 ## $a2 = 00000004
|
||||
/* 00B34 80A4EE54 0C03DCE3 */ jal Audio_PlaySoundGeneral
|
||||
|
||||
/* 00B38 80A4EE58 AFA70010 */ sw $a3, 0x0010($sp)
|
||||
/* 00B3C 80A4EE5C 10000016 */ beq $zero, $zero, .L80A4EEB8
|
||||
/* 00B40 80A4EE60 96220200 */ lhu $v0, 0x0200($s1) ## 00000200
|
||||
.L80A4EE64:
|
||||
/* 00B44 80A4EE64 3C0580A5 */ lui $a1, %hi(D_80A4FE00) ## $a1 = 80A50000
|
||||
/* 00B48 80A4EE68 0C01E218 */ jal Color_RGBA8_Copy
|
||||
|
||||
/* 00B4C 80A4EE6C 24A5FE00 */ addiu $a1, $a1, %lo(D_80A4FE00) ## $a1 = 80A4FE00
|
||||
/* 00B50 80A4EE70 96220200 */ lhu $v0, 0x0200($s1) ## 00000200
|
||||
/* 00B54 80A4EE74 24010014 */ addiu $at, $zero, 0x0014 ## $at = 00000014
|
||||
/* 00B58 80A4EE78 3C078013 */ lui $a3, %hi(D_801333E0)
|
||||
/* 00B5C 80A4EE7C 0041001A */ div $zero, $v0, $at
|
||||
/* 00B60 80A4EE80 00004010 */ mfhi $t0
|
||||
/* 00B64 80A4EE84 24010007 */ addiu $at, $zero, 0x0007 ## $at = 00000007
|
||||
/* 00B68 80A4EE88 1501000B */ bne $t0, $at, .L80A4EEB8
|
||||
/* 00B6C 80A4EE8C 24E733E0 */ addiu $a3, %lo(D_801333E0)
|
||||
/* 00B70 80A4EE90 3C098013 */ lui $t1, %hi(D_801333E8)
|
||||
/* 00B74 80A4EE94 252933E8 */ addiu $t1, %lo(D_801333E8)
|
||||
/* 00B78 80A4EE98 3C058013 */ lui $a1, %hi(D_801333D4)
|
||||
/* 00B7C 80A4EE9C 24A533D4 */ addiu $a1, %lo(D_801333D4)
|
||||
/* 00B80 80A4EEA0 AFA90014 */ sw $t1, 0x0014($sp)
|
||||
/* 00B84 80A4EEA4 24044819 */ addiu $a0, $zero, 0x4819 ## $a0 = 00004819
|
||||
/* 00B88 80A4EEA8 24060004 */ addiu $a2, $zero, 0x0004 ## $a2 = 00000004
|
||||
/* 00B8C 80A4EEAC 0C03DCE3 */ jal Audio_PlaySoundGeneral
|
||||
|
||||
/* 00B90 80A4EEB0 AFA70010 */ sw $a3, 0x0010($sp)
|
||||
/* 00B94 80A4EEB4 96220200 */ lhu $v0, 0x0200($s1) ## 00000200
|
||||
.L80A4EEB8:
|
||||
/* 00B98 80A4EEB8 5C400009 */ bgtzl $v0, .L80A4EEE0
|
||||
/* 00B9C 80A4EEBC 922E019F */ lbu $t6, 0x019F($s1) ## 0000019F
|
||||
/* 00BA0 80A4EEC0 922A019E */ lbu $t2, 0x019E($s1) ## 0000019E
|
||||
/* 00BA4 80A4EEC4 922C019F */ lbu $t4, 0x019F($s1) ## 0000019F
|
||||
/* 00BA8 80A4EEC8 A6200200 */ sh $zero, 0x0200($s1) ## 00000200
|
||||
/* 00BAC 80A4EECC 314BFFFB */ andi $t3, $t2, 0xFFFB ## $t3 = 00000000
|
||||
/* 00BB0 80A4EED0 258D0001 */ addiu $t5, $t4, 0x0001 ## $t5 = 00000001
|
||||
/* 00BB4 80A4EED4 A22B019E */ sb $t3, 0x019E($s1) ## 0000019E
|
||||
/* 00BB8 80A4EED8 A22D019F */ sb $t5, 0x019F($s1) ## 0000019F
|
||||
/* 00BBC 80A4EEDC 922E019F */ lbu $t6, 0x019F($s1) ## 0000019F
|
||||
.L80A4EEE0:
|
||||
/* 00BC0 80A4EEE0 24010003 */ addiu $at, $zero, 0x0003 ## $at = 00000003
|
||||
/* 00BC4 80A4EEE4 15C10051 */ bne $t6, $at, .L80A4F02C
|
||||
/* 00BC8 80A4EEE8 3C014170 */ lui $at, 0x4170 ## $at = 41700000
|
||||
/* 00BCC 80A4EEEC 4481A000 */ mtc1 $at, $f20 ## $f20 = 15.00
|
||||
/* 00BD0 80A4EEF0 00008025 */ or $s0, $zero, $zero ## $s0 = 00000000
|
||||
.L80A4EEF4:
|
||||
/* 00BD4 80A4EEF4 0C00CFC8 */ jal Math_Rand_CenteredFloat
|
||||
|
||||
/* 00BD8 80A4EEF8 4600A306 */ mov.s $f12, $f20
|
||||
/* 00BDC 80A4EEFC 3C01BF80 */ lui $at, 0xBF80 ## $at = BF800000
|
||||
/* 00BE0 80A4EF00 44816000 */ mtc1 $at, $f12 ## $f12 = -1.00
|
||||
/* 00BE4 80A4EF04 0C00CFBE */ jal Math_Rand_ZeroFloat
|
||||
|
||||
/* 00BE8 80A4EF08 E7A0005C */ swc1 $f0, 0x005C($sp)
|
||||
/* 00BEC 80A4EF0C E7A00060 */ swc1 $f0, 0x0060($sp)
|
||||
/* 00BF0 80A4EF10 0C00CFC8 */ jal Math_Rand_CenteredFloat
|
||||
|
||||
/* 00BF4 80A4EF14 4600A306 */ mov.s $f12, $f20
|
||||
/* 00BF8 80A4EF18 C7A4005C */ lwc1 $f4, 0x005C($sp)
|
||||
/* 00BFC 80A4EF1C E7A00064 */ swc1 $f0, 0x0064($sp)
|
||||
/* 00C00 80A4EF20 C6280024 */ lwc1 $f8, 0x0024($s1) ## 00000024
|
||||
/* 00C04 80A4EF24 46042180 */ add.s $f6, $f4, $f4
|
||||
/* 00C08 80A4EF28 3C0140E0 */ lui $at, 0x40E0 ## $at = 40E00000
|
||||
/* 00C0C 80A4EF2C 44819000 */ mtc1 $at, $f18 ## $f18 = 7.00
|
||||
/* 00C10 80A4EF30 3C014248 */ lui $at, 0x4248 ## $at = 42480000
|
||||
/* 00C14 80A4EF34 46064280 */ add.s $f10, $f8, $f6
|
||||
/* 00C18 80A4EF38 44816000 */ mtc1 $at, $f12 ## $f12 = 50.00
|
||||
/* 00C1C 80A4EF3C 46000180 */ add.s $f6, $f0, $f0
|
||||
/* 00C20 80A4EF40 E7AA0068 */ swc1 $f10, 0x0068($sp)
|
||||
/* 00C24 80A4EF44 C6300028 */ lwc1 $f16, 0x0028($s1) ## 00000028
|
||||
/* 00C28 80A4EF48 46128100 */ add.s $f4, $f16, $f18
|
||||
/* 00C2C 80A4EF4C E7A4006C */ swc1 $f4, 0x006C($sp)
|
||||
/* 00C30 80A4EF50 C628002C */ lwc1 $f8, 0x002C($s1) ## 0000002C
|
||||
/* 00C34 80A4EF54 46064280 */ add.s $f10, $f8, $f6
|
||||
/* 00C38 80A4EF58 0C00CFBE */ jal Math_Rand_ZeroFloat
|
||||
|
||||
/* 00C3C 80A4EF5C E7AA0070 */ swc1 $f10, 0x0070($sp)
|
||||
/* 00C40 80A4EF60 4600040D */ trunc.w.s $f16, $f0
|
||||
/* 00C44 80A4EF64 3C0F80A5 */ lui $t7, %hi(D_80A4FE14) ## $t7 = 80A50000
|
||||
/* 00C48 80A4EF68 3C1880A5 */ lui $t8, %hi(D_80A4FE18) ## $t8 = 80A50000
|
||||
/* 00C4C 80A4EF6C 2718FE18 */ addiu $t8, $t8, %lo(D_80A4FE18) ## $t8 = 80A4FE18
|
||||
/* 00C50 80A4EF70 44088000 */ mfc1 $t0, $f16
|
||||
/* 00C54 80A4EF74 25EFFE14 */ addiu $t7, $t7, %lo(D_80A4FE14) ## $t7 = 80A4FE14
|
||||
/* 00C58 80A4EF78 3C0780A5 */ lui $a3, %hi(D_80A4FE08) ## $a3 = 80A50000
|
||||
/* 00C5C 80A4EF7C 00084C00 */ sll $t1, $t0, 16
|
||||
/* 00C60 80A4EF80 00095403 */ sra $t2, $t1, 16
|
||||
/* 00C64 80A4EF84 254B00C8 */ addiu $t3, $t2, 0x00C8 ## $t3 = 000000C8
|
||||
/* 00C68 80A4EF88 240C0028 */ addiu $t4, $zero, 0x0028 ## $t4 = 00000028
|
||||
/* 00C6C 80A4EF8C 240D000F */ addiu $t5, $zero, 0x000F ## $t5 = 0000000F
|
||||
/* 00C70 80A4EF90 AFAD0020 */ sw $t5, 0x0020($sp)
|
||||
/* 00C74 80A4EF94 AFAC001C */ sw $t4, 0x001C($sp)
|
||||
/* 00C78 80A4EF98 AFAB0018 */ sw $t3, 0x0018($sp)
|
||||
/* 00C7C 80A4EF9C 24E7FE08 */ addiu $a3, $a3, %lo(D_80A4FE08) ## $a3 = 80A4FE08
|
||||
/* 00C80 80A4EFA0 AFAF0010 */ sw $t7, 0x0010($sp)
|
||||
/* 00C84 80A4EFA4 AFB80014 */ sw $t8, 0x0014($sp)
|
||||
/* 00C88 80A4EFA8 8FA4007C */ lw $a0, 0x007C($sp)
|
||||
/* 00C8C 80A4EFAC 27A50068 */ addiu $a1, $sp, 0x0068 ## $a1 = FFFFFFF0
|
||||
/* 00C90 80A4EFB0 0C00A0DB */ jal func_8002836C
|
||||
/* 00C94 80A4EFB4 27A6005C */ addiu $a2, $sp, 0x005C ## $a2 = FFFFFFE4
|
||||
/* 00C98 80A4EFB8 26100001 */ addiu $s0, $s0, 0x0001 ## $s0 = 00000001
|
||||
/* 00C9C 80A4EFBC 321000FF */ andi $s0, $s0, 0x00FF ## $s0 = 00000001
|
||||
/* 00CA0 80A4EFC0 2A010003 */ slti $at, $s0, 0x0003
|
||||
/* 00CA4 80A4EFC4 1420FFCB */ bne $at, $zero, .L80A4EEF4
|
||||
/* 00CA8 80A4EFC8 00000000 */ nop
|
||||
/* 00CAC 80A4EFCC 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
|
||||
/* 00CB0 80A4EFD0 0C00BE5D */ jal func_8002F974
|
||||
/* 00CB4 80A4EFD4 24052033 */ addiu $a1, $zero, 0x2033 ## $a1 = 00002033
|
||||
/* 00CB8 80A4EFD8 96220200 */ lhu $v0, 0x0200($s1) ## 00000200
|
||||
/* 00CBC 80A4EFDC 28430028 */ slti $v1, $v0, 0x0028
|
||||
/* 00CC0 80A4EFE0 38630001 */ xori $v1, $v1, 0x0001 ## $v1 = 00000001
|
||||
/* 00CC4 80A4EFE4 244E0001 */ addiu $t6, $v0, 0x0001 ## $t6 = 00000001
|
||||
/* 00CC8 80A4EFE8 10600010 */ beq $v1, $zero, .L80A4F02C
|
||||
/* 00CCC 80A4EFEC A62E0200 */ sh $t6, 0x0200($s1) ## 00000200
|
||||
/* 00CD0 80A4EFF0 922F019E */ lbu $t7, 0x019E($s1) ## 0000019E
|
||||
/* 00CD4 80A4EFF4 8E390004 */ lw $t9, 0x0004($s1) ## 00000004
|
||||
/* 00CD8 80A4EFF8 3C0180A5 */ lui $at, %hi(D_80A4FECC) ## $at = 80A50000
|
||||
/* 00CDC 80A4EFFC 35F80010 */ ori $t8, $t7, 0x0010 ## $t8 = 00000010
|
||||
/* 00CE0 80A4F000 37280010 */ ori $t0, $t9, 0x0010 ## $t0 = 00000010
|
||||
/* 00CE4 80A4F004 A238019E */ sb $t8, 0x019E($s1) ## 0000019E
|
||||
/* 00CE8 80A4F008 AE280004 */ sw $t0, 0x0004($s1) ## 00000004
|
||||
/* 00CEC 80A4F00C C432FECC */ lwc1 $f18, %lo(D_80A4FECC)($at)
|
||||
/* 00CF0 80A4F010 9229019F */ lbu $t1, 0x019F($s1) ## 0000019F
|
||||
/* 00CF4 80A4F014 3C0180A5 */ lui $at, %hi(D_80A4FED0) ## $at = 80A50000
|
||||
/* 00CF8 80A4F018 E63200F4 */ swc1 $f18, 0x00F4($s1) ## 000000F4
|
||||
/* 00CFC 80A4F01C C424FED0 */ lwc1 $f4, %lo(D_80A4FED0)($at)
|
||||
/* 00D00 80A4F020 252A0001 */ addiu $t2, $t1, 0x0001 ## $t2 = 00000001
|
||||
/* 00D04 80A4F024 A22A019F */ sb $t2, 0x019F($s1) ## 0000019F
|
||||
/* 00D08 80A4F028 E624006C */ swc1 $f4, 0x006C($s1) ## 0000006C
|
||||
.L80A4F02C:
|
||||
/* 00D0C 80A4F02C 922B019F */ lbu $t3, 0x019F($s1) ## 0000019F
|
||||
/* 00D10 80A4F030 24010004 */ addiu $at, $zero, 0x0004 ## $at = 00000004
|
||||
/* 00D14 80A4F034 8FA4007C */ lw $a0, 0x007C($sp)
|
||||
/* 00D18 80A4F038 1561003A */ bne $t3, $at, .L80A4F124
|
||||
/* 00D1C 80A4F03C 02202825 */ or $a1, $s1, $zero ## $a1 = 00000000
|
||||
/* 00D20 80A4F040 3C0141A0 */ lui $at, 0x41A0 ## $at = 41A00000
|
||||
/* 00D24 80A4F044 44810000 */ mtc1 $at, $f0 ## $f0 = 20.00
|
||||
/* 00D28 80A4F048 3C014270 */ lui $at, 0x4270 ## $at = 42700000
|
||||
/* 00D2C 80A4F04C 44814000 */ mtc1 $at, $f8 ## $f8 = 60.00
|
||||
/* 00D30 80A4F050 240C0003 */ addiu $t4, $zero, 0x0003 ## $t4 = 00000003
|
||||
/* 00D34 80A4F054 44060000 */ mfc1 $a2, $f0
|
||||
/* 00D38 80A4F058 44070000 */ mfc1 $a3, $f0
|
||||
/* 00D3C 80A4F05C AFAC0014 */ sw $t4, 0x0014($sp)
|
||||
/* 00D40 80A4F060 0C00B92D */ jal func_8002E4B4
|
||||
/* 00D44 80A4F064 E7A80010 */ swc1 $f8, 0x0010($sp)
|
||||
/* 00D48 80A4F068 962D0088 */ lhu $t5, 0x0088($s1) ## 00000088
|
||||
/* 00D4C 80A4F06C 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
|
||||
/* 00D50 80A4F070 31AE0018 */ andi $t6, $t5, 0x0018 ## $t6 = 00000000
|
||||
/* 00D54 80A4F074 11C0001E */ beq $t6, $zero, .L80A4F0F0
|
||||
/* 00D58 80A4F078 00000000 */ nop
|
||||
/* 00D5C 80A4F07C C6260024 */ lwc1 $f6, 0x0024($s1) ## 00000024
|
||||
/* 00D60 80A4F080 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
|
||||
/* 00D64 80A4F084 2405180E */ addiu $a1, $zero, 0x180E ## $a1 = 0000180E
|
||||
/* 00D68 80A4F088 E7A60050 */ swc1 $f6, 0x0050($sp)
|
||||
/* 00D6C 80A4F08C C62A0028 */ lwc1 $f10, 0x0028($s1) ## 00000028
|
||||
/* 00D70 80A4F090 E7AA0054 */ swc1 $f10, 0x0054($sp)
|
||||
/* 00D74 80A4F094 C630002C */ lwc1 $f16, 0x002C($s1) ## 0000002C
|
||||
/* 00D78 80A4F098 0C00BE0A */ jal Audio_PlayActorSound2
|
||||
|
||||
/* 00D7C 80A4F09C E7B00058 */ swc1 $f16, 0x0058($sp)
|
||||
/* 00D80 80A4F0A0 3C0680A5 */ lui $a2, %hi(D_80A4FE1C) ## $a2 = 80A50000
|
||||
/* 00D84 80A4F0A4 3C0780A5 */ lui $a3, %hi(D_80A4FE28) ## $a3 = 80A50000
|
||||
/* 00D88 80A4F0A8 240F0064 */ addiu $t7, $zero, 0x0064 ## $t7 = 00000064
|
||||
/* 00D8C 80A4F0AC 24180014 */ addiu $t8, $zero, 0x0014 ## $t8 = 00000014
|
||||
/* 00D90 80A4F0B0 AFB80014 */ sw $t8, 0x0014($sp)
|
||||
/* 00D94 80A4F0B4 AFAF0010 */ sw $t7, 0x0010($sp)
|
||||
/* 00D98 80A4F0B8 24E7FE28 */ addiu $a3, $a3, %lo(D_80A4FE28) ## $a3 = 80A4FE28
|
||||
/* 00D9C 80A4F0BC 24C6FE1C */ addiu $a2, $a2, %lo(D_80A4FE1C) ## $a2 = 80A4FE1C
|
||||
/* 00DA0 80A4F0C0 8FA4007C */ lw $a0, 0x007C($sp)
|
||||
/* 00DA4 80A4F0C4 0C00A3A1 */ jal func_80028E84
|
||||
/* 00DA8 80A4F0C8 27A50050 */ addiu $a1, $sp, 0x0050 ## $a1 = FFFFFFD8
|
||||
/* 00DAC 80A4F0CC 9228019E */ lbu $t0, 0x019E($s1) ## 0000019E
|
||||
/* 00DB0 80A4F0D0 3C0A80A5 */ lui $t2, %hi(func_80A4F700) ## $t2 = 80A50000
|
||||
/* 00DB4 80A4F0D4 2419000A */ addiu $t9, $zero, 0x000A ## $t9 = 0000000A
|
||||
/* 00DB8 80A4F0D8 254AF700 */ addiu $t2, $t2, %lo(func_80A4F700) ## $t2 = 80A4F700
|
||||
/* 00DBC 80A4F0DC 35090008 */ ori $t1, $t0, 0x0008 ## $t1 = 00000008
|
||||
/* 00DC0 80A4F0E0 A6390200 */ sh $t9, 0x0200($s1) ## 00000200
|
||||
/* 00DC4 80A4F0E4 A229019E */ sb $t1, 0x019E($s1) ## 0000019E
|
||||
/* 00DC8 80A4F0E8 10000003 */ beq $zero, $zero, .L80A4F0F8
|
||||
/* 00DCC 80A4F0EC AE2A0198 */ sw $t2, 0x0198($s1) ## 00000198
|
||||
.L80A4F0F0:
|
||||
/* 00DD0 80A4F0F0 0C00BE5D */ jal func_8002F974
|
||||
/* 00DD4 80A4F0F4 240520EA */ addiu $a1, $zero, 0x20EA ## $a1 = 000020EA
|
||||
.L80A4F0F8:
|
||||
/* 00DD8 80A4F0F8 0C00B638 */ jal Actor_MoveForward
|
||||
|
||||
/* 00DDC 80A4F0FC 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
|
||||
/* 00DE0 80A4F100 3C0180A5 */ lui $at, %hi(D_80A4FED4) ## $at = 80A50000
|
||||
/* 00DE4 80A4F104 C424FED4 */ lwc1 $f4, %lo(D_80A4FED4)($at)
|
||||
/* 00DE8 80A4F108 C6320094 */ lwc1 $f18, 0x0094($s1) ## 00000094
|
||||
/* 00DEC 80A4F10C 4604903C */ c.lt.s $f18, $f4
|
||||
/* 00DF0 80A4F110 00000000 */ nop
|
||||
/* 00DF4 80A4F114 45020004 */ bc1fl .L80A4F128
|
||||
/* 00DF8 80A4F118 8FBF003C */ lw $ra, 0x003C($sp)
|
||||
/* 00DFC 80A4F11C 0C00B55C */ jal Actor_Kill
|
||||
|
||||
/* 00E00 80A4F120 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
|
||||
.L80A4F124:
|
||||
/* 00E04 80A4F124 8FBF003C */ lw $ra, 0x003C($sp)
|
||||
.L80A4F128:
|
||||
/* 00E08 80A4F128 D7B40028 */ ldc1 $f20, 0x0028($sp)
|
||||
/* 00E0C 80A4F12C 8FB00034 */ lw $s0, 0x0034($sp)
|
||||
/* 00E10 80A4F130 8FB10038 */ lw $s1, 0x0038($sp)
|
||||
/* 00E14 80A4F134 03E00008 */ jr $ra
|
||||
/* 00E18 80A4F138 27BD0078 */ addiu $sp, $sp, 0x0078 ## $sp = 00000000
|
|
@ -1,16 +0,0 @@
|
|||
glabel func_80A4F700
|
||||
/* 013E0 80A4F700 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
|
||||
/* 013E4 80A4F704 AFBF0014 */ sw $ra, 0x0014($sp)
|
||||
/* 013E8 80A4F708 AFA5001C */ sw $a1, 0x001C($sp)
|
||||
/* 013EC 80A4F70C 94820200 */ lhu $v0, 0x0200($a0) ## 00000200
|
||||
/* 013F0 80A4F710 244EFFFF */ addiu $t6, $v0, 0xFFFF ## $t6 = FFFFFFFF
|
||||
/* 013F4 80A4F714 1C400003 */ bgtz $v0, .L80A4F724
|
||||
/* 013F8 80A4F718 A48E0200 */ sh $t6, 0x0200($a0) ## 00000200
|
||||
/* 013FC 80A4F71C 0C00B55C */ jal Actor_Kill
|
||||
|
||||
/* 01400 80A4F720 00000000 */ nop
|
||||
.L80A4F724:
|
||||
/* 01404 80A4F724 8FBF0014 */ lw $ra, 0x0014($sp)
|
||||
/* 01408 80A4F728 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
|
||||
/* 0140C 80A4F72C 03E00008 */ jr $ra
|
||||
/* 01410 80A4F730 00000000 */ nop
|
|
@ -1,21 +0,0 @@
|
|||
glabel func_80A4F734
|
||||
/* 01414 80A4F734 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
|
||||
/* 01418 80A4F738 AFA40018 */ sw $a0, 0x0018($sp)
|
||||
/* 0141C 80A4F73C 8FAE0018 */ lw $t6, 0x0018($sp)
|
||||
/* 01420 80A4F740 AFBF0014 */ sw $ra, 0x0014($sp)
|
||||
/* 01424 80A4F744 AFA5001C */ sw $a1, 0x001C($sp)
|
||||
/* 01428 80A4F748 00A02025 */ or $a0, $a1, $zero ## $a0 = 00000000
|
||||
/* 0142C 80A4F74C 85C5001C */ lh $a1, 0x001C($t6) ## 0000001C
|
||||
/* 01430 80A4F750 00052A03 */ sra $a1, $a1, 8
|
||||
/* 01434 80A4F754 0C00B2D0 */ jal Flags_GetSwitch
|
||||
|
||||
/* 01438 80A4F758 30A5003F */ andi $a1, $a1, 0x003F ## $a1 = 00000000
|
||||
/* 0143C 80A4F75C 14400003 */ bne $v0, $zero, .L80A4F76C
|
||||
/* 01440 80A4F760 8FA40018 */ lw $a0, 0x0018($sp)
|
||||
/* 01444 80A4F764 0C29391C */ jal func_80A4E470
|
||||
/* 01448 80A4F768 8FA5001C */ lw $a1, 0x001C($sp)
|
||||
.L80A4F76C:
|
||||
/* 0144C 80A4F76C 8FBF0014 */ lw $ra, 0x0014($sp)
|
||||
/* 01450 80A4F770 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
|
||||
/* 01454 80A4F774 03E00008 */ jr $ra
|
||||
/* 01458 80A4F778 00000000 */ nop
|
|
@ -1,33 +0,0 @@
|
|||
glabel func_80A4F77C
|
||||
/* 0145C 80A4F77C 3C0580A5 */ lui $a1, %hi(D_80A4FE34) ## $a1 = 80A50000
|
||||
/* 01460 80A4F780 24A5FE34 */ addiu $a1, $a1, %lo(D_80A4FE34) ## $a1 = 80A4FE34
|
||||
/* 01464 80A4F784 00001025 */ or $v0, $zero, $zero ## $v0 = 00000000
|
||||
/* 01468 80A4F788 248301A0 */ addiu $v1, $a0, 0x01A0 ## $v1 = 000001A0
|
||||
.L80A4F78C:
|
||||
/* 0146C 80A4F78C 8CAF0000 */ lw $t7, 0x0000($a1) ## 80A4FE34
|
||||
/* 01470 80A4F790 24420001 */ addiu $v0, $v0, 0x0001 ## $v0 = 00000001
|
||||
/* 01474 80A4F794 28410003 */ slti $at, $v0, 0x0003
|
||||
/* 01478 80A4F798 A86F0000 */ swl $t7, 0x0000($v1) ## 000001A0
|
||||
/* 0147C 80A4F79C B86F0003 */ swr $t7, 0x0003($v1) ## 000001A3
|
||||
/* 01480 80A4F7A0 94AF0004 */ lhu $t7, 0x0004($a1) ## 80A4FE38
|
||||
/* 01484 80A4F7A4 24630006 */ addiu $v1, $v1, 0x0006 ## $v1 = 000001A6
|
||||
/* 01488 80A4F7A8 1420FFF8 */ bne $at, $zero, .L80A4F78C
|
||||
/* 0148C 80A4F7AC A46FFFFE */ sh $t7, -0x0002($v1) ## 000001A4
|
||||
/* 01490 80A4F7B0 3C0580A5 */ lui $a1, %hi(D_80A4FE3C) ## $a1 = 80A50000
|
||||
/* 01494 80A4F7B4 24A5FE3C */ addiu $a1, $a1, %lo(D_80A4FE3C) ## $a1 = 80A4FE3C
|
||||
/* 01498 80A4F7B8 00001025 */ or $v0, $zero, $zero ## $v0 = 00000000
|
||||
/* 0149C 80A4F7BC 248301B4 */ addiu $v1, $a0, 0x01B4 ## $v1 = 000001B4
|
||||
/* 014A0 80A4F7C0 24060002 */ addiu $a2, $zero, 0x0002 ## $a2 = 00000002
|
||||
.L80A4F7C4:
|
||||
/* 014A4 80A4F7C4 8CB90000 */ lw $t9, 0x0000($a1) ## 80A4FE3C
|
||||
/* 014A8 80A4F7C8 24420001 */ addiu $v0, $v0, 0x0001 ## $v0 = 00000001
|
||||
/* 014AC 80A4F7CC 2463000C */ addiu $v1, $v1, 0x000C ## $v1 = 000001C0
|
||||
/* 014B0 80A4F7D0 AC79FFF4 */ sw $t9, -0x000C($v1) ## 000001B4
|
||||
/* 014B4 80A4F7D4 8CB80004 */ lw $t8, 0x0004($a1) ## 80A4FE40
|
||||
/* 014B8 80A4F7D8 AC78FFF8 */ sw $t8, -0x0008($v1) ## 000001B8
|
||||
/* 014BC 80A4F7DC 8CB90008 */ lw $t9, 0x0008($a1) ## 80A4FE44
|
||||
/* 014C0 80A4F7E0 1446FFF8 */ bne $v0, $a2, .L80A4F7C4
|
||||
/* 014C4 80A4F7E4 AC79FFFC */ sw $t9, -0x0004($v1) ## 000001BC
|
||||
/* 014C8 80A4F7E8 24080003 */ addiu $t0, $zero, 0x0003 ## $t0 = 00000003
|
||||
/* 014CC 80A4F7EC 03E00008 */ jr $ra
|
||||
/* 014D0 80A4F7F0 A088019C */ sb $t0, 0x019C($a0) ## 0000019C
|
|
@ -1,46 +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_Gs_InitVars
|
||||
.word 0x01B90600, 0x02000009, 0x01880000, 0x00000208
|
||||
.word EnGs_Init
|
||||
.word EnGs_Destroy
|
||||
.word EnGs_Update
|
||||
.word EnGs_Draw
|
||||
glabel D_80A4FDA0
|
||||
.word 0x0C000D39, 0x20010000, 0x00000000, 0x00000000, 0x00000000, 0xFFCFFFFF, 0x00000000, 0x00010100, 0x00150030, 0x00000000, 0x00000000
|
||||
glabel D_80A4FDCC
|
||||
.word 0x00000000, 0x00000000, 0xFF000000
|
||||
glabel D_80A4FDD8
|
||||
.word 0x0000E0C0, 0xE0E0D0E0, 0xF0F0F0B0, 0xB0B00000, 0x00B0B0B0, 0x00000000, 0x00000000, 0x00000000
|
||||
glabel D_80A4FDF8
|
||||
.word 0x48500064
|
||||
glabel D_80A4FDFC
|
||||
.word 0xFF323200
|
||||
glabel D_80A4FE00
|
||||
.word 0x3232FF00
|
||||
glabel D_80A4FE04
|
||||
.word 0xFFFFFF00
|
||||
glabel D_80A4FE08
|
||||
.word 0x00000000, 0xBE99999A, 0x00000000
|
||||
glabel D_80A4FE14
|
||||
.word 0xC8C8C880
|
||||
glabel D_80A4FE18
|
||||
.word 0x64646400
|
||||
glabel D_80A4FE1C
|
||||
.word 0x00000000, 0x00000000, 0x00000000
|
||||
glabel D_80A4FE28
|
||||
.word 0x00000000, 0x00000000, 0x00000000
|
||||
glabel D_80A4FE34
|
||||
.word 0x00000000, 0x00000000
|
||||
glabel D_80A4FE3C
|
||||
.word 0x3F800000, 0x3F800000, 0x3F800000, 0x00000000, 0x00000000
|
||||
|
|
@ -205,7 +205,7 @@ u8 func_80027E84(u8 arg0, u8 arg1, f32 arg2);
|
|||
// ? func_800281E8(?);
|
||||
// ? func_8002829C(?);
|
||||
// ? func_80028304(?);
|
||||
// ? func_8002836C(?);
|
||||
void func_8002836C(GlobalContext*, Vec3f*, Vec3f*, Vec3f*, Color_RGBA8*, Color_RGBA8*, s16, s32, s32);
|
||||
// ? func_800283D4(?);
|
||||
// ? func_8002843C(?);
|
||||
// ? func_800284A4(?);
|
||||
|
@ -227,7 +227,7 @@ void func_80028B74(GlobalContext*, Vec3f*, UNK_PTR, UNK_PTR, Color_RGB8*, Color_
|
|||
// ? func_80028CEC(?);
|
||||
// ? func_80028DC4(?);
|
||||
// ? func_80028E1C(?);
|
||||
// ? func_80028E84(?);
|
||||
void func_80028E84(GlobalContext*, Vec3f*, Vec3f*, Vec3f*, s32, s32);
|
||||
// ? func_80028EF4(?);
|
||||
// ? func_80028F84(?);
|
||||
// ? func_80028FD8(?);
|
||||
|
|
|
@ -705,7 +705,7 @@ typedef struct {
|
|||
/* 0xE3EC */ u16 unk_E3EC;
|
||||
/* 0xE3EE */ u16 unk_E3EE;
|
||||
/* 0xE3F0 */ u16 unk_E3F0;
|
||||
/* 0xE3F2 */ char unk_E3F2[0x02];
|
||||
/* 0xE3F2 */ u16 unk_E3F2;
|
||||
/* 0xE3F4 */ u16 unk_E3F4;
|
||||
/* 0xE3F6 */ char unk_E3F6[0x16];
|
||||
/* 0xE40C */ u16 unk_E40C;
|
||||
|
|
5
spec
5
spec
|
@ -2567,8 +2567,11 @@ endseg
|
|||
beginseg
|
||||
name "ovl_En_Gs"
|
||||
include "build/src/overlays/actors/ovl_En_Gs/z_en_gs.o"
|
||||
include "build/data/overlays/actors/z_en_gs.data.o"
|
||||
#ifdef NON_MATCHING
|
||||
include "build/src/overlays/actors/ovl_En_Gs/ovl_En_Gs_reloc.o"
|
||||
#else
|
||||
include "build/data/overlays/actors/z_en_gs.reloc.o"
|
||||
#endif
|
||||
endseg
|
||||
|
||||
beginseg
|
||||
|
|
|
@ -9,7 +9,23 @@ void EnGs_Destroy(Actor* thisx, GlobalContext* globalCtx);
|
|||
void EnGs_Update(Actor* thisx, GlobalContext* globalCtx);
|
||||
void EnGs_Draw(Actor* thisx, GlobalContext* globalCtx);
|
||||
|
||||
/*
|
||||
void func_80A4F734(EnGs* this, GlobalContext* globalCtx);
|
||||
void func_80A4F77C(EnGs* this);
|
||||
|
||||
void func_80A4E910(EnGs* this, GlobalContext* globalCtx);
|
||||
void func_80A4EA08(EnGs* this, GlobalContext* globalCtx);
|
||||
void func_80A4EB3C(EnGs* this, GlobalContext* globalCtx);
|
||||
void func_80A4ED34(EnGs* this, GlobalContext* globalCtx);
|
||||
void func_80A4F13C(EnGs* this, GlobalContext* globalCtx);
|
||||
void func_80A4E648(EnGs* this, GlobalContext* globalCtx);
|
||||
void func_80A4E470(EnGs* this, GlobalContext* globalCtx);
|
||||
void func_80A4F700(EnGs* this, GlobalContext* globalCtx);
|
||||
|
||||
extern Gfx D_0404D4E0[];
|
||||
extern Gfx D_06000950[];
|
||||
extern Gfx D_060009D0[];
|
||||
extern Gfx D_06000A60[];
|
||||
|
||||
const ActorInit En_Gs_InitVars = {
|
||||
ACTOR_EN_GS,
|
||||
ACTORTYPE_PROP,
|
||||
|
@ -21,35 +37,558 @@ const ActorInit En_Gs_InitVars = {
|
|||
(ActorFunc)EnGs_Update,
|
||||
(ActorFunc)EnGs_Draw,
|
||||
};
|
||||
*/
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Gs/EnGs_Init.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Gs/EnGs_Destroy.s")
|
||||
static ColliderCylinderInit D_80A4FDA0 = {
|
||||
{ COLTYPE_UNK12, 0x00, 0x0D, 0x39, 0x20, COLSHAPE_CYLINDER },
|
||||
{ 0x00, { 0x00000000, 0x00, 0x00 }, { 0xFFCFFFFF, 0x00, 0x00 }, 0x00, 0x01, 0x01 },
|
||||
{ 21, 48, 0, { 0, 0, 0 } },
|
||||
};
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Gs/func_80A4E3EC.s")
|
||||
CollisionCheckInfoInit2 D_80A4FDCC = { 0x00, 0x0000, 0x0000, 0x0000, 0xFF };
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Gs/func_80A4E470.s")
|
||||
DamageTable D_80A4FDD8 = { 0x00, 0x00, 0xE0, 0xC0, 0xE0, 0xE0, 0xD0, 0xE0, 0xF0, 0xF0, 0xF0,
|
||||
0xB0, 0xB0, 0xB0, 0x00, 0x00, 0x00, 0xB0, 0xB0, 0xB0, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Gs/func_80A4E648.s")
|
||||
static InitChainEntry sInitChain[] = {
|
||||
ICHAIN_VEC3F_DIV1000(scale, 100, ICHAIN_STOP),
|
||||
};
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Gs/func_80A4E754.s")
|
||||
Color_RGBA8 D_80A4FDFC = { 0xFF, 0x32, 0x32, 0x00 };
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Gs/func_80A4E910.s")
|
||||
Color_RGBA8 D_80A4FE00 = { 0x32, 0x32, 0xFF, 0x00 };
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Gs/func_80A4EA08.s")
|
||||
Color_RGBA8 D_80A4FE04 = { 0xFF, 0xFF, 0xFF, 0x00 };
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Gs/func_80A4EB3C.s")
|
||||
Vec3f D_80A4FE08 = { 0.0f, -0.3f, 0.0f };
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Gs/func_80A4ED34.s")
|
||||
Color_RGBA8 D_80A4FE14 = { 0xC8, 0xC8, 0xC8, 0x80 };
|
||||
|
||||
Color_RGBA8 D_80A4FE18 = { 0x64, 0x64, 0x64, 0x00 };
|
||||
|
||||
Vec3f D_80A4FE1C = { 0.0f, 0.0f, 0.0f };
|
||||
|
||||
Vec3f D_80A4FE28 = { 0.0f, 0.0f, 0.0f };
|
||||
|
||||
Vec3s D_80A4FE34 = { 0x0000, 0x0000, 0x0000 };
|
||||
|
||||
Vec3f D_80A4FE3C = { 1.0f, 1.0f, 1.0f };
|
||||
|
||||
void EnGs_Init(Actor* thisx, GlobalContext* globalCtx) {
|
||||
EnGs* this = THIS;
|
||||
|
||||
Actor_ProcessInitChain(thisx, sInitChain);
|
||||
Collider_InitCylinder(globalCtx, &this->unk_14C);
|
||||
Collider_SetCylinder(globalCtx, &this->unk_14C, thisx, &D_80A4FDA0);
|
||||
func_80061EFC(&thisx->colChkInfo, &D_80A4FDD8, &D_80A4FDCC);
|
||||
|
||||
thisx->unk_1F = 6;
|
||||
this->unk_1D8 = thisx->posRot.pos;
|
||||
this->actionFunc = func_80A4F734;
|
||||
this->unk_1B4[0].x = 1.0f;
|
||||
this->unk_1B4[0].y = 1.0f;
|
||||
this->unk_1B4[0].z = 1.0f;
|
||||
this->unk_1B4[1].x = 1.0f;
|
||||
this->unk_1B4[1].y = 1.0f;
|
||||
this->unk_1B4[1].z = 1.0f;
|
||||
}
|
||||
|
||||
void EnGs_Destroy(Actor* thisx, GlobalContext* globalCtx) {
|
||||
}
|
||||
|
||||
s32 func_80A4E3EC(EnGs* this, GlobalContext* globalCtx) {
|
||||
s32 ret = 2;
|
||||
switch (func_8010BDBC(&globalCtx->msgCtx)) {
|
||||
case 6:
|
||||
if (func_80106BC8(globalCtx)) {
|
||||
switch (this->actor.textId) {
|
||||
case 0x2054:
|
||||
this->actor.textId = (this->actor.params & 0xFF) + 0x400;
|
||||
ret = 1;
|
||||
break;
|
||||
default:
|
||||
ret = 0;
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
void func_80A4E470(EnGs* this, GlobalContext* globalCtx) {
|
||||
Player* player = PLAYER;
|
||||
|
||||
bREG(15) = 0;
|
||||
if (this->actor.xzDistFromLink <= 100.0f) {
|
||||
bREG(15) = 1;
|
||||
if (this->unk_19D == 0) {
|
||||
player->stateFlags2 |= 0x800000;
|
||||
if (player->stateFlags2 & 0x1000000) {
|
||||
func_8010BD58(globalCtx, 1);
|
||||
this->unk_19D |= 1;
|
||||
}
|
||||
|
||||
} else if (this->unk_19D & 1) {
|
||||
if (globalCtx->msgCtx.unk_E3EE == 4) {
|
||||
if ((globalCtx->msgCtx.unk_E3F2 == 6) || (globalCtx->msgCtx.unk_E3F2 == 7) ||
|
||||
(globalCtx->msgCtx.unk_E3F2 == 8) || (globalCtx->msgCtx.unk_E3F2 == 9) ||
|
||||
(globalCtx->msgCtx.unk_E3F2 == 10)) {
|
||||
Actor_Spawn(&globalCtx->actorCtx, globalCtx, ACTOR_EN_ELF, this->actor.posRot.pos.x,
|
||||
this->actor.posRot.pos.y + 40.0f, this->actor.posRot.pos.z, 0, 0, 0, 2);
|
||||
Audio_PlayActorSound2(&this->actor, NA_SE_EV_BUTTERFRY_TO_FAIRY);
|
||||
} else if (globalCtx->msgCtx.unk_E3F2 == 11) {
|
||||
Actor_Spawn(&globalCtx->actorCtx, globalCtx, ACTOR_EN_ELF, this->actor.posRot.pos.x,
|
||||
this->actor.posRot.pos.y + 40.0f, this->actor.posRot.pos.z, 0, 0, 0, 7);
|
||||
Audio_PlayActorSound2(&this->actor, NA_SE_EV_BUTTERFRY_TO_FAIRY);
|
||||
}
|
||||
this->unk_19D = 0;
|
||||
Flags_SetSwitch(globalCtx, (this->actor.params >> 8) & 0x3F);
|
||||
} else if (globalCtx->msgCtx.unk_E3EE == 1) {
|
||||
player->stateFlags2 |= 0x800000;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void func_80A4E648(EnGs* this, GlobalContext* globalCtx) {
|
||||
s16 sp26;
|
||||
s16 sp24;
|
||||
|
||||
if (this->unk_19C == 1) {
|
||||
func_8010B720(globalCtx, this->actor.textId);
|
||||
this->unk_19C = 2;
|
||||
} else if (this->unk_19C == 2) {
|
||||
this->unk_19C = func_80A4E3EC(this, globalCtx);
|
||||
} else if (func_8002F194(&this->actor, globalCtx)) {
|
||||
this->unk_19C = 2;
|
||||
} else {
|
||||
func_8002F374(globalCtx, &this->actor, &sp26, &sp24);
|
||||
if ((sp26 >= 0) && (sp26 < 0x141) && (sp24 >= 0) && (sp24 < 0xF1) && (this->unk_19C != 3)) {
|
||||
if (func_8002F2CC(&this->actor, globalCtx, 40.0f) == 1) {
|
||||
if (func_8008F080(globalCtx) == 8) {
|
||||
this->actor.textId = 0x2054;
|
||||
} else {
|
||||
this->actor.textId = 0x2053;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
f32 func_80A4E754(EnGs* this, GlobalContext* globalCtx, f32* arg2, f32* arg3, u16* arg4, f32 arg5, f32 arg6, f32 arg7,
|
||||
s32 arg8, s32 arg9) {
|
||||
f32 sp2C = Math_SmoothScaleMaxMinF(arg2, *arg3, arg5, arg6, arg7);
|
||||
|
||||
if (arg9 == 0) {
|
||||
sp2C = Math_SmoothScaleMaxMinF(arg2, *arg3, arg5, arg6, arg7);
|
||||
this->unk_1B4[0].x = 1.0f + (sinf((((*arg4 % arg8) * (1.0f / arg8)) * 360.0f) * 0.017453292f) * *arg2);
|
||||
this->unk_1B4[0].y = 1.0f - (sinf((((*arg4 % arg8) * (1.0f / arg8)) * 360.0f) * 0.017453292f) * *arg2);
|
||||
*arg4 += 1;
|
||||
}
|
||||
return sp2C;
|
||||
}
|
||||
|
||||
void func_80A4E910(EnGs* this, GlobalContext* globalCtx) {
|
||||
if (this->unk_19F == 0) {
|
||||
Audio_PlayActorSound2(&this->actor, NA_SE_EN_STALKID_ATTACK);
|
||||
this->unk_200 = 0;
|
||||
this->unk_19F = 1;
|
||||
this->unk_1E8 = 0.5f;
|
||||
this->unk_1EC = 0.0f;
|
||||
} else if ((this->unk_19F == 1) && (func_80A4E754(this, globalCtx, &this->unk_1E8, &this->unk_1EC, &this->unk_200,
|
||||
0.8f, 0.007f, 0.001f, 7, 0) == 0.0f)) {
|
||||
if (!Gameplay_InCsMode(globalCtx)) {
|
||||
func_8010B680(globalCtx, 0x71B1, NULL);
|
||||
}
|
||||
this->unk_19C = 0;
|
||||
this->actionFunc = func_80A4F734;
|
||||
}
|
||||
}
|
||||
|
||||
void func_80A4EA08(EnGs* this, GlobalContext* globalCtx) {
|
||||
s32 temp_t8;
|
||||
|
||||
if (this->unk_19F == 0) {
|
||||
Audio_PlayActorSound2(&this->actor, NA_SE_EN_STALKID_ATTACK);
|
||||
this->unk_1E8 = 0.3f;
|
||||
this->unk_1EC = 0.0f;
|
||||
this->unk_200 = 0;
|
||||
this->unk_19F = 1;
|
||||
} else if (this->unk_19F == 1) {
|
||||
this->unk_1A0[0].z = (((this->unk_200 % 8) * 0.125f) * 360.0f) * 182.04445f;
|
||||
this->unk_1A0[1].z = -this->unk_1A0[0].z;
|
||||
if (func_80A4E754(this, globalCtx, &this->unk_1E8, &this->unk_1EC, &this->unk_200, 0.8f, 0.005f, 0.001f, 7,
|
||||
0) == 0.0f) {
|
||||
this->unk_19C = 0;
|
||||
this->actionFunc = func_80A4F734;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void func_80A4EB3C(EnGs* this, GlobalContext* globalCtx) {
|
||||
f32 ret;
|
||||
|
||||
if (this->unk_19F == 0) {
|
||||
this->unk_1E8 = this->unk_1B4[0].y - 1.0f;
|
||||
this->unk_1EC = -0.8f;
|
||||
this->unk_19F++;
|
||||
} else if (this->unk_19F == 1) {
|
||||
ret = Math_SmoothScaleMaxMinF(&this->unk_1E8, this->unk_1EC, 1.0f, 0.4f, 0.001f);
|
||||
this->unk_1B4[0].y = this->unk_1E8 + 1.0f;
|
||||
if (ret == 0.0f) {
|
||||
this->unk_200 = 0;
|
||||
this->unk_19F++;
|
||||
}
|
||||
} else if (this->unk_19F == 2) {
|
||||
this->unk_200++;
|
||||
if (this->unk_200 >= 100) {
|
||||
this->unk_19F++;
|
||||
this->unk_1E8 = this->unk_1B4[0].y - 1.0f;
|
||||
this->unk_1EC = 0.0f;
|
||||
}
|
||||
} else if (this->unk_19F == 3) {
|
||||
ret = Math_SmoothScaleMaxMinF(&this->unk_1E8, this->unk_1EC, 1.0f, 0.5f, 0.001f);
|
||||
this->unk_1B4[0].y = this->unk_1E8 + 1.0f;
|
||||
if (ret == 0.0f) {
|
||||
this->unk_1E8 = 0.5f;
|
||||
this->unk_1EC = 0.0f;
|
||||
this->unk_200 = 0;
|
||||
Audio_PlayActorSound2(&this->actor, NA_SE_EN_STALKID_ATTACK);
|
||||
this->unk_19F++;
|
||||
}
|
||||
} else if (this->unk_19F == 4) {
|
||||
if (func_80A4E754(this, globalCtx, &this->unk_1E8, &this->unk_1EC, &this->unk_200, 1.0f, 0.03f, 0.001f, 5, 0) ==
|
||||
0.0f) {
|
||||
this->unk_19C = 0;
|
||||
this->actionFunc = func_80A4F734;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void func_80A4ED34(EnGs* this, GlobalContext* globalCtx) {
|
||||
u8 i;
|
||||
Vec3f sp60;
|
||||
Vec3f sp5C;
|
||||
Vec3f sp68;
|
||||
|
||||
if (this->unk_19F == 0) {
|
||||
this->unk_200 = 0x28;
|
||||
this->unk_19F++;
|
||||
}
|
||||
|
||||
if (this->unk_19F == 1) {
|
||||
if ((u32)this->unk_200-- <= 0) {
|
||||
this->unk_200 = 0x50;
|
||||
this->unk_19E |= 4;
|
||||
this->unk_19F++;
|
||||
}
|
||||
}
|
||||
|
||||
if (this->unk_19F == 2) {
|
||||
this->unk_200--;
|
||||
Color_RGBA8_Copy(&this->unk_1E4, &D_80A4FE04);
|
||||
if ((this->unk_200 < 0x50) && ((this->unk_200 % 0x14) < 8)) {
|
||||
if (this->unk_200 < 0x14) {
|
||||
Color_RGBA8_Copy(&this->unk_1E4, &D_80A4FDFC);
|
||||
if ((this->unk_200 % 0x14) == 7) {
|
||||
Audio_PlaySoundGeneral(NA_SE_SY_WARNING_COUNT_E, &D_801333D4, 4, &D_801333E0, &D_801333E0,
|
||||
&D_801333E8);
|
||||
}
|
||||
} else {
|
||||
Color_RGBA8_Copy(&this->unk_1E4, &D_80A4FE00);
|
||||
if ((this->unk_200 % 0x14) == 7) {
|
||||
Audio_PlaySoundGeneral(NA_SE_SY_WARNING_COUNT_N, &D_801333D4, 4, &D_801333E0, &D_801333E0,
|
||||
&D_801333E8);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (this->unk_200 <= 0) {
|
||||
this->unk_200 = 0;
|
||||
this->unk_19E &= ~4;
|
||||
this->unk_19F++;
|
||||
}
|
||||
}
|
||||
|
||||
if (this->unk_19F == 3) {
|
||||
for (i = 0; i < 3; i++) {
|
||||
sp5C.x = Math_Rand_CenteredFloat(15.0f);
|
||||
sp5C.y = Math_Rand_ZeroFloat(-1.0f);
|
||||
sp5C.z = Math_Rand_CenteredFloat(15.0f);
|
||||
sp60.x = this->actor.posRot.pos.x + (sp5C.x + sp5C.x);
|
||||
sp60.y = this->actor.posRot.pos.y + 7.0f;
|
||||
sp60.z = this->actor.posRot.pos.z + (sp5C.z + sp5C.z);
|
||||
func_8002836C(globalCtx, &sp60, &sp5C, &D_80A4FE08, &D_80A4FE14, &D_80A4FE18,
|
||||
(s16)Math_Rand_ZeroFloat(50.0f) + 0xC8, 0x28, 0xF);
|
||||
}
|
||||
|
||||
func_8002F974(&this->actor, NA_SE_EV_FIRE_PILLAR - SFX_FLAG);
|
||||
if ((this->unk_200++ < 0x28) ^ 1) {
|
||||
this->unk_19E |= 0x10;
|
||||
this->actor.flags |= 0x10;
|
||||
this->actor.uncullZoneForward = 12000.0f;
|
||||
|
||||
this->actor.gravity = 0.3f;
|
||||
this->unk_19F++;
|
||||
}
|
||||
}
|
||||
|
||||
if (this->unk_19F == 4) {
|
||||
func_8002E4B4(globalCtx, &this->actor, 20.0f, 20.0f, 60.0f, 3);
|
||||
if (this->actor.bgCheckFlags & 0x18) {
|
||||
sp68.x = this->actor.posRot.pos.x;
|
||||
sp68.y = this->actor.posRot.pos.y;
|
||||
sp68.z = this->actor.posRot.pos.z;
|
||||
Audio_PlayActorSound2(&this->actor, NA_SE_IT_BOMB_EXPLOSION);
|
||||
func_80028E84(globalCtx, &sp68, &D_80A4FE1C, &D_80A4FE28, 0x64, 0x14);
|
||||
this->unk_200 = 10;
|
||||
this->unk_19E |= 8;
|
||||
this->actionFunc = func_80A4F700;
|
||||
} else {
|
||||
func_8002F974(&this->actor, NA_SE_EV_STONE_LAUNCH - SFX_FLAG);
|
||||
}
|
||||
|
||||
Actor_MoveForward(&this->actor);
|
||||
if (this->actor.yDistFromLink < -12000.0f) {
|
||||
Actor_Kill(&this->actor);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef NON_MATCHING
|
||||
// Regalloc
|
||||
void func_80A4F13C(EnGs* this, GlobalContext* globalCtx) {
|
||||
f32 tmpf1;
|
||||
f32 tmpf2;
|
||||
f32 tmpf3;
|
||||
s32 tmp;
|
||||
s16 tmp2 = this->unk_1A0[0].y;
|
||||
|
||||
if (this->unk_19F == 0) {
|
||||
this->unk_1E8 = 0.0f;
|
||||
this->unk_1EC = 90.0f;
|
||||
this->unk_1F0 = 0.1f;
|
||||
this->unk_1F4 = 2.0f;
|
||||
this->unk_1F8 = 0;
|
||||
this->unk_19F = 1;
|
||||
}
|
||||
if (this->unk_19F == 1) {
|
||||
Math_SmoothScaleMaxMinF(&this->unk_1F0, this->unk_1F4, 1.0f, 0.1f, 0.001f);
|
||||
tmpf1 = Math_SmoothScaleMaxMinF(&this->unk_1E8, this->unk_1EC, 1.0f, this->unk_1F0, 0.001f);
|
||||
this->unk_1A0[0].y += (s16)(this->unk_1E8 * 182.04445f);
|
||||
if (tmpf1 == 0.0f) {
|
||||
this->unk_200 = 0;
|
||||
this->unk_19F = 2;
|
||||
}
|
||||
}
|
||||
if (this->unk_19F == 2) {
|
||||
this->unk_1A0[0].y = this->unk_1A0[0].y + (s32)(this->unk_1E8 * 182.04445f);
|
||||
if ((this->unk_200++ < 0x29) ^ 1) {
|
||||
this->unk_1E8 = this->unk_1B4[0].y - 1.0f;
|
||||
this->unk_1EC = 1.5f;
|
||||
this->unk_1F0 = this->unk_1B4[1].y - 1.0f;
|
||||
this->unk_1F4 = -0.3f;
|
||||
Audio_PlayActorSound2(&this->actor, NA_SE_EV_STONE_GROW_UP);
|
||||
this->unk_19F = 3;
|
||||
}
|
||||
}
|
||||
if (this->unk_19F == 3) {
|
||||
this->unk_1A0[0].y += 0x4000;
|
||||
tmpf1 = Math_SmoothScaleMaxMinF(&this->unk_1E8, this->unk_1EC, 0.8f, 0.2f, 0.001f);
|
||||
Math_SmoothScaleMaxMinF(&this->unk_1F0, this->unk_1F4, 0.8f, 0.2f, 0.001f);
|
||||
this->unk_1B4[0].x = this->unk_1F0 + 1.0f;
|
||||
this->unk_1B4[0].y = this->unk_1E8 + 1.0f;
|
||||
if (tmpf1 == 0.0f) {
|
||||
this->unk_1E8 = 0.6981317f;
|
||||
this->unk_1EC = 0.34906584f;
|
||||
this->unk_19F = 4;
|
||||
}
|
||||
}
|
||||
if (this->unk_19F == 4) {
|
||||
tmpf1 = Math_SmoothScaleMaxMinF(&this->unk_1E8, this->unk_1EC, 0.8f, 16384.0f, 3640.0f);
|
||||
this->unk_1A0[0].y += (s16)this->unk_1E8;
|
||||
if (tmpf1 == 0.0f) {
|
||||
|
||||
tmp = this->unk_1A0[0].y;
|
||||
if (tmp > 0) {
|
||||
tmp += 0xFFFF0000;
|
||||
}
|
||||
this->unk_1E8 = tmp;
|
||||
|
||||
this->unk_1EC = 0.0f;
|
||||
this->unk_19F = 5;
|
||||
}
|
||||
}
|
||||
if (this->unk_19F == 5) {
|
||||
tmp = this->unk_1A0[0].y;
|
||||
if (tmp > 0) {
|
||||
tmp += 0xFFFF0001;
|
||||
}
|
||||
this->unk_1E8 = tmp;
|
||||
tmpf1 = Math_SmoothScaleMaxMinF(&this->unk_1E8, this->unk_1EC, 0.8f, 3640.0f, 0.001f);
|
||||
this->unk_1A0[0].y = this->unk_1E8;
|
||||
if (tmpf1 == 0.0f) {
|
||||
this->unk_1E8 = this->unk_1B4[0].y - 1.0f;
|
||||
this->unk_1EC = 0;
|
||||
this->unk_1A0[0].y = 0;
|
||||
this->unk_200 = 0;
|
||||
this->unk_1F0 = this->unk_1B4[0].x - 1.0f;
|
||||
this->unk_1F4 = 0;
|
||||
this->unk_1F8 = 0.5f;
|
||||
this->unk_1FC = 0;
|
||||
Audio_PlayActorSound2(&this->actor, NA_SE_EN_STALKID_ATTACK);
|
||||
this->unk_19F = 6;
|
||||
}
|
||||
}
|
||||
if (this->unk_19F == 6) {
|
||||
tmpf1 = Math_SmoothScaleMaxMinF(&this->unk_1E8, this->unk_1EC, 0.8f, 0.1f, 0.001f);
|
||||
tmpf2 = Math_SmoothScaleMaxMinF(&this->unk_1F0, this->unk_1F4, 0.8f, 0.1f, 0.001f);
|
||||
tmpf3 = Math_SmoothScaleMaxMinF(&this->unk_1F8, this->unk_1FC, 0.8f, 0.02f, 0.001f);
|
||||
this->unk_1B4[0].x = this->unk_1F0 + 1.0f;
|
||||
this->unk_1B4[0].y = this->unk_1E8 + 1.0f;
|
||||
this->unk_1B4[0].x += sinf((((this->unk_200 % 0xA) * 0.1f) * 360.0f) * 0.017453292f) * this->unk_1F8;
|
||||
this->unk_1B4[0].y =
|
||||
this->unk_1B4[0].y + (sinf((((this->unk_200 % 0xA) * 0.1f) * 360.0f) * 0.017453292f) * this->unk_1F8);
|
||||
this->unk_200++;
|
||||
if ((tmpf1 == 0.0f) && (tmpf2 == 0.0f) && (tmpf3 == 0.0f)) {
|
||||
this->unk_19C = 0;
|
||||
this->actionFunc = func_80A4F734;
|
||||
}
|
||||
}
|
||||
if ((u16)this->unk_1A0[0].y < (u16)tmp2) {
|
||||
Audio_PlayActorSound2(&this->actor, NA_SE_EV_STONE_ROLLING);
|
||||
}
|
||||
}
|
||||
#else
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Gs/func_80A4F13C.s")
|
||||
#endif
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Gs/func_80A4F700.s")
|
||||
void func_80A4F700(EnGs* this, GlobalContext* globalCtx) {
|
||||
if (this->unk_200-- <= 0) {
|
||||
Actor_Kill(&this->actor);
|
||||
}
|
||||
}
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Gs/func_80A4F734.s")
|
||||
void func_80A4F734(EnGs* this, GlobalContext* globalCtx) {
|
||||
if (!Flags_GetSwitch(globalCtx, (this->actor.params >> 8) & 0x3F)) {
|
||||
func_80A4E470(this, globalCtx);
|
||||
}
|
||||
}
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Gs/func_80A4F77C.s")
|
||||
void func_80A4F77C(EnGs* this) {
|
||||
s32 i;
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Gs/EnGs_Update.s")
|
||||
for (i = 0; i < 3; i++) {
|
||||
this->unk_1A0[i] = D_80A4FE34;
|
||||
}
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Gs/EnGs_Draw.s")
|
||||
for (i = 0; i < 2; i++) {
|
||||
this->unk_1B4[i] = D_80A4FE3C;
|
||||
}
|
||||
|
||||
this->unk_19C = 3;
|
||||
}
|
||||
|
||||
void EnGs_Update(Actor* thisx, GlobalContext* globalCtx) {
|
||||
s32 pad;
|
||||
EnGs* this = THIS;
|
||||
|
||||
Actor_SetHeight(&this->actor, 23.0f);
|
||||
if (globalCtx) {};
|
||||
if (!(this->unk_19E & 0x10)) {
|
||||
if (globalCtx) {};
|
||||
if (this->unk_14C.base.acFlags & 2) {
|
||||
this->unk_19F = 0;
|
||||
this->unk_14C.base.acFlags &= ~2;
|
||||
|
||||
switch (this->actor.colChkInfo.damageEffect) {
|
||||
case 15:
|
||||
this->unk_19E |= 1;
|
||||
func_80A4F77C(this);
|
||||
this->actionFunc = func_80A4E910;
|
||||
break;
|
||||
case 14:
|
||||
this->unk_19E |= 1;
|
||||
func_80A4F77C(this);
|
||||
this->actionFunc = func_80A4EA08;
|
||||
break;
|
||||
case 13:
|
||||
this->unk_19E |= 1;
|
||||
func_80A4F77C(this);
|
||||
this->actionFunc = func_80A4EB3C;
|
||||
break;
|
||||
case 12:
|
||||
this->unk_19E |= 2;
|
||||
func_80A4F77C(this);
|
||||
this->actionFunc = func_80A4ED34;
|
||||
break;
|
||||
case 11:
|
||||
this->unk_19E |= 1;
|
||||
func_80A4F77C(this);
|
||||
this->actionFunc = func_80A4F13C;
|
||||
break;
|
||||
}
|
||||
}
|
||||
Collider_CylinderUpdate(&this->actor, &this->unk_14C);
|
||||
CollisionCheck_SetAC(globalCtx, &globalCtx->colChkCtx, &this->unk_14C.base);
|
||||
CollisionCheck_SetOC(globalCtx, &globalCtx->colChkCtx, &this->unk_14C.base);
|
||||
}
|
||||
this->actionFunc(this, globalCtx);
|
||||
func_80A4E648(this, globalCtx);
|
||||
}
|
||||
|
||||
void EnGs_Draw(Actor* thisx, GlobalContext* globalCtx) {
|
||||
EnGs* this = THIS;
|
||||
s32 tmp;
|
||||
u32 frames;
|
||||
GraphicsContext* gfxCtx;
|
||||
Gfx* dispRefs[4];
|
||||
|
||||
if (!(this->unk_19E & 8)) {
|
||||
gfxCtx = globalCtx->state.gfxCtx;
|
||||
Graph_OpenDisps(dispRefs, globalCtx->state.gfxCtx, "../z_en_gs.c", 1046);
|
||||
frames = globalCtx->gameplayFrames;
|
||||
func_80093D18(globalCtx->state.gfxCtx);
|
||||
Matrix_Push();
|
||||
if (this->unk_19E & 1) {
|
||||
Matrix_RotateY(this->unk_1A0[0].y * 0.0000958738f, MTXMODE_APPLY);
|
||||
Matrix_RotateX(this->unk_1A0[0].x * 0.0000958738f, MTXMODE_APPLY);
|
||||
Matrix_RotateZ(this->unk_1A0[0].z * 0.0000958738f, MTXMODE_APPLY);
|
||||
Matrix_Scale(this->unk_1B4[0].x, this->unk_1B4[0].y, this->unk_1B4[0].z, MTXMODE_APPLY);
|
||||
Matrix_RotateY(this->unk_1A0[1].y * 0.0000958738f, MTXMODE_APPLY);
|
||||
Matrix_RotateX(this->unk_1A0[1].x * 0.0000958738f, MTXMODE_APPLY);
|
||||
Matrix_RotateZ(this->unk_1A0[1].z * 0.0000958738f, MTXMODE_APPLY);
|
||||
}
|
||||
|
||||
gSPMatrix(gfxCtx->polyOpa.p++, Matrix_NewMtx(globalCtx->state.gfxCtx, "../z_en_gs.c", 1064),
|
||||
G_MTX_NOPUSH | G_MTX_LOAD | G_MTX_MODELVIEW);
|
||||
gSPDisplayList(gfxCtx->polyOpa.p++, D_06000950);
|
||||
|
||||
if (this->unk_19E & 4) {
|
||||
gDPSetPrimColor(gfxCtx->polyOpa.p++, 0, 0, this->unk_1E4.r, this->unk_1E4.g, this->unk_1E4.b,
|
||||
this->unk_1E4.a);
|
||||
} else {
|
||||
gDPSetPrimColor(gfxCtx->polyOpa.p++, 0, 0, 255, 255, 255, 255);
|
||||
}
|
||||
|
||||
gSPDisplayList(gfxCtx->polyOpa.p++, D_060009D0);
|
||||
gSPDisplayList(gfxCtx->polyOpa.p++, D_06000A60);
|
||||
|
||||
Matrix_Pull();
|
||||
if (this->unk_19E & 2) {
|
||||
func_80093D84(globalCtx->state.gfxCtx);
|
||||
func_800D1FD4(&globalCtx->mf_11DA0);
|
||||
Matrix_Scale(0.05f, -0.05f, 1.0f, MTXMODE_APPLY);
|
||||
|
||||
gSPMatrix(gfxCtx->polyXlu.p++, Matrix_NewMtx(globalCtx->state.gfxCtx, "../z_en_gs.c", 1087),
|
||||
G_MTX_NOPUSH | G_MTX_LOAD | G_MTX_MODELVIEW);
|
||||
gSPSegment(
|
||||
gfxCtx->polyXlu.p++, 0x08,
|
||||
Gfx_TwoTexScroll(globalCtx->state.gfxCtx, 0, 0, 0, 0x20, 0x40, 1, 0, -frames * 0x14, 0x20, 0x80));
|
||||
gDPSetPrimColor(gfxCtx->polyXlu.p++, 128, 128, 255, 255, 0, 255);
|
||||
gDPSetEnvColor(gfxCtx->polyXlu.p++, 255, 0, 0, 0);
|
||||
gSPDisplayList(gfxCtx->polyXlu.p++, D_0404D4E0);
|
||||
}
|
||||
Graph_CloseDisps(dispRefs, globalCtx->state.gfxCtx, "../z_en_gs.c", 1101);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,9 +6,29 @@
|
|||
|
||||
struct EnGs;
|
||||
|
||||
typedef void (*EnGsActionFunc)(struct EnGs*, GlobalContext*);
|
||||
|
||||
typedef struct EnGs {
|
||||
/* 0x0000 */ Actor actor;
|
||||
/* 0x014C */ char unk_14C[0xBC];
|
||||
/* 0x014C */ ColliderCylinder unk_14C;
|
||||
/* 0x0198 */ EnGsActionFunc actionFunc;
|
||||
/* 0x019C */ u8 unk_19C;
|
||||
/* 0x019D */ u8 unk_19D;
|
||||
/* 0x019E */ u8 unk_19E;
|
||||
/* 0x019F */ u8 unk_19F;
|
||||
/* 0x01A0 */ Vec3s unk_1A0[3];
|
||||
/* 0x01B4 */ Vec3f unk_1B4[2];
|
||||
/* 0x01CC */ char unk_1CC[0xC];
|
||||
/* 0x01D8 */ Vec3f unk_1D8;
|
||||
/* 0x01E4 */ Color_RGBA8 unk_1E4;
|
||||
/* 0x01E8 */ f32 unk_1E8;
|
||||
/* 0x01EC */ f32 unk_1EC;
|
||||
/* 0x01F0 */ f32 unk_1F0;
|
||||
/* 0x01F4 */ f32 unk_1F4;
|
||||
/* 0x01F8 */ f32 unk_1F8;
|
||||
/* 0x01FC */ f32 unk_1FC;
|
||||
/* 0x0200 */ u16 unk_200;
|
||||
/* 0x0202 */ char unk_202[0x6];
|
||||
} EnGs; // size = 0x0208
|
||||
|
||||
extern const ActorInit En_Gs_InitVars;
|
||||
|
|
|
@ -709,6 +709,12 @@ D_0600FCF8 = 0x0600FCF8;
|
|||
D_060105E0 = 0x060105E0;
|
||||
D_06012160 = 0x06012160;
|
||||
|
||||
// z_en_gs
|
||||
D_0404D4E0 = 0x0404D4E0;
|
||||
D_06000950 = 0x06000950;
|
||||
D_060009D0 = 0x060009D0;
|
||||
D_06000A60 = 0x06000A60;
|
||||
|
||||
// z_en_insect
|
||||
D_04035590 = 0x04035590;
|
||||
D_040341FC = 0x040341FC;
|
||||
|
|
Loading…
Add table
Reference in a new issue