1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-11-29 03:34:07 +00:00

Merge pull request #60 from gamestabled/ovl_En_Ani

ovl_En_Ani
This commit is contained in:
fig02 2020-04-10 16:48:40 -04:00 committed by GitHub
commit a45e7920bc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
38 changed files with 324 additions and 1479 deletions

View file

@ -1,14 +0,0 @@
glabel BgHidanFirewall_Destroy
/* 000A0 80886700 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 000A4 80886704 00803025 */ or $a2, $a0, $zero ## $a2 = 00000000
/* 000A8 80886708 AFBF0014 */ sw $ra, 0x0014($sp)
/* 000AC 8088670C 00A02025 */ or $a0, $a1, $zero ## $a0 = 00000000
/* 000B0 80886710 0C0170EB */ jal ActorCollider_FreeCylinder
/* 000B4 80886714 24C50154 */ addiu $a1, $a2, 0x0154 ## $a1 = 00000154
/* 000B8 80886718 8FBF0014 */ lw $ra, 0x0014($sp)
/* 000BC 8088671C 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
/* 000C0 80886720 03E00008 */ jr $ra
/* 000C4 80886724 00000000 */ nop

View file

@ -1,45 +0,0 @@
glabel BgHidanFirewall_Init
/* 00000 80886660 27BDFFD8 */ addiu $sp, $sp, 0xFFD8 ## $sp = FFFFFFD8
/* 00004 80886664 3C018088 */ lui $at, %hi(D_80886D84) ## $at = 80880000
/* 00008 80886668 C4206D84 */ lwc1 $f0, %lo(D_80886D84)($at)
/* 0000C 8088666C AFBF001C */ sw $ra, 0x001C($sp)
/* 00010 80886670 AFB00018 */ sw $s0, 0x0018($sp)
/* 00014 80886674 AFA5002C */ sw $a1, 0x002C($sp)
/* 00018 80886678 3C018088 */ lui $at, %hi(D_80886D88) ## $at = 80880000
/* 0001C 8088667C E4800050 */ swc1 $f0, 0x0050($a0) ## 00000050
/* 00020 80886680 E4800058 */ swc1 $f0, 0x0058($a0) ## 00000058
/* 00024 80886684 C4246D88 */ lwc1 $f4, %lo(D_80886D88)($at)
/* 00028 80886688 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 0002C 8088668C A4800150 */ sh $zero, 0x0150($a0) ## 00000150
/* 00030 80886690 26050154 */ addiu $a1, $s0, 0x0154 ## $a1 = 00000154
/* 00034 80886694 E4840054 */ swc1 $f4, 0x0054($a0) ## 00000054
/* 00038 80886698 AFA50020 */ sw $a1, 0x0020($sp)
/* 0003C 8088669C 0C0170D9 */ jal ActorCollider_AllocCylinder
/* 00040 808866A0 8FA4002C */ lw $a0, 0x002C($sp)
/* 00044 808866A4 3C078088 */ lui $a3, %hi(D_80886CD0) ## $a3 = 80880000
/* 00048 808866A8 8FA50020 */ lw $a1, 0x0020($sp)
/* 0004C 808866AC 24E76CD0 */ addiu $a3, $a3, %lo(D_80886CD0) ## $a3 = 80886CD0
/* 00050 808866B0 8FA4002C */ lw $a0, 0x002C($sp)
/* 00054 808866B4 0C01712B */ jal ActorCollider_InitCylinder
/* 00058 808866B8 02003025 */ or $a2, $s0, $zero ## $a2 = 00000000
/* 0005C 808866BC C6060028 */ lwc1 $f6, 0x0028($s0) ## 00000028
/* 00060 808866C0 3C068088 */ lui $a2, %hi(D_80886CFC) ## $a2 = 80880000
/* 00064 808866C4 24C66CFC */ addiu $a2, $a2, %lo(D_80886CFC) ## $a2 = 80886CFC
/* 00068 808866C8 4600320D */ trunc.w.s $f8, $f6
/* 0006C 808866CC 26040098 */ addiu $a0, $s0, 0x0098 ## $a0 = 00000098
/* 00070 808866D0 00002825 */ or $a1, $zero, $zero ## $a1 = 00000000
/* 00074 808866D4 440F4000 */ mfc1 $t7, $f8
/* 00078 808866D8 0C0187B5 */ jal func_80061ED4
/* 0007C 808866DC A60F019C */ sh $t7, 0x019C($s0) ## 0000019C
/* 00080 808866E0 3C188088 */ lui $t8, %hi(func_80886794) ## $t8 = 80880000
/* 00084 808866E4 27186794 */ addiu $t8, $t8, %lo(func_80886794) ## $t8 = 80886794
/* 00088 808866E8 AE18014C */ sw $t8, 0x014C($s0) ## 0000014C
/* 0008C 808866EC 8FBF001C */ lw $ra, 0x001C($sp)
/* 00090 808866F0 8FB00018 */ lw $s0, 0x0018($sp)
/* 00094 808866F4 27BD0028 */ addiu $sp, $sp, 0x0028 ## $sp = 00000000
/* 00098 808866F8 03E00008 */ jr $ra
/* 0009C 808866FC 00000000 */ nop

View file

@ -1,62 +0,0 @@
glabel BgHidanFirewall_Update
/* 003FC 80886A5C 27BDFFD0 */ addiu $sp, $sp, 0xFFD0 ## $sp = FFFFFFD0
/* 00400 80886A60 AFBF001C */ sw $ra, 0x001C($sp)
/* 00404 80886A64 AFB10018 */ sw $s1, 0x0018($sp)
/* 00408 80886A68 AFB00014 */ sw $s0, 0x0014($sp)
/* 0040C 80886A6C 848E0150 */ lh $t6, 0x0150($a0) ## 00000150
/* 00410 80886A70 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 00414 80886A74 92020164 */ lbu $v0, 0x0164($s0) ## 00000164
/* 00418 80886A78 25CF0001 */ addiu $t7, $t6, 0x0001 ## $t7 = 00000001
/* 0041C 80886A7C 00A08825 */ or $s1, $a1, $zero ## $s1 = 00000000
/* 00420 80886A80 05E10004 */ bgez $t7, .L80886A94
/* 00424 80886A84 31F80007 */ andi $t8, $t7, 0x0007 ## $t8 = 00000001
/* 00428 80886A88 13000002 */ beq $t8, $zero, .L80886A94
/* 0042C 80886A8C 00000000 */ nop
/* 00430 80886A90 2718FFF8 */ addiu $t8, $t8, 0xFFF8 ## $t8 = FFFFFFF9
.L80886A94:
/* 00434 80886A94 30590002 */ andi $t9, $v0, 0x0002 ## $t9 = 00000000
/* 00438 80886A98 13200006 */ beq $t9, $zero, .L80886AB4
/* 0043C 80886A9C A6180150 */ sh $t8, 0x0150($s0) ## 00000150
/* 00440 80886AA0 3048FFFD */ andi $t0, $v0, 0xFFFD ## $t0 = 00000000
/* 00444 80886AA4 A2080164 */ sb $t0, 0x0164($s0) ## 00000164
/* 00448 80886AA8 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 0044C 80886AAC 0C221A26 */ jal func_80886898
/* 00450 80886AB0 02202825 */ or $a1, $s1, $zero ## $a1 = 00000000
.L80886AB4:
/* 00454 80886AB4 8E19014C */ lw $t9, 0x014C($s0) ## 0000014C
/* 00458 80886AB8 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 0045C 80886ABC 02202825 */ or $a1, $s1, $zero ## $a1 = 00000000
/* 00460 80886AC0 0320F809 */ jalr $ra, $t9
/* 00464 80886AC4 00000000 */ nop
/* 00468 80886AC8 8E0A014C */ lw $t2, 0x014C($s0) ## 0000014C
/* 0046C 80886ACC 3C098088 */ lui $t1, %hi(func_80886810) ## $t1 = 80880000
/* 00470 80886AD0 25296810 */ addiu $t1, $t1, %lo(func_80886810) ## $t1 = 80886810
/* 00474 80886AD4 152A0012 */ bne $t1, $t2, .L80886B20
/* 00478 80886AD8 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 0047C 80886ADC 0C221A3F */ jal func_808868FC
/* 00480 80886AE0 02202825 */ or $a1, $s1, $zero ## $a1 = 00000000
/* 00484 80886AE4 3C010001 */ lui $at, 0x0001 ## $at = 00010000
/* 00488 80886AE8 34211E60 */ ori $at, $at, 0x1E60 ## $at = 00011E60
/* 0048C 80886AEC 02212821 */ addu $a1, $s1, $at
/* 00490 80886AF0 26060154 */ addiu $a2, $s0, 0x0154 ## $a2 = 00000154
/* 00494 80886AF4 AFA60020 */ sw $a2, 0x0020($sp)
/* 00498 80886AF8 AFA50024 */ sw $a1, 0x0024($sp)
/* 0049C 80886AFC 0C0175E7 */ jal Actor_CollisionCheck_SetAT
## CollisionCheck_setAT
/* 004A0 80886B00 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
/* 004A4 80886B04 8FA50024 */ lw $a1, 0x0024($sp)
/* 004A8 80886B08 8FA60020 */ lw $a2, 0x0020($sp)
/* 004AC 80886B0C 0C017713 */ jal Actor_CollisionCheck_SetOT
## CollisionCheck_setOT
/* 004B0 80886B10 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
/* 004B4 80886B14 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 004B8 80886B18 0C00BE5D */ jal func_8002F974
/* 004BC 80886B1C 24052034 */ addiu $a1, $zero, 0x2034 ## $a1 = 00002034
.L80886B20:
/* 004C0 80886B20 8FBF001C */ lw $ra, 0x001C($sp)
/* 004C4 80886B24 8FB00014 */ lw $s0, 0x0014($sp)
/* 004C8 80886B28 8FB10018 */ lw $s1, 0x0018($sp)
/* 004CC 80886B2C 03E00008 */ jr $ra
/* 004D0 80886B30 27BD0030 */ addiu $sp, $sp, 0x0030 ## $sp = 00000000

View file

@ -1,31 +0,0 @@
glabel func_80886728
/* 000C8 80886728 27BDFFD8 */ addiu $sp, $sp, 0xFFD8 ## $sp = FFFFFFD8
/* 000CC 8088672C AFBF0014 */ sw $ra, 0x0014($sp)
/* 000D0 80886730 8CA21C44 */ lw $v0, 0x1C44($a1) ## 00001C44
/* 000D4 80886734 27A50018 */ addiu $a1, $sp, 0x0018 ## $a1 = FFFFFFF0
/* 000D8 80886738 0C00B6F4 */ jal func_8002DBD0
/* 000DC 8088673C 24460024 */ addiu $a2, $v0, 0x0024 ## $a2 = 00000024
/* 000E0 80886740 C7A00018 */ lwc1 $f0, 0x0018($sp)
/* 000E4 80886744 3C0142C8 */ lui $at, 0x42C8 ## $at = 42C80000
/* 000E8 80886748 44812000 */ mtc1 $at, $f4 ## $f4 = 100.00
/* 000EC 8088674C 46000005 */ abs.s $f0, $f0
/* 000F0 80886750 3C0142F0 */ lui $at, 0x42F0 ## $at = 42F00000
/* 000F4 80886754 4604003C */ c.lt.s $f0, $f4
/* 000F8 80886758 C7A00020 */ lwc1 $f0, 0x0020($sp)
/* 000FC 8088675C 8FBF0014 */ lw $ra, 0x0014($sp)
/* 00100 80886760 00001025 */ or $v0, $zero, $zero ## $v0 = 00000000
/* 00104 80886764 45000009 */ bc1f .L8088678C
/* 00108 80886768 00000000 */ nop
/* 0010C 8088676C 44813000 */ mtc1 $at, $f6 ## $f6 = 120.00
/* 00110 80886770 46000005 */ abs.s $f0, $f0
/* 00114 80886774 4606003C */ c.lt.s $f0, $f6
/* 00118 80886778 00000000 */ nop
/* 0011C 8088677C 45000003 */ bc1f .L8088678C
/* 00120 80886780 00000000 */ nop
/* 00124 80886784 10000001 */ beq $zero, $zero, .L8088678C
/* 00128 80886788 24020001 */ addiu $v0, $zero, 0x0001 ## $v0 = 00000001
.L8088678C:
/* 0012C 8088678C 03E00008 */ jr $ra
/* 00130 80886790 27BD0028 */ addiu $sp, $sp, 0x0028 ## $sp = 00000000

View file

@ -1,22 +0,0 @@
glabel func_80886794
/* 00134 80886794 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 00138 80886798 AFBF0014 */ sw $ra, 0x0014($sp)
/* 0013C 8088679C 0C2219CA */ jal func_80886728
/* 00140 808867A0 AFA40018 */ sw $a0, 0x0018($sp)
/* 00144 808867A4 10400009 */ beq $v0, $zero, .L808867CC
/* 00148 808867A8 8FA40018 */ lw $a0, 0x0018($sp)
/* 0014C 808867AC 3C0E8088 */ lui $t6, %hi(func_80886B34) ## $t6 = 80880000
/* 00150 808867B0 3C188088 */ lui $t8, %hi(func_808867DC) ## $t8 = 80880000
/* 00154 808867B4 25CE6B34 */ addiu $t6, $t6, %lo(func_80886B34) ## $t6 = 80886B34
/* 00158 808867B8 240F0005 */ addiu $t7, $zero, 0x0005 ## $t7 = 00000005
/* 0015C 808867BC 271867DC */ addiu $t8, $t8, %lo(func_808867DC) ## $t8 = 808867DC
/* 00160 808867C0 AC8E0134 */ sw $t6, 0x0134($a0) ## 00000134
/* 00164 808867C4 A48F001C */ sh $t7, 0x001C($a0) ## 0000001C
/* 00168 808867C8 AC98014C */ sw $t8, 0x014C($a0) ## 0000014C
.L808867CC:
/* 0016C 808867CC 8FBF0014 */ lw $ra, 0x0014($sp)
/* 00170 808867D0 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
/* 00174 808867D4 03E00008 */ jr $ra
/* 00178 808867D8 00000000 */ nop

View file

@ -1,18 +0,0 @@
glabel func_808867DC
/* 0017C 808867DC AFA50004 */ sw $a1, 0x0004($sp)
/* 00180 808867E0 8482001C */ lh $v0, 0x001C($a0) ## 0000001C
/* 00184 808867E4 3C0F8088 */ lui $t7, %hi(func_80886810) ## $t7 = 80880000
/* 00188 808867E8 25EF6810 */ addiu $t7, $t7, %lo(func_80886810) ## $t7 = 80886810
/* 0018C 808867EC 10400003 */ beq $v0, $zero, .L808867FC
/* 00190 808867F0 244EFFFF */ addiu $t6, $v0, 0xFFFF ## $t6 = FFFFFFFF
/* 00194 808867F4 A48E001C */ sh $t6, 0x001C($a0) ## 0000001C
/* 00198 808867F8 8482001C */ lh $v0, 0x001C($a0) ## 0000001C
.L808867FC:
/* 0019C 808867FC 14400002 */ bne $v0, $zero, .L80886808
/* 001A0 80886800 00000000 */ nop
/* 001A4 80886804 AC8F014C */ sw $t7, 0x014C($a0) ## 0000014C
.L80886808:
/* 001A8 80886808 03E00008 */ jr $ra
/* 001AC 8088680C 00000000 */ nop

View file

