En_Viewer (one non-matching) (#570)

* init commit

* en_viewer 20/24 functions decompiled

* en_viewer 22/24 functions decompiled

* EnViewer 1 func non-matching, down to stack

* cleanup, 1 non-matching

* ran formatter

* remove extra space in undefined_syms.txt

* remove data.s

* update math & skelAnime names

* pr feedback

* review

* semicolon

Co-authored-by: Fig02 <fig02srl@gmail.com>
This commit is contained in:
engineer124 2021-01-17 04:33:37 +11:00 committed by GitHub
parent 9be264da9d
commit f786f958bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
31 changed files with 935 additions and 3137 deletions

View File

@ -1,11 +0,0 @@
glabel EnViewer_Destroy
/* 000D8 80B2A2D8 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 000DC 80B2A2DC 00803025 */ or $a2, $a0, $zero ## $a2 = 00000000
/* 000E0 80B2A2E0 AFBF0014 */ sw $ra, 0x0014($sp)
/* 000E4 80B2A2E4 00A02025 */ or $a0, $a1, $zero ## $a0 = 00000000
/* 000E8 80B2A2E8 0C029A22 */ jal func_800A6888
/* 000EC 80B2A2EC 24C5014C */ addiu $a1, $a2, 0x014C ## $a1 = 0000014C
/* 000F0 80B2A2F0 8FBF0014 */ lw $ra, 0x0014($sp)
/* 000F4 80B2A2F4 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
/* 000F8 80B2A2F8 03E00008 */ jr $ra
/* 000FC 80B2A2FC 00000000 */ nop

View File

@ -1,87 +0,0 @@
.rdata
glabel D_80B2D120
.asciz "../z_en_viewer.c"
.balign 4
glabel D_80B2D134
.asciz "../z_en_viewer.c"
.balign 4
.text
glabel EnViewer_Draw
/* 02078 80B2C278 27BDFFC0 */ addiu $sp, $sp, 0xFFC0 ## $sp = FFFFFFC0
/* 0207C 80B2C27C AFB10018 */ sw $s1, 0x0018($sp)
/* 02080 80B2C280 AFB00014 */ sw $s0, 0x0014($sp)
/* 02084 80B2C284 00A08025 */ or $s0, $a1, $zero ## $s0 = 00000000
/* 02088 80B2C288 00808825 */ or $s1, $a0, $zero ## $s1 = 00000000
/* 0208C 80B2C28C AFBF001C */ sw $ra, 0x001C($sp)
/* 02090 80B2C290 3C0680B3 */ lui $a2, %hi(D_80B2D120) ## $a2 = 80B30000
/* 02094 80B2C294 24C6D120 */ addiu $a2, $a2, %lo(D_80B2D120) ## $a2 = 80B2D120
/* 02098 80B2C298 8CA50000 */ lw $a1, 0x0000($a1) ## 00000000
/* 0209C 80B2C29C 27A40020 */ addiu $a0, $sp, 0x0020 ## $a0 = FFFFFFE0
/* 020A0 80B2C2A0 0C031AB1 */ jal Graph_OpenDisps
/* 020A4 80B2C2A4 240706E0 */ addiu $a3, $zero, 0x06E0 ## $a3 = 000006E0
/* 020A8 80B2C2A8 922E01E6 */ lbu $t6, 0x01E6($s1) ## 000001E6
/* 020AC 80B2C2AC 11C0002F */ beq $t6, $zero, .L80B2C36C
/* 020B0 80B2C2B0 00000000 */ nop
/* 020B4 80B2C2B4 8622001C */ lh $v0, 0x001C($s1) ## 0000001C
/* 020B8 80B2C2B8 00021203 */ sra $v0, $v0, 8
/* 020BC 80B2C2BC 00021400 */ sll $v0, $v0, 16
/* 020C0 80B2C2C0 00021403 */ sra $v0, $v0, 16
/* 020C4 80B2C2C4 28410003 */ slti $at, $v0, 0x0003
/* 020C8 80B2C2C8 50200015 */ beql $at, $zero, .L80B2C320
/* 020CC 80B2C2CC 92091D6C */ lbu $t1, 0x1D6C($s0) ## 00001D6C
/* 020D0 80B2C2D0 920F1D6C */ lbu $t7, 0x1D6C($s0) ## 00001D6C
/* 020D4 80B2C2D4 11E00025 */ beq $t7, $zero, .L80B2C36C
/* 020D8 80B2C2D8 00000000 */ nop
/* 020DC 80B2C2DC 8E181D8C */ lw $t8, 0x1D8C($s0) ## 00001D8C
/* 020E0 80B2C2E0 13000022 */ beq $t8, $zero, .L80B2C36C
/* 020E4 80B2C2E4 00000000 */ nop
/* 020E8 80B2C2E8 0C024F46 */ jal func_80093D18
/* 020EC 80B2C2EC 8E040000 */ lw $a0, 0x0000($s0) ## 00000000
/* 020F0 80B2C2F0 923901DD */ lbu $t9, 0x01DD($s1) ## 000001DD
/* 020F4 80B2C2F4 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
/* 020F8 80B2C2F8 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000
/* 020FC 80B2C2FC 00194080 */ sll $t0, $t9, 2
/* 02100 80B2C300 3C1980B3 */ lui $t9, %hi(D_80B2CFDC) ## $t9 = 80B30000
/* 02104 80B2C304 0328C821 */ addu $t9, $t9, $t0
/* 02108 80B2C308 8F39CFDC */ lw $t9, %lo(D_80B2CFDC)($t9)
/* 0210C 80B2C30C 0320F809 */ jalr $ra, $t9
/* 02110 80B2C310 00000000 */ nop
/* 02114 80B2C314 10000015 */ beq $zero, $zero, .L80B2C36C
/* 02118 80B2C318 00000000 */ nop
/* 0211C 80B2C31C 92091D6C */ lbu $t1, 0x1D6C($s0) ## 00001D6C
.L80B2C320:
/* 02120 80B2C320 24010009 */ addiu $at, $zero, 0x0009 ## $at = 00000009
/* 02124 80B2C324 11200004 */ beq $t1, $zero, .L80B2C338
/* 02128 80B2C328 00000000 */ nop
/* 0212C 80B2C32C 8E0A1D90 */ lw $t2, 0x1D90($s0) ## 00001D90
/* 02130 80B2C330 15400003 */ bne $t2, $zero, .L80B2C340
/* 02134 80B2C334 00000000 */ nop
.L80B2C338:
/* 02138 80B2C338 1441000C */ bne $v0, $at, .L80B2C36C
/* 0213C 80B2C33C 00000000 */ nop
.L80B2C340:
/* 02140 80B2C340 0C024F46 */ jal func_80093D18
/* 02144 80B2C344 8E040000 */ lw $a0, 0x0000($s0) ## 00000000
/* 02148 80B2C348 922B01DD */ lbu $t3, 0x01DD($s1) ## 000001DD
/* 0214C 80B2C34C 3C1980B3 */ lui $t9, %hi(D_80B2CFDC) ## $t9 = 80B30000
/* 02150 80B2C350 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
/* 02154 80B2C354 000B6080 */ sll $t4, $t3, 2
/* 02158 80B2C358 032CC821 */ addu $t9, $t9, $t4
/* 0215C 80B2C35C 8F39CFDC */ lw $t9, %lo(D_80B2CFDC)($t9)
/* 02160 80B2C360 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000
/* 02164 80B2C364 0320F809 */ jalr $ra, $t9
/* 02168 80B2C368 00000000 */ nop
.L80B2C36C:
/* 0216C 80B2C36C 3C0680B3 */ lui $a2, %hi(D_80B2D134) ## $a2 = 80B30000
/* 02170 80B2C370 24C6D134 */ addiu $a2, $a2, %lo(D_80B2D134) ## $a2 = 80B2D134
/* 02174 80B2C374 27A40020 */ addiu $a0, $sp, 0x0020 ## $a0 = FFFFFFE0
/* 02178 80B2C378 8E050000 */ lw $a1, 0x0000($s0) ## 00000000
/* 0217C 80B2C37C 0C031AD5 */ jal Graph_CloseDisps
/* 02180 80B2C380 240706F8 */ addiu $a3, $zero, 0x06F8 ## $a3 = 000006F8
/* 02184 80B2C384 8FBF001C */ lw $ra, 0x001C($sp)
/* 02188 80B2C388 8FB00014 */ lw $s0, 0x0014($sp)
/* 0218C 80B2C38C 8FB10018 */ lw $s1, 0x0018($sp)
/* 02190 80B2C390 03E00008 */ jr $ra
/* 02194 80B2C394 27BD0040 */ addiu $sp, $sp, 0x0040 ## $sp = 00000000

View File

@ -1,57 +0,0 @@
glabel EnViewer_Init
/* 00008 80B2A208 27BDFFC0 */ addiu $sp, $sp, 0xFFC0 ## $sp = FFFFFFC0
/* 0000C 80B2A20C AFA50044 */ sw $a1, 0x0044($sp)
/* 00010 80B2A210 AFBF003C */ sw $ra, 0x003C($sp)
/* 00014 80B2A214 AFB00038 */ sw $s0, 0x0038($sp)
/* 00018 80B2A218 3C0580B3 */ lui $a1, %hi(D_80B2CEE4) ## $a1 = 80B30000
/* 0001C 80B2A21C 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 00020 80B2A220 0C01E037 */ jal Actor_ProcessInitChain
/* 00024 80B2A224 24A5CEE4 */ addiu $a1, $a1, %lo(D_80B2CEE4) ## $a1 = 80B2CEE4
/* 00028 80B2A228 3C0580B3 */ lui $a1, %hi(func_80B2A570) ## $a1 = 80B30000
/* 0002C 80B2A22C 24A5A570 */ addiu $a1, $a1, %lo(func_80B2A570) ## $a1 = 80B2A570
/* 00030 80B2A230 0C2CA880 */ jal func_80B2A200
/* 00034 80B2A234 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00038 80B2A238 3C0180B3 */ lui $at, %hi(D_80B2CEC0) ## $at = 80B30000
/* 0003C 80B2A23C A020CEC0 */ sb $zero, %lo(D_80B2CEC0)($at)
/* 00040 80B2A240 8603001C */ lh $v1, 0x001C($s0) ## 0000001C
/* 00044 80B2A244 24010003 */ addiu $at, $zero, 0x0003 ## $at = 00000003
/* 00048 80B2A248 A20001E4 */ sb $zero, 0x01E4($s0) ## 000001E4
/* 0004C 80B2A24C 00031A03 */ sra $v1, $v1, 8
/* 00050 80B2A250 306300FF */ andi $v1, $v1, 0x00FF ## $v1 = 00000000
/* 00054 80B2A254 A20001E5 */ sb $zero, 0x01E5($s0) ## 000001E5
/* 00058 80B2A258 1061000A */ beq $v1, $at, .L80B2A284
/* 0005C 80B2A25C A20001E6 */ sb $zero, 0x01E6($s0) ## 000001E6
/* 00060 80B2A260 24010005 */ addiu $at, $zero, 0x0005 ## $at = 00000005
/* 00064 80B2A264 10610007 */ beq $v1, $at, .L80B2A284
/* 00068 80B2A268 24010007 */ addiu $at, $zero, 0x0007 ## $at = 00000007
/* 0006C 80B2A26C 10610005 */ beq $v1, $at, .L80B2A284
/* 00070 80B2A270 24010008 */ addiu $at, $zero, 0x0008 ## $at = 00000008
/* 00074 80B2A274 10610003 */ beq $v1, $at, .L80B2A284
/* 00078 80B2A278 24010009 */ addiu $at, $zero, 0x0009 ## $at = 00000009
/* 0007C 80B2A27C 54610012 */ bnel $v1, $at, .L80B2A2C8
/* 00080 80B2A280 8FBF003C */ lw $ra, 0x003C($sp)
.L80B2A284:
/* 00084 80B2A284 44800000 */ mtc1 $zero, $f0 ## $f0 = 0.00
/* 00088 80B2A288 8FA60044 */ lw $a2, 0x0044($sp)
/* 0008C 80B2A28C 240E0023 */ addiu $t6, $zero, 0x0023 ## $t6 = 00000023
/* 00090 80B2A290 AFAE0028 */ sw $t6, 0x0028($sp)
/* 00094 80B2A294 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000
/* 00098 80B2A298 2407016F */ addiu $a3, $zero, 0x016F ## $a3 = 0000016F
/* 0009C 80B2A29C AFA0001C */ sw $zero, 0x001C($sp)
/* 000A0 80B2A2A0 AFA00020 */ sw $zero, 0x0020($sp)
/* 000A4 80B2A2A4 AFA00024 */ sw $zero, 0x0024($sp)
/* 000A8 80B2A2A8 24C41C24 */ addiu $a0, $a2, 0x1C24 ## $a0 = 00001C24
/* 000AC 80B2A2AC E7A00010 */ swc1 $f0, 0x0010($sp)
/* 000B0 80B2A2B0 E7A00014 */ swc1 $f0, 0x0014($sp)
/* 000B4 80B2A2B4 0C00C916 */ jal Actor_SpawnAsChild
/* 000B8 80B2A2B8 E7A00018 */ swc1 $f0, 0x0018($sp)
/* 000BC 80B2A2BC 3C0180B3 */ lui $at, %hi(D_80B2D440) ## $at = 80B30000
/* 000C0 80B2A2C0 AC22D440 */ sw $v0, %lo(D_80B2D440)($at)
/* 000C4 80B2A2C4 8FBF003C */ lw $ra, 0x003C($sp)
.L80B2A2C8:
/* 000C8 80B2A2C8 8FB00038 */ lw $s0, 0x0038($sp)
/* 000CC 80B2A2CC 27BD0040 */ addiu $sp, $sp, 0x0040 ## $sp = 00000000
/* 000D0 80B2A2D0 03E00008 */ jr $ra
/* 000D4 80B2A2D4 00000000 */ nop

View File

@ -1,22 +0,0 @@
glabel EnViewer_Update
/* 010A0 80B2B2A0 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 010A4 80B2B2A4 AFBF0014 */ sw $ra, 0x0014($sp)
/* 010A8 80B2B2A8 808E01DC */ lb $t6, 0x01DC($a0) ## 000001DC
/* 010AC 80B2B2AC 3C190001 */ lui $t9, 0x0001 ## $t9 = 00010000
/* 010B0 80B2B2B0 3C018000 */ lui $at, 0x8000 ## $at = 80000000
/* 010B4 80B2B2B4 000E7900 */ sll $t7, $t6, 4
/* 010B8 80B2B2B8 01EE7821 */ addu $t7, $t7, $t6
/* 010BC 80B2B2BC 000F7880 */ sll $t7, $t7, 2
/* 010C0 80B2B2C0 00AFC021 */ addu $t8, $a1, $t7
/* 010C4 80B2B2C4 0338C821 */ addu $t9, $t9, $t8
/* 010C8 80B2B2C8 8F3917B4 */ lw $t9, 0x17B4($t9) ## 000117B4
/* 010CC 80B2B2CC 03214021 */ addu $t0, $t9, $at
/* 010D0 80B2B2D0 3C018016 */ lui $at, %hi(gSegments+0x18)
/* 010D4 80B2B2D4 AC286FC0 */ sw $t0, %lo(gSegments+0x18)($at)
/* 010D8 80B2B2D8 8C9901E0 */ lw $t9, 0x01E0($a0) ## 000001E0
/* 010DC 80B2B2DC 0320F809 */ jalr $ra, $t9
/* 010E0 80B2B2E0 00000000 */ nop
/* 010E4 80B2B2E4 8FBF0014 */ lw $ra, 0x0014($sp)
/* 010E8 80B2B2E8 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
/* 010EC 80B2B2EC 03E00008 */ jr $ra
/* 010F0 80B2B2F0 00000000 */ nop

View File

@ -1,3 +0,0 @@
glabel func_80B2A200
/* 00000 80B2A200 03E00008 */ jr $ra
/* 00004 80B2A204 AC8501E0 */ sw $a1, 0x01E0($a0) ## 000001E0

View File

@ -1,90 +0,0 @@
glabel func_80B2A300
/* 00100 80B2A300 27BDFFC8 */ addiu $sp, $sp, 0xFFC8 ## $sp = FFFFFFC8
/* 00104 80B2A304 AFBF002C */ sw $ra, 0x002C($sp)
/* 00108 80B2A308 AFB00028 */ sw $s0, 0x0028($sp)
/* 0010C 80B2A30C AFA40038 */ sw $a0, 0x0038($sp)
/* 00110 80B2A310 AFA5003C */ sw $a1, 0x003C($sp)
/* 00114 80B2A314 AFA70044 */ sw $a3, 0x0044($sp)
/* 00118 80B2A318 8482001C */ lh $v0, 0x001C($a0) ## 0000001C
/* 0011C 80B2A31C 24010002 */ addiu $at, $zero, 0x0002 ## $at = 00000002
/* 00120 80B2A320 8FA4003C */ lw $a0, 0x003C($sp)
/* 00124 80B2A324 00021203 */ sra $v0, $v0, 8
/* 00128 80B2A328 00021400 */ sll $v0, $v0, 16
/* 0012C 80B2A32C 00021403 */ sra $v0, $v0, 16
/* 00130 80B2A330 1041000C */ beq $v0, $at, .L80B2A364
/* 00134 80B2A334 8FB00038 */ lw $s0, 0x0038($sp)
/* 00138 80B2A338 24010003 */ addiu $at, $zero, 0x0003 ## $at = 00000003
/* 0013C 80B2A33C 10410009 */ beq $v0, $at, .L80B2A364
/* 00140 80B2A340 24010005 */ addiu $at, $zero, 0x0005 ## $at = 00000005
/* 00144 80B2A344 10410007 */ beq $v0, $at, .L80B2A364
/* 00148 80B2A348 24010007 */ addiu $at, $zero, 0x0007 ## $at = 00000007
/* 0014C 80B2A34C 10410005 */ beq $v0, $at, .L80B2A364
/* 00150 80B2A350 24010008 */ addiu $at, $zero, 0x0008 ## $at = 00000008
/* 00154 80B2A354 10410003 */ beq $v0, $at, .L80B2A364
/* 00158 80B2A358 24010009 */ addiu $at, $zero, 0x0009 ## $at = 00000009
/* 0015C 80B2A35C 1441000B */ bne $v0, $at, .L80B2A38C
/* 00160 80B2A360 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
.L80B2A364:
/* 00164 80B2A364 26100198 */ addiu $s0, $s0, 0x0198 ## $s0 = 00000198
/* 00168 80B2A368 02002825 */ or $a1, $s0, $zero ## $a1 = 00000198
/* 0016C 80B2A36C 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 00170 80B2A370 AFA00010 */ sw $zero, 0x0010($sp)
/* 00174 80B2A374 AFA00014 */ sw $zero, 0x0014($sp)
/* 00178 80B2A378 AFA00018 */ sw $zero, 0x0018($sp)
/* 0017C 80B2A37C 0C0291BE */ jal SkelAnime_InitFlex
/* 00180 80B2A380 A7A20036 */ sh $v0, 0x0036($sp)
/* 00184 80B2A384 1000000B */ beq $zero, $zero, .L80B2A3B4
/* 00188 80B2A388 87A20036 */ lh $v0, 0x0036($sp)
.L80B2A38C:
/* 0018C 80B2A38C 8FB00038 */ lw $s0, 0x0038($sp)
/* 00190 80B2A390 8FA4003C */ lw $a0, 0x003C($sp)
/* 00194 80B2A394 AFA00010 */ sw $zero, 0x0010($sp)
/* 00198 80B2A398 26100198 */ addiu $s0, $s0, 0x0198 ## $s0 = 00000330
/* 0019C 80B2A39C 02002825 */ or $a1, $s0, $zero ## $a1 = 00000330
/* 001A0 80B2A3A0 AFA00014 */ sw $zero, 0x0014($sp)
/* 001A4 80B2A3A4 AFA00018 */ sw $zero, 0x0018($sp)
/* 001A8 80B2A3A8 0C02915F */ jal SkelAnime_Init
/* 001AC 80B2A3AC A7A20036 */ sh $v0, 0x0036($sp)
/* 001B0 80B2A3B0 87A20036 */ lh $v0, 0x0036($sp)
.L80B2A3B4:
/* 001B4 80B2A3B4 8FB80038 */ lw $t8, 0x0038($sp)
/* 001B8 80B2A3B8 8FAF003C */ lw $t7, 0x003C($sp)
/* 001BC 80B2A3BC 3C0A0001 */ lui $t2, 0x0001 ## $t2 = 00010000
/* 001C0 80B2A3C0 831901DC */ lb $t9, 0x01DC($t8) ## 000001DC
/* 001C4 80B2A3C4 3C018000 */ lui $at, 0x8000 ## $at = 80000000
/* 001C8 80B2A3C8 02002025 */ or $a0, $s0, $zero ## $a0 = 00000330
/* 001CC 80B2A3CC 00194100 */ sll $t0, $t9, 4
/* 001D0 80B2A3D0 01194021 */ addu $t0, $t0, $t9
/* 001D4 80B2A3D4 00084080 */ sll $t0, $t0, 2
/* 001D8 80B2A3D8 01E84821 */ addu $t1, $t7, $t0
/* 001DC 80B2A3DC 01495021 */ addu $t2, $t2, $t1
/* 001E0 80B2A3E0 8D4A17B4 */ lw $t2, 0x17B4($t2) ## 000117B4
/* 001E4 80B2A3E4 8FA50044 */ lw $a1, 0x0044($sp)
/* 001E8 80B2A3E8 01415821 */ addu $t3, $t2, $at
/* 001EC 80B2A3EC 3C018016 */ lui $at, %hi(gSegments+0x18)
/* 001F0 80B2A3F0 AC2B6FC0 */ sw $t3, %lo(gSegments+0x18)($at)
/* 001F4 80B2A3F4 24010003 */ addiu $at, $zero, 0x0003 ## $at = 00000003
/* 001F8 80B2A3F8 10410007 */ beq $v0, $at, .L80B2A418
/* 001FC 80B2A3FC 24010007 */ addiu $at, $zero, 0x0007 ## $at = 00000007
/* 00200 80B2A400 10410005 */ beq $v0, $at, .L80B2A418
/* 00204 80B2A404 24010008 */ addiu $at, $zero, 0x0008 ## $at = 00000008
/* 00208 80B2A408 10410003 */ beq $v0, $at, .L80B2A418
/* 0020C 80B2A40C 24010009 */ addiu $at, $zero, 0x0009 ## $at = 00000009
/* 00210 80B2A410 14410005 */ bne $v0, $at, .L80B2A428
/* 00214 80B2A414 3C064040 */ lui $a2, 0x4040 ## $a2 = 40400000
.L80B2A418:
/* 00218 80B2A418 0C0294E1 */ jal Animation_PlayLoopSetSpeed
/* 0021C 80B2A41C 3C063F80 */ lui $a2, 0x3F80 ## $a2 = 3F800000
/* 00220 80B2A420 10000005 */ beq $zero, $zero, .L80B2A438
/* 00224 80B2A424 8FBF002C */ lw $ra, 0x002C($sp)
.L80B2A428:
/* 00228 80B2A428 02002025 */ or $a0, $s0, $zero ## $a0 = 00000330
/* 0022C 80B2A42C 0C0294E1 */ jal Animation_PlayLoopSetSpeed
/* 00230 80B2A430 8FA50044 */ lw $a1, 0x0044($sp)
/* 00234 80B2A434 8FBF002C */ lw $ra, 0x002C($sp)
.L80B2A438:
/* 00238 80B2A438 8FB00028 */ lw $s0, 0x0028($sp)
/* 0023C 80B2A43C 27BD0038 */ addiu $sp, $sp, 0x0038 ## $sp = 00000000
/* 00240 80B2A440 03E00008 */ jr $ra
/* 00244 80B2A444 00000000 */ nop

View File

@ -1,37 +0,0 @@
glabel func_80B2A448
/* 00248 80B2A448 27BDFFD0 */ addiu $sp, $sp, 0xFFD0 ## $sp = FFFFFFD0
/* 0024C 80B2A44C AFA40030 */ sw $a0, 0x0030($sp)
/* 00250 80B2A450 AFA50034 */ sw $a1, 0x0034($sp)
/* 00254 80B2A454 00A02025 */ or $a0, $a1, $zero ## $a0 = 00000000
/* 00258 80B2A458 8FA50030 */ lw $a1, 0x0030($sp)
/* 0025C 80B2A45C AFBF0024 */ sw $ra, 0x0024($sp)
/* 00260 80B2A460 AFA7003C */ sw $a3, 0x003C($sp)
/* 00264 80B2A464 24A50198 */ addiu $a1, $a1, 0x0198 ## $a1 = 00000198
/* 00268 80B2A468 AFA5002C */ sw $a1, 0x002C($sp)
/* 0026C 80B2A46C 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 00270 80B2A470 AFA00010 */ sw $zero, 0x0010($sp)
/* 00274 80B2A474 AFA00014 */ sw $zero, 0x0014($sp)
/* 00278 80B2A478 0C0291BE */ jal SkelAnime_InitFlex
/* 0027C 80B2A47C AFA00018 */ sw $zero, 0x0018($sp)
/* 00280 80B2A480 8FAF0030 */ lw $t7, 0x0030($sp)
/* 00284 80B2A484 8FAE0034 */ lw $t6, 0x0034($sp)
/* 00288 80B2A488 3C090001 */ lui $t1, 0x0001 ## $t1 = 00010000
/* 0028C 80B2A48C 81F801DC */ lb $t8, 0x01DC($t7) ## 000001DC
/* 00290 80B2A490 3C018000 */ lui $at, 0x8000 ## $at = 80000000
/* 00294 80B2A494 8FA4002C */ lw $a0, 0x002C($sp)
/* 00298 80B2A498 0018C900 */ sll $t9, $t8, 4
/* 0029C 80B2A49C 0338C821 */ addu $t9, $t9, $t8
/* 002A0 80B2A4A0 0019C880 */ sll $t9, $t9, 2
/* 002A4 80B2A4A4 01D94021 */ addu $t0, $t6, $t9
/* 002A8 80B2A4A8 01284821 */ addu $t1, $t1, $t0
/* 002AC 80B2A4AC 8D2917B4 */ lw $t1, 0x17B4($t1) ## 000117B4
/* 002B0 80B2A4B0 8FA5003C */ lw $a1, 0x003C($sp)
/* 002B4 80B2A4B4 3C064040 */ lui $a2, 0x4040 ## $a2 = 40400000
/* 002B8 80B2A4B8 01215021 */ addu $t2, $t1, $at
/* 002BC 80B2A4BC 3C018016 */ lui $at, %hi(gSegments+0x18)
/* 002C0 80B2A4C0 0C0294E1 */ jal Animation_PlayLoopSetSpeed
/* 002C4 80B2A4C4 AC2A6FC0 */ sw $t2, %lo(gSegments+0x18)($at)
/* 002C8 80B2A4C8 8FBF0024 */ lw $ra, 0x0024($sp)
/* 002CC 80B2A4CC 27BD0030 */ addiu $sp, $sp, 0x0030 ## $sp = 00000000
/* 002D0 80B2A4D0 03E00008 */ jr $ra
/* 002D4 80B2A4D4 00000000 */ nop

View File

@ -1,41 +0,0 @@
glabel func_80B2A4D8
/* 002D8 80B2A4D8 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 002DC 80B2A4DC AFA40018 */ sw $a0, 0x0018($sp)
/* 002E0 80B2A4E0 AFA5001C */ sw $a1, 0x001C($sp)
/* 002E4 80B2A4E4 00A02025 */ or $a0, $a1, $zero ## $a0 = 00000000
/* 002E8 80B2A4E8 8FA50018 */ lw $a1, 0x0018($sp)
/* 002EC 80B2A4EC AFBF0014 */ sw $ra, 0x0014($sp)
/* 002F0 80B2A4F0 AFA70024 */ sw $a3, 0x0024($sp)
/* 002F4 80B2A4F4 0C02998F */ jal func_800A663C
/* 002F8 80B2A4F8 24A5014C */ addiu $a1, $a1, 0x014C ## $a1 = 0000014C
/* 002FC 80B2A4FC 8FA80018 */ lw $t0, 0x0018($sp)
/* 00300 80B2A500 8FA70024 */ lw $a3, 0x0024($sp)
/* 00304 80B2A504 24010003 */ addiu $at, $zero, 0x0003 ## $at = 00000003
/* 00308 80B2A508 8503001C */ lh $v1, 0x001C($t0) ## 0000001C
/* 0030C 80B2A50C 25040198 */ addiu $a0, $t0, 0x0198 ## $a0 = 00000198
/* 00310 80B2A510 00E02825 */ or $a1, $a3, $zero ## $a1 = 00000000
/* 00314 80B2A514 00031A03 */ sra $v1, $v1, 8
/* 00318 80B2A518 306300FF */ andi $v1, $v1, 0x00FF ## $v1 = 00000000
/* 0031C 80B2A51C 1061000E */ beq $v1, $at, .L80B2A558
/* 00320 80B2A520 24010004 */ addiu $at, $zero, 0x0004 ## $at = 00000004
/* 00324 80B2A524 1061000C */ beq $v1, $at, .L80B2A558
/* 00328 80B2A528 24010007 */ addiu $at, $zero, 0x0007 ## $at = 00000007
/* 0032C 80B2A52C 1061000A */ beq $v1, $at, .L80B2A558
/* 00330 80B2A530 24010008 */ addiu $at, $zero, 0x0008 ## $at = 00000008
/* 00334 80B2A534 10610008 */ beq $v1, $at, .L80B2A558
/* 00338 80B2A538 24010009 */ addiu $at, $zero, 0x0009 ## $at = 00000009
/* 0033C 80B2A53C 10610006 */ beq $v1, $at, .L80B2A558
/* 00340 80B2A540 3C064040 */ lui $a2, 0x4040 ## $a2 = 40400000
/* 00344 80B2A544 25040198 */ addiu $a0, $t0, 0x0198 ## $a0 = 00000198
/* 00348 80B2A548 0C0294E1 */ jal Animation_PlayLoopSetSpeed
/* 0034C 80B2A54C 00E02825 */ or $a1, $a3, $zero ## $a1 = 00000000
/* 00350 80B2A550 10000004 */ beq $zero, $zero, .L80B2A564
/* 00354 80B2A554 8FBF0014 */ lw $ra, 0x0014($sp)
.L80B2A558:
/* 00358 80B2A558 0C0294A7 */ jal Animation_PlayOnceSetSpeed
/* 0035C 80B2A55C 3C063F80 */ lui $a2, 0x3F80 ## $a2 = 3F800000
/* 00360 80B2A560 8FBF0014 */ lw $ra, 0x0014($sp)
.L80B2A564:
/* 00364 80B2A564 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
/* 00368 80B2A568 03E00008 */ jr $ra
/* 0036C 80B2A56C 00000000 */ nop

View File

@ -1,158 +0,0 @@
.rdata
glabel D_80B2CFF0
.asciz "bank_ID >= 0"
.balign 4
glabel D_80B2D000
.asciz "../z_en_viewer.c"
.balign 4
glabel D_80B2D014
.asciz "this->anime_bank_ID >= 0"
.balign 4
glabel D_80B2D030
.asciz "../z_en_viewer.c"
.balign 4
.text
glabel func_80B2A570
/* 00370 80B2A570 27BDFFD0 */ addiu $sp, $sp, 0xFFD0 ## $sp = FFFFFFD0
/* 00374 80B2A574 AFBF001C */ sw $ra, 0x001C($sp)
/* 00378 80B2A578 AFB10018 */ sw $s1, 0x0018($sp)
/* 0037C 80B2A57C AFB00014 */ sw $s0, 0x0014($sp)
/* 00380 80B2A580 AFA50034 */ sw $a1, 0x0034($sp)
/* 00384 80B2A584 848E001C */ lh $t6, 0x001C($a0) ## 0000001C
/* 00388 80B2A588 3C1980B3 */ lui $t9, %hi(D_80B2CEE8) ## $t9 = 80B30000
/* 0038C 80B2A58C 3C010001 */ lui $at, 0x0001 ## $at = 00010000
/* 00390 80B2A590 000E7A03 */ sra $t7, $t6, 8
/* 00394 80B2A594 000FC080 */ sll $t8, $t7, 2
/* 00398 80B2A598 030FC021 */ addu $t8, $t8, $t7
/* 0039C 80B2A59C 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 003A0 80B2A5A0 0018C080 */ sll $t8, $t8, 2
/* 003A4 80B2A5A4 2739CEE8 */ addiu $t9, $t9, %lo(D_80B2CEE8) ## $t9 = 80B2CEE8
/* 003A8 80B2A5A8 342117A4 */ ori $at, $at, 0x17A4 ## $at = 000117A4
/* 003AC 80B2A5AC 03198821 */ addu $s1, $t8, $t9
/* 003B0 80B2A5B0 00A12021 */ addu $a0, $a1, $at
/* 003B4 80B2A5B4 86250000 */ lh $a1, 0x0000($s1) ## 00000000
/* 003B8 80B2A5B8 0C02604B */ jal Object_GetIndex
## ObjectIndex
/* 003BC 80B2A5BC AFA40024 */ sw $a0, 0x0024($sp)
/* 003C0 80B2A5C0 04410007 */ bgez $v0, .L80B2A5E0
/* 003C4 80B2A5C4 AFA20028 */ sw $v0, 0x0028($sp)
/* 003C8 80B2A5C8 3C0480B3 */ lui $a0, %hi(D_80B2CFF0) ## $a0 = 80B30000
/* 003CC 80B2A5CC 3C0580B3 */ lui $a1, %hi(D_80B2D000) ## $a1 = 80B30000
/* 003D0 80B2A5D0 24A5D000 */ addiu $a1, $a1, %lo(D_80B2D000) ## $a1 = 80B2D000
/* 003D4 80B2A5D4 2484CFF0 */ addiu $a0, $a0, %lo(D_80B2CFF0) ## $a0 = 80B2CFF0
/* 003D8 80B2A5D8 0C0007FC */ jal __assert
/* 003DC 80B2A5DC 24060240 */ addiu $a2, $zero, 0x0240 ## $a2 = 00000240
.L80B2A5E0:
/* 003E0 80B2A5E0 8FA40024 */ lw $a0, 0x0024($sp)
/* 003E4 80B2A5E4 0C02604B */ jal Object_GetIndex
## ObjectIndex
/* 003E8 80B2A5E8 86250002 */ lh $a1, 0x0002($s1) ## 00000002
/* 003EC 80B2A5EC A20201DC */ sb $v0, 0x01DC($s0) ## 000001DC
/* 003F0 80B2A5F0 820801DC */ lb $t0, 0x01DC($s0) ## 000001DC
/* 003F4 80B2A5F4 3C0480B3 */ lui $a0, %hi(D_80B2D014) ## $a0 = 80B30000
/* 003F8 80B2A5F8 2484D014 */ addiu $a0, $a0, %lo(D_80B2D014) ## $a0 = 80B2D014
/* 003FC 80B2A5FC 05010004 */ bgez $t0, .L80B2A610
/* 00400 80B2A600 3C0580B3 */ lui $a1, %hi(D_80B2D030) ## $a1 = 80B30000
/* 00404 80B2A604 24A5D030 */ addiu $a1, $a1, %lo(D_80B2D030) ## $a1 = 80B2D030
/* 00408 80B2A608 0C0007FC */ jal __assert
/* 0040C 80B2A60C 24060243 */ addiu $a2, $zero, 0x0243 ## $a2 = 00000243
.L80B2A610:
/* 00410 80B2A610 8FA40024 */ lw $a0, 0x0024($sp)
/* 00414 80B2A614 0C026062 */ jal Object_IsLoaded
/* 00418 80B2A618 8FA50028 */ lw $a1, 0x0028($sp)
/* 0041C 80B2A61C 10400005 */ beq $v0, $zero, .L80B2A634
/* 00420 80B2A620 8FA40024 */ lw $a0, 0x0024($sp)
/* 00424 80B2A624 0C026062 */ jal Object_IsLoaded
/* 00428 80B2A628 820501DC */ lb $a1, 0x01DC($s0) ## 000001DC
/* 0042C 80B2A62C 14400006 */ bne $v0, $zero, .L80B2A648
/* 00430 80B2A630 240B0001 */ addiu $t3, $zero, 0x0001 ## $t3 = 00000001
.L80B2A634:
/* 00434 80B2A634 8E090004 */ lw $t1, 0x0004($s0) ## 00000004
/* 00438 80B2A638 2401FFBF */ addiu $at, $zero, 0xFFBF ## $at = FFFFFFBF
/* 0043C 80B2A63C 01215024 */ and $t2, $t1, $at
/* 00440 80B2A640 10000041 */ beq $zero, $zero, .L80B2A748
/* 00444 80B2A644 AE0A0004 */ sw $t2, 0x0004($s0) ## 00000004
.L80B2A648:
/* 00448 80B2A648 A20B01E6 */ sb $t3, 0x01E6($s0) ## 000001E6
/* 0044C 80B2A64C 8FAC0028 */ lw $t4, 0x0028($sp)
/* 00450 80B2A650 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000
/* 00454 80B2A654 A20C001E */ sb $t4, 0x001E($s0) ## 0000001E
/* 00458 80B2A658 0C00B591 */ jal Actor_SetObjectDependency
/* 0045C 80B2A65C 8FA40034 */ lw $a0, 0x0034($sp)
/* 00460 80B2A660 922D0004 */ lbu $t5, 0x0004($s1) ## 00000004
/* 00464 80B2A664 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00468 80B2A668 3C014F80 */ lui $at, 0x4F80 ## $at = 4F800000
/* 0046C 80B2A66C 448D2000 */ mtc1 $t5, $f4 ## $f4 = 0.00
/* 00470 80B2A670 05A10004 */ bgez $t5, .L80B2A684
/* 00474 80B2A674 468021A0 */ cvt.s.w $f6, $f4
/* 00478 80B2A678 44814000 */ mtc1 $at, $f8 ## $f8 = 4294967296.00
/* 0047C 80B2A67C 00000000 */ nop
/* 00480 80B2A680 46083180 */ add.s $f6, $f6, $f8
.L80B2A684:
/* 00484 80B2A684 3C0142C8 */ lui $at, 0x42C8 ## $at = 42C80000
/* 00488 80B2A688 44815000 */ mtc1 $at, $f10 ## $f10 = 100.00
/* 0048C 80B2A68C 00000000 */ nop
/* 00490 80B2A690 460A3403 */ div.s $f16, $f6, $f10
/* 00494 80B2A694 44058000 */ mfc1 $a1, $f16
/* 00498 80B2A698 0C00B58B */ jal Actor_SetScale
/* 0049C 80B2A69C 00000000 */ nop
/* 004A0 80B2A6A0 822E0005 */ lb $t6, 0x0005($s1) ## 00000005
/* 004A4 80B2A6A4 92380006 */ lbu $t8, 0x0006($s1) ## 00000006
/* 004A8 80B2A6A8 92280007 */ lbu $t0, 0x0007($s1) ## 00000007
/* 004AC 80B2A6AC 000E7880 */ sll $t7, $t6, 2
/* 004B0 80B2A6B0 01EE7823 */ subu $t7, $t7, $t6
/* 004B4 80B2A6B4 000F78C0 */ sll $t7, $t7, 3
/* 004B8 80B2A6B8 01EE7821 */ addu $t7, $t7, $t6
/* 004BC 80B2A6BC 000F7880 */ sll $t7, $t7, 2
/* 004C0 80B2A6C0 448F9000 */ mtc1 $t7, $f18 ## $f18 = 0.00
/* 004C4 80B2A6C4 44882000 */ mtc1 $t0, $f4 ## $f4 = 0.00
/* 004C8 80B2A6C8 3C0680B3 */ lui $a2, %hi(D_80B2CFC0) ## $a2 = 80B30000
/* 004CC 80B2A6CC 468094A0 */ cvt.s.w $f18, $f18
/* 004D0 80B2A6D0 0018C880 */ sll $t9, $t8, 2
/* 004D4 80B2A6D4 00D93021 */ addu $a2, $a2, $t9
/* 004D8 80B2A6D8 8CC6CFC0 */ lw $a2, %lo(D_80B2CFC0)($a2)
/* 004DC 80B2A6DC 260400B4 */ addiu $a0, $s0, 0x00B4 ## $a0 = 000000B4
/* 004E0 80B2A6E0 3C014F80 */ lui $at, 0x4F80 ## $at = 4F800000
/* 004E4 80B2A6E4 44059000 */ mfc1 $a1, $f18
/* 004E8 80B2A6E8 05010004 */ bgez $t0, .L80B2A6FC
/* 004EC 80B2A6EC 46802120 */ cvt.s.w $f4, $f4
/* 004F0 80B2A6F0 44814000 */ mtc1 $at, $f8 ## $f8 = 4294967296.00
/* 004F4 80B2A6F4 00000000 */ nop
/* 004F8 80B2A6F8 46082100 */ add.s $f4, $f4, $f8
.L80B2A6FC:
/* 004FC 80B2A6FC 44072000 */ mfc1 $a3, $f4
/* 00500 80B2A700 0C00AC78 */ jal ActorShape_Init
/* 00504 80B2A704 00000000 */ nop
/* 00508 80B2A708 92290008 */ lbu $t1, 0x0008($s1) ## 00000008
/* 0050C 80B2A70C 3C1980B3 */ lui $t9, %hi(D_80B2CFB0) ## $t9 = 80B30000
/* 00510 80B2A710 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00514 80B2A714 312A00FF */ andi $t2, $t1, 0x00FF ## $t2 = 00000000
/* 00518 80B2A718 000A5880 */ sll $t3, $t2, 2
/* 0051C 80B2A71C 032BC821 */ addu $t9, $t9, $t3
/* 00520 80B2A720 A20901DD */ sb $t1, 0x01DD($s0) ## 000001DD
/* 00524 80B2A724 8F39CFB0 */ lw $t9, %lo(D_80B2CFB0)($t9)
/* 00528 80B2A728 8E270010 */ lw $a3, 0x0010($s1) ## 00000010
/* 0052C 80B2A72C 8E26000C */ lw $a2, 0x000C($s1) ## 0000000C
/* 00530 80B2A730 0320F809 */ jalr $ra, $t9
/* 00534 80B2A734 8FA50034 */ lw $a1, 0x0034($sp)
/* 00538 80B2A738 3C0580B3 */ lui $a1, %hi(func_80B2A75C) ## $a1 = 80B30000
/* 0053C 80B2A73C 24A5A75C */ addiu $a1, $a1, %lo(func_80B2A75C) ## $a1 = 80B2A75C
/* 00540 80B2A740 0C2CA880 */ jal func_80B2A200
/* 00544 80B2A744 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
.L80B2A748:
/* 00548 80B2A748 8FBF001C */ lw $ra, 0x001C($sp)
/* 0054C 80B2A74C 8FB00014 */ lw $s0, 0x0014($sp)
/* 00550 80B2A750 8FB10018 */ lw $s1, 0x0018($sp)
/* 00554 80B2A754 03E00008 */ jr $ra
/* 00558 80B2A758 27BD0030 */ addiu $sp, $sp, 0x0030 ## $sp = 00000000

View File

@ -1,816 +0,0 @@
.late_rodata
glabel D_80B2D184
.float 10000.0
glabel D_80B2D188
.word 0x44994000
glabel jtbl_80B2D18C
.word L80B2AC10
.word L80B2AC38
.word L80B2AC60
.word L80B2AC8C
.word L80B2ACB4
.word L80B2ACE0
.word L80B2AD0C
.word L80B2AD44
glabel D_80B2D1AC
.word 0x45228000
glabel D_80B2D1B0
.word 0x44FE6000
.text
glabel func_80B2A75C
/* 0055C 80B2A75C 27BDFFA8 */ addiu $sp, $sp, 0xFFA8 ## $sp = FFFFFFA8
/* 00560 80B2A760 AFBF003C */ sw $ra, 0x003C($sp)
/* 00564 80B2A764 AFB00038 */ sw $s0, 0x0038($sp)
/* 00568 80B2A768 AFA5005C */ sw $a1, 0x005C($sp)
/* 0056C 80B2A76C 8482001C */ lh $v0, 0x001C($a0) ## 0000001C
/* 00570 80B2A770 24010002 */ addiu $at, $zero, 0x0002 ## $at = 00000002
/* 00574 80B2A774 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 00578 80B2A778 00021203 */ sra $v0, $v0, 8
/* 0057C 80B2A77C 304200FF */ andi $v0, $v0, 0x00FF ## $v0 = 00000000
/* 00580 80B2A780 14410015 */ bne $v0, $at, .L80B2A7D8
/* 00584 80B2A784 AFA20044 */ sw $v0, 0x0044($sp)
/* 00588 80B2A788 3C0F8016 */ lui $t7, %hi(gSaveContext+0x1360)
/* 0058C 80B2A78C 8DEFF9C0 */ lw $t7, %lo(gSaveContext+0x1360)($t7)
/* 00590 80B2A790 24010005 */ addiu $at, $zero, 0x0005 ## $at = 00000005
/* 00594 80B2A794 15E100C0 */ bne $t7, $at, .L80B2AA98
/* 00598 80B2A798 00000000 */ nop
/* 0059C 80B2A79C 94A31D74 */ lhu $v1, 0x1D74($a1) ## 00001D74
/* 005A0 80B2A7A0 24010318 */ addiu $at, $zero, 0x0318 ## $at = 00000318
/* 005A4 80B2A7A4 54610006 */ bnel $v1, $at, .L80B2A7C0
/* 005A8 80B2A7A8 2401034D */ addiu $at, $zero, 0x034D ## $at = 0000034D
/* 005AC 80B2A7AC 0C00BE0A */ jal Audio_PlayActorSound2
/* 005B0 80B2A7B0 2405686E */ addiu $a1, $zero, 0x686E ## $a1 = 0000686E
/* 005B4 80B2A7B4 100000B8 */ beq $zero, $zero, .L80B2AA98
/* 005B8 80B2A7B8 00000000 */ nop
/* 005BC 80B2A7BC 2401034D */ addiu $at, $zero, 0x034D ## $at = 0000034D
.L80B2A7C0:
/* 005C0 80B2A7C0 146100B5 */ bne $v1, $at, .L80B2AA98
/* 005C4 80B2A7C4 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 005C8 80B2A7C8 0C00BE0A */ jal Audio_PlayActorSound2
/* 005CC 80B2A7CC 2405686F */ addiu $a1, $zero, 0x686F ## $a1 = 0000686F
/* 005D0 80B2A7D0 100000B1 */ beq $zero, $zero, .L80B2AA98
/* 005D4 80B2A7D4 00000000 */ nop
.L80B2A7D8:
/* 005D8 80B2A7D8 8FB90044 */ lw $t9, 0x0044($sp)
/* 005DC 80B2A7DC 24010007 */ addiu $at, $zero, 0x0007 ## $at = 00000007
/* 005E0 80B2A7E0 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 005E4 80B2A7E4 1721000A */ bne $t9, $at, .L80B2A810
/* 005E8 80B2A7E8 8FAA0044 */ lw $t2, 0x0044($sp)
/* 005EC 80B2A7EC 3C053E99 */ lui $a1, 0x3E99 ## $a1 = 3E990000
/* 005F0 80B2A7F0 0C00B58B */ jal Actor_SetScale
/* 005F4 80B2A7F4 34A5999A */ ori $a1, $a1, 0x999A ## $a1 = 3E99999A
/* 005F8 80B2A7F8 3C0180B3 */ lui $at, %hi(D_80B2D184) ## $at = 80B30000
/* 005FC 80B2A7FC C420D184 */ lwc1 $f0, %lo(D_80B2D184)($at)
/* 00600 80B2A800 E60000F4 */ swc1 $f0, 0x00F4($s0) ## 000000F4
/* 00604 80B2A804 E60000F8 */ swc1 $f0, 0x00F8($s0) ## 000000F8
/* 00608 80B2A808 100000A3 */ beq $zero, $zero, .L80B2AA98
/* 0060C 80B2A80C E60000FC */ swc1 $f0, 0x00FC($s0) ## 000000FC
.L80B2A810:
/* 00610 80B2A810 24010003 */ addiu $at, $zero, 0x0003 ## $at = 00000003
/* 00614 80B2A814 15410066 */ bne $t2, $at, .L80B2A9B0
/* 00618 80B2A818 3C028016 */ lui $v0, %hi(gSaveContext+0x1360)
/* 0061C 80B2A81C 8C42F9C0 */ lw $v0, %lo(gSaveContext+0x1360)($v0)
/* 00620 80B2A820 24010004 */ addiu $at, $zero, 0x0004 ## $at = 00000004
/* 00624 80B2A824 8FAB005C */ lw $t3, 0x005C($sp)
/* 00628 80B2A828 5441002B */ bnel $v0, $at, .L80B2A8D8
/* 0062C 80B2A82C 8FAE005C */ lw $t6, 0x005C($sp)
/* 00630 80B2A830 95631D74 */ lhu $v1, 0x1D74($t3) ## 00001D74
/* 00634 80B2A834 286100DC */ slti $at, $v1, 0x00DC
/* 00638 80B2A838 1420000D */ bne $at, $zero, .L80B2A870
/* 0063C 80B2A83C 24010118 */ addiu $at, $zero, 0x0118 ## $at = 00000118
/* 00640 80B2A840 10610017 */ beq $v1, $at, .L80B2A8A0
/* 00644 80B2A844 24010140 */ addiu $at, $zero, 0x0140 ## $at = 00000140
/* 00648 80B2A848 10610015 */ beq $v1, $at, .L80B2A8A0
/* 0064C 80B2A84C 2401017C */ addiu $at, $zero, 0x017C ## $at = 0000017C
/* 00650 80B2A850 10610013 */ beq $v1, $at, .L80B2A8A0
/* 00654 80B2A854 24010199 */ addiu $at, $zero, 0x0199 ## $at = 00000199
/* 00658 80B2A858 10610011 */ beq $v1, $at, .L80B2A8A0
/* 0065C 80B2A85C 240101B6 */ addiu $at, $zero, 0x01B6 ## $at = 000001B6
/* 00660 80B2A860 1061000F */ beq $v1, $at, .L80B2A8A0
/* 00664 80B2A864 00000000 */ nop
/* 00668 80B2A868 1000001B */ beq $zero, $zero, .L80B2A8D8
/* 0066C 80B2A86C 8FAE005C */ lw $t6, 0x005C($sp)
.L80B2A870:
/* 00670 80B2A870 24010014 */ addiu $at, $zero, 0x0014 ## $at = 00000014
/* 00674 80B2A874 1061000A */ beq $v1, $at, .L80B2A8A0
/* 00678 80B2A878 2401003B */ addiu $at, $zero, 0x003B ## $at = 0000003B
/* 0067C 80B2A87C 10610008 */ beq $v1, $at, .L80B2A8A0
/* 00680 80B2A880 24010047 */ addiu $at, $zero, 0x0047 ## $at = 00000047
/* 00684 80B2A884 10610006 */ beq $v1, $at, .L80B2A8A0
/* 00688 80B2A888 24010081 */ addiu $at, $zero, 0x0081 ## $at = 00000081
/* 0068C 80B2A88C 10610004 */ beq $v1, $at, .L80B2A8A0
/* 00690 80B2A890 2401008C */ addiu $at, $zero, 0x008C ## $at = 0000008C
/* 00694 80B2A894 10610002 */ beq $v1, $at, .L80B2A8A0
/* 00698 80B2A898 240100DB */ addiu $at, $zero, 0x00DB ## $at = 000000DB
/* 0069C 80B2A89C 1461000D */ bne $v1, $at, .L80B2A8D4
.L80B2A8A0:
/* 006A0 80B2A8A0 3C0C8013 */ lui $t4, %hi(D_801333E0)
/* 006A4 80B2A8A4 3C0D8013 */ lui $t5, %hi(D_801333E8)
/* 006A8 80B2A8A8 25AD33E8 */ addiu $t5, %lo(D_801333E8)
/* 006AC 80B2A8AC 258733E0 */ addiu $a3, $t4, %lo(D_801333E0)
/* 006B0 80B2A8B0 3C058013 */ lui $a1, %hi(D_801333D4)
/* 006B4 80B2A8B4 24A533D4 */ addiu $a1, %lo(D_801333D4)
/* 006B8 80B2A8B8 AFA70010 */ sw $a3, 0x0010($sp)
/* 006BC 80B2A8BC AFAD0014 */ sw $t5, 0x0014($sp)
/* 006C0 80B2A8C0 2404481D */ addiu $a0, $zero, 0x481D ## $a0 = 0000481D
/* 006C4 80B2A8C4 0C03DCE3 */ jal Audio_PlaySoundGeneral
/* 006C8 80B2A8C8 24060004 */ addiu $a2, $zero, 0x0004 ## $a2 = 00000004
/* 006CC 80B2A8CC 3C028016 */ lui $v0, %hi(gSaveContext+0x1360)
/* 006D0 80B2A8D0 8C42F9C0 */ lw $v0, %lo(gSaveContext+0x1360)($v0)
.L80B2A8D4:
/* 006D4 80B2A8D4 8FAE005C */ lw $t6, 0x005C($sp)
.L80B2A8D8:
/* 006D8 80B2A8D8 24010005 */ addiu $at, $zero, 0x0005 ## $at = 00000005
/* 006DC 80B2A8DC 1441001F */ bne $v0, $at, .L80B2A95C
/* 006E0 80B2A8E0 95C31D74 */ lhu $v1, 0x1D74($t6) ## 00001D74
/* 006E4 80B2A8E4 240105E4 */ addiu $at, $zero, 0x05E4 ## $at = 000005E4
/* 006E8 80B2A8E8 14610005 */ bne $v1, $at, .L80B2A900
/* 006EC 80B2A8EC 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 006F0 80B2A8F0 0C00BE0A */ jal Audio_PlayActorSound2
/* 006F4 80B2A8F4 240539D6 */ addiu $a1, $zero, 0x39D6 ## $a1 = 000039D6
/* 006F8 80B2A8F8 8FA6005C */ lw $a2, 0x005C($sp)
/* 006FC 80B2A8FC 94C31D74 */ lhu $v1, 0x1D74($a2) ## 00001D74
.L80B2A900:
/* 00700 80B2A900 24010609 */ addiu $at, $zero, 0x0609 ## $at = 00000609
/* 00704 80B2A904 14610015 */ bne $v1, $at, .L80B2A95C
/* 00708 80B2A908 8FA6005C */ lw $a2, 0x005C($sp)
/* 0070C 80B2A90C 3C014200 */ lui $at, 0x4200 ## $at = 42000000
/* 00710 80B2A910 44812000 */ mtc1 $at, $f4 ## $f4 = 32.00
/* 00714 80B2A914 3C0142CA */ lui $at, 0x42CA ## $at = 42CA0000
/* 00718 80B2A918 44813000 */ mtc1 $at, $f6 ## $f6 = 101.00
/* 0071C 80B2A91C 3C0180B3 */ lui $at, %hi(D_80B2D188) ## $at = 80B30000
/* 00720 80B2A920 C428D188 */ lwc1 $f8, %lo(D_80B2D188)($at)
/* 00724 80B2A924 2418000C */ addiu $t8, $zero, 0x000C ## $t8 = 0000000C
/* 00728 80B2A928 AFB80028 */ sw $t8, 0x0028($sp)
/* 0072C 80B2A92C 24C41C24 */ addiu $a0, $a2, 0x1C24 ## $a0 = 00001C24
/* 00730 80B2A930 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000
/* 00734 80B2A934 240700F5 */ addiu $a3, $zero, 0x00F5 ## $a3 = 000000F5
/* 00738 80B2A938 AFA0001C */ sw $zero, 0x001C($sp)
/* 0073C 80B2A93C AFA00020 */ sw $zero, 0x0020($sp)
/* 00740 80B2A940 AFA00024 */ sw $zero, 0x0024($sp)
/* 00744 80B2A944 E7A40010 */ swc1 $f4, 0x0010($sp)
/* 00748 80B2A948 E7A60014 */ swc1 $f6, 0x0014($sp)
/* 0074C 80B2A94C 0C00C916 */ jal Actor_SpawnAsChild
/* 00750 80B2A950 E7A80018 */ swc1 $f8, 0x0018($sp)
/* 00754 80B2A954 8FA6005C */ lw $a2, 0x005C($sp)
/* 00758 80B2A958 94C31D74 */ lhu $v1, 0x1D74($a2) ## 00001D74
.L80B2A95C:
/* 0075C 80B2A95C 240103FC */ addiu $at, $zero, 0x03FC ## $at = 000003FC
/* 00760 80B2A960 14610005 */ bne $v1, $at, .L80B2A978
/* 00764 80B2A964 3C040100 */ lui $a0, 0x0100 ## $a0 = 01000000
/* 00768 80B2A968 0C03E803 */ jal Audio_SetBGM
/* 0076C 80B2A96C 34840023 */ ori $a0, $a0, 0x0023 ## $a0 = 01000023
/* 00770 80B2A970 8FA6005C */ lw $a2, 0x005C($sp)
/* 00774 80B2A974 94C31D74 */ lhu $v1, 0x1D74($a2) ## 00001D74
.L80B2A978:
/* 00778 80B2A978 240103C0 */ addiu $at, $zero, 0x03C0 ## $at = 000003C0
/* 0077C 80B2A97C 14610046 */ bne $v1, $at, .L80B2AA98
/* 00780 80B2A980 3C078013 */ lui $a3, %hi(D_801333E0)
/* 00784 80B2A984 3C198013 */ lui $t9, %hi(D_801333E8)
/* 00788 80B2A988 24E733E0 */ addiu $a3, %lo(D_801333E0)
/* 0078C 80B2A98C 273933E8 */ addiu $t9, %lo(D_801333E8)
/* 00790 80B2A990 AFB90014 */ sw $t9, 0x0014($sp)
/* 00794 80B2A994 AFA70010 */ sw $a3, 0x0010($sp)
/* 00798 80B2A998 24042816 */ addiu $a0, $zero, 0x2816 ## $a0 = 00002816
/* 0079C 80B2A99C 260500E4 */ addiu $a1, $s0, 0x00E4 ## $a1 = 000000E4
/* 007A0 80B2A9A0 0C03DCE3 */ jal Audio_PlaySoundGeneral
/* 007A4 80B2A9A4 24060004 */ addiu $a2, $zero, 0x0004 ## $a2 = 00000004
/* 007A8 80B2A9A8 1000003B */ beq $zero, $zero, .L80B2AA98
/* 007AC 80B2A9AC 00000000 */ nop
.L80B2A9B0:
/* 007B0 80B2A9B0 8FAA0044 */ lw $t2, 0x0044($sp)
/* 007B4 80B2A9B4 24010006 */ addiu $at, $zero, 0x0006 ## $at = 00000006
/* 007B8 80B2A9B8 3C028016 */ lui $v0, %hi(gSaveContext+0x1360)
/* 007BC 80B2A9BC 1541000C */ bne $t2, $at, .L80B2A9F0
/* 007C0 80B2A9C0 8FAB0044 */ lw $t3, 0x0044($sp)
/* 007C4 80B2A9C4 8C42F9C0 */ lw $v0, %lo(gSaveContext+0x1360)($v0)
/* 007C8 80B2A9C8 24010005 */ addiu $at, $zero, 0x0005 ## $at = 00000005
/* 007CC 80B2A9CC 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 007D0 80B2A9D0 10410003 */ beq $v0, $at, .L80B2A9E0
/* 007D4 80B2A9D4 2401000A */ addiu $at, $zero, 0x000A ## $at = 0000000A
/* 007D8 80B2A9D8 1441002F */ bne $v0, $at, .L80B2AA98
/* 007DC 80B2A9DC 00000000 */ nop
.L80B2A9E0:
/* 007E0 80B2A9E0 0C00BE0A */ jal Audio_PlayActorSound2
/* 007E4 80B2A9E4 24052078 */ addiu $a1, $zero, 0x2078 ## $a1 = 00002078
/* 007E8 80B2A9E8 1000002B */ beq $zero, $zero, .L80B2AA98
/* 007EC 80B2A9EC 00000000 */ nop
.L80B2A9F0:
/* 007F0 80B2A9F0 24010004 */ addiu $at, $zero, 0x0004 ## $at = 00000004
/* 007F4 80B2A9F4 15610028 */ bne $t3, $at, .L80B2AA98
/* 007F8 80B2A9F8 00000000 */ nop
/* 007FC 80B2A9FC C60A01B0 */ lwc1 $f10, 0x01B0($s0) ## 000001B0
/* 00800 80B2AA00 8E0201A0 */ lw $v0, 0x01A0($s0) ## 000001A0
/* 00804 80B2AA04 3C0D0600 */ lui $t5, %hi(D_06003858) ## $t5 = 06000000
/* 00808 80B2AA08 4600540D */ trunc.w.s $f16, $f10
/* 0080C 80B2AA0C 25AD3858 */ addiu $t5, $t5, %lo(D_06003858) ## $t5 = 06003858
/* 00810 80B2AA10 3C0E0600 */ lui $t6, %hi(D_06004AA4) ## $t6 = 06000000
/* 00814 80B2AA14 24010008 */ addiu $at, $zero, 0x0008 ## $at = 00000008
/* 00818 80B2AA18 44038000 */ mfc1 $v1, $f16
/* 0081C 80B2AA1C 25CE4AA4 */ addiu $t6, $t6, %lo(D_06004AA4) ## $t6 = 06004AA4
/* 00820 80B2AA20 00031C00 */ sll $v1, $v1, 16
/* 00824 80B2AA24 15A2000E */ bne $t5, $v0, .L80B2AA60
/* 00828 80B2AA28 00031C03 */ sra $v1, $v1, 16
/* 0082C 80B2AA2C 14610005 */ bne $v1, $at, .L80B2AA44
/* 00830 80B2AA30 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00834 80B2AA34 2405283D */ addiu $a1, $zero, 0x283D ## $a1 = 0000283D
/* 00838 80B2AA38 0C00BE0A */ jal Audio_PlayActorSound2
/* 0083C 80B2AA3C A7A3004E */ sh $v1, 0x004E($sp)
/* 00840 80B2AA40 87A3004E */ lh $v1, 0x004E($sp)
.L80B2AA44:
/* 00844 80B2AA44 2401001E */ addiu $at, $zero, 0x001E ## $at = 0000001E
/* 00848 80B2AA48 14610013 */ bne $v1, $at, .L80B2AA98
/* 0084C 80B2AA4C 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00850 80B2AA50 0C00BE0A */ jal Audio_PlayActorSound2
/* 00854 80B2AA54 2405282B */ addiu $a1, $zero, 0x282B ## $a1 = 0000282B
/* 00858 80B2AA58 1000000F */ beq $zero, $zero, .L80B2AA98
/* 0085C 80B2AA5C 00000000 */ nop
.L80B2AA60:
/* 00860 80B2AA60 15C20008 */ bne $t6, $v0, .L80B2AA84
/* 00864 80B2AA64 3C0F0600 */ lui $t7, 0x0600 ## $t7 = 06000000
/* 00868 80B2AA68 24010019 */ addiu $at, $zero, 0x0019 ## $at = 00000019
/* 0086C 80B2AA6C 1461000A */ bne $v1, $at, .L80B2AA98
/* 00870 80B2AA70 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00874 80B2AA74 0C00BE0A */ jal Audio_PlayActorSound2
/* 00878 80B2AA78 2405282C */ addiu $a1, $zero, 0x282C ## $a1 = 0000282C
/* 0087C 80B2AA7C 10000006 */ beq $zero, $zero, .L80B2AA98
/* 00880 80B2AA80 00000000 */ nop
.L80B2AA84:
/* 00884 80B2AA84 25EF2650 */ addiu $t7, $t7, 0x2650 ## $t7 = 00002650
/* 00888 80B2AA88 15E20003 */ bne $t7, $v0, .L80B2AA98
/* 0088C 80B2AA8C 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00890 80B2AA90 0C00BE0A */ jal Audio_PlayActorSound2
/* 00894 80B2AA94 24052078 */ addiu $a1, $zero, 0x2078 ## $a1 = 00002078
.L80B2AA98:
/* 00898 80B2AA98 3C0380B3 */ lui $v1, %hi(D_80B2CFCC) ## $v1 = 80B30000
/* 0089C 80B2AA9C 2463CFCC */ addiu $v1, $v1, %lo(D_80B2CFCC) ## $v1 = 80B2CFCC
/* 008A0 80B2AAA0 84620000 */ lh $v0, 0x0000($v1) ## 80B2CFCC
/* 008A4 80B2AAA4 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 008A8 80B2AAA8 10400002 */ beq $v0, $zero, .L80B2AAB4
/* 008AC 80B2AAAC 2458FFFF */ addiu $t8, $v0, 0xFFFF ## $t8 = FFFFFFFF
/* 008B0 80B2AAB0 A4780000 */ sh $t8, 0x0000($v1) ## 80B2CFCC
.L80B2AAB4:
/* 008B4 80B2AAB4 0C2CB0E6 */ jal func_80B2C398
/* 008B8 80B2AAB8 8FA5005C */ lw $a1, 0x005C($sp)
/* 008BC 80B2AABC 0C00B638 */ jal Actor_MoveForward
/* 008C0 80B2AAC0 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 008C4 80B2AAC4 26040198 */ addiu $a0, $s0, 0x0198 ## $a0 = 00000198
/* 008C8 80B2AAC8 0C02927F */ jal SkelAnime_Update
/* 008CC 80B2AACC AFA40040 */ sw $a0, 0x0040($sp)
/* 008D0 80B2AAD0 8FB90044 */ lw $t9, 0x0044($sp)
/* 008D4 80B2AAD4 24070003 */ addiu $a3, $zero, 0x0003 ## $a3 = 00000003
/* 008D8 80B2AAD8 8FA6005C */ lw $a2, 0x005C($sp)
/* 008DC 80B2AADC 10F90004 */ beq $a3, $t9, .L80B2AAF0
/* 008E0 80B2AAE0 00402825 */ or $a1, $v0, $zero ## $a1 = 00000000
/* 008E4 80B2AAE4 24090004 */ addiu $t1, $zero, 0x0004 ## $t1 = 00000004
/* 008E8 80B2AAE8 553900A4 */ bnel $t1, $t9, .L80B2AD7C
/* 008EC 80B2AAEC 8FAC0044 */ lw $t4, 0x0044($sp)
.L80B2AAF0:
/* 008F0 80B2AAF0 90CA1D6C */ lbu $t2, 0x1D6C($a2) ## 00001D6C
/* 008F4 80B2AAF4 24090004 */ addiu $t1, $zero, 0x0004 ## $t1 = 00000004
/* 008F8 80B2AAF8 3C0B80B3 */ lui $t3, %hi(D_80B2CFCC) ## $t3 = 80B30000
/* 008FC 80B2AAFC 114001E3 */ beq $t2, $zero, .L80B2B28C
/* 00900 80B2AB00 24080001 */ addiu $t0, $zero, 0x0001 ## $t0 = 00000001
/* 00904 80B2AB04 8CC31D90 */ lw $v1, 0x1D90($a2) ## 00001D90
/* 00908 80B2AB08 506001E1 */ beql $v1, $zero, .L80B2B290
/* 0090C 80B2AB0C 8FBF003C */ lw $ra, 0x003C($sp)
/* 00910 80B2AB10 94640000 */ lhu $a0, 0x0000($v1) ## 00000000
/* 00914 80B2AB14 24010002 */ addiu $at, $zero, 0x0002 ## $at = 00000002
/* 00918 80B2AB18 14810019 */ bne $a0, $at, .L80B2AB80
/* 0091C 80B2AB1C 00000000 */ nop
/* 00920 80B2AB20 856BCFCC */ lh $t3, %lo(D_80B2CFCC)($t3)
/* 00924 80B2AB24 15600016 */ bne $t3, $zero, .L80B2AB80
/* 00928 80B2AB28 00000000 */ nop
/* 0092C 80B2AB2C 8FAC0044 */ lw $t4, 0x0044($sp)
/* 00930 80B2AB30 54EC000B */ bnel $a3, $t4, .L80B2AB60
/* 00934 80B2AB34 8E0E01A0 */ lw $t6, 0x01A0($s0) ## 000001A0
/* 00938 80B2AB38 8E0D01A0 */ lw $t5, 0x01A0($s0) ## 000001A0
/* 0093C 80B2AB3C 3C050600 */ lui $a1, %hi(D_06002928) ## $a1 = 06000000
/* 00940 80B2AB40 24A52928 */ addiu $a1, $a1, %lo(D_06002928) ## $a1 = 06002928
/* 00944 80B2AB44 10AD01D1 */ beq $a1, $t5, .L80B2B28C
/* 00948 80B2AB48 8FA40040 */ lw $a0, 0x0040($sp)
/* 0094C 80B2AB4C 0C0294E1 */ jal Animation_PlayLoopSetSpeed
/* 00950 80B2AB50 3C063F80 */ lui $a2, 0x3F80 ## $a2 = 3F800000
/* 00954 80B2AB54 100001CE */ beq $zero, $zero, .L80B2B290
/* 00958 80B2AB58 8FBF003C */ lw $ra, 0x003C($sp)
/* 0095C 80B2AB5C 8E0E01A0 */ lw $t6, 0x01A0($s0) ## 000001A0
.L80B2AB60:
/* 00960 80B2AB60 3C050600 */ lui $a1, %hi(D_06004AA4) ## $a1 = 06000000
/* 00964 80B2AB64 24A54AA4 */ addiu $a1, $a1, %lo(D_06004AA4) ## $a1 = 06004AA4
/* 00968 80B2AB68 10AE01C8 */ beq $a1, $t6, .L80B2B28C
/* 0096C 80B2AB6C 8FA40040 */ lw $a0, 0x0040($sp)
/* 00970 80B2AB70 0C0294E1 */ jal Animation_PlayLoopSetSpeed
/* 00974 80B2AB74 3C063F80 */ lui $a2, 0x3F80 ## $a2 = 3F800000
/* 00978 80B2AB78 100001C5 */ beq $zero, $zero, .L80B2B290
/* 0097C 80B2AB7C 8FBF003C */ lw $ra, 0x003C($sp)
.L80B2AB80:
/* 00980 80B2AB80 15040018 */ bne $t0, $a0, .L80B2ABE4
/* 00984 80B2AB84 8FAB0044 */ lw $t3, 0x0044($sp)
/* 00988 80B2AB88 8FB80044 */ lw $t8, 0x0044($sp)
/* 0098C 80B2AB8C 240F0064 */ addiu $t7, $zero, 0x0064 ## $t7 = 00000064
/* 00990 80B2AB90 3C0180B3 */ lui $at, %hi(D_80B2CFCC) ## $at = 80B30000
/* 00994 80B2AB94 14F8000A */ bne $a3, $t8, .L80B2ABC0
/* 00998 80B2AB98 A42FCFCC */ sh $t7, %lo(D_80B2CFCC)($at)
/* 0099C 80B2AB9C 8E1901A0 */ lw $t9, 0x01A0($s0) ## 000001A0
/* 009A0 80B2ABA0 3C050600 */ lui $a1, %hi(D_06001D28) ## $a1 = 06000000
/* 009A4 80B2ABA4 24A51D28 */ addiu $a1, $a1, %lo(D_06001D28) ## $a1 = 06001D28
/* 009A8 80B2ABA8 10B901B8 */ beq $a1, $t9, .L80B2B28C
/* 009AC 80B2ABAC 8FA40040 */ lw $a0, 0x0040($sp)
/* 009B0 80B2ABB0 0C0294E1 */ jal Animation_PlayLoopSetSpeed
/* 009B4 80B2ABB4 3C063F80 */ lui $a2, 0x3F80 ## $a2 = 3F800000
/* 009B8 80B2ABB8 100001B5 */ beq $zero, $zero, .L80B2B290
/* 009BC 80B2ABBC 8FBF003C */ lw $ra, 0x003C($sp)
.L80B2ABC0:
/* 009C0 80B2ABC0 8E0A01A0 */ lw $t2, 0x01A0($s0) ## 000001A0
/* 009C4 80B2ABC4 3C050600 */ lui $a1, %hi(D_06003858) ## $a1 = 06000000
/* 009C8 80B2ABC8 24A53858 */ addiu $a1, $a1, %lo(D_06003858) ## $a1 = 06003858
/* 009CC 80B2ABCC 10AA01AF */ beq $a1, $t2, .L80B2B28C
/* 009D0 80B2ABD0 8FA40040 */ lw $a0, 0x0040($sp)
/* 009D4 80B2ABD4 0C0294E1 */ jal Animation_PlayLoopSetSpeed
/* 009D8 80B2ABD8 3C063F80 */ lui $a2, 0x3F80 ## $a2 = 3F800000
/* 009DC 80B2ABDC 100001AC */ beq $zero, $zero, .L80B2B290
/* 009E0 80B2ABE0 8FBF003C */ lw $ra, 0x003C($sp)
.L80B2ABE4:
/* 009E4 80B2ABE4 54EB005A */ bnel $a3, $t3, .L80B2AD50
/* 009E8 80B2ABE8 8E0B01A0 */ lw $t3, 0x01A0($s0) ## 000001A0
/* 009EC 80B2ABEC 920C01E5 */ lbu $t4, 0x01E5($s0) ## 000001E5
/* 009F0 80B2ABF0 2D810008 */ sltiu $at, $t4, 0x0008
/* 009F4 80B2ABF4 102001A5 */ beq $at, $zero, .L80B2B28C
/* 009F8 80B2ABF8 000C6080 */ sll $t4, $t4, 2
/* 009FC 80B2ABFC 3C0180B3 */ lui $at, %hi(jtbl_80B2D18C) ## $at = 80B30000
/* 00A00 80B2AC00 002C0821 */ addu $at, $at, $t4
/* 00A04 80B2AC04 8C2CD18C */ lw $t4, %lo(jtbl_80B2D18C)($at)
/* 00A08 80B2AC08 01800008 */ jr $t4
/* 00A0C 80B2AC0C 00000000 */ nop
glabel L80B2AC10
/* 00A10 80B2AC10 1524019E */ bne $t1, $a0, .L80B2B28C
/* 00A14 80B2AC14 3C050600 */ lui $a1, %hi(D_06000F54) ## $a1 = 06000000
/* 00A18 80B2AC18 8FA40040 */ lw $a0, 0x0040($sp)
/* 00A1C 80B2AC1C 24A50F54 */ addiu $a1, $a1, %lo(D_06000F54) ## $a1 = 06000F54
/* 00A20 80B2AC20 0C029490 */ jal Animation_MorphToPlayOnce
/* 00A24 80B2AC24 3C06C0A0 */ lui $a2, 0xC0A0 ## $a2 = C0A00000
/* 00A28 80B2AC28 920D01E5 */ lbu $t5, 0x01E5($s0) ## 000001E5
/* 00A2C 80B2AC2C 25AE0001 */ addiu $t6, $t5, 0x0001 ## $t6 = 00000001
/* 00A30 80B2AC30 10000196 */ beq $zero, $zero, .L80B2B28C
/* 00A34 80B2AC34 A20E01E5 */ sb $t6, 0x01E5($s0) ## 000001E5
glabel L80B2AC38
/* 00A38 80B2AC38 10400194 */ beq $v0, $zero, .L80B2B28C
/* 00A3C 80B2AC3C 8FA40040 */ lw $a0, 0x0040($sp)
/* 00A40 80B2AC40 3C050600 */ lui $a1, %hi(D_060014F4) ## $a1 = 06000000
/* 00A44 80B2AC44 24A514F4 */ addiu $a1, $a1, %lo(D_060014F4) ## $a1 = 060014F4
/* 00A48 80B2AC48 0C0294D3 */ jal Animation_MorphToLoop
/* 00A4C 80B2AC4C 3C06C0A0 */ lui $a2, 0xC0A0 ## $a2 = C0A00000
/* 00A50 80B2AC50 920F01E5 */ lbu $t7, 0x01E5($s0) ## 000001E5
/* 00A54 80B2AC54 25F80001 */ addiu $t8, $t7, 0x0001 ## $t8 = 00000001
/* 00A58 80B2AC58 1000018C */ beq $zero, $zero, .L80B2B28C
/* 00A5C 80B2AC5C A21801E5 */ sb $t8, 0x01E5($s0) ## 000001E5
glabel L80B2AC60
/* 00A60 80B2AC60 24010005 */ addiu $at, $zero, 0x0005 ## $at = 00000005
/* 00A64 80B2AC64 14810189 */ bne $a0, $at, .L80B2B28C
/* 00A68 80B2AC68 3C050600 */ lui $a1, %hi(D_060008A0) ## $a1 = 06000000
/* 00A6C 80B2AC6C 8FA40040 */ lw $a0, 0x0040($sp)
/* 00A70 80B2AC70 24A508A0 */ addiu $a1, $a1, %lo(D_060008A0) ## $a1 = 060008A0
/* 00A74 80B2AC74 0C029490 */ jal Animation_MorphToPlayOnce
/* 00A78 80B2AC78 3C06C0A0 */ lui $a2, 0xC0A0 ## $a2 = C0A00000
/* 00A7C 80B2AC7C 921901E5 */ lbu $t9, 0x01E5($s0) ## 000001E5
/* 00A80 80B2AC80 272A0001 */ addiu $t2, $t9, 0x0001 ## $t2 = 00000001
/* 00A84 80B2AC84 10000181 */ beq $zero, $zero, .L80B2B28C
/* 00A88 80B2AC88 A20A01E5 */ sb $t2, 0x01E5($s0) ## 000001E5
glabel L80B2AC8C
/* 00A8C 80B2AC8C 1040017F */ beq $v0, $zero, .L80B2B28C
/* 00A90 80B2AC90 8FA40040 */ lw $a0, 0x0040($sp)
/* 00A94 80B2AC94 3C050600 */ lui $a1, %hi(D_06000BC8) ## $a1 = 06000000
/* 00A98 80B2AC98 24A50BC8 */ addiu $a1, $a1, %lo(D_06000BC8) ## $a1 = 06000BC8
/* 00A9C 80B2AC9C 0C0294D3 */ jal Animation_MorphToLoop
/* 00AA0 80B2ACA0 3C06C0A0 */ lui $a2, 0xC0A0 ## $a2 = C0A00000
/* 00AA4 80B2ACA4 920B01E5 */ lbu $t3, 0x01E5($s0) ## 000001E5
/* 00AA8 80B2ACA8 256C0001 */ addiu $t4, $t3, 0x0001 ## $t4 = 00000001
/* 00AAC 80B2ACAC 10000177 */ beq $zero, $zero, .L80B2B28C
/* 00AB0 80B2ACB0 A20C01E5 */ sb $t4, 0x01E5($s0) ## 000001E5
glabel L80B2ACB4
/* 00AB4 80B2ACB4 2401000B */ addiu $at, $zero, 0x000B ## $at = 0000000B
/* 00AB8 80B2ACB8 14810174 */ bne $a0, $at, .L80B2B28C
/* 00ABC 80B2ACBC 3C050600 */ lui $a1, %hi(D_060014F4) ## $a1 = 06000000
/* 00AC0 80B2ACC0 8FA40040 */ lw $a0, 0x0040($sp)
/* 00AC4 80B2ACC4 24A514F4 */ addiu $a1, $a1, %lo(D_060014F4) ## $a1 = 060014F4
/* 00AC8 80B2ACC8 0C0294D3 */ jal Animation_MorphToLoop
/* 00ACC 80B2ACCC 3C06C1A0 */ lui $a2, 0xC1A0 ## $a2 = C1A00000
/* 00AD0 80B2ACD0 920D01E5 */ lbu $t5, 0x01E5($s0) ## 000001E5
/* 00AD4 80B2ACD4 25AE0001 */ addiu $t6, $t5, 0x0001 ## $t6 = 00000001
/* 00AD8 80B2ACD8 1000016C */ beq $zero, $zero, .L80B2B28C
/* 00ADC 80B2ACDC A20E01E5 */ sb $t6, 0x01E5($s0) ## 000001E5
glabel L80B2ACE0
/* 00AE0 80B2ACE0 24010008 */ addiu $at, $zero, 0x0008 ## $at = 00000008
/* 00AE4 80B2ACE4 14810169 */ bne $a0, $at, .L80B2B28C
/* 00AE8 80B2ACE8 3C050600 */ lui $a1, %hi(D_06002928) ## $a1 = 06000000
/* 00AEC 80B2ACEC 24A52928 */ addiu $a1, $a1, %lo(D_06002928) ## $a1 = 06002928
/* 00AF0 80B2ACF0 8FA40040 */ lw $a0, 0x0040($sp)
/* 00AF4 80B2ACF4 0C0294D3 */ jal Animation_MorphToLoop
/* 00AF8 80B2ACF8 3C06C170 */ lui $a2, 0xC170 ## $a2 = C1700000
/* 00AFC 80B2ACFC 920F01E5 */ lbu $t7, 0x01E5($s0) ## 000001E5
/* 00B00 80B2AD00 25F80001 */ addiu $t8, $t7, 0x0001 ## $t8 = 00000001
/* 00B04 80B2AD04 10000161 */ beq $zero, $zero, .L80B2B28C
/* 00B08 80B2AD08 A21801E5 */ sb $t8, 0x01E5($s0) ## 000001E5
glabel L80B2AD0C
/* 00B0C 80B2AD0C 2401000C */ addiu $at, $zero, 0x000C ## $at = 0000000C
/* 00B10 80B2AD10 1481015E */ bne $a0, $at, .L80B2B28C
/* 00B14 80B2AD14 240539C8 */ addiu $a1, $zero, 0x39C8 ## $a1 = 000039C8
/* 00B18 80B2AD18 0C00BE0A */ jal Audio_PlayActorSound2
/* 00B1C 80B2AD1C 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00B20 80B2AD20 3C050600 */ lui $a1, %hi(D_060005B4) ## $a1 = 06000000
/* 00B24 80B2AD24 24A505B4 */ addiu $a1, $a1, %lo(D_060005B4) ## $a1 = 060005B4
/* 00B28 80B2AD28 8FA40040 */ lw $a0, 0x0040($sp)
/* 00B2C 80B2AD2C 0C0294E1 */ jal Animation_PlayLoopSetSpeed
/* 00B30 80B2AD30 3C064040 */ lui $a2, 0x4040 ## $a2 = 40400000
/* 00B34 80B2AD34 921901E5 */ lbu $t9, 0x01E5($s0) ## 000001E5
/* 00B38 80B2AD38 272A0001 */ addiu $t2, $t9, 0x0001 ## $t2 = 00000001
/* 00B3C 80B2AD3C 10000153 */ beq $zero, $zero, .L80B2B28C
/* 00B40 80B2AD40 A20A01E5 */ sb $t2, 0x01E5($s0) ## 000001E5
glabel L80B2AD44
/* 00B44 80B2AD44 10000151 */ beq $zero, $zero, .L80B2B28C
/* 00B48 80B2AD48 A20001E5 */ sb $zero, 0x01E5($s0) ## 000001E5
/* 00B4C 80B2AD4C 8E0B01A0 */ lw $t3, 0x01A0($s0) ## 000001A0
.L80B2AD50:
/* 00B50 80B2AD50 3C050600 */ lui $a1, %hi(D_06002650) ## $a1 = 06000000
/* 00B54 80B2AD54 24A52650 */ addiu $a1, $a1, %lo(D_06002650) ## $a1 = 06002650
/* 00B58 80B2AD58 10AB014C */ beq $a1, $t3, .L80B2B28C
/* 00B5C 80B2AD5C 2401000C */ addiu $at, $zero, 0x000C ## $at = 0000000C
/* 00B60 80B2AD60 1481014A */ bne $a0, $at, .L80B2B28C
/* 00B64 80B2AD64 3C064040 */ lui $a2, 0x4040 ## $a2 = 40400000
/* 00B68 80B2AD68 0C0294E1 */ jal Animation_PlayLoopSetSpeed
/* 00B6C 80B2AD6C 8FA40040 */ lw $a0, 0x0040($sp)
/* 00B70 80B2AD70 10000147 */ beq $zero, $zero, .L80B2B290
/* 00B74 80B2AD74 8FBF003C */ lw $ra, 0x003C($sp)
/* 00B78 80B2AD78 8FAC0044 */ lw $t4, 0x0044($sp)
.L80B2AD7C:
/* 00B7C 80B2AD7C 24080001 */ addiu $t0, $zero, 0x0001 ## $t0 = 00000001
/* 00B80 80B2AD80 8FAA0044 */ lw $t2, 0x0044($sp)
/* 00B84 80B2AD84 150C0064 */ bne $t0, $t4, .L80B2AF18
/* 00B88 80B2AD88 24010002 */ addiu $at, $zero, 0x0002 ## $at = 00000002
/* 00B8C 80B2AD8C 3C0D8016 */ lui $t5, %hi(gSaveContext+0x1360)
/* 00B90 80B2AD90 8DADF9C0 */ lw $t5, %lo(gSaveContext+0x1360)($t5)
/* 00B94 80B2AD94 24010005 */ addiu $at, $zero, 0x0005 ## $at = 00000005
/* 00B98 80B2AD98 55A10019 */ bnel $t5, $at, .L80B2AE00
/* 00B9C 80B2AD9C 94CF1D74 */ lhu $t7, 0x1D74($a2) ## 00001D74
/* 00BA0 80B2ADA0 94CE1D74 */ lhu $t6, 0x1D74($a2) ## 00001D74
/* 00BA4 80B2ADA4 2401034D */ addiu $at, $zero, 0x034D ## $at = 0000034D
/* 00BA8 80B2ADA8 24C41C24 */ addiu $a0, $a2, 0x1C24 ## $a0 = 00001C24
/* 00BAC 80B2ADAC 15C10029 */ bne $t6, $at, .L80B2AE54
/* 00BB0 80B2ADB0 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000
/* 00BB4 80B2ADB4 3C014080 */ lui $at, 0x4080 ## $at = 40800000
/* 00BB8 80B2ADB8 44819000 */ mtc1 $at, $f18 ## $f18 = 4.00
/* 00BBC 80B2ADBC 3C0142A2 */ lui $at, 0x42A2 ## $at = 42A20000
/* 00BC0 80B2ADC0 44812000 */ mtc1 $at, $f4 ## $f4 = 81.00
/* 00BC4 80B2ADC4 3C0180B3 */ lui $at, %hi(D_80B2D1AC) ## $at = 80B30000
/* 00BC8 80B2ADC8 C426D1AC */ lwc1 $f6, %lo(D_80B2D1AC)($at)
/* 00BCC 80B2ADCC 240700F1 */ addiu $a3, $zero, 0x00F1 ## $a3 = 000000F1
/* 00BD0 80B2ADD0 AFA0001C */ sw $zero, 0x001C($sp)
/* 00BD4 80B2ADD4 AFA00020 */ sw $zero, 0x0020($sp)
/* 00BD8 80B2ADD8 AFA00024 */ sw $zero, 0x0024($sp)
/* 00BDC 80B2ADDC AFA00028 */ sw $zero, 0x0028($sp)
/* 00BE0 80B2ADE0 E7B20010 */ swc1 $f18, 0x0010($sp)
/* 00BE4 80B2ADE4 E7A40014 */ swc1 $f4, 0x0014($sp)
/* 00BE8 80B2ADE8 0C00C916 */ jal Actor_SpawnAsChild
/* 00BEC 80B2ADEC E7A60018 */ swc1 $f6, 0x0018($sp)
/* 00BF0 80B2ADF0 8FA6005C */ lw $a2, 0x005C($sp)
/* 00BF4 80B2ADF4 10000017 */ beq $zero, $zero, .L80B2AE54
/* 00BF8 80B2ADF8 24080001 */ addiu $t0, $zero, 0x0001 ## $t0 = 00000001
/* 00BFC 80B2ADFC 94CF1D74 */ lhu $t7, 0x1D74($a2) ## 00001D74
.L80B2AE00:
/* 00C00 80B2AE00 240100C3 */ addiu $at, $zero, 0x00C3 ## $at = 000000C3
/* 00C04 80B2AE04 24C41C24 */ addiu $a0, $a2, 0x1C24 ## $a0 = 00001C24
/* 00C08 80B2AE08 15E10012 */ bne $t7, $at, .L80B2AE54
/* 00C0C 80B2AE0C 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000
/* 00C10 80B2AE10 3C014080 */ lui $at, 0x4080 ## $at = 40800000
/* 00C14 80B2AE14 44814000 */ mtc1 $at, $f8 ## $f8 = 4.00
/* 00C18 80B2AE18 3C0142A2 */ lui $at, 0x42A2 ## $at = 42A20000
/* 00C1C 80B2AE1C 44815000 */ mtc1 $at, $f10 ## $f10 = 81.00
/* 00C20 80B2AE20 3C0180B3 */ lui $at, %hi(D_80B2D1B0) ## $at = 80B30000
/* 00C24 80B2AE24 C430D1B0 */ lwc1 $f16, %lo(D_80B2D1B0)($at)
/* 00C28 80B2AE28 240700F1 */ addiu $a3, $zero, 0x00F1 ## $a3 = 000000F1
/* 00C2C 80B2AE2C AFA0001C */ sw $zero, 0x001C($sp)
/* 00C30 80B2AE30 AFA00020 */ sw $zero, 0x0020($sp)
/* 00C34 80B2AE34 AFA00024 */ sw $zero, 0x0024($sp)
/* 00C38 80B2AE38 AFA80028 */ sw $t0, 0x0028($sp)
/* 00C3C 80B2AE3C E7A80010 */ swc1 $f8, 0x0010($sp)
/* 00C40 80B2AE40 E7AA0014 */ swc1 $f10, 0x0014($sp)
/* 00C44 80B2AE44 0C00C916 */ jal Actor_SpawnAsChild
/* 00C48 80B2AE48 E7B00018 */ swc1 $f16, 0x0018($sp)
/* 00C4C 80B2AE4C 8FA6005C */ lw $a2, 0x005C($sp)
/* 00C50 80B2AE50 24080001 */ addiu $t0, $zero, 0x0001 ## $t0 = 00000001
.L80B2AE54:
/* 00C54 80B2AE54 920301E5 */ lbu $v1, 0x01E5($s0) ## 000001E5
/* 00C58 80B2AE58 50600006 */ beql $v1, $zero, .L80B2AE74
/* 00C5C 80B2AE5C 90D81D6C */ lbu $t8, 0x1D6C($a2) ## 00001D6C
/* 00C60 80B2AE60 50680019 */ beql $v1, $t0, .L80B2AEC8
/* 00C64 80B2AE64 90CD1D6C */ lbu $t5, 0x1D6C($a2) ## 00001D6C
/* 00C68 80B2AE68 10000109 */ beq $zero, $zero, .L80B2B290
/* 00C6C 80B2AE6C 8FBF003C */ lw $ra, 0x003C($sp)
/* 00C70 80B2AE70 90D81D6C */ lbu $t8, 0x1D6C($a2) ## 00001D6C
.L80B2AE74:
/* 00C74 80B2AE74 53000106 */ beql $t8, $zero, .L80B2B290
/* 00C78 80B2AE78 8FBF003C */ lw $ra, 0x003C($sp)
/* 00C7C 80B2AE7C 8CC21D8C */ lw $v0, 0x1D8C($a2) ## 00001D8C
/* 00C80 80B2AE80 50400103 */ beql $v0, $zero, .L80B2B290
/* 00C84 80B2AE84 8FBF003C */ lw $ra, 0x003C($sp)
/* 00C88 80B2AE88 94590000 */ lhu $t9, 0x0000($v0) ## 00000000
/* 00C8C 80B2AE8C 24010006 */ addiu $at, $zero, 0x0006 ## $at = 00000006
/* 00C90 80B2AE90 572100FF */ bnel $t9, $at, .L80B2B290
/* 00C94 80B2AE94 8FBF003C */ lw $ra, 0x003C($sp)
/* 00C98 80B2AE98 8E0A01A0 */ lw $t2, 0x01A0($s0) ## 000001A0
/* 00C9C 80B2AE9C 3C050600 */ lui $a1, %hi(D_06002574) ## $a1 = 06000000
/* 00CA0 80B2AEA0 24A52574 */ addiu $a1, $a1, %lo(D_06002574) ## $a1 = 06002574
/* 00CA4 80B2AEA4 10AA00F9 */ beq $a1, $t2, .L80B2B28C
/* 00CA8 80B2AEA8 8FA40040 */ lw $a0, 0x0040($sp)
/* 00CAC 80B2AEAC 0C0294E1 */ jal Animation_PlayLoopSetSpeed
/* 00CB0 80B2AEB0 3C063FC0 */ lui $a2, 0x3FC0 ## $a2 = 3FC00000
/* 00CB4 80B2AEB4 920B01E5 */ lbu $t3, 0x01E5($s0) ## 000001E5
/* 00CB8 80B2AEB8 256C0001 */ addiu $t4, $t3, 0x0001 ## $t4 = 00000001
/* 00CBC 80B2AEBC 100000F3 */ beq $zero, $zero, .L80B2B28C
/* 00CC0 80B2AEC0 A20C01E5 */ sb $t4, 0x01E5($s0) ## 000001E5
/* 00CC4 80B2AEC4 90CD1D6C */ lbu $t5, 0x1D6C($a2) ## 00001D6C
.L80B2AEC8:
/* 00CC8 80B2AEC8 51A000F1 */ beql $t5, $zero, .L80B2B290
/* 00CCC 80B2AECC 8FBF003C */ lw $ra, 0x003C($sp)
/* 00CD0 80B2AED0 8CC21D8C */ lw $v0, 0x1D8C($a2) ## 00001D8C
/* 00CD4 80B2AED4 504000EE */ beql $v0, $zero, .L80B2B290
/* 00CD8 80B2AED8 8FBF003C */ lw $ra, 0x003C($sp)
/* 00CDC 80B2AEDC 944E0000 */ lhu $t6, 0x0000($v0) ## 00000000
/* 00CE0 80B2AEE0 24010002 */ addiu $at, $zero, 0x0002 ## $at = 00000002
/* 00CE4 80B2AEE4 55C100EA */ bnel $t6, $at, .L80B2B290
/* 00CE8 80B2AEE8 8FBF003C */ lw $ra, 0x003C($sp)
/* 00CEC 80B2AEEC 8E0F01A0 */ lw $t7, 0x01A0($s0) ## 000001A0
/* 00CF0 80B2AEF0 3C050600 */ lui $a1, %hi(D_060029CC) ## $a1 = 06000000
/* 00CF4 80B2AEF4 24A529CC */ addiu $a1, $a1, %lo(D_060029CC) ## $a1 = 060029CC
/* 00CF8 80B2AEF8 10AF00E4 */ beq $a1, $t7, .L80B2B28C
/* 00CFC 80B2AEFC 8FA40040 */ lw $a0, 0x0040($sp)
/* 00D00 80B2AF00 0C0294E1 */ jal Animation_PlayLoopSetSpeed
/* 00D04 80B2AF04 3C064040 */ lui $a2, 0x4040 ## $a2 = 40400000
/* 00D08 80B2AF08 921801E5 */ lbu $t8, 0x01E5($s0) ## 000001E5
/* 00D0C 80B2AF0C 27190001 */ addiu $t9, $t8, 0x0001 ## $t9 = 00000001
/* 00D10 80B2AF10 100000DE */ beq $zero, $zero, .L80B2B28C
/* 00D14 80B2AF14 A21901E5 */ sb $t9, 0x01E5($s0) ## 000001E5
.L80B2AF18:
/* 00D18 80B2AF18 15410067 */ bne $t2, $at, .L80B2B0B8
/* 00D1C 80B2AF1C 8FAE0044 */ lw $t6, 0x0044($sp)
/* 00D20 80B2AF20 84CB00A4 */ lh $t3, 0x00A4($a2) ## 000000A4
/* 00D24 80B2AF24 24010051 */ addiu $at, $zero, 0x0051 ## $at = 00000051
/* 00D28 80B2AF28 00002025 */ or $a0, $zero, $zero ## $a0 = 00000000
/* 00D2C 80B2AF2C 15610032 */ bne $t3, $at, .L80B2AFF8
/* 00D30 80B2AF30 00000000 */ nop
/* 00D34 80B2AF34 920301E5 */ lbu $v1, 0x01E5($s0) ## 000001E5
/* 00D38 80B2AF38 50600006 */ beql $v1, $zero, .L80B2AF54
/* 00D3C 80B2AF3C 90CC1D6C */ lbu $t4, 0x1D6C($a2) ## 00001D6C
/* 00D40 80B2AF40 50680019 */ beql $v1, $t0, .L80B2AFA8
/* 00D44 80B2AF44 90D91D6C */ lbu $t9, 0x1D6C($a2) ## 00001D6C
/* 00D48 80B2AF48 100000D1 */ beq $zero, $zero, .L80B2B290
/* 00D4C 80B2AF4C 8FBF003C */ lw $ra, 0x003C($sp)
/* 00D50 80B2AF50 90CC1D6C */ lbu $t4, 0x1D6C($a2) ## 00001D6C
.L80B2AF54:
/* 00D54 80B2AF54 518000CE */ beql $t4, $zero, .L80B2B290
/* 00D58 80B2AF58 8FBF003C */ lw $ra, 0x003C($sp)
/* 00D5C 80B2AF5C 8CC21D8C */ lw $v0, 0x1D8C($a2) ## 00001D8C
/* 00D60 80B2AF60 504000CB */ beql $v0, $zero, .L80B2B290
/* 00D64 80B2AF64 8FBF003C */ lw $ra, 0x003C($sp)
/* 00D68 80B2AF68 944D0000 */ lhu $t5, 0x0000($v0) ## 00000000
/* 00D6C 80B2AF6C 24010006 */ addiu $at, $zero, 0x0006 ## $at = 00000006
/* 00D70 80B2AF70 55A100C7 */ bnel $t5, $at, .L80B2B290
/* 00D74 80B2AF74 8FBF003C */ lw $ra, 0x003C($sp)
/* 00D78 80B2AF78 8E0E01A0 */ lw $t6, 0x01A0($s0) ## 000001A0
/* 00D7C 80B2AF7C 3C050600 */ lui $a1, %hi(D_06001410) ## $a1 = 06000000
/* 00D80 80B2AF80 24A51410 */ addiu $a1, $a1, %lo(D_06001410) ## $a1 = 06001410
/* 00D84 80B2AF84 10AE00C1 */ beq $a1, $t6, .L80B2B28C
/* 00D88 80B2AF88 8FA40040 */ lw $a0, 0x0040($sp)
/* 00D8C 80B2AF8C 0C0294E1 */ jal Animation_PlayLoopSetSpeed
/* 00D90 80B2AF90 3C063FC0 */ lui $a2, 0x3FC0 ## $a2 = 3FC00000
/* 00D94 80B2AF94 920F01E5 */ lbu $t7, 0x01E5($s0) ## 000001E5
/* 00D98 80B2AF98 25F80001 */ addiu $t8, $t7, 0x0001 ## $t8 = 00000001
/* 00D9C 80B2AF9C 100000BB */ beq $zero, $zero, .L80B2B28C
/* 00DA0 80B2AFA0 A21801E5 */ sb $t8, 0x01E5($s0) ## 000001E5
/* 00DA4 80B2AFA4 90D91D6C */ lbu $t9, 0x1D6C($a2) ## 00001D6C
.L80B2AFA8:
/* 00DA8 80B2AFA8 532000B9 */ beql $t9, $zero, .L80B2B290
/* 00DAC 80B2AFAC 8FBF003C */ lw $ra, 0x003C($sp)
/* 00DB0 80B2AFB0 8CC21D8C */ lw $v0, 0x1D8C($a2) ## 00001D8C
/* 00DB4 80B2AFB4 504000B6 */ beql $v0, $zero, .L80B2B290
/* 00DB8 80B2AFB8 8FBF003C */ lw $ra, 0x003C($sp)
/* 00DBC 80B2AFBC 944A0000 */ lhu $t2, 0x0000($v0) ## 00000000
/* 00DC0 80B2AFC0 24010002 */ addiu $at, $zero, 0x0002 ## $at = 00000002
/* 00DC4 80B2AFC4 554100B2 */ bnel $t2, $at, .L80B2B290
/* 00DC8 80B2AFC8 8FBF003C */ lw $ra, 0x003C($sp)
/* 00DCC 80B2AFCC 8E0B01A0 */ lw $t3, 0x01A0($s0) ## 000001A0
/* 00DD0 80B2AFD0 3C050600 */ lui $a1, %hi(D_06000450) ## $a1 = 06000000
/* 00DD4 80B2AFD4 24A50450 */ addiu $a1, $a1, %lo(D_06000450) ## $a1 = 06000450
/* 00DD8 80B2AFD8 10AB00AC */ beq $a1, $t3, .L80B2B28C
/* 00DDC 80B2AFDC 8FA40040 */ lw $a0, 0x0040($sp)
/* 00DE0 80B2AFE0 0C0294E1 */ jal Animation_PlayLoopSetSpeed
/* 00DE4 80B2AFE4 3C064040 */ lui $a2, 0x4040 ## $a2 = 40400000
/* 00DE8 80B2AFE8 920C01E5 */ lbu $t4, 0x01E5($s0) ## 000001E5
/* 00DEC 80B2AFEC 258D0001 */ addiu $t5, $t4, 0x0001 ## $t5 = 00000001
/* 00DF0 80B2AFF0 100000A6 */ beq $zero, $zero, .L80B2B28C
/* 00DF4 80B2AFF4 A20D01E5 */ sb $t5, 0x01E5($s0) ## 000001E5
.L80B2AFF8:
/* 00DF8 80B2AFF8 0C03D9E8 */ jal func_800F67A0
/* 00DFC 80B2AFFC AFA50050 */ sw $a1, 0x0050($sp)
/* 00E00 80B2B000 920301E5 */ lbu $v1, 0x01E5($s0) ## 000001E5
/* 00E04 80B2B004 8FA50050 */ lw $a1, 0x0050($sp)
/* 00E08 80B2B008 8FA6005C */ lw $a2, 0x005C($sp)
/* 00E0C 80B2B00C 10600009 */ beq $v1, $zero, .L80B2B034
/* 00E10 80B2B010 24080001 */ addiu $t0, $zero, 0x0001 ## $t0 = 00000001
/* 00E14 80B2B014 10680010 */ beq $v1, $t0, .L80B2B058
/* 00E18 80B2B018 24010002 */ addiu $at, $zero, 0x0002 ## $at = 00000002
/* 00E1C 80B2B01C 1061001C */ beq $v1, $at, .L80B2B090
/* 00E20 80B2B020 24010003 */ addiu $at, $zero, 0x0003 ## $at = 00000003
/* 00E24 80B2B024 5061009A */ beql $v1, $at, .L80B2B290
/* 00E28 80B2B028 8FBF003C */ lw $ra, 0x003C($sp)
/* 00E2C 80B2B02C 10000098 */ beq $zero, $zero, .L80B2B290
/* 00E30 80B2B030 8FBF003C */ lw $ra, 0x003C($sp)
.L80B2B034:
/* 00E34 80B2B034 3C050600 */ lui $a1, %hi(D_0600504C) ## $a1 = 06000000
/* 00E38 80B2B038 24A5504C */ addiu $a1, $a1, %lo(D_0600504C) ## $a1 = 0600504C
/* 00E3C 80B2B03C 8FA40040 */ lw $a0, 0x0040($sp)
/* 00E40 80B2B040 0C0294E1 */ jal Animation_PlayLoopSetSpeed
/* 00E44 80B2B044 3C063F80 */ lui $a2, 0x3F80 ## $a2 = 3F800000
/* 00E48 80B2B048 920E01E5 */ lbu $t6, 0x01E5($s0) ## 000001E5
/* 00E4C 80B2B04C 25CF0001 */ addiu $t7, $t6, 0x0001 ## $t7 = 00000001
/* 00E50 80B2B050 1000008E */ beq $zero, $zero, .L80B2B28C
/* 00E54 80B2B054 A20F01E5 */ sb $t7, 0x01E5($s0) ## 000001E5
.L80B2B058:
/* 00E58 80B2B058 8CD81D8C */ lw $t8, 0x1D8C($a2) ## 00001D8C
/* 00E5C 80B2B05C 2401000B */ addiu $at, $zero, 0x000B ## $at = 0000000B
/* 00E60 80B2B060 3C050600 */ lui $a1, %hi(D_0600420C) ## $a1 = 06000000
/* 00E64 80B2B064 97190000 */ lhu $t9, 0x0000($t8) ## 00000000
/* 00E68 80B2B068 24A5420C */ addiu $a1, $a1, %lo(D_0600420C) ## $a1 = 0600420C
/* 00E6C 80B2B06C 8FA40040 */ lw $a0, 0x0040($sp)
/* 00E70 80B2B070 57210087 */ bnel $t9, $at, .L80B2B290
/* 00E74 80B2B074 8FBF003C */ lw $ra, 0x003C($sp)
/* 00E78 80B2B078 0C029490 */ jal Animation_MorphToPlayOnce
/* 00E7C 80B2B07C 3C06C0A0 */ lui $a2, 0xC0A0 ## $a2 = C0A00000
/* 00E80 80B2B080 920A01E5 */ lbu $t2, 0x01E5($s0) ## 000001E5
/* 00E84 80B2B084 254B0001 */ addiu $t3, $t2, 0x0001 ## $t3 = 00000001
/* 00E88 80B2B088 10000080 */ beq $zero, $zero, .L80B2B28C
/* 00E8C 80B2B08C A20B01E5 */ sb $t3, 0x01E5($s0) ## 000001E5
.L80B2B090:
/* 00E90 80B2B090 10A0007E */ beq $a1, $zero, .L80B2B28C
/* 00E94 80B2B094 8FA40040 */ lw $a0, 0x0040($sp)
/* 00E98 80B2B098 3C050600 */ lui $a1, %hi(D_060048FC) ## $a1 = 06000000
/* 00E9C 80B2B09C 24A548FC */ addiu $a1, $a1, %lo(D_060048FC) ## $a1 = 060048FC
/* 00EA0 80B2B0A0 0C0294D3 */ jal Animation_MorphToLoop
/* 00EA4 80B2B0A4 3C06C0A0 */ lui $a2, 0xC0A0 ## $a2 = C0A00000
/* 00EA8 80B2B0A8 920C01E5 */ lbu $t4, 0x01E5($s0) ## 000001E5
/* 00EAC 80B2B0AC 258D0001 */ addiu $t5, $t4, 0x0001 ## $t5 = 00000001
/* 00EB0 80B2B0B0 10000076 */ beq $zero, $zero, .L80B2B28C
/* 00EB4 80B2B0B4 A20D01E5 */ sb $t5, 0x01E5($s0) ## 000001E5
.L80B2B0B8:
/* 00EB8 80B2B0B8 24040007 */ addiu $a0, $zero, 0x0007 ## $a0 = 00000007
/* 00EBC 80B2B0BC 548E002F */ bnel $a0, $t6, .L80B2B17C
/* 00EC0 80B2B0C0 8FAE0044 */ lw $t6, 0x0044($sp)
/* 00EC4 80B2B0C4 920301E5 */ lbu $v1, 0x01E5($s0) ## 000001E5
/* 00EC8 80B2B0C8 50600006 */ beql $v1, $zero, .L80B2B0E4
/* 00ECC 80B2B0CC 90CF1D6C */ lbu $t7, 0x1D6C($a2) ## 00001D6C
/* 00ED0 80B2B0D0 1068001F */ beq $v1, $t0, .L80B2B150
/* 00ED4 80B2B0D4 00000000 */ nop
/* 00ED8 80B2B0D8 1000006D */ beq $zero, $zero, .L80B2B290
/* 00EDC 80B2B0DC 8FBF003C */ lw $ra, 0x003C($sp)
/* 00EE0 80B2B0E0 90CF1D6C */ lbu $t7, 0x1D6C($a2) ## 00001D6C
.L80B2B0E4:
/* 00EE4 80B2B0E4 51E0006A */ beql $t7, $zero, .L80B2B290
/* 00EE8 80B2B0E8 8FBF003C */ lw $ra, 0x003C($sp)
/* 00EEC 80B2B0EC 8CC31D90 */ lw $v1, 0x1D90($a2) ## 00001D90
/* 00EF0 80B2B0F0 50600067 */ beql $v1, $zero, .L80B2B290
/* 00EF4 80B2B0F4 8FBF003C */ lw $ra, 0x003C($sp)
/* 00EF8 80B2B0F8 94780000 */ lhu $t8, 0x0000($v1) ## 00000000
/* 00EFC 80B2B0FC 3C078013 */ lui $a3, %hi(D_801333E0)
/* 00F00 80B2B100 24E733E0 */ addiu $a3, %lo(D_801333E0)
/* 00F04 80B2B104 14980061 */ bne $a0, $t8, .L80B2B28C
/* 00F08 80B2B108 3C058013 */ lui $a1, %hi(D_801333D4)
/* 00F0C 80B2B10C 3C198013 */ lui $t9, %hi(D_801333E8)
/* 00F10 80B2B110 273933E8 */ addiu $t9, %lo(D_801333E8)
/* 00F14 80B2B114 AFB90014 */ sw $t9, 0x0014($sp)
/* 00F18 80B2B118 240439C7 */ addiu $a0, $zero, 0x39C7 ## $a0 = 000039C7
/* 00F1C 80B2B11C 24A533D4 */ addiu $a1, %lo(D_801333D4)
/* 00F20 80B2B120 24060004 */ addiu $a2, $zero, 0x0004 ## $a2 = 00000004
/* 00F24 80B2B124 0C03DCE3 */ jal Audio_PlaySoundGeneral
/* 00F28 80B2B128 AFA70010 */ sw $a3, 0x0010($sp)
/* 00F2C 80B2B12C 3C050600 */ lui $a1, %hi(D_06004534) ## $a1 = 06000000
/* 00F30 80B2B130 24A54534 */ addiu $a1, $a1, %lo(D_06004534) ## $a1 = 06004534
/* 00F34 80B2B134 8FA40040 */ lw $a0, 0x0040($sp)
/* 00F38 80B2B138 0C029490 */ jal Animation_MorphToPlayOnce
/* 00F3C 80B2B13C 3C06C0A0 */ lui $a2, 0xC0A0 ## $a2 = C0A00000
/* 00F40 80B2B140 920A01E5 */ lbu $t2, 0x01E5($s0) ## 000001E5
/* 00F44 80B2B144 254B0001 */ addiu $t3, $t2, 0x0001 ## $t3 = 00000001
/* 00F48 80B2B148 10000050 */ beq $zero, $zero, .L80B2B28C
/* 00F4C 80B2B14C A20B01E5 */ sb $t3, 0x01E5($s0) ## 000001E5
.L80B2B150:
/* 00F50 80B2B150 1040004E */ beq $v0, $zero, .L80B2B28C
/* 00F54 80B2B154 8FA40040 */ lw $a0, 0x0040($sp)
/* 00F58 80B2B158 3C050600 */ lui $a1, %hi(D_060048B0) ## $a1 = 06000000
/* 00F5C 80B2B15C 24A548B0 */ addiu $a1, $a1, %lo(D_060048B0) ## $a1 = 060048B0
/* 00F60 80B2B160 0C0294D3 */ jal Animation_MorphToLoop
/* 00F64 80B2B164 3C06C0A0 */ lui $a2, 0xC0A0 ## $a2 = C0A00000
/* 00F68 80B2B168 920C01E5 */ lbu $t4, 0x01E5($s0) ## 000001E5
/* 00F6C 80B2B16C 258D0001 */ addiu $t5, $t4, 0x0001 ## $t5 = 00000001
/* 00F70 80B2B170 10000046 */ beq $zero, $zero, .L80B2B28C
/* 00F74 80B2B174 A20D01E5 */ sb $t5, 0x01E5($s0) ## 000001E5
/* 00F78 80B2B178 8FAE0044 */ lw $t6, 0x0044($sp)
.L80B2B17C:
/* 00F7C 80B2B17C 24010008 */ addiu $at, $zero, 0x0008 ## $at = 00000008
/* 00F80 80B2B180 55C10043 */ bnel $t6, $at, .L80B2B290
/* 00F84 80B2B184 8FBF003C */ lw $ra, 0x003C($sp)
/* 00F88 80B2B188 920301E5 */ lbu $v1, 0x01E5($s0) ## 000001E5
/* 00F8C 80B2B18C 5060000A */ beql $v1, $zero, .L80B2B1B8
/* 00F90 80B2B190 90CF1D6C */ lbu $t7, 0x1D6C($a2) ## 00001D6C
/* 00F94 80B2B194 10680019 */ beq $v1, $t0, .L80B2B1FC
/* 00F98 80B2B198 24010002 */ addiu $at, $zero, 0x0002 ## $at = 00000002
/* 00F9C 80B2B19C 10610025 */ beq $v1, $at, .L80B2B234
/* 00FA0 80B2B1A0 00000000 */ nop
/* 00FA4 80B2B1A4 5067002E */ beql $v1, $a3, .L80B2B260
/* 00FA8 80B2B1A8 8CD91D90 */ lw $t9, 0x1D90($a2) ## 00001D90
/* 00FAC 80B2B1AC 10000037 */ beq $zero, $zero, .L80B2B28C
/* 00FB0 80B2B1B0 A20001E5 */ sb $zero, 0x01E5($s0) ## 000001E5
/* 00FB4 80B2B1B4 90CF1D6C */ lbu $t7, 0x1D6C($a2) ## 00001D6C
.L80B2B1B8:
/* 00FB8 80B2B1B8 51E00035 */ beql $t7, $zero, .L80B2B290
/* 00FBC 80B2B1BC 8FBF003C */ lw $ra, 0x003C($sp)
/* 00FC0 80B2B1C0 8CC31D90 */ lw $v1, 0x1D90($a2) ## 00001D90
/* 00FC4 80B2B1C4 50600032 */ beql $v1, $zero, .L80B2B290
/* 00FC8 80B2B1C8 8FBF003C */ lw $ra, 0x003C($sp)
/* 00FCC 80B2B1CC 94780000 */ lhu $t8, 0x0000($v1) ## 00000000
/* 00FD0 80B2B1D0 24010009 */ addiu $at, $zero, 0x0009 ## $at = 00000009
/* 00FD4 80B2B1D4 8FA40040 */ lw $a0, 0x0040($sp)
/* 00FD8 80B2B1D8 1701002C */ bne $t8, $at, .L80B2B28C
/* 00FDC 80B2B1DC 3C050600 */ lui $a1, %hi(D_060050A8) ## $a1 = 06000000
/* 00FE0 80B2B1E0 24A550A8 */ addiu $a1, $a1, %lo(D_060050A8) ## $a1 = 060050A8
/* 00FE4 80B2B1E4 0C0294E1 */ jal Animation_PlayLoopSetSpeed
/* 00FE8 80B2B1E8 3C063F80 */ lui $a2, 0x3F80 ## $a2 = 3F800000
/* 00FEC 80B2B1EC 921901E5 */ lbu $t9, 0x01E5($s0) ## 000001E5
/* 00FF0 80B2B1F0 272A0001 */ addiu $t2, $t9, 0x0001 ## $t2 = 00000001
/* 00FF4 80B2B1F4 10000025 */ beq $zero, $zero, .L80B2B28C
/* 00FF8 80B2B1F8 A20A01E5 */ sb $t2, 0x01E5($s0) ## 000001E5
.L80B2B1FC:
/* 00FFC 80B2B1FC 8CCB1D90 */ lw $t3, 0x1D90($a2) ## 00001D90
/* 01000 80B2B200 2401000A */ addiu $at, $zero, 0x000A ## $at = 0000000A
/* 01004 80B2B204 3C050600 */ lui $a1, %hi(D_06003284) ## $a1 = 06000000
/* 01008 80B2B208 956C0000 */ lhu $t4, 0x0000($t3) ## 00000000
/* 0100C 80B2B20C 24A53284 */ addiu $a1, $a1, %lo(D_06003284) ## $a1 = 06003284
/* 01010 80B2B210 8FA40040 */ lw $a0, 0x0040($sp)
/* 01014 80B2B214 5581001E */ bnel $t4, $at, .L80B2B290
/* 01018 80B2B218 8FBF003C */ lw $ra, 0x003C($sp)
/* 0101C 80B2B21C 0C029490 */ jal Animation_MorphToPlayOnce
/* 01020 80B2B220 3C06C120 */ lui $a2, 0xC120 ## $a2 = C1200000
/* 01024 80B2B224 920D01E5 */ lbu $t5, 0x01E5($s0) ## 000001E5
/* 01028 80B2B228 25AE0001 */ addiu $t6, $t5, 0x0001 ## $t6 = 00000001
/* 0102C 80B2B22C 10000017 */ beq $zero, $zero, .L80B2B28C
/* 01030 80B2B230 A20E01E5 */ sb $t6, 0x01E5($s0) ## 000001E5
.L80B2B234:
/* 01034 80B2B234 10400015 */ beq $v0, $zero, .L80B2B28C
/* 01038 80B2B238 8FA40040 */ lw $a0, 0x0040($sp)
/* 0103C 80B2B23C 3C050600 */ lui $a1, %hi(D_06003D84) ## $a1 = 06000000
/* 01040 80B2B240 24A53D84 */ addiu $a1, $a1, %lo(D_06003D84) ## $a1 = 06003D84
/* 01044 80B2B244 0C0294D3 */ jal Animation_MorphToLoop
/* 01048 80B2B248 3C06C0A0 */ lui $a2, 0xC0A0 ## $a2 = C0A00000
/* 0104C 80B2B24C 920F01E5 */ lbu $t7, 0x01E5($s0) ## 000001E5
/* 01050 80B2B250 25F80001 */ addiu $t8, $t7, 0x0001 ## $t8 = 00000001
/* 01054 80B2B254 1000000D */ beq $zero, $zero, .L80B2B28C
/* 01058 80B2B258 A21801E5 */ sb $t8, 0x01E5($s0) ## 000001E5
/* 0105C 80B2B25C 8CD91D90 */ lw $t9, 0x1D90($a2) ## 00001D90
.L80B2B260:
/* 01060 80B2B260 3C050600 */ lui $a1, %hi(D_06003428) ## $a1 = 06000000
/* 01064 80B2B264 24A53428 */ addiu $a1, $a1, %lo(D_06003428) ## $a1 = 06003428
/* 01068 80B2B268 972A0000 */ lhu $t2, 0x0000($t9) ## 00000000
/* 0106C 80B2B26C 8FA40040 */ lw $a0, 0x0040($sp)
/* 01070 80B2B270 552A0007 */ bnel $t1, $t2, .L80B2B290
/* 01074 80B2B274 8FBF003C */ lw $ra, 0x003C($sp)
/* 01078 80B2B278 0C029490 */ jal Animation_MorphToPlayOnce
/* 0107C 80B2B27C 3C06C0A0 */ lui $a2, 0xC0A0 ## $a2 = C0A00000
/* 01080 80B2B280 920B01E5 */ lbu $t3, 0x01E5($s0) ## 000001E5
/* 01084 80B2B284 256C0001 */ addiu $t4, $t3, 0x0001 ## $t4 = 00000001
/* 01088 80B2B288 A20C01E5 */ sb $t4, 0x01E5($s0) ## 000001E5
.L80B2B28C:
/* 0108C 80B2B28C 8FBF003C */ lw $ra, 0x003C($sp)
.L80B2B290:
/* 01090 80B2B290 8FB00038 */ lw $s0, 0x0038($sp)
/* 01094 80B2B294 27BD0058 */ addiu $sp, $sp, 0x0058 ## $sp = 00000000
/* 01098 80B2B298 03E00008 */ jr $ra
/* 0109C 80B2B29C 00000000 */ nop

View File

@ -1,32 +0,0 @@
glabel func_80B2B2F4
/* 010F4 80B2B2F4 3C0E8016 */ lui $t6, %hi(gSaveContext+0x1360)
/* 010F8 80B2B2F8 8DCEF9C0 */ lw $t6, %lo(gSaveContext+0x1360)($t6)
/* 010FC 80B2B2FC 24010004 */ addiu $at, $zero, 0x0004 ## $at = 00000004
/* 01100 80B2B300 AFA7000C */ sw $a3, 0x000C($sp)
/* 01104 80B2B304 55C1000C */ bnel $t6, $at, .L80B2B338
/* 01108 80B2B308 94821D74 */ lhu $v0, 0x1D74($a0) ## 00001D74
/* 0110C 80B2B30C 948F1D74 */ lhu $t7, 0x1D74($a0) ## 00001D74
/* 01110 80B2B310 29E10190 */ slti $at, $t7, 0x0190
/* 01114 80B2B314 14200011 */ bne $at, $zero, .L80B2B35C
/* 01118 80B2B318 24010005 */ addiu $at, $zero, 0x0005 ## $at = 00000005
/* 0111C 80B2B31C 14A1000F */ bne $a1, $at, .L80B2B35C
/* 01120 80B2B320 3C180601 */ lui $t8, %hi(D_0600E1A8) ## $t8 = 06010000
/* 01124 80B2B324 2718E1A8 */ addiu $t8, $t8, %lo(D_0600E1A8) ## $t8 = 0600E1A8
/* 01128 80B2B328 ACD80000 */ sw $t8, 0x0000($a2) ## 00000000
/* 0112C 80B2B32C 03E00008 */ jr $ra
/* 01130 80B2B330 00001025 */ or $v0, $zero, $zero ## $v0 = 00000000
.L80B2B334:
/* 01134 80B2B334 94821D74 */ lhu $v0, 0x1D74($a0) ## 00001D74
.L80B2B338:
/* 01138 80B2B338 284105E6 */ slti $at, $v0, 0x05E6
/* 0113C 80B2B33C 14200007 */ bne $at, $zero, .L80B2B35C
/* 01140 80B2B340 28410673 */ slti $at, $v0, 0x0673
/* 01144 80B2B344 10200005 */ beq $at, $zero, .L80B2B35C
/* 01148 80B2B348 24010005 */ addiu $at, $zero, 0x0005 ## $at = 00000005
/* 0114C 80B2B34C 14A10003 */ bne $a1, $at, .L80B2B35C
/* 01150 80B2B350 3C190601 */ lui $t9, %hi(D_0600E1A8) ## $t9 = 06010000
/* 01154 80B2B354 2739E1A8 */ addiu $t9, $t9, %lo(D_0600E1A8) ## $t9 = 0600E1A8
/* 01158 80B2B358 ACD90000 */ sw $t9, 0x0000($a2) ## 00000000
.L80B2B35C:
/* 0115C 80B2B35C 03E00008 */ jr $ra
/* 01160 80B2B360 00001025 */ or $v0, $zero, $zero ## $v0 = 00000000

View File

@ -1,81 +0,0 @@
.rdata
glabel D_80B2D044
.asciz "../z_en_viewer.c"
.balign 4
glabel D_80B2D058
.asciz "../z_en_viewer.c"
.balign 4
glabel D_80B2D06C
.asciz "../z_en_viewer.c"
.balign 4
.text
glabel func_80B2B364
/* 01164 80B2B364 27BDFFC0 */ addiu $sp, $sp, 0xFFC0 ## $sp = FFFFFFC0
/* 01168 80B2B368 2401000B */ addiu $at, $zero, 0x000B ## $at = 0000000B
/* 0116C 80B2B36C AFBF001C */ sw $ra, 0x001C($sp)
/* 01170 80B2B370 AFB00018 */ sw $s0, 0x0018($sp)
/* 01174 80B2B374 AFA40040 */ sw $a0, 0x0040($sp)
/* 01178 80B2B378 AFA60048 */ sw $a2, 0x0048($sp)
/* 0117C 80B2B37C 14A10035 */ bne $a1, $at, .L80B2B454
/* 01180 80B2B380 AFA7004C */ sw $a3, 0x004C($sp)
/* 01184 80B2B384 8C850000 */ lw $a1, 0x0000($a0) ## 00000000
/* 01188 80B2B388 3C0680B3 */ lui $a2, %hi(D_80B2D044) ## $a2 = 80B30000
/* 0118C 80B2B38C 24C6D044 */ addiu $a2, $a2, %lo(D_80B2D044) ## $a2 = 80B2D044
/* 01190 80B2B390 27A4002C */ addiu $a0, $sp, 0x002C ## $a0 = FFFFFFEC
/* 01194 80B2B394 24070555 */ addiu $a3, $zero, 0x0555 ## $a3 = 00000555
/* 01198 80B2B398 0C031AB1 */ jal Graph_OpenDisps
/* 0119C 80B2B39C 00A08025 */ or $s0, $a1, $zero ## $s0 = 00000000
/* 011A0 80B2B3A0 8FAF0040 */ lw $t7, 0x0040($sp)
/* 011A4 80B2B3A4 0C024F61 */ jal func_80093D84
/* 011A8 80B2B3A8 8DE40000 */ lw $a0, 0x0000($t7) ## 00000000
/* 011AC 80B2B3AC 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0
/* 011B0 80B2B3B0 3C19DA38 */ lui $t9, 0xDA38 ## $t9 = DA380000
/* 011B4 80B2B3B4 37390003 */ ori $t9, $t9, 0x0003 ## $t9 = DA380003
/* 011B8 80B2B3B8 24580008 */ addiu $t8, $v0, 0x0008 ## $t8 = 00000008
/* 011BC 80B2B3BC AE1802D0 */ sw $t8, 0x02D0($s0) ## 000002D0
/* 011C0 80B2B3C0 AC590000 */ sw $t9, 0x0000($v0) ## 00000000
/* 011C4 80B2B3C4 8FA80040 */ lw $t0, 0x0040($sp)
/* 011C8 80B2B3C8 3C0580B3 */ lui $a1, %hi(D_80B2D058) ## $a1 = 80B30000
/* 011CC 80B2B3CC 24A5D058 */ addiu $a1, $a1, %lo(D_80B2D058) ## $a1 = 80B2D058
/* 011D0 80B2B3D0 8D040000 */ lw $a0, 0x0000($t0) ## 00000000
/* 011D4 80B2B3D4 2406055A */ addiu $a2, $zero, 0x055A ## $a2 = 0000055A
/* 011D8 80B2B3D8 0C0346A2 */ jal Matrix_NewMtx
/* 011DC 80B2B3DC AFA20028 */ sw $v0, 0x0028($sp)
/* 011E0 80B2B3E0 8FA30028 */ lw $v1, 0x0028($sp)
/* 011E4 80B2B3E4 3C040601 */ lui $a0, %hi(D_0600BE90) ## $a0 = 06010000
/* 011E8 80B2B3E8 2484BE90 */ addiu $a0, $a0, %lo(D_0600BE90) ## $a0 = 0600BE90
/* 011EC 80B2B3EC AC620004 */ sw $v0, 0x0004($v1) ## 00000004
/* 011F0 80B2B3F0 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0
/* 011F4 80B2B3F4 00045900 */ sll $t3, $a0, 4
/* 011F8 80B2B3F8 000B6702 */ srl $t4, $t3, 28
/* 011FC 80B2B3FC 24490008 */ addiu $t1, $v0, 0x0008 ## $t1 = 00000008
/* 01200 80B2B400 AE0902D0 */ sw $t1, 0x02D0($s0) ## 000002D0
/* 01204 80B2B404 000C6880 */ sll $t5, $t4, 2
/* 01208 80B2B408 3C0ADE00 */ lui $t2, 0xDE00 ## $t2 = DE000000
/* 0120C 80B2B40C 3C0E8016 */ lui $t6, %hi(gSegments)
/* 01210 80B2B410 01CD7021 */ addu $t6, $t6, $t5
/* 01214 80B2B414 3C0100FF */ lui $at, 0x00FF ## $at = 00FF0000
/* 01218 80B2B418 AC4A0000 */ sw $t2, 0x0000($v0) ## 00000000
/* 0121C 80B2B41C 8DCE6FA8 */ lw $t6, %lo(gSegments)($t6)
/* 01220 80B2B420 3421FFFF */ ori $at, $at, 0xFFFF ## $at = 00FFFFFF
/* 01224 80B2B424 00817824 */ and $t7, $a0, $at
/* 01228 80B2B428 3C018000 */ lui $at, 0x8000 ## $at = 80000000
/* 0122C 80B2B42C 01CFC021 */ addu $t8, $t6, $t7
/* 01230 80B2B430 0301C821 */ addu $t9, $t8, $at
/* 01234 80B2B434 AC590004 */ sw $t9, 0x0004($v0) ## 00000004
/* 01238 80B2B438 8FA80040 */ lw $t0, 0x0040($sp)
/* 0123C 80B2B43C 3C0680B3 */ lui $a2, %hi(D_80B2D06C) ## $a2 = 80B30000
/* 01240 80B2B440 24C6D06C */ addiu $a2, $a2, %lo(D_80B2D06C) ## $a2 = 80B2D06C
/* 01244 80B2B444 27A4002C */ addiu $a0, $sp, 0x002C ## $a0 = FFFFFFEC
/* 01248 80B2B448 2407055C */ addiu $a3, $zero, 0x055C ## $a3 = 0000055C
/* 0124C 80B2B44C 0C031AD5 */ jal Graph_CloseDisps
/* 01250 80B2B450 8D050000 */ lw $a1, 0x0000($t0) ## 00000000
.L80B2B454:
/* 01254 80B2B454 8FBF001C */ lw $ra, 0x001C($sp)
/* 01258 80B2B458 8FB00018 */ lw $s0, 0x0018($sp)
/* 0125C 80B2B45C 27BD0040 */ addiu $sp, $sp, 0x0040 ## $sp = 00000000
/* 01260 80B2B460 03E00008 */ jr $ra
/* 01264 80B2B464 00000000 */ nop

View File

@ -1,18 +0,0 @@
glabel func_80B2B468
/* 01268 80B2B468 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 0126C 80B2B46C 2401000F */ addiu $at, $zero, 0x000F ## $at = 0000000F
/* 01270 80B2B470 AFBF0014 */ sw $ra, 0x0014($sp)
/* 01274 80B2B474 AFA40018 */ sw $a0, 0x0018($sp)
/* 01278 80B2B478 AFA60020 */ sw $a2, 0x0020($sp)
/* 0127C 80B2B47C 14A10006 */ bne $a1, $at, .L80B2B498
/* 01280 80B2B480 AFA70024 */ sw $a3, 0x0024($sp)
/* 01284 80B2B484 3C0480B3 */ lui $a0, %hi(D_80B2CFD0) ## $a0 = 80B30000
/* 01288 80B2B488 3C0580B3 */ lui $a1, %hi(D_80B2D448) ## $a1 = 80B30000
/* 0128C 80B2B48C 24A5D448 */ addiu $a1, $a1, %lo(D_80B2D448) ## $a1 = 80B2D448
/* 01290 80B2B490 0C0346BD */ jal Matrix_MultVec3f
/* 01294 80B2B494 2484CFD0 */ addiu $a0, $a0, %lo(D_80B2CFD0) ## $a0 = 80B2CFD0
.L80B2B498:
/* 01298 80B2B498 8FBF0014 */ lw $ra, 0x0014($sp)
/* 0129C 80B2B49C 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
/* 012A0 80B2B4A0 03E00008 */ jr $ra
/* 012A4 80B2B4A4 00000000 */ nop

View File

@ -1,302 +0,0 @@
.rdata
glabel D_80B2D080
.asciz "../z_en_viewer.c"
.balign 4
glabel D_80B2D094
.asciz "../z_en_viewer.c"
.balign 4
.text
glabel func_80B2B4A8
/* 012A8 80B2B4A8 27BDFF88 */ addiu $sp, $sp, 0xFF88 ## $sp = FFFFFF88
/* 012AC 80B2B4AC AFBF002C */ sw $ra, 0x002C($sp)
/* 012B0 80B2B4B0 AFB00028 */ sw $s0, 0x0028($sp)
/* 012B4 80B2B4B4 AFA5007C */ sw $a1, 0x007C($sp)
/* 012B8 80B2B4B8 8CA50000 */ lw $a1, 0x0000($a1) ## 00000000
/* 012BC 80B2B4BC 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 012C0 80B2B4C0 3C0680B3 */ lui $a2, %hi(D_80B2D080) ## $a2 = 80B30000
/* 012C4 80B2B4C4 24C6D080 */ addiu $a2, $a2, %lo(D_80B2D080) ## $a2 = 80B2D080
/* 012C8 80B2B4C8 27A40060 */ addiu $a0, $sp, 0x0060 ## $a0 = FFFFFFE8
/* 012CC 80B2B4CC A7A00076 */ sh $zero, 0x0076($sp)
/* 012D0 80B2B4D0 2407057D */ addiu $a3, $zero, 0x057D ## $a3 = 0000057D
/* 012D4 80B2B4D4 0C031AB1 */ jal Graph_OpenDisps
/* 012D8 80B2B4D8 AFA50070 */ sw $a1, 0x0070($sp)
/* 012DC 80B2B4DC 8607001C */ lh $a3, 0x001C($s0) ## 0000001C
/* 012E0 80B2B4E0 240A0003 */ addiu $t2, $zero, 0x0003 ## $t2 = 00000003
/* 012E4 80B2B4E4 87A30076 */ lh $v1, 0x0076($sp)
/* 012E8 80B2B4E8 00073A03 */ sra $a3, $a3, 8
/* 012EC 80B2B4EC 00073C00 */ sll $a3, $a3, 16
/* 012F0 80B2B4F0 00073C03 */ sra $a3, $a3, 16
/* 012F4 80B2B4F4 10EA0007 */ beq $a3, $t2, .L80B2B514
/* 012F8 80B2B4F8 8FA80070 */ lw $t0, 0x0070($sp)
/* 012FC 80B2B4FC 24010005 */ addiu $at, $zero, 0x0005 ## $at = 00000005
/* 01300 80B2B500 10E10004 */ beq $a3, $at, .L80B2B514
/* 01304 80B2B504 24010007 */ addiu $at, $zero, 0x0007 ## $at = 00000007
/* 01308 80B2B508 10E10002 */ beq $a3, $at, .L80B2B514
/* 0130C 80B2B50C 24010008 */ addiu $at, $zero, 0x0008 ## $at = 00000008
/* 01310 80B2B510 14E10094 */ bne $a3, $at, .L80B2B764
.L80B2B514:
/* 01314 80B2B514 3C0F8016 */ lui $t7, %hi(gSaveContext+0x1360)
/* 01318 80B2B518 8DEFF9C0 */ lw $t7, %lo(gSaveContext+0x1360)($t7)
/* 0131C 80B2B51C 24010004 */ addiu $at, $zero, 0x0004 ## $at = 00000004
/* 01320 80B2B520 8FB8007C */ lw $t8, 0x007C($sp)
/* 01324 80B2B524 11E10002 */ beq $t7, $at, .L80B2B530
/* 01328 80B2B528 3C098000 */ lui $t1, 0x8000 ## $t1 = 80000000
/* 0132C 80B2B52C 24030095 */ addiu $v1, $zero, 0x0095 ## $v1 = 00000095
.L80B2B530:
/* 01330 80B2B530 97021D74 */ lhu $v0, 0x1D74($t8) ## 00001D74
/* 01334 80B2B534 24790467 */ addiu $t9, $v1, 0x0467 ## $t9 = 000004FC
/* 01338 80B2B538 3C0CDB06 */ lui $t4, 0xDB06 ## $t4 = DB060000
/* 0133C 80B2B53C 0322082A */ slt $at, $t9, $v0
/* 01340 80B2B540 14200020 */ bne $at, $zero, .L80B2B5C4
/* 01344 80B2B544 246B0468 */ addiu $t3, $v1, 0x0468 ## $t3 = 000004FD
/* 01348 80B2B548 8D0202C0 */ lw $v0, 0x02C0($t0) ## 000002C0
/* 0134C 80B2B54C 3C040601 */ lui $a0, %hi(D_0600F178) ## $a0 = 06010000
/* 01350 80B2B550 2484F178 */ addiu $a0, $a0, %lo(D_0600F178) ## $a0 = 0600F178
/* 01354 80B2B554 00046900 */ sll $t5, $a0, 4
/* 01358 80B2B558 000D7702 */ srl $t6, $t5, 28
/* 0135C 80B2B55C 3C188016 */ lui $t8, %hi(gSegments)
/* 01360 80B2B560 244B0008 */ addiu $t3, $v0, 0x0008 ## $t3 = 00000008
/* 01364 80B2B564 AD0B02C0 */ sw $t3, 0x02C0($t0) ## 000002C0
/* 01368 80B2B568 27186FA8 */ addiu $t8, %lo(gSegments)
/* 0136C 80B2B56C 000E7880 */ sll $t7, $t6, 2
/* 01370 80B2B570 358C0020 */ ori $t4, $t4, 0x0020 ## $t4 = DB060020
/* 01374 80B2B574 01F82821 */ addu $a1, $t7, $t8
/* 01378 80B2B578 AC4C0000 */ sw $t4, 0x0000($v0) ## 00000000
/* 0137C 80B2B57C 8CB90000 */ lw $t9, 0x0000($a1) ## 00000000
/* 01380 80B2B580 3C0100FF */ lui $at, 0x00FF ## $at = 00FF0000
/* 01384 80B2B584 3421FFFF */ ori $at, $at, 0xFFFF ## $at = 00FFFFFF
/* 01388 80B2B588 00813024 */ and $a2, $a0, $at
/* 0138C 80B2B58C 03265821 */ addu $t3, $t9, $a2
/* 01390 80B2B590 01696021 */ addu $t4, $t3, $t1
/* 01394 80B2B594 AC4C0004 */ sw $t4, 0x0004($v0) ## 00000004
/* 01398 80B2B598 8D0202C0 */ lw $v0, 0x02C0($t0) ## 000002C0
/* 0139C 80B2B59C 3C0EDB06 */ lui $t6, 0xDB06 ## $t6 = DB060000
/* 013A0 80B2B5A0 35CE0024 */ ori $t6, $t6, 0x0024 ## $t6 = DB060024
/* 013A4 80B2B5A4 244D0008 */ addiu $t5, $v0, 0x0008 ## $t5 = 00000008
/* 013A8 80B2B5A8 AD0D02C0 */ sw $t5, 0x02C0($t0) ## 000002C0
/* 013AC 80B2B5AC AC4E0000 */ sw $t6, 0x0000($v0) ## 00000000
/* 013B0 80B2B5B0 8CAF0000 */ lw $t7, 0x0000($a1) ## 00000000
/* 013B4 80B2B5B4 01E6C021 */ addu $t8, $t7, $a2
/* 013B8 80B2B5B8 0309C821 */ addu $t9, $t8, $t1
/* 013BC 80B2B5BC 10000080 */ beq $zero, $zero, .L80B2B7C0
/* 013C0 80B2B5C0 AC590004 */ sw $t9, 0x0004($v0) ## 00000004
.L80B2B5C4:
/* 013C4 80B2B5C4 0162082A */ slt $at, $t3, $v0
/* 013C8 80B2B5C8 14200022 */ bne $at, $zero, .L80B2B654
/* 013CC 80B2B5CC 246C0469 */ addiu $t4, $v1, 0x0469 ## $t4 = 000004FE
/* 013D0 80B2B5D0 8D0202C0 */ lw $v0, 0x02C0($t0) ## 000002C0
/* 013D4 80B2B5D4 3C040601 */ lui $a0, %hi(D_0600F378) ## $a0 = 06010000
/* 013D8 80B2B5D8 2484F378 */ addiu $a0, $a0, %lo(D_0600F378) ## $a0 = 0600F378
/* 013DC 80B2B5DC 00047100 */ sll $t6, $a0, 4
/* 013E0 80B2B5E0 000E7F02 */ srl $t7, $t6, 28
/* 013E4 80B2B5E4 3C0DDB06 */ lui $t5, 0xDB06 ## $t5 = DB060000
/* 013E8 80B2B5E8 3C198016 */ lui $t9, %hi(gSegments)
/* 013EC 80B2B5EC 244C0008 */ addiu $t4, $v0, 0x0008 ## $t4 = 00000008
/* 013F0 80B2B5F0 AD0C02C0 */ sw $t4, 0x02C0($t0) ## 000002C0
/* 013F4 80B2B5F4 27396FA8 */ addiu $t9, %lo(gSegments)
/* 013F8 80B2B5F8 35AD0020 */ ori $t5, $t5, 0x0020 ## $t5 = DB060020
/* 013FC 80B2B5FC 000FC080 */ sll $t8, $t7, 2
/* 01400 80B2B600 03192821 */ addu $a1, $t8, $t9
/* 01404 80B2B604 AC4D0000 */ sw $t5, 0x0000($v0) ## 00000000
/* 01408 80B2B608 8CAB0000 */ lw $t3, 0x0000($a1) ## 00000000
/* 0140C 80B2B60C 3C0100FF */ lui $at, 0x00FF ## $at = 00FF0000
/* 01410 80B2B610 3421FFFF */ ori $at, $at, 0xFFFF ## $at = 00FFFFFF
/* 01414 80B2B614 00813024 */ and $a2, $a0, $at
/* 01418 80B2B618 3C098000 */ lui $t1, 0x8000 ## $t1 = 80000000
/* 0141C 80B2B61C 01666021 */ addu $t4, $t3, $a2
/* 01420 80B2B620 01896821 */ addu $t5, $t4, $t1
/* 01424 80B2B624 AC4D0004 */ sw $t5, 0x0004($v0) ## 00000004
/* 01428 80B2B628 8D0202C0 */ lw $v0, 0x02C0($t0) ## 000002C0
/* 0142C 80B2B62C 3C0FDB06 */ lui $t7, 0xDB06 ## $t7 = DB060000
/* 01430 80B2B630 35EF0024 */ ori $t7, $t7, 0x0024 ## $t7 = DB060024
/* 01434 80B2B634 244E0008 */ addiu $t6, $v0, 0x0008 ## $t6 = 00000008
/* 01438 80B2B638 AD0E02C0 */ sw $t6, 0x02C0($t0) ## 000002C0
/* 0143C 80B2B63C AC4F0000 */ sw $t7, 0x0000($v0) ## 00000000
/* 01440 80B2B640 8CB80000 */ lw $t8, 0x0000($a1) ## 00000000
/* 01444 80B2B644 0306C821 */ addu $t9, $t8, $a2
/* 01448 80B2B648 03295821 */ addu $t3, $t9, $t1
/* 0144C 80B2B64C 1000005C */ beq $zero, $zero, .L80B2B7C0
/* 01450 80B2B650 AC4B0004 */ sw $t3, 0x0004($v0) ## 00000004
.L80B2B654:
/* 01454 80B2B654 0182082A */ slt $at, $t4, $v0
/* 01458 80B2B658 14200022 */ bne $at, $zero, .L80B2B6E4
/* 0145C 80B2B65C 3C098000 */ lui $t1, 0x8000 ## $t1 = 80000000
/* 01460 80B2B660 8D0202C0 */ lw $v0, 0x02C0($t0) ## 000002C0
/* 01464 80B2B664 3C040601 */ lui $a0, %hi(D_0600F578) ## $a0 = 06010000
/* 01468 80B2B668 2484F578 */ addiu $a0, $a0, %lo(D_0600F578) ## $a0 = 0600F578
/* 0146C 80B2B66C 00047900 */ sll $t7, $a0, 4
/* 01470 80B2B670 000FC702 */ srl $t8, $t7, 28
/* 01474 80B2B674 3C0EDB06 */ lui $t6, 0xDB06 ## $t6 = DB060000
/* 01478 80B2B678 3C0B8016 */ lui $t3, %hi(gSegments)
/* 0147C 80B2B67C 244D0008 */ addiu $t5, $v0, 0x0008 ## $t5 = 00000008
/* 01480 80B2B680 AD0D02C0 */ sw $t5, 0x02C0($t0) ## 000002C0
/* 01484 80B2B684 256B6FA8 */ addiu $t3, %lo(gSegments)
/* 01488 80B2B688 35CE0020 */ ori $t6, $t6, 0x0020 ## $t6 = DB060020
/* 0148C 80B2B68C 0018C880 */ sll $t9, $t8, 2
/* 01490 80B2B690 032B2821 */ addu $a1, $t9, $t3
/* 01494 80B2B694 AC4E0000 */ sw $t6, 0x0000($v0) ## 00000000
/* 01498 80B2B698 8CAC0000 */ lw $t4, 0x0000($a1) ## 00000000
/* 0149C 80B2B69C 3C0100FF */ lui $at, 0x00FF ## $at = 00FF0000
/* 014A0 80B2B6A0 3421FFFF */ ori $at, $at, 0xFFFF ## $at = 00FFFFFF
/* 014A4 80B2B6A4 00813024 */ and $a2, $a0, $at
/* 014A8 80B2B6A8 3C098000 */ lui $t1, 0x8000 ## $t1 = 80000000
/* 014AC 80B2B6AC 01866821 */ addu $t5, $t4, $a2
/* 014B0 80B2B6B0 01A97021 */ addu $t6, $t5, $t1
/* 014B4 80B2B6B4 AC4E0004 */ sw $t6, 0x0004($v0) ## 00000004
/* 014B8 80B2B6B8 8D0202C0 */ lw $v0, 0x02C0($t0) ## 000002C0
/* 014BC 80B2B6BC 3C18DB06 */ lui $t8, 0xDB06 ## $t8 = DB060000
/* 014C0 80B2B6C0 37180024 */ ori $t8, $t8, 0x0024 ## $t8 = DB060024
/* 014C4 80B2B6C4 244F0008 */ addiu $t7, $v0, 0x0008 ## $t7 = 00000008
/* 014C8 80B2B6C8 AD0F02C0 */ sw $t7, 0x02C0($t0) ## 000002C0
/* 014CC 80B2B6CC AC580000 */ sw $t8, 0x0000($v0) ## 00000000
/* 014D0 80B2B6D0 8CB90000 */ lw $t9, 0x0000($a1) ## 00000000
/* 014D4 80B2B6D4 03265821 */ addu $t3, $t9, $a2
/* 014D8 80B2B6D8 01696021 */ addu $t4, $t3, $t1
/* 014DC 80B2B6DC 10000038 */ beq $zero, $zero, .L80B2B7C0
/* 014E0 80B2B6E0 AC4C0004 */ sw $t4, 0x0004($v0) ## 00000004
.L80B2B6E4:
/* 014E4 80B2B6E4 8D0202C0 */ lw $v0, 0x02C0($t0) ## 000002C0
/* 014E8 80B2B6E8 3C040601 */ lui $a0, %hi(D_0600F778) ## $a0 = 06010000
/* 014EC 80B2B6EC 2484F778 */ addiu $a0, $a0, %lo(D_0600F778) ## $a0 = 0600F778
/* 014F0 80B2B6F0 00047900 */ sll $t7, $a0, 4
/* 014F4 80B2B6F4 000FC702 */ srl $t8, $t7, 28
/* 014F8 80B2B6F8 3C0EDB06 */ lui $t6, 0xDB06 ## $t6 = DB060000
/* 014FC 80B2B6FC 3C0B8016 */ lui $t3, %hi(gSegments)
/* 01500 80B2B700 244D0008 */ addiu $t5, $v0, 0x0008 ## $t5 = 00000008
/* 01504 80B2B704 AD0D02C0 */ sw $t5, 0x02C0($t0) ## 000002C0
/* 01508 80B2B708 256B6FA8 */ addiu $t3, %lo(gSegments)
/* 0150C 80B2B70C 35CE0020 */ ori $t6, $t6, 0x0020 ## $t6 = DB060020
/* 01510 80B2B710 0018C880 */ sll $t9, $t8, 2
/* 01514 80B2B714 032B2821 */ addu $a1, $t9, $t3
/* 01518 80B2B718 AC4E0000 */ sw $t6, 0x0000($v0) ## 00000000
/* 0151C 80B2B71C 8CAC0000 */ lw $t4, 0x0000($a1) ## 00000000
/* 01520 80B2B720 3C0100FF */ lui $at, 0x00FF ## $at = 00FF0000
/* 01524 80B2B724 3421FFFF */ ori $at, $at, 0xFFFF ## $at = 00FFFFFF
/* 01528 80B2B728 00813024 */ and $a2, $a0, $at
/* 0152C 80B2B72C 01866821 */ addu $t5, $t4, $a2
/* 01530 80B2B730 01A97021 */ addu $t6, $t5, $t1
/* 01534 80B2B734 AC4E0004 */ sw $t6, 0x0004($v0) ## 00000004
/* 01538 80B2B738 8D0202C0 */ lw $v0, 0x02C0($t0) ## 000002C0
/* 0153C 80B2B73C 3C18DB06 */ lui $t8, 0xDB06 ## $t8 = DB060000
/* 01540 80B2B740 37180024 */ ori $t8, $t8, 0x0024 ## $t8 = DB060024
/* 01544 80B2B744 244F0008 */ addiu $t7, $v0, 0x0008 ## $t7 = 00000008
/* 01548 80B2B748 AD0F02C0 */ sw $t7, 0x02C0($t0) ## 000002C0
/* 0154C 80B2B74C AC580000 */ sw $t8, 0x0000($v0) ## 00000000
/* 01550 80B2B750 8CB90000 */ lw $t9, 0x0000($a1) ## 00000000
/* 01554 80B2B754 03265821 */ addu $t3, $t9, $a2
/* 01558 80B2B758 01696021 */ addu $t4, $t3, $t1
/* 0155C 80B2B75C 10000018 */ beq $zero, $zero, .L80B2B7C0
/* 01560 80B2B760 AC4C0004 */ sw $t4, 0x0004($v0) ## 00000004
.L80B2B764:
/* 01564 80B2B764 24010009 */ addiu $at, $zero, 0x0009 ## $at = 00000009
/* 01568 80B2B768 14E10015 */ bne $a3, $at, .L80B2B7C0
/* 0156C 80B2B76C 3C098000 */ lui $t1, 0x8000 ## $t1 = 80000000
/* 01570 80B2B770 8D0302D0 */ lw $v1, 0x02D0($t0) ## 000002D0
/* 01574 80B2B774 3C040601 */ lui $a0, %hi(D_0600A4E0) ## $a0 = 06010000
/* 01578 80B2B778 2484A4E0 */ addiu $a0, $a0, %lo(D_0600A4E0) ## $a0 = 0600A4E0
/* 0157C 80B2B77C 00047900 */ sll $t7, $a0, 4
/* 01580 80B2B780 000FC702 */ srl $t8, $t7, 28
/* 01584 80B2B784 3C0EDB06 */ lui $t6, 0xDB06 ## $t6 = DB060000
/* 01588 80B2B788 246D0008 */ addiu $t5, $v1, 0x0008 ## $t5 = 0000009D
/* 0158C 80B2B78C AD0D02D0 */ sw $t5, 0x02D0($t0) ## 000002D0
/* 01590 80B2B790 35CE0020 */ ori $t6, $t6, 0x0020 ## $t6 = DB060020
/* 01594 80B2B794 0018C880 */ sll $t9, $t8, 2
/* 01598 80B2B798 3C0B8016 */ lui $t3, %hi(gSegments)
/* 0159C 80B2B79C 01795821 */ addu $t3, $t3, $t9
/* 015A0 80B2B7A0 AC6E0000 */ sw $t6, 0x0000($v1) ## 00000095
/* 015A4 80B2B7A4 8D6B6FA8 */ lw $t3, %lo(gSegments)($t3)
/* 015A8 80B2B7A8 3C0100FF */ lui $at, 0x00FF ## $at = 00FF0000
/* 015AC 80B2B7AC 3421FFFF */ ori $at, $at, 0xFFFF ## $at = 00FFFFFF
/* 015B0 80B2B7B0 00816024 */ and $t4, $a0, $at
/* 015B4 80B2B7B4 016C6821 */ addu $t5, $t3, $t4
/* 015B8 80B2B7B8 01A97021 */ addu $t6, $t5, $t1
/* 015BC 80B2B7BC AC6E0004 */ sw $t6, 0x0004($v1) ## 00000099
.L80B2B7C0:
/* 015C0 80B2B7C0 24010009 */ addiu $at, $zero, 0x0009 ## $at = 00000009
/* 015C4 80B2B7C4 14E1000C */ bne $a3, $at, .L80B2B7F8
/* 015C8 80B2B7C8 8FA4007C */ lw $a0, 0x007C($sp)
/* 015CC 80B2B7CC 8E05019C */ lw $a1, 0x019C($s0) ## 0000019C
/* 015D0 80B2B7D0 8E0601B8 */ lw $a2, 0x01B8($s0) ## 000001B8
/* 015D4 80B2B7D4 9207019A */ lbu $a3, 0x019A($s0) ## 0000019A
/* 015D8 80B2B7D8 3C0F80B3 */ lui $t7, %hi(func_80B2B364) ## $t7 = 80B30000
/* 015DC 80B2B7DC 25EFB364 */ addiu $t7, $t7, %lo(func_80B2B364) ## $t7 = 80B2B364
/* 015E0 80B2B7E0 AFAF0014 */ sw $t7, 0x0014($sp)
/* 015E4 80B2B7E4 AFB00018 */ sw $s0, 0x0018($sp)
/* 015E8 80B2B7E8 0C0286B2 */ jal SkelAnime_DrawFlexOpa
/* 015EC 80B2B7EC AFA00010 */ sw $zero, 0x0010($sp)
/* 015F0 80B2B7F0 10000037 */ beq $zero, $zero, .L80B2B8D0
/* 015F4 80B2B7F4 8FAF007C */ lw $t7, 0x007C($sp)
.L80B2B7F8:
/* 015F8 80B2B7F8 14EA0011 */ bne $a3, $t2, .L80B2B840
/* 015FC 80B2B7FC 8FA4007C */ lw $a0, 0x007C($sp)
/* 01600 80B2B800 8E05019C */ lw $a1, 0x019C($s0) ## 0000019C
/* 01604 80B2B804 8E0601B8 */ lw $a2, 0x01B8($s0) ## 000001B8
/* 01608 80B2B808 9207019A */ lbu $a3, 0x019A($s0) ## 0000019A
/* 0160C 80B2B80C 3C1880B3 */ lui $t8, %hi(func_80B2B2F4) ## $t8 = 80B30000
/* 01610 80B2B810 3C1980B3 */ lui $t9, %hi(func_80B2B468) ## $t9 = 80B30000
/* 01614 80B2B814 2739B468 */ addiu $t9, $t9, %lo(func_80B2B468) ## $t9 = 80B2B468
/* 01618 80B2B818 2718B2F4 */ addiu $t8, $t8, %lo(func_80B2B2F4) ## $t8 = 80B2B2F4
/* 0161C 80B2B81C AFB80010 */ sw $t8, 0x0010($sp)
/* 01620 80B2B820 AFB90014 */ sw $t9, 0x0014($sp)
/* 01624 80B2B824 0C0286B2 */ jal SkelAnime_DrawFlexOpa
/* 01628 80B2B828 AFB00018 */ sw $s0, 0x0018($sp)
/* 0162C 80B2B82C 8FA4007C */ lw $a0, 0x007C($sp)
/* 01630 80B2B830 0C2CB307 */ jal func_80B2CC1C
/* 01634 80B2B834 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000
/* 01638 80B2B838 10000025 */ beq $zero, $zero, .L80B2B8D0
/* 0163C 80B2B83C 8FAF007C */ lw $t7, 0x007C($sp)
.L80B2B840:
/* 01640 80B2B840 10EA0007 */ beq $a3, $t2, .L80B2B860
/* 01644 80B2B844 24010005 */ addiu $at, $zero, 0x0005 ## $at = 00000005
/* 01648 80B2B848 10E10005 */ beq $a3, $at, .L80B2B860
/* 0164C 80B2B84C 24010007 */ addiu $at, $zero, 0x0007 ## $at = 00000007
/* 01650 80B2B850 10E10003 */ beq $a3, $at, .L80B2B860
/* 01654 80B2B854 24010008 */ addiu $at, $zero, 0x0008 ## $at = 00000008
/* 01658 80B2B858 14E10016 */ bne $a3, $at, .L80B2B8B4
/* 0165C 80B2B85C 8FA4007C */ lw $a0, 0x007C($sp)
.L80B2B860:
/* 01660 80B2B860 8FAB007C */ lw $t3, 0x007C($sp)
/* 01664 80B2B864 916C1D6C */ lbu $t4, 0x1D6C($t3) ## 00001D6C
/* 01668 80B2B868 51800019 */ beql $t4, $zero, .L80B2B8D0
/* 0166C 80B2B86C 8FAF007C */ lw $t7, 0x007C($sp)
/* 01670 80B2B870 8D6D1D90 */ lw $t5, 0x1D90($t3) ## 00001D90
/* 01674 80B2B874 3C0E80B3 */ lui $t6, %hi(func_80B2B468) ## $t6 = 80B30000
/* 01678 80B2B878 25CEB468 */ addiu $t6, $t6, %lo(func_80B2B468) ## $t6 = 80B2B468
/* 0167C 80B2B87C 11A00013 */ beq $t5, $zero, .L80B2B8CC
/* 01680 80B2B880 01602025 */ or $a0, $t3, $zero ## $a0 = 00000000
/* 01684 80B2B884 8E05019C */ lw $a1, 0x019C($s0) ## 0000019C
/* 01688 80B2B888 8E0601B8 */ lw $a2, 0x01B8($s0) ## 000001B8
/* 0168C 80B2B88C 9207019A */ lbu $a3, 0x019A($s0) ## 0000019A
/* 01690 80B2B890 AFB00018 */ sw $s0, 0x0018($sp)
/* 01694 80B2B894 AFAE0014 */ sw $t6, 0x0014($sp)
/* 01698 80B2B898 0C0286B2 */ jal SkelAnime_DrawFlexOpa
/* 0169C 80B2B89C AFA00010 */ sw $zero, 0x0010($sp)
/* 016A0 80B2B8A0 8FA4007C */ lw $a0, 0x007C($sp)
/* 016A4 80B2B8A4 0C2CB307 */ jal func_80B2CC1C
/* 016A8 80B2B8A8 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000
/* 016AC 80B2B8AC 10000008 */ beq $zero, $zero, .L80B2B8D0
/* 016B0 80B2B8B0 8FAF007C */ lw $t7, 0x007C($sp)
.L80B2B8B4:
/* 016B4 80B2B8B4 8E05019C */ lw $a1, 0x019C($s0) ## 0000019C
/* 016B8 80B2B8B8 8E0601B8 */ lw $a2, 0x01B8($s0) ## 000001B8
/* 016BC 80B2B8BC AFB00014 */ sw $s0, 0x0014($sp)
/* 016C0 80B2B8C0 AFA00010 */ sw $zero, 0x0010($sp)
/* 016C4 80B2B8C4 0C028572 */ jal SkelAnime_DrawOpa
/* 016C8 80B2B8C8 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
.L80B2B8CC:
/* 016CC 80B2B8CC 8FAF007C */ lw $t7, 0x007C($sp)
.L80B2B8D0:
/* 016D0 80B2B8D0 3C0680B3 */ lui $a2, %hi(D_80B2D094) ## $a2 = 80B30000
/* 016D4 80B2B8D4 24C6D094 */ addiu $a2, $a2, %lo(D_80B2D094) ## $a2 = 80B2D094
/* 016D8 80B2B8D8 27A40060 */ addiu $a0, $sp, 0x0060 ## $a0 = FFFFFFE8
/* 016DC 80B2B8DC 240705E7 */ addiu $a3, $zero, 0x05E7 ## $a3 = 000005E7
/* 016E0 80B2B8E0 0C031AD5 */ jal Graph_CloseDisps
/* 016E4 80B2B8E4 8DE50000 */ lw $a1, 0x0000($t7) ## 00000000
/* 016E8 80B2B8E8 8FBF002C */ lw $ra, 0x002C($sp)
/* 016EC 80B2B8EC 8FB00028 */ lw $s0, 0x0028($sp)
/* 016F0 80B2B8F0 27BD0078 */ addiu $sp, $sp, 0x0078 ## $sp = 00000000
/* 016F4 80B2B8F4 03E00008 */ jr $ra
/* 016F8 80B2B8F8 00000000 */ nop

View File

@ -1,12 +0,0 @@
glabel func_80B2B8FC
/* 016FC 80B2B8FC 27BDFFE0 */ addiu $sp, $sp, 0xFFE0 ## $sp = FFFFFFE0
/* 01700 80B2B900 AFBF001C */ sw $ra, 0x001C($sp)
/* 01704 80B2B904 240E0001 */ addiu $t6, $zero, 0x0001 ## $t6 = 00000001
/* 01708 80B2B908 AFAE0010 */ sw $t6, 0x0010($sp)
/* 0170C 80B2B90C 2486014C */ addiu $a2, $a0, 0x014C ## $a2 = 0000014C
/* 01710 80B2B910 0C0298CC */ jal func_800A6330
/* 01714 80B2B914 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 01718 80B2B918 8FBF001C */ lw $ra, 0x001C($sp)
/* 0171C 80B2B91C 27BD0020 */ addiu $sp, $sp, 0x0020 ## $sp = 00000000
/* 01720 80B2B920 03E00008 */ jr $ra
/* 01724 80B2B924 00000000 */ nop

View File

@ -1,38 +0,0 @@
glabel func_80B2B928
/* 01728 80B2B928 AFA7000C */ sw $a3, 0x000C($sp)
/* 0172C 80B2B92C 848E00A4 */ lh $t6, 0x00A4($a0) ## 000000A4
/* 01730 80B2B930 24010051 */ addiu $at, $zero, 0x0051 ## $at = 00000051
/* 01734 80B2B934 15C10019 */ bne $t6, $at, .L80B2B99C
/* 01738 80B2B938 24010002 */ addiu $at, $zero, 0x0002 ## $at = 00000002
/* 0173C 80B2B93C 14A10003 */ bne $a1, $at, .L80B2B94C
/* 01740 80B2B940 3C0F0601 */ lui $t7, %hi(D_0600C410) ## $t7 = 06010000
/* 01744 80B2B944 25EFC410 */ addiu $t7, $t7, %lo(D_0600C410) ## $t7 = 0600C410
/* 01748 80B2B948 ACCF0000 */ sw $t7, 0x0000($a2) ## 00000000
.L80B2B94C:
/* 0174C 80B2B94C 24010007 */ addiu $at, $zero, 0x0007 ## $at = 00000007
/* 01750 80B2B950 54A10003 */ bnel $a1, $at, .L80B2B960
/* 01754 80B2B954 24010008 */ addiu $at, $zero, 0x0008 ## $at = 00000008
/* 01758 80B2B958 ACC00000 */ sw $zero, 0x0000($a2) ## 00000000
/* 0175C 80B2B95C 24010008 */ addiu $at, $zero, 0x0008 ## $at = 00000008
.L80B2B960:
/* 01760 80B2B960 54A10003 */ bnel $a1, $at, .L80B2B970
/* 01764 80B2B964 24010009 */ addiu $at, $zero, 0x0009 ## $at = 00000009
/* 01768 80B2B968 ACC00000 */ sw $zero, 0x0000($a2) ## 00000000
/* 0176C 80B2B96C 24010009 */ addiu $at, $zero, 0x0009 ## $at = 00000009
.L80B2B970:
/* 01770 80B2B970 54A10003 */ bnel $a1, $at, .L80B2B980
/* 01774 80B2B974 24010003 */ addiu $at, $zero, 0x0003 ## $at = 00000003
/* 01778 80B2B978 ACC00000 */ sw $zero, 0x0000($a2) ## 00000000
/* 0177C 80B2B97C 24010003 */ addiu $at, $zero, 0x0003 ## $at = 00000003
.L80B2B980:
/* 01780 80B2B980 54A10003 */ bnel $a1, $at, .L80B2B990
/* 01784 80B2B984 24010005 */ addiu $at, $zero, 0x0005 ## $at = 00000005
/* 01788 80B2B988 ACC00000 */ sw $zero, 0x0000($a2) ## 00000000
/* 0178C 80B2B98C 24010005 */ addiu $at, $zero, 0x0005 ## $at = 00000005
.L80B2B990:
/* 01790 80B2B990 14A10002 */ bne $a1, $at, .L80B2B99C
/* 01794 80B2B994 00000000 */ nop
/* 01798 80B2B998 ACC00000 */ sw $zero, 0x0000($a2) ## 00000000
.L80B2B99C:
/* 0179C 80B2B99C 03E00008 */ jr $ra
/* 017A0 80B2B9A0 00001025 */ or $v0, $zero, $zero ## $v0 = 00000000

View File

@ -1,49 +0,0 @@
.rdata
glabel D_80B2D0A8
.asciz "../z_en_viewer.c"
.balign 4
glabel D_80B2D0BC
.asciz "../z_en_viewer.c"
.balign 4
.text
glabel func_80B2B9A4
/* 017A4 80B2B9A4 27BDFFC8 */ addiu $sp, $sp, 0xFFC8 ## $sp = FFFFFFC8
/* 017A8 80B2B9A8 AFBF0014 */ sw $ra, 0x0014($sp)
/* 017AC 80B2B9AC AFA40038 */ sw $a0, 0x0038($sp)
/* 017B0 80B2B9B0 AFA60040 */ sw $a2, 0x0040($sp)
/* 017B4 80B2B9B4 AFA70044 */ sw $a3, 0x0044($sp)
/* 017B8 80B2B9B8 848F00A4 */ lh $t7, 0x00A4($a0) ## 000000A4
/* 017BC 80B2B9BC 24010043 */ addiu $at, $zero, 0x0043 ## $at = 00000043
/* 017C0 80B2B9C0 15E10019 */ bne $t7, $at, .L80B2BA28
/* 017C4 80B2B9C4 24010010 */ addiu $at, $zero, 0x0010 ## $at = 00000010
/* 017C8 80B2B9C8 14A10017 */ bne $a1, $at, .L80B2BA28
/* 017CC 80B2B9CC 3C0680B3 */ lui $a2, %hi(D_80B2D0A8) ## $a2 = 80B30000
/* 017D0 80B2B9D0 8C850000 */ lw $a1, 0x0000($a0) ## 00000000
/* 017D4 80B2B9D4 27A40020 */ addiu $a0, $sp, 0x0020 ## $a0 = FFFFFFE8
/* 017D8 80B2B9D8 24C6D0A8 */ addiu $a2, $a2, %lo(D_80B2D0A8) ## $a2 = 80B2D0A8
/* 017DC 80B2B9DC 24070620 */ addiu $a3, $zero, 0x0620 ## $a3 = 00000620
/* 017E0 80B2B9E0 0C031AB1 */ jal Graph_OpenDisps
/* 017E4 80B2B9E4 AFA50030 */ sw $a1, 0x0030($sp)
/* 017E8 80B2B9E8 8FA80030 */ lw $t0, 0x0030($sp)
/* 017EC 80B2B9EC 3C090601 */ lui $t1, %hi(D_0600DE08) ## $t1 = 06010000
/* 017F0 80B2B9F0 2529DE08 */ addiu $t1, $t1, %lo(D_0600DE08) ## $t1 = 0600DE08
/* 017F4 80B2B9F4 8D0302C0 */ lw $v1, 0x02C0($t0) ## 000002C0
/* 017F8 80B2B9F8 3C19DE00 */ lui $t9, 0xDE00 ## $t9 = DE000000
/* 017FC 80B2B9FC 3C0680B3 */ lui $a2, %hi(D_80B2D0BC) ## $a2 = 80B30000
/* 01800 80B2BA00 24780008 */ addiu $t8, $v1, 0x0008 ## $t8 = 00000008
/* 01804 80B2BA04 AD1802C0 */ sw $t8, 0x02C0($t0) ## 000002C0
/* 01808 80B2BA08 AC690004 */ sw $t1, 0x0004($v1) ## 00000004
/* 0180C 80B2BA0C AC790000 */ sw $t9, 0x0000($v1) ## 00000000
/* 01810 80B2BA10 8FAA0038 */ lw $t2, 0x0038($sp)
/* 01814 80B2BA14 24C6D0BC */ addiu $a2, $a2, %lo(D_80B2D0BC) ## $a2 = 80B2D0BC
/* 01818 80B2BA18 27A40020 */ addiu $a0, $sp, 0x0020 ## $a0 = FFFFFFE8
/* 0181C 80B2BA1C 24070622 */ addiu $a3, $zero, 0x0622 ## $a3 = 00000622
/* 01820 80B2BA20 0C031AD5 */ jal Graph_CloseDisps
/* 01824 80B2BA24 8D450000 */ lw $a1, 0x0000($t2) ## 00000000
.L80B2BA28:
/* 01828 80B2BA28 8FBF0014 */ lw $ra, 0x0014($sp)
/* 0182C 80B2BA2C 27BD0038 */ addiu $sp, $sp, 0x0038 ## $sp = 00000000
/* 01830 80B2BA30 03E00008 */ jr $ra
/* 01834 80B2BA34 00000000 */ nop

View File

@ -1,460 +0,0 @@
.rdata
glabel D_80B2D0D0
.asciz "../z_en_viewer.c"
.balign 4
glabel D_80B2D0E4
.asciz "../z_en_viewer.c"
.balign 4
.text
glabel func_80B2BA38
/* 01838 80B2BA38 27BDFF60 */ addiu $sp, $sp, 0xFF60 ## $sp = FFFFFF60
/* 0183C 80B2BA3C AFBF0024 */ sw $ra, 0x0024($sp)
/* 01840 80B2BA40 AFA400A0 */ sw $a0, 0x00A0($sp)
/* 01844 80B2BA44 AFA500A4 */ sw $a1, 0x00A4($sp)
/* 01848 80B2BA48 8CA50000 */ lw $a1, 0x0000($a1) ## 00000000
/* 0184C 80B2BA4C 3C0680B3 */ lui $a2, %hi(D_80B2D0D0) ## $a2 = 80B30000
/* 01850 80B2BA50 24C6D0D0 */ addiu $a2, $a2, %lo(D_80B2D0D0) ## $a2 = 80B2D0D0
/* 01854 80B2BA54 27A4008C */ addiu $a0, $sp, 0x008C ## $a0 = FFFFFFEC
/* 01858 80B2BA58 2407062F */ addiu $a3, $zero, 0x062F ## $a3 = 0000062F
/* 0185C 80B2BA5C 0C031AB1 */ jal Graph_OpenDisps
/* 01860 80B2BA60 AFA5009C */ sw $a1, 0x009C($sp)
/* 01864 80B2BA64 8FAC00A4 */ lw $t4, 0x00A4($sp)
/* 01868 80B2BA68 24010051 */ addiu $at, $zero, 0x0051 ## $at = 00000051
/* 0186C 80B2BA6C 8FA8009C */ lw $t0, 0x009C($sp)
/* 01870 80B2BA70 858F00A4 */ lh $t7, 0x00A4($t4) ## 000000A4
/* 01874 80B2BA74 8FAB00A0 */ lw $t3, 0x00A0($sp)
/* 01878 80B2BA78 3C078000 */ lui $a3, 0x8000 ## $a3 = 80000000
/* 0187C 80B2BA7C 15E1015D */ bne $t7, $at, .L80B2BFF4
/* 01880 80B2BA80 3C098016 */ lui $t1, %hi(gSegments)
/* 01884 80B2BA84 95821D74 */ lhu $v0, 0x1D74($t4) ## 00001D74
/* 01888 80B2BA88 3C098016 */ lui $t1, %hi(gSegments)
/* 0188C 80B2BA8C 25296FA8 */ addiu $t1, %lo(gSegments)
/* 01890 80B2BA90 28410303 */ slti $at, $v0, 0x0303
/* 01894 80B2BA94 10200026 */ beq $at, $zero, .L80B2BB30
/* 01898 80B2BA98 3C078000 */ lui $a3, 0x8000 ## $a3 = 80000000
/* 0189C 80B2BA9C 8D0202C0 */ lw $v0, 0x02C0($t0) ## 000002C0
/* 018A0 80B2BAA0 3C040600 */ lui $a0, %hi(D_060042F0) ## $a0 = 06000000
/* 018A4 80B2BAA4 248442F0 */ addiu $a0, $a0, %lo(D_060042F0) ## $a0 = 060042F0
/* 018A8 80B2BAA8 00046900 */ sll $t5, $a0, 4
/* 018AC 80B2BAAC 24580008 */ addiu $t8, $v0, 0x0008 ## $t8 = 00000008
/* 018B0 80B2BAB0 AD1802C0 */ sw $t8, 0x02C0($t0) ## 000002C0
/* 018B4 80B2BAB4 000D7702 */ srl $t6, $t5, 28
/* 018B8 80B2BAB8 3C19DB06 */ lui $t9, 0xDB06 ## $t9 = DB060000
/* 018BC 80B2BABC 37390020 */ ori $t9, $t9, 0x0020 ## $t9 = DB060020
/* 018C0 80B2BAC0 000E7880 */ sll $t7, $t6, 2
/* 018C4 80B2BAC4 012FC021 */ addu $t8, $t1, $t7
/* 018C8 80B2BAC8 AC590000 */ sw $t9, 0x0000($v0) ## 00000000
/* 018CC 80B2BACC 8F190000 */ lw $t9, 0x0000($t8) ## 00000008
/* 018D0 80B2BAD0 3C0A00FF */ lui $t2, 0x00FF ## $t2 = 00FF0000
/* 018D4 80B2BAD4 354AFFFF */ ori $t2, $t2, 0xFFFF ## $t2 = 00FFFFFF
/* 018D8 80B2BAD8 008A6824 */ and $t5, $a0, $t2
/* 018DC 80B2BADC 032D7021 */ addu $t6, $t9, $t5
/* 018E0 80B2BAE0 01C77821 */ addu $t7, $t6, $a3
/* 018E4 80B2BAE4 AC4F0004 */ sw $t7, 0x0004($v0) ## 00000004
/* 018E8 80B2BAE8 8D0202C0 */ lw $v0, 0x02C0($t0) ## 000002C0
/* 018EC 80B2BAEC 3C040600 */ lui $a0, %hi(D_06003EF0) ## $a0 = 06000000
/* 018F0 80B2BAF0 24843EF0 */ addiu $a0, $a0, %lo(D_06003EF0) ## $a0 = 06003EF0
/* 018F4 80B2BAF4 00046900 */ sll $t5, $a0, 4
/* 018F8 80B2BAF8 24580008 */ addiu $t8, $v0, 0x0008 ## $t8 = 00000008
/* 018FC 80B2BAFC AD1802C0 */ sw $t8, 0x02C0($t0) ## 000002C0
/* 01900 80B2BB00 000D7702 */ srl $t6, $t5, 28
/* 01904 80B2BB04 3C19DB06 */ lui $t9, 0xDB06 ## $t9 = DB060000
/* 01908 80B2BB08 37390024 */ ori $t9, $t9, 0x0024 ## $t9 = DB060024
/* 0190C 80B2BB0C 000E7880 */ sll $t7, $t6, 2
/* 01910 80B2BB10 012FC021 */ addu $t8, $t1, $t7
/* 01914 80B2BB14 AC590000 */ sw $t9, 0x0000($v0) ## 00000000
/* 01918 80B2BB18 8F190000 */ lw $t9, 0x0000($t8) ## 00000008
/* 0191C 80B2BB1C 008A6824 */ and $t5, $a0, $t2
/* 01920 80B2BB20 032D7021 */ addu $t6, $t9, $t5
/* 01924 80B2BB24 01C77821 */ addu $t7, $t6, $a3
/* 01928 80B2BB28 100000E0 */ beq $zero, $zero, .L80B2BEAC
/* 0192C 80B2BB2C AC4F0004 */ sw $t7, 0x0004($v0) ## 00000004
.L80B2BB30:
/* 01930 80B2BB30 28410304 */ slti $at, $v0, 0x0304
/* 01934 80B2BB34 50200023 */ beql $at, $zero, .L80B2BBC4
/* 01938 80B2BB38 28410305 */ slti $at, $v0, 0x0305
/* 0193C 80B2BB3C 8D0202C0 */ lw $v0, 0x02C0($t0) ## 000002C0
/* 01940 80B2BB40 3C040600 */ lui $a0, %hi(D_06002EF0) ## $a0 = 06000000
/* 01944 80B2BB44 24842EF0 */ addiu $a0, $a0, %lo(D_06002EF0) ## $a0 = 06002EF0
/* 01948 80B2BB48 00046900 */ sll $t5, $a0, 4
/* 0194C 80B2BB4C 000D7702 */ srl $t6, $t5, 28
/* 01950 80B2BB50 3C098016 */ lui $t1, %hi(gSegments)
/* 01954 80B2BB54 3C19DB06 */ lui $t9, 0xDB06 ## $t9 = DB060000
/* 01958 80B2BB58 24580008 */ addiu $t8, $v0, 0x0008 ## $t8 = 00000008
/* 0195C 80B2BB5C AD1802C0 */ sw $t8, 0x02C0($t0) ## 000002C0
/* 01960 80B2BB60 37390020 */ ori $t9, $t9, 0x0020 ## $t9 = DB060020
/* 01964 80B2BB64 25296FA8 */ addiu $t1, %lo(gSegments)
/* 01968 80B2BB68 000E7880 */ sll $t7, $t6, 2
/* 0196C 80B2BB6C 012F2821 */ addu $a1, $t1, $t7
/* 01970 80B2BB70 AC590000 */ sw $t9, 0x0000($v0) ## 00000000
/* 01974 80B2BB74 8CB80000 */ lw $t8, 0x0000($a1) ## 00000000
/* 01978 80B2BB78 3C0A00FF */ lui $t2, 0x00FF ## $t2 = 00FF0000
/* 0197C 80B2BB7C 354AFFFF */ ori $t2, $t2, 0xFFFF ## $t2 = 00FFFFFF
/* 01980 80B2BB80 008A3024 */ and $a2, $a0, $t2
/* 01984 80B2BB84 3C078000 */ lui $a3, 0x8000 ## $a3 = 80000000
/* 01988 80B2BB88 0306C821 */ addu $t9, $t8, $a2
/* 0198C 80B2BB8C 03276821 */ addu $t5, $t9, $a3
/* 01990 80B2BB90 AC4D0004 */ sw $t5, 0x0004($v0) ## 00000004
/* 01994 80B2BB94 8D0202C0 */ lw $v0, 0x02C0($t0) ## 000002C0
/* 01998 80B2BB98 3C0FDB06 */ lui $t7, 0xDB06 ## $t7 = DB060000
/* 0199C 80B2BB9C 35EF0024 */ ori $t7, $t7, 0x0024 ## $t7 = DB060024
/* 019A0 80B2BBA0 244E0008 */ addiu $t6, $v0, 0x0008 ## $t6 = 00000008
/* 019A4 80B2BBA4 AD0E02C0 */ sw $t6, 0x02C0($t0) ## 000002C0
/* 019A8 80B2BBA8 AC4F0000 */ sw $t7, 0x0000($v0) ## 00000000
/* 019AC 80B2BBAC 8CB80000 */ lw $t8, 0x0000($a1) ## 00000000
/* 019B0 80B2BBB0 0306C821 */ addu $t9, $t8, $a2
/* 019B4 80B2BBB4 03276821 */ addu $t5, $t9, $a3
/* 019B8 80B2BBB8 100000BC */ beq $zero, $zero, .L80B2BEAC
/* 019BC 80B2BBBC AC4D0004 */ sw $t5, 0x0004($v0) ## 00000004
/* 019C0 80B2BBC0 28410305 */ slti $at, $v0, 0x0305
.L80B2BBC4:
/* 019C4 80B2BBC4 50200023 */ beql $at, $zero, .L80B2BC54
/* 019C8 80B2BBC8 28410317 */ slti $at, $v0, 0x0317
/* 019CC 80B2BBCC 8D0202C0 */ lw $v0, 0x02C0($t0) ## 000002C0
/* 019D0 80B2BBD0 3C030600 */ lui $v1, %hi(D_060032F0) ## $v1 = 06000000
/* 019D4 80B2BBD4 246332F0 */ addiu $v1, $v1, %lo(D_060032F0) ## $v1 = 060032F0
/* 019D8 80B2BBD8 0003C100 */ sll $t8, $v1, 4
/* 019DC 80B2BBDC 0018CF02 */ srl $t9, $t8, 28
/* 019E0 80B2BBE0 3C098016 */ lui $t1, %hi(gSegments)
/* 019E4 80B2BBE4 3C0FDB06 */ lui $t7, 0xDB06 ## $t7 = DB060000
/* 019E8 80B2BBE8 244E0008 */ addiu $t6, $v0, 0x0008 ## $t6 = 00000008
/* 019EC 80B2BBEC AD0E02C0 */ sw $t6, 0x02C0($t0) ## 000002C0
/* 019F0 80B2BBF0 35EF0020 */ ori $t7, $t7, 0x0020 ## $t7 = DB060020
/* 019F4 80B2BBF4 25296FA8 */ addiu $t1, %lo(gSegments)
/* 019F8 80B2BBF8 00196880 */ sll $t5, $t9, 2
/* 019FC 80B2BBFC 012D2821 */ addu $a1, $t1, $t5
/* 01A00 80B2BC00 AC4F0000 */ sw $t7, 0x0000($v0) ## 00000000
/* 01A04 80B2BC04 8CAE0000 */ lw $t6, 0x0000($a1) ## 00000000
/* 01A08 80B2BC08 3C0A00FF */ lui $t2, 0x00FF ## $t2 = 00FF0000
/* 01A0C 80B2BC0C 354AFFFF */ ori $t2, $t2, 0xFFFF ## $t2 = 00FFFFFF
/* 01A10 80B2BC10 006A3024 */ and $a2, $v1, $t2
/* 01A14 80B2BC14 3C078000 */ lui $a3, 0x8000 ## $a3 = 80000000
/* 01A18 80B2BC18 01C67821 */ addu $t7, $t6, $a2
/* 01A1C 80B2BC1C 01E7C021 */ addu $t8, $t7, $a3
/* 01A20 80B2BC20 AC580004 */ sw $t8, 0x0004($v0) ## 00000004
/* 01A24 80B2BC24 8D0202C0 */ lw $v0, 0x02C0($t0) ## 000002C0
/* 01A28 80B2BC28 3C0DDB06 */ lui $t5, 0xDB06 ## $t5 = DB060000
/* 01A2C 80B2BC2C 35AD0024 */ ori $t5, $t5, 0x0024 ## $t5 = DB060024
/* 01A30 80B2BC30 24590008 */ addiu $t9, $v0, 0x0008 ## $t9 = 00000008
/* 01A34 80B2BC34 AD1902C0 */ sw $t9, 0x02C0($t0) ## 000002C0
/* 01A38 80B2BC38 AC4D0000 */ sw $t5, 0x0000($v0) ## 00000000
/* 01A3C 80B2BC3C 8CAE0000 */ lw $t6, 0x0000($a1) ## 00000000
/* 01A40 80B2BC40 01C67821 */ addu $t7, $t6, $a2
/* 01A44 80B2BC44 01E7C021 */ addu $t8, $t7, $a3
/* 01A48 80B2BC48 10000098 */ beq $zero, $zero, .L80B2BEAC
/* 01A4C 80B2BC4C AC580004 */ sw $t8, 0x0004($v0) ## 00000004
/* 01A50 80B2BC50 28410317 */ slti $at, $v0, 0x0317
.L80B2BC54:
/* 01A54 80B2BC54 50200024 */ beql $at, $zero, .L80B2BCE8
/* 01A58 80B2BC58 28410318 */ slti $at, $v0, 0x0318
/* 01A5C 80B2BC5C 8D0202C0 */ lw $v0, 0x02C0($t0) ## 000002C0
/* 01A60 80B2BC60 3C040600 */ lui $a0, %hi(D_060036F0) ## $a0 = 06000000
/* 01A64 80B2BC64 248436F0 */ addiu $a0, $a0, %lo(D_060036F0) ## $a0 = 060036F0
/* 01A68 80B2BC68 00047100 */ sll $t6, $a0, 4
/* 01A6C 80B2BC6C 000E7F02 */ srl $t7, $t6, 28
/* 01A70 80B2BC70 3C098016 */ lui $t1, %hi(gSegments)
/* 01A74 80B2BC74 3C0DDB06 */ lui $t5, 0xDB06 ## $t5 = DB060000
/* 01A78 80B2BC78 24590008 */ addiu $t9, $v0, 0x0008 ## $t9 = 00000008
/* 01A7C 80B2BC7C AD1902C0 */ sw $t9, 0x02C0($t0) ## 000002C0
/* 01A80 80B2BC80 35AD0020 */ ori $t5, $t5, 0x0020 ## $t5 = DB060020
/* 01A84 80B2BC84 25296FA8 */ addiu $t1, %lo(gSegments)
/* 01A88 80B2BC88 000FC080 */ sll $t8, $t7, 2
/* 01A8C 80B2BC8C 01382821 */ addu $a1, $t1, $t8
/* 01A90 80B2BC90 AC4D0000 */ sw $t5, 0x0000($v0) ## 00000000
/* 01A94 80B2BC94 8CB90000 */ lw $t9, 0x0000($a1) ## 00000000
/* 01A98 80B2BC98 3C0A00FF */ lui $t2, 0x00FF ## $t2 = 00FF0000
/* 01A9C 80B2BC9C 354AFFFF */ ori $t2, $t2, 0xFFFF ## $t2 = 00FFFFFF
/* 01AA0 80B2BCA0 008A3024 */ and $a2, $a0, $t2
/* 01AA4 80B2BCA4 3C078000 */ lui $a3, 0x8000 ## $a3 = 80000000
/* 01AA8 80B2BCA8 03266821 */ addu $t5, $t9, $a2
/* 01AAC 80B2BCAC 01A77021 */ addu $t6, $t5, $a3
/* 01AB0 80B2BCB0 AC4E0004 */ sw $t6, 0x0004($v0) ## 00000004
/* 01AB4 80B2BCB4 8D0202C0 */ lw $v0, 0x02C0($t0) ## 000002C0
/* 01AB8 80B2BCB8 3C18DB06 */ lui $t8, 0xDB06 ## $t8 = DB060000
/* 01ABC 80B2BCBC 37180024 */ ori $t8, $t8, 0x0024 ## $t8 = DB060024
/* 01AC0 80B2BCC0 244F0008 */ addiu $t7, $v0, 0x0008 ## $t7 = 00000008
/* 01AC4 80B2BCC4 AD0F02C0 */ sw $t7, 0x02C0($t0) ## 000002C0
/* 01AC8 80B2BCC8 AC580000 */ sw $t8, 0x0000($v0) ## 00000000
/* 01ACC 80B2BCCC 8CB90000 */ lw $t9, 0x0000($a1) ## 00000000
/* 01AD0 80B2BCD0 03266821 */ addu $t5, $t9, $a2
/* 01AD4 80B2BCD4 01A77021 */ addu $t6, $t5, $a3
/* 01AD8 80B2BCD8 AC4E0004 */ sw $t6, 0x0004($v0) ## 00000004
/* 01ADC 80B2BCDC 10000073 */ beq $zero, $zero, .L80B2BEAC
/* 01AE0 80B2BCE0 8FAC00A4 */ lw $t4, 0x00A4($sp)
/* 01AE4 80B2BCE4 28410318 */ slti $at, $v0, 0x0318
.L80B2BCE8:
/* 01AE8 80B2BCE8 50200024 */ beql $at, $zero, .L80B2BD7C
/* 01AEC 80B2BCEC 28410319 */ slti $at, $v0, 0x0319
/* 01AF0 80B2BCF0 8D0202C0 */ lw $v0, 0x02C0($t0) ## 000002C0
/* 01AF4 80B2BCF4 3C040600 */ lui $a0, %hi(D_06002EF0) ## $a0 = 06000000
/* 01AF8 80B2BCF8 24842EF0 */ addiu $a0, $a0, %lo(D_06002EF0) ## $a0 = 06002EF0
/* 01AFC 80B2BCFC 0004C900 */ sll $t9, $a0, 4
/* 01B00 80B2BD00 00196F02 */ srl $t5, $t9, 28
/* 01B04 80B2BD04 3C098016 */ lui $t1, %hi(gSegments)
/* 01B08 80B2BD08 3C18DB06 */ lui $t8, 0xDB06 ## $t8 = DB060000
/* 01B0C 80B2BD0C 244F0008 */ addiu $t7, $v0, 0x0008 ## $t7 = 00000008
/* 01B10 80B2BD10 AD0F02C0 */ sw $t7, 0x02C0($t0) ## 000002C0
/* 01B14 80B2BD14 37180020 */ ori $t8, $t8, 0x0020 ## $t8 = DB060020
/* 01B18 80B2BD18 25296FA8 */ addiu $t1, %lo(gSegments)
/* 01B1C 80B2BD1C 000D7080 */ sll $t6, $t5, 2
/* 01B20 80B2BD20 012E2821 */ addu $a1, $t1, $t6
/* 01B24 80B2BD24 AC580000 */ sw $t8, 0x0000($v0) ## 00000000
/* 01B28 80B2BD28 8CAF0000 */ lw $t7, 0x0000($a1) ## 00000000
/* 01B2C 80B2BD2C 3C0A00FF */ lui $t2, 0x00FF ## $t2 = 00FF0000
/* 01B30 80B2BD30 354AFFFF */ ori $t2, $t2, 0xFFFF ## $t2 = 00FFFFFF
/* 01B34 80B2BD34 008A3024 */ and $a2, $a0, $t2
/* 01B38 80B2BD38 3C078000 */ lui $a3, 0x8000 ## $a3 = 80000000
/* 01B3C 80B2BD3C 01E6C021 */ addu $t8, $t7, $a2
/* 01B40 80B2BD40 0307C821 */ addu $t9, $t8, $a3
/* 01B44 80B2BD44 AC590004 */ sw $t9, 0x0004($v0) ## 00000004
/* 01B48 80B2BD48 8D0202C0 */ lw $v0, 0x02C0($t0) ## 000002C0
/* 01B4C 80B2BD4C 3C0EDB06 */ lui $t6, 0xDB06 ## $t6 = DB060000
/* 01B50 80B2BD50 35CE0024 */ ori $t6, $t6, 0x0024 ## $t6 = DB060024
/* 01B54 80B2BD54 244D0008 */ addiu $t5, $v0, 0x0008 ## $t5 = 00000008
/* 01B58 80B2BD58 AD0D02C0 */ sw $t5, 0x02C0($t0) ## 000002C0
/* 01B5C 80B2BD5C AC4E0000 */ sw $t6, 0x0000($v0) ## 00000000
/* 01B60 80B2BD60 8CAF0000 */ lw $t7, 0x0000($a1) ## 00000000
/* 01B64 80B2BD64 01E6C021 */ addu $t8, $t7, $a2
/* 01B68 80B2BD68 0307C821 */ addu $t9, $t8, $a3
/* 01B6C 80B2BD6C AC590004 */ sw $t9, 0x0004($v0) ## 00000004
/* 01B70 80B2BD70 1000004E */ beq $zero, $zero, .L80B2BEAC
/* 01B74 80B2BD74 8FAC00A4 */ lw $t4, 0x00A4($sp)
/* 01B78 80B2BD78 28410319 */ slti $at, $v0, 0x0319
.L80B2BD7C:
/* 01B7C 80B2BD7C 50200024 */ beql $at, $zero, .L80B2BE10
/* 01B80 80B2BD80 8D0202C0 */ lw $v0, 0x02C0($t0) ## 000002C0
/* 01B84 80B2BD84 8D0202C0 */ lw $v0, 0x02C0($t0) ## 000002C0
/* 01B88 80B2BD88 3C030600 */ lui $v1, %hi(D_060032F0) ## $v1 = 06000000
/* 01B8C 80B2BD8C 246332F0 */ addiu $v1, $v1, %lo(D_060032F0) ## $v1 = 060032F0
/* 01B90 80B2BD90 00037900 */ sll $t7, $v1, 4
/* 01B94 80B2BD94 000FC702 */ srl $t8, $t7, 28
/* 01B98 80B2BD98 3C098016 */ lui $t1, %hi(gSegments)
/* 01B9C 80B2BD9C 3C0EDB06 */ lui $t6, 0xDB06 ## $t6 = DB060000
/* 01BA0 80B2BDA0 244D0008 */ addiu $t5, $v0, 0x0008 ## $t5 = 00000008
/* 01BA4 80B2BDA4 AD0D02C0 */ sw $t5, 0x02C0($t0) ## 000002C0
/* 01BA8 80B2BDA8 35CE0020 */ ori $t6, $t6, 0x0020 ## $t6 = DB060020
/* 01BAC 80B2BDAC 25296FA8 */ addiu $t1, %lo(gSegments)
/* 01BB0 80B2BDB0 0018C880 */ sll $t9, $t8, 2
/* 01BB4 80B2BDB4 01392821 */ addu $a1, $t1, $t9
/* 01BB8 80B2BDB8 AC4E0000 */ sw $t6, 0x0000($v0) ## 00000000
/* 01BBC 80B2BDBC 8CAD0000 */ lw $t5, 0x0000($a1) ## 00000000
/* 01BC0 80B2BDC0 3C0A00FF */ lui $t2, 0x00FF ## $t2 = 00FF0000
/* 01BC4 80B2BDC4 354AFFFF */ ori $t2, $t2, 0xFFFF ## $t2 = 00FFFFFF
/* 01BC8 80B2BDC8 006A3024 */ and $a2, $v1, $t2
/* 01BCC 80B2BDCC 3C078000 */ lui $a3, 0x8000 ## $a3 = 80000000
/* 01BD0 80B2BDD0 01A67021 */ addu $t6, $t5, $a2
/* 01BD4 80B2BDD4 01C77821 */ addu $t7, $t6, $a3
/* 01BD8 80B2BDD8 AC4F0004 */ sw $t7, 0x0004($v0) ## 00000004
/* 01BDC 80B2BDDC 8D0202C0 */ lw $v0, 0x02C0($t0) ## 000002C0
/* 01BE0 80B2BDE0 3C19DB06 */ lui $t9, 0xDB06 ## $t9 = DB060000
/* 01BE4 80B2BDE4 37390024 */ ori $t9, $t9, 0x0024 ## $t9 = DB060024
/* 01BE8 80B2BDE8 24580008 */ addiu $t8, $v0, 0x0008 ## $t8 = 00000008
/* 01BEC 80B2BDEC AD1802C0 */ sw $t8, 0x02C0($t0) ## 000002C0
/* 01BF0 80B2BDF0 AC590000 */ sw $t9, 0x0000($v0) ## 00000000
/* 01BF4 80B2BDF4 8CAD0000 */ lw $t5, 0x0000($a1) ## 00000000
/* 01BF8 80B2BDF8 01A67021 */ addu $t6, $t5, $a2
/* 01BFC 80B2BDFC 01C77821 */ addu $t7, $t6, $a3
/* 01C00 80B2BE00 AC4F0004 */ sw $t7, 0x0004($v0) ## 00000004
/* 01C04 80B2BE04 10000029 */ beq $zero, $zero, .L80B2BEAC
/* 01C08 80B2BE08 8FAC00A4 */ lw $t4, 0x00A4($sp)
/* 01C0C 80B2BE0C 8D0202C0 */ lw $v0, 0x02C0($t0) ## 000002C0
.L80B2BE10:
/* 01C10 80B2BE10 3C040600 */ lui $a0, %hi(D_060042F0) ## $a0 = 06000000
/* 01C14 80B2BE14 248442F0 */ addiu $a0, $a0, %lo(D_060042F0) ## $a0 = 060042F0
/* 01C18 80B2BE18 00046900 */ sll $t5, $a0, 4
/* 01C1C 80B2BE1C 24580008 */ addiu $t8, $v0, 0x0008 ## $t8 = 00000008
/* 01C20 80B2BE20 3C098016 */ lui $t1, %hi(gSegments)
/* 01C24 80B2BE24 AD1802C0 */ sw $t8, 0x02C0($t0) ## 000002C0
/* 01C28 80B2BE28 000D7702 */ srl $t6, $t5, 28
/* 01C2C 80B2BE2C 3C19DB06 */ lui $t9, 0xDB06 ## $t9 = DB060000
/* 01C30 80B2BE30 25296FA8 */ addiu $t1, %lo(gSegments)
/* 01C34 80B2BE34 37390020 */ ori $t9, $t9, 0x0020 ## $t9 = DB060020
/* 01C38 80B2BE38 000E7880 */ sll $t7, $t6, 2
/* 01C3C 80B2BE3C 012FC021 */ addu $t8, $t1, $t7
/* 01C40 80B2BE40 AC590000 */ sw $t9, 0x0000($v0) ## 00000000
/* 01C44 80B2BE44 8F190000 */ lw $t9, 0x0000($t8) ## 00000008
/* 01C48 80B2BE48 3C0A00FF */ lui $t2, 0x00FF ## $t2 = 00FF0000
/* 01C4C 80B2BE4C 354AFFFF */ ori $t2, $t2, 0xFFFF ## $t2 = 00FFFFFF
/* 01C50 80B2BE50 008A6824 */ and $t5, $a0, $t2
/* 01C54 80B2BE54 3C078000 */ lui $a3, 0x8000 ## $a3 = 80000000
/* 01C58 80B2BE58 032D7021 */ addu $t6, $t9, $t5
/* 01C5C 80B2BE5C 01C77821 */ addu $t7, $t6, $a3
/* 01C60 80B2BE60 AC4F0004 */ sw $t7, 0x0004($v0) ## 00000004
/* 01C64 80B2BE64 8D0202C0 */ lw $v0, 0x02C0($t0) ## 000002C0
/* 01C68 80B2BE68 3C040600 */ lui $a0, %hi(D_06003EF0) ## $a0 = 06000000
/* 01C6C 80B2BE6C 24843EF0 */ addiu $a0, $a0, %lo(D_06003EF0) ## $a0 = 06003EF0
/* 01C70 80B2BE70 00046900 */ sll $t5, $a0, 4
/* 01C74 80B2BE74 24580008 */ addiu $t8, $v0, 0x0008 ## $t8 = 00000008
/* 01C78 80B2BE78 AD1802C0 */ sw $t8, 0x02C0($t0) ## 000002C0
/* 01C7C 80B2BE7C 000D7702 */ srl $t6, $t5, 28
/* 01C80 80B2BE80 3C19DB06 */ lui $t9, 0xDB06 ## $t9 = DB060000
/* 01C84 80B2BE84 37390024 */ ori $t9, $t9, 0x0024 ## $t9 = DB060024
/* 01C88 80B2BE88 000E7880 */ sll $t7, $t6, 2
/* 01C8C 80B2BE8C 012FC021 */ addu $t8, $t1, $t7
/* 01C90 80B2BE90 AC590000 */ sw $t9, 0x0000($v0) ## 00000000
/* 01C94 80B2BE94 8F190000 */ lw $t9, 0x0000($t8) ## 00000008
/* 01C98 80B2BE98 008A6824 */ and $t5, $a0, $t2
/* 01C9C 80B2BE9C 032D7021 */ addu $t6, $t9, $t5
/* 01CA0 80B2BEA0 01C77821 */ addu $t7, $t6, $a3
/* 01CA4 80B2BEA4 AC4F0004 */ sw $t7, 0x0004($v0) ## 00000004
/* 01CA8 80B2BEA8 8FAC00A4 */ lw $t4, 0x00A4($sp)
.L80B2BEAC:
/* 01CAC 80B2BEAC 3C188016 */ lui $t8, %hi(gSaveContext+0x1360)
/* 01CB0 80B2BEB0 8F18F9C0 */ lw $t8, %lo(gSaveContext+0x1360)($t8)
/* 01CB4 80B2BEB4 24010006 */ addiu $at, $zero, 0x0006 ## $at = 00000006
/* 01CB8 80B2BEB8 57010014 */ bnel $t8, $at, .L80B2BF0C
/* 01CBC 80B2BEBC 95821D74 */ lhu $v0, 0x1D74($t4) ## 00001D74
/* 01CC0 80B2BEC0 8D0202C0 */ lw $v0, 0x02C0($t0) ## 000002C0
/* 01CC4 80B2BEC4 3C040600 */ lui $a0, %hi(D_060052F0) ## $a0 = 06000000
/* 01CC8 80B2BEC8 248452F0 */ addiu $a0, $a0, %lo(D_060052F0) ## $a0 = 060052F0
/* 01CCC 80B2BECC 00047100 */ sll $t6, $a0, 4
/* 01CD0 80B2BED0 24590008 */ addiu $t9, $v0, 0x0008 ## $t9 = 00000008
/* 01CD4 80B2BED4 AD1902C0 */ sw $t9, 0x02C0($t0) ## 000002C0
/* 01CD8 80B2BED8 000E7F02 */ srl $t7, $t6, 28
/* 01CDC 80B2BEDC 3C0DDB06 */ lui $t5, 0xDB06 ## $t5 = DB060000
/* 01CE0 80B2BEE0 35AD0028 */ ori $t5, $t5, 0x0028 ## $t5 = DB060028
/* 01CE4 80B2BEE4 000FC080 */ sll $t8, $t7, 2
/* 01CE8 80B2BEE8 0138C821 */ addu $t9, $t1, $t8
/* 01CEC 80B2BEEC AC4D0000 */ sw $t5, 0x0000($v0) ## 00000000
/* 01CF0 80B2BEF0 8F2D0000 */ lw $t5, 0x0000($t9) ## 00000008
/* 01CF4 80B2BEF4 008A7024 */ and $t6, $a0, $t2
/* 01CF8 80B2BEF8 01AE7821 */ addu $t7, $t5, $t6
/* 01CFC 80B2BEFC 01E7C021 */ addu $t8, $t7, $a3
/* 01D00 80B2BF00 1000006B */ beq $zero, $zero, .L80B2C0B0
/* 01D04 80B2BF04 AC580004 */ sw $t8, 0x0004($v0) ## 00000004
/* 01D08 80B2BF08 95821D74 */ lhu $v0, 0x1D74($t4) ## 00001D74
.L80B2BF0C:
/* 01D0C 80B2BF0C 3C0DDB06 */ lui $t5, 0xDB06 ## $t5 = DB060000
/* 01D10 80B2BF10 35AD0028 */ ori $t5, $t5, 0x0028 ## $t5 = DB060028
/* 01D14 80B2BF14 284102F6 */ slti $at, $v0, 0x02F6
/* 01D18 80B2BF18 10200010 */ beq $at, $zero, .L80B2BF5C
/* 01D1C 80B2BF1C 3C030600 */ lui $v1, %hi(D_06004EF0) ## $v1 = 06000000
/* 01D20 80B2BF20 8D0202C0 */ lw $v0, 0x02C0($t0) ## 000002C0
/* 01D24 80B2BF24 24634EF0 */ addiu $v1, $v1, %lo(D_06004EF0) ## $v1 = 06004EF0
/* 01D28 80B2BF28 00037100 */ sll $t6, $v1, 4
/* 01D2C 80B2BF2C 24590008 */ addiu $t9, $v0, 0x0008 ## $t9 = 00000008
/* 01D30 80B2BF30 AD1902C0 */ sw $t9, 0x02C0($t0) ## 000002C0
/* 01D34 80B2BF34 000E7F02 */ srl $t7, $t6, 28
/* 01D38 80B2BF38 000FC080 */ sll $t8, $t7, 2
/* 01D3C 80B2BF3C 0138C821 */ addu $t9, $t1, $t8
/* 01D40 80B2BF40 AC4D0000 */ sw $t5, 0x0000($v0) ## 00000000
/* 01D44 80B2BF44 8F2D0000 */ lw $t5, 0x0000($t9) ## 00000008
/* 01D48 80B2BF48 006A7024 */ and $t6, $v1, $t2
/* 01D4C 80B2BF4C 01AE7821 */ addu $t7, $t5, $t6
/* 01D50 80B2BF50 01E7C021 */ addu $t8, $t7, $a3
/* 01D54 80B2BF54 10000056 */ beq $zero, $zero, .L80B2C0B0
/* 01D58 80B2BF58 AC580004 */ sw $t8, 0x0004($v0) ## 00000004
.L80B2BF5C:
/* 01D5C 80B2BF5C 28410350 */ slti $at, $v0, 0x0350
/* 01D60 80B2BF60 10200013 */ beq $at, $zero, .L80B2BFB0
/* 01D64 80B2BF64 3C0DDB06 */ lui $t5, 0xDB06 ## $t5 = DB060000
/* 01D68 80B2BF68 8D0202C0 */ lw $v0, 0x02C0($t0) ## 000002C0
/* 01D6C 80B2BF6C 3C040600 */ lui $a0, %hi(D_060052F0) ## $a0 = 06000000
/* 01D70 80B2BF70 248452F0 */ addiu $a0, $a0, %lo(D_060052F0) ## $a0 = 060052F0
/* 01D74 80B2BF74 00047100 */ sll $t6, $a0, 4
/* 01D78 80B2BF78 24590008 */ addiu $t9, $v0, 0x0008 ## $t9 = 00000008
/* 01D7C 80B2BF7C AD1902C0 */ sw $t9, 0x02C0($t0) ## 000002C0
/* 01D80 80B2BF80 000E7F02 */ srl $t7, $t6, 28
/* 01D84 80B2BF84 3C0DDB06 */ lui $t5, 0xDB06 ## $t5 = DB060000
/* 01D88 80B2BF88 35AD0028 */ ori $t5, $t5, 0x0028 ## $t5 = DB060028
/* 01D8C 80B2BF8C 000FC080 */ sll $t8, $t7, 2
/* 01D90 80B2BF90 0138C821 */ addu $t9, $t1, $t8
/* 01D94 80B2BF94 AC4D0000 */ sw $t5, 0x0000($v0) ## 00000000
/* 01D98 80B2BF98 8F2D0000 */ lw $t5, 0x0000($t9) ## 00000008
/* 01D9C 80B2BF9C 008A7024 */ and $t6, $a0, $t2
/* 01DA0 80B2BFA0 01AE7821 */ addu $t7, $t5, $t6
/* 01DA4 80B2BFA4 01E7C021 */ addu $t8, $t7, $a3
/* 01DA8 80B2BFA8 10000041 */ beq $zero, $zero, .L80B2C0B0
/* 01DAC 80B2BFAC AC580004 */ sw $t8, 0x0004($v0) ## 00000004
.L80B2BFB0:
/* 01DB0 80B2BFB0 8D0202C0 */ lw $v0, 0x02C0($t0) ## 000002C0
/* 01DB4 80B2BFB4 3C030600 */ lui $v1, %hi(D_06004EF0) ## $v1 = 06000000
/* 01DB8 80B2BFB8 24634EF0 */ addiu $v1, $v1, %lo(D_06004EF0) ## $v1 = 06004EF0
/* 01DBC 80B2BFBC 00037100 */ sll $t6, $v1, 4
/* 01DC0 80B2BFC0 24590008 */ addiu $t9, $v0, 0x0008 ## $t9 = 00000008
/* 01DC4 80B2BFC4 AD1902C0 */ sw $t9, 0x02C0($t0) ## 000002C0
/* 01DC8 80B2BFC8 000E7F02 */ srl $t7, $t6, 28
/* 01DCC 80B2BFCC 000FC080 */ sll $t8, $t7, 2
/* 01DD0 80B2BFD0 35AD0028 */ ori $t5, $t5, 0x0028 ## $t5 = DB060028
/* 01DD4 80B2BFD4 0138C821 */ addu $t9, $t1, $t8
/* 01DD8 80B2BFD8 AC4D0000 */ sw $t5, 0x0000($v0) ## 00000000
/* 01DDC 80B2BFDC 8F2D0000 */ lw $t5, 0x0000($t9) ## 00000008
/* 01DE0 80B2BFE0 006A7024 */ and $t6, $v1, $t2
/* 01DE4 80B2BFE4 01AE7821 */ addu $t7, $t5, $t6
/* 01DE8 80B2BFE8 01E7C021 */ addu $t8, $t7, $a3
/* 01DEC 80B2BFEC 10000030 */ beq $zero, $zero, .L80B2C0B0
/* 01DF0 80B2BFF0 AC580004 */ sw $t8, 0x0004($v0) ## 00000004
.L80B2BFF4:
/* 01DF4 80B2BFF4 8D0202C0 */ lw $v0, 0x02C0($t0) ## 000002C0
/* 01DF8 80B2BFF8 3C030600 */ lui $v1, %hi(D_060032F0) ## $v1 = 06000000
/* 01DFC 80B2BFFC 246332F0 */ addiu $v1, $v1, %lo(D_060032F0) ## $v1 = 060032F0
/* 01E00 80B2C000 00037100 */ sll $t6, $v1, 4
/* 01E04 80B2C004 000E7F02 */ srl $t7, $t6, 28
/* 01E08 80B2C008 3C0DDB06 */ lui $t5, 0xDB06 ## $t5 = DB060000
/* 01E0C 80B2C00C 24590008 */ addiu $t9, $v0, 0x0008 ## $t9 = 00000008
/* 01E10 80B2C010 25296FA8 */ addiu $t1, %lo(gSegments)
/* 01E14 80B2C014 AD1902C0 */ sw $t9, 0x02C0($t0) ## 000002C0
/* 01E18 80B2C018 35AD0020 */ ori $t5, $t5, 0x0020 ## $t5 = DB060020
/* 01E1C 80B2C01C 000FC080 */ sll $t8, $t7, 2
/* 01E20 80B2C020 01382821 */ addu $a1, $t1, $t8
/* 01E24 80B2C024 AC4D0000 */ sw $t5, 0x0000($v0) ## 00000000
/* 01E28 80B2C028 8CB90000 */ lw $t9, 0x0000($a1) ## 00000000
/* 01E2C 80B2C02C 3C0A00FF */ lui $t2, 0x00FF ## $t2 = 00FF0000
/* 01E30 80B2C030 354AFFFF */ ori $t2, $t2, 0xFFFF ## $t2 = 00FFFFFF
/* 01E34 80B2C034 006A3024 */ and $a2, $v1, $t2
/* 01E38 80B2C038 03266821 */ addu $t5, $t9, $a2
/* 01E3C 80B2C03C 01A77021 */ addu $t6, $t5, $a3
/* 01E40 80B2C040 AC4E0004 */ sw $t6, 0x0004($v0) ## 00000004
/* 01E44 80B2C044 8D0202C0 */ lw $v0, 0x02C0($t0) ## 000002C0
/* 01E48 80B2C048 3C18DB06 */ lui $t8, 0xDB06 ## $t8 = DB060000
/* 01E4C 80B2C04C 37180024 */ ori $t8, $t8, 0x0024 ## $t8 = DB060024
/* 01E50 80B2C050 244F0008 */ addiu $t7, $v0, 0x0008 ## $t7 = 00000008
/* 01E54 80B2C054 AD0F02C0 */ sw $t7, 0x02C0($t0) ## 000002C0
/* 01E58 80B2C058 AC580000 */ sw $t8, 0x0000($v0) ## 00000000
/* 01E5C 80B2C05C 8CB90000 */ lw $t9, 0x0000($a1) ## 00000000
/* 01E60 80B2C060 3C030600 */ lui $v1, %hi(D_06004EF0) ## $v1 = 06000000
/* 01E64 80B2C064 24634EF0 */ addiu $v1, $v1, %lo(D_06004EF0) ## $v1 = 06004EF0
/* 01E68 80B2C068 03266821 */ addu $t5, $t9, $a2
/* 01E6C 80B2C06C 01A77021 */ addu $t6, $t5, $a3
/* 01E70 80B2C070 AC4E0004 */ sw $t6, 0x0004($v0) ## 00000004
/* 01E74 80B2C074 8D0202C0 */ lw $v0, 0x02C0($t0) ## 000002C0
/* 01E78 80B2C078 0003C900 */ sll $t9, $v1, 4
/* 01E7C 80B2C07C 00196F02 */ srl $t5, $t9, 28
/* 01E80 80B2C080 244F0008 */ addiu $t7, $v0, 0x0008 ## $t7 = 00000008
/* 01E84 80B2C084 AD0F02C0 */ sw $t7, 0x02C0($t0) ## 000002C0
/* 01E88 80B2C088 3C18DB06 */ lui $t8, 0xDB06 ## $t8 = DB060000
/* 01E8C 80B2C08C 37180028 */ ori $t8, $t8, 0x0028 ## $t8 = DB060028
/* 01E90 80B2C090 000D7080 */ sll $t6, $t5, 2
/* 01E94 80B2C094 012E7821 */ addu $t7, $t1, $t6
/* 01E98 80B2C098 AC580000 */ sw $t8, 0x0000($v0) ## 00000000
/* 01E9C 80B2C09C 8DF80000 */ lw $t8, 0x0000($t7) ## 00000008
/* 01EA0 80B2C0A0 006AC824 */ and $t9, $v1, $t2
/* 01EA4 80B2C0A4 03196821 */ addu $t5, $t8, $t9
/* 01EA8 80B2C0A8 01A77021 */ addu $t6, $t5, $a3
/* 01EAC 80B2C0AC AC4E0004 */ sw $t6, 0x0004($v0) ## 00000004
.L80B2C0B0:
/* 01EB0 80B2C0B0 8D65019C */ lw $a1, 0x019C($t3) ## 0000019C
/* 01EB4 80B2C0B4 8D6601B8 */ lw $a2, 0x01B8($t3) ## 000001B8
/* 01EB8 80B2C0B8 9167019A */ lbu $a3, 0x019A($t3) ## 0000019A
/* 01EBC 80B2C0BC 3C0F80B3 */ lui $t7, %hi(func_80B2B928) ## $t7 = 80B30000
/* 01EC0 80B2C0C0 3C1880B3 */ lui $t8, %hi(func_80B2B9A4) ## $t8 = 80B30000
/* 01EC4 80B2C0C4 2718B9A4 */ addiu $t8, $t8, %lo(func_80B2B9A4) ## $t8 = 80B2B9A4
/* 01EC8 80B2C0C8 25EFB928 */ addiu $t7, $t7, %lo(func_80B2B928) ## $t7 = 80B2B928
/* 01ECC 80B2C0CC AFAF0010 */ sw $t7, 0x0010($sp)
/* 01ED0 80B2C0D0 AFB80014 */ sw $t8, 0x0014($sp)
/* 01ED4 80B2C0D4 AFAB0018 */ sw $t3, 0x0018($sp)
/* 01ED8 80B2C0D8 0C0286B2 */ jal SkelAnime_DrawFlexOpa
/* 01EDC 80B2C0DC 8FA400A4 */ lw $a0, 0x00A4($sp)
/* 01EE0 80B2C0E0 8FB900A4 */ lw $t9, 0x00A4($sp)
/* 01EE4 80B2C0E4 3C0680B3 */ lui $a2, %hi(D_80B2D0E4) ## $a2 = 80B30000
/* 01EE8 80B2C0E8 24C6D0E4 */ addiu $a2, $a2, %lo(D_80B2D0E4) ## $a2 = 80B2D0E4
/* 01EEC 80B2C0EC 27A4008C */ addiu $a0, $sp, 0x008C ## $a0 = FFFFFFEC
/* 01EF0 80B2C0F0 2407069A */ addiu $a3, $zero, 0x069A ## $a3 = 0000069A
/* 01EF4 80B2C0F4 0C031AD5 */ jal Graph_CloseDisps
/* 01EF8 80B2C0F8 8F250000 */ lw $a1, 0x0000($t9) ## 00000000
/* 01EFC 80B2C0FC 8FBF0024 */ lw $ra, 0x0024($sp)
/* 01F00 80B2C100 27BD00A0 */ addiu $sp, $sp, 0x00A0 ## $sp = 00000000
/* 01F04 80B2C104 03E00008 */ jr $ra
/* 01F08 80B2C108 00000000 */ nop

View File

@ -1,11 +0,0 @@
glabel func_80B2C10C
/* 01F0C 80B2C10C 24010010 */ addiu $at, $zero, 0x0010 ## $at = 00000010
/* 01F10 80B2C110 AFA40000 */ sw $a0, 0x0000($sp)
/* 01F14 80B2C114 14A10004 */ bne $a1, $at, .L80B2C128
/* 01F18 80B2C118 AFA7000C */ sw $a3, 0x000C($sp)
/* 01F1C 80B2C11C 3C0E0601 */ lui $t6, %hi(D_0600D0D8) ## $t6 = 06010000
/* 01F20 80B2C120 25CED0D8 */ addiu $t6, $t6, %lo(D_0600D0D8) ## $t6 = 0600D0D8
/* 01F24 80B2C124 ACCE0000 */ sw $t6, 0x0000($a2) ## 00000000
.L80B2C128:
/* 01F28 80B2C128 03E00008 */ jr $ra
/* 01F2C 80B2C12C 00001025 */ or $v0, $zero, $zero ## $v0 = 00000000

View File

@ -1,93 +0,0 @@
.rdata
glabel D_80B2D0F8
.asciz "../z_en_viewer.c"
.balign 4
glabel D_80B2D10C
.asciz "../z_en_viewer.c"
.balign 4
.text
glabel func_80B2C130
/* 01F30 80B2C130 27BDFFA8 */ addiu $sp, $sp, 0xFFA8 ## $sp = FFFFFFA8
/* 01F34 80B2C134 AFBF0024 */ sw $ra, 0x0024($sp)
/* 01F38 80B2C138 AFA40058 */ sw $a0, 0x0058($sp)
/* 01F3C 80B2C13C AFA5005C */ sw $a1, 0x005C($sp)
/* 01F40 80B2C140 8CA50000 */ lw $a1, 0x0000($a1) ## 00000000
/* 01F44 80B2C144 3C0680B3 */ lui $a2, %hi(D_80B2D0F8) ## $a2 = 80B30000
/* 01F48 80B2C148 24C6D0F8 */ addiu $a2, $a2, %lo(D_80B2D0F8) ## $a2 = 80B2D0F8
/* 01F4C 80B2C14C 27A40044 */ addiu $a0, $sp, 0x0044 ## $a0 = FFFFFFEC
/* 01F50 80B2C150 240706B5 */ addiu $a3, $zero, 0x06B5 ## $a3 = 000006B5
/* 01F54 80B2C154 0C031AB1 */ jal Graph_OpenDisps
/* 01F58 80B2C158 AFA50054 */ sw $a1, 0x0054($sp)
/* 01F5C 80B2C15C 8FA30054 */ lw $v1, 0x0054($sp)
/* 01F60 80B2C160 3C050600 */ lui $a1, %hi(D_06007210) ## $a1 = 06000000
/* 01F64 80B2C164 24A57210 */ addiu $a1, $a1, %lo(D_06007210) ## $a1 = 06007210
/* 01F68 80B2C168 8C6202C0 */ lw $v0, 0x02C0($v1) ## 000002C0
/* 01F6C 80B2C16C 0005C900 */ sll $t9, $a1, 4
/* 01F70 80B2C170 8FA80058 */ lw $t0, 0x0058($sp)
/* 01F74 80B2C174 00195702 */ srl $t2, $t9, 28
/* 01F78 80B2C178 3C18DB06 */ lui $t8, 0xDB06 ## $t8 = DB060000
/* 01F7C 80B2C17C 3C0C8016 */ lui $t4, %hi(gSegments)
/* 01F80 80B2C180 244F0008 */ addiu $t7, $v0, 0x0008 ## $t7 = 00000008
/* 01F84 80B2C184 258C6FA8 */ addiu $t4, %lo(gSegments)
/* 01F88 80B2C188 37180020 */ ori $t8, $t8, 0x0020 ## $t8 = DB060020
/* 01F8C 80B2C18C 000A5880 */ sll $t3, $t2, 2
/* 01F90 80B2C190 AC6F02C0 */ sw $t7, 0x02C0($v1) ## 000002C0
/* 01F94 80B2C194 016C3021 */ addu $a2, $t3, $t4
/* 01F98 80B2C198 AC580000 */ sw $t8, 0x0000($v0) ## 00000000
/* 01F9C 80B2C19C 8CCD0000 */ lw $t5, 0x0000($a2) ## 00000000
/* 01FA0 80B2C1A0 3C0100FF */ lui $at, 0x00FF ## $at = 00FF0000
/* 01FA4 80B2C1A4 3421FFFF */ ori $at, $at, 0xFFFF ## $at = 00FFFFFF
/* 01FA8 80B2C1A8 00A13824 */ and $a3, $a1, $at
/* 01FAC 80B2C1AC 3C098000 */ lui $t1, 0x8000 ## $t1 = 80000000
/* 01FB0 80B2C1B0 01A77021 */ addu $t6, $t5, $a3
/* 01FB4 80B2C1B4 01C97821 */ addu $t7, $t6, $t1
/* 01FB8 80B2C1B8 AC4F0004 */ sw $t7, 0x0004($v0) ## 00000004
/* 01FBC 80B2C1BC 8C6202C0 */ lw $v0, 0x02C0($v1) ## 000002C0
/* 01FC0 80B2C1C0 3C19DB06 */ lui $t9, 0xDB06 ## $t9 = DB060000
/* 01FC4 80B2C1C4 37390024 */ ori $t9, $t9, 0x0024 ## $t9 = DB060024
/* 01FC8 80B2C1C8 24580008 */ addiu $t8, $v0, 0x0008 ## $t8 = 00000008
/* 01FCC 80B2C1CC AC7802C0 */ sw $t8, 0x02C0($v1) ## 000002C0
/* 01FD0 80B2C1D0 AC590000 */ sw $t9, 0x0000($v0) ## 00000000
/* 01FD4 80B2C1D4 8CCA0000 */ lw $t2, 0x0000($a2) ## 00000000
/* 01FD8 80B2C1D8 240F00FF */ addiu $t7, $zero, 0x00FF ## $t7 = 000000FF
/* 01FDC 80B2C1DC 3C0EFB00 */ lui $t6, 0xFB00 ## $t6 = FB000000
/* 01FE0 80B2C1E0 01475821 */ addu $t3, $t2, $a3
/* 01FE4 80B2C1E4 01696021 */ addu $t4, $t3, $t1
/* 01FE8 80B2C1E8 AC4C0004 */ sw $t4, 0x0004($v0) ## 00000004
/* 01FEC 80B2C1EC 8C6202C0 */ lw $v0, 0x02C0($v1) ## 000002C0
/* 01FF0 80B2C1F0 3C0A8011 */ lui $t2, %hi(D_80116280+0x10)
/* 01FF4 80B2C1F4 3C19DB06 */ lui $t9, 0xDB06 ## $t9 = DB060000
/* 01FF8 80B2C1F8 244D0008 */ addiu $t5, $v0, 0x0008 ## $t5 = 00000008
/* 01FFC 80B2C1FC AC6D02C0 */ sw $t5, 0x02C0($v1) ## 000002C0
/* 02000 80B2C200 AC4F0004 */ sw $t7, 0x0004($v0) ## 00000004
/* 02004 80B2C204 AC4E0000 */ sw $t6, 0x0000($v0) ## 00000000
/* 02008 80B2C208 8C6202C0 */ lw $v0, 0x02C0($v1) ## 000002C0
/* 0200C 80B2C20C 37390030 */ ori $t9, $t9, 0x0030 ## $t9 = DB060030
/* 02010 80B2C210 254A6290 */ addiu $t2, %lo(D_80116280+0x10)
/* 02014 80B2C214 24580008 */ addiu $t8, $v0, 0x0008 ## $t8 = 00000008
/* 02018 80B2C218 AC7802C0 */ sw $t8, 0x02C0($v1) ## 000002C0
/* 0201C 80B2C21C AC4A0004 */ sw $t2, 0x0004($v0) ## 00000004
/* 02020 80B2C220 AC590000 */ sw $t9, 0x0000($v0) ## 00000000
/* 02024 80B2C224 3C0B80B3 */ lui $t3, %hi(func_80B2C10C) ## $t3 = 80B30000
/* 02028 80B2C228 9107019A */ lbu $a3, 0x019A($t0) ## 0000019A
/* 0202C 80B2C22C 8D0601B8 */ lw $a2, 0x01B8($t0) ## 000001B8
/* 02030 80B2C230 8D05019C */ lw $a1, 0x019C($t0) ## 0000019C
/* 02034 80B2C234 256BC10C */ addiu $t3, $t3, %lo(func_80B2C10C) ## $t3 = 80B2C10C
/* 02038 80B2C238 AFAB0010 */ sw $t3, 0x0010($sp)
/* 0203C 80B2C23C AFA00014 */ sw $zero, 0x0014($sp)
/* 02040 80B2C240 8FA4005C */ lw $a0, 0x005C($sp)
/* 02044 80B2C244 0C0286B2 */ jal SkelAnime_DrawFlexOpa
/* 02048 80B2C248 AFA80018 */ sw $t0, 0x0018($sp)
/* 0204C 80B2C24C 8FAC005C */ lw $t4, 0x005C($sp)
/* 02050 80B2C250 3C0680B3 */ lui $a2, %hi(D_80B2D10C) ## $a2 = 80B30000
/* 02054 80B2C254 24C6D10C */ addiu $a2, $a2, %lo(D_80B2D10C) ## $a2 = 80B2D10C
/* 02058 80B2C258 27A40044 */ addiu $a0, $sp, 0x0044 ## $a0 = FFFFFFEC
/* 0205C 80B2C25C 240706CC */ addiu $a3, $zero, 0x06CC ## $a3 = 000006CC
/* 02060 80B2C260 0C031AD5 */ jal Graph_CloseDisps
/* 02064 80B2C264 8D850000 */ lw $a1, 0x0000($t4) ## 00000000
/* 02068 80B2C268 8FBF0024 */ lw $ra, 0x0024($sp)
/* 0206C 80B2C26C 27BD0058 */ addiu $sp, $sp, 0x0058 ## $sp = 00000000
/* 02070 80B2C270 03E00008 */ jr $ra
/* 02074 80B2C274 00000000 */ nop

View File

@ -1,258 +0,0 @@
glabel func_80B2C398
/* 02198 80B2C398 27BDFFB0 */ addiu $sp, $sp, 0xFFB0 ## $sp = FFFFFFB0
/* 0219C 80B2C39C AFBF0024 */ sw $ra, 0x0024($sp)
/* 021A0 80B2C3A0 AFB10020 */ sw $s1, 0x0020($sp)
/* 021A4 80B2C3A4 AFB0001C */ sw $s0, 0x001C($sp)
/* 021A8 80B2C3A8 8483001C */ lh $v1, 0x001C($a0) ## 0000001C
/* 021AC 80B2C3AC 00A08025 */ or $s0, $a1, $zero ## $s0 = 00000000
/* 021B0 80B2C3B0 00808825 */ or $s1, $a0, $zero ## $s1 = 00000000
/* 021B4 80B2C3B4 00031A03 */ sra $v1, $v1, 8
/* 021B8 80B2C3B8 00031C00 */ sll $v1, $v1, 16
/* 021BC 80B2C3BC 00031C03 */ sra $v1, $v1, 16
/* 021C0 80B2C3C0 28610003 */ slti $at, $v1, 0x0003
/* 021C4 80B2C3C4 5020005E */ beql $at, $zero, .L80B2C540
/* 021C8 80B2C3C8 920B1D6C */ lbu $t3, 0x1D6C($s0) ## 00001D6C
/* 021CC 80B2C3CC 90AE1D6C */ lbu $t6, 0x1D6C($a1) ## 00001D6C
/* 021D0 80B2C3D0 51C000E1 */ beql $t6, $zero, .L80B2C758
/* 021D4 80B2C3D4 8FBF0024 */ lw $ra, 0x0024($sp)
/* 021D8 80B2C3D8 8CA21D8C */ lw $v0, 0x1D8C($a1) ## 00001D8C
/* 021DC 80B2C3DC 504000DE */ beql $v0, $zero, .L80B2C758
/* 021E0 80B2C3E0 8FBF0024 */ lw $ra, 0x0024($sp)
/* 021E4 80B2C3E4 94AF1D74 */ lhu $t7, 0x1D74($a1) ## 00001D74
/* 021E8 80B2C3E8 94580004 */ lhu $t8, 0x0004($v0) ## 00000004
/* 021EC 80B2C3EC 01F8082A */ slt $at, $t7, $t8
/* 021F0 80B2C3F0 502000D9 */ beql $at, $zero, .L80B2C758
/* 021F4 80B2C3F4 8FBF0024 */ lw $ra, 0x0024($sp)
/* 021F8 80B2C3F8 54600016 */ bnel $v1, $zero, .L80B2C454
/* 021FC 80B2C3FC 8C4A000C */ lw $t2, 0x000C($v0) ## 0000000C
/* 02200 80B2C400 3C0280B3 */ lui $v0, %hi(D_80B2CEC0) ## $v0 = 80B30000
/* 02204 80B2C404 2442CEC0 */ addiu $v0, $v0, %lo(D_80B2CEC0) ## $v0 = 80B2CEC0
/* 02208 80B2C408 90590000 */ lbu $t9, 0x0000($v0) ## 80B2CEC0
/* 0220C 80B2C40C 3C078013 */ lui $a3, %hi(D_801333E0)
/* 02210 80B2C410 24E733E0 */ addiu $a3, %lo(D_801333E0)
/* 02214 80B2C414 1720000A */ bne $t9, $zero, .L80B2C440
/* 02218 80B2C418 24080001 */ addiu $t0, $zero, 0x0001 ## $t0 = 00000001
/* 0221C 80B2C41C 3C098013 */ lui $t1, %hi(D_801333E8)
/* 02220 80B2C420 252933E8 */ addiu $t1, %lo(D_801333E8)
/* 02224 80B2C424 A0480000 */ sb $t0, 0x0000($v0) ## 80B2CEC0
/* 02228 80B2C428 AFA90014 */ sw $t1, 0x0014($sp)
/* 0222C 80B2C42C 24042805 */ addiu $a0, $zero, 0x2805 ## $a0 = 00002805
/* 02230 80B2C430 262500E4 */ addiu $a1, $s1, 0x00E4 ## $a1 = 000000E4
/* 02234 80B2C434 24060004 */ addiu $a2, $zero, 0x0004 ## $a2 = 00000004
/* 02238 80B2C438 0C03DCE3 */ jal Audio_PlaySoundGeneral
/* 0223C 80B2C43C AFA70010 */ sw $a3, 0x0010($sp)
.L80B2C440:
/* 02240 80B2C440 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
/* 02244 80B2C444 0C00BE0A */ jal Audio_PlayActorSound2
/* 02248 80B2C448 24052078 */ addiu $a1, $zero, 0x2078 ## $a1 = 00002078
/* 0224C 80B2C44C 8E021D8C */ lw $v0, 0x1D8C($s0) ## 00001D8C
/* 02250 80B2C450 8C4A000C */ lw $t2, 0x000C($v0) ## 0000000C
.L80B2C454:
/* 02254 80B2C454 448A2000 */ mtc1 $t2, $f4 ## $f4 = 0.00
/* 02258 80B2C458 00000000 */ nop
/* 0225C 80B2C45C 468021A0 */ cvt.s.w $f6, $f4
/* 02260 80B2C460 E7A60044 */ swc1 $f6, 0x0044($sp)
/* 02264 80B2C464 8E0B1D8C */ lw $t3, 0x1D8C($s0) ## 00001D8C
/* 02268 80B2C468 8D6C0010 */ lw $t4, 0x0010($t3) ## 00000010
/* 0226C 80B2C46C 448C4000 */ mtc1 $t4, $f8 ## $f8 = 0.00
/* 02270 80B2C470 00000000 */ nop
/* 02274 80B2C474 468042A0 */ cvt.s.w $f10, $f8
/* 02278 80B2C478 E7AA0048 */ swc1 $f10, 0x0048($sp)
/* 0227C 80B2C47C 8E0D1D8C */ lw $t5, 0x1D8C($s0) ## 00001D8C
/* 02280 80B2C480 8DAE0014 */ lw $t6, 0x0014($t5) ## 00000014
/* 02284 80B2C484 448E8000 */ mtc1 $t6, $f16 ## $f16 = 0.00
/* 02288 80B2C488 00000000 */ nop
/* 0228C 80B2C48C 468084A0 */ cvt.s.w $f18, $f16
/* 02290 80B2C490 E7B2004C */ swc1 $f18, 0x004C($sp)
/* 02294 80B2C494 8E0F1D8C */ lw $t7, 0x1D8C($s0) ## 00001D8C
/* 02298 80B2C498 8DF80018 */ lw $t8, 0x0018($t7) ## 00000018
/* 0229C 80B2C49C 44982000 */ mtc1 $t8, $f4 ## $f4 = 0.00
/* 022A0 80B2C4A0 00000000 */ nop
/* 022A4 80B2C4A4 468021A0 */ cvt.s.w $f6, $f4
/* 022A8 80B2C4A8 E7A60038 */ swc1 $f6, 0x0038($sp)
/* 022AC 80B2C4AC 8E191D8C */ lw $t9, 0x1D8C($s0) ## 00001D8C
/* 022B0 80B2C4B0 8F28001C */ lw $t0, 0x001C($t9) ## 0000001C
/* 022B4 80B2C4B4 44884000 */ mtc1 $t0, $f8 ## $f8 = 0.00
/* 022B8 80B2C4B8 00000000 */ nop
/* 022BC 80B2C4BC 468042A0 */ cvt.s.w $f10, $f8
/* 022C0 80B2C4C0 E7AA003C */ swc1 $f10, 0x003C($sp)
/* 022C4 80B2C4C4 8E091D8C */ lw $t1, 0x1D8C($s0) ## 00001D8C
/* 022C8 80B2C4C8 8D2A0020 */ lw $t2, 0x0020($t1) ## 00000020
/* 022CC 80B2C4CC 448A8000 */ mtc1 $t2, $f16 ## $f16 = 0.00
/* 022D0 80B2C4D0 00000000 */ nop
/* 022D4 80B2C4D4 468084A0 */ cvt.s.w $f18, $f16
/* 022D8 80B2C4D8 E7B20040 */ swc1 $f18, 0x0040($sp)
/* 022DC 80B2C4DC 8E021D8C */ lw $v0, 0x1D8C($s0) ## 00001D8C
/* 022E0 80B2C4E0 96061D74 */ lhu $a2, 0x1D74($s0) ## 00001D74
/* 022E4 80B2C4E4 94440004 */ lhu $a0, 0x0004($v0) ## 00000004
/* 022E8 80B2C4E8 0C01BE4F */ jal func_8006F93C
/* 022EC 80B2C4EC 94450002 */ lhu $a1, 0x0002($v0) ## 00000002
/* 022F0 80B2C4F0 C7A40038 */ lwc1 $f4, 0x0038($sp)
/* 022F4 80B2C4F4 C7A60044 */ lwc1 $f6, 0x0044($sp)
/* 022F8 80B2C4F8 46062201 */ sub.s $f8, $f4, $f6
/* 022FC 80B2C4FC 46004282 */ mul.s $f10, $f8, $f0
/* 02300 80B2C500 46065400 */ add.s $f16, $f10, $f6
/* 02304 80B2C504 E6300024 */ swc1 $f16, 0x0024($s1) ## 00000024
/* 02308 80B2C508 C7A40048 */ lwc1 $f4, 0x0048($sp)
/* 0230C 80B2C50C C7B2003C */ lwc1 $f18, 0x003C($sp)
/* 02310 80B2C510 46049201 */ sub.s $f8, $f18, $f4
/* 02314 80B2C514 46004282 */ mul.s $f10, $f8, $f0
/* 02318 80B2C518 46045180 */ add.s $f6, $f10, $f4
/* 0231C 80B2C51C E6260028 */ swc1 $f6, 0x0028($s1) ## 00000028
/* 02320 80B2C520 C7B2004C */ lwc1 $f18, 0x004C($sp)
/* 02324 80B2C524 C7B00040 */ lwc1 $f16, 0x0040($sp)
/* 02328 80B2C528 46128201 */ sub.s $f8, $f16, $f18
/* 0232C 80B2C52C 46004282 */ mul.s $f10, $f8, $f0
/* 02330 80B2C530 46125100 */ add.s $f4, $f10, $f18
/* 02334 80B2C534 10000087 */ beq $zero, $zero, .L80B2C754
/* 02338 80B2C538 E624002C */ swc1 $f4, 0x002C($s1) ## 0000002C
/* 0233C 80B2C53C 920B1D6C */ lbu $t3, 0x1D6C($s0) ## 00001D6C
.L80B2C540:
/* 02340 80B2C540 51600075 */ beql $t3, $zero, .L80B2C718
/* 02344 80B2C544 24010005 */ addiu $at, $zero, 0x0005 ## $at = 00000005
/* 02348 80B2C548 8E021D90 */ lw $v0, 0x1D90($s0) ## 00001D90
/* 0234C 80B2C54C 50400072 */ beql $v0, $zero, .L80B2C718
/* 02350 80B2C550 24010005 */ addiu $at, $zero, 0x0005 ## $at = 00000005
/* 02354 80B2C554 960C1D74 */ lhu $t4, 0x1D74($s0) ## 00001D74
/* 02358 80B2C558 944D0004 */ lhu $t5, 0x0004($v0) ## 00000004
/* 0235C 80B2C55C 018D082A */ slt $at, $t4, $t5
/* 02360 80B2C560 5020006D */ beql $at, $zero, .L80B2C718
/* 02364 80B2C564 24010005 */ addiu $at, $zero, 0x0005 ## $at = 00000005
/* 02368 80B2C568 8C4E000C */ lw $t6, 0x000C($v0) ## 0000000C
/* 0236C 80B2C56C 448E3000 */ mtc1 $t6, $f6 ## $f6 = 0.00
/* 02370 80B2C570 00000000 */ nop
/* 02374 80B2C574 46803420 */ cvt.s.w $f16, $f6
/* 02378 80B2C578 E7B00044 */ swc1 $f16, 0x0044($sp)
/* 0237C 80B2C57C 8E0F1D90 */ lw $t7, 0x1D90($s0) ## 00001D90
/* 02380 80B2C580 8DF80010 */ lw $t8, 0x0010($t7) ## 00000010
/* 02384 80B2C584 44984000 */ mtc1 $t8, $f8 ## $f8 = 0.00
/* 02388 80B2C588 00000000 */ nop
/* 0238C 80B2C58C 468042A0 */ cvt.s.w $f10, $f8
/* 02390 80B2C590 E7AA0048 */ swc1 $f10, 0x0048($sp)
/* 02394 80B2C594 8E191D90 */ lw $t9, 0x1D90($s0) ## 00001D90
/* 02398 80B2C598 8F280014 */ lw $t0, 0x0014($t9) ## 00000014
/* 0239C 80B2C59C 44889000 */ mtc1 $t0, $f18 ## $f18 = 0.00
/* 023A0 80B2C5A0 00000000 */ nop
/* 023A4 80B2C5A4 46809120 */ cvt.s.w $f4, $f18
/* 023A8 80B2C5A8 E7A4004C */ swc1 $f4, 0x004C($sp)
/* 023AC 80B2C5AC 8E091D90 */ lw $t1, 0x1D90($s0) ## 00001D90
/* 023B0 80B2C5B0 8D2A0018 */ lw $t2, 0x0018($t1) ## 00000018
/* 023B4 80B2C5B4 448A3000 */ mtc1 $t2, $f6 ## $f6 = 0.00
/* 023B8 80B2C5B8 00000000 */ nop
/* 023BC 80B2C5BC 46803420 */ cvt.s.w $f16, $f6
/* 023C0 80B2C5C0 E7B00038 */ swc1 $f16, 0x0038($sp)
/* 023C4 80B2C5C4 8E0B1D90 */ lw $t3, 0x1D90($s0) ## 00001D90
/* 023C8 80B2C5C8 8D6C001C */ lw $t4, 0x001C($t3) ## 0000001C
/* 023CC 80B2C5CC 448C4000 */ mtc1 $t4, $f8 ## $f8 = 0.00
/* 023D0 80B2C5D0 00000000 */ nop
/* 023D4 80B2C5D4 468042A0 */ cvt.s.w $f10, $f8
/* 023D8 80B2C5D8 E7AA003C */ swc1 $f10, 0x003C($sp)
/* 023DC 80B2C5DC 8E0D1D90 */ lw $t5, 0x1D90($s0) ## 00001D90
/* 023E0 80B2C5E0 8DAE0020 */ lw $t6, 0x0020($t5) ## 00000020
/* 023E4 80B2C5E4 448E9000 */ mtc1 $t6, $f18 ## $f18 = 0.00
/* 023E8 80B2C5E8 00000000 */ nop
/* 023EC 80B2C5EC 46809120 */ cvt.s.w $f4, $f18
/* 023F0 80B2C5F0 E7A40040 */ swc1 $f4, 0x0040($sp)
/* 023F4 80B2C5F4 8E021D90 */ lw $v0, 0x1D90($s0) ## 00001D90
/* 023F8 80B2C5F8 96061D74 */ lhu $a2, 0x1D74($s0) ## 00001D74
/* 023FC 80B2C5FC 94440004 */ lhu $a0, 0x0004($v0) ## 00000004
/* 02400 80B2C600 94450002 */ lhu $a1, 0x0002($v0) ## 00000002
/* 02404 80B2C604 0C01BE4F */ jal func_8006F93C
/* 02408 80B2C608 A7A30032 */ sh $v1, 0x0032($sp)
/* 0240C 80B2C60C C7A60038 */ lwc1 $f6, 0x0038($sp)
/* 02410 80B2C610 C7B00044 */ lwc1 $f16, 0x0044($sp)
/* 02414 80B2C614 87A30032 */ lh $v1, 0x0032($sp)
/* 02418 80B2C618 2401000C */ addiu $at, $zero, 0x000C ## $at = 0000000C
/* 0241C 80B2C61C 46103201 */ sub.s $f8, $f6, $f16
/* 02420 80B2C620 27A40044 */ addiu $a0, $sp, 0x0044 ## $a0 = FFFFFFF4
/* 02424 80B2C624 27A50038 */ addiu $a1, $sp, 0x0038 ## $a1 = FFFFFFE8
/* 02428 80B2C628 46004282 */ mul.s $f10, $f8, $f0
/* 0242C 80B2C62C 46105480 */ add.s $f18, $f10, $f16
/* 02430 80B2C630 E6320024 */ swc1 $f18, 0x0024($s1) ## 00000024
/* 02434 80B2C634 C7A60048 */ lwc1 $f6, 0x0048($sp)
/* 02438 80B2C638 C7A4003C */ lwc1 $f4, 0x003C($sp)
/* 0243C 80B2C63C 46062201 */ sub.s $f8, $f4, $f6
/* 02440 80B2C640 46004282 */ mul.s $f10, $f8, $f0
/* 02444 80B2C644 46065400 */ add.s $f16, $f10, $f6
/* 02448 80B2C648 E6300028 */ swc1 $f16, 0x0028($s1) ## 00000028
/* 0244C 80B2C64C C7A4004C */ lwc1 $f4, 0x004C($sp)
/* 02450 80B2C650 C7B20040 */ lwc1 $f18, 0x0040($sp)
/* 02454 80B2C654 46049201 */ sub.s $f8, $f18, $f4
/* 02458 80B2C658 46004282 */ mul.s $f10, $f8, $f0
/* 0245C 80B2C65C 46045180 */ add.s $f6, $f10, $f4
/* 02460 80B2C660 E626002C */ swc1 $f6, 0x002C($s1) ## 0000002C
/* 02464 80B2C664 8E0F1D90 */ lw $t7, 0x1D90($s0) ## 00001D90
/* 02468 80B2C668 95F80000 */ lhu $t8, 0x0000($t7) ## 00000000
/* 0246C 80B2C66C 57010015 */ bnel $t8, $at, .L80B2C6C4
/* 02470 80B2C670 24010009 */ addiu $at, $zero, 0x0009 ## $at = 00000009
/* 02474 80B2C674 0C01E01A */ jal Math_Vec3f_Yaw
/* 02478 80B2C678 A7A30032 */ sh $v1, 0x0032($sp)
/* 0247C 80B2C67C 00022C00 */ sll $a1, $v0, 16
/* 02480 80B2C680 24190001 */ addiu $t9, $zero, 0x0001 ## $t9 = 00000001
/* 02484 80B2C684 A7A20030 */ sh $v0, 0x0030($sp)
/* 02488 80B2C688 AFB90010 */ sw $t9, 0x0010($sp)
/* 0248C 80B2C68C 00052C03 */ sra $a1, $a1, 16
/* 02490 80B2C690 26240032 */ addiu $a0, $s1, 0x0032 ## $a0 = 00000032
/* 02494 80B2C694 2406000A */ addiu $a2, $zero, 0x000A ## $a2 = 0000000A
/* 02498 80B2C698 0C01E1A7 */ jal Math_SmoothStepToS
/* 0249C 80B2C69C 240703E8 */ addiu $a3, $zero, 0x03E8 ## $a3 = 000003E8
/* 024A0 80B2C6A0 24080001 */ addiu $t0, $zero, 0x0001 ## $t0 = 00000001
/* 024A4 80B2C6A4 AFA80010 */ sw $t0, 0x0010($sp)
/* 024A8 80B2C6A8 262400B6 */ addiu $a0, $s1, 0x00B6 ## $a0 = 000000B6
/* 024AC 80B2C6AC 87A50030 */ lh $a1, 0x0030($sp)
/* 024B0 80B2C6B0 2406000A */ addiu $a2, $zero, 0x000A ## $a2 = 0000000A
/* 024B4 80B2C6B4 0C01E1A7 */ jal Math_SmoothStepToS
/* 024B8 80B2C6B8 240703E8 */ addiu $a3, $zero, 0x03E8 ## $a3 = 000003E8
/* 024BC 80B2C6BC 87A30032 */ lh $v1, 0x0032($sp)
/* 024C0 80B2C6C0 24010009 */ addiu $at, $zero, 0x0009 ## $at = 00000009
.L80B2C6C4:
/* 024C4 80B2C6C4 54610014 */ bnel $v1, $at, .L80B2C718
/* 024C8 80B2C6C8 24010005 */ addiu $at, $zero, 0x0005 ## $at = 00000005
/* 024CC 80B2C6CC 8E091D90 */ lw $t1, 0x1D90($s0) ## 00001D90
/* 024D0 80B2C6D0 952A0006 */ lhu $t2, 0x0006($t1) ## 00000006
/* 024D4 80B2C6D4 A62A0030 */ sh $t2, 0x0030($s1) ## 00000030
/* 024D8 80B2C6D8 8E0B1D90 */ lw $t3, 0x1D90($s0) ## 00001D90
/* 024DC 80B2C6DC 956C0008 */ lhu $t4, 0x0008($t3) ## 00000008
/* 024E0 80B2C6E0 A62C0032 */ sh $t4, 0x0032($s1) ## 00000032
/* 024E4 80B2C6E4 8E0D1D90 */ lw $t5, 0x1D90($s0) ## 00001D90
/* 024E8 80B2C6E8 95AE000A */ lhu $t6, 0x000A($t5) ## 0000000A
/* 024EC 80B2C6EC A62E0034 */ sh $t6, 0x0034($s1) ## 00000034
/* 024F0 80B2C6F0 8E0F1D90 */ lw $t7, 0x1D90($s0) ## 00001D90
/* 024F4 80B2C6F4 95F80006 */ lhu $t8, 0x0006($t7) ## 00000006
/* 024F8 80B2C6F8 A63800B4 */ sh $t8, 0x00B4($s1) ## 000000B4
/* 024FC 80B2C6FC 8E191D90 */ lw $t9, 0x1D90($s0) ## 00001D90
/* 02500 80B2C700 97280008 */ lhu $t0, 0x0008($t9) ## 00000008
/* 02504 80B2C704 A62800B6 */ sh $t0, 0x00B6($s1) ## 000000B6
/* 02508 80B2C708 8E091D90 */ lw $t1, 0x1D90($s0) ## 00001D90
/* 0250C 80B2C70C 952A000A */ lhu $t2, 0x000A($t1) ## 0000000A
/* 02510 80B2C710 A62A00B8 */ sh $t2, 0x00B8($s1) ## 000000B8
/* 02514 80B2C714 24010005 */ addiu $at, $zero, 0x0005 ## $at = 00000005
.L80B2C718:
/* 02518 80B2C718 1461000E */ bne $v1, $at, .L80B2C754
/* 0251C 80B2C71C 3C078013 */ lui $a3, %hi(D_801333E0)
/* 02520 80B2C720 3C0B8013 */ lui $t3, %hi(D_801333E8)
/* 02524 80B2C724 24E733E0 */ addiu $a3, %lo(D_801333E0)
/* 02528 80B2C728 256B33E8 */ addiu $t3, %lo(D_801333E8)
/* 0252C 80B2C72C 3C058013 */ lui $a1, %hi(D_801333D4)
/* 02530 80B2C730 24A533D4 */ addiu $a1, %lo(D_801333D4)
/* 02534 80B2C734 AFAB0014 */ sw $t3, 0x0014($sp)
/* 02538 80B2C738 AFA70010 */ sw $a3, 0x0010($sp)
/* 0253C 80B2C73C 240420B3 */ addiu $a0, $zero, 0x20B3 ## $a0 = 000020B3
/* 02540 80B2C740 0C03DCE3 */ jal Audio_PlaySoundGeneral
/* 02544 80B2C744 24060004 */ addiu $a2, $zero, 0x0004 ## $a2 = 00000004
/* 02548 80B2C748 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
/* 0254C 80B2C74C 0C2CB22B */ jal func_80B2C8AC
/* 02550 80B2C750 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000
.L80B2C754:
/* 02554 80B2C754 8FBF0024 */ lw $ra, 0x0024($sp)
.L80B2C758:
/* 02558 80B2C758 8FB0001C */ lw $s0, 0x001C($sp)
/* 0255C 80B2C75C 8FB10020 */ lw $s1, 0x0020($sp)
/* 02560 80B2C760 03E00008 */ jr $ra
/* 02564 80B2C764 27BD0050 */ addiu $sp, $sp, 0x0050 ## $sp = 00000000

View File

@ -1,94 +0,0 @@
.late_rodata
glabel D_80B2D1B4
.float 0.001
glabel D_80B2D1B8
.float 0.001
.text
glabel func_80B2C768
/* 02568 80B2C768 27BDFFE0 */ addiu $sp, $sp, 0xFFE0 ## $sp = FFFFFFE0
/* 0256C 80B2C76C AFA60028 */ sw $a2, 0x0028($sp)
/* 02570 80B2C770 00063400 */ sll $a2, $a2, 16
/* 02574 80B2C774 00063403 */ sra $a2, $a2, 16
/* 02578 80B2C778 30CE0001 */ andi $t6, $a2, 0x0001 ## $t6 = 00000000
/* 0257C 80B2C77C AFBF0014 */ sw $ra, 0x0014($sp)
/* 02580 80B2C780 AFA40020 */ sw $a0, 0x0020($sp)
/* 02584 80B2C784 15C00023 */ bne $t6, $zero, .L80B2C814
/* 02588 80B2C788 AFA50024 */ sw $a1, 0x0024($sp)
/* 0258C 80B2C78C 0006C080 */ sll $t8, $a2, 2
/* 02590 80B2C790 3C0142C8 */ lui $at, 0x42C8 ## $at = 42C80000
/* 02594 80B2C794 0306C023 */ subu $t8, $t8, $a2
/* 02598 80B2C798 44810000 */ mtc1 $at, $f0 ## $f0 = 100.00
/* 0259C 80B2C79C 0018C080 */ sll $t8, $t8, 2
/* 025A0 80B2C7A0 3C01C3D2 */ lui $at, 0xC3D2 ## $at = C3D20000
/* 025A4 80B2C7A4 0306C021 */ addu $t8, $t8, $a2
/* 025A8 80B2C7A8 44811000 */ mtc1 $at, $f2 ## $f2 = -420.00
/* 025AC 80B2C7AC 0018C080 */ sll $t8, $t8, 2
/* 025B0 80B2C7B0 00981021 */ addu $v0, $a0, $t8
/* 025B4 80B2C7B4 3C0143C8 */ lui $at, 0x43C8 ## $at = 43C80000
/* 025B8 80B2C7B8 44812000 */ mtc1 $at, $f4 ## $f4 = 400.00
/* 025BC 80B2C7BC 3C01C3C8 */ lui $at, 0xC3C8 ## $at = C3C80000
/* 025C0 80B2C7C0 44813000 */ mtc1 $at, $f6 ## $f6 = -400.00
/* 025C4 80B2C7C4 E44001E8 */ swc1 $f0, 0x01E8($v0) ## 000001E8
/* 025C8 80B2C7C8 E44001F4 */ swc1 $f0, 0x01F4($v0) ## 000001F4
/* 025CC 80B2C7CC E44201EC */ swc1 $f2, 0x01EC($v0) ## 000001EC
/* 025D0 80B2C7D0 E44201F8 */ swc1 $f2, 0x01F8($v0) ## 000001F8
/* 025D4 80B2C7D4 E44401F0 */ swc1 $f4, 0x01F0($v0) ## 000001F0
/* 025D8 80B2C7D8 E44601FC */ swc1 $f6, 0x01FC($v0) ## 000001FC
/* 025DC 80B2C7DC 0C03F66B */ jal Rand_ZeroOne
## Rand.Next() float
/* 025E0 80B2C7E0 AFA20018 */ sw $v0, 0x0018($sp)
/* 025E4 80B2C7E4 3C0140A0 */ lui $at, 0x40A0 ## $at = 40A00000
/* 025E8 80B2C7E8 44814000 */ mtc1 $at, $f8 ## $f8 = 5.00
/* 025EC 80B2C7EC 3C014140 */ lui $at, 0x4140 ## $at = 41400000
/* 025F0 80B2C7F0 44818000 */ mtc1 $at, $f16 ## $f16 = 12.00
/* 025F4 80B2C7F4 46080282 */ mul.s $f10, $f0, $f8
/* 025F8 80B2C7F8 3C0180B3 */ lui $at, %hi(D_80B2D1B4) ## $at = 80B30000
/* 025FC 80B2C7FC C424D1B4 */ lwc1 $f4, %lo(D_80B2D1B4)($at)
/* 02600 80B2C800 8FA20018 */ lw $v0, 0x0018($sp)
/* 02604 80B2C804 46105480 */ add.s $f18, $f10, $f16
/* 02608 80B2C808 46049182 */ mul.s $f6, $f18, $f4
/* 0260C 80B2C80C 10000023 */ beq $zero, $zero, .L80B2C89C
/* 02610 80B2C810 E4460210 */ swc1 $f6, 0x0210($v0) ## 00000210
.L80B2C814:
/* 02614 80B2C814 00064080 */ sll $t0, $a2, 2
/* 02618 80B2C818 3C01C2C8 */ lui $at, 0xC2C8 ## $at = C2C80000
/* 0261C 80B2C81C 01064023 */ subu $t0, $t0, $a2
/* 02620 80B2C820 44810000 */ mtc1 $at, $f0 ## $f0 = -100.00
/* 02624 80B2C824 8FB90020 */ lw $t9, 0x0020($sp)
/* 02628 80B2C828 00084080 */ sll $t0, $t0, 2
/* 0262C 80B2C82C 3C01C3D2 */ lui $at, 0xC3D2 ## $at = C3D20000
/* 02630 80B2C830 01064021 */ addu $t0, $t0, $a2
/* 02634 80B2C834 44811000 */ mtc1 $at, $f2 ## $f2 = -420.00
/* 02638 80B2C838 00084080 */ sll $t0, $t0, 2
/* 0263C 80B2C83C 3C0143C8 */ lui $at, 0x43C8 ## $at = 43C80000
/* 02640 80B2C840 03281021 */ addu $v0, $t9, $t0
/* 02644 80B2C844 44814000 */ mtc1 $at, $f8 ## $f8 = 400.00
/* 02648 80B2C848 3C01C3C8 */ lui $at, 0xC3C8 ## $at = C3C80000
/* 0264C 80B2C84C 44815000 */ mtc1 $at, $f10 ## $f10 = -400.00
/* 02650 80B2C850 E44001E8 */ swc1 $f0, 0x01E8($v0) ## 000001E8
/* 02654 80B2C854 E44001F4 */ swc1 $f0, 0x01F4($v0) ## 000001F4
/* 02658 80B2C858 E44201EC */ swc1 $f2, 0x01EC($v0) ## 000001EC
/* 0265C 80B2C85C E44201F8 */ swc1 $f2, 0x01F8($v0) ## 000001F8
/* 02660 80B2C860 E44801F0 */ swc1 $f8, 0x01F0($v0) ## 000001F0
/* 02664 80B2C864 E44A01FC */ swc1 $f10, 0x01FC($v0) ## 000001FC
/* 02668 80B2C868 0C03F66B */ jal Rand_ZeroOne
## Rand.Next() float
/* 0266C 80B2C86C AFA20018 */ sw $v0, 0x0018($sp)
/* 02670 80B2C870 3C0140A0 */ lui $at, 0x40A0 ## $at = 40A00000
/* 02674 80B2C874 44818000 */ mtc1 $at, $f16 ## $f16 = 5.00
/* 02678 80B2C878 3C014140 */ lui $at, 0x4140 ## $at = 41400000
/* 0267C 80B2C87C 44812000 */ mtc1 $at, $f4 ## $f4 = 12.00
/* 02680 80B2C880 46100482 */ mul.s $f18, $f0, $f16
/* 02684 80B2C884 3C0180B3 */ lui $at, %hi(D_80B2D1B8) ## $at = 80B30000
/* 02688 80B2C888 C428D1B8 */ lwc1 $f8, %lo(D_80B2D1B8)($at)
/* 0268C 80B2C88C 8FA20018 */ lw $v0, 0x0018($sp)
/* 02690 80B2C890 46049180 */ add.s $f6, $f18, $f4
/* 02694 80B2C894 46083282 */ mul.s $f10, $f6, $f8
/* 02698 80B2C898 E44A0210 */ swc1 $f10, 0x0210($v0) ## 00000210
.L80B2C89C:
/* 0269C 80B2C89C 8FBF0014 */ lw $ra, 0x0014($sp)
/* 026A0 80B2C8A0 27BD0020 */ addiu $sp, $sp, 0x0020 ## $sp = 00000000
/* 026A4 80B2C8A4 03E00008 */ jr $ra
/* 026A8 80B2C8A8 00000000 */ nop

View File

@ -1,248 +0,0 @@
.rdata
glabel D_80B2D148
.asciz "../z_en_viewer.c"
.balign 4
glabel D_80B2D15C
.asciz "../z_en_viewer.c"
.balign 4
glabel D_80B2D170
.asciz "../z_en_viewer.c"
.balign 4
.late_rodata
glabel D_80B2D1BC
.float 0.1
glabel D_80B2D1C0
.float 0.01
.text
glabel func_80B2C8AC
/* 026AC 80B2C8AC 27BDFF30 */ addiu $sp, $sp, 0xFF30 ## $sp = FFFFFF30
/* 026B0 80B2C8B0 AFB40068 */ sw $s4, 0x0068($sp)
/* 026B4 80B2C8B4 00A0A025 */ or $s4, $a1, $zero ## $s4 = 00000000
/* 026B8 80B2C8B8 AFBF007C */ sw $ra, 0x007C($sp)
/* 026BC 80B2C8BC AFBE0078 */ sw $s8, 0x0078($sp)
/* 026C0 80B2C8C0 AFB70074 */ sw $s7, 0x0074($sp)
/* 026C4 80B2C8C4 AFB60070 */ sw $s6, 0x0070($sp)
/* 026C8 80B2C8C8 AFB5006C */ sw $s5, 0x006C($sp)
/* 026CC 80B2C8CC AFB30064 */ sw $s3, 0x0064($sp)
/* 026D0 80B2C8D0 AFB20060 */ sw $s2, 0x0060($sp)
/* 026D4 80B2C8D4 AFB1005C */ sw $s1, 0x005C($sp)
/* 026D8 80B2C8D8 AFB00058 */ sw $s0, 0x0058($sp)
/* 026DC 80B2C8DC F7BA0050 */ sdc1 $f26, 0x0050($sp)
/* 026E0 80B2C8E0 F7B80048 */ sdc1 $f24, 0x0048($sp)
/* 026E4 80B2C8E4 F7B60040 */ sdc1 $f22, 0x0040($sp)
/* 026E8 80B2C8E8 F7B40038 */ sdc1 $f20, 0x0038($sp)
/* 026EC 80B2C8EC 8CA50000 */ lw $a1, 0x0000($a1) ## 00000000
/* 026F0 80B2C8F0 00809025 */ or $s2, $a0, $zero ## $s2 = 00000000
/* 026F4 80B2C8F4 3C0680B3 */ lui $a2, %hi(D_80B2D148) ## $a2 = 80B30000
/* 026F8 80B2C8F8 24C6D148 */ addiu $a2, $a2, %lo(D_80B2D148) ## $a2 = 80B2D148
/* 026FC 80B2C8FC 27A400B4 */ addiu $a0, $sp, 0x00B4 ## $a0 = FFFFFFE4
/* 02700 80B2C900 24070795 */ addiu $a3, $zero, 0x0795 ## $a3 = 00000795
/* 02704 80B2C904 0C031AB1 */ jal Graph_OpenDisps
/* 02708 80B2C908 00A08825 */ or $s1, $a1, $zero ## $s1 = 00000000
/* 0270C 80B2C90C 3C0180B3 */ lui $at, %hi(D_80B2D1BC) ## $at = 80B30000
/* 02710 80B2C910 C43AD1BC */ lwc1 $f26, %lo(D_80B2D1BC)($at)
/* 02714 80B2C914 3C0180B3 */ lui $at, %hi(D_80B2D1C0) ## $at = 80B30000
/* 02718 80B2C918 C436D1C0 */ lwc1 $f22, %lo(D_80B2D1C0)($at)
/* 0271C 80B2C91C 3C013F80 */ lui $at, 0x3F80 ## $at = 3F800000
/* 02720 80B2C920 3C150100 */ lui $s5, %hi(D_01000000) ## $s5 = 01000000
/* 02724 80B2C924 3C160405 */ lui $s6, %hi(D_0404D4E0) ## $s6 = 04050000
/* 02728 80B2C928 4481A000 */ mtc1 $at, $f20 ## $f20 = 1.00
/* 0272C 80B2C92C 4480C000 */ mtc1 $zero, $f24 ## $f24 = 0.00
/* 02730 80B2C930 26D6D4E0 */ addiu $s6, $s6, %lo(D_0404D4E0) ## $s6 = 0404D4E0
/* 02734 80B2C934 26B50000 */ addiu $s5, $s5, %lo(D_01000000) ## $s5 = 01000000
/* 02738 80B2C938 00009825 */ or $s3, $zero, $zero ## $s3 = 00000000
/* 0273C 80B2C93C 241E0001 */ addiu $s8, $zero, 0x0001 ## $s8 = 00000001
/* 02740 80B2C940 24170034 */ addiu $s7, $zero, 0x0034 ## $s7 = 00000034
.L80B2C944:
/* 02744 80B2C944 02770019 */ multu $s3, $s7
/* 02748 80B2C948 02402025 */ or $a0, $s2, $zero ## $a0 = 00000000
/* 0274C 80B2C94C 02802825 */ or $a1, $s4, $zero ## $a1 = 00000000
/* 02750 80B2C950 00133400 */ sll $a2, $s3, 16
/* 02754 80B2C954 00007012 */ mflo $t6
/* 02758 80B2C958 024E8021 */ addu $s0, $s2, $t6
/* 0275C 80B2C95C 92020218 */ lbu $v0, 0x0218($s0) ## 00000218
/* 02760 80B2C960 10400008 */ beq $v0, $zero, .L80B2C984
/* 02764 80B2C964 00000000 */ nop
/* 02768 80B2C968 105E0012 */ beq $v0, $s8, .L80B2C9B4
/* 0276C 80B2C96C 26040214 */ addiu $a0, $s0, 0x0214 ## $a0 = 00000214
/* 02770 80B2C970 24010002 */ addiu $at, $zero, 0x0002 ## $at = 00000002
/* 02774 80B2C974 1041002E */ beq $v0, $at, .L80B2CA30
/* 02778 80B2C978 02402025 */ or $a0, $s2, $zero ## $a0 = 00000000
/* 0277C 80B2C97C 10000035 */ beq $zero, $zero, .L80B2CA54
/* 02780 80B2C980 00000000 */ nop
.L80B2C984:
/* 02784 80B2C984 0C2CB1DA */ jal func_80B2C768
/* 02788 80B2C988 00063403 */ sra $a2, $a2, 16
/* 0278C 80B2C98C 00137843 */ sra $t7, $s3, 1
/* 02790 80B2C990 448F2000 */ mtc1 $t7, $f4 ## $f4 = 0.00
/* 02794 80B2C994 92180218 */ lbu $t8, 0x0218($s0) ## 00000218
/* 02798 80B2C998 E616020C */ swc1 $f22, 0x020C($s0) ## 0000020C
/* 0279C 80B2C99C 468021A0 */ cvt.s.w $f6, $f4
/* 027A0 80B2C9A0 27190001 */ addiu $t9, $t8, 0x0001 ## $t9 = 00000001
/* 027A4 80B2C9A4 A2190218 */ sb $t9, 0x0218($s0) ## 00000218
/* 027A8 80B2C9A8 461A3202 */ mul.s $f8, $f6, $f26
/* 027AC 80B2C9AC 10000029 */ beq $zero, $zero, .L80B2CA54
/* 027B0 80B2C9B0 E6080214 */ swc1 $f8, 0x0214($s0) ## 00000214
.L80B2C9B4:
/* 027B4 80B2C9B4 C600020C */ lwc1 $f0, 0x020C($s0) ## 0000020C
/* 027B8 80B2C9B8 4405A000 */ mfc1 $a1, $f20
/* 027BC 80B2C9BC 4406A000 */ mfc1 $a2, $f20
/* 027C0 80B2C9C0 44070000 */ mfc1 $a3, $f0
/* 027C4 80B2C9C4 0C01E0C4 */ jal Math_SmoothStepToF
/* 027C8 80B2C9C8 E7A00010 */ swc1 $f0, 0x0010($sp)
/* 027CC 80B2C9CC C60001E8 */ lwc1 $f0, 0x01E8($s0) ## 000001E8
/* 027D0 80B2C9D0 C60A01F4 */ lwc1 $f10, 0x01F4($s0) ## 000001F4
/* 027D4 80B2C9D4 C60C0214 */ lwc1 $f12, 0x0214($s0) ## 00000214
/* 027D8 80B2C9D8 C60201EC */ lwc1 $f2, 0x01EC($s0) ## 000001EC
/* 027DC 80B2C9DC 46005401 */ sub.s $f16, $f10, $f0
/* 027E0 80B2C9E0 C60601F8 */ lwc1 $f6, 0x01F8($s0) ## 000001F8
/* 027E4 80B2C9E4 460CA03E */ c.le.s $f20, $f12
/* 027E8 80B2C9E8 46106482 */ mul.s $f18, $f12, $f16
/* 027EC 80B2C9EC 46023201 */ sub.s $f8, $f6, $f2
/* 027F0 80B2C9F0 46086282 */ mul.s $f10, $f12, $f8
/* 027F4 80B2C9F4 46009100 */ add.s $f4, $f18, $f0
/* 027F8 80B2C9F8 C60001F0 */ lwc1 $f0, 0x01F0($s0) ## 000001F0
/* 027FC 80B2C9FC C61201FC */ lwc1 $f18, 0x01FC($s0) ## 000001FC
/* 02800 80B2CA00 E6040200 */ swc1 $f4, 0x0200($s0) ## 00000200
/* 02804 80B2CA04 46009101 */ sub.s $f4, $f18, $f0
/* 02808 80B2CA08 46025400 */ add.s $f16, $f10, $f2
/* 0280C 80B2CA0C 46046182 */ mul.s $f6, $f12, $f4
/* 02810 80B2CA10 E6100204 */ swc1 $f16, 0x0204($s0) ## 00000204
/* 02814 80B2CA14 46003200 */ add.s $f8, $f6, $f0
/* 02818 80B2CA18 4500000E */ bc1f .L80B2CA54
/* 0281C 80B2CA1C E6080208 */ swc1 $f8, 0x0208($s0) ## 00000208
/* 02820 80B2CA20 92080218 */ lbu $t0, 0x0218($s0) ## 00000218
/* 02824 80B2CA24 25090001 */ addiu $t1, $t0, 0x0001 ## $t1 = 00000001
/* 02828 80B2CA28 1000000A */ beq $zero, $zero, .L80B2CA54
/* 0282C 80B2CA2C A2090218 */ sb $t1, 0x0218($s0) ## 00000218
.L80B2CA30:
/* 02830 80B2CA30 00133400 */ sll $a2, $s3, 16
/* 02834 80B2CA34 00063403 */ sra $a2, $a2, 16
/* 02838 80B2CA38 0C2CB1DA */ jal func_80B2C768
/* 0283C 80B2CA3C 02802825 */ or $a1, $s4, $zero ## $a1 = 00000000
/* 02840 80B2CA40 920A0218 */ lbu $t2, 0x0218($s0) ## 00000218
/* 02844 80B2CA44 E6180214 */ swc1 $f24, 0x0214($s0) ## 00000214
/* 02848 80B2CA48 E616020C */ swc1 $f22, 0x020C($s0) ## 0000020C
/* 0284C 80B2CA4C 254BFFFF */ addiu $t3, $t2, 0xFFFF ## $t3 = FFFFFFFF
/* 02850 80B2CA50 A20B0218 */ sb $t3, 0x0218($s0) ## 00000218
.L80B2CA54:
/* 02854 80B2CA54 0C024F61 */ jal func_80093D84
/* 02858 80B2CA58 8E840000 */ lw $a0, 0x0000($s4) ## 00000000
/* 0285C 80B2CA5C C60C0200 */ lwc1 $f12, 0x0200($s0) ## 00000200
/* 02860 80B2CA60 C60E0204 */ lwc1 $f14, 0x0204($s0) ## 00000204
/* 02864 80B2CA64 8E060208 */ lw $a2, 0x0208($s0) ## 00000208
/* 02868 80B2CA68 0C034261 */ jal Matrix_Translate
/* 0286C 80B2CA6C 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 02870 80B2CA70 C60C0210 */ lwc1 $f12, 0x0210($s0) ## 00000210
/* 02874 80B2CA74 24070001 */ addiu $a3, $zero, 0x0001 ## $a3 = 00000001
/* 02878 80B2CA78 44066000 */ mfc1 $a2, $f12
/* 0287C 80B2CA7C 0C0342A3 */ jal Matrix_Scale
/* 02880 80B2CA80 46006386 */ mov.s $f14, $f12
/* 02884 80B2CA84 8E2202D0 */ lw $v0, 0x02D0($s1) ## 000002D0
/* 02888 80B2CA88 3C0DDB06 */ lui $t5, 0xDB06 ## $t5 = DB060000
/* 0288C 80B2CA8C 35AD0020 */ ori $t5, $t5, 0x0020 ## $t5 = DB060020
/* 02890 80B2CA90 244C0008 */ addiu $t4, $v0, 0x0008 ## $t4 = 00000008
/* 02894 80B2CA94 AE2C02D0 */ sw $t4, 0x02D0($s1) ## 000002D0
/* 02898 80B2CA98 AC4D0000 */ sw $t5, 0x0000($v0) ## 00000000
/* 0289C 80B2CA9C 8E840000 */ lw $a0, 0x0000($s4) ## 00000000
/* 028A0 80B2CAA0 240E0020 */ addiu $t6, $zero, 0x0020 ## $t6 = 00000020
/* 028A4 80B2CAA4 240F0040 */ addiu $t7, $zero, 0x0040 ## $t7 = 00000040
/* 028A8 80B2CAA8 AFAF0014 */ sw $t7, 0x0014($sp)
/* 028AC 80B2CAAC AFAE0010 */ sw $t6, 0x0010($sp)
/* 028B0 80B2CAB0 AFA0001C */ sw $zero, 0x001C($sp)
/* 028B4 80B2CAB4 AFBE0018 */ sw $s8, 0x0018($sp)
/* 028B8 80B2CAB8 8E99009C */ lw $t9, 0x009C($s4) ## 0000009C
/* 028BC 80B2CABC 0013C080 */ sll $t8, $s3, 2
/* 028C0 80B2CAC0 0313C021 */ addu $t8, $t8, $s3
/* 028C4 80B2CAC4 00194080 */ sll $t0, $t9, 2
/* 028C8 80B2CAC8 01194021 */ addu $t0, $t0, $t9
/* 028CC 80B2CACC 00084080 */ sll $t0, $t0, 2
/* 028D0 80B2CAD0 0018C040 */ sll $t8, $t8, 1
/* 028D4 80B2CAD4 03084823 */ subu $t1, $t8, $t0
/* 028D8 80B2CAD8 312A01FF */ andi $t2, $t1, 0x01FF ## $t2 = 00000000
/* 028DC 80B2CADC 240C0080 */ addiu $t4, $zero, 0x0080 ## $t4 = 00000080
/* 028E0 80B2CAE0 240B0020 */ addiu $t3, $zero, 0x0020 ## $t3 = 00000020
/* 028E4 80B2CAE4 AFAB0024 */ sw $t3, 0x0024($sp)
/* 028E8 80B2CAE8 AFAC0028 */ sw $t4, 0x0028($sp)
/* 028EC 80B2CAEC AFAA0020 */ sw $t2, 0x0020($sp)
/* 028F0 80B2CAF0 00002825 */ or $a1, $zero, $zero ## $a1 = 00000000
/* 028F4 80B2CAF4 00003025 */ or $a2, $zero, $zero ## $a2 = 00000000
/* 028F8 80B2CAF8 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 028FC 80B2CAFC 0C0253D0 */ jal Gfx_TwoTexScroll
/* 02900 80B2CB00 00408025 */ or $s0, $v0, $zero ## $s0 = 00000000
/* 02904 80B2CB04 AE020004 */ sw $v0, 0x0004($s0) ## 00000004
/* 02908 80B2CB08 8E2202D0 */ lw $v0, 0x02D0($s1) ## 000002D0
/* 0290C 80B2CB0C 3C0EFA00 */ lui $t6, 0xFA00 ## $t6 = FA000000
/* 02910 80B2CB10 35CE8080 */ ori $t6, $t6, 0x8080 ## $t6 = FA008080
/* 02914 80B2CB14 244D0008 */ addiu $t5, $v0, 0x0008 ## $t5 = 00000008
/* 02918 80B2CB18 AE2D02D0 */ sw $t5, 0x02D0($s1) ## 000002D0
/* 0291C 80B2CB1C 240FAAFF */ addiu $t7, $zero, 0xAAFF ## $t7 = FFFFAAFF
/* 02920 80B2CB20 AC4F0004 */ sw $t7, 0x0004($v0) ## 00000004
/* 02924 80B2CB24 AC4E0000 */ sw $t6, 0x0000($v0) ## 00000000
/* 02928 80B2CB28 8E2202D0 */ lw $v0, 0x02D0($s1) ## 000002D0
/* 0292C 80B2CB2C 3C08FF32 */ lui $t0, 0xFF32 ## $t0 = FF320000
/* 02930 80B2CB30 350800FF */ ori $t0, $t0, 0x00FF ## $t0 = FF3200FF
/* 02934 80B2CB34 24590008 */ addiu $t9, $v0, 0x0008 ## $t9 = 00000008
/* 02938 80B2CB38 AE3902D0 */ sw $t9, 0x02D0($s1) ## 000002D0
/* 0293C 80B2CB3C 3C18FB00 */ lui $t8, 0xFB00 ## $t8 = FB000000
/* 02940 80B2CB40 AC580000 */ sw $t8, 0x0000($v0) ## 00000000
/* 02944 80B2CB44 AC480004 */ sw $t0, 0x0004($v0) ## 00000004
/* 02948 80B2CB48 8E2202D0 */ lw $v0, 0x02D0($s1) ## 000002D0
/* 0294C 80B2CB4C 3C0ADA38 */ lui $t2, 0xDA38 ## $t2 = DA380000
/* 02950 80B2CB50 354A0003 */ ori $t2, $t2, 0x0003 ## $t2 = DA380003
/* 02954 80B2CB54 24490008 */ addiu $t1, $v0, 0x0008 ## $t1 = 00000008
/* 02958 80B2CB58 AE2902D0 */ sw $t1, 0x02D0($s1) ## 000002D0
/* 0295C 80B2CB5C 3C0580B3 */ lui $a1, %hi(D_80B2D15C) ## $a1 = 80B30000
/* 02960 80B2CB60 AC4A0000 */ sw $t2, 0x0000($v0) ## 00000000
/* 02964 80B2CB64 8E840000 */ lw $a0, 0x0000($s4) ## 00000000
/* 02968 80B2CB68 24A5D15C */ addiu $a1, $a1, %lo(D_80B2D15C) ## $a1 = 80B2D15C
/* 0296C 80B2CB6C 240607EB */ addiu $a2, $zero, 0x07EB ## $a2 = 000007EB
/* 02970 80B2CB70 0C0346A2 */ jal Matrix_NewMtx
/* 02974 80B2CB74 00408025 */ or $s0, $v0, $zero ## $s0 = 00000000
/* 02978 80B2CB78 AE020004 */ sw $v0, 0x0004($s0) ## 00000004
/* 0297C 80B2CB7C 8E2202D0 */ lw $v0, 0x02D0($s1) ## 000002D0
/* 02980 80B2CB80 3C0CDA38 */ lui $t4, 0xDA38 ## $t4 = DA380000
/* 02984 80B2CB84 358C0001 */ ori $t4, $t4, 0x0001 ## $t4 = DA380001
/* 02988 80B2CB88 244B0008 */ addiu $t3, $v0, 0x0008 ## $t3 = 00000008
/* 0298C 80B2CB8C AE2B02D0 */ sw $t3, 0x02D0($s1) ## 000002D0
/* 02990 80B2CB90 AC550004 */ sw $s5, 0x0004($v0) ## 00000004
/* 02994 80B2CB94 AC4C0000 */ sw $t4, 0x0000($v0) ## 00000000
/* 02998 80B2CB98 8E2202D0 */ lw $v0, 0x02D0($s1) ## 000002D0
/* 0299C 80B2CB9C 26730001 */ addiu $s3, $s3, 0x0001 ## $s3 = 00000001
/* 029A0 80B2CBA0 00139C00 */ sll $s3, $s3, 16
/* 029A4 80B2CBA4 00139C03 */ sra $s3, $s3, 16
/* 029A8 80B2CBA8 244D0008 */ addiu $t5, $v0, 0x0008 ## $t5 = 00000008
/* 029AC 80B2CBAC 2A610014 */ slti $at, $s3, 0x0014
/* 029B0 80B2CBB0 AE2D02D0 */ sw $t5, 0x02D0($s1) ## 000002D0
/* 029B4 80B2CBB4 3C0EDE00 */ lui $t6, 0xDE00 ## $t6 = DE000000
/* 029B8 80B2CBB8 AC4E0000 */ sw $t6, 0x0000($v0) ## 00000000
/* 029BC 80B2CBBC 1420FF61 */ bne $at, $zero, .L80B2C944
/* 029C0 80B2CBC0 AC560004 */ sw $s6, 0x0004($v0) ## 00000004
/* 029C4 80B2CBC4 3C0680B3 */ lui $a2, %hi(D_80B2D170) ## $a2 = 80B30000
/* 029C8 80B2CBC8 24C6D170 */ addiu $a2, $a2, %lo(D_80B2D170) ## $a2 = 80B2D170
/* 029CC 80B2CBCC 27A400B4 */ addiu $a0, $sp, 0x00B4 ## $a0 = FFFFFFE4
/* 029D0 80B2CBD0 8E850000 */ lw $a1, 0x0000($s4) ## 00000000
/* 029D4 80B2CBD4 0C031AD5 */ jal Graph_CloseDisps
/* 029D8 80B2CBD8 240707F2 */ addiu $a3, $zero, 0x07F2 ## $a3 = 000007F2
/* 029DC 80B2CBDC 8FBF007C */ lw $ra, 0x007C($sp)
/* 029E0 80B2CBE0 D7B40038 */ ldc1 $f20, 0x0038($sp)
/* 029E4 80B2CBE4 D7B60040 */ ldc1 $f22, 0x0040($sp)
/* 029E8 80B2CBE8 D7B80048 */ ldc1 $f24, 0x0048($sp)
/* 029EC 80B2CBEC D7BA0050 */ ldc1 $f26, 0x0050($sp)
/* 029F0 80B2CBF0 8FB00058 */ lw $s0, 0x0058($sp)
/* 029F4 80B2CBF4 8FB1005C */ lw $s1, 0x005C($sp)
/* 029F8 80B2CBF8 8FB20060 */ lw $s2, 0x0060($sp)
/* 029FC 80B2CBFC 8FB30064 */ lw $s3, 0x0064($sp)
/* 02A00 80B2CC00 8FB40068 */ lw $s4, 0x0068($sp)
/* 02A04 80B2CC04 8FB5006C */ lw $s5, 0x006C($sp)
/* 02A08 80B2CC08 8FB60070 */ lw $s6, 0x0070($sp)
/* 02A0C 80B2CC0C 8FB70074 */ lw $s7, 0x0074($sp)
/* 02A10 80B2CC10 8FBE0078 */ lw $s8, 0x0078($sp)
/* 02A14 80B2CC14 03E00008 */ jr $ra
/* 02A18 80B2CC18 27BD00D0 */ addiu $sp, $sp, 0x00D0 ## $sp = 00000000

View File

@ -21,8 +21,8 @@ glabel func_80B2CC1C
/* 02A4C 80B2CC4C 3C014120 */ lui $at, 0x4120 ## $at = 41200000
/* 02A50 80B2CC50 44811000 */ mtc1 $at, $f2 ## $f2 = 10.00
/* 02A54 80B2CC54 87191340 */ lh $t9, 0x1340($t8) ## 00001340
/* 02A58 80B2CC58 3C1080B3 */ lui $s0, %hi(D_80B2D440) ## $s0 = 80B30000
/* 02A5C 80B2CC5C 2610D440 */ addiu $s0, $s0, %lo(D_80B2D440) ## $s0 = 80B2D440
/* 02A58 80B2CC58 3C1080B3 */ lui $s0, %hi(sGanonCape) ## $s0 = 80B30000
/* 02A5C 80B2CC5C 2610D440 */ addiu $s0, $s0, %lo(sGanonCape) ## $s0 = 80B2D440
/* 02A60 80B2CC60 44992000 */ mtc1 $t9, $f4 ## $f4 = 0.00
/* 02A64 80B2CC64 8E080000 */ lw $t0, 0x0000($s0) ## 80B2D440
/* 02A68 80B2CC68 3C0142C8 */ lui $at, 0x42C8 ## $at = 42C80000

View File

@ -1,16 +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 .bss
.balign 16
glabel D_80B2D440
.space 0x08
glabel D_80B2D448
.space 0x18

View File

@ -1,42 +0,0 @@
.include "macro.inc"
# assembler directives
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
.set gp=64 # allow use of 64-bit general purpose registers
.section .data
.balign 16
glabel D_80B2CEC0
.word 0x00000000
glabel En_Viewer_InitVars
.word 0x002A0700, 0x00000010, 0x00010000, 0x000005F8
.word EnViewer_Init
.word EnViewer_Destroy
.word EnViewer_Update
.word EnViewer_Draw
glabel D_80B2CEE4
.word 0x30F8012C
glabel D_80B2CEE8
.word 0x00460046, 0x01000214, 0x01000000, 0x06006B2C, 0x06007148, 0x00870047, 0x0100000A, 0x03000000, 0x0600F788, 0x060029CC, 0x01910047, 0x0100000A, 0x02000000, 0x0600E038, 0x06000450, 0x009B009B, 0x01FA000A, 0x00000000, 0x060119E8, 0x06002928, 0x002D002D, 0x01000214, 0x01000000, 0x06008668, 0x06003858, 0x009B009B, 0x01FA000A, 0x00000000, 0x060119E8, 0x060005B4, 0x002D002D, 0x01000214, 0x01000000, 0x06008668, 0x06002650, 0x009B009B, 0x01FA000A, 0x00000000, 0x060119E8, 0x06004260, 0x009B009B, 0x01FA000A, 0x00000000, 0x060119E8, 0x060050A8, 0x00E100E1, 0x01FA000A, 0x00000000, 0x060114E8, 0x06011348
glabel D_80B2CFB0
.word func_80B2A300
.word func_80B2A4D8
.word func_80B2A300
.word func_80B2A448
glabel D_80B2CFC0
.word 0x00000000, ActorShadow_DrawFunc_Circle, ActorShadow_DrawFunc_Squiggly
glabel D_80B2CFCC
.word 0x00000000
glabel D_80B2CFD0
.word 0x00000000, 0x00000000, 0x00000000
glabel D_80B2CFDC
.word func_80B2B4A8
.word func_80B2B8FC
.word func_80B2BA38
.word func_80B2C130
glabel D_80B2CFEC
.word 0x00000000

6
spec
View File

@ -3107,9 +3107,11 @@ endseg
beginseg
name "ovl_En_Viewer"
include "build/src/overlays/actors/ovl_En_Viewer/z_en_viewer.o"
include "build/data/overlays/actors/z_en_viewer.data.o"
include "build/data/overlays/actors/z_en_viewer.bss.o"
#ifdef NON_MATCHING
include "build/src/overlays/actors/ovl_En_Viewer/ovl_En_Viewer_reloc.o"
#else
include "build/data/overlays/actors/z_en_viewer.reloc.o"
#endif
endseg
beginseg

View File

@ -6,9 +6,34 @@
struct EnGanonMant;
typedef struct {
/* 0x000 */ Vec3f unk_00; // 14C
/* 0x00C */ Vec3f unk_0C[12]; // 158
/* 0x090 */ Vec3f unk_90[12]; // 1E8
/* 0x120 */ Vec3f unk_120[12]; // 278
/* 0x1B0 */ u8 unk_1B0[12]; // 308
} MantSub14C; // size = 0x1C8
typedef struct EnGanonMant {
/* 0x0000 */ Actor actor;
/* 0x014C */ char unk_14C[0x15BC];
/* 0x014C */ MantSub14C unk_14C[12];
/* 0x16AC */ f32 unk_16AC;
/* 0x16B0 */ f32 unk_16B0;
/* 0x16B4 */ f32 unk_16B4;
/* 0x16B8 */ f32 unk_16B8;
/* 0x16BC */ f32 unk_16BC;
/* 0x16C0 */ f32 unk_16C0;
/* 0x16C4 */ f32 unk_16C4;
/* 0x16C8 */ f32 unk_16C8;
/* 0x16CC */ char unk_16CC[0x4];
/* 0x16D0 */ f32 unk_16D0;
/* 0x16D4 */ Vec3f unk_16D4;
/* 0x16E0 */ Vec3f unk_16E0;
/* 0x16EC */ Vec3f unk_16EC;
/* 0x16F8 */ Vec3f unk_16F8;
/* 0x1704 */ u8 unk_1704;
/* 0x1705 */ u8 unk_1705;
/* 0x1706 */ u8 unk_1706;
} EnGanonMant; // size = 0x1708
extern const ActorInit En_Ganon_Mant_InitVars;

View File

@ -5,6 +5,7 @@
*/
#include "z_en_viewer.h"
#include "overlays/actors/ovl_En_Ganon_Mant/z_en_ganon_mant.h"
#define FLAGS 0x00000010
@ -15,51 +16,81 @@ void EnViewer_Destroy(Actor* thisx, GlobalContext* globalCtx);
void EnViewer_Update(Actor* thisx, GlobalContext* globalCtx);
void EnViewer_Draw(Actor* thisx, GlobalContext* globalCtx);
extern UNK_TYPE D_01000000;
extern UNK_TYPE D_0404D4E0;
extern UNK_TYPE D_06000450;
extern UNK_TYPE D_060005B4;
extern UNK_TYPE D_060008A0;
extern UNK_TYPE D_06000BC8;
extern UNK_TYPE D_06000F54;
extern UNK_TYPE D_06001410;
extern UNK_TYPE D_060014F4;
extern UNK_TYPE D_06001D28;
extern UNK_TYPE D_06002574;
extern UNK_TYPE D_06002650;
extern UNK_TYPE D_06002928;
extern UNK_TYPE D_060029CC;
void EnViewer_GetCutsceneNextPos(EnViewer* this, GlobalContext* globalCtx);
void func_80B2C8AC(EnViewer* this2, GlobalContext* globalCtx);
void func_80B2CC1C(GlobalContext* globalCtx, EnViewer* this);
void func_80B2A570(EnViewer* this, GlobalContext* globalCtx);
void func_80B2A75C(EnViewer* this, GlobalContext* globalCtx);
// sAnimFuncs
void func_80B2A300(EnViewer* this, GlobalContext* globalCtx, FlexSkeletonHeader* skeletonHeaderSeg,
AnimationHeader* animationSeg);
void func_80B2A448(EnViewer* this, GlobalContext* globalCtx, FlexSkeletonHeader* skeletonHeaderSeg,
AnimationHeader* animationSeg);
void func_80B2A4D8(EnViewer* this, GlobalContext* globalCtx, SkeletonHeader* skeletonHeaderSeg,
AnimationHeader* animationSeg);
// sDrawFuncs
void func_80B2B4A8(EnViewer* this, GlobalContext* globalCtx);
void func_80B2B8FC(EnViewer* this, GlobalContext* globalCtx);
void func_80B2BA38(EnViewer* this, GlobalContext* globalCtx);
void func_80B2C130(EnViewer* this, GlobalContext* globalCtx);
extern Mtx D_01000000;
extern Gfx D_0404D4E0[];
extern AnimationHeader D_06000450;
extern AnimationHeader D_060005B4;
extern AnimationHeader D_060008A0;
extern AnimationHeader D_06000BC8;
extern AnimationHeader D_06000F54;
extern AnimationHeader D_06001410;
extern AnimationHeader D_060014F4;
extern AnimationHeader D_06001D28;
extern AnimationHeader D_06002574;
extern AnimationHeader D_06002650;
extern AnimationHeader D_06002928;
extern AnimationHeader D_060029CC;
extern UNK_TYPE D_06002EF0;
extern UNK_TYPE D_06003284;
extern AnimationHeader D_06003284;
extern UNK_TYPE D_060032F0;
extern UNK_TYPE D_06003428;
extern AnimationHeader D_06003428;
extern UNK_TYPE D_060036F0;
extern UNK_TYPE D_06003858;
extern UNK_TYPE D_06003D84;
extern AnimationHeader D_06003858;
extern AnimationHeader D_06003D84;
extern UNK_TYPE D_06003EF0;
extern UNK_TYPE D_0600420C;
extern AnimationHeader D_0600420C;
extern AnimationHeader D_06004260;
extern UNK_TYPE D_060042F0;
extern UNK_TYPE D_06004534;
extern UNK_TYPE D_060048B0;
extern UNK_TYPE D_060048FC;
extern UNK_TYPE D_06004AA4;
extern AnimationHeader D_06004534;
extern AnimationHeader D_060048B0;
extern AnimationHeader D_060048FC;
extern AnimationHeader D_06004AA4;
extern UNK_TYPE D_06004EF0;
extern UNK_TYPE D_0600504C;
extern UNK_TYPE D_060050A8;
extern AnimationHeader D_0600504C;
extern AnimationHeader D_060050A8;
extern UNK_TYPE D_060052F0;
extern FlexSkeletonHeader D_06006B2C;
extern AnimationHeader D_06007148;
extern UNK_TYPE D_06007210;
extern FlexSkeletonHeader D_06008668;
extern UNK_TYPE D_0600A4E0;
extern UNK_TYPE D_0600BE90;
extern UNK_TYPE D_0600C410;
extern UNK_TYPE D_0600D0D8;
extern UNK_TYPE D_0600DE08;
extern UNK_TYPE D_0600E1A8;
extern Gfx D_0600BE90[];
extern Gfx D_0600C410[];
extern Gfx D_0600D0D8[];
extern Gfx D_0600DE08[];
extern SkeletonHeader D_0600E038;
extern Gfx D_0600E1A8[];
extern UNK_TYPE D_0600F178;
extern UNK_TYPE D_0600F378;
extern UNK_TYPE D_0600F578;
extern UNK_TYPE D_0600F778;
extern FlexSkeletonHeader D_0600F788;
extern AnimationHeader D_06011348;
extern FlexSkeletonHeader D_060114E8;
extern FlexSkeletonHeader D_060119E8;
u8 D_80B2CEC0 = false;
/*
const ActorInit En_Viewer_InitVars = {
ACTOR_EN_VIEWER,
ACTORTYPE_ITEMACTION,
@ -71,51 +102,826 @@ const ActorInit En_Viewer_InitVars = {
(ActorFunc)EnViewer_Update,
(ActorFunc)EnViewer_Draw,
};
*/
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Viewer/func_80B2A200.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Viewer/EnViewer_Init.s")
static InitChainEntry sInitChain[] = {
ICHAIN_F32(uncullZoneScale, 300, ICHAIN_STOP),
};
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Viewer/EnViewer_Destroy.s")
struct_80B2CEE8 D_80B2CEE8[] = {
{ OBJECT_HORSE_ZELDA, OBJECT_HORSE_ZELDA, 1, 0, 2, 20, 1, &D_06006B2C, &D_06007148 },
{ OBJECT_IM, OBJECT_OPENING_DEMO1, 1, 0, 0, 10, 3, &D_0600F788, &D_060029CC },
{ OBJECT_ZL4, OBJECT_OPENING_DEMO1, 1, 0, 0, 10, 2, &D_0600E038, &D_06000450 },
{ OBJECT_GNDD, OBJECT_GNDD, 1, -6, 0, 10, 0, &D_060119E8, &D_06002928 },
{ OBJECT_HORSE_GANON, OBJECT_HORSE_GANON, 1, 0, 2, 20, 1, &D_06008668, &D_06003858 },
{ OBJECT_GNDD, OBJECT_GNDD, 1, -6, 0, 10, 0, &D_060119E8, &D_060005B4 },
{ OBJECT_HORSE_GANON, OBJECT_HORSE_GANON, 1, 0, 2, 20, 1, &D_06008668, &D_06002650 },
{ OBJECT_GNDD, OBJECT_GNDD, 1, -6, 0, 10, 0, &D_060119E8, &D_06004260 },
{ OBJECT_GNDD, OBJECT_GNDD, 1, -6, 0, 10, 0, &D_060119E8, &D_060050A8 },
{ OBJECT_GANON, OBJECT_GANON, 1, -6, 0, 10, 0, &D_060114E8, &D_06011348 },
};
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Viewer/func_80B2A300.s")
EnViewerAnimFunc sAnimFuncs[] = {
func_80B2A300,
func_80B2A4D8,
func_80B2A300,
func_80B2A448,
};
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Viewer/func_80B2A448.s")
static void* sActorShadowDrawFunc[] = {
NULL,
ActorShadow_DrawFunc_Circle,
ActorShadow_DrawFunc_Squiggly,
};
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Viewer/func_80B2A4D8.s")
// timer
s16 D_80B2CFCC = 0;
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Viewer/func_80B2A570.s")
Vec3f D_80B2CFD0 = { 0.0f, 0.0f, 0.0f };
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Viewer/func_80B2A75C.s")
static EnViewerDrawFunc sDrawFuncs[] = {
func_80B2B4A8,
func_80B2B8FC,
func_80B2BA38,
func_80B2C130,
};
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Viewer/EnViewer_Update.s")
// angle
s16 D_80B2CFEC = 0;
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Viewer/func_80B2B2F4.s")
EnGanonMant* sGanonCape;
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Viewer/func_80B2B364.s")
Vec3f D_80B2D448;
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Viewer/func_80B2B468.s")
void EnViewer_SetupAction(EnViewer* this, EnViewerActionFunc actionFunc) {
this->actionFunc = actionFunc;
}
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Viewer/func_80B2B4A8.s")
void EnViewer_Init(Actor* thisx, GlobalContext* globalCtx) {
EnViewer* this = THIS;
u8 params;
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Viewer/func_80B2B8FC.s")
Actor_ProcessInitChain(&this->actor, sInitChain);
EnViewer_SetupAction(this, func_80B2A570);
D_80B2CEC0 = false;
params = this->actor.params >> 8;
this->unused = 0;
this->unk_1E5 = 0;
this->unk_1E6 = false;
if (params == 3 || params == 5 || params == 7 || params == 8 || params == 9) {
sGanonCape = Actor_SpawnAsChild(&globalCtx->actorCtx, &this->actor, globalCtx, ACTOR_EN_GANON_MANT, 0.0f, 0.0f,
0.0f, 0, 0, 0, 35);
}
}
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Viewer/func_80B2B928.s")
void EnViewer_Destroy(Actor* thisx, GlobalContext* globalCtx) {
EnViewer* this = THIS;
func_800A6888(globalCtx, &this->skin);
}
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Viewer/func_80B2B9A4.s")
void func_80B2A300(EnViewer* this, GlobalContext* globalCtx, FlexSkeletonHeader* skeletonHeaderSeg,
AnimationHeader* animationSeg) {
s16 params = this->actor.params >> 8;
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Viewer/func_80B2BA38.s")
if (params == 2 || params == 3 || params == 5 || params == 7 || params == 8 || params == 9) {
SkelAnime_InitFlex(globalCtx, &this->skin.skelAnime, skeletonHeaderSeg, NULL, NULL, NULL, 0);
} else {
SkelAnime_Init(globalCtx, &this->skin.skelAnime, skeletonHeaderSeg, NULL, NULL, NULL, 0);
}
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Viewer/func_80B2C10C.s")
gSegments[6] = VIRTUAL_TO_PHYSICAL(globalCtx->objectCtx.status[this->animObjBankIndex].segment);
if (params == 3 || params == 7 || params == 8 || params == 9) {
Animation_PlayLoopSetSpeed(&this->skin.skelAnime, animationSeg, 1.0f);
} else {
Animation_PlayLoopSetSpeed(&this->skin.skelAnime, animationSeg, 3.0f);
}
}
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Viewer/func_80B2C130.s")
void func_80B2A448(EnViewer* this, GlobalContext* globalCtx, FlexSkeletonHeader* skeletonHeaderSeg,
AnimationHeader* animationSeg) {
SkelAnime_InitFlex(globalCtx, &this->skin.skelAnime, skeletonHeaderSeg, NULL, NULL, NULL, 0);
gSegments[6] = VIRTUAL_TO_PHYSICAL(globalCtx->objectCtx.status[this->animObjBankIndex].segment);
Animation_PlayLoopSetSpeed(&this->skin.skelAnime, animationSeg, 3.0f);
}
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Viewer/EnViewer_Draw.s")
void func_80B2A4D8(EnViewer* this, GlobalContext* globalCtx, SkeletonHeader* skeletonHeaderSeg,
AnimationHeader* animationSeg) {
u8 params;
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Viewer/func_80B2C398.s")
func_800A663C(globalCtx, &this->skin, skeletonHeaderSeg, animationSeg);
params = this->actor.params >> 8;
if (!(params == 3 || params == 4 || params == 7 || params == 8 || params == 9)) {
Animation_PlayLoopSetSpeed(&this->skin.skelAnime, animationSeg, 3.0f);
} else {
Animation_PlayOnceSetSpeed(&this->skin.skelAnime, animationSeg, 1.0f);
}
}
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Viewer/func_80B2C768.s")
void func_80B2A570(EnViewer* this, GlobalContext* globalCtx) {
struct_80B2CEE8* unkStruct = &D_80B2CEE8[this->actor.params >> 8];
s32 objIndex = Object_GetIndex(&globalCtx->objectCtx, unkStruct->objId1);
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Viewer/func_80B2C8AC.s")
if (objIndex < 0) {
__assert("bank_ID >= 0", "../z_en_viewer.c", 576);
}
this->animObjBankIndex = Object_GetIndex(&globalCtx->objectCtx, unkStruct->objId2);
if (this->animObjBankIndex < 0) {
__assert("this->anime_bank_ID >= 0", "../z_en_viewer.c", 579);
}
if (!Object_IsLoaded(&globalCtx->objectCtx, objIndex) ||
!Object_IsLoaded(&globalCtx->objectCtx, this->animObjBankIndex)) {
this->actor.flags &= ~0x40;
return;
}
this->unk_1E6 = true;
this->actor.objBankIndex = objIndex;
Actor_SetObjectDependency(globalCtx, &this->actor);
Actor_SetScale(&this->actor, unkStruct->scale / 100.0f);
ActorShape_Init(&this->actor.shape, unkStruct->unk_5 * 100,
sActorShadowDrawFunc[unkStruct->actorShadowDrawFuncIndex], unkStruct->unk_7);
this->drawFuncIndex = unkStruct->drawFuncIndex;
sAnimFuncs[this->drawFuncIndex](this, globalCtx, unkStruct->unk_C, unkStruct->unk_10);
EnViewer_SetupAction(this, func_80B2A75C);
}
void func_80B2A75C(EnViewer* this, GlobalContext* globalCtx) {
u8 params = this->actor.params >> 8;
u16 csFrames;
s32 animationEnded;
s16 curFrame;
if (params == 2) {
if (gSaveContext.sceneSetupIndex == 5) {
csFrames = globalCtx->csCtx.frames;
if (csFrames == 792) {
Audio_PlayActorSound2(&this->actor, NA_SE_VO_Z0_SURPRISE);
} else if (csFrames == 845) {
Audio_PlayActorSound2(&this->actor, NA_SE_VO_Z0_THROW);
}
}
} else if (params == 7) {
Actor_SetScale(&this->actor, 0.3f);
this->actor.uncullZoneForward = 10000.0f;
this->actor.uncullZoneScale = 10000.0f;
this->actor.uncullZoneDownward = 10000.0f;
} else if (params == 3) {
if (gSaveContext.sceneSetupIndex == 4) {
switch (globalCtx->csCtx.frames) {
case 20:
case 59:
case 71:
case 129:
case 140:
case 219:
case 280:
case 320:
case 380:
case 409:
case 438:
Audio_PlaySoundGeneral(NA_SE_SY_DEMO_CUT, &D_801333D4, 4, &D_801333E0, &D_801333E0, &D_801333E8);
}
}
if (gSaveContext.sceneSetupIndex == 5) {
if (globalCtx->csCtx.frames == 1508) {
Audio_PlayActorSound2(&this->actor, NA_SE_EN_FANTOM_ST_LAUGH);
}
if (globalCtx->csCtx.frames == 1545) {
Actor_SpawnAsChild(&globalCtx->actorCtx, &this->actor, globalCtx, ACTOR_DEMO_6K, 32.0f, 101.0f, 1226.0f,
0, 0, 0, 0xC);
}
}
if (globalCtx->csCtx.frames == 1020) {
Audio_SetBGM(0x1000023);
}
if (globalCtx->csCtx.frames == 960) {
Audio_PlaySoundGeneral(NA_SE_EV_HORSE_GROAN, &this->actor.projectedPos, 4, &D_801333E0, &D_801333E0,
&D_801333E8);
}
} else if (params == 6) {
if (gSaveContext.sceneSetupIndex == 5 || gSaveContext.sceneSetupIndex == 10) {
Audio_PlayActorSound2(&this->actor, NA_SE_EV_HORSE_RUN_LEVEL - SFX_FLAG);
}
} else if (params == 4) {
curFrame = this->skin.skelAnime.curFrame;
if (this->skin.skelAnime.animation == &D_06003858) {
if (curFrame == 8) {
Audio_PlayActorSound2(&this->actor, NA_SE_EV_GANON_HORSE_NEIGH);
}
if (curFrame == 30) {
Audio_PlayActorSound2(&this->actor, NA_SE_EV_HORSE_LAND2);
}
} else if (this->skin.skelAnime.animation == &D_06004AA4) {
if (curFrame == 25) {
Audio_PlayActorSound2(&this->actor, NA_SE_EV_HORSE_SANDDUST);
}
} else if (this->skin.skelAnime.animation == &D_06002650) {
Audio_PlayActorSound2(&this->actor, NA_SE_EV_HORSE_RUN_LEVEL - SFX_FLAG);
}
}
if (D_80B2CFCC != 0) {
D_80B2CFCC--;
}
EnViewer_GetCutsceneNextPos(this, globalCtx);
Actor_MoveForward(&this->actor);
animationEnded = SkelAnime_Update(&this->skin.skelAnime);
if (params == 3 || params == 4) {
if (globalCtx->csCtx.state != 0 && globalCtx->csCtx.npcActions[1] != NULL) {
if (globalCtx->csCtx.npcActions[1]->action == 2 && D_80B2CFCC == 0) {
if (params == 3) {
if (this->skin.skelAnime.animation != &D_06002928) {
Animation_PlayLoopSetSpeed(&this->skin.skelAnime, &D_06002928, 1.0f);
}
} else if (this->skin.skelAnime.animation != &D_06004AA4) {
Animation_PlayLoopSetSpeed(&this->skin.skelAnime, &D_06004AA4, 1.0f);
}
} else if (globalCtx->csCtx.npcActions[1]->action == 1) {
D_80B2CFCC = 100;
if (params == 3) {
if (this->skin.skelAnime.animation != &D_06001D28) {
Animation_PlayLoopSetSpeed(&this->skin.skelAnime, &D_06001D28, 1.0f);
}
} else if (this->skin.skelAnime.animation != &D_06003858) {
Animation_PlayLoopSetSpeed(&this->skin.skelAnime, &D_06003858, 1.0f);
}
} else if (params == 3) {
switch (this->unk_1E5) {
case 0:
if (globalCtx->csCtx.npcActions[1]->action == 4) {
Animation_MorphToPlayOnce(&this->skin.skelAnime, &D_06000F54, -5.0f);
this->unk_1E5++;
}
break;
case 1:
if (animationEnded) {
Animation_MorphToLoop(&this->skin.skelAnime, &D_060014F4, -5.0f);
this->unk_1E5++;
}
break;
case 2:
if (globalCtx->csCtx.npcActions[1]->action == 5) {
Animation_MorphToPlayOnce(&this->skin.skelAnime, &D_060008A0, -5.0f);
this->unk_1E5++;
}
break;
case 3:
if (animationEnded) {
Animation_MorphToLoop(&this->skin.skelAnime, &D_06000BC8, -5.0f);
this->unk_1E5++;
}
break;
case 4:
if (globalCtx->csCtx.npcActions[1]->action == 11) {
Animation_MorphToLoop(&this->skin.skelAnime, &D_060014F4, -20.0f);
this->unk_1E5++;
}
break;
case 5:
if (globalCtx->csCtx.npcActions[1]->action == 8) {
Animation_MorphToLoop(&this->skin.skelAnime, &D_06002928, -15.0f);
this->unk_1E5++;
}
break;
case 6:
if (globalCtx->csCtx.npcActions[1]->action == 12) {
Audio_PlayActorSound2(&this->actor, NA_SE_EN_GANON_VOICE_DEMO);
Animation_PlayLoopSetSpeed(&this->skin.skelAnime, &D_060005B4, 3.0f);
this->unk_1E5++;
}
break;
case 7:
this->unk_1E5 = 0;
break;
}
} else if (this->skin.skelAnime.animation != &D_06002650 && globalCtx->csCtx.npcActions[1]->action == 12) {
Animation_PlayLoopSetSpeed(&this->skin.skelAnime, &D_06002650, 3.0f);
}
}
} else if (params == 1) {
if (gSaveContext.sceneSetupIndex == 5) {
if (globalCtx->csCtx.frames == 845) {
Actor_SpawnAsChild(&globalCtx->actorCtx, &this->actor, globalCtx, ACTOR_ITEM_OCARINA, 4.0f, 81.0f,
2600.0f, 0, 0, 0, 0);
}
} else {
if (globalCtx->csCtx.frames == 195) {
Actor_SpawnAsChild(&globalCtx->actorCtx, &this->actor, globalCtx, ACTOR_ITEM_OCARINA, 4.0f, 81.0f,
2035.0f, 0, 0, 0, 1);
}
}
switch (this->unk_1E5) {
case 0:
if (globalCtx->csCtx.state != 0 && globalCtx->csCtx.npcActions[0] != NULL &&
globalCtx->csCtx.npcActions[0]->action == 6 && this->skin.skelAnime.animation != &D_06002574) {
Animation_PlayLoopSetSpeed(&this->skin.skelAnime, &D_06002574, 1.5f);
this->unk_1E5++;
}
break;
case 1:
if (globalCtx->csCtx.state != 0 && globalCtx->csCtx.npcActions[0] != NULL &&
globalCtx->csCtx.npcActions[0]->action == 2 && this->skin.skelAnime.animation != &D_060029CC) {
Animation_PlayLoopSetSpeed(&this->skin.skelAnime, &D_060029CC, 3.0f);
this->unk_1E5++;
}
break;
}
} else if (params == 2) {
if (globalCtx->sceneNum == SCENE_SPOT00) { // Hyrule Field
switch (this->unk_1E5) {
case 0:
if (globalCtx->csCtx.state != 0) {
if (globalCtx->csCtx.npcActions[0] != NULL && globalCtx->csCtx.npcActions[0]->action == 6 &&
this->skin.skelAnime.animation != &D_06001410) {
Animation_PlayLoopSetSpeed(&this->skin.skelAnime, &D_06001410, 1.5f);
this->unk_1E5++;
}
}
break;
case 1:
if (globalCtx->csCtx.state != 0) {
if (globalCtx->csCtx.npcActions[0] != NULL && globalCtx->csCtx.npcActions[0]->action == 2 &&
this->skin.skelAnime.animation != &D_06000450) {
Animation_PlayLoopSetSpeed(&this->skin.skelAnime, &D_06000450, 3.0f);
this->unk_1E5++;
}
}
break;
}
} else {
func_800F67A0(0);
switch (this->unk_1E5) {
case 0:
Animation_PlayLoopSetSpeed(&this->skin.skelAnime, &D_0600504C, 1.0f);
this->unk_1E5++;
break;
case 1:
if (globalCtx->csCtx.npcActions[0]->action == 11) {
Animation_MorphToPlayOnce(&this->skin.skelAnime, &D_0600420C, -5.0f);
this->unk_1E5++;
}
break;
case 2:
if (animationEnded) {
Animation_MorphToLoop(&this->skin.skelAnime, &D_060048FC, -5.0f);
this->unk_1E5++;
}
break;
case 3:
break;
}
}
} else if (params == 7) {
switch (this->unk_1E5) {
case 0:
if (globalCtx->csCtx.state != 0 && globalCtx->csCtx.npcActions[1] != NULL &&
globalCtx->csCtx.npcActions[1]->action == 7) {
Audio_PlaySoundGeneral(NA_SE_EN_GANON_LAUGH, &D_801333D4, 4, &D_801333E0, &D_801333E0, &D_801333E8);
Animation_MorphToPlayOnce(&this->skin.skelAnime, &D_06004534, -5.0f);
this->unk_1E5++;
}
break;
case 1:
if (animationEnded) {
Animation_MorphToLoop(&this->skin.skelAnime, &D_060048B0, -5.0f);
this->unk_1E5++;
}
break;
}
} else if (params == 8) {
switch (this->unk_1E5) {
default:
this->unk_1E5 = 0;
break;
case 0:
if (globalCtx->csCtx.state != 0) {
if (globalCtx->csCtx.npcActions[1] != NULL && globalCtx->csCtx.npcActions[1]->action == 9) {
Animation_PlayLoopSetSpeed(&this->skin.skelAnime, &D_060050A8, 1.0f);
this->unk_1E5++;
}
}
break;
case 1:
if (globalCtx->csCtx.npcActions[1]->action == 10) {
Animation_MorphToPlayOnce(&this->skin.skelAnime, &D_06003284, -10.0f);
this->unk_1E5++;
}
break;
case 2:
if (animationEnded) {
Animation_MorphToLoop(&this->skin.skelAnime, &D_06003D84, -5.0f);
this->unk_1E5++;
}
break;
case 3:
if (globalCtx->csCtx.npcActions[1]->action == 4) {
Animation_MorphToPlayOnce(&this->skin.skelAnime, &D_06003428, -5.0f);
this->unk_1E5++;
}
break;
}
}
}
void EnViewer_Update(Actor* thisx, GlobalContext* globalCtx) {
EnViewer* this = THIS;
gSegments[6] = VIRTUAL_TO_PHYSICAL(globalCtx->objectCtx.status[this->animObjBankIndex].segment);
this->actionFunc(this, globalCtx);
}
s32 func_80B2B2F4(GlobalContext* globalCtx, s32 limbIndex, Gfx** dList, Vec3f* pos, Vec3s* rot, void* thisx) {
if (gSaveContext.sceneSetupIndex == 4) {
if (globalCtx->csCtx.frames >= 400 && limbIndex == 5) {
*dList = D_0600E1A8;
}
} else {
if (globalCtx->csCtx.frames >= 1510 && globalCtx->csCtx.frames < 1651 && limbIndex == 5) {
*dList = D_0600E1A8;
}
}
return 0;
}
void func_80B2B364(GlobalContext* globalCtx, s32 limbIndex, Gfx** dList, Vec3s* rot, void* thisx) {
if (limbIndex == 11) {
OPEN_DISPS(globalCtx->state.gfxCtx, "../z_en_viewer.c", 1365);
func_80093D84(globalCtx->state.gfxCtx);
gSPMatrix(POLY_XLU_DISP++, Matrix_NewMtx(globalCtx->state.gfxCtx, "../z_en_viewer.c", 1370),
G_MTX_NOPUSH | G_MTX_LOAD | G_MTX_MODELVIEW);
gSPDisplayList(POLY_XLU_DISP++, SEGMENTED_TO_VIRTUAL(D_0600BE90));
CLOSE_DISPS(globalCtx->state.gfxCtx, "../z_en_viewer.c", 1372);
}
}
void func_80B2B468(GlobalContext* globalCtx, s32 limbIndex, Gfx** dList, Vec3s* rot, void* thisx) {
if (limbIndex == 15) {
Matrix_MultVec3f(&D_80B2CFD0, &D_80B2D448);
}
}
void func_80B2B4A8(EnViewer* this, GlobalContext* globalCtx) {
s16 frames = 0;
s16 params;
OPEN_DISPS(globalCtx->state.gfxCtx, "../z_en_viewer.c", 1405);
params = this->actor.params >> 8;
if ((params == 3) || (params == 5) || (params == 7) || (params == 8)) {
if (gSaveContext.sceneSetupIndex != 4) {
frames = 149;
}
if (frames + 1127 >= globalCtx->csCtx.frames) {
gSPSegment(POLY_OPA_DISP++, 0x08, SEGMENTED_TO_VIRTUAL(&D_0600F178));
gSPSegment(POLY_OPA_DISP++, 0x09, SEGMENTED_TO_VIRTUAL(&D_0600F178));
} else if (frames + 1128 >= globalCtx->csCtx.frames) {
gSPSegment(POLY_OPA_DISP++, 0x08, SEGMENTED_TO_VIRTUAL(&D_0600F378));
gSPSegment(POLY_OPA_DISP++, 0x09, SEGMENTED_TO_VIRTUAL(&D_0600F378));
} else if (frames + 1129 >= globalCtx->csCtx.frames) {
gSPSegment(POLY_OPA_DISP++, 0x08, SEGMENTED_TO_VIRTUAL(&D_0600F578));
gSPSegment(POLY_OPA_DISP++, 0x09, SEGMENTED_TO_VIRTUAL(&D_0600F578));
} else {
gSPSegment(POLY_OPA_DISP++, 0x08, SEGMENTED_TO_VIRTUAL(&D_0600F778));
gSPSegment(POLY_OPA_DISP++, 0x09, SEGMENTED_TO_VIRTUAL(&D_0600F778));
}
} else if (params == 9) {
gSPSegment(POLY_XLU_DISP++, 0x08, SEGMENTED_TO_VIRTUAL(&D_0600A4E0));
}
if (params == 9) {
SkelAnime_DrawFlexOpa(globalCtx, this->skin.skelAnime.skeleton, this->skin.skelAnime.jointTable,
this->skin.skelAnime.dListCount, 0, func_80B2B364, this);
} else if (params == 3) {
SkelAnime_DrawFlexOpa(globalCtx, this->skin.skelAnime.skeleton, this->skin.skelAnime.jointTable,
this->skin.skelAnime.dListCount, func_80B2B2F4, func_80B2B468, this);
func_80B2CC1C(globalCtx, this);
} else if ((params == 3) || (params == 5) || (params == 7) || (params == 8)) {
if ((globalCtx->csCtx.state != 0) && (globalCtx->csCtx.npcActions[1] != NULL)) {
SkelAnime_DrawFlexOpa(globalCtx, this->skin.skelAnime.skeleton, this->skin.skelAnime.jointTable,
this->skin.skelAnime.dListCount, 0, func_80B2B468, this);
func_80B2CC1C(globalCtx, this);
}
} else {
SkelAnime_DrawOpa(globalCtx, this->skin.skelAnime.skeleton, this->skin.skelAnime.jointTable, NULL, 0, this);
}
CLOSE_DISPS(globalCtx->state.gfxCtx, "../z_en_viewer.c", 1511);
}
void func_80B2B8FC(EnViewer* this, GlobalContext* globalCtx) {
func_800A6330(&this->actor, globalCtx, &this->skin, NULL, 1);
}
s32 func_80B2B928(GlobalContext* globalCtx, s32 limbIndex, Gfx** dList, Vec3f* pos, Vec3s* rot, void* thisx) {
if (globalCtx->sceneNum == SCENE_SPOT00) { // Hyrule Field
if (limbIndex == 2) {
*dList = D_0600C410;
}
if (limbIndex == 7) {
*dList = NULL;
}
if (limbIndex == 8) {
*dList = NULL;
}
if (limbIndex == 9) {
*dList = NULL;
}
if (limbIndex == 3) {
*dList = NULL;
}
if (limbIndex == 5) {
*dList = NULL;
}
}
return 0;
}
void func_80B2B9A4(GlobalContext* globalCtx, s32 limbIndex, Gfx** dList, Vec3s* rot, void* thisx) {
s32 pad;
if (globalCtx->sceneNum == SCENE_TOKINOMA && limbIndex == 16) {
OPEN_DISPS(globalCtx->state.gfxCtx, "../z_en_viewer.c", 1568);
gSPDisplayList(POLY_OPA_DISP++, D_0600DE08);
CLOSE_DISPS(globalCtx->state.gfxCtx, "../z_en_viewer.c", 1570);
}
}
void func_80B2BA38(EnViewer* this, GlobalContext* globalCtx) {
OPEN_DISPS(globalCtx->state.gfxCtx, "../z_en_viewer.c", 1583);
if (globalCtx->sceneNum == SCENE_SPOT00) { // Hyrule Field
if (globalCtx->csCtx.frames < 771) {
gSPSegment(POLY_OPA_DISP++, 0x08, SEGMENTED_TO_VIRTUAL(&D_060042F0));
gSPSegment(POLY_OPA_DISP++, 0x09, SEGMENTED_TO_VIRTUAL(&D_06003EF0));
} else if (globalCtx->csCtx.frames < 772) {
gSPSegment(POLY_OPA_DISP++, 0x08, SEGMENTED_TO_VIRTUAL(&D_06002EF0));
gSPSegment(POLY_OPA_DISP++, 0x09, SEGMENTED_TO_VIRTUAL(&D_06002EF0));
} else if (globalCtx->csCtx.frames < 773) {
gSPSegment(POLY_OPA_DISP++, 0x08, SEGMENTED_TO_VIRTUAL(&D_060032F0));
gSPSegment(POLY_OPA_DISP++, 0x09, SEGMENTED_TO_VIRTUAL(&D_060032F0));
} else if (globalCtx->csCtx.frames < 791) {
gSPSegment(POLY_OPA_DISP++, 0x08, SEGMENTED_TO_VIRTUAL(&D_060036F0));
gSPSegment(POLY_OPA_DISP++, 0x09, SEGMENTED_TO_VIRTUAL(&D_060036F0));
} else if (globalCtx->csCtx.frames < 792) {
gSPSegment(POLY_OPA_DISP++, 0x08, SEGMENTED_TO_VIRTUAL(&D_06002EF0));
gSPSegment(POLY_OPA_DISP++, 0x09, SEGMENTED_TO_VIRTUAL(&D_06002EF0));
} else if (globalCtx->csCtx.frames < 793) {
gSPSegment(POLY_OPA_DISP++, 0x08, SEGMENTED_TO_VIRTUAL(&D_060032F0));
gSPSegment(POLY_OPA_DISP++, 0x09, SEGMENTED_TO_VIRTUAL(&D_060032F0));
} else {
gSPSegment(POLY_OPA_DISP++, 0x08, SEGMENTED_TO_VIRTUAL(&D_060042F0));
gSPSegment(POLY_OPA_DISP++, 0x09, SEGMENTED_TO_VIRTUAL(&D_06003EF0));
}
if (gSaveContext.sceneSetupIndex == 6) {
gSPSegment(POLY_OPA_DISP++, 0x0A, SEGMENTED_TO_VIRTUAL(&D_060052F0));
} else {
if (globalCtx->csCtx.frames < 758) {
gSPSegment(POLY_OPA_DISP++, 0x0A, SEGMENTED_TO_VIRTUAL(&D_06004EF0));
} else if (globalCtx->csCtx.frames < 848) {
gSPSegment(POLY_OPA_DISP++, 0x0A, SEGMENTED_TO_VIRTUAL(&D_060052F0));
} else {
gSPSegment(POLY_OPA_DISP++, 0x0A, SEGMENTED_TO_VIRTUAL(&D_06004EF0));
}
}
} else {
gSPSegment(POLY_OPA_DISP++, 0x08, SEGMENTED_TO_VIRTUAL(&D_060032F0));
gSPSegment(POLY_OPA_DISP++, 0x09, SEGMENTED_TO_VIRTUAL(&D_060032F0));
gSPSegment(POLY_OPA_DISP++, 0x0A, SEGMENTED_TO_VIRTUAL(&D_06004EF0));
}
SkelAnime_DrawFlexOpa(globalCtx, this->skin.skelAnime.skeleton, this->skin.skelAnime.jointTable,
this->skin.skelAnime.dListCount, func_80B2B928, func_80B2B9A4, this);
CLOSE_DISPS(globalCtx->state.gfxCtx, "../z_en_viewer.c", 1690);
}
s32 func_80B2C10C(GlobalContext* globalCtx, s32 limbIndex, Gfx** dList, Vec3f* pos, Vec3s* rot, void* thisx) {
if (limbIndex == 16) {
*dList = D_0600D0D8;
}
return 0;
}
void func_80B2C130(EnViewer* this, GlobalContext* globalCtx) {
OPEN_DISPS(globalCtx->state.gfxCtx, "../z_en_viewer.c", 1717);
gSPSegment(POLY_OPA_DISP++, 0x08, SEGMENTED_TO_VIRTUAL(&D_06007210));
gSPSegment(POLY_OPA_DISP++, 0x09, SEGMENTED_TO_VIRTUAL(&D_06007210));
gDPSetEnvColor(POLY_OPA_DISP++, 0, 0, 0, 255);
gSPSegment(POLY_OPA_DISP++, 0x0C, &D_80116280[2]);
SkelAnime_DrawFlexOpa(globalCtx, this->skin.skelAnime.skeleton, this->skin.skelAnime.jointTable,
this->skin.skelAnime.dListCount, func_80B2C10C, 0, this);
CLOSE_DISPS(globalCtx->state.gfxCtx, "../z_en_viewer.c", 1740);
}
void EnViewer_Draw(Actor* thisx, GlobalContext* globalCtx) {
EnViewer* this = THIS;
s32 pad;
s16 params;
OPEN_DISPS(globalCtx->state.gfxCtx, "../z_en_viewer.c", 1760);
if (this->unk_1E6) {
params = this->actor.params >> 8;
if (params < 3) {
if ((globalCtx->csCtx.state != 0) && (globalCtx->csCtx.npcActions[0] != NULL)) {
func_80093D18(globalCtx->state.gfxCtx);
sDrawFuncs[this->drawFuncIndex](this, globalCtx);
}
} else if (((globalCtx->csCtx.state != 0) && (globalCtx->csCtx.npcActions[1] != NULL)) || params == 9) {
func_80093D18(globalCtx->state.gfxCtx);
sDrawFuncs[this->drawFuncIndex](this, globalCtx);
}
}
CLOSE_DISPS(globalCtx->state.gfxCtx, "../z_en_viewer.c", 1784);
}
void EnViewer_GetCutsceneNextPos(EnViewer* this, GlobalContext* globalCtx) {
Vec3f startPos;
Vec3f endPos;
f32 interpolated;
s16 params = this->actor.params >> 8;
s16 yaw;
if (params < 3) {
if (globalCtx->csCtx.state != 0 && globalCtx->csCtx.npcActions[0] != NULL &&
globalCtx->csCtx.frames < globalCtx->csCtx.npcActions[0]->endFrame) {
if (params == 0) {
if (D_80B2CEC0 == false) {
D_80B2CEC0 = true;
Audio_PlaySoundGeneral(NA_SE_EV_HORSE_NEIGH, &this->actor.projectedPos, 4, &D_801333E0, &D_801333E0,
&D_801333E8);
}
Audio_PlayActorSound2(&this->actor, NA_SE_EV_HORSE_RUN_LEVEL - SFX_FLAG);
}
startPos.x = globalCtx->csCtx.npcActions[0]->startPos.x;
startPos.y = globalCtx->csCtx.npcActions[0]->startPos.y;
startPos.z = globalCtx->csCtx.npcActions[0]->startPos.z;
endPos.x = globalCtx->csCtx.npcActions[0]->endPos.x;
endPos.y = globalCtx->csCtx.npcActions[0]->endPos.y;
endPos.z = globalCtx->csCtx.npcActions[0]->endPos.z;
interpolated = func_8006F93C(globalCtx->csCtx.npcActions[0]->endFrame,
globalCtx->csCtx.npcActions[0]->startFrame, globalCtx->csCtx.frames);
this->actor.posRot.pos.x = ((endPos.x - startPos.x) * interpolated) + startPos.x;
this->actor.posRot.pos.y = ((endPos.y - startPos.y) * interpolated) + startPos.y;
this->actor.posRot.pos.z = ((endPos.z - startPos.z) * interpolated) + startPos.z;
}
} else {
if (globalCtx->csCtx.state != 0 && globalCtx->csCtx.npcActions[1] != NULL &&
globalCtx->csCtx.frames < globalCtx->csCtx.npcActions[1]->endFrame) {
startPos.x = globalCtx->csCtx.npcActions[1]->startPos.x;
startPos.y = globalCtx->csCtx.npcActions[1]->startPos.y;
startPos.z = globalCtx->csCtx.npcActions[1]->startPos.z;
endPos.x = globalCtx->csCtx.npcActions[1]->endPos.x;
endPos.y = globalCtx->csCtx.npcActions[1]->endPos.y;
endPos.z = globalCtx->csCtx.npcActions[1]->endPos.z;
interpolated = func_8006F93C(globalCtx->csCtx.npcActions[1]->endFrame,
globalCtx->csCtx.npcActions[1]->startFrame, globalCtx->csCtx.frames);
this->actor.posRot.pos.x = ((endPos.x - startPos.x) * interpolated) + startPos.x;
this->actor.posRot.pos.y = ((endPos.y - startPos.y) * interpolated) + startPos.y;
this->actor.posRot.pos.z = ((endPos.z - startPos.z) * interpolated) + startPos.z;
if (globalCtx->csCtx.npcActions[1]->action == 12) {
yaw = Math_Vec3f_Yaw(&startPos, &endPos);
Math_SmoothStepToS(&this->actor.posRot.rot.y, yaw, 10, 1000, 1);
Math_SmoothStepToS(&this->actor.shape.rot.y, yaw, 10, 1000, 1);
}
if (params == 9) {
this->actor.posRot.rot.x = globalCtx->csCtx.npcActions[1]->urot.x;
this->actor.posRot.rot.y = globalCtx->csCtx.npcActions[1]->urot.y;
this->actor.posRot.rot.z = globalCtx->csCtx.npcActions[1]->urot.z;
this->actor.shape.rot.x = globalCtx->csCtx.npcActions[1]->urot.x;
this->actor.shape.rot.y = globalCtx->csCtx.npcActions[1]->urot.y;
this->actor.shape.rot.z = globalCtx->csCtx.npcActions[1]->urot.z;
}
}
if (params == 5) {
Audio_PlaySoundGeneral(NA_SE_EV_BURNING - SFX_FLAG, &D_801333D4, 4, &D_801333E0, &D_801333E0, &D_801333E8);
func_80B2C8AC(this, globalCtx);
}
}
}
void func_80B2C768(EnViewer* this, GlobalContext* globalCtx, s16 arg2) {
EnViewerUnkStruct* unkStruct;
if ((arg2 % 2) == 0) {
unkStruct = &this->unk_1E8[arg2];
unkStruct->unk_0.x = 100.0f;
unkStruct->unk_0.y = -420.0f;
unkStruct->unk_0.z = 400.0f;
unkStruct->unk_C.x = 100.0f;
unkStruct->unk_C.y = -420.0f;
unkStruct->unk_C.z = -400.0f;
unkStruct->unk_24.y = ((Rand_ZeroOne() * 5.0f) + 12.0f) * 0.001f;
} else {
unkStruct = &this->unk_1E8[arg2];
unkStruct->unk_0.x = -100.0f;
unkStruct->unk_0.y = -420.0f;
unkStruct->unk_0.z = 400.0f;
unkStruct->unk_C.x = -100.0f;
unkStruct->unk_C.y = -420.0f;
unkStruct->unk_C.z = -400.0f;
unkStruct->unk_24.y = ((Rand_ZeroOne() * 5.0f) + 12.0f) * 0.001f;
}
if (this) {}
}
void func_80B2C8AC(EnViewer* this2, GlobalContext* globalCtx) {
EnViewer* this = this2;
s16 i;
OPEN_DISPS(globalCtx->state.gfxCtx, "../z_en_viewer.c", 1941);
for (i = 0; i < ARRAY_COUNT(this->unk_1E8); i++) {
switch (this->unk_1E8[i].state) {
case 0:
func_80B2C768(this, globalCtx, i);
this->unk_1E8[i].unk_24.z = (i >> 1) * 0.1f;
this->unk_1E8[i].unk_24.x = 0.01f;
this->unk_1E8[i].state++;
break;
case 1:
Math_SmoothStepToF(&this->unk_1E8[i].unk_24.z, 1.0f, 1.0f, this->unk_1E8[i].unk_24.x,
this->unk_1E8[i].unk_24.x);
this->unk_1E8[i].unk_18.x =
this->unk_1E8[i].unk_0.x +
(this->unk_1E8[i].unk_C.x - this->unk_1E8[i].unk_0.x) * this->unk_1E8[i].unk_24.z;
this->unk_1E8[i].unk_18.y =
this->unk_1E8[i].unk_0.y +
(this->unk_1E8[i].unk_C.y - this->unk_1E8[i].unk_0.y) * this->unk_1E8[i].unk_24.z;
this->unk_1E8[i].unk_18.z =
this->unk_1E8[i].unk_0.z +
(this->unk_1E8[i].unk_C.z - this->unk_1E8[i].unk_0.z) * this->unk_1E8[i].unk_24.z;
if (this->unk_1E8[i].unk_24.z >= 1.0f) {
this->unk_1E8[i].state++;
}
break;
case 2:
func_80B2C768(this, globalCtx, i);
this->unk_1E8[i].unk_24.z = 0.0f;
this->unk_1E8[i].unk_24.x = 0.01f;
this->unk_1E8[i].state--;
break;
}
func_80093D84(globalCtx->state.gfxCtx);
Matrix_Translate(this->unk_1E8[i].unk_18.x, this->unk_1E8[i].unk_18.y, this->unk_1E8[i].unk_18.z, MTXMODE_NEW);
Matrix_Scale(this->unk_1E8[i].unk_24.y, this->unk_1E8[i].unk_24.y, this->unk_1E8[i].unk_24.y, MTXMODE_APPLY);
gSPSegment(POLY_XLU_DISP++, 0x08,
Gfx_TwoTexScroll(globalCtx->state.gfxCtx, 0, 0, 0, 32, 64, 1, 0,
(10 * i - 20 * globalCtx->state.frames) & 0x1FF, 32, 128));
gDPSetPrimColor(POLY_XLU_DISP++, 0x80, 0x80, 255, 255, 170, 255);
gDPSetEnvColor(POLY_XLU_DISP++, 255, 50, 00, 255);
gSPMatrix(POLY_XLU_DISP++, Matrix_NewMtx(globalCtx->state.gfxCtx, "../z_en_viewer.c", 2027),
G_MTX_NOPUSH | G_MTX_LOAD | G_MTX_MODELVIEW);
gSPMatrix(POLY_XLU_DISP++, &D_01000000, G_MTX_NOPUSH | G_MTX_MUL | G_MTX_MODELVIEW);
gSPDisplayList(POLY_XLU_DISP++, D_0404D4E0);
}
CLOSE_DISPS(globalCtx->state.gfxCtx, "../z_en_viewer.c", 2034);
}
// regalloc
// Using any of the three temps in the comments results in equivalency with only the stack pointer being too large.
// Can't find an equivalent without a temp
#ifdef NON_MATCHING
void func_80B2CC1C(GlobalContext* globalCtx, EnViewer* this) {
Vec3f vec1;
Vec3f vec2;
// u8 index = 19;
// s16 angle_1 = 0x1000;
// s16 angle_2 = 0x2000;
if (this->actor.params >> 8 == 5) {
if (1) {}
sGanonCape->unk_16B0 = BREG(54) / 10.0f;
sGanonCape->unk_16B4 = (BREG(60) + 25) / 100.0f;
sGanonCape->unk_16B8 = (BREG(55) - 45) / 10.0f;
sGanonCape->unk_16AC = -10000.0f;
sGanonCape->unk_16D0 = 0.0f;
sGanonCape->unk_16C8 = (BREG(67) - 10) / 10.0f;
vec1.x = KREG(16) - 13.0f;
// Any of the temps defined above vec1.y results in a near match
// with only the stack pointer being too large
vec1.y = KREG(17) + 3.0f + Math_SinS(D_80B2CFEC) * KREG(20);
vec1.z = KREG(18) - 10.0f;
D_80B2CFEC += KREG(19) * 0x1000 + 0x2000;
// D_80B2CFEC += KREG(index) * 0x1000 + 0x2000;
// D_80B2CFEC += KREG(19) * angle_1 + 0x2000;
// D_80B2CFEC += KREG(19) * 0x1000 + angle_2;
Matrix_RotateY((this->actor.shape.rot.y / (f32)0x8000) * M_PI, MTXMODE_NEW);
Matrix_MultVec3f(&vec1, &vec2);
sGanonCape->unk_16D4.x = D_80B2D448.x + vec2.x;
sGanonCape->unk_16D4.y = D_80B2D448.y + vec2.y;
sGanonCape->unk_16D4.z = D_80B2D448.z + vec2.z;
vec1.x = -(KREG(16) - 13.0f);
Matrix_MultVec3f(&vec1, &vec2);
sGanonCape->unk_16E0.x = D_80B2D448.x + vec2.x;
sGanonCape->unk_16E0.y = D_80B2D448.y + vec2.y;
sGanonCape->unk_16E0.z = D_80B2D448.z + vec2.z;
}
}
#else
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Viewer/func_80B2CC1C.s")
#endif

View File

@ -6,9 +6,41 @@
struct EnViewer;
typedef void (*EnViewerActionFunc)(struct EnViewer*, GlobalContext*);
typedef void (*EnViewerDrawFunc)(struct EnViewer*, GlobalContext*);
typedef void (*EnViewerAnimFunc)(struct EnViewer*, GlobalContext*, FlexSkeletonHeader*, AnimationHeader*);
typedef struct {
/* 0x00 */ s16 objId1;
/* 0x02 */ s16 objId2;
/* 0x04 */ u8 scale;
/* 0x05 */ s8 unk_5;
/* 0x06 */ u8 actorShadowDrawFuncIndex;
/* 0x07 */ u8 unk_7;
/* 0x08 */ u8 drawFuncIndex;
/* 0x0C */ AnimationHeader* unk_C;
/* 0x10 */ AnimationHeader* unk_10;
} struct_80B2CEE8; // size = 0x14
// Structured like an effect?
typedef struct {
/* 0x00 */ Vec3f unk_0;
/* 0x0C */ Vec3f unk_C;
/* 0x18 */ Vec3f unk_18;
/* 0x24 */ Vec3f unk_24;
/* 0x30 */ u8 state;
} EnViewerUnkStruct; // size = 0x34
typedef struct EnViewer {
/* 0x0000 */ Actor actor;
/* 0x014C */ char unk_14C[0x4AC];
/* 0x014C */ PSkinAwb skin;
/* 0x01DC */ s8 animObjBankIndex;
/* 0x01DD */ u8 drawFuncIndex;
/* 0x01E0 */ EnViewerActionFunc actionFunc;
/* 0x01E4 */ u8 unused;
/* 0x01E5 */ u8 unk_1E5;
/* 0x01E6 */ u8 unk_1E6; // Conditional
/* 0x01E8 */ EnViewerUnkStruct unk_1E8[20];
} EnViewer; // size = 0x05F8
extern const ActorInit En_Viewer_InitVars;

View File

@ -2868,6 +2868,7 @@ D_06003858 = 0x06003858;
D_06003D84 = 0x06003D84;
D_06003EF0 = 0x06003EF0;
D_0600420C = 0x0600420C;
D_06004260 = 0x06004260;
D_060042F0 = 0x060042F0;
D_06004534 = 0x06004534;
D_060048B0 = 0x060048B0;
@ -2877,17 +2878,25 @@ D_06004EF0 = 0x06004EF0;
D_0600504C = 0x0600504C;
D_060050A8 = 0x060050A8;
D_060052F0 = 0x060052F0;
D_06006B2C = 0x06006B2C;
D_06007148 = 0x06007148;
D_06007210 = 0x06007210;
D_06008668 = 0x06008668;
D_0600A4E0 = 0x0600A4E0;
D_0600BE90 = 0x0600BE90;
D_0600C410 = 0x0600C410;
D_0600D0D8 = 0x0600D0D8;
D_0600DE08 = 0x0600DE08;
D_0600E038 = 0x0600E038;
D_0600E1A8 = 0x0600E1A8;
D_0600F178 = 0x0600F178;
D_0600F378 = 0x0600F378;
D_0600F578 = 0x0600F578;
D_0600F778 = 0x0600F778;
D_0600F788 = 0x0600F788;
D_06011348 = 0x06011348;
D_060114E8 = 0x060114E8;
D_060119E8 = 0x060119E8;
// z_en_weiyer
D_06000288 = 0x06000288;