1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-01-24 17:47:33 +00:00

Merge branch 'master' into skelanime

This commit is contained in:
KrimtonZ 2020-03-24 11:56:37 -05:00
commit 8bbac143cd
505 changed files with 1439 additions and 2810 deletions

View file

@ -1,132 +0,0 @@
.include "macro.inc"
# assembler directives
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
.set gp=64 # allow use of 64-bit general purposee registers
.section .text
.align 4
glabel func_8008E4E0
/* B05680 8008E4E0 AFA50004 */ sw $a1, 4($sp)
/* B05684 8008E4E4 AFA60008 */ sw $a2, 8($sp)
/* B05688 8008E4E8 00063400 */ sll $a2, $a2, 0x10
/* B0568C 8008E4EC 00052C00 */ sll $a1, $a1, 0x10
/* B05690 8008E4F0 00052C03 */ sra $a1, $a1, 0x10
/* B05694 8008E4F4 00063403 */ sra $a2, $a2, 0x10
/* B05698 8008E4F8 10A60007 */ beq $a1, $a2, .L8008E518
/* B0569C 8008E4FC 00001825 */ move $v1, $zero
/* B056A0 8008E500 3C0E0001 */ lui $t6, 1
/* B056A4 8008E504 01C47021 */ addu $t6, $t6, $a0
/* B056A8 8008E508 8DCE1E08 */ lw $t6, 0x1e08($t6)
/* B056AC 8008E50C 000578C0 */ sll $t7, $a1, 3
/* B056B0 8008E510 03E00008 */ jr $ra
/* B056B4 8008E514 01CF1021 */ addu $v0, $t6, $t7
.L8008E518:
/* B056B8 8008E518 03E00008 */ jr $ra
/* B056BC 8008E51C 00601025 */ move $v0, $v1
glabel func_8008E520
/* B056C0 8008E520 27BDFFE0 */ addiu $sp, $sp, -0x20
/* B056C4 8008E524 AFA60028 */ sw $a2, 0x28($sp)
/* B056C8 8008E528 00063400 */ sll $a2, $a2, 0x10
/* B056CC 8008E52C 00063403 */ sra $a2, $a2, 0x10
/* B056D0 8008E530 AFBF0014 */ sw $ra, 0x14($sp)
/* B056D4 8008E534 14A00005 */ bnez $a1, .L8008E54C
/* B056D8 8008E538 AFA7002C */ sw $a3, 0x2c($sp)
/* B056DC 8008E53C 3C01BF80 */ li $at, 0xBF800000 # 0.000000
/* B056E0 8008E540 44810000 */ mtc1 $at, $f0
/* B056E4 8008E544 1000002E */ b .L8008E600
/* B056E8 8008E548 8FBF0014 */ lw $ra, 0x14($sp)
.L8008E54C:
/* B056EC 8008E54C 8CA30004 */ lw $v1, 4($a1)
/* B056F0 8008E550 3C198016 */ lui $t9, %hi(gSegments)
/* B056F4 8008E554 3C0100FF */ lui $at, (0x00FFFFFF >> 16) # lui $at, 0xff
/* B056F8 8008E558 00037100 */ sll $t6, $v1, 4
/* B056FC 8008E55C 000E7F02 */ srl $t7, $t6, 0x1c
/* B05700 8008E560 000FC080 */ sll $t8, $t7, 2
/* B05704 8008E564 0338C821 */ addu $t9, $t9, $t8
/* B05708 8008E568 8F396FA8 */ lw $t9, %lo(gSegments)($t9)
/* B0570C 8008E56C 3421FFFF */ ori $at, (0x00FFFFFF & 0xFFFF) # ori $at, $at, 0xffff
/* B05710 8008E570 00614024 */ and $t0, $v1, $at
/* B05714 8008E574 00064880 */ sll $t1, $a2, 2
/* B05718 8008E578 3C018000 */ lui $at, 0x8000
/* B0571C 8008E57C 01264823 */ subu $t1, $t1, $a2
/* B05720 8008E580 03281021 */ addu $v0, $t9, $t0
/* B05724 8008E584 00411021 */ addu $v0, $v0, $at
/* B05728 8008E588 00094840 */ sll $t1, $t1, 1
/* B0572C 8008E58C 01221021 */ addu $v0, $t1, $v0
/* B05730 8008E590 844A0000 */ lh $t2, ($v0)
/* B05734 8008E594 844B0004 */ lh $t3, 4($v0)
/* B05738 8008E598 C4880024 */ lwc1 $f8, 0x24($a0)
/* B0573C 8008E59C 448A2000 */ mtc1 $t2, $f4
/* B05740 8008E5A0 448B5000 */ mtc1 $t3, $f10
/* B05744 8008E5A4 C492002C */ lwc1 $f18, 0x2c($a0)
/* B05748 8008E5A8 468021A0 */ cvt.s.w $f6, $f4
/* B0574C 8008E5AC 46805420 */ cvt.s.w $f16, $f10
/* B05750 8008E5B0 46083301 */ sub.s $f12, $f6, $f8
/* B05754 8008E5B4 46128381 */ sub.s $f14, $f16, $f18
/* B05758 8008E5B8 E7AC001C */ swc1 $f12, 0x1c($sp)
/* B0575C 8008E5BC 0C03F494 */ jal Math_atan2f
/* B05760 8008E5C0 E7AE0018 */ swc1 $f14, 0x18($sp)
/* B05764 8008E5C4 3C018014 */ lui $at, %hi(D_8013E760)
/* B05768 8008E5C8 C424E760 */ lwc1 $f4, %lo(D_8013E760)($at)
/* B0576C 8008E5CC C7AC001C */ lwc1 $f12, 0x1c($sp)
/* B05770 8008E5D0 C7AE0018 */ lwc1 $f14, 0x18($sp)
/* B05774 8008E5D4 46040182 */ mul.s $f6, $f0, $f4
/* B05778 8008E5D8 8FAE002C */ lw $t6, 0x2c($sp)
/* B0577C 8008E5DC 460C6282 */ mul.s $f10, $f12, $f12
/* B05780 8008E5E0 00000000 */ nop
/* B05784 8008E5E4 460E7402 */ mul.s $f16, $f14, $f14
/* B05788 8008E5E8 4600320D */ trunc.w.s $f8, $f6
/* B0578C 8008E5EC 46105000 */ add.s $f0, $f10, $f16
/* B05790 8008E5F0 440D4000 */ mfc1 $t5, $f8
/* B05794 8008E5F4 00000000 */ nop
/* B05798 8008E5F8 A5CD0000 */ sh $t5, ($t6)
/* B0579C 8008E5FC 8FBF0014 */ lw $ra, 0x14($sp)
.L8008E600:
/* B057A0 8008E600 27BD0020 */ addiu $sp, $sp, 0x20
/* B057A4 8008E604 03E00008 */ jr $ra
/* B057A8 8008E608 00000000 */ nop
glabel func_8008E60C
/* B057AC 8008E60C 10800022 */ beqz $a0, .L8008E698
/* B057B0 8008E610 3C198016 */ lui $t9, %hi(gSegments)
/* B057B4 8008E614 8C830004 */ lw $v1, 4($a0)
/* B057B8 8008E618 908A0000 */ lbu $t2, ($a0)
/* B057BC 8008E61C 3C0100FF */ lui $at, (0x00FFFFFF >> 16) # lui $at, 0xff
/* B057C0 8008E620 00037100 */ sll $t6, $v1, 4
/* B057C4 8008E624 000E7F02 */ srl $t7, $t6, 0x1c
/* B057C8 8008E628 000FC080 */ sll $t8, $t7, 2
/* B057CC 8008E62C 0338C821 */ addu $t9, $t9, $t8
/* B057D0 8008E630 8F396FA8 */ lw $t9, %lo(gSegments)($t9)
/* B057D4 8008E634 3421FFFF */ ori $at, (0x00FFFFFF & 0xFFFF) # ori $at, $at, 0xffff
/* B057D8 8008E638 00614024 */ and $t0, $v1, $at
/* B057DC 8008E63C 000A5880 */ sll $t3, $t2, 2
/* B057E0 8008E640 016A5823 */ subu $t3, $t3, $t2
/* B057E4 8008E644 000B5840 */ sll $t3, $t3, 1
/* B057E8 8008E648 3C017FFF */ lui $at, (0x7FFFFFFA >> 16) # lui $at, 0x7fff
/* B057EC 8008E64C 03284821 */ addu $t1, $t9, $t0
/* B057F0 8008E650 012B1021 */ addu $v0, $t1, $t3
/* B057F4 8008E654 3421FFFA */ ori $at, (0x7FFFFFFA & 0xFFFF) # ori $at, $at, 0xfffa
/* B057F8 8008E658 00411021 */ addu $v0, $v0, $at
/* B057FC 8008E65C 844C0000 */ lh $t4, ($v0)
/* B05800 8008E660 448C2000 */ mtc1 $t4, $f4
/* B05804 8008E664 00000000 */ nop
/* B05808 8008E668 468021A0 */ cvt.s.w $f6, $f4
/* B0580C 8008E66C E4A60000 */ swc1 $f6, ($a1)
/* B05810 8008E670 844D0002 */ lh $t5, 2($v0)
/* B05814 8008E674 448D4000 */ mtc1 $t5, $f8
/* B05818 8008E678 00000000 */ nop
/* B0581C 8008E67C 468042A0 */ cvt.s.w $f10, $f8
/* B05820 8008E680 E4AA0004 */ swc1 $f10, 4($a1)
/* B05824 8008E684 844E0004 */ lh $t6, 4($v0)
/* B05828 8008E688 448E8000 */ mtc1 $t6, $f16
/* B0582C 8008E68C 00000000 */ nop
/* B05830 8008E690 468084A0 */ cvt.s.w $f18, $f16
/* B05834 8008E694 E4B20008 */ swc1 $f18, 8($a1)
.L8008E698:
/* B05838 8008E698 03E00008 */ jr $ra
/* B0583C 8008E69C 00000000 */ nop

View file

@ -1,99 +0,0 @@
glabel Yaz0_DecompressImpl
/* 0028B0 80001CB0 27BDFFC0 */ addiu $sp, $sp, -0x40
/* 0028B4 80001CB4 AFBF002C */ sw $ra, 0x2c($sp)
/* 0028B8 80001CB8 AFB40028 */ sw $s4, 0x28($sp)
/* 0028BC 80001CBC AFB30024 */ sw $s3, 0x24($sp)
/* 0028C0 80001CC0 AFB20020 */ sw $s2, 0x20($sp)
/* 0028C4 80001CC4 AFB1001C */ sw $s1, 0x1c($sp)
/* 0028C8 80001CC8 AFB00018 */ sw $s0, 0x18($sp)
/* 0028CC 80001CCC 8C8E0004 */ lw $t6, 4($a0)
/* 0028D0 80001CD0 3C128001 */ lui $s2, %hi(sYaz0MaxPtr) # $s2, 0x8001
/* 0028D4 80001CD4 3C138001 */ lui $s3, %hi(sYaz0CurSize) # $s3, 0x8001
/* 0028D8 80001CD8 00A08025 */ move $s0, $a1
/* 0028DC 80001CDC 00003025 */ move $a2, $zero
/* 0028E0 80001CE0 24910010 */ addiu $s1, $a0, 0x10
/* 0028E4 80001CE4 267344E8 */ addiu $s3, %lo(sYaz0CurSize) # addiu $s3, $s3, 0x44e8
/* 0028E8 80001CE8 265244EC */ addiu $s2, %lo(sYaz0MaxPtr) # addiu $s2, $s2, 0x44ec
/* 0028EC 80001CEC 8FA70030 */ lw $a3, 0x30($sp)
/* 0028F0 80001CF0 01C5A021 */ addu $s4, $t6, $a1
.L80001CF4:
/* 0028F4 80001CF4 54C0000F */ bnezl $a2, .L80001D34
/* 0028F8 80001CF8 30F90080 */ andi $t9, $a3, 0x80
/* 0028FC 80001CFC 8E4F0000 */ lw $t7, ($s2)
/* 002900 80001D00 01F1082B */ sltu $at, $t7, $s1
/* 002904 80001D04 50200008 */ beql $at, $zero, .L80001D28
/* 002908 80001D08 92270000 */ lbu $a3, ($s1)
/* 00290C 80001D0C 8E780000 */ lw $t8, ($s3)
/* 002910 80001D10 53000005 */ beql $t8, $zero, .L80001D28
/* 002914 80001D14 92270000 */ lbu $a3, ($s1)
/* 002918 80001D18 0C0006F2 */ jal Yaz0_NextDMA
/* 00291C 80001D1C 02202025 */ move $a0, $s1
/* 002920 80001D20 00408825 */ move $s1, $v0
/* 002924 80001D24 92270000 */ lbu $a3, ($s1)
.L80001D28:
/* 002928 80001D28 26310001 */ addiu $s1, $s1, 1
/* 00292C 80001D2C 24060008 */ li $a2, 8
/* 002930 80001D30 30F90080 */ andi $t9, $a3, 0x80
.L80001D34:
/* 002934 80001D34 13200006 */ beqz $t9, .L80001D50
/* 002938 80001D38 00073840 */ sll $a3, $a3, 1
/* 00293C 80001D3C 92280000 */ lbu $t0, ($s1)
/* 002940 80001D40 26100001 */ addiu $s0, $s0, 1
/* 002944 80001D44 26310001 */ addiu $s1, $s1, 1
/* 002948 80001D48 10000027 */ b .L80001DE8
/* 00294C 80001D4C A208FFFF */ sb $t0, -1($s0)
.L80001D50:
/* 002950 80001D50 92230000 */ lbu $v1, ($s1)
/* 002954 80001D54 92290001 */ lbu $t1, 1($s1)
/* 002958 80001D58 26310002 */ addiu $s1, $s1, 2
/* 00295C 80001D5C 306A000F */ andi $t2, $v1, 0xf
/* 002960 80001D60 000A5A00 */ sll $t3, $t2, 8
/* 002964 80001D64 00032903 */ sra $a1, $v1, 4
/* 002968 80001D68 012B2025 */ or $a0, $t1, $t3
/* 00296C 80001D6C 14A00005 */ bnez $a1, .L80001D84
/* 002970 80001D70 02041023 */ subu $v0, $s0, $a0
/* 002974 80001D74 92230000 */ lbu $v1, ($s1)
/* 002978 80001D78 26310001 */ addiu $s1, $s1, 1
/* 00297C 80001D7C 10000002 */ b .L80001D88
/* 002980 80001D80 24630012 */ addiu $v1, $v1, 0x12
.L80001D84:
/* 002984 80001D84 24A30002 */ addiu $v1, $a1, 2
.L80001D88:
/* 002988 80001D88 30650003 */ andi $a1, $v1, 3
/* 00298C 80001D8C 00052823 */ negu $a1, $a1
/* 002990 80001D90 10A00009 */ beqz $a1, .L80001DB8
/* 002994 80001D94 00A32021 */ addu $a0, $a1, $v1
.L80001D98:
/* 002998 80001D98 904CFFFF */ lbu $t4, -1($v0)
/* 00299C 80001D9C 2463FFFF */ addiu $v1, $v1, -1
/* 0029A0 80001DA0 26100001 */ addiu $s0, $s0, 1
/* 0029A4 80001DA4 24420001 */ addiu $v0, $v0, 1
/* 0029A8 80001DA8 1483FFFB */ bne $a0, $v1, .L80001D98
/* 0029AC 80001DAC A20CFFFF */ sb $t4, -1($s0)
/* 0029B0 80001DB0 1060000D */ beqz $v1, .L80001DE8
/* 0029B4 80001DB4 00000000 */ nop
.L80001DB8:
/* 0029B8 80001DB8 904DFFFF */ lbu $t5, -1($v0)
/* 0029BC 80001DBC 2463FFFC */ addiu $v1, $v1, -4
/* 0029C0 80001DC0 26100004 */ addiu $s0, $s0, 4
/* 0029C4 80001DC4 A20DFFFC */ sb $t5, -4($s0)
/* 0029C8 80001DC8 904E0000 */ lbu $t6, ($v0)
/* 0029CC 80001DCC 24420004 */ addiu $v0, $v0, 4
/* 0029D0 80001DD0 A20EFFFD */ sb $t6, -3($s0)
/* 0029D4 80001DD4 904FFFFD */ lbu $t7, -3($v0)
/* 0029D8 80001DD8 A20FFFFE */ sb $t7, -2($s0)
/* 0029DC 80001DDC 9058FFFE */ lbu $t8, -2($v0)
/* 0029E0 80001DE0 1460FFF5 */ bnez $v1, .L80001DB8
/* 0029E4 80001DE4 A218FFFF */ sb $t8, -1($s0)
.L80001DE8:
/* 0029E8 80001DE8 1614FFC2 */ bne $s0, $s4, .L80001CF4
/* 0029EC 80001DEC 24C6FFFF */ addiu $a2, $a2, -1
/* 0029F0 80001DF0 8FBF002C */ lw $ra, 0x2c($sp)
/* 0029F4 80001DF4 AFA70030 */ sw $a3, 0x30($sp)
/* 0029F8 80001DF8 8FB00018 */ lw $s0, 0x18($sp)
/* 0029FC 80001DFC 8FB1001C */ lw $s1, 0x1c($sp)
/* 002A00 80001E00 8FB20020 */ lw $s2, 0x20($sp)
/* 002A04 80001E04 8FB30024 */ lw $s3, 0x24($sp)
/* 002A08 80001E08 8FB40028 */ lw $s4, 0x28($sp)
/* 002A0C 80001E0C 03E00008 */ jr $ra
/* 002A10 80001E10 27BD0040 */ addiu $sp, $sp, 0x40

View file

