1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-11-28 19:25:27 +00:00

ovl_En_Weiyer (#650)

* ovl_En_Weiyer

* PR review

* PR review
This commit is contained in:
maekclena 2021-02-08 00:31:24 +01:00 committed by GitHub
parent 088e8c09bc
commit b029225000
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
33 changed files with 589 additions and 1830 deletions

View file

@ -1,12 +0,0 @@
glabel EnWeiyer_Destroy
/* 000CC 80B3235C 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 000D0 80B32360 00803025 */ or $a2, $a0, $zero ## $a2 = 00000000
/* 000D4 80B32364 AFBF0014 */ sw $ra, 0x0014($sp)
/* 000D8 80B32368 00A02025 */ or $a0, $a1, $zero ## $a0 = 00000000
/* 000DC 80B3236C 0C0170EB */ jal Collider_DestroyCylinder
/* 000E0 80B32370 24C50284 */ addiu $a1, $a2, 0x0284 ## $a1 = 00000284
/* 000E4 80B32374 8FBF0014 */ lw $ra, 0x0014($sp)
/* 000E8 80B32378 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
/* 000EC 80B3237C 03E00008 */ jr $ra
/* 000F0 80B32380 00000000 */ nop

View file

@ -1,105 +0,0 @@
.rdata
glabel D_80B33AF0
.asciz "../z_en_weiyer.c"
.balign 4
glabel D_80B33B04
.asciz "../z_en_weiyer.c"
.balign 4
.text
glabel EnWeiyer_Draw
/* 01670 80B33900 27BDFF98 */ addiu $sp, $sp, 0xFF98 ## $sp = FFFFFF98
/* 01674 80B33904 AFB20030 */ sw $s2, 0x0030($sp)
/* 01678 80B33908 00A09025 */ or $s2, $a1, $zero ## $s2 = 00000000
/* 0167C 80B3390C AFBF0034 */ sw $ra, 0x0034($sp)
/* 01680 80B33910 AFB1002C */ sw $s1, 0x002C($sp)
/* 01684 80B33914 AFB00028 */ sw $s0, 0x0028($sp)
/* 01688 80B33918 8CA50000 */ lw $a1, 0x0000($a1) ## 00000000
/* 0168C 80B3391C 00808825 */ or $s1, $a0, $zero ## $s1 = 00000000
/* 01690 80B33920 3C0680B3 */ lui $a2, %hi(D_80B33AF0) ## $a2 = 80B30000
/* 01694 80B33924 24C63AF0 */ addiu $a2, $a2, %lo(D_80B33AF0) ## $a2 = 80B33AF0
/* 01698 80B33928 27A40050 */ addiu $a0, $sp, 0x0050 ## $a0 = FFFFFFE8
/* 0169C 80B3392C 240704A9 */ addiu $a3, $zero, 0x04A9 ## $a3 = 000004A9
/* 016A0 80B33930 0C031AB1 */ jal Graph_OpenDisps
/* 016A4 80B33934 00A08025 */ or $s0, $a1, $zero ## $s0 = 00000000
/* 016A8 80B33938 8E2F0190 */ lw $t7, 0x0190($s1) ## 00000190
/* 016AC 80B3393C 3C0E80B3 */ lui $t6, %hi(func_80B33338) ## $t6 = 80B30000
/* 016B0 80B33940 25CE3338 */ addiu $t6, $t6, %lo(func_80B33338) ## $t6 = 80B33338
/* 016B4 80B33944 11CF001F */ beq $t6, $t7, .L80B339C4
/* 016B8 80B33948 00000000 */ nop
/* 016BC 80B3394C 0C024F46 */ jal func_80093D18
/* 016C0 80B33950 8E440000 */ lw $a0, 0x0000($s2) ## 00000000
/* 016C4 80B33954 8E0302C0 */ lw $v1, 0x02C0($s0) ## 000002C0
/* 016C8 80B33958 3C19DB06 */ lui $t9, 0xDB06 ## $t9 = DB060000
/* 016CC 80B3395C 3C088011 */ lui $t0, %hi(D_80116280+0x10)
/* 016D0 80B33960 24780008 */ addiu $t8, $v1, 0x0008 ## $t8 = 00000008
/* 016D4 80B33964 AE1802C0 */ sw $t8, 0x02C0($s0) ## 000002C0
/* 016D8 80B33968 25086290 */ addiu $t0, %lo(D_80116280+0x10)
/* 016DC 80B3396C 37390020 */ ori $t9, $t9, 0x0020 ## $t9 = DB060020
/* 016E0 80B33970 AC790000 */ sw $t9, 0x0000($v1) ## 00000000
/* 016E4 80B33974 AC680004 */ sw $t0, 0x0004($v1) ## 00000004
/* 016E8 80B33978 8E0302C0 */ lw $v1, 0x02C0($s0) ## 000002C0
/* 016EC 80B3397C 3C0AFB00 */ lui $t2, 0xFB00 ## $t2 = FB000000
/* 016F0 80B33980 240BFFFF */ addiu $t3, $zero, 0xFFFF ## $t3 = FFFFFFFF
/* 016F4 80B33984 24690008 */ addiu $t1, $v1, 0x0008 ## $t1 = 00000008
/* 016F8 80B33988 AE0902C0 */ sw $t1, 0x02C0($s0) ## 000002C0
/* 016FC 80B3398C AC6B0004 */ sw $t3, 0x0004($v1) ## 00000004
/* 01700 80B33990 AC6A0000 */ sw $t2, 0x0000($v1) ## 00000000
/* 01704 80B33994 8E26016C */ lw $a2, 0x016C($s1) ## 0000016C
/* 01708 80B33998 8E250150 */ lw $a1, 0x0150($s1) ## 00000150
/* 0170C 80B3399C AFB10014 */ sw $s1, 0x0014($sp)
/* 01710 80B339A0 AFA00010 */ sw $zero, 0x0010($sp)
/* 01714 80B339A4 8E0C02C0 */ lw $t4, 0x02C0($s0) ## 000002C0
/* 01718 80B339A8 3C0780B3 */ lui $a3, %hi(func_80B338D4) ## $a3 = 80B30000
/* 0171C 80B339AC 24E738D4 */ addiu $a3, $a3, %lo(func_80B338D4) ## $a3 = 80B338D4
/* 01720 80B339B0 02402025 */ or $a0, $s2, $zero ## $a0 = 00000000
/* 01724 80B339B4 0C0288A2 */ jal SkelAnime_Draw
/* 01728 80B339B8 AFAC0018 */ sw $t4, 0x0018($sp)
/* 0172C 80B339BC 10000020 */ beq $zero, $zero, .L80B33A40
/* 01730 80B339C0 AE0202C0 */ sw $v0, 0x02C0($s0) ## 000002C0
.L80B339C4:
/* 01734 80B339C4 0C024F61 */ jal func_80093D84
/* 01738 80B339C8 8E440000 */ lw $a0, 0x0000($s2) ## 00000000
/* 0173C 80B339CC 8E0302D0 */ lw $v1, 0x02D0($s0) ## 000002D0
/* 01740 80B339D0 3C0EDB06 */ lui $t6, 0xDB06 ## $t6 = DB060000
/* 01744 80B339D4 3C0F8011 */ lui $t7, %hi(D_80116280)
/* 01748 80B339D8 246D0008 */ addiu $t5, $v1, 0x0008 ## $t5 = 00000008
/* 0174C 80B339DC AE0D02D0 */ sw $t5, 0x02D0($s0) ## 000002D0
/* 01750 80B339E0 25EF6280 */ addiu $t7, %lo(D_80116280)
/* 01754 80B339E4 35CE0020 */ ori $t6, $t6, 0x0020 ## $t6 = DB060020
/* 01758 80B339E8 AC6E0000 */ sw $t6, 0x0000($v1) ## 00000000
/* 0175C 80B339EC AC6F0004 */ sw $t7, 0x0004($v1) ## 00000004
/* 01760 80B339F0 8E0302D0 */ lw $v1, 0x02D0($s0) ## 000002D0
/* 01764 80B339F4 3C19FB00 */ lui $t9, 0xFB00 ## $t9 = FB000000
/* 01768 80B339F8 2401FF00 */ addiu $at, $zero, 0xFF00 ## $at = FFFFFF00
/* 0176C 80B339FC 24780008 */ addiu $t8, $v1, 0x0008 ## $t8 = 00000008
/* 01770 80B33A00 AE1802D0 */ sw $t8, 0x02D0($s0) ## 000002D0
/* 01774 80B33A04 AC790000 */ sw $t9, 0x0000($v1) ## 00000000
/* 01778 80B33A08 922900C8 */ lbu $t1, 0x00C8($s1) ## 000000C8
/* 0177C 80B33A0C 3C0780B3 */ lui $a3, %hi(func_80B338D4) ## $a3 = 80B30000
/* 01780 80B33A10 24E738D4 */ addiu $a3, $a3, %lo(func_80B338D4) ## $a3 = 80B338D4
/* 01784 80B33A14 01215025 */ or $t2, $t1, $at ## $t2 = FFFFFF00
/* 01788 80B33A18 AC6A0004 */ sw $t2, 0x0004($v1) ## 00000004
/* 0178C 80B33A1C 8E26016C */ lw $a2, 0x016C($s1) ## 0000016C
/* 01790 80B33A20 8E250150 */ lw $a1, 0x0150($s1) ## 00000150
/* 01794 80B33A24 AFB10014 */ sw $s1, 0x0014($sp)
/* 01798 80B33A28 AFA00010 */ sw $zero, 0x0010($sp)
/* 0179C 80B33A2C 8E0B02D0 */ lw $t3, 0x02D0($s0) ## 000002D0
/* 017A0 80B33A30 02402025 */ or $a0, $s2, $zero ## $a0 = 00000000
/* 017A4 80B33A34 0C0288A2 */ jal SkelAnime_Draw
/* 017A8 80B33A38 AFAB0018 */ sw $t3, 0x0018($sp)
/* 017AC 80B33A3C AE0202D0 */ sw $v0, 0x02D0($s0) ## 000002D0
.L80B33A40:
/* 017B0 80B33A40 3C0680B3 */ lui $a2, %hi(D_80B33B04) ## $a2 = 80B30000
/* 017B4 80B33A44 24C63B04 */ addiu $a2, $a2, %lo(D_80B33B04) ## $a2 = 80B33B04
/* 017B8 80B33A48 27A40050 */ addiu $a0, $sp, 0x0050 ## $a0 = FFFFFFE8
/* 017BC 80B33A4C 8E450000 */ lw $a1, 0x0000($s2) ## 00000000
/* 017C0 80B33A50 0C031AD5 */ jal Graph_CloseDisps
/* 017C4 80B33A54 240704D8 */ addiu $a3, $zero, 0x04D8 ## $a3 = 000004D8
/* 017C8 80B33A58 8FBF0034 */ lw $ra, 0x0034($sp)
/* 017CC 80B33A5C 8FB00028 */ lw $s0, 0x0028($sp)
/* 017D0 80B33A60 8FB1002C */ lw $s1, 0x002C($sp)
/* 017D4 80B33A64 8FB20030 */ lw $s2, 0x0030($sp)
/* 017D8 80B33A68 03E00008 */ jr $ra
/* 017DC 80B33A6C 27BD0068 */ addiu $sp, $sp, 0x0068 ## $sp = 00000000

View file

@ -1,57 +0,0 @@
glabel EnWeiyer_Init
/* 00000 80B32290 27BDFFC8 */ addiu $sp, $sp, 0xFFC8 ## $sp = FFFFFFC8
/* 00004 80B32294 AFA5003C */ sw $a1, 0x003C($sp)
/* 00008 80B32298 AFBF002C */ sw $ra, 0x002C($sp)
/* 0000C 80B3229C AFB00028 */ sw $s0, 0x0028($sp)
/* 00010 80B322A0 3C0580B3 */ lui $a1, %hi(D_80B33AE4) ## $a1 = 80B30000
/* 00014 80B322A4 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 00018 80B322A8 0C01E037 */ jal Actor_ProcessInitChain
/* 0001C 80B322AC 24A53AE4 */ addiu $a1, $a1, %lo(D_80B33AE4) ## $a1 = 80B33AE4
/* 00020 80B322B0 3C068003 */ lui $a2, %hi(ActorShadow_DrawCircle)
/* 00024 80B322B4 24C6B5EC */ addiu $a2, %lo(ActorShadow_DrawCircle)
/* 00028 80B322B8 260400B4 */ addiu $a0, $s0, 0x00B4 ## $a0 = 000000B4
/* 0002C 80B322BC 3C05447A */ lui $a1, 0x447A ## $a1 = 447A0000
/* 00030 80B322C0 0C00AC78 */ jal ActorShape_Init
/* 00034 80B322C4 3C074282 */ lui $a3, 0x4282 ## $a3 = 42820000
/* 00038 80B322C8 3C060600 */ lui $a2, %hi(D_06003410) ## $a2 = 06000000
/* 0003C 80B322CC 3C070600 */ lui $a3, %hi(D_060012AC) ## $a3 = 06000000
/* 00040 80B322D0 260E0198 */ addiu $t6, $s0, 0x0198 ## $t6 = 00000198
/* 00044 80B322D4 260F020A */ addiu $t7, $s0, 0x020A ## $t7 = 0000020A
/* 00048 80B322D8 24180013 */ addiu $t8, $zero, 0x0013 ## $t8 = 00000013
/* 0004C 80B322DC AFB80018 */ sw $t8, 0x0018($sp)
/* 00050 80B322E0 AFAF0014 */ sw $t7, 0x0014($sp)
/* 00054 80B322E4 AFAE0010 */ sw $t6, 0x0010($sp)
/* 00058 80B322E8 24E712AC */ addiu $a3, $a3, %lo(D_060012AC) ## $a3 = 060012AC
/* 0005C 80B322EC 24C63410 */ addiu $a2, $a2, %lo(D_06003410) ## $a2 = 06003410
/* 00060 80B322F0 8FA4003C */ lw $a0, 0x003C($sp)
/* 00064 80B322F4 0C02915F */ jal SkelAnime_Init
/* 00068 80B322F8 2605014C */ addiu $a1, $s0, 0x014C ## $a1 = 0000014C
/* 0006C 80B322FC 26050284 */ addiu $a1, $s0, 0x0284 ## $a1 = 00000284
/* 00070 80B32300 AFA50030 */ sw $a1, 0x0030($sp)
/* 00074 80B32304 0C0170D9 */ jal Collider_InitCylinder
/* 00078 80B32308 8FA4003C */ lw $a0, 0x003C($sp)
/* 0007C 80B3230C 3C0780B3 */ lui $a3, %hi(D_80B33A90) ## $a3 = 80B30000
/* 00080 80B32310 8FA50030 */ lw $a1, 0x0030($sp)
/* 00084 80B32314 24E73A90 */ addiu $a3, $a3, %lo(D_80B33A90) ## $a3 = 80B33A90
/* 00088 80B32318 8FA4003C */ lw $a0, 0x003C($sp)
/* 0008C 80B3231C 0C01712B */ jal Collider_SetCylinder
/* 00090 80B32320 02003025 */ or $a2, $s0, $zero ## $a2 = 00000000
/* 00094 80B32324 3C0580B3 */ lui $a1, %hi(D_80B33AC4) ## $a1 = 80B30000
/* 00098 80B32328 3C0680B3 */ lui $a2, %hi(D_80B33ABC) ## $a2 = 80B30000
/* 0009C 80B3232C 24C63ABC */ addiu $a2, $a2, %lo(D_80B33ABC) ## $a2 = 80B33ABC
/* 000A0 80B32330 24A53AC4 */ addiu $a1, $a1, %lo(D_80B33AC4) ## $a1 = 80B33AC4
/* 000A4 80B32334 0C0187B5 */ jal CollisionCheck_SetInfo
/* 000A8 80B32338 26040098 */ addiu $a0, $s0, 0x0098 ## $a0 = 00000098
/* 000AC 80B3233C 3C1980B3 */ lui $t9, %hi(func_80B32804) ## $t9 = 80B30000
/* 000B0 80B32340 27392804 */ addiu $t9, $t9, %lo(func_80B32804) ## $t9 = 80B32804
/* 000B4 80B32344 AE190190 */ sw $t9, 0x0190($s0) ## 00000190
/* 000B8 80B32348 8FBF002C */ lw $ra, 0x002C($sp)
/* 000BC 80B3234C 8FB00028 */ lw $s0, 0x0028($sp)
/* 000C0 80B32350 27BD0038 */ addiu $sp, $sp, 0x0038 ## $sp = 00000000
/* 000C4 80B32354 03E00008 */ jr $ra
/* 000C8 80B32358 00000000 */ nop

View file

@ -1,105 +0,0 @@
glabel EnWeiyer_Update
/* 014D8 80B33768 27BDFFC8 */ addiu $sp, $sp, 0xFFC8 ## $sp = FFFFFFC8
/* 014DC 80B3376C AFBF0024 */ sw $ra, 0x0024($sp)
/* 014E0 80B33770 AFB10020 */ sw $s1, 0x0020($sp)
/* 014E4 80B33774 AFB0001C */ sw $s0, 0x001C($sp)
/* 014E8 80B33778 C4860028 */ lwc1 $f6, 0x0028($a0) ## 00000028
/* 014EC 80B3377C C4840084 */ lwc1 $f4, 0x0084($a0) ## 00000084
/* 014F0 80B33780 3C0140A0 */ lui $at, 0x40A0 ## $at = 40A00000
/* 014F4 80B33784 44815000 */ mtc1 $at, $f10 ## $f10 = 5.00
/* 014F8 80B33788 46062200 */ add.s $f8, $f4, $f6
/* 014FC 80B3378C 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 01500 80B33790 00A08825 */ or $s1, $a1, $zero ## $s1 = 00000000
/* 01504 80B33794 460A4401 */ sub.s $f16, $f8, $f10
/* 01508 80B33798 0C2CCDA3 */ jal func_80B3368C
/* 0150C 80B3379C E490000C */ swc1 $f16, 0x000C($a0) ## 0000000C
/* 01510 80B337A0 8E190190 */ lw $t9, 0x0190($s0) ## 00000190
/* 01514 80B337A4 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 01518 80B337A8 02202825 */ or $a1, $s1, $zero ## $a1 = 00000000
/* 0151C 80B337AC 0320F809 */ jalr $ra, $t9
/* 01520 80B337B0 00000000 */ nop
/* 01524 80B337B4 860F00B4 */ lh $t7, 0x00B4($s0) ## 000000B4
/* 01528 80B337B8 860E00B6 */ lh $t6, 0x00B6($s0) ## 000000B6
/* 0152C 80B337BC 000FC023 */ subu $t8, $zero, $t7
/* 01530 80B337C0 A6180030 */ sh $t8, 0x0030($s0) ## 00000030
/* 01534 80B337C4 86080030 */ lh $t0, 0x0030($s0) ## 00000030
/* 01538 80B337C8 A60E0032 */ sh $t6, 0x0032($s0) ## 00000032
/* 0153C 80B337CC 11000006 */ beq $t0, $zero, .L80B337E8
/* 01540 80B337D0 00000000 */ nop
/* 01544 80B337D4 8E0A0190 */ lw $t2, 0x0190($s0) ## 00000190
/* 01548 80B337D8 3C0980B3 */ lui $t1, %hi(func_80B333B8) ## $t1 = 80B30000
/* 0154C 80B337DC 252933B8 */ addiu $t1, $t1, %lo(func_80B333B8) ## $t1 = 80B333B8
/* 01550 80B337E0 152A0005 */ bne $t1, $t2, .L80B337F8
/* 01554 80B337E4 00000000 */ nop
.L80B337E8:
/* 01558 80B337E8 0C00B638 */ jal Actor_MoveForward
/* 0155C 80B337EC 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 01560 80B337F0 10000004 */ beq $zero, $zero, .L80B33804
/* 01564 80B337F4 3C014234 */ lui $at, 0x4234 ## $at = 42340000
.L80B337F8:
/* 01568 80B337F8 0C00B65F */ jal func_8002D97C
/* 0156C 80B337FC 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 01570 80B33800 3C014234 */ lui $at, 0x4234 ## $at = 42340000
.L80B33804:
/* 01574 80B33804 44819000 */ mtc1 $at, $f18 ## $f18 = 45.00
/* 01578 80B33808 240B0007 */ addiu $t3, $zero, 0x0007 ## $t3 = 00000007
/* 0157C 80B3380C AFAB0014 */ sw $t3, 0x0014($sp)
/* 01580 80B33810 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
/* 01584 80B33814 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000
/* 01588 80B33818 3C064120 */ lui $a2, 0x4120 ## $a2 = 41200000
/* 0158C 80B3381C 3C0741F0 */ lui $a3, 0x41F0 ## $a3 = 41F00000
/* 01590 80B33820 0C00B92D */ jal Actor_UpdateBgCheckInfo
/* 01594 80B33824 E7B20010 */ swc1 $f18, 0x0010($sp)
/* 01598 80B33828 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 0159C 80B3382C 0C00B56E */ jal Actor_SetFocus
/* 015A0 80B33830 24050000 */ addiu $a1, $zero, 0x0000 ## $a1 = 00000000
/* 015A4 80B33834 92020294 */ lbu $v0, 0x0294($s0) ## 00000294
/* 015A8 80B33838 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 015AC 80B3383C 240539A2 */ addiu $a1, $zero, 0x39A2 ## $a1 = 000039A2
/* 015B0 80B33840 304C0002 */ andi $t4, $v0, 0x0002 ## $t4 = 00000000
/* 015B4 80B33844 11800003 */ beq $t4, $zero, .L80B33854
/* 015B8 80B33848 304DFFFC */ andi $t5, $v0, 0xFFFC ## $t5 = 00000000
/* 015BC 80B3384C 0C00BE0A */ jal Audio_PlayActorSound2
/* 015C0 80B33850 A20D0294 */ sb $t5, 0x0294($s0) ## 00000294
.L80B33854:
/* 015C4 80B33854 26050284 */ addiu $a1, $s0, 0x0284 ## $a1 = 00000284
/* 015C8 80B33858 AFA50028 */ sw $a1, 0x0028($sp)
/* 015CC 80B3385C 0C0189B7 */ jal Collider_UpdateCylinder
/* 015D0 80B33860 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 015D4 80B33864 92190294 */ lbu $t9, 0x0294($s0) ## 00000294
/* 015D8 80B33868 3C010001 */ lui $at, 0x0001 ## $at = 00010000
/* 015DC 80B3386C 34211E60 */ ori $at, $at, 0x1E60 ## $at = 00011E60
/* 015E0 80B33870 332E0001 */ andi $t6, $t9, 0x0001 ## $t6 = 00000000
/* 015E4 80B33874 11C00004 */ beq $t6, $zero, .L80B33888
/* 015E8 80B33878 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
/* 015EC 80B3387C 02212821 */ addu $a1, $s1, $at
/* 015F0 80B33880 0C0175E7 */ jal CollisionCheck_SetAT
## CollisionCheck_setAT
/* 015F4 80B33884 8FA60028 */ lw $a2, 0x0028($sp)
.L80B33888:
/* 015F8 80B33888 920F0295 */ lbu $t7, 0x0295($s0) ## 00000295
/* 015FC 80B3388C 3C010001 */ lui $at, 0x0001 ## $at = 00010000
/* 01600 80B33890 34211E60 */ ori $at, $at, 0x1E60 ## $at = 00011E60
/* 01604 80B33894 31F80001 */ andi $t8, $t7, 0x0001 ## $t8 = 00000000
/* 01608 80B33898 13000006 */ beq $t8, $zero, .L80B338B4
/* 0160C 80B3389C 02212821 */ addu $a1, $s1, $at
/* 01610 80B338A0 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
/* 01614 80B338A4 8FA60028 */ lw $a2, 0x0028($sp)
/* 01618 80B338A8 0C01767D */ jal CollisionCheck_SetAC
## CollisionCheck_setAC
/* 0161C 80B338AC AFA5002C */ sw $a1, 0x002C($sp)
/* 01620 80B338B0 8FA5002C */ lw $a1, 0x002C($sp)
.L80B338B4:
/* 01624 80B338B4 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
/* 01628 80B338B8 0C017713 */ jal CollisionCheck_SetOC
## CollisionCheck_setOC
/* 0162C 80B338BC 8FA60028 */ lw $a2, 0x0028($sp)
/* 01630 80B338C0 8FBF0024 */ lw $ra, 0x0024($sp)
/* 01634 80B338C4 8FB0001C */ lw $s0, 0x001C($sp)
/* 01638 80B338C8 8FB10020 */ lw $s1, 0x0020($sp)
/* 0163C 80B338CC 03E00008 */ jr $ra
/* 01640 80B338D0 27BD0038 */ addiu $sp, $sp, 0x0038 ## $sp = 00000000

View file

@ -1,52 +0,0 @@
.late_rodata
glabel D_80B33B18
.word 0xBEC90FDB
.text
glabel func_80B32384
/* 000F4 80B32384 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 000F8 80B32388 AFBF0014 */ sw $ra, 0x0014($sp)
/* 000FC 80B3238C 848E00B6 */ lh $t6, 0x00B6($a0) ## 000000B6
/* 00100 80B32390 3C0180B3 */ lui $at, %hi(D_80B33B18) ## $at = 80B30000
/* 00104 80B32394 A48E0196 */ sh $t6, 0x0196($a0) ## 00000196
/* 00108 80B32398 AFA40018 */ sw $a0, 0x0018($sp)
/* 0010C 80B3239C 0C041184 */ jal cosf
/* 00110 80B323A0 C42C3B18 */ lwc1 $f12, %lo(D_80B33B18)($at)
/* 00114 80B323A4 3C014040 */ lui $at, 0x4040 ## $at = 40400000
/* 00118 80B323A8 44812000 */ mtc1 $at, $f4 ## $f4 = 3.00
/* 0011C 80B323AC 8FA70018 */ lw $a3, 0x0018($sp)
/* 00120 80B323B0 3C050600 */ lui $a1, %hi(D_06000FC0) ## $a1 = 06000000
/* 00124 80B323B4 46040182 */ mul.s $f6, $f0, $f4
/* 00128 80B323B8 C4E80028 */ lwc1 $f8, 0x0028($a3) ## 00000028
/* 0012C 80B323BC 24A50FC0 */ addiu $a1, $a1, %lo(D_06000FC0) ## $a1 = 06000FC0
/* 00130 80B323C0 3C06C0A0 */ lui $a2, 0xC0A0 ## $a2 = C0A00000
/* 00134 80B323C4 24E4014C */ addiu $a0, $a3, 0x014C ## $a0 = 0000014C
/* 00138 80B323C8 46083280 */ add.s $f10, $f6, $f8
/* 0013C 80B323CC 0C0294D3 */ jal Animation_MorphToLoop
/* 00140 80B323D0 E4EA027C */ swc1 $f10, 0x027C($a3) ## 0000027C
/* 00144 80B323D4 8FA70018 */ lw $a3, 0x0018($sp)
/* 00148 80B323D8 3C014020 */ lui $at, 0x4020 ## $at = 40200000
/* 0014C 80B323DC 44811000 */ mtc1 $at, $f2 ## $f2 = 2.50
/* 00150 80B323E0 C4E00068 */ lwc1 $f0, 0x0068($a3) ## 00000068
/* 00154 80B323E4 240F001E */ addiu $t7, $zero, 0x001E ## $t7 = 0000001E
/* 00158 80B323E8 3C0880B3 */ lui $t0, %hi(func_80B328E8) ## $t0 = 80B30000
/* 0015C 80B323EC 4600103C */ c.lt.s $f2, $f0
/* 00160 80B323F0 250828E8 */ addiu $t0, $t0, %lo(func_80B328E8) ## $t0 = 80B328E8
/* 00164 80B323F4 A4EF0194 */ sh $t7, 0x0194($a3) ## 00000194
/* 00168 80B323F8 45020004 */ bc1fl .L80B3240C
/* 0016C 80B323FC E4E00068 */ swc1 $f0, 0x0068($a3) ## 00000068
/* 00170 80B32400 10000002 */ beq $zero, $zero, .L80B3240C
/* 00174 80B32404 E4E20068 */ swc1 $f2, 0x0068($a3) ## 00000068
/* 00178 80B32408 E4E00068 */ swc1 $f0, 0x0068($a3) ## 00000068
.L80B3240C:
/* 0017C 80B3240C 90F80294 */ lbu $t8, 0x0294($a3) ## 00000294
/* 00180 80B32410 C4F00080 */ lwc1 $f16, 0x0080($a3) ## 00000080
/* 00184 80B32414 ACE80190 */ sw $t0, 0x0190($a3) ## 00000190
/* 00188 80B32418 3319FFFE */ andi $t9, $t8, 0xFFFE ## $t9 = 00000000
/* 0018C 80B3241C A0F90294 */ sb $t9, 0x0294($a3) ## 00000294
/* 00190 80B32420 E4F00280 */ swc1 $f16, 0x0280($a3) ## 00000280
/* 00194 80B32424 8FBF0014 */ lw $ra, 0x0014($sp)
/* 00198 80B32428 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
/* 0019C 80B3242C 03E00008 */ jr $ra
/* 001A0 80B32430 00000000 */ nop

View file

@ -1,25 +0,0 @@
glabel func_80B32434
/* 001A4 80B32434 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 001A8 80B32438 AFBF0014 */ sw $ra, 0x0014($sp)
/* 001AC 80B3243C 00803825 */ or $a3, $a0, $zero ## $a3 = 00000000
/* 001B0 80B32440 3C050600 */ lui $a1, %hi(D_06000FC0) ## $a1 = 06000000
/* 001B4 80B32444 24A50FC0 */ addiu $a1, $a1, %lo(D_06000FC0) ## $a1 = 06000FC0
/* 001B8 80B32448 AFA70018 */ sw $a3, 0x0018($sp)
/* 001BC 80B3244C 2484014C */ addiu $a0, $a0, 0x014C ## $a0 = 0000014C
/* 001C0 80B32450 0C0294D3 */ jal Animation_MorphToLoop
/* 001C4 80B32454 3C06C0A0 */ lui $a2, 0xC0A0 ## $a2 = C0A00000
/* 001C8 80B32458 8FA70018 */ lw $a3, 0x0018($sp)
/* 001CC 80B3245C 3C0140A0 */ lui $at, 0x40A0 ## $at = 40A00000
/* 001D0 80B32460 44812000 */ mtc1 $at, $f4 ## $f4 = 5.00
/* 001D4 80B32464 90EE0294 */ lbu $t6, 0x0294($a3) ## 00000294
/* 001D8 80B32468 3C1880B3 */ lui $t8, %hi(func_80B32C2C) ## $t8 = 80B30000
/* 001DC 80B3246C 27182C2C */ addiu $t8, $t8, %lo(func_80B32C2C) ## $t8 = 80B32C2C
/* 001E0 80B32470 35CF0001 */ ori $t7, $t6, 0x0001 ## $t7 = 00000001
/* 001E4 80B32474 A0EF0294 */ sb $t7, 0x0294($a3) ## 00000294
/* 001E8 80B32478 A4E00194 */ sh $zero, 0x0194($a3) ## 00000194
/* 001EC 80B3247C ACF80190 */ sw $t8, 0x0190($a3) ## 00000190
/* 001F0 80B32480 E4E40068 */ swc1 $f4, 0x0068($a3) ## 00000068
/* 001F4 80B32484 8FBF0014 */ lw $ra, 0x0014($sp)
/* 001F8 80B32488 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
/* 001FC 80B3248C 03E00008 */ jr $ra
/* 00200 80B32490 00000000 */ nop

View file

@ -1,31 +0,0 @@
glabel func_80B32494
/* 00204 80B32494 44800000 */ mtc1 $zero, $f0 ## $f0 = 0.00
/* 00208 80B32498 27BDFFD0 */ addiu $sp, $sp, 0xFFD0 ## $sp = FFFFFFD0
/* 0020C 80B3249C 3C01C100 */ lui $at, 0xC100 ## $at = C1000000
/* 00210 80B324A0 44812000 */ mtc1 $at, $f4 ## $f4 = -8.00
/* 00214 80B324A4 AFB00028 */ sw $s0, 0x0028($sp)
/* 00218 80B324A8 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 0021C 80B324AC AFBF002C */ sw $ra, 0x002C($sp)
/* 00220 80B324B0 3C050600 */ lui $a1, %hi(D_06000288) ## $a1 = 06000000
/* 00224 80B324B4 44070000 */ mfc1 $a3, $f0
/* 00228 80B324B8 24A50288 */ addiu $a1, $a1, %lo(D_06000288) ## $a1 = 06000288
/* 0022C 80B324BC 2484014C */ addiu $a0, $a0, 0x014C ## $a0 = 0000014C
/* 00230 80B324C0 AFA00014 */ sw $zero, 0x0014($sp)
/* 00234 80B324C4 3C064000 */ lui $a2, 0x4000 ## $a2 = 40000000
/* 00238 80B324C8 E7A00010 */ swc1 $f0, 0x0010($sp)
/* 0023C 80B324CC 0C029468 */ jal Animation_Change
/* 00240 80B324D0 E7A40018 */ swc1 $f4, 0x0018($sp)
/* 00244 80B324D4 920F0294 */ lbu $t7, 0x0294($s0) ## 00000294
/* 00248 80B324D8 3C1980B3 */ lui $t9, %hi(func_80B32D30) ## $t9 = 80B30000
/* 0024C 80B324DC 240E0028 */ addiu $t6, $zero, 0x0028 ## $t6 = 00000028
/* 00250 80B324E0 27392D30 */ addiu $t9, $t9, %lo(func_80B32D30) ## $t9 = 80B32D30
/* 00254 80B324E4 35F80001 */ ori $t8, $t7, 0x0001 ## $t8 = 00000001
/* 00258 80B324E8 A60E0194 */ sh $t6, 0x0194($s0) ## 00000194
/* 0025C 80B324EC A2180294 */ sb $t8, 0x0294($s0) ## 00000294
/* 00260 80B324F0 AE190190 */ sw $t9, 0x0190($s0) ## 00000190
/* 00264 80B324F4 8FBF002C */ lw $ra, 0x002C($sp)
/* 00268 80B324F8 8FB00028 */ lw $s0, 0x0028($sp)
/* 0026C 80B324FC 27BD0030 */ addiu $sp, $sp, 0x0030 ## $sp = 00000000
/* 00270 80B32500 03E00008 */ jr $ra
/* 00274 80B32504 00000000 */ nop

View file

@ -1,13 +0,0 @@
glabel func_80B32508
/* 00278 80B32508 908F0294 */ lbu $t7, 0x0294($a0) ## 00000294
/* 0027C 80B3250C 3C014040 */ lui $at, 0x4040 ## $at = 40400000
/* 00280 80B32510 44812000 */ mtc1 $at, $f4 ## $f4 = 3.00
/* 00284 80B32514 3C1980B3 */ lui $t9, %hi(func_80B32E34) ## $t9 = 80B30000
/* 00288 80B32518 240E00C8 */ addiu $t6, $zero, 0x00C8 ## $t6 = 000000C8
/* 0028C 80B3251C 27392E34 */ addiu $t9, $t9, %lo(func_80B32E34) ## $t9 = 80B32E34
/* 00290 80B32520 35F80001 */ ori $t8, $t7, 0x0001 ## $t8 = 00000001
/* 00294 80B32524 A48E0194 */ sh $t6, 0x0194($a0) ## 00000194
/* 00298 80B32528 A0980294 */ sb $t8, 0x0294($a0) ## 00000294
/* 0029C 80B3252C AC990190 */ sw $t9, 0x0190($a0) ## 00000190
/* 002A0 80B32530 03E00008 */ jr $ra
/* 002A4 80B32534 E4840168 */ swc1 $f4, 0x0168($a0) ## 00000168

View file

@ -1,29 +0,0 @@
glabel func_80B32538
/* 002A8 80B32538 3C014080 */ lui $at, 0x4080 ## $at = 40800000
/* 002AC 80B3253C 44811000 */ mtc1 $at, $f2 ## $f2 = 4.00
/* 002B0 80B32540 C4800068 */ lwc1 $f0, 0x0068($a0) ## 00000068
/* 002B4 80B32544 848F008A */ lh $t7, 0x008A($a0) ## 0000008A
/* 002B8 80B32548 C4840028 */ lwc1 $f4, 0x0028($a0) ## 00000028
/* 002BC 80B3254C 4600103C */ c.lt.s $f2, $f0
/* 002C0 80B32550 34018000 */ ori $at, $zero, 0x8000 ## $at = 00008000
/* 002C4 80B32554 240E00C8 */ addiu $t6, $zero, 0x00C8 ## $t6 = 000000C8
/* 002C8 80B32558 01E1C021 */ addu $t8, $t7, $at
/* 002CC 80B3255C A48E0194 */ sh $t6, 0x0194($a0) ## 00000194
/* 002D0 80B32560 A4980196 */ sh $t8, 0x0196($a0) ## 00000196
/* 002D4 80B32564 45000003 */ bc1f .L80B32574
/* 002D8 80B32568 E484027C */ swc1 $f4, 0x027C($a0) ## 0000027C
/* 002DC 80B3256C 10000002 */ beq $zero, $zero, .L80B32578
/* 002E0 80B32570 E4820068 */ swc1 $f2, 0x0068($a0) ## 00000068
.L80B32574:
/* 002E4 80B32574 E4800068 */ swc1 $f0, 0x0068($a0) ## 00000068
.L80B32578:
/* 002E8 80B32578 90990294 */ lbu $t9, 0x0294($a0) ## 00000294
/* 002EC 80B3257C 3C013F80 */ lui $at, 0x3F80 ## $at = 3F800000
/* 002F0 80B32580 44813000 */ mtc1 $at, $f6 ## $f6 = 1.00
/* 002F4 80B32584 3C0980B3 */ lui $t1, %hi(func_80B33018) ## $t1 = 80B30000
/* 002F8 80B32588 25293018 */ addiu $t1, $t1, %lo(func_80B33018) ## $t1 = 80B33018
/* 002FC 80B3258C 3328FFFE */ andi $t0, $t9, 0xFFFE ## $t0 = 00000000
/* 00300 80B32590 A0880294 */ sb $t0, 0x0294($a0) ## 00000294
/* 00304 80B32594 AC890190 */ sw $t1, 0x0190($a0) ## 00000190
/* 00308 80B32598 03E00008 */ jr $ra
/* 0030C 80B3259C E4860168 */ swc1 $f6, 0x0168($a0) ## 00000168

View file

@ -1,50 +0,0 @@
glabel func_80B325A0
/* 00310 80B325A0 44800000 */ mtc1 $zero, $f0 ## $f0 = 0.00
/* 00314 80B325A4 27BDFFD0 */ addiu $sp, $sp, 0xFFD0 ## $sp = FFFFFFD0
/* 00318 80B325A8 3C01C040 */ lui $at, 0xC040 ## $at = C0400000
/* 0031C 80B325AC 44812000 */ mtc1 $at, $f4 ## $f4 = -3.00
/* 00320 80B325B0 AFB00028 */ sw $s0, 0x0028($sp)
/* 00324 80B325B4 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 00328 80B325B8 AFBF002C */ sw $ra, 0x002C($sp)
/* 0032C 80B325BC 3C050600 */ lui $a1, %hi(D_06000FC0) ## $a1 = 06000000
/* 00330 80B325C0 44070000 */ mfc1 $a3, $f0
/* 00334 80B325C4 24A50FC0 */ addiu $a1, $a1, %lo(D_06000FC0) ## $a1 = 06000FC0
/* 00338 80B325C8 2484014C */ addiu $a0, $a0, 0x014C ## $a0 = 0000014C
/* 0033C 80B325CC AFA00014 */ sw $zero, 0x0014($sp)
/* 00340 80B325D0 3C064000 */ lui $a2, 0x4000 ## $a2 = 40000000
/* 00344 80B325D4 E7A00010 */ swc1 $f0, 0x0010($sp)
/* 00348 80B325D8 0C029468 */ jal Animation_Change
/* 0034C 80B325DC E7A40018 */ swc1 $f4, 0x0018($sp)
/* 00350 80B325E0 44800000 */ mtc1 $zero, $f0 ## $f0 = 0.00
/* 00354 80B325E4 920F0294 */ lbu $t7, 0x0294($s0) ## 00000294
/* 00358 80B325E8 92190295 */ lbu $t9, 0x0295($s0) ## 00000295
/* 0035C 80B325EC 3C014040 */ lui $at, 0x4040 ## $at = 40400000
/* 00360 80B325F0 44813000 */ mtc1 $at, $f6 ## $f6 = 3.00
/* 00364 80B325F4 240E0028 */ addiu $t6, $zero, 0x0028 ## $t6 = 00000028
/* 00368 80B325F8 31F8FFFE */ andi $t8, $t7, 0xFFFE ## $t8 = 00000000
/* 0036C 80B325FC 3328FFFE */ andi $t0, $t9, 0xFFFE ## $t0 = 00000000
/* 00370 80B32600 A60E0194 */ sh $t6, 0x0194($s0) ## 00000194
/* 00374 80B32604 A2180294 */ sb $t8, 0x0294($s0) ## 00000294
/* 00378 80B32608 A2080295 */ sb $t0, 0x0295($s0) ## 00000295
/* 0037C 80B3260C 24090028 */ addiu $t1, $zero, 0x0028 ## $t1 = 00000028
/* 00380 80B32610 E600006C */ swc1 $f0, 0x006C($s0) ## 0000006C
/* 00384 80B32614 E6000060 */ swc1 $f0, 0x0060($s0) ## 00000060
/* 00388 80B32618 E6060068 */ swc1 $f6, 0x0068($s0) ## 00000068
/* 0038C 80B3261C AFA90010 */ sw $t1, 0x0010($sp)
/* 00390 80B32620 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00394 80B32624 24054000 */ addiu $a1, $zero, 0x4000 ## $a1 = 00004000
/* 00398 80B32628 240600C8 */ addiu $a2, $zero, 0x00C8 ## $a2 = 000000C8
/* 0039C 80B3262C 0C00D09B */ jal func_8003426C
/* 003A0 80B32630 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 003A4 80B32634 3C0A80B3 */ lui $t2, %hi(D_80B33A90+0x22) ## $t2 = 80B30000
/* 003A8 80B32638 854A3AB2 */ lh $t2, %lo(D_80B33A90+0x22)($t2)
/* 003AC 80B3263C 3C0B80B3 */ lui $t3, %hi(func_80B331CC) ## $t3 = 80B30000
/* 003B0 80B32640 256B31CC */ addiu $t3, $t3, %lo(func_80B331CC) ## $t3 = 80B331CC
/* 003B4 80B32644 AE0B0190 */ sw $t3, 0x0190($s0) ## 00000190
/* 003B8 80B32648 A60A02C6 */ sh $t2, 0x02C6($s0) ## 000002C6
/* 003BC 80B3264C 8FBF002C */ lw $ra, 0x002C($sp)
/* 003C0 80B32650 8FB00028 */ lw $s0, 0x0028($sp)
/* 003C4 80B32654 27BD0030 */ addiu $sp, $sp, 0x0030 ## $sp = 00000000
/* 003C8 80B32658 03E00008 */ jr $ra
/* 003CC 80B3265C 00000000 */ nop

View file

@ -1,52 +0,0 @@
glabel func_80B32660
/* 003D0 80B32660 44800000 */ mtc1 $zero, $f0 ## $f0 = 0.00
/* 003D4 80B32664 27BDFFD0 */ addiu $sp, $sp, 0xFFD0 ## $sp = FFFFFFD0
/* 003D8 80B32668 3C01C100 */ lui $at, 0xC100 ## $at = C1000000
/* 003DC 80B3266C 44812000 */ mtc1 $at, $f4 ## $f4 = -8.00
/* 003E0 80B32670 AFB00028 */ sw $s0, 0x0028($sp)
/* 003E4 80B32674 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 003E8 80B32678 AFBF002C */ sw $ra, 0x002C($sp)
/* 003EC 80B3267C 3C050600 */ lui $a1, %hi(D_06000288) ## $a1 = 06000000
/* 003F0 80B32680 44070000 */ mfc1 $a3, $f0
/* 003F4 80B32684 24A50288 */ addiu $a1, $a1, %lo(D_06000288) ## $a1 = 06000288
/* 003F8 80B32688 2484014C */ addiu $a0, $a0, 0x014C ## $a0 = 0000014C
/* 003FC 80B3268C AFA00014 */ sw $zero, 0x0014($sp)
/* 00400 80B32690 3C064000 */ lui $a2, 0x4000 ## $a2 = 40000000
/* 00404 80B32694 E7A00010 */ swc1 $f0, 0x0010($sp)
/* 00408 80B32698 0C029468 */ jal Animation_Change
/* 0040C 80B3269C E7A40018 */ swc1 $f4, 0x0018($sp)
/* 00410 80B326A0 44800000 */ mtc1 $zero, $f0 ## $f0 = 0.00
/* 00414 80B326A4 3C01BF80 */ lui $at, 0xBF80 ## $at = BF800000
/* 00418 80B326A8 44813000 */ mtc1 $at, $f6 ## $f6 = -1.00
/* 0041C 80B326AC 240E0050 */ addiu $t6, $zero, 0x0050 ## $t6 = 00000050
/* 00420 80B326B0 A60E0194 */ sh $t6, 0x0194($s0) ## 00000194
/* 00424 80B326B4 3C0F80B3 */ lui $t7, %hi(D_80B33A90+0x22) ## $t7 = 80B30000
/* 00428 80B326B8 E6000068 */ swc1 $f0, 0x0068($s0) ## 00000068
/* 0042C 80B326BC E6000060 */ swc1 $f0, 0x0060($s0) ## 00000060
/* 00430 80B326C0 E606006C */ swc1 $f6, 0x006C($s0) ## 0000006C
/* 00434 80B326C4 85EF3AB2 */ lh $t7, %lo(D_80B33A90+0x22)($t7)
/* 00438 80B326C8 24190050 */ addiu $t9, $zero, 0x0050 ## $t9 = 00000050
/* 0043C 80B326CC 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00440 80B326D0 25F8000F */ addiu $t8, $t7, 0x000F ## $t8 = 80B3000F
/* 00444 80B326D4 A61802C6 */ sh $t8, 0x02C6($s0) ## 000002C6
/* 00448 80B326D8 AFB90010 */ sw $t9, 0x0010($sp)
/* 0044C 80B326DC 00002825 */ or $a1, $zero, $zero ## $a1 = 00000000
/* 00450 80B326E0 240600C8 */ addiu $a2, $zero, 0x00C8 ## $a2 = 000000C8
/* 00454 80B326E4 0C00D09B */ jal func_8003426C
/* 00458 80B326E8 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 0045C 80B326EC 92080294 */ lbu $t0, 0x0294($s0) ## 00000294
/* 00460 80B326F0 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00464 80B326F4 2405389E */ addiu $a1, $zero, 0x389E ## $a1 = 0000389E
/* 00468 80B326F8 3109FFFE */ andi $t1, $t0, 0xFFFE ## $t1 = 00000000
/* 0046C 80B326FC 0C00BE0A */ jal Audio_PlayActorSound2
/* 00470 80B32700 A2090294 */ sb $t1, 0x0294($s0) ## 00000294
/* 00474 80B32704 3C0A80B3 */ lui $t2, %hi(func_80B333B8) ## $t2 = 80B30000
/* 00478 80B32708 254A33B8 */ addiu $t2, $t2, %lo(func_80B333B8) ## $t2 = 80B333B8
/* 0047C 80B3270C AE0A0190 */ sw $t2, 0x0190($s0) ## 00000190
/* 00480 80B32710 8FBF002C */ lw $ra, 0x002C($sp)
/* 00484 80B32714 8FB00028 */ lw $s0, 0x0028($sp)
/* 00488 80B32718 27BD0030 */ addiu $sp, $sp, 0x0030 ## $sp = 00000000
/* 0048C 80B3271C 03E00008 */ jr $ra
/* 00490 80B32720 00000000 */ nop

View file

@ -1,36 +0,0 @@
glabel func_80B32724
/* 00494 80B32724 27BDFFD8 */ addiu $sp, $sp, 0xFFD8 ## $sp = FFFFFFD8
/* 00498 80B32728 AFB00020 */ sw $s0, 0x0020($sp)
/* 0049C 80B3272C 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 004A0 80B32730 AFBF0024 */ sw $ra, 0x0024($sp)
/* 004A4 80B32734 3C050600 */ lui $a1, %hi(D_06000FC0) ## $a1 = 06000000
/* 004A8 80B32738 24A50FC0 */ addiu $a1, $a1, %lo(D_06000FC0) ## $a1 = 06000FC0
/* 004AC 80B3273C 2484014C */ addiu $a0, $a0, 0x014C ## $a0 = 0000014C
/* 004B0 80B32740 0C0294D3 */ jal Animation_MorphToLoop
/* 004B4 80B32744 3C06C0A0 */ lui $a2, 0xC0A0 ## $a2 = C0A00000
/* 004B8 80B32748 240E0014 */ addiu $t6, $zero, 0x0014 ## $t6 = 00000014
/* 004BC 80B3274C A60E0194 */ sh $t6, 0x0194($s0) ## 00000194
/* 004C0 80B32750 240F0028 */ addiu $t7, $zero, 0x0028 ## $t7 = 00000028
/* 004C4 80B32754 AFAF0010 */ sw $t7, 0x0010($sp)
/* 004C8 80B32758 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 004CC 80B3275C 24054000 */ addiu $a1, $zero, 0x4000 ## $a1 = 00004000
/* 004D0 80B32760 240600C8 */ addiu $a2, $zero, 0x00C8 ## $a2 = 000000C8
/* 004D4 80B32764 0C00D09B */ jal func_8003426C
/* 004D8 80B32768 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 004DC 80B3276C 92180294 */ lbu $t8, 0x0294($s0) ## 00000294
/* 004E0 80B32770 92080295 */ lbu $t0, 0x0295($s0) ## 00000295
/* 004E4 80B32774 3C014040 */ lui $at, 0x4040 ## $at = 40400000
/* 004E8 80B32778 44812000 */ mtc1 $at, $f4 ## $f4 = 3.00
/* 004EC 80B3277C 3C0A80B3 */ lui $t2, %hi(func_80B332B4) ## $t2 = 80B30000
/* 004F0 80B32780 254A32B4 */ addiu $t2, $t2, %lo(func_80B332B4) ## $t2 = 80B332B4
/* 004F4 80B32784 3319FFFE */ andi $t9, $t8, 0xFFFE ## $t9 = 00000000
/* 004F8 80B32788 3109FFFE */ andi $t1, $t0, 0xFFFE ## $t1 = 00000000
/* 004FC 80B3278C A2190294 */ sb $t9, 0x0294($s0) ## 00000294
/* 00500 80B32790 A2090295 */ sb $t1, 0x0295($s0) ## 00000295
/* 00504 80B32794 AE0A0190 */ sw $t2, 0x0190($s0) ## 00000190
/* 00508 80B32798 E6040068 */ swc1 $f4, 0x0068($s0) ## 00000068
/* 0050C 80B3279C 8FBF0024 */ lw $ra, 0x0024($sp)
/* 00510 80B327A0 8FB00020 */ lw $s0, 0x0020($sp)
/* 00514 80B327A4 27BD0028 */ addiu $sp, $sp, 0x0028 ## $sp = 00000000
/* 00518 80B327A8 03E00008 */ jr $ra
/* 0051C 80B327AC 00000000 */ nop

View file

@ -1,11 +0,0 @@
glabel func_80B327B0
/* 00520 80B327B0 948E0112 */ lhu $t6, 0x0112($a0) ## 00000112
/* 00524 80B327B4 44800000 */ mtc1 $zero, $f0 ## $f0 = 0.00
/* 00528 80B327B8 3C1880B3 */ lui $t8, %hi(func_80B33338) ## $t8 = 80B30000
/* 0052C 80B327BC 27183338 */ addiu $t8, $t8, %lo(func_80B33338) ## $t8 = 80B33338
/* 00530 80B327C0 35CF2000 */ ori $t7, $t6, 0x2000 ## $t7 = 00002000
/* 00534 80B327C4 A48F0112 */ sh $t7, 0x0112($a0) ## 00000112
/* 00538 80B327C8 AC980190 */ sw $t8, 0x0190($a0) ## 00000190
/* 0053C 80B327CC E4800068 */ swc1 $f0, 0x0068($a0) ## 00000068
/* 00540 80B327D0 03E00008 */ jr $ra
/* 00544 80B327D4 E4800060 */ swc1 $f0, 0x0060($a0) ## 00000060

View file

@ -1,12 +0,0 @@
glabel func_80B327D8
/* 00548 80B327D8 3C0140A0 */ lui $at, 0x40A0 ## $at = 40A00000
/* 0054C 80B327DC 44812000 */ mtc1 $at, $f4 ## $f4 = 5.00
/* 00550 80B327E0 3C1880B3 */ lui $t8, %hi(func_80B3349C) ## $t8 = 80B30000
/* 00554 80B327E4 240EE000 */ addiu $t6, $zero, 0xE000 ## $t6 = FFFFE000
/* 00558 80B327E8 240FFFFF */ addiu $t7, $zero, 0xFFFF ## $t7 = FFFFFFFF
/* 0055C 80B327EC 2718349C */ addiu $t8, $t8, %lo(func_80B3349C) ## $t8 = 80B3349C
/* 00560 80B327F0 A48E00B4 */ sh $t6, 0x00B4($a0) ## 000000B4
/* 00564 80B327F4 A48F0194 */ sh $t7, 0x0194($a0) ## 00000194
/* 00568 80B327F8 AC980190 */ sw $t8, 0x0190($a0) ## 00000190
/* 0056C 80B327FC 03E00008 */ jr $ra
/* 00570 80B32800 E4840068 */ swc1 $f4, 0x0068($a0) ## 00000068

View file

@ -1,62 +0,0 @@
glabel func_80B32804
/* 00574 80B32804 27BDFFC8 */ addiu $sp, $sp, 0xFFC8 ## $sp = FFFFFFC8
/* 00578 80B32808 AFBF0024 */ sw $ra, 0x0024($sp)
/* 0057C 80B3280C AFB00020 */ sw $s0, 0x0020($sp)
/* 00580 80B32810 AFA5003C */ sw $a1, 0x003C($sp)
/* 00584 80B32814 3C013F00 */ lui $at, 0x3F00 ## $at = 3F000000
/* 00588 80B32818 44813000 */ mtc1 $at, $f6 ## $f6 = 0.50
/* 0058C 80B3281C C4840028 */ lwc1 $f4, 0x0028($a0) ## 00000028
/* 00590 80B32820 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 00594 80B32824 260E0024 */ addiu $t6, $s0, 0x0024 ## $t6 = 00000024
/* 00598 80B32828 46062200 */ add.s $f8, $f4, $f6
/* 0059C 80B3282C 26050078 */ addiu $a1, $s0, 0x0078 ## $a1 = 00000078
/* 005A0 80B32830 02003825 */ or $a3, $s0, $zero ## $a3 = 00000000
/* 005A4 80B32834 27A60030 */ addiu $a2, $sp, 0x0030 ## $a2 = FFFFFFF8
/* 005A8 80B32838 E4880028 */ swc1 $f8, 0x0028($a0) ## 00000028
/* 005AC 80B3283C 8FA4003C */ lw $a0, 0x003C($sp)
/* 005B0 80B32840 AFAE0010 */ sw $t6, 0x0010($sp)
/* 005B4 80B32844 248407C0 */ addiu $a0, $a0, 0x07C0 ## $a0 = 000007C0
/* 005B8 80B32848 0C00F269 */ jal BgCheck_EntityRaycastFloor4
/* 005BC 80B3284C AFA4002C */ sw $a0, 0x002C($sp)
/* 005C0 80B32850 E6000080 */ swc1 $f0, 0x0080($s0) ## 00000080
/* 005C4 80B32854 8E060024 */ lw $a2, 0x0024($s0) ## 00000024
/* 005C8 80B32858 8E07002C */ lw $a3, 0x002C($s0) ## 0000002C
/* 005CC 80B3285C 260F000C */ addiu $t7, $s0, 0x000C ## $t7 = 0000000C
/* 005D0 80B32860 27B80034 */ addiu $t8, $sp, 0x0034 ## $t8 = FFFFFFFC
/* 005D4 80B32864 AFB80014 */ sw $t8, 0x0014($sp)
/* 005D8 80B32868 AFAF0010 */ sw $t7, 0x0010($sp)
/* 005DC 80B3286C 8FA5002C */ lw $a1, 0x002C($sp)
/* 005E0 80B32870 0C010891 */ jal WaterBox_GetSurfaceImpl
/* 005E4 80B32874 8FA4003C */ lw $a0, 0x003C($sp)
/* 005E8 80B32878 10400009 */ beq $v0, $zero, .L80B328A0
/* 005EC 80B3287C 3C0140A0 */ lui $at, 0x40A0 ## $at = 40A00000
/* 005F0 80B32880 C60A000C */ lwc1 $f10, 0x000C($s0) ## 0000000C
/* 005F4 80B32884 44818000 */ mtc1 $at, $f16 ## $f16 = 5.00
/* 005F8 80B32888 C6000080 */ lwc1 $f0, 0x0080($s0) ## 00000080
/* 005FC 80B3288C 46105081 */ sub.s $f2, $f10, $f16
/* 00600 80B32890 4600103E */ c.le.s $f2, $f0
/* 00604 80B32894 00000000 */ nop
/* 00608 80B32898 45020006 */ bc1fl .L80B328B4
/* 0060C 80B3289C E602000C */ swc1 $f2, 0x000C($s0) ## 0000000C
.L80B328A0:
/* 00610 80B328A0 0C00B55C */ jal Actor_Kill
/* 00614 80B328A4 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00618 80B328A8 1000000B */ beq $zero, $zero, .L80B328D8
/* 0061C 80B328AC 8FBF0024 */ lw $ra, 0x0024($sp)
/* 00620 80B328B0 E602000C */ swc1 $f2, 0x000C($s0) ## 0000000C
.L80B328B4:
/* 00624 80B328B4 C612000C */ lwc1 $f18, 0x000C($s0) ## 0000000C
/* 00628 80B328B8 3C013F00 */ lui $at, 0x3F00 ## $at = 3F000000
/* 0062C 80B328BC 44813000 */ mtc1 $at, $f6 ## $f6 = 0.50
/* 00630 80B328C0 46009100 */ add.s $f4, $f18, $f0
/* 00634 80B328C4 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00638 80B328C8 46062202 */ mul.s $f8, $f4, $f6
/* 0063C 80B328CC 0C2CC8E1 */ jal func_80B32384
/* 00640 80B328D0 E6080028 */ swc1 $f8, 0x0028($s0) ## 00000028
/* 00644 80B328D4 8FBF0024 */ lw $ra, 0x0024($sp)
.L80B328D8:
/* 00648 80B328D8 8FB00020 */ lw $s0, 0x0020($sp)
/* 0064C 80B328DC 27BD0038 */ addiu $sp, $sp, 0x0038 ## $sp = 00000000
/* 00650 80B328E0 03E00008 */ jr $ra
/* 00654 80B328E4 00000000 */ nop

View file

@ -1,247 +0,0 @@
.late_rodata
glabel D_80B33B1C
.word 0x3DA0D97C
glabel D_80B33B20
.word 0x3EAAA64C
glabel D_80B33B24
.float 0.1
.text
glabel func_80B328E8
/* 00658 80B328E8 27BDFFC8 */ addiu $sp, $sp, 0xFFC8 ## $sp = FFFFFFC8
/* 0065C 80B328EC AFB00018 */ sw $s0, 0x0018($sp)
/* 00660 80B328F0 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 00664 80B328F4 AFBF001C */ sw $ra, 0x001C($sp)
/* 00668 80B328F8 2484014C */ addiu $a0, $a0, 0x014C ## $a0 = 0000014C
/* 0066C 80B328FC AFA5003C */ sw $a1, 0x003C($sp)
/* 00670 80B32900 0C02927F */ jal SkelAnime_Update
/* 00674 80B32904 AFA40020 */ sw $a0, 0x0020($sp)
/* 00678 80B32908 260400B4 */ addiu $a0, $s0, 0x00B4 ## $a0 = 000000B4
/* 0067C 80B3290C 00002825 */ or $a1, $zero, $zero ## $a1 = 00000000
/* 00680 80B32910 0C01DE2B */ jal Math_ScaledStepToS
/* 00684 80B32914 24060800 */ addiu $a2, $zero, 0x0800 ## $a2 = 00000800
/* 00688 80B32918 8FA40020 */ lw $a0, 0x0020($sp)
/* 0068C 80B3291C 0C0295B2 */ jal Animation_OnFrame
/* 00690 80B32920 24050000 */ addiu $a1, $zero, 0x0000 ## $a1 = 00000000
/* 00694 80B32924 AFA20034 */ sw $v0, 0x0034($sp)
/* 00698 80B32928 C6040164 */ lwc1 $f4, 0x0164($s0) ## 00000164
/* 0069C 80B3292C 2604027C */ addiu $a0, $s0, 0x027C ## $a0 = 0000027C
/* 006A0 80B32930 3C063F00 */ lui $a2, 0x3F00 ## $a2 = 3F000000
/* 006A4 80B32934 E7A40030 */ swc1 $f4, 0x0030($sp)
/* 006A8 80B32938 0C01DE80 */ jal Math_StepToF
/* 006AC 80B3293C 8E050280 */ lw $a1, 0x0280($s0) ## 00000280
/* 006B0 80B32940 3C0140A0 */ lui $at, 0x40A0 ## $at = 40A00000
/* 006B4 80B32944 44814000 */ mtc1 $at, $f8 ## $f8 = 5.00
/* 006B8 80B32948 C7A60030 */ lwc1 $f6, 0x0030($sp)
/* 006BC 80B3294C 3C0180B3 */ lui $at, %hi(D_80B33B1C) ## $at = 80B30000
/* 006C0 80B32950 C4303B1C */ lwc1 $f16, %lo(D_80B33B1C)($at)
/* 006C4 80B32954 46083281 */ sub.s $f10, $f6, $f8
/* 006C8 80B32958 46105302 */ mul.s $f12, $f10, $f16
/* 006CC 80B3295C 0C041184 */ jal cosf
/* 006D0 80B32960 00000000 */ nop
/* 006D4 80B32964 3C014040 */ lui $at, 0x4040 ## $at = 40400000
/* 006D8 80B32968 44812000 */ mtc1 $at, $f4 ## $f4 = 3.00
/* 006DC 80B3296C C612027C */ lwc1 $f18, 0x027C($s0) ## 0000027C
/* 006E0 80B32970 3C014234 */ lui $at, 0x4234 ## $at = 42340000
/* 006E4 80B32974 46040182 */ mul.s $f6, $f0, $f4
/* 006E8 80B32978 44815000 */ mtc1 $at, $f10 ## $f10 = 45.00
/* 006EC 80B3297C 3C053FA6 */ lui $a1, 0x3FA6 ## $a1 = 3FA60000
/* 006F0 80B32980 34A56666 */ ori $a1, $a1, 0x6666 ## $a1 = 3FA66666
/* 006F4 80B32984 26040068 */ addiu $a0, $s0, 0x0068 ## $a0 = 00000068
/* 006F8 80B32988 3C063CF5 */ lui $a2, 0x3CF5 ## $a2 = 3CF50000
/* 006FC 80B3298C 46069201 */ sub.s $f8, $f18, $f6
/* 00700 80B32990 E6080028 */ swc1 $f8, 0x0028($s0) ## 00000028
/* 00704 80B32994 C7B00030 */ lwc1 $f16, 0x0030($sp)
/* 00708 80B32998 460A803E */ c.le.s $f16, $f10
/* 0070C 80B3299C 00000000 */ nop
/* 00710 80B329A0 45000008 */ bc1f .L80B329C4
/* 00714 80B329A4 00000000 */ nop
/* 00718 80B329A8 3C063CF5 */ lui $a2, 0x3CF5 ## $a2 = 3CF50000
/* 0071C 80B329AC 34C6C28F */ ori $a2, $a2, 0xC28F ## $a2 = 3CF5C28F
/* 00720 80B329B0 26040068 */ addiu $a0, $s0, 0x0068 ## $a0 = 00000068
/* 00724 80B329B4 0C01DE80 */ jal Math_StepToF
/* 00728 80B329B8 3C053F80 */ lui $a1, 0x3F80 ## $a1 = 3F800000
/* 0072C 80B329BC 10000004 */ beq $zero, $zero, .L80B329D0
/* 00730 80B329C0 960E0088 */ lhu $t6, 0x0088($s0) ## 00000088
.L80B329C4:
/* 00734 80B329C4 0C01DE80 */ jal Math_StepToF
/* 00738 80B329C8 34C6C28F */ ori $a2, $a2, 0xC28F ## $a2 = 0000C28F
/* 0073C 80B329CC 960E0088 */ lhu $t6, 0x0088($s0) ## 00000088
.L80B329D0:
/* 00740 80B329D0 260400B6 */ addiu $a0, $s0, 0x00B6 ## $a0 = 000000B6
/* 00744 80B329D4 240600B6 */ addiu $a2, $zero, 0x00B6 ## $a2 = 000000B6
/* 00748 80B329D8 31CF0008 */ andi $t7, $t6, 0x0008 ## $t7 = 00000000
/* 0074C 80B329DC 11E00005 */ beq $t7, $zero, .L80B329F4
/* 00750 80B329E0 00000000 */ nop
/* 00754 80B329E4 8618007E */ lh $t8, 0x007E($s0) ## 0000007E
/* 00758 80B329E8 2419001E */ addiu $t9, $zero, 0x001E ## $t9 = 0000001E
/* 0075C 80B329EC A6190194 */ sh $t9, 0x0194($s0) ## 00000194
/* 00760 80B329F0 A6180196 */ sh $t8, 0x0196($s0) ## 00000196
.L80B329F4:
/* 00764 80B329F4 0C01DE2B */ jal Math_ScaledStepToS
/* 00768 80B329F8 86050196 */ lh $a1, 0x0196($s0) ## 00000196
/* 0076C 80B329FC 50400029 */ beql $v0, $zero, .L80B32AA4
/* 00770 80B32A00 C602000C */ lwc1 $f2, 0x000C($s0) ## 0000000C
/* 00774 80B32A04 86020194 */ lh $v0, 0x0194($s0) ## 00000194
/* 00778 80B32A08 24042000 */ addiu $a0, $zero, 0x2000 ## $a0 = 00002000
/* 0077C 80B32A0C 10400003 */ beq $v0, $zero, .L80B32A1C
/* 00780 80B32A10 2448FFFF */ addiu $t0, $v0, 0xFFFF ## $t0 = FFFFFFFF
/* 00784 80B32A14 A6080194 */ sh $t0, 0x0194($s0) ## 00000194
/* 00788 80B32A18 86020194 */ lh $v0, 0x0194($s0) ## 00000194
.L80B32A1C:
/* 0078C 80B32A1C 54400021 */ bnel $v0, $zero, .L80B32AA4
/* 00790 80B32A20 C602000C */ lwc1 $f2, 0x000C($s0) ## 0000000C
/* 00794 80B32A24 0C01DF64 */ jal Rand_S16Offset
/* 00798 80B32A28 24052000 */ addiu $a1, $zero, 0x2000 ## $a1 = 00002000
/* 0079C 80B32A2C 0C03F66B */ jal Rand_ZeroOne
## Rand.Next() float
/* 007A0 80B32A30 A7A20026 */ sh $v0, 0x0026($sp)
/* 007A4 80B32A34 3C013F00 */ lui $at, 0x3F00 ## $at = 3F000000
/* 007A8 80B32A38 44812000 */ mtc1 $at, $f4 ## $f4 = 0.50
/* 007AC 80B32A3C 87A90026 */ lh $t1, 0x0026($sp)
/* 007B0 80B32A40 24020001 */ addiu $v0, $zero, 0x0001 ## $v0 = 00000001
/* 007B4 80B32A44 4604003C */ c.lt.s $f0, $f4
/* 007B8 80B32A48 00000000 */ nop
/* 007BC 80B32A4C 45000003 */ bc1f .L80B32A5C
/* 007C0 80B32A50 00000000 */ nop
/* 007C4 80B32A54 10000001 */ beq $zero, $zero, .L80B32A5C
/* 007C8 80B32A58 2402FFFF */ addiu $v0, $zero, 0xFFFF ## $v0 = FFFFFFFF
.L80B32A5C:
/* 007CC 80B32A5C 00490019 */ multu $v0, $t1
/* 007D0 80B32A60 860B00B6 */ lh $t3, 0x00B6($s0) ## 000000B6
/* 007D4 80B32A64 240D001E */ addiu $t5, $zero, 0x001E ## $t5 = 0000001E
/* 007D8 80B32A68 A60D0194 */ sh $t5, 0x0194($s0) ## 00000194
/* 007DC 80B32A6C 00005012 */ mflo $t2
/* 007E0 80B32A70 014B6021 */ addu $t4, $t2, $t3
/* 007E4 80B32A74 0C03F66B */ jal Rand_ZeroOne
## Rand.Next() float
/* 007E8 80B32A78 A60C0196 */ sh $t4, 0x0196($s0) ## 00000196
/* 007EC 80B32A7C 3C0180B3 */ lui $at, %hi(D_80B33B20) ## $at = 80B30000
/* 007F0 80B32A80 C4323B20 */ lwc1 $f18, %lo(D_80B33B20)($at)
/* 007F4 80B32A84 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 007F8 80B32A88 4612003C */ c.lt.s $f0, $f18
/* 007FC 80B32A8C 00000000 */ nop
/* 00800 80B32A90 45020004 */ bc1fl .L80B32AA4
/* 00804 80B32A94 C602000C */ lwc1 $f2, 0x000C($s0) ## 0000000C
/* 00808 80B32A98 0C00BE0A */ jal Audio_PlayActorSound2
/* 0080C 80B32A9C 240539A3 */ addiu $a1, $zero, 0x39A3 ## $a1 = 000039A3
/* 00810 80B32AA0 C602000C */ lwc1 $f2, 0x000C($s0) ## 0000000C
.L80B32AA4:
/* 00814 80B32AA4 C6060028 */ lwc1 $f6, 0x0028($s0) ## 00000028
/* 00818 80B32AA8 8FAE003C */ lw $t6, 0x003C($sp)
/* 0081C 80B32AAC 4606103C */ c.lt.s $f2, $f6
/* 00820 80B32AB0 00000000 */ nop
/* 00824 80B32AB4 45020018 */ bc1fl .L80B32B18
/* 00828 80B32AB8 8DCF1C44 */ lw $t7, 0x1C44($t6) ## 00001C44
/* 0082C 80B32ABC C6080080 */ lwc1 $f8, 0x0080($s0) ## 00000080
/* 00830 80B32AC0 4608103C */ c.lt.s $f2, $f8
/* 00834 80B32AC4 00000000 */ nop
/* 00838 80B32AC8 45000005 */ bc1f .L80B32AE0
/* 0083C 80B32ACC 00000000 */ nop
/* 00840 80B32AD0 0C2CC90D */ jal func_80B32434
/* 00844 80B32AD4 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00848 80B32AD8 10000050 */ beq $zero, $zero, .L80B32C1C
/* 0084C 80B32ADC 8FBF001C */ lw $ra, 0x001C($sp)
.L80B32AE0:
/* 00850 80B32AE0 0C03F66B */ jal Rand_ZeroOne
## Rand.Next() float
/* 00854 80B32AE4 E6020028 */ swc1 $f2, 0x0028($s0) ## 00000028
/* 00858 80B32AE8 C6020080 */ lwc1 $f2, 0x0080($s0) ## 00000080
/* 0085C 80B32AEC C60A000C */ lwc1 $f10, 0x000C($s0) ## 0000000C
/* 00860 80B32AF0 3C013F00 */ lui $at, 0x3F00 ## $at = 3F000000
/* 00864 80B32AF4 44812000 */ mtc1 $at, $f4 ## $f4 = 0.50
/* 00868 80B32AF8 46025401 */ sub.s $f16, $f10, $f2
/* 0086C 80B32AFC 46048482 */ mul.s $f18, $f16, $f4
/* 00870 80B32B00 00000000 */ nop
/* 00874 80B32B04 46120182 */ mul.s $f6, $f0, $f18
/* 00878 80B32B08 46023200 */ add.s $f8, $f6, $f2
/* 0087C 80B32B0C 10000042 */ beq $zero, $zero, .L80B32C18
/* 00880 80B32B10 E6080280 */ swc1 $f8, 0x0280($s0) ## 00000280
/* 00884 80B32B14 8DCF1C44 */ lw $t7, 0x1C44($t6) ## 00001C44
.L80B32B18:
/* 00888 80B32B18 8FA80034 */ lw $t0, 0x0034($sp)
/* 0088C 80B32B1C AFAF002C */ sw $t7, 0x002C($sp)
/* 00890 80B32B20 96180088 */ lhu $t8, 0x0088($s0) ## 00000088
/* 00894 80B32B24 33190001 */ andi $t9, $t8, 0x0001 ## $t9 = 00000000
/* 00898 80B32B28 1320000E */ beq $t9, $zero, .L80B32B64
/* 0089C 80B32B2C 00000000 */ nop
/* 008A0 80B32B30 0C03F66B */ jal Rand_ZeroOne
## Rand.Next() float
/* 008A4 80B32B34 00000000 */ nop
/* 008A8 80B32B38 C602000C */ lwc1 $f2, 0x000C($s0) ## 0000000C
/* 008AC 80B32B3C C60A0080 */ lwc1 $f10, 0x0080($s0) ## 00000080
/* 008B0 80B32B40 3C013F00 */ lui $at, 0x3F00 ## $at = 3F000000
/* 008B4 80B32B44 44812000 */ mtc1 $at, $f4 ## $f4 = 0.50
/* 008B8 80B32B48 460A1401 */ sub.s $f16, $f2, $f10
/* 008BC 80B32B4C 46048482 */ mul.s $f18, $f16, $f4
/* 008C0 80B32B50 00000000 */ nop
/* 008C4 80B32B54 46120182 */ mul.s $f6, $f0, $f18
/* 008C8 80B32B58 46061201 */ sub.s $f8, $f2, $f6
/* 008CC 80B32B5C 10000013 */ beq $zero, $zero, .L80B32BAC
/* 008D0 80B32B60 E6080280 */ swc1 $f8, 0x0280($s0) ## 00000280
.L80B32B64:
/* 008D4 80B32B64 51000012 */ beql $t0, $zero, .L80B32BB0
/* 008D8 80B32B68 3C0143C8 */ lui $at, 0x43C8 ## $at = 43C80000
/* 008DC 80B32B6C 0C03F66B */ jal Rand_ZeroOne
## Rand.Next() float
/* 008E0 80B32B70 00000000 */ nop
/* 008E4 80B32B74 3C0180B3 */ lui $at, %hi(D_80B33B24) ## $at = 80B30000
/* 008E8 80B32B78 C42A3B24 */ lwc1 $f10, %lo(D_80B33B24)($at)
/* 008EC 80B32B7C 460A003C */ c.lt.s $f0, $f10
/* 008F0 80B32B80 00000000 */ nop
/* 008F4 80B32B84 4502000A */ bc1fl .L80B32BB0
/* 008F8 80B32B88 3C0143C8 */ lui $at, 0x43C8 ## $at = 43C80000
/* 008FC 80B32B8C 0C03F66B */ jal Rand_ZeroOne
## Rand.Next() float
/* 00900 80B32B90 00000000 */ nop
/* 00904 80B32B94 C6020080 */ lwc1 $f2, 0x0080($s0) ## 00000080
/* 00908 80B32B98 C610000C */ lwc1 $f16, 0x000C($s0) ## 0000000C
/* 0090C 80B32B9C 46028101 */ sub.s $f4, $f16, $f2
/* 00910 80B32BA0 46040482 */ mul.s $f18, $f0, $f4
/* 00914 80B32BA4 46029180 */ add.s $f6, $f18, $f2
/* 00918 80B32BA8 E6060280 */ swc1 $f6, 0x0280($s0) ## 00000280
.L80B32BAC:
/* 0091C 80B32BAC 3C0143C8 */ lui $at, 0x43C8 ## $at = 43C80000
.L80B32BB0:
/* 00920 80B32BB0 44815000 */ mtc1 $at, $f10 ## $f10 = 400.00
/* 00924 80B32BB4 C6080090 */ lwc1 $f8, 0x0090($s0) ## 00000090
/* 00928 80B32BB8 460A403C */ c.lt.s $f8, $f10
/* 0092C 80B32BBC 00000000 */ nop
/* 00930 80B32BC0 45020016 */ bc1fl .L80B32C1C
/* 00934 80B32BC4 8FBF001C */ lw $ra, 0x001C($sp)
/* 00938 80B32BC8 C6000094 */ lwc1 $f0, 0x0094($s0) ## 00000094
/* 0093C 80B32BCC 3C01437A */ lui $at, 0x437A ## $at = 437A0000
/* 00940 80B32BD0 44818000 */ mtc1 $at, $f16 ## $f16 = 250.00
/* 00944 80B32BD4 46000005 */ abs.s $f0, $f0
/* 00948 80B32BD8 3C0141A0 */ lui $at, 0x41A0 ## $at = 41A00000
/* 0094C 80B32BDC 4610003C */ c.lt.s $f0, $f16
/* 00950 80B32BE0 00000000 */ nop
/* 00954 80B32BE4 4502000D */ bc1fl .L80B32C1C
/* 00958 80B32BE8 8FBF001C */ lw $ra, 0x001C($sp)
/* 0095C 80B32BEC C612000C */ lwc1 $f18, 0x000C($s0) ## 0000000C
/* 00960 80B32BF0 44813000 */ mtc1 $at, $f6 ## $f6 = 20.00
/* 00964 80B32BF4 8FA9002C */ lw $t1, 0x002C($sp)
/* 00968 80B32BF8 46069200 */ add.s $f8, $f18, $f6
/* 0096C 80B32BFC C5240028 */ lwc1 $f4, 0x0028($t1) ## 00000028
/* 00970 80B32C00 4608203C */ c.lt.s $f4, $f8
/* 00974 80B32C04 00000000 */ nop
/* 00978 80B32C08 45020004 */ bc1fl .L80B32C1C
/* 0097C 80B32C0C 8FBF001C */ lw $ra, 0x001C($sp)
/* 00980 80B32C10 0C2CC942 */ jal func_80B32508
/* 00984 80B32C14 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
.L80B32C18:
/* 00988 80B32C18 8FBF001C */ lw $ra, 0x001C($sp)
.L80B32C1C:
/* 0098C 80B32C1C 8FB00018 */ lw $s0, 0x0018($sp)
/* 00990 80B32C20 27BD0038 */ addiu $sp, $sp, 0x0038 ## $sp = 00000000
/* 00994 80B32C24 03E00008 */ jr $ra
/* 00998 80B32C28 00000000 */ nop

View file

@ -1,76 +0,0 @@
glabel func_80B32C2C
/* 0099C 80B32C2C 27BDFFD8 */ addiu $sp, $sp, 0xFFD8 ## $sp = FFFFFFD8
/* 009A0 80B32C30 AFB00020 */ sw $s0, 0x0020($sp)
/* 009A4 80B32C34 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 009A8 80B32C38 AFBF0024 */ sw $ra, 0x0024($sp)
/* 009AC 80B32C3C AFA5002C */ sw $a1, 0x002C($sp)
/* 009B0 80B32C40 0C02927F */ jal SkelAnime_Update
/* 009B4 80B32C44 2484014C */ addiu $a0, $a0, 0x014C ## $a0 = 0000014C
/* 009B8 80B32C48 860E0194 */ lh $t6, 0x0194($s0) ## 00000194
/* 009BC 80B32C4C 24060800 */ addiu $a2, $zero, 0x0800 ## $a2 = 00000800
/* 009C0 80B32C50 260400B4 */ addiu $a0, $s0, 0x00B4 ## $a0 = 000000B4
/* 009C4 80B32C54 15C00011 */ bne $t6, $zero, .L80B32C9C
/* 009C8 80B32C58 24051800 */ addiu $a1, $zero, 0x1800 ## $a1 = 00001800
/* 009CC 80B32C5C 260400B4 */ addiu $a0, $s0, 0x00B4 ## $a0 = 000000B4
/* 009D0 80B32C60 0C01DE2B */ jal Math_ScaledStepToS
/* 009D4 80B32C64 2405C000 */ addiu $a1, $zero, 0xC000 ## $a1 = FFFFC000
/* 009D8 80B32C68 10400008 */ beq $v0, $zero, .L80B32C8C
/* 009DC 80B32C6C 34018000 */ ori $at, $zero, 0x8000 ## $at = 00008000
/* 009E0 80B32C70 860F00B6 */ lh $t7, 0x00B6($s0) ## 000000B6
/* 009E4 80B32C74 24190001 */ addiu $t9, $zero, 0x0001 ## $t9 = 00000001
/* 009E8 80B32C78 A60000B8 */ sh $zero, 0x00B8($s0) ## 000000B8
/* 009EC 80B32C7C 01E1C021 */ addu $t8, $t7, $at
/* 009F0 80B32C80 A61800B6 */ sh $t8, 0x00B6($s0) ## 000000B6
/* 009F4 80B32C84 10000025 */ beq $zero, $zero, .L80B32D1C
/* 009F8 80B32C88 A6190194 */ sh $t9, 0x0194($s0) ## 00000194
.L80B32C8C:
/* 009FC 80B32C8C 860800B4 */ lh $t0, 0x00B4($s0) ## 000000B4
/* 00A00 80B32C90 00084840 */ sll $t1, $t0, 1
/* 00A04 80B32C94 10000021 */ beq $zero, $zero, .L80B32D1C
/* 00A08 80B32C98 A60900B8 */ sh $t1, 0x00B8($s0) ## 000000B8
.L80B32C9C:
/* 00A0C 80B32C9C 0C01DE2B */ jal Math_ScaledStepToS
/* 00A10 80B32CA0 24060800 */ addiu $a2, $zero, 0x0800 ## $a2 = 00000800
/* 00A14 80B32CA4 C6040028 */ lwc1 $f4, 0x0028($s0) ## 00000028
/* 00A18 80B32CA8 C606000C */ lwc1 $f6, 0x000C($s0) ## 0000000C
/* 00A1C 80B32CAC 4606203C */ c.lt.s $f4, $f6
/* 00A20 80B32CB0 00000000 */ nop
/* 00A24 80B32CB4 45020014 */ bc1fl .L80B32D08
/* 00A28 80B32CB8 960D0088 */ lhu $t5, 0x0088($s0) ## 00000088
/* 00A2C 80B32CBC 860A00B4 */ lh $t2, 0x00B4($s0) ## 000000B4
/* 00A30 80B32CC0 8FA4002C */ lw $a0, 0x002C($sp)
/* 00A34 80B32CC4 26050024 */ addiu $a1, $s0, 0x0024 ## $a1 = 00000024
/* 00A38 80B32CC8 1940000A */ blez $t2, .L80B32CF4
/* 00A3C 80B32CCC 00003025 */ or $a2, $zero, $zero ## $a2 = 00000000
/* 00A40 80B32CD0 240B0001 */ addiu $t3, $zero, 0x0001 ## $t3 = 00000001
/* 00A44 80B32CD4 240C0190 */ addiu $t4, $zero, 0x0190 ## $t4 = 00000190
/* 00A48 80B32CD8 AFAC0014 */ sw $t4, 0x0014($sp)
/* 00A4C 80B32CDC AFAB0010 */ sw $t3, 0x0010($sp)
/* 00A50 80B32CE0 0C00A527 */ jal EffectSsGSplash_Spawn
/* 00A54 80B32CE4 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 00A58 80B32CE8 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00A5C 80B32CEC 0C00BE0A */ jal Audio_PlayActorSound2
/* 00A60 80B32CF0 240538C4 */ addiu $a1, $zero, 0x38C4 ## $a1 = 000038C4
.L80B32CF4:
/* 00A64 80B32CF4 0C2CC94E */ jal func_80B32538
/* 00A68 80B32CF8 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00A6C 80B32CFC 10000008 */ beq $zero, $zero, .L80B32D20
/* 00A70 80B32D00 8FBF0024 */ lw $ra, 0x0024($sp)
/* 00A74 80B32D04 960D0088 */ lhu $t5, 0x0088($s0) ## 00000088
.L80B32D08:
/* 00A78 80B32D08 31AE0001 */ andi $t6, $t5, 0x0001 ## $t6 = 00000000
/* 00A7C 80B32D0C 51C00004 */ beql $t6, $zero, .L80B32D20
/* 00A80 80B32D10 8FBF0024 */ lw $ra, 0x0024($sp)
/* 00A84 80B32D14 0C2CC925 */ jal func_80B32494
/* 00A88 80B32D18 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
.L80B32D1C:
/* 00A8C 80B32D1C 8FBF0024 */ lw $ra, 0x0024($sp)
.L80B32D20:
/* 00A90 80B32D20 8FB00020 */ lw $s0, 0x0020($sp)
/* 00A94 80B32D24 27BD0028 */ addiu $sp, $sp, 0x0028 ## $sp = 00000000
/* 00A98 80B32D28 03E00008 */ jr $ra
/* 00A9C 80B32D2C 00000000 */ nop

View file

@ -1,56 +0,0 @@
glabel func_80B32D30
/* 00AA0 80B32D30 27BDFFD8 */ addiu $sp, $sp, 0xFFD8 ## $sp = FFFFFFD8
/* 00AA4 80B32D34 AFB00018 */ sw $s0, 0x0018($sp)
/* 00AA8 80B32D38 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 00AAC 80B32D3C AFBF001C */ sw $ra, 0x001C($sp)
/* 00AB0 80B32D40 2484014C */ addiu $a0, $a0, 0x014C ## $a0 = 0000014C
/* 00AB4 80B32D44 AFA5002C */ sw $a1, 0x002C($sp)
/* 00AB8 80B32D48 0C02927F */ jal SkelAnime_Update
/* 00ABC 80B32D4C AFA40024 */ sw $a0, 0x0024($sp)
/* 00AC0 80B32D50 8FA40024 */ lw $a0, 0x0024($sp)
/* 00AC4 80B32D54 0C0295B2 */ jal Animation_OnFrame
/* 00AC8 80B32D58 24050000 */ addiu $a1, $zero, 0x0000 ## $a1 = 00000000
/* 00ACC 80B32D5C 10400003 */ beq $v0, $zero, .L80B32D6C
/* 00AD0 80B32D60 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00AD4 80B32D64 0C00BE0A */ jal Audio_PlayActorSound2
/* 00AD8 80B32D68 2405394E */ addiu $a1, $zero, 0x394E ## $a1 = 0000394E
.L80B32D6C:
/* 00ADC 80B32D6C 260400B4 */ addiu $a0, $s0, 0x00B4 ## $a0 = 000000B4
/* 00AE0 80B32D70 00002825 */ or $a1, $zero, $zero ## $a1 = 00000000
/* 00AE4 80B32D74 0C01DE2B */ jal Math_ScaledStepToS
/* 00AE8 80B32D78 24060800 */ addiu $a2, $zero, 0x0800 ## $a2 = 00000800
/* 00AEC 80B32D7C 26040068 */ addiu $a0, $s0, 0x0068 ## $a0 = 00000068
/* 00AF0 80B32D80 24050000 */ addiu $a1, $zero, 0x0000 ## $a1 = 00000000
/* 00AF4 80B32D84 0C01DE80 */ jal Math_StepToF
/* 00AF8 80B32D88 3C063F80 */ lui $a2, 0x3F80 ## $a2 = 3F800000
/* 00AFC 80B32D8C 86030194 */ lh $v1, 0x0194($s0) ## 00000194
/* 00B00 80B32D90 10600003 */ beq $v1, $zero, .L80B32DA0
/* 00B04 80B32D94 246EFFFF */ addiu $t6, $v1, 0xFFFF ## $t6 = FFFFFFFF
/* 00B08 80B32D98 A60E0194 */ sh $t6, 0x0194($s0) ## 00000194
/* 00B0C 80B32D9C 86030194 */ lh $v1, 0x0194($s0) ## 00000194
.L80B32DA0:
/* 00B10 80B32DA0 54600006 */ bnel $v1, $zero, .L80B32DBC
/* 00B14 80B32DA4 C6040028 */ lwc1 $f4, 0x0028($s0) ## 00000028
/* 00B18 80B32DA8 0C2CC90D */ jal func_80B32434
/* 00B1C 80B32DAC 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00B20 80B32DB0 1000000A */ beq $zero, $zero, .L80B32DDC
/* 00B24 80B32DB4 8FBF001C */ lw $ra, 0x001C($sp)
/* 00B28 80B32DB8 C6040028 */ lwc1 $f4, 0x0028($s0) ## 00000028
.L80B32DBC:
/* 00B2C 80B32DBC C606000C */ lwc1 $f6, 0x000C($s0) ## 0000000C
/* 00B30 80B32DC0 4606203C */ c.lt.s $f4, $f6
/* 00B34 80B32DC4 00000000 */ nop
/* 00B38 80B32DC8 45020004 */ bc1fl .L80B32DDC
/* 00B3C 80B32DCC 8FBF001C */ lw $ra, 0x001C($sp)
/* 00B40 80B32DD0 0C2CC8E1 */ jal func_80B32384
/* 00B44 80B32DD4 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00B48 80B32DD8 8FBF001C */ lw $ra, 0x001C($sp)
.L80B32DDC:
/* 00B4C 80B32DDC 8FB00018 */ lw $s0, 0x0018($sp)
/* 00B50 80B32DE0 27BD0028 */ addiu $sp, $sp, 0x0028 ## $sp = 00000000
/* 00B54 80B32DE4 03E00008 */ jr $ra
/* 00B58 80B32DE8 00000000 */ nop

View file

@ -1,19 +0,0 @@
glabel func_80B32DEC
/* 00B5C 80B32DEC 27BDFFD8 */ addiu $sp, $sp, 0xFFD8 ## $sp = FFFFFFD8
/* 00B60 80B32DF0 AFBF0014 */ sw $ra, 0x0014($sp)
/* 00B64 80B32DF4 8CA21C44 */ lw $v0, 0x1C44($a1) ## 00001C44
/* 00B68 80B32DF8 3C0141A0 */ lui $at, 0x41A0 ## $at = 41A00000
/* 00B6C 80B32DFC 44814000 */ mtc1 $at, $f8 ## $f8 = 20.00
/* 00B70 80B32E00 C4440024 */ lwc1 $f4, 0x0024($v0) ## 00000024
/* 00B74 80B32E04 27A50018 */ addiu $a1, $sp, 0x0018 ## $a1 = FFFFFFF0
/* 00B78 80B32E08 E7A40018 */ swc1 $f4, 0x0018($sp)
/* 00B7C 80B32E0C C4460028 */ lwc1 $f6, 0x0028($v0) ## 00000028
/* 00B80 80B32E10 46083280 */ add.s $f10, $f6, $f8
/* 00B84 80B32E14 E7AA001C */ swc1 $f10, 0x001C($sp)
/* 00B88 80B32E18 C450002C */ lwc1 $f16, 0x002C($v0) ## 0000002C
/* 00B8C 80B32E1C 0C00B6CA */ jal Actor_WorldPitchTowardPoint
/* 00B90 80B32E20 E7B00020 */ swc1 $f16, 0x0020($sp)
/* 00B94 80B32E24 8FBF0014 */ lw $ra, 0x0014($sp)
/* 00B98 80B32E28 27BD0028 */ addiu $sp, $sp, 0x0028 ## $sp = 00000000
/* 00B9C 80B32E2C 03E00008 */ jr $ra
/* 00BA0 80B32E30 00000000 */ nop

View file

@ -1,137 +0,0 @@
glabel func_80B32E34
/* 00BA4 80B32E34 27BDFFD0 */ addiu $sp, $sp, 0xFFD0 ## $sp = FFFFFFD0
/* 00BA8 80B32E38 AFBF0024 */ sw $ra, 0x0024($sp)
/* 00BAC 80B32E3C AFB00020 */ sw $s0, 0x0020($sp)
/* 00BB0 80B32E40 AFA50034 */ sw $a1, 0x0034($sp)
/* 00BB4 80B32E44 8CAF1C44 */ lw $t7, 0x1C44($a1) ## 00001C44
/* 00BB8 80B32E48 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 00BBC 80B32E4C 2484014C */ addiu $a0, $a0, 0x014C ## $a0 = 0000014C
/* 00BC0 80B32E50 0C02927F */ jal SkelAnime_Update
/* 00BC4 80B32E54 AFAF002C */ sw $t7, 0x002C($sp)
/* 00BC8 80B32E58 86030194 */ lh $v1, 0x0194($s0) ## 00000194
/* 00BCC 80B32E5C 3C0141A0 */ lui $at, 0x41A0 ## $at = 41A00000
/* 00BD0 80B32E60 10600003 */ beq $v1, $zero, .L80B32E70
/* 00BD4 80B32E64 2478FFFF */ addiu $t8, $v1, 0xFFFF ## $t8 = FFFFFFFF
/* 00BD8 80B32E68 A6180194 */ sh $t8, 0x0194($s0) ## 00000194
/* 00BDC 80B32E6C 86030194 */ lh $v1, 0x0194($s0) ## 00000194
.L80B32E70:
/* 00BE0 80B32E70 1060000F */ beq $v1, $zero, .L80B32EB0
/* 00BE4 80B32E74 00000000 */ nop
/* 00BE8 80B32E78 C606000C */ lwc1 $f6, 0x000C($s0) ## 0000000C
/* 00BEC 80B32E7C 44814000 */ mtc1 $at, $f8 ## $f8 = 20.00
/* 00BF0 80B32E80 8FB9002C */ lw $t9, 0x002C($sp)
/* 00BF4 80B32E84 46083280 */ add.s $f10, $f6, $f8
/* 00BF8 80B32E88 C7240028 */ lwc1 $f4, 0x0028($t9) ## 00000028
/* 00BFC 80B32E8C 4604503E */ c.le.s $f10, $f4
/* 00C00 80B32E90 00000000 */ nop
/* 00C04 80B32E94 45010006 */ bc1t .L80B32EB0
/* 00C08 80B32E98 00000000 */ nop
/* 00C0C 80B32E9C 92080294 */ lbu $t0, 0x0294($s0) ## 00000294
/* 00C10 80B32EA0 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00C14 80B32EA4 31090002 */ andi $t1, $t0, 0x0002 ## $t1 = 00000000
/* 00C18 80B32EA8 11200005 */ beq $t1, $zero, .L80B32EC0
/* 00C1C 80B32EAC 00000000 */ nop
.L80B32EB0:
/* 00C20 80B32EB0 0C2CC94E */ jal func_80B32538
/* 00C24 80B32EB4 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00C28 80B32EB8 10000053 */ beq $zero, $zero, .L80B33008
/* 00C2C 80B32EBC 8FBF0024 */ lw $ra, 0x0024($sp)
.L80B32EC0:
/* 00C30 80B32EC0 0C00B821 */ jal func_8002E084
/* 00C34 80B32EC4 24052800 */ addiu $a1, $zero, 0x2800 ## $a1 = 00002800
/* 00C38 80B32EC8 10400008 */ beq $v0, $zero, .L80B32EEC
/* 00C3C 80B32ECC 26040068 */ addiu $a0, $s0, 0x0068 ## $a0 = 00000068
/* 00C40 80B32ED0 3C063E4C */ lui $a2, 0x3E4C ## $a2 = 3E4C0000
/* 00C44 80B32ED4 34C6CCCD */ ori $a2, $a2, 0xCCCD ## $a2 = 3E4CCCCD
/* 00C48 80B32ED8 26040068 */ addiu $a0, $s0, 0x0068 ## $a0 = 00000068
/* 00C4C 80B32EDC 0C01DE80 */ jal Math_StepToF
/* 00C50 80B32EE0 3C054080 */ lui $a1, 0x4080 ## $a1 = 40800000
/* 00C54 80B32EE4 10000007 */ beq $zero, $zero, .L80B32F04
/* 00C58 80B32EE8 C600000C */ lwc1 $f0, 0x000C($s0) ## 0000000C
.L80B32EEC:
/* 00C5C 80B32EEC 3C053FA6 */ lui $a1, 0x3FA6 ## $a1 = 3FA60000
/* 00C60 80B32EF0 3C063E4C */ lui $a2, 0x3E4C ## $a2 = 3E4C0000
/* 00C64 80B32EF4 34C6CCCD */ ori $a2, $a2, 0xCCCD ## $a2 = 3E4CCCCD
/* 00C68 80B32EF8 0C01DE80 */ jal Math_StepToF
/* 00C6C 80B32EFC 34A56666 */ ori $a1, $a1, 0x6666 ## $a1 = 3FA66666
/* 00C70 80B32F00 C600000C */ lwc1 $f0, 0x000C($s0) ## 0000000C
.L80B32F04:
/* 00C74 80B32F04 C6100028 */ lwc1 $f16, 0x0028($s0) ## 00000028
/* 00C78 80B32F08 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00C7C 80B32F0C 4610003C */ c.lt.s $f0, $f16
/* 00C80 80B32F10 00000000 */ nop
/* 00C84 80B32F14 45000014 */ bc1f .L80B32F68
/* 00C88 80B32F18 00000000 */ nop
/* 00C8C 80B32F1C C6120080 */ lwc1 $f18, 0x0080($s0) ## 00000080
/* 00C90 80B32F20 260400B4 */ addiu $a0, $s0, 0x00B4 ## $a0 = 000000B4
/* 00C94 80B32F24 24051000 */ addiu $a1, $zero, 0x1000 ## $a1 = 00001000
/* 00C98 80B32F28 4612003C */ c.lt.s $f0, $f18
/* 00C9C 80B32F2C 24060002 */ addiu $a2, $zero, 0x0002 ## $a2 = 00000002
/* 00CA0 80B32F30 24070100 */ addiu $a3, $zero, 0x0100 ## $a3 = 00000100
/* 00CA4 80B32F34 240A0040 */ addiu $t2, $zero, 0x0040 ## $t2 = 00000040
/* 00CA8 80B32F38 45020007 */ bc1fl .L80B32F58
/* 00CAC 80B32F3C E6000028 */ swc1 $f0, 0x0028($s0) ## 00000028
/* 00CB0 80B32F40 A60000B4 */ sh $zero, 0x00B4($s0) ## 000000B4
/* 00CB4 80B32F44 0C2CC90D */ jal func_80B32434
/* 00CB8 80B32F48 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00CBC 80B32F4C 1000002E */ beq $zero, $zero, .L80B33008
/* 00CC0 80B32F50 8FBF0024 */ lw $ra, 0x0024($sp)
/* 00CC4 80B32F54 E6000028 */ swc1 $f0, 0x0028($s0) ## 00000028
.L80B32F58:
/* 00CC8 80B32F58 0C01E1A7 */ jal Math_SmoothStepToS
/* 00CCC 80B32F5C AFAA0010 */ sw $t2, 0x0010($sp)
/* 00CD0 80B32F60 1000000C */ beq $zero, $zero, .L80B32F94
/* 00CD4 80B32F64 8605008A */ lh $a1, 0x008A($s0) ## 0000008A
.L80B32F68:
/* 00CD8 80B32F68 0C2CCB7B */ jal func_80B32DEC
/* 00CDC 80B32F6C 8FA50034 */ lw $a1, 0x0034($sp)
/* 00CE0 80B32F70 00022C00 */ sll $a1, $v0, 16
/* 00CE4 80B32F74 240B0040 */ addiu $t3, $zero, 0x0040 ## $t3 = 00000040
/* 00CE8 80B32F78 AFAB0010 */ sw $t3, 0x0010($sp)
/* 00CEC 80B32F7C 00052C03 */ sra $a1, $a1, 16
/* 00CF0 80B32F80 260400B4 */ addiu $a0, $s0, 0x00B4 ## $a0 = 000000B4
/* 00CF4 80B32F84 24060002 */ addiu $a2, $zero, 0x0002 ## $a2 = 00000002
/* 00CF8 80B32F88 0C01E1A7 */ jal Math_SmoothStepToS
/* 00CFC 80B32F8C 24070100 */ addiu $a3, $zero, 0x0100 ## $a3 = 00000100
/* 00D00 80B32F90 8605008A */ lh $a1, 0x008A($s0) ## 0000008A
.L80B32F94:
/* 00D04 80B32F94 240C0080 */ addiu $t4, $zero, 0x0080 ## $t4 = 00000080
/* 00D08 80B32F98 AFAC0010 */ sw $t4, 0x0010($sp)
/* 00D0C 80B32F9C 260400B6 */ addiu $a0, $s0, 0x00B6 ## $a0 = 000000B6
/* 00D10 80B32FA0 24060002 */ addiu $a2, $zero, 0x0002 ## $a2 = 00000002
/* 00D14 80B32FA4 0C01E1A7 */ jal Math_SmoothStepToS
/* 00D18 80B32FA8 24070200 */ addiu $a3, $zero, 0x0200 ## $a3 = 00000200
/* 00D1C 80B32FAC 8FAD002C */ lw $t5, 0x002C($sp)
/* 00D20 80B32FB0 3C014248 */ lui $at, 0x4248 ## $at = 42480000
/* 00D24 80B32FB4 44814000 */ mtc1 $at, $f8 ## $f8 = 50.00
/* 00D28 80B32FB8 C5A60084 */ lwc1 $f6, 0x0084($t5) ## 00000084
/* 00D2C 80B32FBC 3C0141A0 */ lui $at, 0x41A0 ## $at = 41A00000
/* 00D30 80B32FC0 4608303C */ c.lt.s $f6, $f8
/* 00D34 80B32FC4 00000000 */ nop
/* 00D38 80B32FC8 4502000F */ bc1fl .L80B33008
/* 00D3C 80B32FCC 8FBF0024 */ lw $ra, 0x0024($sp)
/* 00D40 80B32FD0 C6040084 */ lwc1 $f4, 0x0084($s0) ## 00000084
/* 00D44 80B32FD4 44815000 */ mtc1 $at, $f10 ## $f10 = 20.00
/* 00D48 80B32FD8 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00D4C 80B32FDC 460A203C */ c.lt.s $f4, $f10
/* 00D50 80B32FE0 00000000 */ nop
/* 00D54 80B32FE4 45020008 */ bc1fl .L80B33008
/* 00D58 80B32FE8 8FBF0024 */ lw $ra, 0x0024($sp)
/* 00D5C 80B32FEC 0C00B821 */ jal func_8002E084
/* 00D60 80B32FF0 24052000 */ addiu $a1, $zero, 0x2000 ## $a1 = 00002000
/* 00D64 80B32FF4 50400004 */ beql $v0, $zero, .L80B33008
/* 00D68 80B32FF8 8FBF0024 */ lw $ra, 0x0024($sp)
/* 00D6C 80B32FFC 0C2CC9F6 */ jal func_80B327D8
/* 00D70 80B33000 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00D74 80B33004 8FBF0024 */ lw $ra, 0x0024($sp)
.L80B33008:
/* 00D78 80B33008 8FB00020 */ lw $s0, 0x0020($sp)
/* 00D7C 80B3300C 27BD0030 */ addiu $sp, $sp, 0x0030 ## $sp = 00000000
/* 00D80 80B33010 03E00008 */ jr $ra
/* 00D84 80B33014 00000000 */ nop

View file

@ -1,130 +0,0 @@
.late_rodata
glabel D_80B33B28
.word 0x3DA0D97C
.text
glabel func_80B33018
/* 00D88 80B33018 27BDFFD0 */ addiu $sp, $sp, 0xFFD0 ## $sp = FFFFFFD0
/* 00D8C 80B3301C AFB00020 */ sw $s0, 0x0020($sp)
/* 00D90 80B33020 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 00D94 80B33024 AFBF0024 */ sw $ra, 0x0024($sp)
/* 00D98 80B33028 AFA50034 */ sw $a1, 0x0034($sp)
/* 00D9C 80B3302C 0C02927F */ jal SkelAnime_Update
/* 00DA0 80B33030 2484014C */ addiu $a0, $a0, 0x014C ## $a0 = 0000014C
/* 00DA4 80B33034 260400B4 */ addiu $a0, $s0, 0x00B4 ## $a0 = 000000B4
/* 00DA8 80B33038 00002825 */ or $a1, $zero, $zero ## $a1 = 00000000
/* 00DAC 80B3303C 0C01DE2B */ jal Math_ScaledStepToS
/* 00DB0 80B33040 24060800 */ addiu $a2, $zero, 0x0800 ## $a2 = 00000800
/* 00DB4 80B33044 C6040164 */ lwc1 $f4, 0x0164($s0) ## 00000164
/* 00DB8 80B33048 3C013E80 */ lui $at, 0x3E80 ## $at = 3E800000
/* 00DBC 80B3304C 44815000 */ mtc1 $at, $f10 ## $f10 = 0.25
/* 00DC0 80B33050 E7A4002C */ swc1 $f4, 0x002C($sp)
/* 00DC4 80B33054 C606000C */ lwc1 $f6, 0x000C($s0) ## 0000000C
/* 00DC8 80B33058 C6000080 */ lwc1 $f0, 0x0080($s0) ## 00000080
/* 00DCC 80B3305C 2604027C */ addiu $a0, $s0, 0x027C ## $a0 = 0000027C
/* 00DD0 80B33060 3C063F80 */ lui $a2, 0x3F80 ## $a2 = 3F800000
/* 00DD4 80B33064 46003201 */ sub.s $f8, $f6, $f0
/* 00DD8 80B33068 460A4402 */ mul.s $f16, $f8, $f10
/* 00DDC 80B3306C 46008480 */ add.s $f18, $f16, $f0
/* 00DE0 80B33070 44059000 */ mfc1 $a1, $f18
/* 00DE4 80B33074 0C01DE80 */ jal Math_StepToF
/* 00DE8 80B33078 00000000 */ nop
/* 00DEC 80B3307C 3C0140A0 */ lui $at, 0x40A0 ## $at = 40A00000
/* 00DF0 80B33080 44813000 */ mtc1 $at, $f6 ## $f6 = 5.00
/* 00DF4 80B33084 C7A4002C */ lwc1 $f4, 0x002C($sp)
/* 00DF8 80B33088 3C0180B3 */ lui $at, %hi(D_80B33B28) ## $at = 80B30000
/* 00DFC 80B3308C C42A3B28 */ lwc1 $f10, %lo(D_80B33B28)($at)
/* 00E00 80B33090 46062201 */ sub.s $f8, $f4, $f6
/* 00E04 80B33094 460A4302 */ mul.s $f12, $f8, $f10
/* 00E08 80B33098 0C041184 */ jal cosf
/* 00E0C 80B3309C 00000000 */ nop
/* 00E10 80B330A0 3C014040 */ lui $at, 0x4040 ## $at = 40400000
/* 00E14 80B330A4 44819000 */ mtc1 $at, $f18 ## $f18 = 3.00
/* 00E18 80B330A8 C610027C */ lwc1 $f16, 0x027C($s0) ## 0000027C
/* 00E1C 80B330AC 3C014234 */ lui $at, 0x4234 ## $at = 42340000
/* 00E20 80B330B0 46120102 */ mul.s $f4, $f0, $f18
/* 00E24 80B330B4 44814000 */ mtc1 $at, $f8 ## $f8 = 45.00
/* 00E28 80B330B8 3C053FA6 */ lui $a1, 0x3FA6 ## $a1 = 3FA60000
/* 00E2C 80B330BC 34A56666 */ ori $a1, $a1, 0x6666 ## $a1 = 3FA66666
/* 00E30 80B330C0 26040068 */ addiu $a0, $s0, 0x0068 ## $a0 = 00000068
/* 00E34 80B330C4 3C063CF5 */ lui $a2, 0x3CF5 ## $a2 = 3CF50000
/* 00E38 80B330C8 46048181 */ sub.s $f6, $f16, $f4
/* 00E3C 80B330CC E6060028 */ swc1 $f6, 0x0028($s0) ## 00000028
/* 00E40 80B330D0 C7AA002C */ lwc1 $f10, 0x002C($sp)
/* 00E44 80B330D4 4608503E */ c.le.s $f10, $f8
/* 00E48 80B330D8 00000000 */ nop
/* 00E4C 80B330DC 45000008 */ bc1f .L80B33100
/* 00E50 80B330E0 00000000 */ nop
/* 00E54 80B330E4 3C063CF5 */ lui $a2, 0x3CF5 ## $a2 = 3CF50000
/* 00E58 80B330E8 34C6C28F */ ori $a2, $a2, 0xC28F ## $a2 = 3CF5C28F
/* 00E5C 80B330EC 26040068 */ addiu $a0, $s0, 0x0068 ## $a0 = 00000068
/* 00E60 80B330F0 0C01DE80 */ jal Math_StepToF
/* 00E64 80B330F4 3C053F80 */ lui $a1, 0x3F80 ## $a1 = 3F800000
/* 00E68 80B330F8 10000004 */ beq $zero, $zero, .L80B3310C
/* 00E6C 80B330FC 86020194 */ lh $v0, 0x0194($s0) ## 00000194
.L80B33100:
/* 00E70 80B33100 0C01DE80 */ jal Math_StepToF
/* 00E74 80B33104 34C6C28F */ ori $a2, $a2, 0xC28F ## $a2 = 0000C28F
/* 00E78 80B33108 86020194 */ lh $v0, 0x0194($s0) ## 00000194
.L80B3310C:
/* 00E7C 80B3310C 260400B6 */ addiu $a0, $s0, 0x00B6 ## $a0 = 000000B6
/* 00E80 80B33110 24060002 */ addiu $a2, $zero, 0x0002 ## $a2 = 00000002
/* 00E84 80B33114 10400003 */ beq $v0, $zero, .L80B33124
/* 00E88 80B33118 24070200 */ addiu $a3, $zero, 0x0200 ## $a3 = 00000200
/* 00E8C 80B3311C 244EFFFF */ addiu $t6, $v0, 0xFFFF ## $t6 = FFFFFFFF
/* 00E90 80B33120 A60E0194 */ sh $t6, 0x0194($s0) ## 00000194
.L80B33124:
/* 00E94 80B33124 960F0088 */ lhu $t7, 0x0088($s0) ## 00000088
/* 00E98 80B33128 24080080 */ addiu $t0, $zero, 0x0080 ## $t0 = 00000080
/* 00E9C 80B3312C 31F80008 */ andi $t8, $t7, 0x0008 ## $t8 = 00000000
/* 00EA0 80B33130 53000004 */ beql $t8, $zero, .L80B33144
/* 00EA4 80B33134 86050196 */ lh $a1, 0x0196($s0) ## 00000196
/* 00EA8 80B33138 8619007E */ lh $t9, 0x007E($s0) ## 0000007E
/* 00EAC 80B3313C A6190196 */ sh $t9, 0x0196($s0) ## 00000196
/* 00EB0 80B33140 86050196 */ lh $a1, 0x0196($s0) ## 00000196
.L80B33144:
/* 00EB4 80B33144 0C01E1A7 */ jal Math_SmoothStepToS
/* 00EB8 80B33148 AFA80010 */ sw $t0, 0x0010($sp)
/* 00EBC 80B3314C 54400006 */ bnel $v0, $zero, .L80B33168
/* 00EC0 80B33150 C600000C */ lwc1 $f0, 0x000C($s0) ## 0000000C
/* 00EC4 80B33154 8609008A */ lh $t1, 0x008A($s0) ## 0000008A
/* 00EC8 80B33158 34018000 */ ori $at, $zero, 0x8000 ## $at = 00008000
/* 00ECC 80B3315C 01215021 */ addu $t2, $t1, $at
/* 00ED0 80B33160 A60A0196 */ sh $t2, 0x0196($s0) ## 00000196
/* 00ED4 80B33164 C600000C */ lwc1 $f0, 0x000C($s0) ## 0000000C
.L80B33168:
/* 00ED8 80B33168 C6120028 */ lwc1 $f18, 0x0028($s0) ## 00000028
/* 00EDC 80B3316C 4612003C */ c.lt.s $f0, $f18
/* 00EE0 80B33170 00000000 */ nop
/* 00EE4 80B33174 4502000C */ bc1fl .L80B331A8
/* 00EE8 80B33178 860B0194 */ lh $t3, 0x0194($s0) ## 00000194
/* 00EEC 80B3317C C6100080 */ lwc1 $f16, 0x0080($s0) ## 00000080
/* 00EF0 80B33180 4610003C */ c.lt.s $f0, $f16
/* 00EF4 80B33184 00000000 */ nop
/* 00EF8 80B33188 45020006 */ bc1fl .L80B331A4
/* 00EFC 80B3318C E6000028 */ swc1 $f0, 0x0028($s0) ## 00000028
/* 00F00 80B33190 0C2CC90D */ jal func_80B32434
/* 00F04 80B33194 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00F08 80B33198 10000003 */ beq $zero, $zero, .L80B331A8
/* 00F0C 80B3319C 860B0194 */ lh $t3, 0x0194($s0) ## 00000194
/* 00F10 80B331A0 E6000028 */ swc1 $f0, 0x0028($s0) ## 00000028
.L80B331A4:
/* 00F14 80B331A4 860B0194 */ lh $t3, 0x0194($s0) ## 00000194
.L80B331A8:
/* 00F18 80B331A8 55600004 */ bnel $t3, $zero, .L80B331BC
/* 00F1C 80B331AC 8FBF0024 */ lw $ra, 0x0024($sp)
/* 00F20 80B331B0 0C2CC8E1 */ jal func_80B32384
/* 00F24 80B331B4 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00F28 80B331B8 8FBF0024 */ lw $ra, 0x0024($sp)
.L80B331BC:
/* 00F2C 80B331BC 8FB00020 */ lw $s0, 0x0020($sp)
/* 00F30 80B331C0 27BD0030 */ addiu $sp, $sp, 0x0030 ## $sp = 00000000
/* 00F34 80B331C4 03E00008 */ jr $ra
/* 00F38 80B331C8 00000000 */ nop

View file

@ -1,72 +0,0 @@
.late_rodata
glabel D_80B33B2C
.word 0x3F20D97C
.text
glabel func_80B331CC
/* 00F3C 80B331CC 27BDFFE0 */ addiu $sp, $sp, 0xFFE0 ## $sp = FFFFFFE0
/* 00F40 80B331D0 AFB00018 */ sw $s0, 0x0018($sp)
/* 00F44 80B331D4 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 00F48 80B331D8 AFBF001C */ sw $ra, 0x001C($sp)
/* 00F4C 80B331DC AFA50024 */ sw $a1, 0x0024($sp)
/* 00F50 80B331E0 0C02927F */ jal SkelAnime_Update
/* 00F54 80B331E4 2484014C */ addiu $a0, $a0, 0x014C ## $a0 = 0000014C
/* 00F58 80B331E8 86020194 */ lh $v0, 0x0194($s0) ## 00000194
/* 00F5C 80B331EC 26040032 */ addiu $a0, $s0, 0x0032 ## $a0 = 00000032
/* 00F60 80B331F0 2406038E */ addiu $a2, $zero, 0x038E ## $a2 = 0000038E
/* 00F64 80B331F4 10400002 */ beq $v0, $zero, .L80B33200
/* 00F68 80B331F8 244EFFFF */ addiu $t6, $v0, 0xFFFF ## $t6 = FFFFFFFF
/* 00F6C 80B331FC A60E0194 */ sh $t6, 0x0194($s0) ## 00000194
.L80B33200:
/* 00F70 80B33200 960F0088 */ lhu $t7, 0x0088($s0) ## 00000088
/* 00F74 80B33204 31F80008 */ andi $t8, $t7, 0x0008 ## $t8 = 00000000
/* 00F78 80B33208 53000005 */ beql $t8, $zero, .L80B33220
/* 00F7C 80B3320C 8608008A */ lh $t0, 0x008A($s0) ## 0000008A
/* 00F80 80B33210 8619007E */ lh $t9, 0x007E($s0) ## 0000007E
/* 00F84 80B33214 10000005 */ beq $zero, $zero, .L80B3322C
/* 00F88 80B33218 A6190196 */ sh $t9, 0x0196($s0) ## 00000196
/* 00F8C 80B3321C 8608008A */ lh $t0, 0x008A($s0) ## 0000008A
.L80B33220:
/* 00F90 80B33220 34018000 */ ori $at, $zero, 0x8000 ## $at = 00008000
/* 00F94 80B33224 01014821 */ addu $t1, $t0, $at
/* 00F98 80B33228 A6090196 */ sh $t1, 0x0196($s0) ## 00000196
.L80B3322C:
/* 00F9C 80B3322C 0C01DE2B */ jal Math_ScaledStepToS
/* 00FA0 80B33230 86050196 */ lh $a1, 0x0196($s0) ## 00000196
/* 00FA4 80B33234 260400B4 */ addiu $a0, $s0, 0x00B4 ## $a0 = 000000B4
/* 00FA8 80B33238 00002825 */ or $a1, $zero, $zero ## $a1 = 00000000
/* 00FAC 80B3323C 0C01DE2B */ jal Math_ScaledStepToS
/* 00FB0 80B33240 24060200 */ addiu $a2, $zero, 0x0200 ## $a2 = 00000200
/* 00FB4 80B33244 860A0194 */ lh $t2, 0x0194($s0) ## 00000194
/* 00FB8 80B33248 3C0180B3 */ lui $at, %hi(D_80B33B2C) ## $at = 80B30000
/* 00FBC 80B3324C C4283B2C */ lwc1 $f8, %lo(D_80B33B2C)($at)
/* 00FC0 80B33250 448A2000 */ mtc1 $t2, $f4 ## $f4 = 0.00
/* 00FC4 80B33254 00000000 */ nop
/* 00FC8 80B33258 468021A0 */ cvt.s.w $f6, $f4
/* 00FCC 80B3325C 46083302 */ mul.s $f12, $f6, $f8
/* 00FD0 80B33260 0C0400A4 */ jal sinf
/* 00FD4 80B33264 00000000 */ nop
/* 00FD8 80B33268 3C0145A0 */ lui $at, 0x45A0 ## $at = 45A00000
/* 00FDC 80B3326C 44815000 */ mtc1 $at, $f10 ## $f10 = 5120.00
/* 00FE0 80B33270 860D0194 */ lh $t5, 0x0194($s0) ## 00000194
/* 00FE4 80B33274 460A0402 */ mul.s $f16, $f0, $f10
/* 00FE8 80B33278 4600848D */ trunc.w.s $f18, $f16
/* 00FEC 80B3327C 440C9000 */ mfc1 $t4, $f18
/* 00FF0 80B33280 15A00007 */ bne $t5, $zero, .L80B332A0
/* 00FF4 80B33284 A60C00B8 */ sh $t4, 0x00B8($s0) ## 000000B8
/* 00FF8 80B33288 920E0295 */ lbu $t6, 0x0295($s0) ## 00000295
/* 00FFC 80B3328C A60000B8 */ sh $zero, 0x00B8($s0) ## 000000B8
/* 01000 80B33290 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 01004 80B33294 35CF0001 */ ori $t7, $t6, 0x0001 ## $t7 = 00000001
/* 01008 80B33298 0C2CC8E1 */ jal func_80B32384
/* 0100C 80B3329C A20F0295 */ sb $t7, 0x0295($s0) ## 00000295
.L80B332A0:
/* 01010 80B332A0 8FBF001C */ lw $ra, 0x001C($sp)
/* 01014 80B332A4 8FB00018 */ lw $s0, 0x0018($sp)
/* 01018 80B332A8 27BD0020 */ addiu $sp, $sp, 0x0020 ## $sp = 00000000
/* 0101C 80B332AC 03E00008 */ jr $ra
/* 01020 80B332B0 00000000 */ nop

View file

@ -1,39 +0,0 @@
glabel func_80B332B4
/* 01024 80B332B4 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 01028 80B332B8 AFBF0014 */ sw $ra, 0x0014($sp)
/* 0102C 80B332BC 00803825 */ or $a3, $a0, $zero ## $a3 = 00000000
/* 01030 80B332C0 AFA5001C */ sw $a1, 0x001C($sp)
/* 01034 80B332C4 AFA70018 */ sw $a3, 0x0018($sp)
/* 01038 80B332C8 0C02927F */ jal SkelAnime_Update
/* 0103C 80B332CC 2484014C */ addiu $a0, $a0, 0x014C ## $a0 = 0000014C
/* 01040 80B332D0 8FA70018 */ lw $a3, 0x0018($sp)
/* 01044 80B332D4 2405C000 */ addiu $a1, $zero, 0xC000 ## $a1 = FFFFC000
/* 01048 80B332D8 24060400 */ addiu $a2, $zero, 0x0400 ## $a2 = 00000400
/* 0104C 80B332DC 0C01DE2B */ jal Math_ScaledStepToS
/* 01050 80B332E0 24E400B4 */ addiu $a0, $a3, 0x00B4 ## $a0 = 000000B4
/* 01054 80B332E4 8FA70018 */ lw $a3, 0x0018($sp)
/* 01058 80B332E8 84EE00B8 */ lh $t6, 0x00B8($a3) ## 000000B8
/* 0105C 80B332EC 84E20194 */ lh $v0, 0x0194($a3) ## 00000194
/* 01060 80B332F0 25CF1000 */ addiu $t7, $t6, 0x1000 ## $t7 = 00001000
/* 01064 80B332F4 10400004 */ beq $v0, $zero, .L80B33308
/* 01068 80B332F8 A4EF00B8 */ sh $t7, 0x00B8($a3) ## 000000B8
/* 0106C 80B332FC 2458FFFF */ addiu $t8, $v0, 0xFFFF ## $t8 = FFFFFFFF
/* 01070 80B33300 A4F80194 */ sh $t8, 0x0194($a3) ## 00000194
/* 01074 80B33304 84E20194 */ lh $v0, 0x0194($a3) ## 00000194
.L80B33308:
/* 01078 80B33308 10400005 */ beq $v0, $zero, .L80B33320
/* 0107C 80B3330C 00000000 */ nop
/* 01080 80B33310 94F90088 */ lhu $t9, 0x0088($a3) ## 00000088
/* 01084 80B33314 33280010 */ andi $t0, $t9, 0x0010 ## $t0 = 00000000
/* 01088 80B33318 51000004 */ beql $t0, $zero, .L80B3332C
/* 0108C 80B3331C 8FBF0014 */ lw $ra, 0x0014($sp)
.L80B33320:
/* 01090 80B33320 0C2CC9EC */ jal func_80B327B0
/* 01094 80B33324 00E02025 */ or $a0, $a3, $zero ## $a0 = 00000000
/* 01098 80B33328 8FBF0014 */ lw $ra, 0x0014($sp)
.L80B3332C:
/* 0109C 80B3332C 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
/* 010A0 80B33330 03E00008 */ jr $ra
/* 010A4 80B33334 00000000 */ nop

View file

@ -1,38 +0,0 @@
glabel func_80B33338
/* 010A8 80B33338 27BDFFE0 */ addiu $sp, $sp, 0xFFE0 ## $sp = FFFFFFE0
/* 010AC 80B3333C AFBF001C */ sw $ra, 0x001C($sp)
/* 010B0 80B33340 AFB00018 */ sw $s0, 0x0018($sp)
/* 010B4 80B33344 AFA50024 */ sw $a1, 0x0024($sp)
/* 010B8 80B33348 908200C8 */ lbu $v0, 0x00C8($a0) ## 000000C8
/* 010BC 80B3334C 3C014000 */ lui $at, 0x4000 ## $at = 40000000
/* 010C0 80B33350 44813000 */ mtc1 $at, $f6 ## $f6 = 2.00
/* 010C4 80B33354 2442FFFB */ addiu $v0, $v0, 0xFFFB ## $v0 = FFFFFFFB
/* 010C8 80B33358 00021400 */ sll $v0, $v0, 16
/* 010CC 80B3335C 00021403 */ sra $v0, $v0, 16
/* 010D0 80B33360 04410003 */ bgez $v0, .L80B33370
/* 010D4 80B33364 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 010D8 80B33368 10000002 */ beq $zero, $zero, .L80B33374
/* 010DC 80B3336C A08000C8 */ sb $zero, 0x00C8($a0) ## 000000C8
.L80B33370:
/* 010E0 80B33370 A20200C8 */ sb $v0, 0x00C8($s0) ## 000000C8
.L80B33374:
/* 010E4 80B33374 C6040028 */ lwc1 $f4, 0x0028($s0) ## 00000028
/* 010E8 80B33378 920E00C8 */ lbu $t6, 0x00C8($s0) ## 000000C8
/* 010EC 80B3337C 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000
/* 010F0 80B33380 46062201 */ sub.s $f8, $f4, $f6
/* 010F4 80B33384 26060024 */ addiu $a2, $s0, 0x0024 ## $a2 = 00000024
/* 010F8 80B33388 240700E0 */ addiu $a3, $zero, 0x00E0 ## $a3 = 000000E0
/* 010FC 80B3338C 15C00005 */ bne $t6, $zero, .L80B333A4
/* 01100 80B33390 E6080028 */ swc1 $f8, 0x0028($s0) ## 00000028
/* 01104 80B33394 0C007E50 */ jal Item_DropCollectibleRandom
/* 01108 80B33398 8FA40024 */ lw $a0, 0x0024($sp)
/* 0110C 80B3339C 0C00B55C */ jal Actor_Kill
/* 01110 80B333A0 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
.L80B333A4:
/* 01114 80B333A4 8FBF001C */ lw $ra, 0x001C($sp)
/* 01118 80B333A8 8FB00018 */ lw $s0, 0x0018($sp)
/* 0111C 80B333AC 27BD0020 */ addiu $sp, $sp, 0x0020 ## $sp = 00000000
/* 01120 80B333B0 03E00008 */ jr $ra
/* 01124 80B333B4 00000000 */ nop

View file

@ -1,67 +0,0 @@
glabel func_80B333B8
/* 01128 80B333B8 27BDFFD8 */ addiu $sp, $sp, 0xFFD8 ## $sp = FFFFFFD8
/* 0112C 80B333BC AFBF001C */ sw $ra, 0x001C($sp)
/* 01130 80B333C0 AFB00018 */ sw $s0, 0x0018($sp)
/* 01134 80B333C4 AFA5002C */ sw $a1, 0x002C($sp)
/* 01138 80B333C8 84820194 */ lh $v0, 0x0194($a0) ## 00000194
/* 0113C 80B333CC 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 01140 80B333D0 00002825 */ or $a1, $zero, $zero ## $a1 = 00000000
/* 01144 80B333D4 10400003 */ beq $v0, $zero, .L80B333E4
/* 01148 80B333D8 24060200 */ addiu $a2, $zero, 0x0200 ## $a2 = 00000200
/* 0114C 80B333DC 244EFFFF */ addiu $t6, $v0, 0xFFFF ## $t6 = FFFFFFFF
/* 01150 80B333E0 A48E0194 */ sh $t6, 0x0194($a0) ## 00000194
.L80B333E4:
/* 01154 80B333E4 0C01DE2B */ jal Math_ScaledStepToS
/* 01158 80B333E8 260400B4 */ addiu $a0, $s0, 0x00B4 ## $a0 = 000000B4
/* 0115C 80B333EC 260400B8 */ addiu $a0, $s0, 0x00B8 ## $a0 = 000000B8
/* 01160 80B333F0 00002825 */ or $a1, $zero, $zero ## $a1 = 00000000
/* 01164 80B333F4 0C01DE2B */ jal Math_ScaledStepToS
/* 01168 80B333F8 24060200 */ addiu $a2, $zero, 0x0200 ## $a2 = 00000200
/* 0116C 80B333FC 2604014C */ addiu $a0, $s0, 0x014C ## $a0 = 0000014C
/* 01170 80B33400 0C02927F */ jal SkelAnime_Update
/* 01174 80B33404 AFA40024 */ sw $a0, 0x0024($sp)
/* 01178 80B33408 C604000C */ lwc1 $f4, 0x000C($s0) ## 0000000C
/* 0117C 80B3340C C6060080 */ lwc1 $f6, 0x0080($s0) ## 00000080
/* 01180 80B33410 8FA40024 */ lw $a0, 0x0024($sp)
/* 01184 80B33414 4606203C */ c.lt.s $f4, $f6
/* 01188 80B33418 00000000 */ nop
/* 0118C 80B3341C 4502000F */ bc1fl .L80B3345C
/* 01190 80B33420 86190194 */ lh $t9, 0x0194($s0) ## 00000194
/* 01194 80B33424 0C0295B2 */ jal Animation_OnFrame
/* 01198 80B33428 24050000 */ addiu $a1, $zero, 0x0000 ## $a1 = 00000000
/* 0119C 80B3342C 10400003 */ beq $v0, $zero, .L80B3343C
/* 011A0 80B33430 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 011A4 80B33434 0C00BE0A */ jal Audio_PlayActorSound2
/* 011A8 80B33438 2405394E */ addiu $a1, $zero, 0x394E ## $a1 = 0000394E
.L80B3343C:
/* 011AC 80B3343C 960F0088 */ lhu $t7, 0x0088($s0) ## 00000088
/* 011B0 80B33440 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 011B4 80B33444 31F80002 */ andi $t8, $t7, 0x0002 ## $t8 = 00000000
/* 011B8 80B33448 53000004 */ beql $t8, $zero, .L80B3345C
/* 011BC 80B3344C 86190194 */ lh $t9, 0x0194($s0) ## 00000194
/* 011C0 80B33450 0C00BE0A */ jal Audio_PlayActorSound2
/* 011C4 80B33454 2405387B */ addiu $a1, $zero, 0x387B ## $a1 = 0000387B
/* 011C8 80B33458 86190194 */ lh $t9, 0x0194($s0) ## 00000194
.L80B3345C:
/* 011CC 80B3345C 5720000B */ bnel $t9, $zero, .L80B3348C
/* 011D0 80B33460 8FBF001C */ lw $ra, 0x001C($sp)
/* 011D4 80B33464 44804000 */ mtc1 $zero, $f8 ## $f8 = 0.00
/* 011D8 80B33468 44805000 */ mtc1 $zero, $f10 ## $f10 = 0.00
/* 011DC 80B3346C 3C0880B3 */ lui $t0, %hi(D_80B33A90+0x22) ## $t0 = 80B30000
/* 011E0 80B33470 E608006C */ swc1 $f8, 0x006C($s0) ## 0000006C
/* 011E4 80B33474 E60A0060 */ swc1 $f10, 0x0060($s0) ## 00000060
/* 011E8 80B33478 85083AB2 */ lh $t0, %lo(D_80B33A90+0x22)($t0)
/* 011EC 80B3347C 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 011F0 80B33480 0C2CC8E1 */ jal func_80B32384
/* 011F4 80B33484 A60802C6 */ sh $t0, 0x02C6($s0) ## 000002C6
/* 011F8 80B33488 8FBF001C */ lw $ra, 0x001C($sp)
.L80B3348C:
/* 011FC 80B3348C 8FB00018 */ lw $s0, 0x0018($sp)
/* 01200 80B33490 27BD0028 */ addiu $sp, $sp, 0x0028 ## $sp = 00000000
/* 01204 80B33494 03E00008 */ jr $ra
/* 01208 80B33498 00000000 */ nop

View file

@ -1,144 +0,0 @@
glabel func_80B3349C
/* 0120C 80B3349C 27BDFFD0 */ addiu $sp, $sp, 0xFFD0 ## $sp = FFFFFFD0
/* 01210 80B334A0 AFBF0024 */ sw $ra, 0x0024($sp)
/* 01214 80B334A4 AFB00020 */ sw $s0, 0x0020($sp)
/* 01218 80B334A8 AFA50034 */ sw $a1, 0x0034($sp)
/* 0121C 80B334AC 8CAF1C44 */ lw $t7, 0x1C44($a1) ## 00001C44
/* 01220 80B334B0 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 01224 80B334B4 2484014C */ addiu $a0, $a0, 0x014C ## $a0 = 0000014C
/* 01228 80B334B8 0C02927F */ jal SkelAnime_Update
/* 0122C 80B334BC AFAF002C */ sw $t7, 0x002C($sp)
/* 01230 80B334C0 3C0141A0 */ lui $at, 0x41A0 ## $at = 41A00000
/* 01234 80B334C4 44813000 */ mtc1 $at, $f6 ## $f6 = 20.00
/* 01238 80B334C8 C604000C */ lwc1 $f4, 0x000C($s0) ## 0000000C
/* 0123C 80B334CC 8FB8002C */ lw $t8, 0x002C($sp)
/* 01240 80B334D0 00002025 */ or $a0, $zero, $zero ## $a0 = 00000000
/* 01244 80B334D4 46062200 */ add.s $f8, $f4, $f6
/* 01248 80B334D8 C70A0028 */ lwc1 $f10, 0x0028($t8) ## 00000028
/* 0124C 80B334DC 460A403E */ c.le.s $f8, $f10
/* 01250 80B334E0 00000000 */ nop
/* 01254 80B334E4 45020003 */ bc1fl .L80B334F4
/* 01258 80B334E8 86030194 */ lh $v1, 0x0194($s0) ## 00000194
/* 0125C 80B334EC 24040001 */ addiu $a0, $zero, 0x0001 ## $a0 = 00000001
/* 01260 80B334F0 86030194 */ lh $v1, 0x0194($s0) ## 00000194
.L80B334F4:
/* 01264 80B334F4 2401FFFF */ addiu $at, $zero, 0xFFFF ## $at = FFFFFFFF
/* 01268 80B334F8 1461001F */ bne $v1, $at, .L80B33578
/* 0126C 80B334FC 00000000 */ nop
/* 01270 80B33500 14800005 */ bne $a0, $zero, .L80B33518
/* 01274 80B33504 00000000 */ nop
/* 01278 80B33508 92190294 */ lbu $t9, 0x0294($s0) ## 00000294
/* 0127C 80B3350C 33280002 */ andi $t0, $t9, 0x0002 ## $t0 = 00000000
/* 01280 80B33510 51000006 */ beql $t0, $zero, .L80B3352C
/* 01284 80B33514 C6100084 */ lwc1 $f16, 0x0084($s0) ## 00000084
.L80B33518:
/* 01288 80B33518 0C2CC94E */ jal func_80B32538
/* 0128C 80B3351C 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 01290 80B33520 10000056 */ beq $zero, $zero, .L80B3367C
/* 01294 80B33524 8FBF0024 */ lw $ra, 0x0024($sp)
/* 01298 80B33528 C6100084 */ lwc1 $f16, 0x0084($s0) ## 00000084
.L80B3352C:
/* 0129C 80B3352C 44809000 */ mtc1 $zero, $f18 ## $f18 = 0.00
/* 012A0 80B33530 2409000A */ addiu $t1, $zero, 0x000A ## $t1 = 0000000A
/* 012A4 80B33534 26050024 */ addiu $a1, $s0, 0x0024 ## $a1 = 00000024
/* 012A8 80B33538 4612803C */ c.lt.s $f16, $f18
/* 012AC 80B3353C 00003025 */ or $a2, $zero, $zero ## $a2 = 00000000
/* 012B0 80B33540 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 012B4 80B33544 240A0001 */ addiu $t2, $zero, 0x0001 ## $t2 = 00000001
/* 012B8 80B33548 4500004B */ bc1f .L80B33678
/* 012BC 80B3354C 240B0190 */ addiu $t3, $zero, 0x0190 ## $t3 = 00000190
/* 012C0 80B33550 A6090194 */ sh $t1, 0x0194($s0) ## 00000194
/* 012C4 80B33554 AFAB0014 */ sw $t3, 0x0014($sp)
/* 012C8 80B33558 AFAA0010 */ sw $t2, 0x0010($sp)
/* 012CC 80B3355C 0C00A527 */ jal EffectSsGSplash_Spawn
/* 012D0 80B33560 8FA40034 */ lw $a0, 0x0034($sp)
/* 012D4 80B33564 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 012D8 80B33568 0C00BE0A */ jal Audio_PlayActorSound2
/* 012DC 80B3356C 240538C2 */ addiu $a1, $zero, 0x38C2 ## $a1 = 000038C2
/* 012E0 80B33570 10000042 */ beq $zero, $zero, .L80B3367C
/* 012E4 80B33574 8FBF0024 */ lw $ra, 0x0024($sp)
.L80B33578:
/* 012E8 80B33578 54800006 */ bnel $a0, $zero, .L80B33594
/* 012EC 80B3357C A6000194 */ sh $zero, 0x0194($s0) ## 00000194
/* 012F0 80B33580 920C0294 */ lbu $t4, 0x0294($s0) ## 00000294
/* 012F4 80B33584 318D0002 */ andi $t5, $t4, 0x0002 ## $t5 = 00000000
/* 012F8 80B33588 11A00004 */ beq $t5, $zero, .L80B3359C
/* 012FC 80B3358C 00000000 */ nop
/* 01300 80B33590 A6000194 */ sh $zero, 0x0194($s0) ## 00000194
.L80B33594:
/* 01304 80B33594 10000005 */ beq $zero, $zero, .L80B335AC
/* 01308 80B33598 86030194 */ lh $v1, 0x0194($s0) ## 00000194
.L80B3359C:
/* 0130C 80B3359C 10600003 */ beq $v1, $zero, .L80B335AC
/* 01310 80B335A0 246EFFFF */ addiu $t6, $v1, 0xFFFF ## $t6 = FFFFFFFF
/* 01314 80B335A4 A60E0194 */ sh $t6, 0x0194($s0) ## 00000194
/* 01318 80B335A8 86030194 */ lh $v1, 0x0194($s0) ## 00000194
.L80B335AC:
/* 0131C 80B335AC 14600003 */ bne $v1, $zero, .L80B335BC
/* 01320 80B335B0 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 01324 80B335B4 10000007 */ beq $zero, $zero, .L80B335D4
/* 01328 80B335B8 24051800 */ addiu $a1, $zero, 0x1800 ## $a1 = 00001800
.L80B335BC:
/* 0132C 80B335BC 0C2CCB7B */ jal func_80B32DEC
/* 01330 80B335C0 8FA50034 */ lw $a1, 0x0034($sp)
/* 01334 80B335C4 00022C00 */ sll $a1, $v0, 16
/* 01338 80B335C8 04410002 */ bgez $v0, .L80B335D4
/* 0133C 80B335CC 00052C03 */ sra $a1, $a1, 16
/* 01340 80B335D0 00002825 */ or $a1, $zero, $zero ## $a1 = 00000000
.L80B335D4:
/* 01344 80B335D4 860F00B4 */ lh $t7, 0x00B4($s0) ## 000000B4
/* 01348 80B335D8 260400B4 */ addiu $a0, $s0, 0x00B4 ## $a0 = 000000B4
/* 0134C 80B335DC 01E5082A */ slt $at, $t7, $a1
/* 01350 80B335E0 50200004 */ beql $at, $zero, .L80B335F4
/* 01354 80B335E4 96020088 */ lhu $v0, 0x0088($s0) ## 00000088
/* 01358 80B335E8 0C01DE2B */ jal Math_ScaledStepToS
/* 0135C 80B335EC 24060400 */ addiu $a2, $zero, 0x0400 ## $a2 = 00000400
/* 01360 80B335F0 96020088 */ lhu $v0, 0x0088($s0) ## 00000088
.L80B335F4:
/* 01364 80B335F4 30580001 */ andi $t8, $v0, 0x0001 ## $t8 = 00000000
/* 01368 80B335F8 13000005 */ beq $t8, $zero, .L80B33610
/* 0136C 80B335FC 30590020 */ andi $t9, $v0, 0x0020 ## $t9 = 00000000
/* 01370 80B33600 0C2CC90D */ jal func_80B32434
/* 01374 80B33604 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 01378 80B33608 1000001C */ beq $zero, $zero, .L80B3367C
/* 0137C 80B3360C 8FBF0024 */ lw $ra, 0x0024($sp)
.L80B33610:
/* 01380 80B33610 13200013 */ beq $t9, $zero, .L80B33660
/* 01384 80B33614 260400B6 */ addiu $a0, $s0, 0x00B6 ## $a0 = 000000B6
/* 01388 80B33618 860800B4 */ lh $t0, 0x00B4($s0) ## 000000B4
/* 0138C 80B3361C 26050024 */ addiu $a1, $s0, 0x0024 ## $a1 = 00000024
/* 01390 80B33620 00003025 */ or $a2, $zero, $zero ## $a2 = 00000000
/* 01394 80B33624 1900000E */ blez $t0, .L80B33660
/* 01398 80B33628 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 0139C 80B3362C 24090001 */ addiu $t1, $zero, 0x0001 ## $t1 = 00000001
/* 013A0 80B33630 240A0190 */ addiu $t2, $zero, 0x0190 ## $t2 = 00000190
/* 013A4 80B33634 AFAA0014 */ sw $t2, 0x0014($sp)
/* 013A8 80B33638 AFA90010 */ sw $t1, 0x0010($sp)
/* 013AC 80B3363C 0C00A527 */ jal EffectSsGSplash_Spawn
/* 013B0 80B33640 8FA40034 */ lw $a0, 0x0034($sp)
/* 013B4 80B33644 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 013B8 80B33648 0C00BE0A */ jal Audio_PlayActorSound2
/* 013BC 80B3364C 240538C4 */ addiu $a1, $zero, 0x38C4 ## $a1 = 000038C4
/* 013C0 80B33650 0C2CC94E */ jal func_80B32538
/* 013C4 80B33654 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 013C8 80B33658 10000008 */ beq $zero, $zero, .L80B3367C
/* 013CC 80B3365C 8FBF0024 */ lw $ra, 0x0024($sp)
.L80B33660:
/* 013D0 80B33660 8605008A */ lh $a1, 0x008A($s0) ## 0000008A
/* 013D4 80B33664 240B0080 */ addiu $t3, $zero, 0x0080 ## $t3 = 00000080
/* 013D8 80B33668 AFAB0010 */ sw $t3, 0x0010($sp)
/* 013DC 80B3366C 24060008 */ addiu $a2, $zero, 0x0008 ## $a2 = 00000008
/* 013E0 80B33670 0C01E1A7 */ jal Math_SmoothStepToS
/* 013E4 80B33674 24070100 */ addiu $a3, $zero, 0x0100 ## $a3 = 00000100
.L80B33678:
/* 013E8 80B33678 8FBF0024 */ lw $ra, 0x0024($sp)
.L80B3367C:
/* 013EC 80B3367C 8FB00020 */ lw $s0, 0x0020($sp)
/* 013F0 80B33680 27BD0030 */ addiu $sp, $sp, 0x0030 ## $sp = 00000000
/* 013F4 80B33684 03E00008 */ jr $ra
/* 013F8 80B33688 00000000 */ nop

View file

@ -1,63 +0,0 @@
glabel func_80B3368C
/* 013FC 80B3368C 27BDFFE0 */ addiu $sp, $sp, 0xFFE0 ## $sp = FFFFFFE0
/* 01400 80B33690 AFBF001C */ sw $ra, 0x001C($sp)
/* 01404 80B33694 AFB00018 */ sw $s0, 0x0018($sp)
/* 01408 80B33698 AFA50024 */ sw $a1, 0x0024($sp)
/* 0140C 80B3369C 90820295 */ lbu $v0, 0x0295($a0) ## 00000295
/* 01410 80B336A0 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 01414 80B336A4 2605029C */ addiu $a1, $s0, 0x029C ## $a1 = 0000029C
/* 01418 80B336A8 304E0002 */ andi $t6, $v0, 0x0002 ## $t6 = 00000000
/* 0141C 80B336AC 11C00029 */ beq $t6, $zero, .L80B33754
/* 01420 80B336B0 304FFFFD */ andi $t7, $v0, 0xFFFD ## $t7 = 00000000
/* 01424 80B336B4 A08F0295 */ sb $t7, 0x0295($a0) ## 00000295
/* 01428 80B336B8 0C00D594 */ jal func_80035650
/* 0142C 80B336BC 24060001 */ addiu $a2, $zero, 0x0001 ## $a2 = 00000001
/* 01430 80B336C0 920200B1 */ lbu $v0, 0x00B1($s0) ## 000000B1
/* 01434 80B336C4 24010001 */ addiu $at, $zero, 0x0001 ## $at = 00000001
/* 01438 80B336C8 14400004 */ bne $v0, $zero, .L80B336DC
/* 0143C 80B336CC 00000000 */ nop
/* 01440 80B336D0 921800B0 */ lbu $t8, 0x00B0($s0) ## 000000B0
/* 01444 80B336D4 53000020 */ beql $t8, $zero, .L80B33758
/* 01448 80B336D8 8FBF001C */ lw $ra, 0x001C($sp)
.L80B336DC:
/* 0144C 80B336DC 1441000A */ bne $v0, $at, .L80B33708
/* 01450 80B336E0 00000000 */ nop
/* 01454 80B336E4 8E080190 */ lw $t0, 0x0190($s0) ## 00000190
/* 01458 80B336E8 3C1980B3 */ lui $t9, %hi(func_80B333B8) ## $t9 = 80B30000
/* 0145C 80B336EC 273933B8 */ addiu $t9, $t9, %lo(func_80B333B8) ## $t9 = 80B333B8
/* 01460 80B336F0 53280019 */ beql $t9, $t0, .L80B33758
/* 01464 80B336F4 8FBF001C */ lw $ra, 0x001C($sp)
/* 01468 80B336F8 0C2CC998 */ jal func_80B32660
/* 0146C 80B336FC 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 01470 80B33700 10000015 */ beq $zero, $zero, .L80B33758
/* 01474 80B33704 8FBF001C */ lw $ra, 0x001C($sp)
.L80B33708:
/* 01478 80B33708 0C00D58A */ jal Actor_ApplyDamage
/* 0147C 80B3370C 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 01480 80B33710 1440000E */ bne $v0, $zero, .L80B3374C
/* 01484 80B33714 8FA40024 */ lw $a0, 0x0024($sp)
/* 01488 80B33718 0C00CB1F */ jal func_80032C7C
/* 0148C 80B3371C 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000
/* 01490 80B33720 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 01494 80B33724 0C00BE0A */ jal Audio_PlayActorSound2
/* 01498 80B33728 2405394D */ addiu $a1, $zero, 0x394D ## $a1 = 0000394D
/* 0149C 80B3372C 8E090004 */ lw $t1, 0x0004($s0) ## 00000004
/* 014A0 80B33730 2401FFFE */ addiu $at, $zero, 0xFFFE ## $at = FFFFFFFE
/* 014A4 80B33734 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 014A8 80B33738 01215024 */ and $t2, $t1, $at
/* 014AC 80B3373C 0C2CC9C9 */ jal func_80B32724
/* 014B0 80B33740 AE0A0004 */ sw $t2, 0x0004($s0) ## 00000004
/* 014B4 80B33744 10000004 */ beq $zero, $zero, .L80B33758
/* 014B8 80B33748 8FBF001C */ lw $ra, 0x001C($sp)
.L80B3374C:
/* 014BC 80B3374C 0C2CC968 */ jal func_80B325A0
/* 014C0 80B33750 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
.L80B33754:
/* 014C4 80B33754 8FBF001C */ lw $ra, 0x001C($sp)
.L80B33758:
/* 014C8 80B33758 8FB00018 */ lw $s0, 0x0018($sp)
/* 014CC 80B3375C 27BD0020 */ addiu $sp, $sp, 0x0020 ## $sp = 00000000
/* 014D0 80B33760 03E00008 */ jr $ra
/* 014D4 80B33764 00000000 */ nop

View file

@ -1,13 +0,0 @@
glabel func_80B338D4
/* 01644 80B338D4 24010001 */ addiu $at, $zero, 0x0001 ## $at = 00000001
/* 01648 80B338D8 AFA40000 */ sw $a0, 0x0000($sp)
/* 0164C 80B338DC 14A10006 */ bne $a1, $at, .L80B338F8
/* 01650 80B338E0 AFA60008 */ sw $a2, 0x0008($sp)
/* 01654 80B338E4 3C0144FA */ lui $at, 0x44FA ## $at = 44FA0000
/* 01658 80B338E8 44813000 */ mtc1 $at, $f6 ## $f6 = 2000.00
/* 0165C 80B338EC C4E40008 */ lwc1 $f4, 0x0008($a3) ## 00000008
/* 01660 80B338F0 46062200 */ add.s $f8, $f4, $f6
/* 01664 80B338F4 E4E80008 */ swc1 $f8, 0x0008($a3) ## 00000008
.L80B338F8:
/* 01668 80B338F8 03E00008 */ jr $ra
/* 0166C 80B338FC 00001025 */ or $v0, $zero, $zero ## $v0 = 00000000

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 purpose registers
.section .data
.balign 16
glabel En_Weiyer_InitVars
.word 0x018C0500, 0x00000005, 0x00260000, 0x000002D0
.word EnWeiyer_Init
.word EnWeiyer_Destroy
.word EnWeiyer_Update
.word EnWeiyer_Draw
glabel D_80B33A90
.byte 0x00, 0x10, 0x09, 0x39, 0x10, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xCF, 0xFF, 0xFF, 0x00, 0x08, 0x00, 0x00, 0xFF, 0xCF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x09, 0x01, 0x01, 0x00, 0x00, 0x10, 0x00, 0x0A, 0xFF, 0xFA, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
glabel D_80B33ABC
.word 0x0200002D, 0x000F6400
glabel D_80B33AC4
.word 0x10020102, 0x10020202, 0x01020402, 0x02020200, 0x00000000, 0x00000104, 0x02020804, 0x00000400
glabel D_80B33AE4
.word 0x89170019, 0xC8500003, 0x304C09C4

View file

@ -1,13 +0,0 @@
.include "macro.inc"
# assembler directives
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
.set gp=64 # allow use of 64-bit general purpose registers
.section .rodata
.balign 16
glabel D_80B33B30
.incbin "baserom/ovl_En_Weiyer", 0x18A0, 0x00000180

3
spec
View file

@ -3120,8 +3120,7 @@ endseg
beginseg
name "ovl_En_Weiyer"
include "build/src/overlays/actors/ovl_En_Weiyer/z_en_weiyer.o"
include "build/data/overlays/actors/z_en_weiyer.data.o"
include "build/data/overlays/actors/z_en_weiyer.reloc.o"
include "build/src/overlays/actors/ovl_En_Weiyer/ovl_En_Weiyer_reloc.o"
endseg
beginseg

View file

@ -15,12 +15,23 @@ void EnWeiyer_Destroy(Actor* thisx, GlobalContext* globalCtx);
void EnWeiyer_Update(Actor* thisx, GlobalContext* globalCtx);
void EnWeiyer_Draw(Actor* thisx, GlobalContext* globalCtx);
extern UNK_TYPE D_06000288;
extern UNK_TYPE D_06000FC0;
extern UNK_TYPE D_060012AC;
extern UNK_TYPE D_06003410;
void func_80B32804(EnWeiyer* this, GlobalContext* globalCtx);
void func_80B328E8(EnWeiyer* this, GlobalContext* globalCtx);
void func_80B32C2C(EnWeiyer* this, GlobalContext* globalCtx);
void func_80B32D30(EnWeiyer* this, GlobalContext* globalCtx);
void func_80B32E34(EnWeiyer* this, GlobalContext* globalCtx);
void func_80B33018(EnWeiyer* this, GlobalContext* globalCtx);
void func_80B331CC(EnWeiyer* this, GlobalContext* globalCtx);
void func_80B333B8(EnWeiyer* this, GlobalContext* globalCtx);
void func_80B332B4(EnWeiyer* this, GlobalContext* globalCtx);
void func_80B33338(EnWeiyer* this, GlobalContext* globalCtx);
void func_80B3349C(EnWeiyer* this, GlobalContext* globalCtx);
extern AnimationHeader D_06000288;
extern AnimationHeader D_06000FC0;
extern AnimationHeader D_060012AC;
extern SkeletonHeader D_06003410;
/*
const ActorInit En_Weiyer_InitVars = {
ACTOR_EN_WEIYER,
ACTORCAT_ENEMY,
@ -33,7 +44,7 @@ const ActorInit En_Weiyer_InitVars = {
(ActorFunc)EnWeiyer_Draw,
};
static ColliderCylinderInit D_80B33A90 = {
static ColliderCylinderInit sCylinderInit = {
{
COLTYPE_HIT0,
AT_TYPE_ENEMY,
@ -52,59 +63,590 @@ static ColliderCylinderInit D_80B33A90 = {
},
{ 16, 10, -6, { 0, 0, 0 } },
};
*/
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Weiyer/EnWeiyer_Init.s")
static CollisionCheckInfoInit sColChkInfoInit = { 2, 45, 15, 100 };
static DamageTable sDamageTable = {
/* Deku nut */ DMG_ENTRY(0, 0x1),
/* Deku stick */ DMG_ENTRY(2, 0x0),
/* Slingshot */ DMG_ENTRY(1, 0x0),
/* Explosive */ DMG_ENTRY(2, 0x0),
/* Boomerang */ DMG_ENTRY(0, 0x1),
/* Normal arrow */ DMG_ENTRY(2, 0x0),
/* Hammer swing */ DMG_ENTRY(2, 0x0),
/* Hookshot */ DMG_ENTRY(2, 0x0),
/* Kokiri sword */ DMG_ENTRY(1, 0x0),
/* Master sword */ DMG_ENTRY(2, 0x0),
/* Giant's Knife */ DMG_ENTRY(4, 0x0),
/* Fire arrow */ DMG_ENTRY(2, 0x0),
/* Ice arrow */ DMG_ENTRY(2, 0x0),
/* Light arrow */ DMG_ENTRY(2, 0x0),
/* Unk arrow 1 */ DMG_ENTRY(2, 0x0),
/* Unk arrow 2 */ DMG_ENTRY(0, 0x0),
/* Unk arrow 3 */ DMG_ENTRY(0, 0x0),
/* Fire magic */ DMG_ENTRY(0, 0x0),
/* Ice magic */ DMG_ENTRY(0, 0x0),
/* Light magic */ DMG_ENTRY(0, 0x0),
/* Shield */ DMG_ENTRY(0, 0x0),
/* Mirror Ray */ DMG_ENTRY(0, 0x0),
/* Kokiri spin */ DMG_ENTRY(1, 0x0),
/* Giant spin */ DMG_ENTRY(4, 0x0),
/* Master spin */ DMG_ENTRY(2, 0x0),
/* Kokiri jump */ DMG_ENTRY(2, 0x0),
/* Giant jump */ DMG_ENTRY(8, 0x0),
/* Master jump */ DMG_ENTRY(4, 0x0),
/* Unknown 1 */ DMG_ENTRY(0, 0x0),
/* Unblockable */ DMG_ENTRY(0, 0x0),
/* Hammer jump */ DMG_ENTRY(4, 0x0),
/* Unknown 2 */ DMG_ENTRY(0, 0x0),
};
static InitChainEntry sInitChain[] = {
ICHAIN_S8(naviEnemyId, 25, ICHAIN_CONTINUE),
ICHAIN_VEC3F_DIV1000(scale, 3, ICHAIN_CONTINUE),
ICHAIN_F32(targetArrowOffset, 2500, ICHAIN_STOP),
};
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Weiyer/EnWeiyer_Destroy.s")
void EnWeiyer_Init(Actor* thisx, GlobalContext* globalCtx) {
EnWeiyer* this = THIS;
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Weiyer/func_80B32384.s")
Actor_ProcessInitChain(thisx, sInitChain);
ActorShape_Init(&this->actor.shape, 1000.0f, ActorShadow_DrawCircle, 65.0f);
SkelAnime_Init(globalCtx, &this->skelAnime, &D_06003410, &D_060012AC, this->jointTable, this->morphTable, 19);
Collider_InitCylinder(globalCtx, &this->collider);
Collider_SetCylinder(globalCtx, &this->collider, &this->actor, &sCylinderInit);
CollisionCheck_SetInfo(&this->actor.colChkInfo, &sDamageTable, &sColChkInfoInit);
this->actionFunc = func_80B32804;
}
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Weiyer/func_80B32434.s")
void EnWeiyer_Destroy(Actor* thisx, GlobalContext* globalCtx) {
EnWeiyer* this = THIS;
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Weiyer/func_80B32494.s")
Collider_DestroyCylinder(globalCtx, &this->collider);
}
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Weiyer/func_80B32508.s")
void func_80B32384(EnWeiyer* this) {
this->unk_196 = this->actor.shape.rot.y;
this->unk_27C = (cosf(-M_PI / 8) * 3.0f) + this->actor.world.pos.y;
Animation_MorphToLoop(&this->skelAnime, &D_06000FC0, -5.0f);
this->unk_194 = 30;
this->actor.speedXZ = CLAMP_MAX(this->actor.speedXZ, 2.5f);
this->collider.base.atFlags &= ~AT_ON;
this->unk_280 = this->actor.floorHeight;
this->actionFunc = func_80B328E8;
}
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Weiyer/func_80B32538.s")
void func_80B32434(EnWeiyer* this) {
Animation_MorphToLoop(&this->skelAnime, &D_06000FC0, -5.0f);
this->collider.base.atFlags |= AT_ON;
this->unk_194 = 0;
this->actor.speedXZ = 5.0f;
this->actionFunc = func_80B32C2C;
}
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Weiyer/func_80B325A0.s")
void func_80B32494(EnWeiyer* this) {
Animation_Change(&this->skelAnime, &D_06000288, 2.0f, 0.0f, 0.0f, ANIMMODE_LOOP, -8.0f);
this->unk_194 = 40;
this->collider.base.atFlags |= AT_ON;
this->actionFunc = func_80B32D30;
}
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Weiyer/func_80B32660.s")
void func_80B32508(EnWeiyer* this) {
this->unk_194 = 200;
this->collider.base.atFlags |= AT_ON;
this->skelAnime.playSpeed = 3.0f;
this->actionFunc = func_80B32E34;
}
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Weiyer/func_80B32724.s")
void func_80B32538(EnWeiyer* this) {
this->unk_194 = 200;
this->unk_196 = this->actor.yawTowardsPlayer + 0x8000;
this->unk_27C = this->actor.world.pos.y;
this->actor.speedXZ = CLAMP_MAX(this->actor.speedXZ, 4.0f);
this->collider.base.atFlags &= ~AT_ON;
this->skelAnime.playSpeed = 1.0f;
this->actionFunc = func_80B33018;
}
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Weiyer/func_80B327B0.s")
void func_80B325A0(EnWeiyer* this) {
Animation_Change(&this->skelAnime, &D_06000FC0, 2.0f, 0.0f, 0.0f, ANIMMODE_LOOP, -3.0f);
this->unk_194 = 40;
this->collider.base.atFlags &= ~AT_ON;
this->collider.base.acFlags &= ~AC_ON;
this->actor.gravity = 0.0f;
this->actor.velocity.y = 0.0f;
this->actor.speedXZ = 3.0f;
func_8003426C(&this->actor, 0x4000, 0xC8, 0, 0x28);
this->collider.dim.height = sCylinderInit.dim.height;
this->actionFunc = func_80B331CC;
}
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Weiyer/func_80B327D8.s")
void func_80B32660(EnWeiyer* this) {
Animation_Change(&this->skelAnime, &D_06000288, 2.0f, 0.0f, 0.0f, ANIMMODE_LOOP, -8.0f);
this->unk_194 = 80;
this->actor.speedXZ = 0.0f;
this->actor.velocity.y = 0.0f;
this->actor.gravity = -1.0f;
this->collider.dim.height = sCylinderInit.dim.height + 0xF;
func_8003426C(&this->actor, 0, 0xC8, 0, 0x50);
this->collider.base.atFlags &= ~AT_ON;
Audio_PlayActorSound2(&this->actor, NA_SE_EN_GOMA_JR_FREEZE);
this->actionFunc = func_80B333B8;
}
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Weiyer/func_80B32804.s")
void func_80B32724(EnWeiyer* this) {
Animation_MorphToLoop(&this->skelAnime, &D_06000FC0, -5.0f);
this->unk_194 = 20;
func_8003426C(&this->actor, 0x4000, 0xC8, 0, 0x28);
this->collider.base.atFlags &= ~AT_ON;
this->collider.base.acFlags &= ~AC_ON;
this->actor.speedXZ = 3.0f;
this->actionFunc = func_80B332B4;
}
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Weiyer/func_80B328E8.s")
void func_80B327B0(EnWeiyer* this) {
this->actor.colorFilterParams |= 0x2000;
this->actor.speedXZ = 0.0f;
this->actor.velocity.y = 0.0f;
this->actionFunc = func_80B33338;
}
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Weiyer/func_80B32C2C.s")
void func_80B327D8(EnWeiyer* this) {
this->actor.shape.rot.x = -0x2000;
this->unk_194 = -1;
this->actor.speedXZ = 5.0f;
this->actionFunc = func_80B3349C;
}
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Weiyer/func_80B32D30.s")
void func_80B32804(EnWeiyer* this, GlobalContext* globalCtx) {
WaterBox* waterBox;
s32 bgId;
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Weiyer/func_80B32DEC.s")
this->actor.world.pos.y += 0.5f;
this->actor.floorHeight = BgCheck_EntityRaycastFloor4(&globalCtx->colCtx, &this->actor.floorPoly, &bgId,
&this->actor, &this->actor.world.pos);
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Weiyer/func_80B32E34.s")
if (!WaterBox_GetSurfaceImpl(globalCtx, &globalCtx->colCtx, this->actor.world.pos.x, this->actor.world.pos.z,
&this->actor.home.pos.y, &waterBox) ||
((this->actor.home.pos.y - 5.0f) <= this->actor.floorHeight)) {
Actor_Kill(&this->actor);
} else {
this->actor.home.pos.y -= 5.0f;
this->actor.world.pos.y = (this->actor.home.pos.y + this->actor.floorHeight) / 2.0f;
func_80B32384(this);
}
}
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Weiyer/func_80B33018.s")
void func_80B328E8(EnWeiyer* this, GlobalContext* globalCtx) {
s32 sp34;
f32 curFrame;
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Weiyer/func_80B331CC.s")
SkelAnime_Update(&this->skelAnime);
Math_ScaledStepToS(&this->actor.shape.rot.x, 0, 0x800);
sp34 = Animation_OnFrame(&this->skelAnime, 0.0f);
curFrame = this->skelAnime.curFrame;
Math_StepToF(&this->unk_27C, this->unk_280, 0.5f);
this->actor.world.pos.y = this->unk_27C - cosf((curFrame - 5.0f) * (M_PI / 40)) * 3.0f;
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Weiyer/func_80B332B4.s")
if (curFrame <= 45.0f) {
Math_StepToF(&this->actor.speedXZ, 1.0f, 0.03f);
} else {
Math_StepToF(&this->actor.speedXZ, 1.3f, 0.03f);
}
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Weiyer/func_80B33338.s")
if (this->actor.bgCheckFlags & 8) {
this->unk_196 = this->actor.wallYaw;
this->unk_194 = 30;
}
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Weiyer/func_80B333B8.s")
if (Math_ScaledStepToS(&this->actor.shape.rot.y, this->unk_196, 182)) {
if (this->unk_194 != 0) {
this->unk_194--;
}
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Weiyer/func_80B3349C.s")
if (this->unk_194 == 0) {
this->unk_196 =
Rand_S16Offset(0x2000, 0x2000) * ((Rand_ZeroOne() < 0.5f) ? -1 : 1) + this->actor.shape.rot.y;
this->unk_194 = 30;
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Weiyer/func_80B3368C.s")
if (Rand_ZeroOne() < 0.3333f) {
Audio_PlayActorSound2(&this->actor, NA_SE_EN_EIER_CRY);
}
}
}
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Weiyer/EnWeiyer_Update.s")
if (this->actor.home.pos.y < this->actor.world.pos.y) {
if (this->actor.home.pos.y < this->actor.floorHeight) {
func_80B32434(this);
} else {
this->actor.world.pos.y = this->actor.home.pos.y;
this->unk_280 =
Rand_ZeroOne() * ((this->actor.home.pos.y - this->actor.floorHeight) / 2.0f) + this->actor.floorHeight;
}
} else {
Player* player = PLAYER;
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Weiyer/func_80B338D4.s")
if (this->actor.bgCheckFlags & 1) {
this->unk_280 =
this->actor.home.pos.y - Rand_ZeroOne() * ((this->actor.home.pos.y - this->actor.floorHeight) / 2.0f);
} else if (sp34 && (Rand_ZeroOne() < 0.1f)) {
this->unk_280 =
Rand_ZeroOne() * (this->actor.home.pos.y - this->actor.floorHeight) + this->actor.floorHeight;
}
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Weiyer/EnWeiyer_Draw.s")
if ((this->actor.xzDistToPlayer < 400.0f) && (fabsf(this->actor.yDistToPlayer) < 250.0f) &&
(player->actor.world.pos.y < (this->actor.home.pos.y + 20.0f))) {
func_80B32508(this);
}
}
}
void func_80B32C2C(EnWeiyer* this, GlobalContext* globalCtx) {
SkelAnime_Update(&this->skelAnime);
if (this->unk_194 == 0) {
if (Math_ScaledStepToS(&this->actor.shape.rot.x, -0x4000, 0x800)) {
this->actor.shape.rot.z = 0;
this->actor.shape.rot.y += 0x8000;
this->unk_194 = 1;
} else {
this->actor.shape.rot.z = this->actor.shape.rot.x * 2;
}
} else {
Math_ScaledStepToS(&this->actor.shape.rot.x, 0x1800, 0x800);
if (this->actor.world.pos.y < this->actor.home.pos.y) {
if (this->actor.shape.rot.x > 0) {
EffectSsGSplash_Spawn(globalCtx, &this->actor.world.pos, NULL, NULL, 1, 400);
Audio_PlayActorSound2(&this->actor, NA_SE_EN_OCTAROCK_SINK);
}
func_80B32538(this);
} else if (this->actor.bgCheckFlags & 1) {
func_80B32494(this);
}
}
}
void func_80B32D30(EnWeiyer* this, GlobalContext* globalCtx) {
SkelAnime_Update(&this->skelAnime);
if (Animation_OnFrame(&this->skelAnime, 0.0f)) {
Audio_PlayActorSound2(&this->actor, NA_SE_EN_EIER_FLUTTER);
}
Math_ScaledStepToS(&this->actor.shape.rot.x, 0, 0x800);
Math_StepToF(&this->actor.speedXZ, 0.0f, 1.0f);
if (this->unk_194 != 0) {
this->unk_194--;
}
if (this->unk_194 == 0) {
func_80B32434(this);
} else if (this->actor.world.pos.y < this->actor.home.pos.y) {
func_80B32384(this);
}
}
s16 func_80B32DEC(EnWeiyer* this, GlobalContext* globalCtx) {
Player* player = PLAYER;
Vec3f vec;
vec.x = player->actor.world.pos.x;
vec.y = player->actor.world.pos.y + 20.0f;
vec.z = player->actor.world.pos.z;
return Actor_WorldPitchTowardPoint(&this->actor, &vec);
}
void func_80B32E34(EnWeiyer* this, GlobalContext* globalCtx) {
Player* player = PLAYER;
SkelAnime_Update(&this->skelAnime);
if (this->unk_194 != 0) {
this->unk_194--;
}
if ((this->unk_194 == 0) || ((this->actor.home.pos.y + 20.0f) <= player->actor.world.pos.y) ||
(this->collider.base.atFlags & AT_HIT)) {
func_80B32538(this);
} else {
if (func_8002E084(&this->actor, 0x2800)) {
Math_StepToF(&this->actor.speedXZ, 4.0f, 0.2f);
} else {
Math_StepToF(&this->actor.speedXZ, 1.3f, 0.2f);
}
if (this->actor.home.pos.y < this->actor.world.pos.y) {
if (this->actor.home.pos.y < this->actor.floorHeight) {
this->actor.shape.rot.x = 0;
func_80B32434(this);
return;
}
this->actor.world.pos.y = this->actor.home.pos.y;
Math_SmoothStepToS(&this->actor.shape.rot.x, 0x1000, 2, 0x100, 0x40);
} else {
Math_SmoothStepToS(&this->actor.shape.rot.x, func_80B32DEC(this, globalCtx), 2, 0x100, 0x40);
}
Math_SmoothStepToS(&this->actor.shape.rot.y, this->actor.yawTowardsPlayer, 2, 0x200, 0x80);
if ((player->actor.yDistToWater < 50.0f) && (this->actor.yDistToWater < 20.0f) &&
func_8002E084(&this->actor, 0x2000)) {
func_80B327D8(this);
}
}
}
void func_80B33018(EnWeiyer* this, GlobalContext* globalCtx) {
f32 curFrame;
SkelAnime_Update(&this->skelAnime);
Math_ScaledStepToS(&this->actor.shape.rot.x, 0, 0x800);
curFrame = this->skelAnime.curFrame;
Math_StepToF(&this->unk_27C, (this->actor.home.pos.y - this->actor.floorHeight) / 4.0f + this->actor.floorHeight,
1.0f);
this->actor.world.pos.y = this->unk_27C - cosf((curFrame - 5.0f) * (M_PI / 40)) * 3.0f;
if (curFrame <= 45.0f) {
Math_StepToF(&this->actor.speedXZ, 1.0f, 0.03f);
} else {
Math_StepToF(&this->actor.speedXZ, 1.3f, 0.03f);
}
if (this->unk_194 != 0) {
this->unk_194--;
}
if (this->actor.bgCheckFlags & 8) {
this->unk_196 = this->actor.wallYaw;
}
if (Math_SmoothStepToS(&this->actor.shape.rot.y, this->unk_196, 2, 0x200, 0x80) == 0) {
this->unk_196 = this->actor.yawTowardsPlayer + 0x8000;
}
if (this->actor.home.pos.y < this->actor.world.pos.y) {
if (this->actor.home.pos.y < this->actor.floorHeight) {
func_80B32434(this);
} else {
this->actor.world.pos.y = this->actor.home.pos.y;
}
}
if (this->unk_194 == 0) {
func_80B32384(this);
}
}
void func_80B331CC(EnWeiyer* this, GlobalContext* globalCtx) {
SkelAnime_Update(&this->skelAnime);
if (this->unk_194 != 0) {
this->unk_194--;
}
if (this->actor.bgCheckFlags & 8) {
this->unk_196 = this->actor.wallYaw;
} else {
this->unk_196 = this->actor.yawTowardsPlayer + 0x8000;
}
Math_ScaledStepToS(&this->actor.world.rot.y, this->unk_196, 0x38E);
Math_ScaledStepToS(&this->actor.shape.rot.x, 0, 0x200);
this->actor.shape.rot.z = sinf(this->unk_194 * (M_PI / 5)) * 5120.0f;
if (this->unk_194 == 0) {
this->actor.shape.rot.z = 0;
this->collider.base.acFlags |= AC_ON;
func_80B32384(this);
}
}
void func_80B332B4(EnWeiyer* this, GlobalContext* globalCtx) {
SkelAnime_Update(&this->skelAnime);
Math_ScaledStepToS(&this->actor.shape.rot.x, -0x4000, 0x400);
this->actor.shape.rot.z += 0x1000;
if (this->unk_194 != 0) {
this->unk_194--;
}
if ((this->unk_194 == 0) || (this->actor.bgCheckFlags & 0x10)) {
func_80B327B0(this);
}
}
void func_80B33338(EnWeiyer* this, GlobalContext* globalCtx) {
this->actor.shape.shadowAlpha = CLAMP_MIN((s16)(this->actor.shape.shadowAlpha - 5), 0);
this->actor.world.pos.y -= 2.0f;
if (this->actor.shape.shadowAlpha == 0) {
Item_DropCollectibleRandom(globalCtx, &this->actor, &this->actor.world.pos, 0xE0);
Actor_Kill(&this->actor);
}
}
void func_80B333B8(EnWeiyer* this, GlobalContext* globalCtx) {
if (this->unk_194 != 0) {
this->unk_194--;
}
Math_ScaledStepToS(&this->actor.shape.rot.x, 0, 0x200);
Math_ScaledStepToS(&this->actor.shape.rot.z, 0, 0x200);
SkelAnime_Update(&this->skelAnime);
if (this->actor.home.pos.y < this->actor.floorHeight) {
if (Animation_OnFrame(&this->skelAnime, 0.0f)) {
Audio_PlayActorSound2(&this->actor, NA_SE_EN_EIER_FLUTTER);
}
if (this->actor.bgCheckFlags & 2) {
Audio_PlayActorSound2(&this->actor, NA_SE_EN_DODO_M_GND);
}
}
if (this->unk_194 == 0) {
this->actor.gravity = 0.0f;
this->actor.velocity.y = 0.0f;
this->collider.dim.height = sCylinderInit.dim.height;
func_80B32384(this);
}
}
void func_80B3349C(EnWeiyer* this, GlobalContext* globalCtx) {
Player* player = PLAYER;
s16 phi_a1;
s32 phi_a0;
SkelAnime_Update(&this->skelAnime);
phi_a0 = ((this->actor.home.pos.y + 20.0f) <= player->actor.world.pos.y);
if (this->unk_194 == -1) {
if (phi_a0 || (this->collider.base.atFlags & AT_HIT)) {
func_80B32538(this);
} else if (this->actor.yDistToWater < 0.0f) {
this->unk_194 = 10;
EffectSsGSplash_Spawn(globalCtx, &this->actor.world.pos, NULL, NULL, 1, 400);
Audio_PlayActorSound2(&this->actor, NA_SE_EN_OCTAROCK_JUMP);
}
} else {
if (phi_a0 || (this->collider.base.atFlags & AT_HIT)) {
this->unk_194 = 0;
} else if (this->unk_194 != 0) {
this->unk_194--;
}
if (this->unk_194 == 0) {
phi_a1 = 0x1800;
} else {
phi_a1 = func_80B32DEC(this, globalCtx);
phi_a1 = CLAMP_MIN(phi_a1, 0);
}
if (this->actor.shape.rot.x < phi_a1) {
Math_ScaledStepToS(&this->actor.shape.rot.x, phi_a1, 0x400);
}
if (this->actor.bgCheckFlags & 1) {
func_80B32434(this);
} else if ((this->actor.bgCheckFlags & 0x20) && (this->actor.shape.rot.x > 0)) {
EffectSsGSplash_Spawn(globalCtx, &this->actor.world.pos, NULL, NULL, 1, 400);
Audio_PlayActorSound2(&this->actor, NA_SE_EN_OCTAROCK_SINK);
func_80B32538(this);
} else {
Math_SmoothStepToS(&this->actor.shape.rot.y, this->actor.yawTowardsPlayer, 8, 0x100, 0x80);
}
}
}
void func_80B3368C(EnWeiyer* this, GlobalContext* globalCtx) {
if (this->collider.base.acFlags & AC_HIT) {
this->collider.base.acFlags &= ~AC_HIT;
func_80035650(&this->actor, &this->collider.info, 1);
if ((this->actor.colChkInfo.damageEffect != 0) || (this->actor.colChkInfo.damage != 0)) {
if (this->actor.colChkInfo.damageEffect == 1) {
if (this->actionFunc != func_80B333B8) {
func_80B32660(this);
}
} else if (Actor_ApplyDamage(&this->actor) == 0) {
func_80032C7C(globalCtx, &this->actor);
Audio_PlayActorSound2(&this->actor, NA_SE_EN_EIER_DEAD);
this->actor.flags &= ~1;
func_80B32724(this);
} else {
func_80B325A0(this);
}
}
}
}
void EnWeiyer_Update(Actor* thisx, GlobalContext* globalCtx) {
EnWeiyer* this = THIS;
s32 pad;
this->actor.home.pos.y = this->actor.yDistToWater + this->actor.world.pos.y - 5.0f;
func_80B3368C(this, globalCtx);
this->actionFunc(this, globalCtx);
this->actor.world.rot.y = this->actor.shape.rot.y;
this->actor.world.rot.x = -this->actor.shape.rot.x;
if ((this->actor.world.rot.x == 0) || (this->actionFunc == func_80B333B8)) {
Actor_MoveForward(&this->actor);
} else {
func_8002D97C(&this->actor);
}
Actor_UpdateBgCheckInfo(globalCtx, &this->actor, 10.0f, 30.0f, 45.0f, 7);
Actor_SetFocus(&this->actor, 0.0f);
if (this->collider.base.atFlags & AT_HIT) {
this->collider.base.atFlags &= ~(AT_ON | AT_HIT);
Audio_PlayActorSound2(&this->actor, NA_SE_EN_EIER_ATTACK);
}
Collider_UpdateCylinder(&this->actor, &this->collider);
if (this->collider.base.atFlags & AT_ON) {
CollisionCheck_SetAT(globalCtx, &globalCtx->colChkCtx, &this->collider.base);
}
if (this->collider.base.acFlags & AT_ON) {
CollisionCheck_SetAC(globalCtx, &globalCtx->colChkCtx, &this->collider.base);
}
CollisionCheck_SetOC(globalCtx, &globalCtx->colChkCtx, &this->collider.base);
}
s32 EnWeiyer_OverrideLimbDraw(GlobalContext* globalCtx, s32 limbIndex, Gfx** dList, Vec3f* pos, Vec3s* rot, void* thisx,
Gfx** gfx) {
if (limbIndex == 1) {
pos->z += 2000.0f;
}
return 0;
}
void EnWeiyer_Draw(Actor* thisx, GlobalContext* globalCtx) {
EnWeiyer* this = THIS;
OPEN_DISPS(globalCtx->state.gfxCtx, "../z_en_weiyer.c", 1193);
if (this->actionFunc != func_80B33338) {
func_80093D18(globalCtx->state.gfxCtx);
gSPSegment(POLY_OPA_DISP++, 0x08, &D_80116280[2]);
gDPSetEnvColor(POLY_OPA_DISP++, 255, 255, 255, 255);
POLY_OPA_DISP = SkelAnime_Draw(globalCtx, this->skelAnime.skeleton, this->skelAnime.jointTable,
EnWeiyer_OverrideLimbDraw, NULL, &this->actor, POLY_OPA_DISP);
} else {
func_80093D84(globalCtx->state.gfxCtx);
gSPSegment(POLY_XLU_DISP++, 0x08, &D_80116280[0]);
gDPSetEnvColor(POLY_XLU_DISP++, 255, 255, 255, this->actor.shape.shadowAlpha);
POLY_XLU_DISP = SkelAnime_Draw(globalCtx, this->skelAnime.skeleton, this->skelAnime.jointTable,
EnWeiyer_OverrideLimbDraw, NULL, &this->actor, POLY_XLU_DISP);
}
CLOSE_DISPS(globalCtx->state.gfxCtx, "../z_en_weiyer.c", 1240);
}

View file

@ -6,9 +6,19 @@
struct EnWeiyer;
typedef void (*EnWeiyerActionFunc)(struct EnWeiyer*, GlobalContext*);
typedef struct EnWeiyer {
/* 0x0000 */ Actor actor;
/* 0x014C */ char unk_14C[0x184];
/* 0x014C */ SkelAnime skelAnime;
/* 0x0190 */ EnWeiyerActionFunc actionFunc;
/* 0x0194 */ s16 unk_194;
/* 0x0196 */ s16 unk_196;
/* 0x0198 */ Vec3s jointTable[19];
/* 0x020A */ Vec3s morphTable[19];
/* 0x027C */ f32 unk_27C;
/* 0x0280 */ f32 unk_280;
/* 0x0284 */ ColliderCylinder collider;
} EnWeiyer; // size = 0x02D0
extern const ActorInit En_Weiyer_InitVars;