@ -1,43 +0,0 @@
glabel func_80886810
/* 001B0 80886810 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 001B4 80886814 AFBF0014 */ sw $ra, 0x0014($sp)
/* 001B8 80886818 0C2219CA */ jal func_80886728
/* 001BC 8088681C AFA40018 */ sw $a0, 0x0018($sp)
/* 001C0 80886820 10400009 */ beq $v0, $zero, .L80886848
/* 001C4 80886824 8FA70018 */ lw $a3, 0x0018($sp)
/* 001C8 80886828 3C053DCC */ lui $a1, 0x3DCC ## $a1 = 3DCC0000
/* 001CC 8088682C 3C063CCC */ lui $a2, 0x3CCC ## $a2 = 3CCC0000
/* 001D0 80886830 34C6CCCC */ ori $a2, $a2, 0xCCCC ## $a2 = 3CCCCCCC
/* 001D4 80886834 34A5CCCD */ ori $a1, $a1, 0xCCCD ## $a1 = 3DCCCCCD
/* 001D8 80886838 0C01DE80 */ jal Math_ApproxF
/* 001DC 8088683C 24E40054 */ addiu $a0, $a3, 0x0054 ## $a0 = 00000054
/* 001E0 80886840 10000012 */ beq $zero, $zero, .L8088688C
/* 001E4 80886844 8FBF0014 */ lw $ra, 0x0014($sp)
.L80886848:
/* 001E8 80886848 3C018088 */ lui $at, %hi(D_80886D8C) ## $at = 80880000
/* 001EC 8088684C C4206D8C */ lwc1 $f0, %lo(D_80886D8C)($at)
/* 001F0 80886850 24E40054 */ addiu $a0, $a3, 0x0054 ## $a0 = 00000054
/* 001F4 80886854 AFA70018 */ sw $a3, 0x0018($sp)
/* 001F8 80886858 44050000 */ mfc1 $a1, $f0
/* 001FC 8088685C 44060000 */ mfc1 $a2, $f0
/* 00200 80886860 0C01DE80 */ jal Math_ApproxF
/* 00204 80886864 00000000 */ nop
/* 00208 80886868 10400006 */ beq $v0, $zero, .L80886884
/* 0020C 8088686C 8FA70018 */ lw $a3, 0x0018($sp)
/* 00210 80886870 3C0E8088 */ lui $t6, %hi(func_80886794) ## $t6 = 80880000
/* 00214 80886874 25CE6794 */ addiu $t6, $t6, %lo(func_80886794) ## $t6 = 80886794
/* 00218 80886878 ACE00134 */ sw $zero, 0x0134($a3) ## 00000134
/* 0021C 8088687C 10000002 */ beq $zero, $zero, .L80886888
/* 00220 80886880 ACEE014C */ sw $t6, 0x014C($a3) ## 0000014C
.L80886884:
/* 00224 80886884 A4E0001C */ sh $zero, 0x001C($a3) ## 0000001C
.L80886888:
/* 00228 80886888 8FBF0014 */ lw $ra, 0x0014($sp)
.L8088688C:
/* 0022C 8088688C 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
/* 00230 80886890 03E00008 */ jr $ra
/* 00234 80886894 00000000 */ nop

View file

@ -1,30 +0,0 @@
glabel func_80886898
/* 00238 80886898 27BDFFE0 */ addiu $sp, $sp, 0xFFE0 ## $sp = FFFFFFE0
/* 0023C 8088689C AFBF001C */ sw $ra, 0x001C($sp)
/* 00240 808868A0 AFA50024 */ sw $a1, 0x0024($sp)
/* 00244 808868A4 AFA40020 */ sw $a0, 0x0020($sp)
/* 00248 808868A8 0C00B821 */ jal func_8002E084
/* 0024C 808868AC 24054000 */ addiu $a1, $zero, 0x4000 ## $a1 = 00004000
/* 00250 808868B0 10400003 */ beq $v0, $zero, .L808868C0
/* 00254 808868B4 8FA50020 */ lw $a1, 0x0020($sp)
/* 00258 808868B8 10000006 */ beq $zero, $zero, .L808868D4
/* 0025C 808868BC 84A700B6 */ lh $a3, 0x00B6($a1) ## 000000B6
.L808868C0:
/* 00260 808868C0 84A700B6 */ lh $a3, 0x00B6($a1) ## 000000B6
/* 00264 808868C4 34018000 */ ori $at, $zero, 0x8000 ## $at = 00008000
/* 00268 808868C8 00E13821 */ addu $a3, $a3, $at
/* 0026C 808868CC 00073C00 */ sll $a3, $a3, 16
/* 00270 808868D0 00073C03 */ sra $a3, $a3, 16
.L808868D4:
/* 00274 808868D4 3C013F80 */ lui $at, 0x3F80 ## $at = 3F800000
/* 00278 808868D8 44812000 */ mtc1 $at, $f4 ## $f4 = 1.00
/* 0027C 808868DC 8FA40024 */ lw $a0, 0x0024($sp)
/* 00280 808868E0 3C0640A0 */ lui $a2, 0x40A0 ## $a2 = 40A00000
/* 00284 808868E4 0C00BDC7 */ jal func_8002F71C
/* 00288 808868E8 E7A40010 */ swc1 $f4, 0x0010($sp)
/* 0028C 808868EC 8FBF001C */ lw $ra, 0x001C($sp)
/* 00290 808868F0 27BD0020 */ addiu $sp, $sp, 0x0020 ## $sp = 00000000
/* 00294 808868F4 03E00008 */ jr $ra
/* 00298 808868F8 00000000 */ nop

View file

@ -1,99 +0,0 @@
glabel func_808868FC
/* 0029C 808868FC 27BDFFC0 */ addiu $sp, $sp, 0xFFC0 ## $sp = FFFFFFC0
/* 002A0 80886900 AFBF001C */ sw $ra, 0x001C($sp)
/* 002A4 80886904 AFB00018 */ sw $s0, 0x0018($sp)
/* 002A8 80886908 8CA21C44 */ lw $v0, 0x1C44($a1) ## 00001C44
/* 002AC 8088690C 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 002B0 80886910 27A50030 */ addiu $a1, $sp, 0x0030 ## $a1 = FFFFFFF0
/* 002B4 80886914 0C00B6F4 */ jal func_8002DBD0
/* 002B8 80886918 24460024 */ addiu $a2, $v0, 0x0024 ## $a2 = 00000024
/* 002BC 8088691C 3C01C28C */ lui $at, 0xC28C ## $at = C28C0000
/* 002C0 80886920 44810000 */ mtc1 $at, $f0 ## $f0 = -70.00
/* 002C4 80886924 C7A20030 */ lwc1 $f2, 0x0030($sp)
/* 002C8 80886928 3C01428C */ lui $at, 0x428C ## $at = 428C0000
/* 002CC 8088692C 4600103C */ c.lt.s $f2, $f0
/* 002D0 80886930 00000000 */ nop
/* 002D4 80886934 45020004 */ bc1fl .L80886948
/* 002D8 80886938 44816000 */ mtc1 $at, $f12 ## $f12 = 70.00
/* 002DC 8088693C 1000000B */ beq $zero, $zero, .L8088696C
/* 002E0 80886940 E7A00030 */ swc1 $f0, 0x0030($sp)
/* 002E4 80886944 44816000 */ mtc1 $at, $f12 ## $f12 = 70.00
.L80886948:
/* 002E8 80886948 00000000 */ nop
/* 002EC 8088694C 4602603C */ c.lt.s $f12, $f2
/* 002F0 80886950 00000000 */ nop
/* 002F4 80886954 45020004 */ bc1fl .L80886968
/* 002F8 80886958 46001006 */ mov.s $f0, $f2
/* 002FC 8088695C 10000002 */ beq $zero, $zero, .L80886968
/* 00300 80886960 46006006 */ mov.s $f0, $f12
/* 00304 80886964 46001006 */ mov.s $f0, $f2
.L80886968:
/* 00308 80886968 E7A00030 */ swc1 $f0, 0x0030($sp)
.L8088696C:
/* 0030C 8088696C 8602001C */ lh $v0, 0x001C($s0) ## 0000001C
/* 00310 80886970 C7A60038 */ lwc1 $f6, 0x0038($sp)
/* 00314 80886974 54400013 */ bnel $v0, $zero, .L808869C4
/* 00318 80886978 44828000 */ mtc1 $v0, $f16 ## $f16 = 0.00
/* 0031C 8088697C 44802000 */ mtc1 $zero, $f4 ## $f4 = 0.00
/* 00320 80886980 3C0141C8 */ lui $at, 0x41C8 ## $at = 41C80000
/* 00324 80886984 4606203C */ c.lt.s $f4, $f6
/* 00328 80886988 00000000 */ nop
/* 0032C 8088698C 45020008 */ bc1fl .L808869B0
/* 00330 80886990 44815000 */ mtc1 $at, $f10 ## $f10 = 25.00
/* 00334 80886994 3C01C1C8 */ lui $at, 0xC1C8 ## $at = C1C80000
/* 00338 80886998 44814000 */ mtc1 $at, $f8 ## $f8 = -25.00
/* 0033C 8088699C 240EFFFF */ addiu $t6, $zero, 0xFFFF ## $t6 = FFFFFFFF
/* 00340 808869A0 E7A80038 */ swc1 $f8, 0x0038($sp)
/* 00344 808869A4 1000000C */ beq $zero, $zero, .L808869D8
/* 00348 808869A8 A60E001C */ sh $t6, 0x001C($s0) ## 0000001C
/* 0034C 808869AC 44815000 */ mtc1 $at, $f10 ## $f10 = -25.00
.L808869B0:
/* 00350 808869B0 240F0001 */ addiu $t7, $zero, 0x0001 ## $t7 = 00000001
/* 00354 808869B4 E7AA0038 */ swc1 $f10, 0x0038($sp)
/* 00358 808869B8 10000007 */ beq $zero, $zero, .L808869D8
/* 0035C 808869BC A60F001C */ sh $t7, 0x001C($s0) ## 0000001C
/* 00360 808869C0 44828000 */ mtc1 $v0, $f16 ## $f16 = 0.00
.L808869C4:
/* 00364 808869C4 3C0141C8 */ lui $at, 0x41C8 ## $at = 41C80000
/* 00368 808869C8 44812000 */ mtc1 $at, $f4 ## $f4 = 25.00
/* 0036C 808869CC 468084A0 */ cvt.s.w $f18, $f16
/* 00370 808869D0 46049182 */ mul.s $f6, $f18, $f4
/* 00374 808869D4 E7A60038 */ swc1 $f6, 0x0038($sp)
.L808869D8:
/* 00378 808869D8 0C01DE1C */ jal Math_Sins
## sins?
/* 0037C 808869DC 860400B6 */ lh $a0, 0x00B6($s0) ## 000000B6
/* 00380 808869E0 860400B6 */ lh $a0, 0x00B6($s0) ## 000000B6
/* 00384 808869E4 0C01DE0D */ jal Math_Coss
## coss?
/* 00388 808869E8 E7A00028 */ swc1 $f0, 0x0028($sp)
/* 0038C 808869EC C7AA0030 */ lwc1 $f10, 0x0030($sp)
/* 00390 808869F0 C7A20028 */ lwc1 $f2, 0x0028($sp)
/* 00394 808869F4 C7A40038 */ lwc1 $f4, 0x0038($sp)
/* 00398 808869F8 46005402 */ mul.s $f16, $f10, $f0
/* 0039C 808869FC C6080024 */ lwc1 $f8, 0x0024($s0) ## 00000024
/* 003A0 80886A00 46022182 */ mul.s $f6, $f4, $f2
/* 003A4 80886A04 46104480 */ add.s $f18, $f8, $f16
/* 003A8 80886A08 C610002C */ lwc1 $f16, 0x002C($s0) ## 0000002C
/* 003AC 80886A0C 46069280 */ add.s $f10, $f18, $f6
/* 003B0 80886A10 4600520D */ trunc.w.s $f8, $f10
/* 003B4 80886A14 44194000 */ mfc1 $t9, $f8
/* 003B8 80886A18 00000000 */ nop
/* 003BC 80886A1C A619019A */ sh $t9, 0x019A($s0) ## 0000019A
/* 003C0 80886A20 C7A40030 */ lwc1 $f4, 0x0030($sp)
/* 003C4 80886A24 C7AA0038 */ lwc1 $f10, 0x0038($sp)
/* 003C8 80886A28 46022482 */ mul.s $f18, $f4, $f2
/* 003CC 80886A2C 46128181 */ sub.s $f6, $f16, $f18
/* 003D0 80886A30 46005202 */ mul.s $f8, $f10, $f0
/* 003D4 80886A34 46083100 */ add.s $f4, $f6, $f8
/* 003D8 80886A38 4600240D */ trunc.w.s $f16, $f4
/* 003DC 80886A3C 44098000 */ mfc1 $t1, $f16
/* 003E0 80886A40 00000000 */ nop
/* 003E4 80886A44 A609019E */ sh $t1, 0x019E($s0) ## 0000019E
/* 003E8 80886A48 8FBF001C */ lw $ra, 0x001C($sp)
/* 003EC 80886A4C 8FB00018 */ lw $s0, 0x0018($sp)
/* 003F0 80886A50 27BD0040 */ addiu $sp, $sp, 0x0040 ## $sp = 00000000
/* 003F4 80886A54 03E00008 */ jr $ra
/* 003F8 80886A58 00000000 */ nop

View file

