mirror of https://github.com/PrimeDecomp/prime.git
2244 lines
108 KiB
ArmAsm
2244 lines
108 KiB
ArmAsm
.include "macros.inc"
|
|
|
|
.section .data
|
|
.balign 8
|
|
|
|
.global lbl_803ED968
|
|
lbl_803ED968:
|
|
# ROM: 0x3EA968
|
|
.4byte lbl_8030E9C8
|
|
.4byte lbl_8030E9D4
|
|
.4byte lbl_8030E9E0
|
|
.4byte lbl_8030E9EC
|
|
.4byte lbl_8030E9A4
|
|
.4byte lbl_8030E9B0
|
|
.4byte lbl_8030E9BC
|
|
.4byte lbl_8030E9F8
|
|
.4byte lbl_8030EA04
|
|
.4byte lbl_8030EA10
|
|
.4byte lbl_8030EA1C
|
|
|
|
.global lbl_803ED994
|
|
lbl_803ED994:
|
|
# ROM: 0x3EA994
|
|
.4byte lbl_8030EB24
|
|
.4byte lbl_8030EB2C
|
|
.4byte lbl_8030EB2C
|
|
.4byte lbl_8030EB34
|
|
.4byte lbl_8030EB24
|
|
.4byte lbl_8030EB2C
|
|
.4byte lbl_8030EB34
|
|
.4byte lbl_8030EB34
|
|
.4byte lbl_8030EB34
|
|
.4byte lbl_8030EB3C
|
|
.4byte lbl_8030EB24
|
|
|
|
|
|
.section .bss
|
|
.balign 8
|
|
|
|
.lcomm sLoadedTextures, 0x20, 4
|
|
|
|
.section .sbss, "wa"
|
|
.balign 8
|
|
|
|
.global sCurrentFrameCount__8CTexture
|
|
sCurrentFrameCount__8CTexture:
|
|
.skip 0x4
|
|
.global sTotalAllocatedMemory__8CTexture
|
|
sTotalAllocatedMemory__8CTexture:
|
|
.skip 0x4
|
|
.global sMangleMips__8CTexture
|
|
sMangleMips__8CTexture:
|
|
.skip 0x8
|
|
|
|
.section .text, "ax"
|
|
|
|
.global sub_8030e10c__8CTextureFv
|
|
sub_8030e10c__8CTextureFv:
|
|
/* 8030E10C 0030B06C 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 8030E110 0030B070 7C 08 02 A6 */ mflr r0
|
|
/* 8030E114 0030B074 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8030E118 0030B078 80 03 00 44 */ lwz r0, 0x44(r3)
|
|
/* 8030E11C 0030B07C 2C 00 00 06 */ cmpwi r0, 6
|
|
/* 8030E120 0030B080 41 82 00 18 */ beq lbl_8030E138
|
|
/* 8030E124 0030B084 38 63 00 44 */ addi r3, r3, 0x44
|
|
/* 8030E128 0030B088 48 04 A2 AD */ bl sub_803583d4__10CARAMTokenFv
|
|
/* 8030E12C 0030B08C 7C 64 1B 78 */ mr r4, r3
|
|
/* 8030E130 0030B090 38 60 00 01 */ li r3, 1
|
|
/* 8030E134 0030B094 48 05 EA E9 */ bl sub_8036cc1c__19CFrameDelayedKillerFbPv
|
|
lbl_8030E138:
|
|
/* 8030E138 0030B098 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 8030E13C 0030B09C 7C 08 03 A6 */ mtlr r0
|
|
/* 8030E140 0030B0A0 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 8030E144 0030B0A4 4E 80 00 20 */ blr
|
|
|
|
.global InvalidateTexmap__8CTextureF11_GXTexMapID
|
|
InvalidateTexmap__8CTextureF11_GXTexMapID:
|
|
/* 8030E148 0030B0A8 3C 80 80 4C */ lis r4, sLoadedTextures@ha
|
|
/* 8030E14C 0030B0AC 54 60 10 3A */ slwi r0, r3, 2
|
|
/* 8030E150 0030B0B0 38 64 FD 10 */ addi r3, r4, sLoadedTextures@l
|
|
/* 8030E154 0030B0B4 38 80 00 00 */ li r4, 0
|
|
/* 8030E158 0030B0B8 7C 83 01 2E */ stwx r4, r3, r0
|
|
/* 8030E15C 0030B0BC 4E 80 00 20 */ blr
|
|
|
|
.global UncountMemory__8CTextureCFv
|
|
UncountMemory__8CTextureCFv:
|
|
/* 8030E160 0030B0C0 88 83 00 0A */ lbz r4, 0xa(r3)
|
|
/* 8030E164 0030B0C4 54 80 EF FF */ rlwinm. r0, r4, 0x1d, 0x1f, 0x1f
|
|
/* 8030E168 0030B0C8 4D 82 00 20 */ beqlr
|
|
/* 8030E16C 0030B0CC 38 00 00 00 */ li r0, 0
|
|
/* 8030E170 0030B0D0 50 04 1F 38 */ rlwimi r4, r0, 3, 0x1c, 0x1c
|
|
/* 8030E174 0030B0D4 80 0D A8 74 */ lwz r0, sTotalAllocatedMemory__8CTexture@sda21(r13)
|
|
/* 8030E178 0030B0D8 98 83 00 0A */ stb r4, 0xa(r3)
|
|
/* 8030E17C 0030B0DC 80 63 00 0C */ lwz r3, 0xc(r3)
|
|
/* 8030E180 0030B0E0 7C 03 00 50 */ subf r0, r3, r0
|
|
/* 8030E184 0030B0E4 90 0D A8 74 */ stw r0, sTotalAllocatedMemory__8CTexture@sda21(r13)
|
|
/* 8030E188 0030B0E8 4E 80 00 20 */ blr
|
|
|
|
.global CountMemory__8CTextureCFv
|
|
CountMemory__8CTextureCFv:
|
|
/* 8030E18C 0030B0EC 88 A3 00 0A */ lbz r5, 0xa(r3)
|
|
/* 8030E190 0030B0F0 54 A0 EF FF */ rlwinm. r0, r5, 0x1d, 0x1f, 0x1f
|
|
/* 8030E194 0030B0F4 4C 82 00 20 */ bnelr
|
|
/* 8030E198 0030B0F8 38 00 00 01 */ li r0, 1
|
|
/* 8030E19C 0030B0FC 80 8D A8 74 */ lwz r4, sTotalAllocatedMemory__8CTexture@sda21(r13)
|
|
/* 8030E1A0 0030B100 50 05 1F 38 */ rlwimi r5, r0, 3, 0x1c, 0x1c
|
|
/* 8030E1A4 0030B104 98 A3 00 0A */ stb r5, 0xa(r3)
|
|
/* 8030E1A8 0030B108 80 03 00 0C */ lwz r0, 0xc(r3)
|
|
/* 8030E1AC 0030B10C 7C 04 02 14 */ add r0, r4, r0
|
|
/* 8030E1B0 0030B110 90 0D A8 74 */ stw r0, sTotalAllocatedMemory__8CTexture@sda21(r13)
|
|
/* 8030E1B4 0030B114 4E 80 00 20 */ blr
|
|
|
|
.global MakeSwappable__8CTextureCFv
|
|
MakeSwappable__8CTextureCFv:
|
|
/* 8030E1B8 0030B118 88 83 00 0A */ lbz r4, 0xa(r3)
|
|
/* 8030E1BC 0030B11C 54 80 E7 FF */ rlwinm. r0, r4, 0x1c, 0x1f, 0x1f
|
|
/* 8030E1C0 0030B120 4D 82 00 20 */ beqlr
|
|
/* 8030E1C4 0030B124 38 00 00 00 */ li r0, 0
|
|
/* 8030E1C8 0030B128 50 04 26 F6 */ rlwimi r4, r0, 4, 0x1b, 0x1b
|
|
/* 8030E1CC 0030B12C 98 83 00 0A */ stb r4, 0xa(r3)
|
|
/* 8030E1D0 0030B130 4E 80 00 20 */ blr
|
|
|
|
.global MangleMipmap__8CTextureFi
|
|
MangleMipmap__8CTextureFi:
|
|
/* 8030E1D4 0030B134 94 21 FF B0 */ stwu r1, -0x50(r1)
|
|
/* 8030E1D8 0030B138 7C 08 02 A6 */ mflr r0
|
|
/* 8030E1DC 0030B13C 90 01 00 54 */ stw r0, 0x54(r1)
|
|
/* 8030E1E0 0030B140 BE 81 00 20 */ stmw r20, 0x20(r1)
|
|
/* 8030E1E4 0030B144 88 03 00 08 */ lbz r0, 8(r3)
|
|
/* 8030E1E8 0030B148 7C 00 07 74 */ extsb r0, r0
|
|
/* 8030E1EC 0030B14C 7C 04 00 00 */ cmpw r4, r0
|
|
/* 8030E1F0 0030B150 40 80 03 D0 */ bge lbl_8030E5C0
|
|
/* 8030E1F4 0030B154 3C A0 80 3D */ lis r5, lbl_803D73F0@ha
|
|
/* 8030E1F8 0030B158 38 04 FF FF */ addi r0, r4, -1
|
|
/* 8030E1FC 0030B15C 38 C5 73 F0 */ addi r6, r5, lbl_803D73F0@l
|
|
/* 8030E200 0030B160 2C 04 00 00 */ cmpwi r4, 0
|
|
/* 8030E204 0030B164 81 26 00 00 */ lwz r9, 0(r6)
|
|
/* 8030E208 0030B168 38 A1 00 08 */ addi r5, r1, 8
|
|
/* 8030E20C 0030B16C 81 06 00 04 */ lwz r8, 4(r6)
|
|
/* 8030E210 0030B170 54 00 17 3A */ rlwinm r0, r0, 2, 0x1c, 0x1d
|
|
/* 8030E214 0030B174 80 E6 00 08 */ lwz r7, 8(r6)
|
|
/* 8030E218 0030B178 3B A0 00 00 */ li r29, 0
|
|
/* 8030E21C 0030B17C 80 C6 00 0C */ lwz r6, 0xc(r6)
|
|
/* 8030E220 0030B180 3B 00 00 00 */ li r24, 0
|
|
/* 8030E224 0030B184 91 21 00 08 */ stw r9, 8(r1)
|
|
/* 8030E228 0030B188 AB E3 00 04 */ lha r31, 4(r3)
|
|
/* 8030E22C 0030B18C 91 01 00 0C */ stw r8, 0xc(r1)
|
|
/* 8030E230 0030B190 AB C3 00 06 */ lha r30, 6(r3)
|
|
/* 8030E234 0030B194 90 E1 00 10 */ stw r7, 0x10(r1)
|
|
/* 8030E238 0030B198 90 C1 00 14 */ stw r6, 0x14(r1)
|
|
/* 8030E23C 0030B19C 7C E5 00 2E */ lwzx r7, r5, r0
|
|
/* 8030E240 0030B1A0 54 E6 EE FE */ rlwinm r6, r7, 0x1d, 0x1b, 0x1f
|
|
/* 8030E244 0030B1A4 54 E5 DD 74 */ rlwinm r5, r7, 0x1b, 0x15, 0x1a
|
|
/* 8030E248 0030B1A8 54 E0 C6 36 */ rlwinm r0, r7, 0x18, 0x18, 0x1b
|
|
/* 8030E24C 0030B1AC 50 E5 EE FE */ rlwimi r5, r7, 0x1d, 0x1b, 0x1f
|
|
/* 8030E250 0030B1B0 50 E6 D5 B4 */ rlwimi r6, r7, 0x1a, 0x16, 0x1a
|
|
/* 8030E254 0030B1B4 50 E0 E7 3E */ rlwimi r0, r7, 0x1c, 0x1c, 0x1f
|
|
/* 8030E258 0030B1B8 50 E5 C4 28 */ rlwimi r5, r7, 0x18, 0x10, 0x14
|
|
/* 8030E25C 0030B1BC 50 E6 BC 6A */ rlwimi r6, r7, 0x17, 0x11, 0x15
|
|
/* 8030E260 0030B1C0 50 E0 A5 2E */ rlwimi r0, r7, 0x14, 0x14, 0x17
|
|
/* 8030E264 0030B1C4 54 BB 04 3E */ clrlwi r27, r5, 0x10
|
|
/* 8030E268 0030B1C8 54 DA 04 3E */ clrlwi r26, r6, 0x10
|
|
/* 8030E26C 0030B1CC 54 19 04 3E */ clrlwi r25, r0, 0x10
|
|
/* 8030E270 0030B1D0 40 81 01 28 */ ble lbl_8030E398
|
|
/* 8030E274 0030B1D4 2C 04 00 08 */ cmpwi r4, 8
|
|
/* 8030E278 0030B1D8 38 A4 FF F8 */ addi r5, r4, -8
|
|
/* 8030E27C 0030B1DC 40 81 00 E8 */ ble lbl_8030E364
|
|
/* 8030E280 0030B1E0 38 05 00 07 */ addi r0, r5, 7
|
|
/* 8030E284 0030B1E4 54 00 E8 FE */ srwi r0, r0, 3
|
|
/* 8030E288 0030B1E8 7C 09 03 A6 */ mtctr r0
|
|
/* 8030E28C 0030B1EC 2C 05 00 00 */ cmpwi r5, 0
|
|
/* 8030E290 0030B1F0 40 81 00 D4 */ ble lbl_8030E364
|
|
lbl_8030E294:
|
|
/* 8030E294 0030B1F4 57 E5 0F FE */ srwi r5, r31, 0x1f
|
|
/* 8030E298 0030B1F8 57 C0 0F FE */ srwi r0, r30, 0x1f
|
|
/* 8030E29C 0030B1FC 7C A5 FA 14 */ add r5, r5, r31
|
|
/* 8030E2A0 0030B200 3B 18 00 08 */ addi r24, r24, 8
|
|
/* 8030E2A4 0030B204 7C BC 0E 70 */ srawi r28, r5, 1
|
|
/* 8030E2A8 0030B208 7C 00 F2 14 */ add r0, r0, r30
|
|
/* 8030E2AC 0030B20C 7C 0C 0E 70 */ srawi r12, r0, 1
|
|
/* 8030E2B0 0030B210 7F E0 16 70 */ srawi r0, r31, 2
|
|
/* 8030E2B4 0030B214 7D 60 01 94 */ addze r11, r0
|
|
/* 8030E2B8 0030B218 7F C0 16 70 */ srawi r0, r30, 2
|
|
/* 8030E2BC 0030B21C 7D 40 01 94 */ addze r10, r0
|
|
/* 8030E2C0 0030B220 7F E0 1E 70 */ srawi r0, r31, 3
|
|
/* 8030E2C4 0030B224 7D 20 01 94 */ addze r9, r0
|
|
/* 8030E2C8 0030B228 7F C0 1E 70 */ srawi r0, r30, 3
|
|
/* 8030E2CC 0030B22C 7D 00 01 94 */ addze r8, r0
|
|
/* 8030E2D0 0030B230 7F E0 26 70 */ srawi r0, r31, 4
|
|
/* 8030E2D4 0030B234 7C E0 01 94 */ addze r7, r0
|
|
/* 8030E2D8 0030B238 7F C0 26 70 */ srawi r0, r30, 4
|
|
/* 8030E2DC 0030B23C 7C C0 01 94 */ addze r6, r0
|
|
/* 8030E2E0 0030B240 7E 9F F1 D6 */ mullw r20, r31, r30
|
|
/* 8030E2E4 0030B244 7F E0 2E 70 */ srawi r0, r31, 5
|
|
/* 8030E2E8 0030B248 7C A0 01 94 */ addze r5, r0
|
|
/* 8030E2EC 0030B24C 7F C0 2E 70 */ srawi r0, r30, 5
|
|
/* 8030E2F0 0030B250 7C 00 01 94 */ addze r0, r0
|
|
/* 8030E2F4 0030B254 7F BD A2 14 */ add r29, r29, r20
|
|
/* 8030E2F8 0030B258 7F F5 36 70 */ srawi r21, r31, 6
|
|
/* 8030E2FC 0030B25C 7E 9C 61 D6 */ mullw r20, r28, r12
|
|
/* 8030E300 0030B260 7E B5 01 94 */ addze r21, r21
|
|
/* 8030E304 0030B264 7F D6 36 70 */ srawi r22, r30, 6
|
|
/* 8030E308 0030B268 7E D6 01 94 */ addze r22, r22
|
|
/* 8030E30C 0030B26C 7C 05 01 D6 */ mullw r0, r5, r0
|
|
/* 8030E310 0030B270 7F F7 3E 70 */ srawi r23, r31, 7
|
|
/* 8030E314 0030B274 7F BD A2 14 */ add r29, r29, r20
|
|
/* 8030E318 0030B278 7E F7 01 94 */ addze r23, r23
|
|
/* 8030E31C 0030B27C 7F CC 3E 70 */ srawi r12, r30, 7
|
|
/* 8030E320 0030B280 7D 4B 51 D6 */ mullw r10, r11, r10
|
|
/* 8030E324 0030B284 7F 8C 01 94 */ addze r28, r12
|
|
/* 8030E328 0030B288 7F EC 46 70 */ srawi r12, r31, 8
|
|
/* 8030E32C 0030B28C 7F EC 01 94 */ addze r31, r12
|
|
/* 8030E330 0030B290 7F CC 46 70 */ srawi r12, r30, 8
|
|
/* 8030E334 0030B294 7D 09 41 D6 */ mullw r8, r9, r8
|
|
/* 8030E338 0030B298 7F BD 52 14 */ add r29, r29, r10
|
|
/* 8030E33C 0030B29C 7F CC 01 94 */ addze r30, r12
|
|
/* 8030E340 0030B2A0 7C C7 31 D6 */ mullw r6, r7, r6
|
|
/* 8030E344 0030B2A4 7F BD 42 14 */ add r29, r29, r8
|
|
/* 8030E348 0030B2A8 7F BD 32 14 */ add r29, r29, r6
|
|
/* 8030E34C 0030B2AC 7F BD 02 14 */ add r29, r29, r0
|
|
/* 8030E350 0030B2B0 7C B5 B1 D6 */ mullw r5, r21, r22
|
|
/* 8030E354 0030B2B4 7C 17 E1 D6 */ mullw r0, r23, r28
|
|
/* 8030E358 0030B2B8 7F BD 2A 14 */ add r29, r29, r5
|
|
/* 8030E35C 0030B2BC 7F BD 02 14 */ add r29, r29, r0
|
|
/* 8030E360 0030B2C0 42 00 FF 34 */ bdnz lbl_8030E294
|
|
lbl_8030E364:
|
|
/* 8030E364 0030B2C4 7C 18 20 50 */ subf r0, r24, r4
|
|
/* 8030E368 0030B2C8 7C 09 03 A6 */ mtctr r0
|
|
/* 8030E36C 0030B2CC 7C 18 20 00 */ cmpw r24, r4
|
|
/* 8030E370 0030B2D0 40 80 00 28 */ bge lbl_8030E398
|
|
lbl_8030E374:
|
|
/* 8030E374 0030B2D4 7C BF F1 D6 */ mullw r5, r31, r30
|
|
/* 8030E378 0030B2D8 57 E4 0F FE */ srwi r4, r31, 0x1f
|
|
/* 8030E37C 0030B2DC 57 C0 0F FE */ srwi r0, r30, 0x1f
|
|
/* 8030E380 0030B2E0 7C 84 FA 14 */ add r4, r4, r31
|
|
/* 8030E384 0030B2E4 7C 00 F2 14 */ add r0, r0, r30
|
|
/* 8030E388 0030B2E8 7C 9F 0E 70 */ srawi r31, r4, 1
|
|
/* 8030E38C 0030B2EC 7F BD 2A 14 */ add r29, r29, r5
|
|
/* 8030E390 0030B2F0 7C 1E 0E 70 */ srawi r30, r0, 1
|
|
/* 8030E394 0030B2F4 42 00 FF E0 */ bdnz lbl_8030E374
|
|
lbl_8030E398:
|
|
/* 8030E398 0030B2F8 80 03 00 00 */ lwz r0, 0(r3)
|
|
/* 8030E39C 0030B2FC 2C 00 00 09 */ cmpwi r0, 9
|
|
/* 8030E3A0 0030B300 41 82 02 20 */ beq lbl_8030E5C0
|
|
/* 8030E3A4 0030B304 40 80 00 14 */ bge lbl_8030E3B8
|
|
/* 8030E3A8 0030B308 2C 00 00 07 */ cmpwi r0, 7
|
|
/* 8030E3AC 0030B30C 41 82 00 18 */ beq lbl_8030E3C4
|
|
/* 8030E3B0 0030B310 40 80 01 C4 */ bge lbl_8030E574
|
|
/* 8030E3B4 0030B314 48 00 02 0C */ b lbl_8030E5C0
|
|
lbl_8030E3B8:
|
|
/* 8030E3B8 0030B318 2C 00 00 0B */ cmpwi r0, 0xb
|
|
/* 8030E3BC 0030B31C 40 80 02 04 */ bge lbl_8030E5C0
|
|
/* 8030E3C0 0030B320 48 00 00 C8 */ b lbl_8030E488
|
|
lbl_8030E3C4:
|
|
/* 8030E3C4 0030B324 38 63 00 44 */ addi r3, r3, 0x44
|
|
/* 8030E3C8 0030B328 48 04 9F 6D */ bl GetMRAMSafe__10CARAMTokenFv
|
|
/* 8030E3CC 0030B32C 7D 1F F1 D7 */ mullw. r8, r31, r30
|
|
/* 8030E3D0 0030B330 39 20 00 00 */ li r9, 0
|
|
/* 8030E3D4 0030B334 40 81 01 EC */ ble lbl_8030E5C0
|
|
/* 8030E3D8 0030B338 2C 08 00 08 */ cmpwi r8, 8
|
|
/* 8030E3DC 0030B33C 38 88 FF F8 */ addi r4, r8, -8
|
|
/* 8030E3E0 0030B340 40 81 00 80 */ ble lbl_8030E460
|
|
/* 8030E3E4 0030B344 38 04 00 07 */ addi r0, r4, 7
|
|
/* 8030E3E8 0030B348 54 00 E8 FE */ srwi r0, r0, 3
|
|
/* 8030E3EC 0030B34C 7C 09 03 A6 */ mtctr r0
|
|
/* 8030E3F0 0030B350 2C 04 00 00 */ cmpwi r4, 0
|
|
/* 8030E3F4 0030B354 40 81 00 6C */ ble lbl_8030E460
|
|
lbl_8030E3F8:
|
|
/* 8030E3F8 0030B358 7C E9 EA 14 */ add r7, r9, r29
|
|
/* 8030E3FC 0030B35C 39 29 00 08 */ addi r9, r9, 8
|
|
/* 8030E400 0030B360 54 E4 08 3C */ slwi r4, r7, 1
|
|
/* 8030E404 0030B364 38 07 00 01 */ addi r0, r7, 1
|
|
/* 8030E408 0030B368 7F 63 23 2E */ sthx r27, r3, r4
|
|
/* 8030E40C 0030B36C 54 04 08 3C */ slwi r4, r0, 1
|
|
/* 8030E410 0030B370 38 07 00 02 */ addi r0, r7, 2
|
|
/* 8030E414 0030B374 7F 63 23 2E */ sthx r27, r3, r4
|
|
/* 8030E418 0030B378 54 05 08 3C */ slwi r5, r0, 1
|
|
/* 8030E41C 0030B37C 38 87 00 03 */ addi r4, r7, 3
|
|
/* 8030E420 0030B380 7F 63 2B 2E */ sthx r27, r3, r5
|
|
/* 8030E424 0030B384 54 86 08 3C */ slwi r6, r4, 1
|
|
/* 8030E428 0030B388 38 A7 00 05 */ addi r5, r7, 5
|
|
/* 8030E42C 0030B38C 38 87 00 06 */ addi r4, r7, 6
|
|
/* 8030E430 0030B390 38 07 00 04 */ addi r0, r7, 4
|
|
/* 8030E434 0030B394 7F 63 33 2E */ sthx r27, r3, r6
|
|
/* 8030E438 0030B398 54 06 08 3C */ slwi r6, r0, 1
|
|
/* 8030E43C 0030B39C 54 A5 08 3C */ slwi r5, r5, 1
|
|
/* 8030E440 0030B3A0 7F 63 33 2E */ sthx r27, r3, r6
|
|
/* 8030E444 0030B3A4 38 07 00 07 */ addi r0, r7, 7
|
|
/* 8030E448 0030B3A8 54 84 08 3C */ slwi r4, r4, 1
|
|
/* 8030E44C 0030B3AC 7F 63 2B 2E */ sthx r27, r3, r5
|
|
/* 8030E450 0030B3B0 54 00 08 3C */ slwi r0, r0, 1
|
|
/* 8030E454 0030B3B4 7F 63 23 2E */ sthx r27, r3, r4
|
|
/* 8030E458 0030B3B8 7F 63 03 2E */ sthx r27, r3, r0
|
|
/* 8030E45C 0030B3BC 42 00 FF 9C */ bdnz lbl_8030E3F8
|
|
lbl_8030E460:
|
|
/* 8030E460 0030B3C0 7C 09 40 50 */ subf r0, r9, r8
|
|
/* 8030E464 0030B3C4 7C 09 03 A6 */ mtctr r0
|
|
/* 8030E468 0030B3C8 7C 09 40 00 */ cmpw r9, r8
|
|
/* 8030E46C 0030B3CC 40 80 01 54 */ bge lbl_8030E5C0
|
|
lbl_8030E470:
|
|
/* 8030E470 0030B3D0 7C 09 EA 14 */ add r0, r9, r29
|
|
/* 8030E474 0030B3D4 39 29 00 01 */ addi r9, r9, 1
|
|
/* 8030E478 0030B3D8 54 00 08 3C */ slwi r0, r0, 1
|
|
/* 8030E47C 0030B3DC 7F 63 03 2E */ sthx r27, r3, r0
|
|
/* 8030E480 0030B3E0 42 00 FF F0 */ bdnz lbl_8030E470
|
|
/* 8030E484 0030B3E4 48 00 01 3C */ b lbl_8030E5C0
|
|
lbl_8030E488:
|
|
/* 8030E488 0030B3E8 38 63 00 44 */ addi r3, r3, 0x44
|
|
/* 8030E48C 0030B3EC 48 04 9E A9 */ bl GetMRAMSafe__10CARAMTokenFv
|
|
/* 8030E490 0030B3F0 7C 1F F1 D6 */ mullw r0, r31, r30
|
|
/* 8030E494 0030B3F4 7F A5 16 70 */ srawi r5, r29, 2
|
|
/* 8030E498 0030B3F8 38 80 00 00 */ li r4, 0
|
|
/* 8030E49C 0030B3FC 7C A5 01 94 */ addze r5, r5
|
|
/* 8030E4A0 0030B400 54 A5 08 3C */ slwi r5, r5, 1
|
|
/* 8030E4A4 0030B404 7C 00 26 70 */ srawi r0, r0, 4
|
|
/* 8030E4A8 0030B408 7C 00 01 95 */ addze. r0, r0
|
|
/* 8030E4AC 0030B40C 7C A3 2A 14 */ add r5, r3, r5
|
|
/* 8030E4B0 0030B410 7C 03 03 78 */ mr r3, r0
|
|
/* 8030E4B4 0030B414 40 81 01 0C */ ble lbl_8030E5C0
|
|
/* 8030E4B8 0030B418 54 00 E8 FF */ rlwinm. r0, r0, 0x1d, 3, 0x1f
|
|
/* 8030E4BC 0030B41C 7C 09 03 A6 */ mtctr r0
|
|
/* 8030E4C0 0030B420 41 82 00 94 */ beq lbl_8030E554
|
|
lbl_8030E4C4:
|
|
/* 8030E4C4 0030B424 B3 65 00 00 */ sth r27, 0(r5)
|
|
/* 8030E4C8 0030B428 B3 65 00 02 */ sth r27, 2(r5)
|
|
/* 8030E4CC 0030B42C B0 85 00 04 */ sth r4, 4(r5)
|
|
/* 8030E4D0 0030B430 B0 85 00 06 */ sth r4, 6(r5)
|
|
/* 8030E4D4 0030B434 B3 65 00 08 */ sth r27, 8(r5)
|
|
/* 8030E4D8 0030B438 B3 65 00 0A */ sth r27, 0xa(r5)
|
|
/* 8030E4DC 0030B43C B0 85 00 0C */ sth r4, 0xc(r5)
|
|
/* 8030E4E0 0030B440 B0 85 00 0E */ sth r4, 0xe(r5)
|
|
/* 8030E4E4 0030B444 B3 65 00 10 */ sth r27, 0x10(r5)
|
|
/* 8030E4E8 0030B448 B3 65 00 12 */ sth r27, 0x12(r5)
|
|
/* 8030E4EC 0030B44C B0 85 00 14 */ sth r4, 0x14(r5)
|
|
/* 8030E4F0 0030B450 B0 85 00 16 */ sth r4, 0x16(r5)
|
|
/* 8030E4F4 0030B454 B3 65 00 18 */ sth r27, 0x18(r5)
|
|
/* 8030E4F8 0030B458 B3 65 00 1A */ sth r27, 0x1a(r5)
|
|
/* 8030E4FC 0030B45C B0 85 00 1C */ sth r4, 0x1c(r5)
|
|
/* 8030E500 0030B460 B0 85 00 1E */ sth r4, 0x1e(r5)
|
|
/* 8030E504 0030B464 B3 65 00 20 */ sth r27, 0x20(r5)
|
|
/* 8030E508 0030B468 B3 65 00 22 */ sth r27, 0x22(r5)
|
|
/* 8030E50C 0030B46C B0 85 00 24 */ sth r4, 0x24(r5)
|
|
/* 8030E510 0030B470 B0 85 00 26 */ sth r4, 0x26(r5)
|
|
/* 8030E514 0030B474 B3 65 00 28 */ sth r27, 0x28(r5)
|
|
/* 8030E518 0030B478 B3 65 00 2A */ sth r27, 0x2a(r5)
|
|
/* 8030E51C 0030B47C B0 85 00 2C */ sth r4, 0x2c(r5)
|
|
/* 8030E520 0030B480 B0 85 00 2E */ sth r4, 0x2e(r5)
|
|
/* 8030E524 0030B484 B3 65 00 30 */ sth r27, 0x30(r5)
|
|
/* 8030E528 0030B488 B3 65 00 32 */ sth r27, 0x32(r5)
|
|
/* 8030E52C 0030B48C B0 85 00 34 */ sth r4, 0x34(r5)
|
|
/* 8030E530 0030B490 B0 85 00 36 */ sth r4, 0x36(r5)
|
|
/* 8030E534 0030B494 B3 65 00 38 */ sth r27, 0x38(r5)
|
|
/* 8030E538 0030B498 B3 65 00 3A */ sth r27, 0x3a(r5)
|
|
/* 8030E53C 0030B49C B0 85 00 3C */ sth r4, 0x3c(r5)
|
|
/* 8030E540 0030B4A0 B0 85 00 3E */ sth r4, 0x3e(r5)
|
|
/* 8030E544 0030B4A4 38 A5 00 40 */ addi r5, r5, 0x40
|
|
/* 8030E548 0030B4A8 42 00 FF 7C */ bdnz lbl_8030E4C4
|
|
/* 8030E54C 0030B4AC 70 63 00 07 */ andi. r3, r3, 7
|
|
/* 8030E550 0030B4B0 41 82 00 70 */ beq lbl_8030E5C0
|
|
lbl_8030E554:
|
|
/* 8030E554 0030B4B4 7C 69 03 A6 */ mtctr r3
|
|
lbl_8030E558:
|
|
/* 8030E558 0030B4B8 B3 65 00 00 */ sth r27, 0(r5)
|
|
/* 8030E55C 0030B4BC B3 65 00 02 */ sth r27, 2(r5)
|
|
/* 8030E560 0030B4C0 B0 85 00 04 */ sth r4, 4(r5)
|
|
/* 8030E564 0030B4C4 B0 85 00 06 */ sth r4, 6(r5)
|
|
/* 8030E568 0030B4C8 38 A5 00 08 */ addi r5, r5, 8
|
|
/* 8030E56C 0030B4CC 42 00 FF EC */ bdnz lbl_8030E558
|
|
/* 8030E570 0030B4D0 48 00 00 50 */ b lbl_8030E5C0
|
|
lbl_8030E574:
|
|
/* 8030E574 0030B4D4 38 63 00 44 */ addi r3, r3, 0x44
|
|
/* 8030E578 0030B4D8 48 04 9D BD */ bl GetMRAMSafe__10CARAMTokenFv
|
|
/* 8030E57C 0030B4DC 7C 1F F1 D7 */ mullw. r0, r31, r30
|
|
/* 8030E580 0030B4E0 63 45 80 00 */ ori r5, r26, 0x8000
|
|
/* 8030E584 0030B4E4 38 E0 00 00 */ li r7, 0
|
|
/* 8030E588 0030B4E8 7C 09 03 A6 */ mtctr r0
|
|
/* 8030E58C 0030B4EC 40 81 00 34 */ ble lbl_8030E5C0
|
|
lbl_8030E590:
|
|
/* 8030E590 0030B4F0 7C 07 EA 14 */ add r0, r7, r29
|
|
/* 8030E594 0030B4F4 54 04 08 3C */ slwi r4, r0, 1
|
|
/* 8030E598 0030B4F8 7C C3 22 2E */ lhzx r6, r3, r4
|
|
/* 8030E59C 0030B4FC 54 C0 04 21 */ rlwinm. r0, r6, 0, 0x10, 0x10
|
|
/* 8030E5A0 0030B500 41 82 00 0C */ beq lbl_8030E5AC
|
|
/* 8030E5A4 0030B504 7C A3 23 2E */ sthx r5, r3, r4
|
|
/* 8030E5A8 0030B508 48 00 00 10 */ b lbl_8030E5B8
|
|
lbl_8030E5AC:
|
|
/* 8030E5AC 0030B50C 54 C0 04 26 */ rlwinm r0, r6, 0, 0x10, 0x13
|
|
/* 8030E5B0 0030B510 7C 00 CB 78 */ or r0, r0, r25
|
|
/* 8030E5B4 0030B514 7C 03 23 2E */ sthx r0, r3, r4
|
|
lbl_8030E5B8:
|
|
/* 8030E5B8 0030B518 38 E7 00 01 */ addi r7, r7, 1
|
|
/* 8030E5BC 0030B51C 42 00 FF D4 */ bdnz lbl_8030E590
|
|
lbl_8030E5C0:
|
|
/* 8030E5C0 0030B520 BA 81 00 20 */ lmw r20, 0x20(r1)
|
|
/* 8030E5C4 0030B524 80 01 00 54 */ lwz r0, 0x54(r1)
|
|
/* 8030E5C8 0030B528 7C 08 03 A6 */ mtlr r0
|
|
/* 8030E5CC 0030B52C 38 21 00 50 */ addi r1, r1, 0x50
|
|
/* 8030E5D0 0030B530 4E 80 00 20 */ blr
|
|
|
|
.global GetBitMapData__8CTextureFi
|
|
GetBitMapData__8CTextureFi:
|
|
/* 8030E5D4 0030B534 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 8030E5D8 0030B538 7C 08 02 A6 */ mflr r0
|
|
/* 8030E5DC 0030B53C 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8030E5E0 0030B540 48 00 00 15 */ bl GetConstBitMapData__8CTextureCFi
|
|
/* 8030E5E4 0030B544 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 8030E5E8 0030B548 7C 08 03 A6 */ mtlr r0
|
|
/* 8030E5EC 0030B54C 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 8030E5F0 0030B550 4E 80 00 20 */ blr
|
|
|
|
.global GetConstBitMapData__8CTextureCFi
|
|
GetConstBitMapData__8CTextureCFi:
|
|
/* 8030E5F4 0030B554 94 21 FF C0 */ stwu r1, -0x40(r1)
|
|
/* 8030E5F8 0030B558 7C 08 02 A6 */ mflr r0
|
|
/* 8030E5FC 0030B55C 2C 04 00 00 */ cmpwi r4, 0
|
|
/* 8030E600 0030B560 39 00 00 00 */ li r8, 0
|
|
/* 8030E604 0030B564 90 01 00 44 */ stw r0, 0x44(r1)
|
|
/* 8030E608 0030B568 BE A1 00 14 */ stmw r21, 0x14(r1)
|
|
/* 8030E60C 0030B56C 3B E0 00 00 */ li r31, 0
|
|
/* 8030E610 0030B570 40 81 01 3C */ ble lbl_8030E74C
|
|
/* 8030E614 0030B574 2C 04 00 08 */ cmpwi r4, 8
|
|
/* 8030E618 0030B578 38 A4 FF F8 */ addi r5, r4, -8
|
|
/* 8030E61C 0030B57C 40 81 00 F0 */ ble lbl_8030E70C
|
|
/* 8030E620 0030B580 38 05 00 07 */ addi r0, r5, 7
|
|
/* 8030E624 0030B584 54 00 E8 FE */ srwi r0, r0, 3
|
|
/* 8030E628 0030B588 7C 09 03 A6 */ mtctr r0
|
|
/* 8030E62C 0030B58C 2C 05 00 00 */ cmpwi r5, 0
|
|
/* 8030E630 0030B590 40 81 00 DC */ ble lbl_8030E70C
|
|
lbl_8030E634:
|
|
/* 8030E634 0030B594 88 03 00 09 */ lbz r0, 9(r3)
|
|
/* 8030E638 0030B598 39 28 00 01 */ addi r9, r8, 1
|
|
/* 8030E63C 0030B59C A8 C3 00 04 */ lha r6, 4(r3)
|
|
/* 8030E640 0030B5A0 3B 28 00 02 */ addi r25, r8, 2
|
|
/* 8030E644 0030B5A4 7C 00 07 74 */ extsb r0, r0
|
|
/* 8030E648 0030B5A8 A8 A3 00 06 */ lha r5, 6(r3)
|
|
/* 8030E64C 0030B5AC 7C 07 1E 70 */ srawi r7, r0, 3
|
|
/* 8030E650 0030B5B0 39 88 00 03 */ addi r12, r8, 3
|
|
/* 8030E654 0030B5B4 7C D5 46 30 */ sraw r21, r6, r8
|
|
/* 8030E658 0030B5B8 38 08 00 04 */ addi r0, r8, 4
|
|
/* 8030E65C 0030B5BC 7C BE 46 30 */ sraw r30, r5, r8
|
|
/* 8030E660 0030B5C0 39 68 00 05 */ addi r11, r8, 5
|
|
/* 8030E664 0030B5C4 7C D6 4E 30 */ sraw r22, r6, r9
|
|
/* 8030E668 0030B5C8 39 48 00 06 */ addi r10, r8, 6
|
|
/* 8030E66C 0030B5CC 7C B7 4E 30 */ sraw r23, r5, r9
|
|
/* 8030E670 0030B5D0 39 28 00 07 */ addi r9, r8, 7
|
|
/* 8030E674 0030B5D4 7C D8 CE 30 */ sraw r24, r6, r25
|
|
/* 8030E678 0030B5D8 39 08 00 08 */ addi r8, r8, 8
|
|
/* 8030E67C 0030B5DC 7C B9 CE 30 */ sraw r25, r5, r25
|
|
/* 8030E680 0030B5E0 7C DA 66 30 */ sraw r26, r6, r12
|
|
/* 8030E684 0030B5E4 7C BB 66 30 */ sraw r27, r5, r12
|
|
/* 8030E688 0030B5E8 7C DC 06 30 */ sraw r28, r6, r0
|
|
/* 8030E68C 0030B5EC 7C BD 06 30 */ sraw r29, r5, r0
|
|
/* 8030E690 0030B5F0 7C 15 F1 D6 */ mullw r0, r21, r30
|
|
/* 8030E694 0030B5F4 7C DE 5E 30 */ sraw r30, r6, r11
|
|
/* 8030E698 0030B5F8 7C AC 5E 30 */ sraw r12, r5, r11
|
|
/* 8030E69C 0030B5FC 7C CB 56 30 */ sraw r11, r6, r10
|
|
/* 8030E6A0 0030B600 7C AA 56 30 */ sraw r10, r5, r10
|
|
/* 8030E6A4 0030B604 7C C6 4E 30 */ sraw r6, r6, r9
|
|
/* 8030E6A8 0030B608 7C 07 01 D6 */ mullw r0, r7, r0
|
|
/* 8030E6AC 0030B60C 7C A5 4E 30 */ sraw r5, r5, r9
|
|
/* 8030E6B0 0030B610 7E F6 B9 D6 */ mullw r23, r22, r23
|
|
/* 8030E6B4 0030B614 7F FF 02 14 */ add r31, r31, r0
|
|
/* 8030E6B8 0030B618 7C 07 B9 D6 */ mullw r0, r7, r23
|
|
/* 8030E6BC 0030B61C 7F FF 02 14 */ add r31, r31, r0
|
|
/* 8030E6C0 0030B620 7C 06 29 D6 */ mullw r0, r6, r5
|
|
/* 8030E6C4 0030B624 7F 7A D9 D6 */ mullw r27, r26, r27
|
|
/* 8030E6C8 0030B628 7F BC E9 D6 */ mullw r29, r28, r29
|
|
/* 8030E6CC 0030B62C 7F 38 C9 D6 */ mullw r25, r24, r25
|
|
/* 8030E6D0 0030B630 7D 2B 51 D6 */ mullw r9, r11, r10
|
|
/* 8030E6D4 0030B634 7D 47 C9 D6 */ mullw r10, r7, r25
|
|
/* 8030E6D8 0030B638 7D 9E 61 D6 */ mullw r12, r30, r12
|
|
/* 8030E6DC 0030B63C 7F FF 52 14 */ add r31, r31, r10
|
|
/* 8030E6E0 0030B640 7C C7 D9 D6 */ mullw r6, r7, r27
|
|
/* 8030E6E4 0030B644 7F FF 32 14 */ add r31, r31, r6
|
|
/* 8030E6E8 0030B648 7C A7 E9 D6 */ mullw r5, r7, r29
|
|
/* 8030E6EC 0030B64C 7F FF 2A 14 */ add r31, r31, r5
|
|
/* 8030E6F0 0030B650 7C C7 61 D6 */ mullw r6, r7, r12
|
|
/* 8030E6F4 0030B654 7C A7 49 D6 */ mullw r5, r7, r9
|
|
/* 8030E6F8 0030B658 7F FF 32 14 */ add r31, r31, r6
|
|
/* 8030E6FC 0030B65C 7C 07 01 D6 */ mullw r0, r7, r0
|
|
/* 8030E700 0030B660 7F FF 2A 14 */ add r31, r31, r5
|
|
/* 8030E704 0030B664 7F FF 02 14 */ add r31, r31, r0
|
|
/* 8030E708 0030B668 42 00 FF 2C */ bdnz lbl_8030E634
|
|
lbl_8030E70C:
|
|
/* 8030E70C 0030B66C 7C 08 20 50 */ subf r0, r8, r4
|
|
/* 8030E710 0030B670 7C 09 03 A6 */ mtctr r0
|
|
/* 8030E714 0030B674 7C 08 20 00 */ cmpw r8, r4
|
|
/* 8030E718 0030B678 40 80 00 34 */ bge lbl_8030E74C
|
|
lbl_8030E71C:
|
|
/* 8030E71C 0030B67C 88 03 00 09 */ lbz r0, 9(r3)
|
|
/* 8030E720 0030B680 A8 83 00 04 */ lha r4, 4(r3)
|
|
/* 8030E724 0030B684 7C 05 07 74 */ extsb r5, r0
|
|
/* 8030E728 0030B688 A8 03 00 06 */ lha r0, 6(r3)
|
|
/* 8030E72C 0030B68C 7C A5 1E 70 */ srawi r5, r5, 3
|
|
/* 8030E730 0030B690 7C 84 46 30 */ sraw r4, r4, r8
|
|
/* 8030E734 0030B694 7C 00 46 30 */ sraw r0, r0, r8
|
|
/* 8030E738 0030B698 39 08 00 01 */ addi r8, r8, 1
|
|
/* 8030E73C 0030B69C 7C 04 01 D6 */ mullw r0, r4, r0
|
|
/* 8030E740 0030B6A0 7C 05 01 D6 */ mullw r0, r5, r0
|
|
/* 8030E744 0030B6A4 7F FF 02 14 */ add r31, r31, r0
|
|
/* 8030E748 0030B6A8 42 00 FF D4 */ bdnz lbl_8030E71C
|
|
lbl_8030E74C:
|
|
/* 8030E74C 0030B6AC 38 63 00 44 */ addi r3, r3, 0x44
|
|
/* 8030E750 0030B6B0 48 04 9B E5 */ bl GetMRAMSafe__10CARAMTokenFv
|
|
/* 8030E754 0030B6B4 7C 63 FA 14 */ add r3, r3, r31
|
|
/* 8030E758 0030B6B8 BA A1 00 14 */ lmw r21, 0x14(r1)
|
|
/* 8030E75C 0030B6BC 80 01 00 44 */ lwz r0, 0x44(r1)
|
|
/* 8030E760 0030B6C0 7C 08 03 A6 */ mtlr r0
|
|
/* 8030E764 0030B6C4 38 21 00 40 */ addi r1, r1, 0x40
|
|
/* 8030E768 0030B6C8 4E 80 00 20 */ blr
|
|
|
|
.global FTextureFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer
|
|
FTextureFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer:
|
|
/* 8030E76C 0030B6CC 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 8030E770 0030B6D0 7C 08 02 A6 */ mflr r0
|
|
/* 8030E774 0030B6D4 3C 80 80 3D */ lis r4, lbl_803D7400@ha
|
|
/* 8030E778 0030B6D8 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 8030E77C 0030B6DC 38 84 74 00 */ addi r4, r4, lbl_803D7400@l
|
|
/* 8030E780 0030B6E0 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 8030E784 0030B6E4 7C BF 2B 78 */ mr r31, r5
|
|
/* 8030E788 0030B6E8 38 A0 00 00 */ li r5, 0
|
|
/* 8030E78C 0030B6EC 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
/* 8030E790 0030B6F0 7C 7E 1B 78 */ mr r30, r3
|
|
/* 8030E794 0030B6F4 38 60 00 68 */ li r3, 0x68
|
|
/* 8030E798 0030B6F8 48 00 70 D5 */ bl __nw__FUlPCcPCc
|
|
/* 8030E79C 0030B6FC 7C 64 1B 79 */ or. r4, r3, r3
|
|
/* 8030E7A0 0030B700 41 82 00 18 */ beq lbl_8030E7B8
|
|
/* 8030E7A4 0030B704 7F E4 FB 78 */ mr r4, r31
|
|
/* 8030E7A8 0030B708 38 A0 00 00 */ li r5, 0
|
|
/* 8030E7AC 0030B70C 38 C0 00 00 */ li r6, 0
|
|
/* 8030E7B0 0030B710 48 00 13 15 */ bl __ct__8CTextureFR12CInputStreamQ28CTexture11EAutoMipmapQ28CTexture9EBlackKey
|
|
/* 8030E7B4 0030B714 7C 64 1B 78 */ mr r4, r3
|
|
lbl_8030E7B8:
|
|
/* 8030E7B8 0030B718 7C 04 00 D0 */ neg r0, r4
|
|
/* 8030E7BC 0030B71C 90 81 00 0C */ stw r4, 0xc(r1)
|
|
/* 8030E7C0 0030B720 7C 00 23 78 */ or r0, r0, r4
|
|
/* 8030E7C4 0030B724 38 61 00 10 */ addi r3, r1, 0x10
|
|
/* 8030E7C8 0030B728 54 00 0F FE */ srwi r0, r0, 0x1f
|
|
/* 8030E7CC 0030B72C 38 81 00 08 */ addi r4, r1, 8
|
|
/* 8030E7D0 0030B730 98 01 00 08 */ stb r0, 8(r1)
|
|
/* 8030E7D4 0030B734 48 00 00 81 */ bl "GetIObjObjectFor__17TToken<8CTexture>FRCQ24rstl19auto_ptr<8CTexture>"
|
|
/* 8030E7D8 0030B738 80 61 00 14 */ lwz r3, 0x14(r1)
|
|
/* 8030E7DC 0030B73C 38 00 00 00 */ li r0, 0
|
|
/* 8030E7E0 0030B740 98 01 00 10 */ stb r0, 0x10(r1)
|
|
/* 8030E7E4 0030B744 7C 03 00 D0 */ neg r0, r3
|
|
/* 8030E7E8 0030B748 7C 00 1B 78 */ or r0, r0, r3
|
|
/* 8030E7EC 0030B74C 54 00 0F FE */ srwi r0, r0, 0x1f
|
|
/* 8030E7F0 0030B750 98 1E 00 00 */ stb r0, 0(r30)
|
|
/* 8030E7F4 0030B754 90 7E 00 04 */ stw r3, 4(r30)
|
|
/* 8030E7F8 0030B758 88 01 00 10 */ lbz r0, 0x10(r1)
|
|
/* 8030E7FC 0030B75C 28 00 00 00 */ cmplwi r0, 0
|
|
/* 8030E800 0030B760 41 82 00 24 */ beq lbl_8030E824
|
|
/* 8030E804 0030B764 80 61 00 14 */ lwz r3, 0x14(r1)
|
|
/* 8030E808 0030B768 28 03 00 00 */ cmplwi r3, 0
|
|
/* 8030E80C 0030B76C 41 82 00 18 */ beq lbl_8030E824
|
|
/* 8030E810 0030B770 81 83 00 00 */ lwz r12, 0(r3)
|
|
/* 8030E814 0030B774 38 80 00 01 */ li r4, 1
|
|
/* 8030E818 0030B778 81 8C 00 08 */ lwz r12, 8(r12)
|
|
/* 8030E81C 0030B77C 7D 89 03 A6 */ mtctr r12
|
|
/* 8030E820 0030B780 4E 80 04 21 */ bctrl
|
|
lbl_8030E824:
|
|
/* 8030E824 0030B784 88 01 00 08 */ lbz r0, 8(r1)
|
|
/* 8030E828 0030B788 28 00 00 00 */ cmplwi r0, 0
|
|
/* 8030E82C 0030B78C 41 82 00 10 */ beq lbl_8030E83C
|
|
/* 8030E830 0030B790 80 61 00 0C */ lwz r3, 0xc(r1)
|
|
/* 8030E834 0030B794 38 80 00 01 */ li r4, 1
|
|
/* 8030E838 0030B798 48 00 11 C1 */ bl __dt__8CTextureFv
|
|
lbl_8030E83C:
|
|
/* 8030E83C 0030B79C 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 8030E840 0030B7A0 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 8030E844 0030B7A4 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
/* 8030E848 0030B7A8 7C 08 03 A6 */ mtlr r0
|
|
/* 8030E84C 0030B7AC 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 8030E850 0030B7B0 4E 80 00 20 */ blr
|
|
|
|
.global "GetIObjObjectFor__17TToken<8CTexture>FRCQ24rstl19auto_ptr<8CTexture>"
|
|
"GetIObjObjectFor__17TToken<8CTexture>FRCQ24rstl19auto_ptr<8CTexture>":
|
|
/* 8030E854 0030B7B4 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 8030E858 0030B7B8 7C 08 02 A6 */ mflr r0
|
|
/* 8030E85C 0030B7BC 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8030E860 0030B7C0 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 8030E864 0030B7C4 7C 7F 1B 78 */ mr r31, r3
|
|
/* 8030E868 0030B7C8 48 00 00 19 */ bl "GetNewDerivedObject__35TObjOwnerDerivedFromIObj<8CTexture>FRCQ24rstl19auto_ptr<8CTexture>"
|
|
/* 8030E86C 0030B7CC 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 8030E870 0030B7D0 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 8030E874 0030B7D4 7C 08 03 A6 */ mtlr r0
|
|
/* 8030E878 0030B7D8 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 8030E87C 0030B7DC 4E 80 00 20 */ blr
|
|
|
|
.global "GetNewDerivedObject__35TObjOwnerDerivedFromIObj<8CTexture>FRCQ24rstl19auto_ptr<8CTexture>"
|
|
"GetNewDerivedObject__35TObjOwnerDerivedFromIObj<8CTexture>FRCQ24rstl19auto_ptr<8CTexture>":
|
|
/* 8030E880 0030B7E0 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 8030E884 0030B7E4 7C 08 02 A6 */ mflr r0
|
|
/* 8030E888 0030B7E8 3C A0 80 3D */ lis r5, lbl_803D7400@ha
|
|
/* 8030E88C 0030B7EC 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8030E890 0030B7F0 38 05 74 00 */ addi r0, r5, lbl_803D7400@l
|
|
/* 8030E894 0030B7F4 38 A0 00 00 */ li r5, 0
|
|
/* 8030E898 0030B7F8 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 8030E89C 0030B7FC 7C 9F 23 78 */ mr r31, r4
|
|
/* 8030E8A0 0030B800 7C 04 03 78 */ mr r4, r0
|
|
/* 8030E8A4 0030B804 93 C1 00 08 */ stw r30, 8(r1)
|
|
/* 8030E8A8 0030B808 7C 7E 1B 78 */ mr r30, r3
|
|
/* 8030E8AC 0030B80C 38 60 00 08 */ li r3, 8
|
|
/* 8030E8B0 0030B810 48 00 6F BD */ bl __nw__FUlPCcPCc
|
|
/* 8030E8B4 0030B814 28 03 00 00 */ cmplwi r3, 0
|
|
/* 8030E8B8 0030B818 41 82 00 38 */ beq lbl_8030E8F0
|
|
/* 8030E8BC 0030B81C 3C 80 80 3E */ lis r4, __vt__4IObj@ha
|
|
/* 8030E8C0 0030B820 3C A0 80 3E */ lis r5, __vt__31CObjOwnerDerivedFromIObjUntyped@ha
|
|
/* 8030E8C4 0030B824 38 04 8D 6C */ addi r0, r4, __vt__4IObj@l
|
|
/* 8030E8C8 0030B828 3C 80 80 3E */ lis r4, lbl_803D8D84@ha
|
|
/* 8030E8CC 0030B82C 90 03 00 00 */ stw r0, 0(r3)
|
|
/* 8030E8D0 0030B830 38 C5 8D 78 */ addi r6, r5, __vt__31CObjOwnerDerivedFromIObjUntyped@l
|
|
/* 8030E8D4 0030B834 38 A0 00 00 */ li r5, 0
|
|
/* 8030E8D8 0030B838 38 04 8D 84 */ addi r0, r4, lbl_803D8D84@l
|
|
/* 8030E8DC 0030B83C 90 C3 00 00 */ stw r6, 0(r3)
|
|
/* 8030E8E0 0030B840 98 BF 00 00 */ stb r5, 0(r31)
|
|
/* 8030E8E4 0030B844 80 9F 00 04 */ lwz r4, 4(r31)
|
|
/* 8030E8E8 0030B848 90 83 00 04 */ stw r4, 4(r3)
|
|
/* 8030E8EC 0030B84C 90 03 00 00 */ stw r0, 0(r3)
|
|
lbl_8030E8F0:
|
|
/* 8030E8F0 0030B850 7C 03 00 D0 */ neg r0, r3
|
|
/* 8030E8F4 0030B854 7C 00 1B 78 */ or r0, r0, r3
|
|
/* 8030E8F8 0030B858 54 00 0F FE */ srwi r0, r0, 0x1f
|
|
/* 8030E8FC 0030B85C 98 1E 00 00 */ stb r0, 0(r30)
|
|
/* 8030E900 0030B860 90 7E 00 04 */ stw r3, 4(r30)
|
|
/* 8030E904 0030B864 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 8030E908 0030B868 83 C1 00 08 */ lwz r30, 8(r1)
|
|
/* 8030E90C 0030B86C 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 8030E910 0030B870 7C 08 03 A6 */ mtlr r0
|
|
/* 8030E914 0030B874 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 8030E918 0030B878 4E 80 00 20 */ blr
|
|
|
|
.global UnLock__8CTextureFv
|
|
UnLock__8CTextureFv:
|
|
/* 8030E91C 0030B87C 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 8030E920 0030B880 7C 08 02 A6 */ mflr r0
|
|
/* 8030E924 0030B884 38 80 00 00 */ li r4, 0
|
|
/* 8030E928 0030B888 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8030E92C 0030B88C 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 8030E930 0030B890 7C 7F 1B 78 */ mr r31, r3
|
|
/* 8030E934 0030B894 88 03 00 0A */ lbz r0, 0xa(r3)
|
|
/* 8030E938 0030B898 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18
|
|
/* 8030E93C 0030B89C 98 03 00 0A */ stb r0, 0xa(r3)
|
|
/* 8030E940 0030B8A0 4B FF F8 4D */ bl CountMemory__8CTextureCFv
|
|
/* 8030E944 0030B8A4 38 7F 00 44 */ addi r3, r31, 0x44
|
|
/* 8030E948 0030B8A8 48 04 99 ED */ bl GetMRAMSafe__10CARAMTokenFv
|
|
/* 8030E94C 0030B8AC 80 9F 00 0C */ lwz r4, 0xc(r31)
|
|
/* 8030E950 0030B8B0 38 04 00 1F */ addi r0, r4, 0x1f
|
|
/* 8030E954 0030B8B4 54 04 00 34 */ rlwinm r4, r0, 0, 0, 0x1a
|
|
/* 8030E958 0030B8B8 48 07 01 59 */ bl DCFlushRange
|
|
/* 8030E95C 0030B8BC 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 8030E960 0030B8C0 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 8030E964 0030B8C4 7C 08 03 A6 */ mtlr r0
|
|
/* 8030E968 0030B8C8 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 8030E96C 0030B8CC 4E 80 00 20 */ blr
|
|
|
|
.global InitBitmapBuffers__8CTextureF12ETexelFormatssi
|
|
InitBitmapBuffers__8CTextureF12ETexelFormatssi:
|
|
/* 8030E970 0030B8D0 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 8030E974 0030B8D4 7C 08 02 A6 */ mflr r0
|
|
/* 8030E978 0030B8D8 28 04 00 0A */ cmplwi r4, 0xa
|
|
/* 8030E97C 0030B8DC 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 8030E980 0030B8E0 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 8030E984 0030B8E4 7C 7F 1B 78 */ mr r31, r3
|
|
/* 8030E988 0030B8E8 41 81 00 9C */ bgt lbl_8030EA24
|
|
/* 8030E98C 0030B8EC 3C 60 80 3F */ lis r3, lbl_803ED968@ha
|
|
/* 8030E990 0030B8F0 54 80 10 3A */ slwi r0, r4, 2
|
|
/* 8030E994 0030B8F4 38 63 D9 68 */ addi r3, r3, lbl_803ED968@l
|
|
/* 8030E998 0030B8F8 7C 03 00 2E */ lwzx r0, r3, r0
|
|
/* 8030E99C 0030B8FC 7C 09 03 A6 */ mtctr r0
|
|
/* 8030E9A0 0030B900 4E 80 04 20 */ bctr
|
|
lbl_8030E9A4:
|
|
/* 8030E9A4 0030B904 38 00 00 08 */ li r0, 8
|
|
/* 8030E9A8 0030B908 90 1F 00 1C */ stw r0, 0x1c(r31)
|
|
/* 8030E9AC 0030B90C 48 00 00 78 */ b lbl_8030EA24
|
|
lbl_8030E9B0:
|
|
/* 8030E9B0 0030B910 38 00 00 09 */ li r0, 9
|
|
/* 8030E9B4 0030B914 90 1F 00 1C */ stw r0, 0x1c(r31)
|
|
/* 8030E9B8 0030B918 48 00 00 6C */ b lbl_8030EA24
|
|
lbl_8030E9BC:
|
|
/* 8030E9BC 0030B91C 38 00 00 0A */ li r0, 0xa
|
|
/* 8030E9C0 0030B920 90 1F 00 1C */ stw r0, 0x1c(r31)
|
|
/* 8030E9C4 0030B924 48 00 00 60 */ b lbl_8030EA24
|
|
lbl_8030E9C8:
|
|
/* 8030E9C8 0030B928 38 00 00 00 */ li r0, 0
|
|
/* 8030E9CC 0030B92C 90 1F 00 18 */ stw r0, 0x18(r31)
|
|
/* 8030E9D0 0030B930 48 00 00 54 */ b lbl_8030EA24
|
|
lbl_8030E9D4:
|
|
/* 8030E9D4 0030B934 38 00 00 01 */ li r0, 1
|
|
/* 8030E9D8 0030B938 90 1F 00 18 */ stw r0, 0x18(r31)
|
|
/* 8030E9DC 0030B93C 48 00 00 48 */ b lbl_8030EA24
|
|
lbl_8030E9E0:
|
|
/* 8030E9E0 0030B940 38 00 00 02 */ li r0, 2
|
|
/* 8030E9E4 0030B944 90 1F 00 18 */ stw r0, 0x18(r31)
|
|
/* 8030E9E8 0030B948 48 00 00 3C */ b lbl_8030EA24
|
|
lbl_8030E9EC:
|
|
/* 8030E9EC 0030B94C 38 00 00 03 */ li r0, 3
|
|
/* 8030E9F0 0030B950 90 1F 00 18 */ stw r0, 0x18(r31)
|
|
/* 8030E9F4 0030B954 48 00 00 30 */ b lbl_8030EA24
|
|
lbl_8030E9F8:
|
|
/* 8030E9F8 0030B958 38 00 00 04 */ li r0, 4
|
|
/* 8030E9FC 0030B95C 90 1F 00 18 */ stw r0, 0x18(r31)
|
|
/* 8030EA00 0030B960 48 00 00 24 */ b lbl_8030EA24
|
|
lbl_8030EA04:
|
|
/* 8030EA04 0030B964 38 00 00 05 */ li r0, 5
|
|
/* 8030EA08 0030B968 90 1F 00 18 */ stw r0, 0x18(r31)
|
|
/* 8030EA0C 0030B96C 48 00 00 18 */ b lbl_8030EA24
|
|
lbl_8030EA10:
|
|
/* 8030EA10 0030B970 38 00 00 06 */ li r0, 6
|
|
/* 8030EA14 0030B974 90 1F 00 18 */ stw r0, 0x18(r31)
|
|
/* 8030EA18 0030B978 48 00 00 0C */ b lbl_8030EA24
|
|
lbl_8030EA1C:
|
|
/* 8030EA1C 0030B97C 38 00 00 0E */ li r0, 0xe
|
|
/* 8030EA20 0030B980 90 1F 00 18 */ stw r0, 0x18(r31)
|
|
lbl_8030EA24:
|
|
/* 8030EA24 0030B984 39 20 00 01 */ li r9, 1
|
|
/* 8030EA28 0030B988 81 5F 00 00 */ lwz r10, 0(r31)
|
|
/* 8030EA2C 0030B98C 7C E3 4A 78 */ xor r3, r7, r9
|
|
/* 8030EA30 0030B990 38 00 00 0B */ li r0, 0xb
|
|
/* 8030EA34 0030B994 7C 68 0E 70 */ srawi r8, r3, 1
|
|
/* 8030EA38 0030B998 2C 0A 00 04 */ cmpwi r10, 4
|
|
/* 8030EA3C 0030B99C 7C 64 38 38 */ and r4, r3, r7
|
|
/* 8030EA40 0030B9A0 54 A3 04 3E */ clrlwi r3, r5, 0x10
|
|
/* 8030EA44 0030B9A4 7C A4 40 50 */ subf r5, r4, r8
|
|
/* 8030EA48 0030B9A8 54 C4 04 3E */ clrlwi r4, r6, 0x10
|
|
/* 8030EA4C 0030B9AC 54 A6 0F FE */ srwi r6, r5, 0x1f
|
|
/* 8030EA50 0030B9B0 7C A6 00 D0 */ neg r5, r6
|
|
/* 8030EA54 0030B9B4 7C A5 33 78 */ or r5, r5, r6
|
|
/* 8030EA58 0030B9B8 7C A5 FE 70 */ srawi r5, r5, 0x1f
|
|
/* 8030EA5C 0030B9BC 7C 07 28 38 */ and r7, r0, r5
|
|
/* 8030EA60 0030B9C0 40 82 00 08 */ bne lbl_8030EA68
|
|
/* 8030EA64 0030B9C4 48 00 00 1C */ b lbl_8030EA80
|
|
lbl_8030EA68:
|
|
/* 8030EA68 0030B9C8 2C 0A 00 05 */ cmpwi r10, 5
|
|
/* 8030EA6C 0030B9CC 40 82 00 08 */ bne lbl_8030EA74
|
|
/* 8030EA70 0030B9D0 48 00 00 10 */ b lbl_8030EA80
|
|
lbl_8030EA74:
|
|
/* 8030EA74 0030B9D4 20 0A 00 06 */ subfic r0, r10, 6
|
|
/* 8030EA78 0030B9D8 7C 00 00 34 */ cntlzw r0, r0
|
|
/* 8030EA7C 0030B9DC 54 09 D9 7E */ srwi r9, r0, 5
|
|
lbl_8030EA80:
|
|
/* 8030EA80 0030B9E0 55 20 06 3F */ clrlwi. r0, r9, 0x18
|
|
/* 8030EA84 0030B9E4 41 82 00 0C */ beq lbl_8030EA90
|
|
/* 8030EA88 0030B9E8 80 BF 00 1C */ lwz r5, 0x1c(r31)
|
|
/* 8030EA8C 0030B9EC 48 00 00 08 */ b lbl_8030EA94
|
|
lbl_8030EA90:
|
|
/* 8030EA90 0030B9F0 80 BF 00 18 */ lwz r5, 0x18(r31)
|
|
lbl_8030EA94:
|
|
/* 8030EA94 0030B9F4 54 E7 06 3E */ clrlwi r7, r7, 0x18
|
|
/* 8030EA98 0030B9F8 48 06 B1 A9 */ bl GXGetTexBufferSize
|
|
/* 8030EA9C 0030B9FC 3C A0 80 3D */ lis r5, lbl_803D7400@ha
|
|
/* 8030EAA0 0030BA00 3C 80 80 3D */ lis r4, kUnknownType__10CCallStack@ha
|
|
/* 8030EAA4 0030BA04 90 7F 00 0C */ stw r3, 0xc(r31)
|
|
/* 8030EAA8 0030BA08 38 C4 6A A8 */ addi r6, r4, kUnknownType__10CCallStack@l
|
|
/* 8030EAAC 0030BA0C 38 A5 74 00 */ addi r5, r5, lbl_803D7400@l
|
|
/* 8030EAB0 0030BA10 38 61 00 08 */ addi r3, r1, 8
|
|
/* 8030EAB4 0030BA14 38 80 FF FF */ li r4, -1
|
|
/* 8030EAB8 0030BA18 4B FC 79 1D */ bl __ct__10CCallStackFUiPCcPCc
|
|
/* 8030EABC 0030BA1C 7C 67 1B 78 */ mr r7, r3
|
|
/* 8030EAC0 0030BA20 80 7F 00 0C */ lwz r3, 0xc(r31)
|
|
/* 8030EAC4 0030BA24 38 80 00 02 */ li r4, 2
|
|
/* 8030EAC8 0030BA28 38 A0 00 01 */ li r5, 1
|
|
/* 8030EACC 0030BA2C 38 C0 00 00 */ li r6, 0
|
|
/* 8030EAD0 0030BA30 48 00 6E C5 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack
|
|
/* 8030EAD4 0030BA34 80 BF 00 0C */ lwz r5, 0xc(r31)
|
|
/* 8030EAD8 0030BA38 7C 64 1B 78 */ mr r4, r3
|
|
/* 8030EADC 0030BA3C 38 7F 00 44 */ addi r3, r31, 0x44
|
|
/* 8030EAE0 0030BA40 38 C0 00 01 */ li r6, 1
|
|
/* 8030EAE4 0030BA44 48 04 9D F1 */ bl PostConstruct__10CARAMTokenFPvUii
|
|
/* 8030EAE8 0030BA48 7F E3 FB 78 */ mr r3, r31
|
|
/* 8030EAEC 0030BA4C 4B FF F6 A1 */ bl CountMemory__8CTextureCFv
|
|
/* 8030EAF0 0030BA50 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 8030EAF4 0030BA54 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 8030EAF8 0030BA58 7C 08 03 A6 */ mtlr r0
|
|
/* 8030EAFC 0030BA5C 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 8030EB00 0030BA60 4E 80 00 20 */ blr
|
|
|
|
.global TexelFormatBitsPerPixel__8CTextureF12ETexelFormat
|
|
TexelFormatBitsPerPixel__8CTextureF12ETexelFormat:
|
|
/* 8030EB04 0030BA64 28 03 00 0A */ cmplwi r3, 0xa
|
|
/* 8030EB08 0030BA68 41 81 00 3C */ bgt lbl_8030EB44
|
|
/* 8030EB0C 0030BA6C 3C 80 80 3F */ lis r4, lbl_803ED994@ha
|
|
/* 8030EB10 0030BA70 54 60 10 3A */ slwi r0, r3, 2
|
|
/* 8030EB14 0030BA74 38 64 D9 94 */ addi r3, r4, lbl_803ED994@l
|
|
/* 8030EB18 0030BA78 7C 03 00 2E */ lwzx r0, r3, r0
|
|
/* 8030EB1C 0030BA7C 7C 09 03 A6 */ mtctr r0
|
|
/* 8030EB20 0030BA80 4E 80 04 20 */ bctr
|
|
lbl_8030EB24:
|
|
/* 8030EB24 0030BA84 38 60 00 04 */ li r3, 4
|
|
/* 8030EB28 0030BA88 4E 80 00 20 */ blr
|
|
lbl_8030EB2C:
|
|
/* 8030EB2C 0030BA8C 38 60 00 08 */ li r3, 8
|
|
/* 8030EB30 0030BA90 4E 80 00 20 */ blr
|
|
lbl_8030EB34:
|
|
/* 8030EB34 0030BA94 38 60 00 10 */ li r3, 0x10
|
|
/* 8030EB38 0030BA98 4E 80 00 20 */ blr
|
|
lbl_8030EB3C:
|
|
/* 8030EB3C 0030BA9C 38 60 00 20 */ li r3, 0x20
|
|
/* 8030EB40 0030BAA0 4E 80 00 20 */ blr
|
|
lbl_8030EB44:
|
|
/* 8030EB44 0030BAA4 38 60 00 00 */ li r3, 0
|
|
/* 8030EB48 0030BAA8 4E 80 00 20 */ blr
|
|
|
|
.global IsARAMTransferInProgress__8CTextureCFv
|
|
IsARAMTransferInProgress__8CTextureCFv:
|
|
/* 8030EB4C 0030BAAC 88 03 00 0A */ lbz r0, 0xa(r3)
|
|
/* 8030EB50 0030BAB0 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f
|
|
/* 8030EB54 0030BAB4 41 82 00 0C */ beq lbl_8030EB60
|
|
/* 8030EB58 0030BAB8 38 60 00 00 */ li r3, 0
|
|
/* 8030EB5C 0030BABC 4E 80 00 20 */ blr
|
|
lbl_8030EB60:
|
|
/* 8030EB60 0030BAC0 80 03 00 44 */ lwz r0, 0x44(r3)
|
|
/* 8030EB64 0030BAC4 38 60 00 00 */ li r3, 0
|
|
/* 8030EB68 0030BAC8 2C 00 00 02 */ cmpwi r0, 2
|
|
/* 8030EB6C 0030BACC 4D 80 00 20 */ bltlr
|
|
/* 8030EB70 0030BAD0 2C 00 00 05 */ cmpwi r0, 5
|
|
/* 8030EB74 0030BAD4 4D 81 00 20 */ bgtlr
|
|
/* 8030EB78 0030BAD8 38 60 00 01 */ li r3, 1
|
|
/* 8030EB7C 0030BADC 4E 80 00 20 */ blr
|
|
|
|
.global LoadToARAM__8CTextureCFv
|
|
LoadToARAM__8CTextureCFv:
|
|
/* 8030EB80 0030BAE0 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 8030EB84 0030BAE4 7C 08 02 A6 */ mflr r0
|
|
/* 8030EB88 0030BAE8 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8030EB8C 0030BAEC 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 8030EB90 0030BAF0 93 C1 00 08 */ stw r30, 8(r1)
|
|
/* 8030EB94 0030BAF4 7C 7E 1B 78 */ mr r30, r3
|
|
/* 8030EB98 0030BAF8 80 03 00 44 */ lwz r0, 0x44(r3)
|
|
/* 8030EB9C 0030BAFC 2C 00 00 06 */ cmpwi r0, 6
|
|
/* 8030EBA0 0030BB00 40 82 00 0C */ bne lbl_8030EBAC
|
|
/* 8030EBA4 0030BB04 38 60 00 00 */ li r3, 0
|
|
/* 8030EBA8 0030BB08 48 00 00 68 */ b lbl_8030EC10
|
|
lbl_8030EBAC:
|
|
/* 8030EBAC 0030BB0C 88 1E 00 0A */ lbz r0, 0xa(r30)
|
|
/* 8030EBB0 0030BB10 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f
|
|
/* 8030EBB4 0030BB14 41 82 00 0C */ beq lbl_8030EBC0
|
|
/* 8030EBB8 0030BB18 38 60 00 00 */ li r3, 0
|
|
/* 8030EBBC 0030BB1C 48 00 00 54 */ b lbl_8030EC10
|
|
lbl_8030EBC0:
|
|
/* 8030EBC0 0030BB20 80 6D A8 70 */ lwz r3, sCurrentFrameCount__8CTexture@sda21(r13)
|
|
/* 8030EBC4 0030BB24 80 9E 00 64 */ lwz r4, 0x64(r30)
|
|
/* 8030EBC8 0030BB28 38 03 FF FF */ addi r0, r3, -1
|
|
/* 8030EBCC 0030BB2C 7C 04 00 40 */ cmplw r4, r0
|
|
/* 8030EBD0 0030BB30 40 80 00 3C */ bge lbl_8030EC0C
|
|
/* 8030EBD4 0030BB34 38 7E 00 44 */ addi r3, r30, 0x44
|
|
/* 8030EBD8 0030BB38 48 04 9A A1 */ bl LoadToARAM__10CARAMTokenFv
|
|
/* 8030EBDC 0030BB3C 80 1E 00 44 */ lwz r0, 0x44(r30)
|
|
/* 8030EBE0 0030BB40 7C 7F 1B 78 */ mr r31, r3
|
|
/* 8030EBE4 0030BB44 2C 00 00 01 */ cmpwi r0, 1
|
|
/* 8030EBE8 0030BB48 41 82 00 1C */ beq lbl_8030EC04
|
|
/* 8030EBEC 0030BB4C 7F C3 F3 78 */ mr r3, r30
|
|
/* 8030EBF0 0030BB50 4B FF F5 71 */ bl UncountMemory__8CTextureCFv
|
|
/* 8030EBF4 0030BB54 88 1E 00 0A */ lbz r0, 0xa(r30)
|
|
/* 8030EBF8 0030BB58 38 60 00 01 */ li r3, 1
|
|
/* 8030EBFC 0030BB5C 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d
|
|
/* 8030EC00 0030BB60 98 1E 00 0A */ stb r0, 0xa(r30)
|
|
lbl_8030EC04:
|
|
/* 8030EC04 0030BB64 7F E3 FB 78 */ mr r3, r31
|
|
/* 8030EC08 0030BB68 48 00 00 08 */ b lbl_8030EC10
|
|
lbl_8030EC0C:
|
|
/* 8030EC0C 0030BB6C 38 60 00 00 */ li r3, 0
|
|
lbl_8030EC10:
|
|
/* 8030EC10 0030BB70 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 8030EC14 0030BB74 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 8030EC18 0030BB78 83 C1 00 08 */ lwz r30, 8(r1)
|
|
/* 8030EC1C 0030BB7C 7C 08 03 A6 */ mtlr r0
|
|
/* 8030EC20 0030BB80 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 8030EC24 0030BB84 4E 80 00 20 */ blr
|
|
|
|
.global LoadToMRAM__8CTextureCFv
|
|
LoadToMRAM__8CTextureCFv:
|
|
/* 8030EC28 0030BB88 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 8030EC2C 0030BB8C 7C 08 02 A6 */ mflr r0
|
|
/* 8030EC30 0030BB90 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8030EC34 0030BB94 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 8030EC38 0030BB98 7C 7F 1B 78 */ mr r31, r3
|
|
/* 8030EC3C 0030BB9C 80 03 00 44 */ lwz r0, 0x44(r3)
|
|
/* 8030EC40 0030BBA0 2C 00 00 06 */ cmpwi r0, 6
|
|
/* 8030EC44 0030BBA4 40 82 00 0C */ bne lbl_8030EC50
|
|
/* 8030EC48 0030BBA8 38 60 00 00 */ li r3, 0
|
|
/* 8030EC4C 0030BBAC 48 00 00 18 */ b lbl_8030EC64
|
|
lbl_8030EC50:
|
|
/* 8030EC50 0030BBB0 80 0D A8 70 */ lwz r0, sCurrentFrameCount__8CTexture@sda21(r13)
|
|
/* 8030EC54 0030BBB4 90 1F 00 64 */ stw r0, 0x64(r31)
|
|
/* 8030EC58 0030BBB8 4B FF F5 35 */ bl CountMemory__8CTextureCFv
|
|
/* 8030EC5C 0030BBBC 38 7F 00 44 */ addi r3, r31, 0x44
|
|
/* 8030EC60 0030BBC0 48 04 9B 0D */ bl LoadToMRAM__10CARAMTokenFv
|
|
lbl_8030EC64:
|
|
/* 8030EC64 0030BBC4 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 8030EC68 0030BBC8 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 8030EC6C 0030BBCC 7C 08 03 A6 */ mtlr r0
|
|
/* 8030EC70 0030BBD0 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 8030EC74 0030BBD4 4E 80 00 20 */ blr
|
|
|
|
.global TryBuildReloadedBitmapData__Q28CTexture25CDumpedBitmapDataReloaderFR11CResFactory
|
|
TryBuildReloadedBitmapData__Q28CTexture25CDumpedBitmapDataReloaderFR11CResFactory:
|
|
/* 8030EC78 0030BBD8 94 21 FF A0 */ stwu r1, -0x60(r1)
|
|
/* 8030EC7C 0030BBDC 7C 08 02 A6 */ mflr r0
|
|
/* 8030EC80 0030BBE0 90 01 00 64 */ stw r0, 0x64(r1)
|
|
/* 8030EC84 0030BBE4 BF 21 00 44 */ stmw r25, 0x44(r1)
|
|
/* 8030EC88 0030BBE8 7C 7F 1B 78 */ mr r31, r3
|
|
/* 8030EC8C 0030BBEC 7C 99 23 78 */ mr r25, r4
|
|
/* 8030EC90 0030BBF0 80 63 00 14 */ lwz r3, 0x14(r3)
|
|
/* 8030EC94 0030BBF4 81 83 00 00 */ lwz r12, 0(r3)
|
|
/* 8030EC98 0030BBF8 81 8C 00 10 */ lwz r12, 0x10(r12)
|
|
/* 8030EC9C 0030BBFC 7D 89 03 A6 */ mtctr r12
|
|
/* 8030ECA0 0030BC00 4E 80 04 21 */ bctrl
|
|
/* 8030ECA4 0030BC04 54 60 06 3F */ clrlwi. r0, r3, 0x18
|
|
/* 8030ECA8 0030BC08 41 82 02 B0 */ beq lbl_8030EF58
|
|
/* 8030ECAC 0030BC0C 38 00 00 02 */ li r0, 2
|
|
/* 8030ECB0 0030BC10 90 1F 00 00 */ stw r0, 0(r31)
|
|
/* 8030ECB4 0030BC14 80 7F 00 14 */ lwz r3, 0x14(r31)
|
|
/* 8030ECB8 0030BC18 28 03 00 00 */ cmplwi r3, 0
|
|
/* 8030ECBC 0030BC1C 41 82 00 18 */ beq lbl_8030ECD4
|
|
/* 8030ECC0 0030BC20 81 83 00 00 */ lwz r12, 0(r3)
|
|
/* 8030ECC4 0030BC24 38 80 00 01 */ li r4, 1
|
|
/* 8030ECC8 0030BC28 81 8C 00 08 */ lwz r12, 8(r12)
|
|
/* 8030ECCC 0030BC2C 7D 89 03 A6 */ mtctr r12
|
|
/* 8030ECD0 0030BC30 4E 80 04 21 */ bctrl
|
|
lbl_8030ECD4:
|
|
/* 8030ECD4 0030BC34 38 00 00 00 */ li r0, 0
|
|
/* 8030ECD8 0030BC38 3C 60 54 58 */ lis r3, 0x54585452@ha
|
|
/* 8030ECDC 0030BC3C 90 1F 00 14 */ stw r0, 0x14(r31)
|
|
/* 8030ECE0 0030BC40 38 03 54 52 */ addi r0, r3, 0x54585452@l
|
|
/* 8030ECE4 0030BC44 38 79 00 04 */ addi r3, r25, 4
|
|
/* 8030ECE8 0030BC48 38 81 00 14 */ addi r4, r1, 0x14
|
|
/* 8030ECEC 0030BC4C 80 BF 00 04 */ lwz r5, 4(r31)
|
|
/* 8030ECF0 0030BC50 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8030ECF4 0030BC54 90 A1 00 18 */ stw r5, 0x18(r1)
|
|
/* 8030ECF8 0030BC58 80 BF 00 18 */ lwz r5, 0x18(r31)
|
|
/* 8030ECFC 0030BC5C 48 02 CB 55 */ bl LoadResourceFromMemorySync__10CResLoaderFRC10SObjectTagPCv
|
|
/* 8030ED00 0030BC60 7C 7A 1B 78 */ mr r26, r3
|
|
/* 8030ED04 0030BC64 93 41 00 08 */ stw r26, 8(r1)
|
|
/* 8030ED08 0030BC68 48 02 FF 7D */ bl ReadLong__12CInputStreamFv
|
|
/* 8030ED0C 0030BC6C 7C 60 1B 78 */ mr r0, r3
|
|
/* 8030ED10 0030BC70 7F 43 D3 78 */ mr r3, r26
|
|
/* 8030ED14 0030BC74 7C 19 03 78 */ mr r25, r0
|
|
/* 8030ED18 0030BC78 48 02 FF 99 */ bl ReadShort__12CInputStreamFv
|
|
/* 8030ED1C 0030BC7C 7C 7D 07 34 */ extsh r29, r3
|
|
/* 8030ED20 0030BC80 7F 43 D3 78 */ mr r3, r26
|
|
/* 8030ED24 0030BC84 48 02 FF 8D */ bl ReadShort__12CInputStreamFv
|
|
/* 8030ED28 0030BC88 7C 7C 07 34 */ extsh r28, r3
|
|
/* 8030ED2C 0030BC8C 7F 43 D3 78 */ mr r3, r26
|
|
/* 8030ED30 0030BC90 48 02 FF 55 */ bl ReadLong__12CInputStreamFv
|
|
/* 8030ED34 0030BC94 7C 7B 1B 78 */ mr r27, r3
|
|
/* 8030ED38 0030BC98 7F 23 CB 78 */ mr r3, r25
|
|
/* 8030ED3C 0030BC9C 4B FF FD C9 */ bl TexelFormatBitsPerPixel__8CTextureF12ETexelFormat
|
|
/* 8030ED40 0030BCA0 2C 19 00 04 */ cmpwi r25, 4
|
|
/* 8030ED44 0030BCA4 7C 7E 1B 78 */ mr r30, r3
|
|
/* 8030ED48 0030BCA8 40 82 00 0C */ bne lbl_8030ED54
|
|
/* 8030ED4C 0030BCAC 38 00 00 01 */ li r0, 1
|
|
/* 8030ED50 0030BCB0 48 00 00 20 */ b lbl_8030ED70
|
|
lbl_8030ED54:
|
|
/* 8030ED54 0030BCB4 2C 19 00 05 */ cmpwi r25, 5
|
|
/* 8030ED58 0030BCB8 40 82 00 0C */ bne lbl_8030ED64
|
|
/* 8030ED5C 0030BCBC 38 00 00 01 */ li r0, 1
|
|
/* 8030ED60 0030BCC0 48 00 00 10 */ b lbl_8030ED70
|
|
lbl_8030ED64:
|
|
/* 8030ED64 0030BCC4 20 19 00 06 */ subfic r0, r25, 6
|
|
/* 8030ED68 0030BCC8 7C 00 00 34 */ cntlzw r0, r0
|
|
/* 8030ED6C 0030BCCC 54 00 D9 7E */ srwi r0, r0, 5
|
|
lbl_8030ED70:
|
|
/* 8030ED70 0030BCD0 54 00 06 3F */ clrlwi. r0, r0, 0x18
|
|
/* 8030ED74 0030BCD4 41 82 00 1C */ beq lbl_8030ED90
|
|
/* 8030ED78 0030BCD8 7F 44 D3 78 */ mr r4, r26
|
|
/* 8030ED7C 0030BCDC 38 61 00 1C */ addi r3, r1, 0x1c
|
|
/* 8030ED80 0030BCE0 4B FF F2 09 */ bl __ct__16CGraphicsPaletteFR12CInputStream
|
|
/* 8030ED84 0030BCE4 38 61 00 1C */ addi r3, r1, 0x1c
|
|
/* 8030ED88 0030BCE8 38 80 FF FF */ li r4, -1
|
|
/* 8030ED8C 0030BCEC 4B FF F1 75 */ bl __dt__16CGraphicsPaletteFv
|
|
lbl_8030ED90:
|
|
/* 8030ED90 0030BCF0 2C 1B 00 00 */ cmpwi r27, 0
|
|
/* 8030ED94 0030BCF4 3B 20 00 00 */ li r25, 0
|
|
/* 8030ED98 0030BCF8 38 A0 00 00 */ li r5, 0
|
|
/* 8030ED9C 0030BCFC 40 81 01 00 */ ble lbl_8030EE9C
|
|
/* 8030EDA0 0030BD00 57 60 F0 BF */ rlwinm. r0, r27, 0x1e, 2, 0x1f
|
|
/* 8030EDA4 0030BD04 7C 09 03 A6 */ mtctr r0
|
|
/* 8030EDA8 0030BD08 41 82 00 C0 */ beq lbl_8030EE68
|
|
lbl_8030EDAC:
|
|
/* 8030EDAC 0030BD0C 7F A4 2E 30 */ sraw r4, r29, r5
|
|
/* 8030EDB0 0030BD10 7F 83 2E 30 */ sraw r3, r28, r5
|
|
/* 8030EDB4 0030BD14 38 A5 00 01 */ addi r5, r5, 1
|
|
/* 8030EDB8 0030BD18 38 03 00 03 */ addi r0, r3, 3
|
|
/* 8030EDBC 0030BD1C 38 84 00 03 */ addi r4, r4, 3
|
|
/* 8030EDC0 0030BD20 54 83 00 3A */ rlwinm r3, r4, 0, 0, 0x1d
|
|
/* 8030EDC4 0030BD24 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d
|
|
/* 8030EDC8 0030BD28 7C 03 01 D6 */ mullw r0, r3, r0
|
|
/* 8030EDCC 0030BD2C 7C 00 F1 D6 */ mullw r0, r0, r30
|
|
/* 8030EDD0 0030BD30 7C 00 1E 70 */ srawi r0, r0, 3
|
|
/* 8030EDD4 0030BD34 7F A4 2E 30 */ sraw r4, r29, r5
|
|
/* 8030EDD8 0030BD38 7F 83 2E 30 */ sraw r3, r28, r5
|
|
/* 8030EDDC 0030BD3C 7F 39 02 14 */ add r25, r25, r0
|
|
/* 8030EDE0 0030BD40 38 03 00 03 */ addi r0, r3, 3
|
|
/* 8030EDE4 0030BD44 38 84 00 03 */ addi r4, r4, 3
|
|
/* 8030EDE8 0030BD48 54 83 00 3A */ rlwinm r3, r4, 0, 0, 0x1d
|
|
/* 8030EDEC 0030BD4C 38 A5 00 01 */ addi r5, r5, 1
|
|
/* 8030EDF0 0030BD50 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d
|
|
/* 8030EDF4 0030BD54 7C 03 01 D6 */ mullw r0, r3, r0
|
|
/* 8030EDF8 0030BD58 7C 00 F1 D6 */ mullw r0, r0, r30
|
|
/* 8030EDFC 0030BD5C 7C 00 1E 70 */ srawi r0, r0, 3
|
|
/* 8030EE00 0030BD60 7F A4 2E 30 */ sraw r4, r29, r5
|
|
/* 8030EE04 0030BD64 7F 83 2E 30 */ sraw r3, r28, r5
|
|
/* 8030EE08 0030BD68 7F 39 02 14 */ add r25, r25, r0
|
|
/* 8030EE0C 0030BD6C 38 03 00 03 */ addi r0, r3, 3
|
|
/* 8030EE10 0030BD70 38 84 00 03 */ addi r4, r4, 3
|
|
/* 8030EE14 0030BD74 54 83 00 3A */ rlwinm r3, r4, 0, 0, 0x1d
|
|
/* 8030EE18 0030BD78 38 A5 00 01 */ addi r5, r5, 1
|
|
/* 8030EE1C 0030BD7C 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d
|
|
/* 8030EE20 0030BD80 7C 03 01 D6 */ mullw r0, r3, r0
|
|
/* 8030EE24 0030BD84 7C 00 F1 D6 */ mullw r0, r0, r30
|
|
/* 8030EE28 0030BD88 7C 00 1E 70 */ srawi r0, r0, 3
|
|
/* 8030EE2C 0030BD8C 7F A4 2E 30 */ sraw r4, r29, r5
|
|
/* 8030EE30 0030BD90 7F 83 2E 30 */ sraw r3, r28, r5
|
|
/* 8030EE34 0030BD94 7F 39 02 14 */ add r25, r25, r0
|
|
/* 8030EE38 0030BD98 38 03 00 03 */ addi r0, r3, 3
|
|
/* 8030EE3C 0030BD9C 38 84 00 03 */ addi r4, r4, 3
|
|
/* 8030EE40 0030BDA0 54 83 00 3A */ rlwinm r3, r4, 0, 0, 0x1d
|
|
/* 8030EE44 0030BDA4 38 A5 00 01 */ addi r5, r5, 1
|
|
/* 8030EE48 0030BDA8 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d
|
|
/* 8030EE4C 0030BDAC 7C 03 01 D6 */ mullw r0, r3, r0
|
|
/* 8030EE50 0030BDB0 7C 00 F1 D6 */ mullw r0, r0, r30
|
|
/* 8030EE54 0030BDB4 7C 00 1E 70 */ srawi r0, r0, 3
|
|
/* 8030EE58 0030BDB8 7F 39 02 14 */ add r25, r25, r0
|
|
/* 8030EE5C 0030BDBC 42 00 FF 50 */ bdnz lbl_8030EDAC
|
|
/* 8030EE60 0030BDC0 73 7B 00 03 */ andi. r27, r27, 3
|
|
/* 8030EE64 0030BDC4 41 82 00 38 */ beq lbl_8030EE9C
|
|
lbl_8030EE68:
|
|
/* 8030EE68 0030BDC8 7F 69 03 A6 */ mtctr r27
|
|
lbl_8030EE6C:
|
|
/* 8030EE6C 0030BDCC 7F A4 2E 30 */ sraw r4, r29, r5
|
|
/* 8030EE70 0030BDD0 7F 83 2E 30 */ sraw r3, r28, r5
|
|
/* 8030EE74 0030BDD4 38 A5 00 01 */ addi r5, r5, 1
|
|
/* 8030EE78 0030BDD8 38 03 00 03 */ addi r0, r3, 3
|
|
/* 8030EE7C 0030BDDC 38 84 00 03 */ addi r4, r4, 3
|
|
/* 8030EE80 0030BDE0 54 83 00 3A */ rlwinm r3, r4, 0, 0, 0x1d
|
|
/* 8030EE84 0030BDE4 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d
|
|
/* 8030EE88 0030BDE8 7C 03 01 D6 */ mullw r0, r3, r0
|
|
/* 8030EE8C 0030BDEC 7C 00 F1 D6 */ mullw r0, r0, r30
|
|
/* 8030EE90 0030BDF0 7C 00 1E 70 */ srawi r0, r0, 3
|
|
/* 8030EE94 0030BDF4 7F 39 02 14 */ add r25, r25, r0
|
|
/* 8030EE98 0030BDF8 42 00 FF D4 */ bdnz lbl_8030EE6C
|
|
lbl_8030EE9C:
|
|
/* 8030EE9C 0030BDFC 3C 60 80 3D */ lis r3, lbl_803D7400@ha
|
|
/* 8030EEA0 0030BE00 3C 80 80 3D */ lis r4, kUnknownType__10CCallStack@ha
|
|
/* 8030EEA4 0030BE04 38 A3 74 00 */ addi r5, r3, lbl_803D7400@l
|
|
/* 8030EEA8 0030BE08 38 C4 6A A8 */ addi r6, r4, kUnknownType__10CCallStack@l
|
|
/* 8030EEAC 0030BE0C 38 61 00 0C */ addi r3, r1, 0xc
|
|
/* 8030EEB0 0030BE10 38 80 FF FF */ li r4, -1
|
|
/* 8030EEB4 0030BE14 4B FC 75 21 */ bl __ct__10CCallStackFUiPCcPCc
|
|
/* 8030EEB8 0030BE18 7C 67 1B 78 */ mr r7, r3
|
|
/* 8030EEBC 0030BE1C 80 7F 00 0C */ lwz r3, 0xc(r31)
|
|
/* 8030EEC0 0030BE20 38 80 00 02 */ li r4, 2
|
|
/* 8030EEC4 0030BE24 38 A0 00 01 */ li r5, 1
|
|
/* 8030EEC8 0030BE28 38 C0 00 00 */ li r6, 0
|
|
/* 8030EECC 0030BE2C 48 00 6A C9 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack
|
|
/* 8030EED0 0030BE30 3B A0 00 00 */ li r29, 0
|
|
/* 8030EED4 0030BE34 7C 7C 1B 78 */ mr r28, r3
|
|
/* 8030EED8 0030BE38 48 00 00 3C */ b lbl_8030EF14
|
|
lbl_8030EEDC:
|
|
/* 8030EEDC 0030BE3C 7F DD C8 50 */ subf r30, r29, r25
|
|
/* 8030EEE0 0030BE40 2C 1E 01 00 */ cmpwi r30, 0x100
|
|
/* 8030EEE4 0030BE44 40 81 00 08 */ ble lbl_8030EEEC
|
|
/* 8030EEE8 0030BE48 3B C0 01 00 */ li r30, 0x100
|
|
lbl_8030EEEC:
|
|
/* 8030EEEC 0030BE4C 7F 7C EA 14 */ add r27, r28, r29
|
|
/* 8030EEF0 0030BE50 7F 43 D3 78 */ mr r3, r26
|
|
/* 8030EEF4 0030BE54 7F 64 DB 78 */ mr r4, r27
|
|
/* 8030EEF8 0030BE58 7F C5 F3 78 */ mr r5, r30
|
|
/* 8030EEFC 0030BE5C 48 03 00 59 */ bl Get__12CInputStreamFPvUl
|
|
/* 8030EF00 0030BE60 38 1E 00 1F */ addi r0, r30, 0x1f
|
|
/* 8030EF04 0030BE64 7F 63 DB 78 */ mr r3, r27
|
|
/* 8030EF08 0030BE68 54 04 00 34 */ rlwinm r4, r0, 0, 0, 0x1a
|
|
/* 8030EF0C 0030BE6C 48 06 FC 05 */ bl DCFlushRangeNoSync
|
|
/* 8030EF10 0030BE70 7F BD F2 14 */ add r29, r29, r30
|
|
lbl_8030EF14:
|
|
/* 8030EF14 0030BE74 7C 1D C8 00 */ cmpw r29, r25
|
|
/* 8030EF18 0030BE78 41 80 FF C4 */ blt lbl_8030EEDC
|
|
/* 8030EF1C 0030BE7C 48 06 08 F1 */ bl PPCSync
|
|
/* 8030EF20 0030BE80 80 7F 00 18 */ lwz r3, 0x18(r31)
|
|
/* 8030EF24 0030BE84 48 00 6A 0D */ bl Free__7CMemoryFPCv
|
|
/* 8030EF28 0030BE88 80 61 00 08 */ lwz r3, 8(r1)
|
|
/* 8030EF2C 0030BE8C 38 00 00 00 */ li r0, 0
|
|
/* 8030EF30 0030BE90 90 1F 00 18 */ stw r0, 0x18(r31)
|
|
/* 8030EF34 0030BE94 28 03 00 00 */ cmplwi r3, 0
|
|
/* 8030EF38 0030BE98 41 82 00 18 */ beq lbl_8030EF50
|
|
/* 8030EF3C 0030BE9C 81 83 00 00 */ lwz r12, 0(r3)
|
|
/* 8030EF40 0030BEA0 38 80 00 01 */ li r4, 1
|
|
/* 8030EF44 0030BEA4 81 8C 00 08 */ lwz r12, 8(r12)
|
|
/* 8030EF48 0030BEA8 7D 89 03 A6 */ mtctr r12
|
|
/* 8030EF4C 0030BEAC 4E 80 04 21 */ bctrl
|
|
lbl_8030EF50:
|
|
/* 8030EF50 0030BEB0 7F 83 E3 78 */ mr r3, r28
|
|
/* 8030EF54 0030BEB4 48 00 00 08 */ b lbl_8030EF5C
|
|
lbl_8030EF58:
|
|
/* 8030EF58 0030BEB8 38 60 00 00 */ li r3, 0
|
|
lbl_8030EF5C:
|
|
/* 8030EF5C 0030BEBC BB 21 00 44 */ lmw r25, 0x44(r1)
|
|
/* 8030EF60 0030BEC0 80 01 00 64 */ lwz r0, 0x64(r1)
|
|
/* 8030EF64 0030BEC4 7C 08 03 A6 */ mtlr r0
|
|
/* 8030EF68 0030BEC8 38 21 00 60 */ addi r1, r1, 0x60
|
|
/* 8030EF6C 0030BECC 4E 80 00 20 */ blr
|
|
|
|
.global BeginReloadBitmapData__Q28CTexture25CDumpedBitmapDataReloaderFR11CResFactory
|
|
BeginReloadBitmapData__Q28CTexture25CDumpedBitmapDataReloaderFR11CResFactory:
|
|
/* 8030EF70 0030BED0 94 21 FF D0 */ stwu r1, -0x30(r1)
|
|
/* 8030EF74 0030BED4 7C 08 02 A6 */ mflr r0
|
|
/* 8030EF78 0030BED8 90 01 00 34 */ stw r0, 0x34(r1)
|
|
/* 8030EF7C 0030BEDC 93 E1 00 2C */ stw r31, 0x2c(r1)
|
|
/* 8030EF80 0030BEE0 93 C1 00 28 */ stw r30, 0x28(r1)
|
|
/* 8030EF84 0030BEE4 7C 9E 23 78 */ mr r30, r4
|
|
/* 8030EF88 0030BEE8 93 A1 00 24 */ stw r29, 0x24(r1)
|
|
/* 8030EF8C 0030BEEC 7C 7D 1B 78 */ mr r29, r3
|
|
/* 8030EF90 0030BEF0 80 03 00 00 */ lwz r0, 0(r3)
|
|
/* 8030EF94 0030BEF4 2C 00 00 00 */ cmpwi r0, 0
|
|
/* 8030EF98 0030BEF8 40 82 00 B0 */ bne lbl_8030F048
|
|
/* 8030EF9C 0030BEFC 80 BD 00 04 */ lwz r5, 4(r29)
|
|
/* 8030EFA0 0030BF00 3C 60 54 58 */ lis r3, 0x54585452@ha
|
|
/* 8030EFA4 0030BF04 38 03 54 52 */ addi r0, r3, 0x54585452@l
|
|
/* 8030EFA8 0030BF08 38 7E 00 04 */ addi r3, r30, 4
|
|
/* 8030EFAC 0030BF0C 90 01 00 10 */ stw r0, 0x10(r1)
|
|
/* 8030EFB0 0030BF10 38 81 00 10 */ addi r4, r1, 0x10
|
|
/* 8030EFB4 0030BF14 90 A1 00 14 */ stw r5, 0x14(r1)
|
|
/* 8030EFB8 0030BF18 48 02 CC 99 */ bl ResourceSize__10CResLoaderCFRC10SObjectTag
|
|
/* 8030EFBC 0030BF1C 3C A0 80 3D */ lis r5, lbl_803D7400@ha
|
|
/* 8030EFC0 0030BF20 3C 80 80 3D */ lis r4, kUnknownType__10CCallStack@ha
|
|
/* 8030EFC4 0030BF24 90 7D 00 08 */ stw r3, 8(r29)
|
|
/* 8030EFC8 0030BF28 38 C4 6A A8 */ addi r6, r4, kUnknownType__10CCallStack@l
|
|
/* 8030EFCC 0030BF2C 38 A5 74 00 */ addi r5, r5, lbl_803D7400@l
|
|
/* 8030EFD0 0030BF30 38 61 00 08 */ addi r3, r1, 8
|
|
/* 8030EFD4 0030BF34 38 80 FF FF */ li r4, -1
|
|
/* 8030EFD8 0030BF38 4B FC 73 FD */ bl __ct__10CCallStackFUiPCcPCc
|
|
/* 8030EFDC 0030BF3C 7C 67 1B 78 */ mr r7, r3
|
|
/* 8030EFE0 0030BF40 80 7D 00 08 */ lwz r3, 8(r29)
|
|
/* 8030EFE4 0030BF44 38 80 00 02 */ li r4, 2
|
|
/* 8030EFE8 0030BF48 38 A0 00 01 */ li r5, 1
|
|
/* 8030EFEC 0030BF4C 38 C0 00 00 */ li r6, 0
|
|
/* 8030EFF0 0030BF50 48 00 69 A5 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack
|
|
/* 8030EFF4 0030BF54 7C 7F 1B 78 */ mr r31, r3
|
|
/* 8030EFF8 0030BF58 80 7D 00 18 */ lwz r3, 0x18(r29)
|
|
/* 8030EFFC 0030BF5C 48 00 69 35 */ bl Free__7CMemoryFPCv
|
|
/* 8030F000 0030BF60 93 FD 00 18 */ stw r31, 0x18(r29)
|
|
/* 8030F004 0030BF64 38 7E 00 04 */ addi r3, r30, 4
|
|
/* 8030F008 0030BF68 38 81 00 10 */ addi r4, r1, 0x10
|
|
/* 8030F00C 0030BF6C 80 BD 00 18 */ lwz r5, 0x18(r29)
|
|
/* 8030F010 0030BF70 48 02 CB 69 */ bl LoadResourceAsync__10CResLoaderFRC10SObjectTagPc
|
|
/* 8030F014 0030BF74 80 1D 00 14 */ lwz r0, 0x14(r29)
|
|
/* 8030F018 0030BF78 7C 7F 1B 78 */ mr r31, r3
|
|
/* 8030F01C 0030BF7C 28 00 00 00 */ cmplwi r0, 0
|
|
/* 8030F020 0030BF80 41 82 00 1C */ beq lbl_8030F03C
|
|
/* 8030F024 0030BF84 7C 03 03 78 */ mr r3, r0
|
|
/* 8030F028 0030BF88 38 80 00 01 */ li r4, 1
|
|
/* 8030F02C 0030BF8C 81 83 00 00 */ lwz r12, 0(r3)
|
|
/* 8030F030 0030BF90 81 8C 00 08 */ lwz r12, 8(r12)
|
|
/* 8030F034 0030BF94 7D 89 03 A6 */ mtctr r12
|
|
/* 8030F038 0030BF98 4E 80 04 21 */ bctrl
|
|
lbl_8030F03C:
|
|
/* 8030F03C 0030BF9C 93 FD 00 14 */ stw r31, 0x14(r29)
|
|
/* 8030F040 0030BFA0 38 00 00 01 */ li r0, 1
|
|
/* 8030F044 0030BFA4 90 1D 00 00 */ stw r0, 0(r29)
|
|
lbl_8030F048:
|
|
/* 8030F048 0030BFA8 80 01 00 34 */ lwz r0, 0x34(r1)
|
|
/* 8030F04C 0030BFAC 83 E1 00 2C */ lwz r31, 0x2c(r1)
|
|
/* 8030F050 0030BFB0 83 C1 00 28 */ lwz r30, 0x28(r1)
|
|
/* 8030F054 0030BFB4 83 A1 00 24 */ lwz r29, 0x24(r1)
|
|
/* 8030F058 0030BFB8 7C 08 03 A6 */ mtlr r0
|
|
/* 8030F05C 0030BFBC 38 21 00 30 */ addi r1, r1, 0x30
|
|
/* 8030F060 0030BFC0 4E 80 00 20 */ blr
|
|
|
|
.global __ct__Q28CTexture25CDumpedBitmapDataReloaderFUiUib
|
|
__ct__Q28CTexture25CDumpedBitmapDataReloaderFUiUib:
|
|
/* 8030F064 0030BFC4 38 00 00 00 */ li r0, 0
|
|
/* 8030F068 0030BFC8 90 03 00 00 */ stw r0, 0(r3)
|
|
/* 8030F06C 0030BFCC 90 83 00 04 */ stw r4, 4(r3)
|
|
/* 8030F070 0030BFD0 90 03 00 08 */ stw r0, 8(r3)
|
|
/* 8030F074 0030BFD4 90 A3 00 0C */ stw r5, 0xc(r3)
|
|
/* 8030F078 0030BFD8 98 C3 00 10 */ stb r6, 0x10(r3)
|
|
/* 8030F07C 0030BFDC 90 03 00 14 */ stw r0, 0x14(r3)
|
|
/* 8030F080 0030BFE0 90 03 00 18 */ stw r0, 0x18(r3)
|
|
/* 8030F084 0030BFE4 4E 80 00 20 */ blr
|
|
|
|
.global sub_8030f088
|
|
sub_8030f088:
|
|
/* 8030F088 0030BFE8 80 83 00 14 */ lwz r4, 0x14(r3)
|
|
/* 8030F08C 0030BFEC 28 04 00 00 */ cmplwi r4, 0
|
|
/* 8030F090 0030BFF0 41 82 00 1C */ beq lbl_8030F0AC
|
|
/* 8030F094 0030BFF4 80 04 00 00 */ lwz r0, 0(r4)
|
|
/* 8030F098 0030BFF8 38 60 00 05 */ li r3, 5
|
|
/* 8030F09C 0030BFFC 2C 00 00 00 */ cmpwi r0, 0
|
|
/* 8030F0A0 0030C000 4C 82 00 20 */ bnelr
|
|
/* 8030F0A4 0030C004 38 60 00 02 */ li r3, 2
|
|
/* 8030F0A8 0030C008 4E 80 00 20 */ blr
|
|
lbl_8030F0AC:
|
|
/* 8030F0AC 0030C00C 80 03 00 44 */ lwz r0, 0x44(r3)
|
|
/* 8030F0B0 0030C010 2C 00 00 02 */ cmpwi r0, 2
|
|
/* 8030F0B4 0030C014 41 82 00 38 */ beq lbl_8030F0EC
|
|
/* 8030F0B8 0030C018 40 80 00 14 */ bge lbl_8030F0CC
|
|
/* 8030F0BC 0030C01C 2C 00 00 00 */ cmpwi r0, 0
|
|
/* 8030F0C0 0030C020 41 82 00 1C */ beq lbl_8030F0DC
|
|
/* 8030F0C4 0030C024 40 80 00 20 */ bge lbl_8030F0E4
|
|
/* 8030F0C8 0030C028 48 00 00 34 */ b lbl_8030F0FC
|
|
lbl_8030F0CC:
|
|
/* 8030F0CC 0030C02C 2C 00 00 05 */ cmpwi r0, 5
|
|
/* 8030F0D0 0030C030 41 82 00 1C */ beq lbl_8030F0EC
|
|
/* 8030F0D4 0030C034 40 80 00 28 */ bge lbl_8030F0FC
|
|
/* 8030F0D8 0030C038 48 00 00 1C */ b lbl_8030F0F4
|
|
lbl_8030F0DC:
|
|
/* 8030F0DC 0030C03C 38 60 00 01 */ li r3, 1
|
|
/* 8030F0E0 0030C040 4E 80 00 20 */ blr
|
|
lbl_8030F0E4:
|
|
/* 8030F0E4 0030C044 38 60 00 00 */ li r3, 0
|
|
/* 8030F0E8 0030C048 4E 80 00 20 */ blr
|
|
lbl_8030F0EC:
|
|
/* 8030F0EC 0030C04C 38 60 00 03 */ li r3, 3
|
|
/* 8030F0F0 0030C050 4E 80 00 20 */ blr
|
|
lbl_8030F0F4:
|
|
/* 8030F0F4 0030C054 38 60 00 04 */ li r3, 4
|
|
/* 8030F0F8 0030C058 4E 80 00 20 */ blr
|
|
lbl_8030F0FC:
|
|
/* 8030F0FC 0030C05C 38 60 FF FF */ li r3, -1
|
|
/* 8030F100 0030C060 4E 80 00 20 */ blr
|
|
|
|
.global TryReloadBitmapData__8CTextureCFR11CResFactory
|
|
TryReloadBitmapData__8CTextureCFR11CResFactory:
|
|
/* 8030F104 0030C064 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 8030F108 0030C068 7C 08 02 A6 */ mflr r0
|
|
/* 8030F10C 0030C06C 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 8030F110 0030C070 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 8030F114 0030C074 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
/* 8030F118 0030C078 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
/* 8030F11C 0030C07C 7C 9D 23 78 */ mr r29, r4
|
|
/* 8030F120 0030C080 93 81 00 10 */ stw r28, 0x10(r1)
|
|
/* 8030F124 0030C084 7C 7C 1B 78 */ mr r28, r3
|
|
/* 8030F128 0030C088 80 63 00 14 */ lwz r3, 0x14(r3)
|
|
/* 8030F12C 0030C08C 28 03 00 00 */ cmplwi r3, 0
|
|
/* 8030F130 0030C090 40 82 00 0C */ bne lbl_8030F13C
|
|
/* 8030F134 0030C094 38 60 00 01 */ li r3, 1
|
|
/* 8030F138 0030C098 48 00 00 AC */ b lbl_8030F1E4
|
|
lbl_8030F13C:
|
|
/* 8030F13C 0030C09C 4B FF FE 35 */ bl BeginReloadBitmapData__Q28CTexture25CDumpedBitmapDataReloaderFR11CResFactory
|
|
/* 8030F140 0030C0A0 80 7C 00 14 */ lwz r3, 0x14(r28)
|
|
/* 8030F144 0030C0A4 7F A4 EB 78 */ mr r4, r29
|
|
/* 8030F148 0030C0A8 4B FF FB 31 */ bl TryBuildReloadedBitmapData__Q28CTexture25CDumpedBitmapDataReloaderFR11CResFactory
|
|
/* 8030F14C 0030C0AC 7C 7D 1B 79 */ or. r29, r3, r3
|
|
/* 8030F150 0030C0B0 41 82 00 90 */ beq lbl_8030F1E0
|
|
/* 8030F154 0030C0B4 83 DC 00 14 */ lwz r30, 0x14(r28)
|
|
/* 8030F158 0030C0B8 28 1E 00 00 */ cmplwi r30, 0
|
|
/* 8030F15C 0030C0BC 8B FE 00 10 */ lbz r31, 0x10(r30)
|
|
/* 8030F160 0030C0C0 41 82 00 44 */ beq lbl_8030F1A4
|
|
/* 8030F164 0030C0C4 34 1E 00 18 */ addic. r0, r30, 0x18
|
|
/* 8030F168 0030C0C8 41 82 00 0C */ beq lbl_8030F174
|
|
/* 8030F16C 0030C0CC 80 7E 00 18 */ lwz r3, 0x18(r30)
|
|
/* 8030F170 0030C0D0 48 00 67 C1 */ bl Free__7CMemoryFPCv
|
|
lbl_8030F174:
|
|
/* 8030F174 0030C0D4 34 1E 00 14 */ addic. r0, r30, 0x14
|
|
/* 8030F178 0030C0D8 41 82 00 24 */ beq lbl_8030F19C
|
|
/* 8030F17C 0030C0DC 80 7E 00 14 */ lwz r3, 0x14(r30)
|
|
/* 8030F180 0030C0E0 28 03 00 00 */ cmplwi r3, 0
|
|
/* 8030F184 0030C0E4 41 82 00 18 */ beq lbl_8030F19C
|
|
/* 8030F188 0030C0E8 81 83 00 00 */ lwz r12, 0(r3)
|
|
/* 8030F18C 0030C0EC 38 80 00 01 */ li r4, 1
|
|
/* 8030F190 0030C0F0 81 8C 00 08 */ lwz r12, 8(r12)
|
|
/* 8030F194 0030C0F4 7D 89 03 A6 */ mtctr r12
|
|
/* 8030F198 0030C0F8 4E 80 04 21 */ bctrl
|
|
lbl_8030F19C:
|
|
/* 8030F19C 0030C0FC 7F C3 F3 78 */ mr r3, r30
|
|
/* 8030F1A0 0030C100 48 00 67 91 */ bl Free__7CMemoryFPCv
|
|
lbl_8030F1A4:
|
|
/* 8030F1A4 0030C104 38 00 00 00 */ li r0, 0
|
|
/* 8030F1A8 0030C108 7F A4 EB 78 */ mr r4, r29
|
|
/* 8030F1AC 0030C10C 90 1C 00 14 */ stw r0, 0x14(r28)
|
|
/* 8030F1B0 0030C110 38 7C 00 44 */ addi r3, r28, 0x44
|
|
/* 8030F1B4 0030C114 38 C0 00 01 */ li r6, 1
|
|
/* 8030F1B8 0030C118 80 BC 00 0C */ lwz r5, 0xc(r28)
|
|
/* 8030F1BC 0030C11C 48 04 97 19 */ bl PostConstruct__10CARAMTokenFPvUii
|
|
/* 8030F1C0 0030C120 7F 83 E3 78 */ mr r3, r28
|
|
/* 8030F1C4 0030C124 48 00 06 6D */ bl InitTextureObjects__8CTextureFv
|
|
/* 8030F1C8 0030C128 28 1F 00 00 */ cmplwi r31, 0
|
|
/* 8030F1CC 0030C12C 41 82 00 0C */ beq lbl_8030F1D8
|
|
/* 8030F1D0 0030C130 7F 83 E3 78 */ mr r3, r28
|
|
/* 8030F1D4 0030C134 4B FF F9 AD */ bl LoadToARAM__8CTextureCFv
|
|
lbl_8030F1D8:
|
|
/* 8030F1D8 0030C138 38 60 00 01 */ li r3, 1
|
|
/* 8030F1DC 0030C13C 48 00 00 08 */ b lbl_8030F1E4
|
|
lbl_8030F1E0:
|
|
/* 8030F1E0 0030C140 38 60 00 00 */ li r3, 0
|
|
lbl_8030F1E4:
|
|
/* 8030F1E4 0030C144 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 8030F1E8 0030C148 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 8030F1EC 0030C14C 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
/* 8030F1F0 0030C150 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
/* 8030F1F4 0030C154 83 81 00 10 */ lwz r28, 0x10(r1)
|
|
/* 8030F1F8 0030C158 7C 08 03 A6 */ mtlr r0
|
|
/* 8030F1FC 0030C15C 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 8030F200 0030C160 4E 80 00 20 */ blr
|
|
|
|
.global UnloadBitmapData__8CTextureCFUi
|
|
UnloadBitmapData__8CTextureCFUi:
|
|
/* 8030F204 0030C164 94 21 FF C0 */ stwu r1, -0x40(r1)
|
|
/* 8030F208 0030C168 7C 08 02 A6 */ mflr r0
|
|
/* 8030F20C 0030C16C 90 01 00 44 */ stw r0, 0x44(r1)
|
|
/* 8030F210 0030C170 BF 61 00 2C */ stmw r27, 0x2c(r1)
|
|
/* 8030F214 0030C174 7C 9B 23 78 */ mr r27, r4
|
|
/* 8030F218 0030C178 7C 7F 1B 78 */ mr r31, r3
|
|
/* 8030F21C 0030C17C 80 83 00 14 */ lwz r4, 0x14(r3)
|
|
/* 8030F220 0030C180 28 04 00 00 */ cmplwi r4, 0
|
|
/* 8030F224 0030C184 41 82 00 8C */ beq lbl_8030F2B0
|
|
/* 8030F228 0030C188 3C 60 80 3D */ lis r3, lbl_803D7400@ha
|
|
/* 8030F22C 0030C18C 8B C4 00 10 */ lbz r30, 0x10(r4)
|
|
/* 8030F230 0030C190 38 83 74 00 */ addi r4, r3, lbl_803D7400@l
|
|
/* 8030F234 0030C194 38 A0 00 00 */ li r5, 0
|
|
/* 8030F238 0030C198 38 60 00 1C */ li r3, 0x1c
|
|
/* 8030F23C 0030C19C 48 00 66 31 */ bl __nw__FUlPCcPCc
|
|
/* 8030F240 0030C1A0 7C 7D 1B 79 */ or. r29, r3, r3
|
|
/* 8030F244 0030C1A4 41 82 00 18 */ beq lbl_8030F25C
|
|
/* 8030F248 0030C1A8 80 BF 00 0C */ lwz r5, 0xc(r31)
|
|
/* 8030F24C 0030C1AC 7F 64 DB 78 */ mr r4, r27
|
|
/* 8030F250 0030C1B0 7F C6 F3 78 */ mr r6, r30
|
|
/* 8030F254 0030C1B4 4B FF FE 11 */ bl __ct__Q28CTexture25CDumpedBitmapDataReloaderFUiUib
|
|
/* 8030F258 0030C1B8 7C 7D 1B 78 */ mr r29, r3
|
|
lbl_8030F25C:
|
|
/* 8030F25C 0030C1BC 83 DF 00 14 */ lwz r30, 0x14(r31)
|
|
/* 8030F260 0030C1C0 28 1E 00 00 */ cmplwi r30, 0
|
|
/* 8030F264 0030C1C4 41 82 00 44 */ beq lbl_8030F2A8
|
|
/* 8030F268 0030C1C8 34 1E 00 18 */ addic. r0, r30, 0x18
|
|
/* 8030F26C 0030C1CC 41 82 00 0C */ beq lbl_8030F278
|
|
/* 8030F270 0030C1D0 80 7E 00 18 */ lwz r3, 0x18(r30)
|
|
/* 8030F274 0030C1D4 48 00 66 BD */ bl Free__7CMemoryFPCv
|
|
lbl_8030F278:
|
|
/* 8030F278 0030C1D8 34 1E 00 14 */ addic. r0, r30, 0x14
|
|
/* 8030F27C 0030C1DC 41 82 00 24 */ beq lbl_8030F2A0
|
|
/* 8030F280 0030C1E0 80 7E 00 14 */ lwz r3, 0x14(r30)
|
|
/* 8030F284 0030C1E4 28 03 00 00 */ cmplwi r3, 0
|
|
/* 8030F288 0030C1E8 41 82 00 18 */ beq lbl_8030F2A0
|
|
/* 8030F28C 0030C1EC 81 83 00 00 */ lwz r12, 0(r3)
|
|
/* 8030F290 0030C1F0 38 80 00 01 */ li r4, 1
|
|
/* 8030F294 0030C1F4 81 8C 00 08 */ lwz r12, 8(r12)
|
|
/* 8030F298 0030C1F8 7D 89 03 A6 */ mtctr r12
|
|
/* 8030F29C 0030C1FC 4E 80 04 21 */ bctrl
|
|
lbl_8030F2A0:
|
|
/* 8030F2A0 0030C200 7F C3 F3 78 */ mr r3, r30
|
|
/* 8030F2A4 0030C204 48 00 66 8D */ bl Free__7CMemoryFPCv
|
|
lbl_8030F2A8:
|
|
/* 8030F2A8 0030C208 93 BF 00 14 */ stw r29, 0x14(r31)
|
|
/* 8030F2AC 0030C20C 48 00 00 D8 */ b lbl_8030F384
|
|
lbl_8030F2B0:
|
|
/* 8030F2B0 0030C210 80 7F 00 44 */ lwz r3, 0x44(r31)
|
|
/* 8030F2B4 0030C214 3B A0 00 01 */ li r29, 1
|
|
/* 8030F2B8 0030C218 38 00 00 00 */ li r0, 0
|
|
/* 8030F2BC 0030C21C 2C 03 00 00 */ cmpwi r3, 0
|
|
/* 8030F2C0 0030C220 41 82 00 0C */ beq lbl_8030F2CC
|
|
/* 8030F2C4 0030C224 2C 03 00 02 */ cmpwi r3, 2
|
|
/* 8030F2C8 0030C228 40 82 00 08 */ bne lbl_8030F2D0
|
|
lbl_8030F2CC:
|
|
/* 8030F2CC 0030C22C 38 00 00 01 */ li r0, 1
|
|
lbl_8030F2D0:
|
|
/* 8030F2D0 0030C230 54 00 06 3F */ clrlwi. r0, r0, 0x18
|
|
/* 8030F2D4 0030C234 40 82 00 10 */ bne lbl_8030F2E4
|
|
/* 8030F2D8 0030C238 2C 03 00 05 */ cmpwi r3, 5
|
|
/* 8030F2DC 0030C23C 41 82 00 08 */ beq lbl_8030F2E4
|
|
/* 8030F2E0 0030C240 3B A0 00 00 */ li r29, 0
|
|
lbl_8030F2E4:
|
|
/* 8030F2E4 0030C244 38 61 00 08 */ addi r3, r1, 8
|
|
/* 8030F2E8 0030C248 48 04 98 15 */ bl __ct__10CARAMTokenFv
|
|
/* 8030F2EC 0030C24C 38 7F 00 44 */ addi r3, r31, 0x44
|
|
/* 8030F2F0 0030C250 38 81 00 08 */ addi r4, r1, 8
|
|
/* 8030F2F4 0030C254 48 04 95 81 */ bl __as__10CARAMTokenFRC10CARAMToken
|
|
/* 8030F2F8 0030C258 38 61 00 08 */ addi r3, r1, 8
|
|
/* 8030F2FC 0030C25C 38 80 FF FF */ li r4, -1
|
|
/* 8030F300 0030C260 48 04 96 45 */ bl __dt__10CARAMTokenFv
|
|
/* 8030F304 0030C264 3C 80 80 3D */ lis r4, lbl_803D7400@ha
|
|
/* 8030F308 0030C268 38 60 00 1C */ li r3, 0x1c
|
|
/* 8030F30C 0030C26C 38 84 74 00 */ addi r4, r4, lbl_803D7400@l
|
|
/* 8030F310 0030C270 38 A0 00 00 */ li r5, 0
|
|
/* 8030F314 0030C274 48 00 65 59 */ bl __nw__FUlPCcPCc
|
|
/* 8030F318 0030C278 7C 7C 1B 79 */ or. r28, r3, r3
|
|
/* 8030F31C 0030C27C 41 82 00 18 */ beq lbl_8030F334
|
|
/* 8030F320 0030C280 80 BF 00 0C */ lwz r5, 0xc(r31)
|
|
/* 8030F324 0030C284 7F 64 DB 78 */ mr r4, r27
|
|
/* 8030F328 0030C288 7F A6 EB 78 */ mr r6, r29
|
|
/* 8030F32C 0030C28C 4B FF FD 39 */ bl __ct__Q28CTexture25CDumpedBitmapDataReloaderFUiUib
|
|
/* 8030F330 0030C290 7C 7C 1B 78 */ mr r28, r3
|
|
lbl_8030F334:
|
|
/* 8030F334 0030C294 83 DF 00 14 */ lwz r30, 0x14(r31)
|
|
/* 8030F338 0030C298 28 1E 00 00 */ cmplwi r30, 0
|
|
/* 8030F33C 0030C29C 41 82 00 44 */ beq lbl_8030F380
|
|
/* 8030F340 0030C2A0 34 1E 00 18 */ addic. r0, r30, 0x18
|
|
/* 8030F344 0030C2A4 41 82 00 0C */ beq lbl_8030F350
|
|
/* 8030F348 0030C2A8 80 7E 00 18 */ lwz r3, 0x18(r30)
|
|
/* 8030F34C 0030C2AC 48 00 65 E5 */ bl Free__7CMemoryFPCv
|
|
lbl_8030F350:
|
|
/* 8030F350 0030C2B0 34 1E 00 14 */ addic. r0, r30, 0x14
|
|
/* 8030F354 0030C2B4 41 82 00 24 */ beq lbl_8030F378
|
|
/* 8030F358 0030C2B8 80 7E 00 14 */ lwz r3, 0x14(r30)
|
|
/* 8030F35C 0030C2BC 28 03 00 00 */ cmplwi r3, 0
|
|
/* 8030F360 0030C2C0 41 82 00 18 */ beq lbl_8030F378
|
|
/* 8030F364 0030C2C4 81 83 00 00 */ lwz r12, 0(r3)
|
|
/* 8030F368 0030C2C8 38 80 00 01 */ li r4, 1
|
|
/* 8030F36C 0030C2CC 81 8C 00 08 */ lwz r12, 8(r12)
|
|
/* 8030F370 0030C2D0 7D 89 03 A6 */ mtctr r12
|
|
/* 8030F374 0030C2D4 4E 80 04 21 */ bctrl
|
|
lbl_8030F378:
|
|
/* 8030F378 0030C2D8 7F C3 F3 78 */ mr r3, r30
|
|
/* 8030F37C 0030C2DC 48 00 65 B5 */ bl Free__7CMemoryFPCv
|
|
lbl_8030F380:
|
|
/* 8030F380 0030C2E0 93 9F 00 14 */ stw r28, 0x14(r31)
|
|
lbl_8030F384:
|
|
/* 8030F384 0030C2E4 BB 61 00 2C */ lmw r27, 0x2c(r1)
|
|
/* 8030F388 0030C2E8 80 01 00 44 */ lwz r0, 0x44(r1)
|
|
/* 8030F38C 0030C2EC 7C 08 03 A6 */ mtlr r0
|
|
/* 8030F390 0030C2F0 38 21 00 40 */ addi r1, r1, 0x40
|
|
/* 8030F394 0030C2F4 4E 80 00 20 */ blr
|
|
|
|
.global LoadMipLevel__8CTextureCFi11_GXTexMapIDQ28CTexture10EClampMode
|
|
LoadMipLevel__8CTextureCFi11_GXTexMapIDQ28CTexture10EClampMode:
|
|
/* 8030F398 0030C2F8 94 21 FF C0 */ stwu r1, -0x40(r1)
|
|
/* 8030F39C 0030C2FC 7C 08 02 A6 */ mflr r0
|
|
/* 8030F3A0 0030C300 90 01 00 44 */ stw r0, 0x44(r1)
|
|
/* 8030F3A4 0030C304 BF 61 00 2C */ stmw r27, 0x2c(r1)
|
|
/* 8030F3A8 0030C308 7C 7D 1B 78 */ mr r29, r3
|
|
/* 8030F3AC 0030C30C 7C 9E 23 78 */ mr r30, r4
|
|
/* 8030F3B0 0030C310 7C BF 2B 78 */ mr r31, r5
|
|
/* 8030F3B4 0030C314 7C DB 33 78 */ mr r27, r6
|
|
/* 8030F3B8 0030C318 38 7D 00 44 */ addi r3, r29, 0x44
|
|
/* 8030F3BC 0030C31C 48 04 8F 79 */ bl GetMRAMSafe__10CARAMTokenFv
|
|
/* 8030F3C0 0030C320 80 BD 00 20 */ lwz r5, 0x20(r29)
|
|
/* 8030F3C4 0030C324 2C 1E 00 00 */ cmpwi r30, 0
|
|
/* 8030F3C8 0030C328 80 DD 00 24 */ lwz r6, 0x24(r29)
|
|
/* 8030F3CC 0030C32C 7C 60 1B 78 */ mr r0, r3
|
|
/* 8030F3D0 0030C330 83 9D 00 28 */ lwz r28, 0x28(r29)
|
|
/* 8030F3D4 0030C334 7F 68 DB 78 */ mr r8, r27
|
|
/* 8030F3D8 0030C338 81 9D 00 2C */ lwz r12, 0x2c(r29)
|
|
/* 8030F3DC 0030C33C 38 80 00 00 */ li r4, 0
|
|
/* 8030F3E0 0030C340 81 7D 00 30 */ lwz r11, 0x30(r29)
|
|
/* 8030F3E4 0030C344 38 E0 00 00 */ li r7, 0
|
|
/* 8030F3E8 0030C348 81 5D 00 34 */ lwz r10, 0x34(r29)
|
|
/* 8030F3EC 0030C34C 81 3D 00 38 */ lwz r9, 0x38(r29)
|
|
/* 8030F3F0 0030C350 80 7D 00 3C */ lwz r3, 0x3c(r29)
|
|
/* 8030F3F4 0030C354 90 A1 00 08 */ stw r5, 8(r1)
|
|
/* 8030F3F8 0030C358 A8 BD 00 04 */ lha r5, 4(r29)
|
|
/* 8030F3FC 0030C35C 90 C1 00 0C */ stw r6, 0xc(r1)
|
|
/* 8030F400 0030C360 A8 DD 00 06 */ lha r6, 6(r29)
|
|
/* 8030F404 0030C364 93 81 00 10 */ stw r28, 0x10(r1)
|
|
/* 8030F408 0030C368 91 81 00 14 */ stw r12, 0x14(r1)
|
|
/* 8030F40C 0030C36C 91 61 00 18 */ stw r11, 0x18(r1)
|
|
/* 8030F410 0030C370 91 41 00 1C */ stw r10, 0x1c(r1)
|
|
/* 8030F414 0030C374 91 21 00 20 */ stw r9, 0x20(r1)
|
|
/* 8030F418 0030C378 90 61 00 24 */ stw r3, 0x24(r1)
|
|
/* 8030F41C 0030C37C 40 81 02 7C */ ble lbl_8030F698
|
|
/* 8030F420 0030C380 2C 1E 00 08 */ cmpwi r30, 8
|
|
/* 8030F424 0030C384 39 3E FF F8 */ addi r9, r30, -8
|
|
/* 8030F428 0030C388 40 81 02 10 */ ble lbl_8030F638
|
|
/* 8030F42C 0030C38C 38 69 00 07 */ addi r3, r9, 7
|
|
/* 8030F430 0030C390 54 63 E8 FE */ srwi r3, r3, 3
|
|
/* 8030F434 0030C394 7C 69 03 A6 */ mtctr r3
|
|
/* 8030F438 0030C398 2C 09 00 00 */ cmpwi r9, 0
|
|
/* 8030F43C 0030C39C 40 81 01 FC */ ble lbl_8030F638
|
|
lbl_8030F440:
|
|
/* 8030F440 0030C3A0 38 65 00 03 */ addi r3, r5, 3
|
|
/* 8030F444 0030C3A4 39 26 00 03 */ addi r9, r6, 3
|
|
/* 8030F448 0030C3A8 54 6B 00 3A */ rlwinm r11, r3, 0, 0, 0x1d
|
|
/* 8030F44C 0030C3AC 88 7D 00 09 */ lbz r3, 9(r29)
|
|
/* 8030F450 0030C3B0 55 29 00 3A */ rlwinm r9, r9, 0, 0, 0x1d
|
|
/* 8030F454 0030C3B4 54 AA 0F FE */ srwi r10, r5, 0x1f
|
|
/* 8030F458 0030C3B8 7D 6B 49 D6 */ mullw r11, r11, r9
|
|
/* 8030F45C 0030C3BC 7C 63 07 74 */ extsb r3, r3
|
|
/* 8030F460 0030C3C0 54 C9 0F FE */ srwi r9, r6, 0x1f
|
|
/* 8030F464 0030C3C4 7D 4A 2A 14 */ add r10, r10, r5
|
|
/* 8030F468 0030C3C8 7D 29 32 14 */ add r9, r9, r6
|
|
/* 8030F46C 0030C3CC 7D 63 59 D6 */ mullw r11, r3, r11
|
|
/* 8030F470 0030C3D0 7D 6B 1E 70 */ srawi r11, r11, 3
|
|
/* 8030F474 0030C3D4 7D 6B 01 94 */ addze r11, r11
|
|
/* 8030F478 0030C3D8 7D 4A 0E 70 */ srawi r10, r10, 1
|
|
/* 8030F47C 0030C3DC 7D 29 0E 70 */ srawi r9, r9, 1
|
|
/* 8030F480 0030C3E0 39 6B 00 1F */ addi r11, r11, 0x1f
|
|
/* 8030F484 0030C3E4 39 4A 00 03 */ addi r10, r10, 3
|
|
/* 8030F488 0030C3E8 39 29 00 03 */ addi r9, r9, 3
|
|
/* 8030F48C 0030C3EC 55 6B 00 34 */ rlwinm r11, r11, 0, 0, 0x1a
|
|
/* 8030F490 0030C3F0 55 4A 00 3A */ rlwinm r10, r10, 0, 0, 0x1d
|
|
/* 8030F494 0030C3F4 55 29 00 3A */ rlwinm r9, r9, 0, 0, 0x1d
|
|
/* 8030F498 0030C3F8 7C 84 5A 14 */ add r4, r4, r11
|
|
/* 8030F49C 0030C3FC 7D 2A 49 D6 */ mullw r9, r10, r9
|
|
/* 8030F4A0 0030C400 7D 23 49 D6 */ mullw r9, r3, r9
|
|
/* 8030F4A4 0030C404 7D 29 1E 70 */ srawi r9, r9, 3
|
|
/* 8030F4A8 0030C408 7D 69 01 94 */ addze r11, r9
|
|
/* 8030F4AC 0030C40C 7C A9 16 70 */ srawi r9, r5, 2
|
|
/* 8030F4B0 0030C410 7D 49 01 94 */ addze r10, r9
|
|
/* 8030F4B4 0030C414 39 6B 00 1F */ addi r11, r11, 0x1f
|
|
/* 8030F4B8 0030C418 7C C9 16 70 */ srawi r9, r6, 2
|
|
/* 8030F4BC 0030C41C 7D 29 01 94 */ addze r9, r9
|
|
/* 8030F4C0 0030C420 39 4A 00 03 */ addi r10, r10, 3
|
|
/* 8030F4C4 0030C424 39 29 00 03 */ addi r9, r9, 3
|
|
/* 8030F4C8 0030C428 55 6B 00 34 */ rlwinm r11, r11, 0, 0, 0x1a
|
|
/* 8030F4CC 0030C42C 55 4A 00 3A */ rlwinm r10, r10, 0, 0, 0x1d
|
|
/* 8030F4D0 0030C430 55 29 00 3A */ rlwinm r9, r9, 0, 0, 0x1d
|
|
/* 8030F4D4 0030C434 7C 84 5A 14 */ add r4, r4, r11
|
|
/* 8030F4D8 0030C438 7D 2A 49 D6 */ mullw r9, r10, r9
|
|
/* 8030F4DC 0030C43C 7D 23 49 D6 */ mullw r9, r3, r9
|
|
/* 8030F4E0 0030C440 7D 29 1E 70 */ srawi r9, r9, 3
|
|
/* 8030F4E4 0030C444 7D 69 01 94 */ addze r11, r9
|
|
/* 8030F4E8 0030C448 7C A9 1E 70 */ srawi r9, r5, 3
|
|
/* 8030F4EC 0030C44C 7D 49 01 94 */ addze r10, r9
|
|
/* 8030F4F0 0030C450 39 6B 00 1F */ addi r11, r11, 0x1f
|
|
/* 8030F4F4 0030C454 7C C9 1E 70 */ srawi r9, r6, 3
|
|
/* 8030F4F8 0030C458 7D 29 01 94 */ addze r9, r9
|
|
/* 8030F4FC 0030C45C 39 4A 00 03 */ addi r10, r10, 3
|
|
/* 8030F500 0030C460 39 29 00 03 */ addi r9, r9, 3
|
|
/* 8030F504 0030C464 55 6B 00 34 */ rlwinm r11, r11, 0, 0, 0x1a
|
|
/* 8030F508 0030C468 55 4A 00 3A */ rlwinm r10, r10, 0, 0, 0x1d
|
|
/* 8030F50C 0030C46C 55 29 00 3A */ rlwinm r9, r9, 0, 0, 0x1d
|
|
/* 8030F510 0030C470 7C 84 5A 14 */ add r4, r4, r11
|
|
/* 8030F514 0030C474 7D 2A 49 D6 */ mullw r9, r10, r9
|
|
/* 8030F518 0030C478 7D 23 49 D6 */ mullw r9, r3, r9
|
|
/* 8030F51C 0030C47C 7D 29 1E 70 */ srawi r9, r9, 3
|
|
/* 8030F520 0030C480 7D 69 01 94 */ addze r11, r9
|
|
/* 8030F524 0030C484 7C A9 26 70 */ srawi r9, r5, 4
|
|
/* 8030F528 0030C488 7D 49 01 94 */ addze r10, r9
|
|
/* 8030F52C 0030C48C 39 6B 00 1F */ addi r11, r11, 0x1f
|
|
/* 8030F530 0030C490 7C C9 26 70 */ srawi r9, r6, 4
|
|
/* 8030F534 0030C494 7D 29 01 94 */ addze r9, r9
|
|
/* 8030F538 0030C498 39 4A 00 03 */ addi r10, r10, 3
|
|
/* 8030F53C 0030C49C 39 29 00 03 */ addi r9, r9, 3
|
|
/* 8030F540 0030C4A0 55 6B 00 34 */ rlwinm r11, r11, 0, 0, 0x1a
|
|
/* 8030F544 0030C4A4 55 4A 00 3A */ rlwinm r10, r10, 0, 0, 0x1d
|
|
/* 8030F548 0030C4A8 55 29 00 3A */ rlwinm r9, r9, 0, 0, 0x1d
|
|
/* 8030F54C 0030C4AC 7C 84 5A 14 */ add r4, r4, r11
|
|
/* 8030F550 0030C4B0 7D 2A 49 D6 */ mullw r9, r10, r9
|
|
/* 8030F554 0030C4B4 7D 23 49 D6 */ mullw r9, r3, r9
|
|
/* 8030F558 0030C4B8 7D 29 1E 70 */ srawi r9, r9, 3
|
|
/* 8030F55C 0030C4BC 7D 69 01 94 */ addze r11, r9
|
|
/* 8030F560 0030C4C0 7C A9 2E 70 */ srawi r9, r5, 5
|
|
/* 8030F564 0030C4C4 7D 49 01 94 */ addze r10, r9
|
|
/* 8030F568 0030C4C8 39 6B 00 1F */ addi r11, r11, 0x1f
|
|
/* 8030F56C 0030C4CC 7C C9 2E 70 */ srawi r9, r6, 5
|
|
/* 8030F570 0030C4D0 7D 29 01 94 */ addze r9, r9
|
|
/* 8030F574 0030C4D4 39 4A 00 03 */ addi r10, r10, 3
|
|
/* 8030F578 0030C4D8 39 29 00 03 */ addi r9, r9, 3
|
|
/* 8030F57C 0030C4DC 55 6B 00 34 */ rlwinm r11, r11, 0, 0, 0x1a
|
|
/* 8030F580 0030C4E0 55 4A 00 3A */ rlwinm r10, r10, 0, 0, 0x1d
|
|
/* 8030F584 0030C4E4 55 29 00 3A */ rlwinm r9, r9, 0, 0, 0x1d
|
|
/* 8030F588 0030C4E8 7C 84 5A 14 */ add r4, r4, r11
|
|
/* 8030F58C 0030C4EC 7D 2A 49 D6 */ mullw r9, r10, r9
|
|
/* 8030F590 0030C4F0 7D 23 49 D6 */ mullw r9, r3, r9
|
|
/* 8030F594 0030C4F4 7D 29 1E 70 */ srawi r9, r9, 3
|
|
/* 8030F598 0030C4F8 7D 69 01 94 */ addze r11, r9
|
|
/* 8030F59C 0030C4FC 7C A9 36 70 */ srawi r9, r5, 6
|
|
/* 8030F5A0 0030C500 7D 49 01 94 */ addze r10, r9
|
|
/* 8030F5A4 0030C504 39 6B 00 1F */ addi r11, r11, 0x1f
|
|
/* 8030F5A8 0030C508 7C C9 36 70 */ srawi r9, r6, 6
|
|
/* 8030F5AC 0030C50C 7D 29 01 94 */ addze r9, r9
|
|
/* 8030F5B0 0030C510 39 4A 00 03 */ addi r10, r10, 3
|
|
/* 8030F5B4 0030C514 39 29 00 03 */ addi r9, r9, 3
|
|
/* 8030F5B8 0030C518 55 6B 00 34 */ rlwinm r11, r11, 0, 0, 0x1a
|
|
/* 8030F5BC 0030C51C 55 4A 00 3A */ rlwinm r10, r10, 0, 0, 0x1d
|
|
/* 8030F5C0 0030C520 55 29 00 3A */ rlwinm r9, r9, 0, 0, 0x1d
|
|
/* 8030F5C4 0030C524 7C 84 5A 14 */ add r4, r4, r11
|
|
/* 8030F5C8 0030C528 7D 2A 49 D6 */ mullw r9, r10, r9
|
|
/* 8030F5CC 0030C52C 7D 23 49 D6 */ mullw r9, r3, r9
|
|
/* 8030F5D0 0030C530 7D 29 1E 70 */ srawi r9, r9, 3
|
|
/* 8030F5D4 0030C534 7D 29 01 94 */ addze r9, r9
|
|
/* 8030F5D8 0030C538 39 29 00 1F */ addi r9, r9, 0x1f
|
|
/* 8030F5DC 0030C53C 55 29 00 34 */ rlwinm r9, r9, 0, 0, 0x1a
|
|
/* 8030F5E0 0030C540 7C 84 4A 14 */ add r4, r4, r9
|
|
/* 8030F5E4 0030C544 7C A9 3E 70 */ srawi r9, r5, 7
|
|
/* 8030F5E8 0030C548 38 E7 00 08 */ addi r7, r7, 8
|
|
/* 8030F5EC 0030C54C 7D 49 01 94 */ addze r10, r9
|
|
/* 8030F5F0 0030C550 7C C9 3E 70 */ srawi r9, r6, 7
|
|
/* 8030F5F4 0030C554 7D 29 01 94 */ addze r9, r9
|
|
/* 8030F5F8 0030C558 39 4A 00 03 */ addi r10, r10, 3
|
|
/* 8030F5FC 0030C55C 39 29 00 03 */ addi r9, r9, 3
|
|
/* 8030F600 0030C560 55 4A 00 3A */ rlwinm r10, r10, 0, 0, 0x1d
|
|
/* 8030F604 0030C564 55 29 00 3A */ rlwinm r9, r9, 0, 0, 0x1d
|
|
/* 8030F608 0030C568 7D 2A 49 D6 */ mullw r9, r10, r9
|
|
/* 8030F60C 0030C56C 7C 63 49 D6 */ mullw r3, r3, r9
|
|
/* 8030F610 0030C570 7C 63 1E 70 */ srawi r3, r3, 3
|
|
/* 8030F614 0030C574 7D 23 01 94 */ addze r9, r3
|
|
/* 8030F618 0030C578 7C A3 46 70 */ srawi r3, r5, 8
|
|
/* 8030F61C 0030C57C 39 29 00 1F */ addi r9, r9, 0x1f
|
|
/* 8030F620 0030C580 7C A3 01 94 */ addze r5, r3
|
|
/* 8030F624 0030C584 55 29 00 34 */ rlwinm r9, r9, 0, 0, 0x1a
|
|
/* 8030F628 0030C588 7C C3 46 70 */ srawi r3, r6, 8
|
|
/* 8030F62C 0030C58C 7C 84 4A 14 */ add r4, r4, r9
|
|
/* 8030F630 0030C590 7C C3 01 94 */ addze r6, r3
|
|
/* 8030F634 0030C594 42 00 FE 0C */ bdnz lbl_8030F440
|
|
lbl_8030F638:
|
|
/* 8030F638 0030C598 7C 67 F0 50 */ subf r3, r7, r30
|
|
/* 8030F63C 0030C59C 7C 69 03 A6 */ mtctr r3
|
|
/* 8030F640 0030C5A0 7C 07 F0 00 */ cmpw r7, r30
|
|
/* 8030F644 0030C5A4 40 80 00 54 */ bge lbl_8030F698
|
|
lbl_8030F648:
|
|
/* 8030F648 0030C5A8 38 E5 00 03 */ addi r7, r5, 3
|
|
/* 8030F64C 0030C5AC 38 66 00 03 */ addi r3, r6, 3
|
|
/* 8030F650 0030C5B0 54 E9 00 3A */ rlwinm r9, r7, 0, 0, 0x1d
|
|
/* 8030F654 0030C5B4 89 5D 00 09 */ lbz r10, 9(r29)
|
|
/* 8030F658 0030C5B8 54 63 00 3A */ rlwinm r3, r3, 0, 0, 0x1d
|
|
/* 8030F65C 0030C5BC 54 A7 0F FE */ srwi r7, r5, 0x1f
|
|
/* 8030F660 0030C5C0 7D 29 19 D6 */ mullw r9, r9, r3
|
|
/* 8030F664 0030C5C4 7D 4A 07 74 */ extsb r10, r10
|
|
/* 8030F668 0030C5C8 54 C3 0F FE */ srwi r3, r6, 0x1f
|
|
/* 8030F66C 0030C5CC 7C A7 2A 14 */ add r5, r7, r5
|
|
/* 8030F670 0030C5D0 7C 63 32 14 */ add r3, r3, r6
|
|
/* 8030F674 0030C5D4 7C CA 49 D6 */ mullw r6, r10, r9
|
|
/* 8030F678 0030C5D8 7C C6 1E 70 */ srawi r6, r6, 3
|
|
/* 8030F67C 0030C5DC 7C C6 01 94 */ addze r6, r6
|
|
/* 8030F680 0030C5E0 38 C6 00 1F */ addi r6, r6, 0x1f
|
|
/* 8030F684 0030C5E4 7C A5 0E 70 */ srawi r5, r5, 1
|
|
/* 8030F688 0030C5E8 54 C7 00 34 */ rlwinm r7, r6, 0, 0, 0x1a
|
|
/* 8030F68C 0030C5EC 7C 66 0E 70 */ srawi r6, r3, 1
|
|
/* 8030F690 0030C5F0 7C 84 3A 14 */ add r4, r4, r7
|
|
/* 8030F694 0030C5F4 42 00 FF B4 */ bdnz lbl_8030F648
|
|
lbl_8030F698:
|
|
/* 8030F698 0030C5F8 80 FD 00 18 */ lwz r7, 0x18(r29)
|
|
/* 8030F69C 0030C5FC 7D 09 43 78 */ mr r9, r8
|
|
/* 8030F6A0 0030C600 38 61 00 08 */ addi r3, r1, 8
|
|
/* 8030F6A4 0030C604 7C 80 22 14 */ add r4, r0, r4
|
|
/* 8030F6A8 0030C608 54 A5 04 3E */ clrlwi r5, r5, 0x10
|
|
/* 8030F6AC 0030C60C 54 C6 04 3E */ clrlwi r6, r6, 0x10
|
|
/* 8030F6B0 0030C610 39 40 00 00 */ li r10, 0
|
|
/* 8030F6B4 0030C614 48 06 A7 B1 */ bl GXInitTexObj
|
|
/* 8030F6B8 0030C618 C0 22 C8 38 */ lfs f1, lbl_805AE558@sda21(r2)
|
|
/* 8030F6BC 0030C61C 38 61 00 08 */ addi r3, r1, 8
|
|
/* 8030F6C0 0030C620 38 80 00 01 */ li r4, 1
|
|
/* 8030F6C4 0030C624 38 A0 00 01 */ li r5, 1
|
|
/* 8030F6C8 0030C628 FC 40 08 90 */ fmr f2, f1
|
|
/* 8030F6CC 0030C62C 38 C0 00 00 */ li r6, 0
|
|
/* 8030F6D0 0030C630 FC 60 08 90 */ fmr f3, f1
|
|
/* 8030F6D4 0030C634 38 E0 00 00 */ li r7, 0
|
|
/* 8030F6D8 0030C638 39 00 00 00 */ li r8, 0
|
|
/* 8030F6DC 0030C63C 48 06 AA 45 */ bl GXInitTexObjLOD
|
|
/* 8030F6E0 0030C640 80 7D 00 10 */ lwz r3, 0x10(r29)
|
|
/* 8030F6E4 0030C644 28 03 00 00 */ cmplwi r3, 0
|
|
/* 8030F6E8 0030C648 41 82 00 18 */ beq lbl_8030F700
|
|
/* 8030F6EC 0030C64C 4B FF E7 D9 */ bl Load__16CGraphicsPaletteCFv
|
|
/* 8030F6F0 0030C650 88 1D 00 0A */ lbz r0, 0xa(r29)
|
|
/* 8030F6F4 0030C654 38 60 00 00 */ li r3, 0
|
|
/* 8030F6F8 0030C658 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19
|
|
/* 8030F6FC 0030C65C 98 1D 00 0A */ stb r0, 0xa(r29)
|
|
lbl_8030F700:
|
|
/* 8030F700 0030C660 7F E4 FB 78 */ mr r4, r31
|
|
/* 8030F704 0030C664 38 61 00 08 */ addi r3, r1, 8
|
|
/* 8030F708 0030C668 48 06 AD 8D */ bl GXLoadTexObj
|
|
/* 8030F70C 0030C66C 80 0D A8 70 */ lwz r0, sCurrentFrameCount__8CTexture@sda21(r13)
|
|
/* 8030F710 0030C670 3C 60 80 4C */ lis r3, sLoadedTextures@ha
|
|
/* 8030F714 0030C674 57 E4 10 3A */ slwi r4, r31, 2
|
|
/* 8030F718 0030C678 38 A0 00 00 */ li r5, 0
|
|
/* 8030F71C 0030C67C 38 63 FD 10 */ addi r3, r3, sLoadedTextures@l
|
|
/* 8030F720 0030C680 90 1D 00 64 */ stw r0, 0x64(r29)
|
|
/* 8030F724 0030C684 7C A3 21 2E */ stwx r5, r3, r4
|
|
/* 8030F728 0030C688 BB 61 00 2C */ lmw r27, 0x2c(r1)
|
|
/* 8030F72C 0030C68C 80 01 00 44 */ lwz r0, 0x44(r1)
|
|
/* 8030F730 0030C690 7C 08 03 A6 */ mtlr r0
|
|
/* 8030F734 0030C694 38 21 00 40 */ addi r1, r1, 0x40
|
|
/* 8030F738 0030C698 4E 80 00 20 */ blr
|
|
|
|
.global Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode
|
|
Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode:
|
|
/* 8030F73C 0030C69C 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 8030F740 0030C6A0 7C 08 02 A6 */ mflr r0
|
|
/* 8030F744 0030C6A4 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 8030F748 0030C6A8 BF 41 00 08 */ stmw r26, 8(r1)
|
|
/* 8030F74C 0030C6AC 7C 9E 23 78 */ mr r30, r4
|
|
/* 8030F750 0030C6B0 3C 80 80 4C */ lis r4, sLoadedTextures@ha
|
|
/* 8030F754 0030C6B4 7C 7D 1B 78 */ mr r29, r3
|
|
/* 8030F758 0030C6B8 57 DF 10 3A */ slwi r31, r30, 2
|
|
/* 8030F75C 0030C6BC 7C BA 2B 78 */ mr r26, r5
|
|
/* 8030F760 0030C6C0 3B 84 FD 10 */ addi r28, r4, sLoadedTextures@l
|
|
/* 8030F764 0030C6C4 7C 1C F8 2E */ lwzx r0, r28, r31
|
|
/* 8030F768 0030C6C8 7C 00 E8 40 */ cmplw r0, r29
|
|
/* 8030F76C 0030C6CC 40 82 00 10 */ bne lbl_8030F77C
|
|
/* 8030F770 0030C6D0 88 1D 00 0A */ lbz r0, 0xa(r29)
|
|
/* 8030F774 0030C6D4 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f
|
|
/* 8030F778 0030C6D8 41 82 00 A4 */ beq lbl_8030F81C
|
|
lbl_8030F77C:
|
|
/* 8030F77C 0030C6DC 38 7D 00 44 */ addi r3, r29, 0x44
|
|
/* 8030F780 0030C6E0 48 04 8B B5 */ bl GetMRAMSafe__10CARAMTokenFv
|
|
/* 8030F784 0030C6E4 7C 60 1B 78 */ mr r0, r3
|
|
/* 8030F788 0030C6E8 7F A3 EB 78 */ mr r3, r29
|
|
/* 8030F78C 0030C6EC 7C 1B 03 78 */ mr r27, r0
|
|
/* 8030F790 0030C6F0 4B FF E9 FD */ bl CountMemory__8CTextureCFv
|
|
/* 8030F794 0030C6F4 80 7D 00 10 */ lwz r3, 0x10(r29)
|
|
/* 8030F798 0030C6F8 28 03 00 00 */ cmplwi r3, 0
|
|
/* 8030F79C 0030C6FC 41 82 00 18 */ beq lbl_8030F7B4
|
|
/* 8030F7A0 0030C700 4B FF E7 25 */ bl Load__16CGraphicsPaletteCFv
|
|
/* 8030F7A4 0030C704 88 1D 00 0A */ lbz r0, 0xa(r29)
|
|
/* 8030F7A8 0030C708 38 60 00 00 */ li r3, 0
|
|
/* 8030F7AC 0030C70C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19
|
|
/* 8030F7B0 0030C710 98 1D 00 0A */ stb r0, 0xa(r29)
|
|
lbl_8030F7B4:
|
|
/* 8030F7B4 0030C714 88 1D 00 0A */ lbz r0, 0xa(r29)
|
|
/* 8030F7B8 0030C718 38 60 00 00 */ li r3, 0
|
|
/* 8030F7BC 0030C71C 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d
|
|
/* 8030F7C0 0030C720 98 1D 00 0A */ stb r0, 0xa(r29)
|
|
/* 8030F7C4 0030C724 80 1D 00 40 */ lwz r0, 0x40(r29)
|
|
/* 8030F7C8 0030C728 7C 00 D0 00 */ cmpw r0, r26
|
|
/* 8030F7CC 0030C72C 41 82 00 2C */ beq lbl_8030F7F8
|
|
/* 8030F7D0 0030C730 88 1D 00 0A */ lbz r0, 0xa(r29)
|
|
/* 8030F7D4 0030C734 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f
|
|
/* 8030F7D8 0030C738 40 82 00 0C */ bne lbl_8030F7E4
|
|
/* 8030F7DC 0030C73C 90 7D 00 40 */ stw r3, 0x40(r29)
|
|
/* 8030F7E0 0030C740 48 00 00 08 */ b lbl_8030F7E8
|
|
lbl_8030F7E4:
|
|
/* 8030F7E4 0030C744 93 5D 00 40 */ stw r26, 0x40(r29)
|
|
lbl_8030F7E8:
|
|
/* 8030F7E8 0030C748 80 9D 00 40 */ lwz r4, 0x40(r29)
|
|
/* 8030F7EC 0030C74C 38 7D 00 20 */ addi r3, r29, 0x20
|
|
/* 8030F7F0 0030C750 7C 85 23 78 */ mr r5, r4
|
|
/* 8030F7F4 0030C754 48 06 AA D9 */ bl GXInitTexObjWrapMode
|
|
lbl_8030F7F8:
|
|
/* 8030F7F8 0030C758 7F 64 DB 78 */ mr r4, r27
|
|
/* 8030F7FC 0030C75C 38 7D 00 20 */ addi r3, r29, 0x20
|
|
/* 8030F800 0030C760 48 06 AA B5 */ bl GXInitTexObjData
|
|
/* 8030F804 0030C764 7F C4 F3 78 */ mr r4, r30
|
|
/* 8030F808 0030C768 38 7D 00 20 */ addi r3, r29, 0x20
|
|
/* 8030F80C 0030C76C 48 06 AC 89 */ bl GXLoadTexObj
|
|
/* 8030F810 0030C770 80 0D A8 70 */ lwz r0, sCurrentFrameCount__8CTexture@sda21(r13)
|
|
/* 8030F814 0030C774 7F BC F9 2E */ stwx r29, r28, r31
|
|
/* 8030F818 0030C778 90 1D 00 64 */ stw r0, 0x64(r29)
|
|
lbl_8030F81C:
|
|
/* 8030F81C 0030C77C BB 41 00 08 */ lmw r26, 8(r1)
|
|
/* 8030F820 0030C780 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 8030F824 0030C784 7C 08 03 A6 */ mtlr r0
|
|
/* 8030F828 0030C788 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 8030F82C 0030C78C 4E 80 00 20 */ blr
|
|
|
|
.global InitTextureObjects__8CTextureFv
|
|
InitTextureObjects__8CTextureFv:
|
|
/* 8030F830 0030C790 94 21 FF D0 */ stwu r1, -0x30(r1)
|
|
/* 8030F834 0030C794 7C 08 02 A6 */ mflr r0
|
|
/* 8030F838 0030C798 90 01 00 34 */ stw r0, 0x34(r1)
|
|
/* 8030F83C 0030C79C BF 41 00 18 */ stmw r26, 0x18(r1)
|
|
/* 8030F840 0030C7A0 7C 7F 1B 78 */ mr r31, r3
|
|
/* 8030F844 0030C7A4 3B C0 00 00 */ li r30, 0
|
|
/* 8030F848 0030C7A8 A8 63 00 04 */ lha r3, 4(r3)
|
|
/* 8030F84C 0030C7AC 48 00 54 0D */ bl FloorPowerOfTwo__5CMathFi
|
|
/* 8030F850 0030C7B0 A8 1F 00 04 */ lha r0, 4(r31)
|
|
/* 8030F854 0030C7B4 7C 00 18 00 */ cmpw r0, r3
|
|
/* 8030F858 0030C7B8 40 82 00 1C */ bne lbl_8030F874
|
|
/* 8030F85C 0030C7BC A8 7F 00 06 */ lha r3, 6(r31)
|
|
/* 8030F860 0030C7C0 48 00 53 F9 */ bl FloorPowerOfTwo__5CMathFi
|
|
/* 8030F864 0030C7C4 A8 1F 00 06 */ lha r0, 6(r31)
|
|
/* 8030F868 0030C7C8 7C 00 18 00 */ cmpw r0, r3
|
|
/* 8030F86C 0030C7CC 40 82 00 08 */ bne lbl_8030F874
|
|
/* 8030F870 0030C7D0 3B C0 00 01 */ li r30, 1
|
|
lbl_8030F874:
|
|
/* 8030F874 0030C7D4 88 1F 00 0A */ lbz r0, 0xa(r31)
|
|
/* 8030F878 0030C7D8 53 C0 2E B4 */ rlwimi r0, r30, 5, 0x1a, 0x1a
|
|
/* 8030F87C 0030C7DC 98 1F 00 0A */ stb r0, 0xa(r31)
|
|
/* 8030F880 0030C7E0 88 1F 00 0A */ lbz r0, 0xa(r31)
|
|
/* 8030F884 0030C7E4 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f
|
|
/* 8030F888 0030C7E8 40 82 00 0C */ bne lbl_8030F894
|
|
/* 8030F88C 0030C7EC 38 00 00 00 */ li r0, 0
|
|
/* 8030F890 0030C7F0 90 1F 00 40 */ stw r0, 0x40(r31)
|
|
lbl_8030F894:
|
|
/* 8030F894 0030C7F4 88 9F 00 08 */ lbz r4, 8(r31)
|
|
/* 8030F898 0030C7F8 38 00 00 01 */ li r0, 1
|
|
/* 8030F89C 0030C7FC 83 BF 00 40 */ lwz r29, 0x40(r31)
|
|
/* 8030F8A0 0030C800 38 7F 00 44 */ addi r3, r31, 0x44
|
|
/* 8030F8A4 0030C804 7C 85 07 74 */ extsb r5, r4
|
|
/* 8030F8A8 0030C808 AB 9F 00 04 */ lha r28, 4(r31)
|
|
/* 8030F8AC 0030C80C 7C A0 02 78 */ xor r0, r5, r0
|
|
/* 8030F8B0 0030C810 AB 7F 00 06 */ lha r27, 6(r31)
|
|
/* 8030F8B4 0030C814 7C 04 0E 70 */ srawi r4, r0, 1
|
|
/* 8030F8B8 0030C818 7C 00 28 38 */ and r0, r0, r5
|
|
/* 8030F8BC 0030C81C 7C 00 20 50 */ subf r0, r0, r4
|
|
/* 8030F8C0 0030C820 54 1E 0F FE */ srwi r30, r0, 0x1f
|
|
/* 8030F8C4 0030C824 48 04 8A 71 */ bl GetMRAMSafe__10CARAMTokenFv
|
|
/* 8030F8C8 0030C828 7C 60 1B 78 */ mr r0, r3
|
|
/* 8030F8CC 0030C82C 7F E3 FB 78 */ mr r3, r31
|
|
/* 8030F8D0 0030C830 7C 1A 03 78 */ mr r26, r0
|
|
/* 8030F8D4 0030C834 4B FF E8 B9 */ bl CountMemory__8CTextureCFv
|
|
/* 8030F8D8 0030C838 80 1F 00 00 */ lwz r0, 0(r31)
|
|
/* 8030F8DC 0030C83C 2C 00 00 04 */ cmpwi r0, 4
|
|
/* 8030F8E0 0030C840 40 82 00 0C */ bne lbl_8030F8EC
|
|
/* 8030F8E4 0030C844 38 00 00 01 */ li r0, 1
|
|
/* 8030F8E8 0030C848 48 00 00 20 */ b lbl_8030F908
|
|
lbl_8030F8EC:
|
|
/* 8030F8EC 0030C84C 2C 00 00 05 */ cmpwi r0, 5
|
|
/* 8030F8F0 0030C850 40 82 00 0C */ bne lbl_8030F8FC
|
|
/* 8030F8F4 0030C854 38 00 00 01 */ li r0, 1
|
|
/* 8030F8F8 0030C858 48 00 00 10 */ b lbl_8030F908
|
|
lbl_8030F8FC:
|
|
/* 8030F8FC 0030C85C 20 00 00 06 */ subfic r0, r0, 6
|
|
/* 8030F900 0030C860 7C 00 00 34 */ cntlzw r0, r0
|
|
/* 8030F904 0030C864 54 00 D9 7E */ srwi r0, r0, 5
|
|
lbl_8030F908:
|
|
/* 8030F908 0030C868 54 00 06 3F */ clrlwi. r0, r0, 0x18
|
|
/* 8030F90C 0030C86C 41 82 00 34 */ beq lbl_8030F940
|
|
/* 8030F910 0030C870 38 00 00 00 */ li r0, 0
|
|
/* 8030F914 0030C874 7F 44 D3 78 */ mr r4, r26
|
|
/* 8030F918 0030C878 90 01 00 08 */ stw r0, 8(r1)
|
|
/* 8030F91C 0030C87C 7F A8 EB 78 */ mr r8, r29
|
|
/* 8030F920 0030C880 7F A9 EB 78 */ mr r9, r29
|
|
/* 8030F924 0030C884 7F CA F3 78 */ mr r10, r30
|
|
/* 8030F928 0030C888 80 FF 00 1C */ lwz r7, 0x1c(r31)
|
|
/* 8030F92C 0030C88C 38 7F 00 20 */ addi r3, r31, 0x20
|
|
/* 8030F930 0030C890 57 85 04 3E */ clrlwi r5, r28, 0x10
|
|
/* 8030F934 0030C894 57 66 04 3E */ clrlwi r6, r27, 0x10
|
|
/* 8030F938 0030C898 48 06 A7 A1 */ bl GXInitTexObjCI
|
|
/* 8030F93C 0030C89C 48 00 00 98 */ b lbl_8030F9D4
|
|
lbl_8030F940:
|
|
/* 8030F940 0030C8A0 80 FF 00 18 */ lwz r7, 0x18(r31)
|
|
/* 8030F944 0030C8A4 7F 44 D3 78 */ mr r4, r26
|
|
/* 8030F948 0030C8A8 7F A8 EB 78 */ mr r8, r29
|
|
/* 8030F94C 0030C8AC 7F A9 EB 78 */ mr r9, r29
|
|
/* 8030F950 0030C8B0 7F CA F3 78 */ mr r10, r30
|
|
/* 8030F954 0030C8B4 38 7F 00 20 */ addi r3, r31, 0x20
|
|
/* 8030F958 0030C8B8 57 85 04 3E */ clrlwi r5, r28, 0x10
|
|
/* 8030F95C 0030C8BC 57 66 04 3E */ clrlwi r6, r27, 0x10
|
|
/* 8030F960 0030C8C0 48 06 A5 05 */ bl GXInitTexObj
|
|
/* 8030F964 0030C8C4 88 BF 00 08 */ lbz r5, 8(r31)
|
|
/* 8030F968 0030C8C8 39 00 00 00 */ li r8, 0
|
|
/* 8030F96C 0030C8CC 7C A0 07 74 */ extsb r0, r5
|
|
/* 8030F970 0030C8D0 2C 00 00 01 */ cmpwi r0, 1
|
|
/* 8030F974 0030C8D4 40 81 00 08 */ ble lbl_8030F97C
|
|
/* 8030F978 0030C8D8 39 00 00 02 */ li r8, 2
|
|
lbl_8030F97C:
|
|
/* 8030F97C 0030C8DC 7C A0 07 74 */ extsb r0, r5
|
|
/* 8030F980 0030C8E0 38 7F 00 20 */ addi r3, r31, 0x20
|
|
/* 8030F984 0030C8E4 2C 00 00 01 */ cmpwi r0, 1
|
|
/* 8030F988 0030C8E8 38 80 00 01 */ li r4, 1
|
|
/* 8030F98C 0030C8EC 40 81 00 08 */ ble lbl_8030F994
|
|
/* 8030F990 0030C8F0 38 80 00 05 */ li r4, 5
|
|
lbl_8030F994:
|
|
/* 8030F994 0030C8F4 7C A5 07 74 */ extsb r5, r5
|
|
/* 8030F998 0030C8F8 3C 00 43 30 */ lis r0, 0x4330
|
|
/* 8030F99C 0030C8FC 6C A5 80 00 */ xoris r5, r5, 0x8000
|
|
/* 8030F9A0 0030C900 C0 22 C8 38 */ lfs f1, lbl_805AE558@sda21(r2)
|
|
/* 8030F9A4 0030C904 90 A1 00 14 */ stw r5, 0x14(r1)
|
|
/* 8030F9A8 0030C908 38 A0 00 01 */ li r5, 1
|
|
/* 8030F9AC 0030C90C C8 82 C8 40 */ lfd f4, lbl_805AE560@sda21(r2)
|
|
/* 8030F9B0 0030C910 FC 60 08 90 */ fmr f3, f1
|
|
/* 8030F9B4 0030C914 90 01 00 10 */ stw r0, 0x10(r1)
|
|
/* 8030F9B8 0030C918 38 C0 00 00 */ li r6, 0
|
|
/* 8030F9BC 0030C91C C0 02 C8 3C */ lfs f0, lbl_805AE55C@sda21(r2)
|
|
/* 8030F9C0 0030C920 38 E0 00 00 */ li r7, 0
|
|
/* 8030F9C4 0030C924 C8 41 00 10 */ lfd f2, 0x10(r1)
|
|
/* 8030F9C8 0030C928 EC 42 20 28 */ fsubs f2, f2, f4
|
|
/* 8030F9CC 0030C92C EC 42 00 28 */ fsubs f2, f2, f0
|
|
/* 8030F9D0 0030C930 48 06 A7 51 */ bl GXInitTexObjLOD
|
|
lbl_8030F9D4:
|
|
/* 8030F9D4 0030C934 88 1F 00 0A */ lbz r0, 0xa(r31)
|
|
/* 8030F9D8 0030C938 38 60 00 01 */ li r3, 1
|
|
/* 8030F9DC 0030C93C 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d
|
|
/* 8030F9E0 0030C940 98 1F 00 0A */ stb r0, 0xa(r31)
|
|
/* 8030F9E4 0030C944 BB 41 00 18 */ lmw r26, 0x18(r1)
|
|
/* 8030F9E8 0030C948 80 01 00 34 */ lwz r0, 0x34(r1)
|
|
/* 8030F9EC 0030C94C 7C 08 03 A6 */ mtlr r0
|
|
/* 8030F9F0 0030C950 38 21 00 30 */ addi r1, r1, 0x30
|
|
/* 8030F9F4 0030C954 4E 80 00 20 */ blr
|
|
|
|
.global __dt__8CTextureFv
|
|
__dt__8CTextureFv:
|
|
/* 8030F9F8 0030C958 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 8030F9FC 0030C95C 7C 08 02 A6 */ mflr r0
|
|
/* 8030FA00 0030C960 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 8030FA04 0030C964 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 8030FA08 0030C968 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
/* 8030FA0C 0030C96C 7C 9E 23 78 */ mr r30, r4
|
|
/* 8030FA10 0030C970 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
/* 8030FA14 0030C974 7C 7D 1B 79 */ or. r29, r3, r3
|
|
/* 8030FA18 0030C978 41 82 00 8C */ beq lbl_8030FAA4
|
|
/* 8030FA1C 0030C97C 4B FF E7 45 */ bl UncountMemory__8CTextureCFv
|
|
/* 8030FA20 0030C980 38 7D 00 44 */ addi r3, r29, 0x44
|
|
/* 8030FA24 0030C984 38 80 FF FF */ li r4, -1
|
|
/* 8030FA28 0030C988 48 04 8F 1D */ bl __dt__10CARAMTokenFv
|
|
/* 8030FA2C 0030C98C 34 1D 00 14 */ addic. r0, r29, 0x14
|
|
/* 8030FA30 0030C990 41 82 00 50 */ beq lbl_8030FA80
|
|
/* 8030FA34 0030C994 83 FD 00 14 */ lwz r31, 0x14(r29)
|
|
/* 8030FA38 0030C998 28 1F 00 00 */ cmplwi r31, 0
|
|
/* 8030FA3C 0030C99C 41 82 00 44 */ beq lbl_8030FA80
|
|
/* 8030FA40 0030C9A0 34 1F 00 18 */ addic. r0, r31, 0x18
|
|
/* 8030FA44 0030C9A4 41 82 00 0C */ beq lbl_8030FA50
|
|
/* 8030FA48 0030C9A8 80 7F 00 18 */ lwz r3, 0x18(r31)
|
|
/* 8030FA4C 0030C9AC 48 00 5E E5 */ bl Free__7CMemoryFPCv
|
|
lbl_8030FA50:
|
|
/* 8030FA50 0030C9B0 34 1F 00 14 */ addic. r0, r31, 0x14
|
|
/* 8030FA54 0030C9B4 41 82 00 24 */ beq lbl_8030FA78
|
|
/* 8030FA58 0030C9B8 80 7F 00 14 */ lwz r3, 0x14(r31)
|
|
/* 8030FA5C 0030C9BC 28 03 00 00 */ cmplwi r3, 0
|
|
/* 8030FA60 0030C9C0 41 82 00 18 */ beq lbl_8030FA78
|
|
/* 8030FA64 0030C9C4 81 83 00 00 */ lwz r12, 0(r3)
|
|
/* 8030FA68 0030C9C8 38 80 00 01 */ li r4, 1
|
|
/* 8030FA6C 0030C9CC 81 8C 00 08 */ lwz r12, 8(r12)
|
|
/* 8030FA70 0030C9D0 7D 89 03 A6 */ mtctr r12
|
|
/* 8030FA74 0030C9D4 4E 80 04 21 */ bctrl
|
|
lbl_8030FA78:
|
|
/* 8030FA78 0030C9D8 7F E3 FB 78 */ mr r3, r31
|
|
/* 8030FA7C 0030C9DC 48 00 5E B5 */ bl Free__7CMemoryFPCv
|
|
lbl_8030FA80:
|
|
/* 8030FA80 0030C9E0 34 1D 00 10 */ addic. r0, r29, 0x10
|
|
/* 8030FA84 0030C9E4 41 82 00 10 */ beq lbl_8030FA94
|
|
/* 8030FA88 0030C9E8 80 7D 00 10 */ lwz r3, 0x10(r29)
|
|
/* 8030FA8C 0030C9EC 38 80 00 01 */ li r4, 1
|
|
/* 8030FA90 0030C9F0 4B FF E4 71 */ bl __dt__16CGraphicsPaletteFv
|
|
lbl_8030FA94:
|
|
/* 8030FA94 0030C9F4 7F C0 07 35 */ extsh. r0, r30
|
|
/* 8030FA98 0030C9F8 40 81 00 0C */ ble lbl_8030FAA4
|
|
/* 8030FA9C 0030C9FC 7F A3 EB 78 */ mr r3, r29
|
|
/* 8030FAA0 0030CA00 48 00 5E 91 */ bl Free__7CMemoryFPCv
|
|
lbl_8030FAA4:
|
|
/* 8030FAA4 0030CA04 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 8030FAA8 0030CA08 7F A3 EB 78 */ mr r3, r29
|
|
/* 8030FAAC 0030CA0C 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 8030FAB0 0030CA10 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
/* 8030FAB4 0030CA14 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
/* 8030FAB8 0030CA18 7C 08 03 A6 */ mtlr r0
|
|
/* 8030FABC 0030CA1C 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 8030FAC0 0030CA20 4E 80 00 20 */ blr
|
|
|
|
.global __ct__8CTextureFR12CInputStreamQ28CTexture11EAutoMipmapQ28CTexture9EBlackKey
|
|
__ct__8CTextureFR12CInputStreamQ28CTexture11EAutoMipmapQ28CTexture9EBlackKey:
|
|
/* 8030FAC4 0030CA24 94 21 FF D0 */ stwu r1, -0x30(r1)
|
|
/* 8030FAC8 0030CA28 7C 08 02 A6 */ mflr r0
|
|
/* 8030FACC 0030CA2C 38 E0 00 00 */ li r7, 0
|
|
/* 8030FAD0 0030CA30 38 C0 00 01 */ li r6, 1
|
|
/* 8030FAD4 0030CA34 90 01 00 34 */ stw r0, 0x34(r1)
|
|
/* 8030FAD8 0030CA38 38 00 FF FF */ li r0, -1
|
|
/* 8030FADC 0030CA3C 38 A0 00 04 */ li r5, 4
|
|
/* 8030FAE0 0030CA40 BF 21 00 14 */ stmw r25, 0x14(r1)
|
|
/* 8030FAE4 0030CA44 7C 7D 1B 78 */ mr r29, r3
|
|
/* 8030FAE8 0030CA48 7C 9E 23 78 */ mr r30, r4
|
|
/* 8030FAEC 0030CA4C 90 03 00 00 */ stw r0, 0(r3)
|
|
/* 8030FAF0 0030CA50 38 00 00 09 */ li r0, 9
|
|
/* 8030FAF4 0030CA54 B0 E3 00 04 */ sth r7, 4(r3)
|
|
/* 8030FAF8 0030CA58 38 7D 00 44 */ addi r3, r29, 0x44
|
|
/* 8030FAFC 0030CA5C B0 FD 00 06 */ sth r7, 6(r29)
|
|
/* 8030FB00 0030CA60 98 FD 00 08 */ stb r7, 8(r29)
|
|
/* 8030FB04 0030CA64 98 FD 00 09 */ stb r7, 9(r29)
|
|
/* 8030FB08 0030CA68 88 9D 00 0A */ lbz r4, 0xa(r29)
|
|
/* 8030FB0C 0030CA6C 50 E4 3E 30 */ rlwimi r4, r7, 7, 0x18, 0x18
|
|
/* 8030FB10 0030CA70 98 9D 00 0A */ stb r4, 0xa(r29)
|
|
/* 8030FB14 0030CA74 88 9D 00 0A */ lbz r4, 0xa(r29)
|
|
/* 8030FB18 0030CA78 50 E4 36 72 */ rlwimi r4, r7, 6, 0x19, 0x19
|
|
/* 8030FB1C 0030CA7C 98 9D 00 0A */ stb r4, 0xa(r29)
|
|
/* 8030FB20 0030CA80 88 9D 00 0A */ lbz r4, 0xa(r29)
|
|
/* 8030FB24 0030CA84 50 E4 2E B4 */ rlwimi r4, r7, 5, 0x1a, 0x1a
|
|
/* 8030FB28 0030CA88 98 9D 00 0A */ stb r4, 0xa(r29)
|
|
/* 8030FB2C 0030CA8C 88 9D 00 0A */ lbz r4, 0xa(r29)
|
|
/* 8030FB30 0030CA90 50 C4 26 F6 */ rlwimi r4, r6, 4, 0x1b, 0x1b
|
|
/* 8030FB34 0030CA94 98 9D 00 0A */ stb r4, 0xa(r29)
|
|
/* 8030FB38 0030CA98 88 9D 00 0A */ lbz r4, 0xa(r29)
|
|
/* 8030FB3C 0030CA9C 50 E4 1F 38 */ rlwimi r4, r7, 3, 0x1c, 0x1c
|
|
/* 8030FB40 0030CAA0 98 9D 00 0A */ stb r4, 0xa(r29)
|
|
/* 8030FB44 0030CAA4 88 9D 00 0A */ lbz r4, 0xa(r29)
|
|
/* 8030FB48 0030CAA8 50 E4 17 7A */ rlwimi r4, r7, 2, 0x1d, 0x1d
|
|
/* 8030FB4C 0030CAAC 98 9D 00 0A */ stb r4, 0xa(r29)
|
|
/* 8030FB50 0030CAB0 90 FD 00 0C */ stw r7, 0xc(r29)
|
|
/* 8030FB54 0030CAB4 90 FD 00 10 */ stw r7, 0x10(r29)
|
|
/* 8030FB58 0030CAB8 90 FD 00 14 */ stw r7, 0x14(r29)
|
|
/* 8030FB5C 0030CABC 90 BD 00 18 */ stw r5, 0x18(r29)
|
|
/* 8030FB60 0030CAC0 90 1D 00 1C */ stw r0, 0x1c(r29)
|
|
/* 8030FB64 0030CAC4 90 DD 00 40 */ stw r6, 0x40(r29)
|
|
/* 8030FB68 0030CAC8 48 04 8F 95 */ bl __ct__10CARAMTokenFv
|
|
/* 8030FB6C 0030CACC 80 0D A8 70 */ lwz r0, sCurrentFrameCount__8CTexture@sda21(r13)
|
|
/* 8030FB70 0030CAD0 7F C3 F3 78 */ mr r3, r30
|
|
/* 8030FB74 0030CAD4 90 1D 00 64 */ stw r0, 0x64(r29)
|
|
/* 8030FB78 0030CAD8 48 02 F1 0D */ bl ReadLong__12CInputStreamFv
|
|
/* 8030FB7C 0030CADC 90 7D 00 00 */ stw r3, 0(r29)
|
|
/* 8030FB80 0030CAE0 7F C3 F3 78 */ mr r3, r30
|
|
/* 8030FB84 0030CAE4 48 02 F1 2D */ bl ReadShort__12CInputStreamFv
|
|
/* 8030FB88 0030CAE8 B0 7D 00 04 */ sth r3, 4(r29)
|
|
/* 8030FB8C 0030CAEC 7F C3 F3 78 */ mr r3, r30
|
|
/* 8030FB90 0030CAF0 48 02 F1 21 */ bl ReadShort__12CInputStreamFv
|
|
/* 8030FB94 0030CAF4 B0 7D 00 06 */ sth r3, 6(r29)
|
|
/* 8030FB98 0030CAF8 7F C3 F3 78 */ mr r3, r30
|
|
/* 8030FB9C 0030CAFC 48 02 F0 E9 */ bl ReadLong__12CInputStreamFv
|
|
/* 8030FBA0 0030CB00 98 7D 00 08 */ stb r3, 8(r29)
|
|
/* 8030FBA4 0030CB04 80 1D 00 00 */ lwz r0, 0(r29)
|
|
/* 8030FBA8 0030CB08 2C 00 00 04 */ cmpwi r0, 4
|
|
/* 8030FBAC 0030CB0C 40 82 00 0C */ bne lbl_8030FBB8
|
|
/* 8030FBB0 0030CB10 38 00 00 01 */ li r0, 1
|
|
/* 8030FBB4 0030CB14 48 00 00 20 */ b lbl_8030FBD4
|
|
lbl_8030FBB8:
|
|
/* 8030FBB8 0030CB18 2C 00 00 05 */ cmpwi r0, 5
|
|
/* 8030FBBC 0030CB1C 40 82 00 0C */ bne lbl_8030FBC8
|
|
/* 8030FBC0 0030CB20 38 00 00 01 */ li r0, 1
|
|
/* 8030FBC4 0030CB24 48 00 00 10 */ b lbl_8030FBD4
|
|
lbl_8030FBC8:
|
|
/* 8030FBC8 0030CB28 20 00 00 06 */ subfic r0, r0, 6
|
|
/* 8030FBCC 0030CB2C 7C 00 00 34 */ cntlzw r0, r0
|
|
/* 8030FBD0 0030CB30 54 00 D9 7E */ srwi r0, r0, 5
|
|
lbl_8030FBD4:
|
|
/* 8030FBD4 0030CB34 54 00 06 3F */ clrlwi. r0, r0, 0x18
|
|
/* 8030FBD8 0030CB38 41 82 00 4C */ beq lbl_8030FC24
|
|
/* 8030FBDC 0030CB3C 3C 80 80 3D */ lis r4, lbl_803D7400@ha
|
|
/* 8030FBE0 0030CB40 38 60 00 20 */ li r3, 0x20
|
|
/* 8030FBE4 0030CB44 38 84 74 00 */ addi r4, r4, lbl_803D7400@l
|
|
/* 8030FBE8 0030CB48 38 A0 00 00 */ li r5, 0
|
|
/* 8030FBEC 0030CB4C 48 00 5C 81 */ bl __nw__FUlPCcPCc
|
|
/* 8030FBF0 0030CB50 7C 7C 1B 79 */ or. r28, r3, r3
|
|
/* 8030FBF4 0030CB54 41 82 00 10 */ beq lbl_8030FC04
|
|
/* 8030FBF8 0030CB58 7F C4 F3 78 */ mr r4, r30
|
|
/* 8030FBFC 0030CB5C 4B FF E3 8D */ bl __ct__16CGraphicsPaletteFR12CInputStream
|
|
/* 8030FC00 0030CB60 7C 7C 1B 78 */ mr r28, r3
|
|
lbl_8030FC04:
|
|
/* 8030FC04 0030CB64 80 7D 00 10 */ lwz r3, 0x10(r29)
|
|
/* 8030FC08 0030CB68 38 80 00 01 */ li r4, 1
|
|
/* 8030FC0C 0030CB6C 4B FF E2 F5 */ bl __dt__16CGraphicsPaletteFv
|
|
/* 8030FC10 0030CB70 93 9D 00 10 */ stw r28, 0x10(r29)
|
|
/* 8030FC14 0030CB74 38 60 00 01 */ li r3, 1
|
|
/* 8030FC18 0030CB78 88 1D 00 0A */ lbz r0, 0xa(r29)
|
|
/* 8030FC1C 0030CB7C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19
|
|
/* 8030FC20 0030CB80 98 1D 00 0A */ stb r0, 0xa(r29)
|
|
lbl_8030FC24:
|
|
/* 8030FC24 0030CB84 80 7D 00 00 */ lwz r3, 0(r29)
|
|
/* 8030FC28 0030CB88 4B FF EE DD */ bl TexelFormatBitsPerPixel__8CTextureF12ETexelFormat
|
|
/* 8030FC2C 0030CB8C 98 7D 00 09 */ stb r3, 9(r29)
|
|
/* 8030FC30 0030CB90 7F A3 EB 78 */ mr r3, r29
|
|
/* 8030FC34 0030CB94 88 FD 00 08 */ lbz r7, 8(r29)
|
|
/* 8030FC38 0030CB98 A8 BD 00 04 */ lha r5, 4(r29)
|
|
/* 8030FC3C 0030CB9C A8 DD 00 06 */ lha r6, 6(r29)
|
|
/* 8030FC40 0030CBA0 7C E7 07 74 */ extsb r7, r7
|
|
/* 8030FC44 0030CBA4 80 9D 00 00 */ lwz r4, 0(r29)
|
|
/* 8030FC48 0030CBA8 4B FF ED 29 */ bl InitBitmapBuffers__8CTextureF12ETexelFormatssi
|
|
/* 8030FC4C 0030CBAC 89 1D 00 08 */ lbz r8, 8(r29)
|
|
/* 8030FC50 0030CBB0 3B E0 00 00 */ li r31, 0
|
|
/* 8030FC54 0030CBB4 39 20 00 00 */ li r9, 0
|
|
/* 8030FC58 0030CBB8 7D 08 07 75 */ extsb. r8, r8
|
|
/* 8030FC5C 0030CBBC 40 81 01 20 */ ble lbl_8030FD7C
|
|
/* 8030FC60 0030CBC0 55 00 F0 BF */ rlwinm. r0, r8, 0x1e, 2, 0x1f
|
|
/* 8030FC64 0030CBC4 7C 09 03 A6 */ mtctr r0
|
|
/* 8030FC68 0030CBC8 41 82 00 D0 */ beq lbl_8030FD38
|
|
lbl_8030FC6C:
|
|
/* 8030FC6C 0030CBCC A8 FD 00 04 */ lha r7, 4(r29)
|
|
/* 8030FC70 0030CBD0 A8 BD 00 06 */ lha r5, 6(r29)
|
|
/* 8030FC74 0030CBD4 7C E6 4E 30 */ sraw r6, r7, r9
|
|
/* 8030FC78 0030CBD8 88 1D 00 09 */ lbz r0, 9(r29)
|
|
/* 8030FC7C 0030CBDC 7C A4 4E 30 */ sraw r4, r5, r9
|
|
/* 8030FC80 0030CBE0 39 29 00 01 */ addi r9, r9, 1
|
|
/* 8030FC84 0030CBE4 7C 03 07 74 */ extsb r3, r0
|
|
/* 8030FC88 0030CBE8 38 C6 00 03 */ addi r6, r6, 3
|
|
/* 8030FC8C 0030CBEC 38 04 00 03 */ addi r0, r4, 3
|
|
/* 8030FC90 0030CBF0 54 C4 00 3A */ rlwinm r4, r6, 0, 0, 0x1d
|
|
/* 8030FC94 0030CBF4 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d
|
|
/* 8030FC98 0030CBF8 7C 04 01 D6 */ mullw r0, r4, r0
|
|
/* 8030FC9C 0030CBFC 7C 00 19 D6 */ mullw r0, r0, r3
|
|
/* 8030FCA0 0030CC00 7C 00 1E 70 */ srawi r0, r0, 3
|
|
/* 8030FCA4 0030CC04 7C E6 4E 30 */ sraw r6, r7, r9
|
|
/* 8030FCA8 0030CC08 7C A4 4E 30 */ sraw r4, r5, r9
|
|
/* 8030FCAC 0030CC0C 7F FF 02 14 */ add r31, r31, r0
|
|
/* 8030FCB0 0030CC10 38 04 00 03 */ addi r0, r4, 3
|
|
/* 8030FCB4 0030CC14 38 C6 00 03 */ addi r6, r6, 3
|
|
/* 8030FCB8 0030CC18 54 C4 00 3A */ rlwinm r4, r6, 0, 0, 0x1d
|
|
/* 8030FCBC 0030CC1C 39 29 00 01 */ addi r9, r9, 1
|
|
/* 8030FCC0 0030CC20 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d
|
|
/* 8030FCC4 0030CC24 7C 04 01 D6 */ mullw r0, r4, r0
|
|
/* 8030FCC8 0030CC28 7C 00 19 D6 */ mullw r0, r0, r3
|
|
/* 8030FCCC 0030CC2C 7C 00 1E 70 */ srawi r0, r0, 3
|
|
/* 8030FCD0 0030CC30 7C E6 4E 30 */ sraw r6, r7, r9
|
|
/* 8030FCD4 0030CC34 7C A4 4E 30 */ sraw r4, r5, r9
|
|
/* 8030FCD8 0030CC38 7F FF 02 14 */ add r31, r31, r0
|
|
/* 8030FCDC 0030CC3C 38 04 00 03 */ addi r0, r4, 3
|
|
/* 8030FCE0 0030CC40 38 C6 00 03 */ addi r6, r6, 3
|
|
/* 8030FCE4 0030CC44 54 C4 00 3A */ rlwinm r4, r6, 0, 0, 0x1d
|
|
/* 8030FCE8 0030CC48 39 29 00 01 */ addi r9, r9, 1
|
|
/* 8030FCEC 0030CC4C 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d
|
|
/* 8030FCF0 0030CC50 7C 04 01 D6 */ mullw r0, r4, r0
|
|
/* 8030FCF4 0030CC54 7C 00 19 D6 */ mullw r0, r0, r3
|
|
/* 8030FCF8 0030CC58 7C 00 1E 70 */ srawi r0, r0, 3
|
|
/* 8030FCFC 0030CC5C 7C E6 4E 30 */ sraw r6, r7, r9
|
|
/* 8030FD00 0030CC60 7C A4 4E 30 */ sraw r4, r5, r9
|
|
/* 8030FD04 0030CC64 7F FF 02 14 */ add r31, r31, r0
|
|
/* 8030FD08 0030CC68 38 04 00 03 */ addi r0, r4, 3
|
|
/* 8030FD0C 0030CC6C 38 C6 00 03 */ addi r6, r6, 3
|
|
/* 8030FD10 0030CC70 54 C4 00 3A */ rlwinm r4, r6, 0, 0, 0x1d
|
|
/* 8030FD14 0030CC74 39 29 00 01 */ addi r9, r9, 1
|
|
/* 8030FD18 0030CC78 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d
|
|
/* 8030FD1C 0030CC7C 7C 04 01 D6 */ mullw r0, r4, r0
|
|
/* 8030FD20 0030CC80 7C 00 19 D6 */ mullw r0, r0, r3
|
|
/* 8030FD24 0030CC84 7C 00 1E 70 */ srawi r0, r0, 3
|
|
/* 8030FD28 0030CC88 7F FF 02 14 */ add r31, r31, r0
|
|
/* 8030FD2C 0030CC8C 42 00 FF 40 */ bdnz lbl_8030FC6C
|
|
/* 8030FD30 0030CC90 71 08 00 03 */ andi. r8, r8, 3
|
|
/* 8030FD34 0030CC94 41 82 00 48 */ beq lbl_8030FD7C
|
|
lbl_8030FD38:
|
|
/* 8030FD38 0030CC98 7D 09 03 A6 */ mtctr r8
|
|
lbl_8030FD3C:
|
|
/* 8030FD3C 0030CC9C A8 FD 00 04 */ lha r7, 4(r29)
|
|
/* 8030FD40 0030CCA0 A8 BD 00 06 */ lha r5, 6(r29)
|
|
/* 8030FD44 0030CCA4 7C E6 4E 30 */ sraw r6, r7, r9
|
|
/* 8030FD48 0030CCA8 88 1D 00 09 */ lbz r0, 9(r29)
|
|
/* 8030FD4C 0030CCAC 7C A4 4E 30 */ sraw r4, r5, r9
|
|
/* 8030FD50 0030CCB0 39 29 00 01 */ addi r9, r9, 1
|
|
/* 8030FD54 0030CCB4 7C 03 07 74 */ extsb r3, r0
|
|
/* 8030FD58 0030CCB8 38 C6 00 03 */ addi r6, r6, 3
|
|
/* 8030FD5C 0030CCBC 38 04 00 03 */ addi r0, r4, 3
|
|
/* 8030FD60 0030CCC0 54 C4 00 3A */ rlwinm r4, r6, 0, 0, 0x1d
|
|
/* 8030FD64 0030CCC4 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d
|
|
/* 8030FD68 0030CCC8 7C 04 01 D6 */ mullw r0, r4, r0
|
|
/* 8030FD6C 0030CCCC 7C 00 19 D6 */ mullw r0, r0, r3
|
|
/* 8030FD70 0030CCD0 7C 00 1E 70 */ srawi r0, r0, 3
|
|
/* 8030FD74 0030CCD4 7F FF 02 14 */ add r31, r31, r0
|
|
/* 8030FD78 0030CCD8 42 00 FF C4 */ bdnz lbl_8030FD3C
|
|
lbl_8030FD7C:
|
|
/* 8030FD7C 0030CCDC 38 7D 00 44 */ addi r3, r29, 0x44
|
|
/* 8030FD80 0030CCE0 48 04 85 B5 */ bl GetMRAMSafe__10CARAMTokenFv
|
|
/* 8030FD84 0030CCE4 7C 7C 1B 78 */ mr r28, r3
|
|
/* 8030FD88 0030CCE8 3B 40 00 00 */ li r26, 0
|
|
/* 8030FD8C 0030CCEC 48 00 00 3C */ b lbl_8030FDC8
|
|
lbl_8030FD90:
|
|
/* 8030FD90 0030CCF0 7F 3A F8 50 */ subf r25, r26, r31
|
|
/* 8030FD94 0030CCF4 2C 19 01 00 */ cmpwi r25, 0x100
|
|
/* 8030FD98 0030CCF8 40 81 00 08 */ ble lbl_8030FDA0
|
|
/* 8030FD9C 0030CCFC 3B 20 01 00 */ li r25, 0x100
|
|
lbl_8030FDA0:
|
|
/* 8030FDA0 0030CD00 7F 7C D2 14 */ add r27, r28, r26
|
|
/* 8030FDA4 0030CD04 7F C3 F3 78 */ mr r3, r30
|
|
/* 8030FDA8 0030CD08 7F 64 DB 78 */ mr r4, r27
|
|
/* 8030FDAC 0030CD0C 7F 25 CB 78 */ mr r5, r25
|
|
/* 8030FDB0 0030CD10 48 02 F1 A5 */ bl Get__12CInputStreamFPvUl
|
|
/* 8030FDB4 0030CD14 38 19 00 1F */ addi r0, r25, 0x1f
|
|
/* 8030FDB8 0030CD18 7F 63 DB 78 */ mr r3, r27
|
|
/* 8030FDBC 0030CD1C 54 04 00 34 */ rlwinm r4, r0, 0, 0, 0x1a
|
|
/* 8030FDC0 0030CD20 48 06 ED 51 */ bl DCFlushRangeNoSync
|
|
/* 8030FDC4 0030CD24 7F 5A CA 14 */ add r26, r26, r25
|
|
lbl_8030FDC8:
|
|
/* 8030FDC8 0030CD28 7C 1A F8 00 */ cmpw r26, r31
|
|
/* 8030FDCC 0030CD2C 41 80 FF C4 */ blt lbl_8030FD90
|
|
/* 8030FDD0 0030CD30 88 0D A8 78 */ lbz r0, sMangleMips__8CTexture@sda21(r13)
|
|
/* 8030FDD4 0030CD34 28 00 00 00 */ cmplwi r0, 0
|
|
/* 8030FDD8 0030CD38 41 82 00 30 */ beq lbl_8030FE08
|
|
/* 8030FDDC 0030CD3C 7F BB EB 78 */ mr r27, r29
|
|
/* 8030FDE0 0030CD40 3B 20 00 01 */ li r25, 1
|
|
/* 8030FDE4 0030CD44 48 00 00 14 */ b lbl_8030FDF8
|
|
lbl_8030FDE8:
|
|
/* 8030FDE8 0030CD48 7F 63 DB 78 */ mr r3, r27
|
|
/* 8030FDEC 0030CD4C 7F 24 CB 78 */ mr r4, r25
|
|
/* 8030FDF0 0030CD50 4B FF E3 E5 */ bl MangleMipmap__8CTextureFi
|
|
/* 8030FDF4 0030CD54 3B 39 00 01 */ addi r25, r25, 1
|
|
lbl_8030FDF8:
|
|
/* 8030FDF8 0030CD58 88 1D 00 08 */ lbz r0, 8(r29)
|
|
/* 8030FDFC 0030CD5C 7C 00 07 74 */ extsb r0, r0
|
|
/* 8030FE00 0030CD60 7C 19 00 00 */ cmpw r25, r0
|
|
/* 8030FE04 0030CD64 41 80 FF E4 */ blt lbl_8030FDE8
|
|
lbl_8030FE08:
|
|
/* 8030FE08 0030CD68 7F A3 EB 78 */ mr r3, r29
|
|
/* 8030FE0C 0030CD6C 4B FF FA 25 */ bl InitTextureObjects__8CTextureFv
|
|
/* 8030FE10 0030CD70 48 05 F9 FD */ bl PPCSync
|
|
/* 8030FE14 0030CD74 7F A3 EB 78 */ mr r3, r29
|
|
/* 8030FE18 0030CD78 BB 21 00 14 */ lmw r25, 0x14(r1)
|
|
/* 8030FE1C 0030CD7C 80 01 00 34 */ lwz r0, 0x34(r1)
|
|
/* 8030FE20 0030CD80 7C 08 03 A6 */ mtlr r0
|
|
/* 8030FE24 0030CD84 38 21 00 30 */ addi r1, r1, 0x30
|
|
/* 8030FE28 0030CD88 4E 80 00 20 */ blr
|
|
|
|
.global __ct__8CTextureF12ETexelFormatssi
|
|
__ct__8CTextureF12ETexelFormatssi:
|
|
/* 8030FE2C 0030CD8C 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 8030FE30 0030CD90 7C 08 02 A6 */ mflr r0
|
|
/* 8030FE34 0030CD94 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 8030FE38 0030CD98 BF 61 00 0C */ stmw r27, 0xc(r1)
|
|
/* 8030FE3C 0030CD9C 7C 9C 23 78 */ mr r28, r4
|
|
/* 8030FE40 0030CDA0 7C BD 2B 78 */ mr r29, r5
|
|
/* 8030FE44 0030CDA4 7C 7B 1B 78 */ mr r27, r3
|
|
/* 8030FE48 0030CDA8 7C DE 33 78 */ mr r30, r6
|
|
/* 8030FE4C 0030CDAC 7C FF 3B 78 */ mr r31, r7
|
|
/* 8030FE50 0030CDB0 93 83 00 00 */ stw r28, 0(r3)
|
|
/* 8030FE54 0030CDB4 B3 A3 00 04 */ sth r29, 4(r3)
|
|
/* 8030FE58 0030CDB8 7F 83 E3 78 */ mr r3, r28
|
|
/* 8030FE5C 0030CDBC B3 DB 00 06 */ sth r30, 6(r27)
|
|
/* 8030FE60 0030CDC0 9B FB 00 08 */ stb r31, 8(r27)
|
|
/* 8030FE64 0030CDC4 4B FF EC A1 */ bl TexelFormatBitsPerPixel__8CTextureF12ETexelFormat
|
|
/* 8030FE68 0030CDC8 98 7B 00 09 */ stb r3, 9(r27)
|
|
/* 8030FE6C 0030CDCC 38 E0 00 00 */ li r7, 0
|
|
/* 8030FE70 0030CDD0 38 C0 00 01 */ li r6, 1
|
|
/* 8030FE74 0030CDD4 38 80 00 04 */ li r4, 4
|
|
/* 8030FE78 0030CDD8 88 7B 00 0A */ lbz r3, 0xa(r27)
|
|
/* 8030FE7C 0030CDDC 50 E3 3E 30 */ rlwimi r3, r7, 7, 0x18, 0x18
|
|
/* 8030FE80 0030CDE0 38 00 00 09 */ li r0, 9
|
|
/* 8030FE84 0030CDE4 98 7B 00 0A */ stb r3, 0xa(r27)
|
|
/* 8030FE88 0030CDE8 38 7B 00 44 */ addi r3, r27, 0x44
|
|
/* 8030FE8C 0030CDEC 88 BB 00 0A */ lbz r5, 0xa(r27)
|
|
/* 8030FE90 0030CDF0 50 E5 36 72 */ rlwimi r5, r7, 6, 0x19, 0x19
|
|
/* 8030FE94 0030CDF4 98 BB 00 0A */ stb r5, 0xa(r27)
|
|
/* 8030FE98 0030CDF8 88 BB 00 0A */ lbz r5, 0xa(r27)
|
|
/* 8030FE9C 0030CDFC 50 E5 2E B4 */ rlwimi r5, r7, 5, 0x1a, 0x1a
|
|
/* 8030FEA0 0030CE00 98 BB 00 0A */ stb r5, 0xa(r27)
|
|
/* 8030FEA4 0030CE04 88 BB 00 0A */ lbz r5, 0xa(r27)
|
|
/* 8030FEA8 0030CE08 50 C5 26 F6 */ rlwimi r5, r6, 4, 0x1b, 0x1b
|
|
/* 8030FEAC 0030CE0C 98 BB 00 0A */ stb r5, 0xa(r27)
|
|
/* 8030FEB0 0030CE10 88 BB 00 0A */ lbz r5, 0xa(r27)
|
|
/* 8030FEB4 0030CE14 50 E5 1F 38 */ rlwimi r5, r7, 3, 0x1c, 0x1c
|
|
/* 8030FEB8 0030CE18 98 BB 00 0A */ stb r5, 0xa(r27)
|
|
/* 8030FEBC 0030CE1C 88 BB 00 0A */ lbz r5, 0xa(r27)
|
|
/* 8030FEC0 0030CE20 50 E5 17 7A */ rlwimi r5, r7, 2, 0x1d, 0x1d
|
|
/* 8030FEC4 0030CE24 98 BB 00 0A */ stb r5, 0xa(r27)
|
|
/* 8030FEC8 0030CE28 90 FB 00 0C */ stw r7, 0xc(r27)
|
|
/* 8030FECC 0030CE2C 90 FB 00 10 */ stw r7, 0x10(r27)
|
|
/* 8030FED0 0030CE30 90 FB 00 14 */ stw r7, 0x14(r27)
|
|
/* 8030FED4 0030CE34 90 9B 00 18 */ stw r4, 0x18(r27)
|
|
/* 8030FED8 0030CE38 90 1B 00 1C */ stw r0, 0x1c(r27)
|
|
/* 8030FEDC 0030CE3C 90 DB 00 40 */ stw r6, 0x40(r27)
|
|
/* 8030FEE0 0030CE40 48 04 8C 1D */ bl __ct__10CARAMTokenFv
|
|
/* 8030FEE4 0030CE44 80 0D A8 70 */ lwz r0, sCurrentFrameCount__8CTexture@sda21(r13)
|
|
/* 8030FEE8 0030CE48 7F 63 DB 78 */ mr r3, r27
|
|
/* 8030FEEC 0030CE4C 7F 84 E3 78 */ mr r4, r28
|
|
/* 8030FEF0 0030CE50 7F A5 EB 78 */ mr r5, r29
|
|
/* 8030FEF4 0030CE54 90 1B 00 64 */ stw r0, 0x64(r27)
|
|
/* 8030FEF8 0030CE58 7F C6 F3 78 */ mr r6, r30
|
|
/* 8030FEFC 0030CE5C 7F E7 FB 78 */ mr r7, r31
|
|
/* 8030FF00 0030CE60 4B FF EA 71 */ bl InitBitmapBuffers__8CTextureF12ETexelFormatssi
|
|
/* 8030FF04 0030CE64 7F 63 DB 78 */ mr r3, r27
|
|
/* 8030FF08 0030CE68 4B FF F9 29 */ bl InitTextureObjects__8CTextureFv
|
|
/* 8030FF0C 0030CE6C 7F 63 DB 78 */ mr r3, r27
|
|
/* 8030FF10 0030CE70 BB 61 00 0C */ lmw r27, 0xc(r1)
|
|
/* 8030FF14 0030CE74 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 8030FF18 0030CE78 7C 08 03 A6 */ mtlr r0
|
|
/* 8030FF1C 0030CE7C 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 8030FF20 0030CE80 4E 80 00 20 */ blr
|
|
|
|
.section .sdata2, "a"
|
|
.balign 8
|
|
.global lbl_805AE558
|
|
lbl_805AE558:
|
|
# ROM: 0x3FADF8
|
|
.4byte 0
|
|
|
|
.global lbl_805AE55C
|
|
lbl_805AE55C:
|
|
# ROM: 0x3FADFC
|
|
.float 1.0
|
|
|
|
.global lbl_805AE560
|
|
lbl_805AE560:
|
|
# ROM: 0x3FAE00
|
|
.double 4.503601774854144E15
|
|
|
|
|
|
.section .rodata
|
|
.balign 8
|
|
.global lbl_803D73F0
|
|
lbl_803D73F0:
|
|
# ROM: 0x3D43F0
|
|
.4byte 0x000000FF
|
|
.4byte 0x0000FF00
|
|
.4byte 0x00FF0000
|
|
.4byte 0x0000FFFF
|
|
|
|
.global lbl_803D7400
|
|
lbl_803D7400:
|
|
# ROM: 0x3D4400
|
|
.asciz "??(??)"
|
|
.balign 4
|