@ -1,102 +0,0 @@
glabel FaultDrawer_DrawChar
/* B4DA3C 800D689C AFA40000 */ sw $a0, ($sp)
/* B4DA40 800D68A0 3C0C8017 */ lui $t4, %hi(sFaultDrawerStruct) # $t4, 0x8017
/* B4DA44 800D68A4 258CB680 */ addiu $t4, %lo(sFaultDrawerStruct) # addiu $t4, $t4, -0x4980
/* B4DA48 800D68A8 308400FF */ andi $a0, $a0, 0xff
/* B4DA4C 800D68AC 95830016 */ lhu $v1, 0x16($t4)
/* B4DA50 800D68B0 95880004 */ lhu $t0, 4($t4)
/* B4DA54 800D68B4 00802825 */ move $a1, $a0
/* B4DA58 800D68B8 30B80004 */ andi $t8, $a1, 4
/* B4DA5C 800D68BC 01030019 */ multu $t0, $v1
/* B4DA60 800D68C0 0018C883 */ sra $t9, $t8, 2
/* B4DA64 800D68C4 8D980018 */ lw $t8, 0x18($t4)
/* B4DA68 800D68C8 95820014 */ lhu $v0, 0x14($t4)
/* B4DA6C 800D68CC 04A10003 */ bgez $a1, .L800D68DC
/* B4DA70 800D68D0 000570C3 */ sra $t6, $a1, 3
/* B4DA74 800D68D4 24A10007 */ addiu $at, $a1, 7
/* B4DA78 800D68D8 000170C3 */ sra $t6, $at, 3
.L800D68DC:
/* B4DA7C 800D68DC 000E7900 */ sll $t7, $t6, 4
/* B4DA80 800D68E0 01F96821 */ addu $t5, $t7, $t9
/* B4DA84 800D68E4 00007812 */ mflo $t7
/* B4DA88 800D68E8 000D7080 */ sll $t6, $t5, 2
/* B4DA8C 800D68EC 000FC840 */ sll $t9, $t7, 1
/* B4DA90 800D68F0 8D8D0000 */ lw $t5, ($t4)
/* B4DA94 800D68F4 958F000C */ lhu $t7, 0xc($t4)
/* B4DA98 800D68F8 030E3021 */ addu $a2, $t8, $t6
/* B4DA9C 800D68FC 00027040 */ sll $t6, $v0, 1
/* B4DAA0 800D6900 032DC021 */ addu $t8, $t9, $t5
/* B4DAA4 800D6904 004F082A */ slt $at, $v0, $t7
/* B4DAA8 800D6908 1420003E */ bnez $at, .L800D6A04
/* B4DAAC 800D690C 030E3821 */ addu $a3, $t8, $t6
/* B4DAB0 800D6910 9184001C */ lbu $a0, 0x1c($t4)
/* B4DAB4 800D6914 9599000E */ lhu $t9, 0xe($t4)
/* B4DAB8 800D6918 00826821 */ addu $t5, $a0, $v0
/* B4DABC 800D691C 25B8FFFF */ addiu $t8, $t5, -1
/* B4DAC0 800D6920 0338082A */ slt $at, $t9, $t8
/* B4DAC4 800D6924 14200037 */ bnez $at, .L800D6A04
/* B4DAC8 800D6928 00000000 */ nop
/* B4DACC 800D692C 958E0008 */ lhu $t6, 8($t4)
/* B4DAD0 800D6930 006E082A */ slt $at, $v1, $t6
/* B4DAD4 800D6934 14200033 */ bnez $at, .L800D6A04
/* B4DAD8 800D6938 00000000 */ nop
/* B4DADC 800D693C 9182001D */ lbu $v0, 0x1d($t4)
/* B4DAE0 800D6940 958F000A */ lhu $t7, 0xa($t4)
/* B4DAE4 800D6944 00436821 */ addu $t5, $v0, $v1
/* B4DAE8 800D6948 25B9FFFF */ addiu $t9, $t5, -1
/* B4DAEC 800D694C 01F9082A */ slt $at, $t7, $t9
/* B4DAF0 800D6950 1420002C */ bnez $at, .L800D6A04
/* B4DAF4 800D6954 00000000 */ nop
/* B4DAF8 800D6958 1840002A */ blez $v0, .L800D6A04
/* B4DAFC 800D695C 00001825 */ move $v1, $zero
/* B4DB00 800D6960 04A10004 */ bgez $a1, .L800D6974
/* B4DB04 800D6964 30B80003 */ andi $t8, $a1, 3
/* B4DB08 800D6968 13000002 */ beqz $t8, .L800D6974
/* B4DB0C 800D696C 00000000 */ nop
/* B4DB10 800D6970 2718FFFC */ addiu $t8, $t8, -4
.L800D6974:
/* B4DB14 800D6974 3C0E1000 */ lui $t6, 0x1000
/* B4DB18 800D6978 030E5804 */ sllv $t3, $t6, $t8
/* B4DB1C 800D697C 01602825 */ move $a1, $t3
.L800D6980:
/* B4DB20 800D6980 8CC90000 */ lw $t1, ($a2)
/* B4DB24 800D6984 18800018 */ blez $a0, .L800D69E8
/* B4DB28 800D6988 00005025 */ move $t2, $zero
.L800D698C:
/* B4DB2C 800D698C 00A96824 */ and $t5, $a1, $t1
/* B4DB30 800D6990 51A00008 */ beql $t5, $zero, .L800D69B4
/* B4DB34 800D6994 95820012 */ lhu $v0, 0x12($t4)
/* B4DB38 800D6998 958F0010 */ lhu $t7, 0x10($t4)
/* B4DB3C 800D699C 000AC840 */ sll $t9, $t2, 1
/* B4DB40 800D69A0 00F97021 */ addu $t6, $a3, $t9
/* B4DB44 800D69A4 A5CF0000 */ sh $t7, ($t6)
/* B4DB48 800D69A8 10000009 */ b .L800D69D0
/* B4DB4C 800D69AC 9184001C */ lbu $a0, 0x1c($t4)
/* B4DB50 800D69B0 95820012 */ lhu $v0, 0x12($t4)
.L800D69B4:
/* B4DB54 800D69B4 000A6840 */ sll $t5, $t2, 1
/* B4DB58 800D69B8 00EDC821 */ addu $t9, $a3, $t5
/* B4DB5C 800D69BC 30580001 */ andi $t8, $v0, 1
/* B4DB60 800D69C0 53000004 */ beql $t8, $zero, .L800D69D4
/* B4DB64 800D69C4 254A0001 */ addiu $t2, $t2, 1
/* B4DB68 800D69C8 A7220000 */ sh $v0, ($t9)
/* B4DB6C 800D69CC 9184001C */ lbu $a0, 0x1c($t4)
.L800D69D0:
/* B4DB70 800D69D0 254A0001 */ addiu $t2, $t2, 1
.L800D69D4:
/* B4DB74 800D69D4 0144082A */ slt $at, $t2, $a0
/* B4DB78 800D69D8 1420FFEC */ bnez $at, .L800D698C
/* B4DB7C 800D69DC 00052902 */ srl $a1, $a1, 4
/* B4DB80 800D69E0 95880004 */ lhu $t0, 4($t4)
/* B4DB84 800D69E4 9182001D */ lbu $v0, 0x1d($t4)
.L800D69E8:
/* B4DB88 800D69E8 00087840 */ sll $t7, $t0, 1
/* B4DB8C 800D69EC 00EF3821 */ addu $a3, $a3, $t7
/* B4DB90 800D69F0 24C60008 */ addiu $a2, $a2, 8
/* B4DB94 800D69F4 24630001 */ addiu $v1, $v1, 1
/* B4DB98 800D69F8 0062082A */ slt $at, $v1, $v0
/* B4DB9C 800D69FC 5420FFE0 */ bnezl $at, .L800D6980
/* B4DBA0 800D6A00 01602825 */ move $a1, $t3
.L800D6A04:
/* B4DBA4 800D6A04 03E00008 */ jr $ra
/* B4DBA8 800D6A08 00000000 */ nop

View file

@ -1,82 +0,0 @@
glabel FaultDrawer_DrawRecImpl
/* B4D920 800D6780 3C0EFFFA */ lui $t6, (0xFFFA5A5A >> 16) # lui $t6, 0xfffa
/* B4D924 800D6784 03A07825 */ move $t7, $sp
/* B4D928 800D6788 27BDFFE8 */ addiu $sp, $sp, -0x18
/* B4D92C 800D678C 35CE5A5A */ ori $t6, (0xFFFA5A5A & 0xFFFF) # ori $t6, $t6, 0x5a5a
.L800D6790:
/* B4D930 800D6790 25EFFFF8 */ addiu $t7, $t7, -8
/* B4D934 800D6794 ADEE0000 */ sw $t6, ($t7)
/* B4D938 800D6798 15FDFFFD */ bne $t7, $sp, .L800D6790
/* B4D93C 800D679C ADEE0004 */ sw $t6, 4($t7)
/* B4D940 800D67A0 3C0D8017 */ lui $t5, %hi(sFaultDrawerStruct) # $t5, 0x8017
/* B4D944 800D67A4 25ADB680 */ addiu $t5, %lo(sFaultDrawerStruct) # addiu $t5, $t5, -0x4980
/* B4D948 800D67A8 AFBF0014 */ sw $ra, 0x14($sp)
/* B4D94C 800D67AC 95A90004 */ lhu $t1, 4($t5)
/* B4D950 800D67B0 95AE0006 */ lhu $t6, 6($t5)
/* B4D954 800D67B4 00C41823 */ subu $v1, $a2, $a0
/* B4D958 800D67B8 00E55823 */ subu $t3, $a3, $a1
/* B4D95C 800D67BC 24630001 */ addiu $v1, $v1, 1
/* B4D960 800D67C0 256B0001 */ addiu $t3, $t3, 1
/* B4D964 800D67C4 01241023 */ subu $v0, $t1, $a0
/* B4D968 800D67C8 00604025 */ move $t0, $v1
/* B4D96C 800D67CC 01605025 */ move $t2, $t3
/* B4D970 800D67D0 1840002E */ blez $v0, .L800D688C
/* B4D974 800D67D4 01C56023 */ subu $t4, $t6, $a1
/* B4D978 800D67D8 1980002C */ blez $t4, .L800D688C
/* B4D97C 800D67DC 0043082A */ slt $at, $v0, $v1
/* B4D980 800D67E0 50200003 */ beql $at, $zero, .L800D67F0
/* B4D984 800D67E4 018B082A */ slt $at, $t4, $t3
/* B4D988 800D67E8 00404025 */ move $t0, $v0
/* B4D98C 800D67EC 018B082A */ slt $at, $t4, $t3
.L800D67F0:
/* B4D990 800D67F0 10200002 */ beqz $at, .L800D67FC
/* B4D994 800D67F4 00000000 */ nop
/* B4D998 800D67F8 01805025 */ move $t2, $t4
.L800D67FC:
/* B4D99C 800D67FC 01250019 */ multu $t1, $a1
/* B4D9A0 800D6800 8DB90000 */ lw $t9, ($t5)
/* B4D9A4 800D6804 00003825 */ move $a3, $zero
/* B4D9A8 800D6808 00007812 */ mflo $t7
/* B4D9AC 800D680C 000FC040 */ sll $t8, $t7, 1
/* B4D9B0 800D6810 00047840 */ sll $t7, $a0, 1
/* B4D9B4 800D6814 03197021 */ addu $t6, $t8, $t9
/* B4D9B8 800D6818 1940001A */ blez $t2, .L800D6884
/* B4D9BC 800D681C 01CF1021 */ addu $v0, $t6, $t7
/* B4D9C0 800D6820 97A4002A */ lhu $a0, 0x2a($sp)
.L800D6824:
/* B4D9C4 800D6824 19000012 */ blez $t0, .L800D6870
/* B4D9C8 800D6828 00001825 */ move $v1, $zero
/* B4D9CC 800D682C 31060003 */ andi $a2, $t0, 3
/* B4D9D0 800D6830 10C00007 */ beqz $a2, .L800D6850
/* B4D9D4 800D6834 3C098017 */ lui $t1, %hi(sFaultDrawerStruct+4) # $t1, 0x8017
/* B4D9D8 800D6838 00C02825 */ move $a1, $a2
.L800D683C:
/* B4D9DC 800D683C 24630001 */ addiu $v1, $v1, 1
/* B4D9E0 800D6840 A4440000 */ sh $a0, ($v0)
/* B4D9E4 800D6844 14A3FFFD */ bne $a1, $v1, .L800D683C
/* B4D9E8 800D6848 24420002 */ addiu $v0, $v0, 2
/* B4D9EC 800D684C 10680007 */ beq $v1, $t0, .L800D686C
.L800D6850:
/* B4D9F0 800D6850 24630004 */ addiu $v1, $v1, 4
/* B4D9F4 800D6854 A4440002 */ sh $a0, 2($v0)
/* B4D9F8 800D6858 A4440004 */ sh $a0, 4($v0)
/* B4D9FC 800D685C A4440006 */ sh $a0, 6($v0)
/* B4DA00 800D6860 24420008 */ addiu $v0, $v0, 8
/* B4DA04 800D6864 1468FFFA */ bne $v1, $t0, .L800D6850
/* B4DA08 800D6868 A444FFF8 */ sh $a0, -8($v0)
.L800D686C:
/* B4DA0C 800D686C 9529B684 */ lhu $t1, %lo(sFaultDrawerStruct+4)($t1)
.L800D6870:
/* B4DA10 800D6870 0128C023 */ subu $t8, $t1, $t0
/* B4DA14 800D6874 24E70001 */ addiu $a3, $a3, 1
/* B4DA18 800D6878 0018C840 */ sll $t9, $t8, 1
/* B4DA1C 800D687C 14EAFFE9 */ bne $a3, $t2, .L800D6824
/* B4DA20 800D6880 00591021 */ addu $v0, $v0, $t9
.L800D6884:
/* B4DA24 800D6884 0C041924 */ jal osWritebackDCacheAll
/* B4DA28 800D6888 00000000 */ nop
.L800D688C:
/* B4DA2C 800D688C 8FBF0014 */ lw $ra, 0x14($sp)
/* B4DA30 800D6890 27BD0018 */ addiu $sp, $sp, 0x18
/* B4DA34 800D6894 03E00008 */ jr $ra
/* B4DA38 800D6898 00000000 */ nop

View file

