From bdbd79296ea0b6abd293b1c5b26c27d955f4c509 Mon Sep 17 00:00:00 2001 From: Ethan Roseman Date: Sat, 26 Sep 2020 21:12:19 -0400 Subject: [PATCH] Decompiled ovl_Demo_Shd (#388) * Decompiled ovl_Demo_Shd * Revert var change * gfxdata * vars in block * if (1) * PR comments --- .../actors/ovl_Demo_Shd/DemoShd_Destroy.s | 4 - .../actors/ovl_Demo_Shd/DemoShd_Draw.s | 163 ------- .../actors/ovl_Demo_Shd/DemoShd_Init.s | 23 - .../actors/ovl_Demo_Shd/DemoShd_SetupAction.s | 3 - .../actors/ovl_Demo_Shd/DemoShd_Update.s | 10 - .../actors/ovl_Demo_Shd/func_80991298.s | 100 ---- data/overlays/actors/z_demo_shd.data.s | 68 --- data/overlays/actors/z_demo_shd.reloc.s | 13 - include/functions.h | 2 +- spec | 3 +- src/overlays/actors/ovl_Demo_Shd/z_demo_shd.c | 101 +++- src/overlays/actors/ovl_Demo_Shd/z_demo_shd.h | 4 +- .../actors/ovl_Demo_Shd/z_demo_shd_gfxdata.c | 432 ++++++++++++++++++ 13 files changed, 529 insertions(+), 397 deletions(-) delete mode 100644 asm/non_matchings/overlays/actors/ovl_Demo_Shd/DemoShd_Destroy.s delete mode 100644 asm/non_matchings/overlays/actors/ovl_Demo_Shd/DemoShd_Draw.s delete mode 100644 asm/non_matchings/overlays/actors/ovl_Demo_Shd/DemoShd_Init.s delete mode 100644 asm/non_matchings/overlays/actors/ovl_Demo_Shd/DemoShd_SetupAction.s delete mode 100644 asm/non_matchings/overlays/actors/ovl_Demo_Shd/DemoShd_Update.s delete mode 100644 asm/non_matchings/overlays/actors/ovl_Demo_Shd/func_80991298.s delete mode 100644 data/overlays/actors/z_demo_shd.data.s delete mode 100644 data/overlays/actors/z_demo_shd.reloc.s create mode 100644 src/overlays/actors/ovl_Demo_Shd/z_demo_shd_gfxdata.c diff --git a/asm/non_matchings/overlays/actors/ovl_Demo_Shd/DemoShd_Destroy.s b/asm/non_matchings/overlays/actors/ovl_Demo_Shd/DemoShd_Destroy.s deleted file mode 100644 index 987989fa09..0000000000 --- a/asm/non_matchings/overlays/actors/ovl_Demo_Shd/DemoShd_Destroy.s +++ /dev/null @@ -1,4 +0,0 @@ -glabel DemoShd_Destroy -/* 0005C 8099128C AFA40000 */ sw $a0, 0x0000($sp) -/* 00060 80991290 03E00008 */ jr $ra -/* 00064 80991294 AFA50004 */ sw $a1, 0x0004($sp) diff --git a/asm/non_matchings/overlays/actors/ovl_Demo_Shd/DemoShd_Draw.s b/asm/non_matchings/overlays/actors/ovl_Demo_Shd/DemoShd_Draw.s deleted file mode 100644 index df5031512b..0000000000 --- a/asm/non_matchings/overlays/actors/ovl_Demo_Shd/DemoShd_Draw.s +++ /dev/null @@ -1,163 +0,0 @@ -.rdata -glabel D_80993600 - .asciz "../z_demo_shd.c" - .balign 4 - -glabel D_80993610 - .asciz "../z_demo_shd.c" - .balign 4 - -glabel D_80993620 - .asciz "../z_demo_shd.c" - .balign 4 - -.text -glabel DemoShd_Draw -/* 001E8 80991418 27BDFF80 */ addiu $sp, $sp, 0xFF80 ## $sp = FFFFFF80 -/* 001EC 8099141C AFBF003C */ sw $ra, 0x003C($sp) -/* 001F0 80991420 AFB00038 */ sw $s0, 0x0038($sp) -/* 001F4 80991424 AFA40080 */ sw $a0, 0x0080($sp) -/* 001F8 80991428 AFA50084 */ sw $a1, 0x0084($sp) -/* 001FC 8099142C 948F014E */ lhu $t7, 0x014E($a0) ## 0000014E -/* 00200 80991430 3C068099 */ lui $a2, %hi(D_80993600) ## $a2 = 80990000 -/* 00204 80991434 24C63600 */ addiu $a2, $a2, %lo(D_80993600) ## $a2 = 80993600 -/* 00208 80991438 AFAF0074 */ sw $t7, 0x0074($sp) -/* 0020C 8099143C 8CA50000 */ lw $a1, 0x0000($a1) ## 00000000 -/* 00210 80991440 27A40060 */ addiu $a0, $sp, 0x0060 ## $a0 = FFFFFFE0 -/* 00214 80991444 240702D6 */ addiu $a3, $zero, 0x02D6 ## $a3 = 000002D6 -/* 00218 80991448 0C031AB1 */ jal Graph_OpenDisps -/* 0021C 8099144C 00A08025 */ or $s0, $a1, $zero ## $s0 = 00000000 -/* 00220 80991450 8FB90084 */ lw $t9, 0x0084($sp) -/* 00224 80991454 0C024F61 */ jal func_80093D84 -/* 00228 80991458 8F240000 */ lw $a0, 0x0000($t9) ## 00000000 -/* 0022C 8099145C 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0 -/* 00230 80991460 3C0BDA38 */ lui $t3, 0xDA38 ## $t3 = DA380000 -/* 00234 80991464 356B0003 */ ori $t3, $t3, 0x0003 ## $t3 = DA380003 -/* 00238 80991468 244A0008 */ addiu $t2, $v0, 0x0008 ## $t2 = 00000008 -/* 0023C 8099146C AE0A02D0 */ sw $t2, 0x02D0($s0) ## 000002D0 -/* 00240 80991470 AC4B0000 */ sw $t3, 0x0000($v0) ## 00000000 -/* 00244 80991474 8FAC0084 */ lw $t4, 0x0084($sp) -/* 00248 80991478 3C058099 */ lui $a1, %hi(D_80993610) ## $a1 = 80990000 -/* 0024C 8099147C 24A53610 */ addiu $a1, $a1, %lo(D_80993610) ## $a1 = 80993610 -/* 00250 80991480 8D840000 */ lw $a0, 0x0000($t4) ## 00000000 -/* 00254 80991484 240602D9 */ addiu $a2, $zero, 0x02D9 ## $a2 = 000002D9 -/* 00258 80991488 0C0346A2 */ jal Matrix_NewMtx -/* 0025C 8099148C AFA2005C */ sw $v0, 0x005C($sp) -/* 00260 80991490 8FA3005C */ lw $v1, 0x005C($sp) -/* 00264 80991494 3C0E8099 */ lui $t6, %hi(D_809932D0) ## $t6 = 80990000 -/* 00268 80991498 25CE32D0 */ addiu $t6, $t6, %lo(D_809932D0) ## $t6 = 809932D0 -/* 0026C 8099149C AC620004 */ sw $v0, 0x0004($v1) ## 00000004 -/* 00270 809914A0 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0 -/* 00274 809914A4 3C09DE00 */ lui $t1, 0xDE00 ## $t1 = DE000000 -/* 00278 809914A8 00002825 */ or $a1, $zero, $zero ## $a1 = 00000000 -/* 0027C 809914AC 244D0008 */ addiu $t5, $v0, 0x0008 ## $t5 = 00000008 -/* 00280 809914B0 AE0D02D0 */ sw $t5, 0x02D0($s0) ## 000002D0 -/* 00284 809914B4 AC4E0004 */ sw $t6, 0x0004($v0) ## 00000004 -/* 00288 809914B8 AC490000 */ sw $t1, 0x0000($v0) ## 00000000 -/* 0028C 809914BC 8FA30080 */ lw $v1, 0x0080($sp) -/* 00290 809914C0 00003025 */ or $a2, $zero, $zero ## $a2 = 00000000 -/* 00294 809914C4 240B03FF */ addiu $t3, $zero, 0x03FF ## $t3 = 000003FF -/* 00298 809914C8 9462014C */ lhu $v0, 0x014C($v1) ## 0000014C -/* 0029C 809914CC 240C0010 */ addiu $t4, $zero, 0x0010 ## $t4 = 00000010 -/* 002A0 809914D0 304F0001 */ andi $t7, $v0, 0x0001 ## $t7 = 00000000 -/* 002A4 809914D4 11E00028 */ beq $t7, $zero, .L80991578 -/* 002A8 809914D8 30580002 */ andi $t8, $v0, 0x0002 ## $t8 = 00000000 -/* 002AC 809914DC 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0 -/* 002B0 809914E0 240D0100 */ addiu $t5, $zero, 0x0100 ## $t5 = 00000100 -/* 002B4 809914E4 240E0001 */ addiu $t6, $zero, 0x0001 ## $t6 = 00000001 -/* 002B8 809914E8 24580008 */ addiu $t8, $v0, 0x0008 ## $t8 = 00000008 -/* 002BC 809914EC AE1802D0 */ sw $t8, 0x02D0($s0) ## 000002D0 -/* 002C0 809914F0 AC490000 */ sw $t1, 0x0000($v0) ## 00000000 -/* 002C4 809914F4 8FB90084 */ lw $t9, 0x0084($sp) -/* 002C8 809914F8 8FA30074 */ lw $v1, 0x0074($sp) -/* 002CC 809914FC 241800FF */ addiu $t8, $zero, 0x00FF ## $t8 = 000000FF -/* 002D0 80991500 8F240000 */ lw $a0, 0x0000($t9) ## 00000000 -/* 002D4 80991504 00600821 */ addu $at, $v1, $zero -/* 002D8 80991508 00031880 */ sll $v1, $v1, 2 -/* 002DC 8099150C 00611821 */ addu $v1, $v1, $at -/* 002E0 80991510 306A03FF */ andi $t2, $v1, 0x03FF ## $t2 = 00000000 -/* 002E4 80991514 016A3823 */ subu $a3, $t3, $t2 -/* 002E8 80991518 306F00FF */ andi $t7, $v1, 0x00FF ## $t7 = 00000000 -/* 002EC 8099151C 030FC823 */ subu $t9, $t8, $t7 -/* 002F0 80991520 240A0020 */ addiu $t2, $zero, 0x0020 ## $t2 = 00000020 -/* 002F4 80991524 240B0020 */ addiu $t3, $zero, 0x0020 ## $t3 = 00000020 -/* 002F8 80991528 AFAB0024 */ sw $t3, 0x0024($sp) -/* 002FC 8099152C AFAA0028 */ sw $t2, 0x0028($sp) -/* 00300 80991530 AFB90020 */ sw $t9, 0x0020($sp) -/* 00304 80991534 AFA0001C */ sw $zero, 0x001C($sp) -/* 00308 80991538 AFAE0018 */ sw $t6, 0x0018($sp) -/* 0030C 8099153C AFAD0014 */ sw $t5, 0x0014($sp) -/* 00310 80991540 AFAC0010 */ sw $t4, 0x0010($sp) -/* 00314 80991544 0C0253D0 */ jal Gfx_TwoTexScroll -/* 00318 80991548 AFA20054 */ sw $v0, 0x0054($sp) -/* 0031C 8099154C 8FA80054 */ lw $t0, 0x0054($sp) -/* 00320 80991550 3C0E8099 */ lui $t6, %hi(D_80993390) ## $t6 = 80990000 -/* 00324 80991554 25CE3390 */ addiu $t6, $t6, %lo(D_80993390) ## $t6 = 80993390 -/* 00328 80991558 AD020004 */ sw $v0, 0x0004($t0) ## 00000004 -/* 0032C 8099155C 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0 -/* 00330 80991560 3C0DDE00 */ lui $t5, 0xDE00 ## $t5 = DE000000 -/* 00334 80991564 244C0008 */ addiu $t4, $v0, 0x0008 ## $t4 = 00000008 -/* 00338 80991568 AE0C02D0 */ sw $t4, 0x02D0($s0) ## 000002D0 -/* 0033C 8099156C AC4E0004 */ sw $t6, 0x0004($v0) ## 00000004 -/* 00340 80991570 1000002C */ beq $zero, $zero, .L80991624 -/* 00344 80991574 AC4D0000 */ sw $t5, 0x0000($v0) ## 00000000 -.L80991578: -/* 00348 80991578 1300002A */ beq $t8, $zero, .L80991624 -/* 0034C 8099157C 00002825 */ or $a1, $zero, $zero ## $a1 = 00000000 -/* 00350 80991580 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0 -/* 00354 80991584 240A03FF */ addiu $t2, $zero, 0x03FF ## $t2 = 000003FF -/* 00358 80991588 240C0010 */ addiu $t4, $zero, 0x0010 ## $t4 = 00000010 -/* 0035C 8099158C 244F0008 */ addiu $t7, $v0, 0x0008 ## $t7 = 00000008 -/* 00360 80991590 AE0F02D0 */ sw $t7, 0x02D0($s0) ## 000002D0 -/* 00364 80991594 AC490000 */ sw $t1, 0x0000($v0) ## 00000000 -/* 00368 80991598 8FB90084 */ lw $t9, 0x0084($sp) -/* 0036C 8099159C 8FA30074 */ lw $v1, 0x0074($sp) -/* 00370 809915A0 240F00FF */ addiu $t7, $zero, 0x00FF ## $t7 = 000000FF -/* 00374 809915A4 8F240000 */ lw $a0, 0x0000($t9) ## 00000000 -/* 00378 809915A8 00600821 */ addu $at, $v1, $zero -/* 0037C 809915AC 00031880 */ sll $v1, $v1, 2 -/* 00380 809915B0 00611821 */ addu $v1, $v1, $at -/* 00384 809915B4 306B03FF */ andi $t3, $v1, 0x03FF ## $t3 = 00000000 -/* 00388 809915B8 014B3823 */ subu $a3, $t2, $t3 -/* 0038C 809915BC 307800FF */ andi $t8, $v1, 0x00FF ## $t8 = 00000000 -/* 00390 809915C0 01F8C823 */ subu $t9, $t7, $t8 -/* 00394 809915C4 240B0020 */ addiu $t3, $zero, 0x0020 ## $t3 = 00000020 -/* 00398 809915C8 240A0020 */ addiu $t2, $zero, 0x0020 ## $t2 = 00000020 -/* 0039C 809915CC 240D0100 */ addiu $t5, $zero, 0x0100 ## $t5 = 00000100 -/* 003A0 809915D0 240E0001 */ addiu $t6, $zero, 0x0001 ## $t6 = 00000001 -/* 003A4 809915D4 AFAE0018 */ sw $t6, 0x0018($sp) -/* 003A8 809915D8 AFAD0014 */ sw $t5, 0x0014($sp) -/* 003AC 809915DC AFAA0024 */ sw $t2, 0x0024($sp) -/* 003B0 809915E0 AFAB0028 */ sw $t3, 0x0028($sp) -/* 003B4 809915E4 AFB90020 */ sw $t9, 0x0020($sp) -/* 003B8 809915E8 AFA0001C */ sw $zero, 0x001C($sp) -/* 003BC 809915EC AFAC0010 */ sw $t4, 0x0010($sp) -/* 003C0 809915F0 00003025 */ or $a2, $zero, $zero ## $a2 = 00000000 -/* 003C4 809915F4 0C0253D0 */ jal Gfx_TwoTexScroll -/* 003C8 809915F8 AFA2004C */ sw $v0, 0x004C($sp) -/* 003CC 809915FC 8FA8004C */ lw $t0, 0x004C($sp) -/* 003D0 80991600 3C0E8099 */ lui $t6, %hi(D_809934B8) ## $t6 = 80990000 -/* 003D4 80991604 25CE34B8 */ addiu $t6, $t6, %lo(D_809934B8) ## $t6 = 809934B8 -/* 003D8 80991608 AD020004 */ sw $v0, 0x0004($t0) ## 00000004 -/* 003DC 8099160C 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0 -/* 003E0 80991610 3C0DDE00 */ lui $t5, 0xDE00 ## $t5 = DE000000 -/* 003E4 80991614 244C0008 */ addiu $t4, $v0, 0x0008 ## $t4 = 00000008 -/* 003E8 80991618 AE0C02D0 */ sw $t4, 0x02D0($s0) ## 000002D0 -/* 003EC 8099161C AC4E0004 */ sw $t6, 0x0004($v0) ## 00000004 -/* 003F0 80991620 AC4D0000 */ sw $t5, 0x0000($v0) ## 00000000 -.L80991624: -/* 003F4 80991624 8FAF0084 */ lw $t7, 0x0084($sp) -/* 003F8 80991628 3C068099 */ lui $a2, %hi(D_80993620) ## $a2 = 80990000 -/* 003FC 8099162C 24C63620 */ addiu $a2, $a2, %lo(D_80993620) ## $a2 = 80993620 -/* 00400 80991630 27A40060 */ addiu $a0, $sp, 0x0060 ## $a0 = FFFFFFE0 -/* 00404 80991634 240702FA */ addiu $a3, $zero, 0x02FA ## $a3 = 000002FA -/* 00408 80991638 0C031AD5 */ jal Graph_CloseDisps -/* 0040C 8099163C 8DE50000 */ lw $a1, 0x0000($t7) ## 00000000 -/* 00410 80991640 8FBF003C */ lw $ra, 0x003C($sp) -/* 00414 80991644 8FB00038 */ lw $s0, 0x0038($sp) -/* 00418 80991648 27BD0080 */ addiu $sp, $sp, 0x0080 ## $sp = 00000000 -/* 0041C 8099164C 03E00008 */ jr $ra -/* 00420 80991650 00000000 */ nop -/* 00424 80991654 00000000 */ nop -/* 00428 80991658 00000000 */ nop -/* 0042C 8099165C 00000000 */ nop diff --git a/asm/non_matchings/overlays/actors/ovl_Demo_Shd/DemoShd_Init.s b/asm/non_matchings/overlays/actors/ovl_Demo_Shd/DemoShd_Init.s deleted file mode 100644 index 5039f92f89..0000000000 --- a/asm/non_matchings/overlays/actors/ovl_Demo_Shd/DemoShd_Init.s +++ /dev/null @@ -1,23 +0,0 @@ -glabel DemoShd_Init -/* 00008 80991238 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8 -/* 0000C 8099123C AFA5001C */ sw $a1, 0x001C($sp) -/* 00010 80991240 AFBF0014 */ sw $ra, 0x0014($sp) -/* 00014 80991244 A480014C */ sh $zero, 0x014C($a0) ## 0000014C -/* 00018 80991248 3C058099 */ lui $a1, %hi(func_80991298) ## $a1 = 80990000 -/* 0001C 8099124C 24A51298 */ addiu $a1, $a1, %lo(func_80991298) ## $a1 = 80991298 -/* 00020 80991250 0C26448C */ jal DemoShd_SetupAction -/* 00024 80991254 AFA40018 */ sw $a0, 0x0018($sp) -/* 00028 80991258 3C053ECC */ lui $a1, 0x3ECC ## $a1 = 3ECC0000 -/* 0002C 8099125C 8FA40018 */ lw $a0, 0x0018($sp) -/* 00030 80991260 0C00B58B */ jal Actor_SetScale - -/* 00034 80991264 34A5CCCD */ ori $a1, $a1, 0xCCCD ## $a1 = 3ECCCCCD -/* 00038 80991268 8FA40018 */ lw $a0, 0x0018($sp) -/* 0003C 8099126C 44800000 */ mtc1 $zero, $f0 ## $f0 = 0.00 -/* 00040 80991270 00000000 */ nop -/* 00044 80991274 E4800028 */ swc1 $f0, 0x0028($a0) ## 00000028 -/* 00048 80991278 E4800024 */ swc1 $f0, 0x0024($a0) ## 00000024 -/* 0004C 8099127C 8FBF0014 */ lw $ra, 0x0014($sp) -/* 00050 80991280 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000 -/* 00054 80991284 03E00008 */ jr $ra -/* 00058 80991288 00000000 */ nop diff --git a/asm/non_matchings/overlays/actors/ovl_Demo_Shd/DemoShd_SetupAction.s b/asm/non_matchings/overlays/actors/ovl_Demo_Shd/DemoShd_SetupAction.s deleted file mode 100644 index 59a9fa87ee..0000000000 --- a/asm/non_matchings/overlays/actors/ovl_Demo_Shd/DemoShd_SetupAction.s +++ /dev/null @@ -1,3 +0,0 @@ -glabel DemoShd_SetupAction -/* 00000 80991230 03E00008 */ jr $ra -/* 00004 80991234 AC850150 */ sw $a1, 0x0150($a0) ## 00000150 diff --git a/asm/non_matchings/overlays/actors/ovl_Demo_Shd/DemoShd_Update.s b/asm/non_matchings/overlays/actors/ovl_Demo_Shd/DemoShd_Update.s deleted file mode 100644 index f7f1522dd7..0000000000 --- a/asm/non_matchings/overlays/actors/ovl_Demo_Shd/DemoShd_Update.s +++ /dev/null @@ -1,10 +0,0 @@ -glabel DemoShd_Update -/* 001C4 809913F4 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8 -/* 001C8 809913F8 AFBF0014 */ sw $ra, 0x0014($sp) -/* 001CC 809913FC 8C990150 */ lw $t9, 0x0150($a0) ## 00000150 -/* 001D0 80991400 0320F809 */ jalr $ra, $t9 -/* 001D4 80991404 00000000 */ nop -/* 001D8 80991408 8FBF0014 */ lw $ra, 0x0014($sp) -/* 001DC 8099140C 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000 -/* 001E0 80991410 03E00008 */ jr $ra -/* 001E4 80991414 00000000 */ nop diff --git a/asm/non_matchings/overlays/actors/ovl_Demo_Shd/func_80991298.s b/asm/non_matchings/overlays/actors/ovl_Demo_Shd/func_80991298.s deleted file mode 100644 index 5bc9e0d97d..0000000000 --- a/asm/non_matchings/overlays/actors/ovl_Demo_Shd/func_80991298.s +++ /dev/null @@ -1,100 +0,0 @@ -glabel func_80991298 -/* 00068 80991298 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8 -/* 0006C 8099129C AFBF0014 */ sw $ra, 0x0014($sp) -/* 00070 809912A0 90A21D6C */ lbu $v0, 0x1D6C($a1) ## 00001D6C -/* 00074 809912A4 00803025 */ or $a2, $a0, $zero ## $a2 = 00000000 -/* 00078 809912A8 10400004 */ beq $v0, $zero, .L809912BC -/* 0007C 809912AC 00000000 */ nop -/* 00080 809912B0 8CAE1D8C */ lw $t6, 0x1D8C($a1) ## 00001D8C -/* 00084 809912B4 55C00007 */ bnel $t6, $zero, .L809912D4 -/* 00088 809912B8 94A21D74 */ lhu $v0, 0x1D74($a1) ## 00001D74 -.L809912BC: -/* 0008C 809912BC 50400018 */ beql $v0, $zero, .L80991320 -/* 00090 809912C0 90A21D6C */ lbu $v0, 0x1D6C($a1) ## 00001D6C -/* 00094 809912C4 8CAF1D90 */ lw $t7, 0x1D90($a1) ## 00001D90 -/* 00098 809912C8 51E00015 */ beql $t7, $zero, .L80991320 -/* 0009C 809912CC 90A21D6C */ lbu $v0, 0x1D6C($a1) ## 00001D6C -/* 000A0 809912D0 94A21D74 */ lhu $v0, 0x1D74($a1) ## 00001D74 -.L809912D4: -/* 000A4 809912D4 24010320 */ addiu $at, $zero, 0x0320 ## $at = 00000320 -/* 000A8 809912D8 24040009 */ addiu $a0, $zero, 0x0009 ## $a0 = 00000009 -/* 000AC 809912DC 54410008 */ bnel $v0, $at, .L80991300 -/* 000B0 809912E0 2401042D */ addiu $at, $zero, 0x042D ## $at = 0000042D -/* 000B4 809912E4 AFA5001C */ sw $a1, 0x001C($sp) -/* 000B8 809912E8 0C03CFCF */ jal func_800F3F3C -/* 000BC 809912EC AFA60018 */ sw $a2, 0x0018($sp) -/* 000C0 809912F0 8FA5001C */ lw $a1, 0x001C($sp) -/* 000C4 809912F4 8FA60018 */ lw $a2, 0x0018($sp) -/* 000C8 809912F8 94A21D74 */ lhu $v0, 0x1D74($a1) ## 00001D74 -/* 000CC 809912FC 2401042D */ addiu $at, $zero, 0x042D ## $at = 0000042D -.L80991300: -/* 000D0 80991300 14410006 */ bne $v0, $at, .L8099131C -/* 000D4 80991304 24040008 */ addiu $a0, $zero, 0x0008 ## $a0 = 00000008 -/* 000D8 80991308 AFA5001C */ sw $a1, 0x001C($sp) -/* 000DC 8099130C 0C03CFCF */ jal func_800F3F3C -/* 000E0 80991310 AFA60018 */ sw $a2, 0x0018($sp) -/* 000E4 80991314 8FA5001C */ lw $a1, 0x001C($sp) -/* 000E8 80991318 8FA60018 */ lw $a2, 0x0018($sp) -.L8099131C: -/* 000EC 8099131C 90A21D6C */ lbu $v0, 0x1D6C($a1) ## 00001D6C -.L80991320: -/* 000F0 80991320 10400017 */ beq $v0, $zero, .L80991380 -/* 000F4 80991324 00000000 */ nop -/* 000F8 80991328 8CA41D8C */ lw $a0, 0x1D8C($a1) ## 00001D8C -/* 000FC 8099132C 10800014 */ beq $a0, $zero, .L80991380 -/* 00100 80991330 00000000 */ nop -/* 00104 80991334 94980000 */ lhu $t8, 0x0000($a0) ## 00000000 -/* 00108 80991338 24010002 */ addiu $at, $zero, 0x0002 ## $at = 00000002 -/* 0010C 8099133C 5701000D */ bnel $t8, $at, .L80991374 -/* 00110 80991340 94CA014C */ lhu $t2, 0x014C($a2) ## 0000014C -/* 00114 80991344 94C3014C */ lhu $v1, 0x014C($a2) ## 0000014C -/* 00118 80991348 30790001 */ andi $t9, $v1, 0x0001 ## $t9 = 00000000 -/* 0011C 8099134C 57200005 */ bnel $t9, $zero, .L80991364 -/* 00120 80991350 34690001 */ ori $t1, $v1, 0x0001 ## $t1 = 00000001 -/* 00124 80991354 8C88000C */ lw $t0, 0x000C($a0) ## 0000000C -/* 00128 80991358 94C3014C */ lhu $v1, 0x014C($a2) ## 0000014C -/* 0012C 8099135C A4C8014E */ sh $t0, 0x014E($a2) ## 0000014E -/* 00130 80991360 34690001 */ ori $t1, $v1, 0x0001 ## $t1 = 00000001 -.L80991364: -/* 00134 80991364 A4C9014C */ sh $t1, 0x014C($a2) ## 0000014C -/* 00138 80991368 10000005 */ beq $zero, $zero, .L80991380 -/* 0013C 8099136C 90A21D6C */ lbu $v0, 0x1D6C($a1) ## 00001D6C -/* 00140 80991370 94CA014C */ lhu $t2, 0x014C($a2) ## 0000014C -.L80991374: -/* 00144 80991374 314BFFFE */ andi $t3, $t2, 0xFFFE ## $t3 = 00000000 -/* 00148 80991378 A4CB014C */ sh $t3, 0x014C($a2) ## 0000014C -/* 0014C 8099137C 90A21D6C */ lbu $v0, 0x1D6C($a1) ## 00001D6C -.L80991380: -/* 00150 80991380 50400016 */ beql $v0, $zero, .L809913DC -/* 00154 80991384 94C8014E */ lhu $t0, 0x014E($a2) ## 0000014E -/* 00158 80991388 8CA21D90 */ lw $v0, 0x1D90($a1) ## 00001D90 -/* 0015C 8099138C 50400013 */ beql $v0, $zero, .L809913DC -/* 00160 80991390 94C8014E */ lhu $t0, 0x014E($a2) ## 0000014E -/* 00164 80991394 944C0000 */ lhu $t4, 0x0000($v0) ## 00000000 -/* 00168 80991398 24010002 */ addiu $at, $zero, 0x0002 ## $at = 00000002 -/* 0016C 8099139C 5581000C */ bnel $t4, $at, .L809913D0 -/* 00170 809913A0 94D8014C */ lhu $t8, 0x014C($a2) ## 0000014C -/* 00174 809913A4 94C3014C */ lhu $v1, 0x014C($a2) ## 0000014C -/* 00178 809913A8 306D0002 */ andi $t5, $v1, 0x0002 ## $t5 = 00000000 -/* 0017C 809913AC 55A00005 */ bnel $t5, $zero, .L809913C4 -/* 00180 809913B0 346F0002 */ ori $t7, $v1, 0x0002 ## $t7 = 00000002 -/* 00184 809913B4 8C4E000C */ lw $t6, 0x000C($v0) ## 0000000C -/* 00188 809913B8 94C3014C */ lhu $v1, 0x014C($a2) ## 0000014C -/* 0018C 809913BC A4CE014E */ sh $t6, 0x014E($a2) ## 0000014E -/* 00190 809913C0 346F0002 */ ori $t7, $v1, 0x0002 ## $t7 = 00000002 -.L809913C4: -/* 00194 809913C4 10000004 */ beq $zero, $zero, .L809913D8 -/* 00198 809913C8 A4CF014C */ sh $t7, 0x014C($a2) ## 0000014C -/* 0019C 809913CC 94D8014C */ lhu $t8, 0x014C($a2) ## 0000014C -.L809913D0: -/* 001A0 809913D0 3319FFFD */ andi $t9, $t8, 0xFFFD ## $t9 = 00000000 -/* 001A4 809913D4 A4D9014C */ sh $t9, 0x014C($a2) ## 0000014C -.L809913D8: -/* 001A8 809913D8 94C8014E */ lhu $t0, 0x014E($a2) ## 0000014E -.L809913DC: -/* 001AC 809913DC 25090001 */ addiu $t1, $t0, 0x0001 ## $t1 = 00000001 -/* 001B0 809913E0 A4C9014E */ sh $t1, 0x014E($a2) ## 0000014E -/* 001B4 809913E4 8FBF0014 */ lw $ra, 0x0014($sp) -/* 001B8 809913E8 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000 -/* 001BC 809913EC 03E00008 */ jr $ra -/* 001C0 809913F0 00000000 */ nop diff --git a/data/overlays/actors/z_demo_shd.data.s b/data/overlays/actors/z_demo_shd.data.s deleted file mode 100644 index b21e93bbe2..0000000000 --- a/data/overlays/actors/z_demo_shd.data.s +++ /dev/null @@ -1,68 +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 Demo_Shd_InitVars - .word 0x01190700, 0x00000030, 0x00010000, 0x00000154 -.word DemoShd_Init -.word DemoShd_Destroy -.word DemoShd_Update -.word DemoShd_Draw -glabel D_80991680 - .word 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000005, 0x08000000, 0x00000000, 0x00000000, 0x00000524, 0x31090000, 0x00000000, 0x00000000, 0x00041443, 0x4C120001, 0x03000000, 0x00000500, 0x072D5D88, 0x7C37100D, 0x12030000, 0x00051808, 0x2479B9D7, 0xC37C4C3A, 0x2C060000, 0x00051A0D, 0x4ABEF1FC, 0xEEAE8D79, 0x4B0A0000, 0x00041612, 0x68E0FEFF, 0xF5BBB8B6, 0x6D100000, 0x00031423, 0x84EEFFFF, 0xF4C4D1DB, 0x8A1D0300, 0x00041C3C, 0xA0F4FFFE, 0xF1DAE7E9, 0x93200400, 0x00083154, 0xB6F7FFFA, 0xF4F7FBEA, 0x84140100, 0x000C4767, 0xC3F9FCEA, 0xEAFCFFED, 0x7C0F0200, 0x000D4E77, 0xCCFAFBE5, 0xE3FAFFEE, 0x7D0F0200, 0x000A3F83, 0xD6FBFEF0, 0xE4F6FEF0, 0x84110200, 0x00052688, 0xE5FDFDF0, 0xE6F9FFEF, 0x7F100200, 0x0002147E, 0xECFFFCE6, 0xDFFAFFEC, 0x710E0200, 0x00020C65, 0xE2FEFAD9, 0xCFF7FFEA, 0x660B0200, 0x00020953, 0xD2FBFADA, 0xC9F5FFEB, 0x6B0D0200, 0x00020951, 0xCBFAFAE0, 0xD4F6FFED, 0x750F0200, 0x00020C5C, 0xD4FAF1E2, 0xEBFCFFEB, 0x740F0100, 0x00010B60, 0xDEF8DDD7, 0xF6FFFEE9, 0x690D0100, 0x00010B60, 0xE2F8D7CF, 0xF1FDFFE9, 0x5F0A0100, 0x00000C63, 0xDAFAE6D4, 0xE1F1FDE7, 0x5B0A0000, 0x00000C5F, 0xC6F8F8E1, 0xDAE9FAD9, 0x52090000, 0x00000B59, 0xB4F0FBE0, 0xD1DDF4C0, 0x44070000, 0x00000A54, 0xAFEFF3C6, 0xBBC0EDB0, 0x40070000, 0x00000B57, 0xB1E8DAA4, 0xA092DCA6, 0x45080000, 0x00000C5A, 0xAEDAB480, 0x8C68BF92, 0x40080000, 0x00000C52, 0xA2C99264, 0x814FA06F, 0x23030000, 0x00010F48, 0x97BC7B4A, 0x75459760, 0x0F000000, 0x00010E41, 0x95B46B36, 0x683E9663, 0x0D000000, 0x00000941, 0x9AAD602B, 0x5A328C64, 0x0E000000, 0x00000841, 0x989E5524, 0x54347951, 0x0B000000, 0x0000073D, 0x88834C22, 0x4F3D6330, 0x07000000, 0x0000073B, 0x73624726, 0x463E4B17, 0x0B010000, 0x00000941, 0x6748482C, 0x392A3413, 0x1C050000, 0x00000A46, 0x5D303B2E, 0x3310211B, 0x2D070000, 0x00000941, 0x4B131B2C, 0x3F0D1821, 0x33080000, 0x0000093F, 0x4109092D, 0x490D0C20, 0x32080000, 0x00000A43, 0x3F09062C, 0x450B061E, 0x2B070000, 0x00000B47, 0x410A0722, 0x3108081E, 0x20040000, 0x00000838, 0x35090C19, 0x21050920, 0x20040000, 0x00000522, 0x1F060B0A, 0x1B04061E, 0x29060000, 0x00000313, 0x0B020608, 0x28070319, 0x34090000, 0x0000020E, 0x03000108, 0x2F080214, 0x2F090000, 0x0000020D, 0x03000007, 0x2407020C, 0x0B000000, 0x00000311, 0x06010001, 0x0D010413, 0x04000000, 0x0000051C, 0x0B010001, 0x0801020C, 0x02000000, 0x00000623, 0x0D010003, 0x12030002, 0x00000000, 0x0000051D, 0x0A010005, 0x1B050000, 0x00000000, 0x0000020C, 0x03000005, 0x18050000, 0x00000000, 0x00000002, 0x00000000, 0x05000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 -glabel D_80991E80 - .word 0x2F3E56AB, 0xA4582102, 0x10417AB0, 0x805C312A, 0x32376DD4, 0xA2633907, 0x0B387DA2, 0x6D81470C, 0x3C5C60AC, 0xA5571801, 0x154C97B9, 0x68533236, 0x304276D6, 0x9B533108, 0x154A96B7, 0x7C9B400B, 0x3E756FAE, 0xAF5D1301, 0x1D59B4BF, 0x53432C38, 0x2F487DCC, 0x8A4A2406, 0x1F5DB0C8, 0x90B55110, 0x408B7FAA, 0xB76D1503, 0x286ACCBE, 0x43312030, 0x2B4C82BA, 0x77431607, 0x2B70C7D5, 0xA6B95B13, 0x409C93A6, 0xB87D1D08, 0x367FE1C1, 0x3C261629, 0x2A508AAB, 0x69410C0C, 0x3986DDDB, 0xB5AE6316, 0x40A0A7A1, 0xAA7D2610, 0x4596F1CD, 0x47281E36, 0x365C97A3, 0x63450713, 0x499DF0D8, 0xB49E721A, 0x409AB59F, 0x8A662D1C, 0x57AEFBDF, 0x6B404456, 0x536EA49B, 0x6A4D061E, 0x5CB6FCC6, 0x9A8E7F20, 0x428EBEA0, 0x623F2E2A, 0x69C6FFF0, 0x9A686569, 0x6F83AC92, 0x7F5D0B2A, 0x70CDFFB2, 0x77848D29, 0x4787C4A0, 0x401D2E3E, 0x7ED9FFFC, 0xC48F7973, 0x8598AE86, 0x9A701339, 0x85E1FFA6, 0x5E859534, 0x5189C99B, 0x2C0B3455, 0x92E9FFFA, 0xDCAB8071, 0x94ACAD7A, 0xB1882249, 0x9AF1FFB0, 0x6A8F9746, 0x6394CD8D, 0x290C416F, 0xA5EEFFF4, 0xDCB46B6D, 0xA1BFAD77, 0xB6A43A58, 0xAAF8FFC8, 0x84959963, 0x7BA4CE78, 0x351A588E, 0xB5E3F9F1, 0xCFAC6077, 0xABCFAC77, 0xA8C05A6A, 0xB2F3FFE1, 0xA3959471, 0x94B9D065, 0x473274A9, 0xBDCDECEF, 0xC2A05F86, 0xBADDAC78, 0x92D87C7D, 0xAFDEFDF1, 0xBC8C8971, 0xA6D2D45A, 0x584B95BB, 0xC1B3D5ED, 0xB8956697, 0xC5E9A670, 0x7AE6978F, 0xA4BEF0EF, 0xB9797360, 0xB1E8DD5D, 0x5D5FAFC7, 0xC49CB8E3, 0xAF8C78A5, 0xCBF19D5F, 0x6AE5A6A3, 0x9398DBE7, 0xB46A5841, 0xB8F2E871, 0x586DC1CD, 0xC78C9DD5, 0xAA878CB1, 0xD8F89249, 0x63DCABB3, 0x8576C5D8, 0xA95E4430, 0xC0EBEE91, 0x5378CACE, 0xC58087C5, 0xA4859EAE, 0xE1FD8A36, 0x60D0ACBD, 0x7765B9C5, 0x9C563A2B, 0xCED7E7B4, 0x5484C7CC, 0xB66F7CBB, 0x9F81A898, 0xE3FF8D2E, 0x63C8B0BA, 0x6D69B8B0, 0x93573B2E, 0xE0C2CED2, 0x6898C0C3, 0x97587EBC, 0x9D749570, 0xDEFF9D36, 0x67C8B4A8, 0x6682BD9B, 0x93643E37, 0xF0B4A8DE, 0x86A9B6B0, 0x70448BBE, 0x99617545, 0xD1FFB84E, 0x70CAB48C, 0x64A4BD8D, 0x96763D41, 0xFAAC82DA, 0xA7B6AE9A, 0x4D359AC0, 0x90494F27, 0xC0FFD675, 0x80CCAD6D, 0x63C1B681, 0x9C85374E, 0xFFA069C9, 0xC1BAA785, 0x3936A4B6, 0x7D342E18, 0xA9FFEEA5, 0x9AC59F56, 0x60D0A873, 0x9288315E, 0xFB8669B6, 0xD0B6A473, 0x3C47A39A, 0x6228241B, 0x8BFFF6CD, 0xB7BB8F47, 0x57CFA169, 0x77782C6B, 0xE56478AA, 0xD6AC9E64, 0x4E61977C, 0x4B232428, 0x6FFFEBE5, 0xD0AF813C, 0x44C2A266, 0x5B61296E, 0xC04188A8, 0xD4A09051, 0x5D788B61, 0x3E202234, 0x58F9D7DF, 0xDEA27332, 0x31AE9A6C, 0x3E4B2F62, 0x902688B3, 0xD0937A3F, 0x5D7D8B58, 0x37241F35, 0x46F2C5BF, 0xD7956528, 0x1E918E76, 0x3442424A, 0x601774C3, 0xCB8F6630, 0x48698261, 0x333C2729, 0x3CECBF95, 0xC2885420, 0x11717B78, 0x4952673A, 0x3D1153CD, 0xC994602F, 0x2D496F6D, 0x31674418, 0x32E7CA6C, 0xA77D4318, 0x09526672, 0x6B6F963E, 0x2B1036D0, 0xCAA26E3C, 0x1B2A5A7B, 0x3798700F, 0x2BDFD94D, 0x8C773712, 0x043C606C, 0x9086B955, 0x281225C9, 0xC7AD8954, 0x141B4085, 0x53CB9C10, 0x26D3E63A, 0x757A3B11, 0x0131666F, 0xAB87BA6A, 0x2E151FBF, 0xC1AEA16A, 0x1721388C, 0x81ECBB17, 0x23C1EE30, 0x6688561E, 0x02317381, 0xA36A9566, 0x3B171FB9, 0xB5A5AF7A, 0x1B384395, 0xABFBC81D, 0x20AAEB28, 0x61987838, 0x05358299, 0x85405D4E, 0x45181FB5, 0xA695B083, 0x1C55569C, 0xCEFFCF1E, 0x1A8CDA24, 0x62A39755, 0x0A398FAE, 0x601A2A2C, 0x49161FB1, 0x9A8BAC8A, 0x23736DA0, 0xE0FFD61E, 0x136BAF23, 0x70ABAD6D, 0x143D95BD, 0x41030D16, 0x41151DAA, 0x938BAA94, 0x2E8A8BA7, 0xE6FFD921, 0x0C4A7D2D, 0x7CACAB70, 0x244093C3, 0x38020F11, 0x2F151CA3, 0x9293ABA1, 0x3995AAB7, 0xEDF7D924, 0x072F5842, 0x83AE9C66, 0x3F498EC7, 0x420D2812, 0x1E151F9B, 0x989CB0B2, 0x4697C5CE, 0xF5F0D626, 0x061B435B, 0x85B18A5B, 0x5F568BCD, 0x54245213, 0x12172593, 0x9FA1BAC0, 0x5291D4E1, 0xFAF0D123, 0x0711416F, 0x82B2765B, 0x84668FCB, 0x684D8212, 0x1318308A, 0xA3A2C2C6, 0x5F88D3EE, 0xFEF6C81B, 0x0B104276, 0x85B06A72, 0xA97896C3, 0x7C81AC19, 0x24194083, 0xA2A0C6C4, 0x6A82CCF1, 0xFFFFB910, 0x14173E77, 0x8BAE6992, 0xC6879BB4, 0x92B3C933, 0x3C1D4F7D, 0x9DA2CCBE, 0x7381C6E6, 0xFFFFB111, 0x26233975, 0x92AF6DAF, 0xDB949AA3, 0xADDBDD64, 0x5927597B, 0x99AAD4B9, 0x7687C6D5, 0xFCFFB736, 0x432D3A78, 0x98B371BD, 0xE5A0989E, 0xCCF2EAA0, 0x753C5C80, 0x9DB9E3BC, 0x7896CFBF, 0xF6FFCB72, 0x64323F81, 0x9CBC70B4, 0xE3AC9EAD, 0xE6FBF6CF, 0x8B5C5C85, 0xA7C8F4C2, 0x7AA6D9A3, 0xF0FFE2A9, 0x8032448D, 0xA4C970A0, 0xDBB5AAC6, 0xF7FEFDE7, 0xA3806187, 0xB0D6FFC9, 0x7FB5D686, 0xE7FFF0D2, 0x8D2F4E98, 0xABD7768D, 0xCFB9B4E1, 0xF8F8FFE7, 0xB29B7089, 0xB7E4FFCD, 0x8CB8BF65, 0xD5FFF0D7, 0x8D34609D, 0xB4E48385, 0xC3BAB0F1, 0xE2E8FEDC, 0xB5A07A8D, 0xBDEFFFD0, 0x9AAB9543, 0xB9FFE9C3, 0x80447497, 0xC0EF9C90, 0xBDB997E5, 0xC2CCFBD4, 0xAB8F7387, 0xC8F8FFD4, 0xA4936324, 0x98FFE5B3, 0x6F577E8A, 0xCEFABCA8, 0xC0BC71C7, 0x9EADF4D2, 0x916D5D7B, 0xD4FEFFD6, 0xA575390F, 0x76FFE4A6, 0x656A7F7D, 0xDDFFDABF, 0xC8BF4CA1, 0x8095E8CC, 0x744A3B66, 0xDAFFFFD6, 0x9D5B1E04, 0x5DFDDF9A, 0x6075787A, 0xECFFF1CD, 0xCEC42E7C, 0x7087D6BF, 0x5A311F49, 0xD4FFFFD0, 0x8E4B1100, 0x50F7D892, 0x68767788, 0xF6FFFDCE, 0xCDC31E65, 0x6E88C3A8, 0x4922153A, 0xC3FFFDC4, 0x7F410B03, 0x4BEED08B, 0x747682A0, 0xFDFFFEBF, 0xBCB61456, 0x7792B18B, 0x3E19153D, 0xB5FFF8B2, 0x733B0908, 0x4DE0C487, 0x827797BC, 0xFFFFF8AB, 0x9E9B0E50, 0x869E9F6E, 0x3714184D, 0xB5FFF09E, 0x67380C11, 0x56CFB285, 0x8F7EADD4, 0xFFFFED96, 0x78730A53, 0x9CA98F57, 0x310F1C69, 0xC8FFE18A, 0x5D35161D, 0x64BC9E84, 0x978BBFE7, 0xFFFFDD81, 0x5348075A, 0xB5B07F48, 0x290A2088, 0xE1FFCF75, 0x5335272B, 0x74AD877F, 0x9C9DCFF3, 0xFFFEC86E, 0x35260864, 0xC6B16F3E, 0x200422A6, 0xF8FCB95F, 0x47373A3C, 0x86A36F73, 0x9FB0D9FA, 0xFFF7B15B, 0x21110E70, 0xCDAB6139, 0x160027C1, 0xFFF09F4C, 0x3B3A4B4D, 0x989D5B5D, 0x9DB5D9FE, 0xFFEA994C, 0x1509177B, 0xC8A15C3C, 0x0E022BD1, 0xFFE1873B, 0x2F3E5460, 0xA8954F44, 0x96A6CEFF, 0xFFD7823C, 0x0C0A2784, 0xB9956343, 0x0B0731DB, 0xFFCE722C, 0x22415672, 0xB58C4A31, 0x8A88BAFF, 0xFAC56E2E, 0x060F398F, 0xA989764A, 0x0A0C3AE1, 0xFFB85F20, 0x17425787, 0xBF824826, 0x775FA3FF, 0xF1B66121, 0x03164B98, 0x9A818E4A, 0x0A1040D4, 0xE8974D14, 0x11405495, 0xBB74401F, 0x603D86F1, 0xD7A35414, 0x02195694, 0x8476943E, 0x171A46C5, 0xCC7D3D0C, 0x0D3E599E, 0xAE6C371C, 0x4A2D72E3, 0xC38F4C0E, 0x03205F96, 0x766A792A, 0x242B4FB8, 0xB66A2E06, 0x0D3E66AA, 0x9B663322, 0x3B2D6CDD, 0xB47B450A, 0x062B6E9C, 0x6E705D17 -glabel D_80992680 - .word 0x01950624, 0xF9950000, 0x0191F272, 0x007800FF, 0x01D605D0, 0xF8F90000, 0x0200F155, 0x007800FF, 0x00CF0520, 0xFB760000, 0x00FBF2D8, 0x007800FF, 0x00CF0334, 0xFB760000, 0x003DF2CB, 0x007800FF, 0x03CD0334, 0xFCB10000, 0x0200F51C, 0x007800FF, 0x00CF0520, 0xFB760000, 0x00FCF2D8, 0x007800FF, 0x03CD0520, 0xFCB10000, 0x0200F439, 0x007800FF, 0x053C03F4, 0xFF2F0000, 0x0200FE39, 0x007800FF, 0x053C00DC, 0xFF2F0000, 0x0200FBC7, 0x007800FF, 0x03AB0208, 0xFF2F0000, 0x00C9FA84, 0x007800FF, 0x03AB00DC, 0xFF2F0000, 0x0187FA91, 0x007800FF, 0x04C700B1, 0x033F0000, 0x000006AB, 0x007800FF, 0x051D00DC, 0x033F0000, 0x008F068F, 0x007800FF, 0x04C701F4, 0x033F0000, 0x00000555, 0x007800FF, 0x074F00DC, 0x033F0000, 0x02000639, 0x007800FF, 0x03CD0520, 0xFCB10000, 0x0200F439, 0x007800FF, 0x02640624, 0xF9EA0000, 0x0200F31C, 0x007800FF, 0x02640624, 0xF9EA0000, 0x0200F31C, 0x007800FF, 0x034703F4, 0xFF2F0000, 0x008FFD8E, 0x007800FF, 0x064204F8, 0x01380000, 0x0200011C, 0x007800FF, 0x03470498, 0x00770000, 0x0000FEE4, 0x007800FF, 0x03B904F8, 0x01380000, 0x00000072, 0x007800FF, 0x04C703F6, 0x033F0000, 0x00000355, 0x007800FF, 0x074F03F6, 0x033F0000, 0x02000355, 0x007800FF, 0x02B30208, 0xFF2F0000, 0x0000FA00, 0x007800FF, 0x034702A4, 0x00770000, 0x0000FC39, 0x007800FF, 0x03470208, 0xFF2F0000, 0x007FFA54, 0x007800FF, 0x077100DC, 0x04020000, 0x018C09B1, 0x007800FF, 0x067A00DC, 0x04910000, 0x006509B7, 0x007800FF, 0x07710127, 0x04020000, 0x019A0A39, 0x007800FF, 0x067A0127, 0x04910000, 0x00660A39, 0x007800FF, 0x077B0127, 0x04810000, 0x019A0B55, 0x007800FF -glabel D_80992880 - .word 0x07710127, 0x04020000, 0x019A0A39, 0x007800FF, 0x07940127, 0x04170000, 0x02000A72, 0x007800FF, 0x077100DC, 0x04020000, 0x018C09B1, 0x007800FF, 0x079400DC, 0x04170000, 0x02000A00, 0x007800FF, 0x067A00DC, 0x04910000, 0x006509B7, 0x007800FF, 0x067A00DC, 0x04BF0000, 0x00000A00, 0x007800FF, 0x067A0127, 0x04910000, 0x00660A39, 0x007800FF, 0x067A0127, 0x04BF0000, 0x00000A72, 0x007800FF, 0x07B00127, 0x04940000, 0x02000B8E, 0x007800FF, 0x077B0127, 0x04810000, 0x019A0B55, 0x007800FF, 0x06E30127, 0x04D90000, 0x00660B55, 0x007800FF, 0x06D90127, 0x050F0000, 0x00000B8E, 0x007800FF, 0x03CD0334, 0xFCB10000, 0x0200F51C, 0x007800FF, 0x00CF0334, 0xFB760000, 0x003DF2CB, 0x007800FF, 0x03CD0208, 0xFCB10000, 0x0200F6AB, 0x007800FF, 0x008E0208, 0xFB5B0000, 0x0000F439, 0x007800FF, 0x045C0208, 0xFD820000, 0x0200F7C7, 0x007800FF, 0x03AB0208, 0xFF2F0000, 0x00C9FA84, 0x007800FF, 0x045C00DC, 0xFD820000, 0x0200F91C, 0x007800FF, 0x03AB00DC, 0xFF2F0000, 0x0187FA91, 0x007800FF, 0x051D00DC, 0x033F0000, 0x008F068F, 0x007800FF, 0x077300DC, 0x03980000, 0x0200091C, 0x007800FF, 0x074F00DC, 0x033F0000, 0x02000639, 0x007800FF, 0x04C700B1, 0x033F0000, 0x000006AB, 0x007800FF, 0x051D00DC, 0x038E0000, 0x0000071C, 0x007800FF, 0x078C00DC, 0x03F70000, 0x020009C7, 0x007800FF, 0x053C00DC, 0xFF2F0000, 0x0200FBC7, 0x007800FF, 0x066400DC, 0x04AA0000, 0x000009C7, 0x007800FF, 0x02B30208, 0xFF2F0000, 0x0000FA00, 0x007800FF, 0x03470208, 0xFF2F0000, 0x007FFA54, 0x007800FF, 0x077BFF38, 0x04810000, 0x019A1000, 0x007800FF, 0x07B0FF38, 0x04940000, 0x02001000, 0x007800FF -glabel D_80992A80 - .word 0x077B0127, 0x04810000, 0x019A0B55, 0x007800FF, 0x07B0FF38, 0x04940000, 0x02001000, 0x007800FF, 0x07B00127, 0x04940000, 0x02000B8E, 0x007800FF, 0x06E30127, 0x04D90000, 0x00660B55, 0x007800FF, 0x06E3FF38, 0x04D90000, 0x00661000, 0x007800FF, 0x077BFF38, 0x04810000, 0x019A1000, 0x007800FF, 0x06D90127, 0x050F0000, 0x00000B8E, 0x007800FF, 0x06D9FF38, 0x050F0000, 0x00001000, 0x007800FF, 0x053C03F4, 0xFF2F0000, 0x0200FE39, 0x007800FF, 0x03AB0208, 0xFF2F0000, 0x00C9FA84, 0x007800FF, 0x034703F4, 0xFF2F0000, 0x008FFD8E, 0x007800FF, 0x03470208, 0xFF2F0000, 0x007FFA54, 0x007800FF, 0x034702A4, 0x00770000, 0x0000FC39, 0x007800FF, 0x03470498, 0x00770000, 0x0000FEE4, 0x007800FF, 0x045C0208, 0xFD820000, 0x0200F7C7, 0x007800FF, 0x01D50334, 0xF8F90000, 0x0200F000, 0x007800FF, 0x00CF0334, 0xFB760000, 0x003DF2CB, 0x007800FF, 0x00CF0520, 0xFB760000, 0x00FBF2D8, 0x007800FF, 0x01D605D0, 0xF8F90000, 0x0200F155, 0x007800FF, 0x04C703F6, 0x033F0000, 0x00000355, 0x007800FF, 0x04C701F4, 0x033F0000, 0x00000555, 0x007800FF, 0x074F03F6, 0x033F0000, 0x02000355, 0x007800FF, 0x074F00DC, 0x033F0000, 0x02000639, 0x007800FF, 0x008E0208, 0xFB5B0000, 0x0000F439, 0x007800FF, 0x008E0334, 0xFB5B0000, 0x0000F2AB, 0x007800FF, 0xFFB40334, 0xF99F0000, 0x0000F000, 0x007800FF -glabel D_80992C20 - .word 0x067A0127, 0x04910000, 0x00CD051C, 0x007800FF, 0x06E30127, 0x04D90000, 0x00CD05AB, 0x007800FF, 0x077B0127, 0x04810000, 0x033305AB, 0x007800FF -glabel D_80992C50 - .word 0xFE7B0320, 0xF8A40000, 0x00661000, 0x2E0092FF, 0xFC230320, 0xF7AD0000, 0x02001000, 0x2E0092FF, 0xFE7B0520, 0xF8A40000, 0x00660E05, 0x2B2998FF, 0xFC230520, 0xF7AD0000, 0x02000C6F, 0x1C5EBCFF, 0xFA2D05F1, 0xF8A10000, 0x02000A74, 0x146BCFFF, 0xFA0A0625, 0xF9040000, 0x01B009E6, 0x0776EEFF, 0xFC400625, 0xF9ED0000, 0x00000B71, 0x0776EEFF, 0xFE510558, 0xF90A0000, 0x00000D9F, 0x146BCFFF, 0xF2210080, 0x07E10000, 0x0200DE11, 0x007800FF, 0xF2DE006E, 0x07150000, 0x0200DC49, 0x007800FF, 0xF1B100AB, 0x05350000, 0x0000DC49, 0x007800FF, 0xF64E0014, 0x04460000, 0x0000D8EB, 0x007800FF, 0xF04E00C9, 0x06E90000, 0x0000DE11, 0x007800FF, 0xEFA900D2, 0x0A360000, 0x0000E03F, 0x007800FF, 0xF1F40084, 0x09310000, 0x0200E03F, 0x007800FF, 0xF5A10014, 0x068E0000, 0x01FCD9E8, 0x007800FF, 0xEE220106, 0x0AE30000, 0x0000ED20, 0x007800FF, 0xEDB40115, 0x0A760000, 0x0000EDB9, 0x007800FF, 0xEBD00155, 0x0AB10000, 0x0200EE51, 0x007800FF, 0xEBB6015F, 0x081F0000, 0x0200F0E4, 0x007800FF, 0xEC7B013E, 0x0B9F0000, 0x0200ED20, 0x007800FF, 0xED9A011B, 0x076B0000, 0x0000EFE7, 0x007800FF, 0xEDD30123, 0x06C00000, 0x0000F0E4, 0x007800FF, 0xF8560014, 0x03DC0000, 0x0000D722, 0x007800FF, 0xF8E00014, 0x05EC0000, 0x0200D722, 0x007800FF, 0xFF8C0014, 0x038B0000, 0x0000D0FE, 0x007800FF, 0xFF030014, 0x038C0000, 0x0000D196, 0x007800FF, 0xFEFB0014, 0x05B40000, 0x0200D196, 0x007800FF, 0xFB5B0014, 0x05BA0000, 0x0200D48F, 0x007800FF, 0x00690014, 0x03890000, 0x0000D000, 0x007800FF, 0xFFD60014, 0x038A0000, 0x0000D098, 0x007800FF, 0x00700014, 0x04BB0000, 0x0100D000, 0x007800FF -glabel D_80992E50 - .word 0xFA370522, 0xF8AE0000, 0x02000A74, 0x4D561FFF, 0xF7930712, 0xF9ED0000, 0x0200067D, 0x495628FF, 0xF9540520, 0xFAE90000, 0x00B50828, 0x475331FF, 0xEFE10864, 0xFF330000, 0x0200FCFA, 0x2C5D3DFF, 0xED05072C, 0x02DE0000, 0x0200F975, 0x2C5D3DFF, 0xEEAF05CB, 0x04010000, 0x0000F86C, 0x2C5D3DFF, 0xEBC605BE, 0x06040000, 0x0200F6D0, 0x2C5D3DFF, 0xEBA604EC, 0x07800000, 0x0200F50D, 0x2C5D3DFF, 0xEBB4047D, 0x08200000, 0x0200F475, 0x2C5D3DFF, 0xEDD10464, 0x06C10000, 0x0000F475, 0x2C5D3DFF, 0xF67506C0, 0xFC8C0000, 0x00000384, 0x49552AFF, 0xF9310502, 0xFB550000, 0x00000715, 0x652F2CFF, 0xF9BF0208, 0xFB150000, 0x00000878, 0xD2006EFF, 0xF9BF0520, 0xFB150000, 0x00000943, 0xD52968FF, 0xF9540208, 0xFAE90000, 0x0056082A, 0xD2006EFF, 0xF9540520, 0xFAE90000, 0x00B50828, 0xD2006EFF, 0xF9540208, 0xFAE90000, 0x0056082A, 0x007800FF, 0xF9310208, 0xFB550000, 0x000007E0, 0x007800FF, 0xF9BF0208, 0xFB150000, 0x00000878, 0x007800FF, 0xFC400625, 0xF9ED0000, 0x00000B71, 0x0776EEFF, 0xFA0A0625, 0xF9040000, 0x01B009E6, 0x0776EEFF, 0xFE510320, 0xF90A0000, 0x00001000, 0x6E002EFF, 0xFE7B0520, 0xF8A40000, 0x00660E05, 0x6E002EFF, 0xFE510558, 0xF90A0000, 0x00000D9F, 0x6E002EFF, 0xFE7B0320, 0xF8A40000, 0x00661000, 0x6E002EFF, 0xF9540208, 0xFAE90000, 0x0056082A, 0x720025FF, 0xF9310208, 0xFB550000, 0x000007E0, 0x720025FF, 0xF5170894, 0xFB2D0000, 0x020002EC, 0x3B5A34FF, 0xF5E80702, 0xFCFA0000, 0x000002B9, 0x3B5A34FF, 0xF5630870, 0xFAF50000, 0x02000352, 0x48552AFF -glabel D_80993030 - .word 0xEBB4047D, 0x08200000, 0x0200F475, 0x007800FF, 0xEBB6015F, 0x081F0000, 0x0200F0E4, 0x007800FF, 0xEDD30123, 0x06C00000, 0x0000F0E4, 0x007800FF, 0xEDD10464, 0x06C10000, 0x0000F475, 0x007800FF, 0xEE220106, 0x0AE30000, 0x0000ED20, 0x007800FF, 0xEC7B013E, 0x0B9F0000, 0x0200ED20, 0x007800FF, 0xEC7B0470, 0x0B9F0000, 0x0200E95D, 0x007800FF, 0xEE220458, 0x0AE30000, 0x0000E95D, 0x007800FF, 0xF1F40421, 0x09310000, 0x0200E39E, 0x007800FF, 0xF1F40084, 0x09310000, 0x0200E03F, 0x007800FF, 0xEFA900D2, 0x0A360000, 0x0000E03F, 0x007800FF, 0xEFA90442, 0x0A360000, 0x0000E39E, 0x007800FF, 0xFB5B0014, 0x05BA0000, 0x0200D48F, 0x007800FF, 0xFB560014, 0x03920000, 0x0000D4C1, 0x007800FF, 0xF9D70014, 0x05BC0000, 0x0200D624, 0x007800FF, 0xFF030014, 0x038C0000, 0x0000D196, 0x007800FF, 0xF9B60014, 0x03950000, 0x0000D5F2, 0x007800FF, 0xF8560014, 0x03DC0000, 0x0000D722, 0x007800FF, 0xF8E00014, 0x05EC0000, 0x0200D722, 0x007800FF, 0xEEAF05CB, 0x04010000, 0x0000F86C, 0x2C5D3DFF, 0xF1A206D4, 0x00510000, 0x0000FD93, 0x2C5D3DFF, 0xEFE10864, 0xFF330000, 0x0200FCFA, 0x2C5D3DFF, 0xF1C708A9, 0xFD6F0000, 0x0200FF8E, 0x2C5D3DFF, 0xF5E80702, 0xFCFA0000, 0x000002B9, 0x3B5A34FF, 0xF5E80702, 0xFCFA0000, 0x000002B9, 0x3B5A34FF, 0xF5170894, 0xFB2D0000, 0x020002EC, 0x3B5A34FF, 0xEC7B0470, 0x0B9F0000, 0x0200E95D, 0x007800FF, 0xECF404FF, 0x0C470000, 0x0200E837, 0x007800FF, 0xEE220458, 0x0AE30000, 0x0000E95D, 0x007800FF, 0xEEA304A7, 0x0B2A0000, 0x0000E7ED, 0x007800FF, 0xEE7805EF, 0x0D200000, 0x0200E710, 0x007800FF -glabel D_80993220 - .word 0xEE7805EF, 0x0D200000, 0x0200E710, 0x007800FF, 0xF0740603, 0x0C860000, 0x0200E5EA, 0x007800FF, 0xEF4704A9, 0x0AF10000, 0x0000E67D, 0x007800FF, 0xEEA304A7, 0x0B2A0000, 0x0000E7ED, 0x007800FF, 0xF1C50539, 0x0AE10000, 0x0200E4C4, 0x007800FF, 0xEF95047F, 0x0A970000, 0x0000E50D, 0x007800FF, 0xF1F40421, 0x09310000, 0x0200E39E, 0x007800FF, 0xEFA90442, 0x0A360000, 0x0000E39E, 0x007800FF -glabel D_809932A0 - .word 0x00750014, 0x05B20000, 0x0400E800, 0x007800FF, 0x00700014, 0x04BB0000, 0x0200E800, 0x007800FF, 0xFEFB0014, 0x05B40000, 0x0400E8CB, 0x007800FF -glabel D_809932D0 - .word 0xE7000000, 0x00000000, 0xE3001001, 0x00000000, 0xD7000002, 0xFFFFFFFF, 0xFD900000 -.word D_80991680 -.word 0xF5900000, 0x0701C640, 0xE6000000, 0x00000000, 0xF3000000, 0x073FF400, 0xE7000000, 0x00000000, 0xF5880400, 0x0001C640, 0xF2000000, 0x0003C1FC, 0xFD900000 -.word D_80991E80 -.word 0xF5900100, 0x0701BC50, 0xE6000000, 0x00000000, 0xF3000000, 0x073FF200, 0xE7000000, 0x00000000, 0xF5880900, 0x0101BC50, 0xF2000000, 0x0107C0FC, 0xFC71ABFF, 0x5FFEE238, 0xE200001C, 0x0C1849D8, 0xD9F2FFFF, 0x00000000, 0xD9FFFFFF, 0x00020400, 0xFA000000, 0x003264FF, 0xFB000000, 0x32140080, 0xDF000000, 0x00000000 -glabel D_80993390 - .word 0x01020040 -.word D_80992680 -.word 0x06000204, 0x0006080A, 0x06080C0A, 0x000E1012, 0x06101412, 0x0016181A, 0x06181C1A, 0x001E2004, 0x06200004, 0x00220200, 0x060E2426, 0x00242826, 0x06282A26, 0x002C2E2A, 0x062E262A, 0x00303234, 0x0636383A, 0x00383C3A, 0x063A3C3E, 0x00343224, 0x01020040 -.word D_80992880 -.word 0x06000204, 0x00020604, 0x06080A0C, 0x000A0E0C, 0x06020010, 0x00001210, 0x060C0E14, 0x000E1614, 0x06181A1C, 0x001A1E1C, 0x06202224, 0x00222624, 0x06080428, 0x00042A28, 0x062A2C28, 0x002E3028, 0x06322A04, 0x00063204, 0x06342426, 0x00303628, 0x06360828, 0x00360A08, 0x06383A1E, 0x003A201E, 0x06201C1E, 0x00123C3E, 0x0101A034 -.word D_80992A80 -.word 0x06000204, 0x0006080A, 0x06060A00, 0x000C0E08, 0x060C0806, 0x00101214, 0x06121614, 0x0014181A, 0x061C1612, 0x001E2022, 0x061E2224, 0x0026282A, 0x06282C2A, 0x002E2030, 0x061E3220, 0x00323020, 0x01003006 -.word D_80992C20 -.word 0x05000204, 0x00000000, 0xDF000000, 0x00000000 -glabel D_809934B8 - .word 0x01020040 -.word D_80992C50 -.word 0x06000204, 0x00020604, 0x06080A06, 0x000A0C06, 0x060C0E06, 0x000E0406, 0x06101214, 0x00121614, 0x06141810, 0x00181A10, 0x061A1C10, 0x00121E16, 0x06202224, 0x00222624, 0x06242820, 0x00222A26, 0x062A2C26, 0x002E1630, 0x06161E30, 0x00323436, 0x06343836, 0x003A3C3E, 0x063E3C36, 0x003C3236, 0x01020040 -.word D_80992E50 -.word 0x06000204, 0x0006080A, 0x06080C0A, 0x000C0E0A, 0x060E100A, 0x0010120A, 0x06141602, 0x00160402, 0x06181A1C, 0x001A1E1C, 0x06202224, 0x00041A26, 0x06042628, 0x002A2C2E, 0x062A302C, 0x00163204, 0x06163432, 0x0036383A, 0x0638143A, 0x0014023A, 0x01020040 -.word D_80993030 -.word 0x06000204, 0x00000406, 0x06080A0C, 0x00080C0E, 0x06101214, 0x00101416, 0x06181A1C, 0x00181E1A, 0x061A201C, 0x0020221C, 0x0622241C, 0x0026282A, 0x06282C2A, 0x00282E2C, 0x0630322C, 0x00343638, 0x06363A38, 0x00363C3A, 0x01008010 -.word D_80993220 -.word 0x06000204, 0x00000406, 0x0602080A, 0x00020A04, 0x06080C0E, 0x00080E0A, 0x01003006 -.word D_809932A0 -.word 0x05000204, 0x00000000, 0xDF000000, 0x00000000 - diff --git a/data/overlays/actors/z_demo_shd.reloc.s b/data/overlays/actors/z_demo_shd.reloc.s deleted file mode 100644 index f437d3ef9f..0000000000 --- a/data/overlays/actors/z_demo_shd.reloc.s +++ /dev/null @@ -1,13 +0,0 @@ -.include "macro.inc" - - # assembler directives - .set noat # allow manual use of $at - .set noreorder # don't insert nops after branches - .set gp=64 # allow use of 64-bit general purpose registers - -.section .rodata - -.balign 16 - -glabel D_80993630 - .incbin "baserom/ovl_Demo_Shd", 0x2400, 0x00000090 diff --git a/include/functions.h b/include/functions.h index 6763d68075..e16fb3a58c 100644 --- a/include/functions.h +++ b/include/functions.h @@ -2178,7 +2178,7 @@ void func_800ED858(u8); // ? func_800F3990(?); // ? func_800F3A08(?); // ? func_800F3ED4(?); -// ? func_800F3F3C(?); +void func_800F3F3C(u8); // ? func_800F3F84(?); void func_800F4010(Vec3f*, u16, f32); void func_800F4138(Vec3f*, u16, f32); diff --git a/spec b/spec index fb7a820afd..598e56d780 100644 --- a/spec +++ b/spec @@ -1608,8 +1608,7 @@ endseg beginseg name "ovl_Demo_Shd" include "build/src/overlays/actors/ovl_Demo_Shd/z_demo_shd.o" - include "build/data/overlays/actors/z_demo_shd.data.o" - include "build/data/overlays/actors/z_demo_shd.reloc.o" + include "build/src/overlays/actors/ovl_Demo_Shd/ovl_Demo_Shd_reloc.o" endseg beginseg diff --git a/src/overlays/actors/ovl_Demo_Shd/z_demo_shd.c b/src/overlays/actors/ovl_Demo_Shd/z_demo_shd.c index 197df9322a..518284760e 100644 --- a/src/overlays/actors/ovl_Demo_Shd/z_demo_shd.c +++ b/src/overlays/actors/ovl_Demo_Shd/z_demo_shd.c @@ -17,7 +17,6 @@ void DemoShd_Draw(Actor* thisx, GlobalContext* globalCtx); void func_80991298(DemoShd* this, GlobalContext* globalCtx); -/* const ActorInit Demo_Shd_InitVars = { ACTOR_DEMO_SHD, ACTORTYPE_ITEMACTION, @@ -29,16 +28,102 @@ const ActorInit Demo_Shd_InitVars = { (ActorFunc)DemoShd_Update, (ActorFunc)DemoShd_Draw, }; -*/ -#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Demo_Shd/DemoShd_SetupAction.s") +#include "z_demo_shd_gfxdata.c" -#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Demo_Shd/DemoShd_Init.s") +void DemoShd_SetupAction(DemoShd* this, DemoShdActionFunc actionFunc) { + this->actionFunc = actionFunc; +} -#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Demo_Shd/DemoShd_Destroy.s") +void DemoShd_Init(Actor* thisx, GlobalContext* globalCtx) { + DemoShd* this = THIS; -#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Demo_Shd/func_80991298.s") + this->unk_14C = 0; + DemoShd_SetupAction(this, func_80991298); + Actor_SetScale(&this->actor, 0.4f); + this->actor.posRot.pos.y = 0.0f; + this->actor.posRot.pos.x = 0.0f; +} -#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Demo_Shd/DemoShd_Update.s") +void DemoShd_Destroy(Actor* thisx, GlobalContext* globalCtx) { +} -#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Demo_Shd/DemoShd_Draw.s") +void func_80991298(DemoShd* this, GlobalContext* globalCtx) { + if ((globalCtx->csCtx.state != 0 && globalCtx->csCtx.npcActions[0] != NULL) || + (globalCtx->csCtx.state != 0 && globalCtx->csCtx.npcActions[1] != NULL)) { + if (globalCtx->csCtx.frames == 800) { + func_800F3F3C(9); + } + if (globalCtx->csCtx.frames == 1069) { + func_800F3F3C(8); + } + } + + if (globalCtx->csCtx.state != 0) { + CsCmdActorAction* npcAction0 = globalCtx->csCtx.npcActions[0]; + + if (npcAction0 != NULL) { + if (npcAction0->action == 2) { + if (!(this->unk_14C & 1)) { + this->unk_14E = npcAction0->startPos.x; + } + this->unk_14C |= 1; + } else { + this->unk_14C &= ~1; + } + } + } + + if (globalCtx->csCtx.state != 0) { + CsCmdActorAction* npcAction1 = globalCtx->csCtx.npcActions[1]; + + if (npcAction1 != NULL) { + if (npcAction1->action == 2) { + if (!(this->unk_14C & 2)) { + this->unk_14E = npcAction1->startPos.x; + } + this->unk_14C |= 2; + } else { + this->unk_14C &= ~2; + } + } + } + + this->unk_14E++; +} + +void DemoShd_Update(Actor* thisx, GlobalContext* globalCtx) { + DemoShd* this = THIS; + + this->actionFunc(this, globalCtx); +} + +void DemoShd_Draw(Actor* thisx, GlobalContext* globalCtx) { + DemoShd* this = THIS; + s32 pad; + u32 unk_14E = this->unk_14E; + + if (1) {}; // Necessary to match, can be anywhere in the function + + OPEN_DISPS(globalCtx->state.gfxCtx, "../z_demo_shd.c", 726); + + func_80093D84(globalCtx->state.gfxCtx); + + gSPMatrix(oGfxCtx->polyXlu.p++, Matrix_NewMtx(globalCtx->state.gfxCtx, "../z_demo_shd.c", 729), + G_MTX_NOPUSH | G_MTX_LOAD | G_MTX_MODELVIEW); + gSPDisplayList(oGfxCtx->polyXlu.p++, D_809932D0); + + if (this->unk_14C & 1) { + gSPDisplayList(oGfxCtx->polyXlu.p++, + Gfx_TwoTexScroll(globalCtx->state.gfxCtx, 0, 0, 0x3FF - ((unk_14E * 5) & 0x3FF), 16, 256, 1, 0, + 255 - ((unk_14E * 5) & 255), 32, 32)); + gSPDisplayList(oGfxCtx->polyXlu.p++, D_80993390); + } else if (this->unk_14C & 2) { + gSPDisplayList(oGfxCtx->polyXlu.p++, + Gfx_TwoTexScroll(globalCtx->state.gfxCtx, 0, 0, 0x3FF - ((unk_14E * 5) & 0x3FF), 16, 256, 1, 0, + 255 - ((unk_14E * 5) & 255), 32, 32)); + gSPDisplayList(oGfxCtx->polyXlu.p++, D_809934B8); + } + + CLOSE_DISPS(globalCtx->state.gfxCtx, "../z_demo_shd.c", 762); +} diff --git a/src/overlays/actors/ovl_Demo_Shd/z_demo_shd.h b/src/overlays/actors/ovl_Demo_Shd/z_demo_shd.h index 826de4492f..3e09bcbc48 100644 --- a/src/overlays/actors/ovl_Demo_Shd/z_demo_shd.h +++ b/src/overlays/actors/ovl_Demo_Shd/z_demo_shd.h @@ -10,8 +10,8 @@ typedef void (*DemoShdActionFunc)(struct DemoShd*, GlobalContext*); typedef struct DemoShd { /* 0x0000 */ Actor actor; - /* 0x014C */ s16 unk_14C; - /* 0x014E */ s16 unk_14E; + /* 0x014C */ u16 unk_14C; + /* 0x014E */ u16 unk_14E; /* 0x0150 */ DemoShdActionFunc actionFunc; } DemoShd; // size = 0x0154 diff --git a/src/overlays/actors/ovl_Demo_Shd/z_demo_shd_gfxdata.c b/src/overlays/actors/ovl_Demo_Shd/z_demo_shd_gfxdata.c new file mode 100644 index 0000000000..71e4b692dc --- /dev/null +++ b/src/overlays/actors/ovl_Demo_Shd/z_demo_shd_gfxdata.c @@ -0,0 +1,432 @@ +#include +#include + +UNK_TYPE D_80991680[] = { + 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, + 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, + 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, + 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, + 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, + 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, + 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, + 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, + 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, + 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, + 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, + 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, + 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, + 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, + 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, + 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, + 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, + 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, + 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, + 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, + 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, + 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, + 0x00000000, 0x00000000, 0x00000000, 0x00000005, 0x08000000, 0x00000000, 0x00000000, 0x00000524, 0x31090000, + 0x00000000, 0x00000000, 0x00041443, 0x4C120001, 0x03000000, 0x00000500, 0x072D5D88, 0x7C37100D, 0x12030000, + 0x00051808, 0x2479B9D7, 0xC37C4C3A, 0x2C060000, 0x00051A0D, 0x4ABEF1FC, 0xEEAE8D79, 0x4B0A0000, 0x00041612, + 0x68E0FEFF, 0xF5BBB8B6, 0x6D100000, 0x00031423, 0x84EEFFFF, 0xF4C4D1DB, 0x8A1D0300, 0x00041C3C, 0xA0F4FFFE, + 0xF1DAE7E9, 0x93200400, 0x00083154, 0xB6F7FFFA, 0xF4F7FBEA, 0x84140100, 0x000C4767, 0xC3F9FCEA, 0xEAFCFFED, + 0x7C0F0200, 0x000D4E77, 0xCCFAFBE5, 0xE3FAFFEE, 0x7D0F0200, 0x000A3F83, 0xD6FBFEF0, 0xE4F6FEF0, 0x84110200, + 0x00052688, 0xE5FDFDF0, 0xE6F9FFEF, 0x7F100200, 0x0002147E, 0xECFFFCE6, 0xDFFAFFEC, 0x710E0200, 0x00020C65, + 0xE2FEFAD9, 0xCFF7FFEA, 0x660B0200, 0x00020953, 0xD2FBFADA, 0xC9F5FFEB, 0x6B0D0200, 0x00020951, 0xCBFAFAE0, + 0xD4F6FFED, 0x750F0200, 0x00020C5C, 0xD4FAF1E2, 0xEBFCFFEB, 0x740F0100, 0x00010B60, 0xDEF8DDD7, 0xF6FFFEE9, + 0x690D0100, 0x00010B60, 0xE2F8D7CF, 0xF1FDFFE9, 0x5F0A0100, 0x00000C63, 0xDAFAE6D4, 0xE1F1FDE7, 0x5B0A0000, + 0x00000C5F, 0xC6F8F8E1, 0xDAE9FAD9, 0x52090000, 0x00000B59, 0xB4F0FBE0, 0xD1DDF4C0, 0x44070000, 0x00000A54, + 0xAFEFF3C6, 0xBBC0EDB0, 0x40070000, 0x00000B57, 0xB1E8DAA4, 0xA092DCA6, 0x45080000, 0x00000C5A, 0xAEDAB480, + 0x8C68BF92, 0x40080000, 0x00000C52, 0xA2C99264, 0x814FA06F, 0x23030000, 0x00010F48, 0x97BC7B4A, 0x75459760, + 0x0F000000, 0x00010E41, 0x95B46B36, 0x683E9663, 0x0D000000, 0x00000941, 0x9AAD602B, 0x5A328C64, 0x0E000000, + 0x00000841, 0x989E5524, 0x54347951, 0x0B000000, 0x0000073D, 0x88834C22, 0x4F3D6330, 0x07000000, 0x0000073B, + 0x73624726, 0x463E4B17, 0x0B010000, 0x00000941, 0x6748482C, 0x392A3413, 0x1C050000, 0x00000A46, 0x5D303B2E, + 0x3310211B, 0x2D070000, 0x00000941, 0x4B131B2C, 0x3F0D1821, 0x33080000, 0x0000093F, 0x4109092D, 0x490D0C20, + 0x32080000, 0x00000A43, 0x3F09062C, 0x450B061E, 0x2B070000, 0x00000B47, 0x410A0722, 0x3108081E, 0x20040000, + 0x00000838, 0x35090C19, 0x21050920, 0x20040000, 0x00000522, 0x1F060B0A, 0x1B04061E, 0x29060000, 0x00000313, + 0x0B020608, 0x28070319, 0x34090000, 0x0000020E, 0x03000108, 0x2F080214, 0x2F090000, 0x0000020D, 0x03000007, + 0x2407020C, 0x0B000000, 0x00000311, 0x06010001, 0x0D010413, 0x04000000, 0x0000051C, 0x0B010001, 0x0801020C, + 0x02000000, 0x00000623, 0x0D010003, 0x12030002, 0x00000000, 0x0000051D, 0x0A010005, 0x1B050000, 0x00000000, + 0x0000020C, 0x03000005, 0x18050000, 0x00000000, 0x00000002, 0x00000000, 0x05000000, 0x00000000, 0x00000000, + 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, + 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, + 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, + 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, + 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, + 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, + 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, + 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, + 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, + 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, + 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, + 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, +}; + +UNK_TYPE D_80991E80[] = { + 0x2F3E56AB, 0xA4582102, 0x10417AB0, 0x805C312A, 0x32376DD4, 0xA2633907, 0x0B387DA2, 0x6D81470C, 0x3C5C60AC, + 0xA5571801, 0x154C97B9, 0x68533236, 0x304276D6, 0x9B533108, 0x154A96B7, 0x7C9B400B, 0x3E756FAE, 0xAF5D1301, + 0x1D59B4BF, 0x53432C38, 0x2F487DCC, 0x8A4A2406, 0x1F5DB0C8, 0x90B55110, 0x408B7FAA, 0xB76D1503, 0x286ACCBE, + 0x43312030, 0x2B4C82BA, 0x77431607, 0x2B70C7D5, 0xA6B95B13, 0x409C93A6, 0xB87D1D08, 0x367FE1C1, 0x3C261629, + 0x2A508AAB, 0x69410C0C, 0x3986DDDB, 0xB5AE6316, 0x40A0A7A1, 0xAA7D2610, 0x4596F1CD, 0x47281E36, 0x365C97A3, + 0x63450713, 0x499DF0D8, 0xB49E721A, 0x409AB59F, 0x8A662D1C, 0x57AEFBDF, 0x6B404456, 0x536EA49B, 0x6A4D061E, + 0x5CB6FCC6, 0x9A8E7F20, 0x428EBEA0, 0x623F2E2A, 0x69C6FFF0, 0x9A686569, 0x6F83AC92, 0x7F5D0B2A, 0x70CDFFB2, + 0x77848D29, 0x4787C4A0, 0x401D2E3E, 0x7ED9FFFC, 0xC48F7973, 0x8598AE86, 0x9A701339, 0x85E1FFA6, 0x5E859534, + 0x5189C99B, 0x2C0B3455, 0x92E9FFFA, 0xDCAB8071, 0x94ACAD7A, 0xB1882249, 0x9AF1FFB0, 0x6A8F9746, 0x6394CD8D, + 0x290C416F, 0xA5EEFFF4, 0xDCB46B6D, 0xA1BFAD77, 0xB6A43A58, 0xAAF8FFC8, 0x84959963, 0x7BA4CE78, 0x351A588E, + 0xB5E3F9F1, 0xCFAC6077, 0xABCFAC77, 0xA8C05A6A, 0xB2F3FFE1, 0xA3959471, 0x94B9D065, 0x473274A9, 0xBDCDECEF, + 0xC2A05F86, 0xBADDAC78, 0x92D87C7D, 0xAFDEFDF1, 0xBC8C8971, 0xA6D2D45A, 0x584B95BB, 0xC1B3D5ED, 0xB8956697, + 0xC5E9A670, 0x7AE6978F, 0xA4BEF0EF, 0xB9797360, 0xB1E8DD5D, 0x5D5FAFC7, 0xC49CB8E3, 0xAF8C78A5, 0xCBF19D5F, + 0x6AE5A6A3, 0x9398DBE7, 0xB46A5841, 0xB8F2E871, 0x586DC1CD, 0xC78C9DD5, 0xAA878CB1, 0xD8F89249, 0x63DCABB3, + 0x8576C5D8, 0xA95E4430, 0xC0EBEE91, 0x5378CACE, 0xC58087C5, 0xA4859EAE, 0xE1FD8A36, 0x60D0ACBD, 0x7765B9C5, + 0x9C563A2B, 0xCED7E7B4, 0x5484C7CC, 0xB66F7CBB, 0x9F81A898, 0xE3FF8D2E, 0x63C8B0BA, 0x6D69B8B0, 0x93573B2E, + 0xE0C2CED2, 0x6898C0C3, 0x97587EBC, 0x9D749570, 0xDEFF9D36, 0x67C8B4A8, 0x6682BD9B, 0x93643E37, 0xF0B4A8DE, + 0x86A9B6B0, 0x70448BBE, 0x99617545, 0xD1FFB84E, 0x70CAB48C, 0x64A4BD8D, 0x96763D41, 0xFAAC82DA, 0xA7B6AE9A, + 0x4D359AC0, 0x90494F27, 0xC0FFD675, 0x80CCAD6D, 0x63C1B681, 0x9C85374E, 0xFFA069C9, 0xC1BAA785, 0x3936A4B6, + 0x7D342E18, 0xA9FFEEA5, 0x9AC59F56, 0x60D0A873, 0x9288315E, 0xFB8669B6, 0xD0B6A473, 0x3C47A39A, 0x6228241B, + 0x8BFFF6CD, 0xB7BB8F47, 0x57CFA169, 0x77782C6B, 0xE56478AA, 0xD6AC9E64, 0x4E61977C, 0x4B232428, 0x6FFFEBE5, + 0xD0AF813C, 0x44C2A266, 0x5B61296E, 0xC04188A8, 0xD4A09051, 0x5D788B61, 0x3E202234, 0x58F9D7DF, 0xDEA27332, + 0x31AE9A6C, 0x3E4B2F62, 0x902688B3, 0xD0937A3F, 0x5D7D8B58, 0x37241F35, 0x46F2C5BF, 0xD7956528, 0x1E918E76, + 0x3442424A, 0x601774C3, 0xCB8F6630, 0x48698261, 0x333C2729, 0x3CECBF95, 0xC2885420, 0x11717B78, 0x4952673A, + 0x3D1153CD, 0xC994602F, 0x2D496F6D, 0x31674418, 0x32E7CA6C, 0xA77D4318, 0x09526672, 0x6B6F963E, 0x2B1036D0, + 0xCAA26E3C, 0x1B2A5A7B, 0x3798700F, 0x2BDFD94D, 0x8C773712, 0x043C606C, 0x9086B955, 0x281225C9, 0xC7AD8954, + 0x141B4085, 0x53CB9C10, 0x26D3E63A, 0x757A3B11, 0x0131666F, 0xAB87BA6A, 0x2E151FBF, 0xC1AEA16A, 0x1721388C, + 0x81ECBB17, 0x23C1EE30, 0x6688561E, 0x02317381, 0xA36A9566, 0x3B171FB9, 0xB5A5AF7A, 0x1B384395, 0xABFBC81D, + 0x20AAEB28, 0x61987838, 0x05358299, 0x85405D4E, 0x45181FB5, 0xA695B083, 0x1C55569C, 0xCEFFCF1E, 0x1A8CDA24, + 0x62A39755, 0x0A398FAE, 0x601A2A2C, 0x49161FB1, 0x9A8BAC8A, 0x23736DA0, 0xE0FFD61E, 0x136BAF23, 0x70ABAD6D, + 0x143D95BD, 0x41030D16, 0x41151DAA, 0x938BAA94, 0x2E8A8BA7, 0xE6FFD921, 0x0C4A7D2D, 0x7CACAB70, 0x244093C3, + 0x38020F11, 0x2F151CA3, 0x9293ABA1, 0x3995AAB7, 0xEDF7D924, 0x072F5842, 0x83AE9C66, 0x3F498EC7, 0x420D2812, + 0x1E151F9B, 0x989CB0B2, 0x4697C5CE, 0xF5F0D626, 0x061B435B, 0x85B18A5B, 0x5F568BCD, 0x54245213, 0x12172593, + 0x9FA1BAC0, 0x5291D4E1, 0xFAF0D123, 0x0711416F, 0x82B2765B, 0x84668FCB, 0x684D8212, 0x1318308A, 0xA3A2C2C6, + 0x5F88D3EE, 0xFEF6C81B, 0x0B104276, 0x85B06A72, 0xA97896C3, 0x7C81AC19, 0x24194083, 0xA2A0C6C4, 0x6A82CCF1, + 0xFFFFB910, 0x14173E77, 0x8BAE6992, 0xC6879BB4, 0x92B3C933, 0x3C1D4F7D, 0x9DA2CCBE, 0x7381C6E6, 0xFFFFB111, + 0x26233975, 0x92AF6DAF, 0xDB949AA3, 0xADDBDD64, 0x5927597B, 0x99AAD4B9, 0x7687C6D5, 0xFCFFB736, 0x432D3A78, + 0x98B371BD, 0xE5A0989E, 0xCCF2EAA0, 0x753C5C80, 0x9DB9E3BC, 0x7896CFBF, 0xF6FFCB72, 0x64323F81, 0x9CBC70B4, + 0xE3AC9EAD, 0xE6FBF6CF, 0x8B5C5C85, 0xA7C8F4C2, 0x7AA6D9A3, 0xF0FFE2A9, 0x8032448D, 0xA4C970A0, 0xDBB5AAC6, + 0xF7FEFDE7, 0xA3806187, 0xB0D6FFC9, 0x7FB5D686, 0xE7FFF0D2, 0x8D2F4E98, 0xABD7768D, 0xCFB9B4E1, 0xF8F8FFE7, + 0xB29B7089, 0xB7E4FFCD, 0x8CB8BF65, 0xD5FFF0D7, 0x8D34609D, 0xB4E48385, 0xC3BAB0F1, 0xE2E8FEDC, 0xB5A07A8D, + 0xBDEFFFD0, 0x9AAB9543, 0xB9FFE9C3, 0x80447497, 0xC0EF9C90, 0xBDB997E5, 0xC2CCFBD4, 0xAB8F7387, 0xC8F8FFD4, + 0xA4936324, 0x98FFE5B3, 0x6F577E8A, 0xCEFABCA8, 0xC0BC71C7, 0x9EADF4D2, 0x916D5D7B, 0xD4FEFFD6, 0xA575390F, + 0x76FFE4A6, 0x656A7F7D, 0xDDFFDABF, 0xC8BF4CA1, 0x8095E8CC, 0x744A3B66, 0xDAFFFFD6, 0x9D5B1E04, 0x5DFDDF9A, + 0x6075787A, 0xECFFF1CD, 0xCEC42E7C, 0x7087D6BF, 0x5A311F49, 0xD4FFFFD0, 0x8E4B1100, 0x50F7D892, 0x68767788, + 0xF6FFFDCE, 0xCDC31E65, 0x6E88C3A8, 0x4922153A, 0xC3FFFDC4, 0x7F410B03, 0x4BEED08B, 0x747682A0, 0xFDFFFEBF, + 0xBCB61456, 0x7792B18B, 0x3E19153D, 0xB5FFF8B2, 0x733B0908, 0x4DE0C487, 0x827797BC, 0xFFFFF8AB, 0x9E9B0E50, + 0x869E9F6E, 0x3714184D, 0xB5FFF09E, 0x67380C11, 0x56CFB285, 0x8F7EADD4, 0xFFFFED96, 0x78730A53, 0x9CA98F57, + 0x310F1C69, 0xC8FFE18A, 0x5D35161D, 0x64BC9E84, 0x978BBFE7, 0xFFFFDD81, 0x5348075A, 0xB5B07F48, 0x290A2088, + 0xE1FFCF75, 0x5335272B, 0x74AD877F, 0x9C9DCFF3, 0xFFFEC86E, 0x35260864, 0xC6B16F3E, 0x200422A6, 0xF8FCB95F, + 0x47373A3C, 0x86A36F73, 0x9FB0D9FA, 0xFFF7B15B, 0x21110E70, 0xCDAB6139, 0x160027C1, 0xFFF09F4C, 0x3B3A4B4D, + 0x989D5B5D, 0x9DB5D9FE, 0xFFEA994C, 0x1509177B, 0xC8A15C3C, 0x0E022BD1, 0xFFE1873B, 0x2F3E5460, 0xA8954F44, + 0x96A6CEFF, 0xFFD7823C, 0x0C0A2784, 0xB9956343, 0x0B0731DB, 0xFFCE722C, 0x22415672, 0xB58C4A31, 0x8A88BAFF, + 0xFAC56E2E, 0x060F398F, 0xA989764A, 0x0A0C3AE1, 0xFFB85F20, 0x17425787, 0xBF824826, 0x775FA3FF, 0xF1B66121, + 0x03164B98, 0x9A818E4A, 0x0A1040D4, 0xE8974D14, 0x11405495, 0xBB74401F, 0x603D86F1, 0xD7A35414, 0x02195694, + 0x8476943E, 0x171A46C5, 0xCC7D3D0C, 0x0D3E599E, 0xAE6C371C, 0x4A2D72E3, 0xC38F4C0E, 0x03205F96, 0x766A792A, + 0x242B4FB8, 0xB66A2E06, 0x0D3E66AA, 0x9B663322, 0x3B2D6CDD, 0xB47B450A, 0x062B6E9C, 0x6E705D17, +}; + +Vtx D_80992680[] = { + VTX(405, 1572, -1643, 401, -3470, 0x00, 0x78, 0x00, 0xFF), + VTX(470, 1488, -1799, 512, -3755, 0x00, 0x78, 0x00, 0xFF), + VTX(207, 1312, -1162, 251, -3368, 0x00, 0x78, 0x00, 0xFF), + VTX(207, 820, -1162, 61, -3381, 0x00, 0x78, 0x00, 0xFF), + VTX(973, 820, -847, 512, -2788, 0x00, 0x78, 0x00, 0xFF), + VTX(207, 1312, -1162, 252, -3368, 0x00, 0x78, 0x00, 0xFF), + VTX(973, 1312, -847, 512, -3015, 0x00, 0x78, 0x00, 0xFF), + VTX(1340, 1012, -209, 512, -455, 0x00, 0x78, 0x00, 0xFF), + VTX(1340, 220, -209, 512, -1081, 0x00, 0x78, 0x00, 0xFF), + VTX(939, 520, -209, 201, -1404, 0x00, 0x78, 0x00, 0xFF), + VTX(939, 220, -209, 391, -1391, 0x00, 0x78, 0x00, 0xFF), + VTX(1223, 177, 831, 0, 1707, 0x00, 0x78, 0x00, 0xFF), + VTX(1309, 220, 831, 143, 1679, 0x00, 0x78, 0x00, 0xFF), + VTX(1223, 500, 831, 0, 1365, 0x00, 0x78, 0x00, 0xFF), + VTX(1871, 220, 831, 512, 1593, 0x00, 0x78, 0x00, 0xFF), + VTX(973, 1312, -847, 512, -3015, 0x00, 0x78, 0x00, 0xFF), + VTX(612, 1572, -1558, 512, -3300, 0x00, 0x78, 0x00, 0xFF), + VTX(612, 1572, -1558, 512, -3300, 0x00, 0x78, 0x00, 0xFF), + VTX(839, 1012, -209, 143, -626, 0x00, 0x78, 0x00, 0xFF), + VTX(1602, 1272, 312, 512, 284, 0x00, 0x78, 0x00, 0xFF), + VTX(839, 1176, 119, 0, -284, 0x00, 0x78, 0x00, 0xFF), + VTX(953, 1272, 312, 0, 114, 0x00, 0x78, 0x00, 0xFF), + VTX(1223, 1014, 831, 0, 853, 0x00, 0x78, 0x00, 0xFF), + VTX(1871, 1014, 831, 512, 853, 0x00, 0x78, 0x00, 0xFF), + VTX(691, 520, -209, 0, -1536, 0x00, 0x78, 0x00, 0xFF), + VTX(839, 676, 119, 0, -967, 0x00, 0x78, 0x00, 0xFF), + VTX(839, 520, -209, 127, -1452, 0x00, 0x78, 0x00, 0xFF), + VTX(1905, 220, 1026, 396, 2481, 0x00, 0x78, 0x00, 0xFF), + VTX(1658, 220, 1169, 101, 2487, 0x00, 0x78, 0x00, 0xFF), + VTX(1905, 295, 1026, 410, 2617, 0x00, 0x78, 0x00, 0xFF), + VTX(1658, 295, 1169, 102, 2617, 0x00, 0x78, 0x00, 0xFF), + VTX(1915, 295, 1153, 410, 2901, 0x00, 0x78, 0x00, 0xFF), +}; + +Vtx D_80992880[] = { + VTX(1905, 295, 1026, 410, 2617, 0x00, 0x78, 0x00, 0xFF), VTX(1940, 295, 1047, 512, 2674, 0x00, 0x78, 0x00, 0xFF), + VTX(1905, 220, 1026, 396, 2481, 0x00, 0x78, 0x00, 0xFF), VTX(1940, 220, 1047, 512, 2560, 0x00, 0x78, 0x00, 0xFF), + VTX(1658, 220, 1169, 101, 2487, 0x00, 0x78, 0x00, 0xFF), VTX(1658, 220, 1215, 0, 2560, 0x00, 0x78, 0x00, 0xFF), + VTX(1658, 295, 1169, 102, 2617, 0x00, 0x78, 0x00, 0xFF), VTX(1658, 295, 1215, 0, 2674, 0x00, 0x78, 0x00, 0xFF), + VTX(1968, 295, 1172, 512, 2958, 0x00, 0x78, 0x00, 0xFF), VTX(1915, 295, 1153, 410, 2901, 0x00, 0x78, 0x00, 0xFF), + VTX(1763, 295, 1241, 102, 2901, 0x00, 0x78, 0x00, 0xFF), VTX(1753, 295, 1295, 0, 2958, 0x00, 0x78, 0x00, 0xFF), + VTX(973, 820, -847, 512, -2788, 0x00, 0x78, 0x00, 0xFF), VTX(207, 820, -1162, 61, -3381, 0x00, 0x78, 0x00, 0xFF), + VTX(973, 520, -847, 512, -2389, 0x00, 0x78, 0x00, 0xFF), VTX(142, 520, -1189, 0, -3015, 0x00, 0x78, 0x00, 0xFF), + VTX(1116, 520, -638, 512, -2105, 0x00, 0x78, 0x00, 0xFF), VTX(939, 520, -209, 201, -1404, 0x00, 0x78, 0x00, 0xFF), + VTX(1116, 220, -638, 512, -1764, 0x00, 0x78, 0x00, 0xFF), VTX(939, 220, -209, 391, -1391, 0x00, 0x78, 0x00, 0xFF), + VTX(1309, 220, 831, 143, 1679, 0x00, 0x78, 0x00, 0xFF), VTX(1907, 220, 920, 512, 2332, 0x00, 0x78, 0x00, 0xFF), + VTX(1871, 220, 831, 512, 1593, 0x00, 0x78, 0x00, 0xFF), VTX(1223, 177, 831, 0, 1707, 0x00, 0x78, 0x00, 0xFF), + VTX(1309, 220, 910, 0, 1820, 0x00, 0x78, 0x00, 0xFF), VTX(1932, 220, 1015, 512, 2503, 0x00, 0x78, 0x00, 0xFF), + VTX(1340, 220, -209, 512, -1081, 0x00, 0x78, 0x00, 0xFF), VTX(1636, 220, 1194, 0, 2503, 0x00, 0x78, 0x00, 0xFF), + VTX(691, 520, -209, 0, -1536, 0x00, 0x78, 0x00, 0xFF), VTX(839, 520, -209, 127, -1452, 0x00, 0x78, 0x00, 0xFF), + VTX(1915, -200, 1153, 410, 4096, 0x00, 0x78, 0x00, 0xFF), VTX(1968, -200, 1172, 512, 4096, 0x00, 0x78, 0x00, 0xFF), +}; + +Vtx D_80992A80[] = { + VTX(1915, 295, 1153, 410, 2901, 0x00, 0x78, 0x00, 0xFF), + VTX(1968, -200, 1172, 512, 4096, 0x00, 0x78, 0x00, 0xFF), + VTX(1968, 295, 1172, 512, 2958, 0x00, 0x78, 0x00, 0xFF), + VTX(1763, 295, 1241, 102, 2901, 0x00, 0x78, 0x00, 0xFF), + VTX(1763, -200, 1241, 102, 4096, 0x00, 0x78, 0x00, 0xFF), + VTX(1915, -200, 1153, 410, 4096, 0x00, 0x78, 0x00, 0xFF), + VTX(1753, 295, 1295, 0, 2958, 0x00, 0x78, 0x00, 0xFF), + VTX(1753, -200, 1295, 0, 4096, 0x00, 0x78, 0x00, 0xFF), + VTX(1340, 1012, -209, 512, -455, 0x00, 0x78, 0x00, 0xFF), + VTX(939, 520, -209, 201, -1404, 0x00, 0x78, 0x00, 0xFF), + VTX(839, 1012, -209, 143, -626, 0x00, 0x78, 0x00, 0xFF), + VTX(839, 520, -209, 127, -1452, 0x00, 0x78, 0x00, 0xFF), + VTX(839, 676, 119, 0, -967, 0x00, 0x78, 0x00, 0xFF), + VTX(839, 1176, 119, 0, -284, 0x00, 0x78, 0x00, 0xFF), + VTX(1116, 520, -638, 512, -2105, 0x00, 0x78, 0x00, 0xFF), + VTX(469, 820, -1799, 512, -4096, 0x00, 0x78, 0x00, 0xFF), + VTX(207, 820, -1162, 61, -3381, 0x00, 0x78, 0x00, 0xFF), + VTX(207, 1312, -1162, 251, -3368, 0x00, 0x78, 0x00, 0xFF), + VTX(470, 1488, -1799, 512, -3755, 0x00, 0x78, 0x00, 0xFF), + VTX(1223, 1014, 831, 0, 853, 0x00, 0x78, 0x00, 0xFF), + VTX(1223, 500, 831, 0, 1365, 0x00, 0x78, 0x00, 0xFF), + VTX(1871, 1014, 831, 512, 853, 0x00, 0x78, 0x00, 0xFF), + VTX(1871, 220, 831, 512, 1593, 0x00, 0x78, 0x00, 0xFF), + VTX(142, 520, -1189, 0, -3015, 0x00, 0x78, 0x00, 0xFF), + VTX(142, 820, -1189, 0, -3413, 0x00, 0x78, 0x00, 0xFF), + VTX(-76, 820, -1633, 0, -4096, 0x00, 0x78, 0x00, 0xFF), +}; + +Vtx D_80992C20[] = { + VTX(1658, 295, 1169, 205, 1308, 0x00, 0x78, 0x00, 0xFF), + VTX(1763, 295, 1241, 205, 1451, 0x00, 0x78, 0x00, 0xFF), + VTX(1915, 295, 1153, 819, 1451, 0x00, 0x78, 0x00, 0xFF), +}; + +Vtx D_80992C50[] = { + VTX(-389, 800, -1884, 102, 4096, 0x2E, 0x00, 0x92, 0xFF), + VTX(-989, 800, -2131, 512, 4096, 0x2E, 0x00, 0x92, 0xFF), + VTX(-389, 1312, -1884, 102, 3589, 0x2B, 0x29, 0x98, 0xFF), + VTX(-989, 1312, -2131, 512, 3183, 0x1C, 0x5E, 0xBC, 0xFF), + VTX(-1491, 1521, -1887, 512, 2676, 0x14, 0x6B, 0xCF, 0xFF), + VTX(-1526, 1573, -1788, 432, 2534, 0x07, 0x76, 0xEE, 0xFF), + VTX(-960, 1573, -1555, 0, 2929, 0x07, 0x76, 0xEE, 0xFF), + VTX(-431, 1368, -1782, 0, 3487, 0x14, 0x6B, 0xCF, 0xFF), + VTX(-3551, 128, 2017, 512, -8687, 0x00, 0x78, 0x00, 0xFF), + VTX(-3362, 110, 1813, 512, -9143, 0x00, 0x78, 0x00, 0xFF), + VTX(-3663, 171, 1333, 0, -9143, 0x00, 0x78, 0x00, 0xFF), + VTX(-2482, 20, 1094, 0, -10005, 0x00, 0x78, 0x00, 0xFF), + VTX(-4018, 201, 1769, 0, -8687, 0x00, 0x78, 0x00, 0xFF), + VTX(-4183, 210, 2614, 0, -8129, 0x00, 0x78, 0x00, 0xFF), + VTX(-3596, 132, 2353, 512, -8129, 0x00, 0x78, 0x00, 0xFF), + VTX(-2655, 20, 1678, 508, -9752, 0x00, 0x78, 0x00, 0xFF), + VTX(-4574, 262, 2787, 0, -4832, 0x00, 0x78, 0x00, 0xFF), + VTX(-4684, 277, 2678, 0, -4679, 0x00, 0x78, 0x00, 0xFF), + VTX(-5168, 341, 2737, 512, -4527, 0x00, 0x78, 0x00, 0xFF), + VTX(-5194, 351, 2079, 512, -3868, 0x00, 0x78, 0x00, 0xFF), + VTX(-4997, 318, 2975, 512, -4832, 0x00, 0x78, 0x00, 0xFF), + VTX(-4710, 283, 1899, 0, -4121, 0x00, 0x78, 0x00, 0xFF), + VTX(-4653, 291, 1728, 0, -3868, 0x00, 0x78, 0x00, 0xFF), + VTX(-1962, 20, 988, 0, -10462, 0x00, 0x78, 0x00, 0xFF), + VTX(-1824, 20, 1516, 512, -10462, 0x00, 0x78, 0x00, 0xFF), + VTX(-116, 20, 907, 0, -12034, 0x00, 0x78, 0x00, 0xFF), + VTX(-253, 20, 908, 0, -11882, 0x00, 0x78, 0x00, 0xFF), + VTX(-261, 20, 1460, 512, -11882, 0x00, 0x78, 0x00, 0xFF), + VTX(-1189, 20, 1466, 512, -11121, 0x00, 0x78, 0x00, 0xFF), + VTX(105, 20, 905, 0, -12288, 0x00, 0x78, 0x00, 0xFF), + VTX(-42, 20, 906, 0, -12136, 0x00, 0x78, 0x00, 0xFF), + VTX(112, 20, 1211, 256, -12288, 0x00, 0x78, 0x00, 0xFF), +}; + +Vtx D_80992E50[] = { + VTX(-1481, 1314, -1874, 512, 2676, 0x4D, 0x56, 0x1F, 0xFF), + VTX(-2157, 1810, -1555, 512, 1661, 0x49, 0x56, 0x28, 0xFF), + VTX(-1708, 1312, -1303, 181, 2088, 0x47, 0x53, 0x31, 0xFF), + VTX(-4127, 2148, -205, 512, -774, 0x2C, 0x5D, 0x3D, 0xFF), + VTX(-4859, 1836, 734, 512, -1675, 0x2C, 0x5D, 0x3D, 0xFF), + VTX(-4433, 1483, 1025, 0, -1940, 0x2C, 0x5D, 0x3D, 0xFF), + VTX(-5178, 1470, 1540, 512, -2352, 0x2C, 0x5D, 0x3D, 0xFF), + VTX(-5210, 1260, 1920, 512, -2803, 0x2C, 0x5D, 0x3D, 0xFF), + VTX(-5196, 1149, 2080, 512, -2955, 0x2C, 0x5D, 0x3D, 0xFF), + VTX(-4655, 1124, 1729, 0, -2955, 0x2C, 0x5D, 0x3D, 0xFF), + VTX(-2443, 1728, -884, 0, 900, 0x49, 0x55, 0x2A, 0xFF), + VTX(-1743, 1282, -1195, 0, 1813, 0x65, 0x2F, 0x2C, 0xFF), + VTX(-1601, 520, -1259, 0, 2168, 0xD2, 0x00, 0x6E, 0xFF), + VTX(-1601, 1312, -1259, 0, 2371, 0xD5, 0x29, 0x68, 0xFF), + VTX(-1708, 520, -1303, 86, 2090, 0xD2, 0x00, 0x6E, 0xFF), + VTX(-1708, 1312, -1303, 181, 2088, 0xD2, 0x00, 0x6E, 0xFF), + VTX(-1708, 520, -1303, 86, 2090, 0x00, 0x78, 0x00, 0xFF), + VTX(-1743, 520, -1195, 0, 2016, 0x00, 0x78, 0x00, 0xFF), + VTX(-1601, 520, -1259, 0, 2168, 0x00, 0x78, 0x00, 0xFF), + VTX(-960, 1573, -1555, 0, 2929, 0x07, 0x76, 0xEE, 0xFF), + VTX(-1526, 1573, -1788, 432, 2534, 0x07, 0x76, 0xEE, 0xFF), + VTX(-431, 800, -1782, 0, 4096, 0x6E, 0x00, 0x2E, 0xFF), + VTX(-389, 1312, -1884, 102, 3589, 0x6E, 0x00, 0x2E, 0xFF), + VTX(-431, 1368, -1782, 0, 3487, 0x6E, 0x00, 0x2E, 0xFF), + VTX(-389, 800, -1884, 102, 4096, 0x6E, 0x00, 0x2E, 0xFF), + VTX(-1708, 520, -1303, 86, 2090, 0x72, 0x00, 0x25, 0xFF), + VTX(-1743, 520, -1195, 0, 2016, 0x72, 0x00, 0x25, 0xFF), + VTX(-2793, 2196, -1235, 512, 748, 0x3B, 0x5A, 0x34, 0xFF), + VTX(-2584, 1794, -774, 0, 697, 0x3B, 0x5A, 0x34, 0xFF), + VTX(-2717, 2160, -1291, 512, 850, 0x48, 0x55, 0x2A, 0xFF), +}; + +Vtx D_80993030[] = { + VTX(-5196, 1149, 2080, 512, -2955, 0x00, 0x78, 0x00, 0xFF), + VTX(-5194, 351, 2079, 512, -3868, 0x00, 0x78, 0x00, 0xFF), + VTX(-4653, 291, 1728, 0, -3868, 0x00, 0x78, 0x00, 0xFF), + VTX(-4655, 1124, 1729, 0, -2955, 0x00, 0x78, 0x00, 0xFF), + VTX(-4574, 262, 2787, 0, -4832, 0x00, 0x78, 0x00, 0xFF), + VTX(-4997, 318, 2975, 512, -4832, 0x00, 0x78, 0x00, 0xFF), + VTX(-4997, 1136, 2975, 512, -5795, 0x00, 0x78, 0x00, 0xFF), + VTX(-4574, 1112, 2787, 0, -5795, 0x00, 0x78, 0x00, 0xFF), + VTX(-3596, 1057, 2353, 512, -7266, 0x00, 0x78, 0x00, 0xFF), + VTX(-3596, 132, 2353, 512, -8129, 0x00, 0x78, 0x00, 0xFF), + VTX(-4183, 210, 2614, 0, -8129, 0x00, 0x78, 0x00, 0xFF), + VTX(-4183, 1090, 2614, 0, -7266, 0x00, 0x78, 0x00, 0xFF), + VTX(-1189, 20, 1466, 512, -11121, 0x00, 0x78, 0x00, 0xFF), + VTX(-1194, 20, 914, 0, -11071, 0x00, 0x78, 0x00, 0xFF), + VTX(-1577, 20, 1468, 512, -10716, 0x00, 0x78, 0x00, 0xFF), + VTX(-253, 20, 908, 0, -11882, 0x00, 0x78, 0x00, 0xFF), + VTX(-1610, 20, 917, 0, -10766, 0x00, 0x78, 0x00, 0xFF), + VTX(-1962, 20, 988, 0, -10462, 0x00, 0x78, 0x00, 0xFF), + VTX(-1824, 20, 1516, 512, -10462, 0x00, 0x78, 0x00, 0xFF), + VTX(-4433, 1483, 1025, 0, -1940, 0x2C, 0x5D, 0x3D, 0xFF), + VTX(-3678, 1748, 81, 0, -621, 0x2C, 0x5D, 0x3D, 0xFF), + VTX(-4127, 2148, -205, 512, -774, 0x2C, 0x5D, 0x3D, 0xFF), + VTX(-3641, 2217, -657, 512, -114, 0x2C, 0x5D, 0x3D, 0xFF), + VTX(-2584, 1794, -774, 0, 697, 0x3B, 0x5A, 0x34, 0xFF), + VTX(-2584, 1794, -774, 0, 697, 0x3B, 0x5A, 0x34, 0xFF), + VTX(-2793, 2196, -1235, 512, 748, 0x3B, 0x5A, 0x34, 0xFF), + VTX(-4997, 1136, 2975, 512, -5795, 0x00, 0x78, 0x00, 0xFF), + VTX(-4876, 1279, 3143, 512, -6089, 0x00, 0x78, 0x00, 0xFF), + VTX(-4574, 1112, 2787, 0, -5795, 0x00, 0x78, 0x00, 0xFF), + VTX(-4445, 1191, 2858, 0, -6163, 0x00, 0x78, 0x00, 0xFF), + VTX(-4488, 1519, 3360, 512, -6384, 0x00, 0x78, 0x00, 0xFF), +}; + +Vtx D_80993220[] = { + VTX(-4488, 1519, 3360, 512, -6384, 0x00, 0x78, 0x00, 0xFF), + VTX(-3980, 1539, 3206, 512, -6678, 0x00, 0x78, 0x00, 0xFF), + VTX(-4281, 1193, 2801, 0, -6531, 0x00, 0x78, 0x00, 0xFF), + VTX(-4445, 1191, 2858, 0, -6163, 0x00, 0x78, 0x00, 0xFF), + VTX(-3643, 1337, 2785, 512, -6972, 0x00, 0x78, 0x00, 0xFF), + VTX(-4203, 1151, 2711, 0, -6899, 0x00, 0x78, 0x00, 0xFF), + VTX(-3596, 1057, 2353, 512, -7266, 0x00, 0x78, 0x00, 0xFF), + VTX(-4183, 1090, 2614, 0, -7266, 0x00, 0x78, 0x00, 0xFF), +}; + +Vtx D_809932A0[] = { + VTX(117, 20, 1458, 1024, -6144, 0x00, 0x78, 0x00, 0xFF), + VTX(112, 20, 1211, 512, -6144, 0x00, 0x78, 0x00, 0xFF), + VTX(-261, 20, 1460, 1024, -5941, 0x00, 0x78, 0x00, 0xFF), +}; + +Gfx D_809932D0[] = { + gsDPPipeSync(), + gsDPSetTextureLUT(G_TT_NONE), + gsSPTexture(65535, 65535, 0, G_TX_RENDERTILE, G_ON), + gsDPLoadTextureBlock(D_80991680, G_IM_FMT_I, G_IM_SIZ_8b, 16, 128, 0, G_TX_NOMIRROR | G_TX_CLAMP, + G_TX_NOMIRROR | G_TX_WRAP, 4, 7, G_TX_NOLOD, 1), + gsDPLoadMultiBlock(D_80991E80, 0x0100, 1, G_IM_FMT_I, G_IM_SIZ_8b, 32, 64, 0, G_TX_NOMIRROR | G_TX_WRAP, + G_TX_NOMIRROR | G_TX_WRAP, 5, 6, G_TX_NOLOD, 15), + gsDPSetCombineLERP(NOISE, ENVIRONMENT, PRIMITIVE, ENVIRONMENT, TEXEL1, 1, ENVIRONMENT, TEXEL0, 0, 0, 0, COMBINED, 0, + 0, 0, COMBINED), + gsDPSetRenderMode(G_RM_PASS, G_RM_AA_ZB_XLU_SURF2), + gsSPClearGeometryMode(G_FOG | G_TEXTURE_GEN | G_TEXTURE_GEN_LINEAR), + gsSPSetGeometryMode(G_CULL_BACK | G_LIGHTING), + gsDPSetPrimColor(0, 0, 0x00, 0x32, 0x64, 0xFF), + gsDPSetEnvColor(0x32, 0x14, 0x00, 0x80), + gsSPEndDisplayList(), +}; + +Gfx D_80993390[] = { + gsSPVertex(D_80992680, 32, 0), + gsSP2Triangles(0, 1, 2, 0, 3, 4, 5, 0), + gsSP2Triangles(4, 6, 5, 0, 7, 8, 9, 0), + gsSP2Triangles(8, 10, 9, 0, 11, 12, 13, 0), + gsSP2Triangles(12, 14, 13, 0, 15, 16, 2, 0), + gsSP2Triangles(16, 0, 2, 0, 17, 1, 0, 0), + gsSP2Triangles(7, 18, 19, 0, 18, 20, 19, 0), + gsSP2Triangles(20, 21, 19, 0, 22, 23, 21, 0), + gsSP2Triangles(23, 19, 21, 0, 24, 25, 26, 0), + gsSP2Triangles(27, 28, 29, 0, 28, 30, 29, 0), + gsSP2Triangles(29, 30, 31, 0, 26, 25, 18, 0), + gsSPVertex(D_80992880, 32, 0), + gsSP2Triangles(0, 1, 2, 0, 1, 3, 2, 0), + gsSP2Triangles(4, 5, 6, 0, 5, 7, 6, 0), + gsSP2Triangles(1, 0, 8, 0, 0, 9, 8, 0), + gsSP2Triangles(6, 7, 10, 0, 7, 11, 10, 0), + gsSP2Triangles(12, 13, 14, 0, 13, 15, 14, 0), + gsSP2Triangles(16, 17, 18, 0, 17, 19, 18, 0), + gsSP2Triangles(4, 2, 20, 0, 2, 21, 20, 0), + gsSP2Triangles(21, 22, 20, 0, 23, 24, 20, 0), + gsSP2Triangles(25, 21, 2, 0, 3, 25, 2, 0), + gsSP2Triangles(26, 18, 19, 0, 24, 27, 20, 0), + gsSP2Triangles(27, 4, 20, 0, 27, 5, 4, 0), + gsSP2Triangles(28, 29, 15, 0, 29, 16, 15, 0), + gsSP2Triangles(16, 14, 15, 0, 9, 30, 31, 0), + gsSPVertex(D_80992A80, 26, 0), + gsSP2Triangles(0, 1, 2, 0, 3, 4, 5, 0), + gsSP2Triangles(3, 5, 0, 0, 6, 7, 4, 0), + gsSP2Triangles(6, 4, 3, 0, 8, 9, 10, 0), + gsSP2Triangles(9, 11, 10, 0, 10, 12, 13, 0), + gsSP2Triangles(14, 11, 9, 0, 15, 16, 17, 0), + gsSP2Triangles(15, 17, 18, 0, 19, 20, 21, 0), + gsSP2Triangles(20, 22, 21, 0, 23, 16, 24, 0), + gsSP2Triangles(15, 25, 16, 0, 25, 24, 16, 0), + gsSPVertex(D_80992C20, 3, 0), + gsSP1Triangle(0, 1, 2, 0), + gsSPEndDisplayList(), +}; + +Gfx D_809934B8[] = { + gsSPVertex(D_80992C50, 32, 0), + gsSP2Triangles(0, 1, 2, 0, 1, 3, 2, 0), + gsSP2Triangles(4, 5, 3, 0, 5, 6, 3, 0), + gsSP2Triangles(6, 7, 3, 0, 7, 2, 3, 0), + gsSP2Triangles(8, 9, 10, 0, 9, 11, 10, 0), + gsSP2Triangles(10, 12, 8, 0, 12, 13, 8, 0), + gsSP2Triangles(13, 14, 8, 0, 9, 15, 11, 0), + gsSP2Triangles(16, 17, 18, 0, 17, 19, 18, 0), + gsSP2Triangles(18, 20, 16, 0, 17, 21, 19, 0), + gsSP2Triangles(21, 22, 19, 0, 23, 11, 24, 0), + gsSP2Triangles(11, 15, 24, 0, 25, 26, 27, 0), + gsSP2Triangles(26, 28, 27, 0, 29, 30, 31, 0), + gsSP2Triangles(31, 30, 27, 0, 30, 25, 27, 0), + gsSPVertex(D_80992E50, 32, 0), + gsSP2Triangles(0, 1, 2, 0, 3, 4, 5, 0), + gsSP2Triangles(4, 6, 5, 0, 6, 7, 5, 0), + gsSP2Triangles(7, 8, 5, 0, 8, 9, 5, 0), + gsSP2Triangles(10, 11, 1, 0, 11, 2, 1, 0), + gsSP2Triangles(12, 13, 14, 0, 13, 15, 14, 0), + gsSP2Triangles(16, 17, 18, 0, 2, 13, 19, 0), + gsSP2Triangles(2, 19, 20, 0, 21, 22, 23, 0), + gsSP2Triangles(21, 24, 22, 0, 11, 25, 2, 0), + gsSP2Triangles(11, 26, 25, 0, 27, 28, 29, 0), + gsSP2Triangles(28, 10, 29, 0, 10, 1, 29, 0), + gsSPVertex(D_80993030, 32, 0), + gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0), + gsSP2Triangles(4, 5, 6, 0, 4, 6, 7, 0), + gsSP2Triangles(8, 9, 10, 0, 8, 10, 11, 0), + gsSP2Triangles(12, 13, 14, 0, 12, 15, 13, 0), + gsSP2Triangles(13, 16, 14, 0, 16, 17, 14, 0), + gsSP2Triangles(17, 18, 14, 0, 19, 20, 21, 0), + gsSP2Triangles(20, 22, 21, 0, 20, 23, 22, 0), + gsSP2Triangles(24, 25, 22, 0, 26, 27, 28, 0), + gsSP2Triangles(27, 29, 28, 0, 27, 30, 29, 0), + gsSPVertex(D_80993220, 8, 0), + gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0), + gsSP2Triangles(1, 4, 5, 0, 1, 5, 2, 0), + gsSP2Triangles(4, 6, 7, 0, 4, 7, 5, 0), + gsSPVertex(D_809932A0, 3, 0), + gsSP1Triangle(0, 1, 2, 0), + gsSPEndDisplayList(), +};