@ -1,97 +0,0 @@
glabel func_80886B34
/* 004D4 80886B34 27BDFFB0 */ addiu $sp, $sp, 0xFFB0 ## $sp = FFFFFFB0
/* 004D8 80886B38 AFBF001C */ sw $ra, 0x001C($sp)
/* 004DC 80886B3C AFB00018 */ sw $s0, 0x0018($sp)
/* 004E0 80886B40 AFA40050 */ sw $a0, 0x0050($sp)
/* 004E4 80886B44 AFA50054 */ sw $a1, 0x0054($sp)
/* 004E8 80886B48 8CA50000 */ lw $a1, 0x0000($a1) ## 00000000
/* 004EC 80886B4C 3C068088 */ lui $a2, %hi(D_80886D30) ## $a2 = 80880000
/* 004F0 80886B50 24C66D30 */ addiu $a2, $a2, %lo(D_80886D30) ## $a2 = 80886D30
/* 004F4 80886B54 27A40038 */ addiu $a0, $sp, 0x0038 ## $a0 = FFFFFFE8
/* 004F8 80886B58 240701C0 */ addiu $a3, $zero, 0x01C0 ## $a3 = 000001C0
/* 004FC 80886B5C 0C031AB1 */ jal Graph_OpenDisps
/* 00500 80886B60 00A08025 */ or $s0, $a1, $zero ## $s0 = 00000000
/* 00504 80886B64 8E0402D0 */ lw $a0, 0x02D0($s0) ## 000002D0
/* 00508 80886B68 0C024DDD */ jal Gfx_CallSetupDL
/* 0050C 80886B6C 24050014 */ addiu $a1, $zero, 0x0014 ## $a1 = 00000014
/* 00510 80886B70 AE0202D0 */ sw $v0, 0x02D0($s0) ## 000002D0
/* 00514 80886B74 244F0008 */ addiu $t7, $v0, 0x0008 ## $t7 = 00000008
/* 00518 80886B78 3C18DB06 */ lui $t8, 0xDB06 ## $t8 = DB060000
/* 0051C 80886B7C 37180020 */ ori $t8, $t8, 0x0020 ## $t8 = DB060020
/* 00520 80886B80 AE0F02D0 */ sw $t7, 0x02D0($s0) ## 000002D0
/* 00524 80886B84 AC580000 */ sw $t8, 0x0000($v0) ## 00000000
/* 00528 80886B88 8FB90050 */ lw $t9, 0x0050($sp)
/* 0052C 80886B8C 3C048088 */ lui $a0, %hi(D_80886D04) ## $a0 = 80880000
/* 00530 80886B90 3C0E8016 */ lui $t6, 0x8016 ## $t6 = 80160000
/* 00534 80886B94 87280150 */ lh $t0, 0x0150($t9) ## 00000150
/* 00538 80886B98 3C0100FF */ lui $at, 0x00FF ## $at = 00FF0000
/* 0053C 80886B9C 3421FFFF */ ori $at, $at, 0xFFFF ## $at = 00FFFFFF
/* 00540 80886BA0 00084880 */ sll $t1, $t0, 2
/* 00544 80886BA4 00892021 */ addu $a0, $a0, $t1
/* 00548 80886BA8 8C846D04 */ lw $a0, %lo(D_80886D04)($a0)
/* 0054C 80886BAC 3C09FFFF */ lui $t1, 0xFFFF ## $t1 = FFFF0000
/* 00550 80886BB0 3C08FA00 */ lui $t0, 0xFA00 ## $t0 = FA000000
/* 00554 80886BB4 00045900 */ sll $t3, $a0, 4
/* 00558 80886BB8 000B6702 */ srl $t4, $t3, 28
/* 0055C 80886BBC 000C6880 */ sll $t5, $t4, 2
/* 00560 80886BC0 01CD7021 */ addu $t6, $t6, $t5
/* 00564 80886BC4 8DCE6FA8 */ lw $t6, 0x6FA8($t6) ## 80166FA8
/* 00568 80886BC8 00815024 */ and $t2, $a0, $at
/* 0056C 80886BCC 3C018000 */ lui $at, 0x8000 ## $at = 80000000
/* 00570 80886BD0 014E7821 */ addu $t7, $t2, $t6
/* 00574 80886BD4 01E1C021 */ addu $t8, $t7, $at
/* 00578 80886BD8 AC580004 */ sw $t8, 0x0004($v0) ## 00000004
/* 0057C 80886BDC 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0
/* 00580 80886BE0 35080001 */ ori $t0, $t0, 0x0001 ## $t0 = FA000001
/* 00584 80886BE4 35290096 */ ori $t1, $t1, 0x0096 ## $t1 = FFFF0096
/* 00588 80886BE8 24590008 */ addiu $t9, $v0, 0x0008 ## $t9 = 00000008
/* 0058C 80886BEC AE1902D0 */ sw $t9, 0x02D0($s0) ## 000002D0
/* 00590 80886BF0 AC480000 */ sw $t0, 0x0000($v0) ## 00000000
/* 00594 80886BF4 AC490004 */ sw $t1, 0x0004($v0) ## 00000004
/* 00598 80886BF8 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0
/* 0059C 80886BFC 3C0DFF00 */ lui $t5, 0xFF00 ## $t5 = FF000000
/* 005A0 80886C00 35AD00FF */ ori $t5, $t5, 0x00FF ## $t5 = FF0000FF
/* 005A4 80886C04 244B0008 */ addiu $t3, $v0, 0x0008 ## $t3 = 00000008
/* 005A8 80886C08 AE0B02D0 */ sw $t3, 0x02D0($s0) ## 000002D0
/* 005AC 80886C0C 3C0CFB00 */ lui $t4, 0xFB00 ## $t4 = FB000000
/* 005B0 80886C10 AC4C0000 */ sw $t4, 0x0000($v0) ## 00000000
/* 005B4 80886C14 AC4D0004 */ sw $t5, 0x0004($v0) ## 00000004
/* 005B8 80886C18 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0
/* 005BC 80886C1C 3C0EDA38 */ lui $t6, 0xDA38 ## $t6 = DA380000
/* 005C0 80886C20 35CE0003 */ ori $t6, $t6, 0x0003 ## $t6 = DA380003
/* 005C4 80886C24 244A0008 */ addiu $t2, $v0, 0x0008 ## $t2 = 00000008
/* 005C8 80886C28 AE0A02D0 */ sw $t2, 0x02D0($s0) ## 000002D0
/* 005CC 80886C2C AC4E0000 */ sw $t6, 0x0000($v0) ## 00000000
/* 005D0 80886C30 8FAF0054 */ lw $t7, 0x0054($sp)
/* 005D4 80886C34 3C058088 */ lui $a1, %hi(D_80886D4C) ## $a1 = 80880000
/* 005D8 80886C38 24A56D4C */ addiu $a1, $a1, %lo(D_80886D4C) ## $a1 = 80886D4C
/* 005DC 80886C3C 8DE40000 */ lw $a0, 0x0000($t7) ## 00000008
/* 005E0 80886C40 240601CA */ addiu $a2, $zero, 0x01CA ## $a2 = 000001CA
/* 005E4 80886C44 0C0346A2 */ jal Matrix_NewMtx
/* 005E8 80886C48 AFA20028 */ sw $v0, 0x0028($sp)
/* 005EC 80886C4C 8FA30028 */ lw $v1, 0x0028($sp)
/* 005F0 80886C50 3C080601 */ lui $t0, 0x0601 ## $t0 = 06010000
/* 005F4 80886C54 2508DA80 */ addiu $t0, $t0, 0xDA80 ## $t0 = 0600DA80
/* 005F8 80886C58 AC620004 */ sw $v0, 0x0004($v1) ## 00000004
/* 005FC 80886C5C 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0
/* 00600 80886C60 3C19DE00 */ lui $t9, 0xDE00 ## $t9 = DE000000
/* 00604 80886C64 3C068088 */ lui $a2, %hi(D_80886D68) ## $a2 = 80880000
/* 00608 80886C68 24580008 */ addiu $t8, $v0, 0x0008 ## $t8 = 00000008
/* 0060C 80886C6C AE1802D0 */ sw $t8, 0x02D0($s0) ## 000002D0
/* 00610 80886C70 AC480004 */ sw $t0, 0x0004($v0) ## 00000004
/* 00614 80886C74 AC590000 */ sw $t9, 0x0000($v0) ## 00000000
/* 00618 80886C78 8FA90054 */ lw $t1, 0x0054($sp)
/* 0061C 80886C7C 24C66D68 */ addiu $a2, $a2, %lo(D_80886D68) ## $a2 = 80886D68
/* 00620 80886C80 27A40038 */ addiu $a0, $sp, 0x0038 ## $a0 = FFFFFFE8
/* 00624 80886C84 240701CF */ addiu $a3, $zero, 0x01CF ## $a3 = 000001CF
/* 00628 80886C88 0C031AD5 */ jal Graph_CloseDisps
/* 0062C 80886C8C 8D250000 */ lw $a1, 0x0000($t1) ## 00000000
/* 00630 80886C90 8FBF001C */ lw $ra, 0x001C($sp)
/* 00634 80886C94 8FB00018 */ lw $s0, 0x0018($sp)
/* 00638 80886C98 27BD0050 */ addiu $sp, $sp, 0x0050 ## $sp = 00000000
/* 0063C 80886C9C 03E00008 */ jr $ra
/* 00640 80886CA0 00000000 */ nop
/* 00644 80886CA4 00000000 */ nop
/* 00648 80886CA8 00000000 */ nop
/* 0064C 80886CAC 00000000 */ nop

View file

@ -1,14 +0,0 @@
glabel EnAni_Destroy
/* 0011C 809B048C 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 00120 809B0490 00803025 */ or $a2, $a0, $zero ## $a2 = 00000000
/* 00124 809B0494 AFBF0014 */ sw $ra, 0x0014($sp)
/* 00128 809B0498 00A02025 */ or $a0, $a1, $zero ## $a0 = 00000000
/* 0012C 809B049C 0C0170EB */ jal ActorCollider_FreeCylinder
/* 00130 809B04A0 24C5014C */ addiu $a1, $a2, 0x014C ## $a1 = 0000014C
/* 00134 809B04A4 8FBF0014 */ lw $ra, 0x0014($sp)
/* 00138 809B04A8 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
/* 0013C 809B04AC 03E00008 */ jr $ra
/* 00140 809B04B0 00000000 */ nop

View file

@ -1,69 +0,0 @@
glabel EnAni_Draw
/* 00AA4 809B0E14 27BDFFA8 */ addiu $sp, $sp, 0xFFA8 ## $sp = FFFFFFA8
/* 00AA8 809B0E18 AFBF002C */ sw $ra, 0x002C($sp)
/* 00AAC 809B0E1C AFB00028 */ sw $s0, 0x0028($sp)
/* 00AB0 809B0E20 AFA5005C */ sw $a1, 0x005C($sp)
/* 00AB4 809B0E24 8CA50000 */ lw $a1, 0x0000($a1) ## 00000000
/* 00AB8 809B0E28 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 00ABC 809B0E2C 3C06809B */ lui $a2, %hi(D_809B0F90) ## $a2 = 809B0000
/* 00AC0 809B0E30 24C60F90 */ addiu $a2, $a2, %lo(D_809B0F90) ## $a2 = 809B0F90
/* 00AC4 809B0E34 27A4003C */ addiu $a0, $sp, 0x003C ## $a0 = FFFFFFE4
/* 00AC8 809B0E38 240702CF */ addiu $a3, $zero, 0x02CF ## $a3 = 000002CF
/* 00ACC 809B0E3C 0C031AB1 */ jal Graph_OpenDisps
/* 00AD0 809B0E40 AFA5004C */ sw $a1, 0x004C($sp)
/* 00AD4 809B0E44 8FAF005C */ lw $t7, 0x005C($sp)
/* 00AD8 809B0E48 0C0250F2 */ jal func_800943C8
/* 00ADC 809B0E4C 8DE40000 */ lw $a0, 0x0000($t7) ## 00000000
/* 00AE0 809B0E50 8FA5004C */ lw $a1, 0x004C($sp)
/* 00AE4 809B0E54 3C19DB06 */ lui $t9, 0xDB06 ## $t9 = DB060000
/* 00AE8 809B0E58 37390020 */ ori $t9, $t9, 0x0020 ## $t9 = DB060020
/* 00AEC 809B0E5C 8CA302C0 */ lw $v1, 0x02C0($a1) ## 000002C0
/* 00AF0 809B0E60 3C04809B */ lui $a0, %hi(D_809B0F80) ## $a0 = 809B0000
/* 00AF4 809B0E64 3C0E8016 */ lui $t6, 0x8016 ## $t6 = 80160000
/* 00AF8 809B0E68 24780008 */ addiu $t8, $v1, 0x0008 ## $t8 = 00000008
/* 00AFC 809B0E6C ACB802C0 */ sw $t8, 0x02C0($a1) ## 000002C0
/* 00B00 809B0E70 AC790000 */ sw $t9, 0x0000($v1) ## 00000000
/* 00B04 809B0E74 860802AC */ lh $t0, 0x02AC($s0) ## 000002AC
/* 00B08 809B0E78 3C0100FF */ lui $at, 0x00FF ## $at = 00FF0000
/* 00B0C 809B0E7C 3421FFFF */ ori $at, $at, 0xFFFF ## $at = 00FFFFFF
/* 00B10 809B0E80 00084880 */ sll $t1, $t0, 2
/* 00B14 809B0E84 00892021 */ addu $a0, $a0, $t1
/* 00B18 809B0E88 8C840F80 */ lw $a0, %lo(D_809B0F80)($a0)
/* 00B1C 809B0E8C 3C08809B */ lui $t0, %hi(func_809B0DD4) ## $t0 = 809B0000
/* 00B20 809B0E90 3C19809B */ lui $t9, %hi(func_809B0D90) ## $t9 = 809B0000
/* 00B24 809B0E94 00045900 */ sll $t3, $a0, 4
/* 00B28 809B0E98 000B6702 */ srl $t4, $t3, 28
/* 00B2C 809B0E9C 000C6880 */ sll $t5, $t4, 2
/* 00B30 809B0EA0 01CD7021 */ addu $t6, $t6, $t5
/* 00B34 809B0EA4 8DCE6FA8 */ lw $t6, 0x6FA8($t6) ## 80166FA8
/* 00B38 809B0EA8 00815024 */ and $t2, $a0, $at
/* 00B3C 809B0EAC 3C018000 */ lui $at, 0x8000 ## $at = 80000000
/* 00B40 809B0EB0 014E7821 */ addu $t7, $t2, $t6
/* 00B44 809B0EB4 01E1C021 */ addu $t8, $t7, $at
/* 00B48 809B0EB8 AC780004 */ sw $t8, 0x0004($v1) ## 00000004
/* 00B4C 809B0EBC 9207019A */ lbu $a3, 0x019A($s0) ## 0000019A
/* 00B50 809B0EC0 8E0601B8 */ lw $a2, 0x01B8($s0) ## 000001B8
/* 00B54 809B0EC4 8E05019C */ lw $a1, 0x019C($s0) ## 0000019C
/* 00B58 809B0EC8 27390D90 */ addiu $t9, $t9, %lo(func_809B0D90) ## $t9 = 809B0D90
/* 00B5C 809B0ECC 25080DD4 */ addiu $t0, $t0, %lo(func_809B0DD4) ## $t0 = 809B0DD4
/* 00B60 809B0ED0 AFA80014 */ sw $t0, 0x0014($sp)
/* 00B64 809B0ED4 AFB90010 */ sw $t9, 0x0010($sp)
/* 00B68 809B0ED8 AFB00018 */ sw $s0, 0x0018($sp)
/* 00B6C 809B0EDC 0C0286B2 */ jal SkelAnime_DrawSV
/* 00B70 809B0EE0 8FA4005C */ lw $a0, 0x005C($sp)
/* 00B74 809B0EE4 8FA9005C */ lw $t1, 0x005C($sp)
/* 00B78 809B0EE8 3C06809B */ lui $a2, %hi(D_809B0FA0) ## $a2 = 809B0000
/* 00B7C 809B0EEC 24C60FA0 */ addiu $a2, $a2, %lo(D_809B0FA0) ## $a2 = 809B0FA0
/* 00B80 809B0EF0 27A4003C */ addiu $a0, $sp, 0x003C ## $a0 = FFFFFFE4
/* 00B84 809B0EF4 240702E0 */ addiu $a3, $zero, 0x02E0 ## $a3 = 000002E0
/* 00B88 809B0EF8 0C031AD5 */ jal Graph_CloseDisps
/* 00B8C 809B0EFC 8D250000 */ lw $a1, 0x0000($t1) ## 00000000
/* 00B90 809B0F00 8FBF002C */ lw $ra, 0x002C($sp)
/* 00B94 809B0F04 8FB00028 */ lw $s0, 0x0028($sp)
/* 00B98 809B0F08 27BD0058 */ addiu $sp, $sp, 0x0058 ## $sp = 00000000
/* 00B9C 809B0F0C 03E00008 */ jr $ra
/* 00BA0 809B0F10 00000000 */ nop
/* 00BA4 809B0F14 00000000 */ nop
/* 00BA8 809B0F18 00000000 */ nop
/* 00BAC 809B0F1C 00000000 */ nop

View file