@ -1,388 +0,0 @@
.rdata
glabel D_80136160
.asciz "../z_actor.c"
.balign 4
glabel D_80136170
.asciz "../z_actor.c"
.balign 4
.text
glabel TitleCard_Draw
/* AA414C 8002CFAC 27BDFF30 */ addiu $sp, $sp, -0xd0
/* AA4150 8002CFB0 AFBF0014 */ sw $ra, 0x14($sp)
/* AA4154 8002CFB4 AFA400D0 */ sw $a0, 0xd0($sp)
/* AA4158 8002CFB8 AFA500D4 */ sw $a1, 0xd4($sp)
/* AA415C 8002CFBC 84AF000C */ lh $t7, 0xc($a1)
/* AA4160 8002CFC0 3C068013 */ lui $a2, %hi(D_80136160) # $a2, 0x8013
/* AA4164 8002CFC4 24C66160 */ addiu $a2, %lo(D_80136160) # addiu $a2, $a2, 0x6160
/* AA4168 8002CFC8 51E00159 */ beql $t7, $zero, .L8002D530
/* AA416C 8002CFCC 8FBF0014 */ lw $ra, 0x14($sp)
/* AA4170 8002CFD0 90AA0008 */ lbu $t2, 8($a1)
/* AA4174 8002CFD4 84B80004 */ lh $t8, 4($a1)
/* AA4178 8002CFD8 90A90009 */ lbu $t1, 9($a1)
/* AA417C 8002CFDC 000A1040 */ sll $v0, $t2, 1
/* AA4180 8002CFE0 0018C880 */ sll $t9, $t8, 2
/* AA4184 8002CFE4 03227823 */ subu $t7, $t9, $v0
/* AA4188 8002CFE8 AFAF00C0 */ sw $t7, 0xc0($sp)
/* AA418C 8002CFEC 84B80006 */ lh $t8, 6($a1)
/* AA4190 8002CFF0 00097840 */ sll $t7, $t1, 1
/* AA4194 8002CFF4 24070B08 */ li $a3, 2824
/* AA4198 8002CFF8 0018C880 */ sll $t9, $t8, 2
/* AA419C 8002CFFC 032F7023 */ subu $t6, $t9, $t7
/* AA41A0 8002D000 AFAE00B8 */ sw $t6, 0xb8($sp)
/* AA41A4 8002D004 8C850000 */ lw $a1, ($a0)
/* AA41A8 8002D008 AFA20038 */ sw $v0, 0x38($sp)
/* AA41AC 8002D00C 27A4009C */ addiu $a0, $sp, 0x9c
/* AA41B0 8002D010 AFAA00CC */ sw $t2, 0xcc($sp)
/* AA41B4 8002D014 AFA900C8 */ sw $t1, 0xc8($sp)
/* AA41B8 8002D018 0C031AB1 */ jal func_800C6AC4
/* AA41BC 8002D01C AFA500AC */ sw $a1, 0xac($sp)
/* AA41C0 8002D020 8FA900C8 */ lw $t1, 0xc8($sp)
/* AA41C4 8002D024 8FAA00CC */ lw $t2, 0xcc($sp)
/* AA41C8 8002D028 3C198016 */ lui $t9, %hi(gSaveContext+0x1409) # $t9, 0x8016
/* AA41CC 8002D02C 9339FA69 */ lbu $t9, %lo(gSaveContext+0x1409)($t9)
/* AA41D0 8002D030 01490019 */ multu $t2, $t1
/* AA41D4 8002D034 8FA800AC */ lw $t0, 0xac($sp)
/* AA41D8 8002D038 8FAB00D4 */ lw $t3, 0xd4($sp)
/* AA41DC 8002D03C 240E1000 */ li $t6, 4096
/* AA41E0 8002D040 00002812 */ mflo $a1
/* AA41E4 8002D044 28A11001 */ slti $at, $a1, 0x1001
/* AA41E8 8002D048 00000000 */ nop
/* AA41EC 8002D04C 00B90019 */ multu $a1, $t9
/* AA41F0 8002D050 8FB900B8 */ lw $t9, 0xb8($sp)
/* AA41F4 8002D054 00007812 */ mflo $t7
/* AA41F8 8002D058 AFAF00B0 */ sw $t7, 0xb0($sp)
/* AA41FC 8002D05C 54200011 */ bnezl $at, .L8002D0A4
/* AA4200 8002D060 0009C080 */ sll $t8, $t1, 2
/* AA4204 8002D064 01CA001A */ div $zero, $t6, $t2
/* AA4208 8002D068 00004812 */ mflo $t1
/* AA420C 8002D06C 15400002 */ bnez $t2, .L8002D078
/* AA4210 8002D070 00000000 */ nop
/* AA4214 8002D074 0007000D */ break 7
.L8002D078:
/* AA4218 8002D078 2401FFFF */ li $at, -1
/* AA421C 8002D07C 15410004 */ bne $t2, $at, .L8002D090
/* AA4220 8002D080 3C018000 */ lui $at, 0x8000
/* AA4224 8002D084 15C10002 */ bne $t6, $at, .L8002D090
/* AA4228 8002D088 00000000 */ nop
/* AA422C 8002D08C 0006000D */ break 6
.L8002D090:
/* AA4230 8002D090 01490019 */ multu $t2, $t1
/* AA4234 8002D094 00002812 */ mflo $a1
/* AA4238 8002D098 00000000 */ nop
/* AA423C 8002D09C 00000000 */ nop
/* AA4240 8002D0A0 0009C080 */ sll $t8, $t1, 2
.L8002D0A4:
/* AA4244 8002D0A4 03196021 */ addu $t4, $t8, $t9
/* AA4248 8002D0A8 AFAC00B4 */ sw $t4, 0xb4($sp)
/* AA424C 8002D0AC 8D0402B0 */ lw $a0, 0x2b0($t0)
/* AA4250 8002D0B0 AFAC0030 */ sw $t4, 0x30($sp)
/* AA4254 8002D0B4 AFAA00CC */ sw $t2, 0xcc($sp)
/* AA4258 8002D0B8 AFA900C8 */ sw $t1, 0xc8($sp)
/* AA425C 8002D0BC AFA800AC */ sw $t0, 0xac($sp)
/* AA4260 8002D0C0 0C024E02 */ jal func_80093808
/* AA4264 8002D0C4 AFA50034 */ sw $a1, 0x34($sp)
/* AA4268 8002D0C8 8FA800AC */ lw $t0, 0xac($sp)
/* AA426C 8002D0CC 8FA50034 */ lw $a1, 0x34($sp)
/* AA4270 8002D0D0 8FAA00CC */ lw $t2, 0xcc($sp)
/* AA4274 8002D0D4 8FAB00D4 */ lw $t3, 0xd4($sp)
/* AA4278 8002D0D8 8FA900C8 */ lw $t1, 0xc8($sp)
/* AA427C 8002D0DC 8FAC0030 */ lw $t4, 0x30($sp)
/* AA4280 8002D0E0 244F0008 */ addiu $t7, $v0, 8
/* AA4284 8002D0E4 AD0202B0 */ sw $v0, 0x2b0($t0)
/* AA4288 8002D0E8 3C0EFA00 */ lui $t6, 0xfa00
/* AA428C 8002D0EC AD0F02B0 */ sw $t7, 0x2b0($t0)
/* AA4290 8002D0F0 AC4E0000 */ sw $t6, ($v0)
/* AA4294 8002D0F4 9163000F */ lbu $v1, 0xf($t3)
/* AA4298 8002D0F8 01403825 */ move $a3, $t2
/* AA429C 8002D0FC 24ED0007 */ addiu $t5, $a3, 7
/* AA42A0 8002D100 0003C600 */ sll $t8, $v1, 0x18
/* AA42A4 8002D104 0003CC00 */ sll $t9, $v1, 0x10
/* AA42A8 8002D108 03197825 */ or $t7, $t8, $t9
/* AA42AC 8002D10C 00037200 */ sll $t6, $v1, 8
/* AA42B0 8002D110 01EEC025 */ or $t8, $t7, $t6
/* AA42B4 8002D114 916F000D */ lbu $t7, 0xd($t3)
/* AA42B8 8002D118 24A30001 */ addiu $v1, $a1, 1
/* AA42BC 8002D11C 00031843 */ sra $v1, $v1, 1
/* AA42C0 8002D120 030F7025 */ or $t6, $t8, $t7
/* AA42C4 8002D124 AC4E0004 */ sw $t6, 4($v0)
/* AA42C8 8002D128 8D0202B0 */ lw $v0, 0x2b0($t0)
/* AA42CC 8002D12C 3C18FD70 */ lui $t8, 0xfd70
/* AA42D0 8002D130 2463FFFF */ addiu $v1, $v1, -1
/* AA42D4 8002D134 24590008 */ addiu $t9, $v0, 8
/* AA42D8 8002D138 AD1902B0 */ sw $t9, 0x2b0($t0)
/* AA42DC 8002D13C AC580000 */ sw $t8, ($v0)
/* AA42E0 8002D140 8FAE00B0 */ lw $t6, 0xb0($sp)
/* AA42E4 8002D144 8D6F0000 */ lw $t7, ($t3)
/* AA42E8 8002D148 000D68C3 */ sra $t5, $t5, 3
/* AA42EC 8002D14C 31AD01FF */ andi $t5, $t5, 0x1ff
/* AA42F0 8002D150 01EEC821 */ addu $t9, $t7, $t6
/* AA42F4 8002D154 AC590004 */ sw $t9, 4($v0)
/* AA42F8 8002D158 8D0202B0 */ lw $v0, 0x2b0($t0)
/* AA42FC 8002D15C 3C0E0700 */ lui $t6, 0x700
/* AA4300 8002D160 3C0FF570 */ lui $t7, 0xf570
/* AA4304 8002D164 24580008 */ addiu $t8, $v0, 8
/* AA4308 8002D168 AD1802B0 */ sw $t8, 0x2b0($t0)
/* AA430C 8002D16C AC4E0004 */ sw $t6, 4($v0)
/* AA4310 8002D170 AC4F0000 */ sw $t7, ($v0)
/* AA4314 8002D174 8D0202B0 */ lw $v0, 0x2b0($t0)
/* AA4318 8002D178 3C18E600 */ lui $t8, 0xe600
/* AA431C 8002D17C 3C0EF300 */ lui $t6, 0xf300
/* AA4320 8002D180 24590008 */ addiu $t9, $v0, 8
/* AA4324 8002D184 AD1902B0 */ sw $t9, 0x2b0($t0)
/* AA4328 8002D188 AC400004 */ sw $zero, 4($v0)
/* AA432C 8002D18C AC580000 */ sw $t8, ($v0)
/* AA4330 8002D190 8D0602B0 */ lw $a2, 0x2b0($t0)
/* AA4334 8002D194 286107FF */ slti $at, $v1, 0x7ff
/* AA4338 8002D198 000D6A40 */ sll $t5, $t5, 9
/* AA433C 8002D19C 24CF0008 */ addiu $t7, $a2, 8
/* AA4340 8002D1A0 AD0F02B0 */ sw $t7, 0x2b0($t0)
/* AA4344 8002D1A4 10200003 */ beqz $at, .L8002D1B4
/* AA4348 8002D1A8 ACCE0000 */ sw $t6, ($a2)
/* AA434C 8002D1AC 10000002 */ b .L8002D1B8
/* AA4350 8002D1B0 00602025 */ move $a0, $v1
.L8002D1B4:
/* AA4354 8002D1B4 240407FF */ li $a0, 2047
.L8002D1B8:
/* AA4358 8002D1B8 04E10003 */ bgez $a3, .L8002D1C8
/* AA435C 8002D1BC 000728C3 */ sra $a1, $a3, 3
/* AA4360 8002D1C0 24E10007 */ addiu $at, $a3, 7
/* AA4364 8002D1C4 000128C3 */ sra $a1, $at, 3
.L8002D1C8:
/* AA4368 8002D1C8 1CA00003 */ bgtz $a1, .L8002D1D8
/* AA436C 8002D1CC 2547FFFF */ addiu $a3, $t2, -1
/* AA4370 8002D1D0 10000002 */ b .L8002D1DC
/* AA4374 8002D1D4 24030001 */ li $v1, 1
.L8002D1D8:
/* AA4378 8002D1D8 00A01825 */ move $v1, $a1
.L8002D1DC:
/* AA437C 8002D1DC 1CA00003 */ bgtz $a1, .L8002D1EC
/* AA4380 8002D1E0 247907FF */ addiu $t9, $v1, 0x7ff
/* AA4384 8002D1E4 10000002 */ b .L8002D1F0
/* AA4388 8002D1E8 24020001 */ li $v0, 1
.L8002D1EC:
/* AA438C 8002D1EC 00A01025 */ move $v0, $a1
.L8002D1F0:
/* AA4390 8002D1F0 0322001A */ div $zero, $t9, $v0
/* AA4394 8002D1F4 14400002 */ bnez $v0, .L8002D200
/* AA4398 8002D1F8 00000000 */ nop
/* AA439C 8002D1FC 0007000D */ break 7
.L8002D200:
/* AA43A0 8002D200 2401FFFF */ li $at, -1
/* AA43A4 8002D204 14410004 */ bne $v0, $at, .L8002D218
/* AA43A8 8002D208 3C018000 */ lui $at, 0x8000
/* AA43AC 8002D20C 17210002 */ bne $t9, $at, .L8002D218
/* AA43B0 8002D210 00000000 */ nop
/* AA43B4 8002D214 0006000D */ break 6
.L8002D218:
/* AA43B8 8002D218 0000C012 */ mflo $t8
/* AA43BC 8002D21C 330F0FFF */ andi $t7, $t8, 0xfff
/* AA43C0 8002D220 3C010700 */ lui $at, 0x700
/* AA43C4 8002D224 30990FFF */ andi $t9, $a0, 0xfff
/* AA43C8 8002D228 0019C300 */ sll $t8, $t9, 0xc
/* AA43CC 8002D22C 01E17025 */ or $t6, $t7, $at
/* AA43D0 8002D230 01D87825 */ or $t7, $t6, $t8
/* AA43D4 8002D234 ACCF0004 */ sw $t7, 4($a2)
/* AA43D8 8002D238 8D0202B0 */ lw $v0, 0x2b0($t0)
/* AA43DC 8002D23C 3C0EE700 */ lui $t6, 0xe700
/* AA43E0 8002D240 3C01F568 */ lui $at, 0xf568
/* AA43E4 8002D244 24590008 */ addiu $t9, $v0, 8
/* AA43E8 8002D248 AD1902B0 */ sw $t9, 0x2b0($t0)
/* AA43EC 8002D24C AC400004 */ sw $zero, 4($v0)
/* AA43F0 8002D250 AC4E0000 */ sw $t6, ($v0)
/* AA43F4 8002D254 8D0202B0 */ lw $v0, 0x2b0($t0)
/* AA43F8 8002D258 01A16825 */ or $t5, $t5, $at
/* AA43FC 8002D25C 252EFFFF */ addiu $t6, $t1, -1
/* AA4400 8002D260 24580008 */ addiu $t8, $v0, 8
/* AA4404 8002D264 AD1802B0 */ sw $t8, 0x2b0($t0)
/* AA4408 8002D268 AC400004 */ sw $zero, 4($v0)
/* AA440C 8002D26C AC4D0000 */ sw $t5, ($v0)
/* AA4410 8002D270 8D0202B0 */ lw $v0, 0x2b0($t0)
/* AA4414 8002D274 00073880 */ sll $a3, $a3, 2
/* AA4418 8002D278 30E70FFF */ andi $a3, $a3, 0xfff
/* AA441C 8002D27C 244F0008 */ addiu $t7, $v0, 8
/* AA4420 8002D280 AD0F02B0 */ sw $t7, 0x2b0($t0)
/* AA4424 8002D284 000EC080 */ sll $t8, $t6, 2
/* AA4428 8002D288 3C19F200 */ lui $t9, 0xf200
/* AA442C 8002D28C 330F0FFF */ andi $t7, $t8, 0xfff
/* AA4430 8002D290 00073B00 */ sll $a3, $a3, 0xc
/* AA4434 8002D294 AC590000 */ sw $t9, ($v0)
/* AA4438 8002D298 00EFC825 */ or $t9, $a3, $t7
/* AA443C 8002D29C AC590004 */ sw $t9, 4($v0)
/* AA4440 8002D2A0 8D0202B0 */ lw $v0, 0x2b0($t0)
/* AA4444 8002D2A4 8FA600C0 */ lw $a2, 0xc0($sp)
/* AA4448 8002D2A8 2599FFFF */ addiu $t9, $t4, -1
/* AA444C 8002D2AC 244E0008 */ addiu $t6, $v0, 8
/* AA4450 8002D2B0 AD0E02B0 */ sw $t6, 0x2b0($t0)
/* AA4454 8002D2B4 8FB80038 */ lw $t8, 0x38($sp)
/* AA4458 8002D2B8 3C01E400 */ lui $at, 0xe400
/* AA445C 8002D2BC 332E0FFF */ andi $t6, $t9, 0xfff
/* AA4460 8002D2C0 00187840 */ sll $t7, $t8, 1
/* AA4464 8002D2C4 01E62021 */ addu $a0, $t7, $a2
/* AA4468 8002D2C8 2484FFFC */ addiu $a0, $a0, -4
/* AA446C 8002D2CC 30840FFF */ andi $a0, $a0, 0xfff
/* AA4470 8002D2D0 00042300 */ sll $a0, $a0, 0xc
/* AA4474 8002D2D4 00812025 */ or $a0, $a0, $at
/* AA4478 8002D2D8 008EC025 */ or $t8, $a0, $t6
/* AA447C 8002D2DC AC580000 */ sw $t8, ($v0)
/* AA4480 8002D2E0 8FAF00B8 */ lw $t7, 0xb8($sp)
/* AA4484 8002D2E4 30DF0FFF */ andi $ra, $a2, 0xfff
/* AA4488 8002D2E8 001FFB00 */ sll $ra, $ra, 0xc
/* AA448C 8002D2EC 31F90FFF */ andi $t9, $t7, 0xfff
/* AA4490 8002D2F0 03F97025 */ or $t6, $ra, $t9
/* AA4494 8002D2F4 AC4E0004 */ sw $t6, 4($v0)
/* AA4498 8002D2F8 AFA4001C */ sw $a0, 0x1c($sp)
/* AA449C 8002D2FC 8D0202B0 */ lw $v0, 0x2b0($t0)
/* AA44A0 8002D300 3C0CE100 */ lui $t4, 0xe100
/* AA44A4 8002D304 3C0E0400 */ lui $t6, (0x04000400 >> 16) # lui $t6, 0x400
/* AA44A8 8002D308 24580008 */ addiu $t8, $v0, 8
/* AA44AC 8002D30C AD1802B0 */ sw $t8, 0x2b0($t0)
/* AA44B0 8002D310 AC400004 */ sw $zero, 4($v0)
/* AA44B4 8002D314 AC4C0000 */ sw $t4, ($v0)
/* AA44B8 8002D318 8D0202B0 */ lw $v0, 0x2b0($t0)
/* AA44BC 8002D31C 35CE0400 */ ori $t6, (0x04000400 & 0xFFFF) # ori $t6, $t6, 0x400
/* AA44C0 8002D320 3C19F100 */ lui $t9, 0xf100
/* AA44C4 8002D324 244F0008 */ addiu $t7, $v0, 8
/* AA44C8 8002D328 AD0F02B0 */ sw $t7, 0x2b0($t0)
/* AA44CC 8002D32C AC4E0004 */ sw $t6, 4($v0)
/* AA44D0 8002D330 AC590000 */ sw $t9, ($v0)
/* AA44D4 8002D334 91780009 */ lbu $t8, 9($t3)
/* AA44D8 8002D338 00401825 */ move $v1, $v0
/* AA44DC 8002D33C 03094823 */ subu $t1, $t8, $t1
/* AA44E0 8002D340 59200074 */ blezl $t1, .L8002D514
/* AA44E4 8002D344 8FB800D0 */ lw $t8, 0xd0($sp)
/* AA44E8 8002D348 8D0202B0 */ lw $v0, 0x2b0($t0)
/* AA44EC 8002D34C 3C19FD70 */ lui $t9, 0xfd70
/* AA44F0 8002D350 01490019 */ multu $t2, $t1
/* AA44F4 8002D354 244F0008 */ addiu $t7, $v0, 8
/* AA44F8 8002D358 AD0F02B0 */ sw $t7, 0x2b0($t0)
/* AA44FC 8002D35C AC590000 */ sw $t9, ($v0)
/* AA4500 8002D360 8FB800B0 */ lw $t8, 0xb0($sp)
/* AA4504 8002D364 8D6E0000 */ lw $t6, ($t3)
/* AA4508 8002D368 240407FF */ li $a0, 2047
/* AA450C 8002D36C 01D87821 */ addu $t7, $t6, $t8
/* AA4510 8002D370 25F91000 */ addiu $t9, $t7, 0x1000
/* AA4514 8002D374 AC590004 */ sw $t9, 4($v0)
/* AA4518 8002D378 8D0202B0 */ lw $v0, 0x2b0($t0)
/* AA451C 8002D37C 3C0F0700 */ lui $t7, 0x700
/* AA4520 8002D380 3C18F570 */ lui $t8, 0xf570
/* AA4524 8002D384 244E0008 */ addiu $t6, $v0, 8
/* AA4528 8002D388 AD0E02B0 */ sw $t6, 0x2b0($t0)
/* AA452C 8002D38C AC4F0004 */ sw $t7, 4($v0)
/* AA4530 8002D390 AC580000 */ sw $t8, ($v0)
/* AA4534 8002D394 8D0202B0 */ lw $v0, 0x2b0($t0)
/* AA4538 8002D398 3C0EE600 */ lui $t6, 0xe600
/* AA453C 8002D39C 00001812 */ mflo $v1
/* AA4540 8002D3A0 24590008 */ addiu $t9, $v0, 8
/* AA4544 8002D3A4 AD1902B0 */ sw $t9, 0x2b0($t0)
/* AA4548 8002D3A8 AC400004 */ sw $zero, 4($v0)
/* AA454C 8002D3AC AC4E0000 */ sw $t6, ($v0)
/* AA4550 8002D3B0 8D0602B0 */ lw $a2, 0x2b0($t0)
/* AA4554 8002D3B4 24630001 */ addiu $v1, $v1, 1
/* AA4558 8002D3B8 00031843 */ sra $v1, $v1, 1
/* AA455C 8002D3BC 2463FFFF */ addiu $v1, $v1, -1
/* AA4560 8002D3C0 24D80008 */ addiu $t8, $a2, 8
/* AA4564 8002D3C4 AD1802B0 */ sw $t8, 0x2b0($t0)
/* AA4568 8002D3C8 286107FF */ slti $at, $v1, 0x7ff
/* AA456C 8002D3CC 3C0FF300 */ lui $t7, 0xf300
/* AA4570 8002D3D0 10200003 */ beqz $at, .L8002D3E0
/* AA4574 8002D3D4 ACCF0000 */ sw $t7, ($a2)
/* AA4578 8002D3D8 10000001 */ b .L8002D3E0
/* AA457C 8002D3DC 00602025 */ move $a0, $v1
.L8002D3E0:
/* AA4580 8002D3E0 1CA00003 */ bgtz $a1, .L8002D3F0
/* AA4584 8002D3E4 00A01825 */ move $v1, $a1
/* AA4588 8002D3E8 10000001 */ b .L8002D3F0
/* AA458C 8002D3EC 24030001 */ li $v1, 1
.L8002D3F0:
/* AA4590 8002D3F0 1CA00003 */ bgtz $a1, .L8002D400
/* AA4594 8002D3F4 247907FF */ addiu $t9, $v1, 0x7ff
/* AA4598 8002D3F8 10000002 */ b .L8002D404
/* AA459C 8002D3FC 24020001 */ li $v0, 1
.L8002D400:
/* AA45A0 8002D400 00A01025 */ move $v0, $a1
.L8002D404:
/* AA45A4 8002D404 0322001A */ div $zero, $t9, $v0
/* AA45A8 8002D408 14400002 */ bnez $v0, .L8002D414
/* AA45AC 8002D40C 00000000 */ nop
/* AA45B0 8002D410 0007000D */ break 7
.L8002D414:
/* AA45B4 8002D414 2401FFFF */ li $at, -1
/* AA45B8 8002D418 14410004 */ bne $v0, $at, .L8002D42C
/* AA45BC 8002D41C 3C018000 */ lui $at, 0x8000
/* AA45C0 8002D420 17210002 */ bne $t9, $at, .L8002D42C
/* AA45C4 8002D424 00000000 */ nop
/* AA45C8 8002D428 0006000D */ break 6
.L8002D42C:
/* AA45CC 8002D42C 00007012 */ mflo $t6
/* AA45D0 8002D430 31D80FFF */ andi $t8, $t6, 0xfff
/* AA45D4 8002D434 3C010700 */ lui $at, 0x700
/* AA45D8 8002D438 30990FFF */ andi $t9, $a0, 0xfff
/* AA45DC 8002D43C 00197300 */ sll $t6, $t9, 0xc
/* AA45E0 8002D440 03017825 */ or $t7, $t8, $at
/* AA45E4 8002D444 01EEC025 */ or $t8, $t7, $t6
/* AA45E8 8002D448 ACD80004 */ sw $t8, 4($a2)
/* AA45EC 8002D44C 8D0202B0 */ lw $v0, 0x2b0($t0)
/* AA45F0 8002D450 3C0FE700 */ lui $t7, 0xe700
/* AA45F4 8002D454 24590008 */ addiu $t9, $v0, 8
/* AA45F8 8002D458 AD1902B0 */ sw $t9, 0x2b0($t0)
/* AA45FC 8002D45C AC400004 */ sw $zero, 4($v0)
/* AA4600 8002D460 AC4F0000 */ sw $t7, ($v0)
/* AA4604 8002D464 8D0202B0 */ lw $v0, 0x2b0($t0)
/* AA4608 8002D468 252FFFFF */ addiu $t7, $t1, -1
/* AA460C 8002D46C 3C19F200 */ lui $t9, 0xf200
/* AA4610 8002D470 244E0008 */ addiu $t6, $v0, 8
/* AA4614 8002D474 AD0E02B0 */ sw $t6, 0x2b0($t0)
/* AA4618 8002D478 AC400004 */ sw $zero, 4($v0)
/* AA461C 8002D47C AC4D0000 */ sw $t5, ($v0)
/* AA4620 8002D480 8D0202B0 */ lw $v0, 0x2b0($t0)
/* AA4624 8002D484 000F7080 */ sll $t6, $t7, 2
/* AA4628 8002D488 24580008 */ addiu $t8, $v0, 8
/* AA462C 8002D48C AD1802B0 */ sw $t8, 0x2b0($t0)
/* AA4630 8002D490 31D80FFF */ andi $t8, $t6, 0xfff
/* AA4634 8002D494 AC590000 */ sw $t9, ($v0)
/* AA4638 8002D498 00F8C825 */ or $t9, $a3, $t8
/* AA463C 8002D49C AC590004 */ sw $t9, 4($v0)
/* AA4640 8002D4A0 8D0202B0 */ lw $v0, 0x2b0($t0)
/* AA4644 8002D4A4 8FA400B4 */ lw $a0, 0xb4($sp)
/* AA4648 8002D4A8 0009C080 */ sll $t8, $t1, 2
/* AA464C 8002D4AC 244F0008 */ addiu $t7, $v0, 8
/* AA4650 8002D4B0 AD0F02B0 */ sw $t7, 0x2b0($t0)
/* AA4654 8002D4B4 0098C821 */ addu $t9, $a0, $t8
/* AA4658 8002D4B8 8FAE001C */ lw $t6, 0x1c($sp)
/* AA465C 8002D4BC 272FFFFF */ addiu $t7, $t9, -1
/* AA4660 8002D4C0 31F80FFF */ andi $t8, $t7, 0xfff
/* AA4664 8002D4C4 308F0FFF */ andi $t7, $a0, 0xfff
/* AA4668 8002D4C8 01D8C825 */ or $t9, $t6, $t8
/* AA466C 8002D4CC 03EF7025 */ or $t6, $ra, $t7
/* AA4670 8002D4D0 AC4E0004 */ sw $t6, 4($v0)
/* AA4674 8002D4D4 AC590000 */ sw $t9, ($v0)
/* AA4678 8002D4D8 8D0202B0 */ lw $v0, 0x2b0($t0)
/* AA467C 8002D4DC 3C0E0400 */ lui $t6, (0x04000400 >> 16) # lui $t6, 0x400
/* AA4680 8002D4E0 35CE0400 */ ori $t6, (0x04000400 & 0xFFFF) # ori $t6, $t6, 0x400
/* AA4684 8002D4E4 24580008 */ addiu $t8, $v0, 8
/* AA4688 8002D4E8 AD1802B0 */ sw $t8, 0x2b0($t0)
/* AA468C 8002D4EC AC400004 */ sw $zero, 4($v0)
/* AA4690 8002D4F0 AC4C0000 */ sw $t4, ($v0)
/* AA4694 8002D4F4 8D0202B0 */ lw $v0, 0x2b0($t0)
/* AA4698 8002D4F8 3C0FF100 */ lui $t7, 0xf100
/* AA469C 8002D4FC 24590008 */ addiu $t9, $v0, 8
/* AA46A0 8002D500 AD1902B0 */ sw $t9, 0x2b0($t0)
/* AA46A4 8002D504 AC4E0004 */ sw $t6, 4($v0)
/* AA46A8 8002D508 AC4F0000 */ sw $t7, ($v0)
/* AA46AC 8002D50C 00401825 */ move $v1, $v0
/* AA46B0 8002D510 8FB800D0 */ lw $t8, 0xd0($sp)
.L8002D514:
/* AA46B4 8002D514 3C068013 */ lui $a2, %hi(D_80136170) # $a2, 0x8013
/* AA46B8 8002D518 24C66170 */ addiu $a2, %lo(D_80136170) # addiu $a2, $a2, 0x6170
/* AA46BC 8002D51C 27A4009C */ addiu $a0, $sp, 0x9c
/* AA46C0 8002D520 24070B40 */ li $a3, 2880
/* AA46C4 8002D524 0C031AD5 */ jal func_800C6B54
/* AA46C8 8002D528 8F050000 */ lw $a1, ($t8)
/* AA46CC 8002D52C 8FBF0014 */ lw $ra, 0x14($sp)
.L8002D530:
/* AA46D0 8002D530 27BD00D0 */ addiu $sp, $sp, 0xd0
/* AA46D4 8002D534 03E00008 */ jr $ra
/* AA46D8 8002D538 00000000 */ nop

View file

