prime/asm/MetroidPrime/Tweaks/CTweaks.s

1954 lines
91 KiB
ArmAsm

.include "macros.inc"
.section .bss
.balign 8
.lcomm lbl_8045B180, 0x5C, 4
.lcomm lbl_8045B1DC, 0xF4, 4
.lcomm lbl_8045B2D0, 0xC8, 4
.lcomm lbl_8045B398, 0x120, 4
.lcomm lbl_8045B4B8, 0x228, 4
.lcomm lbl_8045B6E0, 0x254, 4
.lcomm lbl_8045B934, 0x368, 4
.lcomm lbl_8045BC9C, 0x298, 4
.lcomm lbl_8045BF34, 0x34, 4
.lcomm lbl_8045BF68, 0x68, 4
.lcomm lbl_8045BFD0, 0x238, 4
.lcomm lbl_8045C208, 0x310, 4
.section .sbss
.balign 8
# CTweaks
.global gpTweakPlayer
gpTweakPlayer:
.skip 0x4
.global gpTweakBall
gpTweakBall:
.skip 0x4
.global gpTweakGame
gpTweakGame:
.skip 0x4
.global gpTweakParticle
gpTweakParticle:
.skip 0x4
.global gpTweakPlayerControlCurrent
gpTweakPlayerControlCurrent:
.skip 0x4
.global gpTweakPlayerControl1
gpTweakPlayerControl1:
.skip 0x4
.global gpTweakPlayerControl2
gpTweakPlayerControl2:
.skip 0x4
.global gpTweakPlayerGun
gpTweakPlayerGun:
.skip 0x4
.global gpTweakGui
gpTweakGui:
.skip 0x4
.global gpTweakGuiColors
gpTweakGuiColors:
.skip 0x4
.global gpTweakTargeting
gpTweakTargeting:
.skip 0x4
.global gpTweakAutoMapper
gpTweakAutoMapper:
.skip 0x4
.global gpTweakGunRes
gpTweakGunRes:
.skip 0x4
.global gpTweakPlayerRes
gpTweakPlayerRes:
.skip 0x4
.global gpTweakSlideShow
gpTweakSlideShow:
.skip 0x4
# TOneStatic<CTweakSlideShow>
.global lbl_805A8D14
lbl_805A8D14:
.skip 0x4
.global lbl_805A8D18
lbl_805A8D18:
.skip 0x4
# TOneStatic<CTweakPlayerRes>
.global lbl_805A8D1C
lbl_805A8D1C:
.skip 0x4
.global lbl_805A8D20
lbl_805A8D20:
.skip 0x4
# TOneStatic<CTweakGunRes>
.global lbl_805A8D24
lbl_805A8D24:
.skip 0x4
.global lbl_805A8D28
lbl_805A8D28:
.skip 0x4
# TOneStatic<CTweakAutoMapper>
.global lbl_805A8D2C
lbl_805A8D2C:
.skip 0x4
.global lbl_805A8D30
lbl_805A8D30:
.skip 0x4
# TOneStatic<CTweakTargeting>
.global lbl_805A8D34
lbl_805A8D34:
.skip 0x4
.global lbl_805A8D38
lbl_805A8D38:
.skip 0x4
# TOneStatic<CTweakGuiColors>
.global lbl_805A8D3C
lbl_805A8D3C:
.skip 0x4
.global lbl_805A8D40
lbl_805A8D40:
.skip 0x4
# TOneStatic<CTweakGui>
.global lbl_805A8D44
lbl_805A8D44:
.skip 0x4
.global lbl_805A8D48
lbl_805A8D48:
.skip 0x4
# TOneStatic<CTweakPlayerGun>
.global lbl_805A8D4C
lbl_805A8D4C:
.skip 0x4
.global lbl_805A8D50
lbl_805A8D50:
.skip 0x4
# TOneStatic<CTweakParticle>
.global lbl_805A8D54
lbl_805A8D54:
.skip 0x4
.global lbl_805A8D58
lbl_805A8D58:
.skip 0x4
# TOneStatic<CTweakGame>
.global lbl_805A8D5C
lbl_805A8D5C:
.skip 0x4
.global lbl_805A8D60
lbl_805A8D60:
.skip 0x4
# TOneStatic<CTweakBall>
.global lbl_805A8D64
lbl_805A8D64:
.skip 0x4
.global lbl_805A8D68
lbl_805A8D68:
.skip 0x8
.section .text, "ax"
.global RegisterResourceTweaks__7CTweaksFv
RegisterResourceTweaks__7CTweaksFv:
/* 80035988 000328E8 94 21 FF B0 */ stwu r1, -0x50(r1)
/* 8003598C 000328EC 7C 08 02 A6 */ mflr r0
/* 80035990 000328F0 90 01 00 54 */ stw r0, 0x54(r1)
/* 80035994 000328F4 93 E1 00 4C */ stw r31, 0x4c(r1)
/* 80035998 000328F8 93 C1 00 48 */ stw r30, 0x48(r1)
/* 8003599C 000328FC 7C 7E 1B 78 */ mr r30, r3
/* 800359A0 00032900 93 A1 00 44 */ stw r29, 0x44(r1)
/* 800359A4 00032904 80 0D A1 48 */ lwz r0, gpTweakGunRes@sda21(r13)
/* 800359A8 00032908 83 ED A0 60 */ lwz r31, gpResourceFactory@sda21(r13)
/* 800359AC 0003290C 28 00 00 00 */ cmplwi r0, 0
/* 800359B0 00032910 40 82 01 38 */ bne lbl_80035AE8
/* 800359B4 00032914 3C 80 80 3D */ lis r4, lbl_803CCD88@ha
/* 800359B8 00032918 7F E3 FB 78 */ mr r3, r31
/* 800359BC 0003291C 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l
/* 800359C0 00032920 48 00 13 99 */ bl IDFromFactory__FR11CResFactoryPCc
/* 800359C4 00032924 3C 80 43 54 */ lis r4, 0x4354574B@ha
/* 800359C8 00032928 90 61 00 24 */ stw r3, 0x24(r1)
/* 800359CC 0003292C 38 04 57 4B */ addi r0, r4, 0x4354574B@l
/* 800359D0 00032930 38 7F 00 04 */ addi r3, r31, 4
/* 800359D4 00032934 90 01 00 20 */ stw r0, 0x20(r1)
/* 800359D8 00032938 38 81 00 20 */ addi r4, r1, 0x20
/* 800359DC 0003293C 38 A0 00 00 */ li r5, 0
/* 800359E0 00032940 48 30 5F 89 */ bl LoadNewResourceSync__10CResLoaderFRC10SObjectTagPc
/* 800359E4 00032944 7C 03 00 D0 */ neg r0, r3
/* 800359E8 00032948 3C 80 80 3D */ lis r4, lbl_803CCD88@ha
/* 800359EC 0003294C 7C 00 1B 78 */ or r0, r0, r3
/* 800359F0 00032950 90 61 00 34 */ stw r3, 0x34(r1)
/* 800359F4 00032954 54 00 0F FE */ srwi r0, r0, 0x1f
/* 800359F8 00032958 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l
/* 800359FC 0003295C 98 01 00 30 */ stb r0, 0x30(r1)
/* 80035A00 00032960 38 60 00 C8 */ li r3, 0xc8
/* 80035A04 00032964 38 84 00 07 */ addi r4, r4, 7
/* 80035A08 00032968 38 A0 00 00 */ li r5, 0
/* 80035A0C 0003296C 48 00 14 3D */ bl sub_80036e48
/* 80035A10 00032970 7C 64 1B 79 */ or. r4, r3, r3
/* 80035A14 00032974 41 82 00 10 */ beq lbl_80035A24
/* 80035A18 00032978 80 81 00 34 */ lwz r4, 0x34(r1)
/* 80035A1C 0003297C 48 08 5F CD */ bl __ct__12CTweakGunResFR12CInputStream
/* 80035A20 00032980 7C 64 1B 78 */ mr r4, r3
lbl_80035A24:
/* 80035A24 00032984 7C 04 00 D0 */ neg r0, r4
/* 80035A28 00032988 3B BE 00 54 */ addi r29, r30, 0x54
/* 80035A2C 0003298C 7C 03 23 78 */ or r3, r0, r4
/* 80035A30 00032990 38 01 00 18 */ addi r0, r1, 0x18
/* 80035A34 00032994 54 63 0F FE */ srwi r3, r3, 0x1f
/* 80035A38 00032998 90 8D A1 48 */ stw r4, gpTweakGunRes@sda21(r13)
/* 80035A3C 0003299C 7C 00 E8 40 */ cmplw r0, r29
/* 80035A40 000329A0 98 61 00 18 */ stb r3, 0x18(r1)
/* 80035A44 000329A4 90 81 00 1C */ stw r4, 0x1c(r1)
/* 80035A48 000329A8 41 82 00 48 */ beq lbl_80035A90
/* 80035A4C 000329AC 88 1D 00 00 */ lbz r0, 0(r29)
/* 80035A50 000329B0 28 00 00 00 */ cmplwi r0, 0
/* 80035A54 000329B4 41 82 00 24 */ beq lbl_80035A78
/* 80035A58 000329B8 80 7D 00 04 */ lwz r3, 4(r29)
/* 80035A5C 000329BC 28 03 00 00 */ cmplwi r3, 0
/* 80035A60 000329C0 41 82 00 18 */ beq lbl_80035A78
/* 80035A64 000329C4 81 83 00 00 */ lwz r12, 0(r3)
/* 80035A68 000329C8 38 80 00 01 */ li r4, 1
/* 80035A6C 000329CC 81 8C 00 08 */ lwz r12, 8(r12)
/* 80035A70 000329D0 7D 89 03 A6 */ mtctr r12
/* 80035A74 000329D4 4E 80 04 21 */ bctrl
lbl_80035A78:
/* 80035A78 000329D8 88 61 00 18 */ lbz r3, 0x18(r1)
/* 80035A7C 000329DC 38 00 00 00 */ li r0, 0
/* 80035A80 000329E0 98 7D 00 00 */ stb r3, 0(r29)
/* 80035A84 000329E4 80 61 00 1C */ lwz r3, 0x1c(r1)
/* 80035A88 000329E8 90 7D 00 04 */ stw r3, 4(r29)
/* 80035A8C 000329EC 98 01 00 18 */ stb r0, 0x18(r1)
lbl_80035A90:
/* 80035A90 000329F0 88 01 00 18 */ lbz r0, 0x18(r1)
/* 80035A94 000329F4 28 00 00 00 */ cmplwi r0, 0
/* 80035A98 000329F8 41 82 00 24 */ beq lbl_80035ABC
/* 80035A9C 000329FC 80 61 00 1C */ lwz r3, 0x1c(r1)
/* 80035AA0 00032A00 28 03 00 00 */ cmplwi r3, 0
/* 80035AA4 00032A04 41 82 00 18 */ beq lbl_80035ABC
/* 80035AA8 00032A08 81 83 00 00 */ lwz r12, 0(r3)
/* 80035AAC 00032A0C 38 80 00 01 */ li r4, 1
/* 80035AB0 00032A10 81 8C 00 08 */ lwz r12, 8(r12)
/* 80035AB4 00032A14 7D 89 03 A6 */ mtctr r12
/* 80035AB8 00032A18 4E 80 04 21 */ bctrl
lbl_80035ABC:
/* 80035ABC 00032A1C 88 01 00 30 */ lbz r0, 0x30(r1)
/* 80035AC0 00032A20 28 00 00 00 */ cmplwi r0, 0
/* 80035AC4 00032A24 41 82 00 24 */ beq lbl_80035AE8
/* 80035AC8 00032A28 80 61 00 34 */ lwz r3, 0x34(r1)
/* 80035ACC 00032A2C 28 03 00 00 */ cmplwi r3, 0
/* 80035AD0 00032A30 41 82 00 18 */ beq lbl_80035AE8
/* 80035AD4 00032A34 81 83 00 00 */ lwz r12, 0(r3)
/* 80035AD8 00032A38 38 80 00 01 */ li r4, 1
/* 80035ADC 00032A3C 81 8C 00 08 */ lwz r12, 8(r12)
/* 80035AE0 00032A40 7D 89 03 A6 */ mtctr r12
/* 80035AE4 00032A44 4E 80 04 21 */ bctrl
lbl_80035AE8:
/* 80035AE8 00032A48 80 0D A1 4C */ lwz r0, gpTweakPlayerRes@sda21(r13)
/* 80035AEC 00032A4C 28 00 00 00 */ cmplwi r0, 0
/* 80035AF0 00032A50 40 82 01 3C */ bne lbl_80035C2C
/* 80035AF4 00032A54 3C 80 80 3D */ lis r4, lbl_803CCD88@ha
/* 80035AF8 00032A58 7F E3 FB 78 */ mr r3, r31
/* 80035AFC 00032A5C 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l
/* 80035B00 00032A60 38 84 00 0E */ addi r4, r4, 0xe
/* 80035B04 00032A64 48 00 12 55 */ bl IDFromFactory__FR11CResFactoryPCc
/* 80035B08 00032A68 3C 80 43 54 */ lis r4, 0x4354574B@ha
/* 80035B0C 00032A6C 90 61 00 14 */ stw r3, 0x14(r1)
/* 80035B10 00032A70 38 04 57 4B */ addi r0, r4, 0x4354574B@l
/* 80035B14 00032A74 38 7F 00 04 */ addi r3, r31, 4
/* 80035B18 00032A78 90 01 00 10 */ stw r0, 0x10(r1)
/* 80035B1C 00032A7C 38 81 00 10 */ addi r4, r1, 0x10
/* 80035B20 00032A80 38 A0 00 00 */ li r5, 0
/* 80035B24 00032A84 48 30 5E 45 */ bl LoadNewResourceSync__10CResLoaderFRC10SObjectTagPc
/* 80035B28 00032A88 7C 03 00 D0 */ neg r0, r3
/* 80035B2C 00032A8C 3C 80 80 3D */ lis r4, lbl_803CCD88@ha
/* 80035B30 00032A90 7C 00 1B 78 */ or r0, r0, r3
/* 80035B34 00032A94 90 61 00 2C */ stw r3, 0x2c(r1)
/* 80035B38 00032A98 54 00 0F FE */ srwi r0, r0, 0x1f
/* 80035B3C 00032A9C 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l
/* 80035B40 00032AA0 98 01 00 28 */ stb r0, 0x28(r1)
/* 80035B44 00032AA4 38 60 00 F4 */ li r3, 0xf4
/* 80035B48 00032AA8 38 84 00 07 */ addi r4, r4, 7
/* 80035B4C 00032AAC 38 A0 00 00 */ li r5, 0
/* 80035B50 00032AB0 48 00 12 99 */ bl sub_80036de8
/* 80035B54 00032AB4 7C 64 1B 79 */ or. r4, r3, r3
/* 80035B58 00032AB8 41 82 00 10 */ beq lbl_80035B68
/* 80035B5C 00032ABC 80 81 00 2C */ lwz r4, 0x2c(r1)
/* 80035B60 00032AC0 48 17 67 01 */ bl __ct__15CTweakPlayerResFR12CInputStream
/* 80035B64 00032AC4 7C 64 1B 78 */ mr r4, r3
lbl_80035B68:
/* 80035B68 00032AC8 7C 04 00 D0 */ neg r0, r4
/* 80035B6C 00032ACC 3B BE 00 5C */ addi r29, r30, 0x5c
/* 80035B70 00032AD0 7C 03 23 78 */ or r3, r0, r4
/* 80035B74 00032AD4 38 01 00 08 */ addi r0, r1, 8
/* 80035B78 00032AD8 54 63 0F FE */ srwi r3, r3, 0x1f
/* 80035B7C 00032ADC 90 8D A1 4C */ stw r4, gpTweakPlayerRes@sda21(r13)
/* 80035B80 00032AE0 7C 00 E8 40 */ cmplw r0, r29
/* 80035B84 00032AE4 98 61 00 08 */ stb r3, 8(r1)
/* 80035B88 00032AE8 90 81 00 0C */ stw r4, 0xc(r1)
/* 80035B8C 00032AEC 41 82 00 48 */ beq lbl_80035BD4
/* 80035B90 00032AF0 88 1D 00 00 */ lbz r0, 0(r29)
/* 80035B94 00032AF4 28 00 00 00 */ cmplwi r0, 0
/* 80035B98 00032AF8 41 82 00 24 */ beq lbl_80035BBC
/* 80035B9C 00032AFC 80 7D 00 04 */ lwz r3, 4(r29)
/* 80035BA0 00032B00 28 03 00 00 */ cmplwi r3, 0
/* 80035BA4 00032B04 41 82 00 18 */ beq lbl_80035BBC
/* 80035BA8 00032B08 81 83 00 00 */ lwz r12, 0(r3)
/* 80035BAC 00032B0C 38 80 00 01 */ li r4, 1
/* 80035BB0 00032B10 81 8C 00 08 */ lwz r12, 8(r12)
/* 80035BB4 00032B14 7D 89 03 A6 */ mtctr r12
/* 80035BB8 00032B18 4E 80 04 21 */ bctrl
lbl_80035BBC:
/* 80035BBC 00032B1C 88 61 00 08 */ lbz r3, 8(r1)
/* 80035BC0 00032B20 38 00 00 00 */ li r0, 0
/* 80035BC4 00032B24 98 7D 00 00 */ stb r3, 0(r29)
/* 80035BC8 00032B28 80 61 00 0C */ lwz r3, 0xc(r1)
/* 80035BCC 00032B2C 90 7D 00 04 */ stw r3, 4(r29)
/* 80035BD0 00032B30 98 01 00 08 */ stb r0, 8(r1)
lbl_80035BD4:
/* 80035BD4 00032B34 88 01 00 08 */ lbz r0, 8(r1)
/* 80035BD8 00032B38 28 00 00 00 */ cmplwi r0, 0
/* 80035BDC 00032B3C 41 82 00 24 */ beq lbl_80035C00
/* 80035BE0 00032B40 80 61 00 0C */ lwz r3, 0xc(r1)
/* 80035BE4 00032B44 28 03 00 00 */ cmplwi r3, 0
/* 80035BE8 00032B48 41 82 00 18 */ beq lbl_80035C00
/* 80035BEC 00032B4C 81 83 00 00 */ lwz r12, 0(r3)
/* 80035BF0 00032B50 38 80 00 01 */ li r4, 1
/* 80035BF4 00032B54 81 8C 00 08 */ lwz r12, 8(r12)
/* 80035BF8 00032B58 7D 89 03 A6 */ mtctr r12
/* 80035BFC 00032B5C 4E 80 04 21 */ bctrl
lbl_80035C00:
/* 80035C00 00032B60 88 01 00 28 */ lbz r0, 0x28(r1)
/* 80035C04 00032B64 28 00 00 00 */ cmplwi r0, 0
/* 80035C08 00032B68 41 82 00 24 */ beq lbl_80035C2C
/* 80035C0C 00032B6C 80 61 00 2C */ lwz r3, 0x2c(r1)
/* 80035C10 00032B70 28 03 00 00 */ cmplwi r3, 0
/* 80035C14 00032B74 41 82 00 18 */ beq lbl_80035C2C
/* 80035C18 00032B78 81 83 00 00 */ lwz r12, 0(r3)
/* 80035C1C 00032B7C 38 80 00 01 */ li r4, 1
/* 80035C20 00032B80 81 8C 00 08 */ lwz r12, 8(r12)
/* 80035C24 00032B84 7D 89 03 A6 */ mtctr r12
/* 80035C28 00032B88 4E 80 04 21 */ bctrl
lbl_80035C2C:
/* 80035C2C 00032B8C 80 01 00 54 */ lwz r0, 0x54(r1)
/* 80035C30 00032B90 83 E1 00 4C */ lwz r31, 0x4c(r1)
/* 80035C34 00032B94 83 C1 00 48 */ lwz r30, 0x48(r1)
/* 80035C38 00032B98 83 A1 00 44 */ lwz r29, 0x44(r1)
/* 80035C3C 00032B9C 7C 08 03 A6 */ mtlr r0
/* 80035C40 00032BA0 38 21 00 50 */ addi r1, r1, 0x50
/* 80035C44 00032BA4 4E 80 00 20 */ blr
.global RegisterTweaks__7CTweaksFv
RegisterTweaks__7CTweaksFv:
/* 80035C48 00032BA8 94 21 FE B0 */ stwu r1, -0x150(r1)
/* 80035C4C 00032BAC 7C 08 02 A6 */ mflr r0
/* 80035C50 00032BB0 3C 80 80 3D */ lis r4, lbl_803CCD88@ha
/* 80035C54 00032BB4 90 01 01 54 */ stw r0, 0x154(r1)
/* 80035C58 00032BB8 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l
/* 80035C5C 00032BBC 38 84 00 18 */ addi r4, r4, 0x18
/* 80035C60 00032BC0 93 E1 01 4C */ stw r31, 0x14c(r1)
/* 80035C64 00032BC4 93 C1 01 48 */ stw r30, 0x148(r1)
/* 80035C68 00032BC8 7C 7E 1B 78 */ mr r30, r3
/* 80035C6C 00032BCC 93 A1 01 44 */ stw r29, 0x144(r1)
/* 80035C70 00032BD0 80 0D A0 60 */ lwz r0, gpResourceFactory@sda21(r13)
/* 80035C74 00032BD4 7C 1F 03 78 */ mr r31, r0
/* 80035C78 00032BD8 7C 03 03 78 */ mr r3, r0
/* 80035C7C 00032BDC 48 00 10 DD */ bl IDFromFactory__FR11CResFactoryPCc
/* 80035C80 00032BE0 3C 80 43 54 */ lis r4, 0x4354574B@ha
/* 80035C84 00032BE4 90 61 00 CC */ stw r3, 0xcc(r1)
/* 80035C88 00032BE8 38 04 57 4B */ addi r0, r4, 0x4354574B@l
/* 80035C8C 00032BEC 38 7F 00 04 */ addi r3, r31, 4
/* 80035C90 00032BF0 90 01 00 C8 */ stw r0, 0xc8(r1)
/* 80035C94 00032BF4 38 81 00 C8 */ addi r4, r1, 0xc8
/* 80035C98 00032BF8 38 A0 00 00 */ li r5, 0
/* 80035C9C 00032BFC 48 30 5C CD */ bl LoadNewResourceSync__10CResLoaderFRC10SObjectTagPc
/* 80035CA0 00032C00 7C 03 00 D0 */ neg r0, r3
/* 80035CA4 00032C04 3C 80 80 3D */ lis r4, lbl_803CCD88@ha
/* 80035CA8 00032C08 7C 00 1B 78 */ or r0, r0, r3
/* 80035CAC 00032C0C 90 61 01 34 */ stw r3, 0x134(r1)
/* 80035CB0 00032C10 54 00 0F FE */ srwi r0, r0, 0x1f
/* 80035CB4 00032C14 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l
/* 80035CB8 00032C18 98 01 01 30 */ stb r0, 0x130(r1)
/* 80035CBC 00032C1C 38 60 00 34 */ li r3, 0x34
/* 80035CC0 00032C20 38 84 00 07 */ addi r4, r4, 7
/* 80035CC4 00032C24 38 A0 00 00 */ li r5, 0
/* 80035CC8 00032C28 48 00 13 C1 */ bl "__nw__28TOneStatic<14CTweakParticle>FUlPCcPCc"
/* 80035CCC 00032C2C 7C 64 1B 79 */ or. r4, r3, r3
/* 80035CD0 00032C30 41 82 00 10 */ beq lbl_80035CE0
/* 80035CD4 00032C34 80 81 01 34 */ lwz r4, 0x134(r1)
/* 80035CD8 00032C38 48 02 42 49 */ bl __ct__14CTweakParticleFR12CInputStream
/* 80035CDC 00032C3C 7C 64 1B 78 */ mr r4, r3
lbl_80035CE0:
/* 80035CE0 00032C40 7C 04 00 D0 */ neg r0, r4
/* 80035CE4 00032C44 3B BE 00 14 */ addi r29, r30, 0x14
/* 80035CE8 00032C48 7C 03 23 78 */ or r3, r0, r4
/* 80035CEC 00032C4C 38 01 00 C0 */ addi r0, r1, 0xc0
/* 80035CF0 00032C50 54 63 0F FE */ srwi r3, r3, 0x1f
/* 80035CF4 00032C54 90 8D A1 24 */ stw r4, gpTweakParticle@sda21(r13)
/* 80035CF8 00032C58 7C 00 E8 40 */ cmplw r0, r29
/* 80035CFC 00032C5C 98 61 00 C0 */ stb r3, 0xc0(r1)
/* 80035D00 00032C60 90 81 00 C4 */ stw r4, 0xc4(r1)
/* 80035D04 00032C64 41 82 00 48 */ beq lbl_80035D4C
/* 80035D08 00032C68 88 1D 00 00 */ lbz r0, 0(r29)
/* 80035D0C 00032C6C 28 00 00 00 */ cmplwi r0, 0
/* 80035D10 00032C70 41 82 00 24 */ beq lbl_80035D34
/* 80035D14 00032C74 80 7D 00 04 */ lwz r3, 4(r29)
/* 80035D18 00032C78 28 03 00 00 */ cmplwi r3, 0
/* 80035D1C 00032C7C 41 82 00 18 */ beq lbl_80035D34
/* 80035D20 00032C80 81 83 00 00 */ lwz r12, 0(r3)
/* 80035D24 00032C84 38 80 00 01 */ li r4, 1
/* 80035D28 00032C88 81 8C 00 08 */ lwz r12, 8(r12)
/* 80035D2C 00032C8C 7D 89 03 A6 */ mtctr r12
/* 80035D30 00032C90 4E 80 04 21 */ bctrl
lbl_80035D34:
/* 80035D34 00032C94 88 61 00 C0 */ lbz r3, 0xc0(r1)
/* 80035D38 00032C98 38 00 00 00 */ li r0, 0
/* 80035D3C 00032C9C 98 7D 00 00 */ stb r3, 0(r29)
/* 80035D40 00032CA0 80 61 00 C4 */ lwz r3, 0xc4(r1)
/* 80035D44 00032CA4 90 7D 00 04 */ stw r3, 4(r29)
/* 80035D48 00032CA8 98 01 00 C0 */ stb r0, 0xc0(r1)
lbl_80035D4C:
/* 80035D4C 00032CAC 88 01 00 C0 */ lbz r0, 0xc0(r1)
/* 80035D50 00032CB0 28 00 00 00 */ cmplwi r0, 0
/* 80035D54 00032CB4 41 82 00 24 */ beq lbl_80035D78
/* 80035D58 00032CB8 80 61 00 C4 */ lwz r3, 0xc4(r1)
/* 80035D5C 00032CBC 28 03 00 00 */ cmplwi r3, 0
/* 80035D60 00032CC0 41 82 00 18 */ beq lbl_80035D78
/* 80035D64 00032CC4 81 83 00 00 */ lwz r12, 0(r3)
/* 80035D68 00032CC8 38 80 00 01 */ li r4, 1
/* 80035D6C 00032CCC 81 8C 00 08 */ lwz r12, 8(r12)
/* 80035D70 00032CD0 7D 89 03 A6 */ mtctr r12
/* 80035D74 00032CD4 4E 80 04 21 */ bctrl
lbl_80035D78:
/* 80035D78 00032CD8 88 01 01 30 */ lbz r0, 0x130(r1)
/* 80035D7C 00032CDC 28 00 00 00 */ cmplwi r0, 0
/* 80035D80 00032CE0 41 82 00 24 */ beq lbl_80035DA4
/* 80035D84 00032CE4 80 61 01 34 */ lwz r3, 0x134(r1)
/* 80035D88 00032CE8 28 03 00 00 */ cmplwi r3, 0
/* 80035D8C 00032CEC 41 82 00 18 */ beq lbl_80035DA4
/* 80035D90 00032CF0 81 83 00 00 */ lwz r12, 0(r3)
/* 80035D94 00032CF4 38 80 00 01 */ li r4, 1
/* 80035D98 00032CF8 81 8C 00 08 */ lwz r12, 8(r12)
/* 80035D9C 00032CFC 7D 89 03 A6 */ mtctr r12
/* 80035DA0 00032D00 4E 80 04 21 */ bctrl
lbl_80035DA4:
/* 80035DA4 00032D04 3C 80 80 3D */ lis r4, lbl_803CCD88@ha
/* 80035DA8 00032D08 7F E3 FB 78 */ mr r3, r31
/* 80035DAC 00032D0C 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l
/* 80035DB0 00032D10 38 84 00 21 */ addi r4, r4, 0x21
/* 80035DB4 00032D14 48 00 0F A5 */ bl IDFromFactory__FR11CResFactoryPCc
/* 80035DB8 00032D18 3C 80 43 54 */ lis r4, 0x4354574B@ha
/* 80035DBC 00032D1C 90 61 00 BC */ stw r3, 0xbc(r1)
/* 80035DC0 00032D20 38 04 57 4B */ addi r0, r4, 0x4354574B@l
/* 80035DC4 00032D24 38 7F 00 04 */ addi r3, r31, 4
/* 80035DC8 00032D28 90 01 00 B8 */ stw r0, 0xb8(r1)
/* 80035DCC 00032D2C 38 81 00 B8 */ addi r4, r1, 0xb8
/* 80035DD0 00032D30 38 A0 00 00 */ li r5, 0
/* 80035DD4 00032D34 48 30 5B 95 */ bl LoadNewResourceSync__10CResLoaderFRC10SObjectTagPc
/* 80035DD8 00032D38 7C 03 00 D0 */ neg r0, r3
/* 80035DDC 00032D3C 3C 80 80 3D */ lis r4, lbl_803CCD88@ha
/* 80035DE0 00032D40 7C 00 1B 78 */ or r0, r0, r3
/* 80035DE4 00032D44 90 61 01 2C */ stw r3, 0x12c(r1)
/* 80035DE8 00032D48 54 00 0F FE */ srwi r0, r0, 0x1f
/* 80035DEC 00032D4C 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l
/* 80035DF0 00032D50 98 01 01 28 */ stb r0, 0x128(r1)
/* 80035DF4 00032D54 38 60 03 0C */ li r3, 0x30c
/* 80035DF8 00032D58 38 84 00 07 */ addi r4, r4, 7
/* 80035DFC 00032D5C 38 A0 00 00 */ li r5, 0
/* 80035E00 00032D60 48 00 13 A9 */ bl "__nw__26TOneStatic<12CTweakPlayer>FUlPCcPCc"
/* 80035E04 00032D64 7C 64 1B 79 */ or. r4, r3, r3
/* 80035E08 00032D68 41 82 00 10 */ beq lbl_80035E18
/* 80035E0C 00032D6C 80 81 01 2C */ lwz r4, 0x12c(r1)
/* 80035E10 00032D70 4B FF EF F5 */ bl __ct__12CTweakPlayerFR12CInputStream
/* 80035E14 00032D74 7C 64 1B 78 */ mr r4, r3
lbl_80035E18:
/* 80035E18 00032D78 7C 04 00 D0 */ neg r0, r4
/* 80035E1C 00032D7C 3B BE 00 04 */ addi r29, r30, 4
/* 80035E20 00032D80 7C 03 23 78 */ or r3, r0, r4
/* 80035E24 00032D84 38 01 00 B0 */ addi r0, r1, 0xb0
/* 80035E28 00032D88 54 63 0F FE */ srwi r3, r3, 0x1f
/* 80035E2C 00032D8C 90 8D A1 18 */ stw r4, gpTweakPlayer@sda21(r13)
/* 80035E30 00032D90 7C 00 E8 40 */ cmplw r0, r29
/* 80035E34 00032D94 98 61 00 B0 */ stb r3, 0xb0(r1)
/* 80035E38 00032D98 90 81 00 B4 */ stw r4, 0xb4(r1)
/* 80035E3C 00032D9C 41 82 00 48 */ beq lbl_80035E84
/* 80035E40 00032DA0 88 1D 00 00 */ lbz r0, 0(r29)
/* 80035E44 00032DA4 28 00 00 00 */ cmplwi r0, 0
/* 80035E48 00032DA8 41 82 00 24 */ beq lbl_80035E6C
/* 80035E4C 00032DAC 80 7D 00 04 */ lwz r3, 4(r29)
/* 80035E50 00032DB0 28 03 00 00 */ cmplwi r3, 0
/* 80035E54 00032DB4 41 82 00 18 */ beq lbl_80035E6C
/* 80035E58 00032DB8 81 83 00 00 */ lwz r12, 0(r3)
/* 80035E5C 00032DBC 38 80 00 01 */ li r4, 1
/* 80035E60 00032DC0 81 8C 00 08 */ lwz r12, 8(r12)
/* 80035E64 00032DC4 7D 89 03 A6 */ mtctr r12
/* 80035E68 00032DC8 4E 80 04 21 */ bctrl
lbl_80035E6C:
/* 80035E6C 00032DCC 88 61 00 B0 */ lbz r3, 0xb0(r1)
/* 80035E70 00032DD0 38 00 00 00 */ li r0, 0
/* 80035E74 00032DD4 98 7D 00 00 */ stb r3, 0(r29)
/* 80035E78 00032DD8 80 61 00 B4 */ lwz r3, 0xb4(r1)
/* 80035E7C 00032DDC 90 7D 00 04 */ stw r3, 4(r29)
/* 80035E80 00032DE0 98 01 00 B0 */ stb r0, 0xb0(r1)
lbl_80035E84:
/* 80035E84 00032DE4 88 01 00 B0 */ lbz r0, 0xb0(r1)
/* 80035E88 00032DE8 28 00 00 00 */ cmplwi r0, 0
/* 80035E8C 00032DEC 41 82 00 24 */ beq lbl_80035EB0
/* 80035E90 00032DF0 80 61 00 B4 */ lwz r3, 0xb4(r1)
/* 80035E94 00032DF4 28 03 00 00 */ cmplwi r3, 0
/* 80035E98 00032DF8 41 82 00 18 */ beq lbl_80035EB0
/* 80035E9C 00032DFC 81 83 00 00 */ lwz r12, 0(r3)
/* 80035EA0 00032E00 38 80 00 01 */ li r4, 1
/* 80035EA4 00032E04 81 8C 00 08 */ lwz r12, 8(r12)
/* 80035EA8 00032E08 7D 89 03 A6 */ mtctr r12
/* 80035EAC 00032E0C 4E 80 04 21 */ bctrl
lbl_80035EB0:
/* 80035EB0 00032E10 88 01 01 28 */ lbz r0, 0x128(r1)
/* 80035EB4 00032E14 28 00 00 00 */ cmplwi r0, 0
/* 80035EB8 00032E18 41 82 00 24 */ beq lbl_80035EDC
/* 80035EBC 00032E1C 80 61 01 2C */ lwz r3, 0x12c(r1)
/* 80035EC0 00032E20 28 03 00 00 */ cmplwi r3, 0
/* 80035EC4 00032E24 41 82 00 18 */ beq lbl_80035EDC
/* 80035EC8 00032E28 81 83 00 00 */ lwz r12, 0(r3)
/* 80035ECC 00032E2C 38 80 00 01 */ li r4, 1
/* 80035ED0 00032E30 81 8C 00 08 */ lwz r12, 8(r12)
/* 80035ED4 00032E34 7D 89 03 A6 */ mtctr r12
/* 80035ED8 00032E38 4E 80 04 21 */ bctrl
lbl_80035EDC:
/* 80035EDC 00032E3C 3C 80 80 3D */ lis r4, lbl_803CCD88@ha
/* 80035EE0 00032E40 7F E3 FB 78 */ mr r3, r31
/* 80035EE4 00032E44 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l
/* 80035EE8 00032E48 38 84 00 28 */ addi r4, r4, 0x28
/* 80035EEC 00032E4C 48 00 0E 6D */ bl IDFromFactory__FR11CResFactoryPCc
/* 80035EF0 00032E50 3C 80 43 54 */ lis r4, 0x4354574B@ha
/* 80035EF4 00032E54 90 61 00 AC */ stw r3, 0xac(r1)
/* 80035EF8 00032E58 38 04 57 4B */ addi r0, r4, 0x4354574B@l
/* 80035EFC 00032E5C 38 7F 00 04 */ addi r3, r31, 4
/* 80035F00 00032E60 90 01 00 A8 */ stw r0, 0xa8(r1)
/* 80035F04 00032E64 38 81 00 A8 */ addi r4, r1, 0xa8
/* 80035F08 00032E68 38 A0 00 00 */ li r5, 0
/* 80035F0C 00032E6C 48 30 5A 5D */ bl LoadNewResourceSync__10CResLoaderFRC10SObjectTagPc
/* 80035F10 00032E70 7C 03 00 D0 */ neg r0, r3
/* 80035F14 00032E74 90 61 01 24 */ stw r3, 0x124(r1)
/* 80035F18 00032E78 7C 00 1B 78 */ or r0, r0, r3
/* 80035F1C 00032E7C 54 00 0F FE */ srwi r0, r0, 0x1f
/* 80035F20 00032E80 98 01 01 20 */ stb r0, 0x120(r1)
/* 80035F24 00032E84 48 0B 42 61 */ bl ReadTweaks__16CPlayerCameraBobFR12CInputStream
/* 80035F28 00032E88 88 01 01 20 */ lbz r0, 0x120(r1)
/* 80035F2C 00032E8C 28 00 00 00 */ cmplwi r0, 0
/* 80035F30 00032E90 41 82 00 24 */ beq lbl_80035F54
/* 80035F34 00032E94 80 61 01 24 */ lwz r3, 0x124(r1)
/* 80035F38 00032E98 28 03 00 00 */ cmplwi r3, 0
/* 80035F3C 00032E9C 41 82 00 18 */ beq lbl_80035F54
/* 80035F40 00032EA0 81 83 00 00 */ lwz r12, 0(r3)
/* 80035F44 00032EA4 38 80 00 01 */ li r4, 1
/* 80035F48 00032EA8 81 8C 00 08 */ lwz r12, 8(r12)
/* 80035F4C 00032EAC 7D 89 03 A6 */ mtctr r12
/* 80035F50 00032EB0 4E 80 04 21 */ bctrl
lbl_80035F54:
/* 80035F54 00032EB4 3C 80 80 3D */ lis r4, lbl_803CCD88@ha
/* 80035F58 00032EB8 7F E3 FB 78 */ mr r3, r31
/* 80035F5C 00032EBC 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l
/* 80035F60 00032EC0 38 84 00 32 */ addi r4, r4, 0x32
/* 80035F64 00032EC4 48 00 0D F5 */ bl IDFromFactory__FR11CResFactoryPCc
/* 80035F68 00032EC8 3C 80 43 54 */ lis r4, 0x4354574B@ha
/* 80035F6C 00032ECC 90 61 00 A4 */ stw r3, 0xa4(r1)
/* 80035F70 00032ED0 38 04 57 4B */ addi r0, r4, 0x4354574B@l
/* 80035F74 00032ED4 38 7F 00 04 */ addi r3, r31, 4
/* 80035F78 00032ED8 90 01 00 A0 */ stw r0, 0xa0(r1)
/* 80035F7C 00032EDC 38 81 00 A0 */ addi r4, r1, 0xa0
/* 80035F80 00032EE0 38 A0 00 00 */ li r5, 0
/* 80035F84 00032EE4 48 30 59 E5 */ bl LoadNewResourceSync__10CResLoaderFRC10SObjectTagPc
/* 80035F88 00032EE8 7C 03 00 D0 */ neg r0, r3
/* 80035F8C 00032EEC 3C 80 80 3D */ lis r4, lbl_803CCD88@ha
/* 80035F90 00032EF0 7C 00 1B 78 */ or r0, r0, r3
/* 80035F94 00032EF4 90 61 01 1C */ stw r3, 0x11c(r1)
/* 80035F98 00032EF8 54 00 0F FE */ srwi r0, r0, 0x1f
/* 80035F9C 00032EFC 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l
/* 80035FA0 00032F00 98 01 01 18 */ stb r0, 0x118(r1)
/* 80035FA4 00032F04 38 60 02 38 */ li r3, 0x238
/* 80035FA8 00032F08 38 84 00 07 */ addi r4, r4, 7
/* 80035FAC 00032F0C 38 A0 00 00 */ li r5, 0
/* 80035FB0 00032F10 48 00 11 99 */ bl "__nw__24TOneStatic<10CTweakBall>FUlPCcPCc"
/* 80035FB4 00032F14 7C 64 1B 79 */ or. r4, r3, r3
/* 80035FB8 00032F18 41 82 00 10 */ beq lbl_80035FC8
/* 80035FBC 00032F1C 80 81 01 1C */ lwz r4, 0x11c(r1)
/* 80035FC0 00032F20 48 05 AB 95 */ bl __ct__10CTweakBallFR12CInputStream
/* 80035FC4 00032F24 7C 64 1B 78 */ mr r4, r3
lbl_80035FC8:
/* 80035FC8 00032F28 7C 04 00 D0 */ neg r0, r4
/* 80035FCC 00032F2C 3B BE 00 3C */ addi r29, r30, 0x3c
/* 80035FD0 00032F30 7C 03 23 78 */ or r3, r0, r4
/* 80035FD4 00032F34 38 01 00 98 */ addi r0, r1, 0x98
/* 80035FD8 00032F38 54 63 0F FE */ srwi r3, r3, 0x1f
/* 80035FDC 00032F3C 90 8D A1 1C */ stw r4, gpTweakBall@sda21(r13)
/* 80035FE0 00032F40 7C 00 E8 40 */ cmplw r0, r29
/* 80035FE4 00032F44 98 61 00 98 */ stb r3, 0x98(r1)
/* 80035FE8 00032F48 90 81 00 9C */ stw r4, 0x9c(r1)
/* 80035FEC 00032F4C 41 82 00 48 */ beq lbl_80036034
/* 80035FF0 00032F50 88 1D 00 00 */ lbz r0, 0(r29)
/* 80035FF4 00032F54 28 00 00 00 */ cmplwi r0, 0
/* 80035FF8 00032F58 41 82 00 24 */ beq lbl_8003601C
/* 80035FFC 00032F5C 80 7D 00 04 */ lwz r3, 4(r29)
/* 80036000 00032F60 28 03 00 00 */ cmplwi r3, 0
/* 80036004 00032F64 41 82 00 18 */ beq lbl_8003601C
/* 80036008 00032F68 81 83 00 00 */ lwz r12, 0(r3)
/* 8003600C 00032F6C 38 80 00 01 */ li r4, 1
/* 80036010 00032F70 81 8C 00 08 */ lwz r12, 8(r12)
/* 80036014 00032F74 7D 89 03 A6 */ mtctr r12
/* 80036018 00032F78 4E 80 04 21 */ bctrl
lbl_8003601C:
/* 8003601C 00032F7C 88 61 00 98 */ lbz r3, 0x98(r1)
/* 80036020 00032F80 38 00 00 00 */ li r0, 0
/* 80036024 00032F84 98 7D 00 00 */ stb r3, 0(r29)
/* 80036028 00032F88 80 61 00 9C */ lwz r3, 0x9c(r1)
/* 8003602C 00032F8C 90 7D 00 04 */ stw r3, 4(r29)
/* 80036030 00032F90 98 01 00 98 */ stb r0, 0x98(r1)
lbl_80036034:
/* 80036034 00032F94 88 01 00 98 */ lbz r0, 0x98(r1)
/* 80036038 00032F98 28 00 00 00 */ cmplwi r0, 0
/* 8003603C 00032F9C 41 82 00 24 */ beq lbl_80036060
/* 80036040 00032FA0 80 61 00 9C */ lwz r3, 0x9c(r1)
/* 80036044 00032FA4 28 03 00 00 */ cmplwi r3, 0
/* 80036048 00032FA8 41 82 00 18 */ beq lbl_80036060
/* 8003604C 00032FAC 81 83 00 00 */ lwz r12, 0(r3)
/* 80036050 00032FB0 38 80 00 01 */ li r4, 1
/* 80036054 00032FB4 81 8C 00 08 */ lwz r12, 8(r12)
/* 80036058 00032FB8 7D 89 03 A6 */ mtctr r12
/* 8003605C 00032FBC 4E 80 04 21 */ bctrl
lbl_80036060:
/* 80036060 00032FC0 88 01 01 18 */ lbz r0, 0x118(r1)
/* 80036064 00032FC4 28 00 00 00 */ cmplwi r0, 0
/* 80036068 00032FC8 41 82 00 24 */ beq lbl_8003608C
/* 8003606C 00032FCC 80 61 01 1C */ lwz r3, 0x11c(r1)
/* 80036070 00032FD0 28 03 00 00 */ cmplwi r3, 0
/* 80036074 00032FD4 41 82 00 18 */ beq lbl_8003608C
/* 80036078 00032FD8 81 83 00 00 */ lwz r12, 0(r3)
/* 8003607C 00032FDC 38 80 00 01 */ li r4, 1
/* 80036080 00032FE0 81 8C 00 08 */ lwz r12, 8(r12)
/* 80036084 00032FE4 7D 89 03 A6 */ mtctr r12
/* 80036088 00032FE8 4E 80 04 21 */ bctrl
lbl_8003608C:
/* 8003608C 00032FEC 3C 80 80 3D */ lis r4, lbl_803CCD88@ha
/* 80036090 00032FF0 7F E3 FB 78 */ mr r3, r31
/* 80036094 00032FF4 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l
/* 80036098 00032FF8 38 84 00 37 */ addi r4, r4, 0x37
/* 8003609C 00032FFC 48 00 0C BD */ bl IDFromFactory__FR11CResFactoryPCc
/* 800360A0 00033000 3C 80 43 54 */ lis r4, 0x4354574B@ha
/* 800360A4 00033004 90 61 00 94 */ stw r3, 0x94(r1)
/* 800360A8 00033008 38 04 57 4B */ addi r0, r4, 0x4354574B@l
/* 800360AC 0003300C 38 7F 00 04 */ addi r3, r31, 4
/* 800360B0 00033010 90 01 00 90 */ stw r0, 0x90(r1)
/* 800360B4 00033014 38 81 00 90 */ addi r4, r1, 0x90
/* 800360B8 00033018 38 A0 00 00 */ li r5, 0
/* 800360BC 0003301C 48 30 58 AD */ bl LoadNewResourceSync__10CResLoaderFRC10SObjectTagPc
/* 800360C0 00033020 7C 03 00 D0 */ neg r0, r3
/* 800360C4 00033024 3C 80 80 3D */ lis r4, lbl_803CCD88@ha
/* 800360C8 00033028 7C 00 1B 78 */ or r0, r0, r3
/* 800360CC 0003302C 90 61 01 14 */ stw r3, 0x114(r1)
/* 800360D0 00033030 54 00 0F FE */ srwi r0, r0, 0x1f
/* 800360D4 00033034 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l
/* 800360D8 00033038 98 01 01 10 */ stb r0, 0x110(r1)
/* 800360DC 0003303C 38 60 02 98 */ li r3, 0x298
/* 800360E0 00033040 38 84 00 07 */ addi r4, r4, 7
/* 800360E4 00033044 38 A0 00 00 */ li r5, 0
/* 800360E8 00033048 48 00 0F 41 */ bl "__nw__29TOneStatic<15CTweakPlayerGun>FUlPCcPCc"
/* 800360EC 0003304C 7C 64 1B 79 */ or. r4, r3, r3
/* 800360F0 00033050 41 82 00 10 */ beq lbl_80036100
/* 800360F4 00033054 80 81 01 14 */ lwz r4, 0x114(r1)
/* 800360F8 00033058 48 03 9E A1 */ bl __ct__15CTweakPlayerGunFR12CInputStream
/* 800360FC 0003305C 7C 64 1B 78 */ mr r4, r3
lbl_80036100:
/* 80036100 00033060 7C 04 00 D0 */ neg r0, r4
/* 80036104 00033064 3B BE 00 24 */ addi r29, r30, 0x24
/* 80036108 00033068 7C 03 23 78 */ or r3, r0, r4
/* 8003610C 0003306C 38 01 00 88 */ addi r0, r1, 0x88
/* 80036110 00033070 54 63 0F FE */ srwi r3, r3, 0x1f
/* 80036114 00033074 90 8D A1 34 */ stw r4, gpTweakPlayerGun@sda21(r13)
/* 80036118 00033078 7C 00 E8 40 */ cmplw r0, r29
/* 8003611C 0003307C 98 61 00 88 */ stb r3, 0x88(r1)
/* 80036120 00033080 90 81 00 8C */ stw r4, 0x8c(r1)
/* 80036124 00033084 41 82 00 48 */ beq lbl_8003616C
/* 80036128 00033088 88 1D 00 00 */ lbz r0, 0(r29)
/* 8003612C 0003308C 28 00 00 00 */ cmplwi r0, 0
/* 80036130 00033090 41 82 00 24 */ beq lbl_80036154
/* 80036134 00033094 80 7D 00 04 */ lwz r3, 4(r29)
/* 80036138 00033098 28 03 00 00 */ cmplwi r3, 0
/* 8003613C 0003309C 41 82 00 18 */ beq lbl_80036154
/* 80036140 000330A0 81 83 00 00 */ lwz r12, 0(r3)
/* 80036144 000330A4 38 80 00 01 */ li r4, 1
/* 80036148 000330A8 81 8C 00 08 */ lwz r12, 8(r12)
/* 8003614C 000330AC 7D 89 03 A6 */ mtctr r12
/* 80036150 000330B0 4E 80 04 21 */ bctrl
lbl_80036154:
/* 80036154 000330B4 88 61 00 88 */ lbz r3, 0x88(r1)
/* 80036158 000330B8 38 00 00 00 */ li r0, 0
/* 8003615C 000330BC 98 7D 00 00 */ stb r3, 0(r29)
/* 80036160 000330C0 80 61 00 8C */ lwz r3, 0x8c(r1)
/* 80036164 000330C4 90 7D 00 04 */ stw r3, 4(r29)
/* 80036168 000330C8 98 01 00 88 */ stb r0, 0x88(r1)
lbl_8003616C:
/* 8003616C 000330CC 88 01 00 88 */ lbz r0, 0x88(r1)
/* 80036170 000330D0 28 00 00 00 */ cmplwi r0, 0
/* 80036174 000330D4 41 82 00 24 */ beq lbl_80036198
/* 80036178 000330D8 80 61 00 8C */ lwz r3, 0x8c(r1)
/* 8003617C 000330DC 28 03 00 00 */ cmplwi r3, 0
/* 80036180 000330E0 41 82 00 18 */ beq lbl_80036198
/* 80036184 000330E4 81 83 00 00 */ lwz r12, 0(r3)
/* 80036188 000330E8 38 80 00 01 */ li r4, 1
/* 8003618C 000330EC 81 8C 00 08 */ lwz r12, 8(r12)
/* 80036190 000330F0 7D 89 03 A6 */ mtctr r12
/* 80036194 000330F4 4E 80 04 21 */ bctrl
lbl_80036198:
/* 80036198 000330F8 88 01 01 10 */ lbz r0, 0x110(r1)
/* 8003619C 000330FC 28 00 00 00 */ cmplwi r0, 0
/* 800361A0 00033100 41 82 00 24 */ beq lbl_800361C4
/* 800361A4 00033104 80 61 01 14 */ lwz r3, 0x114(r1)
/* 800361A8 00033108 28 03 00 00 */ cmplwi r3, 0
/* 800361AC 0003310C 41 82 00 18 */ beq lbl_800361C4
/* 800361B0 00033110 81 83 00 00 */ lwz r12, 0(r3)
/* 800361B4 00033114 38 80 00 01 */ li r4, 1
/* 800361B8 00033118 81 8C 00 08 */ lwz r12, 8(r12)
/* 800361BC 0003311C 7D 89 03 A6 */ mtctr r12
/* 800361C0 00033120 4E 80 04 21 */ bctrl
lbl_800361C4:
/* 800361C4 00033124 3C 80 80 3D */ lis r4, lbl_803CCD88@ha
/* 800361C8 00033128 7F E3 FB 78 */ mr r3, r31
/* 800361CC 0003312C 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l
/* 800361D0 00033130 38 84 00 41 */ addi r4, r4, 0x41
/* 800361D4 00033134 48 00 0B 85 */ bl IDFromFactory__FR11CResFactoryPCc
/* 800361D8 00033138 3C 80 43 54 */ lis r4, 0x4354574B@ha
/* 800361DC 0003313C 90 61 00 84 */ stw r3, 0x84(r1)
/* 800361E0 00033140 38 04 57 4B */ addi r0, r4, 0x4354574B@l
/* 800361E4 00033144 38 7F 00 04 */ addi r3, r31, 4
/* 800361E8 00033148 90 01 00 80 */ stw r0, 0x80(r1)
/* 800361EC 0003314C 38 81 00 80 */ addi r4, r1, 0x80
/* 800361F0 00033150 38 A0 00 00 */ li r5, 0
/* 800361F4 00033154 48 30 57 75 */ bl LoadNewResourceSync__10CResLoaderFRC10SObjectTagPc
/* 800361F8 00033158 7C 03 00 D0 */ neg r0, r3
/* 800361FC 0003315C 3C 80 80 3D */ lis r4, lbl_803CCD88@ha
/* 80036200 00033160 7C 00 1B 78 */ or r0, r0, r3
/* 80036204 00033164 90 61 01 0C */ stw r3, 0x10c(r1)
/* 80036208 00033168 54 00 0F FE */ srwi r0, r0, 0x1f
/* 8003620C 0003316C 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l
/* 80036210 00033170 98 01 01 08 */ stb r0, 0x108(r1)
/* 80036214 00033174 38 60 02 28 */ li r3, 0x228
/* 80036218 00033178 38 84 00 07 */ addi r4, r4, 7
/* 8003621C 0003317C 38 A0 00 00 */ li r5, 0
/* 80036220 00033180 48 00 0C E9 */ bl "__nw__29TOneStatic<15CTweakTargeting>FUlPCcPCc"
/* 80036224 00033184 7C 64 1B 79 */ or. r4, r3, r3
/* 80036228 00033188 41 82 00 10 */ beq lbl_80036238
/* 8003622C 0003318C 80 81 01 0C */ lwz r4, 0x10c(r1)
/* 80036230 00033190 48 07 F7 99 */ bl __ct__15CTweakTargetingFR12CInputStream
/* 80036234 00033194 7C 64 1B 78 */ mr r4, r3
lbl_80036238:
/* 80036238 00033198 7C 04 00 D0 */ neg r0, r4
/* 8003623C 0003319C 3B BE 00 44 */ addi r29, r30, 0x44
/* 80036240 000331A0 7C 03 23 78 */ or r3, r0, r4
/* 80036244 000331A4 38 01 00 78 */ addi r0, r1, 0x78
/* 80036248 000331A8 54 63 0F FE */ srwi r3, r3, 0x1f
/* 8003624C 000331AC 90 8D A1 40 */ stw r4, gpTweakTargeting@sda21(r13)
/* 80036250 000331B0 7C 00 E8 40 */ cmplw r0, r29
/* 80036254 000331B4 98 61 00 78 */ stb r3, 0x78(r1)
/* 80036258 000331B8 90 81 00 7C */ stw r4, 0x7c(r1)
/* 8003625C 000331BC 41 82 00 48 */ beq lbl_800362A4
/* 80036260 000331C0 88 1D 00 00 */ lbz r0, 0(r29)
/* 80036264 000331C4 28 00 00 00 */ cmplwi r0, 0
/* 80036268 000331C8 41 82 00 24 */ beq lbl_8003628C
/* 8003626C 000331CC 80 7D 00 04 */ lwz r3, 4(r29)
/* 80036270 000331D0 28 03 00 00 */ cmplwi r3, 0
/* 80036274 000331D4 41 82 00 18 */ beq lbl_8003628C
/* 80036278 000331D8 81 83 00 00 */ lwz r12, 0(r3)
/* 8003627C 000331DC 38 80 00 01 */ li r4, 1
/* 80036280 000331E0 81 8C 00 08 */ lwz r12, 8(r12)
/* 80036284 000331E4 7D 89 03 A6 */ mtctr r12
/* 80036288 000331E8 4E 80 04 21 */ bctrl
lbl_8003628C:
/* 8003628C 000331EC 88 61 00 78 */ lbz r3, 0x78(r1)
/* 80036290 000331F0 38 00 00 00 */ li r0, 0
/* 80036294 000331F4 98 7D 00 00 */ stb r3, 0(r29)
/* 80036298 000331F8 80 61 00 7C */ lwz r3, 0x7c(r1)
/* 8003629C 000331FC 90 7D 00 04 */ stw r3, 4(r29)
/* 800362A0 00033200 98 01 00 78 */ stb r0, 0x78(r1)
lbl_800362A4:
/* 800362A4 00033204 88 01 00 78 */ lbz r0, 0x78(r1)
/* 800362A8 00033208 28 00 00 00 */ cmplwi r0, 0
/* 800362AC 0003320C 41 82 00 24 */ beq lbl_800362D0
/* 800362B0 00033210 80 61 00 7C */ lwz r3, 0x7c(r1)
/* 800362B4 00033214 28 03 00 00 */ cmplwi r3, 0
/* 800362B8 00033218 41 82 00 18 */ beq lbl_800362D0
/* 800362BC 0003321C 81 83 00 00 */ lwz r12, 0(r3)
/* 800362C0 00033220 38 80 00 01 */ li r4, 1
/* 800362C4 00033224 81 8C 00 08 */ lwz r12, 8(r12)
/* 800362C8 00033228 7D 89 03 A6 */ mtctr r12
/* 800362CC 0003322C 4E 80 04 21 */ bctrl
lbl_800362D0:
/* 800362D0 00033230 88 01 01 08 */ lbz r0, 0x108(r1)
/* 800362D4 00033234 28 00 00 00 */ cmplwi r0, 0
/* 800362D8 00033238 41 82 00 24 */ beq lbl_800362FC
/* 800362DC 0003323C 80 61 01 0C */ lwz r3, 0x10c(r1)
/* 800362E0 00033240 28 03 00 00 */ cmplwi r3, 0
/* 800362E4 00033244 41 82 00 18 */ beq lbl_800362FC
/* 800362E8 00033248 81 83 00 00 */ lwz r12, 0(r3)
/* 800362EC 0003324C 38 80 00 01 */ li r4, 1
/* 800362F0 00033250 81 8C 00 08 */ lwz r12, 8(r12)
/* 800362F4 00033254 7D 89 03 A6 */ mtctr r12
/* 800362F8 00033258 4E 80 04 21 */ bctrl
lbl_800362FC:
/* 800362FC 0003325C 3C 80 80 3D */ lis r4, lbl_803CCD88@ha
/* 80036300 00033260 7F E3 FB 78 */ mr r3, r31
/* 80036304 00033264 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l
/* 80036308 00033268 38 84 00 4B */ addi r4, r4, 0x4b
/* 8003630C 0003326C 48 00 0A 4D */ bl IDFromFactory__FR11CResFactoryPCc
/* 80036310 00033270 3C 80 43 54 */ lis r4, 0x4354574B@ha
/* 80036314 00033274 90 61 00 74 */ stw r3, 0x74(r1)
/* 80036318 00033278 38 04 57 4B */ addi r0, r4, 0x4354574B@l
/* 8003631C 0003327C 38 7F 00 04 */ addi r3, r31, 4
/* 80036320 00033280 90 01 00 70 */ stw r0, 0x70(r1)
/* 80036324 00033284 38 81 00 70 */ addi r4, r1, 0x70
/* 80036328 00033288 38 A0 00 00 */ li r5, 0
/* 8003632C 0003328C 48 30 56 3D */ bl LoadNewResourceSync__10CResLoaderFRC10SObjectTagPc
/* 80036330 00033290 7C 03 00 D0 */ neg r0, r3
/* 80036334 00033294 3C 80 80 3D */ lis r4, lbl_803CCD88@ha
/* 80036338 00033298 7C 00 1B 78 */ or r0, r0, r3
/* 8003633C 0003329C 90 61 01 04 */ stw r3, 0x104(r1)
/* 80036340 000332A0 54 00 0F FE */ srwi r0, r0, 0x1f
/* 80036344 000332A4 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l
/* 80036348 000332A8 98 01 01 00 */ stb r0, 0x100(r1)
/* 8003634C 000332AC 38 60 00 68 */ li r3, 0x68
/* 80036350 000332B0 38 84 00 07 */ addi r4, r4, 7
/* 80036354 000332B4 38 A0 00 00 */ li r5, 0
/* 80036358 000332B8 48 00 0D 91 */ bl "__nw__24TOneStatic<10CTweakGame>FUlPCcPCc"
/* 8003635C 000332BC 7C 64 1B 79 */ or. r4, r3, r3
/* 80036360 000332C0 41 82 00 10 */ beq lbl_80036370
/* 80036364 000332C4 80 81 01 04 */ lwz r4, 0x104(r1)
/* 80036368 000332C8 48 00 0E 7D */ bl __ct__10CTweakGameFR12CInputStream
/* 8003636C 000332CC 7C 64 1B 78 */ mr r4, r3
lbl_80036370:
/* 80036370 000332D0 7C 04 00 D0 */ neg r0, r4
/* 80036374 000332D4 3B BE 00 0C */ addi r29, r30, 0xc
/* 80036378 000332D8 7C 03 23 78 */ or r3, r0, r4
/* 8003637C 000332DC 38 01 00 68 */ addi r0, r1, 0x68
/* 80036380 000332E0 54 63 0F FE */ srwi r3, r3, 0x1f
/* 80036384 000332E4 90 8D A1 20 */ stw r4, gpTweakGame@sda21(r13)
/* 80036388 000332E8 7C 00 E8 40 */ cmplw r0, r29
/* 8003638C 000332EC 98 61 00 68 */ stb r3, 0x68(r1)
/* 80036390 000332F0 90 81 00 6C */ stw r4, 0x6c(r1)
/* 80036394 000332F4 41 82 00 48 */ beq lbl_800363DC
/* 80036398 000332F8 88 1D 00 00 */ lbz r0, 0(r29)
/* 8003639C 000332FC 28 00 00 00 */ cmplwi r0, 0
/* 800363A0 00033300 41 82 00 24 */ beq lbl_800363C4
/* 800363A4 00033304 80 7D 00 04 */ lwz r3, 4(r29)
/* 800363A8 00033308 28 03 00 00 */ cmplwi r3, 0
/* 800363AC 0003330C 41 82 00 18 */ beq lbl_800363C4
/* 800363B0 00033310 81 83 00 00 */ lwz r12, 0(r3)
/* 800363B4 00033314 38 80 00 01 */ li r4, 1
/* 800363B8 00033318 81 8C 00 08 */ lwz r12, 8(r12)
/* 800363BC 0003331C 7D 89 03 A6 */ mtctr r12
/* 800363C0 00033320 4E 80 04 21 */ bctrl
lbl_800363C4:
/* 800363C4 00033324 88 61 00 68 */ lbz r3, 0x68(r1)
/* 800363C8 00033328 38 00 00 00 */ li r0, 0
/* 800363CC 0003332C 98 7D 00 00 */ stb r3, 0(r29)
/* 800363D0 00033330 80 61 00 6C */ lwz r3, 0x6c(r1)
/* 800363D4 00033334 90 7D 00 04 */ stw r3, 4(r29)
/* 800363D8 00033338 98 01 00 68 */ stb r0, 0x68(r1)
lbl_800363DC:
/* 800363DC 0003333C 88 01 00 68 */ lbz r0, 0x68(r1)
/* 800363E0 00033340 28 00 00 00 */ cmplwi r0, 0
/* 800363E4 00033344 41 82 00 24 */ beq lbl_80036408
/* 800363E8 00033348 80 61 00 6C */ lwz r3, 0x6c(r1)
/* 800363EC 0003334C 28 03 00 00 */ cmplwi r3, 0
/* 800363F0 00033350 41 82 00 18 */ beq lbl_80036408
/* 800363F4 00033354 81 83 00 00 */ lwz r12, 0(r3)
/* 800363F8 00033358 38 80 00 01 */ li r4, 1
/* 800363FC 0003335C 81 8C 00 08 */ lwz r12, 8(r12)
/* 80036400 00033360 7D 89 03 A6 */ mtctr r12
/* 80036404 00033364 4E 80 04 21 */ bctrl
lbl_80036408:
/* 80036408 00033368 88 01 01 00 */ lbz r0, 0x100(r1)
/* 8003640C 0003336C 28 00 00 00 */ cmplwi r0, 0
/* 80036410 00033370 41 82 00 24 */ beq lbl_80036434
/* 80036414 00033374 80 61 01 04 */ lwz r3, 0x104(r1)
/* 80036418 00033378 28 03 00 00 */ cmplwi r3, 0
/* 8003641C 0003337C 41 82 00 18 */ beq lbl_80036434
/* 80036420 00033380 81 83 00 00 */ lwz r12, 0(r3)
/* 80036424 00033384 38 80 00 01 */ li r4, 1
/* 80036428 00033388 81 8C 00 08 */ lwz r12, 8(r12)
/* 8003642C 0003338C 7D 89 03 A6 */ mtctr r12
/* 80036430 00033390 4E 80 04 21 */ bctrl
lbl_80036434:
/* 80036434 00033394 3C 80 80 3D */ lis r4, lbl_803CCD88@ha
/* 80036438 00033398 7F E3 FB 78 */ mr r3, r31
/* 8003643C 0003339C 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l
/* 80036440 000333A0 38 84 00 50 */ addi r4, r4, 0x50
/* 80036444 000333A4 48 00 09 15 */ bl IDFromFactory__FR11CResFactoryPCc
/* 80036448 000333A8 3C 80 43 54 */ lis r4, 0x4354574B@ha
/* 8003644C 000333AC 90 61 00 64 */ stw r3, 0x64(r1)
/* 80036450 000333B0 38 04 57 4B */ addi r0, r4, 0x4354574B@l
/* 80036454 000333B4 38 7F 00 04 */ addi r3, r31, 4
/* 80036458 000333B8 90 01 00 60 */ stw r0, 0x60(r1)
/* 8003645C 000333BC 38 81 00 60 */ addi r4, r1, 0x60
/* 80036460 000333C0 38 A0 00 00 */ li r5, 0
/* 80036464 000333C4 48 30 55 05 */ bl LoadNewResourceSync__10CResLoaderFRC10SObjectTagPc
/* 80036468 000333C8 7C 03 00 D0 */ neg r0, r3
/* 8003646C 000333CC 3C 80 80 3D */ lis r4, lbl_803CCD88@ha
/* 80036470 000333D0 7C 00 1B 78 */ or r0, r0, r3
/* 80036474 000333D4 90 61 00 FC */ stw r3, 0xfc(r1)
/* 80036478 000333D8 54 00 0F FE */ srwi r0, r0, 0x1f
/* 8003647C 000333DC 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l
/* 80036480 000333E0 98 01 00 F8 */ stb r0, 0xf8(r1)
/* 80036484 000333E4 38 60 02 54 */ li r3, 0x254
/* 80036488 000333E8 38 84 00 07 */ addi r4, r4, 7
/* 8003648C 000333EC 38 A0 00 00 */ li r5, 0
/* 80036490 000333F0 48 00 0A D9 */ bl "__nw__29TOneStatic<15CTweakGuiColors>FUlPCcPCc"
/* 80036494 000333F4 7C 64 1B 79 */ or. r4, r3, r3
/* 80036498 000333F8 41 82 00 10 */ beq lbl_800364A8
/* 8003649C 000333FC 80 81 00 FC */ lwz r4, 0xfc(r1)
/* 800364A0 00033400 48 19 75 8D */ bl __ct__15CTweakGuiColorsFR12CInputStream
/* 800364A4 00033404 7C 64 1B 78 */ mr r4, r3
lbl_800364A8:
/* 800364A8 00033408 7C 04 00 D0 */ neg r0, r4
/* 800364AC 0003340C 3B BE 00 34 */ addi r29, r30, 0x34
/* 800364B0 00033410 7C 03 23 78 */ or r3, r0, r4
/* 800364B4 00033414 38 01 00 58 */ addi r0, r1, 0x58
/* 800364B8 00033418 54 63 0F FE */ srwi r3, r3, 0x1f
/* 800364BC 0003341C 90 8D A1 3C */ stw r4, gpTweakGuiColors@sda21(r13)
/* 800364C0 00033420 7C 00 E8 40 */ cmplw r0, r29
/* 800364C4 00033424 98 61 00 58 */ stb r3, 0x58(r1)
/* 800364C8 00033428 90 81 00 5C */ stw r4, 0x5c(r1)
/* 800364CC 0003342C 41 82 00 48 */ beq lbl_80036514
/* 800364D0 00033430 88 1D 00 00 */ lbz r0, 0(r29)
/* 800364D4 00033434 28 00 00 00 */ cmplwi r0, 0
/* 800364D8 00033438 41 82 00 24 */ beq lbl_800364FC
/* 800364DC 0003343C 80 7D 00 04 */ lwz r3, 4(r29)
/* 800364E0 00033440 28 03 00 00 */ cmplwi r3, 0
/* 800364E4 00033444 41 82 00 18 */ beq lbl_800364FC
/* 800364E8 00033448 81 83 00 00 */ lwz r12, 0(r3)
/* 800364EC 0003344C 38 80 00 01 */ li r4, 1
/* 800364F0 00033450 81 8C 00 08 */ lwz r12, 8(r12)
/* 800364F4 00033454 7D 89 03 A6 */ mtctr r12
/* 800364F8 00033458 4E 80 04 21 */ bctrl
lbl_800364FC:
/* 800364FC 0003345C 88 61 00 58 */ lbz r3, 0x58(r1)
/* 80036500 00033460 38 00 00 00 */ li r0, 0
/* 80036504 00033464 98 7D 00 00 */ stb r3, 0(r29)
/* 80036508 00033468 80 61 00 5C */ lwz r3, 0x5c(r1)
/* 8003650C 0003346C 90 7D 00 04 */ stw r3, 4(r29)
/* 80036510 00033470 98 01 00 58 */ stb r0, 0x58(r1)
lbl_80036514:
/* 80036514 00033474 88 01 00 58 */ lbz r0, 0x58(r1)
/* 80036518 00033478 28 00 00 00 */ cmplwi r0, 0
/* 8003651C 0003347C 41 82 00 24 */ beq lbl_80036540
/* 80036520 00033480 80 61 00 5C */ lwz r3, 0x5c(r1)
/* 80036524 00033484 28 03 00 00 */ cmplwi r3, 0
/* 80036528 00033488 41 82 00 18 */ beq lbl_80036540
/* 8003652C 0003348C 81 83 00 00 */ lwz r12, 0(r3)
/* 80036530 00033490 38 80 00 01 */ li r4, 1
/* 80036534 00033494 81 8C 00 08 */ lwz r12, 8(r12)
/* 80036538 00033498 7D 89 03 A6 */ mtctr r12
/* 8003653C 0003349C 4E 80 04 21 */ bctrl
lbl_80036540:
/* 80036540 000334A0 88 01 00 F8 */ lbz r0, 0xf8(r1)
/* 80036544 000334A4 28 00 00 00 */ cmplwi r0, 0
/* 80036548 000334A8 41 82 00 24 */ beq lbl_8003656C
/* 8003654C 000334AC 80 61 00 FC */ lwz r3, 0xfc(r1)
/* 80036550 000334B0 28 03 00 00 */ cmplwi r3, 0
/* 80036554 000334B4 41 82 00 18 */ beq lbl_8003656C
/* 80036558 000334B8 81 83 00 00 */ lwz r12, 0(r3)
/* 8003655C 000334BC 38 80 00 01 */ li r4, 1
/* 80036560 000334C0 81 8C 00 08 */ lwz r12, 8(r12)
/* 80036564 000334C4 7D 89 03 A6 */ mtctr r12
/* 80036568 000334C8 4E 80 04 21 */ bctrl
lbl_8003656C:
/* 8003656C 000334CC 3C 80 80 3D */ lis r4, lbl_803CCD88@ha
/* 80036570 000334D0 7F E3 FB 78 */ mr r3, r31
/* 80036574 000334D4 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l
/* 80036578 000334D8 38 84 00 5A */ addi r4, r4, 0x5a
/* 8003657C 000334DC 48 00 07 DD */ bl IDFromFactory__FR11CResFactoryPCc
/* 80036580 000334E0 3C 80 43 54 */ lis r4, 0x4354574B@ha
/* 80036584 000334E4 90 61 00 54 */ stw r3, 0x54(r1)
/* 80036588 000334E8 38 04 57 4B */ addi r0, r4, 0x4354574B@l
/* 8003658C 000334EC 38 7F 00 04 */ addi r3, r31, 4
/* 80036590 000334F0 90 01 00 50 */ stw r0, 0x50(r1)
/* 80036594 000334F4 38 81 00 50 */ addi r4, r1, 0x50
/* 80036598 000334F8 38 A0 00 00 */ li r5, 0
/* 8003659C 000334FC 48 30 53 CD */ bl LoadNewResourceSync__10CResLoaderFRC10SObjectTagPc
/* 800365A0 00033500 7C 03 00 D0 */ neg r0, r3
/* 800365A4 00033504 3C 80 80 3D */ lis r4, lbl_803CCD88@ha
/* 800365A8 00033508 7C 00 1B 78 */ or r0, r0, r3
/* 800365AC 0003350C 90 61 00 F4 */ stw r3, 0xf4(r1)
/* 800365B0 00033510 54 00 0F FE */ srwi r0, r0, 0x1f
/* 800365B4 00033514 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l
/* 800365B8 00033518 98 01 00 F0 */ stb r0, 0xf0(r1)
/* 800365BC 0003351C 38 60 01 20 */ li r3, 0x120
/* 800365C0 00033520 38 84 00 07 */ addi r4, r4, 7
/* 800365C4 00033524 38 A0 00 00 */ li r5, 0
/* 800365C8 00033528 48 00 08 E1 */ bl "__nw__30TOneStatic<16CTweakAutoMapper>FUlPCcPCc"
/* 800365CC 0003352C 7C 64 1B 79 */ or. r4, r3, r3
/* 800365D0 00033530 41 82 00 10 */ beq lbl_800365E0
/* 800365D4 00033534 80 81 00 F4 */ lwz r4, 0xf4(r1)
/* 800365D8 00033538 48 08 03 E5 */ bl __ct__16CTweakAutoMapperFR12CInputStream
/* 800365DC 0003353C 7C 64 1B 78 */ mr r4, r3
lbl_800365E0:
/* 800365E0 00033540 7C 04 00 D0 */ neg r0, r4
/* 800365E4 00033544 3B BE 00 4C */ addi r29, r30, 0x4c
/* 800365E8 00033548 7C 03 23 78 */ or r3, r0, r4
/* 800365EC 0003354C 38 01 00 48 */ addi r0, r1, 0x48
/* 800365F0 00033550 54 63 0F FE */ srwi r3, r3, 0x1f
/* 800365F4 00033554 90 8D A1 44 */ stw r4, gpTweakAutoMapper@sda21(r13)
/* 800365F8 00033558 7C 00 E8 40 */ cmplw r0, r29
/* 800365FC 0003355C 98 61 00 48 */ stb r3, 0x48(r1)
/* 80036600 00033560 90 81 00 4C */ stw r4, 0x4c(r1)
/* 80036604 00033564 41 82 00 48 */ beq lbl_8003664C
/* 80036608 00033568 88 1D 00 00 */ lbz r0, 0(r29)
/* 8003660C 0003356C 28 00 00 00 */ cmplwi r0, 0
/* 80036610 00033570 41 82 00 24 */ beq lbl_80036634
/* 80036614 00033574 80 7D 00 04 */ lwz r3, 4(r29)
/* 80036618 00033578 28 03 00 00 */ cmplwi r3, 0
/* 8003661C 0003357C 41 82 00 18 */ beq lbl_80036634
/* 80036620 00033580 81 83 00 00 */ lwz r12, 0(r3)
/* 80036624 00033584 38 80 00 01 */ li r4, 1
/* 80036628 00033588 81 8C 00 08 */ lwz r12, 8(r12)
/* 8003662C 0003358C 7D 89 03 A6 */ mtctr r12
/* 80036630 00033590 4E 80 04 21 */ bctrl
lbl_80036634:
/* 80036634 00033594 88 61 00 48 */ lbz r3, 0x48(r1)
/* 80036638 00033598 38 00 00 00 */ li r0, 0
/* 8003663C 0003359C 98 7D 00 00 */ stb r3, 0(r29)
/* 80036640 000335A0 80 61 00 4C */ lwz r3, 0x4c(r1)
/* 80036644 000335A4 90 7D 00 04 */ stw r3, 4(r29)
/* 80036648 000335A8 98 01 00 48 */ stb r0, 0x48(r1)
lbl_8003664C:
/* 8003664C 000335AC 88 01 00 48 */ lbz r0, 0x48(r1)
/* 80036650 000335B0 28 00 00 00 */ cmplwi r0, 0
/* 80036654 000335B4 41 82 00 24 */ beq lbl_80036678
/* 80036658 000335B8 80 61 00 4C */ lwz r3, 0x4c(r1)
/* 8003665C 000335BC 28 03 00 00 */ cmplwi r3, 0
/* 80036660 000335C0 41 82 00 18 */ beq lbl_80036678
/* 80036664 000335C4 81 83 00 00 */ lwz r12, 0(r3)
/* 80036668 000335C8 38 80 00 01 */ li r4, 1
/* 8003666C 000335CC 81 8C 00 08 */ lwz r12, 8(r12)
/* 80036670 000335D0 7D 89 03 A6 */ mtctr r12
/* 80036674 000335D4 4E 80 04 21 */ bctrl
lbl_80036678:
/* 80036678 000335D8 80 6D A1 44 */ lwz r3, gpTweakAutoMapper@sda21(r13)
/* 8003667C 000335DC 48 0B 2D ED */ bl ReadAutomapperTweaks__15CMappableObjectFRC16CTweakAutoMapper
/* 80036680 000335E0 88 01 00 F0 */ lbz r0, 0xf0(r1)
/* 80036684 000335E4 28 00 00 00 */ cmplwi r0, 0
/* 80036688 000335E8 41 82 00 24 */ beq lbl_800366AC
/* 8003668C 000335EC 80 61 00 F4 */ lwz r3, 0xf4(r1)
/* 80036690 000335F0 28 03 00 00 */ cmplwi r3, 0
/* 80036694 000335F4 41 82 00 18 */ beq lbl_800366AC
/* 80036698 000335F8 81 83 00 00 */ lwz r12, 0(r3)
/* 8003669C 000335FC 38 80 00 01 */ li r4, 1
/* 800366A0 00033600 81 8C 00 08 */ lwz r12, 8(r12)
/* 800366A4 00033604 7D 89 03 A6 */ mtctr r12
/* 800366A8 00033608 4E 80 04 21 */ bctrl
lbl_800366AC:
/* 800366AC 0003360C 3C 80 80 3D */ lis r4, lbl_803CCD88@ha
/* 800366B0 00033610 7F E3 FB 78 */ mr r3, r31
/* 800366B4 00033614 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l
/* 800366B8 00033618 38 84 00 65 */ addi r4, r4, 0x65
/* 800366BC 0003361C 48 00 06 9D */ bl IDFromFactory__FR11CResFactoryPCc
/* 800366C0 00033620 3C 80 43 54 */ lis r4, 0x4354574B@ha
/* 800366C4 00033624 90 61 00 44 */ stw r3, 0x44(r1)
/* 800366C8 00033628 38 04 57 4B */ addi r0, r4, 0x4354574B@l
/* 800366CC 0003362C 38 7F 00 04 */ addi r3, r31, 4
/* 800366D0 00033630 90 01 00 40 */ stw r0, 0x40(r1)
/* 800366D4 00033634 38 81 00 40 */ addi r4, r1, 0x40
/* 800366D8 00033638 38 A0 00 00 */ li r5, 0
/* 800366DC 0003363C 48 30 52 8D */ bl LoadNewResourceSync__10CResLoaderFRC10SObjectTagPc
/* 800366E0 00033640 7C 03 00 D0 */ neg r0, r3
/* 800366E4 00033644 3C 80 80 3D */ lis r4, lbl_803CCD88@ha
/* 800366E8 00033648 7C 00 1B 78 */ or r0, r0, r3
/* 800366EC 0003364C 90 61 00 EC */ stw r3, 0xec(r1)
/* 800366F0 00033650 54 00 0F FE */ srwi r0, r0, 0x1f
/* 800366F4 00033654 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l
/* 800366F8 00033658 98 01 00 E8 */ stb r0, 0xe8(r1)
/* 800366FC 0003365C 38 60 03 68 */ li r3, 0x368
/* 80036700 00033660 38 84 00 07 */ addi r4, r4, 7
/* 80036704 00033664 38 A0 00 00 */ li r5, 0
/* 80036708 00033668 48 00 08 C1 */ bl "__nw__22TOneStatic<9CTweakGui>FUlPCcPCc"
/* 8003670C 0003366C 7C 64 1B 79 */ or. r4, r3, r3
/* 80036710 00033670 41 82 00 10 */ beq lbl_80036720
/* 80036714 00033674 80 81 00 EC */ lwz r4, 0xec(r1)
/* 80036718 00033678 48 03 DC 49 */ bl __ct__9CTweakGuiFR12CInputStream
/* 8003671C 0003367C 7C 64 1B 78 */ mr r4, r3
lbl_80036720:
/* 80036720 00033680 7C 04 00 D0 */ neg r0, r4
/* 80036724 00033684 3B BE 00 2C */ addi r29, r30, 0x2c
/* 80036728 00033688 7C 03 23 78 */ or r3, r0, r4
/* 8003672C 0003368C 38 01 00 38 */ addi r0, r1, 0x38
/* 80036730 00033690 54 63 0F FE */ srwi r3, r3, 0x1f
/* 80036734 00033694 90 8D A1 38 */ stw r4, gpTweakGui@sda21(r13)
/* 80036738 00033698 7C 00 E8 40 */ cmplw r0, r29
/* 8003673C 0003369C 98 61 00 38 */ stb r3, 0x38(r1)
/* 80036740 000336A0 90 81 00 3C */ stw r4, 0x3c(r1)
/* 80036744 000336A4 41 82 00 48 */ beq lbl_8003678C
/* 80036748 000336A8 88 1D 00 00 */ lbz r0, 0(r29)
/* 8003674C 000336AC 28 00 00 00 */ cmplwi r0, 0
/* 80036750 000336B0 41 82 00 24 */ beq lbl_80036774
/* 80036754 000336B4 80 7D 00 04 */ lwz r3, 4(r29)
/* 80036758 000336B8 28 03 00 00 */ cmplwi r3, 0
/* 8003675C 000336BC 41 82 00 18 */ beq lbl_80036774
/* 80036760 000336C0 81 83 00 00 */ lwz r12, 0(r3)
/* 80036764 000336C4 38 80 00 01 */ li r4, 1
/* 80036768 000336C8 81 8C 00 08 */ lwz r12, 8(r12)
/* 8003676C 000336CC 7D 89 03 A6 */ mtctr r12
/* 80036770 000336D0 4E 80 04 21 */ bctrl
lbl_80036774:
/* 80036774 000336D4 88 61 00 38 */ lbz r3, 0x38(r1)
/* 80036778 000336D8 38 00 00 00 */ li r0, 0
/* 8003677C 000336DC 98 7D 00 00 */ stb r3, 0(r29)
/* 80036780 000336E0 80 61 00 3C */ lwz r3, 0x3c(r1)
/* 80036784 000336E4 90 7D 00 04 */ stw r3, 4(r29)
/* 80036788 000336E8 98 01 00 38 */ stb r0, 0x38(r1)
lbl_8003678C:
/* 8003678C 000336EC 88 01 00 38 */ lbz r0, 0x38(r1)
/* 80036790 000336F0 28 00 00 00 */ cmplwi r0, 0
/* 80036794 000336F4 41 82 00 24 */ beq lbl_800367B8
/* 80036798 000336F8 80 61 00 3C */ lwz r3, 0x3c(r1)
/* 8003679C 000336FC 28 03 00 00 */ cmplwi r3, 0
/* 800367A0 00033700 41 82 00 18 */ beq lbl_800367B8
/* 800367A4 00033704 81 83 00 00 */ lwz r12, 0(r3)
/* 800367A8 00033708 38 80 00 01 */ li r4, 1
/* 800367AC 0003370C 81 8C 00 08 */ lwz r12, 8(r12)
/* 800367B0 00033710 7D 89 03 A6 */ mtctr r12
/* 800367B4 00033714 4E 80 04 21 */ bctrl
lbl_800367B8:
/* 800367B8 00033718 88 01 00 E8 */ lbz r0, 0xe8(r1)
/* 800367BC 0003371C 28 00 00 00 */ cmplwi r0, 0
/* 800367C0 00033720 41 82 00 24 */ beq lbl_800367E4
/* 800367C4 00033724 80 61 00 EC */ lwz r3, 0xec(r1)
/* 800367C8 00033728 28 03 00 00 */ cmplwi r3, 0
/* 800367CC 0003372C 41 82 00 18 */ beq lbl_800367E4
/* 800367D0 00033730 81 83 00 00 */ lwz r12, 0(r3)
/* 800367D4 00033734 38 80 00 01 */ li r4, 1
/* 800367D8 00033738 81 8C 00 08 */ lwz r12, 8(r12)
/* 800367DC 0003373C 7D 89 03 A6 */ mtctr r12
/* 800367E0 00033740 4E 80 04 21 */ bctrl
lbl_800367E4:
/* 800367E4 00033744 3C 80 80 3D */ lis r4, lbl_803CCD88@ha
/* 800367E8 00033748 7F E3 FB 78 */ mr r3, r31
/* 800367EC 0003374C 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l
/* 800367F0 00033750 38 84 00 69 */ addi r4, r4, 0x69
/* 800367F4 00033754 48 00 05 65 */ bl IDFromFactory__FR11CResFactoryPCc
/* 800367F8 00033758 3C 80 43 54 */ lis r4, 0x4354574B@ha
/* 800367FC 0003375C 90 61 00 34 */ stw r3, 0x34(r1)
/* 80036800 00033760 38 04 57 4B */ addi r0, r4, 0x4354574B@l
/* 80036804 00033764 38 7F 00 04 */ addi r3, r31, 4
/* 80036808 00033768 90 01 00 30 */ stw r0, 0x30(r1)
/* 8003680C 0003376C 38 81 00 30 */ addi r4, r1, 0x30
/* 80036810 00033770 38 A0 00 00 */ li r5, 0
/* 80036814 00033774 48 30 51 55 */ bl LoadNewResourceSync__10CResLoaderFRC10SObjectTagPc
/* 80036818 00033778 7C 03 00 D0 */ neg r0, r3
/* 8003681C 0003377C 3C 80 80 3D */ lis r4, lbl_803CCD88@ha
/* 80036820 00033780 7C 00 1B 78 */ or r0, r0, r3
/* 80036824 00033784 90 61 00 E4 */ stw r3, 0xe4(r1)
/* 80036828 00033788 54 00 0F FE */ srwi r0, r0, 0x1f
/* 8003682C 0003378C 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l
/* 80036830 00033790 98 01 00 E0 */ stb r0, 0xe0(r1)
/* 80036834 00033794 38 60 01 14 */ li r3, 0x114
/* 80036838 00033798 38 84 00 07 */ addi r4, r4, 7
/* 8003683C 0003379C 38 A0 00 00 */ li r5, 0
/* 80036840 000337A0 48 2D F0 2D */ bl __nw__FUlPCcPCc
/* 80036844 000337A4 7C 64 1B 79 */ or. r4, r3, r3
/* 80036848 000337A8 41 82 00 10 */ beq lbl_80036858
/* 8003684C 000337AC 80 81 00 E4 */ lwz r4, 0xe4(r1)
/* 80036850 000337B0 48 03 91 2D */ bl __ct__19CTweakPlayerControlFR12CInputStream
/* 80036854 000337B4 7C 64 1B 78 */ mr r4, r3
lbl_80036858:
/* 80036858 000337B8 7C 04 00 D0 */ neg r0, r4
/* 8003685C 000337BC 3B BE 00 1C */ addi r29, r30, 0x1c
/* 80036860 000337C0 7C 03 23 78 */ or r3, r0, r4
/* 80036864 000337C4 38 01 00 28 */ addi r0, r1, 0x28
/* 80036868 000337C8 54 63 0F FE */ srwi r3, r3, 0x1f
/* 8003686C 000337CC 90 8D A1 28 */ stw r4, gpTweakPlayerControlCurrent@sda21(r13)
/* 80036870 000337D0 7C 00 E8 40 */ cmplw r0, r29
/* 80036874 000337D4 98 61 00 28 */ stb r3, 0x28(r1)
/* 80036878 000337D8 90 81 00 2C */ stw r4, 0x2c(r1)
/* 8003687C 000337DC 41 82 00 48 */ beq lbl_800368C4
/* 80036880 000337E0 88 1D 00 00 */ lbz r0, 0(r29)
/* 80036884 000337E4 28 00 00 00 */ cmplwi r0, 0
/* 80036888 000337E8 41 82 00 24 */ beq lbl_800368AC
/* 8003688C 000337EC 80 7D 00 04 */ lwz r3, 4(r29)
/* 80036890 000337F0 28 03 00 00 */ cmplwi r3, 0
/* 80036894 000337F4 41 82 00 18 */ beq lbl_800368AC
/* 80036898 000337F8 81 83 00 00 */ lwz r12, 0(r3)
/* 8003689C 000337FC 38 80 00 01 */ li r4, 1
/* 800368A0 00033800 81 8C 00 08 */ lwz r12, 8(r12)
/* 800368A4 00033804 7D 89 03 A6 */ mtctr r12
/* 800368A8 00033808 4E 80 04 21 */ bctrl
lbl_800368AC:
/* 800368AC 0003380C 88 61 00 28 */ lbz r3, 0x28(r1)
/* 800368B0 00033810 38 00 00 00 */ li r0, 0
/* 800368B4 00033814 98 7D 00 00 */ stb r3, 0(r29)
/* 800368B8 00033818 80 61 00 2C */ lwz r3, 0x2c(r1)
/* 800368BC 0003381C 90 7D 00 04 */ stw r3, 4(r29)
/* 800368C0 00033820 98 01 00 28 */ stb r0, 0x28(r1)
lbl_800368C4:
/* 800368C4 00033824 88 01 00 28 */ lbz r0, 0x28(r1)
/* 800368C8 00033828 28 00 00 00 */ cmplwi r0, 0
/* 800368CC 0003382C 41 82 00 24 */ beq lbl_800368F0
/* 800368D0 00033830 80 61 00 2C */ lwz r3, 0x2c(r1)
/* 800368D4 00033834 28 03 00 00 */ cmplwi r3, 0
/* 800368D8 00033838 41 82 00 18 */ beq lbl_800368F0
/* 800368DC 0003383C 81 83 00 00 */ lwz r12, 0(r3)
/* 800368E0 00033840 38 80 00 01 */ li r4, 1
/* 800368E4 00033844 81 8C 00 08 */ lwz r12, 8(r12)
/* 800368E8 00033848 7D 89 03 A6 */ mtctr r12
/* 800368EC 0003384C 4E 80 04 21 */ bctrl
lbl_800368F0:
/* 800368F0 00033850 88 01 00 E0 */ lbz r0, 0xe0(r1)
/* 800368F4 00033854 80 6D A1 28 */ lwz r3, gpTweakPlayerControlCurrent@sda21(r13)
/* 800368F8 00033858 28 00 00 00 */ cmplwi r0, 0
/* 800368FC 0003385C 90 6D A1 2C */ stw r3, gpTweakPlayerControl1@sda21(r13)
/* 80036900 00033860 41 82 00 24 */ beq lbl_80036924
/* 80036904 00033864 80 61 00 E4 */ lwz r3, 0xe4(r1)
/* 80036908 00033868 28 03 00 00 */ cmplwi r3, 0
/* 8003690C 0003386C 41 82 00 18 */ beq lbl_80036924
/* 80036910 00033870 81 83 00 00 */ lwz r12, 0(r3)
/* 80036914 00033874 38 80 00 01 */ li r4, 1
/* 80036918 00033878 81 8C 00 08 */ lwz r12, 8(r12)
/* 8003691C 0003387C 7D 89 03 A6 */ mtctr r12
/* 80036920 00033880 4E 80 04 21 */ bctrl
lbl_80036924:
/* 80036924 00033884 3C 80 80 3D */ lis r4, lbl_803CCD88@ha
/* 80036928 00033888 7F E3 FB 78 */ mr r3, r31
/* 8003692C 0003388C 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l
/* 80036930 00033890 38 84 00 78 */ addi r4, r4, 0x78
/* 80036934 00033894 48 00 04 25 */ bl IDFromFactory__FR11CResFactoryPCc
/* 80036938 00033898 3C 80 43 54 */ lis r4, 0x4354574B@ha
/* 8003693C 0003389C 90 61 00 24 */ stw r3, 0x24(r1)
/* 80036940 000338A0 38 04 57 4B */ addi r0, r4, 0x4354574B@l
/* 80036944 000338A4 38 7F 00 04 */ addi r3, r31, 4
/* 80036948 000338A8 90 01 00 20 */ stw r0, 0x20(r1)
/* 8003694C 000338AC 38 81 00 20 */ addi r4, r1, 0x20
/* 80036950 000338B0 38 A0 00 00 */ li r5, 0
/* 80036954 000338B4 48 30 50 15 */ bl LoadNewResourceSync__10CResLoaderFRC10SObjectTagPc
/* 80036958 000338B8 7C 03 00 D0 */ neg r0, r3
/* 8003695C 000338BC 3C 80 80 3D */ lis r4, lbl_803CCD88@ha
/* 80036960 000338C0 7C 00 1B 78 */ or r0, r0, r3
/* 80036964 000338C4 90 61 00 DC */ stw r3, 0xdc(r1)
/* 80036968 000338C8 54 00 0F FE */ srwi r0, r0, 0x1f
/* 8003696C 000338CC 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l
/* 80036970 000338D0 98 01 00 D8 */ stb r0, 0xd8(r1)
/* 80036974 000338D4 38 60 01 14 */ li r3, 0x114
/* 80036978 000338D8 38 84 00 07 */ addi r4, r4, 7
/* 8003697C 000338DC 38 A0 00 00 */ li r5, 0
/* 80036980 000338E0 48 2D EE ED */ bl __nw__FUlPCcPCc
/* 80036984 000338E4 7C 64 1B 79 */ or. r4, r3, r3
/* 80036988 000338E8 41 82 00 10 */ beq lbl_80036998
/* 8003698C 000338EC 80 81 00 DC */ lwz r4, 0xdc(r1)
/* 80036990 000338F0 48 03 8F ED */ bl __ct__19CTweakPlayerControlFR12CInputStream
/* 80036994 000338F4 7C 64 1B 78 */ mr r4, r3
lbl_80036998:
/* 80036998 000338F8 7C 04 00 D0 */ neg r0, r4
/* 8003699C 000338FC 3B BE 00 6C */ addi r29, r30, 0x6c
/* 800369A0 00033900 7C 03 23 78 */ or r3, r0, r4
/* 800369A4 00033904 38 01 00 18 */ addi r0, r1, 0x18
/* 800369A8 00033908 54 63 0F FE */ srwi r3, r3, 0x1f
/* 800369AC 0003390C 90 8D A1 30 */ stw r4, gpTweakPlayerControl2@sda21(r13)
/* 800369B0 00033910 7C 00 E8 40 */ cmplw r0, r29
/* 800369B4 00033914 98 61 00 18 */ stb r3, 0x18(r1)
/* 800369B8 00033918 90 81 00 1C */ stw r4, 0x1c(r1)
/* 800369BC 0003391C 41 82 00 48 */ beq lbl_80036A04
/* 800369C0 00033920 88 1D 00 00 */ lbz r0, 0(r29)
/* 800369C4 00033924 28 00 00 00 */ cmplwi r0, 0
/* 800369C8 00033928 41 82 00 24 */ beq lbl_800369EC
/* 800369CC 0003392C 80 7D 00 04 */ lwz r3, 4(r29)
/* 800369D0 00033930 28 03 00 00 */ cmplwi r3, 0
/* 800369D4 00033934 41 82 00 18 */ beq lbl_800369EC
/* 800369D8 00033938 81 83 00 00 */ lwz r12, 0(r3)
/* 800369DC 0003393C 38 80 00 01 */ li r4, 1
/* 800369E0 00033940 81 8C 00 08 */ lwz r12, 8(r12)
/* 800369E4 00033944 7D 89 03 A6 */ mtctr r12
/* 800369E8 00033948 4E 80 04 21 */ bctrl
lbl_800369EC:
/* 800369EC 0003394C 88 61 00 18 */ lbz r3, 0x18(r1)
/* 800369F0 00033950 38 00 00 00 */ li r0, 0
/* 800369F4 00033954 98 7D 00 00 */ stb r3, 0(r29)
/* 800369F8 00033958 80 61 00 1C */ lwz r3, 0x1c(r1)
/* 800369FC 0003395C 90 7D 00 04 */ stw r3, 4(r29)
/* 80036A00 00033960 98 01 00 18 */ stb r0, 0x18(r1)
lbl_80036A04:
/* 80036A04 00033964 88 01 00 18 */ lbz r0, 0x18(r1)
/* 80036A08 00033968 28 00 00 00 */ cmplwi r0, 0
/* 80036A0C 0003396C 41 82 00 24 */ beq lbl_80036A30
/* 80036A10 00033970 80 61 00 1C */ lwz r3, 0x1c(r1)
/* 80036A14 00033974 28 03 00 00 */ cmplwi r3, 0
/* 80036A18 00033978 41 82 00 18 */ beq lbl_80036A30
/* 80036A1C 0003397C 81 83 00 00 */ lwz r12, 0(r3)
/* 80036A20 00033980 38 80 00 01 */ li r4, 1
/* 80036A24 00033984 81 8C 00 08 */ lwz r12, 8(r12)
/* 80036A28 00033988 7D 89 03 A6 */ mtctr r12
/* 80036A2C 0003398C 4E 80 04 21 */ bctrl
lbl_80036A30:
/* 80036A30 00033990 88 01 00 D8 */ lbz r0, 0xd8(r1)
/* 80036A34 00033994 28 00 00 00 */ cmplwi r0, 0
/* 80036A38 00033998 41 82 00 24 */ beq lbl_80036A5C
/* 80036A3C 0003399C 80 61 00 DC */ lwz r3, 0xdc(r1)
/* 80036A40 000339A0 28 03 00 00 */ cmplwi r3, 0
/* 80036A44 000339A4 41 82 00 18 */ beq lbl_80036A5C
/* 80036A48 000339A8 81 83 00 00 */ lwz r12, 0(r3)
/* 80036A4C 000339AC 38 80 00 01 */ li r4, 1
/* 80036A50 000339B0 81 8C 00 08 */ lwz r12, 8(r12)
/* 80036A54 000339B4 7D 89 03 A6 */ mtctr r12
/* 80036A58 000339B8 4E 80 04 21 */ bctrl
lbl_80036A5C:
/* 80036A5C 000339BC 3C 80 80 3D */ lis r4, lbl_803CCD88@ha
/* 80036A60 000339C0 7F E3 FB 78 */ mr r3, r31
/* 80036A64 000339C4 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l
/* 80036A68 000339C8 38 84 00 88 */ addi r4, r4, 0x88
/* 80036A6C 000339CC 48 00 02 ED */ bl IDFromFactory__FR11CResFactoryPCc
/* 80036A70 000339D0 3C 80 43 54 */ lis r4, 0x4354574B@ha
/* 80036A74 000339D4 90 61 00 14 */ stw r3, 0x14(r1)
/* 80036A78 000339D8 38 04 57 4B */ addi r0, r4, 0x4354574B@l
/* 80036A7C 000339DC 38 7F 00 04 */ addi r3, r31, 4
/* 80036A80 000339E0 90 01 00 10 */ stw r0, 0x10(r1)
/* 80036A84 000339E4 38 81 00 10 */ addi r4, r1, 0x10
/* 80036A88 000339E8 38 A0 00 00 */ li r5, 0
/* 80036A8C 000339EC 48 30 4E DD */ bl LoadNewResourceSync__10CResLoaderFRC10SObjectTagPc
/* 80036A90 000339F0 7C 03 00 D0 */ neg r0, r3
/* 80036A94 000339F4 3C 80 80 3D */ lis r4, lbl_803CCD88@ha
/* 80036A98 000339F8 7C 00 1B 78 */ or r0, r0, r3
/* 80036A9C 000339FC 90 61 00 D4 */ stw r3, 0xd4(r1)
/* 80036AA0 00033A00 54 00 0F FE */ srwi r0, r0, 0x1f
/* 80036AA4 00033A04 38 84 CD 88 */ addi r4, r4, lbl_803CCD88@l
/* 80036AA8 00033A08 98 01 00 D0 */ stb r0, 0xd0(r1)
/* 80036AAC 00033A0C 38 60 00 5C */ li r3, 0x5c
/* 80036AB0 00033A10 38 84 00 07 */ addi r4, r4, 7
/* 80036AB4 00033A14 38 A0 00 00 */ li r5, 0
/* 80036AB8 00033A18 48 00 02 D1 */ bl "__nw__29TOneStatic<15CTweakSlideShow>FUlPCcPCc"
/* 80036ABC 00033A1C 7C 64 1B 79 */ or. r4, r3, r3
/* 80036AC0 00033A20 41 82 00 10 */ beq lbl_80036AD0
/* 80036AC4 00033A24 80 81 00 D4 */ lwz r4, 0xd4(r1)
/* 80036AC8 00033A28 48 26 5B 31 */ bl __ct__15CTweakSlideShowFR12CInputStream
/* 80036ACC 00033A2C 7C 64 1B 78 */ mr r4, r3
lbl_80036AD0:
/* 80036AD0 00033A30 7C 04 00 D0 */ neg r0, r4
/* 80036AD4 00033A34 3B BE 00 64 */ addi r29, r30, 0x64
/* 80036AD8 00033A38 7C 03 23 78 */ or r3, r0, r4
/* 80036ADC 00033A3C 38 01 00 08 */ addi r0, r1, 8
/* 80036AE0 00033A40 54 63 0F FE */ srwi r3, r3, 0x1f
/* 80036AE4 00033A44 90 8D A1 50 */ stw r4, gpTweakSlideShow@sda21(r13)
/* 80036AE8 00033A48 7C 00 E8 40 */ cmplw r0, r29
/* 80036AEC 00033A4C 98 61 00 08 */ stb r3, 8(r1)
/* 80036AF0 00033A50 90 81 00 0C */ stw r4, 0xc(r1)
/* 80036AF4 00033A54 41 82 00 48 */ beq lbl_80036B3C
/* 80036AF8 00033A58 88 1D 00 00 */ lbz r0, 0(r29)
/* 80036AFC 00033A5C 28 00 00 00 */ cmplwi r0, 0
/* 80036B00 00033A60 41 82 00 24 */ beq lbl_80036B24
/* 80036B04 00033A64 80 7D 00 04 */ lwz r3, 4(r29)
/* 80036B08 00033A68 28 03 00 00 */ cmplwi r3, 0
/* 80036B0C 00033A6C 41 82 00 18 */ beq lbl_80036B24
/* 80036B10 00033A70 81 83 00 00 */ lwz r12, 0(r3)
/* 80036B14 00033A74 38 80 00 01 */ li r4, 1
/* 80036B18 00033A78 81 8C 00 08 */ lwz r12, 8(r12)
/* 80036B1C 00033A7C 7D 89 03 A6 */ mtctr r12
/* 80036B20 00033A80 4E 80 04 21 */ bctrl
lbl_80036B24:
/* 80036B24 00033A84 88 61 00 08 */ lbz r3, 8(r1)
/* 80036B28 00033A88 38 00 00 00 */ li r0, 0
/* 80036B2C 00033A8C 98 7D 00 00 */ stb r3, 0(r29)
/* 80036B30 00033A90 80 61 00 0C */ lwz r3, 0xc(r1)
/* 80036B34 00033A94 90 7D 00 04 */ stw r3, 4(r29)
/* 80036B38 00033A98 98 01 00 08 */ stb r0, 8(r1)
lbl_80036B3C:
/* 80036B3C 00033A9C 88 01 00 08 */ lbz r0, 8(r1)
/* 80036B40 00033AA0 28 00 00 00 */ cmplwi r0, 0
/* 80036B44 00033AA4 41 82 00 24 */ beq lbl_80036B68
/* 80036B48 00033AA8 80 61 00 0C */ lwz r3, 0xc(r1)
/* 80036B4C 00033AAC 28 03 00 00 */ cmplwi r3, 0
/* 80036B50 00033AB0 41 82 00 18 */ beq lbl_80036B68
/* 80036B54 00033AB4 81 83 00 00 */ lwz r12, 0(r3)
/* 80036B58 00033AB8 38 80 00 01 */ li r4, 1
/* 80036B5C 00033ABC 81 8C 00 08 */ lwz r12, 8(r12)
/* 80036B60 00033AC0 7D 89 03 A6 */ mtctr r12
/* 80036B64 00033AC4 4E 80 04 21 */ bctrl
lbl_80036B68:
/* 80036B68 00033AC8 88 01 00 D0 */ lbz r0, 0xd0(r1)
/* 80036B6C 00033ACC 28 00 00 00 */ cmplwi r0, 0
/* 80036B70 00033AD0 41 82 00 24 */ beq lbl_80036B94
/* 80036B74 00033AD4 80 61 00 D4 */ lwz r3, 0xd4(r1)
/* 80036B78 00033AD8 28 03 00 00 */ cmplwi r3, 0
/* 80036B7C 00033ADC 41 82 00 18 */ beq lbl_80036B94
/* 80036B80 00033AE0 81 83 00 00 */ lwz r12, 0(r3)
/* 80036B84 00033AE4 38 80 00 01 */ li r4, 1
/* 80036B88 00033AE8 81 8C 00 08 */ lwz r12, 8(r12)
/* 80036B8C 00033AEC 7D 89 03 A6 */ mtctr r12
/* 80036B90 00033AF0 4E 80 04 21 */ bctrl
lbl_80036B94:
/* 80036B94 00033AF4 80 01 01 54 */ lwz r0, 0x154(r1)
/* 80036B98 00033AF8 83 E1 01 4C */ lwz r31, 0x14c(r1)
/* 80036B9C 00033AFC 83 C1 01 48 */ lwz r30, 0x148(r1)
/* 80036BA0 00033B00 83 A1 01 44 */ lwz r29, 0x144(r1)
/* 80036BA4 00033B04 7C 08 03 A6 */ mtlr r0
/* 80036BA8 00033B08 38 21 01 50 */ addi r1, r1, 0x150
/* 80036BAC 00033B0C 4E 80 00 20 */ blr
.global __dt__7CTweaksFv
__dt__7CTweaksFv:
/* 80036BB0 00033B10 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80036BB4 00033B14 7C 08 02 A6 */ mflr r0
/* 80036BB8 00033B18 90 01 00 24 */ stw r0, 0x24(r1)
/* 80036BBC 00033B1C 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80036BC0 00033B20 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80036BC4 00033B24 93 A1 00 14 */ stw r29, 0x14(r1)
/* 80036BC8 00033B28 7C 9D 23 78 */ mr r29, r4
/* 80036BCC 00033B2C 93 81 00 10 */ stw r28, 0x10(r1)
/* 80036BD0 00033B30 7C 7C 1B 79 */ or. r28, r3, r3
/* 80036BD4 00033B34 41 82 00 A8 */ beq lbl_80036C7C
/* 80036BD8 00033B38 3B E0 00 00 */ li r31, 0
/* 80036BDC 00033B3C 93 ED A1 18 */ stw r31, gpTweakPlayer@sda21(r13)
/* 80036BE0 00033B40 93 ED A1 1C */ stw r31, gpTweakBall@sda21(r13)
/* 80036BE4 00033B44 93 ED A1 20 */ stw r31, gpTweakGame@sda21(r13)
/* 80036BE8 00033B48 93 ED A1 24 */ stw r31, gpTweakParticle@sda21(r13)
/* 80036BEC 00033B4C 93 ED A1 28 */ stw r31, gpTweakPlayerControlCurrent@sda21(r13)
/* 80036BF0 00033B50 93 ED A1 34 */ stw r31, gpTweakPlayerGun@sda21(r13)
/* 80036BF4 00033B54 93 ED A1 38 */ stw r31, gpTweakGui@sda21(r13)
/* 80036BF8 00033B58 93 ED A1 3C */ stw r31, gpTweakGuiColors@sda21(r13)
/* 80036BFC 00033B5C 93 ED A1 40 */ stw r31, gpTweakTargeting@sda21(r13)
/* 80036C00 00033B60 93 ED A1 44 */ stw r31, gpTweakAutoMapper@sda21(r13)
/* 80036C04 00033B64 93 ED A1 48 */ stw r31, gpTweakGunRes@sda21(r13)
/* 80036C08 00033B68 93 ED A1 4C */ stw r31, gpTweakPlayerRes@sda21(r13)
/* 80036C0C 00033B6C 93 ED A1 50 */ stw r31, gpTweakSlideShow@sda21(r13)
/* 80036C10 00033B70 41 82 00 5C */ beq lbl_80036C6C
/* 80036C14 00033B74 3B DC 00 04 */ addi r30, r28, 4
/* 80036C18 00033B78 48 00 00 40 */ b lbl_80036C58
lbl_80036C1C:
/* 80036C1C 00033B7C 28 1E 00 00 */ cmplwi r30, 0
/* 80036C20 00033B80 41 82 00 30 */ beq lbl_80036C50
/* 80036C24 00033B84 88 1E 00 00 */ lbz r0, 0(r30)
/* 80036C28 00033B88 28 00 00 00 */ cmplwi r0, 0
/* 80036C2C 00033B8C 41 82 00 24 */ beq lbl_80036C50
/* 80036C30 00033B90 80 7E 00 04 */ lwz r3, 4(r30)
/* 80036C34 00033B94 28 03 00 00 */ cmplwi r3, 0
/* 80036C38 00033B98 41 82 00 18 */ beq lbl_80036C50
/* 80036C3C 00033B9C 81 83 00 00 */ lwz r12, 0(r3)
/* 80036C40 00033BA0 38 80 00 01 */ li r4, 1
/* 80036C44 00033BA4 81 8C 00 08 */ lwz r12, 8(r12)
/* 80036C48 00033BA8 7D 89 03 A6 */ mtctr r12
/* 80036C4C 00033BAC 4E 80 04 21 */ bctrl
lbl_80036C50:
/* 80036C50 00033BB0 3B DE 00 08 */ addi r30, r30, 8
/* 80036C54 00033BB4 3B FF 00 01 */ addi r31, r31, 1
lbl_80036C58:
/* 80036C58 00033BB8 80 1C 00 00 */ lwz r0, 0(r28)
/* 80036C5C 00033BBC 7C 1F 00 00 */ cmpw r31, r0
/* 80036C60 00033BC0 41 80 FF BC */ blt lbl_80036C1C
/* 80036C64 00033BC4 38 00 00 00 */ li r0, 0
/* 80036C68 00033BC8 90 1C 00 00 */ stw r0, 0(r28)
lbl_80036C6C:
/* 80036C6C 00033BCC 7F A0 07 35 */ extsh. r0, r29
/* 80036C70 00033BD0 40 81 00 0C */ ble lbl_80036C7C
/* 80036C74 00033BD4 7F 83 E3 78 */ mr r3, r28
/* 80036C78 00033BD8 48 2D EC B9 */ bl Free__7CMemoryFPCv
lbl_80036C7C:
/* 80036C7C 00033BDC 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80036C80 00033BE0 7F 83 E3 78 */ mr r3, r28
/* 80036C84 00033BE4 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80036C88 00033BE8 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80036C8C 00033BEC 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80036C90 00033BF0 83 81 00 10 */ lwz r28, 0x10(r1)
/* 80036C94 00033BF4 7C 08 03 A6 */ mtlr r0
/* 80036C98 00033BF8 38 21 00 20 */ addi r1, r1, 0x20
/* 80036C9C 00033BFC 4E 80 00 20 */ blr
.global __ct__7CTweaksFv
__ct__7CTweaksFv:
/* 80036CA0 00033C00 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80036CA4 00033C04 7C 08 02 A6 */ mflr r0
/* 80036CA8 00033C08 38 80 00 00 */ li r4, 0
/* 80036CAC 00033C0C 90 01 00 24 */ stw r0, 0x24(r1)
/* 80036CB0 00033C10 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80036CB4 00033C14 7C 7F 1B 78 */ mr r31, r3
/* 80036CB8 00033C18 90 83 00 00 */ stw r4, 0(r3)
/* 80036CBC 00033C1C 80 63 00 00 */ lwz r3, 0(r3)
/* 80036CC0 00033C20 98 81 00 08 */ stb r4, 8(r1)
/* 80036CC4 00033C24 2C 03 00 0E */ cmpwi r3, 0xe
/* 80036CC8 00033C28 90 81 00 0C */ stw r4, 0xc(r1)
/* 80036CCC 00033C2C 40 80 00 48 */ bge lbl_80036D14
/* 80036CD0 00033C30 54 60 18 38 */ slwi r0, r3, 3
/* 80036CD4 00033C34 20 A3 00 0E */ subfic r5, r3, 0xe
/* 80036CD8 00033C38 7C 7F 02 14 */ add r3, r31, r0
/* 80036CDC 00033C3C 7C A9 03 A6 */ mtctr r5
/* 80036CE0 00033C40 2C 05 00 00 */ cmpwi r5, 0
/* 80036CE4 00033C44 38 63 00 04 */ addi r3, r3, 4
/* 80036CE8 00033C48 40 81 00 24 */ ble lbl_80036D0C
lbl_80036CEC:
/* 80036CEC 00033C4C 28 03 00 00 */ cmplwi r3, 0
/* 80036CF0 00033C50 41 82 00 14 */ beq lbl_80036D04
/* 80036CF4 00033C54 88 01 00 08 */ lbz r0, 8(r1)
/* 80036CF8 00033C58 98 03 00 00 */ stb r0, 0(r3)
/* 80036CFC 00033C5C 90 83 00 04 */ stw r4, 4(r3)
/* 80036D00 00033C60 98 81 00 08 */ stb r4, 8(r1)
lbl_80036D04:
/* 80036D04 00033C64 38 63 00 08 */ addi r3, r3, 8
/* 80036D08 00033C68 42 00 FF E4 */ bdnz lbl_80036CEC
lbl_80036D0C:
/* 80036D0C 00033C6C 38 00 00 0E */ li r0, 0xe
/* 80036D10 00033C70 90 1F 00 00 */ stw r0, 0(r31)
lbl_80036D14:
/* 80036D14 00033C74 88 01 00 08 */ lbz r0, 8(r1)
/* 80036D18 00033C78 28 00 00 00 */ cmplwi r0, 0
/* 80036D1C 00033C7C 41 82 00 24 */ beq lbl_80036D40
/* 80036D20 00033C80 80 61 00 0C */ lwz r3, 0xc(r1)
/* 80036D24 00033C84 28 03 00 00 */ cmplwi r3, 0
/* 80036D28 00033C88 41 82 00 18 */ beq lbl_80036D40
/* 80036D2C 00033C8C 81 83 00 00 */ lwz r12, 0(r3)
/* 80036D30 00033C90 38 80 00 01 */ li r4, 1
/* 80036D34 00033C94 81 8C 00 08 */ lwz r12, 8(r12)
/* 80036D38 00033C98 7D 89 03 A6 */ mtctr r12
/* 80036D3C 00033C9C 4E 80 04 21 */ bctrl
lbl_80036D40:
/* 80036D40 00033CA0 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80036D44 00033CA4 7F E3 FB 78 */ mr r3, r31
/* 80036D48 00033CA8 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80036D4C 00033CAC 7C 08 03 A6 */ mtlr r0
/* 80036D50 00033CB0 38 21 00 20 */ addi r1, r1, 0x20
/* 80036D54 00033CB4 4E 80 00 20 */ blr
.global IDFromFactory__FR11CResFactoryPCc
IDFromFactory__FR11CResFactoryPCc:
/* 80036D58 00033CB8 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80036D5C 00033CBC 7C 08 02 A6 */ mflr r0
/* 80036D60 00033CC0 90 01 00 14 */ stw r0, 0x14(r1)
/* 80036D64 00033CC4 81 83 00 00 */ lwz r12, 0(r3)
/* 80036D68 00033CC8 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 80036D6C 00033CCC 7D 89 03 A6 */ mtctr r12
/* 80036D70 00033CD0 4E 80 04 21 */ bctrl
/* 80036D74 00033CD4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80036D78 00033CD8 80 63 00 04 */ lwz r3, 4(r3)
/* 80036D7C 00033CDC 7C 08 03 A6 */ mtlr r0
/* 80036D80 00033CE0 38 21 00 10 */ addi r1, r1, 0x10
/* 80036D84 00033CE4 4E 80 00 20 */ blr
.global "__nw__29TOneStatic<15CTweakSlideShow>FUlPCcPCc"
"__nw__29TOneStatic<15CTweakSlideShow>FUlPCcPCc":
/* 80036D88 00033CE8 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80036D8C 00033CEC 7C 08 02 A6 */ mflr r0
/* 80036D90 00033CF0 90 01 00 14 */ stw r0, 0x14(r1)
/* 80036D94 00033CF4 48 00 00 31 */ bl "ReferenceCount__29TOneStatic<15CTweakSlideShow>Fv"
/* 80036D98 00033CF8 80 83 00 00 */ lwz r4, 0(r3)
/* 80036D9C 00033CFC 38 04 00 01 */ addi r0, r4, 1
/* 80036DA0 00033D00 90 03 00 00 */ stw r0, 0(r3)
/* 80036DA4 00033D04 48 00 00 15 */ bl "GetAllocSpace__29TOneStatic<15CTweakSlideShow>FUlPCcPCc"
/* 80036DA8 00033D08 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80036DAC 00033D0C 7C 08 03 A6 */ mtlr r0
/* 80036DB0 00033D10 38 21 00 10 */ addi r1, r1, 0x10
/* 80036DB4 00033D14 4E 80 00 20 */ blr
.global "GetAllocSpace__29TOneStatic<15CTweakSlideShow>FUlPCcPCc"
"GetAllocSpace__29TOneStatic<15CTweakSlideShow>FUlPCcPCc":
/* 80036DB8 00033D18 3C 60 80 46 */ lis r3, lbl_8045B180@ha
/* 80036DBC 00033D1C 38 63 B1 80 */ addi r3, r3, lbl_8045B180@l
/* 80036DC0 00033D20 4E 80 00 20 */ blr
.global "ReferenceCount__29TOneStatic<15CTweakSlideShow>Fv"
"ReferenceCount__29TOneStatic<15CTweakSlideShow>Fv":
/* 80036DC4 00033D24 88 0D A1 58 */ lbz r0, lbl_805A8D18@sda21(r13)
/* 80036DC8 00033D28 7C 00 07 75 */ extsb. r0, r0
/* 80036DCC 00033D2C 40 82 00 14 */ bne lbl_80036DE0
/* 80036DD0 00033D30 38 60 00 00 */ li r3, 0
/* 80036DD4 00033D34 38 00 00 01 */ li r0, 1
/* 80036DD8 00033D38 90 6D A1 54 */ stw r3, lbl_805A8D14@sda21(r13)
/* 80036DDC 00033D3C 98 0D A1 58 */ stb r0, lbl_805A8D18@sda21(r13)
lbl_80036DE0:
/* 80036DE0 00033D40 38 6D A1 54 */ addi r3, r13, lbl_805A8D14@sda21
/* 80036DE4 00033D44 4E 80 00 20 */ blr
.global sub_80036de8
sub_80036de8:
/* 80036DE8 00033D48 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80036DEC 00033D4C 7C 08 02 A6 */ mflr r0
/* 80036DF0 00033D50 90 01 00 14 */ stw r0, 0x14(r1)
/* 80036DF4 00033D54 48 00 00 31 */ bl "ReferenceCount__29TOneStatic<15CTweakPlayerRes>Fv"
/* 80036DF8 00033D58 80 83 00 00 */ lwz r4, 0(r3)
/* 80036DFC 00033D5C 38 04 00 01 */ addi r0, r4, 1
/* 80036E00 00033D60 90 03 00 00 */ stw r0, 0(r3)
/* 80036E04 00033D64 48 00 00 15 */ bl sub_80036e18
/* 80036E08 00033D68 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80036E0C 00033D6C 7C 08 03 A6 */ mtlr r0
/* 80036E10 00033D70 38 21 00 10 */ addi r1, r1, 0x10
/* 80036E14 00033D74 4E 80 00 20 */ blr
.global sub_80036e18
sub_80036e18:
/* 80036E18 00033D78 3C 60 80 46 */ lis r3, lbl_8045B1DC@ha
/* 80036E1C 00033D7C 38 63 B1 DC */ addi r3, r3, lbl_8045B1DC@l
/* 80036E20 00033D80 4E 80 00 20 */ blr
.global "ReferenceCount__29TOneStatic<15CTweakPlayerRes>Fv"
"ReferenceCount__29TOneStatic<15CTweakPlayerRes>Fv":
/* 80036E24 00033D84 88 0D A1 60 */ lbz r0, lbl_805A8D20@sda21(r13)
/* 80036E28 00033D88 7C 00 07 75 */ extsb. r0, r0
/* 80036E2C 00033D8C 40 82 00 14 */ bne lbl_80036E40
/* 80036E30 00033D90 38 60 00 00 */ li r3, 0
/* 80036E34 00033D94 38 00 00 01 */ li r0, 1
/* 80036E38 00033D98 90 6D A1 5C */ stw r3, lbl_805A8D1C@sda21(r13)
/* 80036E3C 00033D9C 98 0D A1 60 */ stb r0, lbl_805A8D20@sda21(r13)
lbl_80036E40:
/* 80036E40 00033DA0 38 6D A1 5C */ addi r3, r13, lbl_805A8D1C@sda21
/* 80036E44 00033DA4 4E 80 00 20 */ blr
.global sub_80036e48
sub_80036e48:
/* 80036E48 00033DA8 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80036E4C 00033DAC 7C 08 02 A6 */ mflr r0
/* 80036E50 00033DB0 90 01 00 14 */ stw r0, 0x14(r1)
/* 80036E54 00033DB4 48 00 00 31 */ bl "ReferenceCount__26TOneStatic<12CTweakGunRes>Fv"
/* 80036E58 00033DB8 80 83 00 00 */ lwz r4, 0(r3)
/* 80036E5C 00033DBC 38 04 00 01 */ addi r0, r4, 1
/* 80036E60 00033DC0 90 03 00 00 */ stw r0, 0(r3)
/* 80036E64 00033DC4 48 00 00 15 */ bl sub_80036e78
/* 80036E68 00033DC8 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80036E6C 00033DCC 7C 08 03 A6 */ mtlr r0
/* 80036E70 00033DD0 38 21 00 10 */ addi r1, r1, 0x10
/* 80036E74 00033DD4 4E 80 00 20 */ blr
.global sub_80036e78
sub_80036e78:
/* 80036E78 00033DD8 3C 60 80 46 */ lis r3, lbl_8045B2D0@ha
/* 80036E7C 00033DDC 38 63 B2 D0 */ addi r3, r3, lbl_8045B2D0@l
/* 80036E80 00033DE0 4E 80 00 20 */ blr
.global "ReferenceCount__26TOneStatic<12CTweakGunRes>Fv"
"ReferenceCount__26TOneStatic<12CTweakGunRes>Fv":
/* 80036E84 00033DE4 88 0D A1 68 */ lbz r0, lbl_805A8D28@sda21(r13)
/* 80036E88 00033DE8 7C 00 07 75 */ extsb. r0, r0
/* 80036E8C 00033DEC 40 82 00 14 */ bne lbl_80036EA0
/* 80036E90 00033DF0 38 60 00 00 */ li r3, 0
/* 80036E94 00033DF4 38 00 00 01 */ li r0, 1
/* 80036E98 00033DF8 90 6D A1 64 */ stw r3, lbl_805A8D24@sda21(r13)
/* 80036E9C 00033DFC 98 0D A1 68 */ stb r0, lbl_805A8D28@sda21(r13)
lbl_80036EA0:
/* 80036EA0 00033E00 38 6D A1 64 */ addi r3, r13, lbl_805A8D24@sda21
/* 80036EA4 00033E04 4E 80 00 20 */ blr
.global "__nw__30TOneStatic<16CTweakAutoMapper>FUlPCcPCc"
"__nw__30TOneStatic<16CTweakAutoMapper>FUlPCcPCc":
/* 80036EA8 00033E08 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80036EAC 00033E0C 7C 08 02 A6 */ mflr r0
/* 80036EB0 00033E10 90 01 00 14 */ stw r0, 0x14(r1)
/* 80036EB4 00033E14 48 00 00 31 */ bl "ReferenceCount__30TOneStatic<16CTweakAutoMapper>Fv"
/* 80036EB8 00033E18 80 83 00 00 */ lwz r4, 0(r3)
/* 80036EBC 00033E1C 38 04 00 01 */ addi r0, r4, 1
/* 80036EC0 00033E20 90 03 00 00 */ stw r0, 0(r3)
/* 80036EC4 00033E24 48 00 00 15 */ bl "GetAllocSpace__30TOneStatic<16CTweakAutoMapper>Fv"
/* 80036EC8 00033E28 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80036ECC 00033E2C 7C 08 03 A6 */ mtlr r0
/* 80036ED0 00033E30 38 21 00 10 */ addi r1, r1, 0x10
/* 80036ED4 00033E34 4E 80 00 20 */ blr
.global "GetAllocSpace__30TOneStatic<16CTweakAutoMapper>Fv"
"GetAllocSpace__30TOneStatic<16CTweakAutoMapper>Fv":
/* 80036ED8 00033E38 3C 60 80 46 */ lis r3, lbl_8045B398@ha
/* 80036EDC 00033E3C 38 63 B3 98 */ addi r3, r3, lbl_8045B398@l
/* 80036EE0 00033E40 4E 80 00 20 */ blr
.global "ReferenceCount__30TOneStatic<16CTweakAutoMapper>Fv"
"ReferenceCount__30TOneStatic<16CTweakAutoMapper>Fv":
/* 80036EE4 00033E44 88 0D A1 70 */ lbz r0, lbl_805A8D30@sda21(r13)
/* 80036EE8 00033E48 7C 00 07 75 */ extsb. r0, r0
/* 80036EEC 00033E4C 40 82 00 14 */ bne lbl_80036F00
/* 80036EF0 00033E50 38 60 00 00 */ li r3, 0
/* 80036EF4 00033E54 38 00 00 01 */ li r0, 1
/* 80036EF8 00033E58 90 6D A1 6C */ stw r3, lbl_805A8D2C@sda21(r13)
/* 80036EFC 00033E5C 98 0D A1 70 */ stb r0, lbl_805A8D30@sda21(r13)
lbl_80036F00:
/* 80036F00 00033E60 38 6D A1 6C */ addi r3, r13, lbl_805A8D2C@sda21
/* 80036F04 00033E64 4E 80 00 20 */ blr
.global "__nw__29TOneStatic<15CTweakTargeting>FUlPCcPCc"
"__nw__29TOneStatic<15CTweakTargeting>FUlPCcPCc":
/* 80036F08 00033E68 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80036F0C 00033E6C 7C 08 02 A6 */ mflr r0
/* 80036F10 00033E70 90 01 00 14 */ stw r0, 0x14(r1)
/* 80036F14 00033E74 48 00 00 31 */ bl "ReferenceCount__29TOneStatic<15CTweakTargeting>Fv"
/* 80036F18 00033E78 80 83 00 00 */ lwz r4, 0(r3)
/* 80036F1C 00033E7C 38 04 00 01 */ addi r0, r4, 1
/* 80036F20 00033E80 90 03 00 00 */ stw r0, 0(r3)
/* 80036F24 00033E84 48 00 00 15 */ bl "GetAllocSpace__29TOneStatic<15CTweakTargeting>Fv"
/* 80036F28 00033E88 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80036F2C 00033E8C 7C 08 03 A6 */ mtlr r0
/* 80036F30 00033E90 38 21 00 10 */ addi r1, r1, 0x10
/* 80036F34 00033E94 4E 80 00 20 */ blr
.global "GetAllocSpace__29TOneStatic<15CTweakTargeting>Fv"
"GetAllocSpace__29TOneStatic<15CTweakTargeting>Fv":
/* 80036F38 00033E98 3C 60 80 46 */ lis r3, lbl_8045B4B8@ha
/* 80036F3C 00033E9C 38 63 B4 B8 */ addi r3, r3, lbl_8045B4B8@l
/* 80036F40 00033EA0 4E 80 00 20 */ blr
.global "ReferenceCount__29TOneStatic<15CTweakTargeting>Fv"
"ReferenceCount__29TOneStatic<15CTweakTargeting>Fv":
/* 80036F44 00033EA4 88 0D A1 78 */ lbz r0, lbl_805A8D38@sda21(r13)
/* 80036F48 00033EA8 7C 00 07 75 */ extsb. r0, r0
/* 80036F4C 00033EAC 40 82 00 14 */ bne lbl_80036F60
/* 80036F50 00033EB0 38 60 00 00 */ li r3, 0
/* 80036F54 00033EB4 38 00 00 01 */ li r0, 1
/* 80036F58 00033EB8 90 6D A1 74 */ stw r3, lbl_805A8D34@sda21(r13)
/* 80036F5C 00033EBC 98 0D A1 78 */ stb r0, lbl_805A8D38@sda21(r13)
lbl_80036F60:
/* 80036F60 00033EC0 38 6D A1 74 */ addi r3, r13, lbl_805A8D34@sda21
/* 80036F64 00033EC4 4E 80 00 20 */ blr
.global "__nw__29TOneStatic<15CTweakGuiColors>FUlPCcPCc"
"__nw__29TOneStatic<15CTweakGuiColors>FUlPCcPCc":
/* 80036F68 00033EC8 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80036F6C 00033ECC 7C 08 02 A6 */ mflr r0
/* 80036F70 00033ED0 90 01 00 14 */ stw r0, 0x14(r1)
/* 80036F74 00033ED4 48 00 00 31 */ bl "ReferenceCount__29TOneStatic<15CTweakGuiColors>Fv"
/* 80036F78 00033ED8 80 83 00 00 */ lwz r4, 0(r3)
/* 80036F7C 00033EDC 38 04 00 01 */ addi r0, r4, 1
/* 80036F80 00033EE0 90 03 00 00 */ stw r0, 0(r3)
/* 80036F84 00033EE4 48 00 00 15 */ bl "GetAllocSpace__29TOneStatic<15CTweakGuiColors>Fv"
/* 80036F88 00033EE8 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80036F8C 00033EEC 7C 08 03 A6 */ mtlr r0
/* 80036F90 00033EF0 38 21 00 10 */ addi r1, r1, 0x10
/* 80036F94 00033EF4 4E 80 00 20 */ blr
.global "GetAllocSpace__29TOneStatic<15CTweakGuiColors>Fv"
"GetAllocSpace__29TOneStatic<15CTweakGuiColors>Fv":
/* 80036F98 00033EF8 3C 60 80 46 */ lis r3, lbl_8045B6E0@ha
/* 80036F9C 00033EFC 38 63 B6 E0 */ addi r3, r3, lbl_8045B6E0@l
/* 80036FA0 00033F00 4E 80 00 20 */ blr
.global "ReferenceCount__29TOneStatic<15CTweakGuiColors>Fv"
"ReferenceCount__29TOneStatic<15CTweakGuiColors>Fv":
/* 80036FA4 00033F04 88 0D A1 80 */ lbz r0, lbl_805A8D40@sda21(r13)
/* 80036FA8 00033F08 7C 00 07 75 */ extsb. r0, r0
/* 80036FAC 00033F0C 40 82 00 14 */ bne lbl_80036FC0
/* 80036FB0 00033F10 38 60 00 00 */ li r3, 0
/* 80036FB4 00033F14 38 00 00 01 */ li r0, 1
/* 80036FB8 00033F18 90 6D A1 7C */ stw r3, lbl_805A8D3C@sda21(r13)
/* 80036FBC 00033F1C 98 0D A1 80 */ stb r0, lbl_805A8D40@sda21(r13)
lbl_80036FC0:
/* 80036FC0 00033F20 38 6D A1 7C */ addi r3, r13, lbl_805A8D3C@sda21
/* 80036FC4 00033F24 4E 80 00 20 */ blr
.global "__nw__22TOneStatic<9CTweakGui>FUlPCcPCc"
"__nw__22TOneStatic<9CTweakGui>FUlPCcPCc":
/* 80036FC8 00033F28 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80036FCC 00033F2C 7C 08 02 A6 */ mflr r0
/* 80036FD0 00033F30 90 01 00 14 */ stw r0, 0x14(r1)
/* 80036FD4 00033F34 48 00 00 31 */ bl "ReferenceCount__22TOneStatic<9CTweakGui>Fv"
/* 80036FD8 00033F38 80 83 00 00 */ lwz r4, 0(r3)
/* 80036FDC 00033F3C 38 04 00 01 */ addi r0, r4, 1
/* 80036FE0 00033F40 90 03 00 00 */ stw r0, 0(r3)
/* 80036FE4 00033F44 48 00 00 15 */ bl "GetAllocSpace__22TOneStatic<9CTweakGui>Fv"
/* 80036FE8 00033F48 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80036FEC 00033F4C 7C 08 03 A6 */ mtlr r0
/* 80036FF0 00033F50 38 21 00 10 */ addi r1, r1, 0x10
/* 80036FF4 00033F54 4E 80 00 20 */ blr
.global "GetAllocSpace__22TOneStatic<9CTweakGui>Fv"
"GetAllocSpace__22TOneStatic<9CTweakGui>Fv":
/* 80036FF8 00033F58 3C 60 80 46 */ lis r3, lbl_8045B934@ha
/* 80036FFC 00033F5C 38 63 B9 34 */ addi r3, r3, lbl_8045B934@l
/* 80037000 00033F60 4E 80 00 20 */ blr
.global "ReferenceCount__22TOneStatic<9CTweakGui>Fv"
"ReferenceCount__22TOneStatic<9CTweakGui>Fv":
/* 80037004 00033F64 88 0D A1 88 */ lbz r0, lbl_805A8D48@sda21(r13)
/* 80037008 00033F68 7C 00 07 75 */ extsb. r0, r0
/* 8003700C 00033F6C 40 82 00 14 */ bne lbl_80037020
/* 80037010 00033F70 38 60 00 00 */ li r3, 0
/* 80037014 00033F74 38 00 00 01 */ li r0, 1
/* 80037018 00033F78 90 6D A1 84 */ stw r3, lbl_805A8D44@sda21(r13)
/* 8003701C 00033F7C 98 0D A1 88 */ stb r0, lbl_805A8D48@sda21(r13)
lbl_80037020:
/* 80037020 00033F80 38 6D A1 84 */ addi r3, r13, lbl_805A8D44@sda21
/* 80037024 00033F84 4E 80 00 20 */ blr
.global "__nw__29TOneStatic<15CTweakPlayerGun>FUlPCcPCc"
"__nw__29TOneStatic<15CTweakPlayerGun>FUlPCcPCc":
/* 80037028 00033F88 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8003702C 00033F8C 7C 08 02 A6 */ mflr r0
/* 80037030 00033F90 90 01 00 14 */ stw r0, 0x14(r1)
/* 80037034 00033F94 48 00 00 31 */ bl "ReferenceCount__29TOneStatic<15CTweakPlayerGun>Fv"
/* 80037038 00033F98 80 83 00 00 */ lwz r4, 0(r3)
/* 8003703C 00033F9C 38 04 00 01 */ addi r0, r4, 1
/* 80037040 00033FA0 90 03 00 00 */ stw r0, 0(r3)
/* 80037044 00033FA4 48 00 00 15 */ bl "GetAllocSpace__29TOneStatic<15CTweakPlayerGun>Fv"
/* 80037048 00033FA8 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8003704C 00033FAC 7C 08 03 A6 */ mtlr r0
/* 80037050 00033FB0 38 21 00 10 */ addi r1, r1, 0x10
/* 80037054 00033FB4 4E 80 00 20 */ blr
.global "GetAllocSpace__29TOneStatic<15CTweakPlayerGun>Fv"
"GetAllocSpace__29TOneStatic<15CTweakPlayerGun>Fv":
/* 80037058 00033FB8 3C 60 80 46 */ lis r3, lbl_8045BC9C@ha
/* 8003705C 00033FBC 38 63 BC 9C */ addi r3, r3, lbl_8045BC9C@l
/* 80037060 00033FC0 4E 80 00 20 */ blr
.global "ReferenceCount__29TOneStatic<15CTweakPlayerGun>Fv"
"ReferenceCount__29TOneStatic<15CTweakPlayerGun>Fv":
/* 80037064 00033FC4 88 0D A1 90 */ lbz r0, lbl_805A8D50@sda21(r13)
/* 80037068 00033FC8 7C 00 07 75 */ extsb. r0, r0
/* 8003706C 00033FCC 40 82 00 14 */ bne lbl_80037080
/* 80037070 00033FD0 38 60 00 00 */ li r3, 0
/* 80037074 00033FD4 38 00 00 01 */ li r0, 1
/* 80037078 00033FD8 90 6D A1 8C */ stw r3, lbl_805A8D4C@sda21(r13)
/* 8003707C 00033FDC 98 0D A1 90 */ stb r0, lbl_805A8D50@sda21(r13)
lbl_80037080:
/* 80037080 00033FE0 38 6D A1 8C */ addi r3, r13, lbl_805A8D4C@sda21
/* 80037084 00033FE4 4E 80 00 20 */ blr
.global "__nw__28TOneStatic<14CTweakParticle>FUlPCcPCc"
"__nw__28TOneStatic<14CTweakParticle>FUlPCcPCc":
/* 80037088 00033FE8 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8003708C 00033FEC 7C 08 02 A6 */ mflr r0
/* 80037090 00033FF0 90 01 00 14 */ stw r0, 0x14(r1)
/* 80037094 00033FF4 48 00 00 31 */ bl "ReferenceCount__28TOneStatic<14CTweakParticle>Fv"
/* 80037098 00033FF8 80 83 00 00 */ lwz r4, 0(r3)
/* 8003709C 00033FFC 38 04 00 01 */ addi r0, r4, 1
/* 800370A0 00034000 90 03 00 00 */ stw r0, 0(r3)
/* 800370A4 00034004 48 00 00 15 */ bl "GetAllocSpace__28TOneStatic<14CTweakParticle>Fv"
/* 800370A8 00034008 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800370AC 0003400C 7C 08 03 A6 */ mtlr r0
/* 800370B0 00034010 38 21 00 10 */ addi r1, r1, 0x10
/* 800370B4 00034014 4E 80 00 20 */ blr
.global "GetAllocSpace__28TOneStatic<14CTweakParticle>Fv"
"GetAllocSpace__28TOneStatic<14CTweakParticle>Fv":
/* 800370B8 00034018 3C 60 80 46 */ lis r3, lbl_8045BF34@ha
/* 800370BC 0003401C 38 63 BF 34 */ addi r3, r3, lbl_8045BF34@l
/* 800370C0 00034020 4E 80 00 20 */ blr
.global "ReferenceCount__28TOneStatic<14CTweakParticle>Fv"
"ReferenceCount__28TOneStatic<14CTweakParticle>Fv":
/* 800370C4 00034024 88 0D A1 98 */ lbz r0, lbl_805A8D58@sda21(r13)
/* 800370C8 00034028 7C 00 07 75 */ extsb. r0, r0
/* 800370CC 0003402C 40 82 00 14 */ bne lbl_800370E0
/* 800370D0 00034030 38 60 00 00 */ li r3, 0
/* 800370D4 00034034 38 00 00 01 */ li r0, 1
/* 800370D8 00034038 90 6D A1 94 */ stw r3, lbl_805A8D54@sda21(r13)
/* 800370DC 0003403C 98 0D A1 98 */ stb r0, lbl_805A8D58@sda21(r13)
lbl_800370E0:
/* 800370E0 00034040 38 6D A1 94 */ addi r3, r13, lbl_805A8D54@sda21
/* 800370E4 00034044 4E 80 00 20 */ blr
.global "__nw__24TOneStatic<10CTweakGame>FUlPCcPCc"
"__nw__24TOneStatic<10CTweakGame>FUlPCcPCc":
/* 800370E8 00034048 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800370EC 0003404C 7C 08 02 A6 */ mflr r0
/* 800370F0 00034050 90 01 00 14 */ stw r0, 0x14(r1)
/* 800370F4 00034054 48 00 00 31 */ bl "ReferenceCount__24TOneStatic<10CTweakGame>Fv"
/* 800370F8 00034058 80 83 00 00 */ lwz r4, 0(r3)
/* 800370FC 0003405C 38 04 00 01 */ addi r0, r4, 1
/* 80037100 00034060 90 03 00 00 */ stw r0, 0(r3)
/* 80037104 00034064 48 00 00 15 */ bl "GetAllocSpace__24TOneStatic<10CTweakGame>Fv"
/* 80037108 00034068 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8003710C 0003406C 7C 08 03 A6 */ mtlr r0
/* 80037110 00034070 38 21 00 10 */ addi r1, r1, 0x10
/* 80037114 00034074 4E 80 00 20 */ blr
.global "GetAllocSpace__24TOneStatic<10CTweakGame>Fv"
"GetAllocSpace__24TOneStatic<10CTweakGame>Fv":
/* 80037118 00034078 3C 60 80 46 */ lis r3, lbl_8045BF68@ha
/* 8003711C 0003407C 38 63 BF 68 */ addi r3, r3, lbl_8045BF68@l
/* 80037120 00034080 4E 80 00 20 */ blr
.global "ReferenceCount__24TOneStatic<10CTweakGame>Fv"
"ReferenceCount__24TOneStatic<10CTweakGame>Fv":
/* 80037124 00034084 88 0D A1 A0 */ lbz r0, lbl_805A8D60@sda21(r13)
/* 80037128 00034088 7C 00 07 75 */ extsb. r0, r0
/* 8003712C 0003408C 40 82 00 14 */ bne lbl_80037140
/* 80037130 00034090 38 60 00 00 */ li r3, 0
/* 80037134 00034094 38 00 00 01 */ li r0, 1
/* 80037138 00034098 90 6D A1 9C */ stw r3, lbl_805A8D5C@sda21(r13)
/* 8003713C 0003409C 98 0D A1 A0 */ stb r0, lbl_805A8D60@sda21(r13)
lbl_80037140:
/* 80037140 000340A0 38 6D A1 9C */ addi r3, r13, lbl_805A8D5C@sda21
/* 80037144 000340A4 4E 80 00 20 */ blr
.global "__nw__24TOneStatic<10CTweakBall>FUlPCcPCc"
"__nw__24TOneStatic<10CTweakBall>FUlPCcPCc":
/* 80037148 000340A8 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8003714C 000340AC 7C 08 02 A6 */ mflr r0
/* 80037150 000340B0 90 01 00 14 */ stw r0, 0x14(r1)
/* 80037154 000340B4 48 00 00 31 */ bl "ReferenceCount__24TOneStatic<10CTweakBall>Fv"
/* 80037158 000340B8 80 83 00 00 */ lwz r4, 0(r3)
/* 8003715C 000340BC 38 04 00 01 */ addi r0, r4, 1
/* 80037160 000340C0 90 03 00 00 */ stw r0, 0(r3)
/* 80037164 000340C4 48 00 00 15 */ bl "GetAllocSpace__24TOneStatic<10CTweakBall>Fv"
/* 80037168 000340C8 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8003716C 000340CC 7C 08 03 A6 */ mtlr r0
/* 80037170 000340D0 38 21 00 10 */ addi r1, r1, 0x10
/* 80037174 000340D4 4E 80 00 20 */ blr
.global "GetAllocSpace__24TOneStatic<10CTweakBall>Fv"
"GetAllocSpace__24TOneStatic<10CTweakBall>Fv":
/* 80037178 000340D8 3C 60 80 46 */ lis r3, lbl_8045BFD0@ha
/* 8003717C 000340DC 38 63 BF D0 */ addi r3, r3, lbl_8045BFD0@l
/* 80037180 000340E0 4E 80 00 20 */ blr
.global "ReferenceCount__24TOneStatic<10CTweakBall>Fv"
"ReferenceCount__24TOneStatic<10CTweakBall>Fv":
/* 80037184 000340E4 88 0D A1 A8 */ lbz r0, lbl_805A8D68@sda21(r13)
/* 80037188 000340E8 7C 00 07 75 */ extsb. r0, r0
/* 8003718C 000340EC 40 82 00 14 */ bne lbl_800371A0
/* 80037190 000340F0 38 60 00 00 */ li r3, 0
/* 80037194 000340F4 38 00 00 01 */ li r0, 1
/* 80037198 000340F8 90 6D A1 A4 */ stw r3, lbl_805A8D64@sda21(r13)
/* 8003719C 000340FC 98 0D A1 A8 */ stb r0, lbl_805A8D68@sda21(r13)
lbl_800371A0:
/* 800371A0 00034100 38 6D A1 A4 */ addi r3, r13, lbl_805A8D64@sda21
/* 800371A4 00034104 4E 80 00 20 */ blr
.global "__nw__26TOneStatic<12CTweakPlayer>FUlPCcPCc"
"__nw__26TOneStatic<12CTweakPlayer>FUlPCcPCc":
/* 800371A8 00034108 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800371AC 0003410C 7C 08 02 A6 */ mflr r0
/* 800371B0 00034110 90 01 00 14 */ stw r0, 0x14(r1)
/* 800371B4 00034114 4B FF E7 B1 */ bl "ReferenceCount__26TOneStatic<12CTweakPlayer>Fv"
/* 800371B8 00034118 80 83 00 00 */ lwz r4, 0(r3)
/* 800371BC 0003411C 38 04 00 01 */ addi r0, r4, 1
/* 800371C0 00034120 90 03 00 00 */ stw r0, 0(r3)
/* 800371C4 00034124 48 00 00 15 */ bl "GetAllocSpace__26TOneStatic<12CTweakPlayer>Fv"
/* 800371C8 00034128 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800371CC 0003412C 7C 08 03 A6 */ mtlr r0
/* 800371D0 00034130 38 21 00 10 */ addi r1, r1, 0x10
/* 800371D4 00034134 4E 80 00 20 */ blr
.global "GetAllocSpace__26TOneStatic<12CTweakPlayer>Fv"
"GetAllocSpace__26TOneStatic<12CTweakPlayer>Fv":
/* 800371D8 00034138 3C 60 80 46 */ lis r3, lbl_8045C208@ha
/* 800371DC 0003413C 38 63 C2 08 */ addi r3, r3, lbl_8045C208@l
/* 800371E0 00034140 4E 80 00 20 */ blr
.section .rodata
.balign 8
.global lbl_803CCD88
lbl_803CCD88:
# ROM: 0x3C9D88
.asciz "GunRes"
.asciz "??(??)"
.asciz "PlayerRes"
.asciz "Particle"
.asciz "Player"
.asciz "CameraBob"
.asciz "Ball"
.asciz "PlayerGun"
.asciz "Targeting"
.asciz "Game"
.asciz "GuiColors"
.asciz "AutoMapper"
.asciz "Gui"
.asciz "PlayerControls"
.asciz "PlayerControls2"
.asciz "SlideShow"
.balign 4
.4byte 0