@ -1,78 +0,0 @@
glabel EnAni_Init
/* 00008 809B0378 27BDFFC0 */ addiu $sp, $sp, 0xFFC0 ## $sp = FFFFFFC0
/* 0000C 809B037C AFA50044 */ sw $a1, 0x0044($sp)
/* 00010 809B0380 AFBF002C */ sw $ra, 0x002C($sp)
/* 00014 809B0384 AFB00028 */ sw $s0, 0x0028($sp)
/* 00018 809B0388 3C05809B */ lui $a1, %hi(D_809B0F6C) ## $a1 = 809B0000
/* 0001C 809B038C 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 00020 809B0390 0C01E037 */ jal Actor_ProcessInitChain
/* 00024 809B0394 24A50F6C */ addiu $a1, $a1, %lo(D_809B0F6C) ## $a1 = 809B0F6C
/* 00028 809B0398 3C068003 */ lui $a2, 0x8003 ## $a2 = 80030000
/* 0002C 809B039C 24C6B5EC */ addiu $a2, $a2, 0xB5EC ## $a2 = 8002B5EC
/* 00030 809B03A0 260400B4 */ addiu $a0, $s0, 0x00B4 ## $a0 = 000000B4
/* 00034 809B03A4 3C05C52F */ lui $a1, 0xC52F ## $a1 = C52F0000
/* 00038 809B03A8 0C00AC78 */ jal ActorShape_Init
/* 0003C 809B03AC 3C074210 */ lui $a3, 0x4210 ## $a3 = 42100000
/* 00040 809B03B0 26050198 */ addiu $a1, $s0, 0x0198 ## $a1 = 00000198
/* 00044 809B03B4 3C060600 */ lui $a2, 0x0600 ## $a2 = 06000000
/* 00048 809B03B8 3C070600 */ lui $a3, 0x0600 ## $a3 = 06000000
/* 0004C 809B03BC 260E01DC */ addiu $t6, $s0, 0x01DC ## $t6 = 000001DC
/* 00050 809B03C0 260F023C */ addiu $t7, $s0, 0x023C ## $t7 = 0000023C
/* 00054 809B03C4 24180010 */ addiu $t8, $zero, 0x0010 ## $t8 = 00000010
/* 00058 809B03C8 AFB80018 */ sw $t8, 0x0018($sp)
/* 0005C 809B03CC AFAF0014 */ sw $t7, 0x0014($sp)
/* 00060 809B03D0 AFAE0010 */ sw $t6, 0x0010($sp)
/* 00064 809B03D4 24E776EC */ addiu $a3, $a3, 0x76EC ## $a3 = 060076EC
/* 00068 809B03D8 24C600F0 */ addiu $a2, $a2, 0x00F0 ## $a2 = 060000F0
/* 0006C 809B03DC AFA50034 */ sw $a1, 0x0034($sp)
/* 00070 809B03E0 0C0291BE */ jal SkelAnime_InitSV
/* 00074 809B03E4 8FA40044 */ lw $a0, 0x0044($sp)
/* 00078 809B03E8 3C050600 */ lui $a1, 0x0600 ## $a1 = 06000000
/* 0007C 809B03EC 24A576EC */ addiu $a1, $a1, 0x76EC ## $a1 = 060076EC
/* 00080 809B03F0 0C02947A */ jal SkelAnime_ChangeAnimDefaultStop
/* 00084 809B03F4 8FA40034 */ lw $a0, 0x0034($sp)
/* 00088 809B03F8 2605014C */ addiu $a1, $s0, 0x014C ## $a1 = 0000014C
/* 0008C 809B03FC AFA50034 */ sw $a1, 0x0034($sp)
/* 00090 809B0400 0C0170D9 */ jal ActorCollider_AllocCylinder
/* 00094 809B0404 8FA40044 */ lw $a0, 0x0044($sp)
/* 00098 809B0408 3C07809B */ lui $a3, %hi(D_809B0F40) ## $a3 = 809B0000
/* 0009C 809B040C 8FA50034 */ lw $a1, 0x0034($sp)
/* 000A0 809B0410 24E70F40 */ addiu $a3, $a3, %lo(D_809B0F40) ## $a3 = 809B0F40
/* 000A4 809B0414 8FA40044 */ lw $a0, 0x0044($sp)
/* 000A8 809B0418 0C01712B */ jal ActorCollider_InitCylinder
/* 000AC 809B041C 02003025 */ or $a2, $s0, $zero ## $a2 = 00000000
/* 000B0 809B0420 241900FF */ addiu $t9, $zero, 0x00FF ## $t9 = 000000FF
/* 000B4 809B0424 A21900AE */ sb $t9, 0x00AE($s0) ## 000000AE
/* 000B8 809B0428 3C088016 */ lui $t0, 0x8016 ## $t0 = 80160000
/* 000BC 809B042C 8D08E664 */ lw $t0, -0x199C($t0) ## 8015E664
/* 000C0 809B0430 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 000C4 809B0434 3C05809B */ lui $a1, %hi(func_809B07F8) ## $a1 = 809B0000
/* 000C8 809B0438 11000007 */ beq $t0, $zero, .L809B0458
/* 000CC 809B043C 00000000 */ nop
/* 000D0 809B0440 3C05809B */ lui $a1, %hi(func_809B064C) ## $a1 = 809B0000
/* 000D4 809B0444 24A5064C */ addiu $a1, $a1, %lo(func_809B064C) ## $a1 = 809B064C
/* 000D8 809B0448 0C26C0DC */ jal func_809B0370
/* 000DC 809B044C 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 000E0 809B0450 10000004 */ beq $zero, $zero, .L809B0464
/* 000E4 809B0454 3C01BF80 */ lui $at, 0xBF80 ## $at = BF800000
.L809B0458:
/* 000E8 809B0458 0C26C0DC */ jal func_809B0370
/* 000EC 809B045C 24A507F8 */ addiu $a1, $a1, %lo(func_809B07F8) ## $a1 = 000007F8
/* 000F0 809B0460 3C01BF80 */ lui $at, 0xBF80 ## $at = BF800000
.L809B0464:
/* 000F4 809B0464 44810000 */ mtc1 $at, $f0 ## $f0 = -1.00
/* 000F8 809B0468 A60002AA */ sh $zero, 0x02AA($s0) ## 000002AA
/* 000FC 809B046C A60002A8 */ sh $zero, 0x02A8($s0) ## 000002A8
/* 00100 809B0470 E6000070 */ swc1 $f0, 0x0070($s0) ## 00000070
/* 00104 809B0474 E6000060 */ swc1 $f0, 0x0060($s0) ## 00000060
/* 00108 809B0478 8FBF002C */ lw $ra, 0x002C($sp)
/* 0010C 809B047C 8FB00028 */ lw $s0, 0x0028($sp)
/* 00110 809B0480 27BD0040 */ addiu $sp, $sp, 0x0040 ## $sp = 00000000
/* 00114 809B0484 03E00008 */ jr $ra
/* 00118 809B0488 00000000 */ nop

View file

@ -1,186 +0,0 @@
glabel EnAni_Update
/* 007A8 809B0B18 27BDFFB8 */ addiu $sp, $sp, 0xFFB8 ## $sp = FFFFFFB8
/* 007AC 809B0B1C AFB00024 */ sw $s0, 0x0024($sp)
/* 007B0 809B0B20 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 007B4 809B0B24 AFB10028 */ sw $s1, 0x0028($sp)
/* 007B8 809B0B28 00A08825 */ or $s1, $a1, $zero ## $s1 = 00000000
/* 007BC 809B0B2C AFBF002C */ sw $ra, 0x002C($sp)
/* 007C0 809B0B30 2606014C */ addiu $a2, $s0, 0x014C ## $a2 = 0000014C
/* 007C4 809B0B34 00C02825 */ or $a1, $a2, $zero ## $a1 = 0000014C
/* 007C8 809B0B38 0C0189B7 */ jal ActorCollider_Cylinder_Update
/* 007CC 809B0B3C AFA60034 */ sw $a2, 0x0034($sp)
/* 007D0 809B0B40 3C010001 */ lui $at, 0x0001 ## $at = 00010000
/* 007D4 809B0B44 34211E60 */ ori $at, $at, 0x1E60 ## $at = 00011E60
/* 007D8 809B0B48 8FA60034 */ lw $a2, 0x0034($sp)
/* 007DC 809B0B4C 02212821 */ addu $a1, $s1, $at
/* 007E0 809B0B50 0C017713 */ jal Actor_CollisionCheck_SetOT
## CollisionCheck_setOT
/* 007E4 809B0B54 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
/* 007E8 809B0B58 0C00B638 */ jal Actor_MoveForward
/* 007EC 809B0B5C 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 007F0 809B0B60 44800000 */ mtc1 $zero, $f0 ## $f0 = 0.00
/* 007F4 809B0B64 240E0004 */ addiu $t6, $zero, 0x0004 ## $t6 = 00000004
/* 007F8 809B0B68 AFAE0014 */ sw $t6, 0x0014($sp)
/* 007FC 809B0B6C 44060000 */ mfc1 $a2, $f0
/* 00800 809B0B70 44070000 */ mfc1 $a3, $f0
/* 00804 809B0B74 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
/* 00808 809B0B78 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000
/* 0080C 809B0B7C 0C00B92D */ jal func_8002E4B4
/* 00810 809B0B80 E7A00010 */ swc1 $f0, 0x0010($sp)
/* 00814 809B0B84 922F1D6C */ lbu $t7, 0x1D6C($s1) ## 00001D6C
/* 00818 809B0B88 11E0002C */ beq $t7, $zero, .L809B0C3C
/* 0081C 809B0B8C 00000000 */ nop
/* 00820 809B0B90 8E381D8C */ lw $t8, 0x1D8C($s1) ## 00001D8C
/* 00824 809B0B94 13000029 */ beq $t8, $zero, .L809B0C3C
/* 00828 809B0B98 00000000 */ nop
/* 0082C 809B0B9C 961902AA */ lhu $t9, 0x02AA($s0) ## 000002AA
/* 00830 809B0BA0 2F210005 */ sltiu $at, $t9, 0x0005
/* 00834 809B0BA4 1020001D */ beq $at, $zero, .L809B0C1C
/* 00838 809B0BA8 0019C880 */ sll $t9, $t9, 2
/* 0083C 809B0BAC 3C01809B */ lui $at, %hi(jtbl_809B0FB0) ## $at = 809B0000
/* 00840 809B0BB0 00390821 */ addu $at, $at, $t9
/* 00844 809B0BB4 8C390FB0 */ lw $t9, %lo(jtbl_809B0FB0)($at)
/* 00848 809B0BB8 03200008 */ jr $t9
/* 0084C 809B0BBC 00000000 */ nop
glabel L809B0BC0
/* 00850 809B0BC0 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00854 809B0BC4 0C26C29B */ jal func_809B0A6C
/* 00858 809B0BC8 02202825 */ or $a1, $s1, $zero ## $a1 = 00000000
/* 0085C 809B0BCC 10000014 */ beq $zero, $zero, .L809B0C20
/* 00860 809B0BD0 96281D74 */ lhu $t0, 0x1D74($s1) ## 00001D74
glabel L809B0BD4
/* 00864 809B0BD4 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00868 809B0BD8 0C26C28A */ jal func_809B0A28
/* 0086C 809B0BDC 02202825 */ or $a1, $s1, $zero ## $a1 = 00000000
/* 00870 809B0BE0 1000000F */ beq $zero, $zero, .L809B0C20
/* 00874 809B0BE4 96281D74 */ lhu $t0, 0x1D74($s1) ## 00001D74
glabel L809B0BE8
/* 00878 809B0BE8 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 0087C 809B0BEC 0C26C265 */ jal func_809B0994
/* 00880 809B0BF0 02202825 */ or $a1, $s1, $zero ## $a1 = 00000000
/* 00884 809B0BF4 1000000A */ beq $zero, $zero, .L809B0C20
/* 00888 809B0BF8 96281D74 */ lhu $t0, 0x1D74($s1) ## 00001D74
glabel L809B0BFC
/* 0088C 809B0BFC 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00890 809B0C00 0C26C28A */ jal func_809B0A28
/* 00894 809B0C04 02202825 */ or $a1, $s1, $zero ## $a1 = 00000000
/* 00898 809B0C08 10000005 */ beq $zero, $zero, .L809B0C20
/* 0089C 809B0C0C 96281D74 */ lhu $t0, 0x1D74($s1) ## 00001D74
glabel L809B0C10
/* 008A0 809B0C10 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 008A4 809B0C14 0C26C262 */ jal func_809B0988
/* 008A8 809B0C18 02202825 */ or $a1, $s1, $zero ## $a1 = 00000000
.L809B0C1C:
/* 008AC 809B0C1C 96281D74 */ lhu $t0, 0x1D74($s1) ## 00001D74
.L809B0C20:
/* 008B0 809B0C20 24010064 */ addiu $at, $zero, 0x0064 ## $at = 00000064
/* 008B4 809B0C24 55010012 */ bnel $t0, $at, .L809B0C70
/* 008B8 809B0C28 960902A8 */ lhu $t1, 0x02A8($s0) ## 000002A8
/* 008BC 809B0C2C 0C01E233 */ jal func_800788CC
/* 008C0 809B0C30 24041845 */ addiu $a0, $zero, 0x1845 ## $a0 = 00001845
/* 008C4 809B0C34 1000000E */ beq $zero, $zero, .L809B0C70
/* 008C8 809B0C38 960902A8 */ lhu $t1, 0x02A8($s0) ## 000002A8
.L809B0C3C:
/* 008CC 809B0C3C 0C02927F */ jal SkelAnime_FrameUpdateMatrix
/* 008D0 809B0C40 26040198 */ addiu $a0, $s0, 0x0198 ## $a0 = 00000198
/* 008D4 809B0C44 50400005 */ beql $v0, $zero, .L809B0C5C
/* 008D8 809B0C48 8E1902B0 */ lw $t9, 0x02B0($s0) ## 000002B0
/* 008DC 809B0C4C 44802000 */ mtc1 $zero, $f4 ## $f4 = 0.00
/* 008E0 809B0C50 00000000 */ nop
/* 008E4 809B0C54 E60401B0 */ swc1 $f4, 0x01B0($s0) ## 000001B0
/* 008E8 809B0C58 8E1902B0 */ lw $t9, 0x02B0($s0) ## 000002B0
.L809B0C5C:
/* 008EC 809B0C5C 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 008F0 809B0C60 02202825 */ or $a1, $s1, $zero ## $a1 = 00000000
/* 008F4 809B0C64 0320F809 */ jalr $ra, $t9
/* 008F8 809B0C68 00000000 */ nop
/* 008FC 809B0C6C 960902A8 */ lhu $t1, 0x02A8($s0) ## 000002A8
.L809B0C70:
/* 00900 809B0C70 2604029C */ addiu $a0, $s0, 0x029C ## $a0 = 0000029C
/* 00904 809B0C74 00002825 */ or $a1, $zero, $zero ## $a1 = 00000000
/* 00908 809B0C78 312A0001 */ andi $t2, $t1, 0x0001 ## $t2 = 00000000
/* 0090C 809B0C7C 11400011 */ beq $t2, $zero, .L809B0CC4
/* 00910 809B0C80 24060006 */ addiu $a2, $zero, 0x0006 ## $a2 = 00000006
/* 00914 809B0C84 8E0C0038 */ lw $t4, 0x0038($s0) ## 00000038
/* 00918 809B0C88 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
/* 0091C 809B0C8C 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000
/* 00920 809B0C90 AFAC0010 */ sw $t4, 0x0010($sp)
/* 00924 809B0C94 8E0B003C */ lw $t3, 0x003C($s0) ## 0000003C
/* 00928 809B0C98 2606029C */ addiu $a2, $s0, 0x029C ## $a2 = 0000029C
/* 0092C 809B0C9C 260702A2 */ addiu $a3, $s0, 0x02A2 ## $a3 = 000002A2
/* 00930 809B0CA0 AFAB0014 */ sw $t3, 0x0014($sp)
/* 00934 809B0CA4 8E0C0040 */ lw $t4, 0x0040($s0) ## 00000040
/* 00938 809B0CA8 0C00E0A4 */ jal func_80038290
/* 0093C 809B0CAC AFAC0018 */ sw $t4, 0x0018($sp)
/* 00940 809B0CB0 A60002A6 */ sh $zero, 0x02A6($s0) ## 000002A6
/* 00944 809B0CB4 860302A6 */ lh $v1, 0x02A6($s0) ## 000002A6
/* 00948 809B0CB8 A60302A4 */ sh $v1, 0x02A4($s0) ## 000002A4
/* 0094C 809B0CBC 1000001A */ beq $zero, $zero, .L809B0D28
/* 00950 809B0CC0 A60302A2 */ sh $v1, 0x02A2($s0) ## 000002A2
.L809B0CC4:
/* 00954 809B0CC4 240D0064 */ addiu $t5, $zero, 0x0064 ## $t5 = 00000064
/* 00958 809B0CC8 AFAD0010 */ sw $t5, 0x0010($sp)
/* 0095C 809B0CCC 0C01E1A7 */ jal Math_SmoothScaleMaxMinS
/* 00960 809B0CD0 24071838 */ addiu $a3, $zero, 0x1838 ## $a3 = 00001838
/* 00964 809B0CD4 240E0064 */ addiu $t6, $zero, 0x0064 ## $t6 = 00000064
/* 00968 809B0CD8 AFAE0010 */ sw $t6, 0x0010($sp)
/* 0096C 809B0CDC 2604029E */ addiu $a0, $s0, 0x029E ## $a0 = 0000029E
/* 00970 809B0CE0 00002825 */ or $a1, $zero, $zero ## $a1 = 00000000
/* 00974 809B0CE4 24060006 */ addiu $a2, $zero, 0x0006 ## $a2 = 00000006
/* 00978 809B0CE8 0C01E1A7 */ jal Math_SmoothScaleMaxMinS
/* 0097C 809B0CEC 24071838 */ addiu $a3, $zero, 0x1838 ## $a3 = 00001838
/* 00980 809B0CF0 240F0064 */ addiu $t7, $zero, 0x0064 ## $t7 = 00000064
/* 00984 809B0CF4 AFAF0010 */ sw $t7, 0x0010($sp)
/* 00988 809B0CF8 260402A2 */ addiu $a0, $s0, 0x02A2 ## $a0 = 000002A2
/* 0098C 809B0CFC 00002825 */ or $a1, $zero, $zero ## $a1 = 00000000
/* 00990 809B0D00 24060006 */ addiu $a2, $zero, 0x0006 ## $a2 = 00000006
/* 00994 809B0D04 0C01E1A7 */ jal Math_SmoothScaleMaxMinS
/* 00998 809B0D08 24071838 */ addiu $a3, $zero, 0x1838 ## $a3 = 00001838
/* 0099C 809B0D0C 24180064 */ addiu $t8, $zero, 0x0064 ## $t8 = 00000064
/* 009A0 809B0D10 AFB80010 */ sw $t8, 0x0010($sp)
/* 009A4 809B0D14 260402A4 */ addiu $a0, $s0, 0x02A4 ## $a0 = 000002A4
/* 009A8 809B0D18 00002825 */ or $a1, $zero, $zero ## $a1 = 00000000
/* 009AC 809B0D1C 24060006 */ addiu $a2, $zero, 0x0006 ## $a2 = 00000006
/* 009B0 809B0D20 0C01E1A7 */ jal Math_SmoothScaleMaxMinS
/* 009B4 809B0D24 24071838 */ addiu $a3, $zero, 0x1838 ## $a3 = 00001838
.L809B0D28:
/* 009B8 809B0D28 860302AE */ lh $v1, 0x02AE($s0) ## 000002AE
/* 009BC 809B0D2C 2404003C */ addiu $a0, $zero, 0x003C ## $a0 = 0000003C
/* 009C0 809B0D30 14600003 */ bne $v1, $zero, .L809B0D40
/* 009C4 809B0D34 2468FFFF */ addiu $t0, $v1, 0xFFFF ## $t0 = FFFFFFFF
/* 009C8 809B0D38 10000004 */ beq $zero, $zero, .L809B0D4C
/* 009CC 809B0D3C 00001025 */ or $v0, $zero, $zero ## $v0 = 00000000
.L809B0D40:
/* 009D0 809B0D40 A60802AE */ sh $t0, 0x02AE($s0) ## 000002AE
/* 009D4 809B0D44 860302AE */ lh $v1, 0x02AE($s0) ## 000002AE
/* 009D8 809B0D48 00601025 */ or $v0, $v1, $zero ## $v0 = 00000000
.L809B0D4C:
/* 009DC 809B0D4C 54400006 */ bnel $v0, $zero, .L809B0D68
/* 009E0 809B0D50 A60302AC */ sh $v1, 0x02AC($s0) ## 000002AC
/* 009E4 809B0D54 0C01DF64 */ jal Math_Rand_S16Offset
/* 009E8 809B0D58 2405003C */ addiu $a1, $zero, 0x003C ## $a1 = 0000003C
/* 009EC 809B0D5C A60202AE */ sh $v0, 0x02AE($s0) ## 000002AE
/* 009F0 809B0D60 860302AE */ lh $v1, 0x02AE($s0) ## 000002AE
/* 009F4 809B0D64 A60302AC */ sh $v1, 0x02AC($s0) ## 000002AC
.L809B0D68:
/* 009F8 809B0D68 861902AC */ lh $t9, 0x02AC($s0) ## 000002AC
/* 009FC 809B0D6C 2B210003 */ slti $at, $t9, 0x0003
/* 00A00 809B0D70 54200003 */ bnel $at, $zero, .L809B0D80
/* 00A04 809B0D74 8FBF002C */ lw $ra, 0x002C($sp)
/* 00A08 809B0D78 A60002AC */ sh $zero, 0x02AC($s0) ## 000002AC
/* 00A0C 809B0D7C 8FBF002C */ lw $ra, 0x002C($sp)
.L809B0D80:
/* 00A10 809B0D80 8FB00024 */ lw $s0, 0x0024($sp)
/* 00A14 809B0D84 8FB10028 */ lw $s1, 0x0028($sp)
/* 00A18 809B0D88 03E00008 */ jr $ra
/* 00A1C 809B0D8C 27BD0048 */ addiu $sp, $sp, 0x0048 ## $sp = 00000000