@ -1,52 +0,0 @@
glabel func_8006376C
/* ADA90C 8006376C 3C098012 */ lui $t1, %hi(D_8011E0B0) # $t1, 0x8012
/* ADA910 80063770 2529E0B0 */ addiu $t1, %lo(D_8011E0B0) # addiu $t1, $t1, -0x1f50
/* ADA914 80063774 85230000 */ lh $v1, ($t1)
/* ADA918 80063778 27BDFFF8 */ addiu $sp, $sp, -8
/* ADA91C 8006377C 3C0F8016 */ lui $t7, %hi(D_8015FA98) # $t7, 0x8016
/* ADA920 80063780 00037080 */ sll $t6, $v1, 2
/* ADA924 80063784 01C37023 */ subu $t6, $t6, $v1
/* ADA928 80063788 AFB00004 */ sw $s0, 4($sp)
/* ADA92C 8006378C AFA40008 */ sw $a0, 8($sp)
/* ADA930 80063790 AFA5000C */ sw $a1, 0xc($sp)
/* ADA934 80063794 AFA60010 */ sw $a2, 0x10($sp)
/* ADA938 80063798 000E70C0 */ sll $t6, $t6, 3
/* ADA93C 8006379C 25EFFA98 */ addiu $t7, %lo(D_8015FA98) # addiu $t7, $t7, -0x568
/* ADA940 800637A0 28610016 */ slti $at, $v1, 0x16
/* ADA944 800637A4 30C600FF */ andi $a2, $a2, 0xff
/* ADA948 800637A8 30A500FF */ andi $a1, $a1, 0xff
/* ADA94C 800637AC 308400FF */ andi $a0, $a0, 0xff
/* ADA950 800637B0 00E08025 */ move $s0, $a3
/* ADA954 800637B4 10200019 */ beqz $at, .L8006381C
/* ADA958 800637B8 01CF1021 */ addu $v0, $t6, $t7
/* ADA95C 800637BC A0440000 */ sb $a0, ($v0)
/* ADA960 800637C0 A0450001 */ sb $a1, 1($v0)
/* ADA964 800637C4 A0460002 */ sb $a2, 2($v0)
/* ADA968 800637C8 90E70000 */ lbu $a3, ($a3)
/* ADA96C 800637CC 00001825 */ move $v1, $zero
/* ADA970 800637D0 24480004 */ addiu $t0, $v0, 4
/* ADA974 800637D4 26100001 */ addiu $s0, $s0, 1
/* ADA978 800637D8 10E0000C */ beqz $a3, .L8006380C
/* ADA97C 800637DC A0470003 */ sb $a3, 3($v0)
.L800637E0:
/* ADA980 800637E0 28620015 */ slti $v0, $v1, 0x15
/* ADA984 800637E4 24630001 */ addiu $v1, $v1, 1
/* ADA988 800637E8 00031C00 */ sll $v1, $v1, 0x10
/* ADA98C 800637EC 38420001 */ xori $v0, $v0, 1
/* ADA990 800637F0 14400006 */ bnez $v0, .L8006380C
/* ADA994 800637F4 00031C03 */ sra $v1, $v1, 0x10
/* ADA998 800637F8 92070000 */ lbu $a3, ($s0)
/* ADA99C 800637FC 25080001 */ addiu $t0, $t0, 1
/* ADA9A0 80063800 26100001 */ addiu $s0, $s0, 1
/* ADA9A4 80063804 14E0FFF6 */ bnez $a3, .L800637E0
/* ADA9A8 80063808 A107FFFF */ sb $a3, -1($t0)
.L8006380C:
/* ADA9AC 8006380C A1000000 */ sb $zero, ($t0)
/* ADA9B0 80063810 85380000 */ lh $t8, ($t1)
/* ADA9B4 80063814 27190001 */ addiu $t9, $t8, 1
/* ADA9B8 80063818 A5390000 */ sh $t9, ($t1)
.L8006381C:
/* ADA9BC 8006381C 8FB00004 */ lw $s0, 4($sp)
/* ADA9C0 80063820 03E00008 */ jr $ra
/* ADA9C4 80063824 27BD0008 */ addiu $sp, $sp, 8

View file

@ -1,16 +0,0 @@
glabel BgHakaMegane_Destroy
/* 000B4 8087DAF4 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 000B8 8087DAF8 AFA40018 */ sw $a0, 0x0018($sp)
/* 000BC 8087DAFC 8FAE0018 */ lw $t6, 0x0018($sp)
/* 000C0 8087DB00 AFBF0014 */ sw $ra, 0x0014($sp)
/* 000C4 8087DB04 00A02025 */ or $a0, $a1, $zero ## $a0 = 00000000
/* 000C8 8087DB08 24A50810 */ addiu $a1, $a1, 0x0810 ## $a1 = 00000810
/* 000CC 8087DB0C 0C00FB56 */ jal DynaPolyInfo_Free
## DynaPolyInfo_delReserve
/* 000D0 8087DB10 8DC6014C */ lw $a2, 0x014C($t6) ## 0000014C
/* 000D4 8087DB14 8FBF0014 */ lw $ra, 0x0014($sp)
/* 000D8 8087DB18 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
/* 000DC 8087DB1C 03E00008 */ jr $ra
/* 000E0 8087DB20 00000000 */ nop

View file

@ -1,57 +0,0 @@
glabel BgHakaMegane_Init
/* 00000 8087DA40 27BDFFE0 */ addiu $sp, $sp, 0xFFE0 ## $sp = FFFFFFE0
/* 00004 8087DA44 AFA50024 */ sw $a1, 0x0024($sp)
/* 00008 8087DA48 AFBF001C */ sw $ra, 0x001C($sp)
/* 0000C 8087DA4C AFB00018 */ sw $s0, 0x0018($sp)
/* 00010 8087DA50 3C058088 */ lui $a1, %hi(D_8087DD50) ## $a1 = 80880000
/* 00014 8087DA54 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 00018 8087DA58 0C01E037 */ jal Actor_ProcessInitChain
/* 0001C 8087DA5C 24A5DD50 */ addiu $a1, $a1, %lo(D_8087DD50) ## $a1 = 8087DD50
/* 00020 8087DA60 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00024 8087DA64 0C010D20 */ jal DynaPolyInfo_SetActorMove
/* 00028 8087DA68 00002825 */ or $a1, $zero, $zero ## $a1 = 00000000
/* 0002C 8087DA6C 860E001C */ lh $t6, 0x001C($s0) ## 0000001C
/* 00030 8087DA70 8FA40024 */ lw $a0, 0x0024($sp)
/* 00034 8087DA74 24050069 */ addiu $a1, $zero, 0x0069 ## $a1 = 00000069
/* 00038 8087DA78 29C10003 */ slti $at, $t6, 0x0003
/* 0003C 8087DA7C 5020000A */ beql $at, $zero, .L8087DAA8
/* 00040 8087DA80 3C010001 */ lui $at, 0x0001 ## $at = 00010000
/* 00044 8087DA84 8FA40024 */ lw $a0, 0x0024($sp)
/* 00048 8087DA88 3C010001 */ lui $at, 0x0001 ## $at = 00010000
/* 0004C 8087DA8C 342117A4 */ ori $at, $at, 0x17A4 ## $at = 000117A4
/* 00050 8087DA90 2405008D */ addiu $a1, $zero, 0x008D ## $a1 = 0000008D
/* 00054 8087DA94 0C02604B */ jal Object_GetIndex
## ObjectIndex
/* 00058 8087DA98 00812021 */ addu $a0, $a0, $at
/* 0005C 8087DA9C 10000006 */ beq $zero, $zero, .L8087DAB8
/* 00060 8087DAA0 A2020169 */ sb $v0, 0x0169($s0) ## 00000169
/* 00064 8087DAA4 3C010001 */ lui $at, 0x0001 ## $at = 00010000
.L8087DAA8:
/* 00068 8087DAA8 342117A4 */ ori $at, $at, 0x17A4 ## $at = 000117A4
/* 0006C 8087DAAC 0C02604B */ jal Object_GetIndex
## ObjectIndex
/* 00070 8087DAB0 00812021 */ addu $a0, $a0, $at
/* 00074 8087DAB4 A2020169 */ sb $v0, 0x0169($s0) ## 00000169
.L8087DAB8:
/* 00078 8087DAB8 820F0169 */ lb $t7, 0x0169($s0) ## 00000169
/* 0007C 8087DABC 3C188088 */ lui $t8, %hi(func_8087DB24) ## $t8 = 80880000
/* 00080 8087DAC0 2718DB24 */ addiu $t8, $t8, %lo(func_8087DB24) ## $t8 = 8087DB24
/* 00084 8087DAC4 05E30006 */ bgezl $t7, .L8087DAE0
/* 00088 8087DAC8 AE180164 */ sw $t8, 0x0164($s0) ## 00000164
/* 0008C 8087DACC 0C00B55C */ jal Actor_Kill
/* 00090 8087DAD0 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00094 8087DAD4 10000003 */ beq $zero, $zero, .L8087DAE4
/* 00098 8087DAD8 8FBF001C */ lw $ra, 0x001C($sp)
/* 0009C 8087DADC AE180164 */ sw $t8, 0x0164($s0) ## 00000164
.L8087DAE0:
/* 000A0 8087DAE0 8FBF001C */ lw $ra, 0x001C($sp)
.L8087DAE4:
/* 000A4 8087DAE4 8FB00018 */ lw $s0, 0x0018($sp)
/* 000A8 8087DAE8 27BD0020 */ addiu $sp, $sp, 0x0020 ## $sp = 00000000
/* 000AC 8087DAEC 03E00008 */ jr $ra
/* 000B0 8087DAF0 00000000 */ nop

View file

@ -1,12 +0,0 @@
glabel BgHakaMegane_Update
/* 00230 8087DC70 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 00234 8087DC74 AFBF0014 */ sw $ra, 0x0014($sp)
/* 00238 8087DC78 8C990164 */ lw $t9, 0x0164($a0) ## 00000164
/* 0023C 8087DC7C 0320F809 */ jalr $ra, $t9
/* 00240 8087DC80 00000000 */ nop
/* 00244 8087DC84 8FBF0014 */ lw $ra, 0x0014($sp)
/* 00248 8087DC88 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
/* 0024C 8087DC8C 03E00008 */ jr $ra
/* 00250 8087DC90 00000000 */ nop

View file

@ -1,34 +0,0 @@
glabel func_8087DBF0
/* 001B0 8087DBF0 27BDFFE0 */ addiu $sp, $sp, 0xFFE0 ## $sp = FFFFFFE0
/* 001B4 8087DBF4 AFBF001C */ sw $ra, 0x001C($sp)
/* 001B8 8087DBF8 AFB00018 */ sw $s0, 0x0018($sp)
/* 001BC 8087DBFC 90AE1C27 */ lbu $t6, 0x1C27($a1) ## 00001C27
/* 001C0 8087DC00 00A08025 */ or $s0, $a1, $zero ## $s0 = 00000000
/* 001C4 8087DC04 00803825 */ or $a3, $a0, $zero ## $a3 = 00000000
/* 001C8 8087DC08 11C0000A */ beq $t6, $zero, .L8087DC34
/* 001CC 8087DC0C 2401FF7F */ addiu $at, $zero, 0xFF7F ## $at = FFFFFF7F
/* 001D0 8087DC10 8C8F0004 */ lw $t7, 0x0004($a0) ## 00000004
/* 001D4 8087DC14 35F80080 */ ori $t8, $t7, 0x0080 ## $t8 = 00000080
/* 001D8 8087DC18 AC980004 */ sw $t8, 0x0004($a0) ## 00000004
/* 001DC 8087DC1C 00A02025 */ or $a0, $a1, $zero ## $a0 = 00000000
/* 001E0 8087DC20 24A50810 */ addiu $a1, $a1, 0x0810 ## $a1 = 00000810
/* 001E4 8087DC24 0C00FAFE */ jal func_8003EBF8
/* 001E8 8087DC28 8CE6014C */ lw $a2, 0x014C($a3) ## 0000014C
/* 001EC 8087DC2C 10000009 */ beq $zero, $zero, .L8087DC54
/* 001F0 8087DC30 8FBF001C */ lw $ra, 0x001C($sp)
.L8087DC34:
/* 001F4 8087DC34 8CF90004 */ lw $t9, 0x0004($a3) ## 00000004
/* 001F8 8087DC38 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 001FC 8087DC3C 26050810 */ addiu $a1, $s0, 0x0810 ## $a1 = 00000810
/* 00200 8087DC40 03214024 */ and $t0, $t9, $at
/* 00204 8087DC44 ACE80004 */ sw $t0, 0x0004($a3) ## 00000004
/* 00208 8087DC48 0C00FB14 */ jal func_8003EC50
/* 0020C 8087DC4C 8CE6014C */ lw $a2, 0x014C($a3) ## 0000014C
/* 00210 8087DC50 8FBF001C */ lw $ra, 0x001C($sp)
.L8087DC54:
/* 00214 8087DC54 8FB00018 */ lw $s0, 0x0018($sp)
/* 00218 8087DC58 27BD0020 */ addiu $sp, $sp, 0x0020 ## $sp = 00000000
/* 0021C 8087DC5C 03E00008 */ jr $ra
/* 00220 8087DC60 00000000 */ nop

View file

@ -1,6 +0,0 @@
glabel func_8087DC64
/* 00224 8087DC64 AFA40000 */ sw $a0, 0x0000($sp)
/* 00228 8087DC68 03E00008 */ jr $ra
/* 0022C 8087DC6C AFA50004 */ sw $a1, 0x0004($sp)

View file

@ -1,47 +0,0 @@
glabel func_8087DC94
/* 00254 8087DC94 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 00258 8087DC98 AFBF0014 */ sw $ra, 0x0014($sp)
/* 0025C 8087DC9C AFA5001C */ sw $a1, 0x001C($sp)
/* 00260 8087DCA0 8C8E0004 */ lw $t6, 0x0004($a0) ## 00000004
/* 00264 8087DCA4 00803025 */ or $a2, $a0, $zero ## $a2 = 00000000
/* 00268 8087DCA8 24010080 */ addiu $at, $zero, 0x0080 ## $at = 00000080
/* 0026C 8087DCAC 31CF0080 */ andi $t7, $t6, 0x0080 ## $t7 = 00000000
/* 00270 8087DCB0 15E1000B */ bne $t7, $at, .L8087DCE0
/* 00274 8087DCB4 8FA4001C */ lw $a0, 0x001C($sp)
/* 00278 8087DCB8 84D8001C */ lh $t8, 0x001C($a2) ## 0000001C
/* 0027C 8087DCBC 00A02025 */ or $a0, $a1, $zero ## $a0 = 00000000
/* 00280 8087DCC0 3C058088 */ lui $a1, %hi(D_8087DD88) ## $a1 = 80880000
/* 00284 8087DCC4 0018C880 */ sll $t9, $t8, 2
/* 00288 8087DCC8 00B92821 */ addu $a1, $a1, $t9
/* 0028C 8087DCCC 8CA5DD88 */ lw $a1, %lo(D_8087DD88)($a1)
/* 00290 8087DCD0 0C00D4C9 */ jal Draw_DListXlu
/* 00294 8087DCD4 AFA60018 */ sw $a2, 0x0018($sp)
/* 00298 8087DCD8 10000009 */ beq $zero, $zero, .L8087DD00
/* 0029C 8087DCDC 8FAA0018 */ lw $t2, 0x0018($sp)
.L8087DCE0:
/* 002A0 8087DCE0 84C8001C */ lh $t0, 0x001C($a2) ## 0000001C
/* 002A4 8087DCE4 3C058088 */ lui $a1, %hi(D_8087DD88) ## $a1 = 80880000
/* 002A8 8087DCE8 AFA60018 */ sw $a2, 0x0018($sp)
/* 002AC 8087DCEC 00084880 */ sll $t1, $t0, 2
/* 002B0 8087DCF0 00A92821 */ addu $a1, $a1, $t1
/* 002B4 8087DCF4 0C00D498 */ jal Draw_DListOpa
/* 002B8 8087DCF8 8CA5DD88 */ lw $a1, %lo(D_8087DD88)($a1)
/* 002BC 8087DCFC 8FAA0018 */ lw $t2, 0x0018($sp)
.L8087DD00:
/* 002C0 8087DD00 8FA4001C */ lw $a0, 0x001C($sp)
/* 002C4 8087DD04 3C050600 */ lui $a1, 0x0600 ## $a1 = 06000000
/* 002C8 8087DD08 854B001C */ lh $t3, 0x001C($t2) ## 0000001C
/* 002CC 8087DD0C 55600004 */ bnel $t3, $zero, .L8087DD20
/* 002D0 8087DD10 8FBF0014 */ lw $ra, 0x0014($sp)
/* 002D4 8087DD14 0C00D4C9 */ jal Draw_DListXlu
/* 002D8 8087DD18 24A51250 */ addiu $a1, $a1, 0x1250 ## $a1 = 06001250
/* 002DC 8087DD1C 8FBF0014 */ lw $ra, 0x0014($sp)
.L8087DD20:
/* 002E0 8087DD20 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
/* 002E4 8087DD24 03E00008 */ jr $ra
/* 002E8 8087DD28 00000000 */ nop
/* 002EC 8087DD2C 00000000 */ nop

View file

@ -1,16 +0,0 @@
glabel BgZg_Destroy
/* 00000 808C0C20 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 00004 808C0C24 AFA40018 */ sw $a0, 0x0018($sp)
/* 00008 808C0C28 8FAE0018 */ lw $t6, 0x0018($sp)
/* 0000C 808C0C2C AFBF0014 */ sw $ra, 0x0014($sp)
/* 00010 808C0C30 00A02025 */ or $a0, $a1, $zero ## $a0 = 00000000
/* 00014 808C0C34 24A50810 */ addiu $a1, $a1, 0x0810 ## $a1 = 00000810
/* 00018 808C0C38 0C00FB56 */ jal DynaPolyInfo_Free
## DynaPolyInfo_delReserve
/* 0001C 808C0C3C 8DC6014C */ lw $a2, 0x014C($t6) ## 0000014C
/* 00020 808C0C40 8FBF0014 */ lw $ra, 0x0014($sp)
/* 00024 808C0C44 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
/* 00028 808C0C48 03E00008 */ jr $ra
/* 0002C 808C0C4C 00000000 */ nop

View file

@ -1,32 +0,0 @@
glabel BgZg_Draw
/* 00388 808C0FA8 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 0038C 808C0FAC AFBF0014 */ sw $ra, 0x0014($sp)
/* 00390 808C0FB0 8C820168 */ lw $v0, 0x0168($a0) ## 00000168
/* 00394 808C0FB4 04400008 */ bltz $v0, .L808C0FD8
/* 00398 808C0FB8 00000000 */ nop
/* 0039C 808C0FBC 1C400006 */ bgtz $v0, .L808C0FD8
/* 003A0 808C0FC0 00027080 */ sll $t6, $v0, 2
/* 003A4 808C0FC4 3C03808C */ lui $v1, %hi(D_808C101C) ## $v1 = 808C0000
/* 003A8 808C0FC8 006E1821 */ addu $v1, $v1, $t6
/* 003AC 808C0FCC 8C63101C */ lw $v1, %lo(D_808C101C)($v1)
/* 003B0 808C0FD0 14600006 */ bne $v1, $zero, .L808C0FEC
/* 003B4 808C0FD4 00000000 */ nop
.L808C0FD8:
/* 003B8 808C0FD8 3C04808C */ lui $a0, %hi(D_808C10AC) ## $a0 = 808C0000
/* 003BC 808C0FDC 0C00084C */ jal osSyncPrintf
/* 003C0 808C0FE0 248410AC */ addiu $a0, $a0, %lo(D_808C10AC) ## $a0 = 808C10AC
/* 003C4 808C0FE4 10000004 */ beq $zero, $zero, .L808C0FF8
/* 003C8 808C0FE8 8FBF0014 */ lw $ra, 0x0014($sp)
.L808C0FEC:
/* 003CC 808C0FEC 0060F809 */ jalr $ra, $v1
/* 003D0 808C0FF0 00000000 */ nop
/* 003D4 808C0FF4 8FBF0014 */ lw $ra, 0x0014($sp)
.L808C0FF8:
/* 003D8 808C0FF8 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
/* 003DC 808C0FFC 03E00008 */ jr $ra
/* 003E0 808C1000 00000000 */ nop
/* 003E4 808C1004 00000000 */ nop
/* 003E8 808C1008 00000000 */ nop
/* 003EC 808C100C 00000000 */ nop

View file

@ -1,69 +0,0 @@
glabel BgZg_Init
/* 001E4 808C0E04 27BDFFD0 */ addiu $sp, $sp, 0xFFD0 ## $sp = FFFFFFD0
/* 001E8 808C0E08 AFA50034 */ sw $a1, 0x0034($sp)
/* 001EC 808C0E0C AFBF001C */ sw $ra, 0x001C($sp)
/* 001F0 808C0E10 AFB00018 */ sw $s0, 0x0018($sp)
/* 001F4 808C0E14 3C05808C */ lui $a1, %hi(D_808C1018) ## $a1 = 808C0000
/* 001F8 808C0E18 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 001FC 808C0E1C 0C01E037 */ jal Actor_ProcessInitChain
/* 00200 808C0E20 24A51018 */ addiu $a1, $a1, %lo(D_808C1018) ## $a1 = 808C1018
/* 00204 808C0E24 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00208 808C0E28 0C010D20 */ jal DynaPolyInfo_SetActorMove
/* 0020C 808C0E2C 00002825 */ or $a1, $zero, $zero ## $a1 = 00000000
/* 00210 808C0E30 3C040600 */ lui $a0, 0x0600 ## $a0 = 06000000
/* 00214 808C0E34 AFA00020 */ sw $zero, 0x0020($sp)
/* 00218 808C0E38 248411D4 */ addiu $a0, $a0, 0x11D4 ## $a0 = 060011D4
/* 0021C 808C0E3C 0C010620 */ jal DynaPolyInfo_Alloc
/* 00220 808C0E40 27A50020 */ addiu $a1, $sp, 0x0020 ## $a1 = FFFFFFF0
/* 00224 808C0E44 8FA40034 */ lw $a0, 0x0034($sp)
/* 00228 808C0E48 02003025 */ or $a2, $s0, $zero ## $a2 = 00000000
/* 0022C 808C0E4C 8FA70020 */ lw $a3, 0x0020($sp)
/* 00230 808C0E50 0C00FA9D */ jal DynaPolyInfo_RegisterActor
## DynaPolyInfo_setActor
/* 00234 808C0E54 24850810 */ addiu $a1, $a0, 0x0810 ## $a1 = 00000810
/* 00238 808C0E58 AE02014C */ sw $v0, 0x014C($s0) ## 0000014C
/* 0023C 808C0E5C 0C230332 */ jal func_808C0CC8
/* 00240 808C0E60 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00244 808C0E64 24010008 */ addiu $at, $zero, 0x0008 ## $at = 00000008
/* 00248 808C0E68 10410005 */ beq $v0, $at, .L808C0E80
/* 0024C 808C0E6C 00000000 */ nop
/* 00250 808C0E70 0C230332 */ jal func_808C0CC8
/* 00254 808C0E74 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00258 808C0E78 24010009 */ addiu $at, $zero, 0x0009 ## $at = 00000009
/* 0025C 808C0E7C 1441000D */ bne $v0, $at, .L808C0EB4
.L808C0E80:
/* 00260 808C0E80 3C01808C */ lui $at, %hi(D_808C10E8) ## $at = 808C0000
/* 00264 808C0E84 C42010E8 */ lwc1 $f0, %lo(D_808C10E8)($at)
/* 00268 808C0E88 C6040050 */ lwc1 $f4, 0x0050($s0) ## 00000050
/* 0026C 808C0E8C C6080058 */ lwc1 $f8, 0x0058($s0) ## 00000058
/* 00270 808C0E90 3C01808C */ lui $at, %hi(D_808C10EC) ## $at = 808C0000
/* 00274 808C0E94 46002182 */ mul.s $f6, $f4, $f0
/* 00278 808C0E98 C6100054 */ lwc1 $f16, 0x0054($s0) ## 00000054
/* 0027C 808C0E9C 46004282 */ mul.s $f10, $f8, $f0
/* 00280 808C0EA0 E6060050 */ swc1 $f6, 0x0050($s0) ## 00000050
/* 00284 808C0EA4 E60A0058 */ swc1 $f10, 0x0058($s0) ## 00000058
/* 00288 808C0EA8 C43210EC */ lwc1 $f18, %lo(D_808C10EC)($at)
/* 0028C 808C0EAC 46128102 */ mul.s $f4, $f16, $f18
/* 00290 808C0EB0 E6040054 */ swc1 $f4, 0x0054($s0) ## 00000054
.L808C0EB4:
/* 00294 808C0EB4 AE000164 */ sw $zero, 0x0164($s0) ## 00000164
/* 00298 808C0EB8 AE000168 */ sw $zero, 0x0168($s0) ## 00000168
/* 0029C 808C0EBC 8FA50034 */ lw $a1, 0x0034($sp)
/* 002A0 808C0EC0 0C230326 */ jal func_808C0C98
/* 002A4 808C0EC4 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 002A8 808C0EC8 50400004 */ beql $v0, $zero, .L808C0EDC
/* 002AC 808C0ECC 8FBF001C */ lw $ra, 0x001C($sp)
/* 002B0 808C0ED0 0C00B55C */ jal Actor_Kill
/* 002B4 808C0ED4 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 002B8 808C0ED8 8FBF001C */ lw $ra, 0x001C($sp)
.L808C0EDC:
/* 002BC 808C0EDC 8FB00018 */ lw $s0, 0x0018($sp)
/* 002C0 808C0EE0 27BD0030 */ addiu $sp, $sp, 0x0030 ## $sp = 00000000
/* 002C4 808C0EE4 03E00008 */ jr $ra
/* 002C8 808C0EE8 00000000 */ nop

