1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-12-27 07:07:09 +00:00

ovl_En_In OK (#545)

* Initial progress

* Further progress

* One nonmatching left

* Fix merge

* OK

* Cleanup

* Remove unused asm

* Use generated reloc

* nightFlag changes and requiredObject -> objectIdx

* Some suggestions

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

* Revert nightflag changes, early return after Actor_Kill, objectIdx -> ingoObjBankIndex

* Fix accidental nightFlag change in z_sram

Co-authored-by: Thar0 <maximilianc64@gmail.com>
Co-authored-by: Roman971 <32455037+Roman971@users.noreply.github.com>
This commit is contained in:
Tharo 2021-01-04 19:52:36 +00:00 committed by GitHub
parent 8cd367c43b
commit 510b3c4bd5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
52 changed files with 959 additions and 3075 deletions

View file

@ -1,18 +0,0 @@
glabel EnIn_Destroy
/* 00FC4 80A79F74 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 00FC8 80A79F78 AFBF0014 */ sw $ra, 0x0014($sp)
/* 00FCC 80A79F7C 8C820190 */ lw $v0, 0x0190($a0) ## 00000190
/* 00FD0 80A79F80 3C0E80A8 */ lui $t6, %hi(func_80A79FB0) ## $t6 = 80A80000
/* 00FD4 80A79F84 00803025 */ or $a2, $a0, $zero ## $a2 = 00000000
/* 00FD8 80A79F88 10400005 */ beq $v0, $zero, .L80A79FA0
/* 00FDC 80A79F8C 25CE9FB0 */ addiu $t6, $t6, %lo(func_80A79FB0) ## $t6 = 80A79FB0
/* 00FE0 80A79F90 11C20003 */ beq $t6, $v0, .L80A79FA0
/* 00FE4 80A79F94 00A02025 */ or $a0, $a1, $zero ## $a0 = 00000000
/* 00FE8 80A79F98 0C0170EB */ jal Collider_DestroyCylinder
/* 00FEC 80A79F9C 24C50194 */ addiu $a1, $a2, 0x0194 ## $a1 = 00000194
.L80A79FA0:
/* 00FF0 80A79FA0 8FBF0014 */ lw $ra, 0x0014($sp)
/* 00FF4 80A79FA4 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
/* 00FF8 80A79FA8 03E00008 */ jr $ra
/* 00FFC 80A79FAC 00000000 */ nop

View file

@ -1,103 +0,0 @@
.rdata
glabel D_80A7BA0C
.asciz "../z_en_in.c"
.balign 4
glabel D_80A7BA1C
.asciz "../z_en_in.c"
.balign 4
.text
glabel EnIn_Draw
/* 02704 80A7B6B4 27BDFFA8 */ addiu $sp, $sp, 0xFFA8 ## $sp = FFFFFFA8
/* 02708 80A7B6B8 AFBF002C */ sw $ra, 0x002C($sp)
/* 0270C 80A7B6BC AFB00028 */ sw $s0, 0x0028($sp)
/* 02710 80A7B6C0 AFA5005C */ sw $a1, 0x005C($sp)
/* 02714 80A7B6C4 8CA50000 */ lw $a1, 0x0000($a1) ## 00000000
/* 02718 80A7B6C8 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 0271C 80A7B6CC 3C0680A8 */ lui $a2, %hi(D_80A7BA0C) ## $a2 = 80A80000
/* 02720 80A7B6D0 24C6BA0C */ addiu $a2, $a2, %lo(D_80A7BA0C) ## $a2 = 80A7BA0C
/* 02724 80A7B6D4 27A40040 */ addiu $a0, $sp, 0x0040 ## $a0 = FFFFFFE8
/* 02728 80A7B6D8 24070950 */ addiu $a3, $zero, 0x0950 ## $a3 = 00000950
/* 0272C 80A7B6DC 0C031AB1 */ jal Graph_OpenDisps
/* 02730 80A7B6E0 AFA50050 */ sw $a1, 0x0050($sp)
/* 02734 80A7B6E4 8E180190 */ lw $t8, 0x0190($s0) ## 00000190
/* 02738 80A7B6E8 3C0F80A8 */ lui $t7, %hi(func_80A79FB0) ## $t7 = 80A80000
/* 0273C 80A7B6EC 25EF9FB0 */ addiu $t7, $t7, %lo(func_80A79FB0) ## $t7 = 80A79FB0
/* 02740 80A7B6F0 11F8003C */ beq $t7, $t8, .L80A7B7E4
/* 02744 80A7B6F4 8FA80050 */ lw $t0, 0x0050($sp)
/* 02748 80A7B6F8 8FB9005C */ lw $t9, 0x005C($sp)
/* 0274C 80A7B6FC 8F240000 */ lw $a0, 0x0000($t9) ## 00000000
/* 02750 80A7B700 0C024F46 */ jal func_80093D18
/* 02754 80A7B704 AFA80050 */ sw $t0, 0x0050($sp)
/* 02758 80A7B708 8FA80050 */ lw $t0, 0x0050($sp)
/* 0275C 80A7B70C 3C0ADB06 */ lui $t2, 0xDB06 ## $t2 = DB060000
/* 02760 80A7B710 354A0020 */ ori $t2, $t2, 0x0020 ## $t2 = DB060020
/* 02764 80A7B714 8D0302C0 */ lw $v1, 0x02C0($t0) ## 000002C0
/* 02768 80A7B718 3C0480A8 */ lui $a0, %hi(D_80A7B9B4) ## $a0 = 80A80000
/* 0276C 80A7B71C 3C068016 */ lui $a2, %hi(gSegments)
/* 02770 80A7B720 24690008 */ addiu $t1, $v1, 0x0008 ## $t1 = 00000008
/* 02774 80A7B724 AD0902C0 */ sw $t1, 0x02C0($t0) ## 000002C0
/* 02778 80A7B728 AC6A0000 */ sw $t2, 0x0000($v1) ## 00000000
/* 0277C 80A7B72C 860B01EE */ lh $t3, 0x01EE($s0) ## 000001EE
/* 02780 80A7B730 24C66FA8 */ addiu $a2, %lo(gSegments)
/* 02784 80A7B734 3C0500FF */ lui $a1, 0x00FF ## $a1 = 00FF0000
/* 02788 80A7B738 000B6080 */ sll $t4, $t3, 2
/* 0278C 80A7B73C 008C2021 */ addu $a0, $a0, $t4
/* 02790 80A7B740 8C84B9B4 */ lw $a0, %lo(D_80A7B9B4)($a0)
/* 02794 80A7B744 34A5FFFF */ ori $a1, $a1, 0xFFFF ## $a1 = 00FFFFFF
/* 02798 80A7B748 3C078000 */ lui $a3, 0x8000 ## $a3 = 80000000
/* 0279C 80A7B74C 00047100 */ sll $t6, $a0, 4
/* 027A0 80A7B750 000E7F02 */ srl $t7, $t6, 28
/* 027A4 80A7B754 000FC080 */ sll $t8, $t7, 2
/* 027A8 80A7B758 00D8C821 */ addu $t9, $a2, $t8
/* 027AC 80A7B75C 8F290000 */ lw $t1, 0x0000($t9) ## 00000000
/* 027B0 80A7B760 00856824 */ and $t5, $a0, $a1
/* 027B4 80A7B764 3C040600 */ lui $a0, %hi(D_060034D0) ## $a0 = 06000000
/* 027B8 80A7B768 01A95021 */ addu $t2, $t5, $t1
/* 027BC 80A7B76C 01475821 */ addu $t3, $t2, $a3
/* 027C0 80A7B770 AC6B0004 */ sw $t3, 0x0004($v1) ## 00000004
/* 027C4 80A7B774 8D0302C0 */ lw $v1, 0x02C0($t0) ## 000002C0
/* 027C8 80A7B778 248434D0 */ addiu $a0, $a0, %lo(D_060034D0) ## $a0 = 060034D0
/* 027CC 80A7B77C 00047900 */ sll $t7, $a0, 4
/* 027D0 80A7B780 000FC702 */ srl $t8, $t7, 28
/* 027D4 80A7B784 3C0EDB06 */ lui $t6, 0xDB06 ## $t6 = DB060000
/* 027D8 80A7B788 246C0008 */ addiu $t4, $v1, 0x0008 ## $t4 = 00000008
/* 027DC 80A7B78C 35CE0024 */ ori $t6, $t6, 0x0024 ## $t6 = DB060024
/* 027E0 80A7B790 0018C880 */ sll $t9, $t8, 2
/* 027E4 80A7B794 AD0C02C0 */ sw $t4, 0x02C0($t0) ## 000002C0
/* 027E8 80A7B798 00D96821 */ addu $t5, $a2, $t9
/* 027EC 80A7B79C AC6E0000 */ sw $t6, 0x0000($v1) ## 00000000
/* 027F0 80A7B7A0 8DA90000 */ lw $t1, 0x0000($t5) ## 00000000
/* 027F4 80A7B7A4 00855024 */ and $t2, $a0, $a1
/* 027F8 80A7B7A8 3C0E80A8 */ lui $t6, %hi(func_80A7B320) ## $t6 = 80A80000
/* 027FC 80A7B7AC 012A5821 */ addu $t3, $t1, $t2
/* 02800 80A7B7B0 01676021 */ addu $t4, $t3, $a3
/* 02804 80A7B7B4 AC6C0004 */ sw $t4, 0x0004($v1) ## 00000004
/* 02808 80A7B7B8 9207014E */ lbu $a3, 0x014E($s0) ## 0000014E
/* 0280C 80A7B7BC 8E06016C */ lw $a2, 0x016C($s0) ## 0000016C
/* 02810 80A7B7C0 8E050150 */ lw $a1, 0x0150($s0) ## 00000150
/* 02814 80A7B7C4 3C0F80A8 */ lui $t7, %hi(func_80A7B570) ## $t7 = 80A80000
/* 02818 80A7B7C8 25EFB570 */ addiu $t7, $t7, %lo(func_80A7B570) ## $t7 = 80A7B570
/* 0281C 80A7B7CC 25CEB320 */ addiu $t6, $t6, %lo(func_80A7B320) ## $t6 = 80A7B320
/* 02820 80A7B7D0 AFAE0010 */ sw $t6, 0x0010($sp)
/* 02824 80A7B7D4 AFAF0014 */ sw $t7, 0x0014($sp)
/* 02828 80A7B7D8 AFB00018 */ sw $s0, 0x0018($sp)
/* 0282C 80A7B7DC 0C0286B2 */ jal SkelAnime_DrawFlexOpa
/* 02830 80A7B7E0 8FA4005C */ lw $a0, 0x005C($sp)
.L80A7B7E4:
/* 02834 80A7B7E4 8FB8005C */ lw $t8, 0x005C($sp)
/* 02838 80A7B7E8 3C0680A8 */ lui $a2, %hi(D_80A7BA1C) ## $a2 = 80A80000
/* 0283C 80A7B7EC 24C6BA1C */ addiu $a2, $a2, %lo(D_80A7BA1C) ## $a2 = 80A7BA1C
/* 02840 80A7B7F0 27A40040 */ addiu $a0, $sp, 0x0040 ## $a0 = FFFFFFE8
/* 02844 80A7B7F4 24070970 */ addiu $a3, $zero, 0x0970 ## $a3 = 00000970
/* 02848 80A7B7F8 0C031AD5 */ jal Graph_CloseDisps
/* 0284C 80A7B7FC 8F050000 */ lw $a1, 0x0000($t8) ## 00000000
/* 02850 80A7B800 8FBF002C */ lw $ra, 0x002C($sp)
/* 02854 80A7B804 8FB00028 */ lw $s0, 0x0028($sp)
/* 02858 80A7B808 27BD0058 */ addiu $sp, $sp, 0x0058 ## $sp = 00000000
/* 0285C 80A7B80C 03E00008 */ jr $ra
/* 02860 80A7B810 00000000 */ nop
/* 02864 80A7B814 00000000 */ nop
/* 02868 80A7B818 00000000 */ nop
/* 0286C 80A7B81C 00000000 */ nop

View file

@ -1,80 +0,0 @@
.late_rodata
glabel D_80A7BA94
.word 0x448A6000
glabel D_80A7BA98
.word 0xC569C000
.text
glabel EnIn_Init
/* 00EBC 80A79E6C 3C010001 */ lui $at, 0x0001 ## $at = 00010000
/* 00EC0 80A79E70 27BDFFD0 */ addiu $sp, $sp, 0xFFD0 ## $sp = FFFFFFD0
/* 00EC4 80A79E74 00803025 */ or $a2, $a0, $zero ## $a2 = 00000000
/* 00EC8 80A79E78 342117A4 */ ori $at, $at, 0x17A4 ## $at = 000117A4
/* 00ECC 80A79E7C AFBF0014 */ sw $ra, 0x0014($sp)
/* 00ED0 80A79E80 00A12021 */ addu $a0, $a1, $at
/* 00ED4 80A79E84 240500C0 */ addiu $a1, $zero, 0x00C0 ## $a1 = 000000C0
/* 00ED8 80A79E88 0C02604B */ jal Object_GetIndex
## ObjectIndex
/* 00EDC 80A79E8C AFA60030 */ sw $a2, 0x0030($sp)
/* 00EE0 80A79E90 8FA60030 */ lw $a2, 0x0030($sp)
/* 00EE4 80A79E94 3C198016 */ lui $t9, %hi(gSaveContext+0x1368)
/* 00EE8 80A79E98 3C0C80A8 */ lui $t4, %hi(func_80A79FB0) ## $t4 = 80A80000
/* 00EEC 80A79E9C A0C201E4 */ sb $v0, 0x01E4($a2) ## 000001E4
/* 00EF0 80A79EA0 80CE01E4 */ lb $t6, 0x01E4($a2) ## 000001E4
/* 00EF4 80A79EA4 3C0280A8 */ lui $v0, %hi(D_80A7B998) ## $v0 = 80A80000
/* 00EF8 80A79EA8 2739F9C8 */ addiu $t9, %lo(gSaveContext+0x1368)
/* 00EFC 80A79EAC 05C10009 */ bgez $t6, .L80A79ED4
/* 00F00 80A79EB0 258C9FB0 */ addiu $t4, $t4, %lo(func_80A79FB0) ## $t4 = 80A79FB0
/* 00F04 80A79EB4 84CF001C */ lh $t7, 0x001C($a2) ## 0000001C
/* 00F08 80A79EB8 00C02025 */ or $a0, $a2, $zero ## $a0 = 00000000
/* 00F0C 80A79EBC 59E00006 */ blezl $t7, .L80A79ED8
/* 00F10 80A79EC0 8F290000 */ lw $t1, 0x0000($t9) ## 8015F9C8
/* 00F14 80A79EC4 0C00B55C */ jal Actor_Kill
/* 00F18 80A79EC8 ACC00190 */ sw $zero, 0x0190($a2) ## 00000190
/* 00F1C 80A79ECC 10000026 */ beq $zero, $zero, .L80A79F68
/* 00F20 80A79ED0 8FBF0014 */ lw $ra, 0x0014($sp)
.L80A79ED4:
/* 00F24 80A79ED4 8F290000 */ lw $t1, 0x0000($t9) ## 00000000
.L80A79ED8:
/* 00F28 80A79ED8 27B8001C */ addiu $t8, $sp, 0x001C ## $t8 = FFFFFFEC
/* 00F2C 80A79EDC 8F280004 */ lw $t0, 0x0004($t9) ## 00000004
/* 00F30 80A79EE0 AF090000 */ sw $t1, 0x0000($t8) ## FFFFFFEC
/* 00F34 80A79EE4 8F290008 */ lw $t1, 0x0008($t9) ## 00000008
/* 00F38 80A79EE8 2442B998 */ addiu $v0, $v0, %lo(D_80A7B998) ## $v0 = FFFFB998
/* 00F3C 80A79EEC AF080004 */ sw $t0, 0x0004($t8) ## FFFFFFF0
/* 00F40 80A79EF0 AF090008 */ sw $t1, 0x0008($t8) ## FFFFFFF4
/* 00F44 80A79EF4 8C4A0000 */ lw $t2, 0x0000($v0) ## FFFFB998
/* 00F48 80A79EF8 C7A4001C */ lwc1 $f4, 0x001C($sp)
/* 00F4C 80A79EFC 3C0180A8 */ lui $at, %hi(D_80A7BA94) ## $at = 80A80000
/* 00F50 80A79F00 55400018 */ bnel $t2, $zero, .L80A79F64
/* 00F54 80A79F04 ACCC0190 */ sw $t4, 0x0190($a2) ## 00000190
/* 00F58 80A79F08 C426BA94 */ lwc1 $f6, %lo(D_80A7BA94)($at)
/* 00F5C 80A79F0C C7A80020 */ lwc1 $f8, 0x0020($sp)
/* 00F60 80A79F10 46062032 */ c.eq.s $f4, $f6
/* 00F64 80A79F14 00000000 */ nop
/* 00F68 80A79F18 45020012 */ bc1fl .L80A79F64
/* 00F6C 80A79F1C ACCC0190 */ sw $t4, 0x0190($a2) ## 00000190
/* 00F70 80A79F20 44805000 */ mtc1 $zero, $f10 ## $f10 = 0.00
/* 00F74 80A79F24 C7B00024 */ lwc1 $f16, 0x0024($sp)
/* 00F78 80A79F28 3C0180A8 */ lui $at, %hi(D_80A7BA98) ## $at = 80A80000
/* 00F7C 80A79F2C 460A4032 */ c.eq.s $f8, $f10
/* 00F80 80A79F30 00000000 */ nop
/* 00F84 80A79F34 4502000B */ bc1fl .L80A79F64
/* 00F88 80A79F38 ACCC0190 */ sw $t4, 0x0190($a2) ## 00000190
/* 00F8C 80A79F3C C432BA98 */ lwc1 $f18, %lo(D_80A7BA98)($at)
/* 00F90 80A79F40 3C018016 */ lui $at, %hi(gSaveContext+0x13fa)
/* 00F94 80A79F44 240B0001 */ addiu $t3, $zero, 0x0001 ## $t3 = 00000001
/* 00F98 80A79F48 46128032 */ c.eq.s $f16, $f18
/* 00F9C 80A79F4C 00000000 */ nop
/* 00FA0 80A79F50 45020004 */ bc1fl .L80A79F64
/* 00FA4 80A79F54 ACCC0190 */ sw $t4, 0x0190($a2) ## 00000190
/* 00FA8 80A79F58 A420FA5A */ sh $zero, %lo(gSaveContext+0x13fa)($at)
/* 00FAC 80A79F5C AC4B0000 */ sw $t3, 0x0000($v0) ## FFFFB998
/* 00FB0 80A79F60 ACCC0190 */ sw $t4, 0x0190($a2) ## 00000190
.L80A79F64:
/* 00FB4 80A79F64 8FBF0014 */ lw $ra, 0x0014($sp)
.L80A79F68:
/* 00FB8 80A79F68 27BD0030 */ addiu $sp, $sp, 0x0030 ## $sp = 00000000
/* 00FBC 80A79F6C 03E00008 */ jr $ra
/* 00FC0 80A79F70 00000000 */ nop

View file

@ -1,145 +0,0 @@
glabel EnIn_Update
/* 02160 80A7B110 27BDFFC0 */ addiu $sp, $sp, 0xFFC0 ## $sp = FFFFFFC0
/* 02164 80A7B114 AFBF0024 */ sw $ra, 0x0024($sp)
/* 02168 80A7B118 AFB10020 */ sw $s1, 0x0020($sp)
/* 0216C 80A7B11C AFB0001C */ sw $s0, 0x001C($sp)
/* 02170 80A7B120 8C820190 */ lw $v0, 0x0190($a0) ## 00000190
/* 02174 80A7B124 3C0E80A8 */ lui $t6, %hi(func_80A79FB0) ## $t6 = 80A80000
/* 02178 80A7B128 25CE9FB0 */ addiu $t6, $t6, %lo(func_80A79FB0) ## $t6 = 80A79FB0
/* 0217C 80A7B12C 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 02180 80A7B130 15C20005 */ bne $t6, $v0, .L80A7B148
/* 02184 80A7B134 00A08825 */ or $s1, $a1, $zero ## $s1 = 00000000
/* 02188 80A7B138 0040F809 */ jalr $ra, $v0
/* 0218C 80A7B13C 00000000 */ nop
/* 02190 80A7B140 10000073 */ beq $zero, $zero, .L80A7B310
/* 02194 80A7B144 8FBF0024 */ lw $ra, 0x0024($sp)
.L80A7B148:
/* 02198 80A7B148 26060194 */ addiu $a2, $s0, 0x0194 ## $a2 = 00000194
/* 0219C 80A7B14C 00C02825 */ or $a1, $a2, $zero ## $a1 = 00000194
/* 021A0 80A7B150 AFA60030 */ sw $a2, 0x0030($sp)
/* 021A4 80A7B154 0C0189B7 */ jal Collider_CylinderUpdate
/* 021A8 80A7B158 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 021AC 80A7B15C 3C010001 */ lui $at, 0x0001 ## $at = 00010000
/* 021B0 80A7B160 34211E60 */ ori $at, $at, 0x1E60 ## $at = 00011E60
/* 021B4 80A7B164 8FA60030 */ lw $a2, 0x0030($sp)
/* 021B8 80A7B168 02212821 */ addu $a1, $s1, $at
/* 021BC 80A7B16C 0C017713 */ jal CollisionCheck_SetOC
## CollisionCheck_setOT
/* 021C0 80A7B170 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
/* 021C4 80A7B174 3C0F80A8 */ lui $t7, %hi(func_80A7A304) ## $t7 = 80A80000
/* 021C8 80A7B178 25EFA304 */ addiu $t7, $t7, %lo(func_80A7A304) ## $t7 = 80A7A304
/* 021CC 80A7B17C AFAF0030 */ sw $t7, 0x0030($sp)
/* 021D0 80A7B180 8E180190 */ lw $t8, 0x0190($s0) ## 00000190
/* 021D4 80A7B184 2604014C */ addiu $a0, $s0, 0x014C ## $a0 = 0000014C
/* 021D8 80A7B188 11F8001A */ beq $t7, $t8, .L80A7B1F4
/* 021DC 80A7B18C 00000000 */ nop
/* 021E0 80A7B190 0C02927F */ jal SkelAnime_Update
/* 021E4 80A7B194 AFA4002C */ sw $a0, 0x002C($sp)
/* 021E8 80A7B198 8E080154 */ lw $t0, 0x0154($s0) ## 00000154
/* 021EC 80A7B19C 3C190600 */ lui $t9, %hi(D_06001BE0) ## $t9 = 06000000
/* 021F0 80A7B1A0 27391BE0 */ addiu $t9, $t9, %lo(D_06001BE0) ## $t9 = 06001BE0
/* 021F4 80A7B1A4 1728000A */ bne $t9, $t0, .L80A7B1D0
/* 021F8 80A7B1A8 8FA4002C */ lw $a0, 0x002C($sp)
/* 021FC 80A7B1AC 3C098016 */ lui $t1, %hi(gSaveContext+0x13fa)
/* 02200 80A7B1B0 9529FA5A */ lhu $t1, %lo(gSaveContext+0x13fa)($t1)
/* 02204 80A7B1B4 24010006 */ addiu $at, $zero, 0x0006 ## $at = 00000006
/* 02208 80A7B1B8 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000
/* 0220C 80A7B1BC 312A000F */ andi $t2, $t1, 0x000F ## $t2 = 00000000
/* 02210 80A7B1C0 51410004 */ beql $t2, $at, .L80A7B1D4
/* 02214 80A7B1C4 44800000 */ mtc1 $zero, $f0 ## $f0 = 0.00
/* 02218 80A7B1C8 0C29E5A4 */ jal func_80A79690
/* 0221C 80A7B1CC 02203025 */ or $a2, $s1, $zero ## $a2 = 00000000
.L80A7B1D0:
/* 02220 80A7B1D0 44800000 */ mtc1 $zero, $f0 ## $f0 = 0.00
.L80A7B1D4:
/* 02224 80A7B1D4 240B0004 */ addiu $t3, $zero, 0x0004 ## $t3 = 00000004
/* 02228 80A7B1D8 AFAB0014 */ sw $t3, 0x0014($sp)
/* 0222C 80A7B1DC 44060000 */ mfc1 $a2, $f0
/* 02230 80A7B1E0 44070000 */ mfc1 $a3, $f0
/* 02234 80A7B1E4 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
/* 02238 80A7B1E8 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000
/* 0223C 80A7B1EC 0C00B92D */ jal func_8002E4B4
/* 02240 80A7B1F0 E7A00010 */ swc1 $f0, 0x0010($sp)
.L80A7B1F4:
/* 02244 80A7B1F4 0C29E68B */ jal func_80A79A2C
/* 02248 80A7B1F8 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 0224C 80A7B1FC 8E190190 */ lw $t9, 0x0190($s0) ## 00000190
/* 02250 80A7B200 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 02254 80A7B204 02202825 */ or $a1, $s1, $zero ## $a1 = 00000000
/* 02258 80A7B208 0320F809 */ jalr $ra, $t9
/* 0225C 80A7B20C 00000000 */ nop
/* 02260 80A7B210 8FAC0030 */ lw $t4, 0x0030($sp)
/* 02264 80A7B214 8E0D0190 */ lw $t5, 0x0190($s0) ## 00000190
/* 02268 80A7B218 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 0226C 80A7B21C 518D003C */ beql $t4, $t5, .L80A7B310
/* 02270 80A7B220 8FBF0024 */ lw $ra, 0x0024($sp)
/* 02274 80A7B224 0C29E6AD */ jal func_80A79AB4
/* 02278 80A7B228 02202825 */ or $a1, $s1, $zero ## $a1 = 00000000
/* 0227C 80A7B22C 3C0E8016 */ lui $t6, %hi(gSaveContext+0x13d4)
/* 02280 80A7B230 85CEFA34 */ lh $t6, %lo(gSaveContext+0x13d4)($t6)
/* 02284 80A7B234 3C0F8016 */ lui $t7, %hi(gSaveContext+0x13d2)
/* 02288 80A7B238 29C10006 */ slti $at, $t6, 0x0006
/* 0228C 80A7B23C 5020000F */ beql $at, $zero, .L80A7B27C
/* 02290 80A7B240 8208001F */ lb $t0, 0x001F($s0) ## 0000001F
/* 02294 80A7B244 85EFFA32 */ lh $t7, %lo(gSaveContext+0x13d2)($t7)
/* 02298 80A7B248 51E0000C */ beql $t7, $zero, .L80A7B27C
/* 0229C 80A7B24C 8208001F */ lb $t0, 0x001F($s0) ## 0000001F
/* 022A0 80A7B250 86180308 */ lh $t8, 0x0308($s0) ## 00000308
/* 022A4 80A7B254 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 022A8 80A7B258 57000008 */ bnel $t8, $zero, .L80A7B27C
/* 022AC 80A7B25C 8208001F */ lb $t0, 0x001F($s0) ## 0000001F
/* 022B0 80A7B260 0C00BC65 */ jal func_8002F194
/* 022B4 80A7B264 02202825 */ or $a1, $s1, $zero ## $a1 = 00000000
/* 022B8 80A7B268 50400026 */ beql $v0, $zero, .L80A7B304
/* 022BC 80A7B26C 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 022C0 80A7B270 10000024 */ beq $zero, $zero, .L80A7B304
/* 022C4 80A7B274 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 022C8 80A7B278 8208001F */ lb $t0, 0x001F($s0) ## 0000001F
.L80A7B27C:
/* 022CC 80A7B27C 24010006 */ addiu $at, $zero, 0x0006 ## $at = 00000006
/* 022D0 80A7B280 15010004 */ bne $t0, $at, .L80A7B294
/* 022D4 80A7B284 3C0142A0 */ lui $at, 0x42A0 ## $at = 42A00000
/* 022D8 80A7B288 44810000 */ mtc1 $at, $f0 ## $f0 = 80.00
/* 022DC 80A7B28C 10000005 */ beq $zero, $zero, .L80A7B2A4
/* 022E0 80A7B290 860901D4 */ lh $t1, 0x01D4($s0) ## 000001D4
.L80A7B294:
/* 022E4 80A7B294 3C0143A0 */ lui $at, 0x43A0 ## $at = 43A00000
/* 022E8 80A7B298 44810000 */ mtc1 $at, $f0 ## $f0 = 320.00
/* 022EC 80A7B29C 00000000 */ nop
/* 022F0 80A7B2A0 860901D4 */ lh $t1, 0x01D4($s0) ## 000001D4
.L80A7B2A4:
/* 022F4 80A7B2A4 3C0A80A8 */ lui $t2, %hi(func_80A79168) ## $t2 = 80A80000
/* 022F8 80A7B2A8 3C0B80A8 */ lui $t3, %hi(func_80A79500) ## $t3 = 80A80000
/* 022FC 80A7B2AC 44892000 */ mtc1 $t1, $f4 ## $f4 = 0.00
/* 02300 80A7B2B0 256B9500 */ addiu $t3, $t3, %lo(func_80A79500) ## $t3 = 80A79500
/* 02304 80A7B2B4 254A9168 */ addiu $t2, $t2, %lo(func_80A79168) ## $t2 = 80A79168
/* 02308 80A7B2B8 468021A0 */ cvt.s.w $f6, $f4
/* 0230C 80A7B2BC AFAA0010 */ sw $t2, 0x0010($sp)
/* 02310 80A7B2C0 AFAB0014 */ sw $t3, 0x0014($sp)
/* 02314 80A7B2C4 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
/* 02318 80A7B2C8 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000
/* 0231C 80A7B2CC 26060308 */ addiu $a2, $s0, 0x0308 ## $a2 = 00000308
/* 02320 80A7B2D0 46060200 */ add.s $f8, $f0, $f6
/* 02324 80A7B2D4 44074000 */ mfc1 $a3, $f8
/* 02328 80A7B2D8 0C00D0F3 */ jal func_800343CC
/* 0232C 80A7B2DC 00000000 */ nop
/* 02330 80A7B2E0 86190308 */ lh $t9, 0x0308($s0) ## 00000308
/* 02334 80A7B2E4 53200007 */ beql $t9, $zero, .L80A7B304
/* 02338 80A7B2E8 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 0233C 80A7B2EC 860C01F8 */ lh $t4, 0x01F8($s0) ## 000001F8
/* 02340 80A7B2F0 262420D8 */ addiu $a0, $s1, 0x20D8 ## $a0 = 000020D8
/* 02344 80A7B2F4 0C042F6F */ jal func_8010BDBC
/* 02348 80A7B2F8 A60C01FA */ sh $t4, 0x01FA($s0) ## 000001FA
/* 0234C 80A7B2FC A60201F8 */ sh $v0, 0x01F8($s0) ## 000001F8
/* 02350 80A7B300 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
.L80A7B304:
/* 02354 80A7B304 0C29E572 */ jal func_80A795C8
/* 02358 80A7B308 02202825 */ or $a1, $s1, $zero ## $a1 = 00000000
/* 0235C 80A7B30C 8FBF0024 */ lw $ra, 0x0024($sp)
.L80A7B310:
/* 02360 80A7B310 8FB0001C */ lw $s0, 0x001C($sp)
/* 02364 80A7B314 8FB10020 */ lw $s1, 0x0020($sp)
/* 02368 80A7B318 03E00008 */ jr $ra
/* 0236C 80A7B31C 27BD0040 */ addiu $sp, $sp, 0x0040 ## $sp = 00000000

View file

@ -1,29 +0,0 @@
glabel func_80A78FB0
/* 00000 80A78FB0 3C028016 */ lui $v0, %hi(gSaveContext)
/* 00004 80A78FB4 2442E660 */ addiu $v0, %lo(gSaveContext)
/* 00008 80A78FB8 944E0ED6 */ lhu $t6, 0x0ED6($v0) ## 8015F536
/* 0000C 80A78FBC AFA40000 */ sw $a0, 0x0000($sp)
/* 00010 80A78FC0 31CF0010 */ andi $t7, $t6, 0x0010 ## $t7 = 00000000
/* 00014 80A78FC4 51E0000A */ beql $t7, $zero, .L80A78FF0
/* 00018 80A78FC8 94480F0A */ lhu $t0, 0x0F0A($v0) ## 8015F56A
/* 0001C 80A78FCC 94580F0A */ lhu $t8, 0x0F0A($v0) ## 8015F56A
/* 00020 80A78FD0 33190080 */ andi $t9, $t8, 0x0080 ## $t9 = 00000000
/* 00024 80A78FD4 13200003 */ beq $t9, $zero, .L80A78FE4
/* 00028 80A78FD8 00000000 */ nop
/* 0002C 80A78FDC 03E00008 */ jr $ra
/* 00030 80A78FE0 24022046 */ addiu $v0, $zero, 0x2046 ## $v0 = 00002046
.L80A78FE4:
/* 00034 80A78FE4 03E00008 */ jr $ra
/* 00038 80A78FE8 24022045 */ addiu $v0, $zero, 0x2045 ## $v0 = 00002045
.L80A78FEC:
/* 0003C 80A78FEC 94480F0A */ lhu $t0, 0x0F0A($v0) ## 00002F4F
.L80A78FF0:
/* 00040 80A78FF0 2402203F */ addiu $v0, $zero, 0x203F ## $v0 = 0000203F
/* 00044 80A78FF4 31090010 */ andi $t1, $t0, 0x0010 ## $t1 = 00000000
/* 00048 80A78FF8 11200003 */ beq $t1, $zero, .L80A79008
/* 0004C 80A78FFC 00000000 */ nop
/* 00050 80A79000 03E00008 */ jr $ra
/* 00054 80A79004 24022040 */ addiu $v0, $zero, 0x2040 ## $v0 = 00002040
.L80A79008:
/* 00058 80A79008 03E00008 */ jr $ra
/* 0005C 80A7900C 00000000 */ nop

View file

@ -1,115 +0,0 @@
.late_rodata
glabel jtbl_80A7BA2C
.word L80A790B0
.word L80A7913C
.word L80A79100
.word L80A79124
.word L80A7912C
.word L80A7912C
.word L80A79134
.text
glabel func_80A79010
/* 00060 80A79010 27BDFFE0 */ addiu $sp, $sp, 0xFFE0 ## $sp = FFFFFFE0
/* 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 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
/* 00080 80A79030 10000049 */ beq $zero, $zero, .L80A79158
/* 00084 80A79034 00601025 */ or $v0, $v1, $zero ## $v0 = 00000000
.L80A79038:
/* 00088 80A79038 3C038016 */ lui $v1, %hi(gSaveContext)
/* 0008C 80A7903C 2463E660 */ addiu $v1, %lo(gSaveContext)
/* 00090 80A79040 94640ED6 */ lhu $a0, 0x0ED6($v1) ## 8015F536
/* 00094 80A79044 308F0100 */ andi $t7, $a0, 0x0100 ## $t7 = 00000000
/* 00098 80A79048 51E00009 */ beql $t7, $zero, .L80A79070
/* 0009C 80A7904C 8C790010 */ lw $t9, 0x0010($v1) ## 8015E670
/* 000A0 80A79050 8C780010 */ lw $t8, 0x0010($v1) ## 8015E670
/* 000A4 80A79054 17000003 */ bne $t8, $zero, .L80A79064
/* 000A8 80A79058 00000000 */ nop
/* 000AC 80A7905C 1000003E */ beq $zero, $zero, .L80A79158
/* 000B0 80A79060 2402205F */ addiu $v0, $zero, 0x205F ## $v0 = 0000205F
.L80A79064:
/* 000B4 80A79064 1000003C */ beq $zero, $zero, .L80A79158
/* 000B8 80A79068 24022057 */ addiu $v0, $zero, 0x2057 ## $v0 = 00002057
/* 000BC 80A7906C 8C790010 */ lw $t9, 0x0010($v1) ## 8015E670
.L80A79070:
/* 000C0 80A79070 24010001 */ addiu $at, $zero, 0x0001 ## $at = 00000001
/* 000C4 80A79074 57210004 */ bnel $t9, $at, .L80A79088
/* 000C8 80A79078 946213FA */ lhu $v0, 0x13FA($v1) ## 8015FA5A
/* 000CC 80A7907C 10000036 */ beq $zero, $zero, .L80A79158
/* 000D0 80A79080 2402204E */ addiu $v0, $zero, 0x204E ## $v0 = 0000204E
/* 000D4 80A79084 946213FA */ lhu $v0, 0x13FA($v1) ## 8015FA5A
.L80A79088:
/* 000D8 80A79088 3048000F */ andi $t0, $v0, 0x000F ## $t0 = 0000000E
/* 000DC 80A7908C 2509FFFF */ addiu $t1, $t0, 0xFFFF ## $t1 = 0000000D
/* 000E0 80A79090 2D210007 */ sltiu $at, $t1, 0x0007
/* 000E4 80A79094 10200029 */ beq $at, $zero, .L80A7913C
/* 000E8 80A79098 00094880 */ sll $t1, $t1, 2
/* 000EC 80A7909C 3C0180A8 */ lui $at, %hi(jtbl_80A7BA2C) ## $at = 80A80000
/* 000F0 80A790A0 00290821 */ addu $at, $at, $t1
/* 000F4 80A790A4 8C29BA2C */ lw $t1, %lo(jtbl_80A7BA2C)($at)
/* 000F8 80A790A8 01200008 */ jr $t1
/* 000FC 80A790AC 00000000 */ nop
glabel L80A790B0
/* 00100 80A790B0 8FAA001C */ lw $t2, 0x001C($sp)
/* 00104 80A790B4 308D0800 */ andi $t5, $a0, 0x0800 ## $t5 = 00000000
/* 00108 80A790B8 8D4B067C */ lw $t3, 0x067C($t2) ## 0000067C
/* 0010C 80A790BC 000B6200 */ sll $t4, $t3, 8
/* 00110 80A790C0 05800003 */ bltz $t4, .L80A790D0
/* 00114 80A790C4 00000000 */ nop
/* 00118 80A790C8 10000023 */ beq $zero, $zero, .L80A79158
/* 0011C 80A790CC 24022036 */ addiu $v0, $zero, 0x2036 ## $v0 = 00002036
.L80A790D0:
/* 00120 80A790D0 11A00009 */ beq $t5, $zero, .L80A790F8
/* 00124 80A790D4 00000000 */ nop
/* 00128 80A790D8 946E0F0C */ lhu $t6, 0x0F0C($v1) ## 8015F56C
/* 0012C 80A790DC 31CF0004 */ andi $t7, $t6, 0x0004 ## $t7 = 00000000
/* 00130 80A790E0 11E00003 */ beq $t7, $zero, .L80A790F0
/* 00134 80A790E4 00000000 */ nop
/* 00138 80A790E8 1000001B */ beq $zero, $zero, .L80A79158
/* 0013C 80A790EC 24022036 */ addiu $v0, $zero, 0x2036 ## $v0 = 00002036
.L80A790F0:
/* 00140 80A790F0 10000019 */ beq $zero, $zero, .L80A79158
/* 00144 80A790F4 24022038 */ addiu $v0, $zero, 0x2038 ## $v0 = 00002038
.L80A790F8:
/* 00148 80A790F8 10000017 */ beq $zero, $zero, .L80A79158
/* 0014C 80A790FC 24022037 */ addiu $v0, $zero, 0x2037 ## $v0 = 00002037
glabel L80A79100
/* 00150 80A79100 30580040 */ andi $t8, $v0, 0x0040 ## $t8 = 00000000
/* 00154 80A79104 17000003 */ bne $t8, $zero, .L80A79114
/* 00158 80A79108 30590020 */ andi $t9, $v0, 0x0020 ## $t9 = 00000020
/* 0015C 80A7910C 13200003 */ beq $t9, $zero, .L80A7911C
/* 00160 80A79110 00000000 */ nop
.L80A79114:
/* 00164 80A79114 10000010 */ beq $zero, $zero, .L80A79158
/* 00168 80A79118 2402203E */ addiu $v0, $zero, 0x203E ## $v0 = 0000203E
.L80A7911C:
/* 0016C 80A7911C 1000000E */ beq $zero, $zero, .L80A79158
/* 00170 80A79120 2402203D */ addiu $v0, $zero, 0x203D ## $v0 = 0000203D
glabel L80A79124
/* 00174 80A79124 1000000C */ beq $zero, $zero, .L80A79158
/* 00178 80A79128 2402203A */ addiu $v0, $zero, 0x203A ## $v0 = 0000203A
glabel L80A7912C
/* 0017C 80A7912C 1000000A */ beq $zero, $zero, .L80A79158
/* 00180 80A79130 2402203C */ addiu $v0, $zero, 0x203C ## $v0 = 0000203C
glabel L80A79134
/* 00184 80A79134 10000008 */ beq $zero, $zero, .L80A79158
/* 00188 80A79138 2402205B */ addiu $v0, $zero, 0x205B ## $v0 = 0000205B
glabel L80A7913C
.L80A7913C:
/* 0018C 80A7913C 94680F0A */ lhu $t0, 0x0F0A($v1) ## 8015F56A
/* 00190 80A79140 24022030 */ addiu $v0, $zero, 0x2030 ## $v0 = 00002030
/* 00194 80A79144 31090400 */ andi $t1, $t0, 0x0400 ## $t1 = 00000000
/* 00198 80A79148 11200003 */ beq $t1, $zero, .L80A79158
/* 0019C 80A7914C 00000000 */ nop
/* 001A0 80A79150 10000001 */ beq $zero, $zero, .L80A79158
/* 001A4 80A79154 24022031 */ addiu $v0, $zero, 0x2031 ## $v0 = 00002031
.L80A79158:
/* 001A8 80A79158 8FBF0014 */ lw $ra, 0x0014($sp)
/* 001AC 80A7915C 27BD0020 */ addiu $sp, $sp, 0x0020 ## $sp = 00000000
/* 001B0 80A79160 03E00008 */ jr $ra
/* 001B4 80A79164 00000000 */ nop

View file

@ -1,30 +0,0 @@
glabel func_80A79168
/* 001B8 80A79168 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 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 Text_GetFaceReaction
/* 001CC 80A7917C AFA40018 */ sw $a0, 0x0018($sp)
/* 001D0 80A79180 8FA40018 */ lw $a0, 0x0018($sp)
/* 001D4 80A79184 10400003 */ beq $v0, $zero, .L80A79194
/* 001D8 80A79188 3043FFFF */ andi $v1, $v0, 0xFFFF ## $v1 = 00000000
/* 001DC 80A7918C 1000000B */ beq $zero, $zero, .L80A791BC
/* 001E0 80A79190 00601025 */ or $v0, $v1, $zero ## $v0 = 00000000
.L80A79194:
/* 001E4 80A79194 3C0E8016 */ lui $t6, %hi(gSaveContext+4)
/* 001E8 80A79198 8DCEE664 */ lw $t6, %lo(gSaveContext+4)($t6)
/* 001EC 80A7919C 11C00005 */ beq $t6, $zero, .L80A791B4
/* 001F0 80A791A0 00000000 */ nop
/* 001F4 80A791A4 0C29E3EC */ jal func_80A78FB0
/* 001F8 80A791A8 00000000 */ nop
/* 001FC 80A791AC 10000004 */ beq $zero, $zero, .L80A791C0
/* 00200 80A791B0 8FBF0014 */ lw $ra, 0x0014($sp)
.L80A791B4:
/* 00204 80A791B4 0C29E404 */ jal func_80A79010
/* 00208 80A791B8 00000000 */ nop
.L80A791BC:
/* 0020C 80A791BC 8FBF0014 */ lw $ra, 0x0014($sp)
.L80A791C0:
/* 00210 80A791C0 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
/* 00214 80A791C4 03E00008 */ jr $ra
/* 00218 80A791C8 00000000 */ nop

View file

@ -1,36 +0,0 @@
glabel func_80A791CC
/* 0021C 80A791CC AFA40000 */ sw $a0, 0x0000($sp)
/* 00220 80A791D0 94A2010E */ lhu $v0, 0x010E($a1) ## 0000010E
/* 00224 80A791D4 2401203E */ addiu $at, $zero, 0x203E ## $at = 0000203E
/* 00228 80A791D8 00001825 */ or $v1, $zero, $zero ## $v1 = 00000000
/* 0022C 80A791DC 1041000C */ beq $v0, $at, .L80A79210
/* 00230 80A791E0 2401203F */ addiu $at, $zero, 0x203F ## $at = 0000203F
/* 00234 80A791E4 1041000E */ beq $v0, $at, .L80A79220
/* 00238 80A791E8 24012045 */ addiu $at, $zero, 0x2045 ## $at = 00002045
/* 0023C 80A791EC 14410014 */ bne $v0, $at, .L80A79240
/* 00240 80A791F0 3C028016 */ lui $v0, %hi(gSaveContext)
/* 00244 80A791F4 2442E660 */ addiu $v0, %lo(gSaveContext)
/* 00248 80A791F8 944E0F0A */ lhu $t6, 0x0F0A($v0) ## 8015F56A
/* 0024C 80A791FC 35CF0080 */ ori $t7, $t6, 0x0080 ## $t7 = 00000080
/* 00250 80A79200 A44F0F0A */ sh $t7, 0x0F0A($v0) ## 8015F56A
/* 00254 80A79204 00001400 */ sll $v0, $zero, 16
/* 00258 80A79208 03E00008 */ jr $ra
/* 0025C 80A7920C 00021403 */ sra $v0, $v0, 16
.L80A79210:
/* 00260 80A79210 24030002 */ addiu $v1, $zero, 0x0002 ## $v1 = 00000002
/* 00264 80A79214 00031400 */ sll $v0, $v1, 16
/* 00268 80A79218 03E00008 */ jr $ra
/* 0026C 80A7921C 00021403 */ sra $v0, $v0, 16
.L80A79220:
/* 00270 80A79220 3C028016 */ lui $v0, %hi(gSaveContext)
/* 00274 80A79224 2442E660 */ addiu $v0, %lo(gSaveContext)
/* 00278 80A79228 94580ED6 */ lhu $t8, 0x0ED6($v0) ## 8015F536
/* 0027C 80A7922C 94480F0A */ lhu $t0, 0x0F0A($v0) ## 8015F56A
/* 00280 80A79230 37190002 */ ori $t9, $t8, 0x0002 ## $t9 = 00000002
/* 00284 80A79234 35090010 */ ori $t1, $t0, 0x0010 ## $t1 = 00000010
/* 00288 80A79238 A4590ED6 */ sh $t9, 0x0ED6($v0) ## 8015F536
/* 0028C 80A7923C A4490F0A */ sh $t1, 0x0F0A($v0) ## 8015F56A
.L80A79240:
/* 00290 80A79240 00031400 */ sll $v0, $v1, 16
/* 00294 80A79244 03E00008 */ jr $ra
/* 00298 80A79248 00021403 */ sra $v0, $v0, 16

View file

@ -1,180 +0,0 @@
.late_rodata
glabel jtbl_80A7BA48
.word L80A792A8
.word L80A792A8
.word L80A79488
.word L80A79488
.word L80A79318
.word L80A79488
.word L80A7936C
.word L80A7936C
.word L80A793A8
.text
glabel func_80A7924C
/* 0029C 80A7924C 27BDFFE0 */ addiu $sp, $sp, 0xFFE0 ## $sp = FFFFFFE0
/* 002A0 80A79250 240E0001 */ addiu $t6, $zero, 0x0001 ## $t6 = 00000001
/* 002A4 80A79254 AFBF0014 */ sw $ra, 0x0014($sp)
/* 002A8 80A79258 AFAE0018 */ sw $t6, 0x0018($sp)
/* 002AC 80A7925C 94A2010E */ lhu $v0, 0x010E($a1) ## 0000010E
/* 002B0 80A79260 00803825 */ or $a3, $a0, $zero ## $a3 = 00000000
/* 002B4 80A79264 00A03025 */ or $a2, $a1, $zero ## $a2 = 00000000
/* 002B8 80A79268 28412039 */ slti $at, $v0, 0x2039
/* 002BC 80A7926C 14200006 */ bne $at, $zero, .L80A79288
/* 002C0 80A79270 244FDFD0 */ addiu $t7, $v0, 0xDFD0 ## $t7 = FFFFDFD0
/* 002C4 80A79274 2401205B */ addiu $at, $zero, 0x205B ## $at = 0000205B
/* 002C8 80A79278 50410064 */ beql $v0, $at, .L80A7940C
/* 002CC 80A7927C 3C0F0001 */ lui $t7, 0x0001 ## $t7 = 00010000
/* 002D0 80A79280 10000082 */ beq $zero, $zero, .L80A7948C
/* 002D4 80A79284 8FBF0014 */ lw $ra, 0x0014($sp)
.L80A79288:
/* 002D8 80A79288 2DE10009 */ sltiu $at, $t7, 0x0009
/* 002DC 80A7928C 1020007E */ beq $at, $zero, .L80A79488
/* 002E0 80A79290 000F7880 */ sll $t7, $t7, 2
/* 002E4 80A79294 3C0180A8 */ lui $at, %hi(jtbl_80A7BA48) ## $at = 80A80000
/* 002E8 80A79298 002F0821 */ addu $at, $at, $t7
/* 002EC 80A7929C 8C2FBA48 */ lw $t7, %lo(jtbl_80A7BA48)($at)
/* 002F0 80A792A0 01E00008 */ jr $t7
/* 002F4 80A792A4 00000000 */ nop
glabel L80A792A8
/* 002F8 80A792A8 3C180001 */ lui $t8, 0x0001 ## $t8 = 00010000
/* 002FC 80A792AC 0307C021 */ addu $t8, $t8, $a3
/* 00300 80A792B0 931804BD */ lbu $t8, 0x04BD($t8) ## 000104BD
/* 00304 80A792B4 24010001 */ addiu $at, $zero, 0x0001 ## $at = 00000001
/* 00308 80A792B8 3C028016 */ lui $v0, %hi(gSaveContext)
/* 0030C 80A792BC 17010004 */ bne $t8, $at, .L80A792D0
/* 00310 80A792C0 00E02025 */ or $a0, $a3, $zero ## $a0 = 00000000
/* 00314 80A792C4 24192032 */ addiu $t9, $zero, 0x2032 ## $t9 = 00002032
/* 00318 80A792C8 1000000B */ beq $zero, $zero, .L80A792F8
/* 0031C 80A792CC A4D9010E */ sh $t9, 0x010E($a2) ## 0000010E
.L80A792D0:
/* 00320 80A792D0 2442E660 */ addiu $v0, %lo(gSaveContext)
/* 00324 80A792D4 84480034 */ lh $t0, 0x0034($v0) ## 8015E694
/* 00328 80A792D8 24092033 */ addiu $t1, $zero, 0x2033 ## $t1 = 00002033
/* 0032C 80A792DC 240A2034 */ addiu $t2, $zero, 0x2034 ## $t2 = 00002034
/* 00330 80A792E0 2901000A */ slti $at, $t0, 0x000A
/* 00334 80A792E4 50200004 */ beql $at, $zero, .L80A792F8
/* 00338 80A792E8 A4CA010E */ sh $t2, 0x010E($a2) ## 0000010E
/* 0033C 80A792EC 10000002 */ beq $zero, $zero, .L80A792F8
/* 00340 80A792F0 A4C9010E */ sh $t1, 0x010E($a2) ## 0000010E
/* 00344 80A792F4 A4CA010E */ sh $t2, 0x010E($a2) ## 0000010E
.L80A792F8:
/* 00348 80A792F8 0C042DC8 */ jal func_8010B720
/* 0034C 80A792FC 94C5010E */ lhu $a1, 0x010E($a2) ## 0000010E
/* 00350 80A79300 3C028016 */ lui $v0, %hi(gSaveContext)
/* 00354 80A79304 2442E660 */ addiu $v0, %lo(gSaveContext)
/* 00358 80A79308 944B0F0A */ lhu $t3, 0x0F0A($v0) ## 8015F56A
/* 0035C 80A7930C 356C0400 */ ori $t4, $t3, 0x0400 ## $t4 = 00000400
/* 00360 80A79310 1000005D */ beq $zero, $zero, .L80A79488
/* 00364 80A79314 A44C0F0A */ sh $t4, 0x0F0A($v0) ## 8015F56A
glabel L80A79318
/* 00368 80A79318 3C0D0001 */ lui $t5, 0x0001 ## $t5 = 00010000
/* 0036C 80A7931C 01A76821 */ addu $t5, $t5, $a3
/* 00370 80A79320 91AD04BD */ lbu $t5, 0x04BD($t5) ## 000104BD
/* 00374 80A79324 24010001 */ addiu $at, $zero, 0x0001 ## $at = 00000001
/* 00378 80A79328 15A10009 */ bne $t5, $at, .L80A79350
/* 0037C 80A7932C 2404FFF6 */ addiu $a0, $zero, 0xFFF6 ## $a0 = FFFFFFF6
/* 00380 80A79330 AFA60024 */ sw $a2, 0x0024($sp)
/* 00384 80A79334 0C021CC3 */ jal Rupees_ChangeBy
/* 00388 80A79338 AFA70020 */ sw $a3, 0x0020($sp)
/* 0038C 80A7933C 8FA60024 */ lw $a2, 0x0024($sp)
/* 00390 80A79340 8FA70020 */ lw $a3, 0x0020($sp)
/* 00394 80A79344 240E205C */ addiu $t6, $zero, 0x205C ## $t6 = 0000205C
/* 00398 80A79348 10000003 */ beq $zero, $zero, .L80A79358
/* 0039C 80A7934C A4CE010E */ sh $t6, 0x010E($a2) ## 0000010E
.L80A79350:
/* 003A0 80A79350 240F2035 */ addiu $t7, $zero, 0x2035 ## $t7 = 00002035
/* 003A4 80A79354 A4CF010E */ sh $t7, 0x010E($a2) ## 0000010E
.L80A79358:
/* 003A8 80A79358 00E02025 */ or $a0, $a3, $zero ## $a0 = 00000000
/* 003AC 80A7935C 0C042DC8 */ jal func_8010B720
/* 003B0 80A79360 94C5010E */ lhu $a1, 0x010E($a2) ## 0000010E
/* 003B4 80A79364 10000049 */ beq $zero, $zero, .L80A7948C
/* 003B8 80A79368 8FBF0014 */ lw $ra, 0x0014($sp)
glabel L80A7936C
/* 003BC 80A7936C 3C180001 */ lui $t8, 0x0001 ## $t8 = 00010000
/* 003C0 80A79370 0307C021 */ addu $t8, $t8, $a3
/* 003C4 80A79374 931804BD */ lbu $t8, 0x04BD($t8) ## 000104BD
/* 003C8 80A79378 24010001 */ addiu $at, $zero, 0x0001 ## $at = 00000001
/* 003CC 80A7937C 2408201F */ addiu $t0, $zero, 0x201F ## $t0 = 0000201F
/* 003D0 80A79380 17010004 */ bne $t8, $at, .L80A79394
/* 003D4 80A79384 00E02025 */ or $a0, $a3, $zero ## $a0 = 00000000
/* 003D8 80A79388 24190002 */ addiu $t9, $zero, 0x0002 ## $t9 = 00000002
/* 003DC 80A7938C 1000003E */ beq $zero, $zero, .L80A79488
/* 003E0 80A79390 AFB90018 */ sw $t9, 0x0018($sp)
.L80A79394:
/* 003E4 80A79394 A4C8010E */ sh $t0, 0x010E($a2) ## 0000010E
/* 003E8 80A79398 0C042DC8 */ jal func_8010B720
/* 003EC 80A7939C 3105FFFF */ andi $a1, $t0, 0xFFFF ## $a1 = 0000201F
/* 003F0 80A793A0 1000003A */ beq $zero, $zero, .L80A7948C
/* 003F4 80A793A4 8FBF0014 */ lw $ra, 0x0014($sp)
glabel L80A793A8
/* 003F8 80A793A8 3C090001 */ lui $t1, 0x0001 ## $t1 = 00010000
/* 003FC 80A793AC 01274821 */ addu $t1, $t1, $a3
/* 00400 80A793B0 912904BD */ lbu $t1, 0x04BD($t1) ## 000104BD
/* 00404 80A793B4 3C028016 */ lui $v0, %hi(gSaveContext)
/* 00408 80A793B8 2442E660 */ addiu $v0, %lo(gSaveContext)
/* 0040C 80A793BC 15200008 */ bne $t1, $zero, .L80A793E0
/* 00410 80A793C0 240C2039 */ addiu $t4, $zero, 0x2039 ## $t4 = 00002039
/* 00414 80A793C4 844A0034 */ lh $t2, 0x0034($v0) ## 8015E694
/* 00418 80A793C8 240B0002 */ addiu $t3, $zero, 0x0002 ## $t3 = 00000002
/* 0041C 80A793CC 29410032 */ slti $at, $t2, 0x0032
/* 00420 80A793D0 54200004 */ bnel $at, $zero, .L80A793E4
/* 00424 80A793D4 A4CC010E */ sh $t4, 0x010E($a2) ## 0000010E
/* 00428 80A793D8 1000002B */ beq $zero, $zero, .L80A79488
/* 0042C 80A793DC AFAB0018 */ sw $t3, 0x0018($sp)
.L80A793E0:
/* 00430 80A793E0 A4CC010E */ sh $t4, 0x010E($a2) ## 0000010E
.L80A793E4:
/* 00434 80A793E4 00E02025 */ or $a0, $a3, $zero ## $a0 = 00000000
/* 00438 80A793E8 0C042DC8 */ jal func_8010B720
/* 0043C 80A793EC 3185FFFF */ andi $a1, $t4, 0xFFFF ## $a1 = 00002039
/* 00440 80A793F0 3C028016 */ lui $v0, %hi(gSaveContext)
/* 00444 80A793F4 2442E660 */ addiu $v0, %lo(gSaveContext)
/* 00448 80A793F8 944D0F0C */ lhu $t5, 0x0F0C($v0) ## 8015F56C
/* 0044C 80A793FC 35AE0004 */ ori $t6, $t5, 0x0004 ## $t6 = 00000004
/* 00450 80A79400 10000021 */ beq $zero, $zero, .L80A79488
/* 00454 80A79404 A44E0F0C */ sh $t6, 0x0F0C($v0) ## 8015F56C
/* 00458 80A79408 3C0F0001 */ lui $t7, 0x0001 ## $t7 = 00010000
.L80A7940C:
/* 0045C 80A7940C 01E77821 */ addu $t7, $t7, $a3
/* 00460 80A79410 91EF04BD */ lbu $t7, 0x04BD($t7) ## 000104BD
/* 00464 80A79414 15E00009 */ bne $t7, $zero, .L80A7943C
/* 00468 80A79418 3C028016 */ lui $v0, %hi(gSaveContext)
/* 0046C 80A7941C 2442E660 */ addiu $v0, %lo(gSaveContext)
/* 00470 80A79420 84580034 */ lh $t8, 0x0034($v0) ## 8015E694
/* 00474 80A79424 24190002 */ addiu $t9, $zero, 0x0002 ## $t9 = 00000002
/* 00478 80A79428 2B010032 */ slti $at, $t8, 0x0032
/* 0047C 80A7942C 54200004 */ bnel $at, $zero, .L80A79440
/* 00480 80A79430 24082039 */ addiu $t0, $zero, 0x2039 ## $t0 = 00002039
/* 00484 80A79434 10000014 */ beq $zero, $zero, .L80A79488
/* 00488 80A79438 AFB90018 */ sw $t9, 0x0018($sp)
.L80A7943C:
/* 0048C 80A7943C 24082039 */ addiu $t0, $zero, 0x2039 ## $t0 = 00002039
.L80A79440:
/* 00490 80A79440 A4C8010E */ sh $t0, 0x010E($a2) ## 0000010E
/* 00494 80A79444 AFA60024 */ sw $a2, 0x0024($sp)
/* 00498 80A79448 3105FFFF */ andi $a1, $t0, 0xFFFF ## $a1 = 00002039
/* 0049C 80A7944C 0C042DC8 */ jal func_8010B720
/* 004A0 80A79450 00E02025 */ or $a0, $a3, $zero ## $a0 = 00000000
/* 004A4 80A79454 3C028016 */ lui $v0, %hi(gSaveContext)
/* 004A8 80A79458 2442E660 */ addiu $v0, %lo(gSaveContext)
/* 004AC 80A7945C 944913FA */ lhu $t1, 0x13FA($v0) ## 8015FA5A
/* 004B0 80A79460 8FA60024 */ lw $a2, 0x0024($sp)
/* 004B4 80A79464 3C0F80A8 */ lui $t7, %hi(func_80A7A4C8) ## $t7 = 80A80000
/* 004B8 80A79468 312BFFF0 */ andi $t3, $t1, 0xFFF0 ## $t3 = 00000000
/* 004BC 80A7946C 316DFFDF */ andi $t5, $t3, 0xFFDF ## $t5 = 00000000
/* 004C0 80A79470 A44B13FA */ sh $t3, 0x13FA($v0) ## 8015FA5A
/* 004C4 80A79474 A44D13FA */ sh $t5, 0x13FA($v0) ## 8015FA5A
/* 004C8 80A79478 31AEFFBF */ andi $t6, $t5, 0xFFBF ## $t6 = 00000000
/* 004CC 80A7947C A44E13FA */ sh $t6, 0x13FA($v0) ## 8015FA5A
/* 004D0 80A79480 25EFA4C8 */ addiu $t7, $t7, %lo(func_80A7A4C8) ## $t7 = 80A7A4C8
/* 004D4 80A79484 ACCF0190 */ sw $t7, 0x0190($a2) ## 00000190
glabel L80A79488
.L80A79488:
/* 004D8 80A79488 8FBF0014 */ lw $ra, 0x0014($sp)
.L80A7948C:
/* 004DC 80A7948C 87A2001A */ lh $v0, 0x001A($sp)
/* 004E0 80A79490 27BD0020 */ addiu $sp, $sp, 0x0020 ## $sp = 00000000
/* 004E4 80A79494 03E00008 */ jr $ra
/* 004E8 80A79498 00000000 */ nop

View file

@ -1,28 +0,0 @@
glabel func_80A7949C
/* 004EC 80A7949C 27BDFFE0 */ addiu $sp, $sp, 0xFFE0 ## $sp = FFFFFFE0
/* 004F0 80A794A0 AFBF0014 */ sw $ra, 0x0014($sp)
/* 004F4 80A794A4 AFA40020 */ sw $a0, 0x0020($sp)
/* 004F8 80A794A8 94AE010E */ lhu $t6, 0x010E($a1) ## 0000010E
/* 004FC 80A794AC 24012035 */ addiu $at, $zero, 0x2035 ## $at = 00002035
/* 00500 80A794B0 24030001 */ addiu $v1, $zero, 0x0001 ## $v1 = 00000001
/* 00504 80A794B4 15C1000C */ bne $t6, $at, .L80A794E8
/* 00508 80A794B8 2404FFF6 */ addiu $a0, $zero, 0xFFF6 ## $a0 = FFFFFFF6
/* 0050C 80A794BC AFA3001C */ sw $v1, 0x001C($sp)
/* 00510 80A794C0 0C021CC3 */ jal Rupees_ChangeBy
/* 00514 80A794C4 AFA50024 */ sw $a1, 0x0024($sp)
/* 00518 80A794C8 8FA60024 */ lw $a2, 0x0024($sp)
/* 0051C 80A794CC 240F205C */ addiu $t7, $zero, 0x205C ## $t7 = 0000205C
/* 00520 80A794D0 31E5FFFF */ andi $a1, $t7, 0xFFFF ## $a1 = 0000205C
/* 00524 80A794D4 A4CF010E */ sh $t7, 0x010E($a2) ## 0000010E
/* 00528 80A794D8 0C042DC8 */ jal func_8010B720
/* 0052C 80A794DC 8FA40020 */ lw $a0, 0x0020($sp)
/* 00530 80A794E0 10000002 */ beq $zero, $zero, .L80A794EC
/* 00534 80A794E4 8FA3001C */ lw $v1, 0x001C($sp)
.L80A794E8:
/* 00538 80A794E8 24030002 */ addiu $v1, $zero, 0x0002 ## $v1 = 00000002
.L80A794EC:
/* 0053C 80A794EC 8FBF0014 */ lw $ra, 0x0014($sp)
/* 00540 80A794F0 00031400 */ sll $v0, $v1, 16
/* 00544 80A794F4 00021403 */ sra $v0, $v0, 16
/* 00548 80A794F8 03E00008 */ jr $ra
/* 0054C 80A794FC 27BD0020 */ addiu $sp, $sp, 0x0020 ## $sp = 00000000

View file

@ -1,76 +0,0 @@
.rdata
glabel D_80A7B9D0
.asciz "message_check->(%d[%x])\n"
.balign 4
.late_rodata
glabel jtbl_80A7BA6C
.word L80A795B4
.word L80A795B4
.word L80A79564
.word L80A795B4
.word L80A79578
.word L80A79598
.word L80A795B4
.word L80A795B4
.word L80A795B4
.word L80A795B4
.text
glabel func_80A79500
/* 00550 80A79500 27BDFFE0 */ addiu $sp, $sp, 0xFFE0 ## $sp = FFFFFFE0
/* 00554 80A79504 AFA40020 */ sw $a0, 0x0020($sp)
/* 00558 80A79508 AFBF0014 */ sw $ra, 0x0014($sp)
/* 0055C 80A7950C 240E0001 */ addiu $t6, $zero, 0x0001 ## $t6 = 00000001
/* 00560 80A79510 248420D8 */ addiu $a0, $a0, 0x20D8 ## $a0 = 000020D8
/* 00564 80A79514 AFA50024 */ sw $a1, 0x0024($sp)
/* 00568 80A79518 A7AE001E */ sh $t6, 0x001E($sp)
/* 0056C 80A7951C 0C042F6F */ jal func_8010BDBC
/* 00570 80A79520 AFA40018 */ sw $a0, 0x0018($sp)
/* 00574 80A79524 8FAF0024 */ lw $t7, 0x0024($sp)
/* 00578 80A79528 3C0480A8 */ lui $a0, %hi(D_80A7B9D0) ## $a0 = 80A80000
/* 0057C 80A7952C 2484B9D0 */ addiu $a0, $a0, %lo(D_80A7B9D0) ## $a0 = 80A7B9D0
/* 00580 80A79530 00402825 */ or $a1, $v0, $zero ## $a1 = 00000000
/* 00584 80A79534 0C00084C */ jal osSyncPrintf
/* 00588 80A79538 95E6010E */ lhu $a2, 0x010E($t7) ## 0000010E
/* 0058C 80A7953C 0C042F6F */ jal func_8010BDBC
/* 00590 80A79540 8FA40018 */ lw $a0, 0x0018($sp)
/* 00594 80A79544 2C41000A */ sltiu $at, $v0, 0x000A
/* 00598 80A79548 1020001A */ beq $at, $zero, .L80A795B4
/* 0059C 80A7954C 0002C080 */ sll $t8, $v0, 2
/* 005A0 80A79550 3C0180A8 */ lui $at, %hi(jtbl_80A7BA6C) ## $at = 80A80000
/* 005A4 80A79554 00380821 */ addu $at, $at, $t8
/* 005A8 80A79558 8C38BA6C */ lw $t8, %lo(jtbl_80A7BA6C)($at)
/* 005AC 80A7955C 03000008 */ jr $t8
/* 005B0 80A79560 00000000 */ nop
glabel L80A79564
/* 005B4 80A79564 8FA40020 */ lw $a0, 0x0020($sp)
/* 005B8 80A79568 0C29E473 */ jal func_80A791CC
/* 005BC 80A7956C 8FA50024 */ lw $a1, 0x0024($sp)
/* 005C0 80A79570 10000010 */ beq $zero, $zero, .L80A795B4
/* 005C4 80A79574 A7A2001E */ sh $v0, 0x001E($sp)
glabel L80A79578
/* 005C8 80A79578 0C041AF2 */ jal func_80106BC8
/* 005CC 80A7957C 8FA40020 */ lw $a0, 0x0020($sp)
/* 005D0 80A79580 1040000C */ beq $v0, $zero, .L80A795B4
/* 005D4 80A79584 8FA40020 */ lw $a0, 0x0020($sp)
/* 005D8 80A79588 0C29E493 */ jal func_80A7924C
/* 005DC 80A7958C 8FA50024 */ lw $a1, 0x0024($sp)
/* 005E0 80A79590 10000008 */ beq $zero, $zero, .L80A795B4
/* 005E4 80A79594 A7A2001E */ sh $v0, 0x001E($sp)
glabel L80A79598
/* 005E8 80A79598 0C041AF2 */ jal func_80106BC8
/* 005EC 80A7959C 8FA40020 */ lw $a0, 0x0020($sp)
/* 005F0 80A795A0 10400004 */ beq $v0, $zero, .L80A795B4
/* 005F4 80A795A4 8FA40020 */ lw $a0, 0x0020($sp)
/* 005F8 80A795A8 0C29E527 */ jal func_80A7949C
/* 005FC 80A795AC 8FA50024 */ lw $a1, 0x0024($sp)
/* 00600 80A795B0 A7A2001E */ sh $v0, 0x001E($sp)
glabel L80A795B4
.L80A795B4:
/* 00604 80A795B4 8FBF0014 */ lw $ra, 0x0014($sp)
/* 00608 80A795B8 87A2001E */ lh $v0, 0x001E($sp)
/* 0060C 80A795BC 27BD0020 */ addiu $sp, $sp, 0x0020 ## $sp = 00000000
/* 00610 80A795C0 03E00008 */ jr $ra
/* 00614 80A795C4 00000000 */ nop

View file

@ -1,56 +0,0 @@
glabel func_80A795C8
/* 00618 80A795C8 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 0061C 80A795CC AFBF0014 */ sw $ra, 0x0014($sp)
/* 00620 80A795D0 8C820154 */ lw $v0, 0x0154($a0) ## 00000154
/* 00624 80A795D4 3C0E0600 */ lui $t6, %hi(D_060003B4) ## $t6 = 06000000
/* 00628 80A795D8 25CE03B4 */ addiu $t6, $t6, %lo(D_060003B4) ## $t6 = 060003B4
/* 0062C 80A795DC 11C20008 */ beq $t6, $v0, .L80A79600
/* 00630 80A795E0 8CA31C44 */ lw $v1, 0x1C44($a1) ## 00001C44
/* 00634 80A795E4 3C0F0600 */ lui $t7, %hi(D_06001BE0) ## $t7 = 06000000
/* 00638 80A795E8 25EF1BE0 */ addiu $t7, $t7, %lo(D_06001BE0) ## $t7 = 06001BE0
/* 0063C 80A795EC 11E20004 */ beq $t7, $v0, .L80A79600
/* 00640 80A795F0 3C180601 */ lui $t8, %hi(D_06013D60) ## $t8 = 06010000
/* 00644 80A795F4 27183D60 */ addiu $t8, $t8, %lo(D_06013D60) ## $t8 = 06013D60
/* 00648 80A795F8 17020003 */ bne $t8, $v0, .L80A79608
/* 0064C 80A795FC 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
.L80A79600:
/* 00650 80A79600 10000001 */ beq $zero, $zero, .L80A79608
/* 00654 80A79604 24070001 */ addiu $a3, $zero, 0x0001 ## $a3 = 00000001
.L80A79608:
/* 00658 80A79608 8C820190 */ lw $v0, 0x0190($a0) ## 00000190
/* 0065C 80A7960C 3C1980A8 */ lui $t9, %hi(func_80A7A568) ## $t9 = 80A80000
/* 00660 80A79610 2739A568 */ addiu $t9, $t9, %lo(func_80A7A568) ## $t9 = 80A7A568
/* 00664 80A79614 17220002 */ bne $t9, $v0, .L80A79620
/* 00668 80A79618 3C0880A8 */ lui $t0, %hi(func_80A7B024) ## $t0 = 80A80000
/* 0066C 80A7961C 24070004 */ addiu $a3, $zero, 0x0004 ## $a3 = 00000004
.L80A79620:
/* 00670 80A79620 2508B024 */ addiu $t0, $t0, %lo(func_80A7B024) ## $t0 = 80A7B024
/* 00674 80A79624 1502000B */ bne $t0, $v0, .L80A79654
/* 00678 80A79628 24060001 */ addiu $a2, $zero, 0x0001 ## $a2 = 00000001
/* 0067C 80A7962C 8CAA00E0 */ lw $t2, 0x00E0($a1) ## 000000E0
/* 00680 80A79630 3C014270 */ lui $at, 0x4270 ## $at = 42700000
/* 00684 80A79634 44812000 */ mtc1 $at, $f4 ## $f4 = 60.00
/* 00688 80A79638 AC8A0320 */ sw $t2, 0x0320($a0) ## 00000320
/* 0068C 80A7963C 8CA900E4 */ lw $t1, 0x00E4($a1) ## 000000E4
/* 00690 80A79640 AC890324 */ sw $t1, 0x0324($a0) ## 00000324
/* 00694 80A79644 8CAA00E8 */ lw $t2, 0x00E8($a1) ## 000000E8
/* 00698 80A79648 E484031C */ swc1 $f4, 0x031C($a0) ## 0000031C
/* 0069C 80A7964C 1000000A */ beq $zero, $zero, .L80A79678
/* 006A0 80A79650 AC8A0328 */ sw $t2, 0x0328($a0) ## 00000328
.L80A79654:
/* 006A4 80A79654 8C6C0024 */ lw $t4, 0x0024($v1) ## 00000024
/* 006A8 80A79658 3C014180 */ lui $at, 0x4180 ## $at = 41800000
/* 006AC 80A7965C 44813000 */ mtc1 $at, $f6 ## $f6 = 16.00
/* 006B0 80A79660 AC8C0320 */ sw $t4, 0x0320($a0) ## 00000320
/* 006B4 80A79664 8C6B0028 */ lw $t3, 0x0028($v1) ## 00000028
/* 006B8 80A79668 AC8B0324 */ sw $t3, 0x0324($a0) ## 00000324
/* 006BC 80A7966C 8C6C002C */ lw $t4, 0x002C($v1) ## 0000002C
/* 006C0 80A79670 E486031C */ swc1 $f6, 0x031C($a0) ## 0000031C
/* 006C4 80A79674 AC8C0328 */ sw $t4, 0x0328($a0) ## 00000328
.L80A79678:
/* 006C8 80A79678 0C00D285 */ jal func_80034A14
/* 006CC 80A7967C 24850308 */ addiu $a1, $a0, 0x0308 ## $a1 = 00000308
/* 006D0 80A79680 8FBF0014 */ lw $ra, 0x0014($sp)
/* 006D4 80A79684 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
/* 006D8 80A79688 03E00008 */ jr $ra
/* 006DC 80A7968C 00000000 */ nop

View file

@ -1,25 +0,0 @@
glabel func_80A79690
/* 006E0 80A79690 27BDFFE0 */ addiu $sp, $sp, 0xFFE0 ## $sp = FFFFFFE0
/* 006E4 80A79694 AFBF001C */ sw $ra, 0x001C($sp)
/* 006E8 80A79698 AFB00018 */ sw $s0, 0x0018($sp)
/* 006EC 80A7969C AFA60028 */ sw $a2, 0x0028($sp)
/* 006F0 80A796A0 8C8F0020 */ lw $t7, 0x0020($a0) ## 00000020
/* 006F4 80A796A4 848E0040 */ lh $t6, 0x0040($a0) ## 00000040
/* 006F8 80A796A8 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 006FC 80A796AC 85F80002 */ lh $t8, 0x0002($t7) ## 00000002
/* 00700 80A796B0 01D8082A */ slt $at, $t6, $t8
/* 00704 80A796B4 50200009 */ beql $at, $zero, .L80A796DC
/* 00708 80A796B8 8FBF001C */ lw $ra, 0x001C($sp)
/* 0070C 80A796BC 90990035 */ lbu $t9, 0x0035($a0) ## 00000035
/* 00710 80A796C0 02003025 */ or $a2, $s0, $zero ## $a2 = 00000000
/* 00714 80A796C4 3C073F80 */ lui $a3, 0x3F80 ## $a3 = 3F800000
/* 00718 80A796C8 37280003 */ ori $t0, $t9, 0x0003 ## $t0 = 00000003
/* 0071C 80A796CC A0880035 */ sb $t0, 0x0035($a0) ## 00000035
/* 00720 80A796D0 0C028D88 */ jal AnimationContext_SetMoveActor
/* 00724 80A796D4 8FA40028 */ lw $a0, 0x0028($sp)
/* 00728 80A796D8 8FBF001C */ lw $ra, 0x001C($sp)
.L80A796DC:
/* 0072C 80A796DC 8FB00018 */ lw $s0, 0x0018($sp)
/* 00730 80A796E0 27BD0020 */ addiu $sp, $sp, 0x0020 ## $sp = 00000000
/* 00734 80A796E4 03E00008 */ jr $ra
/* 00738 80A796E8 00000000 */ nop

View file

@ -1,31 +0,0 @@
glabel func_80A796EC
/* 0073C 80A796EC 27BDFFD0 */ addiu $sp, $sp, 0xFFD0 ## $sp = FFFFFFD0
/* 00740 80A796F0 3C0F80A8 */ lui $t7, %hi(D_80A7B878) ## $t7 = 80A80000
/* 00744 80A796F4 25EFB878 */ addiu $t7, $t7, %lo(D_80A7B878) ## $t7 = 80A7B878
/* 00748 80A796F8 00057100 */ sll $t6, $a1, 4
/* 0074C 80A796FC AFBF0024 */ sw $ra, 0x0024($sp)
/* 00750 80A79700 AFA40030 */ sw $a0, 0x0030($sp)
/* 00754 80A79704 01CF1821 */ addu $v1, $t6, $t7
/* 00758 80A79708 8C640000 */ lw $a0, 0x0000($v1) ## 00000000
/* 0075C 80A7970C 0C028800 */ jal Animation_GetLastFrame
/* 00760 80A79710 AFA30028 */ sw $v1, 0x0028($sp)
/* 00764 80A79714 44822000 */ mtc1 $v0, $f4 ## $f4 = 0.00
/* 00768 80A79718 8FA30028 */ lw $v1, 0x0028($sp)
/* 0076C 80A7971C 8FA40030 */ lw $a0, 0x0030($sp)
/* 00770 80A79720 468021A0 */ cvt.s.w $f6, $f4
/* 00774 80A79724 90780008 */ lbu $t8, 0x0008($v1) ## 00000008
/* 00778 80A79728 C468000C */ lwc1 $f8, 0x000C($v1) ## 0000000C
/* 0077C 80A7972C 3C063F80 */ lui $a2, 0x3F80 ## $a2 = 3F800000
/* 00780 80A79730 24070000 */ addiu $a3, $zero, 0x0000 ## $a3 = 00000000
/* 00784 80A79734 8C650000 */ lw $a1, 0x0000($v1) ## 00000000
/* 00788 80A79738 E7A60010 */ swc1 $f6, 0x0010($sp)
/* 0078C 80A7973C 2484014C */ addiu $a0, $a0, 0x014C ## $a0 = 0000014C
/* 00790 80A79740 AFB80014 */ sw $t8, 0x0014($sp)
/* 00794 80A79744 0C029468 */ jal Animation_Change
/* 00798 80A79748 E7A80018 */ swc1 $f8, 0x0018($sp)
/* 0079C 80A7974C 8FBF0024 */ lw $ra, 0x0024($sp)
/* 007A0 80A79750 27BD0030 */ addiu $sp, $sp, 0x0030 ## $sp = 00000000
/* 007A4 80A79754 03E00008 */ jr $ra
/* 007A8 80A79758 00000000 */ nop

View file

@ -1,59 +0,0 @@
glabel func_80A7975C
/* 007AC 80A7975C 27BDFFD0 */ addiu $sp, $sp, 0xFFD0 ## $sp = FFFFFFD0
/* 007B0 80A79760 AFBF002C */ sw $ra, 0x002C($sp)
/* 007B4 80A79764 AFB00028 */ sw $s0, 0x0028($sp)
/* 007B8 80A79768 AFA50034 */ sw $a1, 0x0034($sp)
/* 007BC 80A7976C 848E001C */ lh $t6, 0x001C($a0) ## 0000001C
/* 007C0 80A79770 24020001 */ addiu $v0, $zero, 0x0001 ## $v0 = 00000001
/* 007C4 80A79774 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 007C8 80A79778 144E0008 */ bne $v0, $t6, .L80A7979C
/* 007CC 80A7977C 00000000 */ nop
/* 007D0 80A79780 848F00B8 */ lh $t7, 0x00B8($a0) ## 000000B8
/* 007D4 80A79784 3C188016 */ lui $t8, %hi(gSaveContext+4)
/* 007D8 80A79788 144F0004 */ bne $v0, $t7, .L80A7979C
/* 007DC 80A7978C 00000000 */ nop
/* 007E0 80A79790 8F18E664 */ lw $t8, %lo(gSaveContext+4)($t8)
/* 007E4 80A79794 53000004 */ beql $t8, $zero, .L80A797A8
/* 007E8 80A79798 A60201E6 */ sh $v0, 0x01E6($s0) ## 000001E6
.L80A7979C:
/* 007EC 80A7979C 1000001F */ beq $zero, $zero, .L80A7981C
/* 007F0 80A797A0 00001025 */ or $v0, $zero, $zero ## $v0 = 00000000
/* 007F4 80A797A4 A60201E6 */ sh $v0, 0x01E6($s0) ## 000001E6
.L80A797A8:
/* 007F8 80A797A8 921901A6 */ lbu $t9, 0x01A6($s0) ## 000001A6
/* 007FC 80A797AC 860901E6 */ lh $t1, 0x01E6($s0) ## 000001E6
/* 00800 80A797B0 3C0480A8 */ lui $a0, %hi(D_80A7B918) ## $a0 = 80A80000
/* 00804 80A797B4 3328FFFE */ andi $t0, $t9, 0xFFFE ## $t0 = 00000000
/* 00808 80A797B8 00095080 */ sll $t2, $t1, 2
/* 0080C 80A797BC A20801A6 */ sb $t0, 0x01A6($s0) ## 000001A6
/* 00810 80A797C0 008A2021 */ addu $a0, $a0, $t2
/* 00814 80A797C4 0C028800 */ jal Animation_GetLastFrame
/* 00818 80A797C8 8C84B918 */ lw $a0, %lo(D_80A7B918)($a0)
/* 0081C 80A797CC 44822000 */ mtc1 $v0, $f4 ## $f4 = 0.00
/* 00820 80A797D0 860B01E6 */ lh $t3, 0x01E6($s0) ## 000001E6
/* 00824 80A797D4 44800000 */ mtc1 $zero, $f0 ## $f0 = 0.00
/* 00828 80A797D8 468021A0 */ cvt.s.w $f6, $f4
/* 0082C 80A797DC 3C0580A8 */ lui $a1, %hi(D_80A7B918) ## $a1 = 80A80000
/* 00830 80A797E0 000B6080 */ sll $t4, $t3, 2
/* 00834 80A797E4 00AC2821 */ addu $a1, $a1, $t4
/* 00838 80A797E8 240D0002 */ addiu $t5, $zero, 0x0002 ## $t5 = 00000002
/* 0083C 80A797EC 44070000 */ mfc1 $a3, $f0
/* 00840 80A797F0 AFAD0014 */ sw $t5, 0x0014($sp)
/* 00844 80A797F4 8CA5B918 */ lw $a1, %lo(D_80A7B918)($a1)
/* 00848 80A797F8 E7A60010 */ swc1 $f6, 0x0010($sp)
/* 0084C 80A797FC 2604014C */ addiu $a0, $s0, 0x014C ## $a0 = 0000014C
/* 00850 80A79800 3C063F80 */ lui $a2, 0x3F80 ## $a2 = 3F800000
/* 00854 80A79804 0C029468 */ jal Animation_Change
/* 00858 80A79808 E7A00018 */ swc1 $f0, 0x0018($sp)
/* 0085C 80A7980C 3C0E80A8 */ lui $t6, %hi(func_80A7A304) ## $t6 = 80A80000
/* 00860 80A79810 25CEA304 */ addiu $t6, $t6, %lo(func_80A7A304) ## $t6 = 80A7A304
/* 00864 80A79814 AE0E0190 */ sw $t6, 0x0190($s0) ## 00000190
/* 00868 80A79818 24020001 */ addiu $v0, $zero, 0x0001 ## $v0 = 00000001
.L80A7981C:
/* 0086C 80A7981C 8FBF002C */ lw $ra, 0x002C($sp)
/* 00870 80A79820 8FB00028 */ lw $s0, 0x0028($sp)
/* 00874 80A79824 27BD0030 */ addiu $sp, $sp, 0x0030 ## $sp = 00000000
/* 00878 80A79828 03E00008 */ jr $ra
/* 0087C 80A7982C 00000000 */ nop

View file

@ -1,142 +0,0 @@
glabel func_80A79830
/* 00880 80A79830 84A200A4 */ lh $v0, 0x00A4($a1) ## 000000A4
/* 00884 80A79834 24060063 */ addiu $a2, $zero, 0x0063 ## $a2 = 00000063
/* 00888 80A79838 3C078016 */ lui $a3, %hi(gSaveContext)
/* 0088C 80A7983C 14C20011 */ bne $a2, $v0, .L80A79884
/* 00890 80A79840 24E7E660 */ addiu $a3, %lo(gSaveContext)
/* 00894 80A79844 8CEE0004 */ lw $t6, 0x0004($a3) ## 8015E664
/* 00898 80A79848 24050001 */ addiu $a1, $zero, 0x0001 ## $a1 = 00000001
/* 0089C 80A7984C 54AE000E */ bnel $a1, $t6, .L80A79888
/* 008A0 80A79850 24030036 */ addiu $v1, $zero, 0x0036 ## $v1 = 00000036
/* 008A4 80A79854 8CEF0010 */ lw $t7, 0x0010($a3) ## 8015E670
/* 008A8 80A79858 55E0000B */ bnel $t7, $zero, .L80A79888
/* 008AC 80A7985C 24030036 */ addiu $v1, $zero, 0x0036 ## $v1 = 00000036
/* 008B0 80A79860 849800B8 */ lh $t8, 0x00B8($a0) ## 000000B8
/* 008B4 80A79864 54B80008 */ bnel $a1, $t8, .L80A79888
/* 008B8 80A79868 24030036 */ addiu $v1, $zero, 0x0036 ## $v1 = 00000036
/* 008BC 80A7986C 94F90ED6 */ lhu $t9, 0x0ED6($a3) ## 8015F536
/* 008C0 80A79870 33280010 */ andi $t0, $t9, 0x0010 ## $t0 = 00000000
/* 008C4 80A79874 55000004 */ bnel $t0, $zero, .L80A79888
/* 008C8 80A79878 24030036 */ addiu $v1, $zero, 0x0036 ## $v1 = 00000036
/* 008CC 80A7987C 03E00008 */ jr $ra
/* 008D0 80A79880 24020001 */ addiu $v0, $zero, 0x0001 ## $v0 = 00000001
.L80A79884:
/* 008D4 80A79884 24030036 */ addiu $v1, $zero, 0x0036 ## $v1 = 00000036
.L80A79888:
/* 008D8 80A79888 3C078016 */ lui $a3, %hi(gSaveContext)
/* 008DC 80A7988C 24E7E660 */ addiu $a3, %lo(gSaveContext)
/* 008E0 80A79890 14620011 */ bne $v1, $v0, .L80A798D8
/* 008E4 80A79894 24050001 */ addiu $a1, $zero, 0x0001 ## $a1 = 00000001
/* 008E8 80A79898 8CE90004 */ lw $t1, 0x0004($a3) ## 8015E664
/* 008EC 80A7989C 14A9000E */ bne $a1, $t1, .L80A798D8
/* 008F0 80A798A0 00000000 */ nop
/* 008F4 80A798A4 8CEA0010 */ lw $t2, 0x0010($a3) ## 8015E670
/* 008F8 80A798A8 1540000B */ bne $t2, $zero, .L80A798D8
/* 008FC 80A798AC 00000000 */ nop
/* 00900 80A798B0 848B00B8 */ lh $t3, 0x00B8($a0) ## 000000B8
/* 00904 80A798B4 24010003 */ addiu $at, $zero, 0x0003 ## $at = 00000003
/* 00908 80A798B8 15610007 */ bne $t3, $at, .L80A798D8
/* 0090C 80A798BC 00000000 */ nop
/* 00910 80A798C0 94EC0ED6 */ lhu $t4, 0x0ED6($a3) ## 8015F536
/* 00914 80A798C4 318D0010 */ andi $t5, $t4, 0x0010 ## $t5 = 00000000
/* 00918 80A798C8 11A00003 */ beq $t5, $zero, .L80A798D8
/* 0091C 80A798CC 00000000 */ nop
/* 00920 80A798D0 03E00008 */ jr $ra
/* 00924 80A798D4 24020001 */ addiu $v0, $zero, 0x0001 ## $v0 = 00000001
.L80A798D8:
/* 00928 80A798D8 1462001A */ bne $v1, $v0, .L80A79944
/* 0092C 80A798DC 00000000 */ nop
/* 00930 80A798E0 8CEE0004 */ lw $t6, 0x0004($a3) ## 8015E664
/* 00934 80A798E4 14AE0017 */ bne $a1, $t6, .L80A79944
/* 00938 80A798E8 00000000 */ nop
/* 0093C 80A798EC 8CEF0010 */ lw $t7, 0x0010($a3) ## 8015E670
/* 00940 80A798F0 14AF0014 */ bne $a1, $t7, .L80A79944
/* 00944 80A798F4 00000000 */ nop
/* 00948 80A798F8 848300B8 */ lh $v1, 0x00B8($a0) ## 000000B8
/* 0094C 80A798FC 24010002 */ addiu $at, $zero, 0x0002 ## $at = 00000002
/* 00950 80A79900 54610008 */ bnel $v1, $at, .L80A79924
/* 00954 80A79904 24010004 */ addiu $at, $zero, 0x0004 ## $at = 00000004
/* 00958 80A79908 94F80ED6 */ lhu $t8, 0x0ED6($a3) ## 8015F536
/* 0095C 80A7990C 33190010 */ andi $t9, $t8, 0x0010 ## $t9 = 00000000
/* 00960 80A79910 57200004 */ bnel $t9, $zero, .L80A79924
/* 00964 80A79914 24010004 */ addiu $at, $zero, 0x0004 ## $at = 00000004
/* 00968 80A79918 03E00008 */ jr $ra
/* 0096C 80A7991C 24020001 */ addiu $v0, $zero, 0x0001 ## $v0 = 00000001
.L80A79920:
/* 00970 80A79920 24010004 */ addiu $at, $zero, 0x0004 ## $at = 00000004
.L80A79924:
/* 00974 80A79924 14610007 */ bne $v1, $at, .L80A79944
/* 00978 80A79928 00000000 */ nop
/* 0097C 80A7992C 94E80ED6 */ lhu $t0, 0x0ED6($a3) ## 8015F536
/* 00980 80A79930 31090010 */ andi $t1, $t0, 0x0010 ## $t1 = 00000000
/* 00984 80A79934 11200003 */ beq $t1, $zero, .L80A79944
/* 00988 80A79938 00000000 */ nop
/* 0098C 80A7993C 03E00008 */ jr $ra
/* 00990 80A79940 24020001 */ addiu $v0, $zero, 0x0001 ## $v0 = 00000001
.L80A79944:
/* 00994 80A79944 54C2001B */ bnel $a2, $v0, .L80A799B4
/* 00998 80A79948 2401004C */ addiu $at, $zero, 0x004C ## $at = 0000004C
/* 0099C 80A7994C 8CEA0004 */ lw $t2, 0x0004($a3) ## 8015E664
/* 009A0 80A79950 55400018 */ bnel $t2, $zero, .L80A799B4
/* 009A4 80A79954 2401004C */ addiu $at, $zero, 0x004C ## $at = 0000004C
/* 009A8 80A79958 8CEB0010 */ lw $t3, 0x0010($a3) ## 8015E670
/* 009AC 80A7995C 55600015 */ bnel $t3, $zero, .L80A799B4
/* 009B0 80A79960 2401004C */ addiu $at, $zero, 0x004C ## $at = 0000004C
/* 009B4 80A79964 848300B8 */ lh $v1, 0x00B8($a0) ## 000000B8
/* 009B8 80A79968 24010005 */ addiu $at, $zero, 0x0005 ## $at = 00000005
/* 009BC 80A7996C 54610008 */ bnel $v1, $at, .L80A79990
/* 009C0 80A79970 24010007 */ addiu $at, $zero, 0x0007 ## $at = 00000007
/* 009C4 80A79974 94EC0ED6 */ lhu $t4, 0x0ED6($a3) ## 8015F536
/* 009C8 80A79978 318D0100 */ andi $t5, $t4, 0x0100 ## $t5 = 00000000
/* 009CC 80A7997C 55A00004 */ bnel $t5, $zero, .L80A79990
/* 009D0 80A79980 24010007 */ addiu $at, $zero, 0x0007 ## $at = 00000007
/* 009D4 80A79984 03E00008 */ jr $ra
/* 009D8 80A79988 24020002 */ addiu $v0, $zero, 0x0002 ## $v0 = 00000002
.L80A7998C:
/* 009DC 80A7998C 24010007 */ addiu $at, $zero, 0x0007 ## $at = 00000007
.L80A79990:
/* 009E0 80A79990 54610008 */ bnel $v1, $at, .L80A799B4
/* 009E4 80A79994 2401004C */ addiu $at, $zero, 0x004C ## $at = 0000004C
/* 009E8 80A79998 94EE0ED6 */ lhu $t6, 0x0ED6($a3) ## 8015F536
/* 009EC 80A7999C 31CF0100 */ andi $t7, $t6, 0x0100 ## $t7 = 00000000
/* 009F0 80A799A0 51E00004 */ beql $t7, $zero, .L80A799B4
/* 009F4 80A799A4 2401004C */ addiu $at, $zero, 0x004C ## $at = 0000004C
/* 009F8 80A799A8 03E00008 */ jr $ra
/* 009FC 80A799AC 24020004 */ addiu $v0, $zero, 0x0004 ## $v0 = 00000004
.L80A799B0:
/* 00A00 80A799B0 2401004C */ addiu $at, $zero, 0x004C ## $at = 0000004C
.L80A799B4:
/* 00A04 80A799B4 5441001B */ bnel $v0, $at, .L80A79A24
/* 00A08 80A799B8 00001025 */ or $v0, $zero, $zero ## $v0 = 00000000
/* 00A0C 80A799BC 8CF80004 */ lw $t8, 0x0004($a3) ## 8015E664
/* 00A10 80A799C0 57000018 */ bnel $t8, $zero, .L80A79A24
/* 00A14 80A799C4 00001025 */ or $v0, $zero, $zero ## $v0 = 00000000
/* 00A18 80A799C8 8CF90010 */ lw $t9, 0x0010($a3) ## 8015E670
/* 00A1C 80A799CC 54B90015 */ bnel $a1, $t9, .L80A79A24
/* 00A20 80A799D0 00001025 */ or $v0, $zero, $zero ## $v0 = 00000000
/* 00A24 80A799D4 848300B8 */ lh $v1, 0x00B8($a0) ## 000000B8
/* 00A28 80A799D8 24010006 */ addiu $at, $zero, 0x0006 ## $at = 00000006
/* 00A2C 80A799DC 54610008 */ bnel $v1, $at, .L80A79A00
/* 00A30 80A799E0 24010008 */ addiu $at, $zero, 0x0008 ## $at = 00000008
/* 00A34 80A799E4 94E80ED6 */ lhu $t0, 0x0ED6($a3) ## 8015F536
/* 00A38 80A799E8 31090100 */ andi $t1, $t0, 0x0100 ## $t1 = 00000000
/* 00A3C 80A799EC 55200004 */ bnel $t1, $zero, .L80A79A00
/* 00A40 80A799F0 24010008 */ addiu $at, $zero, 0x0008 ## $at = 00000008
/* 00A44 80A799F4 03E00008 */ jr $ra
/* 00A48 80A799F8 24020003 */ addiu $v0, $zero, 0x0003 ## $v0 = 00000003
.L80A799FC:
/* 00A4C 80A799FC 24010008 */ addiu $at, $zero, 0x0008 ## $at = 00000008
.L80A79A00:
/* 00A50 80A79A00 54610008 */ bnel $v1, $at, .L80A79A24
/* 00A54 80A79A04 00001025 */ or $v0, $zero, $zero ## $v0 = 00000000
/* 00A58 80A79A08 94EA0ED6 */ lhu $t2, 0x0ED6($a3) ## 8015F536
/* 00A5C 80A79A0C 314B0100 */ andi $t3, $t2, 0x0100 ## $t3 = 00000000
/* 00A60 80A79A10 51600004 */ beql $t3, $zero, .L80A79A24
/* 00A64 80A79A14 00001025 */ or $v0, $zero, $zero ## $v0 = 00000000
/* 00A68 80A79A18 03E00008 */ jr $ra
/* 00A6C 80A79A1C 24020003 */ addiu $v0, $zero, 0x0003 ## $v0 = 00000003
.L80A79A20:
/* 00A70 80A79A20 00001025 */ or $v0, $zero, $zero ## $v0 = 00000000
.L80A79A24:
/* 00A74 80A79A24 03E00008 */ jr $ra
/* 00A78 80A79A28 00000000 */ nop

View file

@ -1,39 +0,0 @@
glabel func_80A79A2C
/* 00A7C 80A79A2C 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 00A80 80A79A30 AFBF0014 */ sw $ra, 0x0014($sp)
/* 00A84 80A79A34 848E01EE */ lh $t6, 0x01EE($a0) ## 000001EE
/* 00A88 80A79A38 24010003 */ addiu $at, $zero, 0x0003 ## $at = 00000003
/* 00A8C 80A79A3C 00803025 */ or $a2, $a0, $zero ## $a2 = 00000000
/* 00A90 80A79A40 51C10019 */ beql $t6, $at, .L80A79AA8
/* 00A94 80A79A44 8FBF0014 */ lw $ra, 0x0014($sp)
/* 00A98 80A79A48 848201EA */ lh $v0, 0x01EA($a0) ## 000001EA
/* 00A9C 80A79A4C 14400003 */ bne $v0, $zero, .L80A79A5C
/* 00AA0 80A79A50 244FFFFF */ addiu $t7, $v0, 0xFFFF ## $t7 = FFFFFFFF
/* 00AA4 80A79A54 10000003 */ beq $zero, $zero, .L80A79A64
/* 00AA8 80A79A58 00001825 */ or $v1, $zero, $zero ## $v1 = 00000000
.L80A79A5C:
/* 00AAC 80A79A5C A4CF01EA */ sh $t7, 0x01EA($a2) ## 000001EA
/* 00AB0 80A79A60 84C301EA */ lh $v1, 0x01EA($a2) ## 000001EA
.L80A79A64:
/* 00AB4 80A79A64 54600010 */ bnel $v1, $zero, .L80A79AA8
/* 00AB8 80A79A68 8FBF0014 */ lw $ra, 0x0014($sp)
/* 00ABC 80A79A6C 84D801EE */ lh $t8, 0x01EE($a2) ## 000001EE
/* 00AC0 80A79A70 2404001E */ addiu $a0, $zero, 0x001E ## $a0 = 0000001E
/* 00AC4 80A79A74 2405001E */ addiu $a1, $zero, 0x001E ## $a1 = 0000001E
/* 00AC8 80A79A78 27190001 */ addiu $t9, $t8, 0x0001 ## $t9 = 00000001
/* 00ACC 80A79A7C A4D901EE */ sh $t9, 0x01EE($a2) ## 000001EE
/* 00AD0 80A79A80 84C801EE */ lh $t0, 0x01EE($a2) ## 000001EE
/* 00AD4 80A79A84 29010003 */ slti $at, $t0, 0x0003
/* 00AD8 80A79A88 54200007 */ bnel $at, $zero, .L80A79AA8
/* 00ADC 80A79A8C 8FBF0014 */ lw $ra, 0x0014($sp)
/* 00AE0 80A79A90 0C01DF64 */ jal Rand_S16Offset
/* 00AE4 80A79A94 AFA60018 */ sw $a2, 0x0018($sp)
/* 00AE8 80A79A98 8FA60018 */ lw $a2, 0x0018($sp)
/* 00AEC 80A79A9C A4C201EA */ sh $v0, 0x01EA($a2) ## 000001EA
/* 00AF0 80A79AA0 A4C001EE */ sh $zero, 0x01EE($a2) ## 000001EE
/* 00AF4 80A79AA4 8FBF0014 */ lw $ra, 0x0014($sp)
.L80A79AA8:
/* 00AF8 80A79AA8 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
/* 00AFC 80A79AAC 03E00008 */ jr $ra
/* 00B00 80A79AB0 00000000 */ nop

View file

@ -1,65 +0,0 @@
glabel func_80A79AB4
/* 00B04 80A79AB4 8C8F0154 */ lw $t7, 0x0154($a0) ## 00000154
/* 00B08 80A79AB8 3C0E0601 */ lui $t6, %hi(D_06014CA8) ## $t6 = 06010000
/* 00B0C 80A79ABC 25CE4CA8 */ addiu $t6, $t6, %lo(D_06014CA8) ## $t6 = 06014CA8
/* 00B10 80A79AC0 11CF0004 */ beq $t6, $t7, .L80A79AD4
/* 00B14 80A79AC4 00001025 */ or $v0, $zero, $zero ## $v0 = 00000000
/* 00B18 80A79AC8 3C020001 */ lui $v0, 0x0001 ## $v0 = 00010000
/* 00B1C 80A79ACC 00451021 */ addu $v0, $v0, $a1
/* 00B20 80A79AD0 8C421DE4 */ lw $v0, 0x1DE4($v0) ## 00011DE4
.L80A79AD4:
/* 00B24 80A79AD4 00802825 */ or $a1, $a0, $zero ## $a1 = 00000000
/* 00B28 80A79AD8 24060814 */ addiu $a2, $zero, 0x0814 ## $a2 = 00000814
/* 00B2C 80A79ADC 24070940 */ addiu $a3, $zero, 0x0940 ## $a3 = 00000940
/* 00B30 80A79AE0 24080846 */ addiu $t0, $zero, 0x0846 ## $t0 = 00000846
/* 00B34 80A79AE4 24090972 */ addiu $t1, $zero, 0x0972 ## $t1 = 00000972
/* 00B38 80A79AE8 240A0878 */ addiu $t2, $zero, 0x0878 ## $t2 = 00000878
/* 00B3C 80A79AEC 240B09A4 */ addiu $t3, $zero, 0x09A4 ## $t3 = 000009A4
/* 00B40 80A79AF0 240C08AA */ addiu $t4, $zero, 0x08AA ## $t4 = 000008AA
/* 00B44 80A79AF4 240D09D6 */ addiu $t5, $zero, 0x09D6 ## $t5 = 000009D6
/* 00B48 80A79AF8 24030DBE */ addiu $v1, $zero, 0x0DBE ## $v1 = 00000DBE
.L80A79AFC:
/* 00B4C 80A79AFC 00C20019 */ multu $a2, $v0
/* 00B50 80A79B00 24C600C8 */ addiu $a2, $a2, 0x00C8 ## $a2 = 000008DC
/* 00B54 80A79B04 24A50018 */ addiu $a1, $a1, 0x0018 ## $a1 = 00000018
/* 00B58 80A79B08 0000C012 */ mflo $t8
/* 00B5C 80A79B0C A4B8031A */ sh $t8, 0x031A($a1) ## 00000332
/* 00B60 80A79B10 00000000 */ nop
/* 00B64 80A79B14 00E20019 */ multu $a3, $v0
/* 00B68 80A79B18 24E700C8 */ addiu $a3, $a3, 0x00C8 ## $a3 = 00000A08
/* 00B6C 80A79B1C 0000C812 */ mflo $t9
/* 00B70 80A79B20 A4B9031C */ sh $t9, 0x031C($a1) ## 00000334
/* 00B74 80A79B24 00000000 */ nop
/* 00B78 80A79B28 01020019 */ multu $t0, $v0
/* 00B7C 80A79B2C 250800C8 */ addiu $t0, $t0, 0x00C8 ## $t0 = 0000090E
/* 00B80 80A79B30 00007012 */ mflo $t6
/* 00B84 80A79B34 A4AE0320 */ sh $t6, 0x0320($a1) ## 00000338
/* 00B88 80A79B38 00000000 */ nop
/* 00B8C 80A79B3C 01220019 */ multu $t1, $v0
/* 00B90 80A79B40 252900C8 */ addiu $t1, $t1, 0x00C8 ## $t1 = 00000A3A
/* 00B94 80A79B44 00007812 */ mflo $t7
/* 00B98 80A79B48 A4AF0322 */ sh $t7, 0x0322($a1) ## 0000033A
/* 00B9C 80A79B4C 00000000 */ nop
/* 00BA0 80A79B50 01420019 */ multu $t2, $v0
/* 00BA4 80A79B54 254A00C8 */ addiu $t2, $t2, 0x00C8 ## $t2 = 00000940
/* 00BA8 80A79B58 0000C012 */ mflo $t8
/* 00BAC 80A79B5C A4B80326 */ sh $t8, 0x0326($a1) ## 0000033E
/* 00BB0 80A79B60 00000000 */ nop
/* 00BB4 80A79B64 01620019 */ multu $t3, $v0
/* 00BB8 80A79B68 256B00C8 */ addiu $t3, $t3, 0x00C8 ## $t3 = 00000A6C
/* 00BBC 80A79B6C 0000C812 */ mflo $t9
/* 00BC0 80A79B70 A4B90328 */ sh $t9, 0x0328($a1) ## 00000340
/* 00BC4 80A79B74 00000000 */ nop
/* 00BC8 80A79B78 01820019 */ multu $t4, $v0
/* 00BCC 80A79B7C 258C00C8 */ addiu $t4, $t4, 0x00C8 ## $t4 = 00000972
/* 00BD0 80A79B80 00007012 */ mflo $t6
/* 00BD4 80A79B84 A4AE032C */ sh $t6, 0x032C($a1) ## 00000344
/* 00BD8 80A79B88 00000000 */ nop
/* 00BDC 80A79B8C 01A20019 */ multu $t5, $v0
/* 00BE0 80A79B90 25AD00C8 */ addiu $t5, $t5, 0x00C8 ## $t5 = 00000A9E
/* 00BE4 80A79B94 00007812 */ mflo $t7
/* 00BE8 80A79B98 A4AF032E */ sh $t7, 0x032E($a1) ## 00000346
/* 00BEC 80A79B9C 15A3FFD7 */ bne $t5, $v1, .L80A79AFC
/* 00BF0 80A79BA0 00000000 */ nop
/* 00BF4 80A79BA4 03E00008 */ jr $ra
/* 00BF8 80A79BA8 00000000 */ nop

View file

@ -1,54 +0,0 @@
glabel func_80A79BAC
/* 00BFC 80A79BAC 27BDFFD8 */ addiu $sp, $sp, 0xFFD8 ## $sp = FFFFFFD8
/* 00C00 80A79BB0 3C0E80A8 */ lui $t6, %hi(D_80A7B988) ## $t6 = 80A80000
/* 00C04 80A79BB4 AFBF0014 */ sw $ra, 0x0014($sp)
/* 00C08 80A79BB8 AFA40028 */ sw $a0, 0x0028($sp)
/* 00C0C 80A79BBC AFA5002C */ sw $a1, 0x002C($sp)
/* 00C10 80A79BC0 25CEB988 */ addiu $t6, $t6, %lo(D_80A7B988) ## $t6 = 80A7B988
/* 00C14 80A79BC4 8DD80000 */ lw $t8, 0x0000($t6) ## 80A7B988
/* 00C18 80A79BC8 27A30020 */ addiu $v1, $sp, 0x0020 ## $v1 = FFFFFFF8
/* 00C1C 80A79BCC 0006C840 */ sll $t9, $a2, 1
/* 00C20 80A79BD0 AC780000 */ sw $t8, 0x0000($v1) ## FFFFFFF8
/* 00C24 80A79BD4 95D80004 */ lhu $t8, 0x0004($t6) ## 80A7B98C
/* 00C28 80A79BD8 00791021 */ addu $v0, $v1, $t9
/* 00C2C 80A79BDC 3C010001 */ lui $at, 0x0001 ## $at = 00010000
/* 00C30 80A79BE0 A4780004 */ sh $t8, 0x0004($v1) ## FFFFFFFC
/* 00C34 80A79BE4 8FA9002C */ lw $t1, 0x002C($sp)
/* 00C38 80A79BE8 84480000 */ lh $t0, 0x0000($v0) ## 00000000
/* 00C3C 80A79BEC 340AFFF0 */ ori $t2, $zero, 0xFFF0 ## $t2 = 0000FFF0
/* 00C40 80A79BF0 00290821 */ addu $at, $at, $t1
/* 00C44 80A79BF4 A4281E1A */ sh $t0, 0x1E1A($at) ## 00011E1A
/* 00C48 80A79BF8 24010002 */ addiu $at, $zero, 0x0002 ## $at = 00000002
/* 00C4C 80A79BFC 14C10002 */ bne $a2, $at, .L80A79C08
/* 00C50 80A79C00 3C018016 */ lui $at, %hi(gSaveContext+0x1412)
/* 00C54 80A79C04 A42AFA72 */ sh $t2, %lo(gSaveContext+0x1412)($at)
.L80A79C08:
/* 00C58 80A79C08 8FAB002C */ lw $t3, 0x002C($sp)
/* 00C5C 80A79C0C 3C010001 */ lui $at, 0x0001 ## $at = 00010000
/* 00C60 80A79C10 240C0014 */ addiu $t4, $zero, 0x0014 ## $t4 = 00000014
/* 00C64 80A79C14 002B0821 */ addu $at, $at, $t3
/* 00C68 80A79C18 A0271E5E */ sb $a3, 0x1E5E($at) ## 00011E5E
/* 00C6C 80A79C1C 8FAD002C */ lw $t5, 0x002C($sp)
/* 00C70 80A79C20 3C010001 */ lui $at, 0x0001 ## $at = 00010000
/* 00C74 80A79C24 24060008 */ addiu $a2, $zero, 0x0008 ## $a2 = 00000008
/* 00C78 80A79C28 002D0821 */ addu $at, $at, $t5
/* 00C7C 80A79C2C A02C1E15 */ sb $t4, 0x1E15($at) ## 00011E15
/* 00C80 80A79C30 AFA2001C */ sw $v0, 0x001C($sp)
/* 00C84 80A79C34 8FA50028 */ lw $a1, 0x0028($sp)
/* 00C88 80A79C38 0C00B7D5 */ jal func_8002DF54
/* 00C8C 80A79C3C 8FA4002C */ lw $a0, 0x002C($sp)
/* 00C90 80A79C40 0C020978 */ jal Interface_ChangeAlpha
/* 00C94 80A79C44 24040001 */ addiu $a0, $zero, 0x0001 ## $a0 = 00000001
/* 00C98 80A79C48 8FA2001C */ lw $v0, 0x001C($sp)
/* 00C9C 80A79C4C 27AE0020 */ addiu $t6, $sp, 0x0020 ## $t6 = FFFFFFF8
/* 00CA0 80A79C50 3C0F8016 */ lui $t7, %hi(gGameInfo)
/* 00CA4 80A79C54 544E0004 */ bnel $v0, $t6, .L80A79C68
/* 00CA8 80A79C58 8FBF0014 */ lw $ra, 0x0014($sp)
/* 00CAC 80A79C5C 8DEFFA90 */ lw $t7, %lo(gGameInfo)($t7)
/* 00CB0 80A79C60 A5E00E60 */ sh $zero, 0x0E60($t7) ## 80160E60
/* 00CB4 80A79C64 8FBF0014 */ lw $ra, 0x0014($sp)
.L80A79C68:
/* 00CB8 80A79C68 3C018016 */ lui $at, %hi(gSaveContext+0x13ce)
/* 00CBC 80A79C6C A420FA2E */ sh $zero, %lo(gSaveContext+0x13ce)($at)
/* 00CC0 80A79C70 03E00008 */ jr $ra
/* 00CC4 80A79C74 27BD0028 */ addiu $sp, $sp, 0x0028 ## $sp = 00000000

View file

@ -1,130 +0,0 @@
glabel func_80A79C78
/* 00CC8 80A79C78 27BDFFA8 */ addiu $sp, $sp, 0xFFA8 ## $sp = FFFFFFA8
/* 00CCC 80A79C7C 3C0F80A8 */ lui $t7, %hi(D_80A7B990) ## $t7 = 80A80000
/* 00CD0 80A79C80 AFBF0024 */ sw $ra, 0x0024($sp)
/* 00CD4 80A79C84 AFB20020 */ sw $s2, 0x0020($sp)
/* 00CD8 80A79C88 AFB1001C */ sw $s1, 0x001C($sp)
/* 00CDC 80A79C8C AFB00018 */ sw $s0, 0x0018($sp)
/* 00CE0 80A79C90 25EFB990 */ addiu $t7, $t7, %lo(D_80A7B990) ## $t7 = 80A7B990
/* 00CE4 80A79C94 8DF90000 */ lw $t9, 0x0000($t7) ## 80A7B990
/* 00CE8 80A79C98 8CB11C44 */ lw $s1, 0x1C44($a1) ## 00001C44
/* 00CEC 80A79C9C 27AE0034 */ addiu $t6, $sp, 0x0034 ## $t6 = FFFFFFDC
/* 00CF0 80A79CA0 ADD90000 */ sw $t9, 0x0000($t6) ## FFFFFFDC
/* 00CF4 80A79CA4 95F90004 */ lhu $t9, 0x0004($t7) ## 80A7B994
/* 00CF8 80A79CA8 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 00CFC 80A79CAC 00A09025 */ or $s2, $a1, $zero ## $s2 = 00000000
/* 00D00 80A79CB0 00A02025 */ or $a0, $a1, $zero ## $a0 = 00000000
/* 00D04 80A79CB4 0C03008C */ jal Gameplay_CreateSubCamera
/* 00D08 80A79CB8 A5D90004 */ sh $t9, 0x0004($t6) ## FFFFFFE0
/* 00D0C 80A79CBC A60201F0 */ sh $v0, 0x01F0($s0) ## 000001F0
/* 00D10 80A79CC0 02402025 */ or $a0, $s2, $zero ## $a0 = 00000000
/* 00D14 80A79CC4 00002825 */ or $a1, $zero, $zero ## $a1 = 00000000
/* 00D18 80A79CC8 0C0300C5 */ jal Gameplay_ChangeCameraStatus
/* 00D1C 80A79CCC 24060001 */ addiu $a2, $zero, 0x0001 ## $a2 = 00000001
/* 00D20 80A79CD0 02402025 */ or $a0, $s2, $zero ## $a0 = 00000000
/* 00D24 80A79CD4 860501F0 */ lh $a1, 0x01F0($s0) ## 000001F0
/* 00D28 80A79CD8 0C0300C5 */ jal Gameplay_ChangeCameraStatus
/* 00D2C 80A79CDC 24060007 */ addiu $a2, $zero, 0x0007 ## $a2 = 00000007
/* 00D30 80A79CE0 C6040024 */ lwc1 $f4, 0x0024($s0) ## 00000024
/* 00D34 80A79CE4 3C014270 */ lui $at, 0x4270 ## $at = 42700000
/* 00D38 80A79CE8 44814000 */ mtc1 $at, $f8 ## $f8 = 60.00
/* 00D3C 80A79CEC E7A40048 */ swc1 $f4, 0x0048($sp)
/* 00D40 80A79CF0 C6060028 */ lwc1 $f6, 0x0028($s0) ## 00000028
/* 00D44 80A79CF4 3C0141B0 */ lui $at, 0x41B0 ## $at = 41B00000
/* 00D48 80A79CF8 C7B20048 */ lwc1 $f18, 0x0048($sp)
/* 00D4C 80A79CFC 46083280 */ add.s $f10, $f6, $f8
/* 00D50 80A79D00 44813000 */ mtc1 $at, $f6 ## $f6 = 22.00
/* 00D54 80A79D04 3C014220 */ lui $at, 0x4220 ## $at = 42200000
/* 00D58 80A79D08 02402025 */ or $a0, $s2, $zero ## $a0 = 00000000
/* 00D5C 80A79D0C E7AA004C */ swc1 $f10, 0x004C($sp)
/* 00D60 80A79D10 C610002C */ lwc1 $f16, 0x002C($s0) ## 0000002C
/* 00D64 80A79D14 C7A4004C */ lwc1 $f4, 0x004C($sp)
/* 00D68 80A79D18 E7B2003C */ swc1 $f18, 0x003C($sp)
/* 00D6C 80A79D1C E7B00050 */ swc1 $f16, 0x0050($sp)
/* 00D70 80A79D20 C7AA0050 */ lwc1 $f10, 0x0050($sp)
/* 00D74 80A79D24 44818000 */ mtc1 $at, $f16 ## $f16 = 40.00
/* 00D78 80A79D28 46062201 */ sub.s $f8, $f4, $f6
/* 00D7C 80A79D2C 27A60048 */ addiu $a2, $sp, 0x0048 ## $a2 = FFFFFFF0
/* 00D80 80A79D30 27A7003C */ addiu $a3, $sp, 0x003C ## $a3 = FFFFFFE4
/* 00D84 80A79D34 46105480 */ add.s $f18, $f10, $f16
/* 00D88 80A79D38 E7A80040 */ swc1 $f8, 0x0040($sp)
/* 00D8C 80A79D3C E7B20044 */ swc1 $f18, 0x0044($sp)
/* 00D90 80A79D40 0C030136 */ jal Gameplay_CameraSetAtEye
/* 00D94 80A79D44 860501F0 */ lh $a1, 0x01F0($s0) ## 000001F0
/* 00D98 80A79D48 26040024 */ addiu $a0, $s0, 0x0024 ## $a0 = 00000024
/* 00D9C 80A79D4C AFA4002C */ sw $a0, 0x002C($sp)
/* 00DA0 80A79D50 0C01E01A */ jal Math_Vec3f_Yaw
/* 00DA4 80A79D54 27A5003C */ addiu $a1, $sp, 0x003C ## $a1 = FFFFFFE4
/* 00DA8 80A79D58 27A30034 */ addiu $v1, $sp, 0x0034 ## $v1 = FFFFFFDC
/* 00DAC 80A79D5C A60200B6 */ sh $v0, 0x00B6($s0) ## 000000B6
/* 00DB0 80A79D60 8C690000 */ lw $t1, 0x0000($v1) ## FFFFFFDC
/* 00DB4 80A79D64 02402025 */ or $a0, $s2, $zero ## $a0 = 00000000
/* 00DB8 80A79D68 24052025 */ addiu $a1, $zero, 0x2025 ## $a1 = 00002025
/* 00DBC 80A79D6C AA090310 */ swl $t1, 0x0310($s0) ## 00000310
/* 00DC0 80A79D70 BA090313 */ swr $t1, 0x0313($s0) ## 00000313
/* 00DC4 80A79D74 94690004 */ lhu $t1, 0x0004($v1) ## FFFFFFE0
/* 00DC8 80A79D78 00003025 */ or $a2, $zero, $zero ## $a2 = 00000000
/* 00DCC 80A79D7C A6090314 */ sh $t1, 0x0314($s0) ## 00000314
/* 00DD0 80A79D80 8C6B0000 */ lw $t3, 0x0000($v1) ## FFFFFFDC
/* 00DD4 80A79D84 AA0B0316 */ swl $t3, 0x0316($s0) ## 00000316
/* 00DD8 80A79D88 BA0B0319 */ swr $t3, 0x0319($s0) ## 00000319
/* 00DDC 80A79D8C 946B0004 */ lhu $t3, 0x0004($v1) ## FFFFFFE0
/* 00DE0 80A79D90 0C042DA0 */ jal func_8010B680
/* 00DE4 80A79D94 A60B031A */ sh $t3, 0x031A($s0) ## 0000031A
/* 00DE8 80A79D98 240C0001 */ addiu $t4, $zero, 0x0001 ## $t4 = 00000001
/* 00DEC 80A79D9C A60C0308 */ sh $t4, 0x0308($s0) ## 00000308
/* 00DF0 80A79DA0 8FAD002C */ lw $t5, 0x002C($sp)
/* 00DF4 80A79DA4 26320024 */ addiu $s2, $s1, 0x0024 ## $s2 = 00000024
/* 00DF8 80A79DA8 8DAF0000 */ lw $t7, 0x0000($t5) ## 00000000
/* 00DFC 80A79DAC AE4F0000 */ sw $t7, 0x0000($s2) ## 00000024
/* 00E00 80A79DB0 8DAE0004 */ lw $t6, 0x0004($t5) ## 00000004
/* 00E04 80A79DB4 AE4E0004 */ sw $t6, 0x0004($s2) ## 00000028
/* 00E08 80A79DB8 8DAF0008 */ lw $t7, 0x0008($t5) ## 00000008
/* 00E0C 80A79DBC AE4F0008 */ sw $t7, 0x0008($s2) ## 0000002C
/* 00E10 80A79DC0 0C01DE1C */ jal Math_SinS
## sins?
/* 00E14 80A79DC4 860400B6 */ lh $a0, 0x00B6($s0) ## 000000B6
/* 00E18 80A79DC8 3C0142C8 */ lui $at, 0x42C8 ## $at = 42C80000
/* 00E1C 80A79DCC 44813000 */ mtc1 $at, $f6 ## $f6 = 100.00
/* 00E20 80A79DD0 C6240024 */ lwc1 $f4, 0x0024($s1) ## 00000024
/* 00E24 80A79DD4 46003202 */ mul.s $f8, $f6, $f0
/* 00E28 80A79DD8 46082280 */ add.s $f10, $f4, $f8
/* 00E2C 80A79DDC E62A0024 */ swc1 $f10, 0x0024($s1) ## 00000024
/* 00E30 80A79DE0 0C01DE0D */ jal Math_CosS
## coss?
/* 00E34 80A79DE4 860400B6 */ lh $a0, 0x00B6($s0) ## 000000B6
/* 00E38 80A79DE8 3C0142C8 */ lui $at, 0x42C8 ## $at = 42C80000
/* 00E3C 80A79DEC 44819000 */ mtc1 $at, $f18 ## $f18 = 100.00
/* 00E40 80A79DF0 C630002C */ lwc1 $f16, 0x002C($s1) ## 0000002C
/* 00E44 80A79DF4 8E220440 */ lw $v0, 0x0440($s1) ## 00000440
/* 00E48 80A79DF8 46009182 */ mul.s $f6, $f18, $f0
/* 00E4C 80A79DFC 240A000A */ addiu $t2, $zero, 0x000A ## $t2 = 0000000A
/* 00E50 80A79E00 46068100 */ add.s $f4, $f16, $f6
/* 00E54 80A79E04 1040000A */ beq $v0, $zero, .L80A79E30
/* 00E58 80A79E08 E624002C */ swc1 $f4, 0x002C($s1) ## 0000002C
/* 00E5C 80A79E0C 8E590000 */ lw $t9, 0x0000($s2) ## 00000024
/* 00E60 80A79E10 2408000A */ addiu $t0, $zero, 0x000A ## $t0 = 0000000A
/* 00E64 80A79E14 AC590024 */ sw $t9, 0x0024($v0) ## 00000024
/* 00E68 80A79E18 8E580004 */ lw $t8, 0x0004($s2) ## 00000028
/* 00E6C 80A79E1C AC580028 */ sw $t8, 0x0028($v0) ## 00000028
/* 00E70 80A79E20 8E590008 */ lw $t9, 0x0008($s2) ## 0000002C
/* 00E74 80A79E24 AC59002C */ sw $t9, 0x002C($v0) ## 0000002C
/* 00E78 80A79E28 8E290440 */ lw $t1, 0x0440($s1) ## 00000440
/* 00E7C 80A79E2C A5280110 */ sh $t0, 0x0110($t1) ## 00000110
.L80A79E30:
/* 00E80 80A79E30 A62A0110 */ sh $t2, 0x0110($s1) ## 00000110
/* 00E84 80A79E34 8E0B0004 */ lw $t3, 0x0004($s0) ## 00000004
/* 00E88 80A79E38 2401FFFE */ addiu $at, $zero, 0xFFFE ## $at = FFFFFFFE
/* 00E8C 80A79E3C 24040020 */ addiu $a0, $zero, 0x0020 ## $a0 = 00000020
/* 00E90 80A79E40 01616024 */ and $t4, $t3, $at
/* 00E94 80A79E44 0C02CE10 */ jal ShrinkWindow_SetVal ## letterbox_target_addr
/* 00E98 80A79E48 AE0C0004 */ sw $t4, 0x0004($s0) ## 00000004
/* 00E9C 80A79E4C 0C020978 */ jal Interface_ChangeAlpha
/* 00EA0 80A79E50 24040002 */ addiu $a0, $zero, 0x0002 ## $a0 = 00000002
/* 00EA4 80A79E54 8FBF0024 */ lw $ra, 0x0024($sp)
/* 00EA8 80A79E58 8FB00018 */ lw $s0, 0x0018($sp)
/* 00EAC 80A79E5C 8FB1001C */ lw $s1, 0x001C($sp)
/* 00EB0 80A79E60 8FB20020 */ lw $s2, 0x0020($sp)
/* 00EB4 80A79E64 03E00008 */ jr $ra
/* 00EB8 80A79E68 27BD0058 */ addiu $sp, $sp, 0x0058 ## $sp = 00000000

View file

@ -1,262 +0,0 @@
.late_rodata
glabel jtbl_80A7BA9C
.word L80A7A1A4
.word L80A7A1BC
.word L80A7A1A4
.word L80A7A1A4
.word L80A7A1A4
.word L80A7A1D0
.word L80A7A1D0
.word L80A7A1A4
glabel jtbl_80A7BABC
.word L80A7A21C
.word L80A7A244
.word L80A7A21C
.word L80A7A270
.word L80A7A28C
.word L80A7A2B0
.word L80A7A2B0
.word L80A7A2D8
.text
glabel func_80A79FB0
/* 01000 80A79FB0 27BDFFC0 */ addiu $sp, $sp, 0xFFC0 ## $sp = FFFFFFC0
/* 01004 80A79FB4 AFB00028 */ sw $s0, 0x0028($sp)
/* 01008 80A79FB8 3C010001 */ lui $at, 0x0001 ## $at = 00010000
/* 0100C 80A79FBC 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 01010 80A79FC0 342117A4 */ ori $at, $at, 0x17A4 ## $at = 000117A4
/* 01014 80A79FC4 AFBF002C */ sw $ra, 0x002C($sp)
/* 01018 80A79FC8 AFA50044 */ sw $a1, 0x0044($sp)
/* 0101C 80A79FCC AFA0003C */ sw $zero, 0x003C($sp)
/* 01020 80A79FD0 00A12021 */ addu $a0, $a1, $at
/* 01024 80A79FD4 0C026062 */ jal Object_IsLoaded
/* 01028 80A79FD8 820501E4 */ lb $a1, 0x01E4($s0) ## 000001E4
/* 0102C 80A79FDC 14400003 */ bne $v0, $zero, .L80A79FEC
/* 01030 80A79FE0 00000000 */ nop
/* 01034 80A79FE4 860E001C */ lh $t6, 0x001C($s0) ## 0000001C
/* 01038 80A79FE8 1DC000C1 */ bgtz $t6, .L80A7A2F0
.L80A79FEC:
/* 0103C 80A79FEC 3C068003 */ lui $a2, %hi(ActorShadow_DrawFunc_Circle)
/* 01040 80A79FF0 24C6B5EC */ addiu $a2, %lo(ActorShadow_DrawFunc_Circle)
/* 01044 80A79FF4 260400B4 */ addiu $a0, $s0, 0x00B4 ## $a0 = 000000B4
/* 01048 80A79FF8 24050000 */ addiu $a1, $zero, 0x0000 ## $a1 = 00000000
/* 0104C 80A79FFC 0C00AC78 */ jal ActorShape_Init
/* 01050 80A7A000 3C074210 */ lui $a3, 0x4210 ## $a3 = 42100000
/* 01054 80A7A004 3C060601 */ lui $a2, %hi(D_06013B88) ## $a2 = 06010000
/* 01058 80A7A008 260F01FE */ addiu $t7, $s0, 0x01FE ## $t7 = 000001FE
/* 0105C 80A7A00C 26180276 */ addiu $t8, $s0, 0x0276 ## $t8 = 00000276
/* 01060 80A7A010 24190014 */ addiu $t9, $zero, 0x0014 ## $t9 = 00000014
/* 01064 80A7A014 AFB90018 */ sw $t9, 0x0018($sp)
/* 01068 80A7A018 AFB80014 */ sw $t8, 0x0014($sp)
/* 0106C 80A7A01C AFAF0010 */ sw $t7, 0x0010($sp)
/* 01070 80A7A020 24C63B88 */ addiu $a2, $a2, %lo(D_06013B88) ## $a2 = 06013B88
/* 01074 80A7A024 8FA40044 */ lw $a0, 0x0044($sp)
/* 01078 80A7A028 2605014C */ addiu $a1, $s0, 0x014C ## $a1 = 0000014C
/* 0107C 80A7A02C 0C0291BE */ jal SkelAnime_InitFlex
/* 01080 80A7A030 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 01084 80A7A034 26050194 */ addiu $a1, $s0, 0x0194 ## $a1 = 00000194
/* 01088 80A7A038 AFA50034 */ sw $a1, 0x0034($sp)
/* 0108C 80A7A03C 0C0170D9 */ jal Collider_InitCylinder
/* 01090 80A7A040 8FA40044 */ lw $a0, 0x0044($sp)
/* 01094 80A7A044 3C0780A8 */ lui $a3, %hi(D_80A7B840) ## $a3 = 80A80000
/* 01098 80A7A048 8FA50034 */ lw $a1, 0x0034($sp)
/* 0109C 80A7A04C 24E7B840 */ addiu $a3, $a3, %lo(D_80A7B840) ## $a3 = 80A7B840
/* 010A0 80A7A050 8FA40044 */ lw $a0, 0x0044($sp)
/* 010A4 80A7A054 0C01712B */ jal Collider_SetCylinder
/* 010A8 80A7A058 02003025 */ or $a2, $s0, $zero ## $a2 = 00000000
/* 010AC 80A7A05C 3C0680A8 */ lui $a2, %hi(D_80A7B86C) ## $a2 = 80A80000
/* 010B0 80A7A060 24C6B86C */ addiu $a2, $a2, %lo(D_80A7B86C) ## $a2 = 80A7B86C
/* 010B4 80A7A064 26040098 */ addiu $a0, $s0, 0x0098 ## $a0 = 00000098
/* 010B8 80A7A068 0C0187BF */ jal func_80061EFC
/* 010BC 80A7A06C 00002825 */ or $a1, $zero, $zero ## $a1 = 00000000
/* 010C0 80A7A070 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 010C4 80A7A074 0C29E5D7 */ jal func_80A7975C
/* 010C8 80A7A078 8FA50044 */ lw $a1, 0x0044($sp)
/* 010CC 80A7A07C 10400008 */ beq $v0, $zero, .L80A7A0A0
/* 010D0 80A7A080 3C068016 */ lui $a2, %hi(gSaveContext)
/* 010D4 80A7A084 24C6E660 */ addiu $a2, %lo(gSaveContext)
/* 010D8 80A7A088 94C813FA */ lhu $t0, 0x13FA($a2) ## 8015FA5A
/* 010DC 80A7A08C 3C01FFFF */ lui $at, 0xFFFF ## $at = FFFF0000
/* 010E0 80A7A090 34217FFF */ ori $at, $at, 0x7FFF ## $at = FFFF7FFF
/* 010E4 80A7A094 01014824 */ and $t1, $t0, $at
/* 010E8 80A7A098 10000095 */ beq $zero, $zero, .L80A7A2F0
/* 010EC 80A7A09C A4C913FA */ sh $t1, 0x13FA($a2) ## 8015FA5A
.L80A7A0A0:
/* 010F0 80A7A0A0 3C053C23 */ lui $a1, 0x3C23 ## $a1 = 3C230000
/* 010F4 80A7A0A4 34A5D70A */ ori $a1, $a1, 0xD70A ## $a1 = 3C23D70A
/* 010F8 80A7A0A8 0C00B58B */ jal Actor_SetScale
/* 010FC 80A7A0AC 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 01100 80A7A0B0 3C0280A8 */ lui $v0, %hi(func_80A7A4BC) ## $v0 = 80A80000
/* 01104 80A7A0B4 240A0006 */ addiu $t2, $zero, 0x0006 ## $t2 = 00000006
/* 01108 80A7A0B8 2442A4BC */ addiu $v0, $v0, %lo(func_80A7A4BC) ## $v0 = 80A7A4BC
/* 0110C 80A7A0BC A20A001F */ sb $t2, 0x001F($s0) ## 0000001F
/* 01110 80A7A0C0 A6000308 */ sh $zero, 0x0308($s0) ## 00000308
/* 01114 80A7A0C4 AE020190 */ sw $v0, 0x0190($s0) ## 00000190
/* 01118 80A7A0C8 AFA20034 */ sw $v0, 0x0034($sp)
/* 0111C 80A7A0CC 8FA50044 */ lw $a1, 0x0044($sp)
/* 01120 80A7A0D0 0C29E60C */ jal func_80A79830
/* 01124 80A7A0D4 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 01128 80A7A0D8 1040002E */ beq $v0, $zero, .L80A7A194
/* 0112C 80A7A0DC 24050001 */ addiu $a1, $zero, 0x0001 ## $a1 = 00000001
/* 01130 80A7A0E0 10450011 */ beq $v0, $a1, .L80A7A128
/* 01134 80A7A0E4 24030003 */ addiu $v1, $zero, 0x0003 ## $v1 = 00000003
/* 01138 80A7A0E8 10430015 */ beq $v0, $v1, .L80A7A140
/* 0113C 80A7A0EC 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 01140 80A7A0F0 24040004 */ addiu $a0, $zero, 0x0004 ## $a0 = 00000004
/* 01144 80A7A0F4 1044001F */ beq $v0, $a0, .L80A7A174
/* 01148 80A7A0F8 3C068016 */ lui $a2, %hi(gSaveContext)
/* 0114C 80A7A0FC 24C6E660 */ addiu $a2, %lo(gSaveContext)
/* 01150 80A7A100 94C213FA */ lhu $v0, 0x13FA($a2) ## 8015FA5A
/* 01154 80A7A104 3042000F */ andi $v0, $v0, 0x000F ## $v0 = 00000000
/* 01158 80A7A108 2C410008 */ sltiu $at, $v0, 0x0008
/* 0115C 80A7A10C 10200034 */ beq $at, $zero, .L80A7A1E0
/* 01160 80A7A110 00025880 */ sll $t3, $v0, 2
/* 01164 80A7A114 3C0180A8 */ lui $at, %hi(jtbl_80A7BA9C) ## $at = 80A80000
/* 01168 80A7A118 002B0821 */ addu $at, $at, $t3
/* 0116C 80A7A11C 8C2BBA9C */ lw $t3, %lo(jtbl_80A7BA9C)($at)
/* 01170 80A7A120 01600008 */ jr $t3
/* 01174 80A7A124 00000000 */ nop
.L80A7A128:
/* 01178 80A7A128 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 0117C 80A7A12C 0C29E5BB */ jal func_80A796EC
/* 01180 80A7A130 24050009 */ addiu $a1, $zero, 0x0009 ## $a1 = 00000009
/* 01184 80A7A134 8FAC0034 */ lw $t4, 0x0034($sp)
/* 01188 80A7A138 1000006D */ beq $zero, $zero, .L80A7A2F0
/* 0118C 80A7A13C AE0C0190 */ sw $t4, 0x0190($s0) ## 00000190
.L80A7A140:
/* 01190 80A7A140 0C29E5BB */ jal func_80A796EC
/* 01194 80A7A144 24050007 */ addiu $a1, $zero, 0x0007 ## $a1 = 00000007
/* 01198 80A7A148 8FAD0034 */ lw $t5, 0x0034($sp)
/* 0119C 80A7A14C 3C068016 */ lui $a2, %hi(gSaveContext)
/* 011A0 80A7A150 24C6E660 */ addiu $a2, %lo(gSaveContext)
/* 011A4 80A7A154 AE0D0190 */ sw $t5, 0x0190($s0) ## 00000190
/* 011A8 80A7A158 94CE0ED6 */ lhu $t6, 0x0ED6($a2) ## 8015F536
/* 011AC 80A7A15C 24180005 */ addiu $t8, $zero, 0x0005 ## $t8 = 00000005
/* 011B0 80A7A160 31CF0100 */ andi $t7, $t6, 0x0100 ## $t7 = 00000000
/* 011B4 80A7A164 55E00063 */ bnel $t7, $zero, .L80A7A2F4
/* 011B8 80A7A168 8FBF002C */ lw $ra, 0x002C($sp)
/* 011BC 80A7A16C 10000060 */ beq $zero, $zero, .L80A7A2F0
/* 011C0 80A7A170 A618001C */ sh $t8, 0x001C($s0) ## 0000001C
.L80A7A174:
/* 011C4 80A7A174 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 011C8 80A7A178 0C29E5BB */ jal func_80A796EC
/* 011CC 80A7A17C 24050008 */ addiu $a1, $zero, 0x0008 ## $a1 = 00000008
/* 011D0 80A7A180 24030003 */ addiu $v1, $zero, 0x0003 ## $v1 = 00000003
/* 011D4 80A7A184 A60301EE */ sh $v1, 0x01EE($s0) ## 000001EE
/* 011D8 80A7A188 8FB90034 */ lw $t9, 0x0034($sp)
/* 011DC 80A7A18C 10000058 */ beq $zero, $zero, .L80A7A2F0
/* 011E0 80A7A190 AE190190 */ sw $t9, 0x0190($s0) ## 00000190
.L80A7A194:
/* 011E4 80A7A194 0C00B55C */ jal Actor_Kill
/* 011E8 80A7A198 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 011EC 80A7A19C 10000055 */ beq $zero, $zero, .L80A7A2F4
/* 011F0 80A7A1A0 8FBF002C */ lw $ra, 0x002C($sp)
glabel L80A7A1A4
/* 011F4 80A7A1A4 8608001C */ lh $t0, 0x001C($s0) ## 0000001C
/* 011F8 80A7A1A8 24010002 */ addiu $at, $zero, 0x0002 ## $at = 00000002
/* 011FC 80A7A1AC 5501000D */ bnel $t0, $at, .L80A7A1E4
/* 01200 80A7A1B0 8FAB003C */ lw $t3, 0x003C($sp)
/* 01204 80A7A1B4 1000000A */ beq $zero, $zero, .L80A7A1E0
/* 01208 80A7A1B8 AFA5003C */ sw $a1, 0x003C($sp)
glabel L80A7A1BC
/* 0120C 80A7A1BC 8609001C */ lh $t1, 0x001C($s0) ## 0000001C
/* 01210 80A7A1C0 54690008 */ bnel $v1, $t1, .L80A7A1E4
/* 01214 80A7A1C4 8FAB003C */ lw $t3, 0x003C($sp)
/* 01218 80A7A1C8 10000005 */ beq $zero, $zero, .L80A7A1E0
/* 0121C 80A7A1CC AFA5003C */ sw $a1, 0x003C($sp)
glabel L80A7A1D0
/* 01220 80A7A1D0 860A001C */ lh $t2, 0x001C($s0) ## 0000001C
/* 01224 80A7A1D4 548A0003 */ bnel $a0, $t2, .L80A7A1E4
/* 01228 80A7A1D8 8FAB003C */ lw $t3, 0x003C($sp)
/* 0122C 80A7A1DC AFA5003C */ sw $a1, 0x003C($sp)
.L80A7A1E0:
/* 01230 80A7A1E0 8FAB003C */ lw $t3, 0x003C($sp)
.L80A7A1E4:
/* 01234 80A7A1E4 2C410008 */ sltiu $at, $v0, 0x0008
/* 01238 80A7A1E8 11650005 */ beq $t3, $a1, .L80A7A200
/* 0123C 80A7A1EC 00000000 */ nop
/* 01240 80A7A1F0 0C00B55C */ jal Actor_Kill
/* 01244 80A7A1F4 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 01248 80A7A1F8 1000003E */ beq $zero, $zero, .L80A7A2F4
/* 0124C 80A7A1FC 8FBF002C */ lw $ra, 0x002C($sp)
.L80A7A200:
/* 01250 80A7A200 1020003B */ beq $at, $zero, .L80A7A2F0
/* 01254 80A7A204 00026080 */ sll $t4, $v0, 2
/* 01258 80A7A208 3C0180A8 */ lui $at, %hi(jtbl_80A7BABC) ## $at = 80A80000
/* 0125C 80A7A20C 002C0821 */ addu $at, $at, $t4
/* 01260 80A7A210 8C2CBABC */ lw $t4, %lo(jtbl_80A7BABC)($at)
/* 01264 80A7A214 01800008 */ jr $t4
/* 01268 80A7A218 00000000 */ nop
glabel L80A7A21C
/* 0126C 80A7A21C 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 01270 80A7A220 0C29E5BB */ jal func_80A796EC
/* 01274 80A7A224 24050002 */ addiu $a1, $zero, 0x0002 ## $a1 = 00000002
/* 01278 80A7A228 3C0D80A8 */ lui $t5, %hi(func_80A7A4C8) ## $t5 = 80A80000
/* 0127C 80A7A22C 3C068016 */ lui $a2, %hi(gSaveContext)
/* 01280 80A7A230 25ADA4C8 */ addiu $t5, $t5, %lo(func_80A7A4C8) ## $t5 = 80A7A4C8
/* 01284 80A7A234 24C6E660 */ addiu $a2, %lo(gSaveContext)
/* 01288 80A7A238 AE0D0190 */ sw $t5, 0x0190($s0) ## 00000190
/* 0128C 80A7A23C 1000002C */ beq $zero, $zero, .L80A7A2F0
/* 01290 80A7A240 A4C013FA */ sh $zero, 0x13FA($a2) ## 8015FA5A
glabel L80A7A244
/* 01294 80A7A244 A203001F */ sb $v1, 0x001F($s0) ## 0000001F
/* 01298 80A7A248 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 0129C 80A7A24C 0C29E5BB */ jal func_80A796EC
/* 012A0 80A7A250 24050002 */ addiu $a1, $zero, 0x0002 ## $a1 = 00000002
/* 012A4 80A7A254 3C0E80A8 */ lui $t6, %hi(func_80A7A568) ## $t6 = 80A80000
/* 012A8 80A7A258 25CEA568 */ addiu $t6, $t6, %lo(func_80A7A568) ## $t6 = 80A7A568
/* 012AC 80A7A25C AE0E0190 */ sw $t6, 0x0190($s0) ## 00000190
/* 012B0 80A7A260 0C0222CD */ jal func_80088B34
/* 012B4 80A7A264 2404003C */ addiu $a0, $zero, 0x003C ## $a0 = 0000003C
/* 012B8 80A7A268 10000022 */ beq $zero, $zero, .L80A7A2F4
/* 012BC 80A7A26C 8FBF002C */ lw $ra, 0x002C($sp)
glabel L80A7A270
/* 012C0 80A7A270 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 012C4 80A7A274 0C29E5BB */ jal func_80A796EC
/* 012C8 80A7A278 24050004 */ addiu $a1, $zero, 0x0004 ## $a1 = 00000004
/* 012CC 80A7A27C 3C0F80A8 */ lui $t7, %hi(func_80A7A770) ## $t7 = 80A80000
/* 012D0 80A7A280 25EFA770 */ addiu $t7, $t7, %lo(func_80A7A770) ## $t7 = 80A7A770
/* 012D4 80A7A284 1000001A */ beq $zero, $zero, .L80A7A2F0
/* 012D8 80A7A288 AE0F0190 */ sw $t7, 0x0190($s0) ## 00000190
glabel L80A7A28C
/* 012DC 80A7A28C 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 012E0 80A7A290 0C29E5BB */ jal func_80A796EC
/* 012E4 80A7A294 24050006 */ addiu $a1, $zero, 0x0006 ## $a1 = 00000006
/* 012E8 80A7A298 3C1980A8 */ lui $t9, %hi(func_80A7A940) ## $t9 = 80A80000
/* 012EC 80A7A29C 24180008 */ addiu $t8, $zero, 0x0008 ## $t8 = 00000008
/* 012F0 80A7A2A0 2739A940 */ addiu $t9, $t9, %lo(func_80A7A940) ## $t9 = 80A7A940
/* 012F4 80A7A2A4 A61801EC */ sh $t8, 0x01EC($s0) ## 000001EC
/* 012F8 80A7A2A8 10000011 */ beq $zero, $zero, .L80A7A2F0
/* 012FC 80A7A2AC AE190190 */ sw $t9, 0x0190($s0) ## 00000190
glabel L80A7A2B0
/* 01300 80A7A2B0 A203001F */ sb $v1, 0x001F($s0) ## 0000001F
/* 01304 80A7A2B4 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 01308 80A7A2B8 0C29E5BB */ jal func_80A796EC
/* 0130C 80A7A2BC 24050006 */ addiu $a1, $zero, 0x0006 ## $a1 = 00000006
/* 01310 80A7A2C0 3C0980A8 */ lui $t1, %hi(func_80A7AA40) ## $t1 = 80A80000
/* 01314 80A7A2C4 24080008 */ addiu $t0, $zero, 0x0008 ## $t0 = 00000008
/* 01318 80A7A2C8 2529AA40 */ addiu $t1, $t1, %lo(func_80A7AA40) ## $t1 = 80A7AA40
/* 0131C 80A7A2CC A60801EC */ sh $t0, 0x01EC($s0) ## 000001EC
/* 01320 80A7A2D0 10000007 */ beq $zero, $zero, .L80A7A2F0
/* 01324 80A7A2D4 AE090190 */ sw $t1, 0x0190($s0) ## 00000190
glabel L80A7A2D8
/* 01328 80A7A2D8 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 0132C 80A7A2DC 0C29E5BB */ jal func_80A796EC
/* 01330 80A7A2E0 24050002 */ addiu $a1, $zero, 0x0002 ## $a1 = 00000002
/* 01334 80A7A2E4 3C0A80A8 */ lui $t2, %hi(func_80A7A848) ## $t2 = 80A80000
/* 01338 80A7A2E8 254AA848 */ addiu $t2, $t2, %lo(func_80A7A848) ## $t2 = 80A7A848
/* 0133C 80A7A2EC AE0A0190 */ sw $t2, 0x0190($s0) ## 00000190
.L80A7A2F0:
/* 01340 80A7A2F0 8FBF002C */ lw $ra, 0x002C($sp)
.L80A7A2F4:
/* 01344 80A7A2F4 8FB00028 */ lw $s0, 0x0028($sp)
/* 01348 80A7A2F8 27BD0040 */ addiu $sp, $sp, 0x0040 ## $sp = 00000000
/* 0134C 80A7A2FC 03E00008 */ jr $ra
/* 01350 80A7A300 00000000 */ nop

View file

@ -1,131 +0,0 @@
.late_rodata
glabel D_80A7BADC
.float 0.3
.text
glabel func_80A7A304
/* 01354 80A7A304 27BDFFC0 */ addiu $sp, $sp, 0xFFC0 ## $sp = FFFFFFC0
/* 01358 80A7A308 AFBF002C */ sw $ra, 0x002C($sp)
/* 0135C 80A7A30C AFB00028 */ sw $s0, 0x0028($sp)
/* 01360 80A7A310 AFA50044 */ sw $a1, 0x0044($sp)
/* 01364 80A7A314 8C820154 */ lw $v0, 0x0154($a0) ## 00000154
/* 01368 80A7A318 3C0E0601 */ lui $t6, %hi(D_06015814) ## $t6 = 06010000
/* 0136C 80A7A31C 25CE5814 */ addiu $t6, $t6, %lo(D_06015814) ## $t6 = 06015814
/* 01370 80A7A320 11C20004 */ beq $t6, $v0, .L80A7A334
/* 01374 80A7A324 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 01378 80A7A328 3C0F0601 */ lui $t7, %hi(D_0601646C) ## $t7 = 06010000
/* 0137C 80A7A32C 25EF646C */ addiu $t7, $t7, %lo(D_0601646C) ## $t7 = 0601646C
/* 01380 80A7A330 15E2000C */ bne $t7, $v0, .L80A7A364
.L80A7A334:
/* 01384 80A7A334 3C014100 */ lui $at, 0x4100 ## $at = 41000000
/* 01388 80A7A338 44812000 */ mtc1 $at, $f4 ## $f4 = 8.00
/* 0138C 80A7A33C C6060164 */ lwc1 $f6, 0x0164($s0) ## 00000164
/* 01390 80A7A340 260400E4 */ addiu $a0, $s0, 0x00E4 ## $a0 = 000000E4
/* 01394 80A7A344 24056856 */ addiu $a1, $zero, 0x6856 ## $a1 = 00006856
/* 01398 80A7A348 46062032 */ c.eq.s $f4, $f6
/* 0139C 80A7A34C 00000000 */ nop
/* 013A0 80A7A350 45000004 */ bc1f .L80A7A364
/* 013A4 80A7A354 00000000 */ nop
/* 013A8 80A7A358 0C03D078 */ jal func_800F41E0
/* 013AC 80A7A35C 24060002 */ addiu $a2, $zero, 0x0002 ## $a2 = 00000002
/* 013B0 80A7A360 8E020154 */ lw $v0, 0x0154($s0) ## 00000154
.L80A7A364:
/* 013B4 80A7A364 3C180602 */ lui $t8, %hi(D_06018C38) ## $t8 = 06020000
/* 013B8 80A7A368 27188C38 */ addiu $t8, $t8, %lo(D_06018C38) ## $t8 = 06018C38
/* 013BC 80A7A36C 1702000A */ bne $t8, $v0, .L80A7A398
/* 013C0 80A7A370 3C0141A0 */ lui $at, 0x41A0 ## $at = 41A00000
/* 013C4 80A7A374 44814000 */ mtc1 $at, $f8 ## $f8 = 20.00
/* 013C8 80A7A378 C60A0164 */ lwc1 $f10, 0x0164($s0) ## 00000164
/* 013CC 80A7A37C 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 013D0 80A7A380 460A4032 */ c.eq.s $f8, $f10
/* 013D4 80A7A384 00000000 */ nop
/* 013D8 80A7A388 45020004 */ bc1fl .L80A7A39C
/* 013DC 80A7A38C 2604014C */ addiu $a0, $s0, 0x014C ## $a0 = 0000014C
/* 013E0 80A7A390 0C00BE0A */ jal Audio_PlayActorSound2
/* 013E4 80A7A394 24056854 */ addiu $a1, $zero, 0x6854 ## $a1 = 00006854
.L80A7A398:
/* 013E8 80A7A398 2604014C */ addiu $a0, $s0, 0x014C ## $a0 = 0000014C
.L80A7A39C:
/* 013EC 80A7A39C 0C02927F */ jal SkelAnime_Update
/* 013F0 80A7A3A0 AFA40034 */ sw $a0, 0x0034($sp)
/* 013F4 80A7A3A4 50400041 */ beql $v0, $zero, .L80A7A4AC
/* 013F8 80A7A3A8 8FBF002C */ lw $ra, 0x002C($sp)
/* 013FC 80A7A3AC 861901E6 */ lh $t9, 0x01E6($s0) ## 000001E6
/* 01400 80A7A3B0 24010003 */ addiu $at, $zero, 0x0003 ## $at = 00000003
/* 01404 80A7A3B4 3C078013 */ lui $a3, %hi(D_801333E0)
/* 01408 80A7A3B8 07210004 */ bgez $t9, .L80A7A3CC
/* 0140C 80A7A3BC 33280007 */ andi $t0, $t9, 0x0007 ## $t0 = 00000000
/* 01410 80A7A3C0 11000002 */ beq $t0, $zero, .L80A7A3CC
/* 01414 80A7A3C4 00000000 */ nop
/* 01418 80A7A3C8 2508FFF8 */ addiu $t0, $t0, 0xFFF8 ## $t0 = FFFFFFF8
.L80A7A3CC:
/* 0141C 80A7A3CC A60801E6 */ sh $t0, 0x01E6($s0) ## 000001E6
/* 01420 80A7A3D0 860201E6 */ lh $v0, 0x01E6($s0) ## 000001E6
/* 01424 80A7A3D4 24E733E0 */ addiu $a3, %lo(D_801333E0)
/* 01428 80A7A3D8 2404181E */ addiu $a0, $zero, 0x181E ## $a0 = 0000181E
/* 0142C 80A7A3DC 10410003 */ beq $v0, $at, .L80A7A3EC
/* 01430 80A7A3E0 A60201E8 */ sh $v0, 0x01E8($s0) ## 000001E8
/* 01434 80A7A3E4 24010004 */ addiu $at, $zero, 0x0004 ## $at = 00000004
/* 01438 80A7A3E8 14410018 */ bne $v0, $at, .L80A7A44C
.L80A7A3EC:
/* 0143C 80A7A3EC 3C098013 */ lui $t1, %hi(D_801333E8)
/* 01440 80A7A3F0 252933E8 */ addiu $t1, %lo(D_801333E8)
/* 01444 80A7A3F4 260500E4 */ addiu $a1, $s0, 0x00E4 ## $a1 = 000000E4
/* 01448 80A7A3F8 AFA50038 */ sw $a1, 0x0038($sp)
/* 0144C 80A7A3FC AFA90014 */ sw $t1, 0x0014($sp)
/* 01450 80A7A400 24060004 */ addiu $a2, $zero, 0x0004 ## $a2 = 00000004
/* 01454 80A7A404 0C03DCE3 */ jal Audio_PlaySoundGeneral
/* 01458 80A7A408 AFA70010 */ sw $a3, 0x0010($sp)
/* 0145C 80A7A40C 0C03F66B */ jal Rand_ZeroOne
## Rand.Next() float
/* 01460 80A7A410 00000000 */ nop
/* 01464 80A7A414 3C0180A8 */ lui $at, %hi(D_80A7BADC) ## $at = 80A80000
/* 01468 80A7A418 C430BADC */ lwc1 $f16, %lo(D_80A7BADC)($at)
/* 0146C 80A7A41C 3C078013 */ lui $a3, %hi(D_801333E0)
/* 01470 80A7A420 24E733E0 */ addiu $a3, %lo(D_801333E0)
/* 01474 80A7A424 4610003C */ c.lt.s $f0, $f16
/* 01478 80A7A428 24041844 */ addiu $a0, $zero, 0x1844 ## $a0 = 00001844
/* 0147C 80A7A42C 8FA50038 */ lw $a1, 0x0038($sp)
/* 01480 80A7A430 24060004 */ addiu $a2, $zero, 0x0004 ## $a2 = 00000004
/* 01484 80A7A434 45000005 */ bc1f .L80A7A44C
/* 01488 80A7A438 3C0A8013 */ lui $t2, %hi(D_801333E8)
/* 0148C 80A7A43C 254A33E8 */ addiu $t2, %lo(D_801333E8)
/* 01490 80A7A440 AFAA0014 */ sw $t2, 0x0014($sp)
/* 01494 80A7A444 0C03DCE3 */ jal Audio_PlaySoundGeneral
/* 01498 80A7A448 AFA70010 */ sw $a3, 0x0010($sp)
.L80A7A44C:
/* 0149C 80A7A44C 860B01E6 */ lh $t3, 0x01E6($s0) ## 000001E6
/* 014A0 80A7A450 3C0480A8 */ lui $a0, %hi(D_80A7B918) ## $a0 = 80A80000
/* 014A4 80A7A454 000B6080 */ sll $t4, $t3, 2
/* 014A8 80A7A458 008C2021 */ addu $a0, $a0, $t4
/* 014AC 80A7A45C 0C028800 */ jal Animation_GetLastFrame
/* 014B0 80A7A460 8C84B918 */ lw $a0, %lo(D_80A7B918)($a0)
/* 014B4 80A7A464 44829000 */ mtc1 $v0, $f18 ## $f18 = 0.00
/* 014B8 80A7A468 860D01E6 */ lh $t5, 0x01E6($s0) ## 000001E6
/* 014BC 80A7A46C 3C01C120 */ lui $at, 0xC120 ## $at = C1200000
/* 014C0 80A7A470 46809120 */ cvt.s.w $f4, $f18
/* 014C4 80A7A474 44813000 */ mtc1 $at, $f6 ## $f6 = -10.00
/* 014C8 80A7A478 3C0580A8 */ lui $a1, %hi(D_80A7B918) ## $a1 = 80A80000
/* 014CC 80A7A47C 000D7080 */ sll $t6, $t5, 2
/* 014D0 80A7A480 00AE2821 */ addu $a1, $a1, $t6
/* 014D4 80A7A484 240F0002 */ addiu $t7, $zero, 0x0002 ## $t7 = 00000002
/* 014D8 80A7A488 AFAF0014 */ sw $t7, 0x0014($sp)
/* 014DC 80A7A48C 8CA5B918 */ lw $a1, %lo(D_80A7B918)($a1)
/* 014E0 80A7A490 E7A40010 */ swc1 $f4, 0x0010($sp)
/* 014E4 80A7A494 8FA40034 */ lw $a0, 0x0034($sp)
/* 014E8 80A7A498 3C063F80 */ lui $a2, 0x3F80 ## $a2 = 3F800000
/* 014EC 80A7A49C 24070000 */ addiu $a3, $zero, 0x0000 ## $a3 = 00000000
/* 014F0 80A7A4A0 0C029468 */ jal Animation_Change
/* 014F4 80A7A4A4 E7A60018 */ swc1 $f6, 0x0018($sp)
/* 014F8 80A7A4A8 8FBF002C */ lw $ra, 0x002C($sp)
.L80A7A4AC:
/* 014FC 80A7A4AC 8FB00028 */ lw $s0, 0x0028($sp)
/* 01500 80A7A4B0 27BD0040 */ addiu $sp, $sp, 0x0040 ## $sp = 00000000
/* 01504 80A7A4B4 03E00008 */ jr $ra
/* 01508 80A7A4B8 00000000 */ nop

View file

@ -1,4 +0,0 @@
glabel func_80A7A4BC
/* 0150C 80A7A4BC AFA40000 */ sw $a0, 0x0000($sp)
/* 01510 80A7A4C0 03E00008 */ jr $ra
/* 01514 80A7A4C4 AFA50004 */ sw $a1, 0x0004($sp)

View file

@ -1,42 +0,0 @@
glabel func_80A7A4C8
/* 01518 80A7A4C8 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 0151C 80A7A4CC AFBF0014 */ sw $ra, 0x0014($sp)
/* 01520 80A7A4D0 AFA5001C */ sw $a1, 0x001C($sp)
/* 01524 80A7A4D4 848E0308 */ lh $t6, 0x0308($a0) ## 00000308
/* 01528 80A7A4D8 24010002 */ addiu $at, $zero, 0x0002 ## $at = 00000002
/* 0152C 80A7A4DC 24060001 */ addiu $a2, $zero, 0x0001 ## $a2 = 00000001
/* 01530 80A7A4E0 15C1001D */ bne $t6, $at, .L80A7A558
/* 01534 80A7A4E4 24070020 */ addiu $a3, $zero, 0x0020 ## $a3 = 00000020
/* 01538 80A7A4E8 0C29E6EB */ jal func_80A79BAC
/* 0153C 80A7A4EC AFA40018 */ sw $a0, 0x0018($sp)
/* 01540 80A7A4F0 3C028016 */ lui $v0, %hi(gSaveContext)
/* 01544 80A7A4F4 2442E660 */ addiu $v0, %lo(gSaveContext)
/* 01548 80A7A4F8 944F13FA */ lhu $t7, 0x13FA($v0) ## 8015FA5A
/* 0154C 80A7A4FC 944B0F0C */ lhu $t3, 0x0F0C($v0) ## 8015F56C
/* 01550 80A7A500 3C01FFFF */ lui $at, 0xFFFF ## $at = FFFF0000
/* 01554 80A7A504 31F8FFF0 */ andi $t8, $t7, 0xFFF0 ## $t8 = 00000000
/* 01558 80A7A508 37080001 */ ori $t0, $t8, 0x0001 ## $t0 = 00000001
/* 0155C 80A7A50C 34217FFF */ ori $at, $at, 0x7FFF ## $at = FFFF7FFF
/* 01560 80A7A510 01014824 */ and $t1, $t0, $at
/* 01564 80A7A514 A44813FA */ sh $t0, 0x13FA($v0) ## 8015FA5A
/* 01568 80A7A518 352A8000 */ ori $t2, $t1, 0x8000 ## $t2 = 00008000
/* 0156C 80A7A51C 316CFFFB */ andi $t4, $t3, 0xFFFB ## $t4 = 00000000
/* 01570 80A7A520 A44A13FA */ sh $t2, 0x13FA($v0) ## 8015FA5A
/* 01574 80A7A524 A44C0F0C */ sh $t4, 0x0F0C($v0) ## 8015F56C
/* 01578 80A7A528 0C01DD7C */ jal func_800775F0
/* 0157C 80A7A52C 24040040 */ addiu $a0, $zero, 0x0040 ## $a0 = 00000040
/* 01580 80A7A530 8FA2001C */ lw $v0, 0x001C($sp)
/* 01584 80A7A534 3C010001 */ lui $at, 0x0001 ## $at = 00010000
/* 01588 80A7A538 240D0036 */ addiu $t5, $zero, 0x0036 ## $t5 = 00000036
/* 0158C 80A7A53C 00220821 */ addu $at, $at, $v0
/* 01590 80A7A540 A02004BF */ sb $zero, 0x04BF($at) ## 000104BF
/* 01594 80A7A544 3C010001 */ lui $at, 0x0001 ## $at = 00010000
/* 01598 80A7A548 00220821 */ addu $at, $at, $v0
/* 0159C 80A7A54C A02D03DC */ sb $t5, 0x03DC($at) ## 000103DC
/* 015A0 80A7A550 8FAE0018 */ lw $t6, 0x0018($sp)
/* 015A4 80A7A554 A5C00308 */ sh $zero, 0x0308($t6) ## 00000308
.L80A7A558:
/* 015A8 80A7A558 8FBF0014 */ lw $ra, 0x0014($sp)
/* 015AC 80A7A55C 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
/* 015B0 80A7A560 03E00008 */ jr $ra
/* 015B4 80A7A564 00000000 */ nop

View file

@ -1,142 +0,0 @@
glabel func_80A7A568
/* 015B8 80A7A568 3C028016 */ lui $v0, %hi(gSaveContext)
/* 015BC 80A7A56C 2442E660 */ addiu $v0, %lo(gSaveContext)
/* 015C0 80A7A570 944E0ED6 */ lhu $t6, 0x0ED6($v0) ## 8015F536
/* 015C4 80A7A574 27BDFFD8 */ addiu $sp, $sp, 0xFFD8 ## $sp = FFFFFFD8
/* 015C8 80A7A578 AFBF0024 */ sw $ra, 0x0024($sp)
/* 015CC 80A7A57C AFB10020 */ sw $s1, 0x0020($sp)
/* 015D0 80A7A580 AFB0001C */ sw $s0, 0x001C($sp)
/* 015D4 80A7A584 31CF0800 */ andi $t7, $t6, 0x0800 ## $t7 = 00000000
/* 015D8 80A7A588 00A08025 */ or $s0, $a1, $zero ## $s0 = 00000000
/* 015DC 80A7A58C 00808825 */ or $s1, $a0, $zero ## $s1 = 00000000
/* 015E0 80A7A590 15E00008 */ bne $t7, $zero, .L80A7A5B4
/* 015E4 80A7A594 8CA31C44 */ lw $v1, 0x1C44($a1) ## 00001C44
/* 015E8 80A7A598 8C78067C */ lw $t8, 0x067C($v1) ## 0000067C
/* 015EC 80A7A59C 0018CA00 */ sll $t9, $t8, 8
/* 015F0 80A7A5A0 07230005 */ bgezl $t9, .L80A7A5B8
/* 015F4 80A7A5A4 844A13CE */ lh $t2, 0x13CE($v0) ## 8015FA2E
/* 015F8 80A7A5A8 94480F0C */ lhu $t0, 0x0F0C($v0) ## 8015F56C
/* 015FC 80A7A5AC 35090800 */ ori $t1, $t0, 0x0800 ## $t1 = 00000800
/* 01600 80A7A5B0 A4490F0C */ sh $t1, 0x0F0C($v0) ## 8015F56C
.L80A7A5B4:
/* 01604 80A7A5B4 844A13CE */ lh $t2, 0x13CE($v0) ## 8015FA2E
.L80A7A5B8:
/* 01608 80A7A5B8 2401000A */ addiu $at, $zero, 0x000A ## $at = 0000000A
/* 0160C 80A7A5BC 3C078013 */ lui $a3, %hi(D_801333E0)
/* 01610 80A7A5C0 15410014 */ bne $t2, $at, .L80A7A614
/* 01614 80A7A5C4 24E733E0 */ addiu $a3, %lo(D_801333E0)
/* 01618 80A7A5C8 3C0B8013 */ lui $t3, %hi(D_801333E8)
/* 0161C 80A7A5CC 256B33E8 */ addiu $t3, %lo(D_801333E8)
/* 01620 80A7A5D0 3C058013 */ lui $a1, %hi(D_801333D4)
/* 01624 80A7A5D4 24A533D4 */ addiu $a1, %lo(D_801333D4)
/* 01628 80A7A5D8 AFAB0014 */ sw $t3, 0x0014($sp)
/* 0162C 80A7A5DC 2404482C */ addiu $a0, $zero, 0x482C ## $a0 = 0000482C
/* 01630 80A7A5E0 24060004 */ addiu $a2, $zero, 0x0004 ## $a2 = 00000004
/* 01634 80A7A5E4 0C03DCE3 */ jal Audio_PlaySoundGeneral
/* 01638 80A7A5E8 AFA70010 */ sw $a3, 0x0010($sp)
/* 0163C 80A7A5EC 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
/* 01640 80A7A5F0 0C29E71E */ jal func_80A79C78
/* 01644 80A7A5F4 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000
/* 01648 80A7A5F8 3C0C80A8 */ lui $t4, %hi(func_80A7B024) ## $t4 = 80A80000
/* 0164C 80A7A5FC 3C028016 */ lui $v0, %hi(gSaveContext)
/* 01650 80A7A600 258CB024 */ addiu $t4, $t4, %lo(func_80A7B024) ## $t4 = 80A7B024
/* 01654 80A7A604 2442E660 */ addiu $v0, %lo(gSaveContext)
/* 01658 80A7A608 AE2C0190 */ sw $t4, 0x0190($s1) ## 00000190
/* 0165C 80A7A60C 10000053 */ beq $zero, $zero, .L80A7A75C
/* 01660 80A7A610 A44013CE */ sh $zero, 0x13CE($v0) ## 8015FA2E
.L80A7A614:
/* 01664 80A7A614 862D0308 */ lh $t5, 0x0308($s1) ## 00000308
/* 01668 80A7A618 24010002 */ addiu $at, $zero, 0x0002 ## $at = 00000002
/* 0166C 80A7A61C 3C0E0001 */ lui $t6, 0x0001 ## $t6 = 00010000
/* 01670 80A7A620 15A1004E */ bne $t5, $at, .L80A7A75C
/* 01674 80A7A624 01D07021 */ addu $t6, $t6, $s0
/* 01678 80A7A628 91CE04BD */ lbu $t6, 0x04BD($t6) ## 000104BD
/* 0167C 80A7A62C 3C078013 */ lui $a3, %hi(D_801333E0)
/* 01680 80A7A630 24E733E0 */ addiu $a3, %lo(D_801333E0)
/* 01684 80A7A634 15C0001C */ bne $t6, $zero, .L80A7A6A8
/* 01688 80A7A638 2404482C */ addiu $a0, $zero, 0x482C ## $a0 = 0000482C
/* 0168C 80A7A63C 844F0034 */ lh $t7, 0x0034($v0) ## 8015E694
/* 01690 80A7A640 24180004 */ addiu $t8, $zero, 0x0004 ## $t8 = 00000004
/* 01694 80A7A644 24190036 */ addiu $t9, $zero, 0x0036 ## $t9 = 00000036
/* 01698 80A7A648 29E10032 */ slti $at, $t7, 0x0032
/* 0169C 80A7A64C 10200008 */ beq $at, $zero, .L80A7A670
/* 016A0 80A7A650 3C010001 */ lui $at, 0x0001 ## $at = 00010000
/* 016A4 80A7A654 00300821 */ addu $at, $at, $s0
/* 016A8 80A7A658 A03804BF */ sb $t8, 0x04BF($at) ## 000104BF
/* 016AC 80A7A65C 3C010001 */ lui $at, 0x0001 ## $at = 00010000
/* 016B0 80A7A660 00300821 */ addu $at, $at, $s0
/* 016B4 80A7A664 A03903DC */ sb $t9, 0x03DC($at) ## 000103DC
/* 016B8 80A7A668 1000003C */ beq $zero, $zero, .L80A7A75C
/* 016BC 80A7A66C A6200308 */ sh $zero, 0x0308($s1) ## 00000308
.L80A7A670:
/* 016C0 80A7A670 8E081C44 */ lw $t0, 0x1C44($s0) ## 00001C44
/* 016C4 80A7A674 944C13FA */ lhu $t4, 0x13FA($v0) ## 8015FA5A
/* 016C8 80A7A678 24060002 */ addiu $a2, $zero, 0x0002 ## $a2 = 00000002
/* 016CC 80A7A67C 8D090440 */ lw $t1, 0x0440($t0) ## 00000440
/* 016D0 80A7A680 318DFFEF */ andi $t5, $t4, 0xFFEF ## $t5 = 0000B024
/* 016D4 80A7A684 24070002 */ addiu $a3, $zero, 0x0002 ## $a3 = 00000002
/* 016D8 80A7A688 8D2A0158 */ lw $t2, 0x0158($t1) ## 00000158
/* 016DC 80A7A68C 000A5900 */ sll $t3, $t2, 4
/* 016E0 80A7A690 016D7825 */ or $t7, $t3, $t5 ## $t7 = 0000B024
/* 016E4 80A7A694 31F8FFF0 */ andi $t8, $t7, 0xFFF0 ## $t8 = 0000B020
/* 016E8 80A7A698 A44F13FA */ sh $t7, 0x13FA($v0) ## 8015FA5A
/* 016EC 80A7A69C 37190002 */ ori $t9, $t8, 0x0002 ## $t9 = 0000B022
/* 016F0 80A7A6A0 1000001B */ beq $zero, $zero, .L80A7A710
/* 016F4 80A7A6A4 A45913FA */ sh $t9, 0x13FA($v0) ## 8015FA5A
.L80A7A6A8:
/* 016F8 80A7A6A8 3C088013 */ lui $t0, %hi(D_801333E8)
/* 016FC 80A7A6AC 250833E8 */ addiu $t0, %lo(D_801333E8)
/* 01700 80A7A6B0 3C058013 */ lui $a1, %hi(D_801333D4)
/* 01704 80A7A6B4 24A533D4 */ addiu $a1, %lo(D_801333D4)
/* 01708 80A7A6B8 AFA80014 */ sw $t0, 0x0014($sp)
/* 0170C 80A7A6BC 24060004 */ addiu $a2, $zero, 0x0004 ## $a2 = 00000004
/* 01710 80A7A6C0 0C03DCE3 */ jal Audio_PlaySoundGeneral
/* 01714 80A7A6C4 AFA70010 */ sw $a3, 0x0010($sp)
/* 01718 80A7A6C8 3C028016 */ lui $v0, %hi(gSaveContext)
/* 0171C 80A7A6CC 2442E660 */ addiu $v0, %lo(gSaveContext)
/* 01720 80A7A6D0 94430ED6 */ lhu $v1, 0x0ED6($v0) ## 8015F536
/* 01724 80A7A6D4 30690800 */ andi $t1, $v1, 0x0800 ## $t1 = 00000000
/* 01728 80A7A6D8 55200009 */ bnel $t1, $zero, .L80A7A700
/* 0172C 80A7A6DC 944D13FA */ lhu $t5, 0x13FA($v0) ## 8015FA5A
/* 01730 80A7A6E0 94440F0C */ lhu $a0, 0x0F0C($v0) ## 8015F56C
/* 01734 80A7A6E4 346C0800 */ ori $t4, $v1, 0x0800 ## $t4 = 00000800
/* 01738 80A7A6E8 308A0800 */ andi $t2, $a0, 0x0800 ## $t2 = 00000000
/* 0173C 80A7A6EC 11400003 */ beq $t2, $zero, .L80A7A6FC
/* 01740 80A7A6F0 348B0800 */ ori $t3, $a0, 0x0800 ## $t3 = 00000800
/* 01744 80A7A6F4 A44C0ED6 */ sh $t4, 0x0ED6($v0) ## 8015F536
/* 01748 80A7A6F8 A44B0F0C */ sh $t3, 0x0F0C($v0) ## 8015F56C
.L80A7A6FC:
/* 0174C 80A7A6FC 944D13FA */ lhu $t5, 0x13FA($v0) ## 8015FA5A
.L80A7A700:
/* 01750 80A7A700 00003025 */ or $a2, $zero, $zero ## $a2 = 00000000
/* 01754 80A7A704 24070020 */ addiu $a3, $zero, 0x0020 ## $a3 = 00000020
/* 01758 80A7A708 31AEFFF0 */ andi $t6, $t5, 0xFFF0 ## $t6 = 00000000
/* 0175C 80A7A70C A44E13FA */ sh $t6, 0x13FA($v0) ## 8015FA5A
.L80A7A710:
/* 01760 80A7A710 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
/* 01764 80A7A714 0C29E6EB */ jal func_80A79BAC
/* 01768 80A7A718 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000
/* 0176C 80A7A71C 3C010001 */ lui $at, 0x0001 ## $at = 00010000
/* 01770 80A7A720 3C028016 */ lui $v0, %hi(gSaveContext)
/* 01774 80A7A724 00300821 */ addu $at, $at, $s0
/* 01778 80A7A728 2442E660 */ addiu $v0, %lo(gSaveContext)
/* 0177C 80A7A72C A02004BF */ sb $zero, 0x04BF($at) ## 000104BF
/* 01780 80A7A730 944F13FA */ lhu $t7, 0x13FA($v0) ## 8015FA5A
/* 01784 80A7A734 3C01FFFF */ lui $at, 0xFFFF ## $at = FFFF0000
/* 01788 80A7A738 34217FFF */ ori $at, $at, 0x7FFF ## $at = FFFF7FFF
/* 0178C 80A7A73C 01E1C024 */ and $t8, $t7, $at
/* 01790 80A7A740 37198000 */ ori $t9, $t8, 0x8000 ## $t9 = 00008000
/* 01794 80A7A744 3C010001 */ lui $at, 0x0001 ## $at = 00010000
/* 01798 80A7A748 A45913FA */ sh $t9, 0x13FA($v0) ## 8015FA5A
/* 0179C 80A7A74C 00300821 */ addu $at, $at, $s0
/* 017A0 80A7A750 24080036 */ addiu $t0, $zero, 0x0036 ## $t0 = 00000036
/* 017A4 80A7A754 A02803DC */ sb $t0, 0x03DC($at) ## 000103DC
/* 017A8 80A7A758 A6200308 */ sh $zero, 0x0308($s1) ## 00000308
.L80A7A75C:
/* 017AC 80A7A75C 8FBF0024 */ lw $ra, 0x0024($sp)
/* 017B0 80A7A760 8FB0001C */ lw $s0, 0x001C($sp)
/* 017B4 80A7A764 8FB10020 */ lw $s1, 0x0020($sp)
/* 017B8 80A7A768 03E00008 */ jr $ra
/* 017BC 80A7A76C 27BD0028 */ addiu $sp, $sp, 0x0028 ## $sp = 00000000

View file

@ -1,57 +0,0 @@
glabel func_80A7A770
/* 017C0 80A7A770 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 017C4 80A7A774 AFBF0014 */ sw $ra, 0x0014($sp)
/* 017C8 80A7A778 AFA5001C */ sw $a1, 0x001C($sp)
/* 017CC 80A7A77C 84820308 */ lh $v0, 0x0308($a0) ## 00000308
/* 017D0 80A7A780 00803025 */ or $a2, $a0, $zero ## $a2 = 00000000
/* 017D4 80A7A784 24010002 */ addiu $at, $zero, 0x0002 ## $at = 00000002
/* 017D8 80A7A788 14400006 */ bne $v0, $zero, .L80A7A7A4
/* 017DC 80A7A78C 00000000 */ nop
/* 017E0 80A7A790 8C8E0004 */ lw $t6, 0x0004($a0) ## 00000004
/* 017E4 80A7A794 3C010001 */ lui $at, 0x0001 ## $at = 00010000
/* 017E8 80A7A798 01C17825 */ or $t7, $t6, $at ## $t7 = 00010000
/* 017EC 80A7A79C 10000026 */ beq $zero, $zero, .L80A7A838
/* 017F0 80A7A7A0 AC8F0004 */ sw $t7, 0x0004($a0) ## 00000004
.L80A7A7A4:
/* 017F4 80A7A7A4 14410024 */ bne $v0, $at, .L80A7A838
/* 017F8 80A7A7A8 2404FFCE */ addiu $a0, $zero, 0xFFCE ## $a0 = FFFFFFCE
/* 017FC 80A7A7AC 0C021CC3 */ jal Rupees_ChangeBy
/* 01800 80A7A7B0 AFA60018 */ sw $a2, 0x0018($sp)
/* 01804 80A7A7B4 8FA40018 */ lw $a0, 0x0018($sp)
/* 01808 80A7A7B8 3C01FFFE */ lui $at, 0xFFFE ## $at = FFFE0000
/* 0180C 80A7A7BC 3421FFFF */ ori $at, $at, 0xFFFF ## $at = FFFEFFFF
/* 01810 80A7A7C0 8C980004 */ lw $t8, 0x0004($a0) ## 00000004
/* 01814 80A7A7C4 24050003 */ addiu $a1, $zero, 0x0003 ## $a1 = 00000003
/* 01818 80A7A7C8 0301C824 */ and $t9, $t8, $at
/* 0181C 80A7A7CC 0C29E5BB */ jal func_80A796EC
/* 01820 80A7A7D0 AC990004 */ sw $t9, 0x0004($a0) ## 00000004
/* 01824 80A7A7D4 8FA60018 */ lw $a2, 0x0018($sp)
/* 01828 80A7A7D8 3C0880A8 */ lui $t0, %hi(func_80A7A848) ## $t0 = 80A80000
/* 0182C 80A7A7DC 3C028016 */ lui $v0, %hi(gSaveContext)
/* 01830 80A7A7E0 2508A848 */ addiu $t0, $t0, %lo(func_80A7A848) ## $t0 = 80A7A848
/* 01834 80A7A7E4 2442E660 */ addiu $v0, %lo(gSaveContext)
/* 01838 80A7A7E8 ACC80190 */ sw $t0, 0x0190($a2) ## 00000190
/* 0183C 80A7A7EC 944913FA */ lhu $t1, 0x13FA($v0) ## 8015FA5A
/* 01840 80A7A7F0 24190004 */ addiu $t9, $zero, 0x0004 ## $t9 = 00000004
/* 01844 80A7A7F4 312AFFF0 */ andi $t2, $t1, 0xFFF0 ## $t2 = 00000000
/* 01848 80A7A7F8 354B0007 */ ori $t3, $t2, 0x0007 ## $t3 = 00000007
/* 0184C 80A7A7FC A44B13FA */ sh $t3, 0x13FA($v0) ## 8015FA5A
/* 01850 80A7A800 A4C00308 */ sh $zero, 0x0308($a2) ## 00000308
/* 01854 80A7A804 944D13FA */ lhu $t5, 0x13FA($v0) ## 8015FA5A
/* 01858 80A7A808 35AF0020 */ ori $t7, $t5, 0x0020 ## $t7 = 00000020
/* 0185C 80A7A80C 31F80040 */ andi $t8, $t7, 0x0040 ## $t8 = 00000000
/* 01860 80A7A810 17000009 */ bne $t8, $zero, .L80A7A838
/* 01864 80A7A814 A44F13FA */ sh $t7, 0x13FA($v0) ## 8015FA5A
/* 01868 80A7A818 8FA2001C */ lw $v0, 0x001C($sp)
/* 0186C 80A7A81C 3C010001 */ lui $at, 0x0001 ## $at = 00010000
/* 01870 80A7A820 24080036 */ addiu $t0, $zero, 0x0036 ## $t0 = 00000036
/* 01874 80A7A824 00220821 */ addu $at, $at, $v0
/* 01878 80A7A828 A03904BF */ sb $t9, 0x04BF($at) ## 000104BF
/* 0187C 80A7A82C 3C010001 */ lui $at, 0x0001 ## $at = 00010000
/* 01880 80A7A830 00220821 */ addu $at, $at, $v0
/* 01884 80A7A834 A02803DC */ sb $t0, 0x03DC($at) ## 000103DC
.L80A7A838:
/* 01888 80A7A838 8FBF0014 */ lw $ra, 0x0014($sp)
/* 0188C 80A7A83C 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
/* 01890 80A7A840 03E00008 */ jr $ra
/* 01894 80A7A844 00000000 */ nop

View file

@ -1,68 +0,0 @@
glabel func_80A7A848
/* 01898 80A7A848 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 0189C 80A7A84C AFBF0014 */ sw $ra, 0x0014($sp)
/* 018A0 80A7A850 848E0308 */ lh $t6, 0x0308($a0) ## 00000308
/* 018A4 80A7A854 24010002 */ addiu $at, $zero, 0x0002 ## $at = 00000002
/* 018A8 80A7A858 3C030001 */ lui $v1, 0x0001 ## $v1 = 00010000
/* 018AC 80A7A85C 15C10034 */ bne $t6, $at, .L80A7A930
/* 018B0 80A7A860 00651821 */ addu $v1, $v1, $a1
/* 018B4 80A7A864 906304BD */ lbu $v1, 0x04BD($v1) ## 000104BD
/* 018B8 80A7A868 3C028016 */ lui $v0, %hi(gSaveContext)
/* 018BC 80A7A86C 2442E660 */ addiu $v0, %lo(gSaveContext)
/* 018C0 80A7A870 14600005 */ bne $v1, $zero, .L80A7A888
/* 018C4 80A7A874 00000000 */ nop
/* 018C8 80A7A878 844F0034 */ lh $t7, 0x0034($v0) ## 8015E694
/* 018CC 80A7A87C 29E10032 */ slti $at, $t7, 0x0032
/* 018D0 80A7A880 54200006 */ bnel $at, $zero, .L80A7A89C
/* 018D4 80A7A884 945813FA */ lhu $t8, 0x13FA($v0) ## 8015FA5A
.L80A7A888:
/* 018D8 80A7A888 3C028016 */ lui $v0, %hi(gSaveContext)
/* 018DC 80A7A88C 24010001 */ addiu $at, $zero, 0x0001 ## $at = 00000001
/* 018E0 80A7A890 14610008 */ bne $v1, $at, .L80A7A8B4
/* 018E4 80A7A894 2442E660 */ addiu $v0, %lo(gSaveContext)
/* 018E8 80A7A898 945813FA */ lhu $t8, 0x13FA($v0) ## 8015FA5A
.L80A7A89C:
/* 018EC 80A7A89C 3C0880A8 */ lui $t0, %hi(func_80A7A4C8) ## $t0 = 80A80000
/* 018F0 80A7A8A0 2508A4C8 */ addiu $t0, $t0, %lo(func_80A7A4C8) ## $t0 = 80A7A4C8
/* 018F4 80A7A8A4 3319FFF0 */ andi $t9, $t8, 0xFFF0 ## $t9 = 00000000
/* 018F8 80A7A8A8 A45913FA */ sh $t9, 0x13FA($v0) ## 8015FA5A
/* 018FC 80A7A8AC 1000001A */ beq $zero, $zero, .L80A7A918
/* 01900 80A7A8B0 AC880190 */ sw $t0, 0x0190($a0) ## 00000190
.L80A7A8B4:
/* 01904 80A7A8B4 24060002 */ addiu $a2, $zero, 0x0002 ## $a2 = 00000002
/* 01908 80A7A8B8 24070026 */ addiu $a3, $zero, 0x0026 ## $a3 = 00000026
/* 0190C 80A7A8BC AFA40018 */ sw $a0, 0x0018($sp)
/* 01910 80A7A8C0 0C29E6EB */ jal func_80A79BAC
/* 01914 80A7A8C4 AFA5001C */ sw $a1, 0x001C($sp)
/* 01918 80A7A8C8 3C028016 */ lui $v0, %hi(gSaveContext)
/* 0191C 80A7A8CC 2442E660 */ addiu $v0, %lo(gSaveContext)
/* 01920 80A7A8D0 944913FA */ lhu $t1, 0x13FA($v0) ## 8015FA5A
/* 01924 80A7A8D4 3C01FFFF */ lui $at, 0xFFFF ## $at = FFFF0000
/* 01928 80A7A8D8 34217FFF */ ori $at, $at, 0x7FFF ## $at = FFFF7FFF
/* 0192C 80A7A8DC 312AFFF0 */ andi $t2, $t1, 0xFFF0 ## $t2 = 00000000
/* 01930 80A7A8E0 354C0002 */ ori $t4, $t2, 0x0002 ## $t4 = 00000002
/* 01934 80A7A8E4 8FA5001C */ lw $a1, 0x001C($sp)
/* 01938 80A7A8E8 01816824 */ and $t5, $t4, $at
/* 0193C 80A7A8EC A44C13FA */ sh $t4, 0x13FA($v0) ## 8015FA5A
/* 01940 80A7A8F0 35AE8000 */ ori $t6, $t5, 0x8000 ## $t6 = 00008000
/* 01944 80A7A8F4 3C010001 */ lui $at, 0x0001 ## $at = 00010000
/* 01948 80A7A8F8 8FA40018 */ lw $a0, 0x0018($sp)
/* 0194C 80A7A8FC A44E13FA */ sh $t6, 0x13FA($v0) ## 8015FA5A
/* 01950 80A7A900 00250821 */ addu $at, $at, $a1
/* 01954 80A7A904 A02004BF */ sb $zero, 0x04BF($at) ## 000104BF
/* 01958 80A7A908 3C010001 */ lui $at, 0x0001 ## $at = 00010000
/* 0195C 80A7A90C 240F0036 */ addiu $t7, $zero, 0x0036 ## $t7 = 00000036
/* 01960 80A7A910 00250821 */ addu $at, $at, $a1
/* 01964 80A7A914 A02F03DC */ sb $t7, 0x03DC($at) ## 000103DC
.L80A7A918:
/* 01968 80A7A918 A4800308 */ sh $zero, 0x0308($a0) ## 00000308
/* 0196C 80A7A91C 945813FA */ lhu $t8, 0x13FA($v0) ## 8015FA5A
/* 01970 80A7A920 3308FFDF */ andi $t0, $t8, 0xFFDF ## $t0 = 00000000
/* 01974 80A7A924 A44813FA */ sh $t0, 0x13FA($v0) ## 8015FA5A
/* 01978 80A7A928 3109FFBF */ andi $t1, $t0, 0xFFBF ## $t1 = 00000000
/* 0197C 80A7A92C A44913FA */ sh $t1, 0x13FA($v0) ## 8015FA5A
.L80A7A930:
/* 01980 80A7A930 8FBF0014 */ lw $ra, 0x0014($sp)
/* 01984 80A7A934 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
/* 01988 80A7A938 03E00008 */ jr $ra
/* 0198C 80A7A93C 00000000 */ nop

View file

@ -1,70 +0,0 @@
glabel func_80A7A940
/* 01990 80A7A940 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 01994 80A7A944 AFBF0014 */ sw $ra, 0x0014($sp)
/* 01998 80A7A948 AFA5001C */ sw $a1, 0x001C($sp)
/* 0199C 80A7A94C 848E0308 */ lh $t6, 0x0308($a0) ## 00000308
/* 019A0 80A7A950 55C00007 */ bnel $t6, $zero, .L80A7A970
/* 019A4 80A7A954 848201EC */ lh $v0, 0x01EC($a0) ## 000001EC
/* 019A8 80A7A958 8C8F0004 */ lw $t7, 0x0004($a0) ## 00000004
/* 019AC 80A7A95C 3C010001 */ lui $at, 0x0001 ## $at = 00010000
/* 019B0 80A7A960 01E1C025 */ or $t8, $t7, $at ## $t8 = 00010000
/* 019B4 80A7A964 10000032 */ beq $zero, $zero, .L80A7AA30
/* 019B8 80A7A968 AC980004 */ sw $t8, 0x0004($a0) ## 00000004
/* 019BC 80A7A96C 848201EC */ lh $v0, 0x01EC($a0) ## 000001EC
.L80A7A970:
/* 019C0 80A7A970 10400009 */ beq $v0, $zero, .L80A7A998
/* 019C4 80A7A974 2459FFFF */ addiu $t9, $v0, 0xFFFF ## $t9 = FFFFFFFF
/* 019C8 80A7A978 A49901EC */ sh $t9, 0x01EC($a0) ## 000001EC
/* 019CC 80A7A97C 848801EC */ lh $t0, 0x01EC($a0) ## 000001EC
/* 019D0 80A7A980 24056855 */ addiu $a1, $zero, 0x6855 ## $a1 = 00006855
/* 019D4 80A7A984 55000005 */ bnel $t0, $zero, .L80A7A99C
/* 019D8 80A7A988 84890308 */ lh $t1, 0x0308($a0) ## 00000308
/* 019DC 80A7A98C 0C00BE0A */ jal Audio_PlayActorSound2
/* 019E0 80A7A990 AFA40018 */ sw $a0, 0x0018($sp)
/* 019E4 80A7A994 8FA40018 */ lw $a0, 0x0018($sp)
.L80A7A998:
/* 019E8 80A7A998 84890308 */ lh $t1, 0x0308($a0) ## 00000308
.L80A7A99C:
/* 019EC 80A7A99C 24010002 */ addiu $at, $zero, 0x0002 ## $at = 00000002
/* 019F0 80A7A9A0 24060002 */ addiu $a2, $zero, 0x0002 ## $a2 = 00000002
/* 019F4 80A7A9A4 15210022 */ bne $t1, $at, .L80A7AA30
/* 019F8 80A7A9A8 24070026 */ addiu $a3, $zero, 0x0026 ## $a3 = 00000026
/* 019FC 80A7A9AC 8C8A0004 */ lw $t2, 0x0004($a0) ## 00000004
/* 01A00 80A7A9B0 3C01FFFE */ lui $at, 0xFFFE ## $at = FFFE0000
/* 01A04 80A7A9B4 3421FFFF */ ori $at, $at, 0xFFFF ## $at = FFFEFFFF
/* 01A08 80A7A9B8 01415824 */ and $t3, $t2, $at
/* 01A0C 80A7A9BC AC8B0004 */ sw $t3, 0x0004($a0) ## 00000004
/* 01A10 80A7A9C0 AFA40018 */ sw $a0, 0x0018($sp)
/* 01A14 80A7A9C4 0C29E6EB */ jal func_80A79BAC
/* 01A18 80A7A9C8 8FA5001C */ lw $a1, 0x001C($sp)
/* 01A1C 80A7A9CC 3C028016 */ lui $v0, %hi(gSaveContext)
/* 01A20 80A7A9D0 2442E660 */ addiu $v0, %lo(gSaveContext)
/* 01A24 80A7A9D4 944C13FA */ lhu $t4, 0x13FA($v0) ## 8015FA5A
/* 01A28 80A7A9D8 3C01FFFF */ lui $at, 0xFFFF ## $at = FFFF0000
/* 01A2C 80A7A9DC 34217FFF */ ori $at, $at, 0x7FFF ## $at = FFFF7FFF
/* 01A30 80A7A9E0 318DFFF0 */ andi $t5, $t4, 0xFFF0 ## $t5 = 00000000
/* 01A34 80A7A9E4 35AF0002 */ ori $t7, $t5, 0x0002 ## $t7 = 00000002
/* 01A38 80A7A9E8 8FA8001C */ lw $t0, 0x001C($sp)
/* 01A3C 80A7A9EC 01E1C024 */ and $t8, $t7, $at
/* 01A40 80A7A9F0 A44F13FA */ sh $t7, 0x13FA($v0) ## 8015FA5A
/* 01A44 80A7A9F4 37198000 */ ori $t9, $t8, 0x8000 ## $t9 = 00008000
/* 01A48 80A7A9F8 3C010001 */ lui $at, 0x0001 ## $at = 00010000
/* 01A4C 80A7A9FC 8FA40018 */ lw $a0, 0x0018($sp)
/* 01A50 80A7AA00 A45913FA */ sh $t9, 0x13FA($v0) ## 8015FA5A
/* 01A54 80A7AA04 00280821 */ addu $at, $at, $t0
/* 01A58 80A7AA08 A02004BF */ sb $zero, 0x04BF($at) ## 000104BF
/* 01A5C 80A7AA0C 8FAA001C */ lw $t2, 0x001C($sp)
/* 01A60 80A7AA10 3C010001 */ lui $at, 0x0001 ## $at = 00010000
/* 01A64 80A7AA14 24090036 */ addiu $t1, $zero, 0x0036 ## $t1 = 00000036
/* 01A68 80A7AA18 002A0821 */ addu $at, $at, $t2
/* 01A6C 80A7AA1C A02903DC */ sb $t1, 0x03DC($at) ## 000103DC
/* 01A70 80A7AA20 A4800308 */ sh $zero, 0x0308($a0) ## 00000308
/* 01A74 80A7AA24 944C13FA */ lhu $t4, 0x13FA($v0) ## 8015FA5A
/* 01A78 80A7AA28 358D0040 */ ori $t5, $t4, 0x0040 ## $t5 = 00000040
/* 01A7C 80A7AA2C A44D13FA */ sh $t5, 0x13FA($v0) ## 8015FA5A
.L80A7AA30:
/* 01A80 80A7AA30 8FBF0014 */ lw $ra, 0x0014($sp)
/* 01A84 80A7AA34 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
/* 01A88 80A7AA38 03E00008 */ jr $ra
/* 01A8C 80A7AA3C 00000000 */ nop

View file

@ -1,102 +0,0 @@
glabel func_80A7AA40
/* 01A90 80A7AA40 27BDFFB8 */ addiu $sp, $sp, 0xFFB8 ## $sp = FFFFFFB8
/* 01A94 80A7AA44 3C0F80A8 */ lui $t7, %hi(D_80A7B99C) ## $t7 = 80A80000
/* 01A98 80A7AA48 AFBF001C */ sw $ra, 0x001C($sp)
/* 01A9C 80A7AA4C AFB10018 */ sw $s1, 0x0018($sp)
/* 01AA0 80A7AA50 AFB00014 */ sw $s0, 0x0014($sp)
/* 01AA4 80A7AA54 25EFB99C */ addiu $t7, $t7, %lo(D_80A7B99C) ## $t7 = 80A7B99C
/* 01AA8 80A7AA58 8DF90000 */ lw $t9, 0x0000($t7) ## 80A7B99C
/* 01AAC 80A7AA5C 27AE003C */ addiu $t6, $sp, 0x003C ## $t6 = FFFFFFF4
/* 01AB0 80A7AA60 8DF80004 */ lw $t8, 0x0004($t7) ## 80A7B9A0
/* 01AB4 80A7AA64 ADD90000 */ sw $t9, 0x0000($t6) ## FFFFFFF4
/* 01AB8 80A7AA68 8DF90008 */ lw $t9, 0x0008($t7) ## 80A7B9A4
/* 01ABC 80A7AA6C 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 01AC0 80A7AA70 00A08825 */ or $s1, $a1, $zero ## $s1 = 00000000
/* 01AC4 80A7AA74 00A02025 */ or $a0, $a1, $zero ## $a0 = 00000000
/* 01AC8 80A7AA78 ADD80004 */ sw $t8, 0x0004($t6) ## FFFFFFF8
/* 01ACC 80A7AA7C 0C03008C */ jal Gameplay_CreateSubCamera
/* 01AD0 80A7AA80 ADD90008 */ sw $t9, 0x0008($t6) ## FFFFFFFC
/* 01AD4 80A7AA84 A60201F0 */ sh $v0, 0x01F0($s0) ## 000001F0
/* 01AD8 80A7AA88 862807A0 */ lh $t0, 0x07A0($s1) ## 000007A0
/* 01ADC 80A7AA8C 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
/* 01AE0 80A7AA90 24060001 */ addiu $a2, $zero, 0x0001 ## $a2 = 00000001
/* 01AE4 80A7AA94 A60801F2 */ sh $t0, 0x01F2($s0) ## 000001F2
/* 01AE8 80A7AA98 0C0300C5 */ jal Gameplay_ChangeCameraStatus
/* 01AEC 80A7AA9C 860501F2 */ lh $a1, 0x01F2($s0) ## 000001F2
/* 01AF0 80A7AAA0 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
/* 01AF4 80A7AAA4 860501F0 */ lh $a1, 0x01F0($s0) ## 000001F0
/* 01AF8 80A7AAA8 0C0300C5 */ jal Gameplay_ChangeCameraStatus
/* 01AFC 80A7AAAC 24060007 */ addiu $a2, $zero, 0x0007 ## $a2 = 00000007
/* 01B00 80A7AAB0 3C014248 */ lui $at, 0x4248 ## $at = 42480000
/* 01B04 80A7AAB4 44811000 */ mtc1 $at, $f2 ## $f2 = 50.00
/* 01B08 80A7AAB8 44800000 */ mtc1 $zero, $f0 ## $f0 = 0.00
/* 01B0C 80A7AABC 26030024 */ addiu $v1, $s0, 0x0024 ## $v1 = 00000024
/* 01B10 80A7AAC0 E60202F4 */ swc1 $f2, 0x02F4($s0) ## 000002F4
/* 01B14 80A7AAC4 E6020300 */ swc1 $f2, 0x0300($s0) ## 00000300
/* 01B18 80A7AAC8 E6020304 */ swc1 $f2, 0x0304($s0) ## 00000304
/* 01B1C 80A7AACC E60002F0 */ swc1 $f0, 0x02F0($s0) ## 000002F0
/* 01B20 80A7AAD0 E60002F8 */ swc1 $f0, 0x02F8($s0) ## 000002F8
/* 01B24 80A7AAD4 E60002FC */ swc1 $f0, 0x02FC($s0) ## 000002FC
/* 01B28 80A7AAD8 8C6A0000 */ lw $t2, 0x0000($v1) ## 00000024
/* 01B2C 80A7AADC 27A60030 */ addiu $a2, $sp, 0x0030 ## $a2 = FFFFFFE8
/* 01B30 80A7AAE0 27A70024 */ addiu $a3, $sp, 0x0024 ## $a3 = FFFFFFDC
/* 01B34 80A7AAE4 ACCA0000 */ sw $t2, 0x0000($a2) ## FFFFFFE8
/* 01B38 80A7AAE8 8C690004 */ lw $t1, 0x0004($v1) ## 00000028
/* 01B3C 80A7AAEC 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
/* 01B40 80A7AAF0 ACC90004 */ sw $t1, 0x0004($a2) ## FFFFFFEC
/* 01B44 80A7AAF4 8C6A0008 */ lw $t2, 0x0008($v1) ## 0000002C
/* 01B48 80A7AAF8 ACCA0008 */ sw $t2, 0x0008($a2) ## FFFFFFF0
/* 01B4C 80A7AAFC 8C6C0000 */ lw $t4, 0x0000($v1) ## 00000024
/* 01B50 80A7AB00 ACEC0000 */ sw $t4, 0x0000($a3) ## FFFFFFDC
/* 01B54 80A7AB04 8C6B0004 */ lw $t3, 0x0004($v1) ## 00000028
/* 01B58 80A7AB08 ACEB0004 */ sw $t3, 0x0004($a3) ## FFFFFFE0
/* 01B5C 80A7AB0C 8C6C0008 */ lw $t4, 0x0008($v1) ## 0000002C
/* 01B60 80A7AB10 ACEC0008 */ sw $t4, 0x0008($a3) ## FFFFFFE4
/* 01B64 80A7AB14 C7A40030 */ lwc1 $f4, 0x0030($sp)
/* 01B68 80A7AB18 C60602F0 */ lwc1 $f6, 0x02F0($s0) ## 000002F0
/* 01B6C 80A7AB1C C7AA0034 */ lwc1 $f10, 0x0034($sp)
/* 01B70 80A7AB20 46062200 */ add.s $f8, $f4, $f6
/* 01B74 80A7AB24 C7A40038 */ lwc1 $f4, 0x0038($sp)
/* 01B78 80A7AB28 E7A80030 */ swc1 $f8, 0x0030($sp)
/* 01B7C 80A7AB2C C61002F4 */ lwc1 $f16, 0x02F4($s0) ## 000002F4
/* 01B80 80A7AB30 46105480 */ add.s $f18, $f10, $f16
/* 01B84 80A7AB34 C7AA0024 */ lwc1 $f10, 0x0024($sp)
/* 01B88 80A7AB38 E7B20034 */ swc1 $f18, 0x0034($sp)
/* 01B8C 80A7AB3C C60602F8 */ lwc1 $f6, 0x02F8($s0) ## 000002F8
/* 01B90 80A7AB40 46062200 */ add.s $f8, $f4, $f6
/* 01B94 80A7AB44 C7A40028 */ lwc1 $f4, 0x0028($sp)
/* 01B98 80A7AB48 E7A80038 */ swc1 $f8, 0x0038($sp)
/* 01B9C 80A7AB4C C61002FC */ lwc1 $f16, 0x02FC($s0) ## 000002FC
/* 01BA0 80A7AB50 46105480 */ add.s $f18, $f10, $f16
/* 01BA4 80A7AB54 C7AA002C */ lwc1 $f10, 0x002C($sp)
/* 01BA8 80A7AB58 E7B20024 */ swc1 $f18, 0x0024($sp)
/* 01BAC 80A7AB5C C6060300 */ lwc1 $f6, 0x0300($s0) ## 00000300
/* 01BB0 80A7AB60 46062200 */ add.s $f8, $f4, $f6
/* 01BB4 80A7AB64 E7A80028 */ swc1 $f8, 0x0028($sp)
/* 01BB8 80A7AB68 C6100304 */ lwc1 $f16, 0x0304($s0) ## 00000304
/* 01BBC 80A7AB6C 46105480 */ add.s $f18, $f10, $f16
/* 01BC0 80A7AB70 E7B2002C */ swc1 $f18, 0x002C($sp)
/* 01BC4 80A7AB74 0C030136 */ jal Gameplay_CameraSetAtEye
/* 01BC8 80A7AB78 860501F0 */ lh $a1, 0x01F0($s0) ## 000001F0
/* 01BCC 80A7AB7C 240D203B */ addiu $t5, $zero, 0x203B ## $t5 = 0000203B
/* 01BD0 80A7AB80 A60D010E */ sh $t5, 0x010E($s0) ## 0000010E
/* 01BD4 80A7AB84 31A5FFFF */ andi $a1, $t5, 0xFFFF ## $a1 = 0000203B
/* 01BD8 80A7AB88 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
/* 01BDC 80A7AB8C 0C042DA0 */ jal func_8010B680
/* 01BE0 80A7AB90 00003025 */ or $a2, $zero, $zero ## $a2 = 00000000
/* 01BE4 80A7AB94 240E0001 */ addiu $t6, $zero, 0x0001 ## $t6 = 00000001
/* 01BE8 80A7AB98 A60E0308 */ sh $t6, 0x0308($s0) ## 00000308
/* 01BEC 80A7AB9C A60001FC */ sh $zero, 0x01FC($s0) ## 000001FC
/* 01BF0 80A7ABA0 A6201D74 */ sh $zero, 0x1D74($s1) ## 00001D74
/* 01BF4 80A7ABA4 0C02CE10 */ jal ShrinkWindow_SetVal ## letterbox_target_addr
/* 01BF8 80A7ABA8 24040020 */ addiu $a0, $zero, 0x0020 ## $a0 = 00000020
/* 01BFC 80A7ABAC 0C020978 */ jal Interface_ChangeAlpha
/* 01C00 80A7ABB0 24040002 */ addiu $a0, $zero, 0x0002 ## $a0 = 00000002
/* 01C04 80A7ABB4 3C0F80A8 */ lui $t7, %hi(func_80A7ABD4) ## $t7 = 80A80000
/* 01C08 80A7ABB8 25EFABD4 */ addiu $t7, $t7, %lo(func_80A7ABD4) ## $t7 = 80A7ABD4
/* 01C0C 80A7ABBC AE0F0190 */ sw $t7, 0x0190($s0) ## 00000190
/* 01C10 80A7ABC0 8FBF001C */ lw $ra, 0x001C($sp)
/* 01C14 80A7ABC4 8FB10018 */ lw $s1, 0x0018($sp)
/* 01C18 80A7ABC8 8FB00014 */ lw $s0, 0x0014($sp)
/* 01C1C 80A7ABCC 03E00008 */ jr $ra
/* 01C20 80A7ABD0 27BD0048 */ addiu $sp, $sp, 0x0048 ## $sp = 00000000

View file

@ -1,190 +0,0 @@
glabel func_80A7ABD4
/* 01C24 80A7ABD4 27BDFFA8 */ addiu $sp, $sp, 0xFFA8 ## $sp = FFFFFFA8
/* 01C28 80A7ABD8 AFBF002C */ sw $ra, 0x002C($sp)
/* 01C2C 80A7ABDC AFB00028 */ sw $s0, 0x0028($sp)
/* 01C30 80A7ABE0 F7B40020 */ sdc1 $f20, 0x0020($sp)
/* 01C34 80A7ABE4 AFA5005C */ sw $a1, 0x005C($sp)
/* 01C38 80A7ABE8 8CA21C44 */ lw $v0, 0x1C44($a1) ## 00001C44
/* 01C3C 80A7ABEC 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 01C40 80A7ABF0 240F000A */ addiu $t7, $zero, 0x000A ## $t7 = 0000000A
/* 01C44 80A7ABF4 8C430440 */ lw $v1, 0x0440($v0) ## 00000440
/* 01C48 80A7ABF8 2418000A */ addiu $t8, $zero, 0x000A ## $t8 = 0000000A
/* 01C4C 80A7ABFC 50600003 */ beql $v1, $zero, .L80A7AC0C
/* 01C50 80A7AC00 A4580110 */ sh $t8, 0x0110($v0) ## 00000110
/* 01C54 80A7AC04 A46F0110 */ sh $t7, 0x0110($v1) ## 00000110
/* 01C58 80A7AC08 A4580110 */ sh $t8, 0x0110($v0) ## 00000110
.L80A7AC0C:
/* 01C5C 80A7AC0C 9619010E */ lhu $t9, 0x010E($s0) ## 0000010E
/* 01C60 80A7AC10 2401203B */ addiu $at, $zero, 0x203B ## $at = 0000203B
/* 01C64 80A7AC14 5721000C */ bnel $t9, $at, .L80A7AC48
/* 01C68 80A7AC18 86020308 */ lh $v0, 0x0308($s0) ## 00000308
/* 01C6C 80A7AC1C 860201EC */ lh $v0, 0x01EC($s0) ## 000001EC
/* 01C70 80A7AC20 10400008 */ beq $v0, $zero, .L80A7AC44
/* 01C74 80A7AC24 2448FFFF */ addiu $t0, $v0, 0xFFFF ## $t0 = FFFFFFFF
/* 01C78 80A7AC28 A60801EC */ sh $t0, 0x01EC($s0) ## 000001EC
/* 01C7C 80A7AC2C 860901EC */ lh $t1, 0x01EC($s0) ## 000001EC
/* 01C80 80A7AC30 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 01C84 80A7AC34 55200004 */ bnel $t1, $zero, .L80A7AC48
/* 01C88 80A7AC38 86020308 */ lh $v0, 0x0308($s0) ## 00000308
/* 01C8C 80A7AC3C 0C00BE0A */ jal Audio_PlayActorSound2
/* 01C90 80A7AC40 24056855 */ addiu $a1, $zero, 0x6855 ## $a1 = 00006855
.L80A7AC44:
/* 01C94 80A7AC44 86020308 */ lh $v0, 0x0308($s0) ## 00000308
.L80A7AC48:
/* 01C98 80A7AC48 24010002 */ addiu $at, $zero, 0x0002 ## $at = 00000002
/* 01C9C 80A7AC4C 8FAF005C */ lw $t7, 0x005C($sp)
/* 01CA0 80A7AC50 5040001B */ beql $v0, $zero, .L80A7ACC0
/* 01CA4 80A7AC54 95E21D74 */ lhu $v0, 0x1D74($t7) ## 00001D74
/* 01CA8 80A7AC58 54410086 */ bnel $v0, $at, .L80A7AE74
/* 01CAC 80A7AC5C 8FBF002C */ lw $ra, 0x002C($sp)
/* 01CB0 80A7AC60 960A010E */ lhu $t2, 0x010E($s0) ## 0000010E
/* 01CB4 80A7AC64 2401203B */ addiu $at, $zero, 0x203B ## $at = 0000203B
/* 01CB8 80A7AC68 240B203C */ addiu $t3, $zero, 0x203C ## $t3 = 0000203C
/* 01CBC 80A7AC6C 1541000D */ bne $t2, $at, .L80A7ACA4
/* 01CC0 80A7AC70 8FAE005C */ lw $t6, 0x005C($sp)
/* 01CC4 80A7AC74 A60B010E */ sh $t3, 0x010E($s0) ## 0000010E
/* 01CC8 80A7AC78 8FA4005C */ lw $a0, 0x005C($sp)
/* 01CCC 80A7AC7C 3165FFFF */ andi $a1, $t3, 0xFFFF ## $a1 = 0000203C
/* 01CD0 80A7AC80 0C042DA0 */ jal func_8010B680
/* 01CD4 80A7AC84 00003025 */ or $a2, $zero, $zero ## $a2 = 00000000
/* 01CD8 80A7AC88 240C0001 */ addiu $t4, $zero, 0x0001 ## $t4 = 00000001
/* 01CDC 80A7AC8C A60C0308 */ sh $t4, 0x0308($s0) ## 00000308
/* 01CE0 80A7AC90 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 01CE4 80A7AC94 0C29E5BB */ jal func_80A796EC
/* 01CE8 80A7AC98 24050003 */ addiu $a1, $zero, 0x0003 ## $a1 = 00000003
/* 01CEC 80A7AC9C 10000075 */ beq $zero, $zero, .L80A7AE74
/* 01CF0 80A7ACA0 8FBF002C */ lw $ra, 0x002C($sp)
.L80A7ACA4:
/* 01CF4 80A7ACA4 3C010001 */ lui $at, 0x0001 ## $at = 00010000
/* 01CF8 80A7ACA8 002E0821 */ addu $at, $at, $t6
/* 01CFC 80A7ACAC 240D0036 */ addiu $t5, $zero, 0x0036 ## $t5 = 00000036
/* 01D00 80A7ACB0 A02D03DC */ sb $t5, 0x03DC($at) ## 000103DC
/* 01D04 80A7ACB4 1000006E */ beq $zero, $zero, .L80A7AE70
/* 01D08 80A7ACB8 A6000308 */ sh $zero, 0x0308($s0) ## 00000308
/* 01D0C 80A7ACBC 95E21D74 */ lhu $v0, 0x1D74($t7) ## 00001D74
.L80A7ACC0:
/* 01D10 80A7ACC0 3C1980A8 */ lui $t9, %hi(func_80A7AE84) ## $t9 = 80A80000
/* 01D14 80A7ACC4 2739AE84 */ addiu $t9, $t9, %lo(func_80A7AE84) ## $t9 = 80A7AE84
/* 01D18 80A7ACC8 28430032 */ slti $v1, $v0, 0x0032
/* 01D1C 80A7ACCC 38630001 */ xori $v1, $v1, 0x0001 ## $v1 = 00000001
/* 01D20 80A7ACD0 24580001 */ addiu $t8, $v0, 0x0001 ## $t8 = 00000001
/* 01D24 80A7ACD4 10600003 */ beq $v1, $zero, .L80A7ACE4
/* 01D28 80A7ACD8 A5F81D74 */ sh $t8, 0x1D74($t7) ## 00001D74
/* 01D2C 80A7ACDC 10000064 */ beq $zero, $zero, .L80A7AE70
/* 01D30 80A7ACE0 AE190190 */ sw $t9, 0x0190($s0) ## 00000190
.L80A7ACE4:
/* 01D34 80A7ACE4 8FA8005C */ lw $t0, 0x005C($sp)
/* 01D38 80A7ACE8 2401002C */ addiu $at, $zero, 0x002C ## $at = 0000002C
/* 01D3C 80A7ACEC 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 01D40 80A7ACF0 95091D74 */ lhu $t1, 0x1D74($t0) ## 00001D74
/* 01D44 80A7ACF4 55210004 */ bnel $t1, $at, .L80A7AD08
/* 01D48 80A7ACF8 4480A000 */ mtc1 $zero, $f20 ## $f20 = 0.00
/* 01D4C 80A7ACFC 0C00BE0A */ jal Audio_PlayActorSound2
/* 01D50 80A7AD00 240528E6 */ addiu $a1, $zero, 0x28E6 ## $a1 = 000028E6
/* 01D54 80A7AD04 4480A000 */ mtc1 $zero, $f20 ## $f20 = 0.00
.L80A7AD08:
/* 01D58 80A7AD08 3C063D75 */ lui $a2, 0x3D75 ## $a2 = 3D750000
/* 01D5C 80A7AD0C 3C07461C */ lui $a3, 0x461C ## $a3 = 461C0000
/* 01D60 80A7AD10 4405A000 */ mfc1 $a1, $f20
/* 01D64 80A7AD14 34E74000 */ ori $a3, $a3, 0x4000 ## $a3 = 461C4000
/* 01D68 80A7AD18 34C6C28F */ ori $a2, $a2, 0xC28F ## $a2 = 3D75C28F
/* 01D6C 80A7AD1C 260402F0 */ addiu $a0, $s0, 0x02F0 ## $a0 = 000002F0
/* 01D70 80A7AD20 0C01E0C4 */ jal Math_SmoothStepToF
/* 01D74 80A7AD24 E7B40010 */ swc1 $f20, 0x0010($sp)
/* 01D78 80A7AD28 3C063D75 */ lui $a2, 0x3D75 ## $a2 = 3D750000
/* 01D7C 80A7AD2C 3C07461C */ lui $a3, 0x461C ## $a3 = 461C0000
/* 01D80 80A7AD30 34E74000 */ ori $a3, $a3, 0x4000 ## $a3 = 461C4000
/* 01D84 80A7AD34 34C6C28F */ ori $a2, $a2, 0xC28F ## $a2 = 3D75C28F
/* 01D88 80A7AD38 260402F4 */ addiu $a0, $s0, 0x02F4 ## $a0 = 000002F4
/* 01D8C 80A7AD3C 3C054248 */ lui $a1, 0x4248 ## $a1 = 42480000
/* 01D90 80A7AD40 0C01E0C4 */ jal Math_SmoothStepToF
/* 01D94 80A7AD44 E7B40010 */ swc1 $f20, 0x0010($sp)
/* 01D98 80A7AD48 4405A000 */ mfc1 $a1, $f20
/* 01D9C 80A7AD4C 3C063D75 */ lui $a2, 0x3D75 ## $a2 = 3D750000
/* 01DA0 80A7AD50 3C07461C */ lui $a3, 0x461C ## $a3 = 461C0000
/* 01DA4 80A7AD54 34E74000 */ ori $a3, $a3, 0x4000 ## $a3 = 461C4000
/* 01DA8 80A7AD58 34C6C28F */ ori $a2, $a2, 0xC28F ## $a2 = 3D75C28F
/* 01DAC 80A7AD5C 260402F8 */ addiu $a0, $s0, 0x02F8 ## $a0 = 000002F8
/* 01DB0 80A7AD60 0C01E0C4 */ jal Math_SmoothStepToF
/* 01DB4 80A7AD64 E7B40010 */ swc1 $f20, 0x0010($sp)
/* 01DB8 80A7AD68 4405A000 */ mfc1 $a1, $f20
/* 01DBC 80A7AD6C 3C063D75 */ lui $a2, 0x3D75 ## $a2 = 3D750000
/* 01DC0 80A7AD70 3C07461C */ lui $a3, 0x461C ## $a3 = 461C0000
/* 01DC4 80A7AD74 34E74000 */ ori $a3, $a3, 0x4000 ## $a3 = 461C4000
/* 01DC8 80A7AD78 34C6C28F */ ori $a2, $a2, 0xC28F ## $a2 = 3D75C28F
/* 01DCC 80A7AD7C 260402FC */ addiu $a0, $s0, 0x02FC ## $a0 = 000002FC
/* 01DD0 80A7AD80 0C01E0C4 */ jal Math_SmoothStepToF
/* 01DD4 80A7AD84 E7B40010 */ swc1 $f20, 0x0010($sp)
/* 01DD8 80A7AD88 3C063D75 */ lui $a2, 0x3D75 ## $a2 = 3D750000
/* 01DDC 80A7AD8C 3C07461C */ lui $a3, 0x461C ## $a3 = 461C0000
/* 01DE0 80A7AD90 34E74000 */ ori $a3, $a3, 0x4000 ## $a3 = 461C4000
/* 01DE4 80A7AD94 34C6C28F */ ori $a2, $a2, 0xC28F ## $a2 = 3D75C28F
/* 01DE8 80A7AD98 26040300 */ addiu $a0, $s0, 0x0300 ## $a0 = 00000300
/* 01DEC 80A7AD9C 3C054316 */ lui $a1, 0x4316 ## $a1 = 43160000
/* 01DF0 80A7ADA0 0C01E0C4 */ jal Math_SmoothStepToF
/* 01DF4 80A7ADA4 E7B40010 */ swc1 $f20, 0x0010($sp)
/* 01DF8 80A7ADA8 3C063D75 */ lui $a2, 0x3D75 ## $a2 = 3D750000
/* 01DFC 80A7ADAC 3C07461C */ lui $a3, 0x461C ## $a3 = 461C0000
/* 01E00 80A7ADB0 34E74000 */ ori $a3, $a3, 0x4000 ## $a3 = 461C4000
/* 01E04 80A7ADB4 34C6C28F */ ori $a2, $a2, 0xC28F ## $a2 = 3D75C28F
/* 01E08 80A7ADB8 26040304 */ addiu $a0, $s0, 0x0304 ## $a0 = 00000304
/* 01E0C 80A7ADBC 3C054396 */ lui $a1, 0x4396 ## $a1 = 43960000
/* 01E10 80A7ADC0 0C01E0C4 */ jal Math_SmoothStepToF
/* 01E14 80A7ADC4 E7B40010 */ swc1 $f20, 0x0010($sp)
/* 01E18 80A7ADC8 26020024 */ addiu $v0, $s0, 0x0024 ## $v0 = 00000024
/* 01E1C 80A7ADCC 8C4B0000 */ lw $t3, 0x0000($v0) ## 00000024
/* 01E20 80A7ADD0 27A60048 */ addiu $a2, $sp, 0x0048 ## $a2 = FFFFFFF0
/* 01E24 80A7ADD4 27A7003C */ addiu $a3, $sp, 0x003C ## $a3 = FFFFFFE4
/* 01E28 80A7ADD8 ACCB0000 */ sw $t3, 0x0000($a2) ## FFFFFFF0
/* 01E2C 80A7ADDC 8C4A0004 */ lw $t2, 0x0004($v0) ## 00000028
/* 01E30 80A7ADE0 ACCA0004 */ sw $t2, 0x0004($a2) ## FFFFFFF4
/* 01E34 80A7ADE4 8C4B0008 */ lw $t3, 0x0008($v0) ## 0000002C
/* 01E38 80A7ADE8 ACCB0008 */ sw $t3, 0x0008($a2) ## FFFFFFF8
/* 01E3C 80A7ADEC 8C4D0000 */ lw $t5, 0x0000($v0) ## 00000024
/* 01E40 80A7ADF0 ACED0000 */ sw $t5, 0x0000($a3) ## FFFFFFE4
/* 01E44 80A7ADF4 8C4C0004 */ lw $t4, 0x0004($v0) ## 00000028
/* 01E48 80A7ADF8 ACEC0004 */ sw $t4, 0x0004($a3) ## FFFFFFE8
/* 01E4C 80A7ADFC 8C4D0008 */ lw $t5, 0x0008($v0) ## 0000002C
/* 01E50 80A7AE00 ACED0008 */ sw $t5, 0x0008($a3) ## FFFFFFEC
/* 01E54 80A7AE04 C7A40048 */ lwc1 $f4, 0x0048($sp)
/* 01E58 80A7AE08 C60602F0 */ lwc1 $f6, 0x02F0($s0) ## 000002F0
/* 01E5C 80A7AE0C C7AA004C */ lwc1 $f10, 0x004C($sp)
/* 01E60 80A7AE10 8FA4005C */ lw $a0, 0x005C($sp)
/* 01E64 80A7AE14 46062200 */ add.s $f8, $f4, $f6
/* 01E68 80A7AE18 C7A40050 */ lwc1 $f4, 0x0050($sp)
/* 01E6C 80A7AE1C E7A80048 */ swc1 $f8, 0x0048($sp)
/* 01E70 80A7AE20 C61002F4 */ lwc1 $f16, 0x02F4($s0) ## 000002F4
/* 01E74 80A7AE24 46105480 */ add.s $f18, $f10, $f16
/* 01E78 80A7AE28 C7AA003C */ lwc1 $f10, 0x003C($sp)
/* 01E7C 80A7AE2C E7B2004C */ swc1 $f18, 0x004C($sp)
/* 01E80 80A7AE30 C60602F8 */ lwc1 $f6, 0x02F8($s0) ## 000002F8
/* 01E84 80A7AE34 46062200 */ add.s $f8, $f4, $f6
/* 01E88 80A7AE38 C7A40040 */ lwc1 $f4, 0x0040($sp)
/* 01E8C 80A7AE3C E7A80050 */ swc1 $f8, 0x0050($sp)
/* 01E90 80A7AE40 C61002FC */ lwc1 $f16, 0x02FC($s0) ## 000002FC
/* 01E94 80A7AE44 46105480 */ add.s $f18, $f10, $f16
/* 01E98 80A7AE48 C7AA0044 */ lwc1 $f10, 0x0044($sp)
/* 01E9C 80A7AE4C E7B2003C */ swc1 $f18, 0x003C($sp)
/* 01EA0 80A7AE50 C6060300 */ lwc1 $f6, 0x0300($s0) ## 00000300
/* 01EA4 80A7AE54 46062200 */ add.s $f8, $f4, $f6
/* 01EA8 80A7AE58 E7A80040 */ swc1 $f8, 0x0040($sp)
/* 01EAC 80A7AE5C C6100304 */ lwc1 $f16, 0x0304($s0) ## 00000304
/* 01EB0 80A7AE60 46105480 */ add.s $f18, $f10, $f16
/* 01EB4 80A7AE64 E7B20044 */ swc1 $f18, 0x0044($sp)
/* 01EB8 80A7AE68 0C030136 */ jal Gameplay_CameraSetAtEye
/* 01EBC 80A7AE6C 860501F0 */ lh $a1, 0x01F0($s0) ## 000001F0
.L80A7AE70:
/* 01EC0 80A7AE70 8FBF002C */ lw $ra, 0x002C($sp)
.L80A7AE74:
/* 01EC4 80A7AE74 D7B40020 */ ldc1 $f20, 0x0020($sp)
/* 01EC8 80A7AE78 8FB00028 */ lw $s0, 0x0028($sp)
/* 01ECC 80A7AE7C 03E00008 */ jr $ra
/* 01ED0 80A7AE80 27BD0058 */ addiu $sp, $sp, 0x0058 ## $sp = 00000000

View file

@ -1,28 +0,0 @@
glabel func_80A7AE84
/* 01ED4 80A7AE84 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 01ED8 80A7AE88 AFA40018 */ sw $a0, 0x0018($sp)
/* 01EDC 80A7AE8C 8FAE0018 */ lw $t6, 0x0018($sp)
/* 01EE0 80A7AE90 AFBF0014 */ sw $ra, 0x0014($sp)
/* 01EE4 80A7AE94 AFA5001C */ sw $a1, 0x001C($sp)
/* 01EE8 80A7AE98 00A02025 */ or $a0, $a1, $zero ## $a0 = 00000000
/* 01EEC 80A7AE9C 24060007 */ addiu $a2, $zero, 0x0007 ## $a2 = 00000007
/* 01EF0 80A7AEA0 0C0300C5 */ jal Gameplay_ChangeCameraStatus
/* 01EF4 80A7AEA4 85C501F2 */ lh $a1, 0x01F2($t6) ## 000001F2
/* 01EF8 80A7AEA8 8FAF0018 */ lw $t7, 0x0018($sp)
/* 01EFC 80A7AEAC 8FA4001C */ lw $a0, 0x001C($sp)
/* 01F00 80A7AEB0 0C0300E1 */ jal Gameplay_ClearCamera
/* 01F04 80A7AEB4 85E501F0 */ lh $a1, 0x01F0($t7) ## 000001F0
/* 01F08 80A7AEB8 8FA4001C */ lw $a0, 0x001C($sp)
/* 01F0C 80A7AEBC 8FA50018 */ lw $a1, 0x0018($sp)
/* 01F10 80A7AEC0 0C00B7D5 */ jal func_8002DF54
/* 01F14 80A7AEC4 24060007 */ addiu $a2, $zero, 0x0007 ## $a2 = 00000007
/* 01F18 80A7AEC8 0C020978 */ jal Interface_ChangeAlpha
/* 01F1C 80A7AECC 24040032 */ addiu $a0, $zero, 0x0032 ## $a0 = 00000032
/* 01F20 80A7AED0 8FB90018 */ lw $t9, 0x0018($sp)
/* 01F24 80A7AED4 3C1880A8 */ lui $t8, %hi(func_80A7AEF0) ## $t8 = 80A80000
/* 01F28 80A7AED8 2718AEF0 */ addiu $t8, $t8, %lo(func_80A7AEF0) ## $t8 = 80A7AEF0
/* 01F2C 80A7AEDC AF380190 */ sw $t8, 0x0190($t9) ## 00000190
/* 01F30 80A7AEE0 8FBF0014 */ lw $ra, 0x0014($sp)
/* 01F34 80A7AEE4 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
/* 01F38 80A7AEE8 03E00008 */ jr $ra
/* 01F3C 80A7AEEC 00000000 */ nop

View file

@ -1,82 +0,0 @@
glabel func_80A7AEF0
/* 01F40 80A7AEF0 27BDFFC0 */ addiu $sp, $sp, 0xFFC0 ## $sp = FFFFFFC0
/* 01F44 80A7AEF4 AFBF001C */ sw $ra, 0x001C($sp)
/* 01F48 80A7AEF8 AFB00018 */ sw $s0, 0x0018($sp)
/* 01F4C 80A7AEFC 8CAE1C44 */ lw $t6, 0x1C44($a1) ## 00001C44
/* 01F50 80A7AF00 27AF002C */ addiu $t7, $sp, 0x002C ## $t7 = FFFFFFEC
/* 01F54 80A7AF04 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 01F58 80A7AF08 AFAE003C */ sw $t6, 0x003C($sp)
/* 01F5C 80A7AF0C 8C990024 */ lw $t9, 0x0024($a0) ## 00000024
/* 01F60 80A7AF10 ADF90000 */ sw $t9, 0x0000($t7) ## FFFFFFEC
/* 01F64 80A7AF14 8C980028 */ lw $t8, 0x0028($a0) ## 00000028
/* 01F68 80A7AF18 ADF80004 */ sw $t8, 0x0004($t7) ## FFFFFFF0
/* 01F6C 80A7AF1C 8C99002C */ lw $t9, 0x002C($a0) ## 0000002C
/* 01F70 80A7AF20 ADF90008 */ sw $t9, 0x0008($t7) ## FFFFFFF4
/* 01F74 80A7AF24 848400B6 */ lh $a0, 0x00B6($a0) ## 000000B6
/* 01F78 80A7AF28 0C01DE1C */ jal Math_SinS
## sins?
/* 01F7C 80A7AF2C AFA50044 */ sw $a1, 0x0044($sp)
/* 01F80 80A7AF30 3C0142B4 */ lui $at, 0x42B4 ## $at = 42B40000
/* 01F84 80A7AF34 44813000 */ mtc1 $at, $f6 ## $f6 = 90.00
/* 01F88 80A7AF38 C7A4002C */ lwc1 $f4, 0x002C($sp)
/* 01F8C 80A7AF3C 46003202 */ mul.s $f8, $f6, $f0
/* 01F90 80A7AF40 46082280 */ add.s $f10, $f4, $f8
/* 01F94 80A7AF44 E7AA002C */ swc1 $f10, 0x002C($sp)
/* 01F98 80A7AF48 0C01DE0D */ jal Math_CosS
## coss?
/* 01F9C 80A7AF4C 860400B6 */ lh $a0, 0x00B6($s0) ## 000000B6
/* 01FA0 80A7AF50 3C0142B4 */ lui $at, 0x42B4 ## $at = 42B40000
/* 01FA4 80A7AF54 44819000 */ mtc1 $at, $f18 ## $f18 = 90.00
/* 01FA8 80A7AF58 C7B00034 */ lwc1 $f16, 0x0034($sp)
/* 01FAC 80A7AF5C 8FA5003C */ lw $a1, 0x003C($sp)
/* 01FB0 80A7AF60 46009182 */ mul.s $f6, $f18, $f0
/* 01FB4 80A7AF64 27A4002C */ addiu $a0, $sp, 0x002C ## $a0 = FFFFFFEC
/* 01FB8 80A7AF68 24A50024 */ addiu $a1, $a1, 0x0024 ## $a1 = 00000024
/* 01FBC 80A7AF6C 46068100 */ add.s $f4, $f16, $f6
/* 01FC0 80A7AF70 0C01E01A */ jal Math_Vec3f_Yaw
/* 01FC4 80A7AF74 E7A40034 */ swc1 $f4, 0x0034($sp)
/* 01FC8 80A7AF78 04400003 */ bltz $v0, .L80A7AF88
/* 01FCC 80A7AF7C 8FA60044 */ lw $a2, 0x0044($sp)
/* 01FD0 80A7AF80 10000002 */ beq $zero, $zero, .L80A7AF8C
/* 01FD4 80A7AF84 00401825 */ or $v1, $v0, $zero ## $v1 = 00000000
.L80A7AF88:
/* 01FD8 80A7AF88 00021823 */ subu $v1, $zero, $v0
.L80A7AF8C:
/* 01FDC 80A7AF8C 28614001 */ slti $at, $v1, 0x4001
/* 01FE0 80A7AF90 14200010 */ bne $at, $zero, .L80A7AFD4
/* 01FE4 80A7AF94 24080476 */ addiu $t0, $zero, 0x0476 ## $t0 = 00000476
/* 01FE8 80A7AF98 3C010001 */ lui $at, 0x0001 ## $at = 00010000
/* 01FEC 80A7AF9C 00260821 */ addu $at, $at, $a2
/* 01FF0 80A7AFA0 A4281E1A */ sh $t0, 0x1E1A($at) ## 00011E1A
/* 01FF4 80A7AFA4 3C010001 */ lui $at, 0x0001 ## $at = 00010000
/* 01FF8 80A7AFA8 00260821 */ addu $at, $at, $a2
/* 01FFC 80A7AFAC 24090014 */ addiu $t1, $zero, 0x0014 ## $t1 = 00000014
/* 02000 80A7AFB0 A0291E15 */ sb $t1, 0x1E15($at) ## 00011E15
/* 02004 80A7AFB4 3C010001 */ lui $at, 0x0001 ## $at = 00010000
/* 02008 80A7AFB8 00260821 */ addu $at, $at, $a2
/* 0200C 80A7AFBC 240A0005 */ addiu $t2, $zero, 0x0005 ## $t2 = 00000005
/* 02010 80A7AFC0 3C0B80A8 */ lui $t3, %hi(func_80A7B018) ## $t3 = 80A80000
/* 02014 80A7AFC4 A02A1E5E */ sb $t2, 0x1E5E($at) ## 00011E5E
/* 02018 80A7AFC8 256BB018 */ addiu $t3, $t3, %lo(func_80A7B018) ## $t3 = 80A7B018
/* 0201C 80A7AFCC 1000000D */ beq $zero, $zero, .L80A7B004
/* 02020 80A7AFD0 AE0B0190 */ sw $t3, 0x0190($s0) ## 00000190
.L80A7AFD4:
/* 02024 80A7AFD4 860C0308 */ lh $t4, 0x0308($s0) ## 00000308
/* 02028 80A7AFD8 24010002 */ addiu $at, $zero, 0x0002 ## $at = 00000002
/* 0202C 80A7AFDC 240D0004 */ addiu $t5, $zero, 0x0004 ## $t5 = 00000004
/* 02030 80A7AFE0 15810008 */ bne $t4, $at, .L80A7B004
/* 02034 80A7AFE4 240E0036 */ addiu $t6, $zero, 0x0036 ## $t6 = 00000036
/* 02038 80A7AFE8 3C010001 */ lui $at, 0x0001 ## $at = 00010000
/* 0203C 80A7AFEC 00260821 */ addu $at, $at, $a2
/* 02040 80A7AFF0 A02D04BF */ sb $t5, 0x04BF($at) ## 000104BF
/* 02044 80A7AFF4 3C010001 */ lui $at, 0x0001 ## $at = 00010000
/* 02048 80A7AFF8 00260821 */ addu $at, $at, $a2
/* 0204C 80A7AFFC A02E03DC */ sb $t6, 0x03DC($at) ## 000103DC
/* 02050 80A7B000 A6000308 */ sh $zero, 0x0308($s0) ## 00000308
.L80A7B004:
/* 02054 80A7B004 8FBF001C */ lw $ra, 0x001C($sp)
/* 02058 80A7B008 8FB00018 */ lw $s0, 0x0018($sp)
/* 0205C 80A7B00C 27BD0040 */ addiu $sp, $sp, 0x0040 ## $sp = 00000000
/* 02060 80A7B010 03E00008 */ jr $ra
/* 02064 80A7B014 00000000 */ nop

View file

@ -1,4 +0,0 @@
glabel func_80A7B018
/* 02068 80A7B018 AFA40000 */ sw $a0, 0x0000($sp)
/* 0206C 80A7B01C 03E00008 */ jr $ra
/* 02070 80A7B020 AFA50004 */ sw $a1, 0x0004($sp)

View file

@ -1,64 +0,0 @@
glabel func_80A7B024
/* 02074 80A7B024 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 02078 80A7B028 AFBF0014 */ sw $ra, 0x0014($sp)
/* 0207C 80A7B02C AFA40018 */ sw $a0, 0x0018($sp)
/* 02080 80A7B030 8CA21C44 */ lw $v0, 0x1C44($a1) ## 00001C44
/* 02084 80A7B034 240E000A */ addiu $t6, $zero, 0x000A ## $t6 = 0000000A
/* 02088 80A7B038 240F000A */ addiu $t7, $zero, 0x000A ## $t7 = 0000000A
/* 0208C 80A7B03C 8C430440 */ lw $v1, 0x0440($v0) ## 00000440
/* 02090 80A7B040 00003025 */ or $a2, $zero, $zero ## $a2 = 00000000
/* 02094 80A7B044 24070026 */ addiu $a3, $zero, 0x0026 ## $a3 = 00000026
/* 02098 80A7B048 50600003 */ beql $v1, $zero, .L80A7B058
/* 0209C 80A7B04C A44F0110 */ sh $t7, 0x0110($v0) ## 00000110
/* 020A0 80A7B050 A46E0110 */ sh $t6, 0x0110($v1) ## 00000110
/* 020A4 80A7B054 A44F0110 */ sh $t7, 0x0110($v0) ## 00000110
.L80A7B058:
/* 020A8 80A7B058 8FB80018 */ lw $t8, 0x0018($sp)
/* 020AC 80A7B05C 24010002 */ addiu $at, $zero, 0x0002 ## $at = 00000002
/* 020B0 80A7B060 3C028016 */ lui $v0, %hi(gSaveContext)
/* 020B4 80A7B064 87190308 */ lh $t9, 0x0308($t8) ## 00000308
/* 020B8 80A7B068 2442E660 */ addiu $v0, %lo(gSaveContext)
/* 020BC 80A7B06C 57210025 */ bnel $t9, $at, .L80A7B104
/* 020C0 80A7B070 8FBF0014 */ lw $ra, 0x0014($sp)
/* 020C4 80A7B074 94430ED6 */ lhu $v1, 0x0ED6($v0) ## 8015F536
/* 020C8 80A7B078 30680800 */ andi $t0, $v1, 0x0800 ## $t0 = 00000000
/* 020CC 80A7B07C 55000009 */ bnel $t0, $zero, .L80A7B0A4
/* 020D0 80A7B080 8FA40018 */ lw $a0, 0x0018($sp)
/* 020D4 80A7B084 94440F0C */ lhu $a0, 0x0F0C($v0) ## 8015F56C
/* 020D8 80A7B088 346A0800 */ ori $t2, $v1, 0x0800 ## $t2 = 00000800
/* 020DC 80A7B08C 30890800 */ andi $t1, $a0, 0x0800 ## $t1 = 00000000
/* 020E0 80A7B090 11200003 */ beq $t1, $zero, .L80A7B0A0
/* 020E4 80A7B094 348B0800 */ ori $t3, $a0, 0x0800 ## $t3 = 00000800
/* 020E8 80A7B098 A44A0ED6 */ sh $t2, 0x0ED6($v0) ## 8015F536
/* 020EC 80A7B09C A44B0F0C */ sh $t3, 0x0F0C($v0) ## 8015F56C
.L80A7B0A0:
/* 020F0 80A7B0A0 8FA40018 */ lw $a0, 0x0018($sp)
.L80A7B0A4:
/* 020F4 80A7B0A4 0C29E6EB */ jal func_80A79BAC
/* 020F8 80A7B0A8 AFA5001C */ sw $a1, 0x001C($sp)
/* 020FC 80A7B0AC 3C028016 */ lui $v0, %hi(gSaveContext)
/* 02100 80A7B0B0 2442E660 */ addiu $v0, %lo(gSaveContext)
/* 02104 80A7B0B4 944C13FA */ lhu $t4, 0x13FA($v0) ## 8015FA5A
/* 02108 80A7B0B8 3C01FFFF */ lui $at, 0xFFFF ## $at = FFFF0000
/* 0210C 80A7B0BC 34217FFF */ ori $at, $at, 0x7FFF ## $at = FFFF7FFF
/* 02110 80A7B0C0 318EFFF0 */ andi $t6, $t4, 0xFFF0 ## $t6 = 00000000
/* 02114 80A7B0C4 8FA5001C */ lw $a1, 0x001C($sp)
/* 02118 80A7B0C8 01C17824 */ and $t7, $t6, $at
/* 0211C 80A7B0CC A44E13FA */ sh $t6, 0x13FA($v0) ## 8015FA5A
/* 02120 80A7B0D0 35F88000 */ ori $t8, $t7, 0x8000 ## $t8 = 00008000
/* 02124 80A7B0D4 3C010001 */ lui $at, 0x0001 ## $at = 00010000
/* 02128 80A7B0D8 A45813FA */ sh $t8, 0x13FA($v0) ## 8015FA5A
/* 0212C 80A7B0DC 24190004 */ addiu $t9, $zero, 0x0004 ## $t9 = 00000004
/* 02130 80A7B0E0 00250821 */ addu $at, $at, $a1
/* 02134 80A7B0E4 A03904BF */ sb $t9, 0x04BF($at) ## 000104BF
/* 02138 80A7B0E8 3C010001 */ lui $at, 0x0001 ## $at = 00010000
/* 0213C 80A7B0EC 24080036 */ addiu $t0, $zero, 0x0036 ## $t0 = 00000036
/* 02140 80A7B0F0 00250821 */ addu $at, $at, $a1
/* 02144 80A7B0F4 A02803DC */ sb $t0, 0x03DC($at) ## 000103DC
/* 02148 80A7B0F8 8FA90018 */ lw $t1, 0x0018($sp)
/* 0214C 80A7B0FC A5200308 */ sh $zero, 0x0308($t1) ## 00000308
/* 02150 80A7B100 8FBF0014 */ lw $ra, 0x0014($sp)
.L80A7B104:
/* 02154 80A7B104 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
/* 02158 80A7B108 03E00008 */ jr $ra
/* 0215C 80A7B10C 00000000 */ nop

View file

@ -1,176 +0,0 @@
.late_rodata
glabel D_80A7BAE0
.float 1500.0
glabel D_80A7BAE4
.float 3.14159274101
glabel D_80A7BAE8
.float 3.14159274101
glabel D_80A7BAEC
.word 0xC4BB8000
glabel D_80A7BAF0
.float 3.14159274101
glabel D_80A7BAF4
.float 3.14159274101
.text
glabel func_80A7B320
/* 02370 80A7B320 27BDFFC8 */ addiu $sp, $sp, 0xFFC8 ## $sp = FFFFFFC8
/* 02374 80A7B324 8FAE004C */ lw $t6, 0x004C($sp)
/* 02378 80A7B328 AFBF001C */ sw $ra, 0x001C($sp)
/* 0237C 80A7B32C AFB00018 */ sw $s0, 0x0018($sp)
/* 02380 80A7B330 AFA40038 */ sw $a0, 0x0038($sp)
/* 02384 80A7B334 AFA70044 */ sw $a3, 0x0044($sp)
/* 02388 80A7B338 85CF001C */ lh $t7, 0x001C($t6) ## 0000001C
/* 0238C 80A7B33C 00A08025 */ or $s0, $a1, $zero ## $s0 = 00000000
/* 02390 80A7B340 24010010 */ addiu $at, $zero, 0x0010 ## $at = 00000010
/* 02394 80A7B344 59E0000A */ blezl $t7, .L80A7B370
/* 02398 80A7B348 24010010 */ addiu $at, $zero, 0x0010 ## $at = 00000010
/* 0239C 80A7B34C 10A10007 */ beq $a1, $at, .L80A7B36C
/* 023A0 80A7B350 0005C080 */ sll $t8, $a1, 2
/* 023A4 80A7B354 3C0280A8 */ lui $v0, %hi(D_80A7B938) ## $v0 = 80A80000
/* 023A8 80A7B358 00581021 */ addu $v0, $v0, $t8
/* 023AC 80A7B35C 8C42B938 */ lw $v0, %lo(D_80A7B938)($v0)
/* 023B0 80A7B360 50400003 */ beql $v0, $zero, .L80A7B370
/* 023B4 80A7B364 24010010 */ addiu $at, $zero, 0x0010 ## $at = 00000010
/* 023B8 80A7B368 ACC20000 */ sw $v0, 0x0000($a2) ## 00000000
.L80A7B36C:
/* 023BC 80A7B36C 24010010 */ addiu $at, $zero, 0x0010 ## $at = 00000010
.L80A7B370:
/* 023C0 80A7B370 5601002E */ bnel $s0, $at, .L80A7B42C
/* 023C4 80A7B374 24010009 */ addiu $at, $zero, 0x0009 ## $at = 00000009
/* 023C8 80A7B378 44807000 */ mtc1 $zero, $f14 ## $f14 = 0.00
/* 023CC 80A7B37C 3C0180A8 */ lui $at, %hi(D_80A7BAE0) ## $at = 80A80000
/* 023D0 80A7B380 C42CBAE0 */ lwc1 $f12, %lo(D_80A7BAE0)($at)
/* 023D4 80A7B384 44067000 */ mfc1 $a2, $f14
/* 023D8 80A7B388 0C034261 */ jal Matrix_Translate
/* 023DC 80A7B38C 24070001 */ addiu $a3, $zero, 0x0001 ## $a3 = 00000001
/* 023E0 80A7B390 8FA8004C */ lw $t0, 0x004C($sp)
/* 023E4 80A7B394 27B9002C */ addiu $t9, $sp, 0x002C ## $t9 = FFFFFFF4
/* 023E8 80A7B398 3C014700 */ lui $at, 0x4700 ## $at = 47000000
/* 023EC 80A7B39C 890A0310 */ lwl $t2, 0x0310($t0) ## 00000310
/* 023F0 80A7B3A0 990A0313 */ lwr $t2, 0x0313($t0) ## 00000313
/* 023F4 80A7B3A4 44814000 */ mtc1 $at, $f8 ## $f8 = 32768.00
/* 023F8 80A7B3A8 3C0180A8 */ lui $at, %hi(D_80A7BAE4) ## $at = 80A80000
/* 023FC 80A7B3AC AF2A0000 */ sw $t2, 0x0000($t9) ## FFFFFFF4
/* 02400 80A7B3B0 950A0314 */ lhu $t2, 0x0314($t0) ## 00000314
/* 02404 80A7B3B4 24050001 */ addiu $a1, $zero, 0x0001 ## $a1 = 00000001
/* 02408 80A7B3B8 A72A0004 */ sh $t2, 0x0004($t9) ## FFFFFFF8
/* 0240C 80A7B3BC 87AB002C */ lh $t3, 0x002C($sp)
/* 02410 80A7B3C0 C430BAE4 */ lwc1 $f16, %lo(D_80A7BAE4)($at)
/* 02414 80A7B3C4 448B2000 */ mtc1 $t3, $f4 ## $f4 = 0.00
/* 02418 80A7B3C8 00000000 */ nop
/* 0241C 80A7B3CC 468021A0 */ cvt.s.w $f6, $f4
/* 02420 80A7B3D0 46083283 */ div.s $f10, $f6, $f8
/* 02424 80A7B3D4 46105302 */ mul.s $f12, $f10, $f16
/* 02428 80A7B3D8 0C0343B5 */ jal Matrix_RotateZ
/* 0242C 80A7B3DC 00000000 */ nop
/* 02430 80A7B3E0 87AC002E */ lh $t4, 0x002E($sp)
/* 02434 80A7B3E4 3C014700 */ lui $at, 0x4700 ## $at = 47000000
/* 02438 80A7B3E8 44813000 */ mtc1 $at, $f6 ## $f6 = 32768.00
/* 0243C 80A7B3EC 448C9000 */ mtc1 $t4, $f18 ## $f18 = 0.00
/* 02440 80A7B3F0 3C0180A8 */ lui $at, %hi(D_80A7BAE8) ## $at = 80A80000
/* 02444 80A7B3F4 C42ABAE8 */ lwc1 $f10, %lo(D_80A7BAE8)($at)
/* 02448 80A7B3F8 46809120 */ cvt.s.w $f4, $f18
/* 0244C 80A7B3FC 24050001 */ addiu $a1, $zero, 0x0001 ## $a1 = 00000001
/* 02450 80A7B400 46062203 */ div.s $f8, $f4, $f6
/* 02454 80A7B404 460A4302 */ mul.s $f12, $f8, $f10
/* 02458 80A7B408 0C0342DC */ jal Matrix_RotateX
/* 0245C 80A7B40C 00000000 */ nop
/* 02460 80A7B410 44807000 */ mtc1 $zero, $f14 ## $f14 = 0.00
/* 02464 80A7B414 3C0180A8 */ lui $at, %hi(D_80A7BAEC) ## $at = 80A80000
/* 02468 80A7B418 C42CBAEC */ lwc1 $f12, %lo(D_80A7BAEC)($at)
/* 0246C 80A7B41C 44067000 */ mfc1 $a2, $f14
/* 02470 80A7B420 0C034261 */ jal Matrix_Translate
/* 02474 80A7B424 24070001 */ addiu $a3, $zero, 0x0001 ## $a3 = 00000001
/* 02478 80A7B428 24010009 */ addiu $at, $zero, 0x0009 ## $at = 00000009
.L80A7B42C:
/* 0247C 80A7B42C 16010020 */ bne $s0, $at, .L80A7B4B0
/* 02480 80A7B430 8FAE004C */ lw $t6, 0x004C($sp)
/* 02484 80A7B434 89D80316 */ lwl $t8, 0x0316($t6) ## 00000316
/* 02488 80A7B438 99D80319 */ lwr $t8, 0x0319($t6) ## 00000319
/* 0248C 80A7B43C 27AD002C */ addiu $t5, $sp, 0x002C ## $t5 = FFFFFFF4
/* 02490 80A7B440 3C014700 */ lui $at, 0x4700 ## $at = 47000000
/* 02494 80A7B444 ADB80000 */ sw $t8, 0x0000($t5) ## FFFFFFF4
/* 02498 80A7B448 95D8031A */ lhu $t8, 0x031A($t6) ## 0000031A
/* 0249C 80A7B44C 44812000 */ mtc1 $at, $f4 ## $f4 = 32768.00
/* 024A0 80A7B450 3C0180A8 */ lui $at, %hi(D_80A7BAF0) ## $at = 80A80000
/* 024A4 80A7B454 A5B80004 */ sh $t8, 0x0004($t5) ## FFFFFFF8
/* 024A8 80A7B458 87B9002C */ lh $t9, 0x002C($sp)
/* 024AC 80A7B45C C428BAF0 */ lwc1 $f8, %lo(D_80A7BAF0)($at)
/* 024B0 80A7B460 24050001 */ addiu $a1, $zero, 0x0001 ## $a1 = 00000001
/* 024B4 80A7B464 44998000 */ mtc1 $t9, $f16 ## $f16 = 0.00
/* 024B8 80A7B468 00000000 */ nop
/* 024BC 80A7B46C 468084A0 */ cvt.s.w $f18, $f16
/* 024C0 80A7B470 46049183 */ div.s $f6, $f18, $f4
/* 024C4 80A7B474 46083302 */ mul.s $f12, $f6, $f8
/* 024C8 80A7B478 0C0342DC */ jal Matrix_RotateX
/* 024CC 80A7B47C 00000000 */ nop
/* 024D0 80A7B480 87A8002E */ lh $t0, 0x002E($sp)
/* 024D4 80A7B484 3C014700 */ lui $at, 0x4700 ## $at = 47000000
/* 024D8 80A7B488 44819000 */ mtc1 $at, $f18 ## $f18 = 32768.00
/* 024DC 80A7B48C 44885000 */ mtc1 $t0, $f10 ## $f10 = 0.00
/* 024E0 80A7B490 3C0180A8 */ lui $at, %hi(D_80A7BAF4) ## $at = 80A80000
/* 024E4 80A7B494 C426BAF4 */ lwc1 $f6, %lo(D_80A7BAF4)($at)
/* 024E8 80A7B498 46805420 */ cvt.s.w $f16, $f10
/* 024EC 80A7B49C 24050001 */ addiu $a1, $zero, 0x0001 ## $a1 = 00000001
/* 024F0 80A7B4A0 46128103 */ div.s $f4, $f16, $f18
/* 024F4 80A7B4A4 46062302 */ mul.s $f12, $f4, $f6
/* 024F8 80A7B4A8 0C034348 */ jal Matrix_RotateY
/* 024FC 80A7B4AC 00000000 */ nop
.L80A7B4B0:
/* 02500 80A7B4B0 24010009 */ addiu $at, $zero, 0x0009 ## $at = 00000009
/* 02504 80A7B4B4 12010005 */ beq $s0, $at, .L80A7B4CC
/* 02508 80A7B4B8 8FA9004C */ lw $t1, 0x004C($sp)
/* 0250C 80A7B4BC 2401000A */ addiu $at, $zero, 0x000A ## $at = 0000000A
/* 02510 80A7B4C0 12010002 */ beq $s0, $at, .L80A7B4CC
/* 02514 80A7B4C4 2401000D */ addiu $at, $zero, 0x000D ## $at = 0000000D
/* 02518 80A7B4C8 16010024 */ bne $s0, $at, .L80A7B55C
.L80A7B4CC:
/* 0251C 80A7B4CC 00105080 */ sll $t2, $s0, 2
/* 02520 80A7B4D0 01505023 */ subu $t2, $t2, $s0
/* 02524 80A7B4D4 000A5040 */ sll $t2, $t2, 1
/* 02528 80A7B4D8 012A1821 */ addu $v1, $t1, $t2
/* 0252C 80A7B4DC 84640332 */ lh $a0, 0x0332($v1) ## 00000332
/* 02530 80A7B4E0 0C01DE1C */ jal Math_SinS
## sins?
/* 02534 80A7B4E4 AFA30024 */ sw $v1, 0x0024($sp)
/* 02538 80A7B4E8 8FA20048 */ lw $v0, 0x0048($sp)
/* 0253C 80A7B4EC 3C014348 */ lui $at, 0x4348 ## $at = 43480000
/* 02540 80A7B4F0 44818000 */ mtc1 $at, $f16 ## $f16 = 200.00
/* 02544 80A7B4F4 844B0002 */ lh $t3, 0x0002($v0) ## 00000002
/* 02548 80A7B4F8 8FA30024 */ lw $v1, 0x0024($sp)
/* 0254C 80A7B4FC 46100482 */ mul.s $f18, $f0, $f16
/* 02550 80A7B500 448B4000 */ mtc1 $t3, $f8 ## $f8 = 0.00
/* 02554 80A7B504 00000000 */ nop
/* 02558 80A7B508 468042A0 */ cvt.s.w $f10, $f8
/* 0255C 80A7B50C 46125100 */ add.s $f4, $f10, $f18
/* 02560 80A7B510 4600218D */ trunc.w.s $f6, $f4
/* 02564 80A7B514 440D3000 */ mfc1 $t5, $f6
/* 02568 80A7B518 00000000 */ nop
/* 0256C 80A7B51C A44D0002 */ sh $t5, 0x0002($v0) ## 00000002
/* 02570 80A7B520 0C01DE0D */ jal Math_CosS
## coss?
/* 02574 80A7B524 84640334 */ lh $a0, 0x0334($v1) ## 00000334
/* 02578 80A7B528 8FA20048 */ lw $v0, 0x0048($sp)
/* 0257C 80A7B52C 3C014348 */ lui $at, 0x4348 ## $at = 43480000
/* 02580 80A7B530 44815000 */ mtc1 $at, $f10 ## $f10 = 200.00
/* 02584 80A7B534 844E0004 */ lh $t6, 0x0004($v0) ## 00000004
/* 02588 80A7B538 460A0482 */ mul.s $f18, $f0, $f10
/* 0258C 80A7B53C 448E4000 */ mtc1 $t6, $f8 ## $f8 = 0.00
/* 02590 80A7B540 00000000 */ nop
/* 02594 80A7B544 46804420 */ cvt.s.w $f16, $f8
/* 02598 80A7B548 46128100 */ add.s $f4, $f16, $f18
/* 0259C 80A7B54C 4600218D */ trunc.w.s $f6, $f4
/* 025A0 80A7B550 44183000 */ mfc1 $t8, $f6
/* 025A4 80A7B554 00000000 */ nop
/* 025A8 80A7B558 A4580004 */ sh $t8, 0x0004($v0) ## 00000004
.L80A7B55C:
/* 025AC 80A7B55C 8FBF001C */ lw $ra, 0x001C($sp)
/* 025B0 80A7B560 8FB00018 */ lw $s0, 0x0018($sp)
/* 025B4 80A7B564 27BD0038 */ addiu $sp, $sp, 0x0038 ## $sp = 00000000
/* 025B8 80A7B568 03E00008 */ jr $ra
/* 025BC 80A7B56C 00001025 */ or $v0, $zero, $zero ## $v0 = 00000000

View file

@ -1,95 +0,0 @@
.rdata
glabel D_80A7B9EC
.asciz "../z_en_in.c"
.balign 4
glabel D_80A7B9FC
.asciz "../z_en_in.c"
.balign 4
.text
glabel func_80A7B570
/* 025C0 80A7B570 27BDFFB8 */ addiu $sp, $sp, 0xFFB8 ## $sp = FFFFFFB8
/* 025C4 80A7B574 3C0F80A8 */ lui $t7, %hi(D_80A7B9A8) ## $t7 = 80A80000
/* 025C8 80A7B578 AFBF0014 */ sw $ra, 0x0014($sp)
/* 025CC 80A7B57C AFA40048 */ sw $a0, 0x0048($sp)
/* 025D0 80A7B580 AFA5004C */ sw $a1, 0x004C($sp)
/* 025D4 80A7B584 AFA60050 */ sw $a2, 0x0050($sp)
/* 025D8 80A7B588 AFA70054 */ sw $a3, 0x0054($sp)
/* 025DC 80A7B58C 25EFB9A8 */ addiu $t7, $t7, %lo(D_80A7B9A8) ## $t7 = 80A7B9A8
/* 025E0 80A7B590 8DF90000 */ lw $t9, 0x0000($t7) ## 80A7B9A8
/* 025E4 80A7B594 27AE0038 */ addiu $t6, $sp, 0x0038 ## $t6 = FFFFFFF0
/* 025E8 80A7B598 8DF80004 */ lw $t8, 0x0004($t7) ## 80A7B9AC
/* 025EC 80A7B59C ADD90000 */ sw $t9, 0x0000($t6) ## FFFFFFF0
/* 025F0 80A7B5A0 8DF90008 */ lw $t9, 0x0008($t7) ## 80A7B9B0
/* 025F4 80A7B5A4 ADD80004 */ sw $t8, 0x0004($t6) ## FFFFFFF4
/* 025F8 80A7B5A8 3C0680A8 */ lui $a2, %hi(D_80A7B9EC) ## $a2 = 80A80000
/* 025FC 80A7B5AC ADD90008 */ sw $t9, 0x0008($t6) ## FFFFFFF8
/* 02600 80A7B5B0 8FA90048 */ lw $t1, 0x0048($sp)
/* 02604 80A7B5B4 24C6B9EC */ addiu $a2, $a2, %lo(D_80A7B9EC) ## $a2 = 80A7B9EC
/* 02608 80A7B5B8 2407091F */ addiu $a3, $zero, 0x091F ## $a3 = 0000091F
/* 0260C 80A7B5BC 8D250000 */ lw $a1, 0x0000($t1) ## 00000000
/* 02610 80A7B5C0 27A40024 */ addiu $a0, $sp, 0x0024 ## $a0 = FFFFFFDC
/* 02614 80A7B5C4 0C031AB1 */ jal Graph_OpenDisps
/* 02618 80A7B5C8 AFA50034 */ sw $a1, 0x0034($sp)
/* 0261C 80A7B5CC 8FA7004C */ lw $a3, 0x004C($sp)
/* 02620 80A7B5D0 24010010 */ addiu $at, $zero, 0x0010 ## $at = 00000010
/* 02624 80A7B5D4 8FA80034 */ lw $t0, 0x0034($sp)
/* 02628 80A7B5D8 14E1000E */ bne $a3, $at, .L80A7B614
/* 0262C 80A7B5DC 8FA60058 */ lw $a2, 0x0058($sp)
/* 02630 80A7B5E0 27A40038 */ addiu $a0, $sp, 0x0038 ## $a0 = FFFFFFF0
/* 02634 80A7B5E4 24C50038 */ addiu $a1, $a2, 0x0038 ## $a1 = 00000038
/* 02638 80A7B5E8 0C0346BD */ jal Matrix_MultVec3f
/* 0263C 80A7B5EC AFA80034 */ sw $t0, 0x0034($sp)
/* 02640 80A7B5F0 8FA60058 */ lw $a2, 0x0058($sp)
/* 02644 80A7B5F4 8FA7004C */ lw $a3, 0x004C($sp)
/* 02648 80A7B5F8 8FA80034 */ lw $t0, 0x0034($sp)
/* 0264C 80A7B5FC 88CB0030 */ lwl $t3, 0x0030($a2) ## 00000030
/* 02650 80A7B600 98CB0033 */ lwr $t3, 0x0033($a2) ## 00000033
/* 02654 80A7B604 A8CB0044 */ swl $t3, 0x0044($a2) ## 00000044
/* 02658 80A7B608 B8CB0047 */ swr $t3, 0x0047($a2) ## 00000047
/* 0265C 80A7B60C 94CB0034 */ lhu $t3, 0x0034($a2) ## 00000034
/* 02660 80A7B610 A4CB0048 */ sh $t3, 0x0048($a2) ## 00000048
.L80A7B614:
/* 02664 80A7B614 2401000C */ addiu $at, $zero, 0x000C ## $at = 0000000C
/* 02668 80A7B618 14E1000D */ bne $a3, $at, .L80A7B650
/* 0266C 80A7B61C 8FA60058 */ lw $a2, 0x0058($sp)
/* 02670 80A7B620 8CCD0154 */ lw $t5, 0x0154($a2) ## 00000154
/* 02674 80A7B624 3C0C0601 */ lui $t4, %hi(D_06014CA8) ## $t4 = 06010000
/* 02678 80A7B628 258C4CA8 */ addiu $t4, $t4, %lo(D_06014CA8) ## $t4 = 06014CA8
/* 0267C 80A7B62C 158D0008 */ bne $t4, $t5, .L80A7B650
/* 02680 80A7B630 3C0FDE00 */ lui $t7, 0xDE00 ## $t7 = DE000000
/* 02684 80A7B634 8D0302C0 */ lw $v1, 0x02C0($t0) ## 000002C0
/* 02688 80A7B638 3C180600 */ lui $t8, %hi(D_06007A20) ## $t8 = 06000000
/* 0268C 80A7B63C 27187A20 */ addiu $t8, $t8, %lo(D_06007A20) ## $t8 = 06007A20
/* 02690 80A7B640 246E0008 */ addiu $t6, $v1, 0x0008 ## $t6 = 00000008
/* 02694 80A7B644 AD0E02C0 */ sw $t6, 0x02C0($t0) ## 000002C0
/* 02698 80A7B648 AC780004 */ sw $t8, 0x0004($v1) ## 00000004
/* 0269C 80A7B64C AC6F0000 */ sw $t7, 0x0000($v1) ## 00000000
.L80A7B650:
/* 026A0 80A7B650 2401000F */ addiu $at, $zero, 0x000F ## $at = 0000000F
/* 026A4 80A7B654 14E1000D */ bne $a3, $at, .L80A7B68C
/* 026A8 80A7B658 27A40024 */ addiu $a0, $sp, 0x0024 ## $a0 = FFFFFFDC
/* 026AC 80A7B65C 8CC90154 */ lw $t1, 0x0154($a2) ## 00000154
/* 026B0 80A7B660 3C190601 */ lui $t9, %hi(D_06014CA8) ## $t9 = 06010000
/* 026B4 80A7B664 27394CA8 */ addiu $t9, $t9, %lo(D_06014CA8) ## $t9 = 06014CA8
/* 026B8 80A7B668 17290008 */ bne $t9, $t1, .L80A7B68C
/* 026BC 80A7B66C 3C0BDE00 */ lui $t3, 0xDE00 ## $t3 = DE000000
/* 026C0 80A7B670 8D0302C0 */ lw $v1, 0x02C0($t0) ## 000002C0
/* 026C4 80A7B674 3C0C0600 */ lui $t4, %hi(D_06007BF8) ## $t4 = 06000000
/* 026C8 80A7B678 258C7BF8 */ addiu $t4, $t4, %lo(D_06007BF8) ## $t4 = 06007BF8
/* 026CC 80A7B67C 246A0008 */ addiu $t2, $v1, 0x0008 ## $t2 = 00000008
/* 026D0 80A7B680 AD0A02C0 */ sw $t2, 0x02C0($t0) ## 000002C0
/* 026D4 80A7B684 AC6C0004 */ sw $t4, 0x0004($v1) ## 00000004
/* 026D8 80A7B688 AC6B0000 */ sw $t3, 0x0000($v1) ## 00000000
.L80A7B68C:
/* 026DC 80A7B68C 8FAD0048 */ lw $t5, 0x0048($sp)
/* 026E0 80A7B690 3C0680A8 */ lui $a2, %hi(D_80A7B9FC) ## $a2 = 80A80000
/* 026E4 80A7B694 24C6B9FC */ addiu $a2, $a2, %lo(D_80A7B9FC) ## $a2 = 80A7B9FC
/* 026E8 80A7B698 2407093D */ addiu $a3, $zero, 0x093D ## $a3 = 0000093D
/* 026EC 80A7B69C 0C031AD5 */ jal Graph_CloseDisps
/* 026F0 80A7B6A0 8DA50000 */ lw $a1, 0x0000($t5) ## 00000000
/* 026F4 80A7B6A4 8FBF0014 */ lw $ra, 0x0014($sp)
/* 026F8 80A7B6A8 27BD0048 */ addiu $sp, $sp, 0x0048 ## $sp = 00000000
/* 026FC 80A7B6AC 03E00008 */ jr $ra
/* 02700 80A7B6B0 00000000 */ nop

View file

@ -1,40 +0,0 @@
.include "macro.inc"
# assembler directives
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
.set gp=64 # allow use of 64-bit general purpose registers
.section .data
.balign 16
glabel En_In_InitVars
.word 0x00CB0400, 0x00000019, 0x00C00000, 0x000003A8
.word EnIn_Init
.word EnIn_Destroy
.word EnIn_Update
.word EnIn_Draw
glabel D_80A7B840
.word 0x0A000039, 0x20010000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000100, 0x0012002E, 0x00000000, 0x00000000
glabel D_80A7B86C
.word 0x00000000, 0x00000000, 0xFF000000
glabel D_80A7B878
.word 0x06001CC0, 0x3F800000, 0x00000000, 0x00000000, 0x06001CC0, 0x3F800000, 0x00000000, 0xC1200000, 0x06013C6C, 0x3F800000, 0x00000000, 0x00000000, 0x06013C6C, 0x3F800000, 0x00000000, 0xC1200000, 0x06000CB0, 0x3F800000, 0x00000000, 0x00000000, 0x060003B4, 0x3F800000, 0x00000000, 0xC1200000, 0x06001BE0, 0x3F800000, 0x00000000, 0x00000000, 0x06013D60, 0x3F800000, 0x00000000, 0x00000000, 0x0601431C, 0x3F800000, 0x00000000, 0x00000000, 0x06014CA8, 0x3F800000, 0x00000000, 0x00000000
glabel D_80A7B918
.word 0x060151C8, 0x06015DF0, 0x06016B3C, 0x06015814, 0x0601646C, 0x060175D0, 0x06017B58, 0x06018C38
glabel D_80A7B938
.word 0x00000000, 0x00000000, 0x06013688, 0x060137C0, 0x06013910, 0x060132B8, 0x060133F0, 0x06013540, 0x06013100, 0x06011758, 0x06012AC0, 0x06012BF0, 0x06012D20, 0x06012480, 0x060125B0, 0x060126E0, 0x06011AD8, 0x06012350, 0x06012220, 0x06012120
glabel D_80A7B988
.word 0x055804CA, 0x01570000
glabel D_80A7B990
.word 0x00000000, 0x00000000
glabel D_80A7B998
.word 0x00000000
glabel D_80A7B99C
.word 0x00000000, 0x00000000, 0x00000000
glabel D_80A7B9A8
.word 0x44C80000, 0x00000000, 0x00000000
glabel D_80A7B9B4
.word 0x06003590, 0x060047D0, 0x06004BD0, 0x06004390, 0x00000000, 0x00000000, 0x00000000

View file

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

View file

@ -100,6 +100,7 @@ typedef struct {
#define BINANG_SUB(a, b) ((s16)(a - b))
#define DEG_TO_RAD(degrees) ((degrees) * (M_PI / 180.0f))
#define BINANG_TO_DEGF(binang) ((f32)binang * (360.0001525f / 65535.0f))
#define BINANG_TO_RAD(binang) (((f32)binang / 32768.0f) * M_PI)
// Vector macros
#define SQXZ(vec) ((vec.x) * (vec.x) + (vec.z) * (vec.z))

3
spec
View file

@ -2525,8 +2525,7 @@ endseg
beginseg
name "ovl_En_In"
include "build/src/overlays/actors/ovl_En_In/z_en_in.o"
include "build/data/overlays/actors/z_en_in.data.o"
include "build/data/overlays/actors/z_en_in.reloc.o"
include "build/src/overlays/actors/ovl_En_In/ovl_En_In_reloc.o"
endseg
beginseg

View file

@ -4861,7 +4861,7 @@ u32 func_80035BFC(GlobalContext* globalCtx, s16 arg1) {
}
} else {
if (!Flags_GetEventChkInf(0x18)) {
if (gSaveContext.nightFlag) {
if (gSaveContext.nightFlag != 0) {
retTextId = 0x204E;
} else if (Flags_GetInfTable(0x9A)) {
retTextId = 0x2031;

View file

@ -364,7 +364,7 @@ void func_80064824(GlobalContext* globalCtx, CutsceneContext* csCtx, CsCmdBase*
gSaveContext.unk_1422 = 1;
break;
case 34:
if (!gSaveContext.nightFlag) {
if (gSaveContext.nightFlag == 0) {
gSaveContext.dayTime -= D_8011FB40;
} else {
gSaveContext.dayTime -= D_8011FB40 * 2;

View file

@ -926,7 +926,7 @@ Gfx sDefaultDisplayList[] = {
void func_800994A0(GlobalContext* globalCtx) {
s16 computedEntranceIndex;
if (gSaveContext.nightFlag) {
if (gSaveContext.nightFlag != 0) {
if (LINK_IS_CHILD) {
computedEntranceIndex = globalCtx->nextEntranceIndex + 1;
} else {

View file

@ -121,13 +121,13 @@ void EnHeishi1_Init(Actor* thisx, GlobalContext* globalCtx) {
}
if (this->type != 5) {
if (((gSaveContext.dayTime < 0xB888) || (!gSaveContext.nightFlag)) && !(gSaveContext.eventChkInf[8] & 1)) {
if (((gSaveContext.dayTime < 0xB888) || (gSaveContext.nightFlag == 0)) && !(gSaveContext.eventChkInf[8] & 1)) {
this->actionFunc = EnHeishi1_SetupWalk;
} else {
Actor_Kill(&this->actor);
}
} else {
if ((gSaveContext.dayTime >= 0xB889) || (gSaveContext.nightFlag) || (gSaveContext.eventChkInf[8] & 1)) {
if ((gSaveContext.dayTime >= 0xB889) || (gSaveContext.nightFlag != 0) || (gSaveContext.eventChkInf[8] & 1)) {
this->actionFunc = EnHeishi1_SetupWaitNight;
} else {
Actor_Kill(&this->actor);

View file

@ -186,7 +186,7 @@ void func_80A53278(EnHeishi2* this, GlobalContext* globalCtx) {
this->unk_300 = 6;
this->actor.textId = 0x7006; // "There's a lot going on in the castle right now. I can't allow even..."
this->actionFunc = func_80A5475C;
} else if (gSaveContext.nightFlag) {
} else if (gSaveContext.nightFlag != 0) {
// "Sleep early for children!"
osSyncPrintf(VT_FGCOL(YELLOW) " ☆☆☆☆☆ 子供ははやくネロ! ☆☆☆☆☆ \n" VT_RST);
this->unk_300 = 6;

View file

@ -137,7 +137,7 @@ void func_80A563BC(EnHeishi4* this, GlobalContext* globalCtx) {
} else {
this->actor.textId = 0x507A;
}
} else if (!gSaveContext.nightFlag) {
} else if (gSaveContext.nightFlag == 0) {
if (this->unk_284 == 0) {
this->actor.textId = 0x5063;
} else {
@ -189,7 +189,7 @@ void func_80A56614(EnHeishi4* this, GlobalContext* globalCtx) {
this->actor.textId = 0x709A;
}
} else if (globalCtx->sceneNum != SCENE_MARKET_NIGHT) {
if (!gSaveContext.nightFlag) {
if (gSaveContext.nightFlag == 0) {
this->actor.textId = 0x7002;
} else {
this->actor.textId = 0x7003;

View file

@ -9,7 +9,9 @@ struct EnHorse;
typedef struct EnHorse {
/* 0x000 */ Actor actor;
/* 0x014C */ s32 unk_14C;
/* 0x0150 */ char unk_150[0x0A0];
/* 0x0150 */ char unk_150[0x008];
/* 0x0150 */ s32 unk_158;
/* 0x0150 */ char unk_15C[0x094];
/* 0x01F0 */ u32 unk_1F0;
/* 0x01F4 */ char unk_1F4[0x01C];
/* 0x0210 */ s32 unk_210;

View file

@ -204,7 +204,7 @@ void EnHorseNormal_Init(Actor* thisx, GlobalContext* globalCtx) {
return;
}
} else if (globalCtx->sceneNum == SCENE_MALON_STABLE) {
if (!gSaveContext.nightFlag) {
if (gSaveContext.nightFlag == 0) {
Actor_Kill(&this->actor);
return;
} else {

File diff suppressed because it is too large Load diff

View file

@ -6,9 +6,36 @@
struct EnIn;
typedef void (*EnInActionFunc)(struct EnIn*, GlobalContext*);
typedef struct EnIn {
/* 0x0000 */ Actor actor;
/* 0x014C */ char unk_14C[0x25C];
/* 0x014C */ SkelAnime skelAnime;
/* 0x0190 */ EnInActionFunc actionFunc;
/* 0x0194 */ ColliderCylinder collider;
/* 0x01E0 */ f32 unk_1E0;
/* 0x01E4 */ s8 ingoObjBankIndex;
/* 0x01E6 */ s16 unk_1E6;
/* 0x01E6 */ s16 unk_1E8;
/* 0x01EA */ s16 unk_1EA;
/* 0x01EC */ s16 unk_1EC;
/* 0x01EE */ s16 unk_1EE;
/* 0x01F0 */ s16 camId;
/* 0x01F2 */ s16 activeCamId;
/* 0x01F4 */ char unk_1F4[0x4];
/* 0x01F8 */ s16 unk_1F8;
/* 0x01FA */ s16 unk_1FA;
/* 0x01FC */ s16 unk_1FC;
/* 0x01FE */ Vec3s jointTable[20];
/* 0x0276 */ Vec3s morphTable[20];
/* 0x02F0 */ f32 unk_2F0;
/* 0x02F4 */ f32 unk_2F4;
/* 0x02F8 */ f32 unk_2F8;
/* 0x02FC */ f32 unk_2FC;
/* 0x0300 */ f32 unk_300;
/* 0x0304 */ f32 unk_304;
/* 0x0308 */ struct_80034A14_arg1 unk_308;
/* 0x0330 */ Vec3s unk_330[20];
} EnIn; // size = 0x03A8
extern const ActorInit En_In_InitVars;

View file

@ -160,7 +160,7 @@ void EnNiw_Init(Actor* thisx, GlobalContext* globalCtx) {
switch (this->actor.params) {
case 2:
if (!gSaveContext.nightFlag) {
if (gSaveContext.nightFlag == 0) {
Actor_Kill(&this->actor);
}
break;

View file

@ -188,7 +188,7 @@ void EnTa_Init(Actor* thisx, GlobalContext* globalCtx) {
} else if (LINK_IS_ADULT) {
Actor_Kill(&this->actor);
} else {
if (!gSaveContext.nightFlag) {
if (gSaveContext.nightFlag == 0) {
this->actor.flags |= 0x10;
this->unk_2C4[0] = this->unk_2C4[1] = this->unk_2C4[2] = 7;
this->unk_2B8[0] = (EnNiw*)Actor_Spawn(