prime/asm/Kyoto/Particles/CUVElement.s

684 lines
32 KiB
ArmAsm

.include "macros.inc"
.section .data
.global lbl_803EE118
lbl_803EE118:
# ROM: 0x3EB118
.4byte 0
.4byte 0
.4byte __dt__15CUVEAnimTextureFv
.4byte GetValueUV__15CUVEAnimTextureCFiR13SUVElementSet
.4byte GetValueTexture__15CUVEAnimTextureCFi
.4byte HasConstantTexture__15CUVEAnimTextureFv
.4byte HasConstantUV__15CUVEAnimTextureFv
.global lbl_803EE134
lbl_803EE134:
# ROM: 0x3EB134
.4byte 0
.4byte 0
.4byte __dt__12CUVEConstantFv
.4byte GetValueUV__12CUVEConstantCFiR13SUVElementSet
.4byte GetValueTexture__12CUVEConstantCFi
.4byte HasConstantTexture__12CUVEConstantFv
.4byte HasConstantUV__12CUVEConstantFv
.section .sdata
.global lbl_805A88E8
lbl_805A88E8:
# ROM: 0x3F6288
.4byte 0x00000001
.global lbl_805A88EC
lbl_805A88EC:
# ROM: 0x3F628C
.4byte 0x00000001
.global lbl_805A88F0
lbl_805A88F0:
# ROM: 0x3F6290
.4byte 0
.4byte 0
.section .text, "ax"
.global HasConstantTexture__15CUVEAnimTextureFv
HasConstantTexture__15CUVEAnimTextureFv:
/* 80333FA8 00330F08 38 60 00 01 */ li r3, 1
/* 80333FAC 00330F0C 4E 80 00 20 */ blr
.global HasConstantUV__15CUVEAnimTextureFv
HasConstantUV__15CUVEAnimTextureFv:
/* 80333FB0 00330F10 38 60 00 00 */ li r3, 0
/* 80333FB4 00330F14 4E 80 00 20 */ blr
.global GetValueTexture__15CUVEAnimTextureCFi
GetValueTexture__15CUVEAnimTextureCFi:
/* 80333FB8 00330F18 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80333FBC 00330F1C 7C 08 02 A6 */ mflr r0
/* 80333FC0 00330F20 90 01 00 14 */ stw r0, 0x14(r1)
/* 80333FC4 00330F24 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80333FC8 00330F28 7C 9F 23 78 */ mr r31, r4
/* 80333FCC 00330F2C 38 9F 00 04 */ addi r4, r31, 4
/* 80333FD0 00330F30 93 C1 00 08 */ stw r30, 8(r1)
/* 80333FD4 00330F34 7C 7E 1B 78 */ mr r30, r3
/* 80333FD8 00330F38 48 00 CE D1 */ bl __ct__6CTokenFRC6CToken
/* 80333FDC 00330F3C 80 1F 00 0C */ lwz r0, 0xc(r31)
/* 80333FE0 00330F40 7F C3 F3 78 */ mr r3, r30
/* 80333FE4 00330F44 90 1E 00 08 */ stw r0, 8(r30)
/* 80333FE8 00330F48 48 00 CD 9D */ bl Lock__6CTokenFv
/* 80333FEC 00330F4C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80333FF0 00330F50 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80333FF4 00330F54 83 C1 00 08 */ lwz r30, 8(r1)
/* 80333FF8 00330F58 7C 08 03 A6 */ mtlr r0
/* 80333FFC 00330F5C 38 21 00 10 */ addi r1, r1, 0x10
/* 80334000 00330F60 4E 80 00 20 */ blr
.global GetValueUV__15CUVEAnimTextureCFiR13SUVElementSet
GetValueUV__15CUVEAnimTextureCFiR13SUVElementSet:
/* 80334004 00330F64 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 80334008 00330F68 7C 08 02 A6 */ mflr r0
/* 8033400C 00330F6C 90 01 00 44 */ stw r0, 0x44(r1)
/* 80334010 00330F70 38 00 00 01 */ li r0, 1
/* 80334014 00330F74 93 E1 00 3C */ stw r31, 0x3c(r1)
/* 80334018 00330F78 7C BF 2B 78 */ mr r31, r5
/* 8033401C 00330F7C 38 A1 00 0C */ addi r5, r1, 0xc
/* 80334020 00330F80 93 C1 00 38 */ stw r30, 0x38(r1)
/* 80334024 00330F84 7C 7E 1B 78 */ mr r30, r3
/* 80334028 00330F88 93 A1 00 34 */ stw r29, 0x34(r1)
/* 8033402C 00330F8C 7C 9D 23 78 */ mr r29, r4
/* 80334030 00330F90 90 01 00 0C */ stw r0, 0xc(r1)
/* 80334034 00330F94 80 63 00 28 */ lwz r3, 0x28(r3)
/* 80334038 00330F98 81 83 00 00 */ lwz r12, 0(r3)
/* 8033403C 00330F9C 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 80334040 00330FA0 7D 89 03 A6 */ mtctr r12
/* 80334044 00330FA4 4E 80 04 21 */ bctrl
/* 80334048 00330FA8 80 01 00 0C */ lwz r0, 0xc(r1)
/* 8033404C 00330FAC 3C A0 43 30 */ lis r5, 0x4330
/* 80334050 00330FB0 80 FE 00 20 */ lwz r7, 0x20(r30)
/* 80334054 00330FB4 6F A6 80 00 */ xoris r6, r29, 0x8000
/* 80334058 00330FB8 6C 04 80 00 */ xoris r4, r0, 0x8000
/* 8033405C 00330FBC 88 1E 00 24 */ lbz r0, 0x24(r30)
/* 80334060 00330FC0 6C E3 80 00 */ xoris r3, r7, 0x8000
/* 80334064 00330FC4 90 81 00 1C */ stw r4, 0x1c(r1)
/* 80334068 00330FC8 C8 42 CB 40 */ lfd f2, lbl_805AE860@sda21(r2)
/* 8033406C 00330FCC 28 00 00 00 */ cmplwi r0, 0
/* 80334070 00330FD0 90 A1 00 18 */ stw r5, 0x18(r1)
/* 80334074 00330FD4 C8 01 00 18 */ lfd f0, 0x18(r1)
/* 80334078 00330FD8 90 61 00 24 */ stw r3, 0x24(r1)
/* 8033407C 00330FDC EC 20 10 28 */ fsubs f1, f0, f2
/* 80334080 00330FE0 90 A1 00 20 */ stw r5, 0x20(r1)
/* 80334084 00330FE4 C8 01 00 20 */ lfd f0, 0x20(r1)
/* 80334088 00330FE8 90 C1 00 14 */ stw r6, 0x14(r1)
/* 8033408C 00330FEC EC 00 10 28 */ fsubs f0, f0, f2
/* 80334090 00330FF0 90 A1 00 10 */ stw r5, 0x10(r1)
/* 80334094 00330FF4 EC 01 00 24 */ fdivs f0, f1, f0
/* 80334098 00330FF8 C8 21 00 10 */ lfd f1, 0x10(r1)
/* 8033409C 00330FFC EC 21 10 28 */ fsubs f1, f1, f2
/* 803340A0 00331000 EC 01 00 24 */ fdivs f0, f1, f0
/* 803340A4 00331004 41 82 00 48 */ beq lbl_803340EC
/* 803340A8 00331008 FC 00 00 1E */ fctiwz f0, f0
/* 803340AC 0033100C 80 0D 9D 30 */ lwz r0, lbl_805A88F0@sda21(r13)
/* 803340B0 00331010 38 61 00 08 */ addi r3, r1, 8
/* 803340B4 00331014 D8 01 00 20 */ stfd f0, 0x20(r1)
/* 803340B8 00331018 80 81 00 24 */ lwz r4, 0x24(r1)
/* 803340BC 0033101C 7C 04 00 00 */ cmpw r4, r0
/* 803340C0 00331020 90 81 00 08 */ stw r4, 8(r1)
/* 803340C4 00331024 40 80 00 08 */ bge lbl_803340CC
/* 803340C8 00331028 38 6D 9D 30 */ addi r3, r13, lbl_805A88F0@sda21
lbl_803340CC:
/* 803340CC 0033102C 80 83 00 00 */ lwz r4, 0(r3)
/* 803340D0 00331030 80 7E 00 20 */ lwz r3, 0x20(r30)
/* 803340D4 00331034 7C 04 18 00 */ cmpw r4, r3
/* 803340D8 00331038 41 80 00 30 */ blt lbl_80334108
/* 803340DC 0033103C 7C 04 1B D6 */ divw r0, r4, r3
/* 803340E0 00331040 7C 00 19 D6 */ mullw r0, r0, r3
/* 803340E4 00331044 7C 80 20 50 */ subf r4, r0, r4
/* 803340E8 00331048 48 00 00 20 */ b lbl_80334108
lbl_803340EC:
/* 803340EC 0033104C FC 00 00 1E */ fctiwz f0, f0
/* 803340F0 00331050 D8 01 00 20 */ stfd f0, 0x20(r1)
/* 803340F4 00331054 80 01 00 24 */ lwz r0, 0x24(r1)
/* 803340F8 00331058 7C 00 38 00 */ cmpw r0, r7
/* 803340FC 0033105C 7C 04 03 78 */ mr r4, r0
/* 80334100 00331060 41 80 00 08 */ blt lbl_80334108
/* 80334104 00331064 38 87 FF FF */ addi r4, r7, -1
lbl_80334108:
/* 80334108 00331068 80 7E 00 38 */ lwz r3, 0x38(r30)
/* 8033410C 0033106C 54 80 20 36 */ slwi r0, r4, 4
/* 80334110 00331070 7C 63 02 14 */ add r3, r3, r0
/* 80334114 00331074 C0 03 00 00 */ lfs f0, 0(r3)
/* 80334118 00331078 D0 1F 00 00 */ stfs f0, 0(r31)
/* 8033411C 0033107C C0 03 00 04 */ lfs f0, 4(r3)
/* 80334120 00331080 D0 1F 00 04 */ stfs f0, 4(r31)
/* 80334124 00331084 C0 03 00 08 */ lfs f0, 8(r3)
/* 80334128 00331088 D0 1F 00 08 */ stfs f0, 8(r31)
/* 8033412C 0033108C C0 03 00 0C */ lfs f0, 0xc(r3)
/* 80334130 00331090 D0 1F 00 0C */ stfs f0, 0xc(r31)
/* 80334134 00331094 83 E1 00 3C */ lwz r31, 0x3c(r1)
/* 80334138 00331098 83 C1 00 38 */ lwz r30, 0x38(r1)
/* 8033413C 0033109C 83 A1 00 34 */ lwz r29, 0x34(r1)
/* 80334140 003310A0 80 01 00 44 */ lwz r0, 0x44(r1)
/* 80334144 003310A4 7C 08 03 A6 */ mtlr r0
/* 80334148 003310A8 38 21 00 40 */ addi r1, r1, 0x40
/* 8033414C 003310AC 4E 80 00 20 */ blr
.global __dt__15CUVEAnimTextureFv
__dt__15CUVEAnimTextureFv:
/* 80334150 003310B0 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80334154 003310B4 7C 08 02 A6 */ mflr r0
/* 80334158 003310B8 90 01 00 24 */ stw r0, 0x24(r1)
/* 8033415C 003310BC 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80334160 003310C0 7C 7F 1B 79 */ or. r31, r3, r3
/* 80334164 003310C4 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80334168 003310C8 7C 9E 23 78 */ mr r30, r4
/* 8033416C 003310CC 41 82 00 CC */ beq lbl_80334238
/* 80334170 003310D0 3C 60 80 3F */ lis r3, lbl_803EE118@ha
/* 80334174 003310D4 38 03 E1 18 */ addi r0, r3, lbl_803EE118@l
/* 80334178 003310D8 90 1F 00 00 */ stw r0, 0(r31)
/* 8033417C 003310DC 80 7F 00 28 */ lwz r3, 0x28(r31)
/* 80334180 003310E0 28 03 00 00 */ cmplwi r3, 0
/* 80334184 003310E4 41 82 00 18 */ beq lbl_8033419C
/* 80334188 003310E8 81 83 00 00 */ lwz r12, 0(r3)
/* 8033418C 003310EC 38 80 00 01 */ li r4, 1
/* 80334190 003310F0 81 8C 00 08 */ lwz r12, 8(r12)
/* 80334194 003310F4 7D 89 03 A6 */ mtctr r12
/* 80334198 003310F8 4E 80 04 21 */ bctrl
lbl_8033419C:
/* 8033419C 003310FC 34 1F 00 2C */ addic. r0, r31, 0x2c
/* 803341A0 00331100 41 82 00 44 */ beq lbl_803341E4
/* 803341A4 00331104 80 1F 00 30 */ lwz r0, 0x30(r31)
/* 803341A8 00331108 80 7F 00 38 */ lwz r3, 0x38(r31)
/* 803341AC 0033110C 54 00 20 36 */ slwi r0, r0, 4
/* 803341B0 00331110 7C 03 02 14 */ add r0, r3, r0
/* 803341B4 00331114 90 61 00 0C */ stw r3, 0xc(r1)
/* 803341B8 00331118 7C 64 1B 78 */ mr r4, r3
/* 803341BC 0033111C 90 01 00 14 */ stw r0, 0x14(r1)
/* 803341C0 00331120 90 01 00 10 */ stw r0, 0x10(r1)
/* 803341C4 00331124 90 61 00 08 */ stw r3, 8(r1)
/* 803341C8 00331128 48 00 00 08 */ b lbl_803341D0
lbl_803341CC:
/* 803341CC 0033112C 38 84 00 10 */ addi r4, r4, 0x10
lbl_803341D0:
/* 803341D0 00331130 7C 04 00 40 */ cmplw r4, r0
/* 803341D4 00331134 40 82 FF F8 */ bne lbl_803341CC
/* 803341D8 00331138 28 03 00 00 */ cmplwi r3, 0
/* 803341DC 0033113C 41 82 00 08 */ beq lbl_803341E4
/* 803341E0 00331140 4B FE 17 51 */ bl Free__7CMemoryFPCv
lbl_803341E4:
/* 803341E4 00331144 34 1F 00 04 */ addic. r0, r31, 4
/* 803341E8 00331148 41 82 00 18 */ beq lbl_80334200
/* 803341EC 0033114C 34 1F 00 04 */ addic. r0, r31, 4
/* 803341F0 00331150 41 82 00 10 */ beq lbl_80334200
/* 803341F4 00331154 38 7F 00 04 */ addi r3, r31, 4
/* 803341F8 00331158 38 80 00 00 */ li r4, 0
/* 803341FC 0033115C 48 00 CC 45 */ bl __dt__6CTokenFv
lbl_80334200:
/* 80334200 00331160 28 1F 00 00 */ cmplwi r31, 0
/* 80334204 00331164 41 82 00 20 */ beq lbl_80334224
/* 80334208 00331168 3C 60 80 3F */ lis r3, lbl_803EC568@ha
/* 8033420C 0033116C 38 03 C5 68 */ addi r0, r3, lbl_803EC568@l
/* 80334210 00331170 90 1F 00 00 */ stw r0, 0(r31)
/* 80334214 00331174 41 82 00 10 */ beq lbl_80334224
/* 80334218 00331178 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha
/* 8033421C 0033117C 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l
/* 80334220 00331180 90 1F 00 00 */ stw r0, 0(r31)
lbl_80334224:
/* 80334224 00331184 7F C0 07 35 */ extsh. r0, r30
/* 80334228 00331188 40 81 00 10 */ ble lbl_80334238
/* 8033422C 0033118C 7F E3 FB 78 */ mr r3, r31
/* 80334230 00331190 38 80 00 3C */ li r4, 0x3c
/* 80334234 00331194 48 03 88 31 */ bl sub_8036ca64
lbl_80334238:
/* 80334238 00331198 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8033423C 0033119C 7F E3 FB 78 */ mr r3, r31
/* 80334240 003311A0 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80334244 003311A4 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80334248 003311A8 7C 08 03 A6 */ mtlr r0
/* 8033424C 003311AC 38 21 00 20 */ addi r1, r1, 0x20
/* 80334250 003311B0 4E 80 00 20 */ blr
.global "__ct__15CUVEAnimTextureF17TToken<8CTexture>P11CIntElementP11CIntElementP11CIntElementP11CIntElementP11CIntElementb"
"__ct__15CUVEAnimTextureF17TToken<8CTexture>P11CIntElementP11CIntElementP11CIntElementP11CIntElementP11CIntElementb":
/* 80334254 003311B4 94 21 FF 60 */ stwu r1, -0xa0(r1)
/* 80334258 003311B8 7C 08 02 A6 */ mflr r0
/* 8033425C 003311BC 90 01 00 A4 */ stw r0, 0xa4(r1)
/* 80334260 003311C0 DB E1 00 90 */ stfd f31, 0x90(r1)
/* 80334264 003311C4 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0
/* 80334268 003311C8 BF 01 00 70 */ stmw r24, 0x70(r1)
/* 8033426C 003311CC 7C 79 1B 78 */ mr r25, r3
/* 80334270 003311D0 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha
/* 80334274 003311D4 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l
/* 80334278 003311D8 3D 60 80 3F */ lis r11, lbl_803EC568@ha
/* 8033427C 003311DC 90 19 00 00 */ stw r0, 0(r25)
/* 80334280 003311E0 38 0B C5 68 */ addi r0, r11, lbl_803EC568@l
/* 80334284 003311E4 3C 60 80 3F */ lis r3, lbl_803EE118@ha
/* 80334288 003311E8 3B 19 00 04 */ addi r24, r25, 4
/* 8033428C 003311EC 90 19 00 00 */ stw r0, 0(r25)
/* 80334290 003311F0 38 03 E1 18 */ addi r0, r3, lbl_803EE118@l
/* 80334294 003311F4 7C BF 2B 78 */ mr r31, r5
/* 80334298 003311F8 7C DE 33 78 */ mr r30, r6
/* 8033429C 003311FC 90 19 00 00 */ stw r0, 0(r25)
/* 803342A0 00331200 7C FD 3B 78 */ mr r29, r7
/* 803342A4 00331204 7D 1C 43 78 */ mr r28, r8
/* 803342A8 00331208 7D 3B 4B 78 */ mr r27, r9
/* 803342AC 0033120C 7D 5A 53 78 */ mr r26, r10
/* 803342B0 00331210 7F 03 C3 78 */ mr r3, r24
/* 803342B4 00331214 48 00 CB F5 */ bl __ct__6CTokenFRC6CToken
/* 803342B8 00331218 7F 03 C3 78 */ mr r3, r24
/* 803342BC 0033121C 48 00 CB 51 */ bl GetObj__6CTokenFv
/* 803342C0 00331220 80 83 00 04 */ lwz r4, 4(r3)
/* 803342C4 00331224 38 00 00 00 */ li r0, 0
/* 803342C8 00331228 7F E3 FB 78 */ mr r3, r31
/* 803342CC 0033122C 38 A1 00 10 */ addi r5, r1, 0x10
/* 803342D0 00331230 90 98 00 08 */ stw r4, 8(r24)
/* 803342D4 00331234 38 80 00 00 */ li r4, 0
/* 803342D8 00331238 9B 59 00 24 */ stb r26, 0x24(r25)
/* 803342DC 0033123C 90 19 00 30 */ stw r0, 0x30(r25)
/* 803342E0 00331240 90 19 00 34 */ stw r0, 0x34(r25)
/* 803342E4 00331244 90 19 00 38 */ stw r0, 0x38(r25)
/* 803342E8 00331248 90 01 00 10 */ stw r0, 0x10(r1)
/* 803342EC 0033124C 81 9F 00 00 */ lwz r12, 0(r31)
/* 803342F0 00331250 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 803342F4 00331254 7D 89 03 A6 */ mtctr r12
/* 803342F8 00331258 4E 80 04 21 */ bctrl
/* 803342FC 0033125C 80 01 00 10 */ lwz r0, 0x10(r1)
/* 80334300 00331260 28 1F 00 00 */ cmplwi r31, 0
/* 80334304 00331264 90 19 00 10 */ stw r0, 0x10(r25)
/* 80334308 00331268 41 82 00 1C */ beq lbl_80334324
/* 8033430C 0033126C 7F E3 FB 78 */ mr r3, r31
/* 80334310 00331270 38 80 00 01 */ li r4, 1
/* 80334314 00331274 81 9F 00 00 */ lwz r12, 0(r31)
/* 80334318 00331278 81 8C 00 08 */ lwz r12, 8(r12)
/* 8033431C 0033127C 7D 89 03 A6 */ mtctr r12
/* 80334320 00331280 4E 80 04 21 */ bctrl
lbl_80334324:
/* 80334324 00331284 7F C3 F3 78 */ mr r3, r30
/* 80334328 00331288 38 A1 00 10 */ addi r5, r1, 0x10
/* 8033432C 0033128C 81 9E 00 00 */ lwz r12, 0(r30)
/* 80334330 00331290 38 80 00 00 */ li r4, 0
/* 80334334 00331294 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 80334338 00331298 7D 89 03 A6 */ mtctr r12
/* 8033433C 0033129C 4E 80 04 21 */ bctrl
/* 80334340 003312A0 80 01 00 10 */ lwz r0, 0x10(r1)
/* 80334344 003312A4 28 1E 00 00 */ cmplwi r30, 0
/* 80334348 003312A8 90 19 00 14 */ stw r0, 0x14(r25)
/* 8033434C 003312AC 41 82 00 1C */ beq lbl_80334368
/* 80334350 003312B0 7F C3 F3 78 */ mr r3, r30
/* 80334354 003312B4 38 80 00 01 */ li r4, 1
/* 80334358 003312B8 81 9E 00 00 */ lwz r12, 0(r30)
/* 8033435C 003312BC 81 8C 00 08 */ lwz r12, 8(r12)
/* 80334360 003312C0 7D 89 03 A6 */ mtctr r12
/* 80334364 003312C4 4E 80 04 21 */ bctrl
lbl_80334368:
/* 80334368 003312C8 7F A3 EB 78 */ mr r3, r29
/* 8033436C 003312CC 38 A1 00 10 */ addi r5, r1, 0x10
/* 80334370 003312D0 81 9D 00 00 */ lwz r12, 0(r29)
/* 80334374 003312D4 38 80 00 00 */ li r4, 0
/* 80334378 003312D8 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 8033437C 003312DC 7D 89 03 A6 */ mtctr r12
/* 80334380 003312E0 4E 80 04 21 */ bctrl
/* 80334384 003312E4 80 01 00 10 */ lwz r0, 0x10(r1)
/* 80334388 003312E8 28 1D 00 00 */ cmplwi r29, 0
/* 8033438C 003312EC 90 19 00 18 */ stw r0, 0x18(r25)
/* 80334390 003312F0 41 82 00 1C */ beq lbl_803343AC
/* 80334394 003312F4 7F A3 EB 78 */ mr r3, r29
/* 80334398 003312F8 38 80 00 01 */ li r4, 1
/* 8033439C 003312FC 81 9D 00 00 */ lwz r12, 0(r29)
/* 803343A0 00331300 81 8C 00 08 */ lwz r12, 8(r12)
/* 803343A4 00331304 7D 89 03 A6 */ mtctr r12
/* 803343A8 00331308 4E 80 04 21 */ bctrl
lbl_803343AC:
/* 803343AC 0033130C 7F 83 E3 78 */ mr r3, r28
/* 803343B0 00331310 38 A1 00 10 */ addi r5, r1, 0x10
/* 803343B4 00331314 81 9C 00 00 */ lwz r12, 0(r28)
/* 803343B8 00331318 38 80 00 00 */ li r4, 0
/* 803343BC 0033131C 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 803343C0 00331320 7D 89 03 A6 */ mtctr r12
/* 803343C4 00331324 4E 80 04 21 */ bctrl
/* 803343C8 00331328 80 01 00 10 */ lwz r0, 0x10(r1)
/* 803343CC 0033132C 28 1C 00 00 */ cmplwi r28, 0
/* 803343D0 00331330 90 19 00 1C */ stw r0, 0x1c(r25)
/* 803343D4 00331334 41 82 00 1C */ beq lbl_803343F0
/* 803343D8 00331338 7F 83 E3 78 */ mr r3, r28
/* 803343DC 0033133C 38 80 00 01 */ li r4, 1
/* 803343E0 00331340 81 9C 00 00 */ lwz r12, 0(r28)
/* 803343E4 00331344 81 8C 00 08 */ lwz r12, 8(r12)
/* 803343E8 00331348 7D 89 03 A6 */ mtctr r12
/* 803343EC 0033134C 4E 80 04 21 */ bctrl
lbl_803343F0:
/* 803343F0 00331350 93 79 00 28 */ stw r27, 0x28(r25)
/* 803343F4 00331354 38 AD 9D 28 */ addi r5, r13, lbl_805A88E8@sda21
/* 803343F8 00331358 80 99 00 0C */ lwz r4, 0xc(r25)
/* 803343FC 0033135C 80 79 00 18 */ lwz r3, 0x18(r25)
/* 80334400 00331360 AB 64 00 04 */ lha r27, 4(r4)
/* 80334404 00331364 80 0D 9D 28 */ lwz r0, lbl_805A88E8@sda21(r13)
/* 80334408 00331368 7C 7B 1B D6 */ divw r3, r27, r3
/* 8033440C 0033136C AB A4 00 06 */ lha r29, 6(r4)
/* 80334410 00331370 7C 00 18 00 */ cmpw r0, r3
/* 80334414 00331374 90 61 00 0C */ stw r3, 0xc(r1)
/* 80334418 00331378 40 80 00 08 */ bge lbl_80334420
/* 8033441C 0033137C 38 A1 00 0C */ addi r5, r1, 0xc
lbl_80334420:
/* 80334420 00331380 80 99 00 1C */ lwz r4, 0x1c(r25)
/* 80334424 00331384 38 6D 9D 2C */ addi r3, r13, lbl_805A88EC@sda21
/* 80334428 00331388 80 0D 9D 2C */ lwz r0, lbl_805A88EC@sda21(r13)
/* 8033442C 0033138C 7C 9D 23 D6 */ divw r4, r29, r4
/* 80334430 00331390 83 85 00 00 */ lwz r28, 0(r5)
/* 80334434 00331394 7C 00 20 00 */ cmpw r0, r4
/* 80334438 00331398 90 81 00 08 */ stw r4, 8(r1)
/* 8033443C 0033139C 40 80 00 08 */ bge lbl_80334444
/* 80334440 003313A0 38 61 00 08 */ addi r3, r1, 8
lbl_80334444:
/* 80334444 003313A4 83 43 00 00 */ lwz r26, 0(r3)
/* 80334448 003313A8 38 79 00 2C */ addi r3, r25, 0x2c
/* 8033444C 003313AC 7C 9C D1 D6 */ mullw r4, r28, r26
/* 80334450 003313B0 90 99 00 20 */ stw r4, 0x20(r25)
/* 80334454 003313B4 48 00 03 21 */ bl sub_80334774
/* 80334458 003313B8 CB E2 CB 40 */ lfd f31, lbl_805AE860@sda21(r2)
/* 8033445C 003313BC 3B 5A FF FF */ addi r26, r26, -1
/* 80334460 003313C0 6F 7E 80 00 */ xoris r30, r27, 0x8000
/* 80334464 003313C4 6F BF 80 00 */ xoris r31, r29, 0x8000
/* 80334468 003313C8 3F A0 43 30 */ lis r29, 0x4330
/* 8033446C 003313CC 48 00 01 54 */ b lbl_803345C0
lbl_80334470:
/* 80334470 003313D0 3B 60 00 00 */ li r27, 0
/* 80334474 003313D4 48 00 01 40 */ b lbl_803345B4
lbl_80334478:
/* 80334478 003313D8 80 19 00 18 */ lwz r0, 0x18(r25)
/* 8033447C 003313DC 80 B9 00 1C */ lwz r5, 0x1c(r25)
/* 80334480 003313E0 7C C0 D9 D6 */ mullw r6, r0, r27
/* 80334484 003313E4 80 99 00 10 */ lwz r4, 0x10(r25)
/* 80334488 003313E8 80 79 00 14 */ lwz r3, 0x14(r25)
/* 8033448C 003313EC 93 A1 00 28 */ stw r29, 0x28(r1)
/* 80334490 003313F0 80 19 00 30 */ lwz r0, 0x30(r25)
/* 80334494 003313F4 80 F9 00 34 */ lwz r7, 0x34(r25)
/* 80334498 003313F8 7C A5 D1 D6 */ mullw r5, r5, r26
/* 8033449C 003313FC 7C 84 32 14 */ add r4, r4, r6
/* 803344A0 00331400 6C C6 80 00 */ xoris r6, r6, 0x8000
/* 803344A4 00331404 93 C1 00 34 */ stw r30, 0x34(r1)
/* 803344A8 00331408 6C 84 80 00 */ xoris r4, r4, 0x8000
/* 803344AC 0033140C 90 C1 00 2C */ stw r6, 0x2c(r1)
/* 803344B0 00331410 7C 63 2A 14 */ add r3, r3, r5
/* 803344B4 00331414 6C A5 80 00 */ xoris r5, r5, 0x8000
/* 803344B8 00331418 6C 63 80 00 */ xoris r3, r3, 0x8000
/* 803344BC 0033141C 93 A1 00 30 */ stw r29, 0x30(r1)
/* 803344C0 00331420 C8 21 00 28 */ lfd f1, 0x28(r1)
/* 803344C4 00331424 7C 00 38 00 */ cmpw r0, r7
/* 803344C8 00331428 C8 01 00 30 */ lfd f0, 0x30(r1)
/* 803344CC 0033142C 90 A1 00 3C */ stw r5, 0x3c(r1)
/* 803344D0 00331430 EC 21 F8 28 */ fsubs f1, f1, f31
/* 803344D4 00331434 EC 00 F8 28 */ fsubs f0, f0, f31
/* 803344D8 00331438 93 A1 00 38 */ stw r29, 0x38(r1)
/* 803344DC 0033143C C8 41 00 38 */ lfd f2, 0x38(r1)
/* 803344E0 00331440 EC 61 00 24 */ fdivs f3, f1, f0
/* 803344E4 00331444 93 E1 00 44 */ stw r31, 0x44(r1)
/* 803344E8 00331448 93 A1 00 40 */ stw r29, 0x40(r1)
/* 803344EC 0033144C C8 21 00 40 */ lfd f1, 0x40(r1)
/* 803344F0 00331450 90 81 00 4C */ stw r4, 0x4c(r1)
/* 803344F4 00331454 93 A1 00 48 */ stw r29, 0x48(r1)
/* 803344F8 00331458 C8 01 00 48 */ lfd f0, 0x48(r1)
/* 803344FC 0033145C EC 42 F8 28 */ fsubs f2, f2, f31
/* 80334500 00331460 EC 21 F8 28 */ fsubs f1, f1, f31
/* 80334504 00331464 93 C1 00 54 */ stw r30, 0x54(r1)
/* 80334508 00331468 EC 80 F8 28 */ fsubs f4, f0, f31
/* 8033450C 0033146C 93 A1 00 50 */ stw r29, 0x50(r1)
/* 80334510 00331470 EC 42 08 24 */ fdivs f2, f2, f1
/* 80334514 00331474 C8 21 00 50 */ lfd f1, 0x50(r1)
/* 80334518 00331478 90 61 00 5C */ stw r3, 0x5c(r1)
/* 8033451C 0033147C 93 A1 00 58 */ stw r29, 0x58(r1)
/* 80334520 00331480 C8 01 00 58 */ lfd f0, 0x58(r1)
/* 80334524 00331484 93 E1 00 64 */ stw r31, 0x64(r1)
/* 80334528 00331488 93 A1 00 60 */ stw r29, 0x60(r1)
/* 8033452C 0033148C EC 21 F8 28 */ fsubs f1, f1, f31
/* 80334530 00331490 EC A0 F8 28 */ fsubs f5, f0, f31
/* 80334534 00331494 C8 01 00 60 */ lfd f0, 0x60(r1)
/* 80334538 00331498 EC 24 08 24 */ fdivs f1, f4, f1
/* 8033453C 0033149C D0 61 00 14 */ stfs f3, 0x14(r1)
/* 80334540 003314A0 D0 41 00 18 */ stfs f2, 0x18(r1)
/* 80334544 003314A4 EC 00 F8 28 */ fsubs f0, f0, f31
/* 80334548 003314A8 D0 21 00 1C */ stfs f1, 0x1c(r1)
/* 8033454C 003314AC EC 05 00 24 */ fdivs f0, f5, f0
/* 80334550 003314B0 D0 01 00 20 */ stfs f0, 0x20(r1)
/* 80334554 003314B4 41 80 00 1C */ blt lbl_80334570
/* 80334558 003314B8 2C 07 00 00 */ cmpwi r7, 0
/* 8033455C 003314BC 38 79 00 2C */ addi r3, r25, 0x2c
/* 80334560 003314C0 38 80 00 04 */ li r4, 4
/* 80334564 003314C4 41 82 00 08 */ beq lbl_8033456C
/* 80334568 003314C8 54 E4 08 3C */ slwi r4, r7, 1
lbl_8033456C:
/* 8033456C 003314CC 48 00 02 09 */ bl sub_80334774
lbl_80334570:
/* 80334570 003314D0 80 19 00 30 */ lwz r0, 0x30(r25)
/* 80334574 003314D4 80 79 00 38 */ lwz r3, 0x38(r25)
/* 80334578 003314D8 54 00 20 36 */ slwi r0, r0, 4
/* 8033457C 003314DC 7C 83 02 15 */ add. r4, r3, r0
/* 80334580 003314E0 41 82 00 24 */ beq lbl_803345A4
/* 80334584 003314E4 80 61 00 14 */ lwz r3, 0x14(r1)
/* 80334588 003314E8 80 01 00 18 */ lwz r0, 0x18(r1)
/* 8033458C 003314EC 90 64 00 00 */ stw r3, 0(r4)
/* 80334590 003314F0 80 61 00 1C */ lwz r3, 0x1c(r1)
/* 80334594 003314F4 90 04 00 04 */ stw r0, 4(r4)
/* 80334598 003314F8 80 01 00 20 */ lwz r0, 0x20(r1)
/* 8033459C 003314FC 90 64 00 08 */ stw r3, 8(r4)
/* 803345A0 00331500 90 04 00 0C */ stw r0, 0xc(r4)
lbl_803345A4:
/* 803345A4 00331504 80 79 00 30 */ lwz r3, 0x30(r25)
/* 803345A8 00331508 3B 7B 00 01 */ addi r27, r27, 1
/* 803345AC 0033150C 38 03 00 01 */ addi r0, r3, 1
/* 803345B0 00331510 90 19 00 30 */ stw r0, 0x30(r25)
lbl_803345B4:
/* 803345B4 00331514 7C 1B E0 00 */ cmpw r27, r28
/* 803345B8 00331518 41 80 FE C0 */ blt lbl_80334478
/* 803345BC 0033151C 3B 5A FF FF */ addi r26, r26, -1
lbl_803345C0:
/* 803345C0 00331520 2C 1A 00 00 */ cmpwi r26, 0
/* 803345C4 00331524 40 80 FE AC */ bge lbl_80334470
/* 803345C8 00331528 7F 23 CB 78 */ mr r3, r25
/* 803345CC 0033152C E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0
/* 803345D0 00331530 CB E1 00 90 */ lfd f31, 0x90(r1)
/* 803345D4 00331534 BB 01 00 70 */ lmw r24, 0x70(r1)
/* 803345D8 00331538 80 01 00 A4 */ lwz r0, 0xa4(r1)
/* 803345DC 0033153C 7C 08 03 A6 */ mtlr r0
/* 803345E0 00331540 38 21 00 A0 */ addi r1, r1, 0xa0
/* 803345E4 00331544 4E 80 00 20 */ blr
.global GetValueTexture__12CUVEConstantCFi
GetValueTexture__12CUVEConstantCFi:
/* 803345E8 00331548 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 803345EC 0033154C 7C 08 02 A6 */ mflr r0
/* 803345F0 00331550 90 01 00 14 */ stw r0, 0x14(r1)
/* 803345F4 00331554 93 E1 00 0C */ stw r31, 0xc(r1)
/* 803345F8 00331558 7C 9F 23 78 */ mr r31, r4
/* 803345FC 0033155C 38 9F 00 04 */ addi r4, r31, 4
/* 80334600 00331560 93 C1 00 08 */ stw r30, 8(r1)
/* 80334604 00331564 7C 7E 1B 78 */ mr r30, r3
/* 80334608 00331568 48 00 C8 A1 */ bl __ct__6CTokenFRC6CToken
/* 8033460C 0033156C 80 1F 00 0C */ lwz r0, 0xc(r31)
/* 80334610 00331570 7F C3 F3 78 */ mr r3, r30
/* 80334614 00331574 90 1E 00 08 */ stw r0, 8(r30)
/* 80334618 00331578 48 00 C7 6D */ bl Lock__6CTokenFv
/* 8033461C 0033157C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80334620 00331580 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80334624 00331584 83 C1 00 08 */ lwz r30, 8(r1)
/* 80334628 00331588 7C 08 03 A6 */ mtlr r0
/* 8033462C 0033158C 38 21 00 10 */ addi r1, r1, 0x10
/* 80334630 00331590 4E 80 00 20 */ blr
.global GetValueUV__12CUVEConstantCFiR13SUVElementSet
GetValueUV__12CUVEConstantCFiR13SUVElementSet:
/* 80334634 00331594 C0 22 CB 48 */ lfs f1, lbl_805AE868@sda21(r2)
/* 80334638 00331598 C0 02 CB 4C */ lfs f0, lbl_805AE86C@sda21(r2)
/* 8033463C 0033159C D0 25 00 00 */ stfs f1, 0(r5)
/* 80334640 003315A0 D0 25 00 04 */ stfs f1, 4(r5)
/* 80334644 003315A4 D0 05 00 08 */ stfs f0, 8(r5)
/* 80334648 003315A8 D0 05 00 0C */ stfs f0, 0xc(r5)
/* 8033464C 003315AC 4E 80 00 20 */ blr
.global __dt__12CUVEConstantFv
__dt__12CUVEConstantFv:
/* 80334650 003315B0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80334654 003315B4 7C 08 02 A6 */ mflr r0
/* 80334658 003315B8 90 01 00 14 */ stw r0, 0x14(r1)
/* 8033465C 003315BC 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80334660 003315C0 7C 9F 23 78 */ mr r31, r4
/* 80334664 003315C4 93 C1 00 08 */ stw r30, 8(r1)
/* 80334668 003315C8 7C 7E 1B 79 */ or. r30, r3, r3
/* 8033466C 003315CC 41 82 00 64 */ beq lbl_803346D0
/* 80334670 003315D0 3C 60 80 3F */ lis r3, lbl_803EE134@ha
/* 80334674 003315D4 34 1E 00 04 */ addic. r0, r30, 4
/* 80334678 003315D8 38 03 E1 34 */ addi r0, r3, lbl_803EE134@l
/* 8033467C 003315DC 90 1E 00 00 */ stw r0, 0(r30)
/* 80334680 003315E0 41 82 00 18 */ beq lbl_80334698
/* 80334684 003315E4 34 1E 00 04 */ addic. r0, r30, 4
/* 80334688 003315E8 41 82 00 10 */ beq lbl_80334698
/* 8033468C 003315EC 38 7E 00 04 */ addi r3, r30, 4
/* 80334690 003315F0 38 80 00 00 */ li r4, 0
/* 80334694 003315F4 48 00 C7 AD */ bl __dt__6CTokenFv
lbl_80334698:
/* 80334698 003315F8 28 1E 00 00 */ cmplwi r30, 0
/* 8033469C 003315FC 41 82 00 20 */ beq lbl_803346BC
/* 803346A0 00331600 3C 60 80 3F */ lis r3, lbl_803EC568@ha
/* 803346A4 00331604 38 03 C5 68 */ addi r0, r3, lbl_803EC568@l
/* 803346A8 00331608 90 1E 00 00 */ stw r0, 0(r30)
/* 803346AC 0033160C 41 82 00 10 */ beq lbl_803346BC
/* 803346B0 00331610 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha
/* 803346B4 00331614 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l
/* 803346B8 00331618 90 1E 00 00 */ stw r0, 0(r30)
lbl_803346BC:
/* 803346BC 0033161C 7F E0 07 35 */ extsh. r0, r31
/* 803346C0 00331620 40 81 00 10 */ ble lbl_803346D0
/* 803346C4 00331624 7F C3 F3 78 */ mr r3, r30
/* 803346C8 00331628 38 80 00 10 */ li r4, 0x10
/* 803346CC 0033162C 48 03 83 99 */ bl sub_8036ca64
lbl_803346D0:
/* 803346D0 00331630 80 01 00 14 */ lwz r0, 0x14(r1)
/* 803346D4 00331634 7F C3 F3 78 */ mr r3, r30
/* 803346D8 00331638 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 803346DC 0033163C 83 C1 00 08 */ lwz r30, 8(r1)
/* 803346E0 00331640 7C 08 03 A6 */ mtlr r0
/* 803346E4 00331644 38 21 00 10 */ addi r1, r1, 0x10
/* 803346E8 00331648 4E 80 00 20 */ blr
.global "__ct__12CUVEConstantF17TToken<8CTexture>"
"__ct__12CUVEConstantF17TToken<8CTexture>":
/* 803346EC 0033164C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 803346F0 00331650 7C 08 02 A6 */ mflr r0
/* 803346F4 00331654 3C A0 80 3F */ lis r5, lbl_803EC568@ha
/* 803346F8 00331658 90 01 00 14 */ stw r0, 0x14(r1)
/* 803346FC 0033165C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80334700 00331660 7C 7F 1B 78 */ mr r31, r3
/* 80334704 00331664 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha
/* 80334708 00331668 93 C1 00 08 */ stw r30, 8(r1)
/* 8033470C 0033166C 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l
/* 80334710 00331670 3C 60 80 3F */ lis r3, lbl_803EE134@ha
/* 80334714 00331674 3B DF 00 04 */ addi r30, r31, 4
/* 80334718 00331678 90 1F 00 00 */ stw r0, 0(r31)
/* 8033471C 0033167C 38 05 C5 68 */ addi r0, r5, lbl_803EC568@l
/* 80334720 00331680 7F E6 FB 78 */ mr r6, r31
/* 80334724 00331684 90 1F 00 00 */ stw r0, 0(r31)
/* 80334728 00331688 38 03 E1 34 */ addi r0, r3, lbl_803EE134@l
/* 8033472C 0033168C 7F C3 F3 78 */ mr r3, r30
/* 80334730 00331690 90 1F 00 00 */ stw r0, 0(r31)
/* 80334734 00331694 48 00 C7 75 */ bl __ct__6CTokenFRC6CToken
/* 80334738 00331698 7F C3 F3 78 */ mr r3, r30
/* 8033473C 0033169C 48 00 C6 D1 */ bl GetObj__6CTokenFv
/* 80334740 003316A0 80 03 00 04 */ lwz r0, 4(r3)
/* 80334744 003316A4 7F E3 FB 78 */ mr r3, r31
/* 80334748 003316A8 90 1E 00 08 */ stw r0, 8(r30)
/* 8033474C 003316AC 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80334750 003316B0 83 C1 00 08 */ lwz r30, 8(r1)
/* 80334754 003316B4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80334758 003316B8 7C 08 03 A6 */ mtlr r0
/* 8033475C 003316BC 38 21 00 10 */ addi r1, r1, 0x10
/* 80334760 003316C0 4E 80 00 20 */ blr
.global HasConstantTexture__12CUVEConstantFv
HasConstantTexture__12CUVEConstantFv:
/* 80334764 003316C4 38 60 00 01 */ li r3, 1
/* 80334768 003316C8 4E 80 00 20 */ blr
.global HasConstantUV__12CUVEConstantFv
HasConstantUV__12CUVEConstantFv:
/* 8033476C 003316CC 38 60 00 01 */ li r3, 1
/* 80334770 003316D0 4E 80 00 20 */ blr
.global sub_80334774
sub_80334774:
/* 80334774 003316D4 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80334778 003316D8 7C 08 02 A6 */ mflr r0
/* 8033477C 003316DC 90 01 00 34 */ stw r0, 0x34(r1)
/* 80334780 003316E0 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 80334784 003316E4 7C 9F 23 78 */ mr r31, r4
/* 80334788 003316E8 93 C1 00 28 */ stw r30, 0x28(r1)
/* 8033478C 003316EC 7C 7E 1B 78 */ mr r30, r3
/* 80334790 003316F0 93 A1 00 24 */ stw r29, 0x24(r1)
/* 80334794 003316F4 80 03 00 08 */ lwz r0, 8(r3)
/* 80334798 003316F8 7C 1F 00 00 */ cmpw r31, r0
/* 8033479C 003316FC 40 81 00 C0 */ ble lbl_8033485C
/* 803347A0 00331700 57 E3 20 37 */ rlwinm. r3, r31, 4, 0, 0x1b
/* 803347A4 00331704 40 82 00 0C */ bne lbl_803347B0
/* 803347A8 00331708 3B A0 00 00 */ li r29, 0
/* 803347AC 0033170C 48 00 00 18 */ b lbl_803347C4
lbl_803347B0:
/* 803347B0 00331710 3C 80 80 3D */ lis r4, lbl_803D7980@ha
/* 803347B4 00331714 38 A0 00 00 */ li r5, 0
/* 803347B8 00331718 38 84 79 80 */ addi r4, r4, lbl_803D7980@l
/* 803347BC 0033171C 4B FE 10 5D */ bl __nwa__FUlPCcPCc
/* 803347C0 00331720 7C 7D 1B 78 */ mr r29, r3
lbl_803347C4:
/* 803347C4 00331724 80 1E 00 04 */ lwz r0, 4(r30)
/* 803347C8 00331728 7F A5 EB 78 */ mr r5, r29
/* 803347CC 0033172C 80 DE 00 0C */ lwz r6, 0xc(r30)
/* 803347D0 00331730 54 00 20 36 */ slwi r0, r0, 4
/* 803347D4 00331734 7C 86 02 14 */ add r4, r6, r0
/* 803347D8 00331738 90 C1 00 10 */ stw r6, 0x10(r1)
/* 803347DC 0033173C 90 81 00 08 */ stw r4, 8(r1)
/* 803347E0 00331740 90 81 00 0C */ stw r4, 0xc(r1)
/* 803347E4 00331744 90 C1 00 14 */ stw r6, 0x14(r1)
/* 803347E8 00331748 48 00 00 34 */ b lbl_8033481C
lbl_803347EC:
/* 803347EC 0033174C 28 05 00 00 */ cmplwi r5, 0
/* 803347F0 00331750 41 82 00 24 */ beq lbl_80334814
/* 803347F4 00331754 80 66 00 00 */ lwz r3, 0(r6)
/* 803347F8 00331758 80 06 00 04 */ lwz r0, 4(r6)
/* 803347FC 0033175C 90 65 00 00 */ stw r3, 0(r5)
/* 80334800 00331760 90 05 00 04 */ stw r0, 4(r5)
/* 80334804 00331764 80 66 00 08 */ lwz r3, 8(r6)
/* 80334808 00331768 80 06 00 0C */ lwz r0, 0xc(r6)
/* 8033480C 0033176C 90 65 00 08 */ stw r3, 8(r5)
/* 80334810 00331770 90 05 00 0C */ stw r0, 0xc(r5)
lbl_80334814:
/* 80334814 00331774 38 A5 00 10 */ addi r5, r5, 0x10
/* 80334818 00331778 38 C6 00 10 */ addi r6, r6, 0x10
lbl_8033481C:
/* 8033481C 0033177C 7C 06 20 40 */ cmplw r6, r4
/* 80334820 00331780 40 82 FF CC */ bne lbl_803347EC
/* 80334824 00331784 80 1E 00 04 */ lwz r0, 4(r30)
/* 80334828 00331788 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 8033482C 0033178C 54 00 20 36 */ slwi r0, r0, 4
/* 80334830 00331790 7C 64 1B 78 */ mr r4, r3
/* 80334834 00331794 7C 03 02 14 */ add r0, r3, r0
/* 80334838 00331798 48 00 00 08 */ b lbl_80334840
lbl_8033483C:
/* 8033483C 0033179C 38 84 00 10 */ addi r4, r4, 0x10
lbl_80334840:
/* 80334840 003317A0 7C 04 00 40 */ cmplw r4, r0
/* 80334844 003317A4 40 82 FF F8 */ bne lbl_8033483C
/* 80334848 003317A8 28 03 00 00 */ cmplwi r3, 0
/* 8033484C 003317AC 41 82 00 08 */ beq lbl_80334854
/* 80334850 003317B0 4B FE 10 E1 */ bl Free__7CMemoryFPCv
lbl_80334854:
/* 80334854 003317B4 93 BE 00 0C */ stw r29, 0xc(r30)
/* 80334858 003317B8 93 FE 00 08 */ stw r31, 8(r30)
lbl_8033485C:
/* 8033485C 003317BC 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80334860 003317C0 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 80334864 003317C4 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 80334868 003317C8 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 8033486C 003317CC 7C 08 03 A6 */ mtlr r0
/* 80334870 003317D0 38 21 00 30 */ addi r1, r1, 0x30
/* 80334874 003317D4 4E 80 00 20 */ blr