View file

@ -1,30 +0,0 @@
glabel BgZg_Update
/* 00188 808C0DA8 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 0018C 808C0DAC AFBF0014 */ sw $ra, 0x0014($sp)
/* 00190 808C0DB0 8C820164 */ lw $v0, 0x0164($a0) ## 00000164
/* 00194 808C0DB4 04400008 */ bltz $v0, .L808C0DD8
/* 00198 808C0DB8 28410002 */ slti $at, $v0, 0x0002
/* 0019C 808C0DBC 10200006 */ beq $at, $zero, .L808C0DD8
/* 001A0 808C0DC0 00027080 */ sll $t6, $v0, 2
/* 001A4 808C0DC4 3C03808C */ lui $v1, %hi(D_808C1010) ## $v1 = 808C0000
/* 001A8 808C0DC8 006E1821 */ addu $v1, $v1, $t6
/* 001AC 808C0DCC 8C631010 */ lw $v1, %lo(D_808C1010)($v1)
/* 001B0 808C0DD0 14600006 */ bne $v1, $zero, .L808C0DEC
/* 001B4 808C0DD4 00000000 */ nop
.L808C0DD8:
/* 001B8 808C0DD8 3C04808C */ lui $a0, %hi(D_808C1040) ## $a0 = 808C0000
/* 001BC 808C0DDC 0C00084C */ jal osSyncPrintf
/* 001C0 808C0DE0 24841040 */ addiu $a0, $a0, %lo(D_808C1040) ## $a0 = 808C1040
/* 001C4 808C0DE4 10000004 */ beq $zero, $zero, .L808C0DF8
/* 001C8 808C0DE8 8FBF0014 */ lw $ra, 0x0014($sp)
.L808C0DEC:
/* 001CC 808C0DEC 0060F809 */ jalr $ra, $v1
/* 001D0 808C0DF0 00000000 */ nop
/* 001D4 808C0DF4 8FBF0014 */ lw $ra, 0x0014($sp)
.L808C0DF8:
/* 001D8 808C0DF8 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
/* 001DC 808C0DFC 03E00008 */ jr $ra
/* 001E0 808C0E00 00000000 */ nop

View file

@ -1,22 +0,0 @@
glabel func_808C0C50
/* 00030 808C0C50 27BDFFE0 */ addiu $sp, $sp, 0xFFE0 ## $sp = FFFFFFE0
/* 00034 808C0C54 AFA40020 */ sw $a0, 0x0020($sp)
/* 00038 808C0C58 8FA50020 */ lw $a1, 0x0020($sp)
/* 0003C 808C0C5C 3C078013 */ lui $a3, 0x8013 ## $a3 = 80130000
/* 00040 808C0C60 3C0E8013 */ lui $t6, 0x8013 ## $t6 = 80130000
/* 00044 808C0C64 24E733E0 */ addiu $a3, $a3, 0x33E0 ## $a3 = 801333E0
/* 00048 808C0C68 AFBF001C */ sw $ra, 0x001C($sp)
/* 0004C 808C0C6C 25CE33E8 */ addiu $t6, $t6, 0x33E8 ## $t6 = 801333E8
/* 00050 808C0C70 AFAE0014 */ sw $t6, 0x0014($sp)
/* 00054 808C0C74 AFA70010 */ sw $a3, 0x0010($sp)
/* 00058 808C0C78 24042859 */ addiu $a0, $zero, 0x2859 ## $a0 = 00002859
/* 0005C 808C0C7C 24060004 */ addiu $a2, $zero, 0x0004 ## $a2 = 00000004
/* 00060 808C0C80 0C03DCE3 */ jal Audio_PlaySoundGeneral
/* 00064 808C0C84 24A500E4 */ addiu $a1, $a1, 0x00E4 ## $a1 = 000000E4
/* 00068 808C0C88 8FBF001C */ lw $ra, 0x001C($sp)
/* 0006C 808C0C8C 27BD0020 */ addiu $sp, $sp, 0x0020 ## $sp = 00000000
/* 00070 808C0C90 03E00008 */ jr $ra
/* 00074 808C0C94 00000000 */ nop

View file

@ -1,16 +0,0 @@
glabel func_808C0C98
/* 00078 808C0C98 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 0007C 808C0C9C AFBF0014 */ sw $ra, 0x0014($sp)
/* 00080 808C0CA0 00A03825 */ or $a3, $a1, $zero ## $a3 = 00000000
/* 00084 808C0CA4 8485001C */ lh $a1, 0x001C($a0) ## 0000001C
/* 00088 808C0CA8 00E02025 */ or $a0, $a3, $zero ## $a0 = 00000000
/* 0008C 808C0CAC 00052A03 */ sra $a1, $a1, 8
/* 00090 808C0CB0 0C00B2D0 */ jal Flags_GetSwitch
/* 00094 808C0CB4 30A500FF */ andi $a1, $a1, 0x00FF ## $a1 = 00000000
/* 00098 808C0CB8 8FBF0014 */ lw $ra, 0x0014($sp)
/* 0009C 808C0CBC 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
/* 000A0 808C0CC0 03E00008 */ jr $ra
/* 000A4 808C0CC4 00000000 */ nop

View file

@ -1,6 +0,0 @@
glabel func_808C0CC8
/* 000A8 808C0CC8 8483001C */ lh $v1, 0x001C($a0) ## 0000001C
/* 000AC 808C0CCC 03E00008 */ jr $ra
/* 000B0 808C0CD0 306200FF */ andi $v0, $v1, 0x00FF ## $v0 = 00000000

View file

@ -1,17 +0,0 @@
glabel func_808C0CD4
/* 000B4 808C0CD4 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 000B8 808C0CD8 AFBF0014 */ sw $ra, 0x0014($sp)
/* 000BC 808C0CDC 0C230326 */ jal func_808C0C98
/* 000C0 808C0CE0 AFA40018 */ sw $a0, 0x0018($sp)
/* 000C4 808C0CE4 10400004 */ beq $v0, $zero, .L808C0CF8
/* 000C8 808C0CE8 8FA40018 */ lw $a0, 0x0018($sp)
/* 000CC 808C0CEC 240E0001 */ addiu $t6, $zero, 0x0001 ## $t6 = 00000001
/* 000D0 808C0CF0 0C230314 */ jal func_808C0C50
/* 000D4 808C0CF4 AC8E0164 */ sw $t6, 0x0164($a0) ## 00000164
.L808C0CF8:
/* 000D8 808C0CF8 8FBF0014 */ lw $ra, 0x0014($sp)
/* 000DC 808C0CFC 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
/* 000E0 808C0D00 03E00008 */ jr $ra
/* 000E4 808C0D04 00000000 */ nop

View file

@ -1,45 +0,0 @@
glabel func_808C0D08
/* 000E8 808C0D08 3C028016 */ lui $v0, 0x8016 ## $v0 = 80160000
/* 000EC 808C0D0C 2442FA90 */ addiu $v0, $v0, 0xFA90 ## $v0 = 8015FA90
/* 000F0 808C0D10 8C4E0000 */ lw $t6, 0x0000($v0) ## 8015FA90
/* 000F4 808C0D14 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 000F8 808C0D18 AFBF0014 */ sw $ra, 0x0014($sp)
/* 000FC 808C0D1C AFA5001C */ sw $a1, 0x001C($sp)
/* 00100 808C0D20 85CF1474 */ lh $t7, 0x1474($t6) ## 00001474
/* 00104 808C0D24 3C01808C */ lui $at, %hi(D_808C10E4) ## $at = 808C0000
/* 00108 808C0D28 C42010E4 */ lwc1 $f0, %lo(D_808C10E4)($at)
/* 0010C 808C0D2C 448F2000 */ mtc1 $t7, $f4 ## $f4 = 0.00
/* 00110 808C0D30 3C0141A0 */ lui $at, 0x41A0 ## $at = 41A00000
/* 00114 808C0D34 44814000 */ mtc1 $at, $f8 ## $f8 = 20.00
/* 00118 808C0D38 468021A0 */ cvt.s.w $f6, $f4
/* 0011C 808C0D3C C4920028 */ lwc1 $f18, 0x0028($a0) ## 00000028
/* 00120 808C0D40 3C014348 */ lui $at, 0x4348 ## $at = 43480000
/* 00124 808C0D44 46083280 */ add.s $f10, $f6, $f8
/* 00128 808C0D48 46005402 */ mul.s $f16, $f10, $f0
/* 0012C 808C0D4C 46109100 */ add.s $f4, $f18, $f16
/* 00130 808C0D50 44819000 */ mtc1 $at, $f18 ## $f18 = 200.00
/* 00134 808C0D54 E4840028 */ swc1 $f4, 0x0028($a0) ## 00000028
/* 00138 808C0D58 8C580000 */ lw $t8, 0x0000($v0) ## 8015FA90
/* 0013C 808C0D5C C4860028 */ lwc1 $f6, 0x0028($a0) ## 00000028
/* 00140 808C0D60 87191476 */ lh $t9, 0x1476($t8) ## 00001476
/* 00144 808C0D64 44994000 */ mtc1 $t9, $f8 ## $f8 = 0.00
/* 00148 808C0D68 00000000 */ nop
/* 0014C 808C0D6C 468042A0 */ cvt.s.w $f10, $f8
/* 00150 808C0D70 C488000C */ lwc1 $f8, 0x000C($a0) ## 0000000C
/* 00154 808C0D74 46125400 */ add.s $f16, $f10, $f18
/* 00158 808C0D78 46008102 */ mul.s $f4, $f16, $f0
/* 0015C 808C0D7C 46082280 */ add.s $f10, $f4, $f8
/* 00160 808C0D80 4606503E */ c.le.s $f10, $f6
/* 00164 808C0D84 00000000 */ nop
/* 00168 808C0D88 45020004 */ bc1fl .L808C0D9C
/* 0016C 808C0D8C 8FBF0014 */ lw $ra, 0x0014($sp)
/* 00170 808C0D90 0C00B55C */ jal Actor_Kill
/* 00174 808C0D94 00000000 */ nop
/* 00178 808C0D98 8FBF0014 */ lw $ra, 0x0014($sp)
.L808C0D9C:
/* 0017C 808C0D9C 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
/* 00180 808C0DA0 03E00008 */ jr $ra
/* 00184 808C0DA4 00000000 */ nop

View file

@ -1,50 +0,0 @@
glabel func_808C0EEC
/* 002CC 808C0EEC 27BDFFB8 */ addiu $sp, $sp, 0xFFB8 ## $sp = FFFFFFB8
/* 002D0 808C0EF0 AFBF001C */ sw $ra, 0x001C($sp)
/* 002D4 808C0EF4 AFB00018 */ sw $s0, 0x0018($sp)
/* 002D8 808C0EF8 AFA40048 */ sw $a0, 0x0048($sp)
/* 002DC 808C0EFC AFA5004C */ sw $a1, 0x004C($sp)
/* 002E0 808C0F00 8CB00000 */ lw $s0, 0x0000($a1) ## 00000000
/* 002E4 808C0F04 3C06808C */ lui $a2, %hi(D_808C107C) ## $a2 = 808C0000
/* 002E8 808C0F08 24C6107C */ addiu $a2, $a2, %lo(D_808C107C) ## $a2 = 808C107C
/* 002EC 808C0F0C 27A40030 */ addiu $a0, $sp, 0x0030 ## $a0 = FFFFFFE8
/* 002F0 808C0F10 24070137 */ addiu $a3, $zero, 0x0137 ## $a3 = 00000137
/* 002F4 808C0F14 0C031AB1 */ jal func_800C6AC4
/* 002F8 808C0F18 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000
/* 002FC 808C0F1C 0C024F46 */ jal func_80093D18
/* 00300 808C0F20 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00304 808C0F24 8E0302C0 */ lw $v1, 0x02C0($s0) ## 000002C0
/* 00308 808C0F28 3C18DA38 */ lui $t8, 0xDA38 ## $t8 = DA380000
/* 0030C 808C0F2C 37180003 */ ori $t8, $t8, 0x0003 ## $t8 = DA380003
/* 00310 808C0F30 246F0008 */ addiu $t7, $v1, 0x0008 ## $t7 = 00000008
/* 00314 808C0F34 AE0F02C0 */ sw $t7, 0x02C0($s0) ## 000002C0
/* 00318 808C0F38 3C05808C */ lui $a1, %hi(D_808C108C) ## $a1 = 808C0000
/* 0031C 808C0F3C AC780000 */ sw $t8, 0x0000($v1) ## 00000000
/* 00320 808C0F40 24A5108C */ addiu $a1, $a1, %lo(D_808C108C) ## $a1 = 808C108C
/* 00324 808C0F44 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00328 808C0F48 2406013B */ addiu $a2, $zero, 0x013B ## $a2 = 0000013B
/* 0032C 808C0F4C 0C0346A2 */ jal Matrix_NewMtx
/* 00330 808C0F50 AFA3002C */ sw $v1, 0x002C($sp)
/* 00334 808C0F54 8FA7002C */ lw $a3, 0x002C($sp)
/* 00338 808C0F58 3C090600 */ lui $t1, 0x0600 ## $t1 = 06000000
/* 0033C 808C0F5C 25291080 */ addiu $t1, $t1, 0x1080 ## $t1 = 06001080
/* 00340 808C0F60 ACE20004 */ sw $v0, 0x0004($a3) ## 00000004
/* 00344 808C0F64 8E0302C0 */ lw $v1, 0x02C0($s0) ## 000002C0
/* 00348 808C0F68 3C08DE00 */ lui $t0, 0xDE00 ## $t0 = DE000000
/* 0034C 808C0F6C 3C06808C */ lui $a2, %hi(D_808C109C) ## $a2 = 808C0000
/* 00350 808C0F70 24790008 */ addiu $t9, $v1, 0x0008 ## $t9 = 00000008
/* 00354 808C0F74 AE1902C0 */ sw $t9, 0x02C0($s0) ## 000002C0
/* 00358 808C0F78 24C6109C */ addiu $a2, $a2, %lo(D_808C109C) ## $a2 = 808C109C
/* 0035C 808C0F7C 24070140 */ addiu $a3, $zero, 0x0140 ## $a3 = 00000140
/* 00360 808C0F80 27A40030 */ addiu $a0, $sp, 0x0030 ## $a0 = FFFFFFE8
/* 00364 808C0F84 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000
/* 00368 808C0F88 AC690004 */ sw $t1, 0x0004($v1) ## 00000004
/* 0036C 808C0F8C 0C031AD5 */ jal func_800C6B54
/* 00370 808C0F90 AC680000 */ sw $t0, 0x0000($v1) ## 00000000
/* 00374 808C0F94 8FBF001C */ lw $ra, 0x001C($sp)
/* 00378 808C0F98 8FB00018 */ lw $s0, 0x0018($sp)
/* 0037C 808C0F9C 27BD0048 */ addiu $sp, $sp, 0x0048 ## $sp = 00000000
/* 00380 808C0FA0 03E00008 */ jr $ra
/* 00384 808C0FA4 00000000 */ nop

View file

@ -5,7 +5,7 @@ glabel func_809B064C
/* 002E8 809B0658 AFA50024 */ sw $a1, 0x0024($sp)
/* 002EC 809B065C 00A02025 */ or $a0, $a1, $zero ## $a0 = 00000000
/* 002F0 809B0660 2405000A */ addiu $a1, $zero, 0x000A ## $a1 = 0000000A
/* 002F4 809B0664 0C01B0D8 */ jal func_8006C360
/* 002F4 809B0664 0C01B0D8 */ jal Text_GetFaceReaction
/* 002F8 809B0668 AFA70020 */ sw $a3, 0x0020($sp)
/* 002FC 809B066C 8FA50024 */ lw $a1, 0x0024($sp)
/* 00300 809B0670 8FA70020 */ lw $a3, 0x0020($sp)

View file

@ -5,7 +5,7 @@ glabel func_809E1CB8
/* 00414 809E1CC4 8CAE1C44 */ lw $t6, 0x1C44($a1) ## 00001C44
/* 00418 809E1CC8 00A02025 */ or $a0, $a1, $zero ## $a0 = 00000000
/* 0041C 809E1CCC 2405000F */ addiu $a1, $zero, 0x000F ## $a1 = 0000000F
/* 00420 809E1CD0 0C01B0D8 */ jal func_8006C360
/* 00420 809E1CD0 0C01B0D8 */ jal Text_GetFaceReaction
/* 00424 809E1CD4 AFAE001C */ sw $t6, 0x001C($sp)
/* 00428 809E1CD8 3C0F8016 */ lui $t7, 0x8016 ## $t7 = 80160000
/* 0042C 809E1CDC 95EFF556 */ lhu $t7, -0x0AAA($t7) ## 8015F556

View file

@ -50,7 +50,7 @@ glabel func_809E47EC
/* 00584 809E48A4 33280003 */ andi $t0, $t9, 0x0003 ## $t0 = 00000000
/* 00588 809E48A8 00084880 */ sll $t1, $t0, 2
/* 0058C 809E48AC 00A92821 */ addu $a1, $a1, $t1
/* 00590 809E48B0 0C01B0D8 */ jal func_8006C360
/* 00590 809E48B0 0C01B0D8 */ jal Text_GetFaceReaction
/* 00594 809E48B4 8CA55570 */ lw $a1, %lo(D_809E5570)($a1)
/* 00598 809E48B8 304AFFFF */ andi $t2, $v0, 0xFFFF ## $t2 = 00000000
/* 0059C 809E48BC 15400035 */ bne $t2, $zero, .L809E4994

View file

@ -53,11 +53,11 @@ glabel func_809EDD4C
/* 00594 809EDE04 10000030 */ beq $zero, $zero, .L809EDEC8
/* 00598 809EDE08 AE080280 */ sw $t0, 0x0280($s0) ## 00000280
.L809EDE0C:
/* 0059C 809EDE0C 0C01B0D8 */ jal func_8006C360
/* 0059C 809EDE0C 0C01B0D8 */ jal Text_GetFaceReaction
/* 005A0 809EDE10 2405001D */ addiu $a1, $zero, 0x001D ## $a1 = 0000001D
/* 005A4 809EDE14 10400007 */ beq $v0, $zero, .L809EDE34
/* 005A8 809EDE18 8FA40024 */ lw $a0, 0x0024($sp)
/* 005AC 809EDE1C 0C01B0D8 */ jal func_8006C360
/* 005AC 809EDE1C 0C01B0D8 */ jal Text_GetFaceReaction
/* 005B0 809EDE20 2405001D */ addiu $a1, $zero, 0x001D ## $a1 = 0000001D
/* 005B4 809EDE24 24090006 */ addiu $t1, $zero, 0x0006 ## $t1 = 00000006
/* 005B8 809EDE28 A602010E */ sh $v0, 0x010E($s0) ## 0000010E

View file