View file

@ -1,5 +0,0 @@
glabel func_809B0370
/* 00000 809B0370 03E00008 */ jr $ra
/* 00004 809B0374 AC8502B0 */ sw $a1, 0x02B0($a0) ## 000002B0

View file

@ -1,18 +0,0 @@
glabel func_809B04B4
/* 00144 809B04B4 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 00148 809B04B8 AFBF0014 */ sw $ra, 0x0014($sp)
/* 0014C 809B04BC AFA60020 */ sw $a2, 0x0020($sp)
/* 00150 809B04C0 948E02A8 */ lhu $t6, 0x02A8($a0) ## 000002A8
/* 00154 809B04C4 00C03825 */ or $a3, $a2, $zero ## $a3 = 00000000
/* 00158 809B04C8 A487010E */ sh $a3, 0x010E($a0) ## 0000010E
/* 0015C 809B04CC 35CF0001 */ ori $t7, $t6, 0x0001 ## $t7 = 00000001
/* 00160 809B04D0 A48F02A8 */ sh $t7, 0x02A8($a0) ## 000002A8
/* 00164 809B04D4 0C00BCB3 */ jal func_8002F2CC
/* 00168 809B04D8 3C0642C8 */ lui $a2, 0x42C8 ## $a2 = 42C80000
/* 0016C 809B04DC 8FBF0014 */ lw $ra, 0x0014($sp)
/* 00170 809B04E0 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
/* 00174 809B04E4 00001025 */ or $v0, $zero, $zero ## $v0 = 00000000
/* 00178 809B04E8 03E00008 */ jr $ra
/* 0017C 809B04EC 00000000 */ nop

View file

@ -1,17 +0,0 @@
glabel func_809B04F0
/* 00180 809B04F0 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 00184 809B04F4 AFBF0014 */ sw $ra, 0x0014($sp)
/* 00188 809B04F8 0C00BCCD */ jal func_8002F334
/* 0018C 809B04FC AFA40018 */ sw $a0, 0x0018($sp)
/* 00190 809B0500 10400004 */ beq $v0, $zero, .L809B0514
/* 00194 809B0504 8FA40018 */ lw $a0, 0x0018($sp)
/* 00198 809B0508 3C05809B */ lui $a1, %hi(func_809B064C) ## $a1 = 809B0000
/* 0019C 809B050C 0C26C0DC */ jal func_809B0370
/* 001A0 809B0510 24A5064C */ addiu $a1, $a1, %lo(func_809B064C) ## $a1 = 809B064C
.L809B0514:
/* 001A4 809B0514 8FBF0014 */ lw $ra, 0x0014($sp)
/* 001A8 809B0518 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
/* 001AC 809B051C 03E00008 */ jr $ra
/* 001B0 809B0520 00000000 */ nop

View file

@ -1,17 +0,0 @@
glabel func_809B0524
/* 001B4 809B0524 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 001B8 809B0528 AFBF0014 */ sw $ra, 0x0014($sp)
/* 001BC 809B052C 0C00BCCD */ jal func_8002F334
/* 001C0 809B0530 AFA40018 */ sw $a0, 0x0018($sp)
/* 001C4 809B0534 10400004 */ beq $v0, $zero, .L809B0548
/* 001C8 809B0538 8FA40018 */ lw $a0, 0x0018($sp)
/* 001CC 809B053C 3C05809B */ lui $a1, %hi(func_809B07F8) ## $a1 = 809B0000
/* 001D0 809B0540 0C26C0DC */ jal func_809B0370
/* 001D4 809B0544 24A507F8 */ addiu $a1, $a1, %lo(func_809B07F8) ## $a1 = 809B07F8
.L809B0548:
/* 001D8 809B0548 8FBF0014 */ lw $ra, 0x0014($sp)
/* 001DC 809B054C 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
/* 001E0 809B0550 03E00008 */ jr $ra
/* 001E4 809B0554 00000000 */ nop

View file

@ -1,45 +0,0 @@
glabel func_809B0558
/* 001E8 809B0558 27BDFFE0 */ addiu $sp, $sp, 0xFFE0 ## $sp = FFFFFFE0
/* 001EC 809B055C AFBF001C */ sw $ra, 0x001C($sp)
/* 001F0 809B0560 AFA50024 */ sw $a1, 0x0024($sp)
/* 001F4 809B0564 0C00BD04 */ jal func_8002F410
/* 001F8 809B0568 AFA40020 */ sw $a0, 0x0020($sp)
/* 001FC 809B056C 10400014 */ beq $v0, $zero, .L809B05C0
/* 00200 809B0570 8FA40020 */ lw $a0, 0x0020($sp)
/* 00204 809B0574 AC800118 */ sw $zero, 0x0118($a0) ## 00000118
/* 00208 809B0578 3C0E8016 */ lui $t6, 0x8016 ## $t6 = 80160000
/* 0020C 809B057C 8DCEE664 */ lw $t6, -0x199C($t6) ## 8015E664
/* 00210 809B0580 3C05809B */ lui $a1, %hi(func_809B0524) ## $a1 = 809B0000
/* 00214 809B0584 11C00006 */ beq $t6, $zero, .L809B05A0
/* 00218 809B0588 00000000 */ nop
/* 0021C 809B058C 3C05809B */ lui $a1, %hi(func_809B04F0) ## $a1 = 809B0000
/* 00220 809B0590 0C26C0DC */ jal func_809B0370
/* 00224 809B0594 24A504F0 */ addiu $a1, $a1, %lo(func_809B04F0) ## $a1 = 809B04F0
/* 00228 809B0598 10000003 */ beq $zero, $zero, .L809B05A8
/* 0022C 809B059C 00000000 */ nop
.L809B05A0:
/* 00230 809B05A0 0C26C0DC */ jal func_809B0370
/* 00234 809B05A4 24A50524 */ addiu $a1, $a1, %lo(func_809B0524) ## $a1 = 00000524
.L809B05A8:
/* 00238 809B05A8 3C0F8016 */ lui $t7, 0x8016 ## $t7 = 80160000
/* 0023C 809B05AC 95EFF552 */ lhu $t7, -0x0AAE($t7) ## 8015F552
/* 00240 809B05B0 3C018016 */ lui $at, 0x8016 ## $at = 80160000
/* 00244 809B05B4 35F80020 */ ori $t8, $t7, 0x0020 ## $t8 = 80160020
/* 00248 809B05B8 10000009 */ beq $zero, $zero, .L809B05E0
/* 0024C 809B05BC A438F552 */ sh $t8, -0x0AAE($at) ## 8015F552
.L809B05C0:
/* 00250 809B05C0 3C014348 */ lui $at, 0x4348 ## $at = 43480000
/* 00254 809B05C4 44812000 */ mtc1 $at, $f4 ## $f4 = 200.00
/* 00258 809B05C8 3C07461C */ lui $a3, 0x461C ## $a3 = 461C0000
/* 0025C 809B05CC 34E74000 */ ori $a3, $a3, 0x4000 ## $a3 = 461C4000
/* 00260 809B05D0 8FA50024 */ lw $a1, 0x0024($sp)
/* 00264 809B05D4 2406003E */ addiu $a2, $zero, 0x003E ## $a2 = 0000003E
/* 00268 809B05D8 0C00BD0D */ jal func_8002F434
/* 0026C 809B05DC E7A40010 */ swc1 $f4, 0x0010($sp)
.L809B05E0:
/* 00270 809B05E0 8FBF001C */ lw $ra, 0x001C($sp)
/* 00274 809B05E4 27BD0020 */ addiu $sp, $sp, 0x0020 ## $sp = 00000000
/* 00278 809B05E8 03E00008 */ jr $ra
/* 0027C 809B05EC 00000000 */ nop

View file

@ -1,27 +0,0 @@
glabel func_809B05F0
/* 00280 809B05F0 27BDFFE0 */ addiu $sp, $sp, 0xFFE0 ## $sp = FFFFFFE0
/* 00284 809B05F4 AFBF001C */ sw $ra, 0x001C($sp)
/* 00288 809B05F8 AFA40020 */ sw $a0, 0x0020($sp)
/* 0028C 809B05FC 0C00BCCD */ jal func_8002F334
/* 00290 809B0600 AFA50024 */ sw $a1, 0x0024($sp)
/* 00294 809B0604 10400004 */ beq $v0, $zero, .L809B0618
/* 00298 809B0608 8FA40020 */ lw $a0, 0x0020($sp)
/* 0029C 809B060C 3C05809B */ lui $a1, %hi(func_809B0558) ## $a1 = 809B0000
/* 002A0 809B0610 0C26C0DC */ jal func_809B0370
/* 002A4 809B0614 24A50558 */ addiu $a1, $a1, %lo(func_809B0558) ## $a1 = 809B0558
.L809B0618:
/* 002A8 809B0618 3C014348 */ lui $at, 0x4348 ## $at = 43480000
/* 002AC 809B061C 44812000 */ mtc1 $at, $f4 ## $f4 = 200.00
/* 002B0 809B0620 3C07461C */ lui $a3, 0x461C ## $a3 = 461C0000
/* 002B4 809B0624 34E74000 */ ori $a3, $a3, 0x4000 ## $a3 = 461C4000
/* 002B8 809B0628 8FA40020 */ lw $a0, 0x0020($sp)
/* 002BC 809B062C 8FA50024 */ lw $a1, 0x0024($sp)
/* 002C0 809B0630 2406003E */ addiu $a2, $zero, 0x003E ## $a2 = 0000003E
/* 002C4 809B0634 0C00BD0D */ jal func_8002F434
/* 002C8 809B0638 E7A40010 */ swc1 $f4, 0x0010($sp)
/* 002CC 809B063C 8FBF001C */ lw $ra, 0x001C($sp)
/* 002D0 809B0640 27BD0020 */ addiu $sp, $sp, 0x0020 ## $sp = 00000000
/* 002D4 809B0644 03E00008 */ jr $ra
/* 002D8 809B0648 00000000 */ nop

View file

