1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-12-29 16:26:18 +00:00

En_Bb (Bubble (flying skull)) (#551)

* Darkmeiro decompilation

Bg_Gnd_Darkmeiro decompiled, matched, and documented.

* give this a shot

* fix conflict

* one more try

* could be useful

* whoops

* ZAP2 stuff

* ZAP why

* ZAP again

* bubbles!

* match

* stuff

* more names

* let's go

* SFX error

* fixes

* also formatting

* Update src/overlays/actors/ovl_En_Bb/z_en_bb.c

Co-authored-by: Roman971 <32455037+Roman971@users.noreply.github.com>

* Update src/overlays/actors/ovl_En_Bb/z_en_bb.c

Co-authored-by: Roman971 <32455037+Roman971@users.noreply.github.com>

* Update src/overlays/actors/ovl_En_Bb/z_en_bb.c

Co-authored-by: Roman971 <32455037+Roman971@users.noreply.github.com>

* Update src/overlays/actors/ovl_En_Bb/z_en_bb.h

Co-authored-by: Roman971 <32455037+Roman971@users.noreply.github.com>

* Update src/overlays/actors/ovl_En_Bb/z_en_bb.h

Co-authored-by: Roman971 <32455037+Roman971@users.noreply.github.com>

* Update src/overlays/actors/ovl_En_Bb/z_en_bb.h

Co-authored-by: Roman971 <32455037+Roman971@users.noreply.github.com>

* Update src/overlays/actors/ovl_En_Bb/z_en_bb.h

Co-authored-by: Roman971 <32455037+Roman971@users.noreply.github.com>

Co-authored-by: petrie911 <pmontag@DESKTOP-LG8A167.localdomain>
Co-authored-by: Roman971 <32455037+Roman971@users.noreply.github.com>
This commit is contained in:
petrie911 2020-12-29 15:06:20 -06:00 committed by GitHub
parent 94d51ce86f
commit e4d88bf942
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
36 changed files with 1244 additions and 4170 deletions

View file

@ -1,11 +0,0 @@
glabel EnBb_Destroy
/* 00628 809B8908 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 0062C 809B890C 00803025 */ or $a2, $a0, $zero ## $a2 = 00000000
/* 00630 809B8910 AFBF0014 */ sw $ra, 0x0014($sp)
/* 00634 809B8914 00A02025 */ or $a0, $a1, $zero ## $a0 = 00000000
/* 00638 809B8918 0C016F32 */ jal Collider_DestroyJntSph
/* 0063C 809B891C 24C502AC */ addiu $a1, $a2, 0x02AC ## $a1 = 000002AC
/* 00640 809B8920 8FBF0014 */ lw $ra, 0x0014($sp)
/* 00644 809B8924 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
/* 00648 809B8928 03E00008 */ jr $ra
/* 0064C 809B892C 00000000 */ nop

View file

@ -1,369 +0,0 @@
.rdata
glabel D_809BBC30
.asciz "../z_en_bb.c"
.balign 4
glabel D_809BBC40
.asciz "../z_en_bb.c"
.balign 4
glabel D_809BBC50
.asciz "../z_en_bb.c"
.balign 4
.late_rodata
glabel D_809BBCFC
.float 0.8
glabel D_809BBD00
.float 0.0000958738019107841
glabel D_809BBD04
.float 0.009999999776482582
.text
glabel EnBb_Draw
/* 03264 809BB544 27BDFF38 */ addiu $sp, $sp, 0xFF38 ## $sp = FFFFFF38
/* 03268 809BB548 3C0F809C */ lui $t7, %hi(D_809BBC18) ## $t7 = 809C0000
/* 0326C 809BB54C AFBF003C */ sw $ra, 0x003C($sp)
/* 03270 809BB550 AFB00038 */ sw $s0, 0x0038($sp)
/* 03274 809BB554 AFA500CC */ sw $a1, 0x00CC($sp)
/* 03278 809BB558 25EFBC18 */ addiu $t7, $t7, %lo(D_809BBC18) ## $t7 = 809BBC18
/* 0327C 809BB55C 8DF90000 */ lw $t9, 0x0000($t7) ## 809BBC18
/* 03280 809BB560 27AE00B4 */ addiu $t6, $sp, 0x00B4 ## $t6 = FFFFFFEC
/* 03284 809BB564 8DF80004 */ lw $t8, 0x0004($t7) ## 809BBC1C
/* 03288 809BB568 ADD90000 */ sw $t9, 0x0000($t6) ## FFFFFFEC
/* 0328C 809BB56C 8DF90008 */ lw $t9, 0x0008($t7) ## 809BBC20
/* 03290 809BB570 3C0C809C */ lui $t4, %hi(D_809BBC24) ## $t4 = 809C0000
/* 03294 809BB574 258CBC24 */ addiu $t4, $t4, %lo(D_809BBC24) ## $t4 = 809BBC24
/* 03298 809BB578 ADD80004 */ sw $t8, 0x0004($t6) ## FFFFFFF0
/* 0329C 809BB57C ADD90008 */ sw $t9, 0x0008($t6) ## FFFFFFF4
/* 032A0 809BB580 8D8E0000 */ lw $t6, 0x0000($t4) ## 809BBC24
/* 032A4 809BB584 27AB00A8 */ addiu $t3, $sp, 0x00A8 ## $t3 = FFFFFFE0
/* 032A8 809BB588 8D8D0004 */ lw $t5, 0x0004($t4) ## 809BBC28
/* 032AC 809BB58C AD6E0000 */ sw $t6, 0x0000($t3) ## FFFFFFE0
/* 032B0 809BB590 8D8E0008 */ lw $t6, 0x0008($t4) ## 809BBC2C
/* 032B4 809BB594 AD6D0004 */ sw $t5, 0x0004($t3) ## FFFFFFE4
/* 032B8 809BB598 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 032BC 809BB59C AD6E0008 */ sw $t6, 0x0008($t3) ## FFFFFFE8
/* 032C0 809BB5A0 8FAF00CC */ lw $t7, 0x00CC($sp)
/* 032C4 809BB5A4 3C06809C */ lui $a2, %hi(D_809BBC30) ## $a2 = 809C0000
/* 032C8 809BB5A8 24C6BC30 */ addiu $a2, $a2, %lo(D_809BBC30) ## $a2 = 809BBC30
/* 032CC 809BB5AC 8DE50000 */ lw $a1, 0x0000($t7) ## 809BBC18
/* 032D0 809BB5B0 27A4007C */ addiu $a0, $sp, 0x007C ## $a0 = FFFFFFB4
/* 032D4 809BB5B4 240707FC */ addiu $a3, $zero, 0x07FC ## $a3 = 000007FC
/* 032D8 809BB5B8 0C031AB1 */ jal Graph_OpenDisps
/* 032DC 809BB5BC AFA5008C */ sw $a1, 0x008C($sp)
/* 032E0 809BB5C0 3C0142A0 */ lui $at, 0x42A0 ## $at = 42A00000
/* 032E4 809BB5C4 44810000 */ mtc1 $at, $f0 ## $f0 = 80.00
/* 032E8 809BB5C8 C604027C */ lwc1 $f4, 0x027C($s0) ## 0000027C
/* 032EC 809BB5CC 24010002 */ addiu $at, $zero, 0x0002 ## $at = 00000002
/* 032F0 809BB5D0 46002182 */ mul.s $f6, $f4, $f0
/* 032F4 809BB5D4 E7A600BC */ swc1 $f6, 0x00BC($sp)
/* 032F8 809BB5D8 C608027C */ lwc1 $f8, 0x027C($s0) ## 0000027C
/* 032FC 809BB5DC 46004282 */ mul.s $f10, $f8, $f0
/* 03300 809BB5E0 E7AA00B0 */ swc1 $f10, 0x00B0($sp)
/* 03304 809BB5E4 8E18025C */ lw $t8, 0x025C($s0) ## 0000025C
/* 03308 809BB5E8 53010117 */ beql $t8, $at, .L809BBA48
/* 0330C 809BB5EC 8FB800CC */ lw $t8, 0x00CC($sp)
/* 03310 809BB5F0 8619001C */ lh $t9, 0x001C($s0) ## 0000001C
/* 03314 809BB5F4 8FAB00CC */ lw $t3, 0x00CC($sp)
/* 03318 809BB5F8 3C01C220 */ lui $at, 0xC220 ## $at = C2200000
/* 0331C 809BB5FC 07210060 */ bgez $t9, .L809BB780
/* 03320 809BB600 24060000 */ addiu $a2, $zero, 0x0000 ## $a2 = 00000000
/* 03324 809BB604 0C024F46 */ jal func_80093D18
/* 03328 809BB608 8D640000 */ lw $a0, 0x0000($t3) ## 00000000
/* 0332C 809BB60C 3C0C809C */ lui $t4, %hi(func_809BB4F4) ## $t4 = 809C0000
/* 03330 809BB610 258CB4F4 */ addiu $t4, $t4, %lo(func_809BB4F4) ## $t4 = 809BB4F4
/* 03334 809BB614 8E050150 */ lw $a1, 0x0150($s0) ## 00000150
/* 03338 809BB618 8E06016C */ lw $a2, 0x016C($s0) ## 0000016C
/* 0333C 809BB61C AFB00014 */ sw $s0, 0x0014($sp)
/* 03340 809BB620 AFAC0010 */ sw $t4, 0x0010($sp)
/* 03344 809BB624 8FA400CC */ lw $a0, 0x00CC($sp)
/* 03348 809BB628 0C028572 */ jal SkelAnime_DrawOpa
/* 0334C 809BB62C 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 03350 809BB630 860D02A8 */ lh $t5, 0x02A8($s0) ## 000002A8
/* 03354 809BB634 51A00048 */ beql $t5, $zero, .L809BB758
/* 03358 809BB638 3C01C220 */ lui $at, 0xC220 ## $at = C2200000
/* 0335C 809BB63C 861802A8 */ lh $t8, 0x02A8($s0) ## 000002A8
/* 03360 809BB640 920E0114 */ lbu $t6, 0x0114($s0) ## 00000114
/* 03364 809BB644 3C0D809C */ lui $t5, %hi(D_809BBB88) ## $t5 = 809C0000
/* 03368 809BB648 2719FFFF */ addiu $t9, $t8, 0xFFFF ## $t9 = FFFFFFFF
/* 0336C 809BB64C A61902A8 */ sh $t9, 0x02A8($s0) ## 000002A8
/* 03370 809BB650 860502A8 */ lh $a1, 0x02A8($s0) ## 000002A8
/* 03374 809BB654 25CF0001 */ addiu $t7, $t6, 0x0001 ## $t7 = 00000001
/* 03378 809BB658 A20F0114 */ sb $t7, 0x0114($s0) ## 00000114
/* 0337C 809BB65C 30AB0003 */ andi $t3, $a1, 0x0003 ## $t3 = 00000000
/* 03380 809BB660 1560003C */ bne $t3, $zero, .L809BB754
/* 03384 809BB664 00051883 */ sra $v1, $a1, 2
/* 03388 809BB668 00036080 */ sll $t4, $v1, 2
/* 0338C 809BB66C 01836023 */ subu $t4, $t4, $v1
/* 03390 809BB670 000C6080 */ sll $t4, $t4, 2
/* 03394 809BB674 25ADBB88 */ addiu $t5, $t5, %lo(D_809BBB88) ## $t5 = 809BBB88
/* 03398 809BB678 018D1021 */ addu $v0, $t4, $t5
/* 0339C 809BB67C C4500000 */ lwc1 $f16, 0x0000($v0) ## 00000000
/* 033A0 809BB680 C6120024 */ lwc1 $f18, 0x0024($s0) ## 00000024
/* 033A4 809BB684 C4460004 */ lwc1 $f6, 0x0004($v0) ## 00000004
/* 033A8 809BB688 24010007 */ addiu $at, $zero, 0x0007 ## $at = 00000007
/* 033AC 809BB68C 46128100 */ add.s $f4, $f16, $f18
/* 033B0 809BB690 C4500008 */ lwc1 $f16, 0x0008($v0) ## 00000008
/* 033B4 809BB694 240D0001 */ addiu $t5, $zero, 0x0001 ## $t5 = 00000001
/* 033B8 809BB698 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000
/* 033BC 809BB69C E7A40070 */ swc1 $f4, 0x0070($sp)
/* 033C0 809BB6A0 C6080028 */ lwc1 $f8, 0x0028($s0) ## 00000028
/* 033C4 809BB6A4 27A60070 */ addiu $a2, $sp, 0x0070 ## $a2 = FFFFFFA8
/* 033C8 809BB6A8 24070028 */ addiu $a3, $zero, 0x0028 ## $a3 = 00000028
/* 033CC 809BB6AC 46083280 */ add.s $f10, $f6, $f8
/* 033D0 809BB6B0 240EFFFF */ addiu $t6, $zero, 0xFFFF ## $t6 = FFFFFFFF
/* 033D4 809BB6B4 E7AA0074 */ swc1 $f10, 0x0074($sp)
/* 033D8 809BB6B8 C612002C */ lwc1 $f18, 0x002C($s0) ## 0000002C
/* 033DC 809BB6BC C7A80074 */ lwc1 $f8, 0x0074($sp)
/* 033E0 809BB6C0 46128100 */ add.s $f4, $f16, $f18
/* 033E4 809BB6C4 E7A40078 */ swc1 $f4, 0x0078($sp)
/* 033E8 809BB6C8 920402AA */ lbu $a0, 0x02AA($s0) ## 000002AA
/* 033EC 809BB6CC 10810018 */ beq $a0, $at, .L809BB730
/* 033F0 809BB6D0 24010005 */ addiu $at, $zero, 0x0005 ## $at = 00000005
/* 033F4 809BB6D4 10810016 */ beq $a0, $at, .L809BB730
/* 033F8 809BB6D8 240F0096 */ addiu $t7, $zero, 0x0096 ## $t7 = 00000096
/* 033FC 809BB6DC 3C01809C */ lui $at, %hi(D_809BBCFC) ## $at = 809C0000
/* 03400 809BB6E0 C426BCFC */ lwc1 $f6, %lo(D_809BBCFC)($at)
/* 03404 809BB6E4 240E0096 */ addiu $t6, $zero, 0x0096 ## $t6 = 00000096
/* 03408 809BB6E8 241800FA */ addiu $t8, $zero, 0x00FA ## $t8 = 000000FA
/* 0340C 809BB6EC 241900EB */ addiu $t9, $zero, 0x00EB ## $t9 = 000000EB
/* 03410 809BB6F0 240B00F5 */ addiu $t3, $zero, 0x00F5 ## $t3 = 000000F5
/* 03414 809BB6F4 240C00FF */ addiu $t4, $zero, 0x00FF ## $t4 = 000000FF
/* 03418 809BB6F8 AFAC0024 */ sw $t4, 0x0024($sp)
/* 0341C 809BB6FC AFAB0020 */ sw $t3, 0x0020($sp)
/* 03420 809BB700 AFB9001C */ sw $t9, 0x001C($sp)
/* 03424 809BB704 AFB80018 */ sw $t8, 0x0018($sp)
/* 03428 809BB708 AFAE0010 */ sw $t6, 0x0010($sp)
/* 0342C 809BB70C 8FA400CC */ lw $a0, 0x00CC($sp)
/* 03430 809BB710 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000
/* 03434 809BB714 27A60070 */ addiu $a2, $sp, 0x0070 ## $a2 = FFFFFFA8
/* 03438 809BB718 24070096 */ addiu $a3, $zero, 0x0096 ## $a3 = 00000096
/* 0343C 809BB71C AFAF0014 */ sw $t7, 0x0014($sp)
/* 03440 809BB720 0C00A850 */ jal EffectSsEnIce_SpawnFlyingVec3f
/* 03444 809BB724 E7A60028 */ swc1 $f6, 0x0028($sp)
/* 03448 809BB728 1000000B */ beq $zero, $zero, .L809BB758
/* 0344C 809BB72C 3C01C220 */ lui $at, 0xC220 ## $at = C2200000
.L809BB730:
/* 03450 809BB730 3C014188 */ lui $at, 0x4188 ## $at = 41880000
/* 03454 809BB734 44815000 */ mtc1 $at, $f10 ## $f10 = 17.00
/* 03458 809BB738 8FA400CC */ lw $a0, 0x00CC($sp)
/* 0345C 809BB73C AFAD0010 */ sw $t5, 0x0010($sp)
/* 03460 809BB740 460A4401 */ sub.s $f16, $f8, $f10
/* 03464 809BB744 AFA00014 */ sw $zero, 0x0014($sp)
/* 03468 809BB748 AFAE0018 */ sw $t6, 0x0018($sp)
/* 0346C 809BB74C 0C00A935 */ jal EffectSsEnFire_SpawnVec3f
/* 03470 809BB750 E7B00074 */ swc1 $f16, 0x0074($sp)
.L809BB754:
/* 03474 809BB754 3C01C220 */ lui $at, 0xC220 ## $at = C2200000
.L809BB758:
/* 03478 809BB758 44806000 */ mtc1 $zero, $f12 ## $f12 = 0.00
/* 0347C 809BB75C 44812000 */ mtc1 $at, $f4 ## $f4 = -40.00
/* 03480 809BB760 C612028C */ lwc1 $f18, 0x028C($s0) ## 0000028C
/* 03484 809BB764 44066000 */ mfc1 $a2, $f12
/* 03488 809BB768 24070001 */ addiu $a3, $zero, 0x0001 ## $a3 = 00000001
/* 0348C 809BB76C 46049382 */ mul.s $f14, $f18, $f4
/* 03490 809BB770 0C034261 */ jal Matrix_Translate
/* 03494 809BB774 00000000 */ nop
/* 03498 809BB778 10000006 */ beq $zero, $zero, .L809BB794
/* 0349C 809BB77C 860F001C */ lh $t7, 0x001C($s0) ## 0000001C
.L809BB780:
/* 034A0 809BB780 44806000 */ mtc1 $zero, $f12 ## $f12 = 0.00
/* 034A4 809BB784 44817000 */ mtc1 $at, $f14 ## $f14 = 0.00
/* 034A8 809BB788 0C034261 */ jal Matrix_Translate
/* 034AC 809BB78C 24070001 */ addiu $a3, $zero, 0x0001 ## $a3 = 00000001
/* 034B0 809BB790 860F001C */ lh $t7, 0x001C($s0) ## 0000001C
.L809BB794:
/* 034B4 809BB794 2401FFFD */ addiu $at, $zero, 0xFFFD ## $at = FFFFFFFD
/* 034B8 809BB798 8FB800CC */ lw $t8, 0x00CC($sp)
/* 034BC 809BB79C 11E10081 */ beq $t7, $at, .L809BB9A4
/* 034C0 809BB7A0 27A400B4 */ addiu $a0, $sp, 0x00B4 ## $a0 = FFFFFFEC
/* 034C4 809BB7A4 0C024F61 */ jal func_80093D84
/* 034C8 809BB7A8 8F040000 */ lw $a0, 0x0000($t8) ## 00000000
/* 034CC 809BB7AC 8FA9008C */ lw $t1, 0x008C($sp)
/* 034D0 809BB7B0 8FAA00CC */ lw $t2, 0x00CC($sp)
/* 034D4 809BB7B4 3C0BDB06 */ lui $t3, 0xDB06 ## $t3 = DB060000
/* 034D8 809BB7B8 8D2202D0 */ lw $v0, 0x02D0($t1) ## 000002D0
/* 034DC 809BB7BC 356B0020 */ ori $t3, $t3, 0x0020 ## $t3 = DB060020
/* 034E0 809BB7C0 240C0020 */ addiu $t4, $zero, 0x0020 ## $t4 = 00000020
/* 034E4 809BB7C4 24590008 */ addiu $t9, $v0, 0x0008 ## $t9 = 00000008
/* 034E8 809BB7C8 AD3902D0 */ sw $t9, 0x02D0($t1) ## 000002D0
/* 034EC 809BB7CC AC4B0000 */ sw $t3, 0x0000($v0) ## 00000000
/* 034F0 809BB7D0 8D440000 */ lw $a0, 0x0000($t2) ## 00000000
/* 034F4 809BB7D4 240D0040 */ addiu $t5, $zero, 0x0040 ## $t5 = 00000040
/* 034F8 809BB7D8 240E0001 */ addiu $t6, $zero, 0x0001 ## $t6 = 00000001
/* 034FC 809BB7DC AFAE0018 */ sw $t6, 0x0018($sp)
/* 03500 809BB7E0 AFAD0014 */ sw $t5, 0x0014($sp)
/* 03504 809BB7E4 AFA0001C */ sw $zero, 0x001C($sp)
/* 03508 809BB7E8 AFAC0010 */ sw $t4, 0x0010($sp)
/* 0350C 809BB7EC 86030270 */ lh $v1, 0x0270($s0) ## 00000270
/* 03510 809BB7F0 3C0F0001 */ lui $t7, 0x0001 ## $t7 = 00010000
/* 03514 809BB7F4 01EA7821 */ addu $t7, $t7, $t2
/* 03518 809BB7F8 8DEF1DE4 */ lw $t7, 0x1DE4($t7) ## 00011DE4
/* 0351C 809BB7FC 0003C080 */ sll $t8, $v1, 2
/* 03520 809BB800 0303C021 */ addu $t8, $t8, $v1
/* 03524 809BB804 00030823 */ subu $at, $zero, $v1
/* 03528 809BB808 00015840 */ sll $t3, $at, 1
/* 0352C 809BB80C 0018C040 */ sll $t8, $t8, 1
/* 03530 809BB810 240CFFEC */ addiu $t4, $zero, 0xFFEC ## $t4 = FFFFFFEC
/* 03534 809BB814 018B6823 */ subu $t5, $t4, $t3
/* 03538 809BB818 01F8C821 */ addu $t9, $t7, $t8
/* 0353C 809BB81C 032D0019 */ multu $t9, $t5
/* 03540 809BB820 24180020 */ addiu $t8, $zero, 0x0020 ## $t8 = 00000020
/* 03544 809BB824 240C0080 */ addiu $t4, $zero, 0x0080 ## $t4 = 00000080
/* 03548 809BB828 AFAC0028 */ sw $t4, 0x0028($sp)
/* 0354C 809BB82C AFB80024 */ sw $t8, 0x0024($sp)
/* 03550 809BB830 00002825 */ or $a1, $zero, $zero ## $a1 = 00000000
/* 03554 809BB834 00003025 */ or $a2, $zero, $zero ## $a2 = 00000000
/* 03558 809BB838 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 0355C 809BB83C AFA20068 */ sw $v0, 0x0068($sp)
/* 03560 809BB840 00007012 */ mflo $t6
/* 03564 809BB844 31CF01FF */ andi $t7, $t6, 0x01FF ## $t7 = 00000001
/* 03568 809BB848 0C0253D0 */ jal Gfx_TwoTexScroll
/* 0356C 809BB84C AFAF0020 */ sw $t7, 0x0020($sp)
/* 03570 809BB850 8FA80068 */ lw $t0, 0x0068($sp)
/* 03574 809BB854 3C19FA00 */ lui $t9, 0xFA00 ## $t9 = FA000000
/* 03578 809BB858 37398080 */ ori $t9, $t9, 0x8080 ## $t9 = FA008080
/* 0357C 809BB85C AD020004 */ sw $v0, 0x0004($t0) ## 00000004
/* 03580 809BB860 8FA5008C */ lw $a1, 0x008C($sp)
/* 03584 809BB864 3C01FFFF */ lui $at, 0xFFFF ## $at = FFFF0000
/* 03588 809BB868 8CA202D0 */ lw $v0, 0x02D0($a1) ## 000002D0
/* 0358C 809BB86C 244B0008 */ addiu $t3, $v0, 0x0008 ## $t3 = 00000008
/* 03590 809BB870 ACAB02D0 */ sw $t3, 0x02D0($a1) ## 000002D0
/* 03594 809BB874 AC590000 */ sw $t9, 0x0000($v0) ## 00000000
/* 03598 809BB878 920E029E */ lbu $t6, 0x029E($s0) ## 0000029E
/* 0359C 809BB87C 920B029F */ lbu $t3, 0x029F($s0) ## 0000029F
/* 035A0 809BB880 000E7A00 */ sll $t7, $t6, 8
/* 035A4 809BB884 01E1C025 */ or $t8, $t7, $at ## $t8 = FFFF0000
/* 035A8 809BB888 030BC825 */ or $t9, $t8, $t3 ## $t9 = FFFF0008
/* 035AC 809BB88C AC590004 */ sw $t9, 0x0004($v0) ## 00000004
/* 035B0 809BB890 8CA202D0 */ lw $v0, 0x02D0($a1) ## 000002D0
/* 035B4 809BB894 3C0EFB00 */ lui $t6, 0xFB00 ## $t6 = FB000000
/* 035B8 809BB898 244D0008 */ addiu $t5, $v0, 0x0008 ## $t5 = 00000008
/* 035BC 809BB89C ACAD02D0 */ sw $t5, 0x02D0($a1) ## 000002D0
/* 035C0 809BB8A0 AC4E0000 */ sw $t6, 0x0000($v0) ## 00000000
/* 035C4 809BB8A4 920C02A0 */ lbu $t4, 0x02A0($s0) ## 000002A0
/* 035C8 809BB8A8 921902A1 */ lbu $t9, 0x02A1($s0) ## 000002A1
/* 035CC 809BB8AC 000CC600 */ sll $t8, $t4, 24
/* 035D0 809BB8B0 920C02A2 */ lbu $t4, 0x02A2($s0) ## 000002A2
/* 035D4 809BB8B4 00196C00 */ sll $t5, $t9, 16
/* 035D8 809BB8B8 030D7025 */ or $t6, $t8, $t5 ## $t6 = FFFF0008
/* 035DC 809BB8BC 000C5A00 */ sll $t3, $t4, 8
/* 035E0 809BB8C0 01CBC825 */ or $t9, $t6, $t3 ## $t9 = FFFF0008
/* 035E4 809BB8C4 AC590004 */ sw $t9, 0x0004($v0) ## 00000004
/* 035E8 809BB8C8 8FA200CC */ lw $v0, 0x00CC($sp)
/* 035EC 809BB8CC 845807A0 */ lh $t8, 0x07A0($v0) ## 000007A0
/* 035F0 809BB8D0 00186880 */ sll $t5, $t8, 2
/* 035F4 809BB8D4 004D7821 */ addu $t7, $v0, $t5
/* 035F8 809BB8D8 0C016A7D */ jal Camera_GetCamDirYaw
/* 035FC 809BB8DC 8DE40790 */ lw $a0, 0x0790($t7) ## 00000790
/* 03600 809BB8E0 860C00B6 */ lh $t4, 0x00B6($s0) ## 000000B6
/* 03604 809BB8E4 34018000 */ ori $at, $zero, 0x8000 ## $at = 00008000
/* 03608 809BB8E8 24050001 */ addiu $a1, $zero, 0x0001 ## $a1 = 00000001
/* 0360C 809BB8EC 004C7023 */ subu $t6, $v0, $t4
/* 03610 809BB8F0 01C15821 */ addu $t3, $t6, $at
/* 03614 809BB8F4 000BCC00 */ sll $t9, $t3, 16
/* 03618 809BB8F8 0019C403 */ sra $t8, $t9, 16
/* 0361C 809BB8FC 44983000 */ mtc1 $t8, $f6 ## $f6 = 0.00
/* 03620 809BB900 3C01809C */ lui $at, %hi(D_809BBD00) ## $at = 809C0000
/* 03624 809BB904 C42ABD00 */ lwc1 $f10, %lo(D_809BBD00)($at)
/* 03628 809BB908 46803220 */ cvt.s.w $f8, $f6
/* 0362C 809BB90C 460A4302 */ mul.s $f12, $f8, $f10
/* 03630 809BB910 0C034348 */ jal Matrix_RotateY
/* 03634 809BB914 00000000 */ nop
/* 03638 809BB918 3C01809C */ lui $at, %hi(D_809BBD04) ## $at = 809C0000
/* 0363C 809BB91C C420BD04 */ lwc1 $f0, %lo(D_809BBD04)($at)
/* 03640 809BB920 C610028C */ lwc1 $f16, 0x028C($s0) ## 0000028C
/* 03644 809BB924 C6120288 */ lwc1 $f18, 0x0288($s0) ## 00000288
/* 03648 809BB928 3C063F80 */ lui $a2, 0x3F80 ## $a2 = 3F800000
/* 0364C 809BB92C 46008302 */ mul.s $f12, $f16, $f0
/* 03650 809BB930 24070001 */ addiu $a3, $zero, 0x0001 ## $a3 = 00000001
/* 03654 809BB934 46009382 */ mul.s $f14, $f18, $f0
/* 03658 809BB938 0C0342A3 */ jal Matrix_Scale
/* 0365C 809BB93C 00000000 */ nop
/* 03660 809BB940 8FA3008C */ lw $v1, 0x008C($sp)
/* 03664 809BB944 3C0FDA38 */ lui $t7, 0xDA38 ## $t7 = DA380000
/* 03668 809BB948 35EF0003 */ ori $t7, $t7, 0x0003 ## $t7 = DA380003
/* 0366C 809BB94C 8C6202D0 */ lw $v0, 0x02D0($v1) ## 000002D0
/* 03670 809BB950 3C05809C */ lui $a1, %hi(D_809BBC40) ## $a1 = 809C0000
/* 03674 809BB954 24A5BC40 */ addiu $a1, $a1, %lo(D_809BBC40) ## $a1 = 809BBC40
/* 03678 809BB958 244D0008 */ addiu $t5, $v0, 0x0008 ## $t5 = 00000008
/* 0367C 809BB95C AC6D02D0 */ sw $t5, 0x02D0($v1) ## 000002D0
/* 03680 809BB960 AC4F0000 */ sw $t7, 0x0000($v0) ## 00000000
/* 03684 809BB964 8FAC00CC */ lw $t4, 0x00CC($sp)
/* 03688 809BB968 2406083A */ addiu $a2, $zero, 0x083A ## $a2 = 0000083A
/* 0368C 809BB96C 00408025 */ or $s0, $v0, $zero ## $s0 = 00000000
/* 03690 809BB970 0C0346A2 */ jal Matrix_NewMtx
/* 03694 809BB974 8D840000 */ lw $a0, 0x0000($t4) ## 00000000
/* 03698 809BB978 AE020004 */ sw $v0, 0x0004($s0) ## 00000004
/* 0369C 809BB97C 8FAE008C */ lw $t6, 0x008C($sp)
/* 036A0 809BB980 3C180405 */ lui $t8, %hi(D_0404D4E0) ## $t8 = 04050000
/* 036A4 809BB984 2718D4E0 */ addiu $t8, $t8, %lo(D_0404D4E0) ## $t8 = 0404D4E0
/* 036A8 809BB988 8DC202D0 */ lw $v0, 0x02D0($t6) ## 000002D0
/* 036AC 809BB98C 3C19DE00 */ lui $t9, 0xDE00 ## $t9 = DE000000
/* 036B0 809BB990 244B0008 */ addiu $t3, $v0, 0x0008 ## $t3 = 00000008
/* 036B4 809BB994 ADCB02D0 */ sw $t3, 0x02D0($t6) ## 000002D0
/* 036B8 809BB998 AC580004 */ sw $t8, 0x0004($v0) ## 00000004
/* 036BC 809BB99C 10000029 */ beq $zero, $zero, .L809BBA44
/* 036C0 809BB9A0 AC590000 */ sw $t9, 0x0000($v0) ## 00000000
.L809BB9A4:
/* 036C4 809BB9A4 0C0346BD */ jal Matrix_MultVec3f
/* 036C8 809BB9A8 27A5009C */ addiu $a1, $sp, 0x009C ## $a1 = FFFFFFD4
/* 036CC 809BB9AC 27A400A8 */ addiu $a0, $sp, 0x00A8 ## $a0 = FFFFFFE0
/* 036D0 809BB9B0 0C0346BD */ jal Matrix_MultVec3f
/* 036D4 809BB9B4 27A50090 */ addiu $a1, $sp, 0x0090 ## $a1 = FFFFFFC8
/* 036D8 809BB9B8 44802000 */ mtc1 $zero, $f4 ## $f4 = 0.00
/* 036DC 809BB9BC C606027C */ lwc1 $f6, 0x027C($s0) ## 0000027C
/* 036E0 809BB9C0 46062032 */ c.eq.s $f4, $f6
/* 036E4 809BB9C4 00000000 */ nop
/* 036E8 809BB9C8 45030017 */ bc1tl .L809BBA28
/* 036EC 809BB9CC 8E190250 */ lw $t9, 0x0250($s0) ## 00000250
/* 036F0 809BB9D0 8E0D0250 */ lw $t5, 0x0250($s0) ## 00000250
/* 036F4 809BB9D4 24010008 */ addiu $at, $zero, 0x0008 ## $at = 00000008
/* 036F8 809BB9D8 8FAF00CC */ lw $t7, 0x00CC($sp)
/* 036FC 809BB9DC 15A10011 */ bne $t5, $at, .L809BBA24
/* 03700 809BB9E0 3C0C0001 */ lui $t4, 0x0001 ## $t4 = 00010000
/* 03704 809BB9E4 018F6021 */ addu $t4, $t4, $t7
/* 03708 809BB9E8 8D8C1DE4 */ lw $t4, 0x1DE4($t4) ## 00011DE4
/* 0370C 809BB9EC 318B0001 */ andi $t3, $t4, 0x0001 ## $t3 = 00000000
/* 03710 809BB9F0 5560000D */ bnel $t3, $zero, .L809BBA28
/* 03714 809BB9F4 8E190250 */ lw $t9, 0x0250($s0) ## 00000250
/* 03718 809BB9F8 920E00AF */ lbu $t6, 0x00AF($s0) ## 000000AF
/* 0371C 809BB9FC 51C0000A */ beql $t6, $zero, .L809BBA28
/* 03720 809BBA00 8E190250 */ lw $t9, 0x0250($s0) ## 00000250
/* 03724 809BBA04 0C009AC3 */ jal Effect_GetByIndex
/* 03728 809BBA08 8E0402A4 */ lw $a0, 0x02A4($s0) ## 000002A4
/* 0372C 809BBA0C 00402025 */ or $a0, $v0, $zero ## $a0 = 00000000
/* 03730 809BBA10 27A5009C */ addiu $a1, $sp, 0x009C ## $a1 = FFFFFFD4
/* 03734 809BBA14 0C007F7C */ jal EffectBlure_AddVertex
/* 03738 809BBA18 27A60090 */ addiu $a2, $sp, 0x0090 ## $a2 = FFFFFFC8
/* 0373C 809BBA1C 1000000A */ beq $zero, $zero, .L809BBA48
/* 03740 809BBA20 8FB800CC */ lw $t8, 0x00CC($sp)
.L809BBA24:
/* 03744 809BBA24 8E190250 */ lw $t9, 0x0250($s0) ## 00000250
.L809BBA28:
/* 03748 809BBA28 24010008 */ addiu $at, $zero, 0x0008 ## $at = 00000008
/* 0374C 809BBA2C 53210006 */ beql $t9, $at, .L809BBA48
/* 03750 809BBA30 8FB800CC */ lw $t8, 0x00CC($sp)
/* 03754 809BBA34 0C009AC3 */ jal Effect_GetByIndex
/* 03758 809BBA38 8E0402A4 */ lw $a0, 0x02A4($s0) ## 000002A4
/* 0375C 809BBA3C 0C008048 */ jal EffectBlure_AddSpace
/* 03760 809BBA40 00402025 */ or $a0, $v0, $zero ## $a0 = 00000000
.L809BBA44:
/* 03764 809BBA44 8FB800CC */ lw $t8, 0x00CC($sp)
.L809BBA48:
/* 03768 809BBA48 3C06809C */ lui $a2, %hi(D_809BBC50) ## $a2 = 809C0000
/* 0376C 809BBA4C 24C6BC50 */ addiu $a2, $a2, %lo(D_809BBC50) ## $a2 = 809BBC50
/* 03770 809BBA50 27A4007C */ addiu $a0, $sp, 0x007C ## $a0 = FFFFFFB4
/* 03774 809BBA54 2407084F */ addiu $a3, $zero, 0x084F ## $a3 = 0000084F
/* 03778 809BBA58 0C031AD5 */ jal Graph_CloseDisps
/* 0377C 809BBA5C 8F050000 */ lw $a1, 0x0000($t8) ## 00000000
/* 03780 809BBA60 8FBF003C */ lw $ra, 0x003C($sp)
/* 03784 809BBA64 8FB00038 */ lw $s0, 0x0038($sp)
/* 03788 809BBA68 27BD00C8 */ addiu $sp, $sp, 0x00C8 ## $sp = 00000000
/* 0378C 809BBA6C 03E00008 */ jr $ra
/* 03790 809BBA70 00000000 */ nop
/* 03794 809BBA74 00000000 */ nop
/* 03798 809BBA78 00000000 */ nop
/* 0379C 809BBA7C 00000000 */ nop

View file

@ -1,261 +0,0 @@
.late_rodata
glabel jtbl_809BBC6C
.word L809B882C
.word L809B8858
.word L809B8764
.word L809B872C
.word L809B86E4
.text
glabel EnBb_Init
/* 00280 809B8560 27BDFE18 */ addiu $sp, $sp, 0xFE18 ## $sp = FFFFFE18
/* 00284 809B8564 AFA501EC */ sw $a1, 0x01EC($sp)
/* 00288 809B8568 AFBF002C */ sw $ra, 0x002C($sp)
/* 0028C 809B856C AFB00028 */ sw $s0, 0x0028($sp)
/* 00290 809B8570 3C05809C */ lui $a1, %hi(D_809BBB34) ## $a1 = 809C0000
/* 00294 809B8574 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 00298 809B8578 0C01E037 */ jal Actor_ProcessInitChain
/* 0029C 809B857C 24A5BB34 */ addiu $a1, $a1, %lo(D_809BBB34) ## $a1 = 809BBB34
/* 002A0 809B8580 3C060600 */ lui $a2, %hi(D_06001A30) ## $a2 = 06000000
/* 002A4 809B8584 3C070600 */ lui $a3, %hi(D_06000444) ## $a3 = 06000000
/* 002A8 809B8588 260E0190 */ addiu $t6, $s0, 0x0190 ## $t6 = 00000190
/* 002AC 809B858C 260F01F0 */ addiu $t7, $s0, 0x01F0 ## $t7 = 000001F0
/* 002B0 809B8590 24180010 */ addiu $t8, $zero, 0x0010 ## $t8 = 00000010
/* 002B4 809B8594 AFB80018 */ sw $t8, 0x0018($sp)
/* 002B8 809B8598 AFAF0014 */ sw $t7, 0x0014($sp)
/* 002BC 809B859C AFAE0010 */ sw $t6, 0x0010($sp)
/* 002C0 809B85A0 24E70444 */ addiu $a3, $a3, %lo(D_06000444) ## $a3 = 06000444
/* 002C4 809B85A4 24C61A30 */ addiu $a2, $a2, %lo(D_06001A30) ## $a2 = 06001A30
/* 002C8 809B85A8 8FA401EC */ lw $a0, 0x01EC($sp)
/* 002CC 809B85AC 0C02915F */ jal SkelAnime_Init
/* 002D0 809B85B0 2605014C */ addiu $a1, $s0, 0x014C ## $a1 = 0000014C
/* 002D4 809B85B4 24190004 */ addiu $t9, $zero, 0x0004 ## $t9 = 00000004
/* 002D8 809B85B8 AE000254 */ sw $zero, 0x0254($s0) ## 00000254
/* 002DC 809B85BC A21900AF */ sb $t9, 0x00AF($s0) ## 000000AF
/* 002E0 809B85C0 260502AC */ addiu $a1, $s0, 0x02AC ## $a1 = 000002AC
/* 002E4 809B85C4 AFA50030 */ sw $a1, 0x0030($sp)
/* 002E8 809B85C8 0C016EFE */ jal Collider_InitJntSph
/* 002EC 809B85CC 8FA401EC */ lw $a0, 0x01EC($sp)
/* 002F0 809B85D0 3C07809C */ lui $a3, %hi(D_809BBB24) ## $a3 = 809C0000
/* 002F4 809B85D4 260802CC */ addiu $t0, $s0, 0x02CC ## $t0 = 000002CC
/* 002F8 809B85D8 8FA50030 */ lw $a1, 0x0030($sp)
/* 002FC 809B85DC AFA80010 */ sw $t0, 0x0010($sp)
/* 00300 809B85E0 24E7BB24 */ addiu $a3, $a3, %lo(D_809BBB24) ## $a3 = 809BBB24
/* 00304 809B85E4 8FA401EC */ lw $a0, 0x01EC($sp)
/* 00308 809B85E8 0C017014 */ jal Collider_SetJntSph
/* 0030C 809B85EC 02003025 */ or $a2, $s0, $zero ## $a2 = 00000000
/* 00310 809B85F0 8609001C */ lh $t1, 0x001C($s0) ## 0000001C
/* 00314 809B85F4 8602001C */ lh $v0, 0x001C($s0) ## 0000001C
/* 00318 809B85F8 260400B4 */ addiu $a0, $s0, 0x00B4 ## $a0 = 000000B4
/* 0031C 809B85FC 00095203 */ sra $t2, $t1, 8
/* 00320 809B8600 304B0080 */ andi $t3, $v0, 0x0080 ## $t3 = 00000000
/* 00324 809B8604 11600004 */ beq $t3, $zero, .L809B8618
/* 00328 809B8608 A60A0268 */ sh $t2, 0x0268($s0) ## 00000268
/* 0032C 809B860C 344CFF00 */ ori $t4, $v0, 0xFF00 ## $t4 = 0000FF00
/* 00330 809B8610 A60C001C */ sh $t4, 0x001C($s0) ## 0000001C
/* 00334 809B8614 8602001C */ lh $v0, 0x001C($s0) ## 0000001C
.L809B8618:
/* 00338 809B8618 04410006 */ bgez $v0, .L809B8634
/* 0033C 809B861C 3C054348 */ lui $a1, 0x4348 ## $a1 = 43480000
/* 00340 809B8620 3C068003 */ lui $a2, %hi(ActorShadow_DrawFunc_Circle)
/* 00344 809B8624 24C6B5EC */ addiu $a2, %lo(ActorShadow_DrawFunc_Circle)
/* 00348 809B8628 0C00AC78 */ jal ActorShape_Init
/* 0034C 809B862C 3C07420C */ lui $a3, 0x420C ## $a3 = 420C0000
/* 00350 809B8630 8602001C */ lh $v0, 0x001C($s0) ## 0000001C
.L809B8634:
/* 00354 809B8634 304DFF00 */ andi $t5, $v0, 0xFF00 ## $t5 = 00000000
/* 00358 809B8638 11A000A1 */ beq $t5, $zero, .L809B88C0
/* 0035C 809B863C 3C0142A0 */ lui $at, 0x42A0 ## $at = 42A00000
/* 00360 809B8640 44812000 */ mtc1 $at, $f4 ## $f4 = 80.00
/* 00364 809B8644 3C0142C8 */ lui $at, 0x42C8 ## $at = 42C80000
/* 00368 809B8648 44813000 */ mtc1 $at, $f6 ## $f6 = 100.00
/* 0036C 809B864C 8E0F02C8 */ lw $t7, 0x02C8($s0) ## 000002C8
/* 00370 809B8650 AE000260 */ sw $zero, 0x0260($s0) ## 00000260
/* 00374 809B8654 240E0009 */ addiu $t6, $zero, 0x0009 ## $t6 = 00000009
/* 00378 809B8658 E6040288 */ swc1 $f4, 0x0288($s0) ## 00000288
/* 0037C 809B865C E606028C */ swc1 $f6, 0x028C($s0) ## 0000028C
/* 00380 809B8660 A1EE0015 */ sb $t6, 0x0015($t7) ## 00000015
/* 00384 809B8664 8E1902C8 */ lw $t9, 0x02C8($s0) ## 000002C8
/* 00388 809B8668 3C18FFCF */ lui $t8, 0xFFCF ## $t8 = FFCF0000
/* 0038C 809B866C 3718FFFF */ ori $t8, $t8, 0xFFFF ## $t8 = FFCFFFFF
/* 00390 809B8670 AF380000 */ sw $t8, 0x0000($t9) ## 00000000
/* 00394 809B8674 8E0902C8 */ lw $t1, 0x02C8($s0) ## 000002C8
/* 00398 809B8678 24080008 */ addiu $t0, $zero, 0x0008 ## $t0 = 00000008
/* 0039C 809B867C 3C0141A0 */ lui $at, 0x41A0 ## $at = 41A00000
/* 003A0 809B8680 A1280005 */ sb $t0, 0x0005($t1) ## 00000005
/* 003A4 809B8684 860A0268 */ lh $t2, 0x0268($s0) ## 00000268
/* 003A8 809B8688 44818000 */ mtc1 $at, $f16 ## $f16 = 20.00
/* 003AC 809B868C 240B00FF */ addiu $t3, $zero, 0x00FF ## $t3 = 000000FF
/* 003B0 809B8690 448A4000 */ mtc1 $t2, $f8 ## $f8 = 0.00
/* 003B4 809B8694 3C053C23 */ lui $a1, 0x3C23 ## $a1 = 3C230000
/* 003B8 809B8698 A20B029F */ sb $t3, 0x029F($s0) ## 0000029F
/* 003BC 809B869C 468042A0 */ cvt.s.w $f10, $f8
/* 003C0 809B86A0 AE00025C */ sw $zero, 0x025C($s0) ## 0000025C
/* 003C4 809B86A4 34A5D70A */ ori $a1, $a1, 0xD70A ## $a1 = 3C23D70A
/* 003C8 809B86A8 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 003CC 809B86AC 46105482 */ mul.s $f18, $f10, $f16
/* 003D0 809B86B0 0C00B58B */ jal Actor_SetScale
/* 003D4 809B86B4 E6120278 */ swc1 $f18, 0x0278($s0) ## 00000278
/* 003D8 809B86B8 860C001C */ lh $t4, 0x001C($s0) ## 0000001C
/* 003DC 809B86BC 240200FF */ addiu $v0, $zero, 0x00FF ## $v0 = 000000FF
/* 003E0 809B86C0 258D0005 */ addiu $t5, $t4, 0x0005 ## $t5 = 00000005
/* 003E4 809B86C4 2DA10005 */ sltiu $at, $t5, 0x0005
/* 003E8 809B86C8 10200076 */ beq $at, $zero, .L809B88A4
/* 003EC 809B86CC 000D6880 */ sll $t5, $t5, 2
/* 003F0 809B86D0 3C01809C */ lui $at, %hi(jtbl_809BBC6C) ## $at = 809C0000
/* 003F4 809B86D4 002D0821 */ addu $at, $at, $t5
/* 003F8 809B86D8 8C2DBC6C */ lw $t5, %lo(jtbl_809BBC6C)($at)
/* 003FC 809B86DC 01A00008 */ jr $t5
/* 00400 809B86E0 00000000 */ nop
glabel L809B86E4
/* 00404 809B86E4 3C014248 */ lui $at, 0x4248 ## $at = 42480000
/* 00408 809B86E8 44813000 */ mtc1 $at, $f6 ## $f6 = 50.00
/* 0040C 809B86EC C6040028 */ lwc1 $f4, 0x0028($s0) ## 00000028
/* 00410 809B86F0 3C0F809C */ lui $t7, %hi(D_809BBA80) ## $t7 = 809C0000
/* 00414 809B86F4 240E001C */ addiu $t6, $zero, 0x001C ## $t6 = 0000001C
/* 00418 809B86F8 46062200 */ add.s $f8, $f4, $f6
/* 0041C 809B86FC 25EFBA80 */ addiu $t7, $t7, %lo(D_809BBA80) ## $t7 = 809BBA80
/* 00420 809B8700 A20E0117 */ sb $t6, 0x0117($s0) ## 00000117
/* 00424 809B8704 AE0F0098 */ sw $t7, 0x0098($s0) ## 00000098
/* 00428 809B8708 A20202A2 */ sb $v0, 0x02A2($s0) ## 000002A2
/* 0042C 809B870C A202029E */ sb $v0, 0x029E($s0) ## 0000029E
/* 00430 809B8710 E6080028 */ swc1 $f8, 0x0028($s0) ## 00000028
/* 00434 809B8714 0C26E38D */ jal func_809B8E34
/* 00438 809B8718 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 0043C 809B871C 8E190004 */ lw $t9, 0x0004($s0) ## 00000004
/* 00440 809B8720 37284000 */ ori $t0, $t9, 0x4000 ## $t0 = 00004000
/* 00444 809B8724 1000005F */ beq $zero, $zero, .L809B88A4
/* 00448 809B8728 AE080004 */ sw $t0, 0x0004($s0) ## 00000004
glabel L809B872C
/* 0044C 809B872C 8E0C02C8 */ lw $t4, 0x02C8($s0) ## 000002C8
/* 00450 809B8730 3C0A809C */ lui $t2, %hi(D_809BBAA0) ## $t2 = 809C0000
/* 00454 809B8734 24090024 */ addiu $t1, $zero, 0x0024 ## $t1 = 00000024
/* 00458 809B8738 254ABAA0 */ addiu $t2, $t2, %lo(D_809BBAA0) ## $t2 = 809BBAA0
/* 0045C 809B873C A2090117 */ sb $t1, 0x0117($s0) ## 00000117
/* 00460 809B8740 AE0A0098 */ sw $t2, 0x0098($s0) ## 00000098
/* 00464 809B8744 A20202A0 */ sb $v0, 0x02A0($s0) ## 000002A0
/* 00468 809B8748 240B0001 */ addiu $t3, $zero, 0x0001 ## $t3 = 00000001
/* 0046C 809B874C A18B0004 */ sb $t3, 0x0004($t4) ## 00000004
/* 00470 809B8750 8FA401EC */ lw $a0, 0x01EC($sp)
/* 00474 809B8754 0C26E695 */ jal func_809B9A54
/* 00478 809B8758 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000
/* 0047C 809B875C 10000052 */ beq $zero, $zero, .L809B88A8
/* 00480 809B8760 8E0C0024 */ lw $t4, 0x0024($s0) ## 00000024
glabel L809B8764
/* 00484 809B8764 860F0268 */ lh $t7, 0x0268($s0) ## 00000268
/* 00488 809B8768 3C0E809C */ lui $t6, %hi(D_809BBAC0) ## $t6 = 809C0000
/* 0048C 809B876C 240D001D */ addiu $t5, $zero, 0x001D ## $t5 = 0000001D
/* 00490 809B8770 25CEBAC0 */ addiu $t6, $t6, %lo(D_809BBAC0) ## $t6 = 809BBAC0
/* 00494 809B8774 A20D0117 */ sb $t5, 0x0117($s0) ## 00000117
/* 00498 809B8778 AE0E0098 */ sw $t6, 0x0098($s0) ## 00000098
/* 0049C 809B877C A20F029C */ sb $t7, 0x029C($s0) ## 0000029C
/* 004A0 809B8780 240200FF */ addiu $v0, $zero, 0x00FF ## $v0 = 000000FF
/* 004A4 809B8784 241800FF */ addiu $t8, $zero, 0x00FF ## $t8 = 000000FF
/* 004A8 809B8788 24190010 */ addiu $t9, $zero, 0x0010 ## $t9 = 00000010
/* 004AC 809B878C 24080002 */ addiu $t0, $zero, 0x0002 ## $t0 = 00000002
/* 004B0 809B8790 27A90048 */ addiu $t1, $sp, 0x0048 ## $t1 = FFFFFE60
/* 004B4 809B8794 A3B801DA */ sb $t8, 0x01DA($sp)
/* 004B8 809B8798 A3A201D9 */ sb $v0, 0x01D9($sp)
/* 004BC 809B879C A3A201D8 */ sb $v0, 0x01D8($sp)
/* 004C0 809B87A0 A3A201D6 */ sb $v0, 0x01D6($sp)
/* 004C4 809B87A4 A3A201D5 */ sb $v0, 0x01D5($sp)
/* 004C8 809B87A8 A3A201D4 */ sb $v0, 0x01D4($sp)
/* 004CC 809B87AC A3A201D3 */ sb $v0, 0x01D3($sp)
/* 004D0 809B87B0 A3A201D2 */ sb $v0, 0x01D2($sp)
/* 004D4 809B87B4 A3A201D1 */ sb $v0, 0x01D1($sp)
/* 004D8 809B87B8 A3A201D0 */ sb $v0, 0x01D0($sp)
/* 004DC 809B87BC A3A201CF */ sb $v0, 0x01CF($sp)
/* 004E0 809B87C0 A3A201CE */ sb $v0, 0x01CE($sp)
/* 004E4 809B87C4 A3A201CD */ sb $v0, 0x01CD($sp)
/* 004E8 809B87C8 A3A201CC */ sb $v0, 0x01CC($sp)
/* 004EC 809B87CC A3A001D7 */ sb $zero, 0x01D7($sp)
/* 004F0 809B87D0 A3A001DB */ sb $zero, 0x01DB($sp)
/* 004F4 809B87D4 AFB901DC */ sw $t9, 0x01DC($sp)
/* 004F8 809B87D8 AFA001E0 */ sw $zero, 0x01E0($sp)
/* 004FC 809B87DC AFA801E4 */ sw $t0, 0x01E4($sp)
/* 00500 809B87E0 AFA90014 */ sw $t1, 0x0014($sp)
/* 00504 809B87E4 AFA00010 */ sw $zero, 0x0010($sp)
/* 00508 809B87E8 8FA401EC */ lw $a0, 0x01EC($sp)
/* 0050C 809B87EC 260502A4 */ addiu $a1, $s0, 0x02A4 ## $a1 = 000002A4
/* 00510 809B87F0 24060001 */ addiu $a2, $zero, 0x0001 ## $a2 = 00000001
/* 00514 809B87F4 0C009B35 */ jal Effect_Add
## Effect_Add
/* 00518 809B87F8 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 0051C 809B87FC 8FA401EC */ lw $a0, 0x01EC($sp)
/* 00520 809B8800 0C26E80A */ jal func_809BA028
/* 00524 809B8804 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000
/* 00528 809B8808 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 0052C 809B880C 0C26E7D8 */ jal func_809B9F60
/* 00530 809B8810 8FA501EC */ lw $a1, 0x01EC($sp)
/* 00534 809B8814 0C26E7CA */ jal func_809B9F28
/* 00538 809B8818 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 0053C 809B881C 8E0A0004 */ lw $t2, 0x0004($s0) ## 00000004
/* 00540 809B8820 354B4000 */ ori $t3, $t2, 0x4000 ## $t3 = 00004000
/* 00544 809B8824 1000001F */ beq $zero, $zero, .L809B88A4
/* 00548 809B8828 AE0B0004 */ sw $t3, 0x0004($s0) ## 00000004
glabel L809B882C
/* 0054C 809B882C 860C0268 */ lh $t4, 0x0268($s0) ## 00000268
/* 00550 809B8830 8E0F02C8 */ lw $t7, 0x02C8($s0) ## 000002C8
/* 00554 809B8834 240E0016 */ addiu $t6, $zero, 0x0016 ## $t6 = 00000016
/* 00558 809B8838 000C6903 */ sra $t5, $t4, 4
/* 0055C 809B883C A20D029C */ sb $t5, 0x029C($s0) ## 0000029C
/* 00560 809B8840 3C053CF5 */ lui $a1, 0x3CF5 ## $a1 = 3CF50000
/* 00564 809B8844 34A5C28F */ ori $a1, $a1, 0xC28F ## $a1 = 3CF5C28F
/* 00568 809B8848 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 0056C 809B884C 0C00B58B */ jal Actor_SetScale
/* 00570 809B8850 A5EE002E */ sh $t6, 0x002E($t7) ## 0000002E
/* 00574 809B8854 240200FF */ addiu $v0, $zero, 0x00FF ## $v0 = 000000FF
glabel L809B8858
/* 00578 809B8858 86190268 */ lh $t9, 0x0268($s0) ## 00000268
/* 0057C 809B885C 3C0141A0 */ lui $at, 0x41A0 ## $at = 41A00000
/* 00580 809B8860 44819000 */ mtc1 $at, $f18 ## $f18 = 20.00
/* 00584 809B8864 3328000F */ andi $t0, $t9, 0x000F ## $t0 = 00000000
/* 00588 809B8868 44885000 */ mtc1 $t0, $f10 ## $f10 = 0.00
/* 0058C 809B886C 3C09809C */ lui $t1, %hi(D_809BBA80) ## $t1 = 809C0000
/* 00590 809B8870 2418001E */ addiu $t8, $zero, 0x001E ## $t8 = 0000001E
/* 00594 809B8874 46805420 */ cvt.s.w $f16, $f10
/* 00598 809B8878 2529BA80 */ addiu $t1, $t1, %lo(D_809BBA80) ## $t1 = 809BBA80
/* 0059C 809B887C 240A0001 */ addiu $t2, $zero, 0x0001 ## $t2 = 00000001
/* 005A0 809B8880 A2180117 */ sb $t8, 0x0117($s0) ## 00000117
/* 005A4 809B8884 AE090098 */ sw $t1, 0x0098($s0) ## 00000098
/* 005A8 809B8888 A20202A1 */ sb $v0, 0x02A1($s0) ## 000002A1
/* 005AC 809B888C 46128102 */ mul.s $f4, $f16, $f18
/* 005B0 809B8890 A20A00AF */ sb $t2, 0x00AF($s0) ## 000000AF
/* 005B4 809B8894 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 005B8 809B8898 E6040278 */ swc1 $f4, 0x0278($s0) ## 00000278
/* 005BC 809B889C 0C26E916 */ jal func_809BA458
/* 005C0 809B88A0 8FA501EC */ lw $a1, 0x01EC($sp)
.L809B88A4:
/* 005C4 809B88A4 8E0C0024 */ lw $t4, 0x0024($s0) ## 00000024
.L809B88A8:
/* 005C8 809B88A8 8E0B0028 */ lw $t3, 0x0028($s0) ## 00000028
/* 005CC 809B88AC AE0C0038 */ sw $t4, 0x0038($s0) ## 00000038
/* 005D0 809B88B0 8E0C002C */ lw $t4, 0x002C($s0) ## 0000002C
/* 005D4 809B88B4 AE0B003C */ sw $t3, 0x003C($s0) ## 0000003C
/* 005D8 809B88B8 10000003 */ beq $zero, $zero, .L809B88C8
/* 005DC 809B88BC AE0C0040 */ sw $t4, 0x0040($s0) ## 00000040
.L809B88C0:
/* 005E0 809B88C0 0C26E24C */ jal func_809B8930
/* 005E4 809B88C4 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
.L809B88C8:
/* 005E8 809B88C8 8E0202C8 */ lw $v0, 0x02C8($s0) ## 000002C8
/* 005EC 809B88CC 844D002E */ lh $t5, 0x002E($v0) ## 0000002E
/* 005F0 809B88D0 C4460038 */ lwc1 $f6, 0x0038($v0) ## 00000038
/* 005F4 809B88D4 448D4000 */ mtc1 $t5, $f8 ## $f8 = 0.00
/* 005F8 809B88D8 00000000 */ nop
/* 005FC 809B88DC 468042A0 */ cvt.s.w $f10, $f8
/* 00600 809B88E0 460A3402 */ mul.s $f16, $f6, $f10
/* 00604 809B88E4 4600848D */ trunc.w.s $f18, $f16
/* 00608 809B88E8 440F9000 */ mfc1 $t7, $f18
/* 0060C 809B88EC 00000000 */ nop
/* 00610 809B88F0 A44F0036 */ sh $t7, 0x0036($v0) ## 00000036
/* 00614 809B88F4 8FBF002C */ lw $ra, 0x002C($sp)
/* 00618 809B88F8 8FB00028 */ lw $s0, 0x0028($sp)
/* 0061C 809B88FC 27BD01E8 */ addiu $sp, $sp, 0x01E8 ## $sp = 00000000
/* 00620 809B8900 03E00008 */ jr $ra
/* 00624 809B8904 00000000 */ nop

View file

@ -1,174 +0,0 @@
glabel EnBb_Update
/* 02F98 809BB278 27BDFFA0 */ addiu $sp, $sp, 0xFFA0 ## $sp = FFFFFFA0
/* 02F9C 809BB27C 3C0F809C */ lui $t7, %hi(D_809BBB68) ## $t7 = 809C0000
/* 02FA0 809BB280 AFBF0024 */ sw $ra, 0x0024($sp)
/* 02FA4 809BB284 AFB10020 */ sw $s1, 0x0020($sp)
/* 02FA8 809BB288 AFB0001C */ sw $s0, 0x001C($sp)
/* 02FAC 809BB28C 25EFBB68 */ addiu $t7, $t7, %lo(D_809BBB68) ## $t7 = 809BBB68
/* 02FB0 809BB290 8DF90000 */ lw $t9, 0x0000($t7) ## 809BBB68
/* 02FB4 809BB294 27AE004C */ addiu $t6, $sp, 0x004C ## $t6 = FFFFFFEC
/* 02FB8 809BB298 8DF80004 */ lw $t8, 0x0004($t7) ## 809BBB6C
/* 02FBC 809BB29C ADD90000 */ sw $t9, 0x0000($t6) ## FFFFFFEC
/* 02FC0 809BB2A0 8DF90008 */ lw $t9, 0x0008($t7) ## 809BBB70
/* 02FC4 809BB2A4 3C09809C */ lui $t1, %hi(D_809BBB74) ## $t1 = 809C0000
/* 02FC8 809BB2A8 2529BB74 */ addiu $t1, $t1, %lo(D_809BBB74) ## $t1 = 809BBB74
/* 02FCC 809BB2AC ADD80004 */ sw $t8, 0x0004($t6) ## FFFFFFF0
/* 02FD0 809BB2B0 ADD90008 */ sw $t9, 0x0008($t6) ## FFFFFFF4
/* 02FD4 809BB2B4 8D2B0000 */ lw $t3, 0x0000($t1) ## 809BBB74
/* 02FD8 809BB2B8 27A80040 */ addiu $t0, $sp, 0x0040 ## $t0 = FFFFFFE0
/* 02FDC 809BB2BC 8D2A0004 */ lw $t2, 0x0004($t1) ## 809BBB78
/* 02FE0 809BB2C0 AD0B0000 */ sw $t3, 0x0000($t0) ## FFFFFFE0
/* 02FE4 809BB2C4 8D2B0008 */ lw $t3, 0x0008($t1) ## 809BBB7C
/* 02FE8 809BB2C8 AD0A0004 */ sw $t2, 0x0004($t0) ## FFFFFFE4
/* 02FEC 809BB2CC 3C0C809C */ lui $t4, %hi(D_809BBB80) ## $t4 = 809C0000
/* 02FF0 809BB2D0 AD0B0008 */ sw $t3, 0x0008($t0) ## FFFFFFE8
/* 02FF4 809BB2D4 3C0D809C */ lui $t5, %hi(D_809BBB84) ## $t5 = 809C0000
/* 02FF8 809BB2D8 3C01C170 */ lui $at, 0xC170 ## $at = C1700000
/* 02FFC 809BB2DC 8D8CBB80 */ lw $t4, %lo(D_809BBB80)($t4)
/* 03000 809BB2E0 8DADBB84 */ lw $t5, %lo(D_809BBB84)($t5)
/* 03004 809BB2E4 44812000 */ mtc1 $at, $f4 ## $f4 = -15.00
/* 03008 809BB2E8 AFAC003C */ sw $t4, 0x003C($sp)
/* 0300C 809BB2EC AFAD0038 */ sw $t5, 0x0038($sp)
/* 03010 809BB2F0 E7A40034 */ swc1 $f4, 0x0034($sp)
/* 03014 809BB2F4 848E001C */ lh $t6, 0x001C($a0) ## 0000001C
/* 03018 809BB2F8 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 0301C 809BB2FC 00A08825 */ or $s1, $a1, $zero ## $s1 = 00000000
/* 03020 809BB300 05C30004 */ bgezl $t6, .L809BB314
/* 03024 809BB304 920F00B1 */ lbu $t7, 0x00B1($s0) ## 000000B1
/* 03028 809BB308 0C26EBD1 */ jal func_809BAF44
/* 0302C 809BB30C 00000000 */ nop
/* 03030 809BB310 920F00B1 */ lbu $t7, 0x00B1($s0) ## 000000B1
.L809BB314:
/* 03034 809BB314 2401000D */ addiu $at, $zero, 0x000D ## $at = 0000000D
/* 03038 809BB318 51E10072 */ beql $t7, $at, .L809BB4E4
/* 0303C 809BB31C 8FBF0024 */ lw $ra, 0x0024($sp)
/* 03040 809BB320 8E190258 */ lw $t9, 0x0258($s0) ## 00000258
/* 03044 809BB324 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 03048 809BB328 02202825 */ or $a1, $s1, $zero ## $a1 = 00000000
/* 0304C 809BB32C 0320F809 */ jalr $ra, $t9
/* 03050 809BB330 00000000 */ nop
/* 03054 809BB334 8618001C */ lh $t8, 0x001C($s0) ## 0000001C
/* 03058 809BB338 3C01C0C0 */ lui $at, 0xC0C0 ## $at = C0C00000
/* 0305C 809BB33C 0703000F */ bgezl $t8, .L809BB37C
/* 03060 809BB340 8E0A025C */ lw $t2, 0x025C($s0) ## 0000025C
/* 03064 809BB344 C6060068 */ lwc1 $f6, 0x0068($s0) ## 00000068
/* 03068 809BB348 44814000 */ mtc1 $at, $f8 ## $f8 = -6.00
/* 0306C 809BB34C 00000000 */ nop
/* 03070 809BB350 4606403E */ c.le.s $f8, $f6
/* 03074 809BB354 00000000 */ nop
/* 03078 809BB358 45020008 */ bc1fl .L809BB37C
/* 0307C 809BB35C 8E0A025C */ lw $t2, 0x025C($s0) ## 0000025C
/* 03080 809BB360 8E080004 */ lw $t0, 0x0004($s0) ## 00000004
/* 03084 809BB364 31098000 */ andi $t1, $t0, 0x8000 ## $t1 = 00000000
/* 03088 809BB368 55200004 */ bnel $t1, $zero, .L809BB37C
/* 0308C 809BB36C 8E0A025C */ lw $t2, 0x025C($s0) ## 0000025C
/* 03090 809BB370 0C00B638 */ jal Actor_MoveForward
/* 03094 809BB374 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 03098 809BB378 8E0A025C */ lw $t2, 0x025C($s0) ## 0000025C
.L809BB37C:
/* 0309C 809BB37C 3C0141A0 */ lui $at, 0x41A0 ## $at = 41A00000
/* 030A0 809BB380 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
/* 030A4 809BB384 15400010 */ bne $t2, $zero, .L809BB3C8
/* 030A8 809BB388 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000
/* 030AC 809BB38C 44810000 */ mtc1 $at, $f0 ## $f0 = 20.00
/* 030B0 809BB390 C6100028 */ lwc1 $f16, 0x0028($s0) ## 00000028
/* 030B4 809BB394 C60A0080 */ lwc1 $f10, 0x0080($s0) ## 00000080
/* 030B8 809BB398 3C0741C8 */ lui $a3, 0x41C8 ## $a3 = 41C80000
/* 030BC 809BB39C 46008481 */ sub.s $f18, $f16, $f0
/* 030C0 809BB3A0 240B0005 */ addiu $t3, $zero, 0x0005 ## $t3 = 00000005
/* 030C4 809BB3A4 460A903E */ c.le.s $f18, $f10
/* 030C8 809BB3A8 00000000 */ nop
/* 030CC 809BB3AC 45020003 */ bc1fl .L809BB3BC
/* 030D0 809BB3B0 8FA60034 */ lw $a2, 0x0034($sp)
/* 030D4 809BB3B4 E7A00034 */ swc1 $f0, 0x0034($sp)
/* 030D8 809BB3B8 8FA60034 */ lw $a2, 0x0034($sp)
.L809BB3BC:
/* 030DC 809BB3BC E7A00010 */ swc1 $f0, 0x0010($sp)
/* 030E0 809BB3C0 0C00B92D */ jal func_8002E4B4
/* 030E4 809BB3C4 AFAB0014 */ sw $t3, 0x0014($sp)
.L809BB3C8:
/* 030E8 809BB3C8 C6040024 */ lwc1 $f4, 0x0024($s0) ## 00000024
/* 030EC 809BB3CC 8E0D0024 */ lw $t5, 0x0024($s0) ## 00000024
/* 030F0 809BB3D0 8E0C0028 */ lw $t4, 0x0028($s0) ## 00000028
/* 030F4 809BB3D4 4600218D */ trunc.w.s $f6, $f4
/* 030F8 809BB3D8 AE0D0038 */ sw $t5, 0x0038($s0) ## 00000038
/* 030FC 809BB3DC 8E0D002C */ lw $t5, 0x002C($s0) ## 0000002C
/* 03100 809BB3E0 8E1902C8 */ lw $t9, 0x02C8($s0) ## 000002C8
/* 03104 809BB3E4 440F3000 */ mfc1 $t7, $f6
/* 03108 809BB3E8 AE0C003C */ sw $t4, 0x003C($s0) ## 0000003C
/* 0310C 809BB3EC AE0D0040 */ sw $t5, 0x0040($s0) ## 00000040
/* 03110 809BB3F0 A72F0030 */ sh $t7, 0x0030($t9) ## 00000030
/* 03114 809BB3F4 C6100054 */ lwc1 $f16, 0x0054($s0) ## 00000054
/* 03118 809BB3F8 C60800BC */ lwc1 $f8, 0x00BC($s0) ## 000000BC
/* 0311C 809BB3FC C6120028 */ lwc1 $f18, 0x0028($s0) ## 00000028
/* 03120 809BB400 8E0902C8 */ lw $t1, 0x02C8($s0) ## 000002C8
/* 03124 809BB404 46104282 */ mul.s $f10, $f8, $f16
/* 03128 809BB408 460A9100 */ add.s $f4, $f18, $f10
/* 0312C 809BB40C 4600218D */ trunc.w.s $f6, $f4
/* 03130 809BB410 44083000 */ mfc1 $t0, $f6
/* 03134 809BB414 00000000 */ nop
/* 03138 809BB418 A5280032 */ sh $t0, 0x0032($t1) ## 00000032
/* 0313C 809BB41C C608002C */ lwc1 $f8, 0x002C($s0) ## 0000002C
/* 03140 809BB420 8E0C02C8 */ lw $t4, 0x02C8($s0) ## 000002C8
/* 03144 809BB424 4600440D */ trunc.w.s $f16, $f8
/* 03148 809BB428 440B8000 */ mfc1 $t3, $f16
/* 0314C 809BB42C 00000000 */ nop
/* 03150 809BB430 A58B0034 */ sh $t3, 0x0034($t4) ## 00000034
/* 03154 809BB434 8E020250 */ lw $v0, 0x0250($s0) ## 00000250
/* 03158 809BB438 28410002 */ slti $at, $v0, 0x0002
/* 0315C 809BB43C 54200010 */ bnel $at, $zero, .L809BB480
/* 03160 809BB440 28410003 */ slti $at, $v0, 0x0003
/* 03164 809BB444 44809000 */ mtc1 $zero, $f18 ## $f18 = 0.00
/* 03168 809BB448 C60A0068 */ lwc1 $f10, 0x0068($s0) ## 00000068
/* 0316C 809BB44C 24010009 */ addiu $at, $zero, 0x0009 ## $at = 00000009
/* 03170 809BB450 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
/* 03174 809BB454 460A9032 */ c.eq.s $f18, $f10
/* 03178 809BB458 260602AC */ addiu $a2, $s0, 0x02AC ## $a2 = 000002AC
/* 0317C 809BB45C 45020003 */ bc1fl .L809BB46C
/* 03180 809BB460 3C010001 */ lui $at, 0x0001 ## $at = 00010000
/* 03184 809BB464 14410005 */ bne $v0, $at, .L809BB47C
/* 03188 809BB468 3C010001 */ lui $at, 0x0001 ## $at = 00010000
.L809BB46C:
/* 0318C 809BB46C 34211E60 */ ori $at, $at, 0x1E60 ## $at = 00011E60
/* 03190 809BB470 0C0175E7 */ jal CollisionCheck_SetAT
## CollisionCheck_setAT
/* 03194 809BB474 02212821 */ addu $a1, $s1, $at
/* 03198 809BB478 8E020250 */ lw $v0, 0x0250($s0) ## 00000250
.L809BB47C:
/* 0319C 809BB47C 28410003 */ slti $at, $v0, 0x0003
.L809BB480:
/* 031A0 809BB480 54200018 */ bnel $at, $zero, .L809BB4E4
/* 031A4 809BB484 8FBF0024 */ lw $ra, 0x0024($sp)
/* 031A8 809BB488 920D0114 */ lbu $t5, 0x0114($s0) ## 00000114
/* 031AC 809BB48C 51A00006 */ beql $t5, $zero, .L809BB4A8
/* 031B0 809BB490 8E19025C */ lw $t9, 0x025C($s0) ## 0000025C
/* 031B4 809BB494 960E0112 */ lhu $t6, 0x0112($s0) ## 00000112
/* 031B8 809BB498 31CF4000 */ andi $t7, $t6, 0x4000 ## $t7 = 00000000
/* 031BC 809BB49C 55E00011 */ bnel $t7, $zero, .L809BB4E4
/* 031C0 809BB4A0 8FBF0024 */ lw $ra, 0x0024($sp)
/* 031C4 809BB4A4 8E19025C */ lw $t9, 0x025C($s0) ## 0000025C
.L809BB4A8:
/* 031C8 809BB4A8 24010002 */ addiu $at, $zero, 0x0002 ## $at = 00000002
/* 031CC 809BB4AC 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
/* 031D0 809BB4B0 1321000B */ beq $t9, $at, .L809BB4E0
/* 031D4 809BB4B4 260602AC */ addiu $a2, $s0, 0x02AC ## $a2 = 000002AC
/* 031D8 809BB4B8 3C010001 */ lui $at, 0x0001 ## $at = 00010000
/* 031DC 809BB4BC 34211E60 */ ori $at, $at, 0x1E60 ## $at = 00011E60
/* 031E0 809BB4C0 02212821 */ addu $a1, $s1, $at
/* 031E4 809BB4C4 AFA50030 */ sw $a1, 0x0030($sp)
/* 031E8 809BB4C8 0C01767D */ jal CollisionCheck_SetAC
## CollisionCheck_setAC
/* 031EC 809BB4CC AFA6002C */ sw $a2, 0x002C($sp)
/* 031F0 809BB4D0 8FA50030 */ lw $a1, 0x0030($sp)
/* 031F4 809BB4D4 8FA6002C */ lw $a2, 0x002C($sp)
/* 031F8 809BB4D8 0C017713 */ jal CollisionCheck_SetOC
## CollisionCheck_setOT
/* 031FC 809BB4DC 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
.L809BB4E0:
/* 03200 809BB4E0 8FBF0024 */ lw $ra, 0x0024($sp)
.L809BB4E4:
/* 03204 809BB4E4 8FB0001C */ lw $s0, 0x001C($sp)
/* 03208 809BB4E8 8FB10020 */ lw $s1, 0x0020($sp)
/* 0320C 809BB4EC 03E00008 */ jr $ra
/* 03210 809BB4F0 27BD0060 */ addiu $sp, $sp, 0x0060 ## $sp = 00000000

View file

@ -1,3 +0,0 @@
glabel func_809B82E0
/* 00000 809B82E0 03E00008 */ jr $ra
/* 00004 809B82E4 AC850258 */ sw $a1, 0x0258($a0) ## 00000258

View file

@ -1,42 +0,0 @@
glabel func_809B82E8
/* 00008 809B82E8 27BDFFD8 */ addiu $sp, $sp, 0xFFD8 ## $sp = FFFFFFD8
/* 0000C 809B82EC AFBF0024 */ sw $ra, 0x0024($sp)
/* 00010 809B82F0 AFB10020 */ sw $s1, 0x0020($sp)
/* 00014 809B82F4 AFB0001C */ sw $s0, 0x001C($sp)
/* 00018 809B82F8 F7B40010 */ sdc1 $f20, 0x0010($sp)
/* 0001C 809B82FC 8C901C4C */ lw $s0, 0x1C4C($a0) ## 00001C4C
/* 00020 809B8300 4486A000 */ mtc1 $a2, $f20 ## $f20 = 0.00
/* 00024 809B8304 00A08825 */ or $s1, $a1, $zero ## $s1 = 00000000
/* 00028 809B8308 52000016 */ beql $s0, $zero, .L809B8364
/* 0002C 809B830C 00001025 */ or $v0, $zero, $zero ## $v0 = 00000000
/* 00030 809B8310 860E001C */ lh $t6, 0x001C($s0) ## 0000001C
.L809B8314:
/* 00034 809B8314 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
/* 00038 809B8318 11C00003 */ beq $t6, $zero, .L809B8328
/* 0003C 809B831C 00000000 */ nop
/* 00040 809B8320 1000000D */ beq $zero, $zero, .L809B8358
/* 00044 809B8324 8E100124 */ lw $s0, 0x0124($s0) ## 00000124
.L809B8328:
/* 00048 809B8328 0C00B6D2 */ jal func_8002DB48
/* 0004C 809B832C 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000
/* 00050 809B8330 860F001C */ lh $t7, 0x001C($s0) ## 0000001C
/* 00054 809B8334 55E00008 */ bnel $t7, $zero, .L809B8358
/* 00058 809B8338 8E100124 */ lw $s0, 0x0124($s0) ## 00000124
/* 0005C 809B833C 4614003E */ c.le.s $f0, $f20
/* 00060 809B8340 00000000 */ nop
/* 00064 809B8344 45020004 */ bc1fl .L809B8358
/* 00068 809B8348 8E100124 */ lw $s0, 0x0124($s0) ## 00000124
/* 0006C 809B834C 10000005 */ beq $zero, $zero, .L809B8364
/* 00070 809B8350 02001025 */ or $v0, $s0, $zero ## $v0 = 00000000
/* 00074 809B8354 8E100124 */ lw $s0, 0x0124($s0) ## 00000124
.L809B8358:
/* 00078 809B8358 5600FFEE */ bnel $s0, $zero, .L809B8314
/* 0007C 809B835C 860E001C */ lh $t6, 0x001C($s0) ## 0000001C
/* 00080 809B8360 00001025 */ or $v0, $zero, $zero ## $v0 = 00000000
.L809B8364:
/* 00084 809B8364 8FBF0024 */ lw $ra, 0x0024($sp)
/* 00088 809B8368 D7B40010 */ ldc1 $f20, 0x0010($sp)
/* 0008C 809B836C 8FB0001C */ lw $s0, 0x001C($sp)
/* 00090 809B8370 8FB10020 */ lw $s1, 0x0020($sp)
/* 00094 809B8374 03E00008 */ jr $ra
/* 00098 809B8378 27BD0028 */ addiu $sp, $sp, 0x0028 ## $sp = 00000000

View file

@ -1,117 +0,0 @@
.late_rodata
glabel D_809BBC60
.float 0.09399999678134918
glabel D_809BBC64
.float 0.075
glabel D_809BBC68
.float 0.8
.text
glabel func_809B837C
/* 0009C 809B837C 27BDFF80 */ addiu $sp, $sp, 0xFF80 ## $sp = FFFFFF80
/* 000A0 809B8380 F7BC0050 */ sdc1 $f28, 0x0050($sp)
/* 000A4 809B8384 3C01809C */ lui $at, %hi(D_809BBC60) ## $at = 809C0000
/* 000A8 809B8388 C43CBC60 */ lwc1 $f28, %lo(D_809BBC60)($at)
/* 000AC 809B838C F7BA0048 */ sdc1 $f26, 0x0048($sp)
/* 000B0 809B8390 3C01809C */ lui $at, %hi(D_809BBC64) ## $at = 809C0000
/* 000B4 809B8394 C43ABC64 */ lwc1 $f26, %lo(D_809BBC64)($at)
/* 000B8 809B8398 F7B80040 */ sdc1 $f24, 0x0040($sp)
/* 000BC 809B839C 3C01809C */ lui $at, %hi(D_809BBC68) ## $at = 809C0000
/* 000C0 809B83A0 C438BC68 */ lwc1 $f24, %lo(D_809BBC68)($at)
/* 000C4 809B83A4 AFB5006C */ sw $s5, 0x006C($sp)
/* 000C8 809B83A8 F7B60038 */ sdc1 $f22, 0x0038($sp)
/* 000CC 809B83AC F7B40030 */ sdc1 $f20, 0x0030($sp)
/* 000D0 809B83B0 3C013F80 */ lui $at, 0x3F80 ## $at = 3F800000
/* 000D4 809B83B4 0006AC00 */ sll $s5, $a2, 16
/* 000D8 809B83B8 AFBE0078 */ sw $s8, 0x0078($sp)
/* 000DC 809B83BC AFB70074 */ sw $s7, 0x0074($sp)
/* 000E0 809B83C0 AFB60070 */ sw $s6, 0x0070($sp)
/* 000E4 809B83C4 AFB40068 */ sw $s4, 0x0068($sp)
/* 000E8 809B83C8 AFB30064 */ sw $s3, 0x0064($sp)
/* 000EC 809B83CC AFB20060 */ sw $s2, 0x0060($sp)
/* 000F0 809B83D0 AFB1005C */ sw $s1, 0x005C($sp)
/* 000F4 809B83D4 AFB00058 */ sw $s0, 0x0058($sp)
/* 000F8 809B83D8 4481A000 */ mtc1 $at, $f20 ## $f20 = 1.00
/* 000FC 809B83DC 4480B000 */ mtc1 $zero, $f22 ## $f22 = 0.00
/* 00100 809B83E0 00A08825 */ or $s1, $a1, $zero ## $s1 = 00000000
/* 00104 809B83E4 00809825 */ or $s3, $a0, $zero ## $s3 = 00000000
/* 00108 809B83E8 0015AC03 */ sra $s5, $s5, 16
/* 0010C 809B83EC AFBF007C */ sw $ra, 0x007C($sp)
/* 00110 809B83F0 AFA60088 */ sw $a2, 0x0088($sp)
/* 00114 809B83F4 00A09025 */ or $s2, $a1, $zero ## $s2 = 00000000
/* 00118 809B83F8 00008025 */ or $s0, $zero, $zero ## $s0 = 00000000
/* 0011C 809B83FC 24941C24 */ addiu $s4, $a0, 0x1C24 ## $s4 = 00001C24
/* 00120 809B8400 241600FF */ addiu $s6, $zero, 0x00FF ## $s6 = 000000FF
/* 00124 809B8404 24170028 */ addiu $s7, $zero, 0x0028 ## $s7 = 00000028
/* 00128 809B8408 241E00FF */ addiu $s8, $zero, 0x00FF ## $s8 = 000000FF
/* 0012C 809B840C C6240028 */ lwc1 $f4, 0x0028($s1) ## 00000028
.L809B8410:
/* 00130 809B8410 8E270024 */ lw $a3, 0x0024($s1) ## 00000024
/* 00134 809B8414 02802025 */ or $a0, $s4, $zero ## $a0 = 00001C24
/* 00138 809B8418 E7A40010 */ swc1 $f4, 0x0010($sp)
/* 0013C 809B841C C626002C */ lwc1 $f6, 0x002C($s1) ## 0000002C
/* 00140 809B8420 AFA00024 */ sw $zero, 0x0024($sp)
/* 00144 809B8424 AFA00020 */ sw $zero, 0x0020($sp)
/* 00148 809B8428 AFA0001C */ sw $zero, 0x001C($sp)
/* 0014C 809B842C AFA00018 */ sw $zero, 0x0018($sp)
/* 00150 809B8430 02602825 */ or $a1, $s3, $zero ## $a1 = 00000000
/* 00154 809B8434 24060069 */ addiu $a2, $zero, 0x0069 ## $a2 = 00000069
/* 00158 809B8438 0C00C7D4 */ jal Actor_Spawn
## ActorSpawn
/* 0015C 809B843C E7A60014 */ swc1 $f6, 0x0014($sp)
/* 00160 809B8440 10400021 */ beq $v0, $zero, .L809B84C8
/* 00164 809B8444 24010005 */ addiu $at, $zero, 0x0005 ## $at = 00000005
/* 00168 809B8448 44904000 */ mtc1 $s0, $f8 ## $f8 = 0.00
/* 0016C 809B844C 02170019 */ multu $s0, $s7
/* 00170 809B8450 AE42011C */ sw $v0, 0x011C($s2) ## 0000011C
/* 00174 809B8454 46804020 */ cvt.s.w $f0, $f8
/* 00178 809B8458 AC520118 */ sw $s2, 0x0118($v0) ## 00000118
/* 0017C 809B845C 26040001 */ addiu $a0, $s0, 0x0001 ## $a0 = 00000001
/* 00180 809B8460 00102840 */ sll $a1, $s0, 1
/* 00184 809B8464 AC510324 */ sw $s1, 0x0324($v0) ## 00000324
/* 00188 809B8468 A444026C */ sh $a0, 0x026C($v0) ## 0000026C
/* 0018C 809B846C 461A0282 */ mul.s $f10, $f0, $f26
/* 00190 809B8470 E4540050 */ swc1 $f20, 0x0050($v0) ## 00000050
/* 00194 809B8474 00007012 */ mflo $t6
/* 00198 809B8478 461C0402 */ mul.s $f16, $f0, $f28
/* 0019C 809B847C 02CE1823 */ subu $v1, $s6, $t6
/* 001A0 809B8480 306F00FF */ andi $t7, $v1, 0x00FF ## $t7 = 00000000
/* 001A4 809B8484 A44F026E */ sh $t7, 0x026E($v0) ## 0000026E
/* 001A8 809B8488 A043029F */ sb $v1, 0x029F($v0) ## 0000029F
/* 001AC 809B848C 460AC081 */ sub.s $f2, $f24, $f10
/* 001B0 809B8490 24A50002 */ addiu $a1, $a1, 0x0002 ## $a1 = 00000002
/* 001B4 809B8494 00409025 */ or $s2, $v0, $zero ## $s2 = 00000000
/* 001B8 809B8498 4610A301 */ sub.s $f12, $f20, $f16
/* 001BC 809B849C E4420054 */ swc1 $f2, 0x0054($v0) ## 00000054
/* 001C0 809B84A0 E4420288 */ swc1 $f2, 0x0288($v0) ## 00000288
/* 001C4 809B84A4 E44C0058 */ swc1 $f12, 0x0058($v0) ## 00000058
/* 001C8 809B84A8 12A00004 */ beq $s5, $zero, .L809B84BC
/* 001CC 809B84AC E44C028C */ swc1 $f12, 0x028C($v0) ## 0000028C
/* 001D0 809B84B0 A040029F */ sb $zero, 0x029F($v0) ## 0000029F
/* 001D4 809B84B4 E456028C */ swc1 $f22, 0x028C($v0) ## 0000028C
/* 001D8 809B84B8 E4560288 */ swc1 $f22, 0x0288($v0) ## 00000288
.L809B84BC:
/* 001DC 809B84BC A4440270 */ sh $a0, 0x0270($v0) ## 00000270
/* 001E0 809B84C0 AC450260 */ sw $a1, 0x0260($v0) ## 00000260
/* 001E4 809B84C4 A05E02A0 */ sb $s8, 0x02A0($v0) ## 000002A0
.L809B84C8:
/* 001E8 809B84C8 26100001 */ addiu $s0, $s0, 0x0001 ## $s0 = 00000001
/* 001EC 809B84CC 5601FFD0 */ bnel $s0, $at, .L809B8410
/* 001F0 809B84D0 C6240028 */ lwc1 $f4, 0x0028($s1) ## 00000028
/* 001F4 809B84D4 8FBF007C */ lw $ra, 0x007C($sp)
/* 001F8 809B84D8 D7B40030 */ ldc1 $f20, 0x0030($sp)
/* 001FC 809B84DC D7B60038 */ ldc1 $f22, 0x0038($sp)
/* 00200 809B84E0 D7B80040 */ ldc1 $f24, 0x0040($sp)
/* 00204 809B84E4 D7BA0048 */ ldc1 $f26, 0x0048($sp)
/* 00208 809B84E8 D7BC0050 */ ldc1 $f28, 0x0050($sp)
/* 0020C 809B84EC 8FB00058 */ lw $s0, 0x0058($sp)
/* 00210 809B84F0 8FB1005C */ lw $s1, 0x005C($sp)
/* 00214 809B84F4 8FB20060 */ lw $s2, 0x0060($sp)
/* 00218 809B84F8 8FB30064 */ lw $s3, 0x0064($sp)
/* 0021C 809B84FC 8FB40068 */ lw $s4, 0x0068($sp)
/* 00220 809B8500 8FB5006C */ lw $s5, 0x006C($sp)
/* 00224 809B8504 8FB60070 */ lw $s6, 0x0070($sp)
/* 00228 809B8508 8FB70074 */ lw $s7, 0x0074($sp)
/* 0022C 809B850C 8FBE0078 */ lw $s8, 0x0078($sp)
/* 00230 809B8510 03E00008 */ jr $ra
/* 00234 809B8514 27BD0080 */ addiu $sp, $sp, 0x0080 ## $sp = 00000000

View file

@ -1,22 +0,0 @@
glabel func_809B8518
/* 00238 809B8518 8C8E011C */ lw $t6, 0x011C($a0) ## 0000011C
/* 0023C 809B851C 00801025 */ or $v0, $a0, $zero ## $v0 = 00000000
/* 00240 809B8520 2406000B */ addiu $a2, $zero, 0x000B ## $a2 = 0000000B
/* 00244 809B8524 11C0000C */ beq $t6, $zero, .L809B8558
/* 00248 809B8528 24050069 */ addiu $a1, $zero, 0x0069 ## $a1 = 00000069
/* 0024C 809B852C 8C43011C */ lw $v1, 0x011C($v0) ## 0000011C
.L809B8530:
/* 00250 809B8530 846F0000 */ lh $t7, 0x0000($v1) ## 00000000
/* 00254 809B8534 54AF0005 */ bnel $a1, $t7, .L809B854C
/* 00258 809B8538 8C78011C */ lw $t8, 0x011C($v1) ## 0000011C
/* 0025C 809B853C AC600118 */ sw $zero, 0x0118($v1) ## 00000118
/* 00260 809B8540 AC40011C */ sw $zero, 0x011C($v0) ## 0000011C
/* 00264 809B8544 A466001C */ sh $a2, 0x001C($v1) ## 0000001C
/* 00268 809B8548 8C78011C */ lw $t8, 0x011C($v1) ## 0000011C
.L809B854C:
/* 0026C 809B854C 00601025 */ or $v0, $v1, $zero ## $v0 = 00000000
/* 00270 809B8550 5700FFF7 */ bnel $t8, $zero, .L809B8530
/* 00274 809B8554 8C43011C */ lw $v1, 0x011C($v0) ## 0000011C
.L809B8558:
/* 00278 809B8558 03E00008 */ jr $ra
/* 0027C 809B855C AC80011C */ sw $zero, 0x011C($a0) ## 0000011C

View file

@ -1,22 +0,0 @@
glabel func_809B8930
/* 00650 809B8930 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 00654 809B8934 AFBF0014 */ sw $ra, 0x0014($sp)
/* 00658 809B8938 44800000 */ mtc1 $zero, $f0 ## $f0 = 0.00
/* 0065C 809B893C 8C980004 */ lw $t8, 0x0004($a0) ## 00000004
/* 00660 809B8940 2401FFFE */ addiu $at, $zero, 0xFFFE ## $at = FFFFFFFE
/* 00664 809B8944 240E0002 */ addiu $t6, $zero, 0x0002 ## $t6 = 00000002
/* 00668 809B8948 240F0001 */ addiu $t7, $zero, 0x0001 ## $t7 = 00000001
/* 0066C 809B894C 3C05809C */ lui $a1, %hi(func_809B8984) ## $a1 = 809C0000
/* 00670 809B8950 0301C824 */ and $t9, $t8, $at
/* 00674 809B8954 AC8E0250 */ sw $t6, 0x0250($a0) ## 00000250
/* 00678 809B8958 AC8F025C */ sw $t7, 0x025C($a0) ## 0000025C
/* 0067C 809B895C AC990004 */ sw $t9, 0x0004($a0) ## 00000004
/* 00680 809B8960 24A58984 */ addiu $a1, $a1, %lo(func_809B8984) ## $a1 = 809B8984
/* 00684 809B8964 E4800060 */ swc1 $f0, 0x0060($a0) ## 00000060
/* 00688 809B8968 E480006C */ swc1 $f0, 0x006C($a0) ## 0000006C
/* 0068C 809B896C 0C26E0B8 */ jal func_809B82E0
/* 00690 809B8970 E4800068 */ swc1 $f0, 0x0068($a0) ## 00000068
/* 00694 809B8974 8FBF0014 */ lw $ra, 0x0014($sp)
/* 00698 809B8978 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
/* 0069C 809B897C 03E00008 */ jr $ra
/* 006A0 809B8980 00000000 */ nop

View file

@ -1,114 +0,0 @@
.late_rodata
glabel D_809BBC80
.float 0.1
glabel D_809BBC84
.float 0.1
.text
glabel func_809B8984
/* 006A4 809B8984 27BDFFD8 */ addiu $sp, $sp, 0xFFD8 ## $sp = FFFFFFD8
/* 006A8 809B8988 AFBF0024 */ sw $ra, 0x0024($sp)
/* 006AC 809B898C AFB00020 */ sw $s0, 0x0020($sp)
/* 006B0 809B8990 848E001C */ lh $t6, 0x001C($a0) ## 0000001C
/* 006B4 809B8994 2401000B */ addiu $at, $zero, 0x000B ## $at = 0000000B
/* 006B8 809B8998 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 006BC 809B899C 55C10009 */ bnel $t6, $at, .L809B89C4
/* 006C0 809B89A0 8E040260 */ lw $a0, 0x0260($s0) ## 00000260
/* 006C4 809B89A4 8C830118 */ lw $v1, 0x0118($a0) ## 00000118
/* 006C8 809B89A8 1460004C */ bne $v1, $zero, .L809B8ADC
/* 006CC 809B89AC 00000000 */ nop
/* 006D0 809B89B0 0C26E2C0 */ jal func_809B8B00
/* 006D4 809B89B4 00000000 */ nop
/* 006D8 809B89B8 10000048 */ beq $zero, $zero, .L809B8ADC
/* 006DC 809B89BC 8E030118 */ lw $v1, 0x0118($s0) ## 00000118
/* 006E0 809B89C0 8E040260 */ lw $a0, 0x0260($s0) ## 00000260
.L809B89C4:
/* 006E4 809B89C4 54800040 */ bnel $a0, $zero, .L809B8AC8
/* 006E8 809B89C8 8E030118 */ lw $v1, 0x0118($s0) ## 00000118
/* 006EC 809B89CC 8E0F0324 */ lw $t7, 0x0324($s0) ## 00000324
/* 006F0 809B89D0 44801000 */ mtc1 $zero, $f2 ## $f2 = 0.00
/* 006F4 809B89D4 3C01809C */ lui $at, %hi(D_809BBC80) ## $at = 809C0000
/* 006F8 809B89D8 C5E40288 */ lwc1 $f4, 0x0288($t7) ## 00000288
/* 006FC 809B89DC 46041032 */ c.eq.s $f2, $f4
/* 00700 809B89E0 00000000 */ nop
/* 00704 809B89E4 45030022 */ bc1tl .L809B8A70
/* 00708 809B89E8 9203029F */ lbu $v1, 0x029F($s0) ## 0000029F
/* 0070C 809B89EC C6000054 */ lwc1 $f0, 0x0054($s0) ## 00000054
/* 00710 809B89F0 C426BC80 */ lwc1 $f6, %lo(D_809BBC80)($at)
/* 00714 809B89F4 E7A20010 */ swc1 $f2, 0x0010($sp)
/* 00718 809B89F8 44050000 */ mfc1 $a1, $f0
/* 0071C 809B89FC 46060202 */ mul.s $f8, $f0, $f6
/* 00720 809B8A00 26040288 */ addiu $a0, $s0, 0x0288 ## $a0 = 00000288
/* 00724 809B8A04 3C063F80 */ lui $a2, 0x3F80 ## $a2 = 3F800000
/* 00728 809B8A08 44074000 */ mfc1 $a3, $f8
/* 0072C 809B8A0C 0C01E0C4 */ jal Math_SmoothStepToF
/* 00730 809B8A10 00000000 */ nop
/* 00734 809B8A14 3C01809C */ lui $at, %hi(D_809BBC84) ## $at = 809C0000
/* 00738 809B8A18 C42ABC84 */ lwc1 $f10, %lo(D_809BBC84)($at)
/* 0073C 809B8A1C C6000058 */ lwc1 $f0, 0x0058($s0) ## 00000058
/* 00740 809B8A20 44809000 */ mtc1 $zero, $f18 ## $f18 = 0.00
/* 00744 809B8A24 2604028C */ addiu $a0, $s0, 0x028C ## $a0 = 0000028C
/* 00748 809B8A28 460A0402 */ mul.s $f16, $f0, $f10
/* 0074C 809B8A2C 44050000 */ mfc1 $a1, $f0
/* 00750 809B8A30 3C063F80 */ lui $a2, 0x3F80 ## $a2 = 3F800000
/* 00754 809B8A34 E7B20010 */ swc1 $f18, 0x0010($sp)
/* 00758 809B8A38 44078000 */ mfc1 $a3, $f16
/* 0075C 809B8A3C 0C01E0C4 */ jal Math_SmoothStepToF
/* 00760 809B8A40 00000000 */ nop
/* 00764 809B8A44 9202029F */ lbu $v0, 0x029F($s0) ## 0000029F
/* 00768 809B8A48 8603026E */ lh $v1, 0x026E($s0) ## 0000026E
/* 0076C 809B8A4C 2458000A */ addiu $t8, $v0, 0x000A ## $t8 = 0000000A
/* 00770 809B8A50 10620013 */ beq $v1, $v0, .L809B8AA0
/* 00774 809B8A54 331900FF */ andi $t9, $t8, 0x00FF ## $t9 = 0000000A
/* 00778 809B8A58 0079082A */ slt $at, $v1, $t9
/* 0077C 809B8A5C 10200010 */ beq $at, $zero, .L809B8AA0
/* 00780 809B8A60 A218029F */ sb $t8, 0x029F($s0) ## 0000029F
/* 00784 809B8A64 1000000E */ beq $zero, $zero, .L809B8AA0
/* 00788 809B8A68 A203029F */ sb $v1, 0x029F($s0) ## 0000029F
/* 0078C 809B8A6C 9203029F */ lbu $v1, 0x029F($s0) ## 0000029F
.L809B8A70:
/* 00790 809B8A70 14600005 */ bne $v1, $zero, .L809B8A88
/* 00794 809B8A74 28610015 */ slti $at, $v1, 0x0015
/* 00798 809B8A78 0C00B55C */ jal Actor_Kill
/* 0079C 809B8A7C 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 007A0 809B8A80 1000001B */ beq $zero, $zero, .L809B8AF0
/* 007A4 809B8A84 8FBF0024 */ lw $ra, 0x0024($sp)
.L809B8A88:
/* 007A8 809B8A88 10200003 */ beq $at, $zero, .L809B8A98
/* 007AC 809B8A8C 00601025 */ or $v0, $v1, $zero ## $v0 = 00000000
/* 007B0 809B8A90 10000003 */ beq $zero, $zero, .L809B8AA0
/* 007B4 809B8A94 A200029F */ sb $zero, 0x029F($s0) ## 0000029F
.L809B8A98:
/* 007B8 809B8A98 2448FFEC */ addiu $t0, $v0, 0xFFEC ## $t0 = FFFFFFEC
/* 007BC 809B8A9C A208029F */ sb $t0, 0x029F($s0) ## 0000029F
.L809B8AA0:
/* 007C0 809B8AA0 8E090118 */ lw $t1, 0x0118($s0) ## 00000118
/* 007C4 809B8AA4 8E030118 */ lw $v1, 0x0118($s0) ## 00000118
/* 007C8 809B8AA8 8D2B0100 */ lw $t3, 0x0100($t1) ## 00000100
/* 007CC 809B8AAC AE0B0024 */ sw $t3, 0x0024($s0) ## 00000024
/* 007D0 809B8AB0 8D2A0104 */ lw $t2, 0x0104($t1) ## 00000104
/* 007D4 809B8AB4 AE0A0028 */ sw $t2, 0x0028($s0) ## 00000028
/* 007D8 809B8AB8 8D2B0108 */ lw $t3, 0x0108($t1) ## 00000108
/* 007DC 809B8ABC 10000007 */ beq $zero, $zero, .L809B8ADC
/* 007E0 809B8AC0 AE0B002C */ sw $t3, 0x002C($s0) ## 0000002C
/* 007E4 809B8AC4 8E030118 */ lw $v1, 0x0118($s0) ## 00000118
.L809B8AC8:
/* 007E8 809B8AC8 248CFFFF */ addiu $t4, $a0, 0xFFFF ## $t4 = FFFFFFFF
/* 007EC 809B8ACC AE0C0260 */ sw $t4, 0x0260($s0) ## 00000260
/* 007F0 809B8AD0 84620032 */ lh $v0, 0x0032($v1) ## 00000032
/* 007F4 809B8AD4 A6020032 */ sh $v0, 0x0032($s0) ## 00000032
/* 007F8 809B8AD8 A60200B6 */ sh $v0, 0x00B6($s0) ## 000000B6
.L809B8ADC:
/* 007FC 809B8ADC 50600004 */ beql $v1, $zero, .L809B8AF0
/* 00800 809B8AE0 8FBF0024 */ lw $ra, 0x0024($sp)
/* 00804 809B8AE4 C4640060 */ lwc1 $f4, 0x0060($v1) ## 00000060
/* 00808 809B8AE8 E6040060 */ swc1 $f4, 0x0060($s0) ## 00000060
/* 0080C 809B8AEC 8FBF0024 */ lw $ra, 0x0024($sp)
.L809B8AF0:
/* 00810 809B8AF0 8FB00020 */ lw $s0, 0x0020($sp)
/* 00814 809B8AF4 27BD0028 */ addiu $sp, $sp, 0x0028 ## $sp = 00000000
/* 00818 809B8AF8 03E00008 */ jr $ra
/* 0081C 809B8AFC 00000000 */ nop

View file

@ -1,39 +0,0 @@
glabel func_809B8B00
/* 00820 809B8B00 27BDFFD8 */ addiu $sp, $sp, 0xFFD8 ## $sp = FFFFFFD8
/* 00824 809B8B04 AFBF0024 */ sw $ra, 0x0024($sp)
/* 00828 809B8B08 AFB00020 */ sw $s0, 0x0020($sp)
/* 0082C 809B8B0C AFA5002C */ sw $a1, 0x002C($sp)
/* 00830 809B8B10 848E001C */ lh $t6, 0x001C($a0) ## 0000001C
/* 00834 809B8B14 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 00838 809B8B18 3C01C0E0 */ lui $at, 0xC0E0 ## $at = C0E00000
/* 0083C 809B8B1C 05C10012 */ bgez $t6, .L809B8B68
/* 00840 809B8B20 24180005 */ addiu $t8, $zero, 0x0005 ## $t8 = 00000005
/* 00844 809B8B24 849900B4 */ lh $t9, 0x00B4($a0) ## 000000B4
/* 00848 809B8B28 848F008A */ lh $t7, 0x008A($a0) ## 0000008A
/* 0084C 809B8B2C 44812000 */ mtc1 $at, $f4 ## $f4 = -7.00
/* 00850 809B8B30 27284E20 */ addiu $t0, $t9, 0x4E20 ## $t0 = 00004E20
/* 00854 809B8B34 AC980260 */ sw $t8, 0x0260($a0) ## 00000260
/* 00858 809B8B38 A48800B4 */ sh $t0, 0x00B4($a0) ## 000000B4
/* 0085C 809B8B3C A48F0032 */ sh $t7, 0x0032($a0) ## 00000032
/* 00860 809B8B40 E4840068 */ swc1 $f4, 0x0068($a0) ## 00000068
/* 00864 809B8B44 24090001 */ addiu $t1, $zero, 0x0001 ## $t1 = 00000001
/* 00868 809B8B48 240A0028 */ addiu $t2, $zero, 0x0028 ## $t2 = 00000028
/* 0086C 809B8B4C AFAA0014 */ sw $t2, 0x0014($sp)
/* 00870 809B8B50 AFA90010 */ sw $t1, 0x0010($sp)
/* 00874 809B8B54 8FA4002C */ lw $a0, 0x002C($sp)
/* 00878 809B8B58 260500E4 */ addiu $a1, $s0, 0x00E4 ## $a1 = 000000E4
/* 0087C 809B8B5C 240638CE */ addiu $a2, $zero, 0x38CE ## $a2 = 000038CE
/* 00880 809B8B60 0C00AA7D */ jal EffectSsDeadSound_SpawnStationary
/* 00884 809B8B64 24070001 */ addiu $a3, $zero, 0x0001 ## $a3 = 00000001
.L809B8B68:
/* 00888 809B8B68 240B0001 */ addiu $t3, $zero, 0x0001 ## $t3 = 00000001
/* 0088C 809B8B6C 3C05809C */ lui $a1, %hi(func_809B8B94) ## $a1 = 809C0000
/* 00890 809B8B70 AE0B0250 */ sw $t3, 0x0250($s0) ## 00000250
/* 00894 809B8B74 24A58B94 */ addiu $a1, $a1, %lo(func_809B8B94) ## $a1 = 809B8B94
/* 00898 809B8B78 0C26E0B8 */ jal func_809B82E0
/* 0089C 809B8B7C 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 008A0 809B8B80 8FBF0024 */ lw $ra, 0x0024($sp)
/* 008A4 809B8B84 8FB00020 */ lw $s0, 0x0020($sp)
/* 008A8 809B8B88 27BD0028 */ addiu $sp, $sp, 0x0028 ## $sp = 00000000
/* 008AC 809B8B8C 03E00008 */ jr $ra
/* 008B0 809B8B90 00000000 */ nop

View file

@ -1,108 +0,0 @@
glabel func_809B8B94
/* 008B4 809B8B94 27BDFFB0 */ addiu $sp, $sp, 0xFFB0 ## $sp = FFFFFFB0
/* 008B8 809B8B98 240E0003 */ addiu $t6, $zero, 0x0003 ## $t6 = 00000003
/* 008BC 809B8B9C 3C18809C */ lui $t8, %hi(D_809BBB38) ## $t8 = 809C0000
/* 008C0 809B8BA0 AFBF0024 */ sw $ra, 0x0024($sp)
/* 008C4 809B8BA4 AFB00020 */ sw $s0, 0x0020($sp)
/* 008C8 809B8BA8 AFA50054 */ sw $a1, 0x0054($sp)
/* 008CC 809B8BAC A7AE004E */ sh $t6, 0x004E($sp)
/* 008D0 809B8BB0 2718BB38 */ addiu $t8, $t8, %lo(D_809BBB38) ## $t8 = 809BBB38
/* 008D4 809B8BB4 8F080000 */ lw $t0, 0x0000($t8) ## 809BBB38
/* 008D8 809B8BB8 27AF0040 */ addiu $t7, $sp, 0x0040 ## $t7 = FFFFFFF0
/* 008DC 809B8BBC 8F190004 */ lw $t9, 0x0004($t8) ## 809BBB3C
/* 008E0 809B8BC0 ADE80000 */ sw $t0, 0x0000($t7) ## FFFFFFF0
/* 008E4 809B8BC4 8F080008 */ lw $t0, 0x0008($t8) ## 809BBB40
/* 008E8 809B8BC8 3C0A809C */ lui $t2, %hi(D_809BBB44) ## $t2 = 809C0000
/* 008EC 809B8BCC 254ABB44 */ addiu $t2, $t2, %lo(D_809BBB44) ## $t2 = 809BBB44
/* 008F0 809B8BD0 ADF90004 */ sw $t9, 0x0004($t7) ## FFFFFFF4
/* 008F4 809B8BD4 ADE80008 */ sw $t0, 0x0008($t7) ## FFFFFFF8
/* 008F8 809B8BD8 8D4C0000 */ lw $t4, 0x0000($t2) ## 809BBB44
/* 008FC 809B8BDC 27A90034 */ addiu $t1, $sp, 0x0034 ## $t1 = FFFFFFE4
/* 00900 809B8BE0 8D4B0004 */ lw $t3, 0x0004($t2) ## 809BBB48
/* 00904 809B8BE4 AD2C0000 */ sw $t4, 0x0000($t1) ## FFFFFFE4
/* 00908 809B8BE8 8D4C0008 */ lw $t4, 0x0008($t2) ## 809BBB4C
/* 0090C 809B8BEC AD2B0004 */ sw $t3, 0x0004($t1) ## FFFFFFE8
/* 00910 809B8BF0 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 00914 809B8BF4 AD2C0008 */ sw $t4, 0x0008($t1) ## FFFFFFEC
/* 00918 809B8BF8 848D001C */ lh $t5, 0x001C($a0) ## 0000001C
/* 0091C 809B8BFC 24840288 */ addiu $a0, $a0, 0x0288 ## $a0 = 00000288
/* 00920 809B8C00 05A30033 */ bgezl $t5, .L809B8CD0
/* 00924 809B8C04 9202029F */ lbu $v0, 0x029F($s0) ## 0000029F
/* 00928 809B8C08 44800000 */ mtc1 $zero, $f0 ## $f0 = 0.00
/* 0092C 809B8C0C 3C063F80 */ lui $a2, 0x3F80 ## $a2 = 3F800000
/* 00930 809B8C10 3C0741F0 */ lui $a3, 0x41F0 ## $a3 = 41F00000
/* 00934 809B8C14 44050000 */ mfc1 $a1, $f0
/* 00938 809B8C18 0C01E0C4 */ jal Math_SmoothStepToF
/* 0093C 809B8C1C E7A00010 */ swc1 $f0, 0x0010($sp)
/* 00940 809B8C20 44800000 */ mtc1 $zero, $f0 ## $f0 = 0.00
/* 00944 809B8C24 2604028C */ addiu $a0, $s0, 0x028C ## $a0 = 0000028C
/* 00948 809B8C28 3C063F80 */ lui $a2, 0x3F80 ## $a2 = 3F800000
/* 0094C 809B8C2C 44050000 */ mfc1 $a1, $f0
/* 00950 809B8C30 3C0741F0 */ lui $a3, 0x41F0 ## $a3 = 41F00000
/* 00954 809B8C34 0C01E0C4 */ jal Math_SmoothStepToF
/* 00958 809B8C38 E7A00010 */ swc1 $f0, 0x0010($sp)
/* 0095C 809B8C3C 8E020260 */ lw $v0, 0x0260($s0) ## 00000260
/* 00960 809B8C40 50400008 */ beql $v0, $zero, .L809B8C64
/* 00964 809B8C44 8E19031C */ lw $t9, 0x031C($s0) ## 0000031C
/* 00968 809B8C48 860F00B4 */ lh $t7, 0x00B4($s0) ## 000000B4
/* 0096C 809B8C4C 244EFFFF */ addiu $t6, $v0, 0xFFFF ## $t6 = FFFFFFFF
/* 00970 809B8C50 AE0E0260 */ sw $t6, 0x0260($s0) ## 00000260
/* 00974 809B8C54 25F8B1E0 */ addiu $t8, $t7, 0xB1E0 ## $t8 = FFFFB1E0
/* 00978 809B8C58 10000028 */ beq $zero, $zero, .L809B8CFC
/* 0097C 809B8C5C A61800B4 */ sh $t8, 0x00B4($s0) ## 000000B4
/* 00980 809B8C60 8E19031C */ lw $t9, 0x031C($s0) ## 0000031C
.L809B8C64:
/* 00984 809B8C64 2604030C */ addiu $a0, $s0, 0x030C ## $a0 = 0000030C
/* 00988 809B8C68 2405000C */ addiu $a1, $zero, 0x000C ## $a1 = 0000000C
/* 0098C 809B8C6C 57200004 */ bnel $t9, $zero, .L809B8C80
/* 00990 809B8C70 920202AA */ lbu $v0, 0x02AA($s0) ## 000002AA
/* 00994 809B8C74 0C00CB89 */ jal func_80032E24
/* 00998 809B8C78 8FA60054 */ lw $a2, 0x0054($sp)
/* 0099C 809B8C7C 920202AA */ lbu $v0, 0x02AA($s0) ## 000002AA
.L809B8C80:
/* 009A0 809B8C80 24010007 */ addiu $at, $zero, 0x0007 ## $at = 00000007
/* 009A4 809B8C84 2605030C */ addiu $a1, $s0, 0x030C ## $a1 = 0000030C
/* 009A8 809B8C88 10410003 */ beq $v0, $at, .L809B8C98
/* 009AC 809B8C8C 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 009B0 809B8C90 24010005 */ addiu $at, $zero, 0x0005 ## $at = 00000005
/* 009B4 809B8C94 14410002 */ bne $v0, $at, .L809B8CA0
.L809B8C98:
/* 009B8 809B8C98 2408000B */ addiu $t0, $zero, 0x000B ## $t0 = 0000000B
/* 009BC 809B8C9C A7A8004E */ sh $t0, 0x004E($sp)
.L809B8CA0:
/* 009C0 809B8CA0 8FA60054 */ lw $a2, 0x0054($sp)
/* 009C4 809B8CA4 0C00CC17 */ jal func_8003305C
/* 009C8 809B8CA8 87A7004E */ lh $a3, 0x004E($sp)
/* 009CC 809B8CAC 10400013 */ beq $v0, $zero, .L809B8CFC
/* 009D0 809B8CB0 8FA40054 */ lw $a0, 0x0054($sp)
/* 009D4 809B8CB4 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000
/* 009D8 809B8CB8 26060024 */ addiu $a2, $s0, 0x0024 ## $a2 = 00000024
/* 009DC 809B8CBC 0C007E50 */ jal Item_DropCollectibleRandom
/* 009E0 809B8CC0 240700D0 */ addiu $a3, $zero, 0x00D0 ## $a3 = 000000D0
/* 009E4 809B8CC4 1000000B */ beq $zero, $zero, .L809B8CF4
/* 009E8 809B8CC8 00000000 */ nop
/* 009EC 809B8CCC 9202029F */ lbu $v0, 0x029F($s0) ## 0000029F
.L809B8CD0:
/* 009F0 809B8CD0 10400008 */ beq $v0, $zero, .L809B8CF4
/* 009F4 809B8CD4 28410015 */ slti $at, $v0, 0x0015
/* 009F8 809B8CD8 10200003 */ beq $at, $zero, .L809B8CE8
/* 009FC 809B8CDC 00401825 */ or $v1, $v0, $zero ## $v1 = 00000000
/* 00A00 809B8CE0 10000006 */ beq $zero, $zero, .L809B8CFC
/* 00A04 809B8CE4 A200029F */ sb $zero, 0x029F($s0) ## 0000029F
.L809B8CE8:
/* 00A08 809B8CE8 2469FFEC */ addiu $t1, $v1, 0xFFEC ## $t1 = FFFFFFEC
/* 00A0C 809B8CEC 10000003 */ beq $zero, $zero, .L809B8CFC
/* 00A10 809B8CF0 A209029F */ sb $t1, 0x029F($s0) ## 0000029F
.L809B8CF4:
/* 00A14 809B8CF4 0C00B55C */ jal Actor_Kill
/* 00A18 809B8CF8 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
.L809B8CFC:
/* 00A1C 809B8CFC 8FBF0024 */ lw $ra, 0x0024($sp)
/* 00A20 809B8D00 8FB00020 */ lw $s0, 0x0020($sp)
/* 00A24 809B8D04 27BD0050 */ addiu $sp, $sp, 0x0050 ## $sp = 00000000
/* 00A28 809B8D08 03E00008 */ jr $ra
/* 00A2C 809B8D0C 00000000 */ nop

View file

@ -1,57 +0,0 @@
.late_rodata
glabel D_809BBC88
.float 1500.0
.text
glabel func_809B8D10
/* 00A30 809B8D10 27BDFFD8 */ addiu $sp, $sp, 0xFFD8 ## $sp = FFFFFFD8
/* 00A34 809B8D14 AFBF0024 */ sw $ra, 0x0024($sp)
/* 00A38 809B8D18 AFB00020 */ sw $s0, 0x0020($sp)
/* 00A3C 809B8D1C 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 00A40 809B8D20 AC800250 */ sw $zero, 0x0250($a0) ## 00000250
/* 00A44 809B8D24 0C00BE0A */ jal Audio_PlayActorSound2
/* 00A48 809B8D28 240538E3 */ addiu $a1, $zero, 0x38E3 ## $a1 = 000038E3
/* 00A4C 809B8D2C 8602001C */ lh $v0, 0x001C($s0) ## 0000001C
/* 00A50 809B8D30 2841FFFD */ slti $at, $v0, 0xFFFD
/* 00A54 809B8D34 5420000F */ bnel $at, $zero, .L809B8D74
/* 00A58 809B8D38 2401FFFE */ addiu $at, $zero, 0xFFFE ## $at = FFFFFFFE
/* 00A5C 809B8D3C 960F0088 */ lhu $t7, 0x0088($s0) ## 00000088
/* 00A60 809B8D40 860E008A */ lh $t6, 0x008A($s0) ## 0000008A
/* 00A64 809B8D44 3C01C0E0 */ lui $at, 0xC0E0 ## $at = C0E00000
/* 00A68 809B8D48 31F80008 */ andi $t8, $t7, 0x0008 ## $t8 = 00000000
/* 00A6C 809B8D4C 17000004 */ bne $t8, $zero, .L809B8D60
/* 00A70 809B8D50 A60E0032 */ sh $t6, 0x0032($s0) ## 00000032
/* 00A74 809B8D54 44812000 */ mtc1 $at, $f4 ## $f4 = -7.00
/* 00A78 809B8D58 00000000 */ nop
/* 00A7C 809B8D5C E6040068 */ swc1 $f4, 0x0068($s0) ## 00000068
.L809B8D60:
/* 00A80 809B8D60 3C01809C */ lui $at, %hi(D_809BBC88) ## $at = 809C0000
/* 00A84 809B8D64 C426BC88 */ lwc1 $f6, %lo(D_809BBC88)($at)
/* 00A88 809B8D68 8602001C */ lh $v0, 0x001C($s0) ## 0000001C
/* 00A8C 809B8D6C E60600BC */ swc1 $f6, 0x00BC($s0) ## 000000BC
/* 00A90 809B8D70 2401FFFE */ addiu $at, $zero, 0xFFFE ## $at = FFFFFFFE
.L809B8D74:
/* 00A94 809B8D74 54410004 */ bnel $v0, $at, .L809B8D88
/* 00A98 809B8D78 2419000C */ addiu $t9, $zero, 0x000C ## $t9 = 0000000C
/* 00A9C 809B8D7C 0C26E146 */ jal func_809B8518
/* 00AA0 809B8D80 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00AA4 809B8D84 2419000C */ addiu $t9, $zero, 0x000C ## $t9 = 0000000C
.L809B8D88:
/* 00AA8 809B8D88 AFB90010 */ sw $t9, 0x0010($sp)
/* 00AAC 809B8D8C 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00AB0 809B8D90 24054000 */ addiu $a1, $zero, 0x4000 ## $a1 = 00004000
/* 00AB4 809B8D94 240600FF */ addiu $a2, $zero, 0x00FF ## $a2 = 000000FF
/* 00AB8 809B8D98 0C00D09B */ jal func_8003426C
/* 00ABC 809B8D9C 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 00AC0 809B8DA0 24080005 */ addiu $t0, $zero, 0x0005 ## $t0 = 00000005
/* 00AC4 809B8DA4 3C05809C */ lui $a1, %hi(func_809B8DCC) ## $a1 = 809C0000
/* 00AC8 809B8DA8 AE080260 */ sw $t0, 0x0260($s0) ## 00000260
/* 00ACC 809B8DAC 24A58DCC */ addiu $a1, $a1, %lo(func_809B8DCC) ## $a1 = 809B8DCC
/* 00AD0 809B8DB0 0C26E0B8 */ jal func_809B82E0
/* 00AD4 809B8DB4 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00AD8 809B8DB8 8FBF0024 */ lw $ra, 0x0024($sp)
/* 00ADC 809B8DBC 8FB00020 */ lw $s0, 0x0020($sp)
/* 00AE0 809B8DC0 27BD0028 */ addiu $sp, $sp, 0x0028 ## $sp = 00000000
/* 00AE4 809B8DC4 03E00008 */ jr $ra
/* 00AE8 809B8DC8 00000000 */ nop

View file

@ -1,29 +0,0 @@
glabel func_809B8DCC
/* 00AEC 809B8DCC 44800000 */ mtc1 $zero, $f0 ## $f0 = 0.00
/* 00AF0 809B8DD0 27BDFFE0 */ addiu $sp, $sp, 0xFFE0 ## $sp = FFFFFFE0
/* 00AF4 809B8DD4 AFA50024 */ sw $a1, 0x0024($sp)
/* 00AF8 809B8DD8 AFBF001C */ sw $ra, 0x001C($sp)
/* 00AFC 809B8DDC AFA40020 */ sw $a0, 0x0020($sp)
/* 00B00 809B8DE0 44050000 */ mfc1 $a1, $f0
/* 00B04 809B8DE4 24840068 */ addiu $a0, $a0, 0x0068 ## $a0 = 00000068
/* 00B08 809B8DE8 3C063F80 */ lui $a2, 0x3F80 ## $a2 = 3F800000
/* 00B0C 809B8DEC 3C073F00 */ lui $a3, 0x3F00 ## $a3 = 3F000000
/* 00B10 809B8DF0 0C01E0C4 */ jal Math_SmoothStepToF
/* 00B14 809B8DF4 E7A00010 */ swc1 $f0, 0x0010($sp)
/* 00B18 809B8DF8 8FA40020 */ lw $a0, 0x0020($sp)
/* 00B1C 809B8DFC 44802000 */ mtc1 $zero, $f4 ## $f4 = 0.00
/* 00B20 809B8E00 3C014348 */ lui $at, 0x4348 ## $at = 43480000
/* 00B24 809B8E04 C4860068 */ lwc1 $f6, 0x0068($a0) ## 00000068
/* 00B28 809B8E08 46062032 */ c.eq.s $f4, $f6
/* 00B2C 809B8E0C 00000000 */ nop
/* 00B30 809B8E10 45020005 */ bc1fl .L809B8E28
/* 00B34 809B8E14 8FBF001C */ lw $ra, 0x001C($sp)
/* 00B38 809B8E18 44814000 */ mtc1 $at, $f8 ## $f8 = 200.00
/* 00B3C 809B8E1C 0C26E5BB */ jal func_809B96EC
/* 00B40 809B8E20 E48800BC */ swc1 $f8, 0x00BC($a0) ## 000000BC
/* 00B44 809B8E24 8FBF001C */ lw $ra, 0x001C($sp)
.L809B8E28:
/* 00B48 809B8E28 27BD0020 */ addiu $sp, $sp, 0x0020 ## $sp = 00000000
/* 00B4C 809B8E2C 03E00008 */ jr $ra
/* 00B50 809B8E30 00000000 */ nop

View file

@ -1,52 +0,0 @@
glabel func_809B8E34
/* 00B54 809B8E34 27BDFFE0 */ addiu $sp, $sp, 0xFFE0 ## $sp = FFFFFFE0
/* 00B58 809B8E38 AFB00018 */ sw $s0, 0x0018($sp)
/* 00B5C 809B8E3C 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 00B60 809B8E40 AFBF001C */ sw $ra, 0x001C($sp)
/* 00B64 809B8E44 3C050600 */ lui $a1, %hi(D_06000444) ## $a1 = 06000000
/* 00B68 809B8E48 24A50444 */ addiu $a1, $a1, %lo(D_06000444) ## $a1 = 06000444
/* 00B6C 809B8E4C 0C0294BE */ jal SkelAnime_ChangeAnimDefaultRepeat
/* 00B70 809B8E50 2484014C */ addiu $a0, $a0, 0x014C ## $a0 = 0000014C
/* 00B74 809B8E54 0C03F66B */ jal Rand_ZeroOne
## Rand.Next() float
/* 00B78 809B8E58 00000000 */ nop
/* 00B7C 809B8E5C 3C013F00 */ lui $at, 0x3F00 ## $at = 3F000000
/* 00B80 809B8E60 44811000 */ mtc1 $at, $f2 ## $f2 = 0.50
/* 00B84 809B8E64 00000000 */ nop
/* 00B88 809B8E68 46020102 */ mul.s $f4, $f0, $f2
/* 00B8C 809B8E6C 46022180 */ add.s $f6, $f4, $f2
/* 00B90 809B8E70 0C03F66B */ jal Rand_ZeroOne
## Rand.Next() float
/* 00B94 809B8E74 E6060068 */ swc1 $f6, 0x0068($s0) ## 00000068
/* 00B98 809B8E78 3C0141A0 */ lui $at, 0x41A0 ## $at = 41A00000
/* 00B9C 809B8E7C 44814000 */ mtc1 $at, $f8 ## $f8 = 20.00
/* 00BA0 809B8E80 3C014220 */ lui $at, 0x4220 ## $at = 42200000
/* 00BA4 809B8E84 44818000 */ mtc1 $at, $f16 ## $f16 = 40.00
/* 00BA8 809B8E88 46080282 */ mul.s $f10, $f0, $f8
/* 00BAC 809B8E8C 46105480 */ add.s $f18, $f10, $f16
/* 00BB0 809B8E90 4600910D */ trunc.w.s $f4, $f18
/* 00BB4 809B8E94 440F2000 */ mfc1 $t7, $f4
/* 00BB8 809B8E98 0C03F66B */ jal Rand_ZeroOne
## Rand.Next() float
/* 00BBC 809B8E9C AE0F0260 */ sw $t7, 0x0260($s0) ## 00000260
/* 00BC0 809B8EA0 3C0141F0 */ lui $at, 0x41F0 ## $at = 41F00000
/* 00BC4 809B8EA4 44813000 */ mtc1 $at, $f6 ## $f6 = 30.00
/* 00BC8 809B8EA8 3C014334 */ lui $at, 0x4334 ## $at = 43340000
/* 00BCC 809B8EAC 44815000 */ mtc1 $at, $f10 ## $f10 = 180.00
/* 00BD0 809B8EB0 46060202 */ mul.s $f8, $f0, $f6
/* 00BD4 809B8EB4 24080006 */ addiu $t0, $zero, 0x0006 ## $t0 = 00000006
/* 00BD8 809B8EB8 3C05809C */ lui $a1, %hi(func_809B8EF4) ## $a1 = 809C0000
/* 00BDC 809B8EBC AE000324 */ sw $zero, 0x0324($s0) ## 00000324
/* 00BE0 809B8EC0 AE080250 */ sw $t0, 0x0250($s0) ## 00000250
/* 00BE4 809B8EC4 24A58EF4 */ addiu $a1, $a1, %lo(func_809B8EF4) ## $a1 = 809B8EF4
/* 00BE8 809B8EC8 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00BEC 809B8ECC 460A4400 */ add.s $f16, $f8, $f10
/* 00BF0 809B8ED0 4600848D */ trunc.w.s $f18, $f16
/* 00BF4 809B8ED4 44199000 */ mfc1 $t9, $f18
/* 00BF8 809B8ED8 0C26E0B8 */ jal func_809B82E0
/* 00BFC 809B8EDC AE190264 */ sw $t9, 0x0264($s0) ## 00000264
/* 00C00 809B8EE0 8FBF001C */ lw $ra, 0x001C($sp)
/* 00C04 809B8EE4 8FB00018 */ lw $s0, 0x0018($sp)
/* 00C08 809B8EE8 27BD0020 */ addiu $sp, $sp, 0x0020 ## $sp = 00000000
/* 00C0C 809B8EEC 03E00008 */ jr $ra
/* 00C10 809B8EF0 00000000 */ nop

View file

@ -1,583 +0,0 @@
.late_rodata
glabel D_809BBC8C
.float 0.2
glabel D_809BBC90
.float 65535.0
glabel D_809BBC94
.float 0.1
.text
glabel func_809B8EF4
/* 00C14 809B8EF4 27BDFFB0 */ addiu $sp, $sp, 0xFFB0 ## $sp = FFFFFFB0
/* 00C18 809B8EF8 44802000 */ mtc1 $zero, $f4 ## $f4 = 0.00
/* 00C1C 809B8EFC AFB00020 */ sw $s0, 0x0020($sp)
/* 00C20 809B8F00 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 00C24 809B8F04 AFBF0024 */ sw $ra, 0x0024($sp)
/* 00C28 809B8F08 AFA50054 */ sw $a1, 0x0054($sp)
/* 00C2C 809B8F0C 3C0542A0 */ lui $a1, 0x42A0 ## $a1 = 42A00000
/* 00C30 809B8F10 24840288 */ addiu $a0, $a0, 0x0288 ## $a0 = 00000288
/* 00C34 809B8F14 3C063F80 */ lui $a2, 0x3F80 ## $a2 = 3F800000
/* 00C38 809B8F18 3C074120 */ lui $a3, 0x4120 ## $a3 = 41200000
/* 00C3C 809B8F1C 0C01E0C4 */ jal Math_SmoothStepToF
/* 00C40 809B8F20 E7A40010 */ swc1 $f4, 0x0010($sp)
/* 00C44 809B8F24 44803000 */ mtc1 $zero, $f6 ## $f6 = 0.00
/* 00C48 809B8F28 2604028C */ addiu $a0, $s0, 0x028C ## $a0 = 0000028C
/* 00C4C 809B8F2C 3C0542C8 */ lui $a1, 0x42C8 ## $a1 = 42C80000
/* 00C50 809B8F30 3C063F80 */ lui $a2, 0x3F80 ## $a2 = 3F800000
/* 00C54 809B8F34 3C074120 */ lui $a3, 0x4120 ## $a3 = 41200000
/* 00C58 809B8F38 0C01E0C4 */ jal Math_SmoothStepToF
/* 00C5C 809B8F3C E7A60010 */ swc1 $f6, 0x0010($sp)
/* 00C60 809B8F40 3C01C6FA */ lui $at, 0xC6FA ## $at = C6FA0000
/* 00C64 809B8F44 44814000 */ mtc1 $at, $f8 ## $f8 = -32000.00
/* 00C68 809B8F48 C6020080 */ lwc1 $f2, 0x0080($s0) ## 00000080
/* 00C6C 809B8F4C 4602403C */ c.lt.s $f8, $f2
/* 00C70 809B8F50 00000000 */ nop
/* 00C74 809B8F54 4500000D */ bc1f .L809B8F8C
/* 00C78 809B8F58 3C014248 */ lui $at, 0x4248 ## $at = 42480000
/* 00C7C 809B8F5C 44815000 */ mtc1 $at, $f10 ## $f10 = 50.00
/* 00C80 809B8F60 C6120280 */ lwc1 $f18, 0x0280($s0) ## 00000280
/* 00C84 809B8F64 44803000 */ mtc1 $zero, $f6 ## $f6 = 0.00
/* 00C88 809B8F68 460A1400 */ add.s $f16, $f2, $f10
/* 00C8C 809B8F6C 26040028 */ addiu $a0, $s0, 0x0028 ## $a0 = 00000028
/* 00C90 809B8F70 3C063F80 */ lui $a2, 0x3F80 ## $a2 = 3F800000
/* 00C94 809B8F74 3C073F00 */ lui $a3, 0x3F00 ## $a3 = 3F000000
/* 00C98 809B8F78 46128100 */ add.s $f4, $f16, $f18
/* 00C9C 809B8F7C E7A60010 */ swc1 $f6, 0x0010($sp)
/* 00CA0 809B8F80 44052000 */ mfc1 $a1, $f4
/* 00CA4 809B8F84 0C01E0C4 */ jal Math_SmoothStepToF
/* 00CA8 809B8F88 00000000 */ nop
.L809B8F8C:
/* 00CAC 809B8F8C 2604014C */ addiu $a0, $s0, 0x014C ## $a0 = 0000014C
/* 00CB0 809B8F90 0C02927F */ jal SkelAnime_FrameUpdateMatrix
/* 00CB4 809B8F94 AFA40034 */ sw $a0, 0x0034($sp)
/* 00CB8 809B8F98 0C0329DD */ jal Math_CosF
/* 00CBC 809B8F9C C60C0274 */ lwc1 $f12, 0x0274($s0) ## 00000274
/* 00CC0 809B8FA0 44804000 */ mtc1 $zero, $f8 ## $f8 = 0.00
/* 00CC4 809B8FA4 00000000 */ nop
/* 00CC8 809B8FA8 46080032 */ c.eq.s $f0, $f8
/* 00CCC 809B8FAC 00000000 */ nop
/* 00CD0 809B8FB0 45000010 */ bc1f .L809B8FF4
/* 00CD4 809B8FB4 00000000 */ nop
/* 00CD8 809B8FB8 860E026A */ lh $t6, 0x026A($s0) ## 0000026A
/* 00CDC 809B8FBC 11C00006 */ beq $t6, $zero, .L809B8FD8
/* 00CE0 809B8FC0 00000000 */ nop
/* 00CE4 809B8FC4 0C03F66B */ jal Rand_ZeroOne
## Rand.Next() float
/* 00CE8 809B8FC8 00000000 */ nop
/* 00CEC 809B8FCC 46000280 */ add.s $f10, $f0, $f0
/* 00CF0 809B8FD0 10000008 */ beq $zero, $zero, .L809B8FF4
/* 00CF4 809B8FD4 E60A0284 */ swc1 $f10, 0x0284($s0) ## 00000284
.L809B8FD8:
/* 00CF8 809B8FD8 0C03F66B */ jal Rand_ZeroOne
## Rand.Next() float
/* 00CFC 809B8FDC 00000000 */ nop
/* 00D00 809B8FE0 3C014080 */ lui $at, 0x4080 ## $at = 40800000
/* 00D04 809B8FE4 44818000 */ mtc1 $at, $f16 ## $f16 = 4.00
/* 00D08 809B8FE8 00000000 */ nop
/* 00D0C 809B8FEC 46100482 */ mul.s $f18, $f0, $f16
/* 00D10 809B8FF0 E6120284 */ swc1 $f18, 0x0284($s0) ## 00000284
.L809B8FF4:
/* 00D14 809B8FF4 0C0329DD */ jal Math_CosF
/* 00D18 809B8FF8 C60C0274 */ lwc1 $f12, 0x0274($s0) ## 00000274
/* 00D1C 809B8FFC 3C013F80 */ lui $at, 0x3F80 ## $at = 3F800000
/* 00D20 809B9000 44811000 */ mtc1 $at, $f2 ## $f2 = 1.00
/* 00D24 809B9004 C6060284 */ lwc1 $f6, 0x0284($s0) ## 00000284
/* 00D28 809B9008 C6040028 */ lwc1 $f4, 0x0028($s0) ## 00000028
/* 00D2C 809B900C 3C01809C */ lui $at, %hi(D_809BBC8C) ## $at = 809C0000
/* 00D30 809B9010 46061200 */ add.s $f8, $f2, $f6
/* 00D34 809B9014 C6120274 */ lwc1 $f18, 0x0274($s0) ## 00000274
/* 00D38 809B9018 8E05027C */ lw $a1, 0x027C($s0) ## 0000027C
/* 00D3C 809B901C 44061000 */ mfc1 $a2, $f2
/* 00D40 809B9020 46080282 */ mul.s $f10, $f0, $f8
/* 00D44 809B9024 26040068 */ addiu $a0, $s0, 0x0068 ## $a0 = 00000068
/* 00D48 809B9028 3C073F00 */ lui $a3, 0x3F00 ## $a3 = 3F000000
/* 00D4C 809B902C 460A2400 */ add.s $f16, $f4, $f10
/* 00D50 809B9030 44802000 */ mtc1 $zero, $f4 ## $f4 = 0.00
/* 00D54 809B9034 E6100028 */ swc1 $f16, 0x0028($s0) ## 00000028
/* 00D58 809B9038 C426BC8C */ lwc1 $f6, %lo(D_809BBC8C)($at)
/* 00D5C 809B903C 46069200 */ add.s $f8, $f18, $f6
/* 00D60 809B9040 E6080274 */ swc1 $f8, 0x0274($s0) ## 00000274
/* 00D64 809B9044 0C01E0C4 */ jal Math_SmoothStepToF
/* 00D68 809B9048 E7A40010 */ swc1 $f4, 0x0010($sp)
/* 00D6C 809B904C 26040024 */ addiu $a0, $s0, 0x0024 ## $a0 = 00000024
/* 00D70 809B9050 26050008 */ addiu $a1, $s0, 0x0008 ## $a1 = 00000008
/* 00D74 809B9054 AFA5002C */ sw $a1, 0x002C($sp)
/* 00D78 809B9058 0C01E00A */ jal Math_Vec3f_DistXZ
/* 00D7C 809B905C AFA40030 */ sw $a0, 0x0030($sp)
/* 00D80 809B9060 3C014396 */ lui $at, 0x4396 ## $at = 43960000
/* 00D84 809B9064 44815000 */ mtc1 $at, $f10 ## $f10 = 300.00
/* 00D88 809B9068 8FA5002C */ lw $a1, 0x002C($sp)
/* 00D8C 809B906C 4600503C */ c.lt.s $f10, $f0
/* 00D90 809B9070 00000000 */ nop
/* 00D94 809B9074 4502000E */ bc1fl .L809B90B0
/* 00D98 809B9078 8E0F0260 */ lw $t7, 0x0260($s0) ## 00000260
/* 00D9C 809B907C 0C01E01A */ jal Math_Vec3f_Yaw
/* 00DA0 809B9080 8FA40030 */ lw $a0, 0x0030($sp)
/* 00DA4 809B9084 A602026E */ sh $v0, 0x026E($s0) ## 0000026E
/* 00DA8 809B9088 8605026E */ lh $a1, 0x026E($s0) ## 0000026E
/* 00DAC 809B908C 26040032 */ addiu $a0, $s0, 0x0032 ## $a0 = 00000032
/* 00DB0 809B9090 AFA4002C */ sw $a0, 0x002C($sp)
/* 00DB4 809B9094 AFA00010 */ sw $zero, 0x0010($sp)
/* 00DB8 809B9098 24060001 */ addiu $a2, $zero, 0x0001 ## $a2 = 00000001
/* 00DBC 809B909C 0C01E1A7 */ jal Math_SmoothStepToS
/* 00DC0 809B90A0 240707D0 */ addiu $a3, $zero, 0x07D0 ## $a3 = 000007D0
/* 00DC4 809B90A4 1000011F */ beq $zero, $zero, .L809B9524
/* 00DC8 809B90A8 8605026E */ lh $a1, 0x026E($s0) ## 0000026E
/* 00DCC 809B90AC 8E0F0260 */ lw $t7, 0x0260($s0) ## 00000260
.L809B90B0:
/* 00DD0 809B90B0 25F8FFFF */ addiu $t8, $t7, 0xFFFF ## $t8 = FFFFFFFF
/* 00DD4 809B90B4 1F00005C */ bgtz $t8, .L809B9228
/* 00DD8 809B90B8 AE180260 */ sw $t8, 0x0260($s0) ## 00000260
/* 00DDC 809B90BC 860A026A */ lh $t2, 0x026A($s0) ## 0000026A
/* 00DE0 809B90C0 C60C0274 */ lwc1 $f12, 0x0274($s0) ## 00000274
/* 00DE4 809B90C4 394B0001 */ xori $t3, $t2, 0x0001 ## $t3 = 00000001
/* 00DE8 809B90C8 0C0329DD */ jal Math_CosF
/* 00DEC 809B90CC A60B026A */ sh $t3, 0x026A($s0) ## 0000026A
/* 00DF0 809B90D0 3C014120 */ lui $at, 0x4120 ## $at = 41200000
/* 00DF4 809B90D4 44818000 */ mtc1 $at, $f16 ## $f16 = 10.00
/* 00DF8 809B90D8 8618026A */ lh $t8, 0x026A($s0) ## 0000026A
/* 00DFC 809B90DC 44805000 */ mtc1 $zero, $f10 ## $f10 = 0.00
/* 00E00 809B90E0 46100482 */ mul.s $f18, $f0, $f16
/* 00E04 809B90E4 3C050600 */ lui $a1, %hi(D_06000444) ## $a1 = 06000000
/* 00E08 809B90E8 24A50444 */ addiu $a1, $a1, %lo(D_06000444) ## $a1 = 06000444
/* 00E0C 809B90EC E60A0068 */ swc1 $f10, 0x0068($s0) ## 00000068
/* 00E10 809B90F0 4600918D */ trunc.w.s $f6, $f18
/* 00E14 809B90F4 440D3000 */ mfc1 $t5, $f6
/* 00E18 809B90F8 00000000 */ nop
/* 00E1C 809B90FC 000D7400 */ sll $t6, $t5, 16
/* 00E20 809B9100 000E7C03 */ sra $t7, $t6, 16
/* 00E24 809B9104 448F4000 */ mtc1 $t7, $f8 ## $f8 = 0.00
/* 00E28 809B9108 00000000 */ nop
/* 00E2C 809B910C 46804120 */ cvt.s.w $f4, $f8
/* 00E30 809B9110 13000027 */ beq $t8, $zero, .L809B91B0
/* 00E34 809B9114 E6040280 */ swc1 $f4, 0x0280($s0) ## 00000280
/* 00E38 809B9118 8E190324 */ lw $t9, 0x0324($s0) ## 00000324
/* 00E3C 809B911C 3C014348 */ lui $at, 0x4348 ## $at = 43480000
/* 00E40 809B9120 17200023 */ bne $t9, $zero, .L809B91B0
/* 00E44 809B9124 00000000 */ nop
/* 00E48 809B9128 C6100090 */ lwc1 $f16, 0x0090($s0) ## 00000090
/* 00E4C 809B912C 44819000 */ mtc1 $at, $f18 ## $f18 = 200.00
/* 00E50 809B9130 860A0032 */ lh $t2, 0x0032($s0) ## 00000032
/* 00E54 809B9134 3C050600 */ lui $a1, %hi(D_06000184) ## $a1 = 06000000
/* 00E58 809B9138 4612803C */ c.lt.s $f16, $f18
/* 00E5C 809B913C A60A026E */ sh $t2, 0x026E($s0) ## 0000026E
/* 00E60 809B9140 8FA40034 */ lw $a0, 0x0034($sp)
/* 00E64 809B9144 45000005 */ bc1f .L809B915C
/* 00E68 809B9148 00000000 */ nop
/* 00E6C 809B914C 0C0294BE */ jal SkelAnime_ChangeAnimDefaultRepeat
/* 00E70 809B9150 24A50184 */ addiu $a1, $a1, %lo(D_06000184) ## $a1 = 06000184
/* 00E74 809B9154 860B008A */ lh $t3, 0x008A($s0) ## 0000008A
/* 00E78 809B9158 A60B026E */ sh $t3, 0x026E($s0) ## 0000026E
.L809B915C:
/* 00E7C 809B915C 0C03F66B */ jal Rand_ZeroOne
## Rand.Next() float
/* 00E80 809B9160 00000000 */ nop
/* 00E84 809B9164 3C013FC0 */ lui $at, 0x3FC0 ## $at = 3FC00000
/* 00E88 809B9168 44813000 */ mtc1 $at, $f6 ## $f6 = 1.50
/* 00E8C 809B916C 3C0140C0 */ lui $at, 0x40C0 ## $at = 40C00000
/* 00E90 809B9170 44812000 */ mtc1 $at, $f4 ## $f4 = 6.00
/* 00E94 809B9174 46060202 */ mul.s $f8, $f0, $f6
/* 00E98 809B9178 46044280 */ add.s $f10, $f8, $f4
/* 00E9C 809B917C 0C03F66B */ jal Rand_ZeroOne
## Rand.Next() float
/* 00EA0 809B9180 E60A027C */ swc1 $f10, 0x027C($s0) ## 0000027C
/* 00EA4 809B9184 3C0140A0 */ lui $at, 0x40A0 ## $at = 40A00000
/* 00EA8 809B9188 44818000 */ mtc1 $at, $f16 ## $f16 = 5.00
/* 00EAC 809B918C 3C0141A0 */ lui $at, 0x41A0 ## $at = 41A00000
/* 00EB0 809B9190 44813000 */ mtc1 $at, $f6 ## $f6 = 20.00
/* 00EB4 809B9194 46100482 */ mul.s $f18, $f0, $f16
/* 00EB8 809B9198 A6000268 */ sh $zero, 0x0268($s0) ## 00000268
/* 00EBC 809B919C 46069200 */ add.s $f8, $f18, $f6
/* 00EC0 809B91A0 4600410D */ trunc.w.s $f4, $f8
/* 00EC4 809B91A4 440D2000 */ mfc1 $t5, $f4
/* 00EC8 809B91A8 1000001F */ beq $zero, $zero, .L809B9228
/* 00ECC 809B91AC AE0D0260 */ sw $t5, 0x0260($s0) ## 00000260
.L809B91B0:
/* 00ED0 809B91B0 0C0294BE */ jal SkelAnime_ChangeAnimDefaultRepeat
/* 00ED4 809B91B4 8FA40034 */ lw $a0, 0x0034($sp)
/* 00ED8 809B91B8 0C03F66B */ jal Rand_ZeroOne
## Rand.Next() float
/* 00EDC 809B91BC 00000000 */ nop
/* 00EE0 809B91C0 3C013FC0 */ lui $at, 0x3FC0 ## $at = 3FC00000
/* 00EE4 809B91C4 44815000 */ mtc1 $at, $f10 ## $f10 = 1.50
/* 00EE8 809B91C8 3C013F80 */ lui $at, 0x3F80 ## $at = 3F800000
/* 00EEC 809B91CC 44819000 */ mtc1 $at, $f18 ## $f18 = 1.00
/* 00EF0 809B91D0 460A0402 */ mul.s $f16, $f0, $f10
/* 00EF4 809B91D4 46128180 */ add.s $f6, $f16, $f18
/* 00EF8 809B91D8 0C03F66B */ jal Rand_ZeroOne
## Rand.Next() float
/* 00EFC 809B91DC E606027C */ swc1 $f6, 0x027C($s0) ## 0000027C
/* 00F00 809B91E0 3C0141A0 */ lui $at, 0x41A0 ## $at = 41A00000
/* 00F04 809B91E4 44814000 */ mtc1 $at, $f8 ## $f8 = 20.00
/* 00F08 809B91E8 3C014220 */ lui $at, 0x4220 ## $at = 42200000
/* 00F0C 809B91EC 44815000 */ mtc1 $at, $f10 ## $f10 = 40.00
/* 00F10 809B91F0 46080102 */ mul.s $f4, $f0, $f8
/* 00F14 809B91F4 C60C0274 */ lwc1 $f12, 0x0274($s0) ## 00000274
/* 00F18 809B91F8 460A2400 */ add.s $f16, $f4, $f10
/* 00F1C 809B91FC 4600848D */ trunc.w.s $f18, $f16
/* 00F20 809B9200 440F9000 */ mfc1 $t7, $f18
/* 00F24 809B9204 0C0329C8 */ jal Math_SinF
/* 00F28 809B9208 AE0F0260 */ sw $t7, 0x0260($s0) ## 00000260
/* 00F2C 809B920C 3C01809C */ lui $at, %hi(D_809BBC90) ## $at = 809C0000
/* 00F30 809B9210 C426BC90 */ lwc1 $f6, %lo(D_809BBC90)($at)
/* 00F34 809B9214 46060202 */ mul.s $f8, $f0, $f6
/* 00F38 809B9218 4600410D */ trunc.w.s $f4, $f8
/* 00F3C 809B921C 44192000 */ mfc1 $t9, $f4
/* 00F40 809B9220 00000000 */ nop
/* 00F44 809B9224 A619026E */ sh $t9, 0x026E($s0) ## 0000026E
.L809B9228:
/* 00F48 809B9228 3C014316 */ lui $at, 0x4316 ## $at = 43160000
/* 00F4C 809B922C 44815000 */ mtc1 $at, $f10 ## $f10 = 150.00
/* 00F50 809B9230 C6000090 */ lwc1 $f0, 0x0090($s0) ## 00000090
/* 00F54 809B9234 3C014348 */ lui $at, 0x4348 ## $at = 43480000
/* 00F58 809B9238 460A003C */ c.lt.s $f0, $f10
/* 00F5C 809B923C 00000000 */ nop
/* 00F60 809B9240 45020026 */ bc1fl .L809B92DC
/* 00F64 809B9244 44814000 */ mtc1 $at, $f8 ## $f8 = 200.00
/* 00F68 809B9248 860A0268 */ lh $t2, 0x0268($s0) ## 00000268
/* 00F6C 809B924C 51400023 */ beql $t2, $zero, .L809B92DC
/* 00F70 809B9250 44814000 */ mtc1 $at, $f8 ## $f8 = 200.00
/* 00F74 809B9254 860B026A */ lh $t3, 0x026A($s0) ## 0000026A
/* 00F78 809B9258 8FA40034 */ lw $a0, 0x0034($sp)
/* 00F7C 809B925C 3C050600 */ lui $a1, %hi(D_06000184) ## $a1 = 06000000
/* 00F80 809B9260 55600026 */ bnel $t3, $zero, .L809B92FC
/* 00F84 809B9264 8E020324 */ lw $v0, 0x0324($s0) ## 00000324
/* 00F88 809B9268 0C0294BE */ jal SkelAnime_ChangeAnimDefaultRepeat
/* 00F8C 809B926C 24A50184 */ addiu $a1, $a1, %lo(D_06000184) ## $a1 = 06000184
/* 00F90 809B9270 0C03F66B */ jal Rand_ZeroOne
## Rand.Next() float
/* 00F94 809B9274 00000000 */ nop
/* 00F98 809B9278 3C013FC0 */ lui $at, 0x3FC0 ## $at = 3FC00000
/* 00F9C 809B927C 44818000 */ mtc1 $at, $f16 ## $f16 = 1.50
/* 00FA0 809B9280 3C0140C0 */ lui $at, 0x40C0 ## $at = 40C00000
/* 00FA4 809B9284 44813000 */ mtc1 $at, $f6 ## $f6 = 6.00
/* 00FA8 809B9288 46100482 */ mul.s $f18, $f0, $f16
/* 00FAC 809B928C 46069200 */ add.s $f8, $f18, $f6
/* 00FB0 809B9290 0C03F66B */ jal Rand_ZeroOne
## Rand.Next() float
/* 00FB4 809B9294 E608027C */ swc1 $f8, 0x027C($s0) ## 0000027C
/* 00FB8 809B9298 3C0140A0 */ lui $at, 0x40A0 ## $at = 40A00000
/* 00FBC 809B929C 44812000 */ mtc1 $at, $f4 ## $f4 = 5.00
/* 00FC0 809B92A0 3C0141A0 */ lui $at, 0x41A0 ## $at = 41A00000
/* 00FC4 809B92A4 44818000 */ mtc1 $at, $f16 ## $f16 = 20.00
/* 00FC8 809B92A8 46040282 */ mul.s $f10, $f0, $f4
/* 00FCC 809B92AC 240F0001 */ addiu $t7, $zero, 0x0001 ## $t7 = 00000001
/* 00FD0 809B92B0 A60F026A */ sh $t7, 0x026A($s0) ## 0000026A
/* 00FD4 809B92B4 860E008A */ lh $t6, 0x008A($s0) ## 0000008A
/* 00FD8 809B92B8 8618026A */ lh $t8, 0x026A($s0) ## 0000026A
/* 00FDC 809B92BC A60E026E */ sh $t6, 0x026E($s0) ## 0000026E
/* 00FE0 809B92C0 46105480 */ add.s $f18, $f10, $f16
/* 00FE4 809B92C4 A6180268 */ sh $t8, 0x0268($s0) ## 00000268
/* 00FE8 809B92C8 4600918D */ trunc.w.s $f6, $f18
/* 00FEC 809B92CC 440D3000 */ mfc1 $t5, $f6
/* 00FF0 809B92D0 10000009 */ beq $zero, $zero, .L809B92F8
/* 00FF4 809B92D4 AE0D0260 */ sw $t5, 0x0260($s0) ## 00000260
/* 00FF8 809B92D8 44814000 */ mtc1 $at, $f8 ## $f8 = 20.00
.L809B92DC:
/* 00FFC 809B92DC 00000000 */ nop
/* 01000 809B92E0 4608003C */ c.lt.s $f0, $f8
/* 01004 809B92E4 00000000 */ nop
/* 01008 809B92E8 45020004 */ bc1fl .L809B92FC
/* 0100C 809B92EC 8E020324 */ lw $v0, 0x0324($s0) ## 00000324
/* 01010 809B92F0 8619008A */ lh $t9, 0x008A($s0) ## 0000008A
/* 01014 809B92F4 A619026E */ sh $t9, 0x026E($s0) ## 0000026E
.L809B92F8:
/* 01018 809B92F8 8E020324 */ lw $v0, 0x0324($s0) ## 00000324
.L809B92FC:
/* 0101C 809B92FC 8FA40054 */ lw $a0, 0x0054($sp)
/* 01020 809B9300 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000
/* 01024 809B9304 54400006 */ bnel $v0, $zero, .L809B9320
/* 01028 809B9308 844A001C */ lh $t2, 0x001C($v0) ## 0000001C
/* 0102C 809B930C 0C26E0BA */ jal func_809B82E8
/* 01030 809B9310 3C064396 */ lui $a2, 0x4396 ## $a2 = 43960000
/* 01034 809B9314 10000007 */ beq $zero, $zero, .L809B9334
/* 01038 809B9318 AFA2004C */ sw $v0, 0x004C($sp)
/* 0103C 809B931C 844A001C */ lh $t2, 0x001C($v0) ## 0000001C
.L809B9320:
/* 01040 809B9320 55400004 */ bnel $t2, $zero, .L809B9334
/* 01044 809B9324 AFA0004C */ sw $zero, 0x004C($sp)
/* 01048 809B9328 10000002 */ beq $zero, $zero, .L809B9334
/* 0104C 809B932C AFA2004C */ sw $v0, 0x004C($sp)
/* 01050 809B9330 AFA0004C */ sw $zero, 0x004C($sp)
.L809B9334:
/* 01054 809B9334 8FAB004C */ lw $t3, 0x004C($sp)
/* 01058 809B9338 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 0105C 809B933C 260D0032 */ addiu $t5, $s0, 0x0032 ## $t5 = 00000032
/* 01060 809B9340 1160003A */ beq $t3, $zero, .L809B942C
/* 01064 809B9344 01602825 */ or $a1, $t3, $zero ## $a1 = 00000000
/* 01068 809B9348 260C0028 */ addiu $t4, $s0, 0x0028 ## $t4 = 00000028
/* 0106C 809B934C 0C00B69E */ jal func_8002DA78
/* 01070 809B9350 AFAC0034 */ sw $t4, 0x0034($sp)
/* 01074 809B9354 860D026C */ lh $t5, 0x026C($s0) ## 0000026C
/* 01078 809B9358 A602026E */ sh $v0, 0x026E($s0) ## 0000026E
/* 0107C 809B935C 26040032 */ addiu $a0, $s0, 0x0032 ## $a0 = 00000032
/* 01080 809B9360 15A0000E */ bne $t5, $zero, .L809B939C
/* 01084 809B9364 24060001 */ addiu $a2, $zero, 0x0001 ## $a2 = 00000001
/* 01088 809B9368 8FAE004C */ lw $t6, 0x004C($sp)
/* 0108C 809B936C 8E0F0324 */ lw $t7, 0x0324($s0) ## 00000324
/* 01090 809B9370 3C013F00 */ lui $at, 0x3F00 ## $at = 3F000000
/* 01094 809B9374 51CF000A */ beql $t6, $t7, .L809B93A0
/* 01098 809B9378 8605026E */ lh $a1, 0x026E($s0) ## 0000026E
/* 0109C 809B937C C6040068 */ lwc1 $f4, 0x0068($s0) ## 00000068
/* 010A0 809B9380 44815000 */ mtc1 $at, $f10 ## $f10 = 0.50
/* 010A4 809B9384 24188000 */ addiu $t8, $zero, 0x8000 ## $t8 = FFFF8000
/* 010A8 809B9388 A618026C */ sh $t8, 0x026C($s0) ## 0000026C
/* 010AC 809B938C 460A2402 */ mul.s $f16, $f4, $f10
/* 010B0 809B9390 8FB9004C */ lw $t9, 0x004C($sp)
/* 010B4 809B9394 AE190324 */ sw $t9, 0x0324($s0) ## 00000324
/* 010B8 809B9398 E6100068 */ swc1 $f16, 0x0068($s0) ## 00000068
.L809B939C:
/* 010BC 809B939C 8605026E */ lh $a1, 0x026E($s0) ## 0000026E
.L809B93A0:
/* 010C0 809B93A0 AFA4002C */ sw $a0, 0x002C($sp)
/* 010C4 809B93A4 AFA00010 */ sw $zero, 0x0010($sp)
/* 010C8 809B93A8 0C01E1A7 */ jal Math_SmoothStepToS
/* 010CC 809B93AC 24071388 */ addiu $a3, $zero, 0x1388 ## $a3 = 00001388
/* 010D0 809B93B0 8FAA004C */ lw $t2, 0x004C($sp)
/* 010D4 809B93B4 44809000 */ mtc1 $zero, $f18 ## $f18 = 0.00
/* 010D8 809B93B8 8FA40030 */ lw $a0, 0x0030($sp)
/* 010DC 809B93BC 8D450024 */ lw $a1, 0x0024($t2) ## 00000024
/* 010E0 809B93C0 3C063F80 */ lui $a2, 0x3F80 ## $a2 = 3F800000
/* 010E4 809B93C4 3C073FC0 */ lui $a3, 0x3FC0 ## $a3 = 3FC00000
/* 010E8 809B93C8 0C01E0C4 */ jal Math_SmoothStepToF
/* 010EC 809B93CC E7B20010 */ swc1 $f18, 0x0010($sp)
/* 010F0 809B93D0 8FAB004C */ lw $t3, 0x004C($sp)
/* 010F4 809B93D4 3C014220 */ lui $at, 0x4220 ## $at = 42200000
/* 010F8 809B93D8 44814000 */ mtc1 $at, $f8 ## $f8 = 40.00
/* 010FC 809B93DC C5660028 */ lwc1 $f6, 0x0028($t3) ## 00000028
/* 01100 809B93E0 44805000 */ mtc1 $zero, $f10 ## $f10 = 0.00
/* 01104 809B93E4 8FA40034 */ lw $a0, 0x0034($sp)
/* 01108 809B93E8 46083100 */ add.s $f4, $f6, $f8
/* 0110C 809B93EC 3C063F80 */ lui $a2, 0x3F80 ## $a2 = 3F800000
/* 01110 809B93F0 3C073FC0 */ lui $a3, 0x3FC0 ## $a3 = 3FC00000
/* 01114 809B93F4 E7AA0010 */ swc1 $f10, 0x0010($sp)
/* 01118 809B93F8 44052000 */ mfc1 $a1, $f4
/* 0111C 809B93FC 0C01E0C4 */ jal Math_SmoothStepToF
/* 01120 809B9400 00000000 */ nop
/* 01124 809B9404 8FAC004C */ lw $t4, 0x004C($sp)
/* 01128 809B9408 44808000 */ mtc1 $zero, $f16 ## $f16 = 0.00
/* 0112C 809B940C 2604002C */ addiu $a0, $s0, 0x002C ## $a0 = 0000002C
/* 01130 809B9410 8D85002C */ lw $a1, 0x002C($t4) ## 0000002C
/* 01134 809B9414 3C063F80 */ lui $a2, 0x3F80 ## $a2 = 3F800000
/* 01138 809B9418 3C073FC0 */ lui $a3, 0x3FC0 ## $a3 = 3FC00000
/* 0113C 809B941C 0C01E0C4 */ jal Math_SmoothStepToF
/* 01140 809B9420 E7B00010 */ swc1 $f16, 0x0010($sp)
/* 01144 809B9424 10000004 */ beq $zero, $zero, .L809B9438
/* 01148 809B9428 8604026C */ lh $a0, 0x026C($s0) ## 0000026C
.L809B942C:
/* 0114C 809B942C AE000324 */ sw $zero, 0x0324($s0) ## 00000324
/* 01150 809B9430 AFAD002C */ sw $t5, 0x002C($sp)
/* 01154 809B9434 8604026C */ lh $a0, 0x026C($s0) ## 0000026C
.L809B9438:
/* 01158 809B9438 50800014 */ beql $a0, $zero, .L809B948C
/* 0115C 809B943C 8608007E */ lh $t0, 0x007E($s0) ## 0000007E
/* 01160 809B9440 0C01DE0D */ jal Math_CosS
## coss?
/* 01164 809B9444 00000000 */ nop
/* 01168 809B9448 3C014120 */ lui $at, 0x4120 ## $at = 41200000
/* 0116C 809B944C 44813000 */ mtc1 $at, $f6 ## $f6 = 10.00
/* 01170 809B9450 46000487 */ neg.s $f18, $f0
/* 01174 809B9454 C6040028 */ lwc1 $f4, 0x0028($s0) ## 00000028
/* 01178 809B9458 46069202 */ mul.s $f8, $f18, $f6
/* 0117C 809B945C 860E026C */ lh $t6, 0x026C($s0) ## 0000026C
/* 01180 809B9460 8605026E */ lh $a1, 0x026E($s0) ## 0000026E
/* 01184 809B9464 24060001 */ addiu $a2, $zero, 0x0001 ## $a2 = 00000001
/* 01188 809B9468 25CF1000 */ addiu $t7, $t6, 0x1000 ## $t7 = 00001000
/* 0118C 809B946C A60F026C */ sh $t7, 0x026C($s0) ## 0000026C
/* 01190 809B9470 240707D0 */ addiu $a3, $zero, 0x07D0 ## $a3 = 000007D0
/* 01194 809B9474 46082280 */ add.s $f10, $f4, $f8
/* 01198 809B9478 E60A0028 */ swc1 $f10, 0x0028($s0) ## 00000028
/* 0119C 809B947C AFA00010 */ sw $zero, 0x0010($sp)
/* 011A0 809B9480 0C01E1A7 */ jal Math_SmoothStepToS
/* 011A4 809B9484 8FA4002C */ lw $a0, 0x002C($sp)
/* 011A8 809B9488 8608007E */ lh $t0, 0x007E($s0) ## 0000007E
.L809B948C:
/* 011AC 809B948C 86090032 */ lh $t1, 0x0032($s0) ## 00000032
/* 011B0 809B9490 8605026E */ lh $a1, 0x026E($s0) ## 0000026E
/* 011B4 809B9494 8E180324 */ lw $t8, 0x0324($s0) ## 00000324
/* 011B8 809B9498 01091023 */ subu $v0, $t0, $t1
/* 011BC 809B949C 01052023 */ subu $a0, $t0, $a1
/* 011C0 809B94A0 00021400 */ sll $v0, $v0, 16
/* 011C4 809B94A4 00042400 */ sll $a0, $a0, 16
/* 011C8 809B94A8 00021403 */ sra $v0, $v0, 16
/* 011CC 809B94AC 1700001D */ bne $t8, $zero, .L809B9524
/* 011D0 809B94B0 00042403 */ sra $a0, $a0, 16
/* 011D4 809B94B4 96190088 */ lhu $t9, 0x0088($s0) ## 00000088
/* 011D8 809B94B8 332A0008 */ andi $t2, $t9, 0x0008 ## $t2 = 00000000
/* 011DC 809B94BC 5140001A */ beql $t2, $zero, .L809B9528
/* 011E0 809B94C0 8FA4002C */ lw $a0, 0x002C($sp)
/* 011E4 809B94C4 04400003 */ bltz $v0, .L809B94D4
/* 011E8 809B94C8 00021823 */ subu $v1, $zero, $v0
/* 011EC 809B94CC 10000001 */ beq $zero, $zero, .L809B94D4
/* 011F0 809B94D0 00401825 */ or $v1, $v0, $zero ## $v1 = 00000000
.L809B94D4:
/* 011F4 809B94D4 28614001 */ slti $at, $v1, 0x4001
/* 011F8 809B94D8 10200007 */ beq $at, $zero, .L809B94F8
/* 011FC 809B94DC 01085821 */ addu $t3, $t0, $t0
/* 01200 809B94E0 04800003 */ bltz $a0, .L809B94F0
/* 01204 809B94E4 00041023 */ subu $v0, $zero, $a0
/* 01208 809B94E8 10000001 */ beq $zero, $zero, .L809B94F0
/* 0120C 809B94EC 00801025 */ or $v0, $a0, $zero ## $v0 = 00000000
.L809B94F0:
/* 01210 809B94F0 28414001 */ slti $at, $v0, 0x4001
/* 01214 809B94F4 1420000B */ bne $at, $zero, .L809B9524
.L809B94F8:
/* 01218 809B94F8 01696023 */ subu $t4, $t3, $t1
/* 0121C 809B94FC 24018000 */ addiu $at, $zero, 0x8000 ## $at = FFFF8000
/* 01220 809B9500 01816821 */ addu $t5, $t4, $at
/* 01224 809B9504 A60D026E */ sh $t5, 0x026E($s0) ## 0000026E
/* 01228 809B9508 8605026E */ lh $a1, 0x026E($s0) ## 0000026E
/* 0122C 809B950C AFA00010 */ sw $zero, 0x0010($sp)
/* 01230 809B9510 8FA4002C */ lw $a0, 0x002C($sp)
/* 01234 809B9514 24060001 */ addiu $a2, $zero, 0x0001 ## $a2 = 00000001
/* 01238 809B9518 0C01E1A7 */ jal Math_SmoothStepToS
/* 0123C 809B951C 24070BB8 */ addiu $a3, $zero, 0x0BB8 ## $a3 = 00000BB8
/* 01240 809B9520 8605026E */ lh $a1, 0x026E($s0) ## 0000026E
.L809B9524:
/* 01244 809B9524 8FA4002C */ lw $a0, 0x002C($sp)
.L809B9528:
/* 01248 809B9528 24060001 */ addiu $a2, $zero, 0x0001 ## $a2 = 00000001
/* 0124C 809B952C 240703E8 */ addiu $a3, $zero, 0x03E8 ## $a3 = 000003E8
/* 01250 809B9530 0C01E1A7 */ jal Math_SmoothStepToS
/* 01254 809B9534 AFA00010 */ sw $zero, 0x0010($sp)
/* 01258 809B9538 920302BD */ lbu $v1, 0x02BD($s0) ## 000002BD
/* 0125C 809B953C 30630002 */ andi $v1, $v1, 0x0002 ## $v1 = 00000000
/* 01260 809B9540 54600006 */ bnel $v1, $zero, .L809B955C
/* 01264 809B9544 8618008A */ lh $t8, 0x008A($s0) ## 0000008A
/* 01268 809B9548 920E02BC */ lbu $t6, 0x02BC($s0) ## 000002BC
/* 0126C 809B954C 31CF0002 */ andi $t7, $t6, 0x0002 ## $t7 = 00000000
/* 01270 809B9550 51E00020 */ beql $t7, $zero, .L809B95D4
/* 01274 809B9554 3C0140C0 */ lui $at, 0x40C0 ## $at = 40C00000
/* 01278 809B9558 8618008A */ lh $t8, 0x008A($s0) ## 0000008A
.L809B955C:
/* 0127C 809B955C 34018000 */ ori $at, $zero, 0x8000 ## $at = 00008000
/* 01280 809B9560 24024000 */ addiu $v0, $zero, 0x4000 ## $v0 = 00004000
/* 01284 809B9564 0301C821 */ addu $t9, $t8, $at
/* 01288 809B9568 10600003 */ beq $v1, $zero, .L809B9578
/* 0128C 809B956C A619026E */ sh $t9, 0x026E($s0) ## 0000026E
/* 01290 809B9570 1000000E */ beq $zero, $zero, .L809B95AC
/* 01294 809B9574 24028000 */ addiu $v0, $zero, 0x8000 ## $v0 = FFFF8000
.L809B9578:
/* 01298 809B9578 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 0129C 809B957C 240538CB */ addiu $a1, $zero, 0x38CB ## $a1 = 000038CB
/* 012A0 809B9580 0C00BE0A */ jal Audio_PlayActorSound2
/* 012A4 809B9584 A7A20046 */ sh $v0, 0x0046($sp)
/* 012A8 809B9588 8FAA0054 */ lw $t2, 0x0054($sp)
/* 012AC 809B958C 3C0B0001 */ lui $t3, 0x0001 ## $t3 = 00010000
/* 012B0 809B9590 87A20046 */ lh $v0, 0x0046($sp)
/* 012B4 809B9594 016A5821 */ addu $t3, $t3, $t2
/* 012B8 809B9598 8D6B1DE4 */ lw $t3, 0x1DE4($t3) ## 00011DE4
/* 012BC 809B959C 316C0001 */ andi $t4, $t3, 0x0001 ## $t4 = 00000000
/* 012C0 809B95A0 51800003 */ beql $t4, $zero, .L809B95B0
/* 012C4 809B95A4 860D008A */ lh $t5, 0x008A($s0) ## 0000008A
/* 012C8 809B95A8 2402C000 */ addiu $v0, $zero, 0xC000 ## $v0 = FFFFC000
.L809B95AC:
/* 012CC 809B95AC 860D008A */ lh $t5, 0x008A($s0) ## 0000008A
.L809B95B0:
/* 012D0 809B95B0 920F02BD */ lbu $t7, 0x02BD($s0) ## 000002BD
/* 012D4 809B95B4 921902BC */ lbu $t9, 0x02BC($s0) ## 000002BC
/* 012D8 809B95B8 01A27021 */ addu $t6, $t5, $v0
/* 012DC 809B95BC 31F8FFFD */ andi $t8, $t7, 0xFFFD ## $t8 = 00000000
/* 012E0 809B95C0 332AFFFD */ andi $t2, $t9, 0xFFFD ## $t2 = 00000000
/* 012E4 809B95C4 A60E0032 */ sh $t6, 0x0032($s0) ## 00000032
/* 012E8 809B95C8 A21802BD */ sb $t8, 0x02BD($s0) ## 000002BD
/* 012EC 809B95CC A20A02BC */ sb $t2, 0x02BC($s0) ## 000002BC
/* 012F0 809B95D0 3C0140C0 */ lui $at, 0x40C0 ## $at = 40C00000
.L809B95D4:
/* 012F4 809B95D4 44819000 */ mtc1 $at, $f18 ## $f18 = 6.00
/* 012F8 809B95D8 C610027C */ lwc1 $f16, 0x027C($s0) ## 0000027C
/* 012FC 809B95DC 4610903E */ c.le.s $f18, $f16
/* 01300 809B95E0 00000000 */ nop
/* 01304 809B95E4 45020020 */ bc1fl .L809B9668
/* 01308 809B95E8 C6060164 */ lwc1 $f6, 0x0164($s0) ## 00000164
/* 0130C 809B95EC C6060164 */ lwc1 $f6, 0x0164($s0) ## 00000164
/* 01310 809B95F0 24010005 */ addiu $at, $zero, 0x0005 ## $at = 00000005
/* 01314 809B95F4 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 01318 809B95F8 4600310D */ trunc.w.s $f4, $f6
/* 0131C 809B95FC 44022000 */ mfc1 $v0, $f4
/* 01320 809B9600 00000000 */ nop
/* 01324 809B9604 10400003 */ beq $v0, $zero, .L809B9614
/* 01328 809B9608 00000000 */ nop
/* 0132C 809B960C 54410009 */ bnel $v0, $at, .L809B9634
/* 01330 809B9610 24010002 */ addiu $at, $zero, 0x0002 ## $at = 00000002
.L809B9614:
/* 01334 809B9614 0C00BE0A */ jal Audio_PlayActorSound2
/* 01338 809B9618 240538C9 */ addiu $a1, $zero, 0x38C9 ## $a1 = 000038C9
/* 0133C 809B961C C6080164 */ lwc1 $f8, 0x0164($s0) ## 00000164
/* 01340 809B9620 4600428D */ trunc.w.s $f10, $f8
/* 01344 809B9624 44025000 */ mfc1 $v0, $f10
/* 01348 809B9628 1000001C */ beq $zero, $zero, .L809B969C
/* 0134C 809B962C 00000000 */ nop
/* 01350 809B9630 24010002 */ addiu $at, $zero, 0x0002 ## $at = 00000002
.L809B9634:
/* 01354 809B9634 10410004 */ beq $v0, $at, .L809B9648
/* 01358 809B9638 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 0135C 809B963C 24010007 */ addiu $at, $zero, 0x0007 ## $at = 00000007
/* 01360 809B9640 14410016 */ bne $v0, $at, .L809B969C
/* 01364 809B9644 00000000 */ nop
.L809B9648:
/* 01368 809B9648 0C00BE0A */ jal Audio_PlayActorSound2
/* 0136C 809B964C 240538C8 */ addiu $a1, $zero, 0x38C8 ## $a1 = 000038C8
/* 01370 809B9650 C6100164 */ lwc1 $f16, 0x0164($s0) ## 00000164
/* 01374 809B9654 4600848D */ trunc.w.s $f18, $f16
/* 01378 809B9658 44029000 */ mfc1 $v0, $f18
/* 0137C 809B965C 1000000F */ beq $zero, $zero, .L809B969C
/* 01380 809B9660 00000000 */ nop
/* 01384 809B9664 C6060164 */ lwc1 $f6, 0x0164($s0) ## 00000164
.L809B9668:
/* 01388 809B9668 24010005 */ addiu $at, $zero, 0x0005 ## $at = 00000005
/* 0138C 809B966C 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 01390 809B9670 4600310D */ trunc.w.s $f4, $f6
/* 01394 809B9674 44022000 */ mfc1 $v0, $f4
/* 01398 809B9678 00000000 */ nop
/* 0139C 809B967C 14410007 */ bne $v0, $at, .L809B969C
/* 013A0 809B9680 00000000 */ nop
/* 013A4 809B9684 0C00BE0A */ jal Audio_PlayActorSound2
/* 013A8 809B9688 240538C8 */ addiu $a1, $zero, 0x38C8 ## $a1 = 000038C8
/* 013AC 809B968C C6080164 */ lwc1 $f8, 0x0164($s0) ## 00000164
/* 013B0 809B9690 4600428D */ trunc.w.s $f10, $f8
/* 013B4 809B9694 44025000 */ mfc1 $v0, $f10
/* 013B8 809B9698 00000000 */ nop
.L809B969C:
/* 013BC 809B969C 5440000D */ bnel $v0, $zero, .L809B96D4
/* 013C0 809B96A0 86180032 */ lh $t8, 0x0032($s0) ## 00000032
/* 013C4 809B96A4 0C03F66B */ jal Rand_ZeroOne
## Rand.Next() float
/* 013C8 809B96A8 00000000 */ nop
/* 013CC 809B96AC 3C01809C */ lui $at, %hi(D_809BBC94) ## $at = 809C0000
/* 013D0 809B96B0 C430BC94 */ lwc1 $f16, %lo(D_809BBC94)($at)
/* 013D4 809B96B4 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 013D8 809B96B8 4610003C */ c.lt.s $f0, $f16
/* 013DC 809B96BC 00000000 */ nop
/* 013E0 809B96C0 45020004 */ bc1fl .L809B96D4
/* 013E4 809B96C4 86180032 */ lh $t8, 0x0032($s0) ## 00000032
/* 013E8 809B96C8 0C00BE0A */ jal Audio_PlayActorSound2
/* 013EC 809B96CC 240538CA */ addiu $a1, $zero, 0x38CA ## $a1 = 000038CA
/* 013F0 809B96D0 86180032 */ lh $t8, 0x0032($s0) ## 00000032
.L809B96D4:
/* 013F4 809B96D4 A61800B6 */ sh $t8, 0x00B6($s0) ## 000000B6
/* 013F8 809B96D8 8FBF0024 */ lw $ra, 0x0024($sp)
/* 013FC 809B96DC 8FB00020 */ lw $s0, 0x0020($sp)
/* 01400 809B96E0 27BD0050 */ addiu $sp, $sp, 0x0050 ## $sp = 00000000
/* 01404 809B96E4 03E00008 */ jr $ra
/* 01408 809B96E8 00000000 */ nop

View file

@ -1,38 +0,0 @@
glabel func_809B96EC
/* 0140C 809B96EC 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 01410 809B96F0 AFBF0014 */ sw $ra, 0x0014($sp)
/* 01414 809B96F4 00803025 */ or $a2, $a0, $zero ## $a2 = 00000000
/* 01418 809B96F8 3C050600 */ lui $a1, %hi(D_06000444) ## $a1 = 06000000
/* 0141C 809B96FC 24A50444 */ addiu $a1, $a1, %lo(D_06000444) ## $a1 = 06000444
/* 01420 809B9700 AFA60018 */ sw $a2, 0x0018($sp)
/* 01424 809B9704 0C0294BE */ jal SkelAnime_ChangeAnimDefaultRepeat
/* 01428 809B9708 2484014C */ addiu $a0, $a0, 0x014C ## $a0 = 0000014C
/* 0142C 809B970C 8FA40018 */ lw $a0, 0x0018($sp)
/* 01430 809B9710 3C014040 */ lui $at, 0x4040 ## $at = 40400000
/* 01434 809B9714 44812000 */ mtc1 $at, $f4 ## $f4 = 3.00
/* 01438 809B9718 94980088 */ lhu $t8, 0x0088($a0) ## 00000088
/* 0143C 809B971C 44800000 */ mtc1 $zero, $f0 ## $f0 = 0.00
/* 01440 809B9720 3C01C000 */ lui $at, 0xC000 ## $at = C0000000
/* 01444 809B9724 44813000 */ mtc1 $at, $f6 ## $f6 = -2.00
/* 01448 809B9728 240E0003 */ addiu $t6, $zero, 0x0003 ## $t6 = 00000003
/* 0144C 809B972C 240F00C8 */ addiu $t7, $zero, 0x00C8 ## $t7 = 000000C8
/* 01450 809B9730 3319FFFE */ andi $t9, $t8, 0xFFFE ## $t9 = 00000000
/* 01454 809B9734 240538CD */ addiu $a1, $zero, 0x38CD ## $a1 = 000038CD
/* 01458 809B9738 AC8E0250 */ sw $t6, 0x0250($a0) ## 00000250
/* 0145C 809B973C AC8F0260 */ sw $t7, 0x0260($a0) ## 00000260
/* 01460 809B9740 A0800114 */ sb $zero, 0x0114($a0) ## 00000114
/* 01464 809B9744 A4990088 */ sh $t9, 0x0088($a0) ## 00000088
/* 01468 809B9748 E4840068 */ swc1 $f4, 0x0068($a0) ## 00000068
/* 0146C 809B974C E480028C */ swc1 $f0, 0x028C($a0) ## 0000028C
/* 01470 809B9750 E4800288 */ swc1 $f0, 0x0288($a0) ## 00000288
/* 01474 809B9754 0C00BE0A */ jal Audio_PlayActorSound2
/* 01478 809B9758 E486006C */ swc1 $f6, 0x006C($a0) ## 0000006C
/* 0147C 809B975C 3C05809C */ lui $a1, %hi(func_809B977C) ## $a1 = 809C0000
/* 01480 809B9760 8FA40018 */ lw $a0, 0x0018($sp)
/* 01484 809B9764 0C26E0B8 */ jal func_809B82E0
/* 01488 809B9768 24A5977C */ addiu $a1, $a1, %lo(func_809B977C) ## $a1 = 809B977C
/* 0148C 809B976C 8FBF0014 */ lw $ra, 0x0014($sp)
/* 01490 809B9770 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
/* 01494 809B9774 03E00008 */ jr $ra
/* 01498 809B9778 00000000 */ nop

View file

@ -1,208 +0,0 @@
.late_rodata
glabel D_809BBC98
.float -0.699999988079071
.text
glabel func_809B977C
/* 0149C 809B977C 27BDFFC0 */ addiu $sp, $sp, 0xFFC0 ## $sp = FFFFFFC0
/* 014A0 809B9780 AFBF0034 */ sw $ra, 0x0034($sp)
/* 014A4 809B9784 AFB00030 */ sw $s0, 0x0030($sp)
/* 014A8 809B9788 AFA50044 */ sw $a1, 0x0044($sp)
/* 014AC 809B978C 848F007E */ lh $t7, 0x007E($a0) ## 0000007E
/* 014B0 809B9790 848E0032 */ lh $t6, 0x0032($a0) ## 00000032
/* 014B4 809B9794 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 014B8 809B9798 2484014C */ addiu $a0, $a0, 0x014C ## $a0 = 0000014C
/* 014BC 809B979C 01CF1823 */ subu $v1, $t6, $t7
/* 014C0 809B97A0 00031C00 */ sll $v1, $v1, 16
/* 014C4 809B97A4 00031C03 */ sra $v1, $v1, 16
/* 014C8 809B97A8 0C02927F */ jal SkelAnime_FrameUpdateMatrix
/* 014CC 809B97AC A7A3003E */ sh $v1, 0x003E($sp)
/* 014D0 809B97B0 96040088 */ lhu $a0, 0x0088($s0) ## 00000088
/* 014D4 809B97B4 87A3003E */ lh $v1, 0x003E($sp)
/* 014D8 809B97B8 30980008 */ andi $t8, $a0, 0x0008 ## $t8 = 00000000
/* 014DC 809B97BC 53000014 */ beql $t8, $zero, .L809B9810
/* 014E0 809B97C0 308C0003 */ andi $t4, $a0, 0x0003 ## $t4 = 00000000
/* 014E4 809B97C4 04600003 */ bltz $v1, .L809B97D4
/* 014E8 809B97C8 00031023 */ subu $v0, $zero, $v1
/* 014EC 809B97CC 10000001 */ beq $zero, $zero, .L809B97D4
/* 014F0 809B97D0 00601025 */ or $v0, $v1, $zero ## $v0 = 00000000
.L809B97D4:
/* 014F4 809B97D4 28414001 */ slti $at, $v0, 0x4001
/* 014F8 809B97D8 5420000A */ bnel $at, $zero, .L809B9804
/* 014FC 809B97DC 308BFFF7 */ andi $t3, $a0, 0xFFF7 ## $t3 = 00000000
/* 01500 809B97E0 8602007E */ lh $v0, 0x007E($s0) ## 0000007E
/* 01504 809B97E4 86080032 */ lh $t0, 0x0032($s0) ## 00000032
/* 01508 809B97E8 24018000 */ addiu $at, $zero, 0x8000 ## $at = FFFF8000
/* 0150C 809B97EC 0042C821 */ addu $t9, $v0, $v0
/* 01510 809B97F0 03284823 */ subu $t1, $t9, $t0
/* 01514 809B97F4 01215021 */ addu $t2, $t1, $at
/* 01518 809B97F8 A60A0032 */ sh $t2, 0x0032($s0) ## 00000032
/* 0151C 809B97FC 96040088 */ lhu $a0, 0x0088($s0) ## 00000088
/* 01520 809B9800 308BFFF7 */ andi $t3, $a0, 0xFFF7 ## $t3 = 00000000
.L809B9804:
/* 01524 809B9804 A60B0088 */ sh $t3, 0x0088($s0) ## 00000088
/* 01528 809B9808 3164FFFF */ andi $a0, $t3, 0xFFFF ## $a0 = 00000000
/* 0152C 809B980C 308C0003 */ andi $t4, $a0, 0x0003 ## $t4 = 00000000
.L809B9810:
/* 01530 809B9810 5180004E */ beql $t4, $zero, .L809B994C
/* 01534 809B9814 C6120164 */ lwc1 $f18, 0x0164($s0) ## 00000164
/* 01538 809B9818 860D001C */ lh $t5, 0x001C($s0) ## 0000001C
/* 0153C 809B981C 8FA40044 */ lw $a0, 0x0044($sp)
/* 01540 809B9820 2401FFFE */ addiu $at, $zero, 0xFFFE ## $at = FFFFFFFE
/* 01544 809B9824 15A1001D */ bne $t5, $at, .L809B989C
/* 01548 809B9828 248407C0 */ addiu $a0, $a0, 0x07C0 ## $a0 = 000007C0
/* 0154C 809B982C 8E050078 */ lw $a1, 0x0078($s0) ## 00000078
/* 01550 809B9830 0C010753 */ jal func_80041D4C
/* 01554 809B9834 9206007D */ lbu $a2, 0x007D($s0) ## 0000007D
/* 01558 809B9838 24030002 */ addiu $v1, $zero, 0x0002 ## $v1 = 00000002
/* 0155C 809B983C 10430005 */ beq $v0, $v1, .L809B9854
/* 01560 809B9840 24010003 */ addiu $at, $zero, 0x0003 ## $at = 00000003
/* 01564 809B9844 10410003 */ beq $v0, $at, .L809B9854
/* 01568 809B9848 24010009 */ addiu $at, $zero, 0x0009 ## $at = 00000009
/* 0156C 809B984C 54410014 */ bnel $v0, $at, .L809B98A0
/* 01570 809B9850 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
.L809B9854:
/* 01574 809B9854 860F0268 */ lh $t7, 0x0268($s0) ## 00000268
/* 01578 809B9858 8E190004 */ lw $t9, 0x0004($s0) ## 00000004
/* 0157C 809B985C 2401FFFE */ addiu $at, $zero, 0xFFFE ## $at = FFFFFFFE
/* 01580 809B9860 240E000A */ addiu $t6, $zero, 0x000A ## $t6 = 0000000A
/* 01584 809B9864 24090007 */ addiu $t1, $zero, 0x0007 ## $t1 = 00000007
/* 01588 809B9868 3C05809C */ lui $a1, %hi(func_809B9B64) ## $a1 = 809C0000
/* 0158C 809B986C 25F80001 */ addiu $t8, $t7, 0x0001 ## $t8 = 00000001
/* 01590 809B9870 03214024 */ and $t0, $t9, $at
/* 01594 809B9874 AE03025C */ sw $v1, 0x025C($s0) ## 0000025C
/* 01598 809B9878 AE0E0260 */ sw $t6, 0x0260($s0) ## 00000260
/* 0159C 809B987C A6180268 */ sh $t8, 0x0268($s0) ## 00000268
/* 015A0 809B9880 AE080004 */ sw $t0, 0x0004($s0) ## 00000004
/* 015A4 809B9884 AE090250 */ sw $t1, 0x0250($s0) ## 00000250
/* 015A8 809B9888 24A59B64 */ addiu $a1, $a1, %lo(func_809B9B64) ## $a1 = 809B9B64
/* 015AC 809B988C 0C26E0B8 */ jal func_809B82E0
/* 015B0 809B9890 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 015B4 809B9894 1000006B */ beq $zero, $zero, .L809B9A44
/* 015B8 809B9898 8FBF0034 */ lw $ra, 0x0034($sp)
.L809B989C:
/* 015BC 809B989C 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
.L809B98A0:
/* 015C0 809B98A0 0C00BE0A */ jal Audio_PlayActorSound2
/* 015C4 809B98A4 2405387B */ addiu $a1, $zero, 0x387B ## $a1 = 0000387B
/* 015C8 809B98A8 3C01C160 */ lui $at, 0xC160 ## $at = C1600000
/* 015CC 809B98AC 44812000 */ mtc1 $at, $f4 ## $f4 = -14.00
/* 015D0 809B98B0 C6000060 */ lwc1 $f0, 0x0060($s0) ## 00000060
/* 015D4 809B98B4 3C014120 */ lui $at, 0x4120 ## $at = 41200000
/* 015D8 809B98B8 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000
/* 015DC 809B98BC 4604003C */ c.lt.s $f0, $f4
/* 015E0 809B98C0 26060024 */ addiu $a2, $s0, 0x0024 ## $a2 = 00000024
/* 015E4 809B98C4 3C0740E0 */ lui $a3, 0x40E0 ## $a3 = 40E00000
/* 015E8 809B98C8 240C0002 */ addiu $t4, $zero, 0x0002 ## $t4 = 00000002
/* 015EC 809B98CC 45020007 */ bc1fl .L809B98EC
/* 015F0 809B98D0 44815000 */ mtc1 $at, $f10 ## $f10 = 10.00
/* 015F4 809B98D4 3C01809C */ lui $at, %hi(D_809BBC98) ## $at = 809C0000
/* 015F8 809B98D8 C426BC98 */ lwc1 $f6, %lo(D_809BBC98)($at)
/* 015FC 809B98DC 46060202 */ mul.s $f8, $f0, $f6
/* 01600 809B98E0 10000004 */ beq $zero, $zero, .L809B98F4
/* 01604 809B98E4 E6080060 */ swc1 $f8, 0x0060($s0) ## 00000060
/* 01608 809B98E8 44815000 */ mtc1 $at, $f10 ## $f10 = -0.00
.L809B98EC:
/* 0160C 809B98EC 00000000 */ nop
/* 01610 809B98F0 E60A0060 */ swc1 $f10, 0x0060($s0) ## 00000060
.L809B98F4:
/* 01614 809B98F4 960A0088 */ lhu $t2, 0x0088($s0) ## 00000088
/* 01618 809B98F8 3C014000 */ lui $at, 0x4000 ## $at = 40000000
/* 0161C 809B98FC 44818000 */ mtc1 $at, $f16 ## $f16 = 2.00
/* 01620 809B9900 314BFFFE */ andi $t3, $t2, 0xFFFE ## $t3 = 00000000
/* 01624 809B9904 A60B0088 */ sh $t3, 0x0088($s0) ## 00000088
/* 01628 809B9908 AFA00020 */ sw $zero, 0x0020($sp)
/* 0162C 809B990C AFA0001C */ sw $zero, 0x001C($sp)
/* 01630 809B9910 AFA00018 */ sw $zero, 0x0018($sp)
/* 01634 809B9914 AFAC0010 */ sw $t4, 0x0010($sp)
/* 01638 809B9918 8FA40044 */ lw $a0, 0x0044($sp)
/* 0163C 809B991C 0C00CC98 */ jal func_80033260
/* 01640 809B9920 E7B00014 */ swc1 $f16, 0x0014($sp)
/* 01644 809B9924 8605008A */ lh $a1, 0x008A($s0) ## 0000008A
/* 01648 809B9928 AFA00010 */ sw $zero, 0x0010($sp)
/* 0164C 809B992C 26040032 */ addiu $a0, $s0, 0x0032 ## $a0 = 00000032
/* 01650 809B9930 00052823 */ subu $a1, $zero, $a1
/* 01654 809B9934 00052C00 */ sll $a1, $a1, 16
/* 01658 809B9938 00052C03 */ sra $a1, $a1, 16
/* 0165C 809B993C 24060001 */ addiu $a2, $zero, 0x0001 ## $a2 = 00000001
/* 01660 809B9940 0C01E1A7 */ jal Math_SmoothStepToS
/* 01664 809B9944 24070BB8 */ addiu $a3, $zero, 0x0BB8 ## $a3 = 00000BB8
/* 01668 809B9948 C6120164 */ lwc1 $f18, 0x0164($s0) ## 00000164
.L809B994C:
/* 0166C 809B994C 860D0032 */ lh $t5, 0x0032($s0) ## 00000032
/* 01670 809B9950 24010005 */ addiu $at, $zero, 0x0005 ## $at = 00000005
/* 01674 809B9954 4600910D */ trunc.w.s $f4, $f18
/* 01678 809B9958 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 0167C 809B995C A60D00B6 */ sh $t5, 0x00B6($s0) ## 000000B6
/* 01680 809B9960 440F2000 */ mfc1 $t7, $f4
/* 01684 809B9964 00000000 */ nop
/* 01688 809B9968 55E10004 */ bnel $t7, $at, .L809B997C
/* 0168C 809B996C 8E020260 */ lw $v0, 0x0260($s0) ## 00000260
/* 01690 809B9970 0C00BE0A */ jal Audio_PlayActorSound2
/* 01694 809B9974 240538C8 */ addiu $a1, $zero, 0x38C8 ## $a1 = 000038C8
/* 01698 809B9978 8E020260 */ lw $v0, 0x0260($s0) ## 00000260
.L809B997C:
/* 0169C 809B997C 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 016A0 809B9980 1440002E */ bne $v0, $zero, .L809B9A3C
/* 016A4 809B9984 2458FFFF */ addiu $t8, $v0, 0xFFFF ## $t8 = FFFFFFFF
/* 016A8 809B9988 0C00BE0A */ jal Audio_PlayActorSound2
/* 016AC 809B998C 240538CC */ addiu $a1, $zero, 0x38CC ## $a1 = 000038CC
/* 016B0 809B9990 8602001C */ lh $v0, 0x001C($s0) ## 0000001C
/* 016B4 809B9994 2401FFFD */ addiu $at, $zero, 0xFFFD ## $at = FFFFFFFD
/* 016B8 809B9998 1041001C */ beq $v0, $at, .L809B9A0C
/* 016BC 809B999C 2401FFFE */ addiu $at, $zero, 0xFFFE ## $at = FFFFFFFE
/* 016C0 809B99A0 1041000A */ beq $v0, $at, .L809B99CC
/* 016C4 809B99A4 2401FFFF */ addiu $at, $zero, 0xFFFF ## $at = FFFFFFFF
/* 016C8 809B99A8 54410026 */ bnel $v0, $at, .L809B9A44
/* 016CC 809B99AC 8FBF0034 */ lw $ra, 0x0034($sp)
/* 016D0 809B99B0 44800000 */ mtc1 $zero, $f0 ## $f0 = 0.00
/* 016D4 809B99B4 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 016D8 809B99B8 E6000060 */ swc1 $f0, 0x0060($s0) ## 00000060
/* 016DC 809B99BC 0C26E38D */ jal func_809B8E34
/* 016E0 809B99C0 E600006C */ swc1 $f0, 0x006C($s0) ## 0000006C
/* 016E4 809B99C4 1000001F */ beq $zero, $zero, .L809B9A44
/* 016E8 809B99C8 8FBF0034 */ lw $ra, 0x0034($sp)
.L809B99CC:
/* 016EC 809B99CC 3C014120 */ lui $at, 0x4120 ## $at = 41200000
/* 016F0 809B99D0 44813000 */ mtc1 $at, $f6 ## $f6 = 10.00
/* 016F4 809B99D4 C6080060 */ lwc1 $f8, 0x0060($s0) ## 00000060
/* 016F8 809B99D8 8FA40044 */ lw $a0, 0x0044($sp)
/* 016FC 809B99DC 46083032 */ c.eq.s $f6, $f8
/* 01700 809B99E0 00000000 */ nop
/* 01704 809B99E4 45020017 */ bc1fl .L809B9A44
/* 01708 809B99E8 8FBF0034 */ lw $ra, 0x0034($sp)
/* 0170C 809B99EC 0C26E695 */ jal func_809B9A54
/* 01710 809B99F0 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000
/* 01714 809B99F4 8FA40044 */ lw $a0, 0x0044($sp)
/* 01718 809B99F8 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000
/* 0171C 809B99FC 0C26E0DF */ jal func_809B837C
/* 01720 809B9A00 24060001 */ addiu $a2, $zero, 0x0001 ## $a2 = 00000001
/* 01724 809B9A04 1000000F */ beq $zero, $zero, .L809B9A44
/* 01728 809B9A08 8FBF0034 */ lw $ra, 0x0034($sp)
.L809B9A0C:
/* 0172C 809B9A0C 44800000 */ mtc1 $zero, $f0 ## $f0 = 0.00
/* 01730 809B9A10 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000
/* 01734 809B9A14 E6000060 */ swc1 $f0, 0x0060($s0) ## 00000060
/* 01738 809B9A18 E600006C */ swc1 $f0, 0x006C($s0) ## 0000006C
/* 0173C 809B9A1C 0C26E80A */ jal func_809BA028
/* 01740 809B9A20 8FA40044 */ lw $a0, 0x0044($sp)
/* 01744 809B9A24 3C014270 */ lui $at, 0x4270 ## $at = 42700000
/* 01748 809B9A28 44818000 */ mtc1 $at, $f16 ## $f16 = 60.00
/* 0174C 809B9A2C C60A0028 */ lwc1 $f10, 0x0028($s0) ## 00000028
/* 01750 809B9A30 46105481 */ sub.s $f18, $f10, $f16
/* 01754 809B9A34 10000002 */ beq $zero, $zero, .L809B9A40
/* 01758 809B9A38 E6120028 */ swc1 $f18, 0x0028($s0) ## 00000028
.L809B9A3C:
/* 0175C 809B9A3C AE180260 */ sw $t8, 0x0260($s0) ## 00000260
.L809B9A40:
/* 01760 809B9A40 8FBF0034 */ lw $ra, 0x0034($sp)
.L809B9A44:
/* 01764 809B9A44 8FB00030 */ lw $s0, 0x0030($sp)
/* 01768 809B9A48 27BD0040 */ addiu $sp, $sp, 0x0040 ## $sp = 00000000
/* 0176C 809B9A4C 03E00008 */ jr $ra
/* 01770 809B9A50 00000000 */ nop

View file

@ -1,71 +0,0 @@
glabel func_809B9A54
/* 01774 809B9A54 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 01778 809B9A58 AFA40018 */ sw $a0, 0x0018($sp)
/* 0177C 809B9A5C 00A03025 */ or $a2, $a1, $zero ## $a2 = 00000000
/* 01780 809B9A60 24A4014C */ addiu $a0, $a1, 0x014C ## $a0 = 0000014C
/* 01784 809B9A64 AFBF0014 */ sw $ra, 0x0014($sp)
/* 01788 809B9A68 3C050600 */ lui $a1, %hi(D_06000184) ## $a1 = 06000000
/* 0178C 809B9A6C 24A50184 */ addiu $a1, $a1, %lo(D_06000184) ## $a1 = 06000184
/* 01790 809B9A70 0C0294BE */ jal SkelAnime_ChangeAnimDefaultRepeat
/* 01794 809B9A74 AFA6001C */ sw $a2, 0x001C($sp)
/* 01798 809B9A78 8FA6001C */ lw $a2, 0x001C($sp)
/* 0179C 809B9A7C 24010003 */ addiu $at, $zero, 0x0003 ## $at = 00000003
/* 017A0 809B9A80 3C05809C */ lui $a1, %hi(func_809B9B64) ## $a1 = 809C0000
/* 017A4 809B9A84 8CCE0250 */ lw $t6, 0x0250($a2) ## 00000250
/* 017A8 809B9A88 24080004 */ addiu $t0, $zero, 0x0004 ## $t0 = 00000004
/* 017AC 809B9A8C 24A59B64 */ addiu $a1, $a1, %lo(func_809B9B64) ## $a1 = 809B9B64
/* 017B0 809B9A90 15C10012 */ bne $t6, $at, .L809B9ADC
/* 017B4 809B9A94 00C02025 */ or $a0, $a2, $zero ## $a0 = 00000000
/* 017B8 809B9A98 3C0140A0 */ lui $at, 0x40A0 ## $at = 40A00000
/* 017BC 809B9A9C 44812000 */ mtc1 $at, $f4 ## $f4 = 5.00
/* 017C0 809B9AA0 3C01BF80 */ lui $at, 0xBF80 ## $at = BF800000
/* 017C4 809B9AA4 44813000 */ mtc1 $at, $f6 ## $f6 = -1.00
/* 017C8 809B9AA8 94D80088 */ lhu $t8, 0x0088($a2) ## 00000088
/* 017CC 809B9AAC 3C014180 */ lui $at, 0x4180 ## $at = 41800000
/* 017D0 809B9AB0 44814000 */ mtc1 $at, $f8 ## $f8 = 16.00
/* 017D4 809B9AB4 240F0001 */ addiu $t7, $zero, 0x0001 ## $t7 = 00000001
/* 017D8 809B9AB8 3319FFFE */ andi $t9, $t8, 0xFFFE ## $t9 = 00000000
/* 017DC 809B9ABC A4CF0268 */ sh $t7, 0x0268($a2) ## 00000268
/* 017E0 809B9AC0 ACC00260 */ sw $zero, 0x0260($a2) ## 00000260
/* 017E4 809B9AC4 ACC0025C */ sw $zero, 0x025C($a2) ## 0000025C
/* 017E8 809B9AC8 A4D90088 */ sh $t9, 0x0088($a2) ## 00000088
/* 017EC 809B9ACC E4C40068 */ swc1 $f4, 0x0068($a2) ## 00000068
/* 017F0 809B9AD0 E4C6006C */ swc1 $f6, 0x006C($a2) ## 0000006C
/* 017F4 809B9AD4 1000001C */ beq $zero, $zero, .L809B9B48
/* 017F8 809B9AD8 E4C80060 */ swc1 $f8, 0x0060($a2) ## 00000060
.L809B9ADC:
/* 017FC 809B9ADC 3C0142A0 */ lui $at, 0x42A0 ## $at = 42A00000
/* 01800 809B9AE0 44818000 */ mtc1 $at, $f16 ## $f16 = 80.00
/* 01804 809B9AE4 C4CA0028 */ lwc1 $f10, 0x0028($a2) ## 00000028
/* 01808 809B9AE8 8CCB0024 */ lw $t3, 0x0024($a2) ## 00000024
/* 0180C 809B9AEC 44800000 */ mtc1 $zero, $f0 ## $f0 = 0.00
/* 01810 809B9AF0 46105481 */ sub.s $f18, $f10, $f16
/* 01814 809B9AF4 94CC0088 */ lhu $t4, 0x0088($a2) ## 00000088
/* 01818 809B9AF8 8CCE0004 */ lw $t6, 0x0004($a2) ## 00000004
/* 0181C 809B9AFC ACCB0008 */ sw $t3, 0x0008($a2) ## 00000008
/* 01820 809B9B00 E4D20028 */ swc1 $f18, 0x0028($a2) ## 00000028
/* 01824 809B9B04 8CCA0028 */ lw $t2, 0x0028($a2) ## 00000028
/* 01828 809B9B08 8CCB002C */ lw $t3, 0x002C($a2) ## 0000002C
/* 0182C 809B9B0C 2401FFFE */ addiu $at, $zero, 0xFFFE ## $at = FFFFFFFE
/* 01830 809B9B10 24090002 */ addiu $t1, $zero, 0x0002 ## $t1 = 00000002
/* 01834 809B9B14 318DFFFE */ andi $t5, $t4, 0xFFFE ## $t5 = 00000000
/* 01838 809B9B18 01C17824 */ and $t7, $t6, $at
/* 0183C 809B9B1C A0C800AF */ sb $t0, 0x00AF($a2) ## 000000AF
/* 01840 809B9B20 ACC00260 */ sw $zero, 0x0260($a2) ## 00000260
/* 01844 809B9B24 A4C00268 */ sh $zero, 0x0268($a2) ## 00000268
/* 01848 809B9B28 ACC9025C */ sw $t1, 0x025C($a2) ## 0000025C
/* 0184C 809B9B2C A4CD0088 */ sh $t5, 0x0088($a2) ## 00000088
/* 01850 809B9B30 ACCF0004 */ sw $t7, 0x0004($a2) ## 00000004
/* 01854 809B9B34 E4C00068 */ swc1 $f0, 0x0068($a2) ## 00000068
/* 01858 809B9B38 E4C0006C */ swc1 $f0, 0x006C($a2) ## 0000006C
/* 0185C 809B9B3C E4C00060 */ swc1 $f0, 0x0060($a2) ## 00000060
/* 01860 809B9B40 ACCA000C */ sw $t2, 0x000C($a2) ## 0000000C
/* 01864 809B9B44 ACCB0010 */ sw $t3, 0x0010($a2) ## 00000010
.L809B9B48:
/* 01868 809B9B48 24180007 */ addiu $t8, $zero, 0x0007 ## $t8 = 00000007
/* 0186C 809B9B4C 0C26E0B8 */ jal func_809B82E0
/* 01870 809B9B50 ACD80250 */ sw $t8, 0x0250($a2) ## 00000250
/* 01874 809B9B54 8FBF0014 */ lw $ra, 0x0014($sp)
/* 01878 809B9B58 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
/* 0187C 809B9B5C 03E00008 */ jr $ra
/* 01880 809B9B60 00000000 */ nop

View file

@ -1,275 +0,0 @@
.late_rodata
glabel D_809BBC9C
.float -1.059999942779541
glabel D_809BBCA0
.float 65535.0
.text
glabel func_809B9B64
/* 01884 809B9B64 27BDFFA8 */ addiu $sp, $sp, 0xFFA8 ## $sp = FFFFFFA8
/* 01888 809B9B68 AFBF0024 */ sw $ra, 0x0024($sp)
/* 0188C 809B9B6C AFB00020 */ sw $s0, 0x0020($sp)
/* 01890 809B9B70 AFA5005C */ sw $a1, 0x005C($sp)
/* 01894 809B9B74 8CAF1C44 */ lw $t7, 0x1C44($a1) ## 00001C44
/* 01898 809B9B78 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 0189C 809B9B7C 2484014C */ addiu $a0, $a0, 0x014C ## $a0 = 0000014C
/* 018A0 809B9B80 0C02927F */ jal SkelAnime_FrameUpdateMatrix
/* 018A4 809B9B84 AFAF0054 */ sw $t7, 0x0054($sp)
/* 018A8 809B9B88 8E030260 */ lw $v1, 0x0260($s0) ## 00000260
/* 018AC 809B9B8C 24010001 */ addiu $at, $zero, 0x0001 ## $at = 00000001
/* 018B0 809B9B90 10600002 */ beq $v1, $zero, .L809B9B9C
/* 018B4 809B9B94 2478FFFF */ addiu $t8, $v1, 0xFFFF ## $t8 = FFFFFFFF
/* 018B8 809B9B98 AE180260 */ sw $t8, 0x0260($s0) ## 00000260
.L809B9B9C:
/* 018BC 809B9B9C 8619008A */ lh $t9, 0x008A($s0) ## 0000008A
/* 018C0 809B9BA0 860800B6 */ lh $t0, 0x00B6($s0) ## 000000B6
/* 018C4 809B9BA4 86040268 */ lh $a0, 0x0268($s0) ## 00000268
/* 018C8 809B9BA8 8FA50054 */ lw $a1, 0x0054($sp)
/* 018CC 809B9BAC 03281023 */ subu $v0, $t9, $t0
/* 018D0 809B9BB0 00021400 */ sll $v0, $v0, 16
/* 018D4 809B9BB4 10800007 */ beq $a0, $zero, .L809B9BD4
/* 018D8 809B9BB8 00021403 */ sra $v0, $v0, 16
/* 018DC 809B9BBC 10810031 */ beq $a0, $at, .L809B9C84
/* 018E0 809B9BC0 24050002 */ addiu $a1, $zero, 0x0002 ## $a1 = 00000002
/* 018E4 809B9BC4 5085009F */ beql $a0, $a1, .L809B9E44
/* 018E8 809B9BC8 8E0F0260 */ lw $t7, 0x0260($s0) ## 00000260
/* 018EC 809B9BCC 100000C0 */ beq $zero, $zero, .L809B9ED0
/* 018F0 809B9BD0 00000000 */ nop
.L809B9BD4:
/* 018F4 809B9BD4 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 018F8 809B9BD8 0C00B6D2 */ jal func_8002DB48
/* 018FC 809B9BDC A7A2004E */ sh $v0, 0x004E($sp)
/* 01900 809B9BE0 3C01437A */ lui $at, 0x437A ## $at = 437A0000
/* 01904 809B9BE4 44812000 */ mtc1 $at, $f4 ## $f4 = 250.00
/* 01908 809B9BE8 87A2004E */ lh $v0, 0x004E($sp)
/* 0190C 809B9BEC 4604003E */ c.le.s $f0, $f4
/* 01910 809B9BF0 00000000 */ nop
/* 01914 809B9BF4 45000021 */ bc1f .L809B9C7C
/* 01918 809B9BF8 00000000 */ nop
/* 0191C 809B9BFC 04400003 */ bltz $v0, .L809B9C0C
/* 01920 809B9C00 00021823 */ subu $v1, $zero, $v0
/* 01924 809B9C04 10000001 */ beq $zero, $zero, .L809B9C0C
/* 01928 809B9C08 00401825 */ or $v1, $v0, $zero ## $v1 = 00000000
.L809B9C0C:
/* 0192C 809B9C0C 28614001 */ slti $at, $v1, 0x4001
/* 01930 809B9C10 1020001A */ beq $at, $zero, .L809B9C7C
/* 01934 809B9C14 00000000 */ nop
/* 01938 809B9C18 8E090260 */ lw $t1, 0x0260($s0) ## 00000260
/* 0193C 809B9C1C 3C0140A0 */ lui $at, 0x40A0 ## $at = 40A00000
/* 01940 809B9C20 240A0001 */ addiu $t2, $zero, 0x0001 ## $t2 = 00000001
/* 01944 809B9C24 15200015 */ bne $t1, $zero, .L809B9C7C
/* 01948 809B9C28 240B0007 */ addiu $t3, $zero, 0x0007 ## $t3 = 00000007
/* 0194C 809B9C2C 44813000 */ mtc1 $at, $f6 ## $f6 = 5.00
/* 01950 809B9C30 3C01BF80 */ lui $at, 0xBF80 ## $at = BF800000
/* 01954 809B9C34 44814000 */ mtc1 $at, $f8 ## $f8 = -1.00
/* 01958 809B9C38 960C0088 */ lhu $t4, 0x0088($s0) ## 00000088
/* 0195C 809B9C3C 860E0268 */ lh $t6, 0x0268($s0) ## 00000268
/* 01960 809B9C40 3C014190 */ lui $at, 0x4190 ## $at = 41900000
/* 01964 809B9C44 44815000 */ mtc1 $at, $f10 ## $f10 = 18.00
/* 01968 809B9C48 318DFFFE */ andi $t5, $t4, 0xFFFE ## $t5 = 00000000
/* 0196C 809B9C4C 25CF0001 */ addiu $t7, $t6, 0x0001 ## $t7 = 00000001
/* 01970 809B9C50 AE0A025C */ sw $t2, 0x025C($s0) ## 0000025C
/* 01974 809B9C54 AE0B0260 */ sw $t3, 0x0260($s0) ## 00000260
/* 01978 809B9C58 A60D0088 */ sh $t5, 0x0088($s0) ## 00000088
/* 0197C 809B9C5C A60F0268 */ sh $t7, 0x0268($s0) ## 00000268
/* 01980 809B9C60 E6060068 */ swc1 $f6, 0x0068($s0) ## 00000068
/* 01984 809B9C64 E608006C */ swc1 $f8, 0x006C($s0) ## 0000006C
/* 01988 809B9C68 E60A0060 */ swc1 $f10, 0x0060($s0) ## 00000060
/* 0198C 809B9C6C 8FA4005C */ lw $a0, 0x005C($sp)
/* 01990 809B9C70 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000
/* 01994 809B9C74 0C26E0DF */ jal func_809B837C
/* 01998 809B9C78 00003025 */ or $a2, $zero, $zero ## $a2 = 00000000
.L809B9C7C:
/* 0199C 809B9C7C 10000094 */ beq $zero, $zero, .L809B9ED0
/* 019A0 809B9C80 86040268 */ lh $a0, 0x0268($s0) ## 00000268
.L809B9C84:
/* 019A4 809B9C84 8E180260 */ lw $t8, 0x0260($s0) ## 00000260
/* 019A8 809B9C88 17000005 */ bne $t8, $zero, .L809B9CA0
/* 019AC 809B9C8C 00000000 */ nop
/* 019B0 809B9C90 8E190004 */ lw $t9, 0x0004($s0) ## 00000004
/* 019B4 809B9C94 AE00025C */ sw $zero, 0x025C($s0) ## 0000025C
/* 019B8 809B9C98 37280001 */ ori $t0, $t9, 0x0001 ## $t0 = 00000001
/* 019BC 809B9C9C AE080004 */ sw $t0, 0x0004($s0) ## 00000004
.L809B9CA0:
/* 019C0 809B9CA0 0C03F66B */ jal Rand_ZeroOne
## Rand.Next() float
/* 019C4 809B9CA4 00000000 */ nop
/* 019C8 809B9CA8 C6100274 */ lwc1 $f16, 0x0274($s0) ## 00000274
/* 019CC 809B9CAC 44801000 */ mtc1 $zero, $f2 ## $f2 = 0.00
/* 019D0 809B9CB0 26040288 */ addiu $a0, $s0, 0x0288 ## $a0 = 00000288
/* 019D4 809B9CB4 46008480 */ add.s $f18, $f16, $f0
/* 019D8 809B9CB8 3C0542A0 */ lui $a1, 0x42A0 ## $a1 = 42A00000
/* 019DC 809B9CBC 3C063F80 */ lui $a2, 0x3F80 ## $a2 = 3F800000
/* 019E0 809B9CC0 3C074120 */ lui $a3, 0x4120 ## $a3 = 41200000
/* 019E4 809B9CC4 E6120274 */ swc1 $f18, 0x0274($s0) ## 00000274
/* 019E8 809B9CC8 0C01E0C4 */ jal Math_SmoothStepToF
/* 019EC 809B9CCC E7A20010 */ swc1 $f2, 0x0010($sp)
/* 019F0 809B9CD0 44801000 */ mtc1 $zero, $f2 ## $f2 = 0.00
/* 019F4 809B9CD4 2604028C */ addiu $a0, $s0, 0x028C ## $a0 = 0000028C
/* 019F8 809B9CD8 3C0542C8 */ lui $a1, 0x42C8 ## $a1 = 42C80000
/* 019FC 809B9CDC 3C063F80 */ lui $a2, 0x3F80 ## $a2 = 3F800000
/* 01A00 809B9CE0 3C074120 */ lui $a3, 0x4120 ## $a3 = 41200000
/* 01A04 809B9CE4 0C01E0C4 */ jal Math_SmoothStepToF
/* 01A08 809B9CE8 E7A20010 */ swc1 $f2, 0x0010($sp)
/* 01A0C 809B9CEC 96040088 */ lhu $a0, 0x0088($s0) ## 00000088
/* 01A10 809B9CF0 30890008 */ andi $t1, $a0, 0x0008 ## $t1 = 00000000
/* 01A14 809B9CF4 51200016 */ beql $t1, $zero, .L809B9D50
/* 01A18 809B9CF8 308E0001 */ andi $t6, $a0, 0x0001 ## $t6 = 00000000
/* 01A1C 809B9CFC 86060032 */ lh $a2, 0x0032($s0) ## 00000032
/* 01A20 809B9D00 8605007E */ lh $a1, 0x007E($s0) ## 0000007E
/* 01A24 809B9D04 00C51023 */ subu $v0, $a2, $a1
/* 01A28 809B9D08 00021400 */ sll $v0, $v0, 16
/* 01A2C 809B9D0C 00021403 */ sra $v0, $v0, 16
/* 01A30 809B9D10 04400003 */ bltz $v0, .L809B9D20
/* 01A34 809B9D14 00021823 */ subu $v1, $zero, $v0
/* 01A38 809B9D18 10000001 */ beq $zero, $zero, .L809B9D20
/* 01A3C 809B9D1C 00401825 */ or $v1, $v0, $zero ## $v1 = 00000000
.L809B9D20:
/* 01A40 809B9D20 28614001 */ slti $at, $v1, 0x4001
/* 01A44 809B9D24 14200006 */ bne $at, $zero, .L809B9D40
/* 01A48 809B9D28 00A55021 */ addu $t2, $a1, $a1
/* 01A4C 809B9D2C 01465823 */ subu $t3, $t2, $a2
/* 01A50 809B9D30 24018000 */ addiu $at, $zero, 0x8000 ## $at = FFFF8000
/* 01A54 809B9D34 01616021 */ addu $t4, $t3, $at
/* 01A58 809B9D38 A60C0032 */ sh $t4, 0x0032($s0) ## 00000032
/* 01A5C 809B9D3C 96040088 */ lhu $a0, 0x0088($s0) ## 00000088
.L809B9D40:
/* 01A60 809B9D40 308DFFF7 */ andi $t5, $a0, 0xFFF7 ## $t5 = 00000000
/* 01A64 809B9D44 A60D0088 */ sh $t5, 0x0088($s0) ## 00000088
/* 01A68 809B9D48 31A4FFFF */ andi $a0, $t5, 0xFFFF ## $a0 = 00000000
/* 01A6C 809B9D4C 308E0001 */ andi $t6, $a0, 0x0001 ## $t6 = 00000000
.L809B9D50:
/* 01A70 809B9D50 11C00030 */ beq $t6, $zero, .L809B9E14
/* 01A74 809B9D54 8FA4005C */ lw $a0, 0x005C($sp)
/* 01A78 809B9D58 248407C0 */ addiu $a0, $a0, 0x07C0 ## $a0 = 000007C0
/* 01A7C 809B9D5C 8E050078 */ lw $a1, 0x0078($s0) ## 00000078
/* 01A80 809B9D60 0C010753 */ jal func_80041D4C
/* 01A84 809B9D64 9206007D */ lbu $a2, 0x007D($s0) ## 0000007D
/* 01A88 809B9D68 24050002 */ addiu $a1, $zero, 0x0002 ## $a1 = 00000002
/* 01A8C 809B9D6C 10450005 */ beq $v0, $a1, .L809B9D84
/* 01A90 809B9D70 24010003 */ addiu $at, $zero, 0x0003 ## $at = 00000003
/* 01A94 809B9D74 10410003 */ beq $v0, $at, .L809B9D84
/* 01A98 809B9D78 24010009 */ addiu $at, $zero, 0x0009 ## $at = 00000009
/* 01A9C 809B9D7C 5441000D */ bnel $v0, $at, .L809B9DB4
/* 01AA0 809B9D80 3C014150 */ lui $at, 0x4150 ## $at = 41500000
.L809B9D84:
/* 01AA4 809B9D84 86180268 */ lh $t8, 0x0268($s0) ## 00000268
/* 01AA8 809B9D88 8E080004 */ lw $t0, 0x0004($s0) ## 00000004
/* 01AAC 809B9D8C 2401FFFE */ addiu $at, $zero, 0xFFFE ## $at = FFFFFFFE
/* 01AB0 809B9D90 240F000A */ addiu $t7, $zero, 0x000A ## $t7 = 0000000A
/* 01AB4 809B9D94 27190001 */ addiu $t9, $t8, 0x0001 ## $t9 = 00000001
/* 01AB8 809B9D98 01014824 */ and $t1, $t0, $at
/* 01ABC 809B9D9C AE05025C */ sw $a1, 0x025C($s0) ## 0000025C
/* 01AC0 809B9DA0 AE0F0260 */ sw $t7, 0x0260($s0) ## 00000260
/* 01AC4 809B9DA4 A6190268 */ sh $t9, 0x0268($s0) ## 00000268
/* 01AC8 809B9DA8 10000017 */ beq $zero, $zero, .L809B9E08
/* 01ACC 809B9DAC AE090004 */ sw $t1, 0x0004($s0) ## 00000004
/* 01AD0 809B9DB0 3C014150 */ lui $at, 0x4150 ## $at = 41500000
.L809B9DB4:
/* 01AD4 809B9DB4 44810000 */ mtc1 $at, $f0 ## $f0 = 13.00
/* 01AD8 809B9DB8 3C01809C */ lui $at, %hi(D_809BBC9C) ## $at = 809C0000
/* 01ADC 809B9DBC C426BC9C */ lwc1 $f6, %lo(D_809BBC9C)($at)
/* 01AE0 809B9DC0 C6040060 */ lwc1 $f4, 0x0060($s0) ## 00000060
/* 01AE4 809B9DC4 46062202 */ mul.s $f8, $f4, $f6
/* 01AE8 809B9DC8 E6080060 */ swc1 $f8, 0x0060($s0) ## 00000060
/* 01AEC 809B9DCC C60A0060 */ lwc1 $f10, 0x0060($s0) ## 00000060
/* 01AF0 809B9DD0 460A003C */ c.lt.s $f0, $f10
/* 01AF4 809B9DD4 00000000 */ nop
/* 01AF8 809B9DD8 45000002 */ bc1f .L809B9DE4
/* 01AFC 809B9DDC 00000000 */ nop
/* 01B00 809B9DE0 E6000060 */ swc1 $f0, 0x0060($s0) ## 00000060
.L809B9DE4:
/* 01B04 809B9DE4 0C0329C8 */ jal Math_SinF
/* 01B08 809B9DE8 C60C0274 */ lwc1 $f12, 0x0274($s0) ## 00000274
/* 01B0C 809B9DEC 3C01809C */ lui $at, %hi(D_809BBCA0) ## $at = 809C0000
/* 01B10 809B9DF0 C430BCA0 */ lwc1 $f16, %lo(D_809BBCA0)($at)
/* 01B14 809B9DF4 46100482 */ mul.s $f18, $f0, $f16
/* 01B18 809B9DF8 4600910D */ trunc.w.s $f4, $f18
/* 01B1C 809B9DFC 440B2000 */ mfc1 $t3, $f4
/* 01B20 809B9E00 00000000 */ nop
/* 01B24 809B9E04 A60B0032 */ sh $t3, 0x0032($s0) ## 00000032
.L809B9E08:
/* 01B28 809B9E08 960C0088 */ lhu $t4, 0x0088($s0) ## 00000088
/* 01B2C 809B9E0C 318DFFFE */ andi $t5, $t4, 0xFFFE ## $t5 = 00000000
/* 01B30 809B9E10 A60D0088 */ sh $t5, 0x0088($s0) ## 00000088
.L809B9E14:
/* 01B34 809B9E14 860E0032 */ lh $t6, 0x0032($s0) ## 00000032
/* 01B38 809B9E18 260502AC */ addiu $a1, $s0, 0x02AC ## $a1 = 000002AC
/* 01B3C 809B9E1C A60E00B6 */ sh $t6, 0x00B6($s0) ## 000000B6
/* 01B40 809B9E20 0C00CD90 */ jal Actor_GetCollidedExplosive
/* 01B44 809B9E24 8FA4005C */ lw $a0, 0x005C($sp)
/* 01B48 809B9E28 10400003 */ beq $v0, $zero, .L809B9E38
/* 01B4C 809B9E2C 00000000 */ nop
/* 01B50 809B9E30 0C26E5BB */ jal func_809B96EC
/* 01B54 809B9E34 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
.L809B9E38:
/* 01B58 809B9E38 10000025 */ beq $zero, $zero, .L809B9ED0
/* 01B5C 809B9E3C 86040268 */ lh $a0, 0x0268($s0) ## 00000268
/* 01B60 809B9E40 8E0F0260 */ lw $t7, 0x0260($s0) ## 00000260
.L809B9E44:
/* 01B64 809B9E44 27A20038 */ addiu $v0, $sp, 0x0038 ## $v0 = FFFFFFE0
/* 01B68 809B9E48 24180078 */ addiu $t8, $zero, 0x0078 ## $t8 = 00000078
/* 01B6C 809B9E4C 15E00020 */ bne $t7, $zero, .L809B9ED0
/* 01B70 809B9E50 00000000 */ nop
/* 01B74 809B9E54 8E080008 */ lw $t0, 0x0008($s0) ## 00000008
/* 01B78 809B9E58 44801000 */ mtc1 $zero, $f2 ## $f2 = 0.00
/* 01B7C 809B9E5C 8E19000C */ lw $t9, 0x000C($s0) ## 0000000C
/* 01B80 809B9E60 AE080024 */ sw $t0, 0x0024($s0) ## 00000024
/* 01B84 809B9E64 8E080010 */ lw $t0, 0x0010($s0) ## 00000010
/* 01B88 809B9E68 8A0A0014 */ lwl $t2, 0x0014($s0) ## 00000014
/* 01B8C 809B9E6C 9A0A0017 */ lwr $t2, 0x0017($s0) ## 00000017
/* 01B90 809B9E70 A6000268 */ sh $zero, 0x0268($s0) ## 00000268
/* 01B94 809B9E74 AE180260 */ sw $t8, 0x0260($s0) ## 00000260
/* 01B98 809B9E78 E6020068 */ swc1 $f2, 0x0068($s0) ## 00000068
/* 01B9C 809B9E7C E602006C */ swc1 $f2, 0x006C($s0) ## 0000006C
/* 01BA0 809B9E80 E6020060 */ swc1 $f2, 0x0060($s0) ## 00000060
/* 01BA4 809B9E84 AE190028 */ sw $t9, 0x0028($s0) ## 00000028
/* 01BA8 809B9E88 AE08002C */ sw $t0, 0x002C($s0) ## 0000002C
/* 01BAC 809B9E8C AC4A0000 */ sw $t2, 0x0000($v0) ## FFFFFFE0
/* 01BB0 809B9E90 960A0018 */ lhu $t2, 0x0018($s0) ## 00000018
/* 01BB4 809B9E94 8C4C0000 */ lw $t4, 0x0000($v0) ## FFFFFFE0
/* 01BB8 809B9E98 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 01BBC 809B9E9C A44A0004 */ sh $t2, 0x0004($v0) ## FFFFFFE4
/* 01BC0 809B9EA0 AA0C0030 */ swl $t4, 0x0030($s0) ## 00000030
/* 01BC4 809B9EA4 BA0C0033 */ swr $t4, 0x0033($s0) ## 00000033
/* 01BC8 809B9EA8 944C0004 */ lhu $t4, 0x0004($v0) ## FFFFFFE4
/* 01BCC 809B9EAC A60C0034 */ sh $t4, 0x0034($s0) ## 00000034
/* 01BD0 809B9EB0 884E0000 */ lwl $t6, 0x0000($v0) ## FFFFFFE0
/* 01BD4 809B9EB4 984E0003 */ lwr $t6, 0x0003($v0) ## FFFFFFE3
/* 01BD8 809B9EB8 AA0E00B4 */ swl $t6, 0x00B4($s0) ## 000000B4
/* 01BDC 809B9EBC BA0E00B7 */ swr $t6, 0x00B7($s0) ## 000000B7
/* 01BE0 809B9EC0 944E0004 */ lhu $t6, 0x0004($v0) ## FFFFFFE4
/* 01BE4 809B9EC4 0C26E146 */ jal func_809B8518
/* 01BE8 809B9EC8 A60E00B8 */ sh $t6, 0x00B8($s0) ## 000000B8
/* 01BEC 809B9ECC 86040268 */ lh $a0, 0x0268($s0) ## 00000268
.L809B9ED0:
/* 01BF0 809B9ED0 50800011 */ beql $a0, $zero, .L809B9F18
/* 01BF4 809B9ED4 8FBF0024 */ lw $ra, 0x0024($sp)
/* 01BF8 809B9ED8 C6060164 */ lwc1 $f6, 0x0164($s0) ## 00000164
/* 01BFC 809B9EDC 24010005 */ addiu $at, $zero, 0x0005 ## $at = 00000005
/* 01C00 809B9EE0 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 01C04 809B9EE4 4600320D */ trunc.w.s $f8, $f6
/* 01C08 809B9EE8 44024000 */ mfc1 $v0, $f8
/* 01C0C 809B9EEC 00000000 */ nop
/* 01C10 809B9EF0 10400003 */ beq $v0, $zero, .L809B9F00
/* 01C14 809B9EF4 00000000 */ nop
/* 01C18 809B9EF8 54410004 */ bnel $v0, $at, .L809B9F0C
/* 01C1C 809B9EFC 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
.L809B9F00:
/* 01C20 809B9F00 0C00BE0A */ jal Audio_PlayActorSound2
/* 01C24 809B9F04 240538C9 */ addiu $a1, $zero, 0x38C9 ## $a1 = 000038C9
/* 01C28 809B9F08 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
.L809B9F0C:
/* 01C2C 809B9F0C 0C00BE0A */ jal Audio_PlayActorSound2
/* 01C30 809B9F10 240530CF */ addiu $a1, $zero, 0x30CF ## $a1 = 000030CF
/* 01C34 809B9F14 8FBF0024 */ lw $ra, 0x0024($sp)
.L809B9F18:
/* 01C38 809B9F18 8FB00020 */ lw $s0, 0x0020($sp)
/* 01C3C 809B9F1C 27BD0058 */ addiu $sp, $sp, 0x0058 ## $sp = 00000000
/* 01C40 809B9F20 03E00008 */ jr $ra
/* 01C44 809B9F24 00000000 */ nop

View file

@ -1,16 +0,0 @@
glabel func_809B9F28
/* 01C48 809B9F28 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 01C4C 809B9F2C 00803025 */ or $a2, $a0, $zero ## $a2 = 00000000
/* 01C50 809B9F30 AFBF0014 */ sw $ra, 0x0014($sp)
/* 01C54 809B9F34 24C50290 */ addiu $a1, $a2, 0x0290 ## $a1 = 00000290
/* 01C58 809B9F38 AFA60018 */ sw $a2, 0x0018($sp)
/* 01C5C 809B9F3C 0C01E01A */ jal Math_Vec3f_Yaw
/* 01C60 809B9F40 24840024 */ addiu $a0, $a0, 0x0024 ## $a0 = 00000024
/* 01C64 809B9F44 8FA60018 */ lw $a2, 0x0018($sp)
/* 01C68 809B9F48 A4C200B6 */ sh $v0, 0x00B6($a2) ## 000000B6
/* 01C6C 809B9F4C A4C20032 */ sh $v0, 0x0032($a2) ## 00000032
/* 01C70 809B9F50 8FBF0014 */ lw $ra, 0x0014($sp)
/* 01C74 809B9F54 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
/* 01C78 809B9F58 03E00008 */ jr $ra
/* 01C7C 809B9F5C 00000000 */ nop

View file

@ -1,53 +0,0 @@
glabel func_809B9F60
/* 01C80 809B9F60 3C0E0001 */ lui $t6, 0x0001 ## $t6 = 00010000
/* 01C84 809B9F64 908F029C */ lbu $t7, 0x029C($a0) ## 0000029C
/* 01C88 809B9F68 01C57021 */ addu $t6, $t6, $a1
/* 01C8C 809B9F6C 8DCE1E08 */ lw $t6, 0x1E08($t6) ## 00011E08
/* 01C90 809B9F70 000FC0C0 */ sll $t8, $t7, 3
/* 01C94 809B9F74 9083029D */ lbu $v1, 0x029D($a0) ## 0000029D
/* 01C98 809B9F78 01D81021 */ addu $v0, $t6, $t8
/* 01C9C 809B9F7C 90590000 */ lbu $t9, 0x0000($v0) ## 00000000
/* 01CA0 809B9F80 3C0E8016 */ lui $t6, %hi(gSegments)
/* 01CA4 809B9F84 3C0100FF */ lui $at, 0x00FF ## $at = 00FF0000
/* 01CA8 809B9F88 2728FFFF */ addiu $t0, $t9, 0xFFFF ## $t0 = FFFFFFFF
/* 01CAC 809B9F8C 00084C00 */ sll $t1, $t0, 16
/* 01CB0 809B9F90 00095403 */ sra $t2, $t1, 16
/* 01CB4 809B9F94 15430003 */ bne $t2, $v1, .L809B9FA4
/* 01CB8 809B9F98 246B0001 */ addiu $t3, $v1, 0x0001 ## $t3 = 00000001
/* 01CBC 809B9F9C 10000002 */ beq $zero, $zero, .L809B9FA8
/* 01CC0 809B9FA0 A080029D */ sb $zero, 0x029D($a0) ## 0000029D
.L809B9FA4:
/* 01CC4 809B9FA4 A08B029D */ sb $t3, 0x029D($a0) ## 0000029D
.L809B9FA8:
/* 01CC8 809B9FA8 8C450004 */ lw $a1, 0x0004($v0) ## 00000004
/* 01CCC 809B9FAC 9088029D */ lbu $t0, 0x029D($a0) ## 0000029D
/* 01CD0 809B9FB0 3421FFFF */ ori $at, $at, 0xFFFF ## $at = 00FFFFFF
/* 01CD4 809B9FB4 00056100 */ sll $t4, $a1, 4
/* 01CD8 809B9FB8 000C6F02 */ srl $t5, $t4, 28
/* 01CDC 809B9FBC 000D7880 */ sll $t7, $t5, 2
/* 01CE0 809B9FC0 01CF7021 */ addu $t6, $t6, $t7
/* 01CE4 809B9FC4 8DCE6FA8 */ lw $t6, %lo(gSegments)($t6)
/* 01CE8 809B9FC8 00084880 */ sll $t1, $t0, 2
/* 01CEC 809B9FCC 00A1C024 */ and $t8, $a1, $at
/* 01CF0 809B9FD0 01284823 */ subu $t1, $t1, $t0
/* 01CF4 809B9FD4 00094840 */ sll $t1, $t1, 1
/* 01CF8 809B9FD8 01D8C821 */ addu $t9, $t6, $t8
/* 01CFC 809B9FDC 03291821 */ addu $v1, $t9, $t1
/* 01D00 809B9FE0 3C018000 */ lui $at, 0x8000 ## $at = 80000000
/* 01D04 809B9FE4 00611821 */ addu $v1, $v1, $at
/* 01D08 809B9FE8 846A0000 */ lh $t2, 0x0000($v1) ## 00000000
/* 01D0C 809B9FEC 448A2000 */ mtc1 $t2, $f4 ## $f4 = 0.00
/* 01D10 809B9FF0 00000000 */ nop
/* 01D14 809B9FF4 468021A0 */ cvt.s.w $f6, $f4
/* 01D18 809B9FF8 E4860290 */ swc1 $f6, 0x0290($a0) ## 00000290
/* 01D1C 809B9FFC 846B0002 */ lh $t3, 0x0002($v1) ## 00000002
/* 01D20 809BA000 448B4000 */ mtc1 $t3, $f8 ## $f8 = 0.00
/* 01D24 809BA004 00000000 */ nop
/* 01D28 809BA008 468042A0 */ cvt.s.w $f10, $f8
/* 01D2C 809BA00C E48A0294 */ swc1 $f10, 0x0294($a0) ## 00000294
/* 01D30 809BA010 846C0004 */ lh $t4, 0x0004($v1) ## 00000004
/* 01D34 809BA014 448C8000 */ mtc1 $t4, $f16 ## $f16 = 0.00
/* 01D38 809BA018 00000000 */ nop
/* 01D3C 809BA01C 468084A0 */ cvt.s.w $f18, $f16
/* 01D40 809BA020 03E00008 */ jr $ra
/* 01D44 809BA024 E4920298 */ swc1 $f18, 0x0298($a0) ## 00000298

View file

@ -1,46 +0,0 @@
glabel func_809BA028
/* 01D48 809BA028 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 01D4C 809BA02C AFA40018 */ sw $a0, 0x0018($sp)
/* 01D50 809BA030 00A03025 */ or $a2, $a1, $zero ## $a2 = 00000000
/* 01D54 809BA034 24A4014C */ addiu $a0, $a1, 0x014C ## $a0 = 0000014C
/* 01D58 809BA038 AFBF0014 */ sw $ra, 0x0014($sp)
/* 01D5C 809BA03C 3C050600 */ lui $a1, %hi(D_06000444) ## $a1 = 06000000
/* 01D60 809BA040 24A50444 */ addiu $a1, $a1, %lo(D_06000444) ## $a1 = 06000444
/* 01D64 809BA044 0C0294BE */ jal SkelAnime_ChangeAnimDefaultRepeat
/* 01D68 809BA048 AFA6001C */ sw $a2, 0x001C($sp)
/* 01D6C 809BA04C 8FA6001C */ lw $a2, 0x001C($sp)
/* 01D70 809BA050 3C014270 */ lui $at, 0x4270 ## $at = 42700000
/* 01D74 809BA054 44814000 */ mtc1 $at, $f8 ## $f8 = 60.00
/* 01D78 809BA058 C4C60028 */ lwc1 $f6, 0x0028($a2) ## 00000028
/* 01D7C 809BA05C 3C0142C8 */ lui $at, 0x42C8 ## $at = 42C80000
/* 01D80 809BA060 44802000 */ mtc1 $zero, $f4 ## $f4 = 0.00
/* 01D84 809BA064 46083280 */ add.s $f10, $f6, $f8
/* 01D88 809BA068 44818000 */ mtc1 $at, $f16 ## $f16 = 100.00
/* 01D8C 809BA06C 240E0008 */ addiu $t6, $zero, 0x0008 ## $t6 = 00000008
/* 01D90 809BA070 ACCE0250 */ sw $t6, 0x0250($a2) ## 00000250
/* 01D94 809BA074 E4CA0028 */ swc1 $f10, 0x0028($a2) ## 00000028
/* 01D98 809BA078 A0C0029D */ sb $zero, 0x029D($a2) ## 0000029D
/* 01D9C 809BA07C E4C40068 */ swc1 $f4, 0x0068($a2) ## 00000068
/* 01DA0 809BA080 0C03F66B */ jal Rand_ZeroOne
## Rand.Next() float
/* 01DA4 809BA084 E4D0028C */ swc1 $f16, 0x028C($a2) ## 0000028C
/* 01DA8 809BA088 3C0141F0 */ lui $at, 0x41F0 ## $at = 41F00000
/* 01DAC 809BA08C 44819000 */ mtc1 $at, $f18 ## $f18 = 30.00
/* 01DB0 809BA090 3C014220 */ lui $at, 0x4220 ## $at = 42200000
/* 01DB4 809BA094 44813000 */ mtc1 $at, $f6 ## $f6 = 40.00
/* 01DB8 809BA098 46120102 */ mul.s $f4, $f0, $f18
/* 01DBC 809BA09C 8FA4001C */ lw $a0, 0x001C($sp)
/* 01DC0 809BA0A0 3C0140E0 */ lui $at, 0x40E0 ## $at = 40E00000
/* 01DC4 809BA0A4 44818000 */ mtc1 $at, $f16 ## $f16 = 7.00
/* 01DC8 809BA0A8 3C05809C */ lui $a1, %hi(func_809BA0D8) ## $a1 = 809C0000
/* 01DCC 809BA0AC 24A5A0D8 */ addiu $a1, $a1, %lo(func_809BA0D8) ## $a1 = 809BA0D8
/* 01DD0 809BA0B0 E490027C */ swc1 $f16, 0x027C($a0) ## 0000027C
/* 01DD4 809BA0B4 46062200 */ add.s $f8, $f4, $f6
/* 01DD8 809BA0B8 4600428D */ trunc.w.s $f10, $f8
/* 01DDC 809BA0BC 44185000 */ mfc1 $t8, $f10
/* 01DE0 809BA0C0 0C26E0B8 */ jal func_809B82E0
/* 01DE4 809BA0C4 AC980260 */ sw $t8, 0x0260($a0) ## 00000260
/* 01DE8 809BA0C8 8FBF0014 */ lw $ra, 0x0014($sp)
/* 01DEC 809BA0CC 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
/* 01DF0 809BA0D0 03E00008 */ jr $ra
/* 01DF4 809BA0D4 00000000 */ nop

View file

@ -1,268 +0,0 @@
.late_rodata
glabel D_809BBCA4
.float 0.05
glabel D_809BBCA8
.float 0.009999999776482582
glabel D_809BBCAC
.float 0.1
.text
glabel func_809BA0D8
/* 01DF8 809BA0D8 27BDFFB0 */ addiu $sp, $sp, 0xFFB0 ## $sp = FFFFFFB0
/* 01DFC 809BA0DC AFBF0024 */ sw $ra, 0x0024($sp)
/* 01E00 809BA0E0 AFB00020 */ sw $s0, 0x0020($sp)
/* 01E04 809BA0E4 AFA50054 */ sw $a1, 0x0054($sp)
/* 01E08 809BA0E8 44800000 */ mtc1 $zero, $f0 ## $f0 = 0.00
/* 01E0C 809BA0EC C4840068 */ lwc1 $f4, 0x0068($a0) ## 00000068
/* 01E10 809BA0F0 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 01E14 809BA0F4 26050290 */ addiu $a1, $s0, 0x0290 ## $a1 = 00000290
/* 01E18 809BA0F8 46040032 */ c.eq.s $f0, $f4
/* 01E1C 809BA0FC 24840024 */ addiu $a0, $a0, 0x0024 ## $a0 = 00000024
/* 01E20 809BA100 3C063F80 */ lui $a2, 0x3F80 ## $a2 = 3F800000
/* 01E24 809BA104 3C073F00 */ lui $a3, 0x3F00 ## $a3 = 3F000000
/* 01E28 809BA108 45020098 */ bc1fl .L809BA36C
/* 01E2C 809BA10C 44050000 */ mfc1 $a1, $f0
/* 01E30 809BA110 0C01E027 */ jal Math_Vec3f_Pitch
/* 01E34 809BA114 AFA4002C */ sw $a0, 0x002C($sp)
/* 01E38 809BA118 00022400 */ sll $a0, $v0, 16
/* 01E3C 809BA11C A7A20042 */ sh $v0, 0x0042($sp)
/* 01E40 809BA120 0C01DE1C */ jal Math_SinS
## sins?
/* 01E44 809BA124 00042403 */ sra $a0, $a0, 16
/* 01E48 809BA128 C606027C */ lwc1 $f6, 0x027C($s0) ## 0000027C
/* 01E4C 809BA12C 87A40042 */ lh $a0, 0x0042($sp)
/* 01E50 809BA130 46060202 */ mul.s $f8, $f0, $f6
/* 01E54 809BA134 0C01DE0D */ jal Math_CosS
## coss?
/* 01E58 809BA138 E7A8003C */ swc1 $f8, 0x003C($sp)
/* 01E5C 809BA13C C60A027C */ lwc1 $f10, 0x027C($s0) ## 0000027C
/* 01E60 809BA140 460A0402 */ mul.s $f16, $f0, $f10
/* 01E64 809BA144 E7B00038 */ swc1 $f16, 0x0038($sp)
/* 01E68 809BA148 0C01DE1C */ jal Math_SinS
## sins?
/* 01E6C 809BA14C 860400B6 */ lh $a0, 0x00B6($s0) ## 000000B6
/* 01E70 809BA150 C7B20038 */ lwc1 $f18, 0x0038($sp)
/* 01E74 809BA154 860400B6 */ lh $a0, 0x00B6($s0) ## 000000B6
/* 01E78 809BA158 46120082 */ mul.s $f2, $f0, $f18
/* 01E7C 809BA15C 0C01DE0D */ jal Math_CosS
## coss?
/* 01E80 809BA160 E7A20048 */ swc1 $f2, 0x0048($sp)
/* 01E84 809BA164 C7A20048 */ lwc1 $f2, 0x0048($sp)
/* 01E88 809BA168 44803000 */ mtc1 $zero, $f6 ## $f6 = 0.00
/* 01E8C 809BA16C C7A40038 */ lwc1 $f4, 0x0038($sp)
/* 01E90 809BA170 44804000 */ mtc1 $zero, $f8 ## $f8 = 0.00
/* 01E94 809BA174 4602303E */ c.le.s $f6, $f2
/* 01E98 809BA178 46040302 */ mul.s $f12, $f0, $f4
/* 01E9C 809BA17C 8FA4002C */ lw $a0, 0x002C($sp)
/* 01EA0 809BA180 3C063F80 */ lui $a2, 0x3F80 ## $a2 = 3F800000
/* 01EA4 809BA184 45020004 */ bc1fl .L809BA198
/* 01EA8 809BA188 46001007 */ neg.s $f0, $f2
/* 01EAC 809BA18C 10000002 */ beq $zero, $zero, .L809BA198
/* 01EB0 809BA190 46001006 */ mov.s $f0, $f2
/* 01EB4 809BA194 46001007 */ neg.s $f0, $f2
.L809BA198:
/* 01EB8 809BA198 8E050290 */ lw $a1, 0x0290($s0) ## 00000290
/* 01EBC 809BA19C 44070000 */ mfc1 $a3, $f0
/* 01EC0 809BA1A0 E7AC0044 */ swc1 $f12, 0x0044($sp)
/* 01EC4 809BA1A4 0C01E0C4 */ jal Math_SmoothStepToF
/* 01EC8 809BA1A8 E7A80010 */ swc1 $f8, 0x0010($sp)
/* 01ECC 809BA1AC C7AE003C */ lwc1 $f14, 0x003C($sp)
/* 01ED0 809BA1B0 44805000 */ mtc1 $zero, $f10 ## $f10 = 0.00
/* 01ED4 809BA1B4 44808000 */ mtc1 $zero, $f16 ## $f16 = 0.00
/* 01ED8 809BA1B8 C7AC0044 */ lwc1 $f12, 0x0044($sp)
/* 01EDC 809BA1BC 460E503E */ c.le.s $f10, $f14
/* 01EE0 809BA1C0 46000086 */ mov.s $f2, $f0
/* 01EE4 809BA1C4 26040028 */ addiu $a0, $s0, 0x0028 ## $a0 = 00000028
/* 01EE8 809BA1C8 3C063F80 */ lui $a2, 0x3F80 ## $a2 = 3F800000
/* 01EEC 809BA1CC 45020004 */ bc1fl .L809BA1E0
/* 01EF0 809BA1D0 46007007 */ neg.s $f0, $f14
/* 01EF4 809BA1D4 10000002 */ beq $zero, $zero, .L809BA1E0
/* 01EF8 809BA1D8 46007006 */ mov.s $f0, $f14
/* 01EFC 809BA1DC 46007007 */ neg.s $f0, $f14
.L809BA1E0:
/* 01F00 809BA1E0 8E050294 */ lw $a1, 0x0294($s0) ## 00000294
/* 01F04 809BA1E4 44070000 */ mfc1 $a3, $f0
/* 01F08 809BA1E8 E7AC0044 */ swc1 $f12, 0x0044($sp)
/* 01F0C 809BA1EC E7A2004C */ swc1 $f2, 0x004C($sp)
/* 01F10 809BA1F0 0C01E0C4 */ jal Math_SmoothStepToF
/* 01F14 809BA1F4 E7B00010 */ swc1 $f16, 0x0010($sp)
/* 01F18 809BA1F8 C7AC0044 */ lwc1 $f12, 0x0044($sp)
/* 01F1C 809BA1FC 44809000 */ mtc1 $zero, $f18 ## $f18 = 0.00
/* 01F20 809BA200 C7A2004C */ lwc1 $f2, 0x004C($sp)
/* 01F24 809BA204 44802000 */ mtc1 $zero, $f4 ## $f4 = 0.00
/* 01F28 809BA208 460C903E */ c.le.s $f18, $f12
/* 01F2C 809BA20C 2604002C */ addiu $a0, $s0, 0x002C ## $a0 = 0000002C
/* 01F30 809BA210 3C063F80 */ lui $a2, 0x3F80 ## $a2 = 3F800000
/* 01F34 809BA214 46001080 */ add.s $f2, $f2, $f0
/* 01F38 809BA218 45020004 */ bc1fl .L809BA22C
/* 01F3C 809BA21C 46006007 */ neg.s $f0, $f12
/* 01F40 809BA220 10000002 */ beq $zero, $zero, .L809BA22C
/* 01F44 809BA224 46006006 */ mov.s $f0, $f12
/* 01F48 809BA228 46006007 */ neg.s $f0, $f12
.L809BA22C:
/* 01F4C 809BA22C 8E050298 */ lw $a1, 0x0298($s0) ## 00000298
/* 01F50 809BA230 44070000 */ mfc1 $a3, $f0
/* 01F54 809BA234 E7A2004C */ swc1 $f2, 0x004C($sp)
/* 01F58 809BA238 0C01E0C4 */ jal Math_SmoothStepToF
/* 01F5C 809BA23C E7A40010 */ swc1 $f4, 0x0010($sp)
/* 01F60 809BA240 C7A2004C */ lwc1 $f2, 0x004C($sp)
/* 01F64 809BA244 46001080 */ add.s $f2, $f2, $f0
/* 01F68 809BA248 0C03F66B */ jal Rand_ZeroOne
## Rand.Next() float
/* 01F6C 809BA24C E7A2004C */ swc1 $f2, 0x004C($sp)
/* 01F70 809BA250 3C01809C */ lui $at, %hi(D_809BBCA4) ## $at = 809C0000
/* 01F74 809BA254 C426BCA4 */ lwc1 $f6, %lo(D_809BBCA4)($at)
/* 01F78 809BA258 3C01809C */ lui $at, %hi(D_809BBCA8) ## $at = 809C0000
/* 01F7C 809BA25C C428BCA8 */ lwc1 $f8, %lo(D_809BBCA8)($at)
/* 01F80 809BA260 C7A2004C */ lwc1 $f2, 0x004C($sp)
/* 01F84 809BA264 C6120274 */ lwc1 $f18, 0x0274($s0) ## 00000274
/* 01F88 809BA268 46080282 */ mul.s $f10, $f0, $f8
/* 01F8C 809BA26C 44804000 */ mtc1 $zero, $f8 ## $f8 = 0.00
/* 01F90 809BA270 3C014120 */ lui $at, 0x4120 ## $at = 41200000
/* 01F94 809BA274 46081032 */ c.eq.s $f2, $f8
/* 01F98 809BA278 460A3400 */ add.s $f16, $f6, $f10
/* 01F9C 809BA27C 46109100 */ add.s $f4, $f18, $f16
/* 01FA0 809BA280 45000028 */ bc1f .L809BA324
/* 01FA4 809BA284 E6040274 */ swc1 $f4, 0x0274($s0) ## 00000274
/* 01FA8 809BA288 8E0E0260 */ lw $t6, 0x0260($s0) ## 00000260
/* 01FAC 809BA28C 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 01FB0 809BA290 25CFFFFF */ addiu $t7, $t6, 0xFFFF ## $t7 = FFFFFFFF
/* 01FB4 809BA294 15E00015 */ bne $t7, $zero, .L809BA2EC
/* 01FB8 809BA298 AE0F0260 */ sw $t7, 0x0260($s0) ## 00000260
/* 01FBC 809BA29C 0C26E7D8 */ jal func_809B9F60
/* 01FC0 809BA2A0 8FA50054 */ lw $a1, 0x0054($sp)
/* 01FC4 809BA2A4 0C26E7CA */ jal func_809B9F28
/* 01FC8 809BA2A8 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 01FCC 809BA2AC 3C050600 */ lui $a1, %hi(D_06000184) ## $a1 = 06000000
/* 01FD0 809BA2B0 24A50184 */ addiu $a1, $a1, %lo(D_06000184) ## $a1 = 06000184
/* 01FD4 809BA2B4 0C0294BE */ jal SkelAnime_ChangeAnimDefaultRepeat
/* 01FD8 809BA2B8 2604014C */ addiu $a0, $s0, 0x014C ## $a0 = 0000014C
/* 01FDC 809BA2BC 0C03F66B */ jal Rand_ZeroOne
## Rand.Next() float
/* 01FE0 809BA2C0 00000000 */ nop
/* 01FE4 809BA2C4 3C0141F0 */ lui $at, 0x41F0 ## $at = 41F00000
/* 01FE8 809BA2C8 44813000 */ mtc1 $at, $f6 ## $f6 = 30.00
/* 01FEC 809BA2CC 3C014220 */ lui $at, 0x4220 ## $at = 42200000
/* 01FF0 809BA2D0 44819000 */ mtc1 $at, $f18 ## $f18 = 40.00
/* 01FF4 809BA2D4 46060282 */ mul.s $f10, $f0, $f6
/* 01FF8 809BA2D8 46125400 */ add.s $f16, $f10, $f18
/* 01FFC 809BA2DC 4600810D */ trunc.w.s $f4, $f16
/* 02000 809BA2E0 44082000 */ mfc1 $t0, $f4
/* 02004 809BA2E4 1000000B */ beq $zero, $zero, .L809BA314
/* 02008 809BA2E8 AE080260 */ sw $t0, 0x0260($s0) ## 00000260
.L809BA2EC:
/* 0200C 809BA2EC 8E09025C */ lw $t1, 0x025C($s0) ## 0000025C
/* 02010 809BA2F0 2604014C */ addiu $a0, $s0, 0x014C ## $a0 = 0000014C
/* 02014 809BA2F4 3C050600 */ lui $a1, %hi(D_06000444) ## $a1 = 06000000
/* 02018 809BA2F8 51200004 */ beql $t1, $zero, .L809BA30C
/* 0201C 809BA2FC 860A0032 */ lh $t2, 0x0032($s0) ## 00000032
/* 02020 809BA300 0C0294BE */ jal SkelAnime_ChangeAnimDefaultRepeat
/* 02024 809BA304 24A50444 */ addiu $a1, $a1, %lo(D_06000444) ## $a1 = 06000444
/* 02028 809BA308 860A0032 */ lh $t2, 0x0032($s0) ## 00000032
.L809BA30C:
/* 0202C 809BA30C 254B1F40 */ addiu $t3, $t2, 0x1F40 ## $t3 = 00001F40
/* 02030 809BA310 A60B0032 */ sh $t3, 0x0032($s0) ## 00000032
.L809BA314:
/* 02034 809BA314 44804000 */ mtc1 $zero, $f8 ## $f8 = 0.00
/* 02038 809BA318 AE00025C */ sw $zero, 0x025C($s0) ## 0000025C
/* 0203C 809BA31C 10000005 */ beq $zero, $zero, .L809BA334
/* 02040 809BA320 E608027C */ swc1 $f8, 0x027C($s0) ## 0000027C
.L809BA324:
/* 02044 809BA324 44813000 */ mtc1 $at, $f6 ## $f6 = 0.00
/* 02048 809BA328 240C0001 */ addiu $t4, $zero, 0x0001 ## $t4 = 00000001
/* 0204C 809BA32C AE0C025C */ sw $t4, 0x025C($s0) ## 0000025C
/* 02050 809BA330 E606027C */ swc1 $f6, 0x027C($s0) ## 0000027C
.L809BA334:
/* 02054 809BA334 920D02BC */ lbu $t5, 0x02BC($s0) ## 000002BC
/* 02058 809BA338 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 0205C 809BA33C 31AE0002 */ andi $t6, $t5, 0x0002 ## $t6 = 00000000
/* 02060 809BA340 51C00007 */ beql $t6, $zero, .L809BA360
/* 02064 809BA344 86190032 */ lh $t9, 0x0032($s0) ## 00000032
/* 02068 809BA348 0C00BE0A */ jal Audio_PlayActorSound2
/* 0206C 809BA34C 240538CB */ addiu $a1, $zero, 0x38CB ## $a1 = 000038CB
/* 02070 809BA350 920F02BC */ lbu $t7, 0x02BC($s0) ## 000002BC
/* 02074 809BA354 31F8FFFD */ andi $t8, $t7, 0xFFFD ## $t8 = 00000000
/* 02078 809BA358 A21802BC */ sb $t8, 0x02BC($s0) ## 000002BC
/* 0207C 809BA35C 86190032 */ lh $t9, 0x0032($s0) ## 00000032
.L809BA360:
/* 02080 809BA360 1000000D */ beq $zero, $zero, .L809BA398
/* 02084 809BA364 A61900B6 */ sh $t9, 0x00B6($s0) ## 000000B6
/* 02088 809BA368 44050000 */ mfc1 $a1, $f0
.L809BA36C:
/* 0208C 809BA36C 26040068 */ addiu $a0, $s0, 0x0068 ## $a0 = 00000068
/* 02090 809BA370 0C01E0C4 */ jal Math_SmoothStepToF
/* 02094 809BA374 E7A00010 */ swc1 $f0, 0x0010($sp)
/* 02098 809BA378 44805000 */ mtc1 $zero, $f10 ## $f10 = 0.00
/* 0209C 809BA37C 00000000 */ nop
/* 020A0 809BA380 460A0032 */ c.eq.s $f0, $f10
/* 020A4 809BA384 00000000 */ nop
/* 020A8 809BA388 45000003 */ bc1f .L809BA398
/* 020AC 809BA38C 00000000 */ nop
/* 020B0 809BA390 0C26E7CA */ jal func_809B9F28
/* 020B4 809BA394 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
.L809BA398:
/* 020B8 809BA398 0C02927F */ jal SkelAnime_FrameUpdateMatrix
/* 020BC 809BA39C 2604014C */ addiu $a0, $s0, 0x014C ## $a0 = 0000014C
/* 020C0 809BA3A0 C6120164 */ lwc1 $f18, 0x0164($s0) ## 00000164
/* 020C4 809BA3A4 4600940D */ trunc.w.s $f16, $f18
/* 020C8 809BA3A8 44098000 */ mfc1 $t1, $f16
/* 020CC 809BA3AC 00000000 */ nop
/* 020D0 809BA3B0 5520000D */ bnel $t1, $zero, .L809BA3E8
/* 020D4 809BA3B4 C6080164 */ lwc1 $f8, 0x0164($s0) ## 00000164
/* 020D8 809BA3B8 0C03F66B */ jal Rand_ZeroOne
## Rand.Next() float
/* 020DC 809BA3BC 00000000 */ nop
/* 020E0 809BA3C0 3C01809C */ lui $at, %hi(D_809BBCAC) ## $at = 809C0000
/* 020E4 809BA3C4 C424BCAC */ lwc1 $f4, %lo(D_809BBCAC)($at)
/* 020E8 809BA3C8 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 020EC 809BA3CC 4604003E */ c.le.s $f0, $f4
/* 020F0 809BA3D0 00000000 */ nop
/* 020F4 809BA3D4 45020004 */ bc1fl .L809BA3E8
/* 020F8 809BA3D8 C6080164 */ lwc1 $f8, 0x0164($s0) ## 00000164
/* 020FC 809BA3DC 0C00BE0A */ jal Audio_PlayActorSound2
/* 02100 809BA3E0 240538CA */ addiu $a1, $zero, 0x38CA ## $a1 = 000038CA
/* 02104 809BA3E4 C6080164 */ lwc1 $f8, 0x0164($s0) ## 00000164
.L809BA3E8:
/* 02108 809BA3E8 44805000 */ mtc1 $zero, $f10 ## $f10 = 0.00
/* 0210C 809BA3EC C612027C */ lwc1 $f18, 0x027C($s0) ## 0000027C
/* 02110 809BA3F0 4600418D */ trunc.w.s $f6, $f8
/* 02114 809BA3F4 46125032 */ c.eq.s $f10, $f18
/* 02118 809BA3F8 44023000 */ mfc1 $v0, $f6
/* 0211C 809BA3FC 4503000A */ bc1tl .L809BA428
/* 02120 809BA400 24010002 */ addiu $at, $zero, 0x0002 ## $at = 00000002
/* 02124 809BA404 10400002 */ beq $v0, $zero, .L809BA410
/* 02128 809BA408 24010005 */ addiu $at, $zero, 0x0005 ## $at = 00000005
/* 0212C 809BA40C 14410005 */ bne $v0, $at, .L809BA424
.L809BA410:
/* 02130 809BA410 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 02134 809BA414 0C00BE0A */ jal Audio_PlayActorSound2
/* 02138 809BA418 240538C9 */ addiu $a1, $zero, 0x38C9 ## $a1 = 000038C9
/* 0213C 809BA41C 1000000A */ beq $zero, $zero, .L809BA448
/* 02140 809BA420 8FBF0024 */ lw $ra, 0x0024($sp)
.L809BA424:
/* 02144 809BA424 24010002 */ addiu $at, $zero, 0x0002 ## $at = 00000002
.L809BA428:
/* 02148 809BA428 10410004 */ beq $v0, $at, .L809BA43C
/* 0214C 809BA42C 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 02150 809BA430 24010007 */ addiu $at, $zero, 0x0007 ## $at = 00000007
/* 02154 809BA434 54410004 */ bnel $v0, $at, .L809BA448
/* 02158 809BA438 8FBF0024 */ lw $ra, 0x0024($sp)
.L809BA43C:
/* 0215C 809BA43C 0C00BE0A */ jal Audio_PlayActorSound2
/* 02160 809BA440 240538C8 */ addiu $a1, $zero, 0x38C8 ## $a1 = 000038C8
/* 02164 809BA444 8FBF0024 */ lw $ra, 0x0024($sp)
.L809BA448:
/* 02168 809BA448 8FB00020 */ lw $s0, 0x0020($sp)
/* 0216C 809BA44C 27BD0050 */ addiu $sp, $sp, 0x0050 ## $sp = 00000000
/* 02170 809BA450 03E00008 */ jr $ra
/* 02174 809BA454 00000000 */ nop

View file

@ -1,82 +0,0 @@
glabel func_809BA458
/* 02178 809BA458 27BDFFD0 */ addiu $sp, $sp, 0xFFD0 ## $sp = FFFFFFD0
/* 0217C 809BA45C 3C0F809C */ lui $t7, %hi(D_809BBB50) ## $t7 = 809C0000
/* 02180 809BA460 AFBF001C */ sw $ra, 0x001C($sp)
/* 02184 809BA464 AFB00018 */ sw $s0, 0x0018($sp)
/* 02188 809BA468 AFA50034 */ sw $a1, 0x0034($sp)
/* 0218C 809BA46C 25EFBB50 */ addiu $t7, $t7, %lo(D_809BBB50) ## $t7 = 809BBB50
/* 02190 809BA470 8DF90000 */ lw $t9, 0x0000($t7) ## 809BBB50
/* 02194 809BA474 27AE0024 */ addiu $t6, $sp, 0x0024 ## $t6 = FFFFFFF4
/* 02198 809BA478 8DF80004 */ lw $t8, 0x0004($t7) ## 809BBB54
/* 0219C 809BA47C ADD90000 */ sw $t9, 0x0000($t6) ## FFFFFFF4
/* 021A0 809BA480 8DF90008 */ lw $t9, 0x0008($t7) ## 809BBB58
/* 021A4 809BA484 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 021A8 809BA488 3C050600 */ lui $a1, %hi(D_06000444) ## $a1 = 06000000
/* 021AC 809BA48C 24A50444 */ addiu $a1, $a1, %lo(D_06000444) ## $a1 = 06000444
/* 021B0 809BA490 2484014C */ addiu $a0, $a0, 0x014C ## $a0 = 0000014C
/* 021B4 809BA494 ADD80004 */ sw $t8, 0x0004($t6) ## FFFFFFF8
/* 021B8 809BA498 0C0294BE */ jal SkelAnime_ChangeAnimDefaultRepeat
/* 021BC 809BA49C ADD90008 */ sw $t9, 0x0008($t6) ## FFFFFFFC
/* 021C0 809BA4A0 24080001 */ addiu $t0, $zero, 0x0001 ## $t0 = 00000001
/* 021C4 809BA4A4 AE08025C */ sw $t0, 0x025C($s0) ## 0000025C
/* 021C8 809BA4A8 0C03F66B */ jal Rand_ZeroOne
## Rand.Next() float
/* 021CC 809BA4AC A6000268 */ sh $zero, 0x0268($s0) ## 00000268
/* 021D0 809BA4B0 860B001C */ lh $t3, 0x001C($s0) ## 0000001C
/* 021D4 809BA4B4 A60000B8 */ sh $zero, 0x00B8($s0) ## 000000B8
/* 021D8 809BA4B8 860900B8 */ lh $t1, 0x00B8($s0) ## 000000B8
/* 021DC 809BA4BC 860A008A */ lh $t2, 0x008A($s0) ## 0000008A
/* 021E0 809BA4C0 2401FFFB */ addiu $at, $zero, 0xFFFB ## $at = FFFFFFFB
/* 021E4 809BA4C4 E6000274 */ swc1 $f0, 0x0274($s0) ## 00000274
/* 021E8 809BA4C8 A60900B4 */ sh $t1, 0x00B4($s0) ## 000000B4
/* 021EC 809BA4CC 15610006 */ bne $t3, $at, .L809BA4E8
/* 021F0 809BA4D0 A60A00B6 */ sh $t2, 0x00B6($s0) ## 000000B6
/* 021F4 809BA4D4 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 021F8 809BA4D8 0C26E7D8 */ jal func_809B9F60
/* 021FC 809BA4DC 8FA50034 */ lw $a1, 0x0034($sp)
/* 02200 809BA4E0 0C26E7CA */ jal func_809B9F28
/* 02204 809BA4E4 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
.L809BA4E8:
/* 02208 809BA4E8 C60C0008 */ lwc1 $f12, 0x0008($s0) ## 00000008
/* 0220C 809BA4EC C60E000C */ lwc1 $f14, 0x000C($s0) ## 0000000C
/* 02210 809BA4F0 8E060010 */ lw $a2, 0x0010($s0) ## 00000010
/* 02214 809BA4F4 0C034261 */ jal Matrix_Translate
/* 02218 809BA4F8 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 0221C 809BA4FC 86040030 */ lh $a0, 0x0030($s0) ## 00000030
/* 02220 809BA500 86050032 */ lh $a1, 0x0032($s0) ## 00000032
/* 02224 809BA504 00003025 */ or $a2, $zero, $zero ## $a2 = 00000000
/* 02228 809BA508 0C034421 */ jal Matrix_RotateRPY
/* 0222C 809BA50C 24070001 */ addiu $a3, $zero, 0x0001 ## $a3 = 00000001
/* 02230 809BA510 C60C0274 */ lwc1 $f12, 0x0274($s0) ## 00000274
/* 02234 809BA514 0C0343B5 */ jal Matrix_RotateZ
/* 02238 809BA518 24050001 */ addiu $a1, $zero, 0x0001 ## $a1 = 00000001
/* 0223C 809BA51C C6040278 */ lwc1 $f4, 0x0278($s0) ## 00000278
/* 02240 809BA520 27A40024 */ addiu $a0, $sp, 0x0024 ## $a0 = FFFFFFF4
/* 02244 809BA524 26050024 */ addiu $a1, $s0, 0x0024 ## $a1 = 00000024
/* 02248 809BA528 0C0346BD */ jal Matrix_MultVec3f
/* 0224C 809BA52C E7A40028 */ swc1 $f4, 0x0028($sp)
/* 02250 809BA530 44803000 */ mtc1 $zero, $f6 ## $f6 = 0.00
/* 02254 809BA534 240C0009 */ addiu $t4, $zero, 0x0009 ## $t4 = 00000009
/* 02258 809BA538 AE000324 */ sw $zero, 0x0324($s0) ## 00000324
/* 0225C 809BA53C AE0C0250 */ sw $t4, 0x0250($s0) ## 00000250
/* 02260 809BA540 0C03F66B */ jal Rand_ZeroOne
## Rand.Next() float
/* 02264 809BA544 E6060068 */ swc1 $f6, 0x0068($s0) ## 00000068
/* 02268 809BA548 3C0141F0 */ lui $at, 0x41F0 ## $at = 41F00000
/* 0226C 809BA54C 44814000 */ mtc1 $at, $f8 ## $f8 = 30.00
/* 02270 809BA550 3C014334 */ lui $at, 0x4334 ## $at = 43340000
/* 02274 809BA554 44818000 */ mtc1 $at, $f16 ## $f16 = 180.00
/* 02278 809BA558 46080282 */ mul.s $f10, $f0, $f8
/* 0227C 809BA55C 3C05809C */ lui $a1, %hi(func_809BA628) ## $a1 = 809C0000
/* 02280 809BA560 24A5A628 */ addiu $a1, $a1, %lo(func_809BA628) ## $a1 = 809BA628
/* 02284 809BA564 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 02288 809BA568 46105480 */ add.s $f18, $f10, $f16
/* 0228C 809BA56C 4600910D */ trunc.w.s $f4, $f18
/* 02290 809BA570 440E2000 */ mfc1 $t6, $f4
/* 02294 809BA574 0C26E0B8 */ jal func_809B82E0
/* 02298 809BA578 A60E026E */ sh $t6, 0x026E($s0) ## 0000026E
/* 0229C 809BA57C 8FBF001C */ lw $ra, 0x001C($sp)
/* 022A0 809BA580 8FB00018 */ lw $s0, 0x0018($sp)
/* 022A4 809BA584 27BD0030 */ addiu $sp, $sp, 0x0030 ## $sp = 00000000
/* 022A8 809BA588 03E00008 */ jr $ra
/* 022AC 809BA58C 00000000 */ nop

View file

@ -1,40 +0,0 @@
glabel func_809BA590
/* 022B0 809BA590 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 022B4 809BA594 AFBF0014 */ sw $ra, 0x0014($sp)
/* 022B8 809BA598 00803025 */ or $a2, $a0, $zero ## $a2 = 00000000
/* 022BC 809BA59C 3C050600 */ lui $a1, %hi(D_06000444) ## $a1 = 06000000
/* 022C0 809BA5A0 24A50444 */ addiu $a1, $a1, %lo(D_06000444) ## $a1 = 06000444
/* 022C4 809BA5A4 AFA60018 */ sw $a2, 0x0018($sp)
/* 022C8 809BA5A8 0C0294BE */ jal SkelAnime_ChangeAnimDefaultRepeat
/* 022CC 809BA5AC 2484014C */ addiu $a0, $a0, 0x014C ## $a0 = 0000014C
/* 022D0 809BA5B0 8FA60018 */ lw $a2, 0x0018($sp)
/* 022D4 809BA5B4 44802000 */ mtc1 $zero, $f4 ## $f4 = 0.00
/* 022D8 809BA5B8 240E0001 */ addiu $t6, $zero, 0x0001 ## $t6 = 00000001
/* 022DC 809BA5BC 240F0009 */ addiu $t7, $zero, 0x0009 ## $t7 = 00000009
/* 022E0 809BA5C0 ACCE025C */ sw $t6, 0x025C($a2) ## 0000025C
/* 022E4 809BA5C4 A4C00268 */ sh $zero, 0x0268($a2) ## 00000268
/* 022E8 809BA5C8 ACC00324 */ sw $zero, 0x0324($a2) ## 00000324
/* 022EC 809BA5CC ACCF0250 */ sw $t7, 0x0250($a2) ## 00000250
/* 022F0 809BA5D0 0C03F66B */ jal Rand_ZeroOne
## Rand.Next() float
/* 022F4 809BA5D4 E4C40068 */ swc1 $f4, 0x0068($a2) ## 00000068
/* 022F8 809BA5D8 3C0141F0 */ lui $at, 0x41F0 ## $at = 41F00000
/* 022FC 809BA5DC 44813000 */ mtc1 $at, $f6 ## $f6 = 30.00
/* 02300 809BA5E0 3C014334 */ lui $at, 0x4334 ## $at = 43340000
/* 02304 809BA5E4 44815000 */ mtc1 $at, $f10 ## $f10 = 180.00
/* 02308 809BA5E8 46060202 */ mul.s $f8, $f0, $f6
/* 0230C 809BA5EC 8FA40018 */ lw $a0, 0x0018($sp)
/* 02310 809BA5F0 3C05809C */ lui $a1, %hi(func_809BA628) ## $a1 = 809C0000
/* 02314 809BA5F4 24A5A628 */ addiu $a1, $a1, %lo(func_809BA628) ## $a1 = 809BA628
/* 02318 809BA5F8 8488008A */ lh $t0, 0x008A($a0) ## 0000008A
/* 0231C 809BA5FC A48000B8 */ sh $zero, 0x00B8($a0) ## 000000B8
/* 02320 809BA600 460A4400 */ add.s $f16, $f8, $f10
/* 02324 809BA604 A48800B6 */ sh $t0, 0x00B6($a0) ## 000000B6
/* 02328 809BA608 4600848D */ trunc.w.s $f18, $f16
/* 0232C 809BA60C 44199000 */ mfc1 $t9, $f18
/* 02330 809BA610 0C26E0B8 */ jal func_809B82E0
/* 02334 809BA614 A499026E */ sh $t9, 0x026E($a0) ## 0000026E
/* 02338 809BA618 8FBF0014 */ lw $ra, 0x0014($sp)
/* 0233C 809BA61C 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
/* 02340 809BA620 03E00008 */ jr $ra
/* 02344 809BA624 00000000 */ nop

View file

@ -1,483 +0,0 @@
.late_rodata
glabel D_809BBCB0
.float 0.05
glabel D_809BBCB4
.float 0.009999999776482582
glabel D_809BBCB8
.float 0.002
glabel D_809BBCBC
.float 0.05
glabel D_809BBCC0
.float 0.1
glabel D_809BBCC4
.float 0.1
.text
glabel func_809BA628
/* 02348 809BA628 27BDFF90 */ addiu $sp, $sp, 0xFF90 ## $sp = FFFFFF90
/* 0234C 809BA62C 3C18809C */ lui $t8, %hi(D_809BBB5C) ## $t8 = 809C0000
/* 02350 809BA630 AFBF0024 */ sw $ra, 0x0024($sp)
/* 02354 809BA634 AFB00020 */ sw $s0, 0x0020($sp)
/* 02358 809BA638 AFA50074 */ sw $a1, 0x0074($sp)
/* 0235C 809BA63C 2718BB5C */ addiu $t8, $t8, %lo(D_809BBB5C) ## $t8 = 809BBB5C
/* 02360 809BA640 8F080000 */ lw $t0, 0x0000($t8) ## 809BBB5C
/* 02364 809BA644 8CA21C44 */ lw $v0, 0x1C44($a1) ## 00001C44
/* 02368 809BA648 27AF0060 */ addiu $t7, $sp, 0x0060 ## $t7 = FFFFFFF0
/* 0236C 809BA64C ADE80000 */ sw $t0, 0x0000($t7) ## FFFFFFF0
/* 02370 809BA650 8F080008 */ lw $t0, 0x0008($t8) ## 809BBB64
/* 02374 809BA654 8F190004 */ lw $t9, 0x0004($t8) ## 809BBB60
/* 02378 809BA658 27A90054 */ addiu $t1, $sp, 0x0054 ## $t1 = FFFFFFE4
/* 0237C 809BA65C ADE80008 */ sw $t0, 0x0008($t7) ## FFFFFFF8
/* 02380 809BA660 ADF90004 */ sw $t9, 0x0004($t7) ## FFFFFFF4
/* 02384 809BA664 8C4B0024 */ lw $t3, 0x0024($v0) ## 00000024
/* 02388 809BA668 3C0141F0 */ lui $at, 0x41F0 ## $at = 41F00000
/* 0238C 809BA66C 44813000 */ mtc1 $at, $f6 ## $f6 = 30.00
/* 02390 809BA670 AD2B0000 */ sw $t3, 0x0000($t1) ## FFFFFFE4
/* 02394 809BA674 8C4A0028 */ lw $t2, 0x0028($v0) ## 00000028
/* 02398 809BA678 2401FFFB */ addiu $at, $zero, 0xFFFB ## $at = FFFFFFFB
/* 0239C 809BA67C 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 023A0 809BA680 AD2A0004 */ sw $t2, 0x0004($t1) ## FFFFFFE8
/* 023A4 809BA684 8C4B002C */ lw $t3, 0x002C($v0) ## 0000002C
/* 023A8 809BA688 AD2B0008 */ sw $t3, 0x0008($t1) ## FFFFFFEC
/* 023AC 809BA68C C7A40058 */ lwc1 $f4, 0x0058($sp)
/* 023B0 809BA690 46062200 */ add.s $f8, $f4, $f6
/* 023B4 809BA694 E7A80058 */ swc1 $f8, 0x0058($sp)
/* 023B8 809BA698 848C001C */ lh $t4, 0x001C($a0) ## 0000001C
/* 023BC 809BA69C 558100AD */ bnel $t4, $at, .L809BA954
/* 023C0 809BA6A0 8605008A */ lh $a1, 0x008A($s0) ## 0000008A
/* 023C4 809BA6A4 44800000 */ mtc1 $zero, $f0 ## $f0 = 0.00
/* 023C8 809BA6A8 C48A0068 */ lwc1 $f10, 0x0068($a0) ## 00000068
/* 023CC 809BA6AC 24840008 */ addiu $a0, $a0, 0x0008 ## $a0 = 00000008
/* 023D0 809BA6B0 26050290 */ addiu $a1, $s0, 0x0290 ## $a1 = 00000290
/* 023D4 809BA6B4 460A0032 */ c.eq.s $f0, $f10
/* 023D8 809BA6B8 3C063F80 */ lui $a2, 0x3F80 ## $a2 = 3F800000
/* 023DC 809BA6BC 3C073F00 */ lui $a3, 0x3F00 ## $a3 = 3F000000
/* 023E0 809BA6C0 45020095 */ bc1fl .L809BA918
/* 023E4 809BA6C4 44050000 */ mfc1 $a1, $f0
/* 023E8 809BA6C8 AFA4002C */ sw $a0, 0x002C($sp)
/* 023EC 809BA6CC 0C01E027 */ jal Math_Vec3f_Pitch
/* 023F0 809BA6D0 AFA50028 */ sw $a1, 0x0028($sp)
/* 023F4 809BA6D4 8FA50028 */ lw $a1, 0x0028($sp)
/* 023F8 809BA6D8 A7A20052 */ sh $v0, 0x0052($sp)
/* 023FC 809BA6DC 0C01E01A */ jal Math_Vec3f_Yaw
/* 02400 809BA6E0 8FA4002C */ lw $a0, 0x002C($sp)
/* 02404 809BA6E4 A7A20050 */ sh $v0, 0x0050($sp)
/* 02408 809BA6E8 0C01DE1C */ jal Math_SinS
## sins?
/* 0240C 809BA6EC 87A40052 */ lh $a0, 0x0052($sp)
/* 02410 809BA6F0 C610027C */ lwc1 $f16, 0x027C($s0) ## 0000027C
/* 02414 809BA6F4 87A40052 */ lh $a0, 0x0052($sp)
/* 02418 809BA6F8 46100482 */ mul.s $f18, $f0, $f16
/* 0241C 809BA6FC 0C01DE0D */ jal Math_CosS
## coss?
/* 02420 809BA700 E7B2004C */ swc1 $f18, 0x004C($sp)
/* 02424 809BA704 C604027C */ lwc1 $f4, 0x027C($s0) ## 0000027C
/* 02428 809BA708 AFA00010 */ sw $zero, 0x0010($sp)
/* 0242C 809BA70C 26040032 */ addiu $a0, $s0, 0x0032 ## $a0 = 00000032
/* 02430 809BA710 46040182 */ mul.s $f6, $f0, $f4
/* 02434 809BA714 87A50050 */ lh $a1, 0x0050($sp)
/* 02438 809BA718 24060001 */ addiu $a2, $zero, 0x0001 ## $a2 = 00000001
/* 0243C 809BA71C 240703E8 */ addiu $a3, $zero, 0x03E8 ## $a3 = 000003E8
/* 02440 809BA720 0C01E1A7 */ jal Math_SmoothStepToS
/* 02444 809BA724 E7A60048 */ swc1 $f6, 0x0048($sp)
/* 02448 809BA728 0C01DE1C */ jal Math_SinS
## sins?
/* 0244C 809BA72C 86040032 */ lh $a0, 0x0032($s0) ## 00000032
/* 02450 809BA730 C7A80048 */ lwc1 $f8, 0x0048($sp)
/* 02454 809BA734 86040032 */ lh $a0, 0x0032($s0) ## 00000032
/* 02458 809BA738 46080082 */ mul.s $f2, $f0, $f8
/* 0245C 809BA73C 0C01DE0D */ jal Math_CosS
## coss?
/* 02460 809BA740 E7A20040 */ swc1 $f2, 0x0040($sp)
/* 02464 809BA744 C7A20040 */ lwc1 $f2, 0x0040($sp)
/* 02468 809BA748 44808000 */ mtc1 $zero, $f16 ## $f16 = 0.00
/* 0246C 809BA74C C7AA0048 */ lwc1 $f10, 0x0048($sp)
/* 02470 809BA750 44809000 */ mtc1 $zero, $f18 ## $f18 = 0.00
/* 02474 809BA754 4602803E */ c.le.s $f16, $f2
/* 02478 809BA758 460A0302 */ mul.s $f12, $f0, $f10
/* 0247C 809BA75C 8FA4002C */ lw $a0, 0x002C($sp)
/* 02480 809BA760 3C063F80 */ lui $a2, 0x3F80 ## $a2 = 3F800000
/* 02484 809BA764 45020004 */ bc1fl .L809BA778
/* 02488 809BA768 46001007 */ neg.s $f0, $f2
/* 0248C 809BA76C 10000002 */ beq $zero, $zero, .L809BA778
/* 02490 809BA770 46001006 */ mov.s $f0, $f2
/* 02494 809BA774 46001007 */ neg.s $f0, $f2
.L809BA778:
/* 02498 809BA778 8E050290 */ lw $a1, 0x0290($s0) ## 00000290
/* 0249C 809BA77C 44070000 */ mfc1 $a3, $f0
/* 024A0 809BA780 E7AC003C */ swc1 $f12, 0x003C($sp)
/* 024A4 809BA784 0C01E0C4 */ jal Math_SmoothStepToF
/* 024A8 809BA788 E7B20010 */ swc1 $f18, 0x0010($sp)
/* 024AC 809BA78C C7AE004C */ lwc1 $f14, 0x004C($sp)
/* 024B0 809BA790 44802000 */ mtc1 $zero, $f4 ## $f4 = 0.00
/* 024B4 809BA794 44803000 */ mtc1 $zero, $f6 ## $f6 = 0.00
/* 024B8 809BA798 C7AC003C */ lwc1 $f12, 0x003C($sp)
/* 024BC 809BA79C 460E203E */ c.le.s $f4, $f14
/* 024C0 809BA7A0 46000086 */ mov.s $f2, $f0
/* 024C4 809BA7A4 2604000C */ addiu $a0, $s0, 0x000C ## $a0 = 0000000C
/* 024C8 809BA7A8 3C063F80 */ lui $a2, 0x3F80 ## $a2 = 3F800000
/* 024CC 809BA7AC 45020004 */ bc1fl .L809BA7C0
/* 024D0 809BA7B0 46007007 */ neg.s $f0, $f14
/* 024D4 809BA7B4 10000002 */ beq $zero, $zero, .L809BA7C0
/* 024D8 809BA7B8 46007006 */ mov.s $f0, $f14
/* 024DC 809BA7BC 46007007 */ neg.s $f0, $f14
.L809BA7C0:
/* 024E0 809BA7C0 8E050294 */ lw $a1, 0x0294($s0) ## 00000294
/* 024E4 809BA7C4 44070000 */ mfc1 $a3, $f0
/* 024E8 809BA7C8 E7AC003C */ swc1 $f12, 0x003C($sp)
/* 024EC 809BA7CC E7A20044 */ swc1 $f2, 0x0044($sp)
/* 024F0 809BA7D0 0C01E0C4 */ jal Math_SmoothStepToF
/* 024F4 809BA7D4 E7A60010 */ swc1 $f6, 0x0010($sp)
/* 024F8 809BA7D8 C7AC003C */ lwc1 $f12, 0x003C($sp)
/* 024FC 809BA7DC 44804000 */ mtc1 $zero, $f8 ## $f8 = 0.00
/* 02500 809BA7E0 C7A20044 */ lwc1 $f2, 0x0044($sp)
/* 02504 809BA7E4 44805000 */ mtc1 $zero, $f10 ## $f10 = 0.00
/* 02508 809BA7E8 460C403E */ c.le.s $f8, $f12
/* 0250C 809BA7EC 26040010 */ addiu $a0, $s0, 0x0010 ## $a0 = 00000010
/* 02510 809BA7F0 3C063F80 */ lui $a2, 0x3F80 ## $a2 = 3F800000
/* 02514 809BA7F4 46001080 */ add.s $f2, $f2, $f0
/* 02518 809BA7F8 45020004 */ bc1fl .L809BA80C
/* 0251C 809BA7FC 46006007 */ neg.s $f0, $f12
/* 02520 809BA800 10000002 */ beq $zero, $zero, .L809BA80C
/* 02524 809BA804 46006006 */ mov.s $f0, $f12
/* 02528 809BA808 46006007 */ neg.s $f0, $f12
.L809BA80C:
/* 0252C 809BA80C 8E050298 */ lw $a1, 0x0298($s0) ## 00000298
/* 02530 809BA810 44070000 */ mfc1 $a3, $f0
/* 02534 809BA814 E7A20044 */ swc1 $f2, 0x0044($sp)
/* 02538 809BA818 0C01E0C4 */ jal Math_SmoothStepToF
/* 0253C 809BA81C E7AA0010 */ swc1 $f10, 0x0010($sp)
/* 02540 809BA820 C7A20044 */ lwc1 $f2, 0x0044($sp)
/* 02544 809BA824 46001080 */ add.s $f2, $f2, $f0
/* 02548 809BA828 0C03F66B */ jal Rand_ZeroOne
## Rand.Next() float
/* 0254C 809BA82C E7A20044 */ swc1 $f2, 0x0044($sp)
/* 02550 809BA830 3C01809C */ lui $at, %hi(D_809BBCB0) ## $at = 809C0000
/* 02554 809BA834 C430BCB0 */ lwc1 $f16, %lo(D_809BBCB0)($at)
/* 02558 809BA838 3C01809C */ lui $at, %hi(D_809BBCB4) ## $at = 809C0000
/* 0255C 809BA83C C432BCB4 */ lwc1 $f18, %lo(D_809BBCB4)($at)
/* 02560 809BA840 C7A20044 */ lwc1 $f2, 0x0044($sp)
/* 02564 809BA844 C6080274 */ lwc1 $f8, 0x0274($s0) ## 00000274
/* 02568 809BA848 46120102 */ mul.s $f4, $f0, $f18
/* 0256C 809BA84C 44809000 */ mtc1 $zero, $f18 ## $f18 = 0.00
/* 02570 809BA850 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 02574 809BA854 46121032 */ c.eq.s $f2, $f18
/* 02578 809BA858 46048180 */ add.s $f6, $f16, $f4
/* 0257C 809BA85C 46064280 */ add.s $f10, $f8, $f6
/* 02580 809BA860 45000003 */ bc1f .L809BA870
/* 02584 809BA864 E60A0274 */ swc1 $f10, 0x0274($s0) ## 00000274
/* 02588 809BA868 0C26E7D8 */ jal func_809B9F60
/* 0258C 809BA86C 8FA50074 */ lw $a1, 0x0074($sp)
.L809BA870:
/* 02590 809BA870 920E02BC */ lbu $t6, 0x02BC($s0) ## 000002BC
/* 02594 809BA874 3C014120 */ lui $at, 0x4120 ## $at = 41200000
/* 02598 809BA878 44818000 */ mtc1 $at, $f16 ## $f16 = 10.00
/* 0259C 809BA87C 240D0001 */ addiu $t5, $zero, 0x0001 ## $t5 = 00000001
/* 025A0 809BA880 31CF0002 */ andi $t7, $t6, 0x0002 ## $t7 = 00000000
/* 025A4 809BA884 AE0D025C */ sw $t5, 0x025C($s0) ## 0000025C
/* 025A8 809BA888 11E00007 */ beq $t7, $zero, .L809BA8A8
/* 025AC 809BA88C E610027C */ swc1 $f16, 0x027C($s0) ## 0000027C
/* 025B0 809BA890 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 025B4 809BA894 0C00BE0A */ jal Audio_PlayActorSound2
/* 025B8 809BA898 240538CB */ addiu $a1, $zero, 0x38CB ## $a1 = 000038CB
/* 025BC 809BA89C 921802BC */ lbu $t8, 0x02BC($s0) ## 000002BC
/* 025C0 809BA8A0 3319FFFD */ andi $t9, $t8, 0xFFFD ## $t9 = 00000000
/* 025C4 809BA8A4 A21902BC */ sb $t9, 0x02BC($s0) ## 000002BC
.L809BA8A8:
/* 025C8 809BA8A8 0C0329DD */ jal Math_CosF
/* 025CC 809BA8AC C60C0274 */ lwc1 $f12, 0x0274($s0) ## 00000274
/* 025D0 809BA8B0 44802000 */ mtc1 $zero, $f4 ## $f4 = 0.00
/* 025D4 809BA8B4 00000000 */ nop
/* 025D8 809BA8B8 46040032 */ c.eq.s $f0, $f4
/* 025DC 809BA8BC 00000000 */ nop
/* 025E0 809BA8C0 45020012 */ bc1fl .L809BA90C
/* 025E4 809BA8C4 86090032 */ lh $t1, 0x0032($s0) ## 00000032
/* 025E8 809BA8C8 8608026A */ lh $t0, 0x026A($s0) ## 0000026A
/* 025EC 809BA8CC 11000005 */ beq $t0, $zero, .L809BA8E4
/* 025F0 809BA8D0 00000000 */ nop
/* 025F4 809BA8D4 0C03F66B */ jal Rand_ZeroOne
## Rand.Next() float
/* 025F8 809BA8D8 00000000 */ nop
/* 025FC 809BA8DC 1000000A */ beq $zero, $zero, .L809BA908
/* 02600 809BA8E0 E6000284 */ swc1 $f0, 0x0284($s0) ## 00000284
.L809BA8E4:
/* 02604 809BA8E4 0C03F66B */ jal Rand_ZeroOne
## Rand.Next() float
/* 02608 809BA8E8 00000000 */ nop
/* 0260C 809BA8EC 3C014040 */ lui $at, 0x4040 ## $at = 40400000
/* 02610 809BA8F0 44814000 */ mtc1 $at, $f8 ## $f8 = 3.00
/* 02614 809BA8F4 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 02618 809BA8F8 240538CA */ addiu $a1, $zero, 0x38CA ## $a1 = 000038CA
/* 0261C 809BA8FC 46080182 */ mul.s $f6, $f0, $f8
/* 02620 809BA900 0C00BE0A */ jal Audio_PlayActorSound2
/* 02624 809BA904 E6060284 */ swc1 $f6, 0x0284($s0) ## 00000284
.L809BA908:
/* 02628 809BA908 86090032 */ lh $t1, 0x0032($s0) ## 00000032
.L809BA90C:
/* 0262C 809BA90C 1000000D */ beq $zero, $zero, .L809BA944
/* 02630 809BA910 A60900B6 */ sh $t1, 0x00B6($s0) ## 000000B6
/* 02634 809BA914 44050000 */ mfc1 $a1, $f0
.L809BA918:
/* 02638 809BA918 26040068 */ addiu $a0, $s0, 0x0068 ## $a0 = 00000068
/* 0263C 809BA91C 0C01E0C4 */ jal Math_SmoothStepToF
/* 02640 809BA920 E7A00010 */ swc1 $f0, 0x0010($sp)
/* 02644 809BA924 44805000 */ mtc1 $zero, $f10 ## $f10 = 0.00
/* 02648 809BA928 00000000 */ nop
/* 0264C 809BA92C 460A0032 */ c.eq.s $f0, $f10
/* 02650 809BA930 00000000 */ nop
/* 02654 809BA934 45020004 */ bc1fl .L809BA948
/* 02658 809BA938 260A0024 */ addiu $t2, $s0, 0x0024 ## $t2 = 00000024
/* 0265C 809BA93C 0C26E7CA */ jal func_809B9F28
/* 02660 809BA940 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
.L809BA944:
/* 02664 809BA944 260A0024 */ addiu $t2, $s0, 0x0024 ## $t2 = 00000024
.L809BA948:
/* 02668 809BA948 10000012 */ beq $zero, $zero, .L809BA994
/* 0266C 809BA94C AFAA002C */ sw $t2, 0x002C($sp)
/* 02670 809BA950 8605008A */ lh $a1, 0x008A($s0) ## 0000008A
.L809BA954:
/* 02674 809BA954 AFA00010 */ sw $zero, 0x0010($sp)
/* 02678 809BA958 260400B6 */ addiu $a0, $s0, 0x00B6 ## $a0 = 000000B6
/* 0267C 809BA95C 24060001 */ addiu $a2, $zero, 0x0001 ## $a2 = 00000001
/* 02680 809BA960 0C01E1A7 */ jal Math_SmoothStepToS
/* 02684 809BA964 24070FA0 */ addiu $a3, $zero, 0x0FA0 ## $a3 = 00000FA0
/* 02688 809BA968 26040024 */ addiu $a0, $s0, 0x0024 ## $a0 = 00000024
/* 0268C 809BA96C AFA4002C */ sw $a0, 0x002C($sp)
/* 02690 809BA970 0C01E027 */ jal Math_Vec3f_Pitch
/* 02694 809BA974 27A50054 */ addiu $a1, $sp, 0x0054 ## $a1 = FFFFFFE4
/* 02698 809BA978 00022C00 */ sll $a1, $v0, 16
/* 0269C 809BA97C 00052C03 */ sra $a1, $a1, 16
/* 026A0 809BA980 260400B4 */ addiu $a0, $s0, 0x00B4 ## $a0 = 000000B4
/* 026A4 809BA984 24060001 */ addiu $a2, $zero, 0x0001 ## $a2 = 00000001
/* 026A8 809BA988 24070FA0 */ addiu $a3, $zero, 0x0FA0 ## $a3 = 00000FA0
/* 026AC 809BA98C 0C01E1A7 */ jal Math_SmoothStepToS
/* 026B0 809BA990 AFA00010 */ sw $zero, 0x0010($sp)
.L809BA994:
/* 026B4 809BA994 0C02927F */ jal SkelAnime_FrameUpdateMatrix
/* 026B8 809BA998 2604014C */ addiu $a0, $s0, 0x014C ## $a0 = 0000014C
/* 026BC 809BA99C 0C0329DD */ jal Math_CosF
/* 026C0 809BA9A0 C60C0274 */ lwc1 $f12, 0x0274($s0) ## 00000274
/* 026C4 809BA9A4 3C01809C */ lui $at, %hi(D_809BBCB8) ## $at = 809C0000
/* 026C8 809BA9A8 C432BCB8 */ lwc1 $f18, %lo(D_809BBCB8)($at)
/* 026CC 809BA9AC 4612003E */ c.le.s $f0, $f18
/* 026D0 809BA9B0 00000000 */ nop
/* 026D4 809BA9B4 45020008 */ bc1fl .L809BA9D8
/* 026D8 809BA9B8 C60C0008 */ lwc1 $f12, 0x0008($s0) ## 00000008
/* 026DC 809BA9BC 0C03F66B */ jal Rand_ZeroOne
## Rand.Next() float
/* 026E0 809BA9C0 00000000 */ nop
/* 026E4 809BA9C4 3C01809C */ lui $at, %hi(D_809BBCBC) ## $at = 809C0000
/* 026E8 809BA9C8 C430BCBC */ lwc1 $f16, %lo(D_809BBCBC)($at)
/* 026EC 809BA9CC 46100102 */ mul.s $f4, $f0, $f16
/* 026F0 809BA9D0 E6040284 */ swc1 $f4, 0x0284($s0) ## 00000284
/* 026F4 809BA9D4 C60C0008 */ lwc1 $f12, 0x0008($s0) ## 00000008
.L809BA9D8:
/* 026F8 809BA9D8 C60E000C */ lwc1 $f14, 0x000C($s0) ## 0000000C
/* 026FC 809BA9DC 8E060010 */ lw $a2, 0x0010($s0) ## 00000010
/* 02700 809BA9E0 0C034261 */ jal Matrix_Translate
/* 02704 809BA9E4 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 02708 809BA9E8 86040030 */ lh $a0, 0x0030($s0) ## 00000030
/* 0270C 809BA9EC 86050032 */ lh $a1, 0x0032($s0) ## 00000032
/* 02710 809BA9F0 00003025 */ or $a2, $zero, $zero ## $a2 = 00000000
/* 02714 809BA9F4 0C034421 */ jal Matrix_RotateRPY
/* 02718 809BA9F8 24070001 */ addiu $a3, $zero, 0x0001 ## $a3 = 00000001
/* 0271C 809BA9FC C60C0274 */ lwc1 $f12, 0x0274($s0) ## 00000274
/* 02720 809BAA00 0C0343B5 */ jal Matrix_RotateZ
/* 02724 809BAA04 24050001 */ addiu $a1, $zero, 0x0001 ## $a1 = 00000001
/* 02728 809BAA08 C6080278 */ lwc1 $f8, 0x0278($s0) ## 00000278
/* 0272C 809BAA0C 27A40060 */ addiu $a0, $sp, 0x0060 ## $a0 = FFFFFFF0
/* 02730 809BAA10 27A50054 */ addiu $a1, $sp, 0x0054 ## $a1 = FFFFFFE4
/* 02734 809BAA14 0C0346BD */ jal Matrix_MultVec3f
/* 02738 809BAA18 E7A80064 */ swc1 $f8, 0x0064($sp)
/* 0273C 809BAA1C 3C013F40 */ lui $at, 0x3F40 ## $at = 3F400000
/* 02740 809BAA20 44815000 */ mtc1 $at, $f10 ## $f10 = 0.75
/* 02744 809BAA24 C6060274 */ lwc1 $f6, 0x0274($s0) ## 00000274
/* 02748 809BAA28 44808000 */ mtc1 $zero, $f16 ## $f16 = 0.00
/* 0274C 809BAA2C 8FA4002C */ lw $a0, 0x002C($sp)
/* 02750 809BAA30 460A3482 */ mul.s $f18, $f6, $f10
/* 02754 809BAA34 8FA50054 */ lw $a1, 0x0054($sp)
/* 02758 809BAA38 3C063F80 */ lui $a2, 0x3F80 ## $a2 = 3F800000
/* 0275C 809BAA3C E7B00010 */ swc1 $f16, 0x0010($sp)
/* 02760 809BAA40 44079000 */ mfc1 $a3, $f18
/* 02764 809BAA44 0C01E0C4 */ jal Math_SmoothStepToF
/* 02768 809BAA48 00000000 */ nop
/* 0276C 809BAA4C 3C013F40 */ lui $at, 0x3F40 ## $at = 3F400000
/* 02770 809BAA50 44814000 */ mtc1 $at, $f8 ## $f8 = 0.75
/* 02774 809BAA54 C6040274 */ lwc1 $f4, 0x0274($s0) ## 00000274
/* 02778 809BAA58 44805000 */ mtc1 $zero, $f10 ## $f10 = 0.00
/* 0277C 809BAA5C 26040028 */ addiu $a0, $s0, 0x0028 ## $a0 = 00000028
/* 02780 809BAA60 46082182 */ mul.s $f6, $f4, $f8
/* 02784 809BAA64 8FA50058 */ lw $a1, 0x0058($sp)
/* 02788 809BAA68 3C063F80 */ lui $a2, 0x3F80 ## $a2 = 3F800000
/* 0278C 809BAA6C E7AA0010 */ swc1 $f10, 0x0010($sp)
/* 02790 809BAA70 44073000 */ mfc1 $a3, $f6
/* 02794 809BAA74 0C01E0C4 */ jal Math_SmoothStepToF
/* 02798 809BAA78 00000000 */ nop
/* 0279C 809BAA7C 3C013F40 */ lui $at, 0x3F40 ## $at = 3F400000
/* 027A0 809BAA80 44818000 */ mtc1 $at, $f16 ## $f16 = 0.75
/* 027A4 809BAA84 C6120274 */ lwc1 $f18, 0x0274($s0) ## 00000274
/* 027A8 809BAA88 44804000 */ mtc1 $zero, $f8 ## $f8 = 0.00
/* 027AC 809BAA8C 2604002C */ addiu $a0, $s0, 0x002C ## $a0 = 0000002C
/* 027B0 809BAA90 46109102 */ mul.s $f4, $f18, $f16
/* 027B4 809BAA94 8FA5005C */ lw $a1, 0x005C($sp)
/* 027B8 809BAA98 3C063F80 */ lui $a2, 0x3F80 ## $a2 = 3F800000
/* 027BC 809BAA9C E7A80010 */ swc1 $f8, 0x0010($sp)
/* 027C0 809BAAA0 44072000 */ mfc1 $a3, $f4
/* 027C4 809BAAA4 0C01E0C4 */ jal Math_SmoothStepToF
/* 027C8 809BAAA8 00000000 */ nop
/* 027CC 809BAAAC 3C01809C */ lui $at, %hi(D_809BBCC0) ## $at = 809C0000
/* 027D0 809BAAB0 C426BCC0 */ lwc1 $f6, %lo(D_809BBCC0)($at)
/* 027D4 809BAAB4 C60A0284 */ lwc1 $f10, 0x0284($s0) ## 00000284
/* 027D8 809BAAB8 C6100274 */ lwc1 $f16, 0x0274($s0) ## 00000274
/* 027DC 809BAABC 260502AC */ addiu $a1, $s0, 0x02AC ## $a1 = 000002AC
/* 027E0 809BAAC0 460A3480 */ add.s $f18, $f6, $f10
/* 027E4 809BAAC4 46128100 */ add.s $f4, $f16, $f18
/* 027E8 809BAAC8 E6040274 */ swc1 $f4, 0x0274($s0) ## 00000274
/* 027EC 809BAACC 0C00CD90 */ jal Actor_GetCollidedExplosive
/* 027F0 809BAAD0 8FA40074 */ lw $a0, 0x0074($sp)
/* 027F4 809BAAD4 54400008 */ bnel $v0, $zero, .L809BAAF8
/* 027F8 809BAAD8 860E0268 */ lh $t6, 0x0268($s0) ## 00000268
/* 027FC 809BAADC 860B026E */ lh $t3, 0x026E($s0) ## 0000026E
/* 02800 809BAAE0 256CFFFF */ addiu $t4, $t3, 0xFFFF ## $t4 = FFFFFFFF
/* 02804 809BAAE4 A60C026E */ sh $t4, 0x026E($s0) ## 0000026E
/* 02808 809BAAE8 860D026E */ lh $t5, 0x026E($s0) ## 0000026E
/* 0280C 809BAAEC 55A00017 */ bnel $t5, $zero, .L809BAB4C
/* 02810 809BAAF0 860B0268 */ lh $t3, 0x0268($s0) ## 00000268
/* 02814 809BAAF4 860E0268 */ lh $t6, 0x0268($s0) ## 00000268
.L809BAAF8:
/* 02818 809BAAF8 25CF0001 */ addiu $t7, $t6, 0x0001 ## $t7 = 00000001
/* 0281C 809BAAFC 0C03F66B */ jal Rand_ZeroOne
## Rand.Next() float
/* 02820 809BAB00 A60F0268 */ sh $t7, 0x0268($s0) ## 00000268
/* 02824 809BAB04 3C0141F0 */ lui $at, 0x41F0 ## $at = 41F00000
/* 02828 809BAB08 44814000 */ mtc1 $at, $f8 ## $f8 = 30.00
/* 0282C 809BAB0C 3C014270 */ lui $at, 0x4270 ## $at = 42700000
/* 02830 809BAB10 44815000 */ mtc1 $at, $f10 ## $f10 = 60.00
/* 02834 809BAB14 46080182 */ mul.s $f6, $f0, $f8
/* 02838 809BAB18 8608026E */ lh $t0, 0x026E($s0) ## 0000026E
/* 0283C 809BAB1C 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 02840 809BAB20 460A3400 */ add.s $f16, $f6, $f10
/* 02844 809BAB24 4600848D */ trunc.w.s $f18, $f16
/* 02848 809BAB28 44199000 */ mfc1 $t9, $f18
/* 0284C 809BAB2C 11000004 */ beq $t0, $zero, .L809BAB40
/* 02850 809BAB30 AE190260 */ sw $t9, 0x0260($s0) ## 00000260
/* 02854 809BAB34 920902BD */ lbu $t1, 0x02BD($s0) ## 000002BD
/* 02858 809BAB38 312AFFFD */ andi $t2, $t1, 0xFFFD ## $t2 = 00000000
/* 0285C 809BAB3C A20A02BD */ sb $t2, 0x02BD($s0) ## 000002BD
.L809BAB40:
/* 02860 809BAB40 0C00BE0A */ jal Audio_PlayActorSound2
/* 02864 809BAB44 240538CD */ addiu $a1, $zero, 0x38CD ## $a1 = 000038CD
/* 02868 809BAB48 860B0268 */ lh $t3, 0x0268($s0) ## 00000268
.L809BAB4C:
/* 0286C 809BAB4C 26040288 */ addiu $a0, $s0, 0x0288 ## $a0 = 00000288
/* 02870 809BAB50 3C0542A0 */ lui $a1, 0x42A0 ## $a1 = 42A00000
/* 02874 809BAB54 11600023 */ beq $t3, $zero, .L809BABE4
/* 02878 809BAB58 3C063F80 */ lui $a2, 0x3F80 ## $a2 = 3F800000
/* 0287C 809BAB5C 8E0C0260 */ lw $t4, 0x0260($s0) ## 00000260
/* 02880 809BAB60 258DFFFF */ addiu $t5, $t4, 0xFFFF ## $t5 = FFFFFFFF
/* 02884 809BAB64 15A0000F */ bne $t5, $zero, .L809BABA4
/* 02888 809BAB68 AE0D0260 */ sw $t5, 0x0260($s0) ## 00000260
/* 0288C 809BAB6C 0C03F66B */ jal Rand_ZeroOne
## Rand.Next() float
/* 02890 809BAB70 A6000268 */ sh $zero, 0x0268($s0) ## 00000268
/* 02894 809BAB74 3C0141F0 */ lui $at, 0x41F0 ## $at = 41F00000
/* 02898 809BAB78 44812000 */ mtc1 $at, $f4 ## $f4 = 30.00
/* 0289C 809BAB7C 3C014334 */ lui $at, 0x4334 ## $at = 43340000
/* 028A0 809BAB80 44813000 */ mtc1 $at, $f6 ## $f6 = 180.00
/* 028A4 809BAB84 46040202 */ mul.s $f8, $f0, $f4
/* 028A8 809BAB88 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 028AC 809BAB8C 240538CC */ addiu $a1, $zero, 0x38CC ## $a1 = 000038CC
/* 028B0 809BAB90 46064280 */ add.s $f10, $f8, $f6
/* 028B4 809BAB94 4600540D */ trunc.w.s $f16, $f10
/* 028B8 809BAB98 44188000 */ mfc1 $t8, $f16
/* 028BC 809BAB9C 0C00BE0A */ jal Audio_PlayActorSound2
/* 028C0 809BABA0 A618026E */ sh $t8, 0x026E($s0) ## 0000026E
.L809BABA4:
/* 028C4 809BABA4 44809000 */ mtc1 $zero, $f18 ## $f18 = 0.00
/* 028C8 809BABA8 26040288 */ addiu $a0, $s0, 0x0288 ## $a0 = 00000288
/* 028CC 809BABAC 24050000 */ addiu $a1, $zero, 0x0000 ## $a1 = 00000000
/* 028D0 809BABB0 3C063F80 */ lui $a2, 0x3F80 ## $a2 = 3F800000
/* 028D4 809BABB4 3C074120 */ lui $a3, 0x4120 ## $a3 = 41200000
/* 028D8 809BABB8 0C01E0C4 */ jal Math_SmoothStepToF
/* 028DC 809BABBC E7B20010 */ swc1 $f18, 0x0010($sp)
/* 028E0 809BABC0 44802000 */ mtc1 $zero, $f4 ## $f4 = 0.00
/* 028E4 809BABC4 2604028C */ addiu $a0, $s0, 0x028C ## $a0 = 0000028C
/* 028E8 809BABC8 24050000 */ addiu $a1, $zero, 0x0000 ## $a1 = 00000000
/* 028EC 809BABCC 3C063F80 */ lui $a2, 0x3F80 ## $a2 = 3F800000
/* 028F0 809BABD0 3C074120 */ lui $a3, 0x4120 ## $a3 = 41200000
/* 028F4 809BABD4 0C01E0C4 */ jal Math_SmoothStepToF
/* 028F8 809BABD8 E7A40010 */ swc1 $f4, 0x0010($sp)
/* 028FC 809BABDC 1000000D */ beq $zero, $zero, .L809BAC14
/* 02900 809BABE0 C60A0164 */ lwc1 $f10, 0x0164($s0) ## 00000164
.L809BABE4:
/* 02904 809BABE4 44804000 */ mtc1 $zero, $f8 ## $f8 = 0.00
/* 02908 809BABE8 3C074120 */ lui $a3, 0x4120 ## $a3 = 41200000
/* 0290C 809BABEC 0C01E0C4 */ jal Math_SmoothStepToF
/* 02910 809BABF0 E7A80010 */ swc1 $f8, 0x0010($sp)
/* 02914 809BABF4 44803000 */ mtc1 $zero, $f6 ## $f6 = 0.00
/* 02918 809BABF8 2604028C */ addiu $a0, $s0, 0x028C ## $a0 = 0000028C
/* 0291C 809BABFC 3C0542C8 */ lui $a1, 0x42C8 ## $a1 = 42C80000
/* 02920 809BAC00 3C063F80 */ lui $a2, 0x3F80 ## $a2 = 3F800000
/* 02924 809BAC04 3C074120 */ lui $a3, 0x4120 ## $a3 = 41200000
/* 02928 809BAC08 0C01E0C4 */ jal Math_SmoothStepToF
/* 0292C 809BAC0C E7A60010 */ swc1 $f6, 0x0010($sp)
/* 02930 809BAC10 C60A0164 */ lwc1 $f10, 0x0164($s0) ## 00000164
.L809BAC14:
/* 02934 809BAC14 24010005 */ addiu $at, $zero, 0x0005 ## $at = 00000005
/* 02938 809BAC18 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 0293C 809BAC1C 4600540D */ trunc.w.s $f16, $f10
/* 02940 809BAC20 44028000 */ mfc1 $v0, $f16
/* 02944 809BAC24 00000000 */ nop
/* 02948 809BAC28 14410007 */ bne $v0, $at, .L809BAC48
/* 0294C 809BAC2C 00000000 */ nop
/* 02950 809BAC30 0C00BE0A */ jal Audio_PlayActorSound2
/* 02954 809BAC34 240538C8 */ addiu $a1, $zero, 0x38C8 ## $a1 = 000038C8
/* 02958 809BAC38 C6120164 */ lwc1 $f18, 0x0164($s0) ## 00000164
/* 0295C 809BAC3C 4600910D */ trunc.w.s $f4, $f18
/* 02960 809BAC40 44022000 */ mfc1 $v0, $f4
/* 02964 809BAC44 00000000 */ nop
.L809BAC48:
/* 02968 809BAC48 5440000D */ bnel $v0, $zero, .L809BAC80
/* 0296C 809BAC4C 8FBF0024 */ lw $ra, 0x0024($sp)
/* 02970 809BAC50 0C03F66B */ jal Rand_ZeroOne
## Rand.Next() float
/* 02974 809BAC54 00000000 */ nop
/* 02978 809BAC58 3C01809C */ lui $at, %hi(D_809BBCC4) ## $at = 809C0000
/* 0297C 809BAC5C C428BCC4 */ lwc1 $f8, %lo(D_809BBCC4)($at)
/* 02980 809BAC60 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 02984 809BAC64 4608003C */ c.lt.s $f0, $f8
/* 02988 809BAC68 00000000 */ nop
/* 0298C 809BAC6C 45020004 */ bc1fl .L809BAC80
/* 02990 809BAC70 8FBF0024 */ lw $ra, 0x0024($sp)
/* 02994 809BAC74 0C00BE0A */ jal Audio_PlayActorSound2
/* 02998 809BAC78 240538CA */ addiu $a1, $zero, 0x38CA ## $a1 = 000038CA
/* 0299C 809BAC7C 8FBF0024 */ lw $ra, 0x0024($sp)
.L809BAC80:
/* 029A0 809BAC80 8FB00020 */ lw $s0, 0x0020($sp)
/* 029A4 809BAC84 27BD0070 */ addiu $sp, $sp, 0x0070 ## $sp = 00000000
/* 029A8 809BAC88 03E00008 */ jr $ra
/* 029AC 809BAC8C 00000000 */ nop

View file

@ -1,83 +0,0 @@
.late_rodata
glabel D_809BBCC8
.float 1500.0
.text
glabel func_809BAC90
/* 029B0 809BAC90 27BDFFD8 */ addiu $sp, $sp, 0xFFD8 ## $sp = FFFFFFD8
/* 029B4 809BAC94 AFBF0024 */ sw $ra, 0x0024($sp)
/* 029B8 809BAC98 AFB00020 */ sw $s0, 0x0020($sp)
/* 029BC 809BAC9C 8482001C */ lh $v0, 0x001C($a0) ## 0000001C
/* 029C0 809BACA0 240E0004 */ addiu $t6, $zero, 0x0004 ## $t6 = 00000004
/* 029C4 809BACA4 2401FFFD */ addiu $at, $zero, 0xFFFD ## $at = FFFFFFFD
/* 029C8 809BACA8 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 029CC 809BACAC 10410012 */ beq $v0, $at, .L809BACF8
/* 029D0 809BACB0 AC8E0250 */ sw $t6, 0x0250($a0) ## 00000250
/* 029D4 809BACB4 2401FFFE */ addiu $at, $zero, 0xFFFE ## $at = FFFFFFFE
/* 029D8 809BACB8 1041000D */ beq $v0, $at, .L809BACF0
/* 029DC 809BACBC 2841FFFD */ slti $at, $v0, 0xFFFD
/* 029E0 809BACC0 44800000 */ mtc1 $zero, $f0 ## $f0 = 0.00
/* 029E4 809BACC4 14200006 */ bne $at, $zero, .L809BACE0
/* 029E8 809BACC8 3C01C000 */ lui $at, 0xC000 ## $at = C0000000
/* 029EC 809BACCC 44812000 */ mtc1 $at, $f4 ## $f4 = -2.00
/* 029F0 809BACD0 3C01809C */ lui $at, %hi(D_809BBCC8) ## $at = 809C0000
/* 029F4 809BACD4 E484006C */ swc1 $f4, 0x006C($a0) ## 0000006C
/* 029F8 809BACD8 C426BCC8 */ lwc1 $f6, %lo(D_809BBCC8)($at)
/* 029FC 809BACDC E48600BC */ swc1 $f6, 0x00BC($a0) ## 000000BC
.L809BACE0:
/* 02A00 809BACE0 E6000068 */ swc1 $f0, 0x0068($s0) ## 00000068
/* 02A04 809BACE4 E600028C */ swc1 $f0, 0x028C($s0) ## 0000028C
/* 02A08 809BACE8 10000003 */ beq $zero, $zero, .L809BACF8
/* 02A0C 809BACEC E6000288 */ swc1 $f0, 0x0288($s0) ## 00000288
.L809BACF0:
/* 02A10 809BACF0 0C26E146 */ jal func_809B8518
/* 02A14 809BACF4 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
.L809BACF8:
/* 02A18 809BACF8 920202AA */ lbu $v0, 0x02AA($s0) ## 000002AA
/* 02A1C 809BACFC 24010008 */ addiu $at, $zero, 0x0008 ## $at = 00000008
/* 02A20 809BAD00 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 02A24 809BAD04 10410009 */ beq $v0, $at, .L809BAD2C
/* 02A28 809BAD08 24058000 */ addiu $a1, $zero, 0x8000 ## $a1 = FFFF8000
/* 02A2C 809BAD0C 24010009 */ addiu $at, $zero, 0x0009 ## $at = 00000009
/* 02A30 809BAD10 1041000D */ beq $v0, $at, .L809BAD48
/* 02A34 809BAD14 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 02A38 809BAD18 2401000F */ addiu $at, $zero, 0x000F ## $at = 0000000F
/* 02A3C 809BAD1C 1041000C */ beq $v0, $at, .L809BAD50
/* 02A40 809BAD20 00000000 */ nop
/* 02A44 809BAD24 10000014 */ beq $zero, $zero, .L809BAD78
/* 02A48 809BAD28 96080088 */ lhu $t0, 0x0088($s0) ## 00000088
.L809BAD2C:
/* 02A4C 809BAD2C 240F0050 */ addiu $t7, $zero, 0x0050 ## $t7 = 00000050
/* 02A50 809BAD30 AFAF0010 */ sw $t7, 0x0010($sp)
/* 02A54 809BAD34 240600C8 */ addiu $a2, $zero, 0x00C8 ## $a2 = 000000C8
/* 02A58 809BAD38 0C00D09B */ jal func_8003426C
/* 02A5C 809BAD3C 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 02A60 809BAD40 1000000D */ beq $zero, $zero, .L809BAD78
/* 02A64 809BAD44 96080088 */ lhu $t0, 0x0088($s0) ## 00000088
.L809BAD48:
/* 02A68 809BAD48 24180030 */ addiu $t8, $zero, 0x0030 ## $t8 = 00000030
/* 02A6C 809BAD4C A61802A8 */ sh $t8, 0x02A8($s0) ## 000002A8
.L809BAD50:
/* 02A70 809BAD50 0C00BE0A */ jal Audio_PlayActorSound2
/* 02A74 809BAD54 2405389E */ addiu $a1, $zero, 0x389E ## $a1 = 0000389E
/* 02A78 809BAD58 24190050 */ addiu $t9, $zero, 0x0050 ## $t9 = 00000050
/* 02A7C 809BAD5C AFB90010 */ sw $t9, 0x0010($sp)
/* 02A80 809BAD60 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 02A84 809BAD64 00002825 */ or $a1, $zero, $zero ## $a1 = 00000000
/* 02A88 809BAD68 240600B4 */ addiu $a2, $zero, 0x00B4 ## $a2 = 000000B4
/* 02A8C 809BAD6C 0C00D09B */ jal func_8003426C
/* 02A90 809BAD70 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 02A94 809BAD74 96080088 */ lhu $t0, 0x0088($s0) ## 00000088
.L809BAD78:
/* 02A98 809BAD78 3C05809C */ lui $a1, %hi(func_809BADA4) ## $a1 = 809C0000
/* 02A9C 809BAD7C 24A5ADA4 */ addiu $a1, $a1, %lo(func_809BADA4) ## $a1 = 809BADA4
/* 02AA0 809BAD80 3109FFFE */ andi $t1, $t0, 0xFFFE ## $t1 = 00000000
/* 02AA4 809BAD84 A6090088 */ sh $t1, 0x0088($s0) ## 00000088
/* 02AA8 809BAD88 0C26E0B8 */ jal func_809B82E0
/* 02AAC 809BAD8C 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 02AB0 809BAD90 8FBF0024 */ lw $ra, 0x0024($sp)
/* 02AB4 809BAD94 8FB00020 */ lw $s0, 0x0020($sp)
/* 02AB8 809BAD98 27BD0028 */ addiu $sp, $sp, 0x0028 ## $sp = 00000000
/* 02ABC 809BAD9C 03E00008 */ jr $ra
/* 02AC0 809BADA0 00000000 */ nop

View file

@ -1,122 +0,0 @@
.late_rodata
glabel D_809BBCCC
.float -0.4
.text
glabel func_809BADA4
/* 02AC4 809BADA4 27BDFFC8 */ addiu $sp, $sp, 0xFFC8 ## $sp = FFFFFFC8
/* 02AC8 809BADA8 AFBF0034 */ sw $ra, 0x0034($sp)
/* 02ACC 809BADAC AFB00030 */ sw $s0, 0x0030($sp)
/* 02AD0 809BADB0 AFA5003C */ sw $a1, 0x003C($sp)
/* 02AD4 809BADB4 8486007E */ lh $a2, 0x007E($a0) ## 0000007E
/* 02AD8 809BADB8 84870032 */ lh $a3, 0x0032($a0) ## 00000032
/* 02ADC 809BADBC 94830088 */ lhu $v1, 0x0088($a0) ## 00000088
/* 02AE0 809BADC0 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 02AE4 809BADC4 00E61023 */ subu $v0, $a3, $a2
/* 02AE8 809BADC8 00021400 */ sll $v0, $v0, 16
/* 02AEC 809BADCC 306E0008 */ andi $t6, $v1, 0x0008 ## $t6 = 00000000
/* 02AF0 809BADD0 11C00010 */ beq $t6, $zero, .L809BAE14
/* 02AF4 809BADD4 00021403 */ sra $v0, $v0, 16
/* 02AF8 809BADD8 04400003 */ bltz $v0, .L809BADE8
/* 02AFC 809BADDC 00022023 */ subu $a0, $zero, $v0
/* 02B00 809BADE0 10000001 */ beq $zero, $zero, .L809BADE8
/* 02B04 809BADE4 00402025 */ or $a0, $v0, $zero ## $a0 = 00000000
.L809BADE8:
/* 02B08 809BADE8 28814001 */ slti $at, $a0, 0x4001
/* 02B0C 809BADEC 14200006 */ bne $at, $zero, .L809BAE08
/* 02B10 809BADF0 00C67821 */ addu $t7, $a2, $a2
/* 02B14 809BADF4 01E7C023 */ subu $t8, $t7, $a3
/* 02B18 809BADF8 24018000 */ addiu $at, $zero, 0x8000 ## $at = FFFF8000
/* 02B1C 809BADFC 0301C821 */ addu $t9, $t8, $at
/* 02B20 809BAE00 A6190032 */ sh $t9, 0x0032($s0) ## 00000032
/* 02B24 809BAE04 96030088 */ lhu $v1, 0x0088($s0) ## 00000088
.L809BAE08:
/* 02B28 809BAE08 3068FFF7 */ andi $t0, $v1, 0xFFF7 ## $t0 = 00000000
/* 02B2C 809BAE0C A6080088 */ sh $t0, 0x0088($s0) ## 00000088
/* 02B30 809BAE10 3103FFFF */ andi $v1, $t0, 0xFFFF ## $v1 = 00000000
.L809BAE14:
/* 02B34 809BAE14 30690002 */ andi $t1, $v1, 0x0002 ## $t1 = 00000000
/* 02B38 809BAE18 1120001E */ beq $t1, $zero, .L809BAE94
/* 02B3C 809BAE1C 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 02B40 809BAE20 0C00BE0A */ jal Audio_PlayActorSound2
/* 02B44 809BAE24 2405387B */ addiu $a1, $zero, 0x387B ## $a1 = 0000387B
/* 02B48 809BAE28 3C01C160 */ lui $at, 0xC160 ## $at = C1600000
/* 02B4C 809BAE2C 44812000 */ mtc1 $at, $f4 ## $f4 = -14.00
/* 02B50 809BAE30 C6000060 */ lwc1 $f0, 0x0060($s0) ## 00000060
/* 02B54 809BAE34 3C01809C */ lui $at, %hi(D_809BBCCC) ## $at = 809C0000
/* 02B58 809BAE38 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000
/* 02B5C 809BAE3C 4604003C */ c.lt.s $f0, $f4
/* 02B60 809BAE40 26060024 */ addiu $a2, $s0, 0x0024 ## $a2 = 00000024
/* 02B64 809BAE44 3C0740E0 */ lui $a3, 0x40E0 ## $a3 = 40E00000
/* 02B68 809BAE48 240A0002 */ addiu $t2, $zero, 0x0002 ## $t2 = 00000002
/* 02B6C 809BAE4C 45020006 */ bc1fl .L809BAE68
/* 02B70 809BAE50 44805000 */ mtc1 $zero, $f10 ## $f10 = 0.00
/* 02B74 809BAE54 C426BCCC */ lwc1 $f6, %lo(D_809BBCCC)($at)
/* 02B78 809BAE58 46060202 */ mul.s $f8, $f0, $f6
/* 02B7C 809BAE5C 10000004 */ beq $zero, $zero, .L809BAE70
/* 02B80 809BAE60 E6080060 */ swc1 $f8, 0x0060($s0) ## 00000060
/* 02B84 809BAE64 44805000 */ mtc1 $zero, $f10 ## $f10 = 0.00
.L809BAE68:
/* 02B88 809BAE68 00000000 */ nop
/* 02B8C 809BAE6C E60A0060 */ swc1 $f10, 0x0060($s0) ## 00000060
.L809BAE70:
/* 02B90 809BAE70 3C014000 */ lui $at, 0x4000 ## $at = 40000000
/* 02B94 809BAE74 44818000 */ mtc1 $at, $f16 ## $f16 = 2.00
/* 02B98 809BAE78 8FA4003C */ lw $a0, 0x003C($sp)
/* 02B9C 809BAE7C AFAA0010 */ sw $t2, 0x0010($sp)
/* 02BA0 809BAE80 AFA00018 */ sw $zero, 0x0018($sp)
/* 02BA4 809BAE84 AFA0001C */ sw $zero, 0x001C($sp)
/* 02BA8 809BAE88 AFA00020 */ sw $zero, 0x0020($sp)
/* 02BAC 809BAE8C 0C00CC98 */ jal func_80033260
/* 02BB0 809BAE90 E7B00014 */ swc1 $f16, 0x0014($sp)
.L809BAE94:
/* 02BB4 809BAE94 920B0114 */ lbu $t3, 0x0114($s0) ## 00000114
/* 02BB8 809BAE98 3C014348 */ lui $at, 0x4348 ## $at = 43480000
/* 02BBC 809BAE9C 55600025 */ bnel $t3, $zero, .L809BAF34
/* 02BC0 809BAEA0 8FBF0034 */ lw $ra, 0x0034($sp)
/* 02BC4 809BAEA4 920C00AF */ lbu $t4, 0x00AF($s0) ## 000000AF
/* 02BC8 809BAEA8 44819000 */ mtc1 $at, $f18 ## $f18 = 200.00
/* 02BCC 809BAEAC 11800019 */ beq $t4, $zero, .L809BAF14
/* 02BD0 809BAEB0 E61200BC */ swc1 $f18, 0x00BC($s0) ## 000000BC
/* 02BD4 809BAEB4 8602001C */ lh $v0, 0x001C($s0) ## 0000001C
/* 02BD8 809BAEB8 2401FFFC */ addiu $at, $zero, 0xFFFC ## $at = FFFFFFFC
/* 02BDC 809BAEBC 10410003 */ beq $v0, $at, .L809BAECC
/* 02BE0 809BAEC0 2401FFFB */ addiu $at, $zero, 0xFFFB ## $at = FFFFFFFB
/* 02BE4 809BAEC4 54410006 */ bnel $v0, $at, .L809BAEE0
/* 02BE8 809BAEC8 2401FFFD */ addiu $at, $zero, 0xFFFD ## $at = FFFFFFFD
.L809BAECC:
/* 02BEC 809BAECC 0C26E964 */ jal func_809BA590
/* 02BF0 809BAED0 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 02BF4 809BAED4 10000017 */ beq $zero, $zero, .L809BAF34
/* 02BF8 809BAED8 8FBF0034 */ lw $ra, 0x0034($sp)
/* 02BFC 809BAEDC 2401FFFD */ addiu $at, $zero, 0xFFFD ## $at = FFFFFFFD
.L809BAEE0:
/* 02C00 809BAEE0 14410008 */ bne $v0, $at, .L809BAF04
/* 02C04 809BAEE4 240D0008 */ addiu $t5, $zero, 0x0008 ## $t5 = 00000008
/* 02C08 809BAEE8 3C05809C */ lui $a1, %hi(func_809BA0D8) ## $a1 = 809C0000
/* 02C0C 809BAEEC AE0D0250 */ sw $t5, 0x0250($s0) ## 00000250
/* 02C10 809BAEF0 24A5A0D8 */ addiu $a1, $a1, %lo(func_809BA0D8) ## $a1 = 809BA0D8
/* 02C14 809BAEF4 0C26E0B8 */ jal func_809B82E0
/* 02C18 809BAEF8 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 02C1C 809BAEFC 1000000D */ beq $zero, $zero, .L809BAF34
/* 02C20 809BAF00 8FBF0034 */ lw $ra, 0x0034($sp)
.L809BAF04:
/* 02C24 809BAF04 0C26E5BB */ jal func_809B96EC
/* 02C28 809BAF08 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 02C2C 809BAF0C 10000009 */ beq $zero, $zero, .L809BAF34
/* 02C30 809BAF10 8FBF0034 */ lw $ra, 0x0034($sp)
.L809BAF14:
/* 02C34 809BAF14 8E0E0004 */ lw $t6, 0x0004($s0) ## 00000004
/* 02C38 809BAF18 2401FFFE */ addiu $at, $zero, 0xFFFE ## $at = FFFFFFFE
/* 02C3C 809BAF1C 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 02C40 809BAF20 01C17824 */ and $t7, $t6, $at
/* 02C44 809BAF24 AE0F0004 */ sw $t7, 0x0004($s0) ## 00000004
/* 02C48 809BAF28 0C26E2C0 */ jal func_809B8B00
/* 02C4C 809BAF2C 8FA5003C */ lw $a1, 0x003C($sp)
/* 02C50 809BAF30 8FBF0034 */ lw $ra, 0x0034($sp)
.L809BAF34:
/* 02C54 809BAF34 8FB00030 */ lw $s0, 0x0030($sp)
/* 02C58 809BAF38 27BD0038 */ addiu $sp, $sp, 0x0038 ## $sp = 00000000
/* 02C5C 809BAF3C 03E00008 */ jr $ra
/* 02C60 809BAF40 00000000 */ nop

View file

@ -1,253 +0,0 @@
.late_rodata
glabel jtbl_809BBCD0
.word L809BB034
.word L809BB044
.word L809BB024
.word L809BB058
.word L809BB058
.word L809BB080
.word L809BB080
.word L809BB080
.word L809BB268
.word L809BB080
.word L809BB058
.text
glabel func_809BAF44
/* 02C64 809BAF44 27BDFFE0 */ addiu $sp, $sp, 0xFFE0 ## $sp = FFFFFFE0
/* 02C68 809BAF48 AFBF001C */ sw $ra, 0x001C($sp)
/* 02C6C 809BAF4C AFA50024 */ sw $a1, 0x0024($sp)
/* 02C70 809BAF50 908202BC */ lbu $v0, 0x02BC($a0) ## 000002BC
/* 02C74 809BAF54 304E0004 */ andi $t6, $v0, 0x0004 ## $t6 = 00000000
/* 02C78 809BAF58 51C0001D */ beql $t6, $zero, .L809BAFD0
/* 02C7C 809BAF5C 908202BD */ lbu $v0, 0x02BD($a0) ## 000002BD
/* 02C80 809BAF60 8C980250 */ lw $t8, 0x0250($a0) ## 00000250
/* 02C84 809BAF64 304FFFFB */ andi $t7, $v0, 0xFFFB ## $t7 = 00000000
/* 02C88 809BAF68 24010003 */ addiu $at, $zero, 0x0003 ## $at = 00000003
/* 02C8C 809BAF6C 13010017 */ beq $t8, $at, .L809BAFCC
/* 02C90 809BAF70 A08F02BC */ sb $t7, 0x02BC($a0) ## 000002BC
/* 02C94 809BAF74 8483001C */ lh $v1, 0x001C($a0) ## 0000001C
/* 02C98 809BAF78 24190001 */ addiu $t9, $zero, 0x0001 ## $t9 = 00000001
/* 02C9C 809BAF7C 2861FFFE */ slti $at, $v1, 0xFFFE
/* 02CA0 809BAF80 54200012 */ bnel $at, $zero, .L809BAFCC
/* 02CA4 809BAF84 A499026E */ sh $t9, 0x026E($a0) ## 0000026E
/* 02CA8 809BAF88 8482008A */ lh $v0, 0x008A($a0) ## 0000008A
/* 02CAC 809BAF8C 34018000 */ ori $at, $zero, 0x8000 ## $at = 00008000
/* 02CB0 809BAF90 00411021 */ addu $v0, $v0, $at
/* 02CB4 809BAF94 00021400 */ sll $v0, $v0, 16
/* 02CB8 809BAF98 00021403 */ sra $v0, $v0, 16
/* 02CBC 809BAF9C 2401FFFE */ addiu $at, $zero, 0xFFFE ## $at = FFFFFFFE
/* 02CC0 809BAFA0 A48200B6 */ sh $v0, 0x00B6($a0) ## 000000B6
/* 02CC4 809BAFA4 14610004 */ bne $v1, $at, .L809BAFB8
/* 02CC8 809BAFA8 A4820032 */ sh $v0, 0x0032($a0) ## 00000032
/* 02CCC 809BAFAC 0C26E146 */ jal func_809B8518
/* 02CD0 809BAFB0 AFA40020 */ sw $a0, 0x0020($sp)
/* 02CD4 809BAFB4 8FA40020 */ lw $a0, 0x0020($sp)
.L809BAFB8:
/* 02CD8 809BAFB8 0C26E5BB */ jal func_809B96EC
/* 02CDC 809BAFBC 00000000 */ nop
/* 02CE0 809BAFC0 100000AA */ beq $zero, $zero, .L809BB26C
/* 02CE4 809BAFC4 8FBF001C */ lw $ra, 0x001C($sp)
/* 02CE8 809BAFC8 A499026E */ sh $t9, 0x026E($a0) ## 0000026E
.L809BAFCC:
/* 02CEC 809BAFCC 908202BD */ lbu $v0, 0x02BD($a0) ## 000002BD
.L809BAFD0:
/* 02CF0 809BAFD0 00003025 */ or $a2, $zero, $zero ## $a2 = 00000000
/* 02CF4 809BAFD4 30480002 */ andi $t0, $v0, 0x0002 ## $t0 = 00000000
/* 02CF8 809BAFD8 110000A3 */ beq $t0, $zero, .L809BB268
/* 02CFC 809BAFDC 3049FFFD */ andi $t1, $v0, 0xFFFD ## $t1 = 00000000
/* 02D00 809BAFE0 908A00B1 */ lbu $t2, 0x00B1($a0) ## 000000B1
/* 02D04 809BAFE4 A08902BD */ sb $t1, 0x02BD($a0) ## 000002BD
/* 02D08 809BAFE8 8C8502C8 */ lw $a1, 0x02C8($a0) ## 000002C8
/* 02D0C 809BAFEC A08A02AA */ sb $t2, 0x02AA($a0) ## 000002AA
/* 02D10 809BAFF0 0C00D594 */ jal func_80035650
/* 02D14 809BAFF4 AFA40020 */ sw $a0, 0x0020($sp)
/* 02D18 809BAFF8 8FA40020 */ lw $a0, 0x0020($sp)
/* 02D1C 809BAFFC 908202AA */ lbu $v0, 0x02AA($a0) ## 000002AA
/* 02D20 809BB000 244BFFFB */ addiu $t3, $v0, 0xFFFB ## $t3 = FFFFFFFB
/* 02D24 809BB004 2D61000B */ sltiu $at, $t3, 0x000B
/* 02D28 809BB008 1020001D */ beq $at, $zero, .L809BB080
/* 02D2C 809BB00C 000B5880 */ sll $t3, $t3, 2
/* 02D30 809BB010 3C01809C */ lui $at, %hi(jtbl_809BBCD0) ## $at = 809C0000
/* 02D34 809BB014 002B0821 */ addu $at, $at, $t3
/* 02D38 809BB018 8C2BBCD0 */ lw $t3, %lo(jtbl_809BBCD0)($at)
/* 02D3C 809BB01C 01600008 */ jr $t3
/* 02D40 809BB020 00000000 */ nop
glabel L809BB024
/* 02D44 809BB024 8C8C02C8 */ lw $t4, 0x02C8($a0) ## 000002C8
/* 02D48 809BB028 8D8D0024 */ lw $t5, 0x0024($t4) ## 00000024
/* 02D4C 809BB02C 91AE0005 */ lbu $t6, 0x0005($t5) ## 00000005
/* 02D50 809BB030 A48E0110 */ sh $t6, 0x0110($a0) ## 00000110
glabel L809BB034
/* 02D54 809BB034 240F0030 */ addiu $t7, $zero, 0x0030 ## $t7 = 00000030
/* 02D58 809BB038 A48F02A8 */ sh $t7, 0x02A8($a0) ## 000002A8
/* 02D5C 809BB03C 10000010 */ beq $zero, $zero, .L809BB080
/* 02D60 809BB040 908202AA */ lbu $v0, 0x02AA($a0) ## 000002AA
glabel L809BB044
/* 02D64 809BB044 8C9802C8 */ lw $t8, 0x02C8($a0) ## 000002C8
/* 02D68 809BB048 8F190024 */ lw $t9, 0x0024($t8) ## 00000024
/* 02D6C 809BB04C 93280005 */ lbu $t0, 0x0005($t9) ## 00000005
/* 02D70 809BB050 10000085 */ beq $zero, $zero, .L809BB268
/* 02D74 809BB054 A4880110 */ sh $t0, 0x0110($a0) ## 00000110
glabel L809BB058
/* 02D78 809BB058 8C890250 */ lw $t1, 0x0250($a0) ## 00000250
/* 02D7C 809BB05C 24010004 */ addiu $at, $zero, 0x0004 ## $at = 00000004
/* 02D80 809BB060 51210082 */ beql $t1, $at, .L809BB26C
/* 02D84 809BB064 8FBF001C */ lw $ra, 0x001C($sp)
/* 02D88 809BB068 0C00D58A */ jal Actor_ApplyDamage
/* 02D8C 809BB06C AFA40020 */ sw $a0, 0x0020($sp)
/* 02D90 809BB070 0C26EB24 */ jal func_809BAC90
/* 02D94 809BB074 8FA40020 */ lw $a0, 0x0020($sp)
/* 02D98 809BB078 1000007C */ beq $zero, $zero, .L809BB26C
/* 02D9C 809BB07C 8FBF001C */ lw $ra, 0x001C($sp)
glabel L809BB080
.L809BB080:
/* 02DA0 809BB080 2401000E */ addiu $at, $zero, 0x000E ## $at = 0000000E
/* 02DA4 809BB084 1041000B */ beq $v0, $at, .L809BB0B4
/* 02DA8 809BB088 2401000C */ addiu $at, $zero, 0x000C ## $at = 0000000C
/* 02DAC 809BB08C 10410009 */ beq $v0, $at, .L809BB0B4
/* 02DB0 809BB090 2401000B */ addiu $at, $zero, 0x000B ## $at = 0000000B
/* 02DB4 809BB094 10410007 */ beq $v0, $at, .L809BB0B4
/* 02DB8 809BB098 2401000A */ addiu $at, $zero, 0x000A ## $at = 0000000A
/* 02DBC 809BB09C 10410005 */ beq $v0, $at, .L809BB0B4
/* 02DC0 809BB0A0 24010007 */ addiu $at, $zero, 0x0007 ## $at = 00000007
/* 02DC4 809BB0A4 10410003 */ beq $v0, $at, .L809BB0B4
/* 02DC8 809BB0A8 24010005 */ addiu $at, $zero, 0x0005 ## $at = 00000005
/* 02DCC 809BB0AC 5441001A */ bnel $v0, $at, .L809BB118
/* 02DD0 809BB0B0 8C8C0250 */ lw $t4, 0x0250($a0) ## 00000250
.L809BB0B4:
/* 02DD4 809BB0B4 8C820250 */ lw $v0, 0x0250($a0) ## 00000250
/* 02DD8 809BB0B8 24010003 */ addiu $at, $zero, 0x0003 ## $at = 00000003
/* 02DDC 809BB0BC 14410005 */ bne $v0, $at, .L809BB0D4
/* 02DE0 809BB0C0 00000000 */ nop
/* 02DE4 809BB0C4 8C8A0260 */ lw $t2, 0x0260($a0) ## 00000260
/* 02DE8 809BB0C8 294100BE */ slti $at, $t2, 0x00BE
/* 02DEC 809BB0CC 50200006 */ beql $at, $zero, .L809BB0E8
/* 02DF0 809BB0D0 24010003 */ addiu $at, $zero, 0x0003 ## $at = 00000003
.L809BB0D4:
/* 02DF4 809BB0D4 0C00D58A */ jal Actor_ApplyDamage
/* 02DF8 809BB0D8 AFA40020 */ sw $a0, 0x0020($sp)
/* 02DFC 809BB0DC 8FA40020 */ lw $a0, 0x0020($sp)
/* 02E00 809BB0E0 8C820250 */ lw $v0, 0x0250($a0) ## 00000250
/* 02E04 809BB0E4 24010003 */ addiu $at, $zero, 0x0003 ## $at = 00000003
.L809BB0E8:
/* 02E08 809BB0E8 10410008 */ beq $v0, $at, .L809BB10C
/* 02E0C 809BB0EC 00000000 */ nop
/* 02E10 809BB0F0 848B001C */ lh $t3, 0x001C($a0) ## 0000001C
/* 02E14 809BB0F4 2401FFFD */ addiu $at, $zero, 0xFFFD ## $at = FFFFFFFD
/* 02E18 809BB0F8 11610004 */ beq $t3, $at, .L809BB10C
/* 02E1C 809BB0FC 00000000 */ nop
/* 02E20 809BB100 0C26E5BB */ jal func_809B96EC
/* 02E24 809BB104 AFA40020 */ sw $a0, 0x0020($sp)
/* 02E28 809BB108 8FA40020 */ lw $a0, 0x0020($sp)
.L809BB10C:
/* 02E2C 809BB10C 1000001C */ beq $zero, $zero, .L809BB180
/* 02E30 809BB110 8483001C */ lh $v1, 0x001C($a0) ## 0000001C
/* 02E34 809BB114 8C8C0250 */ lw $t4, 0x0250($a0) ## 00000250
.L809BB118:
/* 02E38 809BB118 24010003 */ addiu $at, $zero, 0x0003 ## $at = 00000003
/* 02E3C 809BB11C 55810006 */ bnel $t4, $at, .L809BB138
/* 02E40 809BB120 848E001C */ lh $t6, 0x001C($a0) ## 0000001C
/* 02E44 809BB124 8C8D0260 */ lw $t5, 0x0260($a0) ## 00000260
/* 02E48 809BB128 29A100BE */ slti $at, $t5, 0x00BE
/* 02E4C 809BB12C 1420000B */ bne $at, $zero, .L809BB15C
/* 02E50 809BB130 00000000 */ nop
/* 02E54 809BB134 848E001C */ lh $t6, 0x001C($a0) ## 0000001C
.L809BB138:
/* 02E58 809BB138 2401FFFD */ addiu $at, $zero, 0xFFFD ## $at = FFFFFFFD
/* 02E5C 809BB13C 11C1000C */ beq $t6, $at, .L809BB170
/* 02E60 809BB140 3C0141A0 */ lui $at, 0x41A0 ## $at = 41A00000
/* 02E64 809BB144 44813000 */ mtc1 $at, $f6 ## $f6 = 20.00
/* 02E68 809BB148 C484028C */ lwc1 $f4, 0x028C($a0) ## 0000028C
/* 02E6C 809BB14C 4606203C */ c.lt.s $f4, $f6
/* 02E70 809BB150 00000000 */ nop
/* 02E74 809BB154 45020007 */ bc1fl .L809BB174
/* 02E78 809BB158 908F02BD */ lbu $t7, 0x02BD($a0) ## 000002BD
.L809BB15C:
/* 02E7C 809BB15C 0C00D58A */ jal Actor_ApplyDamage
/* 02E80 809BB160 AFA40020 */ sw $a0, 0x0020($sp)
/* 02E84 809BB164 8FA40020 */ lw $a0, 0x0020($sp)
/* 02E88 809BB168 10000005 */ beq $zero, $zero, .L809BB180
/* 02E8C 809BB16C 8483001C */ lh $v1, 0x001C($a0) ## 0000001C
.L809BB170:
/* 02E90 809BB170 908F02BD */ lbu $t7, 0x02BD($a0) ## 000002BD
.L809BB174:
/* 02E94 809BB174 8483001C */ lh $v1, 0x001C($a0) ## 0000001C
/* 02E98 809BB178 35F80002 */ ori $t8, $t7, 0x0002 ## $t8 = 00000002
/* 02E9C 809BB17C A09802BD */ sb $t8, 0x02BD($a0) ## 000002BD
.L809BB180:
/* 02EA0 809BB180 909900AF */ lbu $t9, 0x00AF($a0) ## 000000AF
/* 02EA4 809BB184 2401FFFD */ addiu $at, $zero, 0xFFFD ## $at = FFFFFFFD
/* 02EA8 809BB188 1720000D */ bne $t9, $zero, .L809BB1C0
/* 02EAC 809BB18C 00000000 */ nop
/* 02EB0 809BB190 8C880004 */ lw $t0, 0x0004($a0) ## 00000004
/* 02EB4 809BB194 2401FFFE */ addiu $at, $zero, 0xFFFE ## $at = FFFFFFFE
/* 02EB8 809BB198 01014824 */ and $t1, $t0, $at
/* 02EBC 809BB19C 14610004 */ bne $v1, $at, .L809BB1B0
/* 02EC0 809BB1A0 AC890004 */ sw $t1, 0x0004($a0) ## 00000004
/* 02EC4 809BB1A4 0C26E146 */ jal func_809B8518
/* 02EC8 809BB1A8 AFA40020 */ sw $a0, 0x0020($sp)
/* 02ECC 809BB1AC 8FA40020 */ lw $a0, 0x0020($sp)
.L809BB1B0:
/* 02ED0 809BB1B0 0C26E2C0 */ jal func_809B8B00
/* 02ED4 809BB1B4 8FA50024 */ lw $a1, 0x0024($sp)
/* 02ED8 809BB1B8 1000002C */ beq $zero, $zero, .L809BB26C
/* 02EDC 809BB1BC 8FBF001C */ lw $ra, 0x001C($sp)
.L809BB1C0:
/* 02EE0 809BB1C0 14610018 */ bne $v1, $at, .L809BB224
/* 02EE4 809BB1C4 8C820250 */ lw $v0, 0x0250($a0) ## 00000250
/* 02EE8 809BB1C8 24010008 */ addiu $at, $zero, 0x0008 ## $at = 00000008
/* 02EEC 809BB1CC 10410003 */ beq $v0, $at, .L809BB1DC
/* 02EF0 809BB1D0 24054000 */ addiu $a1, $zero, 0x4000 ## $a1 = 00004000
/* 02EF4 809BB1D4 24010004 */ addiu $at, $zero, 0x0004 ## $at = 00000004
/* 02EF8 809BB1D8 14410012 */ bne $v0, $at, .L809BB224
.L809BB1DC:
/* 02EFC 809BB1DC 240A000C */ addiu $t2, $zero, 0x000C ## $t2 = 0000000C
/* 02F00 809BB1E0 AFAA0010 */ sw $t2, 0x0010($sp)
/* 02F04 809BB1E4 240600FF */ addiu $a2, $zero, 0x00FF ## $a2 = 000000FF
/* 02F08 809BB1E8 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 02F0C 809BB1EC 0C00D09B */ jal func_8003426C
/* 02F10 809BB1F0 AFA40020 */ sw $a0, 0x0020($sp)
/* 02F14 809BB1F4 8FA40020 */ lw $a0, 0x0020($sp)
/* 02F18 809BB1F8 3C01C100 */ lui $at, 0xC100 ## $at = C1000000
/* 02F1C 809BB1FC 44814000 */ mtc1 $at, $f8 ## $f8 = -8.00
/* 02F20 809BB200 44805000 */ mtc1 $zero, $f10 ## $f10 = 0.00
/* 02F24 809BB204 848B008A */ lh $t3, 0x008A($a0) ## 0000008A
/* 02F28 809BB208 240538E3 */ addiu $a1, $zero, 0x38E3 ## $a1 = 000038E3
/* 02F2C 809BB20C E4880068 */ swc1 $f8, 0x0068($a0) ## 00000068
/* 02F30 809BB210 E48A027C */ swc1 $f10, 0x027C($a0) ## 0000027C
/* 02F34 809BB214 0C00BE0A */ jal Audio_PlayActorSound2
/* 02F38 809BB218 A48B0032 */ sh $t3, 0x0032($a0) ## 00000032
/* 02F3C 809BB21C 10000013 */ beq $zero, $zero, .L809BB26C
/* 02F40 809BB220 8FBF001C */ lw $ra, 0x001C($sp)
.L809BB224:
/* 02F44 809BB224 24010003 */ addiu $at, $zero, 0x0003 ## $at = 00000003
/* 02F48 809BB228 54410005 */ bnel $v0, $at, .L809BB240
/* 02F4C 809BB22C 2401FFFD */ addiu $at, $zero, 0xFFFD ## $at = FFFFFFFD
/* 02F50 809BB230 8C8C0260 */ lw $t4, 0x0260($a0) ## 00000260
/* 02F54 809BB234 298100BE */ slti $at, $t4, 0x00BE
/* 02F58 809BB238 14200009 */ bne $at, $zero, .L809BB260
/* 02F5C 809BB23C 2401FFFD */ addiu $at, $zero, 0xFFFD ## $at = FFFFFFFD
.L809BB240:
/* 02F60 809BB240 10610009 */ beq $v1, $at, .L809BB268
/* 02F64 809BB244 3C0141A0 */ lui $at, 0x41A0 ## $at = 41A00000
/* 02F68 809BB248 44819000 */ mtc1 $at, $f18 ## $f18 = 20.00
/* 02F6C 809BB24C C490028C */ lwc1 $f16, 0x028C($a0) ## 0000028C
/* 02F70 809BB250 4612803C */ c.lt.s $f16, $f18
/* 02F74 809BB254 00000000 */ nop
/* 02F78 809BB258 45020004 */ bc1fl .L809BB26C
/* 02F7C 809BB25C 8FBF001C */ lw $ra, 0x001C($sp)
.L809BB260:
/* 02F80 809BB260 0C26E344 */ jal func_809B8D10
/* 02F84 809BB264 00000000 */ nop
glabel L809BB268
.L809BB268:
/* 02F88 809BB268 8FBF001C */ lw $ra, 0x001C($sp)
.L809BB26C:
/* 02F8C 809BB26C 27BD0020 */ addiu $sp, $sp, 0x0020 ## $sp = 00000000
/* 02F90 809BB270 03E00008 */ jr $ra
/* 02F94 809BB274 00000000 */ nop

View file

@ -1,21 +0,0 @@
glabel func_809BB4F4
/* 03214 809BB4F4 27BDFFD8 */ addiu $sp, $sp, 0xFFD8 ## $sp = FFFFFFD8
/* 03218 809BB4F8 AFA40028 */ sw $a0, 0x0028($sp)
/* 0321C 809BB4FC AFA60030 */ sw $a2, 0x0030($sp)
/* 03220 809BB500 8FAF0030 */ lw $t7, 0x0030($sp)
/* 03224 809BB504 8FA40038 */ lw $a0, 0x0038($sp)
/* 03228 809BB508 AFBF0024 */ sw $ra, 0x0024($sp)
/* 0322C 809BB50C AFA70034 */ sw $a3, 0x0034($sp)
/* 03230 809BB510 240E000F */ addiu $t6, $zero, 0x000F ## $t6 = 0000000F
/* 03234 809BB514 2418FFFF */ addiu $t8, $zero, 0xFFFF ## $t8 = FFFFFFFF
/* 03238 809BB518 AFB80018 */ sw $t8, 0x0018($sp)
/* 0323C 809BB51C AFAE0010 */ sw $t6, 0x0010($sp)
/* 03240 809BB520 2407000F */ addiu $a3, $zero, 0x000F ## $a3 = 0000000F
/* 03244 809BB524 24060004 */ addiu $a2, $zero, 0x0004 ## $a2 = 00000004
/* 03248 809BB528 AFAF0014 */ sw $t7, 0x0014($sp)
/* 0324C 809BB52C 0C00CBD5 */ jal func_80032F54
/* 03250 809BB530 2484030C */ addiu $a0, $a0, 0x030C ## $a0 = 0000030C
/* 03254 809BB534 8FBF0024 */ lw $ra, 0x0024($sp)
/* 03258 809BB538 27BD0028 */ addiu $sp, $sp, 0x0028 ## $sp = 00000000
/* 0325C 809BB53C 03E00008 */ jr $ra
/* 03260 809BB540 00000000 */ nop

View file

@ -1,53 +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 D_809BBA80
.word 0xF00201A2, 0xF0E2A2F0, 0x010204E2, 0xC4B40000, 0x00609383, 0xA0A00104, 0x02020804, 0x6000A400
glabel D_809BBAA0
.word 0xD0D0D0A2, 0xD0E2A2D0, 0xD0E2E4E2, 0x94E2E4E2, 0xE2609360, 0xA0A001E4, 0xE202E8E4, 0x6000A400
glabel D_809BBAC0
.word 0xF0E2E1A2, 0xF0E2A2F0, 0xE1E2E454, 0xE2E2E4E2, 0xE2746060, 0xA0A0E1E4, 0xE2E2E8E4, 0x6000A400
glabel En_Bb_InitVars
.word 0x00690500, 0x01000015, 0x005D0000, 0x00000328
.word EnBb_Init
.word EnBb_Destroy
.word EnBb_Update
.word EnBb_Draw
glabel D_809BBB00
.word 0x00000000, 0x00000000, 0x00000000, 0xFFCFFFFF, 0x00000000, 0x00010100, 0x00000000, 0xFF880000, 0x0004012C
glabel D_809BBB24
.word 0x03110909, 0x10000000, 0x00000001
.word D_809BBB00
glabel D_809BBB34
.word 0x304C000A
glabel D_809BBB38
.word 0x00000000, 0x3F000000, 0x00000000
glabel D_809BBB44
.word 0x00000000, 0x00000000, 0x00000000
glabel D_809BBB50
.word 0x00000000, 0x00000000, 0x00000000
glabel D_809BBB5C
.word 0x00000000, 0x00000000, 0x00000000
glabel D_809BBB68
.word 0x00000000, 0x00000000, 0x00000000
glabel D_809BBB74
.word 0x00000000, 0xBF19999A, 0x00000000
glabel D_809BBB80
.word 0x0000FFFF
glabel D_809BBB84
.word 0x00000000
glabel D_809BBB88
.word 0x41500000, 0x41200000, 0x00000000, 0x40A00000, 0x41C80000, 0x40A00000, 0xC0A00000, 0x41C80000, 0x40A00000, 0xC1500000, 0x41200000, 0x00000000, 0x40A00000, 0x41C80000, 0xC0A00000, 0xC0A00000, 0x41C80000, 0xC0A00000, 0x00000000, 0x41200000, 0xC1500000, 0x40A00000, 0x00000000, 0x40A00000, 0x40A00000, 0x00000000, 0xC0A00000, 0x00000000, 0x41200000, 0x41500000, 0xC0A00000, 0x00000000, 0x40A00000, 0xC0A00000, 0x00000000, 0xC0A00000
glabel D_809BBC18
.word 0x00000000, 0x459C4000, 0x00000000
glabel D_809BBC24
.word 0x00000000, 0x44FA0000, 0x00000000

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_809BBD10
.incbin "baserom/ovl_En_Bb", 0x3A30, 0x00000320

3
spec
View file

@ -1916,8 +1916,7 @@ endseg
beginseg
name "ovl_En_Bb"
include "build/src/overlays/actors/ovl_En_Bb/z_en_bb.o"
include "build/data/overlays/actors/z_en_bb.data.o"
include "build/data/overlays/actors/z_en_bb.reloc.o"
include "build/src/overlays/actors/ovl_En_Bb/ovl_En_Bb_reloc.o"
endseg
beginseg

File diff suppressed because it is too large Load diff

View file

@ -6,11 +6,56 @@
struct EnBb;
typedef void (*EnBbActionFunc)(struct EnBb*, GlobalContext*);
typedef struct EnBb {
/* 0x0000 */ Actor actor;
/* 0x014C */ char unk_14C[0x1DC];
/* 0x014C */ SkelAnime skelAnime;
/* 0x0190 */ Vec3s limbDrawTbl[16];
/* 0x01F0 */ Vec3s transitionDrawTbl[16];
/* 0x0250 */ s32 action;
/* 0x0254 */ s32 unk_254; // unused
/* 0x0258 */ EnBbActionFunc actionFunc;
/* 0x025C */ s32 moveMode;
/* 0x0260 */ s32 timer;
/* 0x0264 */ s32 unk_264; // unused
/* 0x0268 */ s16 actionState;
/* 0x026A */ s16 charge;
/* 0x026C */ s16 actionVar1; // index for flame trail, phase of small hop when blue finds a bomb
/* 0x026E */ s16 actionVar2; // move yaw for blue, flame timer for green, maxAlpha for flame trail
/* 0x0270 */ s16 flameScrollMod;
/* 0x0274 */ f32 bobPhase;
/* 0x0278 */ f32 bobSize;
/* 0x027C */ f32 maxSpeed;
/* 0x0280 */ f32 flyHeightMod;
/* 0x027C */ f32 bobSpeedMod; // y speed for blue, phase speed for green
/* 0x0288 */ f32 flameScaleY;
/* 0x028C */ f32 flameScaleX;
/* 0x0290 */ Vec3f waypointPos;
/* 0x029C */ u8 path;
/* 0x029D */ u8 waypoint;
/* 0x029E */ u8 flamePrimBlue;
/* 0x029F */ u8 flamePrimAlpha;
/* 0x02A0 */ Color_RGB8 flameEnvColor;
/* 0x02A4 */ s32 blureIdx;
/* 0x02A8 */ s16 fireIceTimer;
/* 0x02AA */ u8 dmgEffect;
/* 0x02AC */ ColliderJntSph collider;
/* 0x02CC */ ColliderJntSphItem elements[1];
/* 0x030C */ struct_80032E24 enPartInfo;
/* 0x0324 */ Actor* targetActor;
} EnBb; // size = 0x0328
typedef enum {
ENBB_GREEN_BIG = -5,
ENBB_GREEN,
ENBB_WHITE,
ENBB_RED,
ENBB_BLUE,
ENBB_FLAME_TRAIL,
ENBB_KILL_TRAIL = 11
} EnBbType;
extern const ActorInit En_Bb_InitVars;
#endif