@ -2,7 +2,7 @@ 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 func_8006C360
/* 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

View file

@ -4,7 +4,7 @@ glabel func_80A1DA9C
/* 00294 80A1DAA4 AFBF0024 */ sw $ra, 0x0024($sp)
/* 00298 80A1DAA8 AFA50034 */ sw $a1, 0x0034($sp)
/* 0029C 80A1DAAC 00A02025 */ or $a0, $a1, $zero ## $a0 = 00000000
/* 002A0 80A1DAB0 0C01B0D8 */ jal func_8006C360
/* 002A0 80A1DAB0 0C01B0D8 */ jal Text_GetFaceReaction
/* 002A4 80A1DAB4 2405000B */ addiu $a1, $zero, 0x000B ## $a1 = 0000000B
/* 002A8 80A1DAB8 14400009 */ bne $v0, $zero, .L80A1DAE0
/* 002AC 80A1DABC 3046FFFF */ andi $a2, $v0, 0xFFFF ## $a2 = 00000000

View file

@ -4,7 +4,7 @@ glabel func_80A3118C
/* 00824 80A31194 AFBF001C */ sw $ra, 0x001C($sp)
/* 00828 80A31198 AFA50024 */ sw $a1, 0x0024($sp)
/* 0082C 80A3119C 00A02025 */ or $a0, $a1, $zero ## $a0 = 00000000
/* 00830 80A311A0 0C01B0D8 */ jal func_8006C360
/* 00830 80A311A0 0C01B0D8 */ jal Text_GetFaceReaction
/* 00834 80A311A4 24050022 */ addiu $a1, $zero, 0x0022 ## $a1 = 00000022
/* 00838 80A311A8 14400002 */ bne $v0, $zero, .L80A311B4
/* 0083C 80A311AC 3046FFFF */ andi $a2, $v0, 0xFFFF ## $a2 = 00000000

View file

@ -4,7 +4,7 @@ glabel func_80A31880
/* 00F18 80A31888 AFBF0024 */ sw $ra, 0x0024($sp)
/* 00F1C 80A3188C AFA5002C */ sw $a1, 0x002C($sp)
/* 00F20 80A31890 00A02025 */ or $a0, $a1, $zero ## $a0 = 00000000
/* 00F24 80A31894 0C01B0D8 */ jal func_8006C360
/* 00F24 80A31894 0C01B0D8 */ jal Text_GetFaceReaction
/* 00F28 80A31898 24050022 */ addiu $a1, $zero, 0x0022 ## $a1 = 00000022
/* 00F2C 80A3189C 14400002 */ bne $v0, $zero, .L80A318A8
/* 00F30 80A318A0 3046FFFF */ andi $a2, $v0, 0xFFFF ## $a2 = 00000000

View file

@ -99,7 +99,7 @@ glabel L80A46594
/* 03908 80A46638 A20F0216 */ sb $t7, 0x0216($s0) ## 00000216
/* 0390C 80A4663C 8FA40044 */ lw $a0, 0x0044($sp)
/* 03910 80A46640 00052C03 */ sra $a1, $a1, 16
/* 03914 80A46644 0C023938 */ jal func_8008E4E0
/* 03914 80A46644 0C023938 */ jal Path_GetByIndex
/* 03918 80A46648 2406001F */ addiu $a2, $zero, 0x001F ## $a2 = 0000001F
/* 0391C 80A4664C 8603001C */ lh $v1, 0x001C($s0) ## 0000001C
/* 03920 80A46650 AE020208 */ sw $v0, 0x0208($s0) ## 00000208
@ -163,7 +163,7 @@ glabel L80A46704
/* 039E8 80A46718 53200024 */ beql $t9, $zero, .L80A467AC
/* 039EC 80A4671C 3059EFFF */ andi $t9, $v0, 0xEFFF ## $t9 = 00000000
/* 039F0 80A46720 8E040208 */ lw $a0, 0x0208($s0) ## 00000208
/* 039F4 80A46724 0C023983 */ jal func_8008E60C
/* 039F4 80A46724 0C023983 */ jal Path_CopyLastPoint
/* 039F8 80A46728 AFA50030 */ sw $a1, 0x0030($sp)
/* 039FC 80A4672C 8FA50030 */ lw $a1, 0x0030($sp)
/* 03A00 80A46730 3C038016 */ lui $v1, 0x8016 ## $v1 = 80160000
@ -299,7 +299,7 @@ glabel L80A468FC
/* 03BE0 80A46910 1120000B */ beq $t1, $zero, .L80A46940
/* 03BE4 80A46914 00000000 */ nop
/* 03BE8 80A46918 8E040208 */ lw $a0, 0x0208($s0) ## 00000208
/* 03BEC 80A4691C 0C023983 */ jal func_8008E60C
/* 03BEC 80A4691C 0C023983 */ jal Path_CopyLastPoint
/* 03BF0 80A46920 AFA50030 */ sw $a1, 0x0030($sp)
/* 03BF4 80A46924 8FA50030 */ lw $a1, 0x0030($sp)
/* 03BF8 80A46928 8CAB0000 */ lw $t3, 0x0000($a1) ## 00000000

View file

@ -4,7 +4,7 @@ glabel func_80A44534
/* 0180C 80A4453C 00A03025 */ or $a2, $a1, $zero ## $a2 = 00000000
/* 01810 80A44540 AFA6001C */ sw $a2, 0x001C($sp)
/* 01814 80A44544 24050020 */ addiu $a1, $zero, 0x0020 ## $a1 = 00000020
/* 01818 80A44548 0C01B0D8 */ jal func_8006C360
/* 01818 80A44548 0C01B0D8 */ jal Text_GetFaceReaction
/* 0181C 80A4454C AFA40018 */ sw $a0, 0x0018($sp)
/* 01820 80A44550 8FA40018 */ lw $a0, 0x0018($sp)
/* 01824 80A44554 8FA6001C */ lw $a2, 0x001C($sp)

View file

@ -6,7 +6,7 @@ glabel func_80A44CE4
/* 01FC4 80A44CF4 AFA50034 */ sw $a1, 0x0034($sp)
/* 01FC8 80A44CF8 82060210 */ lb $a2, 0x0210($s0) ## 00000210
/* 01FCC 80A44CFC 8E050208 */ lw $a1, 0x0208($s0) ## 00000208
/* 01FD0 80A44D00 0C023948 */ jal func_8008E520
/* 01FD0 80A44D00 0C023948 */ jal Path_OrientAndGetDistSq
/* 01FD4 80A44D04 27A7002E */ addiu $a3, $sp, 0x002E ## $a3 = FFFFFFFE
/* 01FD8 80A44D08 240E0001 */ addiu $t6, $zero, 0x0001 ## $t6 = 00000001
/* 01FDC 80A44D0C AFAE0010 */ sw $t6, 0x0010($sp)

View file

@ -4,7 +4,7 @@ glabel func_80A44D84
/* 0205C 80A44D8C 80860210 */ lb $a2, 0x0210($a0) ## 00000210
/* 02060 80A44D90 8C850208 */ lw $a1, 0x0208($a0) ## 00000208
/* 02064 80A44D94 AFA40020 */ sw $a0, 0x0020($sp)
/* 02068 80A44D98 0C023948 */ jal func_8008E520
/* 02068 80A44D98 0C023948 */ jal Path_OrientAndGetDistSq
/* 0206C 80A44D9C 27A7001E */ addiu $a3, $sp, 0x001E ## $a3 = FFFFFFFE
/* 02070 80A44DA0 8FA40020 */ lw $a0, 0x0020($sp)
/* 02074 80A44DA4 87AE001E */ lh $t6, 0x001E($sp)

View file

@ -17,7 +17,7 @@ glabel func_80A462D8
/* 035E4 80A46314 24060007 */ addiu $a2, $zero, 0x0007 ## $a2 = 00000007
/* 035E8 80A46318 8E040208 */ lw $a0, 0x0208($s0) ## 00000208
/* 035EC 80A4631C 260504AC */ addiu $a1, $s0, 0x04AC ## $a1 = 000004AC
/* 035F0 80A46320 0C023983 */ jal func_8008E60C
/* 035F0 80A46320 0C023983 */ jal Path_CopyLastPoint
/* 035F4 80A46324 AFA50020 */ sw $a1, 0x0020($sp)
/* 035F8 80A46328 26040024 */ addiu $a0, $s0, 0x0024 ## $a0 = 00000024
/* 035FC 80A4632C 0C01E01A */ jal Math_Vec3f_Yaw

View file

@ -7,11 +7,11 @@ glabel func_80A53278
/* 003EC 80A5328C A080030B */ sb $zero, 0x030B($a0) ## 0000030B
/* 003F0 80A53290 A480030E */ sh $zero, 0x030E($a0) ## 0000030E
/* 003F4 80A53294 8FA40024 */ lw $a0, 0x0024($sp)
/* 003F8 80A53298 0C01B0D8 */ jal func_8006C360
/* 003F8 80A53298 0C01B0D8 */ jal Text_GetFaceReaction
/* 003FC 80A5329C 24050005 */ addiu $a1, $zero, 0x0005 ## $a1 = 00000005
/* 00400 80A532A0 1040000C */ beq $v0, $zero, .L80A532D4
/* 00404 80A532A4 8FA40024 */ lw $a0, 0x0024($sp)
/* 00408 80A532A8 0C01B0D8 */ jal func_8006C360
/* 00408 80A532A8 0C01B0D8 */ jal Text_GetFaceReaction
/* 0040C 80A532AC 24050005 */ addiu $a1, $zero, 0x0005 ## $a1 = 00000005
/* 00410 80A532B0 3C1880A5 */ lui $t8, %hi(func_80A5475C) ## $t8 = 80A50000
/* 00414 80A532B4 240E0001 */ addiu $t6, $zero, 0x0001 ## $t6 = 00000001

View file

@ -50,7 +50,7 @@ glabel func_80A5399C
/* 00BA8 80A53A48 8FA40024 */ lw $a0, 0x0024($sp)
/* 00BAC 80A53A4C 24050005 */ addiu $a1, $zero, 0x0005 ## $a1 = 00000005
/* 00BB0 80A53A50 A7A3001E */ sh $v1, 0x001E($sp)
/* 00BB4 80A53A54 0C01B0D8 */ jal func_8006C360
/* 00BB4 80A53A54 0C01B0D8 */ jal Text_GetFaceReaction
/* 00BB8 80A53A58 AFA60020 */ sw $a2, 0x0020($sp)
/* 00BBC 80A53A5C 87A3001E */ lh $v1, 0x001E($sp)
/* 00BC0 80A53A60 1040000D */ beq $v0, $zero, .L80A53A98
@ -58,7 +58,7 @@ glabel func_80A5399C
/* 00BC8 80A53A68 1460000B */ bne $v1, $zero, .L80A53A98
/* 00BCC 80A53A6C 8FA40024 */ lw $a0, 0x0024($sp)
/* 00BD0 80A53A70 24050005 */ addiu $a1, $zero, 0x0005 ## $a1 = 00000005
/* 00BD4 80A53A74 0C01B0D8 */ jal func_8006C360
/* 00BD4 80A53A74 0C01B0D8 */ jal Text_GetFaceReaction
/* 00BD8 80A53A78 AFA60020 */ sw $a2, 0x0020($sp)
/* 00BDC 80A53A7C 8FA60020 */ lw $a2, 0x0020($sp)
/* 00BE0 80A53A80 240F0001 */ addiu $t7, $zero, 0x0001 ## $t7 = 00000001

View file

@ -10,12 +10,12 @@ glabel func_80A53AD4
/* 00C54 80A53AF4 AFAF0024 */ sw $t7, 0x0024($sp)
/* 00C58 80A53AF8 8FA4002C */ lw $a0, 0x002C($sp)
/* 00C5C 80A53AFC 0C01B0D8 */ jal func_8006C360
/* 00C5C 80A53AFC 0C01B0D8 */ jal Text_GetFaceReaction
/* 00C60 80A53B00 24050005 */ addiu $a1, $zero, 0x0005 ## $a1 = 00000005
/* 00C64 80A53B04 10400006 */ beq $v0, $zero, .L80A53B20
/* 00C68 80A53B08 2418200E */ addiu $t8, $zero, 0x200E ## $t8 = 0000200E
/* 00C6C 80A53B0C 8FA4002C */ lw $a0, 0x002C($sp)
/* 00C70 80A53B10 0C01B0D8 */ jal func_8006C360
/* 00C70 80A53B10 0C01B0D8 */ jal Text_GetFaceReaction
/* 00C74 80A53B14 24050005 */ addiu $a1, $zero, 0x0005 ## $a1 = 00000005
/* 00C78 80A53B18 10000002 */ beq $zero, $zero, .L80A53B24
/* 00C7C 80A53B1C A602010E */ sh $v0, 0x010E($s0) ## 0000010E

View file

@ -8,7 +8,7 @@ glabel func_80A5475C
/* 018D4 80A54774 2484014C */ addiu $a0, $a0, 0x014C ## $a0 = 0000014C
/* 018D8 80A54778 8FA4001C */ lw $a0, 0x001C($sp)
/* 018DC 80A5477C 0C01B0D8 */ jal func_8006C360
/* 018DC 80A5477C 0C01B0D8 */ jal Text_GetFaceReaction
/* 018E0 80A54780 24050005 */ addiu $a1, $zero, 0x0005 ## $a1 = 00000005
/* 018E4 80A54784 10400011 */ beq $v0, $zero, .L80A547CC
/* 018E8 80A54788 8FA60018 */ lw $a2, 0x0018($sp)

View file

@ -22,14 +22,14 @@ glabel func_80A563BC
/* 00334 80A56404 01CF1821 */ addu $v1, $t6, $t7
/* 00338 80A56408 8C650000 */ lw $a1, 0x0000($v1) ## 00000000
/* 0033C 80A5640C AFA30018 */ sw $v1, 0x0018($sp)
/* 00340 80A56410 0C01B0D8 */ jal func_8006C360
/* 00340 80A56410 0C01B0D8 */ jal Text_GetFaceReaction
/* 00344 80A56414 AFA60020 */ sw $a2, 0x0020($sp)
/* 00348 80A56418 8FA30018 */ lw $v1, 0x0018($sp)
/* 0034C 80A5641C 1040000D */ beq $v0, $zero, .L80A56454
/* 00350 80A56420 8FA60020 */ lw $a2, 0x0020($sp)
/* 00354 80A56424 8FA40024 */ lw $a0, 0x0024($sp)
/* 00358 80A56428 8C650000 */ lw $a1, 0x0000($v1) ## 00000000
/* 0035C 80A5642C 0C01B0D8 */ jal func_8006C360
/* 0035C 80A5642C 0C01B0D8 */ jal Text_GetFaceReaction
/* 00360 80A56430 AFA60020 */ sw $a2, 0x0020($sp)
/* 00364 80A56434 8FA60020 */ lw $a2, 0x0020($sp)
/* 00368 80A56438 3C1980A5 */ lui $t9, %hi(func_80A56B40) ## $t9 = 80A50000

View file

@ -23,7 +23,7 @@ glabel func_80A56614
/* 00590 80A56660 8C650000 */ lw $a1, 0x0000($v1) ## 00000000
/* 00594 80A56664 AFA30018 */ sw $v1, 0x0018($sp)
/* 00598 80A56668 AFA60020 */ sw $a2, 0x0020($sp)
/* 0059C 80A5666C 0C01B0D8 */ jal func_8006C360
/* 0059C 80A5666C 0C01B0D8 */ jal Text_GetFaceReaction
/* 005A0 80A56670 AFA70024 */ sw $a3, 0x0024($sp)
/* 005A4 80A56674 8FA30018 */ lw $v1, 0x0018($sp)
/* 005A8 80A56678 8FA60020 */ lw $a2, 0x0020($sp)
@ -31,7 +31,7 @@ glabel func_80A56614
/* 005B0 80A56680 8FA70024 */ lw $a3, 0x0024($sp)
/* 005B4 80A56684 00E02025 */ or $a0, $a3, $zero ## $a0 = 00000000
/* 005B8 80A56688 8C650000 */ lw $a1, 0x0000($v1) ## 00000000
/* 005BC 80A5668C 0C01B0D8 */ jal func_8006C360
/* 005BC 80A5668C 0C01B0D8 */ jal Text_GetFaceReaction
/* 005C0 80A56690 AFA60020 */ sw $a2, 0x0020($sp)
/* 005C4 80A56694 8FA60020 */ lw $a2, 0x0020($sp)
/* 005C8 80A56698 3C1980A5 */ lui $t9, %hi(func_80A56B40) ## $t9 = 80A50000

View file

@ -26,7 +26,7 @@ glabel func_80A56B40
.L80A56B98:
/* 00AC8 80A56B98 00AE2821 */ addu $a1, $a1, $t6
/* 00ACC 80A56B9C 8CA56EF0 */ lw $a1, %lo(D_80A56EF0)($a1)
/* 00AD0 80A56BA0 0C01B0D8 */ jal func_8006C360
/* 00AD0 80A56BA0 0C01B0D8 */ jal Text_GetFaceReaction
/* 00AD4 80A56BA4 AFA60018 */ sw $a2, 0x0018($sp)
/* 00AD8 80A56BA8 10400013 */ beq $v0, $zero, .L80A56BF8
/* 00ADC 80A56BAC 8FA60018 */ lw $a2, 0x0018($sp)

View file

@ -4,7 +4,7 @@ glabel func_80A6F1A4
/* 0020C 80A6F1AC AFBF0014 */ sw $ra, 0x0014($sp)
/* 00210 80A6F1B0 AFA5001C */ sw $a1, 0x001C($sp)
/* 00214 80A6F1B4 00A02025 */ or $a0, $a1, $zero ## $a0 = 00000000
/* 00218 80A6F1B8 0C01B0D8 */ jal func_8006C360
/* 00218 80A6F1B8 0C01B0D8 */ jal Text_GetFaceReaction
/* 0021C 80A6F1BC 24050009 */ addiu $a1, $zero, 0x0009 ## $a1 = 00000009
/* 00220 80A6F1C0 14400002 */ bne $v0, $zero, .L80A6F1CC
/* 00224 80A6F1C4 3046FFFF */ andi $a2, $v0, 0xFFFF ## $a2 = 00000000

View file

@ -8,7 +8,7 @@ glabel func_80A6F810
/* 00278 80A6F828 30A5007F */ andi $a1, $a1, 0x007F ## $a1 = 00000000
/* 0027C 80A6F82C 24A50025 */ addiu $a1, $a1, 0x0025 ## $a1 = 00000025
/* 00280 80A6F830 AFA40020 */ sw $a0, 0x0020($sp)
/* 00284 80A6F834 0C01B0D8 */ jal func_8006C360
/* 00284 80A6F834 0C01B0D8 */ jal Text_GetFaceReaction
/* 00288 80A6F838 AFA3001C */ sw $v1, 0x001C($sp)
/* 0028C 80A6F83C 8FA3001C */ lw $v1, 0x001C($sp)
/* 00290 80A6F840 8FA40020 */ lw $a0, 0x0020($sp)

View file

@ -130,7 +130,7 @@ glabel func_80A70E34
/* 01A6C 80A7101C 30A50780 */ andi $a1, $a1, 0x0780 ## $a1 = 00000000
/* 01A70 80A71020 000529C3 */ sra $a1, $a1, 7
/* 01A74 80A71024 00052C00 */ sll $a1, $a1, 16
/* 01A78 80A71028 0C023938 */ jal func_8008E4E0
/* 01A78 80A71028 0C023938 */ jal Path_GetByIndex
/* 01A7C 80A7102C 00052C03 */ sra $a1, $a1, 16
/* 01A80 80A71030 860B001C */ lh $t3, 0x001C($s0) ## 0000001C
/* 01A84 80A71034 AE020210 */ sw $v0, 0x0210($s0) ## 00000210

View file

@ -6,7 +6,7 @@ glabel func_80A711B4
/* 01C14 80A711C4 AFA50034 */ sw $a1, 0x0034($sp)
/* 01C18 80A711C8 82060214 */ lb $a2, 0x0214($s0) ## 00000214
/* 01C1C 80A711CC 8E050210 */ lw $a1, 0x0210($s0) ## 00000210
/* 01C20 80A711D0 0C023948 */ jal func_8008E520
/* 01C20 80A711D0 0C023948 */ jal Path_OrientAndGetDistSq
/* 01C24 80A711D4 27A7002E */ addiu $a3, $sp, 0x002E ## $a3 = FFFFFFFE
/* 01C28 80A711D8 240E0001 */ addiu $t6, $zero, 0x0001 ## $t6 = 00000001
/* 01C2C 80A711DC AFAE0010 */ sw $t6, 0x0010($sp)

View file

@ -35,7 +35,7 @@ glabel func_80A7134C
/* 01E18 80A713C8 8E050210 */ lw $a1, 0x0210($s0) ## 00000210
/* 01E1C 80A713CC 82060214 */ lb $a2, 0x0214($s0) ## 00000214
/* 01E20 80A713D0 27A70036 */ addiu $a3, $sp, 0x0036 ## $a3 = FFFFFFFE
/* 01E24 80A713D4 0C023948 */ jal func_8008E520
/* 01E24 80A713D4 0C023948 */ jal Path_OrientAndGetDistSq
/* 01E28 80A713D8 E6040068 */ swc1 $f4, 0x0068($s0) ## 00000068
/* 01E2C 80A713DC 24080001 */ addiu $t0, $zero, 0x0001 ## $t0 = 00000001
/* 01E30 80A713E0 AFA80010 */ sw $t0, 0x0010($sp)

View file

@ -3,7 +3,7 @@ glabel func_80A79010
/* 00064 80A79014 AFBF0014 */ sw $ra, 0x0014($sp)
/* 00068 80A79018 8C8E1C44 */ lw $t6, 0x1C44($a0) ## 00001C44
/* 0006C 80A7901C 24050019 */ addiu $a1, $zero, 0x0019 ## $a1 = 00000019
/* 00070 80A79020 0C01B0D8 */ jal func_8006C360
/* 00070 80A79020 0C01B0D8 */ jal Text_GetFaceReaction
/* 00074 80A79024 AFAE001C */ sw $t6, 0x001C($sp)
/* 00078 80A79028 10400003 */ beq $v0, $zero, .L80A79038
/* 0007C 80A7902C 3043FFFF */ andi $v1, $v0, 0xFFFF ## $v1 = 00000000