@ -1,119 +0,0 @@
glabel func_809B064C
/* 002DC 809B064C 27BDFFE0 */ addiu $sp, $sp, 0xFFE0 ## $sp = FFFFFFE0
/* 002E0 809B0650 00803825 */ or $a3, $a0, $zero ## $a3 = 00000000
/* 002E4 809B0654 AFBF0014 */ sw $ra, 0x0014($sp)
/* 002E8 809B0658 AFA50024 */ sw $a1, 0x0024($sp)
/* 002EC 809B065C 00A02025 */ or $a0, $a1, $zero ## $a0 = 00000000
/* 002F0 809B0660 2405000A */ addiu $a1, $zero, 0x000A ## $a1 = 0000000A
/* 002F4 809B0664 0C01B0D8 */ jal Text_GetFaceReaction
/* 002F8 809B0668 AFA70020 */ sw $a3, 0x0020($sp)
/* 002FC 809B066C 8FA50024 */ lw $a1, 0x0024($sp)
/* 00300 809B0670 8FA70020 */ lw $a3, 0x0020($sp)
/* 00304 809B0674 14400008 */ bne $v0, $zero, .L809B0698
/* 00308 809B0678 3046FFFF */ andi $a2, $v0, 0xFFFF ## $a2 = 00000000
/* 0030C 809B067C 3C0E8016 */ lui $t6, 0x8016 ## $t6 = 80160000
/* 00310 809B0680 8DCEE670 */ lw $t6, -0x1990($t6) ## 8015E670
/* 00314 809B0684 24065050 */ addiu $a2, $zero, 0x5050 ## $a2 = 00005050
/* 00318 809B0688 11C00003 */ beq $t6, $zero, .L809B0698
/* 0031C 809B068C 00000000 */ nop
/* 00320 809B0690 10000001 */ beq $zero, $zero, .L809B0698
/* 00324 809B0694 24065051 */ addiu $a2, $zero, 0x5051 ## $a2 = 00005051
.L809B0698:
/* 00328 809B0698 84EF008A */ lh $t7, 0x008A($a3) ## 0000008A
/* 0032C 809B069C 84F800B6 */ lh $t8, 0x00B6($a3) ## 000000B6
/* 00330 809B06A0 AFA70020 */ sw $a3, 0x0020($sp)
/* 00334 809B06A4 A7A6001E */ sh $a2, 0x001E($sp)
/* 00338 809B06A8 01F81823 */ subu $v1, $t7, $t8
/* 0033C 809B06AC 00031C00 */ sll $v1, $v1, 16
/* 00340 809B06B0 00031C03 */ sra $v1, $v1, 16
/* 00344 809B06B4 A7A3001C */ sh $v1, 0x001C($sp)
/* 00348 809B06B8 0C00BC65 */ jal func_8002F194
/* 0034C 809B06BC 00E02025 */ or $a0, $a3, $zero ## $a0 = 00000000
/* 00350 809B06C0 87A3001C */ lh $v1, 0x001C($sp)
/* 00354 809B06C4 8FA50024 */ lw $a1, 0x0024($sp)
/* 00358 809B06C8 97A6001E */ lhu $a2, 0x001E($sp)
/* 0035C 809B06CC 10400018 */ beq $v0, $zero, .L809B0730
/* 00360 809B06D0 8FA70020 */ lw $a3, 0x0020($sp)
/* 00364 809B06D4 94E2010E */ lhu $v0, 0x010E($a3) ## 0000010E
/* 00368 809B06D8 24015056 */ addiu $at, $zero, 0x5056 ## $at = 00005056
/* 0036C 809B06DC 00E02025 */ or $a0, $a3, $zero ## $a0 = 00000000
/* 00370 809B06E0 14410005 */ bne $v0, $at, .L809B06F8
/* 00374 809B06E4 3C05809B */ lui $a1, %hi(func_809B04F0) ## $a1 = 809B0000
/* 00378 809B06E8 0C26C0DC */ jal func_809B0370
/* 0037C 809B06EC 24A504F0 */ addiu $a1, $a1, %lo(func_809B04F0) ## $a1 = 809B04F0
/* 00380 809B06F0 1000003E */ beq $zero, $zero, .L809B07EC
/* 00384 809B06F4 8FBF0014 */ lw $ra, 0x0014($sp)
.L809B06F8:
/* 00388 809B06F8 24015055 */ addiu $at, $zero, 0x5055 ## $at = 00005055
/* 0038C 809B06FC 14410007 */ bne $v0, $at, .L809B071C
/* 00390 809B0700 00E02025 */ or $a0, $a3, $zero ## $a0 = 00000000
/* 00394 809B0704 3C05809B */ lui $a1, %hi(func_809B05F0) ## $a1 = 809B0000
/* 00398 809B0708 24A505F0 */ addiu $a1, $a1, %lo(func_809B05F0) ## $a1 = 809B05F0
/* 0039C 809B070C 0C26C0DC */ jal func_809B0370
/* 003A0 809B0710 00E02025 */ or $a0, $a3, $zero ## $a0 = 00000000
/* 003A4 809B0714 10000035 */ beq $zero, $zero, .L809B07EC
/* 003A8 809B0718 8FBF0014 */ lw $ra, 0x0014($sp)
.L809B071C:
/* 003AC 809B071C 3C05809B */ lui $a1, %hi(func_809B04F0) ## $a1 = 809B0000
/* 003B0 809B0720 0C26C0DC */ jal func_809B0370
/* 003B4 809B0724 24A504F0 */ addiu $a1, $a1, %lo(func_809B04F0) ## $a1 = 809B04F0
/* 003B8 809B0728 10000030 */ beq $zero, $zero, .L809B07EC
/* 003BC 809B072C 8FBF0014 */ lw $ra, 0x0014($sp)
.L809B0730:
/* 003C0 809B0730 2861C951 */ slti $at, $v1, 0xC951
/* 003C4 809B0734 54200020 */ bnel $at, $zero, .L809B07B8
/* 003C8 809B0738 2861FC19 */ slti $at, $v1, 0xFC19
/* 003CC 809B073C 0461001D */ bgez $v1, .L809B07B4
/* 003D0 809B0740 3C014316 */ lui $at, 0x4316 ## $at = 43160000
/* 003D4 809B0744 C4E40090 */ lwc1 $f4, 0x0090($a3) ## 00000090
/* 003D8 809B0748 44813000 */ mtc1 $at, $f6 ## $f6 = 150.00
/* 003DC 809B074C 3C01C2A0 */ lui $at, 0xC2A0 ## $at = C2A00000
/* 003E0 809B0750 4606203C */ c.lt.s $f4, $f6
/* 003E4 809B0754 00000000 */ nop
/* 003E8 809B0758 45020017 */ bc1fl .L809B07B8
/* 003EC 809B075C 2861FC19 */ slti $at, $v1, 0xFC19
/* 003F0 809B0760 44814000 */ mtc1 $at, $f8 ## $f8 = -80.00
/* 003F4 809B0764 C4EA0094 */ lwc1 $f10, 0x0094($a3) ## 00000094
/* 003F8 809B0768 3C198016 */ lui $t9, 0x8016 ## $t9 = 80160000
/* 003FC 809B076C 460A403C */ c.lt.s $f8, $f10
/* 00400 809B0770 00000000 */ nop
/* 00404 809B0774 45020010 */ bc1fl .L809B07B8
/* 00408 809B0778 2861FC19 */ slti $at, $v1, 0xFC19
/* 0040C 809B077C 9739F552 */ lhu $t9, -0x0AAE($t9) ## 8015F552
/* 00410 809B0780 24065056 */ addiu $a2, $zero, 0x5056 ## $a2 = 00005056
/* 00414 809B0784 00E02025 */ or $a0, $a3, $zero ## $a0 = 00000000
/* 00418 809B0788 33280020 */ andi $t0, $t9, 0x0020 ## $t0 = 00000000
/* 0041C 809B078C 11000005 */ beq $t0, $zero, .L809B07A4
/* 00420 809B0790 00000000 */ nop
/* 00424 809B0794 0C26C12D */ jal func_809B04B4
/* 00428 809B0798 00E02025 */ or $a0, $a3, $zero ## $a0 = 00000000
/* 0042C 809B079C 10000013 */ beq $zero, $zero, .L809B07EC
/* 00430 809B07A0 8FBF0014 */ lw $ra, 0x0014($sp)
.L809B07A4:
/* 00434 809B07A4 0C26C12D */ jal func_809B04B4
/* 00438 809B07A8 24065055 */ addiu $a2, $zero, 0x5055 ## $a2 = 00005055
/* 0043C 809B07AC 1000000F */ beq $zero, $zero, .L809B07EC
/* 00440 809B07B0 8FBF0014 */ lw $ra, 0x0014($sp)
.L809B07B4:
/* 00444 809B07B4 2861FC19 */ slti $at, $v1, 0xFC19
.L809B07B8:
/* 00448 809B07B8 1420000B */ bne $at, $zero, .L809B07E8
/* 0044C 809B07BC 286136B0 */ slti $at, $v1, 0x36B0
/* 00450 809B07C0 10200009 */ beq $at, $zero, .L809B07E8
/* 00454 809B07C4 3C0143AF */ lui $at, 0x43AF ## $at = 43AF0000
/* 00458 809B07C8 44819000 */ mtc1 $at, $f18 ## $f18 = 350.00
/* 0045C 809B07CC C4F00090 */ lwc1 $f16, 0x0090($a3) ## 00000090
/* 00460 809B07D0 4612803C */ c.lt.s $f16, $f18
/* 00464 809B07D4 00000000 */ nop
/* 00468 809B07D8 45020004 */ bc1fl .L809B07EC
/* 0046C 809B07DC 8FBF0014 */ lw $ra, 0x0014($sp)
/* 00470 809B07E0 0C26C12D */ jal func_809B04B4
/* 00474 809B07E4 00E02025 */ or $a0, $a3, $zero ## $a0 = 00000000
.L809B07E8:
/* 00478 809B07E8 8FBF0014 */ lw $ra, 0x0014($sp)
.L809B07EC:
/* 0047C 809B07EC 27BD0020 */ addiu $sp, $sp, 0x0020 ## $sp = 00000000
/* 00480 809B07F0 03E00008 */ jr $ra
/* 00484 809B07F4 00000000 */ nop

View file

@ -1,113 +0,0 @@
glabel func_809B07F8
/* 00488 809B07F8 27BDFFE0 */ addiu $sp, $sp, 0xFFE0 ## $sp = FFFFFFE0
/* 0048C 809B07FC AFBF0014 */ sw $ra, 0x0014($sp)
/* 00490 809B0800 848F00B6 */ lh $t7, 0x00B6($a0) ## 000000B6
/* 00494 809B0804 848E008A */ lh $t6, 0x008A($a0) ## 0000008A
/* 00498 809B0808 AFA50024 */ sw $a1, 0x0024($sp)
/* 0049C 809B080C AFA40020 */ sw $a0, 0x0020($sp)
/* 004A0 809B0810 01CF1823 */ subu $v1, $t6, $t7
/* 004A4 809B0814 00031C00 */ sll $v1, $v1, 16
/* 004A8 809B0818 00031C03 */ sra $v1, $v1, 16
/* 004AC 809B081C 0C00BC65 */ jal func_8002F194
/* 004B0 809B0820 A7A3001C */ sh $v1, 0x001C($sp)
/* 004B4 809B0824 87A3001C */ lh $v1, 0x001C($sp)
/* 004B8 809B0828 8FA40020 */ lw $a0, 0x0020($sp)
/* 004BC 809B082C 10400016 */ beq $v0, $zero, .L809B0888
/* 004C0 809B0830 8FA50024 */ lw $a1, 0x0024($sp)
/* 004C4 809B0834 9482010E */ lhu $v0, 0x010E($a0) ## 0000010E
/* 004C8 809B0838 24015056 */ addiu $at, $zero, 0x5056 ## $at = 00005056
/* 004CC 809B083C 3C05809B */ lui $a1, %hi(func_809B0524) ## $a1 = 809B0000
/* 004D0 809B0840 54410006 */ bnel $v0, $at, .L809B085C
/* 004D4 809B0844 24015055 */ addiu $at, $zero, 0x5055 ## $at = 00005055
/* 004D8 809B0848 0C26C0DC */ jal func_809B0370
/* 004DC 809B084C 24A50524 */ addiu $a1, $a1, %lo(func_809B0524) ## $a1 = 809B0524
/* 004E0 809B0850 1000004A */ beq $zero, $zero, .L809B097C
/* 004E4 809B0854 8FBF0014 */ lw $ra, 0x0014($sp)
/* 004E8 809B0858 24015055 */ addiu $at, $zero, 0x5055 ## $at = 00005055
.L809B085C:
/* 004EC 809B085C 14410006 */ bne $v0, $at, .L809B0878
/* 004F0 809B0860 3C05809B */ lui $a1, %hi(func_809B0524) ## $a1 = 809B0000
/* 004F4 809B0864 3C05809B */ lui $a1, %hi(func_809B05F0) ## $a1 = 809B0000
/* 004F8 809B0868 0C26C0DC */ jal func_809B0370
/* 004FC 809B086C 24A505F0 */ addiu $a1, $a1, %lo(func_809B05F0) ## $a1 = 809B05F0
/* 00500 809B0870 10000042 */ beq $zero, $zero, .L809B097C
/* 00504 809B0874 8FBF0014 */ lw $ra, 0x0014($sp)
.L809B0878:
/* 00508 809B0878 0C26C0DC */ jal func_809B0370
/* 0050C 809B087C 24A50524 */ addiu $a1, $a1, %lo(func_809B0524) ## $a1 = 00000524
/* 00510 809B0880 1000003E */ beq $zero, $zero, .L809B097C
/* 00514 809B0884 8FBF0014 */ lw $ra, 0x0014($sp)
.L809B0888:
/* 00518 809B0888 2861C951 */ slti $at, $v1, 0xC951
/* 0051C 809B088C 5420001F */ bnel $at, $zero, .L809B090C
/* 00520 809B0890 2861FC19 */ slti $at, $v1, 0xFC19
/* 00524 809B0894 0461001C */ bgez $v1, .L809B0908
/* 00528 809B0898 3C014316 */ lui $at, 0x4316 ## $at = 43160000
/* 0052C 809B089C C4840090 */ lwc1 $f4, 0x0090($a0) ## 00000090
/* 00530 809B08A0 44813000 */ mtc1 $at, $f6 ## $f6 = 150.00
/* 00534 809B08A4 3C01C2A0 */ lui $at, 0xC2A0 ## $at = C2A00000
/* 00538 809B08A8 4606203C */ c.lt.s $f4, $f6
/* 0053C 809B08AC 00000000 */ nop
/* 00540 809B08B0 45020016 */ bc1fl .L809B090C
/* 00544 809B08B4 2861FC19 */ slti $at, $v1, 0xFC19
/* 00548 809B08B8 44814000 */ mtc1 $at, $f8 ## $f8 = -80.00
/* 0054C 809B08BC C48A0094 */ lwc1 $f10, 0x0094($a0) ## 00000094
/* 00550 809B08C0 3C028016 */ lui $v0, 0x8016 ## $v0 = 80160000
/* 00554 809B08C4 2442E660 */ addiu $v0, $v0, 0xE660 ## $v0 = 8015E660
/* 00558 809B08C8 460A403C */ c.lt.s $f8, $f10
/* 0055C 809B08CC 00000000 */ nop
/* 00560 809B08D0 4502000E */ bc1fl .L809B090C
/* 00564 809B08D4 2861FC19 */ slti $at, $v1, 0xFC19
/* 00568 809B08D8 94580EF2 */ lhu $t8, 0x0EF2($v0) ## 8015F552
/* 0056C 809B08DC 33190020 */ andi $t9, $t8, 0x0020 ## $t9 = 00000000
/* 00570 809B08E0 13200005 */ beq $t9, $zero, .L809B08F8
/* 00574 809B08E4 00000000 */ nop
/* 00578 809B08E8 0C26C12D */ jal func_809B04B4
/* 0057C 809B08EC 24065056 */ addiu $a2, $zero, 0x5056 ## $a2 = 00005056
/* 00580 809B08F0 10000022 */ beq $zero, $zero, .L809B097C
/* 00584 809B08F4 8FBF0014 */ lw $ra, 0x0014($sp)
.L809B08F8:
/* 00588 809B08F8 0C26C12D */ jal func_809B04B4
/* 0058C 809B08FC 24065055 */ addiu $a2, $zero, 0x5055 ## $a2 = 00005055
/* 00590 809B0900 1000001E */ beq $zero, $zero, .L809B097C
/* 00594 809B0904 8FBF0014 */ lw $ra, 0x0014($sp)
.L809B0908:
/* 00598 809B0908 2861FC19 */ slti $at, $v1, 0xFC19
.L809B090C:
/* 0059C 809B090C 1420001A */ bne $at, $zero, .L809B0978
/* 005A0 809B0910 286136B0 */ slti $at, $v1, 0x36B0
/* 005A4 809B0914 10200018 */ beq $at, $zero, .L809B0978
/* 005A8 809B0918 3C0143AF */ lui $at, 0x43AF ## $at = 43AF0000
/* 005AC 809B091C 44819000 */ mtc1 $at, $f18 ## $f18 = 350.00
/* 005B0 809B0920 C4900090 */ lwc1 $f16, 0x0090($a0) ## 00000090
/* 005B4 809B0924 3C028016 */ lui $v0, 0x8016 ## $v0 = 80160000
/* 005B8 809B0928 2442E660 */ addiu $v0, $v0, 0xE660 ## $v0 = 8015E660
/* 005BC 809B092C 4612803C */ c.lt.s $f16, $f18
/* 005C0 809B0930 00000000 */ nop
/* 005C4 809B0934 45020011 */ bc1fl .L809B097C
/* 005C8 809B0938 8FBF0014 */ lw $ra, 0x0014($sp)
/* 005CC 809B093C 94480ED8 */ lhu $t0, 0x0ED8($v0) ## 8015F538
/* 005D0 809B0940 31098000 */ andi $t1, $t0, 0x8000 ## $t1 = 00000000
/* 005D4 809B0944 55200004 */ bnel $t1, $zero, .L809B0958
/* 005D8 809B0948 944A0EF2 */ lhu $t2, 0x0EF2($v0) ## 8015F552
/* 005DC 809B094C 10000008 */ beq $zero, $zero, .L809B0970
/* 005E0 809B0950 24065052 */ addiu $a2, $zero, 0x5052 ## $a2 = 00005052
/* 005E4 809B0954 944A0EF2 */ lhu $t2, 0x0EF2($v0) ## 8015F552
.L809B0958:
/* 005E8 809B0958 24065053 */ addiu $a2, $zero, 0x5053 ## $a2 = 00005053
/* 005EC 809B095C 314B0020 */ andi $t3, $t2, 0x0020 ## $t3 = 00000000
/* 005F0 809B0960 11600003 */ beq $t3, $zero, .L809B0970
/* 005F4 809B0964 00000000 */ nop
/* 005F8 809B0968 10000001 */ beq $zero, $zero, .L809B0970
/* 005FC 809B096C 24065054 */ addiu $a2, $zero, 0x5054 ## $a2 = 00005054
.L809B0970:
/* 00600 809B0970 0C26C12D */ jal func_809B04B4
/* 00604 809B0974 00000000 */ nop
.L809B0978:
/* 00608 809B0978 8FBF0014 */ lw $ra, 0x0014($sp)
.L809B097C:
/* 0060C 809B097C 27BD0020 */ addiu $sp, $sp, 0x0020 ## $sp = 00000000
/* 00610 809B0980 03E00008 */ jr $ra
/* 00614 809B0984 00000000 */ nop

View file

@ -1,6 +0,0 @@
glabel func_809B0988
/* 00618 809B0988 AFA40000 */ sw $a0, 0x0000($sp)
/* 0061C 809B098C 03E00008 */ jr $ra
/* 00620 809B0990 AFA50004 */ sw $a1, 0x0004($sp)

View file

