mirror of
https://github.com/zeldaret/oot.git
synced 2024-12-27 07:07:09 +00:00
ovl_En_Du (#630)
* Decompiled * asm Co-authored-by: Thar0 <maximilianc64@gmail.com> Co-authored-by: Fig02 <fig02srl@gmail.com>
This commit is contained in:
parent
6fd644dff5
commit
31b0ea2db8
34 changed files with 553 additions and 1663 deletions
|
@ -1,16 +0,0 @@
|
|||
glabel EnDu_Destroy
|
||||
/* 0074C 809FE37C 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
|
||||
/* 00750 809FE380 AFBF0014 */ sw $ra, 0x0014($sp)
|
||||
/* 00754 809FE384 AFA40018 */ sw $a0, 0x0018($sp)
|
||||
/* 00758 809FE388 AFA5001C */ sw $a1, 0x001C($sp)
|
||||
/* 0075C 809FE38C 0C0295BC */ jal SkelAnime_Free
|
||||
/* 00760 809FE390 2484014C */ addiu $a0, $a0, 0x014C ## $a0 = 0000014C
|
||||
/* 00764 809FE394 8FA50018 */ lw $a1, 0x0018($sp)
|
||||
/* 00768 809FE398 8FA4001C */ lw $a0, 0x001C($sp)
|
||||
/* 0076C 809FE39C 0C0170EB */ jal Collider_DestroyCylinder
|
||||
|
||||
/* 00770 809FE3A0 24A50194 */ addiu $a1, $a1, 0x0194 ## $a1 = 00000194
|
||||
/* 00774 809FE3A4 8FBF0014 */ lw $ra, 0x0014($sp)
|
||||
/* 00778 809FE3A8 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
|
||||
/* 0077C 809FE3AC 03E00008 */ jr $ra
|
||||
/* 00780 809FE3B0 00000000 */ nop
|
|
@ -1,114 +0,0 @@
|
|||
.rdata
|
||||
glabel D_809FF440
|
||||
.asciz "../z_en_du.c"
|
||||
.balign 4
|
||||
|
||||
glabel D_809FF450
|
||||
.asciz "../z_en_du.c"
|
||||
.balign 4
|
||||
|
||||
.text
|
||||
glabel EnDu_Draw
|
||||
/* 01444 809FF074 27BDFFB0 */ addiu $sp, $sp, 0xFFB0 ## $sp = FFFFFFB0
|
||||
/* 01448 809FF078 AFBF0024 */ sw $ra, 0x0024($sp)
|
||||
/* 0144C 809FF07C AFB00020 */ sw $s0, 0x0020($sp)
|
||||
/* 01450 809FF080 AFA50054 */ sw $a1, 0x0054($sp)
|
||||
/* 01454 809FF084 8CA50000 */ lw $a1, 0x0000($a1) ## 00000000
|
||||
/* 01458 809FF088 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
|
||||
/* 0145C 809FF08C 3C0680A0 */ lui $a2, %hi(D_809FF440) ## $a2 = 80A00000
|
||||
/* 01460 809FF090 24C6F440 */ addiu $a2, $a2, %lo(D_809FF440) ## $a2 = 809FF440
|
||||
/* 01464 809FF094 27A40038 */ addiu $a0, $sp, 0x0038 ## $a0 = FFFFFFE8
|
||||
/* 01468 809FF098 240705BE */ addiu $a3, $zero, 0x05BE ## $a3 = 000005BE
|
||||
/* 0146C 809FF09C 0C031AB1 */ jal Graph_OpenDisps
|
||||
/* 01470 809FF0A0 AFA50048 */ sw $a1, 0x0048($sp)
|
||||
/* 01474 809FF0A4 8FA80048 */ lw $t0, 0x0048($sp)
|
||||
/* 01478 809FF0A8 3C18DB06 */ lui $t8, 0xDB06 ## $t8 = DB060000
|
||||
/* 0147C 809FF0AC 37180020 */ ori $t8, $t8, 0x0020 ## $t8 = DB060020
|
||||
/* 01480 809FF0B0 8D0202C0 */ lw $v0, 0x02C0($t0) ## 000002C0
|
||||
/* 01484 809FF0B4 3C0480A0 */ lui $a0, %hi(D_809FF418) ## $a0 = 80A00000
|
||||
/* 01488 809FF0B8 3C068016 */ lui $a2, %hi(gSegments)
|
||||
/* 0148C 809FF0BC 244F0008 */ addiu $t7, $v0, 0x0008 ## $t7 = 00000008
|
||||
/* 01490 809FF0C0 AD0F02C0 */ sw $t7, 0x02C0($t0) ## 000002C0
|
||||
/* 01494 809FF0C4 AC580000 */ sw $t8, 0x0000($v0) ## 00000000
|
||||
/* 01498 809FF0C8 921901EF */ lbu $t9, 0x01EF($s0) ## 000001EF
|
||||
/* 0149C 809FF0CC 24C66FA8 */ addiu $a2, %lo(gSegments)
|
||||
/* 014A0 809FF0D0 3C0500FF */ lui $a1, 0x00FF ## $a1 = 00FF0000
|
||||
/* 014A4 809FF0D4 00194880 */ sll $t1, $t9, 2
|
||||
/* 014A8 809FF0D8 00892021 */ addu $a0, $a0, $t1
|
||||
/* 014AC 809FF0DC 8C84F418 */ lw $a0, %lo(D_809FF418)($a0)
|
||||
/* 014B0 809FF0E0 34A5FFFF */ ori $a1, $a1, 0xFFFF ## $a1 = 00FFFFFF
|
||||
/* 014B4 809FF0E4 3C078000 */ lui $a3, 0x8000 ## $a3 = 80000000
|
||||
/* 014B8 809FF0E8 00045900 */ sll $t3, $a0, 4
|
||||
/* 014BC 809FF0EC 000B6702 */ srl $t4, $t3, 28
|
||||
/* 014C0 809FF0F0 000C6880 */ sll $t5, $t4, 2
|
||||
/* 014C4 809FF0F4 00CD7021 */ addu $t6, $a2, $t5
|
||||
/* 014C8 809FF0F8 8DCF0000 */ lw $t7, 0x0000($t6) ## 00000000
|
||||
/* 014CC 809FF0FC 00855024 */ and $t2, $a0, $a1
|
||||
/* 014D0 809FF100 3C0BDB06 */ lui $t3, 0xDB06 ## $t3 = DB060000
|
||||
/* 014D4 809FF104 014FC021 */ addu $t8, $t2, $t7
|
||||
/* 014D8 809FF108 0307C821 */ addu $t9, $t8, $a3
|
||||
/* 014DC 809FF10C AC590004 */ sw $t9, 0x0004($v0) ## 00000004
|
||||
/* 014E0 809FF110 8D0202C0 */ lw $v0, 0x02C0($t0) ## 000002C0
|
||||
/* 014E4 809FF114 356B0024 */ ori $t3, $t3, 0x0024 ## $t3 = DB060024
|
||||
/* 014E8 809FF118 3C0480A0 */ lui $a0, %hi(D_809FF428) ## $a0 = 80A00000
|
||||
/* 014EC 809FF11C 24490008 */ addiu $t1, $v0, 0x0008 ## $t1 = 00000008
|
||||
/* 014F0 809FF120 AD0902C0 */ sw $t1, 0x02C0($t0) ## 000002C0
|
||||
/* 014F4 809FF124 AC4B0000 */ sw $t3, 0x0000($v0) ## 00000000
|
||||
/* 014F8 809FF128 920C01F0 */ lbu $t4, 0x01F0($s0) ## 000001F0
|
||||
/* 014FC 809FF12C 000C6880 */ sll $t5, $t4, 2
|
||||
/* 01500 809FF130 008D2021 */ addu $a0, $a0, $t5
|
||||
/* 01504 809FF134 8C84F428 */ lw $a0, %lo(D_809FF428)($a0)
|
||||
/* 01508 809FF138 00045100 */ sll $t2, $a0, 4
|
||||
/* 0150C 809FF13C 000A7F02 */ srl $t7, $t2, 28
|
||||
/* 01510 809FF140 000FC080 */ sll $t8, $t7, 2
|
||||
/* 01514 809FF144 00D8C821 */ addu $t9, $a2, $t8
|
||||
/* 01518 809FF148 8F290000 */ lw $t1, 0x0000($t9) ## 00000000
|
||||
/* 0151C 809FF14C 00857024 */ and $t6, $a0, $a1
|
||||
/* 01520 809FF150 3C0ADB06 */ lui $t2, 0xDB06 ## $t2 = DB060000
|
||||
/* 01524 809FF154 01C95821 */ addu $t3, $t6, $t1
|
||||
/* 01528 809FF158 01676021 */ addu $t4, $t3, $a3
|
||||
/* 0152C 809FF15C AC4C0004 */ sw $t4, 0x0004($v0) ## 00000004
|
||||
/* 01530 809FF160 8D0202C0 */ lw $v0, 0x02C0($t0) ## 000002C0
|
||||
/* 01534 809FF164 354A0028 */ ori $t2, $t2, 0x0028 ## $t2 = DB060028
|
||||
/* 01538 809FF168 3C0480A0 */ lui $a0, %hi(D_809FF438) ## $a0 = 80A00000
|
||||
/* 0153C 809FF16C 244D0008 */ addiu $t5, $v0, 0x0008 ## $t5 = 00000008
|
||||
/* 01540 809FF170 AD0D02C0 */ sw $t5, 0x02C0($t0) ## 000002C0
|
||||
/* 01544 809FF174 AC4A0000 */ sw $t2, 0x0000($v0) ## 00000000
|
||||
/* 01548 809FF178 920F01F1 */ lbu $t7, 0x01F1($s0) ## 000001F1
|
||||
/* 0154C 809FF17C 000FC080 */ sll $t8, $t7, 2
|
||||
/* 01550 809FF180 00982021 */ addu $a0, $a0, $t8
|
||||
/* 01554 809FF184 8C84F438 */ lw $a0, %lo(D_809FF438)($a0)
|
||||
/* 01558 809FF188 241800FF */ addiu $t8, $zero, 0x00FF ## $t8 = 000000FF
|
||||
/* 0155C 809FF18C 00047100 */ sll $t6, $a0, 4
|
||||
/* 01560 809FF190 000E4F02 */ srl $t1, $t6, 28
|
||||
/* 01564 809FF194 00095880 */ sll $t3, $t1, 2
|
||||
/* 01568 809FF198 00CB6021 */ addu $t4, $a2, $t3
|
||||
/* 0156C 809FF19C 8D8D0000 */ lw $t5, 0x0000($t4) ## 00000000
|
||||
/* 01570 809FF1A0 0085C824 */ and $t9, $a0, $a1
|
||||
/* 01574 809FF1A4 3C0680A0 */ lui $a2, %hi(func_809FEEA4) ## $a2 = 80A00000
|
||||
/* 01578 809FF1A8 032D5021 */ addu $t2, $t9, $t5
|
||||
/* 0157C 809FF1AC 01477821 */ addu $t7, $t2, $a3
|
||||
/* 01580 809FF1B0 AC4F0004 */ sw $t7, 0x0004($v0) ## 00000004
|
||||
/* 01584 809FF1B4 3C0780A0 */ lui $a3, %hi(func_809FF018) ## $a3 = 80A00000
|
||||
/* 01588 809FF1B8 24E7F018 */ addiu $a3, $a3, %lo(func_809FF018) ## $a3 = 809FF018
|
||||
/* 0158C 809FF1BC AFB80014 */ sw $t8, 0x0014($sp)
|
||||
/* 01590 809FF1C0 AFB00010 */ sw $s0, 0x0010($sp)
|
||||
/* 01594 809FF1C4 8FA40054 */ lw $a0, 0x0054($sp)
|
||||
/* 01598 809FF1C8 24C6EEA4 */ addiu $a2, $a2, %lo(func_809FEEA4) ## $a2 = 809FEEA4
|
||||
/* 0159C 809FF1CC 0C00D2E8 */ jal func_80034BA0
|
||||
/* 015A0 809FF1D0 2605014C */ addiu $a1, $s0, 0x014C ## $a1 = 0000014C
|
||||
/* 015A4 809FF1D4 8FAE0054 */ lw $t6, 0x0054($sp)
|
||||
/* 015A8 809FF1D8 3C0680A0 */ lui $a2, %hi(D_809FF450) ## $a2 = 80A00000
|
||||
/* 015AC 809FF1DC 24C6F450 */ addiu $a2, $a2, %lo(D_809FF450) ## $a2 = 809FF450
|
||||
/* 015B0 809FF1E0 27A40038 */ addiu $a0, $sp, 0x0038 ## $a0 = FFFFFFE8
|
||||
/* 015B4 809FF1E4 240705CF */ addiu $a3, $zero, 0x05CF ## $a3 = 000005CF
|
||||
/* 015B8 809FF1E8 0C031AD5 */ jal Graph_CloseDisps
|
||||
/* 015BC 809FF1EC 8DC50000 */ lw $a1, 0x0000($t6) ## 00000000
|
||||
/* 015C0 809FF1F0 8FBF0024 */ lw $ra, 0x0024($sp)
|
||||
/* 015C4 809FF1F4 8FB00020 */ lw $s0, 0x0020($sp)
|
||||
/* 015C8 809FF1F8 27BD0050 */ addiu $sp, $sp, 0x0050 ## $sp = 00000000
|
||||
/* 015CC 809FF1FC 03E00008 */ jr $ra
|
||||
/* 015D0 809FF200 00000000 */ nop
|
||||
/* 015D4 809FF204 00000000 */ nop
|
||||
/* 015D8 809FF208 00000000 */ nop
|
||||
/* 015DC 809FF20C 00000000 */ nop
|
|
@ -1,128 +0,0 @@
|
|||
glabel EnDu_Init
|
||||
/* 0057C 809FE1AC 27BDFFB8 */ addiu $sp, $sp, 0xFFB8 ## $sp = FFFFFFB8
|
||||
/* 00580 809FE1B0 AFB00028 */ sw $s0, 0x0028($sp)
|
||||
/* 00584 809FE1B4 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
|
||||
/* 00588 809FE1B8 AFBF002C */ sw $ra, 0x002C($sp)
|
||||
/* 0058C 809FE1BC AFA5004C */ sw $a1, 0x004C($sp)
|
||||
/* 00590 809FE1C0 3C068003 */ lui $a2, %hi(ActorShadow_DrawCircle)
|
||||
/* 00594 809FE1C4 24C6B5EC */ addiu $a2, %lo(ActorShadow_DrawCircle)
|
||||
/* 00598 809FE1C8 24050000 */ addiu $a1, $zero, 0x0000 ## $a1 = 00000000
|
||||
/* 0059C 809FE1CC 248400B4 */ addiu $a0, $a0, 0x00B4 ## $a0 = 000000B4
|
||||
/* 005A0 809FE1D0 0C00AC78 */ jal ActorShape_Init
|
||||
|
||||
/* 005A4 809FE1D4 3C0741F0 */ lui $a3, 0x41F0 ## $a3 = 41F00000
|
||||
/* 005A8 809FE1D8 2605014C */ addiu $a1, $s0, 0x014C ## $a1 = 0000014C
|
||||
/* 005AC 809FE1DC 3C060601 */ lui $a2, %hi(D_06011CA8) ## $a2 = 06010000
|
||||
/* 005B0 809FE1E0 24C61CA8 */ addiu $a2, $a2, %lo(D_06011CA8) ## $a2 = 06011CA8
|
||||
/* 005B4 809FE1E4 AFA50038 */ sw $a1, 0x0038($sp)
|
||||
/* 005B8 809FE1E8 8FA4004C */ lw $a0, 0x004C($sp)
|
||||
/* 005BC 809FE1EC 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
|
||||
/* 005C0 809FE1F0 AFA00010 */ sw $zero, 0x0010($sp)
|
||||
/* 005C4 809FE1F4 AFA00014 */ sw $zero, 0x0014($sp)
|
||||
/* 005C8 809FE1F8 0C0291BE */ jal SkelAnime_InitFlex
|
||||
/* 005CC 809FE1FC AFA00018 */ sw $zero, 0x0018($sp)
|
||||
/* 005D0 809FE200 26050194 */ addiu $a1, $s0, 0x0194 ## $a1 = 00000194
|
||||
/* 005D4 809FE204 AFA50034 */ sw $a1, 0x0034($sp)
|
||||
/* 005D8 809FE208 0C0170D9 */ jal Collider_InitCylinder
|
||||
|
||||
/* 005DC 809FE20C 8FA4004C */ lw $a0, 0x004C($sp)
|
||||
/* 005E0 809FE210 3C0780A0 */ lui $a3, %hi(D_809FF230) ## $a3 = 80A00000
|
||||
/* 005E4 809FE214 8FA50034 */ lw $a1, 0x0034($sp)
|
||||
/* 005E8 809FE218 24E7F230 */ addiu $a3, $a3, %lo(D_809FF230) ## $a3 = 809FF230
|
||||
/* 005EC 809FE21C 8FA4004C */ lw $a0, 0x004C($sp)
|
||||
/* 005F0 809FE220 0C01712B */ jal Collider_SetCylinder
|
||||
|
||||
/* 005F4 809FE224 02003025 */ or $a2, $s0, $zero ## $a2 = 00000000
|
||||
/* 005F8 809FE228 0C016C80 */ jal DamageTable_Get
|
||||
|
||||
/* 005FC 809FE22C 24040016 */ addiu $a0, $zero, 0x0016 ## $a0 = 00000016
|
||||
/* 00600 809FE230 3C0680A0 */ lui $a2, %hi(D_809FF25C) ## $a2 = 80A00000
|
||||
/* 00604 809FE234 24C6F25C */ addiu $a2, $a2, %lo(D_809FF25C) ## $a2 = 809FF25C
|
||||
/* 00608 809FE238 26040098 */ addiu $a0, $s0, 0x0098 ## $a0 = 00000098
|
||||
/* 0060C 809FE23C 0C0187BF */ jal CollisionCheck_SetInfo2
|
||||
/* 00610 809FE240 00402825 */ or $a1, $v0, $zero ## $a1 = 00000000
|
||||
/* 00614 809FE244 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 00618 809FE248 0C27F76D */ jal func_809FDDB4
|
||||
/* 0061C 809FE24C 8FA5004C */ lw $a1, 0x004C($sp)
|
||||
/* 00620 809FE250 14400005 */ bne $v0, $zero, .L809FE268
|
||||
/* 00624 809FE254 8FA40038 */ lw $a0, 0x0038($sp)
|
||||
/* 00628 809FE258 0C00B55C */ jal Actor_Kill
|
||||
|
||||
/* 0062C 809FE25C 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 00630 809FE260 10000042 */ beq $zero, $zero, .L809FE36C
|
||||
/* 00634 809FE264 8FBF002C */ lw $ra, 0x002C($sp)
|
||||
.L809FE268:
|
||||
/* 00638 809FE268 3C0580A0 */ lui $a1, %hi(D_809FF268) ## $a1 = 80A00000
|
||||
/* 0063C 809FE26C 24A5F268 */ addiu $a1, $a1, %lo(D_809FF268) ## $a1 = 809FF268
|
||||
/* 00640 809FE270 0C00D3B0 */ jal func_80034EC0
|
||||
/* 00644 809FE274 00003025 */ or $a2, $zero, $zero ## $a2 = 00000000
|
||||
/* 00648 809FE278 3C053C23 */ lui $a1, 0x3C23 ## $a1 = 3C230000
|
||||
/* 0064C 809FE27C 34A5D70A */ ori $a1, $a1, 0xD70A ## $a1 = 3C23D70A
|
||||
/* 00650 809FE280 0C00B58B */ jal Actor_SetScale
|
||||
|
||||
/* 00654 809FE284 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 00658 809FE288 3C038016 */ lui $v1, %hi(gSaveContext)
|
||||
/* 0065C 809FE28C 240E0001 */ addiu $t6, $zero, 0x0001 ## $t6 = 00000001
|
||||
/* 00660 809FE290 2463E660 */ addiu $v1, %lo(gSaveContext)
|
||||
/* 00664 809FE294 A20E001F */ sb $t6, 0x001F($s0) ## 0000001F
|
||||
/* 00668 809FE298 A60001F4 */ sh $zero, 0x01F4($s0) ## 000001F4
|
||||
/* 0066C 809FE29C 8C6F0008 */ lw $t7, 0x0008($v1) ## 8015E668
|
||||
/* 00670 809FE2A0 3401FFF0 */ ori $at, $zero, 0xFFF0 ## $at = 0000FFF0
|
||||
/* 00674 809FE2A4 3C020200 */ lui $v0, %hi(D_02006930) ## $v0 = 02000000
|
||||
/* 00678 809FE2A8 01E1082A */ slt $at, $t7, $at
|
||||
/* 0067C 809FE2AC 14200018 */ bne $at, $zero, .L809FE310
|
||||
/* 00680 809FE2B0 8FAF004C */ lw $t7, 0x004C($sp)
|
||||
/* 00684 809FE2B4 24426930 */ addiu $v0, $v0, %lo(D_02006930) ## $v0 = 02006930
|
||||
/* 00688 809FE2B8 0002C100 */ sll $t8, $v0, 4
|
||||
/* 0068C 809FE2BC 0018CF02 */ srl $t9, $t8, 28
|
||||
/* 00690 809FE2C0 00194080 */ sll $t0, $t9, 2
|
||||
/* 00694 809FE2C4 3C098016 */ lui $t1, %hi(gSegments)
|
||||
/* 00698 809FE2C8 01284821 */ addu $t1, $t1, $t0
|
||||
/* 0069C 809FE2CC 3C0100FF */ lui $at, 0x00FF ## $at = 00FF0000
|
||||
/* 006A0 809FE2D0 8D296FA8 */ lw $t1, %lo(gSegments)($t1)
|
||||
/* 006A4 809FE2D4 3421FFFF */ ori $at, $at, 0xFFFF ## $at = 00FFFFFF
|
||||
/* 006A8 809FE2D8 00415024 */ and $t2, $v0, $at
|
||||
/* 006AC 809FE2DC 8FAD004C */ lw $t5, 0x004C($sp)
|
||||
/* 006B0 809FE2E0 3C018000 */ lui $at, 0x8000 ## $at = 80000000
|
||||
/* 006B4 809FE2E4 012A5821 */ addu $t3, $t1, $t2
|
||||
/* 006B8 809FE2E8 01616021 */ addu $t4, $t3, $at
|
||||
/* 006BC 809FE2EC 240E0001 */ addiu $t6, $zero, 0x0001 ## $t6 = 00000001
|
||||
/* 006C0 809FE2F0 3C0580A0 */ lui $a1, %hi(func_809FE890) ## $a1 = 80A00000
|
||||
/* 006C4 809FE2F4 ADAC1D68 */ sw $t4, 0x1D68($t5) ## 00001D68
|
||||
/* 006C8 809FE2F8 A06E1414 */ sb $t6, 0x1414($v1) ## 8015FA74
|
||||
/* 006CC 809FE2FC 24A5E890 */ addiu $a1, $a1, %lo(func_809FE890) ## $a1 = 809FE890
|
||||
/* 006D0 809FE300 0C27F70C */ jal func_809FDC30
|
||||
/* 006D4 809FE304 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 006D8 809FE308 10000018 */ beq $zero, $zero, .L809FE36C
|
||||
/* 006DC 809FE30C 8FBF002C */ lw $ra, 0x002C($sp)
|
||||
.L809FE310:
|
||||
/* 006E0 809FE310 85F800A4 */ lh $t8, 0x00A4($t7) ## 000000A4
|
||||
/* 006E4 809FE314 24010004 */ addiu $at, $zero, 0x0004 ## $at = 00000004
|
||||
/* 006E8 809FE318 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 006EC 809FE31C 17010005 */ bne $t8, $at, .L809FE334
|
||||
/* 006F0 809FE320 3C0580A0 */ lui $a1, %hi(func_809FE638) ## $a1 = 80A00000
|
||||
/* 006F4 809FE324 0C27F70C */ jal func_809FDC30
|
||||
/* 006F8 809FE328 24A5E638 */ addiu $a1, $a1, %lo(func_809FE638) ## $a1 = 809FE638
|
||||
/* 006FC 809FE32C 1000000F */ beq $zero, $zero, .L809FE36C
|
||||
/* 00700 809FE330 8FBF002C */ lw $ra, 0x002C($sp)
|
||||
.L809FE334:
|
||||
/* 00704 809FE334 8C790004 */ lw $t9, 0x0004($v1) ## 00000004
|
||||
/* 00708 809FE338 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 0070C 809FE33C 3C0580A0 */ lui $a1, %hi(func_809FE3B4) ## $a1 = 80A00000
|
||||
/* 00710 809FE340 13200007 */ beq $t9, $zero, .L809FE360
|
||||
/* 00714 809FE344 00000000 */ nop
|
||||
/* 00718 809FE348 3C0580A0 */ lui $a1, %hi(func_809FE3C0) ## $a1 = 80A00000
|
||||
/* 0071C 809FE34C 24A5E3C0 */ addiu $a1, $a1, %lo(func_809FE3C0) ## $a1 = 809FE3C0
|
||||
/* 00720 809FE350 0C27F70C */ jal func_809FDC30
|
||||
/* 00724 809FE354 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 00728 809FE358 10000004 */ beq $zero, $zero, .L809FE36C
|
||||
/* 0072C 809FE35C 8FBF002C */ lw $ra, 0x002C($sp)
|
||||
.L809FE360:
|
||||
/* 00730 809FE360 0C27F70C */ jal func_809FDC30
|
||||
/* 00734 809FE364 24A5E3B4 */ addiu $a1, $a1, %lo(func_809FE3B4) ## $a1 = FFFFE3B4
|
||||
/* 00738 809FE368 8FBF002C */ lw $ra, 0x002C($sp)
|
||||
.L809FE36C:
|
||||
/* 0073C 809FE36C 8FB00028 */ lw $s0, 0x0028($sp)
|
||||
/* 00740 809FE370 27BD0048 */ addiu $sp, $sp, 0x0048 ## $sp = 00000000
|
||||
/* 00744 809FE374 03E00008 */ jr $ra
|
||||
/* 00748 809FE378 00000000 */ nop
|
|
@ -1,106 +0,0 @@
|
|||
glabel EnDu_Update
|
||||
/* 010EC 809FED1C 27BDFFC8 */ addiu $sp, $sp, 0xFFC8 ## $sp = FFFFFFC8
|
||||
/* 010F0 809FED20 AFB0001C */ sw $s0, 0x001C($sp)
|
||||
/* 010F4 809FED24 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
|
||||
/* 010F8 809FED28 AFB10020 */ sw $s1, 0x0020($sp)
|
||||
/* 010FC 809FED2C 00A08825 */ or $s1, $a1, $zero ## $s1 = 00000000
|
||||
/* 01100 809FED30 AFBF0024 */ sw $ra, 0x0024($sp)
|
||||
/* 01104 809FED34 26060194 */ addiu $a2, $s0, 0x0194 ## $a2 = 00000194
|
||||
/* 01108 809FED38 00C02825 */ or $a1, $a2, $zero ## $a1 = 00000194
|
||||
/* 0110C 809FED3C 0C0189B7 */ jal Collider_UpdateCylinder
|
||||
|
||||
/* 01110 809FED40 AFA6002C */ sw $a2, 0x002C($sp)
|
||||
/* 01114 809FED44 3C010001 */ lui $at, 0x0001 ## $at = 00010000
|
||||
/* 01118 809FED48 34211E60 */ ori $at, $at, 0x1E60 ## $at = 00011E60
|
||||
/* 0111C 809FED4C 8FA6002C */ lw $a2, 0x002C($sp)
|
||||
/* 01120 809FED50 02212821 */ addu $a1, $s1, $at
|
||||
/* 01124 809FED54 0C017713 */ jal CollisionCheck_SetOC
|
||||
## CollisionCheck_setOC
|
||||
/* 01128 809FED58 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
|
||||
/* 0112C 809FED5C 8E0F0154 */ lw $t7, 0x0154($s0) ## 00000154
|
||||
/* 01130 809FED60 3C0E0600 */ lui $t6, %hi(D_060041F4) ## $t6 = 06000000
|
||||
/* 01134 809FED64 25CE41F4 */ addiu $t6, $t6, %lo(D_060041F4) ## $t6 = 060041F4
|
||||
/* 01138 809FED68 15CF000A */ bne $t6, $t7, .L809FED94
|
||||
/* 0113C 809FED6C 2604014C */ addiu $a0, $s0, 0x014C ## $a0 = 0000014C
|
||||
/* 01140 809FED70 8E05015C */ lw $a1, 0x015C($s0) ## 0000015C
|
||||
/* 01144 809FED74 0C0295B2 */ jal Animation_OnFrame
|
||||
/* 01148 809FED78 AFA4002C */ sw $a0, 0x002C($sp)
|
||||
/* 0114C 809FED7C 10400005 */ beq $v0, $zero, .L809FED94
|
||||
/* 01150 809FED80 8FA4002C */ lw $a0, 0x002C($sp)
|
||||
/* 01154 809FED84 3C0580A0 */ lui $a1, %hi(D_809FF268) ## $a1 = 80A00000
|
||||
/* 01158 809FED88 24A5F268 */ addiu $a1, $a1, %lo(D_809FF268) ## $a1 = 809FF268
|
||||
/* 0115C 809FED8C 0C00D3B0 */ jal func_80034EC0
|
||||
/* 01160 809FED90 24060001 */ addiu $a2, $zero, 0x0001 ## $a2 = 00000001
|
||||
.L809FED94:
|
||||
/* 01164 809FED94 0C02927F */ jal SkelAnime_Update
|
||||
|
||||
/* 01168 809FED98 2604014C */ addiu $a0, $s0, 0x014C ## $a0 = 0000014C
|
||||
/* 0116C 809FED9C 0C27F7A7 */ jal func_809FDE9C
|
||||
/* 01170 809FEDA0 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 01174 809FEDA4 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 01178 809FEDA8 0C27F789 */ jal func_809FDE24
|
||||
/* 0117C 809FEDAC 02202825 */ or $a1, $s1, $zero ## $a1 = 00000000
|
||||
/* 01180 809FEDB0 8E190190 */ lw $t9, 0x0190($s0) ## 00000190
|
||||
/* 01184 809FEDB4 3C1880A0 */ lui $t8, %hi(func_809FE890) ## $t8 = 80A00000
|
||||
/* 01188 809FEDB8 2718E890 */ addiu $t8, $t8, %lo(func_809FE890) ## $t8 = 809FE890
|
||||
/* 0118C 809FEDBC 1719000E */ bne $t8, $t9, .L809FEDF8
|
||||
/* 01190 809FEDC0 00000000 */ nop
|
||||
/* 01194 809FEDC4 C6040024 */ lwc1 $f4, 0x0024($s0) ## 00000024
|
||||
/* 01198 809FEDC8 C606005C */ lwc1 $f6, 0x005C($s0) ## 0000005C
|
||||
/* 0119C 809FEDCC C60A0028 */ lwc1 $f10, 0x0028($s0) ## 00000028
|
||||
/* 011A0 809FEDD0 C6100060 */ lwc1 $f16, 0x0060($s0) ## 00000060
|
||||
/* 011A4 809FEDD4 46062200 */ add.s $f8, $f4, $f6
|
||||
/* 011A8 809FEDD8 C6060064 */ lwc1 $f6, 0x0064($s0) ## 00000064
|
||||
/* 011AC 809FEDDC C604002C */ lwc1 $f4, 0x002C($s0) ## 0000002C
|
||||
/* 011B0 809FEDE0 46105480 */ add.s $f18, $f10, $f16
|
||||
/* 011B4 809FEDE4 E6080024 */ swc1 $f8, 0x0024($s0) ## 00000024
|
||||
/* 011B8 809FEDE8 46062200 */ add.s $f8, $f4, $f6
|
||||
/* 011BC 809FEDEC E6120028 */ swc1 $f18, 0x0028($s0) ## 00000028
|
||||
/* 011C0 809FEDF0 10000003 */ beq $zero, $zero, .L809FEE00
|
||||
/* 011C4 809FEDF4 E608002C */ swc1 $f8, 0x002C($s0) ## 0000002C
|
||||
.L809FEDF8:
|
||||
/* 011C8 809FEDF8 0C00B5FB */ jal func_8002D7EC
|
||||
/* 011CC 809FEDFC 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
.L809FEE00:
|
||||
/* 011D0 809FEE00 44800000 */ mtc1 $zero, $f0 ## $f0 = 0.00
|
||||
/* 011D4 809FEE04 24080004 */ addiu $t0, $zero, 0x0004 ## $t0 = 00000004
|
||||
/* 011D8 809FEE08 AFA80014 */ sw $t0, 0x0014($sp)
|
||||
/* 011DC 809FEE0C 44060000 */ mfc1 $a2, $f0
|
||||
/* 011E0 809FEE10 44070000 */ mfc1 $a3, $f0
|
||||
/* 011E4 809FEE14 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
|
||||
/* 011E8 809FEE18 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000
|
||||
/* 011EC 809FEE1C 0C00B92D */ jal Actor_UpdateBgCheckInfo
|
||||
/* 011F0 809FEE20 E7A00010 */ swc1 $f0, 0x0010($sp)
|
||||
/* 011F4 809FEE24 8E030190 */ lw $v1, 0x0190($s0) ## 00000190
|
||||
/* 011F8 809FEE28 3C0980A0 */ lui $t1, %hi(func_809FE4A4) ## $t1 = 80A00000
|
||||
/* 011FC 809FEE2C 2529E4A4 */ addiu $t1, $t1, %lo(func_809FE4A4) ## $t1 = 809FE4A4
|
||||
/* 01200 809FEE30 51230015 */ beql $t1, $v1, .L809FEE88
|
||||
/* 01204 809FEE34 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 01208 809FEE38 860A01D4 */ lh $t2, 0x01D4($s0) ## 000001D4
|
||||
/* 0120C 809FEE3C 3C0142E8 */ lui $at, 0x42E8 ## $at = 42E80000
|
||||
/* 01210 809FEE40 44819000 */ mtc1 $at, $f18 ## $f18 = 116.00
|
||||
/* 01214 809FEE44 448A5000 */ mtc1 $t2, $f10 ## $f10 = 0.00
|
||||
/* 01218 809FEE48 3C0B80A0 */ lui $t3, %hi(func_809FDC38) ## $t3 = 80A00000
|
||||
/* 0121C 809FEE4C 3C0C80A0 */ lui $t4, %hi(func_809FDCDC) ## $t4 = 80A00000
|
||||
/* 01220 809FEE50 46805420 */ cvt.s.w $f16, $f10
|
||||
/* 01224 809FEE54 258CDCDC */ addiu $t4, $t4, %lo(func_809FDCDC) ## $t4 = 809FDCDC
|
||||
/* 01228 809FEE58 256BDC38 */ addiu $t3, $t3, %lo(func_809FDC38) ## $t3 = 809FDC38
|
||||
/* 0122C 809FEE5C AFAB0010 */ sw $t3, 0x0010($sp)
|
||||
/* 01230 809FEE60 AFAC0014 */ sw $t4, 0x0014($sp)
|
||||
/* 01234 809FEE64 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
|
||||
/* 01238 809FEE68 46128100 */ add.s $f4, $f16, $f18
|
||||
/* 0123C 809FEE6C 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000
|
||||
/* 01240 809FEE70 260601F4 */ addiu $a2, $s0, 0x01F4 ## $a2 = 000001F4
|
||||
/* 01244 809FEE74 44072000 */ mfc1 $a3, $f4
|
||||
/* 01248 809FEE78 0C00D0F3 */ jal func_800343CC
|
||||
/* 0124C 809FEE7C 00000000 */ nop
|
||||
/* 01250 809FEE80 8E030190 */ lw $v1, 0x0190($s0) ## 00000190
|
||||
/* 01254 809FEE84 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
.L809FEE88:
|
||||
/* 01258 809FEE88 0060F809 */ jalr $ra, $v1
|
||||
/* 0125C 809FEE8C 02202825 */ or $a1, $s1, $zero ## $a1 = 00000000
|
||||
/* 01260 809FEE90 8FBF0024 */ lw $ra, 0x0024($sp)
|
||||
/* 01264 809FEE94 8FB0001C */ lw $s0, 0x001C($sp)
|
||||
/* 01268 809FEE98 8FB10020 */ lw $s1, 0x0020($sp)
|
||||
/* 0126C 809FEE9C 03E00008 */ jr $ra
|
||||
/* 01270 809FEEA0 27BD0038 */ addiu $sp, $sp, 0x0038 ## $sp = 00000000
|
|
@ -1,3 +0,0 @@
|
|||
glabel func_809FDC30
|
||||
/* 00000 809FDC30 03E00008 */ jr $ra
|
||||
/* 00004 809FDC34 AC850190 */ sw $a1, 0x0190($a0) ## 00000190
|
|
@ -1,46 +0,0 @@
|
|||
glabel func_809FDC38
|
||||
/* 00008 809FDC38 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
|
||||
/* 0000C 809FDC3C AFBF0014 */ sw $ra, 0x0014($sp)
|
||||
/* 00010 809FDC40 AFA5001C */ sw $a1, 0x001C($sp)
|
||||
/* 00014 809FDC44 0C01B0D8 */ jal Text_GetFaceReaction
|
||||
/* 00018 809FDC48 24050021 */ addiu $a1, $zero, 0x0021 ## $a1 = 00000021
|
||||
/* 0001C 809FDC4C 10400003 */ beq $v0, $zero, .L809FDC5C
|
||||
/* 00020 809FDC50 3043FFFF */ andi $v1, $v0, 0xFFFF ## $v1 = 00000000
|
||||
/* 00024 809FDC54 1000001D */ beq $zero, $zero, .L809FDCCC
|
||||
/* 00028 809FDC58 00601025 */ or $v0, $v1, $zero ## $v0 = 00000000
|
||||
.L809FDC5C:
|
||||
/* 0002C 809FDC5C 3C028016 */ lui $v0, %hi(gSaveContext)
|
||||
/* 00030 809FDC60 2442E660 */ addiu $v0, %lo(gSaveContext)
|
||||
/* 00034 809FDC64 3C0F8012 */ lui $t7, %hi(gUpgradeMasks+8)
|
||||
/* 00038 809FDC68 8DEF71B8 */ lw $t7, %lo(gUpgradeMasks+8)($t7)
|
||||
/* 0003C 809FDC6C 8C4E00A0 */ lw $t6, 0x00A0($v0) ## 8015E700
|
||||
/* 00040 809FDC70 3C198012 */ lui $t9, %hi(gUpgradeShifts+2)
|
||||
/* 00044 809FDC74 933971F6 */ lbu $t9, %lo(gUpgradeShifts+2)($t9)
|
||||
/* 00048 809FDC78 01CFC024 */ and $t8, $t6, $t7
|
||||
/* 0004C 809FDC7C 3C098012 */ lui $t1, %hi(gBitFlags+0x4c)
|
||||
/* 00050 809FDC80 03384007 */ srav $t0, $t8, $t9
|
||||
/* 00054 809FDC84 5100000B */ beql $t0, $zero, .L809FDCB4
|
||||
/* 00058 809FDC88 944C0F1A */ lhu $t4, 0x0F1A($v0) ## 8015F57A
|
||||
/* 0005C 809FDC8C 8D29716C */ lw $t1, %lo(gBitFlags+0x4c)($t1)
|
||||
/* 00060 809FDC90 8C4A00A4 */ lw $t2, 0x00A4($v0) ## 8015E704
|
||||
/* 00064 809FDC94 012A5824 */ and $t3, $t1, $t2
|
||||
/* 00068 809FDC98 11600003 */ beq $t3, $zero, .L809FDCA8
|
||||
/* 0006C 809FDC9C 00000000 */ nop
|
||||
/* 00070 809FDCA0 1000000A */ beq $zero, $zero, .L809FDCCC
|
||||
/* 00074 809FDCA4 2402301E */ addiu $v0, $zero, 0x301E ## $v0 = 0000301E
|
||||
.L809FDCA8:
|
||||
/* 00078 809FDCA8 10000008 */ beq $zero, $zero, .L809FDCCC
|
||||
/* 0007C 809FDCAC 2402301D */ addiu $v0, $zero, 0x301D ## $v0 = 0000301D
|
||||
/* 00080 809FDCB0 944C0F1A */ lhu $t4, 0x0F1A($v0) ## 00003F37
|
||||
.L809FDCB4:
|
||||
/* 00084 809FDCB4 2402301A */ addiu $v0, $zero, 0x301A ## $v0 = 0000301A
|
||||
/* 00088 809FDCB8 318D0008 */ andi $t5, $t4, 0x0008 ## $t5 = 00000000
|
||||
/* 0008C 809FDCBC 11A00003 */ beq $t5, $zero, .L809FDCCC
|
||||
/* 00090 809FDCC0 00000000 */ nop
|
||||
/* 00094 809FDCC4 10000001 */ beq $zero, $zero, .L809FDCCC
|
||||
/* 00098 809FDCC8 2402301B */ addiu $v0, $zero, 0x301B ## $v0 = 0000301B
|
||||
.L809FDCCC:
|
||||
/* 0009C 809FDCCC 8FBF0014 */ lw $ra, 0x0014($sp)
|
||||
/* 000A0 809FDCD0 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
|
||||
/* 000A4 809FDCD4 03E00008 */ jr $ra
|
||||
/* 000A8 809FDCD8 00000000 */ nop
|
|
@ -1,77 +0,0 @@
|
|||
.late_rodata
|
||||
glabel jtbl_809FF460
|
||||
.word L809FDDA0
|
||||
.word L809FDDA0
|
||||
.word L809FDD14
|
||||
.word L809FDDA0
|
||||
.word L809FDDA0
|
||||
.word L809FDDA0
|
||||
.word L809FDD88
|
||||
.word L809FDDA0
|
||||
.word L809FDDA0
|
||||
.word L809FDDA0
|
||||
|
||||
.text
|
||||
glabel func_809FDCDC
|
||||
/* 000AC 809FDCDC 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
|
||||
/* 000B0 809FDCE0 AFBF0014 */ sw $ra, 0x0014($sp)
|
||||
/* 000B4 809FDCE4 AFA40018 */ sw $a0, 0x0018($sp)
|
||||
/* 000B8 809FDCE8 AFA5001C */ sw $a1, 0x001C($sp)
|
||||
/* 000BC 809FDCEC 0C042F6F */ jal func_8010BDBC
|
||||
/* 000C0 809FDCF0 248420D8 */ addiu $a0, $a0, 0x20D8 ## $a0 = 000020D8
|
||||
/* 000C4 809FDCF4 2C41000A */ sltiu $at, $v0, 0x000A
|
||||
/* 000C8 809FDCF8 10200029 */ beq $at, $zero, .L809FDDA0
|
||||
/* 000CC 809FDCFC 00027080 */ sll $t6, $v0, 2
|
||||
/* 000D0 809FDD00 3C0180A0 */ lui $at, %hi(jtbl_809FF460) ## $at = 80A00000
|
||||
/* 000D4 809FDD04 002E0821 */ addu $at, $at, $t6
|
||||
/* 000D8 809FDD08 8C2EF460 */ lw $t6, %lo(jtbl_809FF460)($at)
|
||||
/* 000DC 809FDD0C 01C00008 */ jr $t6
|
||||
/* 000E0 809FDD10 00000000 */ nop
|
||||
glabel L809FDD14
|
||||
/* 000E4 809FDD14 8FAF001C */ lw $t7, 0x001C($sp)
|
||||
/* 000E8 809FDD18 2401301A */ addiu $at, $zero, 0x301A ## $at = 0000301A
|
||||
/* 000EC 809FDD1C 95E2010E */ lhu $v0, 0x010E($t7) ## 0000010E
|
||||
/* 000F0 809FDD20 10410009 */ beq $v0, $at, .L809FDD48
|
||||
/* 000F4 809FDD24 2401301C */ addiu $at, $zero, 0x301C ## $at = 0000301C
|
||||
/* 000F8 809FDD28 1041000E */ beq $v0, $at, .L809FDD64
|
||||
/* 000FC 809FDD2C 2401301F */ addiu $at, $zero, 0x301F ## $at = 0000301F
|
||||
/* 00100 809FDD30 1041000C */ beq $v0, $at, .L809FDD64
|
||||
/* 00104 809FDD34 24013020 */ addiu $at, $zero, 0x3020 ## $at = 00003020
|
||||
/* 00108 809FDD38 1041000C */ beq $v0, $at, .L809FDD6C
|
||||
/* 0010C 809FDD3C 00000000 */ nop
|
||||
/* 00110 809FDD40 10000018 */ beq $zero, $zero, .L809FDDA4
|
||||
/* 00114 809FDD44 00001025 */ or $v0, $zero, $zero ## $v0 = 00000000
|
||||
.L809FDD48:
|
||||
/* 00118 809FDD48 3C028016 */ lui $v0, %hi(gSaveContext)
|
||||
/* 0011C 809FDD4C 2442E660 */ addiu $v0, %lo(gSaveContext)
|
||||
/* 00120 809FDD50 94580F1A */ lhu $t8, 0x0F1A($v0) ## 8015F57A
|
||||
/* 00124 809FDD54 37190008 */ ori $t9, $t8, 0x0008 ## $t9 = 00000008
|
||||
/* 00128 809FDD58 A4590F1A */ sh $t9, 0x0F1A($v0) ## 8015F57A
|
||||
/* 0012C 809FDD5C 10000011 */ beq $zero, $zero, .L809FDDA4
|
||||
/* 00130 809FDD60 00001025 */ or $v0, $zero, $zero ## $v0 = 00000000
|
||||
.L809FDD64:
|
||||
/* 00134 809FDD64 1000000F */ beq $zero, $zero, .L809FDDA4
|
||||
/* 00138 809FDD68 24020002 */ addiu $v0, $zero, 0x0002 ## $v0 = 00000002
|
||||
.L809FDD6C:
|
||||
/* 0013C 809FDD6C 3C028016 */ lui $v0, %hi(gSaveContext)
|
||||
/* 00140 809FDD70 2442E660 */ addiu $v0, %lo(gSaveContext)
|
||||
/* 00144 809FDD74 94480ED8 */ lhu $t0, 0x0ED8($v0) ## 8015F538
|
||||
/* 00148 809FDD78 35090004 */ ori $t1, $t0, 0x0004 ## $t1 = 00000004
|
||||
/* 0014C 809FDD7C A4490ED8 */ sh $t1, 0x0ED8($v0) ## 8015F538
|
||||
/* 00150 809FDD80 10000008 */ beq $zero, $zero, .L809FDDA4
|
||||
/* 00154 809FDD84 00001025 */ or $v0, $zero, $zero ## $v0 = 00000000
|
||||
glabel L809FDD88
|
||||
/* 00158 809FDD88 0C041AF2 */ jal func_80106BC8
|
||||
/* 0015C 809FDD8C 8FA40018 */ lw $a0, 0x0018($sp)
|
||||
/* 00160 809FDD90 50400004 */ beql $v0, $zero, .L809FDDA4
|
||||
/* 00164 809FDD94 24020001 */ addiu $v0, $zero, 0x0001 ## $v0 = 00000001
|
||||
/* 00168 809FDD98 10000002 */ beq $zero, $zero, .L809FDDA4
|
||||
/* 0016C 809FDD9C 24020003 */ addiu $v0, $zero, 0x0003 ## $v0 = 00000003
|
||||
glabel L809FDDA0
|
||||
.L809FDDA0:
|
||||
/* 00170 809FDDA0 24020001 */ addiu $v0, $zero, 0x0001 ## $v0 = 00000001
|
||||
.L809FDDA4:
|
||||
/* 00174 809FDDA4 8FBF0014 */ lw $ra, 0x0014($sp)
|
||||
/* 00178 809FDDA8 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
|
||||
/* 0017C 809FDDAC 03E00008 */ jr $ra
|
||||
/* 00180 809FDDB0 00000000 */ nop
|
|
@ -1,32 +0,0 @@
|
|||
glabel func_809FDDB4
|
||||
/* 00184 809FDDB4 AFA40000 */ sw $a0, 0x0000($sp)
|
||||
/* 00188 809FDDB8 84A200A4 */ lh $v0, 0x00A4($a1) ## 000000A4
|
||||
/* 0018C 809FDDBC 24010062 */ addiu $at, $zero, 0x0062 ## $at = 00000062
|
||||
/* 00190 809FDDC0 3C038016 */ lui $v1, %hi(gSaveContext)
|
||||
/* 00194 809FDDC4 14410007 */ bne $v0, $at, .L809FDDE4
|
||||
/* 00198 809FDDC8 2463E660 */ addiu $v1, %lo(gSaveContext)
|
||||
/* 0019C 809FDDCC 8C6E0004 */ lw $t6, 0x0004($v1) ## 8015E664
|
||||
/* 001A0 809FDDD0 24010001 */ addiu $at, $zero, 0x0001 ## $at = 00000001
|
||||
/* 001A4 809FDDD4 15C10003 */ bne $t6, $at, .L809FDDE4
|
||||
/* 001A8 809FDDD8 00000000 */ nop
|
||||
/* 001AC 809FDDDC 03E00008 */ jr $ra
|
||||
/* 001B0 809FDDE0 24020001 */ addiu $v0, $zero, 0x0001 ## $v0 = 00000001
|
||||
.L809FDDE4:
|
||||
/* 001B4 809FDDE4 3C038016 */ lui $v1, %hi(gSaveContext)
|
||||
/* 001B8 809FDDE8 24010004 */ addiu $at, $zero, 0x0004 ## $at = 00000004
|
||||
/* 001BC 809FDDEC 1441000A */ bne $v0, $at, .L809FDE18
|
||||
/* 001C0 809FDDF0 2463E660 */ addiu $v1, %lo(gSaveContext)
|
||||
/* 001C4 809FDDF4 946F0F1A */ lhu $t7, 0x0F1A($v1) ## 8015F57A
|
||||
/* 001C8 809FDDF8 31F80400 */ andi $t8, $t7, 0x0400 ## $t8 = 00000000
|
||||
/* 001CC 809FDDFC 57000007 */ bnel $t8, $zero, .L809FDE1C
|
||||
/* 001D0 809FDE00 00001025 */ or $v0, $zero, $zero ## $v0 = 00000000
|
||||
/* 001D4 809FDE04 8C790004 */ lw $t9, 0x0004($v1) ## 8015E664
|
||||
/* 001D8 809FDE08 57200004 */ bnel $t9, $zero, .L809FDE1C
|
||||
/* 001DC 809FDE0C 00001025 */ or $v0, $zero, $zero ## $v0 = 00000000
|
||||
/* 001E0 809FDE10 03E00008 */ jr $ra
|
||||
/* 001E4 809FDE14 24020001 */ addiu $v0, $zero, 0x0001 ## $v0 = 00000001
|
||||
.L809FDE18:
|
||||
/* 001E8 809FDE18 00001025 */ or $v0, $zero, $zero ## $v0 = 00000000
|
||||
.L809FDE1C:
|
||||
/* 001EC 809FDE1C 03E00008 */ jr $ra
|
||||
/* 001F0 809FDE20 00000000 */ nop
|
|
@ -1,33 +0,0 @@
|
|||
glabel func_809FDE24
|
||||
/* 001F4 809FDE24 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
|
||||
/* 001F8 809FDE28 AFBF0014 */ sw $ra, 0x0014($sp)
|
||||
/* 001FC 809FDE2C 848E01F4 */ lh $t6, 0x01F4($a0) ## 000001F4
|
||||
/* 00200 809FDE30 8CA21C44 */ lw $v0, 0x1C44($a1) ## 00001C44
|
||||
/* 00204 809FDE34 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
|
||||
/* 00208 809FDE38 55C00003 */ bnel $t6, $zero, .L809FDE48
|
||||
/* 0020C 809FDE3C 8C980190 */ lw $t8, 0x0190($a0) ## 00000190
|
||||
/* 00210 809FDE40 24070001 */ addiu $a3, $zero, 0x0001 ## $a3 = 00000001
|
||||
/* 00214 809FDE44 8C980190 */ lw $t8, 0x0190($a0) ## 00000190
|
||||
.L809FDE48:
|
||||
/* 00218 809FDE48 3C0F80A0 */ lui $t7, %hi(func_809FE890) ## $t7 = 80A00000
|
||||
/* 0021C 809FDE4C 25EFE890 */ addiu $t7, $t7, %lo(func_809FE890) ## $t7 = 809FE890
|
||||
/* 00220 809FDE50 55F80003 */ bnel $t7, $t8, .L809FDE60
|
||||
/* 00224 809FDE54 8C480024 */ lw $t0, 0x0024($v0) ## 00000024
|
||||
/* 00228 809FDE58 24070001 */ addiu $a3, $zero, 0x0001 ## $a3 = 00000001
|
||||
/* 0022C 809FDE5C 8C480024 */ lw $t0, 0x0024($v0) ## 00000024
|
||||
.L809FDE60:
|
||||
/* 00230 809FDE60 3C014120 */ lui $at, 0x4120 ## $at = 41200000
|
||||
/* 00234 809FDE64 44812000 */ mtc1 $at, $f4 ## $f4 = 10.00
|
||||
/* 00238 809FDE68 AC88020C */ sw $t0, 0x020C($a0) ## 0000020C
|
||||
/* 0023C 809FDE6C 8C590028 */ lw $t9, 0x0028($v0) ## 00000028
|
||||
/* 00240 809FDE70 248501F4 */ addiu $a1, $a0, 0x01F4 ## $a1 = 000001F4
|
||||
/* 00244 809FDE74 24060003 */ addiu $a2, $zero, 0x0003 ## $a2 = 00000003
|
||||
/* 00248 809FDE78 AC990210 */ sw $t9, 0x0210($a0) ## 00000210
|
||||
/* 0024C 809FDE7C 8C48002C */ lw $t0, 0x002C($v0) ## 0000002C
|
||||
/* 00250 809FDE80 E4840208 */ swc1 $f4, 0x0208($a0) ## 00000208
|
||||
/* 00254 809FDE84 0C00D285 */ jal func_80034A14
|
||||
/* 00258 809FDE88 AC880214 */ sw $t0, 0x0214($a0) ## 00000214
|
||||
/* 0025C 809FDE8C 8FBF0014 */ lw $ra, 0x0014($sp)
|
||||
/* 00260 809FDE90 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
|
||||
/* 00264 809FDE94 03E00008 */ jr $ra
|
||||
/* 00268 809FDE98 00000000 */ nop
|
|
@ -1,90 +0,0 @@
|
|||
glabel func_809FDE9C
|
||||
/* 0026C 809FDE9C 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
|
||||
/* 00270 809FDEA0 AFBF0014 */ sw $ra, 0x0014($sp)
|
||||
/* 00274 809FDEA4 848301F2 */ lh $v1, 0x01F2($a0) ## 000001F2
|
||||
/* 00278 809FDEA8 00803025 */ or $a2, $a0, $zero ## $a2 = 00000000
|
||||
/* 0027C 809FDEAC 18600003 */ blez $v1, .L809FDEBC
|
||||
/* 00280 809FDEB0 246EFFFF */ addiu $t6, $v1, 0xFFFF ## $t6 = FFFFFFFF
|
||||
/* 00284 809FDEB4 10000002 */ beq $zero, $zero, .L809FDEC0
|
||||
/* 00288 809FDEB8 A48E01F2 */ sh $t6, 0x01F2($a0) ## 000001F2
|
||||
.L809FDEBC:
|
||||
/* 0028C 809FDEBC A4C001F2 */ sh $zero, 0x01F2($a2) ## 000001F2
|
||||
.L809FDEC0:
|
||||
/* 00290 809FDEC0 84C301F2 */ lh $v1, 0x01F2($a2) ## 000001F2
|
||||
/* 00294 809FDEC4 24040001 */ addiu $a0, $zero, 0x0001 ## $a0 = 00000001
|
||||
/* 00298 809FDEC8 28610003 */ slti $at, $v1, 0x0003
|
||||
/* 0029C 809FDECC 50200003 */ beql $at, $zero, .L809FDEDC
|
||||
/* 002A0 809FDED0 90C201EC */ lbu $v0, 0x01EC($a2) ## 000001EC
|
||||
/* 002A4 809FDED4 A0C301EF */ sb $v1, 0x01EF($a2) ## 000001EF
|
||||
/* 002A8 809FDED8 90C201EC */ lbu $v0, 0x01EC($a2) ## 000001EC
|
||||
.L809FDEDC:
|
||||
/* 002AC 809FDEDC 10400009 */ beq $v0, $zero, .L809FDF04
|
||||
/* 002B0 809FDEE0 00000000 */ nop
|
||||
/* 002B4 809FDEE4 10440010 */ beq $v0, $a0, .L809FDF28
|
||||
/* 002B8 809FDEE8 24010002 */ addiu $at, $zero, 0x0002 ## $at = 00000002
|
||||
/* 002BC 809FDEEC 10410012 */ beq $v0, $at, .L809FDF38
|
||||
/* 002C0 809FDEF0 24010003 */ addiu $at, $zero, 0x0003 ## $at = 00000003
|
||||
/* 002C4 809FDEF4 10410014 */ beq $v0, $at, .L809FDF48
|
||||
/* 002C8 809FDEF8 00000000 */ nop
|
||||
/* 002CC 809FDEFC 10000016 */ beq $zero, $zero, .L809FDF58
|
||||
/* 002D0 809FDF00 90C201ED */ lbu $v0, 0x01ED($a2) ## 000001ED
|
||||
.L809FDF04:
|
||||
/* 002D4 809FDF04 14600006 */ bne $v1, $zero, .L809FDF20
|
||||
/* 002D8 809FDF08 2404001E */ addiu $a0, $zero, 0x001E ## $a0 = 0000001E
|
||||
/* 002DC 809FDF0C 2405001E */ addiu $a1, $zero, 0x001E ## $a1 = 0000001E
|
||||
/* 002E0 809FDF10 0C01DF64 */ jal Rand_S16Offset
|
||||
|
||||
/* 002E4 809FDF14 AFA60018 */ sw $a2, 0x0018($sp)
|
||||
/* 002E8 809FDF18 8FA60018 */ lw $a2, 0x0018($sp)
|
||||
/* 002EC 809FDF1C A4C201F2 */ sh $v0, 0x01F2($a2) ## 000001F2
|
||||
.L809FDF20:
|
||||
/* 002F0 809FDF20 1000000C */ beq $zero, $zero, .L809FDF54
|
||||
/* 002F4 809FDF24 24040001 */ addiu $a0, $zero, 0x0001 ## $a0 = 00000001
|
||||
.L809FDF28:
|
||||
/* 002F8 809FDF28 1460000A */ bne $v1, $zero, .L809FDF54
|
||||
/* 002FC 809FDF2C 240F0002 */ addiu $t7, $zero, 0x0002 ## $t7 = 00000002
|
||||
/* 00300 809FDF30 10000008 */ beq $zero, $zero, .L809FDF54
|
||||
/* 00304 809FDF34 A0CF01EF */ sb $t7, 0x01EF($a2) ## 000001EF
|
||||
.L809FDF38:
|
||||
/* 00308 809FDF38 14600006 */ bne $v1, $zero, .L809FDF54
|
||||
/* 0030C 809FDF3C 24180002 */ addiu $t8, $zero, 0x0002 ## $t8 = 00000002
|
||||
/* 00310 809FDF40 10000004 */ beq $zero, $zero, .L809FDF54
|
||||
/* 00314 809FDF44 A0D801EF */ sb $t8, 0x01EF($a2) ## 000001EF
|
||||
.L809FDF48:
|
||||
/* 00318 809FDF48 54600003 */ bnel $v1, $zero, .L809FDF58
|
||||
/* 0031C 809FDF4C 90C201ED */ lbu $v0, 0x01ED($a2) ## 000001ED
|
||||
/* 00320 809FDF50 A0C001EF */ sb $zero, 0x01EF($a2) ## 000001EF
|
||||
.L809FDF54:
|
||||
/* 00324 809FDF54 90C201ED */ lbu $v0, 0x01ED($a2) ## 000001ED
|
||||
.L809FDF58:
|
||||
/* 00328 809FDF58 24010002 */ addiu $at, $zero, 0x0002 ## $at = 00000002
|
||||
/* 0032C 809FDF5C 24190001 */ addiu $t9, $zero, 0x0001 ## $t9 = 00000001
|
||||
/* 00330 809FDF60 10440008 */ beq $v0, $a0, .L809FDF84
|
||||
/* 00334 809FDF64 240B0001 */ addiu $t3, $zero, 0x0001 ## $t3 = 00000001
|
||||
/* 00338 809FDF68 10410008 */ beq $v0, $at, .L809FDF8C
|
||||
/* 0033C 809FDF6C 24080002 */ addiu $t0, $zero, 0x0002 ## $t0 = 00000002
|
||||
/* 00340 809FDF70 24010003 */ addiu $at, $zero, 0x0003 ## $at = 00000003
|
||||
/* 00344 809FDF74 10410007 */ beq $v0, $at, .L809FDF94
|
||||
/* 00348 809FDF78 24090003 */ addiu $t1, $zero, 0x0003 ## $t1 = 00000003
|
||||
/* 0034C 809FDF7C 10000006 */ beq $zero, $zero, .L809FDF98
|
||||
/* 00350 809FDF80 A0C001F0 */ sb $zero, 0x01F0($a2) ## 000001F0
|
||||
.L809FDF84:
|
||||
/* 00354 809FDF84 10000004 */ beq $zero, $zero, .L809FDF98
|
||||
/* 00358 809FDF88 A0D901F0 */ sb $t9, 0x01F0($a2) ## 000001F0
|
||||
.L809FDF8C:
|
||||
/* 0035C 809FDF8C 10000002 */ beq $zero, $zero, .L809FDF98
|
||||
/* 00360 809FDF90 A0C801F0 */ sb $t0, 0x01F0($a2) ## 000001F0
|
||||
.L809FDF94:
|
||||
/* 00364 809FDF94 A0C901F0 */ sb $t1, 0x01F0($a2) ## 000001F0
|
||||
.L809FDF98:
|
||||
/* 00368 809FDF98 90CA01EE */ lbu $t2, 0x01EE($a2) ## 000001EE
|
||||
/* 0036C 809FDF9C 548A0004 */ bnel $a0, $t2, .L809FDFB0
|
||||
/* 00370 809FDFA0 A0C001F1 */ sb $zero, 0x01F1($a2) ## 000001F1
|
||||
/* 00374 809FDFA4 10000002 */ beq $zero, $zero, .L809FDFB0
|
||||
/* 00378 809FDFA8 A0CB01F1 */ sb $t3, 0x01F1($a2) ## 000001F1
|
||||
/* 0037C 809FDFAC A0C001F1 */ sb $zero, 0x01F1($a2) ## 000001F1
|
||||
.L809FDFB0:
|
||||
/* 00380 809FDFB0 8FBF0014 */ lw $ra, 0x0014($sp)
|
||||
/* 00384 809FDFB4 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
|
||||
/* 00388 809FDFB8 03E00008 */ jr $ra
|
||||
/* 0038C 809FDFBC 00000000 */ nop
|
|
@ -1,17 +0,0 @@
|
|||
glabel func_809FDFC0
|
||||
/* 00390 809FDFC0 8C8E000C */ lw $t6, 0x000C($a0) ## 0000000C
|
||||
/* 00394 809FDFC4 448E2000 */ mtc1 $t6, $f4 ## $f4 = 0.00
|
||||
/* 00398 809FDFC8 00000000 */ nop
|
||||
/* 0039C 809FDFCC 468021A0 */ cvt.s.w $f6, $f4
|
||||
/* 003A0 809FDFD0 E4A60000 */ swc1 $f6, 0x0000($a1) ## 00000000
|
||||
/* 003A4 809FDFD4 8C8F0010 */ lw $t7, 0x0010($a0) ## 00000010
|
||||
/* 003A8 809FDFD8 448F4000 */ mtc1 $t7, $f8 ## $f8 = 0.00
|
||||
/* 003AC 809FDFDC 00000000 */ nop
|
||||
/* 003B0 809FDFE0 468042A0 */ cvt.s.w $f10, $f8
|
||||
/* 003B4 809FDFE4 E4AA0004 */ swc1 $f10, 0x0004($a1) ## 00000004
|
||||
/* 003B8 809FDFE8 8C980014 */ lw $t8, 0x0014($a0) ## 00000014
|
||||
/* 003BC 809FDFEC 44988000 */ mtc1 $t8, $f16 ## $f16 = 0.00
|
||||
/* 003C0 809FDFF0 00000000 */ nop
|
||||
/* 003C4 809FDFF4 468084A0 */ cvt.s.w $f18, $f16
|
||||
/* 003C8 809FDFF8 03E00008 */ jr $ra
|
||||
/* 003CC 809FDFFC E4B20008 */ swc1 $f18, 0x0008($a1) ## 00000008
|
|
@ -1,17 +0,0 @@
|
|||
glabel func_809FE000
|
||||
/* 003D0 809FE000 8C8E0018 */ lw $t6, 0x0018($a0) ## 00000018
|
||||
/* 003D4 809FE004 448E2000 */ mtc1 $t6, $f4 ## $f4 = 0.00
|
||||
/* 003D8 809FE008 00000000 */ nop
|
||||
/* 003DC 809FE00C 468021A0 */ cvt.s.w $f6, $f4
|
||||
/* 003E0 809FE010 E4A60000 */ swc1 $f6, 0x0000($a1) ## 00000000
|
||||
/* 003E4 809FE014 8C8F001C */ lw $t7, 0x001C($a0) ## 0000001C
|
||||
/* 003E8 809FE018 448F4000 */ mtc1 $t7, $f8 ## $f8 = 0.00
|
||||
/* 003EC 809FE01C 00000000 */ nop
|
||||
/* 003F0 809FE020 468042A0 */ cvt.s.w $f10, $f8
|
||||
/* 003F4 809FE024 E4AA0004 */ swc1 $f10, 0x0004($a1) ## 00000004
|
||||
/* 003F8 809FE028 8C980020 */ lw $t8, 0x0020($a0) ## 00000020
|
||||
/* 003FC 809FE02C 44988000 */ mtc1 $t8, $f16 ## $f16 = 0.00
|
||||
/* 00400 809FE030 00000000 */ nop
|
||||
/* 00404 809FE034 468084A0 */ cvt.s.w $f18, $f16
|
||||
/* 00408 809FE038 03E00008 */ jr $ra
|
||||
/* 0040C 809FE03C E4B20008 */ swc1 $f18, 0x0008($a1) ## 00000008
|
|
@ -1,52 +0,0 @@
|
|||
glabel func_809FE040
|
||||
/* 00410 809FE040 27BDFFC0 */ addiu $sp, $sp, 0xFFC0 ## $sp = FFFFFFC0
|
||||
/* 00414 809FE044 3C0F80A0 */ lui $t7, %hi(D_809FF3D0) ## $t7 = 80A00000
|
||||
/* 00418 809FE048 AFBF0014 */ sw $ra, 0x0014($sp)
|
||||
/* 0041C 809FE04C 25EFF3D0 */ addiu $t7, $t7, %lo(D_809FF3D0) ## $t7 = 809FF3D0
|
||||
/* 00420 809FE050 8DF90000 */ lw $t9, 0x0000($t7) ## 809FF3D0
|
||||
/* 00424 809FE054 8DF80004 */ lw $t8, 0x0004($t7) ## 809FF3D4
|
||||
/* 00428 809FE058 27AE0020 */ addiu $t6, $sp, 0x0020 ## $t6 = FFFFFFE0
|
||||
/* 0042C 809FE05C ADD90000 */ sw $t9, 0x0000($t6) ## FFFFFFE0
|
||||
/* 00430 809FE060 ADD80004 */ sw $t8, 0x0004($t6) ## FFFFFFE4
|
||||
/* 00434 809FE064 8DF8000C */ lw $t8, 0x000C($t7) ## 809FF3DC
|
||||
/* 00438 809FE068 8DF90008 */ lw $t9, 0x0008($t7) ## 809FF3D8
|
||||
/* 0043C 809FE06C 00803025 */ or $a2, $a0, $zero ## $a2 = 00000000
|
||||
/* 00440 809FE070 ADD8000C */ sw $t8, 0x000C($t6) ## FFFFFFEC
|
||||
/* 00444 809FE074 ADD90008 */ sw $t9, 0x0008($t6) ## FFFFFFE8
|
||||
/* 00448 809FE078 8DF90010 */ lw $t9, 0x0010($t7) ## 809FF3E0
|
||||
/* 0044C 809FE07C 8DF80014 */ lw $t8, 0x0014($t7) ## 809FF3E4
|
||||
/* 00450 809FE080 2484014C */ addiu $a0, $a0, 0x014C ## $a0 = 0000014C
|
||||
/* 00454 809FE084 ADD90010 */ sw $t9, 0x0010($t6) ## FFFFFFF0
|
||||
/* 00458 809FE088 ADD80014 */ sw $t8, 0x0014($t6) ## FFFFFFF4
|
||||
/* 0045C 809FE08C 8DF8001C */ lw $t8, 0x001C($t7) ## 809FF3EC
|
||||
/* 00460 809FE090 8DF90018 */ lw $t9, 0x0018($t7) ## 809FF3E8
|
||||
/* 00464 809FE094 ADD8001C */ sw $t8, 0x001C($t6) ## FFFFFFFC
|
||||
/* 00468 809FE098 ADD90018 */ sw $t9, 0x0018($t6) ## FFFFFFF8
|
||||
/* 0046C 809FE09C 8CC5015C */ lw $a1, 0x015C($a2) ## 0000015C
|
||||
/* 00470 809FE0A0 AFA60040 */ sw $a2, 0x0040($sp)
|
||||
/* 00474 809FE0A4 0C0295B2 */ jal Animation_OnFrame
|
||||
/* 00478 809FE0A8 AFA4001C */ sw $a0, 0x001C($sp)
|
||||
/* 0047C 809FE0AC 8FA4001C */ lw $a0, 0x001C($sp)
|
||||
/* 00480 809FE0B0 10400010 */ beq $v0, $zero, .L809FE0F4
|
||||
/* 00484 809FE0B4 8FA60040 */ lw $a2, 0x0040($sp)
|
||||
/* 00488 809FE0B8 84C801E6 */ lh $t0, 0x01E6($a2) ## 000001E6
|
||||
/* 0048C 809FE0BC 3C0580A0 */ lui $a1, %hi(D_809FF268) ## $a1 = 80A00000
|
||||
/* 00490 809FE0C0 24A5F268 */ addiu $a1, $a1, %lo(D_809FF268) ## $a1 = 809FF268
|
||||
/* 00494 809FE0C4 25090001 */ addiu $t1, $t0, 0x0001 ## $t1 = 00000001
|
||||
/* 00498 809FE0C8 A4C901E6 */ sh $t1, 0x01E6($a2) ## 000001E6
|
||||
/* 0049C 809FE0CC 84C201E6 */ lh $v0, 0x01E6($a2) ## 000001E6
|
||||
/* 004A0 809FE0D0 28410008 */ slti $at, $v0, 0x0008
|
||||
/* 004A4 809FE0D4 54200004 */ bnel $at, $zero, .L809FE0E8
|
||||
/* 004A8 809FE0D8 00025080 */ sll $t2, $v0, 2
|
||||
/* 004AC 809FE0DC A4C001E6 */ sh $zero, 0x01E6($a2) ## 000001E6
|
||||
/* 004B0 809FE0E0 84C201E6 */ lh $v0, 0x01E6($a2) ## 000001E6
|
||||
/* 004B4 809FE0E4 00025080 */ sll $t2, $v0, 2
|
||||
.L809FE0E8:
|
||||
/* 004B8 809FE0E8 03AA3021 */ addu $a2, $sp, $t2
|
||||
/* 004BC 809FE0EC 0C00D3B0 */ jal func_80034EC0
|
||||
/* 004C0 809FE0F0 8CC60020 */ lw $a2, 0x0020($a2) ## 00000020
|
||||
.L809FE0F4:
|
||||
/* 004C4 809FE0F4 8FBF0014 */ lw $ra, 0x0014($sp)
|
||||
/* 004C8 809FE0F8 27BD0040 */ addiu $sp, $sp, 0x0040 ## $sp = 00000000
|
||||
/* 004CC 809FE0FC 03E00008 */ jr $ra
|
||||
/* 004D0 809FE100 00000000 */ nop
|
|
@ -1,45 +0,0 @@
|
|||
glabel func_809FE104
|
||||
/* 004D4 809FE104 27BDFFD0 */ addiu $sp, $sp, 0xFFD0 ## $sp = FFFFFFD0
|
||||
/* 004D8 809FE108 3C0F80A0 */ lui $t7, %hi(D_809FF3F0) ## $t7 = 80A00000
|
||||
/* 004DC 809FE10C AFBF0014 */ sw $ra, 0x0014($sp)
|
||||
/* 004E0 809FE110 25EFF3F0 */ addiu $t7, $t7, %lo(D_809FF3F0) ## $t7 = 809FF3F0
|
||||
/* 004E4 809FE114 8DF90000 */ lw $t9, 0x0000($t7) ## 809FF3F0
|
||||
/* 004E8 809FE118 8DF80004 */ lw $t8, 0x0004($t7) ## 809FF3F4
|
||||
/* 004EC 809FE11C 27AE0020 */ addiu $t6, $sp, 0x0020 ## $t6 = FFFFFFF0
|
||||
/* 004F0 809FE120 ADD90000 */ sw $t9, 0x0000($t6) ## FFFFFFF0
|
||||
/* 004F4 809FE124 ADD80004 */ sw $t8, 0x0004($t6) ## FFFFFFF4
|
||||
/* 004F8 809FE128 8DF8000C */ lw $t8, 0x000C($t7) ## 809FF3FC
|
||||
/* 004FC 809FE12C 8DF90008 */ lw $t9, 0x0008($t7) ## 809FF3F8
|
||||
/* 00500 809FE130 00803025 */ or $a2, $a0, $zero ## $a2 = 00000000
|
||||
/* 00504 809FE134 ADD8000C */ sw $t8, 0x000C($t6) ## FFFFFFFC
|
||||
/* 00508 809FE138 ADD90008 */ sw $t9, 0x0008($t6) ## FFFFFFF8
|
||||
/* 0050C 809FE13C 848801E6 */ lh $t0, 0x01E6($a0) ## 000001E6
|
||||
/* 00510 809FE140 2484014C */ addiu $a0, $a0, 0x014C ## $a0 = 0000014C
|
||||
/* 00514 809FE144 29010004 */ slti $at, $t0, 0x0004
|
||||
/* 00518 809FE148 50200015 */ beql $at, $zero, .L809FE1A0
|
||||
/* 0051C 809FE14C 8FBF0014 */ lw $ra, 0x0014($sp)
|
||||
/* 00520 809FE150 8CC5015C */ lw $a1, 0x015C($a2) ## 0000015C
|
||||
/* 00524 809FE154 AFA60030 */ sw $a2, 0x0030($sp)
|
||||
/* 00528 809FE158 0C0295B2 */ jal Animation_OnFrame
|
||||
/* 0052C 809FE15C AFA40018 */ sw $a0, 0x0018($sp)
|
||||
/* 00530 809FE160 8FA40018 */ lw $a0, 0x0018($sp)
|
||||
/* 00534 809FE164 1040000D */ beq $v0, $zero, .L809FE19C
|
||||
/* 00538 809FE168 8FA60030 */ lw $a2, 0x0030($sp)
|
||||
/* 0053C 809FE16C 84C901E6 */ lh $t1, 0x01E6($a2) ## 000001E6
|
||||
/* 00540 809FE170 3C0580A0 */ lui $a1, %hi(D_809FF268) ## $a1 = 80A00000
|
||||
/* 00544 809FE174 24A5F268 */ addiu $a1, $a1, %lo(D_809FF268) ## $a1 = 809FF268
|
||||
/* 00548 809FE178 252A0001 */ addiu $t2, $t1, 0x0001 ## $t2 = 00000001
|
||||
/* 0054C 809FE17C A4CA01E6 */ sh $t2, 0x01E6($a2) ## 000001E6
|
||||
/* 00550 809FE180 84C201E6 */ lh $v0, 0x01E6($a2) ## 000001E6
|
||||
/* 00554 809FE184 28410004 */ slti $at, $v0, 0x0004
|
||||
/* 00558 809FE188 10200004 */ beq $at, $zero, .L809FE19C
|
||||
/* 0055C 809FE18C 00025880 */ sll $t3, $v0, 2
|
||||
/* 00560 809FE190 03AB3021 */ addu $a2, $sp, $t3
|
||||
/* 00564 809FE194 0C00D3B0 */ jal func_80034EC0
|
||||
/* 00568 809FE198 8CC60020 */ lw $a2, 0x0020($a2) ## 00000020
|
||||
.L809FE19C:
|
||||
/* 0056C 809FE19C 8FBF0014 */ lw $ra, 0x0014($sp)
|
||||
.L809FE1A0:
|
||||
/* 00570 809FE1A0 27BD0030 */ addiu $sp, $sp, 0x0030 ## $sp = 00000000
|
||||
/* 00574 809FE1A4 03E00008 */ jr $ra
|
||||
/* 00578 809FE1A8 00000000 */ nop
|
|
@ -1,4 +0,0 @@
|
|||
glabel func_809FE3B4
|
||||
/* 00784 809FE3B4 AFA40000 */ sw $a0, 0x0000($sp)
|
||||
/* 00788 809FE3B8 03E00008 */ jr $ra
|
||||
/* 0078C 809FE3BC AFA50004 */ sw $a1, 0x0004($sp)
|
|
@ -1,61 +0,0 @@
|
|||
glabel func_809FE3C0
|
||||
/* 00790 809FE3C0 27BDFFE0 */ addiu $sp, $sp, 0xFFE0 ## $sp = FFFFFFE0
|
||||
/* 00794 809FE3C4 AFBF0014 */ sw $ra, 0x0014($sp)
|
||||
/* 00798 809FE3C8 AFA50024 */ sw $a1, 0x0024($sp)
|
||||
/* 0079C 809FE3CC 8CA21C44 */ lw $v0, 0x1C44($a1) ## 00001C44
|
||||
/* 007A0 809FE3D0 00803825 */ or $a3, $a0, $zero ## $a3 = 00000000
|
||||
/* 007A4 809FE3D4 00A02025 */ or $a0, $a1, $zero ## $a0 = 00000000
|
||||
/* 007A8 809FE3D8 8C4F0680 */ lw $t7, 0x0680($v0) ## 00000680
|
||||
/* 007AC 809FE3DC 24050022 */ addiu $a1, $zero, 0x0022 ## $a1 = 00000022
|
||||
/* 007B0 809FE3E0 000FC1C0 */ sll $t8, $t7, 7
|
||||
/* 007B4 809FE3E4 07030011 */ bgezl $t8, .L809FE42C
|
||||
/* 007B8 809FE3E8 84E901F4 */ lh $t1, 0x01F4($a3) ## 000001F4
|
||||
/* 007BC 809FE3EC AFA2001C */ sw $v0, 0x001C($sp)
|
||||
/* 007C0 809FE3F0 0C042F62 */ jal func_8010BD88
|
||||
/* 007C4 809FE3F4 AFA70020 */ sw $a3, 0x0020($sp)
|
||||
/* 007C8 809FE3F8 8FA2001C */ lw $v0, 0x001C($sp)
|
||||
/* 007CC 809FE3FC 8FA40020 */ lw $a0, 0x0020($sp)
|
||||
/* 007D0 809FE400 3C010200 */ lui $at, 0x0200 ## $at = 02000000
|
||||
/* 007D4 809FE404 8C590680 */ lw $t9, 0x0680($v0) ## 00000680
|
||||
/* 007D8 809FE408 3C0580A0 */ lui $a1, %hi(func_809FE4A4) ## $a1 = 80A00000
|
||||
/* 007DC 809FE40C 24A5E4A4 */ addiu $a1, $a1, %lo(func_809FE4A4) ## $a1 = 809FE4A4
|
||||
/* 007E0 809FE410 03214025 */ or $t0, $t9, $at ## $t0 = 02000000
|
||||
/* 007E4 809FE414 AC480680 */ sw $t0, 0x0680($v0) ## 00000680
|
||||
/* 007E8 809FE418 0C27F70C */ jal func_809FDC30
|
||||
/* 007EC 809FE41C AC4406A8 */ sw $a0, 0x06A8($v0) ## 000006A8
|
||||
/* 007F0 809FE420 1000001D */ beq $zero, $zero, .L809FE498
|
||||
/* 007F4 809FE424 8FBF0014 */ lw $ra, 0x0014($sp)
|
||||
/* 007F8 809FE428 84E901F4 */ lh $t1, 0x01F4($a3) ## 000001F4
|
||||
.L809FE42C:
|
||||
/* 007FC 809FE42C 24010002 */ addiu $at, $zero, 0x0002 ## $at = 00000002
|
||||
/* 00800 809FE430 8FA40024 */ lw $a0, 0x0024($sp)
|
||||
/* 00804 809FE434 15210008 */ bne $t1, $at, .L809FE458
|
||||
/* 00808 809FE438 00E02825 */ or $a1, $a3, $zero ## $a1 = 00000000
|
||||
/* 0080C 809FE43C 24060007 */ addiu $a2, $zero, 0x0007 ## $a2 = 00000007
|
||||
/* 00810 809FE440 AFA2001C */ sw $v0, 0x001C($sp)
|
||||
/* 00814 809FE444 0C00B7D5 */ jal func_8002DF54
|
||||
/* 00818 809FE448 AFA70020 */ sw $a3, 0x0020($sp)
|
||||
/* 0081C 809FE44C 8FA70020 */ lw $a3, 0x0020($sp)
|
||||
/* 00820 809FE450 8FA2001C */ lw $v0, 0x001C($sp)
|
||||
/* 00824 809FE454 A4E001F4 */ sh $zero, 0x01F4($a3) ## 000001F4
|
||||
.L809FE458:
|
||||
/* 00828 809FE458 84EA01D4 */ lh $t2, 0x01D4($a3) ## 000001D4
|
||||
/* 0082C 809FE45C 3C0142E8 */ lui $at, 0x42E8 ## $at = 42E80000
|
||||
/* 00830 809FE460 44813000 */ mtc1 $at, $f6 ## $f6 = 116.00
|
||||
/* 00834 809FE464 448A4000 */ mtc1 $t2, $f8 ## $f8 = 0.00
|
||||
/* 00838 809FE468 C4E40090 */ lwc1 $f4, 0x0090($a3) ## 00000090
|
||||
/* 0083C 809FE46C 468042A0 */ cvt.s.w $f10, $f8
|
||||
/* 00840 809FE470 460A3400 */ add.s $f16, $f6, $f10
|
||||
/* 00844 809FE474 4610203C */ c.lt.s $f4, $f16
|
||||
/* 00848 809FE478 00000000 */ nop
|
||||
/* 0084C 809FE47C 45020006 */ bc1fl .L809FE498
|
||||
/* 00850 809FE480 8FBF0014 */ lw $ra, 0x0014($sp)
|
||||
/* 00854 809FE484 8C4B0680 */ lw $t3, 0x0680($v0) ## 00000680
|
||||
/* 00858 809FE488 3C010080 */ lui $at, 0x0080 ## $at = 00800000
|
||||
/* 0085C 809FE48C 01616025 */ or $t4, $t3, $at ## $t4 = 00800000
|
||||
/* 00860 809FE490 AC4C0680 */ sw $t4, 0x0680($v0) ## 00000680
|
||||
/* 00864 809FE494 8FBF0014 */ lw $ra, 0x0014($sp)
|
||||
.L809FE498:
|
||||
/* 00868 809FE498 27BD0020 */ addiu $sp, $sp, 0x0020 ## $sp = 00000000
|
||||
/* 0086C 809FE49C 03E00008 */ jr $ra
|
||||
/* 00870 809FE4A0 00000000 */ nop
|
|
@ -1,108 +0,0 @@
|
|||
glabel func_809FE4A4
|
||||
/* 00874 809FE4A4 27BDFFD8 */ addiu $sp, $sp, 0xFFD8 ## $sp = FFFFFFD8
|
||||
/* 00878 809FE4A8 3C020001 */ lui $v0, 0x0001 ## $v0 = 00010000
|
||||
/* 0087C 809FE4AC AFBF0024 */ sw $ra, 0x0024($sp)
|
||||
/* 00880 809FE4B0 AFB10020 */ sw $s1, 0x0020($sp)
|
||||
/* 00884 809FE4B4 AFB0001C */ sw $s0, 0x001C($sp)
|
||||
/* 00888 809FE4B8 00451021 */ addu $v0, $v0, $a1
|
||||
/* 0088C 809FE4BC 944204C6 */ lhu $v0, 0x04C6($v0) ## 000104C6
|
||||
/* 00890 809FE4C0 24010004 */ addiu $at, $zero, 0x0004 ## $at = 00000004
|
||||
/* 00894 809FE4C4 00A08025 */ or $s0, $a1, $zero ## $s0 = 00000000
|
||||
/* 00898 809FE4C8 00808825 */ or $s1, $a0, $zero ## $s1 = 00000000
|
||||
/* 0089C 809FE4CC 14410009 */ bne $v0, $at, .L809FE4F4
|
||||
/* 008A0 809FE4D0 8CA31C44 */ lw $v1, 0x1C44($a1) ## 00001C44
|
||||
/* 008A4 809FE4D4 3C010001 */ lui $at, 0x0001 ## $at = 00010000
|
||||
/* 008A8 809FE4D8 00250821 */ addu $at, $at, $a1
|
||||
/* 008AC 809FE4DC 3C0580A0 */ lui $a1, %hi(func_809FE3C0) ## $a1 = 80A00000
|
||||
/* 008B0 809FE4E0 A42004C6 */ sh $zero, 0x04C6($at) ## 000104C6
|
||||
/* 008B4 809FE4E4 0C27F70C */ jal func_809FDC30
|
||||
/* 008B8 809FE4E8 24A5E3C0 */ addiu $a1, $a1, %lo(func_809FE3C0) ## $a1 = 809FE3C0
|
||||
/* 008BC 809FE4EC 1000004E */ beq $zero, $zero, .L809FE628
|
||||
/* 008C0 809FE4F0 8FBF0024 */ lw $ra, 0x0024($sp)
|
||||
.L809FE4F4:
|
||||
/* 008C4 809FE4F4 28410006 */ slti $at, $v0, 0x0006
|
||||
/* 008C8 809FE4F8 1420001D */ bne $at, $zero, .L809FE570
|
||||
/* 008CC 809FE4FC 3C198016 */ lui $t9, %hi(gSegments)
|
||||
/* 008D0 809FE500 3C020200 */ lui $v0, %hi(D_02007DE0) ## $v0 = 02000000
|
||||
/* 008D4 809FE504 24427DE0 */ addiu $v0, $v0, %lo(D_02007DE0) ## $v0 = 02007DE0
|
||||
/* 008D8 809FE508 00027100 */ sll $t6, $v0, 4
|
||||
/* 008DC 809FE50C 000E7F02 */ srl $t7, $t6, 28
|
||||
/* 008E0 809FE510 000FC080 */ sll $t8, $t7, 2
|
||||
/* 008E4 809FE514 0338C821 */ addu $t9, $t9, $t8
|
||||
/* 008E8 809FE518 3C0100FF */ lui $at, 0x00FF ## $at = 00FF0000
|
||||
/* 008EC 809FE51C 8F396FA8 */ lw $t9, %lo(gSegments)($t9)
|
||||
/* 008F0 809FE520 3421FFFF */ ori $at, $at, 0xFFFF ## $at = 00FFFFFF
|
||||
/* 008F4 809FE524 00414024 */ and $t0, $v0, $at
|
||||
/* 008F8 809FE528 3C018000 */ lui $at, 0x8000 ## $at = 80000000
|
||||
/* 008FC 809FE52C 03284821 */ addu $t1, $t9, $t0
|
||||
/* 00900 809FE530 01215021 */ addu $t2, $t1, $at
|
||||
/* 00904 809FE534 AE0A1D68 */ sw $t2, 0x1D68($s0) ## 00001D68
|
||||
/* 00908 809FE538 3C018016 */ lui $at, %hi(gSaveContext+0x1414)
|
||||
/* 0090C 809FE53C 240B0001 */ addiu $t3, $zero, 0x0001 ## $t3 = 00000001
|
||||
/* 00910 809FE540 A02BFA74 */ sb $t3, %lo(gSaveContext+0x1414)($at)
|
||||
/* 00914 809FE544 240C0001 */ addiu $t4, $zero, 0x0001 ## $t4 = 00000001
|
||||
/* 00918 809FE548 3C0580A0 */ lui $a1, %hi(func_809FE890) ## $a1 = 80A00000
|
||||
/* 0091C 809FE54C A62C01E8 */ sh $t4, 0x01E8($s1) ## 000001E8
|
||||
/* 00920 809FE550 24A5E890 */ addiu $a1, $a1, %lo(func_809FE890) ## $a1 = 809FE890
|
||||
/* 00924 809FE554 0C27F70C */ jal func_809FDC30
|
||||
/* 00928 809FE558 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
|
||||
/* 0092C 809FE55C 3C010001 */ lui $at, 0x0001 ## $at = 00010000
|
||||
/* 00930 809FE560 00300821 */ addu $at, $at, $s0
|
||||
/* 00934 809FE564 240D0004 */ addiu $t5, $zero, 0x0004 ## $t5 = 00000004
|
||||
/* 00938 809FE568 1000002E */ beq $zero, $zero, .L809FE624
|
||||
/* 0093C 809FE56C A42D04C6 */ sh $t5, 0x04C6($at) ## 000104C6
|
||||
.L809FE570:
|
||||
/* 00940 809FE570 24010003 */ addiu $at, $zero, 0x0003 ## $at = 00000003
|
||||
/* 00944 809FE574 14410027 */ bne $v0, $at, .L809FE614
|
||||
/* 00948 809FE578 3C078013 */ lui $a3, %hi(D_801333E0)
|
||||
/* 0094C 809FE57C 3C0E8013 */ lui $t6, %hi(D_801333E8)
|
||||
/* 00950 809FE580 24E733E0 */ addiu $a3, %lo(D_801333E0)
|
||||
/* 00954 809FE584 25CE33E8 */ addiu $t6, %lo(D_801333E8)
|
||||
/* 00958 809FE588 3C058013 */ lui $a1, %hi(D_801333D4)
|
||||
/* 0095C 809FE58C 24A533D4 */ addiu $a1, %lo(D_801333D4)
|
||||
/* 00960 809FE590 AFAE0014 */ sw $t6, 0x0014($sp)
|
||||
/* 00964 809FE594 AFA70010 */ sw $a3, 0x0010($sp)
|
||||
/* 00968 809FE598 24044802 */ addiu $a0, $zero, 0x4802 ## $a0 = 00004802
|
||||
/* 0096C 809FE59C 0C03DCE3 */ jal Audio_PlaySoundGeneral
|
||||
|
||||
/* 00970 809FE5A0 24060004 */ addiu $a2, $zero, 0x0004 ## $a2 = 00000004
|
||||
/* 00974 809FE5A4 3C020200 */ lui $v0, %hi(D_020059E0) ## $v0 = 02000000
|
||||
/* 00978 809FE5A8 244259E0 */ addiu $v0, $v0, %lo(D_020059E0) ## $v0 = 020059E0
|
||||
/* 0097C 809FE5AC 00027900 */ sll $t7, $v0, 4
|
||||
/* 00980 809FE5B0 000FC702 */ srl $t8, $t7, 28
|
||||
/* 00984 809FE5B4 0018C880 */ sll $t9, $t8, 2
|
||||
/* 00988 809FE5B8 3C088016 */ lui $t0, %hi(gSegments)
|
||||
/* 0098C 809FE5BC 01194021 */ addu $t0, $t0, $t9
|
||||
/* 00990 809FE5C0 3C0100FF */ lui $at, 0x00FF ## $at = 00FF0000
|
||||
/* 00994 809FE5C4 8D086FA8 */ lw $t0, %lo(gSegments)($t0)
|
||||
/* 00998 809FE5C8 3421FFFF */ ori $at, $at, 0xFFFF ## $at = 00FFFFFF
|
||||
/* 0099C 809FE5CC 00414824 */ and $t1, $v0, $at
|
||||
/* 009A0 809FE5D0 3C018000 */ lui $at, 0x8000 ## $at = 80000000
|
||||
/* 009A4 809FE5D4 01095021 */ addu $t2, $t0, $t1
|
||||
/* 009A8 809FE5D8 01415821 */ addu $t3, $t2, $at
|
||||
/* 009AC 809FE5DC AE0B1D68 */ sw $t3, 0x1D68($s0) ## 00001D68
|
||||
/* 009B0 809FE5E0 3C018016 */ lui $at, %hi(gSaveContext+0x1414)
|
||||
/* 009B4 809FE5E4 240C0001 */ addiu $t4, $zero, 0x0001 ## $t4 = 00000001
|
||||
/* 009B8 809FE5E8 A02CFA74 */ sb $t4, %lo(gSaveContext+0x1414)($at)
|
||||
/* 009BC 809FE5EC 3C0580A0 */ lui $a1, %hi(func_809FE890) ## $a1 = 80A00000
|
||||
/* 009C0 809FE5F0 A62001E8 */ sh $zero, 0x01E8($s1) ## 000001E8
|
||||
/* 009C4 809FE5F4 24A5E890 */ addiu $a1, $a1, %lo(func_809FE890) ## $a1 = 809FE890
|
||||
/* 009C8 809FE5F8 0C27F70C */ jal func_809FDC30
|
||||
/* 009CC 809FE5FC 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
|
||||
/* 009D0 809FE600 3C010001 */ lui $at, 0x0001 ## $at = 00010000
|
||||
/* 009D4 809FE604 00300821 */ addu $at, $at, $s0
|
||||
/* 009D8 809FE608 240D0004 */ addiu $t5, $zero, 0x0004 ## $t5 = 00000004
|
||||
/* 009DC 809FE60C 10000005 */ beq $zero, $zero, .L809FE624
|
||||
/* 009E0 809FE610 A42D04C6 */ sh $t5, 0x04C6($at) ## 000104C6
|
||||
.L809FE614:
|
||||
/* 009E4 809FE614 8C6E0680 */ lw $t6, 0x0680($v1) ## 00000680
|
||||
/* 009E8 809FE618 3C010080 */ lui $at, 0x0080 ## $at = 00800000
|
||||
/* 009EC 809FE61C 01C17825 */ or $t7, $t6, $at ## $t7 = 00800000
|
||||
/* 009F0 809FE620 AC6F0680 */ sw $t7, 0x0680($v1) ## 00000680
|
||||
.L809FE624:
|
||||
/* 009F4 809FE624 8FBF0024 */ lw $ra, 0x0024($sp)
|
||||
.L809FE628:
|
||||
/* 009F8 809FE628 8FB0001C */ lw $s0, 0x001C($sp)
|
||||
/* 009FC 809FE62C 8FB10020 */ lw $s1, 0x0020($sp)
|
||||
/* 00A00 809FE630 03E00008 */ jr $ra
|
||||
/* 00A04 809FE634 27BD0028 */ addiu $sp, $sp, 0x0028 ## $sp = 00000000
|
|
@ -1,39 +0,0 @@
|
|||
glabel func_809FE638
|
||||
/* 00A08 809FE638 27BDFFD8 */ addiu $sp, $sp, 0xFFD8 ## $sp = FFFFFFD8
|
||||
/* 00A0C 809FE63C AFBF001C */ sw $ra, 0x001C($sp)
|
||||
/* 00A10 809FE640 AFA40028 */ sw $a0, 0x0028($sp)
|
||||
/* 00A14 809FE644 AFA5002C */ sw $a1, 0x002C($sp)
|
||||
/* 00A18 809FE648 8CA31C44 */ lw $v1, 0x1C44($a1) ## 00001C44
|
||||
/* 00A1C 809FE64C 00A02025 */ or $a0, $a1, $zero ## $a0 = 00000000
|
||||
/* 00A20 809FE650 24050D02 */ addiu $a1, $zero, 0x0D02 ## $a1 = 00000D02
|
||||
/* 00A24 809FE654 8C6F067C */ lw $t7, 0x067C($v1) ## 0000067C
|
||||
/* 00A28 809FE658 8FA70028 */ lw $a3, 0x0028($sp)
|
||||
/* 00A2C 809FE65C 2406FF9D */ addiu $a2, $zero, 0xFF9D ## $a2 = FFFFFF9D
|
||||
/* 00A30 809FE660 000FC080 */ sll $t8, $t7, 2
|
||||
/* 00A34 809FE664 07020016 */ bltzl $t8, .L809FE6C0
|
||||
/* 00A38 809FE668 8FBF001C */ lw $ra, 0x001C($sp)
|
||||
/* 00A3C 809FE66C AFA00010 */ sw $zero, 0x0010($sp)
|
||||
/* 00A40 809FE670 0C02003E */ jal func_800800F8
|
||||
/* 00A44 809FE674 AFA30024 */ sw $v1, 0x0024($sp)
|
||||
/* 00A48 809FE678 8FB90028 */ lw $t9, 0x0028($sp)
|
||||
/* 00A4C 809FE67C 8FA30024 */ lw $v1, 0x0024($sp)
|
||||
/* 00A50 809FE680 24040051 */ addiu $a0, $zero, 0x0051 ## $a0 = 00000051
|
||||
/* 00A54 809FE684 87220032 */ lh $v0, 0x0032($t9) ## 00000032
|
||||
/* 00A58 809FE688 24427FFF */ addiu $v0, $v0, 0x7FFF ## $v0 = 00007FFF
|
||||
/* 00A5C 809FE68C 00021400 */ sll $v0, $v0, 16
|
||||
/* 00A60 809FE690 00021403 */ sra $v0, $v0, 16
|
||||
/* 00A64 809FE694 A4620032 */ sh $v0, 0x0032($v1) ## 00000032
|
||||
/* 00A68 809FE698 0C03D719 */ jal func_800F5C64
|
||||
/* 00A6C 809FE69C A46200B6 */ sh $v0, 0x00B6($v1) ## 000000B6
|
||||
/* 00A70 809FE6A0 3C0580A0 */ lui $a1, %hi(func_809FE6CC) ## $a1 = 80A00000
|
||||
/* 00A74 809FE6A4 24A5E6CC */ addiu $a1, $a1, %lo(func_809FE6CC) ## $a1 = 809FE6CC
|
||||
/* 00A78 809FE6A8 0C27F70C */ jal func_809FDC30
|
||||
/* 00A7C 809FE6AC 8FA40028 */ lw $a0, 0x0028($sp)
|
||||
/* 00A80 809FE6B0 8FA90028 */ lw $t1, 0x0028($sp)
|
||||
/* 00A84 809FE6B4 24080032 */ addiu $t0, $zero, 0x0032 ## $t0 = 00000032
|
||||
/* 00A88 809FE6B8 A52801E2 */ sh $t0, 0x01E2($t1) ## 000001E2
|
||||
/* 00A8C 809FE6BC 8FBF001C */ lw $ra, 0x001C($sp)
|
||||
.L809FE6C0:
|
||||
/* 00A90 809FE6C0 27BD0028 */ addiu $sp, $sp, 0x0028 ## $sp = 00000000
|
||||
/* 00A94 809FE6C4 03E00008 */ jr $ra
|
||||
/* 00A98 809FE6C8 00000000 */ nop
|
|
@ -1,33 +0,0 @@
|
|||
glabel func_809FE6CC
|
||||
/* 00A9C 809FE6CC 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
|
||||
/* 00AA0 809FE6D0 AFBF0014 */ sw $ra, 0x0014($sp)
|
||||
/* 00AA4 809FE6D4 AFA5001C */ sw $a1, 0x001C($sp)
|
||||
/* 00AA8 809FE6D8 848201E2 */ lh $v0, 0x01E2($a0) ## 000001E2
|
||||
/* 00AAC 809FE6DC 00803825 */ or $a3, $a0, $zero ## $a3 = 00000000
|
||||
/* 00AB0 809FE6E0 240F3039 */ addiu $t7, $zero, 0x3039 ## $t7 = 00003039
|
||||
/* 00AB4 809FE6E4 14400003 */ bne $v0, $zero, .L809FE6F4
|
||||
/* 00AB8 809FE6E8 244EFFFF */ addiu $t6, $v0, 0xFFFF ## $t6 = FFFFFFFF
|
||||
/* 00ABC 809FE6EC 10000003 */ beq $zero, $zero, .L809FE6FC
|
||||
/* 00AC0 809FE6F0 00001825 */ or $v1, $zero, $zero ## $v1 = 00000000
|
||||
.L809FE6F4:
|
||||
/* 00AC4 809FE6F4 A4EE01E2 */ sh $t6, 0x01E2($a3) ## 000001E2
|
||||
/* 00AC8 809FE6F8 84E301E2 */ lh $v1, 0x01E2($a3) ## 000001E2
|
||||
.L809FE6FC:
|
||||
/* 00ACC 809FE6FC 1460000C */ bne $v1, $zero, .L809FE730
|
||||
/* 00AD0 809FE700 31E5FFFF */ andi $a1, $t7, 0xFFFF ## $a1 = 00003039
|
||||
/* 00AD4 809FE704 A4EF010E */ sh $t7, 0x010E($a3) ## 0000010E
|
||||
/* 00AD8 809FE708 AFA70018 */ sw $a3, 0x0018($sp)
|
||||
/* 00ADC 809FE70C 8FA4001C */ lw $a0, 0x001C($sp)
|
||||
/* 00AE0 809FE710 0C042DA0 */ jal func_8010B680
|
||||
/* 00AE4 809FE714 00003025 */ or $a2, $zero, $zero ## $a2 = 00000000
|
||||
/* 00AE8 809FE718 8FA40018 */ lw $a0, 0x0018($sp)
|
||||
/* 00AEC 809FE71C 24180001 */ addiu $t8, $zero, 0x0001 ## $t8 = 00000001
|
||||
/* 00AF0 809FE720 3C0580A0 */ lui $a1, %hi(func_809FE740) ## $a1 = 80A00000
|
||||
/* 00AF4 809FE724 24A5E740 */ addiu $a1, $a1, %lo(func_809FE740) ## $a1 = 809FE740
|
||||
/* 00AF8 809FE728 0C27F70C */ jal func_809FDC30
|
||||
/* 00AFC 809FE72C A49801F4 */ sh $t8, 0x01F4($a0) ## 000001F4
|
||||
.L809FE730:
|
||||
/* 00B00 809FE730 8FBF0014 */ lw $ra, 0x0014($sp)
|
||||
/* 00B04 809FE734 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
|
||||
/* 00B08 809FE738 03E00008 */ jr $ra
|
||||
/* 00B0C 809FE73C 00000000 */ nop
|
|
@ -1,24 +0,0 @@
|
|||
glabel func_809FE740
|
||||
/* 00B10 809FE740 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
|
||||
/* 00B14 809FE744 AFBF0014 */ sw $ra, 0x0014($sp)
|
||||
/* 00B18 809FE748 848E01F4 */ lh $t6, 0x01F4($a0) ## 000001F4
|
||||
/* 00B1C 809FE74C 00803025 */ or $a2, $a0, $zero ## $a2 = 00000000
|
||||
/* 00B20 809FE750 55C0000E */ bnel $t6, $zero, .L809FE78C
|
||||
/* 00B24 809FE754 8FBF0014 */ lw $ra, 0x0014($sp)
|
||||
/* 00B28 809FE758 84AF07A0 */ lh $t7, 0x07A0($a1) ## 000007A0
|
||||
/* 00B2C 809FE75C 000FC080 */ sll $t8, $t7, 2
|
||||
/* 00B30 809FE760 00B8C821 */ addu $t9, $a1, $t8
|
||||
/* 00B34 809FE764 8F240790 */ lw $a0, 0x0790($t9) ## 00000790
|
||||
/* 00B38 809FE768 0C016C69 */ jal func_8005B1A4
|
||||
/* 00B3C 809FE76C AFA60018 */ sw $a2, 0x0018($sp)
|
||||
/* 00B40 809FE770 8FA40018 */ lw $a0, 0x0018($sp)
|
||||
/* 00B44 809FE774 2408005A */ addiu $t0, $zero, 0x005A ## $t0 = 0000005A
|
||||
/* 00B48 809FE778 3C0580A0 */ lui $a1, %hi(func_809FE798) ## $a1 = 80A00000
|
||||
/* 00B4C 809FE77C 24A5E798 */ addiu $a1, $a1, %lo(func_809FE798) ## $a1 = 809FE798
|
||||
/* 00B50 809FE780 0C27F70C */ jal func_809FDC30
|
||||
/* 00B54 809FE784 A48801E2 */ sh $t0, 0x01E2($a0) ## 000001E2
|
||||
/* 00B58 809FE788 8FBF0014 */ lw $ra, 0x0014($sp)
|
||||
.L809FE78C:
|
||||
/* 00B5C 809FE78C 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
|
||||
/* 00B60 809FE790 03E00008 */ jr $ra
|
||||
/* 00B64 809FE794 00000000 */ nop
|
|
@ -1,76 +0,0 @@
|
|||
glabel func_809FE798
|
||||
/* 00B68 809FE798 27BDFFE0 */ addiu $sp, $sp, 0xFFE0 ## $sp = FFFFFFE0
|
||||
/* 00B6C 809FE79C AFBF001C */ sw $ra, 0x001C($sp)
|
||||
/* 00B70 809FE7A0 AFB00018 */ sw $s0, 0x0018($sp)
|
||||
/* 00B74 809FE7A4 AFA50024 */ sw $a1, 0x0024($sp)
|
||||
/* 00B78 809FE7A8 848301E2 */ lh $v1, 0x01E2($a0) ## 000001E2
|
||||
/* 00B7C 809FE7AC 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
|
||||
/* 00B80 809FE7B0 24010005 */ addiu $at, $zero, 0x0005 ## $at = 00000005
|
||||
/* 00B84 809FE7B4 14600003 */ bne $v1, $zero, .L809FE7C4
|
||||
/* 00B88 809FE7B8 246EFFFF */ addiu $t6, $v1, 0xFFFF ## $t6 = FFFFFFFF
|
||||
/* 00B8C 809FE7BC 10000004 */ beq $zero, $zero, .L809FE7D0
|
||||
/* 00B90 809FE7C0 00001025 */ or $v0, $zero, $zero ## $v0 = 00000000
|
||||
.L809FE7C4:
|
||||
/* 00B94 809FE7C4 A60E01E2 */ sh $t6, 0x01E2($s0) ## 000001E2
|
||||
/* 00B98 809FE7C8 860301E2 */ lh $v1, 0x01E2($s0) ## 000001E2
|
||||
/* 00B9C 809FE7CC 00601025 */ or $v0, $v1, $zero ## $v0 = 00000000
|
||||
.L809FE7D0:
|
||||
/* 00BA0 809FE7D0 10400023 */ beq $v0, $zero, .L809FE860
|
||||
/* 00BA4 809FE7D4 00000000 */ nop
|
||||
/* 00BA8 809FE7D8 10610016 */ beq $v1, $at, .L809FE834
|
||||
/* 00BAC 809FE7DC 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 00BB0 809FE7E0 2401000F */ addiu $at, $zero, 0x000F ## $at = 0000000F
|
||||
/* 00BB4 809FE7E4 1061000F */ beq $v1, $at, .L809FE824
|
||||
/* 00BB8 809FE7E8 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 00BBC 809FE7EC 2401003C */ addiu $at, $zero, 0x003C ## $at = 0000003C
|
||||
/* 00BC0 809FE7F0 10610008 */ beq $v1, $at, .L809FE814
|
||||
/* 00BC4 809FE7F4 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 00BC8 809FE7F8 24010050 */ addiu $at, $zero, 0x0050 ## $at = 00000050
|
||||
/* 00BCC 809FE7FC 14610010 */ bne $v1, $at, .L809FE840
|
||||
/* 00BD0 809FE800 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 00BD4 809FE804 0C00BE0A */ jal Audio_PlayActorSound2
|
||||
|
||||
/* 00BD8 809FE808 240528A9 */ addiu $a1, $zero, 0x28A9 ## $a1 = 000028A9
|
||||
/* 00BDC 809FE80C 1000000C */ beq $zero, $zero, .L809FE840
|
||||
/* 00BE0 809FE810 860301E2 */ lh $v1, 0x01E2($s0) ## 000001E2
|
||||
.L809FE814:
|
||||
/* 00BE4 809FE814 0C00BE0A */ jal Audio_PlayActorSound2
|
||||
|
||||
/* 00BE8 809FE818 24052814 */ addiu $a1, $zero, 0x2814 ## $a1 = 00002814
|
||||
/* 00BEC 809FE81C 10000008 */ beq $zero, $zero, .L809FE840
|
||||
/* 00BF0 809FE820 860301E2 */ lh $v1, 0x01E2($s0) ## 000001E2
|
||||
.L809FE824:
|
||||
/* 00BF4 809FE824 0C00BE0A */ jal Audio_PlayActorSound2
|
||||
|
||||
/* 00BF8 809FE828 2405281C */ addiu $a1, $zero, 0x281C ## $a1 = 0000281C
|
||||
/* 00BFC 809FE82C 10000004 */ beq $zero, $zero, .L809FE840
|
||||
/* 00C00 809FE830 860301E2 */ lh $v1, 0x01E2($s0) ## 000001E2
|
||||
.L809FE834:
|
||||
/* 00C04 809FE834 0C00BE0A */ jal Audio_PlayActorSound2
|
||||
|
||||
/* 00C08 809FE838 2405281D */ addiu $a1, $zero, 0x281D ## $a1 = 0000281D
|
||||
/* 00C0C 809FE83C 860301E2 */ lh $v1, 0x01E2($s0) ## 000001E2
|
||||
.L809FE840:
|
||||
/* 00C10 809FE840 2861003D */ slti $at, $v1, 0x003D
|
||||
/* 00C14 809FE844 1420000D */ bne $at, $zero, .L809FE87C
|
||||
/* 00C18 809FE848 3C014120 */ lui $at, 0x4120 ## $at = 41200000
|
||||
/* 00C1C 809FE84C 44813000 */ mtc1 $at, $f6 ## $f6 = 10.00
|
||||
/* 00C20 809FE850 C6040024 */ lwc1 $f4, 0x0024($s0) ## 00000024
|
||||
/* 00C24 809FE854 46062201 */ sub.s $f8, $f4, $f6
|
||||
/* 00C28 809FE858 10000008 */ beq $zero, $zero, .L809FE87C
|
||||
/* 00C2C 809FE85C E6080024 */ swc1 $f8, 0x0024($s0) ## 00000024
|
||||
.L809FE860:
|
||||
/* 00C30 809FE860 0C00B55C */ jal Actor_Kill
|
||||
|
||||
/* 00C34 809FE864 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 00C38 809FE868 3C028016 */ lui $v0, %hi(gSaveContext)
|
||||
/* 00C3C 809FE86C 2442E660 */ addiu $v0, %lo(gSaveContext)
|
||||
/* 00C40 809FE870 944F0F1A */ lhu $t7, 0x0F1A($v0) ## 8015F57A
|
||||
/* 00C44 809FE874 35F80400 */ ori $t8, $t7, 0x0400 ## $t8 = 00000400
|
||||
/* 00C48 809FE878 A4580F1A */ sh $t8, 0x0F1A($v0) ## 8015F57A
|
||||
.L809FE87C:
|
||||
/* 00C4C 809FE87C 8FBF001C */ lw $ra, 0x001C($sp)
|
||||
/* 00C50 809FE880 8FB00018 */ lw $s0, 0x0018($sp)
|
||||
/* 00C54 809FE884 27BD0020 */ addiu $sp, $sp, 0x0020 ## $sp = 00000000
|
||||
/* 00C58 809FE888 03E00008 */ jr $ra
|
||||
/* 00C5C 809FE88C 00000000 */ nop
|
|
@ -1,172 +0,0 @@
|
|||
glabel func_809FE890
|
||||
/* 00C60 809FE890 27BDFFA8 */ addiu $sp, $sp, 0xFFA8 ## $sp = FFFFFFA8
|
||||
/* 00C64 809FE894 3C0F80A0 */ lui $t7, %hi(D_809FF400) ## $t7 = 80A00000
|
||||
/* 00C68 809FE898 AFBF001C */ sw $ra, 0x001C($sp)
|
||||
/* 00C6C 809FE89C AFB10018 */ sw $s1, 0x0018($sp)
|
||||
/* 00C70 809FE8A0 AFB00014 */ sw $s0, 0x0014($sp)
|
||||
/* 00C74 809FE8A4 25EFF400 */ addiu $t7, $t7, %lo(D_809FF400) ## $t7 = 809FF400
|
||||
/* 00C78 809FE8A8 8DF90000 */ lw $t9, 0x0000($t7) ## 809FF400
|
||||
/* 00C7C 809FE8AC 27AE0030 */ addiu $t6, $sp, 0x0030 ## $t6 = FFFFFFD8
|
||||
/* 00C80 809FE8B0 8DF80004 */ lw $t8, 0x0004($t7) ## 809FF404
|
||||
/* 00C84 809FE8B4 ADD90000 */ sw $t9, 0x0000($t6) ## FFFFFFD8
|
||||
/* 00C88 809FE8B8 8DF90008 */ lw $t9, 0x0008($t7) ## 809FF408
|
||||
/* 00C8C 809FE8BC ADD80004 */ sw $t8, 0x0004($t6) ## FFFFFFDC
|
||||
/* 00C90 809FE8C0 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
|
||||
/* 00C94 809FE8C4 ADD90008 */ sw $t9, 0x0008($t6) ## FFFFFFE0
|
||||
/* 00C98 809FE8C8 90A81D6C */ lbu $t0, 0x1D6C($a1) ## 00001D6C
|
||||
/* 00C9C 809FE8CC 00A03825 */ or $a3, $a1, $zero ## $a3 = 00000000
|
||||
/* 00CA0 809FE8D0 00A02025 */ or $a0, $a1, $zero ## $a0 = 00000000
|
||||
/* 00CA4 809FE8D4 15000009 */ bne $t0, $zero, .L809FE8FC
|
||||
/* 00CA8 809FE8D8 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000
|
||||
/* 00CAC 809FE8DC 0C00B7D5 */ jal func_8002DF54
|
||||
/* 00CB0 809FE8E0 24060001 */ addiu $a2, $zero, 0x0001 ## $a2 = 00000001
|
||||
/* 00CB4 809FE8E4 3C0580A0 */ lui $a1, %hi(func_809FEB08) ## $a1 = 80A00000
|
||||
/* 00CB8 809FE8E8 24A5EB08 */ addiu $a1, $a1, %lo(func_809FEB08) ## $a1 = 809FEB08
|
||||
/* 00CBC 809FE8EC 0C27F70C */ jal func_809FDC30
|
||||
/* 00CC0 809FE8F0 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 00CC4 809FE8F4 10000080 */ beq $zero, $zero, .L809FEAF8
|
||||
/* 00CC8 809FE8F8 8FBF001C */ lw $ra, 0x001C($sp)
|
||||
.L809FE8FC:
|
||||
/* 00CCC 809FE8FC 8CF11D94 */ lw $s1, 0x1D94($a3) ## 00001D94
|
||||
/* 00CD0 809FE900 27A50048 */ addiu $a1, $sp, 0x0048 ## $a1 = FFFFFFF0
|
||||
/* 00CD4 809FE904 1220007B */ beq $s1, $zero, .L809FEAF4
|
||||
/* 00CD8 809FE908 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
|
||||
/* 00CDC 809FE90C 0C27F7F0 */ jal func_809FDFC0
|
||||
/* 00CE0 809FE910 AFA7005C */ sw $a3, 0x005C($sp)
|
||||
/* 00CE4 809FE914 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
|
||||
/* 00CE8 809FE918 0C27F800 */ jal func_809FE000
|
||||
/* 00CEC 809FE91C 27A5003C */ addiu $a1, $sp, 0x003C ## $a1 = FFFFFFE4
|
||||
/* 00CF0 809FE920 860201EA */ lh $v0, 0x01EA($s0) ## 000001EA
|
||||
/* 00CF4 809FE924 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
|
||||
/* 00CF8 809FE928 5440000C */ bnel $v0, $zero, .L809FE95C
|
||||
/* 00CFC 809FE92C 96230000 */ lhu $v1, 0x0000($s1) ## 00000000
|
||||
/* 00D00 809FE930 0C27F7F0 */ jal func_809FDFC0
|
||||
/* 00D04 809FE934 27A50048 */ addiu $a1, $sp, 0x0048 ## $a1 = FFFFFFF0
|
||||
/* 00D08 809FE938 27A90048 */ addiu $t1, $sp, 0x0048 ## $t1 = FFFFFFF0
|
||||
/* 00D0C 809FE93C 8D2B0000 */ lw $t3, 0x0000($t1) ## FFFFFFF0
|
||||
/* 00D10 809FE940 860201EA */ lh $v0, 0x01EA($s0) ## 000001EA
|
||||
/* 00D14 809FE944 AE0B0024 */ sw $t3, 0x0024($s0) ## 00000024
|
||||
/* 00D18 809FE948 8D2A0004 */ lw $t2, 0x0004($t1) ## FFFFFFF4
|
||||
/* 00D1C 809FE94C AE0A0028 */ sw $t2, 0x0028($s0) ## 00000028
|
||||
/* 00D20 809FE950 8D2B0008 */ lw $t3, 0x0008($t1) ## FFFFFFF8
|
||||
/* 00D24 809FE954 AE0B002C */ sw $t3, 0x002C($s0) ## 0000002C
|
||||
/* 00D28 809FE958 96230000 */ lhu $v1, 0x0000($s1) ## 00000000
|
||||
.L809FE95C:
|
||||
/* 00D2C 809FE95C 24010001 */ addiu $at, $zero, 0x0001 ## $at = 00000001
|
||||
/* 00D30 809FE960 50620029 */ beql $v1, $v0, .L809FEA08
|
||||
/* 00D34 809FE964 24010007 */ addiu $at, $zero, 0x0007 ## $at = 00000007
|
||||
/* 00D38 809FE968 14610006 */ bne $v1, $at, .L809FE984
|
||||
/* 00D3C 809FE96C 2604014C */ addiu $a0, $s0, 0x014C ## $a0 = 0000014C
|
||||
/* 00D40 809FE970 3C0580A0 */ lui $a1, %hi(D_809FF268) ## $a1 = 80A00000
|
||||
/* 00D44 809FE974 24A5F268 */ addiu $a1, $a1, %lo(D_809FF268) ## $a1 = 809FF268
|
||||
/* 00D48 809FE978 0C00D3B0 */ jal func_80034EC0
|
||||
/* 00D4C 809FE97C 24060001 */ addiu $a2, $zero, 0x0001 ## $a2 = 00000001
|
||||
/* 00D50 809FE980 96230000 */ lhu $v1, 0x0000($s1) ## 00000000
|
||||
.L809FE984:
|
||||
/* 00D54 809FE984 24010007 */ addiu $at, $zero, 0x0007 ## $at = 00000007
|
||||
/* 00D58 809FE988 10610003 */ beq $v1, $at, .L809FE998
|
||||
/* 00D5C 809FE98C 2604014C */ addiu $a0, $s0, 0x014C ## $a0 = 0000014C
|
||||
/* 00D60 809FE990 24010008 */ addiu $at, $zero, 0x0008 ## $at = 00000008
|
||||
/* 00D64 809FE994 14610006 */ bne $v1, $at, .L809FE9B0
|
||||
.L809FE998:
|
||||
/* 00D68 809FE998 3C0580A0 */ lui $a1, %hi(D_809FF268) ## $a1 = 80A00000
|
||||
/* 00D6C 809FE99C A60001E6 */ sh $zero, 0x01E6($s0) ## 000001E6
|
||||
/* 00D70 809FE9A0 24A5F268 */ addiu $a1, $a1, %lo(D_809FF268) ## $a1 = 809FF268
|
||||
/* 00D74 809FE9A4 0C00D3B0 */ jal func_80034EC0
|
||||
/* 00D78 809FE9A8 24060007 */ addiu $a2, $zero, 0x0007 ## $a2 = 00000007
|
||||
/* 00D7C 809FE9AC 96230000 */ lhu $v1, 0x0000($s1) ## 00000000
|
||||
.L809FE9B0:
|
||||
/* 00D80 809FE9B0 A60301EA */ sh $v1, 0x01EA($s0) ## 000001EA
|
||||
/* 00D84 809FE9B4 860201EA */ lh $v0, 0x01EA($s0) ## 000001EA
|
||||
/* 00D88 809FE9B8 24010007 */ addiu $at, $zero, 0x0007 ## $at = 00000007
|
||||
/* 00D8C 809FE9BC 24030002 */ addiu $v1, $zero, 0x0002 ## $v1 = 00000002
|
||||
/* 00D90 809FE9C0 14410007 */ bne $v0, $at, .L809FE9E0
|
||||
/* 00D94 809FE9C4 240C000B */ addiu $t4, $zero, 0x000B ## $t4 = 0000000B
|
||||
/* 00D98 809FE9C8 240D0001 */ addiu $t5, $zero, 0x0001 ## $t5 = 00000001
|
||||
/* 00D9C 809FE9CC A60C01F2 */ sh $t4, 0x01F2($s0) ## 000001F2
|
||||
/* 00DA0 809FE9D0 A20301EC */ sb $v1, 0x01EC($s0) ## 000001EC
|
||||
/* 00DA4 809FE9D4 A20301ED */ sb $v1, 0x01ED($s0) ## 000001ED
|
||||
/* 00DA8 809FE9D8 A20D01EE */ sb $t5, 0x01EE($s0) ## 000001EE
|
||||
/* 00DAC 809FE9DC 860201EA */ lh $v0, 0x01EA($s0) ## 000001EA
|
||||
.L809FE9E0:
|
||||
/* 00DB0 809FE9E0 24010008 */ addiu $at, $zero, 0x0008 ## $at = 00000008
|
||||
/* 00DB4 809FE9E4 14410007 */ bne $v0, $at, .L809FEA04
|
||||
/* 00DB8 809FE9E8 24030003 */ addiu $v1, $zero, 0x0003 ## $v1 = 00000003
|
||||
/* 00DBC 809FE9EC 240E000B */ addiu $t6, $zero, 0x000B ## $t6 = 0000000B
|
||||
/* 00DC0 809FE9F0 A60E01F2 */ sh $t6, 0x01F2($s0) ## 000001F2
|
||||
/* 00DC4 809FE9F4 A20301EC */ sb $v1, 0x01EC($s0) ## 000001EC
|
||||
/* 00DC8 809FE9F8 A20301ED */ sb $v1, 0x01ED($s0) ## 000001ED
|
||||
/* 00DCC 809FE9FC A20001EE */ sb $zero, 0x01EE($s0) ## 000001EE
|
||||
/* 00DD0 809FEA00 860201EA */ lh $v0, 0x01EA($s0) ## 000001EA
|
||||
.L809FEA04:
|
||||
/* 00DD4 809FEA04 24010007 */ addiu $at, $zero, 0x0007 ## $at = 00000007
|
||||
.L809FEA08:
|
||||
/* 00DD8 809FEA08 54410005 */ bnel $v0, $at, .L809FEA20
|
||||
/* 00DDC 809FEA0C 24010008 */ addiu $at, $zero, 0x0008 ## $at = 00000008
|
||||
/* 00DE0 809FEA10 0C27F810 */ jal func_809FE040
|
||||
/* 00DE4 809FEA14 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 00DE8 809FEA18 860201EA */ lh $v0, 0x01EA($s0) ## 000001EA
|
||||
/* 00DEC 809FEA1C 24010008 */ addiu $at, $zero, 0x0008 ## $at = 00000008
|
||||
.L809FEA20:
|
||||
/* 00DF0 809FEA20 54410004 */ bnel $v0, $at, .L809FEA34
|
||||
/* 00DF4 809FEA24 962F0006 */ lhu $t7, 0x0006($s1) ## 00000006
|
||||
/* 00DF8 809FEA28 0C27F841 */ jal func_809FE104
|
||||
/* 00DFC 809FEA2C 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 00E00 809FEA30 962F0006 */ lhu $t7, 0x0006($s1) ## 00000006
|
||||
.L809FEA34:
|
||||
/* 00E04 809FEA34 27A80030 */ addiu $t0, $sp, 0x0030 ## $t0 = FFFFFFD8
|
||||
/* 00E08 809FEA38 A60F00B4 */ sh $t7, 0x00B4($s0) ## 000000B4
|
||||
/* 00E0C 809FEA3C 96380008 */ lhu $t8, 0x0008($s1) ## 00000008
|
||||
/* 00E10 809FEA40 A61800B6 */ sh $t8, 0x00B6($s0) ## 000000B6
|
||||
/* 00E14 809FEA44 9639000A */ lhu $t9, 0x000A($s1) ## 0000000A
|
||||
/* 00E18 809FEA48 A61900B8 */ sh $t9, 0x00B8($s0) ## 000000B8
|
||||
/* 00E1C 809FEA4C 8D0A0000 */ lw $t2, 0x0000($t0) ## FFFFFFD8
|
||||
/* 00E20 809FEA50 AE0A005C */ sw $t2, 0x005C($s0) ## 0000005C
|
||||
/* 00E24 809FEA54 8D090004 */ lw $t1, 0x0004($t0) ## FFFFFFDC
|
||||
/* 00E28 809FEA58 AE090060 */ sw $t1, 0x0060($s0) ## 00000060
|
||||
/* 00E2C 809FEA5C 8D0A0008 */ lw $t2, 0x0008($t0) ## FFFFFFE0
|
||||
/* 00E30 809FEA60 AE0A0064 */ sw $t2, 0x0064($s0) ## 00000064
|
||||
/* 00E34 809FEA64 8FAB005C */ lw $t3, 0x005C($sp)
|
||||
/* 00E38 809FEA68 96220004 */ lhu $v0, 0x0004($s1) ## 00000004
|
||||
/* 00E3C 809FEA6C 956C1D74 */ lhu $t4, 0x1D74($t3) ## 00001D74
|
||||
/* 00E40 809FEA70 0182082A */ slt $at, $t4, $v0
|
||||
/* 00E44 809FEA74 50200020 */ beql $at, $zero, .L809FEAF8
|
||||
/* 00E48 809FEA78 8FBF001C */ lw $ra, 0x001C($sp)
|
||||
/* 00E4C 809FEA7C 962D0002 */ lhu $t5, 0x0002($s1) ## 00000002
|
||||
/* 00E50 809FEA80 C7A6003C */ lwc1 $f6, 0x003C($sp)
|
||||
/* 00E54 809FEA84 C7A80048 */ lwc1 $f8, 0x0048($sp)
|
||||
/* 00E58 809FEA88 004D7023 */ subu $t6, $v0, $t5
|
||||
/* 00E5C 809FEA8C 448E2000 */ mtc1 $t6, $f4 ## $f4 = 0.00
|
||||
/* 00E60 809FEA90 46083281 */ sub.s $f10, $f6, $f8
|
||||
/* 00E64 809FEA94 C6020070 */ lwc1 $f2, 0x0070($s0) ## 00000070
|
||||
/* 00E68 809FEA98 46802020 */ cvt.s.w $f0, $f4
|
||||
/* 00E6C 809FEA9C 46005403 */ div.s $f16, $f10, $f0
|
||||
/* 00E70 809FEAA0 E610005C */ swc1 $f16, 0x005C($s0) ## 0000005C
|
||||
/* 00E74 809FEAA4 C7A4004C */ lwc1 $f4, 0x004C($sp)
|
||||
/* 00E78 809FEAA8 C7B20040 */ lwc1 $f18, 0x0040($sp)
|
||||
/* 00E7C 809FEAAC C610006C */ lwc1 $f16, 0x006C($s0) ## 0000006C
|
||||
/* 00E80 809FEAB0 46049181 */ sub.s $f6, $f18, $f4
|
||||
/* 00E84 809FEAB4 46003203 */ div.s $f8, $f6, $f0
|
||||
/* 00E88 809FEAB8 E6080060 */ swc1 $f8, 0x0060($s0) ## 00000060
|
||||
/* 00E8C 809FEABC C60A0060 */ lwc1 $f10, 0x0060($s0) ## 00000060
|
||||
/* 00E90 809FEAC0 46105480 */ add.s $f18, $f10, $f16
|
||||
/* 00E94 809FEAC4 E6120060 */ swc1 $f18, 0x0060($s0) ## 00000060
|
||||
/* 00E98 809FEAC8 C6040060 */ lwc1 $f4, 0x0060($s0) ## 00000060
|
||||
/* 00E9C 809FEACC 4602203C */ c.lt.s $f4, $f2
|
||||
/* 00EA0 809FEAD0 00000000 */ nop
|
||||
/* 00EA4 809FEAD4 45020003 */ bc1fl .L809FEAE4
|
||||
/* 00EA8 809FEAD8 C7A60044 */ lwc1 $f6, 0x0044($sp)
|
||||
/* 00EAC 809FEADC E6020060 */ swc1 $f2, 0x0060($s0) ## 00000060
|
||||
/* 00EB0 809FEAE0 C7A60044 */ lwc1 $f6, 0x0044($sp)
|
||||
.L809FEAE4:
|
||||
/* 00EB4 809FEAE4 C7A80050 */ lwc1 $f8, 0x0050($sp)
|
||||
/* 00EB8 809FEAE8 46083281 */ sub.s $f10, $f6, $f8
|
||||
/* 00EBC 809FEAEC 46005403 */ div.s $f16, $f10, $f0
|
||||
/* 00EC0 809FEAF0 E6100064 */ swc1 $f16, 0x0064($s0) ## 00000064
|
||||
.L809FEAF4:
|
||||
/* 00EC4 809FEAF4 8FBF001C */ lw $ra, 0x001C($sp)
|
||||
.L809FEAF8:
|
||||
/* 00EC8 809FEAF8 8FB00014 */ lw $s0, 0x0014($sp)
|
||||
/* 00ECC 809FEAFC 8FB10018 */ lw $s1, 0x0018($sp)
|
||||
/* 00ED0 809FEB00 03E00008 */ jr $ra
|
||||
/* 00ED4 809FEB04 27BD0058 */ addiu $sp, $sp, 0x0058 ## $sp = 00000000
|
|
@ -1,72 +0,0 @@
|
|||
glabel func_809FEB08
|
||||
/* 00ED8 809FEB08 27BDFFE0 */ addiu $sp, $sp, 0xFFE0 ## $sp = FFFFFFE0
|
||||
/* 00EDC 809FEB0C AFB00018 */ sw $s0, 0x0018($sp)
|
||||
/* 00EE0 809FEB10 AFBF001C */ sw $ra, 0x001C($sp)
|
||||
/* 00EE4 809FEB14 AFA50024 */ sw $a1, 0x0024($sp)
|
||||
/* 00EE8 809FEB18 848F01E8 */ lh $t7, 0x01E8($a0) ## 000001E8
|
||||
/* 00EEC 809FEB1C 240E000B */ addiu $t6, $zero, 0x000B ## $t6 = 0000000B
|
||||
/* 00EF0 809FEB20 24010001 */ addiu $at, $zero, 0x0001 ## $at = 00000001
|
||||
/* 00EF4 809FEB24 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
|
||||
/* 00EF8 809FEB28 A48E01F2 */ sh $t6, 0x01F2($a0) ## 000001F2
|
||||
/* 00EFC 809FEB2C A08001EC */ sb $zero, 0x01EC($a0) ## 000001EC
|
||||
/* 00F00 809FEB30 A08001ED */ sb $zero, 0x01ED($a0) ## 000001ED
|
||||
/* 00F04 809FEB34 15E10010 */ bne $t7, $at, .L809FEB78
|
||||
/* 00F08 809FEB38 A08001EE */ sb $zero, 0x01EE($a0) ## 000001EE
|
||||
/* 00F0C 809FEB3C 8FA40024 */ lw $a0, 0x0024($sp)
|
||||
/* 00F10 809FEB40 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000
|
||||
/* 00F14 809FEB44 0C00B7D5 */ jal func_8002DF54
|
||||
/* 00F18 809FEB48 24060007 */ addiu $a2, $zero, 0x0007 ## $a2 = 00000007
|
||||
/* 00F1C 809FEB4C 3C0580A0 */ lui $a1, %hi(D_809FF268) ## $a1 = 80A00000
|
||||
/* 00F20 809FEB50 24A5F268 */ addiu $a1, $a1, %lo(D_809FF268) ## $a1 = 809FF268
|
||||
/* 00F24 809FEB54 2604014C */ addiu $a0, $s0, 0x014C ## $a0 = 0000014C
|
||||
/* 00F28 809FEB58 0C00D3B0 */ jal func_80034EC0
|
||||
/* 00F2C 809FEB5C 24060001 */ addiu $a2, $zero, 0x0001 ## $a2 = 00000001
|
||||
/* 00F30 809FEB60 3C0580A0 */ lui $a1, %hi(func_809FE3C0) ## $a1 = 80A00000
|
||||
/* 00F34 809FEB64 24A5E3C0 */ addiu $a1, $a1, %lo(func_809FE3C0) ## $a1 = 809FE3C0
|
||||
/* 00F38 809FEB68 0C27F70C */ jal func_809FDC30
|
||||
/* 00F3C 809FEB6C 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 00F40 809FEB70 10000024 */ beq $zero, $zero, .L809FEC04
|
||||
/* 00F44 809FEB74 8FBF001C */ lw $ra, 0x001C($sp)
|
||||
.L809FEB78:
|
||||
/* 00F48 809FEB78 3C188016 */ lui $t8, %hi(gSaveContext+0xa0)
|
||||
/* 00F4C 809FEB7C 3C198012 */ lui $t9, %hi(gUpgradeMasks+8)
|
||||
/* 00F50 809FEB80 8F3971B8 */ lw $t9, %lo(gUpgradeMasks+8)($t9)
|
||||
/* 00F54 809FEB84 8F18E700 */ lw $t8, %lo(gSaveContext+0xa0)($t8)
|
||||
/* 00F58 809FEB88 3C098012 */ lui $t1, %hi(gUpgradeShifts+2)
|
||||
/* 00F5C 809FEB8C 912971F6 */ lbu $t1, %lo(gUpgradeShifts+2)($t1)
|
||||
/* 00F60 809FEB90 03194024 */ and $t0, $t8, $t9
|
||||
/* 00F64 809FEB94 240C301F */ addiu $t4, $zero, 0x301F ## $t4 = 0000301F
|
||||
/* 00F68 809FEB98 01285007 */ srav $t2, $t0, $t1
|
||||
/* 00F6C 809FEB9C 1D400009 */ bgtz $t2, .L809FEBC4
|
||||
/* 00F70 809FEBA0 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 00F74 809FEBA4 240B301C */ addiu $t3, $zero, 0x301C ## $t3 = 0000301C
|
||||
/* 00F78 809FEBA8 3C0580A0 */ lui $a1, %hi(func_809FEC14) ## $a1 = 80A00000
|
||||
/* 00F7C 809FEBAC A60B010E */ sh $t3, 0x010E($s0) ## 0000010E
|
||||
/* 00F80 809FEBB0 24A5EC14 */ addiu $a1, $a1, %lo(func_809FEC14) ## $a1 = 809FEC14
|
||||
/* 00F84 809FEBB4 0C27F70C */ jal func_809FDC30
|
||||
/* 00F88 809FEBB8 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 00F8C 809FEBBC 10000006 */ beq $zero, $zero, .L809FEBD8
|
||||
/* 00F90 809FEBC0 8FA40024 */ lw $a0, 0x0024($sp)
|
||||
.L809FEBC4:
|
||||
/* 00F94 809FEBC4 3C0580A0 */ lui $a1, %hi(func_809FE3C0) ## $a1 = 80A00000
|
||||
/* 00F98 809FEBC8 A60C010E */ sh $t4, 0x010E($s0) ## 0000010E
|
||||
/* 00F9C 809FEBCC 0C27F70C */ jal func_809FDC30
|
||||
/* 00FA0 809FEBD0 24A5E3C0 */ addiu $a1, $a1, %lo(func_809FE3C0) ## $a1 = 809FE3C0
|
||||
/* 00FA4 809FEBD4 8FA40024 */ lw $a0, 0x0024($sp)
|
||||
.L809FEBD8:
|
||||
/* 00FA8 809FEBD8 9605010E */ lhu $a1, 0x010E($s0) ## 0000010E
|
||||
/* 00FAC 809FEBDC 0C042DA0 */ jal func_8010B680
|
||||
/* 00FB0 809FEBE0 00003025 */ or $a2, $zero, $zero ## $a2 = 00000000
|
||||
/* 00FB4 809FEBE4 3C0580A0 */ lui $a1, %hi(D_809FF268) ## $a1 = 80A00000
|
||||
/* 00FB8 809FEBE8 24A5F268 */ addiu $a1, $a1, %lo(D_809FF268) ## $a1 = 809FF268
|
||||
/* 00FBC 809FEBEC 2604014C */ addiu $a0, $s0, 0x014C ## $a0 = 0000014C
|
||||
/* 00FC0 809FEBF0 0C00D3B0 */ jal func_80034EC0
|
||||
/* 00FC4 809FEBF4 2406000E */ addiu $a2, $zero, 0x000E ## $a2 = 0000000E
|
||||
/* 00FC8 809FEBF8 240D0001 */ addiu $t5, $zero, 0x0001 ## $t5 = 00000001
|
||||
/* 00FCC 809FEBFC A60D01F4 */ sh $t5, 0x01F4($s0) ## 000001F4
|
||||
/* 00FD0 809FEC00 8FBF001C */ lw $ra, 0x001C($sp)
|
||||
.L809FEC04:
|
||||
/* 00FD4 809FEC04 8FB00018 */ lw $s0, 0x0018($sp)
|
||||
/* 00FD8 809FEC08 27BD0020 */ addiu $sp, $sp, 0x0020 ## $sp = 00000000
|
||||
/* 00FDC 809FEC0C 03E00008 */ jr $ra
|
||||
/* 00FE0 809FEC10 00000000 */ nop
|
|
@ -1,25 +0,0 @@
|
|||
glabel func_809FEC14
|
||||
/* 00FE4 809FEC14 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
|
||||
/* 00FE8 809FEC18 AFBF0014 */ sw $ra, 0x0014($sp)
|
||||
/* 00FEC 809FEC1C AFA5001C */ sw $a1, 0x001C($sp)
|
||||
/* 00FF0 809FEC20 848E01F4 */ lh $t6, 0x01F4($a0) ## 000001F4
|
||||
/* 00FF4 809FEC24 00803825 */ or $a3, $a0, $zero ## $a3 = 00000000
|
||||
/* 00FF8 809FEC28 24010002 */ addiu $at, $zero, 0x0002 ## $at = 00000002
|
||||
/* 00FFC 809FEC2C 15C1000C */ bne $t6, $at, .L809FEC60
|
||||
/* 01000 809FEC30 00A02025 */ or $a0, $a1, $zero ## $a0 = 00000000
|
||||
/* 01004 809FEC34 00E02825 */ or $a1, $a3, $zero ## $a1 = 00000000
|
||||
/* 01008 809FEC38 24060007 */ addiu $a2, $zero, 0x0007 ## $a2 = 00000007
|
||||
/* 0100C 809FEC3C 0C00B7D5 */ jal func_8002DF54
|
||||
/* 01010 809FEC40 AFA70018 */ sw $a3, 0x0018($sp)
|
||||
/* 01014 809FEC44 3C0580A0 */ lui $a1, %hi(func_809FEC70) ## $a1 = 80A00000
|
||||
/* 01018 809FEC48 24A5EC70 */ addiu $a1, $a1, %lo(func_809FEC70) ## $a1 = 809FEC70
|
||||
/* 0101C 809FEC4C 0C27F70C */ jal func_809FDC30
|
||||
/* 01020 809FEC50 8FA40018 */ lw $a0, 0x0018($sp)
|
||||
/* 01024 809FEC54 8FA40018 */ lw $a0, 0x0018($sp)
|
||||
/* 01028 809FEC58 0C27FB1C */ jal func_809FEC70
|
||||
/* 0102C 809FEC5C 8FA5001C */ lw $a1, 0x001C($sp)
|
||||
.L809FEC60:
|
||||
/* 01030 809FEC60 8FBF0014 */ lw $ra, 0x0014($sp)
|
||||
/* 01034 809FEC64 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
|
||||
/* 01038 809FEC68 03E00008 */ jr $ra
|
||||
/* 0103C 809FEC6C 00000000 */ nop
|
|
@ -1,32 +0,0 @@
|
|||
glabel func_809FEC70
|
||||
/* 01040 809FEC70 27BDFFE0 */ addiu $sp, $sp, 0xFFE0 ## $sp = FFFFFFE0
|
||||
/* 01044 809FEC74 AFBF001C */ sw $ra, 0x001C($sp)
|
||||
/* 01048 809FEC78 AFA50024 */ sw $a1, 0x0024($sp)
|
||||
/* 0104C 809FEC7C 0C00BD04 */ jal Actor_HasParent
|
||||
/* 01050 809FEC80 AFA40020 */ sw $a0, 0x0020($sp)
|
||||
/* 01054 809FEC84 10400007 */ beq $v0, $zero, .L809FECA4
|
||||
/* 01058 809FEC88 8FA40020 */ lw $a0, 0x0020($sp)
|
||||
/* 0105C 809FEC8C 3C0580A0 */ lui $a1, %hi(func_809FECE4) ## $a1 = 80A00000
|
||||
/* 01060 809FEC90 AC800118 */ sw $zero, 0x0118($a0) ## 00000118
|
||||
/* 01064 809FEC94 0C27F70C */ jal func_809FDC30
|
||||
/* 01068 809FEC98 24A5ECE4 */ addiu $a1, $a1, %lo(func_809FECE4) ## $a1 = 809FECE4
|
||||
/* 0106C 809FEC9C 1000000E */ beq $zero, $zero, .L809FECD8
|
||||
/* 01070 809FECA0 8FBF001C */ lw $ra, 0x001C($sp)
|
||||
.L809FECA4:
|
||||
/* 01074 809FECA4 3C013F80 */ lui $at, 0x3F80 ## $at = 3F800000
|
||||
/* 01078 809FECA8 44816000 */ mtc1 $at, $f12 ## $f12 = 1.00
|
||||
/* 0107C 809FECAC C4840090 */ lwc1 $f4, 0x0090($a0) ## 00000090
|
||||
/* 01080 809FECB0 C4800094 */ lwc1 $f0, 0x0094($a0) ## 00000094
|
||||
/* 01084 809FECB4 8FA50024 */ lw $a1, 0x0024($sp)
|
||||
/* 01088 809FECB8 460C2080 */ add.s $f2, $f4, $f12
|
||||
/* 0108C 809FECBC 24060054 */ addiu $a2, $zero, 0x0054 ## $a2 = 00000054
|
||||
/* 01090 809FECC0 46000005 */ abs.s $f0, $f0
|
||||
/* 01094 809FECC4 44071000 */ mfc1 $a3, $f2
|
||||
/* 01098 809FECC8 460C0180 */ add.s $f6, $f0, $f12
|
||||
/* 0109C 809FECCC 0C00BD0D */ jal func_8002F434
|
||||
/* 010A0 809FECD0 E7A60010 */ swc1 $f6, 0x0010($sp)
|
||||
/* 010A4 809FECD4 8FBF001C */ lw $ra, 0x001C($sp)
|
||||
.L809FECD8:
|
||||
/* 010A8 809FECD8 27BD0020 */ addiu $sp, $sp, 0x0020 ## $sp = 00000000
|
||||
/* 010AC 809FECDC 03E00008 */ jr $ra
|
||||
/* 010B0 809FECE0 00000000 */ nop
|
|
@ -1,16 +0,0 @@
|
|||
glabel func_809FECE4
|
||||
/* 010B4 809FECE4 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
|
||||
/* 010B8 809FECE8 AFBF0014 */ sw $ra, 0x0014($sp)
|
||||
/* 010BC 809FECEC AFA5001C */ sw $a1, 0x001C($sp)
|
||||
/* 010C0 809FECF0 848E01F4 */ lh $t6, 0x01F4($a0) ## 000001F4
|
||||
/* 010C4 809FECF4 24010003 */ addiu $at, $zero, 0x0003 ## $at = 00000003
|
||||
/* 010C8 809FECF8 3C0580A0 */ lui $a1, %hi(func_809FE3C0) ## $a1 = 80A00000
|
||||
/* 010CC 809FECFC 15C10003 */ bne $t6, $at, .L809FED0C
|
||||
/* 010D0 809FED00 24A5E3C0 */ addiu $a1, $a1, %lo(func_809FE3C0) ## $a1 = 809FE3C0
|
||||
/* 010D4 809FED04 0C27F70C */ jal func_809FDC30
|
||||
/* 010D8 809FED08 A48001F4 */ sh $zero, 0x01F4($a0) ## 000001F4
|
||||
.L809FED0C:
|
||||
/* 010DC 809FED0C 8FBF0014 */ lw $ra, 0x0014($sp)
|
||||
/* 010E0 809FED10 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
|
||||
/* 010E4 809FED14 03E00008 */ jr $ra
|
||||
/* 010E8 809FED18 00000000 */ nop
|
|
@ -1,110 +0,0 @@
|
|||
.late_rodata
|
||||
glabel D_809FF488
|
||||
.float 3.14159274101
|
||||
|
||||
glabel D_809FF48C
|
||||
.float 3.14159274101
|
||||
|
||||
glabel D_809FF490
|
||||
.float 3.14159274101
|
||||
|
||||
glabel D_809FF494
|
||||
.float 3.14159274101
|
||||
|
||||
.text
|
||||
glabel func_809FEEA4
|
||||
/* 01274 809FEEA4 27BDFFD8 */ addiu $sp, $sp, 0xFFD8 ## $sp = FFFFFFD8
|
||||
/* 01278 809FEEA8 24010010 */ addiu $at, $zero, 0x0010 ## $at = 00000010
|
||||
/* 0127C 809FEEAC AFBF0014 */ sw $ra, 0x0014($sp)
|
||||
/* 01280 809FEEB0 AFA40028 */ sw $a0, 0x0028($sp)
|
||||
/* 01284 809FEEB4 AFA5002C */ sw $a1, 0x002C($sp)
|
||||
/* 01288 809FEEB8 AFA60030 */ sw $a2, 0x0030($sp)
|
||||
/* 0128C 809FEEBC 14A1002D */ bne $a1, $at, .L809FEF74
|
||||
/* 01290 809FEEC0 AFA70034 */ sw $a3, 0x0034($sp)
|
||||
/* 01294 809FEEC4 44807000 */ mtc1 $zero, $f14 ## $f14 = 0.00
|
||||
/* 01298 809FEEC8 3C014516 */ lui $at, 0x4516 ## $at = 45160000
|
||||
/* 0129C 809FEECC 44816000 */ mtc1 $at, $f12 ## $f12 = 2400.00
|
||||
/* 012A0 809FEED0 44067000 */ mfc1 $a2, $f14
|
||||
/* 012A4 809FEED4 0C034261 */ jal Matrix_Translate
|
||||
/* 012A8 809FEED8 24070001 */ addiu $a3, $zero, 0x0001 ## $a3 = 00000001
|
||||
/* 012AC 809FEEDC 8FB8003C */ lw $t8, 0x003C($sp)
|
||||
/* 012B0 809FEEE0 27AF001C */ addiu $t7, $sp, 0x001C ## $t7 = FFFFFFF4
|
||||
/* 012B4 809FEEE4 3C014700 */ lui $at, 0x4700 ## $at = 47000000
|
||||
/* 012B8 809FEEE8 8B0801FC */ lwl $t0, 0x01FC($t8) ## 000001FC
|
||||
/* 012BC 809FEEEC 9B0801FF */ lwr $t0, 0x01FF($t8) ## 000001FF
|
||||
/* 012C0 809FEEF0 44814000 */ mtc1 $at, $f8 ## $f8 = 32768.00
|
||||
/* 012C4 809FEEF4 3C0180A0 */ lui $at, %hi(D_809FF488) ## $at = 80A00000
|
||||
/* 012C8 809FEEF8 ADE80000 */ sw $t0, 0x0000($t7) ## FFFFFFF4
|
||||
/* 012CC 809FEEFC 97080200 */ lhu $t0, 0x0200($t8) ## 00000200
|
||||
/* 012D0 809FEF00 24050001 */ addiu $a1, $zero, 0x0001 ## $a1 = 00000001
|
||||
/* 012D4 809FEF04 A5E80004 */ sh $t0, 0x0004($t7) ## FFFFFFF8
|
||||
/* 012D8 809FEF08 87A9001E */ lh $t1, 0x001E($sp)
|
||||
/* 012DC 809FEF0C C430F488 */ lwc1 $f16, %lo(D_809FF488)($at)
|
||||
/* 012E0 809FEF10 44892000 */ mtc1 $t1, $f4 ## $f4 = 0.00
|
||||
/* 012E4 809FEF14 00000000 */ nop
|
||||
/* 012E8 809FEF18 468021A0 */ cvt.s.w $f6, $f4
|
||||
/* 012EC 809FEF1C 46083283 */ div.s $f10, $f6, $f8
|
||||
/* 012F0 809FEF20 46105302 */ mul.s $f12, $f10, $f16
|
||||
/* 012F4 809FEF24 0C0342DC */ jal Matrix_RotateX
|
||||
/* 012F8 809FEF28 00000000 */ nop
|
||||
/* 012FC 809FEF2C 87AA001C */ lh $t2, 0x001C($sp)
|
||||
/* 01300 809FEF30 3C014700 */ lui $at, 0x4700 ## $at = 47000000
|
||||
/* 01304 809FEF34 44813000 */ mtc1 $at, $f6 ## $f6 = 32768.00
|
||||
/* 01308 809FEF38 448A9000 */ mtc1 $t2, $f18 ## $f18 = 0.00
|
||||
/* 0130C 809FEF3C 3C0180A0 */ lui $at, %hi(D_809FF48C) ## $at = 80A00000
|
||||
/* 01310 809FEF40 C42AF48C */ lwc1 $f10, %lo(D_809FF48C)($at)
|
||||
/* 01314 809FEF44 46809120 */ cvt.s.w $f4, $f18
|
||||
/* 01318 809FEF48 24050001 */ addiu $a1, $zero, 0x0001 ## $a1 = 00000001
|
||||
/* 0131C 809FEF4C 46062203 */ div.s $f8, $f4, $f6
|
||||
/* 01320 809FEF50 460A4302 */ mul.s $f12, $f8, $f10
|
||||
/* 01324 809FEF54 0C0343B5 */ jal Matrix_RotateZ
|
||||
/* 01328 809FEF58 00000000 */ nop
|
||||
/* 0132C 809FEF5C 44807000 */ mtc1 $zero, $f14 ## $f14 = 0.00
|
||||
/* 01330 809FEF60 3C01C516 */ lui $at, 0xC516 ## $at = C5160000
|
||||
/* 01334 809FEF64 44816000 */ mtc1 $at, $f12 ## $f12 = -2400.00
|
||||
/* 01338 809FEF68 44067000 */ mfc1 $a2, $f14
|
||||
/* 0133C 809FEF6C 0C034261 */ jal Matrix_Translate
|
||||
/* 01340 809FEF70 24070001 */ addiu $a3, $zero, 0x0001 ## $a3 = 00000001
|
||||
.L809FEF74:
|
||||
/* 01344 809FEF74 8FAB002C */ lw $t3, 0x002C($sp)
|
||||
/* 01348 809FEF78 24010008 */ addiu $at, $zero, 0x0008 ## $at = 00000008
|
||||
/* 0134C 809FEF7C 8FAD003C */ lw $t5, 0x003C($sp)
|
||||
/* 01350 809FEF80 55610021 */ bnel $t3, $at, .L809FF008
|
||||
/* 01354 809FEF84 8FBF0014 */ lw $ra, 0x0014($sp)
|
||||
/* 01358 809FEF88 89AF0202 */ lwl $t7, 0x0202($t5) ## 00000202
|
||||
/* 0135C 809FEF8C 99AF0205 */ lwr $t7, 0x0205($t5) ## 00000205
|
||||
/* 01360 809FEF90 27AC001C */ addiu $t4, $sp, 0x001C ## $t4 = FFFFFFF4
|
||||
/* 01364 809FEF94 3C014700 */ lui $at, 0x4700 ## $at = 47000000
|
||||
/* 01368 809FEF98 AD8F0000 */ sw $t7, 0x0000($t4) ## FFFFFFF4
|
||||
/* 0136C 809FEF9C 95AF0206 */ lhu $t7, 0x0206($t5) ## 00000206
|
||||
/* 01370 809FEFA0 44812000 */ mtc1 $at, $f4 ## $f4 = 32768.00
|
||||
/* 01374 809FEFA4 3C0180A0 */ lui $at, %hi(D_809FF490) ## $at = 80A00000
|
||||
/* 01378 809FEFA8 A58F0004 */ sh $t7, 0x0004($t4) ## FFFFFFF8
|
||||
/* 0137C 809FEFAC 87B8001E */ lh $t8, 0x001E($sp)
|
||||
/* 01380 809FEFB0 C428F490 */ lwc1 $f8, %lo(D_809FF490)($at)
|
||||
/* 01384 809FEFB4 24050001 */ addiu $a1, $zero, 0x0001 ## $a1 = 00000001
|
||||
/* 01388 809FEFB8 44988000 */ mtc1 $t8, $f16 ## $f16 = 0.00
|
||||
/* 0138C 809FEFBC 00000000 */ nop
|
||||
/* 01390 809FEFC0 468084A0 */ cvt.s.w $f18, $f16
|
||||
/* 01394 809FEFC4 46049183 */ div.s $f6, $f18, $f4
|
||||
/* 01398 809FEFC8 46083302 */ mul.s $f12, $f6, $f8
|
||||
/* 0139C 809FEFCC 0C034348 */ jal Matrix_RotateY
|
||||
/* 013A0 809FEFD0 00000000 */ nop
|
||||
/* 013A4 809FEFD4 87B9001C */ lh $t9, 0x001C($sp)
|
||||
/* 013A8 809FEFD8 3C014700 */ lui $at, 0x4700 ## $at = 47000000
|
||||
/* 013AC 809FEFDC 44819000 */ mtc1 $at, $f18 ## $f18 = 32768.00
|
||||
/* 013B0 809FEFE0 44995000 */ mtc1 $t9, $f10 ## $f10 = 0.00
|
||||
/* 013B4 809FEFE4 3C0180A0 */ lui $at, %hi(D_809FF494) ## $at = 80A00000
|
||||
/* 013B8 809FEFE8 C426F494 */ lwc1 $f6, %lo(D_809FF494)($at)
|
||||
/* 013BC 809FEFEC 46805420 */ cvt.s.w $f16, $f10
|
||||
/* 013C0 809FEFF0 24050001 */ addiu $a1, $zero, 0x0001 ## $a1 = 00000001
|
||||
/* 013C4 809FEFF4 46128103 */ div.s $f4, $f16, $f18
|
||||
/* 013C8 809FEFF8 46062302 */ mul.s $f12, $f4, $f6
|
||||
/* 013CC 809FEFFC 0C0342DC */ jal Matrix_RotateX
|
||||
/* 013D0 809FF000 00000000 */ nop
|
||||
/* 013D4 809FF004 8FBF0014 */ lw $ra, 0x0014($sp)
|
||||
.L809FF008:
|
||||
/* 013D8 809FF008 27BD0028 */ addiu $sp, $sp, 0x0028 ## $sp = 00000000
|
||||
/* 013DC 809FF00C 00001025 */ or $v0, $zero, $zero ## $v0 = 00000000
|
||||
/* 013E0 809FF010 03E00008 */ jr $ra
|
||||
/* 013E4 809FF014 00000000 */ nop
|
|
@ -1,25 +0,0 @@
|
|||
glabel func_809FF018
|
||||
/* 013E8 809FF018 27BDFFD8 */ addiu $sp, $sp, 0xFFD8 ## $sp = FFFFFFD8
|
||||
/* 013EC 809FF01C 3C0E80A0 */ lui $t6, %hi(D_809FF40C) ## $t6 = 80A00000
|
||||
/* 013F0 809FF020 AFBF0014 */ sw $ra, 0x0014($sp)
|
||||
/* 013F4 809FF024 AFA40028 */ sw $a0, 0x0028($sp)
|
||||
/* 013F8 809FF028 AFA60030 */ sw $a2, 0x0030($sp)
|
||||
/* 013FC 809FF02C AFA70034 */ sw $a3, 0x0034($sp)
|
||||
/* 01400 809FF030 25CEF40C */ addiu $t6, $t6, %lo(D_809FF40C) ## $t6 = 809FF40C
|
||||
/* 01404 809FF034 8DD80000 */ lw $t8, 0x0000($t6) ## 809FF40C
|
||||
/* 01408 809FF038 27A40018 */ addiu $a0, $sp, 0x0018 ## $a0 = FFFFFFF0
|
||||
/* 0140C 809FF03C 24010010 */ addiu $at, $zero, 0x0010 ## $at = 00000010
|
||||
/* 01410 809FF040 AC980000 */ sw $t8, 0x0000($a0) ## FFFFFFF0
|
||||
/* 01414 809FF044 8DCF0004 */ lw $t7, 0x0004($t6) ## 809FF410
|
||||
/* 01418 809FF048 AC8F0004 */ sw $t7, 0x0004($a0) ## FFFFFFF4
|
||||
/* 0141C 809FF04C 8DD80008 */ lw $t8, 0x0008($t6) ## 809FF414
|
||||
/* 01420 809FF050 14A10004 */ bne $a1, $at, .L809FF064
|
||||
/* 01424 809FF054 AC980008 */ sw $t8, 0x0008($a0) ## FFFFFFF8
|
||||
/* 01428 809FF058 8FA50038 */ lw $a1, 0x0038($sp)
|
||||
/* 0142C 809FF05C 0C0346BD */ jal Matrix_MultVec3f
|
||||
/* 01430 809FF060 24A50038 */ addiu $a1, $a1, 0x0038 ## $a1 = 00000038
|
||||
.L809FF064:
|
||||
/* 01434 809FF064 8FBF0014 */ lw $ra, 0x0014($sp)
|
||||
/* 01438 809FF068 27BD0028 */ addiu $sp, $sp, 0x0028 ## $sp = 00000000
|
||||
/* 0143C 809FF06C 03E00008 */ jr $ra
|
||||
/* 01440 809FF070 00000000 */ nop
|
|
@ -1,38 +0,0 @@
|
|||
.include "macro.inc"
|
||||
|
||||
# assembler directives
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.section .data
|
||||
|
||||
.balign 16
|
||||
|
||||
glabel En_Du_InitVars
|
||||
.word 0x00980400, 0x02000009, 0x009D0000, 0x0000021C
|
||||
.word EnDu_Init
|
||||
.word EnDu_Destroy
|
||||
.word EnDu_Update
|
||||
.word EnDu_Draw
|
||||
glabel D_809FF230
|
||||
.word 0x0A000039, 0x20010000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000100, 0x0014002E, 0x00000000, 0x00000000
|
||||
glabel D_809FF25C
|
||||
.word 0x00000000, 0x00000000, 0xFF000000
|
||||
glabel D_809FF268
|
||||
.word 0x06006EB0, 0x3F800000, 0x00000000, 0xBF800000, 0x00000000, 0x00000000, 0x06006EB0, 0x3F800000, 0x00000000, 0xBF800000, 0x00000000, 0xC1200000, 0x06000800, 0x3F800000, 0x00000000, 0xBF800000, 0x00000000, 0xC1200000, 0x06000D00, 0x3F800000, 0x00000000, 0xBF800000, 0x00000000, 0xC1200000, 0x06001D70, 0x3F800000, 0x00000000, 0xBF800000, 0x00000000, 0xC1200000, 0x06002374, 0x3F800000, 0x00000000, 0xBF800000, 0x00000000, 0xC1200000, 0x0600288C, 0x3F800000, 0x00000000, 0xBF800000, 0x00000000, 0xC1200000, 0x06002D94, 0x3F800000, 0x00000000, 0xBF800000, 0x02000000, 0xC1200000, 0x06002D94, 0x3F800000, 0x00000000, 0xBF800000, 0x02000000, 0x00000000, 0x06003D48, 0x3F800000, 0x00000000, 0xBF800000, 0x02000000, 0x00000000, 0x06004C04, 0x3F800000, 0x00000000, 0xBF800000, 0x02000000, 0x00000000, 0x06003A30, 0x3F800000, 0x00000000, 0xBF800000, 0x02000000, 0x00000000, 0x060046F4, 0x3F800000, 0x00000000, 0xBF800000, 0x00000000, 0x00000000, 0x06004ED8, 0x3F800000, 0x00000000, 0xBF800000, 0x02000000, 0x00000000, 0x060041F4, 0x3F800000, 0x00000000, 0xBF800000, 0x02000000, 0xC0C00000
|
||||
glabel D_809FF3D0
|
||||
.word 0x00000008, 0x00000008, 0x00000008, 0x00000008, 0x00000009, 0x0000000A, 0x0000000A, 0x0000000D
|
||||
glabel D_809FF3F0
|
||||
.word 0x00000008, 0x00000008, 0x0000000B, 0x0000000C
|
||||
glabel D_809FF400
|
||||
.word 0x00000000, 0x00000000, 0x00000000
|
||||
glabel D_809FF40C
|
||||
.word 0x00000000, 0xC47A0000, 0x00000000
|
||||
glabel D_809FF418
|
||||
.word 0x06008080, 0x06008480, 0x06008880, 0x0600A540
|
||||
glabel D_809FF428
|
||||
.word 0x06008C80, 0x06009D40, 0x0600A940, 0x0600B180
|
||||
glabel D_809FF438
|
||||
.word 0x06007FC0, 0x0600B140
|
||||
|
|
@ -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_809FF4A0
|
||||
.incbin "baserom/ovl_En_Du", 0x1870, 0x00000250
|
|
@ -2599,6 +2599,7 @@ void func_8010B720(GlobalContext* globalCtx, u16 textId);
|
|||
// ? func_8010B820(?);
|
||||
// ? func_8010BD58(?);
|
||||
void func_8010BD58(GlobalContext* globalCtx, u16 arg1);
|
||||
void func_8010BD88(GlobalContext* globalCtx, u16 arg1);
|
||||
u8 func_8010BDBC(MessageContext* msgCtx);
|
||||
// ? func_8010BED8(?);
|
||||
// ? func_8010C358(?);
|
||||
|
|
3
spec
3
spec
|
@ -2158,8 +2158,7 @@ endseg
|
|||
beginseg
|
||||
name "ovl_En_Du"
|
||||
include "build/src/overlays/actors/ovl_En_Du/z_en_du.o"
|
||||
include "build/data/overlays/actors/z_en_du.data.o"
|
||||
include "build/data/overlays/actors/z_en_du.reloc.o"
|
||||
include "build/src/overlays/actors/ovl_En_Du/ovl_En_Du_reloc.o"
|
||||
endseg
|
||||
|
||||
beginseg
|
||||
|
|
|
@ -9,13 +9,19 @@ void EnDu_Destroy(Actor* thisx, GlobalContext* globalCtx);
|
|||
void EnDu_Update(Actor* thisx, GlobalContext* globalCtx);
|
||||
void EnDu_Draw(Actor* thisx, GlobalContext* globalCtx);
|
||||
|
||||
extern UNK_TYPE D_020059E0;
|
||||
extern UNK_TYPE D_02006930;
|
||||
extern UNK_TYPE D_02007DE0;
|
||||
extern UNK_TYPE D_060041F4;
|
||||
extern UNK_TYPE D_06011CA8;
|
||||
void func_809FE3B4(EnDu* this, GlobalContext* globalCtx);
|
||||
void func_809FE3C0(EnDu* this, GlobalContext* globalCtx);
|
||||
void func_809FE638(EnDu* this, GlobalContext* globalCtx);
|
||||
void func_809FE890(EnDu* this, GlobalContext* globalCtx);
|
||||
void func_809FE4A4(EnDu* this, GlobalContext* globalCtx);
|
||||
void func_809FE6CC(EnDu* this, GlobalContext* globalCtx);
|
||||
void func_809FE740(EnDu* this, GlobalContext* globalCtx);
|
||||
void func_809FE798(EnDu* this, GlobalContext* globalCtx);
|
||||
void func_809FEC14(EnDu* this, GlobalContext* globalCtx);
|
||||
void func_809FEC70(EnDu* this, GlobalContext* globalCtx);
|
||||
void func_809FECE4(EnDu* this, GlobalContext* globalCtx);
|
||||
void func_809FEB08(EnDu* this, GlobalContext* globalCtx);
|
||||
|
||||
/*
|
||||
const ActorInit En_Du_InitVars = {
|
||||
ACTOR_EN_DU,
|
||||
ACTORCAT_NPC,
|
||||
|
@ -28,7 +34,7 @@ const ActorInit En_Du_InitVars = {
|
|||
(ActorFunc)EnDu_Draw,
|
||||
};
|
||||
|
||||
static ColliderCylinderInit D_809FF230 = {
|
||||
static ColliderCylinderInit sCylinderInit = {
|
||||
{
|
||||
COLTYPE_NONE,
|
||||
AT_NONE,
|
||||
|
@ -47,59 +53,549 @@ static ColliderCylinderInit D_809FF230 = {
|
|||
},
|
||||
{ 20, 46, 0, { 0, 0, 0 } },
|
||||
};
|
||||
*/
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Du/func_809FDC30.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Du/func_809FDC38.s")
|
||||
static CollisionCheckInfoInit2 sColChkInfoInit = {
|
||||
0, 0, 0, 0, MASS_IMMOVABLE,
|
||||
};
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Du/func_809FDCDC.s")
|
||||
static struct_80034EC0_Entry sAnimations[] = {
|
||||
{ 0x06006EB0, 1.0f, 0.0f, -1.0f, ANIMMODE_LOOP, 0.0f }, { 0x06006EB0, 1.0f, 0.0f, -1.0f, ANIMMODE_LOOP, -10.0f },
|
||||
{ 0x06000800, 1.0f, 0.0f, -1.0f, ANIMMODE_LOOP, -10.0f }, { 0x06000D00, 1.0f, 0.0f, -1.0f, ANIMMODE_LOOP, -10.0f },
|
||||
{ 0x06001D70, 1.0f, 0.0f, -1.0f, ANIMMODE_LOOP, -10.0f }, { 0x06002374, 1.0f, 0.0f, -1.0f, ANIMMODE_LOOP, -10.0f },
|
||||
{ 0x0600288C, 1.0f, 0.0f, -1.0f, ANIMMODE_LOOP, -10.0f }, { 0x06002D94, 1.0f, 0.0f, -1.0f, ANIMMODE_ONCE, -10.0f },
|
||||
{ 0x06002D94, 1.0f, 0.0f, -1.0f, ANIMMODE_ONCE, 0.0f }, { 0x06003D48, 1.0f, 0.0f, -1.0f, ANIMMODE_ONCE, 0.0f },
|
||||
{ 0x06004C04, 1.0f, 0.0f, -1.0f, ANIMMODE_ONCE, 0.0f }, { 0x06003A30, 1.0f, 0.0f, -1.0f, ANIMMODE_ONCE, 0.0f },
|
||||
{ 0x060046F4, 1.0f, 0.0f, -1.0f, ANIMMODE_LOOP, 0.0f }, { 0x06004ED8, 1.0f, 0.0f, -1.0f, ANIMMODE_ONCE, 0.0f },
|
||||
{ 0x060041F4, 1.0f, 0.0f, -1.0f, ANIMMODE_ONCE, -6.0f },
|
||||
};
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Du/func_809FDDB4.s")
|
||||
extern CutsceneData D_020059E0[];
|
||||
extern CutsceneData D_02006930[];
|
||||
extern CutsceneData D_02007DE0[];
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Du/func_809FDE24.s")
|
||||
extern AnimationHeader D_060041F4;
|
||||
extern FlexSkeletonHeader D_06011CA8;
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Du/func_809FDE9C.s")
|
||||
void EnDu_SetupAction(EnDu* this, EnDuActionFunc actionFunc) {
|
||||
this->actionFunc = actionFunc;
|
||||
}
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Du/func_809FDFC0.s")
|
||||
u16 func_809FDC38(GlobalContext* globalCtx, Actor* actor) {
|
||||
u16 reaction = Text_GetFaceReaction(globalCtx, 0x21);
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Du/func_809FE000.s")
|
||||
if (reaction != 0) {
|
||||
return reaction;
|
||||
}
|
||||
if (CUR_UPG_VALUE(UPG_STRENGTH)) {
|
||||
if (CHECK_QUEST_ITEM(QUEST_GORON_RUBY)) {
|
||||
return 0x301E;
|
||||
} else {
|
||||
return 0x301D;
|
||||
}
|
||||
}
|
||||
if (gSaveContext.infTable[0x11] & 8) {
|
||||
return 0x301B;
|
||||
} else {
|
||||
return 0x301A;
|
||||
}
|
||||
}
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Du/func_809FE040.s")
|
||||
s16 func_809FDCDC(GlobalContext* globalCtx, Actor* actor) {
|
||||
switch (func_8010BDBC(&globalCtx->msgCtx)) {
|
||||
case 0:
|
||||
case 1:
|
||||
break;
|
||||
case 2:
|
||||
switch (actor->textId) {
|
||||
case 0x301A:
|
||||
gSaveContext.infTable[0x11] |= 8;
|
||||
break;
|
||||
case 0x301C:
|
||||
case 0x301F:
|
||||
return 2;
|
||||
case 0x3020:
|
||||
gSaveContext.eventChkInf[0x2] |= 4;
|
||||
break;
|
||||
}
|
||||
return 0;
|
||||
case 3:
|
||||
case 4:
|
||||
case 5:
|
||||
break;
|
||||
case 6:
|
||||
if (func_80106BC8(globalCtx)) {
|
||||
return 3;
|
||||
}
|
||||
break;
|
||||
case 7:
|
||||
case 8:
|
||||
case 9:
|
||||
break;
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Du/func_809FE104.s")
|
||||
s32 func_809FDDB4(EnDu* this, GlobalContext* globalCtx) {
|
||||
if (globalCtx->sceneNum == SCENE_SPOT18 && gSaveContext.linkAge == 1) {
|
||||
return 1;
|
||||
} else if (globalCtx->sceneNum == SCENE_HIDAN && !(gSaveContext.infTable[0x11] & 0x400) && LINK_IS_ADULT) {
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Du/EnDu_Init.s")
|
||||
void func_809FDE24(EnDu* this, GlobalContext* globalCtx) {
|
||||
Player* player = PLAYER;
|
||||
s16 phi_a3 = 0;
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Du/EnDu_Destroy.s")
|
||||
if (this->unk_1F4.unk_00 == 0) {
|
||||
phi_a3 = 1;
|
||||
}
|
||||
if (this->actionFunc == func_809FE890) {
|
||||
phi_a3 = 1;
|
||||
}
|
||||
this->unk_1F4.unk_18 = player->actor.world.pos;
|
||||
this->unk_1F4.unk_14 = 10.0f;
|
||||
func_80034A14(&this->actor, &this->unk_1F4, 3, phi_a3);
|
||||
}
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Du/func_809FE3B4.s")
|
||||
void func_809FDE9C(EnDu* this) {
|
||||
if (this->unk_1F2 > 0) {
|
||||
this->unk_1F2--;
|
||||
} else {
|
||||
this->unk_1F2 = 0;
|
||||
}
|
||||
if (this->unk_1F2 < 3) {
|
||||
this->unk_1EF = this->unk_1F2;
|
||||
}
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Du/func_809FE3C0.s")
|
||||
switch (this->unk_1EC) {
|
||||
case 0:
|
||||
if (this->unk_1F2 == 0) {
|
||||
this->unk_1F2 = Rand_S16Offset(0x1E, 0x1E);
|
||||
}
|
||||
break;
|
||||
case 1:
|
||||
if (this->unk_1F2 == 0) {
|
||||
this->unk_1EF = 2;
|
||||
}
|
||||
break;
|
||||
case 2:
|
||||
if (this->unk_1F2 == 0) {
|
||||
this->unk_1EF = 2;
|
||||
}
|
||||
break;
|
||||
case 3:
|
||||
if (this->unk_1F2 == 0) {
|
||||
this->unk_1EF = 0;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Du/func_809FE4A4.s")
|
||||
switch (this->unk_1ED) {
|
||||
case 1:
|
||||
this->unk_1F0 = 1;
|
||||
break;
|
||||
case 2:
|
||||
this->unk_1F0 = 2;
|
||||
break;
|
||||
case 3:
|
||||
this->unk_1F0 = 3;
|
||||
break;
|
||||
default:
|
||||
this->unk_1F0 = 0;
|
||||
break;
|
||||
}
|
||||
if (this->unk_1EE == 1) {
|
||||
this->unk_1F1 = 1;
|
||||
} else {
|
||||
this->unk_1F1 = 0;
|
||||
}
|
||||
}
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Du/func_809FE638.s")
|
||||
void func_809FDFC0(CsCmdActorAction* csAction, Vec3f* dst) {
|
||||
dst->x = csAction->startPos.x;
|
||||
dst->y = csAction->startPos.y;
|
||||
dst->z = csAction->startPos.z;
|
||||
}
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Du/func_809FE6CC.s")
|
||||
void func_809FE000(CsCmdActorAction* csAction, Vec3f* dst) {
|
||||
dst->x = csAction->endPos.x;
|
||||
dst->y = csAction->endPos.y;
|
||||
dst->z = csAction->endPos.z;
|
||||
}
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Du/func_809FE740.s")
|
||||
void func_809FE040(EnDu* this) {
|
||||
s32 animationIndices[] = { 8, 8, 8, 8, 9, 10, 10, 13 };
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Du/func_809FE798.s")
|
||||
if (Animation_OnFrame(&this->skelAnime, this->skelAnime.endFrame)) {
|
||||
this->unk_1E6++;
|
||||
if (this->unk_1E6 >= 8) {
|
||||
this->unk_1E6 = 0;
|
||||
}
|
||||
func_80034EC0(&this->skelAnime, sAnimations, animationIndices[this->unk_1E6]);
|
||||
}
|
||||
}
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Du/func_809FE890.s")
|
||||
void func_809FE104(EnDu* this) {
|
||||
s32 animationIndices[] = { 8, 8, 11, 12 };
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Du/func_809FEB08.s")
|
||||
if (this->unk_1E6 < 4) {
|
||||
if (Animation_OnFrame(&this->skelAnime, this->skelAnime.endFrame)) {
|
||||
this->unk_1E6++;
|
||||
if (this->unk_1E6 < 4) {
|
||||
func_80034EC0(&this->skelAnime, sAnimations, animationIndices[this->unk_1E6]);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Du/func_809FEC14.s")
|
||||
void EnDu_Init(Actor* thisx, GlobalContext* globalCtx) {
|
||||
EnDu* this = THIS;
|
||||
s32 pad;
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Du/func_809FEC70.s")
|
||||
ActorShape_Init(&this->actor.shape, 0.0f, ActorShadow_DrawCircle, 30.0f);
|
||||
SkelAnime_InitFlex(globalCtx, &this->skelAnime, &D_06011CA8, NULL, 0, 0, 0);
|
||||
Collider_InitCylinder(globalCtx, &this->collider);
|
||||
Collider_SetCylinder(globalCtx, &this->collider, &this->actor, &sCylinderInit);
|
||||
CollisionCheck_SetInfo2(&this->actor.colChkInfo, DamageTable_Get(0x16), &sColChkInfoInit);
|
||||
if (func_809FDDB4(this, globalCtx) == 0) {
|
||||
Actor_Kill(&this->actor);
|
||||
return;
|
||||
}
|
||||
func_80034EC0(&this->skelAnime, sAnimations, 0);
|
||||
Actor_SetScale(&this->actor, 0.01f);
|
||||
this->actor.targetMode = 1;
|
||||
this->unk_1F4.unk_00 = 0;
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Du/func_809FECE4.s")
|
||||
if (gSaveContext.cutsceneIndex >= 0xFFF0) {
|
||||
globalCtx->csCtx.segment = SEGMENTED_TO_VIRTUAL(D_02006930);
|
||||
gSaveContext.cutsceneTrigger = 1;
|
||||
EnDu_SetupAction(this, func_809FE890);
|
||||
} else if (globalCtx->sceneNum == 4) {
|
||||
EnDu_SetupAction(this, func_809FE638);
|
||||
} else if (gSaveContext.linkAge != 0) {
|
||||
EnDu_SetupAction(this, func_809FE3C0);
|
||||
} else {
|
||||
EnDu_SetupAction(this, func_809FE3B4);
|
||||
}
|
||||
}
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Du/EnDu_Update.s")
|
||||
void EnDu_Destroy(Actor* thisx, GlobalContext* globalCtx) {
|
||||
EnDu* this = THIS;
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Du/func_809FEEA4.s")
|
||||
SkelAnime_Free(&this->skelAnime, globalCtx);
|
||||
Collider_DestroyCylinder(globalCtx, &this->collider);
|
||||
}
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Du/func_809FF018.s")
|
||||
void func_809FE3B4(EnDu* this, GlobalContext* globalCtx) {
|
||||
}
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Du/EnDu_Draw.s")
|
||||
void func_809FE3C0(EnDu* this, GlobalContext* globalCtx) {
|
||||
Player* player = PLAYER;
|
||||
|
||||
if (player->stateFlags2 & 0x1000000) {
|
||||
func_8010BD88(globalCtx, 0x22);
|
||||
player->stateFlags2 |= 0x2000000;
|
||||
player->unk_6A8 = &this->actor;
|
||||
EnDu_SetupAction(this, func_809FE4A4);
|
||||
return;
|
||||
}
|
||||
if (this->unk_1F4.unk_00 == 2) {
|
||||
func_8002DF54(globalCtx, &this->actor, 7);
|
||||
this->unk_1F4.unk_00 = 0;
|
||||
}
|
||||
if (this->actor.xzDistToPlayer < 116.0f + this->collider.dim.radius) {
|
||||
player->stateFlags2 |= 0x800000;
|
||||
}
|
||||
}
|
||||
|
||||
void func_809FE4A4(EnDu* this, GlobalContext* globalCtx) {
|
||||
Player* player = PLAYER;
|
||||
|
||||
if (globalCtx->msgCtx.unk_E3EE == 4) {
|
||||
globalCtx->msgCtx.unk_E3EE = 0;
|
||||
EnDu_SetupAction(this, func_809FE3C0);
|
||||
} else if (globalCtx->msgCtx.unk_E3EE >= 6) {
|
||||
globalCtx->csCtx.segment = SEGMENTED_TO_VIRTUAL(D_02007DE0);
|
||||
gSaveContext.cutsceneTrigger = 1;
|
||||
this->unk_1E8 = 1;
|
||||
EnDu_SetupAction(this, func_809FE890);
|
||||
globalCtx->msgCtx.unk_E3EE = 4;
|
||||
} else if (globalCtx->msgCtx.unk_E3EE == 3) {
|
||||
Audio_PlaySoundGeneral(NA_SE_SY_CORRECT_CHIME, &D_801333D4, 4, &D_801333E0, &D_801333E0, &D_801333E8);
|
||||
globalCtx->csCtx.segment = SEGMENTED_TO_VIRTUAL(D_020059E0);
|
||||
gSaveContext.cutsceneTrigger = 1;
|
||||
this->unk_1E8 = 0;
|
||||
EnDu_SetupAction(this, func_809FE890);
|
||||
globalCtx->msgCtx.unk_E3EE = 4;
|
||||
} else {
|
||||
player->stateFlags2 |= 0x800000;
|
||||
}
|
||||
}
|
||||
|
||||
void func_809FE638(EnDu* this, GlobalContext* globalCtx) {
|
||||
Player* player = PLAYER;
|
||||
|
||||
if (!(player->stateFlags1 & 0x20000000)) {
|
||||
func_800800F8(globalCtx, 0xD02, -0x63, &this->actor, 0);
|
||||
player->actor.shape.rot.y = player->actor.world.rot.y = this->actor.world.rot.y + 0x7FFF;
|
||||
func_800F5C64(0x51);
|
||||
EnDu_SetupAction(this, func_809FE6CC);
|
||||
this->unk_1E2 = 0x32;
|
||||
}
|
||||
}
|
||||
|
||||
void func_809FE6CC(EnDu* this, GlobalContext* globalCtx) {
|
||||
s16 phi_v1;
|
||||
|
||||
if (this->unk_1E2 == 0) {
|
||||
phi_v1 = 0;
|
||||
} else {
|
||||
this->unk_1E2--;
|
||||
phi_v1 = this->unk_1E2;
|
||||
}
|
||||
if (phi_v1 == 0) {
|
||||
this->actor.textId = 0x3039;
|
||||
func_8010B680(globalCtx, this->actor.textId, NULL);
|
||||
this->unk_1F4.unk_00 = 1;
|
||||
EnDu_SetupAction(this, func_809FE740);
|
||||
}
|
||||
}
|
||||
|
||||
void func_809FE740(EnDu* this, GlobalContext* globalCtx) {
|
||||
if (this->unk_1F4.unk_00 == 0) {
|
||||
func_8005B1A4(ACTIVE_CAM);
|
||||
this->unk_1E2 = 0x5A;
|
||||
EnDu_SetupAction(this, func_809FE798);
|
||||
}
|
||||
}
|
||||
|
||||
void func_809FE798(EnDu* this, GlobalContext* globalCtx) {
|
||||
s32 phi_v0;
|
||||
|
||||
if (this->unk_1E2 == 0) {
|
||||
phi_v0 = 0;
|
||||
} else {
|
||||
this->unk_1E2--;
|
||||
phi_v0 = this->unk_1E2;
|
||||
}
|
||||
if (phi_v0 != 0) {
|
||||
switch (this->unk_1E2) {
|
||||
case 0x50:
|
||||
Audio_PlayActorSound2(&this->actor, NA_SE_EV_CHAIN_KEY_UNLOCK_B);
|
||||
break;
|
||||
case 0x3C:
|
||||
Audio_PlayActorSound2(&this->actor, NA_SE_EV_SLIDE_DOOR_OPEN);
|
||||
break;
|
||||
case 0xF:
|
||||
Audio_PlayActorSound2(&this->actor, NA_SE_EV_SLIDE_DOOR_CLOSE);
|
||||
break;
|
||||
case 5:
|
||||
Audio_PlayActorSound2(&this->actor, NA_SE_EV_STONE_BOUND);
|
||||
break;
|
||||
}
|
||||
if (this->unk_1E2 >= 0x3D) {
|
||||
this->actor.world.pos.x -= 10.0f;
|
||||
}
|
||||
} else {
|
||||
Actor_Kill(&this->actor);
|
||||
gSaveContext.infTable[0x11] |= 0x400;
|
||||
}
|
||||
}
|
||||
|
||||
void func_809FE890(EnDu* this, GlobalContext* globalCtx) {
|
||||
f32 frame;
|
||||
Vec3f startPos;
|
||||
Vec3f endPos;
|
||||
Vec3f velocity = { 0.0f, 0.0f, 0.0f };
|
||||
CsCmdActorAction* csAction;
|
||||
|
||||
if (globalCtx->csCtx.state == 0) {
|
||||
func_8002DF54(globalCtx, &this->actor, 1);
|
||||
EnDu_SetupAction(this, func_809FEB08);
|
||||
return;
|
||||
}
|
||||
csAction = globalCtx->csCtx.npcActions[2];
|
||||
|
||||
if (csAction != NULL) {
|
||||
func_809FDFC0(csAction, &startPos);
|
||||
func_809FE000(csAction, &endPos);
|
||||
if (this->unk_1EA == 0) {
|
||||
func_809FDFC0(csAction, &startPos);
|
||||
this->actor.world.pos = startPos;
|
||||
}
|
||||
if (this->unk_1EA != csAction->action) {
|
||||
if (csAction->action == 1) {
|
||||
func_80034EC0(&this->skelAnime, sAnimations, 1);
|
||||
}
|
||||
if (csAction->action == 7 || csAction->action == 8) {
|
||||
this->unk_1E6 = 0;
|
||||
func_80034EC0(&this->skelAnime, sAnimations, 7);
|
||||
}
|
||||
this->unk_1EA = csAction->action;
|
||||
if (this->unk_1EA == 7) {
|
||||
this->unk_1F2 = 0xB;
|
||||
this->unk_1EC = 2;
|
||||
this->unk_1ED = 2;
|
||||
this->unk_1EE = 1;
|
||||
}
|
||||
if (this->unk_1EA == 8) {
|
||||
this->unk_1F2 = 0xB;
|
||||
this->unk_1EC = 3;
|
||||
this->unk_1ED = 3;
|
||||
this->unk_1EE = 0;
|
||||
}
|
||||
}
|
||||
if (this->unk_1EA == 7) {
|
||||
func_809FE040(this);
|
||||
}
|
||||
if (this->unk_1EA == 8) {
|
||||
func_809FE104(this);
|
||||
}
|
||||
this->actor.shape.rot.x = csAction->urot.x;
|
||||
this->actor.shape.rot.y = csAction->urot.y;
|
||||
this->actor.shape.rot.z = csAction->urot.z;
|
||||
this->actor.velocity = velocity;
|
||||
|
||||
if (globalCtx->csCtx.frames < csAction->endFrame) {
|
||||
frame = csAction->endFrame - csAction->startFrame;
|
||||
|
||||
this->actor.velocity.x = (endPos.x - startPos.x) / frame;
|
||||
this->actor.velocity.y = (endPos.y - startPos.y) / frame;
|
||||
this->actor.velocity.y += this->actor.gravity;
|
||||
if (this->actor.velocity.y < this->actor.minVelocityY) {
|
||||
this->actor.velocity.y = this->actor.minVelocityY;
|
||||
}
|
||||
this->actor.velocity.z = (endPos.z - startPos.z) / frame;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void func_809FEB08(EnDu* this, GlobalContext* globalCtx) {
|
||||
this->unk_1F2 = 0xB;
|
||||
this->unk_1EC = 0;
|
||||
this->unk_1ED = 0;
|
||||
this->unk_1EE = 0;
|
||||
|
||||
if (this->unk_1E8 == 1) {
|
||||
func_8002DF54(globalCtx, &this->actor, 7);
|
||||
func_80034EC0(&this->skelAnime, sAnimations, 1);
|
||||
EnDu_SetupAction(this, func_809FE3C0);
|
||||
return;
|
||||
}
|
||||
if (CUR_UPG_VALUE(UPG_STRENGTH) <= 0) {
|
||||
this->actor.textId = 0x301C;
|
||||
EnDu_SetupAction(this, func_809FEC14);
|
||||
} else {
|
||||
this->actor.textId = 0x301F;
|
||||
EnDu_SetupAction(this, func_809FE3C0);
|
||||
}
|
||||
func_8010B680(globalCtx, this->actor.textId, NULL);
|
||||
func_80034EC0(&this->skelAnime, sAnimations, 0xE);
|
||||
this->unk_1F4.unk_00 = 1;
|
||||
}
|
||||
|
||||
void func_809FEC14(EnDu* this, GlobalContext* globalCtx) {
|
||||
if (this->unk_1F4.unk_00 == 2) {
|
||||
func_8002DF54(globalCtx, &this->actor, 7);
|
||||
EnDu_SetupAction(this, func_809FEC70);
|
||||
func_809FEC70(this, globalCtx);
|
||||
}
|
||||
}
|
||||
|
||||
void func_809FEC70(EnDu* this, GlobalContext* globalCtx) {
|
||||
if (Actor_HasParent(&this->actor, globalCtx)) {
|
||||
this->actor.parent = NULL;
|
||||
EnDu_SetupAction(this, func_809FECE4);
|
||||
} else {
|
||||
f32 xzRange = this->actor.xzDistToPlayer + 1.0f;
|
||||
func_8002F434(&this->actor, globalCtx, 0x54, xzRange, fabsf(this->actor.yDistToPlayer) + 1.0f);
|
||||
}
|
||||
}
|
||||
|
||||
void func_809FECE4(EnDu* this, GlobalContext* globalCtx) {
|
||||
if (this->unk_1F4.unk_00 == 3) {
|
||||
this->unk_1F4.unk_00 = 0;
|
||||
EnDu_SetupAction(this, func_809FE3C0);
|
||||
}
|
||||
}
|
||||
|
||||
void EnDu_Update(Actor* thisx, GlobalContext* globalCtx) {
|
||||
EnDu* this = THIS;
|
||||
s32 pad;
|
||||
|
||||
Collider_UpdateCylinder(&this->actor, &this->collider);
|
||||
CollisionCheck_SetOC(globalCtx, &globalCtx->colChkCtx, &this->collider.base);
|
||||
|
||||
if (this->skelAnime.animation == &D_060041F4 && Animation_OnFrame(&this->skelAnime, this->skelAnime.endFrame)) {
|
||||
func_80034EC0(&this->skelAnime, sAnimations, 1);
|
||||
}
|
||||
|
||||
SkelAnime_Update(&this->skelAnime);
|
||||
func_809FDE9C(this);
|
||||
func_809FDE24(this, globalCtx);
|
||||
|
||||
if (this->actionFunc == func_809FE890) {
|
||||
this->actor.world.pos.x += this->actor.velocity.x;
|
||||
this->actor.world.pos.y += this->actor.velocity.y;
|
||||
this->actor.world.pos.z += this->actor.velocity.z;
|
||||
} else {
|
||||
func_8002D7EC(&this->actor);
|
||||
}
|
||||
|
||||
Actor_UpdateBgCheckInfo(globalCtx, &this->actor, 0.0f, 0.0f, 0.0f, 4);
|
||||
|
||||
if (this->actionFunc != func_809FE4A4) {
|
||||
func_800343CC(globalCtx, &this->actor, &this->unk_1F4.unk_00, this->collider.dim.radius + 116.0f, func_809FDC38,
|
||||
func_809FDCDC);
|
||||
}
|
||||
this->actionFunc(this, globalCtx);
|
||||
}
|
||||
|
||||
s32 EnDu_OverrideLimbDraw(GlobalContext* globalCtx, s32 limbIndex, Gfx** dList, Vec3f* pos, Vec3s* rot, void* thisx,
|
||||
Gfx** gfx) {
|
||||
EnDu* this = THIS;
|
||||
Vec3s sp1C;
|
||||
|
||||
if (limbIndex == 16) {
|
||||
Matrix_Translate(2400.0f, 0.0f, 0.0f, MTXMODE_APPLY);
|
||||
sp1C = this->unk_1F4.unk_08;
|
||||
Matrix_RotateX(BINANG_TO_RAD(sp1C.y), MTXMODE_APPLY);
|
||||
Matrix_RotateZ(BINANG_TO_RAD(sp1C.x), MTXMODE_APPLY);
|
||||
Matrix_Translate(-2400.0f, 0.0f, 0.0f, MTXMODE_APPLY);
|
||||
}
|
||||
if (limbIndex == 8) {
|
||||
sp1C = this->unk_1F4.unk_0E;
|
||||
Matrix_RotateY(BINANG_TO_RAD(sp1C.y), MTXMODE_APPLY);
|
||||
Matrix_RotateX(BINANG_TO_RAD(sp1C.x), MTXMODE_APPLY);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
void EnDu_PostLimbDraw(GlobalContext* globalCtx, s32 limbIndex, Gfx** dList, Vec3s* rot, void* thisx, Gfx** gfx) {
|
||||
EnDu* this = THIS;
|
||||
Vec3f D_809FF40C = { 0.0f, -1000.0f, 0.0f };
|
||||
|
||||
if (limbIndex == 16) {
|
||||
Matrix_MultVec3f(&D_809FF40C, &this->actor.focus.pos);
|
||||
}
|
||||
}
|
||||
|
||||
void EnDu_Draw(Actor* thisx, GlobalContext* globalCtx) {
|
||||
static UNK_TYPE D_809FF418[] = { 0x06008080, 0x06008480, 0x06008880, 0x0600A540 };
|
||||
static UNK_TYPE D_809FF428[] = { 0x06008C80, 0x06009D40, 0x0600A940, 0x0600B180 };
|
||||
static UNK_TYPE D_809FF438[] = { 0x06007FC0, 0x0600B140 };
|
||||
|
||||
EnDu* this = THIS;
|
||||
|
||||
OPEN_DISPS(globalCtx->state.gfxCtx, "../z_en_du.c", 1470);
|
||||
|
||||
gSPSegment(POLY_OPA_DISP++, 0x08, SEGMENTED_TO_VIRTUAL(D_809FF418[this->unk_1EF]));
|
||||
gSPSegment(POLY_OPA_DISP++, 0x09, SEGMENTED_TO_VIRTUAL(D_809FF428[this->unk_1F0]));
|
||||
gSPSegment(POLY_OPA_DISP++, 0x0A, SEGMENTED_TO_VIRTUAL(D_809FF438[this->unk_1F1]));
|
||||
|
||||
func_80034BA0(globalCtx, &this->skelAnime, EnDu_OverrideLimbDraw, EnDu_PostLimbDraw, &this->actor, 255);
|
||||
|
||||
CLOSE_DISPS(globalCtx->state.gfxCtx, "../z_en_du.c", 1487);
|
||||
}
|
||||
|
|
|
@ -6,9 +6,27 @@
|
|||
|
||||
struct EnDu;
|
||||
|
||||
typedef void (*EnDuActionFunc)(struct EnDu*, GlobalContext*);
|
||||
|
||||
typedef struct EnDu {
|
||||
/* 0x0000 */ Actor actor;
|
||||
/* 0x014C */ char unk_14C[0xD0];
|
||||
/* 0x014C */ SkelAnime skelAnime;
|
||||
/* 0x0190 */ EnDuActionFunc actionFunc;
|
||||
/* 0x0194 */ ColliderCylinder collider;
|
||||
/* 0x01E0 */ char unk_1E0[0x2];
|
||||
/* 0x01E2 */ s16 unk_1E2;
|
||||
/* 0x01E4 */ char unk_1E4[0x2];
|
||||
/* 0x01E6 */ s16 unk_1E6;
|
||||
/* 0x01E8 */ s16 unk_1E8;
|
||||
/* 0x01EA */ s16 unk_1EA;
|
||||
/* 0x01EC */ u8 unk_1EC;
|
||||
/* 0x01ED */ u8 unk_1ED;
|
||||
/* 0x01EE */ u8 unk_1EE;
|
||||
/* 0x01EF */ u8 unk_1EF;
|
||||
/* 0x01F0 */ u8 unk_1F0;
|
||||
/* 0x01F1 */ u8 unk_1F1;
|
||||
/* 0x01F2 */ s16 unk_1F2;
|
||||
/* 0x01F4 */ struct_80034A14_arg1 unk_1F4;
|
||||
} EnDu; // size = 0x021C
|
||||
|
||||
extern const ActorInit En_Du_InitVars;
|
||||
|
|
Loading…
Reference in a new issue