View file

@ -3,7 +3,7 @@ glabel func_80A79168
/* 001BC 80A7916C AFBF0014 */ sw $ra, 0x0014($sp)
/* 001C0 80A79170 AFA5001C */ sw $a1, 0x001C($sp)
/* 001C4 80A79174 24050019 */ addiu $a1, $zero, 0x0019 ## $a1 = 00000019
/* 001C8 80A79178 0C01B0D8 */ jal func_8006C360
/* 001C8 80A79178 0C01B0D8 */ jal Text_GetFaceReaction
/* 001CC 80A7917C AFA40018 */ sw $a0, 0x0018($sp)
/* 001D0 80A79180 8FA40018 */ lw $a0, 0x0018($sp)
/* 001D4 80A79184 10400003 */ beq $v0, $zero, .L80A79194

View file

@ -21,7 +21,7 @@ glabel func_80A97610
/* 008AC 80A9765C 14610007 */ bne $v1, $at, .L80A9767C
.L80A97660:
/* 008B0 80A97660 24050013 */ addiu $a1, $zero, 0x0013 ## $a1 = 00000013
/* 008B4 80A97664 0C01B0D8 */ jal func_8006C360
/* 008B4 80A97664 0C01B0D8 */ jal Text_GetFaceReaction
/* 008B8 80A97668 AFA60024 */ sw $a2, 0x0024($sp)
/* 008BC 80A9766C 8FA60024 */ lw $a2, 0x0024($sp)
/* 008C0 80A97670 84C3001C */ lh $v1, 0x001C($a2) ## 0000001C
@ -43,7 +43,7 @@ glabel func_80A97610
.L80A976AC:
/* 008FC 80A976AC 8FA40020 */ lw $a0, 0x0020($sp)
/* 00900 80A976B0 24050014 */ addiu $a1, $zero, 0x0014 ## $a1 = 00000014
/* 00904 80A976B4 0C01B0D8 */ jal func_8006C360
/* 00904 80A976B4 0C01B0D8 */ jal Text_GetFaceReaction
/* 00908 80A976B8 AFA60024 */ sw $a2, 0x0024($sp)
/* 0090C 80A976BC 8FA60024 */ lw $a2, 0x0024($sp)
/* 00910 80A976C0 3044FFFF */ andi $a0, $v0, 0xFFFF ## $a0 = 00000000
@ -54,7 +54,7 @@ glabel func_80A97610
/* 00920 80A976D0 14610006 */ bne $v1, $at, .L80A976EC
/* 00924 80A976D4 24050012 */ addiu $a1, $zero, 0x0012 ## $a1 = 00000012
/* 00928 80A976D8 8FA40020 */ lw $a0, 0x0020($sp)
/* 0092C 80A976DC 0C01B0D8 */ jal func_8006C360
/* 0092C 80A976DC 0C01B0D8 */ jal Text_GetFaceReaction
/* 00930 80A976E0 AFA60024 */ sw $a2, 0x0024($sp)
/* 00934 80A976E4 8FA60024 */ lw $a2, 0x0024($sp)
/* 00938 80A976E8 3044FFFF */ andi $a0, $v0, 0xFFFF ## $a0 = 00000000

View file

@ -169,7 +169,7 @@ glabel func_80A99048
/* 02508 80A992B8 00052C00 */ sll $a1, $a1, 16
/* 0250C 80A992BC 00052C03 */ sra $a1, $a1, 16
/* 02510 80A992C0 240600FF */ addiu $a2, $zero, 0x00FF ## $a2 = 000000FF
/* 02514 80A992C4 0C023938 */ jal func_8008E4E0
/* 02514 80A992C4 0C023938 */ jal Path_GetByIndex
/* 02518 80A992C8 E6040220 */ swc1 $f4, 0x0220($s0) ## 00000220
/* 0251C 80A992CC C6060024 */ lwc1 $f6, 0x0024($s0) ## 00000024
/* 02520 80A992D0 AE0201E4 */ sw $v0, 0x01E4($s0) ## 000001E4
@ -209,7 +209,7 @@ glabel func_80A99048
/* 025A4 80A99354 10000006 */ beq $zero, $zero, .L80A99370
/* 025A8 80A99358 A60901DA */ sh $t1, 0x01DA($s0) ## 000001DA
.L80A9935C:
/* 025AC 80A9935C 0C023983 */ jal func_8008E60C
/* 025AC 80A9935C 0C023983 */ jal Path_CopyLastPoint
/* 025B0 80A99360 8E0401E4 */ lw $a0, 0x01E4($s0) ## 000001E4
.L80A99364:
/* 025B4 80A99364 3C0B80AA */ lui $t3, %hi(func_80A99384) ## $t3 = 80AA0000

View file

@ -3,7 +3,7 @@ glabel func_80A9C658
/* 0010C 80A9C65C AFBF0014 */ sw $ra, 0x0014($sp)
/* 00110 80A9C660 AFA5001C */ sw $a1, 0x001C($sp)
/* 00114 80A9C664 2405001E */ addiu $a1, $zero, 0x001E ## $a1 = 0000001E
/* 00118 80A9C668 0C01B0D8 */ jal func_8006C360
/* 00118 80A9C668 0C01B0D8 */ jal Text_GetFaceReaction
/* 0011C 80A9C66C AFA40018 */ sw $a0, 0x0018($sp)
/* 00120 80A9C670 8FA40018 */ lw $a0, 0x0018($sp)
/* 00124 80A9C674 8FA5001C */ lw $a1, 0x001C($sp)

View file

@ -2,7 +2,7 @@ glabel func_80AA0690
/* 00000 80AA0690 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 00004 80AA0694 AFBF0014 */ sw $ra, 0x0014($sp)
/* 00008 80AA0698 AFA5001C */ sw $a1, 0x001C($sp)
/* 0000C 80AA069C 0C01B0D8 */ jal func_8006C360
/* 0000C 80AA069C 0C01B0D8 */ jal Text_GetFaceReaction
/* 00010 80AA06A0 24050017 */ addiu $a1, $zero, 0x0017 ## $a1 = 00000017
/* 00014 80AA06A4 10400003 */ beq $v0, $zero, .L80AA06B4
/* 00018 80AA06A8 3043FFFF */ andi $v1, $v0, 0xFFFF ## $v1 = 00000000

View file

@ -2,7 +2,7 @@ glabel func_80AA19A0
/* 00000 80AA19A0 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 00004 80AA19A4 AFBF0014 */ sw $ra, 0x0014($sp)
/* 00008 80AA19A8 AFA5001C */ sw $a1, 0x001C($sp)
/* 0000C 80AA19AC 0C01B0D8 */ jal func_8006C360
/* 0000C 80AA19AC 0C01B0D8 */ jal Text_GetFaceReaction
/* 00010 80AA19B0 24050017 */ addiu $a1, $zero, 0x0017 ## $a1 = 00000017
/* 00014 80AA19B4 10400003 */ beq $v0, $zero, .L80AA19C4
/* 00018 80AA19B8 3043FFFF */ andi $v1, $v0, 0xFFFF ## $v1 = 00000000

View file

@ -2,7 +2,7 @@ glabel func_80AAACF8
/* 00AA8 80AAACF8 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 00AAC 80AAACFC AFBF0014 */ sw $ra, 0x0014($sp)
/* 00AB0 80AAAD00 AFA5001C */ sw $a1, 0x001C($sp)
/* 00AB4 80AAAD04 0C01B0D8 */ jal func_8006C360
/* 00AB4 80AAAD04 0C01B0D8 */ jal Text_GetFaceReaction
/* 00AB8 80AAAD08 24050011 */ addiu $a1, $zero, 0x0011 ## $a1 = 00000011
/* 00ABC 80AAAD0C 8FA4001C */ lw $a0, 0x001C($sp)
/* 00AC0 80AAAD10 10400003 */ beq $v0, $zero, .L80AAAD20

View file

@ -119,7 +119,7 @@ glabel func_80AAD080
/* 00930 80AAD230 8FBF002C */ lw $ra, 0x002C($sp)
.L80AAD234:
/* 00934 80AAD234 8FA40044 */ lw $a0, 0x0044($sp)
/* 00938 80AAD238 0C01B0D8 */ jal func_8006C360
/* 00938 80AAD238 0C01B0D8 */ jal Text_GetFaceReaction
/* 0093C 80AAD23C 2405001A */ addiu $a1, $zero, 0x001A ## $a1 = 0000001A
/* 00940 80AAD240 3059FFFF */ andi $t9, $v0, 0xFFFF ## $t9 = 00000000
/* 00944 80AAD244 17200003 */ bne $t9, $zero, .L80AAD254

View file

@ -5,7 +5,7 @@ glabel func_80AADC34
/* 004D0 80AADC40 8CAE1C44 */ lw $t6, 0x1C44($a1) ## 00001C44
/* 004D4 80AADC44 00A02025 */ or $a0, $a1, $zero ## $a0 = 00000000
/* 004D8 80AADC48 2405001C */ addiu $a1, $zero, 0x001C ## $a1 = 0000001C
/* 004DC 80AADC4C 0C01B0D8 */ jal func_8006C360
/* 004DC 80AADC4C 0C01B0D8 */ jal Text_GetFaceReaction
/* 004E0 80AADC50 AFAE001C */ sw $t6, 0x001C($sp)
/* 004E4 80AADC54 3C058016 */ lui $a1, 0x8016 ## $a1 = 80160000
/* 004E8 80AADC58 24A5E660 */ addiu $a1, $a1, 0xE660 ## $a1 = 8015E660

View file

@ -3,7 +3,7 @@ glabel func_80AB0584
/* 00168 80AB0588 AFBF0014 */ sw $ra, 0x0014($sp)
/* 0016C 80AB058C AFA5001C */ sw $a1, 0x001C($sp)
/* 00170 80AB0590 84A5001C */ lh $a1, 0x001C($a1) ## 0000001C
/* 00174 80AB0594 0C01B0D8 */ jal func_8006C360
/* 00174 80AB0594 0C01B0D8 */ jal Text_GetFaceReaction
/* 00178 80AB0598 24A5003A */ addiu $a1, $a1, 0x003A ## $a1 = 0000003A
/* 0017C 80AB059C 10400003 */ beq $v0, $zero, .L80AB05AC
/* 00180 80AB05A0 3043FFFF */ andi $v1, $v0, 0xFFFF ## $v1 = 00000000

View file

@ -15,7 +15,7 @@ glabel func_80AB3B04
/* 02DA4 80AB3B34 35F80009 */ ori $t8, $t7, 0x0009 ## $t8 = 00000009
/* 02DA8 80AB3B38 ACD80004 */ sw $t8, 0x0004($a2) ## 00000004
/* 02DAC 80AB3B3C AFA60018 */ sw $a2, 0x0018($sp)
/* 02DB0 80AB3B40 0C01B0D8 */ jal func_8006C360
/* 02DB0 80AB3B40 0C01B0D8 */ jal Text_GetFaceReaction
/* 02DB4 80AB3B44 8FA4001C */ lw $a0, 0x001C($sp)
/* 02DB8 80AB3B48 8FA60018 */ lw $a2, 0x0018($sp)
/* 02DBC 80AB3B4C 3059FFFF */ andi $t9, $v0, 0xFFFF ## $t9 = 00000000

View file

@ -4,7 +4,7 @@ glabel func_80AB9D60
/* 00128 80AB9D68 AFBF0024 */ sw $ra, 0x0024($sp)
/* 0012C 80AB9D6C 00A02025 */ or $a0, $a1, $zero ## $a0 = 00000000
/* 00130 80AB9D70 24050008 */ addiu $a1, $zero, 0x0008 ## $a1 = 00000008
/* 00134 80AB9D74 0C01B0D8 */ jal func_8006C360
/* 00134 80AB9D74 0C01B0D8 */ jal Text_GetFaceReaction
/* 00138 80AB9D78 AFA60030 */ sw $a2, 0x0030($sp)
/* 0013C 80AB9D7C 8FA30028 */ lw $v1, 0x0028($sp)
/* 00140 80AB9D80 10400002 */ beq $v0, $zero, .L80AB9D8C

View file

@ -137,11 +137,11 @@ glabel func_80ABA244
/* 007F0 80ABA430 85ADB3A0 */ lh $t5, %lo(D_80ABB3A0)($t5)
/* 007F4 80ABA434 24050008 */ addiu $a1, $zero, 0x0008 ## $a1 = 00000008
/* 007F8 80ABA438 A64D010E */ sh $t5, 0x010E($s2) ## 0000010E
/* 007FC 80ABA43C 0C01B0D8 */ jal func_8006C360
/* 007FC 80ABA43C 0C01B0D8 */ jal Text_GetFaceReaction
/* 00800 80ABA440 8FA4002C */ lw $a0, 0x002C($sp)
/* 00804 80ABA444 10400006 */ beq $v0, $zero, .L80ABA460
/* 00808 80ABA448 8FA4002C */ lw $a0, 0x002C($sp)
/* 0080C 80ABA44C 0C01B0D8 */ jal func_8006C360
/* 0080C 80ABA44C 0C01B0D8 */ jal Text_GetFaceReaction
/* 00810 80ABA450 24050008 */ addiu $a1, $zero, 0x0008 ## $a1 = 00000008
/* 00814 80ABA454 24180006 */ addiu $t8, $zero, 0x0006 ## $t8 = 00000006
/* 00818 80ABA458 A642010E */ sh $v0, 0x010E($s2) ## 0000010E
@ -200,7 +200,7 @@ glabel func_80ABA244
/* 008C8 80ABA508 2484B5C0 */ addiu $a0, $a0, %lo(D_80ABB5C0) ## $a0 = 80ABB5C0
/* 008CC 80ABA50C 8FA4002C */ lw $a0, 0x002C($sp)
/* 008D0 80ABA510 0C01B0D8 */ jal func_8006C360
/* 008D0 80ABA510 0C01B0D8 */ jal Text_GetFaceReaction
/* 008D4 80ABA514 24050008 */ addiu $a1, $zero, 0x0008 ## $a1 = 00000008
/* 008D8 80ABA518 54400048 */ bnel $v0, $zero, .L80ABA63C
/* 008DC 80ABA51C 8FBF0024 */ lw $ra, 0x0024($sp)

View file

@ -8,11 +8,11 @@ glabel func_80ABAD7C
/* 01154 80ABAD94 A48E010E */ sh $t6, 0x010E($a0) ## 0000010E
/* 01158 80ABAD98 00A08825 */ or $s1, $a1, $zero ## $s1 = 00000000
/* 0115C 80ABAD9C 00A02025 */ or $a0, $a1, $zero ## $a0 = 00000000
/* 01160 80ABADA0 0C01B0D8 */ jal func_8006C360
/* 01160 80ABADA0 0C01B0D8 */ jal Text_GetFaceReaction
/* 01164 80ABADA4 24050008 */ addiu $a1, $zero, 0x0008 ## $a1 = 00000008
/* 01168 80ABADA8 10400004 */ beq $v0, $zero, .L80ABADBC
/* 0116C 80ABADAC 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
/* 01170 80ABADB0 0C01B0D8 */ jal func_8006C360
/* 01170 80ABADB0 0C01B0D8 */ jal Text_GetFaceReaction
/* 01174 80ABADB4 24050008 */ addiu $a1, $zero, 0x0008 ## $a1 = 00000008
/* 01178 80ABADB8 A602010E */ sh $v0, 0x010E($s0) ## 0000010E
.L80ABADBC:

View file

@ -11,7 +11,7 @@ glabel func_80AEFDC0
/* 051D4 80AEFDE4 35CF0009 */ ori $t7, $t6, 0x0009 ## $t7 = 00000009
/* 051D8 80AEFDE8 ACCF0004 */ sw $t7, 0x0004($a2) ## 00000004
/* 051DC 80AEFDEC AFA60018 */ sw $a2, 0x0018($sp)
/* 051E0 80AEFDF0 0C01B0D8 */ jal func_8006C360
/* 051E0 80AEFDF0 0C01B0D8 */ jal Text_GetFaceReaction
/* 051E4 80AEFDF4 8FA4001C */ lw $a0, 0x001C($sp)
/* 051E8 80AEFDF8 8FA60018 */ lw $a2, 0x0018($sp)
/* 051EC 80AEFDFC 3058FFFF */ andi $t8, $v0, 0xFFFF ## $t8 = 00000000

View file

@ -3,7 +3,7 @@ glabel func_80AF55E0
/* 00084 80AF55E4 AFBF0014 */ sw $ra, 0x0014($sp)
/* 00088 80AF55E8 00A03025 */ or $a2, $a1, $zero ## $a2 = 00000000
/* 0008C 80AF55EC AFA6001C */ sw $a2, 0x001C($sp)
/* 00090 80AF55F0 0C01B0D8 */ jal func_8006C360
/* 00090 80AF55F0 0C01B0D8 */ jal Text_GetFaceReaction
/* 00094 80AF55F4 24050010 */ addiu $a1, $zero, 0x0010 ## $a1 = 00000010
/* 00098 80AF55F8 8FA6001C */ lw $a2, 0x001C($sp)
/* 0009C 80AF55FC 10400003 */ beq $v0, $zero, .L80AF560C

View file

@ -99,7 +99,7 @@ glabel func_80AFF7D8
/* 0169C 80AFF94C 316C0200 */ andi $t4, $t3, 0x0200 ## $t4 = 00000000
/* 016A0 80AFF950 11800009 */ beq $t4, $zero, .L80AFF978
/* 016A4 80AFF954 00000000 */ nop
/* 016A8 80AFF958 0C01B0D8 */ jal func_8006C360
/* 016A8 80AFF958 0C01B0D8 */ jal Text_GetFaceReaction
/* 016AC 80AFF95C 24050015 */ addiu $a1, $zero, 0x0015 ## $a1 = 00000015
/* 016B0 80AFF960 304DFFFF */ andi $t5, $v0, 0xFFFF ## $t5 = 00000000
/* 016B4 80AFF964 15A00015 */ bne $t5, $zero, .L80AFF9BC
@ -124,7 +124,7 @@ glabel func_80AFF7D8
/* 016F8 80AFF9A8 10000004 */ beq $zero, $zero, .L80AFF9BC
/* 016FC 80AFF9AC A61802C4 */ sh $t8, 0x02C4($s0) ## 000002C4
.L80AFF9B0:
/* 01700 80AFF9B0 0C01B0D8 */ jal func_8006C360
/* 01700 80AFF9B0 0C01B0D8 */ jal Text_GetFaceReaction
/* 01704 80AFF9B4 24050015 */ addiu $a1, $zero, 0x0015 ## $a1 = 00000015
/* 01708 80AFF9B8 A60202C4 */ sh $v0, 0x02C4($s0) ## 000002C4
.L80AFF9BC:

View file

@ -129,7 +129,7 @@ glabel func_80B03A00
/* 01944 80B03BB4 2405000D */ addiu $a1, $zero, 0x000D ## $a1 = 0000000D
/* 01948 80B03BB8 57200031 */ bnel $t9, $zero, .L80B03C80
/* 0194C 80B03BBC 8FBF0014 */ lw $ra, 0x0014($sp)
/* 01950 80B03BC0 0C01B0D8 */ jal func_8006C360
/* 01950 80B03BC0 0C01B0D8 */ jal Text_GetFaceReaction
/* 01954 80B03BC4 AFA70018 */ sw $a3, 0x0018($sp)
/* 01958 80B03BC8 8FA70018 */ lw $a3, 0x0018($sp)
/* 0195C 80B03BCC 3048FFFF */ andi $t0, $v0, 0xFFFF ## $t0 = 00000000

View file

@ -4,7 +4,7 @@ glabel func_80B13AAC
/* 00014 80B13AB4 AFBF0014 */ sw $ra, 0x0014($sp)
/* 00018 80B13AB8 00A02025 */ or $a0, $a1, $zero ## $a0 = 00000000
/* 0001C 80B13ABC 24050018 */ addiu $a1, $zero, 0x0018 ## $a1 = 00000018
/* 00020 80B13AC0 0C01B0D8 */ jal func_8006C360
/* 00020 80B13AC0 0C01B0D8 */ jal Text_GetFaceReaction
/* 00024 80B13AC4 AFA60018 */ sw $a2, 0x0018($sp)
/* 00028 80B13AC8 3C048016 */ lui $a0, 0x8016 ## $a0 = 80160000
/* 0002C 80B13ACC 2484E660 */ addiu $a0, $a0, 0xE660 ## $a0 = 8015E660

View file

@ -5,7 +5,7 @@ glabel func_80B16504
/* 02A70 80B16510 AFBF001C */ sw $ra, 0x001C($sp)
/* 02A74 80B16514 AFA5002C */ sw $a1, 0x002C($sp)
/* 02A78 80B16518 00A02025 */ or $a0, $a1, $zero ## $a0 = 00000000
/* 02A7C 80B1651C 0C01B0D8 */ jal func_8006C360
/* 02A7C 80B1651C 0C01B0D8 */ jal Text_GetFaceReaction
/* 02A80 80B16520 24050018 */ addiu $a1, $zero, 0x0018 ## $a1 = 00000018
/* 02A84 80B16524 A7A20026 */ sh $v0, 0x0026($sp)
/* 02A88 80B16528 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000

View file

@ -3,7 +3,7 @@ glabel func_80B18360
/* 00004 80B18364 AFBF0014 */ sw $ra, 0x0014($sp)
/* 00008 80B18368 AFA5001C */ sw $a1, 0x001C($sp)
/* 0000C 80B1836C AFA40018 */ sw $a0, 0x0018($sp)
/* 00010 80B18370 0C01B0D8 */ jal func_8006C360
/* 00010 80B18370 0C01B0D8 */ jal Text_GetFaceReaction
/* 00014 80B18374 24050024 */ addiu $a1, $zero, 0x0024 ## $a1 = 00000024
/* 00018 80B18378 8FA4001C */ lw $a0, 0x001C($sp)
/* 0001C 80B1837C 10400003 */ beq $v0, $zero, .L80B1838C