@ -1,43 +0,0 @@
glabel func_809B0994
/* 00624 809B0994 27BDFFD8 */ addiu $sp, $sp, 0xFFD8 ## $sp = FFFFFFD8
/* 00628 809B0998 AFBF0024 */ sw $ra, 0x0024($sp)
/* 0062C 809B099C AFA40028 */ sw $a0, 0x0028($sp)
/* 00630 809B09A0 8CAE1D8C */ lw $t6, 0x1D8C($a1) ## 00001D8C
/* 00634 809B09A4 24010004 */ addiu $at, $zero, 0x0004 ## $at = 00000004
/* 00638 809B09A8 3C040600 */ lui $a0, 0x0600 ## $a0 = 06000000
/* 0063C 809B09AC 95CF0000 */ lhu $t7, 0x0000($t6) ## 00000000
/* 00640 809B09B0 55E1001A */ bnel $t7, $at, .L809B0A1C
/* 00644 809B09B4 8FBF0024 */ lw $ra, 0x0024($sp)
/* 00648 809B09B8 0C028800 */ jal SkelAnime_GetFrameCount
/* 0064C 809B09BC 248470F0 */ addiu $a0, $a0, 0x70F0 ## $a0 = 060070F0
/* 00650 809B09C0 44822000 */ mtc1 $v0, $f4 ## $f4 = 0.00
/* 00654 809B09C4 3C01C080 */ lui $at, 0xC080 ## $at = C0800000
/* 00658 809B09C8 44814000 */ mtc1 $at, $f8 ## $f8 = -4.00
/* 0065C 809B09CC 468021A0 */ cvt.s.w $f6, $f4
/* 00660 809B09D0 8FA30028 */ lw $v1, 0x0028($sp)
/* 00664 809B09D4 3C050600 */ lui $a1, 0x0600 ## $a1 = 06000000
/* 00668 809B09D8 24180002 */ addiu $t8, $zero, 0x0002 ## $t8 = 00000002
/* 0066C 809B09DC AFB80014 */ sw $t8, 0x0014($sp)
/* 00670 809B09E0 24A570F0 */ addiu $a1, $a1, 0x70F0 ## $a1 = 060070F0
/* 00674 809B09E4 E7A60010 */ swc1 $f6, 0x0010($sp)
/* 00678 809B09E8 3C063F80 */ lui $a2, 0x3F80 ## $a2 = 3F800000
/* 0067C 809B09EC 24070000 */ addiu $a3, $zero, 0x0000 ## $a3 = 00000000
/* 00680 809B09F0 E7A80018 */ swc1 $f8, 0x0018($sp)
/* 00684 809B09F4 0C029468 */ jal SkelAnime_ChangeAnim
/* 00688 809B09F8 24640198 */ addiu $a0, $v1, 0x0198 ## $a0 = 00000198
/* 0068C 809B09FC 8FA30028 */ lw $v1, 0x0028($sp)
/* 00690 809B0A00 3C098003 */ lui $t1, 0x8003 ## $t1 = 80030000
/* 00694 809B0A04 2529B5EC */ addiu $t1, $t1, 0xB5EC ## $t1 = 8002B5EC
/* 00698 809B0A08 947902AA */ lhu $t9, 0x02AA($v1) ## 000002AA
/* 0069C 809B0A0C AC6900C0 */ sw $t1, 0x00C0($v1) ## 000000C0
/* 006A0 809B0A10 27280001 */ addiu $t0, $t9, 0x0001 ## $t0 = 00000001
/* 006A4 809B0A14 A46802AA */ sh $t0, 0x02AA($v1) ## 000002AA
/* 006A8 809B0A18 8FBF0024 */ lw $ra, 0x0024($sp)
.L809B0A1C:
/* 006AC 809B0A1C 27BD0028 */ addiu $sp, $sp, 0x0028 ## $sp = 00000000
/* 006B0 809B0A20 03E00008 */ jr $ra
/* 006B4 809B0A24 00000000 */ nop

View file

@ -1,22 +0,0 @@
glabel func_809B0A28
/* 006B8 809B0A28 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 006BC 809B0A2C AFA5001C */ sw $a1, 0x001C($sp)
/* 006C0 809B0A30 00802825 */ or $a1, $a0, $zero ## $a1 = 00000000
/* 006C4 809B0A34 AFBF0014 */ sw $ra, 0x0014($sp)
/* 006C8 809B0A38 AFA40018 */ sw $a0, 0x0018($sp)
/* 006CC 809B0A3C AFA50018 */ sw $a1, 0x0018($sp)
/* 006D0 809B0A40 0C02927F */ jal SkelAnime_FrameUpdateMatrix
/* 006D4 809B0A44 24840198 */ addiu $a0, $a0, 0x0198 ## $a0 = 00000198
/* 006D8 809B0A48 10400004 */ beq $v0, $zero, .L809B0A5C
/* 006DC 809B0A4C 8FA50018 */ lw $a1, 0x0018($sp)
/* 006E0 809B0A50 94AE02AA */ lhu $t6, 0x02AA($a1) ## 000002AA
/* 006E4 809B0A54 25CF0001 */ addiu $t7, $t6, 0x0001 ## $t7 = 00000001
/* 006E8 809B0A58 A4AF02AA */ sh $t7, 0x02AA($a1) ## 000002AA
.L809B0A5C:
/* 006EC 809B0A5C 8FBF0014 */ lw $ra, 0x0014($sp)
/* 006F0 809B0A60 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
/* 006F4 809B0A64 03E00008 */ jr $ra
/* 006F8 809B0A68 00000000 */ nop

View file

@ -1,51 +0,0 @@
glabel func_809B0A6C
/* 006FC 809B0A6C 27BDFFC8 */ addiu $sp, $sp, 0xFFC8 ## $sp = FFFFFFC8
/* 00700 809B0A70 AFB00028 */ sw $s0, 0x0028($sp)
/* 00704 809B0A74 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 00708 809B0A78 AFBF002C */ sw $ra, 0x002C($sp)
/* 0070C 809B0A7C 24840198 */ addiu $a0, $a0, 0x0198 ## $a0 = 00000198
/* 00710 809B0A80 AFA5003C */ sw $a1, 0x003C($sp)
/* 00714 809B0A84 0C02927F */ jal SkelAnime_FrameUpdateMatrix
/* 00718 809B0A88 AFA40030 */ sw $a0, 0x0030($sp)
/* 0071C 809B0A8C 10400004 */ beq $v0, $zero, .L809B0AA0
/* 00720 809B0A90 3C040600 */ lui $a0, 0x0600 ## $a0 = 06000000
/* 00724 809B0A94 44802000 */ mtc1 $zero, $f4 ## $f4 = 0.00
/* 00728 809B0A98 00000000 */ nop
/* 0072C 809B0A9C E60401B0 */ swc1 $f4, 0x01B0($s0) ## 000001B0
.L809B0AA0:
/* 00730 809B0AA0 8FAE003C */ lw $t6, 0x003C($sp)
/* 00734 809B0AA4 24010002 */ addiu $at, $zero, 0x0002 ## $at = 00000002
/* 00738 809B0AA8 8DCF1D8C */ lw $t7, 0x1D8C($t6) ## 00001D8C
/* 0073C 809B0AAC 95F80000 */ lhu $t8, 0x0000($t7) ## 00000000
/* 00740 809B0AB0 57010015 */ bnel $t8, $at, .L809B0B08
/* 00744 809B0AB4 8FBF002C */ lw $ra, 0x002C($sp)
/* 00748 809B0AB8 0C028800 */ jal SkelAnime_GetFrameCount
/* 0074C 809B0ABC 248467B8 */ addiu $a0, $a0, 0x67B8 ## $a0 = 060067B8
/* 00750 809B0AC0 44823000 */ mtc1 $v0, $f6 ## $f6 = 0.00
/* 00754 809B0AC4 44800000 */ mtc1 $zero, $f0 ## $f0 = 0.00
/* 00758 809B0AC8 3C050600 */ lui $a1, 0x0600 ## $a1 = 06000000
/* 0075C 809B0ACC 46803220 */ cvt.s.w $f8, $f6
/* 00760 809B0AD0 24190002 */ addiu $t9, $zero, 0x0002 ## $t9 = 00000002
/* 00764 809B0AD4 44070000 */ mfc1 $a3, $f0
/* 00768 809B0AD8 AFB90014 */ sw $t9, 0x0014($sp)
/* 0076C 809B0ADC 24A567B8 */ addiu $a1, $a1, 0x67B8 ## $a1 = 060067B8
/* 00770 809B0AE0 8FA40030 */ lw $a0, 0x0030($sp)
/* 00774 809B0AE4 E7A80010 */ swc1 $f8, 0x0010($sp)
/* 00778 809B0AE8 3C063F80 */ lui $a2, 0x3F80 ## $a2 = 3F800000
/* 0077C 809B0AEC 0C029468 */ jal SkelAnime_ChangeAnim
/* 00780 809B0AF0 E7A00018 */ swc1 $f0, 0x0018($sp)
/* 00784 809B0AF4 960802AA */ lhu $t0, 0x02AA($s0) ## 000002AA
/* 00788 809B0AF8 AE0000C0 */ sw $zero, 0x00C0($s0) ## 000000C0
/* 0078C 809B0AFC 25090001 */ addiu $t1, $t0, 0x0001 ## $t1 = 00000001
/* 00790 809B0B00 A60902AA */ sh $t1, 0x02AA($s0) ## 000002AA
/* 00794 809B0B04 8FBF002C */ lw $ra, 0x002C($sp)
.L809B0B08:
/* 00798 809B0B08 8FB00028 */ lw $s0, 0x0028($sp)
/* 0079C 809B0B0C 27BD0038 */ addiu $sp, $sp, 0x0038 ## $sp = 00000000
/* 007A0 809B0B10 03E00008 */ jr $ra
/* 007A4 809B0B14 00000000 */ nop

View file

@ -1,21 +0,0 @@
glabel func_809B0D90
/* 00A20 809B0D90 2401000F */ addiu $at, $zero, 0x000F ## $at = 0000000F
/* 00A24 809B0D94 AFA40000 */ sw $a0, 0x0000($sp)
/* 00A28 809B0D98 AFA60008 */ sw $a2, 0x0008($sp)
/* 00A2C 809B0D9C 14A1000B */ bne $a1, $at, .L809B0DCC
/* 00A30 809B0DA0 AFA7000C */ sw $a3, 0x000C($sp)
/* 00A34 809B0DA4 8FA20014 */ lw $v0, 0x0014($sp)
/* 00A38 809B0DA8 8FA30010 */ lw $v1, 0x0010($sp)
/* 00A3C 809B0DAC 844F029E */ lh $t7, 0x029E($v0) ## 0000029E
/* 00A40 809B0DB0 846E0000 */ lh $t6, 0x0000($v1) ## 00000000
/* 00A44 809B0DB4 84790004 */ lh $t9, 0x0004($v1) ## 00000004
/* 00A48 809B0DB8 01CFC021 */ addu $t8, $t6, $t7
/* 00A4C 809B0DBC A4780000 */ sh $t8, 0x0000($v1) ## 00000000
/* 00A50 809B0DC0 8448029C */ lh $t0, 0x029C($v0) ## 0000029C
/* 00A54 809B0DC4 03284821 */ addu $t1, $t9, $t0
/* 00A58 809B0DC8 A4690004 */ sh $t1, 0x0004($v1) ## 00000004
.L809B0DCC:
/* 00A5C 809B0DCC 03E00008 */ jr $ra
/* 00A60 809B0DD0 00001025 */ or $v0, $zero, $zero ## $v0 = 00000000

View file

@ -1,20 +0,0 @@
glabel func_809B0DD4
/* 00A64 809B0DD4 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 00A68 809B0DD8 2401000F */ addiu $at, $zero, 0x000F ## $at = 0000000F
/* 00A6C 809B0DDC AFBF0014 */ sw $ra, 0x0014($sp)
/* 00A70 809B0DE0 AFA40018 */ sw $a0, 0x0018($sp)
/* 00A74 809B0DE4 AFA60020 */ sw $a2, 0x0020($sp)
/* 00A78 809B0DE8 14A10006 */ bne $a1, $at, .L809B0E04
/* 00A7C 809B0DEC AFA70024 */ sw $a3, 0x0024($sp)
/* 00A80 809B0DF0 8FA50028 */ lw $a1, 0x0028($sp)
/* 00A84 809B0DF4 3C04809B */ lui $a0, %hi(D_809B0F74) ## $a0 = 809B0000
/* 00A88 809B0DF8 24840F74 */ addiu $a0, $a0, %lo(D_809B0F74) ## $a0 = 809B0F74
/* 00A8C 809B0DFC 0C0346BD */ jal Matrix_MultVec3f
/* 00A90 809B0E00 24A50038 */ addiu $a1, $a1, 0x0038 ## $a1 = 00000038
.L809B0E04:
/* 00A94 809B0E04 8FBF0014 */ lw $ra, 0x0014($sp)
/* 00A98 809B0E08 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
/* 00A9C 809B0E0C 03E00008 */ jr $ra
/* 00AA0 809B0E10 00000000 */ nop

View file

@ -1,22 +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 purposee registers
.section .data
glabel Bg_Hidan_Firewall_InitVars
.word 0x000C0100, 0x00000000, 0x002C0000, 0x000001A0
.word BgHidanFirewall_Init
.word BgHidanFirewall_Destroy
.word BgHidanFirewall_Update
.word 0x00000000
glabel D_80886CD0
.word 0x0A110009, 0x20010000, 0x00000000, 0x20000000, 0x01040000, 0xFFCFFFFF, 0x00000000, 0x19000100, 0x001E0053, 0x00000000, 0x00000000
glabel D_80886CFC
.word 0x01000050, 0x0064FF00
glabel D_80886D04
.word 0x06015D20, 0x06016120, 0x06016520, 0x06016920, 0x06016D20, 0x06017120, 0x06017520, 0x06017920, 0x00000000, 0x00000000, 0x00000000

View file

@ -1,11 +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 purposee registers
.section .rodata
glabel D_80886D90
.incbin "baserom/ovl_Bg_Hidan_Firewall", 0x730, 0x000000B0

View file

@ -1,29 +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 purposee registers
.section .rodata
glabel D_80886D30
.asciz "../z_bg_hidan_firewall.c"
.balign 4
glabel D_80886D4C
.asciz "../z_bg_hidan_firewall.c"
.balign 4
glabel D_80886D68
.asciz "../z_bg_hidan_firewall.c"
.balign 4
glabel D_80886D84
.word 0x3DF5C28F
glabel D_80886D88
.word 0x3C23D70A
glabel D_80886D8C
.word 0x3C23D70A

View file

@ -1,24 +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 purposee registers
.section .data
glabel En_Ani_InitVars
.word 0x01670400, 0x00000009, 0x00EC0000, 0x000002B4
.word EnAni_Init
.word EnAni_Destroy
.word EnAni_Update
.word EnAni_Draw
glabel D_809B0F40
.word 0x0A001139, 0x10010000, 0x00000000, 0x00000000, 0x00000000, 0xFFCFFFFF, 0x00000000, 0x00010100, 0x001E0028, 0x00000000, 0x00000000
glabel D_809B0F6C
.word 0xC850000A, 0x30F40352
glabel D_809B0F74
.word 0x44480000, 0x43FA0000, 0x00000000
glabel D_809B0F80
.word 0x06000408, 0x06001518, 0x06001D18, 0x00000000

View file

@ -1,11 +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 purposee registers
.section .rodata
glabel D_809B0FD0
.incbin "baserom/ovl_En_Ani", 0xC60, 0x00000150

View file

@ -1,26 +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 purposee registers
.section .rodata
glabel D_809B0F90
.asciz "../z_en_ani.c"
.balign 4
glabel D_809B0FA0
.asciz "../z_en_ani.c"
.balign 4
glabel jtbl_809B0FB0
.word L809B0BC0
.word L809B0BD4
.word L809B0BE8
.word L809B0BFC
.word L809B0C10
.word 0x00000000, 0x00000000, 0x00000000

4
spec
View file

@ -2206,9 +2206,7 @@ endseg
beginseg
name "ovl_En_Ani"
include "build/src/overlays/actors/ovl_En_Ani/z_en_ani.o"
include "build/data/overlays/actors/z_en_ani.data.o"
include "build/data/overlays/actors/z_en_ani.rodata.o"
include "build/data/overlays/actors/z_en_ani.reloc.o"
include "build/src/overlays/actors/ovl_En_Ani/z_en_ani_reloc.o"
endseg
beginseg

View file

