diff --git a/asm/dolphin/gx/GXAttr.s b/asm/dolphin/gx/GXAttr.s index 6721e98812..c73e9c208c 100644 --- a/asm/dolphin/gx/GXAttr.s +++ b/asm/dolphin/gx/GXAttr.s @@ -1,1149 +1,1167 @@ .include "macros.inc" .file "GXAttr.c" -# 0x00000000 - 0x00000E18 +# 0x8033BDA8..0x8033CBC0 | size: 0xE18 .text .balign 4 +# .text:0x0 | 0x8033BDA8 | size: 0x158 .fn __GXXfVtxSpecs, global -/* 00000000 00000040 80 A0 00 00 */ lwz r5, __GXContexts@sda21(r0) -/* 00000004 00000044 80 85 00 14 */ lwz r4, 0x14(r5) -/* 00000008 00000048 54 80 9F BF */ extrwi. r0, r4, 2, 17 -/* 0000000C 0000004C 41 82 00 0C */ beq .L_00000018 -/* 00000010 00000050 38 60 00 01 */ li r3, 0x1 -/* 00000014 00000054 48 00 00 08 */ b .L_0000001C -.L_00000018: -/* 00000018 00000058 38 60 00 00 */ li r3, 0x0 -.L_0000001C: -/* 0000001C 0000005C 54 80 8F BF */ extrwi. r0, r4, 2, 15 -/* 00000020 00000060 41 82 00 0C */ beq .L_0000002C -/* 00000024 00000064 38 80 00 01 */ li r4, 0x1 -/* 00000028 00000068 48 00 00 08 */ b .L_00000030 -.L_0000002C: -/* 0000002C 0000006C 38 80 00 00 */ li r4, 0x0 -.L_00000030: -/* 00000030 00000070 88 05 04 1D */ lbz r0, 0x41d(r5) -/* 00000034 00000074 7C E3 22 14 */ add r7, r3, r4 -/* 00000038 00000078 28 00 00 00 */ cmplwi r0, 0x0 -/* 0000003C 0000007C 41 82 00 0C */ beq .L_00000048 -/* 00000040 00000080 38 80 00 02 */ li r4, 0x2 -/* 00000044 00000084 48 00 00 1C */ b .L_00000060 -.L_00000048: -/* 00000048 00000088 88 05 04 1C */ lbz r0, 0x41c(r5) -/* 0000004C 0000008C 28 00 00 00 */ cmplwi r0, 0x0 -/* 00000050 00000090 41 82 00 0C */ beq .L_0000005C -/* 00000054 00000094 38 80 00 01 */ li r4, 0x1 -/* 00000058 00000098 48 00 00 08 */ b .L_00000060 -.L_0000005C: -/* 0000005C 0000009C 38 80 00 00 */ li r4, 0x0 -.L_00000060: -/* 00000060 000000A0 80 C5 00 18 */ lwz r6, 0x18(r5) -/* 00000064 000000A4 54 C0 07 BF */ clrlwi. r0, r6, 30 -/* 00000068 000000A8 41 82 00 0C */ beq .L_00000074 -/* 0000006C 000000AC 38 60 00 01 */ li r3, 0x1 -/* 00000070 000000B0 48 00 00 08 */ b .L_00000078 -.L_00000074: -/* 00000074 000000B4 38 60 00 00 */ li r3, 0x0 -.L_00000078: -/* 00000078 000000B8 54 C0 F7 BF */ extrwi. r0, r6, 2, 28 -/* 0000007C 000000BC 41 82 00 0C */ beq .L_00000088 -/* 00000080 000000C0 38 A0 00 01 */ li r5, 0x1 -/* 00000084 000000C4 48 00 00 08 */ b .L_0000008C -.L_00000088: -/* 00000088 000000C8 38 A0 00 00 */ li r5, 0x0 -.L_0000008C: -/* 0000008C 000000CC 54 C0 E7 BF */ extrwi. r0, r6, 2, 26 -/* 00000090 000000D0 7D 03 2A 14 */ add r8, r3, r5 -/* 00000094 000000D4 41 82 00 0C */ beq .L_000000A0 -/* 00000098 000000D8 38 60 00 01 */ li r3, 0x1 -/* 0000009C 000000DC 48 00 00 08 */ b .L_000000A4 -.L_000000A0: -/* 000000A0 000000E0 38 60 00 00 */ li r3, 0x0 -.L_000000A4: -/* 000000A4 000000E4 54 C0 D7 BF */ extrwi. r0, r6, 2, 24 -/* 000000A8 000000E8 7D 08 1A 14 */ add r8, r8, r3 -/* 000000AC 000000EC 41 82 00 0C */ beq .L_000000B8 -/* 000000B0 000000F0 38 60 00 01 */ li r3, 0x1 -/* 000000B4 000000F4 48 00 00 08 */ b .L_000000BC -.L_000000B8: -/* 000000B8 000000F8 38 60 00 00 */ li r3, 0x0 -.L_000000BC: -/* 000000BC 000000FC 54 C0 C7 BF */ extrwi. r0, r6, 2, 22 -/* 000000C0 00000100 7D 08 1A 14 */ add r8, r8, r3 -/* 000000C4 00000104 41 82 00 0C */ beq .L_000000D0 -/* 000000C8 00000108 38 60 00 01 */ li r3, 0x1 -/* 000000CC 0000010C 48 00 00 08 */ b .L_000000D4 -.L_000000D0: -/* 000000D0 00000110 38 60 00 00 */ li r3, 0x0 -.L_000000D4: -/* 000000D4 00000114 54 C0 B7 BF */ extrwi. r0, r6, 2, 20 -/* 000000D8 00000118 7D 08 1A 14 */ add r8, r8, r3 -/* 000000DC 0000011C 41 82 00 0C */ beq .L_000000E8 -/* 000000E0 00000120 38 60 00 01 */ li r3, 0x1 -/* 000000E4 00000124 48 00 00 08 */ b .L_000000EC -.L_000000E8: -/* 000000E8 00000128 38 60 00 00 */ li r3, 0x0 -.L_000000EC: -/* 000000EC 0000012C 54 C0 A7 BF */ extrwi. r0, r6, 2, 18 -/* 000000F0 00000130 7D 08 1A 14 */ add r8, r8, r3 -/* 000000F4 00000134 41 82 00 0C */ beq .L_00000100 -/* 000000F8 00000138 38 60 00 01 */ li r3, 0x1 -/* 000000FC 0000013C 48 00 00 08 */ b .L_00000104 -.L_00000100: -/* 00000100 00000140 38 60 00 00 */ li r3, 0x0 -.L_00000104: -/* 00000104 00000144 54 C0 97 BF */ extrwi. r0, r6, 2, 16 -/* 00000108 00000148 7D 08 1A 14 */ add r8, r8, r3 -/* 0000010C 0000014C 41 82 00 0C */ beq .L_00000118 -/* 00000110 00000150 38 C0 00 01 */ li r6, 0x1 -/* 00000114 00000154 48 00 00 08 */ b .L_0000011C -.L_00000118: -/* 00000118 00000158 38 C0 00 00 */ li r6, 0x0 -.L_0000011C: -/* 0000011C 0000015C 38 00 00 10 */ li r0, 0x10 -/* 00000120 00000160 80 60 00 00 */ lwz r3, __GXContexts@sda21(r0) -/* 00000124 00000164 3C A0 CC 01 */ lis r5, 0xcc01 -/* 00000128 00000168 7D 08 32 14 */ add r8, r8, r6 -/* 0000012C 0000016C 98 05 80 00 */ stb r0, -0x8000(r5) -/* 00000130 00000170 54 80 10 3A */ slwi r0, r4, 2 -/* 00000134 00000174 38 80 10 08 */ li r4, 0x1008 -/* 00000138 00000178 90 85 80 00 */ stw r4, -0x8000(r5) -/* 0000013C 0000017C 55 04 20 36 */ slwi r4, r8, 4 -/* 00000140 00000180 7C E0 03 78 */ or r0, r7, r0 -/* 00000144 00000184 7C 80 03 78 */ or r0, r4, r0 -/* 00000148 00000188 90 05 80 00 */ stw r0, -0x8000(r5) -/* 0000014C 0000018C 38 00 00 01 */ li r0, 0x1 -/* 00000150 00000190 B0 03 00 02 */ sth r0, 0x2(r3) -/* 00000154 00000194 4E 80 00 20 */ blr +/* 8033BDA8 00338988 80 AD A5 08 */ lwz r5, __GXContexts@sda21(r0) +/* 8033BDAC 0033898C 80 85 00 14 */ lwz r4, 0x14(r5) +/* 8033BDB0 00338990 54 80 9F BF */ extrwi. r0, r4, 2, 17 +/* 8033BDB4 00338994 41 82 00 0C */ beq .L_8033BDC0 +/* 8033BDB8 00338998 38 60 00 01 */ li r3, 0x1 +/* 8033BDBC 0033899C 48 00 00 08 */ b .L_8033BDC4 +.L_8033BDC0: +/* 8033BDC0 003389A0 38 60 00 00 */ li r3, 0x0 +.L_8033BDC4: +/* 8033BDC4 003389A4 54 80 8F BF */ extrwi. r0, r4, 2, 15 +/* 8033BDC8 003389A8 41 82 00 0C */ beq .L_8033BDD4 +/* 8033BDCC 003389AC 38 80 00 01 */ li r4, 0x1 +/* 8033BDD0 003389B0 48 00 00 08 */ b .L_8033BDD8 +.L_8033BDD4: +/* 8033BDD4 003389B4 38 80 00 00 */ li r4, 0x0 +.L_8033BDD8: +/* 8033BDD8 003389B8 88 05 04 1D */ lbz r0, 0x41d(r5) +/* 8033BDDC 003389BC 7C E3 22 14 */ add r7, r3, r4 +/* 8033BDE0 003389C0 28 00 00 00 */ cmplwi r0, 0x0 +/* 8033BDE4 003389C4 41 82 00 0C */ beq .L_8033BDF0 +/* 8033BDE8 003389C8 38 80 00 02 */ li r4, 0x2 +/* 8033BDEC 003389CC 48 00 00 1C */ b .L_8033BE08 +.L_8033BDF0: +/* 8033BDF0 003389D0 88 05 04 1C */ lbz r0, 0x41c(r5) +/* 8033BDF4 003389D4 28 00 00 00 */ cmplwi r0, 0x0 +/* 8033BDF8 003389D8 41 82 00 0C */ beq .L_8033BE04 +/* 8033BDFC 003389DC 38 80 00 01 */ li r4, 0x1 +/* 8033BE00 003389E0 48 00 00 08 */ b .L_8033BE08 +.L_8033BE04: +/* 8033BE04 003389E4 38 80 00 00 */ li r4, 0x0 +.L_8033BE08: +/* 8033BE08 003389E8 80 C5 00 18 */ lwz r6, 0x18(r5) +/* 8033BE0C 003389EC 54 C0 07 BF */ clrlwi. r0, r6, 30 +/* 8033BE10 003389F0 41 82 00 0C */ beq .L_8033BE1C +/* 8033BE14 003389F4 38 60 00 01 */ li r3, 0x1 +/* 8033BE18 003389F8 48 00 00 08 */ b .L_8033BE20 +.L_8033BE1C: +/* 8033BE1C 003389FC 38 60 00 00 */ li r3, 0x0 +.L_8033BE20: +/* 8033BE20 00338A00 54 C0 F7 BF */ extrwi. r0, r6, 2, 28 +/* 8033BE24 00338A04 41 82 00 0C */ beq .L_8033BE30 +/* 8033BE28 00338A08 38 A0 00 01 */ li r5, 0x1 +/* 8033BE2C 00338A0C 48 00 00 08 */ b .L_8033BE34 +.L_8033BE30: +/* 8033BE30 00338A10 38 A0 00 00 */ li r5, 0x0 +.L_8033BE34: +/* 8033BE34 00338A14 54 C0 E7 BF */ extrwi. r0, r6, 2, 26 +/* 8033BE38 00338A18 7D 03 2A 14 */ add r8, r3, r5 +/* 8033BE3C 00338A1C 41 82 00 0C */ beq .L_8033BE48 +/* 8033BE40 00338A20 38 60 00 01 */ li r3, 0x1 +/* 8033BE44 00338A24 48 00 00 08 */ b .L_8033BE4C +.L_8033BE48: +/* 8033BE48 00338A28 38 60 00 00 */ li r3, 0x0 +.L_8033BE4C: +/* 8033BE4C 00338A2C 54 C0 D7 BF */ extrwi. r0, r6, 2, 24 +/* 8033BE50 00338A30 7D 08 1A 14 */ add r8, r8, r3 +/* 8033BE54 00338A34 41 82 00 0C */ beq .L_8033BE60 +/* 8033BE58 00338A38 38 60 00 01 */ li r3, 0x1 +/* 8033BE5C 00338A3C 48 00 00 08 */ b .L_8033BE64 +.L_8033BE60: +/* 8033BE60 00338A40 38 60 00 00 */ li r3, 0x0 +.L_8033BE64: +/* 8033BE64 00338A44 54 C0 C7 BF */ extrwi. r0, r6, 2, 22 +/* 8033BE68 00338A48 7D 08 1A 14 */ add r8, r8, r3 +/* 8033BE6C 00338A4C 41 82 00 0C */ beq .L_8033BE78 +/* 8033BE70 00338A50 38 60 00 01 */ li r3, 0x1 +/* 8033BE74 00338A54 48 00 00 08 */ b .L_8033BE7C +.L_8033BE78: +/* 8033BE78 00338A58 38 60 00 00 */ li r3, 0x0 +.L_8033BE7C: +/* 8033BE7C 00338A5C 54 C0 B7 BF */ extrwi. r0, r6, 2, 20 +/* 8033BE80 00338A60 7D 08 1A 14 */ add r8, r8, r3 +/* 8033BE84 00338A64 41 82 00 0C */ beq .L_8033BE90 +/* 8033BE88 00338A68 38 60 00 01 */ li r3, 0x1 +/* 8033BE8C 00338A6C 48 00 00 08 */ b .L_8033BE94 +.L_8033BE90: +/* 8033BE90 00338A70 38 60 00 00 */ li r3, 0x0 +.L_8033BE94: +/* 8033BE94 00338A74 54 C0 A7 BF */ extrwi. r0, r6, 2, 18 +/* 8033BE98 00338A78 7D 08 1A 14 */ add r8, r8, r3 +/* 8033BE9C 00338A7C 41 82 00 0C */ beq .L_8033BEA8 +/* 8033BEA0 00338A80 38 60 00 01 */ li r3, 0x1 +/* 8033BEA4 00338A84 48 00 00 08 */ b .L_8033BEAC +.L_8033BEA8: +/* 8033BEA8 00338A88 38 60 00 00 */ li r3, 0x0 +.L_8033BEAC: +/* 8033BEAC 00338A8C 54 C0 97 BF */ extrwi. r0, r6, 2, 16 +/* 8033BEB0 00338A90 7D 08 1A 14 */ add r8, r8, r3 +/* 8033BEB4 00338A94 41 82 00 0C */ beq .L_8033BEC0 +/* 8033BEB8 00338A98 38 C0 00 01 */ li r6, 0x1 +/* 8033BEBC 00338A9C 48 00 00 08 */ b .L_8033BEC4 +.L_8033BEC0: +/* 8033BEC0 00338AA0 38 C0 00 00 */ li r6, 0x0 +.L_8033BEC4: +/* 8033BEC4 00338AA4 38 00 00 10 */ li r0, 0x10 +/* 8033BEC8 00338AA8 80 6D A5 08 */ lwz r3, __GXContexts@sda21(r0) +/* 8033BECC 00338AAC 3C A0 CC 01 */ lis r5, 0xcc01 +/* 8033BED0 00338AB0 7D 08 32 14 */ add r8, r8, r6 +/* 8033BED4 00338AB4 98 05 80 00 */ stb r0, -0x8000(r5) +/* 8033BED8 00338AB8 54 80 10 3A */ slwi r0, r4, 2 +/* 8033BEDC 00338ABC 38 80 10 08 */ li r4, 0x1008 +/* 8033BEE0 00338AC0 90 85 80 00 */ stw r4, -0x8000(r5) +/* 8033BEE4 00338AC4 55 04 20 36 */ slwi r4, r8, 4 +/* 8033BEE8 00338AC8 7C E0 03 78 */ or r0, r7, r0 +/* 8033BEEC 00338ACC 7C 80 03 78 */ or r0, r4, r0 +/* 8033BEF0 00338AD0 90 05 80 00 */ stw r0, -0x8000(r5) +/* 8033BEF4 00338AD4 38 00 00 01 */ li r0, 0x1 +/* 8033BEF8 00338AD8 B0 03 00 02 */ sth r0, 0x2(r3) +/* 8033BEFC 00338ADC 4E 80 00 20 */ blr .endfn __GXXfVtxSpecs +# .text:0x158 | 0x8033BF00 | size: 0x360 .fn GXSetVtxDesc, global -/* 00000158 00000198 28 03 00 19 */ cmplwi r3, 0x19 -/* 0000015C 0000019C 41 81 03 00 */ bgt .L_0000045C -/* 00000160 000001A0 3C A0 00 00 */ lis r5, "@145"@ha -/* 00000164 000001A4 38 A5 00 00 */ addi r5, r5, "@145"@l -/* 00000168 000001A8 54 60 10 3A */ slwi r0, r3, 2 -/* 0000016C 000001AC 7C 05 00 2E */ lwzx r0, r5, r0 -/* 00000170 000001B0 7C 09 03 A6 */ mtctr r0 -/* 00000174 000001B4 4E 80 04 20 */ bctr -.L_00000178: -/* 00000178 000001B8 80 60 00 00 */ lwz r3, __GXContexts@sda21(r0) -/* 0000017C 000001BC 84 03 00 14 */ lwzu r0, 0x14(r3) -/* 00000180 000001C0 54 00 00 3C */ clrrwi r0, r0, 1 -/* 00000184 000001C4 7C 00 23 78 */ or r0, r0, r4 -/* 00000188 000001C8 90 03 00 00 */ stw r0, 0x0(r3) -/* 0000018C 000001CC 48 00 02 D0 */ b .L_0000045C -.L_00000190: -/* 00000190 000001D0 80 60 00 00 */ lwz r3, __GXContexts@sda21(r0) -/* 00000194 000001D4 54 80 08 3C */ slwi r0, r4, 1 -/* 00000198 000001D8 38 83 00 14 */ addi r4, r3, 0x14 -/* 0000019C 000001DC 80 63 00 14 */ lwz r3, 0x14(r3) -/* 000001A0 000001E0 54 63 07 FA */ rlwinm r3, r3, 0, 31, 29 -/* 000001A4 000001E4 7C 60 03 78 */ or r0, r3, r0 -/* 000001A8 000001E8 90 04 00 00 */ stw r0, 0x0(r4) -/* 000001AC 000001EC 48 00 02 B0 */ b .L_0000045C -.L_000001B0: -/* 000001B0 000001F0 80 60 00 00 */ lwz r3, __GXContexts@sda21(r0) -/* 000001B4 000001F4 54 80 10 3A */ slwi r0, r4, 2 -/* 000001B8 000001F8 38 83 00 14 */ addi r4, r3, 0x14 -/* 000001BC 000001FC 80 63 00 14 */ lwz r3, 0x14(r3) -/* 000001C0 00000200 54 63 07 B8 */ rlwinm r3, r3, 0, 30, 28 -/* 000001C4 00000204 7C 60 03 78 */ or r0, r3, r0 -/* 000001C8 00000208 90 04 00 00 */ stw r0, 0x0(r4) -/* 000001CC 0000020C 48 00 02 90 */ b .L_0000045C -.L_000001D0: -/* 000001D0 00000210 80 60 00 00 */ lwz r3, __GXContexts@sda21(r0) -/* 000001D4 00000214 54 80 18 38 */ slwi r0, r4, 3 -/* 000001D8 00000218 38 83 00 14 */ addi r4, r3, 0x14 -/* 000001DC 0000021C 80 63 00 14 */ lwz r3, 0x14(r3) -/* 000001E0 00000220 54 63 07 76 */ rlwinm r3, r3, 0, 29, 27 -/* 000001E4 00000224 7C 60 03 78 */ or r0, r3, r0 -/* 000001E8 00000228 90 04 00 00 */ stw r0, 0x0(r4) -/* 000001EC 0000022C 48 00 02 70 */ b .L_0000045C -.L_000001F0: -/* 000001F0 00000230 80 60 00 00 */ lwz r3, __GXContexts@sda21(r0) -/* 000001F4 00000234 54 80 20 36 */ slwi r0, r4, 4 -/* 000001F8 00000238 38 83 00 14 */ addi r4, r3, 0x14 -/* 000001FC 0000023C 80 63 00 14 */ lwz r3, 0x14(r3) -/* 00000200 00000240 54 63 07 34 */ rlwinm r3, r3, 0, 28, 26 -/* 00000204 00000244 7C 60 03 78 */ or r0, r3, r0 -/* 00000208 00000248 90 04 00 00 */ stw r0, 0x0(r4) -/* 0000020C 0000024C 48 00 02 50 */ b .L_0000045C -.L_00000210: -/* 00000210 00000250 80 60 00 00 */ lwz r3, __GXContexts@sda21(r0) -/* 00000214 00000254 54 80 28 34 */ slwi r0, r4, 5 -/* 00000218 00000258 38 83 00 14 */ addi r4, r3, 0x14 -/* 0000021C 0000025C 80 63 00 14 */ lwz r3, 0x14(r3) -/* 00000220 00000260 54 63 06 F2 */ rlwinm r3, r3, 0, 27, 25 -/* 00000224 00000264 7C 60 03 78 */ or r0, r3, r0 -/* 00000228 00000268 90 04 00 00 */ stw r0, 0x0(r4) -/* 0000022C 0000026C 48 00 02 30 */ b .L_0000045C -.L_00000230: -/* 00000230 00000270 80 60 00 00 */ lwz r3, __GXContexts@sda21(r0) -/* 00000234 00000274 54 80 30 32 */ slwi r0, r4, 6 -/* 00000238 00000278 38 83 00 14 */ addi r4, r3, 0x14 -/* 0000023C 0000027C 80 63 00 14 */ lwz r3, 0x14(r3) -/* 00000240 00000280 54 63 06 B0 */ rlwinm r3, r3, 0, 26, 24 -/* 00000244 00000284 7C 60 03 78 */ or r0, r3, r0 -/* 00000248 00000288 90 04 00 00 */ stw r0, 0x0(r4) -/* 0000024C 0000028C 48 00 02 10 */ b .L_0000045C -.L_00000250: -/* 00000250 00000290 80 60 00 00 */ lwz r3, __GXContexts@sda21(r0) -/* 00000254 00000294 54 80 38 30 */ slwi r0, r4, 7 -/* 00000258 00000298 38 83 00 14 */ addi r4, r3, 0x14 -/* 0000025C 0000029C 80 63 00 14 */ lwz r3, 0x14(r3) -/* 00000260 000002A0 54 63 06 6E */ rlwinm r3, r3, 0, 25, 23 -/* 00000264 000002A4 7C 60 03 78 */ or r0, r3, r0 -/* 00000268 000002A8 90 04 00 00 */ stw r0, 0x0(r4) -/* 0000026C 000002AC 48 00 01 F0 */ b .L_0000045C -.L_00000270: -/* 00000270 000002B0 80 60 00 00 */ lwz r3, __GXContexts@sda21(r0) -/* 00000274 000002B4 54 80 40 2E */ slwi r0, r4, 8 -/* 00000278 000002B8 38 83 00 14 */ addi r4, r3, 0x14 -/* 0000027C 000002BC 80 63 00 14 */ lwz r3, 0x14(r3) -/* 00000280 000002C0 54 63 06 2C */ rlwinm r3, r3, 0, 24, 22 -/* 00000284 000002C4 7C 60 03 78 */ or r0, r3, r0 -/* 00000288 000002C8 90 04 00 00 */ stw r0, 0x0(r4) -/* 0000028C 000002CC 48 00 01 D0 */ b .L_0000045C -.L_00000290: -/* 00000290 000002D0 80 60 00 00 */ lwz r3, __GXContexts@sda21(r0) -/* 00000294 000002D4 54 80 48 2C */ slwi r0, r4, 9 -/* 00000298 000002D8 38 83 00 14 */ addi r4, r3, 0x14 -/* 0000029C 000002DC 80 63 00 14 */ lwz r3, 0x14(r3) -/* 000002A0 000002E0 54 63 05 E8 */ rlwinm r3, r3, 0, 23, 20 -/* 000002A4 000002E4 7C 60 03 78 */ or r0, r3, r0 -/* 000002A8 000002E8 90 04 00 00 */ stw r0, 0x0(r4) -/* 000002AC 000002EC 48 00 01 B0 */ b .L_0000045C -.L_000002B0: -/* 000002B0 000002F0 2C 04 00 00 */ cmpwi r4, 0x0 -/* 000002B4 000002F4 41 82 00 28 */ beq .L_000002DC -/* 000002B8 000002F8 80 60 00 00 */ lwz r3, __GXContexts@sda21(r0) -/* 000002BC 000002FC 38 A0 00 01 */ li r5, 0x1 -/* 000002C0 00000300 38 00 00 00 */ li r0, 0x0 -/* 000002C4 00000304 98 A3 04 1C */ stb r5, 0x41c(r3) -/* 000002C8 00000308 80 60 00 00 */ lwz r3, __GXContexts@sda21(r0) -/* 000002CC 0000030C 98 03 04 1D */ stb r0, 0x41d(r3) -/* 000002D0 00000310 80 60 00 00 */ lwz r3, __GXContexts@sda21(r0) -/* 000002D4 00000314 90 83 04 18 */ stw r4, 0x418(r3) -/* 000002D8 00000318 48 00 01 84 */ b .L_0000045C -.L_000002DC: -/* 000002DC 0000031C 80 60 00 00 */ lwz r3, __GXContexts@sda21(r0) -/* 000002E0 00000320 38 00 00 00 */ li r0, 0x0 -/* 000002E4 00000324 98 03 04 1C */ stb r0, 0x41c(r3) -/* 000002E8 00000328 48 00 01 74 */ b .L_0000045C -.L_000002EC: -/* 000002EC 0000032C 2C 04 00 00 */ cmpwi r4, 0x0 -/* 000002F0 00000330 41 82 00 28 */ beq .L_00000318 -/* 000002F4 00000334 80 60 00 00 */ lwz r3, __GXContexts@sda21(r0) -/* 000002F8 00000338 38 A0 00 01 */ li r5, 0x1 -/* 000002FC 0000033C 38 00 00 00 */ li r0, 0x0 -/* 00000300 00000340 98 A3 04 1D */ stb r5, 0x41d(r3) -/* 00000304 00000344 80 60 00 00 */ lwz r3, __GXContexts@sda21(r0) -/* 00000308 00000348 98 03 04 1C */ stb r0, 0x41c(r3) -/* 0000030C 0000034C 80 60 00 00 */ lwz r3, __GXContexts@sda21(r0) -/* 00000310 00000350 90 83 04 18 */ stw r4, 0x418(r3) -/* 00000314 00000354 48 00 01 48 */ b .L_0000045C -.L_00000318: -/* 00000318 00000358 80 60 00 00 */ lwz r3, __GXContexts@sda21(r0) -/* 0000031C 0000035C 38 00 00 00 */ li r0, 0x0 -/* 00000320 00000360 98 03 04 1D */ stb r0, 0x41d(r3) -/* 00000324 00000364 48 00 01 38 */ b .L_0000045C -.L_00000328: -/* 00000328 00000368 80 60 00 00 */ lwz r3, __GXContexts@sda21(r0) -/* 0000032C 0000036C 54 80 68 24 */ slwi r0, r4, 13 -/* 00000330 00000370 38 83 00 14 */ addi r4, r3, 0x14 -/* 00000334 00000374 80 63 00 14 */ lwz r3, 0x14(r3) -/* 00000338 00000378 54 63 04 E0 */ rlwinm r3, r3, 0, 19, 16 -/* 0000033C 0000037C 7C 60 03 78 */ or r0, r3, r0 -/* 00000340 00000380 90 04 00 00 */ stw r0, 0x0(r4) -/* 00000344 00000384 48 00 01 18 */ b .L_0000045C -.L_00000348: -/* 00000348 00000388 80 60 00 00 */ lwz r3, __GXContexts@sda21(r0) -/* 0000034C 0000038C 54 80 78 20 */ slwi r0, r4, 15 -/* 00000350 00000390 38 83 00 14 */ addi r4, r3, 0x14 -/* 00000354 00000394 80 63 00 14 */ lwz r3, 0x14(r3) -/* 00000358 00000398 54 63 04 5C */ rlwinm r3, r3, 0, 17, 14 -/* 0000035C 0000039C 7C 60 03 78 */ or r0, r3, r0 -/* 00000360 000003A0 90 04 00 00 */ stw r0, 0x0(r4) -/* 00000364 000003A4 48 00 00 F8 */ b .L_0000045C -.L_00000368: -/* 00000368 000003A8 80 60 00 00 */ lwz r3, __GXContexts@sda21(r0) -/* 0000036C 000003AC 84 03 00 18 */ lwzu r0, 0x18(r3) -/* 00000370 000003B0 54 00 00 3A */ clrrwi r0, r0, 2 -/* 00000374 000003B4 7C 00 23 78 */ or r0, r0, r4 -/* 00000378 000003B8 90 03 00 00 */ stw r0, 0x0(r3) -/* 0000037C 000003BC 48 00 00 E0 */ b .L_0000045C -.L_00000380: -/* 00000380 000003C0 80 60 00 00 */ lwz r3, __GXContexts@sda21(r0) -/* 00000384 000003C4 54 80 10 3A */ slwi r0, r4, 2 -/* 00000388 000003C8 38 83 00 18 */ addi r4, r3, 0x18 -/* 0000038C 000003CC 80 63 00 18 */ lwz r3, 0x18(r3) -/* 00000390 000003D0 54 63 07 B6 */ rlwinm r3, r3, 0, 30, 27 -/* 00000394 000003D4 7C 60 03 78 */ or r0, r3, r0 -/* 00000398 000003D8 90 04 00 00 */ stw r0, 0x0(r4) -/* 0000039C 000003DC 48 00 00 C0 */ b .L_0000045C -.L_000003A0: -/* 000003A0 000003E0 80 60 00 00 */ lwz r3, __GXContexts@sda21(r0) -/* 000003A4 000003E4 54 80 20 36 */ slwi r0, r4, 4 -/* 000003A8 000003E8 38 83 00 18 */ addi r4, r3, 0x18 -/* 000003AC 000003EC 80 63 00 18 */ lwz r3, 0x18(r3) -/* 000003B0 000003F0 54 63 07 32 */ rlwinm r3, r3, 0, 28, 25 -/* 000003B4 000003F4 7C 60 03 78 */ or r0, r3, r0 -/* 000003B8 000003F8 90 04 00 00 */ stw r0, 0x0(r4) -/* 000003BC 000003FC 48 00 00 A0 */ b .L_0000045C -.L_000003C0: -/* 000003C0 00000400 80 60 00 00 */ lwz r3, __GXContexts@sda21(r0) -/* 000003C4 00000404 54 80 30 32 */ slwi r0, r4, 6 -/* 000003C8 00000408 38 83 00 18 */ addi r4, r3, 0x18 -/* 000003CC 0000040C 80 63 00 18 */ lwz r3, 0x18(r3) -/* 000003D0 00000410 54 63 06 AE */ rlwinm r3, r3, 0, 26, 23 -/* 000003D4 00000414 7C 60 03 78 */ or r0, r3, r0 -/* 000003D8 00000418 90 04 00 00 */ stw r0, 0x0(r4) -/* 000003DC 0000041C 48 00 00 80 */ b .L_0000045C -.L_000003E0: -/* 000003E0 00000420 80 60 00 00 */ lwz r3, __GXContexts@sda21(r0) -/* 000003E4 00000424 54 80 40 2E */ slwi r0, r4, 8 -/* 000003E8 00000428 38 83 00 18 */ addi r4, r3, 0x18 -/* 000003EC 0000042C 80 63 00 18 */ lwz r3, 0x18(r3) -/* 000003F0 00000430 54 63 06 2A */ rlwinm r3, r3, 0, 24, 21 -/* 000003F4 00000434 7C 60 03 78 */ or r0, r3, r0 -/* 000003F8 00000438 90 04 00 00 */ stw r0, 0x0(r4) -/* 000003FC 0000043C 48 00 00 60 */ b .L_0000045C -.L_00000400: -/* 00000400 00000440 80 60 00 00 */ lwz r3, __GXContexts@sda21(r0) -/* 00000404 00000444 54 80 50 2A */ slwi r0, r4, 10 -/* 00000408 00000448 38 83 00 18 */ addi r4, r3, 0x18 -/* 0000040C 0000044C 80 63 00 18 */ lwz r3, 0x18(r3) -/* 00000410 00000450 54 63 05 A6 */ rlwinm r3, r3, 0, 22, 19 -/* 00000414 00000454 7C 60 03 78 */ or r0, r3, r0 -/* 00000418 00000458 90 04 00 00 */ stw r0, 0x0(r4) -/* 0000041C 0000045C 48 00 00 40 */ b .L_0000045C -.L_00000420: -/* 00000420 00000460 80 60 00 00 */ lwz r3, __GXContexts@sda21(r0) -/* 00000424 00000464 54 80 60 26 */ slwi r0, r4, 12 -/* 00000428 00000468 38 83 00 18 */ addi r4, r3, 0x18 -/* 0000042C 0000046C 80 63 00 18 */ lwz r3, 0x18(r3) -/* 00000430 00000470 54 63 05 22 */ rlwinm r3, r3, 0, 20, 17 -/* 00000434 00000474 7C 60 03 78 */ or r0, r3, r0 -/* 00000438 00000478 90 04 00 00 */ stw r0, 0x0(r4) -/* 0000043C 0000047C 48 00 00 20 */ b .L_0000045C -.L_00000440: -/* 00000440 00000480 80 60 00 00 */ lwz r3, __GXContexts@sda21(r0) -/* 00000444 00000484 54 80 70 22 */ slwi r0, r4, 14 -/* 00000448 00000488 38 83 00 18 */ addi r4, r3, 0x18 -/* 0000044C 0000048C 80 63 00 18 */ lwz r3, 0x18(r3) -/* 00000450 00000490 54 63 04 9E */ rlwinm r3, r3, 0, 18, 15 -/* 00000454 00000494 7C 60 03 78 */ or r0, r3, r0 -/* 00000458 00000498 90 04 00 00 */ stw r0, 0x0(r4) -.L_0000045C: -/* 0000045C 0000049C 80 60 00 00 */ lwz r3, __GXContexts@sda21(r0) -/* 00000460 000004A0 88 03 04 1C */ lbz r0, 0x41c(r3) -/* 00000464 000004A4 28 00 00 00 */ cmplwi r0, 0x0 -/* 00000468 000004A8 40 82 00 10 */ bne .L_00000478 -/* 0000046C 000004AC 88 03 04 1D */ lbz r0, 0x41d(r3) -/* 00000470 000004B0 28 00 00 00 */ cmplwi r0, 0x0 -/* 00000474 000004B4 41 82 00 24 */ beq .L_00000498 -.L_00000478: -/* 00000478 000004B8 38 83 00 14 */ addi r4, r3, 0x14 -/* 0000047C 000004BC 80 03 04 18 */ lwz r0, 0x418(r3) -/* 00000480 000004C0 80 63 00 14 */ lwz r3, 0x14(r3) -/* 00000484 000004C4 54 00 58 28 */ slwi r0, r0, 11 -/* 00000488 000004C8 54 63 05 64 */ rlwinm r3, r3, 0, 21, 18 -/* 0000048C 000004CC 7C 60 03 78 */ or r0, r3, r0 -/* 00000490 000004D0 90 04 00 00 */ stw r0, 0x0(r4) -/* 00000494 000004D4 48 00 00 10 */ b .L_000004A4 -.L_00000498: -/* 00000498 000004D8 84 03 00 14 */ lwzu r0, 0x14(r3) -/* 0000049C 000004DC 54 00 05 64 */ rlwinm r0, r0, 0, 21, 18 -/* 000004A0 000004E0 90 03 00 00 */ stw r0, 0x0(r3) -.L_000004A4: -/* 000004A4 000004E4 80 60 00 00 */ lwz r3, __GXContexts@sda21(r0) -/* 000004A8 000004E8 80 03 04 F0 */ lwz r0, 0x4f0(r3) -/* 000004AC 000004EC 60 00 00 08 */ ori r0, r0, 0x8 -/* 000004B0 000004F0 90 03 04 F0 */ stw r0, 0x4f0(r3) -/* 000004B4 000004F4 4E 80 00 20 */ blr +/* 8033BF00 00338AE0 28 03 00 19 */ cmplwi r3, 0x19 +/* 8033BF04 00338AE4 41 81 03 00 */ bgt .L_8033C204 +/* 8033BF08 00338AE8 3C A0 80 40 */ lis r5, "@145"@ha +/* 8033BF0C 00338AEC 38 A5 10 48 */ addi r5, r5, "@145"@l +/* 8033BF10 00338AF0 54 60 10 3A */ slwi r0, r3, 2 +/* 8033BF14 00338AF4 7C 05 00 2E */ lwzx r0, r5, r0 +/* 8033BF18 00338AF8 7C 09 03 A6 */ mtctr r0 +/* 8033BF1C 00338AFC 4E 80 04 20 */ bctr +.L_8033BF20: +/* 8033BF20 00338B00 80 6D A5 08 */ lwz r3, __GXContexts@sda21(r0) +/* 8033BF24 00338B04 84 03 00 14 */ lwzu r0, 0x14(r3) +/* 8033BF28 00338B08 54 00 00 3C */ clrrwi r0, r0, 1 +/* 8033BF2C 00338B0C 7C 00 23 78 */ or r0, r0, r4 +/* 8033BF30 00338B10 90 03 00 00 */ stw r0, 0x0(r3) +/* 8033BF34 00338B14 48 00 02 D0 */ b .L_8033C204 +.L_8033BF38: +/* 8033BF38 00338B18 80 6D A5 08 */ lwz r3, __GXContexts@sda21(r0) +/* 8033BF3C 00338B1C 54 80 08 3C */ slwi r0, r4, 1 +/* 8033BF40 00338B20 38 83 00 14 */ addi r4, r3, 0x14 +/* 8033BF44 00338B24 80 63 00 14 */ lwz r3, 0x14(r3) +/* 8033BF48 00338B28 54 63 07 FA */ rlwinm r3, r3, 0, 31, 29 +/* 8033BF4C 00338B2C 7C 60 03 78 */ or r0, r3, r0 +/* 8033BF50 00338B30 90 04 00 00 */ stw r0, 0x0(r4) +/* 8033BF54 00338B34 48 00 02 B0 */ b .L_8033C204 +.L_8033BF58: +/* 8033BF58 00338B38 80 6D A5 08 */ lwz r3, __GXContexts@sda21(r0) +/* 8033BF5C 00338B3C 54 80 10 3A */ slwi r0, r4, 2 +/* 8033BF60 00338B40 38 83 00 14 */ addi r4, r3, 0x14 +/* 8033BF64 00338B44 80 63 00 14 */ lwz r3, 0x14(r3) +/* 8033BF68 00338B48 54 63 07 B8 */ rlwinm r3, r3, 0, 30, 28 +/* 8033BF6C 00338B4C 7C 60 03 78 */ or r0, r3, r0 +/* 8033BF70 00338B50 90 04 00 00 */ stw r0, 0x0(r4) +/* 8033BF74 00338B54 48 00 02 90 */ b .L_8033C204 +.L_8033BF78: +/* 8033BF78 00338B58 80 6D A5 08 */ lwz r3, __GXContexts@sda21(r0) +/* 8033BF7C 00338B5C 54 80 18 38 */ slwi r0, r4, 3 +/* 8033BF80 00338B60 38 83 00 14 */ addi r4, r3, 0x14 +/* 8033BF84 00338B64 80 63 00 14 */ lwz r3, 0x14(r3) +/* 8033BF88 00338B68 54 63 07 76 */ rlwinm r3, r3, 0, 29, 27 +/* 8033BF8C 00338B6C 7C 60 03 78 */ or r0, r3, r0 +/* 8033BF90 00338B70 90 04 00 00 */ stw r0, 0x0(r4) +/* 8033BF94 00338B74 48 00 02 70 */ b .L_8033C204 +.L_8033BF98: +/* 8033BF98 00338B78 80 6D A5 08 */ lwz r3, __GXContexts@sda21(r0) +/* 8033BF9C 00338B7C 54 80 20 36 */ slwi r0, r4, 4 +/* 8033BFA0 00338B80 38 83 00 14 */ addi r4, r3, 0x14 +/* 8033BFA4 00338B84 80 63 00 14 */ lwz r3, 0x14(r3) +/* 8033BFA8 00338B88 54 63 07 34 */ rlwinm r3, r3, 0, 28, 26 +/* 8033BFAC 00338B8C 7C 60 03 78 */ or r0, r3, r0 +/* 8033BFB0 00338B90 90 04 00 00 */ stw r0, 0x0(r4) +/* 8033BFB4 00338B94 48 00 02 50 */ b .L_8033C204 +.L_8033BFB8: +/* 8033BFB8 00338B98 80 6D A5 08 */ lwz r3, __GXContexts@sda21(r0) +/* 8033BFBC 00338B9C 54 80 28 34 */ slwi r0, r4, 5 +/* 8033BFC0 00338BA0 38 83 00 14 */ addi r4, r3, 0x14 +/* 8033BFC4 00338BA4 80 63 00 14 */ lwz r3, 0x14(r3) +/* 8033BFC8 00338BA8 54 63 06 F2 */ rlwinm r3, r3, 0, 27, 25 +/* 8033BFCC 00338BAC 7C 60 03 78 */ or r0, r3, r0 +/* 8033BFD0 00338BB0 90 04 00 00 */ stw r0, 0x0(r4) +/* 8033BFD4 00338BB4 48 00 02 30 */ b .L_8033C204 +.L_8033BFD8: +/* 8033BFD8 00338BB8 80 6D A5 08 */ lwz r3, __GXContexts@sda21(r0) +/* 8033BFDC 00338BBC 54 80 30 32 */ slwi r0, r4, 6 +/* 8033BFE0 00338BC0 38 83 00 14 */ addi r4, r3, 0x14 +/* 8033BFE4 00338BC4 80 63 00 14 */ lwz r3, 0x14(r3) +/* 8033BFE8 00338BC8 54 63 06 B0 */ rlwinm r3, r3, 0, 26, 24 +/* 8033BFEC 00338BCC 7C 60 03 78 */ or r0, r3, r0 +/* 8033BFF0 00338BD0 90 04 00 00 */ stw r0, 0x0(r4) +/* 8033BFF4 00338BD4 48 00 02 10 */ b .L_8033C204 +.L_8033BFF8: +/* 8033BFF8 00338BD8 80 6D A5 08 */ lwz r3, __GXContexts@sda21(r0) +/* 8033BFFC 00338BDC 54 80 38 30 */ slwi r0, r4, 7 +/* 8033C000 00338BE0 38 83 00 14 */ addi r4, r3, 0x14 +/* 8033C004 00338BE4 80 63 00 14 */ lwz r3, 0x14(r3) +/* 8033C008 00338BE8 54 63 06 6E */ rlwinm r3, r3, 0, 25, 23 +/* 8033C00C 00338BEC 7C 60 03 78 */ or r0, r3, r0 +/* 8033C010 00338BF0 90 04 00 00 */ stw r0, 0x0(r4) +/* 8033C014 00338BF4 48 00 01 F0 */ b .L_8033C204 +.L_8033C018: +/* 8033C018 00338BF8 80 6D A5 08 */ lwz r3, __GXContexts@sda21(r0) +/* 8033C01C 00338BFC 54 80 40 2E */ slwi r0, r4, 8 +/* 8033C020 00338C00 38 83 00 14 */ addi r4, r3, 0x14 +/* 8033C024 00338C04 80 63 00 14 */ lwz r3, 0x14(r3) +/* 8033C028 00338C08 54 63 06 2C */ rlwinm r3, r3, 0, 24, 22 +/* 8033C02C 00338C0C 7C 60 03 78 */ or r0, r3, r0 +/* 8033C030 00338C10 90 04 00 00 */ stw r0, 0x0(r4) +/* 8033C034 00338C14 48 00 01 D0 */ b .L_8033C204 +.L_8033C038: +/* 8033C038 00338C18 80 6D A5 08 */ lwz r3, __GXContexts@sda21(r0) +/* 8033C03C 00338C1C 54 80 48 2C */ slwi r0, r4, 9 +/* 8033C040 00338C20 38 83 00 14 */ addi r4, r3, 0x14 +/* 8033C044 00338C24 80 63 00 14 */ lwz r3, 0x14(r3) +/* 8033C048 00338C28 54 63 05 E8 */ rlwinm r3, r3, 0, 23, 20 +/* 8033C04C 00338C2C 7C 60 03 78 */ or r0, r3, r0 +/* 8033C050 00338C30 90 04 00 00 */ stw r0, 0x0(r4) +/* 8033C054 00338C34 48 00 01 B0 */ b .L_8033C204 +.L_8033C058: +/* 8033C058 00338C38 2C 04 00 00 */ cmpwi r4, 0x0 +/* 8033C05C 00338C3C 41 82 00 28 */ beq .L_8033C084 +/* 8033C060 00338C40 80 6D A5 08 */ lwz r3, __GXContexts@sda21(r0) +/* 8033C064 00338C44 38 A0 00 01 */ li r5, 0x1 +/* 8033C068 00338C48 38 00 00 00 */ li r0, 0x0 +/* 8033C06C 00338C4C 98 A3 04 1C */ stb r5, 0x41c(r3) +/* 8033C070 00338C50 80 6D A5 08 */ lwz r3, __GXContexts@sda21(r0) +/* 8033C074 00338C54 98 03 04 1D */ stb r0, 0x41d(r3) +/* 8033C078 00338C58 80 6D A5 08 */ lwz r3, __GXContexts@sda21(r0) +/* 8033C07C 00338C5C 90 83 04 18 */ stw r4, 0x418(r3) +/* 8033C080 00338C60 48 00 01 84 */ b .L_8033C204 +.L_8033C084: +/* 8033C084 00338C64 80 6D A5 08 */ lwz r3, __GXContexts@sda21(r0) +/* 8033C088 00338C68 38 00 00 00 */ li r0, 0x0 +/* 8033C08C 00338C6C 98 03 04 1C */ stb r0, 0x41c(r3) +/* 8033C090 00338C70 48 00 01 74 */ b .L_8033C204 +.L_8033C094: +/* 8033C094 00338C74 2C 04 00 00 */ cmpwi r4, 0x0 +/* 8033C098 00338C78 41 82 00 28 */ beq .L_8033C0C0 +/* 8033C09C 00338C7C 80 6D A5 08 */ lwz r3, __GXContexts@sda21(r0) +/* 8033C0A0 00338C80 38 A0 00 01 */ li r5, 0x1 +/* 8033C0A4 00338C84 38 00 00 00 */ li r0, 0x0 +/* 8033C0A8 00338C88 98 A3 04 1D */ stb r5, 0x41d(r3) +/* 8033C0AC 00338C8C 80 6D A5 08 */ lwz r3, __GXContexts@sda21(r0) +/* 8033C0B0 00338C90 98 03 04 1C */ stb r0, 0x41c(r3) +/* 8033C0B4 00338C94 80 6D A5 08 */ lwz r3, __GXContexts@sda21(r0) +/* 8033C0B8 00338C98 90 83 04 18 */ stw r4, 0x418(r3) +/* 8033C0BC 00338C9C 48 00 01 48 */ b .L_8033C204 +.L_8033C0C0: +/* 8033C0C0 00338CA0 80 6D A5 08 */ lwz r3, __GXContexts@sda21(r0) +/* 8033C0C4 00338CA4 38 00 00 00 */ li r0, 0x0 +/* 8033C0C8 00338CA8 98 03 04 1D */ stb r0, 0x41d(r3) +/* 8033C0CC 00338CAC 48 00 01 38 */ b .L_8033C204 +.L_8033C0D0: +/* 8033C0D0 00338CB0 80 6D A5 08 */ lwz r3, __GXContexts@sda21(r0) +/* 8033C0D4 00338CB4 54 80 68 24 */ slwi r0, r4, 13 +/* 8033C0D8 00338CB8 38 83 00 14 */ addi r4, r3, 0x14 +/* 8033C0DC 00338CBC 80 63 00 14 */ lwz r3, 0x14(r3) +/* 8033C0E0 00338CC0 54 63 04 E0 */ rlwinm r3, r3, 0, 19, 16 +/* 8033C0E4 00338CC4 7C 60 03 78 */ or r0, r3, r0 +/* 8033C0E8 00338CC8 90 04 00 00 */ stw r0, 0x0(r4) +/* 8033C0EC 00338CCC 48 00 01 18 */ b .L_8033C204 +.L_8033C0F0: +/* 8033C0F0 00338CD0 80 6D A5 08 */ lwz r3, __GXContexts@sda21(r0) +/* 8033C0F4 00338CD4 54 80 78 20 */ slwi r0, r4, 15 +/* 8033C0F8 00338CD8 38 83 00 14 */ addi r4, r3, 0x14 +/* 8033C0FC 00338CDC 80 63 00 14 */ lwz r3, 0x14(r3) +/* 8033C100 00338CE0 54 63 04 5C */ rlwinm r3, r3, 0, 17, 14 +/* 8033C104 00338CE4 7C 60 03 78 */ or r0, r3, r0 +/* 8033C108 00338CE8 90 04 00 00 */ stw r0, 0x0(r4) +/* 8033C10C 00338CEC 48 00 00 F8 */ b .L_8033C204 +.L_8033C110: +/* 8033C110 00338CF0 80 6D A5 08 */ lwz r3, __GXContexts@sda21(r0) +/* 8033C114 00338CF4 84 03 00 18 */ lwzu r0, 0x18(r3) +/* 8033C118 00338CF8 54 00 00 3A */ clrrwi r0, r0, 2 +/* 8033C11C 00338CFC 7C 00 23 78 */ or r0, r0, r4 +/* 8033C120 00338D00 90 03 00 00 */ stw r0, 0x0(r3) +/* 8033C124 00338D04 48 00 00 E0 */ b .L_8033C204 +.L_8033C128: +/* 8033C128 00338D08 80 6D A5 08 */ lwz r3, __GXContexts@sda21(r0) +/* 8033C12C 00338D0C 54 80 10 3A */ slwi r0, r4, 2 +/* 8033C130 00338D10 38 83 00 18 */ addi r4, r3, 0x18 +/* 8033C134 00338D14 80 63 00 18 */ lwz r3, 0x18(r3) +/* 8033C138 00338D18 54 63 07 B6 */ rlwinm r3, r3, 0, 30, 27 +/* 8033C13C 00338D1C 7C 60 03 78 */ or r0, r3, r0 +/* 8033C140 00338D20 90 04 00 00 */ stw r0, 0x0(r4) +/* 8033C144 00338D24 48 00 00 C0 */ b .L_8033C204 +.L_8033C148: +/* 8033C148 00338D28 80 6D A5 08 */ lwz r3, __GXContexts@sda21(r0) +/* 8033C14C 00338D2C 54 80 20 36 */ slwi r0, r4, 4 +/* 8033C150 00338D30 38 83 00 18 */ addi r4, r3, 0x18 +/* 8033C154 00338D34 80 63 00 18 */ lwz r3, 0x18(r3) +/* 8033C158 00338D38 54 63 07 32 */ rlwinm r3, r3, 0, 28, 25 +/* 8033C15C 00338D3C 7C 60 03 78 */ or r0, r3, r0 +/* 8033C160 00338D40 90 04 00 00 */ stw r0, 0x0(r4) +/* 8033C164 00338D44 48 00 00 A0 */ b .L_8033C204 +.L_8033C168: +/* 8033C168 00338D48 80 6D A5 08 */ lwz r3, __GXContexts@sda21(r0) +/* 8033C16C 00338D4C 54 80 30 32 */ slwi r0, r4, 6 +/* 8033C170 00338D50 38 83 00 18 */ addi r4, r3, 0x18 +/* 8033C174 00338D54 80 63 00 18 */ lwz r3, 0x18(r3) +/* 8033C178 00338D58 54 63 06 AE */ rlwinm r3, r3, 0, 26, 23 +/* 8033C17C 00338D5C 7C 60 03 78 */ or r0, r3, r0 +/* 8033C180 00338D60 90 04 00 00 */ stw r0, 0x0(r4) +/* 8033C184 00338D64 48 00 00 80 */ b .L_8033C204 +.L_8033C188: +/* 8033C188 00338D68 80 6D A5 08 */ lwz r3, __GXContexts@sda21(r0) +/* 8033C18C 00338D6C 54 80 40 2E */ slwi r0, r4, 8 +/* 8033C190 00338D70 38 83 00 18 */ addi r4, r3, 0x18 +/* 8033C194 00338D74 80 63 00 18 */ lwz r3, 0x18(r3) +/* 8033C198 00338D78 54 63 06 2A */ rlwinm r3, r3, 0, 24, 21 +/* 8033C19C 00338D7C 7C 60 03 78 */ or r0, r3, r0 +/* 8033C1A0 00338D80 90 04 00 00 */ stw r0, 0x0(r4) +/* 8033C1A4 00338D84 48 00 00 60 */ b .L_8033C204 +.L_8033C1A8: +/* 8033C1A8 00338D88 80 6D A5 08 */ lwz r3, __GXContexts@sda21(r0) +/* 8033C1AC 00338D8C 54 80 50 2A */ slwi r0, r4, 10 +/* 8033C1B0 00338D90 38 83 00 18 */ addi r4, r3, 0x18 +/* 8033C1B4 00338D94 80 63 00 18 */ lwz r3, 0x18(r3) +/* 8033C1B8 00338D98 54 63 05 A6 */ rlwinm r3, r3, 0, 22, 19 +/* 8033C1BC 00338D9C 7C 60 03 78 */ or r0, r3, r0 +/* 8033C1C0 00338DA0 90 04 00 00 */ stw r0, 0x0(r4) +/* 8033C1C4 00338DA4 48 00 00 40 */ b .L_8033C204 +.L_8033C1C8: +/* 8033C1C8 00338DA8 80 6D A5 08 */ lwz r3, __GXContexts@sda21(r0) +/* 8033C1CC 00338DAC 54 80 60 26 */ slwi r0, r4, 12 +/* 8033C1D0 00338DB0 38 83 00 18 */ addi r4, r3, 0x18 +/* 8033C1D4 00338DB4 80 63 00 18 */ lwz r3, 0x18(r3) +/* 8033C1D8 00338DB8 54 63 05 22 */ rlwinm r3, r3, 0, 20, 17 +/* 8033C1DC 00338DBC 7C 60 03 78 */ or r0, r3, r0 +/* 8033C1E0 00338DC0 90 04 00 00 */ stw r0, 0x0(r4) +/* 8033C1E4 00338DC4 48 00 00 20 */ b .L_8033C204 +.L_8033C1E8: +/* 8033C1E8 00338DC8 80 6D A5 08 */ lwz r3, __GXContexts@sda21(r0) +/* 8033C1EC 00338DCC 54 80 70 22 */ slwi r0, r4, 14 +/* 8033C1F0 00338DD0 38 83 00 18 */ addi r4, r3, 0x18 +/* 8033C1F4 00338DD4 80 63 00 18 */ lwz r3, 0x18(r3) +/* 8033C1F8 00338DD8 54 63 04 9E */ rlwinm r3, r3, 0, 18, 15 +/* 8033C1FC 00338DDC 7C 60 03 78 */ or r0, r3, r0 +/* 8033C200 00338DE0 90 04 00 00 */ stw r0, 0x0(r4) +.L_8033C204: +/* 8033C204 00338DE4 80 6D A5 08 */ lwz r3, __GXContexts@sda21(r0) +/* 8033C208 00338DE8 88 03 04 1C */ lbz r0, 0x41c(r3) +/* 8033C20C 00338DEC 28 00 00 00 */ cmplwi r0, 0x0 +/* 8033C210 00338DF0 40 82 00 10 */ bne .L_8033C220 +/* 8033C214 00338DF4 88 03 04 1D */ lbz r0, 0x41d(r3) +/* 8033C218 00338DF8 28 00 00 00 */ cmplwi r0, 0x0 +/* 8033C21C 00338DFC 41 82 00 24 */ beq .L_8033C240 +.L_8033C220: +/* 8033C220 00338E00 38 83 00 14 */ addi r4, r3, 0x14 +/* 8033C224 00338E04 80 03 04 18 */ lwz r0, 0x418(r3) +/* 8033C228 00338E08 80 63 00 14 */ lwz r3, 0x14(r3) +/* 8033C22C 00338E0C 54 00 58 28 */ slwi r0, r0, 11 +/* 8033C230 00338E10 54 63 05 64 */ rlwinm r3, r3, 0, 21, 18 +/* 8033C234 00338E14 7C 60 03 78 */ or r0, r3, r0 +/* 8033C238 00338E18 90 04 00 00 */ stw r0, 0x0(r4) +/* 8033C23C 00338E1C 48 00 00 10 */ b .L_8033C24C +.L_8033C240: +/* 8033C240 00338E20 84 03 00 14 */ lwzu r0, 0x14(r3) +/* 8033C244 00338E24 54 00 05 64 */ rlwinm r0, r0, 0, 21, 18 +/* 8033C248 00338E28 90 03 00 00 */ stw r0, 0x0(r3) +.L_8033C24C: +/* 8033C24C 00338E2C 80 6D A5 08 */ lwz r3, __GXContexts@sda21(r0) +/* 8033C250 00338E30 80 03 04 F0 */ lwz r0, 0x4f0(r3) +/* 8033C254 00338E34 60 00 00 08 */ ori r0, r0, 0x8 +/* 8033C258 00338E38 90 03 04 F0 */ stw r0, 0x4f0(r3) +/* 8033C25C 00338E3C 4E 80 00 20 */ blr .endfn GXSetVtxDesc +# .text:0x4B8 | 0x8033C260 | size: 0x168 .fn __GXSetVCD, global -/* 000004B8 000004F8 7C 08 02 A6 */ mflr r0 -/* 000004BC 000004FC 38 C0 00 08 */ li r6, 0x8 -/* 000004C0 00000500 90 01 00 04 */ stw r0, 0x4(r1) -/* 000004C4 00000504 3C A0 CC 01 */ lis r5, 0xcc01 -/* 000004C8 00000508 38 60 00 50 */ li r3, 0x50 -/* 000004CC 0000050C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 000004D0 00000510 38 00 00 60 */ li r0, 0x60 -/* 000004D4 00000514 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 000004D8 00000518 98 C5 80 00 */ stb r6, -0x8000(r5) -/* 000004DC 0000051C 80 80 00 00 */ lwz r4, __GXContexts@sda21(r0) -/* 000004E0 00000520 98 65 80 00 */ stb r3, -0x8000(r5) -/* 000004E4 00000524 80 64 00 14 */ lwz r3, 0x14(r4) -/* 000004E8 00000528 90 65 80 00 */ stw r3, -0x8000(r5) -/* 000004EC 0000052C 98 C5 80 00 */ stb r6, -0x8000(r5) -/* 000004F0 00000530 98 05 80 00 */ stb r0, -0x8000(r5) -/* 000004F4 00000534 80 04 00 18 */ lwz r0, 0x18(r4) -/* 000004F8 00000538 90 05 80 00 */ stw r0, -0x8000(r5) -/* 000004FC 0000053C 48 00 00 01 */ bl __GXXfVtxSpecs -/* 00000500 00000540 80 60 00 00 */ lwz r3, __GXContexts@sda21(r0) -/* 00000504 00000544 A0 03 00 04 */ lhz r0, 0x4(r3) -/* 00000508 00000548 28 00 00 00 */ cmplwi r0, 0x0 -/* 0000050C 0000054C 41 82 01 00 */ beq .L_0000060C -/* 00000510 00000550 88 A3 04 1D */ lbz r5, 0x41d(r3) -/* 00000514 00000554 39 20 00 00 */ li r9, GXAttr_804D5BB8@sda21 -/* 00000518 00000558 83 E3 00 14 */ lwz r31, 0x14(r3) -/* 0000051C 0000055C 38 E0 00 00 */ li r7, GXAttr_804D5BB0@sda21 -/* 00000520 00000560 54 A5 08 3C */ slwi r5, r5, 1 -/* 00000524 00000564 39 05 00 01 */ addi r8, r5, 0x1 -/* 00000528 00000568 80 83 00 18 */ lwz r4, 0x18(r3) -/* 0000052C 0000056C 57 E6 AF BE */ extrwi r6, r31, 2, 19 -/* 00000530 00000570 7D 49 30 AE */ lbzx r10, r9, r6 -/* 00000534 00000574 57 E0 07 FE */ clrlwi r0, r31, 31 -/* 00000538 00000578 57 EB FF FE */ extrwi r11, r31, 1, 30 -/* 0000053C 0000057C 57 E6 9F BE */ extrwi r6, r31, 2, 17 -/* 00000540 00000580 57 E5 BF BE */ extrwi r5, r31, 2, 21 -/* 00000544 00000584 7C C7 30 AE */ lbzx r6, r7, r6 -/* 00000548 00000588 7C 00 5A 14 */ add r0, r0, r11 -/* 0000054C 0000058C 7D 69 28 AE */ lbzx r11, r9, r5 -/* 00000550 00000590 57 EC F7 FE */ extrwi r12, r31, 1, 29 -/* 00000554 00000594 57 E5 8F BE */ extrwi r5, r31, 2, 15 -/* 00000558 00000598 7D 27 28 AE */ lbzx r9, r7, r5 -/* 0000055C 0000059C 7C 00 62 14 */ add r0, r0, r12 -/* 00000560 000005A0 57 E5 EF FE */ extrwi r5, r31, 1, 28 -/* 00000564 000005A4 7C 00 2A 14 */ add r0, r0, r5 -/* 00000568 000005A8 57 E5 E7 FE */ extrwi r5, r31, 1, 27 -/* 0000056C 000005AC 7C 00 2A 14 */ add r0, r0, r5 -/* 00000570 000005B0 57 E5 DF FE */ extrwi r5, r31, 1, 26 -/* 00000574 000005B4 7C 00 2A 14 */ add r0, r0, r5 -/* 00000578 000005B8 57 E7 D7 FE */ extrwi r7, r31, 1, 25 -/* 0000057C 000005BC 7C AA 41 D6 */ mullw r5, r10, r8 -/* 00000580 000005C0 7C 00 3A 14 */ add r0, r0, r7 -/* 00000584 000005C4 57 E7 CF FE */ extrwi r7, r31, 1, 24 -/* 00000588 000005C8 7C 00 3A 14 */ add r0, r0, r7 -/* 0000058C 000005CC 57 E7 C7 FE */ extrwi r7, r31, 1, 23 -/* 00000590 000005D0 7C 00 3A 14 */ add r0, r0, r7 -/* 00000594 000005D4 7C 00 5A 14 */ add r0, r0, r11 -/* 00000598 000005D8 7C 00 2A 14 */ add r0, r0, r5 -/* 0000059C 000005DC 7C 00 32 14 */ add r0, r0, r6 -/* 000005A0 000005E0 54 86 07 BE */ clrlwi r6, r4, 30 -/* 000005A4 000005E4 39 00 00 00 */ li r8, GXAttr_804D5BB4@sda21 -/* 000005A8 000005E8 54 85 F7 BE */ extrwi r5, r4, 2, 28 -/* 000005AC 000005EC 7C E8 30 AE */ lbzx r7, r8, r6 -/* 000005B0 000005F0 7C 00 4A 14 */ add r0, r0, r9 -/* 000005B4 000005F4 7C C8 28 AE */ lbzx r6, r8, r5 -/* 000005B8 000005F8 7C 00 3A 14 */ add r0, r0, r7 -/* 000005BC 000005FC 54 85 E7 BE */ extrwi r5, r4, 2, 26 -/* 000005C0 00000600 7C E8 28 AE */ lbzx r7, r8, r5 -/* 000005C4 00000604 7C 00 32 14 */ add r0, r0, r6 -/* 000005C8 00000608 54 85 D7 BE */ extrwi r5, r4, 2, 24 -/* 000005CC 0000060C 7C C8 28 AE */ lbzx r6, r8, r5 -/* 000005D0 00000610 7C 00 3A 14 */ add r0, r0, r7 -/* 000005D4 00000614 54 85 C7 BE */ extrwi r5, r4, 2, 22 -/* 000005D8 00000618 7C E8 28 AE */ lbzx r7, r8, r5 -/* 000005DC 0000061C 7C 00 32 14 */ add r0, r0, r6 -/* 000005E0 00000620 54 85 B7 BE */ extrwi r5, r4, 2, 20 -/* 000005E4 00000624 7C C8 28 AE */ lbzx r6, r8, r5 -/* 000005E8 00000628 54 85 A7 BE */ extrwi r5, r4, 2, 18 -/* 000005EC 0000062C 7C 00 3A 14 */ add r0, r0, r7 -/* 000005F0 00000630 7C A8 28 AE */ lbzx r5, r8, r5 -/* 000005F4 00000634 54 84 97 BE */ extrwi r4, r4, 2, 16 -/* 000005F8 00000638 7C 00 32 14 */ add r0, r0, r6 -/* 000005FC 0000063C 7C 88 20 AE */ lbzx r4, r8, r4 -/* 00000600 00000640 7C 00 2A 14 */ add r0, r0, r5 -/* 00000604 00000644 7C 00 22 14 */ add r0, r0, r4 -/* 00000608 00000648 B0 03 00 06 */ sth r0, 0x6(r3) -.L_0000060C: -/* 0000060C 0000064C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 00000610 00000650 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 00000614 00000654 38 21 00 20 */ addi r1, r1, 0x20 -/* 00000618 00000658 7C 08 03 A6 */ mtlr r0 -/* 0000061C 0000065C 4E 80 00 20 */ blr +/* 8033C260 00338E40 7C 08 02 A6 */ mflr r0 +/* 8033C264 00338E44 38 C0 00 08 */ li r6, 0x8 +/* 8033C268 00338E48 90 01 00 04 */ stw r0, 0x4(r1) +/* 8033C26C 00338E4C 3C A0 CC 01 */ lis r5, 0xcc01 +/* 8033C270 00338E50 38 60 00 50 */ li r3, 0x50 +/* 8033C274 00338E54 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033C278 00338E58 38 00 00 60 */ li r0, 0x60 +/* 8033C27C 00338E5C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033C280 00338E60 98 C5 80 00 */ stb r6, -0x8000(r5) +/* 8033C284 00338E64 80 8D A5 08 */ lwz r4, __GXContexts@sda21(r0) +/* 8033C288 00338E68 98 65 80 00 */ stb r3, -0x8000(r5) +/* 8033C28C 00338E6C 80 64 00 14 */ lwz r3, 0x14(r4) +/* 8033C290 00338E70 90 65 80 00 */ stw r3, -0x8000(r5) +/* 8033C294 00338E74 98 C5 80 00 */ stb r6, -0x8000(r5) +/* 8033C298 00338E78 98 05 80 00 */ stb r0, -0x8000(r5) +/* 8033C29C 00338E7C 80 04 00 18 */ lwz r0, 0x18(r4) +/* 8033C2A0 00338E80 90 05 80 00 */ stw r0, -0x8000(r5) +/* 8033C2A4 00338E84 4B FF FB 05 */ bl __GXXfVtxSpecs +/* 8033C2A8 00338E88 80 6D A5 08 */ lwz r3, __GXContexts@sda21(r0) +/* 8033C2AC 00338E8C A0 03 00 04 */ lhz r0, 0x4(r3) +/* 8033C2B0 00338E90 28 00 00 00 */ cmplwi r0, 0x0 +/* 8033C2B4 00338E94 41 82 01 00 */ beq .L_8033C3B4 +/* 8033C2B8 00338E98 88 A3 04 1D */ lbz r5, 0x41d(r3) +/* 8033C2BC 00338E9C 39 2D A5 18 */ li r9, GXAttr_804D5BB8@sda21 +/* 8033C2C0 00338EA0 83 E3 00 14 */ lwz r31, 0x14(r3) +/* 8033C2C4 00338EA4 38 ED A5 10 */ li r7, GXAttr_804D5BB0@sda21 +/* 8033C2C8 00338EA8 54 A5 08 3C */ slwi r5, r5, 1 +/* 8033C2CC 00338EAC 39 05 00 01 */ addi r8, r5, 0x1 +/* 8033C2D0 00338EB0 80 83 00 18 */ lwz r4, 0x18(r3) +/* 8033C2D4 00338EB4 57 E6 AF BE */ extrwi r6, r31, 2, 19 +/* 8033C2D8 00338EB8 7D 49 30 AE */ lbzx r10, r9, r6 +/* 8033C2DC 00338EBC 57 E0 07 FE */ clrlwi r0, r31, 31 +/* 8033C2E0 00338EC0 57 EB FF FE */ extrwi r11, r31, 1, 30 +/* 8033C2E4 00338EC4 57 E6 9F BE */ extrwi r6, r31, 2, 17 +/* 8033C2E8 00338EC8 57 E5 BF BE */ extrwi r5, r31, 2, 21 +/* 8033C2EC 00338ECC 7C C7 30 AE */ lbzx r6, r7, r6 +/* 8033C2F0 00338ED0 7C 00 5A 14 */ add r0, r0, r11 +/* 8033C2F4 00338ED4 7D 69 28 AE */ lbzx r11, r9, r5 +/* 8033C2F8 00338ED8 57 EC F7 FE */ extrwi r12, r31, 1, 29 +/* 8033C2FC 00338EDC 57 E5 8F BE */ extrwi r5, r31, 2, 15 +/* 8033C300 00338EE0 7D 27 28 AE */ lbzx r9, r7, r5 +/* 8033C304 00338EE4 7C 00 62 14 */ add r0, r0, r12 +/* 8033C308 00338EE8 57 E5 EF FE */ extrwi r5, r31, 1, 28 +/* 8033C30C 00338EEC 7C 00 2A 14 */ add r0, r0, r5 +/* 8033C310 00338EF0 57 E5 E7 FE */ extrwi r5, r31, 1, 27 +/* 8033C314 00338EF4 7C 00 2A 14 */ add r0, r0, r5 +/* 8033C318 00338EF8 57 E5 DF FE */ extrwi r5, r31, 1, 26 +/* 8033C31C 00338EFC 7C 00 2A 14 */ add r0, r0, r5 +/* 8033C320 00338F00 57 E7 D7 FE */ extrwi r7, r31, 1, 25 +/* 8033C324 00338F04 7C AA 41 D6 */ mullw r5, r10, r8 +/* 8033C328 00338F08 7C 00 3A 14 */ add r0, r0, r7 +/* 8033C32C 00338F0C 57 E7 CF FE */ extrwi r7, r31, 1, 24 +/* 8033C330 00338F10 7C 00 3A 14 */ add r0, r0, r7 +/* 8033C334 00338F14 57 E7 C7 FE */ extrwi r7, r31, 1, 23 +/* 8033C338 00338F18 7C 00 3A 14 */ add r0, r0, r7 +/* 8033C33C 00338F1C 7C 00 5A 14 */ add r0, r0, r11 +/* 8033C340 00338F20 7C 00 2A 14 */ add r0, r0, r5 +/* 8033C344 00338F24 7C 00 32 14 */ add r0, r0, r6 +/* 8033C348 00338F28 54 86 07 BE */ clrlwi r6, r4, 30 +/* 8033C34C 00338F2C 39 0D A5 14 */ li r8, GXAttr_804D5BB4@sda21 +/* 8033C350 00338F30 54 85 F7 BE */ extrwi r5, r4, 2, 28 +/* 8033C354 00338F34 7C E8 30 AE */ lbzx r7, r8, r6 +/* 8033C358 00338F38 7C 00 4A 14 */ add r0, r0, r9 +/* 8033C35C 00338F3C 7C C8 28 AE */ lbzx r6, r8, r5 +/* 8033C360 00338F40 7C 00 3A 14 */ add r0, r0, r7 +/* 8033C364 00338F44 54 85 E7 BE */ extrwi r5, r4, 2, 26 +/* 8033C368 00338F48 7C E8 28 AE */ lbzx r7, r8, r5 +/* 8033C36C 00338F4C 7C 00 32 14 */ add r0, r0, r6 +/* 8033C370 00338F50 54 85 D7 BE */ extrwi r5, r4, 2, 24 +/* 8033C374 00338F54 7C C8 28 AE */ lbzx r6, r8, r5 +/* 8033C378 00338F58 7C 00 3A 14 */ add r0, r0, r7 +/* 8033C37C 00338F5C 54 85 C7 BE */ extrwi r5, r4, 2, 22 +/* 8033C380 00338F60 7C E8 28 AE */ lbzx r7, r8, r5 +/* 8033C384 00338F64 7C 00 32 14 */ add r0, r0, r6 +/* 8033C388 00338F68 54 85 B7 BE */ extrwi r5, r4, 2, 20 +/* 8033C38C 00338F6C 7C C8 28 AE */ lbzx r6, r8, r5 +/* 8033C390 00338F70 54 85 A7 BE */ extrwi r5, r4, 2, 18 +/* 8033C394 00338F74 7C 00 3A 14 */ add r0, r0, r7 +/* 8033C398 00338F78 7C A8 28 AE */ lbzx r5, r8, r5 +/* 8033C39C 00338F7C 54 84 97 BE */ extrwi r4, r4, 2, 16 +/* 8033C3A0 00338F80 7C 00 32 14 */ add r0, r0, r6 +/* 8033C3A4 00338F84 7C 88 20 AE */ lbzx r4, r8, r4 +/* 8033C3A8 00338F88 7C 00 2A 14 */ add r0, r0, r5 +/* 8033C3AC 00338F8C 7C 00 22 14 */ add r0, r0, r4 +/* 8033C3B0 00338F90 B0 03 00 06 */ sth r0, 0x6(r3) +.L_8033C3B4: +/* 8033C3B4 00338F94 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033C3B8 00338F98 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033C3BC 00338F9C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033C3C0 00338FA0 7C 08 03 A6 */ mtlr r0 +/* 8033C3C4 00338FA4 4E 80 00 20 */ blr .endfn __GXSetVCD +# .text:0x620 | 0x8033C3C8 | size: 0x4C .fn GXClearVtxDesc, global -/* 00000620 00000660 80 60 00 00 */ lwz r3, __GXContexts@sda21(r0) -/* 00000624 00000664 38 80 00 00 */ li r4, 0x0 -/* 00000628 00000668 90 83 00 14 */ stw r4, 0x14(r3) -/* 0000062C 0000066C 80 60 00 00 */ lwz r3, __GXContexts@sda21(r0) -/* 00000630 00000670 84 03 00 14 */ lwzu r0, 0x14(r3) -/* 00000634 00000674 54 00 05 E8 */ rlwinm r0, r0, 0, 23, 20 -/* 00000638 00000678 60 00 02 00 */ ori r0, r0, 0x200 -/* 0000063C 0000067C 90 03 00 00 */ stw r0, 0x0(r3) -/* 00000640 00000680 80 60 00 00 */ lwz r3, __GXContexts@sda21(r0) -/* 00000644 00000684 90 83 00 18 */ stw r4, 0x18(r3) -/* 00000648 00000688 80 60 00 00 */ lwz r3, __GXContexts@sda21(r0) -/* 0000064C 0000068C 98 83 04 1C */ stb r4, 0x41c(r3) -/* 00000650 00000690 80 60 00 00 */ lwz r3, __GXContexts@sda21(r0) -/* 00000654 00000694 98 83 04 1D */ stb r4, 0x41d(r3) -/* 00000658 00000698 80 60 00 00 */ lwz r3, __GXContexts@sda21(r0) -/* 0000065C 0000069C 80 03 04 F0 */ lwz r0, 0x4f0(r3) -/* 00000660 000006A0 60 00 00 08 */ ori r0, r0, 0x8 -/* 00000664 000006A4 90 03 04 F0 */ stw r0, 0x4f0(r3) -/* 00000668 000006A8 4E 80 00 20 */ blr +/* 8033C3C8 00338FA8 80 6D A5 08 */ lwz r3, __GXContexts@sda21(r0) +/* 8033C3CC 00338FAC 38 80 00 00 */ li r4, 0x0 +/* 8033C3D0 00338FB0 90 83 00 14 */ stw r4, 0x14(r3) +/* 8033C3D4 00338FB4 80 6D A5 08 */ lwz r3, __GXContexts@sda21(r0) +/* 8033C3D8 00338FB8 84 03 00 14 */ lwzu r0, 0x14(r3) +/* 8033C3DC 00338FBC 54 00 05 E8 */ rlwinm r0, r0, 0, 23, 20 +/* 8033C3E0 00338FC0 60 00 02 00 */ ori r0, r0, 0x200 +/* 8033C3E4 00338FC4 90 03 00 00 */ stw r0, 0x0(r3) +/* 8033C3E8 00338FC8 80 6D A5 08 */ lwz r3, __GXContexts@sda21(r0) +/* 8033C3EC 00338FCC 90 83 00 18 */ stw r4, 0x18(r3) +/* 8033C3F0 00338FD0 80 6D A5 08 */ lwz r3, __GXContexts@sda21(r0) +/* 8033C3F4 00338FD4 98 83 04 1C */ stb r4, 0x41c(r3) +/* 8033C3F8 00338FD8 80 6D A5 08 */ lwz r3, __GXContexts@sda21(r0) +/* 8033C3FC 00338FDC 98 83 04 1D */ stb r4, 0x41d(r3) +/* 8033C400 00338FE0 80 6D A5 08 */ lwz r3, __GXContexts@sda21(r0) +/* 8033C404 00338FE4 80 03 04 F0 */ lwz r0, 0x4f0(r3) +/* 8033C408 00338FE8 60 00 00 08 */ ori r0, r0, 0x8 +/* 8033C40C 00338FEC 90 03 04 F0 */ stw r0, 0x4f0(r3) +/* 8033C410 00338FF0 4E 80 00 20 */ blr .endfn GXClearVtxDesc +# .text:0x66C | 0x8033C414 | size: 0x35C .fn GXSetVtxAttrFmt, global -/* 0000066C 000006AC 38 04 FF F7 */ subi r0, r4, 0x9 -/* 00000670 000006B0 81 00 00 00 */ lwz r8, __GXContexts@sda21(r0) -/* 00000674 000006B4 54 64 10 3A */ slwi r4, r3, 2 -/* 00000678 000006B8 7D 28 22 14 */ add r9, r8, r4 -/* 0000067C 000006BC 28 00 00 10 */ cmplwi r0, 0x10 -/* 00000680 000006C0 38 89 00 1C */ addi r4, r9, 0x1c -/* 00000684 000006C4 39 09 00 3C */ addi r8, r9, 0x3c -/* 00000688 000006C8 39 29 00 5C */ addi r9, r9, 0x5c -/* 0000068C 000006CC 41 81 03 08 */ bgt .L_00000994 -/* 00000690 000006D0 3D 40 00 00 */ lis r10, "@168"@ha -/* 00000694 000006D4 39 4A 00 00 */ addi r10, r10, "@168"@l -/* 00000698 000006D8 54 00 10 3A */ slwi r0, r0, 2 -/* 0000069C 000006DC 7C 0A 00 2E */ lwzx r0, r10, r0 -/* 000006A0 000006E0 7C 09 03 A6 */ mtctr r0 -/* 000006A4 000006E4 4E 80 04 20 */ bctr -.L_000006A8: -/* 000006A8 000006E8 80 04 00 00 */ lwz r0, 0x0(r4) -/* 000006AC 000006EC 54 C6 08 3C */ slwi r6, r6, 1 -/* 000006B0 000006F0 54 00 00 3C */ clrrwi r0, r0, 1 -/* 000006B4 000006F4 7C 00 2B 78 */ or r0, r0, r5 -/* 000006B8 000006F8 90 04 00 00 */ stw r0, 0x0(r4) -/* 000006BC 000006FC 54 E0 25 36 */ clrlslwi r0, r7, 24, 4 -/* 000006C0 00000700 80 A4 00 00 */ lwz r5, 0x0(r4) -/* 000006C4 00000704 54 A5 07 F6 */ rlwinm r5, r5, 0, 31, 27 -/* 000006C8 00000708 7C A5 33 78 */ or r5, r5, r6 -/* 000006CC 0000070C 90 A4 00 00 */ stw r5, 0x0(r4) -/* 000006D0 00000710 80 A4 00 00 */ lwz r5, 0x0(r4) -/* 000006D4 00000714 54 A5 07 2C */ rlwinm r5, r5, 0, 28, 22 -/* 000006D8 00000718 7C A0 03 78 */ or r0, r5, r0 -/* 000006DC 0000071C 90 04 00 00 */ stw r0, 0x0(r4) -/* 000006E0 00000720 48 00 02 B4 */ b .L_00000994 -.L_000006E4: -/* 000006E4 00000724 80 E4 00 00 */ lwz r7, 0x0(r4) -/* 000006E8 00000728 54 C0 50 2A */ slwi r0, r6, 10 -/* 000006EC 0000072C 2C 05 00 02 */ cmpwi r5, 0x2 -/* 000006F0 00000730 54 E6 05 A4 */ rlwinm r6, r7, 0, 22, 18 -/* 000006F4 00000734 7C C0 03 78 */ or r0, r6, r0 -/* 000006F8 00000738 90 04 00 00 */ stw r0, 0x0(r4) -/* 000006FC 0000073C 40 82 00 28 */ bne .L_00000724 -/* 00000700 00000740 80 04 00 00 */ lwz r0, 0x0(r4) -/* 00000704 00000744 54 00 05 EA */ rlwinm r0, r0, 0, 23, 21 -/* 00000708 00000748 60 00 02 00 */ ori r0, r0, 0x200 -/* 0000070C 0000074C 90 04 00 00 */ stw r0, 0x0(r4) -/* 00000710 00000750 80 04 00 00 */ lwz r0, 0x0(r4) -/* 00000714 00000754 54 00 00 7E */ clrlwi r0, r0, 1 -/* 00000718 00000758 64 00 80 00 */ oris r0, r0, 0x8000 -/* 0000071C 0000075C 90 04 00 00 */ stw r0, 0x0(r4) -/* 00000720 00000760 48 00 02 74 */ b .L_00000994 -.L_00000724: -/* 00000724 00000764 80 C4 00 00 */ lwz r6, 0x0(r4) -/* 00000728 00000768 54 A0 48 2C */ slwi r0, r5, 9 -/* 0000072C 0000076C 54 C5 05 EA */ rlwinm r5, r6, 0, 23, 21 -/* 00000730 00000770 7C A0 03 78 */ or r0, r5, r0 -/* 00000734 00000774 90 04 00 00 */ stw r0, 0x0(r4) -/* 00000738 00000778 80 04 00 00 */ lwz r0, 0x0(r4) -/* 0000073C 0000077C 54 00 00 7E */ clrlwi r0, r0, 1 -/* 00000740 00000780 90 04 00 00 */ stw r0, 0x0(r4) -/* 00000744 00000784 48 00 02 50 */ b .L_00000994 -.L_00000748: -/* 00000748 00000788 80 E4 00 00 */ lwz r7, 0x0(r4) -/* 0000074C 0000078C 54 A5 68 24 */ slwi r5, r5, 13 -/* 00000750 00000790 54 C0 70 22 */ slwi r0, r6, 14 -/* 00000754 00000794 54 E6 04 E2 */ rlwinm r6, r7, 0, 19, 17 -/* 00000758 00000798 7C C5 2B 78 */ or r5, r6, r5 -/* 0000075C 0000079C 90 A4 00 00 */ stw r5, 0x0(r4) -/* 00000760 000007A0 80 A4 00 00 */ lwz r5, 0x0(r4) -/* 00000764 000007A4 54 A5 04 9C */ rlwinm r5, r5, 0, 18, 14 -/* 00000768 000007A8 7C A0 03 78 */ or r0, r5, r0 -/* 0000076C 000007AC 90 04 00 00 */ stw r0, 0x0(r4) -/* 00000770 000007B0 48 00 02 24 */ b .L_00000994 -.L_00000774: -/* 00000774 000007B4 80 E4 00 00 */ lwz r7, 0x0(r4) -/* 00000778 000007B8 54 A5 88 1C */ slwi r5, r5, 17 -/* 0000077C 000007BC 54 C0 90 1A */ slwi r0, r6, 18 -/* 00000780 000007C0 54 E6 03 DA */ rlwinm r6, r7, 0, 15, 13 -/* 00000784 000007C4 7C C5 2B 78 */ or r5, r6, r5 -/* 00000788 000007C8 90 A4 00 00 */ stw r5, 0x0(r4) -/* 0000078C 000007CC 80 A4 00 00 */ lwz r5, 0x0(r4) -/* 00000790 000007D0 54 A5 03 94 */ rlwinm r5, r5, 0, 14, 10 -/* 00000794 000007D4 7C A0 03 78 */ or r0, r5, r0 -/* 00000798 000007D8 90 04 00 00 */ stw r0, 0x0(r4) -/* 0000079C 000007DC 48 00 01 F8 */ b .L_00000994 -.L_000007A0: -/* 000007A0 000007E0 81 04 00 00 */ lwz r8, 0x0(r4) -/* 000007A4 000007E4 54 A0 A8 14 */ slwi r0, r5, 21 -/* 000007A8 000007E8 55 05 02 D2 */ rlwinm r5, r8, 0, 11, 9 -/* 000007AC 000007EC 7C A0 03 78 */ or r0, r5, r0 -/* 000007B0 000007F0 90 04 00 00 */ stw r0, 0x0(r4) -/* 000007B4 000007F4 54 C5 B0 12 */ slwi r5, r6, 22 -/* 000007B8 000007F8 54 E0 C8 0C */ slwi r0, r7, 25 -/* 000007BC 000007FC 80 C4 00 00 */ lwz r6, 0x0(r4) -/* 000007C0 00000800 54 C6 02 8C */ rlwinm r6, r6, 0, 10, 6 -/* 000007C4 00000804 7C C5 2B 78 */ or r5, r6, r5 -/* 000007C8 00000808 90 A4 00 00 */ stw r5, 0x0(r4) -/* 000007CC 0000080C 80 A4 00 00 */ lwz r5, 0x0(r4) -/* 000007D0 00000810 54 A5 01 C2 */ rlwinm r5, r5, 0, 7, 1 -/* 000007D4 00000814 7C A0 03 78 */ or r0, r5, r0 -/* 000007D8 00000818 90 04 00 00 */ stw r0, 0x0(r4) -/* 000007DC 0000081C 48 00 01 B8 */ b .L_00000994 -.L_000007E0: -/* 000007E0 00000820 80 08 00 00 */ lwz r0, 0x0(r8) -/* 000007E4 00000824 54 C4 08 3C */ slwi r4, r6, 1 -/* 000007E8 00000828 54 00 00 3C */ clrrwi r0, r0, 1 -/* 000007EC 0000082C 7C 00 2B 78 */ or r0, r0, r5 -/* 000007F0 00000830 90 08 00 00 */ stw r0, 0x0(r8) -/* 000007F4 00000834 54 E0 25 36 */ clrlslwi r0, r7, 24, 4 -/* 000007F8 00000838 80 A8 00 00 */ lwz r5, 0x0(r8) -/* 000007FC 0000083C 54 A5 07 F6 */ rlwinm r5, r5, 0, 31, 27 -/* 00000800 00000840 7C A4 23 78 */ or r4, r5, r4 -/* 00000804 00000844 90 88 00 00 */ stw r4, 0x0(r8) -/* 00000808 00000848 80 88 00 00 */ lwz r4, 0x0(r8) -/* 0000080C 0000084C 54 84 07 2C */ rlwinm r4, r4, 0, 28, 22 -/* 00000810 00000850 7C 80 03 78 */ or r0, r4, r0 -/* 00000814 00000854 90 08 00 00 */ stw r0, 0x0(r8) -/* 00000818 00000858 48 00 01 7C */ b .L_00000994 -.L_0000081C: -/* 0000081C 0000085C 80 88 00 00 */ lwz r4, 0x0(r8) -/* 00000820 00000860 54 A0 48 2C */ slwi r0, r5, 9 -/* 00000824 00000864 54 84 05 EA */ rlwinm r4, r4, 0, 23, 21 -/* 00000828 00000868 7C 80 03 78 */ or r0, r4, r0 -/* 0000082C 0000086C 90 08 00 00 */ stw r0, 0x0(r8) -/* 00000830 00000870 54 C4 50 2A */ slwi r4, r6, 10 -/* 00000834 00000874 54 E0 6A E4 */ clrlslwi r0, r7, 24, 13 -/* 00000838 00000878 80 A8 00 00 */ lwz r5, 0x0(r8) -/* 0000083C 0000087C 54 A5 05 A4 */ rlwinm r5, r5, 0, 22, 18 -/* 00000840 00000880 7C A4 23 78 */ or r4, r5, r4 -/* 00000844 00000884 90 88 00 00 */ stw r4, 0x0(r8) -/* 00000848 00000888 80 88 00 00 */ lwz r4, 0x0(r8) -/* 0000084C 0000088C 54 84 04 DA */ rlwinm r4, r4, 0, 19, 13 -/* 00000850 00000890 7C 80 03 78 */ or r0, r4, r0 -/* 00000854 00000894 90 08 00 00 */ stw r0, 0x0(r8) -/* 00000858 00000898 48 00 01 3C */ b .L_00000994 -.L_0000085C: -/* 0000085C 0000089C 80 88 00 00 */ lwz r4, 0x0(r8) -/* 00000860 000008A0 54 A0 90 1A */ slwi r0, r5, 18 -/* 00000864 000008A4 54 84 03 98 */ rlwinm r4, r4, 0, 14, 12 -/* 00000868 000008A8 7C 80 03 78 */ or r0, r4, r0 -/* 0000086C 000008AC 90 08 00 00 */ stw r0, 0x0(r8) -/* 00000870 000008B0 54 C4 98 18 */ slwi r4, r6, 19 -/* 00000874 000008B4 54 E0 B0 92 */ clrlslwi r0, r7, 24, 22 -/* 00000878 000008B8 80 A8 00 00 */ lwz r5, 0x0(r8) -/* 0000087C 000008BC 54 A5 03 52 */ rlwinm r5, r5, 0, 13, 9 -/* 00000880 000008C0 7C A4 23 78 */ or r4, r5, r4 -/* 00000884 000008C4 90 88 00 00 */ stw r4, 0x0(r8) -/* 00000888 000008C8 80 88 00 00 */ lwz r4, 0x0(r8) -/* 0000088C 000008CC 54 84 02 88 */ rlwinm r4, r4, 0, 10, 4 -/* 00000890 000008D0 7C 80 03 78 */ or r0, r4, r0 -/* 00000894 000008D4 90 08 00 00 */ stw r0, 0x0(r8) -/* 00000898 000008D8 48 00 00 FC */ b .L_00000994 -.L_0000089C: -/* 0000089C 000008DC 81 48 00 00 */ lwz r10, 0x0(r8) -/* 000008A0 000008E0 54 A0 D8 08 */ slwi r0, r5, 27 -/* 000008A4 000008E4 54 C4 E0 06 */ slwi r4, r6, 28 -/* 000008A8 000008E8 55 45 01 46 */ rlwinm r5, r10, 0, 5, 3 -/* 000008AC 000008EC 7C A0 03 78 */ or r0, r5, r0 -/* 000008B0 000008F0 90 08 00 00 */ stw r0, 0x0(r8) -/* 000008B4 000008F4 54 E0 06 3E */ clrlwi r0, r7, 24 -/* 000008B8 000008F8 80 A8 00 00 */ lwz r5, 0x0(r8) -/* 000008BC 000008FC 54 A5 01 00 */ rlwinm r5, r5, 0, 4, 0 -/* 000008C0 00000900 7C A4 23 78 */ or r4, r5, r4 -/* 000008C4 00000904 90 88 00 00 */ stw r4, 0x0(r8) -/* 000008C8 00000908 80 89 00 00 */ lwz r4, 0x0(r9) -/* 000008CC 0000090C 54 84 00 34 */ clrrwi r4, r4, 5 -/* 000008D0 00000910 7C 80 03 78 */ or r0, r4, r0 -/* 000008D4 00000914 90 09 00 00 */ stw r0, 0x0(r9) -/* 000008D8 00000918 48 00 00 BC */ b .L_00000994 -.L_000008DC: -/* 000008DC 0000091C 80 89 00 00 */ lwz r4, 0x0(r9) -/* 000008E0 00000920 54 A0 28 34 */ slwi r0, r5, 5 -/* 000008E4 00000924 54 84 06 F2 */ rlwinm r4, r4, 0, 27, 25 -/* 000008E8 00000928 7C 80 03 78 */ or r0, r4, r0 -/* 000008EC 0000092C 90 09 00 00 */ stw r0, 0x0(r9) -/* 000008F0 00000930 54 C4 30 32 */ slwi r4, r6, 6 -/* 000008F4 00000934 54 E0 4B EC */ clrlslwi r0, r7, 24, 9 -/* 000008F8 00000938 80 A9 00 00 */ lwz r5, 0x0(r9) -/* 000008FC 0000093C 54 A5 06 AC */ rlwinm r5, r5, 0, 26, 22 -/* 00000900 00000940 7C A4 23 78 */ or r4, r5, r4 -/* 00000904 00000944 90 89 00 00 */ stw r4, 0x0(r9) -/* 00000908 00000948 80 89 00 00 */ lwz r4, 0x0(r9) -/* 0000090C 0000094C 54 84 05 E2 */ rlwinm r4, r4, 0, 23, 17 -/* 00000910 00000950 7C 80 03 78 */ or r0, r4, r0 -/* 00000914 00000954 90 09 00 00 */ stw r0, 0x0(r9) -/* 00000918 00000958 48 00 00 7C */ b .L_00000994 -.L_0000091C: -/* 0000091C 0000095C 80 89 00 00 */ lwz r4, 0x0(r9) -/* 00000920 00000960 54 A0 70 22 */ slwi r0, r5, 14 -/* 00000924 00000964 54 84 04 A0 */ rlwinm r4, r4, 0, 18, 16 -/* 00000928 00000968 7C 80 03 78 */ or r0, r4, r0 -/* 0000092C 0000096C 90 09 00 00 */ stw r0, 0x0(r9) -/* 00000930 00000970 54 C4 78 20 */ slwi r4, r6, 15 -/* 00000934 00000974 54 E0 91 9A */ clrlslwi r0, r7, 24, 18 -/* 00000938 00000978 80 A9 00 00 */ lwz r5, 0x0(r9) -/* 0000093C 0000097C 54 A5 04 5A */ rlwinm r5, r5, 0, 17, 13 -/* 00000940 00000980 7C A4 23 78 */ or r4, r5, r4 -/* 00000944 00000984 90 89 00 00 */ stw r4, 0x0(r9) -/* 00000948 00000988 80 89 00 00 */ lwz r4, 0x0(r9) -/* 0000094C 0000098C 54 84 03 90 */ rlwinm r4, r4, 0, 14, 8 -/* 00000950 00000990 7C 80 03 78 */ or r0, r4, r0 -/* 00000954 00000994 90 09 00 00 */ stw r0, 0x0(r9) -/* 00000958 00000998 48 00 00 3C */ b .L_00000994 -.L_0000095C: -/* 0000095C 0000099C 80 89 00 00 */ lwz r4, 0x0(r9) -/* 00000960 000009A0 54 A0 B8 10 */ slwi r0, r5, 23 -/* 00000964 000009A4 54 84 02 4E */ rlwinm r4, r4, 0, 9, 7 -/* 00000968 000009A8 7C 80 03 78 */ or r0, r4, r0 -/* 0000096C 000009AC 90 09 00 00 */ stw r0, 0x0(r9) -/* 00000970 000009B0 54 C0 C0 0E */ slwi r0, r6, 24 -/* 00000974 000009B4 80 89 00 00 */ lwz r4, 0x0(r9) -/* 00000978 000009B8 54 84 02 08 */ rlwinm r4, r4, 0, 8, 4 -/* 0000097C 000009BC 7C 80 03 78 */ or r0, r4, r0 -/* 00000980 000009C0 90 09 00 00 */ stw r0, 0x0(r9) -/* 00000984 000009C4 80 09 00 00 */ lwz r0, 0x0(r9) -/* 00000988 000009C8 54 00 01 7E */ clrlwi r0, r0, 5 -/* 0000098C 000009CC 50 E0 D8 08 */ rlwimi r0, r7, 27, 0, 4 -/* 00000990 000009D0 90 09 00 00 */ stw r0, 0x0(r9) -.L_00000994: -/* 00000994 000009D4 80 A0 00 00 */ lwz r5, __GXContexts@sda21(r0) -/* 00000998 000009D8 54 60 06 3E */ clrlwi r0, r3, 24 -/* 0000099C 000009DC 38 60 00 01 */ li r3, 0x1 -/* 000009A0 000009E0 80 85 04 F0 */ lwz r4, 0x4f0(r5) -/* 000009A4 000009E4 7C 60 00 30 */ slw r0, r3, r0 -/* 000009A8 000009E8 54 00 06 3E */ clrlwi r0, r0, 24 -/* 000009AC 000009EC 60 83 00 10 */ ori r3, r4, 0x10 -/* 000009B0 000009F0 90 65 04 F0 */ stw r3, 0x4f0(r5) -/* 000009B4 000009F4 80 80 00 00 */ lwz r4, __GXContexts@sda21(r0) -/* 000009B8 000009F8 88 64 04 EE */ lbz r3, 0x4ee(r4) -/* 000009BC 000009FC 7C 60 03 78 */ or r0, r3, r0 -/* 000009C0 00000A00 98 04 04 EE */ stb r0, 0x4ee(r4) -/* 000009C4 00000A04 4E 80 00 20 */ blr +/* 8033C414 00338FF4 38 04 FF F7 */ subi r0, r4, 0x9 +/* 8033C418 00338FF8 81 0D A5 08 */ lwz r8, __GXContexts@sda21(r0) +/* 8033C41C 00338FFC 54 64 10 3A */ slwi r4, r3, 2 +/* 8033C420 00339000 7D 28 22 14 */ add r9, r8, r4 +/* 8033C424 00339004 28 00 00 10 */ cmplwi r0, 0x10 +/* 8033C428 00339008 38 89 00 1C */ addi r4, r9, 0x1c +/* 8033C42C 0033900C 39 09 00 3C */ addi r8, r9, 0x3c +/* 8033C430 00339010 39 29 00 5C */ addi r9, r9, 0x5c +/* 8033C434 00339014 41 81 03 08 */ bgt .L_8033C73C +/* 8033C438 00339018 3D 40 80 40 */ lis r10, "@168"@ha +/* 8033C43C 0033901C 39 4A 10 B0 */ addi r10, r10, "@168"@l +/* 8033C440 00339020 54 00 10 3A */ slwi r0, r0, 2 +/* 8033C444 00339024 7C 0A 00 2E */ lwzx r0, r10, r0 +/* 8033C448 00339028 7C 09 03 A6 */ mtctr r0 +/* 8033C44C 0033902C 4E 80 04 20 */ bctr +.L_8033C450: +/* 8033C450 00339030 80 04 00 00 */ lwz r0, 0x0(r4) +/* 8033C454 00339034 54 C6 08 3C */ slwi r6, r6, 1 +/* 8033C458 00339038 54 00 00 3C */ clrrwi r0, r0, 1 +/* 8033C45C 0033903C 7C 00 2B 78 */ or r0, r0, r5 +/* 8033C460 00339040 90 04 00 00 */ stw r0, 0x0(r4) +/* 8033C464 00339044 54 E0 25 36 */ clrlslwi r0, r7, 24, 4 +/* 8033C468 00339048 80 A4 00 00 */ lwz r5, 0x0(r4) +/* 8033C46C 0033904C 54 A5 07 F6 */ rlwinm r5, r5, 0, 31, 27 +/* 8033C470 00339050 7C A5 33 78 */ or r5, r5, r6 +/* 8033C474 00339054 90 A4 00 00 */ stw r5, 0x0(r4) +/* 8033C478 00339058 80 A4 00 00 */ lwz r5, 0x0(r4) +/* 8033C47C 0033905C 54 A5 07 2C */ rlwinm r5, r5, 0, 28, 22 +/* 8033C480 00339060 7C A0 03 78 */ or r0, r5, r0 +/* 8033C484 00339064 90 04 00 00 */ stw r0, 0x0(r4) +/* 8033C488 00339068 48 00 02 B4 */ b .L_8033C73C +.L_8033C48C: +/* 8033C48C 0033906C 80 E4 00 00 */ lwz r7, 0x0(r4) +/* 8033C490 00339070 54 C0 50 2A */ slwi r0, r6, 10 +/* 8033C494 00339074 2C 05 00 02 */ cmpwi r5, 0x2 +/* 8033C498 00339078 54 E6 05 A4 */ rlwinm r6, r7, 0, 22, 18 +/* 8033C49C 0033907C 7C C0 03 78 */ or r0, r6, r0 +/* 8033C4A0 00339080 90 04 00 00 */ stw r0, 0x0(r4) +/* 8033C4A4 00339084 40 82 00 28 */ bne .L_8033C4CC +/* 8033C4A8 00339088 80 04 00 00 */ lwz r0, 0x0(r4) +/* 8033C4AC 0033908C 54 00 05 EA */ rlwinm r0, r0, 0, 23, 21 +/* 8033C4B0 00339090 60 00 02 00 */ ori r0, r0, 0x200 +/* 8033C4B4 00339094 90 04 00 00 */ stw r0, 0x0(r4) +/* 8033C4B8 00339098 80 04 00 00 */ lwz r0, 0x0(r4) +/* 8033C4BC 0033909C 54 00 00 7E */ clrlwi r0, r0, 1 +/* 8033C4C0 003390A0 64 00 80 00 */ oris r0, r0, 0x8000 +/* 8033C4C4 003390A4 90 04 00 00 */ stw r0, 0x0(r4) +/* 8033C4C8 003390A8 48 00 02 74 */ b .L_8033C73C +.L_8033C4CC: +/* 8033C4CC 003390AC 80 C4 00 00 */ lwz r6, 0x0(r4) +/* 8033C4D0 003390B0 54 A0 48 2C */ slwi r0, r5, 9 +/* 8033C4D4 003390B4 54 C5 05 EA */ rlwinm r5, r6, 0, 23, 21 +/* 8033C4D8 003390B8 7C A0 03 78 */ or r0, r5, r0 +/* 8033C4DC 003390BC 90 04 00 00 */ stw r0, 0x0(r4) +/* 8033C4E0 003390C0 80 04 00 00 */ lwz r0, 0x0(r4) +/* 8033C4E4 003390C4 54 00 00 7E */ clrlwi r0, r0, 1 +/* 8033C4E8 003390C8 90 04 00 00 */ stw r0, 0x0(r4) +/* 8033C4EC 003390CC 48 00 02 50 */ b .L_8033C73C +.L_8033C4F0: +/* 8033C4F0 003390D0 80 E4 00 00 */ lwz r7, 0x0(r4) +/* 8033C4F4 003390D4 54 A5 68 24 */ slwi r5, r5, 13 +/* 8033C4F8 003390D8 54 C0 70 22 */ slwi r0, r6, 14 +/* 8033C4FC 003390DC 54 E6 04 E2 */ rlwinm r6, r7, 0, 19, 17 +/* 8033C500 003390E0 7C C5 2B 78 */ or r5, r6, r5 +/* 8033C504 003390E4 90 A4 00 00 */ stw r5, 0x0(r4) +/* 8033C508 003390E8 80 A4 00 00 */ lwz r5, 0x0(r4) +/* 8033C50C 003390EC 54 A5 04 9C */ rlwinm r5, r5, 0, 18, 14 +/* 8033C510 003390F0 7C A0 03 78 */ or r0, r5, r0 +/* 8033C514 003390F4 90 04 00 00 */ stw r0, 0x0(r4) +/* 8033C518 003390F8 48 00 02 24 */ b .L_8033C73C +.L_8033C51C: +/* 8033C51C 003390FC 80 E4 00 00 */ lwz r7, 0x0(r4) +/* 8033C520 00339100 54 A5 88 1C */ slwi r5, r5, 17 +/* 8033C524 00339104 54 C0 90 1A */ slwi r0, r6, 18 +/* 8033C528 00339108 54 E6 03 DA */ rlwinm r6, r7, 0, 15, 13 +/* 8033C52C 0033910C 7C C5 2B 78 */ or r5, r6, r5 +/* 8033C530 00339110 90 A4 00 00 */ stw r5, 0x0(r4) +/* 8033C534 00339114 80 A4 00 00 */ lwz r5, 0x0(r4) +/* 8033C538 00339118 54 A5 03 94 */ rlwinm r5, r5, 0, 14, 10 +/* 8033C53C 0033911C 7C A0 03 78 */ or r0, r5, r0 +/* 8033C540 00339120 90 04 00 00 */ stw r0, 0x0(r4) +/* 8033C544 00339124 48 00 01 F8 */ b .L_8033C73C +.L_8033C548: +/* 8033C548 00339128 81 04 00 00 */ lwz r8, 0x0(r4) +/* 8033C54C 0033912C 54 A0 A8 14 */ slwi r0, r5, 21 +/* 8033C550 00339130 55 05 02 D2 */ rlwinm r5, r8, 0, 11, 9 +/* 8033C554 00339134 7C A0 03 78 */ or r0, r5, r0 +/* 8033C558 00339138 90 04 00 00 */ stw r0, 0x0(r4) +/* 8033C55C 0033913C 54 C5 B0 12 */ slwi r5, r6, 22 +/* 8033C560 00339140 54 E0 C8 0C */ slwi r0, r7, 25 +/* 8033C564 00339144 80 C4 00 00 */ lwz r6, 0x0(r4) +/* 8033C568 00339148 54 C6 02 8C */ rlwinm r6, r6, 0, 10, 6 +/* 8033C56C 0033914C 7C C5 2B 78 */ or r5, r6, r5 +/* 8033C570 00339150 90 A4 00 00 */ stw r5, 0x0(r4) +/* 8033C574 00339154 80 A4 00 00 */ lwz r5, 0x0(r4) +/* 8033C578 00339158 54 A5 01 C2 */ rlwinm r5, r5, 0, 7, 1 +/* 8033C57C 0033915C 7C A0 03 78 */ or r0, r5, r0 +/* 8033C580 00339160 90 04 00 00 */ stw r0, 0x0(r4) +/* 8033C584 00339164 48 00 01 B8 */ b .L_8033C73C +.L_8033C588: +/* 8033C588 00339168 80 08 00 00 */ lwz r0, 0x0(r8) +/* 8033C58C 0033916C 54 C4 08 3C */ slwi r4, r6, 1 +/* 8033C590 00339170 54 00 00 3C */ clrrwi r0, r0, 1 +/* 8033C594 00339174 7C 00 2B 78 */ or r0, r0, r5 +/* 8033C598 00339178 90 08 00 00 */ stw r0, 0x0(r8) +/* 8033C59C 0033917C 54 E0 25 36 */ clrlslwi r0, r7, 24, 4 +/* 8033C5A0 00339180 80 A8 00 00 */ lwz r5, 0x0(r8) +/* 8033C5A4 00339184 54 A5 07 F6 */ rlwinm r5, r5, 0, 31, 27 +/* 8033C5A8 00339188 7C A4 23 78 */ or r4, r5, r4 +/* 8033C5AC 0033918C 90 88 00 00 */ stw r4, 0x0(r8) +/* 8033C5B0 00339190 80 88 00 00 */ lwz r4, 0x0(r8) +/* 8033C5B4 00339194 54 84 07 2C */ rlwinm r4, r4, 0, 28, 22 +/* 8033C5B8 00339198 7C 80 03 78 */ or r0, r4, r0 +/* 8033C5BC 0033919C 90 08 00 00 */ stw r0, 0x0(r8) +/* 8033C5C0 003391A0 48 00 01 7C */ b .L_8033C73C +.L_8033C5C4: +/* 8033C5C4 003391A4 80 88 00 00 */ lwz r4, 0x0(r8) +/* 8033C5C8 003391A8 54 A0 48 2C */ slwi r0, r5, 9 +/* 8033C5CC 003391AC 54 84 05 EA */ rlwinm r4, r4, 0, 23, 21 +/* 8033C5D0 003391B0 7C 80 03 78 */ or r0, r4, r0 +/* 8033C5D4 003391B4 90 08 00 00 */ stw r0, 0x0(r8) +/* 8033C5D8 003391B8 54 C4 50 2A */ slwi r4, r6, 10 +/* 8033C5DC 003391BC 54 E0 6A E4 */ clrlslwi r0, r7, 24, 13 +/* 8033C5E0 003391C0 80 A8 00 00 */ lwz r5, 0x0(r8) +/* 8033C5E4 003391C4 54 A5 05 A4 */ rlwinm r5, r5, 0, 22, 18 +/* 8033C5E8 003391C8 7C A4 23 78 */ or r4, r5, r4 +/* 8033C5EC 003391CC 90 88 00 00 */ stw r4, 0x0(r8) +/* 8033C5F0 003391D0 80 88 00 00 */ lwz r4, 0x0(r8) +/* 8033C5F4 003391D4 54 84 04 DA */ rlwinm r4, r4, 0, 19, 13 +/* 8033C5F8 003391D8 7C 80 03 78 */ or r0, r4, r0 +/* 8033C5FC 003391DC 90 08 00 00 */ stw r0, 0x0(r8) +/* 8033C600 003391E0 48 00 01 3C */ b .L_8033C73C +.L_8033C604: +/* 8033C604 003391E4 80 88 00 00 */ lwz r4, 0x0(r8) +/* 8033C608 003391E8 54 A0 90 1A */ slwi r0, r5, 18 +/* 8033C60C 003391EC 54 84 03 98 */ rlwinm r4, r4, 0, 14, 12 +/* 8033C610 003391F0 7C 80 03 78 */ or r0, r4, r0 +/* 8033C614 003391F4 90 08 00 00 */ stw r0, 0x0(r8) +/* 8033C618 003391F8 54 C4 98 18 */ slwi r4, r6, 19 +/* 8033C61C 003391FC 54 E0 B0 92 */ clrlslwi r0, r7, 24, 22 +/* 8033C620 00339200 80 A8 00 00 */ lwz r5, 0x0(r8) +/* 8033C624 00339204 54 A5 03 52 */ rlwinm r5, r5, 0, 13, 9 +/* 8033C628 00339208 7C A4 23 78 */ or r4, r5, r4 +/* 8033C62C 0033920C 90 88 00 00 */ stw r4, 0x0(r8) +/* 8033C630 00339210 80 88 00 00 */ lwz r4, 0x0(r8) +/* 8033C634 00339214 54 84 02 88 */ rlwinm r4, r4, 0, 10, 4 +/* 8033C638 00339218 7C 80 03 78 */ or r0, r4, r0 +/* 8033C63C 0033921C 90 08 00 00 */ stw r0, 0x0(r8) +/* 8033C640 00339220 48 00 00 FC */ b .L_8033C73C +.L_8033C644: +/* 8033C644 00339224 81 48 00 00 */ lwz r10, 0x0(r8) +/* 8033C648 00339228 54 A0 D8 08 */ slwi r0, r5, 27 +/* 8033C64C 0033922C 54 C4 E0 06 */ slwi r4, r6, 28 +/* 8033C650 00339230 55 45 01 46 */ rlwinm r5, r10, 0, 5, 3 +/* 8033C654 00339234 7C A0 03 78 */ or r0, r5, r0 +/* 8033C658 00339238 90 08 00 00 */ stw r0, 0x0(r8) +/* 8033C65C 0033923C 54 E0 06 3E */ clrlwi r0, r7, 24 +/* 8033C660 00339240 80 A8 00 00 */ lwz r5, 0x0(r8) +/* 8033C664 00339244 54 A5 01 00 */ rlwinm r5, r5, 0, 4, 0 +/* 8033C668 00339248 7C A4 23 78 */ or r4, r5, r4 +/* 8033C66C 0033924C 90 88 00 00 */ stw r4, 0x0(r8) +/* 8033C670 00339250 80 89 00 00 */ lwz r4, 0x0(r9) +/* 8033C674 00339254 54 84 00 34 */ clrrwi r4, r4, 5 +/* 8033C678 00339258 7C 80 03 78 */ or r0, r4, r0 +/* 8033C67C 0033925C 90 09 00 00 */ stw r0, 0x0(r9) +/* 8033C680 00339260 48 00 00 BC */ b .L_8033C73C +.L_8033C684: +/* 8033C684 00339264 80 89 00 00 */ lwz r4, 0x0(r9) +/* 8033C688 00339268 54 A0 28 34 */ slwi r0, r5, 5 +/* 8033C68C 0033926C 54 84 06 F2 */ rlwinm r4, r4, 0, 27, 25 +/* 8033C690 00339270 7C 80 03 78 */ or r0, r4, r0 +/* 8033C694 00339274 90 09 00 00 */ stw r0, 0x0(r9) +/* 8033C698 00339278 54 C4 30 32 */ slwi r4, r6, 6 +/* 8033C69C 0033927C 54 E0 4B EC */ clrlslwi r0, r7, 24, 9 +/* 8033C6A0 00339280 80 A9 00 00 */ lwz r5, 0x0(r9) +/* 8033C6A4 00339284 54 A5 06 AC */ rlwinm r5, r5, 0, 26, 22 +/* 8033C6A8 00339288 7C A4 23 78 */ or r4, r5, r4 +/* 8033C6AC 0033928C 90 89 00 00 */ stw r4, 0x0(r9) +/* 8033C6B0 00339290 80 89 00 00 */ lwz r4, 0x0(r9) +/* 8033C6B4 00339294 54 84 05 E2 */ rlwinm r4, r4, 0, 23, 17 +/* 8033C6B8 00339298 7C 80 03 78 */ or r0, r4, r0 +/* 8033C6BC 0033929C 90 09 00 00 */ stw r0, 0x0(r9) +/* 8033C6C0 003392A0 48 00 00 7C */ b .L_8033C73C +.L_8033C6C4: +/* 8033C6C4 003392A4 80 89 00 00 */ lwz r4, 0x0(r9) +/* 8033C6C8 003392A8 54 A0 70 22 */ slwi r0, r5, 14 +/* 8033C6CC 003392AC 54 84 04 A0 */ rlwinm r4, r4, 0, 18, 16 +/* 8033C6D0 003392B0 7C 80 03 78 */ or r0, r4, r0 +/* 8033C6D4 003392B4 90 09 00 00 */ stw r0, 0x0(r9) +/* 8033C6D8 003392B8 54 C4 78 20 */ slwi r4, r6, 15 +/* 8033C6DC 003392BC 54 E0 91 9A */ clrlslwi r0, r7, 24, 18 +/* 8033C6E0 003392C0 80 A9 00 00 */ lwz r5, 0x0(r9) +/* 8033C6E4 003392C4 54 A5 04 5A */ rlwinm r5, r5, 0, 17, 13 +/* 8033C6E8 003392C8 7C A4 23 78 */ or r4, r5, r4 +/* 8033C6EC 003392CC 90 89 00 00 */ stw r4, 0x0(r9) +/* 8033C6F0 003392D0 80 89 00 00 */ lwz r4, 0x0(r9) +/* 8033C6F4 003392D4 54 84 03 90 */ rlwinm r4, r4, 0, 14, 8 +/* 8033C6F8 003392D8 7C 80 03 78 */ or r0, r4, r0 +/* 8033C6FC 003392DC 90 09 00 00 */ stw r0, 0x0(r9) +/* 8033C700 003392E0 48 00 00 3C */ b .L_8033C73C +.L_8033C704: +/* 8033C704 003392E4 80 89 00 00 */ lwz r4, 0x0(r9) +/* 8033C708 003392E8 54 A0 B8 10 */ slwi r0, r5, 23 +/* 8033C70C 003392EC 54 84 02 4E */ rlwinm r4, r4, 0, 9, 7 +/* 8033C710 003392F0 7C 80 03 78 */ or r0, r4, r0 +/* 8033C714 003392F4 90 09 00 00 */ stw r0, 0x0(r9) +/* 8033C718 003392F8 54 C0 C0 0E */ slwi r0, r6, 24 +/* 8033C71C 003392FC 80 89 00 00 */ lwz r4, 0x0(r9) +/* 8033C720 00339300 54 84 02 08 */ rlwinm r4, r4, 0, 8, 4 +/* 8033C724 00339304 7C 80 03 78 */ or r0, r4, r0 +/* 8033C728 00339308 90 09 00 00 */ stw r0, 0x0(r9) +/* 8033C72C 0033930C 80 09 00 00 */ lwz r0, 0x0(r9) +/* 8033C730 00339310 54 00 01 7E */ clrlwi r0, r0, 5 +/* 8033C734 00339314 50 E0 D8 08 */ rlwimi r0, r7, 27, 0, 4 +/* 8033C738 00339318 90 09 00 00 */ stw r0, 0x0(r9) +.L_8033C73C: +/* 8033C73C 0033931C 80 AD A5 08 */ lwz r5, __GXContexts@sda21(r0) +/* 8033C740 00339320 54 60 06 3E */ clrlwi r0, r3, 24 +/* 8033C744 00339324 38 60 00 01 */ li r3, 0x1 +/* 8033C748 00339328 80 85 04 F0 */ lwz r4, 0x4f0(r5) +/* 8033C74C 0033932C 7C 60 00 30 */ slw r0, r3, r0 +/* 8033C750 00339330 54 00 06 3E */ clrlwi r0, r0, 24 +/* 8033C754 00339334 60 83 00 10 */ ori r3, r4, 0x10 +/* 8033C758 00339338 90 65 04 F0 */ stw r3, 0x4f0(r5) +/* 8033C75C 0033933C 80 8D A5 08 */ lwz r4, __GXContexts@sda21(r0) +/* 8033C760 00339340 88 64 04 EE */ lbz r3, 0x4ee(r4) +/* 8033C764 00339344 7C 60 03 78 */ or r0, r3, r0 +/* 8033C768 00339348 98 04 04 EE */ stb r0, 0x4ee(r4) +/* 8033C76C 0033934C 4E 80 00 20 */ blr .endfn GXSetVtxAttrFmt +# .text:0x9C8 | 0x8033C770 | size: 0x9C .fn __GXSetVAT, global -/* 000009C8 00000A08 81 40 00 00 */ lwz r10, __GXContexts@sda21(r0) -/* 000009CC 00000A0C 39 80 00 00 */ li r12, 0x0 -/* 000009D0 00000A10 39 60 00 00 */ li r11, 0x0 -/* 000009D4 00000A14 3C E0 CC 01 */ lis r7, 0xcc01 -/* 000009D8 00000A18 48 00 00 70 */ b .L_00000A48 -.L_000009DC: -/* 000009DC 00000A1C 55 89 06 3E */ clrlwi r9, r12, 24 -/* 000009E0 00000A20 88 6A 04 EE */ lbz r3, 0x4ee(r10) -/* 000009E4 00000A24 38 00 00 01 */ li r0, 0x1 -/* 000009E8 00000A28 7C 00 48 30 */ slw r0, r0, r9 -/* 000009EC 00000A2C 7C 60 00 39 */ and. r0, r3, r0 -/* 000009F0 00000A30 41 82 00 50 */ beq .L_00000A40 -/* 000009F4 00000A34 39 00 00 08 */ li r8, 0x8 -/* 000009F8 00000A38 99 07 80 00 */ stb r8, -0x8000(r7) -/* 000009FC 00000A3C 61 23 00 70 */ ori r3, r9, 0x70 -/* 00000A00 00000A40 38 0B 00 1C */ addi r0, r11, 0x1c -/* 00000A04 00000A44 98 67 80 00 */ stb r3, -0x8000(r7) -/* 00000A08 00000A48 61 25 00 80 */ ori r5, r9, 0x80 -/* 00000A0C 00000A4C 38 8B 00 3C */ addi r4, r11, 0x3c -/* 00000A10 00000A50 7C CA 00 2E */ lwzx r6, r10, r0 -/* 00000A14 00000A54 61 23 00 90 */ ori r3, r9, 0x90 -/* 00000A18 00000A58 38 0B 00 5C */ addi r0, r11, 0x5c -/* 00000A1C 00000A5C 90 C7 80 00 */ stw r6, -0x8000(r7) -/* 00000A20 00000A60 99 07 80 00 */ stb r8, -0x8000(r7) -/* 00000A24 00000A64 98 A7 80 00 */ stb r5, -0x8000(r7) -/* 00000A28 00000A68 7C 8A 20 2E */ lwzx r4, r10, r4 -/* 00000A2C 00000A6C 90 87 80 00 */ stw r4, -0x8000(r7) -/* 00000A30 00000A70 99 07 80 00 */ stb r8, -0x8000(r7) -/* 00000A34 00000A74 98 67 80 00 */ stb r3, -0x8000(r7) -/* 00000A38 00000A78 7C 0A 00 2E */ lwzx r0, r10, r0 -/* 00000A3C 00000A7C 90 07 80 00 */ stw r0, -0x8000(r7) -.L_00000A40: -/* 00000A40 00000A80 39 6B 00 04 */ addi r11, r11, 0x4 -/* 00000A44 00000A84 39 8C 00 01 */ addi r12, r12, 0x1 -.L_00000A48: -/* 00000A48 00000A88 55 80 06 3E */ clrlwi r0, r12, 24 -/* 00000A4C 00000A8C 28 00 00 08 */ cmplwi r0, 0x8 -/* 00000A50 00000A90 41 80 FF 8C */ blt .L_000009DC -/* 00000A54 00000A94 80 60 00 00 */ lwz r3, __GXContexts@sda21(r0) -/* 00000A58 00000A98 38 00 00 00 */ li r0, 0x0 -/* 00000A5C 00000A9C 98 03 04 EE */ stb r0, 0x4ee(r3) -/* 00000A60 00000AA0 4E 80 00 20 */ blr +/* 8033C770 00339350 81 4D A5 08 */ lwz r10, __GXContexts@sda21(r0) +/* 8033C774 00339354 39 80 00 00 */ li r12, 0x0 +/* 8033C778 00339358 39 60 00 00 */ li r11, 0x0 +/* 8033C77C 0033935C 3C E0 CC 01 */ lis r7, 0xcc01 +/* 8033C780 00339360 48 00 00 70 */ b .L_8033C7F0 +.L_8033C784: +/* 8033C784 00339364 55 89 06 3E */ clrlwi r9, r12, 24 +/* 8033C788 00339368 88 6A 04 EE */ lbz r3, 0x4ee(r10) +/* 8033C78C 0033936C 38 00 00 01 */ li r0, 0x1 +/* 8033C790 00339370 7C 00 48 30 */ slw r0, r0, r9 +/* 8033C794 00339374 7C 60 00 39 */ and. r0, r3, r0 +/* 8033C798 00339378 41 82 00 50 */ beq .L_8033C7E8 +/* 8033C79C 0033937C 39 00 00 08 */ li r8, 0x8 +/* 8033C7A0 00339380 99 07 80 00 */ stb r8, -0x8000(r7) +/* 8033C7A4 00339384 61 23 00 70 */ ori r3, r9, 0x70 +/* 8033C7A8 00339388 38 0B 00 1C */ addi r0, r11, 0x1c +/* 8033C7AC 0033938C 98 67 80 00 */ stb r3, -0x8000(r7) +/* 8033C7B0 00339390 61 25 00 80 */ ori r5, r9, 0x80 +/* 8033C7B4 00339394 38 8B 00 3C */ addi r4, r11, 0x3c +/* 8033C7B8 00339398 7C CA 00 2E */ lwzx r6, r10, r0 +/* 8033C7BC 0033939C 61 23 00 90 */ ori r3, r9, 0x90 +/* 8033C7C0 003393A0 38 0B 00 5C */ addi r0, r11, 0x5c +/* 8033C7C4 003393A4 90 C7 80 00 */ stw r6, -0x8000(r7) +/* 8033C7C8 003393A8 99 07 80 00 */ stb r8, -0x8000(r7) +/* 8033C7CC 003393AC 98 A7 80 00 */ stb r5, -0x8000(r7) +/* 8033C7D0 003393B0 7C 8A 20 2E */ lwzx r4, r10, r4 +/* 8033C7D4 003393B4 90 87 80 00 */ stw r4, -0x8000(r7) +/* 8033C7D8 003393B8 99 07 80 00 */ stb r8, -0x8000(r7) +/* 8033C7DC 003393BC 98 67 80 00 */ stb r3, -0x8000(r7) +/* 8033C7E0 003393C0 7C 0A 00 2E */ lwzx r0, r10, r0 +/* 8033C7E4 003393C4 90 07 80 00 */ stw r0, -0x8000(r7) +.L_8033C7E8: +/* 8033C7E8 003393C8 39 6B 00 04 */ addi r11, r11, 0x4 +/* 8033C7EC 003393CC 39 8C 00 01 */ addi r12, r12, 0x1 +.L_8033C7F0: +/* 8033C7F0 003393D0 55 80 06 3E */ clrlwi r0, r12, 24 +/* 8033C7F4 003393D4 28 00 00 08 */ cmplwi r0, 0x8 +/* 8033C7F8 003393D8 41 80 FF 8C */ blt .L_8033C784 +/* 8033C7FC 003393DC 80 6D A5 08 */ lwz r3, __GXContexts@sda21(r0) +/* 8033C800 003393E0 38 00 00 00 */ li r0, 0x0 +/* 8033C804 003393E4 98 03 04 EE */ stb r0, 0x4ee(r3) +/* 8033C808 003393E8 4E 80 00 20 */ blr .endfn __GXSetVAT +# .text:0xA64 | 0x8033C80C | size: 0x8C .fn GXSetArray, global -/* 00000A64 00000AA4 2C 03 00 19 */ cmpwi r3, 0x19 -/* 00000A68 00000AA8 40 82 00 08 */ bne .L_00000A70 -/* 00000A6C 00000AAC 38 60 00 0A */ li r3, 0xa -.L_00000A70: -/* 00000A70 00000AB0 38 00 00 08 */ li r0, 0x8 -/* 00000A74 00000AB4 38 C3 FF F7 */ subi r6, r3, 0x9 -/* 00000A78 00000AB8 3C 60 CC 01 */ lis r3, 0xcc01 -/* 00000A7C 00000ABC 98 03 80 00 */ stb r0, -0x8000(r3) -/* 00000A80 00000AC0 60 C0 00 A0 */ ori r0, r6, 0xa0 -/* 00000A84 00000AC4 54 84 00 BE */ clrlwi r4, r4, 2 -/* 00000A88 00000AC8 98 03 80 00 */ stb r0, -0x8000(r3) -/* 00000A8C 00000ACC 34 06 FF F4 */ subic. r0, r6, 0xc -/* 00000A90 00000AD0 90 83 80 00 */ stw r4, -0x8000(r3) -/* 00000A94 00000AD4 41 80 00 1C */ blt .L_00000AB0 -/* 00000A98 00000AD8 2C 00 00 04 */ cmpwi r0, 0x4 -/* 00000A9C 00000ADC 40 80 00 14 */ bge .L_00000AB0 -/* 00000AA0 00000AE0 80 60 00 00 */ lwz r3, __GXContexts@sda21(r0) -/* 00000AA4 00000AE4 54 00 10 3A */ slwi r0, r0, 2 -/* 00000AA8 00000AE8 7C 63 02 14 */ add r3, r3, r0 -/* 00000AAC 00000AEC 90 83 00 88 */ stw r4, 0x88(r3) -.L_00000AB0: -/* 00000AB0 00000AF0 38 00 00 08 */ li r0, 0x8 -/* 00000AB4 00000AF4 3C 60 CC 01 */ lis r3, 0xcc01 -/* 00000AB8 00000AF8 98 03 80 00 */ stb r0, -0x8000(r3) -/* 00000ABC 00000AFC 60 C0 00 B0 */ ori r0, r6, 0xb0 -/* 00000AC0 00000B00 54 A4 06 3E */ clrlwi r4, r5, 24 -/* 00000AC4 00000B04 98 03 80 00 */ stb r0, -0x8000(r3) -/* 00000AC8 00000B08 34 06 FF F4 */ subic. r0, r6, 0xc -/* 00000ACC 00000B0C 90 83 80 00 */ stw r4, -0x8000(r3) -/* 00000AD0 00000B10 4D 80 00 20 */ bltlr -/* 00000AD4 00000B14 2C 00 00 04 */ cmpwi r0, 0x4 -/* 00000AD8 00000B18 4C 80 00 20 */ bgelr -/* 00000ADC 00000B1C 80 60 00 00 */ lwz r3, __GXContexts@sda21(r0) -/* 00000AE0 00000B20 54 00 10 3A */ slwi r0, r0, 2 -/* 00000AE4 00000B24 7C 63 02 14 */ add r3, r3, r0 -/* 00000AE8 00000B28 90 83 00 98 */ stw r4, 0x98(r3) -/* 00000AEC 00000B2C 4E 80 00 20 */ blr +/* 8033C80C 003393EC 2C 03 00 19 */ cmpwi r3, 0x19 +/* 8033C810 003393F0 40 82 00 08 */ bne .L_8033C818 +/* 8033C814 003393F4 38 60 00 0A */ li r3, 0xa +.L_8033C818: +/* 8033C818 003393F8 38 00 00 08 */ li r0, 0x8 +/* 8033C81C 003393FC 38 C3 FF F7 */ subi r6, r3, 0x9 +/* 8033C820 00339400 3C 60 CC 01 */ lis r3, 0xcc01 +/* 8033C824 00339404 98 03 80 00 */ stb r0, -0x8000(r3) +/* 8033C828 00339408 60 C0 00 A0 */ ori r0, r6, 0xa0 +/* 8033C82C 0033940C 54 84 00 BE */ clrlwi r4, r4, 2 +/* 8033C830 00339410 98 03 80 00 */ stb r0, -0x8000(r3) +/* 8033C834 00339414 34 06 FF F4 */ subic. r0, r6, 0xc +/* 8033C838 00339418 90 83 80 00 */ stw r4, -0x8000(r3) +/* 8033C83C 0033941C 41 80 00 1C */ blt .L_8033C858 +/* 8033C840 00339420 2C 00 00 04 */ cmpwi r0, 0x4 +/* 8033C844 00339424 40 80 00 14 */ bge .L_8033C858 +/* 8033C848 00339428 80 6D A5 08 */ lwz r3, __GXContexts@sda21(r0) +/* 8033C84C 0033942C 54 00 10 3A */ slwi r0, r0, 2 +/* 8033C850 00339430 7C 63 02 14 */ add r3, r3, r0 +/* 8033C854 00339434 90 83 00 88 */ stw r4, 0x88(r3) +.L_8033C858: +/* 8033C858 00339438 38 00 00 08 */ li r0, 0x8 +/* 8033C85C 0033943C 3C 60 CC 01 */ lis r3, 0xcc01 +/* 8033C860 00339440 98 03 80 00 */ stb r0, -0x8000(r3) +/* 8033C864 00339444 60 C0 00 B0 */ ori r0, r6, 0xb0 +/* 8033C868 00339448 54 A4 06 3E */ clrlwi r4, r5, 24 +/* 8033C86C 0033944C 98 03 80 00 */ stb r0, -0x8000(r3) +/* 8033C870 00339450 34 06 FF F4 */ subic. r0, r6, 0xc +/* 8033C874 00339454 90 83 80 00 */ stw r4, -0x8000(r3) +/* 8033C878 00339458 4D 80 00 20 */ bltlr +/* 8033C87C 0033945C 2C 00 00 04 */ cmpwi r0, 0x4 +/* 8033C880 00339460 4C 80 00 20 */ bgelr +/* 8033C884 00339464 80 6D A5 08 */ lwz r3, __GXContexts@sda21(r0) +/* 8033C888 00339468 54 00 10 3A */ slwi r0, r0, 2 +/* 8033C88C 0033946C 7C 63 02 14 */ add r3, r3, r0 +/* 8033C890 00339470 90 83 00 98 */ stw r4, 0x98(r3) +/* 8033C894 00339474 4E 80 00 20 */ blr .endfn GXSetArray +# .text:0xAF0 | 0x8033C898 | size: 0x10 .fn GXInvalidateVtxCache, global -/* 00000AF0 00000B30 38 00 00 48 */ li r0, 0x48 -/* 00000AF4 00000B34 3C 60 CC 01 */ lis r3, 0xcc01 -/* 00000AF8 00000B38 98 03 80 00 */ stb r0, -0x8000(r3) -/* 00000AFC 00000B3C 4E 80 00 20 */ blr +/* 8033C898 00339478 38 00 00 48 */ li r0, 0x48 +/* 8033C89C 0033947C 3C 60 CC 01 */ lis r3, 0xcc01 +/* 8033C8A0 00339480 98 03 80 00 */ stb r0, -0x8000(r3) +/* 8033C8A4 00339484 4E 80 00 20 */ blr .endfn GXInvalidateVtxCache +# .text:0xB00 | 0x8033C8A8 | size: 0x2D0 .fn GXSetTexCoordGen2, global -/* 00000B00 00000B40 7C 08 02 A6 */ mflr r0 -/* 00000B04 00000B44 28 05 00 14 */ cmplwi r5, 0x14 -/* 00000B08 00000B48 90 01 00 04 */ stw r0, 0x4(r1) -/* 00000B0C 00000B4C 39 60 00 00 */ li r11, 0x0 -/* 00000B10 00000B50 39 80 00 00 */ li r12, 0x0 -/* 00000B14 00000B54 94 21 FF F8 */ stwu r1, -0x8(r1) -/* 00000B18 00000B58 39 40 00 05 */ li r10, 0x5 -/* 00000B1C 00000B5C 41 81 00 98 */ bgt GXAttr_8033C95C -/* 00000B20 00000B60 3D 20 00 00 */ lis r9, jtbl_80401110@ha -/* 00000B24 00000B64 39 29 00 00 */ addi r9, r9, jtbl_80401110@l -/* 00000B28 00000B68 54 A0 10 3A */ slwi r0, r5, 2 -/* 00000B2C 00000B6C 7C 09 00 2E */ lwzx r0, r9, r0 -/* 00000B30 00000B70 7C 09 03 A6 */ mtctr r0 -/* 00000B34 00000B74 4E 80 04 20 */ bctr -.sym GXAttr_8033C8E0, global -/* 00000B38 00000B78 39 40 00 00 */ li r10, 0x0 -/* 00000B3C 00000B7C 39 80 00 01 */ li r12, 0x1 -/* 00000B40 00000B80 48 00 00 74 */ b GXAttr_8033C95C -.sym GXAttr_8033C8EC, global -/* 00000B44 00000B84 39 40 00 01 */ li r10, 0x1 -/* 00000B48 00000B88 39 80 00 01 */ li r12, 0x1 -/* 00000B4C 00000B8C 48 00 00 68 */ b GXAttr_8033C95C -.sym GXAttr_8033C8F8, global -/* 00000B50 00000B90 39 40 00 03 */ li r10, 0x3 -/* 00000B54 00000B94 39 80 00 01 */ li r12, 0x1 -/* 00000B58 00000B98 48 00 00 5C */ b GXAttr_8033C95C -.sym GXAttr_8033C904, global -/* 00000B5C 00000B9C 39 40 00 04 */ li r10, 0x4 -/* 00000B60 00000BA0 39 80 00 01 */ li r12, 0x1 -/* 00000B64 00000BA4 48 00 00 50 */ b GXAttr_8033C95C -.sym GXAttr_8033C910, global -/* 00000B68 00000BA8 39 40 00 02 */ li r10, 0x2 -/* 00000B6C 00000BAC 48 00 00 48 */ b GXAttr_8033C95C -.sym GXAttr_8033C918, global -/* 00000B70 00000BB0 39 40 00 02 */ li r10, 0x2 -/* 00000B74 00000BB4 48 00 00 40 */ b GXAttr_8033C95C -.sym GXAttr_8033C920, global -/* 00000B78 00000BB8 39 40 00 05 */ li r10, 0x5 -/* 00000B7C 00000BBC 48 00 00 38 */ b GXAttr_8033C95C -.sym GXAttr_8033C928, global -/* 00000B80 00000BC0 39 40 00 06 */ li r10, 0x6 -/* 00000B84 00000BC4 48 00 00 30 */ b GXAttr_8033C95C -.sym GXAttr_8033C930, global -/* 00000B88 00000BC8 39 40 00 07 */ li r10, 0x7 -/* 00000B8C 00000BCC 48 00 00 28 */ b GXAttr_8033C95C -.sym GXAttr_8033C938, global -/* 00000B90 00000BD0 39 40 00 08 */ li r10, 0x8 -/* 00000B94 00000BD4 48 00 00 20 */ b GXAttr_8033C95C -.sym GXAttr_8033C940, global -/* 00000B98 00000BD8 39 40 00 09 */ li r10, 0x9 -/* 00000B9C 00000BDC 48 00 00 18 */ b GXAttr_8033C95C -.sym GXAttr_8033C948, global -/* 00000BA0 00000BE0 39 40 00 0A */ li r10, 0xa -/* 00000BA4 00000BE4 48 00 00 10 */ b GXAttr_8033C95C -.sym GXAttr_8033C950, global -/* 00000BA8 00000BE8 39 40 00 0B */ li r10, 0xb -/* 00000BAC 00000BEC 48 00 00 08 */ b GXAttr_8033C95C -.sym GXAttr_8033C958, global -/* 00000BB0 00000BF0 39 40 00 0C */ li r10, 0xc -.sym GXAttr_8033C95C, global -/* 00000BB4 00000BF4 2C 04 00 01 */ cmpwi r4, 0x1 -/* 00000BB8 00000BF8 41 82 00 24 */ beq .L_00000BDC -/* 00000BBC 00000BFC 40 80 00 10 */ bge .L_00000BCC -/* 00000BC0 00000C00 2C 04 00 00 */ cmpwi r4, 0x0 -/* 00000BC4 00000C04 40 80 00 2C */ bge .L_00000BF0 -/* 00000BC8 00000C08 48 00 00 A4 */ b .L_00000C6C -.L_00000BCC: -/* 00000BCC 00000C0C 2C 04 00 0A */ cmpwi r4, 0xa -/* 00000BD0 00000C10 41 82 00 74 */ beq .L_00000C44 -/* 00000BD4 00000C14 40 80 00 98 */ bge .L_00000C6C -/* 00000BD8 00000C18 48 00 00 30 */ b .L_00000C08 -.L_00000BDC: -/* 00000BDC 00000C1C 55 80 10 3A */ slwi r0, r12, 2 -/* 00000BE0 00000C20 54 04 07 26 */ rlwinm r4, r0, 0, 28, 19 -/* 00000BE4 00000C24 55 40 38 30 */ slwi r0, r10, 7 -/* 00000BE8 00000C28 7C 8B 03 78 */ or r11, r4, r0 -/* 00000BEC 00000C2C 48 00 00 80 */ b .L_00000C6C -.L_00000BF0: -/* 00000BF0 00000C30 55 80 10 3A */ slwi r0, r12, 2 -/* 00000BF4 00000C34 60 00 00 02 */ ori r0, r0, 0x2 -/* 00000BF8 00000C38 54 04 07 26 */ rlwinm r4, r0, 0, 28, 19 -/* 00000BFC 00000C3C 55 40 38 30 */ slwi r0, r10, 7 -/* 00000C00 00000C40 7C 8B 03 78 */ or r11, r4, r0 -/* 00000C04 00000C44 48 00 00 68 */ b .L_00000C6C -.L_00000C08: -/* 00000C08 00000C48 55 80 10 3A */ slwi r0, r12, 2 -/* 00000C0C 00000C4C 54 00 07 30 */ rlwinm r0, r0, 0, 28, 24 -/* 00000C10 00000C50 60 00 00 10 */ ori r0, r0, 0x10 -/* 00000C14 00000C54 54 09 06 66 */ rlwinm r9, r0, 0, 25, 19 -/* 00000C18 00000C58 55 40 38 30 */ slwi r0, r10, 7 -/* 00000C1C 00000C5C 7D 29 03 78 */ or r9, r9, r0 -/* 00000C20 00000C60 38 A5 FF F4 */ subi r5, r5, 0xc -/* 00000C24 00000C64 38 04 FF FE */ subi r0, r4, 0x2 -/* 00000C28 00000C68 55 29 05 20 */ rlwinm r9, r9, 0, 20, 16 -/* 00000C2C 00000C6C 54 A4 60 26 */ slwi r4, r5, 12 -/* 00000C30 00000C70 7D 24 23 78 */ or r4, r9, r4 -/* 00000C34 00000C74 54 84 04 5A */ rlwinm r4, r4, 0, 17, 13 -/* 00000C38 00000C78 54 00 78 20 */ slwi r0, r0, 15 -/* 00000C3C 00000C7C 7C 8B 03 78 */ or r11, r4, r0 -/* 00000C40 00000C80 48 00 00 2C */ b .L_00000C6C -.L_00000C44: -/* 00000C44 00000C84 2C 05 00 13 */ cmpwi r5, 0x13 -/* 00000C48 00000C88 55 80 10 3A */ slwi r0, r12, 2 -/* 00000C4C 00000C8C 40 82 00 10 */ bne .L_00000C5C -/* 00000C50 00000C90 54 00 07 30 */ rlwinm r0, r0, 0, 28, 24 -/* 00000C54 00000C94 60 00 00 20 */ ori r0, r0, 0x20 -/* 00000C58 00000C98 48 00 00 0C */ b .L_00000C64 -.L_00000C5C: -/* 00000C5C 00000C9C 54 00 07 30 */ rlwinm r0, r0, 0, 28, 24 -/* 00000C60 00000CA0 60 00 00 30 */ ori r0, r0, 0x30 -.L_00000C64: -/* 00000C64 00000CA4 54 00 06 66 */ rlwinm r0, r0, 0, 25, 19 -/* 00000C68 00000CA8 60 0B 01 00 */ ori r11, r0, 0x100 -.L_00000C6C: -/* 00000C6C 00000CAC 39 40 00 10 */ li r10, 0x10 -/* 00000C70 00000CB0 3D 20 CC 01 */ lis r9, 0xcc01 -/* 00000C74 00000CB4 99 49 80 00 */ stb r10, -0x8000(r9) -/* 00000C78 00000CB8 38 03 10 40 */ addi r0, r3, 0x1040 -/* 00000C7C 00000CBC 38 88 FF C0 */ subi r4, r8, 0x40 -/* 00000C80 00000CC0 90 09 80 00 */ stw r0, -0x8000(r9) -/* 00000C84 00000CC4 54 85 06 2C */ rlwinm r5, r4, 0, 24, 22 -/* 00000C88 00000CC8 54 E4 44 2E */ clrlslwi r4, r7, 24, 8 -/* 00000C8C 00000CCC 91 69 80 00 */ stw r11, -0x8000(r9) -/* 00000C90 00000CD0 38 03 10 50 */ addi r0, r3, 0x1050 -/* 00000C94 00000CD4 28 03 00 06 */ cmplwi r3, 0x6 -/* 00000C98 00000CD8 99 49 80 00 */ stb r10, -0x8000(r9) -/* 00000C9C 00000CDC 7C A4 23 78 */ or r4, r5, r4 -/* 00000CA0 00000CE0 90 09 80 00 */ stw r0, -0x8000(r9) -/* 00000CA4 00000CE4 90 89 80 00 */ stw r4, -0x8000(r9) -/* 00000CA8 00000CE8 41 81 00 F4 */ bgt .L_00000D9C -/* 00000CAC 00000CEC 3C 80 00 00 */ lis r4, jtbl_804010F4@ha -/* 00000CB0 00000CF0 38 84 00 00 */ addi r4, r4, jtbl_804010F4@l -/* 00000CB4 00000CF4 54 60 10 3A */ slwi r0, r3, 2 -/* 00000CB8 00000CF8 7C 04 00 2E */ lwzx r0, r4, r0 -/* 00000CBC 00000CFC 7C 09 03 A6 */ mtctr r0 -/* 00000CC0 00000D00 4E 80 04 20 */ bctr -.sym GXAttr_8033CA6C, global -/* 00000CC4 00000D04 80 80 00 00 */ lwz r4, __GXContexts@sda21(r0) -/* 00000CC8 00000D08 54 C0 30 32 */ slwi r0, r6, 6 -/* 00000CCC 00000D0C 38 A4 00 80 */ addi r5, r4, 0x80 -/* 00000CD0 00000D10 80 84 00 80 */ lwz r4, 0x80(r4) -/* 00000CD4 00000D14 54 84 06 A6 */ rlwinm r4, r4, 0, 26, 19 -/* 00000CD8 00000D18 7C 80 03 78 */ or r0, r4, r0 -/* 00000CDC 00000D1C 90 05 00 00 */ stw r0, 0x0(r5) -/* 00000CE0 00000D20 48 00 00 D8 */ b .L_00000DB8 -.sym GXAttr_8033CA8C, global -/* 00000CE4 00000D24 80 80 00 00 */ lwz r4, __GXContexts@sda21(r0) -/* 00000CE8 00000D28 54 C0 60 26 */ slwi r0, r6, 12 -/* 00000CEC 00000D2C 38 A4 00 80 */ addi r5, r4, 0x80 -/* 00000CF0 00000D30 80 84 00 80 */ lwz r4, 0x80(r4) -/* 00000CF4 00000D34 54 84 05 1A */ rlwinm r4, r4, 0, 20, 13 -/* 00000CF8 00000D38 7C 80 03 78 */ or r0, r4, r0 -/* 00000CFC 00000D3C 90 05 00 00 */ stw r0, 0x0(r5) -/* 00000D00 00000D40 48 00 00 B8 */ b .L_00000DB8 -.sym GXAttr_8033CAAC, global -/* 00000D04 00000D44 80 80 00 00 */ lwz r4, __GXContexts@sda21(r0) -/* 00000D08 00000D48 54 C0 90 1A */ slwi r0, r6, 18 -/* 00000D0C 00000D4C 38 A4 00 80 */ addi r5, r4, 0x80 -/* 00000D10 00000D50 80 84 00 80 */ lwz r4, 0x80(r4) -/* 00000D14 00000D54 54 84 03 8E */ rlwinm r4, r4, 0, 14, 7 -/* 00000D18 00000D58 7C 80 03 78 */ or r0, r4, r0 -/* 00000D1C 00000D5C 90 05 00 00 */ stw r0, 0x0(r5) -/* 00000D20 00000D60 48 00 00 98 */ b .L_00000DB8 -.sym GXAttr_8033CACC, global -/* 00000D24 00000D64 80 80 00 00 */ lwz r4, __GXContexts@sda21(r0) -/* 00000D28 00000D68 54 C0 C0 0E */ slwi r0, r6, 24 -/* 00000D2C 00000D6C 38 A4 00 80 */ addi r5, r4, 0x80 -/* 00000D30 00000D70 80 84 00 80 */ lwz r4, 0x80(r4) -/* 00000D34 00000D74 54 84 02 02 */ rlwinm r4, r4, 0, 8, 1 -/* 00000D38 00000D78 7C 80 03 78 */ or r0, r4, r0 -/* 00000D3C 00000D7C 90 05 00 00 */ stw r0, 0x0(r5) -/* 00000D40 00000D80 48 00 00 78 */ b .L_00000DB8 -.sym GXAttr_8033CAEC, global -/* 00000D44 00000D84 80 80 00 00 */ lwz r4, __GXContexts@sda21(r0) -/* 00000D48 00000D88 84 04 00 84 */ lwzu r0, 0x84(r4) -/* 00000D4C 00000D8C 54 00 00 32 */ clrrwi r0, r0, 6 -/* 00000D50 00000D90 7C 00 33 78 */ or r0, r0, r6 -/* 00000D54 00000D94 90 04 00 00 */ stw r0, 0x0(r4) -/* 00000D58 00000D98 48 00 00 60 */ b .L_00000DB8 -.sym GXAttr_8033CB04, global -/* 00000D5C 00000D9C 80 80 00 00 */ lwz r4, __GXContexts@sda21(r0) -/* 00000D60 00000DA0 54 C0 30 32 */ slwi r0, r6, 6 -/* 00000D64 00000DA4 38 A4 00 84 */ addi r5, r4, 0x84 -/* 00000D68 00000DA8 80 84 00 84 */ lwz r4, 0x84(r4) -/* 00000D6C 00000DAC 54 84 06 A6 */ rlwinm r4, r4, 0, 26, 19 -/* 00000D70 00000DB0 7C 80 03 78 */ or r0, r4, r0 -/* 00000D74 00000DB4 90 05 00 00 */ stw r0, 0x0(r5) -/* 00000D78 00000DB8 48 00 00 40 */ b .L_00000DB8 -.sym GXAttr_8033CB24, global -/* 00000D7C 00000DBC 80 80 00 00 */ lwz r4, __GXContexts@sda21(r0) -/* 00000D80 00000DC0 54 C0 60 26 */ slwi r0, r6, 12 -/* 00000D84 00000DC4 38 A4 00 84 */ addi r5, r4, 0x84 -/* 00000D88 00000DC8 80 84 00 84 */ lwz r4, 0x84(r4) -/* 00000D8C 00000DCC 54 84 05 1A */ rlwinm r4, r4, 0, 20, 13 -/* 00000D90 00000DD0 7C 80 03 78 */ or r0, r4, r0 -/* 00000D94 00000DD4 90 05 00 00 */ stw r0, 0x0(r5) -/* 00000D98 00000DD8 48 00 00 20 */ b .L_00000DB8 -.L_00000D9C: -/* 00000D9C 00000DDC 80 80 00 00 */ lwz r4, __GXContexts@sda21(r0) -/* 00000DA0 00000DE0 54 C0 90 1A */ slwi r0, r6, 18 -/* 00000DA4 00000DE4 38 A4 00 84 */ addi r5, r4, 0x84 -/* 00000DA8 00000DE8 80 84 00 84 */ lwz r4, 0x84(r4) -/* 00000DAC 00000DEC 54 84 03 8E */ rlwinm r4, r4, 0, 14, 7 -/* 00000DB0 00000DF0 7C 80 03 78 */ or r0, r4, r0 -/* 00000DB4 00000DF4 90 05 00 00 */ stw r0, 0x0(r5) -.L_00000DB8: -/* 00000DB8 00000DF8 38 63 00 01 */ addi r3, r3, 0x1 -/* 00000DBC 00000DFC 48 00 00 01 */ bl __GXSetMatrixIndex -/* 00000DC0 00000E00 80 01 00 0C */ lwz r0, 0xc(r1) -/* 00000DC4 00000E04 38 21 00 08 */ addi r1, r1, 0x8 -/* 00000DC8 00000E08 7C 08 03 A6 */ mtlr r0 -/* 00000DCC 00000E0C 4E 80 00 20 */ blr +/* 8033C8A8 00339488 7C 08 02 A6 */ mflr r0 +/* 8033C8AC 0033948C 28 05 00 14 */ cmplwi r5, 0x14 +/* 8033C8B0 00339490 90 01 00 04 */ stw r0, 0x4(r1) +/* 8033C8B4 00339494 39 60 00 00 */ li r11, 0x0 +/* 8033C8B8 00339498 39 80 00 00 */ li r12, 0x0 +/* 8033C8BC 0033949C 94 21 FF F8 */ stwu r1, -0x8(r1) +/* 8033C8C0 003394A0 39 40 00 05 */ li r10, 0x5 +/* 8033C8C4 003394A4 41 81 00 98 */ bgt .L_8033C95C +/* 8033C8C8 003394A8 3D 20 80 40 */ lis r9, jtbl_80401110@ha +/* 8033C8CC 003394AC 39 29 11 10 */ addi r9, r9, jtbl_80401110@l +/* 8033C8D0 003394B0 54 A0 10 3A */ slwi r0, r5, 2 +/* 8033C8D4 003394B4 7C 09 00 2E */ lwzx r0, r9, r0 +/* 8033C8D8 003394B8 7C 09 03 A6 */ mtctr r0 +/* 8033C8DC 003394BC 4E 80 04 20 */ bctr +.L_8033C8E0: +/* 8033C8E0 003394C0 39 40 00 00 */ li r10, 0x0 +/* 8033C8E4 003394C4 39 80 00 01 */ li r12, 0x1 +/* 8033C8E8 003394C8 48 00 00 74 */ b .L_8033C95C +.L_8033C8EC: +/* 8033C8EC 003394CC 39 40 00 01 */ li r10, 0x1 +/* 8033C8F0 003394D0 39 80 00 01 */ li r12, 0x1 +/* 8033C8F4 003394D4 48 00 00 68 */ b .L_8033C95C +.L_8033C8F8: +/* 8033C8F8 003394D8 39 40 00 03 */ li r10, 0x3 +/* 8033C8FC 003394DC 39 80 00 01 */ li r12, 0x1 +/* 8033C900 003394E0 48 00 00 5C */ b .L_8033C95C +.L_8033C904: +/* 8033C904 003394E4 39 40 00 04 */ li r10, 0x4 +/* 8033C908 003394E8 39 80 00 01 */ li r12, 0x1 +/* 8033C90C 003394EC 48 00 00 50 */ b .L_8033C95C +.L_8033C910: +/* 8033C910 003394F0 39 40 00 02 */ li r10, 0x2 +/* 8033C914 003394F4 48 00 00 48 */ b .L_8033C95C +.L_8033C918: +/* 8033C918 003394F8 39 40 00 02 */ li r10, 0x2 +/* 8033C91C 003394FC 48 00 00 40 */ b .L_8033C95C +.L_8033C920: +/* 8033C920 00339500 39 40 00 05 */ li r10, 0x5 +/* 8033C924 00339504 48 00 00 38 */ b .L_8033C95C +.L_8033C928: +/* 8033C928 00339508 39 40 00 06 */ li r10, 0x6 +/* 8033C92C 0033950C 48 00 00 30 */ b .L_8033C95C +.L_8033C930: +/* 8033C930 00339510 39 40 00 07 */ li r10, 0x7 +/* 8033C934 00339514 48 00 00 28 */ b .L_8033C95C +.L_8033C938: +/* 8033C938 00339518 39 40 00 08 */ li r10, 0x8 +/* 8033C93C 0033951C 48 00 00 20 */ b .L_8033C95C +.L_8033C940: +/* 8033C940 00339520 39 40 00 09 */ li r10, 0x9 +/* 8033C944 00339524 48 00 00 18 */ b .L_8033C95C +.L_8033C948: +/* 8033C948 00339528 39 40 00 0A */ li r10, 0xa +/* 8033C94C 0033952C 48 00 00 10 */ b .L_8033C95C +.L_8033C950: +/* 8033C950 00339530 39 40 00 0B */ li r10, 0xb +/* 8033C954 00339534 48 00 00 08 */ b .L_8033C95C +.L_8033C958: +/* 8033C958 00339538 39 40 00 0C */ li r10, 0xc +.L_8033C95C: +/* 8033C95C 0033953C 2C 04 00 01 */ cmpwi r4, 0x1 +/* 8033C960 00339540 41 82 00 24 */ beq .L_8033C984 +/* 8033C964 00339544 40 80 00 10 */ bge .L_8033C974 +/* 8033C968 00339548 2C 04 00 00 */ cmpwi r4, 0x0 +/* 8033C96C 0033954C 40 80 00 2C */ bge .L_8033C998 +/* 8033C970 00339550 48 00 00 A4 */ b .L_8033CA14 +.L_8033C974: +/* 8033C974 00339554 2C 04 00 0A */ cmpwi r4, 0xa +/* 8033C978 00339558 41 82 00 74 */ beq .L_8033C9EC +/* 8033C97C 0033955C 40 80 00 98 */ bge .L_8033CA14 +/* 8033C980 00339560 48 00 00 30 */ b .L_8033C9B0 +.L_8033C984: +/* 8033C984 00339564 55 80 10 3A */ slwi r0, r12, 2 +/* 8033C988 00339568 54 04 07 26 */ rlwinm r4, r0, 0, 28, 19 +/* 8033C98C 0033956C 55 40 38 30 */ slwi r0, r10, 7 +/* 8033C990 00339570 7C 8B 03 78 */ or r11, r4, r0 +/* 8033C994 00339574 48 00 00 80 */ b .L_8033CA14 +.L_8033C998: +/* 8033C998 00339578 55 80 10 3A */ slwi r0, r12, 2 +/* 8033C99C 0033957C 60 00 00 02 */ ori r0, r0, 0x2 +/* 8033C9A0 00339580 54 04 07 26 */ rlwinm r4, r0, 0, 28, 19 +/* 8033C9A4 00339584 55 40 38 30 */ slwi r0, r10, 7 +/* 8033C9A8 00339588 7C 8B 03 78 */ or r11, r4, r0 +/* 8033C9AC 0033958C 48 00 00 68 */ b .L_8033CA14 +.L_8033C9B0: +/* 8033C9B0 00339590 55 80 10 3A */ slwi r0, r12, 2 +/* 8033C9B4 00339594 54 00 07 30 */ rlwinm r0, r0, 0, 28, 24 +/* 8033C9B8 00339598 60 00 00 10 */ ori r0, r0, 0x10 +/* 8033C9BC 0033959C 54 09 06 66 */ rlwinm r9, r0, 0, 25, 19 +/* 8033C9C0 003395A0 55 40 38 30 */ slwi r0, r10, 7 +/* 8033C9C4 003395A4 7D 29 03 78 */ or r9, r9, r0 +/* 8033C9C8 003395A8 38 A5 FF F4 */ subi r5, r5, 0xc +/* 8033C9CC 003395AC 38 04 FF FE */ subi r0, r4, 0x2 +/* 8033C9D0 003395B0 55 29 05 20 */ rlwinm r9, r9, 0, 20, 16 +/* 8033C9D4 003395B4 54 A4 60 26 */ slwi r4, r5, 12 +/* 8033C9D8 003395B8 7D 24 23 78 */ or r4, r9, r4 +/* 8033C9DC 003395BC 54 84 04 5A */ rlwinm r4, r4, 0, 17, 13 +/* 8033C9E0 003395C0 54 00 78 20 */ slwi r0, r0, 15 +/* 8033C9E4 003395C4 7C 8B 03 78 */ or r11, r4, r0 +/* 8033C9E8 003395C8 48 00 00 2C */ b .L_8033CA14 +.L_8033C9EC: +/* 8033C9EC 003395CC 2C 05 00 13 */ cmpwi r5, 0x13 +/* 8033C9F0 003395D0 55 80 10 3A */ slwi r0, r12, 2 +/* 8033C9F4 003395D4 40 82 00 10 */ bne .L_8033CA04 +/* 8033C9F8 003395D8 54 00 07 30 */ rlwinm r0, r0, 0, 28, 24 +/* 8033C9FC 003395DC 60 00 00 20 */ ori r0, r0, 0x20 +/* 8033CA00 003395E0 48 00 00 0C */ b .L_8033CA0C +.L_8033CA04: +/* 8033CA04 003395E4 54 00 07 30 */ rlwinm r0, r0, 0, 28, 24 +/* 8033CA08 003395E8 60 00 00 30 */ ori r0, r0, 0x30 +.L_8033CA0C: +/* 8033CA0C 003395EC 54 00 06 66 */ rlwinm r0, r0, 0, 25, 19 +/* 8033CA10 003395F0 60 0B 01 00 */ ori r11, r0, 0x100 +.L_8033CA14: +/* 8033CA14 003395F4 39 40 00 10 */ li r10, 0x10 +/* 8033CA18 003395F8 3D 20 CC 01 */ lis r9, 0xcc01 +/* 8033CA1C 003395FC 99 49 80 00 */ stb r10, -0x8000(r9) +/* 8033CA20 00339600 38 03 10 40 */ addi r0, r3, 0x1040 +/* 8033CA24 00339604 38 88 FF C0 */ subi r4, r8, 0x40 +/* 8033CA28 00339608 90 09 80 00 */ stw r0, -0x8000(r9) +/* 8033CA2C 0033960C 54 85 06 2C */ rlwinm r5, r4, 0, 24, 22 +/* 8033CA30 00339610 54 E4 44 2E */ clrlslwi r4, r7, 24, 8 +/* 8033CA34 00339614 91 69 80 00 */ stw r11, -0x8000(r9) +/* 8033CA38 00339618 38 03 10 50 */ addi r0, r3, 0x1050 +/* 8033CA3C 0033961C 28 03 00 06 */ cmplwi r3, 0x6 +/* 8033CA40 00339620 99 49 80 00 */ stb r10, -0x8000(r9) +/* 8033CA44 00339624 7C A4 23 78 */ or r4, r5, r4 +/* 8033CA48 00339628 90 09 80 00 */ stw r0, -0x8000(r9) +/* 8033CA4C 0033962C 90 89 80 00 */ stw r4, -0x8000(r9) +/* 8033CA50 00339630 41 81 00 F4 */ bgt .L_8033CB44 +/* 8033CA54 00339634 3C 80 80 40 */ lis r4, jtbl_804010F4@ha +/* 8033CA58 00339638 38 84 10 F4 */ addi r4, r4, jtbl_804010F4@l +/* 8033CA5C 0033963C 54 60 10 3A */ slwi r0, r3, 2 +/* 8033CA60 00339640 7C 04 00 2E */ lwzx r0, r4, r0 +/* 8033CA64 00339644 7C 09 03 A6 */ mtctr r0 +/* 8033CA68 00339648 4E 80 04 20 */ bctr +.L_8033CA6C: +/* 8033CA6C 0033964C 80 8D A5 08 */ lwz r4, __GXContexts@sda21(r0) +/* 8033CA70 00339650 54 C0 30 32 */ slwi r0, r6, 6 +/* 8033CA74 00339654 38 A4 00 80 */ addi r5, r4, 0x80 +/* 8033CA78 00339658 80 84 00 80 */ lwz r4, 0x80(r4) +/* 8033CA7C 0033965C 54 84 06 A6 */ rlwinm r4, r4, 0, 26, 19 +/* 8033CA80 00339660 7C 80 03 78 */ or r0, r4, r0 +/* 8033CA84 00339664 90 05 00 00 */ stw r0, 0x0(r5) +/* 8033CA88 00339668 48 00 00 D8 */ b .L_8033CB60 +.L_8033CA8C: +/* 8033CA8C 0033966C 80 8D A5 08 */ lwz r4, __GXContexts@sda21(r0) +/* 8033CA90 00339670 54 C0 60 26 */ slwi r0, r6, 12 +/* 8033CA94 00339674 38 A4 00 80 */ addi r5, r4, 0x80 +/* 8033CA98 00339678 80 84 00 80 */ lwz r4, 0x80(r4) +/* 8033CA9C 0033967C 54 84 05 1A */ rlwinm r4, r4, 0, 20, 13 +/* 8033CAA0 00339680 7C 80 03 78 */ or r0, r4, r0 +/* 8033CAA4 00339684 90 05 00 00 */ stw r0, 0x0(r5) +/* 8033CAA8 00339688 48 00 00 B8 */ b .L_8033CB60 +.L_8033CAAC: +/* 8033CAAC 0033968C 80 8D A5 08 */ lwz r4, __GXContexts@sda21(r0) +/* 8033CAB0 00339690 54 C0 90 1A */ slwi r0, r6, 18 +/* 8033CAB4 00339694 38 A4 00 80 */ addi r5, r4, 0x80 +/* 8033CAB8 00339698 80 84 00 80 */ lwz r4, 0x80(r4) +/* 8033CABC 0033969C 54 84 03 8E */ rlwinm r4, r4, 0, 14, 7 +/* 8033CAC0 003396A0 7C 80 03 78 */ or r0, r4, r0 +/* 8033CAC4 003396A4 90 05 00 00 */ stw r0, 0x0(r5) +/* 8033CAC8 003396A8 48 00 00 98 */ b .L_8033CB60 +.L_8033CACC: +/* 8033CACC 003396AC 80 8D A5 08 */ lwz r4, __GXContexts@sda21(r0) +/* 8033CAD0 003396B0 54 C0 C0 0E */ slwi r0, r6, 24 +/* 8033CAD4 003396B4 38 A4 00 80 */ addi r5, r4, 0x80 +/* 8033CAD8 003396B8 80 84 00 80 */ lwz r4, 0x80(r4) +/* 8033CADC 003396BC 54 84 02 02 */ rlwinm r4, r4, 0, 8, 1 +/* 8033CAE0 003396C0 7C 80 03 78 */ or r0, r4, r0 +/* 8033CAE4 003396C4 90 05 00 00 */ stw r0, 0x0(r5) +/* 8033CAE8 003396C8 48 00 00 78 */ b .L_8033CB60 +.L_8033CAEC: +/* 8033CAEC 003396CC 80 8D A5 08 */ lwz r4, __GXContexts@sda21(r0) +/* 8033CAF0 003396D0 84 04 00 84 */ lwzu r0, 0x84(r4) +/* 8033CAF4 003396D4 54 00 00 32 */ clrrwi r0, r0, 6 +/* 8033CAF8 003396D8 7C 00 33 78 */ or r0, r0, r6 +/* 8033CAFC 003396DC 90 04 00 00 */ stw r0, 0x0(r4) +/* 8033CB00 003396E0 48 00 00 60 */ b .L_8033CB60 +.L_8033CB04: +/* 8033CB04 003396E4 80 8D A5 08 */ lwz r4, __GXContexts@sda21(r0) +/* 8033CB08 003396E8 54 C0 30 32 */ slwi r0, r6, 6 +/* 8033CB0C 003396EC 38 A4 00 84 */ addi r5, r4, 0x84 +/* 8033CB10 003396F0 80 84 00 84 */ lwz r4, 0x84(r4) +/* 8033CB14 003396F4 54 84 06 A6 */ rlwinm r4, r4, 0, 26, 19 +/* 8033CB18 003396F8 7C 80 03 78 */ or r0, r4, r0 +/* 8033CB1C 003396FC 90 05 00 00 */ stw r0, 0x0(r5) +/* 8033CB20 00339700 48 00 00 40 */ b .L_8033CB60 +.L_8033CB24: +/* 8033CB24 00339704 80 8D A5 08 */ lwz r4, __GXContexts@sda21(r0) +/* 8033CB28 00339708 54 C0 60 26 */ slwi r0, r6, 12 +/* 8033CB2C 0033970C 38 A4 00 84 */ addi r5, r4, 0x84 +/* 8033CB30 00339710 80 84 00 84 */ lwz r4, 0x84(r4) +/* 8033CB34 00339714 54 84 05 1A */ rlwinm r4, r4, 0, 20, 13 +/* 8033CB38 00339718 7C 80 03 78 */ or r0, r4, r0 +/* 8033CB3C 0033971C 90 05 00 00 */ stw r0, 0x0(r5) +/* 8033CB40 00339720 48 00 00 20 */ b .L_8033CB60 +.L_8033CB44: +/* 8033CB44 00339724 80 8D A5 08 */ lwz r4, __GXContexts@sda21(r0) +/* 8033CB48 00339728 54 C0 90 1A */ slwi r0, r6, 18 +/* 8033CB4C 0033972C 38 A4 00 84 */ addi r5, r4, 0x84 +/* 8033CB50 00339730 80 84 00 84 */ lwz r4, 0x84(r4) +/* 8033CB54 00339734 54 84 03 8E */ rlwinm r4, r4, 0, 14, 7 +/* 8033CB58 00339738 7C 80 03 78 */ or r0, r4, r0 +/* 8033CB5C 0033973C 90 05 00 00 */ stw r0, 0x0(r5) +.L_8033CB60: +/* 8033CB60 00339740 38 63 00 01 */ addi r3, r3, 0x1 +/* 8033CB64 00339744 48 00 4D 15 */ bl __GXSetMatrixIndex +/* 8033CB68 00339748 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8033CB6C 0033974C 38 21 00 08 */ addi r1, r1, 0x8 +/* 8033CB70 00339750 7C 08 03 A6 */ mtlr r0 +/* 8033CB74 00339754 4E 80 00 20 */ blr .endfn GXSetTexCoordGen2 +# .text:0xDD0 | 0x8033CB78 | size: 0x48 .fn GXSetNumTexGens, global -/* 00000DD0 00000E10 80 80 00 00 */ lwz r4, __GXContexts@sda21(r0) -/* 00000DD4 00000E14 54 67 06 3E */ clrlwi r7, r3, 24 -/* 00000DD8 00000E18 38 60 00 10 */ li r3, 0x10 -/* 00000DDC 00000E1C 38 C4 02 04 */ addi r6, r4, 0x204 -/* 00000DE0 00000E20 80 A4 02 04 */ lwz r5, 0x204(r4) -/* 00000DE4 00000E24 3C 80 CC 01 */ lis r4, 0xcc01 -/* 00000DE8 00000E28 38 00 10 3F */ li r0, 0x103f -/* 00000DEC 00000E2C 54 A5 00 36 */ clrrwi r5, r5, 4 -/* 00000DF0 00000E30 7C A5 3B 78 */ or r5, r5, r7 -/* 00000DF4 00000E34 90 A6 00 00 */ stw r5, 0x0(r6) -/* 00000DF8 00000E38 98 64 80 00 */ stb r3, -0x8000(r4) -/* 00000DFC 00000E3C 80 60 00 00 */ lwz r3, __GXContexts@sda21(r0) -/* 00000E00 00000E40 90 04 80 00 */ stw r0, -0x8000(r4) -/* 00000E04 00000E44 90 E4 80 00 */ stw r7, -0x8000(r4) -/* 00000E08 00000E48 80 03 04 F0 */ lwz r0, 0x4f0(r3) -/* 00000E0C 00000E4C 60 00 00 04 */ ori r0, r0, 0x4 -/* 00000E10 00000E50 90 03 04 F0 */ stw r0, 0x4f0(r3) -/* 00000E14 00000E54 4E 80 00 20 */ blr +/* 8033CB78 00339758 80 8D A5 08 */ lwz r4, __GXContexts@sda21(r0) +/* 8033CB7C 0033975C 54 67 06 3E */ clrlwi r7, r3, 24 +/* 8033CB80 00339760 38 60 00 10 */ li r3, 0x10 +/* 8033CB84 00339764 38 C4 02 04 */ addi r6, r4, 0x204 +/* 8033CB88 00339768 80 A4 02 04 */ lwz r5, 0x204(r4) +/* 8033CB8C 0033976C 3C 80 CC 01 */ lis r4, 0xcc01 +/* 8033CB90 00339770 38 00 10 3F */ li r0, 0x103f +/* 8033CB94 00339774 54 A5 00 36 */ clrrwi r5, r5, 4 +/* 8033CB98 00339778 7C A5 3B 78 */ or r5, r5, r7 +/* 8033CB9C 0033977C 90 A6 00 00 */ stw r5, 0x0(r6) +/* 8033CBA0 00339780 98 64 80 00 */ stb r3, -0x8000(r4) +/* 8033CBA4 00339784 80 6D A5 08 */ lwz r3, __GXContexts@sda21(r0) +/* 8033CBA8 00339788 90 04 80 00 */ stw r0, -0x8000(r4) +/* 8033CBAC 0033978C 90 E4 80 00 */ stw r7, -0x8000(r4) +/* 8033CBB0 00339790 80 03 04 F0 */ lwz r0, 0x4f0(r3) +/* 8033CBB4 00339794 60 00 00 04 */ ori r0, r0, 0x4 +/* 8033CBB8 00339798 90 03 04 F0 */ stw r0, 0x4f0(r3) +/* 8033CBBC 0033979C 4E 80 00 20 */ blr .endfn GXSetNumTexGens -# 0x00000000 - 0x00000120 +# 0x80401048..0x80401168 | size: 0x120 .data .balign 8 +# .data:0x0 | 0x80401048 | size: 0x68 .obj "@145", local - .rel GXSetVtxDesc, .L_00000178 - .rel GXSetVtxDesc, .L_00000190 - .rel GXSetVtxDesc, .L_000001B0 - .rel GXSetVtxDesc, .L_000001D0 - .rel GXSetVtxDesc, .L_000001F0 - .rel GXSetVtxDesc, .L_00000210 - .rel GXSetVtxDesc, .L_00000230 - .rel GXSetVtxDesc, .L_00000250 - .rel GXSetVtxDesc, .L_00000270 - .rel GXSetVtxDesc, .L_00000290 - .rel GXSetVtxDesc, .L_000002B0 - .rel GXSetVtxDesc, .L_00000328 - .rel GXSetVtxDesc, .L_00000348 - .rel GXSetVtxDesc, .L_00000368 - .rel GXSetVtxDesc, .L_00000380 - .rel GXSetVtxDesc, .L_000003A0 - .rel GXSetVtxDesc, .L_000003C0 - .rel GXSetVtxDesc, .L_000003E0 - .rel GXSetVtxDesc, .L_00000400 - .rel GXSetVtxDesc, .L_00000420 - .rel GXSetVtxDesc, .L_00000440 - .rel GXSetVtxDesc, .L_0000045C - .rel GXSetVtxDesc, .L_0000045C - .rel GXSetVtxDesc, .L_0000045C - .rel GXSetVtxDesc, .L_0000045C - .rel GXSetVtxDesc, .L_000002EC + .rel GXSetVtxDesc, .L_8033BF20 + .rel GXSetVtxDesc, .L_8033BF38 + .rel GXSetVtxDesc, .L_8033BF58 + .rel GXSetVtxDesc, .L_8033BF78 + .rel GXSetVtxDesc, .L_8033BF98 + .rel GXSetVtxDesc, .L_8033BFB8 + .rel GXSetVtxDesc, .L_8033BFD8 + .rel GXSetVtxDesc, .L_8033BFF8 + .rel GXSetVtxDesc, .L_8033C018 + .rel GXSetVtxDesc, .L_8033C038 + .rel GXSetVtxDesc, .L_8033C058 + .rel GXSetVtxDesc, .L_8033C0D0 + .rel GXSetVtxDesc, .L_8033C0F0 + .rel GXSetVtxDesc, .L_8033C110 + .rel GXSetVtxDesc, .L_8033C128 + .rel GXSetVtxDesc, .L_8033C148 + .rel GXSetVtxDesc, .L_8033C168 + .rel GXSetVtxDesc, .L_8033C188 + .rel GXSetVtxDesc, .L_8033C1A8 + .rel GXSetVtxDesc, .L_8033C1C8 + .rel GXSetVtxDesc, .L_8033C1E8 + .rel GXSetVtxDesc, .L_8033C204 + .rel GXSetVtxDesc, .L_8033C204 + .rel GXSetVtxDesc, .L_8033C204 + .rel GXSetVtxDesc, .L_8033C204 + .rel GXSetVtxDesc, .L_8033C094 .endobj "@145" +# .data:0x68 | 0x804010B0 | size: 0x44 .obj "@168", local - .rel GXSetVtxAttrFmt, .L_000006A8 - .rel GXSetVtxAttrFmt, .L_000006E4 - .rel GXSetVtxAttrFmt, .L_00000748 - .rel GXSetVtxAttrFmt, .L_00000774 - .rel GXSetVtxAttrFmt, .L_000007A0 - .rel GXSetVtxAttrFmt, .L_000007E0 - .rel GXSetVtxAttrFmt, .L_0000081C - .rel GXSetVtxAttrFmt, .L_0000085C - .rel GXSetVtxAttrFmt, .L_0000089C - .rel GXSetVtxAttrFmt, .L_000008DC - .rel GXSetVtxAttrFmt, .L_0000091C - .rel GXSetVtxAttrFmt, .L_0000095C - .rel GXSetVtxAttrFmt, .L_00000994 - .rel GXSetVtxAttrFmt, .L_00000994 - .rel GXSetVtxAttrFmt, .L_00000994 - .rel GXSetVtxAttrFmt, .L_00000994 - .rel GXSetVtxAttrFmt, .L_000006E4 + .rel GXSetVtxAttrFmt, .L_8033C450 + .rel GXSetVtxAttrFmt, .L_8033C48C + .rel GXSetVtxAttrFmt, .L_8033C4F0 + .rel GXSetVtxAttrFmt, .L_8033C51C + .rel GXSetVtxAttrFmt, .L_8033C548 + .rel GXSetVtxAttrFmt, .L_8033C588 + .rel GXSetVtxAttrFmt, .L_8033C5C4 + .rel GXSetVtxAttrFmt, .L_8033C604 + .rel GXSetVtxAttrFmt, .L_8033C644 + .rel GXSetVtxAttrFmt, .L_8033C684 + .rel GXSetVtxAttrFmt, .L_8033C6C4 + .rel GXSetVtxAttrFmt, .L_8033C704 + .rel GXSetVtxAttrFmt, .L_8033C73C + .rel GXSetVtxAttrFmt, .L_8033C73C + .rel GXSetVtxAttrFmt, .L_8033C73C + .rel GXSetVtxAttrFmt, .L_8033C73C + .rel GXSetVtxAttrFmt, .L_8033C48C .endobj "@168" +# .data:0xAC | 0x804010F4 | size: 0x1C .obj jtbl_804010F4, local - .4byte GXAttr_8033CA6C - .4byte GXAttr_8033CA8C - .4byte GXAttr_8033CAAC - .4byte GXAttr_8033CACC - .4byte GXAttr_8033CAEC - .4byte GXAttr_8033CB04 - .4byte GXAttr_8033CB24 + .rel GXSetTexCoordGen2, .L_8033CA6C + .rel GXSetTexCoordGen2, .L_8033CA8C + .rel GXSetTexCoordGen2, .L_8033CAAC + .rel GXSetTexCoordGen2, .L_8033CACC + .rel GXSetTexCoordGen2, .L_8033CAEC + .rel GXSetTexCoordGen2, .L_8033CB04 + .rel GXSetTexCoordGen2, .L_8033CB24 .endobj jtbl_804010F4 +# .data:0xC8 | 0x80401110 | size: 0x54 .obj jtbl_80401110, local - .4byte GXAttr_8033C8E0 - .4byte GXAttr_8033C8EC - .4byte GXAttr_8033C8F8 - .4byte GXAttr_8033C904 - .4byte GXAttr_8033C920 - .4byte GXAttr_8033C928 - .4byte GXAttr_8033C930 - .4byte GXAttr_8033C938 - .4byte GXAttr_8033C940 - .4byte GXAttr_8033C948 - .4byte GXAttr_8033C950 - .4byte GXAttr_8033C958 - .4byte GXAttr_8033C95C - .4byte GXAttr_8033C95C - .4byte GXAttr_8033C95C - .4byte GXAttr_8033C95C - .4byte GXAttr_8033C95C - .4byte GXAttr_8033C95C - .4byte GXAttr_8033C95C - .4byte GXAttr_8033C910 - .4byte GXAttr_8033C918 + .rel GXSetTexCoordGen2, .L_8033C8E0 + .rel GXSetTexCoordGen2, .L_8033C8EC + .rel GXSetTexCoordGen2, .L_8033C8F8 + .rel GXSetTexCoordGen2, .L_8033C904 + .rel GXSetTexCoordGen2, .L_8033C920 + .rel GXSetTexCoordGen2, .L_8033C928 + .rel GXSetTexCoordGen2, .L_8033C930 + .rel GXSetTexCoordGen2, .L_8033C938 + .rel GXSetTexCoordGen2, .L_8033C940 + .rel GXSetTexCoordGen2, .L_8033C948 + .rel GXSetTexCoordGen2, .L_8033C950 + .rel GXSetTexCoordGen2, .L_8033C958 + .rel GXSetTexCoordGen2, .L_8033C95C + .rel GXSetTexCoordGen2, .L_8033C95C + .rel GXSetTexCoordGen2, .L_8033C95C + .rel GXSetTexCoordGen2, .L_8033C95C + .rel GXSetTexCoordGen2, .L_8033C95C + .rel GXSetTexCoordGen2, .L_8033C95C + .rel GXSetTexCoordGen2, .L_8033C95C + .rel GXSetTexCoordGen2, .L_8033C910 + .rel GXSetTexCoordGen2, .L_8033C918 .endobj jtbl_80401110 +# .data:0x11C | 0x80401164 | size: 0x4 .obj gap_07_80401164_data, global .hidden gap_07_80401164_data .4byte 0x00000000 .endobj gap_07_80401164_data -# 0x00000000 - 0x00000010 +# 0x804D5BB0..0x804D5BC0 | size: 0x10 .section .sdata, "wa" .balign 8 +# .sdata:0x0 | 0x804D5BB0 | size: 0x4 .obj GXAttr_804D5BB0, local .4byte 0x00040102 .endobj GXAttr_804D5BB0 +# .sdata:0x4 | 0x804D5BB4 | size: 0x4 .obj GXAttr_804D5BB4, local .4byte 0x00080102 .endobj GXAttr_804D5BB4 +# .sdata:0x8 | 0x804D5BB8 | size: 0x8 .obj GXAttr_804D5BB8, local .4byte 0x000C0102 .4byte 0x00000000 diff --git a/asm/dolphin/thp/THPDec.s b/asm/dolphin/thp/THPDec.s index daaa868574..f0f49974e2 100644 --- a/asm/dolphin/thp/THPDec.s +++ b/asm/dolphin/thp/THPDec.s @@ -1,55 +1,58 @@ .include "macros.inc" +.file "THPDec.c" -.section .text # 0x80005940 - 0x803B7240 +# 0x8032F630..0x80335E5C | size: 0x682C +.text +.balign 4 -.global __THPPrepBitStream -__THPPrepBitStream: -/* 8032F630 0032C210 80 83 00 08 */ lwz r4, 8(r3) -/* 8032F634 0032C214 80 03 00 00 */ lwz r0, 0(r3) +# .text:0x0 | 0x8032F630 | size: 0x2A4 +.fn __THPPrepBitStream, local +/* 8032F630 0032C210 80 83 00 08 */ lwz r4, 0x8(r3) +/* 8032F634 0032C214 80 03 00 00 */ lwz r0, 0x0(r3) /* 8032F638 0032C218 28 04 00 21 */ cmplwi r4, 0x21 -/* 8032F63C 0032C21C 54 05 00 3A */ rlwinm r5, r0, 0, 0, 0x1d -/* 8032F640 0032C220 54 00 07 BE */ clrlwi r0, r0, 0x1e +/* 8032F63C 0032C21C 54 05 00 3A */ clrrwi r5, r0, 2 +/* 8032F640 0032C220 54 00 07 BE */ clrlwi r0, r0, 30 /* 8032F644 0032C224 41 82 00 18 */ beq .L_8032F65C -/* 8032F648 0032C228 20 00 00 03 */ subfic r0, r0, 3 +/* 8032F648 0032C228 20 00 00 03 */ subfic r0, r0, 0x3 /* 8032F64C 0032C22C 54 00 18 38 */ slwi r0, r0, 3 /* 8032F650 0032C230 7C 00 20 50 */ subf r0, r0, r4 -/* 8032F654 0032C234 90 03 00 08 */ stw r0, 8(r3) +/* 8032F654 0032C234 90 03 00 08 */ stw r0, 0x8(r3) /* 8032F658 0032C238 48 00 00 10 */ b .L_8032F668 .L_8032F65C: /* 8032F65C 0032C23C 54 04 18 38 */ slwi r4, r0, 3 -/* 8032F660 0032C240 38 04 00 01 */ addi r0, r4, 1 -/* 8032F664 0032C244 90 03 00 08 */ stw r0, 8(r3) +/* 8032F660 0032C240 38 04 00 01 */ addi r0, r4, 0x1 +/* 8032F664 0032C244 90 03 00 08 */ stw r0, 0x8(r3) .L_8032F668: -/* 8032F668 0032C248 90 A3 00 00 */ stw r5, 0(r3) -/* 8032F66C 0032C24C 38 E3 00 00 */ addi r7, r3, 0 -/* 8032F670 0032C250 39 40 00 00 */ li r10, 0 -/* 8032F674 0032C254 80 05 00 00 */ lwz r0, 0(r5) -/* 8032F678 0032C258 90 03 00 04 */ stw r0, 4(r3) +/* 8032F668 0032C248 90 A3 00 00 */ stw r5, 0x0(r3) +/* 8032F66C 0032C24C 38 E3 00 00 */ addi r7, r3, 0x0 +/* 8032F670 0032C250 39 40 00 00 */ li r10, 0x0 +/* 8032F674 0032C254 80 05 00 00 */ lwz r0, 0x0(r5) +/* 8032F678 0032C258 90 03 00 04 */ stw r0, 0x4(r3) .L_8032F67C: -/* 8032F67C 0032C25C 38 00 00 01 */ li r0, 1 +/* 8032F67C 0032C25C 38 00 00 01 */ li r0, 0x1 /* 8032F680 0032C260 88 83 00 78 */ lbz r4, 0x78(r3) /* 8032F684 0032C264 7C 00 50 30 */ slw r0, r0, r10 /* 8032F688 0032C268 7C 80 00 39 */ and. r0, r4, r0 /* 8032F68C 0032C26C 41 82 01 98 */ beq .L_8032F824 -/* 8032F690 0032C270 38 00 00 08 */ li r0, 8 +/* 8032F690 0032C270 38 00 00 08 */ li r0, 0x8 /* 8032F694 0032C274 7C 09 03 A6 */ mtctr r0 -/* 8032F698 0032C278 38 C7 00 00 */ addi r6, r7, 0 -/* 8032F69C 0032C27C 39 60 00 00 */ li r11, 0 +/* 8032F698 0032C278 38 C7 00 00 */ addi r6, r7, 0x0 +/* 8032F69C 0032C27C 39 60 00 00 */ li r11, 0x0 .L_8032F6A0: /* 8032F6A0 0032C280 38 00 00 FF */ li r0, 0xff /* 8032F6A4 0032C284 98 06 00 88 */ stb r0, 0x88(r6) -/* 8032F6A8 0032C288 39 80 00 00 */ li r12, 0 +/* 8032F6A8 0032C288 39 80 00 00 */ li r12, 0x0 /* 8032F6AC 0032C28C 48 00 00 44 */ b .L_8032F6F0 .L_8032F6B0: /* 8032F6B0 0032C290 55 80 10 3A */ slwi r0, r12, 2 /* 8032F6B4 0032C294 7D 27 02 14 */ add r9, r7, r0 -/* 8032F6B8 0032C298 20 8C 00 04 */ subfic r4, r12, 4 +/* 8032F6B8 0032C298 20 8C 00 04 */ subfic r4, r12, 0x4 /* 8032F6BC 0032C29C 80 09 00 D0 */ lwz r0, 0xd0(r9) /* 8032F6C0 0032C2A0 7D 68 24 30 */ srw r8, r11, r4 /* 8032F6C4 0032C2A4 7C 08 00 00 */ cmpw r8, r0 /* 8032F6C8 0032C2A8 41 81 00 24 */ bgt .L_8032F6EC /* 8032F6CC 0032C2AC 80 A7 00 C8 */ lwz r5, 0xc8(r7) -/* 8032F6D0 0032C2B0 38 0C 00 01 */ addi r0, r12, 1 +/* 8032F6D0 0032C2B0 38 0C 00 01 */ addi r0, r12, 0x1 /* 8032F6D4 0032C2B4 80 89 01 18 */ lwz r4, 0x118(r9) /* 8032F6D8 0032C2B8 39 80 00 63 */ li r12, 0x63 /* 8032F6DC 0032C2BC 7C 84 2A 14 */ add r4, r4, r5 @@ -57,26 +60,26 @@ __THPPrepBitStream: /* 8032F6E4 0032C2C4 98 86 00 88 */ stb r4, 0x88(r6) /* 8032F6E8 0032C2C8 98 06 00 A8 */ stb r0, 0xa8(r6) .L_8032F6EC: -/* 8032F6EC 0032C2CC 39 8C 00 01 */ addi r12, r12, 1 +/* 8032F6EC 0032C2CC 39 8C 00 01 */ addi r12, r12, 0x1 .L_8032F6F0: -/* 8032F6F0 0032C2D0 28 0C 00 05 */ cmplwi r12, 5 +/* 8032F6F0 0032C2D0 28 0C 00 05 */ cmplwi r12, 0x5 /* 8032F6F4 0032C2D4 41 80 FF BC */ blt .L_8032F6B0 /* 8032F6F8 0032C2D8 38 00 00 FF */ li r0, 0xff /* 8032F6FC 0032C2DC 98 06 00 89 */ stb r0, 0x89(r6) -/* 8032F700 0032C2E0 39 80 00 00 */ li r12, 0 -/* 8032F704 0032C2E4 38 C6 00 01 */ addi r6, r6, 1 -/* 8032F708 0032C2E8 39 6B 00 01 */ addi r11, r11, 1 +/* 8032F700 0032C2E0 39 80 00 00 */ li r12, 0x0 +/* 8032F704 0032C2E4 38 C6 00 01 */ addi r6, r6, 0x1 +/* 8032F708 0032C2E8 39 6B 00 01 */ addi r11, r11, 0x1 /* 8032F70C 0032C2EC 48 00 00 44 */ b .L_8032F750 .L_8032F710: /* 8032F710 0032C2F0 55 80 10 3A */ slwi r0, r12, 2 /* 8032F714 0032C2F4 7D 27 02 14 */ add r9, r7, r0 -/* 8032F718 0032C2F8 20 8C 00 04 */ subfic r4, r12, 4 +/* 8032F718 0032C2F8 20 8C 00 04 */ subfic r4, r12, 0x4 /* 8032F71C 0032C2FC 80 09 00 D0 */ lwz r0, 0xd0(r9) /* 8032F720 0032C300 7D 68 24 30 */ srw r8, r11, r4 /* 8032F724 0032C304 7C 08 00 00 */ cmpw r8, r0 /* 8032F728 0032C308 41 81 00 24 */ bgt .L_8032F74C /* 8032F72C 0032C30C 80 A7 00 C8 */ lwz r5, 0xc8(r7) -/* 8032F730 0032C310 38 0C 00 01 */ addi r0, r12, 1 +/* 8032F730 0032C310 38 0C 00 01 */ addi r0, r12, 0x1 /* 8032F734 0032C314 80 89 01 18 */ lwz r4, 0x118(r9) /* 8032F738 0032C318 39 80 00 63 */ li r12, 0x63 /* 8032F73C 0032C31C 7C 84 2A 14 */ add r4, r4, r5 @@ -84,26 +87,26 @@ __THPPrepBitStream: /* 8032F744 0032C324 98 86 00 88 */ stb r4, 0x88(r6) /* 8032F748 0032C328 98 06 00 A8 */ stb r0, 0xa8(r6) .L_8032F74C: -/* 8032F74C 0032C32C 39 8C 00 01 */ addi r12, r12, 1 +/* 8032F74C 0032C32C 39 8C 00 01 */ addi r12, r12, 0x1 .L_8032F750: -/* 8032F750 0032C330 28 0C 00 05 */ cmplwi r12, 5 +/* 8032F750 0032C330 28 0C 00 05 */ cmplwi r12, 0x5 /* 8032F754 0032C334 41 80 FF BC */ blt .L_8032F710 /* 8032F758 0032C338 38 00 00 FF */ li r0, 0xff /* 8032F75C 0032C33C 98 06 00 89 */ stb r0, 0x89(r6) -/* 8032F760 0032C340 39 80 00 00 */ li r12, 0 -/* 8032F764 0032C344 38 C6 00 01 */ addi r6, r6, 1 -/* 8032F768 0032C348 39 6B 00 01 */ addi r11, r11, 1 +/* 8032F760 0032C340 39 80 00 00 */ li r12, 0x0 +/* 8032F764 0032C344 38 C6 00 01 */ addi r6, r6, 0x1 +/* 8032F768 0032C348 39 6B 00 01 */ addi r11, r11, 0x1 /* 8032F76C 0032C34C 48 00 00 44 */ b .L_8032F7B0 .L_8032F770: /* 8032F770 0032C350 55 80 10 3A */ slwi r0, r12, 2 /* 8032F774 0032C354 7D 27 02 14 */ add r9, r7, r0 -/* 8032F778 0032C358 20 8C 00 04 */ subfic r4, r12, 4 +/* 8032F778 0032C358 20 8C 00 04 */ subfic r4, r12, 0x4 /* 8032F77C 0032C35C 80 09 00 D0 */ lwz r0, 0xd0(r9) /* 8032F780 0032C360 7D 68 24 30 */ srw r8, r11, r4 /* 8032F784 0032C364 7C 08 00 00 */ cmpw r8, r0 /* 8032F788 0032C368 41 81 00 24 */ bgt .L_8032F7AC /* 8032F78C 0032C36C 80 A7 00 C8 */ lwz r5, 0xc8(r7) -/* 8032F790 0032C370 38 0C 00 01 */ addi r0, r12, 1 +/* 8032F790 0032C370 38 0C 00 01 */ addi r0, r12, 0x1 /* 8032F794 0032C374 80 89 01 18 */ lwz r4, 0x118(r9) /* 8032F798 0032C378 39 80 00 63 */ li r12, 0x63 /* 8032F79C 0032C37C 7C 84 2A 14 */ add r4, r4, r5 @@ -111,26 +114,26 @@ __THPPrepBitStream: /* 8032F7A4 0032C384 98 86 00 88 */ stb r4, 0x88(r6) /* 8032F7A8 0032C388 98 06 00 A8 */ stb r0, 0xa8(r6) .L_8032F7AC: -/* 8032F7AC 0032C38C 39 8C 00 01 */ addi r12, r12, 1 +/* 8032F7AC 0032C38C 39 8C 00 01 */ addi r12, r12, 0x1 .L_8032F7B0: -/* 8032F7B0 0032C390 28 0C 00 05 */ cmplwi r12, 5 +/* 8032F7B0 0032C390 28 0C 00 05 */ cmplwi r12, 0x5 /* 8032F7B4 0032C394 41 80 FF BC */ blt .L_8032F770 /* 8032F7B8 0032C398 38 00 00 FF */ li r0, 0xff /* 8032F7BC 0032C39C 98 06 00 89 */ stb r0, 0x89(r6) -/* 8032F7C0 0032C3A0 39 80 00 00 */ li r12, 0 -/* 8032F7C4 0032C3A4 38 C6 00 01 */ addi r6, r6, 1 -/* 8032F7C8 0032C3A8 39 6B 00 01 */ addi r11, r11, 1 +/* 8032F7C0 0032C3A0 39 80 00 00 */ li r12, 0x0 +/* 8032F7C4 0032C3A4 38 C6 00 01 */ addi r6, r6, 0x1 +/* 8032F7C8 0032C3A8 39 6B 00 01 */ addi r11, r11, 0x1 /* 8032F7CC 0032C3AC 48 00 00 44 */ b .L_8032F810 .L_8032F7D0: /* 8032F7D0 0032C3B0 55 80 10 3A */ slwi r0, r12, 2 /* 8032F7D4 0032C3B4 7D 27 02 14 */ add r9, r7, r0 -/* 8032F7D8 0032C3B8 20 8C 00 04 */ subfic r4, r12, 4 +/* 8032F7D8 0032C3B8 20 8C 00 04 */ subfic r4, r12, 0x4 /* 8032F7DC 0032C3BC 80 09 00 D0 */ lwz r0, 0xd0(r9) /* 8032F7E0 0032C3C0 7D 68 24 30 */ srw r8, r11, r4 /* 8032F7E4 0032C3C4 7C 08 00 00 */ cmpw r8, r0 /* 8032F7E8 0032C3C8 41 81 00 24 */ bgt .L_8032F80C /* 8032F7EC 0032C3CC 80 A7 00 C8 */ lwz r5, 0xc8(r7) -/* 8032F7F0 0032C3D0 38 0C 00 01 */ addi r0, r12, 1 +/* 8032F7F0 0032C3D0 38 0C 00 01 */ addi r0, r12, 0x1 /* 8032F7F4 0032C3D4 80 89 01 18 */ lwz r4, 0x118(r9) /* 8032F7F8 0032C3D8 39 80 00 63 */ li r12, 0x63 /* 8032F7FC 0032C3DC 7C 84 2A 14 */ add r4, r4, r5 @@ -138,16 +141,16 @@ __THPPrepBitStream: /* 8032F804 0032C3E4 98 86 00 88 */ stb r4, 0x88(r6) /* 8032F808 0032C3E8 98 06 00 A8 */ stb r0, 0xa8(r6) .L_8032F80C: -/* 8032F80C 0032C3EC 39 8C 00 01 */ addi r12, r12, 1 +/* 8032F80C 0032C3EC 39 8C 00 01 */ addi r12, r12, 0x1 .L_8032F810: -/* 8032F810 0032C3F0 28 0C 00 05 */ cmplwi r12, 5 +/* 8032F810 0032C3F0 28 0C 00 05 */ cmplwi r12, 0x5 /* 8032F814 0032C3F4 41 80 FF BC */ blt .L_8032F7D0 -/* 8032F818 0032C3F8 38 C6 00 01 */ addi r6, r6, 1 -/* 8032F81C 0032C3FC 39 6B 00 01 */ addi r11, r11, 1 +/* 8032F818 0032C3F8 38 C6 00 01 */ addi r6, r6, 0x1 +/* 8032F81C 0032C3FC 39 6B 00 01 */ addi r11, r11, 0x1 /* 8032F820 0032C400 42 00 FE 80 */ bdnz .L_8032F6A0 .L_8032F824: -/* 8032F824 0032C404 39 4A 00 01 */ addi r10, r10, 1 -/* 8032F828 0032C408 28 0A 00 04 */ cmplwi r10, 4 +/* 8032F824 0032C404 39 4A 00 01 */ addi r10, r10, 0x1 +/* 8032F828 0032C408 28 0A 00 04 */ cmplwi r10, 0x4 /* 8032F82C 0032C40C 38 E7 00 EC */ addi r7, r7, 0xec /* 8032F830 0032C410 41 80 FE 4C */ blt .L_8032F67C /* 8032F834 0032C414 88 A3 08 3D */ lbz r5, 0x83d(r3) @@ -161,9 +164,9 @@ __THPPrepBitStream: /* 8032F854 0032C434 54 84 08 3C */ slwi r4, r4, 1 /* 8032F858 0032C438 55 08 08 3C */ slwi r8, r8, 1 /* 8032F85C 0032C43C 54 E7 08 3C */ slwi r7, r7, 1 -/* 8032F860 0032C440 38 C6 00 01 */ addi r6, r6, 1 -/* 8032F864 0032C444 38 A5 00 01 */ addi r5, r5, 1 -/* 8032F868 0032C448 38 84 00 01 */ addi r4, r4, 1 +/* 8032F860 0032C440 38 C6 00 01 */ addi r6, r6, 0x1 +/* 8032F864 0032C444 38 A5 00 01 */ addi r5, r5, 0x1 +/* 8032F868 0032C448 38 84 00 01 */ addi r4, r4, 0x1 /* 8032F86C 0032C44C 54 00 08 3C */ slwi r0, r0, 1 /* 8032F870 0032C450 1D 20 00 EC */ mulli r9, r0, 0xec /* 8032F874 0032C454 1D 08 00 EC */ mulli r8, r8, 0xec @@ -179,191 +182,192 @@ __THPPrepBitStream: /* 8032F89C 0032C47C 38 04 00 88 */ addi r0, r4, 0x88 /* 8032F8A0 0032C480 7D 23 4A 14 */ add r9, r3, r9 /* 8032F8A4 0032C484 7C 83 42 14 */ add r4, r3, r8 -/* 8032F8A8 0032C488 91 2D BA 60 */ stw r9, Ydchuff@sda21(r13) +/* 8032F8A8 0032C488 91 2D BA 60 */ stw r9, Ydchuff@sda21(r0) /* 8032F8AC 0032C48C 7C E3 3A 14 */ add r7, r3, r7 /* 8032F8B0 0032C490 7C C3 32 14 */ add r6, r3, r6 -/* 8032F8B4 0032C494 90 8D BA 80 */ stw r4, Udchuff@sda21(r13) +/* 8032F8B4 0032C494 90 8D BA 80 */ stw r4, Udchuff@sda21(r0) /* 8032F8B8 0032C498 7C 83 2A 14 */ add r4, r3, r5 /* 8032F8BC 0032C49C 7C 03 02 14 */ add r0, r3, r0 -/* 8032F8C0 0032C4A0 90 ED BA A0 */ stw r7, Vdchuff@sda21(r13) -/* 8032F8C4 0032C4A4 90 CD BA C0 */ stw r6, Yachuff@sda21(r13) -/* 8032F8C8 0032C4A8 90 8D BA E0 */ stw r4, Uachuff@sda21(r13) -/* 8032F8CC 0032C4AC 90 0D BB 00 */ stw r0, Vachuff@sda21(r13) +/* 8032F8C0 0032C4A0 90 ED BA A0 */ stw r7, Vdchuff@sda21(r0) +/* 8032F8C4 0032C4A4 90 CD BA C0 */ stw r6, Yachuff@sda21(r0) +/* 8032F8C8 0032C4A8 90 8D BA E0 */ stw r4, Uachuff@sda21(r0) +/* 8032F8CC 0032C4AC 90 0D BB 00 */ stw r0, Vachuff@sda21(r0) /* 8032F8D0 0032C4B0 4E 80 00 20 */ blr +.endfn __THPPrepBitStream -.global THPDec_8032F8D4 -THPDec_8032F8D4: +# .text:0x2A4 | 0x8032F8D4 | size: 0x46C +.fn THPDec_8032F8D4, global /* 8032F8D4 0032C4B4 7C 08 02 A6 */ mflr r0 -/* 8032F8D8 0032C4B8 90 01 00 04 */ stw r0, 4(r1) +/* 8032F8D8 0032C4B8 90 01 00 04 */ stw r0, 0x4(r1) /* 8032F8DC 0032C4BC 94 21 FF A8 */ stwu r1, -0x58(r1) /* 8032F8E0 0032C4C0 BF 21 00 3C */ stmw r25, 0x3c(r1) -/* 8032F8E4 0032C4C4 3B C4 00 00 */ addi r30, r4, 0 -/* 8032F8E8 0032C4C8 3B A3 00 00 */ addi r29, r3, 0 +/* 8032F8E4 0032C4C4 3B C4 00 00 */ addi r30, r4, 0x0 +/* 8032F8E8 0032C4C8 3B A3 00 00 */ addi r29, r3, 0x0 /* 8032F8EC 0032C4CC 7F C3 F3 78 */ mr r3, r30 -/* 8032F8F0 0032C4D0 3B E0 00 00 */ li r31, 0 -/* 8032F8F4 0032C4D4 38 80 00 00 */ li r4, 0 -/* 8032F8F8 0032C4D8 80 A2 E7 F0 */ lwz r5, THPDec_804DE1D0@sda21(r2) -/* 8032F8FC 0032C4DC 88 02 E7 F4 */ lbz r0, THPDec_804DE1D4@sda21(r2) +/* 8032F8F0 0032C4D0 3B E0 00 00 */ li r31, 0x0 +/* 8032F8F4 0032C4D4 38 80 00 00 */ li r4, 0x0 +/* 8032F8F8 0032C4D8 80 A2 E7 F0 */ lwz r5, THPDec_804DE1D0@sda21(r0) +/* 8032F8FC 0032C4DC 88 02 E7 F4 */ lbz r0, THPDec_804DE1D4@sda21(r0) /* 8032F900 0032C4E0 90 A1 00 1C */ stw r5, 0x1c(r1) /* 8032F904 0032C4E4 38 A0 00 0C */ li r5, 0xc /* 8032F908 0032C4E8 98 01 00 20 */ stb r0, 0x20(r1) /* 8032F90C 0032C4EC 4B CD 37 F5 */ bl memset -/* 8032F910 0032C4F0 88 1D 00 00 */ lbz r0, 0(r29) -/* 8032F914 0032C4F4 88 7D 00 01 */ lbz r3, 1(r29) -/* 8032F918 0032C4F8 3B BD 00 02 */ addi r29, r29, 2 +/* 8032F910 0032C4F0 88 1D 00 00 */ lbz r0, 0x0(r29) +/* 8032F914 0032C4F4 88 7D 00 01 */ lbz r3, 0x1(r29) +/* 8032F918 0032C4F8 3B BD 00 02 */ addi r29, r29, 0x2 /* 8032F91C 0032C4FC 28 00 00 FF */ cmplwi r0, 0xff /* 8032F920 0032C500 40 82 00 0C */ bne .L_8032F92C /* 8032F924 0032C504 28 03 00 D8 */ cmplwi r3, 0xd8 /* 8032F928 0032C508 41 82 00 0C */ beq .L_8032F934 .L_8032F92C: -/* 8032F92C 0032C50C 38 60 00 00 */ li r3, 0 +/* 8032F92C 0032C50C 38 60 00 00 */ li r3, 0x0 /* 8032F930 0032C510 48 00 03 FC */ b .L_8032FD2C .L_8032F934: /* 8032F934 0032C514 38 81 00 30 */ addi r4, r1, 0x30 /* 8032F938 0032C518 38 61 00 2C */ addi r3, r1, 0x2c .L_8032F93C: -/* 8032F93C 0032C51C 88 1D 00 00 */ lbz r0, 0(r29) -/* 8032F940 0032C520 3B BD 00 01 */ addi r29, r29, 1 +/* 8032F93C 0032C51C 88 1D 00 00 */ lbz r0, 0x0(r29) +/* 8032F940 0032C520 3B BD 00 01 */ addi r29, r29, 0x1 /* 8032F944 0032C524 28 00 00 FF */ cmplwi r0, 0xff /* 8032F948 0032C528 41 82 00 14 */ beq .L_8032F95C -/* 8032F94C 0032C52C 38 60 00 00 */ li r3, 0 +/* 8032F94C 0032C52C 38 60 00 00 */ li r3, 0x0 /* 8032F950 0032C530 48 00 03 DC */ b .L_8032FD2C /* 8032F954 0032C534 48 00 00 08 */ b .L_8032F95C .L_8032F958: -/* 8032F958 0032C538 3B BD 00 01 */ addi r29, r29, 1 +/* 8032F958 0032C538 3B BD 00 01 */ addi r29, r29, 0x1 .L_8032F95C: -/* 8032F95C 0032C53C 88 BD 00 00 */ lbz r5, 0(r29) +/* 8032F95C 0032C53C 88 BD 00 00 */ lbz r5, 0x0(r29) /* 8032F960 0032C540 7C A0 07 74 */ extsb r0, r5 /* 8032F964 0032C544 2C 00 00 FF */ cmpwi r0, 0xff /* 8032F968 0032C548 41 82 FF F0 */ beq .L_8032F958 /* 8032F96C 0032C54C 28 05 00 C0 */ cmplwi r5, 0xc0 -/* 8032F970 0032C550 3B BD 00 01 */ addi r29, r29, 1 +/* 8032F970 0032C550 3B BD 00 01 */ addi r29, r29, 0x1 /* 8032F974 0032C554 40 82 02 48 */ bne .L_8032FBBC -/* 8032F978 0032C558 88 1D 00 03 */ lbz r0, 3(r29) -/* 8032F97C 0032C55C 88 BD 00 04 */ lbz r5, 4(r29) -/* 8032F980 0032C560 50 05 44 2E */ rlwimi r5, r0, 8, 0x10, 0x17 -/* 8032F984 0032C564 B0 BE 00 06 */ sth r5, 6(r30) -/* 8032F988 0032C568 88 1D 00 05 */ lbz r0, 5(r29) -/* 8032F98C 0032C56C 88 BD 00 06 */ lbz r5, 6(r29) -/* 8032F990 0032C570 50 05 44 2E */ rlwimi r5, r0, 8, 0x10, 0x17 -/* 8032F994 0032C574 B0 BE 00 04 */ sth r5, 4(r30) -/* 8032F998 0032C578 88 FD 00 07 */ lbz r7, 7(r29) -/* 8032F99C 0032C57C 3B BD 00 08 */ addi r29, r29, 8 -/* 8032F9A0 0032C580 28 07 00 03 */ cmplwi r7, 3 +/* 8032F978 0032C558 88 1D 00 03 */ lbz r0, 0x3(r29) +/* 8032F97C 0032C55C 88 BD 00 04 */ lbz r5, 0x4(r29) +/* 8032F980 0032C560 50 05 44 2E */ rlwimi r5, r0, 8, 16, 23 +/* 8032F984 0032C564 B0 BE 00 06 */ sth r5, 0x6(r30) +/* 8032F988 0032C568 88 1D 00 05 */ lbz r0, 0x5(r29) +/* 8032F98C 0032C56C 88 BD 00 06 */ lbz r5, 0x6(r29) +/* 8032F990 0032C570 50 05 44 2E */ rlwimi r5, r0, 8, 16, 23 +/* 8032F994 0032C574 B0 BE 00 04 */ sth r5, 0x4(r30) +/* 8032F998 0032C578 88 FD 00 07 */ lbz r7, 0x7(r29) +/* 8032F99C 0032C57C 3B BD 00 08 */ addi r29, r29, 0x8 +/* 8032F9A0 0032C580 28 07 00 03 */ cmplwi r7, 0x3 /* 8032F9A4 0032C584 41 82 00 0C */ beq .L_8032F9B0 -/* 8032F9A8 0032C588 38 60 00 00 */ li r3, 0 +/* 8032F9A8 0032C588 38 60 00 00 */ li r3, 0x0 /* 8032F9AC 0032C58C 48 00 03 80 */ b .L_8032FD2C .L_8032F9B0: -/* 8032F9B0 0032C590 28 07 00 00 */ cmplwi r7, 0 -/* 8032F9B4 0032C594 39 00 00 00 */ li r8, 0 +/* 8032F9B0 0032C590 28 07 00 00 */ cmplwi r7, 0x0 +/* 8032F9B4 0032C594 39 00 00 00 */ li r8, 0x0 /* 8032F9B8 0032C598 40 81 01 4C */ ble .L_8032FB04 -/* 8032F9BC 0032C59C 28 07 00 08 */ cmplwi r7, 8 -/* 8032F9C0 0032C5A0 38 07 FF F8 */ addi r0, r7, -8 +/* 8032F9BC 0032C59C 28 07 00 08 */ cmplwi r7, 0x8 +/* 8032F9C0 0032C5A0 38 07 FF F8 */ subi r0, r7, 0x8 /* 8032F9C4 0032C5A4 40 81 03 48 */ ble .L_8032FD0C /* 8032F9C8 0032C5A8 38 A1 00 30 */ addi r5, r1, 0x30 /* 8032F9CC 0032C5AC 38 C1 00 2C */ addi r6, r1, 0x2c -/* 8032F9D0 0032C5B0 54 00 06 3E */ clrlwi r0, r0, 0x18 +/* 8032F9D0 0032C5B0 54 00 06 3E */ clrlwi r0, r0, 24 /* 8032F9D4 0032C5B4 48 00 00 EC */ b .L_8032FAC0 .L_8032F9D8: -/* 8032F9D8 0032C5B8 89 7D 00 01 */ lbz r11, 1(r29) -/* 8032F9DC 0032C5BC 39 48 00 01 */ addi r10, r8, 1 -/* 8032F9E0 0032C5C0 39 88 00 03 */ addi r12, r8, 3 +/* 8032F9D8 0032C5B8 89 7D 00 01 */ lbz r11, 0x1(r29) +/* 8032F9DC 0032C5BC 39 48 00 01 */ addi r10, r8, 0x1 +/* 8032F9E0 0032C5C0 39 88 00 03 */ addi r12, r8, 0x3 /* 8032F9E4 0032C5C4 7D 69 26 70 */ srawi r9, r11, 4 -/* 8032F9E8 0032C5C8 99 25 00 00 */ stb r9, 0(r5) -/* 8032F9EC 0032C5CC 55 69 07 3E */ clrlwi r9, r11, 0x1c -/* 8032F9F0 0032C5D0 39 68 00 02 */ addi r11, r8, 2 -/* 8032F9F4 0032C5D4 99 26 00 00 */ stb r9, 0(r6) -/* 8032F9F8 0032C5D8 3B 88 00 04 */ addi r28, r8, 4 -/* 8032F9FC 0032C5DC 3B 68 00 05 */ addi r27, r8, 5 -/* 8032FA00 0032C5E0 8B 3D 00 04 */ lbz r25, 4(r29) -/* 8032FA04 0032C5E4 3B 48 00 07 */ addi r26, r8, 7 -/* 8032FA08 0032C5E8 55 4A 06 3E */ clrlwi r10, r10, 0x18 +/* 8032F9E8 0032C5C8 99 25 00 00 */ stb r9, 0x0(r5) +/* 8032F9EC 0032C5CC 55 69 07 3E */ clrlwi r9, r11, 28 +/* 8032F9F0 0032C5D0 39 68 00 02 */ addi r11, r8, 0x2 +/* 8032F9F4 0032C5D4 99 26 00 00 */ stb r9, 0x0(r6) +/* 8032F9F8 0032C5D8 3B 88 00 04 */ addi r28, r8, 0x4 +/* 8032F9FC 0032C5DC 3B 68 00 05 */ addi r27, r8, 0x5 +/* 8032FA00 0032C5E0 8B 3D 00 04 */ lbz r25, 0x4(r29) +/* 8032FA04 0032C5E4 3B 48 00 07 */ addi r26, r8, 0x7 +/* 8032FA08 0032C5E8 55 4A 06 3E */ clrlwi r10, r10, 24 /* 8032FA0C 0032C5EC 7F 29 26 70 */ srawi r9, r25, 4 /* 8032FA10 0032C5F0 7D 24 51 AE */ stbx r9, r4, r10 -/* 8032FA14 0032C5F4 57 29 07 3E */ clrlwi r9, r25, 0x1c -/* 8032FA18 0032C5F8 55 6B 06 3E */ clrlwi r11, r11, 0x18 +/* 8032FA14 0032C5F4 57 29 07 3E */ clrlwi r9, r25, 28 +/* 8032FA18 0032C5F8 55 6B 06 3E */ clrlwi r11, r11, 24 /* 8032FA1C 0032C5FC 7D 23 51 AE */ stbx r9, r3, r10 -/* 8032FA20 0032C600 39 48 00 06 */ addi r10, r8, 6 -/* 8032FA24 0032C604 55 8C 06 3E */ clrlwi r12, r12, 0x18 -/* 8032FA28 0032C608 8B 3D 00 07 */ lbz r25, 7(r29) -/* 8032FA2C 0032C60C 57 9C 06 3E */ clrlwi r28, r28, 0x18 -/* 8032FA30 0032C610 57 7B 06 3E */ clrlwi r27, r27, 0x18 +/* 8032FA20 0032C600 39 48 00 06 */ addi r10, r8, 0x6 +/* 8032FA24 0032C604 55 8C 06 3E */ clrlwi r12, r12, 24 +/* 8032FA28 0032C608 8B 3D 00 07 */ lbz r25, 0x7(r29) +/* 8032FA2C 0032C60C 57 9C 06 3E */ clrlwi r28, r28, 24 +/* 8032FA30 0032C610 57 7B 06 3E */ clrlwi r27, r27, 24 /* 8032FA34 0032C614 7F 29 26 70 */ srawi r9, r25, 4 /* 8032FA38 0032C618 7D 24 59 AE */ stbx r9, r4, r11 -/* 8032FA3C 0032C61C 57 29 07 3E */ clrlwi r9, r25, 0x1c -/* 8032FA40 0032C620 55 4A 06 3E */ clrlwi r10, r10, 0x18 +/* 8032FA3C 0032C61C 57 29 07 3E */ clrlwi r9, r25, 28 +/* 8032FA40 0032C620 55 4A 06 3E */ clrlwi r10, r10, 24 /* 8032FA44 0032C624 7D 23 59 AE */ stbx r9, r3, r11 -/* 8032FA48 0032C628 57 5A 06 3E */ clrlwi r26, r26, 0x18 -/* 8032FA4C 0032C62C 38 A5 00 08 */ addi r5, r5, 8 +/* 8032FA48 0032C628 57 5A 06 3E */ clrlwi r26, r26, 24 +/* 8032FA4C 0032C62C 38 A5 00 08 */ addi r5, r5, 0x8 /* 8032FA50 0032C630 89 7D 00 0A */ lbz r11, 0xa(r29) -/* 8032FA54 0032C634 38 C6 00 08 */ addi r6, r6, 8 -/* 8032FA58 0032C638 39 08 00 08 */ addi r8, r8, 8 +/* 8032FA54 0032C634 38 C6 00 08 */ addi r6, r6, 0x8 +/* 8032FA58 0032C638 39 08 00 08 */ addi r8, r8, 0x8 /* 8032FA5C 0032C63C 7D 69 26 70 */ srawi r9, r11, 4 /* 8032FA60 0032C640 7D 24 61 AE */ stbx r9, r4, r12 -/* 8032FA64 0032C644 55 69 07 3E */ clrlwi r9, r11, 0x1c +/* 8032FA64 0032C644 55 69 07 3E */ clrlwi r9, r11, 28 /* 8032FA68 0032C648 7D 23 61 AE */ stbx r9, r3, r12 /* 8032FA6C 0032C64C 89 7D 00 0D */ lbz r11, 0xd(r29) /* 8032FA70 0032C650 7D 69 26 70 */ srawi r9, r11, 4 /* 8032FA74 0032C654 7D 24 E1 AE */ stbx r9, r4, r28 -/* 8032FA78 0032C658 55 69 07 3E */ clrlwi r9, r11, 0x1c +/* 8032FA78 0032C658 55 69 07 3E */ clrlwi r9, r11, 28 /* 8032FA7C 0032C65C 7D 23 E1 AE */ stbx r9, r3, r28 /* 8032FA80 0032C660 89 7D 00 10 */ lbz r11, 0x10(r29) /* 8032FA84 0032C664 7D 69 26 70 */ srawi r9, r11, 4 /* 8032FA88 0032C668 7D 24 D9 AE */ stbx r9, r4, r27 -/* 8032FA8C 0032C66C 55 69 07 3E */ clrlwi r9, r11, 0x1c +/* 8032FA8C 0032C66C 55 69 07 3E */ clrlwi r9, r11, 28 /* 8032FA90 0032C670 7D 23 D9 AE */ stbx r9, r3, r27 /* 8032FA94 0032C674 89 7D 00 13 */ lbz r11, 0x13(r29) /* 8032FA98 0032C678 7D 69 26 70 */ srawi r9, r11, 4 /* 8032FA9C 0032C67C 7D 24 51 AE */ stbx r9, r4, r10 -/* 8032FAA0 0032C680 55 69 07 3E */ clrlwi r9, r11, 0x1c +/* 8032FAA0 0032C680 55 69 07 3E */ clrlwi r9, r11, 28 /* 8032FAA4 0032C684 7D 23 51 AE */ stbx r9, r3, r10 /* 8032FAA8 0032C688 89 5D 00 16 */ lbz r10, 0x16(r29) /* 8032FAAC 0032C68C 3B BD 00 18 */ addi r29, r29, 0x18 /* 8032FAB0 0032C690 7D 49 26 70 */ srawi r9, r10, 4 /* 8032FAB4 0032C694 7D 24 D1 AE */ stbx r9, r4, r26 -/* 8032FAB8 0032C698 55 49 07 3E */ clrlwi r9, r10, 0x1c +/* 8032FAB8 0032C698 55 49 07 3E */ clrlwi r9, r10, 28 /* 8032FABC 0032C69C 7D 23 D1 AE */ stbx r9, r3, r26 .L_8032FAC0: -/* 8032FAC0 0032C6A0 55 09 06 3E */ clrlwi r9, r8, 0x18 +/* 8032FAC0 0032C6A0 55 09 06 3E */ clrlwi r9, r8, 24 /* 8032FAC4 0032C6A4 7C 09 00 40 */ cmplw r9, r0 /* 8032FAC8 0032C6A8 41 80 FF 10 */ blt .L_8032F9D8 /* 8032FACC 0032C6AC 48 00 02 40 */ b .L_8032FD0C /* 8032FAD0 0032C6B0 48 00 00 28 */ b .L_8032FAF8 .L_8032FAD4: -/* 8032FAD4 0032C6B4 89 3D 00 01 */ lbz r9, 1(r29) -/* 8032FAD8 0032C6B8 39 08 00 01 */ addi r8, r8, 1 -/* 8032FADC 0032C6BC 3B BD 00 03 */ addi r29, r29, 3 +/* 8032FAD4 0032C6B4 89 3D 00 01 */ lbz r9, 0x1(r29) +/* 8032FAD8 0032C6B8 39 08 00 01 */ addi r8, r8, 0x1 +/* 8032FADC 0032C6BC 3B BD 00 03 */ addi r29, r29, 0x3 /* 8032FAE0 0032C6C0 7D 20 26 70 */ srawi r0, r9, 4 -/* 8032FAE4 0032C6C4 98 05 00 00 */ stb r0, 0(r5) -/* 8032FAE8 0032C6C8 55 20 07 3E */ clrlwi r0, r9, 0x1c -/* 8032FAEC 0032C6CC 38 A5 00 01 */ addi r5, r5, 1 -/* 8032FAF0 0032C6D0 98 06 00 00 */ stb r0, 0(r6) -/* 8032FAF4 0032C6D4 38 C6 00 01 */ addi r6, r6, 1 +/* 8032FAE4 0032C6C4 98 05 00 00 */ stb r0, 0x0(r5) +/* 8032FAE8 0032C6C8 55 20 07 3E */ clrlwi r0, r9, 28 +/* 8032FAEC 0032C6CC 38 A5 00 01 */ addi r5, r5, 0x1 +/* 8032FAF0 0032C6D0 98 06 00 00 */ stb r0, 0x0(r6) +/* 8032FAF4 0032C6D4 38 C6 00 01 */ addi r6, r6, 0x1 .L_8032FAF8: -/* 8032FAF8 0032C6D8 55 00 06 3E */ clrlwi r0, r8, 0x18 +/* 8032FAF8 0032C6D8 55 00 06 3E */ clrlwi r0, r8, 24 /* 8032FAFC 0032C6DC 7C 00 38 40 */ cmplw r0, r7 /* 8032FB00 0032C6E0 41 80 FF D4 */ blt .L_8032FAD4 .L_8032FB04: /* 8032FB04 0032C6E4 88 C1 00 30 */ lbz r6, 0x30(r1) /* 8032FB08 0032C6E8 88 A1 00 31 */ lbz r5, 0x31(r1) /* 8032FB0C 0032C6EC 7C 06 2B D6 */ divw r0, r6, r5 -/* 8032FB10 0032C6F0 2C 00 00 02 */ cmpwi r0, 2 +/* 8032FB10 0032C6F0 2C 00 00 02 */ cmpwi r0, 0x2 /* 8032FB14 0032C6F4 40 82 00 64 */ bne .L_8032FB78 /* 8032FB18 0032C6F8 88 01 00 32 */ lbz r0, 0x32(r1) /* 8032FB1C 0032C6FC 7C 06 03 D6 */ divw r0, r6, r0 -/* 8032FB20 0032C700 2C 00 00 02 */ cmpwi r0, 2 +/* 8032FB20 0032C700 2C 00 00 02 */ cmpwi r0, 0x2 /* 8032FB24 0032C704 40 82 00 54 */ bne .L_8032FB78 /* 8032FB28 0032C708 88 C1 00 2C */ lbz r6, 0x2c(r1) /* 8032FB2C 0032C70C 88 A1 00 2D */ lbz r5, 0x2d(r1) /* 8032FB30 0032C710 7C 06 2B D6 */ divw r0, r6, r5 -/* 8032FB34 0032C714 2C 00 00 02 */ cmpwi r0, 2 +/* 8032FB34 0032C714 2C 00 00 02 */ cmpwi r0, 0x2 /* 8032FB38 0032C718 40 82 00 20 */ bne .L_8032FB58 /* 8032FB3C 0032C71C 88 01 00 2E */ lbz r0, 0x2e(r1) /* 8032FB40 0032C720 7C 06 03 D6 */ divw r0, r6, r0 -/* 8032FB44 0032C724 2C 00 00 02 */ cmpwi r0, 2 +/* 8032FB44 0032C724 2C 00 00 02 */ cmpwi r0, 0x2 /* 8032FB48 0032C728 40 82 00 10 */ bne .L_8032FB58 -/* 8032FB4C 0032C72C 38 00 00 04 */ li r0, 4 -/* 8032FB50 0032C730 98 1E 00 08 */ stb r0, 8(r30) +/* 8032FB4C 0032C72C 38 00 00 04 */ li r0, 0x4 +/* 8032FB50 0032C730 98 1E 00 08 */ stb r0, 0x8(r30) /* 8032FB54 0032C734 48 00 01 9C */ b .L_8032FCF0 .L_8032FB58: /* 8032FB58 0032C738 7C 06 28 40 */ cmplw r6, r5 @@ -371,8 +375,8 @@ THPDec_8032F8D4: /* 8032FB60 0032C740 88 01 00 2E */ lbz r0, 0x2e(r1) /* 8032FB64 0032C744 7C 06 00 40 */ cmplw r6, r0 /* 8032FB68 0032C748 40 82 01 88 */ bne .L_8032FCF0 -/* 8032FB6C 0032C74C 38 00 00 02 */ li r0, 2 -/* 8032FB70 0032C750 98 1E 00 08 */ stb r0, 8(r30) +/* 8032FB6C 0032C74C 38 00 00 02 */ li r0, 0x2 +/* 8032FB70 0032C750 98 1E 00 08 */ stb r0, 0x8(r30) /* 8032FB74 0032C754 48 00 01 7C */ b .L_8032FCF0 .L_8032FB78: /* 8032FB78 0032C758 7C 06 28 40 */ cmplw r6, r5 @@ -387,54 +391,54 @@ THPDec_8032F8D4: /* 8032FB9C 0032C77C 88 01 00 2E */ lbz r0, 0x2e(r1) /* 8032FBA0 0032C780 7C 05 00 40 */ cmplw r5, r0 /* 8032FBA4 0032C784 40 82 01 4C */ bne .L_8032FCF0 -/* 8032FBA8 0032C788 38 00 00 01 */ li r0, 1 -/* 8032FBAC 0032C78C 98 1E 00 08 */ stb r0, 8(r30) +/* 8032FBA8 0032C788 38 00 00 01 */ li r0, 0x1 +/* 8032FBAC 0032C78C 98 1E 00 08 */ stb r0, 0x8(r30) /* 8032FBB0 0032C790 48 00 01 40 */ b .L_8032FCF0 .L_8032FBB4: -/* 8032FBB4 0032C794 38 60 00 00 */ li r3, 0 +/* 8032FBB4 0032C794 38 60 00 00 */ li r3, 0x0 /* 8032FBB8 0032C798 48 00 01 74 */ b .L_8032FD2C .L_8032FBBC: /* 8032FBBC 0032C79C 28 05 00 E0 */ cmplwi r5, 0xe0 /* 8032FBC0 0032C7A0 40 82 00 B0 */ bne .L_8032FC70 -/* 8032FBC4 0032C7A4 88 1D 00 00 */ lbz r0, 0(r29) +/* 8032FBC4 0032C7A4 88 1D 00 00 */ lbz r0, 0x0(r29) /* 8032FBC8 0032C7A8 38 A1 00 1C */ addi r5, r1, 0x1c -/* 8032FBCC 0032C7AC 89 1D 00 01 */ lbz r8, 1(r29) -/* 8032FBD0 0032C7B0 38 E0 00 00 */ li r7, 0 -/* 8032FBD4 0032C7B4 50 08 44 2E */ rlwimi r8, r0, 8, 0x10, 0x17 -/* 8032FBD8 0032C7B8 3B BD 00 02 */ addi r29, r29, 2 +/* 8032FBCC 0032C7AC 89 1D 00 01 */ lbz r8, 0x1(r29) +/* 8032FBD0 0032C7B0 38 E0 00 00 */ li r7, 0x0 +/* 8032FBD4 0032C7B4 50 08 44 2E */ rlwimi r8, r0, 8, 16, 23 +/* 8032FBD8 0032C7B8 3B BD 00 02 */ addi r29, r29, 0x2 /* 8032FBDC 0032C7BC 48 00 00 28 */ b .L_8032FC04 .L_8032FBE0: -/* 8032FBE0 0032C7C0 88 DD 00 00 */ lbz r6, 0(r29) -/* 8032FBE4 0032C7C4 3B BD 00 01 */ addi r29, r29, 1 -/* 8032FBE8 0032C7C8 88 05 00 00 */ lbz r0, 0(r5) +/* 8032FBE0 0032C7C0 88 DD 00 00 */ lbz r6, 0x0(r29) +/* 8032FBE4 0032C7C4 3B BD 00 01 */ addi r29, r29, 0x1 +/* 8032FBE8 0032C7C8 88 05 00 00 */ lbz r0, 0x0(r5) /* 8032FBEC 0032C7CC 7C 06 00 40 */ cmplw r6, r0 /* 8032FBF0 0032C7D0 41 82 00 0C */ beq .L_8032FBFC -/* 8032FBF4 0032C7D4 38 60 00 00 */ li r3, 0 +/* 8032FBF4 0032C7D4 38 60 00 00 */ li r3, 0x0 /* 8032FBF8 0032C7D8 48 00 01 34 */ b .L_8032FD2C .L_8032FBFC: -/* 8032FBFC 0032C7DC 38 A5 00 01 */ addi r5, r5, 1 -/* 8032FC00 0032C7E0 38 E7 00 01 */ addi r7, r7, 1 +/* 8032FBFC 0032C7DC 38 A5 00 01 */ addi r5, r5, 0x1 +/* 8032FC00 0032C7E0 38 E7 00 01 */ addi r7, r7, 0x1 .L_8032FC04: -/* 8032FC04 0032C7E4 54 E0 06 3E */ clrlwi r0, r7, 0x18 -/* 8032FC08 0032C7E8 28 00 00 05 */ cmplwi r0, 5 +/* 8032FC04 0032C7E4 54 E0 06 3E */ clrlwi r0, r7, 24 +/* 8032FC08 0032C7E8 28 00 00 05 */ cmplwi r0, 0x5 /* 8032FC0C 0032C7EC 41 80 FF D4 */ blt .L_8032FBE0 -/* 8032FC10 0032C7F0 55 05 04 3E */ clrlwi r5, r8, 0x10 -/* 8032FC14 0032C7F4 38 C5 FF F9 */ addi r6, r5, -7 -/* 8032FC18 0032C7F8 28 06 00 00 */ cmplwi r6, 0 -/* 8032FC1C 0032C7FC 3B E0 00 01 */ li r31, 1 -/* 8032FC20 0032C800 38 E0 00 00 */ li r7, 0 +/* 8032FC10 0032C7F0 55 05 04 3E */ clrlwi r5, r8, 16 +/* 8032FC14 0032C7F4 38 C5 FF F9 */ subi r6, r5, 0x7 +/* 8032FC18 0032C7F8 28 06 00 00 */ cmplwi r6, 0x0 +/* 8032FC1C 0032C7FC 3B E0 00 01 */ li r31, 0x1 +/* 8032FC20 0032C800 38 E0 00 00 */ li r7, 0x0 /* 8032FC24 0032C804 40 81 00 CC */ ble .L_8032FCF0 -/* 8032FC28 0032C808 28 06 00 08 */ cmplwi r6, 8 -/* 8032FC2C 0032C80C 38 A6 FF F8 */ addi r5, r6, -8 +/* 8032FC28 0032C808 28 06 00 08 */ cmplwi r6, 0x8 +/* 8032FC2C 0032C80C 38 A6 FF F8 */ subi r5, r6, 0x8 /* 8032FC30 0032C810 40 81 00 24 */ ble .L_8032FC54 -/* 8032FC34 0032C814 38 05 00 07 */ addi r0, r5, 7 +/* 8032FC34 0032C814 38 05 00 07 */ addi r0, r5, 0x7 /* 8032FC38 0032C818 54 00 E8 FE */ srwi r0, r0, 3 -/* 8032FC3C 0032C81C 28 05 00 00 */ cmplwi r5, 0 +/* 8032FC3C 0032C81C 28 05 00 00 */ cmplwi r5, 0x0 /* 8032FC40 0032C820 7C 09 03 A6 */ mtctr r0 /* 8032FC44 0032C824 40 81 00 10 */ ble .L_8032FC54 .L_8032FC48: -/* 8032FC48 0032C828 3B BD 00 08 */ addi r29, r29, 8 -/* 8032FC4C 0032C82C 38 E7 00 08 */ addi r7, r7, 8 +/* 8032FC48 0032C828 3B BD 00 08 */ addi r29, r29, 0x8 +/* 8032FC4C 0032C82C 38 E7 00 08 */ addi r7, r7, 0x8 /* 8032FC50 0032C830 42 00 FF F8 */ bdnz .L_8032FC48 .L_8032FC54: /* 8032FC54 0032C834 7C 07 30 50 */ subf r0, r7, r6 @@ -442,7 +446,7 @@ THPDec_8032F8D4: /* 8032FC5C 0032C83C 7C 09 03 A6 */ mtctr r0 /* 8032FC60 0032C840 40 80 00 90 */ bge .L_8032FCF0 .L_8032FC64: -/* 8032FC64 0032C844 3B BD 00 01 */ addi r29, r29, 1 +/* 8032FC64 0032C844 3B BD 00 01 */ addi r29, r29, 0x1 /* 8032FC68 0032C848 42 00 FF FC */ bdnz .L_8032FC64 /* 8032FC6C 0032C84C 48 00 00 84 */ b .L_8032FCF0 .L_8032FC70: @@ -452,26 +456,26 @@ THPDec_8032F8D4: /* 8032FC7C 0032C85C 41 80 00 74 */ blt .L_8032FCF0 /* 8032FC80 0032C860 28 05 00 FE */ cmplwi r5, 0xfe /* 8032FC84 0032C864 41 81 00 6C */ bgt .L_8032FCF0 -/* 8032FC88 0032C868 88 1D 00 00 */ lbz r0, 0(r29) -/* 8032FC8C 0032C86C 38 E0 00 00 */ li r7, 0 -/* 8032FC90 0032C870 88 BD 00 01 */ lbz r5, 1(r29) -/* 8032FC94 0032C874 3B BD 00 02 */ addi r29, r29, 2 -/* 8032FC98 0032C878 50 05 44 2E */ rlwimi r5, r0, 8, 0x10, 0x17 -/* 8032FC9C 0032C87C 54 A5 04 3E */ clrlwi r5, r5, 0x10 -/* 8032FCA0 0032C880 38 C5 FF FE */ addi r6, r5, -2 -/* 8032FCA4 0032C884 28 06 00 00 */ cmplwi r6, 0 +/* 8032FC88 0032C868 88 1D 00 00 */ lbz r0, 0x0(r29) +/* 8032FC8C 0032C86C 38 E0 00 00 */ li r7, 0x0 +/* 8032FC90 0032C870 88 BD 00 01 */ lbz r5, 0x1(r29) +/* 8032FC94 0032C874 3B BD 00 02 */ addi r29, r29, 0x2 +/* 8032FC98 0032C878 50 05 44 2E */ rlwimi r5, r0, 8, 16, 23 +/* 8032FC9C 0032C87C 54 A5 04 3E */ clrlwi r5, r5, 16 +/* 8032FCA0 0032C880 38 C5 FF FE */ subi r6, r5, 0x2 +/* 8032FCA4 0032C884 28 06 00 00 */ cmplwi r6, 0x0 /* 8032FCA8 0032C888 40 81 00 48 */ ble .L_8032FCF0 -/* 8032FCAC 0032C88C 28 06 00 08 */ cmplwi r6, 8 -/* 8032FCB0 0032C890 38 A6 FF F8 */ addi r5, r6, -8 +/* 8032FCAC 0032C88C 28 06 00 08 */ cmplwi r6, 0x8 +/* 8032FCB0 0032C890 38 A6 FF F8 */ subi r5, r6, 0x8 /* 8032FCB4 0032C894 40 81 00 24 */ ble .L_8032FCD8 -/* 8032FCB8 0032C898 38 05 00 07 */ addi r0, r5, 7 +/* 8032FCB8 0032C898 38 05 00 07 */ addi r0, r5, 0x7 /* 8032FCBC 0032C89C 54 00 E8 FE */ srwi r0, r0, 3 -/* 8032FCC0 0032C8A0 28 05 00 00 */ cmplwi r5, 0 +/* 8032FCC0 0032C8A0 28 05 00 00 */ cmplwi r5, 0x0 /* 8032FCC4 0032C8A4 7C 09 03 A6 */ mtctr r0 /* 8032FCC8 0032C8A8 40 81 00 10 */ ble .L_8032FCD8 .L_8032FCCC: -/* 8032FCCC 0032C8AC 3B BD 00 08 */ addi r29, r29, 8 -/* 8032FCD0 0032C8B0 38 E7 00 08 */ addi r7, r7, 8 +/* 8032FCCC 0032C8AC 3B BD 00 08 */ addi r29, r29, 0x8 +/* 8032FCD0 0032C8B0 38 E7 00 08 */ addi r7, r7, 0x8 /* 8032FCD4 0032C8B4 42 00 FF F8 */ bdnz .L_8032FCCC .L_8032FCD8: /* 8032FCD8 0032C8B8 7C 07 30 50 */ subf r0, r7, r6 @@ -479,19 +483,19 @@ THPDec_8032F8D4: /* 8032FCE0 0032C8C0 7C 09 03 A6 */ mtctr r0 /* 8032FCE4 0032C8C4 40 80 00 0C */ bge .L_8032FCF0 .L_8032FCE8: -/* 8032FCE8 0032C8C8 3B BD 00 01 */ addi r29, r29, 1 +/* 8032FCE8 0032C8C8 3B BD 00 01 */ addi r29, r29, 0x1 /* 8032FCEC 0032C8CC 42 00 FF FC */ bdnz .L_8032FCE8 .L_8032FCF0: -/* 8032FCF0 0032C8D0 88 1E 00 08 */ lbz r0, 8(r30) -/* 8032FCF4 0032C8D4 28 00 00 00 */ cmplwi r0, 0 +/* 8032FCF0 0032C8D0 88 1E 00 08 */ lbz r0, 0x8(r30) +/* 8032FCF4 0032C8D4 28 00 00 00 */ cmplwi r0, 0x0 /* 8032FCF8 0032C8D8 41 82 FC 44 */ beq .L_8032F93C -/* 8032FCFC 0032C8DC 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 8032FCFC 0032C8DC 57 E0 06 3F */ clrlwi. r0, r31, 24 /* 8032FD00 0032C8E0 41 82 FC 3C */ beq .L_8032F93C .L_8032FD04: -/* 8032FD04 0032C8E4 38 60 00 01 */ li r3, 1 +/* 8032FD04 0032C8E4 38 60 00 01 */ li r3, 0x1 /* 8032FD08 0032C8E8 48 00 00 24 */ b .L_8032FD2C .L_8032FD0C: -/* 8032FD0C 0032C8EC 55 00 06 3E */ clrlwi r0, r8, 0x18 +/* 8032FD0C 0032C8EC 55 00 06 3E */ clrlwi r0, r8, 24 /* 8032FD10 0032C8F0 38 A1 00 30 */ addi r5, r1, 0x30 /* 8032FD14 0032C8F4 38 C1 00 2C */ addi r6, r1, 0x2c /* 8032FD18 0032C8F8 7C A5 02 14 */ add r5, r5, r0 @@ -505,26 +509,27 @@ THPDec_8032F8D4: /* 8032FD34 0032C914 38 21 00 58 */ addi r1, r1, 0x58 /* 8032FD38 0032C918 7C 08 03 A6 */ mtlr r0 /* 8032FD3C 0032C91C 4E 80 00 20 */ blr +.endfn THPDec_8032F8D4 -.global THPDec_8032FD40 -THPDec_8032FD40: +# .text:0x710 | 0x8032FD40 | size: 0x78 +.fn THPDec_8032FD40, global /* 8032FD40 0032C920 7C 08 02 A6 */ mflr r0 -/* 8032FD44 0032C924 90 01 00 04 */ stw r0, 4(r1) -/* 8032FD48 0032C928 94 21 FF F8 */ stwu r1, -8(r1) -/* 8032FD4C 0032C92C 88 03 00 08 */ lbz r0, 8(r3) -/* 8032FD50 0032C930 80 A3 00 00 */ lwz r5, 0(r3) -/* 8032FD54 0032C934 28 00 00 04 */ cmplwi r0, 4 +/* 8032FD44 0032C924 90 01 00 04 */ stw r0, 0x4(r1) +/* 8032FD48 0032C928 94 21 FF F8 */ stwu r1, -0x8(r1) +/* 8032FD4C 0032C92C 88 03 00 08 */ lbz r0, 0x8(r3) +/* 8032FD50 0032C930 80 A3 00 00 */ lwz r5, 0x0(r3) +/* 8032FD54 0032C934 28 00 00 04 */ cmplwi r0, 0x4 /* 8032FD58 0032C938 38 C5 40 28 */ addi r6, r5, 0x4028 /* 8032FD5C 0032C93C 41 82 00 1C */ beq .L_8032FD78 /* 8032FD60 0032C940 3C 60 80 40 */ lis r3, THPDec_80400B28@ha -/* 8032FD64 0032C944 4C C6 31 82 */ crclr 6 +/* 8032FD64 0032C944 4C C6 31 82 */ crclr cr1eq /* 8032FD68 0032C948 38 63 0B 28 */ addi r3, r3, THPDec_80400B28@l /* 8032FD6C 0032C94C 48 01 59 3D */ bl OSReport -/* 8032FD70 0032C950 38 60 00 00 */ li r3, 0 +/* 8032FD70 0032C950 38 60 00 00 */ li r3, 0x0 /* 8032FD74 0032C954 48 00 00 34 */ b .L_8032FDA8 .L_8032FD78: -/* 8032FD78 0032C958 A0 A3 00 04 */ lhz r5, 4(r3) -/* 8032FD7C 0032C95C 54 84 04 3E */ clrlwi r4, r4, 0x10 +/* 8032FD78 0032C958 A0 A3 00 04 */ lhz r5, 0x4(r3) +/* 8032FD7C 0032C95C 54 84 04 3E */ clrlwi r4, r4, 16 /* 8032FD80 0032C960 7C A3 0E 70 */ srawi r3, r5, 1 /* 8032FD84 0032C964 7C 63 01 94 */ addze r3, r3 /* 8032FD88 0032C968 7C 80 0E 70 */ srawi r0, r4, 1 @@ -534,43 +539,44 @@ THPDec_8032FD40: /* 8032FD98 0032C978 7C 65 21 D6 */ mullw r3, r5, r4 /* 8032FD9C 0032C97C 7C C0 32 14 */ add r6, r0, r6 /* 8032FDA0 0032C980 7C C3 32 14 */ add r6, r3, r6 -/* 8032FDA4 0032C984 38 66 00 00 */ addi r3, r6, 0 +/* 8032FDA4 0032C984 38 66 00 00 */ addi r3, r6, 0x0 .L_8032FDA8: /* 8032FDA8 0032C988 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8032FDAC 0032C98C 38 21 00 08 */ addi r1, r1, 8 +/* 8032FDAC 0032C98C 38 21 00 08 */ addi r1, r1, 0x8 /* 8032FDB0 0032C990 7C 08 03 A6 */ mtlr r0 /* 8032FDB4 0032C994 4E 80 00 20 */ blr +.endfn THPDec_8032FD40 -.global THPDec_8032FDB8 -THPDec_8032FDB8: +# .text:0x788 | 0x8032FDB8 | size: 0x328 +.fn THPDec_8032FDB8, global /* 8032FDB8 0032C998 7C 08 02 A6 */ mflr r0 -/* 8032FDBC 0032C99C 90 01 00 04 */ stw r0, 4(r1) +/* 8032FDBC 0032C99C 90 01 00 04 */ stw r0, 0x4(r1) /* 8032FDC0 0032C9A0 94 21 FF C8 */ stwu r1, -0x38(r1) /* 8032FDC4 0032C9A4 93 E1 00 34 */ stw r31, 0x34(r1) -/* 8032FDC8 0032C9A8 3B E6 00 00 */ addi r31, r6, 0 +/* 8032FDC8 0032C9A8 3B E6 00 00 */ addi r31, r6, 0x0 /* 8032FDCC 0032C9AC 93 C1 00 30 */ stw r30, 0x30(r1) -/* 8032FDD0 0032C9B0 3B C5 00 00 */ addi r30, r5, 0 +/* 8032FDD0 0032C9B0 3B C5 00 00 */ addi r30, r5, 0x0 /* 8032FDD4 0032C9B4 93 A1 00 2C */ stw r29, 0x2c(r1) -/* 8032FDD8 0032C9B8 3B A4 00 00 */ addi r29, r4, 0 +/* 8032FDD8 0032C9B8 3B A4 00 00 */ addi r29, r4, 0x0 /* 8032FDDC 0032C9BC 38 80 09 20 */ li r4, 0x920 /* 8032FDE0 0032C9C0 93 81 00 28 */ stw r28, 0x28(r1) -/* 8032FDE4 0032C9C4 3B 83 00 00 */ addi r28, r3, 0 -/* 8032FDE8 0032C9C8 38 7E 00 00 */ addi r3, r30, 0 +/* 8032FDE4 0032C9C4 3B 83 00 00 */ addi r28, r3, 0x0 +/* 8032FDE8 0032C9C8 38 7E 00 00 */ addi r3, r30, 0x0 /* 8032FDEC 0032C9CC 48 01 4A B9 */ bl DCZeroRange /* 8032FDF0 0032C9D0 93 DE 09 04 */ stw r30, 0x904(r30) /* 8032FDF4 0032C9D4 38 80 00 21 */ li r4, 0x21 -/* 8032FDF8 0032C9D8 38 00 00 00 */ li r0, 0 +/* 8032FDF8 0032C9D8 38 00 00 00 */ li r0, 0x0 /* 8032FDFC 0032C9DC 80 BE 09 04 */ lwz r5, 0x904(r30) -/* 8032FE00 0032C9E0 38 7E 00 00 */ addi r3, r30, 0 +/* 8032FE00 0032C9E0 38 7E 00 00 */ addi r3, r30, 0x0 /* 8032FE04 0032C9E4 38 A5 09 20 */ addi r5, r5, 0x920 /* 8032FE08 0032C9E8 90 BE 09 04 */ stw r5, 0x904(r30) -/* 8032FE0C 0032C9EC A0 BC 00 00 */ lhz r5, 0(r28) +/* 8032FE0C 0032C9EC A0 BC 00 00 */ lhz r5, 0x0(r28) /* 8032FE10 0032C9F0 B0 BE 00 50 */ sth r5, 0x50(r30) -/* 8032FE14 0032C9F4 A0 BC 00 02 */ lhz r5, 2(r28) +/* 8032FE14 0032C9F4 A0 BC 00 02 */ lhz r5, 0x2(r28) /* 8032FE18 0032C9F8 B0 BE 00 52 */ sth r5, 0x52(r30) /* 8032FE1C 0032C9FC 80 BE 00 6C */ lwz r5, 0x6c(r30) -/* 8032FE20 0032CA00 90 BE 00 00 */ stw r5, 0(r30) -/* 8032FE24 0032CA04 90 9E 00 08 */ stw r4, 8(r30) +/* 8032FE20 0032CA00 90 BE 00 00 */ stw r5, 0x0(r30) +/* 8032FE24 0032CA04 90 9E 00 08 */ stw r4, 0x8(r30) /* 8032FE28 0032CA08 B0 1E 08 EC */ sth r0, 0x8ec(r30) /* 8032FE2C 0032CA0C B0 1E 08 EE */ sth r0, 0x8ee(r30) /* 8032FE30 0032CA10 B0 1E 08 D2 */ sth r0, 0x8d2(r30) @@ -580,35 +586,35 @@ THPDec_8032FDB8: /* 8032FE40 0032CA20 93 FE 00 0C */ stw r31, 0xc(r30) /* 8032FE44 0032CA24 48 00 02 9D */ bl THPDec_803300E0 /* 8032FE48 0032CA28 80 1E 00 0C */ lwz r0, 0xc(r30) -/* 8032FE4C 0032CA2C 3B E0 00 00 */ li r31, 0 -/* 8032FE50 0032CA30 90 1E 00 00 */ stw r0, 0(r30) +/* 8032FE4C 0032CA2C 3B E0 00 00 */ li r31, 0x0 +/* 8032FE50 0032CA30 90 1E 00 00 */ stw r0, 0x0(r30) .L_8032FE54: -/* 8032FE54 0032CA34 80 7E 00 00 */ lwz r3, 0(r30) -/* 8032FE58 0032CA38 38 03 00 01 */ addi r0, r3, 1 -/* 8032FE5C 0032CA3C 90 1E 00 00 */ stw r0, 0(r30) -/* 8032FE60 0032CA40 88 03 00 00 */ lbz r0, 0(r3) +/* 8032FE54 0032CA34 80 7E 00 00 */ lwz r3, 0x0(r30) +/* 8032FE58 0032CA38 38 03 00 01 */ addi r0, r3, 0x1 +/* 8032FE5C 0032CA3C 90 1E 00 00 */ stw r0, 0x0(r30) +/* 8032FE60 0032CA40 88 03 00 00 */ lbz r0, 0x0(r3) /* 8032FE64 0032CA44 28 00 00 FF */ cmplwi r0, 0xff /* 8032FE68 0032CA48 40 82 02 44 */ bne .L_803300AC /* 8032FE6C 0032CA4C 48 00 00 10 */ b .L_8032FE7C .L_8032FE70: -/* 8032FE70 0032CA50 80 7E 00 00 */ lwz r3, 0(r30) -/* 8032FE74 0032CA54 38 03 00 01 */ addi r0, r3, 1 -/* 8032FE78 0032CA58 90 1E 00 00 */ stw r0, 0(r30) +/* 8032FE70 0032CA50 80 7E 00 00 */ lwz r3, 0x0(r30) +/* 8032FE74 0032CA54 38 03 00 01 */ addi r0, r3, 0x1 +/* 8032FE78 0032CA58 90 1E 00 00 */ stw r0, 0x0(r30) .L_8032FE7C: -/* 8032FE7C 0032CA5C 80 7E 00 00 */ lwz r3, 0(r30) -/* 8032FE80 0032CA60 88 03 00 00 */ lbz r0, 0(r3) +/* 8032FE7C 0032CA5C 80 7E 00 00 */ lwz r3, 0x0(r30) +/* 8032FE80 0032CA60 88 03 00 00 */ lbz r0, 0x0(r3) /* 8032FE84 0032CA64 28 00 00 FF */ cmplwi r0, 0xff /* 8032FE88 0032CA68 41 82 FF E8 */ beq .L_8032FE70 -/* 8032FE8C 0032CA6C 38 03 00 01 */ addi r0, r3, 1 -/* 8032FE90 0032CA70 90 1E 00 00 */ stw r0, 0(r30) -/* 8032FE94 0032CA74 88 03 00 00 */ lbz r0, 0(r3) +/* 8032FE8C 0032CA6C 38 03 00 01 */ addi r0, r3, 0x1 +/* 8032FE90 0032CA70 90 1E 00 00 */ stw r0, 0x0(r30) +/* 8032FE94 0032CA74 88 03 00 00 */ lbz r0, 0x0(r3) /* 8032FE98 0032CA78 28 00 00 D7 */ cmplwi r0, 0xd7 /* 8032FE9C 0032CA7C 41 81 00 4C */ bgt .L_8032FEE8 /* 8032FEA0 0032CA80 28 00 00 C4 */ cmplwi r0, 0xc4 /* 8032FEA4 0032CA84 40 82 00 18 */ bne .L_8032FEBC /* 8032FEA8 0032CA88 7F C3 F3 78 */ mr r3, r30 /* 8032FEAC 0032CA8C 48 00 0A C5 */ bl THPDec_80330970 -/* 8032FEB0 0032CA90 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8032FEB0 0032CA90 54 60 06 3F */ clrlwi. r0, r3, 24 /* 8032FEB4 0032CA94 40 82 02 04 */ bne .L_803300B8 /* 8032FEB8 0032CA98 48 00 01 DC */ b .L_80330094 .L_8032FEBC: @@ -616,13 +622,13 @@ THPDec_8032FDB8: /* 8032FEC0 0032CAA0 40 82 00 18 */ bne .L_8032FED8 /* 8032FEC4 0032CAA4 7F C3 F3 78 */ mr r3, r30 /* 8032FEC8 0032CAA8 48 00 04 FD */ bl THPDec_803303C4 -/* 8032FECC 0032CAAC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8032FECC 0032CAAC 54 60 06 3F */ clrlwi. r0, r3, 24 /* 8032FED0 0032CAB0 40 82 01 E8 */ bne .L_803300B8 /* 8032FED4 0032CAB4 48 00 01 C0 */ b .L_80330094 .L_8032FED8: /* 8032FED8 0032CAB8 38 00 00 0B */ li r0, 0xb -/* 8032FEDC 0032CABC 98 1D 00 00 */ stb r0, 0(r29) -/* 8032FEE0 0032CAC0 38 60 00 00 */ li r3, 0 +/* 8032FEDC 0032CABC 98 1D 00 00 */ stb r0, 0x0(r29) +/* 8032FEE0 0032CAC0 38 60 00 00 */ li r3, 0x0 /* 8032FEE4 0032CAC4 48 00 01 DC */ b .L_803300C0 .L_8032FEE8: /* 8032FEE8 0032CAC8 28 00 00 D8 */ cmplwi r0, 0xd8 @@ -639,7 +645,7 @@ THPDec_8032FDB8: /* 8032FF10 0032CAF0 40 82 00 18 */ bne .L_8032FF28 /* 8032FF14 0032CAF4 7F C3 F3 78 */ mr r3, r30 /* 8032FF18 0032CAF8 48 00 06 B5 */ bl THPDec_803305CC -/* 8032FF1C 0032CAFC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8032FF1C 0032CAFC 54 60 06 3F */ clrlwi. r0, r3, 24 /* 8032FF20 0032CB00 40 82 01 98 */ bne .L_803300B8 /* 8032FF24 0032CB04 48 00 01 70 */ b .L_80330094 .L_8032FF28: @@ -647,18 +653,18 @@ THPDec_8032FDB8: /* 8032FF2C 0032CB0C 40 82 00 24 */ bne .L_8032FF50 /* 8032FF30 0032CB10 7F C3 F3 78 */ mr r3, r30 /* 8032FF34 0032CB14 48 00 0C 0D */ bl THPDec_80330B40 -/* 8032FF38 0032CB18 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8032FF38 0032CB18 54 60 06 3F */ clrlwi. r0, r3, 24 /* 8032FF3C 0032CB1C 40 82 01 7C */ bne .L_803300B8 -/* 8032FF40 0032CB20 80 1E 00 00 */ lwz r0, 0(r30) -/* 8032FF44 0032CB24 3B E0 00 01 */ li r31, 1 +/* 8032FF40 0032CB20 80 1E 00 00 */ lwz r0, 0x0(r30) +/* 8032FF44 0032CB24 3B E0 00 01 */ li r31, 0x1 /* 8032FF48 0032CB28 90 1E 00 6C */ stw r0, 0x6c(r30) /* 8032FF4C 0032CB2C 48 00 01 48 */ b .L_80330094 .L_8032FF50: /* 8032FF50 0032CB30 28 00 00 D8 */ cmplwi r0, 0xd8 /* 8032FF54 0032CB34 41 82 01 40 */ beq .L_80330094 /* 8032FF58 0032CB38 38 00 00 0B */ li r0, 0xb -/* 8032FF5C 0032CB3C 98 1D 00 00 */ stb r0, 0(r29) -/* 8032FF60 0032CB40 38 60 00 00 */ li r3, 0 +/* 8032FF5C 0032CB3C 98 1D 00 00 */ stb r0, 0x0(r29) +/* 8032FF60 0032CB40 38 60 00 00 */ li r3, 0x0 /* 8032FF64 0032CB44 48 00 01 5C */ b .L_803300C0 .L_8032FF68: /* 8032FF68 0032CB48 28 00 00 E0 */ cmplwi r0, 0xe0 @@ -666,7 +672,7 @@ THPDec_8032FDB8: /* 8032FF70 0032CB50 40 82 00 18 */ bne .L_8032FF88 /* 8032FF74 0032CB54 7F C3 F3 78 */ mr r3, r30 /* 8032FF78 0032CB58 48 00 01 E1 */ bl THPDec_80330158 -/* 8032FF7C 0032CB5C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8032FF7C 0032CB5C 54 60 06 3F */ clrlwi. r0, r3, 24 /* 8032FF80 0032CB60 40 82 01 38 */ bne .L_803300B8 /* 8032FF84 0032CB64 48 00 01 10 */ b .L_80330094 .L_8032FF88: @@ -680,83 +686,83 @@ THPDec_8032FDB8: .L_8032FFA4: /* 8032FFA4 0032CB84 28 00 00 FE */ cmplwi r0, 0xfe /* 8032FFA8 0032CB88 40 82 00 DC */ bne .L_80330084 -/* 8032FFAC 0032CB8C 80 9E 00 00 */ lwz r4, 0(r30) -/* 8032FFB0 0032CB90 38 60 00 00 */ li r3, 0 -/* 8032FFB4 0032CB94 88 A4 00 00 */ lbz r5, 0(r4) -/* 8032FFB8 0032CB98 38 04 00 02 */ addi r0, r4, 2 -/* 8032FFBC 0032CB9C 88 C4 00 01 */ lbz r6, 1(r4) -/* 8032FFC0 0032CBA0 50 A6 44 2E */ rlwimi r6, r5, 8, 0x10, 0x17 -/* 8032FFC4 0032CBA4 90 1E 00 00 */ stw r0, 0(r30) -/* 8032FFC8 0032CBA8 38 06 FF FE */ addi r0, r6, -2 -/* 8032FFCC 0032CBAC 28 00 00 00 */ cmplwi r0, 0 +/* 8032FFAC 0032CB8C 80 9E 00 00 */ lwz r4, 0x0(r30) +/* 8032FFB0 0032CB90 38 60 00 00 */ li r3, 0x0 +/* 8032FFB4 0032CB94 88 A4 00 00 */ lbz r5, 0x0(r4) +/* 8032FFB8 0032CB98 38 04 00 02 */ addi r0, r4, 0x2 +/* 8032FFBC 0032CB9C 88 C4 00 01 */ lbz r6, 0x1(r4) +/* 8032FFC0 0032CBA0 50 A6 44 2E */ rlwimi r6, r5, 8, 16, 23 +/* 8032FFC4 0032CBA4 90 1E 00 00 */ stw r0, 0x0(r30) +/* 8032FFC8 0032CBA8 38 06 FF FE */ subi r0, r6, 0x2 +/* 8032FFCC 0032CBAC 28 00 00 00 */ cmplwi r0, 0x0 /* 8032FFD0 0032CBB0 40 81 00 C4 */ ble .L_80330094 -/* 8032FFD4 0032CBB4 28 00 00 08 */ cmplwi r0, 8 -/* 8032FFD8 0032CBB8 38 86 FF F6 */ addi r4, r6, -10 +/* 8032FFD4 0032CBB4 28 00 00 08 */ cmplwi r0, 0x8 +/* 8032FFD8 0032CBB8 38 86 FF F6 */ subi r4, r6, 0xa /* 8032FFDC 0032CBBC 40 81 00 80 */ ble .L_8033005C -/* 8032FFE0 0032CBC0 38 04 00 07 */ addi r0, r4, 7 +/* 8032FFE0 0032CBC0 38 04 00 07 */ addi r0, r4, 0x7 /* 8032FFE4 0032CBC4 54 00 E8 FE */ srwi r0, r0, 3 -/* 8032FFE8 0032CBC8 28 04 00 00 */ cmplwi r4, 0 +/* 8032FFE8 0032CBC8 28 04 00 00 */ cmplwi r4, 0x0 /* 8032FFEC 0032CBCC 7C 09 03 A6 */ mtctr r0 /* 8032FFF0 0032CBD0 40 81 00 6C */ ble .L_8033005C .L_8032FFF4: -/* 8032FFF4 0032CBD4 80 9E 00 00 */ lwz r4, 0(r30) -/* 8032FFF8 0032CBD8 38 63 00 08 */ addi r3, r3, 8 -/* 8032FFFC 0032CBDC 38 04 00 01 */ addi r0, r4, 1 -/* 80330000 0032CBE0 90 1E 00 00 */ stw r0, 0(r30) -/* 80330004 0032CBE4 80 9E 00 00 */ lwz r4, 0(r30) -/* 80330008 0032CBE8 38 04 00 01 */ addi r0, r4, 1 -/* 8033000C 0032CBEC 90 1E 00 00 */ stw r0, 0(r30) -/* 80330010 0032CBF0 80 9E 00 00 */ lwz r4, 0(r30) -/* 80330014 0032CBF4 38 04 00 01 */ addi r0, r4, 1 -/* 80330018 0032CBF8 90 1E 00 00 */ stw r0, 0(r30) -/* 8033001C 0032CBFC 80 9E 00 00 */ lwz r4, 0(r30) -/* 80330020 0032CC00 38 04 00 01 */ addi r0, r4, 1 -/* 80330024 0032CC04 90 1E 00 00 */ stw r0, 0(r30) -/* 80330028 0032CC08 80 9E 00 00 */ lwz r4, 0(r30) -/* 8033002C 0032CC0C 38 04 00 01 */ addi r0, r4, 1 -/* 80330030 0032CC10 90 1E 00 00 */ stw r0, 0(r30) -/* 80330034 0032CC14 80 9E 00 00 */ lwz r4, 0(r30) -/* 80330038 0032CC18 38 04 00 01 */ addi r0, r4, 1 -/* 8033003C 0032CC1C 90 1E 00 00 */ stw r0, 0(r30) -/* 80330040 0032CC20 80 9E 00 00 */ lwz r4, 0(r30) -/* 80330044 0032CC24 38 04 00 01 */ addi r0, r4, 1 -/* 80330048 0032CC28 90 1E 00 00 */ stw r0, 0(r30) -/* 8033004C 0032CC2C 80 9E 00 00 */ lwz r4, 0(r30) -/* 80330050 0032CC30 38 04 00 01 */ addi r0, r4, 1 -/* 80330054 0032CC34 90 1E 00 00 */ stw r0, 0(r30) +/* 8032FFF4 0032CBD4 80 9E 00 00 */ lwz r4, 0x0(r30) +/* 8032FFF8 0032CBD8 38 63 00 08 */ addi r3, r3, 0x8 +/* 8032FFFC 0032CBDC 38 04 00 01 */ addi r0, r4, 0x1 +/* 80330000 0032CBE0 90 1E 00 00 */ stw r0, 0x0(r30) +/* 80330004 0032CBE4 80 9E 00 00 */ lwz r4, 0x0(r30) +/* 80330008 0032CBE8 38 04 00 01 */ addi r0, r4, 0x1 +/* 8033000C 0032CBEC 90 1E 00 00 */ stw r0, 0x0(r30) +/* 80330010 0032CBF0 80 9E 00 00 */ lwz r4, 0x0(r30) +/* 80330014 0032CBF4 38 04 00 01 */ addi r0, r4, 0x1 +/* 80330018 0032CBF8 90 1E 00 00 */ stw r0, 0x0(r30) +/* 8033001C 0032CBFC 80 9E 00 00 */ lwz r4, 0x0(r30) +/* 80330020 0032CC00 38 04 00 01 */ addi r0, r4, 0x1 +/* 80330024 0032CC04 90 1E 00 00 */ stw r0, 0x0(r30) +/* 80330028 0032CC08 80 9E 00 00 */ lwz r4, 0x0(r30) +/* 8033002C 0032CC0C 38 04 00 01 */ addi r0, r4, 0x1 +/* 80330030 0032CC10 90 1E 00 00 */ stw r0, 0x0(r30) +/* 80330034 0032CC14 80 9E 00 00 */ lwz r4, 0x0(r30) +/* 80330038 0032CC18 38 04 00 01 */ addi r0, r4, 0x1 +/* 8033003C 0032CC1C 90 1E 00 00 */ stw r0, 0x0(r30) +/* 80330040 0032CC20 80 9E 00 00 */ lwz r4, 0x0(r30) +/* 80330044 0032CC24 38 04 00 01 */ addi r0, r4, 0x1 +/* 80330048 0032CC28 90 1E 00 00 */ stw r0, 0x0(r30) +/* 8033004C 0032CC2C 80 9E 00 00 */ lwz r4, 0x0(r30) +/* 80330050 0032CC30 38 04 00 01 */ addi r0, r4, 0x1 +/* 80330054 0032CC34 90 1E 00 00 */ stw r0, 0x0(r30) /* 80330058 0032CC38 42 00 FF 9C */ bdnz .L_8032FFF4 .L_8033005C: -/* 8033005C 0032CC3C 38 86 FF FE */ addi r4, r6, -2 +/* 8033005C 0032CC3C 38 86 FF FE */ subi r4, r6, 0x2 /* 80330060 0032CC40 7C 03 20 50 */ subf r0, r3, r4 /* 80330064 0032CC44 7C 03 20 40 */ cmplw r3, r4 /* 80330068 0032CC48 7C 09 03 A6 */ mtctr r0 /* 8033006C 0032CC4C 40 80 00 28 */ bge .L_80330094 .L_80330070: -/* 80330070 0032CC50 80 7E 00 00 */ lwz r3, 0(r30) -/* 80330074 0032CC54 38 03 00 01 */ addi r0, r3, 1 -/* 80330078 0032CC58 90 1E 00 00 */ stw r0, 0(r30) +/* 80330070 0032CC50 80 7E 00 00 */ lwz r3, 0x0(r30) +/* 80330074 0032CC54 38 03 00 01 */ addi r0, r3, 0x1 +/* 80330078 0032CC58 90 1E 00 00 */ stw r0, 0x0(r30) /* 8033007C 0032CC5C 42 00 FF F4 */ bdnz .L_80330070 /* 80330080 0032CC60 48 00 00 14 */ b .L_80330094 .L_80330084: /* 80330084 0032CC64 38 00 00 0B */ li r0, 0xb -/* 80330088 0032CC68 98 1D 00 00 */ stb r0, 0(r29) -/* 8033008C 0032CC6C 38 60 00 00 */ li r3, 0 +/* 80330088 0032CC68 98 1D 00 00 */ stb r0, 0x0(r29) +/* 8033008C 0032CC6C 38 60 00 00 */ li r3, 0x0 /* 80330090 0032CC70 48 00 00 30 */ b .L_803300C0 .L_80330094: -/* 80330094 0032CC74 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 80330094 0032CC74 57 E0 06 3F */ clrlwi. r0, r31, 24 /* 80330098 0032CC78 41 82 FD BC */ beq .L_8032FE54 -/* 8033009C 0032CC7C 38 00 00 00 */ li r0, 0 -/* 803300A0 0032CC80 98 1D 00 00 */ stb r0, 0(r29) +/* 8033009C 0032CC7C 38 00 00 00 */ li r0, 0x0 +/* 803300A0 0032CC80 98 1D 00 00 */ stb r0, 0x0(r29) /* 803300A4 0032CC84 7F C3 F3 78 */ mr r3, r30 /* 803300A8 0032CC88 48 00 00 18 */ b .L_803300C0 .L_803300AC: -/* 803300AC 0032CC8C 38 00 00 03 */ li r0, 3 -/* 803300B0 0032CC90 98 1D 00 00 */ stb r0, 0(r29) +/* 803300AC 0032CC8C 38 00 00 03 */ li r0, 0x3 +/* 803300B0 0032CC90 98 1D 00 00 */ stb r0, 0x0(r29) /* 803300B4 0032CC94 48 00 00 08 */ b .L_803300BC .L_803300B8: -/* 803300B8 0032CC98 98 7D 00 00 */ stb r3, 0(r29) +/* 803300B8 0032CC98 98 7D 00 00 */ stb r3, 0x0(r29) .L_803300BC: -/* 803300BC 0032CC9C 38 60 00 00 */ li r3, 0 +/* 803300BC 0032CC9C 38 60 00 00 */ li r3, 0x0 .L_803300C0: /* 803300C0 0032CCA0 80 01 00 3C */ lwz r0, 0x3c(r1) /* 803300C4 0032CCA4 83 E1 00 34 */ lwz r31, 0x34(r1) @@ -766,13 +772,14 @@ THPDec_8032FDB8: /* 803300D4 0032CCB4 83 81 00 28 */ lwz r28, 0x28(r1) /* 803300D8 0032CCB8 38 21 00 38 */ addi r1, r1, 0x38 /* 803300DC 0032CCBC 4E 80 00 20 */ blr +.endfn THPDec_8032FDB8 -.global THPDec_803300E0 -THPDec_803300E0: +# .text:0xAB0 | 0x803300E0 | size: 0x78 +.fn THPDec_803300E0, local /* 803300E0 0032CCC0 80 83 09 04 */ lwz r4, 0x904(r3) -/* 803300E4 0032CCC4 39 00 00 00 */ li r8, 0 +/* 803300E4 0032CCC4 39 00 00 00 */ li r8, 0x0 /* 803300E8 0032CCC8 38 04 00 1F */ addi r0, r4, 0x1f -/* 803300EC 0032CCCC 54 04 00 34 */ rlwinm r4, r0, 0, 0, 0x1a +/* 803300EC 0032CCCC 54 04 00 34 */ clrrwi r4, r0, 5 /* 803300F0 0032CCD0 38 04 08 00 */ addi r0, r4, 0x800 /* 803300F4 0032CCD4 90 03 09 04 */ stw r0, 0x904(r3) /* 803300F8 0032CCD8 7C 87 23 78 */ mr r7, r4 @@ -791,174 +798,176 @@ THPDec_803300E0: /* 80330128 0032CD08 38 07 03 80 */ addi r0, r7, 0x380 /* 8033012C 0032CD0C 38 E7 04 00 */ addi r7, r7, 0x400 /* 80330130 0032CD10 90 C3 00 20 */ stw r6, 0x20(r3) -/* 80330134 0032CD14 39 08 00 08 */ addi r8, r8, 8 +/* 80330134 0032CD14 39 08 00 08 */ addi r8, r8, 0x8 /* 80330138 0032CD18 90 A3 00 24 */ stw r5, 0x24(r3) /* 8033013C 0032CD1C 90 83 00 28 */ stw r4, 0x28(r3) /* 80330140 0032CD20 90 03 00 2C */ stw r0, 0x2c(r3) /* 80330144 0032CD24 38 63 00 20 */ addi r3, r3, 0x20 .L_80330148: -/* 80330148 0032CD28 55 00 06 3E */ clrlwi r0, r8, 0x18 +/* 80330148 0032CD28 55 00 06 3E */ clrlwi r0, r8, 24 /* 8033014C 0032CD2C 28 00 00 10 */ cmplwi r0, 0x10 /* 80330150 0032CD30 41 80 FF B0 */ blt .L_80330100 /* 80330154 0032CD34 4E 80 00 20 */ blr +.endfn THPDec_803300E0 -.global THPDec_80330158 -THPDec_80330158: +# .text:0xB28 | 0x80330158 | size: 0x194 +.fn THPDec_80330158, local /* 80330158 0032CD38 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8033015C 0032CD3C 80 82 E7 F8 */ lwz r4, THPDec_804DE1D8@sda21(r2) +/* 8033015C 0032CD3C 80 82 E7 F8 */ lwz r4, THPDec_804DE1D8@sda21(r0) /* 80330160 0032CD40 38 C1 00 14 */ addi r6, r1, 0x14 -/* 80330164 0032CD44 88 02 E7 FC */ lbz r0, THPDec_804DE1DC@sda21(r2) +/* 80330164 0032CD44 88 02 E7 FC */ lbz r0, THPDec_804DE1DC@sda21(r0) /* 80330168 0032CD48 90 81 00 14 */ stw r4, 0x14(r1) /* 8033016C 0032CD4C 98 01 00 18 */ stb r0, 0x18(r1) -/* 80330170 0032CD50 80 83 00 00 */ lwz r4, 0(r3) -/* 80330174 0032CD54 88 A4 00 00 */ lbz r5, 0(r4) -/* 80330178 0032CD58 38 04 00 02 */ addi r0, r4, 2 -/* 8033017C 0032CD5C 88 84 00 01 */ lbz r4, 1(r4) -/* 80330180 0032CD60 50 A4 44 2E */ rlwimi r4, r5, 8, 0x10, 0x17 -/* 80330184 0032CD64 90 03 00 00 */ stw r0, 0(r3) -/* 80330188 0032CD68 54 87 04 3E */ clrlwi r7, r4, 0x10 -/* 8033018C 0032CD6C 80 83 00 00 */ lwz r4, 0(r3) -/* 80330190 0032CD70 38 04 00 01 */ addi r0, r4, 1 -/* 80330194 0032CD74 90 03 00 00 */ stw r0, 0(r3) -/* 80330198 0032CD78 88 84 00 00 */ lbz r4, 0(r4) +/* 80330170 0032CD50 80 83 00 00 */ lwz r4, 0x0(r3) +/* 80330174 0032CD54 88 A4 00 00 */ lbz r5, 0x0(r4) +/* 80330178 0032CD58 38 04 00 02 */ addi r0, r4, 0x2 +/* 8033017C 0032CD5C 88 84 00 01 */ lbz r4, 0x1(r4) +/* 80330180 0032CD60 50 A4 44 2E */ rlwimi r4, r5, 8, 16, 23 +/* 80330184 0032CD64 90 03 00 00 */ stw r0, 0x0(r3) +/* 80330188 0032CD68 54 87 04 3E */ clrlwi r7, r4, 16 +/* 8033018C 0032CD6C 80 83 00 00 */ lwz r4, 0x0(r3) +/* 80330190 0032CD70 38 04 00 01 */ addi r0, r4, 0x1 +/* 80330194 0032CD74 90 03 00 00 */ stw r0, 0x0(r3) +/* 80330198 0032CD78 88 84 00 00 */ lbz r4, 0x0(r4) /* 8033019C 0032CD7C 88 01 00 14 */ lbz r0, 0x14(r1) /* 803301A0 0032CD80 7C 04 00 40 */ cmplw r4, r0 /* 803301A4 0032CD84 41 82 00 0C */ beq .L_803301B0 -/* 803301A8 0032CD88 38 60 00 03 */ li r3, 3 +/* 803301A8 0032CD88 38 60 00 03 */ li r3, 0x3 /* 803301AC 0032CD8C 48 00 01 38 */ b .L_803302E4 .L_803301B0: -/* 803301B0 0032CD90 80 83 00 00 */ lwz r4, 0(r3) -/* 803301B4 0032CD94 38 04 00 01 */ addi r0, r4, 1 -/* 803301B8 0032CD98 90 03 00 00 */ stw r0, 0(r3) -/* 803301BC 0032CD9C 88 84 00 00 */ lbz r4, 0(r4) -/* 803301C0 0032CDA0 8C 06 00 01 */ lbzu r0, 1(r6) +/* 803301B0 0032CD90 80 83 00 00 */ lwz r4, 0x0(r3) +/* 803301B4 0032CD94 38 04 00 01 */ addi r0, r4, 0x1 +/* 803301B8 0032CD98 90 03 00 00 */ stw r0, 0x0(r3) +/* 803301BC 0032CD9C 88 84 00 00 */ lbz r4, 0x0(r4) +/* 803301C0 0032CDA0 8C 06 00 01 */ lbzu r0, 0x1(r6) /* 803301C4 0032CDA4 7C 04 00 40 */ cmplw r4, r0 /* 803301C8 0032CDA8 41 82 00 0C */ beq .L_803301D4 -/* 803301CC 0032CDAC 38 60 00 03 */ li r3, 3 +/* 803301CC 0032CDAC 38 60 00 03 */ li r3, 0x3 /* 803301D0 0032CDB0 48 00 01 14 */ b .L_803302E4 .L_803301D4: -/* 803301D4 0032CDB4 80 83 00 00 */ lwz r4, 0(r3) -/* 803301D8 0032CDB8 38 04 00 01 */ addi r0, r4, 1 -/* 803301DC 0032CDBC 90 03 00 00 */ stw r0, 0(r3) -/* 803301E0 0032CDC0 88 84 00 00 */ lbz r4, 0(r4) -/* 803301E4 0032CDC4 8C 06 00 01 */ lbzu r0, 1(r6) +/* 803301D4 0032CDB4 80 83 00 00 */ lwz r4, 0x0(r3) +/* 803301D8 0032CDB8 38 04 00 01 */ addi r0, r4, 0x1 +/* 803301DC 0032CDBC 90 03 00 00 */ stw r0, 0x0(r3) +/* 803301E0 0032CDC0 88 84 00 00 */ lbz r4, 0x0(r4) +/* 803301E4 0032CDC4 8C 06 00 01 */ lbzu r0, 0x1(r6) /* 803301E8 0032CDC8 7C 04 00 40 */ cmplw r4, r0 /* 803301EC 0032CDCC 41 82 00 0C */ beq .L_803301F8 -/* 803301F0 0032CDD0 38 60 00 03 */ li r3, 3 +/* 803301F0 0032CDD0 38 60 00 03 */ li r3, 0x3 /* 803301F4 0032CDD4 48 00 00 F0 */ b .L_803302E4 .L_803301F8: -/* 803301F8 0032CDD8 80 83 00 00 */ lwz r4, 0(r3) -/* 803301FC 0032CDDC 38 04 00 01 */ addi r0, r4, 1 -/* 80330200 0032CDE0 90 03 00 00 */ stw r0, 0(r3) -/* 80330204 0032CDE4 88 84 00 00 */ lbz r4, 0(r4) -/* 80330208 0032CDE8 8C 06 00 01 */ lbzu r0, 1(r6) +/* 803301F8 0032CDD8 80 83 00 00 */ lwz r4, 0x0(r3) +/* 803301FC 0032CDDC 38 04 00 01 */ addi r0, r4, 0x1 +/* 80330200 0032CDE0 90 03 00 00 */ stw r0, 0x0(r3) +/* 80330204 0032CDE4 88 84 00 00 */ lbz r4, 0x0(r4) +/* 80330208 0032CDE8 8C 06 00 01 */ lbzu r0, 0x1(r6) /* 8033020C 0032CDEC 7C 04 00 40 */ cmplw r4, r0 /* 80330210 0032CDF0 41 82 00 0C */ beq .L_8033021C -/* 80330214 0032CDF4 38 60 00 03 */ li r3, 3 +/* 80330214 0032CDF4 38 60 00 03 */ li r3, 0x3 /* 80330218 0032CDF8 48 00 00 CC */ b .L_803302E4 .L_8033021C: -/* 8033021C 0032CDFC 80 83 00 00 */ lwz r4, 0(r3) -/* 80330220 0032CE00 38 04 00 01 */ addi r0, r4, 1 -/* 80330224 0032CE04 90 03 00 00 */ stw r0, 0(r3) -/* 80330228 0032CE08 88 84 00 00 */ lbz r4, 0(r4) -/* 8033022C 0032CE0C 88 06 00 01 */ lbz r0, 1(r6) +/* 8033021C 0032CDFC 80 83 00 00 */ lwz r4, 0x0(r3) +/* 80330220 0032CE00 38 04 00 01 */ addi r0, r4, 0x1 +/* 80330224 0032CE04 90 03 00 00 */ stw r0, 0x0(r3) +/* 80330228 0032CE08 88 84 00 00 */ lbz r4, 0x0(r4) +/* 8033022C 0032CE0C 88 06 00 01 */ lbz r0, 0x1(r6) /* 80330230 0032CE10 7C 04 00 40 */ cmplw r4, r0 /* 80330234 0032CE14 41 82 00 0C */ beq .L_80330240 -/* 80330238 0032CE18 38 60 00 03 */ li r3, 3 +/* 80330238 0032CE18 38 60 00 03 */ li r3, 0x3 /* 8033023C 0032CE1C 48 00 00 A8 */ b .L_803302E4 .L_80330240: -/* 80330240 0032CE20 80 83 00 00 */ lwz r4, 0(r3) -/* 80330244 0032CE24 38 04 00 02 */ addi r0, r4, 2 -/* 80330248 0032CE28 90 03 00 00 */ stw r0, 0(r3) -/* 8033024C 0032CE2C 80 83 00 00 */ lwz r4, 0(r3) -/* 80330250 0032CE30 38 04 00 01 */ addi r0, r4, 1 -/* 80330254 0032CE34 90 03 00 00 */ stw r0, 0(r3) -/* 80330258 0032CE38 80 83 00 00 */ lwz r4, 0(r3) -/* 8033025C 0032CE3C 38 04 00 01 */ addi r0, r4, 1 -/* 80330260 0032CE40 90 03 00 00 */ stw r0, 0(r3) -/* 80330264 0032CE44 80 83 00 00 */ lwz r4, 0(r3) -/* 80330268 0032CE48 38 04 00 01 */ addi r0, r4, 1 -/* 8033026C 0032CE4C 90 03 00 00 */ stw r0, 0(r3) -/* 80330270 0032CE50 80 83 00 00 */ lwz r4, 0(r3) -/* 80330274 0032CE54 38 04 00 01 */ addi r0, r4, 1 -/* 80330278 0032CE58 90 03 00 00 */ stw r0, 0(r3) -/* 8033027C 0032CE5C 80 83 00 00 */ lwz r4, 0(r3) -/* 80330280 0032CE60 38 04 00 01 */ addi r0, r4, 1 -/* 80330284 0032CE64 90 03 00 00 */ stw r0, 0(r3) -/* 80330288 0032CE68 80 A3 00 00 */ lwz r5, 0(r3) -/* 8033028C 0032CE6C 38 05 00 01 */ addi r0, r5, 1 -/* 80330290 0032CE70 90 03 00 00 */ stw r0, 0(r3) -/* 80330294 0032CE74 80 83 00 00 */ lwz r4, 0(r3) -/* 80330298 0032CE78 88 A5 00 00 */ lbz r5, 0(r5) -/* 8033029C 0032CE7C 38 04 00 01 */ addi r0, r4, 1 -/* 803302A0 0032CE80 90 03 00 00 */ stw r0, 0(r3) -/* 803302A4 0032CE84 28 05 00 00 */ cmplwi r5, 0 -/* 803302A8 0032CE88 88 04 00 00 */ lbz r0, 0(r4) +/* 80330240 0032CE20 80 83 00 00 */ lwz r4, 0x0(r3) +/* 80330244 0032CE24 38 04 00 02 */ addi r0, r4, 0x2 +/* 80330248 0032CE28 90 03 00 00 */ stw r0, 0x0(r3) +/* 8033024C 0032CE2C 80 83 00 00 */ lwz r4, 0x0(r3) +/* 80330250 0032CE30 38 04 00 01 */ addi r0, r4, 0x1 +/* 80330254 0032CE34 90 03 00 00 */ stw r0, 0x0(r3) +/* 80330258 0032CE38 80 83 00 00 */ lwz r4, 0x0(r3) +/* 8033025C 0032CE3C 38 04 00 01 */ addi r0, r4, 0x1 +/* 80330260 0032CE40 90 03 00 00 */ stw r0, 0x0(r3) +/* 80330264 0032CE44 80 83 00 00 */ lwz r4, 0x0(r3) +/* 80330268 0032CE48 38 04 00 01 */ addi r0, r4, 0x1 +/* 8033026C 0032CE4C 90 03 00 00 */ stw r0, 0x0(r3) +/* 80330270 0032CE50 80 83 00 00 */ lwz r4, 0x0(r3) +/* 80330274 0032CE54 38 04 00 01 */ addi r0, r4, 0x1 +/* 80330278 0032CE58 90 03 00 00 */ stw r0, 0x0(r3) +/* 8033027C 0032CE5C 80 83 00 00 */ lwz r4, 0x0(r3) +/* 80330280 0032CE60 38 04 00 01 */ addi r0, r4, 0x1 +/* 80330284 0032CE64 90 03 00 00 */ stw r0, 0x0(r3) +/* 80330288 0032CE68 80 A3 00 00 */ lwz r5, 0x0(r3) +/* 8033028C 0032CE6C 38 05 00 01 */ addi r0, r5, 0x1 +/* 80330290 0032CE70 90 03 00 00 */ stw r0, 0x0(r3) +/* 80330294 0032CE74 80 83 00 00 */ lwz r4, 0x0(r3) +/* 80330298 0032CE78 88 A5 00 00 */ lbz r5, 0x0(r5) +/* 8033029C 0032CE7C 38 04 00 01 */ addi r0, r4, 0x1 +/* 803302A0 0032CE80 90 03 00 00 */ stw r0, 0x0(r3) +/* 803302A4 0032CE84 28 05 00 00 */ cmplwi r5, 0x0 +/* 803302A8 0032CE88 88 04 00 00 */ lbz r0, 0x0(r4) /* 803302AC 0032CE8C 40 82 00 0C */ bne .L_803302B8 -/* 803302B0 0032CE90 28 00 00 00 */ cmplwi r0, 0 +/* 803302B0 0032CE90 28 00 00 00 */ cmplwi r0, 0x0 /* 803302B4 0032CE94 41 82 00 0C */ beq .L_803302C0 .L_803302B8: -/* 803302B8 0032CE98 38 60 00 07 */ li r3, 7 +/* 803302B8 0032CE98 38 60 00 07 */ li r3, 0x7 /* 803302BC 0032CE9C 48 00 00 28 */ b .L_803302E4 .L_803302C0: /* 803302C0 0032CEA0 80 83 00 0C */ lwz r4, 0xc(r3) -/* 803302C4 0032CEA4 38 A7 00 04 */ addi r5, r7, 4 -/* 803302C8 0032CEA8 80 03 00 00 */ lwz r0, 0(r3) +/* 803302C4 0032CEA4 38 A7 00 04 */ addi r5, r7, 0x4 +/* 803302C8 0032CEA8 80 03 00 00 */ lwz r0, 0x0(r3) /* 803302CC 0032CEAC 7C 04 00 50 */ subf r0, r4, r0 /* 803302D0 0032CEB0 7C 05 00 40 */ cmplw r5, r0 /* 803302D4 0032CEB4 41 82 00 0C */ beq .L_803302E0 -/* 803302D8 0032CEB8 38 60 00 08 */ li r3, 8 +/* 803302D8 0032CEB8 38 60 00 08 */ li r3, 0x8 /* 803302DC 0032CEBC 48 00 00 08 */ b .L_803302E4 .L_803302E0: -/* 803302E0 0032CEC0 38 60 00 00 */ li r3, 0 +/* 803302E0 0032CEC0 38 60 00 00 */ li r3, 0x0 .L_803302E4: /* 803302E4 0032CEC4 38 21 00 20 */ addi r1, r1, 0x20 /* 803302E8 0032CEC8 4E 80 00 20 */ blr +.endfn THPDec_80330158 -.global THPDec_803302EC -THPDec_803302EC: -/* 803302EC 0032CECC 80 A3 00 00 */ lwz r5, 0(r3) -/* 803302F0 0032CED0 38 C0 00 00 */ li r6, 0 -/* 803302F4 0032CED4 88 85 00 00 */ lbz r4, 0(r5) -/* 803302F8 0032CED8 88 05 00 01 */ lbz r0, 1(r5) -/* 803302FC 0032CEDC 50 80 44 2E */ rlwimi r0, r4, 8, 0x10, 0x17 -/* 80330300 0032CEE0 54 05 04 3E */ clrlwi r5, r0, 0x10 -/* 80330304 0032CEE4 28 05 00 00 */ cmplwi r5, 0 +# .text:0xCBC | 0x803302EC | size: 0xD8 +.fn THPDec_803302EC, local +/* 803302EC 0032CECC 80 A3 00 00 */ lwz r5, 0x0(r3) +/* 803302F0 0032CED0 38 C0 00 00 */ li r6, 0x0 +/* 803302F4 0032CED4 88 85 00 00 */ lbz r4, 0x0(r5) +/* 803302F8 0032CED8 88 05 00 01 */ lbz r0, 0x1(r5) +/* 803302FC 0032CEDC 50 80 44 2E */ rlwimi r0, r4, 8, 16, 23 +/* 80330300 0032CEE0 54 05 04 3E */ clrlwi r5, r0, 16 +/* 80330304 0032CEE4 28 05 00 00 */ cmplwi r5, 0x0 /* 80330308 0032CEE8 40 81 00 AC */ ble .L_803303B4 -/* 8033030C 0032CEEC 28 05 00 08 */ cmplwi r5, 8 -/* 80330310 0032CEF0 38 85 FF F8 */ addi r4, r5, -8 +/* 8033030C 0032CEEC 28 05 00 08 */ cmplwi r5, 0x8 +/* 80330310 0032CEF0 38 85 FF F8 */ subi r4, r5, 0x8 /* 80330314 0032CEF4 40 81 00 80 */ ble .L_80330394 -/* 80330318 0032CEF8 38 04 00 07 */ addi r0, r4, 7 +/* 80330318 0032CEF8 38 04 00 07 */ addi r0, r4, 0x7 /* 8033031C 0032CEFC 54 00 E8 FE */ srwi r0, r0, 3 -/* 80330320 0032CF00 28 04 00 00 */ cmplwi r4, 0 +/* 80330320 0032CF00 28 04 00 00 */ cmplwi r4, 0x0 /* 80330324 0032CF04 7C 09 03 A6 */ mtctr r0 /* 80330328 0032CF08 40 81 00 6C */ ble .L_80330394 .L_8033032C: -/* 8033032C 0032CF0C 80 83 00 00 */ lwz r4, 0(r3) -/* 80330330 0032CF10 38 C6 00 08 */ addi r6, r6, 8 -/* 80330334 0032CF14 38 04 00 01 */ addi r0, r4, 1 -/* 80330338 0032CF18 90 03 00 00 */ stw r0, 0(r3) -/* 8033033C 0032CF1C 80 83 00 00 */ lwz r4, 0(r3) -/* 80330340 0032CF20 38 04 00 01 */ addi r0, r4, 1 -/* 80330344 0032CF24 90 03 00 00 */ stw r0, 0(r3) -/* 80330348 0032CF28 80 83 00 00 */ lwz r4, 0(r3) -/* 8033034C 0032CF2C 38 04 00 01 */ addi r0, r4, 1 -/* 80330350 0032CF30 90 03 00 00 */ stw r0, 0(r3) -/* 80330354 0032CF34 80 83 00 00 */ lwz r4, 0(r3) -/* 80330358 0032CF38 38 04 00 01 */ addi r0, r4, 1 -/* 8033035C 0032CF3C 90 03 00 00 */ stw r0, 0(r3) -/* 80330360 0032CF40 80 83 00 00 */ lwz r4, 0(r3) -/* 80330364 0032CF44 38 04 00 01 */ addi r0, r4, 1 -/* 80330368 0032CF48 90 03 00 00 */ stw r0, 0(r3) -/* 8033036C 0032CF4C 80 83 00 00 */ lwz r4, 0(r3) -/* 80330370 0032CF50 38 04 00 01 */ addi r0, r4, 1 -/* 80330374 0032CF54 90 03 00 00 */ stw r0, 0(r3) -/* 80330378 0032CF58 80 83 00 00 */ lwz r4, 0(r3) -/* 8033037C 0032CF5C 38 04 00 01 */ addi r0, r4, 1 -/* 80330380 0032CF60 90 03 00 00 */ stw r0, 0(r3) -/* 80330384 0032CF64 80 83 00 00 */ lwz r4, 0(r3) -/* 80330388 0032CF68 38 04 00 01 */ addi r0, r4, 1 -/* 8033038C 0032CF6C 90 03 00 00 */ stw r0, 0(r3) +/* 8033032C 0032CF0C 80 83 00 00 */ lwz r4, 0x0(r3) +/* 80330330 0032CF10 38 C6 00 08 */ addi r6, r6, 0x8 +/* 80330334 0032CF14 38 04 00 01 */ addi r0, r4, 0x1 +/* 80330338 0032CF18 90 03 00 00 */ stw r0, 0x0(r3) +/* 8033033C 0032CF1C 80 83 00 00 */ lwz r4, 0x0(r3) +/* 80330340 0032CF20 38 04 00 01 */ addi r0, r4, 0x1 +/* 80330344 0032CF24 90 03 00 00 */ stw r0, 0x0(r3) +/* 80330348 0032CF28 80 83 00 00 */ lwz r4, 0x0(r3) +/* 8033034C 0032CF2C 38 04 00 01 */ addi r0, r4, 0x1 +/* 80330350 0032CF30 90 03 00 00 */ stw r0, 0x0(r3) +/* 80330354 0032CF34 80 83 00 00 */ lwz r4, 0x0(r3) +/* 80330358 0032CF38 38 04 00 01 */ addi r0, r4, 0x1 +/* 8033035C 0032CF3C 90 03 00 00 */ stw r0, 0x0(r3) +/* 80330360 0032CF40 80 83 00 00 */ lwz r4, 0x0(r3) +/* 80330364 0032CF44 38 04 00 01 */ addi r0, r4, 0x1 +/* 80330368 0032CF48 90 03 00 00 */ stw r0, 0x0(r3) +/* 8033036C 0032CF4C 80 83 00 00 */ lwz r4, 0x0(r3) +/* 80330370 0032CF50 38 04 00 01 */ addi r0, r4, 0x1 +/* 80330374 0032CF54 90 03 00 00 */ stw r0, 0x0(r3) +/* 80330378 0032CF58 80 83 00 00 */ lwz r4, 0x0(r3) +/* 8033037C 0032CF5C 38 04 00 01 */ addi r0, r4, 0x1 +/* 80330380 0032CF60 90 03 00 00 */ stw r0, 0x0(r3) +/* 80330384 0032CF64 80 83 00 00 */ lwz r4, 0x0(r3) +/* 80330388 0032CF68 38 04 00 01 */ addi r0, r4, 0x1 +/* 8033038C 0032CF6C 90 03 00 00 */ stw r0, 0x0(r3) /* 80330390 0032CF70 42 00 FF 9C */ bdnz .L_8033032C .L_80330394: /* 80330394 0032CF74 7C 06 28 50 */ subf r0, r6, r5 @@ -966,92 +975,93 @@ THPDec_803302EC: /* 8033039C 0032CF7C 7C 09 03 A6 */ mtctr r0 /* 803303A0 0032CF80 40 80 00 14 */ bge .L_803303B4 .L_803303A4: -/* 803303A4 0032CF84 80 83 00 00 */ lwz r4, 0(r3) -/* 803303A8 0032CF88 38 04 00 01 */ addi r0, r4, 1 -/* 803303AC 0032CF8C 90 03 00 00 */ stw r0, 0(r3) +/* 803303A4 0032CF84 80 83 00 00 */ lwz r4, 0x0(r3) +/* 803303A8 0032CF88 38 04 00 01 */ addi r0, r4, 0x1 +/* 803303AC 0032CF8C 90 03 00 00 */ stw r0, 0x0(r3) /* 803303B0 0032CF90 42 00 FF F4 */ bdnz .L_803303A4 .L_803303B4: -/* 803303B4 0032CF94 38 60 00 00 */ li r3, 0 +/* 803303B4 0032CF94 38 60 00 00 */ li r3, 0x0 /* 803303B8 0032CF98 4E 80 00 20 */ blr /* 803303BC 0032CF9C 4B FF FF D8 */ b .L_80330394 /* 803303C0 0032CFA0 4E 80 00 20 */ blr +.endfn THPDec_803302EC -.global THPDec_803303C4 -THPDec_803303C4: -/* 803303C4 0032CFA4 80 83 00 00 */ lwz r4, 0(r3) -/* 803303C8 0032CFA8 38 04 00 02 */ addi r0, r4, 2 -/* 803303CC 0032CFAC 90 03 00 00 */ stw r0, 0(r3) -/* 803303D0 0032CFB0 80 83 00 00 */ lwz r4, 0(r3) -/* 803303D4 0032CFB4 38 04 00 01 */ addi r0, r4, 1 -/* 803303D8 0032CFB8 90 03 00 00 */ stw r0, 0(r3) -/* 803303DC 0032CFBC 88 04 00 00 */ lbz r0, 0(r4) -/* 803303E0 0032CFC0 28 00 00 08 */ cmplwi r0, 8 +# .text:0xD94 | 0x803303C4 | size: 0x208 +.fn THPDec_803303C4, local +/* 803303C4 0032CFA4 80 83 00 00 */ lwz r4, 0x0(r3) +/* 803303C8 0032CFA8 38 04 00 02 */ addi r0, r4, 0x2 +/* 803303CC 0032CFAC 90 03 00 00 */ stw r0, 0x0(r3) +/* 803303D0 0032CFB0 80 83 00 00 */ lwz r4, 0x0(r3) +/* 803303D4 0032CFB4 38 04 00 01 */ addi r0, r4, 0x1 +/* 803303D8 0032CFB8 90 03 00 00 */ stw r0, 0x0(r3) +/* 803303DC 0032CFBC 88 04 00 00 */ lbz r0, 0x0(r4) +/* 803303E0 0032CFC0 28 00 00 08 */ cmplwi r0, 0x8 /* 803303E4 0032CFC4 41 82 00 0C */ beq .L_803303F0 /* 803303E8 0032CFC8 38 60 00 0A */ li r3, 0xa /* 803303EC 0032CFCC 4E 80 00 20 */ blr .L_803303F0: -/* 803303F0 0032CFD0 80 A3 00 00 */ lwz r5, 0(r3) -/* 803303F4 0032CFD4 88 85 00 00 */ lbz r4, 0(r5) -/* 803303F8 0032CFD8 88 05 00 01 */ lbz r0, 1(r5) -/* 803303FC 0032CFDC 50 80 44 2E */ rlwimi r0, r4, 8, 0x10, 0x17 +/* 803303F0 0032CFD0 80 A3 00 00 */ lwz r5, 0x0(r3) +/* 803303F4 0032CFD4 88 85 00 00 */ lbz r4, 0x0(r5) +/* 803303F8 0032CFD8 88 05 00 01 */ lbz r0, 0x1(r5) +/* 803303FC 0032CFDC 50 80 44 2E */ rlwimi r0, r4, 8, 16, 23 /* 80330400 0032CFE0 B0 03 00 72 */ sth r0, 0x72(r3) -/* 80330404 0032CFE4 80 83 00 00 */ lwz r4, 0(r3) -/* 80330408 0032CFE8 38 04 00 02 */ addi r0, r4, 2 -/* 8033040C 0032CFEC 90 03 00 00 */ stw r0, 0(r3) -/* 80330410 0032CFF0 80 A3 00 00 */ lwz r5, 0(r3) -/* 80330414 0032CFF4 88 85 00 00 */ lbz r4, 0(r5) -/* 80330418 0032CFF8 88 05 00 01 */ lbz r0, 1(r5) -/* 8033041C 0032CFFC 50 80 44 2E */ rlwimi r0, r4, 8, 0x10, 0x17 +/* 80330404 0032CFE4 80 83 00 00 */ lwz r4, 0x0(r3) +/* 80330408 0032CFE8 38 04 00 02 */ addi r0, r4, 0x2 +/* 8033040C 0032CFEC 90 03 00 00 */ stw r0, 0x0(r3) +/* 80330410 0032CFF0 80 A3 00 00 */ lwz r5, 0x0(r3) +/* 80330414 0032CFF4 88 85 00 00 */ lbz r4, 0x0(r5) +/* 80330418 0032CFF8 88 05 00 01 */ lbz r0, 0x1(r5) +/* 8033041C 0032CFFC 50 80 44 2E */ rlwimi r0, r4, 8, 16, 23 /* 80330420 0032D000 B0 03 00 70 */ sth r0, 0x70(r3) -/* 80330424 0032D004 80 83 00 00 */ lwz r4, 0(r3) -/* 80330428 0032D008 38 04 00 02 */ addi r0, r4, 2 -/* 8033042C 0032D00C 90 03 00 00 */ stw r0, 0(r3) -/* 80330430 0032D010 80 83 00 00 */ lwz r4, 0(r3) -/* 80330434 0032D014 38 04 00 01 */ addi r0, r4, 1 -/* 80330438 0032D018 90 03 00 00 */ stw r0, 0(r3) -/* 8033043C 0032D01C 88 04 00 00 */ lbz r0, 0(r4) +/* 80330424 0032D004 80 83 00 00 */ lwz r4, 0x0(r3) +/* 80330428 0032D008 38 04 00 02 */ addi r0, r4, 0x2 +/* 8033042C 0032D00C 90 03 00 00 */ stw r0, 0x0(r3) +/* 80330430 0032D010 80 83 00 00 */ lwz r4, 0x0(r3) +/* 80330434 0032D014 38 04 00 01 */ addi r0, r4, 0x1 +/* 80330438 0032D018 90 03 00 00 */ stw r0, 0x0(r3) +/* 8033043C 0032D01C 88 04 00 00 */ lbz r0, 0x0(r4) /* 80330440 0032D020 98 03 00 7C */ stb r0, 0x7c(r3) /* 80330444 0032D024 88 03 00 7C */ lbz r0, 0x7c(r3) -/* 80330448 0032D028 28 00 00 03 */ cmplwi r0, 3 +/* 80330448 0032D028 28 00 00 03 */ cmplwi r0, 0x3 /* 8033044C 0032D02C 41 82 00 14 */ beq .L_80330460 -/* 80330450 0032D030 28 00 00 01 */ cmplwi r0, 1 +/* 80330450 0032D030 28 00 00 01 */ cmplwi r0, 0x1 /* 80330454 0032D034 41 82 00 0C */ beq .L_80330460 /* 80330458 0032D038 38 60 00 0C */ li r3, 0xc /* 8033045C 0032D03C 4E 80 00 20 */ blr .L_80330460: -/* 80330460 0032D040 38 A3 00 00 */ addi r5, r3, 0 -/* 80330464 0032D044 38 C0 00 00 */ li r6, 0 +/* 80330460 0032D040 38 A3 00 00 */ addi r5, r3, 0x0 +/* 80330464 0032D044 38 C0 00 00 */ li r6, 0x0 /* 80330468 0032D048 48 00 00 54 */ b .L_803304BC .L_8033046C: -/* 8033046C 0032D04C 80 83 00 00 */ lwz r4, 0(r3) -/* 80330470 0032D050 38 C6 00 01 */ addi r6, r6, 1 -/* 80330474 0032D054 38 04 00 01 */ addi r0, r4, 1 -/* 80330478 0032D058 90 03 00 00 */ stw r0, 0(r3) -/* 8033047C 0032D05C 88 04 00 00 */ lbz r0, 0(r4) +/* 8033046C 0032D04C 80 83 00 00 */ lwz r4, 0x0(r3) +/* 80330470 0032D050 38 C6 00 01 */ addi r6, r6, 0x1 +/* 80330474 0032D054 38 04 00 01 */ addi r0, r4, 0x1 +/* 80330478 0032D058 90 03 00 00 */ stw r0, 0x0(r3) +/* 8033047C 0032D05C 88 04 00 00 */ lbz r0, 0x0(r4) /* 80330480 0032D060 98 05 08 38 */ stb r0, 0x838(r5) -/* 80330484 0032D064 80 83 00 00 */ lwz r4, 0(r3) -/* 80330488 0032D068 38 04 00 01 */ addi r0, r4, 1 -/* 8033048C 0032D06C 90 03 00 00 */ stw r0, 0(r3) -/* 80330490 0032D070 88 84 00 00 */ lbz r4, 0(r4) +/* 80330484 0032D064 80 83 00 00 */ lwz r4, 0x0(r3) +/* 80330488 0032D068 38 04 00 01 */ addi r0, r4, 0x1 +/* 8033048C 0032D06C 90 03 00 00 */ stw r0, 0x0(r3) +/* 80330490 0032D070 88 84 00 00 */ lbz r4, 0x0(r4) /* 80330494 0032D074 7C 80 26 70 */ srawi r0, r4, 4 /* 80330498 0032D078 98 05 08 39 */ stb r0, 0x839(r5) -/* 8033049C 0032D07C 54 80 07 3E */ clrlwi r0, r4, 0x1c +/* 8033049C 0032D07C 54 80 07 3E */ clrlwi r0, r4, 28 /* 803304A0 0032D080 98 05 08 3A */ stb r0, 0x83a(r5) -/* 803304A4 0032D084 80 83 00 00 */ lwz r4, 0(r3) -/* 803304A8 0032D088 38 04 00 01 */ addi r0, r4, 1 -/* 803304AC 0032D08C 90 03 00 00 */ stw r0, 0(r3) -/* 803304B0 0032D090 88 04 00 00 */ lbz r0, 0(r4) +/* 803304A4 0032D084 80 83 00 00 */ lwz r4, 0x0(r3) +/* 803304A8 0032D088 38 04 00 01 */ addi r0, r4, 0x1 +/* 803304AC 0032D08C 90 03 00 00 */ stw r0, 0x0(r3) +/* 803304B0 0032D090 88 04 00 00 */ lbz r0, 0x0(r4) /* 803304B4 0032D094 98 05 08 3B */ stb r0, 0x83b(r5) /* 803304B8 0032D098 38 A5 00 2C */ addi r5, r5, 0x2c .L_803304BC: /* 803304BC 0032D09C 88 03 00 7C */ lbz r0, 0x7c(r3) -/* 803304C0 0032D0A0 54 C4 06 3E */ clrlwi r4, r6, 0x18 +/* 803304C0 0032D0A0 54 C4 06 3E */ clrlwi r4, r6, 24 /* 803304C4 0032D0A4 7C 04 00 40 */ cmplw r4, r0 /* 803304C8 0032D0A8 41 80 FF A4 */ blt .L_8033046C -/* 803304CC 0032D0AC 38 00 00 01 */ li r0, 1 +/* 803304CC 0032D0AC 38 00 00 01 */ li r0, 0x1 /* 803304D0 0032D0B0 98 03 00 7A */ stb r0, 0x7a(r3) -/* 803304D4 0032D0B4 38 A3 00 00 */ addi r5, r3, 0 -/* 803304D8 0032D0B8 38 C0 00 00 */ li r6, 0 +/* 803304D4 0032D0B4 38 A3 00 00 */ addi r5, r3, 0x0 +/* 803304D8 0032D0B8 38 C0 00 00 */ li r6, 0x0 /* 803304DC 0032D0BC 98 03 00 7B */ stb r0, 0x7b(r3) /* 803304E0 0032D0C0 48 00 00 48 */ b .L_80330528 .L_803304E4: @@ -1062,11 +1072,11 @@ THPDec_803303C4: /* 803304F4 0032D0D4 40 81 00 08 */ ble .L_803304FC /* 803304F8 0032D0D8 48 00 00 08 */ b .L_80330500 .L_803304FC: -/* 803304FC 0032D0DC 88 87 00 01 */ lbz r4, 1(r7) +/* 803304FC 0032D0DC 88 87 00 01 */ lbz r4, 0x1(r7) .L_80330500: /* 80330500 0032D0E0 98 83 00 7A */ stb r4, 0x7a(r3) /* 80330504 0032D0E4 88 03 00 7B */ lbz r0, 0x7b(r3) -/* 80330508 0032D0E8 88 87 00 02 */ lbz r4, 2(r7) +/* 80330508 0032D0E8 88 87 00 02 */ lbz r4, 0x2(r7) /* 8033050C 0032D0EC 7C 00 20 40 */ cmplw r0, r4 /* 80330510 0032D0F0 40 81 00 08 */ ble .L_80330518 /* 80330514 0032D0F4 48 00 00 08 */ b .L_8033051C @@ -1075,33 +1085,33 @@ THPDec_803303C4: .L_8033051C: /* 8033051C 0032D0FC 98 03 00 7B */ stb r0, 0x7b(r3) /* 80330520 0032D100 38 A5 00 2C */ addi r5, r5, 0x2c -/* 80330524 0032D104 38 C6 00 01 */ addi r6, r6, 1 +/* 80330524 0032D104 38 C6 00 01 */ addi r6, r6, 0x1 .L_80330528: /* 80330528 0032D108 88 03 00 7C */ lbz r0, 0x7c(r3) -/* 8033052C 0032D10C 54 C4 06 3E */ clrlwi r4, r6, 0x18 +/* 8033052C 0032D10C 54 C4 06 3E */ clrlwi r4, r6, 24 /* 80330530 0032D110 7C 04 00 40 */ cmplw r4, r0 /* 80330534 0032D114 41 80 FF B0 */ blt .L_803304E4 /* 80330538 0032D118 88 03 00 7B */ lbz r0, 0x7b(r3) /* 8033053C 0032D11C 7C 66 1B 78 */ mr r6, r3 /* 80330540 0032D120 A1 03 00 72 */ lhz r8, 0x72(r3) -/* 80330544 0032D124 38 80 00 00 */ li r4, 0 +/* 80330544 0032D124 38 80 00 00 */ li r4, 0x0 /* 80330548 0032D128 54 07 18 38 */ slwi r7, r0, 3 /* 8033054C 0032D12C 7C A7 42 14 */ add r5, r7, r8 -/* 80330550 0032D130 38 05 FF FF */ addi r0, r5, -1 +/* 80330550 0032D130 38 05 FF FF */ subi r0, r5, 0x1 /* 80330554 0032D134 7C E0 3B D6 */ divw r7, r0, r7 /* 80330558 0032D138 7C A7 42 14 */ add r5, r7, r8 -/* 8033055C 0032D13C 38 05 FF FF */ addi r0, r5, -1 +/* 8033055C 0032D13C 38 05 FF FF */ subi r0, r5, 0x1 /* 80330560 0032D140 7C 00 3B D6 */ divw r0, r0, r7 /* 80330564 0032D144 B0 03 08 D4 */ sth r0, 0x8d4(r3) /* 80330568 0032D148 48 00 00 4C */ b .L_803305B4 .L_8033056C: /* 8033056C 0032D14C A0 A3 00 70 */ lhz r5, 0x70(r3) -/* 80330570 0032D150 38 84 00 01 */ addi r4, r4, 1 +/* 80330570 0032D150 38 84 00 01 */ addi r4, r4, 0x1 /* 80330574 0032D154 88 06 08 39 */ lbz r0, 0x839(r6) /* 80330578 0032D158 88 E3 00 7A */ lbz r7, 0x7a(r3) /* 8033057C 0032D15C 7C 05 01 D6 */ mullw r0, r5, r0 /* 80330580 0032D160 7C A7 02 14 */ add r5, r7, r0 -/* 80330584 0032D164 38 05 FF FF */ addi r0, r5, -1 +/* 80330584 0032D164 38 05 FF FF */ subi r0, r5, 0x1 /* 80330588 0032D168 7C 00 3B D6 */ divw r0, r0, r7 /* 8033058C 0032D16C 90 06 08 40 */ stw r0, 0x840(r6) /* 80330590 0032D170 A0 A3 00 72 */ lhz r5, 0x72(r3) @@ -1109,72 +1119,73 @@ THPDec_803303C4: /* 80330598 0032D178 88 E3 00 7B */ lbz r7, 0x7b(r3) /* 8033059C 0032D17C 7C 05 01 D6 */ mullw r0, r5, r0 /* 803305A0 0032D180 7C A7 02 14 */ add r5, r7, r0 -/* 803305A4 0032D184 38 05 FF FF */ addi r0, r5, -1 +/* 803305A4 0032D184 38 05 FF FF */ subi r0, r5, 0x1 /* 803305A8 0032D188 7C 00 3B D6 */ divw r0, r0, r7 /* 803305AC 0032D18C 90 06 08 44 */ stw r0, 0x844(r6) /* 803305B0 0032D190 38 C6 00 2C */ addi r6, r6, 0x2c .L_803305B4: /* 803305B4 0032D194 88 03 00 7C */ lbz r0, 0x7c(r3) -/* 803305B8 0032D198 54 85 06 3E */ clrlwi r5, r4, 0x18 +/* 803305B8 0032D198 54 85 06 3E */ clrlwi r5, r4, 24 /* 803305BC 0032D19C 7C 05 00 40 */ cmplw r5, r0 /* 803305C0 0032D1A0 41 80 FF AC */ blt .L_8033056C -/* 803305C4 0032D1A4 38 60 00 00 */ li r3, 0 +/* 803305C4 0032D1A4 38 60 00 00 */ li r3, 0x0 /* 803305C8 0032D1A8 4E 80 00 20 */ blr +.endfn THPDec_803303C4 -.global THPDec_803305CC -THPDec_803305CC: +# .text:0xF9C | 0x803305CC | size: 0x3A4 +.fn THPDec_803305CC, local /* 803305CC 0032D1AC 94 21 FE 70 */ stwu r1, -0x190(r1) /* 803305D0 0032D1B0 3C 80 80 3C */ lis r4, __THPJpegNaturalOrder@ha /* 803305D4 0032D1B4 38 A4 94 10 */ addi r5, r4, __THPJpegNaturalOrder@l /* 803305D8 0032D1B8 BE A1 01 64 */ stmw r21, 0x164(r1) -/* 803305DC 0032D1BC 80 E3 00 00 */ lwz r7, 0(r3) -/* 803305E0 0032D1C0 88 C7 00 00 */ lbz r6, 0(r7) -/* 803305E4 0032D1C4 38 07 00 02 */ addi r0, r7, 2 -/* 803305E8 0032D1C8 88 87 00 01 */ lbz r4, 1(r7) +/* 803305DC 0032D1BC 80 E3 00 00 */ lwz r7, 0x0(r3) +/* 803305E0 0032D1C0 88 C7 00 00 */ lbz r6, 0x0(r7) +/* 803305E4 0032D1C4 38 07 00 02 */ addi r0, r7, 0x2 +/* 803305E8 0032D1C8 88 87 00 01 */ lbz r4, 0x1(r7) /* 803305EC 0032D1CC 38 E5 00 50 */ addi r7, r5, 0x50 -/* 803305F0 0032D1D0 50 C4 44 2E */ rlwimi r4, r6, 8, 0x10, 0x17 -/* 803305F4 0032D1D4 90 03 00 00 */ stw r0, 0(r3) -/* 803305F8 0032D1D8 54 88 04 3E */ clrlwi r8, r4, 0x10 +/* 803305F0 0032D1D0 50 C4 44 2E */ rlwimi r4, r6, 8, 16, 23 +/* 803305F4 0032D1D4 90 03 00 00 */ stw r0, 0x0(r3) +/* 803305F8 0032D1D8 54 88 04 3E */ clrlwi r8, r4, 16 /* 803305FC 0032D1DC 38 81 00 18 */ addi r4, r1, 0x18 -/* 80330600 0032D1E0 C8 02 E8 00 */ lfd f0, THPDec_804DE1E0@sda21(r2) +/* 80330600 0032D1E0 C8 02 E8 00 */ lfd f0, THPDec_804DE1E0@sda21(r0) /* 80330604 0032D1E4 3C 00 43 30 */ lis r0, 0x4330 -/* 80330608 0032D1E8 39 08 FF FE */ addi r8, r8, -2 +/* 80330608 0032D1E8 39 08 FF FE */ subi r8, r8, 0x2 .L_8033060C: -/* 8033060C 0032D1EC 81 63 00 00 */ lwz r11, 0(r3) -/* 80330610 0032D1F0 38 C5 00 00 */ addi r6, r5, 0 -/* 80330614 0032D1F4 39 40 00 00 */ li r10, 0 -/* 80330618 0032D1F8 39 2B 00 01 */ addi r9, r11, 1 -/* 8033061C 0032D1FC 91 23 00 00 */ stw r9, 0(r3) -/* 80330620 0032D200 89 2B 00 00 */ lbz r9, 0(r11) +/* 8033060C 0032D1EC 81 63 00 00 */ lwz r11, 0x0(r3) +/* 80330610 0032D1F0 38 C5 00 00 */ addi r6, r5, 0x0 +/* 80330614 0032D1F4 39 40 00 00 */ li r10, 0x0 +/* 80330618 0032D1F8 39 2B 00 01 */ addi r9, r11, 0x1 +/* 8033061C 0032D1FC 91 23 00 00 */ stw r9, 0x0(r3) +/* 80330620 0032D200 89 2B 00 00 */ lbz r9, 0x0(r11) /* 80330624 0032D204 48 00 01 A4 */ b .L_803307C8 .L_80330628: -/* 80330628 0032D208 81 83 00 00 */ lwz r12, 0(r3) -/* 8033062C 0032D20C 3B 6A 00 01 */ addi r27, r10, 1 -/* 80330630 0032D210 3B 8A 00 02 */ addi r28, r10, 2 -/* 80330634 0032D214 39 6C 00 01 */ addi r11, r12, 1 -/* 80330638 0032D218 91 63 00 00 */ stw r11, 0(r3) -/* 8033063C 0032D21C 3B CA 00 03 */ addi r30, r10, 3 -/* 80330640 0032D220 3B AA 00 04 */ addi r29, r10, 4 -/* 80330644 0032D224 8B EC 00 00 */ lbz r31, 0(r12) -/* 80330648 0032D228 39 8A 00 05 */ addi r12, r10, 5 -/* 8033064C 0032D22C 8B 46 00 00 */ lbz r26, 0(r6) -/* 80330650 0032D230 39 6A 00 06 */ addi r11, r10, 6 +/* 80330628 0032D208 81 83 00 00 */ lwz r12, 0x0(r3) +/* 8033062C 0032D20C 3B 6A 00 01 */ addi r27, r10, 0x1 +/* 80330630 0032D210 3B 8A 00 02 */ addi r28, r10, 0x2 +/* 80330634 0032D214 39 6C 00 01 */ addi r11, r12, 0x1 +/* 80330638 0032D218 91 63 00 00 */ stw r11, 0x0(r3) +/* 8033063C 0032D21C 3B CA 00 03 */ addi r30, r10, 0x3 +/* 80330640 0032D220 3B AA 00 04 */ addi r29, r10, 0x4 +/* 80330644 0032D224 8B EC 00 00 */ lbz r31, 0x0(r12) +/* 80330648 0032D228 39 8A 00 05 */ addi r12, r10, 0x5 +/* 8033064C 0032D22C 8B 46 00 00 */ lbz r26, 0x0(r6) +/* 80330650 0032D230 39 6A 00 06 */ addi r11, r10, 0x6 /* 80330654 0032D234 93 E1 01 5C */ stw r31, 0x15c(r1) /* 80330658 0032D238 57 5A 10 3A */ slwi r26, r26, 2 /* 8033065C 0032D23C 90 01 01 58 */ stw r0, 0x158(r1) -/* 80330660 0032D240 57 7B 04 3E */ clrlwi r27, r27, 0x10 -/* 80330664 0032D244 57 9C 04 3E */ clrlwi r28, r28, 0x10 +/* 80330660 0032D240 57 7B 04 3E */ clrlwi r27, r27, 16 +/* 80330664 0032D244 57 9C 04 3E */ clrlwi r28, r28, 16 /* 80330668 0032D248 C8 21 01 58 */ lfd f1, 0x158(r1) -/* 8033066C 0032D24C 57 DE 04 3E */ clrlwi r30, r30, 0x10 -/* 80330670 0032D250 57 BD 04 3E */ clrlwi r29, r29, 0x10 +/* 8033066C 0032D24C 57 DE 04 3E */ clrlwi r30, r30, 16 +/* 80330670 0032D250 57 BD 04 3E */ clrlwi r29, r29, 16 /* 80330674 0032D254 EC 21 00 28 */ fsubs f1, f1, f0 -/* 80330678 0032D258 55 8C 04 3E */ clrlwi r12, r12, 0x10 -/* 8033067C 0032D25C 55 6B 04 3E */ clrlwi r11, r11, 0x10 +/* 80330678 0032D258 55 8C 04 3E */ clrlwi r12, r12, 16 +/* 8033067C 0032D25C 55 6B 04 3E */ clrlwi r11, r11, 16 /* 80330680 0032D260 7C 24 D5 2E */ stfsx f1, r4, r26 -/* 80330684 0032D264 83 43 00 00 */ lwz r26, 0(r3) -/* 80330688 0032D268 3B FA 00 01 */ addi r31, r26, 1 -/* 8033068C 0032D26C 93 E3 00 00 */ stw r31, 0(r3) -/* 80330690 0032D270 8B FA 00 00 */ lbz r31, 0(r26) +/* 80330684 0032D264 83 43 00 00 */ lwz r26, 0x0(r3) +/* 80330688 0032D268 3B FA 00 01 */ addi r31, r26, 0x1 +/* 8033068C 0032D26C 93 E3 00 00 */ stw r31, 0x0(r3) +/* 80330690 0032D270 8B FA 00 00 */ lbz r31, 0x0(r26) /* 80330694 0032D274 7F 65 D8 AE */ lbzx r27, r5, r27 /* 80330698 0032D278 93 E1 01 54 */ stw r31, 0x154(r1) /* 8033069C 0032D27C 57 7B 10 3A */ slwi r27, r27, 2 @@ -1182,10 +1193,10 @@ THPDec_803305CC: /* 803306A4 0032D284 C8 21 01 50 */ lfd f1, 0x150(r1) /* 803306A8 0032D288 EC 21 00 28 */ fsubs f1, f1, f0 /* 803306AC 0032D28C 7C 24 DD 2E */ stfsx f1, r4, r27 -/* 803306B0 0032D290 83 63 00 00 */ lwz r27, 0(r3) -/* 803306B4 0032D294 3B FB 00 01 */ addi r31, r27, 1 -/* 803306B8 0032D298 93 E3 00 00 */ stw r31, 0(r3) -/* 803306BC 0032D29C 8B FB 00 00 */ lbz r31, 0(r27) +/* 803306B0 0032D290 83 63 00 00 */ lwz r27, 0x0(r3) +/* 803306B4 0032D294 3B FB 00 01 */ addi r31, r27, 0x1 +/* 803306B8 0032D298 93 E3 00 00 */ stw r31, 0x0(r3) +/* 803306BC 0032D29C 8B FB 00 00 */ lbz r31, 0x0(r27) /* 803306C0 0032D2A0 7F 85 E0 AE */ lbzx r28, r5, r28 /* 803306C4 0032D2A4 93 E1 01 4C */ stw r31, 0x14c(r1) /* 803306C8 0032D2A8 57 9C 10 3A */ slwi r28, r28, 2 @@ -1193,10 +1204,10 @@ THPDec_803305CC: /* 803306D0 0032D2B0 C8 21 01 48 */ lfd f1, 0x148(r1) /* 803306D4 0032D2B4 EC 21 00 28 */ fsubs f1, f1, f0 /* 803306D8 0032D2B8 7C 24 E5 2E */ stfsx f1, r4, r28 -/* 803306DC 0032D2BC 83 83 00 00 */ lwz r28, 0(r3) -/* 803306E0 0032D2C0 3B FC 00 01 */ addi r31, r28, 1 -/* 803306E4 0032D2C4 93 E3 00 00 */ stw r31, 0(r3) -/* 803306E8 0032D2C8 8B FC 00 00 */ lbz r31, 0(r28) +/* 803306DC 0032D2BC 83 83 00 00 */ lwz r28, 0x0(r3) +/* 803306E0 0032D2C0 3B FC 00 01 */ addi r31, r28, 0x1 +/* 803306E4 0032D2C4 93 E3 00 00 */ stw r31, 0x0(r3) +/* 803306E8 0032D2C8 8B FC 00 00 */ lbz r31, 0x0(r28) /* 803306EC 0032D2CC 7F C5 F0 AE */ lbzx r30, r5, r30 /* 803306F0 0032D2D0 93 E1 01 44 */ stw r31, 0x144(r1) /* 803306F4 0032D2D4 57 DE 10 3A */ slwi r30, r30, 2 @@ -1204,10 +1215,10 @@ THPDec_803305CC: /* 803306FC 0032D2DC C8 21 01 40 */ lfd f1, 0x140(r1) /* 80330700 0032D2E0 EC 21 00 28 */ fsubs f1, f1, f0 /* 80330704 0032D2E4 7C 24 F5 2E */ stfsx f1, r4, r30 -/* 80330708 0032D2E8 83 E3 00 00 */ lwz r31, 0(r3) -/* 8033070C 0032D2EC 3B DF 00 01 */ addi r30, r31, 1 -/* 80330710 0032D2F0 93 C3 00 00 */ stw r30, 0(r3) -/* 80330714 0032D2F4 8B DF 00 00 */ lbz r30, 0(r31) +/* 80330708 0032D2E8 83 E3 00 00 */ lwz r31, 0x0(r3) +/* 8033070C 0032D2EC 3B DF 00 01 */ addi r30, r31, 0x1 +/* 80330710 0032D2F0 93 C3 00 00 */ stw r30, 0x0(r3) +/* 80330714 0032D2F4 8B DF 00 00 */ lbz r30, 0x0(r31) /* 80330718 0032D2F8 7F A5 E8 AE */ lbzx r29, r5, r29 /* 8033071C 0032D2FC 93 C1 01 3C */ stw r30, 0x13c(r1) /* 80330720 0032D300 57 BD 10 3A */ slwi r29, r29, 2 @@ -1215,10 +1226,10 @@ THPDec_803305CC: /* 80330728 0032D308 C8 21 01 38 */ lfd f1, 0x138(r1) /* 8033072C 0032D30C EC 21 00 28 */ fsubs f1, f1, f0 /* 80330730 0032D310 7C 24 ED 2E */ stfsx f1, r4, r29 -/* 80330734 0032D314 83 C3 00 00 */ lwz r30, 0(r3) -/* 80330738 0032D318 3B BE 00 01 */ addi r29, r30, 1 -/* 8033073C 0032D31C 93 A3 00 00 */ stw r29, 0(r3) -/* 80330740 0032D320 8B BE 00 00 */ lbz r29, 0(r30) +/* 80330734 0032D314 83 C3 00 00 */ lwz r30, 0x0(r3) +/* 80330738 0032D318 3B BE 00 01 */ addi r29, r30, 0x1 +/* 8033073C 0032D31C 93 A3 00 00 */ stw r29, 0x0(r3) +/* 80330740 0032D320 8B BE 00 00 */ lbz r29, 0x0(r30) /* 80330744 0032D324 7D 85 60 AE */ lbzx r12, r5, r12 /* 80330748 0032D328 93 A1 01 34 */ stw r29, 0x134(r1) /* 8033074C 0032D32C 55 8C 10 3A */ slwi r12, r12, 2 @@ -1226,10 +1237,10 @@ THPDec_803305CC: /* 80330754 0032D334 C8 21 01 30 */ lfd f1, 0x130(r1) /* 80330758 0032D338 EC 21 00 28 */ fsubs f1, f1, f0 /* 8033075C 0032D33C 7C 24 65 2E */ stfsx f1, r4, r12 -/* 80330760 0032D340 83 A3 00 00 */ lwz r29, 0(r3) -/* 80330764 0032D344 39 9D 00 01 */ addi r12, r29, 1 -/* 80330768 0032D348 91 83 00 00 */ stw r12, 0(r3) -/* 8033076C 0032D34C 89 9D 00 00 */ lbz r12, 0(r29) +/* 80330760 0032D340 83 A3 00 00 */ lwz r29, 0x0(r3) +/* 80330764 0032D344 39 9D 00 01 */ addi r12, r29, 0x1 +/* 80330768 0032D348 91 83 00 00 */ stw r12, 0x0(r3) +/* 8033076C 0032D34C 89 9D 00 00 */ lbz r12, 0x0(r29) /* 80330770 0032D350 7D 65 58 AE */ lbzx r11, r5, r11 /* 80330774 0032D354 91 81 01 2C */ stw r12, 0x12c(r1) /* 80330778 0032D358 55 6B 10 3A */ slwi r11, r11, 2 @@ -1237,14 +1248,14 @@ THPDec_803305CC: /* 80330780 0032D360 C8 21 01 28 */ lfd f1, 0x128(r1) /* 80330784 0032D364 EC 21 00 28 */ fsubs f1, f1, f0 /* 80330788 0032D368 7C 24 5D 2E */ stfsx f1, r4, r11 -/* 8033078C 0032D36C 83 A3 00 00 */ lwz r29, 0(r3) -/* 80330790 0032D370 39 6A 00 07 */ addi r11, r10, 7 -/* 80330794 0032D374 55 6B 04 3E */ clrlwi r11, r11, 0x10 -/* 80330798 0032D378 39 9D 00 01 */ addi r12, r29, 1 -/* 8033079C 0032D37C 91 83 00 00 */ stw r12, 0(r3) -/* 803307A0 0032D380 38 C6 00 08 */ addi r6, r6, 8 -/* 803307A4 0032D384 39 4A 00 08 */ addi r10, r10, 8 -/* 803307A8 0032D388 89 9D 00 00 */ lbz r12, 0(r29) +/* 8033078C 0032D36C 83 A3 00 00 */ lwz r29, 0x0(r3) +/* 80330790 0032D370 39 6A 00 07 */ addi r11, r10, 0x7 +/* 80330794 0032D374 55 6B 04 3E */ clrlwi r11, r11, 16 +/* 80330798 0032D378 39 9D 00 01 */ addi r12, r29, 0x1 +/* 8033079C 0032D37C 91 83 00 00 */ stw r12, 0x0(r3) +/* 803307A0 0032D380 38 C6 00 08 */ addi r6, r6, 0x8 +/* 803307A4 0032D384 39 4A 00 08 */ addi r10, r10, 0x8 +/* 803307A8 0032D388 89 9D 00 00 */ lbz r12, 0x0(r29) /* 803307AC 0032D38C 7D 65 58 AE */ lbzx r11, r5, r11 /* 803307B0 0032D390 91 81 01 24 */ stw r12, 0x124(r1) /* 803307B4 0032D394 55 6B 10 3A */ slwi r11, r11, 2 @@ -1253,97 +1264,97 @@ THPDec_803305CC: /* 803307C0 0032D3A0 EC 21 00 28 */ fsubs f1, f1, f0 /* 803307C4 0032D3A4 7C 24 5D 2E */ stfsx f1, r4, r11 .L_803307C8: -/* 803307C8 0032D3A8 55 4B 04 3E */ clrlwi r11, r10, 0x10 +/* 803307C8 0032D3A8 55 4B 04 3E */ clrlwi r11, r10, 16 /* 803307CC 0032D3AC 28 0B 00 40 */ cmplwi r11, 0x40 /* 803307D0 0032D3B0 41 80 FE 58 */ blt .L_80330628 -/* 803307D4 0032D3B4 38 C0 00 01 */ li r6, 1 +/* 803307D4 0032D3B4 38 C0 00 01 */ li r6, 0x1 /* 803307D8 0032D3B8 89 43 00 79 */ lbz r10, 0x79(r3) /* 803307DC 0032D3BC 7C C6 48 30 */ slw r6, r6, r9 /* 803307E0 0032D3C0 7D 4A 33 78 */ or r10, r10, r6 /* 803307E4 0032D3C4 55 26 40 2E */ slwi r6, r9, 8 /* 803307E8 0032D3C8 99 43 00 79 */ stb r10, 0x79(r3) -/* 803307EC 0032D3CC 3B 47 00 00 */ addi r26, r7, 0 +/* 803307EC 0032D3CC 3B 47 00 00 */ addi r26, r7, 0x0 /* 803307F0 0032D3D0 7F 63 32 14 */ add r27, r3, r6 -/* 803307F4 0032D3D4 38 C0 00 00 */ li r6, 0 -/* 803307F8 0032D3D8 39 20 00 00 */ li r9, 0 +/* 803307F4 0032D3D4 38 C0 00 00 */ li r6, 0x0 +/* 803307F8 0032D3D8 39 20 00 00 */ li r9, 0x0 /* 803307FC 0032D3DC 48 00 01 4C */ b .L_80330948 .L_80330800: -/* 80330800 0032D3E0 54 CB 13 BA */ rlwinm r11, r6, 2, 0xe, 0x1d -/* 80330804 0032D3E4 C8 3A 00 00 */ lfd f1, 0(r26) +/* 80330800 0032D3E0 54 CB 13 BA */ clrlslwi r11, r6, 16, 2 +/* 80330804 0032D3E4 C8 3A 00 00 */ lfd f1, 0x0(r26) /* 80330808 0032D3E8 7C 44 5C 2E */ lfsx f2, r4, r11 -/* 8033080C 0032D3EC 39 46 00 01 */ addi r10, r6, 1 -/* 80330810 0032D3F0 55 4C 13 BA */ rlwinm r12, r10, 2, 0xe, 0x1d -/* 80330814 0032D3F4 C8 67 00 00 */ lfd f3, 0(r7) +/* 8033080C 0032D3EC 39 46 00 01 */ addi r10, r6, 0x1 +/* 80330810 0032D3F0 55 4C 13 BA */ clrlslwi r12, r10, 16, 2 +/* 80330814 0032D3F4 C8 67 00 00 */ lfd f3, 0x0(r7) /* 80330818 0032D3F8 FC 22 00 72 */ fmul f1, f2, f1 -/* 8033081C 0032D3FC 39 46 00 02 */ addi r10, r6, 2 -/* 80330820 0032D400 55 5C 13 BA */ rlwinm r28, r10, 2, 0xe, 0x1d -/* 80330824 0032D404 39 46 00 03 */ addi r10, r6, 3 +/* 8033081C 0032D3FC 39 46 00 02 */ addi r10, r6, 0x2 +/* 80330820 0032D400 55 5C 13 BA */ clrlslwi r28, r10, 16, 2 +/* 80330824 0032D404 39 46 00 03 */ addi r10, r6, 0x3 /* 80330828 0032D408 FC 23 00 72 */ fmul f1, f3, f1 -/* 8033082C 0032D40C 55 59 13 BA */ rlwinm r25, r10, 2, 0xe, 0x1d -/* 80330830 0032D410 39 46 00 04 */ addi r10, r6, 4 -/* 80330834 0032D414 55 58 13 BA */ rlwinm r24, r10, 2, 0xe, 0x1d +/* 8033082C 0032D40C 55 59 13 BA */ clrlslwi r25, r10, 16, 2 +/* 80330830 0032D410 39 46 00 04 */ addi r10, r6, 0x4 +/* 80330834 0032D414 55 58 13 BA */ clrlslwi r24, r10, 16, 2 /* 80330838 0032D418 FC 20 08 18 */ frsp f1, f1 /* 8033083C 0032D41C 39 6B 04 38 */ addi r11, r11, 0x438 -/* 80330840 0032D420 39 46 00 05 */ addi r10, r6, 5 +/* 80330840 0032D420 39 46 00 05 */ addi r10, r6, 0x5 /* 80330844 0032D424 7C 3B 5D 2E */ stfsx f1, r27, r11 -/* 80330848 0032D428 55 57 13 BA */ rlwinm r23, r10, 2, 0xe, 0x1d -/* 8033084C 0032D42C 39 46 00 07 */ addi r10, r6, 7 +/* 80330848 0032D428 55 57 13 BA */ clrlslwi r23, r10, 16, 2 +/* 8033084C 0032D42C 39 46 00 07 */ addi r10, r6, 0x7 /* 80330850 0032D430 7C 44 64 2E */ lfsx f2, r4, r12 -/* 80330854 0032D434 39 66 00 06 */ addi r11, r6, 6 -/* 80330858 0032D438 C8 3A 00 00 */ lfd f1, 0(r26) -/* 8033085C 0032D43C 55 55 13 BA */ rlwinm r21, r10, 2, 0xe, 0x1d +/* 80330854 0032D434 39 66 00 06 */ addi r11, r6, 0x6 +/* 80330858 0032D438 C8 3A 00 00 */ lfd f1, 0x0(r26) +/* 8033085C 0032D43C 55 55 13 BA */ clrlslwi r21, r10, 16, 2 /* 80330860 0032D440 39 4C 04 38 */ addi r10, r12, 0x438 /* 80330864 0032D444 FC 22 00 72 */ fmul f1, f2, f1 -/* 80330868 0032D448 C8 67 00 08 */ lfd f3, 8(r7) -/* 8033086C 0032D44C 55 76 13 BA */ rlwinm r22, r11, 2, 0xe, 0x1d +/* 80330868 0032D448 C8 67 00 08 */ lfd f3, 0x8(r7) +/* 8033086C 0032D44C 55 76 13 BA */ clrlslwi r22, r11, 16, 2 /* 80330870 0032D450 3B BC 04 38 */ addi r29, r28, 0x438 /* 80330874 0032D454 3B D9 04 38 */ addi r30, r25, 0x438 /* 80330878 0032D458 FC 23 00 72 */ fmul f1, f3, f1 /* 8033087C 0032D45C 3B F8 04 38 */ addi r31, r24, 0x438 /* 80330880 0032D460 39 97 04 38 */ addi r12, r23, 0x438 /* 80330884 0032D464 39 76 04 38 */ addi r11, r22, 0x438 -/* 80330888 0032D468 38 C6 00 08 */ addi r6, r6, 8 +/* 80330888 0032D468 38 C6 00 08 */ addi r6, r6, 0x8 /* 8033088C 0032D46C FC 20 08 18 */ frsp f1, f1 -/* 80330890 0032D470 39 29 00 01 */ addi r9, r9, 1 +/* 80330890 0032D470 39 29 00 01 */ addi r9, r9, 0x1 /* 80330894 0032D474 7C 3B 55 2E */ stfsx f1, r27, r10 /* 80330898 0032D478 39 55 04 38 */ addi r10, r21, 0x438 /* 8033089C 0032D47C 7C 44 E4 2E */ lfsx f2, r4, r28 -/* 803308A0 0032D480 C8 3A 00 00 */ lfd f1, 0(r26) +/* 803308A0 0032D480 C8 3A 00 00 */ lfd f1, 0x0(r26) /* 803308A4 0032D484 C8 67 00 10 */ lfd f3, 0x10(r7) /* 803308A8 0032D488 FC 22 00 72 */ fmul f1, f2, f1 /* 803308AC 0032D48C FC 23 00 72 */ fmul f1, f3, f1 /* 803308B0 0032D490 FC 20 08 18 */ frsp f1, f1 /* 803308B4 0032D494 7C 3B ED 2E */ stfsx f1, r27, r29 /* 803308B8 0032D498 7C 44 CC 2E */ lfsx f2, r4, r25 -/* 803308BC 0032D49C C8 3A 00 00 */ lfd f1, 0(r26) +/* 803308BC 0032D49C C8 3A 00 00 */ lfd f1, 0x0(r26) /* 803308C0 0032D4A0 C8 67 00 18 */ lfd f3, 0x18(r7) /* 803308C4 0032D4A4 FC 22 00 72 */ fmul f1, f2, f1 /* 803308C8 0032D4A8 FC 23 00 72 */ fmul f1, f3, f1 /* 803308CC 0032D4AC FC 20 08 18 */ frsp f1, f1 /* 803308D0 0032D4B0 7C 3B F5 2E */ stfsx f1, r27, r30 /* 803308D4 0032D4B4 7C 44 C4 2E */ lfsx f2, r4, r24 -/* 803308D8 0032D4B8 C8 3A 00 00 */ lfd f1, 0(r26) +/* 803308D8 0032D4B8 C8 3A 00 00 */ lfd f1, 0x0(r26) /* 803308DC 0032D4BC C8 67 00 20 */ lfd f3, 0x20(r7) /* 803308E0 0032D4C0 FC 22 00 72 */ fmul f1, f2, f1 /* 803308E4 0032D4C4 FC 23 00 72 */ fmul f1, f3, f1 /* 803308E8 0032D4C8 FC 20 08 18 */ frsp f1, f1 /* 803308EC 0032D4CC 7C 3B FD 2E */ stfsx f1, r27, r31 /* 803308F0 0032D4D0 7C 44 BC 2E */ lfsx f2, r4, r23 -/* 803308F4 0032D4D4 C8 3A 00 00 */ lfd f1, 0(r26) +/* 803308F4 0032D4D4 C8 3A 00 00 */ lfd f1, 0x0(r26) /* 803308F8 0032D4D8 C8 67 00 28 */ lfd f3, 0x28(r7) /* 803308FC 0032D4DC FC 22 00 72 */ fmul f1, f2, f1 /* 80330900 0032D4E0 FC 23 00 72 */ fmul f1, f3, f1 /* 80330904 0032D4E4 FC 20 08 18 */ frsp f1, f1 /* 80330908 0032D4E8 7C 3B 65 2E */ stfsx f1, r27, r12 /* 8033090C 0032D4EC 7C 44 B4 2E */ lfsx f2, r4, r22 -/* 80330910 0032D4F0 C8 3A 00 00 */ lfd f1, 0(r26) +/* 80330910 0032D4F0 C8 3A 00 00 */ lfd f1, 0x0(r26) /* 80330914 0032D4F4 C8 67 00 30 */ lfd f3, 0x30(r7) /* 80330918 0032D4F8 FC 22 00 72 */ fmul f1, f2, f1 /* 8033091C 0032D4FC FC 23 00 72 */ fmul f1, f3, f1 /* 80330920 0032D500 FC 20 08 18 */ frsp f1, f1 /* 80330924 0032D504 7C 3B 5D 2E */ stfsx f1, r27, r11 -/* 80330928 0032D508 C8 3A 00 00 */ lfd f1, 0(r26) -/* 8033092C 0032D50C 3B 5A 00 08 */ addi r26, r26, 8 +/* 80330928 0032D508 C8 3A 00 00 */ lfd f1, 0x0(r26) +/* 8033092C 0032D50C 3B 5A 00 08 */ addi r26, r26, 0x8 /* 80330930 0032D510 7C 44 AC 2E */ lfsx f2, r4, r21 /* 80330934 0032D514 C8 67 00 38 */ lfd f3, 0x38(r7) /* 80330938 0032D518 FC 22 00 72 */ fmul f1, f2, f1 @@ -1351,132 +1362,133 @@ THPDec_803305CC: /* 80330940 0032D520 FC 20 08 18 */ frsp f1, f1 /* 80330944 0032D524 7C 3B 55 2E */ stfsx f1, r27, r10 .L_80330948: -/* 80330948 0032D528 55 2A 04 3E */ clrlwi r10, r9, 0x10 -/* 8033094C 0032D52C 28 0A 00 08 */ cmplwi r10, 8 +/* 80330948 0032D528 55 2A 04 3E */ clrlwi r10, r9, 16 +/* 8033094C 0032D52C 28 0A 00 08 */ cmplwi r10, 0x8 /* 80330950 0032D530 41 80 FE B0 */ blt .L_80330800 -/* 80330954 0032D534 39 08 FF BF */ addi r8, r8, -65 -/* 80330958 0032D538 55 06 04 3F */ clrlwi. r6, r8, 0x10 +/* 80330954 0032D534 39 08 FF BF */ subi r8, r8, 0x41 +/* 80330958 0032D538 55 06 04 3F */ clrlwi. r6, r8, 16 /* 8033095C 0032D53C 40 82 FC B0 */ bne .L_8033060C /* 80330960 0032D540 BA A1 01 64 */ lmw r21, 0x164(r1) -/* 80330964 0032D544 38 60 00 00 */ li r3, 0 +/* 80330964 0032D544 38 60 00 00 */ li r3, 0x0 /* 80330968 0032D548 38 21 01 90 */ addi r1, r1, 0x190 /* 8033096C 0032D54C 4E 80 00 20 */ blr +.endfn THPDec_803305CC -.global THPDec_80330970 -THPDec_80330970: +# .text:0x1340 | 0x80330970 | size: 0x1D0 +.fn THPDec_80330970, local /* 80330970 0032D550 7C 08 02 A6 */ mflr r0 -/* 80330974 0032D554 90 01 00 04 */ stw r0, 4(r1) +/* 80330974 0032D554 90 01 00 04 */ stw r0, 0x4(r1) /* 80330978 0032D558 94 21 FF D8 */ stwu r1, -0x28(r1) /* 8033097C 0032D55C 93 E1 00 24 */ stw r31, 0x24(r1) /* 80330980 0032D560 93 C1 00 20 */ stw r30, 0x20(r1) /* 80330984 0032D564 93 A1 00 1C */ stw r29, 0x1c(r1) /* 80330988 0032D568 93 81 00 18 */ stw r28, 0x18(r1) /* 8033098C 0032D56C 7C 7C 1B 78 */ mr r28, r3 -/* 80330990 0032D570 80 63 00 00 */ lwz r3, 0(r3) -/* 80330994 0032D574 88 83 00 00 */ lbz r4, 0(r3) -/* 80330998 0032D578 38 03 00 02 */ addi r0, r3, 2 -/* 8033099C 0032D57C 88 63 00 01 */ lbz r3, 1(r3) -/* 803309A0 0032D580 50 83 44 2E */ rlwimi r3, r4, 8, 0x10, 0x17 -/* 803309A4 0032D584 54 7E 04 3E */ clrlwi r30, r3, 0x10 -/* 803309A8 0032D588 90 1C 00 00 */ stw r0, 0(r28) -/* 803309AC 0032D58C 3B DE FF FE */ addi r30, r30, -2 +/* 80330990 0032D570 80 63 00 00 */ lwz r3, 0x0(r3) +/* 80330994 0032D574 88 83 00 00 */ lbz r4, 0x0(r3) +/* 80330998 0032D578 38 03 00 02 */ addi r0, r3, 0x2 +/* 8033099C 0032D57C 88 63 00 01 */ lbz r3, 0x1(r3) +/* 803309A0 0032D580 50 83 44 2E */ rlwimi r3, r4, 8, 16, 23 +/* 803309A4 0032D584 54 7E 04 3E */ clrlwi r30, r3, 16 +/* 803309A8 0032D588 90 1C 00 00 */ stw r0, 0x0(r28) +/* 803309AC 0032D58C 3B DE FF FE */ subi r30, r30, 0x2 .L_803309B0: -/* 803309B0 0032D590 80 9C 00 00 */ lwz r4, 0(r28) -/* 803309B4 0032D594 3B A0 00 00 */ li r29, 0 -/* 803309B8 0032D598 38 60 00 00 */ li r3, 0 -/* 803309BC 0032D59C 38 04 00 01 */ addi r0, r4, 1 -/* 803309C0 0032D5A0 90 1C 00 00 */ stw r0, 0(r28) -/* 803309C4 0032D5A4 88 84 00 00 */ lbz r4, 0(r4) -/* 803309C8 0032D5A8 80 BC 00 00 */ lwz r5, 0(r28) +/* 803309B0 0032D590 80 9C 00 00 */ lwz r4, 0x0(r28) +/* 803309B4 0032D594 3B A0 00 00 */ li r29, 0x0 +/* 803309B8 0032D598 38 60 00 00 */ li r3, 0x0 +/* 803309BC 0032D59C 38 04 00 01 */ addi r0, r4, 0x1 +/* 803309C0 0032D5A0 90 1C 00 00 */ stw r0, 0x0(r28) +/* 803309C4 0032D5A4 88 84 00 00 */ lbz r4, 0x0(r4) +/* 803309C8 0032D5A8 80 BC 00 00 */ lwz r5, 0x0(r28) /* 803309CC 0032D5AC 7C 80 26 70 */ srawi r0, r4, 4 -/* 803309D0 0032D5B0 54 84 0E FC */ rlwinm r4, r4, 1, 0x1b, 0x1e -/* 803309D4 0032D5B4 54 00 06 3E */ clrlwi r0, r0, 0x18 +/* 803309D0 0032D5B0 54 84 0E FC */ clrlslwi r4, r4, 28, 1 +/* 803309D4 0032D5B4 54 00 06 3E */ clrlwi r0, r0, 24 /* 803309D8 0032D5B8 7C 04 02 14 */ add r0, r4, r0 -/* 803309DC 0032D5BC 54 1F 06 3E */ clrlwi r31, r0, 0x18 +/* 803309DC 0032D5BC 54 1F 06 3E */ clrlwi r31, r0, 24 /* 803309E0 0032D5C0 48 00 00 A8 */ b .L_80330A88 .L_803309E4: -/* 803309E4 0032D5C4 80 DC 00 00 */ lwz r6, 0(r28) -/* 803309E8 0032D5C8 38 63 00 08 */ addi r3, r3, 8 -/* 803309EC 0032D5CC 38 06 00 01 */ addi r0, r6, 1 -/* 803309F0 0032D5D0 90 1C 00 00 */ stw r0, 0(r28) -/* 803309F4 0032D5D4 80 9C 00 00 */ lwz r4, 0(r28) -/* 803309F8 0032D5D8 88 C6 00 00 */ lbz r6, 0(r6) -/* 803309FC 0032D5DC 38 04 00 01 */ addi r0, r4, 1 -/* 80330A00 0032D5E0 90 1C 00 00 */ stw r0, 0(r28) +/* 803309E4 0032D5C4 80 DC 00 00 */ lwz r6, 0x0(r28) +/* 803309E8 0032D5C8 38 63 00 08 */ addi r3, r3, 0x8 +/* 803309EC 0032D5CC 38 06 00 01 */ addi r0, r6, 0x1 +/* 803309F0 0032D5D0 90 1C 00 00 */ stw r0, 0x0(r28) +/* 803309F4 0032D5D4 80 9C 00 00 */ lwz r4, 0x0(r28) +/* 803309F8 0032D5D8 88 C6 00 00 */ lbz r6, 0x0(r6) +/* 803309FC 0032D5DC 38 04 00 01 */ addi r0, r4, 0x1 +/* 80330A00 0032D5E0 90 1C 00 00 */ stw r0, 0x0(r28) /* 80330A04 0032D5E4 7F BD 32 14 */ add r29, r29, r6 -/* 80330A08 0032D5E8 80 DC 00 00 */ lwz r6, 0(r28) -/* 80330A0C 0032D5EC 88 84 00 00 */ lbz r4, 0(r4) -/* 80330A10 0032D5F0 38 06 00 01 */ addi r0, r6, 1 -/* 80330A14 0032D5F4 90 1C 00 00 */ stw r0, 0(r28) +/* 80330A08 0032D5E8 80 DC 00 00 */ lwz r6, 0x0(r28) +/* 80330A0C 0032D5EC 88 84 00 00 */ lbz r4, 0x0(r4) +/* 80330A10 0032D5F0 38 06 00 01 */ addi r0, r6, 0x1 +/* 80330A14 0032D5F4 90 1C 00 00 */ stw r0, 0x0(r28) /* 80330A18 0032D5F8 7F BD 22 14 */ add r29, r29, r4 -/* 80330A1C 0032D5FC 80 9C 00 00 */ lwz r4, 0(r28) -/* 80330A20 0032D600 88 C6 00 00 */ lbz r6, 0(r6) -/* 80330A24 0032D604 38 04 00 01 */ addi r0, r4, 1 -/* 80330A28 0032D608 90 1C 00 00 */ stw r0, 0(r28) +/* 80330A1C 0032D5FC 80 9C 00 00 */ lwz r4, 0x0(r28) +/* 80330A20 0032D600 88 C6 00 00 */ lbz r6, 0x0(r6) +/* 80330A24 0032D604 38 04 00 01 */ addi r0, r4, 0x1 +/* 80330A28 0032D608 90 1C 00 00 */ stw r0, 0x0(r28) /* 80330A2C 0032D60C 7F BD 32 14 */ add r29, r29, r6 -/* 80330A30 0032D610 80 DC 00 00 */ lwz r6, 0(r28) -/* 80330A34 0032D614 88 84 00 00 */ lbz r4, 0(r4) -/* 80330A38 0032D618 38 06 00 01 */ addi r0, r6, 1 -/* 80330A3C 0032D61C 90 1C 00 00 */ stw r0, 0(r28) +/* 80330A30 0032D610 80 DC 00 00 */ lwz r6, 0x0(r28) +/* 80330A34 0032D614 88 84 00 00 */ lbz r4, 0x0(r4) +/* 80330A38 0032D618 38 06 00 01 */ addi r0, r6, 0x1 +/* 80330A3C 0032D61C 90 1C 00 00 */ stw r0, 0x0(r28) /* 80330A40 0032D620 7F BD 22 14 */ add r29, r29, r4 -/* 80330A44 0032D624 80 9C 00 00 */ lwz r4, 0(r28) -/* 80330A48 0032D628 88 C6 00 00 */ lbz r6, 0(r6) -/* 80330A4C 0032D62C 38 04 00 01 */ addi r0, r4, 1 -/* 80330A50 0032D630 90 1C 00 00 */ stw r0, 0(r28) +/* 80330A44 0032D624 80 9C 00 00 */ lwz r4, 0x0(r28) +/* 80330A48 0032D628 88 C6 00 00 */ lbz r6, 0x0(r6) +/* 80330A4C 0032D62C 38 04 00 01 */ addi r0, r4, 0x1 +/* 80330A50 0032D630 90 1C 00 00 */ stw r0, 0x0(r28) /* 80330A54 0032D634 7F BD 32 14 */ add r29, r29, r6 -/* 80330A58 0032D638 80 DC 00 00 */ lwz r6, 0(r28) -/* 80330A5C 0032D63C 88 84 00 00 */ lbz r4, 0(r4) -/* 80330A60 0032D640 38 06 00 01 */ addi r0, r6, 1 -/* 80330A64 0032D644 90 1C 00 00 */ stw r0, 0(r28) +/* 80330A58 0032D638 80 DC 00 00 */ lwz r6, 0x0(r28) +/* 80330A5C 0032D63C 88 84 00 00 */ lbz r4, 0x0(r4) +/* 80330A60 0032D640 38 06 00 01 */ addi r0, r6, 0x1 +/* 80330A64 0032D644 90 1C 00 00 */ stw r0, 0x0(r28) /* 80330A68 0032D648 7F BD 22 14 */ add r29, r29, r4 -/* 80330A6C 0032D64C 80 9C 00 00 */ lwz r4, 0(r28) -/* 80330A70 0032D650 88 C6 00 00 */ lbz r6, 0(r6) -/* 80330A74 0032D654 38 04 00 01 */ addi r0, r4, 1 -/* 80330A78 0032D658 90 1C 00 00 */ stw r0, 0(r28) +/* 80330A6C 0032D64C 80 9C 00 00 */ lwz r4, 0x0(r28) +/* 80330A70 0032D650 88 C6 00 00 */ lbz r6, 0x0(r6) +/* 80330A74 0032D654 38 04 00 01 */ addi r0, r4, 0x1 +/* 80330A78 0032D658 90 1C 00 00 */ stw r0, 0x0(r28) /* 80330A7C 0032D65C 7F BD 32 14 */ add r29, r29, r6 -/* 80330A80 0032D660 88 04 00 00 */ lbz r0, 0(r4) +/* 80330A80 0032D660 88 04 00 00 */ lbz r0, 0x0(r4) /* 80330A84 0032D664 7F BD 02 14 */ add r29, r29, r0 .L_80330A88: -/* 80330A88 0032D668 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 80330A88 0032D668 54 60 06 3E */ clrlwi r0, r3, 24 /* 80330A8C 0032D66C 28 00 00 10 */ cmplwi r0, 0x10 /* 80330A90 0032D670 41 80 FF 54 */ blt .L_803309E4 /* 80330A94 0032D674 1C 1F 00 EC */ mulli r0, r31, 0xec /* 80330A98 0032D678 7C FC 02 14 */ add r7, r28, r0 /* 80330A9C 0032D67C 90 A7 01 60 */ stw r5, 0x160(r7) -/* 80330AA0 0032D680 57 A0 04 3E */ clrlwi r0, r29, 0x10 -/* 80330AA4 0032D684 38 7C 00 00 */ addi r3, r28, 0 -/* 80330AA8 0032D688 80 DC 00 00 */ lwz r6, 0(r28) +/* 80330AA0 0032D680 57 A0 04 3E */ clrlwi r0, r29, 16 +/* 80330AA4 0032D684 38 7C 00 00 */ addi r3, r28, 0x0 +/* 80330AA8 0032D688 80 DC 00 00 */ lwz r6, 0x0(r28) /* 80330AAC 0032D68C 7F E4 FB 78 */ mr r4, r31 /* 80330AB0 0032D690 90 C7 00 C8 */ stw r6, 0xc8(r7) /* 80330AB4 0032D694 B3 A7 01 70 */ sth r29, 0x170(r7) -/* 80330AB8 0032D698 80 DC 00 00 */ lwz r6, 0(r28) +/* 80330AB8 0032D698 80 DC 00 00 */ lwz r6, 0x0(r28) /* 80330ABC 0032D69C 7C 06 02 14 */ add r0, r6, r0 -/* 80330AC0 0032D6A0 90 1C 00 00 */ stw r0, 0(r28) +/* 80330AC0 0032D6A0 90 1C 00 00 */ stw r0, 0x0(r28) /* 80330AC4 0032D6A4 48 00 01 D5 */ bl THPDec_80330C98 -/* 80330AC8 0032D6A8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80330AC8 0032D6A8 54 60 06 3F */ clrlwi. r0, r3, 24 /* 80330ACC 0032D6AC 41 82 00 08 */ beq .L_80330AD4 /* 80330AD0 0032D6B0 48 00 00 50 */ b .L_80330B20 .L_80330AD4: -/* 80330AD4 0032D6B4 38 7C 00 00 */ addi r3, r28, 0 -/* 80330AD8 0032D6B8 38 9F 00 00 */ addi r4, r31, 0 +/* 80330AD4 0032D6B4 38 7C 00 00 */ addi r3, r28, 0x0 +/* 80330AD8 0032D6B8 38 9F 00 00 */ addi r4, r31, 0x0 /* 80330ADC 0032D6BC 48 00 03 55 */ bl THPDec_80330E30 -/* 80330AE0 0032D6C0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80330AE0 0032D6C0 54 60 06 3F */ clrlwi. r0, r3, 24 /* 80330AE4 0032D6C4 41 82 00 08 */ beq .L_80330AEC /* 80330AE8 0032D6C8 48 00 00 38 */ b .L_80330B20 .L_80330AEC: -/* 80330AEC 0032D6CC 38 7C 00 00 */ addi r3, r28, 0 -/* 80330AF0 0032D6D0 38 9F 00 00 */ addi r4, r31, 0 +/* 80330AEC 0032D6CC 38 7C 00 00 */ addi r3, r28, 0x0 +/* 80330AF0 0032D6D0 38 9F 00 00 */ addi r4, r31, 0x0 /* 80330AF4 0032D6D4 48 00 04 1D */ bl THPDec_80330F10 /* 80330AF8 0032D6D8 38 1D 00 11 */ addi r0, r29, 0x11 /* 80330AFC 0032D6DC 88 9C 00 78 */ lbz r4, 0x78(r28) /* 80330B00 0032D6E0 7F C0 F0 50 */ subf r30, r0, r30 -/* 80330B04 0032D6E4 38 00 00 01 */ li r0, 1 +/* 80330B04 0032D6E4 38 00 00 01 */ li r0, 0x1 /* 80330B08 0032D6E8 7C 03 F8 30 */ slw r3, r0, r31 /* 80330B0C 0032D6EC 7C 83 1B 78 */ or r3, r4, r3 -/* 80330B10 0032D6F0 57 C0 04 3F */ clrlwi. r0, r30, 0x10 +/* 80330B10 0032D6F0 57 C0 04 3F */ clrlwi. r0, r30, 16 /* 80330B14 0032D6F4 98 7C 00 78 */ stb r3, 0x78(r28) /* 80330B18 0032D6F8 40 82 FE 98 */ bne .L_803309B0 -/* 80330B1C 0032D6FC 38 60 00 00 */ li r3, 0 +/* 80330B1C 0032D6FC 38 60 00 00 */ li r3, 0x0 .L_80330B20: /* 80330B20 0032D700 80 01 00 2C */ lwz r0, 0x2c(r1) /* 80330B24 0032D704 83 E1 00 24 */ lwz r31, 0x24(r1) @@ -1486,40 +1498,41 @@ THPDec_80330970: /* 80330B34 0032D714 83 81 00 18 */ lwz r28, 0x18(r1) /* 80330B38 0032D718 38 21 00 28 */ addi r1, r1, 0x28 /* 80330B3C 0032D71C 4E 80 00 20 */ blr +.endfn THPDec_80330970 -.global THPDec_80330B40 -THPDec_80330B40: +# .text:0x1510 | 0x80330B40 | size: 0x158 +.fn THPDec_80330B40, local /* 80330B40 0032D720 7C 08 02 A6 */ mflr r0 -/* 80330B44 0032D724 90 01 00 04 */ stw r0, 4(r1) -/* 80330B48 0032D728 94 21 FF F8 */ stwu r1, -8(r1) -/* 80330B4C 0032D72C 80 83 00 00 */ lwz r4, 0(r3) -/* 80330B50 0032D730 38 04 00 02 */ addi r0, r4, 2 -/* 80330B54 0032D734 90 03 00 00 */ stw r0, 0(r3) -/* 80330B58 0032D738 80 83 00 00 */ lwz r4, 0(r3) -/* 80330B5C 0032D73C 38 04 00 01 */ addi r0, r4, 1 -/* 80330B60 0032D740 90 03 00 00 */ stw r0, 0(r3) -/* 80330B64 0032D744 88 04 00 00 */ lbz r0, 0(r4) +/* 80330B44 0032D724 90 01 00 04 */ stw r0, 0x4(r1) +/* 80330B48 0032D728 94 21 FF F8 */ stwu r1, -0x8(r1) +/* 80330B4C 0032D72C 80 83 00 00 */ lwz r4, 0x0(r3) +/* 80330B50 0032D730 38 04 00 02 */ addi r0, r4, 0x2 +/* 80330B54 0032D734 90 03 00 00 */ stw r0, 0x0(r3) +/* 80330B58 0032D738 80 83 00 00 */ lwz r4, 0x0(r3) +/* 80330B5C 0032D73C 38 04 00 01 */ addi r0, r4, 0x1 +/* 80330B60 0032D740 90 03 00 00 */ stw r0, 0x0(r3) +/* 80330B64 0032D744 88 04 00 00 */ lbz r0, 0x0(r4) /* 80330B68 0032D748 88 83 00 7C */ lbz r4, 0x7c(r3) /* 80330B6C 0032D74C 7C 00 20 40 */ cmplw r0, r4 /* 80330B70 0032D750 41 82 00 0C */ beq .L_80330B7C /* 80330B74 0032D754 38 60 00 0C */ li r3, 0xc /* 80330B78 0032D758 48 00 01 10 */ b .L_80330C88 .L_80330B7C: -/* 80330B7C 0032D75C 38 83 00 00 */ addi r4, r3, 0 -/* 80330B80 0032D760 38 A0 00 00 */ li r5, 0 +/* 80330B7C 0032D75C 38 83 00 00 */ addi r4, r3, 0x0 +/* 80330B80 0032D760 38 A0 00 00 */ li r5, 0x0 /* 80330B84 0032D764 48 00 00 E8 */ b .L_80330C6C .L_80330B88: -/* 80330B88 0032D768 80 C3 00 00 */ lwz r6, 0(r3) -/* 80330B8C 0032D76C 39 20 00 01 */ li r9, 1 -/* 80330B90 0032D770 38 C6 00 01 */ addi r6, r6, 1 -/* 80330B94 0032D774 90 C3 00 00 */ stw r6, 0(r3) -/* 80330B98 0032D778 80 E3 00 00 */ lwz r7, 0(r3) -/* 80330B9C 0032D77C 38 C7 00 01 */ addi r6, r7, 1 -/* 80330BA0 0032D780 90 C3 00 00 */ stw r6, 0(r3) -/* 80330BA4 0032D784 88 E7 00 00 */ lbz r7, 0(r7) +/* 80330B88 0032D768 80 C3 00 00 */ lwz r6, 0x0(r3) +/* 80330B8C 0032D76C 39 20 00 01 */ li r9, 0x1 +/* 80330B90 0032D770 38 C6 00 01 */ addi r6, r6, 0x1 +/* 80330B94 0032D774 90 C3 00 00 */ stw r6, 0x0(r3) +/* 80330B98 0032D778 80 E3 00 00 */ lwz r7, 0x0(r3) +/* 80330B9C 0032D77C 38 C7 00 01 */ addi r6, r7, 0x1 +/* 80330BA0 0032D780 90 C3 00 00 */ stw r6, 0x0(r3) +/* 80330BA4 0032D784 88 E7 00 00 */ lbz r7, 0x0(r7) /* 80330BA8 0032D788 7C E6 26 70 */ srawi r6, r7, 4 /* 80330BAC 0032D78C 98 C4 08 3C */ stb r6, 0x83c(r4) -/* 80330BB0 0032D790 54 E7 07 3E */ clrlwi r7, r7, 0x1c +/* 80330BB0 0032D790 54 E7 07 3E */ clrlwi r7, r7, 28 /* 80330BB4 0032D794 7D 26 30 30 */ slw r6, r9, r6 /* 80330BB8 0032D798 98 E4 08 3D */ stb r7, 0x83d(r4) /* 80330BBC 0032D79C 89 03 00 78 */ lbz r8, 0x78(r3) @@ -1528,7 +1541,7 @@ THPDec_80330B40: /* 80330BC8 0032D7A8 38 60 00 0F */ li r3, 0xf /* 80330BCC 0032D7AC 48 00 00 BC */ b .L_80330C88 .L_80330BD0: -/* 80330BD0 0032D7B0 38 C7 00 01 */ addi r6, r7, 1 +/* 80330BD0 0032D7B0 38 C7 00 01 */ addi r6, r7, 0x1 /* 80330BD4 0032D7B4 7D 26 30 30 */ slw r6, r9, r6 /* 80330BD8 0032D7B8 7D 06 30 39 */ and. r6, r8, r6 /* 80330BDC 0032D7BC 40 82 00 0C */ bne .L_80330BE8 @@ -1544,14 +1557,14 @@ THPDec_80330B40: /* 80330C00 0032D7E0 81 04 08 40 */ lwz r8, 0x840(r4) /* 80330C04 0032D7E4 7C CB 53 D6 */ divw r6, r11, r10 /* 80330C08 0032D7E8 7C EA 5A 14 */ add r7, r10, r11 -/* 80330C0C 0032D7EC 38 E7 FF FF */ addi r7, r7, -1 +/* 80330C0C 0032D7EC 38 E7 FF FF */ subi r7, r7, 0x1 /* 80330C10 0032D7F0 7C E7 53 D6 */ divw r7, r7, r10 /* 80330C14 0032D7F4 7C C6 51 D6 */ mullw r6, r6, r10 /* 80330C18 0032D7F8 7C C6 58 51 */ subf. r6, r6, r11 -/* 80330C1C 0032D7FC 55 0B 04 3E */ clrlwi r11, r8, 0x10 -/* 80330C20 0032D800 54 EC 04 3E */ clrlwi r12, r7, 0x10 +/* 80330C1C 0032D7FC 55 0B 04 3E */ clrlwi r11, r8, 16 +/* 80330C20 0032D800 54 EC 04 3E */ clrlwi r12, r7, 16 /* 80330C24 0032D804 40 82 00 08 */ bne .L_80330C2C -/* 80330C28 0032D808 39 20 00 00 */ li r9, 0 +/* 80330C28 0032D808 39 20 00 00 */ li r9, 0x0 .L_80330C2C: /* 80330C2C 0032D80C 7D 8C 4A 14 */ add r12, r12, r9 /* 80330C30 0032D810 89 04 08 3A */ lbz r8, 0x83a(r4) @@ -1559,55 +1572,56 @@ THPDec_80330B40: /* 80330C38 0032D818 88 E3 00 7B */ lbz r7, 0x7b(r3) /* 80330C3C 0032D81C 80 C3 09 04 */ lwz r6, 0x904(r3) /* 80330C40 0032D820 90 C4 08 48 */ stw r6, 0x848(r4) -/* 80330C44 0032D824 55 89 04 3E */ clrlwi r9, r12, 0x10 +/* 80330C44 0032D824 55 89 04 3E */ clrlwi r9, r12, 16 /* 80330C48 0032D828 7C C8 38 50 */ subf r6, r8, r7 /* 80330C4C 0032D82C 80 E3 09 04 */ lwz r7, 0x904(r3) /* 80330C50 0032D830 7D 26 36 30 */ sraw r6, r9, r6 -/* 80330C54 0032D834 54 CC 04 3E */ clrlwi r12, r6, 0x10 +/* 80330C54 0032D834 54 CC 04 3E */ clrlwi r12, r6, 16 /* 80330C58 0032D838 7C CB 61 D6 */ mullw r6, r11, r12 /* 80330C5C 0032D83C 7C C7 32 14 */ add r6, r7, r6 /* 80330C60 0032D840 90 C3 09 04 */ stw r6, 0x904(r3) /* 80330C64 0032D844 38 84 00 2C */ addi r4, r4, 0x2c -/* 80330C68 0032D848 38 A5 00 01 */ addi r5, r5, 1 +/* 80330C68 0032D848 38 A5 00 01 */ addi r5, r5, 0x1 .L_80330C6C: -/* 80330C6C 0032D84C 54 A6 06 3E */ clrlwi r6, r5, 0x18 +/* 80330C6C 0032D84C 54 A6 06 3E */ clrlwi r6, r5, 24 /* 80330C70 0032D850 7C 06 00 40 */ cmplw r6, r0 /* 80330C74 0032D854 41 80 FF 14 */ blt .L_80330B88 -/* 80330C78 0032D858 80 83 00 00 */ lwz r4, 0(r3) -/* 80330C7C 0032D85C 38 04 00 03 */ addi r0, r4, 3 -/* 80330C80 0032D860 90 03 00 00 */ stw r0, 0(r3) +/* 80330C78 0032D858 80 83 00 00 */ lwz r4, 0x0(r3) +/* 80330C7C 0032D85C 38 04 00 03 */ addi r0, r4, 0x3 +/* 80330C80 0032D860 90 03 00 00 */ stw r0, 0x0(r3) /* 80330C84 0032D864 48 00 04 49 */ bl THPDec_803310CC .L_80330C88: /* 80330C88 0032D868 80 01 00 0C */ lwz r0, 0xc(r1) -/* 80330C8C 0032D86C 38 21 00 08 */ addi r1, r1, 8 +/* 80330C8C 0032D86C 38 21 00 08 */ addi r1, r1, 0x8 /* 80330C90 0032D870 7C 08 03 A6 */ mtlr r0 /* 80330C94 0032D874 4E 80 00 20 */ blr +.endfn THPDec_80330B40 -.global THPDec_80330C98 -THPDec_80330C98: +# .text:0x1668 | 0x80330C98 | size: 0x198 +.fn THPDec_80330C98, local /* 80330C98 0032D878 94 21 FF D8 */ stwu r1, -0x28(r1) -/* 80330C9C 0032D87C 38 00 00 01 */ li r0, 1 +/* 80330C9C 0032D87C 38 00 00 01 */ li r0, 0x1 /* 80330CA0 0032D880 2C 00 00 10 */ cmpwi r0, 0x10 /* 80330CA4 0032D884 93 E1 00 24 */ stw r31, 0x24(r1) -/* 80330CA8 0032D888 3B E0 00 00 */ li r31, 0 +/* 80330CA8 0032D888 3B E0 00 00 */ li r31, 0x0 /* 80330CAC 0032D88C 41 81 00 80 */ bgt .L_80330D2C -/* 80330CB0 0032D890 88 E5 00 00 */ lbz r7, 0(r5) -/* 80330CB4 0032D894 88 05 00 01 */ lbz r0, 1(r5) -/* 80330CB8 0032D898 88 C5 00 02 */ lbz r6, 2(r5) +/* 80330CB0 0032D890 88 E5 00 00 */ lbz r7, 0x0(r5) +/* 80330CB4 0032D894 88 05 00 01 */ lbz r0, 0x1(r5) +/* 80330CB8 0032D898 88 C5 00 02 */ lbz r6, 0x2(r5) /* 80330CBC 0032D89C 7F E7 02 14 */ add r31, r7, r0 -/* 80330CC0 0032D8A0 88 05 00 03 */ lbz r0, 3(r5) +/* 80330CC0 0032D8A0 88 05 00 03 */ lbz r0, 0x3(r5) /* 80330CC4 0032D8A4 7F FF 32 14 */ add r31, r31, r6 -/* 80330CC8 0032D8A8 88 C5 00 04 */ lbz r6, 4(r5) +/* 80330CC8 0032D8A8 88 C5 00 04 */ lbz r6, 0x4(r5) /* 80330CCC 0032D8AC 7F FF 02 14 */ add r31, r31, r0 -/* 80330CD0 0032D8B0 88 05 00 05 */ lbz r0, 5(r5) +/* 80330CD0 0032D8B0 88 05 00 05 */ lbz r0, 0x5(r5) /* 80330CD4 0032D8B4 7F FF 32 14 */ add r31, r31, r6 -/* 80330CD8 0032D8B8 88 C5 00 06 */ lbz r6, 6(r5) +/* 80330CD8 0032D8B8 88 C5 00 06 */ lbz r6, 0x6(r5) /* 80330CDC 0032D8BC 7F FF 02 14 */ add r31, r31, r0 -/* 80330CE0 0032D8C0 88 05 00 07 */ lbz r0, 7(r5) +/* 80330CE0 0032D8C0 88 05 00 07 */ lbz r0, 0x7(r5) /* 80330CE4 0032D8C4 7F FF 32 14 */ add r31, r31, r6 -/* 80330CE8 0032D8C8 88 E5 00 08 */ lbz r7, 8(r5) +/* 80330CE8 0032D8C8 88 E5 00 08 */ lbz r7, 0x8(r5) /* 80330CEC 0032D8CC 7F FF 02 14 */ add r31, r31, r0 -/* 80330CF0 0032D8D0 88 05 00 09 */ lbz r0, 9(r5) +/* 80330CF0 0032D8D0 88 05 00 09 */ lbz r0, 0x9(r5) /* 80330CF4 0032D8D4 7F FF 3A 14 */ add r31, r31, r7 /* 80330CF8 0032D8D8 88 C5 00 0A */ lbz r6, 0xa(r5) /* 80330CFC 0032D8DC 7F FF 02 14 */ add r31, r31, r0 @@ -1623,86 +1637,87 @@ THPDec_80330C98: /* 80330D24 0032D904 7F FF 32 14 */ add r31, r31, r6 /* 80330D28 0032D908 7F FF 02 14 */ add r31, r31, r0 .L_80330D2C: -/* 80330D2C 0032D90C 54 80 06 3E */ clrlwi r0, r4, 0x18 +/* 80330D2C 0032D90C 54 80 06 3E */ clrlwi r0, r4, 24 /* 80330D30 0032D910 80 83 09 04 */ lwz r4, 0x904(r3) /* 80330D34 0032D914 1D 20 00 EC */ mulli r9, r0, 0xec /* 80330D38 0032D918 7D 43 4A 14 */ add r10, r3, r9 /* 80330D3C 0032D91C 94 8A 01 64 */ stwu r4, 0x164(r10) /* 80330D40 0032D920 7D 03 4A 14 */ add r8, r3, r9 /* 80330D44 0032D924 80 03 09 04 */ lwz r0, 0x904(r3) -/* 80330D48 0032D928 39 60 00 00 */ li r11, 0 -/* 80330D4C 0032D92C 39 80 00 01 */ li r12, 1 +/* 80330D48 0032D928 39 60 00 00 */ li r11, 0x0 +/* 80330D4C 0032D92C 39 80 00 01 */ li r12, 0x1 /* 80330D50 0032D930 7C 9F 02 14 */ add r4, r31, r0 -/* 80330D54 0032D934 38 04 00 01 */ addi r0, r4, 1 +/* 80330D54 0032D934 38 04 00 01 */ addi r0, r4, 0x1 /* 80330D58 0032D938 90 03 09 04 */ stw r0, 0x904(r3) .L_80330D5C: -/* 80330D5C 0032D93C 38 0C FF FF */ addi r0, r12, -1 +/* 80330D5C 0032D93C 38 0C FF FF */ subi r0, r12, 0x1 /* 80330D60 0032D940 7F E5 00 AE */ lbzx r31, r5, r0 /* 80330D64 0032D944 7D 87 07 74 */ extsb r7, r12 -/* 80330D68 0032D948 2C 1F 00 00 */ cmpwi r31, 0 -/* 80330D6C 0032D94C 38 9F 00 00 */ addi r4, r31, 0 +/* 80330D68 0032D948 2C 1F 00 00 */ cmpwi r31, 0x0 +/* 80330D6C 0032D94C 38 9F 00 00 */ addi r4, r31, 0x0 /* 80330D70 0032D950 41 82 00 90 */ beq .L_80330E00 -/* 80330D74 0032D954 54 80 E8 FF */ rlwinm. r0, r4, 0x1d, 3, 0x1f +/* 80330D74 0032D954 54 80 E8 FF */ srwi. r0, r4, 3 /* 80330D78 0032D958 7C 09 03 A6 */ mtctr r0 /* 80330D7C 0032D95C 41 82 00 70 */ beq .L_80330DEC .L_80330D80: /* 80330D80 0032D960 80 C8 01 64 */ lwz r6, 0x164(r8) /* 80330D84 0032D964 7C E6 59 AE */ stbx r7, r6, r11 -/* 80330D88 0032D968 39 6B 00 01 */ addi r11, r11, 1 +/* 80330D88 0032D968 39 6B 00 01 */ addi r11, r11, 0x1 /* 80330D8C 0032D96C 80 C8 01 64 */ lwz r6, 0x164(r8) /* 80330D90 0032D970 7C E6 59 AE */ stbx r7, r6, r11 -/* 80330D94 0032D974 39 6B 00 01 */ addi r11, r11, 1 +/* 80330D94 0032D974 39 6B 00 01 */ addi r11, r11, 0x1 /* 80330D98 0032D978 80 C8 01 64 */ lwz r6, 0x164(r8) /* 80330D9C 0032D97C 7C E6 59 AE */ stbx r7, r6, r11 -/* 80330DA0 0032D980 39 6B 00 01 */ addi r11, r11, 1 +/* 80330DA0 0032D980 39 6B 00 01 */ addi r11, r11, 0x1 /* 80330DA4 0032D984 80 C8 01 64 */ lwz r6, 0x164(r8) /* 80330DA8 0032D988 7C E6 59 AE */ stbx r7, r6, r11 -/* 80330DAC 0032D98C 39 6B 00 01 */ addi r11, r11, 1 +/* 80330DAC 0032D98C 39 6B 00 01 */ addi r11, r11, 0x1 /* 80330DB0 0032D990 80 C8 01 64 */ lwz r6, 0x164(r8) /* 80330DB4 0032D994 7C E6 59 AE */ stbx r7, r6, r11 -/* 80330DB8 0032D998 39 6B 00 01 */ addi r11, r11, 1 +/* 80330DB8 0032D998 39 6B 00 01 */ addi r11, r11, 0x1 /* 80330DBC 0032D99C 80 C8 01 64 */ lwz r6, 0x164(r8) /* 80330DC0 0032D9A0 7C E6 59 AE */ stbx r7, r6, r11 -/* 80330DC4 0032D9A4 39 6B 00 01 */ addi r11, r11, 1 +/* 80330DC4 0032D9A4 39 6B 00 01 */ addi r11, r11, 0x1 /* 80330DC8 0032D9A8 80 C8 01 64 */ lwz r6, 0x164(r8) /* 80330DCC 0032D9AC 7C E6 59 AE */ stbx r7, r6, r11 -/* 80330DD0 0032D9B0 39 6B 00 01 */ addi r11, r11, 1 +/* 80330DD0 0032D9B0 39 6B 00 01 */ addi r11, r11, 0x1 /* 80330DD4 0032D9B4 80 C8 01 64 */ lwz r6, 0x164(r8) /* 80330DD8 0032D9B8 7C E6 59 AE */ stbx r7, r6, r11 -/* 80330DDC 0032D9BC 39 6B 00 01 */ addi r11, r11, 1 +/* 80330DDC 0032D9BC 39 6B 00 01 */ addi r11, r11, 0x1 /* 80330DE0 0032D9C0 42 00 FF A0 */ bdnz .L_80330D80 -/* 80330DE4 0032D9C4 70 84 00 07 */ andi. r4, r4, 7 +/* 80330DE4 0032D9C4 70 84 00 07 */ andi. r4, r4, 0x7 /* 80330DE8 0032D9C8 41 82 00 18 */ beq .L_80330E00 .L_80330DEC: /* 80330DEC 0032D9CC 7C 89 03 A6 */ mtctr r4 .L_80330DF0: /* 80330DF0 0032D9D0 80 C8 01 64 */ lwz r6, 0x164(r8) /* 80330DF4 0032D9D4 7C E6 59 AE */ stbx r7, r6, r11 -/* 80330DF8 0032D9D8 39 6B 00 01 */ addi r11, r11, 1 +/* 80330DF8 0032D9D8 39 6B 00 01 */ addi r11, r11, 0x1 /* 80330DFC 0032D9DC 42 00 FF F4 */ bdnz .L_80330DF0 .L_80330E00: -/* 80330E00 0032D9E0 39 8C 00 01 */ addi r12, r12, 1 +/* 80330E00 0032D9E0 39 8C 00 01 */ addi r12, r12, 0x1 /* 80330E04 0032D9E4 2C 0C 00 10 */ cmpwi r12, 0x10 /* 80330E08 0032D9E8 40 81 FF 54 */ ble .L_80330D5C -/* 80330E0C 0032D9EC 80 AA 00 00 */ lwz r5, 0(r10) -/* 80330E10 0032D9F0 38 00 00 00 */ li r0, 0 +/* 80330E0C 0032D9EC 80 AA 00 00 */ lwz r5, 0x0(r10) +/* 80330E10 0032D9F0 38 00 00 00 */ li r0, 0x0 /* 80330E14 0032D9F4 7C 83 4A 14 */ add r4, r3, r9 /* 80330E18 0032D9F8 7C 05 59 AE */ stbx r0, r5, r11 -/* 80330E1C 0032D9FC 38 60 00 00 */ li r3, 0 +/* 80330E1C 0032D9FC 38 60 00 00 */ li r3, 0x0 /* 80330E20 0032DA00 91 64 01 6C */ stw r11, 0x16c(r4) /* 80330E24 0032DA04 83 E1 00 24 */ lwz r31, 0x24(r1) /* 80330E28 0032DA08 38 21 00 28 */ addi r1, r1, 0x28 /* 80330E2C 0032DA0C 4E 80 00 20 */ blr +.endfn THPDec_80330C98 -.global THPDec_80330E30 -THPDec_80330E30: -/* 80330E30 0032DA10 54 80 06 3E */ clrlwi r0, r4, 0x18 +# .text:0x1800 | 0x80330E30 | size: 0xE0 +.fn THPDec_80330E30, local +/* 80330E30 0032DA10 54 80 06 3E */ clrlwi r0, r4, 24 /* 80330E34 0032DA14 1C C0 00 EC */ mulli r6, r0, 0xec /* 80330E38 0032DA18 7D 03 32 14 */ add r8, r3, r6 /* 80330E3C 0032DA1C 84 88 01 64 */ lwzu r4, 0x164(r8) /* 80330E40 0032DA20 7C E3 32 14 */ add r7, r3, r6 -/* 80330E44 0032DA24 89 24 00 00 */ lbz r9, 0(r4) -/* 80330E48 0032DA28 39 40 00 00 */ li r10, 0 +/* 80330E44 0032DA24 89 24 00 00 */ lbz r9, 0x0(r4) +/* 80330E48 0032DA28 39 40 00 00 */ li r10, 0x0 /* 80330E4C 0032DA2C 80 A7 01 64 */ lwz r5, 0x164(r7) /* 80330E50 0032DA30 7D 29 07 74 */ extsb r9, r9 /* 80330E54 0032DA34 48 00 00 30 */ b .L_80330E84 @@ -1711,39 +1726,39 @@ THPDec_80330E30: /* 80330E5C 0032DA3C 7C 80 52 14 */ add r4, r0, r10 /* 80330E60 0032DA40 48 00 00 10 */ b .L_80330E70 .L_80330E64: -/* 80330E64 0032DA44 38 84 00 01 */ addi r4, r4, 1 -/* 80330E68 0032DA48 38 A5 00 01 */ addi r5, r5, 1 -/* 80330E6C 0032DA4C 39 4A 00 01 */ addi r10, r10, 1 +/* 80330E64 0032DA44 38 84 00 01 */ addi r4, r4, 0x1 +/* 80330E68 0032DA48 38 A5 00 01 */ addi r5, r5, 0x1 +/* 80330E6C 0032DA4C 39 4A 00 01 */ addi r10, r10, 0x1 .L_80330E70: -/* 80330E70 0032DA50 88 04 00 00 */ lbz r0, 0(r4) +/* 80330E70 0032DA50 88 04 00 00 */ lbz r0, 0x0(r4) /* 80330E74 0032DA54 7C 00 07 74 */ extsb r0, r0 /* 80330E78 0032DA58 7C 09 00 00 */ cmpw r9, r0 /* 80330E7C 0032DA5C 41 82 FF E8 */ beq .L_80330E64 -/* 80330E80 0032DA60 39 29 00 01 */ addi r9, r9, 1 +/* 80330E80 0032DA60 39 29 00 01 */ addi r9, r9, 0x1 .L_80330E84: -/* 80330E84 0032DA64 88 05 00 00 */ lbz r0, 0(r5) +/* 80330E84 0032DA64 88 05 00 00 */ lbz r0, 0x0(r5) /* 80330E88 0032DA68 7C 00 07 75 */ extsb. r0, r0 /* 80330E8C 0032DA6C 40 82 FF CC */ bne .L_80330E58 /* 80330E90 0032DA70 80 A3 09 04 */ lwz r5, 0x904(r3) /* 80330E94 0032DA74 7C 83 32 14 */ add r4, r3, r6 /* 80330E98 0032DA78 55 40 10 3A */ slwi r0, r10, 2 /* 80330E9C 0032DA7C 90 A4 01 68 */ stw r5, 0x168(r4) -/* 80330EA0 0032DA80 38 A0 00 00 */ li r5, 0 -/* 80330EA4 0032DA84 38 C0 00 00 */ li r6, 0 +/* 80330EA0 0032DA80 38 A0 00 00 */ li r5, 0x0 +/* 80330EA4 0032DA84 38 C0 00 00 */ li r6, 0x0 /* 80330EA8 0032DA88 80 83 09 04 */ lwz r4, 0x904(r3) /* 80330EAC 0032DA8C 7C 04 02 14 */ add r0, r4, r0 /* 80330EB0 0032DA90 90 03 09 04 */ stw r0, 0x904(r3) -/* 80330EB4 0032DA94 80 68 00 00 */ lwz r3, 0(r8) -/* 80330EB8 0032DA98 88 83 00 00 */ lbz r4, 0(r3) +/* 80330EB4 0032DA94 80 68 00 00 */ lwz r3, 0x0(r8) +/* 80330EB8 0032DA98 88 83 00 00 */ lbz r4, 0x0(r3) /* 80330EBC 0032DA9C 7C 84 07 74 */ extsb r4, r4 /* 80330EC0 0032DAA0 48 00 00 38 */ b .L_80330EF8 /* 80330EC4 0032DAA4 48 00 00 18 */ b .L_80330EDC .L_80330EC8: /* 80330EC8 0032DAA8 80 67 01 68 */ lwz r3, 0x168(r7) /* 80330ECC 0032DAAC 54 A0 10 3A */ slwi r0, r5, 2 -/* 80330ED0 0032DAB0 38 A5 00 01 */ addi r5, r5, 1 +/* 80330ED0 0032DAB0 38 A5 00 01 */ addi r5, r5, 0x1 /* 80330ED4 0032DAB4 7C C3 01 2E */ stwx r6, r3, r0 -/* 80330ED8 0032DAB8 38 C6 00 01 */ addi r6, r6, 1 +/* 80330ED8 0032DAB8 38 C6 00 01 */ addi r6, r6, 0x1 .L_80330EDC: /* 80330EDC 0032DABC 80 67 01 64 */ lwz r3, 0x164(r7) /* 80330EE0 0032DAC0 7C 03 28 AE */ lbzx r0, r3, r5 @@ -1751,31 +1766,32 @@ THPDec_80330E30: /* 80330EE8 0032DAC8 7C 04 00 00 */ cmpw r4, r0 /* 80330EEC 0032DACC 41 82 FF DC */ beq .L_80330EC8 /* 80330EF0 0032DAD0 54 C6 08 3C */ slwi r6, r6, 1 -/* 80330EF4 0032DAD4 38 84 00 01 */ addi r4, r4, 1 +/* 80330EF4 0032DAD4 38 84 00 01 */ addi r4, r4, 0x1 .L_80330EF8: /* 80330EF8 0032DAD8 80 67 01 64 */ lwz r3, 0x164(r7) /* 80330EFC 0032DADC 7C 03 28 AE */ lbzx r0, r3, r5 /* 80330F00 0032DAE0 7C 00 07 75 */ extsb. r0, r0 /* 80330F04 0032DAE4 40 82 FF D8 */ bne .L_80330EDC -/* 80330F08 0032DAE8 38 60 00 00 */ li r3, 0 +/* 80330F08 0032DAE8 38 60 00 00 */ li r3, 0x0 /* 80330F0C 0032DAEC 4E 80 00 20 */ blr +.endfn THPDec_80330E30 -.global THPDec_80330F10 -THPDec_80330F10: -/* 80330F10 0032DAF0 54 80 06 3E */ clrlwi r0, r4, 0x18 +# .text:0x18E0 | 0x80330F10 | size: 0x1BC +.fn THPDec_80330F10, local +/* 80330F10 0032DAF0 54 80 06 3E */ clrlwi r0, r4, 24 /* 80330F14 0032DAF4 1C 80 00 EC */ mulli r4, r0, 0xec /* 80330F18 0032DAF8 38 E4 00 88 */ addi r7, r4, 0x88 -/* 80330F1C 0032DAFC 38 00 00 04 */ li r0, 4 +/* 80330F1C 0032DAFC 38 00 00 04 */ li r0, 0x4 /* 80330F20 0032DB00 7C E3 3A 14 */ add r7, r3, r7 /* 80330F24 0032DB04 7C 09 03 A6 */ mtctr r0 -/* 80330F28 0032DB08 38 C7 00 04 */ addi r6, r7, 4 -/* 80330F2C 0032DB0C 39 00 00 00 */ li r8, 0 -/* 80330F30 0032DB10 39 20 00 01 */ li r9, 1 +/* 80330F28 0032DB08 38 C7 00 04 */ addi r6, r7, 0x4 +/* 80330F2C 0032DB0C 39 00 00 00 */ li r8, 0x0 +/* 80330F30 0032DB10 39 20 00 01 */ li r9, 0x1 .L_80330F34: /* 80330F34 0032DB14 80 67 00 D8 */ lwz r3, 0xd8(r7) -/* 80330F38 0032DB18 38 A9 FF FF */ addi r5, r9, -1 +/* 80330F38 0032DB18 38 A9 FF FF */ subi r5, r9, 0x1 /* 80330F3C 0032DB1C 7C 03 28 AE */ lbzx r0, r3, r5 -/* 80330F40 0032DB20 28 00 00 00 */ cmplwi r0, 0 +/* 80330F40 0032DB20 28 00 00 00 */ cmplwi r0, 0x0 /* 80330F44 0032DB24 41 82 00 3C */ beq .L_80330F80 /* 80330F48 0032DB28 80 67 00 E0 */ lwz r3, 0xe0(r7) /* 80330F4C 0032DB2C 55 00 10 3A */ slwi r0, r8, 2 @@ -1787,21 +1803,21 @@ THPDec_80330F10: /* 80330F64 0032DB44 7C 03 28 AE */ lbzx r0, r3, r5 /* 80330F68 0032DB48 7D 08 02 14 */ add r8, r8, r0 /* 80330F6C 0032DB4C 55 03 10 3A */ slwi r3, r8, 2 -/* 80330F70 0032DB50 38 03 FF FC */ addi r0, r3, -4 +/* 80330F70 0032DB50 38 03 FF FC */ subi r0, r3, 0x4 /* 80330F74 0032DB54 7C 04 00 2E */ lwzx r0, r4, r0 /* 80330F78 0032DB58 90 06 00 44 */ stw r0, 0x44(r6) /* 80330F7C 0032DB5C 48 00 00 10 */ b .L_80330F8C .L_80330F80: -/* 80330F80 0032DB60 38 00 FF FF */ li r0, -1 +/* 80330F80 0032DB60 38 00 FF FF */ li r0, -0x1 /* 80330F84 0032DB64 90 06 00 44 */ stw r0, 0x44(r6) /* 80330F88 0032DB68 90 06 00 8C */ stw r0, 0x8c(r6) .L_80330F8C: /* 80330F8C 0032DB6C 80 67 00 D8 */ lwz r3, 0xd8(r7) -/* 80330F90 0032DB70 38 A9 00 00 */ addi r5, r9, 0 -/* 80330F94 0032DB74 39 29 00 01 */ addi r9, r9, 1 +/* 80330F90 0032DB70 38 A9 00 00 */ addi r5, r9, 0x0 +/* 80330F94 0032DB74 39 29 00 01 */ addi r9, r9, 0x1 /* 80330F98 0032DB78 7C 03 28 AE */ lbzx r0, r3, r5 -/* 80330F9C 0032DB7C 38 C6 00 04 */ addi r6, r6, 4 -/* 80330FA0 0032DB80 28 00 00 00 */ cmplwi r0, 0 +/* 80330F9C 0032DB7C 38 C6 00 04 */ addi r6, r6, 0x4 +/* 80330FA0 0032DB80 28 00 00 00 */ cmplwi r0, 0x0 /* 80330FA4 0032DB84 41 82 00 3C */ beq .L_80330FE0 /* 80330FA8 0032DB88 80 67 00 E0 */ lwz r3, 0xe0(r7) /* 80330FAC 0032DB8C 55 00 10 3A */ slwi r0, r8, 2 @@ -1813,21 +1829,21 @@ THPDec_80330F10: /* 80330FC4 0032DBA4 7C 03 28 AE */ lbzx r0, r3, r5 /* 80330FC8 0032DBA8 7D 08 02 14 */ add r8, r8, r0 /* 80330FCC 0032DBAC 55 03 10 3A */ slwi r3, r8, 2 -/* 80330FD0 0032DBB0 38 03 FF FC */ addi r0, r3, -4 +/* 80330FD0 0032DBB0 38 03 FF FC */ subi r0, r3, 0x4 /* 80330FD4 0032DBB4 7C 04 00 2E */ lwzx r0, r4, r0 /* 80330FD8 0032DBB8 90 06 00 44 */ stw r0, 0x44(r6) /* 80330FDC 0032DBBC 48 00 00 10 */ b .L_80330FEC .L_80330FE0: -/* 80330FE0 0032DBC0 38 00 FF FF */ li r0, -1 +/* 80330FE0 0032DBC0 38 00 FF FF */ li r0, -0x1 /* 80330FE4 0032DBC4 90 06 00 44 */ stw r0, 0x44(r6) /* 80330FE8 0032DBC8 90 06 00 8C */ stw r0, 0x8c(r6) .L_80330FEC: /* 80330FEC 0032DBCC 80 67 00 D8 */ lwz r3, 0xd8(r7) -/* 80330FF0 0032DBD0 38 A9 00 00 */ addi r5, r9, 0 -/* 80330FF4 0032DBD4 39 29 00 01 */ addi r9, r9, 1 +/* 80330FF0 0032DBD0 38 A9 00 00 */ addi r5, r9, 0x0 +/* 80330FF4 0032DBD4 39 29 00 01 */ addi r9, r9, 0x1 /* 80330FF8 0032DBD8 7C 03 28 AE */ lbzx r0, r3, r5 -/* 80330FFC 0032DBDC 38 C6 00 04 */ addi r6, r6, 4 -/* 80331000 0032DBE0 28 00 00 00 */ cmplwi r0, 0 +/* 80330FFC 0032DBDC 38 C6 00 04 */ addi r6, r6, 0x4 +/* 80331000 0032DBE0 28 00 00 00 */ cmplwi r0, 0x0 /* 80331004 0032DBE4 41 82 00 3C */ beq .L_80331040 /* 80331008 0032DBE8 80 67 00 E0 */ lwz r3, 0xe0(r7) /* 8033100C 0032DBEC 55 00 10 3A */ slwi r0, r8, 2 @@ -1839,21 +1855,21 @@ THPDec_80330F10: /* 80331024 0032DC04 7C 03 28 AE */ lbzx r0, r3, r5 /* 80331028 0032DC08 7D 08 02 14 */ add r8, r8, r0 /* 8033102C 0032DC0C 55 03 10 3A */ slwi r3, r8, 2 -/* 80331030 0032DC10 38 03 FF FC */ addi r0, r3, -4 +/* 80331030 0032DC10 38 03 FF FC */ subi r0, r3, 0x4 /* 80331034 0032DC14 7C 04 00 2E */ lwzx r0, r4, r0 /* 80331038 0032DC18 90 06 00 44 */ stw r0, 0x44(r6) /* 8033103C 0032DC1C 48 00 00 10 */ b .L_8033104C .L_80331040: -/* 80331040 0032DC20 38 00 FF FF */ li r0, -1 +/* 80331040 0032DC20 38 00 FF FF */ li r0, -0x1 /* 80331044 0032DC24 90 06 00 44 */ stw r0, 0x44(r6) /* 80331048 0032DC28 90 06 00 8C */ stw r0, 0x8c(r6) .L_8033104C: /* 8033104C 0032DC2C 80 67 00 D8 */ lwz r3, 0xd8(r7) -/* 80331050 0032DC30 38 A9 00 00 */ addi r5, r9, 0 -/* 80331054 0032DC34 39 29 00 01 */ addi r9, r9, 1 +/* 80331050 0032DC30 38 A9 00 00 */ addi r5, r9, 0x0 +/* 80331054 0032DC34 39 29 00 01 */ addi r9, r9, 0x1 /* 80331058 0032DC38 7C 03 28 AE */ lbzx r0, r3, r5 -/* 8033105C 0032DC3C 38 C6 00 04 */ addi r6, r6, 4 -/* 80331060 0032DC40 28 00 00 00 */ cmplwi r0, 0 +/* 8033105C 0032DC3C 38 C6 00 04 */ addi r6, r6, 0x4 +/* 80331060 0032DC40 28 00 00 00 */ cmplwi r0, 0x0 /* 80331064 0032DC44 41 82 00 3C */ beq .L_803310A0 /* 80331068 0032DC48 80 67 00 E0 */ lwz r3, 0xe0(r7) /* 8033106C 0032DC4C 55 00 10 3A */ slwi r0, r8, 2 @@ -1865,44 +1881,45 @@ THPDec_80330F10: /* 80331084 0032DC64 7C 03 28 AE */ lbzx r0, r3, r5 /* 80331088 0032DC68 7D 08 02 14 */ add r8, r8, r0 /* 8033108C 0032DC6C 55 03 10 3A */ slwi r3, r8, 2 -/* 80331090 0032DC70 38 03 FF FC */ addi r0, r3, -4 +/* 80331090 0032DC70 38 03 FF FC */ subi r0, r3, 0x4 /* 80331094 0032DC74 7C 04 00 2E */ lwzx r0, r4, r0 /* 80331098 0032DC78 90 06 00 44 */ stw r0, 0x44(r6) /* 8033109C 0032DC7C 48 00 00 10 */ b .L_803310AC .L_803310A0: -/* 803310A0 0032DC80 38 00 FF FF */ li r0, -1 +/* 803310A0 0032DC80 38 00 FF FF */ li r0, -0x1 /* 803310A4 0032DC84 90 06 00 44 */ stw r0, 0x44(r6) /* 803310A8 0032DC88 90 06 00 8C */ stw r0, 0x8c(r6) .L_803310AC: -/* 803310AC 0032DC8C 38 C6 00 04 */ addi r6, r6, 4 -/* 803310B0 0032DC90 39 29 00 01 */ addi r9, r9, 1 +/* 803310AC 0032DC8C 38 C6 00 04 */ addi r6, r6, 0x4 +/* 803310B0 0032DC90 39 29 00 01 */ addi r9, r9, 0x1 /* 803310B4 0032DC94 42 00 FE 80 */ bdnz .L_80330F34 -/* 803310B8 0032DC98 3C 60 00 10 */ lis r3, 0x000FFFFF@ha -/* 803310BC 0032DC9C 38 03 FF FF */ addi r0, r3, 0x000FFFFF@l +/* 803310B8 0032DC98 3C 60 00 10 */ lis r3, 0x10 +/* 803310BC 0032DC9C 38 03 FF FF */ subi r0, r3, 0x1 /* 803310C0 0032DCA0 90 07 00 88 */ stw r0, 0x88(r7) -/* 803310C4 0032DCA4 38 60 00 00 */ li r3, 0 +/* 803310C4 0032DCA4 38 60 00 00 */ li r3, 0x0 /* 803310C8 0032DCA8 4E 80 00 20 */ blr +.endfn THPDec_80330F10 -.global THPDec_803310CC -THPDec_803310CC: +# .text:0x1A9C | 0x803310CC | size: 0x228 +.fn THPDec_803310CC, local /* 803310CC 0032DCAC 7C 08 02 A6 */ mflr r0 -/* 803310D0 0032DCB0 38 83 00 00 */ addi r4, r3, 0 -/* 803310D4 0032DCB4 90 01 00 04 */ stw r0, 4(r1) -/* 803310D8 0032DCB8 38 00 00 00 */ li r0, 0 -/* 803310DC 0032DCBC 94 21 FF F8 */ stwu r1, -8(r1) +/* 803310D0 0032DCB0 38 83 00 00 */ addi r4, r3, 0x0 +/* 803310D4 0032DCB4 90 01 00 04 */ stw r0, 0x4(r1) +/* 803310D8 0032DCB8 38 00 00 00 */ li r0, 0x0 +/* 803310DC 0032DCBC 94 21 FF F8 */ stwu r1, -0x8(r1) /* 803310E0 0032DCC0 88 C3 00 7A */ lbz r6, 0x7a(r3) /* 803310E4 0032DCC4 A0 A3 00 70 */ lhz r5, 0x70(r3) /* 803310E8 0032DCC8 54 C6 18 38 */ slwi r6, r6, 3 /* 803310EC 0032DCCC 7C A6 2A 14 */ add r5, r6, r5 -/* 803310F0 0032DCD0 38 A5 FF FF */ addi r5, r5, -1 +/* 803310F0 0032DCD0 38 A5 FF FF */ subi r5, r5, 0x1 /* 803310F4 0032DCD4 7C A5 33 D6 */ divw r5, r5, r6 /* 803310F8 0032DCD8 B0 A3 08 CC */ sth r5, 0x8cc(r3) -/* 803310FC 0032DCDC 38 A0 00 00 */ li r5, 0 +/* 803310FC 0032DCDC 38 A0 00 00 */ li r5, 0x0 /* 80331100 0032DCE0 88 E3 00 7B */ lbz r7, 0x7b(r3) /* 80331104 0032DCE4 A0 C3 00 72 */ lhz r6, 0x72(r3) /* 80331108 0032DCE8 54 E7 18 38 */ slwi r7, r7, 3 /* 8033110C 0032DCEC 7C C7 32 14 */ add r6, r7, r6 -/* 80331110 0032DCF0 38 C6 FF FF */ addi r6, r6, -1 +/* 80331110 0032DCF0 38 C6 FF FF */ subi r6, r6, 0x1 /* 80331114 0032DCF4 7C C6 3B D6 */ divw r6, r6, r7 /* 80331118 0032DCF8 B0 C3 08 D0 */ sth r6, 0x8d0(r3) /* 8033111C 0032DCFC B0 03 08 CE */ sth r0, 0x8ce(r3) @@ -1915,7 +1932,7 @@ THPDec_803310CC: /* 80331134 0032DD14 55 08 18 38 */ slwi r8, r8, 3 /* 80331138 0032DD18 7C 07 01 D6 */ mullw r0, r7, r0 /* 8033113C 0032DD1C 7C E8 02 14 */ add r7, r8, r0 -/* 80331140 0032DD20 38 07 FF FF */ addi r0, r7, -1 +/* 80331140 0032DD20 38 07 FF FF */ subi r0, r7, 0x1 /* 80331144 0032DD24 7C 00 43 D6 */ divw r0, r0, r8 /* 80331148 0032DD28 90 04 08 60 */ stw r0, 0x860(r4) /* 8033114C 0032DD2C A0 E3 00 72 */ lhz r7, 0x72(r3) @@ -1924,7 +1941,7 @@ THPDec_803310CC: /* 80331158 0032DD38 7C 07 01 D6 */ mullw r0, r7, r0 /* 8033115C 0032DD3C 55 08 18 38 */ slwi r8, r8, 3 /* 80331160 0032DD40 7C E8 02 14 */ add r7, r8, r0 -/* 80331164 0032DD44 38 07 FF FF */ addi r0, r7, -1 +/* 80331164 0032DD44 38 07 FF FF */ subi r0, r7, 0x1 /* 80331168 0032DD48 7C 00 43 D6 */ divw r0, r0, r8 /* 8033116C 0032DD4C 90 04 08 5C */ stw r0, 0x85c(r4) /* 80331170 0032DD50 88 04 08 39 */ lbz r0, 0x839(r4) @@ -1940,138 +1957,145 @@ THPDec_803310CC: /* 80331198 0032DD78 90 04 08 58 */ stw r0, 0x858(r4) /* 8033119C 0032DD7C 80 E4 08 54 */ lwz r7, 0x854(r4) /* 803311A0 0032DD80 A0 03 08 CE */ lhz r0, 0x8ce(r3) -/* 803311A4 0032DD84 39 47 00 00 */ addi r10, r7, 0 +/* 803311A4 0032DD84 39 47 00 00 */ addi r10, r7, 0x0 /* 803311A8 0032DD88 7C 00 3A 14 */ add r0, r0, r7 /* 803311AC 0032DD8C 2C 00 00 10 */ cmpwi r0, 0x10 /* 803311B0 0032DD90 40 81 00 0C */ ble .L_803311BC /* 803311B4 0032DD94 38 60 00 11 */ li r3, 0x11 /* 803311B8 0032DD98 48 00 01 2C */ b .L_803312E4 .L_803311BC: -/* 803311BC 0032DD9C 2C 0A 00 00 */ cmpwi r10, 0 -/* 803311C0 0032DDA0 38 EA 00 00 */ addi r7, r10, 0 -/* 803311C4 0032DDA4 54 A9 06 3E */ clrlwi r9, r5, 0x18 +/* 803311BC 0032DD9C 2C 0A 00 00 */ cmpwi r10, 0x0 +/* 803311C0 0032DDA0 38 EA 00 00 */ addi r7, r10, 0x0 +/* 803311C4 0032DDA4 54 A9 06 3E */ clrlwi r9, r5, 24 /* 803311C8 0032DDA8 40 81 00 D8 */ ble .L_803312A0 -/* 803311CC 0032DDAC 54 E0 E8 FF */ rlwinm. r0, r7, 0x1d, 3, 0x1f +/* 803311CC 0032DDAC 54 E0 E8 FF */ srwi. r0, r7, 3 /* 803311D0 0032DDB0 7C 09 03 A6 */ mtctr r0 /* 803311D4 0032DDB4 41 82 00 B0 */ beq .L_80331284 .L_803311D8: /* 803311D8 0032DDB8 A1 03 08 CE */ lhz r8, 0x8ce(r3) -/* 803311DC 0032DDBC 38 08 00 01 */ addi r0, r8, 1 +/* 803311DC 0032DDBC 38 08 00 01 */ addi r0, r8, 0x1 /* 803311E0 0032DDC0 B0 03 08 CE */ sth r0, 0x8ce(r3) /* 803311E4 0032DDC4 38 08 08 BC */ addi r0, r8, 0x8bc /* 803311E8 0032DDC8 7D 23 01 AE */ stbx r9, r3, r0 /* 803311EC 0032DDCC A1 03 08 CE */ lhz r8, 0x8ce(r3) -/* 803311F0 0032DDD0 38 08 00 01 */ addi r0, r8, 1 +/* 803311F0 0032DDD0 38 08 00 01 */ addi r0, r8, 0x1 /* 803311F4 0032DDD4 B0 03 08 CE */ sth r0, 0x8ce(r3) /* 803311F8 0032DDD8 38 08 08 BC */ addi r0, r8, 0x8bc /* 803311FC 0032DDDC 7D 23 01 AE */ stbx r9, r3, r0 /* 80331200 0032DDE0 A1 03 08 CE */ lhz r8, 0x8ce(r3) -/* 80331204 0032DDE4 38 08 00 01 */ addi r0, r8, 1 +/* 80331204 0032DDE4 38 08 00 01 */ addi r0, r8, 0x1 /* 80331208 0032DDE8 B0 03 08 CE */ sth r0, 0x8ce(r3) /* 8033120C 0032DDEC 38 08 08 BC */ addi r0, r8, 0x8bc /* 80331210 0032DDF0 7D 23 01 AE */ stbx r9, r3, r0 /* 80331214 0032DDF4 A1 03 08 CE */ lhz r8, 0x8ce(r3) -/* 80331218 0032DDF8 38 08 00 01 */ addi r0, r8, 1 +/* 80331218 0032DDF8 38 08 00 01 */ addi r0, r8, 0x1 /* 8033121C 0032DDFC B0 03 08 CE */ sth r0, 0x8ce(r3) /* 80331220 0032DE00 38 08 08 BC */ addi r0, r8, 0x8bc /* 80331224 0032DE04 7D 23 01 AE */ stbx r9, r3, r0 /* 80331228 0032DE08 A1 03 08 CE */ lhz r8, 0x8ce(r3) -/* 8033122C 0032DE0C 38 08 00 01 */ addi r0, r8, 1 +/* 8033122C 0032DE0C 38 08 00 01 */ addi r0, r8, 0x1 /* 80331230 0032DE10 B0 03 08 CE */ sth r0, 0x8ce(r3) /* 80331234 0032DE14 38 08 08 BC */ addi r0, r8, 0x8bc /* 80331238 0032DE18 7D 23 01 AE */ stbx r9, r3, r0 /* 8033123C 0032DE1C A1 03 08 CE */ lhz r8, 0x8ce(r3) -/* 80331240 0032DE20 38 08 00 01 */ addi r0, r8, 1 +/* 80331240 0032DE20 38 08 00 01 */ addi r0, r8, 0x1 /* 80331244 0032DE24 B0 03 08 CE */ sth r0, 0x8ce(r3) /* 80331248 0032DE28 38 08 08 BC */ addi r0, r8, 0x8bc /* 8033124C 0032DE2C 7D 23 01 AE */ stbx r9, r3, r0 /* 80331250 0032DE30 A1 03 08 CE */ lhz r8, 0x8ce(r3) -/* 80331254 0032DE34 38 08 00 01 */ addi r0, r8, 1 +/* 80331254 0032DE34 38 08 00 01 */ addi r0, r8, 0x1 /* 80331258 0032DE38 B0 03 08 CE */ sth r0, 0x8ce(r3) /* 8033125C 0032DE3C 38 08 08 BC */ addi r0, r8, 0x8bc /* 80331260 0032DE40 7D 23 01 AE */ stbx r9, r3, r0 /* 80331264 0032DE44 A1 03 08 CE */ lhz r8, 0x8ce(r3) -/* 80331268 0032DE48 38 08 00 01 */ addi r0, r8, 1 +/* 80331268 0032DE48 38 08 00 01 */ addi r0, r8, 0x1 /* 8033126C 0032DE4C B0 03 08 CE */ sth r0, 0x8ce(r3) /* 80331270 0032DE50 38 08 08 BC */ addi r0, r8, 0x8bc /* 80331274 0032DE54 7D 23 01 AE */ stbx r9, r3, r0 /* 80331278 0032DE58 42 00 FF 60 */ bdnz .L_803311D8 -/* 8033127C 0032DE5C 70 E7 00 07 */ andi. r7, r7, 7 +/* 8033127C 0032DE5C 70 E7 00 07 */ andi. r7, r7, 0x7 /* 80331280 0032DE60 41 82 00 20 */ beq .L_803312A0 .L_80331284: /* 80331284 0032DE64 7C E9 03 A6 */ mtctr r7 .L_80331288: /* 80331288 0032DE68 A1 03 08 CE */ lhz r8, 0x8ce(r3) -/* 8033128C 0032DE6C 38 08 00 01 */ addi r0, r8, 1 +/* 8033128C 0032DE6C 38 08 00 01 */ addi r0, r8, 0x1 /* 80331290 0032DE70 B0 03 08 CE */ sth r0, 0x8ce(r3) /* 80331294 0032DE74 38 08 08 BC */ addi r0, r8, 0x8bc /* 80331298 0032DE78 7D 23 01 AE */ stbx r9, r3, r0 /* 8033129C 0032DE7C 42 00 FF EC */ bdnz .L_80331288 .L_803312A0: /* 803312A0 0032DE80 A0 03 08 CE */ lhz r0, 0x8ce(r3) -/* 803312A4 0032DE84 28 00 00 06 */ cmplwi r0, 6 +/* 803312A4 0032DE84 28 00 00 06 */ cmplwi r0, 0x6 /* 803312A8 0032DE88 40 81 00 1C */ ble .L_803312C4 /* 803312AC 0032DE8C 3C 60 80 40 */ lis r3, THPDec_80400B4C@ha -/* 803312B0 0032DE90 4C C6 31 82 */ crclr 6 +/* 803312B0 0032DE90 4C C6 31 82 */ crclr cr1eq /* 803312B4 0032DE94 38 63 0B 4C */ addi r3, r3, THPDec_80400B4C@l /* 803312B8 0032DE98 48 01 43 F1 */ bl OSReport -/* 803312BC 0032DE9C 38 60 00 00 */ li r3, 0 +/* 803312BC 0032DE9C 38 60 00 00 */ li r3, 0x0 /* 803312C0 0032DEA0 48 00 00 24 */ b .L_803312E4 .L_803312C4: -/* 803312C4 0032DEA4 38 00 00 00 */ li r0, 0 -/* 803312C8 0032DEA8 B0 06 00 06 */ sth r0, 6(r6) +/* 803312C4 0032DEA4 38 00 00 00 */ li r0, 0x0 +/* 803312C8 0032DEA8 B0 06 00 06 */ sth r0, 0x6(r6) /* 803312CC 0032DEAC 38 84 00 2C */ addi r4, r4, 0x2c -/* 803312D0 0032DEB0 38 A5 00 01 */ addi r5, r5, 1 +/* 803312D0 0032DEB0 38 A5 00 01 */ addi r5, r5, 0x1 .L_803312D4: /* 803312D4 0032DEB4 88 03 00 7C */ lbz r0, 0x7c(r3) /* 803312D8 0032DEB8 7C 05 00 40 */ cmplw r5, r0 /* 803312DC 0032DEBC 41 80 FE 48 */ blt .L_80331124 -/* 803312E0 0032DEC0 38 60 00 00 */ li r3, 0 +/* 803312E0 0032DEC0 38 60 00 00 */ li r3, 0x0 .L_803312E4: /* 803312E4 0032DEC4 80 01 00 0C */ lwz r0, 0xc(r1) -/* 803312E8 0032DEC8 38 21 00 08 */ addi r1, r1, 8 +/* 803312E8 0032DEC8 38 21 00 08 */ addi r1, r1, 0x8 /* 803312EC 0032DECC 7C 08 03 A6 */ mtlr r0 /* 803312F0 0032DED0 4E 80 00 20 */ blr +.endfn THPDec_803310CC -.global THPDec_803312F4 -THPDec_803312F4: -/* 803312F4 0032DED4 38 00 00 01 */ li r0, 1 +# .text:0x1CC4 | 0x803312F4 | size: 0x44 +.fn THPDec_803312F4, local +/* 803312F4 0032DED4 38 00 00 01 */ li r0, 0x1 /* 803312F8 0032DED8 98 03 09 00 */ stb r0, 0x900(r3) -/* 803312FC 0032DEDC 80 83 00 00 */ lwz r4, 0(r3) -/* 80331300 0032DEE0 38 04 00 02 */ addi r0, r4, 2 -/* 80331304 0032DEE4 90 03 00 00 */ stw r0, 0(r3) -/* 80331308 0032DEE8 80 A3 00 00 */ lwz r5, 0(r3) -/* 8033130C 0032DEEC 88 85 00 00 */ lbz r4, 0(r5) -/* 80331310 0032DEF0 88 05 00 01 */ lbz r0, 1(r5) -/* 80331314 0032DEF4 50 80 44 2E */ rlwimi r0, r4, 8, 0x10, 0x17 +/* 803312FC 0032DEDC 80 83 00 00 */ lwz r4, 0x0(r3) +/* 80331300 0032DEE0 38 04 00 02 */ addi r0, r4, 0x2 +/* 80331304 0032DEE4 90 03 00 00 */ stw r0, 0x0(r3) +/* 80331308 0032DEE8 80 A3 00 00 */ lwz r5, 0x0(r3) +/* 8033130C 0032DEEC 88 85 00 00 */ lbz r4, 0x0(r5) +/* 80331310 0032DEF0 88 05 00 01 */ lbz r0, 0x1(r5) +/* 80331314 0032DEF4 50 80 44 2E */ rlwimi r0, r4, 8, 16, 23 /* 80331318 0032DEF8 B0 03 08 FC */ sth r0, 0x8fc(r3) -/* 8033131C 0032DEFC 80 83 00 00 */ lwz r4, 0(r3) -/* 80331320 0032DF00 38 04 00 02 */ addi r0, r4, 2 -/* 80331324 0032DF04 90 03 00 00 */ stw r0, 0(r3) +/* 8033131C 0032DEFC 80 83 00 00 */ lwz r4, 0x0(r3) +/* 80331320 0032DF00 38 04 00 02 */ addi r0, r4, 0x2 +/* 80331324 0032DF04 90 03 00 00 */ stw r0, 0x0(r3) /* 80331328 0032DF08 A0 03 08 FC */ lhz r0, 0x8fc(r3) /* 8033132C 0032DF0C B0 03 08 FE */ sth r0, 0x8fe(r3) -/* 80331330 0032DF10 38 60 00 00 */ li r3, 0 +/* 80331330 0032DF10 38 60 00 00 */ li r3, 0x0 /* 80331334 0032DF14 4E 80 00 20 */ blr -/* 80331338 0032DF18 00 00 00 00 */ .4byte 0x00000000 /* unknown instruction */ -/* 8033133C 0032DF1C 00 00 00 00 */ .4byte 0x00000000 /* unknown instruction */ +.endfn THPDec_803312F4 -.global THPDec_80331340 -THPDec_80331340: +# .text:0x1D08 | 0x80331338 | size: 0x8 +.fn gap_03_80331338_text, global +.hidden gap_03_80331338_text +/* 80331338 0032DF18 00 00 00 00 */ .4byte 0x00000000 /* invalid */ +/* 8033133C 0032DF1C 00 00 00 00 */ .4byte 0x00000000 /* invalid */ +.endfn gap_03_80331338_text + +# .text:0x1D10 | 0x80331340 | size: 0x88 +.fn THPDec_80331340, global /* 80331340 0032DF20 7C 08 02 A6 */ mflr r0 -/* 80331344 0032DF24 90 01 00 04 */ stw r0, 4(r1) +/* 80331344 0032DF24 90 01 00 04 */ stw r0, 0x4(r1) /* 80331348 0032DF28 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8033134C 0032DF2C 93 E1 00 1C */ stw r31, 0x1c(r1) /* 80331350 0032DF30 7C 7F 1B 78 */ mr r31, r3 /* 80331354 0032DF34 90 83 08 F0 */ stw r4, 0x8f0(r3) /* 80331358 0032DF38 90 A3 08 F4 */ stw r5, 0x8f4(r3) /* 8033135C 0032DF3C 90 C3 08 F8 */ stw r6, 0x8f8(r3) -/* 80331360 0032DF40 38 60 00 07 */ li r3, 7 -/* 80331364 0032DF44 64 63 00 07 */ oris r3, r3, 7 -/* 80331368 0032DF48 7C 75 E3 A6 */ mtspr 0x395, r3 +/* 80331360 0032DF40 38 60 00 07 */ li r3, 0x7 +/* 80331364 0032DF44 64 63 00 07 */ oris r3, r3, 0x7 +/* 80331368 0032DF48 7C 75 E3 A6 */ mtspr GQR5, r3 /* 8033136C 0032DF4C 38 60 3D 04 */ li r3, 0x3d04 /* 80331370 0032DF50 64 63 3D 04 */ oris r3, r3, 0x3d04 -/* 80331374 0032DF54 7C 76 E3 A6 */ mtspr 0x396, r3 -/* 80331378 0032DF58 38 7F 00 00 */ addi r3, r31, 0 +/* 80331374 0032DF54 7C 76 E3 A6 */ mtspr GQR6, r3 +/* 80331378 0032DF58 38 7F 00 00 */ addi r3, r31, 0x0 /* 8033137C 0032DF5C 4B FF E2 B5 */ bl __THPPrepBitStream /* 80331380 0032DF60 48 00 00 1C */ b .L_8033139C .L_80331384: @@ -2093,13 +2117,19 @@ THPDec_80331340: /* 803313BC 0032DF9C 38 21 00 20 */ addi r1, r1, 0x20 /* 803313C0 0032DFA0 7C 08 03 A6 */ mtlr r0 /* 803313C4 0032DFA4 4E 80 00 20 */ blr -/* 803313C8 0032DFA8 00 00 00 00 */ .4byte 0x00000000 /* unknown instruction */ -/* 803313CC 0032DFAC 00 00 00 00 */ .4byte 0x00000000 /* unknown instruction */ +.endfn THPDec_80331340 + +# .text:0x1D98 | 0x803313C8 | size: 0x8 +.fn gap_03_803313C8_text, global +.hidden gap_03_803313C8_text +/* 803313C8 0032DFA8 00 00 00 00 */ .4byte 0x00000000 /* invalid */ +/* 803313CC 0032DFAC 00 00 00 00 */ .4byte 0x00000000 /* invalid */ +.endfn gap_03_803313C8_text -.global THPDec_803313D0 -THPDec_803313D0: +# .text:0x1DA0 | 0x803313D0 | size: 0x98 +.fn THPDec_803313D0, global /* 803313D0 0032DFB0 7C 08 02 A6 */ mflr r0 -/* 803313D4 0032DFB4 90 01 00 04 */ stw r0, 4(r1) +/* 803313D4 0032DFB4 90 01 00 04 */ stw r0, 0x4(r1) /* 803313D8 0032DFB8 94 21 FF D8 */ stwu r1, -0x28(r1) /* 803313DC 0032DFBC 93 E1 00 24 */ stw r31, 0x24(r1) /* 803313E0 0032DFC0 7C FF 3B 78 */ mr r31, r7 @@ -2108,18 +2138,18 @@ THPDec_803313D0: /* 803313EC 0032DFCC 90 83 08 F0 */ stw r4, 0x8f0(r3) /* 803313F0 0032DFD0 90 A3 08 F4 */ stw r5, 0x8f4(r3) /* 803313F4 0032DFD4 90 C3 08 F8 */ stw r6, 0x8f8(r3) -/* 803313F8 0032DFD8 38 60 00 07 */ li r3, 7 -/* 803313FC 0032DFDC 64 63 00 07 */ oris r3, r3, 7 -/* 80331400 0032DFE0 7C 75 E3 A6 */ mtspr 0x395, r3 +/* 803313F8 0032DFD8 38 60 00 07 */ li r3, 0x7 +/* 803313FC 0032DFDC 64 63 00 07 */ oris r3, r3, 0x7 +/* 80331400 0032DFE0 7C 75 E3 A6 */ mtspr GQR5, r3 /* 80331404 0032DFE4 38 60 3D 04 */ li r3, 0x3d04 /* 80331408 0032DFE8 64 63 3D 04 */ oris r3, r3, 0x3d04 -/* 8033140C 0032DFEC 7C 76 E3 A6 */ mtspr 0x396, r3 -/* 80331410 0032DFF0 38 7E 00 00 */ addi r3, r30, 0 +/* 8033140C 0032DFEC 7C 76 E3 A6 */ mtspr GQR6, r3 +/* 80331410 0032DFF0 38 7E 00 00 */ addi r3, r30, 0x0 /* 80331414 0032DFF4 4B FF E2 1D */ bl __THPPrepBitStream /* 80331418 0032DFF8 48 00 00 20 */ b .L_80331438 .L_8033141C: -/* 8033141C 0032DFFC 38 7E 00 00 */ addi r3, r30, 0 -/* 80331420 0032E000 38 9F 00 00 */ addi r4, r31, 0 +/* 8033141C 0032DFFC 38 7E 00 00 */ addi r3, r30, 0x0 +/* 80331420 0032E000 38 9F 00 00 */ addi r4, r31, 0x0 /* 80331424 0032E004 48 00 1A 5D */ bl __THPDecompressiMCURowNxN /* 80331428 0032E008 A0 9E 08 EE */ lhz r4, 0x8ee(r30) /* 8033142C 0032E00C A0 1E 08 D4 */ lhz r0, 0x8d4(r30) @@ -2138,14 +2168,20 @@ THPDec_803313D0: /* 8033145C 0032E03C 7C 08 03 A6 */ mtlr r0 /* 80331460 0032E040 38 21 00 28 */ addi r1, r1, 0x28 /* 80331464 0032E044 4E 80 00 20 */ blr -/* 80331468 0032E048 00 00 00 00 */ .4byte 0x00000000 /* unknown instruction */ -/* 8033146C 0032E04C 00 00 00 00 */ .4byte 0x00000000 /* unknown instruction */ +.endfn THPDec_803313D0 -.global __THPDecompressiMCURow640x480 -__THPDecompressiMCURow640x480: +# .text:0x1E38 | 0x80331468 | size: 0x8 +.fn gap_03_80331468_text, global +.hidden gap_03_80331468_text +/* 80331468 0032E048 00 00 00 00 */ .4byte 0x00000000 /* invalid */ +/* 8033146C 0032E04C 00 00 00 00 */ .4byte 0x00000000 /* invalid */ +.endfn gap_03_80331468_text + +# .text:0x1E40 | 0x80331470 | size: 0x1A0C +.fn __THPDecompressiMCURow640x480, local /* 80331470 0032E050 7C 08 02 A6 */ mflr r0 /* 80331474 0032E054 3C 80 80 4A */ lis r4, THPDec_804A7300@ha -/* 80331478 0032E058 90 01 00 04 */ stw r0, 4(r1) +/* 80331478 0032E058 90 01 00 04 */ stw r0, 0x4(r1) /* 8033147C 0032E05C 94 21 FF B8 */ stwu r1, -0x48(r1) /* 80331480 0032E060 DB E1 00 40 */ stfd f31, 0x40(r1) /* 80331484 0032E064 DB C1 00 38 */ stfd f30, 0x38(r1) @@ -2157,17 +2193,17 @@ __THPDecompressiMCURow640x480: /* 8033149C 0032E07C 3B C4 73 00 */ addi r30, r4, THPDec_804A7300@l /* 803314A0 0032E080 93 A1 00 14 */ stw r29, 0x14(r1) /* 803314A4 0032E084 93 81 00 10 */ stw r28, 0x10(r1) -/* 803314A8 0032E088 3B 83 00 00 */ addi r28, r3, 0 -/* 803314AC 0032E08C 38 60 00 03 */ li r3, 3 +/* 803314A8 0032E088 3B 83 00 00 */ addi r28, r3, 0x0 +/* 803314AC 0032E08C 38 60 00 03 */ li r3, 0x3 /* 803314B0 0032E090 48 01 36 7D */ bl LCQueueWait /* 803314B4 0032E094 3C 60 80 4A */ lis r3, THPDec_804A747C@ha -/* 803314B8 0032E098 C3 62 E8 08 */ lfs f27, THPDec_804DE1E8@sda21(r2) -/* 803314BC 0032E09C C3 82 E8 0C */ lfs f28, THPDec_804DE1EC@sda21(r2) +/* 803314B8 0032E098 C3 62 E8 08 */ lfs f27, THPDec_804DE1E8@sda21(r0) +/* 803314BC 0032E09C C3 82 E8 0C */ lfs f28, THPDec_804DE1EC@sda21(r0) /* 803314C0 0032E0A0 3B E3 74 7C */ addi r31, r3, THPDec_804A747C@l -/* 803314C4 0032E0A4 C3 A2 E8 10 */ lfs f29, THPDec_804DE1F0@sda21(r2) -/* 803314C8 0032E0A8 3B A0 00 00 */ li r29, 0 -/* 803314CC 0032E0AC C3 C2 E8 14 */ lfs f30, THPDec_804DE1F4@sda21(r2) -/* 803314D0 0032E0B0 C3 E2 E8 18 */ lfs f31, THPDec_804DE1F8@sda21(r2) +/* 803314C4 0032E0A4 C3 A2 E8 10 */ lfs f29, THPDec_804DE1F0@sda21(r0) +/* 803314C8 0032E0A8 3B A0 00 00 */ li r29, 0x0 +/* 803314CC 0032E0AC C3 C2 E8 14 */ lfs f30, THPDec_804DE1F4@sda21(r0) +/* 803314D0 0032E0B0 C3 E2 E8 18 */ lfs f31, THPDec_804DE1F8@sda21(r0) /* 803314D4 0032E0B4 48 00 19 08 */ b .L_80332DDC .L_803314D8: /* 803314D8 0032E0B8 7F 83 E3 78 */ mr r3, r28 @@ -2188,42 +2224,42 @@ __THPDecompressiMCURow640x480: /* 80331514 0032E0F4 7F 83 E3 78 */ mr r3, r28 /* 80331518 0032E0F8 80 9C 00 24 */ lwz r4, 0x24(r28) /* 8033151C 0032E0FC 48 00 40 95 */ bl __THPHuffDecodeDCTCompV -/* 80331520 0032E100 80 7F 00 00 */ lwz r3, 0(r31) +/* 80331520 0032E100 80 7F 00 00 */ lwz r3, 0x0(r31) /* 80331524 0032E104 38 00 02 80 */ li r0, 0x280 -/* 80331528 0032E108 57 A4 25 36 */ rlwinm r4, r29, 4, 0x14, 0x1b -/* 8033152C 0032E10C 90 6D BB 20 */ stw r3, Gbase@sda21(r13) -/* 80331530 0032E110 38 7E FF F8 */ addi r3, r30, -8 -/* 80331534 0032E114 90 0D BB 40 */ stw r0, Gwid@sda21(r13) +/* 80331528 0032E108 57 A4 25 36 */ clrlslwi r4, r29, 24, 4 +/* 8033152C 0032E10C 90 6D BB 20 */ stw r3, Gbase@sda21(r0) +/* 80331530 0032E110 38 7E FF F8 */ subi r3, r30, 0x8 +/* 80331534 0032E114 90 0D BB 40 */ stw r0, Gwid@sda21(r0) /* 80331538 0032E118 88 1C 08 3B */ lbz r0, 0x83b(r28) /* 8033153C 0032E11C 54 05 40 2E */ slwi r5, r0, 8 /* 80331540 0032E120 38 05 04 38 */ addi r0, r5, 0x438 /* 80331544 0032E124 7C 1C 02 14 */ add r0, r28, r0 -/* 80331548 0032E128 90 0D BB 60 */ stw r0, Gq@sda21(r13) +/* 80331548 0032E128 90 0D BB 60 */ stw r0, Gq@sda21(r0) /* 8033154C 0032E12C 81 1C 00 10 */ lwz r8, 0x10(r28) -/* 80331550 0032E130 80 ED BB 60 */ lwz r7, Gq@sda21(r13) -/* 80331554 0032E134 38 00 00 08 */ li r0, 8 +/* 80331550 0032E130 80 ED BB 60 */ lwz r7, Gq@sda21(r0) +/* 80331554 0032E134 38 00 00 08 */ li r0, 0x8 /* 80331558 0032E138 7C 09 03 A6 */ mtctr r0 .L_8033155C: -/* 8033155C 0032E13C E0 E8 50 00 */ psq_l f7, 0(r8), 0, qr5 -/* 80331560 0032E140 E0 C7 00 00 */ psq_l f6, 0(r7), 0, qr0 +/* 8033155C 0032E13C E0 E8 50 00 */ psq_l f7, 0x0(r8), 0, qr5 +/* 80331560 0032E140 E0 C7 00 00 */ psq_l f6, 0x0(r7), 0, qr0 /* 80331564 0032E144 80 C8 00 0C */ lwz r6, 0xc(r8) -/* 80331568 0032E148 80 08 00 08 */ lwz r0, 8(r8) +/* 80331568 0032E148 80 08 00 08 */ lwz r0, 0x8(r8) /* 8033156C 0032E14C 10 E7 01 B2 */ ps_mul f7, f7, f6 -/* 80331570 0032E150 80 A8 00 04 */ lwz r5, 4(r8) +/* 80331570 0032E150 80 A8 00 04 */ lwz r5, 0x4(r8) .L_80331574: /* 80331574 0032E154 7C C6 03 79 */ or. r6, r6, r0 -/* 80331578 0032E158 A0 08 00 02 */ lhz r0, 2(r8) +/* 80331578 0032E158 A0 08 00 02 */ lhz r0, 0x2(r8) /* 8033157C 0032E15C 40 82 01 38 */ bne .L_803316B4 /* 80331580 0032E160 10 87 3C 20 */ ps_merge00 f4, f7, f7 -/* 80331584 0032E164 2C 05 00 00 */ cmpwi r5, 0 -/* 80331588 0032E168 F0 83 00 08 */ psq_st f4, 8(r3), 0, qr0 +/* 80331584 0032E164 2C 05 00 00 */ cmpwi r5, 0x0 +/* 80331588 0032E168 F0 83 00 08 */ psq_st f4, 0x8(r3), 0, qr0 /* 8033158C 0032E16C 40 82 00 94 */ bne .L_80331620 -/* 80331590 0032E170 F0 83 00 10 */ psq_st f4, 16(r3), 0, qr0 -/* 80331594 0032E174 2C 00 00 00 */ cmpwi r0, 0 -/* 80331598 0032E178 F0 83 00 18 */ psq_st f4, 24(r3), 0, qr0 +/* 80331590 0032E170 F0 83 00 10 */ psq_st f4, 0x10(r3), 0, qr0 +/* 80331594 0032E174 2C 00 00 00 */ cmpwi r0, 0x0 +/* 80331598 0032E178 F0 83 00 18 */ psq_st f4, 0x18(r3), 0, qr0 /* 8033159C 0032E17C 40 82 00 18 */ bne .L_803315B4 /* 803315A0 0032E180 38 E7 00 20 */ addi r7, r7, 0x20 -/* 803315A4 0032E184 F4 83 00 20 */ psq_stu f4, 32(r3), 0, qr0 +/* 803315A4 0032E184 F4 83 00 20 */ psq_stu f4, 0x20(r3), 0, qr0 /* 803315A8 0032E188 39 08 00 10 */ addi r8, r8, 0x10 /* 803315AC 0032E18C 42 00 FF B0 */ bdnz .L_8033155C /* 803315B0 0032E190 48 00 01 C4 */ b .L_80331774 @@ -2232,32 +2268,32 @@ __THPDecompressiMCURow640x480: /* 803315B8 0032E198 11 A7 3F 38 */ ps_msub f13, f7, f28, f7 /* 803315BC 0032E19C 38 E7 00 20 */ addi r7, r7, 0x20 /* 803315C0 0032E1A0 10 47 3C 20 */ ps_merge00 f2, f7, f7 -/* 803315C4 0032E1A4 80 A8 00 04 */ lwz r5, 4(r8) +/* 803315C4 0032E1A4 80 A8 00 04 */ lwz r5, 0x4(r8) /* 803315C8 0032E1A8 10 3C E8 28 */ ps_sub f1, f28, f29 /* 803315CC 0032E1AC 11 87 6E F8 */ ps_msub f12, f7, f27, f13 /* 803315D0 0032E1B0 11 47 6C E0 */ ps_merge11 f10, f7, f13 -/* 803315D4 0032E1B4 E0 C7 00 00 */ psq_l f6, 0(r7), 0, qr0 +/* 803315D4 0032E1B4 E0 C7 00 00 */ psq_l f6, 0x0(r7), 0, qr0 /* 803315D8 0032E1B8 11 67 60 7C */ ps_nmsub f11, f7, f1, f12 /* 803315DC 0032E1BC 11 02 50 2A */ ps_add f8, f2, f10 -/* 803315E0 0032E1C0 E0 E8 50 00 */ psq_l f7, 0(r8), 0, qr5 +/* 803315E0 0032E1C0 E0 E8 50 00 */ psq_l f7, 0x0(r8), 0, qr5 /* 803315E4 0032E1C4 11 2C 5C E0 */ ps_merge11 f9, f12, f11 /* 803315E8 0032E1C8 11 42 50 28 */ ps_sub f10, f2, f10 /* 803315EC 0032E1CC 80 C8 00 0C */ lwz r6, 0xc(r8) /* 803315F0 0032E1D0 10 62 48 2A */ ps_add f3, f2, f9 -/* 803315F4 0032E1D4 80 08 00 08 */ lwz r0, 8(r8) +/* 803315F4 0032E1D4 80 08 00 08 */ lwz r0, 0x8(r8) /* 803315F8 0032E1D8 11 22 48 28 */ ps_sub f9, f2, f9 -/* 803315FC 0032E1DC F5 03 00 08 */ psq_stu f8, 8(r3), 0, qr0 +/* 803315FC 0032E1DC F5 03 00 08 */ psq_stu f8, 0x8(r3), 0, qr0 /* 80331600 0032E1E0 11 29 4C A0 */ ps_merge10 f9, f9, f9 -/* 80331604 0032E1E4 F4 63 00 08 */ psq_stu f3, 8(r3), 0, qr0 +/* 80331604 0032E1E4 F4 63 00 08 */ psq_stu f3, 0x8(r3), 0, qr0 /* 80331608 0032E1E8 11 4A 54 A0 */ ps_merge10 f10, f10, f10 -/* 8033160C 0032E1EC F5 23 00 08 */ psq_stu f9, 8(r3), 0, qr0 +/* 8033160C 0032E1EC F5 23 00 08 */ psq_stu f9, 0x8(r3), 0, qr0 /* 80331610 0032E1F0 10 E7 01 B2 */ ps_mul f7, f7, f6 -/* 80331614 0032E1F4 F5 43 00 08 */ psq_stu f10, 8(r3), 0, qr0 +/* 80331614 0032E1F4 F5 43 00 08 */ psq_stu f10, 0x8(r3), 0, qr0 /* 80331618 0032E1F8 42 00 FF 5C */ bdnz .L_80331574 /* 8033161C 0032E1FC 48 00 01 58 */ b .L_80331774 .L_80331620: -/* 80331620 0032E200 E0 28 50 04 */ psq_l f1, 4(r8), 0, qr5 -/* 80331624 0032E204 E0 47 00 08 */ psq_l f2, 8(r7), 0, qr0 +/* 80331620 0032E200 E0 28 50 04 */ psq_l f1, 0x4(r8), 0, qr5 +/* 80331624 0032E204 E0 47 00 08 */ psq_l f2, 0x8(r7), 0, qr0 /* 80331628 0032E208 39 08 00 10 */ addi r8, r8, 0x10 /* 8033162C 0032E20C 10 21 00 B2 */ ps_mul f1, f1, f2 /* 80331630 0032E210 38 E7 00 20 */ addi r7, r7, 0x20 @@ -2268,41 +2304,41 @@ __THPDecompressiMCURow640x480: /* 80331644 0032E224 11 41 6E FC */ ps_nmsub f10, f1, f27, f13 /* 80331648 0032E228 10 6C 07 32 */ ps_mul f3, f12, f28 /* 8033164C 0032E22C 11 6D 5C 20 */ ps_merge00 f11, f13, f11 -/* 80331650 0032E230 80 08 00 08 */ lwz r0, 8(r8) +/* 80331650 0032E230 80 08 00 08 */ lwz r0, 0x8(r8) /* 80331654 0032E234 11 21 1F BC */ ps_nmsub f9, f1, f30, f3 /* 80331658 0032E238 11 4A 64 20 */ ps_merge00 f10, f10, f12 -/* 8033165C 0032E23C 80 A8 00 04 */ lwz r5, 4(r8) +/* 8033165C 0032E23C 80 A8 00 04 */ lwz r5, 0x4(r8) /* 80331660 0032E240 11 29 68 28 */ ps_sub f9, f9, f13 /* 80331664 0032E244 11 07 1F 7C */ ps_nmsub f8, f7, f29, f3 /* 80331668 0032E248 11 AD 4C E0 */ ps_merge11 f13, f13, f9 /* 8033166C 0032E24C 10 6C 4E F8 */ ps_msub f3, f12, f27, f9 -/* 80331670 0032E250 E0 E8 50 00 */ psq_l f7, 0(r8), 0, qr5 +/* 80331670 0032E250 E0 E8 50 00 */ psq_l f7, 0x0(r8), 0, qr5 /* 80331674 0032E254 10 4B 68 2A */ ps_add f2, f11, f13 /* 80331678 0032E258 11 08 18 28 */ ps_sub f8, f8, f3 -/* 8033167C 0032E25C E0 C7 00 00 */ psq_l f6, 0(r7), 0, qr0 +/* 8033167C 0032E25C E0 C7 00 00 */ psq_l f6, 0x0(r7), 0, qr0 /* 80331680 0032E260 11 83 44 E0 */ ps_merge11 f12, f3, f8 /* 80331684 0032E264 11 6B 68 28 */ ps_sub f11, f11, f13 -/* 80331688 0032E268 F4 43 00 08 */ psq_stu f2, 8(r3), 0, qr0 +/* 80331688 0032E268 F4 43 00 08 */ psq_stu f2, 0x8(r3), 0, qr0 /* 8033168C 0032E26C 10 8A 60 2A */ ps_add f4, f10, f12 /* 80331690 0032E270 10 2A 60 28 */ ps_sub f1, f10, f12 -/* 80331694 0032E274 F4 83 00 08 */ psq_stu f4, 8(r3), 0, qr0 +/* 80331694 0032E274 F4 83 00 08 */ psq_stu f4, 0x8(r3), 0, qr0 /* 80331698 0032E278 10 21 0C A0 */ ps_merge10 f1, f1, f1 /* 8033169C 0032E27C 11 6B 5C A0 */ ps_merge10 f11, f11, f11 -/* 803316A0 0032E280 F4 23 00 08 */ psq_stu f1, 8(r3), 0, qr0 +/* 803316A0 0032E280 F4 23 00 08 */ psq_stu f1, 0x8(r3), 0, qr0 /* 803316A4 0032E284 10 E7 01 B2 */ ps_mul f7, f7, f6 -/* 803316A8 0032E288 F5 63 00 08 */ psq_stu f11, 8(r3), 0, qr0 +/* 803316A8 0032E288 F5 63 00 08 */ psq_stu f11, 0x8(r3), 0, qr0 /* 803316AC 0032E28C 42 00 FE C8 */ bdnz .L_80331574 /* 803316B0 0032E290 48 00 00 C4 */ b .L_80331774 .L_803316B4: -/* 803316B4 0032E294 E0 48 50 04 */ psq_l f2, 4(r8), 0, qr5 -/* 803316B8 0032E298 E1 47 00 08 */ psq_l f10, 8(r7), 0, qr0 +/* 803316B4 0032E294 E0 48 50 04 */ psq_l f2, 0x4(r8), 0, qr5 +/* 803316B8 0032E298 E1 47 00 08 */ psq_l f10, 0x8(r7), 0, qr0 /* 803316BC 0032E29C 10 42 02 B2 */ ps_mul f2, f2, f10 -/* 803316C0 0032E2A0 E1 A8 50 08 */ psq_l f13, 8(r8), 0, qr5 -/* 803316C4 0032E2A4 E1 27 00 10 */ psq_l f9, 16(r7), 0, qr0 +/* 803316C0 0032E2A0 E1 A8 50 08 */ psq_l f13, 0x8(r8), 0, qr5 +/* 803316C4 0032E2A4 E1 27 00 10 */ psq_l f9, 0x10(r7), 0, qr0 /* 803316C8 0032E2A8 10 87 14 60 */ ps_merge01 f4, f7, f2 -/* 803316CC 0032E2AC E1 88 50 0C */ psq_l f12, 12(r8), 0, qr5 +/* 803316CC 0032E2AC E1 88 50 0C */ psq_l f12, 0xc(r8), 0, qr5 /* 803316D0 0032E2B0 10 22 3C 60 */ ps_merge01 f1, f2, f7 -/* 803316D4 0032E2B4 E1 07 00 18 */ psq_l f8, 24(r7), 0, qr0 +/* 803316D4 0032E2B4 E1 07 00 18 */ psq_l f8, 0x18(r7), 0, qr0 /* 803316D8 0032E2B8 39 08 00 10 */ addi r8, r8, 0x10 /* 803316DC 0032E2BC 11 6D 22 7A */ ps_madd f11, f13, f9, f4 /* 803316E0 0032E2C0 11 4D 22 7C */ ps_nmsub f10, f13, f9, f4 @@ -2317,47 +2353,47 @@ __THPDecompressiMCURow640x480: /* 80331704 0032E2E4 10 2A 68 2A */ ps_add f1, f10, f13 /* 80331708 0032E2E8 11 AA 68 28 */ ps_sub f13, f10, f13 /* 8033170C 0032E2EC 10 63 07 32 */ ps_mul f3, f3, f28 -/* 80331710 0032E2F0 80 08 00 08 */ lwz r0, 8(r8) +/* 80331710 0032E2F0 80 08 00 08 */ lwz r0, 0x8(r8) /* 80331714 0032E2F4 10 24 0C 20 */ ps_merge00 f1, f4, f1 /* 80331718 0032E2F8 11 2A 1F BC */ ps_nmsub f9, f10, f30, f3 /* 8033171C 0032E2FC 11 68 1F 78 */ ps_msub f11, f8, f29, f3 -/* 80331720 0032E300 80 A8 00 04 */ lwz r5, 4(r8) +/* 80331720 0032E300 80 A8 00 04 */ lwz r5, 0x4(r8) /* 80331724 0032E304 11 29 20 28 */ ps_sub f9, f9, f4 /* 80331728 0032E308 11 AD 64 20 */ ps_merge00 f13, f13, f12 /* 8033172C 0032E30C 11 4C 4E FA */ ps_madd f10, f12, f27, f9 /* 80331730 0032E310 11 04 4C E0 */ ps_merge11 f8, f4, f9 -/* 80331734 0032E314 E0 E8 50 00 */ psq_l f7, 0(r8), 0, qr5 +/* 80331734 0032E314 E0 E8 50 00 */ psq_l f7, 0x0(r8), 0, qr5 /* 80331738 0032E318 11 6B 50 28 */ ps_sub f11, f11, f10 /* 8033173C 0032E31C 11 81 40 2A */ ps_add f12, f1, f8 -/* 80331740 0032E320 E0 C7 00 00 */ psq_l f6, 0(r7), 0, qr0 +/* 80331740 0032E320 E0 C7 00 00 */ psq_l f6, 0x0(r7), 0, qr0 /* 80331744 0032E324 11 6A 5C E0 */ ps_merge11 f11, f10, f11 /* 80331748 0032E328 10 81 40 28 */ ps_sub f4, f1, f8 /* 8033174C 0032E32C 10 E7 01 B2 */ ps_mul f7, f7, f6 /* 80331750 0032E330 11 4D 58 2A */ ps_add f10, f13, f11 /* 80331754 0032E334 11 2D 58 28 */ ps_sub f9, f13, f11 /* 80331758 0032E338 11 4A 54 A0 */ ps_merge10 f10, f10, f10 -/* 8033175C 0032E33C F5 83 00 08 */ psq_stu f12, 8(r3), 0, qr0 +/* 8033175C 0032E33C F5 83 00 08 */ psq_stu f12, 0x8(r3), 0, qr0 /* 80331760 0032E340 10 84 24 A0 */ ps_merge10 f4, f4, f4 -/* 80331764 0032E344 F5 23 00 08 */ psq_stu f9, 8(r3), 0, qr0 -/* 80331768 0032E348 F5 43 00 08 */ psq_stu f10, 8(r3), 0, qr0 -/* 8033176C 0032E34C F4 83 00 08 */ psq_stu f4, 8(r3), 0, qr0 +/* 80331764 0032E344 F5 23 00 08 */ psq_stu f9, 0x8(r3), 0, qr0 +/* 80331768 0032E348 F5 43 00 08 */ psq_stu f10, 0x8(r3), 0, qr0 +/* 8033176C 0032E34C F4 83 00 08 */ psq_stu f4, 0x8(r3), 0, qr0 /* 80331770 0032E350 42 00 FE 04 */ bdnz .L_80331574 .L_80331774: -/* 80331774 0032E354 81 2D BB 20 */ lwz r9, Gbase@sda21(r13) +/* 80331774 0032E354 81 2D BB 20 */ lwz r9, Gbase@sda21(r0) /* 80331778 0032E358 7F C3 F3 78 */ mr r3, r30 -/* 8033177C 0032E35C 80 0D BB 40 */ lwz r0, Gwid@sda21(r13) -/* 80331780 0032E360 E0 E3 00 00 */ psq_l f7, 0(r3), 0, qr0 +/* 8033177C 0032E35C 80 0D BB 40 */ lwz r0, Gwid@sda21(r0) +/* 80331780 0032E360 E0 E3 00 00 */ psq_l f7, 0x0(r3), 0, qr0 /* 80331784 0032E364 54 85 10 3A */ slwi r5, r4, 2 -/* 80331788 0032E368 E0 C3 00 80 */ psq_l f6, 128(r3), 0, qr0 +/* 80331788 0032E368 E0 C3 00 80 */ psq_l f6, 0x80(r3), 0, qr0 /* 8033178C 0032E36C 54 07 10 3A */ slwi r7, r0, 2 -/* 80331790 0032E370 E0 A3 00 40 */ psq_l f5, 64(r3), 0, qr0 +/* 80331790 0032E370 E0 A3 00 40 */ psq_l f5, 0x40(r3), 0, qr0 /* 80331794 0032E374 7C A8 2B 78 */ mr r8, r5 /* 80331798 0032E378 11 27 30 2A */ ps_add f9, f7, f6 -/* 8033179C 0032E37C E0 83 00 C0 */ psq_l f4, 192(r3), 0, qr0 +/* 8033179C 0032E37C E0 83 00 C0 */ psq_l f4, 0xc0(r3), 0, qr0 /* 803317A0 0032E380 10 67 30 28 */ ps_sub f3, f7, f6 /* 803317A4 0032E384 7C E8 3A 14 */ add r7, r8, r7 /* 803317A8 0032E388 11 29 F8 2A */ ps_add f9, f9, f31 -/* 803317AC 0032E38C 38 00 00 03 */ li r0, 3 +/* 803317AC 0032E38C 38 00 00 03 */ li r0, 0x3 /* 803317B0 0032E390 11 05 20 2A */ ps_add f8, f5, f4 /* 803317B4 0032E394 7C C9 42 14 */ add r6, r9, r8 /* 803317B8 0032E398 10 45 20 28 */ ps_sub f2, f5, f4 @@ -2366,68 +2402,68 @@ __THPDecompressiMCURow640x480: /* 803317C4 0032E3A4 10 63 F8 2A */ ps_add f3, f3, f31 /* 803317C8 0032E3A8 7C 09 03 A6 */ mtctr r0 .L_803317CC: -/* 803317CC 0032E3AC E1 63 00 20 */ psq_l f11, 32(r3), 0, qr0 +/* 803317CC 0032E3AC E1 63 00 20 */ psq_l f11, 0x20(r3), 0, qr0 /* 803317D0 0032E3B0 10 42 46 F8 */ ps_msub f2, f2, f27, f8 -/* 803317D4 0032E3B4 E1 43 00 60 */ psq_l f10, 96(r3), 0, qr0 +/* 803317D4 0032E3B4 E1 43 00 60 */ psq_l f10, 0x60(r3), 0, qr0 /* 803317D8 0032E3B8 11 89 40 28 */ ps_sub f12, f9, f8 /* 803317DC 0032E3BC 10 23 10 2A */ ps_add f1, f3, f2 -/* 803317E0 0032E3C0 E1 23 00 A0 */ psq_l f9, 160(r3), 0, qr0 +/* 803317E0 0032E3C0 E1 23 00 A0 */ psq_l f9, 0xa0(r3), 0, qr0 /* 803317E4 0032E3C4 11 A3 10 28 */ ps_sub f13, f3, f2 -/* 803317E8 0032E3C8 E1 03 00 E0 */ psq_l f8, 224(r3), 0, qr0 +/* 803317E8 0032E3C8 E1 03 00 E0 */ psq_l f8, 0xe0(r3), 0, qr0 /* 803317EC 0032E3CC 10 69 50 2A */ ps_add f3, f9, f10 /* 803317F0 0032E3D0 11 29 50 28 */ ps_sub f9, f9, f10 -/* 803317F4 0032E3D4 38 63 00 08 */ addi r3, r3, 8 +/* 803317F4 0032E3D4 38 63 00 08 */ addi r3, r3, 0x8 /* 803317F8 0032E3D8 10 4B 40 2A */ ps_add f2, f11, f8 /* 803317FC 0032E3DC 11 6B 40 28 */ ps_sub f11, f11, f8 -/* 80331800 0032E3E0 E0 E3 00 00 */ psq_l f7, 0(r3), 0, qr0 +/* 80331800 0032E3E0 E0 E3 00 00 */ psq_l f7, 0x0(r3), 0, qr0 /* 80331804 0032E3E4 11 02 18 2A */ ps_add f8, f2, f3 /* 80331808 0032E3E8 11 42 18 28 */ ps_sub f10, f2, f3 /* 8033180C 0032E3EC 10 69 58 2A */ ps_add f3, f9, f11 -/* 80331810 0032E3F0 E0 C3 00 80 */ psq_l f6, 128(r3), 0, qr0 +/* 80331810 0032E3F0 E0 C3 00 80 */ psq_l f6, 0x80(r3), 0, qr0 /* 80331814 0032E3F4 10 44 40 2A */ ps_add f2, f4, f8 /* 80331818 0032E3F8 10 63 07 32 */ ps_mul f3, f3, f28 -/* 8033181C 0032E3FC E0 A3 00 40 */ psq_l f5, 64(r3), 0, qr0 +/* 8033181C 0032E3FC E0 A3 00 40 */ psq_l f5, 0x40(r3), 0, qr0 /* 80331820 0032E400 10 04 40 28 */ ps_sub f0, f4, f8 /* 80331824 0032E404 11 29 1F BA */ ps_madd f9, f9, f30, f3 -/* 80331828 0032E408 E0 83 00 C0 */ psq_l f4, 192(r3), 0, qr0 +/* 80331828 0032E408 E0 83 00 C0 */ psq_l f4, 0xc0(r3), 0, qr0 /* 8033182C 0032E40C 11 29 40 28 */ ps_sub f9, f9, f8 -/* 80331830 0032E410 39 08 00 02 */ addi r8, r8, 2 -/* 80331834 0032E414 F0 46 60 00 */ psq_st f2, 0(r6), 0, qr6 +/* 80331830 0032E410 39 08 00 02 */ addi r8, r8, 0x2 +/* 80331834 0032E414 F0 46 60 00 */ psq_st f2, 0x0(r6), 0, qr6 /* 80331838 0032E418 11 6B 1F 78 */ ps_msub f11, f11, f29, f3 /* 8033183C 0032E41C 10 41 48 2A */ ps_add f2, f1, f9 /* 80331840 0032E420 11 4A 4E F8 */ ps_msub f10, f10, f27, f9 /* 80331844 0032E424 10 21 48 28 */ ps_sub f1, f1, f9 -/* 80331848 0032E428 F0 46 60 08 */ psq_st f2, 8(r6), 0, qr6 +/* 80331848 0032E428 F0 46 60 08 */ psq_st f2, 0x8(r6), 0, qr6 /* 8033184C 0032E42C 10 6D 50 2A */ ps_add f3, f13, f10 /* 80331850 0032E430 11 6B 50 2A */ ps_add f11, f11, f10 -/* 80331854 0032E434 F0 66 60 10 */ psq_st f3, 16(r6), 0, qr6 -/* 80331858 0032E438 38 E7 00 02 */ addi r7, r7, 2 +/* 80331854 0032E434 F0 66 60 10 */ psq_st f3, 0x10(r6), 0, qr6 +/* 80331858 0032E438 38 E7 00 02 */ addi r7, r7, 0x2 /* 8033185C 0032E43C 10 4C 58 28 */ ps_sub f2, f12, f11 /* 80331860 0032E440 10 6C 58 2A */ ps_add f3, f12, f11 -/* 80331864 0032E444 F0 46 60 18 */ psq_st f2, 24(r6), 0, qr6 +/* 80331864 0032E444 F0 46 60 18 */ psq_st f2, 0x18(r6), 0, qr6 /* 80331868 0032E448 10 4D 50 28 */ ps_sub f2, f13, f10 /* 8033186C 0032E44C 11 27 30 2A */ ps_add f9, f7, f6 -/* 80331870 0032E450 F0 65 60 00 */ psq_st f3, 0(r5), 0, qr6 +/* 80331870 0032E450 F0 65 60 00 */ psq_st f3, 0x0(r5), 0, qr6 /* 80331874 0032E454 10 67 30 28 */ ps_sub f3, f7, f6 /* 80331878 0032E458 11 29 F8 2A */ ps_add f9, f9, f31 -/* 8033187C 0032E45C F0 45 60 08 */ psq_st f2, 8(r5), 0, qr6 +/* 8033187C 0032E45C F0 45 60 08 */ psq_st f2, 0x8(r5), 0, qr6 /* 80331880 0032E460 11 05 20 2A */ ps_add f8, f5, f4 /* 80331884 0032E464 10 45 20 28 */ ps_sub f2, f5, f4 -/* 80331888 0032E468 F0 25 60 10 */ psq_st f1, 16(r5), 0, qr6 +/* 80331888 0032E468 F0 25 60 10 */ psq_st f1, 0x10(r5), 0, qr6 /* 8033188C 0032E46C 7C C9 42 14 */ add r6, r9, r8 /* 80331890 0032E470 10 89 40 2A */ ps_add f4, f9, f8 -/* 80331894 0032E474 F0 05 60 18 */ psq_st f0, 24(r5), 0, qr6 +/* 80331894 0032E474 F0 05 60 18 */ psq_st f0, 0x18(r5), 0, qr6 /* 80331898 0032E478 10 63 F8 2A */ ps_add f3, f3, f31 /* 8033189C 0032E47C 7C A9 3A 14 */ add r5, r9, r7 /* 803318A0 0032E480 42 00 FF 2C */ bdnz .L_803317CC -/* 803318A4 0032E484 E1 63 00 20 */ psq_l f11, 32(r3), 0, qr0 +/* 803318A4 0032E484 E1 63 00 20 */ psq_l f11, 0x20(r3), 0, qr0 /* 803318A8 0032E488 10 42 46 F8 */ ps_msub f2, f2, f27, f8 -/* 803318AC 0032E48C E1 43 00 60 */ psq_l f10, 96(r3), 0, qr0 +/* 803318AC 0032E48C E1 43 00 60 */ psq_l f10, 0x60(r3), 0, qr0 /* 803318B0 0032E490 11 89 40 28 */ ps_sub f12, f9, f8 /* 803318B4 0032E494 10 23 10 2A */ ps_add f1, f3, f2 -/* 803318B8 0032E498 E1 23 00 A0 */ psq_l f9, 160(r3), 0, qr0 +/* 803318B8 0032E498 E1 23 00 A0 */ psq_l f9, 0xa0(r3), 0, qr0 /* 803318BC 0032E49C 11 A3 10 28 */ ps_sub f13, f3, f2 -/* 803318C0 0032E4A0 E1 03 00 E0 */ psq_l f8, 224(r3), 0, qr0 +/* 803318C0 0032E4A0 E1 03 00 E0 */ psq_l f8, 0xe0(r3), 0, qr0 /* 803318C4 0032E4A4 10 69 50 2A */ ps_add f3, f9, f10 /* 803318C8 0032E4A8 11 29 50 28 */ ps_sub f9, f9, f10 /* 803318CC 0032E4AC 10 4B 40 2A */ ps_add f2, f11, f8 @@ -2439,51 +2475,51 @@ __THPDecompressiMCURow640x480: /* 803318E4 0032E4C4 10 63 07 32 */ ps_mul f3, f3, f28 /* 803318E8 0032E4C8 10 04 40 28 */ ps_sub f0, f4, f8 /* 803318EC 0032E4CC 11 29 1F BA */ ps_madd f9, f9, f30, f3 -/* 803318F0 0032E4D0 F0 46 60 00 */ psq_st f2, 0(r6), 0, qr6 +/* 803318F0 0032E4D0 F0 46 60 00 */ psq_st f2, 0x0(r6), 0, qr6 /* 803318F4 0032E4D4 11 29 40 28 */ ps_sub f9, f9, f8 /* 803318F8 0032E4D8 11 6B 1F 78 */ ps_msub f11, f11, f29, f3 -/* 803318FC 0032E4DC F0 05 60 18 */ psq_st f0, 24(r5), 0, qr6 +/* 803318FC 0032E4DC F0 05 60 18 */ psq_st f0, 0x18(r5), 0, qr6 /* 80331900 0032E4E0 10 41 48 2A */ ps_add f2, f1, f9 /* 80331904 0032E4E4 11 4A 4E F8 */ ps_msub f10, f10, f27, f9 /* 80331908 0032E4E8 10 21 48 28 */ ps_sub f1, f1, f9 -/* 8033190C 0032E4EC F0 46 60 08 */ psq_st f2, 8(r6), 0, qr6 +/* 8033190C 0032E4EC F0 46 60 08 */ psq_st f2, 0x8(r6), 0, qr6 /* 80331910 0032E4F0 10 6D 50 2A */ ps_add f3, f13, f10 /* 80331914 0032E4F4 11 6B 50 2A */ ps_add f11, f11, f10 -/* 80331918 0032E4F8 F0 25 60 10 */ psq_st f1, 16(r5), 0, qr6 -/* 8033191C 0032E4FC F0 66 60 10 */ psq_st f3, 16(r6), 0, qr6 +/* 80331918 0032E4F8 F0 25 60 10 */ psq_st f1, 0x10(r5), 0, qr6 +/* 8033191C 0032E4FC F0 66 60 10 */ psq_st f3, 0x10(r6), 0, qr6 /* 80331920 0032E500 10 4C 58 28 */ ps_sub f2, f12, f11 /* 80331924 0032E504 10 6C 58 2A */ ps_add f3, f12, f11 -/* 80331928 0032E508 F0 46 60 18 */ psq_st f2, 24(r6), 0, qr6 +/* 80331928 0032E508 F0 46 60 18 */ psq_st f2, 0x18(r6), 0, qr6 /* 8033192C 0032E50C 10 4D 50 28 */ ps_sub f2, f13, f10 -/* 80331930 0032E510 F0 65 60 00 */ psq_st f3, 0(r5), 0, qr6 -/* 80331934 0032E514 F0 45 60 08 */ psq_st f2, 8(r5), 0, qr6 +/* 80331930 0032E510 F0 65 60 00 */ psq_st f3, 0x0(r5), 0, qr6 +/* 80331934 0032E514 F0 45 60 08 */ psq_st f2, 0x8(r5), 0, qr6 /* 80331938 0032E518 80 FC 00 14 */ lwz r7, 0x14(r28) -/* 8033193C 0032E51C 80 CD BB 60 */ lwz r6, Gq@sda21(r13) -/* 80331940 0032E520 39 44 00 08 */ addi r10, r4, 8 -/* 80331944 0032E524 39 3E FF F8 */ addi r9, r30, -8 -/* 80331948 0032E528 38 00 00 08 */ li r0, 8 +/* 8033193C 0032E51C 80 CD BB 60 */ lwz r6, Gq@sda21(r0) +/* 80331940 0032E520 39 44 00 08 */ addi r10, r4, 0x8 +/* 80331944 0032E524 39 3E FF F8 */ subi r9, r30, 0x8 +/* 80331948 0032E528 38 00 00 08 */ li r0, 0x8 /* 8033194C 0032E52C 7C 09 03 A6 */ mtctr r0 .L_80331950: -/* 80331950 0032E530 E0 E7 50 00 */ psq_l f7, 0(r7), 0, qr5 -/* 80331954 0032E534 E0 C6 00 00 */ psq_l f6, 0(r6), 0, qr0 +/* 80331950 0032E530 E0 E7 50 00 */ psq_l f7, 0x0(r7), 0, qr5 +/* 80331954 0032E534 E0 C6 00 00 */ psq_l f6, 0x0(r6), 0, qr0 /* 80331958 0032E538 80 A7 00 0C */ lwz r5, 0xc(r7) -/* 8033195C 0032E53C 80 07 00 08 */ lwz r0, 8(r7) +/* 8033195C 0032E53C 80 07 00 08 */ lwz r0, 0x8(r7) /* 80331960 0032E540 10 E7 01 B2 */ ps_mul f7, f7, f6 -/* 80331964 0032E544 80 67 00 04 */ lwz r3, 4(r7) +/* 80331964 0032E544 80 67 00 04 */ lwz r3, 0x4(r7) .L_80331968: /* 80331968 0032E548 7C A5 03 79 */ or. r5, r5, r0 -/* 8033196C 0032E54C A0 07 00 02 */ lhz r0, 2(r7) +/* 8033196C 0032E54C A0 07 00 02 */ lhz r0, 0x2(r7) /* 80331970 0032E550 40 82 01 38 */ bne .L_80331AA8 /* 80331974 0032E554 10 87 3C 20 */ ps_merge00 f4, f7, f7 -/* 80331978 0032E558 2C 03 00 00 */ cmpwi r3, 0 -/* 8033197C 0032E55C F0 89 00 08 */ psq_st f4, 8(r9), 0, qr0 +/* 80331978 0032E558 2C 03 00 00 */ cmpwi r3, 0x0 +/* 8033197C 0032E55C F0 89 00 08 */ psq_st f4, 0x8(r9), 0, qr0 /* 80331980 0032E560 40 82 00 94 */ bne .L_80331A14 -/* 80331984 0032E564 F0 89 00 10 */ psq_st f4, 16(r9), 0, qr0 -/* 80331988 0032E568 2C 00 00 00 */ cmpwi r0, 0 -/* 8033198C 0032E56C F0 89 00 18 */ psq_st f4, 24(r9), 0, qr0 +/* 80331984 0032E564 F0 89 00 10 */ psq_st f4, 0x10(r9), 0, qr0 +/* 80331988 0032E568 2C 00 00 00 */ cmpwi r0, 0x0 +/* 8033198C 0032E56C F0 89 00 18 */ psq_st f4, 0x18(r9), 0, qr0 /* 80331990 0032E570 40 82 00 18 */ bne .L_803319A8 /* 80331994 0032E574 38 C6 00 20 */ addi r6, r6, 0x20 -/* 80331998 0032E578 F4 89 00 20 */ psq_stu f4, 32(r9), 0, qr0 +/* 80331998 0032E578 F4 89 00 20 */ psq_stu f4, 0x20(r9), 0, qr0 /* 8033199C 0032E57C 38 E7 00 10 */ addi r7, r7, 0x10 /* 803319A0 0032E580 42 00 FF B0 */ bdnz .L_80331950 /* 803319A4 0032E584 48 00 01 C4 */ b .L_80331B68 @@ -2492,32 +2528,32 @@ __THPDecompressiMCURow640x480: /* 803319AC 0032E58C 11 A7 3F 38 */ ps_msub f13, f7, f28, f7 /* 803319B0 0032E590 38 C6 00 20 */ addi r6, r6, 0x20 /* 803319B4 0032E594 10 47 3C 20 */ ps_merge00 f2, f7, f7 -/* 803319B8 0032E598 80 67 00 04 */ lwz r3, 4(r7) +/* 803319B8 0032E598 80 67 00 04 */ lwz r3, 0x4(r7) /* 803319BC 0032E59C 10 3C E8 28 */ ps_sub f1, f28, f29 /* 803319C0 0032E5A0 11 87 6E F8 */ ps_msub f12, f7, f27, f13 /* 803319C4 0032E5A4 11 47 6C E0 */ ps_merge11 f10, f7, f13 -/* 803319C8 0032E5A8 E0 C6 00 00 */ psq_l f6, 0(r6), 0, qr0 +/* 803319C8 0032E5A8 E0 C6 00 00 */ psq_l f6, 0x0(r6), 0, qr0 /* 803319CC 0032E5AC 11 67 60 7C */ ps_nmsub f11, f7, f1, f12 /* 803319D0 0032E5B0 11 02 50 2A */ ps_add f8, f2, f10 -/* 803319D4 0032E5B4 E0 E7 50 00 */ psq_l f7, 0(r7), 0, qr5 +/* 803319D4 0032E5B4 E0 E7 50 00 */ psq_l f7, 0x0(r7), 0, qr5 /* 803319D8 0032E5B8 11 2C 5C E0 */ ps_merge11 f9, f12, f11 /* 803319DC 0032E5BC 11 42 50 28 */ ps_sub f10, f2, f10 /* 803319E0 0032E5C0 80 A7 00 0C */ lwz r5, 0xc(r7) /* 803319E4 0032E5C4 10 62 48 2A */ ps_add f3, f2, f9 -/* 803319E8 0032E5C8 80 07 00 08 */ lwz r0, 8(r7) +/* 803319E8 0032E5C8 80 07 00 08 */ lwz r0, 0x8(r7) /* 803319EC 0032E5CC 11 22 48 28 */ ps_sub f9, f2, f9 -/* 803319F0 0032E5D0 F5 09 00 08 */ psq_stu f8, 8(r9), 0, qr0 +/* 803319F0 0032E5D0 F5 09 00 08 */ psq_stu f8, 0x8(r9), 0, qr0 /* 803319F4 0032E5D4 11 29 4C A0 */ ps_merge10 f9, f9, f9 -/* 803319F8 0032E5D8 F4 69 00 08 */ psq_stu f3, 8(r9), 0, qr0 +/* 803319F8 0032E5D8 F4 69 00 08 */ psq_stu f3, 0x8(r9), 0, qr0 /* 803319FC 0032E5DC 11 4A 54 A0 */ ps_merge10 f10, f10, f10 -/* 80331A00 0032E5E0 F5 29 00 08 */ psq_stu f9, 8(r9), 0, qr0 +/* 80331A00 0032E5E0 F5 29 00 08 */ psq_stu f9, 0x8(r9), 0, qr0 /* 80331A04 0032E5E4 10 E7 01 B2 */ ps_mul f7, f7, f6 -/* 80331A08 0032E5E8 F5 49 00 08 */ psq_stu f10, 8(r9), 0, qr0 +/* 80331A08 0032E5E8 F5 49 00 08 */ psq_stu f10, 0x8(r9), 0, qr0 /* 80331A0C 0032E5EC 42 00 FF 5C */ bdnz .L_80331968 /* 80331A10 0032E5F0 48 00 01 58 */ b .L_80331B68 .L_80331A14: -/* 80331A14 0032E5F4 E0 27 50 04 */ psq_l f1, 4(r7), 0, qr5 -/* 80331A18 0032E5F8 E0 46 00 08 */ psq_l f2, 8(r6), 0, qr0 +/* 80331A14 0032E5F4 E0 27 50 04 */ psq_l f1, 0x4(r7), 0, qr5 +/* 80331A18 0032E5F8 E0 46 00 08 */ psq_l f2, 0x8(r6), 0, qr0 /* 80331A1C 0032E5FC 38 E7 00 10 */ addi r7, r7, 0x10 /* 80331A20 0032E600 10 21 00 B2 */ ps_mul f1, f1, f2 /* 80331A24 0032E604 38 C6 00 20 */ addi r6, r6, 0x20 @@ -2528,41 +2564,41 @@ __THPDecompressiMCURow640x480: /* 80331A38 0032E618 11 41 6E FC */ ps_nmsub f10, f1, f27, f13 /* 80331A3C 0032E61C 10 6C 07 32 */ ps_mul f3, f12, f28 /* 80331A40 0032E620 11 6D 5C 20 */ ps_merge00 f11, f13, f11 -/* 80331A44 0032E624 80 07 00 08 */ lwz r0, 8(r7) +/* 80331A44 0032E624 80 07 00 08 */ lwz r0, 0x8(r7) /* 80331A48 0032E628 11 21 1F BC */ ps_nmsub f9, f1, f30, f3 /* 80331A4C 0032E62C 11 4A 64 20 */ ps_merge00 f10, f10, f12 -/* 80331A50 0032E630 80 67 00 04 */ lwz r3, 4(r7) +/* 80331A50 0032E630 80 67 00 04 */ lwz r3, 0x4(r7) /* 80331A54 0032E634 11 29 68 28 */ ps_sub f9, f9, f13 /* 80331A58 0032E638 11 07 1F 7C */ ps_nmsub f8, f7, f29, f3 /* 80331A5C 0032E63C 11 AD 4C E0 */ ps_merge11 f13, f13, f9 /* 80331A60 0032E640 10 6C 4E F8 */ ps_msub f3, f12, f27, f9 -/* 80331A64 0032E644 E0 E7 50 00 */ psq_l f7, 0(r7), 0, qr5 +/* 80331A64 0032E644 E0 E7 50 00 */ psq_l f7, 0x0(r7), 0, qr5 /* 80331A68 0032E648 10 4B 68 2A */ ps_add f2, f11, f13 /* 80331A6C 0032E64C 11 08 18 28 */ ps_sub f8, f8, f3 -/* 80331A70 0032E650 E0 C6 00 00 */ psq_l f6, 0(r6), 0, qr0 +/* 80331A70 0032E650 E0 C6 00 00 */ psq_l f6, 0x0(r6), 0, qr0 /* 80331A74 0032E654 11 83 44 E0 */ ps_merge11 f12, f3, f8 /* 80331A78 0032E658 11 6B 68 28 */ ps_sub f11, f11, f13 -/* 80331A7C 0032E65C F4 49 00 08 */ psq_stu f2, 8(r9), 0, qr0 +/* 80331A7C 0032E65C F4 49 00 08 */ psq_stu f2, 0x8(r9), 0, qr0 /* 80331A80 0032E660 10 8A 60 2A */ ps_add f4, f10, f12 /* 80331A84 0032E664 10 2A 60 28 */ ps_sub f1, f10, f12 -/* 80331A88 0032E668 F4 89 00 08 */ psq_stu f4, 8(r9), 0, qr0 +/* 80331A88 0032E668 F4 89 00 08 */ psq_stu f4, 0x8(r9), 0, qr0 /* 80331A8C 0032E66C 10 21 0C A0 */ ps_merge10 f1, f1, f1 /* 80331A90 0032E670 11 6B 5C A0 */ ps_merge10 f11, f11, f11 -/* 80331A94 0032E674 F4 29 00 08 */ psq_stu f1, 8(r9), 0, qr0 +/* 80331A94 0032E674 F4 29 00 08 */ psq_stu f1, 0x8(r9), 0, qr0 /* 80331A98 0032E678 10 E7 01 B2 */ ps_mul f7, f7, f6 -/* 80331A9C 0032E67C F5 69 00 08 */ psq_stu f11, 8(r9), 0, qr0 +/* 80331A9C 0032E67C F5 69 00 08 */ psq_stu f11, 0x8(r9), 0, qr0 /* 80331AA0 0032E680 42 00 FE C8 */ bdnz .L_80331968 /* 80331AA4 0032E684 48 00 00 C4 */ b .L_80331B68 .L_80331AA8: -/* 80331AA8 0032E688 E0 47 50 04 */ psq_l f2, 4(r7), 0, qr5 -/* 80331AAC 0032E68C E1 46 00 08 */ psq_l f10, 8(r6), 0, qr0 +/* 80331AA8 0032E688 E0 47 50 04 */ psq_l f2, 0x4(r7), 0, qr5 +/* 80331AAC 0032E68C E1 46 00 08 */ psq_l f10, 0x8(r6), 0, qr0 /* 80331AB0 0032E690 10 42 02 B2 */ ps_mul f2, f2, f10 -/* 80331AB4 0032E694 E1 A7 50 08 */ psq_l f13, 8(r7), 0, qr5 -/* 80331AB8 0032E698 E1 26 00 10 */ psq_l f9, 16(r6), 0, qr0 +/* 80331AB4 0032E694 E1 A7 50 08 */ psq_l f13, 0x8(r7), 0, qr5 +/* 80331AB8 0032E698 E1 26 00 10 */ psq_l f9, 0x10(r6), 0, qr0 /* 80331ABC 0032E69C 10 87 14 60 */ ps_merge01 f4, f7, f2 -/* 80331AC0 0032E6A0 E1 87 50 0C */ psq_l f12, 12(r7), 0, qr5 +/* 80331AC0 0032E6A0 E1 87 50 0C */ psq_l f12, 0xc(r7), 0, qr5 /* 80331AC4 0032E6A4 10 22 3C 60 */ ps_merge01 f1, f2, f7 -/* 80331AC8 0032E6A8 E1 06 00 18 */ psq_l f8, 24(r6), 0, qr0 +/* 80331AC8 0032E6A8 E1 06 00 18 */ psq_l f8, 0x18(r6), 0, qr0 /* 80331ACC 0032E6AC 38 E7 00 10 */ addi r7, r7, 0x10 /* 80331AD0 0032E6B0 11 6D 22 7A */ ps_madd f11, f13, f9, f4 /* 80331AD4 0032E6B4 11 4D 22 7C */ ps_nmsub f10, f13, f9, f4 @@ -2577,47 +2613,47 @@ __THPDecompressiMCURow640x480: /* 80331AF8 0032E6D8 10 2A 68 2A */ ps_add f1, f10, f13 /* 80331AFC 0032E6DC 11 AA 68 28 */ ps_sub f13, f10, f13 /* 80331B00 0032E6E0 10 63 07 32 */ ps_mul f3, f3, f28 -/* 80331B04 0032E6E4 80 07 00 08 */ lwz r0, 8(r7) +/* 80331B04 0032E6E4 80 07 00 08 */ lwz r0, 0x8(r7) /* 80331B08 0032E6E8 10 24 0C 20 */ ps_merge00 f1, f4, f1 /* 80331B0C 0032E6EC 11 2A 1F BC */ ps_nmsub f9, f10, f30, f3 /* 80331B10 0032E6F0 11 68 1F 78 */ ps_msub f11, f8, f29, f3 -/* 80331B14 0032E6F4 80 67 00 04 */ lwz r3, 4(r7) +/* 80331B14 0032E6F4 80 67 00 04 */ lwz r3, 0x4(r7) /* 80331B18 0032E6F8 11 29 20 28 */ ps_sub f9, f9, f4 /* 80331B1C 0032E6FC 11 AD 64 20 */ ps_merge00 f13, f13, f12 /* 80331B20 0032E700 11 4C 4E FA */ ps_madd f10, f12, f27, f9 /* 80331B24 0032E704 11 04 4C E0 */ ps_merge11 f8, f4, f9 -/* 80331B28 0032E708 E0 E7 50 00 */ psq_l f7, 0(r7), 0, qr5 +/* 80331B28 0032E708 E0 E7 50 00 */ psq_l f7, 0x0(r7), 0, qr5 /* 80331B2C 0032E70C 11 6B 50 28 */ ps_sub f11, f11, f10 /* 80331B30 0032E710 11 81 40 2A */ ps_add f12, f1, f8 -/* 80331B34 0032E714 E0 C6 00 00 */ psq_l f6, 0(r6), 0, qr0 +/* 80331B34 0032E714 E0 C6 00 00 */ psq_l f6, 0x0(r6), 0, qr0 /* 80331B38 0032E718 11 6A 5C E0 */ ps_merge11 f11, f10, f11 /* 80331B3C 0032E71C 10 81 40 28 */ ps_sub f4, f1, f8 /* 80331B40 0032E720 10 E7 01 B2 */ ps_mul f7, f7, f6 /* 80331B44 0032E724 11 4D 58 2A */ ps_add f10, f13, f11 /* 80331B48 0032E728 11 2D 58 28 */ ps_sub f9, f13, f11 /* 80331B4C 0032E72C 11 4A 54 A0 */ ps_merge10 f10, f10, f10 -/* 80331B50 0032E730 F5 89 00 08 */ psq_stu f12, 8(r9), 0, qr0 +/* 80331B50 0032E730 F5 89 00 08 */ psq_stu f12, 0x8(r9), 0, qr0 /* 80331B54 0032E734 10 84 24 A0 */ ps_merge10 f4, f4, f4 -/* 80331B58 0032E738 F5 29 00 08 */ psq_stu f9, 8(r9), 0, qr0 -/* 80331B5C 0032E73C F5 49 00 08 */ psq_stu f10, 8(r9), 0, qr0 -/* 80331B60 0032E740 F4 89 00 08 */ psq_stu f4, 8(r9), 0, qr0 +/* 80331B58 0032E738 F5 29 00 08 */ psq_stu f9, 0x8(r9), 0, qr0 +/* 80331B5C 0032E73C F5 49 00 08 */ psq_stu f10, 0x8(r9), 0, qr0 +/* 80331B60 0032E740 F4 89 00 08 */ psq_stu f4, 0x8(r9), 0, qr0 /* 80331B64 0032E744 42 00 FE 04 */ bdnz .L_80331968 .L_80331B68: -/* 80331B68 0032E748 81 0D BB 20 */ lwz r8, Gbase@sda21(r13) +/* 80331B68 0032E748 81 0D BB 20 */ lwz r8, Gbase@sda21(r0) /* 80331B6C 0032E74C 7F C9 F3 78 */ mr r9, r30 -/* 80331B70 0032E750 80 0D BB 40 */ lwz r0, Gwid@sda21(r13) -/* 80331B74 0032E754 E0 E9 00 00 */ psq_l f7, 0(r9), 0, qr0 +/* 80331B70 0032E750 80 0D BB 40 */ lwz r0, Gwid@sda21(r0) +/* 80331B74 0032E754 E0 E9 00 00 */ psq_l f7, 0x0(r9), 0, qr0 /* 80331B78 0032E758 55 4A 10 3A */ slwi r10, r10, 2 -/* 80331B7C 0032E75C E0 C9 00 80 */ psq_l f6, 128(r9), 0, qr0 +/* 80331B7C 0032E75C E0 C9 00 80 */ psq_l f6, 0x80(r9), 0, qr0 /* 80331B80 0032E760 54 06 10 3A */ slwi r6, r0, 2 -/* 80331B84 0032E764 E0 A9 00 40 */ psq_l f5, 64(r9), 0, qr0 +/* 80331B84 0032E764 E0 A9 00 40 */ psq_l f5, 0x40(r9), 0, qr0 /* 80331B88 0032E768 7D 47 53 78 */ mr r7, r10 /* 80331B8C 0032E76C 11 27 30 2A */ ps_add f9, f7, f6 -/* 80331B90 0032E770 E0 89 00 C0 */ psq_l f4, 192(r9), 0, qr0 +/* 80331B90 0032E770 E0 89 00 C0 */ psq_l f4, 0xc0(r9), 0, qr0 /* 80331B94 0032E774 10 67 30 28 */ ps_sub f3, f7, f6 /* 80331B98 0032E778 7C C7 32 14 */ add r6, r7, r6 /* 80331B9C 0032E77C 11 29 F8 2A */ ps_add f9, f9, f31 -/* 80331BA0 0032E780 38 00 00 03 */ li r0, 3 +/* 80331BA0 0032E780 38 00 00 03 */ li r0, 0x3 /* 80331BA4 0032E784 11 05 20 2A */ ps_add f8, f5, f4 /* 80331BA8 0032E788 7C A8 3A 14 */ add r5, r8, r7 /* 80331BAC 0032E78C 10 45 20 28 */ ps_sub f2, f5, f4 @@ -2626,68 +2662,68 @@ __THPDecompressiMCURow640x480: /* 80331BB8 0032E798 10 63 F8 2A */ ps_add f3, f3, f31 /* 80331BBC 0032E79C 7C 09 03 A6 */ mtctr r0 .L_80331BC0: -/* 80331BC0 0032E7A0 E1 69 00 20 */ psq_l f11, 32(r9), 0, qr0 +/* 80331BC0 0032E7A0 E1 69 00 20 */ psq_l f11, 0x20(r9), 0, qr0 /* 80331BC4 0032E7A4 10 42 46 F8 */ ps_msub f2, f2, f27, f8 -/* 80331BC8 0032E7A8 E1 49 00 60 */ psq_l f10, 96(r9), 0, qr0 +/* 80331BC8 0032E7A8 E1 49 00 60 */ psq_l f10, 0x60(r9), 0, qr0 /* 80331BCC 0032E7AC 11 89 40 28 */ ps_sub f12, f9, f8 /* 80331BD0 0032E7B0 10 23 10 2A */ ps_add f1, f3, f2 -/* 80331BD4 0032E7B4 E1 29 00 A0 */ psq_l f9, 160(r9), 0, qr0 +/* 80331BD4 0032E7B4 E1 29 00 A0 */ psq_l f9, 0xa0(r9), 0, qr0 /* 80331BD8 0032E7B8 11 A3 10 28 */ ps_sub f13, f3, f2 -/* 80331BDC 0032E7BC E1 09 00 E0 */ psq_l f8, 224(r9), 0, qr0 +/* 80331BDC 0032E7BC E1 09 00 E0 */ psq_l f8, 0xe0(r9), 0, qr0 /* 80331BE0 0032E7C0 10 69 50 2A */ ps_add f3, f9, f10 /* 80331BE4 0032E7C4 11 29 50 28 */ ps_sub f9, f9, f10 -/* 80331BE8 0032E7C8 39 29 00 08 */ addi r9, r9, 8 +/* 80331BE8 0032E7C8 39 29 00 08 */ addi r9, r9, 0x8 /* 80331BEC 0032E7CC 10 4B 40 2A */ ps_add f2, f11, f8 /* 80331BF0 0032E7D0 11 6B 40 28 */ ps_sub f11, f11, f8 -/* 80331BF4 0032E7D4 E0 E9 00 00 */ psq_l f7, 0(r9), 0, qr0 +/* 80331BF4 0032E7D4 E0 E9 00 00 */ psq_l f7, 0x0(r9), 0, qr0 /* 80331BF8 0032E7D8 11 02 18 2A */ ps_add f8, f2, f3 /* 80331BFC 0032E7DC 11 42 18 28 */ ps_sub f10, f2, f3 /* 80331C00 0032E7E0 10 69 58 2A */ ps_add f3, f9, f11 -/* 80331C04 0032E7E4 E0 C9 00 80 */ psq_l f6, 128(r9), 0, qr0 +/* 80331C04 0032E7E4 E0 C9 00 80 */ psq_l f6, 0x80(r9), 0, qr0 /* 80331C08 0032E7E8 10 44 40 2A */ ps_add f2, f4, f8 /* 80331C0C 0032E7EC 10 63 07 32 */ ps_mul f3, f3, f28 -/* 80331C10 0032E7F0 E0 A9 00 40 */ psq_l f5, 64(r9), 0, qr0 +/* 80331C10 0032E7F0 E0 A9 00 40 */ psq_l f5, 0x40(r9), 0, qr0 /* 80331C14 0032E7F4 10 04 40 28 */ ps_sub f0, f4, f8 /* 80331C18 0032E7F8 11 29 1F BA */ ps_madd f9, f9, f30, f3 -/* 80331C1C 0032E7FC E0 89 00 C0 */ psq_l f4, 192(r9), 0, qr0 +/* 80331C1C 0032E7FC E0 89 00 C0 */ psq_l f4, 0xc0(r9), 0, qr0 /* 80331C20 0032E800 11 29 40 28 */ ps_sub f9, f9, f8 -/* 80331C24 0032E804 38 E7 00 02 */ addi r7, r7, 2 -/* 80331C28 0032E808 F0 45 60 00 */ psq_st f2, 0(r5), 0, qr6 +/* 80331C24 0032E804 38 E7 00 02 */ addi r7, r7, 0x2 +/* 80331C28 0032E808 F0 45 60 00 */ psq_st f2, 0x0(r5), 0, qr6 /* 80331C2C 0032E80C 11 6B 1F 78 */ ps_msub f11, f11, f29, f3 /* 80331C30 0032E810 10 41 48 2A */ ps_add f2, f1, f9 /* 80331C34 0032E814 11 4A 4E F8 */ ps_msub f10, f10, f27, f9 /* 80331C38 0032E818 10 21 48 28 */ ps_sub f1, f1, f9 -/* 80331C3C 0032E81C F0 45 60 08 */ psq_st f2, 8(r5), 0, qr6 +/* 80331C3C 0032E81C F0 45 60 08 */ psq_st f2, 0x8(r5), 0, qr6 /* 80331C40 0032E820 10 6D 50 2A */ ps_add f3, f13, f10 /* 80331C44 0032E824 11 6B 50 2A */ ps_add f11, f11, f10 -/* 80331C48 0032E828 F0 65 60 10 */ psq_st f3, 16(r5), 0, qr6 -/* 80331C4C 0032E82C 38 C6 00 02 */ addi r6, r6, 2 +/* 80331C48 0032E828 F0 65 60 10 */ psq_st f3, 0x10(r5), 0, qr6 +/* 80331C4C 0032E82C 38 C6 00 02 */ addi r6, r6, 0x2 /* 80331C50 0032E830 10 4C 58 28 */ ps_sub f2, f12, f11 /* 80331C54 0032E834 10 6C 58 2A */ ps_add f3, f12, f11 -/* 80331C58 0032E838 F0 45 60 18 */ psq_st f2, 24(r5), 0, qr6 +/* 80331C58 0032E838 F0 45 60 18 */ psq_st f2, 0x18(r5), 0, qr6 /* 80331C5C 0032E83C 10 4D 50 28 */ ps_sub f2, f13, f10 /* 80331C60 0032E840 11 27 30 2A */ ps_add f9, f7, f6 -/* 80331C64 0032E844 F0 63 60 00 */ psq_st f3, 0(r3), 0, qr6 +/* 80331C64 0032E844 F0 63 60 00 */ psq_st f3, 0x0(r3), 0, qr6 /* 80331C68 0032E848 10 67 30 28 */ ps_sub f3, f7, f6 /* 80331C6C 0032E84C 11 29 F8 2A */ ps_add f9, f9, f31 -/* 80331C70 0032E850 F0 43 60 08 */ psq_st f2, 8(r3), 0, qr6 +/* 80331C70 0032E850 F0 43 60 08 */ psq_st f2, 0x8(r3), 0, qr6 /* 80331C74 0032E854 11 05 20 2A */ ps_add f8, f5, f4 /* 80331C78 0032E858 10 45 20 28 */ ps_sub f2, f5, f4 -/* 80331C7C 0032E85C F0 23 60 10 */ psq_st f1, 16(r3), 0, qr6 +/* 80331C7C 0032E85C F0 23 60 10 */ psq_st f1, 0x10(r3), 0, qr6 /* 80331C80 0032E860 7C A8 3A 14 */ add r5, r8, r7 /* 80331C84 0032E864 10 89 40 2A */ ps_add f4, f9, f8 -/* 80331C88 0032E868 F0 03 60 18 */ psq_st f0, 24(r3), 0, qr6 +/* 80331C88 0032E868 F0 03 60 18 */ psq_st f0, 0x18(r3), 0, qr6 /* 80331C8C 0032E86C 10 63 F8 2A */ ps_add f3, f3, f31 /* 80331C90 0032E870 7C 68 32 14 */ add r3, r8, r6 /* 80331C94 0032E874 42 00 FF 2C */ bdnz .L_80331BC0 -/* 80331C98 0032E878 E1 69 00 20 */ psq_l f11, 32(r9), 0, qr0 +/* 80331C98 0032E878 E1 69 00 20 */ psq_l f11, 0x20(r9), 0, qr0 /* 80331C9C 0032E87C 10 42 46 F8 */ ps_msub f2, f2, f27, f8 -/* 80331CA0 0032E880 E1 49 00 60 */ psq_l f10, 96(r9), 0, qr0 +/* 80331CA0 0032E880 E1 49 00 60 */ psq_l f10, 0x60(r9), 0, qr0 /* 80331CA4 0032E884 11 89 40 28 */ ps_sub f12, f9, f8 /* 80331CA8 0032E888 10 23 10 2A */ ps_add f1, f3, f2 -/* 80331CAC 0032E88C E1 29 00 A0 */ psq_l f9, 160(r9), 0, qr0 +/* 80331CAC 0032E88C E1 29 00 A0 */ psq_l f9, 0xa0(r9), 0, qr0 /* 80331CB0 0032E890 11 A3 10 28 */ ps_sub f13, f3, f2 -/* 80331CB4 0032E894 E1 09 00 E0 */ psq_l f8, 224(r9), 0, qr0 +/* 80331CB4 0032E894 E1 09 00 E0 */ psq_l f8, 0xe0(r9), 0, qr0 /* 80331CB8 0032E898 10 69 50 2A */ ps_add f3, f9, f10 /* 80331CBC 0032E89C 11 29 50 28 */ ps_sub f9, f9, f10 /* 80331CC0 0032E8A0 10 4B 40 2A */ ps_add f2, f11, f8 @@ -2699,51 +2735,51 @@ __THPDecompressiMCURow640x480: /* 80331CD8 0032E8B8 10 63 07 32 */ ps_mul f3, f3, f28 /* 80331CDC 0032E8BC 10 04 40 28 */ ps_sub f0, f4, f8 /* 80331CE0 0032E8C0 11 29 1F BA */ ps_madd f9, f9, f30, f3 -/* 80331CE4 0032E8C4 F0 45 60 00 */ psq_st f2, 0(r5), 0, qr6 +/* 80331CE4 0032E8C4 F0 45 60 00 */ psq_st f2, 0x0(r5), 0, qr6 /* 80331CE8 0032E8C8 11 29 40 28 */ ps_sub f9, f9, f8 /* 80331CEC 0032E8CC 11 6B 1F 78 */ ps_msub f11, f11, f29, f3 -/* 80331CF0 0032E8D0 F0 03 60 18 */ psq_st f0, 24(r3), 0, qr6 +/* 80331CF0 0032E8D0 F0 03 60 18 */ psq_st f0, 0x18(r3), 0, qr6 /* 80331CF4 0032E8D4 10 41 48 2A */ ps_add f2, f1, f9 /* 80331CF8 0032E8D8 11 4A 4E F8 */ ps_msub f10, f10, f27, f9 /* 80331CFC 0032E8DC 10 21 48 28 */ ps_sub f1, f1, f9 -/* 80331D00 0032E8E0 F0 45 60 08 */ psq_st f2, 8(r5), 0, qr6 +/* 80331D00 0032E8E0 F0 45 60 08 */ psq_st f2, 0x8(r5), 0, qr6 /* 80331D04 0032E8E4 10 6D 50 2A */ ps_add f3, f13, f10 /* 80331D08 0032E8E8 11 6B 50 2A */ ps_add f11, f11, f10 -/* 80331D0C 0032E8EC F0 23 60 10 */ psq_st f1, 16(r3), 0, qr6 -/* 80331D10 0032E8F0 F0 65 60 10 */ psq_st f3, 16(r5), 0, qr6 +/* 80331D0C 0032E8EC F0 23 60 10 */ psq_st f1, 0x10(r3), 0, qr6 +/* 80331D10 0032E8F0 F0 65 60 10 */ psq_st f3, 0x10(r5), 0, qr6 /* 80331D14 0032E8F4 10 4C 58 28 */ ps_sub f2, f12, f11 /* 80331D18 0032E8F8 10 6C 58 2A */ ps_add f3, f12, f11 -/* 80331D1C 0032E8FC F0 45 60 18 */ psq_st f2, 24(r5), 0, qr6 +/* 80331D1C 0032E8FC F0 45 60 18 */ psq_st f2, 0x18(r5), 0, qr6 /* 80331D20 0032E900 10 4D 50 28 */ ps_sub f2, f13, f10 -/* 80331D24 0032E904 F0 63 60 00 */ psq_st f3, 0(r3), 0, qr6 -/* 80331D28 0032E908 F0 43 60 08 */ psq_st f2, 8(r3), 0, qr6 +/* 80331D24 0032E904 F0 63 60 00 */ psq_st f3, 0x0(r3), 0, qr6 +/* 80331D28 0032E908 F0 43 60 08 */ psq_st f2, 0x8(r3), 0, qr6 /* 80331D2C 0032E90C 81 1C 00 18 */ lwz r8, 0x18(r28) -/* 80331D30 0032E910 80 ED BB 60 */ lwz r7, Gq@sda21(r13) -/* 80331D34 0032E914 39 3E FF F8 */ addi r9, r30, -8 -/* 80331D38 0032E918 38 60 00 08 */ li r3, 8 +/* 80331D30 0032E910 80 ED BB 60 */ lwz r7, Gq@sda21(r0) +/* 80331D34 0032E914 39 3E FF F8 */ subi r9, r30, 0x8 +/* 80331D38 0032E918 38 60 00 08 */ li r3, 0x8 /* 80331D3C 0032E91C 7C 69 03 A6 */ mtctr r3 .L_80331D40: -/* 80331D40 0032E920 E0 E8 50 00 */ psq_l f7, 0(r8), 0, qr5 -/* 80331D44 0032E924 E0 C7 00 00 */ psq_l f6, 0(r7), 0, qr0 +/* 80331D40 0032E920 E0 E8 50 00 */ psq_l f7, 0x0(r8), 0, qr5 +/* 80331D44 0032E924 E0 C7 00 00 */ psq_l f6, 0x0(r7), 0, qr0 /* 80331D48 0032E928 80 C8 00 0C */ lwz r6, 0xc(r8) -/* 80331D4C 0032E92C 80 08 00 08 */ lwz r0, 8(r8) +/* 80331D4C 0032E92C 80 08 00 08 */ lwz r0, 0x8(r8) /* 80331D50 0032E930 10 E7 01 B2 */ ps_mul f7, f7, f6 -/* 80331D54 0032E934 80 A8 00 04 */ lwz r5, 4(r8) -/* 80331D58 0032E938 A0 68 00 02 */ lhz r3, 2(r8) +/* 80331D54 0032E934 80 A8 00 04 */ lwz r5, 0x4(r8) +/* 80331D58 0032E938 A0 68 00 02 */ lhz r3, 0x2(r8) /* 80331D5C 0032E93C 7C C6 03 78 */ or r6, r6, r0 .L_80331D60: -/* 80331D60 0032E940 2C 06 00 00 */ cmpwi r6, 0 +/* 80331D60 0032E940 2C 06 00 00 */ cmpwi r6, 0x0 /* 80331D64 0032E944 40 82 01 48 */ bne .L_80331EAC /* 80331D68 0032E948 10 87 3C 20 */ ps_merge00 f4, f7, f7 -/* 80331D6C 0032E94C 2C 05 00 00 */ cmpwi r5, 0 -/* 80331D70 0032E950 F0 89 00 08 */ psq_st f4, 8(r9), 0, qr0 +/* 80331D6C 0032E94C 2C 05 00 00 */ cmpwi r5, 0x0 +/* 80331D70 0032E950 F0 89 00 08 */ psq_st f4, 0x8(r9), 0, qr0 /* 80331D74 0032E954 40 82 00 9C */ bne .L_80331E10 -/* 80331D78 0032E958 F0 89 00 10 */ psq_st f4, 16(r9), 0, qr0 -/* 80331D7C 0032E95C 2C 03 00 00 */ cmpwi r3, 0 -/* 80331D80 0032E960 F0 89 00 18 */ psq_st f4, 24(r9), 0, qr0 +/* 80331D78 0032E958 F0 89 00 10 */ psq_st f4, 0x10(r9), 0, qr0 +/* 80331D7C 0032E95C 2C 03 00 00 */ cmpwi r3, 0x0 +/* 80331D80 0032E960 F0 89 00 18 */ psq_st f4, 0x18(r9), 0, qr0 /* 80331D84 0032E964 40 82 00 18 */ bne .L_80331D9C /* 80331D88 0032E968 38 E7 00 20 */ addi r7, r7, 0x20 -/* 80331D8C 0032E96C F4 89 00 20 */ psq_stu f4, 32(r9), 0, qr0 +/* 80331D8C 0032E96C F4 89 00 20 */ psq_stu f4, 0x20(r9), 0, qr0 /* 80331D90 0032E970 39 08 00 10 */ addi r8, r8, 0x10 /* 80331D94 0032E974 42 00 FF AC */ bdnz .L_80331D40 /* 80331D98 0032E978 48 00 01 DC */ b .L_80331F74 @@ -2753,33 +2789,33 @@ __THPDecompressiMCURow640x480: /* 80331DA4 0032E984 10 47 3C 20 */ ps_merge00 f2, f7, f7 /* 80331DA8 0032E988 38 E7 00 20 */ addi r7, r7, 0x20 /* 80331DAC 0032E98C 10 3C E8 28 */ ps_sub f1, f28, f29 -/* 80331DB0 0032E990 80 A8 00 04 */ lwz r5, 4(r8) +/* 80331DB0 0032E990 80 A8 00 04 */ lwz r5, 0x4(r8) /* 80331DB4 0032E994 11 87 6E F8 */ ps_msub f12, f7, f27, f13 -/* 80331DB8 0032E998 A0 68 00 02 */ lhz r3, 2(r8) +/* 80331DB8 0032E998 A0 68 00 02 */ lhz r3, 0x2(r8) /* 80331DBC 0032E99C 11 47 6C E0 */ ps_merge11 f10, f7, f13 -/* 80331DC0 0032E9A0 E0 C7 00 00 */ psq_l f6, 0(r7), 0, qr0 +/* 80331DC0 0032E9A0 E0 C7 00 00 */ psq_l f6, 0x0(r7), 0, qr0 /* 80331DC4 0032E9A4 11 67 60 7C */ ps_nmsub f11, f7, f1, f12 /* 80331DC8 0032E9A8 11 02 50 2A */ ps_add f8, f2, f10 -/* 80331DCC 0032E9AC E0 E8 50 00 */ psq_l f7, 0(r8), 0, qr5 +/* 80331DCC 0032E9AC E0 E8 50 00 */ psq_l f7, 0x0(r8), 0, qr5 /* 80331DD0 0032E9B0 11 2C 5C E0 */ ps_merge11 f9, f12, f11 /* 80331DD4 0032E9B4 11 42 50 28 */ ps_sub f10, f2, f10 /* 80331DD8 0032E9B8 80 C8 00 0C */ lwz r6, 0xc(r8) /* 80331DDC 0032E9BC 10 62 48 2A */ ps_add f3, f2, f9 -/* 80331DE0 0032E9C0 80 08 00 08 */ lwz r0, 8(r8) +/* 80331DE0 0032E9C0 80 08 00 08 */ lwz r0, 0x8(r8) /* 80331DE4 0032E9C4 11 22 48 28 */ ps_sub f9, f2, f9 -/* 80331DE8 0032E9C8 F5 09 00 08 */ psq_stu f8, 8(r9), 0, qr0 +/* 80331DE8 0032E9C8 F5 09 00 08 */ psq_stu f8, 0x8(r9), 0, qr0 /* 80331DEC 0032E9CC 11 29 4C A0 */ ps_merge10 f9, f9, f9 -/* 80331DF0 0032E9D0 F4 69 00 08 */ psq_stu f3, 8(r9), 0, qr0 +/* 80331DF0 0032E9D0 F4 69 00 08 */ psq_stu f3, 0x8(r9), 0, qr0 /* 80331DF4 0032E9D4 11 4A 54 A0 */ ps_merge10 f10, f10, f10 /* 80331DF8 0032E9D8 7C C6 03 78 */ or r6, r6, r0 -/* 80331DFC 0032E9DC F5 29 00 08 */ psq_stu f9, 8(r9), 0, qr0 +/* 80331DFC 0032E9DC F5 29 00 08 */ psq_stu f9, 0x8(r9), 0, qr0 /* 80331E00 0032E9E0 10 E7 01 B2 */ ps_mul f7, f7, f6 -/* 80331E04 0032E9E4 F5 49 00 08 */ psq_stu f10, 8(r9), 0, qr0 +/* 80331E04 0032E9E4 F5 49 00 08 */ psq_stu f10, 0x8(r9), 0, qr0 /* 80331E08 0032E9E8 42 00 FF 58 */ bdnz .L_80331D60 /* 80331E0C 0032E9EC 48 00 01 68 */ b .L_80331F74 .L_80331E10: -/* 80331E10 0032E9F0 E0 28 50 04 */ psq_l f1, 4(r8), 0, qr5 -/* 80331E14 0032E9F4 E0 47 00 08 */ psq_l f2, 8(r7), 0, qr0 +/* 80331E10 0032E9F0 E0 28 50 04 */ psq_l f1, 0x4(r8), 0, qr5 +/* 80331E14 0032E9F4 E0 47 00 08 */ psq_l f2, 0x8(r7), 0, qr0 /* 80331E18 0032E9F8 39 08 00 10 */ addi r8, r8, 0x10 /* 80331E1C 0032E9FC 10 21 00 B2 */ ps_mul f1, f1, f2 /* 80331E20 0032EA00 38 E7 00 20 */ addi r7, r7, 0x20 @@ -2790,43 +2826,43 @@ __THPDecompressiMCURow640x480: /* 80331E34 0032EA14 11 41 6E FC */ ps_nmsub f10, f1, f27, f13 /* 80331E38 0032EA18 10 6C 07 32 */ ps_mul f3, f12, f28 /* 80331E3C 0032EA1C 11 6D 5C 20 */ ps_merge00 f11, f13, f11 -/* 80331E40 0032EA20 80 08 00 08 */ lwz r0, 8(r8) +/* 80331E40 0032EA20 80 08 00 08 */ lwz r0, 0x8(r8) /* 80331E44 0032EA24 11 21 1F BC */ ps_nmsub f9, f1, f30, f3 /* 80331E48 0032EA28 11 4A 64 20 */ ps_merge00 f10, f10, f12 -/* 80331E4C 0032EA2C 80 A8 00 04 */ lwz r5, 4(r8) +/* 80331E4C 0032EA2C 80 A8 00 04 */ lwz r5, 0x4(r8) /* 80331E50 0032EA30 11 29 68 28 */ ps_sub f9, f9, f13 /* 80331E54 0032EA34 11 07 1F 7C */ ps_nmsub f8, f7, f29, f3 -/* 80331E58 0032EA38 A0 68 00 02 */ lhz r3, 2(r8) +/* 80331E58 0032EA38 A0 68 00 02 */ lhz r3, 0x2(r8) /* 80331E5C 0032EA3C 11 AD 4C E0 */ ps_merge11 f13, f13, f9 /* 80331E60 0032EA40 10 6C 4E F8 */ ps_msub f3, f12, f27, f9 -/* 80331E64 0032EA44 E0 E8 50 00 */ psq_l f7, 0(r8), 0, qr5 +/* 80331E64 0032EA44 E0 E8 50 00 */ psq_l f7, 0x0(r8), 0, qr5 /* 80331E68 0032EA48 10 4B 68 2A */ ps_add f2, f11, f13 /* 80331E6C 0032EA4C 11 08 18 28 */ ps_sub f8, f8, f3 -/* 80331E70 0032EA50 E0 C7 00 00 */ psq_l f6, 0(r7), 0, qr0 +/* 80331E70 0032EA50 E0 C7 00 00 */ psq_l f6, 0x0(r7), 0, qr0 /* 80331E74 0032EA54 11 83 44 E0 */ ps_merge11 f12, f3, f8 /* 80331E78 0032EA58 11 6B 68 28 */ ps_sub f11, f11, f13 -/* 80331E7C 0032EA5C F4 49 00 08 */ psq_stu f2, 8(r9), 0, qr0 +/* 80331E7C 0032EA5C F4 49 00 08 */ psq_stu f2, 0x8(r9), 0, qr0 /* 80331E80 0032EA60 10 8A 60 2A */ ps_add f4, f10, f12 /* 80331E84 0032EA64 10 2A 60 28 */ ps_sub f1, f10, f12 /* 80331E88 0032EA68 7C C6 03 78 */ or r6, r6, r0 -/* 80331E8C 0032EA6C F4 89 00 08 */ psq_stu f4, 8(r9), 0, qr0 +/* 80331E8C 0032EA6C F4 89 00 08 */ psq_stu f4, 0x8(r9), 0, qr0 /* 80331E90 0032EA70 10 21 0C A0 */ ps_merge10 f1, f1, f1 /* 80331E94 0032EA74 11 6B 5C A0 */ ps_merge10 f11, f11, f11 -/* 80331E98 0032EA78 F4 29 00 08 */ psq_stu f1, 8(r9), 0, qr0 +/* 80331E98 0032EA78 F4 29 00 08 */ psq_stu f1, 0x8(r9), 0, qr0 /* 80331E9C 0032EA7C 10 E7 01 B2 */ ps_mul f7, f7, f6 -/* 80331EA0 0032EA80 F5 69 00 08 */ psq_stu f11, 8(r9), 0, qr0 +/* 80331EA0 0032EA80 F5 69 00 08 */ psq_stu f11, 0x8(r9), 0, qr0 /* 80331EA4 0032EA84 42 00 FE BC */ bdnz .L_80331D60 /* 80331EA8 0032EA88 48 00 00 CC */ b .L_80331F74 .L_80331EAC: -/* 80331EAC 0032EA8C E0 48 50 04 */ psq_l f2, 4(r8), 0, qr5 -/* 80331EB0 0032EA90 E1 47 00 08 */ psq_l f10, 8(r7), 0, qr0 +/* 80331EAC 0032EA8C E0 48 50 04 */ psq_l f2, 0x4(r8), 0, qr5 +/* 80331EB0 0032EA90 E1 47 00 08 */ psq_l f10, 0x8(r7), 0, qr0 /* 80331EB4 0032EA94 10 42 02 B2 */ ps_mul f2, f2, f10 -/* 80331EB8 0032EA98 E1 A8 50 08 */ psq_l f13, 8(r8), 0, qr5 -/* 80331EBC 0032EA9C E1 27 00 10 */ psq_l f9, 16(r7), 0, qr0 +/* 80331EB8 0032EA98 E1 A8 50 08 */ psq_l f13, 0x8(r8), 0, qr5 +/* 80331EBC 0032EA9C E1 27 00 10 */ psq_l f9, 0x10(r7), 0, qr0 /* 80331EC0 0032EAA0 10 87 14 60 */ ps_merge01 f4, f7, f2 -/* 80331EC4 0032EAA4 E1 88 50 0C */ psq_l f12, 12(r8), 0, qr5 +/* 80331EC4 0032EAA4 E1 88 50 0C */ psq_l f12, 0xc(r8), 0, qr5 /* 80331EC8 0032EAA8 10 22 3C 60 */ ps_merge01 f1, f2, f7 -/* 80331ECC 0032EAAC E1 07 00 18 */ psq_l f8, 24(r7), 0, qr0 +/* 80331ECC 0032EAAC E1 07 00 18 */ psq_l f8, 0x18(r7), 0, qr0 /* 80331ED0 0032EAB0 39 08 00 10 */ addi r8, r8, 0x10 /* 80331ED4 0032EAB4 11 6D 22 7A */ ps_madd f11, f13, f9, f4 /* 80331ED8 0032EAB8 11 4D 22 7C */ ps_nmsub f10, f13, f9, f4 @@ -2841,50 +2877,50 @@ __THPDecompressiMCURow640x480: /* 80331EFC 0032EADC 10 2A 68 2A */ ps_add f1, f10, f13 /* 80331F00 0032EAE0 11 AA 68 28 */ ps_sub f13, f10, f13 /* 80331F04 0032EAE4 10 63 07 32 */ ps_mul f3, f3, f28 -/* 80331F08 0032EAE8 80 08 00 08 */ lwz r0, 8(r8) +/* 80331F08 0032EAE8 80 08 00 08 */ lwz r0, 0x8(r8) /* 80331F0C 0032EAEC 10 24 0C 20 */ ps_merge00 f1, f4, f1 /* 80331F10 0032EAF0 11 2A 1F BC */ ps_nmsub f9, f10, f30, f3 /* 80331F14 0032EAF4 11 68 1F 78 */ ps_msub f11, f8, f29, f3 -/* 80331F18 0032EAF8 80 A8 00 04 */ lwz r5, 4(r8) +/* 80331F18 0032EAF8 80 A8 00 04 */ lwz r5, 0x4(r8) /* 80331F1C 0032EAFC 11 29 20 28 */ ps_sub f9, f9, f4 /* 80331F20 0032EB00 11 AD 64 20 */ ps_merge00 f13, f13, f12 -/* 80331F24 0032EB04 A0 68 00 02 */ lhz r3, 2(r8) +/* 80331F24 0032EB04 A0 68 00 02 */ lhz r3, 0x2(r8) /* 80331F28 0032EB08 11 4C 4E FA */ ps_madd f10, f12, f27, f9 /* 80331F2C 0032EB0C 11 04 4C E0 */ ps_merge11 f8, f4, f9 -/* 80331F30 0032EB10 E0 E8 50 00 */ psq_l f7, 0(r8), 0, qr5 +/* 80331F30 0032EB10 E0 E8 50 00 */ psq_l f7, 0x0(r8), 0, qr5 /* 80331F34 0032EB14 11 6B 50 28 */ ps_sub f11, f11, f10 /* 80331F38 0032EB18 11 81 40 2A */ ps_add f12, f1, f8 -/* 80331F3C 0032EB1C E0 C7 00 00 */ psq_l f6, 0(r7), 0, qr0 +/* 80331F3C 0032EB1C E0 C7 00 00 */ psq_l f6, 0x0(r7), 0, qr0 /* 80331F40 0032EB20 11 6A 5C E0 */ ps_merge11 f11, f10, f11 /* 80331F44 0032EB24 10 81 40 28 */ ps_sub f4, f1, f8 /* 80331F48 0032EB28 10 E7 01 B2 */ ps_mul f7, f7, f6 /* 80331F4C 0032EB2C 11 4D 58 2A */ ps_add f10, f13, f11 /* 80331F50 0032EB30 11 2D 58 28 */ ps_sub f9, f13, f11 /* 80331F54 0032EB34 11 4A 54 A0 */ ps_merge10 f10, f10, f10 -/* 80331F58 0032EB38 F5 89 00 08 */ psq_stu f12, 8(r9), 0, qr0 +/* 80331F58 0032EB38 F5 89 00 08 */ psq_stu f12, 0x8(r9), 0, qr0 /* 80331F5C 0032EB3C 10 84 24 A0 */ ps_merge10 f4, f4, f4 -/* 80331F60 0032EB40 F5 29 00 08 */ psq_stu f9, 8(r9), 0, qr0 -/* 80331F64 0032EB44 F5 49 00 08 */ psq_stu f10, 8(r9), 0, qr0 +/* 80331F60 0032EB40 F5 29 00 08 */ psq_stu f9, 0x8(r9), 0, qr0 +/* 80331F64 0032EB44 F5 49 00 08 */ psq_stu f10, 0x8(r9), 0, qr0 /* 80331F68 0032EB48 7C C6 03 78 */ or r6, r6, r0 -/* 80331F6C 0032EB4C F4 89 00 08 */ psq_stu f4, 8(r9), 0, qr0 +/* 80331F6C 0032EB4C F4 89 00 08 */ psq_stu f4, 0x8(r9), 0, qr0 /* 80331F70 0032EB50 42 00 FD F0 */ bdnz .L_80331D60 .L_80331F74: -/* 80331F74 0032EB54 81 0D BB 20 */ lwz r8, Gbase@sda21(r13) +/* 80331F74 0032EB54 81 0D BB 20 */ lwz r8, Gbase@sda21(r0) /* 80331F78 0032EB58 7F C9 F3 78 */ mr r9, r30 -/* 80331F7C 0032EB5C 80 0D BB 40 */ lwz r0, Gwid@sda21(r13) -/* 80331F80 0032EB60 E0 E9 00 00 */ psq_l f7, 0(r9), 0, qr0 +/* 80331F7C 0032EB5C 80 0D BB 40 */ lwz r0, Gwid@sda21(r0) +/* 80331F80 0032EB60 E0 E9 00 00 */ psq_l f7, 0x0(r9), 0, qr0 /* 80331F84 0032EB64 54 07 18 38 */ slwi r7, r0, 3 -/* 80331F88 0032EB68 E0 C9 00 80 */ psq_l f6, 128(r9), 0, qr0 +/* 80331F88 0032EB68 E0 C9 00 80 */ psq_l f6, 0x80(r9), 0, qr0 /* 80331F8C 0032EB6C 54 83 10 3A */ slwi r3, r4, 2 -/* 80331F90 0032EB70 E0 A9 00 40 */ psq_l f5, 64(r9), 0, qr0 +/* 80331F90 0032EB70 E0 A9 00 40 */ psq_l f5, 0x40(r9), 0, qr0 /* 80331F94 0032EB74 54 06 10 3A */ slwi r6, r0, 2 /* 80331F98 0032EB78 11 27 30 2A */ ps_add f9, f7, f6 /* 80331F9C 0032EB7C 7C E7 1A 14 */ add r7, r7, r3 -/* 80331FA0 0032EB80 E0 89 00 C0 */ psq_l f4, 192(r9), 0, qr0 +/* 80331FA0 0032EB80 E0 89 00 C0 */ psq_l f4, 0xc0(r9), 0, qr0 /* 80331FA4 0032EB84 10 67 30 28 */ ps_sub f3, f7, f6 /* 80331FA8 0032EB88 7C C7 32 14 */ add r6, r7, r6 /* 80331FAC 0032EB8C 11 29 F8 2A */ ps_add f9, f9, f31 -/* 80331FB0 0032EB90 38 00 00 03 */ li r0, 3 +/* 80331FB0 0032EB90 38 00 00 03 */ li r0, 0x3 /* 80331FB4 0032EB94 11 05 20 2A */ ps_add f8, f5, f4 /* 80331FB8 0032EB98 7C A8 3A 14 */ add r5, r8, r7 /* 80331FBC 0032EB9C 10 45 20 28 */ ps_sub f2, f5, f4 @@ -2893,68 +2929,68 @@ __THPDecompressiMCURow640x480: /* 80331FC8 0032EBA8 10 63 F8 2A */ ps_add f3, f3, f31 /* 80331FCC 0032EBAC 7C 09 03 A6 */ mtctr r0 .L_80331FD0: -/* 80331FD0 0032EBB0 E1 69 00 20 */ psq_l f11, 32(r9), 0, qr0 +/* 80331FD0 0032EBB0 E1 69 00 20 */ psq_l f11, 0x20(r9), 0, qr0 /* 80331FD4 0032EBB4 10 42 46 F8 */ ps_msub f2, f2, f27, f8 -/* 80331FD8 0032EBB8 E1 49 00 60 */ psq_l f10, 96(r9), 0, qr0 +/* 80331FD8 0032EBB8 E1 49 00 60 */ psq_l f10, 0x60(r9), 0, qr0 /* 80331FDC 0032EBBC 11 89 40 28 */ ps_sub f12, f9, f8 /* 80331FE0 0032EBC0 10 23 10 2A */ ps_add f1, f3, f2 -/* 80331FE4 0032EBC4 E1 29 00 A0 */ psq_l f9, 160(r9), 0, qr0 +/* 80331FE4 0032EBC4 E1 29 00 A0 */ psq_l f9, 0xa0(r9), 0, qr0 /* 80331FE8 0032EBC8 11 A3 10 28 */ ps_sub f13, f3, f2 -/* 80331FEC 0032EBCC E1 09 00 E0 */ psq_l f8, 224(r9), 0, qr0 +/* 80331FEC 0032EBCC E1 09 00 E0 */ psq_l f8, 0xe0(r9), 0, qr0 /* 80331FF0 0032EBD0 10 69 50 2A */ ps_add f3, f9, f10 /* 80331FF4 0032EBD4 11 29 50 28 */ ps_sub f9, f9, f10 -/* 80331FF8 0032EBD8 39 29 00 08 */ addi r9, r9, 8 +/* 80331FF8 0032EBD8 39 29 00 08 */ addi r9, r9, 0x8 /* 80331FFC 0032EBDC 10 4B 40 2A */ ps_add f2, f11, f8 /* 80332000 0032EBE0 11 6B 40 28 */ ps_sub f11, f11, f8 -/* 80332004 0032EBE4 E0 E9 00 00 */ psq_l f7, 0(r9), 0, qr0 +/* 80332004 0032EBE4 E0 E9 00 00 */ psq_l f7, 0x0(r9), 0, qr0 /* 80332008 0032EBE8 11 02 18 2A */ ps_add f8, f2, f3 /* 8033200C 0032EBEC 11 42 18 28 */ ps_sub f10, f2, f3 /* 80332010 0032EBF0 10 69 58 2A */ ps_add f3, f9, f11 -/* 80332014 0032EBF4 E0 C9 00 80 */ psq_l f6, 128(r9), 0, qr0 +/* 80332014 0032EBF4 E0 C9 00 80 */ psq_l f6, 0x80(r9), 0, qr0 /* 80332018 0032EBF8 10 44 40 2A */ ps_add f2, f4, f8 /* 8033201C 0032EBFC 10 63 07 32 */ ps_mul f3, f3, f28 -/* 80332020 0032EC00 E0 A9 00 40 */ psq_l f5, 64(r9), 0, qr0 +/* 80332020 0032EC00 E0 A9 00 40 */ psq_l f5, 0x40(r9), 0, qr0 /* 80332024 0032EC04 10 04 40 28 */ ps_sub f0, f4, f8 /* 80332028 0032EC08 11 29 1F BA */ ps_madd f9, f9, f30, f3 -/* 8033202C 0032EC0C E0 89 00 C0 */ psq_l f4, 192(r9), 0, qr0 +/* 8033202C 0032EC0C E0 89 00 C0 */ psq_l f4, 0xc0(r9), 0, qr0 /* 80332030 0032EC10 11 29 40 28 */ ps_sub f9, f9, f8 -/* 80332034 0032EC14 38 E7 00 02 */ addi r7, r7, 2 -/* 80332038 0032EC18 F0 45 60 00 */ psq_st f2, 0(r5), 0, qr6 +/* 80332034 0032EC14 38 E7 00 02 */ addi r7, r7, 0x2 +/* 80332038 0032EC18 F0 45 60 00 */ psq_st f2, 0x0(r5), 0, qr6 /* 8033203C 0032EC1C 11 6B 1F 78 */ ps_msub f11, f11, f29, f3 /* 80332040 0032EC20 10 41 48 2A */ ps_add f2, f1, f9 /* 80332044 0032EC24 11 4A 4E F8 */ ps_msub f10, f10, f27, f9 /* 80332048 0032EC28 10 21 48 28 */ ps_sub f1, f1, f9 -/* 8033204C 0032EC2C F0 45 60 08 */ psq_st f2, 8(r5), 0, qr6 +/* 8033204C 0032EC2C F0 45 60 08 */ psq_st f2, 0x8(r5), 0, qr6 /* 80332050 0032EC30 10 6D 50 2A */ ps_add f3, f13, f10 /* 80332054 0032EC34 11 6B 50 2A */ ps_add f11, f11, f10 -/* 80332058 0032EC38 F0 65 60 10 */ psq_st f3, 16(r5), 0, qr6 -/* 8033205C 0032EC3C 38 C6 00 02 */ addi r6, r6, 2 +/* 80332058 0032EC38 F0 65 60 10 */ psq_st f3, 0x10(r5), 0, qr6 +/* 8033205C 0032EC3C 38 C6 00 02 */ addi r6, r6, 0x2 /* 80332060 0032EC40 10 4C 58 28 */ ps_sub f2, f12, f11 /* 80332064 0032EC44 10 6C 58 2A */ ps_add f3, f12, f11 -/* 80332068 0032EC48 F0 45 60 18 */ psq_st f2, 24(r5), 0, qr6 +/* 80332068 0032EC48 F0 45 60 18 */ psq_st f2, 0x18(r5), 0, qr6 /* 8033206C 0032EC4C 10 4D 50 28 */ ps_sub f2, f13, f10 /* 80332070 0032EC50 11 27 30 2A */ ps_add f9, f7, f6 -/* 80332074 0032EC54 F0 63 60 00 */ psq_st f3, 0(r3), 0, qr6 +/* 80332074 0032EC54 F0 63 60 00 */ psq_st f3, 0x0(r3), 0, qr6 /* 80332078 0032EC58 10 67 30 28 */ ps_sub f3, f7, f6 /* 8033207C 0032EC5C 11 29 F8 2A */ ps_add f9, f9, f31 -/* 80332080 0032EC60 F0 43 60 08 */ psq_st f2, 8(r3), 0, qr6 +/* 80332080 0032EC60 F0 43 60 08 */ psq_st f2, 0x8(r3), 0, qr6 /* 80332084 0032EC64 11 05 20 2A */ ps_add f8, f5, f4 /* 80332088 0032EC68 10 45 20 28 */ ps_sub f2, f5, f4 -/* 8033208C 0032EC6C F0 23 60 10 */ psq_st f1, 16(r3), 0, qr6 +/* 8033208C 0032EC6C F0 23 60 10 */ psq_st f1, 0x10(r3), 0, qr6 /* 80332090 0032EC70 7C A8 3A 14 */ add r5, r8, r7 /* 80332094 0032EC74 10 89 40 2A */ ps_add f4, f9, f8 -/* 80332098 0032EC78 F0 03 60 18 */ psq_st f0, 24(r3), 0, qr6 +/* 80332098 0032EC78 F0 03 60 18 */ psq_st f0, 0x18(r3), 0, qr6 /* 8033209C 0032EC7C 10 63 F8 2A */ ps_add f3, f3, f31 /* 803320A0 0032EC80 7C 68 32 14 */ add r3, r8, r6 /* 803320A4 0032EC84 42 00 FF 2C */ bdnz .L_80331FD0 -/* 803320A8 0032EC88 E1 69 00 20 */ psq_l f11, 32(r9), 0, qr0 +/* 803320A8 0032EC88 E1 69 00 20 */ psq_l f11, 0x20(r9), 0, qr0 /* 803320AC 0032EC8C 10 42 46 F8 */ ps_msub f2, f2, f27, f8 -/* 803320B0 0032EC90 E1 49 00 60 */ psq_l f10, 96(r9), 0, qr0 +/* 803320B0 0032EC90 E1 49 00 60 */ psq_l f10, 0x60(r9), 0, qr0 /* 803320B4 0032EC94 11 89 40 28 */ ps_sub f12, f9, f8 /* 803320B8 0032EC98 10 23 10 2A */ ps_add f1, f3, f2 -/* 803320BC 0032EC9C E1 29 00 A0 */ psq_l f9, 160(r9), 0, qr0 +/* 803320BC 0032EC9C E1 29 00 A0 */ psq_l f9, 0xa0(r9), 0, qr0 /* 803320C0 0032ECA0 11 A3 10 28 */ ps_sub f13, f3, f2 -/* 803320C4 0032ECA4 E1 09 00 E0 */ psq_l f8, 224(r9), 0, qr0 +/* 803320C4 0032ECA4 E1 09 00 E0 */ psq_l f8, 0xe0(r9), 0, qr0 /* 803320C8 0032ECA8 10 69 50 2A */ ps_add f3, f9, f10 /* 803320CC 0032ECAC 11 29 50 28 */ ps_sub f9, f9, f10 /* 803320D0 0032ECB0 10 4B 40 2A */ ps_add f2, f11, f8 @@ -2966,52 +3002,52 @@ __THPDecompressiMCURow640x480: /* 803320E8 0032ECC8 10 63 07 32 */ ps_mul f3, f3, f28 /* 803320EC 0032ECCC 10 04 40 28 */ ps_sub f0, f4, f8 /* 803320F0 0032ECD0 11 29 1F BA */ ps_madd f9, f9, f30, f3 -/* 803320F4 0032ECD4 F0 45 60 00 */ psq_st f2, 0(r5), 0, qr6 +/* 803320F4 0032ECD4 F0 45 60 00 */ psq_st f2, 0x0(r5), 0, qr6 /* 803320F8 0032ECD8 11 29 40 28 */ ps_sub f9, f9, f8 /* 803320FC 0032ECDC 11 6B 1F 78 */ ps_msub f11, f11, f29, f3 -/* 80332100 0032ECE0 F0 03 60 18 */ psq_st f0, 24(r3), 0, qr6 +/* 80332100 0032ECE0 F0 03 60 18 */ psq_st f0, 0x18(r3), 0, qr6 /* 80332104 0032ECE4 10 41 48 2A */ ps_add f2, f1, f9 /* 80332108 0032ECE8 11 4A 4E F8 */ ps_msub f10, f10, f27, f9 /* 8033210C 0032ECEC 10 21 48 28 */ ps_sub f1, f1, f9 -/* 80332110 0032ECF0 F0 45 60 08 */ psq_st f2, 8(r5), 0, qr6 +/* 80332110 0032ECF0 F0 45 60 08 */ psq_st f2, 0x8(r5), 0, qr6 /* 80332114 0032ECF4 10 6D 50 2A */ ps_add f3, f13, f10 /* 80332118 0032ECF8 11 6B 50 2A */ ps_add f11, f11, f10 -/* 8033211C 0032ECFC F0 65 60 10 */ psq_st f3, 16(r5), 0, qr6 +/* 8033211C 0032ECFC F0 65 60 10 */ psq_st f3, 0x10(r5), 0, qr6 /* 80332120 0032ED00 10 4C 58 28 */ ps_sub f2, f12, f11 -/* 80332124 0032ED04 F0 23 60 10 */ psq_st f1, 16(r3), 0, qr6 +/* 80332124 0032ED04 F0 23 60 10 */ psq_st f1, 0x10(r3), 0, qr6 /* 80332128 0032ED08 10 6C 58 2A */ ps_add f3, f12, f11 -/* 8033212C 0032ED0C F0 45 60 18 */ psq_st f2, 24(r5), 0, qr6 +/* 8033212C 0032ED0C F0 45 60 18 */ psq_st f2, 0x18(r5), 0, qr6 /* 80332130 0032ED10 10 4D 50 28 */ ps_sub f2, f13, f10 -/* 80332134 0032ED14 F0 63 60 00 */ psq_st f3, 0(r3), 0, qr6 -/* 80332138 0032ED18 F0 43 60 08 */ psq_st f2, 8(r3), 0, qr6 +/* 80332134 0032ED14 F0 63 60 00 */ psq_st f3, 0x0(r3), 0, qr6 +/* 80332138 0032ED18 F0 43 60 08 */ psq_st f2, 0x8(r3), 0, qr6 /* 8033213C 0032ED1C 81 1C 00 1C */ lwz r8, 0x1c(r28) -/* 80332140 0032ED20 80 ED BB 60 */ lwz r7, Gq@sda21(r13) -/* 80332144 0032ED24 39 24 00 08 */ addi r9, r4, 8 -/* 80332148 0032ED28 39 5E FF F8 */ addi r10, r30, -8 -/* 8033214C 0032ED2C 38 60 00 08 */ li r3, 8 +/* 80332140 0032ED20 80 ED BB 60 */ lwz r7, Gq@sda21(r0) +/* 80332144 0032ED24 39 24 00 08 */ addi r9, r4, 0x8 +/* 80332148 0032ED28 39 5E FF F8 */ subi r10, r30, 0x8 +/* 8033214C 0032ED2C 38 60 00 08 */ li r3, 0x8 /* 80332150 0032ED30 7C 69 03 A6 */ mtctr r3 .L_80332154: -/* 80332154 0032ED34 E0 E8 50 00 */ psq_l f7, 0(r8), 0, qr5 -/* 80332158 0032ED38 E0 C7 00 00 */ psq_l f6, 0(r7), 0, qr0 +/* 80332154 0032ED34 E0 E8 50 00 */ psq_l f7, 0x0(r8), 0, qr5 +/* 80332158 0032ED38 E0 C7 00 00 */ psq_l f6, 0x0(r7), 0, qr0 /* 8033215C 0032ED3C 80 C8 00 0C */ lwz r6, 0xc(r8) -/* 80332160 0032ED40 80 08 00 08 */ lwz r0, 8(r8) +/* 80332160 0032ED40 80 08 00 08 */ lwz r0, 0x8(r8) /* 80332164 0032ED44 10 E7 01 B2 */ ps_mul f7, f7, f6 -/* 80332168 0032ED48 80 A8 00 04 */ lwz r5, 4(r8) -/* 8033216C 0032ED4C A0 68 00 02 */ lhz r3, 2(r8) +/* 80332168 0032ED48 80 A8 00 04 */ lwz r5, 0x4(r8) +/* 8033216C 0032ED4C A0 68 00 02 */ lhz r3, 0x2(r8) /* 80332170 0032ED50 7C C6 03 78 */ or r6, r6, r0 .L_80332174: -/* 80332174 0032ED54 2C 06 00 00 */ cmpwi r6, 0 +/* 80332174 0032ED54 2C 06 00 00 */ cmpwi r6, 0x0 /* 80332178 0032ED58 40 82 01 48 */ bne .L_803322C0 /* 8033217C 0032ED5C 10 87 3C 20 */ ps_merge00 f4, f7, f7 -/* 80332180 0032ED60 2C 05 00 00 */ cmpwi r5, 0 -/* 80332184 0032ED64 F0 8A 00 08 */ psq_st f4, 8(r10), 0, qr0 +/* 80332180 0032ED60 2C 05 00 00 */ cmpwi r5, 0x0 +/* 80332184 0032ED64 F0 8A 00 08 */ psq_st f4, 0x8(r10), 0, qr0 /* 80332188 0032ED68 40 82 00 9C */ bne .L_80332224 -/* 8033218C 0032ED6C F0 8A 00 10 */ psq_st f4, 16(r10), 0, qr0 -/* 80332190 0032ED70 2C 03 00 00 */ cmpwi r3, 0 -/* 80332194 0032ED74 F0 8A 00 18 */ psq_st f4, 24(r10), 0, qr0 +/* 8033218C 0032ED6C F0 8A 00 10 */ psq_st f4, 0x10(r10), 0, qr0 +/* 80332190 0032ED70 2C 03 00 00 */ cmpwi r3, 0x0 +/* 80332194 0032ED74 F0 8A 00 18 */ psq_st f4, 0x18(r10), 0, qr0 /* 80332198 0032ED78 40 82 00 18 */ bne .L_803321B0 /* 8033219C 0032ED7C 38 E7 00 20 */ addi r7, r7, 0x20 -/* 803321A0 0032ED80 F4 8A 00 20 */ psq_stu f4, 32(r10), 0, qr0 +/* 803321A0 0032ED80 F4 8A 00 20 */ psq_stu f4, 0x20(r10), 0, qr0 /* 803321A4 0032ED84 39 08 00 10 */ addi r8, r8, 0x10 /* 803321A8 0032ED88 42 00 FF AC */ bdnz .L_80332154 /* 803321AC 0032ED8C 48 00 01 DC */ b .L_80332388 @@ -3021,33 +3057,33 @@ __THPDecompressiMCURow640x480: /* 803321B8 0032ED98 10 47 3C 20 */ ps_merge00 f2, f7, f7 /* 803321BC 0032ED9C 38 E7 00 20 */ addi r7, r7, 0x20 /* 803321C0 0032EDA0 10 3C E8 28 */ ps_sub f1, f28, f29 -/* 803321C4 0032EDA4 80 A8 00 04 */ lwz r5, 4(r8) +/* 803321C4 0032EDA4 80 A8 00 04 */ lwz r5, 0x4(r8) /* 803321C8 0032EDA8 11 87 6E F8 */ ps_msub f12, f7, f27, f13 -/* 803321CC 0032EDAC A0 68 00 02 */ lhz r3, 2(r8) +/* 803321CC 0032EDAC A0 68 00 02 */ lhz r3, 0x2(r8) /* 803321D0 0032EDB0 11 47 6C E0 */ ps_merge11 f10, f7, f13 -/* 803321D4 0032EDB4 E0 C7 00 00 */ psq_l f6, 0(r7), 0, qr0 +/* 803321D4 0032EDB4 E0 C7 00 00 */ psq_l f6, 0x0(r7), 0, qr0 /* 803321D8 0032EDB8 11 67 60 7C */ ps_nmsub f11, f7, f1, f12 /* 803321DC 0032EDBC 11 02 50 2A */ ps_add f8, f2, f10 -/* 803321E0 0032EDC0 E0 E8 50 00 */ psq_l f7, 0(r8), 0, qr5 +/* 803321E0 0032EDC0 E0 E8 50 00 */ psq_l f7, 0x0(r8), 0, qr5 /* 803321E4 0032EDC4 11 2C 5C E0 */ ps_merge11 f9, f12, f11 /* 803321E8 0032EDC8 11 42 50 28 */ ps_sub f10, f2, f10 /* 803321EC 0032EDCC 80 C8 00 0C */ lwz r6, 0xc(r8) /* 803321F0 0032EDD0 10 62 48 2A */ ps_add f3, f2, f9 -/* 803321F4 0032EDD4 80 08 00 08 */ lwz r0, 8(r8) +/* 803321F4 0032EDD4 80 08 00 08 */ lwz r0, 0x8(r8) /* 803321F8 0032EDD8 11 22 48 28 */ ps_sub f9, f2, f9 -/* 803321FC 0032EDDC F5 0A 00 08 */ psq_stu f8, 8(r10), 0, qr0 +/* 803321FC 0032EDDC F5 0A 00 08 */ psq_stu f8, 0x8(r10), 0, qr0 /* 80332200 0032EDE0 11 29 4C A0 */ ps_merge10 f9, f9, f9 -/* 80332204 0032EDE4 F4 6A 00 08 */ psq_stu f3, 8(r10), 0, qr0 +/* 80332204 0032EDE4 F4 6A 00 08 */ psq_stu f3, 0x8(r10), 0, qr0 /* 80332208 0032EDE8 11 4A 54 A0 */ ps_merge10 f10, f10, f10 /* 8033220C 0032EDEC 7C C6 03 78 */ or r6, r6, r0 -/* 80332210 0032EDF0 F5 2A 00 08 */ psq_stu f9, 8(r10), 0, qr0 +/* 80332210 0032EDF0 F5 2A 00 08 */ psq_stu f9, 0x8(r10), 0, qr0 /* 80332214 0032EDF4 10 E7 01 B2 */ ps_mul f7, f7, f6 -/* 80332218 0032EDF8 F5 4A 00 08 */ psq_stu f10, 8(r10), 0, qr0 +/* 80332218 0032EDF8 F5 4A 00 08 */ psq_stu f10, 0x8(r10), 0, qr0 /* 8033221C 0032EDFC 42 00 FF 58 */ bdnz .L_80332174 /* 80332220 0032EE00 48 00 01 68 */ b .L_80332388 .L_80332224: -/* 80332224 0032EE04 E0 28 50 04 */ psq_l f1, 4(r8), 0, qr5 -/* 80332228 0032EE08 E0 47 00 08 */ psq_l f2, 8(r7), 0, qr0 +/* 80332224 0032EE04 E0 28 50 04 */ psq_l f1, 0x4(r8), 0, qr5 +/* 80332228 0032EE08 E0 47 00 08 */ psq_l f2, 0x8(r7), 0, qr0 /* 8033222C 0032EE0C 39 08 00 10 */ addi r8, r8, 0x10 /* 80332230 0032EE10 10 21 00 B2 */ ps_mul f1, f1, f2 /* 80332234 0032EE14 38 E7 00 20 */ addi r7, r7, 0x20 @@ -3058,43 +3094,43 @@ __THPDecompressiMCURow640x480: /* 80332248 0032EE28 11 41 6E FC */ ps_nmsub f10, f1, f27, f13 /* 8033224C 0032EE2C 10 6C 07 32 */ ps_mul f3, f12, f28 /* 80332250 0032EE30 11 6D 5C 20 */ ps_merge00 f11, f13, f11 -/* 80332254 0032EE34 80 08 00 08 */ lwz r0, 8(r8) +/* 80332254 0032EE34 80 08 00 08 */ lwz r0, 0x8(r8) /* 80332258 0032EE38 11 21 1F BC */ ps_nmsub f9, f1, f30, f3 /* 8033225C 0032EE3C 11 4A 64 20 */ ps_merge00 f10, f10, f12 -/* 80332260 0032EE40 80 A8 00 04 */ lwz r5, 4(r8) +/* 80332260 0032EE40 80 A8 00 04 */ lwz r5, 0x4(r8) /* 80332264 0032EE44 11 29 68 28 */ ps_sub f9, f9, f13 /* 80332268 0032EE48 11 07 1F 7C */ ps_nmsub f8, f7, f29, f3 -/* 8033226C 0032EE4C A0 68 00 02 */ lhz r3, 2(r8) +/* 8033226C 0032EE4C A0 68 00 02 */ lhz r3, 0x2(r8) /* 80332270 0032EE50 11 AD 4C E0 */ ps_merge11 f13, f13, f9 /* 80332274 0032EE54 10 6C 4E F8 */ ps_msub f3, f12, f27, f9 -/* 80332278 0032EE58 E0 E8 50 00 */ psq_l f7, 0(r8), 0, qr5 +/* 80332278 0032EE58 E0 E8 50 00 */ psq_l f7, 0x0(r8), 0, qr5 /* 8033227C 0032EE5C 10 4B 68 2A */ ps_add f2, f11, f13 /* 80332280 0032EE60 11 08 18 28 */ ps_sub f8, f8, f3 -/* 80332284 0032EE64 E0 C7 00 00 */ psq_l f6, 0(r7), 0, qr0 +/* 80332284 0032EE64 E0 C7 00 00 */ psq_l f6, 0x0(r7), 0, qr0 /* 80332288 0032EE68 11 83 44 E0 */ ps_merge11 f12, f3, f8 /* 8033228C 0032EE6C 11 6B 68 28 */ ps_sub f11, f11, f13 -/* 80332290 0032EE70 F4 4A 00 08 */ psq_stu f2, 8(r10), 0, qr0 +/* 80332290 0032EE70 F4 4A 00 08 */ psq_stu f2, 0x8(r10), 0, qr0 /* 80332294 0032EE74 10 8A 60 2A */ ps_add f4, f10, f12 /* 80332298 0032EE78 10 2A 60 28 */ ps_sub f1, f10, f12 /* 8033229C 0032EE7C 7C C6 03 78 */ or r6, r6, r0 -/* 803322A0 0032EE80 F4 8A 00 08 */ psq_stu f4, 8(r10), 0, qr0 +/* 803322A0 0032EE80 F4 8A 00 08 */ psq_stu f4, 0x8(r10), 0, qr0 /* 803322A4 0032EE84 10 21 0C A0 */ ps_merge10 f1, f1, f1 /* 803322A8 0032EE88 11 6B 5C A0 */ ps_merge10 f11, f11, f11 -/* 803322AC 0032EE8C F4 2A 00 08 */ psq_stu f1, 8(r10), 0, qr0 +/* 803322AC 0032EE8C F4 2A 00 08 */ psq_stu f1, 0x8(r10), 0, qr0 /* 803322B0 0032EE90 10 E7 01 B2 */ ps_mul f7, f7, f6 -/* 803322B4 0032EE94 F5 6A 00 08 */ psq_stu f11, 8(r10), 0, qr0 +/* 803322B4 0032EE94 F5 6A 00 08 */ psq_stu f11, 0x8(r10), 0, qr0 /* 803322B8 0032EE98 42 00 FE BC */ bdnz .L_80332174 /* 803322BC 0032EE9C 48 00 00 CC */ b .L_80332388 .L_803322C0: -/* 803322C0 0032EEA0 E0 48 50 04 */ psq_l f2, 4(r8), 0, qr5 -/* 803322C4 0032EEA4 E1 47 00 08 */ psq_l f10, 8(r7), 0, qr0 +/* 803322C0 0032EEA0 E0 48 50 04 */ psq_l f2, 0x4(r8), 0, qr5 +/* 803322C4 0032EEA4 E1 47 00 08 */ psq_l f10, 0x8(r7), 0, qr0 /* 803322C8 0032EEA8 10 42 02 B2 */ ps_mul f2, f2, f10 -/* 803322CC 0032EEAC E1 A8 50 08 */ psq_l f13, 8(r8), 0, qr5 -/* 803322D0 0032EEB0 E1 27 00 10 */ psq_l f9, 16(r7), 0, qr0 +/* 803322CC 0032EEAC E1 A8 50 08 */ psq_l f13, 0x8(r8), 0, qr5 +/* 803322D0 0032EEB0 E1 27 00 10 */ psq_l f9, 0x10(r7), 0, qr0 /* 803322D4 0032EEB4 10 87 14 60 */ ps_merge01 f4, f7, f2 -/* 803322D8 0032EEB8 E1 88 50 0C */ psq_l f12, 12(r8), 0, qr5 +/* 803322D8 0032EEB8 E1 88 50 0C */ psq_l f12, 0xc(r8), 0, qr5 /* 803322DC 0032EEBC 10 22 3C 60 */ ps_merge01 f1, f2, f7 -/* 803322E0 0032EEC0 E1 07 00 18 */ psq_l f8, 24(r7), 0, qr0 +/* 803322E0 0032EEC0 E1 07 00 18 */ psq_l f8, 0x18(r7), 0, qr0 /* 803322E4 0032EEC4 39 08 00 10 */ addi r8, r8, 0x10 /* 803322E8 0032EEC8 11 6D 22 7A */ ps_madd f11, f13, f9, f4 /* 803322EC 0032EECC 11 4D 22 7C */ ps_nmsub f10, f13, f9, f4 @@ -3109,50 +3145,50 @@ __THPDecompressiMCURow640x480: /* 80332310 0032EEF0 10 2A 68 2A */ ps_add f1, f10, f13 /* 80332314 0032EEF4 11 AA 68 28 */ ps_sub f13, f10, f13 /* 80332318 0032EEF8 10 63 07 32 */ ps_mul f3, f3, f28 -/* 8033231C 0032EEFC 80 08 00 08 */ lwz r0, 8(r8) +/* 8033231C 0032EEFC 80 08 00 08 */ lwz r0, 0x8(r8) /* 80332320 0032EF00 10 24 0C 20 */ ps_merge00 f1, f4, f1 /* 80332324 0032EF04 11 2A 1F BC */ ps_nmsub f9, f10, f30, f3 /* 80332328 0032EF08 11 68 1F 78 */ ps_msub f11, f8, f29, f3 -/* 8033232C 0032EF0C 80 A8 00 04 */ lwz r5, 4(r8) +/* 8033232C 0032EF0C 80 A8 00 04 */ lwz r5, 0x4(r8) /* 80332330 0032EF10 11 29 20 28 */ ps_sub f9, f9, f4 /* 80332334 0032EF14 11 AD 64 20 */ ps_merge00 f13, f13, f12 -/* 80332338 0032EF18 A0 68 00 02 */ lhz r3, 2(r8) +/* 80332338 0032EF18 A0 68 00 02 */ lhz r3, 0x2(r8) /* 8033233C 0032EF1C 11 4C 4E FA */ ps_madd f10, f12, f27, f9 /* 80332340 0032EF20 11 04 4C E0 */ ps_merge11 f8, f4, f9 -/* 80332344 0032EF24 E0 E8 50 00 */ psq_l f7, 0(r8), 0, qr5 +/* 80332344 0032EF24 E0 E8 50 00 */ psq_l f7, 0x0(r8), 0, qr5 /* 80332348 0032EF28 11 6B 50 28 */ ps_sub f11, f11, f10 /* 8033234C 0032EF2C 11 81 40 2A */ ps_add f12, f1, f8 -/* 80332350 0032EF30 E0 C7 00 00 */ psq_l f6, 0(r7), 0, qr0 +/* 80332350 0032EF30 E0 C7 00 00 */ psq_l f6, 0x0(r7), 0, qr0 /* 80332354 0032EF34 11 6A 5C E0 */ ps_merge11 f11, f10, f11 /* 80332358 0032EF38 10 81 40 28 */ ps_sub f4, f1, f8 /* 8033235C 0032EF3C 10 E7 01 B2 */ ps_mul f7, f7, f6 /* 80332360 0032EF40 11 4D 58 2A */ ps_add f10, f13, f11 /* 80332364 0032EF44 11 2D 58 28 */ ps_sub f9, f13, f11 /* 80332368 0032EF48 11 4A 54 A0 */ ps_merge10 f10, f10, f10 -/* 8033236C 0032EF4C F5 8A 00 08 */ psq_stu f12, 8(r10), 0, qr0 +/* 8033236C 0032EF4C F5 8A 00 08 */ psq_stu f12, 0x8(r10), 0, qr0 /* 80332370 0032EF50 10 84 24 A0 */ ps_merge10 f4, f4, f4 -/* 80332374 0032EF54 F5 2A 00 08 */ psq_stu f9, 8(r10), 0, qr0 -/* 80332378 0032EF58 F5 4A 00 08 */ psq_stu f10, 8(r10), 0, qr0 +/* 80332374 0032EF54 F5 2A 00 08 */ psq_stu f9, 0x8(r10), 0, qr0 +/* 80332378 0032EF58 F5 4A 00 08 */ psq_stu f10, 0x8(r10), 0, qr0 /* 8033237C 0032EF5C 7C C6 03 78 */ or r6, r6, r0 -/* 80332380 0032EF60 F4 8A 00 08 */ psq_stu f4, 8(r10), 0, qr0 +/* 80332380 0032EF60 F4 8A 00 08 */ psq_stu f4, 0x8(r10), 0, qr0 /* 80332384 0032EF64 42 00 FD F0 */ bdnz .L_80332174 .L_80332388: -/* 80332388 0032EF68 81 0D BB 20 */ lwz r8, Gbase@sda21(r13) +/* 80332388 0032EF68 81 0D BB 20 */ lwz r8, Gbase@sda21(r0) /* 8033238C 0032EF6C 7F CA F3 78 */ mr r10, r30 -/* 80332390 0032EF70 80 0D BB 40 */ lwz r0, Gwid@sda21(r13) -/* 80332394 0032EF74 E0 EA 00 00 */ psq_l f7, 0(r10), 0, qr0 +/* 80332390 0032EF70 80 0D BB 40 */ lwz r0, Gwid@sda21(r0) +/* 80332394 0032EF74 E0 EA 00 00 */ psq_l f7, 0x0(r10), 0, qr0 /* 80332398 0032EF78 54 07 18 38 */ slwi r7, r0, 3 -/* 8033239C 0032EF7C E0 CA 00 80 */ psq_l f6, 128(r10), 0, qr0 +/* 8033239C 0032EF7C E0 CA 00 80 */ psq_l f6, 0x80(r10), 0, qr0 /* 803323A0 0032EF80 55 29 10 3A */ slwi r9, r9, 2 -/* 803323A4 0032EF84 E0 AA 00 40 */ psq_l f5, 64(r10), 0, qr0 +/* 803323A4 0032EF84 E0 AA 00 40 */ psq_l f5, 0x40(r10), 0, qr0 /* 803323A8 0032EF88 54 06 10 3A */ slwi r6, r0, 2 /* 803323AC 0032EF8C 11 27 30 2A */ ps_add f9, f7, f6 /* 803323B0 0032EF90 7C E7 4A 14 */ add r7, r7, r9 -/* 803323B4 0032EF94 E0 8A 00 C0 */ psq_l f4, 192(r10), 0, qr0 +/* 803323B4 0032EF94 E0 8A 00 C0 */ psq_l f4, 0xc0(r10), 0, qr0 /* 803323B8 0032EF98 10 67 30 28 */ ps_sub f3, f7, f6 /* 803323BC 0032EF9C 7C C7 32 14 */ add r6, r7, r6 /* 803323C0 0032EFA0 11 29 F8 2A */ ps_add f9, f9, f31 -/* 803323C4 0032EFA4 38 00 00 03 */ li r0, 3 +/* 803323C4 0032EFA4 38 00 00 03 */ li r0, 0x3 /* 803323C8 0032EFA8 11 05 20 2A */ ps_add f8, f5, f4 /* 803323CC 0032EFAC 7C A8 3A 14 */ add r5, r8, r7 /* 803323D0 0032EFB0 10 45 20 28 */ ps_sub f2, f5, f4 @@ -3161,68 +3197,68 @@ __THPDecompressiMCURow640x480: /* 803323DC 0032EFBC 10 63 F8 2A */ ps_add f3, f3, f31 /* 803323E0 0032EFC0 7C 09 03 A6 */ mtctr r0 .L_803323E4: -/* 803323E4 0032EFC4 E1 6A 00 20 */ psq_l f11, 32(r10), 0, qr0 +/* 803323E4 0032EFC4 E1 6A 00 20 */ psq_l f11, 0x20(r10), 0, qr0 /* 803323E8 0032EFC8 10 42 46 F8 */ ps_msub f2, f2, f27, f8 -/* 803323EC 0032EFCC E1 4A 00 60 */ psq_l f10, 96(r10), 0, qr0 +/* 803323EC 0032EFCC E1 4A 00 60 */ psq_l f10, 0x60(r10), 0, qr0 /* 803323F0 0032EFD0 11 89 40 28 */ ps_sub f12, f9, f8 /* 803323F4 0032EFD4 10 23 10 2A */ ps_add f1, f3, f2 -/* 803323F8 0032EFD8 E1 2A 00 A0 */ psq_l f9, 160(r10), 0, qr0 +/* 803323F8 0032EFD8 E1 2A 00 A0 */ psq_l f9, 0xa0(r10), 0, qr0 /* 803323FC 0032EFDC 11 A3 10 28 */ ps_sub f13, f3, f2 -/* 80332400 0032EFE0 E1 0A 00 E0 */ psq_l f8, 224(r10), 0, qr0 +/* 80332400 0032EFE0 E1 0A 00 E0 */ psq_l f8, 0xe0(r10), 0, qr0 /* 80332404 0032EFE4 10 69 50 2A */ ps_add f3, f9, f10 /* 80332408 0032EFE8 11 29 50 28 */ ps_sub f9, f9, f10 -/* 8033240C 0032EFEC 39 4A 00 08 */ addi r10, r10, 8 +/* 8033240C 0032EFEC 39 4A 00 08 */ addi r10, r10, 0x8 /* 80332410 0032EFF0 10 4B 40 2A */ ps_add f2, f11, f8 /* 80332414 0032EFF4 11 6B 40 28 */ ps_sub f11, f11, f8 -/* 80332418 0032EFF8 E0 EA 00 00 */ psq_l f7, 0(r10), 0, qr0 +/* 80332418 0032EFF8 E0 EA 00 00 */ psq_l f7, 0x0(r10), 0, qr0 /* 8033241C 0032EFFC 11 02 18 2A */ ps_add f8, f2, f3 /* 80332420 0032F000 11 42 18 28 */ ps_sub f10, f2, f3 /* 80332424 0032F004 10 69 58 2A */ ps_add f3, f9, f11 -/* 80332428 0032F008 E0 CA 00 80 */ psq_l f6, 128(r10), 0, qr0 +/* 80332428 0032F008 E0 CA 00 80 */ psq_l f6, 0x80(r10), 0, qr0 /* 8033242C 0032F00C 10 44 40 2A */ ps_add f2, f4, f8 /* 80332430 0032F010 10 63 07 32 */ ps_mul f3, f3, f28 -/* 80332434 0032F014 E0 AA 00 40 */ psq_l f5, 64(r10), 0, qr0 +/* 80332434 0032F014 E0 AA 00 40 */ psq_l f5, 0x40(r10), 0, qr0 /* 80332438 0032F018 10 04 40 28 */ ps_sub f0, f4, f8 /* 8033243C 0032F01C 11 29 1F BA */ ps_madd f9, f9, f30, f3 -/* 80332440 0032F020 E0 8A 00 C0 */ psq_l f4, 192(r10), 0, qr0 +/* 80332440 0032F020 E0 8A 00 C0 */ psq_l f4, 0xc0(r10), 0, qr0 /* 80332444 0032F024 11 29 40 28 */ ps_sub f9, f9, f8 -/* 80332448 0032F028 38 E7 00 02 */ addi r7, r7, 2 -/* 8033244C 0032F02C F0 45 60 00 */ psq_st f2, 0(r5), 0, qr6 +/* 80332448 0032F028 38 E7 00 02 */ addi r7, r7, 0x2 +/* 8033244C 0032F02C F0 45 60 00 */ psq_st f2, 0x0(r5), 0, qr6 /* 80332450 0032F030 11 6B 1F 78 */ ps_msub f11, f11, f29, f3 /* 80332454 0032F034 10 41 48 2A */ ps_add f2, f1, f9 /* 80332458 0032F038 11 4A 4E F8 */ ps_msub f10, f10, f27, f9 /* 8033245C 0032F03C 10 21 48 28 */ ps_sub f1, f1, f9 -/* 80332460 0032F040 F0 45 60 08 */ psq_st f2, 8(r5), 0, qr6 +/* 80332460 0032F040 F0 45 60 08 */ psq_st f2, 0x8(r5), 0, qr6 /* 80332464 0032F044 10 6D 50 2A */ ps_add f3, f13, f10 /* 80332468 0032F048 11 6B 50 2A */ ps_add f11, f11, f10 -/* 8033246C 0032F04C F0 65 60 10 */ psq_st f3, 16(r5), 0, qr6 -/* 80332470 0032F050 38 C6 00 02 */ addi r6, r6, 2 +/* 8033246C 0032F04C F0 65 60 10 */ psq_st f3, 0x10(r5), 0, qr6 +/* 80332470 0032F050 38 C6 00 02 */ addi r6, r6, 0x2 /* 80332474 0032F054 10 4C 58 28 */ ps_sub f2, f12, f11 /* 80332478 0032F058 10 6C 58 2A */ ps_add f3, f12, f11 -/* 8033247C 0032F05C F0 45 60 18 */ psq_st f2, 24(r5), 0, qr6 +/* 8033247C 0032F05C F0 45 60 18 */ psq_st f2, 0x18(r5), 0, qr6 /* 80332480 0032F060 10 4D 50 28 */ ps_sub f2, f13, f10 /* 80332484 0032F064 11 27 30 2A */ ps_add f9, f7, f6 -/* 80332488 0032F068 F0 63 60 00 */ psq_st f3, 0(r3), 0, qr6 +/* 80332488 0032F068 F0 63 60 00 */ psq_st f3, 0x0(r3), 0, qr6 /* 8033248C 0032F06C 10 67 30 28 */ ps_sub f3, f7, f6 /* 80332490 0032F070 11 29 F8 2A */ ps_add f9, f9, f31 -/* 80332494 0032F074 F0 43 60 08 */ psq_st f2, 8(r3), 0, qr6 +/* 80332494 0032F074 F0 43 60 08 */ psq_st f2, 0x8(r3), 0, qr6 /* 80332498 0032F078 11 05 20 2A */ ps_add f8, f5, f4 /* 8033249C 0032F07C 10 45 20 28 */ ps_sub f2, f5, f4 -/* 803324A0 0032F080 F0 23 60 10 */ psq_st f1, 16(r3), 0, qr6 +/* 803324A0 0032F080 F0 23 60 10 */ psq_st f1, 0x10(r3), 0, qr6 /* 803324A4 0032F084 7C A8 3A 14 */ add r5, r8, r7 /* 803324A8 0032F088 10 89 40 2A */ ps_add f4, f9, f8 -/* 803324AC 0032F08C F0 03 60 18 */ psq_st f0, 24(r3), 0, qr6 +/* 803324AC 0032F08C F0 03 60 18 */ psq_st f0, 0x18(r3), 0, qr6 /* 803324B0 0032F090 10 63 F8 2A */ ps_add f3, f3, f31 /* 803324B4 0032F094 7C 68 32 14 */ add r3, r8, r6 /* 803324B8 0032F098 42 00 FF 2C */ bdnz .L_803323E4 -/* 803324BC 0032F09C E1 6A 00 20 */ psq_l f11, 32(r10), 0, qr0 +/* 803324BC 0032F09C E1 6A 00 20 */ psq_l f11, 0x20(r10), 0, qr0 /* 803324C0 0032F0A0 10 42 46 F8 */ ps_msub f2, f2, f27, f8 -/* 803324C4 0032F0A4 E1 4A 00 60 */ psq_l f10, 96(r10), 0, qr0 +/* 803324C4 0032F0A4 E1 4A 00 60 */ psq_l f10, 0x60(r10), 0, qr0 /* 803324C8 0032F0A8 11 89 40 28 */ ps_sub f12, f9, f8 /* 803324CC 0032F0AC 10 23 10 2A */ ps_add f1, f3, f2 -/* 803324D0 0032F0B0 E1 2A 00 A0 */ psq_l f9, 160(r10), 0, qr0 +/* 803324D0 0032F0B0 E1 2A 00 A0 */ psq_l f9, 0xa0(r10), 0, qr0 /* 803324D4 0032F0B4 11 A3 10 28 */ ps_sub f13, f3, f2 -/* 803324D8 0032F0B8 E1 0A 00 E0 */ psq_l f8, 224(r10), 0, qr0 +/* 803324D8 0032F0B8 E1 0A 00 E0 */ psq_l f8, 0xe0(r10), 0, qr0 /* 803324DC 0032F0BC 10 69 50 2A */ ps_add f3, f9, f10 /* 803324E0 0032F0C0 11 29 50 28 */ ps_sub f9, f9, f10 /* 803324E4 0032F0C4 10 4B 40 2A */ ps_add f2, f11, f8 @@ -3234,60 +3270,60 @@ __THPDecompressiMCURow640x480: /* 803324FC 0032F0DC 10 63 07 32 */ ps_mul f3, f3, f28 /* 80332500 0032F0E0 10 04 40 28 */ ps_sub f0, f4, f8 /* 80332504 0032F0E4 11 29 1F BA */ ps_madd f9, f9, f30, f3 -/* 80332508 0032F0E8 F0 45 60 00 */ psq_st f2, 0(r5), 0, qr6 +/* 80332508 0032F0E8 F0 45 60 00 */ psq_st f2, 0x0(r5), 0, qr6 /* 8033250C 0032F0EC 11 29 40 28 */ ps_sub f9, f9, f8 /* 80332510 0032F0F0 11 6B 1F 78 */ ps_msub f11, f11, f29, f3 -/* 80332514 0032F0F4 F0 03 60 18 */ psq_st f0, 24(r3), 0, qr6 +/* 80332514 0032F0F4 F0 03 60 18 */ psq_st f0, 0x18(r3), 0, qr6 /* 80332518 0032F0F8 10 41 48 2A */ ps_add f2, f1, f9 /* 8033251C 0032F0FC 11 4A 4E F8 */ ps_msub f10, f10, f27, f9 /* 80332520 0032F100 10 21 48 28 */ ps_sub f1, f1, f9 -/* 80332524 0032F104 F0 45 60 08 */ psq_st f2, 8(r5), 0, qr6 +/* 80332524 0032F104 F0 45 60 08 */ psq_st f2, 0x8(r5), 0, qr6 /* 80332528 0032F108 10 6D 50 2A */ ps_add f3, f13, f10 /* 8033252C 0032F10C 11 6B 50 2A */ ps_add f11, f11, f10 -/* 80332530 0032F110 F0 65 60 10 */ psq_st f3, 16(r5), 0, qr6 +/* 80332530 0032F110 F0 65 60 10 */ psq_st f3, 0x10(r5), 0, qr6 /* 80332534 0032F114 10 4C 58 28 */ ps_sub f2, f12, f11 -/* 80332538 0032F118 F0 23 60 10 */ psq_st f1, 16(r3), 0, qr6 +/* 80332538 0032F118 F0 23 60 10 */ psq_st f1, 0x10(r3), 0, qr6 /* 8033253C 0032F11C 10 6C 58 2A */ ps_add f3, f12, f11 -/* 80332540 0032F120 F0 45 60 18 */ psq_st f2, 24(r5), 0, qr6 +/* 80332540 0032F120 F0 45 60 18 */ psq_st f2, 0x18(r5), 0, qr6 /* 80332544 0032F124 10 4D 50 28 */ ps_sub f2, f13, f10 -/* 80332548 0032F128 F0 63 60 00 */ psq_st f3, 0(r3), 0, qr6 -/* 8033254C 0032F12C F0 43 60 08 */ psq_st f2, 8(r3), 0, qr6 -/* 80332550 0032F130 80 7F 00 04 */ lwz r3, 4(r31) +/* 80332548 0032F128 F0 63 60 00 */ psq_st f3, 0x0(r3), 0, qr6 +/* 8033254C 0032F12C F0 43 60 08 */ psq_st f2, 0x8(r3), 0, qr6 +/* 80332550 0032F130 80 7F 00 04 */ lwz r3, 0x4(r31) /* 80332554 0032F134 38 00 01 40 */ li r0, 0x140 -/* 80332558 0032F138 90 6D BB 20 */ stw r3, Gbase@sda21(r13) +/* 80332558 0032F138 90 6D BB 20 */ stw r3, Gbase@sda21(r0) /* 8033255C 0032F13C 54 84 F8 7E */ srwi r4, r4, 1 -/* 80332560 0032F140 39 3E FF F8 */ addi r9, r30, -8 -/* 80332564 0032F144 90 0D BB 40 */ stw r0, Gwid@sda21(r13) +/* 80332560 0032F140 39 3E FF F8 */ subi r9, r30, 0x8 +/* 80332564 0032F144 90 0D BB 40 */ stw r0, Gwid@sda21(r0) /* 80332568 0032F148 88 1C 08 67 */ lbz r0, 0x867(r28) /* 8033256C 0032F14C 54 03 40 2E */ slwi r3, r0, 8 /* 80332570 0032F150 38 03 04 38 */ addi r0, r3, 0x438 /* 80332574 0032F154 7C 1C 02 14 */ add r0, r28, r0 -/* 80332578 0032F158 90 0D BB 60 */ stw r0, Gq@sda21(r13) +/* 80332578 0032F158 90 0D BB 60 */ stw r0, Gq@sda21(r0) /* 8033257C 0032F15C 80 FC 00 20 */ lwz r7, 0x20(r28) -/* 80332580 0032F160 80 CD BB 60 */ lwz r6, Gq@sda21(r13) -/* 80332584 0032F164 38 00 00 08 */ li r0, 8 +/* 80332580 0032F160 80 CD BB 60 */ lwz r6, Gq@sda21(r0) +/* 80332584 0032F164 38 00 00 08 */ li r0, 0x8 /* 80332588 0032F168 7C 09 03 A6 */ mtctr r0 .L_8033258C: -/* 8033258C 0032F16C E0 E7 50 00 */ psq_l f7, 0(r7), 0, qr5 -/* 80332590 0032F170 E0 C6 00 00 */ psq_l f6, 0(r6), 0, qr0 +/* 8033258C 0032F16C E0 E7 50 00 */ psq_l f7, 0x0(r7), 0, qr5 +/* 80332590 0032F170 E0 C6 00 00 */ psq_l f6, 0x0(r6), 0, qr0 /* 80332594 0032F174 80 A7 00 0C */ lwz r5, 0xc(r7) -/* 80332598 0032F178 80 07 00 08 */ lwz r0, 8(r7) +/* 80332598 0032F178 80 07 00 08 */ lwz r0, 0x8(r7) /* 8033259C 0032F17C 10 E7 01 B2 */ ps_mul f7, f7, f6 -/* 803325A0 0032F180 80 67 00 04 */ lwz r3, 4(r7) +/* 803325A0 0032F180 80 67 00 04 */ lwz r3, 0x4(r7) .L_803325A4: /* 803325A4 0032F184 7C A5 03 79 */ or. r5, r5, r0 -/* 803325A8 0032F188 A0 07 00 02 */ lhz r0, 2(r7) +/* 803325A8 0032F188 A0 07 00 02 */ lhz r0, 0x2(r7) /* 803325AC 0032F18C 40 82 01 38 */ bne .L_803326E4 /* 803325B0 0032F190 10 87 3C 20 */ ps_merge00 f4, f7, f7 -/* 803325B4 0032F194 2C 03 00 00 */ cmpwi r3, 0 -/* 803325B8 0032F198 F0 89 00 08 */ psq_st f4, 8(r9), 0, qr0 +/* 803325B4 0032F194 2C 03 00 00 */ cmpwi r3, 0x0 +/* 803325B8 0032F198 F0 89 00 08 */ psq_st f4, 0x8(r9), 0, qr0 /* 803325BC 0032F19C 40 82 00 94 */ bne .L_80332650 -/* 803325C0 0032F1A0 F0 89 00 10 */ psq_st f4, 16(r9), 0, qr0 -/* 803325C4 0032F1A4 2C 00 00 00 */ cmpwi r0, 0 -/* 803325C8 0032F1A8 F0 89 00 18 */ psq_st f4, 24(r9), 0, qr0 +/* 803325C0 0032F1A0 F0 89 00 10 */ psq_st f4, 0x10(r9), 0, qr0 +/* 803325C4 0032F1A4 2C 00 00 00 */ cmpwi r0, 0x0 +/* 803325C8 0032F1A8 F0 89 00 18 */ psq_st f4, 0x18(r9), 0, qr0 /* 803325CC 0032F1AC 40 82 00 18 */ bne .L_803325E4 /* 803325D0 0032F1B0 38 C6 00 20 */ addi r6, r6, 0x20 -/* 803325D4 0032F1B4 F4 89 00 20 */ psq_stu f4, 32(r9), 0, qr0 +/* 803325D4 0032F1B4 F4 89 00 20 */ psq_stu f4, 0x20(r9), 0, qr0 /* 803325D8 0032F1B8 38 E7 00 10 */ addi r7, r7, 0x10 /* 803325DC 0032F1BC 42 00 FF B0 */ bdnz .L_8033258C /* 803325E0 0032F1C0 48 00 01 C4 */ b .L_803327A4 @@ -3296,32 +3332,32 @@ __THPDecompressiMCURow640x480: /* 803325E8 0032F1C8 11 A7 3F 38 */ ps_msub f13, f7, f28, f7 /* 803325EC 0032F1CC 38 C6 00 20 */ addi r6, r6, 0x20 /* 803325F0 0032F1D0 10 47 3C 20 */ ps_merge00 f2, f7, f7 -/* 803325F4 0032F1D4 80 67 00 04 */ lwz r3, 4(r7) +/* 803325F4 0032F1D4 80 67 00 04 */ lwz r3, 0x4(r7) /* 803325F8 0032F1D8 10 3C E8 28 */ ps_sub f1, f28, f29 /* 803325FC 0032F1DC 11 87 6E F8 */ ps_msub f12, f7, f27, f13 /* 80332600 0032F1E0 11 47 6C E0 */ ps_merge11 f10, f7, f13 -/* 80332604 0032F1E4 E0 C6 00 00 */ psq_l f6, 0(r6), 0, qr0 +/* 80332604 0032F1E4 E0 C6 00 00 */ psq_l f6, 0x0(r6), 0, qr0 /* 80332608 0032F1E8 11 67 60 7C */ ps_nmsub f11, f7, f1, f12 /* 8033260C 0032F1EC 11 02 50 2A */ ps_add f8, f2, f10 -/* 80332610 0032F1F0 E0 E7 50 00 */ psq_l f7, 0(r7), 0, qr5 +/* 80332610 0032F1F0 E0 E7 50 00 */ psq_l f7, 0x0(r7), 0, qr5 /* 80332614 0032F1F4 11 2C 5C E0 */ ps_merge11 f9, f12, f11 /* 80332618 0032F1F8 11 42 50 28 */ ps_sub f10, f2, f10 /* 8033261C 0032F1FC 80 A7 00 0C */ lwz r5, 0xc(r7) /* 80332620 0032F200 10 62 48 2A */ ps_add f3, f2, f9 -/* 80332624 0032F204 80 07 00 08 */ lwz r0, 8(r7) +/* 80332624 0032F204 80 07 00 08 */ lwz r0, 0x8(r7) /* 80332628 0032F208 11 22 48 28 */ ps_sub f9, f2, f9 -/* 8033262C 0032F20C F5 09 00 08 */ psq_stu f8, 8(r9), 0, qr0 +/* 8033262C 0032F20C F5 09 00 08 */ psq_stu f8, 0x8(r9), 0, qr0 /* 80332630 0032F210 11 29 4C A0 */ ps_merge10 f9, f9, f9 -/* 80332634 0032F214 F4 69 00 08 */ psq_stu f3, 8(r9), 0, qr0 +/* 80332634 0032F214 F4 69 00 08 */ psq_stu f3, 0x8(r9), 0, qr0 /* 80332638 0032F218 11 4A 54 A0 */ ps_merge10 f10, f10, f10 -/* 8033263C 0032F21C F5 29 00 08 */ psq_stu f9, 8(r9), 0, qr0 +/* 8033263C 0032F21C F5 29 00 08 */ psq_stu f9, 0x8(r9), 0, qr0 /* 80332640 0032F220 10 E7 01 B2 */ ps_mul f7, f7, f6 -/* 80332644 0032F224 F5 49 00 08 */ psq_stu f10, 8(r9), 0, qr0 +/* 80332644 0032F224 F5 49 00 08 */ psq_stu f10, 0x8(r9), 0, qr0 /* 80332648 0032F228 42 00 FF 5C */ bdnz .L_803325A4 /* 8033264C 0032F22C 48 00 01 58 */ b .L_803327A4 .L_80332650: -/* 80332650 0032F230 E0 27 50 04 */ psq_l f1, 4(r7), 0, qr5 -/* 80332654 0032F234 E0 46 00 08 */ psq_l f2, 8(r6), 0, qr0 +/* 80332650 0032F230 E0 27 50 04 */ psq_l f1, 0x4(r7), 0, qr5 +/* 80332654 0032F234 E0 46 00 08 */ psq_l f2, 0x8(r6), 0, qr0 /* 80332658 0032F238 38 E7 00 10 */ addi r7, r7, 0x10 /* 8033265C 0032F23C 10 21 00 B2 */ ps_mul f1, f1, f2 /* 80332660 0032F240 38 C6 00 20 */ addi r6, r6, 0x20 @@ -3332,41 +3368,41 @@ __THPDecompressiMCURow640x480: /* 80332674 0032F254 11 41 6E FC */ ps_nmsub f10, f1, f27, f13 /* 80332678 0032F258 10 6C 07 32 */ ps_mul f3, f12, f28 /* 8033267C 0032F25C 11 6D 5C 20 */ ps_merge00 f11, f13, f11 -/* 80332680 0032F260 80 07 00 08 */ lwz r0, 8(r7) +/* 80332680 0032F260 80 07 00 08 */ lwz r0, 0x8(r7) /* 80332684 0032F264 11 21 1F BC */ ps_nmsub f9, f1, f30, f3 /* 80332688 0032F268 11 4A 64 20 */ ps_merge00 f10, f10, f12 -/* 8033268C 0032F26C 80 67 00 04 */ lwz r3, 4(r7) +/* 8033268C 0032F26C 80 67 00 04 */ lwz r3, 0x4(r7) /* 80332690 0032F270 11 29 68 28 */ ps_sub f9, f9, f13 /* 80332694 0032F274 11 07 1F 7C */ ps_nmsub f8, f7, f29, f3 /* 80332698 0032F278 11 AD 4C E0 */ ps_merge11 f13, f13, f9 /* 8033269C 0032F27C 10 6C 4E F8 */ ps_msub f3, f12, f27, f9 -/* 803326A0 0032F280 E0 E7 50 00 */ psq_l f7, 0(r7), 0, qr5 +/* 803326A0 0032F280 E0 E7 50 00 */ psq_l f7, 0x0(r7), 0, qr5 /* 803326A4 0032F284 10 4B 68 2A */ ps_add f2, f11, f13 /* 803326A8 0032F288 11 08 18 28 */ ps_sub f8, f8, f3 -/* 803326AC 0032F28C E0 C6 00 00 */ psq_l f6, 0(r6), 0, qr0 +/* 803326AC 0032F28C E0 C6 00 00 */ psq_l f6, 0x0(r6), 0, qr0 /* 803326B0 0032F290 11 83 44 E0 */ ps_merge11 f12, f3, f8 /* 803326B4 0032F294 11 6B 68 28 */ ps_sub f11, f11, f13 -/* 803326B8 0032F298 F4 49 00 08 */ psq_stu f2, 8(r9), 0, qr0 +/* 803326B8 0032F298 F4 49 00 08 */ psq_stu f2, 0x8(r9), 0, qr0 /* 803326BC 0032F29C 10 8A 60 2A */ ps_add f4, f10, f12 /* 803326C0 0032F2A0 10 2A 60 28 */ ps_sub f1, f10, f12 -/* 803326C4 0032F2A4 F4 89 00 08 */ psq_stu f4, 8(r9), 0, qr0 +/* 803326C4 0032F2A4 F4 89 00 08 */ psq_stu f4, 0x8(r9), 0, qr0 /* 803326C8 0032F2A8 10 21 0C A0 */ ps_merge10 f1, f1, f1 /* 803326CC 0032F2AC 11 6B 5C A0 */ ps_merge10 f11, f11, f11 -/* 803326D0 0032F2B0 F4 29 00 08 */ psq_stu f1, 8(r9), 0, qr0 +/* 803326D0 0032F2B0 F4 29 00 08 */ psq_stu f1, 0x8(r9), 0, qr0 /* 803326D4 0032F2B4 10 E7 01 B2 */ ps_mul f7, f7, f6 -/* 803326D8 0032F2B8 F5 69 00 08 */ psq_stu f11, 8(r9), 0, qr0 +/* 803326D8 0032F2B8 F5 69 00 08 */ psq_stu f11, 0x8(r9), 0, qr0 /* 803326DC 0032F2BC 42 00 FE C8 */ bdnz .L_803325A4 /* 803326E0 0032F2C0 48 00 00 C4 */ b .L_803327A4 .L_803326E4: -/* 803326E4 0032F2C4 E0 47 50 04 */ psq_l f2, 4(r7), 0, qr5 -/* 803326E8 0032F2C8 E1 46 00 08 */ psq_l f10, 8(r6), 0, qr0 +/* 803326E4 0032F2C4 E0 47 50 04 */ psq_l f2, 0x4(r7), 0, qr5 +/* 803326E8 0032F2C8 E1 46 00 08 */ psq_l f10, 0x8(r6), 0, qr0 /* 803326EC 0032F2CC 10 42 02 B2 */ ps_mul f2, f2, f10 -/* 803326F0 0032F2D0 E1 A7 50 08 */ psq_l f13, 8(r7), 0, qr5 -/* 803326F4 0032F2D4 E1 26 00 10 */ psq_l f9, 16(r6), 0, qr0 +/* 803326F0 0032F2D0 E1 A7 50 08 */ psq_l f13, 0x8(r7), 0, qr5 +/* 803326F4 0032F2D4 E1 26 00 10 */ psq_l f9, 0x10(r6), 0, qr0 /* 803326F8 0032F2D8 10 87 14 60 */ ps_merge01 f4, f7, f2 -/* 803326FC 0032F2DC E1 87 50 0C */ psq_l f12, 12(r7), 0, qr5 +/* 803326FC 0032F2DC E1 87 50 0C */ psq_l f12, 0xc(r7), 0, qr5 /* 80332700 0032F2E0 10 22 3C 60 */ ps_merge01 f1, f2, f7 -/* 80332704 0032F2E4 E1 06 00 18 */ psq_l f8, 24(r6), 0, qr0 +/* 80332704 0032F2E4 E1 06 00 18 */ psq_l f8, 0x18(r6), 0, qr0 /* 80332708 0032F2E8 38 E7 00 10 */ addi r7, r7, 0x10 /* 8033270C 0032F2EC 11 6D 22 7A */ ps_madd f11, f13, f9, f4 /* 80332710 0032F2F0 11 4D 22 7C */ ps_nmsub f10, f13, f9, f4 @@ -3381,47 +3417,47 @@ __THPDecompressiMCURow640x480: /* 80332734 0032F314 10 2A 68 2A */ ps_add f1, f10, f13 /* 80332738 0032F318 11 AA 68 28 */ ps_sub f13, f10, f13 /* 8033273C 0032F31C 10 63 07 32 */ ps_mul f3, f3, f28 -/* 80332740 0032F320 80 07 00 08 */ lwz r0, 8(r7) +/* 80332740 0032F320 80 07 00 08 */ lwz r0, 0x8(r7) /* 80332744 0032F324 10 24 0C 20 */ ps_merge00 f1, f4, f1 /* 80332748 0032F328 11 2A 1F BC */ ps_nmsub f9, f10, f30, f3 /* 8033274C 0032F32C 11 68 1F 78 */ ps_msub f11, f8, f29, f3 -/* 80332750 0032F330 80 67 00 04 */ lwz r3, 4(r7) +/* 80332750 0032F330 80 67 00 04 */ lwz r3, 0x4(r7) /* 80332754 0032F334 11 29 20 28 */ ps_sub f9, f9, f4 /* 80332758 0032F338 11 AD 64 20 */ ps_merge00 f13, f13, f12 /* 8033275C 0032F33C 11 4C 4E FA */ ps_madd f10, f12, f27, f9 /* 80332760 0032F340 11 04 4C E0 */ ps_merge11 f8, f4, f9 -/* 80332764 0032F344 E0 E7 50 00 */ psq_l f7, 0(r7), 0, qr5 +/* 80332764 0032F344 E0 E7 50 00 */ psq_l f7, 0x0(r7), 0, qr5 /* 80332768 0032F348 11 6B 50 28 */ ps_sub f11, f11, f10 /* 8033276C 0032F34C 11 81 40 2A */ ps_add f12, f1, f8 -/* 80332770 0032F350 E0 C6 00 00 */ psq_l f6, 0(r6), 0, qr0 +/* 80332770 0032F350 E0 C6 00 00 */ psq_l f6, 0x0(r6), 0, qr0 /* 80332774 0032F354 11 6A 5C E0 */ ps_merge11 f11, f10, f11 /* 80332778 0032F358 10 81 40 28 */ ps_sub f4, f1, f8 /* 8033277C 0032F35C 10 E7 01 B2 */ ps_mul f7, f7, f6 /* 80332780 0032F360 11 4D 58 2A */ ps_add f10, f13, f11 /* 80332784 0032F364 11 2D 58 28 */ ps_sub f9, f13, f11 /* 80332788 0032F368 11 4A 54 A0 */ ps_merge10 f10, f10, f10 -/* 8033278C 0032F36C F5 89 00 08 */ psq_stu f12, 8(r9), 0, qr0 +/* 8033278C 0032F36C F5 89 00 08 */ psq_stu f12, 0x8(r9), 0, qr0 /* 80332790 0032F370 10 84 24 A0 */ ps_merge10 f4, f4, f4 -/* 80332794 0032F374 F5 29 00 08 */ psq_stu f9, 8(r9), 0, qr0 -/* 80332798 0032F378 F5 49 00 08 */ psq_stu f10, 8(r9), 0, qr0 -/* 8033279C 0032F37C F4 89 00 08 */ psq_stu f4, 8(r9), 0, qr0 +/* 80332794 0032F374 F5 29 00 08 */ psq_stu f9, 0x8(r9), 0, qr0 +/* 80332798 0032F378 F5 49 00 08 */ psq_stu f10, 0x8(r9), 0, qr0 +/* 8033279C 0032F37C F4 89 00 08 */ psq_stu f4, 0x8(r9), 0, qr0 /* 803327A0 0032F380 42 00 FE 04 */ bdnz .L_803325A4 .L_803327A4: -/* 803327A4 0032F384 81 0D BB 20 */ lwz r8, Gbase@sda21(r13) +/* 803327A4 0032F384 81 0D BB 20 */ lwz r8, Gbase@sda21(r0) /* 803327A8 0032F388 7F C9 F3 78 */ mr r9, r30 -/* 803327AC 0032F38C 80 0D BB 40 */ lwz r0, Gwid@sda21(r13) -/* 803327B0 0032F390 E0 E9 00 00 */ psq_l f7, 0(r9), 0, qr0 +/* 803327AC 0032F38C 80 0D BB 40 */ lwz r0, Gwid@sda21(r0) +/* 803327B0 0032F390 E0 E9 00 00 */ psq_l f7, 0x0(r9), 0, qr0 /* 803327B4 0032F394 54 83 10 3A */ slwi r3, r4, 2 -/* 803327B8 0032F398 E0 C9 00 80 */ psq_l f6, 128(r9), 0, qr0 +/* 803327B8 0032F398 E0 C9 00 80 */ psq_l f6, 0x80(r9), 0, qr0 /* 803327BC 0032F39C 54 06 10 3A */ slwi r6, r0, 2 -/* 803327C0 0032F3A0 E0 A9 00 40 */ psq_l f5, 64(r9), 0, qr0 +/* 803327C0 0032F3A0 E0 A9 00 40 */ psq_l f5, 0x40(r9), 0, qr0 /* 803327C4 0032F3A4 7C 67 1B 78 */ mr r7, r3 /* 803327C8 0032F3A8 11 27 30 2A */ ps_add f9, f7, f6 -/* 803327CC 0032F3AC E0 89 00 C0 */ psq_l f4, 192(r9), 0, qr0 +/* 803327CC 0032F3AC E0 89 00 C0 */ psq_l f4, 0xc0(r9), 0, qr0 /* 803327D0 0032F3B0 10 67 30 28 */ ps_sub f3, f7, f6 /* 803327D4 0032F3B4 7C C7 32 14 */ add r6, r7, r6 /* 803327D8 0032F3B8 11 29 F8 2A */ ps_add f9, f9, f31 -/* 803327DC 0032F3BC 38 00 00 03 */ li r0, 3 +/* 803327DC 0032F3BC 38 00 00 03 */ li r0, 0x3 /* 803327E0 0032F3C0 11 05 20 2A */ ps_add f8, f5, f4 /* 803327E4 0032F3C4 7C A8 3A 14 */ add r5, r8, r7 /* 803327E8 0032F3C8 10 45 20 28 */ ps_sub f2, f5, f4 @@ -3430,68 +3466,68 @@ __THPDecompressiMCURow640x480: /* 803327F4 0032F3D4 10 63 F8 2A */ ps_add f3, f3, f31 /* 803327F8 0032F3D8 7C 09 03 A6 */ mtctr r0 .L_803327FC: -/* 803327FC 0032F3DC E1 69 00 20 */ psq_l f11, 32(r9), 0, qr0 +/* 803327FC 0032F3DC E1 69 00 20 */ psq_l f11, 0x20(r9), 0, qr0 /* 80332800 0032F3E0 10 42 46 F8 */ ps_msub f2, f2, f27, f8 -/* 80332804 0032F3E4 E1 49 00 60 */ psq_l f10, 96(r9), 0, qr0 +/* 80332804 0032F3E4 E1 49 00 60 */ psq_l f10, 0x60(r9), 0, qr0 /* 80332808 0032F3E8 11 89 40 28 */ ps_sub f12, f9, f8 /* 8033280C 0032F3EC 10 23 10 2A */ ps_add f1, f3, f2 -/* 80332810 0032F3F0 E1 29 00 A0 */ psq_l f9, 160(r9), 0, qr0 +/* 80332810 0032F3F0 E1 29 00 A0 */ psq_l f9, 0xa0(r9), 0, qr0 /* 80332814 0032F3F4 11 A3 10 28 */ ps_sub f13, f3, f2 -/* 80332818 0032F3F8 E1 09 00 E0 */ psq_l f8, 224(r9), 0, qr0 +/* 80332818 0032F3F8 E1 09 00 E0 */ psq_l f8, 0xe0(r9), 0, qr0 /* 8033281C 0032F3FC 10 69 50 2A */ ps_add f3, f9, f10 /* 80332820 0032F400 11 29 50 28 */ ps_sub f9, f9, f10 -/* 80332824 0032F404 39 29 00 08 */ addi r9, r9, 8 +/* 80332824 0032F404 39 29 00 08 */ addi r9, r9, 0x8 /* 80332828 0032F408 10 4B 40 2A */ ps_add f2, f11, f8 /* 8033282C 0032F40C 11 6B 40 28 */ ps_sub f11, f11, f8 -/* 80332830 0032F410 E0 E9 00 00 */ psq_l f7, 0(r9), 0, qr0 +/* 80332830 0032F410 E0 E9 00 00 */ psq_l f7, 0x0(r9), 0, qr0 /* 80332834 0032F414 11 02 18 2A */ ps_add f8, f2, f3 /* 80332838 0032F418 11 42 18 28 */ ps_sub f10, f2, f3 /* 8033283C 0032F41C 10 69 58 2A */ ps_add f3, f9, f11 -/* 80332840 0032F420 E0 C9 00 80 */ psq_l f6, 128(r9), 0, qr0 +/* 80332840 0032F420 E0 C9 00 80 */ psq_l f6, 0x80(r9), 0, qr0 /* 80332844 0032F424 10 44 40 2A */ ps_add f2, f4, f8 /* 80332848 0032F428 10 63 07 32 */ ps_mul f3, f3, f28 -/* 8033284C 0032F42C E0 A9 00 40 */ psq_l f5, 64(r9), 0, qr0 +/* 8033284C 0032F42C E0 A9 00 40 */ psq_l f5, 0x40(r9), 0, qr0 /* 80332850 0032F430 10 04 40 28 */ ps_sub f0, f4, f8 /* 80332854 0032F434 11 29 1F BA */ ps_madd f9, f9, f30, f3 -/* 80332858 0032F438 E0 89 00 C0 */ psq_l f4, 192(r9), 0, qr0 +/* 80332858 0032F438 E0 89 00 C0 */ psq_l f4, 0xc0(r9), 0, qr0 /* 8033285C 0032F43C 11 29 40 28 */ ps_sub f9, f9, f8 -/* 80332860 0032F440 38 E7 00 02 */ addi r7, r7, 2 -/* 80332864 0032F444 F0 45 60 00 */ psq_st f2, 0(r5), 0, qr6 +/* 80332860 0032F440 38 E7 00 02 */ addi r7, r7, 0x2 +/* 80332864 0032F444 F0 45 60 00 */ psq_st f2, 0x0(r5), 0, qr6 /* 80332868 0032F448 11 6B 1F 78 */ ps_msub f11, f11, f29, f3 /* 8033286C 0032F44C 10 41 48 2A */ ps_add f2, f1, f9 /* 80332870 0032F450 11 4A 4E F8 */ ps_msub f10, f10, f27, f9 /* 80332874 0032F454 10 21 48 28 */ ps_sub f1, f1, f9 -/* 80332878 0032F458 F0 45 60 08 */ psq_st f2, 8(r5), 0, qr6 +/* 80332878 0032F458 F0 45 60 08 */ psq_st f2, 0x8(r5), 0, qr6 /* 8033287C 0032F45C 10 6D 50 2A */ ps_add f3, f13, f10 /* 80332880 0032F460 11 6B 50 2A */ ps_add f11, f11, f10 -/* 80332884 0032F464 F0 65 60 10 */ psq_st f3, 16(r5), 0, qr6 -/* 80332888 0032F468 38 C6 00 02 */ addi r6, r6, 2 +/* 80332884 0032F464 F0 65 60 10 */ psq_st f3, 0x10(r5), 0, qr6 +/* 80332888 0032F468 38 C6 00 02 */ addi r6, r6, 0x2 /* 8033288C 0032F46C 10 4C 58 28 */ ps_sub f2, f12, f11 /* 80332890 0032F470 10 6C 58 2A */ ps_add f3, f12, f11 -/* 80332894 0032F474 F0 45 60 18 */ psq_st f2, 24(r5), 0, qr6 +/* 80332894 0032F474 F0 45 60 18 */ psq_st f2, 0x18(r5), 0, qr6 /* 80332898 0032F478 10 4D 50 28 */ ps_sub f2, f13, f10 /* 8033289C 0032F47C 11 27 30 2A */ ps_add f9, f7, f6 -/* 803328A0 0032F480 F0 63 60 00 */ psq_st f3, 0(r3), 0, qr6 +/* 803328A0 0032F480 F0 63 60 00 */ psq_st f3, 0x0(r3), 0, qr6 /* 803328A4 0032F484 10 67 30 28 */ ps_sub f3, f7, f6 /* 803328A8 0032F488 11 29 F8 2A */ ps_add f9, f9, f31 -/* 803328AC 0032F48C F0 43 60 08 */ psq_st f2, 8(r3), 0, qr6 +/* 803328AC 0032F48C F0 43 60 08 */ psq_st f2, 0x8(r3), 0, qr6 /* 803328B0 0032F490 11 05 20 2A */ ps_add f8, f5, f4 /* 803328B4 0032F494 10 45 20 28 */ ps_sub f2, f5, f4 -/* 803328B8 0032F498 F0 23 60 10 */ psq_st f1, 16(r3), 0, qr6 +/* 803328B8 0032F498 F0 23 60 10 */ psq_st f1, 0x10(r3), 0, qr6 /* 803328BC 0032F49C 7C A8 3A 14 */ add r5, r8, r7 /* 803328C0 0032F4A0 10 89 40 2A */ ps_add f4, f9, f8 -/* 803328C4 0032F4A4 F0 03 60 18 */ psq_st f0, 24(r3), 0, qr6 +/* 803328C4 0032F4A4 F0 03 60 18 */ psq_st f0, 0x18(r3), 0, qr6 /* 803328C8 0032F4A8 10 63 F8 2A */ ps_add f3, f3, f31 /* 803328CC 0032F4AC 7C 68 32 14 */ add r3, r8, r6 /* 803328D0 0032F4B0 42 00 FF 2C */ bdnz .L_803327FC -/* 803328D4 0032F4B4 E1 69 00 20 */ psq_l f11, 32(r9), 0, qr0 +/* 803328D4 0032F4B4 E1 69 00 20 */ psq_l f11, 0x20(r9), 0, qr0 /* 803328D8 0032F4B8 10 42 46 F8 */ ps_msub f2, f2, f27, f8 -/* 803328DC 0032F4BC E1 49 00 60 */ psq_l f10, 96(r9), 0, qr0 +/* 803328DC 0032F4BC E1 49 00 60 */ psq_l f10, 0x60(r9), 0, qr0 /* 803328E0 0032F4C0 11 89 40 28 */ ps_sub f12, f9, f8 /* 803328E4 0032F4C4 10 23 10 2A */ ps_add f1, f3, f2 -/* 803328E8 0032F4C8 E1 29 00 A0 */ psq_l f9, 160(r9), 0, qr0 +/* 803328E8 0032F4C8 E1 29 00 A0 */ psq_l f9, 0xa0(r9), 0, qr0 /* 803328EC 0032F4CC 11 A3 10 28 */ ps_sub f13, f3, f2 -/* 803328F0 0032F4D0 E1 09 00 E0 */ psq_l f8, 224(r9), 0, qr0 +/* 803328F0 0032F4D0 E1 09 00 E0 */ psq_l f8, 0xe0(r9), 0, qr0 /* 803328F4 0032F4D4 10 69 50 2A */ ps_add f3, f9, f10 /* 803328F8 0032F4D8 11 29 50 28 */ ps_sub f9, f9, f10 /* 803328FC 0032F4DC 10 4B 40 2A */ ps_add f2, f11, f8 @@ -3503,57 +3539,57 @@ __THPDecompressiMCURow640x480: /* 80332914 0032F4F4 10 63 07 32 */ ps_mul f3, f3, f28 /* 80332918 0032F4F8 10 04 40 28 */ ps_sub f0, f4, f8 /* 8033291C 0032F4FC 11 29 1F BA */ ps_madd f9, f9, f30, f3 -/* 80332920 0032F500 F0 45 60 00 */ psq_st f2, 0(r5), 0, qr6 +/* 80332920 0032F500 F0 45 60 00 */ psq_st f2, 0x0(r5), 0, qr6 /* 80332924 0032F504 11 29 40 28 */ ps_sub f9, f9, f8 /* 80332928 0032F508 11 6B 1F 78 */ ps_msub f11, f11, f29, f3 -/* 8033292C 0032F50C F0 03 60 18 */ psq_st f0, 24(r3), 0, qr6 +/* 8033292C 0032F50C F0 03 60 18 */ psq_st f0, 0x18(r3), 0, qr6 /* 80332930 0032F510 10 41 48 2A */ ps_add f2, f1, f9 /* 80332934 0032F514 11 4A 4E F8 */ ps_msub f10, f10, f27, f9 /* 80332938 0032F518 10 21 48 28 */ ps_sub f1, f1, f9 -/* 8033293C 0032F51C F0 45 60 08 */ psq_st f2, 8(r5), 0, qr6 +/* 8033293C 0032F51C F0 45 60 08 */ psq_st f2, 0x8(r5), 0, qr6 /* 80332940 0032F520 10 6D 50 2A */ ps_add f3, f13, f10 /* 80332944 0032F524 11 6B 50 2A */ ps_add f11, f11, f10 -/* 80332948 0032F528 F0 23 60 10 */ psq_st f1, 16(r3), 0, qr6 -/* 8033294C 0032F52C F0 65 60 10 */ psq_st f3, 16(r5), 0, qr6 +/* 80332948 0032F528 F0 23 60 10 */ psq_st f1, 0x10(r3), 0, qr6 +/* 8033294C 0032F52C F0 65 60 10 */ psq_st f3, 0x10(r5), 0, qr6 /* 80332950 0032F530 10 4C 58 28 */ ps_sub f2, f12, f11 /* 80332954 0032F534 10 6C 58 2A */ ps_add f3, f12, f11 -/* 80332958 0032F538 F0 45 60 18 */ psq_st f2, 24(r5), 0, qr6 +/* 80332958 0032F538 F0 45 60 18 */ psq_st f2, 0x18(r5), 0, qr6 /* 8033295C 0032F53C 10 4D 50 28 */ ps_sub f2, f13, f10 -/* 80332960 0032F540 F0 63 60 00 */ psq_st f3, 0(r3), 0, qr6 -/* 80332964 0032F544 F0 43 60 08 */ psq_st f2, 8(r3), 0, qr6 -/* 80332968 0032F548 80 1F 00 08 */ lwz r0, 8(r31) -/* 8033296C 0032F54C 39 1E FF F8 */ addi r8, r30, -8 -/* 80332970 0032F550 90 0D BB 20 */ stw r0, Gbase@sda21(r13) +/* 80332960 0032F540 F0 63 60 00 */ psq_st f3, 0x0(r3), 0, qr6 +/* 80332964 0032F544 F0 43 60 08 */ psq_st f2, 0x8(r3), 0, qr6 +/* 80332968 0032F548 80 1F 00 08 */ lwz r0, 0x8(r31) +/* 8033296C 0032F54C 39 1E FF F8 */ subi r8, r30, 0x8 +/* 80332970 0032F550 90 0D BB 20 */ stw r0, Gbase@sda21(r0) /* 80332974 0032F554 88 1C 08 93 */ lbz r0, 0x893(r28) /* 80332978 0032F558 54 05 40 2E */ slwi r5, r0, 8 /* 8033297C 0032F55C 38 05 04 38 */ addi r0, r5, 0x438 /* 80332980 0032F560 7C 1C 02 14 */ add r0, r28, r0 -/* 80332984 0032F564 90 0D BB 60 */ stw r0, Gq@sda21(r13) +/* 80332984 0032F564 90 0D BB 60 */ stw r0, Gq@sda21(r0) /* 80332988 0032F568 80 FC 00 24 */ lwz r7, 0x24(r28) -/* 8033298C 0032F56C 80 CD BB 60 */ lwz r6, Gq@sda21(r13) -/* 80332990 0032F570 38 00 00 08 */ li r0, 8 +/* 8033298C 0032F56C 80 CD BB 60 */ lwz r6, Gq@sda21(r0) +/* 80332990 0032F570 38 00 00 08 */ li r0, 0x8 /* 80332994 0032F574 7C 09 03 A6 */ mtctr r0 .L_80332998: -/* 80332998 0032F578 E0 E7 50 00 */ psq_l f7, 0(r7), 0, qr5 -/* 8033299C 0032F57C E0 C6 00 00 */ psq_l f6, 0(r6), 0, qr0 +/* 80332998 0032F578 E0 E7 50 00 */ psq_l f7, 0x0(r7), 0, qr5 +/* 8033299C 0032F57C E0 C6 00 00 */ psq_l f6, 0x0(r6), 0, qr0 /* 803329A0 0032F580 80 A7 00 0C */ lwz r5, 0xc(r7) -/* 803329A4 0032F584 80 07 00 08 */ lwz r0, 8(r7) +/* 803329A4 0032F584 80 07 00 08 */ lwz r0, 0x8(r7) /* 803329A8 0032F588 10 E7 01 B2 */ ps_mul f7, f7, f6 -/* 803329AC 0032F58C 80 67 00 04 */ lwz r3, 4(r7) +/* 803329AC 0032F58C 80 67 00 04 */ lwz r3, 0x4(r7) .L_803329B0: /* 803329B0 0032F590 7C A5 03 79 */ or. r5, r5, r0 -/* 803329B4 0032F594 A0 07 00 02 */ lhz r0, 2(r7) +/* 803329B4 0032F594 A0 07 00 02 */ lhz r0, 0x2(r7) /* 803329B8 0032F598 40 82 01 38 */ bne .L_80332AF0 /* 803329BC 0032F59C 10 87 3C 20 */ ps_merge00 f4, f7, f7 -/* 803329C0 0032F5A0 2C 03 00 00 */ cmpwi r3, 0 -/* 803329C4 0032F5A4 F0 88 00 08 */ psq_st f4, 8(r8), 0, qr0 +/* 803329C0 0032F5A0 2C 03 00 00 */ cmpwi r3, 0x0 +/* 803329C4 0032F5A4 F0 88 00 08 */ psq_st f4, 0x8(r8), 0, qr0 /* 803329C8 0032F5A8 40 82 00 94 */ bne .L_80332A5C -/* 803329CC 0032F5AC F0 88 00 10 */ psq_st f4, 16(r8), 0, qr0 -/* 803329D0 0032F5B0 2C 00 00 00 */ cmpwi r0, 0 -/* 803329D4 0032F5B4 F0 88 00 18 */ psq_st f4, 24(r8), 0, qr0 +/* 803329CC 0032F5AC F0 88 00 10 */ psq_st f4, 0x10(r8), 0, qr0 +/* 803329D0 0032F5B0 2C 00 00 00 */ cmpwi r0, 0x0 +/* 803329D4 0032F5B4 F0 88 00 18 */ psq_st f4, 0x18(r8), 0, qr0 /* 803329D8 0032F5B8 40 82 00 18 */ bne .L_803329F0 /* 803329DC 0032F5BC 38 C6 00 20 */ addi r6, r6, 0x20 -/* 803329E0 0032F5C0 F4 88 00 20 */ psq_stu f4, 32(r8), 0, qr0 +/* 803329E0 0032F5C0 F4 88 00 20 */ psq_stu f4, 0x20(r8), 0, qr0 /* 803329E4 0032F5C4 38 E7 00 10 */ addi r7, r7, 0x10 /* 803329E8 0032F5C8 42 00 FF B0 */ bdnz .L_80332998 /* 803329EC 0032F5CC 48 00 01 C4 */ b .L_80332BB0 @@ -3562,32 +3598,32 @@ __THPDecompressiMCURow640x480: /* 803329F4 0032F5D4 11 A7 3F 38 */ ps_msub f13, f7, f28, f7 /* 803329F8 0032F5D8 38 C6 00 20 */ addi r6, r6, 0x20 /* 803329FC 0032F5DC 10 47 3C 20 */ ps_merge00 f2, f7, f7 -/* 80332A00 0032F5E0 80 67 00 04 */ lwz r3, 4(r7) +/* 80332A00 0032F5E0 80 67 00 04 */ lwz r3, 0x4(r7) /* 80332A04 0032F5E4 10 3C E8 28 */ ps_sub f1, f28, f29 /* 80332A08 0032F5E8 11 87 6E F8 */ ps_msub f12, f7, f27, f13 /* 80332A0C 0032F5EC 11 47 6C E0 */ ps_merge11 f10, f7, f13 -/* 80332A10 0032F5F0 E0 C6 00 00 */ psq_l f6, 0(r6), 0, qr0 +/* 80332A10 0032F5F0 E0 C6 00 00 */ psq_l f6, 0x0(r6), 0, qr0 /* 80332A14 0032F5F4 11 67 60 7C */ ps_nmsub f11, f7, f1, f12 /* 80332A18 0032F5F8 11 02 50 2A */ ps_add f8, f2, f10 -/* 80332A1C 0032F5FC E0 E7 50 00 */ psq_l f7, 0(r7), 0, qr5 +/* 80332A1C 0032F5FC E0 E7 50 00 */ psq_l f7, 0x0(r7), 0, qr5 /* 80332A20 0032F600 11 2C 5C E0 */ ps_merge11 f9, f12, f11 /* 80332A24 0032F604 11 42 50 28 */ ps_sub f10, f2, f10 /* 80332A28 0032F608 80 A7 00 0C */ lwz r5, 0xc(r7) /* 80332A2C 0032F60C 10 62 48 2A */ ps_add f3, f2, f9 -/* 80332A30 0032F610 80 07 00 08 */ lwz r0, 8(r7) +/* 80332A30 0032F610 80 07 00 08 */ lwz r0, 0x8(r7) /* 80332A34 0032F614 11 22 48 28 */ ps_sub f9, f2, f9 -/* 80332A38 0032F618 F5 08 00 08 */ psq_stu f8, 8(r8), 0, qr0 +/* 80332A38 0032F618 F5 08 00 08 */ psq_stu f8, 0x8(r8), 0, qr0 /* 80332A3C 0032F61C 11 29 4C A0 */ ps_merge10 f9, f9, f9 -/* 80332A40 0032F620 F4 68 00 08 */ psq_stu f3, 8(r8), 0, qr0 +/* 80332A40 0032F620 F4 68 00 08 */ psq_stu f3, 0x8(r8), 0, qr0 /* 80332A44 0032F624 11 4A 54 A0 */ ps_merge10 f10, f10, f10 -/* 80332A48 0032F628 F5 28 00 08 */ psq_stu f9, 8(r8), 0, qr0 +/* 80332A48 0032F628 F5 28 00 08 */ psq_stu f9, 0x8(r8), 0, qr0 /* 80332A4C 0032F62C 10 E7 01 B2 */ ps_mul f7, f7, f6 -/* 80332A50 0032F630 F5 48 00 08 */ psq_stu f10, 8(r8), 0, qr0 +/* 80332A50 0032F630 F5 48 00 08 */ psq_stu f10, 0x8(r8), 0, qr0 /* 80332A54 0032F634 42 00 FF 5C */ bdnz .L_803329B0 /* 80332A58 0032F638 48 00 01 58 */ b .L_80332BB0 .L_80332A5C: -/* 80332A5C 0032F63C E0 27 50 04 */ psq_l f1, 4(r7), 0, qr5 -/* 80332A60 0032F640 E0 46 00 08 */ psq_l f2, 8(r6), 0, qr0 +/* 80332A5C 0032F63C E0 27 50 04 */ psq_l f1, 0x4(r7), 0, qr5 +/* 80332A60 0032F640 E0 46 00 08 */ psq_l f2, 0x8(r6), 0, qr0 /* 80332A64 0032F644 38 E7 00 10 */ addi r7, r7, 0x10 /* 80332A68 0032F648 10 21 00 B2 */ ps_mul f1, f1, f2 /* 80332A6C 0032F64C 38 C6 00 20 */ addi r6, r6, 0x20 @@ -3598,41 +3634,41 @@ __THPDecompressiMCURow640x480: /* 80332A80 0032F660 11 41 6E FC */ ps_nmsub f10, f1, f27, f13 /* 80332A84 0032F664 10 6C 07 32 */ ps_mul f3, f12, f28 /* 80332A88 0032F668 11 6D 5C 20 */ ps_merge00 f11, f13, f11 -/* 80332A8C 0032F66C 80 07 00 08 */ lwz r0, 8(r7) +/* 80332A8C 0032F66C 80 07 00 08 */ lwz r0, 0x8(r7) /* 80332A90 0032F670 11 21 1F BC */ ps_nmsub f9, f1, f30, f3 /* 80332A94 0032F674 11 4A 64 20 */ ps_merge00 f10, f10, f12 -/* 80332A98 0032F678 80 67 00 04 */ lwz r3, 4(r7) +/* 80332A98 0032F678 80 67 00 04 */ lwz r3, 0x4(r7) /* 80332A9C 0032F67C 11 29 68 28 */ ps_sub f9, f9, f13 /* 80332AA0 0032F680 11 07 1F 7C */ ps_nmsub f8, f7, f29, f3 /* 80332AA4 0032F684 11 AD 4C E0 */ ps_merge11 f13, f13, f9 /* 80332AA8 0032F688 10 6C 4E F8 */ ps_msub f3, f12, f27, f9 -/* 80332AAC 0032F68C E0 E7 50 00 */ psq_l f7, 0(r7), 0, qr5 +/* 80332AAC 0032F68C E0 E7 50 00 */ psq_l f7, 0x0(r7), 0, qr5 /* 80332AB0 0032F690 10 4B 68 2A */ ps_add f2, f11, f13 /* 80332AB4 0032F694 11 08 18 28 */ ps_sub f8, f8, f3 -/* 80332AB8 0032F698 E0 C6 00 00 */ psq_l f6, 0(r6), 0, qr0 +/* 80332AB8 0032F698 E0 C6 00 00 */ psq_l f6, 0x0(r6), 0, qr0 /* 80332ABC 0032F69C 11 83 44 E0 */ ps_merge11 f12, f3, f8 /* 80332AC0 0032F6A0 11 6B 68 28 */ ps_sub f11, f11, f13 -/* 80332AC4 0032F6A4 F4 48 00 08 */ psq_stu f2, 8(r8), 0, qr0 +/* 80332AC4 0032F6A4 F4 48 00 08 */ psq_stu f2, 0x8(r8), 0, qr0 /* 80332AC8 0032F6A8 10 8A 60 2A */ ps_add f4, f10, f12 /* 80332ACC 0032F6AC 10 2A 60 28 */ ps_sub f1, f10, f12 -/* 80332AD0 0032F6B0 F4 88 00 08 */ psq_stu f4, 8(r8), 0, qr0 +/* 80332AD0 0032F6B0 F4 88 00 08 */ psq_stu f4, 0x8(r8), 0, qr0 /* 80332AD4 0032F6B4 10 21 0C A0 */ ps_merge10 f1, f1, f1 /* 80332AD8 0032F6B8 11 6B 5C A0 */ ps_merge10 f11, f11, f11 -/* 80332ADC 0032F6BC F4 28 00 08 */ psq_stu f1, 8(r8), 0, qr0 +/* 80332ADC 0032F6BC F4 28 00 08 */ psq_stu f1, 0x8(r8), 0, qr0 /* 80332AE0 0032F6C0 10 E7 01 B2 */ ps_mul f7, f7, f6 -/* 80332AE4 0032F6C4 F5 68 00 08 */ psq_stu f11, 8(r8), 0, qr0 +/* 80332AE4 0032F6C4 F5 68 00 08 */ psq_stu f11, 0x8(r8), 0, qr0 /* 80332AE8 0032F6C8 42 00 FE C8 */ bdnz .L_803329B0 /* 80332AEC 0032F6CC 48 00 00 C4 */ b .L_80332BB0 .L_80332AF0: -/* 80332AF0 0032F6D0 E0 47 50 04 */ psq_l f2, 4(r7), 0, qr5 -/* 80332AF4 0032F6D4 E1 46 00 08 */ psq_l f10, 8(r6), 0, qr0 +/* 80332AF0 0032F6D0 E0 47 50 04 */ psq_l f2, 0x4(r7), 0, qr5 +/* 80332AF4 0032F6D4 E1 46 00 08 */ psq_l f10, 0x8(r6), 0, qr0 /* 80332AF8 0032F6D8 10 42 02 B2 */ ps_mul f2, f2, f10 -/* 80332AFC 0032F6DC E1 A7 50 08 */ psq_l f13, 8(r7), 0, qr5 -/* 80332B00 0032F6E0 E1 26 00 10 */ psq_l f9, 16(r6), 0, qr0 +/* 80332AFC 0032F6DC E1 A7 50 08 */ psq_l f13, 0x8(r7), 0, qr5 +/* 80332B00 0032F6E0 E1 26 00 10 */ psq_l f9, 0x10(r6), 0, qr0 /* 80332B04 0032F6E4 10 87 14 60 */ ps_merge01 f4, f7, f2 -/* 80332B08 0032F6E8 E1 87 50 0C */ psq_l f12, 12(r7), 0, qr5 +/* 80332B08 0032F6E8 E1 87 50 0C */ psq_l f12, 0xc(r7), 0, qr5 /* 80332B0C 0032F6EC 10 22 3C 60 */ ps_merge01 f1, f2, f7 -/* 80332B10 0032F6F0 E1 06 00 18 */ psq_l f8, 24(r6), 0, qr0 +/* 80332B10 0032F6F0 E1 06 00 18 */ psq_l f8, 0x18(r6), 0, qr0 /* 80332B14 0032F6F4 38 E7 00 10 */ addi r7, r7, 0x10 /* 80332B18 0032F6F8 11 6D 22 7A */ ps_madd f11, f13, f9, f4 /* 80332B1C 0032F6FC 11 4D 22 7C */ ps_nmsub f10, f13, f9, f4 @@ -3647,47 +3683,47 @@ __THPDecompressiMCURow640x480: /* 80332B40 0032F720 10 2A 68 2A */ ps_add f1, f10, f13 /* 80332B44 0032F724 11 AA 68 28 */ ps_sub f13, f10, f13 /* 80332B48 0032F728 10 63 07 32 */ ps_mul f3, f3, f28 -/* 80332B4C 0032F72C 80 07 00 08 */ lwz r0, 8(r7) +/* 80332B4C 0032F72C 80 07 00 08 */ lwz r0, 0x8(r7) /* 80332B50 0032F730 10 24 0C 20 */ ps_merge00 f1, f4, f1 /* 80332B54 0032F734 11 2A 1F BC */ ps_nmsub f9, f10, f30, f3 /* 80332B58 0032F738 11 68 1F 78 */ ps_msub f11, f8, f29, f3 -/* 80332B5C 0032F73C 80 67 00 04 */ lwz r3, 4(r7) +/* 80332B5C 0032F73C 80 67 00 04 */ lwz r3, 0x4(r7) /* 80332B60 0032F740 11 29 20 28 */ ps_sub f9, f9, f4 /* 80332B64 0032F744 11 AD 64 20 */ ps_merge00 f13, f13, f12 /* 80332B68 0032F748 11 4C 4E FA */ ps_madd f10, f12, f27, f9 /* 80332B6C 0032F74C 11 04 4C E0 */ ps_merge11 f8, f4, f9 -/* 80332B70 0032F750 E0 E7 50 00 */ psq_l f7, 0(r7), 0, qr5 +/* 80332B70 0032F750 E0 E7 50 00 */ psq_l f7, 0x0(r7), 0, qr5 /* 80332B74 0032F754 11 6B 50 28 */ ps_sub f11, f11, f10 /* 80332B78 0032F758 11 81 40 2A */ ps_add f12, f1, f8 -/* 80332B7C 0032F75C E0 C6 00 00 */ psq_l f6, 0(r6), 0, qr0 +/* 80332B7C 0032F75C E0 C6 00 00 */ psq_l f6, 0x0(r6), 0, qr0 /* 80332B80 0032F760 11 6A 5C E0 */ ps_merge11 f11, f10, f11 /* 80332B84 0032F764 10 81 40 28 */ ps_sub f4, f1, f8 /* 80332B88 0032F768 10 E7 01 B2 */ ps_mul f7, f7, f6 /* 80332B8C 0032F76C 11 4D 58 2A */ ps_add f10, f13, f11 /* 80332B90 0032F770 11 2D 58 28 */ ps_sub f9, f13, f11 /* 80332B94 0032F774 11 4A 54 A0 */ ps_merge10 f10, f10, f10 -/* 80332B98 0032F778 F5 88 00 08 */ psq_stu f12, 8(r8), 0, qr0 +/* 80332B98 0032F778 F5 88 00 08 */ psq_stu f12, 0x8(r8), 0, qr0 /* 80332B9C 0032F77C 10 84 24 A0 */ ps_merge10 f4, f4, f4 -/* 80332BA0 0032F780 F5 28 00 08 */ psq_stu f9, 8(r8), 0, qr0 -/* 80332BA4 0032F784 F5 48 00 08 */ psq_stu f10, 8(r8), 0, qr0 -/* 80332BA8 0032F788 F4 88 00 08 */ psq_stu f4, 8(r8), 0, qr0 +/* 80332BA0 0032F780 F5 28 00 08 */ psq_stu f9, 0x8(r8), 0, qr0 +/* 80332BA4 0032F784 F5 48 00 08 */ psq_stu f10, 0x8(r8), 0, qr0 +/* 80332BA8 0032F788 F4 88 00 08 */ psq_stu f4, 0x8(r8), 0, qr0 /* 80332BAC 0032F78C 42 00 FE 04 */ bdnz .L_803329B0 .L_80332BB0: -/* 80332BB0 0032F790 80 ED BB 20 */ lwz r7, Gbase@sda21(r13) +/* 80332BB0 0032F790 80 ED BB 20 */ lwz r7, Gbase@sda21(r0) /* 80332BB4 0032F794 7F C8 F3 78 */ mr r8, r30 -/* 80332BB8 0032F798 80 0D BB 40 */ lwz r0, Gwid@sda21(r13) -/* 80332BBC 0032F79C E0 E8 00 00 */ psq_l f7, 0(r8), 0, qr0 +/* 80332BB8 0032F798 80 0D BB 40 */ lwz r0, Gwid@sda21(r0) +/* 80332BBC 0032F79C E0 E8 00 00 */ psq_l f7, 0x0(r8), 0, qr0 /* 80332BC0 0032F7A0 54 83 10 3A */ slwi r3, r4, 2 -/* 80332BC4 0032F7A4 E0 C8 00 80 */ psq_l f6, 128(r8), 0, qr0 +/* 80332BC4 0032F7A4 E0 C8 00 80 */ psq_l f6, 0x80(r8), 0, qr0 /* 80332BC8 0032F7A8 54 05 10 3A */ slwi r5, r0, 2 -/* 80332BCC 0032F7AC E0 A8 00 40 */ psq_l f5, 64(r8), 0, qr0 +/* 80332BCC 0032F7AC E0 A8 00 40 */ psq_l f5, 0x40(r8), 0, qr0 /* 80332BD0 0032F7B0 7C 66 1B 78 */ mr r6, r3 /* 80332BD4 0032F7B4 11 27 30 2A */ ps_add f9, f7, f6 -/* 80332BD8 0032F7B8 E0 88 00 C0 */ psq_l f4, 192(r8), 0, qr0 +/* 80332BD8 0032F7B8 E0 88 00 C0 */ psq_l f4, 0xc0(r8), 0, qr0 /* 80332BDC 0032F7BC 10 67 30 28 */ ps_sub f3, f7, f6 /* 80332BE0 0032F7C0 7C A6 2A 14 */ add r5, r6, r5 /* 80332BE4 0032F7C4 11 29 F8 2A */ ps_add f9, f9, f31 -/* 80332BE8 0032F7C8 38 00 00 03 */ li r0, 3 +/* 80332BE8 0032F7C8 38 00 00 03 */ li r0, 0x3 /* 80332BEC 0032F7CC 11 05 20 2A */ ps_add f8, f5, f4 /* 80332BF0 0032F7D0 7C 87 32 14 */ add r4, r7, r6 /* 80332BF4 0032F7D4 10 45 20 28 */ ps_sub f2, f5, f4 @@ -3696,68 +3732,68 @@ __THPDecompressiMCURow640x480: /* 80332C00 0032F7E0 10 63 F8 2A */ ps_add f3, f3, f31 /* 80332C04 0032F7E4 7C 09 03 A6 */ mtctr r0 .L_80332C08: -/* 80332C08 0032F7E8 E1 68 00 20 */ psq_l f11, 32(r8), 0, qr0 +/* 80332C08 0032F7E8 E1 68 00 20 */ psq_l f11, 0x20(r8), 0, qr0 /* 80332C0C 0032F7EC 10 42 46 F8 */ ps_msub f2, f2, f27, f8 -/* 80332C10 0032F7F0 E1 48 00 60 */ psq_l f10, 96(r8), 0, qr0 +/* 80332C10 0032F7F0 E1 48 00 60 */ psq_l f10, 0x60(r8), 0, qr0 /* 80332C14 0032F7F4 11 89 40 28 */ ps_sub f12, f9, f8 /* 80332C18 0032F7F8 10 23 10 2A */ ps_add f1, f3, f2 -/* 80332C1C 0032F7FC E1 28 00 A0 */ psq_l f9, 160(r8), 0, qr0 +/* 80332C1C 0032F7FC E1 28 00 A0 */ psq_l f9, 0xa0(r8), 0, qr0 /* 80332C20 0032F800 11 A3 10 28 */ ps_sub f13, f3, f2 -/* 80332C24 0032F804 E1 08 00 E0 */ psq_l f8, 224(r8), 0, qr0 +/* 80332C24 0032F804 E1 08 00 E0 */ psq_l f8, 0xe0(r8), 0, qr0 /* 80332C28 0032F808 10 69 50 2A */ ps_add f3, f9, f10 /* 80332C2C 0032F80C 11 29 50 28 */ ps_sub f9, f9, f10 -/* 80332C30 0032F810 39 08 00 08 */ addi r8, r8, 8 +/* 80332C30 0032F810 39 08 00 08 */ addi r8, r8, 0x8 /* 80332C34 0032F814 10 4B 40 2A */ ps_add f2, f11, f8 /* 80332C38 0032F818 11 6B 40 28 */ ps_sub f11, f11, f8 -/* 80332C3C 0032F81C E0 E8 00 00 */ psq_l f7, 0(r8), 0, qr0 +/* 80332C3C 0032F81C E0 E8 00 00 */ psq_l f7, 0x0(r8), 0, qr0 /* 80332C40 0032F820 11 02 18 2A */ ps_add f8, f2, f3 /* 80332C44 0032F824 11 42 18 28 */ ps_sub f10, f2, f3 /* 80332C48 0032F828 10 69 58 2A */ ps_add f3, f9, f11 -/* 80332C4C 0032F82C E0 C8 00 80 */ psq_l f6, 128(r8), 0, qr0 +/* 80332C4C 0032F82C E0 C8 00 80 */ psq_l f6, 0x80(r8), 0, qr0 /* 80332C50 0032F830 10 44 40 2A */ ps_add f2, f4, f8 /* 80332C54 0032F834 10 63 07 32 */ ps_mul f3, f3, f28 -/* 80332C58 0032F838 E0 A8 00 40 */ psq_l f5, 64(r8), 0, qr0 +/* 80332C58 0032F838 E0 A8 00 40 */ psq_l f5, 0x40(r8), 0, qr0 /* 80332C5C 0032F83C 10 04 40 28 */ ps_sub f0, f4, f8 /* 80332C60 0032F840 11 29 1F BA */ ps_madd f9, f9, f30, f3 -/* 80332C64 0032F844 E0 88 00 C0 */ psq_l f4, 192(r8), 0, qr0 +/* 80332C64 0032F844 E0 88 00 C0 */ psq_l f4, 0xc0(r8), 0, qr0 /* 80332C68 0032F848 11 29 40 28 */ ps_sub f9, f9, f8 -/* 80332C6C 0032F84C 38 C6 00 02 */ addi r6, r6, 2 -/* 80332C70 0032F850 F0 44 60 00 */ psq_st f2, 0(r4), 0, qr6 +/* 80332C6C 0032F84C 38 C6 00 02 */ addi r6, r6, 0x2 +/* 80332C70 0032F850 F0 44 60 00 */ psq_st f2, 0x0(r4), 0, qr6 /* 80332C74 0032F854 11 6B 1F 78 */ ps_msub f11, f11, f29, f3 /* 80332C78 0032F858 10 41 48 2A */ ps_add f2, f1, f9 /* 80332C7C 0032F85C 11 4A 4E F8 */ ps_msub f10, f10, f27, f9 /* 80332C80 0032F860 10 21 48 28 */ ps_sub f1, f1, f9 -/* 80332C84 0032F864 F0 44 60 08 */ psq_st f2, 8(r4), 0, qr6 +/* 80332C84 0032F864 F0 44 60 08 */ psq_st f2, 0x8(r4), 0, qr6 /* 80332C88 0032F868 10 6D 50 2A */ ps_add f3, f13, f10 /* 80332C8C 0032F86C 11 6B 50 2A */ ps_add f11, f11, f10 -/* 80332C90 0032F870 F0 64 60 10 */ psq_st f3, 16(r4), 0, qr6 -/* 80332C94 0032F874 38 A5 00 02 */ addi r5, r5, 2 +/* 80332C90 0032F870 F0 64 60 10 */ psq_st f3, 0x10(r4), 0, qr6 +/* 80332C94 0032F874 38 A5 00 02 */ addi r5, r5, 0x2 /* 80332C98 0032F878 10 4C 58 28 */ ps_sub f2, f12, f11 /* 80332C9C 0032F87C 10 6C 58 2A */ ps_add f3, f12, f11 -/* 80332CA0 0032F880 F0 44 60 18 */ psq_st f2, 24(r4), 0, qr6 +/* 80332CA0 0032F880 F0 44 60 18 */ psq_st f2, 0x18(r4), 0, qr6 /* 80332CA4 0032F884 10 4D 50 28 */ ps_sub f2, f13, f10 /* 80332CA8 0032F888 11 27 30 2A */ ps_add f9, f7, f6 -/* 80332CAC 0032F88C F0 63 60 00 */ psq_st f3, 0(r3), 0, qr6 +/* 80332CAC 0032F88C F0 63 60 00 */ psq_st f3, 0x0(r3), 0, qr6 /* 80332CB0 0032F890 10 67 30 28 */ ps_sub f3, f7, f6 /* 80332CB4 0032F894 11 29 F8 2A */ ps_add f9, f9, f31 -/* 80332CB8 0032F898 F0 43 60 08 */ psq_st f2, 8(r3), 0, qr6 +/* 80332CB8 0032F898 F0 43 60 08 */ psq_st f2, 0x8(r3), 0, qr6 /* 80332CBC 0032F89C 11 05 20 2A */ ps_add f8, f5, f4 /* 80332CC0 0032F8A0 10 45 20 28 */ ps_sub f2, f5, f4 -/* 80332CC4 0032F8A4 F0 23 60 10 */ psq_st f1, 16(r3), 0, qr6 +/* 80332CC4 0032F8A4 F0 23 60 10 */ psq_st f1, 0x10(r3), 0, qr6 /* 80332CC8 0032F8A8 7C 87 32 14 */ add r4, r7, r6 /* 80332CCC 0032F8AC 10 89 40 2A */ ps_add f4, f9, f8 -/* 80332CD0 0032F8B0 F0 03 60 18 */ psq_st f0, 24(r3), 0, qr6 +/* 80332CD0 0032F8B0 F0 03 60 18 */ psq_st f0, 0x18(r3), 0, qr6 /* 80332CD4 0032F8B4 10 63 F8 2A */ ps_add f3, f3, f31 /* 80332CD8 0032F8B8 7C 67 2A 14 */ add r3, r7, r5 /* 80332CDC 0032F8BC 42 00 FF 2C */ bdnz .L_80332C08 -/* 80332CE0 0032F8C0 E1 68 00 20 */ psq_l f11, 32(r8), 0, qr0 +/* 80332CE0 0032F8C0 E1 68 00 20 */ psq_l f11, 0x20(r8), 0, qr0 /* 80332CE4 0032F8C4 10 42 46 F8 */ ps_msub f2, f2, f27, f8 -/* 80332CE8 0032F8C8 E1 48 00 60 */ psq_l f10, 96(r8), 0, qr0 +/* 80332CE8 0032F8C8 E1 48 00 60 */ psq_l f10, 0x60(r8), 0, qr0 /* 80332CEC 0032F8CC 11 89 40 28 */ ps_sub f12, f9, f8 /* 80332CF0 0032F8D0 10 23 10 2A */ ps_add f1, f3, f2 -/* 80332CF4 0032F8D4 E1 28 00 A0 */ psq_l f9, 160(r8), 0, qr0 +/* 80332CF4 0032F8D4 E1 28 00 A0 */ psq_l f9, 0xa0(r8), 0, qr0 /* 80332CF8 0032F8D8 11 A3 10 28 */ ps_sub f13, f3, f2 -/* 80332CFC 0032F8DC E1 08 00 E0 */ psq_l f8, 224(r8), 0, qr0 +/* 80332CFC 0032F8DC E1 08 00 E0 */ psq_l f8, 0xe0(r8), 0, qr0 /* 80332D00 0032F8E0 10 69 50 2A */ ps_add f3, f9, f10 /* 80332D04 0032F8E4 11 29 50 28 */ ps_sub f9, f9, f10 /* 80332D08 0032F8E8 10 4B 40 2A */ ps_add f2, f11, f8 @@ -3769,70 +3805,70 @@ __THPDecompressiMCURow640x480: /* 80332D20 0032F900 10 63 07 32 */ ps_mul f3, f3, f28 /* 80332D24 0032F904 10 04 40 28 */ ps_sub f0, f4, f8 /* 80332D28 0032F908 11 29 1F BA */ ps_madd f9, f9, f30, f3 -/* 80332D2C 0032F90C F0 44 60 00 */ psq_st f2, 0(r4), 0, qr6 +/* 80332D2C 0032F90C F0 44 60 00 */ psq_st f2, 0x0(r4), 0, qr6 /* 80332D30 0032F910 11 29 40 28 */ ps_sub f9, f9, f8 /* 80332D34 0032F914 11 6B 1F 78 */ ps_msub f11, f11, f29, f3 -/* 80332D38 0032F918 F0 03 60 18 */ psq_st f0, 24(r3), 0, qr6 +/* 80332D38 0032F918 F0 03 60 18 */ psq_st f0, 0x18(r3), 0, qr6 /* 80332D3C 0032F91C 10 41 48 2A */ ps_add f2, f1, f9 /* 80332D40 0032F920 11 4A 4E F8 */ ps_msub f10, f10, f27, f9 /* 80332D44 0032F924 10 21 48 28 */ ps_sub f1, f1, f9 -/* 80332D48 0032F928 F0 44 60 08 */ psq_st f2, 8(r4), 0, qr6 +/* 80332D48 0032F928 F0 44 60 08 */ psq_st f2, 0x8(r4), 0, qr6 /* 80332D4C 0032F92C 10 6D 50 2A */ ps_add f3, f13, f10 /* 80332D50 0032F930 11 6B 50 2A */ ps_add f11, f11, f10 -/* 80332D54 0032F934 F0 23 60 10 */ psq_st f1, 16(r3), 0, qr6 -/* 80332D58 0032F938 F0 64 60 10 */ psq_st f3, 16(r4), 0, qr6 +/* 80332D54 0032F934 F0 23 60 10 */ psq_st f1, 0x10(r3), 0, qr6 +/* 80332D58 0032F938 F0 64 60 10 */ psq_st f3, 0x10(r4), 0, qr6 /* 80332D5C 0032F93C 10 4C 58 28 */ ps_sub f2, f12, f11 /* 80332D60 0032F940 10 6C 58 2A */ ps_add f3, f12, f11 -/* 80332D64 0032F944 F0 44 60 18 */ psq_st f2, 24(r4), 0, qr6 +/* 80332D64 0032F944 F0 44 60 18 */ psq_st f2, 0x18(r4), 0, qr6 /* 80332D68 0032F948 10 4D 50 28 */ ps_sub f2, f13, f10 -/* 80332D6C 0032F94C F0 63 60 00 */ psq_st f3, 0(r3), 0, qr6 -/* 80332D70 0032F950 F0 43 60 08 */ psq_st f2, 8(r3), 0, qr6 +/* 80332D6C 0032F94C F0 63 60 00 */ psq_st f3, 0x0(r3), 0, qr6 +/* 80332D70 0032F950 F0 43 60 08 */ psq_st f2, 0x8(r3), 0, qr6 /* 80332D74 0032F954 88 1C 09 00 */ lbz r0, 0x900(r28) -/* 80332D78 0032F958 28 00 00 00 */ cmplwi r0, 0 +/* 80332D78 0032F958 28 00 00 00 */ cmplwi r0, 0x0 /* 80332D7C 0032F95C 41 82 00 5C */ beq .L_80332DD8 /* 80332D80 0032F960 A0 9C 08 FE */ lhz r4, 0x8fe(r28) -/* 80332D84 0032F964 38 04 FF FF */ addi r0, r4, -1 +/* 80332D84 0032F964 38 04 FF FF */ subi r0, r4, 0x1 /* 80332D88 0032F968 B0 1C 08 FE */ sth r0, 0x8fe(r28) /* 80332D8C 0032F96C A0 1C 08 FE */ lhz r0, 0x8fe(r28) -/* 80332D90 0032F970 28 00 00 00 */ cmplwi r0, 0 +/* 80332D90 0032F970 28 00 00 00 */ cmplwi r0, 0x0 /* 80332D94 0032F974 40 82 00 44 */ bne .L_80332DD8 /* 80332D98 0032F978 A0 1C 08 FC */ lhz r0, 0x8fc(r28) /* 80332D9C 0032F97C B0 1C 08 FE */ sth r0, 0x8fe(r28) -/* 80332DA0 0032F980 80 7C 00 08 */ lwz r3, 8(r28) -/* 80332DA4 0032F984 38 03 00 06 */ addi r0, r3, 6 -/* 80332DA8 0032F988 54 03 00 38 */ rlwinm r3, r0, 0, 0, 0x1c -/* 80332DAC 0032F98C 38 03 00 01 */ addi r0, r3, 1 -/* 80332DB0 0032F990 90 1C 00 08 */ stw r0, 8(r28) -/* 80332DB4 0032F994 80 1C 00 08 */ lwz r0, 8(r28) +/* 80332DA0 0032F980 80 7C 00 08 */ lwz r3, 0x8(r28) +/* 80332DA4 0032F984 38 03 00 06 */ addi r0, r3, 0x6 +/* 80332DA8 0032F988 54 03 00 38 */ clrrwi r3, r0, 3 +/* 80332DAC 0032F98C 38 03 00 01 */ addi r0, r3, 0x1 +/* 80332DB0 0032F990 90 1C 00 08 */ stw r0, 0x8(r28) +/* 80332DB4 0032F994 80 1C 00 08 */ lwz r0, 0x8(r28) /* 80332DB8 0032F998 28 00 00 20 */ cmplwi r0, 0x20 /* 80332DBC 0032F99C 40 81 00 0C */ ble .L_80332DC8 /* 80332DC0 0032F9A0 38 00 00 21 */ li r0, 0x21 -/* 80332DC4 0032F9A4 90 1C 00 08 */ stw r0, 8(r28) +/* 80332DC4 0032F9A4 90 1C 00 08 */ stw r0, 0x8(r28) .L_80332DC8: -/* 80332DC8 0032F9A8 38 00 00 00 */ li r0, 0 +/* 80332DC8 0032F9A8 38 00 00 00 */ li r0, 0x0 /* 80332DCC 0032F9AC B0 1C 08 3E */ sth r0, 0x83e(r28) /* 80332DD0 0032F9B0 B0 1C 08 6A */ sth r0, 0x86a(r28) /* 80332DD4 0032F9B4 B0 1C 08 96 */ sth r0, 0x896(r28) .L_80332DD8: -/* 80332DD8 0032F9B8 3B BD 00 01 */ addi r29, r29, 1 +/* 80332DD8 0032F9B8 3B BD 00 01 */ addi r29, r29, 0x1 .L_80332DDC: /* 80332DDC 0032F9BC A0 1C 08 CC */ lhz r0, 0x8cc(r28) -/* 80332DE0 0032F9C0 57 A3 06 3E */ clrlwi r3, r29, 0x18 +/* 80332DE0 0032F9C0 57 A3 06 3E */ clrlwi r3, r29, 24 /* 80332DE4 0032F9C4 7C 03 00 00 */ cmpw r3, r0 /* 80332DE8 0032F9C8 41 80 E6 F0 */ blt .L_803314D8 /* 80332DEC 0032F9CC 3C 80 80 4A */ lis r4, THPDec_804A747C@ha /* 80332DF0 0032F9D0 80 7C 08 F0 */ lwz r3, 0x8f0(r28) /* 80332DF4 0032F9D4 3B A4 74 7C */ addi r29, r4, THPDec_804A747C@l -/* 80332DF8 0032F9D8 80 9D 00 00 */ lwz r4, 0(r29) +/* 80332DF8 0032F9D8 80 9D 00 00 */ lwz r4, 0x0(r29) /* 80332DFC 0032F9DC 38 A0 28 00 */ li r5, 0x2800 /* 80332E00 0032F9E0 48 01 1C 81 */ bl LCStoreData /* 80332E04 0032F9E4 80 7C 08 F4 */ lwz r3, 0x8f4(r28) /* 80332E08 0032F9E8 38 A0 0A 00 */ li r5, 0xa00 -/* 80332E0C 0032F9EC 80 9D 00 04 */ lwz r4, 4(r29) +/* 80332E0C 0032F9EC 80 9D 00 04 */ lwz r4, 0x4(r29) /* 80332E10 0032F9F0 48 01 1C 71 */ bl LCStoreData /* 80332E14 0032F9F4 80 7C 08 F8 */ lwz r3, 0x8f8(r28) /* 80332E18 0032F9F8 38 A0 0A 00 */ li r5, 0xa00 -/* 80332E1C 0032F9FC 80 9D 00 08 */ lwz r4, 8(r29) +/* 80332E1C 0032F9FC 80 9D 00 08 */ lwz r4, 0x8(r29) /* 80332E20 0032FA00 48 01 1C 61 */ bl LCStoreData /* 80332E24 0032FA04 80 7C 08 F0 */ lwz r3, 0x8f0(r28) /* 80332E28 0032FA08 38 03 28 00 */ addi r0, r3, 0x2800 @@ -3856,13 +3892,19 @@ __THPDecompressiMCURow640x480: /* 80332E70 0032FA50 38 21 00 48 */ addi r1, r1, 0x48 /* 80332E74 0032FA54 7C 08 03 A6 */ mtlr r0 /* 80332E78 0032FA58 4E 80 00 20 */ blr -/* 80332E7C 0032FA5C 00 00 00 00 */ .4byte 0x00000000 /* unknown instruction */ +.endfn __THPDecompressiMCURow640x480 + +# .text:0x384C | 0x80332E7C | size: 0x4 +.fn gap_03_80332E7C_text, global +.hidden gap_03_80332E7C_text +/* 80332E7C 0032FA5C 00 00 00 00 */ .4byte 0x00000000 /* invalid */ +.endfn gap_03_80332E7C_text -.global __THPDecompressiMCURowNxN -__THPDecompressiMCURowNxN: +# .text:0x3850 | 0x80332E80 | size: 0x1A00 +.fn __THPDecompressiMCURowNxN, local /* 80332E80 0032FA60 7C 08 02 A6 */ mflr r0 /* 80332E84 0032FA64 3C A0 80 4A */ lis r5, THPDec_804A7300@ha -/* 80332E88 0032FA68 90 01 00 04 */ stw r0, 4(r1) +/* 80332E88 0032FA68 90 01 00 04 */ stw r0, 0x4(r1) /* 80332E8C 0032FA6C 94 21 FF B0 */ stwu r1, -0x50(r1) /* 80332E90 0032FA70 DB E1 00 48 */ stfd f31, 0x48(r1) /* 80332E94 0032FA74 DB C1 00 40 */ stfd f30, 0x40(r1) @@ -3870,20 +3912,20 @@ __THPDecompressiMCURowNxN: /* 80332E9C 0032FA7C DB 81 00 30 */ stfd f28, 0x30(r1) /* 80332EA0 0032FA80 DB 61 00 28 */ stfd f27, 0x28(r1) /* 80332EA4 0032FA84 BF 41 00 10 */ stmw r26, 0x10(r1) -/* 80332EA8 0032FA88 3B 43 00 00 */ addi r26, r3, 0 +/* 80332EA8 0032FA88 3B 43 00 00 */ addi r26, r3, 0x0 /* 80332EAC 0032FA8C 3B A5 73 00 */ addi r29, r5, THPDec_804A7300@l -/* 80332EB0 0032FA90 3B 64 00 00 */ addi r27, r4, 0 -/* 80332EB4 0032FA94 38 60 00 03 */ li r3, 3 +/* 80332EB0 0032FA90 3B 64 00 00 */ addi r27, r4, 0x0 +/* 80332EB4 0032FA94 38 60 00 03 */ li r3, 0x3 /* 80332EB8 0032FA98 48 01 1C 75 */ bl LCQueueWait /* 80332EBC 0032FA9C 3C 60 80 4A */ lis r3, THPDec_804A747C@ha -/* 80332EC0 0032FAA0 C3 62 E8 08 */ lfs f27, THPDec_804DE1E8@sda21(r2) -/* 80332EC4 0032FAA4 C3 82 E8 0C */ lfs f28, THPDec_804DE1EC@sda21(r2) +/* 80332EC0 0032FAA0 C3 62 E8 08 */ lfs f27, THPDec_804DE1E8@sda21(r0) +/* 80332EC4 0032FAA4 C3 82 E8 0C */ lfs f28, THPDec_804DE1EC@sda21(r0) /* 80332EC8 0032FAA8 3B C3 74 7C */ addi r30, r3, THPDec_804A747C@l -/* 80332ECC 0032FAAC C3 A2 E8 10 */ lfs f29, THPDec_804DE1F0@sda21(r2) +/* 80332ECC 0032FAAC C3 A2 E8 10 */ lfs f29, THPDec_804DE1F0@sda21(r0) /* 80332ED0 0032FAB0 57 7F F8 7E */ srwi r31, r27, 1 -/* 80332ED4 0032FAB4 C3 C2 E8 14 */ lfs f30, THPDec_804DE1F4@sda21(r2) -/* 80332ED8 0032FAB8 C3 E2 E8 18 */ lfs f31, THPDec_804DE1F8@sda21(r2) -/* 80332EDC 0032FABC 3B 80 00 00 */ li r28, 0 +/* 80332ED4 0032FAB4 C3 C2 E8 14 */ lfs f30, THPDec_804DE1F4@sda21(r0) +/* 80332ED8 0032FAB8 C3 E2 E8 18 */ lfs f31, THPDec_804DE1F8@sda21(r0) +/* 80332EDC 0032FABC 3B 80 00 00 */ li r28, 0x0 /* 80332EE0 0032FAC0 48 00 19 00 */ b .L_803347E0 .L_80332EE4: /* 80332EE4 0032FAC4 7F 43 D3 78 */ mr r3, r26 @@ -3904,41 +3946,41 @@ __THPDecompressiMCURowNxN: /* 80332F20 0032FB00 7F 43 D3 78 */ mr r3, r26 /* 80332F24 0032FB04 80 9A 00 24 */ lwz r4, 0x24(r26) /* 80332F28 0032FB08 48 00 26 89 */ bl __THPHuffDecodeDCTCompV -/* 80332F2C 0032FB0C 80 1E 00 00 */ lwz r0, 0(r30) -/* 80332F30 0032FB10 57 84 25 36 */ rlwinm r4, r28, 4, 0x14, 0x1b -/* 80332F34 0032FB14 38 7D FF F8 */ addi r3, r29, -8 -/* 80332F38 0032FB18 90 0D BB 20 */ stw r0, Gbase@sda21(r13) -/* 80332F3C 0032FB1C 93 6D BB 40 */ stw r27, Gwid@sda21(r13) +/* 80332F2C 0032FB0C 80 1E 00 00 */ lwz r0, 0x0(r30) +/* 80332F30 0032FB10 57 84 25 36 */ clrlslwi r4, r28, 24, 4 +/* 80332F34 0032FB14 38 7D FF F8 */ subi r3, r29, 0x8 +/* 80332F38 0032FB18 90 0D BB 20 */ stw r0, Gbase@sda21(r0) +/* 80332F3C 0032FB1C 93 6D BB 40 */ stw r27, Gwid@sda21(r0) /* 80332F40 0032FB20 88 1A 08 3B */ lbz r0, 0x83b(r26) /* 80332F44 0032FB24 54 05 40 2E */ slwi r5, r0, 8 /* 80332F48 0032FB28 38 05 04 38 */ addi r0, r5, 0x438 /* 80332F4C 0032FB2C 7C 1A 02 14 */ add r0, r26, r0 -/* 80332F50 0032FB30 90 0D BB 60 */ stw r0, Gq@sda21(r13) +/* 80332F50 0032FB30 90 0D BB 60 */ stw r0, Gq@sda21(r0) /* 80332F54 0032FB34 81 1A 00 10 */ lwz r8, 0x10(r26) -/* 80332F58 0032FB38 80 ED BB 60 */ lwz r7, Gq@sda21(r13) -/* 80332F5C 0032FB3C 38 00 00 08 */ li r0, 8 +/* 80332F58 0032FB38 80 ED BB 60 */ lwz r7, Gq@sda21(r0) +/* 80332F5C 0032FB3C 38 00 00 08 */ li r0, 0x8 /* 80332F60 0032FB40 7C 09 03 A6 */ mtctr r0 .L_80332F64: -/* 80332F64 0032FB44 E0 E8 50 00 */ psq_l f7, 0(r8), 0, qr5 -/* 80332F68 0032FB48 E0 C7 00 00 */ psq_l f6, 0(r7), 0, qr0 +/* 80332F64 0032FB44 E0 E8 50 00 */ psq_l f7, 0x0(r8), 0, qr5 +/* 80332F68 0032FB48 E0 C7 00 00 */ psq_l f6, 0x0(r7), 0, qr0 /* 80332F6C 0032FB4C 80 C8 00 0C */ lwz r6, 0xc(r8) -/* 80332F70 0032FB50 80 08 00 08 */ lwz r0, 8(r8) +/* 80332F70 0032FB50 80 08 00 08 */ lwz r0, 0x8(r8) /* 80332F74 0032FB54 10 E7 01 B2 */ ps_mul f7, f7, f6 -/* 80332F78 0032FB58 80 A8 00 04 */ lwz r5, 4(r8) +/* 80332F78 0032FB58 80 A8 00 04 */ lwz r5, 0x4(r8) .L_80332F7C: /* 80332F7C 0032FB5C 7C C6 03 79 */ or. r6, r6, r0 -/* 80332F80 0032FB60 A0 08 00 02 */ lhz r0, 2(r8) +/* 80332F80 0032FB60 A0 08 00 02 */ lhz r0, 0x2(r8) /* 80332F84 0032FB64 40 82 01 38 */ bne .L_803330BC /* 80332F88 0032FB68 10 87 3C 20 */ ps_merge00 f4, f7, f7 -/* 80332F8C 0032FB6C 2C 05 00 00 */ cmpwi r5, 0 -/* 80332F90 0032FB70 F0 83 00 08 */ psq_st f4, 8(r3), 0, qr0 +/* 80332F8C 0032FB6C 2C 05 00 00 */ cmpwi r5, 0x0 +/* 80332F90 0032FB70 F0 83 00 08 */ psq_st f4, 0x8(r3), 0, qr0 /* 80332F94 0032FB74 40 82 00 94 */ bne .L_80333028 -/* 80332F98 0032FB78 F0 83 00 10 */ psq_st f4, 16(r3), 0, qr0 -/* 80332F9C 0032FB7C 2C 00 00 00 */ cmpwi r0, 0 -/* 80332FA0 0032FB80 F0 83 00 18 */ psq_st f4, 24(r3), 0, qr0 +/* 80332F98 0032FB78 F0 83 00 10 */ psq_st f4, 0x10(r3), 0, qr0 +/* 80332F9C 0032FB7C 2C 00 00 00 */ cmpwi r0, 0x0 +/* 80332FA0 0032FB80 F0 83 00 18 */ psq_st f4, 0x18(r3), 0, qr0 /* 80332FA4 0032FB84 40 82 00 18 */ bne .L_80332FBC /* 80332FA8 0032FB88 38 E7 00 20 */ addi r7, r7, 0x20 -/* 80332FAC 0032FB8C F4 83 00 20 */ psq_stu f4, 32(r3), 0, qr0 +/* 80332FAC 0032FB8C F4 83 00 20 */ psq_stu f4, 0x20(r3), 0, qr0 /* 80332FB0 0032FB90 39 08 00 10 */ addi r8, r8, 0x10 /* 80332FB4 0032FB94 42 00 FF B0 */ bdnz .L_80332F64 /* 80332FB8 0032FB98 48 00 01 C4 */ b .L_8033317C @@ -3947,32 +3989,32 @@ __THPDecompressiMCURowNxN: /* 80332FC0 0032FBA0 11 A7 3F 38 */ ps_msub f13, f7, f28, f7 /* 80332FC4 0032FBA4 38 E7 00 20 */ addi r7, r7, 0x20 /* 80332FC8 0032FBA8 10 47 3C 20 */ ps_merge00 f2, f7, f7 -/* 80332FCC 0032FBAC 80 A8 00 04 */ lwz r5, 4(r8) +/* 80332FCC 0032FBAC 80 A8 00 04 */ lwz r5, 0x4(r8) /* 80332FD0 0032FBB0 10 3C E8 28 */ ps_sub f1, f28, f29 /* 80332FD4 0032FBB4 11 87 6E F8 */ ps_msub f12, f7, f27, f13 /* 80332FD8 0032FBB8 11 47 6C E0 */ ps_merge11 f10, f7, f13 -/* 80332FDC 0032FBBC E0 C7 00 00 */ psq_l f6, 0(r7), 0, qr0 +/* 80332FDC 0032FBBC E0 C7 00 00 */ psq_l f6, 0x0(r7), 0, qr0 /* 80332FE0 0032FBC0 11 67 60 7C */ ps_nmsub f11, f7, f1, f12 /* 80332FE4 0032FBC4 11 02 50 2A */ ps_add f8, f2, f10 -/* 80332FE8 0032FBC8 E0 E8 50 00 */ psq_l f7, 0(r8), 0, qr5 +/* 80332FE8 0032FBC8 E0 E8 50 00 */ psq_l f7, 0x0(r8), 0, qr5 /* 80332FEC 0032FBCC 11 2C 5C E0 */ ps_merge11 f9, f12, f11 /* 80332FF0 0032FBD0 11 42 50 28 */ ps_sub f10, f2, f10 /* 80332FF4 0032FBD4 80 C8 00 0C */ lwz r6, 0xc(r8) /* 80332FF8 0032FBD8 10 62 48 2A */ ps_add f3, f2, f9 -/* 80332FFC 0032FBDC 80 08 00 08 */ lwz r0, 8(r8) +/* 80332FFC 0032FBDC 80 08 00 08 */ lwz r0, 0x8(r8) /* 80333000 0032FBE0 11 22 48 28 */ ps_sub f9, f2, f9 -/* 80333004 0032FBE4 F5 03 00 08 */ psq_stu f8, 8(r3), 0, qr0 +/* 80333004 0032FBE4 F5 03 00 08 */ psq_stu f8, 0x8(r3), 0, qr0 /* 80333008 0032FBE8 11 29 4C A0 */ ps_merge10 f9, f9, f9 -/* 8033300C 0032FBEC F4 63 00 08 */ psq_stu f3, 8(r3), 0, qr0 +/* 8033300C 0032FBEC F4 63 00 08 */ psq_stu f3, 0x8(r3), 0, qr0 /* 80333010 0032FBF0 11 4A 54 A0 */ ps_merge10 f10, f10, f10 -/* 80333014 0032FBF4 F5 23 00 08 */ psq_stu f9, 8(r3), 0, qr0 +/* 80333014 0032FBF4 F5 23 00 08 */ psq_stu f9, 0x8(r3), 0, qr0 /* 80333018 0032FBF8 10 E7 01 B2 */ ps_mul f7, f7, f6 -/* 8033301C 0032FBFC F5 43 00 08 */ psq_stu f10, 8(r3), 0, qr0 +/* 8033301C 0032FBFC F5 43 00 08 */ psq_stu f10, 0x8(r3), 0, qr0 /* 80333020 0032FC00 42 00 FF 5C */ bdnz .L_80332F7C /* 80333024 0032FC04 48 00 01 58 */ b .L_8033317C .L_80333028: -/* 80333028 0032FC08 E0 28 50 04 */ psq_l f1, 4(r8), 0, qr5 -/* 8033302C 0032FC0C E0 47 00 08 */ psq_l f2, 8(r7), 0, qr0 +/* 80333028 0032FC08 E0 28 50 04 */ psq_l f1, 0x4(r8), 0, qr5 +/* 8033302C 0032FC0C E0 47 00 08 */ psq_l f2, 0x8(r7), 0, qr0 /* 80333030 0032FC10 39 08 00 10 */ addi r8, r8, 0x10 /* 80333034 0032FC14 10 21 00 B2 */ ps_mul f1, f1, f2 /* 80333038 0032FC18 38 E7 00 20 */ addi r7, r7, 0x20 @@ -3983,41 +4025,41 @@ __THPDecompressiMCURowNxN: /* 8033304C 0032FC2C 11 41 6E FC */ ps_nmsub f10, f1, f27, f13 /* 80333050 0032FC30 10 6C 07 32 */ ps_mul f3, f12, f28 /* 80333054 0032FC34 11 6D 5C 20 */ ps_merge00 f11, f13, f11 -/* 80333058 0032FC38 80 08 00 08 */ lwz r0, 8(r8) +/* 80333058 0032FC38 80 08 00 08 */ lwz r0, 0x8(r8) /* 8033305C 0032FC3C 11 21 1F BC */ ps_nmsub f9, f1, f30, f3 /* 80333060 0032FC40 11 4A 64 20 */ ps_merge00 f10, f10, f12 -/* 80333064 0032FC44 80 A8 00 04 */ lwz r5, 4(r8) +/* 80333064 0032FC44 80 A8 00 04 */ lwz r5, 0x4(r8) /* 80333068 0032FC48 11 29 68 28 */ ps_sub f9, f9, f13 /* 8033306C 0032FC4C 11 07 1F 7C */ ps_nmsub f8, f7, f29, f3 /* 80333070 0032FC50 11 AD 4C E0 */ ps_merge11 f13, f13, f9 /* 80333074 0032FC54 10 6C 4E F8 */ ps_msub f3, f12, f27, f9 -/* 80333078 0032FC58 E0 E8 50 00 */ psq_l f7, 0(r8), 0, qr5 +/* 80333078 0032FC58 E0 E8 50 00 */ psq_l f7, 0x0(r8), 0, qr5 /* 8033307C 0032FC5C 10 4B 68 2A */ ps_add f2, f11, f13 /* 80333080 0032FC60 11 08 18 28 */ ps_sub f8, f8, f3 -/* 80333084 0032FC64 E0 C7 00 00 */ psq_l f6, 0(r7), 0, qr0 +/* 80333084 0032FC64 E0 C7 00 00 */ psq_l f6, 0x0(r7), 0, qr0 /* 80333088 0032FC68 11 83 44 E0 */ ps_merge11 f12, f3, f8 /* 8033308C 0032FC6C 11 6B 68 28 */ ps_sub f11, f11, f13 -/* 80333090 0032FC70 F4 43 00 08 */ psq_stu f2, 8(r3), 0, qr0 +/* 80333090 0032FC70 F4 43 00 08 */ psq_stu f2, 0x8(r3), 0, qr0 /* 80333094 0032FC74 10 8A 60 2A */ ps_add f4, f10, f12 /* 80333098 0032FC78 10 2A 60 28 */ ps_sub f1, f10, f12 -/* 8033309C 0032FC7C F4 83 00 08 */ psq_stu f4, 8(r3), 0, qr0 +/* 8033309C 0032FC7C F4 83 00 08 */ psq_stu f4, 0x8(r3), 0, qr0 /* 803330A0 0032FC80 10 21 0C A0 */ ps_merge10 f1, f1, f1 /* 803330A4 0032FC84 11 6B 5C A0 */ ps_merge10 f11, f11, f11 -/* 803330A8 0032FC88 F4 23 00 08 */ psq_stu f1, 8(r3), 0, qr0 +/* 803330A8 0032FC88 F4 23 00 08 */ psq_stu f1, 0x8(r3), 0, qr0 /* 803330AC 0032FC8C 10 E7 01 B2 */ ps_mul f7, f7, f6 -/* 803330B0 0032FC90 F5 63 00 08 */ psq_stu f11, 8(r3), 0, qr0 +/* 803330B0 0032FC90 F5 63 00 08 */ psq_stu f11, 0x8(r3), 0, qr0 /* 803330B4 0032FC94 42 00 FE C8 */ bdnz .L_80332F7C /* 803330B8 0032FC98 48 00 00 C4 */ b .L_8033317C .L_803330BC: -/* 803330BC 0032FC9C E0 48 50 04 */ psq_l f2, 4(r8), 0, qr5 -/* 803330C0 0032FCA0 E1 47 00 08 */ psq_l f10, 8(r7), 0, qr0 +/* 803330BC 0032FC9C E0 48 50 04 */ psq_l f2, 0x4(r8), 0, qr5 +/* 803330C0 0032FCA0 E1 47 00 08 */ psq_l f10, 0x8(r7), 0, qr0 /* 803330C4 0032FCA4 10 42 02 B2 */ ps_mul f2, f2, f10 -/* 803330C8 0032FCA8 E1 A8 50 08 */ psq_l f13, 8(r8), 0, qr5 -/* 803330CC 0032FCAC E1 27 00 10 */ psq_l f9, 16(r7), 0, qr0 +/* 803330C8 0032FCA8 E1 A8 50 08 */ psq_l f13, 0x8(r8), 0, qr5 +/* 803330CC 0032FCAC E1 27 00 10 */ psq_l f9, 0x10(r7), 0, qr0 /* 803330D0 0032FCB0 10 87 14 60 */ ps_merge01 f4, f7, f2 -/* 803330D4 0032FCB4 E1 88 50 0C */ psq_l f12, 12(r8), 0, qr5 +/* 803330D4 0032FCB4 E1 88 50 0C */ psq_l f12, 0xc(r8), 0, qr5 /* 803330D8 0032FCB8 10 22 3C 60 */ ps_merge01 f1, f2, f7 -/* 803330DC 0032FCBC E1 07 00 18 */ psq_l f8, 24(r7), 0, qr0 +/* 803330DC 0032FCBC E1 07 00 18 */ psq_l f8, 0x18(r7), 0, qr0 /* 803330E0 0032FCC0 39 08 00 10 */ addi r8, r8, 0x10 /* 803330E4 0032FCC4 11 6D 22 7A */ ps_madd f11, f13, f9, f4 /* 803330E8 0032FCC8 11 4D 22 7C */ ps_nmsub f10, f13, f9, f4 @@ -4032,47 +4074,47 @@ __THPDecompressiMCURowNxN: /* 8033310C 0032FCEC 10 2A 68 2A */ ps_add f1, f10, f13 /* 80333110 0032FCF0 11 AA 68 28 */ ps_sub f13, f10, f13 /* 80333114 0032FCF4 10 63 07 32 */ ps_mul f3, f3, f28 -/* 80333118 0032FCF8 80 08 00 08 */ lwz r0, 8(r8) +/* 80333118 0032FCF8 80 08 00 08 */ lwz r0, 0x8(r8) /* 8033311C 0032FCFC 10 24 0C 20 */ ps_merge00 f1, f4, f1 /* 80333120 0032FD00 11 2A 1F BC */ ps_nmsub f9, f10, f30, f3 /* 80333124 0032FD04 11 68 1F 78 */ ps_msub f11, f8, f29, f3 -/* 80333128 0032FD08 80 A8 00 04 */ lwz r5, 4(r8) +/* 80333128 0032FD08 80 A8 00 04 */ lwz r5, 0x4(r8) /* 8033312C 0032FD0C 11 29 20 28 */ ps_sub f9, f9, f4 /* 80333130 0032FD10 11 AD 64 20 */ ps_merge00 f13, f13, f12 /* 80333134 0032FD14 11 4C 4E FA */ ps_madd f10, f12, f27, f9 /* 80333138 0032FD18 11 04 4C E0 */ ps_merge11 f8, f4, f9 -/* 8033313C 0032FD1C E0 E8 50 00 */ psq_l f7, 0(r8), 0, qr5 +/* 8033313C 0032FD1C E0 E8 50 00 */ psq_l f7, 0x0(r8), 0, qr5 /* 80333140 0032FD20 11 6B 50 28 */ ps_sub f11, f11, f10 /* 80333144 0032FD24 11 81 40 2A */ ps_add f12, f1, f8 -/* 80333148 0032FD28 E0 C7 00 00 */ psq_l f6, 0(r7), 0, qr0 +/* 80333148 0032FD28 E0 C7 00 00 */ psq_l f6, 0x0(r7), 0, qr0 /* 8033314C 0032FD2C 11 6A 5C E0 */ ps_merge11 f11, f10, f11 /* 80333150 0032FD30 10 81 40 28 */ ps_sub f4, f1, f8 /* 80333154 0032FD34 10 E7 01 B2 */ ps_mul f7, f7, f6 /* 80333158 0032FD38 11 4D 58 2A */ ps_add f10, f13, f11 /* 8033315C 0032FD3C 11 2D 58 28 */ ps_sub f9, f13, f11 /* 80333160 0032FD40 11 4A 54 A0 */ ps_merge10 f10, f10, f10 -/* 80333164 0032FD44 F5 83 00 08 */ psq_stu f12, 8(r3), 0, qr0 +/* 80333164 0032FD44 F5 83 00 08 */ psq_stu f12, 0x8(r3), 0, qr0 /* 80333168 0032FD48 10 84 24 A0 */ ps_merge10 f4, f4, f4 -/* 8033316C 0032FD4C F5 23 00 08 */ psq_stu f9, 8(r3), 0, qr0 -/* 80333170 0032FD50 F5 43 00 08 */ psq_stu f10, 8(r3), 0, qr0 -/* 80333174 0032FD54 F4 83 00 08 */ psq_stu f4, 8(r3), 0, qr0 +/* 8033316C 0032FD4C F5 23 00 08 */ psq_stu f9, 0x8(r3), 0, qr0 +/* 80333170 0032FD50 F5 43 00 08 */ psq_stu f10, 0x8(r3), 0, qr0 +/* 80333174 0032FD54 F4 83 00 08 */ psq_stu f4, 0x8(r3), 0, qr0 /* 80333178 0032FD58 42 00 FE 04 */ bdnz .L_80332F7C .L_8033317C: -/* 8033317C 0032FD5C 81 2D BB 20 */ lwz r9, Gbase@sda21(r13) +/* 8033317C 0032FD5C 81 2D BB 20 */ lwz r9, Gbase@sda21(r0) /* 80333180 0032FD60 7F A3 EB 78 */ mr r3, r29 -/* 80333184 0032FD64 80 0D BB 40 */ lwz r0, Gwid@sda21(r13) -/* 80333188 0032FD68 E0 E3 00 00 */ psq_l f7, 0(r3), 0, qr0 +/* 80333184 0032FD64 80 0D BB 40 */ lwz r0, Gwid@sda21(r0) +/* 80333188 0032FD68 E0 E3 00 00 */ psq_l f7, 0x0(r3), 0, qr0 /* 8033318C 0032FD6C 54 85 10 3A */ slwi r5, r4, 2 -/* 80333190 0032FD70 E0 C3 00 80 */ psq_l f6, 128(r3), 0, qr0 +/* 80333190 0032FD70 E0 C3 00 80 */ psq_l f6, 0x80(r3), 0, qr0 /* 80333194 0032FD74 54 07 10 3A */ slwi r7, r0, 2 -/* 80333198 0032FD78 E0 A3 00 40 */ psq_l f5, 64(r3), 0, qr0 +/* 80333198 0032FD78 E0 A3 00 40 */ psq_l f5, 0x40(r3), 0, qr0 /* 8033319C 0032FD7C 7C A8 2B 78 */ mr r8, r5 /* 803331A0 0032FD80 11 27 30 2A */ ps_add f9, f7, f6 -/* 803331A4 0032FD84 E0 83 00 C0 */ psq_l f4, 192(r3), 0, qr0 +/* 803331A4 0032FD84 E0 83 00 C0 */ psq_l f4, 0xc0(r3), 0, qr0 /* 803331A8 0032FD88 10 67 30 28 */ ps_sub f3, f7, f6 /* 803331AC 0032FD8C 7C E8 3A 14 */ add r7, r8, r7 /* 803331B0 0032FD90 11 29 F8 2A */ ps_add f9, f9, f31 -/* 803331B4 0032FD94 38 00 00 03 */ li r0, 3 +/* 803331B4 0032FD94 38 00 00 03 */ li r0, 0x3 /* 803331B8 0032FD98 11 05 20 2A */ ps_add f8, f5, f4 /* 803331BC 0032FD9C 7C C9 42 14 */ add r6, r9, r8 /* 803331C0 0032FDA0 10 45 20 28 */ ps_sub f2, f5, f4 @@ -4081,68 +4123,68 @@ __THPDecompressiMCURowNxN: /* 803331CC 0032FDAC 10 63 F8 2A */ ps_add f3, f3, f31 /* 803331D0 0032FDB0 7C 09 03 A6 */ mtctr r0 .L_803331D4: -/* 803331D4 0032FDB4 E1 63 00 20 */ psq_l f11, 32(r3), 0, qr0 +/* 803331D4 0032FDB4 E1 63 00 20 */ psq_l f11, 0x20(r3), 0, qr0 /* 803331D8 0032FDB8 10 42 46 F8 */ ps_msub f2, f2, f27, f8 -/* 803331DC 0032FDBC E1 43 00 60 */ psq_l f10, 96(r3), 0, qr0 +/* 803331DC 0032FDBC E1 43 00 60 */ psq_l f10, 0x60(r3), 0, qr0 /* 803331E0 0032FDC0 11 89 40 28 */ ps_sub f12, f9, f8 /* 803331E4 0032FDC4 10 23 10 2A */ ps_add f1, f3, f2 -/* 803331E8 0032FDC8 E1 23 00 A0 */ psq_l f9, 160(r3), 0, qr0 +/* 803331E8 0032FDC8 E1 23 00 A0 */ psq_l f9, 0xa0(r3), 0, qr0 /* 803331EC 0032FDCC 11 A3 10 28 */ ps_sub f13, f3, f2 -/* 803331F0 0032FDD0 E1 03 00 E0 */ psq_l f8, 224(r3), 0, qr0 +/* 803331F0 0032FDD0 E1 03 00 E0 */ psq_l f8, 0xe0(r3), 0, qr0 /* 803331F4 0032FDD4 10 69 50 2A */ ps_add f3, f9, f10 /* 803331F8 0032FDD8 11 29 50 28 */ ps_sub f9, f9, f10 -/* 803331FC 0032FDDC 38 63 00 08 */ addi r3, r3, 8 +/* 803331FC 0032FDDC 38 63 00 08 */ addi r3, r3, 0x8 /* 80333200 0032FDE0 10 4B 40 2A */ ps_add f2, f11, f8 /* 80333204 0032FDE4 11 6B 40 28 */ ps_sub f11, f11, f8 -/* 80333208 0032FDE8 E0 E3 00 00 */ psq_l f7, 0(r3), 0, qr0 +/* 80333208 0032FDE8 E0 E3 00 00 */ psq_l f7, 0x0(r3), 0, qr0 /* 8033320C 0032FDEC 11 02 18 2A */ ps_add f8, f2, f3 /* 80333210 0032FDF0 11 42 18 28 */ ps_sub f10, f2, f3 /* 80333214 0032FDF4 10 69 58 2A */ ps_add f3, f9, f11 -/* 80333218 0032FDF8 E0 C3 00 80 */ psq_l f6, 128(r3), 0, qr0 +/* 80333218 0032FDF8 E0 C3 00 80 */ psq_l f6, 0x80(r3), 0, qr0 /* 8033321C 0032FDFC 10 44 40 2A */ ps_add f2, f4, f8 /* 80333220 0032FE00 10 63 07 32 */ ps_mul f3, f3, f28 -/* 80333224 0032FE04 E0 A3 00 40 */ psq_l f5, 64(r3), 0, qr0 +/* 80333224 0032FE04 E0 A3 00 40 */ psq_l f5, 0x40(r3), 0, qr0 /* 80333228 0032FE08 10 04 40 28 */ ps_sub f0, f4, f8 /* 8033322C 0032FE0C 11 29 1F BA */ ps_madd f9, f9, f30, f3 -/* 80333230 0032FE10 E0 83 00 C0 */ psq_l f4, 192(r3), 0, qr0 +/* 80333230 0032FE10 E0 83 00 C0 */ psq_l f4, 0xc0(r3), 0, qr0 /* 80333234 0032FE14 11 29 40 28 */ ps_sub f9, f9, f8 -/* 80333238 0032FE18 39 08 00 02 */ addi r8, r8, 2 -/* 8033323C 0032FE1C F0 46 60 00 */ psq_st f2, 0(r6), 0, qr6 +/* 80333238 0032FE18 39 08 00 02 */ addi r8, r8, 0x2 +/* 8033323C 0032FE1C F0 46 60 00 */ psq_st f2, 0x0(r6), 0, qr6 /* 80333240 0032FE20 11 6B 1F 78 */ ps_msub f11, f11, f29, f3 /* 80333244 0032FE24 10 41 48 2A */ ps_add f2, f1, f9 /* 80333248 0032FE28 11 4A 4E F8 */ ps_msub f10, f10, f27, f9 /* 8033324C 0032FE2C 10 21 48 28 */ ps_sub f1, f1, f9 -/* 80333250 0032FE30 F0 46 60 08 */ psq_st f2, 8(r6), 0, qr6 +/* 80333250 0032FE30 F0 46 60 08 */ psq_st f2, 0x8(r6), 0, qr6 /* 80333254 0032FE34 10 6D 50 2A */ ps_add f3, f13, f10 /* 80333258 0032FE38 11 6B 50 2A */ ps_add f11, f11, f10 -/* 8033325C 0032FE3C F0 66 60 10 */ psq_st f3, 16(r6), 0, qr6 -/* 80333260 0032FE40 38 E7 00 02 */ addi r7, r7, 2 +/* 8033325C 0032FE3C F0 66 60 10 */ psq_st f3, 0x10(r6), 0, qr6 +/* 80333260 0032FE40 38 E7 00 02 */ addi r7, r7, 0x2 /* 80333264 0032FE44 10 4C 58 28 */ ps_sub f2, f12, f11 /* 80333268 0032FE48 10 6C 58 2A */ ps_add f3, f12, f11 -/* 8033326C 0032FE4C F0 46 60 18 */ psq_st f2, 24(r6), 0, qr6 +/* 8033326C 0032FE4C F0 46 60 18 */ psq_st f2, 0x18(r6), 0, qr6 /* 80333270 0032FE50 10 4D 50 28 */ ps_sub f2, f13, f10 /* 80333274 0032FE54 11 27 30 2A */ ps_add f9, f7, f6 -/* 80333278 0032FE58 F0 65 60 00 */ psq_st f3, 0(r5), 0, qr6 +/* 80333278 0032FE58 F0 65 60 00 */ psq_st f3, 0x0(r5), 0, qr6 /* 8033327C 0032FE5C 10 67 30 28 */ ps_sub f3, f7, f6 /* 80333280 0032FE60 11 29 F8 2A */ ps_add f9, f9, f31 -/* 80333284 0032FE64 F0 45 60 08 */ psq_st f2, 8(r5), 0, qr6 +/* 80333284 0032FE64 F0 45 60 08 */ psq_st f2, 0x8(r5), 0, qr6 /* 80333288 0032FE68 11 05 20 2A */ ps_add f8, f5, f4 /* 8033328C 0032FE6C 10 45 20 28 */ ps_sub f2, f5, f4 -/* 80333290 0032FE70 F0 25 60 10 */ psq_st f1, 16(r5), 0, qr6 +/* 80333290 0032FE70 F0 25 60 10 */ psq_st f1, 0x10(r5), 0, qr6 /* 80333294 0032FE74 7C C9 42 14 */ add r6, r9, r8 /* 80333298 0032FE78 10 89 40 2A */ ps_add f4, f9, f8 -/* 8033329C 0032FE7C F0 05 60 18 */ psq_st f0, 24(r5), 0, qr6 +/* 8033329C 0032FE7C F0 05 60 18 */ psq_st f0, 0x18(r5), 0, qr6 /* 803332A0 0032FE80 10 63 F8 2A */ ps_add f3, f3, f31 /* 803332A4 0032FE84 7C A9 3A 14 */ add r5, r9, r7 /* 803332A8 0032FE88 42 00 FF 2C */ bdnz .L_803331D4 -/* 803332AC 0032FE8C E1 63 00 20 */ psq_l f11, 32(r3), 0, qr0 +/* 803332AC 0032FE8C E1 63 00 20 */ psq_l f11, 0x20(r3), 0, qr0 /* 803332B0 0032FE90 10 42 46 F8 */ ps_msub f2, f2, f27, f8 -/* 803332B4 0032FE94 E1 43 00 60 */ psq_l f10, 96(r3), 0, qr0 +/* 803332B4 0032FE94 E1 43 00 60 */ psq_l f10, 0x60(r3), 0, qr0 /* 803332B8 0032FE98 11 89 40 28 */ ps_sub f12, f9, f8 /* 803332BC 0032FE9C 10 23 10 2A */ ps_add f1, f3, f2 -/* 803332C0 0032FEA0 E1 23 00 A0 */ psq_l f9, 160(r3), 0, qr0 +/* 803332C0 0032FEA0 E1 23 00 A0 */ psq_l f9, 0xa0(r3), 0, qr0 /* 803332C4 0032FEA4 11 A3 10 28 */ ps_sub f13, f3, f2 -/* 803332C8 0032FEA8 E1 03 00 E0 */ psq_l f8, 224(r3), 0, qr0 +/* 803332C8 0032FEA8 E1 03 00 E0 */ psq_l f8, 0xe0(r3), 0, qr0 /* 803332CC 0032FEAC 10 69 50 2A */ ps_add f3, f9, f10 /* 803332D0 0032FEB0 11 29 50 28 */ ps_sub f9, f9, f10 /* 803332D4 0032FEB4 10 4B 40 2A */ ps_add f2, f11, f8 @@ -4154,51 +4196,51 @@ __THPDecompressiMCURowNxN: /* 803332EC 0032FECC 10 63 07 32 */ ps_mul f3, f3, f28 /* 803332F0 0032FED0 10 04 40 28 */ ps_sub f0, f4, f8 /* 803332F4 0032FED4 11 29 1F BA */ ps_madd f9, f9, f30, f3 -/* 803332F8 0032FED8 F0 46 60 00 */ psq_st f2, 0(r6), 0, qr6 +/* 803332F8 0032FED8 F0 46 60 00 */ psq_st f2, 0x0(r6), 0, qr6 /* 803332FC 0032FEDC 11 29 40 28 */ ps_sub f9, f9, f8 /* 80333300 0032FEE0 11 6B 1F 78 */ ps_msub f11, f11, f29, f3 -/* 80333304 0032FEE4 F0 05 60 18 */ psq_st f0, 24(r5), 0, qr6 +/* 80333304 0032FEE4 F0 05 60 18 */ psq_st f0, 0x18(r5), 0, qr6 /* 80333308 0032FEE8 10 41 48 2A */ ps_add f2, f1, f9 /* 8033330C 0032FEEC 11 4A 4E F8 */ ps_msub f10, f10, f27, f9 /* 80333310 0032FEF0 10 21 48 28 */ ps_sub f1, f1, f9 -/* 80333314 0032FEF4 F0 46 60 08 */ psq_st f2, 8(r6), 0, qr6 +/* 80333314 0032FEF4 F0 46 60 08 */ psq_st f2, 0x8(r6), 0, qr6 /* 80333318 0032FEF8 10 6D 50 2A */ ps_add f3, f13, f10 /* 8033331C 0032FEFC 11 6B 50 2A */ ps_add f11, f11, f10 -/* 80333320 0032FF00 F0 25 60 10 */ psq_st f1, 16(r5), 0, qr6 -/* 80333324 0032FF04 F0 66 60 10 */ psq_st f3, 16(r6), 0, qr6 +/* 80333320 0032FF00 F0 25 60 10 */ psq_st f1, 0x10(r5), 0, qr6 +/* 80333324 0032FF04 F0 66 60 10 */ psq_st f3, 0x10(r6), 0, qr6 /* 80333328 0032FF08 10 4C 58 28 */ ps_sub f2, f12, f11 /* 8033332C 0032FF0C 10 6C 58 2A */ ps_add f3, f12, f11 -/* 80333330 0032FF10 F0 46 60 18 */ psq_st f2, 24(r6), 0, qr6 +/* 80333330 0032FF10 F0 46 60 18 */ psq_st f2, 0x18(r6), 0, qr6 /* 80333334 0032FF14 10 4D 50 28 */ ps_sub f2, f13, f10 -/* 80333338 0032FF18 F0 65 60 00 */ psq_st f3, 0(r5), 0, qr6 -/* 8033333C 0032FF1C F0 45 60 08 */ psq_st f2, 8(r5), 0, qr6 +/* 80333338 0032FF18 F0 65 60 00 */ psq_st f3, 0x0(r5), 0, qr6 +/* 8033333C 0032FF1C F0 45 60 08 */ psq_st f2, 0x8(r5), 0, qr6 /* 80333340 0032FF20 80 FA 00 14 */ lwz r7, 0x14(r26) -/* 80333344 0032FF24 80 CD BB 60 */ lwz r6, Gq@sda21(r13) -/* 80333348 0032FF28 39 44 00 08 */ addi r10, r4, 8 -/* 8033334C 0032FF2C 39 3D FF F8 */ addi r9, r29, -8 -/* 80333350 0032FF30 38 00 00 08 */ li r0, 8 +/* 80333344 0032FF24 80 CD BB 60 */ lwz r6, Gq@sda21(r0) +/* 80333348 0032FF28 39 44 00 08 */ addi r10, r4, 0x8 +/* 8033334C 0032FF2C 39 3D FF F8 */ subi r9, r29, 0x8 +/* 80333350 0032FF30 38 00 00 08 */ li r0, 0x8 /* 80333354 0032FF34 7C 09 03 A6 */ mtctr r0 .L_80333358: -/* 80333358 0032FF38 E0 E7 50 00 */ psq_l f7, 0(r7), 0, qr5 -/* 8033335C 0032FF3C E0 C6 00 00 */ psq_l f6, 0(r6), 0, qr0 +/* 80333358 0032FF38 E0 E7 50 00 */ psq_l f7, 0x0(r7), 0, qr5 +/* 8033335C 0032FF3C E0 C6 00 00 */ psq_l f6, 0x0(r6), 0, qr0 /* 80333360 0032FF40 80 A7 00 0C */ lwz r5, 0xc(r7) -/* 80333364 0032FF44 80 07 00 08 */ lwz r0, 8(r7) +/* 80333364 0032FF44 80 07 00 08 */ lwz r0, 0x8(r7) /* 80333368 0032FF48 10 E7 01 B2 */ ps_mul f7, f7, f6 -/* 8033336C 0032FF4C 80 67 00 04 */ lwz r3, 4(r7) +/* 8033336C 0032FF4C 80 67 00 04 */ lwz r3, 0x4(r7) .L_80333370: /* 80333370 0032FF50 7C A5 03 79 */ or. r5, r5, r0 -/* 80333374 0032FF54 A0 07 00 02 */ lhz r0, 2(r7) +/* 80333374 0032FF54 A0 07 00 02 */ lhz r0, 0x2(r7) /* 80333378 0032FF58 40 82 01 38 */ bne .L_803334B0 /* 8033337C 0032FF5C 10 87 3C 20 */ ps_merge00 f4, f7, f7 -/* 80333380 0032FF60 2C 03 00 00 */ cmpwi r3, 0 -/* 80333384 0032FF64 F0 89 00 08 */ psq_st f4, 8(r9), 0, qr0 +/* 80333380 0032FF60 2C 03 00 00 */ cmpwi r3, 0x0 +/* 80333384 0032FF64 F0 89 00 08 */ psq_st f4, 0x8(r9), 0, qr0 /* 80333388 0032FF68 40 82 00 94 */ bne .L_8033341C -/* 8033338C 0032FF6C F0 89 00 10 */ psq_st f4, 16(r9), 0, qr0 -/* 80333390 0032FF70 2C 00 00 00 */ cmpwi r0, 0 -/* 80333394 0032FF74 F0 89 00 18 */ psq_st f4, 24(r9), 0, qr0 +/* 8033338C 0032FF6C F0 89 00 10 */ psq_st f4, 0x10(r9), 0, qr0 +/* 80333390 0032FF70 2C 00 00 00 */ cmpwi r0, 0x0 +/* 80333394 0032FF74 F0 89 00 18 */ psq_st f4, 0x18(r9), 0, qr0 /* 80333398 0032FF78 40 82 00 18 */ bne .L_803333B0 /* 8033339C 0032FF7C 38 C6 00 20 */ addi r6, r6, 0x20 -/* 803333A0 0032FF80 F4 89 00 20 */ psq_stu f4, 32(r9), 0, qr0 +/* 803333A0 0032FF80 F4 89 00 20 */ psq_stu f4, 0x20(r9), 0, qr0 /* 803333A4 0032FF84 38 E7 00 10 */ addi r7, r7, 0x10 /* 803333A8 0032FF88 42 00 FF B0 */ bdnz .L_80333358 /* 803333AC 0032FF8C 48 00 01 C4 */ b .L_80333570 @@ -4207,32 +4249,32 @@ __THPDecompressiMCURowNxN: /* 803333B4 0032FF94 11 A7 3F 38 */ ps_msub f13, f7, f28, f7 /* 803333B8 0032FF98 38 C6 00 20 */ addi r6, r6, 0x20 /* 803333BC 0032FF9C 10 47 3C 20 */ ps_merge00 f2, f7, f7 -/* 803333C0 0032FFA0 80 67 00 04 */ lwz r3, 4(r7) +/* 803333C0 0032FFA0 80 67 00 04 */ lwz r3, 0x4(r7) /* 803333C4 0032FFA4 10 3C E8 28 */ ps_sub f1, f28, f29 /* 803333C8 0032FFA8 11 87 6E F8 */ ps_msub f12, f7, f27, f13 /* 803333CC 0032FFAC 11 47 6C E0 */ ps_merge11 f10, f7, f13 -/* 803333D0 0032FFB0 E0 C6 00 00 */ psq_l f6, 0(r6), 0, qr0 +/* 803333D0 0032FFB0 E0 C6 00 00 */ psq_l f6, 0x0(r6), 0, qr0 /* 803333D4 0032FFB4 11 67 60 7C */ ps_nmsub f11, f7, f1, f12 /* 803333D8 0032FFB8 11 02 50 2A */ ps_add f8, f2, f10 -/* 803333DC 0032FFBC E0 E7 50 00 */ psq_l f7, 0(r7), 0, qr5 +/* 803333DC 0032FFBC E0 E7 50 00 */ psq_l f7, 0x0(r7), 0, qr5 /* 803333E0 0032FFC0 11 2C 5C E0 */ ps_merge11 f9, f12, f11 /* 803333E4 0032FFC4 11 42 50 28 */ ps_sub f10, f2, f10 /* 803333E8 0032FFC8 80 A7 00 0C */ lwz r5, 0xc(r7) /* 803333EC 0032FFCC 10 62 48 2A */ ps_add f3, f2, f9 -/* 803333F0 0032FFD0 80 07 00 08 */ lwz r0, 8(r7) +/* 803333F0 0032FFD0 80 07 00 08 */ lwz r0, 0x8(r7) /* 803333F4 0032FFD4 11 22 48 28 */ ps_sub f9, f2, f9 -/* 803333F8 0032FFD8 F5 09 00 08 */ psq_stu f8, 8(r9), 0, qr0 +/* 803333F8 0032FFD8 F5 09 00 08 */ psq_stu f8, 0x8(r9), 0, qr0 /* 803333FC 0032FFDC 11 29 4C A0 */ ps_merge10 f9, f9, f9 -/* 80333400 0032FFE0 F4 69 00 08 */ psq_stu f3, 8(r9), 0, qr0 +/* 80333400 0032FFE0 F4 69 00 08 */ psq_stu f3, 0x8(r9), 0, qr0 /* 80333404 0032FFE4 11 4A 54 A0 */ ps_merge10 f10, f10, f10 -/* 80333408 0032FFE8 F5 29 00 08 */ psq_stu f9, 8(r9), 0, qr0 +/* 80333408 0032FFE8 F5 29 00 08 */ psq_stu f9, 0x8(r9), 0, qr0 /* 8033340C 0032FFEC 10 E7 01 B2 */ ps_mul f7, f7, f6 -/* 80333410 0032FFF0 F5 49 00 08 */ psq_stu f10, 8(r9), 0, qr0 +/* 80333410 0032FFF0 F5 49 00 08 */ psq_stu f10, 0x8(r9), 0, qr0 /* 80333414 0032FFF4 42 00 FF 5C */ bdnz .L_80333370 /* 80333418 0032FFF8 48 00 01 58 */ b .L_80333570 .L_8033341C: -/* 8033341C 0032FFFC E0 27 50 04 */ psq_l f1, 4(r7), 0, qr5 -/* 80333420 00330000 E0 46 00 08 */ psq_l f2, 8(r6), 0, qr0 +/* 8033341C 0032FFFC E0 27 50 04 */ psq_l f1, 0x4(r7), 0, qr5 +/* 80333420 00330000 E0 46 00 08 */ psq_l f2, 0x8(r6), 0, qr0 /* 80333424 00330004 38 E7 00 10 */ addi r7, r7, 0x10 /* 80333428 00330008 10 21 00 B2 */ ps_mul f1, f1, f2 /* 8033342C 0033000C 38 C6 00 20 */ addi r6, r6, 0x20 @@ -4243,41 +4285,41 @@ __THPDecompressiMCURowNxN: /* 80333440 00330020 11 41 6E FC */ ps_nmsub f10, f1, f27, f13 /* 80333444 00330024 10 6C 07 32 */ ps_mul f3, f12, f28 /* 80333448 00330028 11 6D 5C 20 */ ps_merge00 f11, f13, f11 -/* 8033344C 0033002C 80 07 00 08 */ lwz r0, 8(r7) +/* 8033344C 0033002C 80 07 00 08 */ lwz r0, 0x8(r7) /* 80333450 00330030 11 21 1F BC */ ps_nmsub f9, f1, f30, f3 /* 80333454 00330034 11 4A 64 20 */ ps_merge00 f10, f10, f12 -/* 80333458 00330038 80 67 00 04 */ lwz r3, 4(r7) +/* 80333458 00330038 80 67 00 04 */ lwz r3, 0x4(r7) /* 8033345C 0033003C 11 29 68 28 */ ps_sub f9, f9, f13 /* 80333460 00330040 11 07 1F 7C */ ps_nmsub f8, f7, f29, f3 /* 80333464 00330044 11 AD 4C E0 */ ps_merge11 f13, f13, f9 /* 80333468 00330048 10 6C 4E F8 */ ps_msub f3, f12, f27, f9 -/* 8033346C 0033004C E0 E7 50 00 */ psq_l f7, 0(r7), 0, qr5 +/* 8033346C 0033004C E0 E7 50 00 */ psq_l f7, 0x0(r7), 0, qr5 /* 80333470 00330050 10 4B 68 2A */ ps_add f2, f11, f13 /* 80333474 00330054 11 08 18 28 */ ps_sub f8, f8, f3 -/* 80333478 00330058 E0 C6 00 00 */ psq_l f6, 0(r6), 0, qr0 +/* 80333478 00330058 E0 C6 00 00 */ psq_l f6, 0x0(r6), 0, qr0 /* 8033347C 0033005C 11 83 44 E0 */ ps_merge11 f12, f3, f8 /* 80333480 00330060 11 6B 68 28 */ ps_sub f11, f11, f13 -/* 80333484 00330064 F4 49 00 08 */ psq_stu f2, 8(r9), 0, qr0 +/* 80333484 00330064 F4 49 00 08 */ psq_stu f2, 0x8(r9), 0, qr0 /* 80333488 00330068 10 8A 60 2A */ ps_add f4, f10, f12 /* 8033348C 0033006C 10 2A 60 28 */ ps_sub f1, f10, f12 -/* 80333490 00330070 F4 89 00 08 */ psq_stu f4, 8(r9), 0, qr0 +/* 80333490 00330070 F4 89 00 08 */ psq_stu f4, 0x8(r9), 0, qr0 /* 80333494 00330074 10 21 0C A0 */ ps_merge10 f1, f1, f1 /* 80333498 00330078 11 6B 5C A0 */ ps_merge10 f11, f11, f11 -/* 8033349C 0033007C F4 29 00 08 */ psq_stu f1, 8(r9), 0, qr0 +/* 8033349C 0033007C F4 29 00 08 */ psq_stu f1, 0x8(r9), 0, qr0 /* 803334A0 00330080 10 E7 01 B2 */ ps_mul f7, f7, f6 -/* 803334A4 00330084 F5 69 00 08 */ psq_stu f11, 8(r9), 0, qr0 +/* 803334A4 00330084 F5 69 00 08 */ psq_stu f11, 0x8(r9), 0, qr0 /* 803334A8 00330088 42 00 FE C8 */ bdnz .L_80333370 /* 803334AC 0033008C 48 00 00 C4 */ b .L_80333570 .L_803334B0: -/* 803334B0 00330090 E0 47 50 04 */ psq_l f2, 4(r7), 0, qr5 -/* 803334B4 00330094 E1 46 00 08 */ psq_l f10, 8(r6), 0, qr0 +/* 803334B0 00330090 E0 47 50 04 */ psq_l f2, 0x4(r7), 0, qr5 +/* 803334B4 00330094 E1 46 00 08 */ psq_l f10, 0x8(r6), 0, qr0 /* 803334B8 00330098 10 42 02 B2 */ ps_mul f2, f2, f10 -/* 803334BC 0033009C E1 A7 50 08 */ psq_l f13, 8(r7), 0, qr5 -/* 803334C0 003300A0 E1 26 00 10 */ psq_l f9, 16(r6), 0, qr0 +/* 803334BC 0033009C E1 A7 50 08 */ psq_l f13, 0x8(r7), 0, qr5 +/* 803334C0 003300A0 E1 26 00 10 */ psq_l f9, 0x10(r6), 0, qr0 /* 803334C4 003300A4 10 87 14 60 */ ps_merge01 f4, f7, f2 -/* 803334C8 003300A8 E1 87 50 0C */ psq_l f12, 12(r7), 0, qr5 +/* 803334C8 003300A8 E1 87 50 0C */ psq_l f12, 0xc(r7), 0, qr5 /* 803334CC 003300AC 10 22 3C 60 */ ps_merge01 f1, f2, f7 -/* 803334D0 003300B0 E1 06 00 18 */ psq_l f8, 24(r6), 0, qr0 +/* 803334D0 003300B0 E1 06 00 18 */ psq_l f8, 0x18(r6), 0, qr0 /* 803334D4 003300B4 38 E7 00 10 */ addi r7, r7, 0x10 /* 803334D8 003300B8 11 6D 22 7A */ ps_madd f11, f13, f9, f4 /* 803334DC 003300BC 11 4D 22 7C */ ps_nmsub f10, f13, f9, f4 @@ -4292,47 +4334,47 @@ __THPDecompressiMCURowNxN: /* 80333500 003300E0 10 2A 68 2A */ ps_add f1, f10, f13 /* 80333504 003300E4 11 AA 68 28 */ ps_sub f13, f10, f13 /* 80333508 003300E8 10 63 07 32 */ ps_mul f3, f3, f28 -/* 8033350C 003300EC 80 07 00 08 */ lwz r0, 8(r7) +/* 8033350C 003300EC 80 07 00 08 */ lwz r0, 0x8(r7) /* 80333510 003300F0 10 24 0C 20 */ ps_merge00 f1, f4, f1 /* 80333514 003300F4 11 2A 1F BC */ ps_nmsub f9, f10, f30, f3 /* 80333518 003300F8 11 68 1F 78 */ ps_msub f11, f8, f29, f3 -/* 8033351C 003300FC 80 67 00 04 */ lwz r3, 4(r7) +/* 8033351C 003300FC 80 67 00 04 */ lwz r3, 0x4(r7) /* 80333520 00330100 11 29 20 28 */ ps_sub f9, f9, f4 /* 80333524 00330104 11 AD 64 20 */ ps_merge00 f13, f13, f12 /* 80333528 00330108 11 4C 4E FA */ ps_madd f10, f12, f27, f9 /* 8033352C 0033010C 11 04 4C E0 */ ps_merge11 f8, f4, f9 -/* 80333530 00330110 E0 E7 50 00 */ psq_l f7, 0(r7), 0, qr5 +/* 80333530 00330110 E0 E7 50 00 */ psq_l f7, 0x0(r7), 0, qr5 /* 80333534 00330114 11 6B 50 28 */ ps_sub f11, f11, f10 /* 80333538 00330118 11 81 40 2A */ ps_add f12, f1, f8 -/* 8033353C 0033011C E0 C6 00 00 */ psq_l f6, 0(r6), 0, qr0 +/* 8033353C 0033011C E0 C6 00 00 */ psq_l f6, 0x0(r6), 0, qr0 /* 80333540 00330120 11 6A 5C E0 */ ps_merge11 f11, f10, f11 /* 80333544 00330124 10 81 40 28 */ ps_sub f4, f1, f8 /* 80333548 00330128 10 E7 01 B2 */ ps_mul f7, f7, f6 /* 8033354C 0033012C 11 4D 58 2A */ ps_add f10, f13, f11 /* 80333550 00330130 11 2D 58 28 */ ps_sub f9, f13, f11 /* 80333554 00330134 11 4A 54 A0 */ ps_merge10 f10, f10, f10 -/* 80333558 00330138 F5 89 00 08 */ psq_stu f12, 8(r9), 0, qr0 +/* 80333558 00330138 F5 89 00 08 */ psq_stu f12, 0x8(r9), 0, qr0 /* 8033355C 0033013C 10 84 24 A0 */ ps_merge10 f4, f4, f4 -/* 80333560 00330140 F5 29 00 08 */ psq_stu f9, 8(r9), 0, qr0 -/* 80333564 00330144 F5 49 00 08 */ psq_stu f10, 8(r9), 0, qr0 -/* 80333568 00330148 F4 89 00 08 */ psq_stu f4, 8(r9), 0, qr0 +/* 80333560 00330140 F5 29 00 08 */ psq_stu f9, 0x8(r9), 0, qr0 +/* 80333564 00330144 F5 49 00 08 */ psq_stu f10, 0x8(r9), 0, qr0 +/* 80333568 00330148 F4 89 00 08 */ psq_stu f4, 0x8(r9), 0, qr0 /* 8033356C 0033014C 42 00 FE 04 */ bdnz .L_80333370 .L_80333570: -/* 80333570 00330150 81 0D BB 20 */ lwz r8, Gbase@sda21(r13) +/* 80333570 00330150 81 0D BB 20 */ lwz r8, Gbase@sda21(r0) /* 80333574 00330154 7F A9 EB 78 */ mr r9, r29 -/* 80333578 00330158 80 0D BB 40 */ lwz r0, Gwid@sda21(r13) -/* 8033357C 0033015C E0 E9 00 00 */ psq_l f7, 0(r9), 0, qr0 +/* 80333578 00330158 80 0D BB 40 */ lwz r0, Gwid@sda21(r0) +/* 8033357C 0033015C E0 E9 00 00 */ psq_l f7, 0x0(r9), 0, qr0 /* 80333580 00330160 55 4A 10 3A */ slwi r10, r10, 2 -/* 80333584 00330164 E0 C9 00 80 */ psq_l f6, 128(r9), 0, qr0 +/* 80333584 00330164 E0 C9 00 80 */ psq_l f6, 0x80(r9), 0, qr0 /* 80333588 00330168 54 06 10 3A */ slwi r6, r0, 2 -/* 8033358C 0033016C E0 A9 00 40 */ psq_l f5, 64(r9), 0, qr0 +/* 8033358C 0033016C E0 A9 00 40 */ psq_l f5, 0x40(r9), 0, qr0 /* 80333590 00330170 7D 47 53 78 */ mr r7, r10 /* 80333594 00330174 11 27 30 2A */ ps_add f9, f7, f6 -/* 80333598 00330178 E0 89 00 C0 */ psq_l f4, 192(r9), 0, qr0 +/* 80333598 00330178 E0 89 00 C0 */ psq_l f4, 0xc0(r9), 0, qr0 /* 8033359C 0033017C 10 67 30 28 */ ps_sub f3, f7, f6 /* 803335A0 00330180 7C C7 32 14 */ add r6, r7, r6 /* 803335A4 00330184 11 29 F8 2A */ ps_add f9, f9, f31 -/* 803335A8 00330188 38 00 00 03 */ li r0, 3 +/* 803335A8 00330188 38 00 00 03 */ li r0, 0x3 /* 803335AC 0033018C 11 05 20 2A */ ps_add f8, f5, f4 /* 803335B0 00330190 7C A8 3A 14 */ add r5, r8, r7 /* 803335B4 00330194 10 45 20 28 */ ps_sub f2, f5, f4 @@ -4341,68 +4383,68 @@ __THPDecompressiMCURowNxN: /* 803335C0 003301A0 10 63 F8 2A */ ps_add f3, f3, f31 /* 803335C4 003301A4 7C 09 03 A6 */ mtctr r0 .L_803335C8: -/* 803335C8 003301A8 E1 69 00 20 */ psq_l f11, 32(r9), 0, qr0 +/* 803335C8 003301A8 E1 69 00 20 */ psq_l f11, 0x20(r9), 0, qr0 /* 803335CC 003301AC 10 42 46 F8 */ ps_msub f2, f2, f27, f8 -/* 803335D0 003301B0 E1 49 00 60 */ psq_l f10, 96(r9), 0, qr0 +/* 803335D0 003301B0 E1 49 00 60 */ psq_l f10, 0x60(r9), 0, qr0 /* 803335D4 003301B4 11 89 40 28 */ ps_sub f12, f9, f8 /* 803335D8 003301B8 10 23 10 2A */ ps_add f1, f3, f2 -/* 803335DC 003301BC E1 29 00 A0 */ psq_l f9, 160(r9), 0, qr0 +/* 803335DC 003301BC E1 29 00 A0 */ psq_l f9, 0xa0(r9), 0, qr0 /* 803335E0 003301C0 11 A3 10 28 */ ps_sub f13, f3, f2 -/* 803335E4 003301C4 E1 09 00 E0 */ psq_l f8, 224(r9), 0, qr0 +/* 803335E4 003301C4 E1 09 00 E0 */ psq_l f8, 0xe0(r9), 0, qr0 /* 803335E8 003301C8 10 69 50 2A */ ps_add f3, f9, f10 /* 803335EC 003301CC 11 29 50 28 */ ps_sub f9, f9, f10 -/* 803335F0 003301D0 39 29 00 08 */ addi r9, r9, 8 +/* 803335F0 003301D0 39 29 00 08 */ addi r9, r9, 0x8 /* 803335F4 003301D4 10 4B 40 2A */ ps_add f2, f11, f8 /* 803335F8 003301D8 11 6B 40 28 */ ps_sub f11, f11, f8 -/* 803335FC 003301DC E0 E9 00 00 */ psq_l f7, 0(r9), 0, qr0 +/* 803335FC 003301DC E0 E9 00 00 */ psq_l f7, 0x0(r9), 0, qr0 /* 80333600 003301E0 11 02 18 2A */ ps_add f8, f2, f3 /* 80333604 003301E4 11 42 18 28 */ ps_sub f10, f2, f3 /* 80333608 003301E8 10 69 58 2A */ ps_add f3, f9, f11 -/* 8033360C 003301EC E0 C9 00 80 */ psq_l f6, 128(r9), 0, qr0 +/* 8033360C 003301EC E0 C9 00 80 */ psq_l f6, 0x80(r9), 0, qr0 /* 80333610 003301F0 10 44 40 2A */ ps_add f2, f4, f8 /* 80333614 003301F4 10 63 07 32 */ ps_mul f3, f3, f28 -/* 80333618 003301F8 E0 A9 00 40 */ psq_l f5, 64(r9), 0, qr0 +/* 80333618 003301F8 E0 A9 00 40 */ psq_l f5, 0x40(r9), 0, qr0 /* 8033361C 003301FC 10 04 40 28 */ ps_sub f0, f4, f8 /* 80333620 00330200 11 29 1F BA */ ps_madd f9, f9, f30, f3 -/* 80333624 00330204 E0 89 00 C0 */ psq_l f4, 192(r9), 0, qr0 +/* 80333624 00330204 E0 89 00 C0 */ psq_l f4, 0xc0(r9), 0, qr0 /* 80333628 00330208 11 29 40 28 */ ps_sub f9, f9, f8 -/* 8033362C 0033020C 38 E7 00 02 */ addi r7, r7, 2 -/* 80333630 00330210 F0 45 60 00 */ psq_st f2, 0(r5), 0, qr6 +/* 8033362C 0033020C 38 E7 00 02 */ addi r7, r7, 0x2 +/* 80333630 00330210 F0 45 60 00 */ psq_st f2, 0x0(r5), 0, qr6 /* 80333634 00330214 11 6B 1F 78 */ ps_msub f11, f11, f29, f3 /* 80333638 00330218 10 41 48 2A */ ps_add f2, f1, f9 /* 8033363C 0033021C 11 4A 4E F8 */ ps_msub f10, f10, f27, f9 /* 80333640 00330220 10 21 48 28 */ ps_sub f1, f1, f9 -/* 80333644 00330224 F0 45 60 08 */ psq_st f2, 8(r5), 0, qr6 +/* 80333644 00330224 F0 45 60 08 */ psq_st f2, 0x8(r5), 0, qr6 /* 80333648 00330228 10 6D 50 2A */ ps_add f3, f13, f10 /* 8033364C 0033022C 11 6B 50 2A */ ps_add f11, f11, f10 -/* 80333650 00330230 F0 65 60 10 */ psq_st f3, 16(r5), 0, qr6 -/* 80333654 00330234 38 C6 00 02 */ addi r6, r6, 2 +/* 80333650 00330230 F0 65 60 10 */ psq_st f3, 0x10(r5), 0, qr6 +/* 80333654 00330234 38 C6 00 02 */ addi r6, r6, 0x2 /* 80333658 00330238 10 4C 58 28 */ ps_sub f2, f12, f11 /* 8033365C 0033023C 10 6C 58 2A */ ps_add f3, f12, f11 -/* 80333660 00330240 F0 45 60 18 */ psq_st f2, 24(r5), 0, qr6 +/* 80333660 00330240 F0 45 60 18 */ psq_st f2, 0x18(r5), 0, qr6 /* 80333664 00330244 10 4D 50 28 */ ps_sub f2, f13, f10 /* 80333668 00330248 11 27 30 2A */ ps_add f9, f7, f6 -/* 8033366C 0033024C F0 63 60 00 */ psq_st f3, 0(r3), 0, qr6 +/* 8033366C 0033024C F0 63 60 00 */ psq_st f3, 0x0(r3), 0, qr6 /* 80333670 00330250 10 67 30 28 */ ps_sub f3, f7, f6 /* 80333674 00330254 11 29 F8 2A */ ps_add f9, f9, f31 -/* 80333678 00330258 F0 43 60 08 */ psq_st f2, 8(r3), 0, qr6 +/* 80333678 00330258 F0 43 60 08 */ psq_st f2, 0x8(r3), 0, qr6 /* 8033367C 0033025C 11 05 20 2A */ ps_add f8, f5, f4 /* 80333680 00330260 10 45 20 28 */ ps_sub f2, f5, f4 -/* 80333684 00330264 F0 23 60 10 */ psq_st f1, 16(r3), 0, qr6 +/* 80333684 00330264 F0 23 60 10 */ psq_st f1, 0x10(r3), 0, qr6 /* 80333688 00330268 7C A8 3A 14 */ add r5, r8, r7 /* 8033368C 0033026C 10 89 40 2A */ ps_add f4, f9, f8 -/* 80333690 00330270 F0 03 60 18 */ psq_st f0, 24(r3), 0, qr6 +/* 80333690 00330270 F0 03 60 18 */ psq_st f0, 0x18(r3), 0, qr6 /* 80333694 00330274 10 63 F8 2A */ ps_add f3, f3, f31 /* 80333698 00330278 7C 68 32 14 */ add r3, r8, r6 /* 8033369C 0033027C 42 00 FF 2C */ bdnz .L_803335C8 -/* 803336A0 00330280 E1 69 00 20 */ psq_l f11, 32(r9), 0, qr0 +/* 803336A0 00330280 E1 69 00 20 */ psq_l f11, 0x20(r9), 0, qr0 /* 803336A4 00330284 10 42 46 F8 */ ps_msub f2, f2, f27, f8 -/* 803336A8 00330288 E1 49 00 60 */ psq_l f10, 96(r9), 0, qr0 +/* 803336A8 00330288 E1 49 00 60 */ psq_l f10, 0x60(r9), 0, qr0 /* 803336AC 0033028C 11 89 40 28 */ ps_sub f12, f9, f8 /* 803336B0 00330290 10 23 10 2A */ ps_add f1, f3, f2 -/* 803336B4 00330294 E1 29 00 A0 */ psq_l f9, 160(r9), 0, qr0 +/* 803336B4 00330294 E1 29 00 A0 */ psq_l f9, 0xa0(r9), 0, qr0 /* 803336B8 00330298 11 A3 10 28 */ ps_sub f13, f3, f2 -/* 803336BC 0033029C E1 09 00 E0 */ psq_l f8, 224(r9), 0, qr0 +/* 803336BC 0033029C E1 09 00 E0 */ psq_l f8, 0xe0(r9), 0, qr0 /* 803336C0 003302A0 10 69 50 2A */ ps_add f3, f9, f10 /* 803336C4 003302A4 11 29 50 28 */ ps_sub f9, f9, f10 /* 803336C8 003302A8 10 4B 40 2A */ ps_add f2, f11, f8 @@ -4414,51 +4456,51 @@ __THPDecompressiMCURowNxN: /* 803336E0 003302C0 10 63 07 32 */ ps_mul f3, f3, f28 /* 803336E4 003302C4 10 04 40 28 */ ps_sub f0, f4, f8 /* 803336E8 003302C8 11 29 1F BA */ ps_madd f9, f9, f30, f3 -/* 803336EC 003302CC F0 45 60 00 */ psq_st f2, 0(r5), 0, qr6 +/* 803336EC 003302CC F0 45 60 00 */ psq_st f2, 0x0(r5), 0, qr6 /* 803336F0 003302D0 11 29 40 28 */ ps_sub f9, f9, f8 /* 803336F4 003302D4 11 6B 1F 78 */ ps_msub f11, f11, f29, f3 -/* 803336F8 003302D8 F0 03 60 18 */ psq_st f0, 24(r3), 0, qr6 +/* 803336F8 003302D8 F0 03 60 18 */ psq_st f0, 0x18(r3), 0, qr6 /* 803336FC 003302DC 10 41 48 2A */ ps_add f2, f1, f9 /* 80333700 003302E0 11 4A 4E F8 */ ps_msub f10, f10, f27, f9 /* 80333704 003302E4 10 21 48 28 */ ps_sub f1, f1, f9 -/* 80333708 003302E8 F0 45 60 08 */ psq_st f2, 8(r5), 0, qr6 +/* 80333708 003302E8 F0 45 60 08 */ psq_st f2, 0x8(r5), 0, qr6 /* 8033370C 003302EC 10 6D 50 2A */ ps_add f3, f13, f10 /* 80333710 003302F0 11 6B 50 2A */ ps_add f11, f11, f10 -/* 80333714 003302F4 F0 23 60 10 */ psq_st f1, 16(r3), 0, qr6 -/* 80333718 003302F8 F0 65 60 10 */ psq_st f3, 16(r5), 0, qr6 +/* 80333714 003302F4 F0 23 60 10 */ psq_st f1, 0x10(r3), 0, qr6 +/* 80333718 003302F8 F0 65 60 10 */ psq_st f3, 0x10(r5), 0, qr6 /* 8033371C 003302FC 10 4C 58 28 */ ps_sub f2, f12, f11 /* 80333720 00330300 10 6C 58 2A */ ps_add f3, f12, f11 -/* 80333724 00330304 F0 45 60 18 */ psq_st f2, 24(r5), 0, qr6 +/* 80333724 00330304 F0 45 60 18 */ psq_st f2, 0x18(r5), 0, qr6 /* 80333728 00330308 10 4D 50 28 */ ps_sub f2, f13, f10 -/* 8033372C 0033030C F0 63 60 00 */ psq_st f3, 0(r3), 0, qr6 -/* 80333730 00330310 F0 43 60 08 */ psq_st f2, 8(r3), 0, qr6 +/* 8033372C 0033030C F0 63 60 00 */ psq_st f3, 0x0(r3), 0, qr6 +/* 80333730 00330310 F0 43 60 08 */ psq_st f2, 0x8(r3), 0, qr6 /* 80333734 00330314 81 1A 00 18 */ lwz r8, 0x18(r26) -/* 80333738 00330318 80 ED BB 60 */ lwz r7, Gq@sda21(r13) -/* 8033373C 0033031C 39 3D FF F8 */ addi r9, r29, -8 -/* 80333740 00330320 38 60 00 08 */ li r3, 8 +/* 80333738 00330318 80 ED BB 60 */ lwz r7, Gq@sda21(r0) +/* 8033373C 0033031C 39 3D FF F8 */ subi r9, r29, 0x8 +/* 80333740 00330320 38 60 00 08 */ li r3, 0x8 /* 80333744 00330324 7C 69 03 A6 */ mtctr r3 .L_80333748: -/* 80333748 00330328 E0 E8 50 00 */ psq_l f7, 0(r8), 0, qr5 -/* 8033374C 0033032C E0 C7 00 00 */ psq_l f6, 0(r7), 0, qr0 +/* 80333748 00330328 E0 E8 50 00 */ psq_l f7, 0x0(r8), 0, qr5 +/* 8033374C 0033032C E0 C7 00 00 */ psq_l f6, 0x0(r7), 0, qr0 /* 80333750 00330330 80 C8 00 0C */ lwz r6, 0xc(r8) -/* 80333754 00330334 80 08 00 08 */ lwz r0, 8(r8) +/* 80333754 00330334 80 08 00 08 */ lwz r0, 0x8(r8) /* 80333758 00330338 10 E7 01 B2 */ ps_mul f7, f7, f6 -/* 8033375C 0033033C 80 A8 00 04 */ lwz r5, 4(r8) -/* 80333760 00330340 A0 68 00 02 */ lhz r3, 2(r8) +/* 8033375C 0033033C 80 A8 00 04 */ lwz r5, 0x4(r8) +/* 80333760 00330340 A0 68 00 02 */ lhz r3, 0x2(r8) /* 80333764 00330344 7C C6 03 78 */ or r6, r6, r0 .L_80333768: -/* 80333768 00330348 2C 06 00 00 */ cmpwi r6, 0 +/* 80333768 00330348 2C 06 00 00 */ cmpwi r6, 0x0 /* 8033376C 0033034C 40 82 01 48 */ bne .L_803338B4 /* 80333770 00330350 10 87 3C 20 */ ps_merge00 f4, f7, f7 -/* 80333774 00330354 2C 05 00 00 */ cmpwi r5, 0 -/* 80333778 00330358 F0 89 00 08 */ psq_st f4, 8(r9), 0, qr0 +/* 80333774 00330354 2C 05 00 00 */ cmpwi r5, 0x0 +/* 80333778 00330358 F0 89 00 08 */ psq_st f4, 0x8(r9), 0, qr0 /* 8033377C 0033035C 40 82 00 9C */ bne .L_80333818 -/* 80333780 00330360 F0 89 00 10 */ psq_st f4, 16(r9), 0, qr0 -/* 80333784 00330364 2C 03 00 00 */ cmpwi r3, 0 -/* 80333788 00330368 F0 89 00 18 */ psq_st f4, 24(r9), 0, qr0 +/* 80333780 00330360 F0 89 00 10 */ psq_st f4, 0x10(r9), 0, qr0 +/* 80333784 00330364 2C 03 00 00 */ cmpwi r3, 0x0 +/* 80333788 00330368 F0 89 00 18 */ psq_st f4, 0x18(r9), 0, qr0 /* 8033378C 0033036C 40 82 00 18 */ bne .L_803337A4 /* 80333790 00330370 38 E7 00 20 */ addi r7, r7, 0x20 -/* 80333794 00330374 F4 89 00 20 */ psq_stu f4, 32(r9), 0, qr0 +/* 80333794 00330374 F4 89 00 20 */ psq_stu f4, 0x20(r9), 0, qr0 /* 80333798 00330378 39 08 00 10 */ addi r8, r8, 0x10 /* 8033379C 0033037C 42 00 FF AC */ bdnz .L_80333748 /* 803337A0 00330380 48 00 01 DC */ b .L_8033397C @@ -4468,33 +4510,33 @@ __THPDecompressiMCURowNxN: /* 803337AC 0033038C 10 47 3C 20 */ ps_merge00 f2, f7, f7 /* 803337B0 00330390 38 E7 00 20 */ addi r7, r7, 0x20 /* 803337B4 00330394 10 3C E8 28 */ ps_sub f1, f28, f29 -/* 803337B8 00330398 80 A8 00 04 */ lwz r5, 4(r8) +/* 803337B8 00330398 80 A8 00 04 */ lwz r5, 0x4(r8) /* 803337BC 0033039C 11 87 6E F8 */ ps_msub f12, f7, f27, f13 -/* 803337C0 003303A0 A0 68 00 02 */ lhz r3, 2(r8) +/* 803337C0 003303A0 A0 68 00 02 */ lhz r3, 0x2(r8) /* 803337C4 003303A4 11 47 6C E0 */ ps_merge11 f10, f7, f13 -/* 803337C8 003303A8 E0 C7 00 00 */ psq_l f6, 0(r7), 0, qr0 +/* 803337C8 003303A8 E0 C7 00 00 */ psq_l f6, 0x0(r7), 0, qr0 /* 803337CC 003303AC 11 67 60 7C */ ps_nmsub f11, f7, f1, f12 /* 803337D0 003303B0 11 02 50 2A */ ps_add f8, f2, f10 -/* 803337D4 003303B4 E0 E8 50 00 */ psq_l f7, 0(r8), 0, qr5 +/* 803337D4 003303B4 E0 E8 50 00 */ psq_l f7, 0x0(r8), 0, qr5 /* 803337D8 003303B8 11 2C 5C E0 */ ps_merge11 f9, f12, f11 /* 803337DC 003303BC 11 42 50 28 */ ps_sub f10, f2, f10 /* 803337E0 003303C0 80 C8 00 0C */ lwz r6, 0xc(r8) /* 803337E4 003303C4 10 62 48 2A */ ps_add f3, f2, f9 -/* 803337E8 003303C8 80 08 00 08 */ lwz r0, 8(r8) +/* 803337E8 003303C8 80 08 00 08 */ lwz r0, 0x8(r8) /* 803337EC 003303CC 11 22 48 28 */ ps_sub f9, f2, f9 -/* 803337F0 003303D0 F5 09 00 08 */ psq_stu f8, 8(r9), 0, qr0 +/* 803337F0 003303D0 F5 09 00 08 */ psq_stu f8, 0x8(r9), 0, qr0 /* 803337F4 003303D4 11 29 4C A0 */ ps_merge10 f9, f9, f9 -/* 803337F8 003303D8 F4 69 00 08 */ psq_stu f3, 8(r9), 0, qr0 +/* 803337F8 003303D8 F4 69 00 08 */ psq_stu f3, 0x8(r9), 0, qr0 /* 803337FC 003303DC 11 4A 54 A0 */ ps_merge10 f10, f10, f10 /* 80333800 003303E0 7C C6 03 78 */ or r6, r6, r0 -/* 80333804 003303E4 F5 29 00 08 */ psq_stu f9, 8(r9), 0, qr0 +/* 80333804 003303E4 F5 29 00 08 */ psq_stu f9, 0x8(r9), 0, qr0 /* 80333808 003303E8 10 E7 01 B2 */ ps_mul f7, f7, f6 -/* 8033380C 003303EC F5 49 00 08 */ psq_stu f10, 8(r9), 0, qr0 +/* 8033380C 003303EC F5 49 00 08 */ psq_stu f10, 0x8(r9), 0, qr0 /* 80333810 003303F0 42 00 FF 58 */ bdnz .L_80333768 /* 80333814 003303F4 48 00 01 68 */ b .L_8033397C .L_80333818: -/* 80333818 003303F8 E0 28 50 04 */ psq_l f1, 4(r8), 0, qr5 -/* 8033381C 003303FC E0 47 00 08 */ psq_l f2, 8(r7), 0, qr0 +/* 80333818 003303F8 E0 28 50 04 */ psq_l f1, 0x4(r8), 0, qr5 +/* 8033381C 003303FC E0 47 00 08 */ psq_l f2, 0x8(r7), 0, qr0 /* 80333820 00330400 39 08 00 10 */ addi r8, r8, 0x10 /* 80333824 00330404 10 21 00 B2 */ ps_mul f1, f1, f2 /* 80333828 00330408 38 E7 00 20 */ addi r7, r7, 0x20 @@ -4505,43 +4547,43 @@ __THPDecompressiMCURowNxN: /* 8033383C 0033041C 11 41 6E FC */ ps_nmsub f10, f1, f27, f13 /* 80333840 00330420 10 6C 07 32 */ ps_mul f3, f12, f28 /* 80333844 00330424 11 6D 5C 20 */ ps_merge00 f11, f13, f11 -/* 80333848 00330428 80 08 00 08 */ lwz r0, 8(r8) +/* 80333848 00330428 80 08 00 08 */ lwz r0, 0x8(r8) /* 8033384C 0033042C 11 21 1F BC */ ps_nmsub f9, f1, f30, f3 /* 80333850 00330430 11 4A 64 20 */ ps_merge00 f10, f10, f12 -/* 80333854 00330434 80 A8 00 04 */ lwz r5, 4(r8) +/* 80333854 00330434 80 A8 00 04 */ lwz r5, 0x4(r8) /* 80333858 00330438 11 29 68 28 */ ps_sub f9, f9, f13 /* 8033385C 0033043C 11 07 1F 7C */ ps_nmsub f8, f7, f29, f3 -/* 80333860 00330440 A0 68 00 02 */ lhz r3, 2(r8) +/* 80333860 00330440 A0 68 00 02 */ lhz r3, 0x2(r8) /* 80333864 00330444 11 AD 4C E0 */ ps_merge11 f13, f13, f9 /* 80333868 00330448 10 6C 4E F8 */ ps_msub f3, f12, f27, f9 -/* 8033386C 0033044C E0 E8 50 00 */ psq_l f7, 0(r8), 0, qr5 +/* 8033386C 0033044C E0 E8 50 00 */ psq_l f7, 0x0(r8), 0, qr5 /* 80333870 00330450 10 4B 68 2A */ ps_add f2, f11, f13 /* 80333874 00330454 11 08 18 28 */ ps_sub f8, f8, f3 -/* 80333878 00330458 E0 C7 00 00 */ psq_l f6, 0(r7), 0, qr0 +/* 80333878 00330458 E0 C7 00 00 */ psq_l f6, 0x0(r7), 0, qr0 /* 8033387C 0033045C 11 83 44 E0 */ ps_merge11 f12, f3, f8 /* 80333880 00330460 11 6B 68 28 */ ps_sub f11, f11, f13 -/* 80333884 00330464 F4 49 00 08 */ psq_stu f2, 8(r9), 0, qr0 +/* 80333884 00330464 F4 49 00 08 */ psq_stu f2, 0x8(r9), 0, qr0 /* 80333888 00330468 10 8A 60 2A */ ps_add f4, f10, f12 /* 8033388C 0033046C 10 2A 60 28 */ ps_sub f1, f10, f12 /* 80333890 00330470 7C C6 03 78 */ or r6, r6, r0 -/* 80333894 00330474 F4 89 00 08 */ psq_stu f4, 8(r9), 0, qr0 +/* 80333894 00330474 F4 89 00 08 */ psq_stu f4, 0x8(r9), 0, qr0 /* 80333898 00330478 10 21 0C A0 */ ps_merge10 f1, f1, f1 /* 8033389C 0033047C 11 6B 5C A0 */ ps_merge10 f11, f11, f11 -/* 803338A0 00330480 F4 29 00 08 */ psq_stu f1, 8(r9), 0, qr0 +/* 803338A0 00330480 F4 29 00 08 */ psq_stu f1, 0x8(r9), 0, qr0 /* 803338A4 00330484 10 E7 01 B2 */ ps_mul f7, f7, f6 -/* 803338A8 00330488 F5 69 00 08 */ psq_stu f11, 8(r9), 0, qr0 +/* 803338A8 00330488 F5 69 00 08 */ psq_stu f11, 0x8(r9), 0, qr0 /* 803338AC 0033048C 42 00 FE BC */ bdnz .L_80333768 /* 803338B0 00330490 48 00 00 CC */ b .L_8033397C .L_803338B4: -/* 803338B4 00330494 E0 48 50 04 */ psq_l f2, 4(r8), 0, qr5 -/* 803338B8 00330498 E1 47 00 08 */ psq_l f10, 8(r7), 0, qr0 +/* 803338B4 00330494 E0 48 50 04 */ psq_l f2, 0x4(r8), 0, qr5 +/* 803338B8 00330498 E1 47 00 08 */ psq_l f10, 0x8(r7), 0, qr0 /* 803338BC 0033049C 10 42 02 B2 */ ps_mul f2, f2, f10 -/* 803338C0 003304A0 E1 A8 50 08 */ psq_l f13, 8(r8), 0, qr5 -/* 803338C4 003304A4 E1 27 00 10 */ psq_l f9, 16(r7), 0, qr0 +/* 803338C0 003304A0 E1 A8 50 08 */ psq_l f13, 0x8(r8), 0, qr5 +/* 803338C4 003304A4 E1 27 00 10 */ psq_l f9, 0x10(r7), 0, qr0 /* 803338C8 003304A8 10 87 14 60 */ ps_merge01 f4, f7, f2 -/* 803338CC 003304AC E1 88 50 0C */ psq_l f12, 12(r8), 0, qr5 +/* 803338CC 003304AC E1 88 50 0C */ psq_l f12, 0xc(r8), 0, qr5 /* 803338D0 003304B0 10 22 3C 60 */ ps_merge01 f1, f2, f7 -/* 803338D4 003304B4 E1 07 00 18 */ psq_l f8, 24(r7), 0, qr0 +/* 803338D4 003304B4 E1 07 00 18 */ psq_l f8, 0x18(r7), 0, qr0 /* 803338D8 003304B8 39 08 00 10 */ addi r8, r8, 0x10 /* 803338DC 003304BC 11 6D 22 7A */ ps_madd f11, f13, f9, f4 /* 803338E0 003304C0 11 4D 22 7C */ ps_nmsub f10, f13, f9, f4 @@ -4556,50 +4598,50 @@ __THPDecompressiMCURowNxN: /* 80333904 003304E4 10 2A 68 2A */ ps_add f1, f10, f13 /* 80333908 003304E8 11 AA 68 28 */ ps_sub f13, f10, f13 /* 8033390C 003304EC 10 63 07 32 */ ps_mul f3, f3, f28 -/* 80333910 003304F0 80 08 00 08 */ lwz r0, 8(r8) +/* 80333910 003304F0 80 08 00 08 */ lwz r0, 0x8(r8) /* 80333914 003304F4 10 24 0C 20 */ ps_merge00 f1, f4, f1 /* 80333918 003304F8 11 2A 1F BC */ ps_nmsub f9, f10, f30, f3 /* 8033391C 003304FC 11 68 1F 78 */ ps_msub f11, f8, f29, f3 -/* 80333920 00330500 80 A8 00 04 */ lwz r5, 4(r8) +/* 80333920 00330500 80 A8 00 04 */ lwz r5, 0x4(r8) /* 80333924 00330504 11 29 20 28 */ ps_sub f9, f9, f4 /* 80333928 00330508 11 AD 64 20 */ ps_merge00 f13, f13, f12 -/* 8033392C 0033050C A0 68 00 02 */ lhz r3, 2(r8) +/* 8033392C 0033050C A0 68 00 02 */ lhz r3, 0x2(r8) /* 80333930 00330510 11 4C 4E FA */ ps_madd f10, f12, f27, f9 /* 80333934 00330514 11 04 4C E0 */ ps_merge11 f8, f4, f9 -/* 80333938 00330518 E0 E8 50 00 */ psq_l f7, 0(r8), 0, qr5 +/* 80333938 00330518 E0 E8 50 00 */ psq_l f7, 0x0(r8), 0, qr5 /* 8033393C 0033051C 11 6B 50 28 */ ps_sub f11, f11, f10 /* 80333940 00330520 11 81 40 2A */ ps_add f12, f1, f8 -/* 80333944 00330524 E0 C7 00 00 */ psq_l f6, 0(r7), 0, qr0 +/* 80333944 00330524 E0 C7 00 00 */ psq_l f6, 0x0(r7), 0, qr0 /* 80333948 00330528 11 6A 5C E0 */ ps_merge11 f11, f10, f11 /* 8033394C 0033052C 10 81 40 28 */ ps_sub f4, f1, f8 /* 80333950 00330530 10 E7 01 B2 */ ps_mul f7, f7, f6 /* 80333954 00330534 11 4D 58 2A */ ps_add f10, f13, f11 /* 80333958 00330538 11 2D 58 28 */ ps_sub f9, f13, f11 /* 8033395C 0033053C 11 4A 54 A0 */ ps_merge10 f10, f10, f10 -/* 80333960 00330540 F5 89 00 08 */ psq_stu f12, 8(r9), 0, qr0 +/* 80333960 00330540 F5 89 00 08 */ psq_stu f12, 0x8(r9), 0, qr0 /* 80333964 00330544 10 84 24 A0 */ ps_merge10 f4, f4, f4 -/* 80333968 00330548 F5 29 00 08 */ psq_stu f9, 8(r9), 0, qr0 -/* 8033396C 0033054C F5 49 00 08 */ psq_stu f10, 8(r9), 0, qr0 +/* 80333968 00330548 F5 29 00 08 */ psq_stu f9, 0x8(r9), 0, qr0 +/* 8033396C 0033054C F5 49 00 08 */ psq_stu f10, 0x8(r9), 0, qr0 /* 80333970 00330550 7C C6 03 78 */ or r6, r6, r0 -/* 80333974 00330554 F4 89 00 08 */ psq_stu f4, 8(r9), 0, qr0 +/* 80333974 00330554 F4 89 00 08 */ psq_stu f4, 0x8(r9), 0, qr0 /* 80333978 00330558 42 00 FD F0 */ bdnz .L_80333768 .L_8033397C: -/* 8033397C 0033055C 81 0D BB 20 */ lwz r8, Gbase@sda21(r13) +/* 8033397C 0033055C 81 0D BB 20 */ lwz r8, Gbase@sda21(r0) /* 80333980 00330560 7F A9 EB 78 */ mr r9, r29 -/* 80333984 00330564 80 0D BB 40 */ lwz r0, Gwid@sda21(r13) -/* 80333988 00330568 E0 E9 00 00 */ psq_l f7, 0(r9), 0, qr0 +/* 80333984 00330564 80 0D BB 40 */ lwz r0, Gwid@sda21(r0) +/* 80333988 00330568 E0 E9 00 00 */ psq_l f7, 0x0(r9), 0, qr0 /* 8033398C 0033056C 54 07 18 38 */ slwi r7, r0, 3 -/* 80333990 00330570 E0 C9 00 80 */ psq_l f6, 128(r9), 0, qr0 +/* 80333990 00330570 E0 C9 00 80 */ psq_l f6, 0x80(r9), 0, qr0 /* 80333994 00330574 54 83 10 3A */ slwi r3, r4, 2 -/* 80333998 00330578 E0 A9 00 40 */ psq_l f5, 64(r9), 0, qr0 +/* 80333998 00330578 E0 A9 00 40 */ psq_l f5, 0x40(r9), 0, qr0 /* 8033399C 0033057C 54 06 10 3A */ slwi r6, r0, 2 /* 803339A0 00330580 11 27 30 2A */ ps_add f9, f7, f6 /* 803339A4 00330584 7C E7 1A 14 */ add r7, r7, r3 -/* 803339A8 00330588 E0 89 00 C0 */ psq_l f4, 192(r9), 0, qr0 +/* 803339A8 00330588 E0 89 00 C0 */ psq_l f4, 0xc0(r9), 0, qr0 /* 803339AC 0033058C 10 67 30 28 */ ps_sub f3, f7, f6 /* 803339B0 00330590 7C C7 32 14 */ add r6, r7, r6 /* 803339B4 00330594 11 29 F8 2A */ ps_add f9, f9, f31 -/* 803339B8 00330598 38 00 00 03 */ li r0, 3 +/* 803339B8 00330598 38 00 00 03 */ li r0, 0x3 /* 803339BC 0033059C 11 05 20 2A */ ps_add f8, f5, f4 /* 803339C0 003305A0 7C A8 3A 14 */ add r5, r8, r7 /* 803339C4 003305A4 10 45 20 28 */ ps_sub f2, f5, f4 @@ -4608,68 +4650,68 @@ __THPDecompressiMCURowNxN: /* 803339D0 003305B0 10 63 F8 2A */ ps_add f3, f3, f31 /* 803339D4 003305B4 7C 09 03 A6 */ mtctr r0 .L_803339D8: -/* 803339D8 003305B8 E1 69 00 20 */ psq_l f11, 32(r9), 0, qr0 +/* 803339D8 003305B8 E1 69 00 20 */ psq_l f11, 0x20(r9), 0, qr0 /* 803339DC 003305BC 10 42 46 F8 */ ps_msub f2, f2, f27, f8 -/* 803339E0 003305C0 E1 49 00 60 */ psq_l f10, 96(r9), 0, qr0 +/* 803339E0 003305C0 E1 49 00 60 */ psq_l f10, 0x60(r9), 0, qr0 /* 803339E4 003305C4 11 89 40 28 */ ps_sub f12, f9, f8 /* 803339E8 003305C8 10 23 10 2A */ ps_add f1, f3, f2 -/* 803339EC 003305CC E1 29 00 A0 */ psq_l f9, 160(r9), 0, qr0 +/* 803339EC 003305CC E1 29 00 A0 */ psq_l f9, 0xa0(r9), 0, qr0 /* 803339F0 003305D0 11 A3 10 28 */ ps_sub f13, f3, f2 -/* 803339F4 003305D4 E1 09 00 E0 */ psq_l f8, 224(r9), 0, qr0 +/* 803339F4 003305D4 E1 09 00 E0 */ psq_l f8, 0xe0(r9), 0, qr0 /* 803339F8 003305D8 10 69 50 2A */ ps_add f3, f9, f10 /* 803339FC 003305DC 11 29 50 28 */ ps_sub f9, f9, f10 -/* 80333A00 003305E0 39 29 00 08 */ addi r9, r9, 8 +/* 80333A00 003305E0 39 29 00 08 */ addi r9, r9, 0x8 /* 80333A04 003305E4 10 4B 40 2A */ ps_add f2, f11, f8 /* 80333A08 003305E8 11 6B 40 28 */ ps_sub f11, f11, f8 -/* 80333A0C 003305EC E0 E9 00 00 */ psq_l f7, 0(r9), 0, qr0 +/* 80333A0C 003305EC E0 E9 00 00 */ psq_l f7, 0x0(r9), 0, qr0 /* 80333A10 003305F0 11 02 18 2A */ ps_add f8, f2, f3 /* 80333A14 003305F4 11 42 18 28 */ ps_sub f10, f2, f3 /* 80333A18 003305F8 10 69 58 2A */ ps_add f3, f9, f11 -/* 80333A1C 003305FC E0 C9 00 80 */ psq_l f6, 128(r9), 0, qr0 +/* 80333A1C 003305FC E0 C9 00 80 */ psq_l f6, 0x80(r9), 0, qr0 /* 80333A20 00330600 10 44 40 2A */ ps_add f2, f4, f8 /* 80333A24 00330604 10 63 07 32 */ ps_mul f3, f3, f28 -/* 80333A28 00330608 E0 A9 00 40 */ psq_l f5, 64(r9), 0, qr0 +/* 80333A28 00330608 E0 A9 00 40 */ psq_l f5, 0x40(r9), 0, qr0 /* 80333A2C 0033060C 10 04 40 28 */ ps_sub f0, f4, f8 /* 80333A30 00330610 11 29 1F BA */ ps_madd f9, f9, f30, f3 -/* 80333A34 00330614 E0 89 00 C0 */ psq_l f4, 192(r9), 0, qr0 +/* 80333A34 00330614 E0 89 00 C0 */ psq_l f4, 0xc0(r9), 0, qr0 /* 80333A38 00330618 11 29 40 28 */ ps_sub f9, f9, f8 -/* 80333A3C 0033061C 38 E7 00 02 */ addi r7, r7, 2 -/* 80333A40 00330620 F0 45 60 00 */ psq_st f2, 0(r5), 0, qr6 +/* 80333A3C 0033061C 38 E7 00 02 */ addi r7, r7, 0x2 +/* 80333A40 00330620 F0 45 60 00 */ psq_st f2, 0x0(r5), 0, qr6 /* 80333A44 00330624 11 6B 1F 78 */ ps_msub f11, f11, f29, f3 /* 80333A48 00330628 10 41 48 2A */ ps_add f2, f1, f9 /* 80333A4C 0033062C 11 4A 4E F8 */ ps_msub f10, f10, f27, f9 /* 80333A50 00330630 10 21 48 28 */ ps_sub f1, f1, f9 -/* 80333A54 00330634 F0 45 60 08 */ psq_st f2, 8(r5), 0, qr6 +/* 80333A54 00330634 F0 45 60 08 */ psq_st f2, 0x8(r5), 0, qr6 /* 80333A58 00330638 10 6D 50 2A */ ps_add f3, f13, f10 /* 80333A5C 0033063C 11 6B 50 2A */ ps_add f11, f11, f10 -/* 80333A60 00330640 F0 65 60 10 */ psq_st f3, 16(r5), 0, qr6 -/* 80333A64 00330644 38 C6 00 02 */ addi r6, r6, 2 +/* 80333A60 00330640 F0 65 60 10 */ psq_st f3, 0x10(r5), 0, qr6 +/* 80333A64 00330644 38 C6 00 02 */ addi r6, r6, 0x2 /* 80333A68 00330648 10 4C 58 28 */ ps_sub f2, f12, f11 /* 80333A6C 0033064C 10 6C 58 2A */ ps_add f3, f12, f11 -/* 80333A70 00330650 F0 45 60 18 */ psq_st f2, 24(r5), 0, qr6 +/* 80333A70 00330650 F0 45 60 18 */ psq_st f2, 0x18(r5), 0, qr6 /* 80333A74 00330654 10 4D 50 28 */ ps_sub f2, f13, f10 /* 80333A78 00330658 11 27 30 2A */ ps_add f9, f7, f6 -/* 80333A7C 0033065C F0 63 60 00 */ psq_st f3, 0(r3), 0, qr6 +/* 80333A7C 0033065C F0 63 60 00 */ psq_st f3, 0x0(r3), 0, qr6 /* 80333A80 00330660 10 67 30 28 */ ps_sub f3, f7, f6 /* 80333A84 00330664 11 29 F8 2A */ ps_add f9, f9, f31 -/* 80333A88 00330668 F0 43 60 08 */ psq_st f2, 8(r3), 0, qr6 +/* 80333A88 00330668 F0 43 60 08 */ psq_st f2, 0x8(r3), 0, qr6 /* 80333A8C 0033066C 11 05 20 2A */ ps_add f8, f5, f4 /* 80333A90 00330670 10 45 20 28 */ ps_sub f2, f5, f4 -/* 80333A94 00330674 F0 23 60 10 */ psq_st f1, 16(r3), 0, qr6 +/* 80333A94 00330674 F0 23 60 10 */ psq_st f1, 0x10(r3), 0, qr6 /* 80333A98 00330678 7C A8 3A 14 */ add r5, r8, r7 /* 80333A9C 0033067C 10 89 40 2A */ ps_add f4, f9, f8 -/* 80333AA0 00330680 F0 03 60 18 */ psq_st f0, 24(r3), 0, qr6 +/* 80333AA0 00330680 F0 03 60 18 */ psq_st f0, 0x18(r3), 0, qr6 /* 80333AA4 00330684 10 63 F8 2A */ ps_add f3, f3, f31 /* 80333AA8 00330688 7C 68 32 14 */ add r3, r8, r6 /* 80333AAC 0033068C 42 00 FF 2C */ bdnz .L_803339D8 -/* 80333AB0 00330690 E1 69 00 20 */ psq_l f11, 32(r9), 0, qr0 +/* 80333AB0 00330690 E1 69 00 20 */ psq_l f11, 0x20(r9), 0, qr0 /* 80333AB4 00330694 10 42 46 F8 */ ps_msub f2, f2, f27, f8 -/* 80333AB8 00330698 E1 49 00 60 */ psq_l f10, 96(r9), 0, qr0 +/* 80333AB8 00330698 E1 49 00 60 */ psq_l f10, 0x60(r9), 0, qr0 /* 80333ABC 0033069C 11 89 40 28 */ ps_sub f12, f9, f8 /* 80333AC0 003306A0 10 23 10 2A */ ps_add f1, f3, f2 -/* 80333AC4 003306A4 E1 29 00 A0 */ psq_l f9, 160(r9), 0, qr0 +/* 80333AC4 003306A4 E1 29 00 A0 */ psq_l f9, 0xa0(r9), 0, qr0 /* 80333AC8 003306A8 11 A3 10 28 */ ps_sub f13, f3, f2 -/* 80333ACC 003306AC E1 09 00 E0 */ psq_l f8, 224(r9), 0, qr0 +/* 80333ACC 003306AC E1 09 00 E0 */ psq_l f8, 0xe0(r9), 0, qr0 /* 80333AD0 003306B0 10 69 50 2A */ ps_add f3, f9, f10 /* 80333AD4 003306B4 11 29 50 28 */ ps_sub f9, f9, f10 /* 80333AD8 003306B8 10 4B 40 2A */ ps_add f2, f11, f8 @@ -4681,52 +4723,52 @@ __THPDecompressiMCURowNxN: /* 80333AF0 003306D0 10 63 07 32 */ ps_mul f3, f3, f28 /* 80333AF4 003306D4 10 04 40 28 */ ps_sub f0, f4, f8 /* 80333AF8 003306D8 11 29 1F BA */ ps_madd f9, f9, f30, f3 -/* 80333AFC 003306DC F0 45 60 00 */ psq_st f2, 0(r5), 0, qr6 +/* 80333AFC 003306DC F0 45 60 00 */ psq_st f2, 0x0(r5), 0, qr6 /* 80333B00 003306E0 11 29 40 28 */ ps_sub f9, f9, f8 /* 80333B04 003306E4 11 6B 1F 78 */ ps_msub f11, f11, f29, f3 -/* 80333B08 003306E8 F0 03 60 18 */ psq_st f0, 24(r3), 0, qr6 +/* 80333B08 003306E8 F0 03 60 18 */ psq_st f0, 0x18(r3), 0, qr6 /* 80333B0C 003306EC 10 41 48 2A */ ps_add f2, f1, f9 /* 80333B10 003306F0 11 4A 4E F8 */ ps_msub f10, f10, f27, f9 /* 80333B14 003306F4 10 21 48 28 */ ps_sub f1, f1, f9 -/* 80333B18 003306F8 F0 45 60 08 */ psq_st f2, 8(r5), 0, qr6 +/* 80333B18 003306F8 F0 45 60 08 */ psq_st f2, 0x8(r5), 0, qr6 /* 80333B1C 003306FC 10 6D 50 2A */ ps_add f3, f13, f10 /* 80333B20 00330700 11 6B 50 2A */ ps_add f11, f11, f10 -/* 80333B24 00330704 F0 65 60 10 */ psq_st f3, 16(r5), 0, qr6 +/* 80333B24 00330704 F0 65 60 10 */ psq_st f3, 0x10(r5), 0, qr6 /* 80333B28 00330708 10 4C 58 28 */ ps_sub f2, f12, f11 -/* 80333B2C 0033070C F0 23 60 10 */ psq_st f1, 16(r3), 0, qr6 +/* 80333B2C 0033070C F0 23 60 10 */ psq_st f1, 0x10(r3), 0, qr6 /* 80333B30 00330710 10 6C 58 2A */ ps_add f3, f12, f11 -/* 80333B34 00330714 F0 45 60 18 */ psq_st f2, 24(r5), 0, qr6 +/* 80333B34 00330714 F0 45 60 18 */ psq_st f2, 0x18(r5), 0, qr6 /* 80333B38 00330718 10 4D 50 28 */ ps_sub f2, f13, f10 -/* 80333B3C 0033071C F0 63 60 00 */ psq_st f3, 0(r3), 0, qr6 -/* 80333B40 00330720 F0 43 60 08 */ psq_st f2, 8(r3), 0, qr6 +/* 80333B3C 0033071C F0 63 60 00 */ psq_st f3, 0x0(r3), 0, qr6 +/* 80333B40 00330720 F0 43 60 08 */ psq_st f2, 0x8(r3), 0, qr6 /* 80333B44 00330724 81 1A 00 1C */ lwz r8, 0x1c(r26) -/* 80333B48 00330728 80 ED BB 60 */ lwz r7, Gq@sda21(r13) -/* 80333B4C 0033072C 39 24 00 08 */ addi r9, r4, 8 -/* 80333B50 00330730 39 5D FF F8 */ addi r10, r29, -8 -/* 80333B54 00330734 38 60 00 08 */ li r3, 8 +/* 80333B48 00330728 80 ED BB 60 */ lwz r7, Gq@sda21(r0) +/* 80333B4C 0033072C 39 24 00 08 */ addi r9, r4, 0x8 +/* 80333B50 00330730 39 5D FF F8 */ subi r10, r29, 0x8 +/* 80333B54 00330734 38 60 00 08 */ li r3, 0x8 /* 80333B58 00330738 7C 69 03 A6 */ mtctr r3 .L_80333B5C: -/* 80333B5C 0033073C E0 E8 50 00 */ psq_l f7, 0(r8), 0, qr5 -/* 80333B60 00330740 E0 C7 00 00 */ psq_l f6, 0(r7), 0, qr0 +/* 80333B5C 0033073C E0 E8 50 00 */ psq_l f7, 0x0(r8), 0, qr5 +/* 80333B60 00330740 E0 C7 00 00 */ psq_l f6, 0x0(r7), 0, qr0 /* 80333B64 00330744 80 C8 00 0C */ lwz r6, 0xc(r8) -/* 80333B68 00330748 80 08 00 08 */ lwz r0, 8(r8) +/* 80333B68 00330748 80 08 00 08 */ lwz r0, 0x8(r8) /* 80333B6C 0033074C 10 E7 01 B2 */ ps_mul f7, f7, f6 -/* 80333B70 00330750 80 A8 00 04 */ lwz r5, 4(r8) -/* 80333B74 00330754 A0 68 00 02 */ lhz r3, 2(r8) +/* 80333B70 00330750 80 A8 00 04 */ lwz r5, 0x4(r8) +/* 80333B74 00330754 A0 68 00 02 */ lhz r3, 0x2(r8) /* 80333B78 00330758 7C C6 03 78 */ or r6, r6, r0 .L_80333B7C: -/* 80333B7C 0033075C 2C 06 00 00 */ cmpwi r6, 0 +/* 80333B7C 0033075C 2C 06 00 00 */ cmpwi r6, 0x0 /* 80333B80 00330760 40 82 01 48 */ bne .L_80333CC8 /* 80333B84 00330764 10 87 3C 20 */ ps_merge00 f4, f7, f7 -/* 80333B88 00330768 2C 05 00 00 */ cmpwi r5, 0 -/* 80333B8C 0033076C F0 8A 00 08 */ psq_st f4, 8(r10), 0, qr0 +/* 80333B88 00330768 2C 05 00 00 */ cmpwi r5, 0x0 +/* 80333B8C 0033076C F0 8A 00 08 */ psq_st f4, 0x8(r10), 0, qr0 /* 80333B90 00330770 40 82 00 9C */ bne .L_80333C2C -/* 80333B94 00330774 F0 8A 00 10 */ psq_st f4, 16(r10), 0, qr0 -/* 80333B98 00330778 2C 03 00 00 */ cmpwi r3, 0 -/* 80333B9C 0033077C F0 8A 00 18 */ psq_st f4, 24(r10), 0, qr0 +/* 80333B94 00330774 F0 8A 00 10 */ psq_st f4, 0x10(r10), 0, qr0 +/* 80333B98 00330778 2C 03 00 00 */ cmpwi r3, 0x0 +/* 80333B9C 0033077C F0 8A 00 18 */ psq_st f4, 0x18(r10), 0, qr0 /* 80333BA0 00330780 40 82 00 18 */ bne .L_80333BB8 /* 80333BA4 00330784 38 E7 00 20 */ addi r7, r7, 0x20 -/* 80333BA8 00330788 F4 8A 00 20 */ psq_stu f4, 32(r10), 0, qr0 +/* 80333BA8 00330788 F4 8A 00 20 */ psq_stu f4, 0x20(r10), 0, qr0 /* 80333BAC 0033078C 39 08 00 10 */ addi r8, r8, 0x10 /* 80333BB0 00330790 42 00 FF AC */ bdnz .L_80333B5C /* 80333BB4 00330794 48 00 01 DC */ b .L_80333D90 @@ -4736,33 +4778,33 @@ __THPDecompressiMCURowNxN: /* 80333BC0 003307A0 10 47 3C 20 */ ps_merge00 f2, f7, f7 /* 80333BC4 003307A4 38 E7 00 20 */ addi r7, r7, 0x20 /* 80333BC8 003307A8 10 3C E8 28 */ ps_sub f1, f28, f29 -/* 80333BCC 003307AC 80 A8 00 04 */ lwz r5, 4(r8) +/* 80333BCC 003307AC 80 A8 00 04 */ lwz r5, 0x4(r8) /* 80333BD0 003307B0 11 87 6E F8 */ ps_msub f12, f7, f27, f13 -/* 80333BD4 003307B4 A0 68 00 02 */ lhz r3, 2(r8) +/* 80333BD4 003307B4 A0 68 00 02 */ lhz r3, 0x2(r8) /* 80333BD8 003307B8 11 47 6C E0 */ ps_merge11 f10, f7, f13 -/* 80333BDC 003307BC E0 C7 00 00 */ psq_l f6, 0(r7), 0, qr0 +/* 80333BDC 003307BC E0 C7 00 00 */ psq_l f6, 0x0(r7), 0, qr0 /* 80333BE0 003307C0 11 67 60 7C */ ps_nmsub f11, f7, f1, f12 /* 80333BE4 003307C4 11 02 50 2A */ ps_add f8, f2, f10 -/* 80333BE8 003307C8 E0 E8 50 00 */ psq_l f7, 0(r8), 0, qr5 +/* 80333BE8 003307C8 E0 E8 50 00 */ psq_l f7, 0x0(r8), 0, qr5 /* 80333BEC 003307CC 11 2C 5C E0 */ ps_merge11 f9, f12, f11 /* 80333BF0 003307D0 11 42 50 28 */ ps_sub f10, f2, f10 /* 80333BF4 003307D4 80 C8 00 0C */ lwz r6, 0xc(r8) /* 80333BF8 003307D8 10 62 48 2A */ ps_add f3, f2, f9 -/* 80333BFC 003307DC 80 08 00 08 */ lwz r0, 8(r8) +/* 80333BFC 003307DC 80 08 00 08 */ lwz r0, 0x8(r8) /* 80333C00 003307E0 11 22 48 28 */ ps_sub f9, f2, f9 -/* 80333C04 003307E4 F5 0A 00 08 */ psq_stu f8, 8(r10), 0, qr0 +/* 80333C04 003307E4 F5 0A 00 08 */ psq_stu f8, 0x8(r10), 0, qr0 /* 80333C08 003307E8 11 29 4C A0 */ ps_merge10 f9, f9, f9 -/* 80333C0C 003307EC F4 6A 00 08 */ psq_stu f3, 8(r10), 0, qr0 +/* 80333C0C 003307EC F4 6A 00 08 */ psq_stu f3, 0x8(r10), 0, qr0 /* 80333C10 003307F0 11 4A 54 A0 */ ps_merge10 f10, f10, f10 /* 80333C14 003307F4 7C C6 03 78 */ or r6, r6, r0 -/* 80333C18 003307F8 F5 2A 00 08 */ psq_stu f9, 8(r10), 0, qr0 +/* 80333C18 003307F8 F5 2A 00 08 */ psq_stu f9, 0x8(r10), 0, qr0 /* 80333C1C 003307FC 10 E7 01 B2 */ ps_mul f7, f7, f6 -/* 80333C20 00330800 F5 4A 00 08 */ psq_stu f10, 8(r10), 0, qr0 +/* 80333C20 00330800 F5 4A 00 08 */ psq_stu f10, 0x8(r10), 0, qr0 /* 80333C24 00330804 42 00 FF 58 */ bdnz .L_80333B7C /* 80333C28 00330808 48 00 01 68 */ b .L_80333D90 .L_80333C2C: -/* 80333C2C 0033080C E0 28 50 04 */ psq_l f1, 4(r8), 0, qr5 -/* 80333C30 00330810 E0 47 00 08 */ psq_l f2, 8(r7), 0, qr0 +/* 80333C2C 0033080C E0 28 50 04 */ psq_l f1, 0x4(r8), 0, qr5 +/* 80333C30 00330810 E0 47 00 08 */ psq_l f2, 0x8(r7), 0, qr0 /* 80333C34 00330814 39 08 00 10 */ addi r8, r8, 0x10 /* 80333C38 00330818 10 21 00 B2 */ ps_mul f1, f1, f2 /* 80333C3C 0033081C 38 E7 00 20 */ addi r7, r7, 0x20 @@ -4773,43 +4815,43 @@ __THPDecompressiMCURowNxN: /* 80333C50 00330830 11 41 6E FC */ ps_nmsub f10, f1, f27, f13 /* 80333C54 00330834 10 6C 07 32 */ ps_mul f3, f12, f28 /* 80333C58 00330838 11 6D 5C 20 */ ps_merge00 f11, f13, f11 -/* 80333C5C 0033083C 80 08 00 08 */ lwz r0, 8(r8) +/* 80333C5C 0033083C 80 08 00 08 */ lwz r0, 0x8(r8) /* 80333C60 00330840 11 21 1F BC */ ps_nmsub f9, f1, f30, f3 /* 80333C64 00330844 11 4A 64 20 */ ps_merge00 f10, f10, f12 -/* 80333C68 00330848 80 A8 00 04 */ lwz r5, 4(r8) +/* 80333C68 00330848 80 A8 00 04 */ lwz r5, 0x4(r8) /* 80333C6C 0033084C 11 29 68 28 */ ps_sub f9, f9, f13 /* 80333C70 00330850 11 07 1F 7C */ ps_nmsub f8, f7, f29, f3 -/* 80333C74 00330854 A0 68 00 02 */ lhz r3, 2(r8) +/* 80333C74 00330854 A0 68 00 02 */ lhz r3, 0x2(r8) /* 80333C78 00330858 11 AD 4C E0 */ ps_merge11 f13, f13, f9 /* 80333C7C 0033085C 10 6C 4E F8 */ ps_msub f3, f12, f27, f9 -/* 80333C80 00330860 E0 E8 50 00 */ psq_l f7, 0(r8), 0, qr5 +/* 80333C80 00330860 E0 E8 50 00 */ psq_l f7, 0x0(r8), 0, qr5 /* 80333C84 00330864 10 4B 68 2A */ ps_add f2, f11, f13 /* 80333C88 00330868 11 08 18 28 */ ps_sub f8, f8, f3 -/* 80333C8C 0033086C E0 C7 00 00 */ psq_l f6, 0(r7), 0, qr0 +/* 80333C8C 0033086C E0 C7 00 00 */ psq_l f6, 0x0(r7), 0, qr0 /* 80333C90 00330870 11 83 44 E0 */ ps_merge11 f12, f3, f8 /* 80333C94 00330874 11 6B 68 28 */ ps_sub f11, f11, f13 -/* 80333C98 00330878 F4 4A 00 08 */ psq_stu f2, 8(r10), 0, qr0 +/* 80333C98 00330878 F4 4A 00 08 */ psq_stu f2, 0x8(r10), 0, qr0 /* 80333C9C 0033087C 10 8A 60 2A */ ps_add f4, f10, f12 /* 80333CA0 00330880 10 2A 60 28 */ ps_sub f1, f10, f12 /* 80333CA4 00330884 7C C6 03 78 */ or r6, r6, r0 -/* 80333CA8 00330888 F4 8A 00 08 */ psq_stu f4, 8(r10), 0, qr0 +/* 80333CA8 00330888 F4 8A 00 08 */ psq_stu f4, 0x8(r10), 0, qr0 /* 80333CAC 0033088C 10 21 0C A0 */ ps_merge10 f1, f1, f1 /* 80333CB0 00330890 11 6B 5C A0 */ ps_merge10 f11, f11, f11 -/* 80333CB4 00330894 F4 2A 00 08 */ psq_stu f1, 8(r10), 0, qr0 +/* 80333CB4 00330894 F4 2A 00 08 */ psq_stu f1, 0x8(r10), 0, qr0 /* 80333CB8 00330898 10 E7 01 B2 */ ps_mul f7, f7, f6 -/* 80333CBC 0033089C F5 6A 00 08 */ psq_stu f11, 8(r10), 0, qr0 +/* 80333CBC 0033089C F5 6A 00 08 */ psq_stu f11, 0x8(r10), 0, qr0 /* 80333CC0 003308A0 42 00 FE BC */ bdnz .L_80333B7C /* 80333CC4 003308A4 48 00 00 CC */ b .L_80333D90 .L_80333CC8: -/* 80333CC8 003308A8 E0 48 50 04 */ psq_l f2, 4(r8), 0, qr5 -/* 80333CCC 003308AC E1 47 00 08 */ psq_l f10, 8(r7), 0, qr0 +/* 80333CC8 003308A8 E0 48 50 04 */ psq_l f2, 0x4(r8), 0, qr5 +/* 80333CCC 003308AC E1 47 00 08 */ psq_l f10, 0x8(r7), 0, qr0 /* 80333CD0 003308B0 10 42 02 B2 */ ps_mul f2, f2, f10 -/* 80333CD4 003308B4 E1 A8 50 08 */ psq_l f13, 8(r8), 0, qr5 -/* 80333CD8 003308B8 E1 27 00 10 */ psq_l f9, 16(r7), 0, qr0 +/* 80333CD4 003308B4 E1 A8 50 08 */ psq_l f13, 0x8(r8), 0, qr5 +/* 80333CD8 003308B8 E1 27 00 10 */ psq_l f9, 0x10(r7), 0, qr0 /* 80333CDC 003308BC 10 87 14 60 */ ps_merge01 f4, f7, f2 -/* 80333CE0 003308C0 E1 88 50 0C */ psq_l f12, 12(r8), 0, qr5 +/* 80333CE0 003308C0 E1 88 50 0C */ psq_l f12, 0xc(r8), 0, qr5 /* 80333CE4 003308C4 10 22 3C 60 */ ps_merge01 f1, f2, f7 -/* 80333CE8 003308C8 E1 07 00 18 */ psq_l f8, 24(r7), 0, qr0 +/* 80333CE8 003308C8 E1 07 00 18 */ psq_l f8, 0x18(r7), 0, qr0 /* 80333CEC 003308CC 39 08 00 10 */ addi r8, r8, 0x10 /* 80333CF0 003308D0 11 6D 22 7A */ ps_madd f11, f13, f9, f4 /* 80333CF4 003308D4 11 4D 22 7C */ ps_nmsub f10, f13, f9, f4 @@ -4824,50 +4866,50 @@ __THPDecompressiMCURowNxN: /* 80333D18 003308F8 10 2A 68 2A */ ps_add f1, f10, f13 /* 80333D1C 003308FC 11 AA 68 28 */ ps_sub f13, f10, f13 /* 80333D20 00330900 10 63 07 32 */ ps_mul f3, f3, f28 -/* 80333D24 00330904 80 08 00 08 */ lwz r0, 8(r8) +/* 80333D24 00330904 80 08 00 08 */ lwz r0, 0x8(r8) /* 80333D28 00330908 10 24 0C 20 */ ps_merge00 f1, f4, f1 /* 80333D2C 0033090C 11 2A 1F BC */ ps_nmsub f9, f10, f30, f3 /* 80333D30 00330910 11 68 1F 78 */ ps_msub f11, f8, f29, f3 -/* 80333D34 00330914 80 A8 00 04 */ lwz r5, 4(r8) +/* 80333D34 00330914 80 A8 00 04 */ lwz r5, 0x4(r8) /* 80333D38 00330918 11 29 20 28 */ ps_sub f9, f9, f4 /* 80333D3C 0033091C 11 AD 64 20 */ ps_merge00 f13, f13, f12 -/* 80333D40 00330920 A0 68 00 02 */ lhz r3, 2(r8) +/* 80333D40 00330920 A0 68 00 02 */ lhz r3, 0x2(r8) /* 80333D44 00330924 11 4C 4E FA */ ps_madd f10, f12, f27, f9 /* 80333D48 00330928 11 04 4C E0 */ ps_merge11 f8, f4, f9 -/* 80333D4C 0033092C E0 E8 50 00 */ psq_l f7, 0(r8), 0, qr5 +/* 80333D4C 0033092C E0 E8 50 00 */ psq_l f7, 0x0(r8), 0, qr5 /* 80333D50 00330930 11 6B 50 28 */ ps_sub f11, f11, f10 /* 80333D54 00330934 11 81 40 2A */ ps_add f12, f1, f8 -/* 80333D58 00330938 E0 C7 00 00 */ psq_l f6, 0(r7), 0, qr0 +/* 80333D58 00330938 E0 C7 00 00 */ psq_l f6, 0x0(r7), 0, qr0 /* 80333D5C 0033093C 11 6A 5C E0 */ ps_merge11 f11, f10, f11 /* 80333D60 00330940 10 81 40 28 */ ps_sub f4, f1, f8 /* 80333D64 00330944 10 E7 01 B2 */ ps_mul f7, f7, f6 /* 80333D68 00330948 11 4D 58 2A */ ps_add f10, f13, f11 /* 80333D6C 0033094C 11 2D 58 28 */ ps_sub f9, f13, f11 /* 80333D70 00330950 11 4A 54 A0 */ ps_merge10 f10, f10, f10 -/* 80333D74 00330954 F5 8A 00 08 */ psq_stu f12, 8(r10), 0, qr0 +/* 80333D74 00330954 F5 8A 00 08 */ psq_stu f12, 0x8(r10), 0, qr0 /* 80333D78 00330958 10 84 24 A0 */ ps_merge10 f4, f4, f4 -/* 80333D7C 0033095C F5 2A 00 08 */ psq_stu f9, 8(r10), 0, qr0 -/* 80333D80 00330960 F5 4A 00 08 */ psq_stu f10, 8(r10), 0, qr0 +/* 80333D7C 0033095C F5 2A 00 08 */ psq_stu f9, 0x8(r10), 0, qr0 +/* 80333D80 00330960 F5 4A 00 08 */ psq_stu f10, 0x8(r10), 0, qr0 /* 80333D84 00330964 7C C6 03 78 */ or r6, r6, r0 -/* 80333D88 00330968 F4 8A 00 08 */ psq_stu f4, 8(r10), 0, qr0 +/* 80333D88 00330968 F4 8A 00 08 */ psq_stu f4, 0x8(r10), 0, qr0 /* 80333D8C 0033096C 42 00 FD F0 */ bdnz .L_80333B7C .L_80333D90: -/* 80333D90 00330970 81 0D BB 20 */ lwz r8, Gbase@sda21(r13) +/* 80333D90 00330970 81 0D BB 20 */ lwz r8, Gbase@sda21(r0) /* 80333D94 00330974 7F AA EB 78 */ mr r10, r29 -/* 80333D98 00330978 80 0D BB 40 */ lwz r0, Gwid@sda21(r13) -/* 80333D9C 0033097C E0 EA 00 00 */ psq_l f7, 0(r10), 0, qr0 +/* 80333D98 00330978 80 0D BB 40 */ lwz r0, Gwid@sda21(r0) +/* 80333D9C 0033097C E0 EA 00 00 */ psq_l f7, 0x0(r10), 0, qr0 /* 80333DA0 00330980 54 07 18 38 */ slwi r7, r0, 3 -/* 80333DA4 00330984 E0 CA 00 80 */ psq_l f6, 128(r10), 0, qr0 +/* 80333DA4 00330984 E0 CA 00 80 */ psq_l f6, 0x80(r10), 0, qr0 /* 80333DA8 00330988 55 29 10 3A */ slwi r9, r9, 2 -/* 80333DAC 0033098C E0 AA 00 40 */ psq_l f5, 64(r10), 0, qr0 +/* 80333DAC 0033098C E0 AA 00 40 */ psq_l f5, 0x40(r10), 0, qr0 /* 80333DB0 00330990 54 06 10 3A */ slwi r6, r0, 2 /* 80333DB4 00330994 11 27 30 2A */ ps_add f9, f7, f6 /* 80333DB8 00330998 7C E7 4A 14 */ add r7, r7, r9 -/* 80333DBC 0033099C E0 8A 00 C0 */ psq_l f4, 192(r10), 0, qr0 +/* 80333DBC 0033099C E0 8A 00 C0 */ psq_l f4, 0xc0(r10), 0, qr0 /* 80333DC0 003309A0 10 67 30 28 */ ps_sub f3, f7, f6 /* 80333DC4 003309A4 7C C7 32 14 */ add r6, r7, r6 /* 80333DC8 003309A8 11 29 F8 2A */ ps_add f9, f9, f31 -/* 80333DCC 003309AC 38 00 00 03 */ li r0, 3 +/* 80333DCC 003309AC 38 00 00 03 */ li r0, 0x3 /* 80333DD0 003309B0 11 05 20 2A */ ps_add f8, f5, f4 /* 80333DD4 003309B4 7C A8 3A 14 */ add r5, r8, r7 /* 80333DD8 003309B8 10 45 20 28 */ ps_sub f2, f5, f4 @@ -4876,68 +4918,68 @@ __THPDecompressiMCURowNxN: /* 80333DE4 003309C4 10 63 F8 2A */ ps_add f3, f3, f31 /* 80333DE8 003309C8 7C 09 03 A6 */ mtctr r0 .L_80333DEC: -/* 80333DEC 003309CC E1 6A 00 20 */ psq_l f11, 32(r10), 0, qr0 +/* 80333DEC 003309CC E1 6A 00 20 */ psq_l f11, 0x20(r10), 0, qr0 /* 80333DF0 003309D0 10 42 46 F8 */ ps_msub f2, f2, f27, f8 -/* 80333DF4 003309D4 E1 4A 00 60 */ psq_l f10, 96(r10), 0, qr0 +/* 80333DF4 003309D4 E1 4A 00 60 */ psq_l f10, 0x60(r10), 0, qr0 /* 80333DF8 003309D8 11 89 40 28 */ ps_sub f12, f9, f8 /* 80333DFC 003309DC 10 23 10 2A */ ps_add f1, f3, f2 -/* 80333E00 003309E0 E1 2A 00 A0 */ psq_l f9, 160(r10), 0, qr0 +/* 80333E00 003309E0 E1 2A 00 A0 */ psq_l f9, 0xa0(r10), 0, qr0 /* 80333E04 003309E4 11 A3 10 28 */ ps_sub f13, f3, f2 -/* 80333E08 003309E8 E1 0A 00 E0 */ psq_l f8, 224(r10), 0, qr0 +/* 80333E08 003309E8 E1 0A 00 E0 */ psq_l f8, 0xe0(r10), 0, qr0 /* 80333E0C 003309EC 10 69 50 2A */ ps_add f3, f9, f10 /* 80333E10 003309F0 11 29 50 28 */ ps_sub f9, f9, f10 -/* 80333E14 003309F4 39 4A 00 08 */ addi r10, r10, 8 +/* 80333E14 003309F4 39 4A 00 08 */ addi r10, r10, 0x8 /* 80333E18 003309F8 10 4B 40 2A */ ps_add f2, f11, f8 /* 80333E1C 003309FC 11 6B 40 28 */ ps_sub f11, f11, f8 -/* 80333E20 00330A00 E0 EA 00 00 */ psq_l f7, 0(r10), 0, qr0 +/* 80333E20 00330A00 E0 EA 00 00 */ psq_l f7, 0x0(r10), 0, qr0 /* 80333E24 00330A04 11 02 18 2A */ ps_add f8, f2, f3 /* 80333E28 00330A08 11 42 18 28 */ ps_sub f10, f2, f3 /* 80333E2C 00330A0C 10 69 58 2A */ ps_add f3, f9, f11 -/* 80333E30 00330A10 E0 CA 00 80 */ psq_l f6, 128(r10), 0, qr0 +/* 80333E30 00330A10 E0 CA 00 80 */ psq_l f6, 0x80(r10), 0, qr0 /* 80333E34 00330A14 10 44 40 2A */ ps_add f2, f4, f8 /* 80333E38 00330A18 10 63 07 32 */ ps_mul f3, f3, f28 -/* 80333E3C 00330A1C E0 AA 00 40 */ psq_l f5, 64(r10), 0, qr0 +/* 80333E3C 00330A1C E0 AA 00 40 */ psq_l f5, 0x40(r10), 0, qr0 /* 80333E40 00330A20 10 04 40 28 */ ps_sub f0, f4, f8 /* 80333E44 00330A24 11 29 1F BA */ ps_madd f9, f9, f30, f3 -/* 80333E48 00330A28 E0 8A 00 C0 */ psq_l f4, 192(r10), 0, qr0 +/* 80333E48 00330A28 E0 8A 00 C0 */ psq_l f4, 0xc0(r10), 0, qr0 /* 80333E4C 00330A2C 11 29 40 28 */ ps_sub f9, f9, f8 -/* 80333E50 00330A30 38 E7 00 02 */ addi r7, r7, 2 -/* 80333E54 00330A34 F0 45 60 00 */ psq_st f2, 0(r5), 0, qr6 +/* 80333E50 00330A30 38 E7 00 02 */ addi r7, r7, 0x2 +/* 80333E54 00330A34 F0 45 60 00 */ psq_st f2, 0x0(r5), 0, qr6 /* 80333E58 00330A38 11 6B 1F 78 */ ps_msub f11, f11, f29, f3 /* 80333E5C 00330A3C 10 41 48 2A */ ps_add f2, f1, f9 /* 80333E60 00330A40 11 4A 4E F8 */ ps_msub f10, f10, f27, f9 /* 80333E64 00330A44 10 21 48 28 */ ps_sub f1, f1, f9 -/* 80333E68 00330A48 F0 45 60 08 */ psq_st f2, 8(r5), 0, qr6 +/* 80333E68 00330A48 F0 45 60 08 */ psq_st f2, 0x8(r5), 0, qr6 /* 80333E6C 00330A4C 10 6D 50 2A */ ps_add f3, f13, f10 /* 80333E70 00330A50 11 6B 50 2A */ ps_add f11, f11, f10 -/* 80333E74 00330A54 F0 65 60 10 */ psq_st f3, 16(r5), 0, qr6 -/* 80333E78 00330A58 38 C6 00 02 */ addi r6, r6, 2 +/* 80333E74 00330A54 F0 65 60 10 */ psq_st f3, 0x10(r5), 0, qr6 +/* 80333E78 00330A58 38 C6 00 02 */ addi r6, r6, 0x2 /* 80333E7C 00330A5C 10 4C 58 28 */ ps_sub f2, f12, f11 /* 80333E80 00330A60 10 6C 58 2A */ ps_add f3, f12, f11 -/* 80333E84 00330A64 F0 45 60 18 */ psq_st f2, 24(r5), 0, qr6 +/* 80333E84 00330A64 F0 45 60 18 */ psq_st f2, 0x18(r5), 0, qr6 /* 80333E88 00330A68 10 4D 50 28 */ ps_sub f2, f13, f10 /* 80333E8C 00330A6C 11 27 30 2A */ ps_add f9, f7, f6 -/* 80333E90 00330A70 F0 63 60 00 */ psq_st f3, 0(r3), 0, qr6 +/* 80333E90 00330A70 F0 63 60 00 */ psq_st f3, 0x0(r3), 0, qr6 /* 80333E94 00330A74 10 67 30 28 */ ps_sub f3, f7, f6 /* 80333E98 00330A78 11 29 F8 2A */ ps_add f9, f9, f31 -/* 80333E9C 00330A7C F0 43 60 08 */ psq_st f2, 8(r3), 0, qr6 +/* 80333E9C 00330A7C F0 43 60 08 */ psq_st f2, 0x8(r3), 0, qr6 /* 80333EA0 00330A80 11 05 20 2A */ ps_add f8, f5, f4 /* 80333EA4 00330A84 10 45 20 28 */ ps_sub f2, f5, f4 -/* 80333EA8 00330A88 F0 23 60 10 */ psq_st f1, 16(r3), 0, qr6 +/* 80333EA8 00330A88 F0 23 60 10 */ psq_st f1, 0x10(r3), 0, qr6 /* 80333EAC 00330A8C 7C A8 3A 14 */ add r5, r8, r7 /* 80333EB0 00330A90 10 89 40 2A */ ps_add f4, f9, f8 -/* 80333EB4 00330A94 F0 03 60 18 */ psq_st f0, 24(r3), 0, qr6 +/* 80333EB4 00330A94 F0 03 60 18 */ psq_st f0, 0x18(r3), 0, qr6 /* 80333EB8 00330A98 10 63 F8 2A */ ps_add f3, f3, f31 /* 80333EBC 00330A9C 7C 68 32 14 */ add r3, r8, r6 /* 80333EC0 00330AA0 42 00 FF 2C */ bdnz .L_80333DEC -/* 80333EC4 00330AA4 E1 6A 00 20 */ psq_l f11, 32(r10), 0, qr0 +/* 80333EC4 00330AA4 E1 6A 00 20 */ psq_l f11, 0x20(r10), 0, qr0 /* 80333EC8 00330AA8 10 42 46 F8 */ ps_msub f2, f2, f27, f8 -/* 80333ECC 00330AAC E1 4A 00 60 */ psq_l f10, 96(r10), 0, qr0 +/* 80333ECC 00330AAC E1 4A 00 60 */ psq_l f10, 0x60(r10), 0, qr0 /* 80333ED0 00330AB0 11 89 40 28 */ ps_sub f12, f9, f8 /* 80333ED4 00330AB4 10 23 10 2A */ ps_add f1, f3, f2 -/* 80333ED8 00330AB8 E1 2A 00 A0 */ psq_l f9, 160(r10), 0, qr0 +/* 80333ED8 00330AB8 E1 2A 00 A0 */ psq_l f9, 0xa0(r10), 0, qr0 /* 80333EDC 00330ABC 11 A3 10 28 */ ps_sub f13, f3, f2 -/* 80333EE0 00330AC0 E1 0A 00 E0 */ psq_l f8, 224(r10), 0, qr0 +/* 80333EE0 00330AC0 E1 0A 00 E0 */ psq_l f8, 0xe0(r10), 0, qr0 /* 80333EE4 00330AC4 10 69 50 2A */ ps_add f3, f9, f10 /* 80333EE8 00330AC8 11 29 50 28 */ ps_sub f9, f9, f10 /* 80333EEC 00330ACC 10 4B 40 2A */ ps_add f2, f11, f8 @@ -4949,59 +4991,59 @@ __THPDecompressiMCURowNxN: /* 80333F04 00330AE4 10 63 07 32 */ ps_mul f3, f3, f28 /* 80333F08 00330AE8 10 04 40 28 */ ps_sub f0, f4, f8 /* 80333F0C 00330AEC 11 29 1F BA */ ps_madd f9, f9, f30, f3 -/* 80333F10 00330AF0 F0 45 60 00 */ psq_st f2, 0(r5), 0, qr6 +/* 80333F10 00330AF0 F0 45 60 00 */ psq_st f2, 0x0(r5), 0, qr6 /* 80333F14 00330AF4 11 29 40 28 */ ps_sub f9, f9, f8 /* 80333F18 00330AF8 11 6B 1F 78 */ ps_msub f11, f11, f29, f3 -/* 80333F1C 00330AFC F0 03 60 18 */ psq_st f0, 24(r3), 0, qr6 +/* 80333F1C 00330AFC F0 03 60 18 */ psq_st f0, 0x18(r3), 0, qr6 /* 80333F20 00330B00 10 41 48 2A */ ps_add f2, f1, f9 /* 80333F24 00330B04 11 4A 4E F8 */ ps_msub f10, f10, f27, f9 /* 80333F28 00330B08 10 21 48 28 */ ps_sub f1, f1, f9 -/* 80333F2C 00330B0C F0 45 60 08 */ psq_st f2, 8(r5), 0, qr6 +/* 80333F2C 00330B0C F0 45 60 08 */ psq_st f2, 0x8(r5), 0, qr6 /* 80333F30 00330B10 10 6D 50 2A */ ps_add f3, f13, f10 /* 80333F34 00330B14 11 6B 50 2A */ ps_add f11, f11, f10 -/* 80333F38 00330B18 F0 65 60 10 */ psq_st f3, 16(r5), 0, qr6 +/* 80333F38 00330B18 F0 65 60 10 */ psq_st f3, 0x10(r5), 0, qr6 /* 80333F3C 00330B1C 10 4C 58 28 */ ps_sub f2, f12, f11 -/* 80333F40 00330B20 F0 23 60 10 */ psq_st f1, 16(r3), 0, qr6 +/* 80333F40 00330B20 F0 23 60 10 */ psq_st f1, 0x10(r3), 0, qr6 /* 80333F44 00330B24 10 6C 58 2A */ ps_add f3, f12, f11 -/* 80333F48 00330B28 F0 45 60 18 */ psq_st f2, 24(r5), 0, qr6 +/* 80333F48 00330B28 F0 45 60 18 */ psq_st f2, 0x18(r5), 0, qr6 /* 80333F4C 00330B2C 10 4D 50 28 */ ps_sub f2, f13, f10 -/* 80333F50 00330B30 F0 63 60 00 */ psq_st f3, 0(r3), 0, qr6 -/* 80333F54 00330B34 F0 43 60 08 */ psq_st f2, 8(r3), 0, qr6 -/* 80333F58 00330B38 80 1E 00 04 */ lwz r0, 4(r30) +/* 80333F50 00330B30 F0 63 60 00 */ psq_st f3, 0x0(r3), 0, qr6 +/* 80333F54 00330B34 F0 43 60 08 */ psq_st f2, 0x8(r3), 0, qr6 +/* 80333F58 00330B38 80 1E 00 04 */ lwz r0, 0x4(r30) /* 80333F5C 00330B3C 54 84 F8 7E */ srwi r4, r4, 1 -/* 80333F60 00330B40 90 0D BB 20 */ stw r0, Gbase@sda21(r13) -/* 80333F64 00330B44 39 3D FF F8 */ addi r9, r29, -8 -/* 80333F68 00330B48 93 ED BB 40 */ stw r31, Gwid@sda21(r13) +/* 80333F60 00330B40 90 0D BB 20 */ stw r0, Gbase@sda21(r0) +/* 80333F64 00330B44 39 3D FF F8 */ subi r9, r29, 0x8 +/* 80333F68 00330B48 93 ED BB 40 */ stw r31, Gwid@sda21(r0) /* 80333F6C 00330B4C 88 1A 08 67 */ lbz r0, 0x867(r26) /* 80333F70 00330B50 54 03 40 2E */ slwi r3, r0, 8 /* 80333F74 00330B54 38 03 04 38 */ addi r0, r3, 0x438 /* 80333F78 00330B58 7C 1A 02 14 */ add r0, r26, r0 -/* 80333F7C 00330B5C 90 0D BB 60 */ stw r0, Gq@sda21(r13) +/* 80333F7C 00330B5C 90 0D BB 60 */ stw r0, Gq@sda21(r0) /* 80333F80 00330B60 80 FA 00 20 */ lwz r7, 0x20(r26) -/* 80333F84 00330B64 80 CD BB 60 */ lwz r6, Gq@sda21(r13) -/* 80333F88 00330B68 38 00 00 08 */ li r0, 8 +/* 80333F84 00330B64 80 CD BB 60 */ lwz r6, Gq@sda21(r0) +/* 80333F88 00330B68 38 00 00 08 */ li r0, 0x8 /* 80333F8C 00330B6C 7C 09 03 A6 */ mtctr r0 .L_80333F90: -/* 80333F90 00330B70 E0 E7 50 00 */ psq_l f7, 0(r7), 0, qr5 -/* 80333F94 00330B74 E0 C6 00 00 */ psq_l f6, 0(r6), 0, qr0 +/* 80333F90 00330B70 E0 E7 50 00 */ psq_l f7, 0x0(r7), 0, qr5 +/* 80333F94 00330B74 E0 C6 00 00 */ psq_l f6, 0x0(r6), 0, qr0 /* 80333F98 00330B78 80 A7 00 0C */ lwz r5, 0xc(r7) -/* 80333F9C 00330B7C 80 07 00 08 */ lwz r0, 8(r7) +/* 80333F9C 00330B7C 80 07 00 08 */ lwz r0, 0x8(r7) /* 80333FA0 00330B80 10 E7 01 B2 */ ps_mul f7, f7, f6 -/* 80333FA4 00330B84 80 67 00 04 */ lwz r3, 4(r7) +/* 80333FA4 00330B84 80 67 00 04 */ lwz r3, 0x4(r7) .L_80333FA8: /* 80333FA8 00330B88 7C A5 03 79 */ or. r5, r5, r0 -/* 80333FAC 00330B8C A0 07 00 02 */ lhz r0, 2(r7) +/* 80333FAC 00330B8C A0 07 00 02 */ lhz r0, 0x2(r7) /* 80333FB0 00330B90 40 82 01 38 */ bne .L_803340E8 /* 80333FB4 00330B94 10 87 3C 20 */ ps_merge00 f4, f7, f7 -/* 80333FB8 00330B98 2C 03 00 00 */ cmpwi r3, 0 -/* 80333FBC 00330B9C F0 89 00 08 */ psq_st f4, 8(r9), 0, qr0 +/* 80333FB8 00330B98 2C 03 00 00 */ cmpwi r3, 0x0 +/* 80333FBC 00330B9C F0 89 00 08 */ psq_st f4, 0x8(r9), 0, qr0 /* 80333FC0 00330BA0 40 82 00 94 */ bne .L_80334054 -/* 80333FC4 00330BA4 F0 89 00 10 */ psq_st f4, 16(r9), 0, qr0 -/* 80333FC8 00330BA8 2C 00 00 00 */ cmpwi r0, 0 -/* 80333FCC 00330BAC F0 89 00 18 */ psq_st f4, 24(r9), 0, qr0 +/* 80333FC4 00330BA4 F0 89 00 10 */ psq_st f4, 0x10(r9), 0, qr0 +/* 80333FC8 00330BA8 2C 00 00 00 */ cmpwi r0, 0x0 +/* 80333FCC 00330BAC F0 89 00 18 */ psq_st f4, 0x18(r9), 0, qr0 /* 80333FD0 00330BB0 40 82 00 18 */ bne .L_80333FE8 /* 80333FD4 00330BB4 38 C6 00 20 */ addi r6, r6, 0x20 -/* 80333FD8 00330BB8 F4 89 00 20 */ psq_stu f4, 32(r9), 0, qr0 +/* 80333FD8 00330BB8 F4 89 00 20 */ psq_stu f4, 0x20(r9), 0, qr0 /* 80333FDC 00330BBC 38 E7 00 10 */ addi r7, r7, 0x10 /* 80333FE0 00330BC0 42 00 FF B0 */ bdnz .L_80333F90 /* 80333FE4 00330BC4 48 00 01 C4 */ b .L_803341A8 @@ -5010,32 +5052,32 @@ __THPDecompressiMCURowNxN: /* 80333FEC 00330BCC 11 A7 3F 38 */ ps_msub f13, f7, f28, f7 /* 80333FF0 00330BD0 38 C6 00 20 */ addi r6, r6, 0x20 /* 80333FF4 00330BD4 10 47 3C 20 */ ps_merge00 f2, f7, f7 -/* 80333FF8 00330BD8 80 67 00 04 */ lwz r3, 4(r7) +/* 80333FF8 00330BD8 80 67 00 04 */ lwz r3, 0x4(r7) /* 80333FFC 00330BDC 10 3C E8 28 */ ps_sub f1, f28, f29 /* 80334000 00330BE0 11 87 6E F8 */ ps_msub f12, f7, f27, f13 /* 80334004 00330BE4 11 47 6C E0 */ ps_merge11 f10, f7, f13 -/* 80334008 00330BE8 E0 C6 00 00 */ psq_l f6, 0(r6), 0, qr0 +/* 80334008 00330BE8 E0 C6 00 00 */ psq_l f6, 0x0(r6), 0, qr0 /* 8033400C 00330BEC 11 67 60 7C */ ps_nmsub f11, f7, f1, f12 /* 80334010 00330BF0 11 02 50 2A */ ps_add f8, f2, f10 -/* 80334014 00330BF4 E0 E7 50 00 */ psq_l f7, 0(r7), 0, qr5 +/* 80334014 00330BF4 E0 E7 50 00 */ psq_l f7, 0x0(r7), 0, qr5 /* 80334018 00330BF8 11 2C 5C E0 */ ps_merge11 f9, f12, f11 /* 8033401C 00330BFC 11 42 50 28 */ ps_sub f10, f2, f10 /* 80334020 00330C00 80 A7 00 0C */ lwz r5, 0xc(r7) /* 80334024 00330C04 10 62 48 2A */ ps_add f3, f2, f9 -/* 80334028 00330C08 80 07 00 08 */ lwz r0, 8(r7) +/* 80334028 00330C08 80 07 00 08 */ lwz r0, 0x8(r7) /* 8033402C 00330C0C 11 22 48 28 */ ps_sub f9, f2, f9 -/* 80334030 00330C10 F5 09 00 08 */ psq_stu f8, 8(r9), 0, qr0 +/* 80334030 00330C10 F5 09 00 08 */ psq_stu f8, 0x8(r9), 0, qr0 /* 80334034 00330C14 11 29 4C A0 */ ps_merge10 f9, f9, f9 -/* 80334038 00330C18 F4 69 00 08 */ psq_stu f3, 8(r9), 0, qr0 +/* 80334038 00330C18 F4 69 00 08 */ psq_stu f3, 0x8(r9), 0, qr0 /* 8033403C 00330C1C 11 4A 54 A0 */ ps_merge10 f10, f10, f10 -/* 80334040 00330C20 F5 29 00 08 */ psq_stu f9, 8(r9), 0, qr0 +/* 80334040 00330C20 F5 29 00 08 */ psq_stu f9, 0x8(r9), 0, qr0 /* 80334044 00330C24 10 E7 01 B2 */ ps_mul f7, f7, f6 -/* 80334048 00330C28 F5 49 00 08 */ psq_stu f10, 8(r9), 0, qr0 +/* 80334048 00330C28 F5 49 00 08 */ psq_stu f10, 0x8(r9), 0, qr0 /* 8033404C 00330C2C 42 00 FF 5C */ bdnz .L_80333FA8 /* 80334050 00330C30 48 00 01 58 */ b .L_803341A8 .L_80334054: -/* 80334054 00330C34 E0 27 50 04 */ psq_l f1, 4(r7), 0, qr5 -/* 80334058 00330C38 E0 46 00 08 */ psq_l f2, 8(r6), 0, qr0 +/* 80334054 00330C34 E0 27 50 04 */ psq_l f1, 0x4(r7), 0, qr5 +/* 80334058 00330C38 E0 46 00 08 */ psq_l f2, 0x8(r6), 0, qr0 /* 8033405C 00330C3C 38 E7 00 10 */ addi r7, r7, 0x10 /* 80334060 00330C40 10 21 00 B2 */ ps_mul f1, f1, f2 /* 80334064 00330C44 38 C6 00 20 */ addi r6, r6, 0x20 @@ -5046,41 +5088,41 @@ __THPDecompressiMCURowNxN: /* 80334078 00330C58 11 41 6E FC */ ps_nmsub f10, f1, f27, f13 /* 8033407C 00330C5C 10 6C 07 32 */ ps_mul f3, f12, f28 /* 80334080 00330C60 11 6D 5C 20 */ ps_merge00 f11, f13, f11 -/* 80334084 00330C64 80 07 00 08 */ lwz r0, 8(r7) +/* 80334084 00330C64 80 07 00 08 */ lwz r0, 0x8(r7) /* 80334088 00330C68 11 21 1F BC */ ps_nmsub f9, f1, f30, f3 /* 8033408C 00330C6C 11 4A 64 20 */ ps_merge00 f10, f10, f12 -/* 80334090 00330C70 80 67 00 04 */ lwz r3, 4(r7) +/* 80334090 00330C70 80 67 00 04 */ lwz r3, 0x4(r7) /* 80334094 00330C74 11 29 68 28 */ ps_sub f9, f9, f13 /* 80334098 00330C78 11 07 1F 7C */ ps_nmsub f8, f7, f29, f3 /* 8033409C 00330C7C 11 AD 4C E0 */ ps_merge11 f13, f13, f9 /* 803340A0 00330C80 10 6C 4E F8 */ ps_msub f3, f12, f27, f9 -/* 803340A4 00330C84 E0 E7 50 00 */ psq_l f7, 0(r7), 0, qr5 +/* 803340A4 00330C84 E0 E7 50 00 */ psq_l f7, 0x0(r7), 0, qr5 /* 803340A8 00330C88 10 4B 68 2A */ ps_add f2, f11, f13 /* 803340AC 00330C8C 11 08 18 28 */ ps_sub f8, f8, f3 -/* 803340B0 00330C90 E0 C6 00 00 */ psq_l f6, 0(r6), 0, qr0 +/* 803340B0 00330C90 E0 C6 00 00 */ psq_l f6, 0x0(r6), 0, qr0 /* 803340B4 00330C94 11 83 44 E0 */ ps_merge11 f12, f3, f8 /* 803340B8 00330C98 11 6B 68 28 */ ps_sub f11, f11, f13 -/* 803340BC 00330C9C F4 49 00 08 */ psq_stu f2, 8(r9), 0, qr0 +/* 803340BC 00330C9C F4 49 00 08 */ psq_stu f2, 0x8(r9), 0, qr0 /* 803340C0 00330CA0 10 8A 60 2A */ ps_add f4, f10, f12 /* 803340C4 00330CA4 10 2A 60 28 */ ps_sub f1, f10, f12 -/* 803340C8 00330CA8 F4 89 00 08 */ psq_stu f4, 8(r9), 0, qr0 +/* 803340C8 00330CA8 F4 89 00 08 */ psq_stu f4, 0x8(r9), 0, qr0 /* 803340CC 00330CAC 10 21 0C A0 */ ps_merge10 f1, f1, f1 /* 803340D0 00330CB0 11 6B 5C A0 */ ps_merge10 f11, f11, f11 -/* 803340D4 00330CB4 F4 29 00 08 */ psq_stu f1, 8(r9), 0, qr0 +/* 803340D4 00330CB4 F4 29 00 08 */ psq_stu f1, 0x8(r9), 0, qr0 /* 803340D8 00330CB8 10 E7 01 B2 */ ps_mul f7, f7, f6 -/* 803340DC 00330CBC F5 69 00 08 */ psq_stu f11, 8(r9), 0, qr0 +/* 803340DC 00330CBC F5 69 00 08 */ psq_stu f11, 0x8(r9), 0, qr0 /* 803340E0 00330CC0 42 00 FE C8 */ bdnz .L_80333FA8 /* 803340E4 00330CC4 48 00 00 C4 */ b .L_803341A8 .L_803340E8: -/* 803340E8 00330CC8 E0 47 50 04 */ psq_l f2, 4(r7), 0, qr5 -/* 803340EC 00330CCC E1 46 00 08 */ psq_l f10, 8(r6), 0, qr0 +/* 803340E8 00330CC8 E0 47 50 04 */ psq_l f2, 0x4(r7), 0, qr5 +/* 803340EC 00330CCC E1 46 00 08 */ psq_l f10, 0x8(r6), 0, qr0 /* 803340F0 00330CD0 10 42 02 B2 */ ps_mul f2, f2, f10 -/* 803340F4 00330CD4 E1 A7 50 08 */ psq_l f13, 8(r7), 0, qr5 -/* 803340F8 00330CD8 E1 26 00 10 */ psq_l f9, 16(r6), 0, qr0 +/* 803340F4 00330CD4 E1 A7 50 08 */ psq_l f13, 0x8(r7), 0, qr5 +/* 803340F8 00330CD8 E1 26 00 10 */ psq_l f9, 0x10(r6), 0, qr0 /* 803340FC 00330CDC 10 87 14 60 */ ps_merge01 f4, f7, f2 -/* 80334100 00330CE0 E1 87 50 0C */ psq_l f12, 12(r7), 0, qr5 +/* 80334100 00330CE0 E1 87 50 0C */ psq_l f12, 0xc(r7), 0, qr5 /* 80334104 00330CE4 10 22 3C 60 */ ps_merge01 f1, f2, f7 -/* 80334108 00330CE8 E1 06 00 18 */ psq_l f8, 24(r6), 0, qr0 +/* 80334108 00330CE8 E1 06 00 18 */ psq_l f8, 0x18(r6), 0, qr0 /* 8033410C 00330CEC 38 E7 00 10 */ addi r7, r7, 0x10 /* 80334110 00330CF0 11 6D 22 7A */ ps_madd f11, f13, f9, f4 /* 80334114 00330CF4 11 4D 22 7C */ ps_nmsub f10, f13, f9, f4 @@ -5095,47 +5137,47 @@ __THPDecompressiMCURowNxN: /* 80334138 00330D18 10 2A 68 2A */ ps_add f1, f10, f13 /* 8033413C 00330D1C 11 AA 68 28 */ ps_sub f13, f10, f13 /* 80334140 00330D20 10 63 07 32 */ ps_mul f3, f3, f28 -/* 80334144 00330D24 80 07 00 08 */ lwz r0, 8(r7) +/* 80334144 00330D24 80 07 00 08 */ lwz r0, 0x8(r7) /* 80334148 00330D28 10 24 0C 20 */ ps_merge00 f1, f4, f1 /* 8033414C 00330D2C 11 2A 1F BC */ ps_nmsub f9, f10, f30, f3 /* 80334150 00330D30 11 68 1F 78 */ ps_msub f11, f8, f29, f3 -/* 80334154 00330D34 80 67 00 04 */ lwz r3, 4(r7) +/* 80334154 00330D34 80 67 00 04 */ lwz r3, 0x4(r7) /* 80334158 00330D38 11 29 20 28 */ ps_sub f9, f9, f4 /* 8033415C 00330D3C 11 AD 64 20 */ ps_merge00 f13, f13, f12 /* 80334160 00330D40 11 4C 4E FA */ ps_madd f10, f12, f27, f9 /* 80334164 00330D44 11 04 4C E0 */ ps_merge11 f8, f4, f9 -/* 80334168 00330D48 E0 E7 50 00 */ psq_l f7, 0(r7), 0, qr5 +/* 80334168 00330D48 E0 E7 50 00 */ psq_l f7, 0x0(r7), 0, qr5 /* 8033416C 00330D4C 11 6B 50 28 */ ps_sub f11, f11, f10 /* 80334170 00330D50 11 81 40 2A */ ps_add f12, f1, f8 -/* 80334174 00330D54 E0 C6 00 00 */ psq_l f6, 0(r6), 0, qr0 +/* 80334174 00330D54 E0 C6 00 00 */ psq_l f6, 0x0(r6), 0, qr0 /* 80334178 00330D58 11 6A 5C E0 */ ps_merge11 f11, f10, f11 /* 8033417C 00330D5C 10 81 40 28 */ ps_sub f4, f1, f8 /* 80334180 00330D60 10 E7 01 B2 */ ps_mul f7, f7, f6 /* 80334184 00330D64 11 4D 58 2A */ ps_add f10, f13, f11 /* 80334188 00330D68 11 2D 58 28 */ ps_sub f9, f13, f11 /* 8033418C 00330D6C 11 4A 54 A0 */ ps_merge10 f10, f10, f10 -/* 80334190 00330D70 F5 89 00 08 */ psq_stu f12, 8(r9), 0, qr0 +/* 80334190 00330D70 F5 89 00 08 */ psq_stu f12, 0x8(r9), 0, qr0 /* 80334194 00330D74 10 84 24 A0 */ ps_merge10 f4, f4, f4 -/* 80334198 00330D78 F5 29 00 08 */ psq_stu f9, 8(r9), 0, qr0 -/* 8033419C 00330D7C F5 49 00 08 */ psq_stu f10, 8(r9), 0, qr0 -/* 803341A0 00330D80 F4 89 00 08 */ psq_stu f4, 8(r9), 0, qr0 +/* 80334198 00330D78 F5 29 00 08 */ psq_stu f9, 0x8(r9), 0, qr0 +/* 8033419C 00330D7C F5 49 00 08 */ psq_stu f10, 0x8(r9), 0, qr0 +/* 803341A0 00330D80 F4 89 00 08 */ psq_stu f4, 0x8(r9), 0, qr0 /* 803341A4 00330D84 42 00 FE 04 */ bdnz .L_80333FA8 .L_803341A8: -/* 803341A8 00330D88 81 0D BB 20 */ lwz r8, Gbase@sda21(r13) +/* 803341A8 00330D88 81 0D BB 20 */ lwz r8, Gbase@sda21(r0) /* 803341AC 00330D8C 7F A9 EB 78 */ mr r9, r29 -/* 803341B0 00330D90 80 0D BB 40 */ lwz r0, Gwid@sda21(r13) -/* 803341B4 00330D94 E0 E9 00 00 */ psq_l f7, 0(r9), 0, qr0 +/* 803341B0 00330D90 80 0D BB 40 */ lwz r0, Gwid@sda21(r0) +/* 803341B4 00330D94 E0 E9 00 00 */ psq_l f7, 0x0(r9), 0, qr0 /* 803341B8 00330D98 54 83 10 3A */ slwi r3, r4, 2 -/* 803341BC 00330D9C E0 C9 00 80 */ psq_l f6, 128(r9), 0, qr0 +/* 803341BC 00330D9C E0 C9 00 80 */ psq_l f6, 0x80(r9), 0, qr0 /* 803341C0 00330DA0 54 06 10 3A */ slwi r6, r0, 2 -/* 803341C4 00330DA4 E0 A9 00 40 */ psq_l f5, 64(r9), 0, qr0 +/* 803341C4 00330DA4 E0 A9 00 40 */ psq_l f5, 0x40(r9), 0, qr0 /* 803341C8 00330DA8 7C 67 1B 78 */ mr r7, r3 /* 803341CC 00330DAC 11 27 30 2A */ ps_add f9, f7, f6 -/* 803341D0 00330DB0 E0 89 00 C0 */ psq_l f4, 192(r9), 0, qr0 +/* 803341D0 00330DB0 E0 89 00 C0 */ psq_l f4, 0xc0(r9), 0, qr0 /* 803341D4 00330DB4 10 67 30 28 */ ps_sub f3, f7, f6 /* 803341D8 00330DB8 7C C7 32 14 */ add r6, r7, r6 /* 803341DC 00330DBC 11 29 F8 2A */ ps_add f9, f9, f31 -/* 803341E0 00330DC0 38 00 00 03 */ li r0, 3 +/* 803341E0 00330DC0 38 00 00 03 */ li r0, 0x3 /* 803341E4 00330DC4 11 05 20 2A */ ps_add f8, f5, f4 /* 803341E8 00330DC8 7C A8 3A 14 */ add r5, r8, r7 /* 803341EC 00330DCC 10 45 20 28 */ ps_sub f2, f5, f4 @@ -5144,68 +5186,68 @@ __THPDecompressiMCURowNxN: /* 803341F8 00330DD8 10 63 F8 2A */ ps_add f3, f3, f31 /* 803341FC 00330DDC 7C 09 03 A6 */ mtctr r0 .L_80334200: -/* 80334200 00330DE0 E1 69 00 20 */ psq_l f11, 32(r9), 0, qr0 +/* 80334200 00330DE0 E1 69 00 20 */ psq_l f11, 0x20(r9), 0, qr0 /* 80334204 00330DE4 10 42 46 F8 */ ps_msub f2, f2, f27, f8 -/* 80334208 00330DE8 E1 49 00 60 */ psq_l f10, 96(r9), 0, qr0 +/* 80334208 00330DE8 E1 49 00 60 */ psq_l f10, 0x60(r9), 0, qr0 /* 8033420C 00330DEC 11 89 40 28 */ ps_sub f12, f9, f8 /* 80334210 00330DF0 10 23 10 2A */ ps_add f1, f3, f2 -/* 80334214 00330DF4 E1 29 00 A0 */ psq_l f9, 160(r9), 0, qr0 +/* 80334214 00330DF4 E1 29 00 A0 */ psq_l f9, 0xa0(r9), 0, qr0 /* 80334218 00330DF8 11 A3 10 28 */ ps_sub f13, f3, f2 -/* 8033421C 00330DFC E1 09 00 E0 */ psq_l f8, 224(r9), 0, qr0 +/* 8033421C 00330DFC E1 09 00 E0 */ psq_l f8, 0xe0(r9), 0, qr0 /* 80334220 00330E00 10 69 50 2A */ ps_add f3, f9, f10 /* 80334224 00330E04 11 29 50 28 */ ps_sub f9, f9, f10 -/* 80334228 00330E08 39 29 00 08 */ addi r9, r9, 8 +/* 80334228 00330E08 39 29 00 08 */ addi r9, r9, 0x8 /* 8033422C 00330E0C 10 4B 40 2A */ ps_add f2, f11, f8 /* 80334230 00330E10 11 6B 40 28 */ ps_sub f11, f11, f8 -/* 80334234 00330E14 E0 E9 00 00 */ psq_l f7, 0(r9), 0, qr0 +/* 80334234 00330E14 E0 E9 00 00 */ psq_l f7, 0x0(r9), 0, qr0 /* 80334238 00330E18 11 02 18 2A */ ps_add f8, f2, f3 /* 8033423C 00330E1C 11 42 18 28 */ ps_sub f10, f2, f3 /* 80334240 00330E20 10 69 58 2A */ ps_add f3, f9, f11 -/* 80334244 00330E24 E0 C9 00 80 */ psq_l f6, 128(r9), 0, qr0 +/* 80334244 00330E24 E0 C9 00 80 */ psq_l f6, 0x80(r9), 0, qr0 /* 80334248 00330E28 10 44 40 2A */ ps_add f2, f4, f8 /* 8033424C 00330E2C 10 63 07 32 */ ps_mul f3, f3, f28 -/* 80334250 00330E30 E0 A9 00 40 */ psq_l f5, 64(r9), 0, qr0 +/* 80334250 00330E30 E0 A9 00 40 */ psq_l f5, 0x40(r9), 0, qr0 /* 80334254 00330E34 10 04 40 28 */ ps_sub f0, f4, f8 /* 80334258 00330E38 11 29 1F BA */ ps_madd f9, f9, f30, f3 -/* 8033425C 00330E3C E0 89 00 C0 */ psq_l f4, 192(r9), 0, qr0 +/* 8033425C 00330E3C E0 89 00 C0 */ psq_l f4, 0xc0(r9), 0, qr0 /* 80334260 00330E40 11 29 40 28 */ ps_sub f9, f9, f8 -/* 80334264 00330E44 38 E7 00 02 */ addi r7, r7, 2 -/* 80334268 00330E48 F0 45 60 00 */ psq_st f2, 0(r5), 0, qr6 +/* 80334264 00330E44 38 E7 00 02 */ addi r7, r7, 0x2 +/* 80334268 00330E48 F0 45 60 00 */ psq_st f2, 0x0(r5), 0, qr6 /* 8033426C 00330E4C 11 6B 1F 78 */ ps_msub f11, f11, f29, f3 /* 80334270 00330E50 10 41 48 2A */ ps_add f2, f1, f9 /* 80334274 00330E54 11 4A 4E F8 */ ps_msub f10, f10, f27, f9 /* 80334278 00330E58 10 21 48 28 */ ps_sub f1, f1, f9 -/* 8033427C 00330E5C F0 45 60 08 */ psq_st f2, 8(r5), 0, qr6 +/* 8033427C 00330E5C F0 45 60 08 */ psq_st f2, 0x8(r5), 0, qr6 /* 80334280 00330E60 10 6D 50 2A */ ps_add f3, f13, f10 /* 80334284 00330E64 11 6B 50 2A */ ps_add f11, f11, f10 -/* 80334288 00330E68 F0 65 60 10 */ psq_st f3, 16(r5), 0, qr6 -/* 8033428C 00330E6C 38 C6 00 02 */ addi r6, r6, 2 +/* 80334288 00330E68 F0 65 60 10 */ psq_st f3, 0x10(r5), 0, qr6 +/* 8033428C 00330E6C 38 C6 00 02 */ addi r6, r6, 0x2 /* 80334290 00330E70 10 4C 58 28 */ ps_sub f2, f12, f11 /* 80334294 00330E74 10 6C 58 2A */ ps_add f3, f12, f11 -/* 80334298 00330E78 F0 45 60 18 */ psq_st f2, 24(r5), 0, qr6 +/* 80334298 00330E78 F0 45 60 18 */ psq_st f2, 0x18(r5), 0, qr6 /* 8033429C 00330E7C 10 4D 50 28 */ ps_sub f2, f13, f10 /* 803342A0 00330E80 11 27 30 2A */ ps_add f9, f7, f6 -/* 803342A4 00330E84 F0 63 60 00 */ psq_st f3, 0(r3), 0, qr6 +/* 803342A4 00330E84 F0 63 60 00 */ psq_st f3, 0x0(r3), 0, qr6 /* 803342A8 00330E88 10 67 30 28 */ ps_sub f3, f7, f6 /* 803342AC 00330E8C 11 29 F8 2A */ ps_add f9, f9, f31 -/* 803342B0 00330E90 F0 43 60 08 */ psq_st f2, 8(r3), 0, qr6 +/* 803342B0 00330E90 F0 43 60 08 */ psq_st f2, 0x8(r3), 0, qr6 /* 803342B4 00330E94 11 05 20 2A */ ps_add f8, f5, f4 /* 803342B8 00330E98 10 45 20 28 */ ps_sub f2, f5, f4 -/* 803342BC 00330E9C F0 23 60 10 */ psq_st f1, 16(r3), 0, qr6 +/* 803342BC 00330E9C F0 23 60 10 */ psq_st f1, 0x10(r3), 0, qr6 /* 803342C0 00330EA0 7C A8 3A 14 */ add r5, r8, r7 /* 803342C4 00330EA4 10 89 40 2A */ ps_add f4, f9, f8 -/* 803342C8 00330EA8 F0 03 60 18 */ psq_st f0, 24(r3), 0, qr6 +/* 803342C8 00330EA8 F0 03 60 18 */ psq_st f0, 0x18(r3), 0, qr6 /* 803342CC 00330EAC 10 63 F8 2A */ ps_add f3, f3, f31 /* 803342D0 00330EB0 7C 68 32 14 */ add r3, r8, r6 /* 803342D4 00330EB4 42 00 FF 2C */ bdnz .L_80334200 -/* 803342D8 00330EB8 E1 69 00 20 */ psq_l f11, 32(r9), 0, qr0 +/* 803342D8 00330EB8 E1 69 00 20 */ psq_l f11, 0x20(r9), 0, qr0 /* 803342DC 00330EBC 10 42 46 F8 */ ps_msub f2, f2, f27, f8 -/* 803342E0 00330EC0 E1 49 00 60 */ psq_l f10, 96(r9), 0, qr0 +/* 803342E0 00330EC0 E1 49 00 60 */ psq_l f10, 0x60(r9), 0, qr0 /* 803342E4 00330EC4 11 89 40 28 */ ps_sub f12, f9, f8 /* 803342E8 00330EC8 10 23 10 2A */ ps_add f1, f3, f2 -/* 803342EC 00330ECC E1 29 00 A0 */ psq_l f9, 160(r9), 0, qr0 +/* 803342EC 00330ECC E1 29 00 A0 */ psq_l f9, 0xa0(r9), 0, qr0 /* 803342F0 00330ED0 11 A3 10 28 */ ps_sub f13, f3, f2 -/* 803342F4 00330ED4 E1 09 00 E0 */ psq_l f8, 224(r9), 0, qr0 +/* 803342F4 00330ED4 E1 09 00 E0 */ psq_l f8, 0xe0(r9), 0, qr0 /* 803342F8 00330ED8 10 69 50 2A */ ps_add f3, f9, f10 /* 803342FC 00330EDC 11 29 50 28 */ ps_sub f9, f9, f10 /* 80334300 00330EE0 10 4B 40 2A */ ps_add f2, f11, f8 @@ -5217,57 +5259,57 @@ __THPDecompressiMCURowNxN: /* 80334318 00330EF8 10 63 07 32 */ ps_mul f3, f3, f28 /* 8033431C 00330EFC 10 04 40 28 */ ps_sub f0, f4, f8 /* 80334320 00330F00 11 29 1F BA */ ps_madd f9, f9, f30, f3 -/* 80334324 00330F04 F0 45 60 00 */ psq_st f2, 0(r5), 0, qr6 +/* 80334324 00330F04 F0 45 60 00 */ psq_st f2, 0x0(r5), 0, qr6 /* 80334328 00330F08 11 29 40 28 */ ps_sub f9, f9, f8 /* 8033432C 00330F0C 11 6B 1F 78 */ ps_msub f11, f11, f29, f3 -/* 80334330 00330F10 F0 03 60 18 */ psq_st f0, 24(r3), 0, qr6 +/* 80334330 00330F10 F0 03 60 18 */ psq_st f0, 0x18(r3), 0, qr6 /* 80334334 00330F14 10 41 48 2A */ ps_add f2, f1, f9 /* 80334338 00330F18 11 4A 4E F8 */ ps_msub f10, f10, f27, f9 /* 8033433C 00330F1C 10 21 48 28 */ ps_sub f1, f1, f9 -/* 80334340 00330F20 F0 45 60 08 */ psq_st f2, 8(r5), 0, qr6 +/* 80334340 00330F20 F0 45 60 08 */ psq_st f2, 0x8(r5), 0, qr6 /* 80334344 00330F24 10 6D 50 2A */ ps_add f3, f13, f10 /* 80334348 00330F28 11 6B 50 2A */ ps_add f11, f11, f10 -/* 8033434C 00330F2C F0 23 60 10 */ psq_st f1, 16(r3), 0, qr6 -/* 80334350 00330F30 F0 65 60 10 */ psq_st f3, 16(r5), 0, qr6 +/* 8033434C 00330F2C F0 23 60 10 */ psq_st f1, 0x10(r3), 0, qr6 +/* 80334350 00330F30 F0 65 60 10 */ psq_st f3, 0x10(r5), 0, qr6 /* 80334354 00330F34 10 4C 58 28 */ ps_sub f2, f12, f11 /* 80334358 00330F38 10 6C 58 2A */ ps_add f3, f12, f11 -/* 8033435C 00330F3C F0 45 60 18 */ psq_st f2, 24(r5), 0, qr6 +/* 8033435C 00330F3C F0 45 60 18 */ psq_st f2, 0x18(r5), 0, qr6 /* 80334360 00330F40 10 4D 50 28 */ ps_sub f2, f13, f10 -/* 80334364 00330F44 F0 63 60 00 */ psq_st f3, 0(r3), 0, qr6 -/* 80334368 00330F48 F0 43 60 08 */ psq_st f2, 8(r3), 0, qr6 -/* 8033436C 00330F4C 80 1E 00 08 */ lwz r0, 8(r30) -/* 80334370 00330F50 39 1D FF F8 */ addi r8, r29, -8 -/* 80334374 00330F54 90 0D BB 20 */ stw r0, Gbase@sda21(r13) +/* 80334364 00330F44 F0 63 60 00 */ psq_st f3, 0x0(r3), 0, qr6 +/* 80334368 00330F48 F0 43 60 08 */ psq_st f2, 0x8(r3), 0, qr6 +/* 8033436C 00330F4C 80 1E 00 08 */ lwz r0, 0x8(r30) +/* 80334370 00330F50 39 1D FF F8 */ subi r8, r29, 0x8 +/* 80334374 00330F54 90 0D BB 20 */ stw r0, Gbase@sda21(r0) /* 80334378 00330F58 88 1A 08 93 */ lbz r0, 0x893(r26) /* 8033437C 00330F5C 54 05 40 2E */ slwi r5, r0, 8 /* 80334380 00330F60 38 05 04 38 */ addi r0, r5, 0x438 /* 80334384 00330F64 7C 1A 02 14 */ add r0, r26, r0 -/* 80334388 00330F68 90 0D BB 60 */ stw r0, Gq@sda21(r13) +/* 80334388 00330F68 90 0D BB 60 */ stw r0, Gq@sda21(r0) /* 8033438C 00330F6C 80 FA 00 24 */ lwz r7, 0x24(r26) -/* 80334390 00330F70 80 CD BB 60 */ lwz r6, Gq@sda21(r13) -/* 80334394 00330F74 38 00 00 08 */ li r0, 8 +/* 80334390 00330F70 80 CD BB 60 */ lwz r6, Gq@sda21(r0) +/* 80334394 00330F74 38 00 00 08 */ li r0, 0x8 /* 80334398 00330F78 7C 09 03 A6 */ mtctr r0 .L_8033439C: -/* 8033439C 00330F7C E0 E7 50 00 */ psq_l f7, 0(r7), 0, qr5 -/* 803343A0 00330F80 E0 C6 00 00 */ psq_l f6, 0(r6), 0, qr0 +/* 8033439C 00330F7C E0 E7 50 00 */ psq_l f7, 0x0(r7), 0, qr5 +/* 803343A0 00330F80 E0 C6 00 00 */ psq_l f6, 0x0(r6), 0, qr0 /* 803343A4 00330F84 80 A7 00 0C */ lwz r5, 0xc(r7) -/* 803343A8 00330F88 80 07 00 08 */ lwz r0, 8(r7) +/* 803343A8 00330F88 80 07 00 08 */ lwz r0, 0x8(r7) /* 803343AC 00330F8C 10 E7 01 B2 */ ps_mul f7, f7, f6 -/* 803343B0 00330F90 80 67 00 04 */ lwz r3, 4(r7) +/* 803343B0 00330F90 80 67 00 04 */ lwz r3, 0x4(r7) .L_803343B4: /* 803343B4 00330F94 7C A5 03 79 */ or. r5, r5, r0 -/* 803343B8 00330F98 A0 07 00 02 */ lhz r0, 2(r7) +/* 803343B8 00330F98 A0 07 00 02 */ lhz r0, 0x2(r7) /* 803343BC 00330F9C 40 82 01 38 */ bne .L_803344F4 /* 803343C0 00330FA0 10 87 3C 20 */ ps_merge00 f4, f7, f7 -/* 803343C4 00330FA4 2C 03 00 00 */ cmpwi r3, 0 -/* 803343C8 00330FA8 F0 88 00 08 */ psq_st f4, 8(r8), 0, qr0 +/* 803343C4 00330FA4 2C 03 00 00 */ cmpwi r3, 0x0 +/* 803343C8 00330FA8 F0 88 00 08 */ psq_st f4, 0x8(r8), 0, qr0 /* 803343CC 00330FAC 40 82 00 94 */ bne .L_80334460 -/* 803343D0 00330FB0 F0 88 00 10 */ psq_st f4, 16(r8), 0, qr0 -/* 803343D4 00330FB4 2C 00 00 00 */ cmpwi r0, 0 -/* 803343D8 00330FB8 F0 88 00 18 */ psq_st f4, 24(r8), 0, qr0 +/* 803343D0 00330FB0 F0 88 00 10 */ psq_st f4, 0x10(r8), 0, qr0 +/* 803343D4 00330FB4 2C 00 00 00 */ cmpwi r0, 0x0 +/* 803343D8 00330FB8 F0 88 00 18 */ psq_st f4, 0x18(r8), 0, qr0 /* 803343DC 00330FBC 40 82 00 18 */ bne .L_803343F4 /* 803343E0 00330FC0 38 C6 00 20 */ addi r6, r6, 0x20 -/* 803343E4 00330FC4 F4 88 00 20 */ psq_stu f4, 32(r8), 0, qr0 +/* 803343E4 00330FC4 F4 88 00 20 */ psq_stu f4, 0x20(r8), 0, qr0 /* 803343E8 00330FC8 38 E7 00 10 */ addi r7, r7, 0x10 /* 803343EC 00330FCC 42 00 FF B0 */ bdnz .L_8033439C /* 803343F0 00330FD0 48 00 01 C4 */ b .L_803345B4 @@ -5276,32 +5318,32 @@ __THPDecompressiMCURowNxN: /* 803343F8 00330FD8 11 A7 3F 38 */ ps_msub f13, f7, f28, f7 /* 803343FC 00330FDC 38 C6 00 20 */ addi r6, r6, 0x20 /* 80334400 00330FE0 10 47 3C 20 */ ps_merge00 f2, f7, f7 -/* 80334404 00330FE4 80 67 00 04 */ lwz r3, 4(r7) +/* 80334404 00330FE4 80 67 00 04 */ lwz r3, 0x4(r7) /* 80334408 00330FE8 10 3C E8 28 */ ps_sub f1, f28, f29 /* 8033440C 00330FEC 11 87 6E F8 */ ps_msub f12, f7, f27, f13 /* 80334410 00330FF0 11 47 6C E0 */ ps_merge11 f10, f7, f13 -/* 80334414 00330FF4 E0 C6 00 00 */ psq_l f6, 0(r6), 0, qr0 +/* 80334414 00330FF4 E0 C6 00 00 */ psq_l f6, 0x0(r6), 0, qr0 /* 80334418 00330FF8 11 67 60 7C */ ps_nmsub f11, f7, f1, f12 /* 8033441C 00330FFC 11 02 50 2A */ ps_add f8, f2, f10 -/* 80334420 00331000 E0 E7 50 00 */ psq_l f7, 0(r7), 0, qr5 +/* 80334420 00331000 E0 E7 50 00 */ psq_l f7, 0x0(r7), 0, qr5 /* 80334424 00331004 11 2C 5C E0 */ ps_merge11 f9, f12, f11 /* 80334428 00331008 11 42 50 28 */ ps_sub f10, f2, f10 /* 8033442C 0033100C 80 A7 00 0C */ lwz r5, 0xc(r7) /* 80334430 00331010 10 62 48 2A */ ps_add f3, f2, f9 -/* 80334434 00331014 80 07 00 08 */ lwz r0, 8(r7) +/* 80334434 00331014 80 07 00 08 */ lwz r0, 0x8(r7) /* 80334438 00331018 11 22 48 28 */ ps_sub f9, f2, f9 -/* 8033443C 0033101C F5 08 00 08 */ psq_stu f8, 8(r8), 0, qr0 +/* 8033443C 0033101C F5 08 00 08 */ psq_stu f8, 0x8(r8), 0, qr0 /* 80334440 00331020 11 29 4C A0 */ ps_merge10 f9, f9, f9 -/* 80334444 00331024 F4 68 00 08 */ psq_stu f3, 8(r8), 0, qr0 +/* 80334444 00331024 F4 68 00 08 */ psq_stu f3, 0x8(r8), 0, qr0 /* 80334448 00331028 11 4A 54 A0 */ ps_merge10 f10, f10, f10 -/* 8033444C 0033102C F5 28 00 08 */ psq_stu f9, 8(r8), 0, qr0 +/* 8033444C 0033102C F5 28 00 08 */ psq_stu f9, 0x8(r8), 0, qr0 /* 80334450 00331030 10 E7 01 B2 */ ps_mul f7, f7, f6 -/* 80334454 00331034 F5 48 00 08 */ psq_stu f10, 8(r8), 0, qr0 +/* 80334454 00331034 F5 48 00 08 */ psq_stu f10, 0x8(r8), 0, qr0 /* 80334458 00331038 42 00 FF 5C */ bdnz .L_803343B4 /* 8033445C 0033103C 48 00 01 58 */ b .L_803345B4 .L_80334460: -/* 80334460 00331040 E0 27 50 04 */ psq_l f1, 4(r7), 0, qr5 -/* 80334464 00331044 E0 46 00 08 */ psq_l f2, 8(r6), 0, qr0 +/* 80334460 00331040 E0 27 50 04 */ psq_l f1, 0x4(r7), 0, qr5 +/* 80334464 00331044 E0 46 00 08 */ psq_l f2, 0x8(r6), 0, qr0 /* 80334468 00331048 38 E7 00 10 */ addi r7, r7, 0x10 /* 8033446C 0033104C 10 21 00 B2 */ ps_mul f1, f1, f2 /* 80334470 00331050 38 C6 00 20 */ addi r6, r6, 0x20 @@ -5312,41 +5354,41 @@ __THPDecompressiMCURowNxN: /* 80334484 00331064 11 41 6E FC */ ps_nmsub f10, f1, f27, f13 /* 80334488 00331068 10 6C 07 32 */ ps_mul f3, f12, f28 /* 8033448C 0033106C 11 6D 5C 20 */ ps_merge00 f11, f13, f11 -/* 80334490 00331070 80 07 00 08 */ lwz r0, 8(r7) +/* 80334490 00331070 80 07 00 08 */ lwz r0, 0x8(r7) /* 80334494 00331074 11 21 1F BC */ ps_nmsub f9, f1, f30, f3 /* 80334498 00331078 11 4A 64 20 */ ps_merge00 f10, f10, f12 -/* 8033449C 0033107C 80 67 00 04 */ lwz r3, 4(r7) +/* 8033449C 0033107C 80 67 00 04 */ lwz r3, 0x4(r7) /* 803344A0 00331080 11 29 68 28 */ ps_sub f9, f9, f13 /* 803344A4 00331084 11 07 1F 7C */ ps_nmsub f8, f7, f29, f3 /* 803344A8 00331088 11 AD 4C E0 */ ps_merge11 f13, f13, f9 /* 803344AC 0033108C 10 6C 4E F8 */ ps_msub f3, f12, f27, f9 -/* 803344B0 00331090 E0 E7 50 00 */ psq_l f7, 0(r7), 0, qr5 +/* 803344B0 00331090 E0 E7 50 00 */ psq_l f7, 0x0(r7), 0, qr5 /* 803344B4 00331094 10 4B 68 2A */ ps_add f2, f11, f13 /* 803344B8 00331098 11 08 18 28 */ ps_sub f8, f8, f3 -/* 803344BC 0033109C E0 C6 00 00 */ psq_l f6, 0(r6), 0, qr0 +/* 803344BC 0033109C E0 C6 00 00 */ psq_l f6, 0x0(r6), 0, qr0 /* 803344C0 003310A0 11 83 44 E0 */ ps_merge11 f12, f3, f8 /* 803344C4 003310A4 11 6B 68 28 */ ps_sub f11, f11, f13 -/* 803344C8 003310A8 F4 48 00 08 */ psq_stu f2, 8(r8), 0, qr0 +/* 803344C8 003310A8 F4 48 00 08 */ psq_stu f2, 0x8(r8), 0, qr0 /* 803344CC 003310AC 10 8A 60 2A */ ps_add f4, f10, f12 /* 803344D0 003310B0 10 2A 60 28 */ ps_sub f1, f10, f12 -/* 803344D4 003310B4 F4 88 00 08 */ psq_stu f4, 8(r8), 0, qr0 +/* 803344D4 003310B4 F4 88 00 08 */ psq_stu f4, 0x8(r8), 0, qr0 /* 803344D8 003310B8 10 21 0C A0 */ ps_merge10 f1, f1, f1 /* 803344DC 003310BC 11 6B 5C A0 */ ps_merge10 f11, f11, f11 -/* 803344E0 003310C0 F4 28 00 08 */ psq_stu f1, 8(r8), 0, qr0 +/* 803344E0 003310C0 F4 28 00 08 */ psq_stu f1, 0x8(r8), 0, qr0 /* 803344E4 003310C4 10 E7 01 B2 */ ps_mul f7, f7, f6 -/* 803344E8 003310C8 F5 68 00 08 */ psq_stu f11, 8(r8), 0, qr0 +/* 803344E8 003310C8 F5 68 00 08 */ psq_stu f11, 0x8(r8), 0, qr0 /* 803344EC 003310CC 42 00 FE C8 */ bdnz .L_803343B4 /* 803344F0 003310D0 48 00 00 C4 */ b .L_803345B4 .L_803344F4: -/* 803344F4 003310D4 E0 47 50 04 */ psq_l f2, 4(r7), 0, qr5 -/* 803344F8 003310D8 E1 46 00 08 */ psq_l f10, 8(r6), 0, qr0 +/* 803344F4 003310D4 E0 47 50 04 */ psq_l f2, 0x4(r7), 0, qr5 +/* 803344F8 003310D8 E1 46 00 08 */ psq_l f10, 0x8(r6), 0, qr0 /* 803344FC 003310DC 10 42 02 B2 */ ps_mul f2, f2, f10 -/* 80334500 003310E0 E1 A7 50 08 */ psq_l f13, 8(r7), 0, qr5 -/* 80334504 003310E4 E1 26 00 10 */ psq_l f9, 16(r6), 0, qr0 +/* 80334500 003310E0 E1 A7 50 08 */ psq_l f13, 0x8(r7), 0, qr5 +/* 80334504 003310E4 E1 26 00 10 */ psq_l f9, 0x10(r6), 0, qr0 /* 80334508 003310E8 10 87 14 60 */ ps_merge01 f4, f7, f2 -/* 8033450C 003310EC E1 87 50 0C */ psq_l f12, 12(r7), 0, qr5 +/* 8033450C 003310EC E1 87 50 0C */ psq_l f12, 0xc(r7), 0, qr5 /* 80334510 003310F0 10 22 3C 60 */ ps_merge01 f1, f2, f7 -/* 80334514 003310F4 E1 06 00 18 */ psq_l f8, 24(r6), 0, qr0 +/* 80334514 003310F4 E1 06 00 18 */ psq_l f8, 0x18(r6), 0, qr0 /* 80334518 003310F8 38 E7 00 10 */ addi r7, r7, 0x10 /* 8033451C 003310FC 11 6D 22 7A */ ps_madd f11, f13, f9, f4 /* 80334520 00331100 11 4D 22 7C */ ps_nmsub f10, f13, f9, f4 @@ -5361,47 +5403,47 @@ __THPDecompressiMCURowNxN: /* 80334544 00331124 10 2A 68 2A */ ps_add f1, f10, f13 /* 80334548 00331128 11 AA 68 28 */ ps_sub f13, f10, f13 /* 8033454C 0033112C 10 63 07 32 */ ps_mul f3, f3, f28 -/* 80334550 00331130 80 07 00 08 */ lwz r0, 8(r7) +/* 80334550 00331130 80 07 00 08 */ lwz r0, 0x8(r7) /* 80334554 00331134 10 24 0C 20 */ ps_merge00 f1, f4, f1 /* 80334558 00331138 11 2A 1F BC */ ps_nmsub f9, f10, f30, f3 /* 8033455C 0033113C 11 68 1F 78 */ ps_msub f11, f8, f29, f3 -/* 80334560 00331140 80 67 00 04 */ lwz r3, 4(r7) +/* 80334560 00331140 80 67 00 04 */ lwz r3, 0x4(r7) /* 80334564 00331144 11 29 20 28 */ ps_sub f9, f9, f4 /* 80334568 00331148 11 AD 64 20 */ ps_merge00 f13, f13, f12 /* 8033456C 0033114C 11 4C 4E FA */ ps_madd f10, f12, f27, f9 /* 80334570 00331150 11 04 4C E0 */ ps_merge11 f8, f4, f9 -/* 80334574 00331154 E0 E7 50 00 */ psq_l f7, 0(r7), 0, qr5 +/* 80334574 00331154 E0 E7 50 00 */ psq_l f7, 0x0(r7), 0, qr5 /* 80334578 00331158 11 6B 50 28 */ ps_sub f11, f11, f10 /* 8033457C 0033115C 11 81 40 2A */ ps_add f12, f1, f8 -/* 80334580 00331160 E0 C6 00 00 */ psq_l f6, 0(r6), 0, qr0 +/* 80334580 00331160 E0 C6 00 00 */ psq_l f6, 0x0(r6), 0, qr0 /* 80334584 00331164 11 6A 5C E0 */ ps_merge11 f11, f10, f11 /* 80334588 00331168 10 81 40 28 */ ps_sub f4, f1, f8 /* 8033458C 0033116C 10 E7 01 B2 */ ps_mul f7, f7, f6 /* 80334590 00331170 11 4D 58 2A */ ps_add f10, f13, f11 /* 80334594 00331174 11 2D 58 28 */ ps_sub f9, f13, f11 /* 80334598 00331178 11 4A 54 A0 */ ps_merge10 f10, f10, f10 -/* 8033459C 0033117C F5 88 00 08 */ psq_stu f12, 8(r8), 0, qr0 +/* 8033459C 0033117C F5 88 00 08 */ psq_stu f12, 0x8(r8), 0, qr0 /* 803345A0 00331180 10 84 24 A0 */ ps_merge10 f4, f4, f4 -/* 803345A4 00331184 F5 28 00 08 */ psq_stu f9, 8(r8), 0, qr0 -/* 803345A8 00331188 F5 48 00 08 */ psq_stu f10, 8(r8), 0, qr0 -/* 803345AC 0033118C F4 88 00 08 */ psq_stu f4, 8(r8), 0, qr0 +/* 803345A4 00331184 F5 28 00 08 */ psq_stu f9, 0x8(r8), 0, qr0 +/* 803345A8 00331188 F5 48 00 08 */ psq_stu f10, 0x8(r8), 0, qr0 +/* 803345AC 0033118C F4 88 00 08 */ psq_stu f4, 0x8(r8), 0, qr0 /* 803345B0 00331190 42 00 FE 04 */ bdnz .L_803343B4 .L_803345B4: -/* 803345B4 00331194 80 ED BB 20 */ lwz r7, Gbase@sda21(r13) +/* 803345B4 00331194 80 ED BB 20 */ lwz r7, Gbase@sda21(r0) /* 803345B8 00331198 7F A8 EB 78 */ mr r8, r29 -/* 803345BC 0033119C 80 0D BB 40 */ lwz r0, Gwid@sda21(r13) -/* 803345C0 003311A0 E0 E8 00 00 */ psq_l f7, 0(r8), 0, qr0 +/* 803345BC 0033119C 80 0D BB 40 */ lwz r0, Gwid@sda21(r0) +/* 803345C0 003311A0 E0 E8 00 00 */ psq_l f7, 0x0(r8), 0, qr0 /* 803345C4 003311A4 54 83 10 3A */ slwi r3, r4, 2 -/* 803345C8 003311A8 E0 C8 00 80 */ psq_l f6, 128(r8), 0, qr0 +/* 803345C8 003311A8 E0 C8 00 80 */ psq_l f6, 0x80(r8), 0, qr0 /* 803345CC 003311AC 54 05 10 3A */ slwi r5, r0, 2 -/* 803345D0 003311B0 E0 A8 00 40 */ psq_l f5, 64(r8), 0, qr0 +/* 803345D0 003311B0 E0 A8 00 40 */ psq_l f5, 0x40(r8), 0, qr0 /* 803345D4 003311B4 7C 66 1B 78 */ mr r6, r3 /* 803345D8 003311B8 11 27 30 2A */ ps_add f9, f7, f6 -/* 803345DC 003311BC E0 88 00 C0 */ psq_l f4, 192(r8), 0, qr0 +/* 803345DC 003311BC E0 88 00 C0 */ psq_l f4, 0xc0(r8), 0, qr0 /* 803345E0 003311C0 10 67 30 28 */ ps_sub f3, f7, f6 /* 803345E4 003311C4 7C A6 2A 14 */ add r5, r6, r5 /* 803345E8 003311C8 11 29 F8 2A */ ps_add f9, f9, f31 -/* 803345EC 003311CC 38 00 00 03 */ li r0, 3 +/* 803345EC 003311CC 38 00 00 03 */ li r0, 0x3 /* 803345F0 003311D0 11 05 20 2A */ ps_add f8, f5, f4 /* 803345F4 003311D4 7C 87 32 14 */ add r4, r7, r6 /* 803345F8 003311D8 10 45 20 28 */ ps_sub f2, f5, f4 @@ -5410,68 +5452,68 @@ __THPDecompressiMCURowNxN: /* 80334604 003311E4 10 63 F8 2A */ ps_add f3, f3, f31 /* 80334608 003311E8 7C 09 03 A6 */ mtctr r0 .L_8033460C: -/* 8033460C 003311EC E1 68 00 20 */ psq_l f11, 32(r8), 0, qr0 +/* 8033460C 003311EC E1 68 00 20 */ psq_l f11, 0x20(r8), 0, qr0 /* 80334610 003311F0 10 42 46 F8 */ ps_msub f2, f2, f27, f8 -/* 80334614 003311F4 E1 48 00 60 */ psq_l f10, 96(r8), 0, qr0 +/* 80334614 003311F4 E1 48 00 60 */ psq_l f10, 0x60(r8), 0, qr0 /* 80334618 003311F8 11 89 40 28 */ ps_sub f12, f9, f8 /* 8033461C 003311FC 10 23 10 2A */ ps_add f1, f3, f2 -/* 80334620 00331200 E1 28 00 A0 */ psq_l f9, 160(r8), 0, qr0 +/* 80334620 00331200 E1 28 00 A0 */ psq_l f9, 0xa0(r8), 0, qr0 /* 80334624 00331204 11 A3 10 28 */ ps_sub f13, f3, f2 -/* 80334628 00331208 E1 08 00 E0 */ psq_l f8, 224(r8), 0, qr0 +/* 80334628 00331208 E1 08 00 E0 */ psq_l f8, 0xe0(r8), 0, qr0 /* 8033462C 0033120C 10 69 50 2A */ ps_add f3, f9, f10 /* 80334630 00331210 11 29 50 28 */ ps_sub f9, f9, f10 -/* 80334634 00331214 39 08 00 08 */ addi r8, r8, 8 +/* 80334634 00331214 39 08 00 08 */ addi r8, r8, 0x8 /* 80334638 00331218 10 4B 40 2A */ ps_add f2, f11, f8 /* 8033463C 0033121C 11 6B 40 28 */ ps_sub f11, f11, f8 -/* 80334640 00331220 E0 E8 00 00 */ psq_l f7, 0(r8), 0, qr0 +/* 80334640 00331220 E0 E8 00 00 */ psq_l f7, 0x0(r8), 0, qr0 /* 80334644 00331224 11 02 18 2A */ ps_add f8, f2, f3 /* 80334648 00331228 11 42 18 28 */ ps_sub f10, f2, f3 /* 8033464C 0033122C 10 69 58 2A */ ps_add f3, f9, f11 -/* 80334650 00331230 E0 C8 00 80 */ psq_l f6, 128(r8), 0, qr0 +/* 80334650 00331230 E0 C8 00 80 */ psq_l f6, 0x80(r8), 0, qr0 /* 80334654 00331234 10 44 40 2A */ ps_add f2, f4, f8 /* 80334658 00331238 10 63 07 32 */ ps_mul f3, f3, f28 -/* 8033465C 0033123C E0 A8 00 40 */ psq_l f5, 64(r8), 0, qr0 +/* 8033465C 0033123C E0 A8 00 40 */ psq_l f5, 0x40(r8), 0, qr0 /* 80334660 00331240 10 04 40 28 */ ps_sub f0, f4, f8 /* 80334664 00331244 11 29 1F BA */ ps_madd f9, f9, f30, f3 -/* 80334668 00331248 E0 88 00 C0 */ psq_l f4, 192(r8), 0, qr0 +/* 80334668 00331248 E0 88 00 C0 */ psq_l f4, 0xc0(r8), 0, qr0 /* 8033466C 0033124C 11 29 40 28 */ ps_sub f9, f9, f8 -/* 80334670 00331250 38 C6 00 02 */ addi r6, r6, 2 -/* 80334674 00331254 F0 44 60 00 */ psq_st f2, 0(r4), 0, qr6 +/* 80334670 00331250 38 C6 00 02 */ addi r6, r6, 0x2 +/* 80334674 00331254 F0 44 60 00 */ psq_st f2, 0x0(r4), 0, qr6 /* 80334678 00331258 11 6B 1F 78 */ ps_msub f11, f11, f29, f3 /* 8033467C 0033125C 10 41 48 2A */ ps_add f2, f1, f9 /* 80334680 00331260 11 4A 4E F8 */ ps_msub f10, f10, f27, f9 /* 80334684 00331264 10 21 48 28 */ ps_sub f1, f1, f9 -/* 80334688 00331268 F0 44 60 08 */ psq_st f2, 8(r4), 0, qr6 +/* 80334688 00331268 F0 44 60 08 */ psq_st f2, 0x8(r4), 0, qr6 /* 8033468C 0033126C 10 6D 50 2A */ ps_add f3, f13, f10 /* 80334690 00331270 11 6B 50 2A */ ps_add f11, f11, f10 -/* 80334694 00331274 F0 64 60 10 */ psq_st f3, 16(r4), 0, qr6 -/* 80334698 00331278 38 A5 00 02 */ addi r5, r5, 2 +/* 80334694 00331274 F0 64 60 10 */ psq_st f3, 0x10(r4), 0, qr6 +/* 80334698 00331278 38 A5 00 02 */ addi r5, r5, 0x2 /* 8033469C 0033127C 10 4C 58 28 */ ps_sub f2, f12, f11 /* 803346A0 00331280 10 6C 58 2A */ ps_add f3, f12, f11 -/* 803346A4 00331284 F0 44 60 18 */ psq_st f2, 24(r4), 0, qr6 +/* 803346A4 00331284 F0 44 60 18 */ psq_st f2, 0x18(r4), 0, qr6 /* 803346A8 00331288 10 4D 50 28 */ ps_sub f2, f13, f10 /* 803346AC 0033128C 11 27 30 2A */ ps_add f9, f7, f6 -/* 803346B0 00331290 F0 63 60 00 */ psq_st f3, 0(r3), 0, qr6 +/* 803346B0 00331290 F0 63 60 00 */ psq_st f3, 0x0(r3), 0, qr6 /* 803346B4 00331294 10 67 30 28 */ ps_sub f3, f7, f6 /* 803346B8 00331298 11 29 F8 2A */ ps_add f9, f9, f31 -/* 803346BC 0033129C F0 43 60 08 */ psq_st f2, 8(r3), 0, qr6 +/* 803346BC 0033129C F0 43 60 08 */ psq_st f2, 0x8(r3), 0, qr6 /* 803346C0 003312A0 11 05 20 2A */ ps_add f8, f5, f4 /* 803346C4 003312A4 10 45 20 28 */ ps_sub f2, f5, f4 -/* 803346C8 003312A8 F0 23 60 10 */ psq_st f1, 16(r3), 0, qr6 +/* 803346C8 003312A8 F0 23 60 10 */ psq_st f1, 0x10(r3), 0, qr6 /* 803346CC 003312AC 7C 87 32 14 */ add r4, r7, r6 /* 803346D0 003312B0 10 89 40 2A */ ps_add f4, f9, f8 -/* 803346D4 003312B4 F0 03 60 18 */ psq_st f0, 24(r3), 0, qr6 +/* 803346D4 003312B4 F0 03 60 18 */ psq_st f0, 0x18(r3), 0, qr6 /* 803346D8 003312B8 10 63 F8 2A */ ps_add f3, f3, f31 /* 803346DC 003312BC 7C 67 2A 14 */ add r3, r7, r5 /* 803346E0 003312C0 42 00 FF 2C */ bdnz .L_8033460C -/* 803346E4 003312C4 E1 68 00 20 */ psq_l f11, 32(r8), 0, qr0 +/* 803346E4 003312C4 E1 68 00 20 */ psq_l f11, 0x20(r8), 0, qr0 /* 803346E8 003312C8 10 42 46 F8 */ ps_msub f2, f2, f27, f8 -/* 803346EC 003312CC E1 48 00 60 */ psq_l f10, 96(r8), 0, qr0 +/* 803346EC 003312CC E1 48 00 60 */ psq_l f10, 0x60(r8), 0, qr0 /* 803346F0 003312D0 11 89 40 28 */ ps_sub f12, f9, f8 /* 803346F4 003312D4 10 23 10 2A */ ps_add f1, f3, f2 -/* 803346F8 003312D8 E1 28 00 A0 */ psq_l f9, 160(r8), 0, qr0 +/* 803346F8 003312D8 E1 28 00 A0 */ psq_l f9, 0xa0(r8), 0, qr0 /* 803346FC 003312DC 11 A3 10 28 */ ps_sub f13, f3, f2 -/* 80334700 003312E0 E1 08 00 E0 */ psq_l f8, 224(r8), 0, qr0 +/* 80334700 003312E0 E1 08 00 E0 */ psq_l f8, 0xe0(r8), 0, qr0 /* 80334704 003312E4 10 69 50 2A */ ps_add f3, f9, f10 /* 80334708 003312E8 11 29 50 28 */ ps_sub f9, f9, f10 /* 8033470C 003312EC 10 4B 40 2A */ ps_add f2, f11, f8 @@ -5483,71 +5525,71 @@ __THPDecompressiMCURowNxN: /* 80334724 00331304 10 63 07 32 */ ps_mul f3, f3, f28 /* 80334728 00331308 10 04 40 28 */ ps_sub f0, f4, f8 /* 8033472C 0033130C 11 29 1F BA */ ps_madd f9, f9, f30, f3 -/* 80334730 00331310 F0 44 60 00 */ psq_st f2, 0(r4), 0, qr6 +/* 80334730 00331310 F0 44 60 00 */ psq_st f2, 0x0(r4), 0, qr6 /* 80334734 00331314 11 29 40 28 */ ps_sub f9, f9, f8 /* 80334738 00331318 11 6B 1F 78 */ ps_msub f11, f11, f29, f3 -/* 8033473C 0033131C F0 03 60 18 */ psq_st f0, 24(r3), 0, qr6 +/* 8033473C 0033131C F0 03 60 18 */ psq_st f0, 0x18(r3), 0, qr6 /* 80334740 00331320 10 41 48 2A */ ps_add f2, f1, f9 /* 80334744 00331324 11 4A 4E F8 */ ps_msub f10, f10, f27, f9 /* 80334748 00331328 10 21 48 28 */ ps_sub f1, f1, f9 -/* 8033474C 0033132C F0 44 60 08 */ psq_st f2, 8(r4), 0, qr6 +/* 8033474C 0033132C F0 44 60 08 */ psq_st f2, 0x8(r4), 0, qr6 /* 80334750 00331330 10 6D 50 2A */ ps_add f3, f13, f10 /* 80334754 00331334 11 6B 50 2A */ ps_add f11, f11, f10 -/* 80334758 00331338 F0 23 60 10 */ psq_st f1, 16(r3), 0, qr6 -/* 8033475C 0033133C F0 64 60 10 */ psq_st f3, 16(r4), 0, qr6 +/* 80334758 00331338 F0 23 60 10 */ psq_st f1, 0x10(r3), 0, qr6 +/* 8033475C 0033133C F0 64 60 10 */ psq_st f3, 0x10(r4), 0, qr6 /* 80334760 00331340 10 4C 58 28 */ ps_sub f2, f12, f11 /* 80334764 00331344 10 6C 58 2A */ ps_add f3, f12, f11 -/* 80334768 00331348 F0 44 60 18 */ psq_st f2, 24(r4), 0, qr6 +/* 80334768 00331348 F0 44 60 18 */ psq_st f2, 0x18(r4), 0, qr6 /* 8033476C 0033134C 10 4D 50 28 */ ps_sub f2, f13, f10 -/* 80334770 00331350 F0 63 60 00 */ psq_st f3, 0(r3), 0, qr6 -/* 80334774 00331354 F0 43 60 08 */ psq_st f2, 8(r3), 0, qr6 +/* 80334770 00331350 F0 63 60 00 */ psq_st f3, 0x0(r3), 0, qr6 +/* 80334774 00331354 F0 43 60 08 */ psq_st f2, 0x8(r3), 0, qr6 /* 80334778 00331358 88 1A 09 00 */ lbz r0, 0x900(r26) -/* 8033477C 0033135C 28 00 00 00 */ cmplwi r0, 0 +/* 8033477C 0033135C 28 00 00 00 */ cmplwi r0, 0x0 /* 80334780 00331360 41 82 00 5C */ beq .L_803347DC /* 80334784 00331364 A0 9A 08 FE */ lhz r4, 0x8fe(r26) -/* 80334788 00331368 38 04 FF FF */ addi r0, r4, -1 +/* 80334788 00331368 38 04 FF FF */ subi r0, r4, 0x1 /* 8033478C 0033136C B0 1A 08 FE */ sth r0, 0x8fe(r26) /* 80334790 00331370 A0 1A 08 FE */ lhz r0, 0x8fe(r26) -/* 80334794 00331374 28 00 00 00 */ cmplwi r0, 0 +/* 80334794 00331374 28 00 00 00 */ cmplwi r0, 0x0 /* 80334798 00331378 40 82 00 44 */ bne .L_803347DC /* 8033479C 0033137C A0 1A 08 FC */ lhz r0, 0x8fc(r26) /* 803347A0 00331380 B0 1A 08 FE */ sth r0, 0x8fe(r26) -/* 803347A4 00331384 80 7A 00 08 */ lwz r3, 8(r26) -/* 803347A8 00331388 38 03 00 06 */ addi r0, r3, 6 -/* 803347AC 0033138C 54 03 00 38 */ rlwinm r3, r0, 0, 0, 0x1c -/* 803347B0 00331390 38 03 00 01 */ addi r0, r3, 1 -/* 803347B4 00331394 90 1A 00 08 */ stw r0, 8(r26) -/* 803347B8 00331398 80 1A 00 08 */ lwz r0, 8(r26) +/* 803347A4 00331384 80 7A 00 08 */ lwz r3, 0x8(r26) +/* 803347A8 00331388 38 03 00 06 */ addi r0, r3, 0x6 +/* 803347AC 0033138C 54 03 00 38 */ clrrwi r3, r0, 3 +/* 803347B0 00331390 38 03 00 01 */ addi r0, r3, 0x1 +/* 803347B4 00331394 90 1A 00 08 */ stw r0, 0x8(r26) +/* 803347B8 00331398 80 1A 00 08 */ lwz r0, 0x8(r26) /* 803347BC 0033139C 28 00 00 20 */ cmplwi r0, 0x20 /* 803347C0 003313A0 40 81 00 0C */ ble .L_803347CC /* 803347C4 003313A4 38 00 00 21 */ li r0, 0x21 -/* 803347C8 003313A8 90 1A 00 08 */ stw r0, 8(r26) +/* 803347C8 003313A8 90 1A 00 08 */ stw r0, 0x8(r26) .L_803347CC: -/* 803347CC 003313AC 38 00 00 00 */ li r0, 0 +/* 803347CC 003313AC 38 00 00 00 */ li r0, 0x0 /* 803347D0 003313B0 B0 1A 08 3E */ sth r0, 0x83e(r26) /* 803347D4 003313B4 B0 1A 08 6A */ sth r0, 0x86a(r26) /* 803347D8 003313B8 B0 1A 08 96 */ sth r0, 0x896(r26) .L_803347DC: -/* 803347DC 003313BC 3B 9C 00 01 */ addi r28, r28, 1 +/* 803347DC 003313BC 3B 9C 00 01 */ addi r28, r28, 0x1 .L_803347E0: /* 803347E0 003313C0 A0 1A 08 CC */ lhz r0, 0x8cc(r26) -/* 803347E4 003313C4 57 83 06 3E */ clrlwi r3, r28, 0x18 +/* 803347E4 003313C4 57 83 06 3E */ clrlwi r3, r28, 24 /* 803347E8 003313C8 7C 03 00 00 */ cmpw r3, r0 /* 803347EC 003313CC 41 80 E6 F8 */ blt .L_80332EE4 /* 803347F0 003313D0 3C 80 80 4A */ lis r4, THPDec_804A747C@ha /* 803347F4 003313D4 80 7A 08 F0 */ lwz r3, 0x8f0(r26) /* 803347F8 003313D8 3B A4 74 7C */ addi r29, r4, THPDec_804A747C@l /* 803347FC 003313DC 57 7C E1 3E */ srwi r28, r27, 4 -/* 80334800 003313E0 80 9D 00 00 */ lwz r4, 0(r29) -/* 80334804 003313E4 57 65 20 2E */ rlwinm r5, r27, 4, 0, 0x17 +/* 80334800 003313E0 80 9D 00 00 */ lwz r4, 0x0(r29) +/* 80334804 003313E4 57 65 20 2E */ extlwi r5, r27, 24, 4 /* 80334808 003313E8 48 01 02 79 */ bl LCStoreData /* 8033480C 003313EC 80 7A 08 F4 */ lwz r3, 0x8f4(r26) /* 80334810 003313F0 57 85 30 32 */ slwi r5, r28, 6 -/* 80334814 003313F4 80 9D 00 04 */ lwz r4, 4(r29) +/* 80334814 003313F4 80 9D 00 04 */ lwz r4, 0x4(r29) /* 80334818 003313F8 48 01 02 69 */ bl LCStoreData /* 8033481C 003313FC 80 7A 08 F8 */ lwz r3, 0x8f8(r26) /* 80334820 00331400 57 85 30 32 */ slwi r5, r28, 6 -/* 80334824 00331404 80 9D 00 08 */ lwz r4, 8(r29) +/* 80334824 00331404 80 9D 00 08 */ lwz r4, 0x8(r29) /* 80334828 00331408 48 01 02 59 */ bl LCStoreData /* 8033482C 0033140C 80 9A 08 F0 */ lwz r4, 0x8f0(r26) /* 80334830 00331410 57 80 40 2E */ slwi r0, r28, 8 @@ -5570,70 +5612,71 @@ __THPDecompressiMCURowNxN: /* 80334874 00331454 38 21 00 50 */ addi r1, r1, 0x50 /* 80334878 00331458 7C 08 03 A6 */ mtlr r0 /* 8033487C 0033145C 4E 80 00 20 */ blr +.endfn __THPDecompressiMCURowNxN -.global __THPHuffDecodeDCTCompY -__THPHuffDecodeDCTCompY: +# .text:0x5250 | 0x80334880 | size: 0x67C +.fn __THPHuffDecodeDCTCompY, local /* 80334880 00331460 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80334884 00331464 93 E1 00 1C */ stw r31, 0x1c(r1) /* 80334888 00331468 93 C1 00 18 */ stw r30, 0x18(r1) /* 8033488C 0033146C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80334890 00331470 7C 00 27 EC */ dcbz 0, r4 -/* 80334894 00331474 81 8D BA 60 */ lwz r12, Ydchuff@sda21(r13) -/* 80334898 00331478 81 63 00 08 */ lwz r11, 8(r3) +/* 80334890 00331470 7C 00 27 EC */ dcbz r0, r4 +/* 80334894 00331474 81 8D BA 60 */ lwz r12, Ydchuff@sda21(r0) +/* 80334898 00331478 81 63 00 08 */ lwz r11, 0x8(r3) /* 8033489C 0033147C 39 2C 00 20 */ addi r9, r12, 0x20 -/* 803348A0 00331480 81 43 00 04 */ lwz r10, 4(r3) -/* 803348A4 00331484 38 AB 00 04 */ addi r5, r11, 4 +/* 803348A0 00331480 81 43 00 04 */ lwz r10, 0x4(r3) +/* 803348A4 00331484 38 AB 00 04 */ addi r5, r11, 0x4 /* 803348A8 00331488 2C 0B 00 1C */ cmpwi r11, 0x1c -/* 803348AC 0033148C 5D 48 2E FE */ rlwnm r8, r10, r5, 0x1b, 0x1f +/* 803348AC 0033148C 5D 48 2E FE */ rlwnm r8, r10, r5, 27, 31 /* 803348B0 00331490 41 81 00 C4 */ bgt .L_80334974 /* 803348B4 00331494 7C AC 40 AE */ lbzx r5, r12, r8 /* 803348B8 00331498 7D 29 40 AE */ lbzx r9, r9, r8 /* 803348BC 0033149C 2C 05 00 FF */ cmpwi r5, 0xff /* 803348C0 003314A0 41 82 00 10 */ beq .L_803348D0 /* 803348C4 003314A4 7D 6B 4A 14 */ add r11, r11, r9 -/* 803348C8 003314A8 91 63 00 08 */ stw r11, 8(r3) +/* 803348C8 003314A8 91 63 00 08 */ stw r11, 0x8(r3) /* 803348CC 003314AC 48 00 02 4C */ b .L_80334B18 .L_803348D0: /* 803348D0 003314B0 38 CC 00 44 */ addi r6, r12, 0x44 -/* 803348D4 003314B4 39 6B 00 05 */ addi r11, r11, 5 +/* 803348D4 003314B4 39 6B 00 05 */ addi r11, r11, 0x5 /* 803348D8 003314B8 38 00 00 14 */ li r0, 0x14 -/* 803348DC 003314BC 38 A0 00 05 */ li r5, 5 +/* 803348DC 003314BC 38 A0 00 05 */ li r5, 0x5 /* 803348E0 003314C0 38 C6 00 14 */ addi r6, r6, 0x14 .L_803348E4: /* 803348E4 003314C4 2C 0B 00 21 */ cmpwi r11, 0x21 /* 803348E8 003314C8 55 08 08 3C */ slwi r8, r8, 1 /* 803348EC 003314CC 41 82 00 18 */ beq .L_80334904 -/* 803348F0 003314D0 5D 49 5F FE */ rlwnm r9, r10, r11, 0x1f, 0x1f -/* 803348F4 003314D4 84 06 00 04 */ lwzu r0, 4(r6) +/* 803348F0 003314D0 5D 49 5F FE */ rlwnm r9, r10, r11, 31, 31 +/* 803348F4 003314D4 84 06 00 04 */ lwzu r0, 0x4(r6) /* 803348F8 003314D8 7D 08 4B 78 */ or r8, r8, r9 -/* 803348FC 003314DC 39 6B 00 01 */ addi r11, r11, 1 +/* 803348FC 003314DC 39 6B 00 01 */ addi r11, r11, 0x1 /* 80334900 003314E0 48 00 00 48 */ b .L_80334948 .L_80334904: -/* 80334904 003314E4 81 23 00 00 */ lwz r9, 0(r3) -/* 80334908 003314E8 39 60 00 01 */ li r11, 1 -/* 8033490C 003314EC 85 49 00 04 */ lwzu r10, 4(r9) -/* 80334910 003314F0 84 06 00 04 */ lwzu r0, 4(r6) -/* 80334914 003314F4 91 23 00 00 */ stw r9, 0(r3) -/* 80334918 003314F8 51 48 0F FE */ rlwimi r8, r10, 1, 0x1f, 0x1f -/* 8033491C 003314FC 91 43 00 04 */ stw r10, 4(r3) +/* 80334904 003314E4 81 23 00 00 */ lwz r9, 0x0(r3) +/* 80334908 003314E8 39 60 00 01 */ li r11, 0x1 +/* 8033490C 003314EC 85 49 00 04 */ lwzu r10, 0x4(r9) +/* 80334910 003314F0 84 06 00 04 */ lwzu r0, 0x4(r6) +/* 80334914 003314F4 91 23 00 00 */ stw r9, 0x0(r3) +/* 80334918 003314F8 51 48 0F FE */ rlwimi r8, r10, 1, 31, 31 +/* 8033491C 003314FC 91 43 00 04 */ stw r10, 0x4(r3) /* 80334920 00331500 48 00 00 14 */ b .L_80334934 .L_80334924: /* 80334924 00331504 55 08 08 3C */ slwi r8, r8, 1 -/* 80334928 00331508 5D 49 5F FE */ rlwnm r9, r10, r11, 0x1f, 0x1f -/* 8033492C 0033150C 84 06 00 04 */ lwzu r0, 4(r6) +/* 80334928 00331508 5D 49 5F FE */ rlwnm r9, r10, r11, 31, 31 +/* 8033492C 0033150C 84 06 00 04 */ lwzu r0, 0x4(r6) /* 80334930 00331510 7D 08 4B 78 */ or r8, r8, r9 .L_80334934: /* 80334934 00331514 7C 08 00 00 */ cmpw r8, r0 -/* 80334938 00331518 39 6B 00 01 */ addi r11, r11, 1 -/* 8033493C 0033151C 38 A5 00 01 */ addi r5, r5, 1 +/* 80334938 00331518 39 6B 00 01 */ addi r11, r11, 0x1 +/* 8033493C 0033151C 38 A5 00 01 */ addi r5, r5, 0x1 /* 80334940 00331520 41 81 FF E4 */ bgt .L_80334924 /* 80334944 00331524 48 00 00 10 */ b .L_80334954 .L_80334948: /* 80334948 00331528 7C 08 00 00 */ cmpw r8, r0 -/* 8033494C 0033152C 38 A5 00 01 */ addi r5, r5, 1 +/* 8033494C 0033152C 38 A5 00 01 */ addi r5, r5, 0x1 /* 80334950 00331530 41 81 FF 94 */ bgt .L_803348E4 .L_80334954: -/* 80334954 00331534 91 63 00 08 */ stw r11, 8(r3) +/* 80334954 00331534 91 63 00 08 */ stw r11, 0x8(r3) /* 80334958 00331538 54 A0 10 3A */ slwi r0, r5, 2 /* 8033495C 0033153C 7C AC 02 14 */ add r5, r12, r0 /* 80334960 00331540 80 CC 00 40 */ lwz r6, 0x40(r12) @@ -5643,10 +5686,10 @@ __THPHuffDecodeDCTCompY: /* 80334970 00331550 48 00 01 A8 */ b .L_80334B18 .L_80334974: /* 80334974 00331554 2C 0B 00 21 */ cmpwi r11, 0x21 -/* 80334978 00331558 81 03 00 00 */ lwz r8, 0(r3) +/* 80334978 00331558 81 03 00 00 */ lwz r8, 0x0(r3) /* 8033497C 0033155C 41 82 00 B4 */ beq .L_80334A30 /* 80334980 00331560 2C 0B 00 20 */ cmpwi r11, 0x20 -/* 80334984 00331564 5D 45 2E FE */ rlwnm r5, r10, r5, 0x1b, 0x1f +/* 80334984 00331564 5D 45 2E FE */ rlwnm r5, r10, r5, 27, 31 /* 80334988 00331568 41 82 00 2C */ beq .L_803349B4 /* 8033498C 0033156C 7D 0C 28 AE */ lbzx r8, r12, r5 /* 80334990 00331570 7D 29 28 AE */ lbzx r9, r9, r5 @@ -5654,19 +5697,19 @@ __THPHuffDecodeDCTCompY: /* 80334998 00331578 7C AB 4A 14 */ add r5, r11, r9 /* 8033499C 0033157C 41 82 00 F8 */ beq .L_80334A94 /* 803349A0 00331580 2C 05 00 21 */ cmpwi r5, 0x21 -/* 803349A4 00331584 90 A3 00 08 */ stw r5, 8(r3) +/* 803349A4 00331584 90 A3 00 08 */ stw r5, 0x8(r3) /* 803349A8 00331588 41 81 00 EC */ bgt .L_80334A94 /* 803349AC 0033158C 7D 05 43 78 */ mr r5, r8 /* 803349B0 00331590 48 00 01 68 */ b .L_80334B18 .L_803349B4: -/* 803349B4 00331594 85 48 00 04 */ lwzu r10, 4(r8) -/* 803349B8 00331598 91 03 00 00 */ stw r8, 0(r3) -/* 803349BC 0033159C 51 45 27 3E */ rlwimi r5, r10, 4, 0x1c, 0x1f +/* 803349B4 00331594 85 48 00 04 */ lwzu r10, 0x4(r8) +/* 803349B8 00331598 91 03 00 00 */ stw r8, 0x0(r3) +/* 803349BC 0033159C 51 45 27 3E */ rlwimi r5, r10, 4, 28, 31 /* 803349C0 003315A0 7D 0C 28 AE */ lbzx r8, r12, r5 /* 803349C4 003315A4 7D 29 28 AE */ lbzx r9, r9, r5 -/* 803349C8 003315A8 91 43 00 04 */ stw r10, 4(r3) +/* 803349C8 003315A8 91 43 00 04 */ stw r10, 0x4(r3) /* 803349CC 003315AC 2C 08 00 FF */ cmpwi r8, 0xff -/* 803349D0 003315B0 91 23 00 08 */ stw r9, 8(r3) +/* 803349D0 003315B0 91 23 00 08 */ stw r9, 0x8(r3) /* 803349D4 003315B4 41 82 00 0C */ beq .L_803349E0 /* 803349D8 003315B8 7D 05 43 78 */ mr r5, r8 /* 803349DC 003315BC 48 00 01 3C */ b .L_80334B18 @@ -5674,17 +5717,17 @@ __THPHuffDecodeDCTCompY: /* 803349E0 003315C0 38 CC 00 44 */ addi r6, r12, 0x44 /* 803349E4 003315C4 39 60 00 14 */ li r11, 0x14 /* 803349E8 003315C8 38 C6 00 14 */ addi r6, r6, 0x14 -/* 803349EC 003315CC 54 A8 D8 08 */ slwi r8, r5, 0x1b -/* 803349F0 003315D0 39 60 00 05 */ li r11, 5 -/* 803349F4 003315D4 51 48 F8 7E */ rlwimi r8, r10, 0x1f, 1, 0x1f +/* 803349EC 003315CC 54 A8 D8 08 */ slwi r8, r5, 27 +/* 803349F0 003315D0 39 60 00 05 */ li r11, 0x5 +/* 803349F4 003315D4 51 48 F8 7E */ rlwimi r8, r10, 31, 1, 31 .L_803349F8: /* 803349F8 003315D8 21 4B 00 1F */ subfic r10, r11, 0x1f -/* 803349FC 003315DC 84 06 00 04 */ lwzu r0, 4(r6) +/* 803349FC 003315DC 84 06 00 04 */ lwzu r0, 0x4(r6) /* 80334A00 003315E0 7D 05 54 30 */ srw r5, r8, r10 /* 80334A04 003315E4 7C 05 00 00 */ cmpw r5, r0 -/* 80334A08 003315E8 39 6B 00 01 */ addi r11, r11, 1 +/* 80334A08 003315E8 39 6B 00 01 */ addi r11, r11, 0x1 /* 80334A0C 003315EC 41 81 FF EC */ bgt .L_803349F8 -/* 80334A10 003315F0 91 63 00 08 */ stw r11, 8(r3) +/* 80334A10 003315F0 91 63 00 08 */ stw r11, 0x8(r3) .L_80334A14: /* 80334A14 003315F4 55 60 10 3A */ slwi r0, r11, 2 /* 80334A18 003315F8 80 EC 00 40 */ lwz r7, 0x40(r12) @@ -5694,63 +5737,63 @@ __THPHuffDecodeDCTCompY: /* 80334A28 00331608 7C A5 00 AE */ lbzx r5, r5, r0 /* 80334A2C 0033160C 48 00 00 EC */ b .L_80334B18 .L_80334A30: -/* 80334A30 00331610 85 48 00 04 */ lwzu r10, 4(r8) -/* 80334A34 00331614 55 45 2E FE */ srwi r5, r10, 0x1b -/* 80334A38 00331618 91 03 00 00 */ stw r8, 0(r3) +/* 80334A30 00331610 85 48 00 04 */ lwzu r10, 0x4(r8) +/* 80334A34 00331614 55 45 2E FE */ srwi r5, r10, 27 +/* 80334A38 00331618 91 03 00 00 */ stw r8, 0x0(r3) /* 80334A3C 0033161C 7D 6C 28 AE */ lbzx r11, r12, r5 /* 80334A40 00331620 7D 29 28 AE */ lbzx r9, r9, r5 /* 80334A44 00331624 2C 0B 00 FF */ cmpwi r11, 0xff -/* 80334A48 00331628 91 43 00 04 */ stw r10, 4(r3) -/* 80334A4C 0033162C 39 29 00 01 */ addi r9, r9, 1 +/* 80334A48 00331628 91 43 00 04 */ stw r10, 0x4(r3) +/* 80334A4C 0033162C 39 29 00 01 */ addi r9, r9, 0x1 /* 80334A50 00331630 41 82 00 10 */ beq .L_80334A60 -/* 80334A54 00331634 91 23 00 08 */ stw r9, 8(r3) +/* 80334A54 00331634 91 23 00 08 */ stw r9, 0x8(r3) /* 80334A58 00331638 7D 65 5B 78 */ mr r5, r11 /* 80334A5C 0033163C 48 00 00 BC */ b .L_80334B18 .L_80334A60: -/* 80334A60 00331640 39 60 00 05 */ li r11, 5 +/* 80334A60 00331640 39 60 00 05 */ li r11, 0x5 /* 80334A64 00331644 38 C0 00 14 */ li r6, 0x14 .L_80334A68: /* 80334A68 00331648 21 0B 00 1F */ subfic r8, r11, 0x1f -/* 80334A6C 0033164C 39 6B 00 01 */ addi r11, r11, 1 -/* 80334A70 00331650 38 C6 00 04 */ addi r6, r6, 4 +/* 80334A6C 0033164C 39 6B 00 01 */ addi r11, r11, 0x1 +/* 80334A70 00331650 38 C6 00 04 */ addi r6, r6, 0x4 /* 80334A74 00331654 7D 45 44 30 */ srw r5, r10, r8 /* 80334A78 00331658 7C EC 32 14 */ add r7, r12, r6 /* 80334A7C 0033165C 80 07 00 44 */ lwz r0, 0x44(r7) /* 80334A80 00331660 7C 05 00 00 */ cmpw r5, r0 /* 80334A84 00331664 41 81 FF E4 */ bgt .L_80334A68 -/* 80334A88 00331668 38 0B 00 01 */ addi r0, r11, 1 -/* 80334A8C 0033166C 90 03 00 08 */ stw r0, 8(r3) +/* 80334A88 00331668 38 0B 00 01 */ addi r0, r11, 0x1 +/* 80334A8C 0033166C 90 03 00 08 */ stw r0, 0x8(r3) /* 80334A90 00331670 4B FF FF 84 */ b .L_80334A14 .L_80334A94: /* 80334A94 00331674 20 0B 00 21 */ subfic r0, r11, 0x21 -/* 80334A98 00331678 38 A0 FF FF */ li r5, -1 +/* 80334A98 00331678 38 A0 FF FF */ li r5, -0x1 /* 80334A9C 0033167C 7C A7 00 30 */ slw r7, r5, r0 /* 80334AA0 00331680 7D 45 38 78 */ andc r5, r10, r7 /* 80334AA4 00331684 38 EC 00 44 */ addi r7, r12, 0x44 -/* 80334AA8 00331688 81 03 00 00 */ lwz r8, 0(r3) +/* 80334AA8 00331688 81 03 00 00 */ lwz r8, 0x0(r3) /* 80334AAC 0033168C 20 CB 00 21 */ subfic r6, r11, 0x21 -/* 80334AB0 00331690 39 66 00 01 */ addi r11, r6, 1 +/* 80334AB0 00331690 39 66 00 01 */ addi r11, r6, 0x1 /* 80334AB4 00331694 54 C6 10 3A */ slwi r6, r6, 2 -/* 80334AB8 00331698 85 48 00 04 */ lwzu r10, 4(r8) +/* 80334AB8 00331698 85 48 00 04 */ lwzu r10, 0x4(r8) /* 80334ABC 0033169C 7C E7 32 14 */ add r7, r7, r6 -/* 80334AC0 003316A0 91 03 00 00 */ stw r8, 0(r3) +/* 80334AC0 003316A0 91 03 00 00 */ stw r8, 0x0(r3) /* 80334AC4 003316A4 54 A5 08 3C */ slwi r5, r5, 1 -/* 80334AC8 003316A8 91 43 00 04 */ stw r10, 4(r3) -/* 80334ACC 003316AC 51 45 0F FE */ rlwimi r5, r10, 1, 0x1f, 0x1f -/* 80334AD0 003316B0 84 C7 00 04 */ lwzu r6, 4(r7) -/* 80334AD4 003316B4 39 00 00 02 */ li r8, 2 +/* 80334AC8 003316A8 91 43 00 04 */ stw r10, 0x4(r3) +/* 80334ACC 003316AC 51 45 0F FE */ rlwimi r5, r10, 1, 31, 31 +/* 80334AD0 003316B0 84 C7 00 04 */ lwzu r6, 0x4(r7) +/* 80334AD4 003316B4 39 00 00 02 */ li r8, 0x2 /* 80334AD8 003316B8 48 00 00 18 */ b .L_80334AF0 .L_80334ADC: /* 80334ADC 003316BC 54 A5 08 3C */ slwi r5, r5, 1 -/* 80334AE0 003316C0 39 6B 00 01 */ addi r11, r11, 1 -/* 80334AE4 003316C4 84 C7 00 04 */ lwzu r6, 4(r7) +/* 80334AE0 003316C0 39 6B 00 01 */ addi r11, r11, 0x1 +/* 80334AE4 003316C4 84 C7 00 04 */ lwzu r6, 0x4(r7) /* 80334AE8 003316C8 7C A5 4A 14 */ add r5, r5, r9 -/* 80334AEC 003316CC 39 08 00 01 */ addi r8, r8, 1 +/* 80334AEC 003316CC 39 08 00 01 */ addi r8, r8, 0x1 .L_80334AF0: /* 80334AF0 003316D0 7C 05 30 00 */ cmpw r5, r6 -/* 80334AF4 003316D4 5D 49 47 FE */ rlwnm r9, r10, r8, 0x1f, 0x1f +/* 80334AF4 003316D4 5D 49 47 FE */ rlwnm r9, r10, r8, 31, 31 /* 80334AF8 003316D8 41 81 FF E4 */ bgt .L_80334ADC -/* 80334AFC 003316DC 91 03 00 08 */ stw r8, 8(r3) +/* 80334AFC 003316DC 91 03 00 08 */ stw r8, 0x8(r3) /* 80334B00 003316E0 55 60 10 3A */ slwi r0, r11, 2 /* 80334B04 003316E4 7C CC 02 14 */ add r6, r12, r0 /* 80334B08 003316E8 80 EC 00 40 */ lwz r7, 0x40(r12) @@ -5760,33 +5803,33 @@ __THPHuffDecodeDCTCompY: .L_80334B18: /* 80334B18 003316F8 38 00 00 20 */ li r0, 0x20 /* 80334B1C 003316FC 7C 04 07 EC */ dcbz r4, r0 -/* 80334B20 00331700 38 E0 00 00 */ li r7, 0 +/* 80334B20 00331700 38 E0 00 00 */ li r7, 0x0 /* 80334B24 00331704 38 00 00 40 */ li r0, 0x40 /* 80334B28 00331708 7C 04 07 EC */ dcbz r4, r0 -/* 80334B2C 0033170C 2C 05 00 00 */ cmpwi r5, 0 +/* 80334B2C 0033170C 2C 05 00 00 */ cmpwi r5, 0x0 /* 80334B30 00331710 41 82 00 84 */ beq .L_80334BB4 -/* 80334B34 00331714 80 E3 00 08 */ lwz r7, 8(r3) +/* 80334B34 00331714 80 E3 00 08 */ lwz r7, 0x8(r3) /* 80334B38 00331718 21 07 00 21 */ subfic r8, r7, 0x21 -/* 80334B3C 0033171C 80 C3 00 04 */ lwz r6, 4(r3) +/* 80334B3C 0033171C 80 C3 00 04 */ lwz r6, 0x4(r3) /* 80334B40 00331720 7D 28 28 11 */ subfc. r9, r8, r5 -/* 80334B44 00331724 39 47 FF FF */ addi r10, r7, -1 +/* 80334B44 00331724 39 47 FF FF */ subi r10, r7, 0x1 /* 80334B48 00331728 41 81 00 1C */ bgt .L_80334B64 /* 80334B4C 0033172C 7C 07 2A 14 */ add r0, r7, r5 /* 80334B50 00331730 7C C7 50 30 */ slw r7, r6, r10 -/* 80334B54 00331734 90 03 00 08 */ stw r0, 8(r3) +/* 80334B54 00331734 90 03 00 08 */ stw r0, 0x8(r3) /* 80334B58 00331738 20 05 00 20 */ subfic r0, r5, 0x20 /* 80334B5C 0033173C 7C E7 04 30 */ srw r7, r7, r0 /* 80334B60 00331740 48 00 00 30 */ b .L_80334B90 .L_80334B64: -/* 80334B64 00331744 80 E3 00 00 */ lwz r7, 0(r3) +/* 80334B64 00331744 80 E3 00 00 */ lwz r7, 0x0(r3) /* 80334B68 00331748 7C C0 50 30 */ slw r0, r6, r10 -/* 80334B6C 0033174C 84 C7 00 04 */ lwzu r6, 4(r7) -/* 80334B70 00331750 39 29 00 01 */ addi r9, r9, 1 -/* 80334B74 00331754 90 C3 00 04 */ stw r6, 4(r3) +/* 80334B6C 0033174C 84 C7 00 04 */ lwzu r6, 0x4(r7) +/* 80334B70 00331750 39 29 00 01 */ addi r9, r9, 0x1 +/* 80334B74 00331754 90 C3 00 04 */ stw r6, 0x4(r3) /* 80334B78 00331758 7C C6 44 30 */ srw r6, r6, r8 -/* 80334B7C 0033175C 90 E3 00 00 */ stw r7, 0(r3) +/* 80334B7C 0033175C 90 E3 00 00 */ stw r7, 0x0(r3) /* 80334B80 00331760 7C 06 02 14 */ add r0, r6, r0 -/* 80334B84 00331764 91 23 00 08 */ stw r9, 8(r3) +/* 80334B84 00331764 91 23 00 08 */ stw r9, 0x8(r3) /* 80334B88 00331768 21 25 00 20 */ subfic r9, r5, 0x20 /* 80334B8C 0033176C 7C 07 4C 30 */ srw r7, r0, r9 .L_80334B90: @@ -5795,29 +5838,29 @@ __THPHuffDecodeDCTCompY: /* 80334B98 00331778 20 05 00 20 */ subfic r0, r5, 0x20 /* 80334B9C 0033177C 7C 06 00 00 */ cmpw r6, r0 /* 80334BA0 00331780 40 81 00 14 */ ble .L_80334BB4 -/* 80334BA4 00331784 38 00 FF FF */ li r0, -1 +/* 80334BA4 00331784 38 00 FF FF */ li r0, -0x1 /* 80334BA8 00331788 7C 00 28 30 */ slw r0, r0, r5 /* 80334BAC 0033178C 7C E0 3A 14 */ add r7, r0, r7 -/* 80334BB0 00331790 38 E7 00 01 */ addi r7, r7, 1 +/* 80334BB0 00331790 38 E7 00 01 */ addi r7, r7, 0x1 .L_80334BB4: /* 80334BB4 00331794 38 00 00 60 */ li r0, 0x60 /* 80334BB8 00331798 7C 04 07 EC */ dcbz r4, r0 /* 80334BBC 0033179C A8 03 08 3E */ lha r0, 0x83e(r3) /* 80334BC0 003317A0 7C 00 3A 14 */ add r0, r0, r7 /* 80334BC4 003317A4 B0 03 08 3E */ sth r0, 0x83e(r3) -/* 80334BC8 003317A8 B0 04 00 00 */ sth r0, 0(r4) -/* 80334BCC 003317AC 81 0D BA C0 */ lwz r8, Yachuff@sda21(r13) -/* 80334BD0 003317B0 80 C3 00 08 */ lwz r6, 8(r3) +/* 80334BC8 003317A8 B0 04 00 00 */ sth r0, 0x0(r4) +/* 80334BCC 003317AC 81 0D BA C0 */ lwz r8, Yachuff@sda21(r0) +/* 80334BD0 003317B0 80 C3 00 08 */ lwz r6, 0x8(r3) /* 80334BD4 003317B4 38 E8 00 20 */ addi r7, r8, 0x20 -/* 80334BD8 003317B8 80 03 00 04 */ lwz r0, 4(r3) -/* 80334BDC 003317BC 38 A0 00 01 */ li r5, 1 +/* 80334BD8 003317B8 80 03 00 04 */ lwz r0, 0x4(r3) +/* 80334BDC 003317BC 38 A0 00 01 */ li r5, 0x1 /* 80334BE0 003317C0 3D 20 80 3C */ lis r9, __THPJpegNaturalOrder@ha /* 80334BE4 003317C4 39 49 94 10 */ addi r10, r9, __THPJpegNaturalOrder@l /* 80334BE8 003317C8 48 00 02 F0 */ b .L_80334ED8 .L_80334BEC: -/* 80334BEC 003317CC 3B E6 00 04 */ addi r31, r6, 4 +/* 80334BEC 003317CC 3B E6 00 04 */ addi r31, r6, 0x4 /* 80334BF0 003317D0 2C 06 00 1C */ cmpwi r6, 0x1c -/* 80334BF4 003317D4 5C 0C FE FE */ rlwnm r12, r0, r31, 0x1b, 0x1f +/* 80334BF4 003317D4 5C 0C FE FE */ rlwnm r12, r0, r31, 27, 31 /* 80334BF8 003317D8 41 81 00 B8 */ bgt .L_80334CB0 /* 80334BFC 003317DC 7F C8 60 AE */ lbzx r30, r8, r12 /* 80334C00 003317E0 7F E7 60 AE */ lbzx r31, r7, r12 @@ -5826,42 +5869,42 @@ __THPHuffDecodeDCTCompY: /* 80334C0C 003317EC 7C C6 FA 14 */ add r6, r6, r31 /* 80334C10 003317F0 48 00 02 28 */ b .L_80334E38 .L_80334C14: -/* 80334C14 003317F4 38 C6 00 05 */ addi r6, r6, 5 +/* 80334C14 003317F4 38 C6 00 05 */ addi r6, r6, 0x5 /* 80334C18 003317F8 39 28 00 44 */ addi r9, r8, 0x44 /* 80334C1C 003317FC 39 60 00 14 */ li r11, 0x14 -/* 80334C20 00331800 3B E0 00 05 */ li r31, 5 +/* 80334C20 00331800 3B E0 00 05 */ li r31, 0x5 /* 80334C24 00331804 39 29 00 14 */ addi r9, r9, 0x14 .L_80334C28: /* 80334C28 00331808 2C 06 00 21 */ cmpwi r6, 0x21 /* 80334C2C 0033180C 55 8C 08 3C */ slwi r12, r12, 1 /* 80334C30 00331810 41 82 00 18 */ beq .L_80334C48 -/* 80334C34 00331814 5C 1E 37 FE */ rlwnm r30, r0, r6, 0x1f, 0x1f -/* 80334C38 00331818 85 69 00 04 */ lwzu r11, 4(r9) +/* 80334C34 00331814 5C 1E 37 FE */ rlwnm r30, r0, r6, 31, 31 +/* 80334C38 00331818 85 69 00 04 */ lwzu r11, 0x4(r9) /* 80334C3C 0033181C 7D 8C F3 78 */ or r12, r12, r30 -/* 80334C40 00331820 38 C6 00 01 */ addi r6, r6, 1 +/* 80334C40 00331820 38 C6 00 01 */ addi r6, r6, 0x1 /* 80334C44 00331824 48 00 00 44 */ b .L_80334C88 .L_80334C48: -/* 80334C48 00331828 83 C3 00 00 */ lwz r30, 0(r3) -/* 80334C4C 0033182C 38 C0 00 01 */ li r6, 1 -/* 80334C50 00331830 84 1E 00 04 */ lwzu r0, 4(r30) -/* 80334C54 00331834 85 69 00 04 */ lwzu r11, 4(r9) -/* 80334C58 00331838 93 C3 00 00 */ stw r30, 0(r3) -/* 80334C5C 0033183C 50 0C 0F FE */ rlwimi r12, r0, 1, 0x1f, 0x1f +/* 80334C48 00331828 83 C3 00 00 */ lwz r30, 0x0(r3) +/* 80334C4C 0033182C 38 C0 00 01 */ li r6, 0x1 +/* 80334C50 00331830 84 1E 00 04 */ lwzu r0, 0x4(r30) +/* 80334C54 00331834 85 69 00 04 */ lwzu r11, 0x4(r9) +/* 80334C58 00331838 93 C3 00 00 */ stw r30, 0x0(r3) +/* 80334C5C 0033183C 50 0C 0F FE */ rlwimi r12, r0, 1, 31, 31 /* 80334C60 00331840 48 00 00 14 */ b .L_80334C74 .L_80334C64: /* 80334C64 00331844 55 8C 08 3C */ slwi r12, r12, 1 -/* 80334C68 00331848 5C 1E 37 FE */ rlwnm r30, r0, r6, 0x1f, 0x1f -/* 80334C6C 0033184C 85 69 00 04 */ lwzu r11, 4(r9) +/* 80334C68 00331848 5C 1E 37 FE */ rlwnm r30, r0, r6, 31, 31 +/* 80334C6C 0033184C 85 69 00 04 */ lwzu r11, 0x4(r9) /* 80334C70 00331850 7D 8C F3 78 */ or r12, r12, r30 .L_80334C74: /* 80334C74 00331854 7C 0C 58 00 */ cmpw r12, r11 -/* 80334C78 00331858 38 C6 00 01 */ addi r6, r6, 1 -/* 80334C7C 0033185C 3B FF 00 01 */ addi r31, r31, 1 +/* 80334C78 00331858 38 C6 00 01 */ addi r6, r6, 0x1 +/* 80334C7C 0033185C 3B FF 00 01 */ addi r31, r31, 0x1 /* 80334C80 00331860 41 81 FF E4 */ bgt .L_80334C64 /* 80334C84 00331864 48 00 00 10 */ b .L_80334C94 .L_80334C88: /* 80334C88 00331868 7C 0C 58 00 */ cmpw r12, r11 -/* 80334C8C 0033186C 3B FF 00 01 */ addi r31, r31, 1 +/* 80334C8C 0033186C 3B FF 00 01 */ addi r31, r31, 0x1 /* 80334C90 00331870 41 81 FF 98 */ bgt .L_80334C28 .L_80334C94: /* 80334C94 00331874 57 E9 10 3A */ slwi r9, r31, 2 @@ -5873,10 +5916,10 @@ __THPHuffDecodeDCTCompY: /* 80334CAC 0033188C 48 00 01 8C */ b .L_80334E38 .L_80334CB0: /* 80334CB0 00331890 2C 06 00 21 */ cmpwi r6, 0x21 -/* 80334CB4 00331894 81 83 00 00 */ lwz r12, 0(r3) +/* 80334CB4 00331894 81 83 00 00 */ lwz r12, 0x0(r3) /* 80334CB8 00331898 41 82 00 34 */ beq .L_80334CEC /* 80334CBC 0033189C 2C 06 00 20 */ cmpwi r6, 0x20 -/* 80334CC0 003318A0 5C 1F FE FE */ rlwnm r31, r0, r31, 0x1b, 0x1f +/* 80334CC0 003318A0 5C 1F FE FE */ rlwnm r31, r0, r31, 27, 31 /* 80334CC4 003318A4 41 82 00 8C */ beq .L_80334D50 /* 80334CC8 003318A8 7F C8 F8 AE */ lbzx r30, r8, r31 /* 80334CCC 003318AC 7F A7 F8 AE */ lbzx r29, r7, r31 @@ -5888,37 +5931,37 @@ __THPHuffDecodeDCTCompY: /* 80334CE4 003318C4 7F E6 FB 78 */ mr r6, r31 /* 80334CE8 003318C8 48 00 01 50 */ b .L_80334E38 .L_80334CEC: -/* 80334CEC 003318CC 84 0C 00 04 */ lwzu r0, 4(r12) -/* 80334CF0 003318D0 54 1F 2E FE */ srwi r31, r0, 0x1b -/* 80334CF4 003318D4 91 83 00 00 */ stw r12, 0(r3) +/* 80334CEC 003318CC 84 0C 00 04 */ lwzu r0, 0x4(r12) +/* 80334CF0 003318D0 54 1F 2E FE */ srwi r31, r0, 27 +/* 80334CF4 003318D4 91 83 00 00 */ stw r12, 0x0(r3) /* 80334CF8 003318D8 7F C8 F8 AE */ lbzx r30, r8, r31 /* 80334CFC 003318DC 7D 87 F8 AE */ lbzx r12, r7, r31 /* 80334D00 003318E0 2C 1E 00 FF */ cmpwi r30, 0xff -/* 80334D04 003318E4 38 CC 00 01 */ addi r6, r12, 1 +/* 80334D04 003318E4 38 CC 00 01 */ addi r6, r12, 0x1 /* 80334D08 003318E8 41 82 00 08 */ beq .L_80334D10 /* 80334D0C 003318EC 48 00 01 2C */ b .L_80334E38 .L_80334D10: -/* 80334D10 003318F0 3B C0 00 05 */ li r30, 5 +/* 80334D10 003318F0 3B C0 00 05 */ li r30, 0x5 /* 80334D14 003318F4 38 C0 00 14 */ li r6, 0x14 .L_80334D18: /* 80334D18 003318F8 21 9E 00 1F */ subfic r12, r30, 0x1f -/* 80334D1C 003318FC 3B DE 00 01 */ addi r30, r30, 1 -/* 80334D20 00331900 38 C6 00 04 */ addi r6, r6, 4 +/* 80334D1C 003318FC 3B DE 00 01 */ addi r30, r30, 0x1 +/* 80334D20 00331900 38 C6 00 04 */ addi r6, r6, 0x4 /* 80334D24 00331904 7C 1F 64 30 */ srw r31, r0, r12 /* 80334D28 00331908 7D 88 32 14 */ add r12, r8, r6 /* 80334D2C 0033190C 81 2C 00 44 */ lwz r9, 0x44(r12) /* 80334D30 00331910 7C 1F 48 00 */ cmpw r31, r9 /* 80334D34 00331914 41 81 FF E4 */ bgt .L_80334D18 /* 80334D38 00331918 81 68 00 40 */ lwz r11, 0x40(r8) -/* 80334D3C 0033191C 38 DE 00 01 */ addi r6, r30, 1 +/* 80334D3C 0033191C 38 DE 00 01 */ addi r6, r30, 0x1 /* 80334D40 00331920 81 2C 00 8C */ lwz r9, 0x8c(r12) /* 80334D44 00331924 7D 29 5A 14 */ add r9, r9, r11 /* 80334D48 00331928 7F DF 48 AE */ lbzx r30, r31, r9 /* 80334D4C 0033192C 48 00 00 EC */ b .L_80334E38 .L_80334D50: -/* 80334D50 00331930 84 0C 00 04 */ lwzu r0, 4(r12) -/* 80334D54 00331934 91 83 00 00 */ stw r12, 0(r3) -/* 80334D58 00331938 50 1F 27 3E */ rlwimi r31, r0, 4, 0x1c, 0x1f +/* 80334D50 00331930 84 0C 00 04 */ lwzu r0, 0x4(r12) +/* 80334D54 00331934 91 83 00 00 */ stw r12, 0x0(r3) +/* 80334D58 00331938 50 1F 27 3E */ rlwimi r31, r0, 4, 28, 31 /* 80334D5C 0033193C 7F C8 F8 AE */ lbzx r30, r8, r31 /* 80334D60 00331940 7C C7 F8 AE */ lbzx r6, r7, r31 /* 80334D64 00331944 2C 1E 00 FF */ cmpwi r30, 0xff @@ -5928,15 +5971,15 @@ __THPHuffDecodeDCTCompY: /* 80334D70 00331950 39 28 00 44 */ addi r9, r8, 0x44 /* 80334D74 00331954 38 C0 00 14 */ li r6, 0x14 /* 80334D78 00331958 39 29 00 14 */ addi r9, r9, 0x14 -/* 80334D7C 0033195C 57 EC D8 08 */ slwi r12, r31, 0x1b -/* 80334D80 00331960 38 C0 00 05 */ li r6, 5 -/* 80334D84 00331964 50 0C F8 7E */ rlwimi r12, r0, 0x1f, 1, 0x1f +/* 80334D7C 0033195C 57 EC D8 08 */ slwi r12, r31, 27 +/* 80334D80 00331960 38 C0 00 05 */ li r6, 0x5 +/* 80334D84 00331964 50 0C F8 7E */ rlwimi r12, r0, 31, 1, 31 .L_80334D88: /* 80334D88 00331968 23 C6 00 1F */ subfic r30, r6, 0x1f -/* 80334D8C 0033196C 85 69 00 04 */ lwzu r11, 4(r9) +/* 80334D8C 0033196C 85 69 00 04 */ lwzu r11, 0x4(r9) /* 80334D90 00331970 7D 9F F4 30 */ srw r31, r12, r30 /* 80334D94 00331974 7C 1F 58 00 */ cmpw r31, r11 -/* 80334D98 00331978 38 C6 00 01 */ addi r6, r6, 1 +/* 80334D98 00331978 38 C6 00 01 */ addi r6, r6, 0x1 /* 80334D9C 0033197C 41 81 FF EC */ bgt .L_80334D88 /* 80334DA0 00331980 54 C9 10 3A */ slwi r9, r6, 2 /* 80334DA4 00331984 81 68 00 40 */ lwz r11, 0x40(r8) @@ -5947,31 +5990,31 @@ __THPHuffDecodeDCTCompY: /* 80334DB8 00331998 48 00 00 80 */ b .L_80334E38 .L_80334DBC: /* 80334DBC 0033199C 21 26 00 21 */ subfic r9, r6, 0x21 -/* 80334DC0 003319A0 39 60 FF FF */ li r11, -1 +/* 80334DC0 003319A0 39 60 FF FF */ li r11, -0x1 /* 80334DC4 003319A4 7D 69 48 30 */ slw r9, r11, r9 /* 80334DC8 003319A8 7C 1F 48 78 */ andc r31, r0, r9 /* 80334DCC 003319AC 39 28 00 44 */ addi r9, r8, 0x44 -/* 80334DD0 003319B0 81 83 00 00 */ lwz r12, 0(r3) +/* 80334DD0 003319B0 81 83 00 00 */ lwz r12, 0x0(r3) /* 80334DD4 003319B4 21 66 00 21 */ subfic r11, r6, 0x21 -/* 80334DD8 003319B8 3B CB 00 01 */ addi r30, r11, 1 +/* 80334DD8 003319B8 3B CB 00 01 */ addi r30, r11, 0x1 /* 80334DDC 003319BC 55 6B 10 3A */ slwi r11, r11, 2 -/* 80334DE0 003319C0 84 0C 00 04 */ lwzu r0, 4(r12) +/* 80334DE0 003319C0 84 0C 00 04 */ lwzu r0, 0x4(r12) /* 80334DE4 003319C4 7D 29 5A 14 */ add r9, r9, r11 -/* 80334DE8 003319C8 91 83 00 00 */ stw r12, 0(r3) +/* 80334DE8 003319C8 91 83 00 00 */ stw r12, 0x0(r3) /* 80334DEC 003319CC 57 FF 08 3C */ slwi r31, r31, 1 -/* 80334DF0 003319D0 50 1F 0F FE */ rlwimi r31, r0, 1, 0x1f, 0x1f -/* 80334DF4 003319D4 85 69 00 04 */ lwzu r11, 4(r9) -/* 80334DF8 003319D8 38 C0 00 02 */ li r6, 2 +/* 80334DF0 003319D0 50 1F 0F FE */ rlwimi r31, r0, 1, 31, 31 +/* 80334DF4 003319D4 85 69 00 04 */ lwzu r11, 0x4(r9) +/* 80334DF8 003319D8 38 C0 00 02 */ li r6, 0x2 /* 80334DFC 003319DC 48 00 00 18 */ b .L_80334E14 .L_80334E00: /* 80334E00 003319E0 57 FF 08 3C */ slwi r31, r31, 1 -/* 80334E04 003319E4 3B DE 00 01 */ addi r30, r30, 1 -/* 80334E08 003319E8 85 69 00 04 */ lwzu r11, 4(r9) +/* 80334E04 003319E4 3B DE 00 01 */ addi r30, r30, 0x1 +/* 80334E08 003319E8 85 69 00 04 */ lwzu r11, 0x4(r9) /* 80334E0C 003319EC 7F FF EA 14 */ add r31, r31, r29 -/* 80334E10 003319F0 38 C6 00 01 */ addi r6, r6, 1 +/* 80334E10 003319F0 38 C6 00 01 */ addi r6, r6, 0x1 .L_80334E14: /* 80334E14 003319F4 7C 1F 58 00 */ cmpw r31, r11 -/* 80334E18 003319F8 5C 1D 37 FE */ rlwnm r29, r0, r6, 0x1f, 0x1f +/* 80334E18 003319F8 5C 1D 37 FE */ rlwnm r29, r0, r6, 31, 31 /* 80334E1C 003319FC 41 81 FF E4 */ bgt .L_80334E00 /* 80334E20 00331A00 57 C9 10 3A */ slwi r9, r30, 2 /* 80334E24 00331A04 81 68 00 40 */ lwz r11, 0x40(r8) @@ -5986,7 +6029,7 @@ __THPHuffDecodeDCTCompY: /* 80334E44 00331A24 7C A5 F2 14 */ add r5, r5, r30 /* 80334E48 00331A28 23 E6 00 21 */ subfic r31, r6, 0x21 /* 80334E4C 00331A2C 7D 9F E8 11 */ subfc. r12, r31, r29 -/* 80334E50 00331A30 39 26 FF FF */ addi r9, r6, -1 +/* 80334E50 00331A30 39 26 FF FF */ subi r9, r6, 0x1 /* 80334E54 00331A34 41 81 00 18 */ bgt .L_80334E6C /* 80334E58 00331A38 7C C6 EA 14 */ add r6, r6, r29 /* 80334E5C 00331A3C 7C 0B 48 30 */ slw r11, r0, r9 @@ -5994,11 +6037,11 @@ __THPHuffDecodeDCTCompY: /* 80334E64 00331A44 7D 7E 4C 30 */ srw r30, r11, r9 /* 80334E68 00331A48 48 00 00 28 */ b .L_80334E90 .L_80334E6C: -/* 80334E6C 00331A4C 81 63 00 00 */ lwz r11, 0(r3) +/* 80334E6C 00331A4C 81 63 00 00 */ lwz r11, 0x0(r3) /* 80334E70 00331A50 7C 09 48 30 */ slw r9, r0, r9 -/* 80334E74 00331A54 84 0B 00 04 */ lwzu r0, 4(r11) -/* 80334E78 00331A58 38 CC 00 01 */ addi r6, r12, 1 -/* 80334E7C 00331A5C 91 63 00 00 */ stw r11, 0(r3) +/* 80334E74 00331A54 84 0B 00 04 */ lwzu r0, 0x4(r11) +/* 80334E78 00331A58 38 CC 00 01 */ addi r6, r12, 0x1 +/* 80334E7C 00331A5C 91 63 00 00 */ stw r11, 0x0(r3) /* 80334E80 00331A60 7C 0B FC 30 */ srw r11, r0, r31 /* 80334E84 00331A64 7D 2B 4A 14 */ add r9, r11, r9 /* 80334E88 00331A68 21 9D 00 20 */ subfic r12, r29, 0x20 @@ -6008,13 +6051,13 @@ __THPHuffDecodeDCTCompY: /* 80334E94 00331A74 21 3D 00 20 */ subfic r9, r29, 0x20 /* 80334E98 00331A78 7C 0B 48 00 */ cmpw r11, r9 /* 80334E9C 00331A7C 40 81 00 14 */ ble .L_80334EB0 -/* 80334EA0 00331A80 39 20 FF FF */ li r9, -1 +/* 80334EA0 00331A80 39 20 FF FF */ li r9, -0x1 /* 80334EA4 00331A84 7D 29 E8 30 */ slw r9, r9, r29 /* 80334EA8 00331A88 7F C9 F2 14 */ add r30, r9, r30 -/* 80334EAC 00331A8C 3B DE 00 01 */ addi r30, r30, 1 +/* 80334EAC 00331A8C 3B DE 00 01 */ addi r30, r30, 0x1 .L_80334EB0: /* 80334EB0 00331A90 7D 2A 2A 14 */ add r9, r10, r5 -/* 80334EB4 00331A94 89 29 00 00 */ lbz r9, 0(r9) +/* 80334EB4 00331A94 89 29 00 00 */ lbz r9, 0x0(r9) /* 80334EB8 00331A98 7F CB 07 34 */ extsh r11, r30 /* 80334EBC 00331A9C 55 29 08 3C */ slwi r9, r9, 1 /* 80334EC0 00331AA0 7D 64 4B 2E */ sthx r11, r4, r9 @@ -6024,82 +6067,88 @@ __THPHuffDecodeDCTCompY: /* 80334ECC 00331AAC 40 82 00 14 */ bne .L_80334EE0 /* 80334ED0 00331AB0 38 A5 00 0F */ addi r5, r5, 0xf .L_80334ED4: -/* 80334ED4 00331AB4 38 A5 00 01 */ addi r5, r5, 1 +/* 80334ED4 00331AB4 38 A5 00 01 */ addi r5, r5, 0x1 .L_80334ED8: /* 80334ED8 00331AB8 2C 05 00 40 */ cmpwi r5, 0x40 /* 80334EDC 00331ABC 41 80 FD 10 */ blt .L_80334BEC .L_80334EE0: -/* 80334EE0 00331AC0 90 C3 00 08 */ stw r6, 8(r3) -/* 80334EE4 00331AC4 90 03 00 04 */ stw r0, 4(r3) +/* 80334EE0 00331AC0 90 C3 00 08 */ stw r6, 0x8(r3) +/* 80334EE4 00331AC4 90 03 00 04 */ stw r0, 0x4(r3) /* 80334EE8 00331AC8 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 80334EEC 00331ACC 83 C1 00 18 */ lwz r30, 0x18(r1) /* 80334EF0 00331AD0 83 A1 00 14 */ lwz r29, 0x14(r1) /* 80334EF4 00331AD4 38 21 00 20 */ addi r1, r1, 0x20 /* 80334EF8 00331AD8 4E 80 00 20 */ blr -/* 80334EFC 00331ADC 00 00 00 00 */ .4byte 0x00000000 /* unknown instruction */ +.endfn __THPHuffDecodeDCTCompY -.global __THPHuffDecodeDCTCompU -__THPHuffDecodeDCTCompU: +# .text:0x58CC | 0x80334EFC | size: 0x4 +.fn gap_03_80334EFC_text, global +.hidden gap_03_80334EFC_text +/* 80334EFC 00331ADC 00 00 00 00 */ .4byte 0x00000000 /* invalid */ +.endfn gap_03_80334EFC_text + +# .text:0x58D0 | 0x80334F00 | size: 0x6A8 +.fn __THPHuffDecodeDCTCompU, local /* 80334F00 00331AE0 94 21 FF E8 */ stwu r1, -0x18(r1) /* 80334F04 00331AE4 93 E1 00 14 */ stw r31, 0x14(r1) /* 80334F08 00331AE8 93 C1 00 10 */ stw r30, 0x10(r1) -/* 80334F0C 00331AEC 7C 00 27 EC */ dcbz 0, r4 -/* 80334F10 00331AF0 81 8D BA 80 */ lwz r12, Udchuff@sda21(r13) -/* 80334F14 00331AF4 81 63 00 08 */ lwz r11, 8(r3) +/* 80334F0C 00331AEC 7C 00 27 EC */ dcbz r0, r4 +/* 80334F10 00331AF0 81 8D BA 80 */ lwz r12, Udchuff@sda21(r0) +/* 80334F14 00331AF4 81 63 00 08 */ lwz r11, 0x8(r3) /* 80334F18 00331AF8 39 2C 00 20 */ addi r9, r12, 0x20 -/* 80334F1C 00331AFC 81 43 00 04 */ lwz r10, 4(r3) -/* 80334F20 00331B00 38 AB 00 04 */ addi r5, r11, 4 +/* 80334F1C 00331AFC 81 43 00 04 */ lwz r10, 0x4(r3) +/* 80334F20 00331B00 38 AB 00 04 */ addi r5, r11, 0x4 /* 80334F24 00331B04 2C 0B 00 1C */ cmpwi r11, 0x1c -/* 80334F28 00331B08 5D 48 2E FE */ rlwnm r8, r10, r5, 0x1b, 0x1f +/* 80334F28 00331B08 5D 48 2E FE */ rlwnm r8, r10, r5, 27, 31 /* 80334F2C 00331B0C 41 81 00 C4 */ bgt .L_80334FF0 /* 80334F30 00331B10 7C AC 40 AE */ lbzx r5, r12, r8 /* 80334F34 00331B14 7D 29 40 AE */ lbzx r9, r9, r8 /* 80334F38 00331B18 2C 05 00 FF */ cmpwi r5, 0xff /* 80334F3C 00331B1C 41 82 00 10 */ beq .L_80334F4C /* 80334F40 00331B20 7D 6B 4A 14 */ add r11, r11, r9 -/* 80334F44 00331B24 91 63 00 08 */ stw r11, 8(r3) +/* 80334F44 00331B24 91 63 00 08 */ stw r11, 0x8(r3) /* 80334F48 00331B28 48 00 02 4C */ b .L_80335194 .L_80334F4C: /* 80334F4C 00331B2C 38 CC 00 44 */ addi r6, r12, 0x44 -/* 80334F50 00331B30 39 6B 00 05 */ addi r11, r11, 5 +/* 80334F50 00331B30 39 6B 00 05 */ addi r11, r11, 0x5 /* 80334F54 00331B34 38 00 00 14 */ li r0, 0x14 -/* 80334F58 00331B38 38 A0 00 05 */ li r5, 5 +/* 80334F58 00331B38 38 A0 00 05 */ li r5, 0x5 /* 80334F5C 00331B3C 38 C6 00 14 */ addi r6, r6, 0x14 .L_80334F60: /* 80334F60 00331B40 2C 0B 00 21 */ cmpwi r11, 0x21 /* 80334F64 00331B44 55 08 08 3C */ slwi r8, r8, 1 /* 80334F68 00331B48 41 82 00 18 */ beq .L_80334F80 -/* 80334F6C 00331B4C 5D 49 5F FE */ rlwnm r9, r10, r11, 0x1f, 0x1f -/* 80334F70 00331B50 84 06 00 04 */ lwzu r0, 4(r6) +/* 80334F6C 00331B4C 5D 49 5F FE */ rlwnm r9, r10, r11, 31, 31 +/* 80334F70 00331B50 84 06 00 04 */ lwzu r0, 0x4(r6) /* 80334F74 00331B54 7D 08 4B 78 */ or r8, r8, r9 -/* 80334F78 00331B58 39 6B 00 01 */ addi r11, r11, 1 +/* 80334F78 00331B58 39 6B 00 01 */ addi r11, r11, 0x1 /* 80334F7C 00331B5C 48 00 00 48 */ b .L_80334FC4 .L_80334F80: -/* 80334F80 00331B60 81 23 00 00 */ lwz r9, 0(r3) -/* 80334F84 00331B64 39 60 00 01 */ li r11, 1 -/* 80334F88 00331B68 85 49 00 04 */ lwzu r10, 4(r9) -/* 80334F8C 00331B6C 84 06 00 04 */ lwzu r0, 4(r6) -/* 80334F90 00331B70 91 23 00 00 */ stw r9, 0(r3) -/* 80334F94 00331B74 51 48 0F FE */ rlwimi r8, r10, 1, 0x1f, 0x1f -/* 80334F98 00331B78 91 43 00 04 */ stw r10, 4(r3) +/* 80334F80 00331B60 81 23 00 00 */ lwz r9, 0x0(r3) +/* 80334F84 00331B64 39 60 00 01 */ li r11, 0x1 +/* 80334F88 00331B68 85 49 00 04 */ lwzu r10, 0x4(r9) +/* 80334F8C 00331B6C 84 06 00 04 */ lwzu r0, 0x4(r6) +/* 80334F90 00331B70 91 23 00 00 */ stw r9, 0x0(r3) +/* 80334F94 00331B74 51 48 0F FE */ rlwimi r8, r10, 1, 31, 31 +/* 80334F98 00331B78 91 43 00 04 */ stw r10, 0x4(r3) /* 80334F9C 00331B7C 48 00 00 14 */ b .L_80334FB0 .L_80334FA0: /* 80334FA0 00331B80 55 08 08 3C */ slwi r8, r8, 1 -/* 80334FA4 00331B84 5D 49 5F FE */ rlwnm r9, r10, r11, 0x1f, 0x1f -/* 80334FA8 00331B88 84 06 00 04 */ lwzu r0, 4(r6) +/* 80334FA4 00331B84 5D 49 5F FE */ rlwnm r9, r10, r11, 31, 31 +/* 80334FA8 00331B88 84 06 00 04 */ lwzu r0, 0x4(r6) /* 80334FAC 00331B8C 7D 08 4B 78 */ or r8, r8, r9 .L_80334FB0: /* 80334FB0 00331B90 7C 08 00 00 */ cmpw r8, r0 -/* 80334FB4 00331B94 39 6B 00 01 */ addi r11, r11, 1 -/* 80334FB8 00331B98 38 A5 00 01 */ addi r5, r5, 1 +/* 80334FB4 00331B94 39 6B 00 01 */ addi r11, r11, 0x1 +/* 80334FB8 00331B98 38 A5 00 01 */ addi r5, r5, 0x1 /* 80334FBC 00331B9C 41 81 FF E4 */ bgt .L_80334FA0 /* 80334FC0 00331BA0 48 00 00 10 */ b .L_80334FD0 .L_80334FC4: /* 80334FC4 00331BA4 7C 08 00 00 */ cmpw r8, r0 -/* 80334FC8 00331BA8 38 A5 00 01 */ addi r5, r5, 1 +/* 80334FC8 00331BA8 38 A5 00 01 */ addi r5, r5, 0x1 /* 80334FCC 00331BAC 41 81 FF 94 */ bgt .L_80334F60 .L_80334FD0: -/* 80334FD0 00331BB0 91 63 00 08 */ stw r11, 8(r3) +/* 80334FD0 00331BB0 91 63 00 08 */ stw r11, 0x8(r3) /* 80334FD4 00331BB4 54 A0 10 3A */ slwi r0, r5, 2 /* 80334FD8 00331BB8 7C AC 02 14 */ add r5, r12, r0 /* 80334FDC 00331BBC 80 CC 00 40 */ lwz r6, 0x40(r12) @@ -6109,10 +6158,10 @@ __THPHuffDecodeDCTCompU: /* 80334FEC 00331BCC 48 00 01 A8 */ b .L_80335194 .L_80334FF0: /* 80334FF0 00331BD0 2C 0B 00 21 */ cmpwi r11, 0x21 -/* 80334FF4 00331BD4 81 03 00 00 */ lwz r8, 0(r3) +/* 80334FF4 00331BD4 81 03 00 00 */ lwz r8, 0x0(r3) /* 80334FF8 00331BD8 41 82 00 B4 */ beq .L_803350AC /* 80334FFC 00331BDC 2C 0B 00 20 */ cmpwi r11, 0x20 -/* 80335000 00331BE0 5D 45 2E FE */ rlwnm r5, r10, r5, 0x1b, 0x1f +/* 80335000 00331BE0 5D 45 2E FE */ rlwnm r5, r10, r5, 27, 31 /* 80335004 00331BE4 41 82 00 2C */ beq .L_80335030 /* 80335008 00331BE8 7D 0C 28 AE */ lbzx r8, r12, r5 /* 8033500C 00331BEC 7D 29 28 AE */ lbzx r9, r9, r5 @@ -6120,19 +6169,19 @@ __THPHuffDecodeDCTCompU: /* 80335014 00331BF4 7C AB 4A 14 */ add r5, r11, r9 /* 80335018 00331BF8 41 82 00 F8 */ beq .L_80335110 /* 8033501C 00331BFC 2C 05 00 21 */ cmpwi r5, 0x21 -/* 80335020 00331C00 90 A3 00 08 */ stw r5, 8(r3) +/* 80335020 00331C00 90 A3 00 08 */ stw r5, 0x8(r3) /* 80335024 00331C04 41 81 00 EC */ bgt .L_80335110 /* 80335028 00331C08 7D 05 43 78 */ mr r5, r8 /* 8033502C 00331C0C 48 00 01 68 */ b .L_80335194 .L_80335030: -/* 80335030 00331C10 85 48 00 04 */ lwzu r10, 4(r8) -/* 80335034 00331C14 91 03 00 00 */ stw r8, 0(r3) -/* 80335038 00331C18 51 45 27 3E */ rlwimi r5, r10, 4, 0x1c, 0x1f +/* 80335030 00331C10 85 48 00 04 */ lwzu r10, 0x4(r8) +/* 80335034 00331C14 91 03 00 00 */ stw r8, 0x0(r3) +/* 80335038 00331C18 51 45 27 3E */ rlwimi r5, r10, 4, 28, 31 /* 8033503C 00331C1C 7D 0C 28 AE */ lbzx r8, r12, r5 /* 80335040 00331C20 7D 29 28 AE */ lbzx r9, r9, r5 -/* 80335044 00331C24 91 43 00 04 */ stw r10, 4(r3) +/* 80335044 00331C24 91 43 00 04 */ stw r10, 0x4(r3) /* 80335048 00331C28 2C 08 00 FF */ cmpwi r8, 0xff -/* 8033504C 00331C2C 91 23 00 08 */ stw r9, 8(r3) +/* 8033504C 00331C2C 91 23 00 08 */ stw r9, 0x8(r3) /* 80335050 00331C30 41 82 00 0C */ beq .L_8033505C /* 80335054 00331C34 7D 05 43 78 */ mr r5, r8 /* 80335058 00331C38 48 00 01 3C */ b .L_80335194 @@ -6140,17 +6189,17 @@ __THPHuffDecodeDCTCompU: /* 8033505C 00331C3C 38 CC 00 44 */ addi r6, r12, 0x44 /* 80335060 00331C40 39 60 00 14 */ li r11, 0x14 /* 80335064 00331C44 38 C6 00 14 */ addi r6, r6, 0x14 -/* 80335068 00331C48 54 A8 D8 08 */ slwi r8, r5, 0x1b -/* 8033506C 00331C4C 39 60 00 05 */ li r11, 5 -/* 80335070 00331C50 51 48 F8 7E */ rlwimi r8, r10, 0x1f, 1, 0x1f +/* 80335068 00331C48 54 A8 D8 08 */ slwi r8, r5, 27 +/* 8033506C 00331C4C 39 60 00 05 */ li r11, 0x5 +/* 80335070 00331C50 51 48 F8 7E */ rlwimi r8, r10, 31, 1, 31 .L_80335074: /* 80335074 00331C54 21 4B 00 1F */ subfic r10, r11, 0x1f -/* 80335078 00331C58 84 06 00 04 */ lwzu r0, 4(r6) +/* 80335078 00331C58 84 06 00 04 */ lwzu r0, 0x4(r6) /* 8033507C 00331C5C 7D 05 54 30 */ srw r5, r8, r10 /* 80335080 00331C60 7C 05 00 00 */ cmpw r5, r0 -/* 80335084 00331C64 39 6B 00 01 */ addi r11, r11, 1 +/* 80335084 00331C64 39 6B 00 01 */ addi r11, r11, 0x1 /* 80335088 00331C68 41 81 FF EC */ bgt .L_80335074 -/* 8033508C 00331C6C 91 63 00 08 */ stw r11, 8(r3) +/* 8033508C 00331C6C 91 63 00 08 */ stw r11, 0x8(r3) .L_80335090: /* 80335090 00331C70 55 60 10 3A */ slwi r0, r11, 2 /* 80335094 00331C74 80 EC 00 40 */ lwz r7, 0x40(r12) @@ -6160,63 +6209,63 @@ __THPHuffDecodeDCTCompU: /* 803350A4 00331C84 7C A5 00 AE */ lbzx r5, r5, r0 /* 803350A8 00331C88 48 00 00 EC */ b .L_80335194 .L_803350AC: -/* 803350AC 00331C8C 85 48 00 04 */ lwzu r10, 4(r8) -/* 803350B0 00331C90 55 45 2E FE */ srwi r5, r10, 0x1b -/* 803350B4 00331C94 91 03 00 00 */ stw r8, 0(r3) +/* 803350AC 00331C8C 85 48 00 04 */ lwzu r10, 0x4(r8) +/* 803350B0 00331C90 55 45 2E FE */ srwi r5, r10, 27 +/* 803350B4 00331C94 91 03 00 00 */ stw r8, 0x0(r3) /* 803350B8 00331C98 7D 6C 28 AE */ lbzx r11, r12, r5 /* 803350BC 00331C9C 7D 29 28 AE */ lbzx r9, r9, r5 /* 803350C0 00331CA0 2C 0B 00 FF */ cmpwi r11, 0xff -/* 803350C4 00331CA4 91 43 00 04 */ stw r10, 4(r3) -/* 803350C8 00331CA8 39 29 00 01 */ addi r9, r9, 1 +/* 803350C4 00331CA4 91 43 00 04 */ stw r10, 0x4(r3) +/* 803350C8 00331CA8 39 29 00 01 */ addi r9, r9, 0x1 /* 803350CC 00331CAC 41 82 00 10 */ beq .L_803350DC -/* 803350D0 00331CB0 91 23 00 08 */ stw r9, 8(r3) +/* 803350D0 00331CB0 91 23 00 08 */ stw r9, 0x8(r3) /* 803350D4 00331CB4 7D 65 5B 78 */ mr r5, r11 /* 803350D8 00331CB8 48 00 00 BC */ b .L_80335194 .L_803350DC: -/* 803350DC 00331CBC 39 60 00 05 */ li r11, 5 +/* 803350DC 00331CBC 39 60 00 05 */ li r11, 0x5 /* 803350E0 00331CC0 38 C0 00 14 */ li r6, 0x14 .L_803350E4: /* 803350E4 00331CC4 21 0B 00 1F */ subfic r8, r11, 0x1f -/* 803350E8 00331CC8 39 6B 00 01 */ addi r11, r11, 1 -/* 803350EC 00331CCC 38 C6 00 04 */ addi r6, r6, 4 +/* 803350E8 00331CC8 39 6B 00 01 */ addi r11, r11, 0x1 +/* 803350EC 00331CCC 38 C6 00 04 */ addi r6, r6, 0x4 /* 803350F0 00331CD0 7D 45 44 30 */ srw r5, r10, r8 /* 803350F4 00331CD4 7C EC 32 14 */ add r7, r12, r6 /* 803350F8 00331CD8 80 07 00 44 */ lwz r0, 0x44(r7) /* 803350FC 00331CDC 7C 05 00 00 */ cmpw r5, r0 /* 80335100 00331CE0 41 81 FF E4 */ bgt .L_803350E4 -/* 80335104 00331CE4 38 0B 00 01 */ addi r0, r11, 1 -/* 80335108 00331CE8 90 03 00 08 */ stw r0, 8(r3) +/* 80335104 00331CE4 38 0B 00 01 */ addi r0, r11, 0x1 +/* 80335108 00331CE8 90 03 00 08 */ stw r0, 0x8(r3) /* 8033510C 00331CEC 4B FF FF 84 */ b .L_80335090 .L_80335110: /* 80335110 00331CF0 20 0B 00 21 */ subfic r0, r11, 0x21 -/* 80335114 00331CF4 38 A0 FF FF */ li r5, -1 +/* 80335114 00331CF4 38 A0 FF FF */ li r5, -0x1 /* 80335118 00331CF8 7C A7 00 30 */ slw r7, r5, r0 /* 8033511C 00331CFC 7D 45 38 78 */ andc r5, r10, r7 /* 80335120 00331D00 38 EC 00 44 */ addi r7, r12, 0x44 -/* 80335124 00331D04 81 03 00 00 */ lwz r8, 0(r3) +/* 80335124 00331D04 81 03 00 00 */ lwz r8, 0x0(r3) /* 80335128 00331D08 20 CB 00 21 */ subfic r6, r11, 0x21 -/* 8033512C 00331D0C 39 66 00 01 */ addi r11, r6, 1 +/* 8033512C 00331D0C 39 66 00 01 */ addi r11, r6, 0x1 /* 80335130 00331D10 54 C6 10 3A */ slwi r6, r6, 2 -/* 80335134 00331D14 85 48 00 04 */ lwzu r10, 4(r8) +/* 80335134 00331D14 85 48 00 04 */ lwzu r10, 0x4(r8) /* 80335138 00331D18 7C E7 32 14 */ add r7, r7, r6 -/* 8033513C 00331D1C 91 03 00 00 */ stw r8, 0(r3) +/* 8033513C 00331D1C 91 03 00 00 */ stw r8, 0x0(r3) /* 80335140 00331D20 54 A5 08 3C */ slwi r5, r5, 1 -/* 80335144 00331D24 91 43 00 04 */ stw r10, 4(r3) -/* 80335148 00331D28 51 45 0F FE */ rlwimi r5, r10, 1, 0x1f, 0x1f -/* 8033514C 00331D2C 84 C7 00 04 */ lwzu r6, 4(r7) -/* 80335150 00331D30 39 00 00 02 */ li r8, 2 +/* 80335144 00331D24 91 43 00 04 */ stw r10, 0x4(r3) +/* 80335148 00331D28 51 45 0F FE */ rlwimi r5, r10, 1, 31, 31 +/* 8033514C 00331D2C 84 C7 00 04 */ lwzu r6, 0x4(r7) +/* 80335150 00331D30 39 00 00 02 */ li r8, 0x2 /* 80335154 00331D34 48 00 00 18 */ b .L_8033516C .L_80335158: /* 80335158 00331D38 54 A5 08 3C */ slwi r5, r5, 1 -/* 8033515C 00331D3C 39 6B 00 01 */ addi r11, r11, 1 -/* 80335160 00331D40 84 C7 00 04 */ lwzu r6, 4(r7) +/* 8033515C 00331D3C 39 6B 00 01 */ addi r11, r11, 0x1 +/* 80335160 00331D40 84 C7 00 04 */ lwzu r6, 0x4(r7) /* 80335164 00331D44 7C A5 4A 14 */ add r5, r5, r9 -/* 80335168 00331D48 39 08 00 01 */ addi r8, r8, 1 +/* 80335168 00331D48 39 08 00 01 */ addi r8, r8, 0x1 .L_8033516C: /* 8033516C 00331D4C 7C 05 30 00 */ cmpw r5, r6 -/* 80335170 00331D50 5D 49 47 FE */ rlwnm r9, r10, r8, 0x1f, 0x1f +/* 80335170 00331D50 5D 49 47 FE */ rlwnm r9, r10, r8, 31, 31 /* 80335174 00331D54 41 81 FF E4 */ bgt .L_80335158 -/* 80335178 00331D58 91 03 00 08 */ stw r8, 8(r3) +/* 80335178 00331D58 91 03 00 08 */ stw r8, 0x8(r3) /* 8033517C 00331D5C 55 60 10 3A */ slwi r0, r11, 2 /* 80335180 00331D60 7C CC 02 14 */ add r6, r12, r0 /* 80335184 00331D64 80 EC 00 40 */ lwz r7, 0x40(r12) @@ -6226,33 +6275,33 @@ __THPHuffDecodeDCTCompU: .L_80335194: /* 80335194 00331D74 38 00 00 20 */ li r0, 0x20 /* 80335198 00331D78 7C 04 07 EC */ dcbz r4, r0 -/* 8033519C 00331D7C 38 E0 00 00 */ li r7, 0 +/* 8033519C 00331D7C 38 E0 00 00 */ li r7, 0x0 /* 803351A0 00331D80 38 00 00 40 */ li r0, 0x40 /* 803351A4 00331D84 7C 04 07 EC */ dcbz r4, r0 -/* 803351A8 00331D88 2C 05 00 00 */ cmpwi r5, 0 +/* 803351A8 00331D88 2C 05 00 00 */ cmpwi r5, 0x0 /* 803351AC 00331D8C 41 82 00 84 */ beq .L_80335230 -/* 803351B0 00331D90 80 E3 00 08 */ lwz r7, 8(r3) +/* 803351B0 00331D90 80 E3 00 08 */ lwz r7, 0x8(r3) /* 803351B4 00331D94 21 07 00 21 */ subfic r8, r7, 0x21 -/* 803351B8 00331D98 80 C3 00 04 */ lwz r6, 4(r3) +/* 803351B8 00331D98 80 C3 00 04 */ lwz r6, 0x4(r3) /* 803351BC 00331D9C 7D 28 28 11 */ subfc. r9, r8, r5 -/* 803351C0 00331DA0 39 47 FF FF */ addi r10, r7, -1 +/* 803351C0 00331DA0 39 47 FF FF */ subi r10, r7, 0x1 /* 803351C4 00331DA4 41 81 00 1C */ bgt .L_803351E0 /* 803351C8 00331DA8 7C 07 2A 14 */ add r0, r7, r5 /* 803351CC 00331DAC 7C C7 50 30 */ slw r7, r6, r10 -/* 803351D0 00331DB0 90 03 00 08 */ stw r0, 8(r3) +/* 803351D0 00331DB0 90 03 00 08 */ stw r0, 0x8(r3) /* 803351D4 00331DB4 20 05 00 20 */ subfic r0, r5, 0x20 /* 803351D8 00331DB8 7C E7 04 30 */ srw r7, r7, r0 /* 803351DC 00331DBC 48 00 00 30 */ b .L_8033520C .L_803351E0: -/* 803351E0 00331DC0 80 E3 00 00 */ lwz r7, 0(r3) +/* 803351E0 00331DC0 80 E3 00 00 */ lwz r7, 0x0(r3) /* 803351E4 00331DC4 7C C0 50 30 */ slw r0, r6, r10 -/* 803351E8 00331DC8 84 C7 00 04 */ lwzu r6, 4(r7) -/* 803351EC 00331DCC 39 29 00 01 */ addi r9, r9, 1 -/* 803351F0 00331DD0 90 C3 00 04 */ stw r6, 4(r3) +/* 803351E8 00331DC8 84 C7 00 04 */ lwzu r6, 0x4(r7) +/* 803351EC 00331DCC 39 29 00 01 */ addi r9, r9, 0x1 +/* 803351F0 00331DD0 90 C3 00 04 */ stw r6, 0x4(r3) /* 803351F4 00331DD4 7C C6 44 30 */ srw r6, r6, r8 -/* 803351F8 00331DD8 90 E3 00 00 */ stw r7, 0(r3) +/* 803351F8 00331DD8 90 E3 00 00 */ stw r7, 0x0(r3) /* 803351FC 00331DDC 7C 06 02 14 */ add r0, r6, r0 -/* 80335200 00331DE0 91 23 00 08 */ stw r9, 8(r3) +/* 80335200 00331DE0 91 23 00 08 */ stw r9, 0x8(r3) /* 80335204 00331DE4 21 25 00 20 */ subfic r9, r5, 0x20 /* 80335208 00331DE8 7C 07 4C 30 */ srw r7, r0, r9 .L_8033520C: @@ -6261,10 +6310,10 @@ __THPHuffDecodeDCTCompU: /* 80335214 00331DF4 20 05 00 20 */ subfic r0, r5, 0x20 /* 80335218 00331DF8 7C 06 00 00 */ cmpw r6, r0 /* 8033521C 00331DFC 40 81 00 14 */ ble .L_80335230 -/* 80335220 00331E00 38 00 FF FF */ li r0, -1 +/* 80335220 00331E00 38 00 FF FF */ li r0, -0x1 /* 80335224 00331E04 7C 00 28 30 */ slw r0, r0, r5 /* 80335228 00331E08 7C E0 3A 14 */ add r7, r0, r7 -/* 8033522C 00331E0C 38 E7 00 01 */ addi r7, r7, 1 +/* 8033522C 00331E0C 38 E7 00 01 */ addi r7, r7, 0x1 .L_80335230: /* 80335230 00331E10 38 00 00 60 */ li r0, 0x60 /* 80335234 00331E14 7C 04 07 EC */ dcbz r4, r0 @@ -6273,66 +6322,66 @@ __THPHuffDecodeDCTCompU: /* 80335240 00331E20 39 05 94 10 */ addi r8, r5, __THPJpegNaturalOrder@l /* 80335244 00331E24 7C 00 3A 14 */ add r0, r0, r7 /* 80335248 00331E28 B0 03 08 6A */ sth r0, 0x86a(r3) -/* 8033524C 00331E2C 38 C0 00 01 */ li r6, 1 -/* 80335250 00331E30 B0 04 00 00 */ sth r0, 0(r4) +/* 8033524C 00331E2C 38 C0 00 01 */ li r6, 0x1 +/* 80335250 00331E30 B0 04 00 00 */ sth r0, 0x0(r4) /* 80335254 00331E34 48 00 03 3C */ b .L_80335590 .L_80335258: -/* 80335258 00331E38 83 CD BA E0 */ lwz r30, Uachuff@sda21(r13) -/* 8033525C 00331E3C 83 E3 00 08 */ lwz r31, 8(r3) +/* 80335258 00331E38 83 CD BA E0 */ lwz r30, Uachuff@sda21(r0) +/* 8033525C 00331E3C 83 E3 00 08 */ lwz r31, 0x8(r3) /* 80335260 00331E40 39 7E 00 20 */ addi r11, r30, 0x20 -/* 80335264 00331E44 81 83 00 04 */ lwz r12, 4(r3) -/* 80335268 00331E48 38 BF 00 04 */ addi r5, r31, 4 +/* 80335264 00331E44 81 83 00 04 */ lwz r12, 0x4(r3) +/* 80335268 00331E48 38 BF 00 04 */ addi r5, r31, 0x4 /* 8033526C 00331E4C 2C 1F 00 1C */ cmpwi r31, 0x1c -/* 80335270 00331E50 5D 8A 2E FE */ rlwnm r10, r12, r5, 0x1b, 0x1f +/* 80335270 00331E50 5D 8A 2E FE */ rlwnm r10, r12, r5, 27, 31 /* 80335274 00331E54 41 81 00 C4 */ bgt .L_80335338 /* 80335278 00331E58 7C BE 50 AE */ lbzx r5, r30, r10 /* 8033527C 00331E5C 7D 6B 50 AE */ lbzx r11, r11, r10 /* 80335280 00331E60 2C 05 00 FF */ cmpwi r5, 0xff /* 80335284 00331E64 41 82 00 10 */ beq .L_80335294 /* 80335288 00331E68 7F FF 5A 14 */ add r31, r31, r11 -/* 8033528C 00331E6C 93 E3 00 08 */ stw r31, 8(r3) +/* 8033528C 00331E6C 93 E3 00 08 */ stw r31, 0x8(r3) /* 80335290 00331E70 48 00 02 4C */ b .L_803354DC .L_80335294: /* 80335294 00331E74 38 FE 00 44 */ addi r7, r30, 0x44 -/* 80335298 00331E78 3B FF 00 05 */ addi r31, r31, 5 +/* 80335298 00331E78 3B FF 00 05 */ addi r31, r31, 0x5 /* 8033529C 00331E7C 38 00 00 14 */ li r0, 0x14 -/* 803352A0 00331E80 38 A0 00 05 */ li r5, 5 +/* 803352A0 00331E80 38 A0 00 05 */ li r5, 0x5 /* 803352A4 00331E84 38 E7 00 14 */ addi r7, r7, 0x14 .L_803352A8: /* 803352A8 00331E88 2C 1F 00 21 */ cmpwi r31, 0x21 /* 803352AC 00331E8C 55 4A 08 3C */ slwi r10, r10, 1 /* 803352B0 00331E90 41 82 00 18 */ beq .L_803352C8 -/* 803352B4 00331E94 5D 8B FF FE */ rlwnm r11, r12, r31, 0x1f, 0x1f -/* 803352B8 00331E98 84 07 00 04 */ lwzu r0, 4(r7) +/* 803352B4 00331E94 5D 8B FF FE */ rlwnm r11, r12, r31, 31, 31 +/* 803352B8 00331E98 84 07 00 04 */ lwzu r0, 0x4(r7) /* 803352BC 00331E9C 7D 4A 5B 78 */ or r10, r10, r11 -/* 803352C0 00331EA0 3B FF 00 01 */ addi r31, r31, 1 +/* 803352C0 00331EA0 3B FF 00 01 */ addi r31, r31, 0x1 /* 803352C4 00331EA4 48 00 00 48 */ b .L_8033530C .L_803352C8: -/* 803352C8 00331EA8 81 63 00 00 */ lwz r11, 0(r3) -/* 803352CC 00331EAC 3B E0 00 01 */ li r31, 1 -/* 803352D0 00331EB0 85 8B 00 04 */ lwzu r12, 4(r11) -/* 803352D4 00331EB4 84 07 00 04 */ lwzu r0, 4(r7) -/* 803352D8 00331EB8 91 63 00 00 */ stw r11, 0(r3) -/* 803352DC 00331EBC 51 8A 0F FE */ rlwimi r10, r12, 1, 0x1f, 0x1f -/* 803352E0 00331EC0 91 83 00 04 */ stw r12, 4(r3) +/* 803352C8 00331EA8 81 63 00 00 */ lwz r11, 0x0(r3) +/* 803352CC 00331EAC 3B E0 00 01 */ li r31, 0x1 +/* 803352D0 00331EB0 85 8B 00 04 */ lwzu r12, 0x4(r11) +/* 803352D4 00331EB4 84 07 00 04 */ lwzu r0, 0x4(r7) +/* 803352D8 00331EB8 91 63 00 00 */ stw r11, 0x0(r3) +/* 803352DC 00331EBC 51 8A 0F FE */ rlwimi r10, r12, 1, 31, 31 +/* 803352E0 00331EC0 91 83 00 04 */ stw r12, 0x4(r3) /* 803352E4 00331EC4 48 00 00 14 */ b .L_803352F8 .L_803352E8: /* 803352E8 00331EC8 55 4A 08 3C */ slwi r10, r10, 1 -/* 803352EC 00331ECC 5D 8B FF FE */ rlwnm r11, r12, r31, 0x1f, 0x1f -/* 803352F0 00331ED0 84 07 00 04 */ lwzu r0, 4(r7) +/* 803352EC 00331ECC 5D 8B FF FE */ rlwnm r11, r12, r31, 31, 31 +/* 803352F0 00331ED0 84 07 00 04 */ lwzu r0, 0x4(r7) /* 803352F4 00331ED4 7D 4A 5B 78 */ or r10, r10, r11 .L_803352F8: /* 803352F8 00331ED8 7C 0A 00 00 */ cmpw r10, r0 -/* 803352FC 00331EDC 3B FF 00 01 */ addi r31, r31, 1 -/* 80335300 00331EE0 38 A5 00 01 */ addi r5, r5, 1 +/* 803352FC 00331EDC 3B FF 00 01 */ addi r31, r31, 0x1 +/* 80335300 00331EE0 38 A5 00 01 */ addi r5, r5, 0x1 /* 80335304 00331EE4 41 81 FF E4 */ bgt .L_803352E8 /* 80335308 00331EE8 48 00 00 10 */ b .L_80335318 .L_8033530C: /* 8033530C 00331EEC 7C 0A 00 00 */ cmpw r10, r0 -/* 80335310 00331EF0 38 A5 00 01 */ addi r5, r5, 1 +/* 80335310 00331EF0 38 A5 00 01 */ addi r5, r5, 0x1 /* 80335314 00331EF4 41 81 FF 94 */ bgt .L_803352A8 .L_80335318: -/* 80335318 00331EF8 93 E3 00 08 */ stw r31, 8(r3) +/* 80335318 00331EF8 93 E3 00 08 */ stw r31, 0x8(r3) /* 8033531C 00331EFC 54 A0 10 3A */ slwi r0, r5, 2 /* 80335320 00331F00 7C BE 02 14 */ add r5, r30, r0 /* 80335324 00331F04 80 FE 00 40 */ lwz r7, 0x40(r30) @@ -6342,10 +6391,10 @@ __THPHuffDecodeDCTCompU: /* 80335334 00331F14 48 00 01 A8 */ b .L_803354DC .L_80335338: /* 80335338 00331F18 2C 1F 00 21 */ cmpwi r31, 0x21 -/* 8033533C 00331F1C 81 43 00 00 */ lwz r10, 0(r3) +/* 8033533C 00331F1C 81 43 00 00 */ lwz r10, 0x0(r3) /* 80335340 00331F20 41 82 00 B4 */ beq .L_803353F4 /* 80335344 00331F24 2C 1F 00 20 */ cmpwi r31, 0x20 -/* 80335348 00331F28 5D 85 2E FE */ rlwnm r5, r12, r5, 0x1b, 0x1f +/* 80335348 00331F28 5D 85 2E FE */ rlwnm r5, r12, r5, 27, 31 /* 8033534C 00331F2C 41 82 00 2C */ beq .L_80335378 /* 80335350 00331F30 7D 5E 28 AE */ lbzx r10, r30, r5 /* 80335354 00331F34 7D 6B 28 AE */ lbzx r11, r11, r5 @@ -6353,19 +6402,19 @@ __THPHuffDecodeDCTCompU: /* 8033535C 00331F3C 7C BF 5A 14 */ add r5, r31, r11 /* 80335360 00331F40 41 82 00 F8 */ beq .L_80335458 /* 80335364 00331F44 2C 05 00 21 */ cmpwi r5, 0x21 -/* 80335368 00331F48 90 A3 00 08 */ stw r5, 8(r3) +/* 80335368 00331F48 90 A3 00 08 */ stw r5, 0x8(r3) /* 8033536C 00331F4C 41 81 00 EC */ bgt .L_80335458 /* 80335370 00331F50 7D 45 53 78 */ mr r5, r10 /* 80335374 00331F54 48 00 01 68 */ b .L_803354DC .L_80335378: -/* 80335378 00331F58 85 8A 00 04 */ lwzu r12, 4(r10) -/* 8033537C 00331F5C 91 43 00 00 */ stw r10, 0(r3) -/* 80335380 00331F60 51 85 27 3E */ rlwimi r5, r12, 4, 0x1c, 0x1f +/* 80335378 00331F58 85 8A 00 04 */ lwzu r12, 0x4(r10) +/* 8033537C 00331F5C 91 43 00 00 */ stw r10, 0x0(r3) +/* 80335380 00331F60 51 85 27 3E */ rlwimi r5, r12, 4, 28, 31 /* 80335384 00331F64 7D 5E 28 AE */ lbzx r10, r30, r5 /* 80335388 00331F68 7D 6B 28 AE */ lbzx r11, r11, r5 -/* 8033538C 00331F6C 91 83 00 04 */ stw r12, 4(r3) +/* 8033538C 00331F6C 91 83 00 04 */ stw r12, 0x4(r3) /* 80335390 00331F70 2C 0A 00 FF */ cmpwi r10, 0xff -/* 80335394 00331F74 91 63 00 08 */ stw r11, 8(r3) +/* 80335394 00331F74 91 63 00 08 */ stw r11, 0x8(r3) /* 80335398 00331F78 41 82 00 0C */ beq .L_803353A4 /* 8033539C 00331F7C 7D 45 53 78 */ mr r5, r10 /* 803353A0 00331F80 48 00 01 3C */ b .L_803354DC @@ -6373,17 +6422,17 @@ __THPHuffDecodeDCTCompU: /* 803353A4 00331F84 38 FE 00 44 */ addi r7, r30, 0x44 /* 803353A8 00331F88 3B E0 00 14 */ li r31, 0x14 /* 803353AC 00331F8C 38 E7 00 14 */ addi r7, r7, 0x14 -/* 803353B0 00331F90 54 AA D8 08 */ slwi r10, r5, 0x1b -/* 803353B4 00331F94 3B E0 00 05 */ li r31, 5 -/* 803353B8 00331F98 51 8A F8 7E */ rlwimi r10, r12, 0x1f, 1, 0x1f +/* 803353B0 00331F90 54 AA D8 08 */ slwi r10, r5, 27 +/* 803353B4 00331F94 3B E0 00 05 */ li r31, 0x5 +/* 803353B8 00331F98 51 8A F8 7E */ rlwimi r10, r12, 31, 1, 31 .L_803353BC: /* 803353BC 00331F9C 21 9F 00 1F */ subfic r12, r31, 0x1f -/* 803353C0 00331FA0 84 07 00 04 */ lwzu r0, 4(r7) +/* 803353C0 00331FA0 84 07 00 04 */ lwzu r0, 0x4(r7) /* 803353C4 00331FA4 7D 45 64 30 */ srw r5, r10, r12 /* 803353C8 00331FA8 7C 05 00 00 */ cmpw r5, r0 -/* 803353CC 00331FAC 3B FF 00 01 */ addi r31, r31, 1 +/* 803353CC 00331FAC 3B FF 00 01 */ addi r31, r31, 0x1 /* 803353D0 00331FB0 41 81 FF EC */ bgt .L_803353BC -/* 803353D4 00331FB4 93 E3 00 08 */ stw r31, 8(r3) +/* 803353D4 00331FB4 93 E3 00 08 */ stw r31, 0x8(r3) .L_803353D8: /* 803353D8 00331FB8 57 E0 10 3A */ slwi r0, r31, 2 /* 803353DC 00331FBC 81 3E 00 40 */ lwz r9, 0x40(r30) @@ -6393,63 +6442,63 @@ __THPHuffDecodeDCTCompU: /* 803353EC 00331FCC 7C A5 00 AE */ lbzx r5, r5, r0 /* 803353F0 00331FD0 48 00 00 EC */ b .L_803354DC .L_803353F4: -/* 803353F4 00331FD4 85 8A 00 04 */ lwzu r12, 4(r10) -/* 803353F8 00331FD8 55 85 2E FE */ srwi r5, r12, 0x1b -/* 803353FC 00331FDC 91 43 00 00 */ stw r10, 0(r3) +/* 803353F4 00331FD4 85 8A 00 04 */ lwzu r12, 0x4(r10) +/* 803353F8 00331FD8 55 85 2E FE */ srwi r5, r12, 27 +/* 803353FC 00331FDC 91 43 00 00 */ stw r10, 0x0(r3) /* 80335400 00331FE0 7F FE 28 AE */ lbzx r31, r30, r5 /* 80335404 00331FE4 7D 6B 28 AE */ lbzx r11, r11, r5 /* 80335408 00331FE8 2C 1F 00 FF */ cmpwi r31, 0xff -/* 8033540C 00331FEC 91 83 00 04 */ stw r12, 4(r3) -/* 80335410 00331FF0 39 6B 00 01 */ addi r11, r11, 1 +/* 8033540C 00331FEC 91 83 00 04 */ stw r12, 0x4(r3) +/* 80335410 00331FF0 39 6B 00 01 */ addi r11, r11, 0x1 /* 80335414 00331FF4 41 82 00 10 */ beq .L_80335424 -/* 80335418 00331FF8 91 63 00 08 */ stw r11, 8(r3) +/* 80335418 00331FF8 91 63 00 08 */ stw r11, 0x8(r3) /* 8033541C 00331FFC 7F E5 FB 78 */ mr r5, r31 /* 80335420 00332000 48 00 00 BC */ b .L_803354DC .L_80335424: -/* 80335424 00332004 3B E0 00 05 */ li r31, 5 +/* 80335424 00332004 3B E0 00 05 */ li r31, 0x5 /* 80335428 00332008 38 E0 00 14 */ li r7, 0x14 .L_8033542C: /* 8033542C 0033200C 21 5F 00 1F */ subfic r10, r31, 0x1f -/* 80335430 00332010 3B FF 00 01 */ addi r31, r31, 1 -/* 80335434 00332014 38 E7 00 04 */ addi r7, r7, 4 +/* 80335430 00332010 3B FF 00 01 */ addi r31, r31, 0x1 +/* 80335434 00332014 38 E7 00 04 */ addi r7, r7, 0x4 /* 80335438 00332018 7D 85 54 30 */ srw r5, r12, r10 /* 8033543C 0033201C 7D 3E 3A 14 */ add r9, r30, r7 /* 80335440 00332020 80 09 00 44 */ lwz r0, 0x44(r9) /* 80335444 00332024 7C 05 00 00 */ cmpw r5, r0 /* 80335448 00332028 41 81 FF E4 */ bgt .L_8033542C -/* 8033544C 0033202C 38 1F 00 01 */ addi r0, r31, 1 -/* 80335450 00332030 90 03 00 08 */ stw r0, 8(r3) +/* 8033544C 0033202C 38 1F 00 01 */ addi r0, r31, 0x1 +/* 80335450 00332030 90 03 00 08 */ stw r0, 0x8(r3) /* 80335454 00332034 4B FF FF 84 */ b .L_803353D8 .L_80335458: /* 80335458 00332038 20 1F 00 21 */ subfic r0, r31, 0x21 -/* 8033545C 0033203C 38 A0 FF FF */ li r5, -1 +/* 8033545C 0033203C 38 A0 FF FF */ li r5, -0x1 /* 80335460 00332040 7C A9 00 30 */ slw r9, r5, r0 /* 80335464 00332044 7D 85 48 78 */ andc r5, r12, r9 /* 80335468 00332048 39 3E 00 44 */ addi r9, r30, 0x44 -/* 8033546C 0033204C 81 43 00 00 */ lwz r10, 0(r3) +/* 8033546C 0033204C 81 43 00 00 */ lwz r10, 0x0(r3) /* 80335470 00332050 20 FF 00 21 */ subfic r7, r31, 0x21 -/* 80335474 00332054 3B E7 00 01 */ addi r31, r7, 1 +/* 80335474 00332054 3B E7 00 01 */ addi r31, r7, 0x1 /* 80335478 00332058 54 E7 10 3A */ slwi r7, r7, 2 -/* 8033547C 0033205C 85 8A 00 04 */ lwzu r12, 4(r10) +/* 8033547C 0033205C 85 8A 00 04 */ lwzu r12, 0x4(r10) /* 80335480 00332060 7D 29 3A 14 */ add r9, r9, r7 -/* 80335484 00332064 91 43 00 00 */ stw r10, 0(r3) +/* 80335484 00332064 91 43 00 00 */ stw r10, 0x0(r3) /* 80335488 00332068 54 A5 08 3C */ slwi r5, r5, 1 -/* 8033548C 0033206C 91 83 00 04 */ stw r12, 4(r3) -/* 80335490 00332070 51 85 0F FE */ rlwimi r5, r12, 1, 0x1f, 0x1f -/* 80335494 00332074 84 E9 00 04 */ lwzu r7, 4(r9) -/* 80335498 00332078 39 40 00 02 */ li r10, 2 +/* 8033548C 0033206C 91 83 00 04 */ stw r12, 0x4(r3) +/* 80335490 00332070 51 85 0F FE */ rlwimi r5, r12, 1, 31, 31 +/* 80335494 00332074 84 E9 00 04 */ lwzu r7, 0x4(r9) +/* 80335498 00332078 39 40 00 02 */ li r10, 0x2 /* 8033549C 0033207C 48 00 00 18 */ b .L_803354B4 .L_803354A0: /* 803354A0 00332080 54 A5 08 3C */ slwi r5, r5, 1 -/* 803354A4 00332084 3B FF 00 01 */ addi r31, r31, 1 -/* 803354A8 00332088 84 E9 00 04 */ lwzu r7, 4(r9) +/* 803354A4 00332084 3B FF 00 01 */ addi r31, r31, 0x1 +/* 803354A8 00332088 84 E9 00 04 */ lwzu r7, 0x4(r9) /* 803354AC 0033208C 7C A5 5A 14 */ add r5, r5, r11 -/* 803354B0 00332090 39 4A 00 01 */ addi r10, r10, 1 +/* 803354B0 00332090 39 4A 00 01 */ addi r10, r10, 0x1 .L_803354B4: /* 803354B4 00332094 7C 05 38 00 */ cmpw r5, r7 -/* 803354B8 00332098 5D 8B 57 FE */ rlwnm r11, r12, r10, 0x1f, 0x1f +/* 803354B8 00332098 5D 8B 57 FE */ rlwnm r11, r12, r10, 31, 31 /* 803354BC 0033209C 41 81 FF E4 */ bgt .L_803354A0 -/* 803354C0 003320A0 91 43 00 08 */ stw r10, 8(r3) +/* 803354C0 003320A0 91 43 00 08 */ stw r10, 0x8(r3) /* 803354C4 003320A4 57 E0 10 3A */ slwi r0, r31, 2 /* 803354C8 003320A8 7C FE 02 14 */ add r7, r30, r0 /* 803354CC 003320AC 81 3E 00 40 */ lwz r9, 0x40(r30) @@ -6457,32 +6506,32 @@ __THPHuffDecodeDCTCompU: /* 803354D4 003320B4 7C 00 4A 14 */ add r0, r0, r9 /* 803354D8 003320B8 7C A5 00 AE */ lbzx r5, r5, r0 .L_803354DC: -/* 803354DC 003320BC 54 A7 07 3F */ clrlwi. r7, r5, 0x1c +/* 803354DC 003320BC 54 A7 07 3F */ clrlwi. r7, r5, 28 /* 803354E0 003320C0 7C A9 26 70 */ srawi r9, r5, 4 /* 803354E4 003320C4 41 82 00 9C */ beq .L_80335580 /* 803354E8 003320C8 7C C6 4A 14 */ add r6, r6, r9 -/* 803354EC 003320CC 81 23 00 08 */ lwz r9, 8(r3) +/* 803354EC 003320CC 81 23 00 08 */ lwz r9, 0x8(r3) /* 803354F0 003320D0 21 49 00 21 */ subfic r10, r9, 0x21 -/* 803354F4 003320D4 80 A3 00 04 */ lwz r5, 4(r3) +/* 803354F4 003320D4 80 A3 00 04 */ lwz r5, 0x4(r3) /* 803354F8 003320D8 7D 6A 38 51 */ subf. r11, r10, r7 -/* 803354FC 003320DC 39 89 FF FF */ addi r12, r9, -1 +/* 803354FC 003320DC 39 89 FF FF */ subi r12, r9, 0x1 /* 80335500 003320E0 41 81 00 1C */ bgt .L_8033551C /* 80335504 003320E4 7C 09 3A 14 */ add r0, r9, r7 /* 80335508 003320E8 7C A9 60 30 */ slw r9, r5, r12 -/* 8033550C 003320EC 90 03 00 08 */ stw r0, 8(r3) +/* 8033550C 003320EC 90 03 00 08 */ stw r0, 0x8(r3) /* 80335510 003320F0 20 07 00 20 */ subfic r0, r7, 0x20 /* 80335514 003320F4 7D 29 04 30 */ srw r9, r9, r0 /* 80335518 003320F8 48 00 00 30 */ b .L_80335548 .L_8033551C: -/* 8033551C 003320FC 81 23 00 00 */ lwz r9, 0(r3) +/* 8033551C 003320FC 81 23 00 00 */ lwz r9, 0x0(r3) /* 80335520 00332100 7C A0 60 30 */ slw r0, r5, r12 -/* 80335524 00332104 84 A9 00 04 */ lwzu r5, 4(r9) -/* 80335528 00332108 39 6B 00 01 */ addi r11, r11, 1 -/* 8033552C 0033210C 90 A3 00 04 */ stw r5, 4(r3) +/* 80335524 00332104 84 A9 00 04 */ lwzu r5, 0x4(r9) +/* 80335528 00332108 39 6B 00 01 */ addi r11, r11, 0x1 +/* 8033552C 0033210C 90 A3 00 04 */ stw r5, 0x4(r3) /* 80335530 00332110 7C A5 54 30 */ srw r5, r5, r10 -/* 80335534 00332114 91 23 00 00 */ stw r9, 0(r3) +/* 80335534 00332114 91 23 00 00 */ stw r9, 0x0(r3) /* 80335538 00332118 7C 05 02 14 */ add r0, r5, r0 -/* 8033553C 0033211C 91 63 00 08 */ stw r11, 8(r3) +/* 8033553C 0033211C 91 63 00 08 */ stw r11, 0x8(r3) /* 80335540 00332120 21 67 00 20 */ subfic r11, r7, 0x20 /* 80335544 00332124 7C 09 5C 30 */ srw r9, r0, r11 .L_80335548: @@ -6490,13 +6539,13 @@ __THPHuffDecodeDCTCompU: /* 8033554C 0033212C 20 07 00 20 */ subfic r0, r7, 0x20 /* 80335550 00332130 7C 05 00 00 */ cmpw r5, r0 /* 80335554 00332134 40 81 00 14 */ ble .L_80335568 -/* 80335558 00332138 38 00 FF FF */ li r0, -1 +/* 80335558 00332138 38 00 FF FF */ li r0, -0x1 /* 8033555C 0033213C 7C 00 38 30 */ slw r0, r0, r7 /* 80335560 00332140 7D 20 4A 14 */ add r9, r0, r9 -/* 80335564 00332144 39 29 00 01 */ addi r9, r9, 1 +/* 80335564 00332144 39 29 00 01 */ addi r9, r9, 0x1 .L_80335568: /* 80335568 00332148 7C A8 32 14 */ add r5, r8, r6 -/* 8033556C 0033214C 88 05 00 00 */ lbz r0, 0(r5) +/* 8033556C 0033214C 88 05 00 00 */ lbz r0, 0x0(r5) /* 80335570 00332150 7D 25 07 34 */ extsh r5, r9 /* 80335574 00332154 54 00 08 3C */ slwi r0, r0, 1 /* 80335578 00332158 7C A4 03 2E */ sthx r5, r4, r0 @@ -6506,7 +6555,7 @@ __THPHuffDecodeDCTCompU: /* 80335584 00332164 40 82 00 14 */ bne .L_80335598 /* 80335588 00332168 38 C6 00 0F */ addi r6, r6, 0xf .L_8033558C: -/* 8033558C 0033216C 38 C6 00 01 */ addi r6, r6, 1 +/* 8033558C 0033216C 38 C6 00 01 */ addi r6, r6, 0x1 .L_80335590: /* 80335590 00332170 2C 06 00 40 */ cmpwi r6, 0x40 /* 80335594 00332174 41 80 FC C4 */ blt .L_80335258 @@ -6515,71 +6564,77 @@ __THPHuffDecodeDCTCompU: /* 8033559C 0033217C 83 C1 00 10 */ lwz r30, 0x10(r1) /* 803355A0 00332180 38 21 00 18 */ addi r1, r1, 0x18 /* 803355A4 00332184 4E 80 00 20 */ blr -/* 803355A8 00332188 00 00 00 00 */ .4byte 0x00000000 /* unknown instruction */ -/* 803355AC 0033218C 00 00 00 00 */ .4byte 0x00000000 /* unknown instruction */ +.endfn __THPHuffDecodeDCTCompU + +# .text:0x5F78 | 0x803355A8 | size: 0x8 +.fn gap_03_803355A8_text, global +.hidden gap_03_803355A8_text +/* 803355A8 00332188 00 00 00 00 */ .4byte 0x00000000 /* invalid */ +/* 803355AC 0033218C 00 00 00 00 */ .4byte 0x00000000 /* invalid */ +.endfn gap_03_803355A8_text -.global __THPHuffDecodeDCTCompV -__THPHuffDecodeDCTCompV: +# .text:0x5F80 | 0x803355B0 | size: 0x6A8 +.fn __THPHuffDecodeDCTCompV, local /* 803355B0 00332190 94 21 FF E8 */ stwu r1, -0x18(r1) /* 803355B4 00332194 93 E1 00 14 */ stw r31, 0x14(r1) /* 803355B8 00332198 93 C1 00 10 */ stw r30, 0x10(r1) -/* 803355BC 0033219C 7C 00 27 EC */ dcbz 0, r4 -/* 803355C0 003321A0 81 8D BA A0 */ lwz r12, Vdchuff@sda21(r13) -/* 803355C4 003321A4 81 63 00 08 */ lwz r11, 8(r3) +/* 803355BC 0033219C 7C 00 27 EC */ dcbz r0, r4 +/* 803355C0 003321A0 81 8D BA A0 */ lwz r12, Vdchuff@sda21(r0) +/* 803355C4 003321A4 81 63 00 08 */ lwz r11, 0x8(r3) /* 803355C8 003321A8 39 2C 00 20 */ addi r9, r12, 0x20 -/* 803355CC 003321AC 81 43 00 04 */ lwz r10, 4(r3) -/* 803355D0 003321B0 38 AB 00 04 */ addi r5, r11, 4 +/* 803355CC 003321AC 81 43 00 04 */ lwz r10, 0x4(r3) +/* 803355D0 003321B0 38 AB 00 04 */ addi r5, r11, 0x4 /* 803355D4 003321B4 2C 0B 00 1C */ cmpwi r11, 0x1c -/* 803355D8 003321B8 5D 48 2E FE */ rlwnm r8, r10, r5, 0x1b, 0x1f +/* 803355D8 003321B8 5D 48 2E FE */ rlwnm r8, r10, r5, 27, 31 /* 803355DC 003321BC 41 81 00 C4 */ bgt .L_803356A0 /* 803355E0 003321C0 7C AC 40 AE */ lbzx r5, r12, r8 /* 803355E4 003321C4 7D 29 40 AE */ lbzx r9, r9, r8 /* 803355E8 003321C8 2C 05 00 FF */ cmpwi r5, 0xff /* 803355EC 003321CC 41 82 00 10 */ beq .L_803355FC /* 803355F0 003321D0 7D 6B 4A 14 */ add r11, r11, r9 -/* 803355F4 003321D4 91 63 00 08 */ stw r11, 8(r3) +/* 803355F4 003321D4 91 63 00 08 */ stw r11, 0x8(r3) /* 803355F8 003321D8 48 00 02 4C */ b .L_80335844 .L_803355FC: /* 803355FC 003321DC 38 CC 00 44 */ addi r6, r12, 0x44 -/* 80335600 003321E0 39 6B 00 05 */ addi r11, r11, 5 +/* 80335600 003321E0 39 6B 00 05 */ addi r11, r11, 0x5 /* 80335604 003321E4 38 00 00 14 */ li r0, 0x14 -/* 80335608 003321E8 38 A0 00 05 */ li r5, 5 +/* 80335608 003321E8 38 A0 00 05 */ li r5, 0x5 /* 8033560C 003321EC 38 C6 00 14 */ addi r6, r6, 0x14 .L_80335610: /* 80335610 003321F0 2C 0B 00 21 */ cmpwi r11, 0x21 /* 80335614 003321F4 55 08 08 3C */ slwi r8, r8, 1 /* 80335618 003321F8 41 82 00 18 */ beq .L_80335630 -/* 8033561C 003321FC 5D 49 5F FE */ rlwnm r9, r10, r11, 0x1f, 0x1f -/* 80335620 00332200 84 06 00 04 */ lwzu r0, 4(r6) +/* 8033561C 003321FC 5D 49 5F FE */ rlwnm r9, r10, r11, 31, 31 +/* 80335620 00332200 84 06 00 04 */ lwzu r0, 0x4(r6) /* 80335624 00332204 7D 08 4B 78 */ or r8, r8, r9 -/* 80335628 00332208 39 6B 00 01 */ addi r11, r11, 1 +/* 80335628 00332208 39 6B 00 01 */ addi r11, r11, 0x1 /* 8033562C 0033220C 48 00 00 48 */ b .L_80335674 .L_80335630: -/* 80335630 00332210 81 23 00 00 */ lwz r9, 0(r3) -/* 80335634 00332214 39 60 00 01 */ li r11, 1 -/* 80335638 00332218 85 49 00 04 */ lwzu r10, 4(r9) -/* 8033563C 0033221C 84 06 00 04 */ lwzu r0, 4(r6) -/* 80335640 00332220 91 23 00 00 */ stw r9, 0(r3) -/* 80335644 00332224 51 48 0F FE */ rlwimi r8, r10, 1, 0x1f, 0x1f -/* 80335648 00332228 91 43 00 04 */ stw r10, 4(r3) +/* 80335630 00332210 81 23 00 00 */ lwz r9, 0x0(r3) +/* 80335634 00332214 39 60 00 01 */ li r11, 0x1 +/* 80335638 00332218 85 49 00 04 */ lwzu r10, 0x4(r9) +/* 8033563C 0033221C 84 06 00 04 */ lwzu r0, 0x4(r6) +/* 80335640 00332220 91 23 00 00 */ stw r9, 0x0(r3) +/* 80335644 00332224 51 48 0F FE */ rlwimi r8, r10, 1, 31, 31 +/* 80335648 00332228 91 43 00 04 */ stw r10, 0x4(r3) /* 8033564C 0033222C 48 00 00 14 */ b .L_80335660 .L_80335650: /* 80335650 00332230 55 08 08 3C */ slwi r8, r8, 1 -/* 80335654 00332234 5D 49 5F FE */ rlwnm r9, r10, r11, 0x1f, 0x1f -/* 80335658 00332238 84 06 00 04 */ lwzu r0, 4(r6) +/* 80335654 00332234 5D 49 5F FE */ rlwnm r9, r10, r11, 31, 31 +/* 80335658 00332238 84 06 00 04 */ lwzu r0, 0x4(r6) /* 8033565C 0033223C 7D 08 4B 78 */ or r8, r8, r9 .L_80335660: /* 80335660 00332240 7C 08 00 00 */ cmpw r8, r0 -/* 80335664 00332244 39 6B 00 01 */ addi r11, r11, 1 -/* 80335668 00332248 38 A5 00 01 */ addi r5, r5, 1 +/* 80335664 00332244 39 6B 00 01 */ addi r11, r11, 0x1 +/* 80335668 00332248 38 A5 00 01 */ addi r5, r5, 0x1 /* 8033566C 0033224C 41 81 FF E4 */ bgt .L_80335650 /* 80335670 00332250 48 00 00 10 */ b .L_80335680 .L_80335674: /* 80335674 00332254 7C 08 00 00 */ cmpw r8, r0 -/* 80335678 00332258 38 A5 00 01 */ addi r5, r5, 1 +/* 80335678 00332258 38 A5 00 01 */ addi r5, r5, 0x1 /* 8033567C 0033225C 41 81 FF 94 */ bgt .L_80335610 .L_80335680: -/* 80335680 00332260 91 63 00 08 */ stw r11, 8(r3) +/* 80335680 00332260 91 63 00 08 */ stw r11, 0x8(r3) /* 80335684 00332264 54 A0 10 3A */ slwi r0, r5, 2 /* 80335688 00332268 7C AC 02 14 */ add r5, r12, r0 /* 8033568C 0033226C 80 CC 00 40 */ lwz r6, 0x40(r12) @@ -6589,10 +6644,10 @@ __THPHuffDecodeDCTCompV: /* 8033569C 0033227C 48 00 01 A8 */ b .L_80335844 .L_803356A0: /* 803356A0 00332280 2C 0B 00 21 */ cmpwi r11, 0x21 -/* 803356A4 00332284 81 03 00 00 */ lwz r8, 0(r3) +/* 803356A4 00332284 81 03 00 00 */ lwz r8, 0x0(r3) /* 803356A8 00332288 41 82 00 B4 */ beq .L_8033575C /* 803356AC 0033228C 2C 0B 00 20 */ cmpwi r11, 0x20 -/* 803356B0 00332290 5D 45 2E FE */ rlwnm r5, r10, r5, 0x1b, 0x1f +/* 803356B0 00332290 5D 45 2E FE */ rlwnm r5, r10, r5, 27, 31 /* 803356B4 00332294 41 82 00 2C */ beq .L_803356E0 /* 803356B8 00332298 7D 0C 28 AE */ lbzx r8, r12, r5 /* 803356BC 0033229C 7D 29 28 AE */ lbzx r9, r9, r5 @@ -6600,19 +6655,19 @@ __THPHuffDecodeDCTCompV: /* 803356C4 003322A4 7C AB 4A 14 */ add r5, r11, r9 /* 803356C8 003322A8 41 82 00 F8 */ beq .L_803357C0 /* 803356CC 003322AC 2C 05 00 21 */ cmpwi r5, 0x21 -/* 803356D0 003322B0 90 A3 00 08 */ stw r5, 8(r3) +/* 803356D0 003322B0 90 A3 00 08 */ stw r5, 0x8(r3) /* 803356D4 003322B4 41 81 00 EC */ bgt .L_803357C0 /* 803356D8 003322B8 7D 05 43 78 */ mr r5, r8 /* 803356DC 003322BC 48 00 01 68 */ b .L_80335844 .L_803356E0: -/* 803356E0 003322C0 85 48 00 04 */ lwzu r10, 4(r8) -/* 803356E4 003322C4 91 03 00 00 */ stw r8, 0(r3) -/* 803356E8 003322C8 51 45 27 3E */ rlwimi r5, r10, 4, 0x1c, 0x1f +/* 803356E0 003322C0 85 48 00 04 */ lwzu r10, 0x4(r8) +/* 803356E4 003322C4 91 03 00 00 */ stw r8, 0x0(r3) +/* 803356E8 003322C8 51 45 27 3E */ rlwimi r5, r10, 4, 28, 31 /* 803356EC 003322CC 7D 0C 28 AE */ lbzx r8, r12, r5 /* 803356F0 003322D0 7D 29 28 AE */ lbzx r9, r9, r5 -/* 803356F4 003322D4 91 43 00 04 */ stw r10, 4(r3) +/* 803356F4 003322D4 91 43 00 04 */ stw r10, 0x4(r3) /* 803356F8 003322D8 2C 08 00 FF */ cmpwi r8, 0xff -/* 803356FC 003322DC 91 23 00 08 */ stw r9, 8(r3) +/* 803356FC 003322DC 91 23 00 08 */ stw r9, 0x8(r3) /* 80335700 003322E0 41 82 00 0C */ beq .L_8033570C /* 80335704 003322E4 7D 05 43 78 */ mr r5, r8 /* 80335708 003322E8 48 00 01 3C */ b .L_80335844 @@ -6620,17 +6675,17 @@ __THPHuffDecodeDCTCompV: /* 8033570C 003322EC 38 CC 00 44 */ addi r6, r12, 0x44 /* 80335710 003322F0 39 60 00 14 */ li r11, 0x14 /* 80335714 003322F4 38 C6 00 14 */ addi r6, r6, 0x14 -/* 80335718 003322F8 54 A8 D8 08 */ slwi r8, r5, 0x1b -/* 8033571C 003322FC 39 60 00 05 */ li r11, 5 -/* 80335720 00332300 51 48 F8 7E */ rlwimi r8, r10, 0x1f, 1, 0x1f +/* 80335718 003322F8 54 A8 D8 08 */ slwi r8, r5, 27 +/* 8033571C 003322FC 39 60 00 05 */ li r11, 0x5 +/* 80335720 00332300 51 48 F8 7E */ rlwimi r8, r10, 31, 1, 31 .L_80335724: /* 80335724 00332304 21 4B 00 1F */ subfic r10, r11, 0x1f -/* 80335728 00332308 84 06 00 04 */ lwzu r0, 4(r6) +/* 80335728 00332308 84 06 00 04 */ lwzu r0, 0x4(r6) /* 8033572C 0033230C 7D 05 54 30 */ srw r5, r8, r10 /* 80335730 00332310 7C 05 00 00 */ cmpw r5, r0 -/* 80335734 00332314 39 6B 00 01 */ addi r11, r11, 1 +/* 80335734 00332314 39 6B 00 01 */ addi r11, r11, 0x1 /* 80335738 00332318 41 81 FF EC */ bgt .L_80335724 -/* 8033573C 0033231C 91 63 00 08 */ stw r11, 8(r3) +/* 8033573C 0033231C 91 63 00 08 */ stw r11, 0x8(r3) .L_80335740: /* 80335740 00332320 55 60 10 3A */ slwi r0, r11, 2 /* 80335744 00332324 80 EC 00 40 */ lwz r7, 0x40(r12) @@ -6640,63 +6695,63 @@ __THPHuffDecodeDCTCompV: /* 80335754 00332334 7C A5 00 AE */ lbzx r5, r5, r0 /* 80335758 00332338 48 00 00 EC */ b .L_80335844 .L_8033575C: -/* 8033575C 0033233C 85 48 00 04 */ lwzu r10, 4(r8) -/* 80335760 00332340 55 45 2E FE */ srwi r5, r10, 0x1b -/* 80335764 00332344 91 03 00 00 */ stw r8, 0(r3) +/* 8033575C 0033233C 85 48 00 04 */ lwzu r10, 0x4(r8) +/* 80335760 00332340 55 45 2E FE */ srwi r5, r10, 27 +/* 80335764 00332344 91 03 00 00 */ stw r8, 0x0(r3) /* 80335768 00332348 7D 6C 28 AE */ lbzx r11, r12, r5 /* 8033576C 0033234C 7D 29 28 AE */ lbzx r9, r9, r5 /* 80335770 00332350 2C 0B 00 FF */ cmpwi r11, 0xff -/* 80335774 00332354 91 43 00 04 */ stw r10, 4(r3) -/* 80335778 00332358 39 29 00 01 */ addi r9, r9, 1 +/* 80335774 00332354 91 43 00 04 */ stw r10, 0x4(r3) +/* 80335778 00332358 39 29 00 01 */ addi r9, r9, 0x1 /* 8033577C 0033235C 41 82 00 10 */ beq .L_8033578C -/* 80335780 00332360 91 23 00 08 */ stw r9, 8(r3) +/* 80335780 00332360 91 23 00 08 */ stw r9, 0x8(r3) /* 80335784 00332364 7D 65 5B 78 */ mr r5, r11 /* 80335788 00332368 48 00 00 BC */ b .L_80335844 .L_8033578C: -/* 8033578C 0033236C 39 60 00 05 */ li r11, 5 +/* 8033578C 0033236C 39 60 00 05 */ li r11, 0x5 /* 80335790 00332370 38 C0 00 14 */ li r6, 0x14 .L_80335794: /* 80335794 00332374 21 0B 00 1F */ subfic r8, r11, 0x1f -/* 80335798 00332378 39 6B 00 01 */ addi r11, r11, 1 -/* 8033579C 0033237C 38 C6 00 04 */ addi r6, r6, 4 +/* 80335798 00332378 39 6B 00 01 */ addi r11, r11, 0x1 +/* 8033579C 0033237C 38 C6 00 04 */ addi r6, r6, 0x4 /* 803357A0 00332380 7D 45 44 30 */ srw r5, r10, r8 /* 803357A4 00332384 7C EC 32 14 */ add r7, r12, r6 /* 803357A8 00332388 80 07 00 44 */ lwz r0, 0x44(r7) /* 803357AC 0033238C 7C 05 00 00 */ cmpw r5, r0 /* 803357B0 00332390 41 81 FF E4 */ bgt .L_80335794 -/* 803357B4 00332394 38 0B 00 01 */ addi r0, r11, 1 -/* 803357B8 00332398 90 03 00 08 */ stw r0, 8(r3) +/* 803357B4 00332394 38 0B 00 01 */ addi r0, r11, 0x1 +/* 803357B8 00332398 90 03 00 08 */ stw r0, 0x8(r3) /* 803357BC 0033239C 4B FF FF 84 */ b .L_80335740 .L_803357C0: /* 803357C0 003323A0 20 0B 00 21 */ subfic r0, r11, 0x21 -/* 803357C4 003323A4 38 A0 FF FF */ li r5, -1 +/* 803357C4 003323A4 38 A0 FF FF */ li r5, -0x1 /* 803357C8 003323A8 7C A7 00 30 */ slw r7, r5, r0 /* 803357CC 003323AC 7D 45 38 78 */ andc r5, r10, r7 /* 803357D0 003323B0 38 EC 00 44 */ addi r7, r12, 0x44 -/* 803357D4 003323B4 81 03 00 00 */ lwz r8, 0(r3) +/* 803357D4 003323B4 81 03 00 00 */ lwz r8, 0x0(r3) /* 803357D8 003323B8 20 CB 00 21 */ subfic r6, r11, 0x21 -/* 803357DC 003323BC 39 66 00 01 */ addi r11, r6, 1 +/* 803357DC 003323BC 39 66 00 01 */ addi r11, r6, 0x1 /* 803357E0 003323C0 54 C6 10 3A */ slwi r6, r6, 2 -/* 803357E4 003323C4 85 48 00 04 */ lwzu r10, 4(r8) +/* 803357E4 003323C4 85 48 00 04 */ lwzu r10, 0x4(r8) /* 803357E8 003323C8 7C E7 32 14 */ add r7, r7, r6 -/* 803357EC 003323CC 91 03 00 00 */ stw r8, 0(r3) +/* 803357EC 003323CC 91 03 00 00 */ stw r8, 0x0(r3) /* 803357F0 003323D0 54 A5 08 3C */ slwi r5, r5, 1 -/* 803357F4 003323D4 91 43 00 04 */ stw r10, 4(r3) -/* 803357F8 003323D8 51 45 0F FE */ rlwimi r5, r10, 1, 0x1f, 0x1f -/* 803357FC 003323DC 84 C7 00 04 */ lwzu r6, 4(r7) -/* 80335800 003323E0 39 00 00 02 */ li r8, 2 +/* 803357F4 003323D4 91 43 00 04 */ stw r10, 0x4(r3) +/* 803357F8 003323D8 51 45 0F FE */ rlwimi r5, r10, 1, 31, 31 +/* 803357FC 003323DC 84 C7 00 04 */ lwzu r6, 0x4(r7) +/* 80335800 003323E0 39 00 00 02 */ li r8, 0x2 /* 80335804 003323E4 48 00 00 18 */ b .L_8033581C .L_80335808: /* 80335808 003323E8 54 A5 08 3C */ slwi r5, r5, 1 -/* 8033580C 003323EC 39 6B 00 01 */ addi r11, r11, 1 -/* 80335810 003323F0 84 C7 00 04 */ lwzu r6, 4(r7) +/* 8033580C 003323EC 39 6B 00 01 */ addi r11, r11, 0x1 +/* 80335810 003323F0 84 C7 00 04 */ lwzu r6, 0x4(r7) /* 80335814 003323F4 7C A5 4A 14 */ add r5, r5, r9 -/* 80335818 003323F8 39 08 00 01 */ addi r8, r8, 1 +/* 80335818 003323F8 39 08 00 01 */ addi r8, r8, 0x1 .L_8033581C: /* 8033581C 003323FC 7C 05 30 00 */ cmpw r5, r6 -/* 80335820 00332400 5D 49 47 FE */ rlwnm r9, r10, r8, 0x1f, 0x1f +/* 80335820 00332400 5D 49 47 FE */ rlwnm r9, r10, r8, 31, 31 /* 80335824 00332404 41 81 FF E4 */ bgt .L_80335808 -/* 80335828 00332408 91 03 00 08 */ stw r8, 8(r3) +/* 80335828 00332408 91 03 00 08 */ stw r8, 0x8(r3) /* 8033582C 0033240C 55 60 10 3A */ slwi r0, r11, 2 /* 80335830 00332410 7C CC 02 14 */ add r6, r12, r0 /* 80335834 00332414 80 EC 00 40 */ lwz r7, 0x40(r12) @@ -6706,33 +6761,33 @@ __THPHuffDecodeDCTCompV: .L_80335844: /* 80335844 00332424 38 00 00 20 */ li r0, 0x20 /* 80335848 00332428 7C 04 07 EC */ dcbz r4, r0 -/* 8033584C 0033242C 38 E0 00 00 */ li r7, 0 +/* 8033584C 0033242C 38 E0 00 00 */ li r7, 0x0 /* 80335850 00332430 38 00 00 40 */ li r0, 0x40 /* 80335854 00332434 7C 04 07 EC */ dcbz r4, r0 -/* 80335858 00332438 2C 05 00 00 */ cmpwi r5, 0 +/* 80335858 00332438 2C 05 00 00 */ cmpwi r5, 0x0 /* 8033585C 0033243C 41 82 00 84 */ beq .L_803358E0 -/* 80335860 00332440 80 E3 00 08 */ lwz r7, 8(r3) +/* 80335860 00332440 80 E3 00 08 */ lwz r7, 0x8(r3) /* 80335864 00332444 21 07 00 21 */ subfic r8, r7, 0x21 -/* 80335868 00332448 80 C3 00 04 */ lwz r6, 4(r3) +/* 80335868 00332448 80 C3 00 04 */ lwz r6, 0x4(r3) /* 8033586C 0033244C 7D 28 28 51 */ subf. r9, r8, r5 -/* 80335870 00332450 39 47 FF FF */ addi r10, r7, -1 +/* 80335870 00332450 39 47 FF FF */ subi r10, r7, 0x1 /* 80335874 00332454 41 81 00 1C */ bgt .L_80335890 /* 80335878 00332458 7C 07 2A 14 */ add r0, r7, r5 /* 8033587C 0033245C 7C C7 50 30 */ slw r7, r6, r10 -/* 80335880 00332460 90 03 00 08 */ stw r0, 8(r3) +/* 80335880 00332460 90 03 00 08 */ stw r0, 0x8(r3) /* 80335884 00332464 20 05 00 20 */ subfic r0, r5, 0x20 /* 80335888 00332468 7C E7 04 30 */ srw r7, r7, r0 /* 8033588C 0033246C 48 00 00 30 */ b .L_803358BC .L_80335890: -/* 80335890 00332470 80 E3 00 00 */ lwz r7, 0(r3) +/* 80335890 00332470 80 E3 00 00 */ lwz r7, 0x0(r3) /* 80335894 00332474 7C C0 50 30 */ slw r0, r6, r10 -/* 80335898 00332478 84 C7 00 04 */ lwzu r6, 4(r7) -/* 8033589C 0033247C 39 29 00 01 */ addi r9, r9, 1 -/* 803358A0 00332480 90 C3 00 04 */ stw r6, 4(r3) +/* 80335898 00332478 84 C7 00 04 */ lwzu r6, 0x4(r7) +/* 8033589C 0033247C 39 29 00 01 */ addi r9, r9, 0x1 +/* 803358A0 00332480 90 C3 00 04 */ stw r6, 0x4(r3) /* 803358A4 00332484 7C C6 44 30 */ srw r6, r6, r8 -/* 803358A8 00332488 90 E3 00 00 */ stw r7, 0(r3) +/* 803358A8 00332488 90 E3 00 00 */ stw r7, 0x0(r3) /* 803358AC 0033248C 7C 06 02 14 */ add r0, r6, r0 -/* 803358B0 00332490 91 23 00 08 */ stw r9, 8(r3) +/* 803358B0 00332490 91 23 00 08 */ stw r9, 0x8(r3) /* 803358B4 00332494 21 25 00 20 */ subfic r9, r5, 0x20 /* 803358B8 00332498 7C 07 4C 30 */ srw r7, r0, r9 .L_803358BC: @@ -6741,10 +6796,10 @@ __THPHuffDecodeDCTCompV: /* 803358C4 003324A4 20 05 00 20 */ subfic r0, r5, 0x20 /* 803358C8 003324A8 7C 06 00 00 */ cmpw r6, r0 /* 803358CC 003324AC 40 81 00 14 */ ble .L_803358E0 -/* 803358D0 003324B0 38 00 FF FF */ li r0, -1 +/* 803358D0 003324B0 38 00 FF FF */ li r0, -0x1 /* 803358D4 003324B4 7C 00 28 30 */ slw r0, r0, r5 /* 803358D8 003324B8 7C E0 3A 14 */ add r7, r0, r7 -/* 803358DC 003324BC 38 E7 00 01 */ addi r7, r7, 1 +/* 803358DC 003324BC 38 E7 00 01 */ addi r7, r7, 0x1 .L_803358E0: /* 803358E0 003324C0 38 00 00 60 */ li r0, 0x60 /* 803358E4 003324C4 7C 04 07 EC */ dcbz r4, r0 @@ -6753,66 +6808,66 @@ __THPHuffDecodeDCTCompV: /* 803358F0 003324D0 39 05 94 10 */ addi r8, r5, __THPJpegNaturalOrder@l /* 803358F4 003324D4 7C 00 3A 14 */ add r0, r0, r7 /* 803358F8 003324D8 B0 03 08 96 */ sth r0, 0x896(r3) -/* 803358FC 003324DC 38 C0 00 01 */ li r6, 1 -/* 80335900 003324E0 B0 04 00 00 */ sth r0, 0(r4) +/* 803358FC 003324DC 38 C0 00 01 */ li r6, 0x1 +/* 80335900 003324E0 B0 04 00 00 */ sth r0, 0x0(r4) /* 80335904 003324E4 48 00 03 3C */ b .L_80335C40 .L_80335908: -/* 80335908 003324E8 83 CD BB 00 */ lwz r30, Vachuff@sda21(r13) -/* 8033590C 003324EC 83 E3 00 08 */ lwz r31, 8(r3) +/* 80335908 003324E8 83 CD BB 00 */ lwz r30, Vachuff@sda21(r0) +/* 8033590C 003324EC 83 E3 00 08 */ lwz r31, 0x8(r3) /* 80335910 003324F0 39 7E 00 20 */ addi r11, r30, 0x20 -/* 80335914 003324F4 81 83 00 04 */ lwz r12, 4(r3) -/* 80335918 003324F8 38 BF 00 04 */ addi r5, r31, 4 +/* 80335914 003324F4 81 83 00 04 */ lwz r12, 0x4(r3) +/* 80335918 003324F8 38 BF 00 04 */ addi r5, r31, 0x4 /* 8033591C 003324FC 2C 1F 00 1C */ cmpwi r31, 0x1c -/* 80335920 00332500 5D 8A 2E FE */ rlwnm r10, r12, r5, 0x1b, 0x1f +/* 80335920 00332500 5D 8A 2E FE */ rlwnm r10, r12, r5, 27, 31 /* 80335924 00332504 41 81 00 C4 */ bgt .L_803359E8 /* 80335928 00332508 7C BE 50 AE */ lbzx r5, r30, r10 /* 8033592C 0033250C 7D 6B 50 AE */ lbzx r11, r11, r10 /* 80335930 00332510 2C 05 00 FF */ cmpwi r5, 0xff /* 80335934 00332514 41 82 00 10 */ beq .L_80335944 /* 80335938 00332518 7F FF 5A 14 */ add r31, r31, r11 -/* 8033593C 0033251C 93 E3 00 08 */ stw r31, 8(r3) +/* 8033593C 0033251C 93 E3 00 08 */ stw r31, 0x8(r3) /* 80335940 00332520 48 00 02 4C */ b .L_80335B8C .L_80335944: /* 80335944 00332524 38 FE 00 44 */ addi r7, r30, 0x44 -/* 80335948 00332528 3B FF 00 05 */ addi r31, r31, 5 +/* 80335948 00332528 3B FF 00 05 */ addi r31, r31, 0x5 /* 8033594C 0033252C 38 00 00 14 */ li r0, 0x14 -/* 80335950 00332530 38 A0 00 05 */ li r5, 5 +/* 80335950 00332530 38 A0 00 05 */ li r5, 0x5 /* 80335954 00332534 38 E7 00 14 */ addi r7, r7, 0x14 .L_80335958: /* 80335958 00332538 2C 1F 00 21 */ cmpwi r31, 0x21 /* 8033595C 0033253C 55 4A 08 3C */ slwi r10, r10, 1 /* 80335960 00332540 41 82 00 18 */ beq .L_80335978 -/* 80335964 00332544 5D 8B FF FE */ rlwnm r11, r12, r31, 0x1f, 0x1f -/* 80335968 00332548 84 07 00 04 */ lwzu r0, 4(r7) +/* 80335964 00332544 5D 8B FF FE */ rlwnm r11, r12, r31, 31, 31 +/* 80335968 00332548 84 07 00 04 */ lwzu r0, 0x4(r7) /* 8033596C 0033254C 7D 4A 5B 78 */ or r10, r10, r11 -/* 80335970 00332550 3B FF 00 01 */ addi r31, r31, 1 +/* 80335970 00332550 3B FF 00 01 */ addi r31, r31, 0x1 /* 80335974 00332554 48 00 00 48 */ b .L_803359BC .L_80335978: -/* 80335978 00332558 81 63 00 00 */ lwz r11, 0(r3) -/* 8033597C 0033255C 3B E0 00 01 */ li r31, 1 -/* 80335980 00332560 85 8B 00 04 */ lwzu r12, 4(r11) -/* 80335984 00332564 84 07 00 04 */ lwzu r0, 4(r7) -/* 80335988 00332568 91 63 00 00 */ stw r11, 0(r3) -/* 8033598C 0033256C 51 8A 0F FE */ rlwimi r10, r12, 1, 0x1f, 0x1f -/* 80335990 00332570 91 83 00 04 */ stw r12, 4(r3) +/* 80335978 00332558 81 63 00 00 */ lwz r11, 0x0(r3) +/* 8033597C 0033255C 3B E0 00 01 */ li r31, 0x1 +/* 80335980 00332560 85 8B 00 04 */ lwzu r12, 0x4(r11) +/* 80335984 00332564 84 07 00 04 */ lwzu r0, 0x4(r7) +/* 80335988 00332568 91 63 00 00 */ stw r11, 0x0(r3) +/* 8033598C 0033256C 51 8A 0F FE */ rlwimi r10, r12, 1, 31, 31 +/* 80335990 00332570 91 83 00 04 */ stw r12, 0x4(r3) /* 80335994 00332574 48 00 00 14 */ b .L_803359A8 .L_80335998: /* 80335998 00332578 55 4A 08 3C */ slwi r10, r10, 1 -/* 8033599C 0033257C 5D 8B FF FE */ rlwnm r11, r12, r31, 0x1f, 0x1f -/* 803359A0 00332580 84 07 00 04 */ lwzu r0, 4(r7) +/* 8033599C 0033257C 5D 8B FF FE */ rlwnm r11, r12, r31, 31, 31 +/* 803359A0 00332580 84 07 00 04 */ lwzu r0, 0x4(r7) /* 803359A4 00332584 7D 4A 5B 78 */ or r10, r10, r11 .L_803359A8: /* 803359A8 00332588 7C 0A 00 00 */ cmpw r10, r0 -/* 803359AC 0033258C 3B FF 00 01 */ addi r31, r31, 1 -/* 803359B0 00332590 38 A5 00 01 */ addi r5, r5, 1 +/* 803359AC 0033258C 3B FF 00 01 */ addi r31, r31, 0x1 +/* 803359B0 00332590 38 A5 00 01 */ addi r5, r5, 0x1 /* 803359B4 00332594 41 81 FF E4 */ bgt .L_80335998 /* 803359B8 00332598 48 00 00 10 */ b .L_803359C8 .L_803359BC: /* 803359BC 0033259C 7C 0A 00 00 */ cmpw r10, r0 -/* 803359C0 003325A0 38 A5 00 01 */ addi r5, r5, 1 +/* 803359C0 003325A0 38 A5 00 01 */ addi r5, r5, 0x1 /* 803359C4 003325A4 41 81 FF 94 */ bgt .L_80335958 .L_803359C8: -/* 803359C8 003325A8 93 E3 00 08 */ stw r31, 8(r3) +/* 803359C8 003325A8 93 E3 00 08 */ stw r31, 0x8(r3) /* 803359CC 003325AC 54 A0 10 3A */ slwi r0, r5, 2 /* 803359D0 003325B0 7C BE 02 14 */ add r5, r30, r0 /* 803359D4 003325B4 80 FE 00 40 */ lwz r7, 0x40(r30) @@ -6822,10 +6877,10 @@ __THPHuffDecodeDCTCompV: /* 803359E4 003325C4 48 00 01 A8 */ b .L_80335B8C .L_803359E8: /* 803359E8 003325C8 2C 1F 00 21 */ cmpwi r31, 0x21 -/* 803359EC 003325CC 81 43 00 00 */ lwz r10, 0(r3) +/* 803359EC 003325CC 81 43 00 00 */ lwz r10, 0x0(r3) /* 803359F0 003325D0 41 82 00 B4 */ beq .L_80335AA4 /* 803359F4 003325D4 2C 1F 00 20 */ cmpwi r31, 0x20 -/* 803359F8 003325D8 5D 85 2E FE */ rlwnm r5, r12, r5, 0x1b, 0x1f +/* 803359F8 003325D8 5D 85 2E FE */ rlwnm r5, r12, r5, 27, 31 /* 803359FC 003325DC 41 82 00 2C */ beq .L_80335A28 /* 80335A00 003325E0 7D 5E 28 AE */ lbzx r10, r30, r5 /* 80335A04 003325E4 7D 6B 28 AE */ lbzx r11, r11, r5 @@ -6833,19 +6888,19 @@ __THPHuffDecodeDCTCompV: /* 80335A0C 003325EC 7C BF 5A 14 */ add r5, r31, r11 /* 80335A10 003325F0 41 82 00 F8 */ beq .L_80335B08 /* 80335A14 003325F4 2C 05 00 21 */ cmpwi r5, 0x21 -/* 80335A18 003325F8 90 A3 00 08 */ stw r5, 8(r3) +/* 80335A18 003325F8 90 A3 00 08 */ stw r5, 0x8(r3) /* 80335A1C 003325FC 41 81 00 EC */ bgt .L_80335B08 /* 80335A20 00332600 7D 45 53 78 */ mr r5, r10 /* 80335A24 00332604 48 00 01 68 */ b .L_80335B8C .L_80335A28: -/* 80335A28 00332608 85 8A 00 04 */ lwzu r12, 4(r10) -/* 80335A2C 0033260C 91 43 00 00 */ stw r10, 0(r3) -/* 80335A30 00332610 51 85 27 3E */ rlwimi r5, r12, 4, 0x1c, 0x1f +/* 80335A28 00332608 85 8A 00 04 */ lwzu r12, 0x4(r10) +/* 80335A2C 0033260C 91 43 00 00 */ stw r10, 0x0(r3) +/* 80335A30 00332610 51 85 27 3E */ rlwimi r5, r12, 4, 28, 31 /* 80335A34 00332614 7D 5E 28 AE */ lbzx r10, r30, r5 /* 80335A38 00332618 7D 6B 28 AE */ lbzx r11, r11, r5 -/* 80335A3C 0033261C 91 83 00 04 */ stw r12, 4(r3) +/* 80335A3C 0033261C 91 83 00 04 */ stw r12, 0x4(r3) /* 80335A40 00332620 2C 0A 00 FF */ cmpwi r10, 0xff -/* 80335A44 00332624 91 63 00 08 */ stw r11, 8(r3) +/* 80335A44 00332624 91 63 00 08 */ stw r11, 0x8(r3) /* 80335A48 00332628 41 82 00 0C */ beq .L_80335A54 /* 80335A4C 0033262C 7D 45 53 78 */ mr r5, r10 /* 80335A50 00332630 48 00 01 3C */ b .L_80335B8C @@ -6853,17 +6908,17 @@ __THPHuffDecodeDCTCompV: /* 80335A54 00332634 38 FE 00 44 */ addi r7, r30, 0x44 /* 80335A58 00332638 3B E0 00 14 */ li r31, 0x14 /* 80335A5C 0033263C 38 E7 00 14 */ addi r7, r7, 0x14 -/* 80335A60 00332640 54 AA D8 08 */ slwi r10, r5, 0x1b -/* 80335A64 00332644 3B E0 00 05 */ li r31, 5 -/* 80335A68 00332648 51 8A F8 7E */ rlwimi r10, r12, 0x1f, 1, 0x1f +/* 80335A60 00332640 54 AA D8 08 */ slwi r10, r5, 27 +/* 80335A64 00332644 3B E0 00 05 */ li r31, 0x5 +/* 80335A68 00332648 51 8A F8 7E */ rlwimi r10, r12, 31, 1, 31 .L_80335A6C: /* 80335A6C 0033264C 21 9F 00 1F */ subfic r12, r31, 0x1f -/* 80335A70 00332650 84 07 00 04 */ lwzu r0, 4(r7) +/* 80335A70 00332650 84 07 00 04 */ lwzu r0, 0x4(r7) /* 80335A74 00332654 7D 45 64 30 */ srw r5, r10, r12 /* 80335A78 00332658 7C 05 00 00 */ cmpw r5, r0 -/* 80335A7C 0033265C 3B FF 00 01 */ addi r31, r31, 1 +/* 80335A7C 0033265C 3B FF 00 01 */ addi r31, r31, 0x1 /* 80335A80 00332660 41 81 FF EC */ bgt .L_80335A6C -/* 80335A84 00332664 93 E3 00 08 */ stw r31, 8(r3) +/* 80335A84 00332664 93 E3 00 08 */ stw r31, 0x8(r3) .L_80335A88: /* 80335A88 00332668 57 E0 10 3A */ slwi r0, r31, 2 /* 80335A8C 0033266C 81 3E 00 40 */ lwz r9, 0x40(r30) @@ -6873,63 +6928,63 @@ __THPHuffDecodeDCTCompV: /* 80335A9C 0033267C 7C A5 00 AE */ lbzx r5, r5, r0 /* 80335AA0 00332680 48 00 00 EC */ b .L_80335B8C .L_80335AA4: -/* 80335AA4 00332684 85 8A 00 04 */ lwzu r12, 4(r10) -/* 80335AA8 00332688 55 85 2E FE */ srwi r5, r12, 0x1b -/* 80335AAC 0033268C 91 43 00 00 */ stw r10, 0(r3) +/* 80335AA4 00332684 85 8A 00 04 */ lwzu r12, 0x4(r10) +/* 80335AA8 00332688 55 85 2E FE */ srwi r5, r12, 27 +/* 80335AAC 0033268C 91 43 00 00 */ stw r10, 0x0(r3) /* 80335AB0 00332690 7F FE 28 AE */ lbzx r31, r30, r5 /* 80335AB4 00332694 7D 6B 28 AE */ lbzx r11, r11, r5 /* 80335AB8 00332698 2C 1F 00 FF */ cmpwi r31, 0xff -/* 80335ABC 0033269C 91 83 00 04 */ stw r12, 4(r3) -/* 80335AC0 003326A0 39 6B 00 01 */ addi r11, r11, 1 +/* 80335ABC 0033269C 91 83 00 04 */ stw r12, 0x4(r3) +/* 80335AC0 003326A0 39 6B 00 01 */ addi r11, r11, 0x1 /* 80335AC4 003326A4 41 82 00 10 */ beq .L_80335AD4 -/* 80335AC8 003326A8 91 63 00 08 */ stw r11, 8(r3) +/* 80335AC8 003326A8 91 63 00 08 */ stw r11, 0x8(r3) /* 80335ACC 003326AC 7F E5 FB 78 */ mr r5, r31 /* 80335AD0 003326B0 48 00 00 BC */ b .L_80335B8C .L_80335AD4: -/* 80335AD4 003326B4 3B E0 00 05 */ li r31, 5 +/* 80335AD4 003326B4 3B E0 00 05 */ li r31, 0x5 /* 80335AD8 003326B8 38 E0 00 14 */ li r7, 0x14 .L_80335ADC: /* 80335ADC 003326BC 21 5F 00 1F */ subfic r10, r31, 0x1f -/* 80335AE0 003326C0 3B FF 00 01 */ addi r31, r31, 1 -/* 80335AE4 003326C4 38 E7 00 04 */ addi r7, r7, 4 +/* 80335AE0 003326C0 3B FF 00 01 */ addi r31, r31, 0x1 +/* 80335AE4 003326C4 38 E7 00 04 */ addi r7, r7, 0x4 /* 80335AE8 003326C8 7D 85 54 30 */ srw r5, r12, r10 /* 80335AEC 003326CC 7D 3E 3A 14 */ add r9, r30, r7 /* 80335AF0 003326D0 80 09 00 44 */ lwz r0, 0x44(r9) /* 80335AF4 003326D4 7C 05 00 00 */ cmpw r5, r0 /* 80335AF8 003326D8 41 81 FF E4 */ bgt .L_80335ADC -/* 80335AFC 003326DC 38 1F 00 01 */ addi r0, r31, 1 -/* 80335B00 003326E0 90 03 00 08 */ stw r0, 8(r3) +/* 80335AFC 003326DC 38 1F 00 01 */ addi r0, r31, 0x1 +/* 80335B00 003326E0 90 03 00 08 */ stw r0, 0x8(r3) /* 80335B04 003326E4 4B FF FF 84 */ b .L_80335A88 .L_80335B08: /* 80335B08 003326E8 20 1F 00 21 */ subfic r0, r31, 0x21 -/* 80335B0C 003326EC 38 A0 FF FF */ li r5, -1 +/* 80335B0C 003326EC 38 A0 FF FF */ li r5, -0x1 /* 80335B10 003326F0 7C A9 00 30 */ slw r9, r5, r0 /* 80335B14 003326F4 7D 85 48 78 */ andc r5, r12, r9 /* 80335B18 003326F8 39 3E 00 44 */ addi r9, r30, 0x44 -/* 80335B1C 003326FC 81 43 00 00 */ lwz r10, 0(r3) +/* 80335B1C 003326FC 81 43 00 00 */ lwz r10, 0x0(r3) /* 80335B20 00332700 20 FF 00 21 */ subfic r7, r31, 0x21 -/* 80335B24 00332704 3B E7 00 01 */ addi r31, r7, 1 +/* 80335B24 00332704 3B E7 00 01 */ addi r31, r7, 0x1 /* 80335B28 00332708 54 E7 10 3A */ slwi r7, r7, 2 -/* 80335B2C 0033270C 85 8A 00 04 */ lwzu r12, 4(r10) +/* 80335B2C 0033270C 85 8A 00 04 */ lwzu r12, 0x4(r10) /* 80335B30 00332710 7D 29 3A 14 */ add r9, r9, r7 -/* 80335B34 00332714 91 43 00 00 */ stw r10, 0(r3) +/* 80335B34 00332714 91 43 00 00 */ stw r10, 0x0(r3) /* 80335B38 00332718 54 A5 08 3C */ slwi r5, r5, 1 -/* 80335B3C 0033271C 91 83 00 04 */ stw r12, 4(r3) -/* 80335B40 00332720 51 85 0F FE */ rlwimi r5, r12, 1, 0x1f, 0x1f -/* 80335B44 00332724 84 E9 00 04 */ lwzu r7, 4(r9) -/* 80335B48 00332728 39 40 00 02 */ li r10, 2 +/* 80335B3C 0033271C 91 83 00 04 */ stw r12, 0x4(r3) +/* 80335B40 00332720 51 85 0F FE */ rlwimi r5, r12, 1, 31, 31 +/* 80335B44 00332724 84 E9 00 04 */ lwzu r7, 0x4(r9) +/* 80335B48 00332728 39 40 00 02 */ li r10, 0x2 /* 80335B4C 0033272C 48 00 00 18 */ b .L_80335B64 .L_80335B50: /* 80335B50 00332730 54 A5 08 3C */ slwi r5, r5, 1 -/* 80335B54 00332734 3B FF 00 01 */ addi r31, r31, 1 -/* 80335B58 00332738 84 E9 00 04 */ lwzu r7, 4(r9) +/* 80335B54 00332734 3B FF 00 01 */ addi r31, r31, 0x1 +/* 80335B58 00332738 84 E9 00 04 */ lwzu r7, 0x4(r9) /* 80335B5C 0033273C 7C A5 5A 14 */ add r5, r5, r11 -/* 80335B60 00332740 39 4A 00 01 */ addi r10, r10, 1 +/* 80335B60 00332740 39 4A 00 01 */ addi r10, r10, 0x1 .L_80335B64: /* 80335B64 00332744 7C 05 38 00 */ cmpw r5, r7 -/* 80335B68 00332748 5D 8B 57 FE */ rlwnm r11, r12, r10, 0x1f, 0x1f +/* 80335B68 00332748 5D 8B 57 FE */ rlwnm r11, r12, r10, 31, 31 /* 80335B6C 0033274C 41 81 FF E4 */ bgt .L_80335B50 -/* 80335B70 00332750 91 43 00 08 */ stw r10, 8(r3) +/* 80335B70 00332750 91 43 00 08 */ stw r10, 0x8(r3) /* 80335B74 00332754 57 E0 10 3A */ slwi r0, r31, 2 /* 80335B78 00332758 7C FE 02 14 */ add r7, r30, r0 /* 80335B7C 0033275C 81 3E 00 40 */ lwz r9, 0x40(r30) @@ -6937,32 +6992,32 @@ __THPHuffDecodeDCTCompV: /* 80335B84 00332764 7C 00 4A 14 */ add r0, r0, r9 /* 80335B88 00332768 7C A5 00 AE */ lbzx r5, r5, r0 .L_80335B8C: -/* 80335B8C 0033276C 54 A7 07 3F */ clrlwi. r7, r5, 0x1c +/* 80335B8C 0033276C 54 A7 07 3F */ clrlwi. r7, r5, 28 /* 80335B90 00332770 7C A9 26 70 */ srawi r9, r5, 4 /* 80335B94 00332774 41 82 00 9C */ beq .L_80335C30 /* 80335B98 00332778 7C C6 4A 14 */ add r6, r6, r9 -/* 80335B9C 0033277C 81 23 00 08 */ lwz r9, 8(r3) +/* 80335B9C 0033277C 81 23 00 08 */ lwz r9, 0x8(r3) /* 80335BA0 00332780 21 49 00 21 */ subfic r10, r9, 0x21 -/* 80335BA4 00332784 80 A3 00 04 */ lwz r5, 4(r3) +/* 80335BA4 00332784 80 A3 00 04 */ lwz r5, 0x4(r3) /* 80335BA8 00332788 7D 6A 38 51 */ subf. r11, r10, r7 -/* 80335BAC 0033278C 39 89 FF FF */ addi r12, r9, -1 +/* 80335BAC 0033278C 39 89 FF FF */ subi r12, r9, 0x1 /* 80335BB0 00332790 41 81 00 1C */ bgt .L_80335BCC /* 80335BB4 00332794 7C 09 3A 14 */ add r0, r9, r7 /* 80335BB8 00332798 7C A9 60 30 */ slw r9, r5, r12 -/* 80335BBC 0033279C 90 03 00 08 */ stw r0, 8(r3) +/* 80335BBC 0033279C 90 03 00 08 */ stw r0, 0x8(r3) /* 80335BC0 003327A0 20 07 00 20 */ subfic r0, r7, 0x20 /* 80335BC4 003327A4 7D 29 04 30 */ srw r9, r9, r0 /* 80335BC8 003327A8 48 00 00 30 */ b .L_80335BF8 .L_80335BCC: -/* 80335BCC 003327AC 81 23 00 00 */ lwz r9, 0(r3) +/* 80335BCC 003327AC 81 23 00 00 */ lwz r9, 0x0(r3) /* 80335BD0 003327B0 7C A0 60 30 */ slw r0, r5, r12 -/* 80335BD4 003327B4 84 A9 00 04 */ lwzu r5, 4(r9) -/* 80335BD8 003327B8 39 6B 00 01 */ addi r11, r11, 1 -/* 80335BDC 003327BC 90 A3 00 04 */ stw r5, 4(r3) +/* 80335BD4 003327B4 84 A9 00 04 */ lwzu r5, 0x4(r9) +/* 80335BD8 003327B8 39 6B 00 01 */ addi r11, r11, 0x1 +/* 80335BDC 003327BC 90 A3 00 04 */ stw r5, 0x4(r3) /* 80335BE0 003327C0 7C A5 54 30 */ srw r5, r5, r10 -/* 80335BE4 003327C4 91 23 00 00 */ stw r9, 0(r3) +/* 80335BE4 003327C4 91 23 00 00 */ stw r9, 0x0(r3) /* 80335BE8 003327C8 7C 05 02 14 */ add r0, r5, r0 -/* 80335BEC 003327CC 91 63 00 08 */ stw r11, 8(r3) +/* 80335BEC 003327CC 91 63 00 08 */ stw r11, 0x8(r3) /* 80335BF0 003327D0 21 67 00 20 */ subfic r11, r7, 0x20 /* 80335BF4 003327D4 7C 09 5C 30 */ srw r9, r0, r11 .L_80335BF8: @@ -6970,13 +7025,13 @@ __THPHuffDecodeDCTCompV: /* 80335BFC 003327DC 20 07 00 20 */ subfic r0, r7, 0x20 /* 80335C00 003327E0 7C 05 00 00 */ cmpw r5, r0 /* 80335C04 003327E4 40 81 00 14 */ ble .L_80335C18 -/* 80335C08 003327E8 38 00 FF FF */ li r0, -1 +/* 80335C08 003327E8 38 00 FF FF */ li r0, -0x1 /* 80335C0C 003327EC 7C 00 38 30 */ slw r0, r0, r7 /* 80335C10 003327F0 7D 20 4A 14 */ add r9, r0, r9 -/* 80335C14 003327F4 39 29 00 01 */ addi r9, r9, 1 +/* 80335C14 003327F4 39 29 00 01 */ addi r9, r9, 0x1 .L_80335C18: /* 80335C18 003327F8 7C A8 32 14 */ add r5, r8, r6 -/* 80335C1C 003327FC 88 05 00 00 */ lbz r0, 0(r5) +/* 80335C1C 003327FC 88 05 00 00 */ lbz r0, 0x0(r5) /* 80335C20 00332800 7D 25 07 34 */ extsh r5, r9 /* 80335C24 00332804 54 00 08 3C */ slwi r0, r0, 1 /* 80335C28 00332808 7C A4 03 2E */ sthx r5, r4, r0 @@ -6986,7 +7041,7 @@ __THPHuffDecodeDCTCompV: /* 80335C34 00332814 40 82 00 14 */ bne .L_80335C48 /* 80335C38 00332818 38 C6 00 0F */ addi r6, r6, 0xf .L_80335C3C: -/* 80335C3C 0033281C 38 C6 00 01 */ addi r6, r6, 1 +/* 80335C3C 0033281C 38 C6 00 01 */ addi r6, r6, 0x1 .L_80335C40: /* 80335C40 00332820 2C 06 00 40 */ cmpwi r6, 0x40 /* 80335C44 00332824 41 80 FC C4 */ blt .L_80335908 @@ -6995,12 +7050,13 @@ __THPHuffDecodeDCTCompV: /* 80335C4C 0033282C 83 C1 00 10 */ lwz r30, 0x10(r1) /* 80335C50 00332830 38 21 00 18 */ addi r1, r1, 0x18 /* 80335C54 00332834 4E 80 00 20 */ blr +.endfn __THPHuffDecodeDCTCompV -.global THPInit -THPInit: +# .text:0x6628 | 0x80335C58 | size: 0x204 +.fn THPInit, global /* 80335C58 00332838 7C 08 02 A6 */ mflr r0 /* 80335C5C 0033283C 3C 80 80 4A */ lis r4, THPDec_804A7400@ha -/* 80335C60 00332840 90 01 00 04 */ stw r0, 4(r1) +/* 80335C60 00332840 90 01 00 04 */ stw r0, 0x4(r1) /* 80335C64 00332844 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80335C68 00332848 93 E1 00 0C */ stw r31, 0xc(r1) /* 80335C6C 0033284C 3B E4 74 00 */ addi r31, r4, THPDec_804A7400@l @@ -7014,14 +7070,14 @@ THPInit: .L_80335C8C: /* 80335C8C 0033286C 3D 40 E0 00 */ lis r10, 0xe000 /* 80335C90 00332870 3C 80 80 40 */ lis r4, THPDec_80400B80@ha -/* 80335C94 00332874 91 5F 00 00 */ stw r10, 0(r31) +/* 80335C94 00332874 91 5F 00 00 */ stw r10, 0x0(r31) /* 80335C98 00332878 39 24 0B 80 */ addi r9, r4, THPDec_80400B80@l -/* 80335C9C 0033287C 80 09 00 04 */ lwz r0, 4(r9) +/* 80335C9C 0033287C 80 09 00 04 */ lwz r0, 0x4(r9) /* 80335CA0 00332880 7D 4A 02 14 */ add r10, r10, r0 -/* 80335CA4 00332884 91 5F 00 04 */ stw r10, 4(r31) +/* 80335CA4 00332884 91 5F 00 04 */ stw r10, 0x4(r31) /* 80335CA8 00332888 80 09 00 0C */ lwz r0, 0xc(r9) /* 80335CAC 0033288C 7D 4A 02 14 */ add r10, r10, r0 -/* 80335CB0 00332890 91 5F 00 08 */ stw r10, 8(r31) +/* 80335CB0 00332890 91 5F 00 08 */ stw r10, 0x8(r31) /* 80335CB4 00332894 80 09 00 14 */ lwz r0, 0x14(r9) /* 80335CB8 00332898 7D 4A 02 14 */ add r10, r10, r0 /* 80335CBC 0033289C 91 5F 00 0C */ stw r10, 0xc(r31) @@ -7033,7 +7089,7 @@ THPInit: /* 80335CD4 003328B4 91 5F 00 14 */ stw r10, 0x14(r31) /* 80335CD8 003328B8 3C 80 80 40 */ lis r4, THPDec_80400BA8@ha /* 80335CDC 003328BC 38 A4 0B A8 */ addi r5, r4, THPDec_80400BA8@l -/* 80335CE0 003328C0 80 09 00 04 */ lwz r0, 4(r9) +/* 80335CE0 003328C0 80 09 00 04 */ lwz r0, 0x4(r9) /* 80335CE4 003328C4 7D 4A 02 14 */ add r10, r10, r0 /* 80335CE8 003328C8 91 5F 00 18 */ stw r10, 0x18(r31) /* 80335CEC 003328CC 80 09 00 0C */ lwz r0, 0xc(r9) @@ -7047,7 +7103,7 @@ THPInit: /* 80335D0C 003328EC 91 5F 00 24 */ stw r10, 0x24(r31) /* 80335D10 003328F0 3D 40 E0 00 */ lis r10, 0xe000 /* 80335D14 003328F4 91 5F 00 28 */ stw r10, 0x28(r31) -/* 80335D18 003328F8 80 05 00 04 */ lwz r0, 4(r5) +/* 80335D18 003328F8 80 05 00 04 */ lwz r0, 0x4(r5) /* 80335D1C 003328FC 7D 4A 02 14 */ add r10, r10, r0 /* 80335D20 00332900 91 5F 00 2C */ stw r10, 0x2c(r31) /* 80335D24 00332904 80 05 00 0C */ lwz r0, 0xc(r5) @@ -7075,7 +7131,7 @@ THPInit: /* 80335D7C 0033295C 7D 4A 02 14 */ add r10, r10, r0 /* 80335D80 00332960 38 FF 00 24 */ addi r7, r31, 0x24 /* 80335D84 00332964 91 47 00 28 */ stw r10, 0x28(r7) -/* 80335D88 00332968 80 05 00 04 */ lwz r0, 4(r5) +/* 80335D88 00332968 80 05 00 04 */ lwz r0, 0x4(r5) /* 80335D8C 0033296C 7D 4A 02 14 */ add r10, r10, r0 /* 80335D90 00332970 91 47 00 2C */ stw r10, 0x2c(r7) /* 80335D94 00332974 80 05 00 0C */ lwz r0, 0xc(r5) @@ -7099,198 +7155,273 @@ THPInit: /* 80335DDC 003329BC 80 05 00 3C */ lwz r0, 0x3c(r5) /* 80335DE0 003329C0 7D 4A 02 14 */ add r10, r10, r0 /* 80335DE4 003329C4 91 47 00 48 */ stw r10, 0x48(r7) -/* 80335DE8 003329C8 3D 40 E0 00 */ lis r10, 0xE0002000@ha +/* 80335DE8 003329C8 3D 40 E0 00 */ lis r10, 0xe000 /* 80335DEC 003329CC 91 5F 00 70 */ stw r10, 0x70(r31) -/* 80335DF0 003329D0 39 4A 20 00 */ addi r10, r10, 0xE0002000@l +/* 80335DF0 003329D0 39 4A 20 00 */ addi r10, r10, 0x2000 /* 80335DF4 003329D4 91 5F 00 74 */ stw r10, 0x74(r31) /* 80335DF8 003329D8 39 4A 08 00 */ addi r10, r10, 0x800 /* 80335DFC 003329DC 91 5F 00 78 */ stw r10, 0x78(r31) -/* 80335E00 003329E0 3D 40 E0 00 */ lis r10, 0xE0002800@ha +/* 80335E00 003329E0 3D 40 E0 00 */ lis r10, 0xe000 /* 80335E04 003329E4 91 5F 00 7C */ stw r10, 0x7c(r31) -/* 80335E08 003329E8 39 4A 28 00 */ addi r10, r10, 0xE0002800@l +/* 80335E08 003329E8 39 4A 28 00 */ addi r10, r10, 0x2800 /* 80335E0C 003329EC 91 5F 00 80 */ stw r10, 0x80(r31) /* 80335E10 003329F0 39 4A 0A 00 */ addi r10, r10, 0xa00 /* 80335E14 003329F4 91 5F 00 84 */ stw r10, 0x84(r31) -/* 80335E18 003329F8 38 60 00 04 */ li r3, 4 -/* 80335E1C 003329FC 64 63 00 04 */ oris r3, r3, 4 -/* 80335E20 00332A00 7C 72 E3 A6 */ mtspr 0x392, r3 -/* 80335E24 00332A04 38 60 00 05 */ li r3, 5 -/* 80335E28 00332A08 64 63 00 05 */ oris r3, r3, 5 -/* 80335E2C 00332A0C 7C 73 E3 A6 */ mtspr 0x393, r3 -/* 80335E30 00332A10 38 60 00 06 */ li r3, 6 -/* 80335E34 00332A14 64 63 00 06 */ oris r3, r3, 6 -/* 80335E38 00332A18 7C 74 E3 A6 */ mtspr 0x394, r3 -/* 80335E3C 00332A1C 38 60 00 07 */ li r3, 7 -/* 80335E40 00332A20 64 63 00 07 */ oris r3, r3, 7 -/* 80335E44 00332A24 7C 75 E3 A6 */ mtspr 0x395, r3 +/* 80335E18 003329F8 38 60 00 04 */ li r3, 0x4 +/* 80335E1C 003329FC 64 63 00 04 */ oris r3, r3, 0x4 +/* 80335E20 00332A00 7C 72 E3 A6 */ mtspr GQR2, r3 +/* 80335E24 00332A04 38 60 00 05 */ li r3, 0x5 +/* 80335E28 00332A08 64 63 00 05 */ oris r3, r3, 0x5 +/* 80335E2C 00332A0C 7C 73 E3 A6 */ mtspr GQR3, r3 +/* 80335E30 00332A10 38 60 00 06 */ li r3, 0x6 +/* 80335E34 00332A14 64 63 00 06 */ oris r3, r3, 0x6 +/* 80335E38 00332A18 7C 74 E3 A6 */ mtspr GQR4, r3 +/* 80335E3C 00332A1C 38 60 00 07 */ li r3, 0x7 +/* 80335E40 00332A20 64 63 00 07 */ oris r3, r3, 0x7 +/* 80335E44 00332A24 7C 75 E3 A6 */ mtspr GQR5, r3 /* 80335E48 00332A28 80 01 00 14 */ lwz r0, 0x14(r1) /* 80335E4C 00332A2C 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80335E50 00332A30 38 21 00 10 */ addi r1, r1, 0x10 /* 80335E54 00332A34 7C 08 03 A6 */ mtlr r0 /* 80335E58 00332A38 4E 80 00 20 */ blr +.endfn THPInit + +# 0x803B9410..0x803B94A0 | size: 0x90 +.rodata +.balign 8 + +# .rodata:0x0 | 0x803B9410 | size: 0x50 +.obj __THPJpegNaturalOrder, local + .byte 0x00, 0x01, 0x08, 0x10, 0x09, 0x02, 0x03, 0x0A + .byte 0x11, 0x18, 0x20, 0x19, 0x12, 0x0B, 0x04, 0x05 + .byte 0x0C, 0x13, 0x1A, 0x21, 0x28, 0x30, 0x29, 0x22 + .byte 0x1B, 0x14, 0x0D, 0x06, 0x07, 0x0E, 0x15, 0x1C + .byte 0x23, 0x2A, 0x31, 0x38, 0x39, 0x32, 0x2B, 0x24 + .byte 0x1D, 0x16, 0x0F, 0x17, 0x1E, 0x25, 0x2C, 0x33 + .byte 0x3A, 0x3B, 0x34, 0x2D, 0x26, 0x1F, 0x27, 0x2E + .byte 0x35, 0x3C, 0x3D, 0x36, 0x2F, 0x37, 0x3E, 0x3F + .byte 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F + .byte 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F +.endobj __THPJpegNaturalOrder + +# .rodata:0x50 | 0x803B9460 | size: 0x40 +.obj __THPAANScaleFactor, local + .double 1 + .double 1.3870398998260498 + .double 1.3065630197525024 + .double 1.1758755445480347 + .double 1 + .double 0.78569495677948 + .double 0.5411961078643799 + .double 0.27589938044548035 +.endobj __THPAANScaleFactor + +# 0x80400B28..0x80400BF0 | size: 0xC8 +.data +.balign 8 + +# .data:0x0 | 0x80400B28 | size: 0x24 +.obj THPDec_80400B28, local + .4byte 0x4552524F + .4byte 0x523A2054 + .4byte 0x4850206F + .4byte 0x6E6C7920 + .4byte 0x73757070 + .4byte 0x6F727473 + .4byte 0x20343A32 + .4byte 0x3A302121 + .4byte 0x210A0000 +.endobj THPDec_80400B28 + +# .data:0x24 | 0x80400B4C | size: 0x34 +.obj THPDec_80400B4C, local + .4byte 0x54485020 + .4byte 0x646F6573 + .4byte 0x206E6F74 + .4byte 0x20737570 + .4byte 0x706F7274 + .4byte 0x20616E79 + .4byte 0x7468696E + .4byte 0x67206F74 + .4byte 0x68657220 + .4byte 0x7468616E + .4byte 0x20343A32 + .4byte 0x3A30210A + .4byte 0x00000000 +.endobj THPDec_80400B4C + +# .data:0x58 | 0x80400B80 | size: 0x28 +.obj THPDec_80400B80, local + .4byte 0x00000000 + .4byte 0x00001000 + .4byte 0x00000001 + .4byte 0x00000400 + .4byte 0x00000002 + .4byte 0x00000400 + .4byte 0x00000003 + .4byte 0x00000400 + .4byte 0x00000004 + .4byte 0x00000400 +.endobj THPDec_80400B80 + +# .data:0x80 | 0x80400BA8 | size: 0x48 +.obj THPDec_80400BA8, local + .4byte 0x00000000 + .4byte 0x00001000 + .4byte 0x00000001 + .4byte 0x00000200 + .4byte 0x00000002 + .4byte 0x00000200 + .4byte 0x00000003 + .4byte 0x00000200 + .4byte 0x00000004 + .4byte 0x00000200 + .4byte 0x00000005 + .4byte 0x00000200 + .4byte 0x00000006 + .4byte 0x00000200 + .4byte 0x00000007 + .4byte 0x00000200 + .4byte 0x00000008 + .4byte 0x00000200 +.endobj THPDec_80400BA8 + +# 0x804A7300..0x804A7488 | size: 0x188 +.section .bss, "wa", @nobits +.balign 8 + +# .bss:0x0 | 0x804A7300 | size: 0x100 +.obj THPDec_804A7300, local + .skip 0x100 +.endobj THPDec_804A7300 + +# .bss:0x100 | 0x804A7400 | size: 0x7C +.obj THPDec_804A7400, local + .skip 0x7C +.endobj THPDec_804A7400 + +# .bss:0x17C | 0x804A747C | size: 0xC +.obj THPDec_804A747C, local + .skip 0xC +.endobj THPDec_804A747C + +# 0x804D7100..0x804D7208 | size: 0x108 +.section .sbss, "wa", @nobits +.balign 8 + +# .sbss:0x0 | 0x804D7100 | size: 0x20 +.obj Ydchuff, local + .skip 0x20 +.endobj Ydchuff + +# .sbss:0x20 | 0x804D7120 | size: 0x20 +.obj Udchuff, local + .skip 0x20 +.endobj Udchuff + +# .sbss:0x40 | 0x804D7140 | size: 0x20 +.obj Vdchuff, local + .skip 0x20 +.endobj Vdchuff + +# .sbss:0x60 | 0x804D7160 | size: 0x20 +.obj Yachuff, local + .skip 0x20 +.endobj Yachuff + +# .sbss:0x80 | 0x804D7180 | size: 0x20 +.obj Uachuff, local + .skip 0x20 +.endobj Uachuff + +# .sbss:0xA0 | 0x804D71A0 | size: 0x20 +.obj Vachuff, local + .skip 0x20 +.endobj Vachuff + +# .sbss:0xC0 | 0x804D71C0 | size: 0x20 +.obj Gbase, local + .skip 0x20 +.endobj Gbase + +# .sbss:0xE0 | 0x804D71E0 | size: 0x20 +.obj Gwid, local + .skip 0x20 +.endobj Gwid + +# .sbss:0x100 | 0x804D7200 | size: 0x8 +.obj Gq, local + .skip 0x8 +.endobj Gq + +# 0x804DE1D0..0x804DE200 | size: 0x30 +.section .sdata2, "a" +.balign 8 + +# .sdata2:0x0 | 0x804DE1D0 | size: 0x4 +.obj THPDec_804DE1D0, local + .4byte 0x4A464946 +.endobj THPDec_804DE1D0 + +# .sdata2:0x4 | 0x804DE1D4 | size: 0x1 +.obj THPDec_804DE1D4, local + .byte 0x00 +.endobj THPDec_804DE1D4 + +# .sdata2:0x5 | 0x804DE1D5 | size: 0x3 +.obj gap_11_804DE1D5_sdata2, global +.hidden gap_11_804DE1D5_sdata2 + .byte 0x00, 0x00, 0x00 +.endobj gap_11_804DE1D5_sdata2 +# .sdata2:0x8 | 0x804DE1D8 | size: 0x4 +.obj THPDec_804DE1D8, local + .4byte 0x4A464946 +.endobj THPDec_804DE1D8 -.section .rodata - .balign 8 -.global __THPJpegNaturalOrder -__THPJpegNaturalOrder: - .4byte 0x00010810 - .4byte 0x0902030A - .4byte 0x11182019 - .4byte 0x120B0405 - .4byte 0x0C131A21 - .4byte 0x28302922 - .4byte 0x1B140D06 - .4byte 0x070E151C - .4byte 0x232A3138 - .4byte 0x39322B24 - .4byte 0x1D160F17 - .4byte 0x1E252C33 - .4byte 0x3A3B342D - .4byte 0x261F272E - .4byte 0x353C3D36 - .4byte 0x2F373E3F - .4byte 0x3F3F3F3F - .4byte 0x3F3F3F3F - .4byte 0x3F3F3F3F - .4byte 0x3F3F3F3F - .4byte 0x3FF00000 - .4byte 0x00000000 - .4byte 0x3FF63150 - .4byte 0xC0000000 - .4byte 0x3FF4E7AE - .4byte 0xA0000000 - .4byte 0x3FF2D062 - .4byte 0xE0000000 - .4byte 0x3FF00000 - .4byte 0x00000000 - .4byte 0x3FE92469 - .4byte 0xC0000000 - .4byte 0x3FE1517A - .4byte 0x80000000 - .4byte 0x3FD1A855 - .4byte 0xE0000000 +# .sdata2:0xC | 0x804DE1DC | size: 0x1 +.obj THPDec_804DE1DC, local + .byte 0x00 +.endobj THPDec_804DE1DC +# .sdata2:0xD | 0x804DE1DD | size: 0x3 +.obj gap_11_804DE1DD_sdata2, global +.hidden gap_11_804DE1DD_sdata2 + .byte 0x00, 0x00, 0x00 +.endobj gap_11_804DE1DD_sdata2 -.section .data - .balign 8 -.global THPDec_80400B28 -THPDec_80400B28: - .asciz "ERROR: THP only supports 4:2:0!!!\n" - .balign 4 -.global THPDec_80400B4C -THPDec_80400B4C: - .asciz "THP does not support anything other than 4:2:0!\n" - .balign 4 -.global THPDec_80400B80 -THPDec_80400B80: - .4byte NULL - .4byte 0x00001000 - .4byte 0x00000001 - .4byte 0x00000400 - .4byte 0x00000002 - .4byte 0x00000400 - .4byte 0x00000003 - .4byte 0x00000400 - .4byte 0x00000004 - .4byte 0x00000400 -.global THPDec_80400BA8 -THPDec_80400BA8: - .4byte NULL - .4byte 0x00001000 - .4byte 0x00000001 - .4byte 0x00000200 - .4byte 0x00000002 - .4byte 0x00000200 - .4byte 0x00000003 - .4byte 0x00000200 - .4byte 0x00000004 - .4byte 0x00000200 - .4byte 0x00000005 - .4byte 0x00000200 - .4byte 0x00000006 - .4byte 0x00000200 - .4byte 0x00000007 - .4byte 0x00000200 - .4byte 0x00000008 - .4byte 0x00000200 +# .sdata2:0x10 | 0x804DE1E0 | size: 0x8 +.obj THPDec_804DE1E0, local + .double 4503599627370496 +.endobj THPDec_804DE1E0 +# .sdata2:0x18 | 0x804DE1E8 | size: 0x4 +.obj THPDec_804DE1E8, local + .float 1.4142135 +.endobj THPDec_804DE1E8 -.section .bss, "wa" - .balign 8 -.global THPDec_804A7300 -THPDec_804A7300: - .skip 0x100 -.global THPDec_804A7400 -THPDec_804A7400: - .skip 0x7C -.global THPDec_804A747C -THPDec_804A747C: - .skip 0xC +# .sdata2:0x1C | 0x804DE1EC | size: 0x4 +.obj THPDec_804DE1EC, local + .float 1.847759 +.endobj THPDec_804DE1EC +# .sdata2:0x20 | 0x804DE1F0 | size: 0x4 +.obj THPDec_804DE1F0, local + .float 1.0823922 +.endobj THPDec_804DE1F0 -.section .sbss - .balign 8 -.global Ydchuff -Ydchuff: - .skip 0x20 -.global Udchuff -Udchuff: - .skip 0x20 -.global Vdchuff -Vdchuff: - .skip 0x20 -.global Yachuff -Yachuff: - .skip 0x20 -.global Uachuff -Uachuff: - .skip 0x20 -.global Vachuff -Vachuff: - .skip 0x20 -.global Gbase -Gbase: - .skip 0x20 -.global Gwid -Gwid: - .skip 0x20 -.global Gq -Gq: - .skip 0x4 +# .sdata2:0x24 | 0x804DE1F4 | size: 0x4 +.obj THPDec_804DE1F4, local + .float -2.613126 +.endobj THPDec_804DE1F4 +# .sdata2:0x28 | 0x804DE1F8 | size: 0x4 +.obj THPDec_804DE1F8, local + .float 1024 +.endobj THPDec_804DE1F8 -.section .sdata2 - .balign 8 -.global THPDec_804DE1D0 -THPDec_804DE1D0: - .4byte 0x4A464946 -.global THPDec_804DE1D4 -THPDec_804DE1D4: - .4byte 0x00000000 -.global THPDec_804DE1D8 -THPDec_804DE1D8: - .4byte 0x4A464946 -.global THPDec_804DE1DC -THPDec_804DE1DC: - .4byte 0x00000000 -.global THPDec_804DE1E0 -THPDec_804DE1E0: - .4byte 0x43300000 - .4byte 0x00000000 -.global THPDec_804DE1E8 -THPDec_804DE1E8: - .4byte 0x3FB504F3 -.global THPDec_804DE1EC -THPDec_804DE1EC: - .4byte 0x3FEC835E -.global THPDec_804DE1F0 -THPDec_804DE1F0: - .4byte 0x3F8A8BD4 -.global THPDec_804DE1F4 -THPDec_804DE1F4: - .4byte 0xC0273D75 -.global THPDec_804DE1F8 -THPDec_804DE1F8: - .4byte 0x44800000 - .4byte 0x00000000 +# .sdata2:0x2C | 0x804DE1FC | size: 0x4 +.obj gap_11_804DE1FC_sdata2, global +.hidden gap_11_804DE1FC_sdata2 + .4byte 0x00000000 +.endobj gap_11_804DE1FC_sdata2 diff --git a/asm/melee/ft/chara/ftCommon/ftCo_ItemThrow.s b/asm/melee/ft/chara/ftCommon/ftCo_ItemThrow.s index c822e5cda7..12bc2385d8 100644 --- a/asm/melee/ft/chara/ftCommon/ftCo_ItemThrow.s +++ b/asm/melee/ft/chara/ftCommon/ftCo_ItemThrow.s @@ -1,1744 +1,1777 @@ .include "macros.inc" .file "ftCo_ItemThrow.c" -# 0x00000000 - 0x000016A8 +# 0x80094E54..0x800964FC | size: 0x16A8 .text .balign 4 +# .text:0x0 | 0x80094E54 | size: 0x50 .fn ftCo_80094E54, global -/* 00000000 00000040 7C 08 02 A6 */ mflr r0 -/* 00000004 00000044 90 01 00 04 */ stw r0, 0x4(r1) -/* 00000008 00000048 94 21 FF F8 */ stwu r1, -0x8(r1) -/* 0000000C 0000004C 80 03 06 68 */ lwz r0, 0x668(r3) -/* 00000010 00000050 54 00 05 EF */ rlwinm. r0, r0, 0, 23, 23 -/* 00000014 00000054 41 82 00 28 */ beq .L_0000003C -/* 00000018 00000058 80 03 06 5C */ lwz r0, 0x65c(r3) -/* 0000001C 0000005C 54 00 00 01 */ clrrwi. r0, r0, 31 -/* 00000020 00000060 40 82 00 14 */ bne .L_00000034 -/* 00000024 00000064 80 63 19 74 */ lwz r3, 0x1974(r3) -/* 00000028 00000068 48 00 00 01 */ bl it_8026B30C -/* 0000002C 0000006C 2C 03 00 00 */ cmpwi r3, 0x0 -/* 00000030 00000070 40 82 00 0C */ bne .L_0000003C -.L_00000034: -/* 00000034 00000074 38 60 00 01 */ li r3, 0x1 -/* 00000038 00000078 48 00 00 08 */ b .L_00000040 -.L_0000003C: -/* 0000003C 0000007C 38 60 00 00 */ li r3, 0x0 -.L_00000040: -/* 00000040 00000080 80 01 00 0C */ lwz r0, 0xc(r1) -/* 00000044 00000084 38 21 00 08 */ addi r1, r1, 0x8 -/* 00000048 00000088 7C 08 03 A6 */ mtlr r0 -/* 0000004C 0000008C 4E 80 00 20 */ blr +/* 80094E54 00091A34 7C 08 02 A6 */ mflr r0 +/* 80094E58 00091A38 90 01 00 04 */ stw r0, 0x4(r1) +/* 80094E5C 00091A3C 94 21 FF F8 */ stwu r1, -0x8(r1) +/* 80094E60 00091A40 80 03 06 68 */ lwz r0, 0x668(r3) +/* 80094E64 00091A44 54 00 05 EF */ rlwinm. r0, r0, 0, 23, 23 +/* 80094E68 00091A48 41 82 00 28 */ beq .L_80094E90 +/* 80094E6C 00091A4C 80 03 06 5C */ lwz r0, 0x65c(r3) +/* 80094E70 00091A50 54 00 00 01 */ clrrwi. r0, r0, 31 +/* 80094E74 00091A54 40 82 00 14 */ bne .L_80094E88 +/* 80094E78 00091A58 80 63 19 74 */ lwz r3, 0x1974(r3) +/* 80094E7C 00091A5C 48 1D 64 91 */ bl it_8026B30C +/* 80094E80 00091A60 2C 03 00 00 */ cmpwi r3, 0x0 +/* 80094E84 00091A64 40 82 00 0C */ bne .L_80094E90 +.L_80094E88: +/* 80094E88 00091A68 38 60 00 01 */ li r3, 0x1 +/* 80094E8C 00091A6C 48 00 00 08 */ b .L_80094E94 +.L_80094E90: +/* 80094E90 00091A70 38 60 00 00 */ li r3, 0x0 +.L_80094E94: +/* 80094E94 00091A74 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80094E98 00091A78 38 21 00 08 */ addi r1, r1, 0x8 +/* 80094E9C 00091A7C 7C 08 03 A6 */ mtlr r0 +/* 80094EA0 00091A80 4E 80 00 20 */ blr .endfn ftCo_80094E54 +# .text:0x50 | 0x80094EA4 | size: 0x2B8 .fn ftCo_80094EA4, global -/* 00000050 00000090 7C 08 02 A6 */ mflr r0 -/* 00000054 00000094 90 01 00 04 */ stw r0, 0x4(r1) -/* 00000058 00000098 94 21 FF A8 */ stwu r1, -0x58(r1) -/* 0000005C 0000009C DB E1 00 50 */ stfd f31, 0x50(r1) -/* 00000060 000000A0 DB C1 00 48 */ stfd f30, 0x48(r1) -/* 00000064 000000A4 DB A1 00 40 */ stfd f29, 0x40(r1) -/* 00000068 000000A8 DB 81 00 38 */ stfd f28, 0x38(r1) -/* 0000006C 000000AC 93 E1 00 34 */ stw r31, 0x34(r1) -/* 00000070 000000B0 93 C1 00 30 */ stw r30, 0x30(r1) -/* 00000074 000000B4 93 A1 00 2C */ stw r29, 0x2c(r1) -/* 00000078 000000B8 7C 7D 1B 78 */ mr r29, r3 -/* 0000007C 000000BC 83 E3 00 2C */ lwz r31, 0x2c(r3) -/* 00000080 000000C0 80 1F 19 74 */ lwz r0, 0x1974(r31) -/* 00000084 000000C4 83 DF 00 10 */ lwz r30, 0x10(r31) -/* 00000088 000000C8 28 00 00 00 */ cmplwi r0, 0x0 -/* 0000008C 000000CC 41 82 00 78 */ beq .L_00000104 -/* 00000090 000000D0 80 1F 06 68 */ lwz r0, 0x668(r31) -/* 00000094 000000D4 54 00 05 AF */ rlwinm. r0, r0, 0, 22, 23 -/* 00000098 000000D8 41 82 00 4C */ beq .L_000000E4 -/* 0000009C 000000DC 88 BF 06 73 */ lbz r5, 0x673(r31) -/* 000000A0 000000E0 3C 80 43 30 */ lis r4, 0x4330 -/* 000000A4 000000E4 88 1F 06 74 */ lbz r0, 0x674(r31) -/* 000000A8 000000E8 7F E3 FB 78 */ mr r3, r31 -/* 000000AC 000000EC 90 A1 00 24 */ stw r5, 0x24(r1) -/* 000000B0 000000F0 C8 40 00 00 */ lfd f2, ftCo_804D8598@sda21(r0) -/* 000000B4 000000F4 90 01 00 1C */ stw r0, 0x1c(r1) -/* 000000B8 000000F8 C3 FF 06 20 */ lfs f31, 0x620(r31) -/* 000000BC 000000FC 90 81 00 20 */ stw r4, 0x20(r1) -/* 000000C0 00000100 C3 DF 06 24 */ lfs f30, 0x624(r31) -/* 000000C4 00000104 90 81 00 18 */ stw r4, 0x18(r1) -/* 000000C8 00000108 C8 21 00 20 */ lfd f1, 0x20(r1) -/* 000000CC 0000010C C8 01 00 18 */ lfd f0, 0x18(r1) -/* 000000D0 00000110 EF 81 10 28 */ fsubs f28, f1, f2 -/* 000000D4 00000114 EF A0 10 28 */ fsubs f29, f0, f2 -/* 000000D8 00000118 48 00 00 01 */ bl ftCo_GetLStickAngle -/* 000000DC 0000011C 38 A0 00 01 */ li r5, 0x1 -/* 000000E0 00000120 48 00 00 2C */ b .L_0000010C -.L_000000E4: -/* 000000E4 00000124 C3 80 00 00 */ lfs f28, ftCo_804D8590@sda21(r0) -/* 000000E8 00000128 7F E3 FB 78 */ mr r3, r31 -/* 000000EC 0000012C C3 FF 06 38 */ lfs f31, 0x638(r31) -/* 000000F0 00000130 FF A0 E0 90 */ fmr f29, f28 -/* 000000F4 00000134 C3 DF 06 3C */ lfs f30, 0x63c(r31) -/* 000000F8 00000138 48 00 00 01 */ bl ftCo_GetCStickAngle -/* 000000FC 0000013C 38 A0 00 00 */ li r5, 0x0 -/* 00000100 00000140 48 00 00 0C */ b .L_0000010C -.L_00000104: -/* 00000104 00000144 38 60 00 00 */ li r3, 0x0 -/* 00000108 00000148 48 00 01 D4 */ b .L_000002DC -.L_0000010C: -/* 0000010C 0000014C C0 00 00 00 */ lfs f0, ftCo_804D8590@sda21(r0) -/* 00000110 00000150 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 00000114 00000154 40 80 00 0C */ bge .L_00000120 -/* 00000118 00000158 FC 40 F8 50 */ fneg f2, f31 -/* 0000011C 0000015C 48 00 00 08 */ b .L_00000124 -.L_00000120: -/* 00000120 00000160 FC 40 F8 90 */ fmr f2, f31 -.L_00000124: -/* 00000124 00000164 80 80 00 00 */ lwz r4, p_ftCommonData@sda21(r0) -/* 00000128 00000168 C0 04 00 3C */ lfs f0, 0x3c(r4) -/* 0000012C 0000016C FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 00000130 00000170 4C 41 13 82 */ cror eq, gt, eq -/* 00000134 00000174 40 82 00 60 */ bne .L_00000194 -/* 00000138 00000178 80 64 00 40 */ lwz r3, 0x40(r4) -/* 0000013C 0000017C 3C 00 43 30 */ lis r0, 0x4330 -/* 00000140 00000180 C8 60 00 00 */ lfd f3, ftCo_804D85A0@sda21(r0) -/* 00000144 00000184 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 00000148 00000188 C0 04 00 44 */ lfs f0, 0x44(r4) -/* 0000014C 0000018C 90 61 00 1C */ stw r3, 0x1c(r1) -/* 00000150 00000190 90 01 00 18 */ stw r0, 0x18(r1) -/* 00000154 00000194 C8 41 00 18 */ lfd f2, 0x18(r1) -/* 00000158 00000198 EC 42 18 28 */ fsubs f2, f2, f3 -/* 0000015C 0000019C EC 02 00 2A */ fadds f0, f2, f0 -/* 00000160 000001A0 FC 1C 00 40 */ fcmpo cr0, f28, f0 -/* 00000164 000001A4 40 80 00 30 */ bge .L_00000194 -/* 00000168 000001A8 C0 3F 00 2C */ lfs f1, 0x2c(r31) -/* 0000016C 000001AC C0 00 00 00 */ lfs f0, ftCo_804D8590@sda21(r0) -/* 00000170 000001B0 EC 3F 00 72 */ fmuls f1, f31, f1 -/* 00000174 000001B4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 00000178 000001B8 4C 41 13 82 */ cror eq, gt, eq -/* 0000017C 000001BC 40 82 00 0C */ bne .L_00000188 -/* 00000180 000001C0 38 00 00 74 */ li r0, 0x74 -/* 00000184 000001C4 48 00 00 08 */ b .L_0000018C -.L_00000188: -/* 00000188 000001C8 38 00 00 75 */ li r0, 0x75 -.L_0000018C: -/* 0000018C 000001CC 7C 1E 03 78 */ mr r30, r0 -/* 00000190 000001D0 48 00 01 28 */ b .L_000002B8 -.L_00000194: -/* 00000194 000001D4 C0 04 00 CC */ lfs f0, 0xcc(r4) -/* 00000198 000001D8 FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 0000019C 000001DC 4C 41 13 82 */ cror eq, gt, eq -/* 000001A0 000001E0 40 82 00 20 */ bne .L_000001C0 -/* 000001A4 000001E4 C0 44 00 D0 */ lfs f2, 0xd0(r4) -/* 000001A8 000001E8 C0 1F 01 48 */ lfs f0, 0x148(r31) -/* 000001AC 000001EC EC 02 00 2A */ fadds f0, f2, f0 -/* 000001B0 000001F0 FC 1D 00 40 */ fcmpo cr0, f29, f0 -/* 000001B4 000001F4 40 80 00 0C */ bge .L_000001C0 -/* 000001B8 000001F8 3B C0 00 76 */ li r30, 0x76 -/* 000001BC 000001FC 48 00 00 FC */ b .L_000002B8 -.L_000001C0: -/* 000001C0 00000200 C0 04 00 D4 */ lfs f0, 0xd4(r4) -/* 000001C4 00000204 FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 000001C8 00000208 4C 40 13 82 */ cror eq, lt, eq -/* 000001CC 0000020C 40 82 00 18 */ bne .L_000001E4 -/* 000001D0 00000210 C0 04 00 D8 */ lfs f0, 0xd8(r4) -/* 000001D4 00000214 FC 1D 00 40 */ fcmpo cr0, f29, f0 -/* 000001D8 00000218 40 80 00 0C */ bge .L_000001E4 -/* 000001DC 0000021C 3B C0 00 77 */ li r30, 0x77 -/* 000001E0 00000220 48 00 00 D8 */ b .L_000002B8 -.L_000001E4: -/* 000001E4 00000224 C0 00 00 00 */ lfs f0, ftCo_804D8590@sda21(r0) -/* 000001E8 00000228 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 000001EC 0000022C 40 80 00 0C */ bge .L_000001F8 -/* 000001F0 00000230 FC 40 F8 50 */ fneg f2, f31 -/* 000001F4 00000234 48 00 00 08 */ b .L_000001FC -.L_000001F8: -/* 000001F8 00000238 FC 40 F8 90 */ fmr f2, f31 -.L_000001FC: -/* 000001FC 0000023C C0 04 00 98 */ lfs f0, 0x98(r4) -/* 00000200 00000240 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 00000204 00000244 4C 41 13 82 */ cror eq, gt, eq -/* 00000208 00000248 40 82 00 58 */ bne .L_00000260 -/* 0000020C 0000024C C0 00 00 00 */ lfs f0, ftCo_804D8590@sda21(r0) -/* 00000210 00000250 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 00000214 00000254 40 80 00 0C */ bge .L_00000220 -/* 00000218 00000258 FC 40 08 50 */ fneg f2, f1 -/* 0000021C 0000025C 48 00 00 08 */ b .L_00000224 -.L_00000220: -/* 00000220 00000260 FC 40 08 90 */ fmr f2, f1 -.L_00000224: -/* 00000224 00000264 C0 04 00 20 */ lfs f0, 0x20(r4) -/* 00000228 00000268 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 0000022C 0000026C 4C 40 13 82 */ cror eq, lt, eq -/* 00000230 00000270 40 82 00 30 */ bne .L_00000260 -/* 00000234 00000274 C0 3F 00 2C */ lfs f1, 0x2c(r31) -/* 00000238 00000278 C0 00 00 00 */ lfs f0, ftCo_804D8590@sda21(r0) -/* 0000023C 0000027C EC 3F 00 72 */ fmuls f1, f31, f1 -/* 00000240 00000280 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 00000244 00000284 4C 41 13 82 */ cror eq, gt, eq -/* 00000248 00000288 40 82 00 0C */ bne .L_00000254 -/* 0000024C 0000028C 38 00 00 68 */ li r0, 0x68 -/* 00000250 00000290 48 00 00 08 */ b .L_00000258 -.L_00000254: -/* 00000254 00000294 38 00 00 69 */ li r0, 0x69 -.L_00000258: -/* 00000258 00000298 7C 1E 03 78 */ mr r30, r0 -/* 0000025C 0000029C 48 00 00 5C */ b .L_000002B8 -.L_00000260: -/* 00000260 000002A0 C0 04 00 AC */ lfs f0, 0xac(r4) -/* 00000264 000002A4 FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 00000268 000002A8 4C 41 13 82 */ cror eq, gt, eq -/* 0000026C 000002AC 40 82 00 18 */ bne .L_00000284 -/* 00000270 000002B0 C0 04 00 20 */ lfs f0, 0x20(r4) -/* 00000274 000002B4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 00000278 000002B8 40 81 00 0C */ ble .L_00000284 -/* 0000027C 000002BC 3B C0 00 6A */ li r30, 0x6a -/* 00000280 000002C0 48 00 00 38 */ b .L_000002B8 -.L_00000284: -/* 00000284 000002C4 C0 04 00 B0 */ lfs f0, 0xb0(r4) -/* 00000288 000002C8 FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 0000028C 000002CC 4C 40 13 82 */ cror eq, lt, eq -/* 00000290 000002D0 40 82 00 1C */ bne .L_000002AC -/* 00000294 000002D4 C0 04 00 20 */ lfs f0, 0x20(r4) -/* 00000298 000002D8 FC 00 00 50 */ fneg f0, f0 -/* 0000029C 000002DC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 000002A0 000002E0 40 80 00 0C */ bge .L_000002AC -/* 000002A4 000002E4 3B C0 00 6B */ li r30, 0x6b -/* 000002A8 000002E8 48 00 00 10 */ b .L_000002B8 -.L_000002AC: -/* 000002AC 000002EC 2C 05 00 00 */ cmpwi r5, 0x0 -/* 000002B0 000002F0 41 82 00 08 */ beq .L_000002B8 -/* 000002B4 000002F4 3B C0 00 68 */ li r30, 0x68 -.L_000002B8: -/* 000002B8 000002F8 80 1F 00 10 */ lwz r0, 0x10(r31) -/* 000002BC 000002FC 7C 1E 00 00 */ cmpw r30, r0 -/* 000002C0 00000300 41 82 00 18 */ beq .L_000002D8 -/* 000002C4 00000304 38 7D 00 00 */ addi r3, r29, 0x0 -/* 000002C8 00000308 38 9E 00 00 */ addi r4, r30, 0x0 -/* 000002CC 0000030C 48 00 00 01 */ bl ftCo_800958FC -/* 000002D0 00000310 38 60 00 01 */ li r3, 0x1 -/* 000002D4 00000314 48 00 00 08 */ b .L_000002DC -.L_000002D8: -/* 000002D8 00000318 38 60 00 00 */ li r3, 0x0 -.L_000002DC: -/* 000002DC 0000031C 80 01 00 5C */ lwz r0, 0x5c(r1) -/* 000002E0 00000320 CB E1 00 50 */ lfd f31, 0x50(r1) -/* 000002E4 00000324 CB C1 00 48 */ lfd f30, 0x48(r1) -/* 000002E8 00000328 CB A1 00 40 */ lfd f29, 0x40(r1) -/* 000002EC 0000032C CB 81 00 38 */ lfd f28, 0x38(r1) -/* 000002F0 00000330 83 E1 00 34 */ lwz r31, 0x34(r1) -/* 000002F4 00000334 83 C1 00 30 */ lwz r30, 0x30(r1) -/* 000002F8 00000338 83 A1 00 2C */ lwz r29, 0x2c(r1) -/* 000002FC 0000033C 38 21 00 58 */ addi r1, r1, 0x58 -/* 00000300 00000340 7C 08 03 A6 */ mtlr r0 -/* 00000304 00000344 4E 80 00 20 */ blr +/* 80094EA4 00091A84 7C 08 02 A6 */ mflr r0 +/* 80094EA8 00091A88 90 01 00 04 */ stw r0, 0x4(r1) +/* 80094EAC 00091A8C 94 21 FF A8 */ stwu r1, -0x58(r1) +/* 80094EB0 00091A90 DB E1 00 50 */ stfd f31, 0x50(r1) +/* 80094EB4 00091A94 DB C1 00 48 */ stfd f30, 0x48(r1) +/* 80094EB8 00091A98 DB A1 00 40 */ stfd f29, 0x40(r1) +/* 80094EBC 00091A9C DB 81 00 38 */ stfd f28, 0x38(r1) +/* 80094EC0 00091AA0 93 E1 00 34 */ stw r31, 0x34(r1) +/* 80094EC4 00091AA4 93 C1 00 30 */ stw r30, 0x30(r1) +/* 80094EC8 00091AA8 93 A1 00 2C */ stw r29, 0x2c(r1) +/* 80094ECC 00091AAC 7C 7D 1B 78 */ mr r29, r3 +/* 80094ED0 00091AB0 83 E3 00 2C */ lwz r31, 0x2c(r3) +/* 80094ED4 00091AB4 80 1F 19 74 */ lwz r0, 0x1974(r31) +/* 80094ED8 00091AB8 83 DF 00 10 */ lwz r30, 0x10(r31) +/* 80094EDC 00091ABC 28 00 00 00 */ cmplwi r0, 0x0 +/* 80094EE0 00091AC0 41 82 00 78 */ beq .L_80094F58 +/* 80094EE4 00091AC4 80 1F 06 68 */ lwz r0, 0x668(r31) +/* 80094EE8 00091AC8 54 00 05 AF */ rlwinm. r0, r0, 0, 22, 23 +/* 80094EEC 00091ACC 41 82 00 4C */ beq .L_80094F38 +/* 80094EF0 00091AD0 88 BF 06 73 */ lbz r5, 0x673(r31) +/* 80094EF4 00091AD4 3C 80 43 30 */ lis r4, 0x4330 +/* 80094EF8 00091AD8 88 1F 06 74 */ lbz r0, 0x674(r31) +/* 80094EFC 00091ADC 7F E3 FB 78 */ mr r3, r31 +/* 80094F00 00091AE0 90 A1 00 24 */ stw r5, 0x24(r1) +/* 80094F04 00091AE4 C8 42 8B B8 */ lfd f2, ftCo_804D8598@sda21(r0) +/* 80094F08 00091AE8 90 01 00 1C */ stw r0, 0x1c(r1) +/* 80094F0C 00091AEC C3 FF 06 20 */ lfs f31, 0x620(r31) +/* 80094F10 00091AF0 90 81 00 20 */ stw r4, 0x20(r1) +/* 80094F14 00091AF4 C3 DF 06 24 */ lfs f30, 0x624(r31) +/* 80094F18 00091AF8 90 81 00 18 */ stw r4, 0x18(r1) +/* 80094F1C 00091AFC C8 21 00 20 */ lfd f1, 0x20(r1) +/* 80094F20 00091B00 C8 01 00 18 */ lfd f0, 0x18(r1) +/* 80094F24 00091B04 EF 81 10 28 */ fsubs f28, f1, f2 +/* 80094F28 00091B08 EF A0 10 28 */ fsubs f29, f0, f2 +/* 80094F2C 00091B0C 4B FE 8A 39 */ bl ftCo_GetLStickAngle +/* 80094F30 00091B10 38 A0 00 01 */ li r5, 0x1 +/* 80094F34 00091B14 48 00 00 2C */ b .L_80094F60 +.L_80094F38: +/* 80094F38 00091B18 C3 82 8B B0 */ lfs f28, ftCo_804D8590@sda21(r0) +/* 80094F3C 00091B1C 7F E3 FB 78 */ mr r3, r31 +/* 80094F40 00091B20 C3 FF 06 38 */ lfs f31, 0x638(r31) +/* 80094F44 00091B24 FF A0 E0 90 */ fmr f29, f28 +/* 80094F48 00091B28 C3 DF 06 3C */ lfs f30, 0x63c(r31) +/* 80094F4C 00091B2C 4B FE 8A 51 */ bl ftCo_GetCStickAngle +/* 80094F50 00091B30 38 A0 00 00 */ li r5, 0x0 +/* 80094F54 00091B34 48 00 00 0C */ b .L_80094F60 +.L_80094F58: +/* 80094F58 00091B38 38 60 00 00 */ li r3, 0x0 +/* 80094F5C 00091B3C 48 00 01 D4 */ b .L_80095130 +.L_80094F60: +/* 80094F60 00091B40 C0 02 8B B0 */ lfs f0, ftCo_804D8590@sda21(r0) +/* 80094F64 00091B44 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 80094F68 00091B48 40 80 00 0C */ bge .L_80094F74 +/* 80094F6C 00091B4C FC 40 F8 50 */ fneg f2, f31 +/* 80094F70 00091B50 48 00 00 08 */ b .L_80094F78 +.L_80094F74: +/* 80094F74 00091B54 FC 40 F8 90 */ fmr f2, f31 +.L_80094F78: +/* 80094F78 00091B58 80 8D AE B4 */ lwz r4, p_ftCommonData@sda21(r0) +/* 80094F7C 00091B5C C0 04 00 3C */ lfs f0, 0x3c(r4) +/* 80094F80 00091B60 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80094F84 00091B64 4C 41 13 82 */ cror eq, gt, eq +/* 80094F88 00091B68 40 82 00 60 */ bne .L_80094FE8 +/* 80094F8C 00091B6C 80 64 00 40 */ lwz r3, 0x40(r4) +/* 80094F90 00091B70 3C 00 43 30 */ lis r0, 0x4330 +/* 80094F94 00091B74 C8 62 8B C0 */ lfd f3, ftCo_804D85A0@sda21(r0) +/* 80094F98 00091B78 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 80094F9C 00091B7C C0 04 00 44 */ lfs f0, 0x44(r4) +/* 80094FA0 00091B80 90 61 00 1C */ stw r3, 0x1c(r1) +/* 80094FA4 00091B84 90 01 00 18 */ stw r0, 0x18(r1) +/* 80094FA8 00091B88 C8 41 00 18 */ lfd f2, 0x18(r1) +/* 80094FAC 00091B8C EC 42 18 28 */ fsubs f2, f2, f3 +/* 80094FB0 00091B90 EC 02 00 2A */ fadds f0, f2, f0 +/* 80094FB4 00091B94 FC 1C 00 40 */ fcmpo cr0, f28, f0 +/* 80094FB8 00091B98 40 80 00 30 */ bge .L_80094FE8 +/* 80094FBC 00091B9C C0 3F 00 2C */ lfs f1, 0x2c(r31) +/* 80094FC0 00091BA0 C0 02 8B B0 */ lfs f0, ftCo_804D8590@sda21(r0) +/* 80094FC4 00091BA4 EC 3F 00 72 */ fmuls f1, f31, f1 +/* 80094FC8 00091BA8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80094FCC 00091BAC 4C 41 13 82 */ cror eq, gt, eq +/* 80094FD0 00091BB0 40 82 00 0C */ bne .L_80094FDC +/* 80094FD4 00091BB4 38 00 00 74 */ li r0, 0x74 +/* 80094FD8 00091BB8 48 00 00 08 */ b .L_80094FE0 +.L_80094FDC: +/* 80094FDC 00091BBC 38 00 00 75 */ li r0, 0x75 +.L_80094FE0: +/* 80094FE0 00091BC0 7C 1E 03 78 */ mr r30, r0 +/* 80094FE4 00091BC4 48 00 01 28 */ b .L_8009510C +.L_80094FE8: +/* 80094FE8 00091BC8 C0 04 00 CC */ lfs f0, 0xcc(r4) +/* 80094FEC 00091BCC FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 80094FF0 00091BD0 4C 41 13 82 */ cror eq, gt, eq +/* 80094FF4 00091BD4 40 82 00 20 */ bne .L_80095014 +/* 80094FF8 00091BD8 C0 44 00 D0 */ lfs f2, 0xd0(r4) +/* 80094FFC 00091BDC C0 1F 01 48 */ lfs f0, 0x148(r31) +/* 80095000 00091BE0 EC 02 00 2A */ fadds f0, f2, f0 +/* 80095004 00091BE4 FC 1D 00 40 */ fcmpo cr0, f29, f0 +/* 80095008 00091BE8 40 80 00 0C */ bge .L_80095014 +/* 8009500C 00091BEC 3B C0 00 76 */ li r30, 0x76 +/* 80095010 00091BF0 48 00 00 FC */ b .L_8009510C +.L_80095014: +/* 80095014 00091BF4 C0 04 00 D4 */ lfs f0, 0xd4(r4) +/* 80095018 00091BF8 FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 8009501C 00091BFC 4C 40 13 82 */ cror eq, lt, eq +/* 80095020 00091C00 40 82 00 18 */ bne .L_80095038 +/* 80095024 00091C04 C0 04 00 D8 */ lfs f0, 0xd8(r4) +/* 80095028 00091C08 FC 1D 00 40 */ fcmpo cr0, f29, f0 +/* 8009502C 00091C0C 40 80 00 0C */ bge .L_80095038 +/* 80095030 00091C10 3B C0 00 77 */ li r30, 0x77 +/* 80095034 00091C14 48 00 00 D8 */ b .L_8009510C +.L_80095038: +/* 80095038 00091C18 C0 02 8B B0 */ lfs f0, ftCo_804D8590@sda21(r0) +/* 8009503C 00091C1C FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 80095040 00091C20 40 80 00 0C */ bge .L_8009504C +/* 80095044 00091C24 FC 40 F8 50 */ fneg f2, f31 +/* 80095048 00091C28 48 00 00 08 */ b .L_80095050 +.L_8009504C: +/* 8009504C 00091C2C FC 40 F8 90 */ fmr f2, f31 +.L_80095050: +/* 80095050 00091C30 C0 04 00 98 */ lfs f0, 0x98(r4) +/* 80095054 00091C34 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80095058 00091C38 4C 41 13 82 */ cror eq, gt, eq +/* 8009505C 00091C3C 40 82 00 58 */ bne .L_800950B4 +/* 80095060 00091C40 C0 02 8B B0 */ lfs f0, ftCo_804D8590@sda21(r0) +/* 80095064 00091C44 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80095068 00091C48 40 80 00 0C */ bge .L_80095074 +/* 8009506C 00091C4C FC 40 08 50 */ fneg f2, f1 +/* 80095070 00091C50 48 00 00 08 */ b .L_80095078 +.L_80095074: +/* 80095074 00091C54 FC 40 08 90 */ fmr f2, f1 +.L_80095078: +/* 80095078 00091C58 C0 04 00 20 */ lfs f0, 0x20(r4) +/* 8009507C 00091C5C FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80095080 00091C60 4C 40 13 82 */ cror eq, lt, eq +/* 80095084 00091C64 40 82 00 30 */ bne .L_800950B4 +/* 80095088 00091C68 C0 3F 00 2C */ lfs f1, 0x2c(r31) +/* 8009508C 00091C6C C0 02 8B B0 */ lfs f0, ftCo_804D8590@sda21(r0) +/* 80095090 00091C70 EC 3F 00 72 */ fmuls f1, f31, f1 +/* 80095094 00091C74 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80095098 00091C78 4C 41 13 82 */ cror eq, gt, eq +/* 8009509C 00091C7C 40 82 00 0C */ bne .L_800950A8 +/* 800950A0 00091C80 38 00 00 68 */ li r0, 0x68 +/* 800950A4 00091C84 48 00 00 08 */ b .L_800950AC +.L_800950A8: +/* 800950A8 00091C88 38 00 00 69 */ li r0, 0x69 +.L_800950AC: +/* 800950AC 00091C8C 7C 1E 03 78 */ mr r30, r0 +/* 800950B0 00091C90 48 00 00 5C */ b .L_8009510C +.L_800950B4: +/* 800950B4 00091C94 C0 04 00 AC */ lfs f0, 0xac(r4) +/* 800950B8 00091C98 FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 800950BC 00091C9C 4C 41 13 82 */ cror eq, gt, eq +/* 800950C0 00091CA0 40 82 00 18 */ bne .L_800950D8 +/* 800950C4 00091CA4 C0 04 00 20 */ lfs f0, 0x20(r4) +/* 800950C8 00091CA8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800950CC 00091CAC 40 81 00 0C */ ble .L_800950D8 +/* 800950D0 00091CB0 3B C0 00 6A */ li r30, 0x6a +/* 800950D4 00091CB4 48 00 00 38 */ b .L_8009510C +.L_800950D8: +/* 800950D8 00091CB8 C0 04 00 B0 */ lfs f0, 0xb0(r4) +/* 800950DC 00091CBC FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 800950E0 00091CC0 4C 40 13 82 */ cror eq, lt, eq +/* 800950E4 00091CC4 40 82 00 1C */ bne .L_80095100 +/* 800950E8 00091CC8 C0 04 00 20 */ lfs f0, 0x20(r4) +/* 800950EC 00091CCC FC 00 00 50 */ fneg f0, f0 +/* 800950F0 00091CD0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800950F4 00091CD4 40 80 00 0C */ bge .L_80095100 +/* 800950F8 00091CD8 3B C0 00 6B */ li r30, 0x6b +/* 800950FC 00091CDC 48 00 00 10 */ b .L_8009510C +.L_80095100: +/* 80095100 00091CE0 2C 05 00 00 */ cmpwi r5, 0x0 +/* 80095104 00091CE4 41 82 00 08 */ beq .L_8009510C +/* 80095108 00091CE8 3B C0 00 68 */ li r30, 0x68 +.L_8009510C: +/* 8009510C 00091CEC 80 1F 00 10 */ lwz r0, 0x10(r31) +/* 80095110 00091CF0 7C 1E 00 00 */ cmpw r30, r0 +/* 80095114 00091CF4 41 82 00 18 */ beq .L_8009512C +/* 80095118 00091CF8 38 7D 00 00 */ addi r3, r29, 0x0 +/* 8009511C 00091CFC 38 9E 00 00 */ addi r4, r30, 0x0 +/* 80095120 00091D00 48 00 07 DD */ bl ftCo_800958FC +/* 80095124 00091D04 38 60 00 01 */ li r3, 0x1 +/* 80095128 00091D08 48 00 00 08 */ b .L_80095130 +.L_8009512C: +/* 8009512C 00091D0C 38 60 00 00 */ li r3, 0x0 +.L_80095130: +/* 80095130 00091D10 80 01 00 5C */ lwz r0, 0x5c(r1) +/* 80095134 00091D14 CB E1 00 50 */ lfd f31, 0x50(r1) +/* 80095138 00091D18 CB C1 00 48 */ lfd f30, 0x48(r1) +/* 8009513C 00091D1C CB A1 00 40 */ lfd f29, 0x40(r1) +/* 80095140 00091D20 CB 81 00 38 */ lfd f28, 0x38(r1) +/* 80095144 00091D24 83 E1 00 34 */ lwz r31, 0x34(r1) +/* 80095148 00091D28 83 C1 00 30 */ lwz r30, 0x30(r1) +/* 8009514C 00091D2C 83 A1 00 2C */ lwz r29, 0x2c(r1) +/* 80095150 00091D30 38 21 00 58 */ addi r1, r1, 0x58 +/* 80095154 00091D34 7C 08 03 A6 */ mtlr r0 +/* 80095158 00091D38 4E 80 00 20 */ blr .endfn ftCo_80094EA4 +# .text:0x308 | 0x8009515C | size: 0x74 .fn ftCo_8009515C, global -/* 00000308 00000348 7C 08 02 A6 */ mflr r0 -/* 0000030C 0000034C 90 01 00 04 */ stw r0, 0x4(r1) -/* 00000310 00000350 94 21 FF F8 */ stwu r1, -0x8(r1) -/* 00000314 00000354 80 83 00 2C */ lwz r4, 0x2c(r3) -/* 00000318 00000358 80 04 19 74 */ lwz r0, 0x1974(r4) -/* 0000031C 0000035C 28 00 00 00 */ cmplwi r0, 0x0 -/* 00000320 00000360 41 82 00 34 */ beq .L_00000354 -/* 00000324 00000364 80 04 06 68 */ lwz r0, 0x668(r4) -/* 00000328 00000368 54 00 05 EF */ rlwinm. r0, r0, 0, 23, 23 -/* 0000032C 0000036C 41 82 00 28 */ beq .L_00000354 -/* 00000330 00000370 80 04 23 60 */ lwz r0, 0x2360(r4) -/* 00000334 00000374 2C 00 00 00 */ cmpwi r0, 0x0 -/* 00000338 00000378 41 82 00 10 */ beq .L_00000348 -/* 0000033C 0000037C 38 80 00 62 */ li r4, 0x62 -/* 00000340 00000380 48 00 00 01 */ bl ftCo_800957F4 -/* 00000344 00000384 48 00 00 08 */ b .L_0000034C -.L_00000348: -/* 00000348 00000388 48 00 00 01 */ bl ftCo_80095A30 -.L_0000034C: -/* 0000034C 0000038C 38 60 00 01 */ li r3, 0x1 -/* 00000350 00000390 48 00 00 1C */ b .L_0000036C -.L_00000354: -/* 00000354 00000394 80 64 23 60 */ lwz r3, 0x2360(r4) -/* 00000358 00000398 2C 03 00 00 */ cmpwi r3, 0x0 -/* 0000035C 0000039C 41 82 00 0C */ beq .L_00000368 -/* 00000360 000003A0 38 03 FF FF */ subi r0, r3, 0x1 -/* 00000364 000003A4 90 04 23 60 */ stw r0, 0x2360(r4) -.L_00000368: -/* 00000368 000003A8 38 60 00 00 */ li r3, 0x0 -.L_0000036C: -/* 0000036C 000003AC 80 01 00 0C */ lwz r0, 0xc(r1) -/* 00000370 000003B0 38 21 00 08 */ addi r1, r1, 0x8 -/* 00000374 000003B4 7C 08 03 A6 */ mtlr r0 -/* 00000378 000003B8 4E 80 00 20 */ blr +/* 8009515C 00091D3C 7C 08 02 A6 */ mflr r0 +/* 80095160 00091D40 90 01 00 04 */ stw r0, 0x4(r1) +/* 80095164 00091D44 94 21 FF F8 */ stwu r1, -0x8(r1) +/* 80095168 00091D48 80 83 00 2C */ lwz r4, 0x2c(r3) +/* 8009516C 00091D4C 80 04 19 74 */ lwz r0, 0x1974(r4) +/* 80095170 00091D50 28 00 00 00 */ cmplwi r0, 0x0 +/* 80095174 00091D54 41 82 00 34 */ beq .L_800951A8 +/* 80095178 00091D58 80 04 06 68 */ lwz r0, 0x668(r4) +/* 8009517C 00091D5C 54 00 05 EF */ rlwinm. r0, r0, 0, 23, 23 +/* 80095180 00091D60 41 82 00 28 */ beq .L_800951A8 +/* 80095184 00091D64 80 04 23 60 */ lwz r0, 0x2360(r4) +/* 80095188 00091D68 2C 00 00 00 */ cmpwi r0, 0x0 +/* 8009518C 00091D6C 41 82 00 10 */ beq .L_8009519C +/* 80095190 00091D70 38 80 00 62 */ li r4, 0x62 +/* 80095194 00091D74 48 00 06 61 */ bl ftCo_800957F4 +/* 80095198 00091D78 48 00 00 08 */ b .L_800951A0 +.L_8009519C: +/* 8009519C 00091D7C 48 00 08 95 */ bl ftCo_80095A30 +.L_800951A0: +/* 800951A0 00091D80 38 60 00 01 */ li r3, 0x1 +/* 800951A4 00091D84 48 00 00 1C */ b .L_800951C0 +.L_800951A8: +/* 800951A8 00091D88 80 64 23 60 */ lwz r3, 0x2360(r4) +/* 800951AC 00091D8C 2C 03 00 00 */ cmpwi r3, 0x0 +/* 800951B0 00091D90 41 82 00 0C */ beq .L_800951BC +/* 800951B4 00091D94 38 03 FF FF */ subi r0, r3, 0x1 +/* 800951B8 00091D98 90 04 23 60 */ stw r0, 0x2360(r4) +.L_800951BC: +/* 800951BC 00091D9C 38 60 00 00 */ li r3, 0x0 +.L_800951C0: +/* 800951C0 00091DA0 80 01 00 0C */ lwz r0, 0xc(r1) +/* 800951C4 00091DA4 38 21 00 08 */ addi r1, r1, 0x8 +/* 800951C8 00091DA8 7C 08 03 A6 */ mtlr r0 +/* 800951CC 00091DAC 4E 80 00 20 */ blr .endfn ftCo_8009515C +# .text:0x37C | 0x800951D0 | size: 0x84 .fn ftCo_800951D0, global -/* 0000037C 000003BC 7C 08 02 A6 */ mflr r0 -/* 00000380 000003C0 90 01 00 04 */ stw r0, 0x4(r1) -/* 00000384 000003C4 94 21 FF E8 */ stwu r1, -0x18(r1) -/* 00000388 000003C8 93 E1 00 14 */ stw r31, 0x14(r1) -/* 0000038C 000003CC 7C 7F 1B 78 */ mr r31, r3 -/* 00000390 000003D0 80 83 00 2C */ lwz r4, 0x2c(r3) -/* 00000394 000003D4 80 64 19 74 */ lwz r3, 0x1974(r4) -/* 00000398 000003D8 28 03 00 00 */ cmplwi r3, 0x0 -/* 0000039C 000003DC 41 82 00 4C */ beq .L_000003E8 -/* 000003A0 000003E0 80 04 06 68 */ lwz r0, 0x668(r4) -/* 000003A4 000003E4 54 00 05 EF */ rlwinm. r0, r0, 0, 23, 23 -/* 000003A8 000003E8 41 82 00 24 */ beq .L_000003CC -/* 000003AC 000003EC 80 04 06 5C */ lwz r0, 0x65c(r4) -/* 000003B0 000003F0 54 00 00 01 */ clrrwi. r0, r0, 31 -/* 000003B4 000003F4 40 82 00 10 */ bne .L_000003C4 -/* 000003B8 000003F8 48 00 00 01 */ bl it_8026B30C -/* 000003BC 000003FC 2C 03 00 00 */ cmpwi r3, 0x0 -/* 000003C0 00000400 40 82 00 0C */ bne .L_000003CC -.L_000003C4: -/* 000003C4 00000404 38 00 00 01 */ li r0, 0x1 -/* 000003C8 00000408 48 00 00 08 */ b .L_000003D0 -.L_000003CC: -/* 000003CC 0000040C 38 00 00 00 */ li r0, 0x0 -.L_000003D0: -/* 000003D0 00000410 2C 00 00 00 */ cmpwi r0, 0x0 -/* 000003D4 00000414 41 82 00 14 */ beq .L_000003E8 -/* 000003D8 00000418 7F E3 FB 78 */ mr r3, r31 -/* 000003DC 0000041C 48 00 00 01 */ bl ftCo_80095A30 -/* 000003E0 00000420 38 60 00 01 */ li r3, 0x1 -/* 000003E4 00000424 48 00 00 08 */ b .L_000003EC -.L_000003E8: -/* 000003E8 00000428 38 60 00 00 */ li r3, 0x0 -.L_000003EC: -/* 000003EC 0000042C 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 000003F0 00000430 83 E1 00 14 */ lwz r31, 0x14(r1) -/* 000003F4 00000434 38 21 00 18 */ addi r1, r1, 0x18 -/* 000003F8 00000438 7C 08 03 A6 */ mtlr r0 -/* 000003FC 0000043C 4E 80 00 20 */ blr +/* 800951D0 00091DB0 7C 08 02 A6 */ mflr r0 +/* 800951D4 00091DB4 90 01 00 04 */ stw r0, 0x4(r1) +/* 800951D8 00091DB8 94 21 FF E8 */ stwu r1, -0x18(r1) +/* 800951DC 00091DBC 93 E1 00 14 */ stw r31, 0x14(r1) +/* 800951E0 00091DC0 7C 7F 1B 78 */ mr r31, r3 +/* 800951E4 00091DC4 80 83 00 2C */ lwz r4, 0x2c(r3) +/* 800951E8 00091DC8 80 64 19 74 */ lwz r3, 0x1974(r4) +/* 800951EC 00091DCC 28 03 00 00 */ cmplwi r3, 0x0 +/* 800951F0 00091DD0 41 82 00 4C */ beq .L_8009523C +/* 800951F4 00091DD4 80 04 06 68 */ lwz r0, 0x668(r4) +/* 800951F8 00091DD8 54 00 05 EF */ rlwinm. r0, r0, 0, 23, 23 +/* 800951FC 00091DDC 41 82 00 24 */ beq .L_80095220 +/* 80095200 00091DE0 80 04 06 5C */ lwz r0, 0x65c(r4) +/* 80095204 00091DE4 54 00 00 01 */ clrrwi. r0, r0, 31 +/* 80095208 00091DE8 40 82 00 10 */ bne .L_80095218 +/* 8009520C 00091DEC 48 1D 61 01 */ bl it_8026B30C +/* 80095210 00091DF0 2C 03 00 00 */ cmpwi r3, 0x0 +/* 80095214 00091DF4 40 82 00 0C */ bne .L_80095220 +.L_80095218: +/* 80095218 00091DF8 38 00 00 01 */ li r0, 0x1 +/* 8009521C 00091DFC 48 00 00 08 */ b .L_80095224 +.L_80095220: +/* 80095220 00091E00 38 00 00 00 */ li r0, 0x0 +.L_80095224: +/* 80095224 00091E04 2C 00 00 00 */ cmpwi r0, 0x0 +/* 80095228 00091E08 41 82 00 14 */ beq .L_8009523C +/* 8009522C 00091E0C 7F E3 FB 78 */ mr r3, r31 +/* 80095230 00091E10 48 00 08 01 */ bl ftCo_80095A30 +/* 80095234 00091E14 38 60 00 01 */ li r3, 0x1 +/* 80095238 00091E18 48 00 00 08 */ b .L_80095240 +.L_8009523C: +/* 8009523C 00091E1C 38 60 00 00 */ li r3, 0x0 +.L_80095240: +/* 80095240 00091E20 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 80095244 00091E24 83 E1 00 14 */ lwz r31, 0x14(r1) +/* 80095248 00091E28 38 21 00 18 */ addi r1, r1, 0x18 +/* 8009524C 00091E2C 7C 08 03 A6 */ mtlr r0 +/* 80095250 00091E30 4E 80 00 20 */ blr .endfn ftCo_800951D0 +# .text:0x400 | 0x80095254 | size: 0x88 .fn ftCo_80095254, global -/* 00000400 00000440 7C 08 02 A6 */ mflr r0 -/* 00000404 00000444 90 01 00 04 */ stw r0, 0x4(r1) -/* 00000408 00000448 94 21 FF E8 */ stwu r1, -0x18(r1) -/* 0000040C 0000044C 93 E1 00 14 */ stw r31, 0x14(r1) -/* 00000410 00000450 7C 7F 1B 78 */ mr r31, r3 -/* 00000414 00000454 80 83 00 2C */ lwz r4, 0x2c(r3) -/* 00000418 00000458 80 64 19 74 */ lwz r3, 0x1974(r4) -/* 0000041C 0000045C 28 03 00 00 */ cmplwi r3, 0x0 -/* 00000420 00000460 41 82 00 50 */ beq .L_00000470 -/* 00000424 00000464 80 04 06 68 */ lwz r0, 0x668(r4) -/* 00000428 00000468 54 00 05 EF */ rlwinm. r0, r0, 0, 23, 23 -/* 0000042C 0000046C 41 82 00 24 */ beq .L_00000450 -/* 00000430 00000470 80 04 06 5C */ lwz r0, 0x65c(r4) -/* 00000434 00000474 54 00 00 01 */ clrrwi. r0, r0, 31 -/* 00000438 00000478 40 82 00 10 */ bne .L_00000448 -/* 0000043C 0000047C 48 00 00 01 */ bl it_8026B30C -/* 00000440 00000480 2C 03 00 00 */ cmpwi r3, 0x0 -/* 00000444 00000484 40 82 00 0C */ bne .L_00000450 -.L_00000448: -/* 00000448 00000488 38 00 00 01 */ li r0, 0x1 -/* 0000044C 0000048C 48 00 00 08 */ b .L_00000454 -.L_00000450: -/* 00000450 00000490 38 00 00 00 */ li r0, 0x0 -.L_00000454: -/* 00000454 00000494 2C 00 00 00 */ cmpwi r0, 0x0 -/* 00000458 00000498 41 82 00 18 */ beq .L_00000470 -/* 0000045C 0000049C 38 7F 00 00 */ addi r3, r31, 0x0 -/* 00000460 000004A0 38 80 00 62 */ li r4, 0x62 -/* 00000464 000004A4 48 00 00 01 */ bl ftCo_800957F4 -/* 00000468 000004A8 38 60 00 01 */ li r3, 0x1 -/* 0000046C 000004AC 48 00 00 08 */ b .L_00000474 -.L_00000470: -/* 00000470 000004B0 38 60 00 00 */ li r3, 0x0 -.L_00000474: -/* 00000474 000004B4 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 00000478 000004B8 83 E1 00 14 */ lwz r31, 0x14(r1) -/* 0000047C 000004BC 38 21 00 18 */ addi r1, r1, 0x18 -/* 00000480 000004C0 7C 08 03 A6 */ mtlr r0 -/* 00000484 000004C4 4E 80 00 20 */ blr +/* 80095254 00091E34 7C 08 02 A6 */ mflr r0 +/* 80095258 00091E38 90 01 00 04 */ stw r0, 0x4(r1) +/* 8009525C 00091E3C 94 21 FF E8 */ stwu r1, -0x18(r1) +/* 80095260 00091E40 93 E1 00 14 */ stw r31, 0x14(r1) +/* 80095264 00091E44 7C 7F 1B 78 */ mr r31, r3 +/* 80095268 00091E48 80 83 00 2C */ lwz r4, 0x2c(r3) +/* 8009526C 00091E4C 80 64 19 74 */ lwz r3, 0x1974(r4) +/* 80095270 00091E50 28 03 00 00 */ cmplwi r3, 0x0 +/* 80095274 00091E54 41 82 00 50 */ beq .L_800952C4 +/* 80095278 00091E58 80 04 06 68 */ lwz r0, 0x668(r4) +/* 8009527C 00091E5C 54 00 05 EF */ rlwinm. r0, r0, 0, 23, 23 +/* 80095280 00091E60 41 82 00 24 */ beq .L_800952A4 +/* 80095284 00091E64 80 04 06 5C */ lwz r0, 0x65c(r4) +/* 80095288 00091E68 54 00 00 01 */ clrrwi. r0, r0, 31 +/* 8009528C 00091E6C 40 82 00 10 */ bne .L_8009529C +/* 80095290 00091E70 48 1D 60 7D */ bl it_8026B30C +/* 80095294 00091E74 2C 03 00 00 */ cmpwi r3, 0x0 +/* 80095298 00091E78 40 82 00 0C */ bne .L_800952A4 +.L_8009529C: +/* 8009529C 00091E7C 38 00 00 01 */ li r0, 0x1 +/* 800952A0 00091E80 48 00 00 08 */ b .L_800952A8 +.L_800952A4: +/* 800952A4 00091E84 38 00 00 00 */ li r0, 0x0 +.L_800952A8: +/* 800952A8 00091E88 2C 00 00 00 */ cmpwi r0, 0x0 +/* 800952AC 00091E8C 41 82 00 18 */ beq .L_800952C4 +/* 800952B0 00091E90 38 7F 00 00 */ addi r3, r31, 0x0 +/* 800952B4 00091E94 38 80 00 62 */ li r4, 0x62 +/* 800952B8 00091E98 48 00 05 3D */ bl ftCo_800957F4 +/* 800952BC 00091E9C 38 60 00 01 */ li r3, 0x1 +/* 800952C0 00091EA0 48 00 00 08 */ b .L_800952C8 +.L_800952C4: +/* 800952C4 00091EA4 38 60 00 00 */ li r3, 0x0 +.L_800952C8: +/* 800952C8 00091EA8 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 800952CC 00091EAC 83 E1 00 14 */ lwz r31, 0x14(r1) +/* 800952D0 00091EB0 38 21 00 18 */ addi r1, r1, 0x18 +/* 800952D4 00091EB4 7C 08 03 A6 */ mtlr r0 +/* 800952D8 00091EB8 4E 80 00 20 */ blr .endfn ftCo_80095254 +# .text:0x488 | 0x800952DC | size: 0x4C .fn ftCo_800952DC, global -/* 00000488 000004C8 7C 08 02 A6 */ mflr r0 -/* 0000048C 000004CC 90 01 00 04 */ stw r0, 0x4(r1) -/* 00000490 000004D0 94 21 FF F8 */ stwu r1, -0x8(r1) -/* 00000494 000004D4 80 83 00 2C */ lwz r4, 0x2c(r3) -/* 00000498 000004D8 80 04 19 74 */ lwz r0, 0x1974(r4) -/* 0000049C 000004DC 28 00 00 00 */ cmplwi r0, 0x0 -/* 000004A0 000004E0 41 82 00 20 */ beq .L_000004C0 -/* 000004A4 000004E4 80 04 06 5C */ lwz r0, 0x65c(r4) -/* 000004A8 000004E8 54 00 00 01 */ clrrwi. r0, r0, 31 -/* 000004AC 000004EC 41 82 00 14 */ beq .L_000004C0 -/* 000004B0 000004F0 38 80 00 62 */ li r4, 0x62 -/* 000004B4 000004F4 48 00 00 01 */ bl ftCo_800957F4 -/* 000004B8 000004F8 38 60 00 01 */ li r3, 0x1 -/* 000004BC 000004FC 48 00 00 08 */ b .L_000004C4 -.L_000004C0: -/* 000004C0 00000500 38 60 00 00 */ li r3, 0x0 -.L_000004C4: -/* 000004C4 00000504 80 01 00 0C */ lwz r0, 0xc(r1) -/* 000004C8 00000508 38 21 00 08 */ addi r1, r1, 0x8 -/* 000004CC 0000050C 7C 08 03 A6 */ mtlr r0 -/* 000004D0 00000510 4E 80 00 20 */ blr +/* 800952DC 00091EBC 7C 08 02 A6 */ mflr r0 +/* 800952E0 00091EC0 90 01 00 04 */ stw r0, 0x4(r1) +/* 800952E4 00091EC4 94 21 FF F8 */ stwu r1, -0x8(r1) +/* 800952E8 00091EC8 80 83 00 2C */ lwz r4, 0x2c(r3) +/* 800952EC 00091ECC 80 04 19 74 */ lwz r0, 0x1974(r4) +/* 800952F0 00091ED0 28 00 00 00 */ cmplwi r0, 0x0 +/* 800952F4 00091ED4 41 82 00 20 */ beq .L_80095314 +/* 800952F8 00091ED8 80 04 06 5C */ lwz r0, 0x65c(r4) +/* 800952FC 00091EDC 54 00 00 01 */ clrrwi. r0, r0, 31 +/* 80095300 00091EE0 41 82 00 14 */ beq .L_80095314 +/* 80095304 00091EE4 38 80 00 62 */ li r4, 0x62 +/* 80095308 00091EE8 48 00 04 ED */ bl ftCo_800957F4 +/* 8009530C 00091EEC 38 60 00 01 */ li r3, 0x1 +/* 80095310 00091EF0 48 00 00 08 */ b .L_80095318 +.L_80095314: +/* 80095314 00091EF4 38 60 00 00 */ li r3, 0x0 +.L_80095318: +/* 80095318 00091EF8 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8009531C 00091EFC 38 21 00 08 */ addi r1, r1, 0x8 +/* 80095320 00091F00 7C 08 03 A6 */ mtlr r0 +/* 80095324 00091F04 4E 80 00 20 */ blr .endfn ftCo_800952DC +# .text:0x4D4 | 0x80095328 | size: 0x314 .fn ftCo_80095328, global -/* 000004D4 00000514 7C 08 02 A6 */ mflr r0 -/* 000004D8 00000518 90 01 00 04 */ stw r0, 0x4(r1) -/* 000004DC 0000051C 94 21 FF A8 */ stwu r1, -0x58(r1) -/* 000004E0 00000520 DB E1 00 50 */ stfd f31, 0x50(r1) -/* 000004E4 00000524 DB C1 00 48 */ stfd f30, 0x48(r1) -/* 000004E8 00000528 DB A1 00 40 */ stfd f29, 0x40(r1) -/* 000004EC 0000052C DB 81 00 38 */ stfd f28, 0x38(r1) -/* 000004F0 00000530 93 E1 00 34 */ stw r31, 0x34(r1) -/* 000004F4 00000534 93 C1 00 30 */ stw r30, 0x30(r1) -/* 000004F8 00000538 7C 9E 23 78 */ mr r30, r4 -/* 000004FC 0000053C 93 A1 00 2C */ stw r29, 0x2c(r1) -/* 00000500 00000540 7C 7D 1B 78 */ mr r29, r3 -/* 00000504 00000544 80 63 00 2C */ lwz r3, 0x2c(r3) -/* 00000508 00000548 80 03 19 74 */ lwz r0, 0x1974(r3) -/* 0000050C 0000054C 3B E3 00 00 */ addi r31, r3, 0x0 -/* 00000510 00000550 28 00 00 00 */ cmplwi r0, 0x0 -/* 00000514 00000554 41 82 00 30 */ beq .L_00000544 -/* 00000518 00000558 7F E3 FB 78 */ mr r3, r31 -/* 0000051C 0000055C 48 00 00 01 */ bl ftCo_800DF50C -/* 00000520 00000560 2C 03 00 00 */ cmpwi r3, 0x0 -/* 00000524 00000564 41 82 00 20 */ beq .L_00000544 -/* 00000528 00000568 C3 A0 00 00 */ lfs f29, ftCo_804D8590@sda21(r0) -/* 0000052C 0000056C 7F E3 FB 78 */ mr r3, r31 -/* 00000530 00000570 C3 FF 06 38 */ lfs f31, 0x638(r31) -/* 00000534 00000574 FF C0 E8 90 */ fmr f30, f29 -/* 00000538 00000578 C3 9F 06 3C */ lfs f28, 0x63c(r31) -/* 0000053C 0000057C 48 00 00 01 */ bl ftCo_GetCStickAngle -/* 00000540 00000580 48 00 00 94 */ b .L_000005D4 -.L_00000544: -/* 00000544 00000584 80 7F 19 74 */ lwz r3, 0x1974(r31) -/* 00000548 00000588 28 03 00 00 */ cmplwi r3, 0x0 -/* 0000054C 0000058C 41 82 00 80 */ beq .L_000005CC -/* 00000550 00000590 80 1F 06 68 */ lwz r0, 0x668(r31) -/* 00000554 00000594 54 00 05 EF */ rlwinm. r0, r0, 0, 23, 23 -/* 00000558 00000598 41 82 00 24 */ beq .L_0000057C -/* 0000055C 0000059C 80 1F 06 5C */ lwz r0, 0x65c(r31) -/* 00000560 000005A0 54 00 00 01 */ clrrwi. r0, r0, 31 -/* 00000564 000005A4 40 82 00 10 */ bne .L_00000574 -/* 00000568 000005A8 48 00 00 01 */ bl it_8026B30C -/* 0000056C 000005AC 2C 03 00 00 */ cmpwi r3, 0x0 -/* 00000570 000005B0 40 82 00 0C */ bne .L_0000057C -.L_00000574: -/* 00000574 000005B4 38 00 00 01 */ li r0, 0x1 -/* 00000578 000005B8 48 00 00 08 */ b .L_00000580 -.L_0000057C: -/* 0000057C 000005BC 38 00 00 00 */ li r0, 0x0 -.L_00000580: -/* 00000580 000005C0 2C 00 00 00 */ cmpwi r0, 0x0 -/* 00000584 000005C4 41 82 00 48 */ beq .L_000005CC -/* 00000588 000005C8 88 BF 06 73 */ lbz r5, 0x673(r31) -/* 0000058C 000005CC 3C 80 43 30 */ lis r4, 0x4330 -/* 00000590 000005D0 88 1F 06 74 */ lbz r0, 0x674(r31) -/* 00000594 000005D4 7F E3 FB 78 */ mr r3, r31 -/* 00000598 000005D8 90 A1 00 24 */ stw r5, 0x24(r1) -/* 0000059C 000005DC C8 40 00 00 */ lfd f2, ftCo_804D8598@sda21(r0) -/* 000005A0 000005E0 90 01 00 1C */ stw r0, 0x1c(r1) -/* 000005A4 000005E4 C3 FF 06 20 */ lfs f31, 0x620(r31) -/* 000005A8 000005E8 90 81 00 20 */ stw r4, 0x20(r1) -/* 000005AC 000005EC C3 9F 06 24 */ lfs f28, 0x624(r31) -/* 000005B0 000005F0 90 81 00 18 */ stw r4, 0x18(r1) -/* 000005B4 000005F4 C8 21 00 20 */ lfd f1, 0x20(r1) -/* 000005B8 000005F8 C8 01 00 18 */ lfd f0, 0x18(r1) -/* 000005BC 000005FC EF C1 10 28 */ fsubs f30, f1, f2 -/* 000005C0 00000600 EF A0 10 28 */ fsubs f29, f0, f2 -/* 000005C4 00000604 48 00 00 01 */ bl ftCo_GetLStickAngle -/* 000005C8 00000608 48 00 00 0C */ b .L_000005D4 -.L_000005CC: -/* 000005CC 0000060C 38 60 00 00 */ li r3, 0x0 -/* 000005D0 00000610 48 00 01 EC */ b .L_000007BC -.L_000005D4: -/* 000005D4 00000614 C0 00 00 00 */ lfs f0, ftCo_804D8590@sda21(r0) -/* 000005D8 00000618 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 000005DC 0000061C 40 80 00 0C */ bge .L_000005E8 -/* 000005E0 00000620 FC 40 F8 50 */ fneg f2, f31 -/* 000005E4 00000624 48 00 00 08 */ b .L_000005EC -.L_000005E8: -/* 000005E8 00000628 FC 40 F8 90 */ fmr f2, f31 -.L_000005EC: -/* 000005EC 0000062C 80 60 00 00 */ lwz r3, p_ftCommonData@sda21(r0) -/* 000005F0 00000630 C0 03 00 DC */ lfs f0, 0xdc(r3) -/* 000005F4 00000634 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 000005F8 00000638 40 80 00 8C */ bge .L_00000684 -/* 000005FC 0000063C C0 00 00 00 */ lfs f0, ftCo_804D8590@sda21(r0) -/* 00000600 00000640 FC 1C 00 40 */ fcmpo cr0, f28, f0 -/* 00000604 00000644 40 80 00 0C */ bge .L_00000610 -/* 00000608 00000648 FC 40 E0 50 */ fneg f2, f28 -/* 0000060C 0000064C 48 00 00 08 */ b .L_00000614 -.L_00000610: -/* 00000610 00000650 FC 40 E0 90 */ fmr f2, f28 -.L_00000614: -/* 00000614 00000654 C0 03 00 E0 */ lfs f0, 0xe0(r3) -/* 00000618 00000658 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 0000061C 0000065C 40 80 00 68 */ bge .L_00000684 -/* 00000620 00000660 80 7F 19 74 */ lwz r3, 0x1974(r31) -/* 00000624 00000664 48 00 00 01 */ bl it_8026B30C -/* 00000628 00000668 2C 03 00 00 */ cmpwi r3, 0x0 -/* 0000062C 0000066C 40 82 00 34 */ bne .L_00000660 -/* 00000630 00000670 80 1F 06 5C */ lwz r0, 0x65c(r31) -/* 00000634 00000674 54 00 00 01 */ clrrwi. r0, r0, 31 -/* 00000638 00000678 40 82 00 28 */ bne .L_00000660 -/* 0000063C 0000067C 38 7D 00 00 */ addi r3, r29, 0x0 -/* 00000640 00000680 38 80 00 64 */ li r4, 0x64 -/* 00000644 00000684 48 00 00 01 */ bl ftCo_800957F4 -/* 00000648 00000688 28 1E 00 00 */ cmplwi r30, 0x0 -/* 0000064C 0000068C 41 82 00 0C */ beq .L_00000658 -/* 00000650 00000690 38 00 00 01 */ li r0, 0x1 -/* 00000654 00000694 90 1E 00 00 */ stw r0, 0x0(r30) -.L_00000658: -/* 00000658 00000698 38 60 00 01 */ li r3, 0x1 -/* 0000065C 0000069C 48 00 01 60 */ b .L_000007BC -.L_00000660: -/* 00000660 000006A0 38 7D 00 00 */ addi r3, r29, 0x0 -/* 00000664 000006A4 38 9E 00 00 */ addi r4, r30, 0x0 -/* 00000668 000006A8 48 00 00 01 */ bl ftCo_80095744 -/* 0000066C 000006AC 88 1F 22 24 */ lbz r0, 0x2224(r31) -/* 00000670 000006B0 38 60 00 01 */ li r3, 0x1 -/* 00000674 000006B4 50 60 36 72 */ rlwimi r0, r3, 6, 25, 25 -/* 00000678 000006B8 98 1F 22 24 */ stb r0, 0x2224(r31) -/* 0000067C 000006BC 38 60 00 01 */ li r3, 0x1 -/* 00000680 000006C0 48 00 01 3C */ b .L_000007BC -.L_00000684: -/* 00000684 000006C4 C0 03 00 20 */ lfs f0, 0x20(r3) -/* 00000688 000006C8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 0000068C 000006CC 40 81 00 40 */ ble .L_000006CC -/* 00000690 000006D0 80 63 03 FC */ lwz r3, 0x3fc(r3) -/* 00000694 000006D4 3C 00 43 30 */ lis r0, 0x4330 -/* 00000698 000006D8 C8 20 00 00 */ lfd f1, ftCo_804D85A0@sda21(r0) -/* 0000069C 000006DC 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 000006A0 000006E0 90 61 00 1C */ stw r3, 0x1c(r1) -/* 000006A4 000006E4 90 01 00 18 */ stw r0, 0x18(r1) -/* 000006A8 000006E8 C8 01 00 18 */ lfd f0, 0x18(r1) -/* 000006AC 000006EC EC 00 08 28 */ fsubs f0, f0, f1 -/* 000006B0 000006F0 FC 1D 00 40 */ fcmpo cr0, f29, f0 -/* 000006B4 000006F4 40 80 00 0C */ bge .L_000006C0 -/* 000006B8 000006F8 38 00 00 72 */ li r0, 0x72 -/* 000006BC 000006FC 48 00 00 08 */ b .L_000006C4 -.L_000006C0: -/* 000006C0 00000700 38 00 00 66 */ li r0, 0x66 -.L_000006C4: -/* 000006C4 00000704 7C 04 03 78 */ mr r4, r0 -/* 000006C8 00000708 48 00 00 D8 */ b .L_000007A0 -.L_000006CC: -/* 000006CC 0000070C FC 00 00 50 */ fneg f0, f0 -/* 000006D0 00000710 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 000006D4 00000714 40 80 00 40 */ bge .L_00000714 -/* 000006D8 00000718 80 63 03 FC */ lwz r3, 0x3fc(r3) -/* 000006DC 0000071C 3C 00 43 30 */ lis r0, 0x4330 -/* 000006E0 00000720 C8 20 00 00 */ lfd f1, ftCo_804D85A0@sda21(r0) -/* 000006E4 00000724 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 000006E8 00000728 90 61 00 1C */ stw r3, 0x1c(r1) -/* 000006EC 0000072C 90 01 00 18 */ stw r0, 0x18(r1) -/* 000006F0 00000730 C8 01 00 18 */ lfd f0, 0x18(r1) -/* 000006F4 00000734 EC 00 08 28 */ fsubs f0, f0, f1 -/* 000006F8 00000738 FC 1D 00 40 */ fcmpo cr0, f29, f0 -/* 000006FC 0000073C 40 80 00 0C */ bge .L_00000708 -/* 00000700 00000740 38 00 00 73 */ li r0, 0x73 -/* 00000704 00000744 48 00 00 08 */ b .L_0000070C -.L_00000708: -/* 00000708 00000748 38 00 00 67 */ li r0, 0x67 -.L_0000070C: -/* 0000070C 0000074C 7C 04 03 78 */ mr r4, r0 -/* 00000710 00000750 48 00 00 90 */ b .L_000007A0 -.L_00000714: -/* 00000714 00000754 C0 3F 00 2C */ lfs f1, 0x2c(r31) -/* 00000718 00000758 C0 00 00 00 */ lfs f0, ftCo_804D8590@sda21(r0) -/* 0000071C 0000075C EC 3F 00 72 */ fmuls f1, f31, f1 -/* 00000720 00000760 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 00000724 00000764 4C 41 13 82 */ cror eq, gt, eq -/* 00000728 00000768 40 82 00 40 */ bne .L_00000768 -/* 0000072C 0000076C 80 63 03 FC */ lwz r3, 0x3fc(r3) -/* 00000730 00000770 3C 00 43 30 */ lis r0, 0x4330 -/* 00000734 00000774 C8 20 00 00 */ lfd f1, ftCo_804D85A0@sda21(r0) -/* 00000738 00000778 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 0000073C 0000077C 90 61 00 1C */ stw r3, 0x1c(r1) -/* 00000740 00000780 90 01 00 18 */ stw r0, 0x18(r1) -/* 00000744 00000784 C8 01 00 18 */ lfd f0, 0x18(r1) -/* 00000748 00000788 EC 00 08 28 */ fsubs f0, f0, f1 -/* 0000074C 0000078C FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 00000750 00000790 40 80 00 0C */ bge .L_0000075C -/* 00000754 00000794 38 00 00 70 */ li r0, 0x70 -/* 00000758 00000798 48 00 00 08 */ b .L_00000760 -.L_0000075C: -/* 0000075C 0000079C 38 00 00 64 */ li r0, 0x64 -.L_00000760: -/* 00000760 000007A0 7C 04 03 78 */ mr r4, r0 -/* 00000764 000007A4 48 00 00 3C */ b .L_000007A0 -.L_00000768: -/* 00000768 000007A8 80 63 03 FC */ lwz r3, 0x3fc(r3) -/* 0000076C 000007AC 3C 00 43 30 */ lis r0, 0x4330 -/* 00000770 000007B0 C8 20 00 00 */ lfd f1, ftCo_804D85A0@sda21(r0) -/* 00000774 000007B4 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 00000778 000007B8 90 61 00 1C */ stw r3, 0x1c(r1) -/* 0000077C 000007BC 90 01 00 18 */ stw r0, 0x18(r1) -/* 00000780 000007C0 C8 01 00 18 */ lfd f0, 0x18(r1) -/* 00000784 000007C4 EC 00 08 28 */ fsubs f0, f0, f1 -/* 00000788 000007C8 FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 0000078C 000007CC 40 80 00 0C */ bge .L_00000798 -/* 00000790 000007D0 38 00 00 71 */ li r0, 0x71 -/* 00000794 000007D4 48 00 00 08 */ b .L_0000079C -.L_00000798: -/* 00000798 000007D8 38 00 00 65 */ li r0, 0x65 -.L_0000079C: -/* 0000079C 000007DC 7C 04 03 78 */ mr r4, r0 -.L_000007A0: -/* 000007A0 000007E0 7F A3 EB 78 */ mr r3, r29 -/* 000007A4 000007E4 48 00 00 01 */ bl ftCo_800957F4 -/* 000007A8 000007E8 28 1E 00 00 */ cmplwi r30, 0x0 -/* 000007AC 000007EC 41 82 00 0C */ beq .L_000007B8 -/* 000007B0 000007F0 38 00 00 01 */ li r0, 0x1 -/* 000007B4 000007F4 90 1E 00 00 */ stw r0, 0x0(r30) -.L_000007B8: -/* 000007B8 000007F8 38 60 00 01 */ li r3, 0x1 -.L_000007BC: -/* 000007BC 000007FC 80 01 00 5C */ lwz r0, 0x5c(r1) -/* 000007C0 00000800 CB E1 00 50 */ lfd f31, 0x50(r1) -/* 000007C4 00000804 CB C1 00 48 */ lfd f30, 0x48(r1) -/* 000007C8 00000808 CB A1 00 40 */ lfd f29, 0x40(r1) -/* 000007CC 0000080C CB 81 00 38 */ lfd f28, 0x38(r1) -/* 000007D0 00000810 83 E1 00 34 */ lwz r31, 0x34(r1) -/* 000007D4 00000814 83 C1 00 30 */ lwz r30, 0x30(r1) -/* 000007D8 00000818 83 A1 00 2C */ lwz r29, 0x2c(r1) -/* 000007DC 0000081C 38 21 00 58 */ addi r1, r1, 0x58 -/* 000007E0 00000820 7C 08 03 A6 */ mtlr r0 -/* 000007E4 00000824 4E 80 00 20 */ blr +/* 80095328 00091F08 7C 08 02 A6 */ mflr r0 +/* 8009532C 00091F0C 90 01 00 04 */ stw r0, 0x4(r1) +/* 80095330 00091F10 94 21 FF A8 */ stwu r1, -0x58(r1) +/* 80095334 00091F14 DB E1 00 50 */ stfd f31, 0x50(r1) +/* 80095338 00091F18 DB C1 00 48 */ stfd f30, 0x48(r1) +/* 8009533C 00091F1C DB A1 00 40 */ stfd f29, 0x40(r1) +/* 80095340 00091F20 DB 81 00 38 */ stfd f28, 0x38(r1) +/* 80095344 00091F24 93 E1 00 34 */ stw r31, 0x34(r1) +/* 80095348 00091F28 93 C1 00 30 */ stw r30, 0x30(r1) +/* 8009534C 00091F2C 7C 9E 23 78 */ mr r30, r4 +/* 80095350 00091F30 93 A1 00 2C */ stw r29, 0x2c(r1) +/* 80095354 00091F34 7C 7D 1B 78 */ mr r29, r3 +/* 80095358 00091F38 80 63 00 2C */ lwz r3, 0x2c(r3) +/* 8009535C 00091F3C 80 03 19 74 */ lwz r0, 0x1974(r3) +/* 80095360 00091F40 3B E3 00 00 */ addi r31, r3, 0x0 +/* 80095364 00091F44 28 00 00 00 */ cmplwi r0, 0x0 +/* 80095368 00091F48 41 82 00 30 */ beq .L_80095398 +/* 8009536C 00091F4C 7F E3 FB 78 */ mr r3, r31 +/* 80095370 00091F50 48 04 A1 9D */ bl ftCo_800DF50C +/* 80095374 00091F54 2C 03 00 00 */ cmpwi r3, 0x0 +/* 80095378 00091F58 41 82 00 20 */ beq .L_80095398 +/* 8009537C 00091F5C C3 A2 8B B0 */ lfs f29, ftCo_804D8590@sda21(r0) +/* 80095380 00091F60 7F E3 FB 78 */ mr r3, r31 +/* 80095384 00091F64 C3 FF 06 38 */ lfs f31, 0x638(r31) +/* 80095388 00091F68 FF C0 E8 90 */ fmr f30, f29 +/* 8009538C 00091F6C C3 9F 06 3C */ lfs f28, 0x63c(r31) +/* 80095390 00091F70 4B FE 86 0D */ bl ftCo_GetCStickAngle +/* 80095394 00091F74 48 00 00 94 */ b .L_80095428 +.L_80095398: +/* 80095398 00091F78 80 7F 19 74 */ lwz r3, 0x1974(r31) +/* 8009539C 00091F7C 28 03 00 00 */ cmplwi r3, 0x0 +/* 800953A0 00091F80 41 82 00 80 */ beq .L_80095420 +/* 800953A4 00091F84 80 1F 06 68 */ lwz r0, 0x668(r31) +/* 800953A8 00091F88 54 00 05 EF */ rlwinm. r0, r0, 0, 23, 23 +/* 800953AC 00091F8C 41 82 00 24 */ beq .L_800953D0 +/* 800953B0 00091F90 80 1F 06 5C */ lwz r0, 0x65c(r31) +/* 800953B4 00091F94 54 00 00 01 */ clrrwi. r0, r0, 31 +/* 800953B8 00091F98 40 82 00 10 */ bne .L_800953C8 +/* 800953BC 00091F9C 48 1D 5F 51 */ bl it_8026B30C +/* 800953C0 00091FA0 2C 03 00 00 */ cmpwi r3, 0x0 +/* 800953C4 00091FA4 40 82 00 0C */ bne .L_800953D0 +.L_800953C8: +/* 800953C8 00091FA8 38 00 00 01 */ li r0, 0x1 +/* 800953CC 00091FAC 48 00 00 08 */ b .L_800953D4 +.L_800953D0: +/* 800953D0 00091FB0 38 00 00 00 */ li r0, 0x0 +.L_800953D4: +/* 800953D4 00091FB4 2C 00 00 00 */ cmpwi r0, 0x0 +/* 800953D8 00091FB8 41 82 00 48 */ beq .L_80095420 +/* 800953DC 00091FBC 88 BF 06 73 */ lbz r5, 0x673(r31) +/* 800953E0 00091FC0 3C 80 43 30 */ lis r4, 0x4330 +/* 800953E4 00091FC4 88 1F 06 74 */ lbz r0, 0x674(r31) +/* 800953E8 00091FC8 7F E3 FB 78 */ mr r3, r31 +/* 800953EC 00091FCC 90 A1 00 24 */ stw r5, 0x24(r1) +/* 800953F0 00091FD0 C8 42 8B B8 */ lfd f2, ftCo_804D8598@sda21(r0) +/* 800953F4 00091FD4 90 01 00 1C */ stw r0, 0x1c(r1) +/* 800953F8 00091FD8 C3 FF 06 20 */ lfs f31, 0x620(r31) +/* 800953FC 00091FDC 90 81 00 20 */ stw r4, 0x20(r1) +/* 80095400 00091FE0 C3 9F 06 24 */ lfs f28, 0x624(r31) +/* 80095404 00091FE4 90 81 00 18 */ stw r4, 0x18(r1) +/* 80095408 00091FE8 C8 21 00 20 */ lfd f1, 0x20(r1) +/* 8009540C 00091FEC C8 01 00 18 */ lfd f0, 0x18(r1) +/* 80095410 00091FF0 EF C1 10 28 */ fsubs f30, f1, f2 +/* 80095414 00091FF4 EF A0 10 28 */ fsubs f29, f0, f2 +/* 80095418 00091FF8 4B FE 85 4D */ bl ftCo_GetLStickAngle +/* 8009541C 00091FFC 48 00 00 0C */ b .L_80095428 +.L_80095420: +/* 80095420 00092000 38 60 00 00 */ li r3, 0x0 +/* 80095424 00092004 48 00 01 EC */ b .L_80095610 +.L_80095428: +/* 80095428 00092008 C0 02 8B B0 */ lfs f0, ftCo_804D8590@sda21(r0) +/* 8009542C 0009200C FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 80095430 00092010 40 80 00 0C */ bge .L_8009543C +/* 80095434 00092014 FC 40 F8 50 */ fneg f2, f31 +/* 80095438 00092018 48 00 00 08 */ b .L_80095440 +.L_8009543C: +/* 8009543C 0009201C FC 40 F8 90 */ fmr f2, f31 +.L_80095440: +/* 80095440 00092020 80 6D AE B4 */ lwz r3, p_ftCommonData@sda21(r0) +/* 80095444 00092024 C0 03 00 DC */ lfs f0, 0xdc(r3) +/* 80095448 00092028 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8009544C 0009202C 40 80 00 8C */ bge .L_800954D8 +/* 80095450 00092030 C0 02 8B B0 */ lfs f0, ftCo_804D8590@sda21(r0) +/* 80095454 00092034 FC 1C 00 40 */ fcmpo cr0, f28, f0 +/* 80095458 00092038 40 80 00 0C */ bge .L_80095464 +/* 8009545C 0009203C FC 40 E0 50 */ fneg f2, f28 +/* 80095460 00092040 48 00 00 08 */ b .L_80095468 +.L_80095464: +/* 80095464 00092044 FC 40 E0 90 */ fmr f2, f28 +.L_80095468: +/* 80095468 00092048 C0 03 00 E0 */ lfs f0, 0xe0(r3) +/* 8009546C 0009204C FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80095470 00092050 40 80 00 68 */ bge .L_800954D8 +/* 80095474 00092054 80 7F 19 74 */ lwz r3, 0x1974(r31) +/* 80095478 00092058 48 1D 5E 95 */ bl it_8026B30C +/* 8009547C 0009205C 2C 03 00 00 */ cmpwi r3, 0x0 +/* 80095480 00092060 40 82 00 34 */ bne .L_800954B4 +/* 80095484 00092064 80 1F 06 5C */ lwz r0, 0x65c(r31) +/* 80095488 00092068 54 00 00 01 */ clrrwi. r0, r0, 31 +/* 8009548C 0009206C 40 82 00 28 */ bne .L_800954B4 +/* 80095490 00092070 38 7D 00 00 */ addi r3, r29, 0x0 +/* 80095494 00092074 38 80 00 64 */ li r4, 0x64 +/* 80095498 00092078 48 00 03 5D */ bl ftCo_800957F4 +/* 8009549C 0009207C 28 1E 00 00 */ cmplwi r30, 0x0 +/* 800954A0 00092080 41 82 00 0C */ beq .L_800954AC +/* 800954A4 00092084 38 00 00 01 */ li r0, 0x1 +/* 800954A8 00092088 90 1E 00 00 */ stw r0, 0x0(r30) +.L_800954AC: +/* 800954AC 0009208C 38 60 00 01 */ li r3, 0x1 +/* 800954B0 00092090 48 00 01 60 */ b .L_80095610 +.L_800954B4: +/* 800954B4 00092094 38 7D 00 00 */ addi r3, r29, 0x0 +/* 800954B8 00092098 38 9E 00 00 */ addi r4, r30, 0x0 +/* 800954BC 0009209C 48 00 02 89 */ bl ftCo_80095744 +/* 800954C0 000920A0 88 1F 22 24 */ lbz r0, 0x2224(r31) +/* 800954C4 000920A4 38 60 00 01 */ li r3, 0x1 +/* 800954C8 000920A8 50 60 36 72 */ rlwimi r0, r3, 6, 25, 25 +/* 800954CC 000920AC 98 1F 22 24 */ stb r0, 0x2224(r31) +/* 800954D0 000920B0 38 60 00 01 */ li r3, 0x1 +/* 800954D4 000920B4 48 00 01 3C */ b .L_80095610 +.L_800954D8: +/* 800954D8 000920B8 C0 03 00 20 */ lfs f0, 0x20(r3) +/* 800954DC 000920BC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800954E0 000920C0 40 81 00 40 */ ble .L_80095520 +/* 800954E4 000920C4 80 63 03 FC */ lwz r3, 0x3fc(r3) +/* 800954E8 000920C8 3C 00 43 30 */ lis r0, 0x4330 +/* 800954EC 000920CC C8 22 8B C0 */ lfd f1, ftCo_804D85A0@sda21(r0) +/* 800954F0 000920D0 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 800954F4 000920D4 90 61 00 1C */ stw r3, 0x1c(r1) +/* 800954F8 000920D8 90 01 00 18 */ stw r0, 0x18(r1) +/* 800954FC 000920DC C8 01 00 18 */ lfd f0, 0x18(r1) +/* 80095500 000920E0 EC 00 08 28 */ fsubs f0, f0, f1 +/* 80095504 000920E4 FC 1D 00 40 */ fcmpo cr0, f29, f0 +/* 80095508 000920E8 40 80 00 0C */ bge .L_80095514 +/* 8009550C 000920EC 38 00 00 72 */ li r0, 0x72 +/* 80095510 000920F0 48 00 00 08 */ b .L_80095518 +.L_80095514: +/* 80095514 000920F4 38 00 00 66 */ li r0, 0x66 +.L_80095518: +/* 80095518 000920F8 7C 04 03 78 */ mr r4, r0 +/* 8009551C 000920FC 48 00 00 D8 */ b .L_800955F4 +.L_80095520: +/* 80095520 00092100 FC 00 00 50 */ fneg f0, f0 +/* 80095524 00092104 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80095528 00092108 40 80 00 40 */ bge .L_80095568 +/* 8009552C 0009210C 80 63 03 FC */ lwz r3, 0x3fc(r3) +/* 80095530 00092110 3C 00 43 30 */ lis r0, 0x4330 +/* 80095534 00092114 C8 22 8B C0 */ lfd f1, ftCo_804D85A0@sda21(r0) +/* 80095538 00092118 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 8009553C 0009211C 90 61 00 1C */ stw r3, 0x1c(r1) +/* 80095540 00092120 90 01 00 18 */ stw r0, 0x18(r1) +/* 80095544 00092124 C8 01 00 18 */ lfd f0, 0x18(r1) +/* 80095548 00092128 EC 00 08 28 */ fsubs f0, f0, f1 +/* 8009554C 0009212C FC 1D 00 40 */ fcmpo cr0, f29, f0 +/* 80095550 00092130 40 80 00 0C */ bge .L_8009555C +/* 80095554 00092134 38 00 00 73 */ li r0, 0x73 +/* 80095558 00092138 48 00 00 08 */ b .L_80095560 +.L_8009555C: +/* 8009555C 0009213C 38 00 00 67 */ li r0, 0x67 +.L_80095560: +/* 80095560 00092140 7C 04 03 78 */ mr r4, r0 +/* 80095564 00092144 48 00 00 90 */ b .L_800955F4 +.L_80095568: +/* 80095568 00092148 C0 3F 00 2C */ lfs f1, 0x2c(r31) +/* 8009556C 0009214C C0 02 8B B0 */ lfs f0, ftCo_804D8590@sda21(r0) +/* 80095570 00092150 EC 3F 00 72 */ fmuls f1, f31, f1 +/* 80095574 00092154 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80095578 00092158 4C 41 13 82 */ cror eq, gt, eq +/* 8009557C 0009215C 40 82 00 40 */ bne .L_800955BC +/* 80095580 00092160 80 63 03 FC */ lwz r3, 0x3fc(r3) +/* 80095584 00092164 3C 00 43 30 */ lis r0, 0x4330 +/* 80095588 00092168 C8 22 8B C0 */ lfd f1, ftCo_804D85A0@sda21(r0) +/* 8009558C 0009216C 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 80095590 00092170 90 61 00 1C */ stw r3, 0x1c(r1) +/* 80095594 00092174 90 01 00 18 */ stw r0, 0x18(r1) +/* 80095598 00092178 C8 01 00 18 */ lfd f0, 0x18(r1) +/* 8009559C 0009217C EC 00 08 28 */ fsubs f0, f0, f1 +/* 800955A0 00092180 FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 800955A4 00092184 40 80 00 0C */ bge .L_800955B0 +/* 800955A8 00092188 38 00 00 70 */ li r0, 0x70 +/* 800955AC 0009218C 48 00 00 08 */ b .L_800955B4 +.L_800955B0: +/* 800955B0 00092190 38 00 00 64 */ li r0, 0x64 +.L_800955B4: +/* 800955B4 00092194 7C 04 03 78 */ mr r4, r0 +/* 800955B8 00092198 48 00 00 3C */ b .L_800955F4 +.L_800955BC: +/* 800955BC 0009219C 80 63 03 FC */ lwz r3, 0x3fc(r3) +/* 800955C0 000921A0 3C 00 43 30 */ lis r0, 0x4330 +/* 800955C4 000921A4 C8 22 8B C0 */ lfd f1, ftCo_804D85A0@sda21(r0) +/* 800955C8 000921A8 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 800955CC 000921AC 90 61 00 1C */ stw r3, 0x1c(r1) +/* 800955D0 000921B0 90 01 00 18 */ stw r0, 0x18(r1) +/* 800955D4 000921B4 C8 01 00 18 */ lfd f0, 0x18(r1) +/* 800955D8 000921B8 EC 00 08 28 */ fsubs f0, f0, f1 +/* 800955DC 000921BC FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 800955E0 000921C0 40 80 00 0C */ bge .L_800955EC +/* 800955E4 000921C4 38 00 00 71 */ li r0, 0x71 +/* 800955E8 000921C8 48 00 00 08 */ b .L_800955F0 +.L_800955EC: +/* 800955EC 000921CC 38 00 00 65 */ li r0, 0x65 +.L_800955F0: +/* 800955F0 000921D0 7C 04 03 78 */ mr r4, r0 +.L_800955F4: +/* 800955F4 000921D4 7F A3 EB 78 */ mr r3, r29 +/* 800955F8 000921D8 48 00 01 FD */ bl ftCo_800957F4 +/* 800955FC 000921DC 28 1E 00 00 */ cmplwi r30, 0x0 +/* 80095600 000921E0 41 82 00 0C */ beq .L_8009560C +/* 80095604 000921E4 38 00 00 01 */ li r0, 0x1 +/* 80095608 000921E8 90 1E 00 00 */ stw r0, 0x0(r30) +.L_8009560C: +/* 8009560C 000921EC 38 60 00 01 */ li r3, 0x1 +.L_80095610: +/* 80095610 000921F0 80 01 00 5C */ lwz r0, 0x5c(r1) +/* 80095614 000921F4 CB E1 00 50 */ lfd f31, 0x50(r1) +/* 80095618 000921F8 CB C1 00 48 */ lfd f30, 0x48(r1) +/* 8009561C 000921FC CB A1 00 40 */ lfd f29, 0x40(r1) +/* 80095620 00092200 CB 81 00 38 */ lfd f28, 0x38(r1) +/* 80095624 00092204 83 E1 00 34 */ lwz r31, 0x34(r1) +/* 80095628 00092208 83 C1 00 30 */ lwz r30, 0x30(r1) +/* 8009562C 0009220C 83 A1 00 2C */ lwz r29, 0x2c(r1) +/* 80095630 00092210 38 21 00 58 */ addi r1, r1, 0x58 +/* 80095634 00092214 7C 08 03 A6 */ mtlr r0 +/* 80095638 00092218 4E 80 00 20 */ blr .endfn ftCo_80095328 +# .text:0x7E8 | 0x8009563C | size: 0xC4 .fn ftCo_8009563C, global -/* 000007E8 00000828 7C 08 02 A6 */ mflr r0 -/* 000007EC 0000082C 90 01 00 04 */ stw r0, 0x4(r1) -/* 000007F0 00000830 94 21 FF E8 */ stwu r1, -0x18(r1) -/* 000007F4 00000834 93 E1 00 14 */ stw r31, 0x14(r1) -/* 000007F8 00000838 93 C1 00 10 */ stw r30, 0x10(r1) -/* 000007FC 0000083C 7C 7E 1B 78 */ mr r30, r3 -/* 00000800 00000840 83 E3 00 2C */ lwz r31, 0x2c(r3) -/* 00000804 00000844 80 7F 19 74 */ lwz r3, 0x1974(r31) -/* 00000808 00000848 28 03 00 00 */ cmplwi r3, 0x0 -/* 0000080C 0000084C 41 82 00 70 */ beq .L_0000087C -/* 00000810 00000850 80 1F 06 68 */ lwz r0, 0x668(r31) -/* 00000814 00000854 54 00 05 EF */ rlwinm. r0, r0, 0, 23, 23 -/* 00000818 00000858 41 82 00 24 */ beq .L_0000083C -/* 0000081C 0000085C 80 1F 06 5C */ lwz r0, 0x65c(r31) -/* 00000820 00000860 54 00 00 01 */ clrrwi. r0, r0, 31 -/* 00000824 00000864 40 82 00 10 */ bne .L_00000834 -/* 00000828 00000868 48 00 00 01 */ bl it_8026B30C -/* 0000082C 0000086C 2C 03 00 00 */ cmpwi r3, 0x0 -/* 00000830 00000870 40 82 00 0C */ bne .L_0000083C -.L_00000834: -/* 00000834 00000874 38 00 00 01 */ li r0, 0x1 -/* 00000838 00000878 48 00 00 08 */ b .L_00000840 -.L_0000083C: -/* 0000083C 0000087C 38 00 00 00 */ li r0, 0x0 -.L_00000840: -/* 00000840 00000880 2C 00 00 00 */ cmpwi r0, 0x0 -/* 00000844 00000884 41 82 00 38 */ beq .L_0000087C -/* 00000848 00000888 80 1F 23 40 */ lwz r0, 0x2340(r31) -/* 0000084C 0000088C 2C 00 00 00 */ cmpwi r0, 0x0 -/* 00000850 00000890 41 82 00 2C */ beq .L_0000087C -/* 00000854 00000894 80 1F 00 10 */ lwz r0, 0x10(r31) -/* 00000858 00000898 2C 00 00 E9 */ cmpwi r0, 0xe9 -/* 0000085C 0000089C 40 82 00 0C */ bne .L_00000868 -/* 00000860 000008A0 38 80 00 6C */ li r4, 0x6c -/* 00000864 000008A4 48 00 00 08 */ b .L_0000086C -.L_00000868: -/* 00000868 000008A8 38 80 00 6D */ li r4, 0x6d -.L_0000086C: -/* 0000086C 000008AC 7F C3 F3 78 */ mr r3, r30 -/* 00000870 000008B0 48 00 00 01 */ bl ftCo_800957F4 -/* 00000874 000008B4 38 60 00 01 */ li r3, 0x1 -/* 00000878 000008B8 48 00 00 1C */ b .L_00000894 -.L_0000087C: -/* 0000087C 000008BC 80 7F 23 40 */ lwz r3, 0x2340(r31) -/* 00000880 000008C0 2C 03 00 00 */ cmpwi r3, 0x0 -/* 00000884 000008C4 41 82 00 0C */ beq .L_00000890 -/* 00000888 000008C8 38 03 FF FF */ subi r0, r3, 0x1 -/* 0000088C 000008CC 90 1F 23 40 */ stw r0, 0x2340(r31) -.L_00000890: -/* 00000890 000008D0 38 60 00 00 */ li r3, 0x0 -.L_00000894: -/* 00000894 000008D4 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 00000898 000008D8 83 E1 00 14 */ lwz r31, 0x14(r1) -/* 0000089C 000008DC 83 C1 00 10 */ lwz r30, 0x10(r1) -/* 000008A0 000008E0 38 21 00 18 */ addi r1, r1, 0x18 -/* 000008A4 000008E4 7C 08 03 A6 */ mtlr r0 -/* 000008A8 000008E8 4E 80 00 20 */ blr +/* 8009563C 0009221C 7C 08 02 A6 */ mflr r0 +/* 80095640 00092220 90 01 00 04 */ stw r0, 0x4(r1) +/* 80095644 00092224 94 21 FF E8 */ stwu r1, -0x18(r1) +/* 80095648 00092228 93 E1 00 14 */ stw r31, 0x14(r1) +/* 8009564C 0009222C 93 C1 00 10 */ stw r30, 0x10(r1) +/* 80095650 00092230 7C 7E 1B 78 */ mr r30, r3 +/* 80095654 00092234 83 E3 00 2C */ lwz r31, 0x2c(r3) +/* 80095658 00092238 80 7F 19 74 */ lwz r3, 0x1974(r31) +/* 8009565C 0009223C 28 03 00 00 */ cmplwi r3, 0x0 +/* 80095660 00092240 41 82 00 70 */ beq .L_800956D0 +/* 80095664 00092244 80 1F 06 68 */ lwz r0, 0x668(r31) +/* 80095668 00092248 54 00 05 EF */ rlwinm. r0, r0, 0, 23, 23 +/* 8009566C 0009224C 41 82 00 24 */ beq .L_80095690 +/* 80095670 00092250 80 1F 06 5C */ lwz r0, 0x65c(r31) +/* 80095674 00092254 54 00 00 01 */ clrrwi. r0, r0, 31 +/* 80095678 00092258 40 82 00 10 */ bne .L_80095688 +/* 8009567C 0009225C 48 1D 5C 91 */ bl it_8026B30C +/* 80095680 00092260 2C 03 00 00 */ cmpwi r3, 0x0 +/* 80095684 00092264 40 82 00 0C */ bne .L_80095690 +.L_80095688: +/* 80095688 00092268 38 00 00 01 */ li r0, 0x1 +/* 8009568C 0009226C 48 00 00 08 */ b .L_80095694 +.L_80095690: +/* 80095690 00092270 38 00 00 00 */ li r0, 0x0 +.L_80095694: +/* 80095694 00092274 2C 00 00 00 */ cmpwi r0, 0x0 +/* 80095698 00092278 41 82 00 38 */ beq .L_800956D0 +/* 8009569C 0009227C 80 1F 23 40 */ lwz r0, 0x2340(r31) +/* 800956A0 00092280 2C 00 00 00 */ cmpwi r0, 0x0 +/* 800956A4 00092284 41 82 00 2C */ beq .L_800956D0 +/* 800956A8 00092288 80 1F 00 10 */ lwz r0, 0x10(r31) +/* 800956AC 0009228C 2C 00 00 E9 */ cmpwi r0, 0xe9 +/* 800956B0 00092290 40 82 00 0C */ bne .L_800956BC +/* 800956B4 00092294 38 80 00 6C */ li r4, 0x6c +/* 800956B8 00092298 48 00 00 08 */ b .L_800956C0 +.L_800956BC: +/* 800956BC 0009229C 38 80 00 6D */ li r4, 0x6d +.L_800956C0: +/* 800956C0 000922A0 7F C3 F3 78 */ mr r3, r30 +/* 800956C4 000922A4 48 00 01 31 */ bl ftCo_800957F4 +/* 800956C8 000922A8 38 60 00 01 */ li r3, 0x1 +/* 800956CC 000922AC 48 00 00 1C */ b .L_800956E8 +.L_800956D0: +/* 800956D0 000922B0 80 7F 23 40 */ lwz r3, 0x2340(r31) +/* 800956D4 000922B4 2C 03 00 00 */ cmpwi r3, 0x0 +/* 800956D8 000922B8 41 82 00 0C */ beq .L_800956E4 +/* 800956DC 000922BC 38 03 FF FF */ subi r0, r3, 0x1 +/* 800956E0 000922C0 90 1F 23 40 */ stw r0, 0x2340(r31) +.L_800956E4: +/* 800956E4 000922C4 38 60 00 00 */ li r3, 0x0 +.L_800956E8: +/* 800956E8 000922C8 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 800956EC 000922CC 83 E1 00 14 */ lwz r31, 0x14(r1) +/* 800956F0 000922D0 83 C1 00 10 */ lwz r30, 0x10(r1) +/* 800956F4 000922D4 38 21 00 18 */ addi r1, r1, 0x18 +/* 800956F8 000922D8 7C 08 03 A6 */ mtlr r0 +/* 800956FC 000922DC 4E 80 00 20 */ blr .endfn ftCo_8009563C +# .text:0x8AC | 0x80095700 | size: 0x44 .fn ftCo_80095700, global -/* 000008AC 000008EC 38 04 FF A1 */ subi r0, r4, 0x5f -/* 000008B0 000008F0 80 83 00 2C */ lwz r4, 0x2c(r3) -/* 000008B4 000008F4 28 00 00 16 */ cmplwi r0, 0x16 -/* 000008B8 000008F8 41 81 00 2C */ bgt .L_000008E4 -/* 000008BC 000008FC 3C 60 00 00 */ lis r3, "@344"@ha -/* 000008C0 00000900 38 63 00 00 */ addi r3, r3, "@344"@l -/* 000008C4 00000904 54 00 10 3A */ slwi r0, r0, 2 -/* 000008C8 00000908 7C 03 00 2E */ lwzx r0, r3, r0 -/* 000008CC 0000090C 7C 09 03 A6 */ mtctr r0 -/* 000008D0 00000910 4E 80 04 20 */ bctr -.L_000008D4: -/* 000008D4 00000914 C0 04 00 2C */ lfs f0, 0x2c(r4) -/* 000008D8 00000918 FC 00 00 50 */ fneg f0, f0 -/* 000008DC 0000091C D0 04 23 40 */ stfs f0, 0x2340(r4) -/* 000008E0 00000920 4E 80 00 20 */ blr -.L_000008E4: -/* 000008E4 00000924 C0 04 00 2C */ lfs f0, 0x2c(r4) -/* 000008E8 00000928 D0 04 23 40 */ stfs f0, 0x2340(r4) -/* 000008EC 0000092C 4E 80 00 20 */ blr +/* 80095700 000922E0 38 04 FF A1 */ subi r0, r4, 0x5f +/* 80095704 000922E4 80 83 00 2C */ lwz r4, 0x2c(r3) +/* 80095708 000922E8 28 00 00 16 */ cmplwi r0, 0x16 +/* 8009570C 000922EC 41 81 00 2C */ bgt .L_80095738 +/* 80095710 000922F0 3C 60 80 3C */ lis r3, "@344"@ha +/* 80095714 000922F4 38 63 55 C0 */ addi r3, r3, "@344"@l +/* 80095718 000922F8 54 00 10 3A */ slwi r0, r0, 2 +/* 8009571C 000922FC 7C 03 00 2E */ lwzx r0, r3, r0 +/* 80095720 00092300 7C 09 03 A6 */ mtctr r0 +/* 80095724 00092304 4E 80 04 20 */ bctr +.L_80095728: +/* 80095728 00092308 C0 04 00 2C */ lfs f0, 0x2c(r4) +/* 8009572C 0009230C FC 00 00 50 */ fneg f0, f0 +/* 80095730 00092310 D0 04 23 40 */ stfs f0, 0x2340(r4) +/* 80095734 00092314 4E 80 00 20 */ blr +.L_80095738: +/* 80095738 00092318 C0 04 00 2C */ lfs f0, 0x2c(r4) +/* 8009573C 0009231C D0 04 23 40 */ stfs f0, 0x2340(r4) +/* 80095740 00092320 4E 80 00 20 */ blr .endfn ftCo_80095700 +# .text:0x8F0 | 0x80095744 | size: 0xB0 .fn ftCo_80095744, global -/* 000008F0 00000930 7C 08 02 A6 */ mflr r0 -/* 000008F4 00000934 90 01 00 04 */ stw r0, 0x4(r1) -/* 000008F8 00000938 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 000008FC 0000093C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 00000900 00000940 93 C1 00 28 */ stw r30, 0x28(r1) -/* 00000904 00000944 7C 9E 23 78 */ mr r30, r4 -/* 00000908 00000948 93 A1 00 24 */ stw r29, 0x24(r1) -/* 0000090C 0000094C 7C 7D 1B 78 */ mr r29, r3 -/* 00000910 00000950 C0 00 00 00 */ lfs f0, ftCo_804D8590@sda21(r0) -/* 00000914 00000954 83 E3 00 2C */ lwz r31, 0x2c(r3) -/* 00000918 00000958 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 0000091C 0000095C D0 01 00 18 */ stfs f0, 0x18(r1) -/* 00000920 00000960 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 00000924 00000964 48 00 00 01 */ bl ftGetParasolStatus -/* 00000928 00000968 2C 03 FF FF */ cmpwi r3, -0x1 -/* 0000092C 0000096C 41 82 00 38 */ beq .L_00000964 -/* 00000930 00000970 80 1F 00 10 */ lwz r0, 0x10(r31) -/* 00000934 00000974 2C 00 00 92 */ cmpwi r0, 0x92 -/* 00000938 00000978 40 82 00 10 */ bne .L_00000948 -/* 0000093C 0000097C 7F A3 EB 78 */ mr r3, r29 -/* 00000940 00000980 48 00 00 01 */ bl ftCo_800968C8 -/* 00000944 00000984 48 00 00 0C */ b .L_00000950 -.L_00000948: -/* 00000948 00000988 7F A3 EB 78 */ mr r3, r29 -/* 0000094C 0000098C 48 00 00 01 */ bl ftCo_800CC730 -.L_00000950: -/* 00000950 00000990 28 1E 00 00 */ cmplwi r30, 0x0 -/* 00000954 00000994 41 82 00 20 */ beq .L_00000974 -/* 00000958 00000998 38 00 00 01 */ li r0, 0x1 -/* 0000095C 0000099C 90 1E 00 00 */ stw r0, 0x0(r30) -/* 00000960 000009A0 48 00 00 14 */ b .L_00000974 -.L_00000964: -/* 00000964 000009A4 28 1E 00 00 */ cmplwi r30, 0x0 -/* 00000968 000009A8 41 82 00 0C */ beq .L_00000974 -/* 0000096C 000009AC 38 00 00 00 */ li r0, 0x0 -/* 00000970 000009B0 90 1E 00 00 */ stw r0, 0x0(r30) -.L_00000974: -/* 00000974 000009B4 80 7F 19 74 */ lwz r3, 0x1974(r31) -/* 00000978 000009B8 38 81 00 14 */ addi r4, r1, 0x14 -/* 0000097C 000009BC C0 20 00 00 */ lfs f1, ftCo_804D85A8@sda21(r0) -/* 00000980 000009C0 48 00 00 01 */ bl Item_8026ABD8 -/* 00000984 000009C4 80 01 00 34 */ lwz r0, 0x34(r1) -/* 00000988 000009C8 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 0000098C 000009CC 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 00000990 000009D0 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 00000994 000009D4 38 21 00 30 */ addi r1, r1, 0x30 -/* 00000998 000009D8 7C 08 03 A6 */ mtlr r0 -/* 0000099C 000009DC 4E 80 00 20 */ blr +/* 80095744 00092324 7C 08 02 A6 */ mflr r0 +/* 80095748 00092328 90 01 00 04 */ stw r0, 0x4(r1) +/* 8009574C 0009232C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80095750 00092330 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80095754 00092334 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80095758 00092338 7C 9E 23 78 */ mr r30, r4 +/* 8009575C 0009233C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80095760 00092340 7C 7D 1B 78 */ mr r29, r3 +/* 80095764 00092344 C0 02 8B B0 */ lfs f0, ftCo_804D8590@sda21(r0) +/* 80095768 00092348 83 E3 00 2C */ lwz r31, 0x2c(r3) +/* 8009576C 0009234C D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80095770 00092350 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 80095774 00092354 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80095778 00092358 4B FE 92 1D */ bl ftGetParasolStatus +/* 8009577C 0009235C 2C 03 FF FF */ cmpwi r3, -0x1 +/* 80095780 00092360 41 82 00 38 */ beq .L_800957B8 +/* 80095784 00092364 80 1F 00 10 */ lwz r0, 0x10(r31) +/* 80095788 00092368 2C 00 00 92 */ cmpwi r0, 0x92 +/* 8009578C 0009236C 40 82 00 10 */ bne .L_8009579C +/* 80095790 00092370 7F A3 EB 78 */ mr r3, r29 +/* 80095794 00092374 48 00 11 35 */ bl ftCo_800968C8 +/* 80095798 00092378 48 00 00 0C */ b .L_800957A4 +.L_8009579C: +/* 8009579C 0009237C 7F A3 EB 78 */ mr r3, r29 +/* 800957A0 00092380 48 03 6F 91 */ bl ftCo_800CC730 +.L_800957A4: +/* 800957A4 00092384 28 1E 00 00 */ cmplwi r30, 0x0 +/* 800957A8 00092388 41 82 00 20 */ beq .L_800957C8 +/* 800957AC 0009238C 38 00 00 01 */ li r0, 0x1 +/* 800957B0 00092390 90 1E 00 00 */ stw r0, 0x0(r30) +/* 800957B4 00092394 48 00 00 14 */ b .L_800957C8 +.L_800957B8: +/* 800957B8 00092398 28 1E 00 00 */ cmplwi r30, 0x0 +/* 800957BC 0009239C 41 82 00 0C */ beq .L_800957C8 +/* 800957C0 000923A0 38 00 00 00 */ li r0, 0x0 +/* 800957C4 000923A4 90 1E 00 00 */ stw r0, 0x0(r30) +.L_800957C8: +/* 800957C8 000923A8 80 7F 19 74 */ lwz r3, 0x1974(r31) +/* 800957CC 000923AC 38 81 00 14 */ addi r4, r1, 0x14 +/* 800957D0 000923B0 C0 22 8B C8 */ lfs f1, ftCo_804D85A8@sda21(r0) +/* 800957D4 000923B4 48 1D 54 05 */ bl Item_8026ABD8 +/* 800957D8 000923B8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800957DC 000923BC 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 800957E0 000923C0 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 800957E4 000923C4 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 800957E8 000923C8 38 21 00 30 */ addi r1, r1, 0x30 +/* 800957EC 000923CC 7C 08 03 A6 */ mtlr r0 +/* 800957F0 000923D0 4E 80 00 20 */ blr .endfn ftCo_80095744 +# .text:0x9A0 | 0x800957F4 | size: 0x108 .fn ftCo_800957F4, global -/* 000009A0 000009E0 7C 08 02 A6 */ mflr r0 -/* 000009A4 000009E4 90 01 00 04 */ stw r0, 0x4(r1) -/* 000009A8 000009E8 38 00 00 00 */ li r0, 0x0 -/* 000009AC 000009EC 94 21 FF C8 */ stwu r1, -0x38(r1) -/* 000009B0 000009F0 DB E1 00 30 */ stfd f31, 0x30(r1) -/* 000009B4 000009F4 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 000009B8 000009F8 93 C1 00 28 */ stw r30, 0x28(r1) -/* 000009BC 000009FC 3B C4 00 00 */ addi r30, r4, 0x0 -/* 000009C0 00000A00 2C 1E 00 6C */ cmpwi r30, 0x6c -/* 000009C4 00000A04 93 A1 00 24 */ stw r29, 0x24(r1) -/* 000009C8 00000A08 7C 7D 1B 78 */ mr r29, r3 -/* 000009CC 00000A0C 83 E3 00 2C */ lwz r31, 0x2c(r3) -/* 000009D0 00000A10 90 1F 22 00 */ stw r0, 0x2200(r31) -/* 000009D4 00000A14 90 1F 22 04 */ stw r0, 0x2204(r31) -/* 000009D8 00000A18 90 1F 22 10 */ stw r0, 0x2210(r31) -/* 000009DC 00000A1C C3 E0 00 00 */ lfs f31, ftCo_804D85A8@sda21(r0) -/* 000009E0 00000A20 80 83 00 2C */ lwz r4, 0x2c(r3) -/* 000009E4 00000A24 41 80 00 10 */ blt .L_000009F4 -/* 000009E8 00000A28 80 60 00 00 */ lwz r3, p_ftCommonData@sda21(r0) -/* 000009EC 00000A2C C0 03 04 00 */ lfs f0, 0x400(r3) -/* 000009F0 00000A30 EF FF 00 32 */ fmuls f31, f31, f0 -.L_000009F4: -/* 000009F4 00000A34 80 64 19 74 */ lwz r3, 0x1974(r4) -/* 000009F8 00000A38 48 00 00 01 */ bl it_8026B334 -/* 000009FC 00000A3C C0 00 00 00 */ lfs f0, ftCo_804D85A8@sda21(r0) -/* 00000A00 00000A40 38 1E FF A1 */ subi r0, r30, 0x5f -/* 00000A04 00000A44 28 00 00 16 */ cmplwi r0, 0x16 -/* 00000A08 00000A48 EC 00 08 24 */ fdivs f0, f0, f1 -/* 00000A0C 00000A4C EF FF 00 32 */ fmuls f31, f31, f0 -/* 00000A10 00000A50 FC 40 F8 90 */ fmr f2, f31 -/* 00000A14 00000A54 D0 5F 23 44 */ stfs f2, 0x2344(r31) -/* 00000A18 00000A58 80 9D 00 2C */ lwz r4, 0x2c(r29) -/* 00000A1C 00000A5C 41 81 00 2C */ bgt ftCo_8009589C -/* 00000A20 00000A60 3C 60 00 00 */ lis r3, jtbl_803C561C@ha -/* 00000A24 00000A64 38 63 00 00 */ addi r3, r3, jtbl_803C561C@l -/* 00000A28 00000A68 54 00 10 3A */ slwi r0, r0, 2 -/* 00000A2C 00000A6C 7C 03 00 2E */ lwzx r0, r3, r0 -/* 00000A30 00000A70 7C 09 03 A6 */ mtctr r0 -/* 00000A34 00000A74 4E 80 04 20 */ bctr -.sym ftCo_8009588C, global -/* 00000A38 00000A78 C0 04 00 2C */ lfs f0, 0x2c(r4) -/* 00000A3C 00000A7C FC 00 00 50 */ fneg f0, f0 -/* 00000A40 00000A80 D0 04 23 40 */ stfs f0, 0x2340(r4) -/* 00000A44 00000A84 48 00 00 0C */ b .L_00000A50 -.sym ftCo_8009589C, global -/* 00000A48 00000A88 C0 04 00 2C */ lfs f0, 0x2c(r4) -/* 00000A4C 00000A8C D0 04 23 40 */ stfs f0, 0x2340(r4) -.L_00000A50: -/* 00000A50 00000A90 C0 20 00 00 */ lfs f1, ftCo_804D8590@sda21(r0) -/* 00000A54 00000A94 7F A3 EB 78 */ mr r3, r29 -/* 00000A58 00000A98 38 9E 00 00 */ addi r4, r30, 0x0 -/* 00000A5C 00000A9C FC 60 08 90 */ fmr f3, f1 -/* 00000A60 00000AA0 38 A0 00 00 */ li r5, 0x0 -/* 00000A64 00000AA4 38 C0 00 00 */ li r6, 0x0 -/* 00000A68 00000AA8 48 00 00 01 */ bl Fighter_ChangeMotionState -/* 00000A6C 00000AAC 7F A3 EB 78 */ mr r3, r29 -/* 00000A70 00000AB0 48 00 00 01 */ bl ftAnim_8006EBA4 -/* 00000A74 00000AB4 3C 60 00 00 */ lis r3, ftCo_80095EFC@ha -/* 00000A78 00000AB8 38 03 00 00 */ addi r0, r3, ftCo_80095EFC@l -/* 00000A7C 00000ABC 90 1F 21 BC */ stw r0, 0x21bc(r31) -/* 00000A80 00000AC0 7F A3 EB 78 */ mr r3, r29 -/* 00000A84 00000AC4 48 00 00 01 */ bl ftCo_80095EFC -/* 00000A88 00000AC8 80 01 00 3C */ lwz r0, 0x3c(r1) -/* 00000A8C 00000ACC CB E1 00 30 */ lfd f31, 0x30(r1) -/* 00000A90 00000AD0 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 00000A94 00000AD4 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 00000A98 00000AD8 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 00000A9C 00000ADC 38 21 00 38 */ addi r1, r1, 0x38 -/* 00000AA0 00000AE0 7C 08 03 A6 */ mtlr r0 -/* 00000AA4 00000AE4 4E 80 00 20 */ blr +/* 800957F4 000923D4 7C 08 02 A6 */ mflr r0 +/* 800957F8 000923D8 90 01 00 04 */ stw r0, 0x4(r1) +/* 800957FC 000923DC 38 00 00 00 */ li r0, 0x0 +/* 80095800 000923E0 94 21 FF C8 */ stwu r1, -0x38(r1) +/* 80095804 000923E4 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 80095808 000923E8 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8009580C 000923EC 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80095810 000923F0 3B C4 00 00 */ addi r30, r4, 0x0 +/* 80095814 000923F4 2C 1E 00 6C */ cmpwi r30, 0x6c +/* 80095818 000923F8 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8009581C 000923FC 7C 7D 1B 78 */ mr r29, r3 +/* 80095820 00092400 83 E3 00 2C */ lwz r31, 0x2c(r3) +/* 80095824 00092404 90 1F 22 00 */ stw r0, 0x2200(r31) +/* 80095828 00092408 90 1F 22 04 */ stw r0, 0x2204(r31) +/* 8009582C 0009240C 90 1F 22 10 */ stw r0, 0x2210(r31) +/* 80095830 00092410 C3 E2 8B C8 */ lfs f31, ftCo_804D85A8@sda21(r0) +/* 80095834 00092414 80 83 00 2C */ lwz r4, 0x2c(r3) +/* 80095838 00092418 41 80 00 10 */ blt .L_80095848 +/* 8009583C 0009241C 80 6D AE B4 */ lwz r3, p_ftCommonData@sda21(r0) +/* 80095840 00092420 C0 03 04 00 */ lfs f0, 0x400(r3) +/* 80095844 00092424 EF FF 00 32 */ fmuls f31, f31, f0 +.L_80095848: +/* 80095848 00092428 80 64 19 74 */ lwz r3, 0x1974(r4) +/* 8009584C 0009242C 48 1D 5A E9 */ bl it_8026B334 +/* 80095850 00092430 C0 02 8B C8 */ lfs f0, ftCo_804D85A8@sda21(r0) +/* 80095854 00092434 38 1E FF A1 */ subi r0, r30, 0x5f +/* 80095858 00092438 28 00 00 16 */ cmplwi r0, 0x16 +/* 8009585C 0009243C EC 00 08 24 */ fdivs f0, f0, f1 +/* 80095860 00092440 EF FF 00 32 */ fmuls f31, f31, f0 +/* 80095864 00092444 FC 40 F8 90 */ fmr f2, f31 +/* 80095868 00092448 D0 5F 23 44 */ stfs f2, 0x2344(r31) +/* 8009586C 0009244C 80 9D 00 2C */ lwz r4, 0x2c(r29) +/* 80095870 00092450 41 81 00 2C */ bgt .L_8009589C +/* 80095874 00092454 3C 60 80 3C */ lis r3, jtbl_803C561C@ha +/* 80095878 00092458 38 63 56 1C */ addi r3, r3, jtbl_803C561C@l +/* 8009587C 0009245C 54 00 10 3A */ slwi r0, r0, 2 +/* 80095880 00092460 7C 03 00 2E */ lwzx r0, r3, r0 +/* 80095884 00092464 7C 09 03 A6 */ mtctr r0 +/* 80095888 00092468 4E 80 04 20 */ bctr +.L_8009588C: +/* 8009588C 0009246C C0 04 00 2C */ lfs f0, 0x2c(r4) +/* 80095890 00092470 FC 00 00 50 */ fneg f0, f0 +/* 80095894 00092474 D0 04 23 40 */ stfs f0, 0x2340(r4) +/* 80095898 00092478 48 00 00 0C */ b .L_800958A4 +.L_8009589C: +/* 8009589C 0009247C C0 04 00 2C */ lfs f0, 0x2c(r4) +/* 800958A0 00092480 D0 04 23 40 */ stfs f0, 0x2340(r4) +.L_800958A4: +/* 800958A4 00092484 C0 22 8B B0 */ lfs f1, ftCo_804D8590@sda21(r0) +/* 800958A8 00092488 7F A3 EB 78 */ mr r3, r29 +/* 800958AC 0009248C 38 9E 00 00 */ addi r4, r30, 0x0 +/* 800958B0 00092490 FC 60 08 90 */ fmr f3, f1 +/* 800958B4 00092494 38 A0 00 00 */ li r5, 0x0 +/* 800958B8 00092498 38 C0 00 00 */ li r6, 0x0 +/* 800958BC 0009249C 4B FD 3A F1 */ bl Fighter_ChangeMotionState +/* 800958C0 000924A0 7F A3 EB 78 */ mr r3, r29 +/* 800958C4 000924A4 4B FD 92 E1 */ bl ftAnim_8006EBA4 +/* 800958C8 000924A8 3C 60 80 09 */ lis r3, ftCo_80095EFC@ha +/* 800958CC 000924AC 38 03 5E FC */ addi r0, r3, ftCo_80095EFC@l +/* 800958D0 000924B0 90 1F 21 BC */ stw r0, 0x21bc(r31) +/* 800958D4 000924B4 7F A3 EB 78 */ mr r3, r29 +/* 800958D8 000924B8 48 00 06 25 */ bl ftCo_80095EFC +/* 800958DC 000924BC 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 800958E0 000924C0 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 800958E4 000924C4 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 800958E8 000924C8 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 800958EC 000924CC 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 800958F0 000924D0 38 21 00 38 */ addi r1, r1, 0x38 +/* 800958F4 000924D4 7C 08 03 A6 */ mtlr r0 +/* 800958F8 000924D8 4E 80 00 20 */ blr .endfn ftCo_800957F4 +# .text:0xAA8 | 0x800958FC | size: 0x134 .fn ftCo_800958FC, global -/* 00000AA8 00000AE8 7C 08 02 A6 */ mflr r0 -/* 00000AAC 00000AEC 90 01 00 04 */ stw r0, 0x4(r1) -/* 00000AB0 00000AF0 38 00 00 00 */ li r0, 0x0 -/* 00000AB4 00000AF4 94 21 FF C8 */ stwu r1, -0x38(r1) -/* 00000AB8 00000AF8 DB E1 00 30 */ stfd f31, 0x30(r1) -/* 00000ABC 00000AFC 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 00000AC0 00000B00 93 C1 00 28 */ stw r30, 0x28(r1) -/* 00000AC4 00000B04 7C 7E 1B 78 */ mr r30, r3 -/* 00000AC8 00000B08 93 A1 00 24 */ stw r29, 0x24(r1) -/* 00000ACC 00000B0C 3B A4 00 00 */ addi r29, r4, 0x0 -/* 00000AD0 00000B10 2C 1D 00 6C */ cmpwi r29, 0x6c -/* 00000AD4 00000B14 83 E3 00 2C */ lwz r31, 0x2c(r3) -/* 00000AD8 00000B18 90 1F 22 00 */ stw r0, 0x2200(r31) -/* 00000ADC 00000B1C 90 1F 22 04 */ stw r0, 0x2204(r31) -/* 00000AE0 00000B20 90 1F 22 10 */ stw r0, 0x2210(r31) -/* 00000AE4 00000B24 C3 E0 00 00 */ lfs f31, ftCo_804D85A8@sda21(r0) -/* 00000AE8 00000B28 80 83 00 2C */ lwz r4, 0x2c(r3) -/* 00000AEC 00000B2C 41 80 00 10 */ blt .L_00000AFC -/* 00000AF0 00000B30 80 60 00 00 */ lwz r3, p_ftCommonData@sda21(r0) -/* 00000AF4 00000B34 C0 03 04 00 */ lfs f0, 0x400(r3) -/* 00000AF8 00000B38 EF FF 00 32 */ fmuls f31, f31, f0 -.L_00000AFC: -/* 00000AFC 00000B3C 80 64 19 74 */ lwz r3, 0x1974(r4) -/* 00000B00 00000B40 48 00 00 01 */ bl it_8026B334 -/* 00000B04 00000B44 C0 00 00 00 */ lfs f0, ftCo_804D85A8@sda21(r0) -/* 00000B08 00000B48 38 1D FF A1 */ subi r0, r29, 0x5f -/* 00000B0C 00000B4C 28 00 00 16 */ cmplwi r0, 0x16 -/* 00000B10 00000B50 80 9E 00 2C */ lwz r4, 0x2c(r30) -/* 00000B14 00000B54 EC 00 08 24 */ fdivs f0, f0, f1 -/* 00000B18 00000B58 EF FF 00 32 */ fmuls f31, f31, f0 -/* 00000B1C 00000B5C FC 40 F8 90 */ fmr f2, f31 -/* 00000B20 00000B60 41 81 00 2C */ bgt ftCo_800959A0 -/* 00000B24 00000B64 3C 60 00 00 */ lis r3, jtbl_803C5678@ha -/* 00000B28 00000B68 38 63 00 00 */ addi r3, r3, jtbl_803C5678@l -/* 00000B2C 00000B6C 54 00 10 3A */ slwi r0, r0, 2 -/* 00000B30 00000B70 7C 03 00 2E */ lwzx r0, r3, r0 -/* 00000B34 00000B74 7C 09 03 A6 */ mtctr r0 -/* 00000B38 00000B78 4E 80 04 20 */ bctr +/* 800958FC 000924DC 7C 08 02 A6 */ mflr r0 +/* 80095900 000924E0 90 01 00 04 */ stw r0, 0x4(r1) +/* 80095904 000924E4 38 00 00 00 */ li r0, 0x0 +/* 80095908 000924E8 94 21 FF C8 */ stwu r1, -0x38(r1) +/* 8009590C 000924EC DB E1 00 30 */ stfd f31, 0x30(r1) +/* 80095910 000924F0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80095914 000924F4 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80095918 000924F8 7C 7E 1B 78 */ mr r30, r3 +/* 8009591C 000924FC 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80095920 00092500 3B A4 00 00 */ addi r29, r4, 0x0 +/* 80095924 00092504 2C 1D 00 6C */ cmpwi r29, 0x6c +/* 80095928 00092508 83 E3 00 2C */ lwz r31, 0x2c(r3) +/* 8009592C 0009250C 90 1F 22 00 */ stw r0, 0x2200(r31) +/* 80095930 00092510 90 1F 22 04 */ stw r0, 0x2204(r31) +/* 80095934 00092514 90 1F 22 10 */ stw r0, 0x2210(r31) +/* 80095938 00092518 C3 E2 8B C8 */ lfs f31, ftCo_804D85A8@sda21(r0) +/* 8009593C 0009251C 80 83 00 2C */ lwz r4, 0x2c(r3) +/* 80095940 00092520 41 80 00 10 */ blt .L_80095950 +/* 80095944 00092524 80 6D AE B4 */ lwz r3, p_ftCommonData@sda21(r0) +/* 80095948 00092528 C0 03 04 00 */ lfs f0, 0x400(r3) +/* 8009594C 0009252C EF FF 00 32 */ fmuls f31, f31, f0 +.L_80095950: +/* 80095950 00092530 80 64 19 74 */ lwz r3, 0x1974(r4) +/* 80095954 00092534 48 1D 59 E1 */ bl it_8026B334 +/* 80095958 00092538 C0 02 8B C8 */ lfs f0, ftCo_804D85A8@sda21(r0) +/* 8009595C 0009253C 38 1D FF A1 */ subi r0, r29, 0x5f +/* 80095960 00092540 28 00 00 16 */ cmplwi r0, 0x16 +/* 80095964 00092544 80 9E 00 2C */ lwz r4, 0x2c(r30) +/* 80095968 00092548 EC 00 08 24 */ fdivs f0, f0, f1 +/* 8009596C 0009254C EF FF 00 32 */ fmuls f31, f31, f0 +/* 80095970 00092550 FC 40 F8 90 */ fmr f2, f31 +/* 80095974 00092554 41 81 00 2C */ bgt ftCo_800959A0 +/* 80095978 00092558 3C 60 80 3C */ lis r3, jtbl_803C5678@ha +/* 8009597C 0009255C 38 63 56 78 */ addi r3, r3, jtbl_803C5678@l +/* 80095980 00092560 54 00 10 3A */ slwi r0, r0, 2 +/* 80095984 00092564 7C 03 00 2E */ lwzx r0, r3, r0 +/* 80095988 00092568 7C 09 03 A6 */ mtctr r0 +/* 8009598C 0009256C 4E 80 04 20 */ bctr +# .text:0xB3C | 0x80095990 | size: 0x0 .sym ftCo_80095990, global -/* 00000B3C 00000B7C C0 04 00 2C */ lfs f0, 0x2c(r4) -/* 00000B40 00000B80 FC 00 00 50 */ fneg f0, f0 -/* 00000B44 00000B84 D0 04 23 40 */ stfs f0, 0x2340(r4) -/* 00000B48 00000B88 48 00 00 0C */ b .L_00000B54 +/* 80095990 00092570 C0 04 00 2C */ lfs f0, 0x2c(r4) +/* 80095994 00092574 FC 00 00 50 */ fneg f0, f0 +/* 80095998 00092578 D0 04 23 40 */ stfs f0, 0x2340(r4) +/* 8009599C 0009257C 48 00 00 0C */ b .L_800959A8 +# .text:0xB4C | 0x800959A0 | size: 0x0 .sym ftCo_800959A0, global -/* 00000B4C 00000B8C C0 04 00 2C */ lfs f0, 0x2c(r4) -/* 00000B50 00000B90 D0 04 23 40 */ stfs f0, 0x2340(r4) -.L_00000B54: -/* 00000B54 00000B94 C0 20 00 00 */ lfs f1, ftCo_804D8590@sda21(r0) -/* 00000B58 00000B98 7F C3 F3 78 */ mr r3, r30 -/* 00000B5C 00000B9C 38 9D 00 00 */ addi r4, r29, 0x0 -/* 00000B60 00000BA0 FC 60 08 90 */ fmr f3, f1 -/* 00000B64 00000BA4 38 A0 00 00 */ li r5, 0x0 -/* 00000B68 00000BA8 38 C0 00 00 */ li r6, 0x0 -/* 00000B6C 00000BAC 48 00 00 01 */ bl Fighter_ChangeMotionState -/* 00000B70 00000BB0 7F C3 F3 78 */ mr r3, r30 -/* 00000B74 00000BB4 48 00 00 01 */ bl ftAnim_8006EBA4 -/* 00000B78 00000BB8 3C 60 00 00 */ lis r3, ftCo_80095EFC@ha -/* 00000B7C 00000BBC 38 03 00 00 */ addi r0, r3, ftCo_80095EFC@l -/* 00000B80 00000BC0 3C 60 00 00 */ lis r3, ftCo_800974C4@ha -/* 00000B84 00000BC4 90 1F 21 BC */ stw r0, 0x21bc(r31) -/* 00000B88 00000BC8 38 03 00 00 */ addi r0, r3, ftCo_800974C4@l -/* 00000B8C 00000BCC 90 1F 21 DC */ stw r0, 0x21dc(r31) -/* 00000B90 00000BD0 88 1F 22 22 */ lbz r0, 0x2222(r31) -/* 00000B94 00000BD4 54 00 CF FF */ extrwi. r0, r0, 1, 24 -/* 00000B98 00000BD8 41 82 00 1C */ beq .L_00000BB4 -/* 00000B9C 00000BDC 3C 60 00 00 */ lis r3, ftCo_800961D0@ha -/* 00000BA0 00000BE0 38 03 00 00 */ addi r0, r3, ftCo_800961D0@l -/* 00000BA4 00000BE4 3C 60 00 00 */ lis r3, ftCo_80096498@ha -/* 00000BA8 00000BE8 90 1F 21 A4 */ stw r0, 0x21a4(r31) -/* 00000BAC 00000BEC 38 03 00 00 */ addi r0, r3, ftCo_80096498@l -/* 00000BB0 00000BF0 90 1F 21 A8 */ stw r0, 0x21a8(r31) -.L_00000BB4: -/* 00000BB4 00000BF4 7F C3 F3 78 */ mr r3, r30 -/* 00000BB8 00000BF8 48 00 00 01 */ bl ftCo_80095EFC -/* 00000BBC 00000BFC 80 01 00 3C */ lwz r0, 0x3c(r1) -/* 00000BC0 00000C00 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 00000BC4 00000C04 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 00000BC8 00000C08 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 00000BCC 00000C0C 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 00000BD0 00000C10 38 21 00 38 */ addi r1, r1, 0x38 -/* 00000BD4 00000C14 7C 08 03 A6 */ mtlr r0 -/* 00000BD8 00000C18 4E 80 00 20 */ blr +/* 800959A0 00092580 C0 04 00 2C */ lfs f0, 0x2c(r4) +/* 800959A4 00092584 D0 04 23 40 */ stfs f0, 0x2340(r4) +.L_800959A8: +/* 800959A8 00092588 C0 22 8B B0 */ lfs f1, ftCo_804D8590@sda21(r0) +/* 800959AC 0009258C 7F C3 F3 78 */ mr r3, r30 +/* 800959B0 00092590 38 9D 00 00 */ addi r4, r29, 0x0 +/* 800959B4 00092594 FC 60 08 90 */ fmr f3, f1 +/* 800959B8 00092598 38 A0 00 00 */ li r5, 0x0 +/* 800959BC 0009259C 38 C0 00 00 */ li r6, 0x0 +/* 800959C0 000925A0 4B FD 39 ED */ bl Fighter_ChangeMotionState +/* 800959C4 000925A4 7F C3 F3 78 */ mr r3, r30 +/* 800959C8 000925A8 4B FD 91 DD */ bl ftAnim_8006EBA4 +/* 800959CC 000925AC 3C 60 80 09 */ lis r3, ftCo_80095EFC@ha +/* 800959D0 000925B0 38 03 5E FC */ addi r0, r3, ftCo_80095EFC@l +/* 800959D4 000925B4 3C 60 80 09 */ lis r3, ftCo_800974C4@ha +/* 800959D8 000925B8 90 1F 21 BC */ stw r0, 0x21bc(r31) +/* 800959DC 000925BC 38 03 74 C4 */ addi r0, r3, ftCo_800974C4@l +/* 800959E0 000925C0 90 1F 21 DC */ stw r0, 0x21dc(r31) +/* 800959E4 000925C4 88 1F 22 22 */ lbz r0, 0x2222(r31) +/* 800959E8 000925C8 54 00 CF FF */ extrwi. r0, r0, 1, 24 +/* 800959EC 000925CC 41 82 00 1C */ beq .L_80095A08 +/* 800959F0 000925D0 3C 60 80 09 */ lis r3, ftCo_800961D0@ha +/* 800959F4 000925D4 38 03 61 D0 */ addi r0, r3, ftCo_800961D0@l +/* 800959F8 000925D8 3C 60 80 09 */ lis r3, ftCo_80096498@ha +/* 800959FC 000925DC 90 1F 21 A4 */ stw r0, 0x21a4(r31) +/* 80095A00 000925E0 38 03 64 98 */ addi r0, r3, ftCo_80096498@l +/* 80095A04 000925E4 90 1F 21 A8 */ stw r0, 0x21a8(r31) +.L_80095A08: +/* 80095A08 000925E8 7F C3 F3 78 */ mr r3, r30 +/* 80095A0C 000925EC 48 00 04 F1 */ bl ftCo_80095EFC +/* 80095A10 000925F0 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 80095A14 000925F4 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 80095A18 000925F8 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80095A1C 000925FC 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80095A20 00092600 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80095A24 00092604 38 21 00 38 */ addi r1, r1, 0x38 +/* 80095A28 00092608 7C 08 03 A6 */ mtlr r0 +/* 80095A2C 0009260C 4E 80 00 20 */ blr .endfn ftCo_800958FC +# .text:0xBDC | 0x80095A30 | size: 0x32C .fn ftCo_80095A30, global -/* 00000BDC 00000C1C 7C 08 02 A6 */ mflr r0 -/* 00000BE0 00000C20 90 01 00 04 */ stw r0, 0x4(r1) -/* 00000BE4 00000C24 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 00000BE8 00000C28 DB E1 00 48 */ stfd f31, 0x48(r1) -/* 00000BEC 00000C2C 93 E1 00 44 */ stw r31, 0x44(r1) -/* 00000BF0 00000C30 7C 7F 1B 78 */ mr r31, r3 -/* 00000BF4 00000C34 93 C1 00 40 */ stw r30, 0x40(r1) -/* 00000BF8 00000C38 93 A1 00 3C */ stw r29, 0x3c(r1) -/* 00000BFC 00000C3C 80 63 00 2C */ lwz r3, 0x2c(r3) -/* 00000C00 00000C40 C0 00 00 00 */ lfs f0, ftCo_804D8590@sda21(r0) -/* 00000C04 00000C44 C0 23 06 20 */ lfs f1, 0x620(r3) -/* 00000C08 00000C48 7C 7E 1B 78 */ mr r30, r3 -/* 00000C0C 00000C4C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 00000C10 00000C50 40 80 00 08 */ bge .L_00000C18 -/* 00000C14 00000C54 FC 20 08 50 */ fneg f1, f1 -.L_00000C18: -/* 00000C18 00000C58 80 A0 00 00 */ lwz r5, p_ftCommonData@sda21(r0) -/* 00000C1C 00000C5C C0 05 00 3C */ lfs f0, 0x3c(r5) -/* 00000C20 00000C60 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 00000C24 00000C64 4C 41 13 82 */ cror eq, gt, eq -/* 00000C28 00000C68 40 82 00 7C */ bne .L_00000CA4 -/* 00000C2C 00000C6C 80 05 00 40 */ lwz r0, 0x40(r5) -/* 00000C30 00000C70 3C 60 43 30 */ lis r3, 0x4330 -/* 00000C34 00000C74 88 9E 06 73 */ lbz r4, 0x673(r30) -/* 00000C38 00000C78 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 00000C3C 00000C7C C8 40 00 00 */ lfd f2, ftCo_804D85A0@sda21(r0) -/* 00000C40 00000C80 90 01 00 2C */ stw r0, 0x2c(r1) -/* 00000C44 00000C84 C8 60 00 00 */ lfd f3, ftCo_804D8598@sda21(r0) -/* 00000C48 00000C88 90 61 00 28 */ stw r3, 0x28(r1) -/* 00000C4C 00000C8C C0 05 00 44 */ lfs f0, 0x44(r5) -/* 00000C50 00000C90 90 81 00 34 */ stw r4, 0x34(r1) -/* 00000C54 00000C94 C8 21 00 28 */ lfd f1, 0x28(r1) -/* 00000C58 00000C98 90 61 00 30 */ stw r3, 0x30(r1) -/* 00000C5C 00000C9C EC 21 10 28 */ fsubs f1, f1, f2 -/* 00000C60 00000CA0 C8 41 00 30 */ lfd f2, 0x30(r1) -/* 00000C64 00000CA4 EC 42 18 28 */ fsubs f2, f2, f3 -/* 00000C68 00000CA8 EC 01 00 2A */ fadds f0, f1, f0 -/* 00000C6C 00000CAC FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 00000C70 00000CB0 40 80 00 34 */ bge .L_00000CA4 -/* 00000C74 00000CB4 C0 5E 06 20 */ lfs f2, 0x620(r30) -/* 00000C78 00000CB8 C0 3E 00 2C */ lfs f1, 0x2c(r30) -/* 00000C7C 00000CBC C0 00 00 00 */ lfs f0, ftCo_804D8590@sda21(r0) -/* 00000C80 00000CC0 EC 22 00 72 */ fmuls f1, f2, f1 -/* 00000C84 00000CC4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 00000C88 00000CC8 4C 41 13 82 */ cror eq, gt, eq -/* 00000C8C 00000CCC 40 82 00 0C */ bne .L_00000C98 -/* 00000C90 00000CD0 38 00 00 6C */ li r0, 0x6c -/* 00000C94 00000CD4 48 00 00 08 */ b .L_00000C9C -.L_00000C98: -/* 00000C98 00000CD8 38 00 00 6D */ li r0, 0x6d -.L_00000C9C: -/* 00000C9C 00000CDC 7C 1D 03 78 */ mr r29, r0 -/* 00000CA0 00000CE0 48 00 01 B8 */ b .L_00000E58 -.L_00000CA4: -/* 00000CA4 00000CE4 C0 9E 06 24 */ lfs f4, 0x624(r30) -/* 00000CA8 00000CE8 C0 05 00 CC */ lfs f0, 0xcc(r5) -/* 00000CAC 00000CEC FC 04 00 40 */ fcmpo cr0, f4, f0 -/* 00000CB0 00000CF0 4C 41 13 82 */ cror eq, gt, eq -/* 00000CB4 00000CF4 40 82 00 3C */ bne .L_00000CF0 -/* 00000CB8 00000CF8 88 7E 06 74 */ lbz r3, 0x674(r30) -/* 00000CBC 00000CFC 3C 00 43 30 */ lis r0, 0x4330 -/* 00000CC0 00000D00 C8 60 00 00 */ lfd f3, ftCo_804D8598@sda21(r0) -/* 00000CC4 00000D04 90 61 00 2C */ stw r3, 0x2c(r1) -/* 00000CC8 00000D08 C0 25 00 D0 */ lfs f1, 0xd0(r5) -/* 00000CCC 00000D0C 90 01 00 28 */ stw r0, 0x28(r1) -/* 00000CD0 00000D10 C0 1E 01 48 */ lfs f0, 0x148(r30) -/* 00000CD4 00000D14 C8 41 00 28 */ lfd f2, 0x28(r1) -/* 00000CD8 00000D18 EC 01 00 2A */ fadds f0, f1, f0 -/* 00000CDC 00000D1C EC 22 18 28 */ fsubs f1, f2, f3 -/* 00000CE0 00000D20 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 00000CE4 00000D24 40 80 00 0C */ bge .L_00000CF0 -/* 00000CE8 00000D28 3B A0 00 6E */ li r29, 0x6e -/* 00000CEC 00000D2C 48 00 01 6C */ b .L_00000E58 -.L_00000CF0: -/* 00000CF0 00000D30 C0 05 00 D4 */ lfs f0, 0xd4(r5) -/* 00000CF4 00000D34 FC 04 00 40 */ fcmpo cr0, f4, f0 -/* 00000CF8 00000D38 4C 40 13 82 */ cror eq, lt, eq -/* 00000CFC 00000D3C 40 82 00 34 */ bne .L_00000D30 -/* 00000D00 00000D40 88 7E 06 74 */ lbz r3, 0x674(r30) -/* 00000D04 00000D44 3C 00 43 30 */ lis r0, 0x4330 -/* 00000D08 00000D48 C8 40 00 00 */ lfd f2, ftCo_804D8598@sda21(r0) -/* 00000D0C 00000D4C 90 61 00 2C */ stw r3, 0x2c(r1) -/* 00000D10 00000D50 C0 05 00 D8 */ lfs f0, 0xd8(r5) -/* 00000D14 00000D54 90 01 00 28 */ stw r0, 0x28(r1) -/* 00000D18 00000D58 C8 21 00 28 */ lfd f1, 0x28(r1) -/* 00000D1C 00000D5C EC 21 10 28 */ fsubs f1, f1, f2 -/* 00000D20 00000D60 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 00000D24 00000D64 40 80 00 0C */ bge .L_00000D30 -/* 00000D28 00000D68 3B A0 00 6F */ li r29, 0x6f -/* 00000D2C 00000D6C 48 00 01 2C */ b .L_00000E58 -.L_00000D30: -/* 00000D30 00000D70 C0 3E 06 20 */ lfs f1, 0x620(r30) -/* 00000D34 00000D74 C0 00 00 00 */ lfs f0, ftCo_804D8590@sda21(r0) -/* 00000D38 00000D78 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 00000D3C 00000D7C 40 80 00 08 */ bge .L_00000D44 -/* 00000D40 00000D80 FC 20 08 50 */ fneg f1, f1 -.L_00000D44: -/* 00000D44 00000D84 C0 05 00 98 */ lfs f0, 0x98(r5) -/* 00000D48 00000D88 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 00000D4C 00000D8C 4C 41 13 82 */ cror eq, gt, eq -/* 00000D50 00000D90 40 82 00 74 */ bne .L_00000DC4 -/* 00000D54 00000D94 7F C3 F3 78 */ mr r3, r30 -/* 00000D58 00000D98 48 00 00 01 */ bl ftCo_GetLStickAngle -/* 00000D5C 00000D9C C0 00 00 00 */ lfs f0, ftCo_804D8590@sda21(r0) -/* 00000D60 00000DA0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 00000D64 00000DA4 40 80 00 14 */ bge .L_00000D78 -/* 00000D68 00000DA8 7F C3 F3 78 */ mr r3, r30 -/* 00000D6C 00000DAC 48 00 00 01 */ bl ftCo_GetLStickAngle -/* 00000D70 00000DB0 FC 20 08 50 */ fneg f1, f1 -/* 00000D74 00000DB4 48 00 00 0C */ b .L_00000D80 -.L_00000D78: -/* 00000D78 00000DB8 7F C3 F3 78 */ mr r3, r30 -/* 00000D7C 00000DBC 48 00 00 01 */ bl ftCo_GetLStickAngle -.L_00000D80: -/* 00000D80 00000DC0 80 60 00 00 */ lwz r3, p_ftCommonData@sda21(r0) -/* 00000D84 00000DC4 C0 03 00 20 */ lfs f0, 0x20(r3) -/* 00000D88 00000DC8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 00000D8C 00000DCC 4C 40 13 82 */ cror eq, lt, eq -/* 00000D90 00000DD0 40 82 00 34 */ bne .L_00000DC4 -/* 00000D94 00000DD4 C0 5E 06 20 */ lfs f2, 0x620(r30) -/* 00000D98 00000DD8 C0 3E 00 2C */ lfs f1, 0x2c(r30) -/* 00000D9C 00000DDC C0 00 00 00 */ lfs f0, ftCo_804D8590@sda21(r0) -/* 00000DA0 00000DE0 EC 22 00 72 */ fmuls f1, f2, f1 -/* 00000DA4 00000DE4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 00000DA8 00000DE8 4C 41 13 82 */ cror eq, gt, eq -/* 00000DAC 00000DEC 40 82 00 0C */ bne .L_00000DB8 -/* 00000DB0 00000DF0 38 00 00 5E */ li r0, 0x5e -/* 00000DB4 00000DF4 48 00 00 08 */ b .L_00000DBC -.L_00000DB8: -/* 00000DB8 00000DF8 38 00 00 5F */ li r0, 0x5f -.L_00000DBC: -/* 00000DBC 00000DFC 7C 1D 03 78 */ mr r29, r0 -/* 00000DC0 00000E00 48 00 00 98 */ b .L_00000E58 -.L_00000DC4: -/* 00000DC4 00000E04 80 60 00 00 */ lwz r3, p_ftCommonData@sda21(r0) -/* 00000DC8 00000E08 C0 3E 06 24 */ lfs f1, 0x624(r30) -/* 00000DCC 00000E0C C0 03 00 AC */ lfs f0, 0xac(r3) -/* 00000DD0 00000E10 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 00000DD4 00000E14 4C 41 13 82 */ cror eq, gt, eq -/* 00000DD8 00000E18 40 82 00 24 */ bne .L_00000DFC -/* 00000DDC 00000E1C 7F C3 F3 78 */ mr r3, r30 -/* 00000DE0 00000E20 48 00 00 01 */ bl ftCo_GetLStickAngle -/* 00000DE4 00000E24 80 60 00 00 */ lwz r3, p_ftCommonData@sda21(r0) -/* 00000DE8 00000E28 C0 03 00 20 */ lfs f0, 0x20(r3) -/* 00000DEC 00000E2C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 00000DF0 00000E30 40 81 00 0C */ ble .L_00000DFC -/* 00000DF4 00000E34 3B A0 00 60 */ li r29, 0x60 -/* 00000DF8 00000E38 48 00 00 60 */ b .L_00000E58 -.L_00000DFC: -/* 00000DFC 00000E3C 80 60 00 00 */ lwz r3, p_ftCommonData@sda21(r0) -/* 00000E00 00000E40 C0 3E 06 24 */ lfs f1, 0x624(r30) -/* 00000E04 00000E44 C0 03 00 B0 */ lfs f0, 0xb0(r3) -/* 00000E08 00000E48 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 00000E0C 00000E4C 4C 40 13 82 */ cror eq, lt, eq -/* 00000E10 00000E50 40 82 00 28 */ bne .L_00000E38 -/* 00000E14 00000E54 7F C3 F3 78 */ mr r3, r30 -/* 00000E18 00000E58 48 00 00 01 */ bl ftCo_GetLStickAngle -/* 00000E1C 00000E5C 80 60 00 00 */ lwz r3, p_ftCommonData@sda21(r0) -/* 00000E20 00000E60 C0 03 00 20 */ lfs f0, 0x20(r3) -/* 00000E24 00000E64 FC 00 00 50 */ fneg f0, f0 -/* 00000E28 00000E68 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 00000E2C 00000E6C 40 80 00 0C */ bge .L_00000E38 -/* 00000E30 00000E70 3B A0 00 61 */ li r29, 0x61 -/* 00000E34 00000E74 48 00 00 24 */ b .L_00000E58 -.L_00000E38: -/* 00000E38 00000E78 80 7E 19 74 */ lwz r3, 0x1974(r30) -/* 00000E3C 00000E7C 48 00 00 01 */ bl it_8026B30C -/* 00000E40 00000E80 2C 03 00 00 */ cmpwi r3, 0x0 -/* 00000E44 00000E84 40 82 00 0C */ bne .L_00000E50 -/* 00000E48 00000E88 38 00 00 5E */ li r0, 0x5e -/* 00000E4C 00000E8C 48 00 00 08 */ b .L_00000E54 -.L_00000E50: -/* 00000E50 00000E90 38 00 00 63 */ li r0, 0x63 -.L_00000E54: -/* 00000E54 00000E94 7C 1D 03 78 */ mr r29, r0 -.L_00000E58: -/* 00000E58 00000E98 83 DF 00 2C */ lwz r30, 0x2c(r31) -/* 00000E5C 00000E9C 38 00 00 00 */ li r0, 0x0 -/* 00000E60 00000EA0 2C 1D 00 6C */ cmpwi r29, 0x6c -/* 00000E64 00000EA4 90 1E 22 00 */ stw r0, 0x2200(r30) -/* 00000E68 00000EA8 90 1E 22 04 */ stw r0, 0x2204(r30) -/* 00000E6C 00000EAC 90 1E 22 10 */ stw r0, 0x2210(r30) -/* 00000E70 00000EB0 C3 E0 00 00 */ lfs f31, ftCo_804D85A8@sda21(r0) -/* 00000E74 00000EB4 80 9F 00 2C */ lwz r4, 0x2c(r31) -/* 00000E78 00000EB8 41 80 00 10 */ blt .L_00000E88 -/* 00000E7C 00000EBC 80 60 00 00 */ lwz r3, p_ftCommonData@sda21(r0) -/* 00000E80 00000EC0 C0 03 04 00 */ lfs f0, 0x400(r3) -/* 00000E84 00000EC4 EF FF 00 32 */ fmuls f31, f31, f0 -.L_00000E88: -/* 00000E88 00000EC8 80 64 19 74 */ lwz r3, 0x1974(r4) -/* 00000E8C 00000ECC 48 00 00 01 */ bl it_8026B334 -/* 00000E90 00000ED0 C0 00 00 00 */ lfs f0, ftCo_804D85A8@sda21(r0) -/* 00000E94 00000ED4 38 7F 00 00 */ addi r3, r31, 0x0 -/* 00000E98 00000ED8 38 9D 00 00 */ addi r4, r29, 0x0 -/* 00000E9C 00000EDC EC 00 08 24 */ fdivs f0, f0, f1 -/* 00000EA0 00000EE0 EF FF 00 32 */ fmuls f31, f31, f0 -/* 00000EA4 00000EE4 D3 FE 23 44 */ stfs f31, 0x2344(r30) -/* 00000EA8 00000EE8 48 00 00 01 */ bl ftCo_80095700 -/* 00000EAC 00000EEC C0 20 00 00 */ lfs f1, ftCo_804D8590@sda21(r0) -/* 00000EB0 00000EF0 FC 40 F8 90 */ fmr f2, f31 -/* 00000EB4 00000EF4 7F E3 FB 78 */ mr r3, r31 -/* 00000EB8 00000EF8 FC 60 08 90 */ fmr f3, f1 -/* 00000EBC 00000EFC 38 9D 00 00 */ addi r4, r29, 0x0 -/* 00000EC0 00000F00 38 A0 00 00 */ li r5, 0x0 -/* 00000EC4 00000F04 38 C0 00 00 */ li r6, 0x0 -/* 00000EC8 00000F08 48 00 00 01 */ bl Fighter_ChangeMotionState -/* 00000ECC 00000F0C 7F E3 FB 78 */ mr r3, r31 -/* 00000ED0 00000F10 48 00 00 01 */ bl ftAnim_8006EBA4 -/* 00000ED4 00000F14 3C 60 00 00 */ lis r3, ftCo_80095EFC@ha -/* 00000ED8 00000F18 38 03 00 00 */ addi r0, r3, ftCo_80095EFC@l -/* 00000EDC 00000F1C 90 1E 21 BC */ stw r0, 0x21bc(r30) -/* 00000EE0 00000F20 7F E3 FB 78 */ mr r3, r31 -/* 00000EE4 00000F24 48 00 00 01 */ bl ftCo_80095EFC -/* 00000EE8 00000F28 80 01 00 54 */ lwz r0, 0x54(r1) -/* 00000EEC 00000F2C CB E1 00 48 */ lfd f31, 0x48(r1) -/* 00000EF0 00000F30 83 E1 00 44 */ lwz r31, 0x44(r1) -/* 00000EF4 00000F34 83 C1 00 40 */ lwz r30, 0x40(r1) -/* 00000EF8 00000F38 83 A1 00 3C */ lwz r29, 0x3c(r1) -/* 00000EFC 00000F3C 38 21 00 50 */ addi r1, r1, 0x50 -/* 00000F00 00000F40 7C 08 03 A6 */ mtlr r0 -/* 00000F04 00000F44 4E 80 00 20 */ blr +/* 80095A30 00092610 7C 08 02 A6 */ mflr r0 +/* 80095A34 00092614 90 01 00 04 */ stw r0, 0x4(r1) +/* 80095A38 00092618 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80095A3C 0009261C DB E1 00 48 */ stfd f31, 0x48(r1) +/* 80095A40 00092620 93 E1 00 44 */ stw r31, 0x44(r1) +/* 80095A44 00092624 7C 7F 1B 78 */ mr r31, r3 +/* 80095A48 00092628 93 C1 00 40 */ stw r30, 0x40(r1) +/* 80095A4C 0009262C 93 A1 00 3C */ stw r29, 0x3c(r1) +/* 80095A50 00092630 80 63 00 2C */ lwz r3, 0x2c(r3) +/* 80095A54 00092634 C0 02 8B B0 */ lfs f0, ftCo_804D8590@sda21(r0) +/* 80095A58 00092638 C0 23 06 20 */ lfs f1, 0x620(r3) +/* 80095A5C 0009263C 7C 7E 1B 78 */ mr r30, r3 +/* 80095A60 00092640 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80095A64 00092644 40 80 00 08 */ bge .L_80095A6C +/* 80095A68 00092648 FC 20 08 50 */ fneg f1, f1 +.L_80095A6C: +/* 80095A6C 0009264C 80 AD AE B4 */ lwz r5, p_ftCommonData@sda21(r0) +/* 80095A70 00092650 C0 05 00 3C */ lfs f0, 0x3c(r5) +/* 80095A74 00092654 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80095A78 00092658 4C 41 13 82 */ cror eq, gt, eq +/* 80095A7C 0009265C 40 82 00 7C */ bne .L_80095AF8 +/* 80095A80 00092660 80 05 00 40 */ lwz r0, 0x40(r5) +/* 80095A84 00092664 3C 60 43 30 */ lis r3, 0x4330 +/* 80095A88 00092668 88 9E 06 73 */ lbz r4, 0x673(r30) +/* 80095A8C 0009266C 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 80095A90 00092670 C8 42 8B C0 */ lfd f2, ftCo_804D85A0@sda21(r0) +/* 80095A94 00092674 90 01 00 2C */ stw r0, 0x2c(r1) +/* 80095A98 00092678 C8 62 8B B8 */ lfd f3, ftCo_804D8598@sda21(r0) +/* 80095A9C 0009267C 90 61 00 28 */ stw r3, 0x28(r1) +/* 80095AA0 00092680 C0 05 00 44 */ lfs f0, 0x44(r5) +/* 80095AA4 00092684 90 81 00 34 */ stw r4, 0x34(r1) +/* 80095AA8 00092688 C8 21 00 28 */ lfd f1, 0x28(r1) +/* 80095AAC 0009268C 90 61 00 30 */ stw r3, 0x30(r1) +/* 80095AB0 00092690 EC 21 10 28 */ fsubs f1, f1, f2 +/* 80095AB4 00092694 C8 41 00 30 */ lfd f2, 0x30(r1) +/* 80095AB8 00092698 EC 42 18 28 */ fsubs f2, f2, f3 +/* 80095ABC 0009269C EC 01 00 2A */ fadds f0, f1, f0 +/* 80095AC0 000926A0 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80095AC4 000926A4 40 80 00 34 */ bge .L_80095AF8 +/* 80095AC8 000926A8 C0 5E 06 20 */ lfs f2, 0x620(r30) +/* 80095ACC 000926AC C0 3E 00 2C */ lfs f1, 0x2c(r30) +/* 80095AD0 000926B0 C0 02 8B B0 */ lfs f0, ftCo_804D8590@sda21(r0) +/* 80095AD4 000926B4 EC 22 00 72 */ fmuls f1, f2, f1 +/* 80095AD8 000926B8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80095ADC 000926BC 4C 41 13 82 */ cror eq, gt, eq +/* 80095AE0 000926C0 40 82 00 0C */ bne .L_80095AEC +/* 80095AE4 000926C4 38 00 00 6C */ li r0, 0x6c +/* 80095AE8 000926C8 48 00 00 08 */ b .L_80095AF0 +.L_80095AEC: +/* 80095AEC 000926CC 38 00 00 6D */ li r0, 0x6d +.L_80095AF0: +/* 80095AF0 000926D0 7C 1D 03 78 */ mr r29, r0 +/* 80095AF4 000926D4 48 00 01 B8 */ b .L_80095CAC +.L_80095AF8: +/* 80095AF8 000926D8 C0 9E 06 24 */ lfs f4, 0x624(r30) +/* 80095AFC 000926DC C0 05 00 CC */ lfs f0, 0xcc(r5) +/* 80095B00 000926E0 FC 04 00 40 */ fcmpo cr0, f4, f0 +/* 80095B04 000926E4 4C 41 13 82 */ cror eq, gt, eq +/* 80095B08 000926E8 40 82 00 3C */ bne .L_80095B44 +/* 80095B0C 000926EC 88 7E 06 74 */ lbz r3, 0x674(r30) +/* 80095B10 000926F0 3C 00 43 30 */ lis r0, 0x4330 +/* 80095B14 000926F4 C8 62 8B B8 */ lfd f3, ftCo_804D8598@sda21(r0) +/* 80095B18 000926F8 90 61 00 2C */ stw r3, 0x2c(r1) +/* 80095B1C 000926FC C0 25 00 D0 */ lfs f1, 0xd0(r5) +/* 80095B20 00092700 90 01 00 28 */ stw r0, 0x28(r1) +/* 80095B24 00092704 C0 1E 01 48 */ lfs f0, 0x148(r30) +/* 80095B28 00092708 C8 41 00 28 */ lfd f2, 0x28(r1) +/* 80095B2C 0009270C EC 01 00 2A */ fadds f0, f1, f0 +/* 80095B30 00092710 EC 22 18 28 */ fsubs f1, f2, f3 +/* 80095B34 00092714 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80095B38 00092718 40 80 00 0C */ bge .L_80095B44 +/* 80095B3C 0009271C 3B A0 00 6E */ li r29, 0x6e +/* 80095B40 00092720 48 00 01 6C */ b .L_80095CAC +.L_80095B44: +/* 80095B44 00092724 C0 05 00 D4 */ lfs f0, 0xd4(r5) +/* 80095B48 00092728 FC 04 00 40 */ fcmpo cr0, f4, f0 +/* 80095B4C 0009272C 4C 40 13 82 */ cror eq, lt, eq +/* 80095B50 00092730 40 82 00 34 */ bne .L_80095B84 +/* 80095B54 00092734 88 7E 06 74 */ lbz r3, 0x674(r30) +/* 80095B58 00092738 3C 00 43 30 */ lis r0, 0x4330 +/* 80095B5C 0009273C C8 42 8B B8 */ lfd f2, ftCo_804D8598@sda21(r0) +/* 80095B60 00092740 90 61 00 2C */ stw r3, 0x2c(r1) +/* 80095B64 00092744 C0 05 00 D8 */ lfs f0, 0xd8(r5) +/* 80095B68 00092748 90 01 00 28 */ stw r0, 0x28(r1) +/* 80095B6C 0009274C C8 21 00 28 */ lfd f1, 0x28(r1) +/* 80095B70 00092750 EC 21 10 28 */ fsubs f1, f1, f2 +/* 80095B74 00092754 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80095B78 00092758 40 80 00 0C */ bge .L_80095B84 +/* 80095B7C 0009275C 3B A0 00 6F */ li r29, 0x6f +/* 80095B80 00092760 48 00 01 2C */ b .L_80095CAC +.L_80095B84: +/* 80095B84 00092764 C0 3E 06 20 */ lfs f1, 0x620(r30) +/* 80095B88 00092768 C0 02 8B B0 */ lfs f0, ftCo_804D8590@sda21(r0) +/* 80095B8C 0009276C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80095B90 00092770 40 80 00 08 */ bge .L_80095B98 +/* 80095B94 00092774 FC 20 08 50 */ fneg f1, f1 +.L_80095B98: +/* 80095B98 00092778 C0 05 00 98 */ lfs f0, 0x98(r5) +/* 80095B9C 0009277C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80095BA0 00092780 4C 41 13 82 */ cror eq, gt, eq +/* 80095BA4 00092784 40 82 00 74 */ bne .L_80095C18 +/* 80095BA8 00092788 7F C3 F3 78 */ mr r3, r30 +/* 80095BAC 0009278C 4B FE 7D B9 */ bl ftCo_GetLStickAngle +/* 80095BB0 00092790 C0 02 8B B0 */ lfs f0, ftCo_804D8590@sda21(r0) +/* 80095BB4 00092794 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80095BB8 00092798 40 80 00 14 */ bge .L_80095BCC +/* 80095BBC 0009279C 7F C3 F3 78 */ mr r3, r30 +/* 80095BC0 000927A0 4B FE 7D A5 */ bl ftCo_GetLStickAngle +/* 80095BC4 000927A4 FC 20 08 50 */ fneg f1, f1 +/* 80095BC8 000927A8 48 00 00 0C */ b .L_80095BD4 +.L_80095BCC: +/* 80095BCC 000927AC 7F C3 F3 78 */ mr r3, r30 +/* 80095BD0 000927B0 4B FE 7D 95 */ bl ftCo_GetLStickAngle +.L_80095BD4: +/* 80095BD4 000927B4 80 6D AE B4 */ lwz r3, p_ftCommonData@sda21(r0) +/* 80095BD8 000927B8 C0 03 00 20 */ lfs f0, 0x20(r3) +/* 80095BDC 000927BC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80095BE0 000927C0 4C 40 13 82 */ cror eq, lt, eq +/* 80095BE4 000927C4 40 82 00 34 */ bne .L_80095C18 +/* 80095BE8 000927C8 C0 5E 06 20 */ lfs f2, 0x620(r30) +/* 80095BEC 000927CC C0 3E 00 2C */ lfs f1, 0x2c(r30) +/* 80095BF0 000927D0 C0 02 8B B0 */ lfs f0, ftCo_804D8590@sda21(r0) +/* 80095BF4 000927D4 EC 22 00 72 */ fmuls f1, f2, f1 +/* 80095BF8 000927D8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80095BFC 000927DC 4C 41 13 82 */ cror eq, gt, eq +/* 80095C00 000927E0 40 82 00 0C */ bne .L_80095C0C +/* 80095C04 000927E4 38 00 00 5E */ li r0, 0x5e +/* 80095C08 000927E8 48 00 00 08 */ b .L_80095C10 +.L_80095C0C: +/* 80095C0C 000927EC 38 00 00 5F */ li r0, 0x5f +.L_80095C10: +/* 80095C10 000927F0 7C 1D 03 78 */ mr r29, r0 +/* 80095C14 000927F4 48 00 00 98 */ b .L_80095CAC +.L_80095C18: +/* 80095C18 000927F8 80 6D AE B4 */ lwz r3, p_ftCommonData@sda21(r0) +/* 80095C1C 000927FC C0 3E 06 24 */ lfs f1, 0x624(r30) +/* 80095C20 00092800 C0 03 00 AC */ lfs f0, 0xac(r3) +/* 80095C24 00092804 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80095C28 00092808 4C 41 13 82 */ cror eq, gt, eq +/* 80095C2C 0009280C 40 82 00 24 */ bne .L_80095C50 +/* 80095C30 00092810 7F C3 F3 78 */ mr r3, r30 +/* 80095C34 00092814 4B FE 7D 31 */ bl ftCo_GetLStickAngle +/* 80095C38 00092818 80 6D AE B4 */ lwz r3, p_ftCommonData@sda21(r0) +/* 80095C3C 0009281C C0 03 00 20 */ lfs f0, 0x20(r3) +/* 80095C40 00092820 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80095C44 00092824 40 81 00 0C */ ble .L_80095C50 +/* 80095C48 00092828 3B A0 00 60 */ li r29, 0x60 +/* 80095C4C 0009282C 48 00 00 60 */ b .L_80095CAC +.L_80095C50: +/* 80095C50 00092830 80 6D AE B4 */ lwz r3, p_ftCommonData@sda21(r0) +/* 80095C54 00092834 C0 3E 06 24 */ lfs f1, 0x624(r30) +/* 80095C58 00092838 C0 03 00 B0 */ lfs f0, 0xb0(r3) +/* 80095C5C 0009283C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80095C60 00092840 4C 40 13 82 */ cror eq, lt, eq +/* 80095C64 00092844 40 82 00 28 */ bne .L_80095C8C +/* 80095C68 00092848 7F C3 F3 78 */ mr r3, r30 +/* 80095C6C 0009284C 4B FE 7C F9 */ bl ftCo_GetLStickAngle +/* 80095C70 00092850 80 6D AE B4 */ lwz r3, p_ftCommonData@sda21(r0) +/* 80095C74 00092854 C0 03 00 20 */ lfs f0, 0x20(r3) +/* 80095C78 00092858 FC 00 00 50 */ fneg f0, f0 +/* 80095C7C 0009285C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80095C80 00092860 40 80 00 0C */ bge .L_80095C8C +/* 80095C84 00092864 3B A0 00 61 */ li r29, 0x61 +/* 80095C88 00092868 48 00 00 24 */ b .L_80095CAC +.L_80095C8C: +/* 80095C8C 0009286C 80 7E 19 74 */ lwz r3, 0x1974(r30) +/* 80095C90 00092870 48 1D 56 7D */ bl it_8026B30C +/* 80095C94 00092874 2C 03 00 00 */ cmpwi r3, 0x0 +/* 80095C98 00092878 40 82 00 0C */ bne .L_80095CA4 +/* 80095C9C 0009287C 38 00 00 5E */ li r0, 0x5e +/* 80095CA0 00092880 48 00 00 08 */ b .L_80095CA8 +.L_80095CA4: +/* 80095CA4 00092884 38 00 00 63 */ li r0, 0x63 +.L_80095CA8: +/* 80095CA8 00092888 7C 1D 03 78 */ mr r29, r0 +.L_80095CAC: +/* 80095CAC 0009288C 83 DF 00 2C */ lwz r30, 0x2c(r31) +/* 80095CB0 00092890 38 00 00 00 */ li r0, 0x0 +/* 80095CB4 00092894 2C 1D 00 6C */ cmpwi r29, 0x6c +/* 80095CB8 00092898 90 1E 22 00 */ stw r0, 0x2200(r30) +/* 80095CBC 0009289C 90 1E 22 04 */ stw r0, 0x2204(r30) +/* 80095CC0 000928A0 90 1E 22 10 */ stw r0, 0x2210(r30) +/* 80095CC4 000928A4 C3 E2 8B C8 */ lfs f31, ftCo_804D85A8@sda21(r0) +/* 80095CC8 000928A8 80 9F 00 2C */ lwz r4, 0x2c(r31) +/* 80095CCC 000928AC 41 80 00 10 */ blt .L_80095CDC +/* 80095CD0 000928B0 80 6D AE B4 */ lwz r3, p_ftCommonData@sda21(r0) +/* 80095CD4 000928B4 C0 03 04 00 */ lfs f0, 0x400(r3) +/* 80095CD8 000928B8 EF FF 00 32 */ fmuls f31, f31, f0 +.L_80095CDC: +/* 80095CDC 000928BC 80 64 19 74 */ lwz r3, 0x1974(r4) +/* 80095CE0 000928C0 48 1D 56 55 */ bl it_8026B334 +/* 80095CE4 000928C4 C0 02 8B C8 */ lfs f0, ftCo_804D85A8@sda21(r0) +/* 80095CE8 000928C8 38 7F 00 00 */ addi r3, r31, 0x0 +/* 80095CEC 000928CC 38 9D 00 00 */ addi r4, r29, 0x0 +/* 80095CF0 000928D0 EC 00 08 24 */ fdivs f0, f0, f1 +/* 80095CF4 000928D4 EF FF 00 32 */ fmuls f31, f31, f0 +/* 80095CF8 000928D8 D3 FE 23 44 */ stfs f31, 0x2344(r30) +/* 80095CFC 000928DC 4B FF FA 05 */ bl ftCo_80095700 +/* 80095D00 000928E0 C0 22 8B B0 */ lfs f1, ftCo_804D8590@sda21(r0) +/* 80095D04 000928E4 FC 40 F8 90 */ fmr f2, f31 +/* 80095D08 000928E8 7F E3 FB 78 */ mr r3, r31 +/* 80095D0C 000928EC FC 60 08 90 */ fmr f3, f1 +/* 80095D10 000928F0 38 9D 00 00 */ addi r4, r29, 0x0 +/* 80095D14 000928F4 38 A0 00 00 */ li r5, 0x0 +/* 80095D18 000928F8 38 C0 00 00 */ li r6, 0x0 +/* 80095D1C 000928FC 4B FD 36 91 */ bl Fighter_ChangeMotionState +/* 80095D20 00092900 7F E3 FB 78 */ mr r3, r31 +/* 80095D24 00092904 4B FD 8E 81 */ bl ftAnim_8006EBA4 +/* 80095D28 00092908 3C 60 80 09 */ lis r3, ftCo_80095EFC@ha +/* 80095D2C 0009290C 38 03 5E FC */ addi r0, r3, ftCo_80095EFC@l +/* 80095D30 00092910 90 1E 21 BC */ stw r0, 0x21bc(r30) +/* 80095D34 00092914 7F E3 FB 78 */ mr r3, r31 +/* 80095D38 00092918 48 00 01 C5 */ bl ftCo_80095EFC +/* 80095D3C 0009291C 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80095D40 00092920 CB E1 00 48 */ lfd f31, 0x48(r1) +/* 80095D44 00092924 83 E1 00 44 */ lwz r31, 0x44(r1) +/* 80095D48 00092928 83 C1 00 40 */ lwz r30, 0x40(r1) +/* 80095D4C 0009292C 83 A1 00 3C */ lwz r29, 0x3c(r1) +/* 80095D50 00092930 38 21 00 50 */ addi r1, r1, 0x50 +/* 80095D54 00092934 7C 08 03 A6 */ mtlr r0 +/* 80095D58 00092938 4E 80 00 20 */ blr .endfn ftCo_80095A30 +# .text:0xF08 | 0x80095D5C | size: 0x124 .fn ftCo_80095D5C, global -/* 00000F08 00000F48 7C 08 02 A6 */ mflr r0 -/* 00000F0C 00000F4C 90 01 00 04 */ stw r0, 0x4(r1) -/* 00000F10 00000F50 94 21 FF C8 */ stwu r1, -0x38(r1) -/* 00000F14 00000F54 DB E1 00 30 */ stfd f31, 0x30(r1) -/* 00000F18 00000F58 DB C1 00 28 */ stfd f30, 0x28(r1) -/* 00000F1C 00000F5C 93 E1 00 24 */ stw r31, 0x24(r1) -/* 00000F20 00000F60 3B E4 00 00 */ addi r31, r4, 0x0 -/* 00000F24 00000F64 93 C1 00 20 */ stw r30, 0x20(r1) -/* 00000F28 00000F68 7C 7E 1B 78 */ mr r30, r3 -/* 00000F2C 00000F6C 80 A3 22 00 */ lwz r5, 0x2200(r3) -/* 00000F30 00000F70 38 7E 01 10 */ addi r3, r30, 0x110 -/* 00000F34 00000F74 C3 E0 00 00 */ lfs f31, ftCo_804D85A8@sda21(r0) -/* 00000F38 00000F78 28 05 00 00 */ cmplwi r5, 0x0 -/* 00000F3C 00000F7C 41 82 00 28 */ beq .L_00000F64 -/* 00000F40 00000F80 54 A0 A5 BE */ extrwi r0, r5, 10, 10 -/* 00000F44 00000F84 C8 20 00 00 */ lfd f1, ftCo_804D8598@sda21(r0) -/* 00000F48 00000F88 90 01 00 1C */ stw r0, 0x1c(r1) -/* 00000F4C 00000F8C 3C 00 43 30 */ lis r0, 0x4330 -/* 00000F50 00000F90 C0 40 00 00 */ lfs f2, ftCo_804D85AC@sda21(r0) -/* 00000F54 00000F94 90 01 00 18 */ stw r0, 0x18(r1) -/* 00000F58 00000F98 C8 01 00 18 */ lfd f0, 0x18(r1) -/* 00000F5C 00000F9C EC 00 08 28 */ fsubs f0, f0, f1 -/* 00000F60 00000FA0 EF E2 00 32 */ fmuls f31, f2, f0 -.L_00000F64: -/* 00000F64 00000FA4 80 1E 00 10 */ lwz r0, 0x10(r30) -/* 00000F68 00000FA8 28 05 00 00 */ cmplwi r5, 0x0 -/* 00000F6C 00000FAC 80 80 00 00 */ lwz r4, Fighter_804D6550@sda21(r0) -/* 00000F70 00000FB0 1C 00 00 0C */ mulli r0, r0, 0xc -/* 00000F74 00000FB4 C0 23 00 B0 */ lfs f1, 0xb0(r3) -/* 00000F78 00000FB8 7C 64 02 14 */ add r3, r4, r0 -/* 00000F7C 00000FBC C0 03 FB 98 */ lfs f0, -0x468(r3) -/* 00000F80 00000FC0 EC 01 00 32 */ fmuls f0, f1, f0 -/* 00000F84 00000FC4 EF FF 00 32 */ fmuls f31, f31, f0 -/* 00000F88 00000FC8 41 82 00 50 */ beq .L_00000FD8 -/* 00000F8C 00000FCC A8 1E 22 02 */ lha r0, 0x2202(r30) -/* 00000F90 00000FD0 54 00 A0 18 */ extlwi r0, r0, 13, 20 -/* 00000F94 00000FD4 7C 00 A6 70 */ srawi r0, r0, 20 -/* 00000F98 00000FD8 2C 00 01 69 */ cmpwi r0, 0x169 -/* 00000F9C 00000FDC 40 82 00 0C */ bne .L_00000FA8 -/* 00000FA0 00000FE0 C3 C3 FB 9C */ lfs f30, -0x464(r3) -/* 00000FA4 00000FE4 48 00 00 28 */ b .L_00000FCC -.L_00000FA8: -/* 00000FA8 00000FE8 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 00000FAC 00000FEC C8 20 00 00 */ lfd f1, ftCo_804D85A0@sda21(r0) -/* 00000FB0 00000FF0 90 01 00 1C */ stw r0, 0x1c(r1) -/* 00000FB4 00000FF4 3C 00 43 30 */ lis r0, 0x4330 -/* 00000FB8 00000FF8 C0 40 00 00 */ lfs f2, ftCo_804D85B0@sda21(r0) -/* 00000FBC 00000FFC 90 01 00 18 */ stw r0, 0x18(r1) -/* 00000FC0 00001000 C8 01 00 18 */ lfd f0, 0x18(r1) -/* 00000FC4 00001004 EC 00 08 28 */ fsubs f0, f0, f1 -/* 00000FC8 00001008 EF C2 00 32 */ fmuls f30, f2, f0 -.L_00000FCC: -/* 00000FCC 0000100C 38 00 00 00 */ li r0, 0x0 -/* 00000FD0 00001010 90 1E 22 00 */ stw r0, 0x2200(r30) -/* 00000FD4 00001014 48 00 00 08 */ b .L_00000FDC -.L_00000FD8: -/* 00000FD8 00001018 C3 C3 FB 9C */ lfs f30, -0x464(r3) -.L_00000FDC: -/* 00000FDC 0000101C FC 20 F0 90 */ fmr f1, f30 -/* 00000FE0 00001020 48 00 00 01 */ bl cosf -/* 00000FE4 00001024 EC 5F 00 72 */ fmuls f2, f31, f1 -/* 00000FE8 00001028 C0 1E 23 40 */ lfs f0, 0x2340(r30) -/* 00000FEC 0000102C FC 20 F0 90 */ fmr f1, f30 -/* 00000FF0 00001030 EC 00 00 B2 */ fmuls f0, f0, f2 -/* 00000FF4 00001034 D0 1F 00 00 */ stfs f0, 0x0(r31) -/* 00000FF8 00001038 48 00 00 01 */ bl sinf -/* 00000FFC 0000103C EC 1F 00 72 */ fmuls f0, f31, f1 -/* 00001000 00001040 D0 1F 00 04 */ stfs f0, 0x4(r31) -/* 00001004 00001044 C0 00 00 00 */ lfs f0, ftCo_804D8590@sda21(r0) -/* 00001008 00001048 D0 1F 00 08 */ stfs f0, 0x8(r31) -/* 0000100C 0000104C 80 01 00 3C */ lwz r0, 0x3c(r1) -/* 00001010 00001050 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 00001014 00001054 CB C1 00 28 */ lfd f30, 0x28(r1) -/* 00001018 00001058 83 E1 00 24 */ lwz r31, 0x24(r1) -/* 0000101C 0000105C 83 C1 00 20 */ lwz r30, 0x20(r1) -/* 00001020 00001060 38 21 00 38 */ addi r1, r1, 0x38 -/* 00001024 00001064 7C 08 03 A6 */ mtlr r0 -/* 00001028 00001068 4E 80 00 20 */ blr +/* 80095D5C 0009293C 7C 08 02 A6 */ mflr r0 +/* 80095D60 00092940 90 01 00 04 */ stw r0, 0x4(r1) +/* 80095D64 00092944 94 21 FF C8 */ stwu r1, -0x38(r1) +/* 80095D68 00092948 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 80095D6C 0009294C DB C1 00 28 */ stfd f30, 0x28(r1) +/* 80095D70 00092950 93 E1 00 24 */ stw r31, 0x24(r1) +/* 80095D74 00092954 3B E4 00 00 */ addi r31, r4, 0x0 +/* 80095D78 00092958 93 C1 00 20 */ stw r30, 0x20(r1) +/* 80095D7C 0009295C 7C 7E 1B 78 */ mr r30, r3 +/* 80095D80 00092960 80 A3 22 00 */ lwz r5, 0x2200(r3) +/* 80095D84 00092964 38 7E 01 10 */ addi r3, r30, 0x110 +/* 80095D88 00092968 C3 E2 8B C8 */ lfs f31, ftCo_804D85A8@sda21(r0) +/* 80095D8C 0009296C 28 05 00 00 */ cmplwi r5, 0x0 +/* 80095D90 00092970 41 82 00 28 */ beq .L_80095DB8 +/* 80095D94 00092974 54 A0 A5 BE */ extrwi r0, r5, 10, 10 +/* 80095D98 00092978 C8 22 8B B8 */ lfd f1, ftCo_804D8598@sda21(r0) +/* 80095D9C 0009297C 90 01 00 1C */ stw r0, 0x1c(r1) +/* 80095DA0 00092980 3C 00 43 30 */ lis r0, 0x4330 +/* 80095DA4 00092984 C0 42 8B CC */ lfs f2, ftCo_804D85AC@sda21(r0) +/* 80095DA8 00092988 90 01 00 18 */ stw r0, 0x18(r1) +/* 80095DAC 0009298C C8 01 00 18 */ lfd f0, 0x18(r1) +/* 80095DB0 00092990 EC 00 08 28 */ fsubs f0, f0, f1 +/* 80095DB4 00092994 EF E2 00 32 */ fmuls f31, f2, f0 +.L_80095DB8: +/* 80095DB8 00092998 80 1E 00 10 */ lwz r0, 0x10(r30) +/* 80095DBC 0009299C 28 05 00 00 */ cmplwi r5, 0x0 +/* 80095DC0 000929A0 80 8D AE B0 */ lwz r4, Fighter_804D6550@sda21(r0) +/* 80095DC4 000929A4 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80095DC8 000929A8 C0 23 00 B0 */ lfs f1, 0xb0(r3) +/* 80095DCC 000929AC 7C 64 02 14 */ add r3, r4, r0 +/* 80095DD0 000929B0 C0 03 FB 98 */ lfs f0, -0x468(r3) +/* 80095DD4 000929B4 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80095DD8 000929B8 EF FF 00 32 */ fmuls f31, f31, f0 +/* 80095DDC 000929BC 41 82 00 50 */ beq .L_80095E2C +/* 80095DE0 000929C0 A8 1E 22 02 */ lha r0, 0x2202(r30) +/* 80095DE4 000929C4 54 00 A0 18 */ extlwi r0, r0, 13, 20 +/* 80095DE8 000929C8 7C 00 A6 70 */ srawi r0, r0, 20 +/* 80095DEC 000929CC 2C 00 01 69 */ cmpwi r0, 0x169 +/* 80095DF0 000929D0 40 82 00 0C */ bne .L_80095DFC +/* 80095DF4 000929D4 C3 C3 FB 9C */ lfs f30, -0x464(r3) +/* 80095DF8 000929D8 48 00 00 28 */ b .L_80095E20 +.L_80095DFC: +/* 80095DFC 000929DC 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 80095E00 000929E0 C8 22 8B C0 */ lfd f1, ftCo_804D85A0@sda21(r0) +/* 80095E04 000929E4 90 01 00 1C */ stw r0, 0x1c(r1) +/* 80095E08 000929E8 3C 00 43 30 */ lis r0, 0x4330 +/* 80095E0C 000929EC C0 42 8B D0 */ lfs f2, ftCo_804D85B0@sda21(r0) +/* 80095E10 000929F0 90 01 00 18 */ stw r0, 0x18(r1) +/* 80095E14 000929F4 C8 01 00 18 */ lfd f0, 0x18(r1) +/* 80095E18 000929F8 EC 00 08 28 */ fsubs f0, f0, f1 +/* 80095E1C 000929FC EF C2 00 32 */ fmuls f30, f2, f0 +.L_80095E20: +/* 80095E20 00092A00 38 00 00 00 */ li r0, 0x0 +/* 80095E24 00092A04 90 1E 22 00 */ stw r0, 0x2200(r30) +/* 80095E28 00092A08 48 00 00 08 */ b .L_80095E30 +.L_80095E2C: +/* 80095E2C 00092A0C C3 C3 FB 9C */ lfs f30, -0x464(r3) +.L_80095E30: +/* 80095E30 00092A10 FC 20 F0 90 */ fmr f1, f30 +/* 80095E34 00092A14 48 29 04 0D */ bl cosf +/* 80095E38 00092A18 EC 5F 00 72 */ fmuls f2, f31, f1 +/* 80095E3C 00092A1C C0 1E 23 40 */ lfs f0, 0x2340(r30) +/* 80095E40 00092A20 FC 20 F0 90 */ fmr f1, f30 +/* 80095E44 00092A24 EC 00 00 B2 */ fmuls f0, f0, f2 +/* 80095E48 00092A28 D0 1F 00 00 */ stfs f0, 0x0(r31) +/* 80095E4C 00092A2C 48 29 05 89 */ bl sinf +/* 80095E50 00092A30 EC 1F 00 72 */ fmuls f0, f31, f1 +/* 80095E54 00092A34 D0 1F 00 04 */ stfs f0, 0x4(r31) +/* 80095E58 00092A38 C0 02 8B B0 */ lfs f0, ftCo_804D8590@sda21(r0) +/* 80095E5C 00092A3C D0 1F 00 08 */ stfs f0, 0x8(r31) +/* 80095E60 00092A40 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 80095E64 00092A44 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 80095E68 00092A48 CB C1 00 28 */ lfd f30, 0x28(r1) +/* 80095E6C 00092A4C 83 E1 00 24 */ lwz r31, 0x24(r1) +/* 80095E70 00092A50 83 C1 00 20 */ lwz r30, 0x20(r1) +/* 80095E74 00092A54 38 21 00 38 */ addi r1, r1, 0x38 +/* 80095E78 00092A58 7C 08 03 A6 */ mtlr r0 +/* 80095E7C 00092A5C 4E 80 00 20 */ blr .endfn ftCo_80095D5C +# .text:0x102C | 0x80095E80 | size: 0x7C .fn ftCo_ItemThrow_Anim, global -/* 0000102C 0000106C 7C 08 02 A6 */ mflr r0 -/* 00001030 00001070 90 01 00 04 */ stw r0, 0x4(r1) -/* 00001034 00001074 94 21 FF E8 */ stwu r1, -0x18(r1) -/* 00001038 00001078 93 E1 00 14 */ stw r31, 0x14(r1) -/* 0000103C 0000107C 7C 7F 1B 78 */ mr r31, r3 -/* 00001040 00001080 80 83 00 2C */ lwz r4, 0x2c(r3) -/* 00001044 00001084 88 64 22 10 */ lbz r3, 0x2210(r4) -/* 00001048 00001088 54 60 EF FF */ extrwi. r0, r3, 1, 28 -/* 0000104C 0000108C 41 82 00 18 */ beq .L_00001064 -/* 00001050 00001090 38 00 00 00 */ li r0, 0x0 -/* 00001054 00001094 50 03 1F 38 */ rlwimi r3, r0, 3, 28, 28 -/* 00001058 00001098 98 64 22 10 */ stb r3, 0x2210(r4) -/* 0000105C 0000109C 38 00 00 01 */ li r0, 0x1 -/* 00001060 000010A0 48 00 00 08 */ b .L_00001068 -.L_00001064: -/* 00001064 000010A4 38 00 00 00 */ li r0, 0x0 -.L_00001068: -/* 00001068 000010A8 2C 00 00 00 */ cmpwi r0, 0x0 -/* 0000106C 000010AC 41 82 00 10 */ beq .L_0000107C -/* 00001070 000010B0 C0 04 00 2C */ lfs f0, 0x2c(r4) -/* 00001074 000010B4 FC 00 00 50 */ fneg f0, f0 -/* 00001078 000010B8 D0 04 00 2C */ stfs f0, 0x2c(r4) -.L_0000107C: -/* 0000107C 000010BC 7F E3 FB 78 */ mr r3, r31 -/* 00001080 000010C0 48 00 00 01 */ bl ftAnim_IsFramesRemaining -/* 00001084 000010C4 2C 03 00 00 */ cmpwi r3, 0x0 -/* 00001088 000010C8 40 82 00 0C */ bne .L_00001094 -/* 0000108C 000010CC 7F E3 FB 78 */ mr r3, r31 -/* 00001090 000010D0 48 00 00 01 */ bl ftCommon_8007D92C -.L_00001094: -/* 00001094 000010D4 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 00001098 000010D8 83 E1 00 14 */ lwz r31, 0x14(r1) -/* 0000109C 000010DC 38 21 00 18 */ addi r1, r1, 0x18 -/* 000010A0 000010E0 7C 08 03 A6 */ mtlr r0 -/* 000010A4 000010E4 4E 80 00 20 */ blr +/* 80095E80 00092A60 7C 08 02 A6 */ mflr r0 +/* 80095E84 00092A64 90 01 00 04 */ stw r0, 0x4(r1) +/* 80095E88 00092A68 94 21 FF E8 */ stwu r1, -0x18(r1) +/* 80095E8C 00092A6C 93 E1 00 14 */ stw r31, 0x14(r1) +/* 80095E90 00092A70 7C 7F 1B 78 */ mr r31, r3 +/* 80095E94 00092A74 80 83 00 2C */ lwz r4, 0x2c(r3) +/* 80095E98 00092A78 88 64 22 10 */ lbz r3, 0x2210(r4) +/* 80095E9C 00092A7C 54 60 EF FF */ extrwi. r0, r3, 1, 28 +/* 80095EA0 00092A80 41 82 00 18 */ beq .L_80095EB8 +/* 80095EA4 00092A84 38 00 00 00 */ li r0, 0x0 +/* 80095EA8 00092A88 50 03 1F 38 */ rlwimi r3, r0, 3, 28, 28 +/* 80095EAC 00092A8C 98 64 22 10 */ stb r3, 0x2210(r4) +/* 80095EB0 00092A90 38 00 00 01 */ li r0, 0x1 +/* 80095EB4 00092A94 48 00 00 08 */ b .L_80095EBC +.L_80095EB8: +/* 80095EB8 00092A98 38 00 00 00 */ li r0, 0x0 +.L_80095EBC: +/* 80095EBC 00092A9C 2C 00 00 00 */ cmpwi r0, 0x0 +/* 80095EC0 00092AA0 41 82 00 10 */ beq .L_80095ED0 +/* 80095EC4 00092AA4 C0 04 00 2C */ lfs f0, 0x2c(r4) +/* 80095EC8 00092AA8 FC 00 00 50 */ fneg f0, f0 +/* 80095ECC 00092AAC D0 04 00 2C */ stfs f0, 0x2c(r4) +.L_80095ED0: +/* 80095ED0 00092AB0 7F E3 FB 78 */ mr r3, r31 +/* 80095ED4 00092AB4 4B FD 93 65 */ bl ftAnim_IsFramesRemaining +/* 80095ED8 00092AB8 2C 03 00 00 */ cmpwi r3, 0x0 +/* 80095EDC 00092ABC 40 82 00 0C */ bne .L_80095EE8 +/* 80095EE0 00092AC0 7F E3 FB 78 */ mr r3, r31 +/* 80095EE4 00092AC4 4B FE 7A 49 */ bl ftCommon_8007D92C +.L_80095EE8: +/* 80095EE8 00092AC8 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 80095EEC 00092ACC 83 E1 00 14 */ lwz r31, 0x14(r1) +/* 80095EF0 00092AD0 38 21 00 18 */ addi r1, r1, 0x18 +/* 80095EF4 00092AD4 7C 08 03 A6 */ mtlr r0 +/* 80095EF8 00092AD8 4E 80 00 20 */ blr .endfn ftCo_ItemThrow_Anim +# .text:0x10A8 | 0x80095EFC | size: 0x224 .fn ftCo_80095EFC, global -/* 000010A8 000010E8 7C 08 02 A6 */ mflr r0 -/* 000010AC 000010EC 90 01 00 04 */ stw r0, 0x4(r1) -/* 000010B0 000010F0 94 21 FF A8 */ stwu r1, -0x58(r1) -/* 000010B4 000010F4 DB E1 00 50 */ stfd f31, 0x50(r1) -/* 000010B8 000010F8 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 000010BC 000010FC 80 83 00 2C */ lwz r4, 0x2c(r3) -/* 000010C0 00001100 80 64 19 74 */ lwz r3, 0x1974(r4) -/* 000010C4 00001104 3B E4 00 00 */ addi r31, r4, 0x0 -/* 000010C8 00001108 28 03 00 00 */ cmplwi r3, 0x0 -/* 000010CC 0000110C 41 82 01 E8 */ beq .L_000012B4 -/* 000010D0 00001110 48 00 00 01 */ bl it_80272C90 -/* 000010D4 00001114 38 A1 00 30 */ addi r5, r1, 0x30 -/* 000010D8 00001118 38 80 00 00 */ li r4, 0x0 -/* 000010DC 0000111C 48 00 00 01 */ bl lb_8000B1CC -/* 000010E0 00001120 88 7F 22 10 */ lbz r3, 0x2210(r31) -/* 000010E4 00001124 54 60 E7 FF */ extrwi. r0, r3, 1, 27 -/* 000010E8 00001128 41 82 00 18 */ beq .L_00001100 -/* 000010EC 0000112C 38 00 00 00 */ li r0, 0x0 -/* 000010F0 00001130 50 03 26 F6 */ rlwimi r3, r0, 4, 27, 27 -/* 000010F4 00001134 98 7F 22 10 */ stb r3, 0x2210(r31) -/* 000010F8 00001138 38 00 00 01 */ li r0, 0x1 -/* 000010FC 0000113C 48 00 00 08 */ b .L_00001104 -.L_00001100: -/* 00001100 00001140 38 00 00 00 */ li r0, 0x0 -.L_00001104: -/* 00001104 00001144 2C 00 00 00 */ cmpwi r0, 0x0 -/* 00001108 00001148 41 82 01 94 */ beq .L_0000129C -/* 0000110C 0000114C 38 7F 00 00 */ addi r3, r31, 0x0 -/* 00001110 00001150 38 81 00 24 */ addi r4, r1, 0x24 -/* 00001114 00001154 48 00 00 01 */ bl ftCo_80095D5C -/* 00001118 00001158 80 1F 22 04 */ lwz r0, 0x2204(r31) -/* 0000111C 0000115C 38 9F 01 10 */ addi r4, r31, 0x110 -/* 00001120 00001160 C0 80 00 00 */ lfs f4, ftCo_804D85A8@sda21(r0) -/* 00001124 00001164 28 00 00 00 */ cmplwi r0, 0x0 -/* 00001128 00001168 41 82 00 30 */ beq .L_00001158 -/* 0000112C 0000116C 54 00 02 BE */ clrlwi r0, r0, 10 -/* 00001130 00001170 C8 20 00 00 */ lfd f1, ftCo_804D8598@sda21(r0) -/* 00001134 00001174 90 01 00 44 */ stw r0, 0x44(r1) -/* 00001138 00001178 3C 60 43 30 */ lis r3, 0x4330 -/* 0000113C 0000117C C0 40 00 00 */ lfs f2, ftCo_804D85AC@sda21(r0) -/* 00001140 00001180 38 00 00 00 */ li r0, 0x0 -/* 00001144 00001184 90 61 00 40 */ stw r3, 0x40(r1) -/* 00001148 00001188 C8 01 00 40 */ lfd f0, 0x40(r1) -/* 0000114C 0000118C 90 1F 22 04 */ stw r0, 0x2204(r31) -/* 00001150 00001190 EC 00 08 28 */ fsubs f0, f0, f1 -/* 00001154 00001194 EC 82 00 32 */ fmuls f4, f2, f0 -.L_00001158: -/* 00001158 00001198 C0 1F 22 14 */ lfs f0, 0x2214(r31) -/* 0000115C 0000119C 80 1F 00 10 */ lwz r0, 0x10(r31) -/* 00001160 000011A0 FC 40 00 50 */ fneg f2, f0 -/* 00001164 000011A4 C0 3F 08 9C */ lfs f1, 0x89c(r31) -/* 00001168 000011A8 C0 A1 00 30 */ lfs f5, 0x30(r1) -/* 0000116C 000011AC 1C 00 00 0C */ mulli r0, r0, 0xc -/* 00001170 000011B0 C0 1F 23 48 */ lfs f0, 0x2348(r31) -/* 00001174 000011B4 EC E2 08 24 */ fdivs f7, f2, f1 -/* 00001178 000011B8 80 60 00 00 */ lwz r3, Fighter_804D6550@sda21(r0) -/* 0000117C 000011BC C0 64 00 B4 */ lfs f3, 0xb4(r4) -/* 00001180 000011C0 7C 63 02 14 */ add r3, r3, r0 -/* 00001184 000011C4 C0 C1 00 34 */ lfs f6, 0x34(r1) -/* 00001188 000011C8 EC 20 28 28 */ fsubs f1, f0, f5 -/* 0000118C 000011CC C0 43 FB A0 */ lfs f2, -0x460(r3) -/* 00001190 000011D0 C0 00 00 00 */ lfs f0, ftCo_804D8590@sda21(r0) -/* 00001194 000011D4 EC 43 00 B2 */ fmuls f2, f3, f2 -/* 00001198 000011D8 EC 27 28 7A */ fmadds f1, f7, f1, f5 -/* 0000119C 000011DC EC 84 00 B2 */ fmuls f4, f4, f2 -/* 000011A0 000011E0 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 000011A4 000011E4 C0 3F 23 4C */ lfs f1, 0x234c(r31) -/* 000011A8 000011E8 FF E0 20 90 */ fmr f31, f4 -/* 000011AC 000011EC EC 21 30 28 */ fsubs f1, f1, f6 -/* 000011B0 000011F0 EC 27 30 7A */ fmadds f1, f7, f1, f6 -/* 000011B4 000011F4 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 000011B8 000011F8 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 000011BC 000011FC 88 9F 22 1F */ lbz r4, 0x221f(r31) -/* 000011C0 00001200 88 7F 00 0C */ lbz r3, 0xc(r31) -/* 000011C4 00001204 80 BF 19 74 */ lwz r5, 0x1974(r31) -/* 000011C8 00001208 54 84 EF FE */ extrwi r4, r4, 1, 28 -/* 000011CC 0000120C 48 00 00 01 */ bl pl_8003E978 -/* 000011D0 00001210 80 1F 00 10 */ lwz r0, 0x10(r31) -/* 000011D4 00001214 2C 00 00 63 */ cmpwi r0, 0x63 -/* 000011D8 00001218 40 82 00 1C */ bne .L_000011F4 -/* 000011DC 0000121C FC 20 F8 90 */ fmr f1, f31 -/* 000011E0 00001220 80 7F 19 74 */ lwz r3, 0x1974(r31) -/* 000011E4 00001224 38 81 00 18 */ addi r4, r1, 0x18 -/* 000011E8 00001228 38 A1 00 24 */ addi r5, r1, 0x24 -/* 000011EC 0000122C 48 00 00 01 */ bl Item_8026AC74 -/* 000011F0 00001230 48 00 00 C4 */ b .L_000012B4 -.L_000011F4: -/* 000011F4 00001234 2C 00 00 6C */ cmpwi r0, 0x6c -/* 000011F8 00001238 41 80 00 54 */ blt .L_0000124C -/* 000011FC 0000123C 80 7F 19 74 */ lwz r3, 0x1974(r31) -/* 00001200 00001240 48 00 00 01 */ bl it_8026B2B4 -/* 00001204 00001244 2C 03 00 01 */ cmpwi r3, 0x1 -/* 00001208 00001248 40 82 00 18 */ bne .L_00001220 -/* 0000120C 0000124C 38 7F 00 00 */ addi r3, r31, 0x0 -/* 00001210 00001250 38 80 00 1D */ li r4, 0x1d -/* 00001214 00001254 38 A0 00 00 */ li r5, 0x0 -/* 00001218 00001258 48 00 00 01 */ bl ftCommon_8007EBAC -/* 0000121C 0000125C 48 00 00 14 */ b .L_00001230 -.L_00001220: -/* 00001220 00001260 38 7F 00 00 */ addi r3, r31, 0x0 -/* 00001224 00001264 38 80 00 1B */ li r4, 0x1b -/* 00001228 00001268 38 A0 00 00 */ li r5, 0x0 -/* 0000122C 0000126C 48 00 00 01 */ bl ftCommon_8007EBAC -.L_00001230: -/* 00001230 00001270 FC 20 F8 90 */ fmr f1, f31 -/* 00001234 00001274 80 7F 19 74 */ lwz r3, 0x1974(r31) -/* 00001238 00001278 38 81 00 18 */ addi r4, r1, 0x18 -/* 0000123C 0000127C 38 A1 00 24 */ addi r5, r1, 0x24 -/* 00001240 00001280 38 C0 00 01 */ li r6, 0x1 -/* 00001244 00001284 48 00 00 01 */ bl Item_8026AD20 -/* 00001248 00001288 48 00 00 6C */ b .L_000012B4 -.L_0000124C: -/* 0000124C 0000128C 80 7F 19 74 */ lwz r3, 0x1974(r31) -/* 00001250 00001290 48 00 00 01 */ bl it_8026B2B4 -/* 00001254 00001294 2C 03 00 01 */ cmpwi r3, 0x1 -/* 00001258 00001298 40 82 00 18 */ bne .L_00001270 -/* 0000125C 0000129C 38 7F 00 00 */ addi r3, r31, 0x0 -/* 00001260 000012A0 38 80 00 1C */ li r4, 0x1c -/* 00001264 000012A4 38 A0 00 00 */ li r5, 0x0 -/* 00001268 000012A8 48 00 00 01 */ bl ftCommon_8007EBAC -/* 0000126C 000012AC 48 00 00 14 */ b .L_00001280 -.L_00001270: -/* 00001270 000012B0 38 7F 00 00 */ addi r3, r31, 0x0 -/* 00001274 000012B4 38 80 00 1A */ li r4, 0x1a -/* 00001278 000012B8 38 A0 00 00 */ li r5, 0x0 -/* 0000127C 000012BC 48 00 00 01 */ bl ftCommon_8007EBAC -.L_00001280: -/* 00001280 000012C0 FC 20 F8 90 */ fmr f1, f31 -/* 00001284 000012C4 80 7F 19 74 */ lwz r3, 0x1974(r31) -/* 00001288 000012C8 38 81 00 18 */ addi r4, r1, 0x18 -/* 0000128C 000012CC 38 A1 00 24 */ addi r5, r1, 0x24 -/* 00001290 000012D0 38 C0 00 00 */ li r6, 0x0 -/* 00001294 000012D4 48 00 00 01 */ bl Item_8026AD20 -/* 00001298 000012D8 48 00 00 1C */ b .L_000012B4 -.L_0000129C: -/* 0000129C 000012DC 80 61 00 30 */ lwz r3, 0x30(r1) -/* 000012A0 000012E0 80 01 00 34 */ lwz r0, 0x34(r1) -/* 000012A4 000012E4 90 7F 23 48 */ stw r3, 0x2348(r31) -/* 000012A8 000012E8 90 1F 23 4C */ stw r0, 0x234c(r31) -/* 000012AC 000012EC 80 01 00 38 */ lwz r0, 0x38(r1) -/* 000012B0 000012F0 90 1F 23 50 */ stw r0, 0x2350(r31) -.L_000012B4: -/* 000012B4 000012F4 80 01 00 5C */ lwz r0, 0x5c(r1) -/* 000012B8 000012F8 CB E1 00 50 */ lfd f31, 0x50(r1) -/* 000012BC 000012FC 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 000012C0 00001300 38 21 00 58 */ addi r1, r1, 0x58 -/* 000012C4 00001304 7C 08 03 A6 */ mtlr r0 -/* 000012C8 00001308 4E 80 00 20 */ blr +/* 80095EFC 00092ADC 7C 08 02 A6 */ mflr r0 +/* 80095F00 00092AE0 90 01 00 04 */ stw r0, 0x4(r1) +/* 80095F04 00092AE4 94 21 FF A8 */ stwu r1, -0x58(r1) +/* 80095F08 00092AE8 DB E1 00 50 */ stfd f31, 0x50(r1) +/* 80095F0C 00092AEC 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 80095F10 00092AF0 80 83 00 2C */ lwz r4, 0x2c(r3) +/* 80095F14 00092AF4 80 64 19 74 */ lwz r3, 0x1974(r4) +/* 80095F18 00092AF8 3B E4 00 00 */ addi r31, r4, 0x0 +/* 80095F1C 00092AFC 28 03 00 00 */ cmplwi r3, 0x0 +/* 80095F20 00092B00 41 82 01 E8 */ beq .L_80096108 +/* 80095F24 00092B04 48 1D CD 6D */ bl it_80272C90 +/* 80095F28 00092B08 38 A1 00 30 */ addi r5, r1, 0x30 +/* 80095F2C 00092B0C 38 80 00 00 */ li r4, 0x0 +/* 80095F30 00092B10 4B F7 52 9D */ bl lb_8000B1CC +/* 80095F34 00092B14 88 7F 22 10 */ lbz r3, 0x2210(r31) +/* 80095F38 00092B18 54 60 E7 FF */ extrwi. r0, r3, 1, 27 +/* 80095F3C 00092B1C 41 82 00 18 */ beq .L_80095F54 +/* 80095F40 00092B20 38 00 00 00 */ li r0, 0x0 +/* 80095F44 00092B24 50 03 26 F6 */ rlwimi r3, r0, 4, 27, 27 +/* 80095F48 00092B28 98 7F 22 10 */ stb r3, 0x2210(r31) +/* 80095F4C 00092B2C 38 00 00 01 */ li r0, 0x1 +/* 80095F50 00092B30 48 00 00 08 */ b .L_80095F58 +.L_80095F54: +/* 80095F54 00092B34 38 00 00 00 */ li r0, 0x0 +.L_80095F58: +/* 80095F58 00092B38 2C 00 00 00 */ cmpwi r0, 0x0 +/* 80095F5C 00092B3C 41 82 01 94 */ beq .L_800960F0 +/* 80095F60 00092B40 38 7F 00 00 */ addi r3, r31, 0x0 +/* 80095F64 00092B44 38 81 00 24 */ addi r4, r1, 0x24 +/* 80095F68 00092B48 4B FF FD F5 */ bl ftCo_80095D5C +/* 80095F6C 00092B4C 80 1F 22 04 */ lwz r0, 0x2204(r31) +/* 80095F70 00092B50 38 9F 01 10 */ addi r4, r31, 0x110 +/* 80095F74 00092B54 C0 82 8B C8 */ lfs f4, ftCo_804D85A8@sda21(r0) +/* 80095F78 00092B58 28 00 00 00 */ cmplwi r0, 0x0 +/* 80095F7C 00092B5C 41 82 00 30 */ beq .L_80095FAC +/* 80095F80 00092B60 54 00 02 BE */ clrlwi r0, r0, 10 +/* 80095F84 00092B64 C8 22 8B B8 */ lfd f1, ftCo_804D8598@sda21(r0) +/* 80095F88 00092B68 90 01 00 44 */ stw r0, 0x44(r1) +/* 80095F8C 00092B6C 3C 60 43 30 */ lis r3, 0x4330 +/* 80095F90 00092B70 C0 42 8B CC */ lfs f2, ftCo_804D85AC@sda21(r0) +/* 80095F94 00092B74 38 00 00 00 */ li r0, 0x0 +/* 80095F98 00092B78 90 61 00 40 */ stw r3, 0x40(r1) +/* 80095F9C 00092B7C C8 01 00 40 */ lfd f0, 0x40(r1) +/* 80095FA0 00092B80 90 1F 22 04 */ stw r0, 0x2204(r31) +/* 80095FA4 00092B84 EC 00 08 28 */ fsubs f0, f0, f1 +/* 80095FA8 00092B88 EC 82 00 32 */ fmuls f4, f2, f0 +.L_80095FAC: +/* 80095FAC 00092B8C C0 1F 22 14 */ lfs f0, 0x2214(r31) +/* 80095FB0 00092B90 80 1F 00 10 */ lwz r0, 0x10(r31) +/* 80095FB4 00092B94 FC 40 00 50 */ fneg f2, f0 +/* 80095FB8 00092B98 C0 3F 08 9C */ lfs f1, 0x89c(r31) +/* 80095FBC 00092B9C C0 A1 00 30 */ lfs f5, 0x30(r1) +/* 80095FC0 00092BA0 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80095FC4 00092BA4 C0 1F 23 48 */ lfs f0, 0x2348(r31) +/* 80095FC8 00092BA8 EC E2 08 24 */ fdivs f7, f2, f1 +/* 80095FCC 00092BAC 80 6D AE B0 */ lwz r3, Fighter_804D6550@sda21(r0) +/* 80095FD0 00092BB0 C0 64 00 B4 */ lfs f3, 0xb4(r4) +/* 80095FD4 00092BB4 7C 63 02 14 */ add r3, r3, r0 +/* 80095FD8 00092BB8 C0 C1 00 34 */ lfs f6, 0x34(r1) +/* 80095FDC 00092BBC EC 20 28 28 */ fsubs f1, f0, f5 +/* 80095FE0 00092BC0 C0 43 FB A0 */ lfs f2, -0x460(r3) +/* 80095FE4 00092BC4 C0 02 8B B0 */ lfs f0, ftCo_804D8590@sda21(r0) +/* 80095FE8 00092BC8 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 80095FEC 00092BCC EC 27 28 7A */ fmadds f1, f7, f1, f5 +/* 80095FF0 00092BD0 EC 84 00 B2 */ fmuls f4, f4, f2 +/* 80095FF4 00092BD4 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 80095FF8 00092BD8 C0 3F 23 4C */ lfs f1, 0x234c(r31) +/* 80095FFC 00092BDC FF E0 20 90 */ fmr f31, f4 +/* 80096000 00092BE0 EC 21 30 28 */ fsubs f1, f1, f6 +/* 80096004 00092BE4 EC 27 30 7A */ fmadds f1, f7, f1, f6 +/* 80096008 00092BE8 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 8009600C 00092BEC D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80096010 00092BF0 88 9F 22 1F */ lbz r4, 0x221f(r31) +/* 80096014 00092BF4 88 7F 00 0C */ lbz r3, 0xc(r31) +/* 80096018 00092BF8 80 BF 19 74 */ lwz r5, 0x1974(r31) +/* 8009601C 00092BFC 54 84 EF FE */ extrwi r4, r4, 1, 28 +/* 80096020 00092C00 4B FA 89 59 */ bl pl_8003E978 +/* 80096024 00092C04 80 1F 00 10 */ lwz r0, 0x10(r31) +/* 80096028 00092C08 2C 00 00 63 */ cmpwi r0, 0x63 +/* 8009602C 00092C0C 40 82 00 1C */ bne .L_80096048 +/* 80096030 00092C10 FC 20 F8 90 */ fmr f1, f31 +/* 80096034 00092C14 80 7F 19 74 */ lwz r3, 0x1974(r31) +/* 80096038 00092C18 38 81 00 18 */ addi r4, r1, 0x18 +/* 8009603C 00092C1C 38 A1 00 24 */ addi r5, r1, 0x24 +/* 80096040 00092C20 48 1D 4C 35 */ bl Item_8026AC74 +/* 80096044 00092C24 48 00 00 C4 */ b .L_80096108 +.L_80096048: +/* 80096048 00092C28 2C 00 00 6C */ cmpwi r0, 0x6c +/* 8009604C 00092C2C 41 80 00 54 */ blt .L_800960A0 +/* 80096050 00092C30 80 7F 19 74 */ lwz r3, 0x1974(r31) +/* 80096054 00092C34 48 1D 52 61 */ bl it_8026B2B4 +/* 80096058 00092C38 2C 03 00 01 */ cmpwi r3, 0x1 +/* 8009605C 00092C3C 40 82 00 18 */ bne .L_80096074 +/* 80096060 00092C40 38 7F 00 00 */ addi r3, r31, 0x0 +/* 80096064 00092C44 38 80 00 1D */ li r4, 0x1d +/* 80096068 00092C48 38 A0 00 00 */ li r5, 0x0 +/* 8009606C 00092C4C 4B FE 8B 41 */ bl ftCommon_8007EBAC +/* 80096070 00092C50 48 00 00 14 */ b .L_80096084 +.L_80096074: +/* 80096074 00092C54 38 7F 00 00 */ addi r3, r31, 0x0 +/* 80096078 00092C58 38 80 00 1B */ li r4, 0x1b +/* 8009607C 00092C5C 38 A0 00 00 */ li r5, 0x0 +/* 80096080 00092C60 4B FE 8B 2D */ bl ftCommon_8007EBAC +.L_80096084: +/* 80096084 00092C64 FC 20 F8 90 */ fmr f1, f31 +/* 80096088 00092C68 80 7F 19 74 */ lwz r3, 0x1974(r31) +/* 8009608C 00092C6C 38 81 00 18 */ addi r4, r1, 0x18 +/* 80096090 00092C70 38 A1 00 24 */ addi r5, r1, 0x24 +/* 80096094 00092C74 38 C0 00 01 */ li r6, 0x1 +/* 80096098 00092C78 48 1D 4C 89 */ bl Item_8026AD20 +/* 8009609C 00092C7C 48 00 00 6C */ b .L_80096108 +.L_800960A0: +/* 800960A0 00092C80 80 7F 19 74 */ lwz r3, 0x1974(r31) +/* 800960A4 00092C84 48 1D 52 11 */ bl it_8026B2B4 +/* 800960A8 00092C88 2C 03 00 01 */ cmpwi r3, 0x1 +/* 800960AC 00092C8C 40 82 00 18 */ bne .L_800960C4 +/* 800960B0 00092C90 38 7F 00 00 */ addi r3, r31, 0x0 +/* 800960B4 00092C94 38 80 00 1C */ li r4, 0x1c +/* 800960B8 00092C98 38 A0 00 00 */ li r5, 0x0 +/* 800960BC 00092C9C 4B FE 8A F1 */ bl ftCommon_8007EBAC +/* 800960C0 00092CA0 48 00 00 14 */ b .L_800960D4 +.L_800960C4: +/* 800960C4 00092CA4 38 7F 00 00 */ addi r3, r31, 0x0 +/* 800960C8 00092CA8 38 80 00 1A */ li r4, 0x1a +/* 800960CC 00092CAC 38 A0 00 00 */ li r5, 0x0 +/* 800960D0 00092CB0 4B FE 8A DD */ bl ftCommon_8007EBAC +.L_800960D4: +/* 800960D4 00092CB4 FC 20 F8 90 */ fmr f1, f31 +/* 800960D8 00092CB8 80 7F 19 74 */ lwz r3, 0x1974(r31) +/* 800960DC 00092CBC 38 81 00 18 */ addi r4, r1, 0x18 +/* 800960E0 00092CC0 38 A1 00 24 */ addi r5, r1, 0x24 +/* 800960E4 00092CC4 38 C0 00 00 */ li r6, 0x0 +/* 800960E8 00092CC8 48 1D 4C 39 */ bl Item_8026AD20 +/* 800960EC 00092CCC 48 00 00 1C */ b .L_80096108 +.L_800960F0: +/* 800960F0 00092CD0 80 61 00 30 */ lwz r3, 0x30(r1) +/* 800960F4 00092CD4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800960F8 00092CD8 90 7F 23 48 */ stw r3, 0x2348(r31) +/* 800960FC 00092CDC 90 1F 23 4C */ stw r0, 0x234c(r31) +/* 80096100 00092CE0 80 01 00 38 */ lwz r0, 0x38(r1) +/* 80096104 00092CE4 90 1F 23 50 */ stw r0, 0x2350(r31) +.L_80096108: +/* 80096108 00092CE8 80 01 00 5C */ lwz r0, 0x5c(r1) +/* 8009610C 00092CEC CB E1 00 50 */ lfd f31, 0x50(r1) +/* 80096110 00092CF0 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 80096114 00092CF4 38 21 00 58 */ addi r1, r1, 0x58 +/* 80096118 00092CF8 7C 08 03 A6 */ mtlr r0 +/* 8009611C 00092CFC 4E 80 00 20 */ blr .endfn ftCo_80095EFC +# .text:0x12CC | 0x80096120 | size: 0x4 .fn ftCo_ItemThrow_IASA, global -/* 000012CC 0000130C 4E 80 00 20 */ blr +/* 80096120 00092D00 4E 80 00 20 */ blr .endfn ftCo_ItemThrow_IASA +# .text:0x12D0 | 0x80096124 | size: 0x20 .fn ftCo_ItemThrow_Phys, global -/* 000012D0 00001310 7C 08 02 A6 */ mflr r0 -/* 000012D4 00001314 90 01 00 04 */ stw r0, 0x4(r1) -/* 000012D8 00001318 94 21 FF F8 */ stwu r1, -0x8(r1) -/* 000012DC 0000131C 48 00 00 01 */ bl ft_80084F3C -/* 000012E0 00001320 80 01 00 0C */ lwz r0, 0xc(r1) -/* 000012E4 00001324 38 21 00 08 */ addi r1, r1, 0x8 -/* 000012E8 00001328 7C 08 03 A6 */ mtlr r0 -/* 000012EC 0000132C 4E 80 00 20 */ blr +/* 80096124 00092D04 7C 08 02 A6 */ mflr r0 +/* 80096128 00092D08 90 01 00 04 */ stw r0, 0x4(r1) +/* 8009612C 00092D0C 94 21 FF F8 */ stwu r1, -0x8(r1) +/* 80096130 00092D10 4B FE EE 0D */ bl ft_80084F3C +/* 80096134 00092D14 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80096138 00092D18 38 21 00 08 */ addi r1, r1, 0x8 +/* 8009613C 00092D1C 7C 08 03 A6 */ mtlr r0 +/* 80096140 00092D20 4E 80 00 20 */ blr .endfn ftCo_ItemThrow_Phys +# .text:0x12F0 | 0x80096144 | size: 0x6C .fn ftCo_LightThrowDash_Phys, global -/* 000012F0 00001330 7C 08 02 A6 */ mflr r0 -/* 000012F4 00001334 90 01 00 04 */ stw r0, 0x4(r1) -/* 000012F8 00001338 94 21 FF F8 */ stwu r1, -0x8(r1) -/* 000012FC 0000133C 80 C0 00 00 */ lwz r6, p_ftCommonData@sda21(r0) -/* 00001300 00001340 80 A3 00 2C */ lwz r5, 0x2c(r3) -/* 00001304 00001344 C0 06 04 08 */ lfs f0, 0x408(r6) -/* 00001308 00001348 C0 25 08 94 */ lfs f1, 0x894(r5) -/* 0000130C 0000134C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 00001310 00001350 4C 40 13 82 */ cror eq, lt, eq -/* 00001314 00001354 40 82 00 24 */ bne .L_00001338 -/* 00001318 00001358 C0 26 04 04 */ lfs f1, 0x404(r6) -/* 0000131C 0000135C C0 05 01 28 */ lfs f0, 0x128(r5) -/* 00001320 00001360 C0 66 04 0C */ lfs f3, 0x40c(r6) -/* 00001324 00001364 EC 01 00 32 */ fmuls f0, f1, f0 -/* 00001328 00001368 C0 45 00 2C */ lfs f2, 0x2c(r5) -/* 0000132C 0000136C EC 23 00 32 */ fmuls f1, f3, f0 -/* 00001330 00001370 48 00 00 01 */ bl ft_80085030 -/* 00001334 00001374 48 00 00 18 */ b .L_0000134C -.L_00001338: -/* 00001338 00001378 C0 26 04 04 */ lfs f1, 0x404(r6) -/* 0000133C 0000137C C0 05 01 28 */ lfs f0, 0x128(r5) -/* 00001340 00001380 C0 45 00 2C */ lfs f2, 0x2c(r5) -/* 00001344 00001384 EC 21 00 32 */ fmuls f1, f1, f0 -/* 00001348 00001388 48 00 00 01 */ bl ft_80085030 -.L_0000134C: -/* 0000134C 0000138C 80 01 00 0C */ lwz r0, 0xc(r1) -/* 00001350 00001390 38 21 00 08 */ addi r1, r1, 0x8 -/* 00001354 00001394 7C 08 03 A6 */ mtlr r0 -/* 00001358 00001398 4E 80 00 20 */ blr +/* 80096144 00092D24 7C 08 02 A6 */ mflr r0 +/* 80096148 00092D28 90 01 00 04 */ stw r0, 0x4(r1) +/* 8009614C 00092D2C 94 21 FF F8 */ stwu r1, -0x8(r1) +/* 80096150 00092D30 80 CD AE B4 */ lwz r6, p_ftCommonData@sda21(r0) +/* 80096154 00092D34 80 A3 00 2C */ lwz r5, 0x2c(r3) +/* 80096158 00092D38 C0 06 04 08 */ lfs f0, 0x408(r6) +/* 8009615C 00092D3C C0 25 08 94 */ lfs f1, 0x894(r5) +/* 80096160 00092D40 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80096164 00092D44 4C 40 13 82 */ cror eq, lt, eq +/* 80096168 00092D48 40 82 00 24 */ bne .L_8009618C +/* 8009616C 00092D4C C0 26 04 04 */ lfs f1, 0x404(r6) +/* 80096170 00092D50 C0 05 01 28 */ lfs f0, 0x128(r5) +/* 80096174 00092D54 C0 66 04 0C */ lfs f3, 0x40c(r6) +/* 80096178 00092D58 EC 01 00 32 */ fmuls f0, f1, f0 +/* 8009617C 00092D5C C0 45 00 2C */ lfs f2, 0x2c(r5) +/* 80096180 00092D60 EC 23 00 32 */ fmuls f1, f3, f0 +/* 80096184 00092D64 4B FE EE AD */ bl ft_80085030 +/* 80096188 00092D68 48 00 00 18 */ b .L_800961A0 +.L_8009618C: +/* 8009618C 00092D6C C0 26 04 04 */ lfs f1, 0x404(r6) +/* 80096190 00092D70 C0 05 01 28 */ lfs f0, 0x128(r5) +/* 80096194 00092D74 C0 45 00 2C */ lfs f2, 0x2c(r5) +/* 80096198 00092D78 EC 21 00 32 */ fmuls f1, f1, f0 +/* 8009619C 00092D7C 4B FE EE 95 */ bl ft_80085030 +.L_800961A0: +/* 800961A0 00092D80 80 01 00 0C */ lwz r0, 0xc(r1) +/* 800961A4 00092D84 38 21 00 08 */ addi r1, r1, 0x8 +/* 800961A8 00092D88 7C 08 03 A6 */ mtlr r0 +/* 800961AC 00092D8C 4E 80 00 20 */ blr .endfn ftCo_LightThrowDash_Phys +# .text:0x135C | 0x800961B0 | size: 0x20 .fn ftCo_LightThrowAir_Phys, global -/* 0000135C 0000139C 7C 08 02 A6 */ mflr r0 -/* 00001360 000013A0 90 01 00 04 */ stw r0, 0x4(r1) -/* 00001364 000013A4 94 21 FF F8 */ stwu r1, -0x8(r1) -/* 00001368 000013A8 48 00 00 01 */ bl ft_80084DB0 -/* 0000136C 000013AC 80 01 00 0C */ lwz r0, 0xc(r1) -/* 00001370 000013B0 38 21 00 08 */ addi r1, r1, 0x8 -/* 00001374 000013B4 7C 08 03 A6 */ mtlr r0 -/* 00001378 000013B8 4E 80 00 20 */ blr +/* 800961B0 00092D90 7C 08 02 A6 */ mflr r0 +/* 800961B4 00092D94 90 01 00 04 */ stw r0, 0x4(r1) +/* 800961B8 00092D98 94 21 FF F8 */ stwu r1, -0x8(r1) +/* 800961BC 00092D9C 4B FE EB F5 */ bl ft_80084DB0 +/* 800961C0 00092DA0 80 01 00 0C */ lwz r0, 0xc(r1) +/* 800961C4 00092DA4 38 21 00 08 */ addi r1, r1, 0x8 +/* 800961C8 00092DA8 7C 08 03 A6 */ mtlr r0 +/* 800961CC 00092DAC 4E 80 00 20 */ blr .endfn ftCo_LightThrowAir_Phys +# .text:0x137C | 0x800961D0 | size: 0x38 .fn ftCo_800961D0, global -/* 0000137C 000013BC 7C 08 02 A6 */ mflr r0 -/* 00001380 000013C0 90 01 00 04 */ stw r0, 0x4(r1) -/* 00001384 000013C4 94 21 FF F8 */ stwu r1, -0x8(r1) -/* 00001388 000013C8 80 83 00 2C */ lwz r4, 0x2c(r3) -/* 0000138C 000013CC 80 04 00 E0 */ lwz r0, 0xe0(r4) -/* 00001390 000013D0 2C 00 00 01 */ cmpwi r0, 0x1 -/* 00001394 000013D4 40 82 00 0C */ bne .L_000013A0 -/* 00001398 000013D8 48 00 00 01 */ bl ft_80084DB0 -/* 0000139C 000013DC 48 00 00 08 */ b .L_000013A4 -.L_000013A0: -/* 000013A0 000013E0 48 00 00 01 */ bl ft_80084F3C -.L_000013A4: -/* 000013A4 000013E4 80 01 00 0C */ lwz r0, 0xc(r1) -/* 000013A8 000013E8 38 21 00 08 */ addi r1, r1, 0x8 -/* 000013AC 000013EC 7C 08 03 A6 */ mtlr r0 -/* 000013B0 000013F0 4E 80 00 20 */ blr +/* 800961D0 00092DB0 7C 08 02 A6 */ mflr r0 +/* 800961D4 00092DB4 90 01 00 04 */ stw r0, 0x4(r1) +/* 800961D8 00092DB8 94 21 FF F8 */ stwu r1, -0x8(r1) +/* 800961DC 00092DBC 80 83 00 2C */ lwz r4, 0x2c(r3) +/* 800961E0 00092DC0 80 04 00 E0 */ lwz r0, 0xe0(r4) +/* 800961E4 00092DC4 2C 00 00 01 */ cmpwi r0, 0x1 +/* 800961E8 00092DC8 40 82 00 0C */ bne .L_800961F4 +/* 800961EC 00092DCC 4B FE EB C5 */ bl ft_80084DB0 +/* 800961F0 00092DD0 48 00 00 08 */ b .L_800961F8 +.L_800961F4: +/* 800961F4 00092DD4 4B FE ED 49 */ bl ft_80084F3C +.L_800961F8: +/* 800961F8 00092DD8 80 01 00 0C */ lwz r0, 0xc(r1) +/* 800961FC 00092DDC 38 21 00 08 */ addi r1, r1, 0x8 +/* 80096200 00092DE0 7C 08 03 A6 */ mtlr r0 +/* 80096204 00092DE4 4E 80 00 20 */ blr .endfn ftCo_800961D0 +# .text:0x13B4 | 0x80096208 | size: 0x20 .fn ftCo_LightThrowDashDrop_Coll, global -/* 000013B4 000013F4 7C 08 02 A6 */ mflr r0 -/* 000013B8 000013F8 90 01 00 04 */ stw r0, 0x4(r1) -/* 000013BC 000013FC 94 21 FF F8 */ stwu r1, -0x8(r1) -/* 000013C0 00001400 48 00 00 01 */ bl ft_80084104 -/* 000013C4 00001404 80 01 00 0C */ lwz r0, 0xc(r1) -/* 000013C8 00001408 38 21 00 08 */ addi r1, r1, 0x8 -/* 000013CC 0000140C 7C 08 03 A6 */ mtlr r0 -/* 000013D0 00001410 4E 80 00 20 */ blr +/* 80096208 00092DE8 7C 08 02 A6 */ mflr r0 +/* 8009620C 00092DEC 90 01 00 04 */ stw r0, 0x4(r1) +/* 80096210 00092DF0 94 21 FF F8 */ stwu r1, -0x8(r1) +/* 80096214 00092DF4 4B FE DE F1 */ bl ft_80084104 +/* 80096218 00092DF8 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8009621C 00092DFC 38 21 00 08 */ addi r1, r1, 0x8 +/* 80096220 00092E00 7C 08 03 A6 */ mtlr r0 +/* 80096224 00092E04 4E 80 00 20 */ blr .endfn ftCo_LightThrowDashDrop_Coll +# .text:0x13D4 | 0x80096228 | size: 0x28 .fn ftCo_LightThrow_Coll, global -/* 000013D4 00001414 7C 08 02 A6 */ mflr r0 -/* 000013D8 00001418 3C 80 00 00 */ lis r4, ftCo_80096250@ha -/* 000013DC 0000141C 90 01 00 04 */ stw r0, 0x4(r1) -/* 000013E0 00001420 38 84 00 00 */ addi r4, r4, ftCo_80096250@l -/* 000013E4 00001424 94 21 FF F8 */ stwu r1, -0x8(r1) -/* 000013E8 00001428 48 00 00 01 */ bl ft_800841B8 -/* 000013EC 0000142C 80 01 00 0C */ lwz r0, 0xc(r1) -/* 000013F0 00001430 38 21 00 08 */ addi r1, r1, 0x8 -/* 000013F4 00001434 7C 08 03 A6 */ mtlr r0 -/* 000013F8 00001438 4E 80 00 20 */ blr +/* 80096228 00092E08 7C 08 02 A6 */ mflr r0 +/* 8009622C 00092E0C 3C 80 80 09 */ lis r4, ftCo_80096250@ha +/* 80096230 00092E10 90 01 00 04 */ stw r0, 0x4(r1) +/* 80096234 00092E14 38 84 62 50 */ addi r4, r4, ftCo_80096250@l +/* 80096238 00092E18 94 21 FF F8 */ stwu r1, -0x8(r1) +/* 8009623C 00092E1C 4B FE DF 7D */ bl ft_800841B8 +/* 80096240 00092E20 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80096244 00092E24 38 21 00 08 */ addi r1, r1, 0x8 +/* 80096248 00092E28 7C 08 03 A6 */ mtlr r0 +/* 8009624C 00092E2C 4E 80 00 20 */ blr .endfn ftCo_LightThrow_Coll +# .text:0x13FC | 0x80096250 | size: 0xFC .fn ftCo_80096250, global -/* 000013FC 0000143C 7C 08 02 A6 */ mflr r0 -/* 00001400 00001440 90 01 00 04 */ stw r0, 0x4(r1) -/* 00001404 00001444 94 21 FF D8 */ stwu r1, -0x28(r1) -/* 00001408 00001448 DB E1 00 20 */ stfd f31, 0x20(r1) -/* 0000140C 0000144C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 00001410 00001450 93 C1 00 18 */ stw r30, 0x18(r1) -/* 00001414 00001454 7C 7E 1B 78 */ mr r30, r3 -/* 00001418 00001458 83 E3 00 2C */ lwz r31, 0x2c(r3) -/* 0000141C 0000145C 7F E3 FB 78 */ mr r3, r31 -/* 00001420 00001460 48 00 00 01 */ bl ftCommon_8007D5D4 -/* 00001424 00001464 80 7F 00 10 */ lwz r3, 0x10(r31) -/* 00001428 00001468 2C 03 00 6C */ cmpwi r3, 0x6c -/* 0000142C 0000146C 41 80 00 5C */ blt .L_00001488 -/* 00001430 00001470 83 FE 00 2C */ lwz r31, 0x2c(r30) -/* 00001434 00001474 38 83 00 04 */ addi r4, r3, 0x4 -/* 00001438 00001478 C3 FF 00 2C */ lfs f31, 0x2c(r31) -/* 0000143C 0000147C C0 1F 00 30 */ lfs f0, 0x30(r31) -/* 00001440 00001480 FC 1F 00 00 */ fcmpu cr0, f31, f0 -/* 00001444 00001484 41 82 00 08 */ beq .L_0000144C -/* 00001448 00001488 D0 1F 00 2C */ stfs f0, 0x2c(r31) -.L_0000144C: -/* 0000144C 0000148C 3C A0 0C 4C */ lis r5, 0xc4c -/* 00001450 00001490 C0 3F 08 94 */ lfs f1, 0x894(r31) -/* 00001454 00001494 C0 5F 23 44 */ lfs f2, 0x2344(r31) -/* 00001458 00001498 7F C3 F3 78 */ mr r3, r30 -/* 0000145C 0000149C C0 60 00 00 */ lfs f3, ftCo_804D8590@sda21(r0) -/* 00001460 000014A0 38 A5 50 80 */ addi r5, r5, 0x5080 -/* 00001464 000014A4 38 C0 00 00 */ li r6, 0x0 -/* 00001468 000014A8 48 00 00 01 */ bl Fighter_ChangeMotionState -/* 0000146C 000014AC 3C 60 00 00 */ lis r3, ftCo_80095EFC@ha -/* 00001470 000014B0 D3 FF 00 2C */ stfs f31, 0x2c(r31) -/* 00001474 000014B4 38 03 00 00 */ addi r0, r3, ftCo_80095EFC@l -/* 00001478 000014B8 90 1F 21 BC */ stw r0, 0x21bc(r31) -/* 0000147C 000014BC 7F C3 F3 78 */ mr r3, r30 -/* 00001480 000014C0 48 00 00 01 */ bl ftCo_80095EFC -/* 00001484 000014C4 48 00 00 58 */ b .L_000014DC -.L_00001488: -/* 00001488 000014C8 83 FE 00 2C */ lwz r31, 0x2c(r30) -/* 0000148C 000014CC 38 83 00 06 */ addi r4, r3, 0x6 -/* 00001490 000014D0 C3 FF 00 2C */ lfs f31, 0x2c(r31) -/* 00001494 000014D4 C0 1F 00 30 */ lfs f0, 0x30(r31) -/* 00001498 000014D8 FC 1F 00 00 */ fcmpu cr0, f31, f0 -/* 0000149C 000014DC 41 82 00 08 */ beq .L_000014A4 -/* 000014A0 000014E0 D0 1F 00 2C */ stfs f0, 0x2c(r31) -.L_000014A4: -/* 000014A4 000014E4 3C A0 0C 4C */ lis r5, 0xc4c -/* 000014A8 000014E8 C0 3F 08 94 */ lfs f1, 0x894(r31) -/* 000014AC 000014EC C0 5F 23 44 */ lfs f2, 0x2344(r31) -/* 000014B0 000014F0 7F C3 F3 78 */ mr r3, r30 -/* 000014B4 000014F4 C0 60 00 00 */ lfs f3, ftCo_804D8590@sda21(r0) -/* 000014B8 000014F8 38 A5 50 80 */ addi r5, r5, 0x5080 -/* 000014BC 000014FC 38 C0 00 00 */ li r6, 0x0 -/* 000014C0 00001500 48 00 00 01 */ bl Fighter_ChangeMotionState -/* 000014C4 00001504 3C 60 00 00 */ lis r3, ftCo_80095EFC@ha -/* 000014C8 00001508 D3 FF 00 2C */ stfs f31, 0x2c(r31) -/* 000014CC 0000150C 38 03 00 00 */ addi r0, r3, ftCo_80095EFC@l -/* 000014D0 00001510 90 1F 21 BC */ stw r0, 0x21bc(r31) -/* 000014D4 00001514 7F C3 F3 78 */ mr r3, r30 -/* 000014D8 00001518 48 00 00 01 */ bl ftCo_80095EFC -.L_000014DC: -/* 000014DC 0000151C 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 000014E0 00001520 CB E1 00 20 */ lfd f31, 0x20(r1) -/* 000014E4 00001524 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 000014E8 00001528 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 000014EC 0000152C 38 21 00 28 */ addi r1, r1, 0x28 -/* 000014F0 00001530 7C 08 03 A6 */ mtlr r0 -/* 000014F4 00001534 4E 80 00 20 */ blr +/* 80096250 00092E30 7C 08 02 A6 */ mflr r0 +/* 80096254 00092E34 90 01 00 04 */ stw r0, 0x4(r1) +/* 80096258 00092E38 94 21 FF D8 */ stwu r1, -0x28(r1) +/* 8009625C 00092E3C DB E1 00 20 */ stfd f31, 0x20(r1) +/* 80096260 00092E40 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80096264 00092E44 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80096268 00092E48 7C 7E 1B 78 */ mr r30, r3 +/* 8009626C 00092E4C 83 E3 00 2C */ lwz r31, 0x2c(r3) +/* 80096270 00092E50 7F E3 FB 78 */ mr r3, r31 +/* 80096274 00092E54 4B FE 73 61 */ bl ftCommon_8007D5D4 +/* 80096278 00092E58 80 7F 00 10 */ lwz r3, 0x10(r31) +/* 8009627C 00092E5C 2C 03 00 6C */ cmpwi r3, 0x6c +/* 80096280 00092E60 41 80 00 5C */ blt .L_800962DC +/* 80096284 00092E64 83 FE 00 2C */ lwz r31, 0x2c(r30) +/* 80096288 00092E68 38 83 00 04 */ addi r4, r3, 0x4 +/* 8009628C 00092E6C C3 FF 00 2C */ lfs f31, 0x2c(r31) +/* 80096290 00092E70 C0 1F 00 30 */ lfs f0, 0x30(r31) +/* 80096294 00092E74 FC 1F 00 00 */ fcmpu cr0, f31, f0 +/* 80096298 00092E78 41 82 00 08 */ beq .L_800962A0 +/* 8009629C 00092E7C D0 1F 00 2C */ stfs f0, 0x2c(r31) +.L_800962A0: +/* 800962A0 00092E80 3C A0 0C 4C */ lis r5, 0xc4c +/* 800962A4 00092E84 C0 3F 08 94 */ lfs f1, 0x894(r31) +/* 800962A8 00092E88 C0 5F 23 44 */ lfs f2, 0x2344(r31) +/* 800962AC 00092E8C 7F C3 F3 78 */ mr r3, r30 +/* 800962B0 00092E90 C0 62 8B B0 */ lfs f3, ftCo_804D8590@sda21(r0) +/* 800962B4 00092E94 38 A5 50 80 */ addi r5, r5, 0x5080 +/* 800962B8 00092E98 38 C0 00 00 */ li r6, 0x0 +/* 800962BC 00092E9C 4B FD 30 F1 */ bl Fighter_ChangeMotionState +/* 800962C0 00092EA0 3C 60 80 09 */ lis r3, ftCo_80095EFC@ha +/* 800962C4 00092EA4 D3 FF 00 2C */ stfs f31, 0x2c(r31) +/* 800962C8 00092EA8 38 03 5E FC */ addi r0, r3, ftCo_80095EFC@l +/* 800962CC 00092EAC 90 1F 21 BC */ stw r0, 0x21bc(r31) +/* 800962D0 00092EB0 7F C3 F3 78 */ mr r3, r30 +/* 800962D4 00092EB4 4B FF FC 29 */ bl ftCo_80095EFC +/* 800962D8 00092EB8 48 00 00 58 */ b .L_80096330 +.L_800962DC: +/* 800962DC 00092EBC 83 FE 00 2C */ lwz r31, 0x2c(r30) +/* 800962E0 00092EC0 38 83 00 06 */ addi r4, r3, 0x6 +/* 800962E4 00092EC4 C3 FF 00 2C */ lfs f31, 0x2c(r31) +/* 800962E8 00092EC8 C0 1F 00 30 */ lfs f0, 0x30(r31) +/* 800962EC 00092ECC FC 1F 00 00 */ fcmpu cr0, f31, f0 +/* 800962F0 00092ED0 41 82 00 08 */ beq .L_800962F8 +/* 800962F4 00092ED4 D0 1F 00 2C */ stfs f0, 0x2c(r31) +.L_800962F8: +/* 800962F8 00092ED8 3C A0 0C 4C */ lis r5, 0xc4c +/* 800962FC 00092EDC C0 3F 08 94 */ lfs f1, 0x894(r31) +/* 80096300 00092EE0 C0 5F 23 44 */ lfs f2, 0x2344(r31) +/* 80096304 00092EE4 7F C3 F3 78 */ mr r3, r30 +/* 80096308 00092EE8 C0 62 8B B0 */ lfs f3, ftCo_804D8590@sda21(r0) +/* 8009630C 00092EEC 38 A5 50 80 */ addi r5, r5, 0x5080 +/* 80096310 00092EF0 38 C0 00 00 */ li r6, 0x0 +/* 80096314 00092EF4 4B FD 30 99 */ bl Fighter_ChangeMotionState +/* 80096318 00092EF8 3C 60 80 09 */ lis r3, ftCo_80095EFC@ha +/* 8009631C 00092EFC D3 FF 00 2C */ stfs f31, 0x2c(r31) +/* 80096320 00092F00 38 03 5E FC */ addi r0, r3, ftCo_80095EFC@l +/* 80096324 00092F04 90 1F 21 BC */ stw r0, 0x21bc(r31) +/* 80096328 00092F08 7F C3 F3 78 */ mr r3, r30 +/* 8009632C 00092F0C 4B FF FB D1 */ bl ftCo_80095EFC +.L_80096330: +/* 80096330 00092F10 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 80096334 00092F14 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 80096338 00092F18 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8009633C 00092F1C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80096340 00092F20 38 21 00 28 */ addi r1, r1, 0x28 +/* 80096344 00092F24 7C 08 03 A6 */ mtlr r0 +/* 80096348 00092F28 4E 80 00 20 */ blr .endfn ftCo_80096250 +# .text:0x14F8 | 0x8009634C | size: 0x28 .fn ftCo_LightThrowAir_Coll, global -/* 000014F8 00001538 7C 08 02 A6 */ mflr r0 -/* 000014FC 0000153C 3C 80 00 00 */ lis r4, ftCo_80096374@ha -/* 00001500 00001540 90 01 00 04 */ stw r0, 0x4(r1) -/* 00001504 00001544 38 84 00 00 */ addi r4, r4, ftCo_80096374@l -/* 00001508 00001548 94 21 FF F8 */ stwu r1, -0x8(r1) -/* 0000150C 0000154C 48 00 00 01 */ bl ft_80082C74 -/* 00001510 00001550 80 01 00 0C */ lwz r0, 0xc(r1) -/* 00001514 00001554 38 21 00 08 */ addi r1, r1, 0x8 -/* 00001518 00001558 7C 08 03 A6 */ mtlr r0 -/* 0000151C 0000155C 4E 80 00 20 */ blr +/* 8009634C 00092F2C 7C 08 02 A6 */ mflr r0 +/* 80096350 00092F30 3C 80 80 09 */ lis r4, ftCo_80096374@ha +/* 80096354 00092F34 90 01 00 04 */ stw r0, 0x4(r1) +/* 80096358 00092F38 38 84 63 74 */ addi r4, r4, ftCo_80096374@l +/* 8009635C 00092F3C 94 21 FF F8 */ stwu r1, -0x8(r1) +/* 80096360 00092F40 4B FE C9 15 */ bl ft_80082C74 +/* 80096364 00092F44 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80096368 00092F48 38 21 00 08 */ addi r1, r1, 0x8 +/* 8009636C 00092F4C 7C 08 03 A6 */ mtlr r0 +/* 80096370 00092F50 4E 80 00 20 */ blr .endfn ftCo_LightThrowAir_Coll +# .text:0x1520 | 0x80096374 | size: 0xFC .fn ftCo_80096374, global -/* 00001520 00001560 7C 08 02 A6 */ mflr r0 -/* 00001524 00001564 90 01 00 04 */ stw r0, 0x4(r1) -/* 00001528 00001568 94 21 FF D8 */ stwu r1, -0x28(r1) -/* 0000152C 0000156C DB E1 00 20 */ stfd f31, 0x20(r1) -/* 00001530 00001570 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 00001534 00001574 93 C1 00 18 */ stw r30, 0x18(r1) -/* 00001538 00001578 7C 7E 1B 78 */ mr r30, r3 -/* 0000153C 0000157C 83 E3 00 2C */ lwz r31, 0x2c(r3) -/* 00001540 00001580 7F E3 FB 78 */ mr r3, r31 -/* 00001544 00001584 48 00 00 01 */ bl ftCommon_8007D7FC -/* 00001548 00001588 80 7F 00 10 */ lwz r3, 0x10(r31) -/* 0000154C 0000158C 2C 03 00 6C */ cmpwi r3, 0x6c -/* 00001550 00001590 41 80 00 5C */ blt .L_000015AC -/* 00001554 00001594 83 FE 00 2C */ lwz r31, 0x2c(r30) -/* 00001558 00001598 38 83 FF FC */ subi r4, r3, 0x4 -/* 0000155C 0000159C C3 FF 00 2C */ lfs f31, 0x2c(r31) -/* 00001560 000015A0 C0 1F 00 30 */ lfs f0, 0x30(r31) -/* 00001564 000015A4 FC 1F 00 00 */ fcmpu cr0, f31, f0 -/* 00001568 000015A8 41 82 00 08 */ beq .L_00001570 -/* 0000156C 000015AC D0 1F 00 2C */ stfs f0, 0x2c(r31) -.L_00001570: -/* 00001570 000015B0 3C A0 0C 4C */ lis r5, 0xc4c -/* 00001574 000015B4 C0 3F 08 94 */ lfs f1, 0x894(r31) -/* 00001578 000015B8 C0 5F 23 44 */ lfs f2, 0x2344(r31) -/* 0000157C 000015BC 7F C3 F3 78 */ mr r3, r30 -/* 00001580 000015C0 C0 60 00 00 */ lfs f3, ftCo_804D8590@sda21(r0) -/* 00001584 000015C4 38 A5 50 80 */ addi r5, r5, 0x5080 -/* 00001588 000015C8 38 C0 00 00 */ li r6, 0x0 -/* 0000158C 000015CC 48 00 00 01 */ bl Fighter_ChangeMotionState -/* 00001590 000015D0 3C 60 00 00 */ lis r3, ftCo_80095EFC@ha -/* 00001594 000015D4 D3 FF 00 2C */ stfs f31, 0x2c(r31) -/* 00001598 000015D8 38 03 00 00 */ addi r0, r3, ftCo_80095EFC@l -/* 0000159C 000015DC 90 1F 21 BC */ stw r0, 0x21bc(r31) -/* 000015A0 000015E0 7F C3 F3 78 */ mr r3, r30 -/* 000015A4 000015E4 48 00 00 01 */ bl ftCo_80095EFC -/* 000015A8 000015E8 48 00 00 58 */ b .L_00001600 -.L_000015AC: -/* 000015AC 000015EC 83 FE 00 2C */ lwz r31, 0x2c(r30) -/* 000015B0 000015F0 38 83 FF FA */ subi r4, r3, 0x6 -/* 000015B4 000015F4 C3 FF 00 2C */ lfs f31, 0x2c(r31) -/* 000015B8 000015F8 C0 1F 00 30 */ lfs f0, 0x30(r31) -/* 000015BC 000015FC FC 1F 00 00 */ fcmpu cr0, f31, f0 -/* 000015C0 00001600 41 82 00 08 */ beq .L_000015C8 -/* 000015C4 00001604 D0 1F 00 2C */ stfs f0, 0x2c(r31) -.L_000015C8: -/* 000015C8 00001608 3C A0 0C 4C */ lis r5, 0xc4c -/* 000015CC 0000160C C0 3F 08 94 */ lfs f1, 0x894(r31) -/* 000015D0 00001610 C0 5F 23 44 */ lfs f2, 0x2344(r31) -/* 000015D4 00001614 7F C3 F3 78 */ mr r3, r30 -/* 000015D8 00001618 C0 60 00 00 */ lfs f3, ftCo_804D8590@sda21(r0) -/* 000015DC 0000161C 38 A5 50 80 */ addi r5, r5, 0x5080 -/* 000015E0 00001620 38 C0 00 00 */ li r6, 0x0 -/* 000015E4 00001624 48 00 00 01 */ bl Fighter_ChangeMotionState -/* 000015E8 00001628 3C 60 00 00 */ lis r3, ftCo_80095EFC@ha -/* 000015EC 0000162C D3 FF 00 2C */ stfs f31, 0x2c(r31) -/* 000015F0 00001630 38 03 00 00 */ addi r0, r3, ftCo_80095EFC@l -/* 000015F4 00001634 90 1F 21 BC */ stw r0, 0x21bc(r31) -/* 000015F8 00001638 7F C3 F3 78 */ mr r3, r30 -/* 000015FC 0000163C 48 00 00 01 */ bl ftCo_80095EFC -.L_00001600: -/* 00001600 00001640 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 00001604 00001644 CB E1 00 20 */ lfd f31, 0x20(r1) -/* 00001608 00001648 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 0000160C 0000164C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 00001610 00001650 38 21 00 28 */ addi r1, r1, 0x28 -/* 00001614 00001654 7C 08 03 A6 */ mtlr r0 -/* 00001618 00001658 4E 80 00 20 */ blr +/* 80096374 00092F54 7C 08 02 A6 */ mflr r0 +/* 80096378 00092F58 90 01 00 04 */ stw r0, 0x4(r1) +/* 8009637C 00092F5C 94 21 FF D8 */ stwu r1, -0x28(r1) +/* 80096380 00092F60 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 80096384 00092F64 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80096388 00092F68 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8009638C 00092F6C 7C 7E 1B 78 */ mr r30, r3 +/* 80096390 00092F70 83 E3 00 2C */ lwz r31, 0x2c(r3) +/* 80096394 00092F74 7F E3 FB 78 */ mr r3, r31 +/* 80096398 00092F78 4B FE 74 65 */ bl ftCommon_8007D7FC +/* 8009639C 00092F7C 80 7F 00 10 */ lwz r3, 0x10(r31) +/* 800963A0 00092F80 2C 03 00 6C */ cmpwi r3, 0x6c +/* 800963A4 00092F84 41 80 00 5C */ blt .L_80096400 +/* 800963A8 00092F88 83 FE 00 2C */ lwz r31, 0x2c(r30) +/* 800963AC 00092F8C 38 83 FF FC */ subi r4, r3, 0x4 +/* 800963B0 00092F90 C3 FF 00 2C */ lfs f31, 0x2c(r31) +/* 800963B4 00092F94 C0 1F 00 30 */ lfs f0, 0x30(r31) +/* 800963B8 00092F98 FC 1F 00 00 */ fcmpu cr0, f31, f0 +/* 800963BC 00092F9C 41 82 00 08 */ beq .L_800963C4 +/* 800963C0 00092FA0 D0 1F 00 2C */ stfs f0, 0x2c(r31) +.L_800963C4: +/* 800963C4 00092FA4 3C A0 0C 4C */ lis r5, 0xc4c +/* 800963C8 00092FA8 C0 3F 08 94 */ lfs f1, 0x894(r31) +/* 800963CC 00092FAC C0 5F 23 44 */ lfs f2, 0x2344(r31) +/* 800963D0 00092FB0 7F C3 F3 78 */ mr r3, r30 +/* 800963D4 00092FB4 C0 62 8B B0 */ lfs f3, ftCo_804D8590@sda21(r0) +/* 800963D8 00092FB8 38 A5 50 80 */ addi r5, r5, 0x5080 +/* 800963DC 00092FBC 38 C0 00 00 */ li r6, 0x0 +/* 800963E0 00092FC0 4B FD 2F CD */ bl Fighter_ChangeMotionState +/* 800963E4 00092FC4 3C 60 80 09 */ lis r3, ftCo_80095EFC@ha +/* 800963E8 00092FC8 D3 FF 00 2C */ stfs f31, 0x2c(r31) +/* 800963EC 00092FCC 38 03 5E FC */ addi r0, r3, ftCo_80095EFC@l +/* 800963F0 00092FD0 90 1F 21 BC */ stw r0, 0x21bc(r31) +/* 800963F4 00092FD4 7F C3 F3 78 */ mr r3, r30 +/* 800963F8 00092FD8 4B FF FB 05 */ bl ftCo_80095EFC +/* 800963FC 00092FDC 48 00 00 58 */ b .L_80096454 +.L_80096400: +/* 80096400 00092FE0 83 FE 00 2C */ lwz r31, 0x2c(r30) +/* 80096404 00092FE4 38 83 FF FA */ subi r4, r3, 0x6 +/* 80096408 00092FE8 C3 FF 00 2C */ lfs f31, 0x2c(r31) +/* 8009640C 00092FEC C0 1F 00 30 */ lfs f0, 0x30(r31) +/* 80096410 00092FF0 FC 1F 00 00 */ fcmpu cr0, f31, f0 +/* 80096414 00092FF4 41 82 00 08 */ beq .L_8009641C +/* 80096418 00092FF8 D0 1F 00 2C */ stfs f0, 0x2c(r31) +.L_8009641C: +/* 8009641C 00092FFC 3C A0 0C 4C */ lis r5, 0xc4c +/* 80096420 00093000 C0 3F 08 94 */ lfs f1, 0x894(r31) +/* 80096424 00093004 C0 5F 23 44 */ lfs f2, 0x2344(r31) +/* 80096428 00093008 7F C3 F3 78 */ mr r3, r30 +/* 8009642C 0009300C C0 62 8B B0 */ lfs f3, ftCo_804D8590@sda21(r0) +/* 80096430 00093010 38 A5 50 80 */ addi r5, r5, 0x5080 +/* 80096434 00093014 38 C0 00 00 */ li r6, 0x0 +/* 80096438 00093018 4B FD 2F 75 */ bl Fighter_ChangeMotionState +/* 8009643C 0009301C 3C 60 80 09 */ lis r3, ftCo_80095EFC@ha +/* 80096440 00093020 D3 FF 00 2C */ stfs f31, 0x2c(r31) +/* 80096444 00093024 38 03 5E FC */ addi r0, r3, ftCo_80095EFC@l +/* 80096448 00093028 90 1F 21 BC */ stw r0, 0x21bc(r31) +/* 8009644C 0009302C 7F C3 F3 78 */ mr r3, r30 +/* 80096450 00093030 4B FF FA AD */ bl ftCo_80095EFC +.L_80096454: +/* 80096454 00093034 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 80096458 00093038 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 8009645C 0009303C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80096460 00093040 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80096464 00093044 38 21 00 28 */ addi r1, r1, 0x28 +/* 80096468 00093048 7C 08 03 A6 */ mtlr r0 +/* 8009646C 0009304C 4E 80 00 20 */ blr .endfn ftCo_80096374 +# .text:0x161C | 0x80096470 | size: 0x28 .fn ftCo_HeavyThrow_Coll, global -/* 0000161C 0000165C 7C 08 02 A6 */ mflr r0 -/* 00001620 00001660 3C 80 00 00 */ lis r4, ftCo_80096E68@ha -/* 00001624 00001664 90 01 00 04 */ stw r0, 0x4(r1) -/* 00001628 00001668 38 84 00 00 */ addi r4, r4, ftCo_80096E68@l -/* 0000162C 0000166C 94 21 FF F8 */ stwu r1, -0x8(r1) -/* 00001630 00001670 48 00 00 01 */ bl ft_800841B8 -/* 00001634 00001674 80 01 00 0C */ lwz r0, 0xc(r1) -/* 00001638 00001678 38 21 00 08 */ addi r1, r1, 0x8 -/* 0000163C 0000167C 7C 08 03 A6 */ mtlr r0 -/* 00001640 00001680 4E 80 00 20 */ blr +/* 80096470 00093050 7C 08 02 A6 */ mflr r0 +/* 80096474 00093054 3C 80 80 09 */ lis r4, ftCo_80096E68@ha +/* 80096478 00093058 90 01 00 04 */ stw r0, 0x4(r1) +/* 8009647C 0009305C 38 84 6E 68 */ addi r4, r4, ftCo_80096E68@l +/* 80096480 00093060 94 21 FF F8 */ stwu r1, -0x8(r1) +/* 80096484 00093064 4B FE DD 35 */ bl ft_800841B8 +/* 80096488 00093068 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8009648C 0009306C 38 21 00 08 */ addi r1, r1, 0x8 +/* 80096490 00093070 7C 08 03 A6 */ mtlr r0 +/* 80096494 00093074 4E 80 00 20 */ blr .endfn ftCo_HeavyThrow_Coll +# .text:0x1644 | 0x80096498 | size: 0x64 .fn ftCo_80096498, global -/* 00001644 00001684 7C 08 02 A6 */ mflr r0 -/* 00001648 00001688 90 01 00 04 */ stw r0, 0x4(r1) -/* 0000164C 0000168C 94 21 FF E8 */ stwu r1, -0x18(r1) -/* 00001650 00001690 93 E1 00 14 */ stw r31, 0x14(r1) -/* 00001654 00001694 80 83 00 2C */ lwz r4, 0x2c(r3) -/* 00001658 00001698 80 04 00 E0 */ lwz r0, 0xe0(r4) -/* 0000165C 0000169C 3B E4 00 00 */ addi r31, r4, 0x0 -/* 00001660 000016A0 2C 00 00 00 */ cmpwi r0, 0x0 -/* 00001664 000016A4 40 82 00 1C */ bne .L_00001680 -/* 00001668 000016A8 48 00 00 01 */ bl ft_80082708 -/* 0000166C 000016AC 2C 03 00 00 */ cmpwi r3, 0x0 -/* 00001670 000016B0 40 82 00 24 */ bne .L_00001694 -/* 00001674 000016B4 7F E3 FB 78 */ mr r3, r31 -/* 00001678 000016B8 48 00 00 01 */ bl ftCommon_8007D5D4 -/* 0000167C 000016BC 48 00 00 18 */ b .L_00001694 -.L_00001680: -/* 00001680 000016C0 48 00 00 01 */ bl ft_80081D0C -/* 00001684 000016C4 2C 03 00 00 */ cmpwi r3, 0x0 -/* 00001688 000016C8 41 82 00 0C */ beq .L_00001694 -/* 0000168C 000016CC 7F E3 FB 78 */ mr r3, r31 -/* 00001690 000016D0 48 00 00 01 */ bl ftCommon_8007D7FC -.L_00001694: -/* 00001694 000016D4 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 00001698 000016D8 83 E1 00 14 */ lwz r31, 0x14(r1) -/* 0000169C 000016DC 38 21 00 18 */ addi r1, r1, 0x18 -/* 000016A0 000016E0 7C 08 03 A6 */ mtlr r0 -/* 000016A4 000016E4 4E 80 00 20 */ blr +/* 80096498 00093078 7C 08 02 A6 */ mflr r0 +/* 8009649C 0009307C 90 01 00 04 */ stw r0, 0x4(r1) +/* 800964A0 00093080 94 21 FF E8 */ stwu r1, -0x18(r1) +/* 800964A4 00093084 93 E1 00 14 */ stw r31, 0x14(r1) +/* 800964A8 00093088 80 83 00 2C */ lwz r4, 0x2c(r3) +/* 800964AC 0009308C 80 04 00 E0 */ lwz r0, 0xe0(r4) +/* 800964B0 00093090 3B E4 00 00 */ addi r31, r4, 0x0 +/* 800964B4 00093094 2C 00 00 00 */ cmpwi r0, 0x0 +/* 800964B8 00093098 40 82 00 1C */ bne .L_800964D4 +/* 800964BC 0009309C 4B FE C2 4D */ bl ft_80082708 +/* 800964C0 000930A0 2C 03 00 00 */ cmpwi r3, 0x0 +/* 800964C4 000930A4 40 82 00 24 */ bne .L_800964E8 +/* 800964C8 000930A8 7F E3 FB 78 */ mr r3, r31 +/* 800964CC 000930AC 4B FE 71 09 */ bl ftCommon_8007D5D4 +/* 800964D0 000930B0 48 00 00 18 */ b .L_800964E8 +.L_800964D4: +/* 800964D4 000930B4 4B FE B8 39 */ bl ft_80081D0C +/* 800964D8 000930B8 2C 03 00 00 */ cmpwi r3, 0x0 +/* 800964DC 000930BC 41 82 00 0C */ beq .L_800964E8 +/* 800964E0 000930C0 7F E3 FB 78 */ mr r3, r31 +/* 800964E4 000930C4 4B FE 73 19 */ bl ftCommon_8007D7FC +.L_800964E8: +/* 800964E8 000930C8 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 800964EC 000930CC 83 E1 00 14 */ lwz r31, 0x14(r1) +/* 800964F0 000930D0 38 21 00 18 */ addi r1, r1, 0x18 +/* 800964F4 000930D4 7C 08 03 A6 */ mtlr r0 +/* 800964F8 000930D8 4E 80 00 20 */ blr .endfn ftCo_80096498 -# 0x00000000 - 0x00000118 +# 0x803C55C0..0x803C56D8 | size: 0x118 .data .balign 8 +# .data:0x0 | 0x803C55C0 | size: 0x5C .obj "@344", local - .rel ftCo_80095700, .L_000008D4 - .rel ftCo_80095700, .L_000008E4 - .rel ftCo_80095700, .L_000008E4 - .rel ftCo_80095700, .L_000008E4 - .rel ftCo_80095700, .L_000008E4 - .rel ftCo_80095700, .L_000008E4 - .rel ftCo_80095700, .L_000008D4 - .rel ftCo_80095700, .L_000008E4 - .rel ftCo_80095700, .L_000008E4 - .rel ftCo_80095700, .L_000008E4 - .rel ftCo_80095700, .L_000008D4 - .rel ftCo_80095700, .L_000008E4 - .rel ftCo_80095700, .L_000008E4 - .rel ftCo_80095700, .L_000008E4 - .rel ftCo_80095700, .L_000008D4 - .rel ftCo_80095700, .L_000008E4 - .rel ftCo_80095700, .L_000008E4 - .rel ftCo_80095700, .L_000008E4 - .rel ftCo_80095700, .L_000008D4 - .rel ftCo_80095700, .L_000008E4 - .rel ftCo_80095700, .L_000008E4 - .rel ftCo_80095700, .L_000008E4 - .rel ftCo_80095700, .L_000008D4 + .rel ftCo_80095700, .L_80095728 + .rel ftCo_80095700, .L_80095738 + .rel ftCo_80095700, .L_80095738 + .rel ftCo_80095700, .L_80095738 + .rel ftCo_80095700, .L_80095738 + .rel ftCo_80095700, .L_80095738 + .rel ftCo_80095700, .L_80095728 + .rel ftCo_80095700, .L_80095738 + .rel ftCo_80095700, .L_80095738 + .rel ftCo_80095700, .L_80095738 + .rel ftCo_80095700, .L_80095728 + .rel ftCo_80095700, .L_80095738 + .rel ftCo_80095700, .L_80095738 + .rel ftCo_80095700, .L_80095738 + .rel ftCo_80095700, .L_80095728 + .rel ftCo_80095700, .L_80095738 + .rel ftCo_80095700, .L_80095738 + .rel ftCo_80095700, .L_80095738 + .rel ftCo_80095700, .L_80095728 + .rel ftCo_80095700, .L_80095738 + .rel ftCo_80095700, .L_80095738 + .rel ftCo_80095700, .L_80095738 + .rel ftCo_80095700, .L_80095728 .endobj "@344" +# .data:0x5C | 0x803C561C | size: 0x5C .obj jtbl_803C561C, global - .4byte ftCo_8009588C - .4byte ftCo_8009589C - .4byte ftCo_8009589C - .4byte ftCo_8009589C - .4byte ftCo_8009589C - .4byte ftCo_8009589C - .4byte ftCo_8009588C - .4byte ftCo_8009589C - .4byte ftCo_8009589C - .4byte ftCo_8009589C - .4byte ftCo_8009588C - .4byte ftCo_8009589C - .4byte ftCo_8009589C - .4byte ftCo_8009589C - .4byte ftCo_8009588C - .4byte ftCo_8009589C - .4byte ftCo_8009589C - .4byte ftCo_8009589C - .4byte ftCo_8009588C - .4byte ftCo_8009589C - .4byte ftCo_8009589C - .4byte ftCo_8009589C - .4byte ftCo_8009588C + .rel ftCo_800957F4, .L_8009588C + .rel ftCo_800957F4, .L_8009589C + .rel ftCo_800957F4, .L_8009589C + .rel ftCo_800957F4, .L_8009589C + .rel ftCo_800957F4, .L_8009589C + .rel ftCo_800957F4, .L_8009589C + .rel ftCo_800957F4, .L_8009588C + .rel ftCo_800957F4, .L_8009589C + .rel ftCo_800957F4, .L_8009589C + .rel ftCo_800957F4, .L_8009589C + .rel ftCo_800957F4, .L_8009588C + .rel ftCo_800957F4, .L_8009589C + .rel ftCo_800957F4, .L_8009589C + .rel ftCo_800957F4, .L_8009589C + .rel ftCo_800957F4, .L_8009588C + .rel ftCo_800957F4, .L_8009589C + .rel ftCo_800957F4, .L_8009589C + .rel ftCo_800957F4, .L_8009589C + .rel ftCo_800957F4, .L_8009588C + .rel ftCo_800957F4, .L_8009589C + .rel ftCo_800957F4, .L_8009589C + .rel ftCo_800957F4, .L_8009589C + .rel ftCo_800957F4, .L_8009588C .endobj jtbl_803C561C +# .data:0xB8 | 0x803C5678 | size: 0x5C .obj jtbl_803C5678, global .4byte ftCo_80095990 .4byte ftCo_800959A0 @@ -1765,46 +1798,53 @@ .4byte ftCo_80095990 .endobj jtbl_803C5678 +# .data:0x114 | 0x803C56D4 | size: 0x4 .obj gap_07_803C56D4_data, global .hidden gap_07_803C56D4_data .4byte 0x00000000 .endobj gap_07_803C56D4_data -# 0x00000000 - 0x00000028 +# 0x804D8590..0x804D85B8 | size: 0x28 .section .sdata2, "a" .balign 8 +# .sdata2:0x0 | 0x804D8590 | size: 0x4 .obj ftCo_804D8590, global - .4byte 0x00000000 + .float 0 .endobj ftCo_804D8590 +# .sdata2:0x4 | 0x804D8594 | size: 0x4 .obj gap_11_804D8594_sdata2, global .hidden gap_11_804D8594_sdata2 .4byte 0x00000000 .endobj gap_11_804D8594_sdata2 +# .sdata2:0x8 | 0x804D8598 | size: 0x8 .obj ftCo_804D8598, global - .4byte 0x43300000 - .4byte 0x00000000 + .double 4503599627370496 .endobj ftCo_804D8598 +# .sdata2:0x10 | 0x804D85A0 | size: 0x8 .obj ftCo_804D85A0, global - .4byte 0x43300000 - .4byte 0x80000000 + .double 4503601774854144 .endobj ftCo_804D85A0 +# .sdata2:0x18 | 0x804D85A8 | size: 0x4 .obj ftCo_804D85A8, global - .4byte 0x3F800000 + .float 1 .endobj ftCo_804D85A8 +# .sdata2:0x1C | 0x804D85AC | size: 0x4 .obj ftCo_804D85AC, global - .4byte 0x3C23D70A + .float 0.01 .endobj ftCo_804D85AC +# .sdata2:0x20 | 0x804D85B0 | size: 0x4 .obj ftCo_804D85B0, global - .4byte 0x3C8EFA35 + .float 0.017453292 .endobj ftCo_804D85B0 +# .sdata2:0x24 | 0x804D85B4 | size: 0x4 .obj gap_11_804D85B4_sdata2, global .hidden gap_11_804D85B4_sdata2 .4byte 0x00000000 diff --git a/config/GALE01/splits.txt b/config/GALE01/splits.txt index d51bdd4832..720b49666c 100644 --- a/config/GALE01/splits.txt +++ b/config/GALE01/splits.txt @@ -3465,6 +3465,9 @@ MSL/ansi_fp.c: MSL/buffer_io.c: .text start:0x8032345C end:0x8032355C +MSL/PPC_EABI/critical_regions.gamecube.c: + .text start:0x8032355C end:0x80323560 + MSL/ctype.c: .text start:0x80323560 end:0x803235B0 .rodata start:0x803B8C30 end:0x803B8F30 diff --git a/config/GALE01/symbols.txt b/config/GALE01/symbols.txt index 7c472dc791..93152d7c3e 100644 --- a/config/GALE01/symbols.txt +++ b/config/GALE01/symbols.txt @@ -1503,13 +1503,6 @@ ftAction_80071A9C = .text:0x80071A9C; // type:function size:0x4C scope:global ftAction_80071AE8 = .text:0x80071AE8; // type:function size:0x40 scope:global ftAction_80071B28 = .text:0x80071B28; // type:function size:0x28 scope:global ftAction_80071B50 = .text:0x80071B50; // type:function size:0x154 scope:global -lbl_80071BE0 = .text:0x80071BE0; // type:label scope:global -lbl_80071BE8 = .text:0x80071BE8; // type:label scope:global -lbl_80071BF0 = .text:0x80071BF0; // type:label scope:global -lbl_80071BF8 = .text:0x80071BF8; // type:label scope:global -lbl_80071C00 = .text:0x80071C00; // type:label scope:global -lbl_80071C08 = .text:0x80071C08; // type:label scope:global -lbl_80071C10 = .text:0x80071C10; // type:label scope:global ftAction_80071CA4 = .text:0x80071CA4; // type:function size:0x28 scope:global ftAction_80071CCC = .text:0x80071CCC; // type:function size:0x64 scope:global ftAction_80071D30 = .text:0x80071D30; // type:function size:0x10 scope:global @@ -1522,22 +1515,8 @@ ftAction_80071F34 = .text:0x80071F34; // type:function size:0x44 scope:global ftAction_80071F78 = .text:0x80071F78; // type:function size:0x28 scope:global ftAction_80071FA0 = .text:0x80071FA0; // type:function size:0x28 scope:global ftAction_80071FC8 = .text:0x80071FC8; // type:function size:0x300 scope:global -lbl_80072210 = .text:0x80072210; // type:label scope:global -lbl_80072228 = .text:0x80072228; // type:label scope:global -lbl_80072240 = .text:0x80072240; // type:label scope:global -lbl_80072258 = .text:0x80072258; // type:label scope:global -lbl_80072270 = .text:0x80072270; // type:label scope:global -lbl_80072288 = .text:0x80072288; // type:label scope:global -lbl_800722A0 = .text:0x800722A0; // type:label scope:global ftAction_800722C8 = .text:0x800722C8; // type:function size:0x58 scope:global ftAction_80072320 = .text:0x80072320; // type:function size:0x3A0 scope:global -lbl_80072408 = .text:0x80072408; // type:label scope:global -lbl_8007243C = .text:0x8007243C; // type:label scope:global -lbl_80072480 = .text:0x80072480; // type:label scope:global -lbl_80072530 = .text:0x80072530; // type:label scope:global -lbl_80072574 = .text:0x80072574; // type:label scope:global -lbl_800725B8 = .text:0x800725B8; // type:label scope:global -lbl_800725FC = .text:0x800725FC; // type:label scope:global ftAction_800726C0 = .text:0x800726C0; // type:function size:0x34 scope:global ftAction_800726F4 = .text:0x800726F4; // type:function size:0xD4 scope:global ftAction_800727C8 = .text:0x800727C8; // type:function size:0x74 scope:global @@ -2330,10 +2309,7 @@ ftCo_8009563C = .text:0x8009563C; // type:function size:0xC4 scope:global ftCo_80095700 = .text:0x80095700; // type:function size:0x44 scope:global ftCo_80095744 = .text:0x80095744; // type:function size:0xB0 scope:global ftCo_800957F4 = .text:0x800957F4; // type:function size:0x108 scope:global -ftCo_8009588C = .text:0x8009588C; // type:label scope:global -ftCo_8009589C = .text:0x8009589C; // type:label scope:global ftCo_800958FC = .text:0x800958FC; // type:function size:0x134 scope:global -ftCo_80095990 = .text:0x80095990; // type:label scope:global ftCo_800959A0 = .text:0x800959A0; // type:label scope:global ftCo_80095A30 = .text:0x80095A30; // type:function size:0x32C scope:global ftCo_80095D5C = .text:0x80095D5C; // type:function size:0x124 scope:global @@ -3088,13 +3064,7 @@ ftCo_PassiveCeil_IASA = .text:0x800C25AC; // type:function size:0x4 scope:global ftCo_PassiveCeil_Phys = .text:0x800C25B0; // type:function size:0x20 scope:global ftCo_PassiveCeil_Coll = .text:0x800C25D0; // type:function size:0x30 scope:global ftCo_800C2600 = .text:0x800C2600; // type:function size:0x9D8 scope:global -lbl_800C27B4 = .text:0x800C27B4; // type:label scope:global -lbl_800C27C0 = .text:0x800C27C0; // type:label scope:global -lbl_800C27C8 = .text:0x800C27C8; // type:label scope:global ftCo_800C2FD8 = .text:0x800C2FD8; // type:function size:0x1B4 scope:global -lbl_800C30C0 = .text:0x800C30C0; // type:label scope:global -lbl_800C30CC = .text:0x800C30CC; // type:label scope:global -lbl_800C30D4 = .text:0x800C30D4; // type:label scope:global ftCo_800C318C = .text:0x800C318C; // type:function size:0x120 scope:global ftCo_DamageSong_Anim = .text:0x800C32AC; // type:function size:0xA0 scope:global ftCo_DamageSong_IASA = .text:0x800C334C; // type:function size:0x4 scope:global @@ -18288,28 +18258,6 @@ __GXSetVAT = .text:0x8033C770; // type:function size:0x9C scope:global GXSetArray = .text:0x8033C80C; // type:function size:0x8C scope:global GXInvalidateVtxCache = .text:0x8033C898; // type:function size:0x10 scope:global GXSetTexCoordGen2 = .text:0x8033C8A8; // type:function size:0x2D0 scope:global -GXAttr_8033C8E0 = .text:0x8033C8E0; // type:label scope:global -GXAttr_8033C8EC = .text:0x8033C8EC; // type:label scope:global -GXAttr_8033C8F8 = .text:0x8033C8F8; // type:label scope:global -GXAttr_8033C904 = .text:0x8033C904; // type:label scope:global -GXAttr_8033C910 = .text:0x8033C910; // type:label scope:global -GXAttr_8033C918 = .text:0x8033C918; // type:label scope:global -GXAttr_8033C920 = .text:0x8033C920; // type:label scope:global -GXAttr_8033C928 = .text:0x8033C928; // type:label scope:global -GXAttr_8033C930 = .text:0x8033C930; // type:label scope:global -GXAttr_8033C938 = .text:0x8033C938; // type:label scope:global -GXAttr_8033C940 = .text:0x8033C940; // type:label scope:global -GXAttr_8033C948 = .text:0x8033C948; // type:label scope:global -GXAttr_8033C950 = .text:0x8033C950; // type:label scope:global -GXAttr_8033C958 = .text:0x8033C958; // type:label scope:global -GXAttr_8033C95C = .text:0x8033C95C; // type:label scope:global -GXAttr_8033CA6C = .text:0x8033CA6C; // type:label scope:global -GXAttr_8033CA8C = .text:0x8033CA8C; // type:label scope:global -GXAttr_8033CAAC = .text:0x8033CAAC; // type:label scope:global -GXAttr_8033CACC = .text:0x8033CACC; // type:label scope:global -GXAttr_8033CAEC = .text:0x8033CAEC; // type:label scope:global -GXAttr_8033CB04 = .text:0x8033CB04; // type:label scope:global -GXAttr_8033CB24 = .text:0x8033CB24; // type:label scope:global GXSetNumTexGens = .text:0x8033CB78; // type:function size:0x48 scope:global GXSetMisc = .text:0x8033CBC0; // type:function size:0x78 scope:global GXSetDrawDone = .text:0x8033CC38; // type:function size:0x98 scope:global diff --git a/src/MSL/printf.c b/src/MSL/printf.c index 8b13789179..f0ccb6c854 100644 --- a/src/MSL/printf.c +++ b/src/MSL/printf.c @@ -1 +1,25 @@ +void __stdio_atexit(void) {} +/// #sprintf + +/// #vsprintf + +/// #vprintf + +/// #printf + +/// #__StringWrite + +/// #__FileWrite + +/// #__pformatter + +/// #float2str + +/// #round_decimal + +/// #longlong2str + +/// #long2str + +/// #parse_format diff --git a/src/MSL/printf.h b/src/MSL/printf.h index 8b13789179..8898c762aa 100644 --- a/src/MSL/printf.h +++ b/src/MSL/printf.h @@ -1 +1,20 @@ +#ifndef GALE01_323CF0 +#define GALE01_323CF0 +#include + +/* 323CF0 */ UNK_RET __stdio_atexit(UNK_PARAMS); +/* 323CF4 */ UNK_RET sprintf(UNK_PARAMS); +/* 323DC8 */ UNK_RET vsprintf(UNK_PARAMS); +/* 323E38 */ UNK_RET vprintf(UNK_PARAMS); +/* 323EB4 */ UNK_RET printf(UNK_PARAMS); +/* 323F80 */ UNK_RET __StringWrite(UNK_PARAMS); +/* 323FEC */ UNK_RET __FileWrite(UNK_PARAMS); +/* 324044 */ UNK_RET __pformatter(UNK_PARAMS); +/* 324674 */ UNK_RET float2str(UNK_PARAMS); +/* 324CAC */ UNK_RET round_decimal(UNK_PARAMS); +/* 324DE0 */ UNK_RET longlong2str(UNK_PARAMS); +/* 3250C0 */ UNK_RET long2str(UNK_PARAMS); +/* 3252E4 */ UNK_RET parse_format(UNK_PARAMS); + +#endif diff --git a/src/MetroTRK/dolphin_trk_glue.c b/src/MetroTRK/dolphin_trk_glue.c index 8b13789179..3de8897f3a 100644 --- a/src/MetroTRK/dolphin_trk_glue.c +++ b/src/MetroTRK/dolphin_trk_glue.c @@ -1 +1,24 @@ +/// #TRKLoadContext + +/// #TRKEXICallBack + +/// #InitMetroTRKCommTable + +void TRKUARTInterruptHandler(void) {} + +/// #TRKInitializeIntDrivenUART + +/// #EnableEXI2Interrupts + +/// #TRKPollUART + +/// #TRK_ReadUARTN + +/// #TRK_WriteUARTN + +/// #ReserveEXI2Port + +/// #UnreserveEXI2Port + +/// #TRK_board_display diff --git a/src/MetroTRK/dolphin_trk_glue.h b/src/MetroTRK/dolphin_trk_glue.h index 8b13789179..edf81464e7 100644 --- a/src/MetroTRK/dolphin_trk_glue.h +++ b/src/MetroTRK/dolphin_trk_glue.h @@ -1 +1,19 @@ +#ifndef GALE01_32AC28 +#define GALE01_32AC28 +#include + +/* 32AC28 */ UNK_RET TRKLoadContext(UNK_PARAMS); +/* 32ACB0 */ UNK_RET TRKEXICallBack(UNK_PARAMS); +/* 32ACE8 */ UNK_RET InitMetroTRKCommTable(UNK_PARAMS); +/* 32ADD0 */ UNK_RET TRKUARTInterruptHandler(UNK_PARAMS); +/* 32ADD4 */ UNK_RET TRKInitializeIntDrivenUART(UNK_PARAMS); +/* 32AE14 */ UNK_RET EnableEXI2Interrupts(UNK_PARAMS); +/* 32AE44 */ UNK_RET TRKPollUART(UNK_PARAMS); +/* 32AE74 */ UNK_RET TRK_ReadUARTN(UNK_PARAMS); +/* 32AEB8 */ UNK_RET TRK_WriteUARTN(UNK_PARAMS); +/* 32AEFC */ UNK_RET ReserveEXI2Port(UNK_PARAMS); +/* 32AF2C */ UNK_RET UnreserveEXI2Port(UNK_PARAMS); +/* 32AF5C */ UNK_RET TRK_board_display(UNK_PARAMS); + +#endif diff --git a/src/MetroTRK/serpoll.c b/src/MetroTRK/serpoll.c index 8b13789179..f7c2397f12 100644 --- a/src/MetroTRK/serpoll.c +++ b/src/MetroTRK/serpoll.c @@ -1 +1,11 @@ +/// #TRKTestForPacket +/// #TRKGetInput + +/// #TRKProcessInput + +/// #TRKInitializeSerialHandler + +/// #TRKTerminateSerialHandler + +void usr_put_initialize(void) {} diff --git a/src/MetroTRK/serpoll.h b/src/MetroTRK/serpoll.h index 8b13789179..5fc43461fc 100644 --- a/src/MetroTRK/serpoll.h +++ b/src/MetroTRK/serpoll.h @@ -1 +1,13 @@ +#ifndef GALE01_3274DC +#define GALE01_3274DC +#include + +/* 3274DC */ UNK_RET TRKTestForPacket(UNK_PARAMS); +/* 3275AC */ UNK_RET TRKGetInput(UNK_PARAMS); +/* 327628 */ UNK_RET TRKProcessInput(UNK_PARAMS); +/* 327678 */ UNK_RET TRKInitializeSerialHandler(UNK_PARAMS); +/* 32769C */ UNK_RET TRKTerminateSerialHandler(UNK_PARAMS); +/* 3276A4 */ UNK_RET usr_put_initialize(UNK_PARAMS); + +#endif diff --git a/src/dolphin/OdemuExi2/DebuggerDriver.c b/src/dolphin/OdemuExi2/DebuggerDriver.c index 8b13789179..86b494c202 100644 --- a/src/dolphin/OdemuExi2/DebuggerDriver.c +++ b/src/dolphin/OdemuExi2/DebuggerDriver.c @@ -1 +1,29 @@ +/// #DBGEXIImm +/// #DBGReadMailbox + +/// #DBGRead + +/// #DBGWrite + +/// #DBGReadStatus + +/// #MWCallback + +/// #DBGHandler + +/// #DBInitComm + +/// #DBInitInterrupts + +/// #DBQueryData + +/// #DBRead + +/// #DBWrite + +void DBOpen(void) {} + +void DBClose(void) {} + +/// #Hu_IsStub diff --git a/src/dolphin/OdemuExi2/DebuggerDriver.h b/src/dolphin/OdemuExi2/DebuggerDriver.h index 8b13789179..16abd8ccdd 100644 --- a/src/dolphin/OdemuExi2/DebuggerDriver.h +++ b/src/dolphin/OdemuExi2/DebuggerDriver.h @@ -1 +1,22 @@ +#ifndef GALE01_32AFE4 +#define GALE01_32AFE4 +#include + +/* 32AFE4 */ UNK_RET DBGEXIImm(UNK_PARAMS); +/* 32B27C */ UNK_RET DBGReadMailbox(UNK_PARAMS); +/* 32B328 */ UNK_RET DBGRead(UNK_PARAMS); +/* 32B404 */ UNK_RET DBGWrite(UNK_PARAMS); +/* 32B4E0 */ UNK_RET DBGReadStatus(UNK_PARAMS); +/* 32B58C */ UNK_RET MWCallback(UNK_PARAMS); +/* 32B5C8 */ UNK_RET DBGHandler(UNK_PARAMS); +/* 32B608 */ UNK_RET DBInitComm(UNK_PARAMS); +/* 32B680 */ UNK_RET DBInitInterrupts(UNK_PARAMS); +/* 32B6D4 */ UNK_RET DBQueryData(UNK_PARAMS); +/* 32B770 */ UNK_RET DBRead(UNK_PARAMS); +/* 32B7FC */ UNK_RET DBWrite(UNK_PARAMS); +/* 32BA5C */ UNK_RET DBOpen(UNK_PARAMS); +/* 32BA60 */ UNK_RET DBClose(UNK_PARAMS); +/* 32BA64 */ UNK_RET Hu_IsStub(UNK_PARAMS); + +#endif diff --git a/src/dolphin/gx/GXAttr.c b/src/dolphin/gx/GXAttr.c index dc2e173c12..f0af0bacc8 100644 --- a/src/dolphin/gx/GXAttr.c +++ b/src/dolphin/gx/GXAttr.c @@ -9,10 +9,7 @@ #include // https://decomp.me/scratch/d4i4k // 95 (98.90%) -void __GXXfVtxSpecs(void) -{ - NOT_IMPLEMENTED; -} +/// #__GXXfVtxSpecs /** * Sets the type of a single attribute (@p attr) in the current vertex @@ -120,10 +117,7 @@ void GXSetVtxDesc(GXAttr attr, s32 type) } // https://decomp.me/scratch/NAwYO // 4529 (49.68%) -void __GXSetVCD(void) -{ - NOT_IMPLEMENTED; -} +/// #__GXSetVCD void GXClearVtxDesc(void) { diff --git a/src/melee/ft/chara/ftCLink/ftCl_AppealS.c b/src/melee/ft/chara/ftCLink/ftCl_AppealS.c index 36f2a6527b..60232593f1 100644 --- a/src/melee/ft/chara/ftCLink/ftCl_AppealS.c +++ b/src/melee/ft/chara/ftCLink/ftCl_AppealS.c @@ -13,7 +13,7 @@ #include "ft/types.h" #include "ftLink/ftLk_Init.h" #include "ftLink/types.h" -#include "it/items/it_27CF.h" +#include "it/items/itclinkmilk.h" void ftCl_AppealS_Anim(HSD_GObj* gobj) { diff --git a/src/melee/ft/chara/ftCLink/inlines.h b/src/melee/ft/chara/ftCLink/inlines.h index f79f089985..87493c940a 100644 --- a/src/melee/ft/chara/ftCLink/inlines.h +++ b/src/melee/ft/chara/ftCLink/inlines.h @@ -6,7 +6,7 @@ #include "ft/types.h" #include "ftLink/types.h" -#include "it/items/it_27CF.h" +#include "it/items/itclinkmilk.h" #include diff --git a/src/melee/ft/chara/ftCommon/ftCo_ItemThrow.c b/src/melee/ft/chara/ftCommon/ftCo_ItemThrow.c index 0aabc6a379..8a56b65ce7 100644 --- a/src/melee/ft/chara/ftCommon/ftCo_ItemThrow.c +++ b/src/melee/ft/chara/ftCommon/ftCo_ItemThrow.c @@ -34,10 +34,7 @@ /* 0952A0 */ static void ftCo_80095700(ftCo_GObj* gobj, enum_t arg1); /* 0952C8 */ static UNK_RET lbl_80095728(UNK_PARAMS); /* 0952D8 */ static UNK_RET lbl_80095738(UNK_PARAMS); -/* 09542C */ static UNK_RET ftCo_8009588C(UNK_PARAMS); -/* 09543C */ static UNK_RET ftCo_8009589C(UNK_PARAMS); /* 09549C */ static void ftCo_800958FC(ftCo_GObj* gobj, int); -/* 095530 */ static UNK_RET ftCo_80095990(UNK_PARAMS); /* 095540 */ static UNK_RET ftCo_800959A0(UNK_PARAMS); /* 0955D0 */ static void ftCo_80095A30(ftCo_GObj* gobj); /* 0958FC */ static void ftCo_80095D5C(ftCo_Fighter* fp, Vec3* arg1); diff --git a/src/melee/ft/chara/ftCrazyHand/ftCh_Init.c b/src/melee/ft/chara/ftCrazyHand/ftCh_Init.c index a10cbcb84e..b952a75db2 100644 --- a/src/melee/ft/chara/ftCrazyHand/ftCh_Init.c +++ b/src/melee/ft/chara/ftCrazyHand/ftCh_Init.c @@ -16,6 +16,45 @@ #include #include +/* static */ void ftCh_Init_801566B4(void); +/* static */ void ftCh_Init_80156A5C(void); +/* static */ void ftCh_Init_80156688(void); +/* static */ void ftCh_Init_80156A5C(void); +/* static */ void ftCh_Init_801566E0(void); +/* static */ void ftCh_Init_80156A5C(void); +/* static */ void ftCh_Init_80156710(void); +/* static */ void ftCh_Init_80156A5C(void); +/* static */ void ftCh_Init_80156740(void); +/* static */ void ftCh_Init_80156A5C(void); +/* static */ void ftCh_Init_80156A5C(void); +/* static */ void ftCh_Init_80156770(void); +/* static */ void ftCh_Init_801567A0(void); +/* static */ void ftCh_Init_80156A5C(void); +/* static */ void ftCh_Init_801567AC(void); +/* static */ void ftCh_Init_80156A5C(void); +/* static */ void ftCh_Init_801567DC(void); +/* static */ void ftCh_Init_80156A5C(void); +/* static */ void ftCh_Init_8015683C(void); +/* static */ void ftCh_Init_80156A5C(void); +/* static */ void ftCh_Init_80156A5C(void); +/* static */ void ftCh_Init_80156A5C(void); +/* static */ void ftCh_Init_80156A5C(void); +/* static */ void ftCh_Init_80156A5C(void); +/* static */ void ftCh_Init_80156A5C(void); +/* static */ void ftCh_Init_8015686C(void); +/* static */ void ftCh_Init_80156878(void); +/* static */ void ftCh_Init_80156A5C(void); +/* static */ void ftCh_Init_80156A5C(void); +/* static */ void ftCh_Init_80156884(void); +/* static */ void ftCh_Init_80156898(void); +/* static */ void ftCh_Init_801568AC(void); +/* static */ void ftCh_Init_80156A5C(void); +/* static */ void ftCh_Init_80156A5C(void); +/* static */ void ftCh_Init_801568B8(void); +/* static */ void ftCh_Init_801568E8(void); +/* static */ void ftCh_Init_80156918(void); +/* static */ void ftCh_Init_80156948(void); + MotionState ftCh_Init_MotionStateTable[ftCh_MS_SelfCount] = { { // ftMh_MS_Wait1_0 = 341 @@ -568,6 +607,40 @@ Fighter_CostumeStrings ftCh_Init_CostumeStrings[] = { { ftCh_Init_803D4834, ftCh_Init_803D4840, NULL }, }; +jtbl_t ftCh_Init_803D4900 = { + ftCh_Init_801566B4, ftCh_Init_80156A5C, ftCh_Init_80156688, + ftCh_Init_80156A5C, ftCh_Init_801566E0, ftCh_Init_80156A5C, + ftCh_Init_80156710, ftCh_Init_80156A5C, ftCh_Init_80156740, + ftCh_Init_80156A5C, ftCh_Init_80156A5C, ftCh_Init_80156770, + ftCh_Init_801567A0, ftCh_Init_80156A5C, ftCh_Init_801567AC, + ftCh_Init_80156A5C, ftCh_Init_801567DC, ftCh_Init_80156A5C, + ftCh_Init_8015683C, ftCh_Init_80156A5C, ftCh_Init_80156A5C, + ftCh_Init_80156A5C, ftCh_Init_80156A5C, ftCh_Init_80156A5C, + ftCh_Init_80156A5C, ftCh_Init_8015686C, ftCh_Init_80156878, + ftCh_Init_80156A5C, ftCh_Init_80156A5C, ftCh_Init_80156884, + ftCh_Init_80156898, ftCh_Init_801568AC, ftCh_Init_80156A5C, + ftCh_Init_80156A5C, ftCh_Init_801568B8, ftCh_Init_801568E8, + ftCh_Init_80156918, ftCh_Init_80156948, +}; + +/* static */ void ftCh_GrabUnk1_8015B2FC(void); +/* static */ void ftCh_GrabUnk1_8015B35C(void); +/* static */ void ftCh_GrabUnk1_8015B390(void); +/* static */ void ftCh_GrabUnk1_8015B3B8(void); +/* static */ void ftCh_GrabUnk1_8015B3EC(void); +/* static */ void ftCh_GrabUnk1_8015B404(void); +/* static */ void ftCh_GrabUnk1_8015B43C(void); +/* static */ void ftCh_GrabUnk1_8015B46C(void); +/* static */ void ftCh_GrabUnk1_8015B4AC(void); +/* static */ void ftCh_GrabUnk1_8015B4BC(void); + +jtbl_t ftCh_Init_803D4998 = { + ftCh_GrabUnk1_8015B2FC, ftCh_GrabUnk1_8015B35C, ftCh_GrabUnk1_8015B390, + ftCh_GrabUnk1_8015B3B8, ftCh_GrabUnk1_8015B3EC, ftCh_GrabUnk1_8015B404, + ftCh_GrabUnk1_8015B43C, ftCh_GrabUnk1_8015B46C, ftCh_GrabUnk1_8015B4AC, + ftCh_GrabUnk1_8015B4BC, +}; + void ftCh_Init_OnDeath(HSD_GObj* gobj) {} void ftCh_Init_OnLoad(HSD_GObj* gobj) @@ -621,6 +694,514 @@ void ftCh_Init_LoadSpecialAttrs(HSD_GObj* gobj) COPY_ATTRS(gobj, ftCrazyHandAttributes); } +/// #ftCh_Init_80155FCC + +void ftCh_Init_80156014(HSD_GObj* gobj) {} + +/// #ftCh_Init_80156018 + +/// #ftCh_Init_801560D8 + +/// #ftCh_Init_80156198 + +/// #ftCh_Init_80156310 + +/// #ftCh_Wait1_0_Anim + +/// #ftCh_Wait1_0_IASA + +/// #ftCh_Wait1_0_Phys + +void ftCh_Wait1_0_Coll(HSD_GObj* gobj) {} + +/// #ftCh_Init_80156AD8 + +/// #fn_80156F6C + +/// #ftCh_Entry_Anim + +/// #ftCh_Entry_IASA + +/// #ftCh_Entry_Phys + +void ftCh_Entry_Coll(HSD_GObj* gobj) {} + +/// #fn_80157080 + +/// #ftCh_Damage_Anim + +/// #ftCh_Damage_IASA + +/// #ftCh_Damage_Phys + +void ftCh_Damage_Coll(HSD_GObj* gobj) {} + +/// #ftCh_Init_80157170 + +/// #ftCh_Damage2_Anim + +/// #ftCh_Damage2_IASA + +/// #ftCh_Damage2_Phys + +void ftCh_Damage2_Coll(HSD_GObj* gobj) {} + +/// #ftCh_Init_8015737C + +/// #ftCh_WaitSweep_Anim + +/// #ftCh_WaitSweep_Phys + +/// #ftCh_WaitSweep_IASA + +void ftCh_WaitSweep_Coll(HSD_GObj* gobj) {} + +/// #fn_8015746C + +/// #ftCh_SweepLoop_Anim + +/// #ftCh_SweepLoop_IASA + +/// #ftCh_SweepLoop_Phys + +void ftCh_SweepLoop_Coll(HSD_GObj* gobj) {} + +/// #fn_8015755C + +/// #ftCh_SweepWait_Anim + +/// #ftCh_SweepWait_IASA + +/// #ftCh_SweepWait_Phys + +void ftCh_SweepWait_Coll(HSD_GObj* gobj) {} + +/// #ftCh_Init_8015764C + +/// #ftCh_Slap_Anim + +/// #ftCh_Slap_IASA + +/// #ftCh_Slap_Phys + +/// #fn_801577B4 + +/// #ftCh_Init_801577F8 + +/// #ftCh_Walk2_Anim + +/// #ftCh_Walk2_IASA + +/// #ftCh_Walk2_Phys + +void ftCh_Slap_Coll(HSD_GObj* gobj) {} + +/// #fn_801578E8 + +/// #ftCh_WalkLoop_Anim + +/// #ftCh_WalkLoop_IASA + +/// #ftCh_WalkLoop_Phys + +void ftCh_WalkLoop_Coll(HSD_GObj* gobj) {} + +/// #ftCh_Init_801579F4 + +/// #ftCh_WalkWait_Anim + +/// #ftCh_WalkWait_IASA + +/// #ftCh_WalkWait_Phys + +void ftCh_WalkWait_Coll(HSD_GObj* gobj) {} + +/// #ftCh_Init_80157B58 + +/// #ftCh_WalkShoot_Anim + +/// #ftCh_WalkShoot_IASA + +/// #ftCh_WalkShoot_Phys + +void ftCh_WalkShoot_Coll(HSD_GObj* gobj) {} + +/// #fn_80157C50 + +/// #ftCh_Drill_Anim + +/// #ftCh_Drill_IASA + +/// #ftCh_Drill_Phys + +void ftCh_Drill_Coll(HSD_GObj* gobj) {} + +/// #ftCh_Init_80157DF8 + +/// #ftCh_RockCrushUp_Anim + +/// #ftCh_RockCrushWait_Anim + +/// #ftCh_RockCrushUp_IASA + +/// #ftCh_RockCrushUp_Phys + +void ftCh_RockCrushUp_Coll(HSD_GObj* gobj) {} + +/// #fn_80158144 + +/// #ftCh_RockCrushDown_Anim + +/// #ftCh_RockCrushDown_IASA + +/// #ftCh_RockCrushDown_Phys + +void ftCh_RockCrushDown_Coll(HSD_GObj* gobj) {} + +/// #fn_801582D8 + +/// #ftCh_PaperCrush_Anim + +/// #ftCh_PaperCrush_IASA + +/// #ftCh_PaperCrush_Phys + +void ftCh_PaperCrush_Coll(HSD_GObj* gobj) {} + +/// #ftCh_Init_801583E4 + +/// #ftCh_Poke1_Anim + +/// #ftCh_Poke1_IASA + +/// #ftCh_Poke1_Phys + +void ftCh_Poke1_Coll(HSD_GObj* gobj) {} + +/// #fn_80158534 + +/// #ftCh_Init_8015868C + +/// #ftCh_Poke2_Anim + +/// #ftCh_Poke2_IASA + +/// #ftCh_Poke2_Phys + +void ftCh_Poke2_Coll(HSD_GObj* gobj) {} + +/// #fn_801587B0 + +/// #ftCh_FingerBeamStart_Anim + +/// #ftCh_FingerBeamStart_IASA + +/// #ftCh_FingerBeamStart_Phys + +void ftCh_FingerBeamStart_Coll(HSD_GObj* gobj) {} + +/// #fn_801588B8 + +/// #ftCh_Init_80158B3C + +/// #ftCh_FingerBeamLoop_Anim + +/// #ftCh_FingerBeamLoop_IASA + +/// #ftCh_FingerBeamLoop_Phys + +void ftCh_FingerBeamLoop_Coll(HSD_GObj* gobj) {} + +/// #ftCh_Init_80158DFC + +/// #ftCh_FingerBeamEnd_Anim + +/// #ftCh_FingerBeamEnd_IASA + +/// #ftCh_FingerBeamEnd_Phys + +void ftCh_FingerBeamEnd_Coll(HSD_GObj* gobj) {} + +/// #ftCh_Init_80158F34 + +/// #ftCh_BackPunch_Anim + +/// #ftCh_BackPunch_IASA + +/// #ftCh_BackPunch_Phys + +void ftCh_BackPunch_Coll(HSD_GObj* gobj) {} + +/// #ftCh_Init_80159098 + +/// #ftCh_FingerGun1_Anim + +/// #ftCh_FingerGun1_IASA + +/// #ftCh_FingerGun1_Phys + +/// #ftCh_FingerGun1_Coll + +/// #fn_80159288 + +/// #ftCh_Init_801592D4 + +/// #ftCh_BackAirplane1_Anim + +/// #ftCh_BackAirplane1_IASA + +/// #ftCh_BackAirplane1_Phys + +/// #ftCh_BackAirplane1_Coll + +/// #ftCh_Init_801594D4 + +/// #ftCh_BackAirplane2_Anim + +/// #ftCh_BackAirplane2_IASA + +/// #ftCh_BackAirplane2_Phys + +void ftCh_BackAirplane2_Coll(HSD_GObj* gobj) {} + +/// #ftCh_Init_80159670 + +/// #ftCh_BackAirplane3_Anim + +/// #ftCh_BackAirplane3_IASA + +/// #ftCh_BackAirplane3_Phys + +void ftCh_BackAirplane3_Coll(HSD_GObj* gobj) {} + +/// #ftCh_Init_801597F0 + +/// #ftCh_BackCrush_Anim + +/// #ftCh_BackCrush_IASA + +/// #ftCh_BackCrush_Phys + +void ftCh_BackCrush_Coll(HSD_GObj* gobj) {} + +/// #fn_80159908 + +/// #ftCh_BackDisappear_Anim + +/// #ftCh_BackDisappear_IASA + +/// #ftCh_BackDisappear_Phys + +void ftCh_BackDisappear_Coll(HSD_GObj* gobj) {} + +/// #fn_80159AA4 + +/// #ftCh_Wait1_1_Anim + +/// #ftCh_Wait1_1_IASA + +/// #ftCh_Wait1_1_Phys + +void ftCh_Wait1_1_Coll(HSD_GObj* gobj) {} + +/// #ftCh_Init_80159F40 + +/// #ftCh_Grab_Anim + +/// #ftCh_Grab_IASA + +/// #ftCh_Grab_Phys + +void ftCh_Grab_Coll(HSD_GObj* gobj) {} + +/// #ftCh_Init_8015A030 + +/// #ftCh_Cancel_Anim + +/// #ftCh_Cancel_IASA + +/// #ftCh_Cancel_Phys + +void ftCh_Cancel_Coll(HSD_GObj* gobj) {} + +/// #ftCh_Init_8015A184 + +/// #ftCh_Squeezing0_Anim + +/// #ftCh_Squeezing0_IASA + +/// #ftCh_Squeezing0_Phys + +void ftCh_Squeezing0_Coll(HSD_GObj* gobj) {} + +/// #ftCh_Init_8015A2B0 + +/// #ftCh_Squeezing1_Anim + +/// #ftCh_Squeezing1_IASA + +/// #ftCh_Squeezing1_Phys + +void ftCh_Squeezing1_Coll(HSD_GObj* gobj) {} + +/// #ftCh_Init_8015A3F4 + +/// #ftCh_Squeeze_Anim + +/// #ftCh_Squeeze_IASA + +/// #ftCh_Squeeze_Phys + +void ftCh_Squeeze_Coll(HSD_GObj* gobj) {} + +/// #ftCh_Init_8015A560 + +/// #ftCh_Throw_Anim + +/// #ftCh_Throw_IASA + +/// #ftCh_Throw_Phys + +void ftCh_Throw_Coll(HSD_GObj* gobj) {} + +/// #ftCh_Slam_Anim + +/// #ftCh_Slam_IASA + +/// #ftCh_Slam_Phys + +void ftCh_Slam_Coll(HSD_GObj* gobj) {} + +/// #ftCh_Fail_Anim + +/// #ftCh_Fail_IASA + +/// #ftCh_Fail_Phys + +void ftCh_Fail_Coll(HSD_GObj* gobj) {} + +/// #ftCh_GrabUnk1_8015A888 + +/// #ftCh_TagCrush_Anim + +/// #ftCh_TagCrush_IASA + +/// #ftCh_TagCrush_Phys + +void ftCh_TagCrush_Coll(HSD_GObj* gobj) {} + +/// #ftCh_TagApplaud_Anim + +/// #ftCh_TagApplaud_IASA + +/// #ftCh_TagApplaud_Phys + +/// #ftCh_TagApplaud_Coll + +/// #fn_8015AAC8 + +/// #ftCh_TagRockPaper_Anim + +/// #ftCh_TagRockPaper_IASA + +void ftCh_TagRockPaper_Phys(HSD_GObj* gobj) {} + +void ftCh_TagRockPaper_Coll(HSD_GObj* gobj) {} + +/// #ftCh_GrabUnk1_8015ABD0 + +/// #ftCh_GrabUnk1_8015AC50 + +/// #ftCh_FingerGun2_Anim + +/// #ftCh_FingerGun2_IASA + +/// #ftCh_FingerGun2_Phys + +void ftCh_FingerGun2_Coll(HSD_GObj* gobj) {} + +/// #ftCh_GrabUnk1_8015ADD0 + +/// #ftCh_TagGrab_Anim + +/// #ftCh_TagSqueeze_Anim + +/// #ftCh_TagGrab_IASA + +/// #ftCh_TagGrab_Phys + +void ftCh_TagGrab_Coll(HSD_GObj* gobj) {} + +/// #ftCh_GrabUnk1_8015B174 + +/// #ftCh_TagFail_Anim + +/// #ftCh_TagFail_IASA + +void ftCh_TagFail_Phys(HSD_GObj* gobj) {} + +void ftCh_TagFail_Coll(HSD_GObj* gobj) {} + +/// #fn_8015B2C0 + +/// #fn_8015B4EC + +/// #fn_8015B548 + +void ftCo_CaptureCrazyHand_Anim(HSD_GObj* gobj) {} + +void ftCo_CaptureCrazyHand_IASA(HSD_GObj* gobj) {} + +void ftCo_CaptureCrazyHand_Phys(HSD_GObj* gobj) {} + +void ftCo_CaptureCrazyHand_Coll(HSD_GObj* gobj) {} + +/// #ftCh_GrabUnk1_8015B670 + +/// #ftCo_CaptureDamageCrazyHand_Anim + +void ftCo_CaptureDamageCrazyHand_IASA(HSD_GObj* gobj) {} + +void ftCo_CaptureDamageCrazyHand_Phys(HSD_GObj* gobj) {} + +void ftCo_CaptureDamageCrazyHand_Coll(HSD_GObj* gobj) {} + +/// #ftCh_GrabUnk1_8015B778 + +/// #ftCh_GrabUnk1_8015B800 + +void ftCo_CaptureWaitCrazyHand_Anim(HSD_GObj* gobj) {} + +void ftCo_CaptureWaitCrazyHand_IASA(HSD_GObj* gobj) {} + +void ftCo_CaptureWaitCrazyHand_Phys(HSD_GObj* gobj) {} + +void ftCo_CaptureWaitCrazyHand_Coll(HSD_GObj* gobj) {} + +/// #ftCh_GrabUnk1_8015B850 + +void ftCo_ThrownCrazyHand_Anim(HSD_GObj* gobj) {} + +void ftCo_ThrownCrazyHand_IASA(HSD_GObj* gobj) {} + +void ftCo_ThrownCrazyHand_Phys(HSD_GObj* gobj) {} + +void ftCo_ThrownCrazyHand_Coll(HSD_GObj* gobj) {} + +/// #ftCh_GrabUnk1_8015B8FC + +/// #ftCh_GrabUnk1_8015B998 + +/// #ftCh_GrabUnk1_8015BA34 + +/// #ftCh_TagCancel_Anim + +/// #ftCh_TagCancel_Phys + +/// #ftCh_TagCancel_Coll + +/// #ftCh_GrabUnk1_8015BC88 + struct { enum_t asids[18]; s8 bytes[64]; @@ -636,76 +1217,3 @@ struct { 1, 2, 3, 4, 5, 0, 2, 3, 4, 5, 0, 1, 3, 4, 5, 0, 1, 2, 4, 5, 0, 1, 2, 3, 5, 0, 1, 2, 3, 4, 0, 0 }, }; - -/* static */ void ftCh_Init_801566B4(void); -/* static */ void ftCh_Init_80156A5C(void); -/* static */ void ftCh_Init_80156688(void); -/* static */ void ftCh_Init_80156A5C(void); -/* static */ void ftCh_Init_801566E0(void); -/* static */ void ftCh_Init_80156A5C(void); -/* static */ void ftCh_Init_80156710(void); -/* static */ void ftCh_Init_80156A5C(void); -/* static */ void ftCh_Init_80156740(void); -/* static */ void ftCh_Init_80156A5C(void); -/* static */ void ftCh_Init_80156A5C(void); -/* static */ void ftCh_Init_80156770(void); -/* static */ void ftCh_Init_801567A0(void); -/* static */ void ftCh_Init_80156A5C(void); -/* static */ void ftCh_Init_801567AC(void); -/* static */ void ftCh_Init_80156A5C(void); -/* static */ void ftCh_Init_801567DC(void); -/* static */ void ftCh_Init_80156A5C(void); -/* static */ void ftCh_Init_8015683C(void); -/* static */ void ftCh_Init_80156A5C(void); -/* static */ void ftCh_Init_80156A5C(void); -/* static */ void ftCh_Init_80156A5C(void); -/* static */ void ftCh_Init_80156A5C(void); -/* static */ void ftCh_Init_80156A5C(void); -/* static */ void ftCh_Init_80156A5C(void); -/* static */ void ftCh_Init_8015686C(void); -/* static */ void ftCh_Init_80156878(void); -/* static */ void ftCh_Init_80156A5C(void); -/* static */ void ftCh_Init_80156A5C(void); -/* static */ void ftCh_Init_80156884(void); -/* static */ void ftCh_Init_80156898(void); -/* static */ void ftCh_Init_801568AC(void); -/* static */ void ftCh_Init_80156A5C(void); -/* static */ void ftCh_Init_80156A5C(void); -/* static */ void ftCh_Init_801568B8(void); -/* static */ void ftCh_Init_801568E8(void); -/* static */ void ftCh_Init_80156918(void); -/* static */ void ftCh_Init_80156948(void); - -jtbl_t ftCh_Init_803D4900 = { - ftCh_Init_801566B4, ftCh_Init_80156A5C, ftCh_Init_80156688, - ftCh_Init_80156A5C, ftCh_Init_801566E0, ftCh_Init_80156A5C, - ftCh_Init_80156710, ftCh_Init_80156A5C, ftCh_Init_80156740, - ftCh_Init_80156A5C, ftCh_Init_80156A5C, ftCh_Init_80156770, - ftCh_Init_801567A0, ftCh_Init_80156A5C, ftCh_Init_801567AC, - ftCh_Init_80156A5C, ftCh_Init_801567DC, ftCh_Init_80156A5C, - ftCh_Init_8015683C, ftCh_Init_80156A5C, ftCh_Init_80156A5C, - ftCh_Init_80156A5C, ftCh_Init_80156A5C, ftCh_Init_80156A5C, - ftCh_Init_80156A5C, ftCh_Init_8015686C, ftCh_Init_80156878, - ftCh_Init_80156A5C, ftCh_Init_80156A5C, ftCh_Init_80156884, - ftCh_Init_80156898, ftCh_Init_801568AC, ftCh_Init_80156A5C, - ftCh_Init_80156A5C, ftCh_Init_801568B8, ftCh_Init_801568E8, - ftCh_Init_80156918, ftCh_Init_80156948, -}; - -/* static */ void ftCh_GrabUnk1_8015B2FC(void); -/* static */ void ftCh_GrabUnk1_8015B35C(void); -/* static */ void ftCh_GrabUnk1_8015B390(void); -/* static */ void ftCh_GrabUnk1_8015B3B8(void); -/* static */ void ftCh_GrabUnk1_8015B3EC(void); -/* static */ void ftCh_GrabUnk1_8015B404(void); -/* static */ void ftCh_GrabUnk1_8015B43C(void); -/* static */ void ftCh_GrabUnk1_8015B46C(void); -/* static */ void ftCh_GrabUnk1_8015B4AC(void); -/* static */ void ftCh_GrabUnk1_8015B4BC(void); - -jtbl_t ftCh_Init_803D4998 = { - ftCh_GrabUnk1_8015B2FC, ftCh_GrabUnk1_8015B35C, ftCh_GrabUnk1_8015B390, - ftCh_GrabUnk1_8015B3B8, ftCh_GrabUnk1_8015B3EC, ftCh_GrabUnk1_8015B404, - ftCh_GrabUnk1_8015B43C, ftCh_GrabUnk1_8015B46C, ftCh_GrabUnk1_8015B4AC, - ftCh_GrabUnk1_8015B4BC, -}; diff --git a/src/melee/ft/chara/ftGameWatch/ftGw_SpecialHi.c b/src/melee/ft/chara/ftGameWatch/ftGw_SpecialHi.c index 04f80bffc9..2bc24d06ce 100644 --- a/src/melee/ft/chara/ftGameWatch/ftGw_SpecialHi.c +++ b/src/melee/ft/chara/ftGameWatch/ftGw_SpecialHi.c @@ -17,7 +17,7 @@ #include "ft/ftparts.h" #include "ft/types.h" #include "ftCommon/ftCo_FallSpecial.h" -#include "it/items/it_27CF.h" +#include "it/items/itgamewatchrescue.h" #include "lb/lb_00B0.h" #include diff --git a/src/melee/ft/chara/ftGameWatch/ftGw_SpecialN.c b/src/melee/ft/chara/ftGameWatch/ftGw_SpecialN.c index 6c850c97d2..dcc97cf478 100644 --- a/src/melee/ft/chara/ftGameWatch/ftGw_SpecialN.c +++ b/src/melee/ft/chara/ftGameWatch/ftGw_SpecialN.c @@ -10,7 +10,7 @@ #include "ft/ftcommon.h" #include "ft/ftparts.h" #include "ft/types.h" -#include "it/items/it_27CF.h" +#include "it/items/itgamewatchchef.h" #include "lb/lb_00B0.h" #include diff --git a/src/melee/ft/chara/ftKirby/ftKb_Init.c b/src/melee/ft/chara/ftKirby/ftKb_Init.c index b8828c1879..43ecd5c1f2 100644 --- a/src/melee/ft/chara/ftKirby/ftKb_Init.c +++ b/src/melee/ft/chara/ftKirby/ftKb_Init.c @@ -3158,6 +3158,10 @@ void ftKb_Init_LoadSpecialAttrs(HSD_GObj* gobj) COPY_ATTRS(gobj, ftKb_DatAttrs); } +/// #ftKb_Init_800EEB00 + +/// #ftKb_Init_800EEB1C + void ftKb_Init_OnKnockbackEnter(HSD_GObj* gobj) { Fighter_OnKnockbackEnter(gobj, 1); @@ -3181,6 +3185,38 @@ void ftKb_Init_UnkDemoCallbacks0(int arg0, int* arg1, int* arg2) } } +/// #ftKb_Init_GetMotionFileString + +/// #ftKb_SpecialN_800EEC34 + +/// #ftKb_SpecialN_800EED50 + +/// #ftKb_Init_UnkMotionStates5 + +/// #ftKb_SpecialN_800EEEC4 + +/// #ftKb_UnkMtxFunc0 + +/// #ftKb_Init_UnkMotionStates6 + +/// #ftKb_SpecialN_800EF040 + +/// #ftKb_SpecialN_800EF0E4 + +/// #ftKb_SpecialN_800EF35C + +/// #ftKb_SpecialN_800EF438 + +/// #ftKb_SpecialN_800EF69C + +/// #ftKb_UnkIntBoolFunc0 + +/// #ftKb_Init_UnkCallbackPairs0_0 + +/// #ftKb_Init_UnkCallbackPairs0_1 + +/// #ftKb_SpecialN_800EFA40 + void ftKb_SpecialN_800EFAF0(HSD_GObj* gobj) { Fighter* fp = GET_FIGHTER(gobj); @@ -3223,6 +3259,16 @@ void ftKb_SpecialN_800EFB4C(HSD_GObj* gobj) } } +/// #ftKb_SpecialN_800EFBFC + +/// #ftKb_SpecialN_800EFC58 + +/// #ftKb_SpecialN_800EFD08 + +/// #ftKb_SpecialN_800EFD64 + +/// #ftKb_SpecialN_800EFE1C + void ftKb_SpecialN_800EFE80(HSD_GObj* gobj) { Fighter* fp = GET_FIGHTER(gobj); @@ -3243,6 +3289,392 @@ void ftKb_SpecialN_800EFE80(HSD_GObj* gobj) } } +/// #ftKb_SpecialN_800EFF38 + +/// #ftKb_SpecialN_800EFF9C + +/// #ftKb_SpecialN_800F0054 + +/// #ftKb_SpecialN_800F00B8 + +/// #ftKb_SpecialN_800F0168 + +/// #ftKb_SpecialN_800F01C4 + +/// #ftKb_SpecialN_800F0274 + +/// #ftKb_SpecialN_800F02D0 + +/// #ftKb_SpecialN_800F0380 + +/// #ftKb_SpecialN_800F03DC + +/// #ftKb_SpecialN_800F0494 + +/// #ftKb_SpecialN_800F04F8 + +/// #ftKb_SpecialN_800F05A8 + +/// #ftKb_SpecialN_800F0604 + +/// #ftKb_SpecialN_800F06B4 + +/// #ftKb_SpecialN_800F0710 + +/// #ftKb_SpecialN_800F07C0 + +/// #ftKb_SpecialN_800F081C + +/// #ftKb_SpecialN_800F08D4 + +/// #ftKb_SpecialN_800F0938 + +/// #ftKb_SpecialN_800F09F0 + +/// #ftKb_SpecialN_800F0A54 + +/// #ftKb_SpecialN_800F0B0C + +/// #ftKb_SpecialN_800F0B70 + +/// #ftKb_SpecialN_800F0C20 + +/// #ftKb_SpecialN_800F0C7C + +/// #ftKb_SpecialN_800F0D34 + +/// #ftKb_SpecialN_800F0D98 + +/// #ftKb_SpecialN_800F0E48 + +/// #ftKb_SpecialN_800F0EA4 + +/// #ftKb_SpecialN_800F0F5C + +/// #ftKb_SpecialN_800F0FC0 + +/// #ftKb_SpecialN_800F10A4 + +/// #ftKb_SpecialN_800F10D4 + +/// #ftKb_SpecialN_800F11AC + +/// #ftKb_SpecialN_800F11F0 + +/// #ftKb_SpecialN_800F12C8 + +/// #ftKb_SpecialN_800F130C + +/// #ftKb_SpecialN_800F13F0 + +/// #ftKb_SpecialN_800F1420 + +/// #ftKb_SpecialN_800F14B4 + +/// #ftKb_SpecialN_800F15D8 + +/// #ftKb_SpecialN_Enter + +/// #ftKb_SpecialAirN_Enter + +/// #ftKb_SpecialN_800F16D0 + +/// #ftKb_SpecialN_800F190C + +/// #ftKb_SpecialN_800F19AC + +/// #ftKb_SpecialN_800F1A8C + +/// #ftKb_Init_UnkMotionStates3 + +/// #ftKb_SpecialN_800F1BAC + +/// #fn_800F1CA0 + +/// #ftKb_SpecialN_800F1CD8 + +/// #ftKb_SpecialN_800F1D24 + +/// #ftKb_SpecialN_800F1DAC + +/// #ftKb_SpecialN_800F1F1C + +/// #ftKb_SpecialN_800F1F68 + +/// #fn_800F1FDC + +/// #ftKb_AttackDash_Anim + +/// #ftKb_AttackDash_IASA + +/// #ftKb_AttackDash_Phys + +/// #ftKb_AttackDash_Coll + +/// #fn_800F20C4 + +/// #ftKb_AttackDashAir_Anim + +void ftKb_AttackDashAir_IASA(ftKb_GObj* gobj) {} + +/// #ftKb_AttackDashAir_Phys + +/// #ftKb_AttackDashAir_Coll + +/// #ftKb_AttackDashAir_800F21C0 + +/// #fn_800F21E8 + +/// #ftKb_AttackDashAir_800F22D4 + +/// #ftKb_SpecialHi_Enter + +/// #ftKb_SpecialAirHi_Enter + +/// #ftKb_SpecialHi1_Anim + +/// #ftKb_SpecialHi2_Anim + +void ftKb_SpecialHi3_Anim(ftKb_GObj* gobj) {} + +void ftKb_SpecialAirHiEnd_IASA(ftKb_GObj* gobj) {} + +void ftKb_SpecialLw1_IASA(ftKb_GObj* gobj) {} + +void ftKb_SpecialLwEnd_IASA(ftKb_GObj* gobj) {} + +void ftKb_SpecialAirLwStart_IASA(ftKb_GObj* gobj) {} + +void ftKb_SpecialAirLwEnd_IASA(ftKb_GObj* gobj) {} + +void ftKb_SpecialNLoop_Anim(ftKb_GObj* gobj) {} + +void ftKb_SpecialAirNLoop_Anim(ftKb_GObj* gobj) {} + +void ftKb_EatWait_Anim(ftKb_GObj* gobj) {} + +void ftKb_SpecialAirNCaptureWait_Anim(ftKb_GObj* gobj) {} + +void ftKb_EatJump2_Anim(ftKb_GObj* gobj) {} + +void ftKb_CaSpecialN_IASA(ftKb_GObj* gobj) {} + +void ftKb_PkSpecialN_IASA(ftKb_GObj* gobj) {} + +void ftKb_PkSpecialAirN_IASA(ftKb_GObj* gobj) {} + +void ftKb_KpSpecialNStart_IASA(ftKb_GObj* gobj) {} + +void ftKb_KpSpecialNEnd_IASA(ftKb_GObj* gobj) {} + +void ftKb_KpSpecialAirNStart_IASA(ftKb_GObj* gobj) {} + +void ftKb_KpSpecialAirNEnd_IASA(ftKb_GObj* gobj) {} + +void ftKb_LkSpecialNEnd_IASA(ftKb_GObj* gobj) {} + +void ftKb_LkSpecialAirNEnd_IASA(ftKb_GObj* gobj) {} + +void ftKb_SsSpecialNStart_IASA(ftKb_GObj* gobj) {} + +void ftKb_SsSpecialNCancel_IASA(ftKb_GObj* gobj) {} + +void ftKb_SsSpecialN_IASA(ftKb_GObj* gobj) {} + +void ftKb_SsSpecialAirNStart_IASA(ftKb_GObj* gobj) {} + +void ftKb_SsSpecialAirN_IASA(ftKb_GObj* gobj) {} + +void ftKb_FxSpecialNEnd_IASA(ftKb_GObj* gobj) {} + +void ftKb_FxSpecialAirNEnd_IASA(ftKb_GObj* gobj) {} + +void ftKb_NsSpecialNStart_IASA(ftKb_GObj* gobj) {} + +void ftKb_NsSpecialNEnd_IASA(ftKb_GObj* gobj) {} + +void ftKb_NsSpecialAirNStart_IASA(ftKb_GObj* gobj) {} + +void ftKb_NsSpecialAirNEnd_IASA(ftKb_GObj* gobj) {} + +void ftKb_DkSpecialNStart_IASA(ftKb_GObj* gobj) {} + +void ftKb_DkSpecialNCancel_IASA(ftKb_GObj* gobj) {} + +void ftKb_DkSpecialN_IASA(ftKb_GObj* gobj) {} + +void ftKb_DkSpecialNFull_IASA(ftKb_GObj* gobj) {} + +void ftKb_DkSpecialAirNStart_IASA(ftKb_GObj* gobj) {} + +void ftKb_DkSpecialAirNCancel_IASA(ftKb_GObj* gobj) {} + +void ftKb_DkSpecialAirN_IASA(ftKb_GObj* gobj) {} + +void ftKb_DkSpecialAirNFull_IASA(ftKb_GObj* gobj) {} + +void ftKb_PrSpecialNStart_IASA(ftKb_GObj* gobj) {} + +void ftKb_PrSpecialNTurn_IASA(ftKb_GObj* gobj) {} + +void ftKb_PrSpecialNEnd_IASA(ftKb_GObj* gobj) {} + +void ftKb_PrSpecialAirNStart_IASA(ftKb_GObj* gobj) {} + +void ftKb_PrSpecialAirN_IASA(ftKb_GObj* gobj) {} + +void ftKb_PrSpecialN_IASA(ftKb_GObj* gobj) {} + +void ftKb_PrSpecialAirNEndR_IASA(ftKb_GObj* gobj) {} + +void ftKb_PrSpecialNHit_IASA(ftKb_GObj* gobj) {} + +void ftKb_ZdSpecialN_IASA(ftKb_GObj* gobj) {} + +void ftKb_ZdSpecialAirN_IASA(ftKb_GObj* gobj) {} + +void fn_80105FEC(void) {} + +void ftKb_SkSpecialNStart_IASA(ftKb_GObj* gobj) {} + +void ftKb_SkSpecialNCancel_IASA(ftKb_GObj* gobj) {} + +void ftKb_SkSpecialNEnd_IASA(ftKb_GObj* gobj) {} + +void ftKb_SkSpecialAirNStart_IASA(ftKb_GObj* gobj) {} + +void ftKb_SkSpecialAirNCancel_IASA(ftKb_GObj* gobj) {} + +void ftKb_SkSpecialAirNEnd_IASA(ftKb_GObj* gobj) {} + +/// #ftKb_SpecialHi4_Anim + +/// #ftKb_SpecialAirHi1_Anim + +/// #ftKb_SpecialAirHi2_Anim + +void ftKb_SpecialAirHi3_Anim(ftKb_GObj* gobj) {} + +/// #ftKb_SpecialAirHiEnd_Anim + +/// #ftKb_SpecialHi1_IASA + +void ftKb_SpecialHi2_IASA(ftKb_GObj* gobj) {} + +void ftKb_SpecialHi3_IASA(ftKb_GObj* gobj) {} + +void ftKb_SpecialHi4_IASA(ftKb_GObj* gobj) {} + +/// #ftKb_SpecialAirHi1_IASA + +void ftKb_SpecialAirHi2_IASA(ftKb_GObj* gobj) {} + +void ftKb_SpecialAirHi3_IASA(ftKb_GObj* gobj) {} + +/// #ftKb_SpecialAirHiEnd_IASA + +/// #ftKb_SpecialHi1_Phys + +/// #ftKb_SpecialHi2_Phys + +/// #ftKb_SpecialHi3_Phys + +/// #ftKb_SpecialHi4_Phys + +/// #ftKb_SpecialAirHi1_Phys + +/// #ftKb_SpecialAirHi2_Phys + +/// #ftKb_SpecialAirHi3_Phys + +/// #ftKb_SpecialAirHiEnd_Phys + +/// #ftKb_SpecialHi1_Coll + +/// #ftKb_SpecialHi2_Coll + +/// #ftKb_SpecialHi3_Coll + +/// #ftKb_SpecialHi4_Coll + +/// #ftKb_SpecialAirHi1_Coll + +/// #ftKb_SpecialAirHi2_Coll + +/// #ftKb_SpecialAirHi3_Coll + +/// #ftKb_SpecialAirHiEnd_Coll + +/// #ftKb_SpecialHi_800F331C + +/// #ftKb_SpecialHi_800F346C + +/// #ftKb_SpecialHi_800F3570 + +/// #ftKb_SpecialHi_800F36DC + +/// #ftKb_SpecialHi_800F37EC + +/// #ftKb_SpecialHi_800F3B28 + +/// #ftKb_SpecialLw_Enter + +/// #ftKb_SpecialAirLw_Enter + +/// #ftKb_SpecialLw1_Anim + +/// #ftKb_SpecialLw_Anim + +/// #ftKb_SpecialLwEnd_Anim + +/// #ftKb_SpecialAirLwStart_Anim + +/// #ftKb_SpecialAirLw_Anim + +/// #ftKb_SpecialAirLwEnd_Anim + +/// #ftKb_SpecialLw1_IASA + +/// #ftKb_SpecialLw_IASA + +/// #ftKb_SpecialLwEnd_IASA + +/// #ftKb_SpecialAirLwStart_IASA + +/// #ftKb_SpecialAirLw_IASA + +/// #ftKb_SpecialAirLwEnd_IASA + +/// #ftKb_SpecialLw1_Phys + +/// #ftKb_SpecialLw_Phys + +/// #ftKb_SpecialLwEnd_Phys + +/// #ftKb_SpecialAirLwStart_Phys + +/// #ftKb_SpecialAirLw_Phys + +/// #ftKb_SpecialAirLwEnd_Phys + +/// #ftKb_SpecialLw1_Coll + +/// #ftKb_SpecialLw_Coll + +/// #ftKb_SpecialLwEnd_Coll + +/// #ftKb_SpecialAirLwStart_Coll + +/// #ftKb_SpecialAirLw_Coll + +/// #ftKb_SpecialAirLwEnd_Coll + +/// #ftKb_SpecialAirLw_800F5318 + +/// #ftKb_SpecialAirLw_800F539C + +/// #fn_800F53AC + void ftKb_SpecialAirLw_800F5524(HSD_GObj* gobj) { Fighter* fp = gobj->user_data; @@ -3252,6 +3684,66 @@ void ftKb_SpecialAirLw_800F5524(HSD_GObj* gobj) } } +/// #ftKb_SpecialS_Enter + +/// #ftKb_SpecialAirS_Enter + +/// #ftKb_SpecialS_Anim + +/// #ftKb_SpecialAirS_Anim + +/// #ftKb_SpecialS_Phys + +/// #ftKb_SpecialAirS_Phys + +/// #ftKb_SpecialS_Coll + +/// #ftKb_SpecialAirS_Coll + +/// #ftKb_SpecialN_800F5800 + +/// #ftKb_SpecialN_800F5820 + +/// #ftKb_SpecialN_800F5874 + +/// #ftKb_SpecialN_800F5898 + +/// #ftKb_SpecialN_800F58AC + +/// #ftKb_SpecialN_800F58D8 + +/// #ftKb_SpecialN_800F5954 + +/// #ftKb_SpecialN_800F597C + +/// #ftKb_SpecialN_800F598C + +/// #ftKb_SpecialN_800F5A04 + +/// #ftKb_SpecialN_800F5A38 + +/// #ftKb_SpecialN_800F5A60 + +/// #ftKb_SpecialN_800F5A70 + +/// #ftKb_SpecialN_800F5A88 + +/// #ftKb_SpecialN_800F5A98 + +/// #ftKb_SpecialN_800F5AB0 + +/// #ftKb_SpecialN_800F5AC0 + +/// #ftKb_SpecialN_800F5AD8 + +/// #ftKb_SpecialN_800F5AF0 + +/// #ftKb_SpecialN_800F5B00 + +/// #ftKb_SpecialN_800F5B10 + +/// #ftKb_SpecialN_800F5B20 + float ftKb_SpecialN_800F5B3C(HSD_GObj* gobj) { Fighter* fp = GET_FIGHTER(gobj); @@ -3259,6 +3751,20 @@ float ftKb_SpecialN_800F5B3C(HSD_GObj* gobj) return da->specialn_gravity_of_inhaled; } +/// #ftKb_SpecialN_800F5B4C + +/// #ftKb_SpecialN_800F5B5C + +/// #ftKb_SpecialN_800F5BA4 + +/// #ftKb_SpecialN_800F5C34 + +/// #ftKb_SpecialN_800F5D04 + +/// #ftKb_SpecialN_800F5DE8 + +/// #ftKb_SpecialN_800F5EA8 + void ftKb_SpecialN_800F5F68(HSD_GObj* gobj) { Fighter* fp = gobj->user_data; @@ -3287,6 +3793,8 @@ void ftKb_SpecialN_800F5F68(HSD_GObj* gobj) } } +/// #ftKb_SpecialN_800F6070 + void fn_800F6178(HSD_GObj* gobj) { Fighter* fp = GET_FIGHTER(gobj); @@ -3300,8 +3808,44 @@ void fn_800F6178(HSD_GObj* gobj) ftCommon_8007E2F4(fp, 0x1FF); } -/// Fighter_CollGround_PassLedgeCB -void fn_800F6AC8(HSD_GObj* gobj) +/// #fn_800F6210 + +/// #fn_800F6280 + +/// #fn_800F6318 + +/// #ftKb_SpecialN_800F6388 + +/// #ftKb_SpecialN_800F63EC + +/// #fn_800F6450 + +/// #fn_800F64C8 + +/// #fn_800F6528 + +/// #fn_800F6588 + +/// #fn_800F6638 + +/// #fn_800F66E8 + +/// #fn_800F6798 + +/// #fn_800F6848 + +/// #fn_800F68A8 + +/// #fn_800F6908 + +/// #fn_800F697C + +/// #fn_800F69E8 + +/// #fn_800F6A5C + +/// Fighter_CollGround_PassLedgeCB +void fn_800F6AC8(HSD_GObj* gobj) { /// @todo Named flags. static u32 const mf = (1 << 1) | (1 << 4) | (1 << 7) | (1 << 12) | @@ -3315,207 +3859,1403 @@ void fn_800F6AC8(HSD_GObj* gobj) ftCommon_8007E2F4(fp, 0x1FF); } -void ftKb_Eat_Anim(HSD_GObj* gobj) -{ - if (!ftAnim_IsFramesRemaining(gobj)) { - Fighter* fp = GET_FIGHTER(gobj); - PAD_STACK(4); - Fighter_ChangeMotionState(gobj, ftKb_MS_EatWait, Ft_MF_SkipModel, 0, 1, - 0, NULL); - ftKb_SpecialN_800F9070(gobj); - ftAnim_8006EBA4(gobj); - ftCommon_8007E2F4(fp, 0x1FF); - } -} +/// #fn_800F6B3C + +/// #ftKb_SpecialS_800F6BB0 + +/// #fn_800F6C24 + +/// #fn_800F6C98 + +/// #fn_800F6D0C + +/// #fn_800F6D80 + +/// #fn_800F6DF4 + +/// #fn_800F6E68 + +/// #fn_800F6EDC + +/// #fn_800F6F50 + +/// #fn_800F6FC4 + +/// #fn_800F702C + +/// #ftKb_SpecialN_Anim + +/// #ftKb_SpecialAirN_Anim + +/// #ftKb_SpecialNLoop_Anim + +/// #ftKb_SpecialAirNLoop_Anim + +/// #ftKb_SpecialNEnd_Anim + +/// #ftKb_SpecialAirNEnd_Anim + +/// #ftKb_SpecialNCapture0_Anim + +/// #ftKb_SpecialNCapture_Anim + +/// #ftKb_SpecialNCapture1_Anim + +/// #ftKb_SpecialAirNCapture_Anim + +void ftKb_Eat_Anim(HSD_GObj* gobj) +{ + if (!ftAnim_IsFramesRemaining(gobj)) { + Fighter* fp = GET_FIGHTER(gobj); + PAD_STACK(4); + Fighter_ChangeMotionState(gobj, ftKb_MS_EatWait, Ft_MF_SkipModel, 0, 1, + 0, NULL); + ftKb_SpecialN_800F9070(gobj); + ftAnim_8006EBA4(gobj); + ftCommon_8007E2F4(fp, 0x1FF); + } +} + +/// #ftKb_SpecialAirNCaptured_Anim + +/// #ftKb_EatWait_Anim + +/// #ftKb_SpecialAirNCaptureWait_Anim + +/// #ftKb_SpecialNSpit0_Anim + +/// #ftKb_SpecialNSpit_Anim + +/// #ftKb_SpecialNSpit1_Anim + +/// #ftKb_SpecialAirNSpit_Anim + +/// #ftKb_SpecialNDrink0_Anim + +/// #ftKb_SpecialNDrink_Anim + +/// #ftKb_SpecialNDrink1_Anim + +/// #ftKb_SpecialAirNDrink_Anim + +/// #ftKb_EatTurn_Anim + +/// #ftKb_SpecialAirNCaptureTurn_Anim + +/// #ftKb_EatWalk_Anim + +/// #ftKb_EatJump1_Anim + +/// #ftKb_EatJump2_Anim + +/// #ftKb_EatLanding_Anim + +/// #ftKb_SpecialNLoop_IASA + +/// #ftKb_SpecialAirNLoop_IASA + +/// #ftKb_EatWait_IASA + +/// #ftKb_SpecialAirNCaptureWait_IASA + +/// #ftKb_EatWalk_IASA + +/// #ftKb_EatJump1_IASA + +/// #ftKb_SpecialN_Phys + +/// #ftKb_SpecialAirN_Phys + +void ftKb_SpecialNLoop_Phys(HSD_GObj* gobj) +{ + ft_80084F3C(gobj); +} + +/// #ftKb_SpecialAirNLoop_Phys + +/// #ftKb_SpecialNEnd_Phys + +/// #ftKb_SpecialAirNEnd_Phys + +/// #ftKb_SpecialNCapture0_Phys + +/// #ftKb_SpecialNCapture_Phys + +/// #ftKb_SpecialNCapture1_Phys + +/// #ftKb_SpecialAirNCapture_Phys + +void ftKb_Eat_Phys(HSD_GObj* gobj) +{ + ft_80084F3C(gobj); +} + +/// #ftKb_SpecialAirNCaptured_Phys + +/// #ftKb_EatWait_Phys + +/// #ftKb_SpecialAirNCaptureWait_Phys + +/// #ftKb_SpecialNSpit0_Phys + +/// #ftKb_SpecialNSpit_Phys + +/// #ftKb_SpecialNSpit1_Phys + +/// #ftKb_SpecialAirNSpit_Phys + +/// #ftKb_SpecialNDrink0_Phys + +/// #ftKb_SpecialNDrink_Phys + +/// #ftKb_SpecialNDrink1_Phys + +/// #ftKb_SpecialAirNDrink_Phys + +/// #ftKb_EatTurn_Phys + +/// #ftKb_SpecialAirNCaptureTurn_Phys + +/// #ftKb_EatWalk_Phys + +/// #ftKb_EatJump1_Phys + +/// #ftKb_EatJump2_Phys + +/// #ftKb_EatLanding_Phys + +/// #ftKb_SpecialN_Coll + +/// #ftKb_SpecialAirN_Coll + +/// #ftKb_SpecialNLoop_Coll + +/// #ftKb_SpecialAirNLoop_Coll + +/// #ftKb_SpecialNEnd_Coll + +/// #ftKb_SpecialAirNEnd_Coll + +/// #ftKb_SpecialNCapture0_Coll + +/// #ftKb_SpecialNCapture_Coll + +/// #ftKb_SpecialNCapture1_Coll + +/// #ftKb_SpecialAirNCapture_Coll + +void ftKb_Eat_Coll(HSD_GObj* gobj) +{ + ft_8008403C(gobj, fn_800F6AC8); +} + +/// #ftKb_SpecialAirNCaptured_Coll + +/// #ftKb_EatWait_Coll + +/// #ftKb_SpecialAirNCaptureWait_Coll + +/// #ftKb_SpecialNSpit0_Coll + +/// #ftKb_SpecialNSpit_Coll + +/// #ftKb_SpecialNSpit1_Coll + +/// #ftKb_SpecialAirNSpit_Coll + +/// #ftKb_SpecialNDrink0_Coll + +/// #ftKb_SpecialNDrink_Coll + +/// #ftKb_SpecialNDrink1_Coll + +/// #ftKb_SpecialAirNDrink_Coll + +/// #ftKb_EatTurn_Coll + +/// #ftKb_SpecialAirNCaptureTurn_Coll + +/// #ftKb_EatWalk_Coll + +/// #ftKb_EatJump1_Coll + +/// #ftKb_EatJump2_Coll + +/// #ftKb_EatLanding_Coll + +void ftKb_SpecialN_800F9070(HSD_GObj* gobj) +{ + Fighter* fp = GET_FIGHTER(gobj); + fp->death3_cb = ftKb_Init_800EE74C; + fp->death1_cb = ftKb_Init_800EE7B8; +} + +void ftKb_SpecialN_800F9090(HSD_GObj* gobj) +{ + Fighter* fp = GET_FIGHTER(gobj); + if (fp->x1A60 != NULL && fp->kind == FTKIND_KIRBY && + fp->fv.kb.hat.kind == FTKIND_KIRBY) + { + bool capturing = false; + if (fp->motion_id == ftKb_MS_SpecialNCapture1 || + fp->motion_id == ftKb_MS_SpecialAirNCapture1) + { + capturing = true; + } + it_802F28C8(fp->x1A60, capturing, 0); + fp->x1A64 = NULL; + fp->x1A60 = NULL; + } +} + +/// #ftKb_SpecialN_800F9110 + +/// #ftKb_MrSpecialN_Anim + +/// #ftKb_MrSpecialN_IASA + +/// #ftKb_MrSpecialN_Phys + +/// #ftKb_MrSpecialN_Coll + +/// #fn_800F9260 + +/// #ftKb_SpecialNMr_800F93CC + +/// #ftKb_MrSpecialAirN_Anim + +/// #ftKb_MrSpecialAirN_IASA + +/// #ftKb_MrSpecialAirN_Phys + +/// #ftKb_MrSpecialAirN_Coll + +/// #ftKb_SpecialNLg_800F951C + +/// #ftKb_SpecialNLg_800F9598 + +/// #ftKb_SpecialNLg_800F9614 + +/// #ftKb_SpecialNLg_800F9684 + +/// #ftKb_LgSpecialN_Anim + +/// #ftKb_LgSpecialAirN_Anim + +/// #ftKb_LgSpecialN_IASA + +/// #ftKb_LgSpecialAirN_IASA + +/// #ftKb_LgSpecialN_Phys + +/// #ftKb_LgSpecialAirN_Phys + +/// #ftKb_LgSpecialN_Coll + +/// #ftKb_LgSpecialAirN_Coll + +/// #fn_800F98F4 + +/// #ftKb_SpecialNCa_800F99BC + +/// #ftKb_SpecialNCa_800F9A54 + +/// #ftKb_CaSpecialN_Anim + +/// #ftKb_CaSpecialAirN_Anim + +/// #ftKb_CaSpecialN_IASA + +/// #ftKb_CaSpecialAirN_IASA + +/// #ftKb_CaSpecialN_Phys + +/// #ftKb_CaSpecialAirN_Phys + +/// #ftKb_CaSpecialN_Coll + +/// #ftKb_CaSpecialAirN_Coll + +/// #ftKb_SpecialNPk_800F9FD4 + +/// #ftKb_SpecialNPk_800FA064 + +/// #ftKb_PkSpecialN_Anim + +/// #ftKb_PkSpecialAirN_Anim + +/// #ftKb_PkSpecialN_IASA + +/// #ftKb_PkSpecialAirN_IASA + +/// #ftKb_PkSpecialN_Phys + +/// #ftKb_PkSpecialAirN_Phys + +/// #ftKb_PkSpecialN_Coll + +/// #ftKb_PkSpecialAirN_Coll + +/// #ftKb_SpecialNKp_800FA588 + +/// #ftKb_SpecialNKp_800FA7D4 + +/// #ftKb_SpecialNKp_800FA83C + +/// #ftKb_SpecialNKp_800FA878 + +/// #ftKb_SpecialNKp_800FA8B4 + +/// #ftKb_SpecialNKp_800FA958 + +/// #ftKb_KpSpecialNStart_Anim + +/// #ftKb_KpSpecialN_Anim + +/// #ftKb_KpSpecialNEnd_Anim + +/// #ftKb_KpSpecialAirNStart_Anim + +/// #ftKb_KpSpecialAirN_Anim + +/// #ftKb_KpSpecialAirNEnd_Anim + +/// #ftKb_KpSpecialNStart_IASA + +/// #ftKb_KpSpecialN_IASA + +/// #ftKb_KpSpecialNEnd_IASA + +/// #ftKb_KpSpecialAirNStart_IASA + +/// #ftKb_KpSpecialAirN_IASA + +/// #ftKb_KpSpecialAirNEnd_IASA + +/// #ftKb_KpSpecialNStart_Phys + +/// #ftKb_KpSpecialN_Phys + +/// #ftKb_KpSpecialNEnd_Phys + +/// #ftKb_KpSpecialAirNStart_Phys + +/// #ftKb_KpSpecialAirN_Phys + +/// #ftKb_KpSpecialAirNEnd_Phys + +/// #ftKb_KpSpecialNStart_Coll + +/// #ftKb_KpSpecialN_Coll + +/// #ftKb_KpSpecialNEnd_Coll + +/// #ftKb_KpSpecialAirNStart_Coll + +/// #ftKb_KpSpecialAirN_Coll + +/// #ftKb_KpSpecialAirNEnd_Coll + +/// #ftKb_SpecialNLk800FB394 + +/// #ftKb_SpecialNLk800FB418 + +/// #ftKb_SpecialNLk800FB444 + +/// #ftKb_SpecialNLk800FB470 + +/// #ftKb_SpecialNLk800FB500 + +/// #ftKb_SpecialNLk800FB5F4 + +/// #ftKb_SpecialNLk800FB6DC + +/// #ftKb_SpecialNLk800FB800 + +/// #ftKb_SpecialNLk800FB840 + +/// #ftKb_SpecialNLk800FB880 + +/// #ftKb_SpecialNLk800FBA00 + +/// #ftKb_LkSpecialNStart_Anim + +/// #ftKb_LkSpecialNLoop_Anim + +/// #ftKb_LkSpecialNEnd_Anim + +/// #ftKb_LkSpecialAirNStart_Anim + +/// #ftKb_LkSpecialAirNLoop_Anim + +/// #ftKb_LkSpecialAirNEnd_Anim + +/// #ftKb_LkSpecialNStart_IASA + +/// #ftKb_LkSpecialNLoop_IASA + +/// #ftKb_LkSpecialNEnd_IASA + +/// #ftKb_LkSpecialAirNStart_IASA + +/// #ftKb_LkSpecialAirNLoop_IASA + +/// #ftKb_LkSpecialAirNEnd_IASA + +/// #ftKb_LkSpecialNStart_Phys + +/// #ftKb_LkSpecialNLoop_Phys + +/// #ftKb_LkSpecialNEnd_Phys + +/// #ftKb_LkSpecialAirNStart_Phys + +/// #ftKb_LkSpecialAirNLoop_Phys + +/// #ftKb_LkSpecialAirNEnd_Phys + +/// #ftKb_LkSpecialNStart_Coll + +/// #ftKb_LkSpecialNLoop_Coll + +/// #ftKb_LkSpecialNEnd_Coll + +/// #ftKb_LkSpecialAirNStart_Coll + +/// #ftKb_LkSpecialAirNLoop_Coll + +/// #ftKb_LkSpecialAirNEnd_Coll + +/// #ftKb_SpecialNSs_800FCC14 + +/// #ftKb_SpecialNSs_800FCC6C + +/// #ftKb_SpecialNSs_800FCCBC + +/// #ftKb_SpecialNSs_800FCD04 + +/// #ftKb_SpecialNSs_800FCD60 + +/// #ftKb_SpecialNSs_800FCDE0 + +/// #ftKb_SpecialNSs_800FCF74 + +/// #ftKb_SpecialNSs_800FD020 + +/// #ftKb_SsSpecialNStart_Anim + +/// #ftKb_SsSpecialNHold_Anim + +/// #ftKb_SsSpecialNCancel_Anim + +/// #ftKb_SsSpecialN_Anim + +/// #ftKb_SsSpecialAirNStart_Anim + +/// #ftKb_SsSpecialAirN_Anim + +/// #ftKb_SsSpecialNStart_IASA + +/// #ftKb_SsSpecialNHold_IASA + +/// #ftKb_SsSpecialNCancel_IASA + +/// #ftKb_SsSpecialN_IASA + +/// #ftKb_SsSpecialAirNStart_IASA + +/// #ftKb_SsSpecialAirN_IASA + +/// #ftKb_SsSpecialNStart_Phys + +/// #ftKb_SsSpecialNHold_Phys + +/// #ftKb_SsSpecialNCancel_Phys + +/// #ftKb_SsSpecialN_Phys + +/// #ftKb_SsSpecialAirNStart_Phys + +/// #ftKb_SsSpecialAirN_Phys + +/// #ftKb_SsSpecialNStart_Coll + +/// #ftKb_SsSpecialNHold_Coll + +/// #ftKb_SsSpecialNCancel_Coll + +/// #ftKb_SsSpecialN_Coll + +/// #ftKb_SsSpecialAirNStart_Coll + +/// #ftKb_SsSpecialAirN_Coll + +/// #ftKb_SpecialNFx_800FDC00 + +/// #ftKb_SpecialNFx_800FDC70 + +/// #fn_800FDCE0 + +/// #ftKb_SpecialNFx_800FDD14 + +/// #ftKb_SpecialNFx_800FDD4C + +/// #ftKb_SpecialNFx_800FDDF4 + +/// #ftKb_SpecialNFx_800FDEB4 + +/// #ftKb_SpecialNFx_800FDEE0 + +/// #ftKb_SpecialNFx_800FDF30 + +/// #fn_800FE0E0 + +/// #ftKb_SpecialNFx_800FE100 + +/// #ftKb_SpecialNFx_800FE240 + +/// #ftKb_FxSpecialNStart_Anim + +/// #ftKb_FxSpecialNLoop_Anim + +/// #ftKb_FxSpecialNEnd_Anim + +/// #ftKb_FxSpecialAirNStart_Anim + +/// #ftKb_FxSpecialAirNLoop_Anim + +/// #ftKb_FxSpecialAirNEnd_Anim + +/// #ftKb_FxSpecialNStart_IASA + +/// #ftKb_FxSpecialNLoop_IASA + +/// #ftKb_FxSpecialNEnd_IASA + +/// #ftKb_FxSpecialAirNStart_IASA + +/// #ftKb_FxSpecialAirNLoop_IASA + +/// #ftKb_FxSpecialAirNEnd_IASA + +/// #ftKb_FxSpecialNStart_Phys + +/// #ftKb_FxSpecialNLoop_Phys + +/// #ftKb_FxSpecialNEnd_Phys + +/// #ftKb_FxSpecialAirNStart_Phys + +/// #ftKb_FxSpecialAirNLoop_Phys + +/// #ftKb_FxSpecialAirNEnd_Phys + +/// #ftKb_FxSpecialNStart_Coll + +/// #ftKb_FxSpecialNLoop_Coll + +/// #ftKb_FxSpecialNEnd_Coll + +/// #ftKb_FxSpecialAirNStart_Coll + +/// #ftKb_FxSpecialAirNLoop_Coll + +/// #ftKb_FxSpecialAirNEnd_Coll + +bool ftKb_SpecialNNs_800FEC78(HSD_GObj* gobj) +{ + if (gobj != NULL) { + Fighter* fp = GET_FIGHTER(gobj); + if (fp != NULL && fp->fv.kb.ns_flash_gobj != NULL && + (fp->motion_id == ftKb_MS_NsSpecialNHold0 || + fp->motion_id == ftKb_MS_NsSpecialAirNHold0)) + { + return true; + } + } + return false; +} + +void ftKb_SpecialNNs_800FECBC(HSD_GObj* gobj) +{ + if (gobj != NULL) { + Fighter* fp = GET_FIGHTER(gobj); + if (fp != NULL && fp->fv.kb.ns_flash_gobj != NULL) { + fp->fv.kb.ns_flash_gobj = NULL; + } + } +} + +/// #ftKb_SpecialNNs_800FECE8 + +void ftKb_SpecialNNs_800FED38(HSD_GObj* gobj) +{ + Fighter* fp = GET_FIGHTER(gobj); + Fighter_ChangeMotionState(gobj, ftKb_MS_NsSpecialNStart, Ft_MF_None, 0, 1, + 0, NULL); + fp->cmd_vars[0] = fp->cmd_vars[1] = fp->cmd_vars[2] = fp->cmd_vars[3] = 0; + { + /// @todo @c da can't move below @c fp + ftKb_DatAttrs* da; + Fighter* fp = GET_FIGHTER(gobj); + PAD_STACK(4 * 4); + da = fp->dat_attrs; + fp->mv.kb.specialn_ns.frames_to_loop_charge_ground = + da->specialn_ns_frames_to_loop_charge_ground; + fp->mv.kb.specialn_ns.frames_to_loop_charge_air = + da->specialn_ns_frames_to_loop_charge_air; + fp->mv.kb.specialn_ns.falling_acceleration_delay = + da->specialn_ns_falling_acceleration_delay; + fp->fv.kb.ns_flash_gobj = NULL; + fp->mv.kb.specialn_ns.charge_release_delay = + da->specialn_ns_charge_release_delay; + ftAnim_8006EBA4(gobj); + } +} + +void ftKb_SpecialNNs_800FEDD0(HSD_GObj* gobj) +{ + Fighter* fp = GET_FIGHTER(gobj); + Fighter_ChangeMotionState(gobj, ftKb_MS_NsSpecialAirNStart, 0, 0, 1, 0, 0); + fp->cmd_vars[0] = fp->cmd_vars[1] = fp->cmd_vars[2] = fp->cmd_vars[3] = 0; + fp->self_vel.y = 0; + { + /// @todo @c da can't move below @c fp + ftKb_DatAttrs* da; + Fighter* fp = GET_FIGHTER(gobj); + PAD_STACK(4 * 4); + da = fp->dat_attrs; + fp->mv.kb.specialn_ns.frames_to_loop_charge_ground = + da->specialn_ns_frames_to_loop_charge_ground; + fp->mv.kb.specialn_ns.frames_to_loop_charge_air = + da->specialn_ns_frames_to_loop_charge_air; + fp->mv.kb.specialn_ns.falling_acceleration_delay = + da->specialn_ns_falling_acceleration_delay; + fp->fv.kb.ns_flash_gobj = NULL; + fp->mv.kb.specialn_ns.charge_release_delay = + da->specialn_ns_charge_release_delay; + ftAnim_8006EBA4(gobj); + } +} + +void ftKb_NsSpecialNStart_Anim(HSD_GObj* gobj) +{ + Fighter* fp = GET_FIGHTER(gobj); + if (!ftAnim_IsFramesRemaining(gobj)) { + Fighter_ChangeMotionState(gobj, 436, 0, 0, 1, 0, NULL); + { + Fighter* fp = GET_FIGHTER(gobj); + Vec3 flash_pos; + PAD_STACK(4 * 5); + if (fp->fv.kb.ns_flash_gobj == NULL) { + lb_8000B1CC(fp->parts[FtPart_WaistN].joint, NULL, &flash_pos); + flash_pos.z = 0; + flash_pos.y += fp->x34_scale.y * 3; + { + HSD_GObj* flash_gobj = + it_802AA8C0(gobj, &flash_pos, 145, fp->facing_dir); + fp->fv.kb.ns_flash_gobj = flash_gobj; + if (flash_gobj != NULL) { + fp->death2_cb = ftKb_Init_800EE74C; + fp->take_dmg_cb = ftKb_Init_800EE7B8; + } + } + } + } + fp->x1968_jumpsUsed = fp->co_attrs.max_jumps; + } +} + +void ftKb_NsSpecialNHold_Anim(HSD_GObj* gobj) +{ + Fighter* fp = GET_FIGHTER(gobj); + int flash_timer_min = fp->mv.kb.specialn_ns.frames_to_loop_charge_ground; + if (flash_timer_min != 0) { + fp->mv.kb.specialn_ns.frames_to_loop_charge_ground = + flash_timer_min - 1; + } + if (fp->fv.kb.ns_flash_gobj == NULL) { + int flash_timer_delay = + fp->mv.kb.specialn_ns.frames_to_loop_charge_air; + if (flash_timer_delay != 0) { + fp->mv.kb.specialn_ns.frames_to_loop_charge_air = + flash_timer_delay - 1; + } + } + if (fp->fv.kb.ns_flash_gobj == NULL) { + if (fp->mv.kb.specialn_ns.frames_to_loop_charge_ground <= 0 && + fp->mv.kb.specialn_ns.frames_to_loop_charge_air <= 0) + { + Fighter_ChangeMotionState(gobj, ftKb_MS_NsSpecialNEnd, 0, 0, 1, 0, + NULL); + return; + } + if (fp->motion_id != ftKb_MS_NsSpecialNHold1) { + Fighter_ChangeMotionState(gobj, ftKb_MS_NsSpecialNHold1, 0, + fp->cur_anim_frame, 1, 0, NULL); + } + } else { + if (it_802AA7E4(fp->fv.kb.ns_flash_gobj) != gobj) { + fp->fv.kb.ns_flash_gobj = NULL; + return; + } + if (it_802AA7F0(fp->fv.kb.ns_flash_gobj) == 1 && + fp->motion_id != ftKb_MS_NsSpecialNHold1) + { + Fighter_ChangeMotionState(gobj, ftKb_MS_NsSpecialNHold1, 0, + fp->cur_anim_frame, 1, 0, NULL); + } + } +} + +/// #ftKb_NsSpecialNEnd_Anim + +/// #ftKb_NsSpecialAirNStart_Anim + +/// #ftKb_NsSpecialAirNHold_Anim + +/// #ftKb_NsSpecialAirNEnd_Anim + +/// #ftKb_NsSpecialNStart_IASA + +/// #ftKb_NsSpecialNHold_IASA + +/// #ftKb_NsSpecialNEnd_IASA + +/// #ftKb_NsSpecialAirNStart_IASA + +/// #ftKb_NsSpecialAirNHold_IASA + +/// #ftKb_NsSpecialAirNEnd_IASA + +/// #ftKb_NsSpecialNStart_Phys + +/// #ftKb_NsSpecialNHold_Phys + +/// #ftKb_NsSpecialNEnd_Phys + +/// #ftKb_NsSpecialAirNStart_Phys + +/// #ftKb_NsSpecialAirNHold_Phys + +/// #ftKb_NsSpecialAirNEnd_Phys + +/// #ftKb_NsSpecialNStart_Coll + +/// #ftKb_NsSpecialNHold_Coll + +/// #ftKb_NsSpecialNEnd_Coll + +/// #ftKb_NsSpecialAirNStart_Coll + +/// #ftKb_NsSpecialAirNHold_Coll + +/// #ftKb_NsSpecialAirNEnd_Coll + +/// #ftKb_SpecialNDk_800FF8EC + +/// #ftKb_SpecialNDk_800FFA10 + +/// #ftKb_DkSpecialNStart_Anim + +/// #ftKb_DkSpecialNLoop_Anim + +/// #ftKb_DkSpecialNCancel_Anim + +/// #ftKb_DkSpecialN_Anim + +/// #ftKb_DkSpecialNFull_Anim + +/// #ftKb_DkSpecialAirNStart_Anim + +/// #ftKb_DkSpecialAirNLoop_Anim + +/// #ftKb_DkSpecialAirNCancel_Anim + +/// #ftKb_DkSpecialAirN_Anim + +/// #ftKb_DkSpecialAirNFull_Anim + +/// #ftKb_DkSpecialNStart_IASA + +/// #ftKb_DkSpecialNLoop_IASA + +/// #ftKb_DkSpecialNCancel_IASA + +/// #ftKb_DkSpecialN_IASA + +/// #ftKb_DkSpecialNFull_IASA + +/// #ftKb_DkSpecialAirNStart_IASA + +/// #ftKb_DkSpecialAirNLoop_IASA + +/// #ftKb_DkSpecialAirNCancel_IASA + +/// #ftKb_DkSpecialAirN_IASA + +/// #ftKb_DkSpecialAirNFull_IASA + +/// #ftKb_DkSpecialNStart_Phys + +/// #ftKb_DkSpecialNLoop_Phys + +/// #ftKb_DkSpecialNCancel_Phys + +/// #ftKb_DkSpecialN_Phys + +/// #ftKb_DkSpecialNFull_Phys + +/// #ftKb_DkSpecialAirNStart_Phys + +/// #ftKb_DkSpecialAirNLoop_Phys + +/// #ftKb_DkSpecialAirNCancel_Phys + +/// #ftKb_DkSpecialAirN_Phys + +/// #ftKb_DkSpecialAirNFull_Phys + +/// #ftKb_DkSpecialNStart_Coll + +/// #ftKb_DkSpecialNLoop_Coll + +/// #ftKb_DkSpecialNCancel_Coll + +/// #ftKb_DkSpecialN_Coll + +/// #ftKb_DkSpecialNFull_Coll + +/// #ftKb_DkSpecialAirNStart_Coll + +/// #ftKb_DkSpecialAirNLoop_Coll + +/// #ftKb_DkSpecialAirNCancel_Coll + +/// #ftKb_DkSpecialAirN_Coll + +/// #ftKb_DkSpecialAirNFull_Coll + +/// #ftKb_SpecialNPr_80100DE0 + +/// #fn_80100E0C + +/// #fn_80100F60 + +/// #ftKb_SpecialNPr_80100F94 + +/// #ftKb_SpecialNPr_801010D4 + +/// #ftKb_SpecialNPr_8010131C + +/// #ftKb_SpecialNPr_8010140C + +/// #ftKb_SpecialNPr_80101560 + +/// #ftKb_SpecialNPr_80101618 + +/// #ftKb_PrSpecialNStart_Anim + +/// #ftKb_PrSpecialNLoop_Anim + +/// #ftKb_PrSpecialNFull_Anim + +/// #ftKb_PrSpecialN1_Anim + +/// #ftKb_PrSpecialNTurn_Anim + +/// #ftKb_PrSpecialNEnd_Anim + +/// #ftKb_PrSpecialAirNStart_Anim + +/// #ftKb_PrSpecialAirNLoop_Anim + +/// #ftKb_PrSpecialAirNFull_Anim + +/// #ftKb_PrSpecialAirN_Anim + +/// #ftKb_PrSpecialN_Anim + +/// #ftKb_PrSpecialAirNEndR_Anim + +/// #ftKb_PrSpecialNHit_Anim + +/// #ftKb_PrSpecialNStart_IASA + +/// #ftKb_PrSpecialNLoop_IASA + +/// #ftKb_PrSpecialNFull_IASA + +/// #ftKb_PrSpecialN1_IASA + +/// #ftKb_PrSpecialNTurn_IASA + +/// #ftKb_PrSpecialNEnd_IASA + +/// #ftKb_PrSpecialAirNStart_IASA + +/// #ftKb_PrSpecialAirNLoop_IASA + +/// #ftKb_PrSpecialAirNFull_IASA + +/// #ftKb_PrSpecialAirN_IASA + +/// #ftKb_PrSpecialN_IASA + +/// #ftKb_PrSpecialAirNEndR_IASA + +/// #ftKb_PrSpecialNHit_IASA + +/// #ftKb_PrSpecialNStart_Phys + +/// #ftKb_PrSpecialNLoop_Phys + +/// #ftKb_PrSpecialNFull_Phys + +/// #ftKb_PrSpecialN1_Phys + +/// #ftKb_PrSpecialNTurn_Phys + +/// #ftKb_PrSpecialNEnd_Phys + +/// #ftKb_PrSpecialAirNStart_Phys + +/// #ftKb_PrSpecialAirNLoop_Phys + +/// #ftKb_PrSpecialAirNFull_Phys + +/// #ftKb_PrSpecialAirN_Phys + +/// #ftKb_PrSpecialN_Phys + +/// #ftKb_PrSpecialAirNEndR_Phys + +/// #ftKb_PrSpecialNHit_Phys + +/// #ftKb_PrSpecialNStart_Coll + +/// #ftKb_PrSpecialNLoop_Coll + +/// #ftKb_PrSpecialNFull_Coll + +/// #ftKb_PrSpecialN1_Coll + +/// #ftKb_PrSpecialNTurn_Coll + +/// #ftKb_PrSpecialNEnd_Coll + +/// #ftKb_PrSpecialAirNStart_Coll + +/// #ftKb_PrSpecialAirNLoop_Coll + +/// #ftKb_PrSpecialAirNFull_Coll + +/// #ftKb_PrSpecialAirN_Coll + +/// #ftKb_PrSpecialN_Coll + +/// #ftKb_PrSpecialAirNEndR_Coll + +/// #ftKb_PrSpecialNHit_Coll + +/// #fn_80105978 + +/// #fn_80105A34 + +/// #fn_80105AB0 + +/// #ftKb_SpecialNZd_80105B2C + +/// #ftKb_SpecialNZd_80105BA8 + +/// #ftKb_ZdSpecialN_Anim + +/// #ftKb_ZdSpecialAirN_Anim + +/// #ftKb_ZdSpecialN_IASA + +/// #ftKb_ZdSpecialAirN_IASA + +/// #ftKb_ZdSpecialN_Phys + +/// #ftKb_ZdSpecialAirN_Phys + +/// #ftKb_ZdSpecialN_Coll + +/// #ftKb_ZdSpecialAirN_Coll + +/// #ftKb_SpecialNSk_80105E8C + +/// #ftKb_SpecialNSk_80105F3C + +/// #fn_80105FEC + +/// #ftKb_SpecialNSk_80105FF0 + +/// #ftKb_SpecialNSk_80106020 + +/// #ftKb_SpecialNSk_8010603C + +/// #ftKb_SpecialNSk_8010612C + +/// #ftKb_SpecialNSk_801061E4 + +/// #ftKb_SkSpecialNStart_Anim + +/// #ftKb_SkSpecialNLoop_Anim + +/// #ftKb_SkSpecialNCancel_Anim + +/// #ftKb_SkSpecialNEnd_Anim + +/// #ftKb_SkSpecialAirNStart_Anim + +/// #ftKb_SkSpecialAirNLoop_Anim + +/// #ftKb_SkSpecialAirNCancel_Anim + +/// #ftKb_SkSpecialAirNEnd_Anim + +/// #ftKb_SkSpecialNStart_IASA + +/// #ftKb_SkSpecialNLoop_IASA + +/// #ftKb_SkSpecialNCancel_IASA + +/// #ftKb_SkSpecialNEnd_IASA + +/// #ftKb_SkSpecialAirNStart_IASA + +/// #ftKb_SkSpecialAirNLoop_IASA + +/// #ftKb_SkSpecialAirNCancel_IASA + +/// #ftKb_SkSpecialAirNEnd_IASA + +/// #ftKb_SkSpecialNStart_Phys + +/// #ftKb_SkSpecialNLoop_Phys + +/// #ftKb_SkSpecialNCancel_Phys + +/// #ftKb_SkSpecialNEnd_Phys + +/// #ftKb_SkSpecialAirNStart_Phys + +/// #ftKb_SkSpecialAirNLoop_Phys + +/// #ftKb_SkSpecialAirNCancel_Phys + +/// #ftKb_SkSpecialAirNEnd_Phys + +/// #ftKb_SkSpecialNStart_Coll + +/// #ftKb_SkSpecialNLoop_Coll + +/// #ftKb_SkSpecialNCancel_Coll + +/// #ftKb_SkSpecialNEnd_Coll + +/// #ftKb_SkSpecialAirNStart_Coll + +/// #ftKb_SkSpecialAirNLoop_Coll + +/// #ftKb_SkSpecialAirNCancel_Coll + +/// #ftKb_SkSpecialAirNEnd_Coll + +/// #fn_80106DB0 + +/// #ftKb_SpecialNMt_80106F44 + +/// #ftKb_SpecialNMt_80106F9C + +/// #ftKb_SpecialNMt_80106FEC + +/// #ftKb_SpecialNMt_80107040 + +/// #ftKb_SpecialNMt_8010709C + +/// #ftKb_SpecialNMt_80107130 + +/// #ftKb_SpecialNMt_801071FC + +/// #ftKb_SpecialNMt_80107410 + +/// #ftKb_SpecialNMt_80107568 + +/// #ftKb_SpecialNMt_80107638 + +/// #ftKb_MtSpecialNStart_Anim + +/// #ftKb_MtSpecialNLoop_Anim + +/// #ftKb_MtSpecialNLoopFull_Anim + +/// #ftKb_MtSpecialNCancel_Anim + +/// #ftKb_MtSpecialNEnd_Anim + +/// #ftKb_MtSpecialAirNStart_Anim + +/// #ftKb_MtSpecialAirNLoop_Anim + +/// #ftKb_MtSpecialAirNLoopFull_Anim + +/// #ftKb_MtSpecialAirNCancel_Anim + +/// #ftKb_MtSpecialAirNEnd_Anim + +void ftKb_MtSpecialNStart_IASA(ftKb_GObj* gobj) {} + +/// #ftKb_MtSpecialNLoop_IASA + +/// #ftKb_MtSpecialNLoopFull_IASA + +void ftKb_MtSpecialNCancel_IASA(ftKb_GObj* gobj) {} + +void ftKb_MtSpecialNEnd_IASA(ftKb_GObj* gobj) {} + +void ftKb_MtSpecialAirNStart_IASA(ftKb_GObj* gobj) {} + +/// #ftKb_MtSpecialAirNLoop_IASA + +/// #ftKb_MtSpecialAirNLoopFull_IASA + +void ftKb_MtSpecialAirNCancel_IASA(ftKb_GObj* gobj) {} + +void ftKb_MtSpecialAirNEnd_IASA(ftKb_GObj* gobj) {} + +/// #ftKb_MtSpecialNStart_Phys + +/// #ftKb_MtSpecialNLoop_Phys + +/// #ftKb_MtSpecialNLoopFull_Phys + +/// #ftKb_MtSpecialNCancel_Phys + +/// #ftKb_MtSpecialNEnd_Phys + +/// #ftKb_MtSpecialAirNStart_Phys + +/// #ftKb_MtSpecialAirNLoop_Phys + +/// #ftKb_MtSpecialAirNLoopFull_Phys + +/// #ftKb_MtSpecialAirNCancel_Phys + +/// #ftKb_MtSpecialAirNEnd_Phys + +/// #ftKb_MtSpecialNStart_Coll + +/// #ftKb_MtSpecialNLoop_Coll + +/// #ftKb_MtSpecialNLoopFull_Coll + +/// #ftKb_MtSpecialNCancel_Coll + +/// #ftKb_MtSpecialNEnd_Coll + +/// #ftKb_MtSpecialAirNStart_Coll + +/// #ftKb_MtSpecialAirNLoop_Coll + +/// #ftKb_MtSpecialAirNLoopFull_Coll + +/// #ftKb_MtSpecialAirNCancel_Coll + +/// #ftKb_MtSpecialAirNEnd_Coll + +/// #ftKb_SpecialNIc_80108CE8 + +/// #ftKb_SpecialNIc_80108D04 + +/// #ftKb_SpecialNIc_80108D64 + +/// #ftKb_SpecialNIc_80108E14 + +/// #ftKb_PpSpecialN_Anim + +/// #ftKb_PpSpecialAirN_Anim + +void ftKb_PpSpecialN_IASA(ftKb_GObj* gobj) {} + +void ftKb_PpSpecialAirN_IASA(ftKb_GObj* gobj) {} + +/// #ftKb_PpSpecialN_Phys + +/// #ftKb_PpSpecialAirN_Phys + +/// #ftKb_PpSpecialN_Coll + +/// #ftKb_PpSpecialAirN_Coll + +/// #fn_801090D4 + +Fighter_Part ftKb_SpecialNYs_80109238(ftKb_GObj* gobj) +{ + return ftParts_8007500C(GET_FIGHTER(gobj), FtPart_TransN2); +} + +/// #ftKb_SpecialNYs_80109260 + +/// #ftKb_SpecialNYs_80109290 + +/// #ftKb_SpecialNYs_8010929C + +/// #ftKb_SpecialNYs_801092AC + +/// #ftKb_SpecialNYs_801092BC + +/// #ftKb_SpecialNYs_801092CC + +/// #ftKb_SpecialNYs_801092DC + +/// #ftKb_SpecialNYs_801092F4 + +/// #ftKb_SpecialNYs_8010930C + +/// #ftKb_SpecialNYs_80109324 + +/// #ftKb_SpecialNYs_8010933C + +/// #ftKb_SpecialNYs_80109354 + +/// #ftKb_SpecialNYs_80109380 + +/// #ftKb_SpecialNYs_801093A0 + +/// #ftKb_SpecialNYs_801093B4 + +/// #ftKb_SpecialNYs_8010941C + +/// #ftKb_SpecialNYs_801094FC + +/// #fn_801095DC + +/// #fn_80109680 + +/// #fn_80109714 + +/// #fn_801097B8 + +/// #fn_8010984C + +/// #fn_801098EC + +/// #fn_8010998C + +/// #fn_80109A08 + +/// #fn_80109A84 + +/// #fn_80109B00 + +/// #fn_80109B7C + +/// #fn_80109BF8 + +/// #fn_80109C74 + +/// #fn_80109CF0 + +/// #ftKb_YsSpecialN1_Anim + +/// #ftKb_YsSpecialAirNCapture2_Anim + +/// #ftKb_YsSpecialAirNCapture1_Anim + +/// #ftKb_YsSpecialNCapture1_Anim + +/// #ftKb_YsSpecialAirCapture2_Anim + +/// #ftKb_YsSpecialAirCapture1_Anim + +/// #ftKb_YsSpecialNCapture2_0_Anim + +/// #ftKb_YsSpecialNCapture2_1_Anim + +/// #ftKb_YsSpecialAirN2_1_Anim + +/// #ftKb_YsSpecialAirN2_0_Anim + +/// #ftKb_YsSpecialN1_Phys + +/// #ftKb_YsSpecialAirNCapture2_Phys + +/// #ftKb_YsSpecialAirNCapture1_Phys + +/// #ftKb_YsSpecialNCapture1_Phys + +/// #ftKb_YsSpecialAirCapture1_Phys + +/// #ftKb_YsSpecialAirCapture2_Phys + +/// #ftKb_YsSpecialNCapture2_0_Phys + +/// #ftKb_YsSpecialNCapture2_1_Phys + +/// #ftKb_YsSpecialAirN2_1_Phys + +/// #ftKb_YsSpecialAirN2_0_Phys + +/// #ftKb_YsSpecialN1_Coll + +/// #ftKb_YsSpecialAirNCapture2_Coll + +/// #ftKb_YsSpecialAirNCapture1_Coll + +/// #ftKb_YsSpecialNCapture1_Coll + +/// #ftKb_YsSpecialAirCapture2_Coll + +/// #ftKb_YsSpecialAirCapture1_Coll + +/// #ftKb_YsSpecialNCapture2_0_Coll + +/// #ftKb_YsSpecialNCapture2_1_Coll + +/// #ftKb_YsSpecialAirN2_1_Coll -void ftKb_SpecialNLoop_Phys(HSD_GObj* gobj) -{ - ft_80084F3C(gobj); -} +/// #ftKb_YsSpecialAirN2_0_Coll -void ftKb_Eat_Phys(HSD_GObj* gobj) -{ - ft_80084F3C(gobj); -} +/// #ftKb_SpecialNYs_8010A8BC -void ftKb_Eat_Coll(HSD_GObj* gobj) -{ - ft_8008403C(gobj, fn_800F6AC8); -} +/// #fn_8010A930 -void ftKb_SpecialN_800F9070(HSD_GObj* gobj) -{ - Fighter* fp = GET_FIGHTER(gobj); - fp->death3_cb = ftKb_Init_800EE74C; - fp->death1_cb = ftKb_Init_800EE7B8; -} +void ftCo_CaptureKirbyYoshi_Anim(ftKb_GObj* gobj) {} -void ftKb_SpecialN_800F9090(HSD_GObj* gobj) -{ - Fighter* fp = GET_FIGHTER(gobj); - if (fp->x1A60 != NULL && fp->kind == FTKIND_KIRBY && - fp->fv.kb.hat.kind == FTKIND_KIRBY) - { - bool capturing = false; - if (fp->motion_id == ftKb_MS_SpecialNCapture1 || - fp->motion_id == ftKb_MS_SpecialAirNCapture1) - { - capturing = true; - } - it_802F28C8(fp->x1A60, capturing, 0); - fp->x1A64 = NULL; - fp->x1A60 = NULL; - } -} +void ftCo_CaptureKirbyYoshi_IASA(ftKb_GObj* gobj) {} -bool ftKb_SpecialNNs_800FEC78(HSD_GObj* gobj) -{ - if (gobj != NULL) { - Fighter* fp = GET_FIGHTER(gobj); - if (fp != NULL && fp->fv.kb.ns_flash_gobj != NULL && - (fp->motion_id == ftKb_MS_NsSpecialNHold0 || - fp->motion_id == ftKb_MS_NsSpecialAirNHold0)) - { - return true; - } - } - return false; -} +void ftCo_CaptureKirbyYoshi_Phys(ftKb_GObj* gobj) {} -void ftKb_SpecialNNs_800FECBC(HSD_GObj* gobj) -{ - if (gobj != NULL) { - Fighter* fp = GET_FIGHTER(gobj); - if (fp != NULL && fp->fv.kb.ns_flash_gobj != NULL) { - fp->fv.kb.ns_flash_gobj = NULL; - } - } -} +void ftCo_CaptureKirbyYoshi_Coll(ftKb_GObj* gobj) {} -void ftKb_SpecialNNs_800FED38(HSD_GObj* gobj) -{ - Fighter* fp = GET_FIGHTER(gobj); - Fighter_ChangeMotionState(gobj, ftKb_MS_NsSpecialNStart, Ft_MF_None, 0, 1, - 0, NULL); - fp->cmd_vars[0] = fp->cmd_vars[1] = fp->cmd_vars[2] = fp->cmd_vars[3] = 0; - { - /// @todo @c da can't move below @c fp - ftKb_DatAttrs* da; - Fighter* fp = GET_FIGHTER(gobj); - PAD_STACK(4 * 4); - da = fp->dat_attrs; - fp->mv.kb.specialn_ns.frames_to_loop_charge_ground = - da->specialn_ns_frames_to_loop_charge_ground; - fp->mv.kb.specialn_ns.frames_to_loop_charge_air = - da->specialn_ns_frames_to_loop_charge_air; - fp->mv.kb.specialn_ns.falling_acceleration_delay = - da->specialn_ns_falling_acceleration_delay; - fp->fv.kb.ns_flash_gobj = NULL; - fp->mv.kb.specialn_ns.charge_release_delay = - da->specialn_ns_charge_release_delay; - ftAnim_8006EBA4(gobj); - } -} +/// #ftKb_SpecialNYs_8010AA2C -void ftKb_SpecialNNs_800FEDD0(HSD_GObj* gobj) -{ - Fighter* fp = GET_FIGHTER(gobj); - Fighter_ChangeMotionState(gobj, ftKb_MS_NsSpecialAirNStart, 0, 0, 1, 0, 0); - fp->cmd_vars[0] = fp->cmd_vars[1] = fp->cmd_vars[2] = fp->cmd_vars[3] = 0; - fp->self_vel.y = 0; - { - /// @todo @c da can't move below @c fp - ftKb_DatAttrs* da; - Fighter* fp = GET_FIGHTER(gobj); - PAD_STACK(4 * 4); - da = fp->dat_attrs; - fp->mv.kb.specialn_ns.frames_to_loop_charge_ground = - da->specialn_ns_frames_to_loop_charge_ground; - fp->mv.kb.specialn_ns.frames_to_loop_charge_air = - da->specialn_ns_frames_to_loop_charge_air; - fp->mv.kb.specialn_ns.falling_acceleration_delay = - da->specialn_ns_falling_acceleration_delay; - fp->fv.kb.ns_flash_gobj = NULL; - fp->mv.kb.specialn_ns.charge_release_delay = - da->specialn_ns_charge_release_delay; - ftAnim_8006EBA4(gobj); - } -} +/// #fn_8010AA64 -void ftKb_NsSpecialNStart_Anim(HSD_GObj* gobj) -{ - Fighter* fp = GET_FIGHTER(gobj); - if (!ftAnim_IsFramesRemaining(gobj)) { - Fighter_ChangeMotionState(gobj, 436, 0, 0, 1, 0, NULL); - { - Fighter* fp = GET_FIGHTER(gobj); - Vec3 flash_pos; - PAD_STACK(4 * 5); - if (fp->fv.kb.ns_flash_gobj == NULL) { - lb_8000B1CC(fp->parts[FtPart_WaistN].joint, NULL, &flash_pos); - flash_pos.z = 0; - flash_pos.y += fp->x34_scale.y * 3; - { - HSD_GObj* flash_gobj = - it_802AA8C0(gobj, &flash_pos, 145, fp->facing_dir); - fp->fv.kb.ns_flash_gobj = flash_gobj; - if (flash_gobj != NULL) { - fp->death2_cb = ftKb_Init_800EE74C; - fp->take_dmg_cb = ftKb_Init_800EE7B8; - } - } - } - } - fp->x1968_jumpsUsed = fp->co_attrs.max_jumps; - } -} +/// #ftKb_SpecialNYs_8010AC78 -void ftKb_NsSpecialNHold_Anim(HSD_GObj* gobj) -{ - Fighter* fp = GET_FIGHTER(gobj); - int flash_timer_min = fp->mv.kb.specialn_ns.frames_to_loop_charge_ground; - if (flash_timer_min != 0) { - fp->mv.kb.specialn_ns.frames_to_loop_charge_ground = - flash_timer_min - 1; - } - if (fp->fv.kb.ns_flash_gobj == NULL) { - int flash_timer_delay = - fp->mv.kb.specialn_ns.frames_to_loop_charge_air; - if (flash_timer_delay != 0) { - fp->mv.kb.specialn_ns.frames_to_loop_charge_air = - flash_timer_delay - 1; - } - } - if (fp->fv.kb.ns_flash_gobj == NULL) { - if (fp->mv.kb.specialn_ns.frames_to_loop_charge_ground <= 0 && - fp->mv.kb.specialn_ns.frames_to_loop_charge_air <= 0) - { - Fighter_ChangeMotionState(gobj, ftKb_MS_NsSpecialNEnd, 0, 0, 1, 0, - NULL); - return; - } - if (fp->motion_id != ftKb_MS_NsSpecialNHold1) { - Fighter_ChangeMotionState(gobj, ftKb_MS_NsSpecialNHold1, 0, - fp->cur_anim_frame, 1, 0, NULL); - } - } else { - if (it_802AA7E4(fp->fv.kb.ns_flash_gobj) != gobj) { - fp->fv.kb.ns_flash_gobj = NULL; - return; - } - if (it_802AA7F0(fp->fv.kb.ns_flash_gobj) == 1 && - fp->motion_id != ftKb_MS_NsSpecialNHold1) - { - Fighter_ChangeMotionState(gobj, ftKb_MS_NsSpecialNHold1, 0, - fp->cur_anim_frame, 1, 0, NULL); - } - } -} +/// #ftCo_KirbyYoshiEgg_Anim -Fighter_Part ftKb_SpecialNYs_80109238(ftKb_GObj* gobj) -{ - return ftParts_8007500C(GET_FIGHTER(gobj), FtPart_TransN2); -} +void ftCo_KirbyYoshiEgg_IASA(ftKb_GObj* gobj) {} + +/// #ftCo_KirbyYoshiEgg_Phys + +/// #ftCo_KirbyYoshiEgg_Coll + +/// #fn_8010B124 + +/// #fn_8010B148 + +/// #fn_8010B16C + +/// #fn_8010B1D4 + +/// #fn_8010B1F4 + +/// #fn_8010B2E8 void ftKb_SpecialNMs_8010B2FC(HSD_GObj* gobj) { @@ -3570,6 +5310,10 @@ void ftKb_SpecialNMs_8010B2FC(HSD_GObj* gobj) } } +/// #ftKb_SpecialNMs_8010B4A0 + +/// #ftKb_MsSpecialNStart_Anim + void ftKb_MsSpecialAirNStart_Anim(HSD_GObj* gobj) { if (!ftAnim_IsFramesRemaining(gobj)) { @@ -3585,6 +5329,70 @@ void ftKb_MsSpecialAirNStart_Anim(HSD_GObj* gobj) } } +void ftKb_MsSpecialNStart_IASA(ftKb_GObj* gobj) {} + +void ftKb_MsSpecialAirNStart_IASA(ftKb_GObj* gobj) {} + +/// #ftKb_MsSpecialNStart_Phys + +/// #ftKb_MsSpecialAirNStart_Phys + +/// #ftKb_MsSpecialNStart_Coll + +/// #ftKb_MsSpecialAirNStart_Coll + +/// #ftKb_SpecialNMs_8010B868 + +/// #ftKb_SpecialNMs_8010B8E0 + +/// #ftKb_MsSpecialNLoop_Anim + +/// #ftKb_MsSpecialAirNLoop_Anim + +/// #ftKb_MsSpecialNLoop_IASA + +/// #ftKb_MsSpecialAirNLoop_IASA + +/// #ftKb_MsSpecialNLoop_Phys + +/// #ftKb_MsSpecialAirNLoop_Phys + +/// #ftKb_MsSpecialNLoop_Coll + +/// #ftKb_MsSpecialAirNLoop_Coll + +/// #ftKb_SpecialNMs_8010BB50 + +/// #ftKb_SpecialNMs_8010BBC8 + +/// #ftKb_SpecialNMs_8010BC40 + +/// #ftKb_SpecialNMs_8010BC90 + +/// #ftKb_MsSpecialNEnd_Anim + +/// #ftKb_MsSpecialAirNEnd_Anim + +void ftKb_MsSpecialNEnd_IASA(ftKb_GObj* gobj) {} + +void ftKb_MsSpecialAirNEnd_IASA(ftKb_GObj* gobj) {} + +/// #ftKb_MsSpecialNEnd_Phys + +/// #ftKb_MsSpecialAirNEnd_Phys + +/// #ftKb_MsSpecialNEnd_Coll + +/// #ftKb_MsSpecialAirNEnd_Coll + +/// #ftKb_SpecialNPe_8010BF90 + +/// #ftKb_SpecialNPe_8010C06C + +/// #ftKb_SpecialNPe_8010C148 + +/// #ftKb_SpecialNPe_8010C1E8 + void fn_8010C288(HSD_GObj* gobj) { Fighter* fp = GET_FIGHTER(gobj); @@ -3626,6 +5434,8 @@ void ftKb_SpecialNPe_8010C3C0(HSD_GObj* gobj) fp->fv.kb.xD0 = NULL; } +/// #ftKb_SpecialNPe_8010C3F4 + void fn_8010C44C(HSD_GObj* gobj) { Fighter* fp = GET_FIGHTER(gobj); @@ -3719,6 +5529,10 @@ void ftKb_PeSpecialAirLw_Anim(HSD_GObj* gobj) doPeAnim(gobj, ftCo_800CC730); } +void ftKb_PeSpecialLw_IASA(ftKb_GObj* gobj) {} + +void ftKb_PeSpecialAirLw_IASA(ftKb_GObj* gobj) {} + void ftKb_PeSpecialLw_Phys(HSD_GObj* gobj) { ft_80084F3C(gobj); @@ -3856,6 +5670,10 @@ void ftKb_PeSpecialAirLwHit_Anim(HSD_GObj* gobj) doPeHitAnim(gobj, ftCo_800CC730); } +void ftKb_PeSpecialLwHit_IASA(ftKb_GObj* gobj) {} + +void ftKb_PeSpecialAirLwHit_IASA(ftKb_GObj* gobj) {} + void ftKb_PeSpecialLwHit_Phys(HSD_GObj* gobj) { ft_80084F3C(gobj); @@ -3944,6 +5762,22 @@ void fn_8010CD88(HSD_GObj* gobj) ftKb_SpecialNGw_8010CD44(gobj); } +/// #fn_8010CE5C + +/// #fn_8010CFB0 + +/// #ftKb_SpecialNGw_8010D074 + +/// #ftKb_SpecialNGw_8010D0A8 + +/// #fn_8010D100 + +/// #ftKb_SpecialNGw_8010D130 + +/// #ftKb_SpecialNGw_8010D160 + +/// #ftKb_SpecialNGw_8010D188 + inline void setGwVars(HSD_GObj* fighter_gobj) { Fighter* fp = GET_FIGHTER(fighter_gobj); @@ -3963,3 +5797,27 @@ void ftKb_SpecialNGw_8010D204(HSD_GObj* gobj) ftAnim_8006EBA4(gobj); setGwVars(gobj); } + +/// #ftKb_GwSpecialN_Anim + +/// #ftKb_GwSpecialAirN_Anim + +/// #ftKb_GwSpecialN_IASA + +/// #ftKb_GwSpecialAirN_IASA + +/// #ftKb_GwSpecialN_Phys + +/// #ftKb_GwSpecialAirN_Phys + +/// #ftKb_GwSpecialN_Coll + +/// #ftKb_GwSpecialAirN_Coll + +/// #ftKb_SpecialNGw_8010D580 + +/// #ftKb_SpecialNGw_8010D5F0 + +/// #ftKb_SpecialNGw_8010D660 + +/// #ftKb_SpecialNGw_8010D6D0 diff --git a/src/melee/ft/chara/ftKoopa/ftKp_SpecialS.c b/src/melee/ft/chara/ftKoopa/ftKp_SpecialS.c index 140f060d00..f312d5101d 100644 --- a/src/melee/ft/chara/ftKoopa/ftKp_SpecialS.c +++ b/src/melee/ft/chara/ftKoopa/ftKp_SpecialS.c @@ -67,6 +67,10 @@ void ftKp_SpecialAirSHit_Anim(HSD_GObj* gobj) } } +void ftKp_SpecialSWait_Anim(HSD_GObj* gobj) {} + +void ftKp_SpecialAirSWait_Anim(HSD_GObj* gobj) {} + static inline void doEndFAnim(HSD_GObj* gobj, HSD_GObjEvent cb) { Fighter* fp = GET_FIGHTER(gobj); @@ -191,3 +195,159 @@ void ftKp_SpecialAirSHit_IASA(HSD_GObj* gobj) ftKp_MS_SpecialAirSEndB, ftCo_MS_ThrownKoopaAirB); } } + +/// #ftKp_SpecialSWait_IASA + +/// #ftKp_SpecialAirSWait_IASA + +/// #ftKp_SpecialSStart_Phys + +/// #ftKp_SpecialAirSStart_Phys + +/// #ftKp_SpecialSHit_Phys + +/// #ftKp_SpecialAirSHit_Phys + +/// #ftKp_SpecialSWait_Phys + +/// #ftKp_SpecialAirSWait_Phys + +/// #ftKp_SpecialSEndF_Phys + +/// #ftKp_SpecialSEndB_Phys + +/// #ftKp_SpecialAirSEndF_Phys + +/// #ftKp_SpecialAirSEndB_Phys + +/// #ftKp_SpecialSStart_Coll + +/// #ftKp_SpecialAirSStart_Coll + +/// #ftKp_SpecialSHit_Coll + +/// #ftKp_SpecialAirSHit_Coll + +/// #ftKp_SpecialSWait_Coll + +/// #ftKp_SpecialAirSWait_Coll + +/// #ftKp_SpecialSEndF_Coll + +/// #ftKp_SpecialSEndB_Coll + +/// #ftKp_SpecialAirSEndF_Coll + +/// #ftKp_SpecialAirSEndB_Coll + +/// #fn_80134518 + +/// #fn_80134590 + +/// #ftKp_SpecialLw_Enter + +/// #ftKp_SpecialAirLw_Enter + +/// #ftKp_SpecialLw_Anim + +/// #ftKp_SpecialAirLw_Anim + +/// #ftKp_SpecialLw_Phys + +/// #ftKp_SpecialAirLw_Phys + +/// #ftKp_SpecialLw_Coll + +/// #ftKp_SpecialAirLw_Coll + +/// #ftKp_SpecialLw_80134988 + +/// #ftKp_SpecialLwLanding_Anim + +/// #ftKp_SpecialLwLanding_Phys + +/// #ftKp_SpecialLwLanding_Coll + +/// #ftKp_SpecialLw_80134A5C + +/// #ftKp_SpecialLw_80134ACC + +/// #ftKp_SpecialLw_80134D78 + +/// #ftKp_SpecialLw_80134DE0 + +/// #ftKp_SpecialLw_80134E1C + +/// #ftKp_SpecialN_Enter + +/// #ftKp_SpecialAirN_Enter + +/// #ftKp_SpecialNStart_Anim + +/// #ftKp_SpecialN_Anim + +/// #ftKp_SpecialNEnd_Anim + +/// #ftKp_SpecialAirNStart_Anim + +/// #ftKp_SpecialAirN_Anim + +/// #ftKp_SpecialAirNEnd_Anim + +void ftKp_SpecialNStart_IASA(HSD_GObj* gobj) {} + +/// #ftKp_SpecialN_IASA + +void ftKp_SpecialNEnd_IASA(HSD_GObj* gobj) {} + +void ftKp_SpecialAirNStart_IASA(HSD_GObj* gobj) {} + +/// #ftKp_SpecialAirN_IASA + +void ftKp_SpecialAirNEnd_IASA(HSD_GObj* gobj) {} + +/// #ftKp_SpecialNStart_Phys + +/// #ftKp_SpecialN_Phys + +/// #ftKp_SpecialNEnd_Phys + +/// #ftKp_SpecialAirNStart_Phys + +/// #ftKp_SpecialAirN_Phys + +/// #ftKp_SpecialAirNEnd_Phys + +/// #ftKp_SpecialNStart_Coll + +/// #ftKp_SpecialN_Coll + +/// #ftKp_SpecialNEnd_Coll + +/// #ftKp_SpecialAirNStart_Coll + +/// #ftKp_SpecialAirN_Coll + +/// #ftKp_SpecialAirNEnd_Coll + +/// #ftKp_SpecialN_80135780 + +/// #ftKp_SpecialHi_Enter + +/// #ftKp_SpecialAirHi_Enter + +/// #ftKp_SpecialHi_Anim + +/// #ftKp_SpecialAirHi_Anim + +void ftKp_SpecialHi_IASA(HSD_GObj* gobj) {} + +void ftKp_SpecialAirHi_IASA(HSD_GObj* gobj) {} + +/// #ftKp_SpecialHi_Phys + +/// #ftKp_SpecialAirHi_Phys + +/// #ftKp_SpecialHi_Coll + +/// #ftKp_SpecialAirHi_Coll diff --git a/src/melee/ft/chara/ftLink/ftLk_SpecialS.c b/src/melee/ft/chara/ftLink/ftLk_SpecialS.c index 26baf9d6f2..7db5c5127d 100644 --- a/src/melee/ft/chara/ftLink/ftLk_SpecialS.c +++ b/src/melee/ft/chara/ftLink/ftLk_SpecialS.c @@ -20,7 +20,7 @@ #include "ftCommon/ftCo_SpecialAir.h" #include "ftCommon/ftCo_SpecialS.h" #include "ftLink/types.h" -#include "it/items/it_27CF.h" +#include "it/items/itlinkboomerang.h" #include "lb/lb_00B0.h" #include diff --git a/src/melee/ft/chara/ftMasterHand/ftMh_Damage_0.c b/src/melee/ft/chara/ftMasterHand/ftMh_Damage_0.c index 2c910c7a42..1cb4a3b12b 100644 --- a/src/melee/ft/chara/ftMasterHand/ftMh_Damage_0.c +++ b/src/melee/ft/chara/ftMasterHand/ftMh_Damage_0.c @@ -12,7 +12,7 @@ #include "ft/ftbosslib.h" #include "ft/types.h" #include "ftMasterHand/types.h" -#include "it/items/it_27CF.h" +#include "it/items/itmasterhandlaser.h" #include "lb/lb_00B0.h" #include "lb/lbaudio_ax.h" diff --git a/src/melee/ft/chara/ftMasterHand/ftMh_FingerBeam.c b/src/melee/ft/chara/ftMasterHand/ftMh_FingerBeam.c index 4b316a3f1f..2683619419 100644 --- a/src/melee/ft/chara/ftMasterHand/ftMh_FingerBeam.c +++ b/src/melee/ft/chara/ftMasterHand/ftMh_FingerBeam.c @@ -8,7 +8,7 @@ #include "ft/ftbosslib.h" #include "ft/types.h" #include "ftMasterHand/types.h" -#include "it/items/it_27CF.h" +#include "it/items/itmasterhandlaser.h" #include "lb/lb_00B0.h" #include "lb/lbaudio_ax.h" #include "pl/player.h" diff --git a/src/melee/ft/chara/ftMasterHand/ftMh_FingerGun.c b/src/melee/ft/chara/ftMasterHand/ftMh_FingerGun.c index 935796474a..aa332a3762 100644 --- a/src/melee/ft/chara/ftMasterHand/ftMh_FingerGun.c +++ b/src/melee/ft/chara/ftMasterHand/ftMh_FingerGun.c @@ -11,7 +11,7 @@ #include "ft/ftlib.h" #include "ft/types.h" #include "ftMasterHand/types.h" -#include "it/items/it_27CF.h" +#include "it/items/itmasterhandbullet.h" #include "lb/lb_00B0.h" #include "lb/lbvector.h" #include "pl/player.h" diff --git a/src/melee/ft/chara/ftMewtwo/ftMt_SpecialLw.c b/src/melee/ft/chara/ftMewtwo/ftMt_SpecialLw.c index 871e5dee4c..cc71232ce8 100644 --- a/src/melee/ft/chara/ftMewtwo/ftMt_SpecialLw.c +++ b/src/melee/ft/chara/ftMewtwo/ftMt_SpecialLw.c @@ -15,6 +15,7 @@ #include "ft/types.h" #include "ftMewtwo/types.h" #include "it/items/it_27CF.h" +#include "it/items/itmewtwodisable.h" #include "lb/lb_00B0.h" // SpecialLw/SpecialAirLw diff --git a/src/melee/ft/chara/ftMewtwo/ftMt_SpecialN.c b/src/melee/ft/chara/ftMewtwo/ftMt_SpecialN.c index c837cb9cc0..1222e5957f 100644 --- a/src/melee/ft/chara/ftMewtwo/ftMt_SpecialN.c +++ b/src/melee/ft/chara/ftMewtwo/ftMt_SpecialN.c @@ -24,10 +24,11 @@ #include "ftMewtwo/ftMt_Init.h" #include "ftMewtwo/types.h" #include "it/items/it_27CF.h" +#include "it/items/itmewtwoshadowball.h" #include "lb/lb_00B0.h" -#include "lb/lbrefract.h" #include +#include // SpecialN/SpecialAirN diff --git a/src/melee/ft/chara/ftNana/ftNn_Init.c b/src/melee/ft/chara/ftNana/ftNn_Init.c index 6f0456317e..c5bcccc8c2 100644 --- a/src/melee/ft/chara/ftNana/ftNn_Init.c +++ b/src/melee/ft/chara/ftNana/ftNn_Init.c @@ -15,6 +15,8 @@ #include +/* static */ void ftNn_Init_801238E4(HSD_GObj* gobj); + char ftNn_Init_803CD7F8[] = "!(jobj->flags & JOBJ_USE_QUATERNION)"; Vec3 ftNn_Init_803CD820[] = { @@ -378,8 +380,6 @@ void ftNn_Init_OnDeath(HSD_GObj* gobj) fp->fv.nn.x2250 = ftNn_Init_804D9898; } -/* static */ void ftNn_Init_801238E4(HSD_GObj* gobj); - void ftNn_Init_80122FAC(HSD_GObj* gobj) { ftNn_Init_801238E4(gobj); @@ -389,3 +389,79 @@ void ftNn_Init_LoadSpecialAttrs(HSD_GObj* gobj) { COPY_ATTRS(gobj, ftIceClimberAttributes); } + +/// #ftNn_Init_8012300C + +/// #ftNn_Init_8012309C + +/// #ftNn_Init_801230D0 + +/// #fn_80123218 + +/// #ftNn_Init_801232A4 + +/// #ftPp_SpecialHi_0_Anim + +void ftPp_SpecialHi_3_Anim(Fighter_GObj* gobj) {} + +void ftPp_SpecialHi_0_IASA(Fighter_GObj* gobj) {} + +void ftPp_SpecialHi_3_IASA(Fighter_GObj* gobj) {} + +/// #ftPp_SpecialHi_0_Phys + +void ftPp_SpecialHi_3_Phys(Fighter_GObj* gobj) {} + +void ftPp_SpecialHi_0_Coll(Fighter_GObj* gobj) {} + +void ftPp_SpecialHi_3_Coll(Fighter_GObj* gobj) {} + +/// #ftNn_Init_801233F8 + +/// #ftPp_SpecialHi_1_Anim + +/// #ftPp_SpecialHi_4_Anim + +void ftPp_SpecialHi_1_IASA(Fighter_GObj* gobj) {} + +void ftPp_SpecialHi_4_IASA(Fighter_GObj* gobj) {} + +/// #ftPp_SpecialHi_1_Phys + +/// #ftPp_SpecialHi_4_Phys + +/// #ftPp_SpecialHi_1_Coll + +/// #ftPp_SpecialHi_4_Coll + +/// #ftNn_Init_80123720 + +/// #ftNn_Init_8012378C + +/// #ftNn_Init_801237F8 + +/// #ftNn_Init_801238E4 + +/// #ftNn_Init_80123954 + +/// #ftNn_Init_80123B10 + +/// #ftNn_Init_80123B3C + +/// #ftNn_Init_80123BF0 + +/// #ftPp_SpecialS_0_Anim + +/// #ftPp_SpecialS_1_Anim + +void ftPp_SpecialS_0_IASA(Fighter_GObj* gobj) {} + +void ftPp_SpecialS_1_IASA(Fighter_GObj* gobj) {} + +/// #ftPp_SpecialS_0_Phys + +/// #ftPp_SpecialS_1_Phys + +/// #ftPp_SpecialS_0_Coll + +/// #ftPp_SpecialS_1_Coll diff --git a/src/melee/ft/chara/ftNana/ftNn_Init.h b/src/melee/ft/chara/ftNana/ftNn_Init.h index 2334f26ba0..a5b53992be 100644 --- a/src/melee/ft/chara/ftNana/ftNn_Init.h +++ b/src/melee/ft/chara/ftNana/ftNn_Init.h @@ -27,6 +27,7 @@ /* 1235BC */ void ftPp_SpecialHi_1_Coll(Fighter_GObj* gobj); /* 1235F8 */ void ftPp_SpecialHi_4_Coll(Fighter_GObj* gobj); /* 123954 */ bool ftNn_Init_80123954(Fighter_GObj* gobj, GroundOrAir pp_ga); +/* 123B10 */ bool ftNn_Init_80123B10(Fighter_GObj*); /* 123CA4 */ void ftPp_SpecialS_0_Anim(Fighter_GObj* gobj); /* 123D68 */ void ftPp_SpecialS_1_Anim(Fighter_GObj* gobj); /* 123E58 */ void ftPp_SpecialS_0_IASA(Fighter_GObj* gobj); diff --git a/src/melee/ft/chara/ftNess/ftNs_AttackS4.c b/src/melee/ft/chara/ftNess/ftNs_AttackS4.c index 95d5835695..79e5b65225 100644 --- a/src/melee/ft/chara/ftNess/ftNs_AttackS4.c +++ b/src/melee/ft/chara/ftNess/ftNs_AttackS4.c @@ -12,7 +12,7 @@ #include "ftCommon/ftCo_Wait.h" #include "ftNess/ftNs_Init.h" #include "ftNess/types.h" -#include "it/items/it_27CF.h" +#include "it/items/itnessbat.h" // 0x80114BF4 void ftNs_AttackS4_OnReflect( diff --git a/src/melee/ft/chara/ftPeach/ftPe_SpecialLw.c b/src/melee/ft/chara/ftPeach/ftPe_SpecialLw.c index 6aed3d87e2..09619786c2 100644 --- a/src/melee/ft/chara/ftPeach/ftPe_SpecialLw.c +++ b/src/melee/ft/chara/ftPeach/ftPe_SpecialLw.c @@ -21,6 +21,7 @@ #include "ftPeach/types.h" #include "it/it_26B1.h" #include "it/items/it_27CF.h" +#include "it/items/itpeachturnip.h" #include "lb/lb_00B0.h" #include diff --git a/src/melee/ft/chara/ftPopo/ftPp_Init.c b/src/melee/ft/chara/ftPopo/ftPp_Init.c index 9a72551f8b..2c8f4ac571 100644 --- a/src/melee/ft/chara/ftPopo/ftPp_Init.c +++ b/src/melee/ft/chara/ftPopo/ftPp_Init.c @@ -13,7 +13,7 @@ #include "ft/types.h" #include "ftNana/ftNn_Init.h" #include "it/it_26B1.h" -#include "it/items/it_27CF.h" +#include "it/items/itclimbersice.h" #include diff --git a/src/melee/ft/chara/ftPopo/ftPp_SpecialN.c b/src/melee/ft/chara/ftPopo/ftPp_SpecialN.c index 04b1cbf1de..6dec2feebe 100644 --- a/src/melee/ft/chara/ftPopo/ftPp_SpecialN.c +++ b/src/melee/ft/chara/ftPopo/ftPp_SpecialN.c @@ -17,6 +17,7 @@ #include "ft/types.h" #include "ftPopo/types.h" #include "it/items/it_27CF.h" +#include "it/items/itclimbersice.h" #include "lb/lb_00B0.h" #include diff --git a/src/melee/ft/chara/ftPopo/ftPp_SpecialS.c b/src/melee/ft/chara/ftPopo/ftPp_SpecialS.c index 39dc1c2aa3..7c02482a74 100644 --- a/src/melee/ft/chara/ftPopo/ftPp_SpecialS.c +++ b/src/melee/ft/chara/ftPopo/ftPp_SpecialS.c @@ -54,6 +54,8 @@ bool ftPp_SpecialS_8011F6FC(Fighter_GObj* gobj) return true; } +/// #ftPp_SpecialS_8011F720 + bool ftPp_SpecialS_8011F964(Fighter_GObj* gobj) { switch (GET_FIGHTER(gobj)->motion_id) { @@ -183,8 +185,6 @@ void ftPp_SpecialS1_Anim(Fighter_GObj* gobj) } } -s32 ftNn_Init_80123B10(Fighter_GObj*); /* extern */ - static inline void inlineC0(Fighter_GObj* gobj) { Fighter* fp = GET_FIGHTER(gobj); @@ -214,3 +214,185 @@ void ftPp_SpecialS2_Anim(Fighter_GObj* gobj) inlineC1(gobj); } } + +/// #ftPp_SpecialAirS1_Anim + +/// #ftPp_SpecialAirS2_Anim + +/// #ftPp_SpecialS1_IASA + +/// #ftPp_SpecialS2_IASA + +/// #ftPp_SpecialAirS1_IASA + +/// #ftPp_SpecialAirS2_IASA + +/// #ftPp_SpecialS1_Phys + +/// #ftPp_SpecialS2_Phys + +/// #ftPp_SpecialAirS1_Phys + +/// #ftPp_SpecialAirS2_Phys + +/// #ftPp_SpecialS1_Coll + +/// #ftPp_SpecialS2_Coll + +/// #ftPp_SpecialAirS1_Coll + +/// #ftPp_SpecialAirS2_Coll + +/// #ftPp_SpecialS_80120E68 + +/// #ftPp_SpecialS_80120FE0 + +/// #ftPp_SpecialS_801210C8 + +/// #ftPp_SpecialS_8012114C + +/// #ftPp_SpecialS_80121164 + +/// #ftPp_SpecialHi_Enter + +/// #ftPp_SpecialAirHi_Enter + +/// #ftPp_SpecialHiStart_0_Anim + +/// #ftPp_SpecialAirHiStart_0_Anim + +/// #ftPp_SpecialHiStart_0_IASA + +/// #ftPp_SpecialAirHiStart_0_IASA + +/// #ftPp_SpecialHiStart_0_Phys + +/// #ftPp_SpecialAirHiStart_0_Phys + +/// #ftPp_SpecialHiStart_0_Coll + +/// #ftPp_SpecialAirHiStart_0_Coll + +/// #ftPp_SpecialHi_801217EC + +/// #ftPp_SpecialHi_8012184C + +/// #ftPp_SpecialHi_801218AC + +/// #ftPp_SpecialHi_801218F8 + +/// #ftPp_SpecialHiThrow_0_Anim + +/// #ftPp_SpecialAirHiThrow_0_Anim + +void ftPp_SpecialHiThrow_0_IASA(Fighter_GObj* gobj) {} + +void ftPp_SpecialAirHiThrow_0_IASA(Fighter_GObj* gobj) {} + +/// #ftPp_SpecialHiThrow_0_Phys + +/// #ftPp_SpecialAirHiThrow_0_Phys + +/// #ftPp_SpecialHiThrow_0_Coll + +/// #ftPp_SpecialAirHiThrow_0_Coll + +/// #ftPp_SpecialHi_80121CE0 + +/// #ftPp_SpecialHi_80121D40 + +/// #ftPp_SpecialHi_80121DA0 + +/// #ftPp_SpecialHi_80121DD8 + +/// #ftPp_SpecialHiStart_1_Anim + +/// #ftPp_SpecialAirHiStart_1_Anim + +void ftPp_SpecialHiStart_1_IASA(Fighter_GObj* gobj) {} + +void ftPp_SpecialAirHiStart_1_IASA(Fighter_GObj* gobj) {} + +/// #ftPp_SpecialHiStart_1_Phys + +/// #ftPp_SpecialAirHiStart_1_Phys + +/// #ftPp_SpecialHiStart_1_Coll + +/// #ftPp_SpecialAirHiStart_1_Coll + +/// #ftPp_SpecialHi_80121FD8 + +/// #ftPp_SpecialHi_80122038 + +/// #ftPp_SpecialHi_80122098 + +/// #ftPp_SpecialHi_801220D4 + +/// #ftPp_SpecialHiThrow_1_Anim + +/// #ftPp_SpecialAirHiThrow_1_Anim + +void ftPp_SpecialHiThrow_1_IASA(Fighter_GObj* gobj) {} + +void ftPp_SpecialAirHiThrow_1_IASA(Fighter_GObj* gobj) {} + +/// #ftPp_SpecialHiThrow_1_Phys + +/// #ftPp_SpecialAirHiThrow_1_Phys + +/// #ftPp_SpecialHiThrow_1_Coll + +/// #ftPp_SpecialAirHiThrow_1_Coll + +/// #ftPp_SpecialHi_801222E8 + +/// #ftPp_SpecialHi_80122348 + +/// #ftPp_SpecialHi_80122380 + +/// #ftPp_SpecialHiThrow2_Anim + +/// #ftPp_SpecialAirHiThrow2_Anim + +void ftPp_SpecialHiThrow2_IASA(Fighter_GObj* gobj) {} + +void ftPp_SpecialAirHiThrow2_IASA(Fighter_GObj* gobj) {} + +/// #ftPp_SpecialHiThrow2_Phys + +/// #ftPp_SpecialAirHiThrow2_Phys + +/// #ftPp_SpecialHiThrow2_Coll + +/// #ftPp_SpecialAirHiThrow2_Coll + +/// #ftPp_SpecialHi_801227AC + +/// #ftPp_SpecialHi_8012280C + +/// #ftPp_SpecialHi_80122898 + +/// #ftPp_SpecialLw_Enter + +/// #ftPp_SpecialAirLw_Enter + +/// #ftPp_SpecialLw_Anim + +/// #ftPp_SpecialAirLw_Anim + +void ftPp_SpecialLw_IASA(Fighter_GObj* gobj) {} + +void ftPp_SpecialAirLw_IASA(Fighter_GObj* gobj) {} + +/// #ftPp_SpecialLw_Phys + +/// #ftPp_SpecialAirLw_Phys + +/// #fn_80122B54 + +/// #ftPp_SpecialLw_Coll + +/// #ftPp_SpecialAirLw_Coll + +/// #fn_80122D2C diff --git a/src/melee/ft/chara/ftSamus/ftSs_SpecialLw_1.c b/src/melee/ft/chara/ftSamus/ftSs_SpecialLw_1.c index effba327b7..bba43fec4c 100644 --- a/src/melee/ft/chara/ftSamus/ftSs_SpecialLw_1.c +++ b/src/melee/ft/chara/ftSamus/ftSs_SpecialLw_1.c @@ -13,7 +13,7 @@ #include "ft/types.h" #include "ftCommon/types.h" #include "ftSamus/types.h" -#include "it/items/it_27CF.h" +#include "it/items/itsamusbomb.h" #include "lb/lb_00B0.h" #include diff --git a/src/melee/ft/chara/ftSamus/ftSs_SpecialN.c b/src/melee/ft/chara/ftSamus/ftSs_SpecialN.c index 15aa305a47..7ee6749391 100644 --- a/src/melee/ft/chara/ftSamus/ftSs_SpecialN.c +++ b/src/melee/ft/chara/ftSamus/ftSs_SpecialN.c @@ -21,7 +21,7 @@ #include "ftCommon/ftCo_Escape.h" #include "ftCommon/ftCo_FallSpecial.h" #include "ftSamus/types.h" -#include "it/items/it_27CF.h" +#include "it/items/itsamuschargeshot.h" #include "lb/lb_00B0.h" #include diff --git a/src/melee/ft/chara/ftSamus/inlines.h b/src/melee/ft/chara/ftSamus/inlines.h index af73ce7462..d8df199aa5 100644 --- a/src/melee/ft/chara/ftSamus/inlines.h +++ b/src/melee/ft/chara/ftSamus/inlines.h @@ -1,20 +1,18 @@ #ifndef MELEE_FT_CHARA_FTSAMUS_INLINES_H +#define MELEE_FT_CHARA_FTSAMUS_INLINES_H + #include "it/forward.h" #include -#include "ftSamus/types.h" -#include "it/items/it_27CF.h" - -#include -#include - -#define MELEE_FT_CHARA_FTSAMUS_INLINES_H - #include "ef/eflib.h" #include "ft/inlines.h" #include "ft/types.h" #include "ftSamus/ftSs_Init.h" -#include "it/items/it_27CF.h" +#include "ftSamus/types.h" +#include "it/items/itsamuschargeshot.h" + +#include +#include static inline void ftSamus_updateDamageDeathCBs(HSD_GObj* gobj) { diff --git a/src/melee/ft/chara/ftSeak/ftSk_SpecialHi.c b/src/melee/ft/chara/ftSeak/ftSk_SpecialHi.c index 98fd7deb41..4d2047e210 100644 --- a/src/melee/ft/chara/ftSeak/ftSk_SpecialHi.c +++ b/src/melee/ft/chara/ftSeak/ftSk_SpecialHi.c @@ -105,76 +105,90 @@ void ftSk_SpecialAirHi_Enter(HSD_GObj* gobj) ftAnim_8006EBA4(gobj); } -// 801131D0 - 8011320C (0x3C bytes) +/// #fn_80112ED8 -// 8011320C - 80113210 (0x4 bytes) +/// #ftSk_SpecialHi_80112F48 + +/// #ftSk_SpecialHi_80112FA8 + +/// #fn_80113038 + +/// #ftSk_SpecialHi_Enter + +/// #ftSk_SpecialAirHi_Enter + +/// #ftSk_SpecialHiStart_0_Anim + +/// #ftSk_SpecialAirHiStart_0_Anim + +void ftSk_SpecialHiStart_0_IASA(HSD_GObj* gobj) {} // Interrupt_SheikUpBStartAir -// 80113210 - 80113214 (0x4 bytes) +void ftSk_SpecialAirHiStart_0_IASA(HSD_GObj* gobj) {} -// 80113214 - 80113234 (0x20 bytes) +/// #ftSk_SpecialHiStart_0_Phys -// 80113234 - 80113278 (0x44 bytes) +/// #ftSk_SpecialAirHiStart_0_Phys -// 80113278 - 801132B4 (0x3C bytes) +/// #ftSk_SpecialHiStart_0_Coll -// 801132B4 - 80113324 (0x70 bytes) +/// #ftSk_SpecialAirHiStart_0_Coll -// 80113324 - 80113390 (0x6C bytes) +/// #ftSk_SpecialHi_80113324 -// 80113390 - 801133FC (0x6C bytes) +/// #ftSk_SpecialHi_80113390 -// 801133FC - 80113438 (0x3C bytes) +/// #ftSk_SpecialHiStart_1_Anim // Animation_SheikUpBTravel -// 80113438 - 80113474 (0x3C bytes) +/// #ftSk_SpecialAirHiStart_1_Anim -// 80113474 - 80113478 (0x4 bytes) +void ftSk_SpecialHiStart_1_IASA(HSD_GObj* gobj) {} // Interrupt_SheikUpBTravelAir -// 80113478 - 8011347C (0x4 bytes) +void ftSk_SpecialAirHiStart_1_IASA(HSD_GObj* gobj) {} // Physics_SheikUpBTravelAir -// 8011347C - 8011349C (0x20 bytes) +/// #ftSk_SpecialHiStart_1_Phys -// 8011349C - 801134A0 (0x4 bytes) +void ftSk_SpecialAirHiStart_1_Phys(HSD_GObj* gobj) {} -// 801134A0 - 80113540 (0xA0 bytes) +/// #ftSk_SpecialHiStart_1_Coll -// 80113540 - 8011374C (0x20C bytes) +/// #ftSk_SpecialAirHiStart_1_Coll // AS_SheikUpBGroundtoAirFall? -// 8011374C - 801137C8 (0x7C bytes) +/// #ftSk_SpecialHi_8011374C // AS_SheikUpBLand -// 801137C8 - 80113838 (0x70 bytes) +/// #ftSk_SpecialHi_801137C8 // AS_SheikUpBTravelGround -// 80113838 - 80113A30 (0x1F8 bytes) +/// #ftSk_SpecialHi_80113838 // AS_SheikUpBTravelAir -// 80113A30 - 80113C40 (0x210 bytes) +/// #ftSk_SpecialHi_80113A30 -// 80113C40 - 80113C7C (0x3C bytes) +/// #ftSk_SpecialHi_Anim -// 80113C7C - 80113CDC (0x60 bytes) +/// #ftSk_SpecialAirHi_Anim -// 80113CDC - 80113CE0 (0x4 bytes) +void ftSk_SpecialHi_IASA(HSD_GObj* gobj) {} // Interrupt_SheikUpBEndAir -// 80113CE0 - 80113CE4 (0x4 bytes) +void ftSk_SpecialAirHi_IASA(HSD_GObj* gobj) {} -// 80113CE4 - 80113D04 (0x20 bytes) +/// #ftSk_SpecialHi_Phys -// 80113D04 - 80113D80 (0x7C bytes) +/// #ftSk_SpecialAirHi_Phys -// 80113D80 - 80113DBC (0x3C bytes) +/// #ftSk_SpecialHi_Coll -// 80113DBC - 80113E40 (0x84 bytes) +/// #ftSk_SpecialAirHi_Coll -// 80113E40 - 80113EAC (0x6C bytes) +/// #ftSk_SpecialHi_80113E40 -// 80113EAC - 80113F68 (0xBC bytes) +/// #ftSk_SpecialHi_80113EAC // AS_SheikUpBFall -// 80113F68 - 80114034 (0xCC bytes) +/// #ftSk_SpecialHi_80113F68 diff --git a/src/melee/ft/chara/ftSeak/ftSk_SpecialLw.c b/src/melee/ft/chara/ftSeak/ftSk_SpecialLw.c index 40500c1f56..52e4ee828f 100644 --- a/src/melee/ft/chara/ftSeak/ftSk_SpecialLw.c +++ b/src/melee/ft/chara/ftSeak/ftSk_SpecialLw.c @@ -11,7 +11,9 @@ static float const ftSk_Init_804D96A0 = 1.0471975803375244F; static float const ftSk_Init_804D96A4 = 0.0F; static double const ftSk_Init_804D96A8 = 0.0078125; -// 80114034 - 801140B0 (0x7C bytes) +/// #fn_80114034 + +/// #fn_801140B0 void fn_8011412C(HSD_GObj* gobj) { @@ -21,51 +23,51 @@ void fn_8011412C(HSD_GObj* gobj) } // Sheik_AS_361_Transform_Grounded -// 80114160 - 80114224 (0xC4 bytes) +/// #ftSk_SpecialLw_Enter // Sheik_AS_363_Transform_Aerial -// 80114224 - 801142E8 (0xC4 bytes) +/// #ftSk_SpecialAirLw_Enter // Animation_SheikTransformStartGround -// 801142E8 - 80114328 (0x40 bytes) +/// #ftSk_SpecialLw_Anim -// 80114328 - 80114368 (0x40 bytes) +/// #ftSk_SpecialAirLw_Anim -// 80114368 - 8011436C (0x4 bytes) +void ftSk_SpecialLw_IASA(HSD_GObj* gobj) {} -// 8011436C - 80114370 (0x4 bytes) +void ftSk_SpecialAirLw_IASA(HSD_GObj* gobj) {} -// 80114370 - 80114390 (0x20 bytes) +/// #ftSk_SpecialLw_Phys -// 80114390 - 801143D4 (0x44 bytes) +/// #ftSk_SpecialAirLw_Phys -// 801143D4 - 80114410 (0x3C bytes) +/// #ftSk_SpecialLw_Coll -// 80114410 - 8011444C (0x3C bytes) +/// #ftSk_SpecialAirLw_Coll -// 8011444C - 801144B8 (0x6C bytes) +/// #ftSk_SpecialLw_8011444C -// 801144B8 - 80114524 (0x6C bytes) +/// #ftSk_SpecialLw_801144B8 -// 80114524 - 80114560 (0x3C bytes) +/// #ftSk_SpecialLw2_Anim -// 80114560 - 8011459C (0x3C bytes) +/// #ftSk_SpecialAirLw2_Anim -// 8011459C - 801145A0 (0x4 bytes) +void ftSk_SpecialLw2_IASA(HSD_GObj* gobj) {} -// 801145A0 - 801145A4 (0x4 bytes) +void ftSk_SpecialAirLw2_IASA(HSD_GObj* gobj) {} -// 801145A4 - 801145C4 (0x20 bytes) +/// #ftSk_SpecialLw2_Phys -// 801145C4 - 80114608 (0x44 bytes) +/// #ftSk_SpecialAirLw2_Phys -// 80114608 - 80114644 (0x3C bytes) +/// #ftSk_SpecialLw2_Coll -// 80114644 - 80114680 (0x3C bytes) +/// #ftSk_SpecialAirLw2_Coll -// 80114680 - 801146EC (0x6C bytes) +/// #ftSk_SpecialLw_80114680 -// 801146EC - 80114758 (0x6C bytes) +/// #ftSk_SpecialLw_801146EC // AS_SheikFinishTransformation -// 80114758 - 801147C0 (0x68 bytes) +/// #ftSk_SpecialLw_80114758 diff --git a/src/melee/ft/chara/ftSeak/ftSk_SpecialN.c b/src/melee/ft/chara/ftSeak/ftSk_SpecialN.c index 504cb86133..fd0078d0e9 100644 --- a/src/melee/ft/chara/ftSeak/ftSk_SpecialN.c +++ b/src/melee/ft/chara/ftSeak/ftSk_SpecialN.c @@ -16,6 +16,7 @@ #include "ftCommon/ftCo_FallSpecial.h" #include "ftSeak/ftSk_Init.h" #include "it/items/itseakneedleheld.h" +#include "it/items/itseakneedlethrown.h" #include diff --git a/src/melee/ft/chara/ftYoshi/ftYs_SpecialN.c b/src/melee/ft/chara/ftYoshi/ftYs_SpecialN.c index 6e869370d2..6e7cb2bd32 100644 --- a/src/melee/ft/chara/ftYoshi/ftYs_SpecialN.c +++ b/src/melee/ft/chara/ftYoshi/ftYs_SpecialN.c @@ -47,6 +47,22 @@ Vec3 ftYs_Unk3_803CEDA4[] = { Vec3 const ftYs_Unk1_803B75C0 = { 0 }; +/// #ftYs_SpecialN_8012CD10 + +/// #ftYs_SpecialN_8012CD28 + +/// #ftYs_SpecialN_8012CD40 + +/// #ftYs_SpecialN_8012CD58 + +/// #ftYs_SpecialN_8012CD70 + +/// #ftYs_SpecialN_8012CD88 + +/// #ftYs_SpecialN_8012CDB4 + +/// #ftYs_SpecialN_8012CDD4 + void ftYs_SpecialN_Enter(HSD_GObj* gobj) { Fighter* fp = GET_FIGHTER(gobj); @@ -60,6 +76,8 @@ void ftYs_SpecialN_Enter(HSD_GObj* gobj) } } +/// #ftYs_SpecialAirN_Enter + void fn_8012CEE0(HSD_GObj* gobj) { Fighter* fp = GET_FIGHTER(gobj); @@ -84,6 +102,92 @@ void fn_8012CF7C(HSD_GObj* gobj) ftCommon_8007E2FC(gobj); } +/// #fn_8012D004 + +/// #fn_8012D0A0 + +/// #fn_8012D128 + +/// #fn_8012D1AC + +/// #fn_8012D230 + +/// #fn_8012D298 + +/// #fn_8012D2F8 + +/// #fn_8012D360 + +/// #fn_8012D3C0 + +/// #fn_8012D428 + +/// #fn_8012D488 + +/// #fn_8012D4F0 + +/// #ftYs_SpecialN1_Anim + +/// #ftYs_SpecialAirN1_0_Anim + +/// #ftYs_SpecialN1_1_Anim + +/// #ftYs_SpecialN1_0_Anim + +/// #ftYs_SpecialAirN1_2_Anim + +/// #ftYs_SpecialAirN1_1_Anim + +/// #ftYs_SpecialN2_1_Anim + +/// #ftYs_SpecialN2_0_Anim + +/// #ftYs_SpecialAirN2_1_Anim + +/// #ftYs_SpecialAirN2_0_Anim + +/// #ftYs_SpecialN1_Phys + +/// #ftYs_SpecialAirN1_0_Phys + +/// #ftYs_SpecialN1_1_Phys + +/// #ftYs_SpecialN1_0_Phys + +/// #ftYs_SpecialAirN1_2_Phys + +/// #ftYs_SpecialAirN1_1_Phys + +/// #ftYs_SpecialN2_1_Phys + +/// #ftYs_SpecialN2_0_Phys + +/// #ftYs_SpecialAirN2_1_Phys + +/// #ftYs_SpecialAirN2_0_Phys + +/// #ftYs_SpecialN1_Coll + +/// #ftYs_SpecialAirN1_0_Coll + +/// #ftYs_SpecialN1_1_Coll + +/// #ftYs_SpecialN1_0_Coll + +/// #ftYs_SpecialAirN1_2_Coll + +/// #ftYs_SpecialAirN1_1_Coll + +/// #ftYs_SpecialN2_1_Coll + +/// #ftYs_SpecialN2_0_Coll + +/// #ftYs_SpecialAirN2_1_Coll + +/// #ftYs_SpecialAirN2_0_Coll + +/// #ftYs_SpecialS_8012DF00 + void ftYs_SpecialS_8012DF18(HSD_GObj* gobj) { Fighter* fp = GET_FIGHTER(gobj); @@ -103,8 +207,33 @@ void ftYs_SpecialS_8012DF18(HSD_GObj* gobj) } } -extern f32 ftYs_Init_804D9A5C; -extern f32 ftYs_Init_804D9A60; +/// #ftYs_SpecialS_8012DF8C + +/// #fn_8012E110 + +/// #ftYs_SpecialS_8012E270 + +/// #ftYs_SpecialHi_Enter + +/// #ftYs_SpecialAirHi_Enter + +/// #fn_8012E3B4 + +/// #fn_8012E44C + +/// #ftYs_SpecialHi_Anim + +/// #ftYs_SpecialAirHi_Anim + +/// #ftYs_SpecialHi_Phys + +/// #ftYs_SpecialAirHi_Phys + +/// #ftYs_SpecialHi_Coll + +/// #ftYs_SpecialAirHi_Coll + +/// #fn_8012E644 inline void ftYoshi_SpecialLw_SetVars(HSD_GObj* arg0) { @@ -127,6 +256,12 @@ void ftYs_SpecialLw_Enter(HSD_GObj* gobj) ftYoshi_SpecialLw_SetVars(gobj); } +/// #ftYs_SpecialAirLw_Enter + +/// #ftYs_SpecialLw_Anim + +/// #ftYs_SpecialAirLw_Anim + void ftYs_SpecialLw_Phys(HSD_GObj* gobj) { Fighter* fp = GET_FIGHTER(gobj); @@ -136,6 +271,8 @@ void ftYs_SpecialLw_Phys(HSD_GObj* gobj) } } +/// #ftYs_SpecialAirLw_Phys + void ftYs_SpecialLw_Coll(HSD_GObj* gobj) { ftYs_SpecialAirLw_Coll(gobj); @@ -161,6 +298,14 @@ void ftYs_SpecialAirLw_Coll(HSD_GObj* gobj) } } +/// #ftYs_SpecialS_8012EA04 + +/// #ftYs_SpecialLwLanding_Anim + +/// #ftYs_SpecialLwLanding_Phys + +/// #ftYs_SpecialLwLanding_Coll + void ftYs_SpecialS_8012EAD8(HSD_GObj* gobj) { Fighter* fp = GET_FIGHTER(gobj); @@ -170,3 +315,87 @@ void ftYs_SpecialS_8012EAD8(HSD_GObj* gobj) 0, NULL); fp->accessory4_cb = fn_8012E644; } + +/// #ftYs_SpecialS_8012EB48 + +/// #fn_8012EC7C + +/// #fn_8012EDE8 + +/// #fn_8012EFC0 + +/// #fn_8012EFF4 + +/// #ftYs_SpecialS_8012F0DC + +/// #ftYs_SpecialS_8012F35C + +/// #ftYs_SpecialS_Enter + +/// #ftYs_SpecialAirS_Enter + +/// #ftYs_SpecialAirSStart_0_Anim + +/// #ftYs_SpecialAirSLoop_0_Anim + +/// #ftYs_SpecialAirSLoop_1_Anim + +/// #ftYs_SpecialAirSEnd_Anim + +/// #ftYs_SpecialAirSStart_1_Anim + +/// #ftYs_SpecialAirSLoop_2_Anim + +/// #ftYs_SpecialAirSLoop_3_Anim + +/// #ftYs_SpecialAirSLanding_Anim + +void ftYs_SpecialAirSStart_0_IASA(ftYs_GObj* gobj) {} + +/// #ftYs_SpecialAirSLoop_0_IASA + +/// #ftYs_SpecialAirSLoop_1_IASA + +void ftYs_SpecialAirSEnd_IASA(ftYs_GObj* gobj) {} + +/// #ftYs_SpecialAirSStart_1_IASA + +/// #ftYs_SpecialAirSLoop_2_IASA + +/// #ftYs_SpecialAirSLoop_3_IASA + +/// #ftYs_SpecialAirSLanding_IASA + +/// #ftYs_SpecialAirSStart_0_Phys + +/// #ftYs_SpecialAirSLoop_0_Phys + +/// #ftYs_SpecialAirSLoop_1_Phys + +/// #ftYs_SpecialAirSEnd_Phys + +/// #ftYs_SpecialAirSStart_1_Phys + +/// #ftYs_SpecialAirSLoop_2_Phys + +/// #ftYs_SpecialAirSLoop_3_Phys + +/// #ftYs_SpecialAirSLanding_Phys + +/// #ftYs_SpecialAirSStart_0_Coll + +/// #ftYs_SpecialAirSLoop_0_Coll + +/// #ftYs_SpecialAirSLoop_1_Coll + +/// #ftYs_SpecialAirSEnd_Coll + +/// #ftYs_SpecialAirSStart_1_Coll + +/// #ftYs_SpecialAirSLoop_2_Coll + +/// #ftYs_SpecialAirSLoop_3_Coll + +/// #ftYs_SpecialAirSLanding_Coll + +/// #fn_8013295C diff --git a/src/melee/ft/ft_081B.c b/src/melee/ft/ft_081B.c index 7dc45c19d5..f28945b6e8 100644 --- a/src/melee/ft/ft_081B.c +++ b/src/melee/ft/ft_081B.c @@ -202,7 +202,11 @@ void ft_80085134(Fighter_GObj* gobj) /// #ft_80085154 -/// #ft_800851C0 +void ft_800851C0(Fighter_GObj* gobj) +{ + Fighter* fp = GET_FIGHTER(gobj); + fp->self_vel.y = fp->x6A4_transNOffset.y; +} /// #ft_800851D0 diff --git a/src/melee/ft/ft_0C88.c b/src/melee/ft/ft_0C88.c index 8b13789179..112d0c707d 100644 --- a/src/melee/ft/ft_0C88.c +++ b/src/melee/ft/ft_0C88.c @@ -1 +1,16 @@ +#include "ft/inlines.h" +#include "ft/types.h" +#include +#include + +void fn_800C8B1C(Fighter_GObj* gobj) +{ + GET_FIGHTER(gobj)->smash_attrs.x2134_vibrateFrame = 0; +} + +void ftCo_DownSpot_IASA(Fighter_GObj* gobj) {} + +void ftCo_Barrel_Phys(Fighter_GObj* gobj) {} + +void ftCo_Barrel_Coll(Fighter_GObj* gobj) {} diff --git a/src/melee/ft/ft_0C88.h b/src/melee/ft/ft_0C88.h index 70a6d1a34e..16cfe9de77 100644 --- a/src/melee/ft/ft_0C88.h +++ b/src/melee/ft/ft_0C88.h @@ -12,6 +12,7 @@ /* 0C89A0 */ void ftCo_800C89A0(ftCo_GObj* gobj); /* 0C8A64 */ void ftCo_800C8A64(ftCo_GObj* gobj); /* 0C8AF0 */ void ftCo_800C8AF0(Fighter*); +/* 0C8B1C */ void fn_800C8B1C(Fighter_GObj* gobj); /* 0C8B2C */ bool ftCo_800C8B2C(Fighter*, bool, bool); /* 0C8B60 */ void ftCo_800C8B60(ftCo_Fighter* fp, int, s8); /* 0C8B74 */ void ftCo_800C8B74(ftCo_GObj* gobj); diff --git a/src/melee/ft/ft_0CEE.c b/src/melee/ft/ft_0CEE.c index 8b13789179..3aeb814fbf 100644 --- a/src/melee/ft/ft_0CEE.c +++ b/src/melee/ft/ft_0CEE.c @@ -1 +1,61 @@ +#include "ft_0CEE.h" +#include "ft/fighter.h" +#include "ft/ft_081B.h" +#include "ft/ft_0D14.h" +#include "ft/types.h" +#include "ftCommon/ftCo_DamageFall.h" +#include "ftCommon/ftCo_DamageIce.h" + +void ftCo_ItemParasolFall_Anim(Fighter_GObj* gobj) {} + +void ftCo_ItemParasolFallSpecial_Anim(Fighter_GObj* gobj) {} + +void ftCo_ItemParasolDamageFall_Anim(Fighter_GObj* gobj) {} + +void ftCo_ItemParasolFall_Phys(Fighter_GObj* gobj) +{ + ftCo_ItemParasolOpen_Phys(gobj); +} + +void ftCo_ItemParasolFallSpecial_Phys(Fighter_GObj* gobj) +{ + ftCo_ItemParasolOpen_Phys(gobj); +} + +void ftCo_ItemParasolDamageFall_IASA(Fighter_GObj* gobj) +{ + ftCo_DamageFall_IASA(gobj); +} + +void ftCo_ItemParasolDamageFall_Phys(Fighter_GObj* gobj) +{ + ft_80084DB0(gobj); +} + +void ftCo_ItemParasolOpen_Coll(Fighter_GObj* gobj) +{ + ft_8008370C(gobj, (void (*)(HSD_GObj*)) ftCo_800D5BF8); +} + +void ftCo_ItemParasolFall_Coll(Fighter_GObj* gobj) +{ + ft_8008370C(gobj, (void (*)(HSD_GObj*)) ftCo_800D5BF8); +} + +void ftCo_ItemParasolFallSpecial_Coll(Fighter_GObj* gobj) +{ + ft_8008370C(gobj, (HSD_GObjEvent) ft_800D5C54); +} + +void ftCo_ItemParasolDamageFall_Coll(Fighter_GObj* gobj) +{ + ft_8008370C(gobj, (HSD_GObjEvent) ftCo_80090984); +} + +void ftCo_800CF280(Fighter_GObj* gobj) +{ + Fighter_ChangeMotionState(gobj, ftCo_MS_ItemParasolFall, + Ft_MF_SkipHit | Ft_MF_SkipParasol, 0, 1, 0, + NULL); +} diff --git a/src/melee/ft/ft_0CEE.h b/src/melee/ft/ft_0CEE.h index ac3749be91..a392deed03 100644 --- a/src/melee/ft/ft_0CEE.h +++ b/src/melee/ft/ft_0CEE.h @@ -13,7 +13,7 @@ /* 0CF118 */ void ftCo_ItemParasolOpen_IASA(ftCo_GObj* gobj); /* 0CF1A0 */ void ftCo_ItemParasolOpen_Phys(ftCo_GObj* gobj); /* 0CF258 */ void ftCo_ItemParasolOpen_Coll(ftCo_GObj* gobj); -/* 0CF280 */ UNK_RET ftCo_800CF280(UNK_PARAMS); +/* 0CF280 */ void ftCo_800CF280(Fighter_GObj* gobj); /* 0CF2B8 */ void ftCo_ItemParasolFall_Anim(ftCo_GObj* gobj); /* 0CF2BC */ void ftCo_ItemParasolFall_IASA(ftCo_GObj* gobj); /* 0CF380 */ void ftCo_ItemParasolFall_Phys(ftCo_GObj* gobj); diff --git a/src/melee/ft/ft_0D14.c b/src/melee/ft/ft_0D14.c index 8b13789179..852ae5d3c1 100644 --- a/src/melee/ft/ft_0D14.c +++ b/src/melee/ft/ft_0D14.c @@ -1 +1,99 @@ +#include "ft/inlines.h" +#include "ft/types.h" +void fn_800DA490(Fighter_GObj* gobj) +{ + GET_FIGHTER(gobj)->take_dmg_cb = NULL; +} + +void ftCo_DamageScrew_IASA(Fighter_GObj* gobj) {} + +void ftCo_DeadLeft_Cam(Fighter_GObj* gobj) {} + +void ftCo_DeadRight_Cam(Fighter_GObj* gobj) {} + +void ftCo_DeadDown_Cam(Fighter_GObj* gobj) {} + +void ftCo_DeadUp_Cam(Fighter_GObj* gobj) {} + +void ftCo_Rebirth_IASA(Fighter_GObj* gobj) {} + +void ftCo_ItemScopeStart_Anim(Fighter_GObj* gobj) {} + +void ftCo_ItemScopeAirStart_Anim(Fighter_GObj* gobj) {} + +void ftCo_ItemScopeFire_IASA(Fighter_GObj* gobj) {} + +void ftCo_ItemScopeAirFire_IASA(Fighter_GObj* gobj) {} + +void ftCo_ItemScopeEnd_IASA(Fighter_GObj* gobj) {} + +void ftCo_ItemScopeAirEnd_IASA(Fighter_GObj* gobj) {} + +void ftCo_Catch_IASA(Fighter_GObj* gobj) {} + +void ftCo_CatchDash_IASA(Fighter_GObj* gobj) {} + +void ftCo_CatchPull_IASA(Fighter_GObj* gobj) {} + +void ftCo_CatchWait_Anim(Fighter_GObj* gobj) {} + +void ftCo_CatchAttack_IASA(Fighter_GObj* gobj) {} + +void fn_800DA668(Fighter_GObj* gobj) +{ + GET_FIGHTER(gobj)->take_dmg_cb = NULL; +} + +void ftCo_CatchCut_IASA(Fighter_GObj* gobj) {} + +void ftCo_CapturePulledHi_Anim(Fighter_GObj* gobj) {} + +void ftCo_CapturePulledHi_IASA(Fighter_GObj* gobj) {} + +void ftCo_CapturePulledLw_Anim(Fighter_GObj* gobj) {} + +void ftCo_CapturePulledLw_IASA(Fighter_GObj* gobj) {} + +void ftCo_CaptureDamageHi_IASA(Fighter_GObj* gobj) {} + +void ftCo_CaptureDamageLw_IASA(Fighter_GObj* gobj) {} + +void ftCo_CaptureCut_IASA(Fighter_GObj* gobj) {} + +void ftCo_ThrowF_IASA(Fighter_GObj* gobj) {} + +void ftCo_ThrowB_IASA(Fighter_GObj* gobj) {} + +void ftCo_ThrowHi_IASA(Fighter_GObj* gobj) {} + +void ftCo_ThrowLw_IASA(Fighter_GObj* gobj) {} + +void ftCo_ThrownF_IASA(Fighter_GObj* gobj) {} + +void ftCo_ThrownF_Phys(Fighter_GObj* gobj) {} + +void ftCo_ThrownF_Coll(Fighter_GObj* gobj) {} + +void ftCo_ThrownB_IASA(Fighter_GObj* gobj) {} + +void ftCo_ThrownB_Phys(Fighter_GObj* gobj) {} + +void ftCo_ThrownB_Coll(Fighter_GObj* gobj) {} + +void ftCo_ThrownHi_IASA(Fighter_GObj* gobj) {} + +void ftCo_ThrownHi_Phys(Fighter_GObj* gobj) {} + +void ftCo_ThrownHi_Coll(Fighter_GObj* gobj) {} + +void ftCo_ThrownLw_IASA(Fighter_GObj* gobj) {} + +void ftCo_ThrownLw_Phys(Fighter_GObj* gobj) {} + +void ftCo_ThrownLw_Coll(Fighter_GObj* gobj) {} + +void ftCo_800DEEA8(Fighter_GObj* gobj) +{ + GET_FIGHTER(gobj)->smash_attrs.state = SmashState_None; +} diff --git a/src/melee/ft/ft_0D14.h b/src/melee/ft/ft_0D14.h index b4ac4d2e76..49b932f5dc 100644 --- a/src/melee/ft/ft_0D14.h +++ b/src/melee/ft/ft_0D14.h @@ -213,10 +213,12 @@ /* 0DA31C */ void ftCo_CatchWait_IASA(ftCo_GObj* gobj); /* 0DA3D0 */ void ftCo_CatchWait_Phys(ftCo_GObj* gobj); /* 0DA418 */ void ftCo_CatchWait_Coll(ftCo_GObj* gobj); +/* 0DA490 */ void fn_800DA490(Fighter_GObj* gobj); /* 0DA568 */ void ftCo_CatchAttack_Anim(ftCo_GObj* gobj); /* 0DA5A4 */ void ftCo_CatchAttack_IASA(ftCo_GObj* gobj); /* 0DA5A8 */ void ftCo_CatchAttack_Phys(ftCo_GObj* gobj); /* 0DA5F0 */ void ftCo_CatchAttack_Coll(ftCo_GObj* gobj); +/* 0DA668 */ void fn_800DA668(Fighter_GObj* gobj); /* 0DA698 */ void ftCo_800DA698(ftCo_GObj* gobj, bool); /* 0DA744 */ void ftCo_CatchCut_Anim(ftCo_GObj* gobj); /* 0DA780 */ void ftCo_CatchCut_IASA(ftCo_GObj* gobj); diff --git a/src/melee/ft/ftaction.c b/src/melee/ft/ftaction.c index 62477b9a49..c50e32ea49 100644 --- a/src/melee/ft/ftaction.c +++ b/src/melee/ft/ftaction.c @@ -75,13 +75,6 @@ FtCmdState* cmd); /* 071B28 */ static void ftAction_80071B28(Fighter_GObj* gobj, FtCmdState* cmd); -/* 071BE0 */ static UNK_RET lbl_80071BE0(UNK_PARAMS); -/* 071BE8 */ static UNK_RET lbl_80071BE8(UNK_PARAMS); -/* 071BF0 */ static UNK_RET lbl_80071BF0(UNK_PARAMS); -/* 071BF8 */ static UNK_RET lbl_80071BF8(UNK_PARAMS); -/* 071C00 */ static UNK_RET lbl_80071C00(UNK_PARAMS); -/* 071C08 */ static UNK_RET lbl_80071C08(UNK_PARAMS); -/* 071C10 */ static UNK_RET lbl_80071C10(UNK_PARAMS); /* 071CCC */ static void ftAction_80071CCC(Fighter_GObj* gobj, FtCmdState* cmd); /* 071D30 */ static void ftAction_80071D30(Fighter_GObj* gobj, @@ -104,24 +97,10 @@ FtCmdState* cmd); /* 071FC8 */ static void ftAction_80071FC8(Fighter_GObj* gobj, FtCmdState* cmd); -/* 072210 */ static UNK_RET lbl_80072210(UNK_PARAMS); -/* 072228 */ static UNK_RET lbl_80072228(UNK_PARAMS); -/* 072240 */ static UNK_RET lbl_80072240(UNK_PARAMS); -/* 072258 */ static UNK_RET lbl_80072258(UNK_PARAMS); -/* 072270 */ static UNK_RET lbl_80072270(UNK_PARAMS); -/* 072288 */ static UNK_RET lbl_80072288(UNK_PARAMS); -/* 0722A0 */ static UNK_RET lbl_800722A0(UNK_PARAMS); /* 0722C8 */ static void ftAction_800722C8(Fighter_GObj* gobj, FtCmdState* cmd); /* 072320 */ static void ftAction_80072320(Fighter_GObj* gobj, FtCmdState* cmd); -/* 072408 */ static UNK_RET lbl_80072408(UNK_PARAMS); -/* 07243C */ static UNK_RET lbl_8007243C(UNK_PARAMS); -/* 072480 */ static UNK_RET lbl_80072480(UNK_PARAMS); -/* 072530 */ static UNK_RET lbl_80072530(UNK_PARAMS); -/* 072574 */ static UNK_RET lbl_80072574(UNK_PARAMS); -/* 0725B8 */ static UNK_RET lbl_800725B8(UNK_PARAMS); -/* 0725FC */ static UNK_RET lbl_800725FC(UNK_PARAMS); /* 0726C0 */ static void ftAction_800726C0(Fighter_GObj* gobj, FtCmdState* cmd); /* 0726F4 */ static void ftAction_800726F4(Fighter_GObj* gobj, diff --git a/src/melee/ft/ftcommon.c b/src/melee/ft/ftcommon.c index 95701c0807..dd5696639d 100644 --- a/src/melee/ft/ftcommon.c +++ b/src/melee/ft/ftcommon.c @@ -29,10 +29,10 @@ #include "it/it_26B1.h" #include "it/item.h" #include "it/items/it_27CF.h" +#include "it/items/it_2E5A.h" #include "it/items/itfflowerflame.h" #include "it/items/itsword.h" #include "lb/lb_00F9.h" -#include "lb/lbrefract.h" #include "mp/mplib.h" #include "pl/pl_0371.h" #include "pl/player.h" @@ -40,6 +40,7 @@ #include "un/un_2FC9.h" #include +#include #include #include #include diff --git a/src/melee/gm/gm_1601.c b/src/melee/gm/gm_1601.c index fb58baed77..bc8e3d84f0 100644 --- a/src/melee/gm/gm_1601.c +++ b/src/melee/gm/gm_1601.c @@ -17,6 +17,222 @@ struct gmMainLib_8015ED8C_arg0_t lbl_803B75F8 = { 0 }; #define NUM_UNLOCKABLE_CHARACTERS 11 +/// #gm_801601C4 + +/// #gm_80160244 + +/// #gm_801602C0 + +/// #gm_801603B0 + +/// #fn_80160400 + +/// #gm_80160438 + +/// #gm_80160474 + +/// #gm_801604DC + +/// #gm_80160564 + +/// #fn_801605EC + +/// #gm_80160638 + +/// #fn_801606A8 + +/// #fn_80160710 + +/// #gm_8016075C + +/// #fn_801607A8 + +/// #fn_801607F4 + +/// #fn_80160840 + +/// #gm_80160854 + +/// #gm_80160968 + +/// #gm_80160980 + +/// #fn_801609E0 + +/// #gm_80160A60 + +/// #gm_80160B40 + +/// #gm_80160C90 + +/// #fn_80160DE8 + +/// #fn_80160F58 + +/// #fn_80161004 + +/// #fn_80161154 + +/// #fn_80161C90 + +/// #fn_80162068 + +/// #fn_80162170 + +/// #gm_801623A4 + +/// #gm_801623D8 + +/// #gm_801623FC + +/// #gm_8016247C + +/// #gm_80162574 + +/// #gm_8016260C + +/// #gm_8016279C + +/// #gm_80162800 + +/// #gm_801628C4 + +/// #gm_80162968 + +/// #gm_801629B4 + +/// #gm_80162A00 + +/// #gm_80162A4C + +/// #gm_80162A98 + +/// #gm_80162B4C + +/// #gm_80162B98 + +/// #gm_80162BD8 + +/// #fn_80162BFC + +/// #gm_80162C48 + +/// #fn_80162CCC + +/// #gm_80162D1C + +/// #gm_80162D6C + +/// #gm_80162DD4 + +/// #fn_80162DF8 + +/// #gm_80162E44 + +/// #gm_80162EC8 + +/// #gm_80162F18 + +/// #gm_80162F68 + +/// #gm_80162FD0 + +/// #fn_80162FF4 + +/// #gm_80163040 + +/// #fn_801630C4 + +/// #gm_80163114 + +/// #gm_80163164 + +/// #gm_801631CC + +/// #gm_801631F0 + +/// #gm_80163274 + +/// #gm_80163298 + +/// #gm_8016332C + +/// #gm_80163374 + +/// #gm_801634D4 + +/// #gm_8016365C + +/// #gm_80163690 + +/// #gm_801636D8 + +/// #gm_80163838 + +/// #gm_801639C0 + +/// #gm_801639F4 + +/// #gm_80163A3C + +/// #gm_80163B9C + +/// #fn_80163D24 + +/// #fn_80163D74 + +/// #gm_80163DC4 + +/// #gm_80163DE8 + +/// #gm_80163E3C + +/// #gm_80163E60 + +/// #gm_80163EB4 + +/// #gm_80163ED8 + +/// #gm_80163F2C + +/// #gm_80163F50 + +/// #fn_80163FA4 + +/// #gm_8016400C + +/// #gm_80164024 + +/// #gm_8016403C + +/// #fn_801640B0 + +/// #fn_8016419C + +/// #fn_801641B4 + +/// #gm_801641CC + +/// #gm_801641E4 + +/// #gm_80164250 + +/// #fn_801642A0 + +/// #gm_80164330 + +/// #gm_80164430 + +/// #gm_80164504 + +/// #gm_80164600 + +/// #gm_8016468C + +/// #gm_801647D0 + +/// #gm_801647F8 + bool gm_80164840(u8 id) { int i; @@ -36,6 +252,10 @@ bool gm_80164840(u8 id) return false; } +/// #gm_80164910 + +/// #gm_80164A0C + /// Are all unlockable characters unlocked? bool gm_80164ABC(struct gmMainLib_8015ED8C_arg0_t* arg0) { @@ -51,6 +271,148 @@ bool gm_80164ABC(struct gmMainLib_8015ED8C_arg0_t* arg0) return true; } +/// #fn_80164B48 + +/// #gm_80164F18 + +/// #gm_8016505C + +/// #gm_80165084 + +/// #fn_801650E8 + +/// #fn_80165108 + +/// #fn_80165190 + +/// #fn_801651FC + +/// #gm_80165268 + +/// #gm_80165290 + +/// #fn_801652B0 + +/// #fn_801652D8 + +/// #gm_80165388 + +/// #gm_801653C8 + +/// #fn_801653E8 + +/// #fn_80165418 + +/// #fn_801654A0 + +/// #fn_80165548 + +/// #fn_801656A8 + +/// #fn_8016588C + +/// #fn_80165AC0 + +/// #fn_80165D60 + +/// #fn_80165E7C + +/// #fn_80165FA4 + +/// #fn_801661E0 + +/// #gm_80166378 + +/// #fn_80166A8C + +/// #gm_80166A98 + +/// #fn_80166CBC + +/// #gm_80166CCC + +/// #gm_80167140 + +/// #fn_80167194 + +/// #fn_8016719C + +/// #gm_80167320 + +/// #gm_80167470 + +/// #gm_801674C4 + +/// #fn_8016758C + +/// #fn_80167638 + +/// #gm_801677C0 + +/// #gm_801677E8 + +/// #gm_801677F0 + +/// #gm_801677F8 + +/// #gm_80167858 + +/// #gm_801678F8 + +/// #gm_8016795C + +/// #gm_80167A14 + +/// #gm_80167A64 + +/// #gm_80167B50 + +/// #gm_80167BC8 + +/// #gm_80167FC4 + +/// #gm_801685D4 + +/// #gm_80168638 + +/// #gm_80168710 + +/// #gm_801688AC + +/// #gm_80168940 + +/// #gm_8016895C + +/// #fn_801689E4 + +/// #fn_80168A6C + +/// #gm_80168B34 + +/// #gm_80168BF8 + +/// #gm_80168C5C + +/// #fn_80168E54 + +/// #fn_80168F2C + +/// #fn_80168F7C + +/// #gm_80168F88 + +/// #gm_80168FC4 + +/// #fn_80169000 + +/// #gm_80169238 + +/// #gm_80169264 + +/// #gm_80169290 + +/// #gm_801692BC + void gm_801692E8(uint ticks, struct datetime* datetime) { OSCalendarTime tm; @@ -68,16 +430,1406 @@ void gm_801692E8(uint ticks, struct datetime* datetime) } } -void fn_80187714(void) -{ - Camera_80028B9C(6); - lb_8000FCDC(); - mpColl_80041C78(); - Ground_801C0378(64); - Stage_802251E8(0, NULL); - Stage_8022524C(); - Item_80266FA8(); - Item_80266FCC(); - efLib_8005B4B8(); - efAsync_8006737C(0); -} +/// #fn_80169364 + +/// #gm_80169370 + +/// #gm_80169384 + +/// #gm_80169394 + +/// #fn_801693A8 + +/// #gm_801693BC + +/// #fn_80169434 + +/// #fn_80169444 + +/// #gm_801694A0 + +/// #gm_80169520 + +/// #gm_80169530 + +/// #gm_80169540 + +/// #fn_80169550 + +/// #fn_80169574 + +/// #fn_801695BC + +/// #fn_801697FC + +/// #fn_8016989C + +/// #fn_80169900 + +/// #fn_80169A84 + +/// #fn_80169C54 + +/// #fn_80169F50 + +/// #fn_8016A09C + +/// #gm_8016A164 + +/// #fn_8016A1E4 + +/// #gm_8016A1F8 + +/// #gm_8016A21C + +/// #gm_8016A22C + +/// #gm_8016A404 + +/// #gm_8016A414 + +/// #gm_8016A424 + +/// #gm_8016A434 + +/// #fn_8016A450 + +/// #fn_8016A46C + +/// #fn_8016A488 + +/// #fn_8016A4C8 + +/// #gm_8016A92C + +/// #gm_8016A944 + +/// #gm_8016A97C + +/// #gm_8016A98C + +/// #gm_8016A998 + +/// #gm_8016A9E8 + +/// #gm_8016AC44 + +/// #gm_8016AE38 + +/// #gm_8016AE44 + +/// #gm_8016AE50 + +/// #fn_8016AE60 + +/// #gm_8016AE80 + +/// #gm_8016AE94 + +/// #gm_8016AEA4 + +/// #gm_8016AEB8 + +/// #gm_8016AEC8 + +/// #gm_8016AEDC + +/// #gm_8016AEEC + +/// #gm_8016AEFC + +/// #gm_8016AF0C + +/// #gm_8016AF88 + +/// #gm_8016B004 + +/// #gm_8016B014 + +/// #gm_8016B094 + +/// #gm_8016B0B4 + +/// #gm_8016B0D4 + +/// #gm_8016B0E8 + +/// #gm_8016B0FC + +/// #gm_8016B110 + +/// #gm_8016B124 + +/// #fn_8016B138 + +/// #gm_8016B14C + +/// #gm_8016B168 + +/// #gm_8016B184 + +/// #gm_8016B1A8 + +/// #gm_8016B1C4 + +/// #gm_8016B1D8 + +/// #gm_8016B1EC + +/// #gm_8016B204 + +/// #gm_8016B238 + +/// #gm_8016B248 + +/// #gm_8016B258 + +/// #gm_8016B274 + +/// #gm_8016B2C8 + +/// #gm_8016B328 + +/// #gm_8016B33C + +/// #gm_8016B350 + +/// #gm_8016B364 + +/// #gm_8016B378 + +/// #fn_8016B388 + +/// #gm_8016B3A0 + +/// #gm_8016B3D8 + +/// #gm_8016B41C + +/// #gm_8016B498 + +/// #fn_8016B4BC + +/// #fn_8016B510 + +/// #gm_8016B558 + +/// #fn_8016B5B0 + +/// #gm_8016B6E8 + +/// #fn_8016B728 + +/// #fn_8016B738 + +/// #gm_8016B774 + +/// #fn_8016B784 + +/// #fn_8016B7B4 + +/// #fn_8016B7F8 + +/// #fn_8016B88C + +/// #gm_8016B8D4 + +/// #fn_8016B918 + +/// #fn_8016BAF4 + +/// #fn_8016BBB4 + +/// #fn_8016BC74 + +/// #gm_8016BE80 + +/// #fn_8016BF74 + +/// #fn_8016C0C8 + +/// #fn_8016C35C + +/// #fn_8016C46C + +/// #fn_8016C4F4 + +/// #gm_8016C5C0 + +/// #gm_8016C658 + +/// #gm_8016C6C0 + +/// #gm_8016C75C + +/// #fn_8016C7D0 + +/// #fn_8016C7F0 + +/// #fn_8016CA68 + +/// #fn_8016CBE8 + +/// #fn_8016CD98 + +/// #fn_8016CF4C + +/// #fn_8016CFE0 + +/// #gm_8016D32C + +/// #fn_8016D538 + +/// #fn_8016D634 + +/// #gm_8016D800 + +/// #fn_8016D8AC + +/// #fn_8016DCC0 + +/// #fn_8016DEEC + +/// #fn_8016E124 + +/// #fn_8016E2BC + +/// #fn_8016E5C0 + +/// #fn_8016E730 + +/// #gm_8016E934 + +/// #gm_8016E9C8 + +/// #gm_8016EBC0 + +/// #gm_8016EC28 + +/// #gm_8016ECE8 + +/// #gm_8016EDDC + +/// #fn_8016EF98 + +/// #gm_8016F00C + +/// #fn_8016F030 + +/// #gm_8016F088 + +/// #gm_8016F120 + +/// #fn_8016F140 + +/// #fn_8016F160 + +/// #fn_8016F180 + +/// #gm_8016F1B8 + +/// #fn_8016F1F0 + +/// #gm_8016F208 + +/// #fn_8016F280 + +/// #gm_8016F2F8 + +/// #fn_8016F344 + +/// #fn_8016F39C + +/// #fn_8016F548 + +/// #fn_8016F740 + +/// #fn_8016F870 + +/// #fn_8016F9A8 + +/// #fn_8016FAD4 + +/// #fn_8016FFD4 + +/// #fn_80170110 + +/// #gm_801701A0 + +/// #fn_801701AC + +/// #fn_801701B8 + +/// #fn_801701C0 + +/// #fn_80171A88 + +/// #fn_80171AD4 + +/// #fn_80171B00 + +/// #fn_80171B2C + +/// #fn_80171B64 + +/// #fn_80171BA4 + +/// #fn_80171DC4 + +/// #gm_801720B4 + +/// #gm_801720F8 + +/// #gm_80172140 + +/// #gm_80172174 + +/// #gm_8017219C + +/// #gm_801721EC + +/// #fn_801722BC + +/// #fn_801722F4 + +/// #fn_8017232C + +/// #fn_80172380 + +/// #fn_801723D4 + +/// #fn_80172428 + +/// #fn_80172478 + +/// #fn_801724C8 + +/// #fn_801724D0 + +/// #fn_80172504 + +/// #fn_80172538 + +/// #fn_8017256C + +/// #fn_801725A8 + +/// #fn_801725E4 + +/// #fn_80172624 + +/// #fn_80172664 + +/// #fn_80172698 + +/// #fn_801726CC + +/// #fn_80172700 + +/// #fn_80172734 + +/// #fn_80172768 + +/// #fn_8017279C + +/// #fn_8017280C + +/// #gm_80172898 + +/// #gm_8017297C + +/// #gm_801729EC + +/// #gm_80172BC4 + +/// #gm_80172C04 + +/// #gm_80172C44 + +/// #fn_80172C78 + +/// #gm_80172CC0 + +/// #gm_80172D78 + +/// #gm_80172DD4 + +/// #gm_80172E74 + +/// #gm_80172F00 + +/// #fn_80172FAC + +/// #fn_80173098 + +/// #gm_80173224 + +/// #gm_801732D8 + +/// #gm_8017335C + +/// #gm_801733D8 + +/// #gm_8017341C + +/// #gm_80173460 + +/// #gm_80173498 + +/// #gm_801734D0 + +/// #fn_80173510 + +/// #fn_801735F0 + +/// #fn_80173644 + +/// #fn_8017367C + +/// #gm_801736DC + +/// #gm_801736E8 + +/// #gm_80173754 + +/// #gm_801737D8 + +/// #gm_801737E8 + +/// #fn_80173834 + +/// #gm_8017390C + +/// #gm_80173AA4 + +/// #gm_80173B30 + +/// #gm_80173BC4 + +/// #gm_80173C70 + +/// #gm_80173D3C + +/// #gm_80173DE4 + +/// #gm_80173EEC + +/// #gm_80174180 + +/// #gm_801741FC + +/// #gm_80174238 + +/// #fn_80174274 + +/// #fn_80174284 + +/// #fn_80174338 + +/// #fn_8017435C + +/// #fn_80174380 + +/// #gm_801743A4 + +/// #fn_801743C4 + +/// #fn_80174468 + +/// #fn_801748EC + +/// #fn_80174920 + +/// #fn_801749B8 + +/// #fn_80174A60 + +/// #fn_80174B4C + +/// #fn_80174FD0 + +/// #fn_80175038 + +/// #fn_8017507C + +/// #fn_80175240 + +/// #fn_8017556C + +/// #fn_801756E0 + +/// #fn_80175880 + +/// #fn_80175A94 + +/// #fn_80175C5C + +/// #fn_80175D34 + +/// #fn_80175DC8 + +/// #fn_80176A6C + +/// #fn_80176BCC + +/// #fn_80176BF0 + +/// #fn_80176D18 + +/// #fn_80176D3C + +/// #fn_80176F60 + +/// #fn_801771C0 + +/// #gm_80177368 + +/// #gm_80177704 + +/// #gm_80177724 + +/// #fn_80177748 + +/// #fn_80177920 + +/// #fn_80177B7C + +/// #fn_80177DD0 + +/// #fn_80178050 + +/// #fn_801785B0 + +/// #fn_80178BB4 + +/// #fn_801791E4 + +/// #fn_80179350 + +/// #fn_801795D4 + +/// #fn_801796F0 + +/// #fn_80179854 + +/// #fn_80179990 + +/// #fn_80179D3C + +/// #fn_80179D60 + +/// #fn_80179D84 + +/// #fn_80179DA8 + +/// #fn_80179DCC + +/// #fn_80179E34 + +/// #fn_80179E9C + +/// #fn_80179F04 + +/// #fn_80179F6C + +/// #fn_80179F84 + +/// #fn_8017A004 + +/// #fn_8017A078 + +/// #fn_8017A318 + +/// #fn_8017A67C + +/// #fn_8017A9B4 + +/// #fn_8017AA78 + +/// #fn_8017AD04 + +/// #fn_8017AD28 + +/// #fn_8017AD48 + +/// #fn_8017AD78 + +/// #fn_8017ADA8 + +/// #fn_8017AE0C + +/// #fn_8017AE70 + +/// #fn_8017AED8 + +/// #fn_8017AF40 + +/// #fn_8017AFA8 + +/// #fn_8017B010 + +/// #fn_8017B07C + +/// #fn_8017B0E4 + +/// #fn_8017B14C + +/// #fn_8017B1B4 + +/// #fn_8017B21C + +/// #fn_8017B280 + +/// #fn_8017B2E4 + +/// #fn_8017B348 + +/// #fn_8017B3AC + +/// #fn_8017B410 + +/// #fn_8017B4D0 + +/// #fn_8017B534 + +/// #fn_8017B598 + +/// #fn_8017B5FC + +/// #fn_8017B660 + +/// #fn_8017B6C4 + +/// #fn_8017B728 + +/// #fn_8017B78C + +/// #fn_8017B7F0 + +/// #fn_8017B854 + +/// #fn_8017B8B8 + +/// #fn_8017B91C + +/// #fn_8017B9F4 + +/// #fn_8017BACC + +/// #fn_8017BB30 + +/// #fn_8017BB94 + +/// #fn_8017BC50 + +/// #fn_8017BD0C + +/// #fn_8017BDC8 + +/// #gm_8017BE84 + +/// #gm_8017BE8C + +/// #gm_8017BEC8 + +/// #fn_8017C0C8 + +/// #fn_8017C1A4 + +/// #fn_8017C71C + +/// #fn_8017C7A0 + +/// #fn_8017C7EC + +/// #gm_8017C838 + +/// #gm_8017C984 + +/// #gm_8017C9A8 + +/// #gm_8017CA38 + +/// #gm_8017CBAC + +/// #gm_8017CD94 + +/// #gm_8017CE34 + +/// #gm_8017D7AC + +/// #fn_8017D9C0 + +/// #gm_8017DB58 + +/// #gm_8017DB6C + +/// #gm_8017DB78 + +/// #gm_8017DB88 + +/// #fn_8017DD7C + +/// #fn_8017DE54 + +/// #fn_8017DEC8 + +/// #fn_8017DF28 + +/// #fn_8017DF90 + +/// #gm_8017DFF4 + +/// #gm_8017E068 + +/// #fn_8017E0E4 + +/// #fn_8017E160 + +/// #fn_8017E21C + +/// #gm_8017E280 + +/// #fn_8017E318 + +/// #fn_8017E3C8 + +/// #gm_8017E424 + +/// #gm_8017E430 + +/// #gm_8017E440 + +/// #gm_8017E48C + +/// #gm_8017E4C4 + +/// #gm_8017E500 + +/// #gm_8017E528 + +/// #gm_8017E578 + +/// #gm_8017E5C8 + +/// #gm_8017E5FC + +/// #gm_8017E630 + +/// #gm_8017E664 + +/// #gm_8017E6B4 + +/// #gm_8017E704 + +/// #gm_8017E738 + +/// #gm_8017E76C + +/// #gm_8017E7A0 + +/// #gm_8017E7E0 + +/// #gm_8017E7FC + +/// #fn_8017E8A4 + +/// #gm_8017EB30 + +/// #gm_8017EB3C + +/// #gm_8017EB64 + +/// #gm_8017EB98 + +/// #gm_8017EBCC + +/// #gm_8017EC00 + +/// #gm_8017EC50 + +/// #gm_8017ECA0 + +/// #gm_8017ECD4 + +/// #gm_8017ED08 + +/// #gm_8017ED3C + +/// #gm_8017ED8C + +/// #fn_8017EDDC + +/// #fn_8017EE40 + +/// #fn_8017F008 + +/// #fn_8017F09C + +/// #fn_8017F14C + +/// #fn_8017F1B8 + +/// #fn_8017F294 + +/// #fn_8017F2A4 + +/// #fn_8017F47C + +/// #fn_8017F608 + +/// #fn_8017FA1C + +/// #fn_8017FBA4 + +/// #fn_8017FE54 + +/// #fn_8017FF1C + +/// #fn_801803FC + +/// #fn_80180630 + +/// #fn_80180AC0 + +/// #gm_80180AE4 + +/// #gm_80180AF4 + +/// #gm_80180B18 + +/// #gm_80180BA0 + +/// #fn_80180C14 + +/// #fn_80180C60 + +/// #fn_80181598 + +/// #fn_80181708 + +/// #gm_80181998 + +/// #gm_80181A00 + +/// #gm_80181A14 + +/// #gm_80181A24 + +/// #gm_80181A34 + +/// #gm_80181A44 + +/// #gm_80181AC8 + +/// #gm_80181B64 + +/// #fn_80181BFC + +/// #fn_80181C80 + +/// #fn_80181E18 + +/// #gm_80182174 + +/// #gm_80182510 + +/// #gm_80182554 + +/// #gm_80182578 + +/// #fn_80182B5C + +/// #gm_80182DF0 + +/// #fn_80182F40 + +/// #gm_80183218 + +/// #fn_8018325C + +/// #fn_80184138 + +/// #fn_801849E0 + +/// #fn_80184A04 + +/// #fn_80184A28 + +/// #fn_80184A4C + +/// #fn_80184A70 + +/// #fn_80184A94 + +/// #fn_80184AB8 + +/// #fn_8018504C + +/// #fn_801851C0 + +/// #fn_801852FC + +/// #fn_80185408 + +/// #fn_801855BC + +/// #fn_8018564C + +/// #fn_8018569C + +/// #fn_8018575C + +/// #fn_801857C4 + +/// #fn_801859C8 + +/// #fn_80185A0C + +/// #fn_80185D64 + +/// #fn_80185E34 + +/// #fn_80185F5C + +/// #fn_80186080 + +/// #fn_801861B8 + +/// #fn_80186400 + +/// #fn_80186634 + +/// #gm_80186DFC + +/// #gm_80186E30 + +/// #fn_80186EFC + +/// #fn_80186F6C + +/// #fn_801873F0 + +/// #fn_80187494 + +/// #fn_801874FC + +void fn_80187714(void) +{ + Camera_80028B9C(6); + lb_8000FCDC(); + mpColl_80041C78(); + Ground_801C0378(64); + Stage_802251E8(0, NULL); + Stage_8022524C(); + Item_80266FA8(); + Item_80266FCC(); + efLib_8005B4B8(); + efAsync_8006737C(0); +} + +/// #gm_8018776C + +/// #gm_801877A8 + +/// #fn_80187910 + +/// #fn_80187AB4 + +/// #fn_80187C9C + +/// #fn_80187CF4 + +/// #gm_80187F48 + +/// #gm_80188364 + +/// #gm_8018838C + +/// #gm_801883C0 + +/// #gm_8018841C + +/// #gm_80188454 + +/// #fn_8018846C + +/// #fn_801884F8 + +/// #fn_80188550 + +/// #fn_80188644 + +/// #fn_80188738 + +/// #fn_80188910 + +/// #fn_80188B3C + +/// #fn_80188D3C + +/// #fn_80188EE8 + +/// #fn_801891F4 + +/// #fn_80189B88 + +/// #gm_80189CDC + +/// #fn_8018A000 + +/// #gm_8018A160 + +/// #gm_8018A188 + +/// #gm_8018A1D8 + +/// #gm_8018A228 + +/// #gm_8018A25C + +/// #gm_8018A290 + +/// #gm_8018A2C4 + +/// #gm_8018A314 + +/// #fn_8018A364 + +/// #fn_8018A514 + +/// #fn_8018A970 + +/// #fn_8018AA74 + +/// #fn_8018B090 + +/// #fn_8018C8D4 + +/// #fn_8018D50C + +/// #fn_8018DC18 + +/// #fn_8018DF68 + +/// #fn_8018E46C + +/// #fn_8018E618 + +/// #fn_8018E85C + +/// #fn_8018EC48 + +/// #fn_8018EC7C + +/// #fn_8018ECA8 + +/// #fn_8018F00C + +/// #gm_8018F1B0 + +/// #fn_8018F310 + +/// #fn_8018F3BC + +/// #fn_8018F3D0 + +/// #fn_8018F410 + +/// #fn_8018F4A0 + +/// #fn_8018F508 + +/// #fn_8018F5F0 + +/// #fn_8018F62C + +/// #gm_8018F634 + +/// #fn_8018F640 + +/// #fn_8018F674 + +/// #fn_8018F6A8 + +/// #fn_8018F6DC + +/// #fn_8018F6FC + +/// #fn_8018F71C + +/// #fn_8018F74C + +/// #fn_8018F808 + +/// #fn_8018F888 + +/// #fn_8018FA24 + +/// #fn_8018FBD8 + +/// #fn_8018FBE0 + +/// #fn_8018FDC4 + +/// #fn_8018FF9C + +/// #fn_80190174 + +/// #fn_801901F8 + +/// #fn_8019027C + +/// #fn_801902F0 + +/// #fn_8019035C + +/// #fn_8019044C + +/// #fn_80190480 + +/// #fn_801904D0 + +/// #fn_80190520 + +/// #gm_801905F0 + +/// #fn_80190ABC + +/// #gm_80190EA4 + +/// #gm_80190FE4 + +/// #fn_801910E0 + +/// #fn_80191154 + +/// #fn_80191240 + +/// #fn_801913BC + +/// #fn_80191678 + +/// #fn_8019175C + +/// #fn_801918F0 + +/// #fn_80191A54 + +/// #fn_80191B5C + +/// #fn_80191CA4 + +/// #fn_80191D38 + +/// #fn_80191E9C + +/// #fn_80191FD4 + +/// #fn_8019237C + +/// #fn_8019249C + +/// #fn_80192690 + +/// #fn_80192758 + +/// #fn_80192938 + +/// #fn_80192BB0 + +/// #fn_80192E6C + +/// #fn_80193230 + +/// #fn_80193308 + +/// #fn_801935B8 + +/// #fn_801937C4 + +/// #fn_80193B58 + +/// #fn_80193FCC + +/// #fn_80194658 + +/// #fn_801949B4 + +/// #fn_80194BC4 + +/// #fn_80194D84 + +/// #fn_80194F30 + +/// #fn_801953C8 + +/// #fn_80195AF0 + +/// #fn_80195CCC + +/// #fn_8019610C + +/// #gm_8019628C + +/// #gm_801963B4 + +/// #gm_801964A4 + +/// #fn_80196510 + +/// #fn_8019655C + +/// #fn_80196564 + +/// #fn_80196594 + +/// #fn_801965C4 + +/// #fn_80196684 + +/// #fn_801967E0 + +/// #fn_80196CF8 + +/// #fn_80196DBC + +/// #fn_80196E30 + +/// #fn_80196EEC + +/// #fn_80196FFC + +/// #fn_801973F8 + +/// #fn_801975C8 + +/// #fn_801976D4 + +/// #fn_801977AC + +/// #fn_80197AF0 + +/// #fn_80197D4C + +/// #fn_80197E18 + +/// #fn_80197FD8 + +/// #fn_801981A0 + +/// #fn_801983E4 + +/// #fn_80198584 + +/// #fn_801985D4 + +/// #fn_80198824 + +/// #fn_80198BA0 + +/// #fn_80198C60 + +/// #fn_80198D18 + +/// #fn_80198EBC + +/// #fn_80199AF0 + +/// #fn_8019A158 + +/// #fn_8019A71C + +/// #gm_8019A828 + +/// #fn_8019A86C + +/// #fn_8019AF50 + +/// #gm_8019B2DC + +/// #fn_8019B458 + +/// #fn_8019B81C + +/// #fn_8019B860 + +/// #gm_8019B8C4 + +/// #gm_8019B9C8 + +void fn_8019BA04(void) {} + +/// #fn_8019BA08 + +/// #fn_8019BF18 + +/// #fn_8019BF8C + +/// #fn_8019C048 + +/// #fn_8019C3EC + +/// #fn_8019C570 + +/// #fn_8019C6AC + +/// #fn_8019C744 + +/// #fn_8019CA38 + +/// #fn_8019CBFC + +/// #fn_8019CC74 + +/// #fn_8019CDBC + +/// #fn_8019CFA4 + +/// #fn_8019D074 + +/// #fn_8019D1BC + +/// #fn_8019DD60 + +/// #gm_8019DF8C + +/// #gm_8019E634 + +/// #gm_8019ECAC + +/// #gm_8019EE54 + +/// #fn_8019EE80 + +/// #fn_8019EF08 + +/// #fn_8019EFC4 + +/// #fn_8019F1D0 + +/// #fn_8019F2D4 + +/// #fn_8019F6EC + +/// #fn_8019F810 + +/// #fn_8019F9C4 + +/// #gm_801A0A10 + +/// #gm_801A0B18 + +/// #fn_801A0B60 + +/// #gm_801A0C6C + +/// #gm_801A0E0C + +/// #fn_801A0E34 + +/// #gm_801A0FEC + +/// #gm_801A10FC + +/// #fn_801A1134 diff --git a/src/melee/gm/gm_1A36.c b/src/melee/gm/gm_1A36.c index 0bc3555cb1..087d4167f2 100644 --- a/src/melee/gm/gm_1A36.c +++ b/src/melee/gm/gm_1A36.c @@ -20,6 +20,10 @@ #include #include +/* 1A5614 */ /* static */ void gm_801A5614(void); +/* 1ACC90 */ /* static */ void gm_801ACC90(void); +/* 1BBFE4 */ /* static */ void gm_801BBFE4(void); + typedef struct MinorScene MinorScene; struct MinorScene { @@ -96,6 +100,28 @@ STATIC_ASSERT(sizeof(GameState) == 0x14); static GameState gm_80479D30; +/// #gm_801A3680 + +/// #gm_801A36A0 + +/// #gm_801A36C0 + +/// #gm_801A36E0 + +/// #gm_801A3714 + +/// #gm_801A3820 + +/// #fn_801A396C + +/// #gm_801A3A74 + +/// #gm_801A3E88 + +/// #gm_801A3EF4 + +/// #gm_801A3F48 + inline u8 matchMinor(MinorScene* scenes) { u8 i; @@ -203,11 +229,35 @@ void gm_801A4014(MajorScene* scene) } } +/// #gm_801A427C + +/// #gm_801A4284 + +/// #gm_801A428C + +/// #gm_801A42A0 + +/// #gm_801A42B4 + +/// #gm_801A42C4 + +/// #gm_801A42D4 + +/// #gm_801A42E8 + +/// #gm_801A42F8 + u8 gm_801A4310(void) { return ((u8*) &gm_80479D30)[0]; } +/// #gm_801A4320 + +/// #gm_801A4330 + +/// #gm_801A4340 + inline MajorScene* findSceneMatching(u8 idx) { MajorScene* cur; @@ -298,38 +348,1108 @@ void gm_801A4510(void) } } -enum { - TROPHY_PIKMIN = 0x113, -}; +/// #gm_801A45E8 -enum { - LANG_JP = 0, -}; +/// #gm_801A4624 -void gm_801BF9A8(void* data) -{ - struct { - u32 a; - u8 scene_id; - }* scene_data; +/// #gm_801A4634 - scene_data = gm_801A4284(data); +/// #gm_801A4674 - if (!un_803048C0(TROPHY_PIKMIN)) { - if (!lb_8001C2D8(0, "01", - lbLang_GetLanguageSetting() == LANG_JP ? "GPIJ" - : "GPIE", - "Pikmin dataFile")) - { - un_803124BC(); - Trophy_SetUnlockState(TROPHY_PIKMIN, true); - } - } +/// #gm_801A46B8 - // Set scene exit callback? - gm_801A4330(&lb_8001CE78); +/// #fn_801A46F4 - // Enter major scene - // Gekko "boot to CSS" code changes scene_id to a hardcoded 2 - gm_801A42F8(scene_data->scene_id); -} +/// #fn_801A47E4 + +/// #gm_801A48A4 + +/// #gm_801A4970 + +/// #gm_801A4B08 + +/// #gm_801A4B1C + +/// #gm_801A4B40 + +/// #gm_801A4B50 + +/// #gm_801A4B60 + +/// #gm_801A4B74 + +/// #gm_801A4B88 + +/// #gm_801A4B90 + +/// #gm_801A4B9C + +/// #gm_801A4BA8 + +/// #gm_801A4BB8 + +/// #gm_801A4BC8 + +void fn_801A4BD0(void) {} + +/// #gm_801A4BD4 + +/// #gm_801A4CE0 + +/// #gm_801A4D34 + +/// #gm_801A50A0 + +/// #gm_801A50AC + +/// #gm_801A50B8 + +/// #gm_801A5130 + +/// #gm_801A51A8 + +/// #gm_801A5220 + +/// #gm_801A5244 + +/// #gm_801A5250 + +/// #gm_801A5258 + +/// #gm_801A52D0 + +/// #gm_801A5360 + +/// #gm_801A5598 + +/// #gm_801A55C4 + +/// #gm_801A55EC + +void gm_801A5614(void) {} + +/// #gm_801A5618 + +/// #gm_801A5680 + +/// #gm_801A5754 + +/// #gm_801A57A8 + +/// #gm_801A583C + +/// #gm_801A5AF0 + +/// #gm_801A5C3C + +/// #gm_801A5EC8 + +/// #gm_801A5F00 + +/// #gm_801A5F64 + +/// #gm_801A6254 + +/// #gm_801A6308 + +/// #gm_801A632C + +/// #gm_801A637C + +/// #gm_801A64A8 + +/// #gm_801A659C + +/// #gm_801A6630 + +/// #fn_801A6664 + +/// #fn_801A6844 + +/// #fn_801A6868 + +/// #gm_801A68D8 + +/// #fn_801A6A48 + +/// #fn_801A6ACC + +/// #fn_801A6B6C + +/// #fn_801A6C30 + +/// #gm_801A6C54 + +/// #fn_801A6D78 + +/// #gm_801A6DC0 + +/// #gm_801A6EE4 + +/// #gm_801A7070 + +/// #gm_801A79D4 + +/// #fn_801A7A44 + +/// #fn_801A7A68 + +/// #fn_801A7A8C + +/// #gm_801A7B00 + +/// #fn_801A7FB4 + +/// #fn_801A80CC + +/// #fn_801A80F0 + +/// #gm_801A8114 + +/// #fn_801A851C + +/// #gm_801A85E4 + +/// #gm_801A8D54 + +/// #gm_801A9094 + +/// #fn_801A9498 + +/// #fn_801A94BC + +/// #gm_801A9630 + +/// #gm_801A9B30 + +/// #gm_801A9D0C + +/// #gm_801A9DD0 + +/// #fn_801A9FCC + +/// #fn_801AA0E8 + +/// #gm_801AA110 + +/// #gm_801AA28C + +/// #gm_801AA644 + +/// #gm_801AA664 + +/// #gm_801AA688 + +/// #gm_801AA6D8 + +/// #gm_801AA6FC + +/// #gm_801AA774 + +/// #gm_801AA7C4 + +/// #fn_801AA7F8 + +/// #fn_801AA854 + +/// #fn_801AAA28 + +/// #fn_801AAABC + +/// #fn_801AAB18 + +/// #fn_801AAB74 + +/// #fn_801AB200 + +/// #fn_801AC67C + +/// #gm_801AC6D8 + +void gm_801ACC90(void) {} + +/// #gm_801ACC94 + +/// #gm_801ACCA0 + +/// #gm_801ACD8C + +/// #gm_801ACE94 + +/// #gm_801ACF8C + +/// #gm_801AD088 + +/// #gm_801AD254 + +/// #gm_801AD620 + +/// #gm_801AD874 + +/// #gm_801AD8EC + +/// #fn_801AD920 + +/// #gm_801ADB04 + +/// #gm_801ADC88 + +/// #gm_801ADCE4 + +/// #gm_801ADDA8 + +/// #gm_801ADDD8 + +/// #gm_801ADE1C + +/// #gm_801AE050 + +/// #gm_801AE44C + +/// #gm_801AE544 + +/// #gm_801AE640 + +/// #gm_801AE74C + +/// #gm_801AE848 + +/// #fn_801AE948 + +/// #gm_801AEBB0 + +/// #gm_801AECC4 + +/// #gm_801AEDC8 + +/// #gm_801AEE6C + +/// #gm_801AF0D4 + +/// #gm_801AF250 + +/// #gm_801AF568 + +/// #gm_801B0264 + +/// #gm_801B0304 + +/// #gm_801B0348 + +/// #gm_801B0474 + +/// #gm_801B05F4 + +/// #gm_801B0620 + +/// #gm_801B0664 + +/// #gm_801B06B0 + +/// #gm_801B0730 + +/// #gm_801B07B4 + +/// #gm_801B07E8 + +/// #gm_801B087C + +/// #gm_801B089C + +/// #gm_801B099C + +/// #gm_801B09C0 + +/// #fn_801B09F8 + +/// #gm_801B0A34 + +/// #fn_801B0A8C + +/// #gm_801B0AC8 + +/// #gm_801B0B00 + +/// #gm_801B0B24 + +/// #gm_801B0B48 + +/// #gm_801B0B8C + +/// #gm_801B0BF0 + +/// #gm_801B0C18 + +/// #gm_801B0C50 + +/// #gm_801B0C74 + +/// #gm_801B0CF0 + +/// #gm_801B0DD0 + +/// #gm_801B0F1C + +/// #gm_801B0F60 + +/// #gm_801B0F90 + +/// #gm_801B0FB8 + +/// #gm_801B0FF8 + +/// #gm_801B138C + +/// #gm_801B13B8 + +/// #gm_801B14A0 + +/// #gm_801B14DC + +/// #gm_801B1514 + +/// #gm_801B154C + +/// #gm_801B1588 + +/// #gm_801B15C8 + +/// #gm_801B1648 + +/// #gm_801B1688 + +/// #gm_801B16A8 + +/// #gm_801B16C8 + +/// #gm_801B1724 + +/// #gm_801B174C + +/// #gm_801B1788 + +/// #gm_801B1810 + +/// #gm_801B1834 + +/// #gm_801B18D4 + +/// #gm_801B1A2C + +/// #gm_801B1A84 + +/// #gm_801B1AD4 + +/// #gm_801B1B74 + +/// #gm_801B1C24 + +/// #gm_801B1EB8 + +/// #gm_801B1EEC + +void fn_801B1F6C(void) {} + +/// #gm_801B1F70 + +/// #gm_801B2204 + +/// #gm_801B2298 + +/// #gm_801B23C4 + +/// #gm_801B23F0 + +/// #gm_801B24B4 + +/// #gm_801B2510 + +/// #gm_801B254C + +/// #gm_801B25D4 + +/// #gm_801B26AC + +/// #gm_801B2704 + +/// #gm_801B2790 + +/// #gm_801B2AF8 + +/// #gm_801B2B7C + +/// #gm_801B2BA4 + +/// #gm_801B2D54 + +/// #gm_801B2F78 + +/// #gm_801B34B8 + +/// #gm_801B3500 + +/// #gm_801B3A34 + +/// #gm_801B3B40 + +/// #gm_801B3D44 + +/// #gm_801B3D84 + +/// #gm_801B3DD8 + +/// #gm_801B3E44 + +/// #gm_801B3F18 + +/// #gm_801B3F40 + +/// #gm_801B4064 + +/// #gm_801B4170 + +/// #gm_801B4254 + +/// #gm_801B4294 + +/// #gm_801B42E8 + +/// #gm_801B4350 + +/// #gm_801B4408 + +/// #gm_801B4430 + +/// #gm_801B44A0 + +/// #gm_801B45A4 + +/// #gm_801B461C + +/// #gm_801B4684 + +/// #gm_801B4768 + +/// #gm_801B47FC + +/// #gm_801B4860 + +/// #gm_801B4974 + +/// #gm_801B4B28 + +/// #gm_801B4C5C + +/// #gm_801B4D34 + +/// #gm_801B4DAC + +/// #gm_801B4E58 + +/// #gm_801B4EB8 + +/// #gm_801B4F44 + +/// #gm_801B4FCC + +/// #gm_801B5078 + +/// #gm_801B50C4 + +/// #gm_801B518C + +/// #gm_801B51CC + +/// #gm_801B5214 + +/// #gm_801B5324 + +/// #gm_801B5624 + +/// #gm_801B59AC + +/// #fn_801B5AA8 + +/// #gm_801B5ACC + +/// #gm_801B5E7C + +/// #gm_801B5EB4 + +/// #gm_801B5EE4 + +/// #gm_801B5F50 + +/// #gm_801B5FB4 + +/// #gm_801B607C + +/// #gm_801B60A4 + +/// #gm_801B62D8 + +/// #gm_801B6320 + +/// #gm_801B632C + +/// #gm_801B63C4 + +/// #gm_801B6428 + +/// #gm_801B65D4 + +/// #gm_801B67E8 + +/// #gm_801B6808 + +/// #gm_801B6834 + +/// #gm_801B685C + +/// #gm_801B688C + +/// #gm_801B69C0 + +/// #gm_801B6AD8 + +/// #gm_801B6B70 + +/// #gm_801B6BE8 + +/// #gm_801B6F44 + +/// #gm_801B7044 + +/// #gm_801B70DC + +/// #gm_801B7154 + +/// #gm_801B74F0 + +/// #gm_801B75F0 + +/// #gm_801B7688 + +/// #gm_801B7700 + +/// #gm_801B7AA0 + +/// #gm_801B7B74 + +/// #gm_801B7C0C + +/// #gm_801B7C84 + +/// #gm_801B8024 + +/// #gm_801B8110 + +/// #gm_801B81A8 + +/// #gm_801B8220 + +/// #gm_801B8580 + +/// #gm_801B863C + +/// #gm_801B86D4 + +/// #gm_801B874C + +/// #gm_801B8AF8 + +/// #gm_801B8BB4 + +/// #gm_801B8BE0 + +/// #gm_801B8C08 + +/// #gm_801B8C30 + +/// #fn_801B8C5C + +/// #gm_801B8C68 + +/// #gm_801B8C9C + +/// #gm_801B8CC4 + +/// #gm_801B8CF4 + +/// #gm_801B8D14 + +/// #gm_801B8D34 + +/// #gm_801B8D60 + +/// #gm_801B8D88 + +/// #gm_801B8DA8 + +/// #gm_801B8DD4 + +/// #gm_801B8DFC + +/// #gm_801B8E24 + +/// #fn_801B8E50 + +/// #gm_801B8E74 + +/// #gm_801B8EA8 + +/// #gm_801B8ED0 + +/// #gm_801B8F04 + +/// #gm_801B8F24 + +/// #gm_801B8F44 + +/// #gm_801B8F70 + +/// #gm_801B8F98 + +/// #gm_801B8FB8 + +/// #gm_801B8FE4 + +/// #gm_801B900C + +/// #gm_801B9034 + +/// #fn_801B9060 + +/// #gm_801B9084 + +/// #gm_801B90B8 + +/// #gm_801B90E0 + +/// #gm_801B9114 + +/// #gm_801B9134 + +/// #gm_801B9154 + +/// #gm_801B9180 + +/// #gm_801B91A8 + +/// #gm_801B91C8 + +/// #gm_801B922C + +/// #gm_801B9254 + +/// #gm_801B927C + +/// #gm_801B931C + +/// #gm_801B9560 + +/// #gm_801B95B0 + +/// #gm_801B95D8 + +/// #gm_801B9600 + +/// #fn_801B96E8 + +/// #gm_801B97C4 + +/// #fn_801B9850 + +/// #gm_801B98E8 + +/// #gm_801B999C + +/// #gm_801B9A3C + +/// #gm_801B9DD8 + +/// #gm_801B9EB8 + +/// #gm_801B9EE4 + +/// #gm_801B9F10 + +/// #gm_801B9F3C + +/// #gm_801B9F64 + +/// #gm_801B9F8C + +/// #fn_801B9FB8 + +/// #gm_801B9FC8 + +/// #gm_801B9FFC + +/// #gm_801BA024 + +/// #gm_801BA058 + +/// #gm_801BA078 + +/// #gm_801BA098 + +/// #gm_801BA0C4 + +/// #gm_801BA0EC + +/// #gm_801BA10C + +/// #gm_801BA138 + +/// #gm_801BA160 + +/// #gm_801BA188 + +/// #fn_801BA1B4 + +/// #gm_801BA1C8 + +/// #gm_801BA1FC + +/// #gm_801BA224 + +/// #gm_801BA258 + +/// #gm_801BA278 + +/// #gm_801BA298 + +/// #gm_801BA2C4 + +/// #gm_801BA2EC + +/// #gm_801BA30C + +/// #gm_801BA338 + +/// #gm_801BA360 + +/// #gm_801BA388 + +/// #fn_801BA3B4 + +/// #gm_801BA3C8 + +/// #gm_801BA3FC + +/// #gm_801BA424 + +/// #gm_801BA458 + +/// #gm_801BA478 + +/// #gm_801BA498 + +/// #gm_801BA4C4 + +/// #gm_801BA4EC + +/// #gm_801BA50C + +/// #gm_801BA538 + +/// #gm_801BA560 + +/// #gm_801BA588 + +/// #fn_801BA5B4 + +/// #gm_801BA5C0 + +/// #gm_801BA5F4 + +/// #gm_801BA61C + +/// #gm_801BA650 + +/// #gm_801BA670 + +/// #gm_801BA690 + +/// #gm_801BA6BC + +/// #gm_801BA6E4 + +/// #gm_801BA704 + +/// #gm_801BA730 + +/// #gm_801BA758 + +/// #gm_801BA780 + +/// #fn_801BA7AC + +/// #gm_801BA7B8 + +/// #gm_801BA7EC + +/// #gm_801BA814 + +/// #gm_801BA848 + +/// #gm_801BA868 + +/// #gm_801BA888 + +/// #gm_801BA8B4 + +/// #gm_801BA8DC + +/// #gm_801BA8FC + +/// #gm_801BA938 + +/// #gm_801BAA60 + +/// #gm_801BAAD0 + +/// #gm_801BAB40 + +/// #gm_801BAC9C + +/// #gm_801BAD70 + +/// #gm_801BB758 + +/// #gm_801BBA60 + +/// #gm_801BBB64 + +/// #gm_801BBEA8 + +void gm_801BBFE4(void) {} + +/// #fn_801BBFE8 + +/// #gm_801BC00C + +/// #gm_801BC488 + +/// #gm_801BC4F4 + +/// #gm_801BC670 + +/// #gm_801BC754 + +/// #gm_801BC9E8 + +/// #gm_801BCAF0 + +/// #gm_801BCC9C + +/// #gm_801BCF20 + +/// #gm_801BCF40 + +/// #gm_801BD028 + +/// #gm_801BD164 + +/// #gm_801BD30C + +/// #gm_801BD44C + +/// #gm_801BD46C + +/// #gm_801BD658 + +/// #gm_801BD7FC + +/// #gm_801BD93C + +/// #gm_801BDAD4 + +/// #gm_801BDAF4 + +/// #gm_801BDC08 + +/// #gm_801BDD44 + +/// #gm_801BDE94 + +/// #gm_801BE37C + +/// #gm_801BE39C + +/// #gm_801BE618 + +/// #gm_801BE638 + +/// #gm_801BEA10 + +/// #gm_801BEA4C + +/// #gm_801BEA88 + +/// #gm_801BEAF0 + +/// #gm_801BEB2C + +/// #gm_801BEB68 + +/// #gm_801BEB74 + +/// #gm_801BEB80 + +/// #gm_801BEB8C + +/// #gm_801BEBA8 + +/// #gm_801BEBC0 + +/// #gm_801BEBF8 + +/// #gm_801BEC54 + +/// #gm_801BEC80 + +/// #gm_801BECA8 + +/// #gm_801BECD0 + +/// #gm_801BED14 + +/// #gm_801BED3C + +/// #gm_801BEDA8 + +/// #gm_801BEE58 + +/// #gm_801BEE9C + +/// #gm_801BEF84 + +/// #gm_801BEFA4 + +/// #gm_801BEFB0 + +/// #gm_801BEFC0 + +/// #gm_801BEFD0 + +/// #gm_801BEFE0 + +/// #gm_801BEFF0 + +/// #gm_801BF000 + +/// #gm_801BF010 + +/// #gm_801BF020 + +/// #gm_801BF030 + +/// #gm_801BF040 + +/// #gm_801BF050 + +/// #gm_801BF060 + +/// #gm_801BF128 + +/// #gm_801BF3F8 + +/// #gm_801BF4DC + +/// #gm_801BF634 + +/// #gm_801BF648 + +/// #gm_801BF65C + +/// #gm_801BF670 + +/// #gm_801BF684 + +/// #gm_801BF694 + +/// #gm_801BF6A8 + +/// #gm_801BF6B8 + +/// #gm_801BF6C8 + +/// #gm_801BF6D8 + +/// #gm_801BF6E8 + +/// #gm_801BF6F8 + +/// #gm_801BF708 + +/// #gm_801BF718 + +/// #gm_801BF728 + +/// #gm_801BF834 + +/// #gm_801BF85C + +/// #gm_801BF898 + +/// #gm_801BF8B8 + +/// #gm_801BF8D8 + +/// #gm_801BF8F8 + +/// #gm_801BF920 + +/// #gm_801BF948 + +enum { + TROPHY_PIKMIN = 0x113, +}; + +enum { + LANG_JP = 0, +}; + +void gm_801BF9A8(void* data) +{ + struct { + u32 a; + u8 scene_id; + }* scene_data; + + scene_data = gm_801A4284(data); + + if (!un_803048C0(TROPHY_PIKMIN)) { + if (!lb_8001C2D8(0, "01", + lbLang_GetLanguageSetting() == LANG_JP ? "GPIJ" + : "GPIE", + "Pikmin dataFile")) + { + un_803124BC(); + Trophy_SetUnlockState(TROPHY_PIKMIN, true); + } + } + + // Set scene exit callback? + gm_801A4330(&lb_8001CE78); + + // Enter major scene + // Gekko "boot to CSS" code changes scene_id to a hardcoded 2 + gm_801A42F8(scene_data->scene_id); +} + +/// #gm_801BFA3C + +/// #gm_801BFA6C + +/// #gm_801BFABC + +/// #gm_801BFBA8 + +/// #gm_801BFC60 + +/// #gm_801BFCFC + +/// #gm_801BFF7C diff --git a/src/melee/gm/gm_1A36.h b/src/melee/gm/gm_1A36.h index 64071b819f..ddfe8a07e4 100644 --- a/src/melee/gm/gm_1A36.h +++ b/src/melee/gm/gm_1A36.h @@ -5,8 +5,569 @@ #include +/* 1A3680 */ UNK_RET gm_801A3680(UNK_PARAMS); +/* 1A36A0 */ UNK_RET gm_801A36A0(UNK_PARAMS); +/* 1A36C0 */ UNK_RET gm_801A36C0(UNK_PARAMS); +/* 1A36E0 */ UNK_RET gm_801A36E0(UNK_PARAMS); +/* 1A3714 */ UNK_RET gm_801A3714(UNK_PARAMS); +/* 1A3820 */ UNK_RET gm_801A3820(UNK_PARAMS); +/* 1A396C */ UNK_RET fn_801A396C(UNK_PARAMS); +/* 1A3A74 */ UNK_RET gm_801A3A74(UNK_PARAMS); +/* 1A3E88 */ UNK_RET gm_801A3E88(UNK_PARAMS); +/* 1A3EF4 */ UNK_RET gm_801A3EF4(UNK_PARAMS); +/* 1A3F48 */ UNK_RET gm_801A3F48(UNK_PARAMS); +/* 1A4014 */ UNK_RET gm_801A4014(UNK_PARAMS); +/* 1A427C */ UNK_RET gm_801A427C(UNK_PARAMS); +/* 1A4284 */ UNK_RET gm_801A4284(UNK_PARAMS); +/* 1A428C */ UNK_RET gm_801A428C(UNK_PARAMS); +/* 1A42A0 */ UNK_RET gm_801A42A0(UNK_PARAMS); +/* 1A42B4 */ UNK_RET gm_801A42B4(UNK_PARAMS); +/* 1A42C4 */ UNK_RET gm_801A42C4(UNK_PARAMS); +/* 1A42D4 */ UNK_RET gm_801A42D4(UNK_PARAMS); +/* 1A42E8 */ UNK_RET gm_801A42E8(UNK_PARAMS); +/* 1A42F8 */ UNK_RET gm_801A42F8(UNK_PARAMS); +/* 1A4310 */ UNK_RET gm_801A4310(UNK_PARAMS); +/* 1A4320 */ UNK_RET gm_801A4320(UNK_PARAMS); +/* 1A4330 */ UNK_RET gm_801A4330(UNK_PARAMS); +/* 1A4340 */ UNK_RET gm_801A4340(UNK_PARAMS); +/* 1A43A0 */ UNK_RET gm_801A43A0(UNK_PARAMS); +/* 1A4510 */ UNK_RET gm_801A4510(UNK_PARAMS); /* 1A4510 */ void gm_801A4510(void); /* 1A45E8 */ bool gm_801A45E8(s32); +/* 1A4624 */ UNK_RET gm_801A4624(UNK_PARAMS); +/* 1A4634 */ UNK_RET gm_801A4634(UNK_PARAMS); +/* 1A4674 */ UNK_RET gm_801A4674(UNK_PARAMS); +/* 1A46B8 */ UNK_RET gm_801A46B8(UNK_PARAMS); +/* 1A46F4 */ UNK_RET fn_801A46F4(UNK_PARAMS); +/* 1A47E4 */ UNK_RET fn_801A47E4(UNK_PARAMS); +/* 1A48A4 */ UNK_RET gm_801A48A4(UNK_PARAMS); +/* 1A4970 */ UNK_RET gm_801A4970(UNK_PARAMS); +/* 1A4B08 */ UNK_RET gm_801A4B08(UNK_PARAMS); +/* 1A4B1C */ UNK_RET gm_801A4B1C(UNK_PARAMS); +/* 1A4B40 */ UNK_RET gm_801A4B40(UNK_PARAMS); +/* 1A4B50 */ UNK_RET gm_801A4B50(UNK_PARAMS); +/* 1A4B60 */ UNK_RET gm_801A4B60(UNK_PARAMS); +/* 1A4B74 */ UNK_RET gm_801A4B74(UNK_PARAMS); +/* 1A4B88 */ UNK_RET gm_801A4B88(UNK_PARAMS); +/* 1A4B90 */ UNK_RET gm_801A4B90(UNK_PARAMS); +/* 1A4B9C */ UNK_RET gm_801A4B9C(UNK_PARAMS); +/* 1A4BA8 */ UNK_RET gm_801A4BA8(UNK_PARAMS); /* 1A4BB8 */ UNK_T gm_801A4BB8(void); +/* 1A4BC8 */ UNK_RET gm_801A4BC8(UNK_PARAMS); +/* 1A4BD0 */ UNK_RET fn_801A4BD0(UNK_PARAMS); +/* 1A4BD4 */ UNK_RET gm_801A4BD4(UNK_PARAMS); +/* 1A4CE0 */ UNK_RET gm_801A4CE0(UNK_PARAMS); +/* 1A4D34 */ UNK_RET gm_801A4D34(UNK_PARAMS); +/* 1A50A0 */ UNK_RET gm_801A50A0(UNK_PARAMS); +/* 1A50AC */ UNK_RET gm_801A50AC(UNK_PARAMS); +/* 1A50B8 */ UNK_RET gm_801A50B8(UNK_PARAMS); +/* 1A5130 */ UNK_RET gm_801A5130(UNK_PARAMS); +/* 1A51A8 */ UNK_RET gm_801A51A8(UNK_PARAMS); +/* 1A5220 */ UNK_RET gm_801A5220(UNK_PARAMS); +/* 1A5244 */ UNK_RET gm_801A5244(UNK_PARAMS); +/* 1A5250 */ UNK_RET gm_801A5250(UNK_PARAMS); +/* 1A5258 */ UNK_RET gm_801A5258(UNK_PARAMS); +/* 1A52D0 */ UNK_RET gm_801A52D0(UNK_PARAMS); +/* 1A5360 */ UNK_RET gm_801A5360(UNK_PARAMS); +/* 1A5598 */ UNK_RET gm_801A5598(UNK_PARAMS); +/* 1A55C4 */ UNK_RET gm_801A55C4(UNK_PARAMS); +/* 1A55EC */ UNK_RET gm_801A55EC(UNK_PARAMS); +/* 1A5614 */ UNK_RET gm_801A5614(UNK_PARAMS); +/* 1A5618 */ UNK_RET gm_801A5618(UNK_PARAMS); +/* 1A5680 */ UNK_RET gm_801A5680(UNK_PARAMS); +/* 1A5754 */ UNK_RET gm_801A5754(UNK_PARAMS); +/* 1A57A8 */ UNK_RET gm_801A57A8(UNK_PARAMS); +/* 1A583C */ UNK_RET gm_801A583C(UNK_PARAMS); +/* 1A5AF0 */ UNK_RET gm_801A5AF0(UNK_PARAMS); +/* 1A5C3C */ UNK_RET gm_801A5C3C(UNK_PARAMS); +/* 1A5EC8 */ UNK_RET gm_801A5EC8(UNK_PARAMS); +/* 1A5F00 */ UNK_RET gm_801A5F00(UNK_PARAMS); +/* 1A5F64 */ UNK_RET gm_801A5F64(UNK_PARAMS); +/* 1A6254 */ UNK_RET gm_801A6254(UNK_PARAMS); +/* 1A6308 */ UNK_RET gm_801A6308(UNK_PARAMS); +/* 1A632C */ UNK_RET gm_801A632C(UNK_PARAMS); +/* 1A637C */ UNK_RET gm_801A637C(UNK_PARAMS); +/* 1A64A8 */ UNK_RET gm_801A64A8(UNK_PARAMS); +/* 1A659C */ UNK_RET gm_801A659C(UNK_PARAMS); +/* 1A6630 */ UNK_RET gm_801A6630(UNK_PARAMS); +/* 1A6664 */ UNK_RET fn_801A6664(UNK_PARAMS); +/* 1A6844 */ UNK_RET fn_801A6844(UNK_PARAMS); +/* 1A6868 */ UNK_RET fn_801A6868(UNK_PARAMS); +/* 1A68D8 */ UNK_RET gm_801A68D8(UNK_PARAMS); +/* 1A6A48 */ UNK_RET fn_801A6A48(UNK_PARAMS); +/* 1A6ACC */ UNK_RET fn_801A6ACC(UNK_PARAMS); +/* 1A6B6C */ UNK_RET fn_801A6B6C(UNK_PARAMS); +/* 1A6C30 */ UNK_RET fn_801A6C30(UNK_PARAMS); +/* 1A6C54 */ UNK_RET gm_801A6C54(UNK_PARAMS); +/* 1A6D78 */ UNK_RET fn_801A6D78(UNK_PARAMS); +/* 1A6DC0 */ UNK_RET gm_801A6DC0(UNK_PARAMS); +/* 1A6EE4 */ UNK_RET gm_801A6EE4(UNK_PARAMS); +/* 1A7070 */ UNK_RET gm_801A7070(UNK_PARAMS); +/* 1A79D4 */ UNK_RET gm_801A79D4(UNK_PARAMS); +/* 1A7A44 */ UNK_RET fn_801A7A44(UNK_PARAMS); +/* 1A7A68 */ UNK_RET fn_801A7A68(UNK_PARAMS); +/* 1A7A8C */ UNK_RET fn_801A7A8C(UNK_PARAMS); +/* 1A7B00 */ UNK_RET gm_801A7B00(UNK_PARAMS); +/* 1A7FB4 */ UNK_RET fn_801A7FB4(UNK_PARAMS); +/* 1A80CC */ UNK_RET fn_801A80CC(UNK_PARAMS); +/* 1A80F0 */ UNK_RET fn_801A80F0(UNK_PARAMS); +/* 1A8114 */ UNK_RET gm_801A8114(UNK_PARAMS); +/* 1A851C */ UNK_RET fn_801A851C(UNK_PARAMS); +/* 1A85E4 */ UNK_RET gm_801A85E4(UNK_PARAMS); +/* 1A8D54 */ UNK_RET gm_801A8D54(UNK_PARAMS); +/* 1A9094 */ UNK_RET gm_801A9094(UNK_PARAMS); +/* 1A9498 */ UNK_RET fn_801A9498(UNK_PARAMS); +/* 1A94BC */ UNK_RET fn_801A94BC(UNK_PARAMS); +/* 1A9630 */ UNK_RET gm_801A9630(UNK_PARAMS); +/* 1A9B30 */ UNK_RET gm_801A9B30(UNK_PARAMS); +/* 1A9D0C */ UNK_RET gm_801A9D0C(UNK_PARAMS); +/* 1A9DD0 */ UNK_RET gm_801A9DD0(UNK_PARAMS); +/* 1A9FCC */ UNK_RET fn_801A9FCC(UNK_PARAMS); +/* 1AA0E8 */ UNK_RET fn_801AA0E8(UNK_PARAMS); +/* 1AA110 */ UNK_RET gm_801AA110(UNK_PARAMS); +/* 1AA28C */ UNK_RET gm_801AA28C(UNK_PARAMS); +/* 1AA644 */ UNK_RET gm_801AA644(UNK_PARAMS); +/* 1AA664 */ UNK_RET gm_801AA664(UNK_PARAMS); +/* 1AA688 */ UNK_RET gm_801AA688(UNK_PARAMS); +/* 1AA6D8 */ UNK_RET gm_801AA6D8(UNK_PARAMS); +/* 1AA6FC */ UNK_RET gm_801AA6FC(UNK_PARAMS); +/* 1AA774 */ UNK_RET gm_801AA774(UNK_PARAMS); +/* 1AA7C4 */ UNK_RET gm_801AA7C4(UNK_PARAMS); +/* 1AA7F8 */ UNK_RET fn_801AA7F8(UNK_PARAMS); +/* 1AA854 */ UNK_RET fn_801AA854(UNK_PARAMS); +/* 1AAA28 */ UNK_RET fn_801AAA28(UNK_PARAMS); +/* 1AAABC */ UNK_RET fn_801AAABC(UNK_PARAMS); +/* 1AAB18 */ UNK_RET fn_801AAB18(UNK_PARAMS); +/* 1AAB74 */ UNK_RET fn_801AAB74(UNK_PARAMS); +/* 1AB200 */ UNK_RET fn_801AB200(UNK_PARAMS); +/* 1AC67C */ UNK_RET fn_801AC67C(UNK_PARAMS); +/* 1AC6D8 */ UNK_RET gm_801AC6D8(UNK_PARAMS); +/* 1ACC90 */ UNK_RET gm_801ACC90(UNK_PARAMS); +/* 1ACC94 */ UNK_RET gm_801ACC94(UNK_PARAMS); +/* 1ACCA0 */ UNK_RET gm_801ACCA0(UNK_PARAMS); +/* 1ACD8C */ UNK_RET gm_801ACD8C(UNK_PARAMS); +/* 1ACE94 */ UNK_RET gm_801ACE94(UNK_PARAMS); +/* 1ACF8C */ UNK_RET gm_801ACF8C(UNK_PARAMS); +/* 1AD088 */ UNK_RET gm_801AD088(UNK_PARAMS); +/* 1AD254 */ UNK_RET gm_801AD254(UNK_PARAMS); +/* 1AD620 */ UNK_RET gm_801AD620(UNK_PARAMS); +/* 1AD874 */ UNK_RET gm_801AD874(UNK_PARAMS); +/* 1AD8EC */ UNK_RET gm_801AD8EC(UNK_PARAMS); +/* 1AD920 */ UNK_RET fn_801AD920(UNK_PARAMS); +/* 1ADB04 */ UNK_RET gm_801ADB04(UNK_PARAMS); +/* 1ADC88 */ UNK_RET gm_801ADC88(UNK_PARAMS); +/* 1ADCE4 */ UNK_RET gm_801ADCE4(UNK_PARAMS); +/* 1ADDA8 */ UNK_RET gm_801ADDA8(UNK_PARAMS); +/* 1ADDD8 */ UNK_RET gm_801ADDD8(UNK_PARAMS); +/* 1ADE1C */ UNK_RET gm_801ADE1C(UNK_PARAMS); +/* 1AE050 */ UNK_RET gm_801AE050(UNK_PARAMS); +/* 1AE44C */ UNK_RET gm_801AE44C(UNK_PARAMS); +/* 1AE544 */ UNK_RET gm_801AE544(UNK_PARAMS); +/* 1AE640 */ UNK_RET gm_801AE640(UNK_PARAMS); +/* 1AE74C */ UNK_RET gm_801AE74C(UNK_PARAMS); +/* 1AE848 */ UNK_RET gm_801AE848(UNK_PARAMS); +/* 1AE948 */ UNK_RET fn_801AE948(UNK_PARAMS); +/* 1AEBB0 */ UNK_RET gm_801AEBB0(UNK_PARAMS); +/* 1AECC4 */ UNK_RET gm_801AECC4(UNK_PARAMS); +/* 1AEDC8 */ UNK_RET gm_801AEDC8(UNK_PARAMS); +/* 1AEE6C */ UNK_RET gm_801AEE6C(UNK_PARAMS); +/* 1AF0D4 */ UNK_RET gm_801AF0D4(UNK_PARAMS); +/* 1AF250 */ UNK_RET gm_801AF250(UNK_PARAMS); +/* 1AF568 */ UNK_RET gm_801AF568(UNK_PARAMS); +/* 1B0264 */ UNK_RET gm_801B0264(UNK_PARAMS); +/* 1B0304 */ UNK_RET gm_801B0304(UNK_PARAMS); +/* 1B0348 */ UNK_RET gm_801B0348(UNK_PARAMS); +/* 1B0474 */ UNK_RET gm_801B0474(UNK_PARAMS); +/* 1B05F4 */ UNK_RET gm_801B05F4(UNK_PARAMS); +/* 1B0620 */ UNK_RET gm_801B0620(UNK_PARAMS); +/* 1B0664 */ UNK_RET gm_801B0664(UNK_PARAMS); +/* 1B06B0 */ UNK_RET gm_801B06B0(UNK_PARAMS); +/* 1B0730 */ UNK_RET gm_801B0730(UNK_PARAMS); +/* 1B07B4 */ UNK_RET gm_801B07B4(UNK_PARAMS); +/* 1B07E8 */ UNK_RET gm_801B07E8(UNK_PARAMS); +/* 1B087C */ UNK_RET gm_801B087C(UNK_PARAMS); +/* 1B089C */ UNK_RET gm_801B089C(UNK_PARAMS); +/* 1B099C */ UNK_RET gm_801B099C(UNK_PARAMS); +/* 1B09C0 */ UNK_RET gm_801B09C0(UNK_PARAMS); +/* 1B09F8 */ UNK_RET fn_801B09F8(UNK_PARAMS); +/* 1B0A34 */ UNK_RET gm_801B0A34(UNK_PARAMS); +/* 1B0A8C */ UNK_RET fn_801B0A8C(UNK_PARAMS); +/* 1B0AC8 */ UNK_RET gm_801B0AC8(UNK_PARAMS); +/* 1B0B00 */ UNK_RET gm_801B0B00(UNK_PARAMS); +/* 1B0B24 */ UNK_RET gm_801B0B24(UNK_PARAMS); +/* 1B0B48 */ UNK_RET gm_801B0B48(UNK_PARAMS); +/* 1B0B8C */ UNK_RET gm_801B0B8C(UNK_PARAMS); +/* 1B0BF0 */ UNK_RET gm_801B0BF0(UNK_PARAMS); +/* 1B0C18 */ UNK_RET gm_801B0C18(UNK_PARAMS); +/* 1B0C50 */ UNK_RET gm_801B0C50(UNK_PARAMS); +/* 1B0C74 */ UNK_RET gm_801B0C74(UNK_PARAMS); +/* 1B0CF0 */ UNK_RET gm_801B0CF0(UNK_PARAMS); +/* 1B0DD0 */ UNK_RET gm_801B0DD0(UNK_PARAMS); +/* 1B0F1C */ UNK_RET gm_801B0F1C(UNK_PARAMS); +/* 1B0F60 */ UNK_RET gm_801B0F60(UNK_PARAMS); +/* 1B0F90 */ UNK_RET gm_801B0F90(UNK_PARAMS); +/* 1B0FB8 */ UNK_RET gm_801B0FB8(UNK_PARAMS); +/* 1B0FF8 */ UNK_RET gm_801B0FF8(UNK_PARAMS); +/* 1B138C */ UNK_RET gm_801B138C(UNK_PARAMS); +/* 1B13B8 */ UNK_RET gm_801B13B8(UNK_PARAMS); +/* 1B14A0 */ UNK_RET gm_801B14A0(UNK_PARAMS); +/* 1B14DC */ UNK_RET gm_801B14DC(UNK_PARAMS); +/* 1B1514 */ UNK_RET gm_801B1514(UNK_PARAMS); +/* 1B154C */ UNK_RET gm_801B154C(UNK_PARAMS); +/* 1B1588 */ UNK_RET gm_801B1588(UNK_PARAMS); +/* 1B15C8 */ UNK_RET gm_801B15C8(UNK_PARAMS); +/* 1B1648 */ UNK_RET gm_801B1648(UNK_PARAMS); +/* 1B1688 */ UNK_RET gm_801B1688(UNK_PARAMS); +/* 1B16A8 */ UNK_RET gm_801B16A8(UNK_PARAMS); +/* 1B16C8 */ UNK_RET gm_801B16C8(UNK_PARAMS); +/* 1B1724 */ UNK_RET gm_801B1724(UNK_PARAMS); +/* 1B174C */ UNK_RET gm_801B174C(UNK_PARAMS); +/* 1B1788 */ UNK_RET gm_801B1788(UNK_PARAMS); +/* 1B1810 */ UNK_RET gm_801B1810(UNK_PARAMS); +/* 1B1834 */ UNK_RET gm_801B1834(UNK_PARAMS); +/* 1B18D4 */ UNK_RET gm_801B18D4(UNK_PARAMS); +/* 1B1A2C */ UNK_RET gm_801B1A2C(UNK_PARAMS); +/* 1B1A84 */ UNK_RET gm_801B1A84(UNK_PARAMS); +/* 1B1AD4 */ UNK_RET gm_801B1AD4(UNK_PARAMS); +/* 1B1B74 */ UNK_RET gm_801B1B74(UNK_PARAMS); +/* 1B1C24 */ UNK_RET gm_801B1C24(UNK_PARAMS); +/* 1B1EB8 */ UNK_RET gm_801B1EB8(UNK_PARAMS); +/* 1B1EEC */ UNK_RET gm_801B1EEC(UNK_PARAMS); +/* 1B1F6C */ UNK_RET fn_801B1F6C(UNK_PARAMS); +/* 1B1F70 */ UNK_RET gm_801B1F70(UNK_PARAMS); +/* 1B2204 */ UNK_RET gm_801B2204(UNK_PARAMS); +/* 1B2298 */ UNK_RET gm_801B2298(UNK_PARAMS); +/* 1B23C4 */ UNK_RET gm_801B23C4(UNK_PARAMS); +/* 1B23F0 */ UNK_RET gm_801B23F0(UNK_PARAMS); +/* 1B24B4 */ UNK_RET gm_801B24B4(UNK_PARAMS); +/* 1B2510 */ UNK_RET gm_801B2510(UNK_PARAMS); +/* 1B254C */ UNK_RET gm_801B254C(UNK_PARAMS); +/* 1B25D4 */ UNK_RET gm_801B25D4(UNK_PARAMS); +/* 1B26AC */ UNK_RET gm_801B26AC(UNK_PARAMS); +/* 1B2704 */ UNK_RET gm_801B2704(UNK_PARAMS); +/* 1B2790 */ UNK_RET gm_801B2790(UNK_PARAMS); +/* 1B2AF8 */ UNK_RET gm_801B2AF8(UNK_PARAMS); +/* 1B2B7C */ UNK_RET gm_801B2B7C(UNK_PARAMS); +/* 1B2BA4 */ UNK_RET gm_801B2BA4(UNK_PARAMS); +/* 1B2D54 */ UNK_RET gm_801B2D54(UNK_PARAMS); +/* 1B2F78 */ UNK_RET gm_801B2F78(UNK_PARAMS); +/* 1B34B8 */ UNK_RET gm_801B34B8(UNK_PARAMS); +/* 1B3500 */ UNK_RET gm_801B3500(UNK_PARAMS); +/* 1B3A34 */ UNK_RET gm_801B3A34(UNK_PARAMS); +/* 1B3B40 */ UNK_RET gm_801B3B40(UNK_PARAMS); +/* 1B3D44 */ UNK_RET gm_801B3D44(UNK_PARAMS); +/* 1B3D84 */ UNK_RET gm_801B3D84(UNK_PARAMS); +/* 1B3DD8 */ UNK_RET gm_801B3DD8(UNK_PARAMS); +/* 1B3E44 */ UNK_RET gm_801B3E44(UNK_PARAMS); +/* 1B3F18 */ UNK_RET gm_801B3F18(UNK_PARAMS); +/* 1B3F40 */ UNK_RET gm_801B3F40(UNK_PARAMS); +/* 1B4064 */ UNK_RET gm_801B4064(UNK_PARAMS); +/* 1B4170 */ UNK_RET gm_801B4170(UNK_PARAMS); +/* 1B4254 */ UNK_RET gm_801B4254(UNK_PARAMS); +/* 1B4294 */ UNK_RET gm_801B4294(UNK_PARAMS); +/* 1B42E8 */ UNK_RET gm_801B42E8(UNK_PARAMS); +/* 1B4350 */ UNK_RET gm_801B4350(UNK_PARAMS); +/* 1B4408 */ UNK_RET gm_801B4408(UNK_PARAMS); +/* 1B4430 */ UNK_RET gm_801B4430(UNK_PARAMS); +/* 1B44A0 */ UNK_RET gm_801B44A0(UNK_PARAMS); +/* 1B45A4 */ UNK_RET gm_801B45A4(UNK_PARAMS); +/* 1B461C */ UNK_RET gm_801B461C(UNK_PARAMS); +/* 1B4684 */ UNK_RET gm_801B4684(UNK_PARAMS); +/* 1B4768 */ UNK_RET gm_801B4768(UNK_PARAMS); +/* 1B47FC */ UNK_RET gm_801B47FC(UNK_PARAMS); +/* 1B4860 */ UNK_RET gm_801B4860(UNK_PARAMS); +/* 1B4974 */ UNK_RET gm_801B4974(UNK_PARAMS); +/* 1B4B28 */ UNK_RET gm_801B4B28(UNK_PARAMS); +/* 1B4C5C */ UNK_RET gm_801B4C5C(UNK_PARAMS); +/* 1B4D34 */ UNK_RET gm_801B4D34(UNK_PARAMS); +/* 1B4DAC */ UNK_RET gm_801B4DAC(UNK_PARAMS); +/* 1B4E58 */ UNK_RET gm_801B4E58(UNK_PARAMS); +/* 1B4EB8 */ UNK_RET gm_801B4EB8(UNK_PARAMS); +/* 1B4F44 */ UNK_RET gm_801B4F44(UNK_PARAMS); +/* 1B4FCC */ UNK_RET gm_801B4FCC(UNK_PARAMS); +/* 1B5078 */ UNK_RET gm_801B5078(UNK_PARAMS); +/* 1B50C4 */ UNK_RET gm_801B50C4(UNK_PARAMS); +/* 1B518C */ UNK_RET gm_801B518C(UNK_PARAMS); +/* 1B51CC */ UNK_RET gm_801B51CC(UNK_PARAMS); +/* 1B5214 */ UNK_RET gm_801B5214(UNK_PARAMS); +/* 1B5324 */ UNK_RET gm_801B5324(UNK_PARAMS); +/* 1B5624 */ UNK_RET gm_801B5624(UNK_PARAMS); +/* 1B59AC */ UNK_RET gm_801B59AC(UNK_PARAMS); +/* 1B5AA8 */ UNK_RET fn_801B5AA8(UNK_PARAMS); +/* 1B5ACC */ UNK_RET gm_801B5ACC(UNK_PARAMS); +/* 1B5E7C */ UNK_RET gm_801B5E7C(UNK_PARAMS); +/* 1B5EB4 */ UNK_RET gm_801B5EB4(UNK_PARAMS); +/* 1B5EE4 */ UNK_RET gm_801B5EE4(UNK_PARAMS); +/* 1B5F50 */ UNK_RET gm_801B5F50(UNK_PARAMS); +/* 1B5FB4 */ UNK_RET gm_801B5FB4(UNK_PARAMS); +/* 1B607C */ UNK_RET gm_801B607C(UNK_PARAMS); +/* 1B60A4 */ UNK_RET gm_801B60A4(UNK_PARAMS); +/* 1B62D8 */ UNK_RET gm_801B62D8(UNK_PARAMS); +/* 1B6320 */ UNK_RET gm_801B6320(UNK_PARAMS); +/* 1B632C */ UNK_RET gm_801B632C(UNK_PARAMS); +/* 1B63C4 */ UNK_RET gm_801B63C4(UNK_PARAMS); +/* 1B6428 */ UNK_RET gm_801B6428(UNK_PARAMS); +/* 1B65D4 */ UNK_RET gm_801B65D4(UNK_PARAMS); +/* 1B67E8 */ UNK_RET gm_801B67E8(UNK_PARAMS); +/* 1B6808 */ UNK_RET gm_801B6808(UNK_PARAMS); +/* 1B6834 */ UNK_RET gm_801B6834(UNK_PARAMS); +/* 1B685C */ UNK_RET gm_801B685C(UNK_PARAMS); +/* 1B688C */ UNK_RET gm_801B688C(UNK_PARAMS); +/* 1B69C0 */ UNK_RET gm_801B69C0(UNK_PARAMS); +/* 1B6AD8 */ UNK_RET gm_801B6AD8(UNK_PARAMS); +/* 1B6B70 */ UNK_RET gm_801B6B70(UNK_PARAMS); +/* 1B6BE8 */ UNK_RET gm_801B6BE8(UNK_PARAMS); +/* 1B6F44 */ UNK_RET gm_801B6F44(UNK_PARAMS); +/* 1B7044 */ UNK_RET gm_801B7044(UNK_PARAMS); +/* 1B70DC */ UNK_RET gm_801B70DC(UNK_PARAMS); +/* 1B7154 */ UNK_RET gm_801B7154(UNK_PARAMS); +/* 1B74F0 */ UNK_RET gm_801B74F0(UNK_PARAMS); +/* 1B75F0 */ UNK_RET gm_801B75F0(UNK_PARAMS); +/* 1B7688 */ UNK_RET gm_801B7688(UNK_PARAMS); +/* 1B7700 */ UNK_RET gm_801B7700(UNK_PARAMS); +/* 1B7AA0 */ UNK_RET gm_801B7AA0(UNK_PARAMS); +/* 1B7B74 */ UNK_RET gm_801B7B74(UNK_PARAMS); +/* 1B7C0C */ UNK_RET gm_801B7C0C(UNK_PARAMS); +/* 1B7C84 */ UNK_RET gm_801B7C84(UNK_PARAMS); +/* 1B8024 */ UNK_RET gm_801B8024(UNK_PARAMS); +/* 1B8110 */ UNK_RET gm_801B8110(UNK_PARAMS); +/* 1B81A8 */ UNK_RET gm_801B81A8(UNK_PARAMS); +/* 1B8220 */ UNK_RET gm_801B8220(UNK_PARAMS); +/* 1B8580 */ UNK_RET gm_801B8580(UNK_PARAMS); +/* 1B863C */ UNK_RET gm_801B863C(UNK_PARAMS); +/* 1B86D4 */ UNK_RET gm_801B86D4(UNK_PARAMS); +/* 1B874C */ UNK_RET gm_801B874C(UNK_PARAMS); +/* 1B8AF8 */ UNK_RET gm_801B8AF8(UNK_PARAMS); +/* 1B8BB4 */ UNK_RET gm_801B8BB4(UNK_PARAMS); +/* 1B8BE0 */ UNK_RET gm_801B8BE0(UNK_PARAMS); +/* 1B8C08 */ UNK_RET gm_801B8C08(UNK_PARAMS); +/* 1B8C30 */ UNK_RET gm_801B8C30(UNK_PARAMS); +/* 1B8C5C */ UNK_RET fn_801B8C5C(UNK_PARAMS); +/* 1B8C68 */ UNK_RET gm_801B8C68(UNK_PARAMS); +/* 1B8C9C */ UNK_RET gm_801B8C9C(UNK_PARAMS); +/* 1B8CC4 */ UNK_RET gm_801B8CC4(UNK_PARAMS); +/* 1B8CF4 */ UNK_RET gm_801B8CF4(UNK_PARAMS); +/* 1B8D14 */ UNK_RET gm_801B8D14(UNK_PARAMS); +/* 1B8D34 */ UNK_RET gm_801B8D34(UNK_PARAMS); +/* 1B8D60 */ UNK_RET gm_801B8D60(UNK_PARAMS); +/* 1B8D88 */ UNK_RET gm_801B8D88(UNK_PARAMS); +/* 1B8DA8 */ UNK_RET gm_801B8DA8(UNK_PARAMS); +/* 1B8DD4 */ UNK_RET gm_801B8DD4(UNK_PARAMS); +/* 1B8DFC */ UNK_RET gm_801B8DFC(UNK_PARAMS); +/* 1B8E24 */ UNK_RET gm_801B8E24(UNK_PARAMS); +/* 1B8E50 */ UNK_RET fn_801B8E50(UNK_PARAMS); +/* 1B8E74 */ UNK_RET gm_801B8E74(UNK_PARAMS); +/* 1B8EA8 */ UNK_RET gm_801B8EA8(UNK_PARAMS); +/* 1B8ED0 */ UNK_RET gm_801B8ED0(UNK_PARAMS); +/* 1B8F04 */ UNK_RET gm_801B8F04(UNK_PARAMS); +/* 1B8F24 */ UNK_RET gm_801B8F24(UNK_PARAMS); +/* 1B8F44 */ UNK_RET gm_801B8F44(UNK_PARAMS); +/* 1B8F70 */ UNK_RET gm_801B8F70(UNK_PARAMS); +/* 1B8F98 */ UNK_RET gm_801B8F98(UNK_PARAMS); +/* 1B8FB8 */ UNK_RET gm_801B8FB8(UNK_PARAMS); +/* 1B8FE4 */ UNK_RET gm_801B8FE4(UNK_PARAMS); +/* 1B900C */ UNK_RET gm_801B900C(UNK_PARAMS); +/* 1B9034 */ UNK_RET gm_801B9034(UNK_PARAMS); +/* 1B9060 */ UNK_RET fn_801B9060(UNK_PARAMS); +/* 1B9084 */ UNK_RET gm_801B9084(UNK_PARAMS); +/* 1B90B8 */ UNK_RET gm_801B90B8(UNK_PARAMS); +/* 1B90E0 */ UNK_RET gm_801B90E0(UNK_PARAMS); +/* 1B9114 */ UNK_RET gm_801B9114(UNK_PARAMS); +/* 1B9134 */ UNK_RET gm_801B9134(UNK_PARAMS); +/* 1B9154 */ UNK_RET gm_801B9154(UNK_PARAMS); +/* 1B9180 */ UNK_RET gm_801B9180(UNK_PARAMS); +/* 1B91A8 */ UNK_RET gm_801B91A8(UNK_PARAMS); +/* 1B91C8 */ UNK_RET gm_801B91C8(UNK_PARAMS); +/* 1B922C */ UNK_RET gm_801B922C(UNK_PARAMS); +/* 1B9254 */ UNK_RET gm_801B9254(UNK_PARAMS); +/* 1B927C */ UNK_RET gm_801B927C(UNK_PARAMS); +/* 1B931C */ UNK_RET gm_801B931C(UNK_PARAMS); +/* 1B9560 */ UNK_RET gm_801B9560(UNK_PARAMS); +/* 1B95B0 */ UNK_RET gm_801B95B0(UNK_PARAMS); +/* 1B95D8 */ UNK_RET gm_801B95D8(UNK_PARAMS); +/* 1B9600 */ UNK_RET gm_801B9600(UNK_PARAMS); +/* 1B96E8 */ UNK_RET fn_801B96E8(UNK_PARAMS); +/* 1B97C4 */ UNK_RET gm_801B97C4(UNK_PARAMS); +/* 1B9850 */ UNK_RET fn_801B9850(UNK_PARAMS); +/* 1B98E8 */ UNK_RET gm_801B98E8(UNK_PARAMS); +/* 1B999C */ UNK_RET gm_801B999C(UNK_PARAMS); +/* 1B9A3C */ UNK_RET gm_801B9A3C(UNK_PARAMS); +/* 1B9DD8 */ UNK_RET gm_801B9DD8(UNK_PARAMS); +/* 1B9EB8 */ UNK_RET gm_801B9EB8(UNK_PARAMS); +/* 1B9EE4 */ UNK_RET gm_801B9EE4(UNK_PARAMS); +/* 1B9F10 */ UNK_RET gm_801B9F10(UNK_PARAMS); +/* 1B9F3C */ UNK_RET gm_801B9F3C(UNK_PARAMS); +/* 1B9F64 */ UNK_RET gm_801B9F64(UNK_PARAMS); +/* 1B9F8C */ UNK_RET gm_801B9F8C(UNK_PARAMS); +/* 1B9FB8 */ UNK_RET fn_801B9FB8(UNK_PARAMS); +/* 1B9FC8 */ UNK_RET gm_801B9FC8(UNK_PARAMS); +/* 1B9FFC */ UNK_RET gm_801B9FFC(UNK_PARAMS); +/* 1BA024 */ UNK_RET gm_801BA024(UNK_PARAMS); +/* 1BA058 */ UNK_RET gm_801BA058(UNK_PARAMS); +/* 1BA078 */ UNK_RET gm_801BA078(UNK_PARAMS); +/* 1BA098 */ UNK_RET gm_801BA098(UNK_PARAMS); +/* 1BA0C4 */ UNK_RET gm_801BA0C4(UNK_PARAMS); +/* 1BA0EC */ UNK_RET gm_801BA0EC(UNK_PARAMS); +/* 1BA10C */ UNK_RET gm_801BA10C(UNK_PARAMS); +/* 1BA138 */ UNK_RET gm_801BA138(UNK_PARAMS); +/* 1BA160 */ UNK_RET gm_801BA160(UNK_PARAMS); +/* 1BA188 */ UNK_RET gm_801BA188(UNK_PARAMS); +/* 1BA1B4 */ UNK_RET fn_801BA1B4(UNK_PARAMS); +/* 1BA1C8 */ UNK_RET gm_801BA1C8(UNK_PARAMS); +/* 1BA1FC */ UNK_RET gm_801BA1FC(UNK_PARAMS); +/* 1BA224 */ UNK_RET gm_801BA224(UNK_PARAMS); +/* 1BA258 */ UNK_RET gm_801BA258(UNK_PARAMS); +/* 1BA278 */ UNK_RET gm_801BA278(UNK_PARAMS); +/* 1BA298 */ UNK_RET gm_801BA298(UNK_PARAMS); +/* 1BA2C4 */ UNK_RET gm_801BA2C4(UNK_PARAMS); +/* 1BA2EC */ UNK_RET gm_801BA2EC(UNK_PARAMS); +/* 1BA30C */ UNK_RET gm_801BA30C(UNK_PARAMS); +/* 1BA338 */ UNK_RET gm_801BA338(UNK_PARAMS); +/* 1BA360 */ UNK_RET gm_801BA360(UNK_PARAMS); +/* 1BA388 */ UNK_RET gm_801BA388(UNK_PARAMS); +/* 1BA3B4 */ UNK_RET fn_801BA3B4(UNK_PARAMS); +/* 1BA3C8 */ UNK_RET gm_801BA3C8(UNK_PARAMS); +/* 1BA3FC */ UNK_RET gm_801BA3FC(UNK_PARAMS); +/* 1BA424 */ UNK_RET gm_801BA424(UNK_PARAMS); +/* 1BA458 */ UNK_RET gm_801BA458(UNK_PARAMS); +/* 1BA478 */ UNK_RET gm_801BA478(UNK_PARAMS); +/* 1BA498 */ UNK_RET gm_801BA498(UNK_PARAMS); +/* 1BA4C4 */ UNK_RET gm_801BA4C4(UNK_PARAMS); +/* 1BA4EC */ UNK_RET gm_801BA4EC(UNK_PARAMS); +/* 1BA50C */ UNK_RET gm_801BA50C(UNK_PARAMS); +/* 1BA538 */ UNK_RET gm_801BA538(UNK_PARAMS); +/* 1BA560 */ UNK_RET gm_801BA560(UNK_PARAMS); +/* 1BA588 */ UNK_RET gm_801BA588(UNK_PARAMS); +/* 1BA5B4 */ UNK_RET fn_801BA5B4(UNK_PARAMS); +/* 1BA5C0 */ UNK_RET gm_801BA5C0(UNK_PARAMS); +/* 1BA5F4 */ UNK_RET gm_801BA5F4(UNK_PARAMS); +/* 1BA61C */ UNK_RET gm_801BA61C(UNK_PARAMS); +/* 1BA650 */ UNK_RET gm_801BA650(UNK_PARAMS); +/* 1BA670 */ UNK_RET gm_801BA670(UNK_PARAMS); +/* 1BA690 */ UNK_RET gm_801BA690(UNK_PARAMS); +/* 1BA6BC */ UNK_RET gm_801BA6BC(UNK_PARAMS); +/* 1BA6E4 */ UNK_RET gm_801BA6E4(UNK_PARAMS); +/* 1BA704 */ UNK_RET gm_801BA704(UNK_PARAMS); +/* 1BA730 */ UNK_RET gm_801BA730(UNK_PARAMS); +/* 1BA758 */ UNK_RET gm_801BA758(UNK_PARAMS); +/* 1BA780 */ UNK_RET gm_801BA780(UNK_PARAMS); +/* 1BA7AC */ UNK_RET fn_801BA7AC(UNK_PARAMS); +/* 1BA7B8 */ UNK_RET gm_801BA7B8(UNK_PARAMS); +/* 1BA7EC */ UNK_RET gm_801BA7EC(UNK_PARAMS); +/* 1BA814 */ UNK_RET gm_801BA814(UNK_PARAMS); +/* 1BA848 */ UNK_RET gm_801BA848(UNK_PARAMS); +/* 1BA868 */ UNK_RET gm_801BA868(UNK_PARAMS); +/* 1BA888 */ UNK_RET gm_801BA888(UNK_PARAMS); +/* 1BA8B4 */ UNK_RET gm_801BA8B4(UNK_PARAMS); +/* 1BA8DC */ UNK_RET gm_801BA8DC(UNK_PARAMS); +/* 1BA8FC */ UNK_RET gm_801BA8FC(UNK_PARAMS); +/* 1BA938 */ UNK_RET gm_801BA938(UNK_PARAMS); +/* 1BAA60 */ UNK_RET gm_801BAA60(UNK_PARAMS); +/* 1BAAD0 */ UNK_RET gm_801BAAD0(UNK_PARAMS); +/* 1BAB40 */ UNK_RET gm_801BAB40(UNK_PARAMS); +/* 1BAC9C */ UNK_RET gm_801BAC9C(UNK_PARAMS); +/* 1BAD70 */ UNK_RET gm_801BAD70(UNK_PARAMS); +/* 1BB758 */ UNK_RET gm_801BB758(UNK_PARAMS); +/* 1BBA60 */ UNK_RET gm_801BBA60(UNK_PARAMS); +/* 1BBB64 */ UNK_RET gm_801BBB64(UNK_PARAMS); +/* 1BBEA8 */ UNK_RET gm_801BBEA8(UNK_PARAMS); +/* 1BBFE4 */ UNK_RET gm_801BBFE4(UNK_PARAMS); +/* 1BBFE8 */ UNK_RET fn_801BBFE8(UNK_PARAMS); +/* 1BC00C */ UNK_RET gm_801BC00C(UNK_PARAMS); +/* 1BC488 */ UNK_RET gm_801BC488(UNK_PARAMS); +/* 1BC4F4 */ UNK_RET gm_801BC4F4(UNK_PARAMS); +/* 1BC670 */ UNK_RET gm_801BC670(UNK_PARAMS); +/* 1BC754 */ UNK_RET gm_801BC754(UNK_PARAMS); +/* 1BC9E8 */ UNK_RET gm_801BC9E8(UNK_PARAMS); +/* 1BCAF0 */ UNK_RET gm_801BCAF0(UNK_PARAMS); +/* 1BCC9C */ UNK_RET gm_801BCC9C(UNK_PARAMS); +/* 1BCF20 */ UNK_RET gm_801BCF20(UNK_PARAMS); +/* 1BCF40 */ UNK_RET gm_801BCF40(UNK_PARAMS); +/* 1BD028 */ UNK_RET gm_801BD028(UNK_PARAMS); +/* 1BD164 */ UNK_RET gm_801BD164(UNK_PARAMS); +/* 1BD30C */ UNK_RET gm_801BD30C(UNK_PARAMS); +/* 1BD44C */ UNK_RET gm_801BD44C(UNK_PARAMS); +/* 1BD46C */ UNK_RET gm_801BD46C(UNK_PARAMS); +/* 1BD658 */ UNK_RET gm_801BD658(UNK_PARAMS); +/* 1BD7FC */ UNK_RET gm_801BD7FC(UNK_PARAMS); +/* 1BD93C */ UNK_RET gm_801BD93C(UNK_PARAMS); +/* 1BDAD4 */ UNK_RET gm_801BDAD4(UNK_PARAMS); +/* 1BDAF4 */ UNK_RET gm_801BDAF4(UNK_PARAMS); +/* 1BDC08 */ UNK_RET gm_801BDC08(UNK_PARAMS); +/* 1BDD44 */ UNK_RET gm_801BDD44(UNK_PARAMS); +/* 1BDE94 */ UNK_RET gm_801BDE94(UNK_PARAMS); +/* 1BE37C */ UNK_RET gm_801BE37C(UNK_PARAMS); +/* 1BE39C */ UNK_RET gm_801BE39C(UNK_PARAMS); +/* 1BE618 */ UNK_RET gm_801BE618(UNK_PARAMS); +/* 1BE638 */ UNK_RET gm_801BE638(UNK_PARAMS); +/* 1BEA10 */ UNK_RET gm_801BEA10(UNK_PARAMS); +/* 1BEA4C */ UNK_RET gm_801BEA4C(UNK_PARAMS); +/* 1BEA88 */ UNK_RET gm_801BEA88(UNK_PARAMS); +/* 1BEAF0 */ UNK_RET gm_801BEAF0(UNK_PARAMS); +/* 1BEB2C */ UNK_RET gm_801BEB2C(UNK_PARAMS); +/* 1BEB68 */ UNK_RET gm_801BEB68(UNK_PARAMS); +/* 1BEB74 */ UNK_RET gm_801BEB74(UNK_PARAMS); +/* 1BEB80 */ UNK_RET gm_801BEB80(UNK_PARAMS); +/* 1BEB8C */ UNK_RET gm_801BEB8C(UNK_PARAMS); +/* 1BEBA8 */ UNK_RET gm_801BEBA8(UNK_PARAMS); +/* 1BEBC0 */ UNK_RET gm_801BEBC0(UNK_PARAMS); +/* 1BEBF8 */ UNK_RET gm_801BEBF8(UNK_PARAMS); +/* 1BEC54 */ UNK_RET gm_801BEC54(UNK_PARAMS); +/* 1BEC80 */ UNK_RET gm_801BEC80(UNK_PARAMS); +/* 1BECA8 */ UNK_RET gm_801BECA8(UNK_PARAMS); +/* 1BECD0 */ UNK_RET gm_801BECD0(UNK_PARAMS); +/* 1BED14 */ UNK_RET gm_801BED14(UNK_PARAMS); +/* 1BED3C */ UNK_RET gm_801BED3C(UNK_PARAMS); +/* 1BEDA8 */ UNK_RET gm_801BEDA8(UNK_PARAMS); +/* 1BEE58 */ UNK_RET gm_801BEE58(UNK_PARAMS); +/* 1BEE9C */ UNK_RET gm_801BEE9C(UNK_PARAMS); +/* 1BEF84 */ UNK_RET gm_801BEF84(UNK_PARAMS); +/* 1BEFA4 */ UNK_RET gm_801BEFA4(UNK_PARAMS); +/* 1BEFB0 */ UNK_RET gm_801BEFB0(UNK_PARAMS); +/* 1BEFC0 */ UNK_RET gm_801BEFC0(UNK_PARAMS); +/* 1BEFD0 */ UNK_RET gm_801BEFD0(UNK_PARAMS); +/* 1BEFE0 */ UNK_RET gm_801BEFE0(UNK_PARAMS); +/* 1BEFF0 */ UNK_RET gm_801BEFF0(UNK_PARAMS); +/* 1BF000 */ UNK_RET gm_801BF000(UNK_PARAMS); +/* 1BF010 */ UNK_RET gm_801BF010(UNK_PARAMS); +/* 1BF020 */ UNK_RET gm_801BF020(UNK_PARAMS); +/* 1BF030 */ UNK_RET gm_801BF030(UNK_PARAMS); +/* 1BF040 */ UNK_RET gm_801BF040(UNK_PARAMS); +/* 1BF050 */ UNK_RET gm_801BF050(UNK_PARAMS); +/* 1BF060 */ UNK_RET gm_801BF060(UNK_PARAMS); +/* 1BF128 */ UNK_RET gm_801BF128(UNK_PARAMS); +/* 1BF3F8 */ UNK_RET gm_801BF3F8(UNK_PARAMS); +/* 1BF4DC */ UNK_RET gm_801BF4DC(UNK_PARAMS); +/* 1BF634 */ UNK_RET gm_801BF634(UNK_PARAMS); +/* 1BF648 */ UNK_RET gm_801BF648(UNK_PARAMS); +/* 1BF65C */ UNK_RET gm_801BF65C(UNK_PARAMS); +/* 1BF670 */ UNK_RET gm_801BF670(UNK_PARAMS); +/* 1BF684 */ UNK_RET gm_801BF684(UNK_PARAMS); +/* 1BF694 */ UNK_RET gm_801BF694(UNK_PARAMS); +/* 1BF6A8 */ UNK_RET gm_801BF6A8(UNK_PARAMS); +/* 1BF6B8 */ UNK_RET gm_801BF6B8(UNK_PARAMS); +/* 1BF6C8 */ UNK_RET gm_801BF6C8(UNK_PARAMS); +/* 1BF6D8 */ UNK_RET gm_801BF6D8(UNK_PARAMS); +/* 1BF6E8 */ UNK_RET gm_801BF6E8(UNK_PARAMS); +/* 1BF6F8 */ UNK_RET gm_801BF6F8(UNK_PARAMS); +/* 1BF708 */ UNK_RET gm_801BF708(UNK_PARAMS); +/* 1BF718 */ UNK_RET gm_801BF718(UNK_PARAMS); +/* 1BF728 */ UNK_RET gm_801BF728(UNK_PARAMS); +/* 1BF834 */ UNK_RET gm_801BF834(UNK_PARAMS); +/* 1BF85C */ UNK_RET gm_801BF85C(UNK_PARAMS); +/* 1BF898 */ UNK_RET gm_801BF898(UNK_PARAMS); +/* 1BF8B8 */ UNK_RET gm_801BF8B8(UNK_PARAMS); +/* 1BF8D8 */ UNK_RET gm_801BF8D8(UNK_PARAMS); +/* 1BF8F8 */ UNK_RET gm_801BF8F8(UNK_PARAMS); +/* 1BF920 */ UNK_RET gm_801BF920(UNK_PARAMS); +/* 1BF948 */ UNK_RET gm_801BF948(UNK_PARAMS); +/* 1BF9A8 */ UNK_RET gm_801BF9A8(UNK_PARAMS); +/* 1BFA3C */ UNK_RET gm_801BFA3C(UNK_PARAMS); +/* 1BFA6C */ UNK_RET gm_801BFA6C(UNK_PARAMS); +/* 1BFABC */ UNK_RET gm_801BFABC(UNK_PARAMS); +/* 1BFBA8 */ UNK_RET gm_801BFBA8(UNK_PARAMS); +/* 1BFC60 */ UNK_RET gm_801BFC60(UNK_PARAMS); +/* 1BFCFC */ UNK_RET gm_801BFCFC(UNK_PARAMS); +/* 1BFF7C */ UNK_RET gm_801BFF7C(UNK_PARAMS); #endif diff --git a/src/melee/gm/gmcamera.c b/src/melee/gm/gmcamera.c index 274825a0df..abf340d5fe 100644 --- a/src/melee/gm/gmcamera.c +++ b/src/melee/gm/gmcamera.c @@ -207,3 +207,51 @@ void* gmCamera_801A2334(int arg0, float argA, float argB) HSD_SisLib_803A6368(temp_r3, var_r30); return temp_r3; } + +/// #gmCamera_801A253C + +/// #gmCamera_801A25C8 + +/// #gmCamera_801A2640 + +/// #gmCamera_801A2650 + +/// #gmCamera_801A26C0 + +/// #gmCamera_801A2798 + +/// #gmCamera_801A2800 + +/// #gmCamera_801A28AC + +/// #gmCamera_801A292C + +/// #gmCamera_801A2AAC + +/// #gmCamera_801A2BB0 + +/// #gmCamera_801A2BF0 + +/// #gmCamera_801A2D44 + +/// #gmCamera_801A2FBC + +/// #gmCamera_801A2FFC + +/// #gmCamera_801A3048 + +/// #gmCamera_801A3098 + +/// #gmCamera_801A30E4 + +/// #fn_801A31D8 + +/// #gmCamera_801A31FC + +/// #gmCamera_801A33BC + +/// #gmCamera_801A34FC + +/// #gmCamera_801A3634 + +void gmCamera_801A367C(void) {} diff --git a/src/melee/gr/grbigblue.c b/src/melee/gr/grbigblue.c index 8b13789179..c90440c98a 100644 --- a/src/melee/gr/grbigblue.c +++ b/src/melee/gr/grbigblue.c @@ -1 +1,137 @@ +void grBigBlue_801E57BC(void) {} +/// #grBigBlue_801E57C0 + +void grBigBlue_801E59C8(void) {} + +/// #grBigBlue_801E59CC + +/// #grBigBlue_801E59F0 + +/// #grBigBlue_801E59F8 + +/// #grBigBlue_801E5AE4 + +/// #grBigBlue_801E5B10 + +void grBigBlue_801E5B18(void) {} + +void grBigBlue_801E5B1C(void) {} + +/// #grBigBlue_801E5B20 + +/// #grBigBlue_801E6114 + +void grBigBlue_801E611C(void) {} + +void grBigBlue_801E6120(void) {} + +/// #fn_801E6124 + +/// #grBigBlue_801E613C + +/// #grBigBlue_801E61BC + +/// #grBigBlue_801E61C4 + +void grBigBlue_801E61FC(void) {} + +/// #grBigBlue_801E6200 + +/// #grBigBlue_801E6288 + +void grBigBlue_801E6290(void) {} + +void grBigBlue_801E6294(void) {} + +/// #grBigBlue_801E6298 + +/// #grBigBlue_801E6354 + +void grBigBlue_801E635C(void) {} + +void grBigBlue_801E6360(void) {} + +/// #grBigBlue_801E6364 + +/// #grBigBlue_801E687C + +/// #grBigBlue_801E6884 + +/// #grBigBlue_801E68B8 + +/// #grBigBlue_801E6904 + +/// #grBigBlue_801E6C58 + +/// #grBigBlue_801E6C60 + +void grBigBlue_801E855C(void) {} + +/// #fn_801E8560 + +/// #grBigBlue_801E8794 + +/// #grBigBlue_801E8978 + +/// #grBigBlue_801E89DC + +/// #grBigBlue_801E8A1C + +/// #grBigBlue_801E8B84 + +/// #grBigBlue_801E8D04 + +/// #grBigBlue_801E8D64 + +/// #grBigBlue_801E93D0 + +/// #grBigBlue_801E93D8 + +void grBigBlue_801E9F38(void) {} + +/// #grBigBlue_801E9F3C + +/// #grBigBlue_801EA054 + +/// #grBigBlue_801EA05C + +void grBigBlue_801EAB4C(void) {} + +/// #grBigBlue_801EAB50 + +/// #grBigBlue_801EACE8 + +/// #grBigBlue_801EB004 + +/// #grBigBlue_801EB4AC + +/// #grBigBlue_801EBAF8 + +/// #grBigBlue_801EC58C + +/// #grBigBlue_801EC6C0 + +/// #grBigBlue_801ECB50 + +/// #grBigBlue_801ED694 + +/// #grBigBlue_801EDF44 + +/// #grBigBlue_801EE398 + +/// #grBigBlue_801EEF00 + +/// #grBigBlue_801EF424 + +/// #fn_801EF60C + +/// #grBigBlue_801EF7D8 + +/// #grBigBlue_801EF844 + +/// #fn_801EFB9C + +/// #grBigBlue_801EFC0C + +/// #grBigBlue_801EFC14 diff --git a/src/melee/gr/grbigblue.h b/src/melee/gr/grbigblue.h index 564772f1b1..68946f63af 100644 --- a/src/melee/gr/grbigblue.h +++ b/src/melee/gr/grbigblue.h @@ -5,7 +5,74 @@ #include +/* 1E57BC */ UNK_RET grBigBlue_801E57BC(UNK_PARAMS); +/* 1E57C0 */ UNK_RET grBigBlue_801E57C0(UNK_PARAMS); +/* 1E59C8 */ UNK_RET grBigBlue_801E59C8(UNK_PARAMS); +/* 1E59CC */ UNK_RET grBigBlue_801E59CC(UNK_PARAMS); +/* 1E59F0 */ UNK_RET grBigBlue_801E59F0(UNK_PARAMS); +/* 1E59F8 */ UNK_RET grBigBlue_801E59F8(UNK_PARAMS); +/* 1E5AE4 */ UNK_RET grBigBlue_801E5AE4(UNK_PARAMS); +/* 1E5B10 */ UNK_RET grBigBlue_801E5B10(UNK_PARAMS); +/* 1E5B18 */ UNK_RET grBigBlue_801E5B18(UNK_PARAMS); +/* 1E5B1C */ UNK_RET grBigBlue_801E5B1C(UNK_PARAMS); +/* 1E5B20 */ UNK_RET grBigBlue_801E5B20(UNK_PARAMS); +/* 1E6114 */ UNK_RET grBigBlue_801E6114(UNK_PARAMS); +/* 1E611C */ UNK_RET grBigBlue_801E611C(UNK_PARAMS); +/* 1E6120 */ UNK_RET grBigBlue_801E6120(UNK_PARAMS); +/* 1E6124 */ UNK_RET fn_801E6124(UNK_PARAMS); +/* 1E613C */ UNK_RET grBigBlue_801E613C(UNK_PARAMS); +/* 1E61BC */ UNK_RET grBigBlue_801E61BC(UNK_PARAMS); +/* 1E61C4 */ UNK_RET grBigBlue_801E61C4(UNK_PARAMS); +/* 1E61FC */ UNK_RET grBigBlue_801E61FC(UNK_PARAMS); +/* 1E6200 */ UNK_RET grBigBlue_801E6200(UNK_PARAMS); +/* 1E6288 */ UNK_RET grBigBlue_801E6288(UNK_PARAMS); +/* 1E6290 */ UNK_RET grBigBlue_801E6290(UNK_PARAMS); +/* 1E6294 */ UNK_RET grBigBlue_801E6294(UNK_PARAMS); +/* 1E6298 */ UNK_RET grBigBlue_801E6298(UNK_PARAMS); +/* 1E6354 */ UNK_RET grBigBlue_801E6354(UNK_PARAMS); +/* 1E635C */ UNK_RET grBigBlue_801E635C(UNK_PARAMS); +/* 1E6360 */ UNK_RET grBigBlue_801E6360(UNK_PARAMS); +/* 1E6364 */ UNK_RET grBigBlue_801E6364(UNK_PARAMS); +/* 1E687C */ UNK_RET grBigBlue_801E687C(UNK_PARAMS); +/* 1E6884 */ UNK_RET grBigBlue_801E6884(UNK_PARAMS); +/* 1E68B8 */ UNK_RET grBigBlue_801E68B8(UNK_PARAMS); +/* 1E6904 */ UNK_RET grBigBlue_801E6904(UNK_PARAMS); +/* 1E6C58 */ UNK_RET grBigBlue_801E6C58(UNK_PARAMS); +/* 1E6C60 */ UNK_RET grBigBlue_801E6C60(UNK_PARAMS); +/* 1E855C */ UNK_RET grBigBlue_801E855C(UNK_PARAMS); +/* 1E8560 */ UNK_RET fn_801E8560(UNK_PARAMS); +/* 1E8794 */ UNK_RET grBigBlue_801E8794(UNK_PARAMS); +/* 1E8978 */ UNK_RET grBigBlue_801E8978(UNK_PARAMS); +/* 1E89DC */ UNK_RET grBigBlue_801E89DC(UNK_PARAMS); +/* 1E8A1C */ UNK_RET grBigBlue_801E8A1C(UNK_PARAMS); +/* 1E8B84 */ UNK_RET grBigBlue_801E8B84(UNK_PARAMS); +/* 1E8D04 */ UNK_RET grBigBlue_801E8D04(UNK_PARAMS); +/* 1E8D64 */ UNK_RET grBigBlue_801E8D64(UNK_PARAMS); +/* 1E93D0 */ UNK_RET grBigBlue_801E93D0(UNK_PARAMS); +/* 1E93D8 */ UNK_RET grBigBlue_801E93D8(UNK_PARAMS); +/* 1E9F38 */ UNK_RET grBigBlue_801E9F38(UNK_PARAMS); +/* 1E9F3C */ UNK_RET grBigBlue_801E9F3C(UNK_PARAMS); +/* 1EA054 */ UNK_RET grBigBlue_801EA054(UNK_PARAMS); +/* 1EA05C */ UNK_RET grBigBlue_801EA05C(UNK_PARAMS); +/* 1EAB4C */ UNK_RET grBigBlue_801EAB4C(UNK_PARAMS); +/* 1EAB50 */ UNK_RET grBigBlue_801EAB50(UNK_PARAMS); +/* 1EACE8 */ UNK_RET grBigBlue_801EACE8(UNK_PARAMS); +/* 1EB004 */ UNK_RET grBigBlue_801EB004(UNK_PARAMS); +/* 1EB4AC */ UNK_RET grBigBlue_801EB4AC(UNK_PARAMS); +/* 1EBAF8 */ UNK_RET grBigBlue_801EBAF8(UNK_PARAMS); +/* 1EC58C */ UNK_RET grBigBlue_801EC58C(UNK_PARAMS); +/* 1EC6C0 */ UNK_RET grBigBlue_801EC6C0(UNK_PARAMS); +/* 1ECB50 */ UNK_RET grBigBlue_801ECB50(UNK_PARAMS); +/* 1ED694 */ UNK_RET grBigBlue_801ED694(UNK_PARAMS); +/* 1EDF44 */ UNK_RET grBigBlue_801EDF44(UNK_PARAMS); +/* 1EE398 */ UNK_RET grBigBlue_801EE398(UNK_PARAMS); +/* 1EEF00 */ UNK_RET grBigBlue_801EEF00(UNK_PARAMS); +/* 1EF424 */ UNK_RET grBigBlue_801EF424(UNK_PARAMS); +/* 1EF60C */ UNK_RET fn_801EF60C(UNK_PARAMS); /* 1EF7D8 */ void grBigBlue_801EF7D8(Vec3*); /* 1EF844 */ bool grBigBlue_801EF844(enum_t); +/* 1EFB9C */ UNK_RET fn_801EFB9C(UNK_PARAMS); +/* 1EFC0C */ UNK_RET grBigBlue_801EFC0C(UNK_PARAMS); +/* 1EFC14 */ UNK_RET grBigBlue_801EFC14(UNK_PARAMS); #endif diff --git a/src/melee/gr/grbigblueroute.c b/src/melee/gr/grbigblueroute.c index 8b13789179..0700ebb147 100644 --- a/src/melee/gr/grbigblueroute.c +++ b/src/melee/gr/grbigblueroute.c @@ -1 +1,78 @@ +/// #grBigBlueRoute_8020B864 + +/// #grBigBlueRoute_8020B89C + +/// #grBigBlueRoute_8020B920 + +/// #grBigBlueRoute_8020B95C + +/// #grBigBlueRoute_8020B9CC + +/// #grBigBlueRoute_8020B9D4 + +/// #grBigBlueRoute_8020BABC + +/// #grBigBlueRoute_8020BB00 + +void grBigBlueRoute_8020BB08(void) {} + +void grBigBlueRoute_8020BB0C(void) {} + +/// #grBigBlueRoute_8020BB10 + +/// #grBigBlueRoute_8020BB58 + +void grBigBlueRoute_8020BB60(void) {} + +void grBigBlueRoute_8020BB64(void) {} + +/// #grBigBlueRoute_8020BB68 + +/// #grBigBlueRoute_8020BC24 + +void grBigBlueRoute_8020BC2C(void) {} + +void grBigBlueRoute_8020BC30(void) {} + +/// #fn_8020BC34 + +/// #grBigBlueRoute_8020BC68 + +/// #grBigBlueRoute_8020BF30 + +/// #grBigBlueRoute_8020BF38 + +void grBigBlueRoute_8020C13C(void) {} + +/// #grBigBlueRoute_8020C140 + +/// #grBigBlueRoute_8020C1D4 + +/// #grBigBlueRoute_8020C1DC + +/// #grBigBlueRoute_8020C210 + +/// #grBigBlueRoute_8020C238 + +/// #grBigBlueRoute_8020C530 + +/// #grBigBlueRoute_8020C85C + +/// #grBigBlueRoute_8020CD20 + +/// #grBigBlueRoute_8020DA9C + +/// #grBigBlueRoute_8020DAB4 + +/// #grBigBlueRoute_8020DD64 + +/// #grBigBlueRoute_8020DE48 + +/// #fn_8020DEAC + +/// #grBigBlueRoute_8020DED4 + +/// #grBigBlueRoute_8020DF78 + +/// #grBigBlueRoute_8020DF80 diff --git a/src/melee/gr/grbigblueroute.h b/src/melee/gr/grbigblueroute.h index 8b13789179..e0da217d3d 100644 --- a/src/melee/gr/grbigblueroute.h +++ b/src/melee/gr/grbigblueroute.h @@ -1 +1,46 @@ +#ifndef GALE01_20B864 +#define GALE01_20B864 +#include + +/* 20B864 */ UNK_RET grBigBlueRoute_8020B864(UNK_PARAMS); +/* 20B89C */ UNK_RET grBigBlueRoute_8020B89C(UNK_PARAMS); +/* 20B920 */ UNK_RET grBigBlueRoute_8020B920(UNK_PARAMS); +/* 20B95C */ UNK_RET grBigBlueRoute_8020B95C(UNK_PARAMS); +/* 20B9CC */ UNK_RET grBigBlueRoute_8020B9CC(UNK_PARAMS); +/* 20B9D4 */ UNK_RET grBigBlueRoute_8020B9D4(UNK_PARAMS); +/* 20BABC */ UNK_RET grBigBlueRoute_8020BABC(UNK_PARAMS); +/* 20BB00 */ UNK_RET grBigBlueRoute_8020BB00(UNK_PARAMS); +/* 20BB08 */ UNK_RET grBigBlueRoute_8020BB08(UNK_PARAMS); +/* 20BB0C */ UNK_RET grBigBlueRoute_8020BB0C(UNK_PARAMS); +/* 20BB10 */ UNK_RET grBigBlueRoute_8020BB10(UNK_PARAMS); +/* 20BB58 */ UNK_RET grBigBlueRoute_8020BB58(UNK_PARAMS); +/* 20BB60 */ UNK_RET grBigBlueRoute_8020BB60(UNK_PARAMS); +/* 20BB64 */ UNK_RET grBigBlueRoute_8020BB64(UNK_PARAMS); +/* 20BB68 */ UNK_RET grBigBlueRoute_8020BB68(UNK_PARAMS); +/* 20BC24 */ UNK_RET grBigBlueRoute_8020BC24(UNK_PARAMS); +/* 20BC2C */ UNK_RET grBigBlueRoute_8020BC2C(UNK_PARAMS); +/* 20BC30 */ UNK_RET grBigBlueRoute_8020BC30(UNK_PARAMS); +/* 20BC34 */ UNK_RET fn_8020BC34(UNK_PARAMS); +/* 20BC68 */ UNK_RET grBigBlueRoute_8020BC68(UNK_PARAMS); +/* 20BF30 */ UNK_RET grBigBlueRoute_8020BF30(UNK_PARAMS); +/* 20BF38 */ UNK_RET grBigBlueRoute_8020BF38(UNK_PARAMS); +/* 20C13C */ UNK_RET grBigBlueRoute_8020C13C(UNK_PARAMS); +/* 20C140 */ UNK_RET grBigBlueRoute_8020C140(UNK_PARAMS); +/* 20C1D4 */ UNK_RET grBigBlueRoute_8020C1D4(UNK_PARAMS); +/* 20C1DC */ UNK_RET grBigBlueRoute_8020C1DC(UNK_PARAMS); +/* 20C210 */ UNK_RET grBigBlueRoute_8020C210(UNK_PARAMS); +/* 20C238 */ UNK_RET grBigBlueRoute_8020C238(UNK_PARAMS); +/* 20C530 */ UNK_RET grBigBlueRoute_8020C530(UNK_PARAMS); +/* 20C85C */ UNK_RET grBigBlueRoute_8020C85C(UNK_PARAMS); +/* 20CD20 */ UNK_RET grBigBlueRoute_8020CD20(UNK_PARAMS); +/* 20DA9C */ UNK_RET grBigBlueRoute_8020DA9C(UNK_PARAMS); +/* 20DAB4 */ UNK_RET grBigBlueRoute_8020DAB4(UNK_PARAMS); +/* 20DD64 */ UNK_RET grBigBlueRoute_8020DD64(UNK_PARAMS); +/* 20DE48 */ UNK_RET grBigBlueRoute_8020DE48(UNK_PARAMS); +/* 20DEAC */ UNK_RET fn_8020DEAC(UNK_PARAMS); +/* 20DED4 */ UNK_RET grBigBlueRoute_8020DED4(UNK_PARAMS); +/* 20DF78 */ UNK_RET grBigBlueRoute_8020DF78(UNK_PARAMS); +/* 20DF80 */ UNK_RET grBigBlueRoute_8020DF80(UNK_PARAMS); + +#endif diff --git a/src/melee/gr/grcastle.c b/src/melee/gr/grcastle.c index 071f7aa442..a28b5c69ab 100644 --- a/src/melee/gr/grcastle.c +++ b/src/melee/gr/grcastle.c @@ -6,6 +6,146 @@ #include #include +/// #grCastle_801CD338 + +/// #grCastle_801CD37C + +void grCastle_801CD4A0(void) {} + +/// #grCastle_801CD4A4 + +/// #grCastle_801CD4C8 + +/// #grCastle_801CD4D0 + +/// #grCastle_801CD5BC + +/// #grCastle_801CD600 + +void grCastle_801CD608(void) {} + +void grCastle_801CD60C(void) {} + +/// #fn_801CD610 + +/// #grCastle_801CD658 + +/// #grCastle_801CD8A0 + +/// #grCastle_801CD8A8 + +/// #grCastle_801CD960 + +/// #fn_801CD9B4 + +/// #grCastle_801CDA0C + +/// #grCastle_801CDC3C + +/// #grCastle_801CDC44 + +void grCastle_801CDF50(void) {} + +/// #grCastle_801CDF54 + +/// #grCastle_801CDFD8 + +/// #grCastle_801CE054 + +/// #grCastle_801CE19C + +/// #grCastle_801CE260 + +void fn_801CE3A0(void) {} + +/// #grCastle_801CE3A4 + +/// #grCastle_801CE3AC + +/// #grCastle_801CE578 + +void grCastle_801CE7E4(void) {} + +/// #grCastle_801CE7E8 + +/// #grCastle_801CE858 + +/// #grCastle_801CE860 + +void grCastle_801CE8E4(void) {} + +/// #grCastle_801CE8E8 + +void fn_801CE9DC(void) {} + +/// #grCastle_801CE9E0 + +/// #grCastle_801CE9E8 + +void grCastle_801CEAC8(void) {} + +/// #grCastle_801CEACC + +/// #grCastle_801CEEFC + +/// #grCastle_801CEF04 + +void grCastle_801CF0F0(void) {} + +/// #grCastle_801CF0F4 + +/// #grCastle_801CF300 + +/// #grCastle_801CF308 + +void grCastle_801CF74C(void) {} + +/// #fn_801CF750 + +/// #grCastle_801CF7B0 + +/// #grCastle_801CF868 + +/// #fn_801CFAFC + +/// #fn_801CFB68 + +/// #grCastle_801CFBD4 + +/// #grCastle_801D0298 + +/// #grCastle_801D02B8 + +/// #fn_801D0520 + +/// #grCastle_801D0550 + +/// #grCastle_801D059C + +/// #grCastle_801D05E8 + +/// #grCastle_801D0634 + +/// #grCastle_801D0680 + +/// #grCastle_801D06CC + +/// #grCastle_801D0744 + +/// #grCastle_801D07BC + +/// #grCastle_801D0834 + +/// #grCastle_801D08AC + +/// #fn_801D0924 + +/// #fn_801D09B8 + +/// #grCastle_801D0A9C + +/// #grCastle_801D0B04 + bool grCastle_801D0B0C(Vec3* v, u32 arg1, HSD_JObj* jobj) { Vec3 pos; @@ -25,3 +165,11 @@ bool grCastle_801D0B0C(Vec3* v, u32 arg1, HSD_JObj* jobj) } return 0; } + +/// #grCastle_801D0BBC + +/// #grCastle_801D0D24 + +/// #grCastle_801D0D84 + +/// #grCastle_801D0FF0 diff --git a/src/melee/gr/grcastle.h b/src/melee/gr/grcastle.h index 8f3a7fc1f2..b0c33ec6df 100644 --- a/src/melee/gr/grcastle.h +++ b/src/melee/gr/grcastle.h @@ -6,7 +6,80 @@ #include +/* 1CD338 */ UNK_RET grCastle_801CD338(UNK_PARAMS); +/* 1CD37C */ UNK_RET grCastle_801CD37C(UNK_PARAMS); +/* 1CD4A0 */ UNK_RET grCastle_801CD4A0(UNK_PARAMS); +/* 1CD4A4 */ UNK_RET grCastle_801CD4A4(UNK_PARAMS); +/* 1CD4C8 */ UNK_RET grCastle_801CD4C8(UNK_PARAMS); +/* 1CD4D0 */ UNK_RET grCastle_801CD4D0(UNK_PARAMS); +/* 1CD5BC */ UNK_RET grCastle_801CD5BC(UNK_PARAMS); +/* 1CD600 */ UNK_RET grCastle_801CD600(UNK_PARAMS); +/* 1CD608 */ UNK_RET grCastle_801CD608(UNK_PARAMS); +/* 1CD60C */ UNK_RET grCastle_801CD60C(UNK_PARAMS); +/* 1CD610 */ UNK_RET fn_801CD610(UNK_PARAMS); +/* 1CD658 */ UNK_RET grCastle_801CD658(UNK_PARAMS); +/* 1CD8A0 */ UNK_RET grCastle_801CD8A0(UNK_PARAMS); +/* 1CD8A8 */ UNK_RET grCastle_801CD8A8(UNK_PARAMS); +/* 1CD960 */ UNK_RET grCastle_801CD960(UNK_PARAMS); +/* 1CD9B4 */ UNK_RET fn_801CD9B4(UNK_PARAMS); +/* 1CDA0C */ UNK_RET grCastle_801CDA0C(UNK_PARAMS); +/* 1CDC3C */ UNK_RET grCastle_801CDC3C(UNK_PARAMS); +/* 1CDC44 */ UNK_RET grCastle_801CDC44(UNK_PARAMS); +/* 1CDF50 */ UNK_RET grCastle_801CDF50(UNK_PARAMS); /* 1CDF54 */ UNK_RET grCastle_801CDF54(UNK_PARAMS); +/* 1CDFD8 */ UNK_RET grCastle_801CDFD8(UNK_PARAMS); +/* 1CE054 */ UNK_RET grCastle_801CE054(UNK_PARAMS); +/* 1CE19C */ UNK_RET grCastle_801CE19C(UNK_PARAMS); +/* 1CE260 */ UNK_RET grCastle_801CE260(UNK_PARAMS); +/* 1CE3A0 */ UNK_RET fn_801CE3A0(UNK_PARAMS); +/* 1CE3A4 */ UNK_RET grCastle_801CE3A4(UNK_PARAMS); +/* 1CE3AC */ UNK_RET grCastle_801CE3AC(UNK_PARAMS); +/* 1CE578 */ UNK_RET grCastle_801CE578(UNK_PARAMS); +/* 1CE7E4 */ UNK_RET grCastle_801CE7E4(UNK_PARAMS); +/* 1CE7E8 */ UNK_RET grCastle_801CE7E8(UNK_PARAMS); +/* 1CE858 */ UNK_RET grCastle_801CE858(UNK_PARAMS); +/* 1CE860 */ UNK_RET grCastle_801CE860(UNK_PARAMS); +/* 1CE8E4 */ UNK_RET grCastle_801CE8E4(UNK_PARAMS); +/* 1CE8E8 */ UNK_RET grCastle_801CE8E8(UNK_PARAMS); +/* 1CE9DC */ UNK_RET fn_801CE9DC(UNK_PARAMS); +/* 1CE9E0 */ UNK_RET grCastle_801CE9E0(UNK_PARAMS); +/* 1CE9E8 */ UNK_RET grCastle_801CE9E8(UNK_PARAMS); +/* 1CEAC8 */ UNK_RET grCastle_801CEAC8(UNK_PARAMS); +/* 1CEACC */ UNK_RET grCastle_801CEACC(UNK_PARAMS); +/* 1CEEFC */ UNK_RET grCastle_801CEEFC(UNK_PARAMS); +/* 1CEF04 */ UNK_RET grCastle_801CEF04(UNK_PARAMS); +/* 1CF0F0 */ UNK_RET grCastle_801CF0F0(UNK_PARAMS); +/* 1CF0F4 */ UNK_RET grCastle_801CF0F4(UNK_PARAMS); +/* 1CF300 */ UNK_RET grCastle_801CF300(UNK_PARAMS); +/* 1CF308 */ UNK_RET grCastle_801CF308(UNK_PARAMS); +/* 1CF74C */ UNK_RET grCastle_801CF74C(UNK_PARAMS); +/* 1CF750 */ UNK_RET fn_801CF750(UNK_PARAMS); +/* 1CF7B0 */ UNK_RET grCastle_801CF7B0(UNK_PARAMS); +/* 1CF868 */ UNK_RET grCastle_801CF868(UNK_PARAMS); +/* 1CFAFC */ UNK_RET fn_801CFAFC(UNK_PARAMS); +/* 1CFB68 */ UNK_RET fn_801CFB68(UNK_PARAMS); +/* 1CFBD4 */ UNK_RET grCastle_801CFBD4(UNK_PARAMS); +/* 1D0298 */ UNK_RET grCastle_801D0298(UNK_PARAMS); +/* 1D02B8 */ UNK_RET grCastle_801D02B8(UNK_PARAMS); +/* 1D0520 */ UNK_RET fn_801D0520(UNK_PARAMS); +/* 1D0550 */ UNK_RET grCastle_801D0550(UNK_PARAMS); +/* 1D059C */ UNK_RET grCastle_801D059C(UNK_PARAMS); +/* 1D05E8 */ UNK_RET grCastle_801D05E8(UNK_PARAMS); +/* 1D0634 */ UNK_RET grCastle_801D0634(UNK_PARAMS); +/* 1D0680 */ UNK_RET grCastle_801D0680(UNK_PARAMS); +/* 1D06CC */ UNK_RET grCastle_801D06CC(UNK_PARAMS); +/* 1D0744 */ UNK_RET grCastle_801D0744(UNK_PARAMS); +/* 1D07BC */ UNK_RET grCastle_801D07BC(UNK_PARAMS); +/* 1D0834 */ UNK_RET grCastle_801D0834(UNK_PARAMS); +/* 1D08AC */ UNK_RET grCastle_801D08AC(UNK_PARAMS); +/* 1D0924 */ UNK_RET fn_801D0924(UNK_PARAMS); +/* 1D09B8 */ UNK_RET fn_801D09B8(UNK_PARAMS); +/* 1D0A9C */ UNK_RET grCastle_801D0A9C(UNK_PARAMS); +/* 1D0B04 */ UNK_RET grCastle_801D0B04(UNK_PARAMS); /* 1D0B0C */ bool grCastle_801D0B0C(Vec3* v, u32 arg1, HSD_JObj* jobj); +/* 1D0BBC */ UNK_RET grCastle_801D0BBC(UNK_PARAMS); +/* 1D0D24 */ UNK_RET grCastle_801D0D24(UNK_PARAMS); +/* 1D0D84 */ UNK_RET grCastle_801D0D84(UNK_PARAMS); +/* 1D0FF0 */ UNK_RET grCastle_801D0FF0(UNK_PARAMS); #endif diff --git a/src/melee/gr/grcorneria.c b/src/melee/gr/grcorneria.c index baf4310d84..a448924936 100644 --- a/src/melee/gr/grcorneria.c +++ b/src/melee/gr/grcorneria.c @@ -9,6 +9,142 @@ #include #include +/* 1DD654 */ static void grCorneria_801DD654(void); +/* 1DD658 */ static void grCorneria_801DD658(void); +/* 1DDAC0 */ static void grCorneria_801DDAC0(void); +/* 1DE4BC */ static void grCorneria_801DE4BC(void); +/* 1DE8E0 */ static void grCorneria_801DE8E0(void); +/* 1DF8CC */ static void grCorneria_801DF8CC(void); +/* 1DFBEC */ static void grCorneria_801DFBEC(void); +/* 1DFC24 */ static void grCorneria_801DFC24(void); +/* 1DFC28 */ static void grCorneria_801DFC28(void); +/* 1DFEB4 */ static void grCorneria_801DFEB4(void); +/* 1E013C */ static void grCorneria_801E013C(void); +/* 1E03C4 */ static void grCorneria_801E03C4(void); +/* 1E0DE0 */ static void grCorneria_801E0DE0(void); +/* 1E0E3C */ static void grCorneria_801E0E3C(void); +/* 1E0F30 */ static void grCorneria_801E0F30(void); +/* 1E1054 */ static void grCorneria_801E1054(void); +/* 1E12CC */ static void grCorneria_801E12CC(void); + +/// #grCorneria_801DCCFC + +/// #grCorneria_801DCE1C + +/// #grCorneria_801DD2C0 + +/// #grCorneria_801DD350 + +/// #grCorneria_801DD478 + +/// #grCorneria_801DD508 + +/// #grCorneria_801DD52C + +/// #grCorneria_801DD534 + +/// #grCorneria_801DD620 + +/// #grCorneria_801DD64C + +void grCorneria_801DD654(void) {} + +void grCorneria_801DD658(void) {} + +/// #fn_801DD65C + +/// #grCorneria_801DD674 + +/// #grCorneria_801DD9A0 + +/// #grCorneria_801DD9A8 + +void grCorneria_801DDAC0(void) {} + +/// #grCorneria_801DDAC4 + +/// #grCorneria_801DDCE8 + +/// #grCorneria_801DDCF0 + +/// #grCorneria_801DDD4C + +/// #grCorneria_801DDDA8 + +/// #grCorneria_801DDE88 + +/// #grCorneria_801DE024 + +void grCorneria_801DE4BC(void) {} + +/// #grCorneria_801DE4C0 + +/// #grCorneria_801DE560 + +/// #grCorneria_801DE568 + +void grCorneria_801DE8E0(void) {} + +/// #grCorneria_801DE8E4 + +/// #grCorneria_801DEC00 + +/// #grCorneria_801DEC08 + +/// #grCorneria_801DEC94 + +/// #grCorneria_801DED50 + +void grCorneria_801DF8CC(void) {} + +/// #grCorneria_801DF8D0 + +/// #grCorneria_801DFBC4 + +/// #grCorneria_801DFBCC + +void grCorneria_801DFBEC(void) {} + +/// #grCorneria_801DFBF0 + +/// #grCorneria_801DFC1C + +void grCorneria_801DFC24(void) {} + +void grCorneria_801DFC28(void) {} + +/// #grCorneria_801DFC2C + +/// #grCorneria_801DFC90 + +/// #grCorneria_801DFC98 + +void grCorneria_801DFEB4(void) {} + +/// #grCorneria_801DFEB8 + +/// #grCorneria_801DFF18 + +/// #grCorneria_801DFF20 + +void grCorneria_801E013C(void) {} + +/// #grCorneria_801E0140 + +/// #grCorneria_801E01A0 + +/// #grCorneria_801E01A8 + +void grCorneria_801E03C4(void) {} + +/// #grCorneria_801E03C8 + +/// #grCorneria_801E0678 + +/// #grCorneria_801E08CC + +/// #grCorneria_801E0A74 + static inline void clearX10_b2(HSD_GObj* gobj) { GET_GROUND(gobj)->x10_flags.b2 = false; @@ -28,6 +164,92 @@ void grCorneria_801E0C3C(HSD_GObj* gobj) gp->x11_flags.b012 = 2; } +/// #grCorneria_801E0D28 + +/// #grCorneria_801E0D30 + +void grCorneria_801E0DE0(void) {} + +/// #grCorneria_801E0DE4 + +/// #grCorneria_801E0E0C + +/// #grCorneria_801E0E14 + +void grCorneria_801E0E3C(void) {} + +/// #grCorneria_801E0E40 + +void grCorneria_801E0F30(void) {} + +/// #grCorneria_801E0F34 + +/// #grCorneria_801E0F64 + +/// #grCorneria_801E0F6C + +/// #grCorneria_801E1030 + +void grCorneria_801E1054(void) {} + +/// #grCorneria_801E1058 + +/// #grCorneria_801E1060 + +void grCorneria_801E12CC(void) {} + +void fn_801E12D0(void) {} + +/// #fn_801E12D4 + +/// #grCorneria_801E1348 + +/// #grCorneria_801E1878 + +/// #grCorneria_801E1970 + +/// #grCorneria_801E1BF0 + +/// #grCorneria_801E2110 + +/// #grCorneria_801E2228 + +/// #fn_801E2454 + +/// #fn_801E2480 + +/// #fn_801E24AC + +/// #grCorneria_801E2550 + +/// #grCorneria_801E2598 + +/// #grCorneria_801E25C4 + +/// #grCorneria_801E2738 + +/// #grCorneria_801E277C + +/// #grCorneria_801E2A6C + +/// #grCorneria_801E2AF4 + +/// #grCorneria_801E2B80 + +/// #grCorneria_801E2C34 + +/// #grCorneria_801E2CE8 + +/// #grCorneria_801E2D14 + +/// #grCorneria_801E2D90 + +/// #grCorneria_801E2E50 + +/// #grCorneria_801E2EA0 + +/// #grCorneria_801E2EE4 + bool grCorneria_801E2EEC(Vec3* v, u32 arg1, HSD_JObj* jobj) { Vec3 sp14; @@ -55,3 +277,5 @@ bool grCorneria_801E2EEC(Vec3* v, u32 arg1, HSD_JObj* jobj) } return 0; } + +/// #grCorneria_801E2FCC diff --git a/src/melee/gr/grfigureget.c b/src/melee/gr/grfigureget.c index 81ffea0159..b0d6e46819 100644 --- a/src/melee/gr/grfigureget.c +++ b/src/melee/gr/grfigureget.c @@ -23,12 +23,12 @@ /* 2196E0 */ static bool grFigureGet_802196E0(HSD_GObj*); /* 2196E8 */ static void grFigureGet_802196E8(HSD_GObj*); /* 2196EC */ static void grFigureGet_802196EC(HSD_GObj*); -/* 2196F0 */ /* static */ void grFigureGet_802196F0(HSD_GObj*); -/* 219890 */ /* static */ bool grFigureGet_80219890(HSD_GObj*); -/* 219898 */ /* static */ void grFigureGet_80219898(HSD_GObj*); -/* 219B0C */ /* static */ void grFigureGet_80219B0C(HSD_GObj*); -/* 219C88 */ /* static */ DynamicsDesc* grFigureGet_80219C88(enum_t); -/* 219C90 */ /* static */ int grFigureGet_80219C90(Vec3*, int, HSD_JObj*); +/* 2196F0 */ static void grFigureGet_802196F0(HSD_GObj*); +/* 219890 */ static bool grFigureGet_80219890(HSD_GObj*); +/* 219898 */ static void grFigureGet_80219898(HSD_GObj*); +/* 219B0C */ static void grFigureGet_80219B0C(HSD_GObj*); +/* 219C88 */ static DynamicsDesc* grFigureGet_80219C88(enum_t); +/* 219C90 */ static int grFigureGet_80219C90(Vec3*, int, HSD_JObj*); static StageCallbacks grFigureGet_803E7D00[2] = { { grFigureGet_802196B4, grFigureGet_802196E0, grFigureGet_802196E8, @@ -125,3 +125,21 @@ static bool grFigureGet_802196E0(HSD_GObj* gobj) static void grFigureGet_802196E8(HSD_GObj* gobj) {} static void grFigureGet_802196EC(HSD_GObj* gobj) {} + +/// #grFigureGet_802196F0 + +/// #grFigureGet_80219890 + +/// #grFigureGet_80219898 + +void grFigureGet_80219B0C(HSD_GObj* gobj) {} + +/// #fn_80219B10 + +/// #grFigureGet_80219C34 + +/// #grFigureGet_80219C50 + +/// #grFigureGet_80219C88 + +/// #grFigureGet_80219C90 diff --git a/src/melee/gr/grfigureget.h b/src/melee/gr/grfigureget.h index 5b7f200149..e6fab89ee2 100644 --- a/src/melee/gr/grfigureget.h +++ b/src/melee/gr/grfigureget.h @@ -5,7 +5,23 @@ #include -int grFigureGet_80219C50(s32); -UNK_T grFigureGet_80219C34(s32); +/* 219530 */ UNK_RET grFigureGet_80219530(UNK_PARAMS); +/* 219534 */ UNK_RET grFigureGet_80219534(UNK_PARAMS); +/* 21959C */ UNK_RET grFigureGet_8021959C(UNK_PARAMS); +/* 2195A0 */ UNK_RET grFigureGet_802195A0(UNK_PARAMS); +/* 2195C4 */ UNK_RET grFigureGet_802195C4(UNK_PARAMS); +/* 2195CC */ UNK_RET grFigureGet_802195CC(UNK_PARAMS); +/* 2196B4 */ UNK_RET grFigureGet_802196B4(UNK_PARAMS); +/* 2196E0 */ UNK_RET grFigureGet_802196E0(UNK_PARAMS); +/* 2196E8 */ UNK_RET grFigureGet_802196E8(UNK_PARAMS); +/* 2196EC */ UNK_RET grFigureGet_802196EC(UNK_PARAMS); +/* 2196F0 */ UNK_RET grFigureGet_802196F0(UNK_PARAMS); +/* 219890 */ UNK_RET grFigureGet_80219890(UNK_PARAMS); +/* 219898 */ UNK_RET grFigureGet_80219898(UNK_PARAMS); +/* 219B10 */ UNK_RET fn_80219B10(UNK_PARAMS); +/* 219C34 */ UNK_T grFigureGet_80219C34(s32); +/* 219C50 */ int grFigureGet_80219C50(s32); +/* 219C88 */ UNK_RET grFigureGet_80219C88(UNK_PARAMS); +/* 219C90 */ UNK_RET grFigureGet_80219C90(UNK_PARAMS); #endif diff --git a/src/melee/gr/grfourside.c b/src/melee/gr/grfourside.c index 8b13789179..8229a8a6af 100644 --- a/src/melee/gr/grfourside.c +++ b/src/melee/gr/grfourside.c @@ -1 +1,80 @@ +void grFourside_801F2D0C(void) {} + +/// #grFourside_801F2D10 + +void grFourside_801F2DA0(void) {} + +/// #grFourside_801F2DA4 + +/// #grFourside_801F2DC8 + +/// #grFourside_801F2DD0 + +/// #grFourside_801F2EBC + +/// #grFourside_801F2EE8 + +void grFourside_801F2EF0(void) {} + +void grFourside_801F2EF4(void) {} + +/// #grFourside_801F2EF8 + +/// #grFourside_801F2F24 + +void grFourside_801F2F2C(void) {} + +void grFourside_801F2F30(void) {} + +/// #grFourside_801F2F34 + +/// #grFourside_801F3070 + +/// #grFourside_801F3078 + +void grFourside_801F309C(void) {} + +/// #fn_801F30A0 + +/// #grFourside_801F30F0 + +/// #grFourside_801F3144 + +void grFourside_801F314C(void) {} + +void grFourside_801F3150(void) {} + +/// #grFourside_801F3154 + +/// #grFourside_801F326C + +/// #grFourside_801F3274 + +void grFourside_801F37F8(void) {} + +/// #grFourside_801F37FC + +/// #grFourside_801F388C + +/// #grFourside_801F3894 + +void grFourside_801F3B6C(void) {} + +/// #grFourside_801F3B70 + +/// #grFourside_801F3C40 + +/// #grFourside_801F3CC0 + +/// #grFourside_801F3CC8 + +void grFourside_801F3F0C(void) {} + +/// #grFourside_801F3F10 + +/// #fn_801F3F74 + +/// #grFourside_801F41E0 + +/// #grFourside_801F41E8 diff --git a/src/melee/gr/grfourside.h b/src/melee/gr/grfourside.h index 8b13789179..11640b63a0 100644 --- a/src/melee/gr/grfourside.h +++ b/src/melee/gr/grfourside.h @@ -1 +1,47 @@ +#ifndef GALE01_1F2D0C +#define GALE01_1F2D0C +#include + +/* 1F2D0C */ UNK_RET grFourside_801F2D0C(UNK_PARAMS); +/* 1F2D10 */ UNK_RET grFourside_801F2D10(UNK_PARAMS); +/* 1F2DA0 */ UNK_RET grFourside_801F2DA0(UNK_PARAMS); +/* 1F2DA4 */ UNK_RET grFourside_801F2DA4(UNK_PARAMS); +/* 1F2DC8 */ UNK_RET grFourside_801F2DC8(UNK_PARAMS); +/* 1F2DD0 */ UNK_RET grFourside_801F2DD0(UNK_PARAMS); +/* 1F2EBC */ UNK_RET grFourside_801F2EBC(UNK_PARAMS); +/* 1F2EE8 */ UNK_RET grFourside_801F2EE8(UNK_PARAMS); +/* 1F2EF0 */ UNK_RET grFourside_801F2EF0(UNK_PARAMS); +/* 1F2EF4 */ UNK_RET grFourside_801F2EF4(UNK_PARAMS); +/* 1F2EF8 */ UNK_RET grFourside_801F2EF8(UNK_PARAMS); +/* 1F2F24 */ UNK_RET grFourside_801F2F24(UNK_PARAMS); +/* 1F2F2C */ UNK_RET grFourside_801F2F2C(UNK_PARAMS); +/* 1F2F30 */ UNK_RET grFourside_801F2F30(UNK_PARAMS); +/* 1F2F34 */ UNK_RET grFourside_801F2F34(UNK_PARAMS); +/* 1F3070 */ UNK_RET grFourside_801F3070(UNK_PARAMS); +/* 1F3078 */ UNK_RET grFourside_801F3078(UNK_PARAMS); +/* 1F309C */ UNK_RET grFourside_801F309C(UNK_PARAMS); +/* 1F30A0 */ UNK_RET fn_801F30A0(UNK_PARAMS); +/* 1F30F0 */ UNK_RET grFourside_801F30F0(UNK_PARAMS); +/* 1F3144 */ UNK_RET grFourside_801F3144(UNK_PARAMS); +/* 1F314C */ UNK_RET grFourside_801F314C(UNK_PARAMS); +/* 1F3150 */ UNK_RET grFourside_801F3150(UNK_PARAMS); +/* 1F3154 */ UNK_RET grFourside_801F3154(UNK_PARAMS); +/* 1F326C */ UNK_RET grFourside_801F326C(UNK_PARAMS); +/* 1F3274 */ UNK_RET grFourside_801F3274(UNK_PARAMS); +/* 1F37F8 */ UNK_RET grFourside_801F37F8(UNK_PARAMS); +/* 1F37FC */ UNK_RET grFourside_801F37FC(UNK_PARAMS); +/* 1F388C */ UNK_RET grFourside_801F388C(UNK_PARAMS); +/* 1F3894 */ UNK_RET grFourside_801F3894(UNK_PARAMS); +/* 1F3B6C */ UNK_RET grFourside_801F3B6C(UNK_PARAMS); +/* 1F3B70 */ UNK_RET grFourside_801F3B70(UNK_PARAMS); +/* 1F3C40 */ UNK_RET grFourside_801F3C40(UNK_PARAMS); +/* 1F3CC0 */ UNK_RET grFourside_801F3CC0(UNK_PARAMS); +/* 1F3CC8 */ UNK_RET grFourside_801F3CC8(UNK_PARAMS); +/* 1F3F0C */ UNK_RET grFourside_801F3F0C(UNK_PARAMS); +/* 1F3F10 */ UNK_RET grFourside_801F3F10(UNK_PARAMS); +/* 1F3F74 */ UNK_RET fn_801F3F74(UNK_PARAMS); +/* 1F41E0 */ UNK_RET grFourside_801F41E0(UNK_PARAMS); +/* 1F41E8 */ UNK_RET grFourside_801F41E8(UNK_PARAMS); + +#endif diff --git a/src/melee/gr/grgarden.c b/src/melee/gr/grgarden.c index 8b13789179..c98baedc03 100644 --- a/src/melee/gr/grgarden.c +++ b/src/melee/gr/grgarden.c @@ -1 +1,82 @@ +void grGarden_80202B6C(void) {} + +/// #grGarden_80202B70 + +/// #grGarden_80202C24 + +/// #grGarden_80202C4C + +/// #grGarden_80202C70 + +/// #grGarden_80202C78 + +/// #grGarden_80202D60 + +/// #grGarden_80202D8C + +void grGarden_80202D94(void) {} + +void grGarden_80202D98(void) {} + +/// #fn_80202D9C + +/// #grGarden_80202DC8 + +/// #grGarden_80202E40 + +/// #grGarden_80202E48 + +void grGarden_80202E68(void) {} + +/// #grGarden_80202E6C + +/// #grGarden_80202F34 + +void grGarden_80202F3C(void) {} + +void grGarden_80202F40(void) {} + +/// #grGarden_80202F44 + +/// #grGarden_80202F94 + +void grGarden_80202F9C(void) {} + +void grGarden_80202FA0(void) {} + +/// #grGarden_80202FA4 + +/// #grGarden_80202FF4 + +void grGarden_80202FFC(void) {} + +void grGarden_80203000(void) {} + +/// #grGarden_80203004 + +/// #grGarden_80203090 + +/// #grGarden_80203098 + +void grGarden_802031A0(void) {} + +/// #grGarden_802031A4 + +/// #grGarden_80203248 + +/// #grGarden_80203250 + +void grGarden_80203494(void) {} + +void fn_80203498(void) {} + +/// #fn_8020349C + +/// #grGarden_80203560 + +/// #grGarden_802035C8 + +/// #grGarden_802035D0 + +/// #grGarden_80203624 diff --git a/src/melee/gr/grgarden.h b/src/melee/gr/grgarden.h index 8b13789179..9342142dab 100644 --- a/src/melee/gr/grgarden.h +++ b/src/melee/gr/grgarden.h @@ -1 +1,48 @@ +#ifndef GALE01_202B6C +#define GALE01_202B6C +#include + +/* 202B6C */ UNK_RET grGarden_80202B6C(UNK_PARAMS); +/* 202B70 */ UNK_RET grGarden_80202B70(UNK_PARAMS); +/* 202C24 */ UNK_RET grGarden_80202C24(UNK_PARAMS); +/* 202C4C */ UNK_RET grGarden_80202C4C(UNK_PARAMS); +/* 202C70 */ UNK_RET grGarden_80202C70(UNK_PARAMS); +/* 202C78 */ UNK_RET grGarden_80202C78(UNK_PARAMS); +/* 202D60 */ UNK_RET grGarden_80202D60(UNK_PARAMS); +/* 202D8C */ UNK_RET grGarden_80202D8C(UNK_PARAMS); +/* 202D94 */ UNK_RET grGarden_80202D94(UNK_PARAMS); +/* 202D98 */ UNK_RET grGarden_80202D98(UNK_PARAMS); +/* 202D9C */ UNK_RET fn_80202D9C(UNK_PARAMS); +/* 202DC8 */ UNK_RET grGarden_80202DC8(UNK_PARAMS); +/* 202E40 */ UNK_RET grGarden_80202E40(UNK_PARAMS); +/* 202E48 */ UNK_RET grGarden_80202E48(UNK_PARAMS); +/* 202E68 */ UNK_RET grGarden_80202E68(UNK_PARAMS); +/* 202E6C */ UNK_RET grGarden_80202E6C(UNK_PARAMS); +/* 202F34 */ UNK_RET grGarden_80202F34(UNK_PARAMS); +/* 202F3C */ UNK_RET grGarden_80202F3C(UNK_PARAMS); +/* 202F40 */ UNK_RET grGarden_80202F40(UNK_PARAMS); +/* 202F44 */ UNK_RET grGarden_80202F44(UNK_PARAMS); +/* 202F94 */ UNK_RET grGarden_80202F94(UNK_PARAMS); +/* 202F9C */ UNK_RET grGarden_80202F9C(UNK_PARAMS); +/* 202FA0 */ UNK_RET grGarden_80202FA0(UNK_PARAMS); +/* 202FA4 */ UNK_RET grGarden_80202FA4(UNK_PARAMS); +/* 202FF4 */ UNK_RET grGarden_80202FF4(UNK_PARAMS); +/* 202FFC */ UNK_RET grGarden_80202FFC(UNK_PARAMS); +/* 203000 */ UNK_RET grGarden_80203000(UNK_PARAMS); +/* 203004 */ UNK_RET grGarden_80203004(UNK_PARAMS); +/* 203090 */ UNK_RET grGarden_80203090(UNK_PARAMS); +/* 203098 */ UNK_RET grGarden_80203098(UNK_PARAMS); +/* 2031A0 */ UNK_RET grGarden_802031A0(UNK_PARAMS); +/* 2031A4 */ UNK_RET grGarden_802031A4(UNK_PARAMS); +/* 203248 */ UNK_RET grGarden_80203248(UNK_PARAMS); +/* 203250 */ UNK_RET grGarden_80203250(UNK_PARAMS); +/* 203494 */ UNK_RET grGarden_80203494(UNK_PARAMS); +/* 203498 */ UNK_RET fn_80203498(UNK_PARAMS); +/* 20349C */ UNK_RET fn_8020349C(UNK_PARAMS); +/* 203560 */ UNK_RET grGarden_80203560(UNK_PARAMS); +/* 2035C8 */ UNK_RET grGarden_802035C8(UNK_PARAMS); +/* 2035D0 */ UNK_RET grGarden_802035D0(UNK_PARAMS); +/* 203624 */ UNK_RET grGarden_80203624(UNK_PARAMS); + +#endif diff --git a/src/melee/gr/grgreatbay.c b/src/melee/gr/grgreatbay.c index 8b13789179..cbeab1b69f 100644 --- a/src/melee/gr/grgreatbay.c +++ b/src/melee/gr/grgreatbay.c @@ -1 +1,101 @@ +void grGreatBay_801F423C(void) {} +/// #grGreatBay_801F4240 + +void grGreatBay_801F42D0(void) {} + +/// #grGreatBay_801F42D4 + +/// #grGreatBay_801F42F8 + +/// #grGreatBay_801F4300 + +/// #grGreatBay_801F4404 + +/// #grGreatBay_801F4430 + +void grGreatBay_801F4438(void) {} + +void grGreatBay_801F443C(void) {} + +/// #grGreatBay_801F4440 + +/// #grGreatBay_801F44A0 + +void grGreatBay_801F44A8(void) {} + +void grGreatBay_801F44AC(void) {} + +/// #grGreatBay_801F44B0 + +/// #grGreatBay_801F4510 + +void grGreatBay_801F4518(void) {} + +void grGreatBay_801F451C(void) {} + +/// #fn_801F4520 + +/// #grGreatBay_801F454C + +/// #grGreatBay_801F4650 + +/// #grGreatBay_801F4658 + +void grGreatBay_801F4690(void) {} + +/// #grGreatBay_801F4694 + +/// #grGreatBay_801F4994 + +/// #grGreatBay_801F499C + +void grGreatBay_801F545C(void) {} + +/// #grGreatBay_801F5460 + +/// #grGreatBay_801F55F8 + +/// #grGreatBay_801F5600 + +/// #fn_801F5914 + +void grGreatBay_801F5988(void) {} + +/// #grGreatBay_801F598C + +/// #grGreatBay_801F59F0 + +void grGreatBay_801F59F8(void) {} + +void grGreatBay_801F59FC(void) {} + +/// #grGreatBay_801F5A00 + +/// #grGreatBay_801F5AF0 + +/// #grGreatBay_801F5AF8 + +void grGreatBay_801F5D48(void) {} + +/// #grGreatBay_801F5D4C + +/// #grGreatBay_801F5E28 + +/// #fn_801F60C4 + +/// #grGreatBay_801F62F8 + +/// #grGreatBay_801F63F4 + +/// #grGreatBay_801F660C + +/// #grGreatBay_801F66A4 + +/// #fn_801F6708 + +/// #grGreatBay_801F67A4 + +/// #grGreatBay_801F680C + +/// #grGreatBay_801F6814 diff --git a/src/melee/gr/grgreatbay.h b/src/melee/gr/grgreatbay.h index 6a0c35db67..2fffefc01e 100644 --- a/src/melee/gr/grgreatbay.h +++ b/src/melee/gr/grgreatbay.h @@ -3,6 +3,56 @@ #include +/* 1F423C */ UNK_RET grGreatBay_801F423C(UNK_PARAMS); +/* 1F4240 */ UNK_RET grGreatBay_801F4240(UNK_PARAMS); +/* 1F42D0 */ UNK_RET grGreatBay_801F42D0(UNK_PARAMS); +/* 1F42D4 */ UNK_RET grGreatBay_801F42D4(UNK_PARAMS); +/* 1F42F8 */ UNK_RET grGreatBay_801F42F8(UNK_PARAMS); +/* 1F4300 */ UNK_RET grGreatBay_801F4300(UNK_PARAMS); +/* 1F4404 */ UNK_RET grGreatBay_801F4404(UNK_PARAMS); +/* 1F4430 */ UNK_RET grGreatBay_801F4430(UNK_PARAMS); +/* 1F4438 */ UNK_RET grGreatBay_801F4438(UNK_PARAMS); +/* 1F443C */ UNK_RET grGreatBay_801F443C(UNK_PARAMS); +/* 1F4440 */ UNK_RET grGreatBay_801F4440(UNK_PARAMS); +/* 1F44A0 */ UNK_RET grGreatBay_801F44A0(UNK_PARAMS); +/* 1F44A8 */ UNK_RET grGreatBay_801F44A8(UNK_PARAMS); +/* 1F44AC */ UNK_RET grGreatBay_801F44AC(UNK_PARAMS); +/* 1F44B0 */ UNK_RET grGreatBay_801F44B0(UNK_PARAMS); +/* 1F4510 */ UNK_RET grGreatBay_801F4510(UNK_PARAMS); +/* 1F4518 */ UNK_RET grGreatBay_801F4518(UNK_PARAMS); +/* 1F451C */ UNK_RET grGreatBay_801F451C(UNK_PARAMS); +/* 1F4520 */ UNK_RET fn_801F4520(UNK_PARAMS); +/* 1F454C */ UNK_RET grGreatBay_801F454C(UNK_PARAMS); +/* 1F4650 */ UNK_RET grGreatBay_801F4650(UNK_PARAMS); +/* 1F4658 */ UNK_RET grGreatBay_801F4658(UNK_PARAMS); +/* 1F4690 */ UNK_RET grGreatBay_801F4690(UNK_PARAMS); +/* 1F4694 */ UNK_RET grGreatBay_801F4694(UNK_PARAMS); +/* 1F4994 */ UNK_RET grGreatBay_801F4994(UNK_PARAMS); +/* 1F499C */ UNK_RET grGreatBay_801F499C(UNK_PARAMS); +/* 1F545C */ UNK_RET grGreatBay_801F545C(UNK_PARAMS); +/* 1F5460 */ UNK_RET grGreatBay_801F5460(UNK_PARAMS); +/* 1F55F8 */ UNK_RET grGreatBay_801F55F8(UNK_PARAMS); +/* 1F5600 */ UNK_RET grGreatBay_801F5600(UNK_PARAMS); +/* 1F5914 */ UNK_RET fn_801F5914(UNK_PARAMS); +/* 1F5988 */ UNK_RET grGreatBay_801F5988(UNK_PARAMS); +/* 1F598C */ UNK_RET grGreatBay_801F598C(UNK_PARAMS); +/* 1F59F0 */ UNK_RET grGreatBay_801F59F0(UNK_PARAMS); +/* 1F59F8 */ UNK_RET grGreatBay_801F59F8(UNK_PARAMS); +/* 1F59FC */ UNK_RET grGreatBay_801F59FC(UNK_PARAMS); +/* 1F5A00 */ UNK_RET grGreatBay_801F5A00(UNK_PARAMS); +/* 1F5AF0 */ UNK_RET grGreatBay_801F5AF0(UNK_PARAMS); +/* 1F5AF8 */ UNK_RET grGreatBay_801F5AF8(UNK_PARAMS); +/* 1F5D48 */ UNK_RET grGreatBay_801F5D48(UNK_PARAMS); +/* 1F5D4C */ UNK_RET grGreatBay_801F5D4C(UNK_PARAMS); +/* 1F5E28 */ UNK_RET grGreatBay_801F5E28(UNK_PARAMS); +/* 1F60C4 */ UNK_RET fn_801F60C4(UNK_PARAMS); +/* 1F62F8 */ UNK_RET grGreatBay_801F62F8(UNK_PARAMS); +/* 1F63F4 */ UNK_RET grGreatBay_801F63F4(UNK_PARAMS); +/* 1F660C */ UNK_RET grGreatBay_801F660C(UNK_PARAMS); /* 1F66A4 */ UNK_RET grGreatBay_801F66A4(UNK_PARAMS); +/* 1F6708 */ UNK_RET fn_801F6708(UNK_PARAMS); +/* 1F67A4 */ UNK_RET grGreatBay_801F67A4(UNK_PARAMS); +/* 1F680C */ UNK_RET grGreatBay_801F680C(UNK_PARAMS); +/* 1F6814 */ UNK_RET grGreatBay_801F6814(UNK_PARAMS); #endif diff --git a/src/melee/gr/grgreens.c b/src/melee/gr/grgreens.c index 8b13789179..16f4b63ac4 100644 --- a/src/melee/gr/grgreens.c +++ b/src/melee/gr/grgreens.c @@ -1 +1,105 @@ +/// #grGreens_80213458 +/// #grGreens_80213464 + +void grGreens_802134F4(void) {} + +/// #grGreens_802134F8 + +/// #grGreens_8021351C + +/// #grGreens_80213524 + +/// #grGreens_8021360C + +/// #grGreens_802138AC + +void grGreens_802138B4(void) {} + +void grGreens_802138B8(void) {} + +/// #grGreens_802138BC + +/// #grGreens_80213900 + +void grGreens_80213908(void) {} + +void grGreens_8021390C(void) {} + +/// #grGreens_80213910 + +/// #grGreens_8021393C + +void grGreens_80213944(void) {} + +void grGreens_80213948(void) {} + +/// #grGreens_8021394C + +/// #grGreens_80213978 + +void grGreens_80213980(void) {} + +void grGreens_80213984(void) {} + +/// #grGreens_80213988 + +/// #grGreens_802139B4 + +void grGreens_802139BC(void) {} + +void grGreens_802139C0(void) {} + +/// #grGreens_802139C4 + +/// #grGreens_80213AAC + +/// #grGreens_80213AB4 + +/// #fn_80213B1C + +/// #grGreens_80213C10 + +void grGreens_80214654(void) {} + +/// #fn_80214658 + +/// #grGreens_80214674 + +/// #grGreens_80214794 + +/// #grGreens_8021479C + +/// #grGreens_80214804 + +/// #grGreens_8021483C + +/// #grGreens_80214B58 + +/// #grGreens_80214FA8 + +/// #grGreens_802150C4 + +/// #grGreens_80215358 + +void fn_802159B4(void) {} + +/// #grGreens_802159B8 + +/// #fn_80215B84 + +void fn_80215D50(void) {} + +/// #grGreens_80215D54 + +/// #grGreens_80215ED8 + +/// #grGreens_802166C4 + +/// #grGreens_80216C20 + +/// #fn_80216DE4 + +/// #grGreens_80216E64 + +/// #grGreens_80216E6C diff --git a/src/melee/gr/grgreens.h b/src/melee/gr/grgreens.h index 8b13789179..f704fe03fb 100644 --- a/src/melee/gr/grgreens.h +++ b/src/melee/gr/grgreens.h @@ -1 +1,60 @@ +#ifndef GALE01_213458 +#define GALE01_213458 +#include + +/* 213458 */ UNK_RET grGreens_80213458(UNK_PARAMS); +/* 213464 */ UNK_RET grGreens_80213464(UNK_PARAMS); +/* 2134F4 */ UNK_RET grGreens_802134F4(UNK_PARAMS); +/* 2134F8 */ UNK_RET grGreens_802134F8(UNK_PARAMS); +/* 21351C */ UNK_RET grGreens_8021351C(UNK_PARAMS); +/* 213524 */ UNK_RET grGreens_80213524(UNK_PARAMS); +/* 21360C */ UNK_RET grGreens_8021360C(UNK_PARAMS); +/* 2138AC */ UNK_RET grGreens_802138AC(UNK_PARAMS); +/* 2138B4 */ UNK_RET grGreens_802138B4(UNK_PARAMS); +/* 2138B8 */ UNK_RET grGreens_802138B8(UNK_PARAMS); +/* 2138BC */ UNK_RET grGreens_802138BC(UNK_PARAMS); +/* 213900 */ UNK_RET grGreens_80213900(UNK_PARAMS); +/* 213908 */ UNK_RET grGreens_80213908(UNK_PARAMS); +/* 21390C */ UNK_RET grGreens_8021390C(UNK_PARAMS); +/* 213910 */ UNK_RET grGreens_80213910(UNK_PARAMS); +/* 21393C */ UNK_RET grGreens_8021393C(UNK_PARAMS); +/* 213944 */ UNK_RET grGreens_80213944(UNK_PARAMS); +/* 213948 */ UNK_RET grGreens_80213948(UNK_PARAMS); +/* 21394C */ UNK_RET grGreens_8021394C(UNK_PARAMS); +/* 213978 */ UNK_RET grGreens_80213978(UNK_PARAMS); +/* 213980 */ UNK_RET grGreens_80213980(UNK_PARAMS); +/* 213984 */ UNK_RET grGreens_80213984(UNK_PARAMS); +/* 213988 */ UNK_RET grGreens_80213988(UNK_PARAMS); +/* 2139B4 */ UNK_RET grGreens_802139B4(UNK_PARAMS); +/* 2139BC */ UNK_RET grGreens_802139BC(UNK_PARAMS); +/* 2139C0 */ UNK_RET grGreens_802139C0(UNK_PARAMS); +/* 2139C4 */ UNK_RET grGreens_802139C4(UNK_PARAMS); +/* 213AAC */ UNK_RET grGreens_80213AAC(UNK_PARAMS); +/* 213AB4 */ UNK_RET grGreens_80213AB4(UNK_PARAMS); +/* 213B1C */ UNK_RET fn_80213B1C(UNK_PARAMS); +/* 213C10 */ UNK_RET grGreens_80213C10(UNK_PARAMS); +/* 214654 */ UNK_RET grGreens_80214654(UNK_PARAMS); +/* 214658 */ UNK_RET fn_80214658(UNK_PARAMS); +/* 214674 */ UNK_RET grGreens_80214674(UNK_PARAMS); +/* 214794 */ UNK_RET grGreens_80214794(UNK_PARAMS); +/* 21479C */ UNK_RET grGreens_8021479C(UNK_PARAMS); +/* 214804 */ UNK_RET grGreens_80214804(UNK_PARAMS); +/* 21483C */ UNK_RET grGreens_8021483C(UNK_PARAMS); +/* 214B58 */ UNK_RET grGreens_80214B58(UNK_PARAMS); +/* 214FA8 */ UNK_RET grGreens_80214FA8(UNK_PARAMS); +/* 2150C4 */ UNK_RET grGreens_802150C4(UNK_PARAMS); +/* 215358 */ UNK_RET grGreens_80215358(UNK_PARAMS); +/* 2159B4 */ UNK_RET fn_802159B4(UNK_PARAMS); +/* 2159B8 */ UNK_RET grGreens_802159B8(UNK_PARAMS); +/* 215B84 */ UNK_RET fn_80215B84(UNK_PARAMS); +/* 215D50 */ UNK_RET fn_80215D50(UNK_PARAMS); +/* 215D54 */ UNK_RET grGreens_80215D54(UNK_PARAMS); +/* 215ED8 */ UNK_RET grGreens_80215ED8(UNK_PARAMS); +/* 2166C4 */ UNK_RET grGreens_802166C4(UNK_PARAMS); +/* 216C20 */ UNK_RET grGreens_80216C20(UNK_PARAMS); +/* 216DE4 */ UNK_RET fn_80216DE4(UNK_PARAMS); +/* 216E64 */ UNK_RET grGreens_80216E64(UNK_PARAMS); +/* 216E6C */ UNK_RET grGreens_80216E6C(UNK_PARAMS); + +#endif diff --git a/src/melee/gr/grheal.c b/src/melee/gr/grheal.c index 8b13789179..3d7c03c77b 100644 --- a/src/melee/gr/grheal.c +++ b/src/melee/gr/grheal.c @@ -1 +1,67 @@ +void grHeal_8021EF38(void) {} +/// #grHeal_8021EF3C + +void grHeal_8021EFBC(void) {} + +/// #grHeal_8021EFC0 + +/// #grHeal_8021EFE4 + +/// #grHeal_8021EFEC + +/// #grHeal_8021F0D8 + +/// #grHeal_8021F170 + +void grHeal_8021F178(void) {} + +void grHeal_8021F17C(void) {} + +/// #grHeal_8021F180 + +/// #grHeal_8021F41C + +/// #fn_8021F424 + +/// #grHeal_8021F474 + +void grHeal_8021F4BC(void) {} + +/// #fn_8021F4C0 + +/// #grHeal_8021F4E8 + +void grHeal_8021F5C8(void) {} + +/// #grHeal_8021F5CC + +void grHeal_8021F5D4(void) {} + +void grHeal_8021F5D8(void) {} + +/// #grHeal_8021F5DC + +/// #grHeal_8021F618 + +void grHeal_8021F620(void) {} + +void grHeal_8021F624(void) {} + +/// #grHeal_8021F628 + +void grHeal_8021F6F8(void) {} + +/// #grHeal_8021F6FC + +void grHeal_8021F704(void) {} + +void grHeal_8021F708(void) {} + +/// #grHeal_8021F70C + +/// #grHeal_8021F79C + +/// #grHeal_8021F830 + +/// #grHeal_8021F838 diff --git a/src/melee/gr/grheal.h b/src/melee/gr/grheal.h index 8b13789179..62cebe8e09 100644 --- a/src/melee/gr/grheal.h +++ b/src/melee/gr/grheal.h @@ -1 +1,41 @@ +#ifndef GALE01_21EF38 +#define GALE01_21EF38 +#include + +/* 21EF38 */ UNK_RET grHeal_8021EF38(UNK_PARAMS); +/* 21EF3C */ UNK_RET grHeal_8021EF3C(UNK_PARAMS); +/* 21EFBC */ UNK_RET grHeal_8021EFBC(UNK_PARAMS); +/* 21EFC0 */ UNK_RET grHeal_8021EFC0(UNK_PARAMS); +/* 21EFE4 */ UNK_RET grHeal_8021EFE4(UNK_PARAMS); +/* 21EFEC */ UNK_RET grHeal_8021EFEC(UNK_PARAMS); +/* 21F0D8 */ UNK_RET grHeal_8021F0D8(UNK_PARAMS); +/* 21F170 */ UNK_RET grHeal_8021F170(UNK_PARAMS); +/* 21F178 */ UNK_RET grHeal_8021F178(UNK_PARAMS); +/* 21F17C */ UNK_RET grHeal_8021F17C(UNK_PARAMS); +/* 21F180 */ UNK_RET grHeal_8021F180(UNK_PARAMS); +/* 21F41C */ UNK_RET grHeal_8021F41C(UNK_PARAMS); +/* 21F424 */ UNK_RET fn_8021F424(UNK_PARAMS); +/* 21F474 */ UNK_RET grHeal_8021F474(UNK_PARAMS); +/* 21F4BC */ UNK_RET grHeal_8021F4BC(UNK_PARAMS); +/* 21F4C0 */ UNK_RET fn_8021F4C0(UNK_PARAMS); +/* 21F4E8 */ UNK_RET grHeal_8021F4E8(UNK_PARAMS); +/* 21F5C8 */ UNK_RET grHeal_8021F5C8(UNK_PARAMS); +/* 21F5CC */ UNK_RET grHeal_8021F5CC(UNK_PARAMS); +/* 21F5D4 */ UNK_RET grHeal_8021F5D4(UNK_PARAMS); +/* 21F5D8 */ UNK_RET grHeal_8021F5D8(UNK_PARAMS); +/* 21F5DC */ UNK_RET grHeal_8021F5DC(UNK_PARAMS); +/* 21F618 */ UNK_RET grHeal_8021F618(UNK_PARAMS); +/* 21F620 */ UNK_RET grHeal_8021F620(UNK_PARAMS); +/* 21F624 */ UNK_RET grHeal_8021F624(UNK_PARAMS); +/* 21F628 */ UNK_RET grHeal_8021F628(UNK_PARAMS); +/* 21F6F8 */ UNK_RET grHeal_8021F6F8(UNK_PARAMS); +/* 21F6FC */ UNK_RET grHeal_8021F6FC(UNK_PARAMS); +/* 21F704 */ UNK_RET grHeal_8021F704(UNK_PARAMS); +/* 21F708 */ UNK_RET grHeal_8021F708(UNK_PARAMS); +/* 21F70C */ UNK_RET grHeal_8021F70C(UNK_PARAMS); +/* 21F79C */ UNK_RET grHeal_8021F79C(UNK_PARAMS); +/* 21F830 */ UNK_RET grHeal_8021F830(UNK_PARAMS); +/* 21F838 */ UNK_RET grHeal_8021F838(UNK_PARAMS); + +#endif diff --git a/src/melee/gr/grhomerun.c b/src/melee/gr/grhomerun.c index 8b13789179..6deb5582a5 100644 --- a/src/melee/gr/grhomerun.c +++ b/src/melee/gr/grhomerun.c @@ -1 +1,121 @@ +void grHomeRun_8021C750(void) {} +/// #grHomeRun_8021C754 + +void grHomeRun_8021C7FC(void) {} + +/// #grHomeRun_8021C800 + +/// #grHomeRun_8021C824 + +/// #grHomeRun_8021C82C + +/// #grHomeRun_8021C914 + +/// #grHomeRun_8021CB10 + +void grHomeRun_8021CB18(void) {} + +void grHomeRun_8021CB1C(void) {} + +/// #grHomeRun_8021CB20 + +/// #grHomeRun_8021D678 + +/// #grHomeRun_8021D680 + +void grHomeRun_8021DEB0(void) {} + +/// #grHomeRun_8021DEB4 + +/// #grHomeRun_8021DEE0 + +void grHomeRun_8021DEE8(void) {} + +void grHomeRun_8021DEEC(void) {} + +/// #grHomeRun_8021DEF0 + +/// #grHomeRun_8021DF48 + +/// #grHomeRun_8021DF50 + +/// #grHomeRun_8021E008 + +/// #grHomeRun_8021E038 + +/// #grHomeRun_8021E064 + +void grHomeRun_8021E06C(void) {} + +void grHomeRun_8021E070(void) {} + +/// #grHomeRun_8021E074 + +/// #grHomeRun_8021E0CC + +/// #grHomeRun_8021E0D4 + +/// #grHomeRun_8021E18C + +/// #grHomeRun_8021E1BC + +/// #grHomeRun_8021E1E8 + +void grHomeRun_8021E1F0(void) {} + +void grHomeRun_8021E1F4(void) {} + +/// #grHomeRun_8021E1F8 + +/// #grHomeRun_8021E250 + +/// #grHomeRun_8021E258 + +/// #grHomeRun_8021E310 + +/// #grHomeRun_8021E340 + +/// #grHomeRun_8021E36C + +void grHomeRun_8021E374(void) {} + +void grHomeRun_8021E378(void) {} + +/// #grHomeRun_8021E37C + +/// #grHomeRun_8021E3D4 + +/// #grHomeRun_8021E3DC + +/// #grHomeRun_8021E494 + +/// #grHomeRun_8021E4C4 + +/// #grHomeRun_8021E4F0 + +void grHomeRun_8021E4F8(void) {} + +void grHomeRun_8021E4FC(void) {} + +/// #grHomeRun_8021E500 + +/// #fn_8021E994 + +/// #grHomeRun_8021EA30 + +/// #grHomeRun_8021EAF8 + +/// #fn_8021EB10 + +/// #grHomeRun_8021EC58 + +/// #grHomeRun_8021ED74 + +/// #grHomeRun_8021EDD4 + +/// #grHomeRun_8021EEB4 + +/// #grHomeRun_8021EEBC + +/// #grHomeRun_8021EF10 diff --git a/src/melee/gr/grhomerun.h b/src/melee/gr/grhomerun.h index 8b13789179..cec64f4670 100644 --- a/src/melee/gr/grhomerun.h +++ b/src/melee/gr/grhomerun.h @@ -1 +1,68 @@ +#ifndef GALE01_21C750 +#define GALE01_21C750 +#include + +/* 21C750 */ UNK_RET grHomeRun_8021C750(UNK_PARAMS); +/* 21C754 */ UNK_RET grHomeRun_8021C754(UNK_PARAMS); +/* 21C7FC */ UNK_RET grHomeRun_8021C7FC(UNK_PARAMS); +/* 21C800 */ UNK_RET grHomeRun_8021C800(UNK_PARAMS); +/* 21C824 */ UNK_RET grHomeRun_8021C824(UNK_PARAMS); +/* 21C82C */ UNK_RET grHomeRun_8021C82C(UNK_PARAMS); +/* 21C914 */ UNK_RET grHomeRun_8021C914(UNK_PARAMS); +/* 21CB10 */ UNK_RET grHomeRun_8021CB10(UNK_PARAMS); +/* 21CB18 */ UNK_RET grHomeRun_8021CB18(UNK_PARAMS); +/* 21CB1C */ UNK_RET grHomeRun_8021CB1C(UNK_PARAMS); +/* 21CB20 */ UNK_RET grHomeRun_8021CB20(UNK_PARAMS); +/* 21D678 */ UNK_RET grHomeRun_8021D678(UNK_PARAMS); +/* 21D680 */ UNK_RET grHomeRun_8021D680(UNK_PARAMS); +/* 21DEB0 */ UNK_RET grHomeRun_8021DEB0(UNK_PARAMS); +/* 21DEB4 */ UNK_RET grHomeRun_8021DEB4(UNK_PARAMS); +/* 21DEE0 */ UNK_RET grHomeRun_8021DEE0(UNK_PARAMS); +/* 21DEE8 */ UNK_RET grHomeRun_8021DEE8(UNK_PARAMS); +/* 21DEEC */ UNK_RET grHomeRun_8021DEEC(UNK_PARAMS); +/* 21DEF0 */ UNK_RET grHomeRun_8021DEF0(UNK_PARAMS); +/* 21DF48 */ UNK_RET grHomeRun_8021DF48(UNK_PARAMS); +/* 21DF50 */ UNK_RET grHomeRun_8021DF50(UNK_PARAMS); +/* 21E008 */ UNK_RET grHomeRun_8021E008(UNK_PARAMS); +/* 21E038 */ UNK_RET grHomeRun_8021E038(UNK_PARAMS); +/* 21E064 */ UNK_RET grHomeRun_8021E064(UNK_PARAMS); +/* 21E06C */ UNK_RET grHomeRun_8021E06C(UNK_PARAMS); +/* 21E070 */ UNK_RET grHomeRun_8021E070(UNK_PARAMS); +/* 21E074 */ UNK_RET grHomeRun_8021E074(UNK_PARAMS); +/* 21E0CC */ UNK_RET grHomeRun_8021E0CC(UNK_PARAMS); +/* 21E0D4 */ UNK_RET grHomeRun_8021E0D4(UNK_PARAMS); +/* 21E18C */ UNK_RET grHomeRun_8021E18C(UNK_PARAMS); +/* 21E1BC */ UNK_RET grHomeRun_8021E1BC(UNK_PARAMS); +/* 21E1E8 */ UNK_RET grHomeRun_8021E1E8(UNK_PARAMS); +/* 21E1F0 */ UNK_RET grHomeRun_8021E1F0(UNK_PARAMS); +/* 21E1F4 */ UNK_RET grHomeRun_8021E1F4(UNK_PARAMS); +/* 21E1F8 */ UNK_RET grHomeRun_8021E1F8(UNK_PARAMS); +/* 21E250 */ UNK_RET grHomeRun_8021E250(UNK_PARAMS); +/* 21E258 */ UNK_RET grHomeRun_8021E258(UNK_PARAMS); +/* 21E310 */ UNK_RET grHomeRun_8021E310(UNK_PARAMS); +/* 21E340 */ UNK_RET grHomeRun_8021E340(UNK_PARAMS); +/* 21E36C */ UNK_RET grHomeRun_8021E36C(UNK_PARAMS); +/* 21E374 */ UNK_RET grHomeRun_8021E374(UNK_PARAMS); +/* 21E378 */ UNK_RET grHomeRun_8021E378(UNK_PARAMS); +/* 21E37C */ UNK_RET grHomeRun_8021E37C(UNK_PARAMS); +/* 21E3D4 */ UNK_RET grHomeRun_8021E3D4(UNK_PARAMS); +/* 21E3DC */ UNK_RET grHomeRun_8021E3DC(UNK_PARAMS); +/* 21E494 */ UNK_RET grHomeRun_8021E494(UNK_PARAMS); +/* 21E4C4 */ UNK_RET grHomeRun_8021E4C4(UNK_PARAMS); +/* 21E4F0 */ UNK_RET grHomeRun_8021E4F0(UNK_PARAMS); +/* 21E4F8 */ UNK_RET grHomeRun_8021E4F8(UNK_PARAMS); +/* 21E4FC */ UNK_RET grHomeRun_8021E4FC(UNK_PARAMS); +/* 21E500 */ UNK_RET grHomeRun_8021E500(UNK_PARAMS); +/* 21E994 */ UNK_RET fn_8021E994(UNK_PARAMS); +/* 21EA30 */ UNK_RET grHomeRun_8021EA30(UNK_PARAMS); +/* 21EAF8 */ UNK_RET grHomeRun_8021EAF8(UNK_PARAMS); +/* 21EB10 */ UNK_RET fn_8021EB10(UNK_PARAMS); +/* 21EC58 */ UNK_RET grHomeRun_8021EC58(UNK_PARAMS); +/* 21ED74 */ UNK_RET grHomeRun_8021ED74(UNK_PARAMS); +/* 21EDD4 */ UNK_RET grHomeRun_8021EDD4(UNK_PARAMS); +/* 21EEB4 */ UNK_RET grHomeRun_8021EEB4(UNK_PARAMS); +/* 21EEBC */ UNK_RET grHomeRun_8021EEBC(UNK_PARAMS); +/* 21EF10 */ UNK_RET grHomeRun_8021EF10(UNK_PARAMS); + +#endif diff --git a/src/melee/gr/gricemt.c b/src/melee/gr/gricemt.c index 8b13789179..fd0ddf9b0e 100644 --- a/src/melee/gr/gricemt.c +++ b/src/melee/gr/gricemt.c @@ -1 +1,149 @@ +void grIceMt_801F6868(void) {} +/// #grIceMt_801F686C + +/// #grIceMt_801F7080 + +void grIceMt_801F71DC(void) {} + +/// #grIceMt_801F71E0 + +/// #grIceMt_801F71E8 + +/// #grIceMt_801F72D4 + +/// #grIceMt_801F75DC + +void grIceMt_801F75E4(void) {} + +void grIceMt_801F75E8(void) {} + +/// #fn_801F75EC + +/// #grIceMt_801F75FC + +/// #grIceMt_801F7720 + +/// #grIceMt_801F7728 + +void grIceMt_801F77AC(void) {} + +/// #fn_801F77B0 + +/// #grIceMt_801F785C + +/// #grIceMt_801F796C + +/// #grIceMt_801F7A2C + +void grIceMt_801F7D90(void) {} + +/// #grIceMt_801F7D94 + +/// #grIceMt_801F7EE0 + +/// #grIceMt_801F7EE8 + +/// #grIceMt_801F7F1C + +/// #grIceMt_801F7F70 + +/// #grIceMt_801F8154 + +/// #grIceMt_801F815C + +/// #grIceMt_801F81B4 + +/// #grIceMt_801F8208 + +/// #grIceMt_801F835C + +/// #grIceMt_801F8364 + +/// #grIceMt_801F8398 + +/// #grIceMt_801F83EC + +/// #grIceMt_801F85BC + +/// #grIceMt_801F85C4 + +/// #grIceMt_801F8608 + +/// #grIceMt_801F865C + +/// #grIceMt_801F87C0 + +/// #grIceMt_801F87C8 + +/// #grIceMt_801F87FC + +/// #grIceMt_801F8850 + +/// #grIceMt_801F89A4 + +/// #grIceMt_801F89AC + +/// #grIceMt_801F89E0 + +/// #grIceMt_801F8A34 + +/// #grIceMt_801F8B08 + +/// #grIceMt_801F8B10 + +void grIceMt_801F8C60(void) {} + +/// #fn_801F8C64 + +/// #grIceMt_801F8CDC + +/// #fn_801F8E58 + +/// #fn_801F9038 + +/// #fn_801F9150 + +void fn_801F91A4(void) {} + +/// #fn_801F91A8 + +/// #grIceMt_801F91EC + +/// #grIceMt_801F929C + +/// #fn_801F9338 + +/// #fn_801F9448 + +/// #fn_801F9558 + +/// #grIceMt_801F9668 + +/// #grIceMt_801F96E0 + +/// #grIceMt_801F98A8 + +/// #grIceMt_801F993C + +/// #grIceMt_801F9ACC + +/// #grIceMt_801FA0BC + +/// #grIceMt_801FA364 + +/// #fn_801FA4CC + +/// #grIceMt_801FA500 + +/// #grIceMt_801FA6D8 + +/// #grIceMt_801FA728 + +/// #grIceMt_801FA7F0 + +/// #grIceMt_801FA854 + +/// #grIceMt_801FA8F8 + +/// #grIceMt_801FA900 diff --git a/src/melee/gr/gricemt.h b/src/melee/gr/gricemt.h index 3ebde0082e..d8d71ddc78 100644 --- a/src/melee/gr/gricemt.h +++ b/src/melee/gr/gricemt.h @@ -1,8 +1,83 @@ #ifndef GALE01_1F6868 #define GALE01_1F6868 +#include #include +/* 1F6868 */ UNK_RET grIceMt_801F6868(UNK_PARAMS); +/* 1F686C */ UNK_RET grIceMt_801F686C(UNK_PARAMS); +/* 1F7080 */ UNK_RET grIceMt_801F7080(UNK_PARAMS); +/* 1F71DC */ UNK_RET grIceMt_801F71DC(UNK_PARAMS); +/* 1F71E0 */ UNK_RET grIceMt_801F71E0(UNK_PARAMS); +/* 1F71E8 */ UNK_RET grIceMt_801F71E8(UNK_PARAMS); +/* 1F72D4 */ UNK_RET grIceMt_801F72D4(UNK_PARAMS); +/* 1F75DC */ UNK_RET grIceMt_801F75DC(UNK_PARAMS); +/* 1F75E4 */ UNK_RET grIceMt_801F75E4(UNK_PARAMS); +/* 1F75E8 */ UNK_RET grIceMt_801F75E8(UNK_PARAMS); +/* 1F75EC */ UNK_RET fn_801F75EC(UNK_PARAMS); +/* 1F75FC */ UNK_RET grIceMt_801F75FC(UNK_PARAMS); +/* 1F7720 */ UNK_RET grIceMt_801F7720(UNK_PARAMS); +/* 1F7728 */ UNK_RET grIceMt_801F7728(UNK_PARAMS); +/* 1F77AC */ UNK_RET grIceMt_801F77AC(UNK_PARAMS); +/* 1F77B0 */ UNK_RET fn_801F77B0(UNK_PARAMS); +/* 1F785C */ UNK_RET grIceMt_801F785C(UNK_PARAMS); +/* 1F796C */ UNK_RET grIceMt_801F796C(UNK_PARAMS); +/* 1F7A2C */ UNK_RET grIceMt_801F7A2C(UNK_PARAMS); +/* 1F7D90 */ UNK_RET grIceMt_801F7D90(UNK_PARAMS); +/* 1F7D94 */ UNK_RET grIceMt_801F7D94(UNK_PARAMS); +/* 1F7EE0 */ UNK_RET grIceMt_801F7EE0(UNK_PARAMS); +/* 1F7EE8 */ UNK_RET grIceMt_801F7EE8(UNK_PARAMS); +/* 1F7F1C */ UNK_RET grIceMt_801F7F1C(UNK_PARAMS); +/* 1F7F70 */ UNK_RET grIceMt_801F7F70(UNK_PARAMS); +/* 1F8154 */ UNK_RET grIceMt_801F8154(UNK_PARAMS); +/* 1F815C */ UNK_RET grIceMt_801F815C(UNK_PARAMS); +/* 1F81B4 */ UNK_RET grIceMt_801F81B4(UNK_PARAMS); +/* 1F8208 */ UNK_RET grIceMt_801F8208(UNK_PARAMS); +/* 1F835C */ UNK_RET grIceMt_801F835C(UNK_PARAMS); +/* 1F8364 */ UNK_RET grIceMt_801F8364(UNK_PARAMS); +/* 1F8398 */ UNK_RET grIceMt_801F8398(UNK_PARAMS); +/* 1F83EC */ UNK_RET grIceMt_801F83EC(UNK_PARAMS); +/* 1F85BC */ UNK_RET grIceMt_801F85BC(UNK_PARAMS); +/* 1F85C4 */ UNK_RET grIceMt_801F85C4(UNK_PARAMS); +/* 1F8608 */ UNK_RET grIceMt_801F8608(UNK_PARAMS); +/* 1F865C */ UNK_RET grIceMt_801F865C(UNK_PARAMS); +/* 1F87C0 */ UNK_RET grIceMt_801F87C0(UNK_PARAMS); +/* 1F87C8 */ UNK_RET grIceMt_801F87C8(UNK_PARAMS); +/* 1F87FC */ UNK_RET grIceMt_801F87FC(UNK_PARAMS); +/* 1F8850 */ UNK_RET grIceMt_801F8850(UNK_PARAMS); +/* 1F89A4 */ UNK_RET grIceMt_801F89A4(UNK_PARAMS); +/* 1F89AC */ UNK_RET grIceMt_801F89AC(UNK_PARAMS); +/* 1F89E0 */ UNK_RET grIceMt_801F89E0(UNK_PARAMS); +/* 1F8A34 */ UNK_RET grIceMt_801F8A34(UNK_PARAMS); +/* 1F8B08 */ UNK_RET grIceMt_801F8B08(UNK_PARAMS); +/* 1F8B10 */ UNK_RET grIceMt_801F8B10(UNK_PARAMS); +/* 1F8C60 */ UNK_RET grIceMt_801F8C60(UNK_PARAMS); +/* 1F8C64 */ UNK_RET fn_801F8C64(UNK_PARAMS); +/* 1F8CDC */ UNK_RET grIceMt_801F8CDC(UNK_PARAMS); +/* 1F8E58 */ UNK_RET fn_801F8E58(UNK_PARAMS); +/* 1F9038 */ UNK_RET fn_801F9038(UNK_PARAMS); +/* 1F9150 */ UNK_RET fn_801F9150(UNK_PARAMS); +/* 1F91A4 */ UNK_RET fn_801F91A4(UNK_PARAMS); +/* 1F91A8 */ UNK_RET fn_801F91A8(UNK_PARAMS); +/* 1F91EC */ UNK_RET grIceMt_801F91EC(UNK_PARAMS); +/* 1F929C */ UNK_RET grIceMt_801F929C(UNK_PARAMS); +/* 1F9338 */ UNK_RET fn_801F9338(UNK_PARAMS); +/* 1F9448 */ UNK_RET fn_801F9448(UNK_PARAMS); +/* 1F9558 */ UNK_RET fn_801F9558(UNK_PARAMS); +/* 1F9668 */ UNK_RET grIceMt_801F9668(UNK_PARAMS); +/* 1F96E0 */ UNK_RET grIceMt_801F96E0(UNK_PARAMS); +/* 1F98A8 */ UNK_RET grIceMt_801F98A8(UNK_PARAMS); +/* 1F993C */ UNK_RET grIceMt_801F993C(UNK_PARAMS); +/* 1F9ACC */ UNK_RET grIceMt_801F9ACC(UNK_PARAMS); +/* 1FA0BC */ UNK_RET grIceMt_801FA0BC(UNK_PARAMS); +/* 1FA364 */ UNK_RET grIceMt_801FA364(UNK_PARAMS); +/* 1FA4CC */ UNK_RET fn_801FA4CC(UNK_PARAMS); +/* 1FA500 */ UNK_RET grIceMt_801FA500(UNK_PARAMS); +/* 1FA6D8 */ UNK_RET grIceMt_801FA6D8(UNK_PARAMS); /* 1FA728 */ void grIceMt_801FA728(Vec3*); +/* 1FA7F0 */ UNK_RET grIceMt_801FA7F0(UNK_PARAMS); +/* 1FA854 */ UNK_RET grIceMt_801FA854(UNK_PARAMS); +/* 1FA8F8 */ UNK_RET grIceMt_801FA8F8(UNK_PARAMS); +/* 1FA900 */ UNK_RET grIceMt_801FA900(UNK_PARAMS); #endif diff --git a/src/melee/gr/grinishie1.c b/src/melee/gr/grinishie1.c index 8b13789179..160db03e4c 100644 --- a/src/melee/gr/grinishie1.c +++ b/src/melee/gr/grinishie1.c @@ -1 +1,79 @@ +void grInishie1_801FA908(void) {} +/// #grInishie1_801FA90C + +void grInishie1_801FA984(void) {} + +/// #grInishie1_801FA988 + +/// #grInishie1_801FA9AC + +/// #grInishie1_801FA9B4 + +/// #grInishie1_801FAAA0 + +/// #grInishie1_801FAACC + +void grInishie1_801FAAD4(void) {} + +void grInishie1_801FAAD8(void) {} + +/// #grInishie1_801FAADC + +/// #grInishie1_801FAB60 + +/// #grInishie1_801FAB68 + +void grInishie1_801FABB0(void) {} + +/// #grInishie1_801FABB4 + +/// #grInishie1_801FABF4 + +void grInishie1_801FABFC(void) {} + +void grInishie1_801FAC00(void) {} + +/// #grInishie1_801FAC04 + +/// #grInishie1_801FAC50 + +/// #grInishie1_801FAC58 + +void grInishie1_801FAD80(void) {} + +/// #grInishie1_801FAD84 + +/// #grInishie1_801FB0AC + +/// #grInishie1_801FB3F0 + +/// #grInishie1_801FBA34 + +/// #grInishie1_801FBAA0 + +/// #grInishie1_801FBC4C + +/// #grInishie1_801FBCEC + +/// #fn_801FBEB8 + +/// #fn_801FBF6C + +/// #grInishie1_801FC018 + +/// #grInishie1_801FC110 + +/// #grInishie1_801FC4A0 + +/// #grInishie1_801FC664 + +/// #fn_801FC9AC + +/// #grInishie1_801FCAAC + +/// #grInishie1_801FCB10 + +/// #grInishie1_801FCBB0 + +/// #grInishie1_801FCBB8 diff --git a/src/melee/gr/grinishie1.h b/src/melee/gr/grinishie1.h index e850da550e..2adc31972b 100644 --- a/src/melee/gr/grinishie1.h +++ b/src/melee/gr/grinishie1.h @@ -3,6 +3,47 @@ #include +#include + +/* 1FA908 */ UNK_RET grInishie1_801FA908(UNK_PARAMS); +/* 1FA90C */ UNK_RET grInishie1_801FA90C(UNK_PARAMS); +/* 1FA984 */ UNK_RET grInishie1_801FA984(UNK_PARAMS); +/* 1FA988 */ UNK_RET grInishie1_801FA988(UNK_PARAMS); +/* 1FA9AC */ UNK_RET grInishie1_801FA9AC(UNK_PARAMS); +/* 1FA9B4 */ UNK_RET grInishie1_801FA9B4(UNK_PARAMS); +/* 1FAAA0 */ UNK_RET grInishie1_801FAAA0(UNK_PARAMS); +/* 1FAACC */ UNK_RET grInishie1_801FAACC(UNK_PARAMS); +/* 1FAAD4 */ UNK_RET grInishie1_801FAAD4(UNK_PARAMS); +/* 1FAAD8 */ UNK_RET grInishie1_801FAAD8(UNK_PARAMS); +/* 1FAADC */ UNK_RET grInishie1_801FAADC(UNK_PARAMS); +/* 1FAB60 */ UNK_RET grInishie1_801FAB60(UNK_PARAMS); +/* 1FAB68 */ UNK_RET grInishie1_801FAB68(UNK_PARAMS); +/* 1FABB0 */ UNK_RET grInishie1_801FABB0(UNK_PARAMS); +/* 1FABB4 */ UNK_RET grInishie1_801FABB4(UNK_PARAMS); +/* 1FABF4 */ UNK_RET grInishie1_801FABF4(UNK_PARAMS); +/* 1FABFC */ UNK_RET grInishie1_801FABFC(UNK_PARAMS); +/* 1FAC00 */ UNK_RET grInishie1_801FAC00(UNK_PARAMS); +/* 1FAC04 */ UNK_RET grInishie1_801FAC04(UNK_PARAMS); +/* 1FAC50 */ UNK_RET grInishie1_801FAC50(UNK_PARAMS); +/* 1FAC58 */ UNK_RET grInishie1_801FAC58(UNK_PARAMS); +/* 1FAD80 */ UNK_RET grInishie1_801FAD80(UNK_PARAMS); +/* 1FAD84 */ UNK_RET grInishie1_801FAD84(UNK_PARAMS); +/* 1FB0AC */ UNK_RET grInishie1_801FB0AC(UNK_PARAMS); +/* 1FB3F0 */ UNK_RET grInishie1_801FB3F0(UNK_PARAMS); +/* 1FBA34 */ UNK_RET grInishie1_801FBA34(UNK_PARAMS); +/* 1FBAA0 */ UNK_RET grInishie1_801FBAA0(UNK_PARAMS); +/* 1FBC4C */ UNK_RET grInishie1_801FBC4C(UNK_PARAMS); +/* 1FBCEC */ UNK_RET grInishie1_801FBCEC(UNK_PARAMS); +/* 1FBEB8 */ UNK_RET fn_801FBEB8(UNK_PARAMS); +/* 1FBF6C */ UNK_RET fn_801FBF6C(UNK_PARAMS); +/* 1FC018 */ UNK_RET grInishie1_801FC018(UNK_PARAMS); +/* 1FC110 */ UNK_RET grInishie1_801FC110(UNK_PARAMS); +/* 1FC4A0 */ UNK_RET grInishie1_801FC4A0(UNK_PARAMS); +/* 1FC664 */ UNK_RET grInishie1_801FC664(UNK_PARAMS); +/* 1FC9AC */ UNK_RET fn_801FC9AC(UNK_PARAMS); /* 1FCAAC */ bool grInishie1_801FCAAC(enum_t); +/* 1FCB10 */ UNK_RET grInishie1_801FCB10(UNK_PARAMS); +/* 1FCBB0 */ UNK_RET grInishie1_801FCBB0(UNK_PARAMS); +/* 1FCBB8 */ UNK_RET grInishie1_801FCBB8(UNK_PARAMS); #endif diff --git a/src/melee/gr/grinishie2.c b/src/melee/gr/grinishie2.c index 8b13789179..11cf39f07d 100644 --- a/src/melee/gr/grinishie2.c +++ b/src/melee/gr/grinishie2.c @@ -1 +1,79 @@ +void grInishie2_801FCBC0(void) {} +/// #grInishie2_801FCBC4 + +void grInishie2_801FCCAC(void) {} + +/// #grInishie2_801FCCB0 + +/// #grInishie2_801FCCD4 + +/// #grInishie2_801FCCDC + +/// #grInishie2_801FCDC8 + +/// #grInishie2_801FCDF4 + +void grInishie2_801FCDFC(void) {} + +void grInishie2_801FCE00(void) {} + +/// #grInishie2_801FCE04 + +/// #grInishie2_801FCF24 + +/// #grInishie2_801FCF2C + +/// #grInishie2_801FCFCC + +void grInishie2_801FD014(void) {} + +/// #grInishie2_801FD018 + +/// #grInishie2_801FD0B4 + +/// #grInishie2_801FD198 + +/// #grInishie2_801FD21C + +/// #grInishie2_801FD224 + +void grInishie2_801FD364(void) {} + +/// #grInishie2_801FD368 + +/// #grInishie2_801FD3CC + +/// #grInishie2_801FD448 + +/// #grInishie2_801FD4CC + +/// #grInishie2_801FD4F0 + +/// #grInishie2_801FD64C + +/// #grInishie2_801FD654 + +void grInishie2_801FD740(void) {} + +/// #grInishie2_801FD744 + +/// #grInishie2_801FD7A8 + +/// #grInishie2_801FD824 + +/// #grInishie2_801FD9EC + +/// #grInishie2_801FDE8C + +/// #grInishie2_801FDED0 + +/// #grInishie2_801FDED8 + +/// #grInishie2_801FDFB4 + +void grInishie2_801FDFE4(void) {} + +/// #grInishie2_801FDFE8 + +/// #grInishie2_801FDFF0 diff --git a/src/melee/gr/grinishie2.h b/src/melee/gr/grinishie2.h index 8b13789179..3de7027941 100644 --- a/src/melee/gr/grinishie2.h +++ b/src/melee/gr/grinishie2.h @@ -1 +1,47 @@ +#ifndef GALE01_1FCBC0 +#define GALE01_1FCBC0 +#include + +/* 1FCBC0 */ UNK_RET grInishie2_801FCBC0(UNK_PARAMS); +/* 1FCBC4 */ UNK_RET grInishie2_801FCBC4(UNK_PARAMS); +/* 1FCCAC */ UNK_RET grInishie2_801FCCAC(UNK_PARAMS); +/* 1FCCB0 */ UNK_RET grInishie2_801FCCB0(UNK_PARAMS); +/* 1FCCD4 */ UNK_RET grInishie2_801FCCD4(UNK_PARAMS); +/* 1FCCDC */ UNK_RET grInishie2_801FCCDC(UNK_PARAMS); +/* 1FCDC8 */ UNK_RET grInishie2_801FCDC8(UNK_PARAMS); +/* 1FCDF4 */ UNK_RET grInishie2_801FCDF4(UNK_PARAMS); +/* 1FCDFC */ UNK_RET grInishie2_801FCDFC(UNK_PARAMS); +/* 1FCE00 */ UNK_RET grInishie2_801FCE00(UNK_PARAMS); +/* 1FCE04 */ UNK_RET grInishie2_801FCE04(UNK_PARAMS); +/* 1FCF24 */ UNK_RET grInishie2_801FCF24(UNK_PARAMS); +/* 1FCF2C */ UNK_RET grInishie2_801FCF2C(UNK_PARAMS); +/* 1FCFCC */ UNK_RET grInishie2_801FCFCC(UNK_PARAMS); +/* 1FD014 */ UNK_RET grInishie2_801FD014(UNK_PARAMS); +/* 1FD018 */ UNK_RET grInishie2_801FD018(UNK_PARAMS); +/* 1FD0B4 */ UNK_RET grInishie2_801FD0B4(UNK_PARAMS); +/* 1FD198 */ UNK_RET grInishie2_801FD198(UNK_PARAMS); +/* 1FD21C */ UNK_RET grInishie2_801FD21C(UNK_PARAMS); +/* 1FD224 */ UNK_RET grInishie2_801FD224(UNK_PARAMS); +/* 1FD364 */ UNK_RET grInishie2_801FD364(UNK_PARAMS); +/* 1FD368 */ UNK_RET grInishie2_801FD368(UNK_PARAMS); +/* 1FD3CC */ UNK_RET grInishie2_801FD3CC(UNK_PARAMS); +/* 1FD448 */ UNK_RET grInishie2_801FD448(UNK_PARAMS); +/* 1FD4CC */ UNK_RET grInishie2_801FD4CC(UNK_PARAMS); +/* 1FD4F0 */ UNK_RET grInishie2_801FD4F0(UNK_PARAMS); +/* 1FD64C */ UNK_RET grInishie2_801FD64C(UNK_PARAMS); +/* 1FD654 */ UNK_RET grInishie2_801FD654(UNK_PARAMS); +/* 1FD740 */ UNK_RET grInishie2_801FD740(UNK_PARAMS); +/* 1FD744 */ UNK_RET grInishie2_801FD744(UNK_PARAMS); +/* 1FD7A8 */ UNK_RET grInishie2_801FD7A8(UNK_PARAMS); +/* 1FD824 */ UNK_RET grInishie2_801FD824(UNK_PARAMS); +/* 1FD9EC */ UNK_RET grInishie2_801FD9EC(UNK_PARAMS); +/* 1FDE8C */ UNK_RET grInishie2_801FDE8C(UNK_PARAMS); +/* 1FDED0 */ UNK_RET grInishie2_801FDED0(UNK_PARAMS); +/* 1FDED8 */ UNK_RET grInishie2_801FDED8(UNK_PARAMS); +/* 1FDFB4 */ UNK_RET grInishie2_801FDFB4(UNK_PARAMS); +/* 1FDFE4 */ UNK_RET grInishie2_801FDFE4(UNK_PARAMS); +/* 1FDFE8 */ UNK_RET grInishie2_801FDFE8(UNK_PARAMS); +/* 1FDFF0 */ UNK_RET grInishie2_801FDFF0(UNK_PARAMS); + +#endif diff --git a/src/melee/gr/grkinokoroute.c b/src/melee/gr/grkinokoroute.c index 8b13789179..9b1760bbec 100644 --- a/src/melee/gr/grkinokoroute.c +++ b/src/melee/gr/grkinokoroute.c @@ -1 +1,62 @@ +void grKinokoRoute_8020741C(void) {} + +/// #grKinokoRoute_80207420 + +/// #grKinokoRoute_80207490 + +/// #grKinokoRoute_802074D8 + +/// #grKinokoRoute_80207544 + +/// #grKinokoRoute_8020754C + +/// #grKinokoRoute_80207634 + +/// #grKinokoRoute_802078E8 + +/// #grKinokoRoute_802078F0 + +void grKinokoRoute_80207A94(void) {} + +/// #grKinokoRoute_80207A98 + +/// #grKinokoRoute_80207ACC + +void grKinokoRoute_80207AD4(void) {} + +void grKinokoRoute_80207AD8(void) {} + +/// #grKinokoRoute_80207ADC + +/// #grKinokoRoute_80207B20 + +void grKinokoRoute_80207B28(void) {} + +void grKinokoRoute_80207B2C(void) {} + +/// #fn_80207B30 + +/// #grKinokoRoute_80207B5C + +/// #grKinokoRoute_80207C80 + +/// #grKinokoRoute_80207C88 + +void grKinokoRoute_80208368(void) {} + +/// #grKinokoRoute_8020836C + +/// #fn_80208480 + +/// #fn_802084B4 + +/// #grKinokoRoute_80208564 + +/// #fn_80208660 + +/// #grKinokoRoute_802086EC + +/// #grKinokoRoute_80208754 + +/// #grKinokoRoute_8020875C diff --git a/src/melee/gr/grkinokoroute.h b/src/melee/gr/grkinokoroute.h index 8b13789179..67b5c6dcd4 100644 --- a/src/melee/gr/grkinokoroute.h +++ b/src/melee/gr/grkinokoroute.h @@ -1 +1,38 @@ +#ifndef GALE01_20741C +#define GALE01_20741C +#include + +/* 20741C */ UNK_RET grKinokoRoute_8020741C(UNK_PARAMS); +/* 207420 */ UNK_RET grKinokoRoute_80207420(UNK_PARAMS); +/* 207490 */ UNK_RET grKinokoRoute_80207490(UNK_PARAMS); +/* 2074D8 */ UNK_RET grKinokoRoute_802074D8(UNK_PARAMS); +/* 207544 */ UNK_RET grKinokoRoute_80207544(UNK_PARAMS); +/* 20754C */ UNK_RET grKinokoRoute_8020754C(UNK_PARAMS); +/* 207634 */ UNK_RET grKinokoRoute_80207634(UNK_PARAMS); +/* 2078E8 */ UNK_RET grKinokoRoute_802078E8(UNK_PARAMS); +/* 2078F0 */ UNK_RET grKinokoRoute_802078F0(UNK_PARAMS); +/* 207A94 */ UNK_RET grKinokoRoute_80207A94(UNK_PARAMS); +/* 207A98 */ UNK_RET grKinokoRoute_80207A98(UNK_PARAMS); +/* 207ACC */ UNK_RET grKinokoRoute_80207ACC(UNK_PARAMS); +/* 207AD4 */ UNK_RET grKinokoRoute_80207AD4(UNK_PARAMS); +/* 207AD8 */ UNK_RET grKinokoRoute_80207AD8(UNK_PARAMS); +/* 207ADC */ UNK_RET grKinokoRoute_80207ADC(UNK_PARAMS); +/* 207B20 */ UNK_RET grKinokoRoute_80207B20(UNK_PARAMS); +/* 207B28 */ UNK_RET grKinokoRoute_80207B28(UNK_PARAMS); +/* 207B2C */ UNK_RET grKinokoRoute_80207B2C(UNK_PARAMS); +/* 207B30 */ UNK_RET fn_80207B30(UNK_PARAMS); +/* 207B5C */ UNK_RET grKinokoRoute_80207B5C(UNK_PARAMS); +/* 207C80 */ UNK_RET grKinokoRoute_80207C80(UNK_PARAMS); +/* 207C88 */ UNK_RET grKinokoRoute_80207C88(UNK_PARAMS); +/* 208368 */ UNK_RET grKinokoRoute_80208368(UNK_PARAMS); +/* 20836C */ UNK_RET grKinokoRoute_8020836C(UNK_PARAMS); +/* 208480 */ UNK_RET fn_80208480(UNK_PARAMS); +/* 2084B4 */ UNK_RET fn_802084B4(UNK_PARAMS); +/* 208564 */ UNK_RET grKinokoRoute_80208564(UNK_PARAMS); +/* 208660 */ UNK_RET fn_80208660(UNK_PARAMS); +/* 2086EC */ UNK_RET grKinokoRoute_802086EC(UNK_PARAMS); +/* 208754 */ UNK_RET grKinokoRoute_80208754(UNK_PARAMS); +/* 20875C */ UNK_RET grKinokoRoute_8020875C(UNK_PARAMS); + +#endif diff --git a/src/melee/gr/grkraid.c b/src/melee/gr/grkraid.c index 8b13789179..f72593ab9e 100644 --- a/src/melee/gr/grkraid.c +++ b/src/melee/gr/grkraid.c @@ -1 +1,66 @@ +void grKraid_801FDFF8(void) {} + +/// #grKraid_801FDFFC + +void grKraid_801FE094(void) {} + +/// #grKraid_801FE098 + +/// #grKraid_801FE0BC + +/// #grKraid_801FE0C4 + +/// #grKraid_801FE1B0 + +/// #grKraid_801FE1DC + +void grKraid_801FE1E4(void) {} + +void grKraid_801FE1E8(void) {} + +/// #grKraid_801FE1EC + +/// #grKraid_801FE2C8 + +/// #grKraid_801FE2D0 + +void grKraid_801FE35C(void) {} + +/// #grKraid_801FE360 + +/// #grKraid_801FE3A4 + +void grKraid_801FE3AC(void) {} + +void grKraid_801FE3B0(void) {} + +/// #grKraid_801FE3B4 + +/// #grKraid_801FE438 + +/// #grKraid_801FE440 + +void grKraid_801FE6D4(void) {} + +/// #grKraid_801FE6D8 + +/// #grKraid_801FE818 + +/// #grKraid_801FE9F8 + +/// #grKraid_801FEA00 + +/// #grKraid_801FEE54 + +/// #grKraid_801FF068 + +/// #grKraid_801FF0E0 + +void grKraid_801FF14C(void) {} + +void grKraid_801FF150(void) {} + +/// #grKraid_801FF154 + +/// #grKraid_801FF15C diff --git a/src/melee/gr/grkraid.h b/src/melee/gr/grkraid.h index 8b13789179..e25f0ac205 100644 --- a/src/melee/gr/grkraid.h +++ b/src/melee/gr/grkraid.h @@ -1 +1,40 @@ +#ifndef GALE01_1FDFF8 +#define GALE01_1FDFF8 +#include + +/* 1FDFF8 */ UNK_RET grKraid_801FDFF8(UNK_PARAMS); +/* 1FDFFC */ UNK_RET grKraid_801FDFFC(UNK_PARAMS); +/* 1FE094 */ UNK_RET grKraid_801FE094(UNK_PARAMS); +/* 1FE098 */ UNK_RET grKraid_801FE098(UNK_PARAMS); +/* 1FE0BC */ UNK_RET grKraid_801FE0BC(UNK_PARAMS); +/* 1FE0C4 */ UNK_RET grKraid_801FE0C4(UNK_PARAMS); +/* 1FE1B0 */ UNK_RET grKraid_801FE1B0(UNK_PARAMS); +/* 1FE1DC */ UNK_RET grKraid_801FE1DC(UNK_PARAMS); +/* 1FE1E4 */ UNK_RET grKraid_801FE1E4(UNK_PARAMS); +/* 1FE1E8 */ UNK_RET grKraid_801FE1E8(UNK_PARAMS); +/* 1FE1EC */ UNK_RET grKraid_801FE1EC(UNK_PARAMS); +/* 1FE2C8 */ UNK_RET grKraid_801FE2C8(UNK_PARAMS); +/* 1FE2D0 */ UNK_RET grKraid_801FE2D0(UNK_PARAMS); +/* 1FE35C */ UNK_RET grKraid_801FE35C(UNK_PARAMS); +/* 1FE360 */ UNK_RET grKraid_801FE360(UNK_PARAMS); +/* 1FE3A4 */ UNK_RET grKraid_801FE3A4(UNK_PARAMS); +/* 1FE3AC */ UNK_RET grKraid_801FE3AC(UNK_PARAMS); +/* 1FE3B0 */ UNK_RET grKraid_801FE3B0(UNK_PARAMS); +/* 1FE3B4 */ UNK_RET grKraid_801FE3B4(UNK_PARAMS); +/* 1FE438 */ UNK_RET grKraid_801FE438(UNK_PARAMS); +/* 1FE440 */ UNK_RET grKraid_801FE440(UNK_PARAMS); +/* 1FE6D4 */ UNK_RET grKraid_801FE6D4(UNK_PARAMS); +/* 1FE6D8 */ UNK_RET grKraid_801FE6D8(UNK_PARAMS); +/* 1FE818 */ UNK_RET grKraid_801FE818(UNK_PARAMS); +/* 1FE9F8 */ UNK_RET grKraid_801FE9F8(UNK_PARAMS); +/* 1FEA00 */ UNK_RET grKraid_801FEA00(UNK_PARAMS); +/* 1FEE54 */ UNK_RET grKraid_801FEE54(UNK_PARAMS); +/* 1FF068 */ UNK_RET grKraid_801FF068(UNK_PARAMS); +/* 1FF0E0 */ UNK_RET grKraid_801FF0E0(UNK_PARAMS); +/* 1FF14C */ UNK_RET grKraid_801FF14C(UNK_PARAMS); +/* 1FF150 */ UNK_RET grKraid_801FF150(UNK_PARAMS); +/* 1FF154 */ UNK_RET grKraid_801FF154(UNK_PARAMS); +/* 1FF15C */ UNK_RET grKraid_801FF15C(UNK_PARAMS); + +#endif diff --git a/src/melee/gr/grlast.c b/src/melee/gr/grlast.c index 8b13789179..16ba033c21 100644 --- a/src/melee/gr/grlast.c +++ b/src/melee/gr/grlast.c @@ -1 +1,111 @@ +/// #grLast_8021A620 +/// #grLast_8021A740 + +void grLast_8021A7C4(void) {} + +/// #grLast_8021A7C8 + +/// #grLast_8021A7EC + +/// #grLast_8021A7F4 + +/// #grLast_8021A8E0 + +/// #grLast_8021A90C + +void grLast_8021A914(void) {} + +void grLast_8021A918(void) {} + +/// #grLast_8021A91C + +/// #grLast_8021A960 + +void grLast_8021A968(void) {} + +void grLast_8021A96C(void) {} + +/// #grLast_8021A970 + +/// #grLast_8021A99C + +void grLast_8021A9A4(void) {} + +void grLast_8021A9A8(void) {} + +/// #fn_8021A9AC + +/// #grLast_8021A9C4 + +/// #grLast_8021AAA8 + +/// #grLast_8021AAB0 + +void grLast_8021AB30(void) {} + +/// #grLast_8021AB34 + +/// #grLast_8021AB78 + +void grLast_8021AB80(void) {} + +void grLast_8021AB84(void) {} + +/// #grLast_8021AB88 + +/// #grLast_8021ABCC + +void grLast_8021ABD4(void) {} + +void grLast_8021ABD8(void) {} + +/// #grLast_8021ABDC + +/// #grLast_8021AC20 + +void grLast_8021AC28(void) {} + +void grLast_8021AC2C(void) {} + +/// #grLast_8021AC30 + +/// #grLast_8021ADC8 + +/// #grLast_8021ADD0 + +void grLast_8021B23C(void) {} + +/// #grLast_8021B240 + +/// #grLast_8021B284 + +void grLast_8021B28C(void) {} + +void grLast_8021B290(void) {} + +/// #grLast_8021B294 + +/// #grLast_8021B2D8 + +void grLast_8021B2E0(void) {} + +void grLast_8021B2E4(void) {} + +/// #grLast_8021B2E8 + +/// #grLast_8021B5C4 + +/// #grLast_8021B920 + +/// #grLast_8021C40C + +/// #grLast_8021C500 + +/// #grLast_8021C640 + +/// #grLast_8021C6AC + +/// #grLast_8021C740 + +/// #grLast_8021C748 diff --git a/src/melee/gr/grlast.h b/src/melee/gr/grlast.h index 8b13789179..d504fd18fa 100644 --- a/src/melee/gr/grlast.h +++ b/src/melee/gr/grlast.h @@ -1 +1,63 @@ +#ifndef GALE01_21A620 +#define GALE01_21A620 +#include + +/* 21A620 */ UNK_RET grLast_8021A620(UNK_PARAMS); +/* 21A740 */ UNK_RET grLast_8021A740(UNK_PARAMS); +/* 21A7C4 */ UNK_RET grLast_8021A7C4(UNK_PARAMS); +/* 21A7C8 */ UNK_RET grLast_8021A7C8(UNK_PARAMS); +/* 21A7EC */ UNK_RET grLast_8021A7EC(UNK_PARAMS); +/* 21A7F4 */ UNK_RET grLast_8021A7F4(UNK_PARAMS); +/* 21A8E0 */ UNK_RET grLast_8021A8E0(UNK_PARAMS); +/* 21A90C */ UNK_RET grLast_8021A90C(UNK_PARAMS); +/* 21A914 */ UNK_RET grLast_8021A914(UNK_PARAMS); +/* 21A918 */ UNK_RET grLast_8021A918(UNK_PARAMS); +/* 21A91C */ UNK_RET grLast_8021A91C(UNK_PARAMS); +/* 21A960 */ UNK_RET grLast_8021A960(UNK_PARAMS); +/* 21A968 */ UNK_RET grLast_8021A968(UNK_PARAMS); +/* 21A96C */ UNK_RET grLast_8021A96C(UNK_PARAMS); +/* 21A970 */ UNK_RET grLast_8021A970(UNK_PARAMS); +/* 21A99C */ UNK_RET grLast_8021A99C(UNK_PARAMS); +/* 21A9A4 */ UNK_RET grLast_8021A9A4(UNK_PARAMS); +/* 21A9A8 */ UNK_RET grLast_8021A9A8(UNK_PARAMS); +/* 21A9AC */ UNK_RET fn_8021A9AC(UNK_PARAMS); +/* 21A9C4 */ UNK_RET grLast_8021A9C4(UNK_PARAMS); +/* 21AAA8 */ UNK_RET grLast_8021AAA8(UNK_PARAMS); +/* 21AAB0 */ UNK_RET grLast_8021AAB0(UNK_PARAMS); +/* 21AB30 */ UNK_RET grLast_8021AB30(UNK_PARAMS); +/* 21AB34 */ UNK_RET grLast_8021AB34(UNK_PARAMS); +/* 21AB78 */ UNK_RET grLast_8021AB78(UNK_PARAMS); +/* 21AB80 */ UNK_RET grLast_8021AB80(UNK_PARAMS); +/* 21AB84 */ UNK_RET grLast_8021AB84(UNK_PARAMS); +/* 21AB88 */ UNK_RET grLast_8021AB88(UNK_PARAMS); +/* 21ABCC */ UNK_RET grLast_8021ABCC(UNK_PARAMS); +/* 21ABD4 */ UNK_RET grLast_8021ABD4(UNK_PARAMS); +/* 21ABD8 */ UNK_RET grLast_8021ABD8(UNK_PARAMS); +/* 21ABDC */ UNK_RET grLast_8021ABDC(UNK_PARAMS); +/* 21AC20 */ UNK_RET grLast_8021AC20(UNK_PARAMS); +/* 21AC28 */ UNK_RET grLast_8021AC28(UNK_PARAMS); +/* 21AC2C */ UNK_RET grLast_8021AC2C(UNK_PARAMS); +/* 21AC30 */ UNK_RET grLast_8021AC30(UNK_PARAMS); +/* 21ADC8 */ UNK_RET grLast_8021ADC8(UNK_PARAMS); +/* 21ADD0 */ UNK_RET grLast_8021ADD0(UNK_PARAMS); +/* 21B23C */ UNK_RET grLast_8021B23C(UNK_PARAMS); +/* 21B240 */ UNK_RET grLast_8021B240(UNK_PARAMS); +/* 21B284 */ UNK_RET grLast_8021B284(UNK_PARAMS); +/* 21B28C */ UNK_RET grLast_8021B28C(UNK_PARAMS); +/* 21B290 */ UNK_RET grLast_8021B290(UNK_PARAMS); +/* 21B294 */ UNK_RET grLast_8021B294(UNK_PARAMS); +/* 21B2D8 */ UNK_RET grLast_8021B2D8(UNK_PARAMS); +/* 21B2E0 */ UNK_RET grLast_8021B2E0(UNK_PARAMS); +/* 21B2E4 */ UNK_RET grLast_8021B2E4(UNK_PARAMS); +/* 21B2E8 */ UNK_RET grLast_8021B2E8(UNK_PARAMS); +/* 21B5C4 */ UNK_RET grLast_8021B5C4(UNK_PARAMS); +/* 21B920 */ UNK_RET grLast_8021B920(UNK_PARAMS); +/* 21C40C */ UNK_RET grLast_8021C40C(UNK_PARAMS); +/* 21C500 */ UNK_RET grLast_8021C500(UNK_PARAMS); +/* 21C640 */ UNK_RET grLast_8021C640(UNK_PARAMS); +/* 21C6AC */ UNK_RET grLast_8021C6AC(UNK_PARAMS); +/* 21C740 */ UNK_RET grLast_8021C740(UNK_PARAMS); +/* 21C748 */ UNK_RET grLast_8021C748(UNK_PARAMS); + +#endif diff --git a/src/melee/gr/grmutecity.c b/src/melee/gr/grmutecity.c index 8b13789179..82d666b128 100644 --- a/src/melee/gr/grmutecity.c +++ b/src/melee/gr/grmutecity.c @@ -1 +1,134 @@ +void grMuteCity_801EFC68(void) {} + +/// #grMuteCity_801EFC6C + +void grMuteCity_801EFCDC(void) {} + +/// #grMuteCity_801EFCE0 + +/// #grMuteCity_801EFD04 + +/// #grMuteCity_801EFD0C + +/// #grMuteCity_801EFDF8 + +/// #grMuteCity_801F0118 + +/// #grMuteCity_801F0120 + +void grMuteCity_801F01B0(void) {} + +/// #grMuteCity_801F01B4 + +/// #grMuteCity_801F0288 + +/// #grMuteCity_801F0290 + +void grMuteCity_801F040C(void) {} + +/// #grMuteCity_801F0410 + +/// #grMuteCity_801F043C + +void grMuteCity_801F0444(void) {} + +void grMuteCity_801F0448(void) {} + +/// #grMuteCity_801F044C + +/// #grMuteCity_801F04A8 + +void grMuteCity_801F04B0(void) {} + +void grMuteCity_801F04B4(void) {} + +/// #grMuteCity_801F04B8 + +void grMuteCity_801F0948(void) {} + +/// #grMuteCity_801F094C + +/// #grMuteCity_801F0D20 + +/// #grMuteCity_801F0F4C + +/// #grMuteCity_801F106C + +/// #grMuteCity_801F1328 + +/// #grMuteCity_801F173C + +/// #grMuteCity_801F1754 + +/// #grMuteCity_801F176C + +/// #grMuteCity_801F1784 + +/// #grMuteCity_801F179C + +/// #grMuteCity_801F17B4 + +/// #grMuteCity_801F17CC + +/// #grMuteCity_801F17E4 + +/// #grMuteCity_801F17FC + +/// #grMuteCity_801F1814 + +/// #grMuteCity_801F182C + +/// #grMuteCity_801F1844 + +/// #grMuteCity_801F185C + +/// #grMuteCity_801F1874 + +/// #grMuteCity_801F188C + +/// #grMuteCity_801F18A4 + +/// #grMuteCity_801F18BC + +/// #grMuteCity_801F18D4 + +/// #grMuteCity_801F18EC + +/// #grMuteCity_801F1904 + +/// #grMuteCity_801F191C + +/// #grMuteCity_801F1934 + +/// #grMuteCity_801F194C + +/// #grMuteCity_801F1964 + +/// #grMuteCity_801F197C + +/// #grMuteCity_801F1994 + +/// #grMuteCity_801F19AC + +/// #grMuteCity_801F19C4 + +/// #grMuteCity_801F19DC + +/// #grMuteCity_801F19F4 + +/// #fn_801F1A0C + +/// #grMuteCity_801F1A34 + +/// #grMuteCity_801F28A8 + +/// #grMuteCity_801F290C + +/// #grMuteCity_801F2AB0 + +/// #fn_801F2B58 + +/// #grMuteCity_801F2BBC + +/// #grMuteCity_801F2C10 diff --git a/src/melee/gr/grmutecity.h b/src/melee/gr/grmutecity.h index 8b13789179..6257459630 100644 --- a/src/melee/gr/grmutecity.h +++ b/src/melee/gr/grmutecity.h @@ -1 +1,74 @@ +#ifndef GALE01_1EFC68 +#define GALE01_1EFC68 +#include + +/* 1EFC68 */ UNK_RET grMuteCity_801EFC68(UNK_PARAMS); +/* 1EFC6C */ UNK_RET grMuteCity_801EFC6C(UNK_PARAMS); +/* 1EFCDC */ UNK_RET grMuteCity_801EFCDC(UNK_PARAMS); +/* 1EFCE0 */ UNK_RET grMuteCity_801EFCE0(UNK_PARAMS); +/* 1EFD04 */ UNK_RET grMuteCity_801EFD04(UNK_PARAMS); +/* 1EFD0C */ UNK_RET grMuteCity_801EFD0C(UNK_PARAMS); +/* 1EFDF8 */ UNK_RET grMuteCity_801EFDF8(UNK_PARAMS); +/* 1F0118 */ UNK_RET grMuteCity_801F0118(UNK_PARAMS); +/* 1F0120 */ UNK_RET grMuteCity_801F0120(UNK_PARAMS); +/* 1F01B0 */ UNK_RET grMuteCity_801F01B0(UNK_PARAMS); +/* 1F01B4 */ UNK_RET grMuteCity_801F01B4(UNK_PARAMS); +/* 1F0288 */ UNK_RET grMuteCity_801F0288(UNK_PARAMS); +/* 1F0290 */ UNK_RET grMuteCity_801F0290(UNK_PARAMS); +/* 1F040C */ UNK_RET grMuteCity_801F040C(UNK_PARAMS); +/* 1F0410 */ UNK_RET grMuteCity_801F0410(UNK_PARAMS); +/* 1F043C */ UNK_RET grMuteCity_801F043C(UNK_PARAMS); +/* 1F0444 */ UNK_RET grMuteCity_801F0444(UNK_PARAMS); +/* 1F0448 */ UNK_RET grMuteCity_801F0448(UNK_PARAMS); +/* 1F044C */ UNK_RET grMuteCity_801F044C(UNK_PARAMS); +/* 1F04A8 */ UNK_RET grMuteCity_801F04A8(UNK_PARAMS); +/* 1F04B0 */ UNK_RET grMuteCity_801F04B0(UNK_PARAMS); +/* 1F04B4 */ UNK_RET grMuteCity_801F04B4(UNK_PARAMS); +/* 1F04B8 */ UNK_RET grMuteCity_801F04B8(UNK_PARAMS); +/* 1F0948 */ UNK_RET grMuteCity_801F0948(UNK_PARAMS); +/* 1F094C */ UNK_RET grMuteCity_801F094C(UNK_PARAMS); +/* 1F0D20 */ UNK_RET grMuteCity_801F0D20(UNK_PARAMS); +/* 1F0F4C */ UNK_RET grMuteCity_801F0F4C(UNK_PARAMS); +/* 1F106C */ UNK_RET grMuteCity_801F106C(UNK_PARAMS); +/* 1F1328 */ UNK_RET grMuteCity_801F1328(UNK_PARAMS); +/* 1F173C */ UNK_RET grMuteCity_801F173C(UNK_PARAMS); +/* 1F1754 */ UNK_RET grMuteCity_801F1754(UNK_PARAMS); +/* 1F176C */ UNK_RET grMuteCity_801F176C(UNK_PARAMS); +/* 1F1784 */ UNK_RET grMuteCity_801F1784(UNK_PARAMS); +/* 1F179C */ UNK_RET grMuteCity_801F179C(UNK_PARAMS); +/* 1F17B4 */ UNK_RET grMuteCity_801F17B4(UNK_PARAMS); +/* 1F17CC */ UNK_RET grMuteCity_801F17CC(UNK_PARAMS); +/* 1F17E4 */ UNK_RET grMuteCity_801F17E4(UNK_PARAMS); +/* 1F17FC */ UNK_RET grMuteCity_801F17FC(UNK_PARAMS); +/* 1F1814 */ UNK_RET grMuteCity_801F1814(UNK_PARAMS); +/* 1F182C */ UNK_RET grMuteCity_801F182C(UNK_PARAMS); +/* 1F1844 */ UNK_RET grMuteCity_801F1844(UNK_PARAMS); +/* 1F185C */ UNK_RET grMuteCity_801F185C(UNK_PARAMS); +/* 1F1874 */ UNK_RET grMuteCity_801F1874(UNK_PARAMS); +/* 1F188C */ UNK_RET grMuteCity_801F188C(UNK_PARAMS); +/* 1F18A4 */ UNK_RET grMuteCity_801F18A4(UNK_PARAMS); +/* 1F18BC */ UNK_RET grMuteCity_801F18BC(UNK_PARAMS); +/* 1F18D4 */ UNK_RET grMuteCity_801F18D4(UNK_PARAMS); +/* 1F18EC */ UNK_RET grMuteCity_801F18EC(UNK_PARAMS); +/* 1F1904 */ UNK_RET grMuteCity_801F1904(UNK_PARAMS); +/* 1F191C */ UNK_RET grMuteCity_801F191C(UNK_PARAMS); +/* 1F1934 */ UNK_RET grMuteCity_801F1934(UNK_PARAMS); +/* 1F194C */ UNK_RET grMuteCity_801F194C(UNK_PARAMS); +/* 1F1964 */ UNK_RET grMuteCity_801F1964(UNK_PARAMS); +/* 1F197C */ UNK_RET grMuteCity_801F197C(UNK_PARAMS); +/* 1F1994 */ UNK_RET grMuteCity_801F1994(UNK_PARAMS); +/* 1F19AC */ UNK_RET grMuteCity_801F19AC(UNK_PARAMS); +/* 1F19C4 */ UNK_RET grMuteCity_801F19C4(UNK_PARAMS); +/* 1F19DC */ UNK_RET grMuteCity_801F19DC(UNK_PARAMS); +/* 1F19F4 */ UNK_RET grMuteCity_801F19F4(UNK_PARAMS); +/* 1F1A0C */ UNK_RET fn_801F1A0C(UNK_PARAMS); +/* 1F1A34 */ UNK_RET grMuteCity_801F1A34(UNK_PARAMS); +/* 1F28A8 */ UNK_RET grMuteCity_801F28A8(UNK_PARAMS); +/* 1F290C */ UNK_RET grMuteCity_801F290C(UNK_PARAMS); +/* 1F2AB0 */ UNK_RET grMuteCity_801F2AB0(UNK_PARAMS); +/* 1F2B58 */ UNK_RET fn_801F2B58(UNK_PARAMS); +/* 1F2BBC */ UNK_RET grMuteCity_801F2BBC(UNK_PARAMS); +/* 1F2C10 */ UNK_RET grMuteCity_801F2C10(UNK_PARAMS); + +#endif diff --git a/src/melee/gr/groldkongo.c b/src/melee/gr/groldkongo.c index 8b13789179..6e57ecf2c2 100644 --- a/src/melee/gr/groldkongo.c +++ b/src/melee/gr/groldkongo.c @@ -1 +1,55 @@ +void grOldKongo_8020F468(void) {} +/// #grOldKongo_8020F46C + +void grOldKongo_8020F4E4(void) {} + +/// #grOldKongo_8020F4E8 + +/// #grOldKongo_8020F524 + +/// #grOldKongo_8020F52C + +/// #grOldKongo_8020F618 + +/// #grOldKongo_8020F644 + +void grOldKongo_8020F64C(void) {} + +void grOldKongo_8020F650(void) {} + +/// #grOldKongo_8020F654 + +/// #grOldKongo_8020F6B4 + +/// #grOldKongo_8020F6BC + +void grOldKongo_8020F6E0(void) {} + +/// #grOldKongo_8020F6E4 + +/// #grOldKongo_8020F880 + +/// #grOldKongo_8020F888 + +void grOldKongo_80210058(void) {} + +/// #grOldKongo_8021005C + +/// #grOldKongo_802100F4 + +/// #grOldKongo_802100FC + +void grOldKongo_80210450(void) {} + +/// #fn_80210454 + +/// #grOldKongo_802105AC + +/// #grOldKongo_802105C8 + +/// #grOldKongo_80210650 + +/// #grOldKongo_80210780 + +/// #grOldKongo_80210788 diff --git a/src/melee/gr/groldkongo.h b/src/melee/gr/groldkongo.h index 379ee334d8..7956e3e666 100644 --- a/src/melee/gr/groldkongo.h +++ b/src/melee/gr/groldkongo.h @@ -2,10 +2,37 @@ #define GALE01_20F468 #include -#include "lb/forward.h" #include +#include + +/* 20F468 */ UNK_RET grOldKongo_8020F468(UNK_PARAMS); +/* 20F46C */ UNK_RET grOldKongo_8020F46C(UNK_PARAMS); +/* 20F4E4 */ UNK_RET grOldKongo_8020F4E4(UNK_PARAMS); +/* 20F4E8 */ UNK_RET grOldKongo_8020F4E8(UNK_PARAMS); +/* 20F524 */ UNK_RET grOldKongo_8020F524(UNK_PARAMS); +/* 20F52C */ UNK_RET grOldKongo_8020F52C(UNK_PARAMS); +/* 20F618 */ UNK_RET grOldKongo_8020F618(UNK_PARAMS); +/* 20F644 */ UNK_RET grOldKongo_8020F644(UNK_PARAMS); +/* 20F64C */ UNK_RET grOldKongo_8020F64C(UNK_PARAMS); +/* 20F650 */ UNK_RET grOldKongo_8020F650(UNK_PARAMS); +/* 20F654 */ UNK_RET grOldKongo_8020F654(UNK_PARAMS); +/* 20F6B4 */ UNK_RET grOldKongo_8020F6B4(UNK_PARAMS); +/* 20F6BC */ UNK_RET grOldKongo_8020F6BC(UNK_PARAMS); +/* 20F6E0 */ UNK_RET grOldKongo_8020F6E0(UNK_PARAMS); +/* 20F6E4 */ UNK_RET grOldKongo_8020F6E4(UNK_PARAMS); +/* 20F880 */ UNK_RET grOldKongo_8020F880(UNK_PARAMS); +/* 20F888 */ UNK_RET grOldKongo_8020F888(UNK_PARAMS); +/* 210058 */ UNK_RET grOldKongo_80210058(UNK_PARAMS); +/* 21005C */ UNK_RET grOldKongo_8021005C(UNK_PARAMS); +/* 2100F4 */ UNK_RET grOldKongo_802100F4(UNK_PARAMS); +/* 2100FC */ UNK_RET grOldKongo_802100FC(UNK_PARAMS); +/* 210450 */ UNK_RET grOldKongo_80210450(UNK_PARAMS); +/* 210454 */ UNK_RET fn_80210454(UNK_PARAMS); /* 2105AC */ void grOldKongo_802105AC(HSD_GObj*); /* 2105C8 */ void grOldKongo_802105C8(HSD_GObj*); +/* 210650 */ UNK_RET grOldKongo_80210650(UNK_PARAMS); +/* 210780 */ UNK_RET grOldKongo_80210780(UNK_PARAMS); +/* 210788 */ UNK_RET grOldKongo_80210788(UNK_PARAMS); #endif diff --git a/src/melee/gr/groldpupupu.c b/src/melee/gr/groldpupupu.c index 8b13789179..c454eb6b69 100644 --- a/src/melee/gr/groldpupupu.c +++ b/src/melee/gr/groldpupupu.c @@ -1 +1,91 @@ +void grOldPupupu_802107DC(void) {} +/// #grOldPupupu_802107E0 + +void grOldPupupu_80210884(void) {} + +/// #grOldPupupu_80210888 + +/// #grOldPupupu_802108AC + +/// #grOldPupupu_802108B4 + +/// #grOldPupupu_8021099C + +/// #grOldPupupu_802109C8 + +void grOldPupupu_802109D0(void) {} + +void grOldPupupu_802109D4(void) {} + +/// #grOldPupupu_802109D8 + +/// #grOldPupupu_80210A1C + +/// #grOldPupupu_80210A24 + +void grOldPupupu_80210B00(void) {} + +/// #grOldPupupu_80210B04 + +/// #grOldPupupu_80210B48 + +void grOldPupupu_80210B50(void) {} + +void grOldPupupu_80210B54(void) {} + +/// #grOldPupupu_80210B58 + +/// #grOldPupupu_80210BB8 + +/// #grOldPupupu_80210BC0 + +void grOldPupupu_80210BE0(void) {} + +/// #grOldPupupu_80210BE4 + +/// #grOldPupupu_80210C2C + +/// #grOldPupupu_80210C34 + +void grOldPupupu_80210C78(void) {} + +/// #grOldPupupu_80210C7C + +/// #grOldPupupu_80210D08 + +/// #grOldPupupu_80210D10 + +void grOldPupupu_8021110C(void) {} + +/// #grOldPupupu_80211110 + +/// #grOldPupupu_8021118C + +void grOldPupupu_80211194(void) {} + +void grOldPupupu_80211198(void) {} + +/// #grOldPupupu_8021119C + +/// #grOldPupupu_80211284 + +/// #grOldPupupu_8021128C + +/// #fn_802112F4 + +/// #grOldPupupu_802113E0 + +void grOldPupupu_80211C0C(void) {} + +void grOldPupupu_80211C10(void) {} + +/// #grOldPupupu_80211C14 + +/// #grOldPupupu_80211C1C + +void grOldPupupu_80211C9C(void) {} + +/// #grOldPupupu_80211CA0 + +/// #grOldPupupu_80211CA8 diff --git a/src/melee/gr/groldpupupu.h b/src/melee/gr/groldpupupu.h index 8b13789179..75df9e14d3 100644 --- a/src/melee/gr/groldpupupu.h +++ b/src/melee/gr/groldpupupu.h @@ -1 +1,53 @@ +#ifndef GALE01_2107DC +#define GALE01_2107DC +#include + +/* 2107DC */ UNK_RET grOldPupupu_802107DC(UNK_PARAMS); +/* 2107E0 */ UNK_RET grOldPupupu_802107E0(UNK_PARAMS); +/* 210884 */ UNK_RET grOldPupupu_80210884(UNK_PARAMS); +/* 210888 */ UNK_RET grOldPupupu_80210888(UNK_PARAMS); +/* 2108AC */ UNK_RET grOldPupupu_802108AC(UNK_PARAMS); +/* 2108B4 */ UNK_RET grOldPupupu_802108B4(UNK_PARAMS); +/* 21099C */ UNK_RET grOldPupupu_8021099C(UNK_PARAMS); +/* 2109C8 */ UNK_RET grOldPupupu_802109C8(UNK_PARAMS); +/* 2109D0 */ UNK_RET grOldPupupu_802109D0(UNK_PARAMS); +/* 2109D4 */ UNK_RET grOldPupupu_802109D4(UNK_PARAMS); +/* 2109D8 */ UNK_RET grOldPupupu_802109D8(UNK_PARAMS); +/* 210A1C */ UNK_RET grOldPupupu_80210A1C(UNK_PARAMS); +/* 210A24 */ UNK_RET grOldPupupu_80210A24(UNK_PARAMS); +/* 210B00 */ UNK_RET grOldPupupu_80210B00(UNK_PARAMS); +/* 210B04 */ UNK_RET grOldPupupu_80210B04(UNK_PARAMS); +/* 210B48 */ UNK_RET grOldPupupu_80210B48(UNK_PARAMS); +/* 210B50 */ UNK_RET grOldPupupu_80210B50(UNK_PARAMS); +/* 210B54 */ UNK_RET grOldPupupu_80210B54(UNK_PARAMS); +/* 210B58 */ UNK_RET grOldPupupu_80210B58(UNK_PARAMS); +/* 210BB8 */ UNK_RET grOldPupupu_80210BB8(UNK_PARAMS); +/* 210BC0 */ UNK_RET grOldPupupu_80210BC0(UNK_PARAMS); +/* 210BE0 */ UNK_RET grOldPupupu_80210BE0(UNK_PARAMS); +/* 210BE4 */ UNK_RET grOldPupupu_80210BE4(UNK_PARAMS); +/* 210C2C */ UNK_RET grOldPupupu_80210C2C(UNK_PARAMS); +/* 210C34 */ UNK_RET grOldPupupu_80210C34(UNK_PARAMS); +/* 210C78 */ UNK_RET grOldPupupu_80210C78(UNK_PARAMS); +/* 210C7C */ UNK_RET grOldPupupu_80210C7C(UNK_PARAMS); +/* 210D08 */ UNK_RET grOldPupupu_80210D08(UNK_PARAMS); +/* 210D10 */ UNK_RET grOldPupupu_80210D10(UNK_PARAMS); +/* 21110C */ UNK_RET grOldPupupu_8021110C(UNK_PARAMS); +/* 211110 */ UNK_RET grOldPupupu_80211110(UNK_PARAMS); +/* 21118C */ UNK_RET grOldPupupu_8021118C(UNK_PARAMS); +/* 211194 */ UNK_RET grOldPupupu_80211194(UNK_PARAMS); +/* 211198 */ UNK_RET grOldPupupu_80211198(UNK_PARAMS); +/* 21119C */ UNK_RET grOldPupupu_8021119C(UNK_PARAMS); +/* 211284 */ UNK_RET grOldPupupu_80211284(UNK_PARAMS); +/* 21128C */ UNK_RET grOldPupupu_8021128C(UNK_PARAMS); +/* 2112F4 */ UNK_RET fn_802112F4(UNK_PARAMS); +/* 2113E0 */ UNK_RET grOldPupupu_802113E0(UNK_PARAMS); +/* 211C0C */ UNK_RET grOldPupupu_80211C0C(UNK_PARAMS); +/* 211C10 */ UNK_RET grOldPupupu_80211C10(UNK_PARAMS); +/* 211C14 */ UNK_RET grOldPupupu_80211C14(UNK_PARAMS); +/* 211C1C */ UNK_RET grOldPupupu_80211C1C(UNK_PARAMS); +/* 211C9C */ UNK_RET grOldPupupu_80211C9C(UNK_PARAMS); +/* 211CA0 */ UNK_RET grOldPupupu_80211CA0(UNK_PARAMS); +/* 211CA8 */ UNK_RET grOldPupupu_80211CA8(UNK_PARAMS); + +#endif diff --git a/src/melee/gr/groldyoshi.c b/src/melee/gr/groldyoshi.c index 8b13789179..5db4bcb29c 100644 --- a/src/melee/gr/groldyoshi.c +++ b/src/melee/gr/groldyoshi.c @@ -1 +1,67 @@ +void grOldYoshi_8020E798(void) {} +/// #grOldYoshi_8020E79C + +void grOldYoshi_8020E824(void) {} + +/// #grOldYoshi_8020E828 + +/// #grOldYoshi_8020E84C + +/// #grOldYoshi_8020E854 + +/// #grOldYoshi_8020E93C + +/// #grOldYoshi_8020E968 + +void grOldYoshi_8020E970(void) {} + +void grOldYoshi_8020E974(void) {} + +/// #grOldYoshi_8020E978 + +/// #grOldYoshi_8020E9E0 + +void grOldYoshi_8020E9E8(void) {} + +void grOldYoshi_8020E9EC(void) {} + +/// #grOldYoshi_8020E9F0 + +/// #grOldYoshi_8020EA5C + +/// #grOldYoshi_8020EA64 + +void grOldYoshi_8020EA88(void) {} + +/// #grOldYoshi_8020EA8C + +/// #grOldYoshi_8020EAEC + +void grOldYoshi_8020EAF4(void) {} + +void grOldYoshi_8020EAF8(void) {} + +/// #grOldYoshi_8020EAFC + +/// #grOldYoshi_8020EC08 + +/// #grOldYoshi_8020EC10 + +void grOldYoshi_8020EFC8(void) {} + +/// #grOldYoshi_8020EFCC + +/// #grOldYoshi_8020F080 + +/// #grOldYoshi_8020F088 + +void grOldYoshi_8020F2A4(void) {} + +/// #fn_8020F2A8 + +/// #grOldYoshi_8020F31C + +/// #grOldYoshi_8020F404 + +/// #grOldYoshi_8020F40C diff --git a/src/melee/gr/groldyoshi.h b/src/melee/gr/groldyoshi.h index 8b13789179..a397394bb1 100644 --- a/src/melee/gr/groldyoshi.h +++ b/src/melee/gr/groldyoshi.h @@ -1 +1,41 @@ +#ifndef GALE01_20E798 +#define GALE01_20E798 +#include + +/* 20E798 */ UNK_RET grOldYoshi_8020E798(UNK_PARAMS); +/* 20E79C */ UNK_RET grOldYoshi_8020E79C(UNK_PARAMS); +/* 20E824 */ UNK_RET grOldYoshi_8020E824(UNK_PARAMS); +/* 20E828 */ UNK_RET grOldYoshi_8020E828(UNK_PARAMS); +/* 20E84C */ UNK_RET grOldYoshi_8020E84C(UNK_PARAMS); +/* 20E854 */ UNK_RET grOldYoshi_8020E854(UNK_PARAMS); +/* 20E93C */ UNK_RET grOldYoshi_8020E93C(UNK_PARAMS); +/* 20E968 */ UNK_RET grOldYoshi_8020E968(UNK_PARAMS); +/* 20E970 */ UNK_RET grOldYoshi_8020E970(UNK_PARAMS); +/* 20E974 */ UNK_RET grOldYoshi_8020E974(UNK_PARAMS); +/* 20E978 */ UNK_RET grOldYoshi_8020E978(UNK_PARAMS); +/* 20E9E0 */ UNK_RET grOldYoshi_8020E9E0(UNK_PARAMS); +/* 20E9E8 */ UNK_RET grOldYoshi_8020E9E8(UNK_PARAMS); +/* 20E9EC */ UNK_RET grOldYoshi_8020E9EC(UNK_PARAMS); +/* 20E9F0 */ UNK_RET grOldYoshi_8020E9F0(UNK_PARAMS); +/* 20EA5C */ UNK_RET grOldYoshi_8020EA5C(UNK_PARAMS); +/* 20EA64 */ UNK_RET grOldYoshi_8020EA64(UNK_PARAMS); +/* 20EA88 */ UNK_RET grOldYoshi_8020EA88(UNK_PARAMS); +/* 20EA8C */ UNK_RET grOldYoshi_8020EA8C(UNK_PARAMS); +/* 20EAEC */ UNK_RET grOldYoshi_8020EAEC(UNK_PARAMS); +/* 20EAF4 */ UNK_RET grOldYoshi_8020EAF4(UNK_PARAMS); +/* 20EAF8 */ UNK_RET grOldYoshi_8020EAF8(UNK_PARAMS); +/* 20EAFC */ UNK_RET grOldYoshi_8020EAFC(UNK_PARAMS); +/* 20EC08 */ UNK_RET grOldYoshi_8020EC08(UNK_PARAMS); +/* 20EC10 */ UNK_RET grOldYoshi_8020EC10(UNK_PARAMS); +/* 20EFC8 */ UNK_RET grOldYoshi_8020EFC8(UNK_PARAMS); +/* 20EFCC */ UNK_RET grOldYoshi_8020EFCC(UNK_PARAMS); +/* 20F080 */ UNK_RET grOldYoshi_8020F080(UNK_PARAMS); +/* 20F088 */ UNK_RET grOldYoshi_8020F088(UNK_PARAMS); +/* 20F2A4 */ UNK_RET grOldYoshi_8020F2A4(UNK_PARAMS); +/* 20F2A8 */ UNK_RET fn_8020F2A8(UNK_PARAMS); +/* 20F31C */ UNK_RET grOldYoshi_8020F31C(UNK_PARAMS); +/* 20F404 */ UNK_RET grOldYoshi_8020F404(UNK_PARAMS); +/* 20F40C */ UNK_RET grOldYoshi_8020F40C(UNK_PARAMS); + +#endif diff --git a/src/melee/gr/gronett.c b/src/melee/gr/gronett.c index 8b13789179..3c819e5e85 100644 --- a/src/melee/gr/gronett.c +++ b/src/melee/gr/gronett.c @@ -1 +1,67 @@ +void grOnett_801E3734(void) {} +/// #grOnett_801E3738 + +void grOnett_801E37C4(void) {} + +/// #grOnett_801E37C8 + +/// #grOnett_801E37EC + +/// #grOnett_801E37F4 + +/// #grOnett_801E38DC + +/// #grOnett_801E3920 + +void grOnett_801E3928(void) {} + +void grOnett_801E392C(void) {} + +/// #fn_801E3930 + +/// #grOnett_801E3A34 + +/// #grOnett_801E3C58 + +/// #grOnett_801E3C60 + +void grOnett_801E3CE0(void) {} + +/// #grOnett_801E3CE4 + +/// #grOnett_801E3D98 + +/// #grOnett_801E3DA0 + +void grOnett_801E40E0(void) {} + +/// #fn_801E40E4 + +/// #fn_801E41B0 + +/// #grOnett_801E41C8 + +/// #grOnett_801E43D8 + +/// #grOnett_801E43E0 + +void grOnett_801E502C(void) {} + +/// #fn_801E5030 + +/// #grOnett_801E5140 + +/// #grOnett_801E5194 + +/// #grOnett_801E5214 + +/// #fn_801E54B4 + +/// #grOnett_801E5538 + +/// #grOnett_801E56FC + +/// #grOnett_801E5760 + +/// #grOnett_801E5768 diff --git a/src/melee/gr/gronett.h b/src/melee/gr/gronett.h index 8b13789179..5aadaf2d98 100644 --- a/src/melee/gr/gronett.h +++ b/src/melee/gr/gronett.h @@ -1 +1,41 @@ +#ifndef GALE01_1E3734 +#define GALE01_1E3734 +#include + +/* 1E3734 */ UNK_RET grOnett_801E3734(UNK_PARAMS); +/* 1E3738 */ UNK_RET grOnett_801E3738(UNK_PARAMS); +/* 1E37C4 */ UNK_RET grOnett_801E37C4(UNK_PARAMS); +/* 1E37C8 */ UNK_RET grOnett_801E37C8(UNK_PARAMS); +/* 1E37EC */ UNK_RET grOnett_801E37EC(UNK_PARAMS); +/* 1E37F4 */ UNK_RET grOnett_801E37F4(UNK_PARAMS); +/* 1E38DC */ UNK_RET grOnett_801E38DC(UNK_PARAMS); +/* 1E3920 */ UNK_RET grOnett_801E3920(UNK_PARAMS); +/* 1E3928 */ UNK_RET grOnett_801E3928(UNK_PARAMS); +/* 1E392C */ UNK_RET grOnett_801E392C(UNK_PARAMS); +/* 1E3930 */ UNK_RET fn_801E3930(UNK_PARAMS); +/* 1E3A34 */ UNK_RET grOnett_801E3A34(UNK_PARAMS); +/* 1E3C58 */ UNK_RET grOnett_801E3C58(UNK_PARAMS); +/* 1E3C60 */ UNK_RET grOnett_801E3C60(UNK_PARAMS); +/* 1E3CE0 */ UNK_RET grOnett_801E3CE0(UNK_PARAMS); +/* 1E3CE4 */ UNK_RET grOnett_801E3CE4(UNK_PARAMS); +/* 1E3D98 */ UNK_RET grOnett_801E3D98(UNK_PARAMS); +/* 1E3DA0 */ UNK_RET grOnett_801E3DA0(UNK_PARAMS); +/* 1E40E0 */ UNK_RET grOnett_801E40E0(UNK_PARAMS); +/* 1E40E4 */ UNK_RET fn_801E40E4(UNK_PARAMS); +/* 1E41B0 */ UNK_RET fn_801E41B0(UNK_PARAMS); +/* 1E41C8 */ UNK_RET grOnett_801E41C8(UNK_PARAMS); +/* 1E43D8 */ UNK_RET grOnett_801E43D8(UNK_PARAMS); +/* 1E43E0 */ UNK_RET grOnett_801E43E0(UNK_PARAMS); +/* 1E502C */ UNK_RET grOnett_801E502C(UNK_PARAMS); +/* 1E5030 */ UNK_RET fn_801E5030(UNK_PARAMS); +/* 1E5140 */ UNK_RET grOnett_801E5140(UNK_PARAMS); +/* 1E5194 */ UNK_RET grOnett_801E5194(UNK_PARAMS); +/* 1E5214 */ UNK_RET grOnett_801E5214(UNK_PARAMS); +/* 1E54B4 */ UNK_RET fn_801E54B4(UNK_PARAMS); +/* 1E5538 */ UNK_RET grOnett_801E5538(UNK_PARAMS); +/* 1E56FC */ UNK_RET grOnett_801E56FC(UNK_PARAMS); +/* 1E5760 */ UNK_RET grOnett_801E5760(UNK_PARAMS); +/* 1E5768 */ UNK_RET grOnett_801E5768(UNK_PARAMS); + +#endif diff --git a/src/melee/gr/grpura.c b/src/melee/gr/grpura.c index 8b13789179..695ba165d6 100644 --- a/src/melee/gr/grpura.c +++ b/src/melee/gr/grpura.c @@ -1 +1,73 @@ +void grPura_80211CFC(void) {} +/// #grPura_80211D00 + +void grPura_80211DD8(void) {} + +/// #grPura_80211DDC + +/// #grPura_80211E00 + +/// #grPura_80211E08 + +/// #grPura_80211EF0 + +/// #grPura_80211F1C + +void grPura_80211F24(void) {} + +void grPura_80211F28(void) {} + +/// #grPura_80211F2C + +/// #grPura_80211F58 + +void grPura_80211F60(void) {} + +void grPura_80211F64(void) {} + +/// #grPura_80211F68 + +/// #grPura_80211FD0 + +/// #grPura_80211FD8 + +void grPura_80212020(void) {} + +/// #grPura_80212024 + +/// #grPura_802120D8 + +/// #grPura_802120E0 + +void grPura_8021228C(void) {} + +/// #grPura_80212290 + +/// #grPura_80212314 + +/// #grPura_8021231C + +void grPura_802125EC(void) {} + +/// #grPura_802125F0 + +/// #grPura_80212CD4 + +/// #grPura_80212EF4 + +/// #grPura_80212FC0 + +/// #grPura_80213030 + +/// #grPura_802130C0 + +/// #grPura_802130C8 + +/// #fn_802130D0 + +/// #grPura_80213128 + +/// #grPura_80213224 + +/// #grPura_80213250 diff --git a/src/melee/gr/grpura.h b/src/melee/gr/grpura.h index 8b13789179..5707df0179 100644 --- a/src/melee/gr/grpura.h +++ b/src/melee/gr/grpura.h @@ -1 +1,44 @@ +#ifndef GALE01_211CFC +#define GALE01_211CFC +#include + +/* 211CFC */ UNK_RET grPura_80211CFC(UNK_PARAMS); +/* 211D00 */ UNK_RET grPura_80211D00(UNK_PARAMS); +/* 211DD8 */ UNK_RET grPura_80211DD8(UNK_PARAMS); +/* 211DDC */ UNK_RET grPura_80211DDC(UNK_PARAMS); +/* 211E00 */ UNK_RET grPura_80211E00(UNK_PARAMS); +/* 211E08 */ UNK_RET grPura_80211E08(UNK_PARAMS); +/* 211EF0 */ UNK_RET grPura_80211EF0(UNK_PARAMS); +/* 211F1C */ UNK_RET grPura_80211F1C(UNK_PARAMS); +/* 211F24 */ UNK_RET grPura_80211F24(UNK_PARAMS); +/* 211F28 */ UNK_RET grPura_80211F28(UNK_PARAMS); +/* 211F2C */ UNK_RET grPura_80211F2C(UNK_PARAMS); +/* 211F58 */ UNK_RET grPura_80211F58(UNK_PARAMS); +/* 211F60 */ UNK_RET grPura_80211F60(UNK_PARAMS); +/* 211F64 */ UNK_RET grPura_80211F64(UNK_PARAMS); +/* 211F68 */ UNK_RET grPura_80211F68(UNK_PARAMS); +/* 211FD0 */ UNK_RET grPura_80211FD0(UNK_PARAMS); +/* 211FD8 */ UNK_RET grPura_80211FD8(UNK_PARAMS); +/* 212020 */ UNK_RET grPura_80212020(UNK_PARAMS); +/* 212024 */ UNK_RET grPura_80212024(UNK_PARAMS); +/* 2120D8 */ UNK_RET grPura_802120D8(UNK_PARAMS); +/* 2120E0 */ UNK_RET grPura_802120E0(UNK_PARAMS); +/* 21228C */ UNK_RET grPura_8021228C(UNK_PARAMS); +/* 212290 */ UNK_RET grPura_80212290(UNK_PARAMS); +/* 212314 */ UNK_RET grPura_80212314(UNK_PARAMS); +/* 21231C */ UNK_RET grPura_8021231C(UNK_PARAMS); +/* 2125EC */ UNK_RET grPura_802125EC(UNK_PARAMS); +/* 2125F0 */ UNK_RET grPura_802125F0(UNK_PARAMS); +/* 212CD4 */ UNK_RET grPura_80212CD4(UNK_PARAMS); +/* 212EF4 */ UNK_RET grPura_80212EF4(UNK_PARAMS); +/* 212FC0 */ UNK_RET grPura_80212FC0(UNK_PARAMS); +/* 213030 */ UNK_RET grPura_80213030(UNK_PARAMS); +/* 2130C0 */ UNK_RET grPura_802130C0(UNK_PARAMS); +/* 2130C8 */ UNK_RET grPura_802130C8(UNK_PARAMS); +/* 2130D0 */ UNK_RET fn_802130D0(UNK_PARAMS); +/* 213128 */ UNK_RET grPura_80213128(UNK_PARAMS); +/* 213224 */ UNK_RET grPura_80213224(UNK_PARAMS); +/* 213250 */ UNK_RET grPura_80213250(UNK_PARAMS); + +#endif diff --git a/src/melee/gr/grpushon.c b/src/melee/gr/grpushon.c index 8b13789179..ab670a8c53 100644 --- a/src/melee/gr/grpushon.c +++ b/src/melee/gr/grpushon.c @@ -1 +1,55 @@ +void grPushOn_802182C4(void) {} +/// #grPushOn_802182C8 + +/// #grPushOn_80218330 + +/// #grPushOn_80218378 + +/// #grPushOn_802183DC + +/// #grPushOn_802183E4 + +/// #grPushOn_802184CC + +/// #grPushOn_80218590 + +void grPushOn_80218598(void) {} + +void grPushOn_8021859C(void) {} + +/// #grPushOn_802185A0 + +/// #grPushOn_80218670 + +/// #fn_80218678 + +/// #grPushOn_802186C8 + +void grPushOn_802187A4(void) {} + +/// #grPushOn_802187A8 + +/// #grPushOn_80218880 + +/// #grPushOn_80218888 + +void grPushOn_80218ED0(void) {} + +/// #grPushOn_80218ED4 + +/// #grPushOn_80218FC0 + +/// #fn_802190A0 + +/// #grPushOn_802190D0 + +/// #grPushOn_80219204 + +/// #grPushOn_80219230 + +/// #fn_802192A4 + +/// #grPushOn_80219458 + +/// #grPushOn_80219528 diff --git a/src/melee/gr/grpushon.h b/src/melee/gr/grpushon.h index 8b13789179..8c001c0079 100644 --- a/src/melee/gr/grpushon.h +++ b/src/melee/gr/grpushon.h @@ -1 +1,35 @@ +#ifndef GALE01_2182C4 +#define GALE01_2182C4 +#include + +/* 2182C4 */ UNK_RET grPushOn_802182C4(UNK_PARAMS); +/* 2182C8 */ UNK_RET grPushOn_802182C8(UNK_PARAMS); +/* 218330 */ UNK_RET grPushOn_80218330(UNK_PARAMS); +/* 218378 */ UNK_RET grPushOn_80218378(UNK_PARAMS); +/* 2183DC */ UNK_RET grPushOn_802183DC(UNK_PARAMS); +/* 2183E4 */ UNK_RET grPushOn_802183E4(UNK_PARAMS); +/* 2184CC */ UNK_RET grPushOn_802184CC(UNK_PARAMS); +/* 218590 */ UNK_RET grPushOn_80218590(UNK_PARAMS); +/* 218598 */ UNK_RET grPushOn_80218598(UNK_PARAMS); +/* 21859C */ UNK_RET grPushOn_8021859C(UNK_PARAMS); +/* 2185A0 */ UNK_RET grPushOn_802185A0(UNK_PARAMS); +/* 218670 */ UNK_RET grPushOn_80218670(UNK_PARAMS); +/* 218678 */ UNK_RET fn_80218678(UNK_PARAMS); +/* 2186C8 */ UNK_RET grPushOn_802186C8(UNK_PARAMS); +/* 2187A4 */ UNK_RET grPushOn_802187A4(UNK_PARAMS); +/* 2187A8 */ UNK_RET grPushOn_802187A8(UNK_PARAMS); +/* 218880 */ UNK_RET grPushOn_80218880(UNK_PARAMS); +/* 218888 */ UNK_RET grPushOn_80218888(UNK_PARAMS); +/* 218ED0 */ UNK_RET grPushOn_80218ED0(UNK_PARAMS); +/* 218ED4 */ UNK_RET grPushOn_80218ED4(UNK_PARAMS); +/* 218FC0 */ UNK_RET grPushOn_80218FC0(UNK_PARAMS); +/* 2190A0 */ UNK_RET fn_802190A0(UNK_PARAMS); +/* 2190D0 */ UNK_RET grPushOn_802190D0(UNK_PARAMS); +/* 219204 */ UNK_RET grPushOn_80219204(UNK_PARAMS); +/* 219230 */ UNK_RET grPushOn_80219230(UNK_PARAMS); +/* 2192A4 */ UNK_RET fn_802192A4(UNK_PARAMS); +/* 219458 */ UNK_RET grPushOn_80219458(UNK_PARAMS); +/* 219528 */ UNK_RET grPushOn_80219528(UNK_PARAMS); + +#endif diff --git a/src/melee/gr/grrcruise.c b/src/melee/gr/grrcruise.c index 8b13789179..c2b467d4f6 100644 --- a/src/melee/gr/grrcruise.c +++ b/src/melee/gr/grrcruise.c @@ -1 +1,104 @@ +void grRCruise_801FF164(void) {} + +/// #grRCruise_801FF168 + +void grRCruise_801FF298(void) {} + +/// #grRCruise_801FF29C + +/// #grRCruise_801FF2C0 + +/// #grRCruise_801FF2C8 + +/// #grRCruise_801FF3B4 + +/// #grRCruise_801FF3E0 + +void grRCruise_801FF3E8(void) {} + +void grRCruise_801FF3EC(void) {} + +/// #grRCruise_801FF3F0 + +/// #grRCruise_801FF434 + +void grRCruise_801FF43C(void) {} + +void grRCruise_801FF440(void) {} + +/// #fn_801FF444 + +/// #grRCruise_801FF5B4 + +/// #grRCruise_801FF6CC + +/// #grRCruise_801FF6D4 + +void grRCruise_801FF738(void) {} + +/// #grRCruise_801FF73C + +/// #grRCruise_801FF794 + +void grRCruise_801FF79C(void) {} + +void grRCruise_801FF7A0(void) {} + +/// #grRCruise_801FF7A4 + +/// #grRCruise_801FF8DC + +/// #grRCruise_801FF8E4 + +void grRCruise_801FF920(void) {} + +/// #grRCruise_801FF924 + +/// #grRCruise_801FFAD4 + +/// #grRCruise_801FFADC + +void grRCruise_80200070(void) {} + +/// #grRCruise_80200074 + +/// #grRCruise_8020014C + +/// #grRCruise_80200154 + +void grRCruise_8020045C(void) {} + +/// #fn_80200460 + +/// #grRCruise_80200540 + +/// #fn_80200578 + +/// #grRCruise_8020071C + +/// #grRCruise_80200B48 + +/// #grRCruise_80200C04 + +/// #fn_802010A4 + +/// #grRCruise_80201110 + +/// #grRCruise_80201288 + +/// #grRCruise_80201410 + +/// #grRCruise_80201588 + +/// #grRCruise_80201918 + +/// #grRCruise_80201988 + +/// #grRCruise_80201B60 + +/// #fn_80201BE0 + +/// #grRCruise_80201C50 + +/// #grRCruise_80201C58 diff --git a/src/melee/gr/grrcruise.h b/src/melee/gr/grrcruise.h index f6b1a5512b..4869038db0 100644 --- a/src/melee/gr/grrcruise.h +++ b/src/melee/gr/grrcruise.h @@ -5,7 +5,57 @@ #include +/* 1FF164 */ UNK_RET grRCruise_801FF164(UNK_PARAMS); +/* 1FF168 */ UNK_RET grRCruise_801FF168(UNK_PARAMS); +/* 1FF298 */ UNK_RET grRCruise_801FF298(UNK_PARAMS); +/* 1FF29C */ UNK_RET grRCruise_801FF29C(UNK_PARAMS); +/* 1FF2C0 */ UNK_RET grRCruise_801FF2C0(UNK_PARAMS); +/* 1FF2C8 */ UNK_RET grRCruise_801FF2C8(UNK_PARAMS); +/* 1FF3B4 */ UNK_RET grRCruise_801FF3B4(UNK_PARAMS); +/* 1FF3E0 */ UNK_RET grRCruise_801FF3E0(UNK_PARAMS); +/* 1FF3E8 */ UNK_RET grRCruise_801FF3E8(UNK_PARAMS); +/* 1FF3EC */ UNK_RET grRCruise_801FF3EC(UNK_PARAMS); +/* 1FF3F0 */ UNK_RET grRCruise_801FF3F0(UNK_PARAMS); +/* 1FF434 */ UNK_RET grRCruise_801FF434(UNK_PARAMS); +/* 1FF43C */ UNK_RET grRCruise_801FF43C(UNK_PARAMS); +/* 1FF440 */ UNK_RET grRCruise_801FF440(UNK_PARAMS); +/* 1FF444 */ UNK_RET fn_801FF444(UNK_PARAMS); +/* 1FF5B4 */ UNK_RET grRCruise_801FF5B4(UNK_PARAMS); +/* 1FF6CC */ UNK_RET grRCruise_801FF6CC(UNK_PARAMS); +/* 1FF6D4 */ UNK_RET grRCruise_801FF6D4(UNK_PARAMS); +/* 1FF738 */ UNK_RET grRCruise_801FF738(UNK_PARAMS); +/* 1FF73C */ UNK_RET grRCruise_801FF73C(UNK_PARAMS); +/* 1FF794 */ UNK_RET grRCruise_801FF794(UNK_PARAMS); +/* 1FF79C */ UNK_RET grRCruise_801FF79C(UNK_PARAMS); +/* 1FF7A0 */ UNK_RET grRCruise_801FF7A0(UNK_PARAMS); +/* 1FF7A4 */ UNK_RET grRCruise_801FF7A4(UNK_PARAMS); +/* 1FF8DC */ UNK_RET grRCruise_801FF8DC(UNK_PARAMS); +/* 1FF8E4 */ UNK_RET grRCruise_801FF8E4(UNK_PARAMS); +/* 1FF920 */ UNK_RET grRCruise_801FF920(UNK_PARAMS); +/* 1FF924 */ UNK_RET grRCruise_801FF924(UNK_PARAMS); +/* 1FFAD4 */ UNK_RET grRCruise_801FFAD4(UNK_PARAMS); +/* 1FFADC */ UNK_RET grRCruise_801FFADC(UNK_PARAMS); +/* 200070 */ UNK_RET grRCruise_80200070(UNK_PARAMS); +/* 200074 */ UNK_RET grRCruise_80200074(UNK_PARAMS); +/* 20014C */ UNK_RET grRCruise_8020014C(UNK_PARAMS); +/* 200154 */ UNK_RET grRCruise_80200154(UNK_PARAMS); +/* 20045C */ UNK_RET grRCruise_8020045C(UNK_PARAMS); +/* 200460 */ UNK_RET fn_80200460(UNK_PARAMS); +/* 200540 */ UNK_RET grRCruise_80200540(UNK_PARAMS); +/* 200578 */ UNK_RET fn_80200578(UNK_PARAMS); +/* 20071C */ UNK_RET grRCruise_8020071C(UNK_PARAMS); +/* 200B48 */ UNK_RET grRCruise_80200B48(UNK_PARAMS); +/* 200C04 */ UNK_RET grRCruise_80200C04(UNK_PARAMS); +/* 2010A4 */ UNK_RET fn_802010A4(UNK_PARAMS); +/* 201110 */ UNK_RET grRCruise_80201110(UNK_PARAMS); +/* 201288 */ UNK_RET grRCruise_80201288(UNK_PARAMS); +/* 201410 */ UNK_RET grRCruise_80201410(UNK_PARAMS); +/* 201588 */ UNK_RET grRCruise_80201588(UNK_PARAMS); /* 201918 */ void grRCruise_80201918(Vec3*); /* 201988 */ UNK_RET grRCruise_80201988(UNK_PARAMS); +/* 201B60 */ UNK_RET grRCruise_80201B60(UNK_PARAMS); +/* 201BE0 */ UNK_RET fn_80201BE0(UNK_PARAMS); +/* 201C50 */ UNK_RET grRCruise_80201C50(UNK_PARAMS); +/* 201C58 */ UNK_RET grRCruise_80201C58(UNK_PARAMS); #endif diff --git a/src/melee/gr/grshrineroute.c b/src/melee/gr/grshrineroute.c index 8b13789179..9a7d2ebd4d 100644 --- a/src/melee/gr/grshrineroute.c +++ b/src/melee/gr/grshrineroute.c @@ -1 +1,89 @@ +/// #grShrineRoute_802087B0 +void grShrineRoute_802087B8(void) {} + +/// #grShrineRoute_802087BC + +/// #grShrineRoute_8020882C + +/// #grShrineRoute_80208850 + +/// #grShrineRoute_802088B8 + +/// #grShrineRoute_802088C0 + +/// #grShrineRoute_802089AC + +/// #grShrineRoute_802089D8 + +void grShrineRoute_802089E0(void) {} + +void grShrineRoute_802089E4(void) {} + +/// #grShrineRoute_802089E8 + +/// #grShrineRoute_80208A28 + +void grShrineRoute_80208A30(void) {} + +void grShrineRoute_80208A34(void) {} + +/// #fn_80208A38 + +/// #grShrineRoute_80208D14 + +/// #grShrineRoute_80208F0C + +/// #fn_80208F14 + +/// #grShrineRoute_80208F70 + +void grShrineRoute_80209AEC(void) {} + +/// #grShrineRoute_80209AF0 + +/// #grShrineRoute_80209BE4 + +/// #grShrineRoute_80209BEC + +void grShrineRoute_8020A100(void) {} + +/// #grShrineRoute_8020A104 + +/// #grShrineRoute_8020A214 + +/// #grShrineRoute_8020A21C + +void grShrineRoute_8020A864(void) {} + +/// #grShrineRoute_8020A868 + +/// #grShrineRoute_8020A894 + +void grShrineRoute_8020A89C(void) {} + +void grShrineRoute_8020A8A0(void) {} + +/// #grShrineRoute_8020A8A4 + +/// #grShrineRoute_8020AA40 + +/// #grShrineRoute_8020AB58 + +/// #grShrineRoute_8020AC44 + +/// #fn_8020AD24 + +/// #fn_8020AD58 + +/// #fn_8020AE08 + +/// #grShrineRoute_8020AF38 + +/// #grShrineRoute_8020B020 + +/// #grShrineRoute_8020B0AC + +/// #grShrineRoute_8020B104 + +/// #grShrineRoute_8020B10C diff --git a/src/melee/gr/grshrineroute.h b/src/melee/gr/grshrineroute.h index 8b13789179..6bb0b7c186 100644 --- a/src/melee/gr/grshrineroute.h +++ b/src/melee/gr/grshrineroute.h @@ -1 +1,52 @@ +#ifndef GALE01_2087B0 +#define GALE01_2087B0 +#include + +/* 2087B0 */ UNK_RET grShrineRoute_802087B0(UNK_PARAMS); +/* 2087B8 */ UNK_RET grShrineRoute_802087B8(UNK_PARAMS); +/* 2087BC */ UNK_RET grShrineRoute_802087BC(UNK_PARAMS); +/* 20882C */ UNK_RET grShrineRoute_8020882C(UNK_PARAMS); +/* 208850 */ UNK_RET grShrineRoute_80208850(UNK_PARAMS); +/* 2088B8 */ UNK_RET grShrineRoute_802088B8(UNK_PARAMS); +/* 2088C0 */ UNK_RET grShrineRoute_802088C0(UNK_PARAMS); +/* 2089AC */ UNK_RET grShrineRoute_802089AC(UNK_PARAMS); +/* 2089D8 */ UNK_RET grShrineRoute_802089D8(UNK_PARAMS); +/* 2089E0 */ UNK_RET grShrineRoute_802089E0(UNK_PARAMS); +/* 2089E4 */ UNK_RET grShrineRoute_802089E4(UNK_PARAMS); +/* 2089E8 */ UNK_RET grShrineRoute_802089E8(UNK_PARAMS); +/* 208A28 */ UNK_RET grShrineRoute_80208A28(UNK_PARAMS); +/* 208A30 */ UNK_RET grShrineRoute_80208A30(UNK_PARAMS); +/* 208A34 */ UNK_RET grShrineRoute_80208A34(UNK_PARAMS); +/* 208A38 */ UNK_RET fn_80208A38(UNK_PARAMS); +/* 208D14 */ UNK_RET grShrineRoute_80208D14(UNK_PARAMS); +/* 208F0C */ UNK_RET grShrineRoute_80208F0C(UNK_PARAMS); +/* 208F14 */ UNK_RET fn_80208F14(UNK_PARAMS); +/* 208F70 */ UNK_RET grShrineRoute_80208F70(UNK_PARAMS); +/* 209AEC */ UNK_RET grShrineRoute_80209AEC(UNK_PARAMS); +/* 209AF0 */ UNK_RET grShrineRoute_80209AF0(UNK_PARAMS); +/* 209BE4 */ UNK_RET grShrineRoute_80209BE4(UNK_PARAMS); +/* 209BEC */ UNK_RET grShrineRoute_80209BEC(UNK_PARAMS); +/* 20A100 */ UNK_RET grShrineRoute_8020A100(UNK_PARAMS); +/* 20A104 */ UNK_RET grShrineRoute_8020A104(UNK_PARAMS); +/* 20A214 */ UNK_RET grShrineRoute_8020A214(UNK_PARAMS); +/* 20A21C */ UNK_RET grShrineRoute_8020A21C(UNK_PARAMS); +/* 20A864 */ UNK_RET grShrineRoute_8020A864(UNK_PARAMS); +/* 20A868 */ UNK_RET grShrineRoute_8020A868(UNK_PARAMS); +/* 20A894 */ UNK_RET grShrineRoute_8020A894(UNK_PARAMS); +/* 20A89C */ UNK_RET grShrineRoute_8020A89C(UNK_PARAMS); +/* 20A8A0 */ UNK_RET grShrineRoute_8020A8A0(UNK_PARAMS); +/* 20A8A4 */ UNK_RET grShrineRoute_8020A8A4(UNK_PARAMS); +/* 20AA40 */ UNK_RET grShrineRoute_8020AA40(UNK_PARAMS); +/* 20AB58 */ UNK_RET grShrineRoute_8020AB58(UNK_PARAMS); +/* 20AC44 */ UNK_RET grShrineRoute_8020AC44(UNK_PARAMS); +/* 20AD24 */ UNK_RET fn_8020AD24(UNK_PARAMS); +/* 20AD58 */ UNK_RET fn_8020AD58(UNK_PARAMS); +/* 20AE08 */ UNK_RET fn_8020AE08(UNK_PARAMS); +/* 20AF38 */ UNK_RET grShrineRoute_8020AF38(UNK_PARAMS); +/* 20B020 */ UNK_RET grShrineRoute_8020B020(UNK_PARAMS); +/* 20B0AC */ UNK_RET grShrineRoute_8020B0AC(UNK_PARAMS); +/* 20B104 */ UNK_RET grShrineRoute_8020B104(UNK_PARAMS); +/* 20B10C */ UNK_RET grShrineRoute_8020B10C(UNK_PARAMS); + +#endif diff --git a/src/melee/gr/grstadium.c b/src/melee/gr/grstadium.c index 8b13789179..f289519267 100644 --- a/src/melee/gr/grstadium.c +++ b/src/melee/gr/grstadium.c @@ -1 +1,155 @@ +void grStadium_801D1018(void) {} +/// #grStadium_801D101C + +void grStadium_801D10C8(void) {} + +/// #grStadium_801D10CC + +/// #grStadium_801D10F0 + +/// #grStadium_801D10F8 + +/// #fn_801D11E4 + +/// #grStadium_801D1290 + +/// #grStadium_801D1388 + +/// #grStadium_801D1390 + +void grStadium_801D13C4(void) {} + +/// #fn_801D13C8 + +/// #grStadium_801D13E0 + +/// #grStadium_801D1518 + +/// #grStadium_801D1520 + +void grStadium_801D156C(void) {} + +/// #grStadium_801D1570 + +/// #grStadium_801D15FC + +/// #grStadium_801D1604 + +/// #grStadium_801D1624 + +/// #grStadium_801D1648 + +/// #grStadium_801D16D4 + +/// #grStadium_801D16DC + +/// #grStadium_801D16FC + +/// #grStadium_801D1720 + +/// #grStadium_801D17E0 + +/// #grStadium_801D17E8 + +/// #grStadium_801D1808 + +/// #grStadium_801D1840 + +/// #grStadium_801D19D0 + +/// #grStadium_801D19D8 + +/// #grStadium_801D19F8 + +/// #grStadium_801D1A38 + +/// #grStadium_801D1B40 + +/// #grStadium_801D1B48 + +/// #grStadium_801D1D84 + +/// #grStadium_801D1DE4 + +/// #grStadium_801D1E10 + +void grStadium_801D1E18(void) {} + +void grStadium_801D1E1C(void) {} + +/// #grStadium_801D1E20 + +/// #grStadium_801D1EF8 + +/// #grStadium_801D21E4 + +/// #grStadium_801D2278 + +/// #grStadium_801D2344 + +/// #grStadium_801D2528 + +/// #grStadium_801D2A60 + +/// #grStadium_801D2BEC + +/// #grStadium_801D2D78 + +/// #grStadium_801D2E24 + +/// #fn_801D2ED0 + +/// #fn_801D2FD0 + +/// #fn_801D3084 + +/// #grStadium_801D3138 + +/// #grStadium_801D32D0 + +/// #grStadium_801D3460 + +/// #grStadium_801D384C + +/// #grStadium_801D39A0 + +/// #grStadium_801D3A0C + +/// #grStadium_801D3B4C + +/// #grStadium_801D3BBC + +/// #grStadium_801D3F40 + +/// #grStadium_801D4040 + +/// #grStadium_801D4084 + +/// #grStadium_801D40C8 + +/// #grStadium_801D410C + +/// #grStadium_801D4150 + +/// #grStadium_801D4194 + +/// #fn_801D4220 + +/// #grStadium_801D42B8 + +/// #grStadium_801D4354 + +/// #grStadium_801D435C + +/// #grStadium_801D4548 + +/// #grStadium_801D4FF8 + +/// #fn_801D5074 + +/// #grStadium_801D50B8 + +/// #grStadium_801D50C0 + +/// #grStadium_801D511C diff --git a/src/melee/gr/grstadium.h b/src/melee/gr/grstadium.h index d7953bce62..b22cc112f2 100644 --- a/src/melee/gr/grstadium.h +++ b/src/melee/gr/grstadium.h @@ -4,8 +4,86 @@ #include #include +#include + +/* 1D1018 */ UNK_RET grStadium_801D1018(UNK_PARAMS); +/* 1D101C */ UNK_RET grStadium_801D101C(UNK_PARAMS); +/* 1D10C8 */ UNK_RET grStadium_801D10C8(UNK_PARAMS); +/* 1D10CC */ UNK_RET grStadium_801D10CC(UNK_PARAMS); +/* 1D10F0 */ UNK_RET grStadium_801D10F0(UNK_PARAMS); +/* 1D10F8 */ UNK_RET grStadium_801D10F8(UNK_PARAMS); +/* 1D11E4 */ UNK_RET fn_801D11E4(UNK_PARAMS); +/* 1D1290 */ UNK_RET grStadium_801D1290(UNK_PARAMS); +/* 1D1388 */ UNK_RET grStadium_801D1388(UNK_PARAMS); +/* 1D1390 */ UNK_RET grStadium_801D1390(UNK_PARAMS); +/* 1D13C4 */ UNK_RET grStadium_801D13C4(UNK_PARAMS); +/* 1D13C8 */ UNK_RET fn_801D13C8(UNK_PARAMS); +/* 1D13E0 */ UNK_RET grStadium_801D13E0(UNK_PARAMS); +/* 1D1518 */ UNK_RET grStadium_801D1518(UNK_PARAMS); +/* 1D1520 */ UNK_RET grStadium_801D1520(UNK_PARAMS); +/* 1D156C */ UNK_RET grStadium_801D156C(UNK_PARAMS); +/* 1D1570 */ UNK_RET grStadium_801D1570(UNK_PARAMS); +/* 1D15FC */ UNK_RET grStadium_801D15FC(UNK_PARAMS); +/* 1D1604 */ UNK_RET grStadium_801D1604(UNK_PARAMS); +/* 1D1624 */ UNK_RET grStadium_801D1624(UNK_PARAMS); +/* 1D1648 */ UNK_RET grStadium_801D1648(UNK_PARAMS); +/* 1D16D4 */ UNK_RET grStadium_801D16D4(UNK_PARAMS); +/* 1D16DC */ UNK_RET grStadium_801D16DC(UNK_PARAMS); +/* 1D16FC */ UNK_RET grStadium_801D16FC(UNK_PARAMS); +/* 1D1720 */ UNK_RET grStadium_801D1720(UNK_PARAMS); +/* 1D17E0 */ UNK_RET grStadium_801D17E0(UNK_PARAMS); +/* 1D17E8 */ UNK_RET grStadium_801D17E8(UNK_PARAMS); +/* 1D1808 */ UNK_RET grStadium_801D1808(UNK_PARAMS); +/* 1D1840 */ UNK_RET grStadium_801D1840(UNK_PARAMS); +/* 1D19D0 */ UNK_RET grStadium_801D19D0(UNK_PARAMS); +/* 1D19D8 */ UNK_RET grStadium_801D19D8(UNK_PARAMS); +/* 1D19F8 */ UNK_RET grStadium_801D19F8(UNK_PARAMS); +/* 1D1A38 */ UNK_RET grStadium_801D1A38(UNK_PARAMS); +/* 1D1B40 */ UNK_RET grStadium_801D1B40(UNK_PARAMS); +/* 1D1B48 */ UNK_RET grStadium_801D1B48(UNK_PARAMS); +/* 1D1D84 */ UNK_RET grStadium_801D1D84(UNK_PARAMS); +/* 1D1DE4 */ UNK_RET grStadium_801D1DE4(UNK_PARAMS); +/* 1D1E10 */ UNK_RET grStadium_801D1E10(UNK_PARAMS); +/* 1D1E18 */ UNK_RET grStadium_801D1E18(UNK_PARAMS); +/* 1D1E1C */ UNK_RET grStadium_801D1E1C(UNK_PARAMS); +/* 1D1E20 */ UNK_RET grStadium_801D1E20(UNK_PARAMS); +/* 1D1EF8 */ UNK_RET grStadium_801D1EF8(UNK_PARAMS); +/* 1D21E4 */ UNK_RET grStadium_801D21E4(UNK_PARAMS); +/* 1D2278 */ UNK_RET grStadium_801D2278(UNK_PARAMS); +/* 1D2344 */ UNK_RET grStadium_801D2344(UNK_PARAMS); +/* 1D2528 */ UNK_RET grStadium_801D2528(UNK_PARAMS); +/* 1D2A60 */ UNK_RET grStadium_801D2A60(UNK_PARAMS); +/* 1D2BEC */ UNK_RET grStadium_801D2BEC(UNK_PARAMS); +/* 1D2D78 */ UNK_RET grStadium_801D2D78(UNK_PARAMS); +/* 1D2E24 */ UNK_RET grStadium_801D2E24(UNK_PARAMS); +/* 1D2ED0 */ UNK_RET fn_801D2ED0(UNK_PARAMS); +/* 1D2FD0 */ UNK_RET fn_801D2FD0(UNK_PARAMS); +/* 1D3084 */ UNK_RET fn_801D3084(UNK_PARAMS); +/* 1D3138 */ UNK_RET grStadium_801D3138(UNK_PARAMS); +/* 1D32D0 */ UNK_RET grStadium_801D32D0(UNK_PARAMS); +/* 1D3460 */ UNK_RET grStadium_801D3460(UNK_PARAMS); +/* 1D384C */ UNK_RET grStadium_801D384C(UNK_PARAMS); /* 1D39A0 */ void grStadium_801D39A0(HSD_GObj*); +/* 1D3A0C */ UNK_RET grStadium_801D3A0C(UNK_PARAMS); +/* 1D3B4C */ UNK_RET grStadium_801D3B4C(UNK_PARAMS); +/* 1D3BBC */ UNK_RET grStadium_801D3BBC(UNK_PARAMS); +/* 1D3F40 */ UNK_RET grStadium_801D3F40(UNK_PARAMS); +/* 1D4040 */ UNK_RET grStadium_801D4040(UNK_PARAMS); +/* 1D4084 */ UNK_RET grStadium_801D4084(UNK_PARAMS); +/* 1D40C8 */ UNK_RET grStadium_801D40C8(UNK_PARAMS); +/* 1D410C */ UNK_RET grStadium_801D410C(UNK_PARAMS); +/* 1D4150 */ UNK_RET grStadium_801D4150(UNK_PARAMS); +/* 1D4194 */ UNK_RET grStadium_801D4194(UNK_PARAMS); +/* 1D4220 */ UNK_RET fn_801D4220(UNK_PARAMS); +/* 1D42B8 */ UNK_RET grStadium_801D42B8(UNK_PARAMS); +/* 1D4354 */ UNK_RET grStadium_801D4354(UNK_PARAMS); +/* 1D435C */ UNK_RET grStadium_801D435C(UNK_PARAMS); +/* 1D4548 */ UNK_RET grStadium_801D4548(UNK_PARAMS); /* 1D4FF8 */ bool grStadium_801D4FF8(int pl_slot); +/* 1D5074 */ UNK_RET fn_801D5074(UNK_PARAMS); +/* 1D50B8 */ UNK_RET grStadium_801D50B8(UNK_PARAMS); +/* 1D50C0 */ UNK_RET grStadium_801D50C0(UNK_PARAMS); +/* 1D511C */ UNK_RET grStadium_801D511C(UNK_PARAMS); /* 1D511C */ void grStadium_801D511C(void); #endif diff --git a/src/melee/gr/grtest.c b/src/melee/gr/grtest.c index 8b13789179..b125a4ae7a 100644 --- a/src/melee/gr/grtest.c +++ b/src/melee/gr/grtest.c @@ -1 +1,42 @@ +void grTest_80206E2C(void) {} + +/// #grTest_80206E30 + +void grTest_80207014(void) {} + +/// #grTest_80207018 + +/// #grTest_8020703C + +/// #grTest_80207044 + +/// #grTest_80207130 + +/// #grTest_8020715C + +void grTest_80207164(void) {} + +void grTest_80207168(void) {} + +/// #grTest_8020716C + +/// #grTest_802071BC + +/// #grTest_802071C4 + +void grTest_802073AC(void) {} + +/// #fn_802073B0 + +/// #grTest_802073D0 + +/// #grTest_802073FC + +void grTest_80207404(void) {} + +void grTest_80207408(void) {} + +/// #grTest_8020740C + +/// #grTest_80207414 diff --git a/src/melee/gr/grtest.h b/src/melee/gr/grtest.h index 8b13789179..2464375537 100644 --- a/src/melee/gr/grtest.h +++ b/src/melee/gr/grtest.h @@ -1 +1,28 @@ +#ifndef GALE01_206E2C +#define GALE01_206E2C +#include + +/* 206E2C */ UNK_RET grTest_80206E2C(UNK_PARAMS); +/* 206E30 */ UNK_RET grTest_80206E30(UNK_PARAMS); +/* 207014 */ UNK_RET grTest_80207014(UNK_PARAMS); +/* 207018 */ UNK_RET grTest_80207018(UNK_PARAMS); +/* 20703C */ UNK_RET grTest_8020703C(UNK_PARAMS); +/* 207044 */ UNK_RET grTest_80207044(UNK_PARAMS); +/* 207130 */ UNK_RET grTest_80207130(UNK_PARAMS); +/* 20715C */ UNK_RET grTest_8020715C(UNK_PARAMS); +/* 207164 */ UNK_RET grTest_80207164(UNK_PARAMS); +/* 207168 */ UNK_RET grTest_80207168(UNK_PARAMS); +/* 20716C */ UNK_RET grTest_8020716C(UNK_PARAMS); +/* 2071BC */ UNK_RET grTest_802071BC(UNK_PARAMS); +/* 2071C4 */ UNK_RET grTest_802071C4(UNK_PARAMS); +/* 2073AC */ UNK_RET grTest_802073AC(UNK_PARAMS); +/* 2073B0 */ UNK_RET fn_802073B0(UNK_PARAMS); +/* 2073D0 */ UNK_RET grTest_802073D0(UNK_PARAMS); +/* 2073FC */ UNK_RET grTest_802073FC(UNK_PARAMS); +/* 207404 */ UNK_RET grTest_80207404(UNK_PARAMS); +/* 207408 */ UNK_RET grTest_80207408(UNK_PARAMS); +/* 20740C */ UNK_RET grTest_8020740C(UNK_PARAMS); +/* 207414 */ UNK_RET grTest_80207414(UNK_PARAMS); + +#endif diff --git a/src/melee/gr/grvenom.c b/src/melee/gr/grvenom.c index 8b13789179..3eb161ac4a 100644 --- a/src/melee/gr/grvenom.c +++ b/src/melee/gr/grvenom.c @@ -1 +1,122 @@ +/// #grVenom_8020362C + +void grVenom_80203B14(void) {} + +/// #grVenom_80203B18 + +/// #grVenom_80203DD0 + +/// #grVenom_80203E80 + +/// #grVenom_80203EA4 + +/// #grVenom_80203EAC + +/// #grVenom_80203F98 + +/// #grVenom_80203FC4 + +void grVenom_80203FCC(void) {} + +void grVenom_80203FD0(void) {} + +/// #grVenom_80203FD4 + +/// #grVenom_802040A4 + +void grVenom_802040AC(void) {} + +void grVenom_802040B0(void) {} + +/// #fn_802040B4 + +/// #grVenom_802040F0 + +/// #grVenom_8020427C + +/// #grVenom_80204284 + +void grVenom_80204424(void) {} + +/// #grVenom_80204428 + +/// #grVenom_80204544 + +/// #grVenom_8020454C + +void grVenom_80204B84(void) {} + +/// #grVenom_80204B88 + +void grVenom_80204CE0(void) {} + +/// #grVenom_80204CE4 + +/// #grVenom_80204CEC + +/// #grVenom_80204DB0 + +/// #grVenom_80204DD4 + +/// #grVenom_80204EF4 + +/// #grVenom_80204EFC + +void grVenom_80204F1C(void) {} + +/// #grVenom_80204F20 + +/// #grVenom_802052D8 + +/// #grVenom_802052E0 + +/// #grVenom_802053B0 + +void grVenom_802056AC(void) {} + +/// #grVenom_802056B0 + +/// #grVenom_80205750 + +/// #grVenom_80205758 + +void grVenom_80205AD0(void) {} + +/// #grVenom_80205AD4 + +/// #grVenom_80205DF0 + +/// #grVenom_80205DF8 + +/// #grVenom_80205E84 + +/// #grVenom_80205F30 + +void grVenom_80206870(void) {} + +/// #grVenom_80206874 + +/// #grVenom_80206B68 + +/// #grVenom_80206B70 + +void grVenom_80206B90(void) {} + +/// #grVenom_80206B94 + +/// #grVenom_80206BBC + +/// #grVenom_80206BC4 + +void grVenom_80206BEC(void) {} + +/// #grVenom_80206BF0 + +/// #grVenom_80206CB0 + +/// #grVenom_80206D10 + +/// #grVenom_80206D74 + +/// #grVenom_80206D7C diff --git a/src/melee/gr/grvenom.h b/src/melee/gr/grvenom.h index c57790f42c..dc7de63d02 100644 --- a/src/melee/gr/grvenom.h +++ b/src/melee/gr/grvenom.h @@ -3,6 +3,66 @@ #include +/* 20362C */ UNK_RET grVenom_8020362C(UNK_PARAMS); +/* 203B14 */ UNK_RET grVenom_80203B14(UNK_PARAMS); +/* 203B18 */ UNK_RET grVenom_80203B18(UNK_PARAMS); +/* 203DD0 */ UNK_RET grVenom_80203DD0(UNK_PARAMS); +/* 203E80 */ UNK_RET grVenom_80203E80(UNK_PARAMS); +/* 203EA4 */ UNK_RET grVenom_80203EA4(UNK_PARAMS); +/* 203EAC */ UNK_RET grVenom_80203EAC(UNK_PARAMS); +/* 203F98 */ UNK_RET grVenom_80203F98(UNK_PARAMS); +/* 203FC4 */ UNK_RET grVenom_80203FC4(UNK_PARAMS); +/* 203FCC */ UNK_RET grVenom_80203FCC(UNK_PARAMS); +/* 203FD0 */ UNK_RET grVenom_80203FD0(UNK_PARAMS); +/* 203FD4 */ UNK_RET grVenom_80203FD4(UNK_PARAMS); +/* 2040A4 */ UNK_RET grVenom_802040A4(UNK_PARAMS); +/* 2040AC */ UNK_RET grVenom_802040AC(UNK_PARAMS); +/* 2040B0 */ UNK_RET grVenom_802040B0(UNK_PARAMS); +/* 2040B4 */ UNK_RET fn_802040B4(UNK_PARAMS); +/* 2040F0 */ UNK_RET grVenom_802040F0(UNK_PARAMS); +/* 20427C */ UNK_RET grVenom_8020427C(UNK_PARAMS); +/* 204284 */ UNK_RET grVenom_80204284(UNK_PARAMS); +/* 204424 */ UNK_RET grVenom_80204424(UNK_PARAMS); +/* 204428 */ UNK_RET grVenom_80204428(UNK_PARAMS); +/* 204544 */ UNK_RET grVenom_80204544(UNK_PARAMS); +/* 20454C */ UNK_RET grVenom_8020454C(UNK_PARAMS); +/* 204B84 */ UNK_RET grVenom_80204B84(UNK_PARAMS); +/* 204B88 */ UNK_RET grVenom_80204B88(UNK_PARAMS); +/* 204CE0 */ UNK_RET grVenom_80204CE0(UNK_PARAMS); +/* 204CE4 */ UNK_RET grVenom_80204CE4(UNK_PARAMS); +/* 204CEC */ UNK_RET grVenom_80204CEC(UNK_PARAMS); +/* 204DB0 */ UNK_RET grVenom_80204DB0(UNK_PARAMS); +/* 204DD4 */ UNK_RET grVenom_80204DD4(UNK_PARAMS); +/* 204EF4 */ UNK_RET grVenom_80204EF4(UNK_PARAMS); +/* 204EFC */ UNK_RET grVenom_80204EFC(UNK_PARAMS); +/* 204F1C */ UNK_RET grVenom_80204F1C(UNK_PARAMS); +/* 204F20 */ UNK_RET grVenom_80204F20(UNK_PARAMS); +/* 2052D8 */ UNK_RET grVenom_802052D8(UNK_PARAMS); +/* 2052E0 */ UNK_RET grVenom_802052E0(UNK_PARAMS); +/* 2053B0 */ UNK_RET grVenom_802053B0(UNK_PARAMS); +/* 2056AC */ UNK_RET grVenom_802056AC(UNK_PARAMS); +/* 2056B0 */ UNK_RET grVenom_802056B0(UNK_PARAMS); +/* 205750 */ UNK_RET grVenom_80205750(UNK_PARAMS); +/* 205758 */ UNK_RET grVenom_80205758(UNK_PARAMS); +/* 205AD0 */ UNK_RET grVenom_80205AD0(UNK_PARAMS); +/* 205AD4 */ UNK_RET grVenom_80205AD4(UNK_PARAMS); +/* 205DF0 */ UNK_RET grVenom_80205DF0(UNK_PARAMS); +/* 205DF8 */ UNK_RET grVenom_80205DF8(UNK_PARAMS); +/* 205E84 */ UNK_RET grVenom_80205E84(UNK_PARAMS); +/* 205F30 */ UNK_RET grVenom_80205F30(UNK_PARAMS); +/* 206870 */ UNK_RET grVenom_80206870(UNK_PARAMS); +/* 206874 */ UNK_RET grVenom_80206874(UNK_PARAMS); +/* 206B68 */ UNK_RET grVenom_80206B68(UNK_PARAMS); +/* 206B70 */ UNK_RET grVenom_80206B70(UNK_PARAMS); +/* 206B90 */ UNK_RET grVenom_80206B90(UNK_PARAMS); +/* 206B94 */ UNK_RET grVenom_80206B94(UNK_PARAMS); +/* 206BBC */ UNK_RET grVenom_80206BBC(UNK_PARAMS); +/* 206BC4 */ UNK_RET grVenom_80206BC4(UNK_PARAMS); +/* 206BEC */ UNK_RET grVenom_80206BEC(UNK_PARAMS); +/* 206BF0 */ UNK_RET grVenom_80206BF0(UNK_PARAMS); +/* 206CB0 */ UNK_RET grVenom_80206CB0(UNK_PARAMS); /* 206D10 */ bool grVenom_80206D10(enum_t); +/* 206D74 */ UNK_RET grVenom_80206D74(UNK_PARAMS); +/* 206D7C */ UNK_RET grVenom_80206D7C(UNK_PARAMS); #endif diff --git a/src/melee/gr/gryorster.c b/src/melee/gr/gryorster.c index 8b13789179..71204cee8a 100644 --- a/src/melee/gr/gryorster.c +++ b/src/melee/gr/gryorster.c @@ -1 +1,42 @@ +void grYorster_80201FA0(void) {} + +/// #grYorster_80201FA4 + +void grYorster_8020200C(void) {} + +/// #grYorster_80202010 + +/// #grYorster_80202034 + +/// #grYorster_8020203C + +/// #grYorster_80202124 + +/// #grYorster_80202150 + +void grYorster_80202158(void) {} + +void grYorster_8020215C(void) {} + +/// #fn_80202160 + +/// #grYorster_802021AC + +/// #grYorster_8020224C + +/// #grYorster_80202254 + +void grYorster_802022A0(void) {} + +/// #grYorster_802022A4 + +/// #fn_80202428 + +/// #fn_802024F0 + +/// #grYorster_8020266C + +/// #grYorster_80202B5C + +/// #grYorster_80202B64 diff --git a/src/melee/gr/gryorster.h b/src/melee/gr/gryorster.h index 8b13789179..353506133e 100644 --- a/src/melee/gr/gryorster.h +++ b/src/melee/gr/gryorster.h @@ -1 +1,28 @@ +#ifndef GALE01_201FA0 +#define GALE01_201FA0 +#include + +/* 201FA0 */ UNK_RET grYorster_80201FA0(UNK_PARAMS); +/* 201FA4 */ UNK_RET grYorster_80201FA4(UNK_PARAMS); +/* 20200C */ UNK_RET grYorster_8020200C(UNK_PARAMS); +/* 202010 */ UNK_RET grYorster_80202010(UNK_PARAMS); +/* 202034 */ UNK_RET grYorster_80202034(UNK_PARAMS); +/* 20203C */ UNK_RET grYorster_8020203C(UNK_PARAMS); +/* 202124 */ UNK_RET grYorster_80202124(UNK_PARAMS); +/* 202150 */ UNK_RET grYorster_80202150(UNK_PARAMS); +/* 202158 */ UNK_RET grYorster_80202158(UNK_PARAMS); +/* 20215C */ UNK_RET grYorster_8020215C(UNK_PARAMS); +/* 202160 */ UNK_RET fn_80202160(UNK_PARAMS); +/* 2021AC */ UNK_RET grYorster_802021AC(UNK_PARAMS); +/* 20224C */ UNK_RET grYorster_8020224C(UNK_PARAMS); +/* 202254 */ UNK_RET grYorster_80202254(UNK_PARAMS); +/* 2022A0 */ UNK_RET grYorster_802022A0(UNK_PARAMS); +/* 2022A4 */ UNK_RET grYorster_802022A4(UNK_PARAMS); +/* 202428 */ UNK_RET fn_80202428(UNK_PARAMS); +/* 2024F0 */ UNK_RET fn_802024F0(UNK_PARAMS); +/* 20266C */ UNK_RET grYorster_8020266C(UNK_PARAMS); +/* 202B5C */ UNK_RET grYorster_80202B5C(UNK_PARAMS); +/* 202B64 */ UNK_RET grYorster_80202B64(UNK_PARAMS); + +#endif diff --git a/src/melee/gr/grzebes.c b/src/melee/gr/grzebes.c index 8b13789179..32314940df 100644 --- a/src/melee/gr/grzebes.c +++ b/src/melee/gr/grzebes.c @@ -1 +1,111 @@ +void grZebes_801D84A0(void) {} +/// #grZebes_801D84A4 + +void grZebes_801D8528(void) {} + +/// #grZebes_801D852C + +/// #grZebes_801D8550 + +/// #grZebes_801D8558 + +/// #grZebes_801D8644 + +/// #grZebes_801D8814 + +/// #grZebes_801D881C + +void grZebes_801D90FC(void) {} + +/// #grZebes_801D9100 + +/// #grZebes_801D9254 + +/// #grZebes_801D925C + +void grZebes_801D93D8(void) {} + +/// #grZebes_801D93DC + +/// #grZebes_801D9408 + +/// #grZebes_801D9410 + +void grZebes_801D94EC(void) {} + +/// #fn_801D94F0 + +/// #grZebes_801D9508 + +/// #grZebes_801D95B0 + +/// #grZebes_801D95B8 + +void grZebes_801D9754(void) {} + +/// #fn_801D9758 + +/// #grZebes_801D9798 + +/// #grZebes_801D99D8 + +/// #grZebes_801D99E0 + +void grZebes_801D9F2C(void) {} + +/// #grZebes_801D9F30 + +/// #grZebes_801D9F7C + +/// #grZebes_801D9F84 + +void grZebes_801DA0C0(void) {} + +/// #grZebes_801DA0C4 + +/// #grZebes_801DA254 + +/// #grZebes_801DA3E8 + +/// #grZebes_801DA3F4 + +/// #grZebes_801DA4FC + +/// #grZebes_801DA528 + +/// #fn_801DA9D8 + +/// #fn_801DA9F0 + +/// #grZebes_801DAA08 + +/// #fn_801DAC90 + +/// #grZebes_801DAE70 + +/// #grZebes_801DB088 + +/// #grZebes_801DB3CC + +/// #grZebes_801DBB60 + +/// #grZebes_801DC260 + +/// #grZebes_801DC408 + +/// #grZebes_801DC744 + +/// #grZebes_801DC9DC + +/// #fn_801DCB64 + +/// #fn_801DCBB0 + +/// #fn_801DCBFC + +/// #grZebes_801DCCB8 + +/// #grZebes_801DCCC0 + +/// #grZebes_801DCCC8 diff --git a/src/melee/gr/grzebes.h b/src/melee/gr/grzebes.h index d5ae00755b..dfc8ca0f73 100644 --- a/src/melee/gr/grzebes.h +++ b/src/melee/gr/grzebes.h @@ -3,6 +3,61 @@ #include -void grZebes_801DA3F4(UNK_T); +/* 1D84A0 */ UNK_RET grZebes_801D84A0(UNK_PARAMS); +/* 1D84A4 */ UNK_RET grZebes_801D84A4(UNK_PARAMS); +/* 1D8528 */ UNK_RET grZebes_801D8528(UNK_PARAMS); +/* 1D852C */ UNK_RET grZebes_801D852C(UNK_PARAMS); +/* 1D8550 */ UNK_RET grZebes_801D8550(UNK_PARAMS); +/* 1D8558 */ UNK_RET grZebes_801D8558(UNK_PARAMS); +/* 1D8644 */ UNK_RET grZebes_801D8644(UNK_PARAMS); +/* 1D8814 */ UNK_RET grZebes_801D8814(UNK_PARAMS); +/* 1D881C */ UNK_RET grZebes_801D881C(UNK_PARAMS); +/* 1D90FC */ UNK_RET grZebes_801D90FC(UNK_PARAMS); +/* 1D9100 */ UNK_RET grZebes_801D9100(UNK_PARAMS); +/* 1D9254 */ UNK_RET grZebes_801D9254(UNK_PARAMS); +/* 1D925C */ UNK_RET grZebes_801D925C(UNK_PARAMS); +/* 1D93D8 */ UNK_RET grZebes_801D93D8(UNK_PARAMS); +/* 1D93DC */ UNK_RET grZebes_801D93DC(UNK_PARAMS); +/* 1D9408 */ UNK_RET grZebes_801D9408(UNK_PARAMS); +/* 1D9410 */ UNK_RET grZebes_801D9410(UNK_PARAMS); +/* 1D94EC */ UNK_RET grZebes_801D94EC(UNK_PARAMS); +/* 1D94F0 */ UNK_RET fn_801D94F0(UNK_PARAMS); +/* 1D9508 */ UNK_RET grZebes_801D9508(UNK_PARAMS); +/* 1D95B0 */ UNK_RET grZebes_801D95B0(UNK_PARAMS); +/* 1D95B8 */ UNK_RET grZebes_801D95B8(UNK_PARAMS); +/* 1D9754 */ UNK_RET grZebes_801D9754(UNK_PARAMS); +/* 1D9758 */ UNK_RET fn_801D9758(UNK_PARAMS); +/* 1D9798 */ UNK_RET grZebes_801D9798(UNK_PARAMS); +/* 1D99D8 */ UNK_RET grZebes_801D99D8(UNK_PARAMS); +/* 1D99E0 */ UNK_RET grZebes_801D99E0(UNK_PARAMS); +/* 1D9F2C */ UNK_RET grZebes_801D9F2C(UNK_PARAMS); +/* 1D9F30 */ UNK_RET grZebes_801D9F30(UNK_PARAMS); +/* 1D9F7C */ UNK_RET grZebes_801D9F7C(UNK_PARAMS); +/* 1D9F84 */ UNK_RET grZebes_801D9F84(UNK_PARAMS); +/* 1DA0C0 */ UNK_RET grZebes_801DA0C0(UNK_PARAMS); +/* 1DA0C4 */ UNK_RET grZebes_801DA0C4(UNK_PARAMS); +/* 1DA254 */ UNK_RET grZebes_801DA254(UNK_PARAMS); +/* 1DA3E8 */ UNK_RET grZebes_801DA3E8(UNK_PARAMS); +/* 1DA3F4 */ void grZebes_801DA3F4(UNK_T); +/* 1DA4FC */ UNK_RET grZebes_801DA4FC(UNK_PARAMS); +/* 1DA528 */ UNK_RET grZebes_801DA528(UNK_PARAMS); +/* 1DA9D8 */ UNK_RET fn_801DA9D8(UNK_PARAMS); +/* 1DA9F0 */ UNK_RET fn_801DA9F0(UNK_PARAMS); +/* 1DAA08 */ UNK_RET grZebes_801DAA08(UNK_PARAMS); +/* 1DAC90 */ UNK_RET fn_801DAC90(UNK_PARAMS); +/* 1DAE70 */ UNK_RET grZebes_801DAE70(UNK_PARAMS); +/* 1DB088 */ UNK_RET grZebes_801DB088(UNK_PARAMS); +/* 1DB3CC */ UNK_RET grZebes_801DB3CC(UNK_PARAMS); +/* 1DBB60 */ UNK_RET grZebes_801DBB60(UNK_PARAMS); +/* 1DC260 */ UNK_RET grZebes_801DC260(UNK_PARAMS); +/* 1DC408 */ UNK_RET grZebes_801DC408(UNK_PARAMS); +/* 1DC744 */ UNK_RET grZebes_801DC744(UNK_PARAMS); +/* 1DC9DC */ UNK_RET grZebes_801DC9DC(UNK_PARAMS); +/* 1DCB64 */ UNK_RET fn_801DCB64(UNK_PARAMS); +/* 1DCBB0 */ UNK_RET fn_801DCBB0(UNK_PARAMS); +/* 1DCBFC */ UNK_RET fn_801DCBFC(UNK_PARAMS); +/* 1DCCB8 */ UNK_RET grZebes_801DCCB8(UNK_PARAMS); +/* 1DCCC0 */ UNK_RET grZebes_801DCCC0(UNK_PARAMS); +/* 1DCCC8 */ UNK_RET grZebes_801DCCC8(UNK_PARAMS); #endif diff --git a/src/melee/gr/grzebesroute.c b/src/melee/gr/grzebesroute.c index 8b13789179..350f2f33df 100644 --- a/src/melee/gr/grzebesroute.c +++ b/src/melee/gr/grzebesroute.c @@ -1 +1,44 @@ +void grZebesRoute_8020B160(void) {} + +/// #grZebesRoute_8020B164 + +/// #grZebesRoute_8020B1D4 + +/// #grZebesRoute_8020B1F4 + +/// #grZebesRoute_8020B258 + +/// #grZebesRoute_8020B260 + +/// #grZebesRoute_8020B348 + +/// #grZebesRoute_8020B374 + +void grZebesRoute_8020B37C(void) {} + +void grZebesRoute_8020B380(void) {} + +/// #grZebesRoute_8020B384 + +/// #grZebesRoute_8020B3B0 + +void grZebesRoute_8020B3B8(void) {} + +void grZebesRoute_8020B3BC(void) {} + +/// #grZebesRoute_8020B3C0 + +/// #grZebesRoute_8020B424 + +/// #grZebesRoute_8020B42C + +void grZebesRoute_8020B4D4(void) {} + +/// #fn_8020B4D8 + +/// #grZebesRoute_8020B548 + +/// #grZebesRoute_8020B854 + +/// #grZebesRoute_8020B85C diff --git a/src/melee/gr/grzebesroute.h b/src/melee/gr/grzebesroute.h index 8b13789179..0f49c2f84b 100644 --- a/src/melee/gr/grzebesroute.h +++ b/src/melee/gr/grzebesroute.h @@ -1 +1,29 @@ +#ifndef GALE01_20B160 +#define GALE01_20B160 +#include + +/* 20B160 */ UNK_RET grZebesRoute_8020B160(UNK_PARAMS); +/* 20B164 */ UNK_RET grZebesRoute_8020B164(UNK_PARAMS); +/* 20B1D4 */ UNK_RET grZebesRoute_8020B1D4(UNK_PARAMS); +/* 20B1F4 */ UNK_RET grZebesRoute_8020B1F4(UNK_PARAMS); +/* 20B258 */ UNK_RET grZebesRoute_8020B258(UNK_PARAMS); +/* 20B260 */ UNK_RET grZebesRoute_8020B260(UNK_PARAMS); +/* 20B348 */ UNK_RET grZebesRoute_8020B348(UNK_PARAMS); +/* 20B374 */ UNK_RET grZebesRoute_8020B374(UNK_PARAMS); +/* 20B37C */ UNK_RET grZebesRoute_8020B37C(UNK_PARAMS); +/* 20B380 */ UNK_RET grZebesRoute_8020B380(UNK_PARAMS); +/* 20B384 */ UNK_RET grZebesRoute_8020B384(UNK_PARAMS); +/* 20B3B0 */ UNK_RET grZebesRoute_8020B3B0(UNK_PARAMS); +/* 20B3B8 */ UNK_RET grZebesRoute_8020B3B8(UNK_PARAMS); +/* 20B3BC */ UNK_RET grZebesRoute_8020B3BC(UNK_PARAMS); +/* 20B3C0 */ UNK_RET grZebesRoute_8020B3C0(UNK_PARAMS); +/* 20B424 */ UNK_RET grZebesRoute_8020B424(UNK_PARAMS); +/* 20B42C */ UNK_RET grZebesRoute_8020B42C(UNK_PARAMS); +/* 20B4D4 */ UNK_RET grZebesRoute_8020B4D4(UNK_PARAMS); +/* 20B4D8 */ UNK_RET fn_8020B4D8(UNK_PARAMS); +/* 20B548 */ UNK_RET grZebesRoute_8020B548(UNK_PARAMS); +/* 20B854 */ UNK_RET grZebesRoute_8020B854(UNK_PARAMS); +/* 20B85C */ UNK_RET grZebesRoute_8020B85C(UNK_PARAMS); + +#endif diff --git a/src/melee/if/ifmagnify.c b/src/melee/if/ifmagnify.c index e1df3359cd..86879109b7 100644 --- a/src/melee/if/ifmagnify.c +++ b/src/melee/if/ifmagnify.c @@ -9,3 +9,27 @@ s32 ifMagnify_802FB6E8(s32 slot) } return 0; } + +/// #ifMagnify_802FB73C + +/// #ifMagnify_802FB8C0 + +/// #ifMagnify_802FBBDC + +void ifMagnify_802FC3BC(void) {} + +/// #ifMagnify_802FC3C0 + +/// #ifMagnify_802FC618 + +/// #ifMagnify_802FC750 + +/// #ifMagnify_802FC7C0 + +/// #ifMagnify_802FC870 + +/// #ifMagnify_802FC8E8 + +/// #ifMagnify_802FC940 + +/// #ifMagnify_802FC998 diff --git a/src/melee/if/ifmagnify.h b/src/melee/if/ifmagnify.h index d564d403b7..f5737993f0 100644 --- a/src/melee/if/ifmagnify.h +++ b/src/melee/if/ifmagnify.h @@ -6,6 +6,17 @@ #include "if/types.h" /* 2FB6E8 */ s32 ifMagnify_802FB6E8(s32); +/* 2FB73C */ UNK_RET ifMagnify_802FB73C(UNK_PARAMS); +/* 2FB8C0 */ UNK_RET ifMagnify_802FB8C0(UNK_PARAMS); +/* 2FBBDC */ UNK_RET ifMagnify_802FBBDC(UNK_PARAMS); +/* 2FC3BC */ UNK_RET ifMagnify_802FC3BC(UNK_PARAMS); +/* 2FC3C0 */ UNK_RET ifMagnify_802FC3C0(UNK_PARAMS); +/* 2FC618 */ UNK_RET ifMagnify_802FC618(UNK_PARAMS); +/* 2FC750 */ UNK_RET ifMagnify_802FC750(UNK_PARAMS); +/* 2FC7C0 */ UNK_RET ifMagnify_802FC7C0(UNK_PARAMS); +/* 2FC870 */ UNK_RET ifMagnify_802FC870(UNK_PARAMS); +/* 2FC8E8 */ UNK_RET ifMagnify_802FC8E8(UNK_PARAMS); +/* 2FC940 */ UNK_RET ifMagnify_802FC940(UNK_PARAMS); /* 2FC998 */ bool ifMagnify_802FC998(s32 ply_slot); /* 4A1DE0 */ extern ifMagnify ifMagnify_804A1DE0; diff --git a/src/melee/it/items/it_27CF.c b/src/melee/it/items/it_27CF.c index 8b13789179..6f05932d0d 100644 --- a/src/melee/it/items/it_27CF.c +++ b/src/melee/it/items/it_27CF.c @@ -1 +1,25 @@ +/// #it_802F2F34 +/// #it_802F3020 + +/// #it_802F3078 + +/// #it_802F3120 + +/// #it_802F3150 + +/// #it_802F317C + +/// #it_802F31B8 + +void it_802F3260(void) {} + +/// #it_802F3264 + +/// #it_802F3290 + +/// #it_802F32F8 + +/// #it_802F3330 + +/// #it_802F3374 diff --git a/src/melee/it/items/it_27CF.h b/src/melee/it/items/it_27CF.h index b8a4674e98..35a49001b5 100644 --- a/src/melee/it/items/it_27CF.h +++ b/src/melee/it/items/it_27CF.h @@ -27,11 +27,6 @@ /* 29D968 */ void it_8029D968(Item_GObj*); /* 29DD58 */ HSD_GObj* it_8029DD58(Item_GObj* fighter_gobj, Vec3*, u8, int, float); -/* 29FDBC */ bool it_8029FDBC(Item_GObj* gobj); -/* 2A013C */ HSD_GObj* it_802A013C(float facing_dir, Fighter_GObj* owner_gobj, - Vec3* pos, Fighter_Part, int); -/* 2A0534 */ void it_802A0534(Item_GObj* gobj, Vec3*); -/* 2A07B4 */ void it_802A07B4(Item_GObj* gobj); /* 2A850C */ void it_802A850C(Item_GObj*, Vec3*, Vec3*, float, float, float); /* 2A8A7C */ void it_802A8A7C(Item_GObj* gobj); /* 2AA054 */ void it_802AA054(Item_GObj*, Vec3*, Vec3*, float, float); @@ -44,8 +39,6 @@ /* 2AB58C */ HSD_GObj* it_802AB58C(Item_GObj* owner, Vec3* pos, float facing_dir); /* 2AB9C0 */ void it_802AB9C0(Item_GObj*); -/* 2AD478 */ HSD_GObj* it_802AD478(Item_GObj*, Vec3*, s32, float); -/* 2AD6B8 */ void it_802AD6B8(Item_GObj*); /* 2ADDD0 */ void it_802ADDD0(Item_GObj*, s32); /* 2AE1D0 */ void it_802AE1D0(Item_GObj*); /* 2AE538 */ void it_802AE538(Item_GObj*); @@ -62,13 +55,6 @@ /* 2B26C0 */ void it_802B26C0(Item_GObj*); /* 2B26E0 */ void it_802B26E0(Item_GObj*); /* 2B338C */ void it_802B338C(Item_GObj*, Vec3*, float facing_dir, u32); -/* 2B4AC8 */ void it_802B4AC8(Item_GObj* gobj, Vec3*, float facing_dir, - float x); -/* 2B55C8 */ HSD_GObj* it_802B55C8(Item_GObj* owner, Vec3*, s32, s32, - float facing_dir); -/* 2B56E4 */ void it_802B56E4(Item_GObj*, Vec3*, float, float, float); -/* 2B5974 */ void it_802B5974(Item_GObj*); -/* 2B62D0 */ void it_802B62D0(Item_GObj*, Vec3* pos, bool, float facing_dir); /* 2BAEEC */ void it_802BAEEC(Item_GObj*); /* 2BAF0C */ void it_802BAF0C(Item_GObj*); /* 2BB20C */ void it_802BB20C(Item_GObj*); @@ -79,9 +65,6 @@ itChainSegment* chainSegment, Item* item_data, float arg4); /* 2BD158 */ void it_802BD158(Item_GObj* gobj, Vec3*, int, float); -/* 2BD45C */ void it_802BD45C(Item_GObj* gobj); -/* 2BD4AC */ HSD_GObj* it_802BD4AC(Item_GObj*, Vec3*, u8, s32, float); -/* 2BDB94 */ void it_802BDB94(Item_GObj* gobj); /* 2BDBF8 */ void it_802BDBF8(Item_GObj* gobj); /* 2BDC18 */ void it_802BDC18(Item_GObj* gobj); /* 2BDC38 */ bool it_802BDC38(Item_GObj* gobj); @@ -105,19 +88,9 @@ /* 2C0850 */ u32 it_802C0850(Item_GObj*, Vec3*, u32, s32, float facing_direction); /* 2C0DBC */ void it_802C0DBC(u32 arg0); -/* 2C1590 */ Item_GObj* it_802C1590(Item_GObj*, Vec3*, enum_t, - float facing_dir); -/* 2C16F8 */ void it_802C16F8(Item_GObj*); -/* 2C17DC */ void it_802C17DC(Item_GObj*); /* 2C3AF0 */ HSD_GObj* it_802C3AF0(Item_GObj*); /* 2C3BAC */ HSD_GObj* it_802C3BAC(Item_GObj*, Vec3*, float facing_dir, float); /* 2C3D44 */ void it_802C3D44(Item_GObj*); -/* 2C49E0 */ void it_802C49E0(Item_GObj*); -/* 2C4A40 */ HSD_GObj* it_802C4A40(Item_GObj*, Vec3*, float); -/* 2C5000 */ HSD_GObj* it_802C5000(Item_GObj*, Vec3*, s32, s32, float); -/* 2C519C */ void it_802C519C(Item_GObj*, Vec3*, s32, s32, float, float); -/* 2C53F0 */ void it_802C53F0(Item_GObj*, Vec3*, float, float, float); -/* 2C573C */ void it_802C573C(Item_GObj*); /* 2C61F4 */ HSD_GObj* it_802C61F4(Item_GObj*, Vec3*, s32, float); /* 2C6328 */ void it_802C6328(Item_GObj*); /* 2C6374 */ void it_802C6374(Item_GObj*); @@ -148,19 +121,18 @@ /* 2C7A84 */ void it_802C7A84(Item_GObj*); /* 2C7AD0 */ void it_802C7AD0(Item_GObj*); /* 2C7AF0 */ void it_802C7AF0(Item_GObj*); -/* 2C8038 */ HSD_GObj* it_802C8038(Item_GObj*, Vec3*, s32, s32, float, float); -/* 2C8158 */ void it_802C8158(Item_GObj*); -/* 2C81C8 */ void it_802C81C8(Item_GObj*); -/* 2C81E8 */ void it_802C81E8(Item_GObj*); -/* 2C837C */ HSD_GObj* it_802C837C(Item_GObj*, Vec3*, enum_t, u32, float); -/* 2C8B28 */ HSD_GObj* it_802C8B28(Item_GObj*, Vec3*, u32, float); -/* 2C8C34 */ void it_802C8C34(Item_GObj*); -/* 2E5F8C */ s32 it_802E5F8C(Item_GObj*, Vec3*, s32, bool, float, float); -/* 2F0340 */ u32 it_802F0340(Item_GObj*, Vec3*, Vec3*, u32, u32, float); -/* 2F046C */ void it_802F046C(s32); -/* 2F0AE0 */ void it_802F0AE0(Item_GObj* fighter_gobj, Vec3*, Vec3*, enum_t, - bool, float facing_dir, float, float); /* 2F2094 */ Item_GObj* it_802F2094(int, Vec3*, int, int); +/* 2F2F34 */ UNK_RET it_802F2F34(UNK_PARAMS); +/* 2F3020 */ UNK_RET it_802F3020(UNK_PARAMS); +/* 2F3078 */ UNK_RET it_802F3078(UNK_PARAMS); +/* 2F3120 */ UNK_RET it_802F3120(UNK_PARAMS); +/* 2F3150 */ UNK_RET it_802F3150(UNK_PARAMS); +/* 2F317C */ UNK_RET it_802F317C(UNK_PARAMS); +/* 2F31B8 */ UNK_RET it_802F31B8(UNK_PARAMS); +/* 2F3260 */ UNK_RET it_802F3260(UNK_PARAMS); +/* 2F3264 */ UNK_RET it_802F3264(UNK_PARAMS); +/* 2F3290 */ UNK_RET it_802F3290(UNK_PARAMS); +/* 2F32F8 */ UNK_RET it_802F32F8(UNK_PARAMS); /* 2F3330 */ bool it_802F3330(Item_GObj*); /* 2F3374 */ void it_802F3374(Item_GObj*, Item_GObj*); /* 3F94A0 */ extern ItemStateTable it_803F94A0[]; diff --git a/src/melee/it/items/it_2E5A.c b/src/melee/it/items/it_2E5A.c index 8b13789179..ad2a366504 100644 --- a/src/melee/it/items/it_2E5A.c +++ b/src/melee/it/items/it_2E5A.c @@ -1 +1,43 @@ +/// #it_802E5AC4 +/// #it_802E5EF4 + +/// #it_802E5F00 + +/// #it_802E5F8C + +/// #it_802E609C + +/// #it_802E614C + +/// #it_802E61C4 + +/// #it_802E628C + +/// #it_802E6380 + +/// #it_802E657C + +/// #it_802E6658 + +/// #it_802E66A0 + +/// #it_802E67A8 + +/// #it_802E67F4 + +/// #it_802E6824 + +/// #it_802E6888 + +/// #it_802E68EC + +void it_802E690C(void) {} + +/// #it_802E6910 + +/// #it_802E6A40 + +/// #it_802E6A74 + +/// #it_802E6ACC diff --git a/src/melee/it/items/it_2E5A.h b/src/melee/it/items/it_2E5A.h index 61089c6010..15fbad39be 100644 --- a/src/melee/it/items/it_2E5A.h +++ b/src/melee/it/items/it_2E5A.h @@ -3,10 +3,31 @@ #include #include "it/forward.h" +#include #include "it/items/types.h" +/* 2E5AC4 */ UNK_RET it_802E5AC4(UNK_PARAMS); +/* 2E5EF4 */ UNK_RET it_802E5EF4(UNK_PARAMS); +/* 2E5F00 */ UNK_RET it_802E5F00(UNK_PARAMS); +/* 2E5F8C */ s32 it_802E5F8C(Item_GObj*, Vec3*, s32, bool, float, float); +/* 2E609C */ UNK_RET it_802E609C(UNK_PARAMS); +/* 2E614C */ UNK_RET it_802E614C(UNK_PARAMS); +/* 2E61C4 */ UNK_RET it_802E61C4(UNK_PARAMS); +/* 2E628C */ UNK_RET it_802E628C(UNK_PARAMS); +/* 2E6380 */ UNK_RET it_802E6380(UNK_PARAMS); +/* 2E657C */ UNK_RET it_802E657C(UNK_PARAMS); +/* 2E6658 */ UNK_RET it_802E6658(UNK_PARAMS); +/* 2E66A0 */ UNK_RET it_802E66A0(UNK_PARAMS); +/* 2E67A8 */ UNK_RET it_802E67A8(UNK_PARAMS); +/* 2E67F4 */ UNK_RET it_802E67F4(UNK_PARAMS); +/* 2E6824 */ UNK_RET it_802E6824(UNK_PARAMS); +/* 2E6888 */ UNK_RET it_802E6888(UNK_PARAMS); +/* 2E68EC */ UNK_RET it_802E68EC(UNK_PARAMS); +/* 2E690C */ UNK_RET it_802E690C(UNK_PARAMS); +/* 2E6910 */ UNK_RET it_802E6910(UNK_PARAMS); /* 2E6A40 */ bool it_802E6A40(Item_GObj*); +/* 2E6A74 */ UNK_RET it_802E6A74(UNK_PARAMS); /* 2E6ACC */ void it_802E6ACC(Item_GObj*, Item_GObj*); /* 3F8BD8 */ extern ItemStateTable it_803F8BD8[]; diff --git a/src/melee/it/items/itbombhei.c b/src/melee/it/items/itbombhei.c index 8b13789179..b20c4bb516 100644 --- a/src/melee/it/items/itbombhei.c +++ b/src/melee/it/items/itbombhei.c @@ -1 +1,115 @@ +/// #it_8027D670 +/// #it_8027D730 + +/// #it_8027D76C + +/// #it_8027D820 + +/// #fn_8027DAC8 + +/// #it_8027DC74 + +void it_8027DDE8(void) {} + +/// #it_8027DDEC + +/// #it_8027DE18 + +/// #it_8027E018 + +/// #it_8027E020 + +/// #it_8027E050 + +/// #it_8027E0B4 + +/// #it_8027E3E4 + +void it_8027E644(void) {} + +/// #it_8027E648 + +/// #it_8027E978 + +/// #it_8027EB7C + +void it_8027EDC0(void) {} + +/// #it_8027EDC4 + +/// #it_8027EE04 + +/// #it_8027EFD0 + +void it_8027F26C(void) {} + +/// #it_8027F270 + +/// #it_8027F42C + +/// #it_8027F5E8 + +void it_8027F89C(void) {} + +/// #it_8027F8A0 + +/// #it_8027F8E0 + +/// #it_8027FC44 + +void it_8027FC78(void) {} + +/// #it_8027FC7C + +/// #fn_8027FCA8 + +/// #it_8028000C + +/// #it_80280030 + +/// #fn_8028007C + +/// #it_80280338 + +/// #it_80280380 + +/// #it_802806CC + +/// #it_80280928 + +/// #fn_80280974 + +/// #it_80280B18 + +/// #it_80280B60 + +/// #it_80280DC0 + +/// #it_80280DF0 + +/// #it_80280E30 + +/// #it_80280E70 + +void it_80280E90(void) {} + +/// #it_80280E94 + +/// #it_80280E9C + +/// #it_80281030 + +void it_80281038(void) {} + +/// #it_8028103C + +/// #it_80281070 + +/// #it_802810A4 + +/// #it_802810C4 + +/// #it_80281104 + +/// #it_80281144 diff --git a/src/melee/it/items/itbombhei.h b/src/melee/it/items/itbombhei.h index af30ecb0bd..a72b44c1d4 100644 --- a/src/melee/it/items/itbombhei.h +++ b/src/melee/it/items/itbombhei.h @@ -5,13 +5,59 @@ #include "it/items/types.h" +/* 27D670 */ UNK_RET it_8027D670(UNK_PARAMS); +/* 27D730 */ UNK_RET it_8027D730(UNK_PARAMS); /* 27D76C */ void it_8027D76C(Item_GObj*); +/* 27D820 */ UNK_RET it_8027D820(UNK_PARAMS); +/* 27DAC8 */ UNK_RET fn_8027DAC8(UNK_PARAMS); +/* 27DC74 */ UNK_RET it_8027DC74(UNK_PARAMS); +/* 27DDE8 */ UNK_RET it_8027DDE8(UNK_PARAMS); +/* 27DDEC */ UNK_RET it_8027DDEC(UNK_PARAMS); +/* 27DE18 */ UNK_RET it_8027DE18(UNK_PARAMS); +/* 27E018 */ UNK_RET it_8027E018(UNK_PARAMS); +/* 27E020 */ UNK_RET it_8027E020(UNK_PARAMS); +/* 27E050 */ UNK_RET it_8027E050(UNK_PARAMS); /* 27E0B4 */ void it_8027E0B4(Item_GObj*); +/* 27E3E4 */ UNK_RET it_8027E3E4(UNK_PARAMS); +/* 27E644 */ UNK_RET it_8027E644(UNK_PARAMS); /* 27E648 */ void it_8027E648(Item_GObj*); +/* 27E978 */ UNK_RET it_8027E978(UNK_PARAMS); +/* 27EB7C */ UNK_RET it_8027EB7C(UNK_PARAMS); +/* 27EDC0 */ UNK_RET it_8027EDC0(UNK_PARAMS); +/* 27EDC4 */ UNK_RET it_8027EDC4(UNK_PARAMS); +/* 27EE04 */ UNK_RET it_8027EE04(UNK_PARAMS); +/* 27EFD0 */ UNK_RET it_8027EFD0(UNK_PARAMS); +/* 27F26C */ UNK_RET it_8027F26C(UNK_PARAMS); +/* 27F270 */ UNK_RET it_8027F270(UNK_PARAMS); +/* 27F42C */ UNK_RET it_8027F42C(UNK_PARAMS); +/* 27F5E8 */ UNK_RET it_8027F5E8(UNK_PARAMS); +/* 27F89C */ UNK_RET it_8027F89C(UNK_PARAMS); +/* 27F8A0 */ UNK_RET it_8027F8A0(UNK_PARAMS); +/* 27F8E0 */ UNK_RET it_8027F8E0(UNK_PARAMS); +/* 27FC44 */ UNK_RET it_8027FC44(UNK_PARAMS); +/* 27FC78 */ UNK_RET it_8027FC78(UNK_PARAMS); +/* 27FC7C */ UNK_RET it_8027FC7C(UNK_PARAMS); +/* 27FCA8 */ UNK_RET fn_8027FCA8(UNK_PARAMS); +/* 28000C */ UNK_RET it_8028000C(UNK_PARAMS); +/* 280030 */ UNK_RET it_80280030(UNK_PARAMS); +/* 28007C */ UNK_RET fn_8028007C(UNK_PARAMS); +/* 280338 */ UNK_RET it_80280338(UNK_PARAMS); /* 280380 */ void it_80280380(Item_GObj*); +/* 2806CC */ UNK_RET it_802806CC(UNK_PARAMS); +/* 280928 */ UNK_RET it_80280928(UNK_PARAMS); +/* 280974 */ UNK_RET fn_80280974(UNK_PARAMS); +/* 280B18 */ UNK_RET it_80280B18(UNK_PARAMS); +/* 280B60 */ UNK_RET it_80280B60(UNK_PARAMS); +/* 280DC0 */ UNK_RET it_80280DC0(UNK_PARAMS); /* 280DF0 */ int it_80280DF0(Item_GObj*); /* 280E30 */ int it_80280E30(Item_GObj*); +/* 280E70 */ UNK_RET it_80280E70(UNK_PARAMS); +/* 280E90 */ UNK_RET it_80280E90(UNK_PARAMS); +/* 280E94 */ UNK_RET it_80280E94(UNK_PARAMS); /* 280E9C */ void it_80280E9C(Item_GObj*); +/* 281030 */ UNK_RET it_80281030(UNK_PARAMS); +/* 281038 */ UNK_RET it_80281038(UNK_PARAMS); +/* 28103C */ UNK_RET it_8028103C(UNK_PARAMS); /* 281070 */ int it_80281070(Item_GObj*); /* 2810A4 */ int it_802810A4(Item_GObj*); /* 2810C4 */ int it_802810C4(Item_GObj*); diff --git a/src/melee/it/items/itbox.c b/src/melee/it/items/itbox.c index 8b13789179..26f551dd04 100644 --- a/src/melee/it/items/itbox.c +++ b/src/melee/it/items/itbox.c @@ -1 +1,89 @@ +/// #it_80286088 +/// #it_802861CC + +/// #it_80286208 + +/// #it_80286248 + +/// #it_80286340 + +/// #it_802863BC + +/// #fn_80286480 + +/// #it_802864D8 + +void it_80286518(void) {} + +/// #it_8028651C + +/// #it_8028655C + +/// #it_80286598 + +/// #it_802865A0 + +/// #it_80286754 + +/// #it_80286780 + +/// #it_802867A8 + +void it_802867B0(void) {} + +/// #it_802867B4 + +/// #it_802867F0 + +/// #it_8028683C + +/// #it_80286964 + +/// #it_802869A0 + +/// #it_80286AA4 + +/// #it_80286B74 + +void it_80286B94(void) {} + +/// #it_80286B98 + +/// #it_80286BA0 + +/// #it_80286C7C + +void it_80286CA8(void) {} + +/// #it_80286CAC + +/// #it_80286CB4 + +/// #it_80286D48 + +/// #it_80286DDC + +/// #it_80286E70 + +/// #it_80286F04 + +/// #it_80286FC8 + +/// #it_80287044 + +void it_8028704C(void) {} + +/// #it_80287050 + +/// #it_80287084 + +/// #it_802870A4 + +/// #it_80287104 + +/// #it_8028710C + +/// #it_80287334 + +/// #it_8028733C diff --git a/src/melee/it/items/itbox.h b/src/melee/it/items/itbox.h index fa463169b9..58e0bb15e1 100644 --- a/src/melee/it/items/itbox.h +++ b/src/melee/it/items/itbox.h @@ -5,18 +5,51 @@ #include "it/items/types.h" +/* 286088 */ UNK_RET it_80286088(UNK_PARAMS); /* 2861CC */ void it_802861CC(Item_GObj*); /* 286208 */ void it_80286208(Item_GObj*); +/* 286248 */ UNK_RET it_80286248(UNK_PARAMS); +/* 286340 */ UNK_RET it_80286340(UNK_PARAMS); +/* 2863BC */ UNK_RET it_802863BC(UNK_PARAMS); +/* 286480 */ UNK_RET fn_80286480(UNK_PARAMS); +/* 2864D8 */ UNK_RET it_802864D8(UNK_PARAMS); +/* 286518 */ UNK_RET it_80286518(UNK_PARAMS); +/* 28651C */ UNK_RET it_8028651C(UNK_PARAMS); +/* 28655C */ UNK_RET it_8028655C(UNK_PARAMS); +/* 286598 */ UNK_RET it_80286598(UNK_PARAMS); +/* 2865A0 */ UNK_RET it_802865A0(UNK_PARAMS); +/* 286754 */ UNK_RET it_80286754(UNK_PARAMS); /* 286780 */ void it_80286780(Item_GObj*); +/* 2867A8 */ UNK_RET it_802867A8(UNK_PARAMS); +/* 2867B0 */ UNK_RET it_802867B0(UNK_PARAMS); /* 2867B4 */ void it_802867B4(Item_GObj*); +/* 2867F0 */ UNK_RET it_802867F0(UNK_PARAMS); +/* 28683C */ UNK_RET it_8028683C(UNK_PARAMS); /* 286964 */ void it_80286964(Item_GObj*); +/* 2869A0 */ UNK_RET it_802869A0(UNK_PARAMS); +/* 286AA4 */ UNK_RET it_80286AA4(UNK_PARAMS); +/* 286B74 */ UNK_RET it_80286B74(UNK_PARAMS); +/* 286B94 */ UNK_RET it_80286B94(UNK_PARAMS); +/* 286B98 */ UNK_RET it_80286B98(UNK_PARAMS); +/* 286BA0 */ UNK_RET it_80286BA0(UNK_PARAMS); +/* 286C7C */ UNK_RET it_80286C7C(UNK_PARAMS); +/* 286CA8 */ UNK_RET it_80286CA8(UNK_PARAMS); +/* 286CAC */ UNK_RET it_80286CAC(UNK_PARAMS); /* 286CB4 */ int it_80286CB4(Item_GObj*); /* 286D48 */ int it_80286D48(Item_GObj*); /* 286DDC */ int it_80286DDC(Item_GObj*); /* 286E70 */ int it_80286E70(Item_GObj*); /* 286F04 */ int it_80286F04(Item_GObj*); /* 286FC8 */ void it_80286FC8(Item_GObj*); +/* 287044 */ UNK_RET it_80287044(UNK_PARAMS); +/* 28704C */ UNK_RET it_8028704C(UNK_PARAMS); +/* 287050 */ UNK_RET it_80287050(UNK_PARAMS); /* 287084 */ void it_80287084(Item_GObj*, Item_GObj*); +/* 2870A4 */ UNK_RET it_802870A4(UNK_PARAMS); +/* 287104 */ UNK_RET it_80287104(UNK_PARAMS); +/* 28710C */ UNK_RET it_8028710C(UNK_PARAMS); +/* 287334 */ UNK_RET it_80287334(UNK_PARAMS); +/* 28733C */ UNK_RET it_8028733C(UNK_PARAMS); /* 3F5850 */ extern ItemStateTable it_803F5850[]; #endif diff --git a/src/melee/it/items/itchicorita.c b/src/melee/it/items/itchicorita.c index 8b13789179..74f52b090f 100644 --- a/src/melee/it/items/itchicorita.c +++ b/src/melee/it/items/itchicorita.c @@ -1 +1,33 @@ +/// #it_802C9588 +void it_802C9618(void) {} + +/// #it_802C961C + +/// #it_802C963C + +/// #it_802C9670 + +/// #it_802C96CC + +/// #it_802C9798 + +/// #it_802C9850 + +/// #it_802C989C + +/// #it_802C98E4 + +/// #it_802C990C + +/// #it_802C9970 + +/// #it_802C9A28 + +/// #it_802C9A74 + +/// #it_802C9AB4 + +/// #it_802C9AD8 + +/// #it_802C9AF8 diff --git a/src/melee/it/items/itchicorita.h b/src/melee/it/items/itchicorita.h index 1ffd85228d..98983aa1f2 100644 --- a/src/melee/it/items/itchicorita.h +++ b/src/melee/it/items/itchicorita.h @@ -6,7 +6,22 @@ #include "it/items/types.h" /* 2C9588 */ void it_802C9588(Item_GObj*); +/* 2C9618 */ UNK_RET it_802C9618(UNK_PARAMS); /* 2C961C */ void it_802C961C(Item_GObj*, Item_GObj*); +/* 2C963C */ UNK_RET it_802C963C(UNK_PARAMS); +/* 2C9670 */ UNK_RET it_802C9670(UNK_PARAMS); +/* 2C96CC */ UNK_RET it_802C96CC(UNK_PARAMS); +/* 2C9798 */ UNK_RET it_802C9798(UNK_PARAMS); +/* 2C9850 */ UNK_RET it_802C9850(UNK_PARAMS); +/* 2C989C */ UNK_RET it_802C989C(UNK_PARAMS); +/* 2C98E4 */ UNK_RET it_802C98E4(UNK_PARAMS); +/* 2C990C */ UNK_RET it_802C990C(UNK_PARAMS); +/* 2C9970 */ UNK_RET it_802C9970(UNK_PARAMS); +/* 2C9A28 */ UNK_RET it_802C9A28(UNK_PARAMS); +/* 2C9A74 */ UNK_RET it_802C9A74(UNK_PARAMS); +/* 2C9AB4 */ UNK_RET it_802C9AB4(UNK_PARAMS); +/* 2C9AD8 */ UNK_RET it_802C9AD8(UNK_PARAMS); +/* 2C9AF8 */ UNK_RET it_802C9AF8(UNK_PARAMS); /* 3F7A98 */ extern ItemStateTable it_803F7A98[]; #endif diff --git a/src/melee/it/items/itchicoritaleaf.c b/src/melee/it/items/itchicoritaleaf.c index 8b13789179..3a19e0b55a 100644 --- a/src/melee/it/items/itchicoritaleaf.c +++ b/src/melee/it/items/itchicoritaleaf.c @@ -1 +1,17 @@ +/// #it_802C9B20 +/// #it_802C9C20 + +/// #it_802C9C78 + +/// #it_802C9C80 + +/// #it_802C9CA0 + +/// #it_802C9CC0 + +/// #it_802C9CE8 + +void it_802C9D1C(void) {} + +/// #it_802C9D20 diff --git a/src/melee/it/items/itchicoritaleaf.h b/src/melee/it/items/itchicoritaleaf.h index e08e1df46a..8bb0e0fb1b 100644 --- a/src/melee/it/items/itchicoritaleaf.h +++ b/src/melee/it/items/itchicoritaleaf.h @@ -6,10 +6,15 @@ #include "it/items/types.h" +/* 2C9B20 */ UNK_RET it_802C9B20(UNK_PARAMS); /* 2C9C20 */ void it_802C9C20(Item_GObj*); /* 2C9C78 */ bool it_802C9C78(Item_GObj*); /* 2C9C80 */ void it_802C9C80(Item_GObj*, Item_GObj*); /* 2C9CA0 */ bool it_802C9CA0(Item_GObj*); +/* 2C9CC0 */ UNK_RET it_802C9CC0(UNK_PARAMS); +/* 2C9CE8 */ UNK_RET it_802C9CE8(UNK_PARAMS); +/* 2C9D1C */ UNK_RET it_802C9D1C(UNK_PARAMS); +/* 2C9D20 */ UNK_RET it_802C9D20(UNK_PARAMS); /* 3F7AC8 */ extern ItemStateTable it_803F7AC8[]; #endif diff --git a/src/melee/it/items/itclimbersice.c b/src/melee/it/items/itclimbersice.c index 8b13789179..ac80ac1590 100644 --- a/src/melee/it/items/itclimbersice.c +++ b/src/melee/it/items/itclimbersice.c @@ -1 +1,55 @@ +/// #it_802C1590 +/// #it_802C16F8 + +/// #it_802C17DC + +/// #it_802C17FC + +/// #it_802C1854 + +/// #it_802C1950 + +/// #it_802C198C + +void it_802C1A14(void) {} + +/// #it_802C1A18 + +/// #it_802C1A58 + +/// #it_802C1A80 + +/// #it_802C1A88 + +/// #it_802C1AB8 + +/// #it_802C1AE4 + +/// #it_802C1B80 + +/// #it_802C1BB4 + +/// #it_802C1C7C + +/// #fn_802C1D44 + +/// #it_802C1D80 + +/// #it_802C1DB4 + +/// #it_802C1E94 + +/// #it_802C1FC8 + +/// #it_802C1FD0 + +/// #it_802C1FF0 + +/// #it_802C1FF8 + +/// #it_802C20E4 + +/// #it_802C20EC + +/// #it_802C210C diff --git a/src/melee/it/items/itclimbersice.h b/src/melee/it/items/itclimbersice.h index 7c468ee616..d3e436b7ff 100644 --- a/src/melee/it/items/itclimbersice.h +++ b/src/melee/it/items/itclimbersice.h @@ -3,10 +3,32 @@ #include #include "it/forward.h" +#include #include "it/items/types.h" +/* 2C1590 */ Item_GObj* it_802C1590(Item_GObj*, Vec3*, enum_t, + float facing_dir); +/* 2C16F8 */ void it_802C16F8(Item_GObj*); +/* 2C17DC */ void it_802C17DC(Item_GObj*); /* 2C17FC */ void it_802C17FC(Item_GObj*); +/* 2C1854 */ UNK_RET it_802C1854(UNK_PARAMS); +/* 2C1950 */ UNK_RET it_802C1950(UNK_PARAMS); +/* 2C198C */ UNK_RET it_802C198C(UNK_PARAMS); +/* 2C1A14 */ UNK_RET it_802C1A14(UNK_PARAMS); +/* 2C1A18 */ UNK_RET it_802C1A18(UNK_PARAMS); +/* 2C1A58 */ UNK_RET it_802C1A58(UNK_PARAMS); +/* 2C1A80 */ UNK_RET it_802C1A80(UNK_PARAMS); +/* 2C1A88 */ UNK_RET it_802C1A88(UNK_PARAMS); +/* 2C1AB8 */ UNK_RET it_802C1AB8(UNK_PARAMS); +/* 2C1AE4 */ UNK_RET it_802C1AE4(UNK_PARAMS); +/* 2C1B80 */ UNK_RET it_802C1B80(UNK_PARAMS); +/* 2C1BB4 */ UNK_RET it_802C1BB4(UNK_PARAMS); +/* 2C1C7C */ UNK_RET it_802C1C7C(UNK_PARAMS); +/* 2C1D44 */ UNK_RET fn_802C1D44(UNK_PARAMS); +/* 2C1D80 */ UNK_RET it_802C1D80(UNK_PARAMS); +/* 2C1DB4 */ UNK_RET it_802C1DB4(UNK_PARAMS); +/* 2C1E94 */ UNK_RET it_802C1E94(UNK_PARAMS); /* 2C1FC8 */ bool it_802C1FC8(Item_GObj*); /* 2C1FD0 */ bool it_802C1FD0(Item_GObj*); /* 2C1FF0 */ bool it_802C1FF0(Item_GObj*); diff --git a/src/melee/it/items/itclinkmilk.c b/src/melee/it/items/itclinkmilk.c index 8b13789179..b5f229473c 100644 --- a/src/melee/it/items/itclinkmilk.c +++ b/src/melee/it/items/itclinkmilk.c @@ -1 +1,14 @@ +/// #it_802C8B28 + +/// #it_802C8C34 + +/// #it_802C8C74 + +/// #it_802C8CDC + +void it_802C8F20(void) {} + +/// #it_802C8F24 + +/// #it_802C8F2C diff --git a/src/melee/it/items/itclinkmilk.h b/src/melee/it/items/itclinkmilk.h index fd62682fed..8742f94547 100644 --- a/src/melee/it/items/itclinkmilk.h +++ b/src/melee/it/items/itclinkmilk.h @@ -2,10 +2,16 @@ #define GALE01_2C8B28 #include "it/forward.h" +#include #include "it/items/types.h" +/* 2C8B28 */ HSD_GObj* it_802C8B28(Item_GObj*, Vec3*, u32, float); +/* 2C8C34 */ void it_802C8C34(Item_GObj*); /* 2C8C74 */ void it_802C8C74(Item_GObj*); +/* 2C8CDC */ UNK_RET it_802C8CDC(UNK_PARAMS); +/* 2C8F20 */ UNK_RET it_802C8F20(UNK_PARAMS); +/* 2C8F24 */ UNK_RET it_802C8F24(UNK_PARAMS); /* 2C8F2C */ void it_802C8F2C(Item_GObj*, Item_GObj*); /* 3F7A28 */ extern ItemStateTable it_803F7A28[]; diff --git a/src/melee/it/items/itcrazyhandbomb.c b/src/melee/it/items/itcrazyhandbomb.c index 8b13789179..3330f0384d 100644 --- a/src/melee/it/items/itcrazyhandbomb.c +++ b/src/melee/it/items/itcrazyhandbomb.c @@ -1 +1,30 @@ +/// #it_802F0F6C + +/// #it_802F1030 + +/// #it_802F1094 + +/// #it_802F10B4 + +/// #it_802F10D8 + +/// #it_802F10F8 + +/// #it_802F1168 + +/// #it_802F1170 + +/// #it_802F1304 + +void it_802F1340(void) {} + +/// #it_802F1344 + +/// #it_802F1384 + +void it_802F13A4(void) {} + +/// #it_802F13A8 + +void it_802F13B0(void) {} diff --git a/src/melee/it/items/itcrazyhandbomb.h b/src/melee/it/items/itcrazyhandbomb.h index 50d8ed2d9f..eeb3954a72 100644 --- a/src/melee/it/items/itcrazyhandbomb.h +++ b/src/melee/it/items/itcrazyhandbomb.h @@ -6,9 +6,21 @@ #include "it/items/types.h" +/* 2F0F6C */ UNK_RET it_802F0F6C(UNK_PARAMS); +/* 2F1030 */ UNK_RET it_802F1030(UNK_PARAMS); /* 2F1094 */ void it_802F1094(Item_GObj*, Item_GObj*); /* 2F10B4 */ bool it_802F10B4(Item_GObj*); /* 2F10D8 */ bool it_802F10D8(Item_GObj*); +/* 2F10F8 */ UNK_RET it_802F10F8(UNK_PARAMS); +/* 2F1168 */ UNK_RET it_802F1168(UNK_PARAMS); +/* 2F1170 */ UNK_RET it_802F1170(UNK_PARAMS); +/* 2F1304 */ UNK_RET it_802F1304(UNK_PARAMS); +/* 2F1340 */ UNK_RET it_802F1340(UNK_PARAMS); +/* 2F1344 */ UNK_RET it_802F1344(UNK_PARAMS); +/* 2F1384 */ UNK_RET it_802F1384(UNK_PARAMS); +/* 2F13A4 */ UNK_RET it_802F13A4(UNK_PARAMS); +/* 2F13A8 */ UNK_RET it_802F13A8(UNK_PARAMS); +/* 2F13B0 */ UNK_RET it_802F13B0(UNK_PARAMS); /* 3F93A8 */ extern ItemStateTable it_803F93A8[]; #endif diff --git a/src/melee/it/items/itdosei.c b/src/melee/it/items/itdosei.c index 8b13789179..9e534360e3 100644 --- a/src/melee/it/items/itdosei.c +++ b/src/melee/it/items/itdosei.c @@ -1 +1,108 @@ +/// #it_80281164 + +/// #fn_80281390 + +/// #it_802813F8 + +void it_802816F0(void) {} + +/// #it_802816F4 + +/// #fn_80281734 + +/// #it_802817A0 + +/// #it_80281AB4 + +/// #it_80281B44 + +/// #it_80281B7C + +/// #it_80281C6C + +/// #it_80281D00 + +void it_80281E30(void) {} + +/// #it_80281E34 + +/// #it_80282074 + +/// #it_802820CC + +/// #it_80282130 + +/// #it_80282160 + +/// #it_8028218C + +/// #it_802824B8 + +void it_802826F4(void) {} + +/// #it_802826F8 + +/// #it_802829FC + +/// #it_80282AC0 + +/// #it_80282AC8 + +/// #it_80282B14 + +/// #it_80282B84 + +void it_80282BA8(void) {} + +/// #it_80282BAC + +/// #it_80282BFC + +/// #it_80282C54 + +/// #it_80282C78 + +/// #it_80282CA8 + +/// #fn_80282CD4 + +/// #it_80282D48 + +void it_80282DA0(void) {} + +/// #it_80282DA4 + +/// #it_80282DE4 + +/// #it_802830F4 + +void it_802832A8(void) {} + +/// #it_802832AC + +/// #it_80283504 + +void it_80283550(void) {} + +/// #it_80283554 + +/// #it_80283588 + +/// #it_802838FC + +/// #it_80283960 + +/// #it_80283990 + +/// #it_802839BC + +/// #it_80283A3C + +/// #it_80283A5C + +/// #it_80283A80 + +/// #it_80283AA4 + +/// #it_80283AC4 diff --git a/src/melee/it/items/itdosei.h b/src/melee/it/items/itdosei.h index d103e5718a..59ae1dde22 100644 --- a/src/melee/it/items/itdosei.h +++ b/src/melee/it/items/itdosei.h @@ -6,11 +6,53 @@ #include "it/items/types.h" /* 281164 */ void it_80281164(Item_GObj*); +/* 281390 */ UNK_RET fn_80281390(UNK_PARAMS); +/* 2813F8 */ UNK_RET it_802813F8(UNK_PARAMS); +/* 2816F0 */ UNK_RET it_802816F0(UNK_PARAMS); +/* 2816F4 */ UNK_RET it_802816F4(UNK_PARAMS); +/* 281734 */ UNK_RET fn_80281734(UNK_PARAMS); +/* 2817A0 */ UNK_RET it_802817A0(UNK_PARAMS); +/* 281AB4 */ UNK_RET it_80281AB4(UNK_PARAMS); +/* 281B44 */ UNK_RET it_80281B44(UNK_PARAMS); +/* 281B7C */ UNK_RET it_80281B7C(UNK_PARAMS); +/* 281C6C */ UNK_RET it_80281C6C(UNK_PARAMS); +/* 281D00 */ UNK_RET it_80281D00(UNK_PARAMS); +/* 281E30 */ UNK_RET it_80281E30(UNK_PARAMS); +/* 281E34 */ UNK_RET it_80281E34(UNK_PARAMS); +/* 282074 */ UNK_RET it_80282074(UNK_PARAMS); +/* 2820CC */ UNK_RET it_802820CC(UNK_PARAMS); +/* 282130 */ UNK_RET it_80282130(UNK_PARAMS); +/* 282160 */ UNK_RET it_80282160(UNK_PARAMS); /* 28218C */ void it_8028218C(Item_GObj*); +/* 2824B8 */ UNK_RET it_802824B8(UNK_PARAMS); +/* 2826F4 */ UNK_RET it_802826F4(UNK_PARAMS); /* 2826F8 */ void it_802826F8(Item_GObj*); /* 2829FC */ void it_802829FC(Item_GObj*); +/* 282AC0 */ UNK_RET it_80282AC0(UNK_PARAMS); +/* 282AC8 */ UNK_RET it_80282AC8(UNK_PARAMS); /* 282B14 */ void it_80282B14(Item_GObj*); +/* 282B84 */ UNK_RET it_80282B84(UNK_PARAMS); +/* 282BA8 */ UNK_RET it_80282BA8(UNK_PARAMS); +/* 282BAC */ UNK_RET it_80282BAC(UNK_PARAMS); +/* 282BFC */ UNK_RET it_80282BFC(UNK_PARAMS); +/* 282C54 */ UNK_RET it_80282C54(UNK_PARAMS); +/* 282C78 */ UNK_RET it_80282C78(UNK_PARAMS); +/* 282CA8 */ UNK_RET it_80282CA8(UNK_PARAMS); +/* 282CD4 */ UNK_RET fn_80282CD4(UNK_PARAMS); +/* 282D48 */ UNK_RET it_80282D48(UNK_PARAMS); +/* 282DA0 */ UNK_RET it_80282DA0(UNK_PARAMS); +/* 282DA4 */ UNK_RET it_80282DA4(UNK_PARAMS); +/* 282DE4 */ UNK_RET it_80282DE4(UNK_PARAMS); +/* 2830F4 */ UNK_RET it_802830F4(UNK_PARAMS); +/* 2832A8 */ UNK_RET it_802832A8(UNK_PARAMS); +/* 2832AC */ UNK_RET it_802832AC(UNK_PARAMS); +/* 283504 */ UNK_RET it_80283504(UNK_PARAMS); +/* 283550 */ UNK_RET it_80283550(UNK_PARAMS); +/* 283554 */ UNK_RET it_80283554(UNK_PARAMS); /* 283588 */ int it_80283588(Item_GObj*); +/* 2838FC */ UNK_RET it_802838FC(UNK_PARAMS); +/* 283960 */ UNK_RET it_80283960(UNK_PARAMS); +/* 283990 */ UNK_RET it_80283990(UNK_PARAMS); /* 2839BC */ int it_802839BC(Item_GObj*); /* 283A3C */ int it_80283A3C(Item_GObj*); /* 283A5C */ int it_80283A5C(Item_GObj*); diff --git a/src/melee/it/items/itevyoshiegg.c b/src/melee/it/items/itevyoshiegg.c index 8b13789179..5c2466bd43 100644 --- a/src/melee/it/items/itevyoshiegg.c +++ b/src/melee/it/items/itevyoshiegg.c @@ -1 +1,62 @@ +/// #it_8029B0C8 + +/// #it_8029B188 + +/// #it_8029B1AC + +/// #it_8029B1D8 + +/// #it_8029B230 + +void it_8029B238(void) {} + +/// #it_8029B23C + +/// #it_8029B268 + +/// #it_8029B290 + +/// #it_8029B298 + +/// #it_8029B2C8 + +/// #it_8029B2F4 + +/// #it_8029B31C + +void it_8029B324(void) {} + +/// #it_8029B328 + +/// #it_8029B348 + +/// #it_8029B370 + +/// #it_8029B3BC + +/// #it_8029B400 + +void it_8029B460(void) {} + +/// #it_8029B464 + +/// #it_8029B46C + +/// #it_8029B4AC + +/// #it_8029B4EC + +/// #it_8029B52C + +/// #it_8029B56C + +/// #it_8029B670 + +/// #it_8029B698 + +void it_8029B6A0(void) {} + +/// #it_8029B6A4 + +/// #it_8029B6D8 diff --git a/src/melee/it/items/itevyoshiegg.h b/src/melee/it/items/itevyoshiegg.h index 0d7ea88c55..6dc67c11b7 100644 --- a/src/melee/it/items/itevyoshiegg.h +++ b/src/melee/it/items/itevyoshiegg.h @@ -6,17 +6,36 @@ #include "it/items/types.h" +/* 29B0C8 */ UNK_RET it_8029B0C8(UNK_PARAMS); /* 29B188 */ void it_8029B188(Item_GObj*); /* 29B1AC */ void it_8029B1AC(Item_GObj*); +/* 29B1D8 */ UNK_RET it_8029B1D8(UNK_PARAMS); +/* 29B230 */ UNK_RET it_8029B230(UNK_PARAMS); +/* 29B238 */ UNK_RET it_8029B238(UNK_PARAMS); +/* 29B23C */ UNK_RET it_8029B23C(UNK_PARAMS); +/* 29B268 */ UNK_RET it_8029B268(UNK_PARAMS); +/* 29B290 */ UNK_RET it_8029B290(UNK_PARAMS); +/* 29B298 */ UNK_RET it_8029B298(UNK_PARAMS); +/* 29B2C8 */ UNK_RET it_8029B2C8(UNK_PARAMS); /* 29B2F4 */ void it_8029B2F4(Item_GObj*); +/* 29B31C */ UNK_RET it_8029B31C(UNK_PARAMS); +/* 29B324 */ UNK_RET it_8029B324(UNK_PARAMS); /* 29B328 */ void it_8029B328(Item_GObj*); /* 29B348 */ void it_8029B348(Item_GObj*); +/* 29B370 */ UNK_RET it_8029B370(UNK_PARAMS); +/* 29B3BC */ UNK_RET it_8029B3BC(UNK_PARAMS); +/* 29B400 */ UNK_RET it_8029B400(UNK_PARAMS); +/* 29B460 */ UNK_RET it_8029B460(UNK_PARAMS); +/* 29B464 */ UNK_RET it_8029B464(UNK_PARAMS); /* 29B46C */ bool it_8029B46C(Item_GObj*); /* 29B4AC */ bool it_8029B4AC(Item_GObj*); /* 29B4EC */ bool it_8029B4EC(Item_GObj*); /* 29B52C */ bool it_8029B52C(Item_GObj*); /* 29B56C */ bool it_8029B56C(Item_GObj*); /* 29B670 */ void it_8029B670(Item_GObj*); +/* 29B698 */ UNK_RET it_8029B698(UNK_PARAMS); +/* 29B6A0 */ UNK_RET it_8029B6A0(UNK_PARAMS); +/* 29B6A4 */ UNK_RET it_8029B6A4(UNK_PARAMS); /* 29B6D8 */ void it_8029B6D8(Item_GObj*, Item_GObj*); /* 3F6728 */ extern ItemStateTable it_803F6728[]; diff --git a/src/melee/it/items/itfire.c b/src/melee/it/items/itfire.c index 8b13789179..315c05bb1a 100644 --- a/src/melee/it/items/itfire.c +++ b/src/melee/it/items/itfire.c @@ -1 +1,29 @@ +/// #it_802CC6E4 +void it_802CC740(void) {} + +/// #it_802CC744 + +/// #it_802CC764 + +void it_802CC7A4(void) {} + +/// #it_802CC7A8 + +void it_802CC7D4(void) {} + +/// #it_802CC7D8 + +/// #it_802CC860 + +/// #it_802CC91C + +/// #it_802CC93C + +/// #it_802CC944 + +/// #it_802CC9B8 + +/// #it_802CC9DC + +/// #it_802CCA8C diff --git a/src/melee/it/items/itfire.h b/src/melee/it/items/itfire.h index e30cb10add..c2e0fd033b 100644 --- a/src/melee/it/items/itfire.h +++ b/src/melee/it/items/itfire.h @@ -6,7 +6,20 @@ #include "it/items/types.h" /* 2CC6E4 */ void it_802CC6E4(Item_GObj*); +/* 2CC740 */ UNK_RET it_802CC740(UNK_PARAMS); /* 2CC744 */ void it_802CC744(Item_GObj*, Item_GObj*); +/* 2CC764 */ UNK_RET it_802CC764(UNK_PARAMS); +/* 2CC7A4 */ UNK_RET it_802CC7A4(UNK_PARAMS); +/* 2CC7A8 */ UNK_RET it_802CC7A8(UNK_PARAMS); +/* 2CC7D4 */ UNK_RET it_802CC7D4(UNK_PARAMS); +/* 2CC7D8 */ UNK_RET it_802CC7D8(UNK_PARAMS); +/* 2CC860 */ UNK_RET it_802CC860(UNK_PARAMS); +/* 2CC91C */ UNK_RET it_802CC91C(UNK_PARAMS); +/* 2CC93C */ UNK_RET it_802CC93C(UNK_PARAMS); +/* 2CC944 */ UNK_RET it_802CC944(UNK_PARAMS); +/* 2CC9B8 */ UNK_RET it_802CC9B8(UNK_PARAMS); +/* 2CC9DC */ UNK_RET it_802CC9DC(UNK_PARAMS); +/* 2CCA8C */ UNK_RET it_802CCA8C(UNK_PARAMS); /* 3F7C10 */ extern ItemStateTable it_803F7C10[]; #endif diff --git a/src/melee/it/items/itflipper.c b/src/melee/it/items/itflipper.c index 8b13789179..9c520d5781 100644 --- a/src/melee/it/items/itflipper.c +++ b/src/melee/it/items/itflipper.c @@ -1 +1,80 @@ +/// #it_80290938 + +/// #it_80290A20 + +/// #it_80290A7C + +/// #it_80290C38 + +/// #it_80290CE8 + +/// #it_80290DD4 + +/// #it_80290E78 + +/// #it_80290EC8 + +void it_80290ED0(void) {} + +/// #it_80290ED4 + +/// #it_80290F00 + +/// #it_80290F28 + +/// #it_80290F30 + +/// #it_80290F60 + +/// #it_80290F8C + +/// #it_80290FB4 + +void it_80290FBC(void) {} + +/// #it_80290FC0 + +/// #it_80290FE0 + +/// #it_80291068 + +/// #it_802910A8 + +/// #it_80291188 + +/// #it_80291254 + +/// #it_8029131C + +/// #it_80291344 + +/// #it_802914C8 + +/// #it_8029151C + +/// #it_80291570 + +/// #it_802915B4 + +/// #it_802915E8 + +/// #it_802917C8 + +/// #it_802918A0 + +/// #it_80291978 + +/// #it_80291998 + +/// #it_802919B8 + +/// #it_80291B58 + +/// #it_80291B80 + +void it_80291B88(void) {} + +/// #it_80291B8C + +/// #it_80291BC0 diff --git a/src/melee/it/items/itflipper.h b/src/melee/it/items/itflipper.h index 803c8ed7e5..15aa493d0d 100644 --- a/src/melee/it/items/itflipper.h +++ b/src/melee/it/items/itflipper.h @@ -6,10 +6,35 @@ #include "it/items/types.h" +/* 290938 */ UNK_RET it_80290938(UNK_PARAMS); /* 290A20 */ void it_80290A20(Item_GObj*); +/* 290A7C */ UNK_RET it_80290A7C(UNK_PARAMS); +/* 290C38 */ UNK_RET it_80290C38(UNK_PARAMS); +/* 290CE8 */ UNK_RET it_80290CE8(UNK_PARAMS); +/* 290DD4 */ UNK_RET it_80290DD4(UNK_PARAMS); +/* 290E78 */ UNK_RET it_80290E78(UNK_PARAMS); +/* 290EC8 */ UNK_RET it_80290EC8(UNK_PARAMS); +/* 290ED0 */ UNK_RET it_80290ED0(UNK_PARAMS); +/* 290ED4 */ UNK_RET it_80290ED4(UNK_PARAMS); +/* 290F00 */ UNK_RET it_80290F00(UNK_PARAMS); +/* 290F28 */ UNK_RET it_80290F28(UNK_PARAMS); +/* 290F30 */ UNK_RET it_80290F30(UNK_PARAMS); +/* 290F60 */ UNK_RET it_80290F60(UNK_PARAMS); /* 290F8C */ void it_80290F8C(Item_GObj*); +/* 290FB4 */ UNK_RET it_80290FB4(UNK_PARAMS); +/* 290FBC */ UNK_RET it_80290FBC(UNK_PARAMS); /* 290FC0 */ void it_80290FC0(Item_GObj*); /* 290FE0 */ void it_80290FE0(Item_GObj*); +/* 291068 */ UNK_RET it_80291068(UNK_PARAMS); +/* 2910A8 */ UNK_RET it_802910A8(UNK_PARAMS); +/* 291188 */ UNK_RET it_80291188(UNK_PARAMS); +/* 291254 */ UNK_RET it_80291254(UNK_PARAMS); +/* 29131C */ UNK_RET it_8029131C(UNK_PARAMS); +/* 291344 */ UNK_RET it_80291344(UNK_PARAMS); +/* 2914C8 */ UNK_RET it_802914C8(UNK_PARAMS); +/* 29151C */ UNK_RET it_8029151C(UNK_PARAMS); +/* 291570 */ UNK_RET it_80291570(UNK_PARAMS); +/* 2915B4 */ UNK_RET it_802915B4(UNK_PARAMS); /* 2915E8 */ bool it_802915E8(Item_GObj*); /* 2917C8 */ bool it_802917C8(Item_GObj*); /* 2918A0 */ bool it_802918A0(Item_GObj*); @@ -17,6 +42,9 @@ /* 291998 */ bool it_80291998(Item_GObj*); /* 2919B8 */ bool it_802919B8(Item_GObj*); /* 291B58 */ void it_80291B58(Item_GObj*); +/* 291B80 */ UNK_RET it_80291B80(UNK_PARAMS); +/* 291B88 */ UNK_RET it_80291B88(UNK_PARAMS); +/* 291B8C */ UNK_RET it_80291B8C(UNK_PARAMS); /* 291BC0 */ void it_80291BC0(Item_GObj*, Item_GObj*); /* 3F5EA8 */ extern ItemStateTable it_803F5EA8[]; diff --git a/src/melee/it/items/itfreeze.c b/src/melee/it/items/itfreeze.c index 8b13789179..70a2f3380c 100644 --- a/src/melee/it/items/itfreeze.c +++ b/src/melee/it/items/itfreeze.c @@ -1 +1,80 @@ +/// #it_8028EB88 + +/// #it_8028EC98 + +/// #it_8028ECE0 + +/// #it_8028ECF0 + +/// #it_8028ED10 + +/// #it_8028ED50 + +/// #it_8028EDBC + +/// #it_8028EF34 + +/// #it_8028EF88 + +/// #it_8028EF90 + +/// #it_8028EFB0 + +/// #it_8028F1D8 + +/// #it_8028F200 + +/// #it_8028F208 + +/// #it_8028F238 + +/// #it_8028F2B4 + +/// #it_8028F310 + +/// #it_8028F318 + +/// #it_8028F340 + +/// #it_8028F368 + +/// #it_8028F398 + +/// #it_8028F3CC + +/// #it_8028F3D4 + +/// #it_8028F3DC + +/// #it_8028F3E4 + +/// #it_8028F3EC + +/// #it_8028F40C + +/// #it_8028F42C + +/// #it_8028F434 + +/// #it_8028F4AC + +/// #it_8028F4B4 + +/// #it_8028F560 + +/// #it_8028F7C8 + +/// #it_8028F828 + +void it_8028F830(void) {} + +/// #it_8028F834 + +/// #it_8028F8C4 + +/// #it_8028F8E4 + +/// #it_8028F968 + +/// #it_8028F9B8 diff --git a/src/melee/it/items/itfreeze.h b/src/melee/it/items/itfreeze.h index 6bfe5f669e..fc182fc24e 100644 --- a/src/melee/it/items/itfreeze.h +++ b/src/melee/it/items/itfreeze.h @@ -6,11 +6,27 @@ #include "it/items/types.h" +/* 28EB88 */ UNK_RET it_8028EB88(UNK_PARAMS); +/* 28EC98 */ UNK_RET it_8028EC98(UNK_PARAMS); +/* 28ECE0 */ UNK_RET it_8028ECE0(UNK_PARAMS); +/* 28ECF0 */ UNK_RET it_8028ECF0(UNK_PARAMS); /* 28ED10 */ void it_8028ED10(Item_GObj*); /* 28ED50 */ void it_8028ED50(Item_GObj*); +/* 28EDBC */ UNK_RET it_8028EDBC(UNK_PARAMS); +/* 28EF34 */ UNK_RET it_8028EF34(UNK_PARAMS); +/* 28EF88 */ UNK_RET it_8028EF88(UNK_PARAMS); +/* 28EF90 */ UNK_RET it_8028EF90(UNK_PARAMS); +/* 28EFB0 */ UNK_RET it_8028EFB0(UNK_PARAMS); +/* 28F1D8 */ UNK_RET it_8028F1D8(UNK_PARAMS); +/* 28F200 */ UNK_RET it_8028F200(UNK_PARAMS); +/* 28F208 */ UNK_RET it_8028F208(UNK_PARAMS); +/* 28F238 */ UNK_RET it_8028F238(UNK_PARAMS); /* 28F2B4 */ void it_8028F2B4(Item_GObj*); +/* 28F310 */ UNK_RET it_8028F310(UNK_PARAMS); /* 28F318 */ void it_8028F318(Item_GObj*); /* 28F340 */ void it_8028F340(Item_GObj*); +/* 28F368 */ UNK_RET it_8028F368(UNK_PARAMS); +/* 28F398 */ UNK_RET it_8028F398(UNK_PARAMS); /* 28F3CC */ bool it_8028F3CC(Item_GObj*); /* 28F3D4 */ bool it_8028F3D4(Item_GObj*); /* 28F3DC */ bool it_8028F3DC(Item_GObj*); @@ -18,6 +34,14 @@ /* 28F3EC */ bool it_8028F3EC(Item_GObj*); /* 28F40C */ bool it_8028F40C(Item_GObj*); /* 28F42C */ bool it_8028F42C(Item_GObj*); +/* 28F434 */ UNK_RET it_8028F434(UNK_PARAMS); +/* 28F4AC */ UNK_RET it_8028F4AC(UNK_PARAMS); +/* 28F4B4 */ UNK_RET it_8028F4B4(UNK_PARAMS); +/* 28F560 */ UNK_RET it_8028F560(UNK_PARAMS); +/* 28F7C8 */ UNK_RET it_8028F7C8(UNK_PARAMS); +/* 28F828 */ UNK_RET it_8028F828(UNK_PARAMS); +/* 28F830 */ UNK_RET it_8028F830(UNK_PARAMS); +/* 28F834 */ UNK_RET it_8028F834(UNK_PARAMS); /* 28F8C4 */ void it_8028F8C4(Item_GObj*, Item_GObj*); /* 28F8E4 */ void it_8028F8E4(Item_GObj*); /* 28F968 */ void it_8028F968(Item_GObj*); diff --git a/src/melee/it/items/itfreezer.c b/src/melee/it/items/itfreezer.c index 8b13789179..991b6a68fb 100644 --- a/src/melee/it/items/itfreezer.c +++ b/src/melee/it/items/itfreezer.c @@ -1 +1,32 @@ +/// #it_802CCF9C + +void it_802CCFFC(void) {} + +/// #it_802CD000 + +/// #it_802CD020 + +void it_802CD060(void) {} + +/// #it_802CD064 + +/// #it_802CD090 + +/// #it_802CD12C + +/// #it_802CD18C + +/// #it_802CD230 + +/// #it_802CD288 + +/// #it_802CD290 + +/// #it_802CD2EC + +/// #it_802CD360 + +/// #it_802CD384 + +/// #it_802CD424 diff --git a/src/melee/it/items/itfreezer.h b/src/melee/it/items/itfreezer.h index 27b34901b2..497ec44072 100644 --- a/src/melee/it/items/itfreezer.h +++ b/src/melee/it/items/itfreezer.h @@ -6,7 +6,21 @@ #include "it/items/types.h" /* 2CCF9C */ void it_802CCF9C(Item_GObj*); +/* 2CCFFC */ UNK_RET it_802CCFFC(UNK_PARAMS); /* 2CD000 */ void it_802CD000(Item_GObj*, Item_GObj*); +/* 2CD020 */ UNK_RET it_802CD020(UNK_PARAMS); +/* 2CD060 */ UNK_RET it_802CD060(UNK_PARAMS); +/* 2CD064 */ UNK_RET it_802CD064(UNK_PARAMS); +/* 2CD090 */ UNK_RET it_802CD090(UNK_PARAMS); +/* 2CD12C */ UNK_RET it_802CD12C(UNK_PARAMS); +/* 2CD18C */ UNK_RET it_802CD18C(UNK_PARAMS); +/* 2CD230 */ UNK_RET it_802CD230(UNK_PARAMS); +/* 2CD288 */ UNK_RET it_802CD288(UNK_PARAMS); +/* 2CD290 */ UNK_RET it_802CD290(UNK_PARAMS); +/* 2CD2EC */ UNK_RET it_802CD2EC(UNK_PARAMS); +/* 2CD360 */ UNK_RET it_802CD360(UNK_PARAMS); +/* 2CD384 */ UNK_RET it_802CD384(UNK_PARAMS); +/* 2CD424 */ UNK_RET it_802CD424(UNK_PARAMS); /* 3F7C70 */ extern ItemStateTable it_803F7C70[]; #endif diff --git a/src/melee/it/items/itfushigibana.c b/src/melee/it/items/itfushigibana.c index 8b13789179..99db394859 100644 --- a/src/melee/it/items/itfushigibana.c +++ b/src/melee/it/items/itfushigibana.c @@ -1 +1,28 @@ +/// #it_802D6FD0 + +/// #it_802D705C + +/// #it_802D70A4 + +/// #it_802D7120 + +/// #it_802D7144 + +/// #it_802D7164 + +/// #it_802D718C + +/// #it_802D71E8 + +void it_802D72E4(void) {} + +/// #it_802D72E8 + +/// #it_802D7328 + +/// #it_802D736C + +/// #it_802D7374 + +/// #it_802D73A4 diff --git a/src/melee/it/items/itfushigibana.h b/src/melee/it/items/itfushigibana.h index ecd5574110..9d995c61db 100644 --- a/src/melee/it/items/itfushigibana.h +++ b/src/melee/it/items/itfushigibana.h @@ -6,6 +6,19 @@ #include "it/items/types.h" /* 2D6FD0 */ void it_802D6FD0(Item_GObj*); +/* 2D705C */ UNK_RET it_802D705C(UNK_PARAMS); +/* 2D70A4 */ UNK_RET it_802D70A4(UNK_PARAMS); +/* 2D7120 */ UNK_RET it_802D7120(UNK_PARAMS); +/* 2D7144 */ UNK_RET it_802D7144(UNK_PARAMS); +/* 2D7164 */ UNK_RET it_802D7164(UNK_PARAMS); +/* 2D718C */ UNK_RET it_802D718C(UNK_PARAMS); +/* 2D71E8 */ UNK_RET it_802D71E8(UNK_PARAMS); +/* 2D72E4 */ UNK_RET it_802D72E4(UNK_PARAMS); +/* 2D72E8 */ UNK_RET it_802D72E8(UNK_PARAMS); +/* 2D7328 */ UNK_RET it_802D7328(UNK_PARAMS); +/* 2D736C */ UNK_RET it_802D736C(UNK_PARAMS); +/* 2D7374 */ UNK_RET it_802D7374(UNK_PARAMS); +/* 2D73A4 */ UNK_RET it_802D73A4(UNK_PARAMS); /* 3F82F0 */ extern ItemStateTable it_803F82F0[]; #endif diff --git a/src/melee/it/items/itgamewatchchef.c b/src/melee/it/items/itgamewatchchef.c index 8b13789179..e919924590 100644 --- a/src/melee/it/items/itgamewatchchef.c +++ b/src/melee/it/items/itgamewatchchef.c @@ -1 +1,32 @@ +/// #it_802C837C + +/// #it_802C847C + +/// #it_802C84A0 + +/// #it_802C8540 + +/// #it_802C8690 + +/// #it_802C86D0 + +/// #it_802C875C + +/// #it_802C87B4 + +void it_802C8828(void) {} + +/// #it_802C882C + +/// #it_802C88E4 + +/// #it_802C8940 + +/// #it_802C899C + +/// #it_802C8A08 + +/// #it_802C8A28 + +/// #it_802C8B08 diff --git a/src/melee/it/items/itgamewatchchef.h b/src/melee/it/items/itgamewatchchef.h index a1d9c7e385..979b65b07e 100644 --- a/src/melee/it/items/itgamewatchchef.h +++ b/src/melee/it/items/itgamewatchchef.h @@ -3,10 +3,20 @@ #include #include "it/forward.h" +#include #include "it/items/types.h" +/* 2C837C */ HSD_GObj* it_802C837C(Item_GObj*, Vec3*, enum_t, u32, float); /* 2C847C */ bool it_802C847C(Item_GObj*); +/* 2C84A0 */ UNK_RET it_802C84A0(UNK_PARAMS); +/* 2C8540 */ UNK_RET it_802C8540(UNK_PARAMS); +/* 2C8690 */ UNK_RET it_802C8690(UNK_PARAMS); +/* 2C86D0 */ UNK_RET it_802C86D0(UNK_PARAMS); +/* 2C875C */ UNK_RET it_802C875C(UNK_PARAMS); +/* 2C87B4 */ UNK_RET it_802C87B4(UNK_PARAMS); +/* 2C8828 */ UNK_RET it_802C8828(UNK_PARAMS); +/* 2C882C */ UNK_RET it_802C882C(UNK_PARAMS); /* 2C88E4 */ bool it_802C88E4(Item_GObj*); /* 2C8940 */ bool it_802C8940(Item_GObj*); /* 2C899C */ bool it_802C899C(Item_GObj*); diff --git a/src/melee/it/items/itgamewatchrescue.c b/src/melee/it/items/itgamewatchrescue.c index 8b13789179..ff5059ee98 100644 --- a/src/melee/it/items/itgamewatchrescue.c +++ b/src/melee/it/items/itgamewatchrescue.c @@ -1 +1,18 @@ +/// #it_802C8038 + +/// #it_802C8158 + +/// #it_802C81C8 + +/// #it_802C81E8 + +/// #it_802C8208 + +/// #it_802C8240 + +void it_802C8350(void) {} + +/// #it_802C8354 + +/// #it_802C835C diff --git a/src/melee/it/items/itgamewatchrescue.h b/src/melee/it/items/itgamewatchrescue.h index ffbaa096ce..a5d5ff83a0 100644 --- a/src/melee/it/items/itgamewatchrescue.h +++ b/src/melee/it/items/itgamewatchrescue.h @@ -2,9 +2,18 @@ #define GALE01_2C8038 #include "it/forward.h" +#include #include "it/items/types.h" +/* 2C8038 */ HSD_GObj* it_802C8038(Item_GObj*, Vec3*, s32, s32, float, float); +/* 2C8158 */ void it_802C8158(Item_GObj*); +/* 2C81C8 */ void it_802C81C8(Item_GObj*); +/* 2C81E8 */ void it_802C81E8(Item_GObj*); +/* 2C8208 */ UNK_RET it_802C8208(UNK_PARAMS); +/* 2C8240 */ UNK_RET it_802C8240(UNK_PARAMS); +/* 2C8350 */ UNK_RET it_802C8350(UNK_PARAMS); +/* 2C8354 */ UNK_RET it_802C8354(UNK_PARAMS); /* 2C835C */ void it_802C835C(Item_GObj*, Item_GObj*); /* 3F79C0 */ extern ItemStateTable it_803F79C0[]; diff --git a/src/melee/it/items/itgshell.c b/src/melee/it/items/itgshell.c index 8b13789179..704ded03a5 100644 --- a/src/melee/it/items/itgshell.c +++ b/src/melee/it/items/itgshell.c @@ -1 +1,90 @@ +/// #it_8028B8D8 + +/// #it_8028B988 + +/// #it_8028BA2C + +/// #it_8028BAD8 + +/// #it_8028BC2C + +/// #it_8028BDAC + +/// #it_8028BE54 + +/// #it_8028BEE8 + +void it_8028BEF0(void) {} + +/// #it_8028BEF4 + +/// #it_8028C018 + +/// #it_8028C054 + +/// #it_8028C0D0 + +/// #it_8028C100 + +/// #it_8028C148 + +/// #it_8028C1A0 + +void it_8028C1A8(void) {} + +/// #it_8028C1AC + +/// #it_8028C1FC + +/// #it_8028C2A4 + +/// #it_8028C2D4 + +/// #it_8028C300 + +/// #it_8028C328 + +/// #it_8028C34C + +/// #it_8028C37C + +/// #it_8028C3A8 + +/// #it_8028C52C + +/// #it_8028C6E4 + +/// #it_8028C75C + +/// #it_8028C898 + +/// #it_8028CA14 + +/// #it_8028CAC8 + +/// #it_8028CAF8 + +/// #it_8028CB24 + +/// #it_8028CB70 + +void it_8028CB78(void) {} + +/// #it_8028CB7C + +/// #it_8028CCA8 + +/// #it_8028CCCC + +/// #it_8028CD04 + +/// #it_8028CD3C + +/// #it_8028CE1C + +/// #it_8028CF2C + +/// #it_8028CF68 + +/// #it_8028CFC0 diff --git a/src/melee/it/items/itgshell.h b/src/melee/it/items/itgshell.h index 6dbb38834b..d85e23cea2 100644 --- a/src/melee/it/items/itgshell.h +++ b/src/melee/it/items/itgshell.h @@ -6,17 +6,50 @@ #include "it/items/types.h" +/* 28B8D8 */ UNK_RET it_8028B8D8(UNK_PARAMS); +/* 28B988 */ UNK_RET it_8028B988(UNK_PARAMS); +/* 28BA2C */ UNK_RET it_8028BA2C(UNK_PARAMS); +/* 28BAD8 */ UNK_RET it_8028BAD8(UNK_PARAMS); +/* 28BC2C */ UNK_RET it_8028BC2C(UNK_PARAMS); /* 28BDAC */ void it_8028BDAC(Item_GObj*); +/* 28BE54 */ UNK_RET it_8028BE54(UNK_PARAMS); +/* 28BEE8 */ UNK_RET it_8028BEE8(UNK_PARAMS); +/* 28BEF0 */ UNK_RET it_8028BEF0(UNK_PARAMS); +/* 28BEF4 */ UNK_RET it_8028BEF4(UNK_PARAMS); +/* 28C018 */ UNK_RET it_8028C018(UNK_PARAMS); +/* 28C054 */ UNK_RET it_8028C054(UNK_PARAMS); +/* 28C0D0 */ UNK_RET it_8028C0D0(UNK_PARAMS); +/* 28C100 */ UNK_RET it_8028C100(UNK_PARAMS); /* 28C148 */ void it_8028C148(Item_GObj*); +/* 28C1A0 */ UNK_RET it_8028C1A0(UNK_PARAMS); +/* 28C1A8 */ UNK_RET it_8028C1A8(UNK_PARAMS); /* 28C1AC */ void it_8028C1AC(Item_GObj*); +/* 28C1FC */ UNK_RET it_8028C1FC(UNK_PARAMS); +/* 28C2A4 */ UNK_RET it_8028C2A4(UNK_PARAMS); +/* 28C2D4 */ UNK_RET it_8028C2D4(UNK_PARAMS); /* 28C300 */ void it_8028C300(Item_GObj*); +/* 28C328 */ UNK_RET it_8028C328(UNK_PARAMS); +/* 28C34C */ UNK_RET it_8028C34C(UNK_PARAMS); +/* 28C37C */ UNK_RET it_8028C37C(UNK_PARAMS); +/* 28C3A8 */ UNK_RET it_8028C3A8(UNK_PARAMS); +/* 28C52C */ UNK_RET it_8028C52C(UNK_PARAMS); +/* 28C6E4 */ UNK_RET it_8028C6E4(UNK_PARAMS); +/* 28C75C */ UNK_RET it_8028C75C(UNK_PARAMS); +/* 28C898 */ UNK_RET it_8028C898(UNK_PARAMS); +/* 28CA14 */ UNK_RET it_8028CA14(UNK_PARAMS); +/* 28CAC8 */ UNK_RET it_8028CAC8(UNK_PARAMS); +/* 28CAF8 */ UNK_RET it_8028CAF8(UNK_PARAMS); /* 28CB24 */ void it_8028CB24(Item_GObj*); +/* 28CB70 */ UNK_RET it_8028CB70(UNK_PARAMS); +/* 28CB78 */ UNK_RET it_8028CB78(UNK_PARAMS); +/* 28CB7C */ UNK_RET it_8028CB7C(UNK_PARAMS); /* 28CCA8 */ bool it_8028CCA8(Item_GObj*); /* 28CCCC */ bool it_8028CCCC(Item_GObj*); /* 28CD04 */ bool it_8028CD04(Item_GObj*); /* 28CD3C */ bool it_8028CD3C(Item_GObj*); /* 28CE1C */ bool it_8028CE1C(Item_GObj*); /* 28CF2C */ bool it_8028CF2C(Item_GObj*); +/* 28CF68 */ UNK_RET it_8028CF68(UNK_PARAMS); /* 28CFC0 */ void it_8028CFC0(Item_GObj*, Item_GObj*); /* 3F5BA8 */ extern ItemStateTable it_803F5BA8[]; diff --git a/src/melee/it/items/ithammerhead.c b/src/melee/it/items/ithammerhead.c index 8b13789179..132a1273e1 100644 --- a/src/melee/it/items/ithammerhead.c +++ b/src/melee/it/items/ithammerhead.c @@ -1 +1,44 @@ +/// #it_80299C48 + +/// #it_80299D4C + +/// #it_80299D7C + +/// #it_80299DD0 + +/// #it_80299E1C + +void it_80299E24(void) {} + +/// #it_80299E28 + +/// #it_80299E48 + +/// #it_80299E9C + +/// #it_80299F1C + +/// #it_80299F68 + +/// #it_80299F94 + +/// #it_80299FB4 + +/// #it_8029A000 + +void it_8029A080(void) {} + +/// #it_8029A084 + +/// #it_8029A0B0 + +/// #it_8029A0B8 + +/// #it_8029A0C0 + +/// #it_8029A0C8 + +/// #it_8029A0EC + +/// #it_8029A0F4 diff --git a/src/melee/it/items/ithammerhead.h b/src/melee/it/items/ithammerhead.h index c8d8ce0d81..697a07fcd8 100644 --- a/src/melee/it/items/ithammerhead.h +++ b/src/melee/it/items/ithammerhead.h @@ -10,9 +10,20 @@ /* 299C48 */ void it_80299C48(HSD_GObj*, Vec3*, Vec3*, f32); /* 299D4C */ void it_80299D4C(Item_GObj*); +/* 299D7C */ UNK_RET it_80299D7C(UNK_PARAMS); /* 299DD0 */ void it_80299DD0(Item_GObj*); +/* 299E1C */ UNK_RET it_80299E1C(UNK_PARAMS); +/* 299E24 */ UNK_RET it_80299E24(UNK_PARAMS); /* 299E28 */ void it_80299E28(Item_GObj*); /* 299E48 */ void it_80299E48(Item_GObj*); +/* 299E9C */ UNK_RET it_80299E9C(UNK_PARAMS); +/* 299F1C */ UNK_RET it_80299F1C(UNK_PARAMS); +/* 299F68 */ UNK_RET it_80299F68(UNK_PARAMS); +/* 299F94 */ UNK_RET it_80299F94(UNK_PARAMS); +/* 299FB4 */ UNK_RET it_80299FB4(UNK_PARAMS); +/* 29A000 */ UNK_RET it_8029A000(UNK_PARAMS); +/* 29A080 */ UNK_RET it_8029A080(UNK_PARAMS); +/* 29A084 */ UNK_RET it_8029A084(UNK_PARAMS); /* 29A0B0 */ bool it_8029A0B0(Item_GObj*); /* 29A0B8 */ bool it_8029A0B8(Item_GObj*); /* 29A0C0 */ bool it_8029A0C0(Item_GObj*); diff --git a/src/melee/it/items/itharisen.c b/src/melee/it/items/itharisen.c index 8b13789179..94ecac0e24 100644 --- a/src/melee/it/items/itharisen.c +++ b/src/melee/it/items/itharisen.c @@ -1 +1,66 @@ +/// #it_802927E8 + +/// #it_8029282C + +/// #it_8029285C + +/// #it_8029287C + +/// #it_802928D4 + +void it_802928DC(void) {} + +/// #it_802928E0 + +/// #it_8029290C + +/// #it_80292934 + +/// #it_8029293C + +/// #it_8029296C + +/// #it_80292998 + +/// #it_802929C8 + +/// #it_802929F8 + +/// #it_80292A28 + +/// #it_80292A5C + +/// #it_80292A84 + +void it_80292A8C(void) {} + +/// #it_80292A90 + +/// #it_80292AE8 + +/// #it_80292B2C + +/// #it_80292B54 + +/// #it_80292BA0 + +/// #it_80292BCC + +/// #it_80292C08 + +/// #it_80292C30 + +void it_80292C38(void) {} + +/// #it_80292C3C + +/// #it_80292C70 + +/// #it_80292CAC + +/// #it_80292CCC + +/// #it_80292D08 + +/// #it_80292D28 diff --git a/src/melee/it/items/itharisen.h b/src/melee/it/items/itharisen.h index e23c507156..3699601348 100644 --- a/src/melee/it/items/itharisen.h +++ b/src/melee/it/items/itharisen.h @@ -6,12 +6,34 @@ #include "it/items/types.h" +/* 2927E8 */ UNK_RET it_802927E8(UNK_PARAMS); +/* 29282C */ UNK_RET it_8029282C(UNK_PARAMS); /* 29285C */ void it_8029285C(Item_GObj*); +/* 29287C */ UNK_RET it_8029287C(UNK_PARAMS); +/* 2928D4 */ UNK_RET it_802928D4(UNK_PARAMS); +/* 2928DC */ UNK_RET it_802928DC(UNK_PARAMS); +/* 2928E0 */ UNK_RET it_802928E0(UNK_PARAMS); +/* 29290C */ UNK_RET it_8029290C(UNK_PARAMS); +/* 292934 */ UNK_RET it_80292934(UNK_PARAMS); +/* 29293C */ UNK_RET it_8029293C(UNK_PARAMS); +/* 29296C */ UNK_RET it_8029296C(UNK_PARAMS); +/* 292998 */ UNK_RET it_80292998(UNK_PARAMS); +/* 2929C8 */ UNK_RET it_802929C8(UNK_PARAMS); +/* 2929F8 */ UNK_RET it_802929F8(UNK_PARAMS); +/* 292A28 */ UNK_RET it_80292A28(UNK_PARAMS); /* 292A5C */ void it_80292A5C(Item_GObj*); +/* 292A84 */ UNK_RET it_80292A84(UNK_PARAMS); +/* 292A8C */ UNK_RET it_80292A8C(UNK_PARAMS); /* 292A90 */ void it_80292A90(Item_GObj*); +/* 292AE8 */ UNK_RET it_80292AE8(UNK_PARAMS); /* 292B2C */ void it_80292B2C(Item_GObj*); +/* 292B54 */ UNK_RET it_80292B54(UNK_PARAMS); +/* 292BA0 */ UNK_RET it_80292BA0(UNK_PARAMS); /* 292BCC */ bool it_80292BCC(Item_GObj*); /* 292C08 */ void it_80292C08(Item_GObj*); +/* 292C30 */ UNK_RET it_80292C30(UNK_PARAMS); +/* 292C38 */ UNK_RET it_80292C38(UNK_PARAMS); +/* 292C3C */ UNK_RET it_80292C3C(UNK_PARAMS); /* 292C70 */ bool it_80292C70(Item_GObj*); /* 292CAC */ bool it_80292CAC(Item_GObj*); /* 292CCC */ bool it_80292CCC(Item_GObj*); diff --git a/src/melee/it/items/ithitodeman.c b/src/melee/it/items/ithitodeman.c index 8b13789179..077e9e6136 100644 --- a/src/melee/it/items/ithitodeman.c +++ b/src/melee/it/items/ithitodeman.c @@ -1 +1,62 @@ +/// #it_802D42C4 + +void it_802D43AC(void) {} + +/// #it_802D43B0 + +/// #it_802D43EC + +/// #it_802D4494 + +/// #it_802D4510 + +/// #it_802D4564 + +/// #it_802D472C + +/// #it_802D48A8 + +/// #it_802D48B0 + +/// #it_802D4990 + +/// #it_802D49E8 + +/// #it_802D4B14 + +/// #it_802D4B48 + +void it_802D4B50(void) {} + +/// #it_802D4B54 + +/// #it_802D4BB8 + +/// #it_802D4BDC + +/// #it_802D4C4C + +/// #it_802D4C74 + +/// #it_802D4DE0 + +/// #it_802D4EF4 + +/// #it_802D4F08 + +/// #it_802D4F28 + +/// #it_802D4F48 + +/// #it_802D4F50 + +/// #it_802D4F58 + +/// #it_802D4F78 + +/// #it_802D4FFC + +void it_802D5044(void) {} + +/// #it_802D5048 diff --git a/src/melee/it/items/ithitodeman.h b/src/melee/it/items/ithitodeman.h index 70b3f38491..6c4695fe19 100644 --- a/src/melee/it/items/ithitodeman.h +++ b/src/melee/it/items/ithitodeman.h @@ -7,7 +7,25 @@ #include "it/items/types.h" /* 2D42C4 */ void it_802D42C4(Item_GObj*); +/* 2D43AC */ UNK_RET it_802D43AC(UNK_PARAMS); /* 2D43B0 */ void it_802D43B0(Item_GObj*, Item_GObj*); +/* 2D43EC */ UNK_RET it_802D43EC(UNK_PARAMS); +/* 2D4494 */ UNK_RET it_802D4494(UNK_PARAMS); +/* 2D4510 */ UNK_RET it_802D4510(UNK_PARAMS); +/* 2D4564 */ UNK_RET it_802D4564(UNK_PARAMS); +/* 2D472C */ UNK_RET it_802D472C(UNK_PARAMS); +/* 2D48A8 */ UNK_RET it_802D48A8(UNK_PARAMS); +/* 2D48B0 */ UNK_RET it_802D48B0(UNK_PARAMS); +/* 2D4990 */ UNK_RET it_802D4990(UNK_PARAMS); +/* 2D49E8 */ UNK_RET it_802D49E8(UNK_PARAMS); +/* 2D4B14 */ UNK_RET it_802D4B14(UNK_PARAMS); +/* 2D4B48 */ UNK_RET it_802D4B48(UNK_PARAMS); +/* 2D4B50 */ UNK_RET it_802D4B50(UNK_PARAMS); +/* 2D4B54 */ UNK_RET it_802D4B54(UNK_PARAMS); +/* 2D4BB8 */ UNK_RET it_802D4BB8(UNK_PARAMS); +/* 2D4BDC */ UNK_RET it_802D4BDC(UNK_PARAMS); +/* 2D4C4C */ UNK_RET it_802D4C4C(UNK_PARAMS); +/* 2D4C74 */ UNK_RET it_802D4C74(UNK_PARAMS); /* 2D4DE0 */ void it_802D4DE0(Item_GObj*); /* 2D4EF4 */ bool it_802D4EF4(Item_GObj*); /* 2D4F08 */ bool it_802D4F08(Item_GObj*); @@ -15,6 +33,10 @@ /* 2D4F48 */ bool it_802D4F48(Item_GObj*); /* 2D4F50 */ bool it_802D4F50(Item_GObj*); /* 2D4F58 */ void it_802D4F58(Item_GObj*, Item_GObj*); +/* 2D4F78 */ UNK_RET it_802D4F78(UNK_PARAMS); +/* 2D4FFC */ UNK_RET it_802D4FFC(UNK_PARAMS); +/* 2D5044 */ UNK_RET it_802D5044(UNK_PARAMS); +/* 2D5048 */ UNK_RET it_802D5048(UNK_PARAMS); /* 3F8128 */ extern ItemStateTable it_803F8128[]; /* 3F8180 */ extern ItemStateTable it_803F8180[]; diff --git a/src/melee/it/items/ithouou.c b/src/melee/it/items/ithouou.c index 8b13789179..f8dd1a1dbf 100644 --- a/src/melee/it/items/ithouou.c +++ b/src/melee/it/items/ithouou.c @@ -1 +1,68 @@ +/// #it_802D251C + +void it_802D25B8(void) {} + +/// #it_802D25BC + +/// #it_802D25DC + +/// #it_802D2640 + +/// #it_802D2660 + +/// #it_802D2668 + +/// #it_802D26BC + +/// #it_802D26FC + +/// #it_802D27A8 + +/// #it_802D27B0 + +/// #it_802D27FC + +/// #it_802D288C + +/// #it_802D2904 + +/// #it_802D290C + +/// #it_802D2970 + +/// #it_802D29D4 + +/// #it_802D2A50 + +/// #it_802D2A58 + +/// #it_802D2AC0 + +/// #it_802D2B24 + +/// #it_802D2B44 + +/// #it_802D2B4C + +/// #it_802D2BE0 + +/// #it_802D2C54 + +/// #it_802D2C78 + +/// #it_802D2D04 + +/// #it_802D2D2C + +/// #it_802D2E80 + +/// #it_802D2ED0 + +/// #it_802D2EF0 + +/// #it_802D2F3C + +/// #it_802D2F70 + +/// #it_802D2FE8 diff --git a/src/melee/it/items/ithouou.h b/src/melee/it/items/ithouou.h index f7874be3e7..c3a194650c 100644 --- a/src/melee/it/items/ithouou.h +++ b/src/melee/it/items/ithouou.h @@ -6,9 +6,39 @@ #include "it/items/types.h" /* 2D251C */ void it_802D251C(Item_GObj*); +/* 2D25B8 */ UNK_RET it_802D25B8(UNK_PARAMS); /* 2D25BC */ void it_802D25BC(Item_GObj*, Item_GObj*); +/* 2D25DC */ UNK_RET it_802D25DC(UNK_PARAMS); +/* 2D2640 */ UNK_RET it_802D2640(UNK_PARAMS); +/* 2D2660 */ UNK_RET it_802D2660(UNK_PARAMS); +/* 2D2668 */ UNK_RET it_802D2668(UNK_PARAMS); +/* 2D26BC */ UNK_RET it_802D26BC(UNK_PARAMS); +/* 2D26FC */ UNK_RET it_802D26FC(UNK_PARAMS); +/* 2D27A8 */ UNK_RET it_802D27A8(UNK_PARAMS); +/* 2D27B0 */ UNK_RET it_802D27B0(UNK_PARAMS); +/* 2D27FC */ UNK_RET it_802D27FC(UNK_PARAMS); +/* 2D288C */ UNK_RET it_802D288C(UNK_PARAMS); +/* 2D2904 */ UNK_RET it_802D2904(UNK_PARAMS); +/* 2D290C */ UNK_RET it_802D290C(UNK_PARAMS); +/* 2D2970 */ UNK_RET it_802D2970(UNK_PARAMS); +/* 2D29D4 */ UNK_RET it_802D29D4(UNK_PARAMS); +/* 2D2A50 */ UNK_RET it_802D2A50(UNK_PARAMS); +/* 2D2A58 */ UNK_RET it_802D2A58(UNK_PARAMS); +/* 2D2AC0 */ UNK_RET it_802D2AC0(UNK_PARAMS); +/* 2D2B24 */ UNK_RET it_802D2B24(UNK_PARAMS); +/* 2D2B44 */ UNK_RET it_802D2B44(UNK_PARAMS); +/* 2D2B4C */ UNK_RET it_802D2B4C(UNK_PARAMS); +/* 2D2BE0 */ UNK_RET it_802D2BE0(UNK_PARAMS); +/* 2D2C54 */ UNK_RET it_802D2C54(UNK_PARAMS); +/* 2D2C78 */ UNK_RET it_802D2C78(UNK_PARAMS); +/* 2D2D04 */ UNK_RET it_802D2D04(UNK_PARAMS); +/* 2D2D2C */ UNK_RET it_802D2D2C(UNK_PARAMS); /* 2D2E80 */ void it_802D2E80(Item_GObj*); /* 2D2ED0 */ void it_802D2ED0(Item_GObj*, Item_GObj*); +/* 2D2EF0 */ UNK_RET it_802D2EF0(UNK_PARAMS); +/* 2D2F3C */ UNK_RET it_802D2F3C(UNK_PARAMS); +/* 2D2F70 */ UNK_RET it_802D2F70(UNK_PARAMS); +/* 2D2FE8 */ UNK_RET it_802D2FE8(UNK_PARAMS); /* 3F7F58 */ extern ItemStateTable it_803F7F58[]; /* 3F7FB8 */ extern ItemStateTable it_803F7FB8[]; diff --git a/src/melee/it/items/itkabigon.c b/src/melee/it/items/itkabigon.c index 8b13789179..fa5e68c78b 100644 --- a/src/melee/it/items/itkabigon.c +++ b/src/melee/it/items/itkabigon.c @@ -1 +1,38 @@ +/// #it_802C9D40 + +void it_802C9DFC(void) {} + +/// #it_802C9E00 + +/// #it_802C9E24 + +/// #it_802C9E44 + +/// #it_802C9E8C + +/// #it_802C9EF0 + +/// #it_802C9F74 + +/// #it_802C9FBC + +/// #it_802CA014 + +/// #it_802CA074 + +/// #it_802CA198 + +void it_802CA318(void) {} + +/// #it_802CA31C + +/// #it_802CA324 + +/// #it_802CA388 + +/// #it_802CA3AC + +/// #it_802CA3CC + +/// #it_802CA3F4 diff --git a/src/melee/it/items/itkabigon.h b/src/melee/it/items/itkabigon.h index b647ef1629..3ff382fc1b 100644 --- a/src/melee/it/items/itkabigon.h +++ b/src/melee/it/items/itkabigon.h @@ -6,8 +6,24 @@ #include "it/items/types.h" /* 2C9D40 */ void it_802C9D40(Item_GObj*); +/* 2C9DFC */ UNK_RET it_802C9DFC(UNK_PARAMS); /* 2C9E00 */ void it_802C9E00(Item_GObj*); /* 2C9E24 */ void it_802C9E24(Item_GObj*, Item_GObj*); +/* 2C9E44 */ UNK_RET it_802C9E44(UNK_PARAMS); +/* 2C9E8C */ UNK_RET it_802C9E8C(UNK_PARAMS); +/* 2C9EF0 */ UNK_RET it_802C9EF0(UNK_PARAMS); +/* 2C9F74 */ UNK_RET it_802C9F74(UNK_PARAMS); +/* 2C9FBC */ UNK_RET it_802C9FBC(UNK_PARAMS); +/* 2CA014 */ UNK_RET it_802CA014(UNK_PARAMS); +/* 2CA074 */ UNK_RET it_802CA074(UNK_PARAMS); +/* 2CA198 */ UNK_RET it_802CA198(UNK_PARAMS); +/* 2CA318 */ UNK_RET it_802CA318(UNK_PARAMS); +/* 2CA31C */ UNK_RET it_802CA31C(UNK_PARAMS); +/* 2CA324 */ UNK_RET it_802CA324(UNK_PARAMS); +/* 2CA388 */ UNK_RET it_802CA388(UNK_PARAMS); +/* 2CA3AC */ UNK_RET it_802CA3AC(UNK_PARAMS); +/* 2CA3CC */ UNK_RET it_802CA3CC(UNK_PARAMS); +/* 2CA3F4 */ UNK_RET it_802CA3F4(UNK_PARAMS); /* 3F7AD8 */ extern ItemStateTable it_803F7AD8[]; #endif diff --git a/src/melee/it/items/itkamex.c b/src/melee/it/items/itkamex.c index 8b13789179..763dc40a75 100644 --- a/src/melee/it/items/itkamex.c +++ b/src/melee/it/items/itkamex.c @@ -1 +1,60 @@ +/// #it_802CA49C + +void it_802CA534(void) {} + +/// #it_802CA538 + +/// #it_802CA558 + +/// #it_802CA58C + +/// #it_802CA5D8 + +/// #it_802CA618 + +/// #it_802CA654 + +/// #it_802CA6A0 + +/// #it_802CA724 + +/// #it_802CA7FC + +/// #it_802CA890 + +/// #it_802CA8DC + +/// #it_802CA938 + +/// #it_802CA984 + +/// #it_802CA9B8 + +/// #it_802CA9F4 + +/// #it_802CAA40 + +/// #it_802CAAA4 + +/// #it_802CAAC8 + +/// #it_802CAAE8 + +/// #it_802CAB10 + +/// #it_802CACD0 + +/// #it_802CADC0 + +/// #it_802CADC8 + +/// #it_802CADD0 + +/// #it_802CADF0 + +/// #it_802CAE60 + +/// #it_802CAE94 + +/// #it_802CAFB4 diff --git a/src/melee/it/items/itkamex.h b/src/melee/it/items/itkamex.h index c98ba0c4ec..047755b48f 100644 --- a/src/melee/it/items/itkamex.h +++ b/src/melee/it/items/itkamex.h @@ -6,12 +6,38 @@ #include "it/items/types.h" +#include + /* 2CA49C */ void it_802CA49C(Item_GObj*); +/* 2CA534 */ UNK_RET it_802CA534(UNK_PARAMS); /* 2CA538 */ void it_802CA538(Item_GObj*, Item_GObj*); +/* 2CA558 */ UNK_RET it_802CA558(UNK_PARAMS); +/* 2CA58C */ UNK_RET it_802CA58C(UNK_PARAMS); +/* 2CA5D8 */ UNK_RET it_802CA5D8(UNK_PARAMS); +/* 2CA618 */ UNK_RET it_802CA618(UNK_PARAMS); +/* 2CA654 */ UNK_RET it_802CA654(UNK_PARAMS); +/* 2CA6A0 */ UNK_RET it_802CA6A0(UNK_PARAMS); +/* 2CA724 */ UNK_RET it_802CA724(UNK_PARAMS); +/* 2CA7FC */ UNK_RET it_802CA7FC(UNK_PARAMS); +/* 2CA890 */ UNK_RET it_802CA890(UNK_PARAMS); +/* 2CA8DC */ UNK_RET it_802CA8DC(UNK_PARAMS); +/* 2CA938 */ UNK_RET it_802CA938(UNK_PARAMS); +/* 2CA984 */ UNK_RET it_802CA984(UNK_PARAMS); +/* 2CA9B8 */ UNK_RET it_802CA9B8(UNK_PARAMS); +/* 2CA9F4 */ UNK_RET it_802CA9F4(UNK_PARAMS); +/* 2CAA40 */ UNK_RET it_802CAA40(UNK_PARAMS); +/* 2CAAA4 */ UNK_RET it_802CAAA4(UNK_PARAMS); +/* 2CAAC8 */ UNK_RET it_802CAAC8(UNK_PARAMS); +/* 2CAAE8 */ UNK_RET it_802CAAE8(UNK_PARAMS); +/* 2CAB10 */ UNK_RET it_802CAB10(UNK_PARAMS); /* 2CACD0 */ void it_802CACD0(Item_GObj*); /* 2CADC0 */ bool it_802CADC0(Item_GObj*); /* 2CADC8 */ bool it_802CADC8(Item_GObj*); /* 2CADD0 */ void it_802CADD0(Item_GObj*, Item_GObj*); +/* 2CADF0 */ UNK_RET it_802CADF0(UNK_PARAMS); +/* 2CAE60 */ UNK_RET it_802CAE60(UNK_PARAMS); +/* 2CAE94 */ UNK_RET it_802CAE94(UNK_PARAMS); +/* 2CAFB4 */ UNK_RET it_802CAFB4(UNK_PARAMS); /* 3F7B08 */ extern ItemStateTable it_803F7B08[]; /* 3F7B48 */ extern ItemStateTable it_803F7B48[]; diff --git a/src/melee/it/items/itkirby_2F23.c b/src/melee/it/items/itkirby_2F23.c index 8b13789179..ce57136659 100644 --- a/src/melee/it/items/itkirby_2F23.c +++ b/src/melee/it/items/itkirby_2F23.c @@ -1 +1,22 @@ +/// #it_802F23AC + +/// #it_802F23EC + +/// #it_802F2578 + +void it_802F2580(void) {} + +/// #it_802F2584 + +/// #it_802F258C + +/// #it_802F2810 + +/// #it_802F2888 + +void it_802F2890(void) {} + +/// #it_802F2894 + +/// #it_802F289C diff --git a/src/melee/it/items/itkirby_2F23.h b/src/melee/it/items/itkirby_2F23.h index d9014868c1..bcb1f46372 100644 --- a/src/melee/it/items/itkirby_2F23.h +++ b/src/melee/it/items/itkirby_2F23.h @@ -4,7 +4,17 @@ #include "ft/forward.h" #include "it/forward.h" +/* 2F23AC */ UNK_RET it_802F23AC(UNK_PARAMS); /* 2F23EC */ void it_802F23EC(Item_GObj* gobj, Fighter_GObj* owner_gobj, float facing_dir); +/* 2F2578 */ UNK_RET it_802F2578(UNK_PARAMS); +/* 2F2580 */ UNK_RET it_802F2580(UNK_PARAMS); +/* 2F2584 */ UNK_RET it_802F2584(UNK_PARAMS); +/* 2F258C */ UNK_RET it_802F258C(UNK_PARAMS); +/* 2F2810 */ UNK_RET it_802F2810(UNK_PARAMS); +/* 2F2888 */ UNK_RET it_802F2888(UNK_PARAMS); +/* 2F2890 */ UNK_RET it_802F2890(UNK_PARAMS); +/* 2F2894 */ UNK_RET it_802F2894(UNK_PARAMS); +/* 2F289C */ UNK_RET it_802F289C(UNK_PARAMS); #endif diff --git a/src/melee/it/items/itklap.c b/src/melee/it/items/itklap.c index 8b13789179..e9e03b541c 100644 --- a/src/melee/it/items/itklap.c +++ b/src/melee/it/items/itklap.c @@ -1 +1,48 @@ +/// #it_802E1820 + +/// #it_802E1874 + +/// #it_802E18B4 + +/// #it_802E1930 + +/// #it_802E1968 + +/// #it_802E1970 + +/// #it_802E19FC + +/// #it_802E1C4C + +/// #it_802E1C84 + +/// #it_802E1D24 + +/// #it_802E1D2C + +/// #it_802E1E54 + +/// #it_802E1E5C + +/// #it_802E1E94 + +/// #it_802E1F2C + +/// #it_802E1F34 + +/// #it_802E20D0 + +/// #it_802E20D8 + +/// #it_802E2148 + +void it_802E2150(void) {} + +/// #it_802E2154 + +/// #it_802E215C + +/// #it_802E2330 + +/// #it_802E2450 diff --git a/src/melee/it/items/itklap.h b/src/melee/it/items/itklap.h index 8b13789179..f5573deaae 100644 --- a/src/melee/it/items/itklap.h +++ b/src/melee/it/items/itklap.h @@ -1 +1,31 @@ +#ifndef GALE01_2E1820 +#define GALE01_2E1820 +#include + +/* 2E1820 */ UNK_RET it_802E1820(UNK_PARAMS); +/* 2E1874 */ UNK_RET it_802E1874(UNK_PARAMS); +/* 2E18B4 */ UNK_RET it_802E18B4(UNK_PARAMS); +/* 2E1930 */ UNK_RET it_802E1930(UNK_PARAMS); +/* 2E1968 */ UNK_RET it_802E1968(UNK_PARAMS); +/* 2E1970 */ UNK_RET it_802E1970(UNK_PARAMS); +/* 2E19FC */ UNK_RET it_802E19FC(UNK_PARAMS); +/* 2E1C4C */ UNK_RET it_802E1C4C(UNK_PARAMS); +/* 2E1C84 */ UNK_RET it_802E1C84(UNK_PARAMS); +/* 2E1D24 */ UNK_RET it_802E1D24(UNK_PARAMS); +/* 2E1D2C */ UNK_RET it_802E1D2C(UNK_PARAMS); +/* 2E1E54 */ UNK_RET it_802E1E54(UNK_PARAMS); +/* 2E1E5C */ UNK_RET it_802E1E5C(UNK_PARAMS); +/* 2E1E94 */ UNK_RET it_802E1E94(UNK_PARAMS); +/* 2E1F2C */ UNK_RET it_802E1F2C(UNK_PARAMS); +/* 2E1F34 */ UNK_RET it_802E1F34(UNK_PARAMS); +/* 2E20D0 */ UNK_RET it_802E20D0(UNK_PARAMS); +/* 2E20D8 */ UNK_RET it_802E20D8(UNK_PARAMS); +/* 2E2148 */ UNK_RET it_802E2148(UNK_PARAMS); +/* 2E2150 */ UNK_RET it_802E2150(UNK_PARAMS); +/* 2E2154 */ UNK_RET it_802E2154(UNK_PARAMS); +/* 2E215C */ UNK_RET it_802E215C(UNK_PARAMS); +/* 2E2330 */ UNK_RET it_802E2330(UNK_PARAMS); +/* 2E2450 */ UNK_RET it_802E2450(UNK_PARAMS); + +#endif diff --git a/src/melee/it/items/itkusudama.c b/src/melee/it/items/itkusudama.c index 8b13789179..3ee575e159 100644 --- a/src/melee/it/items/itkusudama.c +++ b/src/melee/it/items/itkusudama.c @@ -1 +1,92 @@ +/// #it_802896CC + +/// #it_80289784 + +/// #it_802897C8 + +/// #it_80289910 + +/// #it_80289A00 + +/// #it_80289B50 + +/// #it_80289BE8 + +/// #it_8028A114 + +/// #it_8028A190 + +/// #it_8028A298 + +void it_8028A2C0(void) {} + +/// #it_8028A2C4 + +/// #it_8028A2F0 + +void it_8028A3A4(void) {} + +/// #it_8028A3A8 + +/// #it_8028A3CC + +/// #it_8028A4C0 + +/// #it_8028A4E8 + +/// #it_8028A518 + +/// #it_8028A544 + +/// #it_8028A690 + +void it_8028A7F0(void) {} + +/// #it_8028A7F4 + +/// #it_8028A93C + +/// #it_8028A964 + +void it_8028A96C(void) {} + +/// #it_8028A970 + +/// #it_8028A9AC + +/// #it_8028A9B4 + +/// #it_8028AA00 + +/// #it_8028AB28 + +/// #it_8028AB64 + +/// #it_8028AC74 + +/// #it_8028AD18 + +void it_8028AD38(void) {} + +/// #it_8028AD3C + +/// #it_8028AD44 + +/// #it_8028ADD4 + +void it_8028AE98(void) {} + +/// #it_8028AE9C + +/// #it_8028AEA4 + +/// #it_8028AF1C + +/// #it_8028AF54 + +/// #it_8028AF8C + +/// #it_8028AFC4 + +/// #it_8028B06C diff --git a/src/melee/it/items/itkusudama.h b/src/melee/it/items/itkusudama.h index c9b7a83f1c..4da6404fc5 100644 --- a/src/melee/it/items/itkusudama.h +++ b/src/melee/it/items/itkusudama.h @@ -5,10 +5,46 @@ #include "it/items/types.h" +/* 2896CC */ UNK_RET it_802896CC(UNK_PARAMS); /* 289784 */ void it_80289784(Item_GObj*); +/* 2897C8 */ UNK_RET it_802897C8(UNK_PARAMS); +/* 289910 */ UNK_RET it_80289910(UNK_PARAMS); +/* 289A00 */ UNK_RET it_80289A00(UNK_PARAMS); +/* 289B50 */ UNK_RET it_80289B50(UNK_PARAMS); +/* 289BE8 */ UNK_RET it_80289BE8(UNK_PARAMS); +/* 28A114 */ UNK_RET it_8028A114(UNK_PARAMS); +/* 28A190 */ UNK_RET it_8028A190(UNK_PARAMS); +/* 28A298 */ UNK_RET it_8028A298(UNK_PARAMS); +/* 28A2C0 */ UNK_RET it_8028A2C0(UNK_PARAMS); +/* 28A2C4 */ UNK_RET it_8028A2C4(UNK_PARAMS); +/* 28A2F0 */ UNK_RET it_8028A2F0(UNK_PARAMS); +/* 28A3A4 */ UNK_RET it_8028A3A4(UNK_PARAMS); +/* 28A3A8 */ UNK_RET it_8028A3A8(UNK_PARAMS); +/* 28A3CC */ UNK_RET it_8028A3CC(UNK_PARAMS); +/* 28A4C0 */ UNK_RET it_8028A4C0(UNK_PARAMS); +/* 28A4E8 */ UNK_RET it_8028A4E8(UNK_PARAMS); +/* 28A518 */ UNK_RET it_8028A518(UNK_PARAMS); +/* 28A544 */ UNK_RET it_8028A544(UNK_PARAMS); +/* 28A690 */ UNK_RET it_8028A690(UNK_PARAMS); +/* 28A7F0 */ UNK_RET it_8028A7F0(UNK_PARAMS); +/* 28A7F4 */ UNK_RET it_8028A7F4(UNK_PARAMS); /* 28A93C */ void it_8028A93C(Item_GObj*); +/* 28A964 */ UNK_RET it_8028A964(UNK_PARAMS); +/* 28A96C */ UNK_RET it_8028A96C(UNK_PARAMS); /* 28A970 */ void it_8028A970(Item_GObj*); +/* 28A9AC */ UNK_RET it_8028A9AC(UNK_PARAMS); +/* 28A9B4 */ UNK_RET it_8028A9B4(UNK_PARAMS); +/* 28AA00 */ UNK_RET it_8028AA00(UNK_PARAMS); /* 28AB28 */ void it_8028AB28(Item_GObj*); +/* 28AB64 */ UNK_RET it_8028AB64(UNK_PARAMS); +/* 28AC74 */ UNK_RET it_8028AC74(UNK_PARAMS); +/* 28AD18 */ UNK_RET it_8028AD18(UNK_PARAMS); +/* 28AD38 */ UNK_RET it_8028AD38(UNK_PARAMS); +/* 28AD3C */ UNK_RET it_8028AD3C(UNK_PARAMS); +/* 28AD44 */ UNK_RET it_8028AD44(UNK_PARAMS); +/* 28ADD4 */ UNK_RET it_8028ADD4(UNK_PARAMS); +/* 28AE98 */ UNK_RET it_8028AE98(UNK_PARAMS); +/* 28AE9C */ UNK_RET it_8028AE9C(UNK_PARAMS); /* 28AEA4 */ int it_8028AEA4(Item_GObj*); /* 28AF1C */ int it_8028AF1C(Item_GObj*); /* 28AF54 */ int it_8028AF54(Item_GObj*); diff --git a/src/melee/it/items/itkyasarin.c b/src/melee/it/items/itkyasarin.c index 8b13789179..20d384ad6b 100644 --- a/src/melee/it/items/itkyasarin.c +++ b/src/melee/it/items/itkyasarin.c @@ -1 +1,62 @@ +/// #it_802ECCDC + +/// #it_802ECD1C + +/// #it_802ECD3C + +/// #it_802ECE90 + +/// #it_802ECEB0 + +/// #it_802ECF00 + +/// #it_802ECF70 + +/// #it_802ECFE0 + +/// #it_802ED040 + +/// #it_802ED088 + +/// #it_802ED0D0 + +/// #it_802ED124 + +/// #it_802ED198 + +/// #it_802ED25C + +/// #it_802ED2AC + +/// #it_802ED31C + +/// #it_802ED4F8 + +/// #it_802ED520 + +/// #it_802ED774 + +/// #it_802ED79C + +/// #it_802ED8BC + +/// #it_802ED8E4 + +/// #it_802ED92C + +/// #it_802EDCD0 + +/// #it_802EDD18 + +/// #it_802EDD34 + +/// #it_802EDD54 + +void it_802EDD9C(void) {} + +/// #it_802EDDA0 + +/// #it_802EDDC0 + +/// #it_802EE1E0 diff --git a/src/melee/it/items/itkyasarin.h b/src/melee/it/items/itkyasarin.h index 8b13789179..171dc56f68 100644 --- a/src/melee/it/items/itkyasarin.h +++ b/src/melee/it/items/itkyasarin.h @@ -1 +1,38 @@ +#ifndef GALE01_2ECCDC +#define GALE01_2ECCDC +#include + +/* 2ECCDC */ UNK_RET it_802ECCDC(UNK_PARAMS); +/* 2ECD1C */ UNK_RET it_802ECD1C(UNK_PARAMS); +/* 2ECD3C */ UNK_RET it_802ECD3C(UNK_PARAMS); +/* 2ECE90 */ UNK_RET it_802ECE90(UNK_PARAMS); +/* 2ECEB0 */ UNK_RET it_802ECEB0(UNK_PARAMS); +/* 2ECF00 */ UNK_RET it_802ECF00(UNK_PARAMS); +/* 2ECF70 */ UNK_RET it_802ECF70(UNK_PARAMS); +/* 2ECFE0 */ UNK_RET it_802ECFE0(UNK_PARAMS); +/* 2ED040 */ UNK_RET it_802ED040(UNK_PARAMS); +/* 2ED088 */ UNK_RET it_802ED088(UNK_PARAMS); +/* 2ED0D0 */ UNK_RET it_802ED0D0(UNK_PARAMS); +/* 2ED124 */ UNK_RET it_802ED124(UNK_PARAMS); +/* 2ED198 */ UNK_RET it_802ED198(UNK_PARAMS); +/* 2ED25C */ UNK_RET it_802ED25C(UNK_PARAMS); +/* 2ED2AC */ UNK_RET it_802ED2AC(UNK_PARAMS); +/* 2ED31C */ UNK_RET it_802ED31C(UNK_PARAMS); +/* 2ED4F8 */ UNK_RET it_802ED4F8(UNK_PARAMS); +/* 2ED520 */ UNK_RET it_802ED520(UNK_PARAMS); +/* 2ED774 */ UNK_RET it_802ED774(UNK_PARAMS); +/* 2ED79C */ UNK_RET it_802ED79C(UNK_PARAMS); +/* 2ED8BC */ UNK_RET it_802ED8BC(UNK_PARAMS); +/* 2ED8E4 */ UNK_RET it_802ED8E4(UNK_PARAMS); +/* 2ED92C */ UNK_RET it_802ED92C(UNK_PARAMS); +/* 2EDCD0 */ UNK_RET it_802EDCD0(UNK_PARAMS); +/* 2EDD18 */ UNK_RET it_802EDD18(UNK_PARAMS); +/* 2EDD34 */ UNK_RET it_802EDD34(UNK_PARAMS); +/* 2EDD54 */ UNK_RET it_802EDD54(UNK_PARAMS); +/* 2EDD9C */ UNK_RET it_802EDD9C(UNK_PARAMS); +/* 2EDDA0 */ UNK_RET it_802EDDA0(UNK_PARAMS); +/* 2EDDC0 */ UNK_RET it_802EDDC0(UNK_PARAMS); +/* 2EE1E0 */ UNK_RET it_802EE1E0(UNK_PARAMS); + +#endif diff --git a/src/melee/it/items/itleadead.c b/src/melee/it/items/itleadead.c index 8b13789179..4bc018a8d3 100644 --- a/src/melee/it/items/itleadead.c +++ b/src/melee/it/items/itleadead.c @@ -1 +1,152 @@ +/// #it_802E8BCC + +/// #it_802E8CD8 + +/// #it_802E8F24 + +/// #it_802E8F7C + +/// #it_802E8F84 + +/// #it_802E8FFC + +/// #it_802E9038 + +/// #it_802E90E8 + +/// #it_802E91AC + +/// #it_802E92A0 + +/// #it_802E9308 + +/// #it_802E9354 + +/// #it_802E935C + +/// #it_802E938C + +/// #it_802E93C8 + +/// #it_802E9494 + +/// #it_802E959C + +/// #it_802E9624 + +/// #it_802E9674 + +/// #it_802E969C + +/// #it_802E9738 + +/// #it_802E9780 + +/// #it_802E9850 + +/// #it_802E98A4 + +/// #it_802E98E0 + +/// #it_802E9948 + +/// #it_802E9950 + +/// #it_802E99C4 + +/// #it_802E9A00 + +/// #it_802E9A38 + +void it_802E9B60(void) {} + +/// #it_802E9B64 + +/// #it_802E9BA0 + +/// #it_802E9BE4 + +void it_802E9D10(void) {} + +/// #it_802E9D14 + +/// #it_802E9D50 + +/// #it_802E9D94 + +/// #it_802E9D9C + +/// #it_802E9DE8 + +/// #it_802E9F28 + +void it_802EA004(void) {} + +/// #it_802EA008 + +/// #it_802EA010 + +void it_802EA0A0(void) {} + +/// #it_802EA0A4 + +/// #it_802EA0E0 + +/// #it_802EA108 + +void it_802EA150(void) {} + +/// #it_802EA154 + +/// #it_802EA1B4 + +/// #it_802EA204 + +/// #it_802EA24C + +/// #it_802EA27C + +/// #it_802EA2A0 + +/// #it_802EA308 + +void it_802EA310(void) {} + +/// #it_802EA314 + +/// #it_802EA334 + +/// #it_802EA394 + +/// #it_802EA39C + +/// #it_802EA3B8 + +/// #it_802EA3D8 + +/// #it_802EA3E0 + +/// #it_802EA3FC + +/// #it_802EA41C + +/// #it_802EA478 + +/// #it_802EA674 + +/// #it_802EA6F4 + +/// #it_802EA804 + +/// #it_802EA988 + +/// #it_802EA9FC + +/// #it_802EAAEC + +/// #it_802EAC8C + +/// #it_802EADD8 + +/// #it_802EAE80 diff --git a/src/melee/it/items/itleadead.h b/src/melee/it/items/itleadead.h index 1f915f152f..4b3b7bf3bf 100644 --- a/src/melee/it/items/itleadead.h +++ b/src/melee/it/items/itleadead.h @@ -8,12 +8,80 @@ /* 2E8BCC */ void it_802E8BCC(Item_GObj*); /* 2E8CD8 */ bool it_802E8CD8(Item_GObj*); +/* 2E8F24 */ UNK_RET it_802E8F24(UNK_PARAMS); +/* 2E8F7C */ UNK_RET it_802E8F7C(UNK_PARAMS); +/* 2E8F84 */ UNK_RET it_802E8F84(UNK_PARAMS); +/* 2E8FFC */ UNK_RET it_802E8FFC(UNK_PARAMS); +/* 2E9038 */ UNK_RET it_802E9038(UNK_PARAMS); +/* 2E90E8 */ UNK_RET it_802E90E8(UNK_PARAMS); +/* 2E91AC */ UNK_RET it_802E91AC(UNK_PARAMS); +/* 2E92A0 */ UNK_RET it_802E92A0(UNK_PARAMS); +/* 2E9308 */ UNK_RET it_802E9308(UNK_PARAMS); +/* 2E9354 */ UNK_RET it_802E9354(UNK_PARAMS); +/* 2E935C */ UNK_RET it_802E935C(UNK_PARAMS); +/* 2E938C */ UNK_RET it_802E938C(UNK_PARAMS); +/* 2E93C8 */ UNK_RET it_802E93C8(UNK_PARAMS); +/* 2E9494 */ UNK_RET it_802E9494(UNK_PARAMS); +/* 2E959C */ UNK_RET it_802E959C(UNK_PARAMS); +/* 2E9624 */ UNK_RET it_802E9624(UNK_PARAMS); +/* 2E9674 */ UNK_RET it_802E9674(UNK_PARAMS); +/* 2E969C */ UNK_RET it_802E969C(UNK_PARAMS); +/* 2E9738 */ UNK_RET it_802E9738(UNK_PARAMS); +/* 2E9780 */ UNK_RET it_802E9780(UNK_PARAMS); +/* 2E9850 */ UNK_RET it_802E9850(UNK_PARAMS); +/* 2E98A4 */ UNK_RET it_802E98A4(UNK_PARAMS); +/* 2E98E0 */ UNK_RET it_802E98E0(UNK_PARAMS); +/* 2E9948 */ UNK_RET it_802E9948(UNK_PARAMS); +/* 2E9950 */ UNK_RET it_802E9950(UNK_PARAMS); +/* 2E99C4 */ UNK_RET it_802E99C4(UNK_PARAMS); +/* 2E9A00 */ UNK_RET it_802E9A00(UNK_PARAMS); +/* 2E9A38 */ UNK_RET it_802E9A38(UNK_PARAMS); +/* 2E9B60 */ UNK_RET it_802E9B60(UNK_PARAMS); +/* 2E9B64 */ UNK_RET it_802E9B64(UNK_PARAMS); +/* 2E9BA0 */ UNK_RET it_802E9BA0(UNK_PARAMS); +/* 2E9BE4 */ UNK_RET it_802E9BE4(UNK_PARAMS); +/* 2E9D10 */ UNK_RET it_802E9D10(UNK_PARAMS); +/* 2E9D14 */ UNK_RET it_802E9D14(UNK_PARAMS); +/* 2E9D50 */ UNK_RET it_802E9D50(UNK_PARAMS); +/* 2E9D94 */ UNK_RET it_802E9D94(UNK_PARAMS); +/* 2E9D9C */ UNK_RET it_802E9D9C(UNK_PARAMS); +/* 2E9DE8 */ UNK_RET it_802E9DE8(UNK_PARAMS); +/* 2E9F28 */ UNK_RET it_802E9F28(UNK_PARAMS); +/* 2EA004 */ UNK_RET it_802EA004(UNK_PARAMS); +/* 2EA008 */ UNK_RET it_802EA008(UNK_PARAMS); +/* 2EA010 */ UNK_RET it_802EA010(UNK_PARAMS); +/* 2EA0A0 */ UNK_RET it_802EA0A0(UNK_PARAMS); +/* 2EA0A4 */ UNK_RET it_802EA0A4(UNK_PARAMS); /* 2EA0E0 */ void it_802EA0E0(Item_GObj*); +/* 2EA108 */ UNK_RET it_802EA108(UNK_PARAMS); +/* 2EA150 */ UNK_RET it_802EA150(UNK_PARAMS); /* 2EA154 */ void it_802EA154(Item_GObj*); /* 2EA1B4 */ void it_802EA1B4(Item_GObj*); +/* 2EA204 */ UNK_RET it_802EA204(UNK_PARAMS); +/* 2EA24C */ UNK_RET it_802EA24C(UNK_PARAMS); +/* 2EA27C */ UNK_RET it_802EA27C(UNK_PARAMS); +/* 2EA2A0 */ UNK_RET it_802EA2A0(UNK_PARAMS); +/* 2EA308 */ UNK_RET it_802EA308(UNK_PARAMS); +/* 2EA310 */ UNK_RET it_802EA310(UNK_PARAMS); +/* 2EA314 */ UNK_RET it_802EA314(UNK_PARAMS); +/* 2EA334 */ UNK_RET it_802EA334(UNK_PARAMS); +/* 2EA394 */ UNK_RET it_802EA394(UNK_PARAMS); +/* 2EA39C */ UNK_RET it_802EA39C(UNK_PARAMS); +/* 2EA3B8 */ UNK_RET it_802EA3B8(UNK_PARAMS); +/* 2EA3D8 */ UNK_RET it_802EA3D8(UNK_PARAMS); +/* 2EA3E0 */ UNK_RET it_802EA3E0(UNK_PARAMS); +/* 2EA3FC */ UNK_RET it_802EA3FC(UNK_PARAMS); /* 2EA41C */ void it_802EA41C(Item_GObj*); +/* 2EA478 */ UNK_RET it_802EA478(UNK_PARAMS); +/* 2EA674 */ UNK_RET it_802EA674(UNK_PARAMS); +/* 2EA6F4 */ UNK_RET it_802EA6F4(UNK_PARAMS); +/* 2EA804 */ UNK_RET it_802EA804(UNK_PARAMS); +/* 2EA988 */ UNK_RET it_802EA988(UNK_PARAMS); +/* 2EA9FC */ UNK_RET it_802EA9FC(UNK_PARAMS); +/* 2EAAEC */ UNK_RET it_802EAAEC(UNK_PARAMS); +/* 2EAC8C */ UNK_RET it_802EAC8C(UNK_PARAMS); /* 2EADD8 */ void it_802EADD8(Item_GObj*); -/* 2F044C */ void it_802F044C(Item_GObj*, Item_GObj*); +/* 2EAE80 */ UNK_RET it_802EAE80(UNK_PARAMS); /* 3F8EB0 */ extern ItemStateTable it_803F8EB0[]; #endif diff --git a/src/melee/it/items/itlikelike.c b/src/melee/it/items/itlikelike.c index 8b13789179..5dc13c6916 100644 --- a/src/melee/it/items/itlikelike.c +++ b/src/melee/it/items/itlikelike.c @@ -1 +1,180 @@ +/// #it_802D9A2C + +/// #it_802D9B78 + +/// #it_802D9BA8 + +/// #it_802D9CC4 + +/// #it_802D9DDC + +/// #it_802D9E38 + +/// #it_802D9E80 + +/// #it_802D9EF4 + +/// #it_802D9F9C + +/// #it_802D9FDC + +/// #it_802DA05C + +/// #it_802DA104 + +/// #it_802DA194 + +/// #it_802DA1DC + +/// #it_802DA348 + +/// #it_802DA4C0 + +/// #it_802DA550 + +/// #it_802DA598 + +/// #it_802DA730 + +/// #it_802DA8D8 + +/// #it_802DA960 + +/// #it_802DAA10 + +/// #it_802DAAD0 + +/// #it_802DAAD8 + +/// #it_802DAB48 + +/// #it_802DAB84 + +/// #it_802DABC0 + +/// #it_802DAC20 + +/// #it_802DAC98 + +/// #it_802DACE4 + +/// #it_802DAD18 + +/// #it_802DAE0C + +/// #it_802DAE14 + +/// #it_802DAE30 + +/// #it_802DAE6C + +/// #it_802DAEA8 + +void it_802DAFC8(void) {} + +/// #it_802DAFCC + +/// #it_802DB074 + +/// #it_802DB0F0 + +/// #it_802DB138 + +/// #it_802DB2B0 + +/// #it_802DB358 + +/// #it_802DB398 + +/// #it_802DB464 + +/// #it_802DB500 + +/// #it_802DB570 + +/// #it_802DB5F0 + +/// #it_802DB670 + +void it_802DB70C(void) {} + +/// #it_802DB710 + +/// #it_802DB74C + +/// #it_802DB7CC + +void it_802DB868(void) {} + +/// #it_802DB86C + +/// #it_802DB8A8 + +/// #it_802DB914 + +/// #it_802DB95C + +/// #it_802DB9B8 + +/// #it_802DB9F4 + +/// #it_802DBA68 + +/// #it_802DBAF0 + +/// #it_802DBC68 + +void it_802DBD3C(void) {} + +/// #it_802DBD40 + +/// #it_802DBD7C + +void it_802DBE50(void) {} + +/// #it_802DBE54 + +/// #it_802DBE90 + +/// #it_802DBED4 + +void it_802DBF2C(void) {} + +/// #it_802DBF30 + +/// #it_802DC000 + +/// #it_802DC050 + +/// #it_802DC058 + +/// #it_802DC088 + +/// #it_802DC0AC + +/// #it_802DC114 + +/// #it_802DC11C + +/// #it_802DC268 + +/// #it_802DC310 + +/// #it_802DC370 + +void it_802DC3B8(void) {} + +/// #it_802DC3BC + +/// #it_802DC3DC + +/// #it_802DC43C + +/// #it_802DC444 + +/// #it_802DC460 + +/// #it_802DC480 + +/// #it_802DC4BC diff --git a/src/melee/it/items/itlikelike.h b/src/melee/it/items/itlikelike.h index 2b5b58fd97..2ae2fcea99 100644 --- a/src/melee/it/items/itlikelike.h +++ b/src/melee/it/items/itlikelike.h @@ -3,6 +3,97 @@ #include "it/forward.h" +#include + +/* 2D9A2C */ UNK_RET it_802D9A2C(UNK_PARAMS); +/* 2D9B78 */ UNK_RET it_802D9B78(UNK_PARAMS); +/* 2D9BA8 */ UNK_RET it_802D9BA8(UNK_PARAMS); +/* 2D9CC4 */ UNK_RET it_802D9CC4(UNK_PARAMS); +/* 2D9DDC */ UNK_RET it_802D9DDC(UNK_PARAMS); +/* 2D9E38 */ UNK_RET it_802D9E38(UNK_PARAMS); +/* 2D9E80 */ UNK_RET it_802D9E80(UNK_PARAMS); +/* 2D9EF4 */ UNK_RET it_802D9EF4(UNK_PARAMS); +/* 2D9F9C */ UNK_RET it_802D9F9C(UNK_PARAMS); +/* 2D9FDC */ UNK_RET it_802D9FDC(UNK_PARAMS); +/* 2DA05C */ UNK_RET it_802DA05C(UNK_PARAMS); +/* 2DA104 */ UNK_RET it_802DA104(UNK_PARAMS); +/* 2DA194 */ UNK_RET it_802DA194(UNK_PARAMS); +/* 2DA1DC */ UNK_RET it_802DA1DC(UNK_PARAMS); +/* 2DA348 */ UNK_RET it_802DA348(UNK_PARAMS); +/* 2DA4C0 */ UNK_RET it_802DA4C0(UNK_PARAMS); +/* 2DA550 */ UNK_RET it_802DA550(UNK_PARAMS); +/* 2DA598 */ UNK_RET it_802DA598(UNK_PARAMS); +/* 2DA730 */ UNK_RET it_802DA730(UNK_PARAMS); +/* 2DA8D8 */ UNK_RET it_802DA8D8(UNK_PARAMS); +/* 2DA960 */ UNK_RET it_802DA960(UNK_PARAMS); +/* 2DAA10 */ UNK_RET it_802DAA10(UNK_PARAMS); +/* 2DAAD0 */ UNK_RET it_802DAAD0(UNK_PARAMS); +/* 2DAAD8 */ UNK_RET it_802DAAD8(UNK_PARAMS); +/* 2DAB48 */ UNK_RET it_802DAB48(UNK_PARAMS); +/* 2DAB84 */ UNK_RET it_802DAB84(UNK_PARAMS); +/* 2DABC0 */ UNK_RET it_802DABC0(UNK_PARAMS); +/* 2DAC20 */ UNK_RET it_802DAC20(UNK_PARAMS); +/* 2DAC98 */ UNK_RET it_802DAC98(UNK_PARAMS); +/* 2DACE4 */ UNK_RET it_802DACE4(UNK_PARAMS); +/* 2DAD18 */ UNK_RET it_802DAD18(UNK_PARAMS); +/* 2DAE0C */ UNK_RET it_802DAE0C(UNK_PARAMS); +/* 2DAE14 */ UNK_RET it_802DAE14(UNK_PARAMS); +/* 2DAE30 */ UNK_RET it_802DAE30(UNK_PARAMS); +/* 2DAE6C */ UNK_RET it_802DAE6C(UNK_PARAMS); +/* 2DAEA8 */ UNK_RET it_802DAEA8(UNK_PARAMS); +/* 2DAFC8 */ UNK_RET it_802DAFC8(UNK_PARAMS); +/* 2DAFCC */ UNK_RET it_802DAFCC(UNK_PARAMS); +/* 2DB074 */ UNK_RET it_802DB074(UNK_PARAMS); +/* 2DB0F0 */ UNK_RET it_802DB0F0(UNK_PARAMS); +/* 2DB138 */ UNK_RET it_802DB138(UNK_PARAMS); +/* 2DB2B0 */ UNK_RET it_802DB2B0(UNK_PARAMS); +/* 2DB358 */ UNK_RET it_802DB358(UNK_PARAMS); +/* 2DB398 */ UNK_RET it_802DB398(UNK_PARAMS); +/* 2DB464 */ UNK_RET it_802DB464(UNK_PARAMS); +/* 2DB500 */ UNK_RET it_802DB500(UNK_PARAMS); +/* 2DB570 */ UNK_RET it_802DB570(UNK_PARAMS); +/* 2DB5F0 */ UNK_RET it_802DB5F0(UNK_PARAMS); +/* 2DB670 */ UNK_RET it_802DB670(UNK_PARAMS); +/* 2DB70C */ UNK_RET it_802DB70C(UNK_PARAMS); +/* 2DB710 */ UNK_RET it_802DB710(UNK_PARAMS); +/* 2DB74C */ UNK_RET it_802DB74C(UNK_PARAMS); +/* 2DB7CC */ UNK_RET it_802DB7CC(UNK_PARAMS); +/* 2DB868 */ UNK_RET it_802DB868(UNK_PARAMS); +/* 2DB86C */ UNK_RET it_802DB86C(UNK_PARAMS); +/* 2DB8A8 */ UNK_RET it_802DB8A8(UNK_PARAMS); +/* 2DB914 */ UNK_RET it_802DB914(UNK_PARAMS); +/* 2DB95C */ UNK_RET it_802DB95C(UNK_PARAMS); +/* 2DB9B8 */ UNK_RET it_802DB9B8(UNK_PARAMS); +/* 2DB9F4 */ UNK_RET it_802DB9F4(UNK_PARAMS); /* 2DBA68 */ void it_802DBA68(Item_GObj*); +/* 2DBAF0 */ UNK_RET it_802DBAF0(UNK_PARAMS); +/* 2DBC68 */ UNK_RET it_802DBC68(UNK_PARAMS); +/* 2DBD3C */ UNK_RET it_802DBD3C(UNK_PARAMS); +/* 2DBD40 */ UNK_RET it_802DBD40(UNK_PARAMS); +/* 2DBD7C */ UNK_RET it_802DBD7C(UNK_PARAMS); +/* 2DBE50 */ UNK_RET it_802DBE50(UNK_PARAMS); +/* 2DBE54 */ UNK_RET it_802DBE54(UNK_PARAMS); +/* 2DBE90 */ UNK_RET it_802DBE90(UNK_PARAMS); +/* 2DBED4 */ UNK_RET it_802DBED4(UNK_PARAMS); +/* 2DBF2C */ UNK_RET it_802DBF2C(UNK_PARAMS); +/* 2DBF30 */ UNK_RET it_802DBF30(UNK_PARAMS); +/* 2DC000 */ UNK_RET it_802DC000(UNK_PARAMS); +/* 2DC050 */ UNK_RET it_802DC050(UNK_PARAMS); +/* 2DC058 */ UNK_RET it_802DC058(UNK_PARAMS); +/* 2DC088 */ UNK_RET it_802DC088(UNK_PARAMS); +/* 2DC0AC */ UNK_RET it_802DC0AC(UNK_PARAMS); +/* 2DC114 */ UNK_RET it_802DC114(UNK_PARAMS); +/* 2DC11C */ UNK_RET it_802DC11C(UNK_PARAMS); +/* 2DC268 */ UNK_RET it_802DC268(UNK_PARAMS); +/* 2DC310 */ UNK_RET it_802DC310(UNK_PARAMS); +/* 2DC370 */ UNK_RET it_802DC370(UNK_PARAMS); +/* 2DC3B8 */ UNK_RET it_802DC3B8(UNK_PARAMS); +/* 2DC3BC */ UNK_RET it_802DC3BC(UNK_PARAMS); +/* 2DC3DC */ UNK_RET it_802DC3DC(UNK_PARAMS); +/* 2DC43C */ UNK_RET it_802DC43C(UNK_PARAMS); +/* 2DC444 */ UNK_RET it_802DC444(UNK_PARAMS); +/* 2DC460 */ UNK_RET it_802DC460(UNK_PARAMS); +/* 2DC480 */ UNK_RET it_802DC480(UNK_PARAMS); +/* 2DC4BC */ UNK_RET it_802DC4BC(UNK_PARAMS); #endif diff --git a/src/melee/it/items/itlinkboomerang.c b/src/melee/it/items/itlinkboomerang.c index 8b13789179..af4d37059d 100644 --- a/src/melee/it/items/itlinkboomerang.c +++ b/src/melee/it/items/itlinkboomerang.c @@ -1 +1,69 @@ +#include "it/forward.h" +/// #it_8029FDBC + +/// #it_8029FDDC + +/// #it_8029FE64 + +/// #it_802A013C + +/// #it_802A0534 + +/// #it_802A07B4 + +/// #it_802A0810 + +/// #it_802A087C + +/// #it_802A0930 + +/// #it_802A0C34 + +/// #it_802A0E70 + +/// #it_802A0F08 + +void it_802A0F84(Item_GObj* arg0) {} + +/// #it_802A0F88 + +/// #it_802A0FB0 + +/// #it_802A0FD0 + +/// #it_802A10C0 + +/// #it_802A10E4 + +/// #it_802A12DC + +/// #it_802A12FC + +/// #it_802A13EC + +/// #it_802A15EC + +/// #it_802A16E4 + +/// #it_802A1948 + +/// #it_802A19E0 + +/// #it_802A1C30 + +/// #it_802A1D60 + +/// #it_802A1F08 + +/// #it_802A1FA8 + +/// #it_802A2048 + +/// #it_802A20E8 + +/// #it_802A2288 + +/// #it_802A2320 + +/// #it_802A23CC diff --git a/src/melee/it/items/itlinkboomerang.h b/src/melee/it/items/itlinkboomerang.h index f0b765ea35..4fb51c8640 100644 --- a/src/melee/it/items/itlinkboomerang.h +++ b/src/melee/it/items/itlinkboomerang.h @@ -2,14 +2,39 @@ #define GALE01_29FDBC #include +#include "ft/forward.h" #include "it/forward.h" #include "it/items/types.h" +/* 29FDBC */ bool it_8029FDBC(Item_GObj* gobj); +/* 29FDDC */ UNK_RET it_8029FDDC(UNK_PARAMS); +/* 29FE64 */ UNK_RET it_8029FE64(UNK_PARAMS); +/* 2A013C */ HSD_GObj* it_802A013C(float facing_dir, Fighter_GObj* owner_gobj, + Vec3* pos, Fighter_Part, int); +/* 2A0534 */ void it_802A0534(Item_GObj* gobj, Vec3*); +/* 2A07B4 */ void it_802A07B4(Item_GObj* gobj); +/* 2A0810 */ UNK_RET it_802A0810(UNK_PARAMS); /* 2A087C */ void it_802A087C(Item_GObj*); +/* 2A0930 */ UNK_RET it_802A0930(UNK_PARAMS); +/* 2A0C34 */ UNK_RET it_802A0C34(UNK_PARAMS); /* 2A0E70 */ void it_802A0E70(Item_GObj*); +/* 2A0F08 */ UNK_RET it_802A0F08(UNK_PARAMS); /* 2A0F84 */ void it_802A0F84(Item_GObj*); /* 2A0F88 */ void it_802A0F88(Item_GObj*); +/* 2A0FB0 */ UNK_RET it_802A0FB0(UNK_PARAMS); +/* 2A0FD0 */ UNK_RET it_802A0FD0(UNK_PARAMS); +/* 2A10C0 */ UNK_RET it_802A10C0(UNK_PARAMS); +/* 2A10E4 */ UNK_RET it_802A10E4(UNK_PARAMS); +/* 2A12DC */ UNK_RET it_802A12DC(UNK_PARAMS); +/* 2A12FC */ UNK_RET it_802A12FC(UNK_PARAMS); +/* 2A13EC */ UNK_RET it_802A13EC(UNK_PARAMS); +/* 2A15EC */ UNK_RET it_802A15EC(UNK_PARAMS); +/* 2A16E4 */ UNK_RET it_802A16E4(UNK_PARAMS); +/* 2A1948 */ UNK_RET it_802A1948(UNK_PARAMS); +/* 2A19E0 */ UNK_RET it_802A19E0(UNK_PARAMS); +/* 2A1C30 */ UNK_RET it_802A1C30(UNK_PARAMS); +/* 2A1D60 */ UNK_RET it_802A1D60(UNK_PARAMS); /* 2A1F08 */ bool it_802A1F08(Item_GObj*); /* 2A1FA8 */ bool it_802A1FA8(Item_GObj*); /* 2A2048 */ bool it_802A2048(Item_GObj*); diff --git a/src/melee/it/items/itlipstick.c b/src/melee/it/items/itlipstick.c index 8b13789179..3bbbffe334 100644 --- a/src/melee/it/items/itlipstick.c +++ b/src/melee/it/items/itlipstick.c @@ -1 +1,58 @@ +/// #it_8029570C + +/// #it_80295748 + +/// #it_80295770 + +/// #it_802957AC + +/// #it_80295804 + +void it_8029580C(void) {} + +/// #it_80295810 + +/// #it_8029583C + +/// #it_80295864 + +/// #it_8029586C + +/// #it_8029589C + +/// #it_802958C8 + +/// #it_802958F0 + +void it_80295904(void) {} + +/// #it_80295908 + +/// #it_80295930 + +/// #it_80295974 + +/// #it_8029599C + +/// #it_802959E8 + +/// #it_80295ACC + +/// #it_80295B08 + +/// #it_80295B30 + +void it_80295B38(void) {} + +/// #it_80295B3C + +/// #it_80295B70 + +/// #it_80295BAC + +/// #it_80295BCC + +/// #it_80295C08 + +/// #it_80295C28 diff --git a/src/melee/it/items/itlipstick.h b/src/melee/it/items/itlipstick.h index d8c59aa4e1..db815dbbd4 100644 --- a/src/melee/it/items/itlipstick.h +++ b/src/melee/it/items/itlipstick.h @@ -7,11 +7,29 @@ #include "it/items/types.h" /* 29570C */ void it_8029570C(Item_GObj*); +/* 295748 */ UNK_RET it_80295748(UNK_PARAMS); +/* 295770 */ UNK_RET it_80295770(UNK_PARAMS); +/* 2957AC */ UNK_RET it_802957AC(UNK_PARAMS); +/* 295804 */ UNK_RET it_80295804(UNK_PARAMS); +/* 29580C */ UNK_RET it_8029580C(UNK_PARAMS); +/* 295810 */ UNK_RET it_80295810(UNK_PARAMS); +/* 29583C */ UNK_RET it_8029583C(UNK_PARAMS); +/* 295864 */ UNK_RET it_80295864(UNK_PARAMS); +/* 29586C */ UNK_RET it_8029586C(UNK_PARAMS); +/* 29589C */ UNK_RET it_8029589C(UNK_PARAMS); /* 2958C8 */ void it_802958C8(Item_GObj*); +/* 2958F0 */ UNK_RET it_802958F0(UNK_PARAMS); +/* 295904 */ UNK_RET it_80295904(UNK_PARAMS); /* 295908 */ void it_80295908(Item_GObj*); +/* 295930 */ UNK_RET it_80295930(UNK_PARAMS); /* 295974 */ void it_80295974(Item_GObj*); +/* 29599C */ UNK_RET it_8029599C(UNK_PARAMS); +/* 2959E8 */ UNK_RET it_802959E8(UNK_PARAMS); /* 295ACC */ bool it_80295ACC(Item_GObj*); /* 295B08 */ void it_80295B08(Item_GObj*); +/* 295B30 */ UNK_RET it_80295B30(UNK_PARAMS); +/* 295B38 */ UNK_RET it_80295B38(UNK_PARAMS); +/* 295B3C */ UNK_RET it_80295B3C(UNK_PARAMS); /* 295B70 */ bool it_80295B70(Item_GObj*); /* 295BAC */ bool it_80295BAC(Item_GObj*); /* 295BCC */ bool it_80295BCC(Item_GObj*); diff --git a/src/melee/it/items/itlizardon.c b/src/melee/it/items/itlizardon.c index 8b13789179..f765c4a5d1 100644 --- a/src/melee/it/items/itlizardon.c +++ b/src/melee/it/items/itlizardon.c @@ -1 +1,68 @@ +/// #it_802CB8AC + +void it_802CB93C(void) {} + +/// #it_802CB940 + +/// #it_802CB960 + +/// #it_802CB994 + +/// #it_802CB9E0 + +/// #it_802CBA20 + +/// #it_802CBA5C + +/// #it_802CBAA8 + +/// #it_802CBB84 + +/// #it_802CBC9C + +/// #it_802CBCD8 + +/// #it_802CBD24 + +/// #it_802CBFE4 + +/// #it_802CC030 + +/// #it_802CC064 + +/// #it_802CC0A0 + +/// #it_802CC0EC + +/// #it_802CC160 + +/// #it_802CC184 + +/// #it_802CC1A4 + +/// #it_802CC1CC + +/// #it_802CC3D4 + +/// #it_802CC440 + +/// #it_802CC4AC + +/// #it_802CC518 + +/// #it_802CC584 + +/// #it_802CC5A4 + +/// #it_802CC5C4 + +/// #it_802CC5CC + +/// #it_802CC5D4 + +/// #it_802CC650 + +/// #it_802CC684 + +/// #it_802CC6C4 diff --git a/src/melee/it/items/itlizardon.h b/src/melee/it/items/itlizardon.h index 602b52518e..9e440d5525 100644 --- a/src/melee/it/items/itlizardon.h +++ b/src/melee/it/items/itlizardon.h @@ -7,7 +7,27 @@ #include "it/items/types.h" /* 2CB8AC */ void it_802CB8AC(Item_GObj*); +/* 2CB93C */ UNK_RET it_802CB93C(UNK_PARAMS); /* 2CB940 */ void it_802CB940(Item_GObj*, Item_GObj*); +/* 2CB960 */ UNK_RET it_802CB960(UNK_PARAMS); +/* 2CB994 */ UNK_RET it_802CB994(UNK_PARAMS); +/* 2CB9E0 */ UNK_RET it_802CB9E0(UNK_PARAMS); +/* 2CBA20 */ UNK_RET it_802CBA20(UNK_PARAMS); +/* 2CBA5C */ UNK_RET it_802CBA5C(UNK_PARAMS); +/* 2CBAA8 */ UNK_RET it_802CBAA8(UNK_PARAMS); +/* 2CBB84 */ UNK_RET it_802CBB84(UNK_PARAMS); +/* 2CBC9C */ UNK_RET it_802CBC9C(UNK_PARAMS); +/* 2CBCD8 */ UNK_RET it_802CBCD8(UNK_PARAMS); +/* 2CBD24 */ UNK_RET it_802CBD24(UNK_PARAMS); +/* 2CBFE4 */ UNK_RET it_802CBFE4(UNK_PARAMS); +/* 2CC030 */ UNK_RET it_802CC030(UNK_PARAMS); +/* 2CC064 */ UNK_RET it_802CC064(UNK_PARAMS); +/* 2CC0A0 */ UNK_RET it_802CC0A0(UNK_PARAMS); +/* 2CC0EC */ UNK_RET it_802CC0EC(UNK_PARAMS); +/* 2CC160 */ UNK_RET it_802CC160(UNK_PARAMS); +/* 2CC184 */ UNK_RET it_802CC184(UNK_PARAMS); +/* 2CC1A4 */ UNK_RET it_802CC1A4(UNK_PARAMS); +/* 2CC1CC */ UNK_RET it_802CC1CC(UNK_PARAMS); /* 2CC3D4 */ void it_802CC3D4(Item_GObj*); /* 2CC440 */ void it_802CC440(Item_GObj*); /* 2CC4AC */ void it_802CC4AC(Item_GObj*); @@ -16,6 +36,10 @@ /* 2CC5A4 */ bool it_802CC5A4(Item_GObj*); /* 2CC5C4 */ bool it_802CC5C4(Item_GObj*); /* 2CC5CC */ bool it_802CC5CC(Item_GObj*); +/* 2CC5D4 */ UNK_RET it_802CC5D4(UNK_PARAMS); +/* 2CC650 */ UNK_RET it_802CC650(UNK_PARAMS); +/* 2CC684 */ UNK_RET it_802CC684(UNK_PARAMS); +/* 2CC6C4 */ UNK_RET it_802CC6C4(UNK_PARAMS); /* 3F7BC0 */ extern ItemStateTable it_803F7BC0[]; /* 3F7C00 */ extern ItemStateTable it_803F7C00[]; diff --git a/src/melee/it/items/itlucky.c b/src/melee/it/items/itlucky.c index 8b13789179..db41e1e6a2 100644 --- a/src/melee/it/items/itlucky.c +++ b/src/melee/it/items/itlucky.c @@ -1 +1,82 @@ +/// #it_802D5050 + +/// #it_802D50F0 + +/// #it_802D5124 + +/// #it_802D51C8 + +/// #it_802D52E4 + +/// #it_802D533C + +/// #it_802D53AC + +void it_802D53F0(void) {} + +/// #it_802D53F4 + +/// #it_802D5420 + +/// #it_802D546C + +/// #it_802D54C4 + +/// #it_802D54CC + +/// #it_802D54FC + +/// #it_802D5528 + +/// #it_802D5530 + +/// #it_802D5560 + +/// #it_802D55DC + +/// #it_802D5600 + +/// #it_802D5620 + +/// #it_802D5648 + +/// #it_802D56F0 + +/// #it_802D5710 + +/// #it_802D57D0 + +/// #it_802D582C + +/// #it_802D5884 + +void it_802D58BC(void) {} + +/// #it_802D58C0 + +/// #it_802D58EC + +/// #it_802D5914 + +/// #it_802D594C + +/// #it_802D597C + +/// #it_802D59A8 + +/// #it_802D59D0 + +void it_802D59D8(void) {} + +/// #it_802D59DC + +/// #it_802D5A04 + +/// #it_802D5A2C + +void it_802D5A64(void) {} + +/// #it_802D5A68 + +/// #it_802D5A9C diff --git a/src/melee/it/items/itlucky.h b/src/melee/it/items/itlucky.h index 5d4601c0a7..dd47a11b5e 100644 --- a/src/melee/it/items/itlucky.h +++ b/src/melee/it/items/itlucky.h @@ -6,13 +6,48 @@ #include "it/items/types.h" +#include + /* 2D5050 */ void it_802D5050(Item_GObj*); +/* 2D50F0 */ UNK_RET it_802D50F0(UNK_PARAMS); +/* 2D5124 */ UNK_RET it_802D5124(UNK_PARAMS); +/* 2D51C8 */ UNK_RET it_802D51C8(UNK_PARAMS); +/* 2D52E4 */ UNK_RET it_802D52E4(UNK_PARAMS); +/* 2D533C */ UNK_RET it_802D533C(UNK_PARAMS); +/* 2D53AC */ UNK_RET it_802D53AC(UNK_PARAMS); +/* 2D53F0 */ UNK_RET it_802D53F0(UNK_PARAMS); +/* 2D53F4 */ UNK_RET it_802D53F4(UNK_PARAMS); +/* 2D5420 */ UNK_RET it_802D5420(UNK_PARAMS); +/* 2D546C */ UNK_RET it_802D546C(UNK_PARAMS); +/* 2D54C4 */ UNK_RET it_802D54C4(UNK_PARAMS); +/* 2D54CC */ UNK_RET it_802D54CC(UNK_PARAMS); +/* 2D54FC */ UNK_RET it_802D54FC(UNK_PARAMS); +/* 2D5528 */ UNK_RET it_802D5528(UNK_PARAMS); +/* 2D5530 */ UNK_RET it_802D5530(UNK_PARAMS); +/* 2D5560 */ UNK_RET it_802D5560(UNK_PARAMS); +/* 2D55DC */ UNK_RET it_802D55DC(UNK_PARAMS); +/* 2D5600 */ UNK_RET it_802D5600(UNK_PARAMS); +/* 2D5620 */ UNK_RET it_802D5620(UNK_PARAMS); /* 2D5648 */ bool it_802D5648(Item_GObj*); /* 2D56F0 */ void it_802D56F0(Item_GObj*, Item_GObj*); +/* 2D5710 */ UNK_RET it_802D5710(UNK_PARAMS); /* 2D57D0 */ void it_802D57D0(Item_GObj*); +/* 2D582C */ UNK_RET it_802D582C(UNK_PARAMS); +/* 2D5884 */ UNK_RET it_802D5884(UNK_PARAMS); +/* 2D58BC */ UNK_RET it_802D58BC(UNK_PARAMS); +/* 2D58C0 */ UNK_RET it_802D58C0(UNK_PARAMS); +/* 2D58EC */ UNK_RET it_802D58EC(UNK_PARAMS); +/* 2D5914 */ UNK_RET it_802D5914(UNK_PARAMS); +/* 2D594C */ UNK_RET it_802D594C(UNK_PARAMS); +/* 2D597C */ UNK_RET it_802D597C(UNK_PARAMS); /* 2D59A8 */ void it_802D59A8(Item_GObj*); +/* 2D59D0 */ UNK_RET it_802D59D0(UNK_PARAMS); +/* 2D59D8 */ UNK_RET it_802D59D8(UNK_PARAMS); /* 2D59DC */ void it_802D59DC(Item_GObj*); /* 2D5A04 */ void it_802D5A04(Item_GObj*); +/* 2D5A2C */ UNK_RET it_802D5A2C(UNK_PARAMS); +/* 2D5A64 */ UNK_RET it_802D5A64(UNK_PARAMS); +/* 2D5A68 */ UNK_RET it_802D5A68(UNK_PARAMS); /* 2D5A9C */ void it_802D5A9C(Item_GObj*, Item_GObj*); /* 3F8190 */ extern ItemStateTable it_803F8190[]; /* 3F8200 */ extern ItemStateTable it_803F8200[]; diff --git a/src/melee/it/items/itlugia.c b/src/melee/it/items/itlugia.c index 8b13789179..2094c171fc 100644 --- a/src/melee/it/items/itlugia.c +++ b/src/melee/it/items/itlugia.c @@ -1 +1,76 @@ +/// #it_802D1438 + +void it_802D14D0(void) {} + +/// #it_802D14D4 + +/// #it_802D14F4 + +/// #it_802D1558 + +/// #it_802D1578 + +/// #it_802D1580 + +/// #it_802D15E0 + +/// #it_802D1620 + +/// #it_802D16CC + +/// #it_802D16D4 + +/// #it_802D1720 + +/// #it_802D17B0 + +/// #it_802D1828 + +/// #it_802D1830 + +/// #it_802D1930 + +/// #it_802D19C0 + +/// #it_802D1A3C + +/// #it_802D1A44 + +/// #it_802D1B30 + +/// #it_802D1B94 + +/// #it_802D1BB4 + +/// #it_802D1BBC + +/// #it_802D1D40 + +/// #it_802D1DB4 + +/// #it_802D1DD8 + +/// #it_802D1E64 + +/// #it_802D1E8C + +/// #it_802D1F64 + +/// #it_802D208C + +/// #it_802D2308 + +/// #it_802D234C + +/// #it_802D2390 + +/// #it_802D23D4 + +/// #it_802D23F4 + +/// #it_802D246C + +/// #it_802D24A0 + +/// #it_802D24FC diff --git a/src/melee/it/items/itlugia.h b/src/melee/it/items/itlugia.h index a700dcb106..9913e488b0 100644 --- a/src/melee/it/items/itlugia.h +++ b/src/melee/it/items/itlugia.h @@ -5,12 +5,46 @@ #include "it/items/types.h" +#include + /* 2D1438 */ void it_802D1438(Item_GObj*); +/* 2D14D0 */ UNK_RET it_802D14D0(UNK_PARAMS); /* 2D14D4 */ void it_802D14D4(Item_GObj*, Item_GObj*); +/* 2D14F4 */ UNK_RET it_802D14F4(UNK_PARAMS); +/* 2D1558 */ UNK_RET it_802D1558(UNK_PARAMS); +/* 2D1578 */ UNK_RET it_802D1578(UNK_PARAMS); +/* 2D1580 */ UNK_RET it_802D1580(UNK_PARAMS); +/* 2D15E0 */ UNK_RET it_802D15E0(UNK_PARAMS); +/* 2D1620 */ UNK_RET it_802D1620(UNK_PARAMS); +/* 2D16CC */ UNK_RET it_802D16CC(UNK_PARAMS); +/* 2D16D4 */ UNK_RET it_802D16D4(UNK_PARAMS); +/* 2D1720 */ UNK_RET it_802D1720(UNK_PARAMS); +/* 2D17B0 */ UNK_RET it_802D17B0(UNK_PARAMS); +/* 2D1828 */ UNK_RET it_802D1828(UNK_PARAMS); +/* 2D1830 */ UNK_RET it_802D1830(UNK_PARAMS); +/* 2D1930 */ UNK_RET it_802D1930(UNK_PARAMS); +/* 2D19C0 */ UNK_RET it_802D19C0(UNK_PARAMS); +/* 2D1A3C */ UNK_RET it_802D1A3C(UNK_PARAMS); +/* 2D1A44 */ UNK_RET it_802D1A44(UNK_PARAMS); +/* 2D1B30 */ UNK_RET it_802D1B30(UNK_PARAMS); +/* 2D1B94 */ UNK_RET it_802D1B94(UNK_PARAMS); +/* 2D1BB4 */ UNK_RET it_802D1BB4(UNK_PARAMS); +/* 2D1BBC */ UNK_RET it_802D1BBC(UNK_PARAMS); +/* 2D1D40 */ UNK_RET it_802D1D40(UNK_PARAMS); +/* 2D1DB4 */ UNK_RET it_802D1DB4(UNK_PARAMS); +/* 2D1DD8 */ UNK_RET it_802D1DD8(UNK_PARAMS); +/* 2D1E64 */ UNK_RET it_802D1E64(UNK_PARAMS); +/* 2D1E8C */ UNK_RET it_802D1E8C(UNK_PARAMS); +/* 2D1F64 */ UNK_RET it_802D1F64(UNK_PARAMS); +/* 2D208C */ UNK_RET it_802D208C(UNK_PARAMS); /* 2D2308 */ void it_802D2308(Item_GObj*); /* 2D234C */ void it_802D234C(Item_GObj*); /* 2D2390 */ void it_802D2390(Item_GObj*); /* 2D23D4 */ void it_802D23D4(Item_GObj*, Item_GObj*); +/* 2D23F4 */ UNK_RET it_802D23F4(UNK_PARAMS); +/* 2D246C */ UNK_RET it_802D246C(UNK_PARAMS); +/* 2D24A0 */ UNK_RET it_802D24A0(UNK_PARAMS); +/* 2D24FC */ UNK_RET it_802D24FC(UNK_PARAMS); /* 3F7EE8 */ extern ItemStateTable it_803F7EE8[]; /* 3F7F48 */ extern ItemStateTable it_803F7F48[]; diff --git a/src/melee/it/items/itmasterhandbullet.c b/src/melee/it/items/itmasterhandbullet.c index 8b13789179..970083f41c 100644 --- a/src/melee/it/items/itmasterhandbullet.c +++ b/src/melee/it/items/itmasterhandbullet.c @@ -1 +1,30 @@ +/// #it_802F0AE0 + +/// #it_802F0BC8 + +/// #it_802F0BE8 + +/// #it_802F0D2C + +/// #it_802F0E70 + +void it_802F0ED4(void) {} + +/// #it_802F0ED8 + +void it_802F0F04(void) {} + +void it_802F0F08(void) {} + +/// #it_802F0F0C + +/// #it_802F0F14 + +/// #it_802F0F34 + +/// #it_802F0F3C + +/// #it_802F0F44 + +/// #it_802F0F64 diff --git a/src/melee/it/items/itmasterhandbullet.h b/src/melee/it/items/itmasterhandbullet.h index 7a21addf8d..906b2becd0 100644 --- a/src/melee/it/items/itmasterhandbullet.h +++ b/src/melee/it/items/itmasterhandbullet.h @@ -3,10 +3,20 @@ #include #include "it/forward.h" +#include #include "it/items/types.h" +/* 2F0AE0 */ void it_802F0AE0(Item_GObj* fighter_gobj, Vec3*, Vec3*, enum_t, + bool, float facing_dir, float, float); /* 2F0BC8 */ void it_802F0BC8(Item_GObj*, Item_GObj*); +/* 2F0BE8 */ UNK_RET it_802F0BE8(UNK_PARAMS); +/* 2F0D2C */ UNK_RET it_802F0D2C(UNK_PARAMS); +/* 2F0E70 */ UNK_RET it_802F0E70(UNK_PARAMS); +/* 2F0ED4 */ UNK_RET it_802F0ED4(UNK_PARAMS); +/* 2F0ED8 */ UNK_RET it_802F0ED8(UNK_PARAMS); +/* 2F0F04 */ UNK_RET it_802F0F04(UNK_PARAMS); +/* 2F0F08 */ UNK_RET it_802F0F08(UNK_PARAMS); /* 2F0F0C */ bool it_802F0F0C(Item_GObj*); /* 2F0F14 */ bool it_802F0F14(Item_GObj*); /* 2F0F34 */ bool it_802F0F34(Item_GObj*); diff --git a/src/melee/it/items/itmasterhandlaser.c b/src/melee/it/items/itmasterhandlaser.c index 8b13789179..7b1d334b91 100644 --- a/src/melee/it/items/itmasterhandlaser.c +++ b/src/melee/it/items/itmasterhandlaser.c @@ -1 +1,18 @@ +/// #it_802F0340 + +/// #it_802F044C + +/// #it_802F046C + +/// #it_802F0484 + +/// #it_802F04F0 + +void it_802F059C(void) {} + +/// #it_802F05A0 + +/// #it_802F05A8 + +/// #it_802F063C diff --git a/src/melee/it/items/itmasterhandlaser.h b/src/melee/it/items/itmasterhandlaser.h index 9be3b2da7f..85e955a476 100644 --- a/src/melee/it/items/itmasterhandlaser.h +++ b/src/melee/it/items/itmasterhandlaser.h @@ -2,9 +2,19 @@ #define GALE01_2F0340 #include "it/forward.h" +#include #include "it/items/types.h" +/* 2F0340 */ u32 it_802F0340(Item_GObj*, Vec3*, Vec3*, u32, u32, float); +/* 2F044C */ void it_802F044C(Item_GObj*, Item_GObj*); +/* 2F046C */ void it_802F046C(s32); +/* 2F0484 */ UNK_RET it_802F0484(UNK_PARAMS); +/* 2F04F0 */ UNK_RET it_802F04F0(UNK_PARAMS); +/* 2F059C */ UNK_RET it_802F059C(UNK_PARAMS); +/* 2F05A0 */ UNK_RET it_802F05A0(UNK_PARAMS); +/* 2F05A8 */ UNK_RET it_802F05A8(UNK_PARAMS); +/* 2F063C */ UNK_RET it_802F063C(UNK_PARAMS); /* 3F9378 */ extern ItemStateTable it_803F9378[]; #endif diff --git a/src/melee/it/items/itmatadogas.c b/src/melee/it/items/itmatadogas.c index 8b13789179..2153b2aff7 100644 --- a/src/melee/it/items/itmatadogas.c +++ b/src/melee/it/items/itmatadogas.c @@ -1 +1,44 @@ +/// #it_802CAFD4 + +void it_802CB0F4(void) {} + +/// #it_802CB0F8 + +/// #it_802CB118 + +void it_802CB14C(void) {} + +/// #it_802CB150 + +/// #it_802CB17C + +void it_802CB280(void) {} + +/// #it_802CB284 + +/// #it_802CB2B0 + +/// #it_802CB350 + +/// #it_802CB3B4 + +/// #it_802CB3D8 + +/// #it_802CB4C8 + +/// #it_802CB4F0 + +/// #it_802CB690 + +/// #it_802CB704 + +/// #it_802CB778 + +/// #it_802CB798 + +/// #it_802CB810 + +/// #it_802CB844 + +/// #it_802CB8A4 diff --git a/src/melee/it/items/itmatadogas.h b/src/melee/it/items/itmatadogas.h index cbacee1ace..f0079abe24 100644 --- a/src/melee/it/items/itmatadogas.h +++ b/src/melee/it/items/itmatadogas.h @@ -6,10 +6,27 @@ #include "it/items/types.h" /* 2CAFD4 */ void it_802CAFD4(Item_GObj*); +/* 2CB0F4 */ UNK_RET it_802CB0F4(UNK_PARAMS); /* 2CB0F8 */ void it_802CB0F8(Item_GObj*, Item_GObj*); +/* 2CB118 */ UNK_RET it_802CB118(UNK_PARAMS); +/* 2CB14C */ UNK_RET it_802CB14C(UNK_PARAMS); +/* 2CB150 */ UNK_RET it_802CB150(UNK_PARAMS); +/* 2CB17C */ UNK_RET it_802CB17C(UNK_PARAMS); +/* 2CB280 */ UNK_RET it_802CB280(UNK_PARAMS); +/* 2CB284 */ UNK_RET it_802CB284(UNK_PARAMS); +/* 2CB2B0 */ UNK_RET it_802CB2B0(UNK_PARAMS); +/* 2CB350 */ UNK_RET it_802CB350(UNK_PARAMS); +/* 2CB3B4 */ UNK_RET it_802CB3B4(UNK_PARAMS); +/* 2CB3D8 */ UNK_RET it_802CB3D8(UNK_PARAMS); +/* 2CB4C8 */ UNK_RET it_802CB4C8(UNK_PARAMS); +/* 2CB4F0 */ UNK_RET it_802CB4F0(UNK_PARAMS); /* 2CB690 */ void it_802CB690(Item_GObj*); /* 2CB704 */ void it_802CB704(Item_GObj*); /* 2CB778 */ void it_802CB778(Item_GObj*, Item_GObj*); +/* 2CB798 */ UNK_RET it_802CB798(UNK_PARAMS); +/* 2CB810 */ UNK_RET it_802CB810(UNK_PARAMS); +/* 2CB844 */ UNK_RET it_802CB844(UNK_PARAMS); +/* 2CB8A4 */ UNK_RET it_802CB8A4(UNK_PARAMS); /* 3F7B58 */ extern ItemStateTable it_803F7B58[]; /* 3F7BB0 */ extern ItemStateTable it_803F7BB0[]; diff --git a/src/melee/it/items/itmball.c b/src/melee/it/items/itmball.c index 8b13789179..4983ccee7e 100644 --- a/src/melee/it/items/itmball.c +++ b/src/melee/it/items/itmball.c @@ -1 +1,72 @@ +/// #it_802978DC + +/// #it_80297904 + +/// #it_80297944 + +/// #it_8029799C + +void it_802979A4(void) {} + +/// #it_802979A8 + +/// #it_802979D4 + +/// #it_80297A1C + +/// #it_80297A24 + +/// #it_80297A54 + +/// #it_80297ABC + +/// #it_80297AE4 + +void it_80297AEC(void) {} + +/// #it_80297AF0 + +/// #it_80297B18 + +/// #it_80297B40 + +/// #it_80297B8C + +/// #it_80297BB8 + +/// #it_80297BF8 + +/// #it_80297C84 + +void it_80297C8C(void) {} + +/// #it_80297C90 + +/// #it_80297CC4 + +/// #it_80297DD8 + +/// #it_80297E28 + +void it_80297E5C(void) {} + +/// #it_80297E60 + +/// #it_80297E8C + +/// #it_80297F94 + +/// #it_80297FC8 + +/// #it_80297FF8 + +/// #it_80298060 + +/// #it_802980A0 + +/// #it_802980D4 + +/// #it_80298114 + +/// #it_80298148 diff --git a/src/melee/it/items/itmball.h b/src/melee/it/items/itmball.h index f7efe72d4d..26e3eb14f5 100644 --- a/src/melee/it/items/itmball.h +++ b/src/melee/it/items/itmball.h @@ -8,11 +8,35 @@ /* 2978DC */ void it_802978DC(Item_GObj*); /* 297904 */ void it_80297904(Item_GObj*); +/* 297944 */ UNK_RET it_80297944(UNK_PARAMS); +/* 29799C */ UNK_RET it_8029799C(UNK_PARAMS); +/* 2979A4 */ UNK_RET it_802979A4(UNK_PARAMS); +/* 2979A8 */ UNK_RET it_802979A8(UNK_PARAMS); +/* 2979D4 */ UNK_RET it_802979D4(UNK_PARAMS); +/* 297A1C */ UNK_RET it_80297A1C(UNK_PARAMS); +/* 297A24 */ UNK_RET it_80297A24(UNK_PARAMS); +/* 297A54 */ UNK_RET it_80297A54(UNK_PARAMS); /* 297ABC */ void it_80297ABC(Item_GObj*); +/* 297AE4 */ UNK_RET it_80297AE4(UNK_PARAMS); +/* 297AEC */ UNK_RET it_80297AEC(UNK_PARAMS); /* 297AF0 */ void it_80297AF0(Item_GObj*); /* 297B18 */ void it_80297B18(Item_GObj*); +/* 297B40 */ UNK_RET it_80297B40(UNK_PARAMS); +/* 297B8C */ UNK_RET it_80297B8C(UNK_PARAMS); /* 297BB8 */ bool it_80297BB8(Item_GObj*); /* 297BF8 */ void it_80297BF8(Item_GObj*); +/* 297C84 */ UNK_RET it_80297C84(UNK_PARAMS); +/* 297C8C */ UNK_RET it_80297C8C(UNK_PARAMS); +/* 297C90 */ UNK_RET it_80297C90(UNK_PARAMS); +/* 297CC4 */ UNK_RET it_80297CC4(UNK_PARAMS); +/* 297DD8 */ UNK_RET it_80297DD8(UNK_PARAMS); +/* 297E28 */ UNK_RET it_80297E28(UNK_PARAMS); +/* 297E5C */ UNK_RET it_80297E5C(UNK_PARAMS); +/* 297E60 */ UNK_RET it_80297E60(UNK_PARAMS); +/* 297E8C */ UNK_RET it_80297E8C(UNK_PARAMS); +/* 297F94 */ UNK_RET it_80297F94(UNK_PARAMS); +/* 297FC8 */ UNK_RET it_80297FC8(UNK_PARAMS); +/* 297FF8 */ UNK_RET it_80297FF8(UNK_PARAMS); /* 298060 */ bool it_80298060(Item_GObj*); /* 2980A0 */ bool it_802980A0(Item_GObj*); /* 2980D4 */ bool it_802980D4(Item_GObj*); diff --git a/src/melee/it/items/itmewtwodisable.c b/src/melee/it/items/itmewtwodisable.c index 8b13789179..8813bce741 100644 --- a/src/melee/it/items/itmewtwodisable.c +++ b/src/melee/it/items/itmewtwodisable.c @@ -1 +1,30 @@ +/// #it_802C49E0 + +/// #it_802C4A00 + +/// #it_802C4A40 + +/// #it_802C4B38 + +/// #it_802C4BB8 + +/// #it_802C4C08 + +void it_802C4C3C(void) {} + +/// #it_802C4C40 + +/// #it_802C4C90 + +/// #it_802C4C98 + +/// #it_802C4CB8 + +/// #it_802C4CC0 + +/// #it_802C4CC8 + +/// #it_802C4CD0 + +/// #it_802C4CD8 diff --git a/src/melee/it/items/itmewtwodisable.h b/src/melee/it/items/itmewtwodisable.h index 9521408b0b..9f0dbdc09d 100644 --- a/src/melee/it/items/itmewtwodisable.h +++ b/src/melee/it/items/itmewtwodisable.h @@ -3,10 +3,18 @@ #include #include "it/forward.h" +#include #include "it/items/types.h" +/* 2C49E0 */ void it_802C49E0(Item_GObj*); /* 2C4A00 */ void it_802C4A00(Item_GObj*); +/* 2C4A40 */ HSD_GObj* it_802C4A40(Item_GObj*, Vec3*, float); +/* 2C4B38 */ UNK_RET it_802C4B38(UNK_PARAMS); +/* 2C4BB8 */ UNK_RET it_802C4BB8(UNK_PARAMS); +/* 2C4C08 */ UNK_RET it_802C4C08(UNK_PARAMS); +/* 2C4C3C */ UNK_RET it_802C4C3C(UNK_PARAMS); +/* 2C4C40 */ UNK_RET it_802C4C40(UNK_PARAMS); /* 2C4C90 */ bool it_802C4C90(Item_GObj*); /* 2C4C98 */ bool it_802C4C98(Item_GObj*); /* 2C4CB8 */ bool it_802C4CB8(Item_GObj*); diff --git a/src/melee/it/items/itmewtwoshadowball.c b/src/melee/it/items/itmewtwoshadowball.c index 8b13789179..7fad6251b0 100644 --- a/src/melee/it/items/itmewtwoshadowball.c +++ b/src/melee/it/items/itmewtwoshadowball.c @@ -1 +1,60 @@ +/// #it_802C4D10 + +/// #it_802C4F50 + +/// #it_802C5000 + +/// #it_802C519C + +/// #it_802C53F0 + +/// #it_802C56A0 + +/// #it_802C573C + +/// #it_802C578C + +/// #it_802C57C8 + +void it_802C5B0C(void) {} + +/// #it_802C5B10 + +/// #it_802C5B18 + +/// #it_802C5BF8 + +/// #it_802C5CF4 + +/// #it_802C5D64 + +/// #it_802C5DAC + +void it_802C5DCC(void) {} + +/// #it_802C5DD0 + +/// #fn_802C5E18 + +/// #it_802C5E5C + +/// #it_802C5F7C + +/// #it_802C6094 + +/// #it_802C60AC + +/// #it_802C60B4 + +/// #it_802C60BC + +/// #it_802C60C4 + +/// #it_802C60CC + +/// #it_802C6138 + +/// #it_802C6140 + +/// #it_802C61D4 diff --git a/src/melee/it/items/itmewtwoshadowball.h b/src/melee/it/items/itmewtwoshadowball.h index 0269fac83c..63ec0558e8 100644 --- a/src/melee/it/items/itmewtwoshadowball.h +++ b/src/melee/it/items/itmewtwoshadowball.h @@ -3,11 +3,33 @@ #include #include "it/forward.h" +#include #include "it/items/types.h" +/* 2C4D10 */ UNK_RET it_802C4D10(UNK_PARAMS); +/* 2C4F50 */ UNK_RET it_802C4F50(UNK_PARAMS); +/* 2C5000 */ HSD_GObj* it_802C5000(Item_GObj*, Vec3*, s32, s32, float); +/* 2C519C */ void it_802C519C(Item_GObj*, Vec3*, s32, s32, float, float); +/* 2C53F0 */ void it_802C53F0(Item_GObj*, Vec3*, float, float, float); /* 2C56A0 */ void it_802C56A0(Item_GObj*); +/* 2C573C */ void it_802C573C(Item_GObj*); /* 2C578C */ void it_802C578C(Item_GObj*); +/* 2C57C8 */ UNK_RET it_802C57C8(UNK_PARAMS); +/* 2C5B0C */ UNK_RET it_802C5B0C(UNK_PARAMS); +/* 2C5B10 */ UNK_RET it_802C5B10(UNK_PARAMS); +/* 2C5B18 */ UNK_RET it_802C5B18(UNK_PARAMS); +/* 2C5BF8 */ UNK_RET it_802C5BF8(UNK_PARAMS); +/* 2C5CF4 */ UNK_RET it_802C5CF4(UNK_PARAMS); +/* 2C5D64 */ UNK_RET it_802C5D64(UNK_PARAMS); +/* 2C5DAC */ UNK_RET it_802C5DAC(UNK_PARAMS); +/* 2C5DCC */ UNK_RET it_802C5DCC(UNK_PARAMS); +/* 2C5DD0 */ UNK_RET it_802C5DD0(UNK_PARAMS); +/* 2C5E18 */ UNK_RET fn_802C5E18(UNK_PARAMS); +/* 2C5E5C */ UNK_RET it_802C5E5C(UNK_PARAMS); +/* 2C5F7C */ UNK_RET it_802C5F7C(UNK_PARAMS); +/* 2C6094 */ UNK_RET it_802C6094(UNK_PARAMS); +/* 2C60AC */ UNK_RET it_802C60AC(UNK_PARAMS); /* 2C60B4 */ bool it_802C60B4(Item_GObj*); /* 2C60BC */ bool it_802C60BC(Item_GObj*); /* 2C60C4 */ bool it_802C60C4(Item_GObj*); diff --git a/src/melee/it/items/itnessbat.c b/src/melee/it/items/itnessbat.c index 8b13789179..2368b70ca8 100644 --- a/src/melee/it/items/itnessbat.c +++ b/src/melee/it/items/itnessbat.c @@ -1 +1,22 @@ +/// #it_802AD478 + +/// #it_802AD590 + +/// #it_802AD6B8 + +/// #it_802AD6F0 + +/// #it_802AD768 + +void it_802AD8D0(void) {} + +/// #it_802AD8D4 + +/// #it_802AD8DC + +void it_802AD9F0(void) {} + +/// #it_802AD9F4 + +/// #it_802AD9FC diff --git a/src/melee/it/items/itnessbat.h b/src/melee/it/items/itnessbat.h index da04956fc8..0e63c89333 100644 --- a/src/melee/it/items/itnessbat.h +++ b/src/melee/it/items/itnessbat.h @@ -6,8 +6,16 @@ #include "it/items/types.h" +/* 2AD478 */ HSD_GObj* it_802AD478(Item_GObj*, Vec3*, s32, float); /* 2AD590 */ Item_GObj* it_802AD590(Fighter_GObj*, Fighter_Part); +/* 2AD6B8 */ void it_802AD6B8(Item_GObj*); /* 2AD6F0 */ void it_802AD6F0(Item_GObj*); +/* 2AD768 */ UNK_RET it_802AD768(UNK_PARAMS); +/* 2AD8D0 */ UNK_RET it_802AD8D0(UNK_PARAMS); +/* 2AD8D4 */ UNK_RET it_802AD8D4(UNK_PARAMS); +/* 2AD8DC */ UNK_RET it_802AD8DC(UNK_PARAMS); +/* 2AD9F0 */ UNK_RET it_802AD9F0(UNK_PARAMS); +/* 2AD9F4 */ UNK_RET it_802AD9F4(UNK_PARAMS); /* 2AD9FC */ void it_802AD9FC(Item_GObj*, Item_GObj*); /* 3F6C68 */ extern ItemStateTable it_803F6C68[]; diff --git a/src/melee/it/items/itnokonoko.c b/src/melee/it/items/itnokonoko.c index 8b13789179..5daa1246e4 100644 --- a/src/melee/it/items/itnokonoko.c +++ b/src/melee/it/items/itnokonoko.c @@ -1 +1,92 @@ +/// #it_802DC69C + +/// #it_802DC774 + +/// #it_802DC83C + +/// #fn_802DC8B8 + +/// #it_802DC910 + +/// #it_802DC918 + +/// #it_802DC954 + +/// #it_802DC990 + +/// #it_802DCA5C + +/// #it_802DCAA4 + +/// #it_802DCB34 + +/// #it_802DCB9C + +/// #it_802DCC58 + +/// #it_802DCC60 + +/// #it_802DCC90 + +/// #it_802DCCCC + +/// #it_802DCD54 + +/// #it_802DCD9C + +/// #it_802DCDC4 + +/// #it_802DCE00 + +/// #it_802DCE74 + +/// #it_802DCEC4 + +/// #it_802DCFBC + +/// #it_802DD0A0 + +/// #it_802DD1B4 + +/// #it_802DD1DC + +/// #it_802DD25C + +/// #it_802DD264 + +/// #it_802DD290 + +/// #it_802DD2DC + +/// #it_802DD328 + +void it_802DD468(void) {} + +/// #it_802DD46C + +/// #it_802DD4A8 + +/// #it_802DD4F4 + +/// #it_802DD53C + +void it_802DD598(void) {} + +/// #it_802DD59C + +/// #it_802DD67C + +/// #it_802DD6D4 + +/// #it_802DD71C + +/// #it_802DD74C + +/// #it_802DD78C + +/// #it_802DD7D0 + +/// #it_802DD7F0 + +/// #it_802DDA84 diff --git a/src/melee/it/items/itnokonoko.h b/src/melee/it/items/itnokonoko.h index 9b0228890f..0c2e3784a4 100644 --- a/src/melee/it/items/itnokonoko.h +++ b/src/melee/it/items/itnokonoko.h @@ -1,11 +1,56 @@ -#ifndef _itnokonoko_h_ -#define _itnokonoko_h_ +#ifndef GALE01_2DC69C +#define GALE01_2DC69C #include +#include "it/forward.h" -#include "it/item.h" -#include "it/items/types.h" +#include -bool it_802DDA84(Item_GObj*); +/* 2DC69C */ UNK_RET it_802DC69C(UNK_PARAMS); +/* 2DC774 */ UNK_RET it_802DC774(UNK_PARAMS); +/* 2DC83C */ UNK_RET it_802DC83C(UNK_PARAMS); +/* 2DC8B8 */ UNK_RET fn_802DC8B8(UNK_PARAMS); +/* 2DC910 */ UNK_RET it_802DC910(UNK_PARAMS); +/* 2DC918 */ UNK_RET it_802DC918(UNK_PARAMS); +/* 2DC954 */ UNK_RET it_802DC954(UNK_PARAMS); +/* 2DC990 */ UNK_RET it_802DC990(UNK_PARAMS); +/* 2DCA5C */ UNK_RET it_802DCA5C(UNK_PARAMS); +/* 2DCAA4 */ UNK_RET it_802DCAA4(UNK_PARAMS); +/* 2DCB34 */ UNK_RET it_802DCB34(UNK_PARAMS); +/* 2DCB9C */ UNK_RET it_802DCB9C(UNK_PARAMS); +/* 2DCC58 */ UNK_RET it_802DCC58(UNK_PARAMS); +/* 2DCC60 */ UNK_RET it_802DCC60(UNK_PARAMS); +/* 2DCC90 */ UNK_RET it_802DCC90(UNK_PARAMS); +/* 2DCCCC */ UNK_RET it_802DCCCC(UNK_PARAMS); +/* 2DCD54 */ UNK_RET it_802DCD54(UNK_PARAMS); +/* 2DCD9C */ UNK_RET it_802DCD9C(UNK_PARAMS); +/* 2DCDC4 */ UNK_RET it_802DCDC4(UNK_PARAMS); +/* 2DCE00 */ UNK_RET it_802DCE00(UNK_PARAMS); +/* 2DCE74 */ UNK_RET it_802DCE74(UNK_PARAMS); +/* 2DCEC4 */ UNK_RET it_802DCEC4(UNK_PARAMS); +/* 2DCFBC */ UNK_RET it_802DCFBC(UNK_PARAMS); +/* 2DD0A0 */ UNK_RET it_802DD0A0(UNK_PARAMS); +/* 2DD1B4 */ UNK_RET it_802DD1B4(UNK_PARAMS); +/* 2DD1DC */ UNK_RET it_802DD1DC(UNK_PARAMS); +/* 2DD25C */ UNK_RET it_802DD25C(UNK_PARAMS); +/* 2DD264 */ UNK_RET it_802DD264(UNK_PARAMS); +/* 2DD290 */ UNK_RET it_802DD290(UNK_PARAMS); +/* 2DD2DC */ UNK_RET it_802DD2DC(UNK_PARAMS); +/* 2DD328 */ UNK_RET it_802DD328(UNK_PARAMS); +/* 2DD468 */ UNK_RET it_802DD468(UNK_PARAMS); +/* 2DD46C */ UNK_RET it_802DD46C(UNK_PARAMS); +/* 2DD4A8 */ UNK_RET it_802DD4A8(UNK_PARAMS); +/* 2DD4F4 */ UNK_RET it_802DD4F4(UNK_PARAMS); +/* 2DD53C */ UNK_RET it_802DD53C(UNK_PARAMS); +/* 2DD598 */ UNK_RET it_802DD598(UNK_PARAMS); +/* 2DD59C */ UNK_RET it_802DD59C(UNK_PARAMS); +/* 2DD67C */ UNK_RET it_802DD67C(UNK_PARAMS); +/* 2DD6D4 */ UNK_RET it_802DD6D4(UNK_PARAMS); +/* 2DD71C */ UNK_RET it_802DD71C(UNK_PARAMS); +/* 2DD74C */ UNK_RET it_802DD74C(UNK_PARAMS); +/* 2DD78C */ UNK_RET it_802DD78C(UNK_PARAMS); +/* 2DD7D0 */ UNK_RET it_802DD7D0(UNK_PARAMS); +/* 2DD7F0 */ UNK_RET it_802DD7F0(UNK_PARAMS); +/* 2DDA84 */ bool it_802DDA84(Item_GObj*); #endif diff --git a/src/melee/it/items/itoctarock.c b/src/melee/it/items/itoctarock.c index 8b13789179..2bf2ba3ccd 100644 --- a/src/melee/it/items/itoctarock.c +++ b/src/melee/it/items/itoctarock.c @@ -1 +1,84 @@ +/// #it_802E4A44 + +/// #it_802E4B00 + +/// #it_802E4C08 + +/// #it_802E4C68 + +/// #it_802E4CB0 + +/// #it_802E4D78 + +/// #it_802E4DB4 + +/// #it_802E4DF8 + +/// #it_802E4E00 + +/// #it_802E4E30 + +/// #it_802E4E6C + +/// #it_802E4F18 + +/// #it_802E4FB0 + +/// #it_802E4FD8 + +/// #it_802E503C + +/// #it_802E50B0 + +/// #it_802E51C4 + +/// #it_802E521C + +/// #it_802E52E0 + +/// #it_802E53C8 + +/// #it_802E5428 + +/// #it_802E5514 + +/// #it_802E5554 + +/// #it_802E561C + +/// #it_802E5644 + +void it_802E568C(void) {} + +/// #it_802E5690 + +/// #it_802E56E8 + +/// #it_802E5738 + +/// #it_802E5780 + +/// #it_802E57B0 + +/// #it_802E57D4 + +/// #it_802E5834 + +void it_802E587C(void) {} + +/// #it_802E5880 + +/// #it_802E58A0 + +/// #it_802E5900 + +/// #it_802E5908 + +/// #it_802E5924 + +/// #it_802E5944 + +/// #it_802E595C + +/// #it_802E5AA4 diff --git a/src/melee/it/items/itoctarock.h b/src/melee/it/items/itoctarock.h index ce5f9f7fd7..8dc8cc8b11 100644 --- a/src/melee/it/items/itoctarock.h +++ b/src/melee/it/items/itoctarock.h @@ -8,9 +8,45 @@ /* 2E4A44 */ void it_802E4A44(Item_GObj*); /* 2E4B00 */ bool it_802E4B00(Item_GObj*); +/* 2E4C08 */ UNK_RET it_802E4C08(UNK_PARAMS); +/* 2E4C68 */ UNK_RET it_802E4C68(UNK_PARAMS); +/* 2E4CB0 */ UNK_RET it_802E4CB0(UNK_PARAMS); +/* 2E4D78 */ UNK_RET it_802E4D78(UNK_PARAMS); +/* 2E4DB4 */ UNK_RET it_802E4DB4(UNK_PARAMS); +/* 2E4DF8 */ UNK_RET it_802E4DF8(UNK_PARAMS); +/* 2E4E00 */ UNK_RET it_802E4E00(UNK_PARAMS); +/* 2E4E30 */ UNK_RET it_802E4E30(UNK_PARAMS); +/* 2E4E6C */ UNK_RET it_802E4E6C(UNK_PARAMS); +/* 2E4F18 */ UNK_RET it_802E4F18(UNK_PARAMS); +/* 2E4FB0 */ UNK_RET it_802E4FB0(UNK_PARAMS); +/* 2E4FD8 */ UNK_RET it_802E4FD8(UNK_PARAMS); +/* 2E503C */ UNK_RET it_802E503C(UNK_PARAMS); +/* 2E50B0 */ UNK_RET it_802E50B0(UNK_PARAMS); +/* 2E51C4 */ UNK_RET it_802E51C4(UNK_PARAMS); +/* 2E521C */ UNK_RET it_802E521C(UNK_PARAMS); +/* 2E52E0 */ UNK_RET it_802E52E0(UNK_PARAMS); +/* 2E53C8 */ UNK_RET it_802E53C8(UNK_PARAMS); +/* 2E5428 */ UNK_RET it_802E5428(UNK_PARAMS); +/* 2E5514 */ UNK_RET it_802E5514(UNK_PARAMS); +/* 2E5554 */ UNK_RET it_802E5554(UNK_PARAMS); /* 2E561C */ void it_802E561C(Item_GObj*); +/* 2E5644 */ UNK_RET it_802E5644(UNK_PARAMS); +/* 2E568C */ UNK_RET it_802E568C(UNK_PARAMS); /* 2E5690 */ void it_802E5690(Item_GObj*); /* 2E56E8 */ void it_802E56E8(Item_GObj*); +/* 2E5738 */ UNK_RET it_802E5738(UNK_PARAMS); +/* 2E5780 */ UNK_RET it_802E5780(UNK_PARAMS); +/* 2E57B0 */ UNK_RET it_802E57B0(UNK_PARAMS); +/* 2E57D4 */ UNK_RET it_802E57D4(UNK_PARAMS); +/* 2E5834 */ UNK_RET it_802E5834(UNK_PARAMS); +/* 2E587C */ UNK_RET it_802E587C(UNK_PARAMS); +/* 2E5880 */ UNK_RET it_802E5880(UNK_PARAMS); +/* 2E58A0 */ UNK_RET it_802E58A0(UNK_PARAMS); +/* 2E5900 */ UNK_RET it_802E5900(UNK_PARAMS); +/* 2E5908 */ UNK_RET it_802E5908(UNK_PARAMS); +/* 2E5924 */ UNK_RET it_802E5924(UNK_PARAMS); +/* 2E5944 */ UNK_RET it_802E5944(UNK_PARAMS); +/* 2E595C */ UNK_RET it_802E595C(UNK_PARAMS); /* 2E5AA4 */ void it_802E5AA4(Item_GObj*, Item_GObj*); /* 3F8B48 */ extern ItemStateTable it_803F8B48[]; diff --git a/src/melee/it/items/itoctarockstone.c b/src/melee/it/items/itoctarockstone.c index 8b13789179..8d3534be09 100644 --- a/src/melee/it/items/itoctarockstone.c +++ b/src/melee/it/items/itoctarockstone.c @@ -1 +1,36 @@ +/// #it_802E878C + +/// #it_802E87D8 + +/// #it_802E87E0 + +/// #it_802E87E8 + +/// #it_802E87F0 + +/// #it_802E87F8 + +/// #it_802E881C + +/// #it_802E883C + +/// #it_802E8864 + +void it_802E8898(void) {} + +/// #it_802E889C + +/// #it_802E890C + +/// #it_802E896C + +/// #it_802E8974 + +/// #it_802E8990 + +/// #it_802E89B0 + +/// #it_802E89D0 + +/// #it_802E8ADC diff --git a/src/melee/it/items/itoctarockstone.h b/src/melee/it/items/itoctarockstone.h index 3cefa5d998..031a33ce93 100644 --- a/src/melee/it/items/itoctarockstone.h +++ b/src/melee/it/items/itoctarockstone.h @@ -13,7 +13,17 @@ /* 2E87F0 */ bool it_802E87F0(Item_GObj*); /* 2E87F8 */ bool it_802E87F8(Item_GObj*); /* 2E881C */ bool it_802E881C(Item_GObj*); +/* 2E883C */ UNK_RET it_802E883C(UNK_PARAMS); +/* 2E8864 */ UNK_RET it_802E8864(UNK_PARAMS); +/* 2E8898 */ UNK_RET it_802E8898(UNK_PARAMS); +/* 2E889C */ UNK_RET it_802E889C(UNK_PARAMS); +/* 2E890C */ UNK_RET it_802E890C(UNK_PARAMS); +/* 2E896C */ UNK_RET it_802E896C(UNK_PARAMS); +/* 2E8974 */ UNK_RET it_802E8974(UNK_PARAMS); +/* 2E8990 */ UNK_RET it_802E8990(UNK_PARAMS); /* 2E89B0 */ void it_802E89B0(Item_GObj*, Item_GObj*); +/* 2E89D0 */ UNK_RET it_802E89D0(UNK_PARAMS); +/* 2E8ADC */ UNK_RET it_802E8ADC(UNK_PARAMS); /* 3F8E90 */ extern ItemStateTable it_803F8E90[]; #endif diff --git a/src/melee/it/items/itoldkuri.c b/src/melee/it/items/itoldkuri.c index 8b13789179..b8607af85a 100644 --- a/src/melee/it/items/itoldkuri.c +++ b/src/melee/it/items/itoldkuri.c @@ -1 +1,104 @@ +/// #it_802D73D0 + +/// #it_802D73F0 + +/// #it_802D747C + +/// #it_802D74D0 + +/// #it_802D74D8 + +/// #it_802D7550 + +/// #it_802D758C + +/// #it_802D75F8 + +/// #it_802D7670 + +/// #it_802D76EC + +/// #it_802D775C + +/// #it_802D77C8 + +/// #it_802D788C + +/// #it_802D795C + +/// #it_802D7A18 + +/// #it_802D7A60 + +/// #it_802D7A90 + +/// #it_802D7AF0 + +/// #it_802D7B3C + +/// #it_802D7B84 + +/// #it_802D7BB4 + +/// #it_802D7C14 + +/// #it_802D7C58 + +void it_802D7CB0(void) {} + +/// #it_802D7CB4 + +/// #it_802D7D18 + +/// #it_802D7D7C + +/// #it_802D7DC4 + +/// #it_802D7DF4 + +/// #it_802D7E18 + +/// #it_802D7EAC + +/// #it_802D7ED4 + +/// #it_802D7F38 + +/// #it_802D8098 + +/// #it_802D813C + +/// #it_802D8190 + +void it_802D81D8(void) {} + +/// #it_802D81DC + +/// #it_802D81FC + +/// #it_802D8240 + +/// #it_802D8274 + +/// #it_802D82A4 + +/// #it_802D82C4 + +/// #it_802D8330 + +void it_802D8378(void) {} + +/// #it_802D837C + +/// #it_802D839C + +/// #it_802D8408 + +/// #it_802D8450 + +/// #it_802D846C + +/// #it_802D848C + +/// #it_802D84D8 diff --git a/src/melee/it/items/itoldkuri.h b/src/melee/it/items/itoldkuri.h index e28fbf0b4f..e37c59e163 100644 --- a/src/melee/it/items/itoldkuri.h +++ b/src/melee/it/items/itoldkuri.h @@ -8,12 +8,56 @@ /* 2D73D0 */ void it_802D73D0(Item_GObj*, Item_GObj*); /* 2D73F0 */ void it_802D73F0(Item_GObj*); +/* 2D747C */ UNK_RET it_802D747C(UNK_PARAMS); +/* 2D74D0 */ UNK_RET it_802D74D0(UNK_PARAMS); +/* 2D74D8 */ UNK_RET it_802D74D8(UNK_PARAMS); +/* 2D7550 */ UNK_RET it_802D7550(UNK_PARAMS); +/* 2D758C */ UNK_RET it_802D758C(UNK_PARAMS); +/* 2D75F8 */ UNK_RET it_802D75F8(UNK_PARAMS); +/* 2D7670 */ UNK_RET it_802D7670(UNK_PARAMS); +/* 2D76EC */ UNK_RET it_802D76EC(UNK_PARAMS); +/* 2D775C */ UNK_RET it_802D775C(UNK_PARAMS); +/* 2D77C8 */ UNK_RET it_802D77C8(UNK_PARAMS); +/* 2D788C */ UNK_RET it_802D788C(UNK_PARAMS); +/* 2D795C */ UNK_RET it_802D795C(UNK_PARAMS); +/* 2D7A18 */ UNK_RET it_802D7A18(UNK_PARAMS); +/* 2D7A60 */ UNK_RET it_802D7A60(UNK_PARAMS); +/* 2D7A90 */ UNK_RET it_802D7A90(UNK_PARAMS); +/* 2D7AF0 */ UNK_RET it_802D7AF0(UNK_PARAMS); +/* 2D7B3C */ UNK_RET it_802D7B3C(UNK_PARAMS); +/* 2D7B84 */ UNK_RET it_802D7B84(UNK_PARAMS); +/* 2D7BB4 */ UNK_RET it_802D7BB4(UNK_PARAMS); /* 2D7C14 */ void it_802D7C14(Item_GObj*); +/* 2D7C58 */ UNK_RET it_802D7C58(UNK_PARAMS); +/* 2D7CB0 */ UNK_RET it_802D7CB0(UNK_PARAMS); /* 2D7CB4 */ void it_802D7CB4(Item_GObj*); /* 2D7D18 */ void it_802D7D18(Item_GObj*); +/* 2D7D7C */ UNK_RET it_802D7D7C(UNK_PARAMS); +/* 2D7DC4 */ UNK_RET it_802D7DC4(UNK_PARAMS); +/* 2D7DF4 */ UNK_RET it_802D7DF4(UNK_PARAMS); +/* 2D7E18 */ UNK_RET it_802D7E18(UNK_PARAMS); +/* 2D7EAC */ UNK_RET it_802D7EAC(UNK_PARAMS); +/* 2D7ED4 */ UNK_RET it_802D7ED4(UNK_PARAMS); /* 2D7F38 */ bool it_802D7F38(Item_GObj*); -/* 2E2470 */ void it_802E2470(Item_GObj*); -/* 2E257C */ bool it_802E257C(Item_GObj*); +/* 2D8098 */ UNK_RET it_802D8098(UNK_PARAMS); +/* 2D813C */ UNK_RET it_802D813C(UNK_PARAMS); +/* 2D8190 */ UNK_RET it_802D8190(UNK_PARAMS); +/* 2D81D8 */ UNK_RET it_802D81D8(UNK_PARAMS); +/* 2D81DC */ UNK_RET it_802D81DC(UNK_PARAMS); +/* 2D81FC */ UNK_RET it_802D81FC(UNK_PARAMS); +/* 2D8240 */ UNK_RET it_802D8240(UNK_PARAMS); +/* 2D8274 */ UNK_RET it_802D8274(UNK_PARAMS); +/* 2D82A4 */ UNK_RET it_802D82A4(UNK_PARAMS); +/* 2D82C4 */ UNK_RET it_802D82C4(UNK_PARAMS); +/* 2D8330 */ UNK_RET it_802D8330(UNK_PARAMS); +/* 2D8378 */ UNK_RET it_802D8378(UNK_PARAMS); +/* 2D837C */ UNK_RET it_802D837C(UNK_PARAMS); +/* 2D839C */ UNK_RET it_802D839C(UNK_PARAMS); +/* 2D8408 */ UNK_RET it_802D8408(UNK_PARAMS); +/* 2D8450 */ UNK_RET it_802D8450(UNK_PARAMS); +/* 2D846C */ UNK_RET it_802D846C(UNK_PARAMS); +/* 2D848C */ UNK_RET it_802D848C(UNK_PARAMS); +/* 2D84D8 */ UNK_RET it_802D84D8(UNK_PARAMS); /* 2E31F8 */ void it_802E31F8(Item_GObj*); /* 2E32B4 */ void it_802E32B4(Item_GObj*); /* 2E3314 */ void it_802E3314(Item_GObj*); diff --git a/src/melee/it/items/itoldottosea.c b/src/melee/it/items/itoldottosea.c index 8b13789179..c34535d5b8 100644 --- a/src/melee/it/items/itoldottosea.c +++ b/src/melee/it/items/itoldottosea.c @@ -1 +1,54 @@ +/// #it_802E2470 + +/// #it_802E257C + +/// #it_802E269C + +/// #it_802E26F4 + +/// #it_802E273C + +/// #it_802E2778 + +/// #it_802E27B4 + +/// #it_802E28E0 + +/// #it_802E2A58 + +/// #it_802E2B38 + +/// #it_802E2BC0 + +/// #it_802E2C0C + +/// #it_802E2C14 + +/// #it_802E2C44 + +/// #it_802E2C80 + +/// #it_802E2CFC + +/// #it_802E2D68 + +/// #it_802E2D90 + +/// #it_802E2DF4 + +/// #it_802E2E30 + +/// #it_802E2E90 + +/// #it_802E2F08 + +/// #it_802E3024 + +/// #it_802E3098 + +/// #it_802E3110 + +void it_802E31B8(void) {} + +/// #it_802E31BC diff --git a/src/melee/it/items/itoldottosea.h b/src/melee/it/items/itoldottosea.h index 916783dd36..91d0213bee 100644 --- a/src/melee/it/items/itoldottosea.h +++ b/src/melee/it/items/itoldottosea.h @@ -5,6 +5,33 @@ #include "it/items/types.h" +/* 2E2470 */ void it_802E2470(Item_GObj*); +/* 2E257C */ bool it_802E257C(Item_GObj*); +/* 2E269C */ UNK_RET it_802E269C(UNK_PARAMS); +/* 2E26F4 */ UNK_RET it_802E26F4(UNK_PARAMS); +/* 2E273C */ UNK_RET it_802E273C(UNK_PARAMS); +/* 2E2778 */ UNK_RET it_802E2778(UNK_PARAMS); +/* 2E27B4 */ UNK_RET it_802E27B4(UNK_PARAMS); +/* 2E28E0 */ UNK_RET it_802E28E0(UNK_PARAMS); +/* 2E2A58 */ UNK_RET it_802E2A58(UNK_PARAMS); +/* 2E2B38 */ UNK_RET it_802E2B38(UNK_PARAMS); +/* 2E2BC0 */ UNK_RET it_802E2BC0(UNK_PARAMS); +/* 2E2C0C */ UNK_RET it_802E2C0C(UNK_PARAMS); +/* 2E2C14 */ UNK_RET it_802E2C14(UNK_PARAMS); +/* 2E2C44 */ UNK_RET it_802E2C44(UNK_PARAMS); +/* 2E2C80 */ UNK_RET it_802E2C80(UNK_PARAMS); +/* 2E2CFC */ UNK_RET it_802E2CFC(UNK_PARAMS); +/* 2E2D68 */ UNK_RET it_802E2D68(UNK_PARAMS); +/* 2E2D90 */ UNK_RET it_802E2D90(UNK_PARAMS); +/* 2E2DF4 */ UNK_RET it_802E2DF4(UNK_PARAMS); +/* 2E2E30 */ UNK_RET it_802E2E30(UNK_PARAMS); +/* 2E2E90 */ UNK_RET it_802E2E90(UNK_PARAMS); +/* 2E2F08 */ UNK_RET it_802E2F08(UNK_PARAMS); +/* 2E3024 */ UNK_RET it_802E3024(UNK_PARAMS); +/* 2E3098 */ UNK_RET it_802E3098(UNK_PARAMS); +/* 2E3110 */ UNK_RET it_802E3110(UNK_PARAMS); +/* 2E31B8 */ UNK_RET it_802E31B8(UNK_PARAMS); +/* 2E31BC */ UNK_RET it_802E31BC(UNK_PARAMS); /* 3F89C8 */ extern ItemStateTable it_803F89C8[]; #endif diff --git a/src/melee/it/items/itpatapata.c b/src/melee/it/items/itpatapata.c index 8b13789179..d57be880ee 100644 --- a/src/melee/it/items/itpatapata.c +++ b/src/melee/it/items/itpatapata.c @@ -1 +1,66 @@ +/// #it_802E05A0 + +/// #it_802E0678 + +/// #it_802E06B4 + +/// #it_802E06BC + +/// #it_802E06F8 + +/// #it_802E0734 + +/// #it_802E0974 + +/// #it_802E09BC + +/// #it_802E0B78 + +/// #it_802E0D9C + +/// #it_802E0E10 + +/// #it_802E0EE0 + +/// #it_802E0F1C + +/// #it_802E0F70 + +/// #it_802E0F98 + +void it_802E0FE0(void) {} + +/// #it_802E0FE4 + +/// #it_802E1040 + +void it_802E10A0(void) {} + +/// #it_802E10A4 + +/// #it_802E10C8 + +/// #it_802E1128 + +/// #it_802E1170 + +/// #it_802E11A0 + +/// #it_802E11E0 + +/// #it_802E13EC + +/// #it_802E1498 + +/// #it_802E1578 + +/// #it_802E15B0 + +/// #it_802E1648 + +/// #it_802E1694 + +/// #it_802E16D8 + +/// #it_802E16F8 diff --git a/src/melee/it/items/itpatapata.h b/src/melee/it/items/itpatapata.h index 8b13789179..453572e0de 100644 --- a/src/melee/it/items/itpatapata.h +++ b/src/melee/it/items/itpatapata.h @@ -1 +1,40 @@ +#ifndef GALE01_2E05A0 +#define GALE01_2E05A0 +#include + +/* 2E05A0 */ UNK_RET it_802E05A0(UNK_PARAMS); +/* 2E0678 */ UNK_RET it_802E0678(UNK_PARAMS); +/* 2E06B4 */ UNK_RET it_802E06B4(UNK_PARAMS); +/* 2E06BC */ UNK_RET it_802E06BC(UNK_PARAMS); +/* 2E06F8 */ UNK_RET it_802E06F8(UNK_PARAMS); +/* 2E0734 */ UNK_RET it_802E0734(UNK_PARAMS); +/* 2E0974 */ UNK_RET it_802E0974(UNK_PARAMS); +/* 2E09BC */ UNK_RET it_802E09BC(UNK_PARAMS); +/* 2E0B78 */ UNK_RET it_802E0B78(UNK_PARAMS); +/* 2E0D9C */ UNK_RET it_802E0D9C(UNK_PARAMS); +/* 2E0E10 */ UNK_RET it_802E0E10(UNK_PARAMS); +/* 2E0EE0 */ UNK_RET it_802E0EE0(UNK_PARAMS); +/* 2E0F1C */ UNK_RET it_802E0F1C(UNK_PARAMS); +/* 2E0F70 */ UNK_RET it_802E0F70(UNK_PARAMS); +/* 2E0F98 */ UNK_RET it_802E0F98(UNK_PARAMS); +/* 2E0FE0 */ UNK_RET it_802E0FE0(UNK_PARAMS); +/* 2E0FE4 */ UNK_RET it_802E0FE4(UNK_PARAMS); +/* 2E1040 */ UNK_RET it_802E1040(UNK_PARAMS); +/* 2E10A0 */ UNK_RET it_802E10A0(UNK_PARAMS); +/* 2E10A4 */ UNK_RET it_802E10A4(UNK_PARAMS); +/* 2E10C8 */ UNK_RET it_802E10C8(UNK_PARAMS); +/* 2E1128 */ UNK_RET it_802E1128(UNK_PARAMS); +/* 2E1170 */ UNK_RET it_802E1170(UNK_PARAMS); +/* 2E11A0 */ UNK_RET it_802E11A0(UNK_PARAMS); +/* 2E11E0 */ UNK_RET it_802E11E0(UNK_PARAMS); +/* 2E13EC */ UNK_RET it_802E13EC(UNK_PARAMS); +/* 2E1498 */ UNK_RET it_802E1498(UNK_PARAMS); +/* 2E1578 */ UNK_RET it_802E1578(UNK_PARAMS); +/* 2E15B0 */ UNK_RET it_802E15B0(UNK_PARAMS); +/* 2E1648 */ UNK_RET it_802E1648(UNK_PARAMS); +/* 2E1694 */ UNK_RET it_802E1694(UNK_PARAMS); +/* 2E16D8 */ UNK_RET it_802E16D8(UNK_PARAMS); +/* 2E16F8 */ UNK_RET it_802E16F8(UNK_PARAMS); + +#endif diff --git a/src/melee/it/items/itpeachturnip.c b/src/melee/it/items/itpeachturnip.c index 8b13789179..e53bf35e5f 100644 --- a/src/melee/it/items/itpeachturnip.c +++ b/src/melee/it/items/itpeachturnip.c @@ -1 +1,40 @@ +/// #it_802BD32C + +/// #it_802BD45C + +/// #it_802BD47C + +/// #it_802BD4AC + +/// #it_802BD628 + +/// #it_802BD6D4 + +void it_802BD6DC(void) {} + +/// #it_802BD6E0 + +/// #it_802BD718 + +/// #it_802BD748 + +/// #it_802BD7E0 + +/// #it_802BD818 + +/// #it_802BD864 + +/// #it_802BD8CC + +/// #it_802BD938 + +/// #it_802BD978 + +/// #it_802BD99C + +/// #it_802BD9C0 + +/// #it_802BD9E4 + +/// #it_802BDA08 diff --git a/src/melee/it/items/itpeachturnip.h b/src/melee/it/items/itpeachturnip.h index 4530d63819..7ca1097ecf 100644 --- a/src/melee/it/items/itpeachturnip.h +++ b/src/melee/it/items/itpeachturnip.h @@ -3,12 +3,23 @@ #include #include "it/forward.h" +#include #include "it/items/types.h" +/* 2BD32C */ UNK_RET it_802BD32C(UNK_PARAMS); +/* 2BD45C */ void it_802BD45C(Item_GObj* gobj); /* 2BD47C */ void it_802BD47C(Item_GObj*); +/* 2BD4AC */ HSD_GObj* it_802BD4AC(Item_GObj*, Vec3*, u8, s32, float); /* 2BD628 */ void it_802BD628(Item_GObj*); +/* 2BD6D4 */ UNK_RET it_802BD6D4(UNK_PARAMS); +/* 2BD6DC */ UNK_RET it_802BD6DC(UNK_PARAMS); +/* 2BD6E0 */ UNK_RET it_802BD6E0(UNK_PARAMS); +/* 2BD718 */ UNK_RET it_802BD718(UNK_PARAMS); /* 2BD748 */ void it_802BD748(Item_GObj*); +/* 2BD7E0 */ UNK_RET it_802BD7E0(UNK_PARAMS); +/* 2BD818 */ UNK_RET it_802BD818(UNK_PARAMS); +/* 2BD864 */ UNK_RET it_802BD864(UNK_PARAMS); /* 2BD8CC */ void it_802BD8CC(Item_GObj*); /* 2BD938 */ bool it_802BD938(Item_GObj*); /* 2BD978 */ bool it_802BD978(Item_GObj*); @@ -16,6 +27,7 @@ /* 2BD9C0 */ bool it_802BD9C0(Item_GObj*); /* 2BD9E4 */ bool it_802BD9E4(Item_GObj*); /* 2BDA08 */ void it_802BDA08(Item_GObj*, Item_GObj*); +/* 2BDB94 */ void it_802BDB94(Item_GObj* gobj); /* 3F74A8 */ extern ItemStateTable it_803F74A8[]; #endif diff --git a/src/melee/it/items/itrabbitc.c b/src/melee/it/items/itrabbitc.c index 8b13789179..cf67ea1cc4 100644 --- a/src/melee/it/items/itrabbitc.c +++ b/src/melee/it/items/itrabbitc.c @@ -1 +1,48 @@ +/// #it_80294DA0 + +/// #it_80294DC0 + +/// #it_80294E78 + +/// #it_80294EB0 + +/// #it_802950D4 + +/// #it_80295118 + +/// #it_80295138 + +/// #it_80295188 + +void it_80295190(void) {} + +/// #it_80295194 + +/// #it_802951C0 + +/// #it_802951E8 + +/// #it_802951F0 + +/// #it_80295220 + +/// #it_8029524C + +/// #it_80295290 + +/// #it_80295298 + +/// #it_802952DC + +/// #it_8029530C + +/// #it_80295340 + +/// #it_80295368 + +void it_80295370(void) {} + +/// #it_80295374 + +/// #it_802953A8 diff --git a/src/melee/it/items/itrabbitc.h b/src/melee/it/items/itrabbitc.h index f00d290098..6350c743f7 100644 --- a/src/melee/it/items/itrabbitc.h +++ b/src/melee/it/items/itrabbitc.h @@ -7,10 +7,28 @@ #include "it/items/types.h" /* 294DA0 */ bool it_80294DA0(Item_GObj*); +/* 294DC0 */ UNK_RET it_80294DC0(UNK_PARAMS); +/* 294E78 */ UNK_RET it_80294E78(UNK_PARAMS); +/* 294EB0 */ UNK_RET it_80294EB0(UNK_PARAMS); +/* 2950D4 */ UNK_RET it_802950D4(UNK_PARAMS); /* 295118 */ void it_80295118(Item_GObj*); +/* 295138 */ UNK_RET it_80295138(UNK_PARAMS); +/* 295188 */ UNK_RET it_80295188(UNK_PARAMS); +/* 295190 */ UNK_RET it_80295190(UNK_PARAMS); +/* 295194 */ UNK_RET it_80295194(UNK_PARAMS); +/* 2951C0 */ UNK_RET it_802951C0(UNK_PARAMS); +/* 2951E8 */ UNK_RET it_802951E8(UNK_PARAMS); +/* 2951F0 */ UNK_RET it_802951F0(UNK_PARAMS); +/* 295220 */ UNK_RET it_80295220(UNK_PARAMS); /* 29524C */ void it_8029524C(Item_GObj*); +/* 295290 */ UNK_RET it_80295290(UNK_PARAMS); /* 295298 */ void it_80295298(Item_GObj*); +/* 2952DC */ UNK_RET it_802952DC(UNK_PARAMS); +/* 29530C */ UNK_RET it_8029530C(UNK_PARAMS); /* 295340 */ void it_80295340(Item_GObj*); +/* 295368 */ UNK_RET it_80295368(UNK_PARAMS); +/* 295370 */ UNK_RET it_80295370(UNK_PARAMS); +/* 295374 */ UNK_RET it_80295374(UNK_PARAMS); /* 2953A8 */ void it_802953A8(Item_GObj*, Item_GObj*); /* 3F6270 */ extern ItemStateTable it_803F6270[]; diff --git a/src/melee/it/items/itrshell.c b/src/melee/it/items/itrshell.c index 8b13789179..881fb805c6 100644 --- a/src/melee/it/items/itrshell.c +++ b/src/melee/it/items/itrshell.c @@ -1 +1,98 @@ +/// #it_8028CFE0 + +/// #it_8028D090 + +/// #it_8028D100 + +/// #it_8028D26C + +/// #it_8028D390 + +/// #it_8028D3B8 + +/// #fn_8028D4A8 + +/// #it_8028D4E4 + +/// #it_8028D56C + +/// #it_8028D59C + +/// #it_8028D62C + +/// #it_8028D6C0 + +void it_8028D6C8(void) {} + +/// #it_8028D6CC + +/// #it_8028D7F0 + +/// #it_8028D818 + +/// #it_8028D820 + +/// #it_8028D850 + +/// #it_8028D898 + +/// #it_8028D8D4 + +void it_8028D8DC(void) {} + +/// #it_8028D8E0 + +/// #it_8028D940 + +/// #it_8028D998 + +/// #it_8028D9C8 + +/// #it_8028D9F4 + +/// #it_8028DA30 + +/// #it_8028DA88 + +/// #it_8028DAB8 + +/// #it_8028DAE4 + +/// #it_8028DC5C + +/// #it_8028DD88 + +/// #it_8028DFE8 + +/// #it_8028E170 + +/// #it_8028E2D4 + +/// #it_8028E370 + +/// #it_8028E3A0 + +/// #it_8028E3CC + +/// #it_8028E408 + +void it_8028E410(void) {} + +/// #it_8028E414 + +/// #it_8028E540 + +/// #it_8028E584 + +/// #it_8028E5C8 + +/// #it_8028E600 + +/// #it_8028E624 + +/// #it_8028E684 + +/// #it_8028E6C0 + +/// #it_8028E718 diff --git a/src/melee/it/items/itrshell.h b/src/melee/it/items/itrshell.h index 40edbde759..9da6c9a560 100644 --- a/src/melee/it/items/itrshell.h +++ b/src/melee/it/items/itrshell.h @@ -6,17 +6,54 @@ #include "it/items/types.h" +/* 28CFE0 */ UNK_RET it_8028CFE0(UNK_PARAMS); +/* 28D090 */ UNK_RET it_8028D090(UNK_PARAMS); +/* 28D100 */ UNK_RET it_8028D100(UNK_PARAMS); +/* 28D26C */ UNK_RET it_8028D26C(UNK_PARAMS); +/* 28D390 */ UNK_RET it_8028D390(UNK_PARAMS); +/* 28D3B8 */ UNK_RET it_8028D3B8(UNK_PARAMS); +/* 28D4A8 */ UNK_RET fn_8028D4A8(UNK_PARAMS); +/* 28D4E4 */ UNK_RET it_8028D4E4(UNK_PARAMS); +/* 28D56C */ UNK_RET it_8028D56C(UNK_PARAMS); /* 28D59C */ void it_8028D59C(Item_GObj*); +/* 28D62C */ UNK_RET it_8028D62C(UNK_PARAMS); +/* 28D6C0 */ UNK_RET it_8028D6C0(UNK_PARAMS); +/* 28D6C8 */ UNK_RET it_8028D6C8(UNK_PARAMS); +/* 28D6CC */ UNK_RET it_8028D6CC(UNK_PARAMS); +/* 28D7F0 */ UNK_RET it_8028D7F0(UNK_PARAMS); +/* 28D818 */ UNK_RET it_8028D818(UNK_PARAMS); +/* 28D820 */ UNK_RET it_8028D820(UNK_PARAMS); +/* 28D850 */ UNK_RET it_8028D850(UNK_PARAMS); /* 28D898 */ void it_8028D898(Item_GObj*); +/* 28D8D4 */ UNK_RET it_8028D8D4(UNK_PARAMS); +/* 28D8DC */ UNK_RET it_8028D8DC(UNK_PARAMS); /* 28D8E0 */ void it_8028D8E0(Item_GObj*); +/* 28D940 */ UNK_RET it_8028D940(UNK_PARAMS); +/* 28D998 */ UNK_RET it_8028D998(UNK_PARAMS); +/* 28D9C8 */ UNK_RET it_8028D9C8(UNK_PARAMS); /* 28D9F4 */ void it_8028D9F4(Item_GObj*); +/* 28DA30 */ UNK_RET it_8028DA30(UNK_PARAMS); +/* 28DA88 */ UNK_RET it_8028DA88(UNK_PARAMS); +/* 28DAB8 */ UNK_RET it_8028DAB8(UNK_PARAMS); +/* 28DAE4 */ UNK_RET it_8028DAE4(UNK_PARAMS); +/* 28DC5C */ UNK_RET it_8028DC5C(UNK_PARAMS); +/* 28DD88 */ UNK_RET it_8028DD88(UNK_PARAMS); +/* 28DFE8 */ UNK_RET it_8028DFE8(UNK_PARAMS); +/* 28E170 */ UNK_RET it_8028E170(UNK_PARAMS); +/* 28E2D4 */ UNK_RET it_8028E2D4(UNK_PARAMS); +/* 28E370 */ UNK_RET it_8028E370(UNK_PARAMS); +/* 28E3A0 */ UNK_RET it_8028E3A0(UNK_PARAMS); /* 28E3CC */ void it_8028E3CC(Item_GObj*); +/* 28E408 */ UNK_RET it_8028E408(UNK_PARAMS); +/* 28E410 */ UNK_RET it_8028E410(UNK_PARAMS); +/* 28E414 */ UNK_RET it_8028E414(UNK_PARAMS); /* 28E540 */ bool it_8028E540(Item_GObj*); /* 28E584 */ bool it_8028E584(Item_GObj*); /* 28E5C8 */ bool it_8028E5C8(Item_GObj*); /* 28E600 */ bool it_8028E600(Item_GObj*); /* 28E624 */ bool it_8028E624(Item_GObj*); /* 28E684 */ bool it_8028E684(Item_GObj*); +/* 28E6C0 */ UNK_RET it_8028E6C0(UNK_PARAMS); /* 28E718 */ void it_8028E718(Item_GObj*, Item_GObj*); /* 3F5C48 */ extern ItemStateTable it_803F5C48[]; diff --git a/src/melee/it/items/itsamusbomb.c b/src/melee/it/items/itsamusbomb.c index 8b13789179..e696e28391 100644 --- a/src/melee/it/items/itsamusbomb.c +++ b/src/melee/it/items/itsamusbomb.c @@ -1 +1,46 @@ +/// #it_802B4AC8 + +/// #it_802B4BA0 + +/// #it_802B4C10 + +/// #it_802B4C38 + +void it_802B4CC4(void) {} + +/// #it_802B4CC8 + +/// #it_802B4CF4 + +/// #it_802B4D1C + +/// #it_802B4F1C + +/// #it_802B4F4C + +/// #it_802B4F78 + +/// #it_802B4FA0 + +/// #it_802B51A0 + +/// #it_802B5284 + +/// #it_802B52B8 + +/// #it_802B52EC + +/// #it_802B5320 + +/// #it_802B5354 + +/// #it_802B5374 + +/// #it_802B53CC + +/// #it_802B5458 + +/// #it_802B5478 + +/// #it_802B54E4 diff --git a/src/melee/it/items/itsamusbomb.h b/src/melee/it/items/itsamusbomb.h index cb209e3245..161764d5b6 100644 --- a/src/melee/it/items/itsamusbomb.h +++ b/src/melee/it/items/itsamusbomb.h @@ -3,15 +3,33 @@ #include #include "it/forward.h" +#include #include "it/items/types.h" +/* 2B4AC8 */ void it_802B4AC8(Item_GObj* gobj, Vec3*, float facing_dir, + float x); +/* 2B4BA0 */ UNK_RET it_802B4BA0(UNK_PARAMS); +/* 2B4C10 */ UNK_RET it_802B4C10(UNK_PARAMS); +/* 2B4C38 */ UNK_RET it_802B4C38(UNK_PARAMS); +/* 2B4CC4 */ UNK_RET it_802B4CC4(UNK_PARAMS); +/* 2B4CC8 */ UNK_RET it_802B4CC8(UNK_PARAMS); +/* 2B4CF4 */ UNK_RET it_802B4CF4(UNK_PARAMS); +/* 2B4D1C */ UNK_RET it_802B4D1C(UNK_PARAMS); +/* 2B4F1C */ UNK_RET it_802B4F1C(UNK_PARAMS); +/* 2B4F4C */ UNK_RET it_802B4F4C(UNK_PARAMS); /* 2B4F78 */ void it_802B4F78(Item_GObj*); +/* 2B4FA0 */ UNK_RET it_802B4FA0(UNK_PARAMS); +/* 2B51A0 */ UNK_RET it_802B51A0(UNK_PARAMS); +/* 2B5284 */ UNK_RET it_802B5284(UNK_PARAMS); /* 2B52B8 */ bool it_802B52B8(Item_GObj*); /* 2B52EC */ bool it_802B52EC(Item_GObj*); /* 2B5320 */ bool it_802B5320(Item_GObj*); /* 2B5354 */ bool it_802B5354(Item_GObj*); /* 2B5374 */ bool it_802B5374(Item_GObj*); +/* 2B53CC */ UNK_RET it_802B53CC(UNK_PARAMS); +/* 2B5458 */ UNK_RET it_802B5458(UNK_PARAMS); +/* 2B5478 */ UNK_RET it_802B5478(UNK_PARAMS); /* 2B54E4 */ void it_802B54E4(Item_GObj*, Item_GObj*); /* 3F7220 */ extern ItemStateTable it_803F7220[]; diff --git a/src/melee/it/items/itsamuschargeshot.c b/src/melee/it/items/itsamuschargeshot.c index 8b13789179..409bfdcdd9 100644 --- a/src/melee/it/items/itsamuschargeshot.c +++ b/src/melee/it/items/itsamuschargeshot.c @@ -1 +1,42 @@ +/// #it_802B5518 + +/// #it_802B55C8 + +/// #it_802B56E4 + +/// #it_802B58D8 + +/// #it_802B5974 + +/// #it_802B59C4 + +/// #it_802B5A98 + +void it_802B5CB0(void) {} + +/// #it_802B5CB4 + +/// #it_802B5CBC + +/// #it_802B5D54 + +/// #it_802B5E50 + +/// #it_802B5EA0 + +/// #it_802B5EDC + +/// #it_802B5FD8 + +/// #it_802B5FE0 + +/// #it_802B5FE8 + +/// #it_802B5FF0 + +/// #it_802B613C + +/// #it_802B6144 + +/// #it_802B62B0 diff --git a/src/melee/it/items/itsamuschargeshot.h b/src/melee/it/items/itsamuschargeshot.h index 7e6786a002..d37fae42d8 100644 --- a/src/melee/it/items/itsamuschargeshot.h +++ b/src/melee/it/items/itsamuschargeshot.h @@ -3,11 +3,25 @@ #include #include "it/forward.h" +#include #include "it/items/types.h" +/* 2B5518 */ UNK_RET it_802B5518(UNK_PARAMS); +/* 2B55C8 */ HSD_GObj* it_802B55C8(Item_GObj* owner, Vec3*, s32, s32, + float facing_dir); +/* 2B56E4 */ void it_802B56E4(Item_GObj*, Vec3*, float, float, float); /* 2B58D8 */ void it_802B58D8(Item_GObj*); +/* 2B5974 */ void it_802B5974(Item_GObj*); /* 2B59C4 */ void it_802B59C4(Item_GObj*); +/* 2B5A98 */ UNK_RET it_802B5A98(UNK_PARAMS); +/* 2B5CB0 */ UNK_RET it_802B5CB0(UNK_PARAMS); +/* 2B5CB4 */ UNK_RET it_802B5CB4(UNK_PARAMS); +/* 2B5CBC */ UNK_RET it_802B5CBC(UNK_PARAMS); +/* 2B5D54 */ UNK_RET it_802B5D54(UNK_PARAMS); +/* 2B5E50 */ UNK_RET it_802B5E50(UNK_PARAMS); +/* 2B5EA0 */ UNK_RET it_802B5EA0(UNK_PARAMS); +/* 2B5EDC */ UNK_RET it_802B5EDC(UNK_PARAMS); /* 2B5FD8 */ bool it_802B5FD8(Item_GObj*); /* 2B5FE0 */ bool it_802B5FE0(Item_GObj*); /* 2B5FE8 */ bool it_802B5FE8(Item_GObj*); @@ -15,6 +29,7 @@ /* 2B613C */ bool it_802B613C(Item_GObj*); /* 2B6144 */ bool it_802B6144(Item_GObj*); /* 2B62B0 */ void it_802B62B0(Item_GObj*, Item_GObj*); +/* 2B62D0 */ void it_802B62D0(Item_GObj*, Vec3* pos, bool, float facing_dir); /* 3F7288 */ extern ItemStateTable it_803F7288[]; #endif diff --git a/src/melee/it/items/itseakneedleheld.c b/src/melee/it/items/itseakneedleheld.c index 8b13789179..b3722d029f 100644 --- a/src/melee/it/items/itseakneedleheld.c +++ b/src/melee/it/items/itseakneedleheld.c @@ -1 +1,14 @@ +/// #it_802B18B0 + +/// #it_802B19AC + +/// #it_802B1AAC + +/// #it_802B1AD4 + +void it_802B1C34(void) {} + +/// #it_802B1C38 + +/// #it_802B1C40 diff --git a/src/melee/it/items/itseakneedleheld.h b/src/melee/it/items/itseakneedleheld.h index 5e810b61dd..26fc618ed2 100644 --- a/src/melee/it/items/itseakneedleheld.h +++ b/src/melee/it/items/itseakneedleheld.h @@ -1,17 +1,18 @@ #ifndef GALE01_2B18B0 #define GALE01_2B18B0 -#include "ft/forward.h" #include "it/forward.h" +#include #include "it/items/types.h" -/* 2AFD8C */ Item_GObj* it_802AFD8C(Item_GObj*, Vec3*, u32, float); -/* 2AFEA8 */ Item_GObj* it_802AFEA8(Item_GObj* gobj, Fighter_GObj* owner_gobj, - u32); +/* 2B18B0 */ UNK_RET it_802B18B0(UNK_PARAMS); /* 2B19AC */ Item_GObj* it_802B19AC(Item_GObj*, Vec3* cur_pos, u32, u32, float facing_dir); /* 2B1AAC */ void it_802B1AAC(Item_GObj*); +/* 2B1AD4 */ UNK_RET it_802B1AD4(UNK_PARAMS); +/* 2B1C34 */ UNK_RET it_802B1C34(UNK_PARAMS); +/* 2B1C38 */ UNK_RET it_802B1C38(UNK_PARAMS); /* 2B1C40 */ void it_802B1C40(Item_GObj*, Item_GObj*); /* 3F70A8 */ extern ItemStateTable it_803F70A8[]; diff --git a/src/melee/it/items/itseakneedlethrown.c b/src/melee/it/items/itseakneedlethrown.c index 8b13789179..b9ca3c4c17 100644 --- a/src/melee/it/items/itseakneedlethrown.c +++ b/src/melee/it/items/itseakneedlethrown.c @@ -1 +1,54 @@ +/// #it_802AFD8C + +/// #it_802AFEA8 + +/// #it_802AFEF8 + +/// #it_802AFF08 + +/// #it_802B00F4 + +/// #it_802B0210 + +/// #it_802B024C + +/// #it_802B033C + +/// #it_802B0444 + +/// #it_802B0464 + +void it_802B0544(void) {} + +/// #it_802B0548 + +void it_802B057C(void) {} + +/// #it_802B0580 + +/// #it_802B0598 + +/// #it_802B05CC + +/// #it_802B0900 + +/// #it_802B0AB8 + +/// #it_802B0C5C + +/// #it_802B0C64 + +/// #it_802B0D84 + +/// #it_802B0F34 + +/// #it_802B10E4 + +/// #it_802B1294 + +/// #it_802B14DC + +/// #it_802B16E4 + +/// #it_802B1890 diff --git a/src/melee/it/items/itseakneedlethrown.h b/src/melee/it/items/itseakneedlethrown.h index 080385153f..20c3cf5fa0 100644 --- a/src/melee/it/items/itseakneedlethrown.h +++ b/src/melee/it/items/itseakneedlethrown.h @@ -2,11 +2,33 @@ #define GALE01_2AFD8C #include +#include "ft/forward.h" #include "it/forward.h" +#include #include "it/items/types.h" +/* 2AFD8C */ Item_GObj* it_802AFD8C(Item_GObj*, Vec3*, u32, float); +/* 2AFEA8 */ Item_GObj* it_802AFEA8(Item_GObj* gobj, Fighter_GObj* owner_gobj, + u32); /* 2AFEF8 */ void it_802AFEF8(Item_GObj*); +/* 2AFF08 */ UNK_RET it_802AFF08(UNK_PARAMS); +/* 2B00F4 */ UNK_RET it_802B00F4(UNK_PARAMS); +/* 2B0210 */ UNK_RET it_802B0210(UNK_PARAMS); +/* 2B024C */ UNK_RET it_802B024C(UNK_PARAMS); +/* 2B033C */ UNK_RET it_802B033C(UNK_PARAMS); +/* 2B0444 */ UNK_RET it_802B0444(UNK_PARAMS); +/* 2B0464 */ UNK_RET it_802B0464(UNK_PARAMS); +/* 2B0544 */ UNK_RET it_802B0544(UNK_PARAMS); +/* 2B0548 */ UNK_RET it_802B0548(UNK_PARAMS); +/* 2B057C */ UNK_RET it_802B057C(UNK_PARAMS); +/* 2B0580 */ UNK_RET it_802B0580(UNK_PARAMS); +/* 2B0598 */ UNK_RET it_802B0598(UNK_PARAMS); +/* 2B05CC */ UNK_RET it_802B05CC(UNK_PARAMS); +/* 2B0900 */ UNK_RET it_802B0900(UNK_PARAMS); +/* 2B0AB8 */ UNK_RET it_802B0AB8(UNK_PARAMS); +/* 2B0C5C */ UNK_RET it_802B0C5C(UNK_PARAMS); +/* 2B0C64 */ UNK_RET it_802B0C64(UNK_PARAMS); /* 2B0D84 */ bool it_802B0D84(Item_GObj*); /* 2B0F34 */ bool it_802B0F34(Item_GObj*); /* 2B10E4 */ bool it_802B10E4(Item_GObj*); diff --git a/src/melee/it/items/itsonans.c b/src/melee/it/items/itsonans.c index 8b13789179..4540259919 100644 --- a/src/melee/it/items/itsonans.c +++ b/src/melee/it/items/itsonans.c @@ -1 +1,34 @@ +/// #it_802CD44C + +void it_802CD4D8(void) {} + +/// #it_802CD4DC + +/// #it_802CD4FC + +/// #it_802CD7B8 + +/// #it_802CD7D4 + +/// #it_802CD8E4 + +/// #it_802CD954 + +/// #it_802CD974 + +/// #it_802CD9C0 + +/// #it_802CDA0C + +/// #it_802CDA3C + +/// #it_802CDA5C + +/// #it_802CDAA8 + +/// #it_802CDB0C + +/// #it_802CDB30 + +/// #it_802CDBB8 diff --git a/src/melee/it/items/itsonans.h b/src/melee/it/items/itsonans.h index 21973c4fdb..69c22469e9 100644 --- a/src/melee/it/items/itsonans.h +++ b/src/melee/it/items/itsonans.h @@ -7,9 +7,22 @@ #include "it/items/types.h" /* 2CD44C */ void it_802CD44C(Item_GObj*); +/* 2CD4D8 */ UNK_RET it_802CD4D8(UNK_PARAMS); /* 2CD4DC */ void it_802CD4DC(Item_GObj*, Item_GObj*); +/* 2CD4FC */ UNK_RET it_802CD4FC(UNK_PARAMS); /* 2CD7B8 */ bool it_802CD7B8(Item_GObj*); /* 2CD7D4 */ bool it_802CD7D4(Item_GObj*); +/* 2CD8E4 */ UNK_RET it_802CD8E4(UNK_PARAMS); +/* 2CD954 */ UNK_RET it_802CD954(UNK_PARAMS); +/* 2CD974 */ UNK_RET it_802CD974(UNK_PARAMS); +/* 2CD9C0 */ UNK_RET it_802CD9C0(UNK_PARAMS); +/* 2CDA0C */ UNK_RET it_802CDA0C(UNK_PARAMS); +/* 2CDA3C */ UNK_RET it_802CDA3C(UNK_PARAMS); +/* 2CDA5C */ UNK_RET it_802CDA5C(UNK_PARAMS); +/* 2CDAA8 */ UNK_RET it_802CDAA8(UNK_PARAMS); +/* 2CDB0C */ UNK_RET it_802CDB0C(UNK_PARAMS); +/* 2CDB30 */ UNK_RET it_802CDB30(UNK_PARAMS); +/* 2CDBB8 */ UNK_RET it_802CDBB8(UNK_PARAMS); /* 3F7CA0 */ extern ItemStateTable it_803F7CA0[]; #endif diff --git a/src/melee/it/items/itsscope.c b/src/melee/it/items/itsscope.c index 8b13789179..8ed183e2d4 100644 --- a/src/melee/it/items/itsscope.c +++ b/src/melee/it/items/itsscope.c @@ -1 +1,64 @@ +/// #it_80291BE0 + +/// #it_80291C98 + +/// #it_80291CCC + +/// #it_80291CF4 + +/// #it_80291D38 + +/// #it_80291DAC + +/// #it_80291F14 + +/// #it_80291FA8 + +/// #it_80292030 + +/// #it_80292080 + +void it_80292088(void) {} + +/// #it_8029208C + +/// #it_802920B8 + +/// #it_802920E0 + +/// #it_802920E8 + +/// #it_80292118 + +/// #it_8029215C + +/// #it_80292184 + +void it_8029218C(void) {} + +/// #it_80292190 + +/// #it_802921B8 + +/// #it_802921E0 + +/// #it_8029222C + +/// #it_80292250 + +/// #it_80292274 + +/// #it_80292298 + +/// #it_802922B8 + +/// #it_802922D8 + +/// #it_80292300 + +void it_80292308(void) {} + +/// #it_8029230C + +/// #it_80292340 diff --git a/src/melee/it/items/itsscope.h b/src/melee/it/items/itsscope.h index 4adf61b419..2180b9dcca 100644 --- a/src/melee/it/items/itsscope.h +++ b/src/melee/it/items/itsscope.h @@ -6,16 +6,37 @@ #include "it/items/types.h" +/* 291BE0 */ UNK_RET it_80291BE0(UNK_PARAMS); /* 291C98 */ void it_80291C98(Item_GObj*); +/* 291CCC */ UNK_RET it_80291CCC(UNK_PARAMS); +/* 291CF4 */ UNK_RET it_80291CF4(UNK_PARAMS); +/* 291D38 */ UNK_RET it_80291D38(UNK_PARAMS); +/* 291DAC */ UNK_RET it_80291DAC(UNK_PARAMS); +/* 291F14 */ UNK_RET it_80291F14(UNK_PARAMS); +/* 291FA8 */ UNK_RET it_80291FA8(UNK_PARAMS); +/* 292030 */ UNK_RET it_80292030(UNK_PARAMS); +/* 292080 */ UNK_RET it_80292080(UNK_PARAMS); +/* 292088 */ UNK_RET it_80292088(UNK_PARAMS); +/* 29208C */ UNK_RET it_8029208C(UNK_PARAMS); +/* 2920B8 */ UNK_RET it_802920B8(UNK_PARAMS); +/* 2920E0 */ UNK_RET it_802920E0(UNK_PARAMS); +/* 2920E8 */ UNK_RET it_802920E8(UNK_PARAMS); +/* 292118 */ UNK_RET it_80292118(UNK_PARAMS); /* 29215C */ void it_8029215C(Item_GObj*); +/* 292184 */ UNK_RET it_80292184(UNK_PARAMS); +/* 29218C */ UNK_RET it_8029218C(UNK_PARAMS); /* 292190 */ void it_80292190(Item_GObj*); /* 2921B8 */ void it_802921B8(Item_GObj*); +/* 2921E0 */ UNK_RET it_802921E0(UNK_PARAMS); /* 29222C */ bool it_8029222C(Item_GObj*); /* 292250 */ bool it_80292250(Item_GObj*); /* 292274 */ bool it_80292274(Item_GObj*); /* 292298 */ bool it_80292298(Item_GObj*); /* 2922B8 */ bool it_802922B8(Item_GObj*); /* 2922D8 */ void it_802922D8(Item_GObj*); +/* 292300 */ UNK_RET it_80292300(UNK_PARAMS); +/* 292308 */ UNK_RET it_80292308(UNK_PARAMS); +/* 29230C */ UNK_RET it_8029230C(UNK_PARAMS); /* 292340 */ void it_80292340(Item_GObj*, Item_GObj*); /* 3F5F40 */ extern ItemStateTable it_803F5F40[]; diff --git a/src/melee/it/items/itsscopebeam.c b/src/melee/it/items/itsscopebeam.c index 8b13789179..76160a0726 100644 --- a/src/melee/it/items/itsscopebeam.c +++ b/src/melee/it/items/itsscopebeam.c @@ -1 +1,24 @@ +/// #it_80298DEC + +/// #it_80298ED0 + +/// #it_802990CC + +void it_80299148(void) {} + +/// #it_8029914C + +/// #it_80299360 + +/// #it_80299368 + +/// #it_80299370 + +/// #it_80299378 + +/// #it_80299380 + +/// #it_802993A0 + +/// #it_802993C0 diff --git a/src/melee/it/items/itsscopebeam.h b/src/melee/it/items/itsscopebeam.h index 1f2b35bab5..2abd8c2600 100644 --- a/src/melee/it/items/itsscopebeam.h +++ b/src/melee/it/items/itsscopebeam.h @@ -6,6 +6,11 @@ #include "it/items/types.h" +/* 298DEC */ UNK_RET it_80298DEC(UNK_PARAMS); +/* 298ED0 */ UNK_RET it_80298ED0(UNK_PARAMS); +/* 2990CC */ UNK_RET it_802990CC(UNK_PARAMS); +/* 299148 */ UNK_RET it_80299148(UNK_PARAMS); +/* 29914C */ UNK_RET it_8029914C(UNK_PARAMS); /* 299360 */ bool it_80299360(Item_GObj*); /* 299368 */ bool it_80299368(Item_GObj*); /* 299370 */ bool it_80299370(Item_GObj*); diff --git a/src/melee/it/items/itstarrod.c b/src/melee/it/items/itstarrod.c index 8b13789179..ae67c14d23 100644 --- a/src/melee/it/items/itstarrod.c +++ b/src/melee/it/items/itstarrod.c @@ -1 +1,58 @@ +/// #it_80292360 + +/// #it_80292394 + +/// #it_802923BC + +/// #it_802923F8 + +/// #it_80292450 + +void it_80292458(void) {} + +/// #it_8029245C + +/// #it_80292488 + +/// #it_802924B0 + +/// #it_802924B8 + +/// #it_802924E8 + +/// #it_80292514 + +/// #it_8029253C + +void it_80292544(void) {} + +/// #it_80292548 + +/// #it_80292570 + +/// #it_802925B4 + +/// #it_802925DC + +/// #it_80292628 + +/// #it_8029266C + +/// #it_802926A8 + +/// #it_802926D0 + +void it_802926D8(void) {} + +/// #it_802926DC + +/// #it_80292710 + +/// #it_8029274C + +/// #it_8029276C + +/// #it_802927A8 + +/// #it_802927C8 diff --git a/src/melee/it/items/itstarrod.h b/src/melee/it/items/itstarrod.h index d92b2feaaa..c8435ace61 100644 --- a/src/melee/it/items/itstarrod.h +++ b/src/melee/it/items/itstarrod.h @@ -7,11 +7,29 @@ #include "it/items/types.h" /* 292360 */ void it_80292360(Item_GObj*); +/* 292394 */ UNK_RET it_80292394(UNK_PARAMS); +/* 2923BC */ UNK_RET it_802923BC(UNK_PARAMS); +/* 2923F8 */ UNK_RET it_802923F8(UNK_PARAMS); +/* 292450 */ UNK_RET it_80292450(UNK_PARAMS); +/* 292458 */ UNK_RET it_80292458(UNK_PARAMS); +/* 29245C */ UNK_RET it_8029245C(UNK_PARAMS); +/* 292488 */ UNK_RET it_80292488(UNK_PARAMS); +/* 2924B0 */ UNK_RET it_802924B0(UNK_PARAMS); +/* 2924B8 */ UNK_RET it_802924B8(UNK_PARAMS); +/* 2924E8 */ UNK_RET it_802924E8(UNK_PARAMS); /* 292514 */ void it_80292514(Item_GObj*); +/* 29253C */ UNK_RET it_8029253C(UNK_PARAMS); +/* 292544 */ UNK_RET it_80292544(UNK_PARAMS); /* 292548 */ void it_80292548(Item_GObj*); +/* 292570 */ UNK_RET it_80292570(UNK_PARAMS); /* 2925B4 */ void it_802925B4(Item_GObj*); +/* 2925DC */ UNK_RET it_802925DC(UNK_PARAMS); +/* 292628 */ UNK_RET it_80292628(UNK_PARAMS); /* 29266C */ bool it_8029266C(Item_GObj*); /* 2926A8 */ void it_802926A8(Item_GObj*); +/* 2926D0 */ UNK_RET it_802926D0(UNK_PARAMS); +/* 2926D8 */ UNK_RET it_802926D8(UNK_PARAMS); +/* 2926DC */ UNK_RET it_802926DC(UNK_PARAMS); /* 292710 */ bool it_80292710(Item_GObj*); /* 29274C */ bool it_8029274C(Item_GObj*); /* 29276C */ bool it_8029276C(Item_GObj*); diff --git a/src/melee/it/items/itstarrodstar.c b/src/melee/it/items/itstarrodstar.c index 8b13789179..102f703b17 100644 --- a/src/melee/it/items/itstarrodstar.c +++ b/src/melee/it/items/itstarrodstar.c @@ -1 +1,24 @@ +/// #it_802988E4 + +/// #it_802989C8 + +/// #it_80298ACC + +void it_80298BAC(void) {} + +/// #it_80298BB0 + +/// #it_80298BE4 + +/// #it_80298BEC + +/// #it_80298BF4 + +/// #it_80298BFC + +/// #it_80298C04 + +/// #it_80298CE8 + +/// #it_80298DCC diff --git a/src/melee/it/items/itstarrodstar.h b/src/melee/it/items/itstarrodstar.h index a23aeb420a..3633047b69 100644 --- a/src/melee/it/items/itstarrodstar.h +++ b/src/melee/it/items/itstarrodstar.h @@ -6,6 +6,11 @@ #include "it/items/types.h" +/* 2988E4 */ UNK_RET it_802988E4(UNK_PARAMS); +/* 2989C8 */ UNK_RET it_802989C8(UNK_PARAMS); +/* 298ACC */ UNK_RET it_80298ACC(UNK_PARAMS); +/* 298BAC */ UNK_RET it_80298BAC(UNK_PARAMS); +/* 298BB0 */ UNK_RET it_80298BB0(UNK_PARAMS); /* 298BE4 */ bool it_80298BE4(Item_GObj*); /* 298BEC */ bool it_80298BEC(Item_GObj*); /* 298BF4 */ bool it_80298BF4(Item_GObj*); diff --git a/src/melee/it/items/ittaru.c b/src/melee/it/items/ittaru.c index 8b13789179..69454515f3 100644 --- a/src/melee/it/items/ittaru.c +++ b/src/melee/it/items/ittaru.c @@ -1 +1,84 @@ +/// #it_80287458 + +/// #it_802874F0 + +/// #it_80287690 + +/// #it_80287B28 + +void it_80287B68(void) {} + +/// #it_80287B6C + +/// #it_80287D0C + +/// #it_80287D48 + +/// #it_80287D50 + +/// #it_80287D80 + +/// #it_80287E68 + +/// #it_80287E9C + +void it_80287EA4(void) {} + +/// #it_80287EA8 + +/// #it_80287EC8 + +/// #it_80287F20 + +/// #it_80287F5C + +/// #it_80287FE4 + +/// #it_80288030 + +/// #it_80288194 + +/// #it_802881B4 + +/// #it_802881FC + +/// #it_8028824C + +/// #it_80288308 + +/// #it_8028833C + +/// #it_80288454 + +/// #it_802884DC + +/// #it_802885A8 + +/// #it_802885C8 + +/// #it_80288698 + +void it_802886B8(void) {} + +/// #it_802886BC + +/// #it_802886C4 + +/// #it_802887E0 + +void it_8028880C(void) {} + +/// #it_80288810 + +/// #it_80288818 + +/// #it_802888B8 + +/// #it_80288958 + +/// #it_802889F8 + +/// #it_80288A98 + +/// #it_80288C68 diff --git a/src/melee/it/items/ittaru.h b/src/melee/it/items/ittaru.h index c4ad79cd23..dedb156d35 100644 --- a/src/melee/it/items/ittaru.h +++ b/src/melee/it/items/ittaru.h @@ -6,9 +6,41 @@ #include "it/items/types.h" /* 287458 */ void it_80287458(Item_GObj*); +/* 2874F0 */ UNK_RET it_802874F0(UNK_PARAMS); +/* 287690 */ UNK_RET it_80287690(UNK_PARAMS); +/* 287B28 */ UNK_RET it_80287B28(UNK_PARAMS); +/* 287B68 */ UNK_RET it_80287B68(UNK_PARAMS); +/* 287B6C */ UNK_RET it_80287B6C(UNK_PARAMS); +/* 287D0C */ UNK_RET it_80287D0C(UNK_PARAMS); +/* 287D48 */ UNK_RET it_80287D48(UNK_PARAMS); +/* 287D50 */ UNK_RET it_80287D50(UNK_PARAMS); +/* 287D80 */ UNK_RET it_80287D80(UNK_PARAMS); /* 287E68 */ void it_80287E68(Item_GObj*); +/* 287E9C */ UNK_RET it_80287E9C(UNK_PARAMS); +/* 287EA4 */ UNK_RET it_80287EA4(UNK_PARAMS); /* 287EA8 */ void it_80287EA8(Item_GObj*); /* 287EC8 */ void it_80287EC8(Item_GObj*); +/* 287F20 */ UNK_RET it_80287F20(UNK_PARAMS); +/* 287F5C */ UNK_RET it_80287F5C(UNK_PARAMS); +/* 287FE4 */ UNK_RET it_80287FE4(UNK_PARAMS); +/* 288030 */ UNK_RET it_80288030(UNK_PARAMS); +/* 288194 */ UNK_RET it_80288194(UNK_PARAMS); +/* 2881B4 */ UNK_RET it_802881B4(UNK_PARAMS); +/* 2881FC */ UNK_RET it_802881FC(UNK_PARAMS); +/* 28824C */ UNK_RET it_8028824C(UNK_PARAMS); +/* 288308 */ UNK_RET it_80288308(UNK_PARAMS); +/* 28833C */ UNK_RET it_8028833C(UNK_PARAMS); +/* 288454 */ UNK_RET it_80288454(UNK_PARAMS); +/* 2884DC */ UNK_RET it_802884DC(UNK_PARAMS); +/* 2885A8 */ UNK_RET it_802885A8(UNK_PARAMS); +/* 2885C8 */ UNK_RET it_802885C8(UNK_PARAMS); +/* 288698 */ UNK_RET it_80288698(UNK_PARAMS); +/* 2886B8 */ UNK_RET it_802886B8(UNK_PARAMS); +/* 2886BC */ UNK_RET it_802886BC(UNK_PARAMS); +/* 2886C4 */ UNK_RET it_802886C4(UNK_PARAMS); +/* 2887E0 */ UNK_RET it_802887E0(UNK_PARAMS); +/* 28880C */ UNK_RET it_8028880C(UNK_PARAMS); +/* 288810 */ UNK_RET it_80288810(UNK_PARAMS); /* 288818 */ int it_80288818(Item_GObj*); /* 2888B8 */ int it_802888B8(Item_GObj*); /* 288958 */ int it_80288958(Item_GObj*); diff --git a/src/melee/it/items/ittarucann.c b/src/melee/it/items/ittarucann.c index 8b13789179..2595772e17 100644 --- a/src/melee/it/items/ittarucann.c +++ b/src/melee/it/items/ittarucann.c @@ -1 +1,86 @@ +/// #it_80295ED4 + +/// #it_80295F38 + +/// #it_802960B8 + +/// #it_802960CC + +/// #it_802960E0 + +/// #it_80296120 + +/// #it_802961E8 + +/// #it_802962E0 + +/// #it_802964A4 + +void it_802964F8(void) {} + +/// #it_802964FC + +/// #it_80296694 + +/// #it_802966D0 + +/// #it_80296724 + +/// #it_80296754 + +/// #it_8029683C + +/// #it_80296898 + +void it_802968D4(void) {} + +/// #it_802968D8 + +/// #it_80296930 + +/// #it_802969D8 + +/// #it_80296A70 + +/// #it_80296AC4 + +/// #it_80296C48 + +/// #it_80296E88 + +/// #it_80296EA8 + +/// #it_80296EF0 + +/// #it_80296F94 + +/// #it_80296FE8 + +/// #it_80297154 + +/// #it_80297368 + +/// #it_802973BC + +/// #it_802975D4 + +/// #it_802975F4 + +/// #it_80297674 + +void it_80297784(void) {} + +/// #it_80297788 + +/// #it_80297790 + +/// #it_8029789C + +/// #it_802978A4 + +/// #it_802978AC + +/// #it_802978B4 + +/// #it_802978BC diff --git a/src/melee/it/items/ittarucann.h b/src/melee/it/items/ittarucann.h index 9120fb5487..4c2a1382e0 100644 --- a/src/melee/it/items/ittarucann.h +++ b/src/melee/it/items/ittarucann.h @@ -5,11 +5,44 @@ #include "it/items/types.h" +/* 295ED4 */ UNK_RET it_80295ED4(UNK_PARAMS); +/* 295F38 */ UNK_RET it_80295F38(UNK_PARAMS); +/* 2960B8 */ UNK_RET it_802960B8(UNK_PARAMS); +/* 2960CC */ UNK_RET it_802960CC(UNK_PARAMS); /* 2960E0 */ void it_802960E0(Item_GObj*); /* 296120 */ void it_80296120(Item_GObj*); +/* 2961E8 */ UNK_RET it_802961E8(UNK_PARAMS); +/* 2962E0 */ UNK_RET it_802962E0(UNK_PARAMS); +/* 2964A4 */ UNK_RET it_802964A4(UNK_PARAMS); +/* 2964F8 */ UNK_RET it_802964F8(UNK_PARAMS); +/* 2964FC */ UNK_RET it_802964FC(UNK_PARAMS); +/* 296694 */ UNK_RET it_80296694(UNK_PARAMS); +/* 2966D0 */ UNK_RET it_802966D0(UNK_PARAMS); +/* 296724 */ UNK_RET it_80296724(UNK_PARAMS); +/* 296754 */ UNK_RET it_80296754(UNK_PARAMS); /* 29683C */ void it_8029683C(Item_GObj*); +/* 296898 */ UNK_RET it_80296898(UNK_PARAMS); +/* 2968D4 */ UNK_RET it_802968D4(UNK_PARAMS); /* 2968D8 */ void it_802968D8(Item_GObj*); /* 296930 */ void it_80296930(Item_GObj*); +/* 2969D8 */ UNK_RET it_802969D8(UNK_PARAMS); +/* 296A70 */ UNK_RET it_80296A70(UNK_PARAMS); +/* 296AC4 */ UNK_RET it_80296AC4(UNK_PARAMS); +/* 296C48 */ UNK_RET it_80296C48(UNK_PARAMS); +/* 296E88 */ UNK_RET it_80296E88(UNK_PARAMS); +/* 296EA8 */ UNK_RET it_80296EA8(UNK_PARAMS); +/* 296EF0 */ UNK_RET it_80296EF0(UNK_PARAMS); +/* 296F94 */ UNK_RET it_80296F94(UNK_PARAMS); +/* 296FE8 */ UNK_RET it_80296FE8(UNK_PARAMS); +/* 297154 */ UNK_RET it_80297154(UNK_PARAMS); +/* 297368 */ UNK_RET it_80297368(UNK_PARAMS); +/* 2973BC */ UNK_RET it_802973BC(UNK_PARAMS); +/* 2975D4 */ UNK_RET it_802975D4(UNK_PARAMS); +/* 2975F4 */ UNK_RET it_802975F4(UNK_PARAMS); +/* 297674 */ UNK_RET it_80297674(UNK_PARAMS); +/* 297784 */ UNK_RET it_80297784(UNK_PARAMS); +/* 297788 */ UNK_RET it_80297788(UNK_PARAMS); +/* 297790 */ UNK_RET it_80297790(UNK_PARAMS); /* 29789C */ int it_8029789C(Item_GObj*); /* 2978A4 */ int it_802978A4(Item_GObj*); /* 2978AC */ int it_802978AC(Item_GObj*); diff --git a/src/melee/it/items/itthunder.c b/src/melee/it/items/itthunder.c index 8b13789179..466a82d6e2 100644 --- a/src/melee/it/items/itthunder.c +++ b/src/melee/it/items/itthunder.c @@ -1 +1,30 @@ +/// #it_802CCAB4 + +void it_802CCB10(void) {} + +/// #it_802CCB14 + +/// #it_802CCB34 + +/// #it_802CCBAC + +/// #it_802CCBCC + +/// #it_802CCBF8 + +/// #it_802CCC68 + +/// #it_802CCCC4 + +/// #it_802CCD9C + +/// #it_802CCE20 + +/// #it_802CCE28 + +/// #it_802CCE9C + +/// #it_802CCEC0 + +/// #it_802CCF74 diff --git a/src/melee/it/items/itthunder.h b/src/melee/it/items/itthunder.h index ebd3ac04b8..72b5e36ed8 100644 --- a/src/melee/it/items/itthunder.h +++ b/src/melee/it/items/itthunder.h @@ -6,7 +6,20 @@ #include "it/items/types.h" /* 2CCAB4 */ void it_802CCAB4(Item_GObj*); +/* 2CCB10 */ UNK_RET it_802CCB10(UNK_PARAMS); /* 2CCB14 */ void it_802CCB14(Item_GObj*, Item_GObj*); +/* 2CCB34 */ UNK_RET it_802CCB34(UNK_PARAMS); +/* 2CCBAC */ UNK_RET it_802CCBAC(UNK_PARAMS); +/* 2CCBCC */ UNK_RET it_802CCBCC(UNK_PARAMS); +/* 2CCBF8 */ UNK_RET it_802CCBF8(UNK_PARAMS); +/* 2CCC68 */ UNK_RET it_802CCC68(UNK_PARAMS); +/* 2CCCC4 */ UNK_RET it_802CCCC4(UNK_PARAMS); +/* 2CCD9C */ UNK_RET it_802CCD9C(UNK_PARAMS); +/* 2CCE20 */ UNK_RET it_802CCE20(UNK_PARAMS); +/* 2CCE28 */ UNK_RET it_802CCE28(UNK_PARAMS); +/* 2CCE9C */ UNK_RET it_802CCE9C(UNK_PARAMS); +/* 2CCEC0 */ UNK_RET it_802CCEC0(UNK_PARAMS); +/* 2CCF74 */ UNK_RET it_802CCF74(UNK_PARAMS); /* 3F7C40 */ extern ItemStateTable it_803F7C40[]; #endif diff --git a/src/melee/it/items/ittincle.c b/src/melee/it/items/ittincle.c index 8b13789179..fca24ce321 100644 --- a/src/melee/it/items/ittincle.c +++ b/src/melee/it/items/ittincle.c @@ -1 +1,120 @@ +/// #it_802EB5C8 + +/// #it_802EB684 + +/// #it_802EB6A8 + +/// #it_802EB6DC + +/// #it_802EB808 + +/// #it_802EB810 + +/// #it_802EB84C + +/// #it_802EB870 + +/// #it_802EB994 + +/// #it_802EB99C + +/// #it_802EB9D4 + +/// #it_802EBA00 + +/// #it_802EBAF0 + +/// #it_802EBB38 + +/// #it_802EBCD0 + +/// #it_802EBD14 + +/// #it_802EBDC8 + +/// #it_802EBDD0 + +/// #it_802EBE30 + +/// #it_802EBE5C + +/// #it_802EBF00 + +/// #it_802EBF08 + +/// #it_802EBF80 + +/// #it_802EBFAC + +/// #it_802EC0FC + +/// #it_802EC104 + +/// #it_802EC168 + +/// #it_802EC18C + +/// #it_802EC1F4 + +/// #it_802EC25C + +void it_802EC2E4(void) {} + +/// #it_802EC2E8 + +/// #it_802EC35C + +/// #it_802EC390 + +/// #it_802EC398 + +/// #it_802EC3C8 + +/// #it_802EC3F4 + +/// #it_802EC460 + +void it_802EC4A0(void) {} + +/// #it_802EC4A4 + +/// #it_802EC4D0 + +/// #it_802EC55C + +void it_802EC5D4(void) {} + +/// #it_802EC5D8 + +/// #it_802EC604 + +/// #it_802EC62C + +void it_802EC66C(void) {} + +/// #it_802EC670 + +/// #it_802EC69C + +/// #it_802EC7A0 + +/// #it_802EC7A8 + +/// #it_802EC80C + +/// #it_802EC830 + +/// #it_802EC850 + +/// #it_802EC870 + +/// #it_802EC9E8 + +/// #it_802ECA70 + +/// #it_802ECC8C + +/// #it_802ECC98 + +/// #it_802ECCA4 diff --git a/src/melee/it/items/ittincle.h b/src/melee/it/items/ittincle.h index 8b13789179..e06382d00b 100644 --- a/src/melee/it/items/ittincle.h +++ b/src/melee/it/items/ittincle.h @@ -1 +1,67 @@ +#ifndef GALE01_2EB5C8 +#define GALE01_2EB5C8 +#include + +/* 2EB5C8 */ UNK_RET it_802EB5C8(UNK_PARAMS); +/* 2EB684 */ UNK_RET it_802EB684(UNK_PARAMS); +/* 2EB6A8 */ UNK_RET it_802EB6A8(UNK_PARAMS); +/* 2EB6DC */ UNK_RET it_802EB6DC(UNK_PARAMS); +/* 2EB808 */ UNK_RET it_802EB808(UNK_PARAMS); +/* 2EB810 */ UNK_RET it_802EB810(UNK_PARAMS); +/* 2EB84C */ UNK_RET it_802EB84C(UNK_PARAMS); +/* 2EB870 */ UNK_RET it_802EB870(UNK_PARAMS); +/* 2EB994 */ UNK_RET it_802EB994(UNK_PARAMS); +/* 2EB99C */ UNK_RET it_802EB99C(UNK_PARAMS); +/* 2EB9D4 */ UNK_RET it_802EB9D4(UNK_PARAMS); +/* 2EBA00 */ UNK_RET it_802EBA00(UNK_PARAMS); +/* 2EBAF0 */ UNK_RET it_802EBAF0(UNK_PARAMS); +/* 2EBB38 */ UNK_RET it_802EBB38(UNK_PARAMS); +/* 2EBCD0 */ UNK_RET it_802EBCD0(UNK_PARAMS); +/* 2EBD14 */ UNK_RET it_802EBD14(UNK_PARAMS); +/* 2EBDC8 */ UNK_RET it_802EBDC8(UNK_PARAMS); +/* 2EBDD0 */ UNK_RET it_802EBDD0(UNK_PARAMS); +/* 2EBE30 */ UNK_RET it_802EBE30(UNK_PARAMS); +/* 2EBE5C */ UNK_RET it_802EBE5C(UNK_PARAMS); +/* 2EBF00 */ UNK_RET it_802EBF00(UNK_PARAMS); +/* 2EBF08 */ UNK_RET it_802EBF08(UNK_PARAMS); +/* 2EBF80 */ UNK_RET it_802EBF80(UNK_PARAMS); +/* 2EBFAC */ UNK_RET it_802EBFAC(UNK_PARAMS); +/* 2EC0FC */ UNK_RET it_802EC0FC(UNK_PARAMS); +/* 2EC104 */ UNK_RET it_802EC104(UNK_PARAMS); +/* 2EC168 */ UNK_RET it_802EC168(UNK_PARAMS); +/* 2EC18C */ UNK_RET it_802EC18C(UNK_PARAMS); +/* 2EC1F4 */ UNK_RET it_802EC1F4(UNK_PARAMS); +/* 2EC25C */ UNK_RET it_802EC25C(UNK_PARAMS); +/* 2EC2E4 */ UNK_RET it_802EC2E4(UNK_PARAMS); +/* 2EC2E8 */ UNK_RET it_802EC2E8(UNK_PARAMS); +/* 2EC35C */ UNK_RET it_802EC35C(UNK_PARAMS); +/* 2EC390 */ UNK_RET it_802EC390(UNK_PARAMS); +/* 2EC398 */ UNK_RET it_802EC398(UNK_PARAMS); +/* 2EC3C8 */ UNK_RET it_802EC3C8(UNK_PARAMS); +/* 2EC3F4 */ UNK_RET it_802EC3F4(UNK_PARAMS); +/* 2EC460 */ UNK_RET it_802EC460(UNK_PARAMS); +/* 2EC4A0 */ UNK_RET it_802EC4A0(UNK_PARAMS); +/* 2EC4A4 */ UNK_RET it_802EC4A4(UNK_PARAMS); +/* 2EC4D0 */ UNK_RET it_802EC4D0(UNK_PARAMS); +/* 2EC55C */ UNK_RET it_802EC55C(UNK_PARAMS); +/* 2EC5D4 */ UNK_RET it_802EC5D4(UNK_PARAMS); +/* 2EC5D8 */ UNK_RET it_802EC5D8(UNK_PARAMS); +/* 2EC604 */ UNK_RET it_802EC604(UNK_PARAMS); +/* 2EC62C */ UNK_RET it_802EC62C(UNK_PARAMS); +/* 2EC66C */ UNK_RET it_802EC66C(UNK_PARAMS); +/* 2EC670 */ UNK_RET it_802EC670(UNK_PARAMS); +/* 2EC69C */ UNK_RET it_802EC69C(UNK_PARAMS); +/* 2EC7A0 */ UNK_RET it_802EC7A0(UNK_PARAMS); +/* 2EC7A8 */ UNK_RET it_802EC7A8(UNK_PARAMS); +/* 2EC80C */ UNK_RET it_802EC80C(UNK_PARAMS); +/* 2EC830 */ UNK_RET it_802EC830(UNK_PARAMS); +/* 2EC850 */ UNK_RET it_802EC850(UNK_PARAMS); +/* 2EC870 */ UNK_RET it_802EC870(UNK_PARAMS); +/* 2EC9E8 */ UNK_RET it_802EC9E8(UNK_PARAMS); +/* 2ECA70 */ UNK_RET it_802ECA70(UNK_PARAMS); +/* 2ECC8C */ UNK_RET it_802ECC8C(UNK_PARAMS); +/* 2ECC98 */ UNK_RET it_802ECC98(UNK_PARAMS); +/* 2ECCA4 */ UNK_RET it_802ECCA4(UNK_PARAMS); + +#endif diff --git a/src/melee/it/items/ittools.c b/src/melee/it/items/ittools.c index 8b13789179..7f5ff61446 100644 --- a/src/melee/it/items/ittools.c +++ b/src/melee/it/items/ittools.c @@ -1 +1,36 @@ +/// #it_802EEFA8 + +/// #it_802EF074 + +/// #it_802EF098 + +/// #it_802EF128 + +/// #it_802EF27C + +/// #it_802EF2BC + +/// #it_802EF320 + +/// #it_802EF3C4 + +void it_802EF468(void) {} + +/// #it_802EF46C + +/// #it_802EF548 + +/// #it_802EF700 + +/// #it_802EF724 + +/// #it_802EF7CC + +/// #it_802EF874 + +/// #it_802EF924 + +/// #it_802EF944 + +/// #it_802EFA24 diff --git a/src/melee/it/items/ittools.h b/src/melee/it/items/ittools.h index 8b13789179..68485afa59 100644 --- a/src/melee/it/items/ittools.h +++ b/src/melee/it/items/ittools.h @@ -1 +1,25 @@ +#ifndef GALE01_2EEFA8 +#define GALE01_2EEFA8 +#include + +/* 2EEFA8 */ UNK_RET it_802EEFA8(UNK_PARAMS); +/* 2EF074 */ UNK_RET it_802EF074(UNK_PARAMS); +/* 2EF098 */ UNK_RET it_802EF098(UNK_PARAMS); +/* 2EF128 */ UNK_RET it_802EF128(UNK_PARAMS); +/* 2EF27C */ UNK_RET it_802EF27C(UNK_PARAMS); +/* 2EF2BC */ UNK_RET it_802EF2BC(UNK_PARAMS); +/* 2EF320 */ UNK_RET it_802EF320(UNK_PARAMS); +/* 2EF3C4 */ UNK_RET it_802EF3C4(UNK_PARAMS); +/* 2EF468 */ UNK_RET it_802EF468(UNK_PARAMS); +/* 2EF46C */ UNK_RET it_802EF46C(UNK_PARAMS); +/* 2EF548 */ UNK_RET it_802EF548(UNK_PARAMS); +/* 2EF700 */ UNK_RET it_802EF700(UNK_PARAMS); +/* 2EF724 */ UNK_RET it_802EF724(UNK_PARAMS); +/* 2EF7CC */ UNK_RET it_802EF7CC(UNK_PARAMS); +/* 2EF874 */ UNK_RET it_802EF874(UNK_PARAMS); +/* 2EF924 */ UNK_RET it_802EF924(UNK_PARAMS); +/* 2EF944 */ UNK_RET it_802EF944(UNK_PARAMS); +/* 2EFA24 */ UNK_RET it_802EFA24(UNK_PARAMS); + +#endif diff --git a/src/melee/it/items/itunknown.c b/src/melee/it/items/itunknown.c index 8b13789179..b0f3ebdb1b 100644 --- a/src/melee/it/items/itunknown.c +++ b/src/melee/it/items/itunknown.c @@ -1 +1,42 @@ +/// #it_802CE710 + +void it_802CE7CC(void) {} + +/// #it_802CE7D0 + +/// #it_802CE7F0 + +/// #it_802CE870 + +/// #it_802CE8C8 + +/// #it_802CE8D0 + +/// #it_802CEB9C + +void it_802CEC18(void) {} + +/// #it_802CEC1C + +/// #it_802CEC24 + +/// #it_802CEC88 + +/// #it_802CECAC + +/// #it_802CED2C + +/// #it_802CED54 + +/// #it_802CEEC8 + +/// #it_802CF0B4 + +/// #it_802CF0D4 + +/// #it_802CF120 + +/// #it_802CF154 + +/// #it_802CF3D8 diff --git a/src/melee/it/items/itunknown.h b/src/melee/it/items/itunknown.h index 49f0d497ab..dfe9067820 100644 --- a/src/melee/it/items/itunknown.h +++ b/src/melee/it/items/itunknown.h @@ -8,9 +8,26 @@ #include "it/items/types.h" /* 2CE710 */ void it_802CE710(Item_GObj*); +/* 2CE7CC */ UNK_RET it_802CE7CC(UNK_PARAMS); /* 2CE7D0 */ void it_802CE7D0(Item_GObj*, Item_GObj*); +/* 2CE7F0 */ UNK_RET it_802CE7F0(UNK_PARAMS); +/* 2CE870 */ UNK_RET it_802CE870(UNK_PARAMS); +/* 2CE8C8 */ UNK_RET it_802CE8C8(UNK_PARAMS); +/* 2CE8D0 */ UNK_RET it_802CE8D0(UNK_PARAMS); +/* 2CEB9C */ UNK_RET it_802CEB9C(UNK_PARAMS); +/* 2CEC18 */ UNK_RET it_802CEC18(UNK_PARAMS); +/* 2CEC1C */ UNK_RET it_802CEC1C(UNK_PARAMS); +/* 2CEC24 */ UNK_RET it_802CEC24(UNK_PARAMS); +/* 2CEC88 */ UNK_RET it_802CEC88(UNK_PARAMS); +/* 2CECAC */ UNK_RET it_802CECAC(UNK_PARAMS); +/* 2CED2C */ UNK_RET it_802CED2C(UNK_PARAMS); +/* 2CED54 */ UNK_RET it_802CED54(UNK_PARAMS); /* 2CEEC8 */ void it_802CEEC8(Item_GObj*); /* 2CF0B4 */ void it_802CF0B4(Item_GObj*, Item_GObj*); +/* 2CF0D4 */ UNK_RET it_802CF0D4(UNK_PARAMS); +/* 2CF120 */ UNK_RET it_802CF120(UNK_PARAMS); +/* 2CF154 */ UNK_RET it_802CF154(UNK_PARAMS); +/* 2CF3D8 */ UNK_RET it_802CF3D8(UNK_PARAMS); /* 3F7D60 */ extern ItemStateTable it_803F7D60[]; /* 3F7D90 */ extern ItemStateTable it_803F7D90[]; diff --git a/src/melee/it/items/itwhispyapple.c b/src/melee/it/items/itwhispyapple.c index 8b13789179..0ac42c80d8 100644 --- a/src/melee/it/items/itwhispyapple.c +++ b/src/melee/it/items/itwhispyapple.c @@ -1 +1,64 @@ +/// #it_802EE200 + +/// #it_802EE374 + +/// #it_802EE434 + +/// #it_802EE544 + +/// #it_802EE5A0 + +/// #it_802EE6A0 + +/// #it_802EE6DC + +void it_802EE7CC(void) {} + +/// #it_802EE7D0 + +/// #fn_802EE7FC + +/// #it_802EE824 + +/// #it_802EE914 + +/// #it_802EE944 + +/// #it_802EEA08 + +/// #it_802EEA64 + +void it_802EEA6C(void) {} + +/// #it_802EEA70 + +/// #it_802EEB28 + +/// #it_802EEBB0 + +/// #it_802EEBD8 + +void it_802EECC8(void) {} + +/// #it_802EECCC + +/// #it_802EED00 + +/// #it_802EEDD4 + +void it_802EEEC4(void) {} + +/// #it_802EEEC8 + +/// #it_802EEED0 + +/// #it_802EEED8 + +/// #it_802EEF10 + +/// #it_802EEF30 + +/// #it_802EEF68 + +/// #it_802EEF88 diff --git a/src/melee/it/items/itwhispyapple.h b/src/melee/it/items/itwhispyapple.h index 8b13789179..04285c036e 100644 --- a/src/melee/it/items/itwhispyapple.h +++ b/src/melee/it/items/itwhispyapple.h @@ -1 +1,39 @@ +#ifndef GALE01_2EE200 +#define GALE01_2EE200 +#include + +/* 2EE200 */ UNK_RET it_802EE200(UNK_PARAMS); +/* 2EE374 */ UNK_RET it_802EE374(UNK_PARAMS); +/* 2EE434 */ UNK_RET it_802EE434(UNK_PARAMS); +/* 2EE544 */ UNK_RET it_802EE544(UNK_PARAMS); +/* 2EE5A0 */ UNK_RET it_802EE5A0(UNK_PARAMS); +/* 2EE6A0 */ UNK_RET it_802EE6A0(UNK_PARAMS); +/* 2EE6DC */ UNK_RET it_802EE6DC(UNK_PARAMS); +/* 2EE7CC */ UNK_RET it_802EE7CC(UNK_PARAMS); +/* 2EE7D0 */ UNK_RET it_802EE7D0(UNK_PARAMS); +/* 2EE7FC */ UNK_RET fn_802EE7FC(UNK_PARAMS); +/* 2EE824 */ UNK_RET it_802EE824(UNK_PARAMS); +/* 2EE914 */ UNK_RET it_802EE914(UNK_PARAMS); +/* 2EE944 */ UNK_RET it_802EE944(UNK_PARAMS); +/* 2EEA08 */ UNK_RET it_802EEA08(UNK_PARAMS); +/* 2EEA64 */ UNK_RET it_802EEA64(UNK_PARAMS); +/* 2EEA6C */ UNK_RET it_802EEA6C(UNK_PARAMS); +/* 2EEA70 */ UNK_RET it_802EEA70(UNK_PARAMS); +/* 2EEB28 */ UNK_RET it_802EEB28(UNK_PARAMS); +/* 2EEBB0 */ UNK_RET it_802EEBB0(UNK_PARAMS); +/* 2EEBD8 */ UNK_RET it_802EEBD8(UNK_PARAMS); +/* 2EECC8 */ UNK_RET it_802EECC8(UNK_PARAMS); +/* 2EECCC */ UNK_RET it_802EECCC(UNK_PARAMS); +/* 2EED00 */ UNK_RET it_802EED00(UNK_PARAMS); +/* 2EEDD4 */ UNK_RET it_802EEDD4(UNK_PARAMS); +/* 2EEEC4 */ UNK_RET it_802EEEC4(UNK_PARAMS); +/* 2EEEC8 */ UNK_RET it_802EEEC8(UNK_PARAMS); +/* 2EEED0 */ UNK_RET it_802EEED0(UNK_PARAMS); +/* 2EEED8 */ UNK_RET it_802EEED8(UNK_PARAMS); +/* 2EEF10 */ UNK_RET it_802EEF10(UNK_PARAMS); +/* 2EEF30 */ UNK_RET it_802EEF30(UNK_PARAMS); +/* 2EEF68 */ UNK_RET it_802EEF68(UNK_PARAMS); +/* 2EEF88 */ UNK_RET it_802EEF88(UNK_PARAMS); + +#endif diff --git a/src/melee/it/items/itwhitebea.c b/src/melee/it/items/itwhitebea.c index 8b13789179..d92d283c82 100644 --- a/src/melee/it/items/itwhitebea.c +++ b/src/melee/it/items/itwhitebea.c @@ -1 +1,144 @@ +/// #it_802E31F8 + +/// #it_802E324C + +void it_802E32B0(void) {} + +/// #it_802E32B4 + +/// #it_802E3314 + +/// #it_802E3364 + +/// #it_802E33AC + +/// #it_802E33DC + +/// #it_802E3400 + +/// #it_802E3470 + +void it_802E34B8(void) {} + +/// #it_802E34BC + +/// #it_802E34DC + +/// #it_802E3528 + +/// #it_802E3588 + +/// #it_802E3590 + +/// #it_802E35AC + +/// #it_802E35CC + +/// #it_802E3784 + +/// #it_802E37A4 + +/// #it_802E37BC + +/// #it_802E3884 + +/// #fn_802E398C + +/// #it_802E39C8 + +/// #it_802E3A10 + +/// #it_802E3A8C + +/// #it_802E3AC8 + +/// #it_802E3BB8 + +/// #it_802E3C70 + +/// #it_802E3D38 + +/// #it_802E3DA0 + +/// #it_802E3E5C + +/// #it_802E3E64 + +/// #it_802E3E94 + +/// #it_802E3ED0 + +/// #it_802E3FAC + +/// #it_802E4018 + +/// #it_802E4040 + +/// #it_802E40A4 + +/// #it_802E4190 + +/// #it_802E41D4 + +void it_802E432C(void) {} + +/// #it_802E4330 + +/// #it_802E436C + +/// #it_802E43C0 + +void it_802E4424(void) {} + +/// #it_802E4428 + +/// #it_802E4464 + +/// #it_802E44E4 + +/// #it_802E44EC + +/// #it_802E451C + +/// #it_802E4558 + +/// #it_802E45D0 + +void it_802E464C(void) {} + +/// #it_802E4650 + +/// #it_802E468C + +/// #it_802E46B4 + +void it_802E46FC(void) {} + +/// #it_802E4700 + +/// #it_802E47C0 + +/// #it_802E4818 + +/// #it_802E4860 + +/// #it_802E4890 + +/// #it_802E48B4 + +/// #it_802E4914 + +void it_802E495C(void) {} + +/// #it_802E4960 + +/// #it_802E4980 + +/// #it_802E49E0 + +/// #it_802E49E8 + +/// #it_802E4A04 + +/// #it_802E4A24 diff --git a/src/melee/it/items/itwhitebea.h b/src/melee/it/items/itwhitebea.h index 8b13789179..6ba4daad5e 100644 --- a/src/melee/it/items/itwhitebea.h +++ b/src/melee/it/items/itwhitebea.h @@ -1 +1,79 @@ +#ifndef GALE01_2E31F8 +#define GALE01_2E31F8 +#include + +/* 2E31F8 */ UNK_RET it_802E31F8(UNK_PARAMS); +/* 2E324C */ UNK_RET it_802E324C(UNK_PARAMS); +/* 2E32B0 */ UNK_RET it_802E32B0(UNK_PARAMS); +/* 2E32B4 */ UNK_RET it_802E32B4(UNK_PARAMS); +/* 2E3314 */ UNK_RET it_802E3314(UNK_PARAMS); +/* 2E3364 */ UNK_RET it_802E3364(UNK_PARAMS); +/* 2E33AC */ UNK_RET it_802E33AC(UNK_PARAMS); +/* 2E33DC */ UNK_RET it_802E33DC(UNK_PARAMS); +/* 2E3400 */ UNK_RET it_802E3400(UNK_PARAMS); +/* 2E3470 */ UNK_RET it_802E3470(UNK_PARAMS); +/* 2E34B8 */ UNK_RET it_802E34B8(UNK_PARAMS); +/* 2E34BC */ UNK_RET it_802E34BC(UNK_PARAMS); +/* 2E34DC */ UNK_RET it_802E34DC(UNK_PARAMS); +/* 2E3528 */ UNK_RET it_802E3528(UNK_PARAMS); +/* 2E3588 */ UNK_RET it_802E3588(UNK_PARAMS); +/* 2E3590 */ UNK_RET it_802E3590(UNK_PARAMS); +/* 2E35AC */ UNK_RET it_802E35AC(UNK_PARAMS); +/* 2E35CC */ UNK_RET it_802E35CC(UNK_PARAMS); +/* 2E3784 */ UNK_RET it_802E3784(UNK_PARAMS); +/* 2E37A4 */ UNK_RET it_802E37A4(UNK_PARAMS); +/* 2E37BC */ UNK_RET it_802E37BC(UNK_PARAMS); +/* 2E3884 */ UNK_RET it_802E3884(UNK_PARAMS); +/* 2E398C */ UNK_RET fn_802E398C(UNK_PARAMS); +/* 2E39C8 */ UNK_RET it_802E39C8(UNK_PARAMS); +/* 2E3A10 */ UNK_RET it_802E3A10(UNK_PARAMS); +/* 2E3A8C */ UNK_RET it_802E3A8C(UNK_PARAMS); +/* 2E3AC8 */ UNK_RET it_802E3AC8(UNK_PARAMS); +/* 2E3BB8 */ UNK_RET it_802E3BB8(UNK_PARAMS); +/* 2E3C70 */ UNK_RET it_802E3C70(UNK_PARAMS); +/* 2E3D38 */ UNK_RET it_802E3D38(UNK_PARAMS); +/* 2E3DA0 */ UNK_RET it_802E3DA0(UNK_PARAMS); +/* 2E3E5C */ UNK_RET it_802E3E5C(UNK_PARAMS); +/* 2E3E64 */ UNK_RET it_802E3E64(UNK_PARAMS); +/* 2E3E94 */ UNK_RET it_802E3E94(UNK_PARAMS); +/* 2E3ED0 */ UNK_RET it_802E3ED0(UNK_PARAMS); +/* 2E3FAC */ UNK_RET it_802E3FAC(UNK_PARAMS); +/* 2E4018 */ UNK_RET it_802E4018(UNK_PARAMS); +/* 2E4040 */ UNK_RET it_802E4040(UNK_PARAMS); +/* 2E40A4 */ UNK_RET it_802E40A4(UNK_PARAMS); +/* 2E4190 */ UNK_RET it_802E4190(UNK_PARAMS); +/* 2E41D4 */ UNK_RET it_802E41D4(UNK_PARAMS); +/* 2E432C */ UNK_RET it_802E432C(UNK_PARAMS); +/* 2E4330 */ UNK_RET it_802E4330(UNK_PARAMS); +/* 2E436C */ UNK_RET it_802E436C(UNK_PARAMS); +/* 2E43C0 */ UNK_RET it_802E43C0(UNK_PARAMS); +/* 2E4424 */ UNK_RET it_802E4424(UNK_PARAMS); +/* 2E4428 */ UNK_RET it_802E4428(UNK_PARAMS); +/* 2E4464 */ UNK_RET it_802E4464(UNK_PARAMS); +/* 2E44E4 */ UNK_RET it_802E44E4(UNK_PARAMS); +/* 2E44EC */ UNK_RET it_802E44EC(UNK_PARAMS); +/* 2E451C */ UNK_RET it_802E451C(UNK_PARAMS); +/* 2E4558 */ UNK_RET it_802E4558(UNK_PARAMS); +/* 2E45D0 */ UNK_RET it_802E45D0(UNK_PARAMS); +/* 2E464C */ UNK_RET it_802E464C(UNK_PARAMS); +/* 2E4650 */ UNK_RET it_802E4650(UNK_PARAMS); +/* 2E468C */ UNK_RET it_802E468C(UNK_PARAMS); +/* 2E46B4 */ UNK_RET it_802E46B4(UNK_PARAMS); +/* 2E46FC */ UNK_RET it_802E46FC(UNK_PARAMS); +/* 2E4700 */ UNK_RET it_802E4700(UNK_PARAMS); +/* 2E47C0 */ UNK_RET it_802E47C0(UNK_PARAMS); +/* 2E4818 */ UNK_RET it_802E4818(UNK_PARAMS); +/* 2E4860 */ UNK_RET it_802E4860(UNK_PARAMS); +/* 2E4890 */ UNK_RET it_802E4890(UNK_PARAMS); +/* 2E48B4 */ UNK_RET it_802E48B4(UNK_PARAMS); +/* 2E4914 */ UNK_RET it_802E4914(UNK_PARAMS); +/* 2E495C */ UNK_RET it_802E495C(UNK_PARAMS); +/* 2E4960 */ UNK_RET it_802E4960(UNK_PARAMS); +/* 2E4980 */ UNK_RET it_802E4980(UNK_PARAMS); +/* 2E49E0 */ UNK_RET it_802E49E0(UNK_PARAMS); +/* 2E49E8 */ UNK_RET it_802E49E8(UNK_PARAMS); +/* 2E4A04 */ UNK_RET it_802E4A04(UNK_PARAMS); +/* 2E4A24 */ UNK_RET it_802E4A24(UNK_PARAMS); + +#endif diff --git a/src/melee/it/items/itwstar.c b/src/melee/it/items/itwstar.c index 8b13789179..1160433e92 100644 --- a/src/melee/it/items/itwstar.c +++ b/src/melee/it/items/itwstar.c @@ -1 +1,50 @@ +/// #it_80294364 + +/// #it_80294430 + +/// #it_802944AC + +/// #it_8029451C + +/// #it_8029455C + +/// #it_802945AC + +/// #it_802945B4 + +/// #it_802945F8 + +/// #it_80294624 + +/// #it_8029464C + +/// #it_80294654 + +/// #it_80294684 + +/// #it_802946B0 + +/// #it_80294728 + +/// #it_80294788 + +/// #it_80294790 + +/// #it_802947CC + +/// #it_802949C0 + +void it_80294A1C(void) {} + +/// #it_80294A20 + +/// #it_80294A28 + +/// #it_80294A50 + +void it_80294A58(void) {} + +/// #it_80294A5C + +/// #it_80294A90 diff --git a/src/melee/it/items/itwstar.h b/src/melee/it/items/itwstar.h index 1d0b216d06..624a67835d 100644 --- a/src/melee/it/items/itwstar.h +++ b/src/melee/it/items/itwstar.h @@ -12,11 +12,26 @@ /* 294430 */ void it_80294430(Item_GObj*, float, float); /* 2944AC */ void it_802944AC(Item_GObj*, ftCollisionBox*); /* 29451C */ void it_8029451C(Item_GObj*); +/* 29455C */ UNK_RET it_8029455C(UNK_PARAMS); +/* 2945AC */ UNK_RET it_802945AC(UNK_PARAMS); +/* 2945B4 */ UNK_RET it_802945B4(UNK_PARAMS); +/* 2945F8 */ UNK_RET it_802945F8(UNK_PARAMS); +/* 294624 */ UNK_RET it_80294624(UNK_PARAMS); +/* 29464C */ UNK_RET it_8029464C(UNK_PARAMS); +/* 294654 */ UNK_RET it_80294654(UNK_PARAMS); +/* 294684 */ UNK_RET it_80294684(UNK_PARAMS); /* 2946B0 */ void it_802946B0(Item_GObj*); /* 294728 */ void it_80294728(Item_GObj*); +/* 294788 */ UNK_RET it_80294788(UNK_PARAMS); /* 294790 */ void it_80294790(Item_GObj*); /* 2947CC */ void it_802947CC(Item_GObj* gobj, Vec3* pos); +/* 2949C0 */ UNK_RET it_802949C0(UNK_PARAMS); +/* 294A1C */ UNK_RET it_80294A1C(UNK_PARAMS); +/* 294A20 */ UNK_RET it_80294A20(UNK_PARAMS); /* 294A28 */ void it_80294A28(Item_GObj*); +/* 294A50 */ UNK_RET it_80294A50(UNK_PARAMS); +/* 294A58 */ UNK_RET it_80294A58(UNK_PARAMS); +/* 294A5C */ UNK_RET it_80294A5C(UNK_PARAMS); /* 294A90 */ void it_80294A90(Item_GObj*, Item_GObj*); /* 3F61B0 */ extern ItemStateTable it_803F61B0[]; diff --git a/src/melee/lb/lbbgflash.c b/src/melee/lb/lbbgflash.c index 8b13789179..a30fb855bd 100644 --- a/src/melee/lb/lbbgflash.c +++ b/src/melee/lb/lbbgflash.c @@ -1 +1,49 @@ +#include +/* 021C18 */ static UNK_RET fn_80021C18(UNK_PARAMS); + +/// #fn_8001FC08 + +/// #fn_8001FEC4 + +/// #fn_800204C8 + +/// #lbBgFlash_800205F0 + +/// #lbBgFlash_8002063C + +/// #lbBgFlash_80020688 + +/// #lbBgFlash_800206D4 + +/// #fn_8002087C + +/// #fn_800208B0 + +/// #lbBgFlash_800208EC + +/// #lbBgFlash_800209F4 + +/// #fn_80020AEC + +/// #lbBgFlash_80020E38 + +/// #fn_8002113C + +/// #lbBgFlash_80021410 + +/// #fn_800219E4 + +/// #lbBgFlash_80021A10 + +/// #lbBgFlash_80021A18 + +/// #fn_80021B04 + +void fn_80021C18(void) {} + +/// #fn_80021C1C + +/// #lbBgFlash_80021C48 + +/// #fn_80021C80 diff --git a/src/melee/lb/lbbgflash.h b/src/melee/lb/lbbgflash.h index 8714c3e339..15ec6716c5 100644 --- a/src/melee/lb/lbbgflash.h +++ b/src/melee/lb/lbbgflash.h @@ -1,8 +1,31 @@ -#ifndef MELEE_LB_LBBGFLASH_H -#define MELEE_LB_LBBGFLASH_H +#ifndef GALE01_01FC08 +#define GALE01_01FC08 #include -void lbBgFlash_80021C48(u32, u32); +#include + +/* 01FC08 */ UNK_RET fn_8001FC08(UNK_PARAMS); +/* 01FEC4 */ UNK_RET fn_8001FEC4(UNK_PARAMS); +/* 0204C8 */ UNK_RET fn_800204C8(UNK_PARAMS); +/* 0205F0 */ UNK_RET lbBgFlash_800205F0(UNK_PARAMS); +/* 02063C */ UNK_RET lbBgFlash_8002063C(UNK_PARAMS); +/* 020688 */ UNK_RET lbBgFlash_80020688(UNK_PARAMS); +/* 0206D4 */ UNK_RET lbBgFlash_800206D4(UNK_PARAMS); +/* 02087C */ UNK_RET fn_8002087C(UNK_PARAMS); +/* 0208B0 */ UNK_RET fn_800208B0(UNK_PARAMS); +/* 0208EC */ UNK_RET lbBgFlash_800208EC(UNK_PARAMS); +/* 0209F4 */ UNK_RET lbBgFlash_800209F4(UNK_PARAMS); +/* 020AEC */ UNK_RET fn_80020AEC(UNK_PARAMS); +/* 020E38 */ UNK_RET lbBgFlash_80020E38(UNK_PARAMS); +/* 02113C */ UNK_RET fn_8002113C(UNK_PARAMS); +/* 021410 */ UNK_RET lbBgFlash_80021410(UNK_PARAMS); +/* 0219E4 */ UNK_RET fn_800219E4(UNK_PARAMS); +/* 021A10 */ UNK_RET lbBgFlash_80021A10(UNK_PARAMS); +/* 021A18 */ UNK_RET lbBgFlash_80021A18(UNK_PARAMS); +/* 021B04 */ UNK_RET fn_80021B04(UNK_PARAMS); +/* 021C1C */ UNK_RET fn_80021C1C(UNK_PARAMS); +/* 021C48 */ void lbBgFlash_80021C48(u32, u32); +/* 021C80 */ UNK_RET fn_80021C80(UNK_PARAMS); #endif diff --git a/src/melee/mn/mnname.c b/src/melee/mn/mnname.c index 8b13789179..c702fb5a2c 100644 --- a/src/melee/mn/mnname.c +++ b/src/melee/mn/mnname.c @@ -1 +1,73 @@ +/// #mnName_8023749C +/// #mnName_8023754C + +/// #mnName_80237594 + +/// #mnName_802375EC + +/// #mnName_80237654 + +void fn_802377A4(void) {} + +/// #mnName_802377A8 + +/// #mnName_80237834 + +/// #mnName_802379BC + +/// #mnName_80237A04 + +/// #mnName_80237A68 + +/// #mnName_80237D94 + +/// #mnName_80237F78 + +/// #mnName_8023817C + +/// #fn_80238540 + +/// #mnName_802385A0 + +/// #mnName_802385D4 + +/// #mnName_80238698 + +/// #mnName_80238754 + +/// #mnName_802388D4 + +/// #mnName_80238964 + +/// #mnName_80238A04 + +/// #mnName_80238AE0 + +/// #mnName_80238C34 + +/// #fn_80239574 + +/// #mnName_80239878 + +/// #mnName_80239A24 + +/// #mnName_80239EBC + +/// #mnName_80239F5C + +/// #mnName_80239FFC + +/// #mnName_8023A058 + +/// #fn_8023A0BC + +/// #mnName_8023A290 + +/// #mnName_8023A59C + +/// #mnName_8023A9B4 + +/// #mnName_8023AC40 + +/// #mnName_8023B084 diff --git a/src/melee/mn/mnname.h b/src/melee/mn/mnname.h index 8b13789179..443231d1f1 100644 --- a/src/melee/mn/mnname.h +++ b/src/melee/mn/mnname.h @@ -1 +1,44 @@ +#ifndef GALE01_23749C +#define GALE01_23749C +#include + +/* 23749C */ UNK_RET mnName_8023749C(UNK_PARAMS); +/* 23754C */ UNK_RET mnName_8023754C(UNK_PARAMS); +/* 237594 */ UNK_RET mnName_80237594(UNK_PARAMS); +/* 2375EC */ UNK_RET mnName_802375EC(UNK_PARAMS); +/* 237654 */ UNK_RET mnName_80237654(UNK_PARAMS); +/* 2377A4 */ UNK_RET fn_802377A4(UNK_PARAMS); +/* 2377A8 */ UNK_RET mnName_802377A8(UNK_PARAMS); +/* 237834 */ UNK_RET mnName_80237834(UNK_PARAMS); +/* 2379BC */ UNK_RET mnName_802379BC(UNK_PARAMS); +/* 237A04 */ UNK_RET mnName_80237A04(UNK_PARAMS); +/* 237A68 */ UNK_RET mnName_80237A68(UNK_PARAMS); +/* 237D94 */ UNK_RET mnName_80237D94(UNK_PARAMS); +/* 237F78 */ UNK_RET mnName_80237F78(UNK_PARAMS); +/* 23817C */ UNK_RET mnName_8023817C(UNK_PARAMS); +/* 238540 */ UNK_RET fn_80238540(UNK_PARAMS); +/* 2385A0 */ UNK_RET mnName_802385A0(UNK_PARAMS); +/* 2385D4 */ UNK_RET mnName_802385D4(UNK_PARAMS); +/* 238698 */ UNK_RET mnName_80238698(UNK_PARAMS); +/* 238754 */ UNK_RET mnName_80238754(UNK_PARAMS); +/* 2388D4 */ UNK_RET mnName_802388D4(UNK_PARAMS); +/* 238964 */ UNK_RET mnName_80238964(UNK_PARAMS); +/* 238A04 */ UNK_RET mnName_80238A04(UNK_PARAMS); +/* 238AE0 */ UNK_RET mnName_80238AE0(UNK_PARAMS); +/* 238C34 */ UNK_RET mnName_80238C34(UNK_PARAMS); +/* 239574 */ UNK_RET fn_80239574(UNK_PARAMS); +/* 239878 */ UNK_RET mnName_80239878(UNK_PARAMS); +/* 239A24 */ UNK_RET mnName_80239A24(UNK_PARAMS); +/* 239EBC */ UNK_RET mnName_80239EBC(UNK_PARAMS); +/* 239F5C */ UNK_RET mnName_80239F5C(UNK_PARAMS); +/* 239FFC */ UNK_RET mnName_80239FFC(UNK_PARAMS); +/* 23A058 */ UNK_RET mnName_8023A058(UNK_PARAMS); +/* 23A0BC */ UNK_RET fn_8023A0BC(UNK_PARAMS); +/* 23A290 */ UNK_RET mnName_8023A290(UNK_PARAMS); +/* 23A59C */ UNK_RET mnName_8023A59C(UNK_PARAMS); +/* 23A9B4 */ UNK_RET mnName_8023A9B4(UNK_PARAMS); +/* 23AC40 */ UNK_RET mnName_8023AC40(UNK_PARAMS); +/* 23B084 */ UNK_RET mnName_8023B084(UNK_PARAMS); + +#endif diff --git a/src/melee/un/un_2FC9.c b/src/melee/un/un_2FC9.c index 8b13789179..d9875c45ba 100644 --- a/src/melee/un/un_2FC9.c +++ b/src/melee/un/un_2FC9.c @@ -1 +1,457 @@ +/// #un_802FC9B4 +/// #fn_802FCAA4 + +/// #fn_802FCAC4 + +/// #un_802FCBA0 + +/// #fn_802FCC44 + +/// #un_802FCF38 + +/// #un_802FD28C + +/// #un_802FD404 + +/// #un_802FD428 + +/// #un_802FD450 + +/// #un_802FD45C + +/// #un_802FD468 + +/// #un_802FD4C8 + +/// #un_802FD604 + +/// #un_802FD65C + +/// #un_802FD668 + +/// #un_802FD674 + +/// #fn_802FD680 + +/// #fn_802FD6CC + +void un_802FD704(void) {} + +/// #un_802FD708 + +/// #un_802FD8A0 + +/// #un_802FD8C4 + +/// #un_802FD8E8 + +void un_802FD90C(void) {} + +/// #un_802FD910 + +/// #un_802FD91C + +/// #un_802FD928 + +/// #un_802FD9D8 + +/// #fn_802FDA4C + +/// #fn_802FDA78 + +/// #un_802FE260 + +/// #un_802FE390 + +/// #un_802FE3F8 + +/// #fn_802FE470 + +/// #un_802FE6A8 + +/// #un_802FE8CC + +/// #un_802FE918 + +/// #un_802FEBE0 + +void un_802FED10(void) {} + +/// #fn_802FED14 + +/// #un_802FEFAC + +/// #un_802FF128 + +/// #un_802FF190 + +/// #un_802FF1B4 + +/// #fn_802FF218 + +void fn_802FF360(void) {} + +/// #un_802FF364 + +/// #un_802FF498 + +/// #un_802FF4FC + +/// #un_802FF570 + +/// #un_802FF620 + +/// #un_802FF6A0 + +/// #un_802FF710 + +/// #un_802FF78C + +/// #un_802FF7DC + +/// #un_802FF884 + +/// #un_802FF88C + +/// #un_802FF934 + +/// #un_802FF958 + +/// #un_802FF99C + +/// #un_802FF9DC + +/// #un_802FFB58 + +/// #un_802FFBAC + +/// #un_802FFC30 + +/// #un_802FFC6C + +/// #fn_802FFCC8 + +/// #un_802FFCD0 + +/// #un_802FFD94 + +/// #fn_802FFE0C + +/// #fn_802FFE6C + +/// #un_802FFEA4 + +/// #un_802FFEE0 + +/// #un_802FFF2C + +/// #un_803001DC + +/// #un_80300218 + +/// #un_80300248 + +/// #un_80300290 + +/// #un_803002FC + +/// #un_80300338 + +/// #un_80300378 + +/// #un_803003C4 + +/// #un_80300410 + +/// #un_80300480 + +/// #un_803004B4 + +/// #un_803004E8 + +/// #un_8030051C + +/// #un_80300550 + +/// #un_80300584 + +/// #un_803005B8 + +/// #un_803005EC + +/// #un_80300620 + +/// #un_80300654 + +/// #un_80300688 + +/// #un_803006BC + +/// #un_803006F0 + +/// #un_80300724 + +/// #un_80300758 + +/// #un_80300790 + +/// #un_803007C8 + +/// #un_803007FC + +/// #un_80300830 + +/// #un_80300864 + +/// #un_80300898 + +/// #un_803008CC + +/// #un_80300900 + +/// #un_80300934 + +/// #un_80300968 + +/// #un_803009A4 + +/// #un_803009E0 + +/// #un_80300A88 + +/// #un_80300AB8 + +/// #un_80300AF4 + +/// #un_80300B58 + +/// #un_80300BBC + +/// #un_80300BF8 + +/// #un_80300C3C + +/// #un_80300C80 + +/// #fn_80300CC8 + +/// #un_80300D78 + +/// #fn_80300DE0 + +/// #un_80300E74 + +/// #fn_80300ED0 + +/// #un_80300F3C + +/// #un_80300F98 + +/// #un_80300FEC + +/// #un_80301028 + +/// #un_80301074 + +/// #un_803010C0 + +/// #fn_8030110C + +/// #fn_803011EC + +/// #un_80301280 + +/// #un_803012D4 + +/// #un_80301328 + +/// #un_8030136C + +/// #un_803013B0 + +/// #un_803013EC + +/// #un_80301420 + +/// #un_80301454 + +/// #un_80301490 + +/// #un_803014CC + +/// #un_80301508 + +/// #un_80301544 + +/// #un_80301580 + +/// #un_803015BC + +/// #un_803015F8 + +/// #un_80301634 + +/// #un_803016D8 + +/// #un_80301734 + +/// #un_8030178C + +/// #un_80301800 + +/// #un_80301840 + +/// #un_803018BC + +/// #un_8030191C + +/// #un_80301964 + +/// #un_80301A64 + +/// #un_80301AD4 + +/// #un_80301B48 + +/// #un_80301BA8 + +/// #un_80301C64 + +/// #un_80301C80 + +/// #un_80301CE0 + +/// #un_80301D40 + +/// #un_80301D7C + +/// #un_80301DCC + +/// #un_80301E08 + +/// #un_80301E44 + +/// #un_80301E78 + +/// #un_80301FB4 + +/// #un_80301FBC + +void fn_803020F8(void) {} + +/// #un_803020FC + +/// #un_80302164 + +/// #un_803022BC + +/// #fn_80302608 + +/// #un_8030265C + +/// #un_80302708 + +/// #un_803027A0 + +/// #un_80302810 + +/// #un_80302834 + +/// #un_803029B4 + +/// #un_80302A3C + +/// #un_80302A88 + +/// #un_80302AB0 + +/// #un_80302AC0 + +/// #un_80302AD0 + +/// #un_80302AE0 + +/// #un_80302AF0 + +/// #un_80302B00 + +/// #un_80302B10 + +/// #un_80302B1C + +/// #un_80302B48 + +/// #un_80302B64 + +/// #un_80302B90 + +/// #un_80302BB0 + +/// #un_80302BE4 + +/// #un_80302D0C + +/// #un_80302D4C + +/// #un_80302DF0 + +/// #un_80302DF8 + +/// #un_80302E00 + +/// #un_80302EA4 + +/// #un_80302FFC + +/// #un_80303444 + +/// #un_80303720 + +/// #un_803039A4 + +/// #un_80303AC4 + +/// #fn_80303EF4 + +/// #un_80303FD4 + +/// #un_80304138 + +/// #un_80304168 + +/// #un_80304210 + +/// #un_80304334 + +/// #un_80304344 + +/// #un_80304470 + +/// #un_80304510 + +/// #un_803045A0 + +/// #un_80304690 + +/// #un_80304780 + +/// #un_80304870 + +/// #un_803048C0 + +/// #un_80304924 + +/// #un_80304988 + +/// #un_803049F4 + +/// #un_80304A58 + +/// #un_80304B0C + +/// #un_80304B94 + +/// #un_80304CC8 + +/// #un_80304D30 diff --git a/src/melee/un/un_2FC9.h b/src/melee/un/un_2FC9.h index 962a878b7a..64a116df0e 100644 --- a/src/melee/un/un_2FC9.h +++ b/src/melee/un/un_2FC9.h @@ -6,9 +6,236 @@ #include +/* 2FC9B4 */ UNK_RET un_802FC9B4(UNK_PARAMS); +/* 2FCAA4 */ UNK_RET fn_802FCAA4(UNK_PARAMS); +/* 2FCAC4 */ UNK_RET fn_802FCAC4(UNK_PARAMS); +/* 2FCBA0 */ UNK_RET un_802FCBA0(UNK_PARAMS); +/* 2FCC44 */ UNK_RET fn_802FCC44(UNK_PARAMS); +/* 2FCF38 */ UNK_RET un_802FCF38(UNK_PARAMS); +/* 2FD28C */ UNK_RET un_802FD28C(UNK_PARAMS); +/* 2FD404 */ UNK_RET un_802FD404(UNK_PARAMS); +/* 2FD428 */ UNK_RET un_802FD428(UNK_PARAMS); +/* 2FD450 */ UNK_RET un_802FD450(UNK_PARAMS); +/* 2FD45C */ UNK_RET un_802FD45C(UNK_PARAMS); +/* 2FD468 */ UNK_RET un_802FD468(UNK_PARAMS); +/* 2FD4C8 */ UNK_RET un_802FD4C8(UNK_PARAMS); +/* 2FD604 */ UNK_RET un_802FD604(UNK_PARAMS); +/* 2FD65C */ UNK_RET un_802FD65C(UNK_PARAMS); +/* 2FD668 */ UNK_RET un_802FD668(UNK_PARAMS); +/* 2FD674 */ UNK_RET un_802FD674(UNK_PARAMS); +/* 2FD680 */ UNK_RET fn_802FD680(UNK_PARAMS); +/* 2FD6CC */ UNK_RET fn_802FD6CC(UNK_PARAMS); +/* 2FD704 */ UNK_RET un_802FD704(UNK_PARAMS); +/* 2FD708 */ UNK_RET un_802FD708(UNK_PARAMS); +/* 2FD8A0 */ UNK_RET un_802FD8A0(UNK_PARAMS); +/* 2FD8C4 */ UNK_RET un_802FD8C4(UNK_PARAMS); +/* 2FD8E8 */ UNK_RET un_802FD8E8(UNK_PARAMS); +/* 2FD90C */ UNK_RET un_802FD90C(UNK_PARAMS); +/* 2FD910 */ UNK_RET un_802FD910(UNK_PARAMS); +/* 2FD91C */ UNK_RET un_802FD91C(UNK_PARAMS); +/* 2FD928 */ UNK_RET un_802FD928(UNK_PARAMS); +/* 2FD9D8 */ UNK_RET un_802FD9D8(UNK_PARAMS); +/* 2FDA4C */ UNK_RET fn_802FDA4C(UNK_PARAMS); +/* 2FDA78 */ UNK_RET fn_802FDA78(UNK_PARAMS); +/* 2FE260 */ UNK_RET un_802FE260(UNK_PARAMS); +/* 2FE390 */ UNK_RET un_802FE390(UNK_PARAMS); +/* 2FE3F8 */ UNK_RET un_802FE3F8(UNK_PARAMS); +/* 2FE470 */ UNK_RET fn_802FE470(UNK_PARAMS); +/* 2FE6A8 */ UNK_RET un_802FE6A8(UNK_PARAMS); +/* 2FE8CC */ UNK_RET un_802FE8CC(UNK_PARAMS); +/* 2FE918 */ UNK_RET un_802FE918(UNK_PARAMS); +/* 2FEBE0 */ UNK_RET un_802FEBE0(UNK_PARAMS); +/* 2FED10 */ UNK_RET un_802FED10(UNK_PARAMS); +/* 2FED14 */ UNK_RET fn_802FED14(UNK_PARAMS); +/* 2FEFAC */ UNK_RET un_802FEFAC(UNK_PARAMS); +/* 2FF128 */ UNK_RET un_802FF128(UNK_PARAMS); +/* 2FF190 */ UNK_RET un_802FF190(UNK_PARAMS); +/* 2FF1B4 */ UNK_RET un_802FF1B4(UNK_PARAMS); +/* 2FF218 */ UNK_RET fn_802FF218(UNK_PARAMS); +/* 2FF360 */ UNK_RET fn_802FF360(UNK_PARAMS); +/* 2FF364 */ UNK_RET un_802FF364(UNK_PARAMS); /* 2FF364 */ void un_802FF364(void); +/* 2FF498 */ UNK_RET un_802FF498(UNK_PARAMS); +/* 2FF4FC */ UNK_RET un_802FF4FC(UNK_PARAMS); +/* 2FF570 */ UNK_RET un_802FF570(UNK_PARAMS); +/* 2FF620 */ UNK_RET un_802FF620(UNK_PARAMS); +/* 2FF6A0 */ UNK_RET un_802FF6A0(UNK_PARAMS); +/* 2FF710 */ UNK_RET un_802FF710(UNK_PARAMS); +/* 2FF78C */ UNK_RET un_802FF78C(UNK_PARAMS); +/* 2FF7DC */ UNK_RET un_802FF7DC(UNK_PARAMS); +/* 2FF884 */ UNK_RET un_802FF884(UNK_PARAMS); +/* 2FF88C */ UNK_RET un_802FF88C(UNK_PARAMS); +/* 2FF934 */ UNK_RET un_802FF934(UNK_PARAMS); +/* 2FF958 */ UNK_RET un_802FF958(UNK_PARAMS); +/* 2FF99C */ UNK_RET un_802FF99C(UNK_PARAMS); +/* 2FF9DC */ UNK_RET un_802FF9DC(UNK_PARAMS); +/* 2FFB58 */ UNK_RET un_802FFB58(UNK_PARAMS); +/* 2FFBAC */ UNK_RET un_802FFBAC(UNK_PARAMS); +/* 2FFC30 */ UNK_RET un_802FFC30(UNK_PARAMS); +/* 2FFC6C */ UNK_RET un_802FFC6C(UNK_PARAMS); +/* 2FFCC8 */ UNK_RET fn_802FFCC8(UNK_PARAMS); +/* 2FFCD0 */ UNK_RET un_802FFCD0(UNK_PARAMS); +/* 2FFD94 */ UNK_RET un_802FFD94(UNK_PARAMS); +/* 2FFE0C */ UNK_RET fn_802FFE0C(UNK_PARAMS); +/* 2FFE6C */ UNK_RET fn_802FFE6C(UNK_PARAMS); +/* 2FFEA4 */ UNK_RET un_802FFEA4(UNK_PARAMS); +/* 2FFEE0 */ UNK_RET un_802FFEE0(UNK_PARAMS); +/* 2FFF2C */ UNK_RET un_802FFF2C(UNK_PARAMS); +/* 3001DC */ UNK_RET un_803001DC(UNK_PARAMS); +/* 300218 */ UNK_RET un_80300218(UNK_PARAMS); +/* 300248 */ UNK_RET un_80300248(UNK_PARAMS); +/* 300290 */ UNK_RET un_80300290(UNK_PARAMS); +/* 3002FC */ UNK_RET un_803002FC(UNK_PARAMS); +/* 300338 */ UNK_RET un_80300338(UNK_PARAMS); +/* 300378 */ UNK_RET un_80300378(UNK_PARAMS); +/* 3003C4 */ UNK_RET un_803003C4(UNK_PARAMS); +/* 300410 */ UNK_RET un_80300410(UNK_PARAMS); +/* 300480 */ UNK_RET un_80300480(UNK_PARAMS); +/* 3004B4 */ UNK_RET un_803004B4(UNK_PARAMS); +/* 3004E8 */ UNK_RET un_803004E8(UNK_PARAMS); +/* 30051C */ UNK_RET un_8030051C(UNK_PARAMS); +/* 300550 */ UNK_RET un_80300550(UNK_PARAMS); +/* 300584 */ UNK_RET un_80300584(UNK_PARAMS); +/* 3005B8 */ UNK_RET un_803005B8(UNK_PARAMS); +/* 3005EC */ UNK_RET un_803005EC(UNK_PARAMS); +/* 300620 */ UNK_RET un_80300620(UNK_PARAMS); +/* 300654 */ UNK_RET un_80300654(UNK_PARAMS); +/* 300688 */ UNK_RET un_80300688(UNK_PARAMS); +/* 3006BC */ UNK_RET un_803006BC(UNK_PARAMS); +/* 3006F0 */ UNK_RET un_803006F0(UNK_PARAMS); +/* 300724 */ UNK_RET un_80300724(UNK_PARAMS); +/* 300758 */ UNK_RET un_80300758(UNK_PARAMS); +/* 300790 */ UNK_RET un_80300790(UNK_PARAMS); +/* 3007C8 */ UNK_RET un_803007C8(UNK_PARAMS); +/* 3007FC */ UNK_RET un_803007FC(UNK_PARAMS); +/* 300830 */ UNK_RET un_80300830(UNK_PARAMS); +/* 300864 */ UNK_RET un_80300864(UNK_PARAMS); +/* 300898 */ UNK_RET un_80300898(UNK_PARAMS); +/* 3008CC */ UNK_RET un_803008CC(UNK_PARAMS); +/* 300900 */ UNK_RET un_80300900(UNK_PARAMS); +/* 300934 */ UNK_RET un_80300934(UNK_PARAMS); +/* 300968 */ UNK_RET un_80300968(UNK_PARAMS); +/* 3009A4 */ UNK_RET un_803009A4(UNK_PARAMS); +/* 3009E0 */ UNK_RET un_803009E0(UNK_PARAMS); +/* 300A88 */ UNK_RET un_80300A88(UNK_PARAMS); +/* 300AB8 */ UNK_RET un_80300AB8(UNK_PARAMS); +/* 300AF4 */ UNK_RET un_80300AF4(UNK_PARAMS); +/* 300B58 */ UNK_RET un_80300B58(UNK_PARAMS); +/* 300BBC */ UNK_RET un_80300BBC(UNK_PARAMS); +/* 300BF8 */ UNK_RET un_80300BF8(UNK_PARAMS); +/* 300C3C */ UNK_RET un_80300C3C(UNK_PARAMS); +/* 300C80 */ UNK_RET un_80300C80(UNK_PARAMS); +/* 300CC8 */ UNK_RET fn_80300CC8(UNK_PARAMS); +/* 300D78 */ UNK_RET un_80300D78(UNK_PARAMS); +/* 300DE0 */ UNK_RET fn_80300DE0(UNK_PARAMS); +/* 300E74 */ UNK_RET un_80300E74(UNK_PARAMS); +/* 300ED0 */ UNK_RET fn_80300ED0(UNK_PARAMS); +/* 300F3C */ UNK_RET un_80300F3C(UNK_PARAMS); +/* 300F98 */ UNK_RET un_80300F98(UNK_PARAMS); +/* 300FEC */ UNK_RET un_80300FEC(UNK_PARAMS); +/* 301028 */ UNK_RET un_80301028(UNK_PARAMS); +/* 301074 */ UNK_RET un_80301074(UNK_PARAMS); +/* 3010C0 */ UNK_RET un_803010C0(UNK_PARAMS); +/* 30110C */ UNK_RET fn_8030110C(UNK_PARAMS); +/* 3011EC */ UNK_RET fn_803011EC(UNK_PARAMS); +/* 301280 */ UNK_RET un_80301280(UNK_PARAMS); +/* 3012D4 */ UNK_RET un_803012D4(UNK_PARAMS); +/* 301328 */ UNK_RET un_80301328(UNK_PARAMS); +/* 30136C */ UNK_RET un_8030136C(UNK_PARAMS); +/* 3013B0 */ UNK_RET un_803013B0(UNK_PARAMS); +/* 3013EC */ UNK_RET un_803013EC(UNK_PARAMS); +/* 301420 */ UNK_RET un_80301420(UNK_PARAMS); +/* 301454 */ UNK_RET un_80301454(UNK_PARAMS); +/* 301490 */ UNK_RET un_80301490(UNK_PARAMS); +/* 3014CC */ UNK_RET un_803014CC(UNK_PARAMS); +/* 301508 */ UNK_RET un_80301508(UNK_PARAMS); +/* 301544 */ UNK_RET un_80301544(UNK_PARAMS); +/* 301580 */ UNK_RET un_80301580(UNK_PARAMS); +/* 3015BC */ UNK_RET un_803015BC(UNK_PARAMS); +/* 3015F8 */ UNK_RET un_803015F8(UNK_PARAMS); +/* 301634 */ UNK_RET un_80301634(UNK_PARAMS); +/* 3016D8 */ UNK_RET un_803016D8(UNK_PARAMS); +/* 301734 */ UNK_RET un_80301734(UNK_PARAMS); +/* 30178C */ UNK_RET un_8030178C(UNK_PARAMS); +/* 301800 */ UNK_RET un_80301800(UNK_PARAMS); +/* 301840 */ UNK_RET un_80301840(UNK_PARAMS); +/* 3018BC */ UNK_RET un_803018BC(UNK_PARAMS); +/* 30191C */ UNK_RET un_8030191C(UNK_PARAMS); +/* 301964 */ UNK_RET un_80301964(UNK_PARAMS); +/* 301A64 */ UNK_RET un_80301A64(UNK_PARAMS); +/* 301AD4 */ UNK_RET un_80301AD4(UNK_PARAMS); +/* 301B48 */ UNK_RET un_80301B48(UNK_PARAMS); +/* 301BA8 */ UNK_RET un_80301BA8(UNK_PARAMS); +/* 301C64 */ UNK_RET un_80301C64(UNK_PARAMS); +/* 301C80 */ UNK_RET un_80301C80(UNK_PARAMS); +/* 301CE0 */ UNK_RET un_80301CE0(UNK_PARAMS); +/* 301D40 */ UNK_RET un_80301D40(UNK_PARAMS); +/* 301D7C */ UNK_RET un_80301D7C(UNK_PARAMS); +/* 301DCC */ UNK_RET un_80301DCC(UNK_PARAMS); +/* 301E08 */ UNK_RET un_80301E08(UNK_PARAMS); +/* 301E44 */ UNK_RET un_80301E44(UNK_PARAMS); +/* 301E78 */ UNK_RET un_80301E78(UNK_PARAMS); +/* 301FB4 */ UNK_RET un_80301FB4(UNK_PARAMS); +/* 301FBC */ UNK_RET un_80301FBC(UNK_PARAMS); +/* 3020F8 */ UNK_RET fn_803020F8(UNK_PARAMS); +/* 3020FC */ UNK_RET un_803020FC(UNK_PARAMS); +/* 302164 */ UNK_RET un_80302164(UNK_PARAMS); +/* 3022BC */ UNK_RET un_803022BC(UNK_PARAMS); +/* 302608 */ UNK_RET fn_80302608(UNK_PARAMS); +/* 30265C */ UNK_RET un_8030265C(UNK_PARAMS); +/* 302708 */ UNK_RET un_80302708(UNK_PARAMS); +/* 3027A0 */ UNK_RET un_803027A0(UNK_PARAMS); +/* 302810 */ UNK_RET un_80302810(UNK_PARAMS); +/* 302834 */ UNK_RET un_80302834(UNK_PARAMS); +/* 3029B4 */ UNK_RET un_803029B4(UNK_PARAMS); +/* 302A3C */ UNK_RET un_80302A3C(UNK_PARAMS); +/* 302A88 */ UNK_RET un_80302A88(UNK_PARAMS); +/* 302AB0 */ UNK_RET un_80302AB0(UNK_PARAMS); +/* 302AC0 */ UNK_RET un_80302AC0(UNK_PARAMS); +/* 302AD0 */ UNK_RET un_80302AD0(UNK_PARAMS); +/* 302AE0 */ UNK_RET un_80302AE0(UNK_PARAMS); +/* 302AF0 */ UNK_RET un_80302AF0(UNK_PARAMS); +/* 302B00 */ UNK_RET un_80302B00(UNK_PARAMS); +/* 302B10 */ UNK_RET un_80302B10(UNK_PARAMS); +/* 302B1C */ UNK_RET un_80302B1C(UNK_PARAMS); +/* 302B48 */ UNK_RET un_80302B48(UNK_PARAMS); +/* 302B64 */ UNK_RET un_80302B64(UNK_PARAMS); +/* 302B90 */ UNK_RET un_80302B90(UNK_PARAMS); +/* 302BB0 */ UNK_RET un_80302BB0(UNK_PARAMS); +/* 302BE4 */ UNK_RET un_80302BE4(UNK_PARAMS); +/* 302D0C */ UNK_RET un_80302D0C(UNK_PARAMS); +/* 302D4C */ UNK_RET un_80302D4C(UNK_PARAMS); +/* 302DF0 */ UNK_RET un_80302DF0(UNK_PARAMS); +/* 302DF8 */ UNK_RET un_80302DF8(UNK_PARAMS); +/* 302E00 */ UNK_RET un_80302E00(UNK_PARAMS); +/* 302EA4 */ UNK_RET un_80302EA4(UNK_PARAMS); +/* 302FFC */ UNK_RET un_80302FFC(UNK_PARAMS); +/* 303444 */ UNK_RET un_80303444(UNK_PARAMS); +/* 303720 */ UNK_RET un_80303720(UNK_PARAMS); +/* 3039A4 */ UNK_RET un_803039A4(UNK_PARAMS); +/* 303AC4 */ UNK_RET un_80303AC4(UNK_PARAMS); +/* 303EF4 */ UNK_RET fn_80303EF4(UNK_PARAMS); +/* 303FD4 */ UNK_RET un_80303FD4(UNK_PARAMS); +/* 304138 */ UNK_RET un_80304138(UNK_PARAMS); +/* 304168 */ UNK_RET un_80304168(UNK_PARAMS); +/* 304210 */ UNK_RET un_80304210(UNK_PARAMS); +/* 304334 */ UNK_RET un_80304334(UNK_PARAMS); +/* 304344 */ UNK_RET un_80304344(UNK_PARAMS); +/* 304470 */ UNK_RET un_80304470(UNK_PARAMS); +/* 304510 */ UNK_RET un_80304510(UNK_PARAMS); +/* 3045A0 */ UNK_RET un_803045A0(UNK_PARAMS); +/* 304690 */ UNK_RET un_80304690(UNK_PARAMS); +/* 304780 */ UNK_RET un_80304780(UNK_PARAMS); +/* 304870 */ UNK_RET un_80304870(UNK_PARAMS); /* 3048C0 */ bool un_803048C0(s32); +/* 304924 */ UNK_RET un_80304924(UNK_PARAMS); +/* 304988 */ UNK_RET un_80304988(UNK_PARAMS); +/* 3049F4 */ UNK_RET un_803049F4(UNK_PARAMS); /* 304A58 */ void un_80304A58(s32); +/* 304B0C */ UNK_RET un_80304B0C(UNK_PARAMS); +/* 304B94 */ UNK_RET un_80304B94(UNK_PARAMS); +/* 304CC8 */ UNK_RET un_80304CC8(UNK_PARAMS); +/* 304D30 */ UNK_RET un_80304D30(UNK_PARAMS); /* 305918 */ void un_80305918(s32, s32, s32); /* 31234C */ void un_8031234C(s32); /* 3124BC */ UNK_RET un_803124BC(UNK_PARAMS); diff --git a/src/sysdolphin/baselib/particle.c b/src/sysdolphin/baselib/particle.c index 8b13789179..f8c0617d48 100644 --- a/src/sysdolphin/baselib/particle.c +++ b/src/sysdolphin/baselib/particle.c @@ -1 +1,237 @@ +/// #hsd_80391580 +/// #hsd_80391664 + +/// #hsd_80391A04 + +/// #hsd_80391AC8 + +/// #hsd_80391E18 + +/// #hsd_80391F28 + +/// #hsd_80392194 + +/// #hsd_803921B8 + +/// #hsd_803922FC + +/// #hsd_80392474 + +/// #fn_80392480 + +/// #hsd_80392528 + +/// #hsd_8039254C + +/// #fn_80392934 + +/// #fn_80392A08 + +/// #fn_80392A3C + +/// #fn_80392CCC + +/// #fn_80392CD8 + +/// #fn_80392E2C + +/// #hsd_80392E80 + +/// #hsd_803931A4 + +/// #fn_803932D0 + +/// #hsd_80393328 + +/// #hsd_80393440 + +void hsd_80393840(void) {} + +/// #hsd_80393844 + +/// #hsd_80393A04 + +/// #hsd_80393A54 + +/// #hsd_80393A5C + +/// #fn_80393C14 + +/// #hsd_80393D2C + +/// #hsd_80393DA0 + +/// #hsd_80393E34 + +/// #hsd_80393E68 + +/// #hsd_80393EF4 + +/// #hsd_80394068 + +/// #hsd_80394128 + +/// #hsd_803941E8 + +/// #hsd_80394314 + +/// #hsd_80394434 + +/// #hsd_80394544 + +/// #hsd_80394668 + +/// #hsd_80394950 + +/// #Exception_ReportStackTrace + +/// #Exception_ReportCodeline + +/// #fn_80394DF4 + +/// #hsd_80394E8C + +/// #hsd_80394F48 + +/// #hsd_80395550 + +/// #hsd_80395644 + +/// #hsd_803956D8 + +/// #hsd_803957C0 + +/// #hsd_80395970 + +/// #hsd_80395A78 + +/// #hsd_80395D88 + +/// #hsd_80396130 + +/// #hsd_80396188 + +/// #hsd_803962A8 + +/// #hsd_803966A0 + +/// #hsd_80396868 + +/// #hsd_80396884 + +/// #hsd_80396A20 + +/// #hsd_80396C78 + +/// #hsd_80396E40 + +void fn_803970D8(void) {} + +void fn_803970DC(void) {} + +void fn_803970E0(void) {} + +void fn_803970E4(void) {} + +void fn_803970E8(void) {} + +void fn_803970EC(void) {} + +void fn_803970F0(void) {} + +void fn_803970F4(void) {} + +void fn_803970F8(void) {} + +void fn_803970FC(void) {} + +void fn_80397100(void) {} + +void fn_80397104(void) {} + +void fn_80397108(void) {} + +void fn_8039710C(void) {} + +/// #hsd_80397110 + +/// #fn_80397374 + +/// #hsd_80397520 + +/// #hsd_803975D4 + +/// #fn_80397814 + +/// #hsd_80397DA4 + +/// #Exception_StoreDebugLevel + +/// #hsd_80397DFC + +/// #baselib_mfspr + +/// #fn_803982E4 + +/// #hsd_80398310 + +/// #hsd_803983A4 + +/// #psInitDataBankLoad + +/// #psInitDataBankLocate + +/// #psInitDataBank + +/// #hsd_80398A08 + +/// #hsd_80398C04 + +/// #hsd_80398F0C + +/// #hsd_80398F8C + +/// #hsd_803991D8 + +/// #hsd_8039930C + +/// #hsd_8039CEAC + +/// #hsd_8039CF4C + +/// #hsd_8039D048 + +/// #hsd_8039D0A0 + +/// #hsd_8039D1E4 + +/// #hsd_8039D1EC + +/// #hsd_8039D214 + +/// #hsd_8039D354 + +/// #hsd_8039D3AC + +/// #hsd_8039D4DC + +/// #hsd_8039D580 + +/// #hsd_8039D5DC + +/// #hsd_8039D688 + +/// #hsd_8039D71C + +/// #hsd_8039D9C8 + +/// #hsd_8039DAD4 + +/// #hsd_8039EE24 + +/// #hsd_8039EFAC + +/// #hsd_8039F05C + +/// #hsd_8039F6CC diff --git a/src/sysdolphin/baselib/particle.h b/src/sysdolphin/baselib/particle.h index 290cb0d94f..7d96dc5daf 100644 --- a/src/sysdolphin/baselib/particle.h +++ b/src/sysdolphin/baselib/particle.h @@ -6,13 +6,125 @@ #include "baselib/jobj.h" +/* 391580 */ UNK_RET hsd_80391580(UNK_PARAMS); +/* 391664 */ UNK_RET hsd_80391664(UNK_PARAMS); +/* 391A04 */ UNK_RET hsd_80391A04(UNK_PARAMS); +/* 391AC8 */ UNK_RET hsd_80391AC8(UNK_PARAMS); +/* 391E18 */ UNK_RET hsd_80391E18(UNK_PARAMS); +/* 391F28 */ UNK_RET hsd_80391F28(UNK_PARAMS); +/* 392194 */ UNK_RET hsd_80392194(UNK_PARAMS); +/* 3921B8 */ UNK_RET hsd_803921B8(UNK_PARAMS); +/* 3922FC */ UNK_RET hsd_803922FC(UNK_PARAMS); +/* 392474 */ UNK_RET hsd_80392474(UNK_PARAMS); +/* 392480 */ UNK_RET fn_80392480(UNK_PARAMS); +/* 392528 */ UNK_RET hsd_80392528(UNK_PARAMS); +/* 39254C */ UNK_RET hsd_8039254C(UNK_PARAMS); +/* 392934 */ UNK_RET fn_80392934(UNK_PARAMS); +/* 392A08 */ UNK_RET fn_80392A08(UNK_PARAMS); +/* 392A3C */ UNK_RET fn_80392A3C(UNK_PARAMS); +/* 392CCC */ UNK_RET fn_80392CCC(UNK_PARAMS); +/* 392CD8 */ UNK_RET fn_80392CD8(UNK_PARAMS); +/* 392E2C */ UNK_RET fn_80392E2C(UNK_PARAMS); +/* 392E80 */ UNK_RET hsd_80392E80(UNK_PARAMS); /* 392E80 */ void hsd_80392E80(void); /* 3931A4 */ bool hsd_803931A4(s32); +/* 3932D0 */ UNK_RET fn_803932D0(UNK_PARAMS); +/* 393328 */ UNK_RET hsd_80393328(UNK_PARAMS); +/* 393440 */ UNK_RET hsd_80393440(UNK_PARAMS); +/* 393840 */ UNK_RET hsd_80393840(UNK_PARAMS); +/* 393844 */ UNK_RET hsd_80393844(UNK_PARAMS); /* 393A04 */ bool hsd_80393A04(void); /* 393A54 */ void hsd_80393A54(bool); +/* 393A5C */ UNK_RET hsd_80393A5C(UNK_PARAMS); +/* 393C14 */ UNK_RET fn_80393C14(UNK_PARAMS); +/* 393D2C */ UNK_RET hsd_80393D2C(UNK_PARAMS); +/* 393DA0 */ UNK_RET hsd_80393DA0(UNK_PARAMS); +/* 393E34 */ UNK_RET hsd_80393E34(UNK_PARAMS); +/* 393E68 */ UNK_RET hsd_80393E68(UNK_PARAMS); +/* 393EF4 */ UNK_RET hsd_80393EF4(UNK_PARAMS); +/* 394068 */ UNK_RET hsd_80394068(UNK_PARAMS); +/* 394128 */ UNK_RET hsd_80394128(UNK_PARAMS); +/* 3941E8 */ UNK_RET hsd_803941E8(UNK_PARAMS); +/* 394314 */ UNK_RET hsd_80394314(UNK_PARAMS); +/* 394434 */ UNK_RET hsd_80394434(UNK_PARAMS); +/* 394544 */ UNK_RET hsd_80394544(UNK_PARAMS); +/* 394668 */ UNK_RET hsd_80394668(UNK_PARAMS); +/* 394950 */ UNK_RET hsd_80394950(UNK_PARAMS); +/* 394A48 */ UNK_RET Exception_ReportStackTrace(UNK_PARAMS); +/* 394B18 */ UNK_RET Exception_ReportCodeline(UNK_PARAMS); +/* 394DF4 */ UNK_RET fn_80394DF4(UNK_PARAMS); +/* 394E8C */ UNK_RET hsd_80394E8C(UNK_PARAMS); +/* 394F48 */ UNK_RET hsd_80394F48(UNK_PARAMS); +/* 395550 */ UNK_RET hsd_80395550(UNK_PARAMS); +/* 395644 */ UNK_RET hsd_80395644(UNK_PARAMS); +/* 3956D8 */ UNK_RET hsd_803956D8(UNK_PARAMS); +/* 3957C0 */ UNK_RET hsd_803957C0(UNK_PARAMS); +/* 395970 */ UNK_RET hsd_80395970(UNK_PARAMS); +/* 395A78 */ UNK_RET hsd_80395A78(UNK_PARAMS); +/* 395D88 */ UNK_RET hsd_80395D88(UNK_PARAMS); +/* 396130 */ UNK_RET hsd_80396130(UNK_PARAMS); +/* 396188 */ UNK_RET hsd_80396188(UNK_PARAMS); +/* 3962A8 */ UNK_RET hsd_803962A8(UNK_PARAMS); +/* 3966A0 */ UNK_RET hsd_803966A0(UNK_PARAMS); +/* 396868 */ UNK_RET hsd_80396868(UNK_PARAMS); +/* 396884 */ UNK_RET hsd_80396884(UNK_PARAMS); +/* 396A20 */ UNK_RET hsd_80396A20(UNK_PARAMS); +/* 396C78 */ UNK_RET hsd_80396C78(UNK_PARAMS); +/* 396E40 */ UNK_RET hsd_80396E40(UNK_PARAMS); +/* 3970D8 */ UNK_RET fn_803970D8(UNK_PARAMS); +/* 3970DC */ UNK_RET fn_803970DC(UNK_PARAMS); +/* 3970E0 */ UNK_RET fn_803970E0(UNK_PARAMS); +/* 3970E4 */ UNK_RET fn_803970E4(UNK_PARAMS); +/* 3970E8 */ UNK_RET fn_803970E8(UNK_PARAMS); +/* 3970EC */ UNK_RET fn_803970EC(UNK_PARAMS); +/* 3970F0 */ UNK_RET fn_803970F0(UNK_PARAMS); +/* 3970F4 */ UNK_RET fn_803970F4(UNK_PARAMS); +/* 3970F8 */ UNK_RET fn_803970F8(UNK_PARAMS); +/* 3970FC */ UNK_RET fn_803970FC(UNK_PARAMS); +/* 397100 */ UNK_RET fn_80397100(UNK_PARAMS); +/* 397104 */ UNK_RET fn_80397104(UNK_PARAMS); +/* 397108 */ UNK_RET fn_80397108(UNK_PARAMS); +/* 39710C */ UNK_RET fn_8039710C(UNK_PARAMS); +/* 397110 */ UNK_RET hsd_80397110(UNK_PARAMS); +/* 397374 */ UNK_RET fn_80397374(UNK_PARAMS); +/* 397520 */ UNK_RET hsd_80397520(UNK_PARAMS); +/* 3975D4 */ UNK_RET hsd_803975D4(UNK_PARAMS); +/* 397814 */ UNK_RET fn_80397814(UNK_PARAMS); +/* 397DA4 */ UNK_RET hsd_80397DA4(UNK_PARAMS); +/* 397DF4 */ UNK_RET Exception_StoreDebugLevel(UNK_PARAMS); +/* 397DFC */ UNK_RET hsd_80397DFC(UNK_PARAMS); +/* 397E0C */ UNK_RET baselib_mfspr(UNK_PARAMS); +/* 3982E4 */ UNK_RET fn_803982E4(UNK_PARAMS); +/* 398310 */ UNK_RET hsd_80398310(UNK_PARAMS); +/* 3983A4 */ UNK_RET hsd_803983A4(UNK_PARAMS); +/* 3984F4 */ UNK_RET psInitDataBankLoad(UNK_PARAMS); +/* 398614 */ UNK_RET psInitDataBankLocate(UNK_PARAMS); +/* 3989A0 */ UNK_RET psInitDataBank(UNK_PARAMS); +/* 398A08 */ UNK_RET hsd_80398A08(UNK_PARAMS); +/* 398C04 */ UNK_RET hsd_80398C04(UNK_PARAMS); +/* 398F0C */ UNK_RET hsd_80398F0C(UNK_PARAMS); +/* 398F8C */ UNK_RET hsd_80398F8C(UNK_PARAMS); +/* 3991D8 */ UNK_RET hsd_803991D8(UNK_PARAMS); +/* 39930C */ UNK_RET hsd_8039930C(UNK_PARAMS); +/* 39CEAC */ UNK_RET hsd_8039CEAC(UNK_PARAMS); +/* 39CF4C */ UNK_RET hsd_8039CF4C(UNK_PARAMS); +/* 39D048 */ UNK_RET hsd_8039D048(UNK_PARAMS); +/* 39D0A0 */ UNK_RET hsd_8039D0A0(UNK_PARAMS); +/* 39D1E4 */ UNK_RET hsd_8039D1E4(UNK_PARAMS); +/* 39D1EC */ UNK_RET hsd_8039D1EC(UNK_PARAMS); +/* 39D214 */ UNK_RET hsd_8039D214(UNK_PARAMS); +/* 39D354 */ UNK_RET hsd_8039D354(UNK_PARAMS); +/* 39D3AC */ UNK_RET hsd_8039D3AC(UNK_PARAMS); /* 39D4DC */ void hsd_8039D4DC(UnkGeneratorStruct*); +/* 39D580 */ UNK_RET hsd_8039D580(UNK_PARAMS); /* 39D5DC */ void hsd_8039D5DC(s32); +/* 39D688 */ UNK_RET hsd_8039D688(UNK_PARAMS); +/* 39D71C */ UNK_RET hsd_8039D71C(UNK_PARAMS); +/* 39D9C8 */ UNK_RET hsd_8039D9C8(UNK_PARAMS); +/* 39DAD4 */ UNK_RET hsd_8039DAD4(UNK_PARAMS); +/* 39EE24 */ UNK_RET hsd_8039EE24(UNK_PARAMS); /* 39EFAC */ UnkGeneratorStruct* hsd_8039EFAC(s32, s32, s32, HSD_JObj*); +/* 39F05C */ UNK_RET hsd_8039F05C(UNK_PARAMS); /* 39F6CC */ void hsd_8039F6CC(s32, s32, s32, HSD_JObj*); /* 4D78D0 */ extern u32 hsd_804D78D0; /* 4D78D4 */ extern u32 hsd_804D78D4; diff --git a/src/sysdolphin/baselib/texpdag.c b/src/sysdolphin/baselib/texpdag.c index 8b13789179..28cc1c5a18 100644 --- a/src/sysdolphin/baselib/texpdag.c +++ b/src/sysdolphin/baselib/texpdag.c @@ -1 +1,24 @@ +/// #assign_reg + +/// #order_dag + +/// #CalcDistance + +/// #HSD_TExpMakeDag + +/// #make_full_dependancy_mtx + +void fn_80386230(void) {} + +/// #HSD_TExpSchedule + +/// #SimplifySrc + +/// #SimplifyThis + +/// #SimplifyByMerge + +/// #HSD_TExpSimplify + +/// #HSD_TExpSimplify2 diff --git a/src/sysdolphin/baselib/texpdag.h b/src/sysdolphin/baselib/texpdag.h index aaa118f1f6..2c4f6c3de9 100644 --- a/src/sysdolphin/baselib/texpdag.h +++ b/src/sysdolphin/baselib/texpdag.h @@ -1,11 +1,13 @@ -#ifndef _texpdag_h_ -#define _texpdag_h_ +#ifndef SYSDOLPHIN_BASELIB_TEXPDAG_H +#define SYSDOLPHIN_BASELIB_TEXPDAG_H #include #include "baselib/forward.h" #include "baselib/texp.h" +#include + typedef struct HSD_TExpDag { struct _HSD_TETev* tev; u8 idx; @@ -15,10 +17,18 @@ typedef struct HSD_TExpDag { HSD_TExpDag* depend[8]; } HSD_TExpDag; -void HSD_TExpSchedule(int num, HSD_TExpDag* list, HSD_TExp** result, - HSD_TExpRes* resource); -int HSD_TExpSimplify(HSD_TExp* texp); -int HSD_TExpSimplify2(HSD_TExp* texp); -int HSD_TExpMakeDag(HSD_TExp* root, HSD_TExpDag* list); +/* 385798 */ UNK_RET assign_reg(UNK_PARAMS); +/* 385944 */ UNK_RET order_dag(UNK_PARAMS); +/* 385B8C */ UNK_RET CalcDistance(UNK_PARAMS); +/* 385C60 */ int HSD_TExpMakeDag(HSD_TExp* root, HSD_TExpDag* list); +/* 386100 */ UNK_RET make_full_dependancy_mtx(UNK_PARAMS); +/* 386230 */ UNK_RET fn_80386230(UNK_PARAMS); +/* 386234 */ void HSD_TExpSchedule(int num, HSD_TExpDag* list, + HSD_TExp** result, HSD_TExpRes* resource); +/* 386470 */ UNK_RET SimplifySrc(UNK_PARAMS); +/* 38687C */ UNK_RET SimplifyThis(UNK_PARAMS); +/* 3870E4 */ UNK_RET SimplifyByMerge(UNK_PARAMS); +/* 387B1C */ int HSD_TExpSimplify(HSD_TExp* texp); +/* 387BA4 */ int HSD_TExpSimplify2(HSD_TExp* texp); #endif diff --git a/tools/decomp.py b/tools/decomp.py index dc6e3af62e..8b25f9e247 100755 --- a/tools/decomp.py +++ b/tools/decomp.py @@ -1,6 +1,7 @@ #!/usr/bin/env python3 import argparse +import re import subprocess import sys from pathlib import Path @@ -10,12 +11,14 @@ from elftools.elf.elffile import ELFFile from elftools.elf.sections import SymbolTableSection -root = Path(__file__).parents[1] -dtk_root = root / "build/GALE01" -obj_root = dtk_root / "obj" -asm_root = dtk_root / "asm" -ctx_file = root / "build/ctx.c" -m2ctx_script = root / "tools/m2ctx/m2ctx.py" +ROOT = Path(__file__).parents[1] +DTK_ROOT = ROOT / "build/GALE01" +OBJ_ROOT = DTK_ROOT / "obj" +ASM_ROOT = DTK_ROOT / "asm" +SRC_ROOT = ROOT / "src" +CTX_FILE = ROOT / "build/ctx.c" +M2CTX_SCRIPT = ROOT / "tools/m2ctx/m2ctx.py" +PLACEHOLDER = r"^/// #{name}$(?:\r?\n)?" def has_function(obj_path: Path, function_name: str) -> bool: @@ -44,12 +47,17 @@ def resolve_path(p: Path) -> str: return str(p.resolve()) -def run_cmd(cmd: list[str]) -> str: +def run_cmd(cmd: list[str], stdin: str | None = None) -> str: if cmd[0] == "python": executable = sys.executable else: executable = None - result = subprocess.run(cmd, capture_output=True, executable=executable) + result = subprocess.run( + cmd, + stdin=stdin, + capture_output=True, + executable=executable, + ) if result.returncode != 0: print(" ".join(cmd), file=sys.stderr) print(result.stdout.decode(), file=sys.stderr) @@ -60,10 +68,10 @@ def run_cmd(cmd: list[str]) -> str: def gen_ctx() -> None: - run_cmd( + _ = run_cmd( [ "python", - resolve_path(m2ctx_script), + resolve_path(M2CTX_SCRIPT), "--quiet", "--preprocessor", ] @@ -72,45 +80,60 @@ def gen_ctx() -> None: def main() -> None: parser = argparse.ArgumentParser(description="Decomp a function using m2c") - parser.add_argument( + _ = parser.add_argument( "function", type=str, help="a function to be processed", ) - parser.add_argument( + _ = parser.add_argument( dest="m2c_args", nargs=argparse.REMAINDER, help="additional arguments to be passed to m2c", ) - parser.add_argument( + _ = parser.add_argument( "--no-context", action="store_false", dest="ctx", - help=f"do not generate {ctx_file.name}", + help=f"do not generate {CTX_FILE.name}", ) - parser.add_argument( + _ = parser.add_argument( "--no-copy", action="store_false", dest="copy", help="do not copy the output to the clipboard", ) - parser.add_argument( + _ = parser.add_argument( + "-q", "--no-print", action="store_false", dest="print", help="do not print the output", ) - parser.add_argument( + _ = parser.add_argument( + "-c", "--colorize", action="store_true", dest="color", help="colorize the output (requires pygments)", ) + _ = parser.add_argument( + "-w", + "--write", + action="store_true", + help="insert the output into the corresponding src file", + ) + _ = parser.add_argument( + "-f", + "--format", + action="store_true", + help="run clang-format on the output", + ) args = parser.parse_args() - if (obj_file := find_obj(obj_root, args.function)) is not None: - asm_file = asm_root / cast(Path, obj_file).with_suffix(".s") + function = cast(str, args.function) + if (obj_file := find_obj(OBJ_ROOT, function)) is not None: + asm_file = ASM_ROOT / cast(Path, obj_file).with_suffix(".s") m2c_cmd: list[str] = [ "python", @@ -120,17 +143,17 @@ def main() -> None: "--target", "ppc-mwcc-c", "--context", - resolve_path(ctx_file), + resolve_path(CTX_FILE), "--function", - args.function, + function, resolve_path(asm_file), ] - if args.ctx: + if cast(bool, args.ctx): gen_ctx() output = run_cmd(m2c_cmd) - if args.copy: + if cast(bool, args.copy): try: import pyperclip @@ -138,8 +161,24 @@ def main() -> None: except ModuleNotFoundError: print("Failed to import pyperclip; could not copy", file=stderr) - if args.print: - if args.color: + if cast(bool, args.format): + proc = subprocess.Popen( + ["clang-format", "-"], + stdin=subprocess.PIPE, + stdout=subprocess.PIPE, + ) + out, err = proc.communicate(output.encode()) + + output = out.decode() + + if proc.returncode != 0: + print(output, file=sys.stderr) + print(err.decode(), file=sys.stderr) + exit(1) + + if cast(bool, args.print): + colorized = output + if cast(bool, args.color): try: import colorama @@ -151,12 +190,32 @@ def main() -> None: from pygments.formatters import TerminalFormatter from pygments.lexers import CLexer - output = highlight(output, CLexer(), TerminalFormatter()) + colorized = highlight(output, CLexer(), TerminalFormatter()) except ModuleNotFoundError: print("Failed to import pygments; could not colorize", file=stderr) - print(output, file=sys.stdout) + print(colorized, file=sys.stdout) + + if cast(bool, args.write): + src_file = SRC_ROOT / obj_file.with_suffix(".c") + + if not src_file.exists(): + src_file.parent.mkdir(parents=True, exist_ok=True) + src_file.touch(exist_ok=True) + + text = src_file.read_text() + + placeholder = re.compile( + PLACEHOLDER.format(name=re.escape(function)), + re.MULTILINE, + ) + + result, count = re.subn(placeholder, output, text, count=1) + if count < 1: + result = result + f"\n{output}" + + _ = src_file.write_text(result) else: - print(f"Could not find {args.function}", file=stderr) + print(f"Could not find {function}", file=stderr) sys.exit(1) diff --git a/tools/easy_funcs.py b/tools/easy_funcs.py index faab2bf0f9..4c48152e28 100755 --- a/tools/easy_funcs.py +++ b/tools/easy_funcs.py @@ -7,11 +7,14 @@ import sys from dataclasses import dataclass from pathlib import Path, PurePosixPath -from typing import cast +from typing import TYPE_CHECKING, Callable, cast import humanfriendly import prettytable +if TYPE_CHECKING: + from _typeshed import SupportsRichComparison + type ReportDict = dict[str, ReportValue] type ReportList = list[ReportValue] type ReportValue = ReportDict | ReportList | str @@ -31,20 +34,29 @@ class Function: def create_trie(units: list[str]) -> re.Pattern[str]: - return re.compile(rf"^{MODULE}/(?:{'|'.join(units)})(?=/|$)" if units else ".*") + return re.compile( + rf"^{MODULE}/(?:{'|'.join(map(re.escape, units))})(?=/|$)" if units else ".*" + ) def get_report() -> ReportDict: def run_ninja(): proc = subprocess.run( - ["ninja", str(REPORT_PATH)], + cmd := ["ninja", REPORT_PATH], stdout=subprocess.PIPE, stderr=subprocess.PIPE, ) if proc.returncode != 0: - print(proc.stdout.decode(), file=sys.stderr) - print(proc.stderr.decode(), file=sys.stderr) + print(stdout := proc.stdout.decode(), file=sys.stderr) + print(stderr := proc.stderr.decode(), file=sys.stderr) + + raise subprocess.CalledProcessError( + proc.returncode, + " ".join(cmd), + stdout, + stderr, + ) run_ninja() @@ -60,6 +72,8 @@ def print_funcs( matched: tuple[float, float], address: tuple[int, int], max_results: int, + names_only: bool, + by_address: bool, ): trie = create_trie(units) report = get_report() @@ -80,9 +94,6 @@ def print_funcs( functions = cast(list[ReportDict], unit.get("functions", [])) for function in functions: - if max_results > 0 and len(results) >= max_results: - break - func_name = cast(str, function["name"]) func_size = int(cast(str, function["size"])) @@ -111,46 +122,59 @@ def print_funcs( ) ) - else: - continue - break - - results.sort(key=lambda f: (f.size, f.address)) - table = prettytable.PrettyTable() - table.field_names = ["Address", "Unit", "Function", "Size", "Matched"] - table.align["Address"] = "c" - table.align["Unit"] = "l" - table.align["Function"] = "l" - table.align["Size"] = "r" - table.align["Matched"] = "r" - table.set_style(prettytable.PLAIN_COLUMNS) - table.add_rows( - [ - [ - f"{f.address:08X}", - f.unit, - f.name, - humanfriendly.format_size(f.size), - f"{f.matched:.2f}%", - ] - for f in results - ], + key: Callable[[Function], SupportsRichComparison] = ( + (lambda f: f.address) if by_address else (lambda f: (f.size, f.address)) ) - print(table) + results.sort(key=key) + if max_results > 0: + results = results[:max_results] + + if names_only: + for name in map(lambda f: f.name, results): + print(name) + else: + table = prettytable.PrettyTable() + table.field_names = ["Address", "Unit", "Function", "Size", "Matched"] + table.align["Address"] = "c" + table.align["Unit"] = "l" + table.align["Function"] = "l" + table.align["Size"] = "r" + table.align["Matched"] = "r" + table.set_style(prettytable.PLAIN_COLUMNS) + table.add_rows( + [ + [ + f"{f.address:08X}", + f.unit, + f.name, + humanfriendly.format_size(f.size), + f"{f.matched:.2f}%", + ] + for f in results + ], + ) + print(table) def main(): def sanitize_path(s: str) -> str: p = PurePosixPath(s.replace("\\", "/")) s = str(p.parent / p.stem) - for parent in [ + parents = [ ROOT.as_posix(), "build/GALE01", "src", "asm", + "obj", "/", - ]: - s = s.removeprefix(parent) + ] + while True: + prev = s + for parent in parents: + s = s.removeprefix(parent) + if prev == s: + break + return s def sanitize_hex(s: str) -> int: @@ -222,6 +246,19 @@ def sanitize_hex(s: str) -> int: metavar="RESULTS", help="the maximum number of functions to display", ) + _ = parser.add_argument( + "-o", + "--names-only", + action="store_true", + help="print only function names", + ) + _ = parser.add_argument( + "-a", + "--order-by-address", + dest="by_address", + action="store_true", + help="sort functions by address instead of size", + ) args = parser.parse_args() print_funcs( @@ -230,6 +267,8 @@ def sanitize_hex(s: str) -> int: (cast(float, args.min_matched), cast(float, args.max_matched)), (cast(int, args.min_address), cast(int, args.max_address)), cast(int, args.max_results), + cast(bool, args.names_only), + cast(bool, args.by_address), ) diff --git a/tools/scaffold.py b/tools/scaffold.py new file mode 100755 index 0000000000..b5e8521363 --- /dev/null +++ b/tools/scaffold.py @@ -0,0 +1,87 @@ +#!/usr/bin/env python3 + +import argparse +import json +from pathlib import Path +from typing import NoReturn, TextIO, cast + +ROOT = Path(__file__).parents[1] +DTK_ROOT = ROOT / "build/GALE01" +REPORT_PATH = DTK_ROOT / "report.json" +SRC_ROOT = ROOT / "src" +MODULE = "main" + + +def wip(msg: str = "") -> NoReturn: + raise NotImplementedError(msg) + + +def main() -> None: + def sanitize_path(s: str) -> tuple[Path, str]: + p = Path(s).resolve() + s = f"{MODULE}/{(p.parent / p.stem) + .relative_to(SRC_ROOT) + .as_posix() + .replace("\\", "/")}" + + return p, s + + parser = argparse.ArgumentParser() + _ = parser.add_argument( + "paths", + metavar="SRC_FILE", + type=sanitize_path, + nargs="+", + ) + args = parser.parse_args() + + with REPORT_PATH.open("r") as fp: + report = json.load(fp) + + units: dict[str, list[Path]] = {} + + for p, s in cast(list[tuple[Path, str]], args.paths): + if not s in units: + units[s] = [p] + else: + l = units[s] + l.append(p) + l.sort() + + for unit in report.get("units", []): + unit_name: str = unit["name"] + if unit_name not in units.keys(): + continue + + buffers: list[tuple[Path, TextIO]] = [ + (p, p.open("a")) for p in units[unit_name] + ] + + for function in unit.get("functions", []): + func_name: str = function["name"] + address = int(function["metadata"]["virtual_address"]) + short_address = f"{address:X}"[-6:] + + for path, fp in buffers: + match path.suffix: + case ".c": + format = "/// #{name}\n" + case ".h": + format = "/* {short_address} */ UNK_RET {name}(UNK_PARAMS);" + case _: + raise ValueError(f'Unknown filetype "{path.suffix}"') + + print( + format.format( + name=func_name, + short_address=short_address, + ), + file=fp, + ) + + for _, fp in buffers: + fp.close() + + +if __name__ == "__main__": + main()