View file

@ -3,7 +3,7 @@ glabel func_80B206A0
/* 00534 80B206A4 AFA40018 */ sw $a0, 0x0018($sp)
/* 00538 80B206A8 AFBF0014 */ sw $ra, 0x0014($sp)
/* 0053C 80B206AC 00A02025 */ or $a0, $a1, $zero ## $a0 = 00000000
/* 00540 80B206B0 0C01B0D8 */ jal func_8006C360
/* 00540 80B206B0 0C01B0D8 */ jal Text_GetFaceReaction
/* 00544 80B206B4 00002825 */ or $a1, $zero, $zero ## $a1 = 00000000
/* 00548 80B206B8 14400026 */ bne $v0, $zero, .L80B20754
/* 0054C 80B206BC 00402025 */ or $a0, $v0, $zero ## $a0 = 00000000

View file

@ -2,7 +2,7 @@ glabel func_80B5B90C
/* 0015C 80B5B90C 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 00160 80B5B910 AFBF0014 */ sw $ra, 0x0014($sp)
/* 00164 80B5B914 AFA5001C */ sw $a1, 0x001C($sp)
/* 00168 80B5B918 0C01B0D8 */ jal func_8006C360
/* 00168 80B5B918 0C01B0D8 */ jal Text_GetFaceReaction
/* 0016C 80B5B91C 24050016 */ addiu $a1, $zero, 0x0016 ## $a1 = 00000016
/* 00170 80B5B920 10400003 */ beq $v0, $zero, .L80B5B930
/* 00174 80B5B924 3043FFFF */ andi $v1, $v0, 0xFFFF ## $v1 = 00000000

View file

@ -2,7 +2,7 @@ glabel func_80B61024
/* 00E04 80B61024 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 00E08 80B61028 AFBF0014 */ sw $ra, 0x0014($sp)
/* 00E0C 80B6102C AFA5001C */ sw $a1, 0x001C($sp)
/* 00E10 80B61030 0C01B0D8 */ jal func_8006C360
/* 00E10 80B61030 0C01B0D8 */ jal Text_GetFaceReaction
/* 00E14 80B61034 2405001D */ addiu $a1, $zero, 0x001D ## $a1 = 0000001D
/* 00E18 80B61038 10400003 */ beq $v0, $zero, .L80B61048
/* 00E1C 80B6103C 3043FFFF */ andi $v1, $v0, 0xFFFF ## $v1 = 00000000

View file

@ -1,11 +0,0 @@
.include "macro.inc"
# assembler directives
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
.set gp=64 # allow use of 64-bit general purposee registers
.section .rodata
glabel D_8013E760
.incbin "baserom.z64", 0xBB5900, 0x10

View file

@ -1,22 +0,0 @@
.include "macro.inc"
# assembler directives
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
.set gp=64 # allow use of 64-bit general purposee registers
.section .data
glabel Bg_Haka_Megane_InitVars
.word 0x00AE0600, 0x000000B0, 0x00010000, 0x0000016C
.word BgHakaMegane_Init
.word BgHakaMegane_Destroy
.word BgHakaMegane_Update
.word 0x00000000
glabel D_8087DD50
.word 0x48500064
glabel D_8087DD54
.word 0x06001830, 0x06001AB8, 0x00000000, 0x06004330, 0x060044D0, 0x00000000, 0x06004780, 0x06004940, 0x00000000, 0x06004B00, 0x00000000, 0x06004CC0, 0x00000000
glabel D_8087DD88
.word 0x06001060, 0x06001920, 0x060003F0, 0x060040F0, 0x060043B0, 0x06001120, 0x060045A0, 0x060047F0, 0x060018F0, 0x060049B0, 0x06003CF0, 0x06004B70, 0x06002ED0, 0x00000000

View file

@ -1,11 +0,0 @@
.include "macro.inc"
# assembler directives
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
.set gp=64 # allow use of 64-bit general purposee registers
.section .rodata
glabel D_8087DDC0
.incbin "baserom/ovl_Bg_Haka_Megane", 0x380, 0x00000070

View file

@ -1,23 +0,0 @@
.include "macro.inc"
# assembler directives
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
.set gp=64 # allow use of 64-bit general purposee registers
.section .data
glabel D_808C1010
.word func_808C0CD4
.word func_808C0D08
glabel D_808C1018
.word 0x485003E8
glabel D_808C101C
.word func_808C0EEC
glabel Bg_Zg_InitVars
.word 0x01770400, 0x00000010, 0x01560000, 0x0000016C
.word BgZg_Init
.word BgZg_Destroy
.word BgZg_Update
.word BgZg_Draw

View file

@ -1,11 +0,0 @@
.include "macro.inc"
# assembler directives
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
.set gp=64 # allow use of 64-bit general purposee registers
.section .rodata
glabel D_808C10F0
.incbin "baserom/ovl_Bg_Zg", 0x4D0, 0x000000A0

View file

@ -1,37 +0,0 @@
.include "macro.inc"
# assembler directives
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
.set gp=64 # allow use of 64-bit general purposee registers
.section .rodata
glabel D_808C1040
.asciz "!!!!!!!!!!!!!!!!!!!!!!!!!\n"
.balign 4
glabel D_808C107C
.asciz "../z_bg_zg.c"
.balign 4
glabel D_808C108C
.asciz "../z_bg_zg.c"
.balign 4
glabel D_808C109C
.asciz "../z_bg_zg.c"
.balign 4
glabel D_808C10AC
.asciz "!!!!!!!!!!!!!!!!!!!!!!!!!\n"
.balign 4
glabel D_808C10E4
.word 0x3F99999A
glabel D_808C10E8
.word 0x3FA66666
glabel D_808C10EC
.word 0x3F99999A

View file

@ -2,7 +2,7 @@
FORMAT_OPTS="-i -style=file"
TIDY_OPTS="-p . --fix --fix-errors"
COMPILER_OPTS="-fno-builtin -std=gnu90 -Iinclude -Isrc -D_LANGUAGE_C"
COMPILER_OPTS="-fno-builtin -std=gnu90 -Iinclude -Isrc -D_LANGUAGE_C -DNON_MATCHING"
shopt -s globstar

View file

@ -800,7 +800,7 @@ void Audio_PlaySoundAtPosition(GlobalContext* globalCtx, Vec3f* pos2, s32 radius
// ? func_8006BE88(?);
// ? func_8006BF1C(?);
// ? func_8006C0FC(?);
u16 func_8006C360(GlobalContext*, u32);
u16 Text_GetFaceReaction(GlobalContext* globalCtx, u32 reactionSet);
// ? func_8006C3A0(?);
// ? func_8006C3D0(?);
void func_8006C438(GlobalContext* globalCtx, s16 arg1);
@ -1005,7 +1005,9 @@ s32 func_80087708(GlobalContext* globalCtx, s16 arg1, s16 arg2);
void func_80088B34(s16 arg0);
void Interface_Draw(GlobalContext* globalCtx);
void Interface_Update(GlobalContext* globalCtx);
f32 func_8008E520(Actor* actor, Path* path, s16, s16*);
Path* Path_GetByIndex(GlobalContext* globalCtx, s16 index, s16 max);
f32 Path_OrientAndGetDistSq(Actor* actor, Path* path, s16 waypoint, s16* yaw);
void Path_CopyLastPoint(Path* path, Vec3f* dest);
// ? func_8008E6A0(?);
// ? func_8008E6AC(?);
// ? func_8008E750(?);

View file

@ -144,8 +144,7 @@ typedef struct Actor {
/* 0x094 */ f32 yDistanceFromLink;
/* 0x098 */ SubActorStruct98 sub_98;
/* 0x0B4 */ ActorShape shape;
/* 0x0CC */ Vec3f unk_CC; // Used in Link, not Deku Babas
/* 0x0D8 */ Vec3f unk_D8; // Used in Link, not Deku Babas
/* 0x0CC */ Vec3f unk_CC[2];
/* 0x0E4 */ Vec3f unk_E4; // Stores result of some vector transformation involving actor xyz vector, and a matrix at Global Context + 11D60
/* 0x0F0 */ f32 unk_F0; // Related to above
/* 0x0F4 */ f32 unk_F4;

View file

@ -328,8 +328,8 @@ typedef struct {
} WaterBoxHeader;
typedef struct {
/* 0x00 */ u8 count; // Total number of points in the path for the actor to follow
/* 0x04 */ Vec3s* path; // Segment Address of the start of the path list
/* 0x00 */ u8 count; // number of points in the path
/* 0x04 */ Vec3s* points; // Segment Address to the array of points
} Path; // size = 0x8
typedef union {

View file

@ -26,8 +26,8 @@ OBJDUMP := $(MIPS_BINUTILS_PREFIX)objdump
CC := $(QEMU_IRIX) -L tools/ido7.1_compiler tools/ido7.1_compiler/usr/bin/cc
CC_OLD := $(QEMU_IRIX) -L tools/ido5.3_compiler tools/ido5.3_compiler/usr/bin/cc
# Check code syntax with host compiler (TODO: define NON_MATCHING because the non-matching code is utterly broken)
CC_CHECK := gcc -fno-builtin -fsyntax-only -fsigned-char -std=gnu90 -Wall -Wextra -Wno-format-security -Wno-unknown-pragmas -D _LANGUAGE_C -I include -include stdarg.h
# Check code syntax with host compiler
CC_CHECK := gcc -fno-builtin -fsyntax-only -fsigned-char -std=gnu90 -Wall -Wextra -Wno-format-security -Wno-unknown-pragmas -D _LANGUAGE_C -D NON_MATCHING -I include -include stdarg.h
CPP := cpp
MKLDSCRIPT := tools/mkldscript
@ -157,10 +157,6 @@ build/assets/%.o: assets/%.c
# $(CC_CHECK) $^
$(OBJCOPY) -O binary $@ $@.bin
#build/src/boot/%.o: src/boot/%.c
# $(CC) -c $(CFLAGS) $(OPTIMIZATION) -o $@ $^
# @$(OBJDUMP) -d $@ > $(@:.o=.s)
build/src/overlays/%.o: src/overlays/%.c
$(CC) -c $(CFLAGS) $(OPTIMIZATION) -o $@ $^
$(CC_CHECK) $^

View file

@ -1,4 +1,24 @@
#!/usr/bin/env python3
import os
import re
import argparse
parser = argparse.ArgumentParser(description="Computes current progress throughout the whole project.")
parser.add_argument("-m", "--matching", dest='matching', action='store_true',
help="Output matching progress instead of decompilation progress")
args = parser.parse_args()
NON_MATCHING_PATTERN = "#ifdef\s+NON_MATCHING.*?#pragma\s+GLOBAL_ASM\s*\(\s*\"(.*?)\"\s*\).*?#endif"
def GetNonMatchingFunctions(files):
functions = []
for file in files:
with open(file) as f:
functions += re.findall(NON_MATCHING_PATTERN, f.read(), re.DOTALL)
return functions
def ReadAllLines(fileName):
lineList = list()
@ -7,27 +27,30 @@ def ReadAllLines(fileName):
return lineList
def GetFiles(path):
def GetFiles(path, ext):
files = []
for r, d, f in os.walk(path):
for file in f:
if '.s' in file:
if file.endswith(ext):
files.append(os.path.join(r, file))
return files
nonMatchingFunctions = GetNonMatchingFunctions(GetFiles("src", ".c")) if not args.matching else []
def GetNonMatchingSize(path):
size = 0
asmFiles = GetFiles(path)
asmFiles = GetFiles(path, ".s")
for asmFilePath in asmFiles:
asmLines = ReadAllLines(asmFilePath)
if asmFilePath not in nonMatchingFunctions:
asmLines = ReadAllLines(asmFilePath)
for asmLine in asmLines:
if (asmLine.startswith("/*")):
size += 4
for asmLine in asmLines:
if (asmLine.startswith("/*")):
size += 4
return size
@ -65,28 +88,18 @@ nonMatchingASMBoot = GetNonMatchingSize("asm/non_matchings/boot")
nonMatchingASMCode = GetNonMatchingSize("asm/non_matchings/code") + GetNonMatchingSize("asm/non_matchings/libultra_code")
nonMatchingASMOvl = GetNonMatchingSize("asm/non_matchings/overlays")
codeSize = 1004128 # 1.00mb
bootSize = 36752
#ovlSize = 3727584 # 3.727mb
ovlSize = 2812000 # .text section only
libultraSize = 40816 # This is temp
audioSize = 0 # This is temp
handwritten = 0 # This is temp
src -= nonMatchingASM
code -= nonMatchingASMCode
boot -= nonMatchingASMBoot
ovl -= nonMatchingASMOvl
asm += nonMatchingASM
#print(nonMatchingASM)
#asm = asm - (libultra_size + audio_size + handwritten - boot_size - code_size - ovl_size)
#asm = asm - (libultra_size + audio_size + handwritten)
#asm = -(libultra_size + audio_size + handwritten - boot_size - code_size - ovl_size)
#asm += codeSize
#asm += bootSize
#asm += ovlSize
#asm -= src
bootSize = 30704 # decompilable code only
codeSize = 1004128 # .text section except rsp bins (1.00mb)
ovlSize = 2812000 # .text sections
handwritten = 5840 # boot only
asm -= handwritten
total = src + asm
srcPct = 100 * src / total
@ -97,12 +110,13 @@ ovlPct = 100 * ovl / ovlSize
compiled_bytes = total
bytesPerHeartPiece = compiled_bytes / 80
adjective = "decompiled" if not args.matching else "matched"
print(str(total) + " total bytes of decompilable code\n")
print(str(src) + " bytes of code in src " + str(srcPct) + "%\n")
#print(str(asm) + " bytes of code in asm " + str(asmPct) + "%\n")
print(str(boot) + "/" + str(bootSize) + " bytes of code in boot " + str(bootPct) + "%\n")
print(str(code) + "/" + str(codeSize) + " bytes of code in code " + str(codePct) + "%\n")
print(str(ovl) + "/" + str(ovlSize) + " bytes of code in overlays " + str(ovlPct) + "%\n")
print(str(src) + " bytes " + adjective + " in src " + str(srcPct) + "%\n")
print(str(boot) + "/" + str(bootSize) + " bytes " + adjective + " in boot " + str(bootPct) + "%\n")
print(str(code) + "/" + str(codeSize) + " bytes " + adjective + " in code " + str(codePct) + "%\n")
print(str(ovl) + "/" + str(ovlSize) + " bytes " + adjective + " in overlays " + str(ovlPct) + "%\n")
print("------------------------------------\n")
heartPieces = int(src / bytesPerHeartPiece)

26
spec
View file

@ -280,9 +280,9 @@ beginseg
include "build/data/z_eff_shield_particle.data.o"
include "build/src/code/z_eff_spark.o"
include "build/src/code/z_eff_ss_dead.o"
include "build/src/code/code_80026B00.o"
include "build/data/code_80026B00.data.o"
include "build/data/code_80026B00.bss.o"
include "build/src/code/z_effect.o"
include "build/data/z_effect.data.o"
include "build/data/z_effect.bss.o"
include "build/src/code/z_effect_soft_sprite.o"
include "build/data/z_effect_soft_sprite.data.o"
include "build/src/code/z_effect_soft_sprite_old_init.o"
@ -315,7 +315,7 @@ beginseg
include "build/asm/code_8006BA00.o"
include "build/src/code/z_elf_message.o"
include "build/data/z_elf_message.data.o"
include "build/src/code/code_8006C360.o"
include "build/src/code/z_face_reaction.o"
include "build/src/code/code_8006C3A0.o"
include "build/src/code/code_8006C510.o"
include "build/src/code/z_fcurve_data_skelanime.o"
@ -348,17 +348,16 @@ beginseg
include "build/data/z_map_exp.data.o"
include "build/data/z_map_exp.bss.o"
include "build/src/code/z_parameter.o"
include "build/asm/code_8008E4E0.o"
include "build/data/code_8008E4E0.rodata.o"
include "build/src/code/z_path.o"
include "build/asm/code_8008E6A0.o"
include "build/src/code/z_player_lib.o"
include "build/data/z_player_lib.data.o"
include "build/data/z_player_lib.bss.o"
include "build/src/code/z_prenmi.o"
include "build/asm/code_80092500.o"
include "build/data/code_80092500.data.o"
include "build/data/code_80092500.rodata.o"
include "build/data/code_80092500.bss.o"
include "build/asm/z_quake.o"
include "build/data/z_quake.data.o"
include "build/data/z_quake.rodata.o"
include "build/data/z_quake.bss.o"
include "build/src/code/z_rcp.o"
include "build/data/z_rcp.data.o"
include "build/src/code/z_room.o"
@ -864,8 +863,7 @@ endseg
beginseg
name "ovl_Bg_Haka_Megane"
include "build/src/overlays/actors/ovl_Bg_Haka_Megane/z_bg_haka_megane.o"
include "build/data/overlays/actors/z_bg_haka_megane.data.o"
include "build/data/overlays/actors/z_bg_haka_megane.reloc.o"
include "build/src/overlays/actors/ovl_Bg_Haka_Megane/z_bg_haka_megane_reloc.o"
endseg
beginseg
@ -1638,9 +1636,7 @@ endseg
beginseg
name "ovl_Bg_Zg"
include "build/src/overlays/actors/ovl_Bg_Zg/z_bg_zg.o"
include "build/data/overlays/actors/z_bg_zg.data.o"
include "build/data/overlays/actors/z_bg_zg.rodata.o"
include "build/data/overlays/actors/z_bg_zg.reloc.o"
include "build/src/overlays/actors/ovl_Bg_Zg/z_bg_zg_reloc.o"
endseg
beginseg

View file

@ -51,10 +51,6 @@ void* Yaz0_NextDMA(void* curSrcPos) {
return dst;
}
#ifdef NON_MATCHING
// has an extra check at the start of the small compressed loop
// along with an extra move instruction
// maybe some regalloc differences besides these issues
void Yaz0_DecompressImpl(Yaz0Header* hdr, u8* dst) {
u32 bitIdx;
u8* src;
@ -63,46 +59,45 @@ void Yaz0_DecompressImpl(Yaz0Header* hdr, u8* dst) {
u32 nibble;
u8* backPtr;
s32 chunkSize;
u32 curDecBit;
u32 off;
bitIdx = 0;
src = hdr->data;
src = (u8*)hdr->data;
dstEnd = dst + hdr->decSize;
do {
if (bitIdx == 0) {
if ((sYaz0MaxPtr < (u32)src) && (sYaz0CurSize != 0))
if ((sYaz0MaxPtr < (u32)src) && (sYaz0CurSize != 0)) {
src = Yaz0_NextDMA(src);
}
chunkHeader = *src++;
bitIdx = 8;
}
curDecBit = chunkHeader & (1 << 7);
chunkHeader <<= 1;
if (curDecBit) { // uncompressed
*dst++ = *src++;
if (chunkHeader & (1 << 7)) { // uncompressed
*dst = *src;
dst++;
src++;
} else { // compressed
off = ((*src & 0xF) << 8 | *(src + 1));
nibble = *src >> 4;
backPtr = dst - (*(src + 1) | (*src & 0xF) << 8);
backPtr = dst - off;
src += 2;
chunkSize = (nibble == 0) // N = chunkSize; B = back offset
? *src++ + 0x12 // 3 bytes 0B BB NN
: nibble + 2; // 2 bytes NB BB
for (off = chunkSize; off > 0; off--)
do {
*dst++ = *(backPtr++ - 1);
chunkSize--;
} while (chunkSize != 0);
}
chunkHeader <<= 1;
bitIdx--;
} while (dst != dstEnd);
}
#else
#pragma GLOBAL_ASM("asm/non_matchings/boot/yaz0/Yaz0_DecompressImpl.s")
#endif
void Yaz0_Decompress(u32 romStart, void* dst, u32 size) {
sYaz0CurRomStart = romStart;

View file

@ -1,26 +0,0 @@
#include <ultra64.h>
#include <global.h>
GlobalContext* func_80026B00(void) {
return D_80157DA0;
}
#pragma GLOBAL_ASM("asm/non_matchings/code/code_80026B00/func_80026B0C.s")
void func_80026C1C(u8* arg0) {
arg0[0] = 0;
arg0[1] = 0;
arg0[2] = 0;
}
#pragma GLOBAL_ASM("asm/non_matchings/code/code_80026B00/func_80026C2C.s")
#pragma GLOBAL_ASM("asm/non_matchings/code/code_80026B00/Effect_Add.s")
#pragma GLOBAL_ASM("asm/non_matchings/code/code_80026B00/func_80026E74.s")
#pragma GLOBAL_ASM("asm/non_matchings/code/code_80026B00/func_80026F70.s")
#pragma GLOBAL_ASM("asm/non_matchings/code/code_80026B00/func_8002709C.s")
#pragma GLOBAL_ASM("asm/non_matchings/code/code_80026B00/func_800271A8.s")

Some files were not shown because too many files have changed in this diff Show more