@ -1,14 +1,38 @@
/*
* File: z_en_ani.c
* Overlay: ovl_En_Ani
* Description: Kakariko Roof Guy
*/
#include "z_en_ani.h"
#define ROOM 0x00
#define FLAGS 0x00000009
void EnAni_SetupAction(EnAni* this, ActorFunc actionFunc);
void EnAni_Init(EnAni* this, GlobalContext* globalCtx);
void EnAni_Destroy(EnAni* this, GlobalContext* globalCtx);
s32 EnAni_SetText(EnAni* this, GlobalContext* globalCtx, u16 textId);
void func_809B04F0(EnAni* this, GlobalContext* globalCtx);
void func_809B0524(EnAni* this, GlobalContext* globalCtx);
void func_809B0558(EnAni* this, GlobalContext* globalCtx);
void func_809B05F0(EnAni* this, GlobalContext* globalCtx);
void func_809B064C(EnAni* this, GlobalContext* globalCtx);
void func_809B07F8(EnAni* this, GlobalContext* globalCtx);
void func_809B0988(EnAni* this, GlobalContext* globalCtx);
void func_809B0994(EnAni* this, GlobalContext* globalCtx);
void func_809B0A28(EnAni* this, GlobalContext* globalCtx);
void func_809B0A6C(EnAni* this, GlobalContext* globalCtx);
void EnAni_Update(EnAni* this, GlobalContext* globalCtx);
s32 EnAni_UpdateMtxFunc(GlobalContext* globalCtx, s32 limbIndex, Gfx** dList, Vec3f* pos, Vec3s* rot, EnAni* enAni);
void EnAni_LimbAppendDList(GlobalContext* globalCtx, s32 limbIndex, Gfx** dList, Vec3s* rot, EnAni* enAni);
void EnAni_Draw(EnAni* this, GlobalContext* globalCtx);
/*
extern SkeletonHeader D_060000F0;
extern AnimationHeader D_060067B8;
extern AnimationHeader D_060070F0;
extern AnimationHeader D_060076EC;
const ActorInit En_Ani_InitVars = {
ACTOR_EN_ANI,
ACTORTYPE_NPC,
@ -21,39 +45,301 @@ const ActorInit En_Ani_InitVars = {
(ActorFunc)EnAni_Update,
(ActorFunc)EnAni_Draw,
};
*/
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Ani/func_809B0370.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Ani/EnAni_Init.s")
static ColliderCylinderInit cylinderInitData = {
0x0A, 0x00, 0x11, 0x39,
0x10, 0x01, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00,
0x00000000,
0x00, 0x00, 0x00, 0x00,
0xFFCFFFFF,
0x00, 0x00, 0x00, 0x00,
0x00, 0x01, 0x01, 0x00,
0x001E, 0x0028, 0x0000,
};
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Ani/EnAni_Destroy.s")
static InitChainEntry initChain[] = {
ICHAIN_VEC3F_DIV1000(scale, 10, ICHAIN_CONTINUE),
ICHAIN_F32(unk_F4, 850, ICHAIN_STOP),
};
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Ani/func_809B04B4.s")
static Vec3f EnAniVec = {
800.0f, 500.0f, 0.0f
};
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Ani/func_809B04F0.s")
UNK_PTR D_809B0F80[] = {
0x06000408,
0x06001518,
0x06001D18,
};
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Ani/func_809B0524.s")
void EnAni_SetupAction(EnAni* this, ActorFunc actionFunc) {
this->actionFunc = actionFunc;
}
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Ani/func_809B0558.s")
void EnAni_Init(EnAni* this, GlobalContext* globalCtx) {
AnimationHeader* anim;
u32 pad;
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Ani/func_809B05F0.s")
anim = &D_060076EC;
Actor_ProcessInitChain(&this->actor, initChain);
ActorShape_Init(&this->actor.shape, -2800.0f, ActorShadow_DrawFunc_Circle, 36.0f);
SkelAnime_InitSV(globalCtx, &this->skelAnime, &D_060000F0, anim, this->actorDrawTable, this->transitionDrawTable,
0x10);
SkelAnime_ChangeAnimDefaultStop(&this->skelAnime, anim);
ActorCollider_AllocCylinder(globalCtx, &this->collider);
ActorCollider_InitCylinder(globalCtx, &this->collider, &this->actor, &cylinderInitData);
this->actor.sub_98.mass = 0xFF;
if (LINK_IS_CHILD) {
EnAni_SetupAction(this, func_809B064C);
} else {
EnAni_SetupAction(this, func_809B07F8);
}
this->unk_2AA = 0;
this->unk_2A8 = 0;
this->actor.minVelocityY = -1.0f;
this->actor.velocity.y = -1.0f;
}
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Ani/func_809B064C.s")
void EnAni_Destroy(EnAni* this, GlobalContext* globalCtx) {
ColliderCylinderMain* collider;
collider = &this->collider;
ActorCollider_FreeCylinder(globalCtx, &this->collider);
}
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Ani/func_809B07F8.s")
s32 EnAni_SetText(EnAni* this, GlobalContext* globalCtx, u16 textId) {
this->actor.textId = textId;
this->unk_2A8 |= 1;
func_8002F2CC(&this->actor, globalCtx, 100.0f);
return 0;
}
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Ani/func_809B0988.s")
void func_809B04F0(EnAni* this, GlobalContext* globalCtx) {
if (func_8002F334(&this->actor, globalCtx) != 0) {
EnAni_SetupAction(this, func_809B064C);
}
}
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Ani/func_809B0994.s")
void func_809B0524(EnAni* this, GlobalContext* globalCtx) {
if (func_8002F334(&this->actor, globalCtx) != 0) {
EnAni_SetupAction(this, func_809B07F8);
}
}
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Ani/func_809B0A28.s")
void func_809B0558(EnAni* this, GlobalContext* globalCtx) {
if (func_8002F410(&this->actor, globalCtx) != 0) {
this->actor.attachedA = NULL;
if (LINK_IS_CHILD) {
EnAni_SetupAction(this, func_809B04F0);
} else {
EnAni_SetupAction(this, func_809B0524);
}
gSaveContext.item_get_inf[1] |= 0x20;
return;
}
func_8002F434(&this->actor, globalCtx, GI_HEART_PIECE, 10000.0f, 200.0f);
}
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Ani/func_809B0A6C.s")
void func_809B05F0(EnAni* this, GlobalContext* globalCtx) {
if (func_8002F334(this, globalCtx) != 0) {
EnAni_SetupAction(this, func_809B0558);
}
func_8002F434(this, globalCtx, GI_HEART_PIECE, 10000.0f, 200.0f);
}
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Ani/EnAni_Update.s")
void func_809B064C(EnAni* this, GlobalContext* globalCtx) {
u16 textId;
s16 yawDiff;
u16 textId2;
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Ani/func_809B0D90.s")
textId2 = Text_GetFaceReaction(globalCtx, 0xA);
textId = textId2 & 0xffff;
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Ani/func_809B0DD4.s")
if (!textId) {}
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Ani/EnAni_Draw.s")
if (textId2 == 0) {
textId = gSaveContext.night_flag ? 0x5051 : 0x5050; // "...all I can do is look at the stars."
// "...all I can do is look at Death Mountain."
}
yawDiff = this->actor.rotTowardsLinkY - this->actor.shape.rot.y;
if (func_8002F194(&this->actor, globalCtx) != 0) {
if (this->actor.textId == 0x5056) { // "To get a good view..."
EnAni_SetupAction(this, func_809B04F0);
} else if (this->actor.textId == 0x5055) { // "...I'll give you this as a memento."
EnAni_SetupAction(this, func_809B05F0);
} else {
EnAni_SetupAction(this, func_809B04F0);
}
} else if (yawDiff >= -0x36AF && yawDiff < 0 && this->actor.xzDistanceFromLink < 150.0f &&
-80.0f < this->actor.yDistanceFromLink) {
if (gSaveContext.item_get_inf[1] & 0x20) {
EnAni_SetText(this, globalCtx, 0x5056); // "To get a good view..."
} else {
EnAni_SetText(this, globalCtx, 0x5055); // "...I'll give you this as a memento."
}
} else if (yawDiff >= -0x3E7 && yawDiff < 0x36B0 && this->actor.xzDistanceFromLink < 350.0f) {
EnAni_SetText(this, globalCtx, textId);
}
}
void func_809B07F8(EnAni* this, GlobalContext* globalCtx) {
s16 pad;
s16 yawDiff;
u16 textId;
yawDiff = this->actor.rotTowardsLinkY - this->actor.shape.rot.y;
if (func_8002F194(&this->actor, globalCtx) != 0) {
if (this->actor.textId == 0x5056) { // "To get a good view..."
EnAni_SetupAction(this, func_809B0524);
} else if (this->actor.textId == 0x5055) { // "...I'll give you this as a memento."
EnAni_SetupAction(this, func_809B05F0);
} else {
EnAni_SetupAction(this, func_809B0524);
}
} else if (yawDiff >= -0x36AF && yawDiff < 0 && this->actor.xzDistanceFromLink < 150.0f &&
-80.0f < this->actor.yDistanceFromLink) {
if ((gSaveContext.item_get_inf[1] & 0x20) != 0) {
EnAni_SetText(this, globalCtx, 0x5056); // "To get a good view..."
} else {
EnAni_SetText(this, globalCtx, 0x5055); // "...I'll give you this as a memento."
}
} else if (yawDiff >= -0x3E7 && yawDiff < 0x36B0 && this->actor.xzDistanceFromLink < 350.0f) {
if ((gSaveContext.event_chk_inf[2] & 0x8000) == 0) {
textId = 0x5052; // "...Something is happening on Death Mountain!"
} else {
textId = (gSaveContext.item_get_inf[1] & 0x20) ? 0x5054 : 0x5053; // "I don't feel like getting down..."
// "...Death Mountain is back to normal!"
}
EnAni_SetText(this, globalCtx, textId);
}
}
void func_809B0988(EnAni* this, GlobalContext* globalCtx) {
}
void func_809B0994(EnAni* this, GlobalContext* globalCtx) {
GenericAnimationHeader* objSegFrameCount = &D_060070F0.genericHeader;
AnimationHeader* objSegChangeAnime = &D_060070F0;
if (globalCtx->csCtx.actorActions[0]->action == 4) {
SkelAnime_ChangeAnim(&this->skelAnime, objSegChangeAnime, 1.0f, 0.0f,
(f32)SkelAnime_GetFrameCount(objSegFrameCount), 2, -4.0f);
this->unk_2AA += 1;
this->actor.shape.shadowDrawFunc = ActorShadow_DrawFunc_Circle;
}
}
void func_809B0A28(EnAni* this, GlobalContext* globalCtx) {
if (SkelAnime_FrameUpdateMatrix(&this->skelAnime) != 0) {
this->unk_2AA += 1;
}
}
void func_809B0A6C(EnAni* this, GlobalContext* globalCtx) {
if (SkelAnime_FrameUpdateMatrix(&this->skelAnime) != 0) {
this->skelAnime.animCurrentFrame = 0.0f;
}
if (globalCtx->csCtx.actorActions[0]->action == 2) {
SkelAnime_ChangeAnim(&this->skelAnime, &D_060067B8, 1.0f, 0.0f,
SkelAnime_GetFrameCount(&D_060067B8.genericHeader), 2, 0.0f);
this->actor.shape.shadowDrawFunc = NULL;
this->unk_2AA++;
}
}
void EnAni_Update(EnAni* this, GlobalContext* globalCtx) {
ColliderCylinderMain* collider;
u32 pad;
u32 pad2;
collider = &this->collider;
ActorCollider_Cylinder_Update(&this->actor, collider);
Actor_CollisionCheck_SetOT(globalCtx, &globalCtx->sub_11E60, collider);
Actor_MoveForward(&this->actor);
func_8002E4B4(globalCtx, &this->actor, 0.0f, 0.0f, 0.0f, 4);
if ((globalCtx->csCtx.state != 0) && (globalCtx->csCtx.actorActions[0] != NULL)) {
switch (this->unk_2AA) {
case 0:
func_809B0A6C(this, globalCtx);
break;
case 1:
func_809B0A28(this, globalCtx);
break;
case 2:
func_809B0994(this, globalCtx);
break;
case 3:
func_809B0A28(this, globalCtx);
break;
case 4:
func_809B0988(this, globalCtx);
break;
}
if (globalCtx->csCtx.frames == 100) {
func_800788CC(NA_SE_IT_EARTHQUAKE);
}
} else {
if (SkelAnime_FrameUpdateMatrix(&this->skelAnime) != 0) {
this->skelAnime.animCurrentFrame = 0.0f;
}
this->actionFunc(this, globalCtx);
}
if (this->unk_2A8 & 1) {
func_80038290(globalCtx, &this->actor, &this->unk_29C, &this->unk_2A2, this->actor.posRot2.pos);
this->unk_2A2.z = 0;
this->unk_2A2.y = this->unk_2A2.z;
this->unk_2A2.x = this->unk_2A2.z;
} else {
Math_SmoothScaleMaxMinS(&this->unk_29C.x, 0, 6, 6200, 100);
Math_SmoothScaleMaxMinS(&this->unk_29C.y, 0, 6, 6200, 100);
Math_SmoothScaleMaxMinS(&this->unk_2A2.x, 0, 6, 6200, 100);
Math_SmoothScaleMaxMinS(&this->unk_2A2.y, 0, 6, 6200, 100);
}
if (DECR(this->unk_2AE) == 0) {
this->unk_2AE = Math_Rand_S16Offset(60, 60);
}
this->unk_2AC = this->unk_2AE;
if (this->unk_2AC >= 3) {
this->unk_2AC = 0;
}
}
s32 EnAni_UpdateMtxFunc(GlobalContext* globalCtx, s32 limbIndex, Gfx** dList, Vec3f* pos, Vec3s* rot, EnAni* enAni) {
EnAni* temp;
temp = enAni;
if (limbIndex == 15) {
rot->x += temp->unk_29C.y;
rot->z += temp->unk_29C.x;
}
return 0;
}
void EnAni_LimbAppendDList(GlobalContext* globalCtx, s32 limbIndex, Gfx** dList, Vec3s* rot, EnAni* enAni) {
if (limbIndex == 15) {
Matrix_MultVec3f(&EnAniVec, &enAni->actor.posRot2.pos);
}
}
void EnAni_Draw(EnAni* this, GlobalContext* globalCtx) {
UNK_PTR* temp;
u32 pad;
GraphicsContext* gfxCtx;
Gfx* dispRefs[4];
temp = D_809B0F80;
gfxCtx = globalCtx->state.gfxCtx;
Graph_OpenDisps(dispRefs, globalCtx->state.gfxCtx, "../z_en_ani.c", 719);
func_800943C8(globalCtx->state.gfxCtx);
gSPSegment(gfxCtx->polyOpa.p++, 0x08, SEGMENTED_TO_VIRTUAL(temp[this->unk_2AC]));
SkelAnime_DrawSV(globalCtx, this->skelAnime.skeleton, this->skelAnime.actorDrawTbl, this->skelAnime.dListCount,
EnAni_UpdateMtxFunc, EnAni_LimbAppendDList, &this->actor);
Graph_CloseDisps(dispRefs, globalCtx->state.gfxCtx, "../z_en_ani.c", 736);
}

View file

@ -6,7 +6,17 @@
typedef struct {
/* 0x0000 */ Actor actor;
/* 0x014C */ char unk_14C[0x168];
/* 0x014C */ ColliderCylinderMain collider;
/* 0x0198 */ SkelAnime skelAnime;
/* 0x01DC */ Vec3s actorDrawTable[16];
/* 0x023C */ Vec3s transitionDrawTable[16];
/* 0x029C */ Vec3s unk_29C;
/* 0x02A2 */ Vec3s unk_2A2;
/* 0x02A8 */ u16 unk_2A8;
/* 0x02AA */ u16 unk_2AA;
/* 0x02AC */ s16 unk_2AC;
/* 0x02AE */ s16 unk_2AE;
/* 0x02B0 */ ActorFunc actionFunc;
} EnAni; // size = 0x02B4
extern const ActorInit En_Ani_InitVars;

View file

@ -483,3 +483,9 @@ D_05009940 = 0x05009940;
// z_bg_hidan_firewall
D_0600DA80 = 0x0600DA80;
// z_en_ani
D_060000F0 = 0x060000F0;
D_060067B8 = 0x060067B8;
D_060076EC = 0x060076EC;
D_060070F0 = 0x060070F0;