More splitting!

This commit is contained in:
Phillip Stephens 2022-04-12 00:10:32 -07:00
parent ea1c0550fc
commit 361fd45f83
Signed by: Antidote
GPG Key ID: F8BEE4C83DACA60D
31 changed files with 189931 additions and 189833 deletions

9523
asm/Kyoto_CWD/CAnimData.s Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,425 @@
.include "macros.inc"
.section .text, "ax"
.global CanBuild__Q224CCharacterFactoryBuilder13CDummyFactoryFRC10SObjectTag
CanBuild__Q224CCharacterFactoryBuilder13CDummyFactoryFRC10SObjectTag:
/* 8003484C 000317AC 38 60 00 01 */ li r3, 1
/* 80034850 000317B0 4E 80 00 20 */ blr
.global GetResourceIdByName__Q224CCharacterFactoryBuilder13CDummyFactoryCFPCc
GetResourceIdByName__Q224CCharacterFactoryBuilder13CDummyFactoryCFPCc:
/* 80034854 000317B4 38 60 00 00 */ li r3, 0
/* 80034858 000317B8 4E 80 00 20 */ blr
.global __dt__Q224CCharacterFactoryBuilder13CDummyFactoryFv
__dt__Q224CCharacterFactoryBuilder13CDummyFactoryFv:
/* 8003485C 000317BC 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80034860 000317C0 7C 08 02 A6 */ mflr r0
/* 80034864 000317C4 90 01 00 14 */ stw r0, 0x14(r1)
/* 80034868 000317C8 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8003486C 000317CC 7C 7F 1B 79 */ or. r31, r3, r3
/* 80034870 000317D0 41 82 00 30 */ beq lbl_800348A0
/* 80034874 000317D4 3C 60 80 3E */ lis r3, lbl_803D9C88@ha
/* 80034878 000317D8 38 03 9C 88 */ addi r0, r3, lbl_803D9C88@l
/* 8003487C 000317DC 90 1F 00 00 */ stw r0, 0(r31)
/* 80034880 000317E0 41 82 00 10 */ beq lbl_80034890
/* 80034884 000317E4 3C 60 80 3E */ lis r3, lbl_803D9C50@ha
/* 80034888 000317E8 38 03 9C 50 */ addi r0, r3, lbl_803D9C50@l
/* 8003488C 000317EC 90 1F 00 00 */ stw r0, 0(r31)
lbl_80034890:
/* 80034890 000317F0 7C 80 07 35 */ extsh. r0, r4
/* 80034894 000317F4 40 81 00 0C */ ble lbl_800348A0
/* 80034898 000317F8 7F E3 FB 78 */ mr r3, r31
/* 8003489C 000317FC 48 2E 10 95 */ bl Free__7CMemoryFPCv
lbl_800348A0:
/* 800348A0 00031800 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800348A4 00031804 7F E3 FB 78 */ mr r3, r31
/* 800348A8 00031808 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 800348AC 0003180C 7C 08 03 A6 */ mtlr r0
/* 800348B0 00031810 38 21 00 10 */ addi r1, r1, 0x10
/* 800348B4 00031814 4E 80 00 20 */ blr
.global GetFactory__24CCharacterFactoryBuilderFRC8CAnimRes
GetFactory__24CCharacterFactoryBuilderFRC8CAnimRes:
/* 800348B8 00031818 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 800348BC 0003181C 7C 08 02 A6 */ mflr r0
/* 800348C0 00031820 90 01 00 34 */ stw r0, 0x34(r1)
/* 800348C4 00031824 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 800348C8 00031828 7C BF 2B 78 */ mr r31, r5
/* 800348CC 0003182C 93 C1 00 28 */ stw r30, 0x28(r1)
/* 800348D0 00031830 7C 9E 23 78 */ mr r30, r4
/* 800348D4 00031834 93 A1 00 24 */ stw r29, 0x24(r1)
/* 800348D8 00031838 7C 7D 1B 78 */ mr r29, r3
/* 800348DC 0003183C 38 61 00 08 */ addi r3, r1, 8
/* 800348E0 00031840 48 00 00 75 */ bl Null__15CVParamTransferFv
/* 800348E4 00031844 80 FF 00 00 */ lwz r7, 0(r31)
/* 800348E8 00031848 3C 60 41 4E */ lis r3, 0x414E4353@ha
/* 800348EC 0003184C 38 03 43 53 */ addi r0, r3, 0x414E4353@l
/* 800348F0 00031850 38 9E 00 04 */ addi r4, r30, 4
/* 800348F4 00031854 90 01 00 14 */ stw r0, 0x14(r1)
/* 800348F8 00031858 38 61 00 0C */ addi r3, r1, 0xc
/* 800348FC 0003185C 38 A1 00 14 */ addi r5, r1, 0x14
/* 80034900 00031860 38 C1 00 08 */ addi r6, r1, 8
/* 80034904 00031864 90 E1 00 18 */ stw r7, 0x18(r1)
/* 80034908 00031868 81 9E 00 04 */ lwz r12, 4(r30)
/* 8003490C 0003186C 81 8C 00 08 */ lwz r12, 8(r12)
/* 80034910 00031870 7D 89 03 A6 */ mtctr r12
/* 80034914 00031874 4E 80 04 21 */ bctrl
/* 80034918 00031878 7F A3 EB 78 */ mr r3, r29
/* 8003491C 0003187C 38 81 00 0C */ addi r4, r1, 0xc
/* 80034920 00031880 48 30 C5 89 */ bl __ct__6CTokenFRC6CToken
/* 80034924 00031884 38 61 00 0C */ addi r3, r1, 0xc
/* 80034928 00031888 38 80 FF FF */ li r4, -1
/* 8003492C 0003188C 48 30 C5 15 */ bl __dt__6CTokenFv
/* 80034930 00031890 38 61 00 08 */ addi r3, r1, 8
/* 80034934 00031894 4B FF F9 D1 */ bl sub_80034304
/* 80034938 00031898 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8003493C 0003189C 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 80034940 000318A0 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 80034944 000318A4 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 80034948 000318A8 7C 08 03 A6 */ mtlr r0
/* 8003494C 000318AC 38 21 00 30 */ addi r1, r1, 0x30
/* 80034950 000318B0 4E 80 00 20 */ blr
.global Null__15CVParamTransferFv
Null__15CVParamTransferFv:
/* 80034954 000318B4 38 0D A9 28 */ addi r0, r13, lbl_805A94E8@sda21
/* 80034958 000318B8 90 03 00 00 */ stw r0, 0(r3)
/* 8003495C 000318BC 80 83 00 00 */ lwz r4, 0(r3)
/* 80034960 000318C0 80 64 00 04 */ lwz r3, 4(r4)
/* 80034964 000318C4 38 03 00 01 */ addi r0, r3, 1
/* 80034968 000318C8 90 04 00 04 */ stw r0, 4(r4)
/* 8003496C 000318CC 4E 80 00 20 */ blr
.global __dt__24CCharacterFactoryBuilderFv
__dt__24CCharacterFactoryBuilderFv:
/* 80034970 000318D0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80034974 000318D4 7C 08 02 A6 */ mflr r0
/* 80034978 000318D8 90 01 00 14 */ stw r0, 0x14(r1)
/* 8003497C 000318DC 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80034980 000318E0 7C 9F 23 78 */ mr r31, r4
/* 80034984 000318E4 93 C1 00 08 */ stw r30, 8(r1)
/* 80034988 000318E8 7C 7E 1B 79 */ or. r30, r3, r3
/* 8003498C 000318EC 41 82 00 44 */ beq lbl_800349D0
/* 80034990 000318F0 38 7E 00 04 */ addi r3, r30, 4
/* 80034994 000318F4 38 80 FF FF */ li r4, -1
/* 80034998 000318F8 48 30 BD 71 */ bl __dt__11CSimplePool
/* 8003499C 000318FC 28 1E 00 00 */ cmplwi r30, 0
/* 800349A0 00031900 41 82 00 20 */ beq lbl_800349C0
/* 800349A4 00031904 3C 60 80 3E */ lis r3, lbl_803D9C88@ha
/* 800349A8 00031908 38 03 9C 88 */ addi r0, r3, lbl_803D9C88@l
/* 800349AC 0003190C 90 1E 00 00 */ stw r0, 0(r30)
/* 800349B0 00031910 41 82 00 10 */ beq lbl_800349C0
/* 800349B4 00031914 3C 60 80 3E */ lis r3, lbl_803D9C50@ha
/* 800349B8 00031918 38 03 9C 50 */ addi r0, r3, lbl_803D9C50@l
/* 800349BC 0003191C 90 1E 00 00 */ stw r0, 0(r30)
lbl_800349C0:
/* 800349C0 00031920 7F E0 07 35 */ extsh. r0, r31
/* 800349C4 00031924 40 81 00 0C */ ble lbl_800349D0
/* 800349C8 00031928 7F C3 F3 78 */ mr r3, r30
/* 800349CC 0003192C 48 2E 0F 65 */ bl Free__7CMemoryFPCv
lbl_800349D0:
/* 800349D0 00031930 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800349D4 00031934 7F C3 F3 78 */ mr r3, r30
/* 800349D8 00031938 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 800349DC 0003193C 83 C1 00 08 */ lwz r30, 8(r1)
/* 800349E0 00031940 7C 08 03 A6 */ mtlr r0
/* 800349E4 00031944 38 21 00 10 */ addi r1, r1, 0x10
/* 800349E8 00031948 4E 80 00 20 */ blr
.global __ct__24CCharacterFactoryBuilderFv
__ct__24CCharacterFactoryBuilderFv:
/* 800349EC 0003194C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800349F0 00031950 7C 08 02 A6 */ mflr r0
/* 800349F4 00031954 3C 80 80 3E */ lis r4, lbl_803D9C50@ha
/* 800349F8 00031958 90 01 00 14 */ stw r0, 0x14(r1)
/* 800349FC 0003195C 38 04 9C 50 */ addi r0, r4, lbl_803D9C50@l
/* 80034A00 00031960 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80034A04 00031964 7C 7F 1B 78 */ mr r31, r3
/* 80034A08 00031968 3C 60 80 3E */ lis r3, lbl_803D9C88@ha
/* 80034A0C 0003196C 90 1F 00 00 */ stw r0, 0(r31)
/* 80034A10 00031970 38 03 9C 88 */ addi r0, r3, lbl_803D9C88@l
/* 80034A14 00031974 7F E4 FB 78 */ mr r4, r31
/* 80034A18 00031978 7F E5 FB 78 */ mr r5, r31
/* 80034A1C 0003197C 90 1F 00 00 */ stw r0, 0(r31)
/* 80034A20 00031980 38 64 00 04 */ addi r3, r4, 4
/* 80034A24 00031984 48 30 BD B1 */ bl __ct__11CSimplePoolFR8IFactory
/* 80034A28 00031988 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80034A2C 0003198C 7F E3 FB 78 */ mr r3, r31
/* 80034A30 00031990 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80034A34 00031994 7C 08 03 A6 */ mtlr r0
/* 80034A38 00031998 38 21 00 10 */ addi r1, r1, 0x10
/* 80034A3C 0003199C 4E 80 00 20 */ blr
.global CancelBuild__Q224CCharacterFactoryBuilder13CDummyFactoryFRC10SObjectTag
CancelBuild__Q224CCharacterFactoryBuilder13CDummyFactoryFRC10SObjectTag:
/* 80034A40 000319A0 4E 80 00 20 */ blr
.global BuildAsync__Q224CCharacterFactoryBuilder13CDummyFactoryFRC10SObjectTagRC15CVParamTransferPP4IObj
BuildAsync__Q224CCharacterFactoryBuilder13CDummyFactoryFRC10SObjectTagRC15CVParamTransferPP4IObj:
/* 80034A44 000319A4 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80034A48 000319A8 7C 08 02 A6 */ mflr r0
/* 80034A4C 000319AC 7C 87 23 78 */ mr r7, r4
/* 80034A50 000319B0 7C 64 1B 78 */ mr r4, r3
/* 80034A54 000319B4 90 01 00 24 */ stw r0, 0x24(r1)
/* 80034A58 000319B8 7C A0 2B 78 */ mr r0, r5
/* 80034A5C 000319BC 7C E5 3B 78 */ mr r5, r7
/* 80034A60 000319C0 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80034A64 000319C4 7C DF 33 78 */ mr r31, r6
/* 80034A68 000319C8 7C 06 03 78 */ mr r6, r0
/* 80034A6C 000319CC 81 83 00 00 */ lwz r12, 0(r3)
/* 80034A70 000319D0 38 61 00 08 */ addi r3, r1, 8
/* 80034A74 000319D4 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 80034A78 000319D8 7D 89 03 A6 */ mtctr r12
/* 80034A7C 000319DC 4E 80 04 21 */ bctrl
/* 80034A80 000319E0 38 00 00 00 */ li r0, 0
/* 80034A84 000319E4 80 61 00 0C */ lwz r3, 0xc(r1)
/* 80034A88 000319E8 98 01 00 08 */ stb r0, 8(r1)
/* 80034A8C 000319EC 90 7F 00 00 */ stw r3, 0(r31)
/* 80034A90 000319F0 88 01 00 08 */ lbz r0, 8(r1)
/* 80034A94 000319F4 28 00 00 00 */ cmplwi r0, 0
/* 80034A98 000319F8 41 82 00 24 */ beq lbl_80034ABC
/* 80034A9C 000319FC 80 61 00 0C */ lwz r3, 0xc(r1)
/* 80034AA0 00031A00 28 03 00 00 */ cmplwi r3, 0
/* 80034AA4 00031A04 41 82 00 18 */ beq lbl_80034ABC
/* 80034AA8 00031A08 81 83 00 00 */ lwz r12, 0(r3)
/* 80034AAC 00031A0C 38 80 00 01 */ li r4, 1
/* 80034AB0 00031A10 81 8C 00 08 */ lwz r12, 8(r12)
/* 80034AB4 00031A14 7D 89 03 A6 */ mtctr r12
/* 80034AB8 00031A18 4E 80 04 21 */ bctrl
lbl_80034ABC:
/* 80034ABC 00031A1C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80034AC0 00031A20 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80034AC4 00031A24 7C 08 03 A6 */ mtlr r0
/* 80034AC8 00031A28 38 21 00 20 */ addi r1, r1, 0x20
/* 80034ACC 00031A2C 4E 80 00 20 */ blr
.global Build__Q224CCharacterFactoryBuilder13CDummyFactoryFRC10SObjectTagRC15CVParamTransfer
Build__Q224CCharacterFactoryBuilder13CDummyFactoryFRC10SObjectTagRC15CVParamTransfer:
/* 80034AD0 00031A30 94 21 FF B0 */ stwu r1, -0x50(r1)
/* 80034AD4 00031A34 7C 08 02 A6 */ mflr r0
/* 80034AD8 00031A38 3C 80 41 4E */ lis r4, 0x414E4353@ha
/* 80034ADC 00031A3C 90 01 00 54 */ stw r0, 0x54(r1)
/* 80034AE0 00031A40 38 04 43 53 */ addi r0, r4, 0x414E4353@l
/* 80034AE4 00031A44 93 E1 00 4C */ stw r31, 0x4c(r1)
/* 80034AE8 00031A48 7C 7F 1B 78 */ mr r31, r3
/* 80034AEC 00031A4C 38 61 00 20 */ addi r3, r1, 0x20
/* 80034AF0 00031A50 93 C1 00 48 */ stw r30, 0x48(r1)
/* 80034AF4 00031A54 93 A1 00 44 */ stw r29, 0x44(r1)
/* 80034AF8 00031A58 83 A5 00 04 */ lwz r29, 4(r5)
/* 80034AFC 00031A5C 38 A1 00 28 */ addi r5, r1, 0x28
/* 80034B00 00031A60 90 01 00 28 */ stw r0, 0x28(r1)
/* 80034B04 00031A64 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
/* 80034B08 00031A68 93 A1 00 2C */ stw r29, 0x2c(r1)
/* 80034B0C 00031A6C 81 84 00 00 */ lwz r12, 0(r4)
/* 80034B10 00031A70 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 80034B14 00031A74 7D 89 03 A6 */ mtctr r12
/* 80034B18 00031A78 4E 80 04 21 */ bctrl
/* 80034B1C 00031A7C 38 61 00 30 */ addi r3, r1, 0x30
/* 80034B20 00031A80 38 81 00 20 */ addi r4, r1, 0x20
/* 80034B24 00031A84 48 30 C3 85 */ bl __ct__6CTokenFRC6CToken
/* 80034B28 00031A88 38 61 00 20 */ addi r3, r1, 0x20
/* 80034B2C 00031A8C 38 80 FF FF */ li r4, -1
/* 80034B30 00031A90 48 30 C3 11 */ bl __dt__6CTokenFv
/* 80034B34 00031A94 3C 80 80 3D */ lis r4, lbl_803CCD80@ha
/* 80034B38 00031A98 38 60 00 90 */ li r3, 0x90
/* 80034B3C 00031A9C 38 84 CD 80 */ addi r4, r4, lbl_803CCD80@l
/* 80034B40 00031AA0 38 A0 00 00 */ li r5, 0
/* 80034B44 00031AA4 48 2E 0D 29 */ bl __nw__FUlPCcPCc
/* 80034B48 00031AA8 7C 7E 1B 79 */ or. r30, r3, r3
/* 80034B4C 00031AAC 41 82 00 24 */ beq lbl_80034B70
/* 80034B50 00031AB0 38 61 00 30 */ addi r3, r1, 0x30
/* 80034B54 00031AB4 48 30 C2 B9 */ bl GetObj__6CTokenFv
/* 80034B58 00031AB8 80 A3 00 04 */ lwz r5, 4(r3)
/* 80034B5C 00031ABC 7F C3 F3 78 */ mr r3, r30
/* 80034B60 00031AC0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
/* 80034B64 00031AC4 7F A6 EB 78 */ mr r6, r29
/* 80034B68 00031AC8 4B FF DB 95 */ bl __ct__17CCharacterFactoryFR11CSimplePoolRC17CAnimCharacterSetUi
/* 80034B6C 00031ACC 7C 7E 1B 78 */ mr r30, r3
lbl_80034B70:
/* 80034B70 00031AD0 7C 1E 00 D0 */ neg r0, r30
/* 80034B74 00031AD4 93 C1 00 0C */ stw r30, 0xc(r1)
/* 80034B78 00031AD8 7C 00 F3 78 */ or r0, r0, r30
/* 80034B7C 00031ADC 38 61 00 10 */ addi r3, r1, 0x10
/* 80034B80 00031AE0 54 00 0F FE */ srwi r0, r0, 0x1f
/* 80034B84 00031AE4 38 81 00 08 */ addi r4, r1, 8
/* 80034B88 00031AE8 98 01 00 08 */ stb r0, 8(r1)
/* 80034B8C 00031AEC 48 00 01 69 */ bl sub_80034cf4
/* 80034B90 00031AF0 80 61 00 14 */ lwz r3, 0x14(r1)
/* 80034B94 00031AF4 38 00 00 00 */ li r0, 0
/* 80034B98 00031AF8 98 01 00 10 */ stb r0, 0x10(r1)
/* 80034B9C 00031AFC 7C 03 00 D0 */ neg r0, r3
/* 80034BA0 00031B00 7C 00 1B 78 */ or r0, r0, r3
/* 80034BA4 00031B04 90 61 00 1C */ stw r3, 0x1c(r1)
/* 80034BA8 00031B08 54 00 0F FE */ srwi r0, r0, 0x1f
/* 80034BAC 00031B0C 98 01 00 18 */ stb r0, 0x18(r1)
/* 80034BB0 00031B10 48 00 00 1C */ b lbl_80034BCC
/* 80034BB4 00031B14 41 82 00 18 */ beq lbl_80034BCC
/* 80034BB8 00031B18 81 83 00 00 */ lwz r12, 0(r3)
/* 80034BBC 00031B1C 38 80 00 01 */ li r4, 1
/* 80034BC0 00031B20 81 8C 00 08 */ lwz r12, 8(r12)
/* 80034BC4 00031B24 7D 89 03 A6 */ mtctr r12
/* 80034BC8 00031B28 4E 80 04 21 */ bctrl
lbl_80034BCC:
/* 80034BCC 00031B2C 88 01 00 08 */ lbz r0, 8(r1)
/* 80034BD0 00031B30 28 00 00 00 */ cmplwi r0, 0
/* 80034BD4 00031B34 41 82 00 24 */ beq lbl_80034BF8
/* 80034BD8 00031B38 80 61 00 0C */ lwz r3, 0xc(r1)
/* 80034BDC 00031B3C 28 03 00 00 */ cmplwi r3, 0
/* 80034BE0 00031B40 41 82 00 18 */ beq lbl_80034BF8
/* 80034BE4 00031B44 81 83 00 00 */ lwz r12, 0(r3)
/* 80034BE8 00031B48 38 80 00 01 */ li r4, 1
/* 80034BEC 00031B4C 81 8C 00 08 */ lwz r12, 8(r12)
/* 80034BF0 00031B50 7D 89 03 A6 */ mtctr r12
/* 80034BF4 00031B54 4E 80 04 21 */ bctrl
lbl_80034BF8:
/* 80034BF8 00031B58 88 81 00 18 */ lbz r4, 0x18(r1)
/* 80034BFC 00031B5C 38 00 00 00 */ li r0, 0
/* 80034C00 00031B60 80 61 00 1C */ lwz r3, 0x1c(r1)
/* 80034C04 00031B64 98 9F 00 00 */ stb r4, 0(r31)
/* 80034C08 00031B68 90 7F 00 04 */ stw r3, 4(r31)
/* 80034C0C 00031B6C 98 01 00 18 */ stb r0, 0x18(r1)
/* 80034C10 00031B70 48 00 00 1C */ b lbl_80034C2C
/* 80034C14 00031B74 41 82 00 18 */ beq lbl_80034C2C
/* 80034C18 00031B78 81 83 00 00 */ lwz r12, 0(r3)
/* 80034C1C 00031B7C 38 80 00 01 */ li r4, 1
/* 80034C20 00031B80 81 8C 00 08 */ lwz r12, 8(r12)
/* 80034C24 00031B84 7D 89 03 A6 */ mtctr r12
/* 80034C28 00031B88 4E 80 04 21 */ bctrl
lbl_80034C2C:
/* 80034C2C 00031B8C 38 61 00 30 */ addi r3, r1, 0x30
/* 80034C30 00031B90 38 80 00 00 */ li r4, 0
/* 80034C34 00031B94 48 30 C2 0D */ bl __dt__6CTokenFv
/* 80034C38 00031B98 80 01 00 54 */ lwz r0, 0x54(r1)
/* 80034C3C 00031B9C 83 E1 00 4C */ lwz r31, 0x4c(r1)
/* 80034C40 00031BA0 83 C1 00 48 */ lwz r30, 0x48(r1)
/* 80034C44 00031BA4 83 A1 00 44 */ lwz r29, 0x44(r1)
/* 80034C48 00031BA8 7C 08 03 A6 */ mtlr r0
/* 80034C4C 00031BAC 38 21 00 50 */ addi r1, r1, 0x50
/* 80034C50 00031BB0 4E 80 00 20 */ blr
.global sub_80034c54
sub_80034c54:
/* 80034C54 00031BB4 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80034C58 00031BB8 7C 08 02 A6 */ mflr r0
/* 80034C5C 00031BBC 90 01 00 14 */ stw r0, 0x14(r1)
/* 80034C60 00031BC0 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80034C64 00031BC4 7C 9F 23 78 */ mr r31, r4
/* 80034C68 00031BC8 93 C1 00 08 */ stw r30, 8(r1)
/* 80034C6C 00031BCC 7C 7E 1B 79 */ or. r30, r3, r3
/* 80034C70 00031BD0 41 82 00 68 */ beq lbl_80034CD8
/* 80034C74 00031BD4 3C 60 80 3E */ lis r3, lbl_803D9CA8@ha
/* 80034C78 00031BD8 38 03 9C A8 */ addi r0, r3, lbl_803D9CA8@l
/* 80034C7C 00031BDC 90 1E 00 00 */ stw r0, 0(r30)
/* 80034C80 00031BE0 80 7E 00 04 */ lwz r3, 4(r30)
/* 80034C84 00031BE4 28 03 00 00 */ cmplwi r3, 0
/* 80034C88 00031BE8 41 82 00 1C */ beq lbl_80034CA4
/* 80034C8C 00031BEC 41 82 00 18 */ beq lbl_80034CA4
/* 80034C90 00031BF0 81 83 00 00 */ lwz r12, 0(r3)
/* 80034C94 00031BF4 38 80 00 01 */ li r4, 1
/* 80034C98 00031BF8 81 8C 00 08 */ lwz r12, 8(r12)
/* 80034C9C 00031BFC 7D 89 03 A6 */ mtctr r12
/* 80034CA0 00031C00 4E 80 04 21 */ bctrl
lbl_80034CA4:
/* 80034CA4 00031C04 28 1E 00 00 */ cmplwi r30, 0
/* 80034CA8 00031C08 41 82 00 20 */ beq lbl_80034CC8
/* 80034CAC 00031C0C 3C 60 80 3E */ lis r3, lbl_803D8D78@ha
/* 80034CB0 00031C10 38 03 8D 78 */ addi r0, r3, lbl_803D8D78@l
/* 80034CB4 00031C14 90 1E 00 00 */ stw r0, 0(r30)
/* 80034CB8 00031C18 41 82 00 10 */ beq lbl_80034CC8
/* 80034CBC 00031C1C 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha
/* 80034CC0 00031C20 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l
/* 80034CC4 00031C24 90 1E 00 00 */ stw r0, 0(r30)
lbl_80034CC8:
/* 80034CC8 00031C28 7F E0 07 35 */ extsh. r0, r31
/* 80034CCC 00031C2C 40 81 00 0C */ ble lbl_80034CD8
/* 80034CD0 00031C30 7F C3 F3 78 */ mr r3, r30
/* 80034CD4 00031C34 48 2E 0C 5D */ bl Free__7CMemoryFPCv
lbl_80034CD8:
/* 80034CD8 00031C38 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80034CDC 00031C3C 7F C3 F3 78 */ mr r3, r30
/* 80034CE0 00031C40 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80034CE4 00031C44 83 C1 00 08 */ lwz r30, 8(r1)
/* 80034CE8 00031C48 7C 08 03 A6 */ mtlr r0
/* 80034CEC 00031C4C 38 21 00 10 */ addi r1, r1, 0x10
/* 80034CF0 00031C50 4E 80 00 20 */ blr
.global sub_80034cf4
sub_80034cf4:
/* 80034CF4 00031C54 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80034CF8 00031C58 7C 08 02 A6 */ mflr r0
/* 80034CFC 00031C5C 90 01 00 14 */ stw r0, 0x14(r1)
/* 80034D00 00031C60 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80034D04 00031C64 7C 7F 1B 78 */ mr r31, r3
/* 80034D08 00031C68 48 00 00 19 */ bl sub_80034d20
/* 80034D0C 00031C6C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80034D10 00031C70 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80034D14 00031C74 7C 08 03 A6 */ mtlr r0
/* 80034D18 00031C78 38 21 00 10 */ addi r1, r1, 0x10
/* 80034D1C 00031C7C 4E 80 00 20 */ blr
.global sub_80034d20
sub_80034d20:
/* 80034D20 00031C80 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80034D24 00031C84 7C 08 02 A6 */ mflr r0
/* 80034D28 00031C88 3C A0 80 3D */ lis r5, lbl_803CCD80@ha
/* 80034D2C 00031C8C 90 01 00 14 */ stw r0, 0x14(r1)
/* 80034D30 00031C90 38 05 CD 80 */ addi r0, r5, lbl_803CCD80@l
/* 80034D34 00031C94 38 A0 00 00 */ li r5, 0
/* 80034D38 00031C98 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80034D3C 00031C9C 7C 9F 23 78 */ mr r31, r4
/* 80034D40 00031CA0 7C 04 03 78 */ mr r4, r0
/* 80034D44 00031CA4 93 C1 00 08 */ stw r30, 8(r1)
/* 80034D48 00031CA8 7C 7E 1B 78 */ mr r30, r3
/* 80034D4C 00031CAC 38 60 00 08 */ li r3, 8
/* 80034D50 00031CB0 48 2E 0B 1D */ bl __nw__FUlPCcPCc
/* 80034D54 00031CB4 28 03 00 00 */ cmplwi r3, 0
/* 80034D58 00031CB8 41 82 00 38 */ beq lbl_80034D90
/* 80034D5C 00031CBC 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha
/* 80034D60 00031CC0 3C A0 80 3E */ lis r5, lbl_803D8D78@ha
/* 80034D64 00031CC4 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l
/* 80034D68 00031CC8 3C 80 80 3E */ lis r4, lbl_803D9CA8@ha
/* 80034D6C 00031CCC 90 03 00 00 */ stw r0, 0(r3)
/* 80034D70 00031CD0 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l
/* 80034D74 00031CD4 38 A0 00 00 */ li r5, 0
/* 80034D78 00031CD8 38 04 9C A8 */ addi r0, r4, lbl_803D9CA8@l
/* 80034D7C 00031CDC 90 C3 00 00 */ stw r6, 0(r3)
/* 80034D80 00031CE0 98 BF 00 00 */ stb r5, 0(r31)
/* 80034D84 00031CE4 80 9F 00 04 */ lwz r4, 4(r31)
/* 80034D88 00031CE8 90 83 00 04 */ stw r4, 4(r3)
/* 80034D8C 00031CEC 90 03 00 00 */ stw r0, 0(r3)
lbl_80034D90:
/* 80034D90 00031CF0 7C 03 00 D0 */ neg r0, r3
/* 80034D94 00031CF4 7C 00 1B 78 */ or r0, r0, r3
/* 80034D98 00031CF8 54 00 0F FE */ srwi r0, r0, 0x1f
/* 80034D9C 00031CFC 98 1E 00 00 */ stb r0, 0(r30)
/* 80034DA0 00031D00 90 7E 00 04 */ stw r3, 4(r30)
/* 80034DA4 00031D04 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80034DA8 00031D08 83 C1 00 08 */ lwz r30, 8(r1)
/* 80034DAC 00031D0C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80034DB0 00031D10 7C 08 03 A6 */ mtlr r0
/* 80034DB4 00031D14 38 21 00 10 */ addi r1, r1, 0x10
/* 80034DB8 00031D18 4E 80 00 20 */ blr
.global sub_80034dbc
sub_80034dbc:
/* 80034DBC 00031D1C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80034DC0 00031D20 7C 08 02 A6 */ mflr r0
/* 80034DC4 00031D24 90 01 00 14 */ stw r0, 0x14(r1)
/* 80034DC8 00031D28 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80034DCC 00031D2C 7C 7F 1B 79 */ or. r31, r3, r3
/* 80034DD0 00031D30 41 82 00 1C */ beq lbl_80034DEC
/* 80034DD4 00031D34 3C A0 80 3E */ lis r5, lbl_803D9C2C@ha
/* 80034DD8 00031D38 7C 80 07 35 */ extsh. r0, r4
/* 80034DDC 00031D3C 38 05 9C 2C */ addi r0, r5, lbl_803D9C2C@l
/* 80034DE0 00031D40 90 1F 00 00 */ stw r0, 0(r31)
/* 80034DE4 00031D44 40 81 00 08 */ ble lbl_80034DEC
/* 80034DE8 00031D48 48 2E 0B 49 */ bl Free__7CMemoryFPCv
lbl_80034DEC:
/* 80034DEC 00031D4C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80034DF0 00031D50 7F E3 FB 78 */ mr r3, r31
/* 80034DF4 00031D54 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80034DF8 00031D58 7C 08 03 A6 */ mtlr r0
/* 80034DFC 00031D5C 38 21 00 10 */ addi r1, r1, 0x10
/* 80034E00 00031D60 4E 80 00 20 */ blr

230
asm/Kyoto_CWD/CAutoSave.s Normal file
View File

@ -0,0 +1,230 @@
.include "macros.inc"
.section .text, "ax"
.global GetIsContinueDraw__9CAutoSaveCFv
GetIsContinueDraw__9CAutoSaveCFv:
/* 8002515C 000220BC 38 60 00 00 */ li r3, 0
/* 80025160 000220C0 4E 80 00 20 */ blr
.global Draw__9CAutoSaveCFv
Draw__9CAutoSaveCFv:
/* 80025164 000220C4 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80025168 000220C8 7C 08 02 A6 */ mflr r0
/* 8002516C 000220CC 90 01 00 14 */ stw r0, 0x14(r1)
/* 80025170 000220D0 80 63 00 14 */ lwz r3, 0x14(r3)
/* 80025174 000220D4 48 22 A5 AD */ bl Draw__15CSaveGameScreenFv
/* 80025178 000220D8 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8002517C 000220DC 7C 08 03 A6 */ mtlr r0
/* 80025180 000220E0 38 21 00 10 */ addi r1, r1, 0x10
/* 80025184 000220E4 4E 80 00 20 */ blr
.global OnMessage__9CAutoSaveFRC20CArchitectureMessageR18CArchitectureQueue
OnMessage__9CAutoSaveFRC20CArchitectureMessageR18CArchitectureQueue:
/* 80025188 000220E8 94 21 FF 80 */ stwu r1, -0x80(r1)
/* 8002518C 000220EC 7C 08 02 A6 */ mflr r0
/* 80025190 000220F0 38 A0 00 00 */ li r5, 0
/* 80025194 000220F4 90 01 00 84 */ stw r0, 0x84(r1)
/* 80025198 000220F8 93 E1 00 7C */ stw r31, 0x7c(r1)
/* 8002519C 000220FC 7C 7F 1B 78 */ mr r31, r3
/* 800251A0 00022100 80 CD A0 80 */ lwz r6, gpGameState@sda21(r13)
/* 800251A4 00022104 80 06 02 10 */ lwz r0, 0x210(r6)
/* 800251A8 00022108 80 66 02 14 */ lwz r3, 0x214(r6)
/* 800251AC 0002210C 7C 00 2A 78 */ xor r0, r0, r5
/* 800251B0 00022110 7C 63 2A 78 */ xor r3, r3, r5
/* 800251B4 00022114 7C 60 03 79 */ or. r0, r3, r0
/* 800251B8 00022118 40 82 00 0C */ bne lbl_800251C4
/* 800251BC 0002211C 38 60 00 02 */ li r3, 2
/* 800251C0 00022120 48 00 01 9C */ b lbl_8002535C
lbl_800251C4:
/* 800251C4 00022124 80 04 00 04 */ lwz r0, 4(r4)
/* 800251C8 00022128 2C 00 00 05 */ cmpwi r0, 5
/* 800251CC 0002212C 41 82 00 3C */ beq lbl_80025208
/* 800251D0 00022130 40 80 01 88 */ bge lbl_80025358
/* 800251D4 00022134 2C 00 00 04 */ cmpwi r0, 4
/* 800251D8 00022138 40 80 00 08 */ bge lbl_800251E0
/* 800251DC 0002213C 48 00 01 7C */ b lbl_80025358
lbl_800251E0:
/* 800251E0 00022140 7C 83 23 78 */ mr r3, r4
/* 800251E4 00022144 48 02 C9 D9 */ bl GetParmTimerTick__7MakeMsgFRC20CArchitectureMessage
/* 800251E8 00022148 7C 64 1B 78 */ mr r4, r3
/* 800251EC 0002214C 80 7F 00 14 */ lwz r3, 0x14(r31)
/* 800251F0 00022150 C0 24 00 04 */ lfs f1, 4(r4)
/* 800251F4 00022154 48 22 A5 A9 */ bl Update__15CSaveGameScreenFf
/* 800251F8 00022158 2C 03 00 00 */ cmpwi r3, 0
/* 800251FC 0002215C 41 82 01 5C */ beq lbl_80025358
/* 80025200 00022160 38 60 00 02 */ li r3, 2
/* 80025204 00022164 48 00 01 58 */ b lbl_8002535C
lbl_80025208:
/* 80025208 00022168 7C 83 23 78 */ mr r3, r4
/* 8002520C 0002216C 48 02 C8 D9 */ bl GetParmUserInput__7MakeMsgFRC20CArchitectureMessage
/* 80025210 00022170 3C A0 80 3E */ lis r5, lbl_803D8E9C@ha
/* 80025214 00022174 3C 80 80 3E */ lis r4, lbl_803D9810@ha
/* 80025218 00022178 38 05 8E 9C */ addi r0, r5, lbl_803D8E9C@l
/* 8002521C 0002217C 90 01 00 38 */ stw r0, 0x38(r1)
/* 80025220 00022180 38 04 98 10 */ addi r0, r4, lbl_803D9810@l
/* 80025224 00022184 90 01 00 38 */ stw r0, 0x38(r1)
/* 80025228 00022188 C0 03 00 04 */ lfs f0, 4(r3)
/* 8002522C 0002218C D0 01 00 3C */ stfs f0, 0x3c(r1)
/* 80025230 00022190 80 03 00 08 */ lwz r0, 8(r3)
/* 80025234 00022194 90 01 00 40 */ stw r0, 0x40(r1)
/* 80025238 00022198 C0 03 00 0C */ lfs f0, 0xc(r3)
/* 8002523C 0002219C D0 01 00 44 */ stfs f0, 0x44(r1)
/* 80025240 000221A0 C0 03 00 10 */ lfs f0, 0x10(r3)
/* 80025244 000221A4 D0 01 00 48 */ stfs f0, 0x48(r1)
/* 80025248 000221A8 C0 03 00 14 */ lfs f0, 0x14(r3)
/* 8002524C 000221AC D0 01 00 4C */ stfs f0, 0x4c(r1)
/* 80025250 000221B0 C0 03 00 18 */ lfs f0, 0x18(r3)
/* 80025254 000221B4 D0 01 00 50 */ stfs f0, 0x50(r1)
/* 80025258 000221B8 C0 03 00 1C */ lfs f0, 0x1c(r3)
/* 8002525C 000221BC D0 01 00 54 */ stfs f0, 0x54(r1)
/* 80025260 000221C0 C0 03 00 20 */ lfs f0, 0x20(r3)
/* 80025264 000221C4 D0 01 00 58 */ stfs f0, 0x58(r1)
/* 80025268 000221C8 88 03 00 24 */ lbz r0, 0x24(r3)
/* 8002526C 000221CC 98 01 00 5C */ stb r0, 0x5c(r1)
/* 80025270 000221D0 88 03 00 25 */ lbz r0, 0x25(r3)
/* 80025274 000221D4 98 01 00 5D */ stb r0, 0x5d(r1)
/* 80025278 000221D8 88 03 00 26 */ lbz r0, 0x26(r3)
/* 8002527C 000221DC 98 01 00 5E */ stb r0, 0x5e(r1)
/* 80025280 000221E0 88 03 00 27 */ lbz r0, 0x27(r3)
/* 80025284 000221E4 98 01 00 5F */ stb r0, 0x5f(r1)
/* 80025288 000221E8 C0 03 00 28 */ lfs f0, 0x28(r3)
/* 8002528C 000221EC D0 01 00 60 */ stfs f0, 0x60(r1)
/* 80025290 000221F0 C0 03 00 2C */ lfs f0, 0x2c(r3)
/* 80025294 000221F4 D0 01 00 64 */ stfs f0, 0x64(r1)
/* 80025298 000221F8 88 03 00 30 */ lbz r0, 0x30(r3)
/* 8002529C 000221FC 98 01 00 68 */ stb r0, 0x68(r1)
/* 800252A0 00022200 88 03 00 31 */ lbz r0, 0x31(r3)
/* 800252A4 00022204 98 01 00 69 */ stb r0, 0x69(r1)
/* 800252A8 00022208 88 03 00 32 */ lbz r0, 0x32(r3)
/* 800252AC 0002220C 38 61 00 38 */ addi r3, r1, 0x38
/* 800252B0 00022210 98 01 00 6A */ stb r0, 0x6a(r1)
/* 800252B4 00022214 4B FF 67 31 */ bl GetUserInput__21CArchMsgParmUserInputCFv
/* 800252B8 00022218 C0 03 00 00 */ lfs f0, 0(r3)
/* 800252BC 0002221C 38 81 00 08 */ addi r4, r1, 8
/* 800252C0 00022220 D0 01 00 08 */ stfs f0, 8(r1)
/* 800252C4 00022224 80 03 00 04 */ lwz r0, 4(r3)
/* 800252C8 00022228 90 01 00 0C */ stw r0, 0xc(r1)
/* 800252CC 0002222C C0 03 00 08 */ lfs f0, 8(r3)
/* 800252D0 00022230 D0 01 00 10 */ stfs f0, 0x10(r1)
/* 800252D4 00022234 C0 03 00 0C */ lfs f0, 0xc(r3)
/* 800252D8 00022238 D0 01 00 14 */ stfs f0, 0x14(r1)
/* 800252DC 0002223C C0 03 00 10 */ lfs f0, 0x10(r3)
/* 800252E0 00022240 D0 01 00 18 */ stfs f0, 0x18(r1)
/* 800252E4 00022244 C0 03 00 14 */ lfs f0, 0x14(r3)
/* 800252E8 00022248 D0 01 00 1C */ stfs f0, 0x1c(r1)
/* 800252EC 0002224C C0 03 00 18 */ lfs f0, 0x18(r3)
/* 800252F0 00022250 D0 01 00 20 */ stfs f0, 0x20(r1)
/* 800252F4 00022254 C0 03 00 1C */ lfs f0, 0x1c(r3)
/* 800252F8 00022258 D0 01 00 24 */ stfs f0, 0x24(r1)
/* 800252FC 0002225C 88 03 00 20 */ lbz r0, 0x20(r3)
/* 80025300 00022260 98 01 00 28 */ stb r0, 0x28(r1)
/* 80025304 00022264 88 03 00 21 */ lbz r0, 0x21(r3)
/* 80025308 00022268 98 01 00 29 */ stb r0, 0x29(r1)
/* 8002530C 0002226C 88 03 00 22 */ lbz r0, 0x22(r3)
/* 80025310 00022270 98 01 00 2A */ stb r0, 0x2a(r1)
/* 80025314 00022274 88 03 00 23 */ lbz r0, 0x23(r3)
/* 80025318 00022278 98 01 00 2B */ stb r0, 0x2b(r1)
/* 8002531C 0002227C C0 03 00 24 */ lfs f0, 0x24(r3)
/* 80025320 00022280 D0 01 00 2C */ stfs f0, 0x2c(r1)
/* 80025324 00022284 C0 03 00 28 */ lfs f0, 0x28(r3)
/* 80025328 00022288 D0 01 00 30 */ stfs f0, 0x30(r1)
/* 8002532C 0002228C 88 03 00 2C */ lbz r0, 0x2c(r3)
/* 80025330 00022290 98 01 00 34 */ stb r0, 0x34(r1)
/* 80025334 00022294 88 03 00 2D */ lbz r0, 0x2d(r3)
/* 80025338 00022298 98 01 00 35 */ stb r0, 0x35(r1)
/* 8002533C 0002229C 88 03 00 2E */ lbz r0, 0x2e(r3)
/* 80025340 000222A0 98 01 00 36 */ stb r0, 0x36(r1)
/* 80025344 000222A4 80 7F 00 14 */ lwz r3, 0x14(r31)
/* 80025348 000222A8 48 22 A4 29 */ bl ProcessUserInput__15CSaveGameScreenFRC11CFinalInput
/* 8002534C 000222AC 38 61 00 38 */ addi r3, r1, 0x38
/* 80025350 000222B0 38 80 FF FF */ li r4, -1
/* 80025354 000222B4 4B FF 66 99 */ bl __dt__21CArchMsgParmUserInputFv
lbl_80025358:
/* 80025358 000222B8 38 60 00 01 */ li r3, 1
lbl_8002535C:
/* 8002535C 000222BC 80 01 00 84 */ lwz r0, 0x84(r1)
/* 80025360 000222C0 83 E1 00 7C */ lwz r31, 0x7c(r1)
/* 80025364 000222C4 7C 08 03 A6 */ mtlr r0
/* 80025368 000222C8 38 21 00 80 */ addi r1, r1, 0x80
/* 8002536C 000222CC 4E 80 00 20 */ blr
.global __dt__9CAutoSaveFv
__dt__9CAutoSaveFv:
/* 80025370 000222D0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80025374 000222D4 7C 08 02 A6 */ mflr r0
/* 80025378 000222D8 90 01 00 14 */ stw r0, 0x14(r1)
/* 8002537C 000222DC 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80025380 000222E0 7C 9F 23 78 */ mr r31, r4
/* 80025384 000222E4 93 C1 00 08 */ stw r30, 8(r1)
/* 80025388 000222E8 7C 7E 1B 79 */ or. r30, r3, r3
/* 8002538C 000222EC 41 82 00 40 */ beq lbl_800253CC
/* 80025390 000222F0 3C 60 80 3E */ lis r3, lbl_803D99F0@ha
/* 80025394 000222F4 34 1E 00 14 */ addic. r0, r30, 0x14
/* 80025398 000222F8 38 03 99 F0 */ addi r0, r3, lbl_803D99F0@l
/* 8002539C 000222FC 90 1E 00 00 */ stw r0, 0(r30)
/* 800253A0 00022300 41 82 00 10 */ beq lbl_800253B0
/* 800253A4 00022304 80 7E 00 14 */ lwz r3, 0x14(r30)
/* 800253A8 00022308 38 80 00 01 */ li r4, 1
/* 800253AC 0002230C 48 22 AA 79 */ bl __dt__15CSaveGameScreenFv
lbl_800253B0:
/* 800253B0 00022310 7F C3 F3 78 */ mr r3, r30
/* 800253B4 00022314 38 80 00 00 */ li r4, 0
/* 800253B8 00022318 48 02 D7 ED */ bl __dt__6CIOWinFv
/* 800253BC 0002231C 7F E0 07 35 */ extsh. r0, r31
/* 800253C0 00022320 40 81 00 0C */ ble lbl_800253CC
/* 800253C4 00022324 7F C3 F3 78 */ mr r3, r30
/* 800253C8 00022328 48 2F 05 69 */ bl Free__7CMemoryFPCv
lbl_800253CC:
/* 800253CC 0002232C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800253D0 00022330 7F C3 F3 78 */ mr r3, r30
/* 800253D4 00022334 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 800253D8 00022338 83 C1 00 08 */ lwz r30, 8(r1)
/* 800253DC 0002233C 7C 08 03 A6 */ mtlr r0
/* 800253E0 00022340 38 21 00 10 */ addi r1, r1, 0x10
/* 800253E4 00022344 4E 80 00 20 */ blr
.global __ct__9CAutoSaveFv
__ct__9CAutoSaveFv:
/* 800253E8 00022348 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 800253EC 0002234C 7C 08 02 A6 */ mflr r0
/* 800253F0 00022350 3C 80 80 3D */ lis r4, lbl_803CCB50@ha
/* 800253F4 00022354 90 01 00 24 */ stw r0, 0x24(r1)
/* 800253F8 00022358 38 84 CB 50 */ addi r4, r4, lbl_803CCB50@l
/* 800253FC 0002235C 38 84 01 48 */ addi r4, r4, 0x148
/* 80025400 00022360 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80025404 00022364 7C 7F 1B 78 */ mr r31, r3
/* 80025408 00022368 38 61 00 08 */ addi r3, r1, 8
/* 8002540C 0002236C 4B FD F8 AD */ bl string_l__4rstlFPCc
/* 80025410 00022370 7F E3 FB 78 */ mr r3, r31
/* 80025414 00022374 38 81 00 08 */ addi r4, r1, 8
/* 80025418 00022378 48 02 D7 F5 */ bl "__ct__6CIOWinFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 8002541C 0002237C 38 61 00 08 */ addi r3, r1, 8
/* 80025420 00022380 48 31 86 C1 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 80025424 00022384 3C 60 80 3E */ lis r3, lbl_803D99F0@ha
/* 80025428 00022388 3C 80 80 3D */ lis r4, lbl_803CCB50@ha
/* 8002542C 0002238C 38 03 99 F0 */ addi r0, r3, lbl_803D99F0@l
/* 80025430 00022390 38 60 00 98 */ li r3, 0x98
/* 80025434 00022394 38 84 CB 50 */ addi r4, r4, lbl_803CCB50@l
/* 80025438 00022398 90 1F 00 00 */ stw r0, 0(r31)
/* 8002543C 0002239C 38 84 01 51 */ addi r4, r4, 0x151
/* 80025440 000223A0 38 A0 00 00 */ li r5, 0
/* 80025444 000223A4 48 2F 04 29 */ bl __nw__FUlPCcPCc
/* 80025448 000223A8 7C 60 1B 79 */ or. r0, r3, r3
/* 8002544C 000223AC 41 82 00 1C */ beq lbl_80025468
/* 80025450 000223B0 80 CD A0 80 */ lwz r6, gpGameState@sda21(r13)
/* 80025454 000223B4 38 80 00 01 */ li r4, 1
/* 80025458 000223B8 80 A6 02 10 */ lwz r5, 0x210(r6)
/* 8002545C 000223BC 80 C6 02 14 */ lwz r6, 0x214(r6)
/* 80025460 000223C0 48 22 AB 1D */ bl __ct__15CSaveGameScreen
/* 80025464 000223C4 7C 60 1B 78 */ mr r0, r3
lbl_80025468:
/* 80025468 000223C8 90 1F 00 14 */ stw r0, 0x14(r31)
/* 8002546C 000223CC 80 6D A0 78 */ lwz r3, gpMain@sda21(r13)
/* 80025470 000223D0 4B FD F1 21 */ bl RefreshGameState__5CMainFv
/* 80025474 000223D4 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80025478 000223D8 7F E3 FB 78 */ mr r3, r31
/* 8002547C 000223DC 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80025480 000223E0 7C 08 03 A6 */ mtlr r0
/* 80025484 000223E4 38 21 00 20 */ addi r1, r1, 0x20
/* 80025488 000223E8 4E 80 00 20 */ blr

File diff suppressed because it is too large Load Diff

1098
asm/Kyoto_CWD/CCredits.s Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,165 @@
.include "macros.inc"
.section .rodata
.global lbl_803CC420
lbl_803CC420:
.incbin "baserom.dol", 0x3C9420, 0x18
.section .sdata
.global lbl_805A6BF8
lbl_805A6BF8:
# ROM: 0x3F4598
.4byte 0
.global lbl_805A6BFC
lbl_805A6BFC:
# ROM: 0x3F459C
.4byte 0x3F800000
.global lbl_805A6C00
lbl_805A6C00:
# ROM: 0x3F45A0
.4byte 0
.global lbl_805A6C04
lbl_805A6C04:
# ROM: 0x3F45A4
.4byte 0x3F800000
.global lbl_805A6C08
lbl_805A6C08:
# ROM: 0x3F45A8
.4byte 0
.global lbl_805A6C0C
lbl_805A6C0C:
# ROM: 0x3F45AC
.4byte 0x3F800000
.global lbl_805A6C10
lbl_805A6C10:
# ROM: 0x3F45B0
.4byte 0
.global lbl_805A6C14
lbl_805A6C14:
# ROM: 0x3F45B4
.4byte 0x3F800000
.global lbl_805A6C18
lbl_805A6C18:
# ROM: 0x3F45B8
.4byte 0
.global lbl_805A6C1C
lbl_805A6C1C:
# ROM: 0x3F45BC
.4byte 0x3F800000
.global lbl_805A6C20
lbl_805A6C20:
# ROM: 0x3F45C0
.4byte 0
.global lbl_805A6C24
lbl_805A6C24:
# ROM: 0x3F45C4
.4byte 0x3F800000
.global lbl_805A6C28
lbl_805A6C28:
# ROM: 0x3F45C8
.4byte 0
.global lbl_805A6C2C
lbl_805A6C2C:
# ROM: 0x3F45CC
.4byte 0x3F800000
.global lbl_805A6C30
lbl_805A6C30:
# ROM: 0x3F45D0
.4byte 0
.global lbl_805A6C34
lbl_805A6C34:
# ROM: 0x3F45D4
.4byte 0x3F800000
.global lbl_805A6C38
lbl_805A6C38:
# ROM: 0x3F45D8
.4byte 0
.global lbl_805A6C3C
lbl_805A6C3C:
# ROM: 0x3F45DC
.4byte 0x3F800000
.global lbl_805A6C40
lbl_805A6C40:
# ROM: 0x3F45E0
.4byte 0
.global lbl_805A6C44
lbl_805A6C44:
# ROM: 0x3F45E4
.4byte 0x3F800000
.section .sdata2
.global lbl_805A9DD0
lbl_805A9DD0:
# ROM: 0x3F6670
.4byte 0
.global lbl_805A9DD4
lbl_805A9DD4:
# ROM: 0x3F6674
.4byte 0x3F800000
.global lbl_805A9DD8
lbl_805A9DD8:
# ROM: 0x3F6678
.4byte 0x3727C5AC
.4byte 0
.global lbl_805A9DE0
lbl_805A9DE0:
# ROM: 0x3F6680
.4byte 0x3FF00000
.4byte 0
.global lbl_805A9DE8
lbl_805A9DE8:
# ROM: 0x3F6688
.4byte 0xBF800000
.global lbl_805A9DEC
lbl_805A9DEC:
# ROM: 0x3F668C
.4byte 0x38D1B717
.global lbl_805A9DF0
lbl_805A9DF0:
# ROM: 0x3F6690
.4byte 0x40C90FDB
.global lbl_805A9DF4
lbl_805A9DF4:
# ROM: 0x3F6694
.4byte 0x3F000000
.global lbl_805A9DF8
lbl_805A9DF8:
# ROM: 0x3F6698
.4byte 0x3E800000
.global lbl_805A9DFC
lbl_805A9DFC:
# ROM: 0x3F669C
.4byte 0x3F7FF972
.section .text, "ax"
.global GetGunFollowTransform__18CFirstPersonCameraCFv

View File

@ -1,5 +1,113 @@
.include "macros.inc"
.section .rodata
.global lbl_803CC540
lbl_803CC540:
.incbin "baserom.dol", 0x3C9540, 0x84
.global lbl_803CC5C4
lbl_803CC5C4:
.incbin "baserom.dol", 0x3C95C4, 0xC
.global lbl_803CC5D0
lbl_803CC5D0:
.incbin "baserom.dol", 0x3C95D0, 0xC
.global lbl_803CC5DC
lbl_803CC5DC:
.incbin "baserom.dol", 0x3C95DC, 0xC
.global lbl_803CC5E8
lbl_803CC5E8:
.incbin "baserom.dol", 0x3C95E8, 0xC
.global lbl_803CC5F4
lbl_803CC5F4:
.incbin "baserom.dol", 0x3C95F4, 0x28
.global lbl_803CC61C
lbl_803CC61C:
.incbin "baserom.dol", 0x3C961C, 0x28
.global lbl_803CC644
lbl_803CC644:
.incbin "baserom.dol", 0x3C9644, 0x45C
.section .sbss
# CFrontEndUI
.global lbl_805A8CB0
lbl_805A8CB0:
.skip 0x8
.section .sdata
.global lbl_805A6CD8
lbl_805A6CD8:
# ROM: 0x3F4678
.4byte 0
.global lbl_805A6CDC
lbl_805A6CDC:
# ROM: 0x3F467C
.4byte 0x3F800000
.global lbl_805A6CE0
lbl_805A6CE0:
# ROM: 0x3F4680
.4byte 0
.global lbl_805A6CE4
lbl_805A6CE4:
# ROM: 0x3F4684
.4byte 0
.global lbl_805A6CE8
lbl_805A6CE8:
# ROM: 0x3F4688
.4byte 0x3F800000
.global lbl_805A6CEC
lbl_805A6CEC:
# ROM: 0x3F468C
.4byte 0
.global lbl_805A6CF0
lbl_805A6CF0:
# ROM: 0x3F4690
.4byte 0x3F800000
.global lbl_805A6CF4
lbl_805A6CF4:
# ROM: 0x3F4694
.4byte 0
.global lbl_805A6CF8
lbl_805A6CF8:
# ROM: 0x3F4698
.4byte 0x3F800000
.global lbl_805A6CFC
lbl_805A6CFC:
# ROM: 0x3F469C
.4byte 0
.global lbl_805A6D00
lbl_805A6D00:
# ROM: 0x3F46A0
.4byte 0x3F800000
.global lbl_805A6D04
lbl_805A6D04:
# ROM: 0x3F46A4
.4byte 0x0000000C
.global lbl_805A6D08
lbl_805A6D08:
# ROM: 0x3F46A8
.4byte 0x0000000B
.global lbl_805A6D0C
lbl_805A6D0C:
# ROM: 0x3F46AC
.4byte 0x0000003F
.4byte 0x003F003F
.4byte 0x003F003F
.4byte 0x003F0000
.4byte 0
.section .text, "ax"
.global GetUserInput__21CArchMsgParmUserInputCFv

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,10 @@
.include "macros.inc"
.section .rodata
.global lbl_803CCAA0
lbl_803CCAA0:
.incbin "baserom.dol", 0x3C9AA0, 0x8
.section .text, "ax"
.global Update__15CInputGeneratorFfR18CArchitectureQueue

View File

@ -0,0 +1,49 @@
.include "macros.inc"
.section .text, "ax"
.global sub_8002940c
sub_8002940c:
/* 8002940C 0002636C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80029410 00026370 7C 08 02 A6 */ mflr r0
/* 80029414 00026374 90 01 00 14 */ stw r0, 0x14(r1)
/* 80029418 00026378 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8002941C 0002637C 7C 7F 1B 78 */ mr r31, r3
/* 80029420 00026380 80 83 00 00 */ lwz r4, 0(r3)
/* 80029424 00026384 80 64 00 04 */ lwz r3, 4(r4)
/* 80029428 00026388 34 03 FF FF */ addic. r0, r3, -1
/* 8002942C 0002638C 90 04 00 04 */ stw r0, 4(r4)
/* 80029430 00026390 41 81 00 38 */ bgt lbl_80029468
/* 80029434 00026394 80 7F 00 00 */ lwz r3, 0(r31)
/* 80029438 00026398 80 63 00 00 */ lwz r3, 0(r3)
/* 8002943C 0002639C 28 03 00 00 */ cmplwi r3, 0
/* 80029440 000263A0 41 82 00 18 */ beq lbl_80029458
/* 80029444 000263A4 81 83 00 00 */ lwz r12, 0(r3)
/* 80029448 000263A8 38 80 00 01 */ li r4, 1
/* 8002944C 000263AC 81 8C 00 08 */ lwz r12, 8(r12)
/* 80029450 000263B0 7D 89 03 A6 */ mtctr r12
/* 80029454 000263B4 4E 80 04 21 */ bctrl
lbl_80029458:
/* 80029458 000263B8 80 7F 00 00 */ lwz r3, 0(r31)
/* 8002945C 000263BC 28 03 00 00 */ cmplwi r3, 0
/* 80029460 000263C0 41 82 00 08 */ beq lbl_80029468
/* 80029464 000263C4 48 2E C4 CD */ bl Free__7CMemoryFPCv
lbl_80029468:
/* 80029468 000263C8 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8002946C 000263CC 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80029470 000263D0 7C 08 03 A6 */ mtlr r0
/* 80029474 000263D4 38 21 00 10 */ addi r1, r1, 0x10
/* 80029478 000263D8 4E 80 00 20 */ blr
.global PageInvoke__12CInstructionCFR16CFontRenderStateP17CTextRenderBuffer
PageInvoke__12CInstructionCFR16CFontRenderStateP17CTextRenderBuffer:
/* 8002947C 000263DC 4E 80 00 20 */ blr
.global "GetAssets__12CInstructionCFRQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>"
"GetAssets__12CInstructionCFRQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>":
/* 80029480 000263E0 4E 80 00 20 */ blr
.global GetAssetCount__12CInstructionCFv
GetAssetCount__12CInstructionCFv:
/* 80029484 000263E4 38 60 00 00 */ li r3, 0
/* 80029488 000263E8 4E 80 00 20 */ blr

993
asm/Kyoto_CWD/CMFGame.s Normal file
View File

@ -0,0 +1,993 @@
.include "macros.inc"
.section .text, "ax"
.global IsCameraActiveFlow__7CMFGameFv
IsCameraActiveFlow__7CMFGameFv:
/* 8002438C 000212EC 80 63 00 1C */ lwz r3, 0x1c(r3)
/* 80024390 000212F0 38 00 00 00 */ li r0, 0
/* 80024394 000212F4 2C 03 00 00 */ cmpwi r3, 0
/* 80024398 000212F8 41 82 00 0C */ beq lbl_800243A4
/* 8002439C 000212FC 2C 03 00 02 */ cmpwi r3, 2
/* 800243A0 00021300 40 82 00 08 */ bne lbl_800243A8
lbl_800243A4:
/* 800243A4 00021304 38 00 00 01 */ li r0, 1
lbl_800243A8:
/* 800243A8 00021308 54 03 06 3E */ clrlwi r3, r0, 0x18
/* 800243AC 0002130C 4E 80 00 20 */ blr
.global PlayerDied__7CMFGameFv
PlayerDied__7CMFGameFv:
/* 800243B0 00021310 38 00 00 02 */ li r0, 2
/* 800243B4 00021314 38 80 00 00 */ li r4, 0
/* 800243B8 00021318 90 03 00 1C */ stw r0, 0x1c(r3)
/* 800243BC 0002131C 88 03 00 2A */ lbz r0, 0x2a(r3)
/* 800243C0 00021320 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19
/* 800243C4 00021324 98 03 00 2A */ stb r0, 0x2a(r3)
/* 800243C8 00021328 4E 80 00 20 */ blr
.global UnpauseGame__7CMFGameFv
UnpauseGame__7CMFGameFv:
/* 800243CC 0002132C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800243D0 00021330 7C 08 02 A6 */ mflr r0
/* 800243D4 00021334 90 01 00 14 */ stw r0, 0x14(r1)
/* 800243D8 00021338 38 00 00 00 */ li r0, 0
/* 800243DC 0002133C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 800243E0 00021340 7C 7F 1B 78 */ mr r31, r3
/* 800243E4 00021344 90 03 00 1C */ stw r0, 0x1c(r3)
/* 800243E8 00021348 38 60 00 01 */ li r3, 1
/* 800243EC 0002134C 48 2C 54 C9 */ bl SetChannel__11CSfxManagerFQ211CSfxManager12ESfxChannels
/* 800243F0 00021350 80 7F 00 14 */ lwz r3, 0x14(r31)
/* 800243F4 00021354 38 80 00 00 */ li r4, 0
/* 800243F8 00021358 80 63 00 00 */ lwz r3, 0(r3)
/* 800243FC 0002135C 48 02 04 65 */ bl DeferStateTransition__13CStateManagerF23EStateManagerTransition
/* 80024400 00021360 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80024404 00021364 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80024408 00021368 7C 08 03 A6 */ mtlr r0
/* 8002440C 0002136C 38 21 00 10 */ addi r1, r1, 0x10
/* 80024410 00021370 4E 80 00 20 */ blr
.global EnterMessageScreen__7CMFGameFf
EnterMessageScreen__7CMFGameFf:
/* 80024414 00021374 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80024418 00021378 7C 08 02 A6 */ mflr r0
/* 8002441C 0002137C 90 01 00 14 */ stw r0, 0x14(r1)
/* 80024420 00021380 38 00 00 01 */ li r0, 1
/* 80024424 00021384 90 03 00 1C */ stw r0, 0x1c(r3)
/* 80024428 00021388 80 83 00 14 */ lwz r4, 0x14(r3)
/* 8002442C 0002138C 80 63 00 18 */ lwz r3, 0x18(r3)
/* 80024430 00021390 80 84 00 00 */ lwz r4, 0(r4)
/* 80024434 00021394 80 63 00 00 */ lwz r3, 0(r3)
/* 80024438 00021398 80 A4 0F 08 */ lwz r5, 0xf08(r4)
/* 8002443C 0002139C 48 0E 33 C1 */ bl ShowPauseGameHudMessage__17CInGameGuiManagerFRC13CStateManagerUi
/* 80024440 000213A0 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80024444 000213A4 7C 08 03 A6 */ mtlr r0
/* 80024448 000213A8 38 21 00 10 */ addi r1, r1, 0x10
/* 8002444C 000213AC 4E 80 00 20 */ blr
.global SaveGame__7CMFGameFv
SaveGame__7CMFGameFv:
/* 80024450 000213B0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80024454 000213B4 7C 08 02 A6 */ mflr r0
/* 80024458 000213B8 38 A0 00 05 */ li r5, 5
/* 8002445C 000213BC 90 01 00 14 */ stw r0, 0x14(r1)
/* 80024460 000213C0 38 00 00 01 */ li r0, 1
/* 80024464 000213C4 90 03 00 1C */ stw r0, 0x1c(r3)
/* 80024468 000213C8 80 83 00 14 */ lwz r4, 0x14(r3)
/* 8002446C 000213CC 80 C3 00 18 */ lwz r6, 0x18(r3)
/* 80024470 000213D0 80 84 00 00 */ lwz r4, 0(r4)
/* 80024474 000213D4 80 66 00 00 */ lwz r3, 0(r6)
/* 80024478 000213D8 48 0E 33 B1 */ bl PauseGame__17CInGameGuiManagerFRC13CStateManager15EInGameGuiState
/* 8002447C 000213DC 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80024480 000213E0 7C 08 03 A6 */ mtlr r0
/* 80024484 000213E4 38 21 00 10 */ addi r1, r1, 0x10
/* 80024488 000213E8 4E 80 00 20 */ blr
.global EnterLogBook__7CMFGameFv
EnterLogBook__7CMFGameFv:
/* 8002448C 000213EC 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80024490 000213F0 7C 08 02 A6 */ mflr r0
/* 80024494 000213F4 38 A0 00 04 */ li r5, 4
/* 80024498 000213F8 90 01 00 14 */ stw r0, 0x14(r1)
/* 8002449C 000213FC 38 00 00 01 */ li r0, 1
/* 800244A0 00021400 90 03 00 1C */ stw r0, 0x1c(r3)
/* 800244A4 00021404 80 83 00 14 */ lwz r4, 0x14(r3)
/* 800244A8 00021408 80 C3 00 18 */ lwz r6, 0x18(r3)
/* 800244AC 0002140C 80 84 00 00 */ lwz r4, 0(r4)
/* 800244B0 00021410 80 66 00 00 */ lwz r3, 0(r6)
/* 800244B4 00021414 48 0E 33 75 */ bl PauseGame__17CInGameGuiManagerFRC13CStateManager15EInGameGuiState
/* 800244B8 00021418 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800244BC 0002141C 7C 08 03 A6 */ mtlr r0
/* 800244C0 00021420 38 21 00 10 */ addi r1, r1, 0x10
/* 800244C4 00021424 4E 80 00 20 */ blr
.global PauseGame__7CMFGameFv
PauseGame__7CMFGameFv:
/* 800244C8 00021428 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800244CC 0002142C 7C 08 02 A6 */ mflr r0
/* 800244D0 00021430 38 A0 00 03 */ li r5, 3
/* 800244D4 00021434 90 01 00 14 */ stw r0, 0x14(r1)
/* 800244D8 00021438 38 00 00 01 */ li r0, 1
/* 800244DC 0002143C 90 03 00 1C */ stw r0, 0x1c(r3)
/* 800244E0 00021440 80 83 00 14 */ lwz r4, 0x14(r3)
/* 800244E4 00021444 80 C3 00 18 */ lwz r6, 0x18(r3)
/* 800244E8 00021448 80 84 00 00 */ lwz r4, 0(r4)
/* 800244EC 0002144C 80 66 00 00 */ lwz r3, 0(r6)
/* 800244F0 00021450 48 0E 33 39 */ bl PauseGame__17CInGameGuiManagerFRC13CStateManager15EInGameGuiState
/* 800244F4 00021454 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800244F8 00021458 7C 08 03 A6 */ mtlr r0
/* 800244FC 0002145C 38 21 00 10 */ addi r1, r1, 0x10
/* 80024500 00021460 4E 80 00 20 */ blr
.global EnterMapScreen__7CMFGameFv
EnterMapScreen__7CMFGameFv:
/* 80024504 00021464 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80024508 00021468 7C 08 02 A6 */ mflr r0
/* 8002450C 0002146C 38 A0 00 02 */ li r5, 2
/* 80024510 00021470 90 01 00 14 */ stw r0, 0x14(r1)
/* 80024514 00021474 38 00 00 01 */ li r0, 1
/* 80024518 00021478 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8002451C 0002147C 7C 7F 1B 78 */ mr r31, r3
/* 80024520 00021480 90 03 00 1C */ stw r0, 0x1c(r3)
/* 80024524 00021484 80 63 00 18 */ lwz r3, 0x18(r3)
/* 80024528 00021488 80 9F 00 14 */ lwz r4, 0x14(r31)
/* 8002452C 0002148C 80 63 00 00 */ lwz r3, 0(r3)
/* 80024530 00021490 80 84 00 00 */ lwz r4, 0(r4)
/* 80024534 00021494 48 0E 32 F5 */ bl PauseGame__17CInGameGuiManagerFRC13CStateManager15EInGameGuiState
/* 80024538 00021498 80 7F 00 14 */ lwz r3, 0x14(r31)
/* 8002453C 0002149C 38 80 00 01 */ li r4, 1
/* 80024540 000214A0 80 63 00 00 */ lwz r3, 0(r3)
/* 80024544 000214A4 88 03 0F 94 */ lbz r0, 0xf94(r3)
/* 80024548 000214A8 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b
/* 8002454C 000214AC 98 03 0F 94 */ stb r0, 0xf94(r3)
/* 80024550 000214B0 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80024554 000214B4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80024558 000214B8 7C 08 03 A6 */ mtlr r0
/* 8002455C 000214BC 38 21 00 10 */ addi r1, r1, 0x10
/* 80024560 000214C0 4E 80 00 20 */ blr
.global Draw__7CMFGameCFv
Draw__7CMFGameCFv:
/* 80024564 000214C4 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80024568 000214C8 7C 08 02 A6 */ mflr r0
/* 8002456C 000214CC 90 01 00 24 */ stw r0, 0x24(r1)
/* 80024570 000214D0 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80024574 000214D4 7C 7F 1B 78 */ mr r31, r3
/* 80024578 000214D8 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8002457C 000214DC 93 A1 00 14 */ stw r29, 0x14(r1)
/* 80024580 000214E0 88 03 00 2A */ lbz r0, 0x2a(r3)
/* 80024584 000214E4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 80024588 000214E8 41 82 00 F8 */ beq lbl_80024680
/* 8002458C 000214EC 48 00 07 E9 */ bl Touch__7CMFGameFv
/* 80024590 000214F0 80 7F 00 18 */ lwz r3, 0x18(r31)
/* 80024594 000214F4 80 63 00 00 */ lwz r3, 0(r3)
/* 80024598 000214F8 48 0E 32 55 */ bl GetIsGameDraw__17CInGameGuiManagerCFv
/* 8002459C 000214FC 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 800245A0 00021500 41 82 00 40 */ beq lbl_800245E0
/* 800245A4 00021504 80 6D A0 78 */ lwz r3, gpMain@sda21(r13)
/* 800245A8 00021508 38 80 00 01 */ li r4, 1
/* 800245AC 0002150C 88 03 01 61 */ lbz r0, 0x161(r3)
/* 800245B0 00021510 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18
/* 800245B4 00021514 98 03 01 61 */ stb r0, 0x161(r3)
/* 800245B8 00021518 80 7F 00 14 */ lwz r3, 0x14(r31)
/* 800245BC 0002151C 80 63 00 00 */ lwz r3, 0(r3)
/* 800245C0 00021520 48 02 2D 85 */ bl PreRender__13CStateManagerFv
/* 800245C4 00021524 80 7F 00 14 */ lwz r3, 0x14(r31)
/* 800245C8 00021528 80 63 00 00 */ lwz r3, 0(r3)
/* 800245CC 0002152C 48 02 19 B1 */ bl DrawWorld__13CStateManagerCFv
/* 800245D0 00021530 80 7F 00 14 */ lwz r3, 0x14(r31)
/* 800245D4 00021534 80 63 00 00 */ lwz r3, 0(r3)
/* 800245D8 00021538 80 63 08 4C */ lwz r3, 0x84c(r3)
/* 800245DC 0002153C 4B FE D4 E9 */ bl IsPlayerDeadEnough__7CPlayerCFv
lbl_800245E0:
/* 800245E0 00021540 80 BF 00 14 */ lwz r5, 0x14(r31)
/* 800245E4 00021544 7F E3 FB 78 */ mr r3, r31
/* 800245E8 00021548 80 9F 00 18 */ lwz r4, 0x18(r31)
/* 800245EC 0002154C 83 C5 00 00 */ lwz r30, 0(r5)
/* 800245F0 00021550 83 A4 00 00 */ lwz r29, 0(r4)
/* 800245F4 00021554 4B FF FD 99 */ bl IsCameraActiveFlow__7CMFGameFv
/* 800245F8 00021558 7C 65 1B 78 */ mr r5, r3
/* 800245FC 0002155C 7F A3 EB 78 */ mr r3, r29
/* 80024600 00021560 7F C4 F3 78 */ mr r4, r30
/* 80024604 00021564 48 0E 40 ED */ bl PreDraw__17CInGameGuiManagerFR13CStateManagerb
/* 80024608 00021568 80 7F 00 18 */ lwz r3, 0x18(r31)
/* 8002460C 0002156C 80 9F 00 14 */ lwz r4, 0x14(r31)
/* 80024610 00021570 80 63 00 00 */ lwz r3, 0(r3)
/* 80024614 00021574 80 84 00 00 */ lwz r4, 0(r4)
/* 80024618 00021578 48 0E 41 3D */ bl Draw__17CInGameGuiManagerCFRC13CStateManager
/* 8002461C 0002157C 80 1F 00 1C */ lwz r0, 0x1c(r31)
/* 80024620 00021580 2C 00 00 03 */ cmpwi r0, 3
/* 80024624 00021584 40 82 00 5C */ bne lbl_80024680
/* 80024628 00021588 C0 42 83 08 */ lfs f2, lbl_805AA028@sda21(r2)
/* 8002462C 0002158C C0 3F 00 20 */ lfs f1, 0x20(r31)
/* 80024630 00021590 C0 0D 81 88 */ lfs f0, lbl_805A6D48@sda21(r13)
/* 80024634 00021594 EC 22 08 28 */ fsubs f1, f2, f1
/* 80024638 00021598 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8002463C 0002159C D0 21 00 0C */ stfs f1, 0xc(r1)
/* 80024640 000215A0 40 80 00 0C */ bge lbl_8002464C
/* 80024644 000215A4 38 61 00 0C */ addi r3, r1, 0xc
/* 80024648 000215A8 48 00 00 08 */ b lbl_80024650
lbl_8002464C:
/* 8002464C 000215AC 38 6D 81 88 */ addi r3, r13, lbl_805A6D48@sda21
lbl_80024650:
/* 80024650 000215B0 C0 23 00 00 */ lfs f1, 0(r3)
/* 80024654 000215B4 38 61 00 08 */ addi r3, r1, 8
/* 80024658 000215B8 FC 40 08 90 */ fmr f2, f1
/* 8002465C 000215BC FC 60 08 90 */ fmr f3, f1
/* 80024660 000215C0 FC 80 08 90 */ fmr f4, f1
/* 80024664 000215C4 48 33 ED 89 */ bl __ct__6CColorFffff
/* 80024668 000215C8 C0 22 83 08 */ lfs f1, lbl_805AA028@sda21(r2)
/* 8002466C 000215CC 7C 65 1B 78 */ mr r5, r3
/* 80024670 000215D0 38 60 00 01 */ li r3, 1
/* 80024674 000215D4 38 80 00 00 */ li r4, 0
/* 80024678 000215D8 38 C0 00 00 */ li r6, 0
/* 8002467C 000215DC 48 0C 7A CD */ bl DrawFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapeRC6CColorPC8CTexturef
lbl_80024680:
/* 80024680 000215E0 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80024684 000215E4 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80024688 000215E8 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8002468C 000215EC 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80024690 000215F0 7C 08 03 A6 */ mtlr r0
/* 80024694 000215F4 38 21 00 20 */ addi r1, r1, 0x20
/* 80024698 000215F8 4E 80 00 20 */ blr
.global OnMessage__7CMFGameFRC20CArchitectureMessageR18CArchitectureQueue
OnMessage__7CMFGameFRC20CArchitectureMessageR18CArchitectureQueue:
/* 8002469C 000215FC 94 21 FF 40 */ stwu r1, -0xc0(r1)
/* 800246A0 00021600 7C 08 02 A6 */ mflr r0
/* 800246A4 00021604 90 01 00 C4 */ stw r0, 0xc4(r1)
/* 800246A8 00021608 DB E1 00 B0 */ stfd f31, 0xb0(r1)
/* 800246AC 0002160C F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0
/* 800246B0 00021610 93 E1 00 AC */ stw r31, 0xac(r1)
/* 800246B4 00021614 93 C1 00 A8 */ stw r30, 0xa8(r1)
/* 800246B8 00021618 93 A1 00 A4 */ stw r29, 0xa4(r1)
/* 800246BC 0002161C 93 81 00 A0 */ stw r28, 0xa0(r1)
/* 800246C0 00021620 7C 7D 1B 78 */ mr r29, r3
/* 800246C4 00021624 80 64 00 04 */ lwz r3, 4(r4)
/* 800246C8 00021628 7C BE 2B 78 */ mr r30, r5
/* 800246CC 0002162C 38 03 FF FC */ addi r0, r3, -4
/* 800246D0 00021630 28 00 00 07 */ cmplwi r0, 7
/* 800246D4 00021634 41 81 06 74 */ bgt lbl_80024D48
/* 800246D8 00021638 3C 60 80 3E */ lis r3, lbl_803D99B4@ha
/* 800246DC 0002163C 54 00 10 3A */ slwi r0, r0, 2
/* 800246E0 00021640 38 63 99 B4 */ addi r3, r3, lbl_803D99B4@l
/* 800246E4 00021644 7C 03 00 2E */ lwzx r0, r3, r0
/* 800246E8 00021648 7C 09 03 A6 */ mtctr r0
/* 800246EC 0002164C 4E 80 04 20 */ bctr
/* 800246F0 00021650 7C 83 23 78 */ mr r3, r4
/* 800246F4 00021654 48 02 D1 95 */ bl GetParm__20CArchitectureMessageCFv
/* 800246F8 00021658 80 BD 00 14 */ lwz r5, 0x14(r29)
/* 800246FC 0002165C 80 83 00 04 */ lwz r4, 4(r3)
/* 80024700 00021660 80 65 00 00 */ lwz r3, 0(r5)
/* 80024704 00021664 48 02 6E 59 */ bl FrameBegin__13CStateManagerFUi
/* 80024708 00021668 48 00 06 40 */ b lbl_80024D48
/* 8002470C 0002166C 88 BD 00 2A */ lbz r5, 0x2a(r29)
/* 80024710 00021670 38 00 00 01 */ li r0, 1
/* 80024714 00021674 7C 83 23 78 */ mr r3, r4
/* 80024718 00021678 54 BF CF FE */ rlwinm r31, r5, 0x19, 0x1f, 0x1f
/* 8002471C 0002167C 50 05 3E 30 */ rlwimi r5, r0, 7, 0x18, 0x18
/* 80024720 00021680 98 BD 00 2A */ stb r5, 0x2a(r29)
/* 80024724 00021684 48 02 D4 99 */ bl GetParmTimerTick__7MakeMsgFRC20CArchitectureMessage
/* 80024728 00021688 80 1D 00 1C */ lwz r0, 0x1c(r29)
/* 8002472C 0002168C C3 E3 00 04 */ lfs f31, 4(r3)
/* 80024730 00021690 2C 00 00 02 */ cmpwi r0, 2
/* 80024734 00021694 41 82 02 70 */ beq lbl_800249A4
/* 80024738 00021698 40 80 00 14 */ bge lbl_8002474C
/* 8002473C 0002169C 2C 00 00 00 */ cmpwi r0, 0
/* 80024740 000216A0 41 82 00 C0 */ beq lbl_80024800
/* 80024744 000216A4 40 80 01 B4 */ bge lbl_800248F8
/* 80024748 000216A8 48 00 02 D8 */ b lbl_80024A20
lbl_8002474C:
/* 8002474C 000216AC 2C 00 00 04 */ cmpwi r0, 4
/* 80024750 000216B0 40 80 02 D0 */ bge lbl_80024A20
/* 80024754 000216B4 C0 1D 00 20 */ lfs f0, 0x20(r29)
/* 80024758 000216B8 EC 00 F8 2A */ fadds f0, f0, f31
/* 8002475C 000216BC D0 1D 00 20 */ stfs f0, 0x20(r29)
/* 80024760 000216C0 80 7D 00 14 */ lwz r3, 0x14(r29)
/* 80024764 000216C4 80 83 00 00 */ lwz r4, 0(r3)
/* 80024768 000216C8 80 64 08 70 */ lwz r3, 0x870(r4)
/* 8002476C 000216CC 4B FE 73 AD */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager
/* 80024770 000216D0 7C 60 1B 78 */ mr r0, r3
/* 80024774 000216D4 38 61 00 10 */ addi r3, r1, 0x10
/* 80024778 000216D8 7C 04 03 78 */ mr r4, r0
/* 8002477C 000216DC 48 08 AF B5 */ bl "__ct__30TCastToPtr<16CCinematicCamera>FR7CEntity"
/* 80024780 000216E0 C0 3D 00 20 */ lfs f1, 0x20(r29)
/* 80024784 000216E4 C0 02 83 08 */ lfs f0, lbl_805AA028@sda21(r2)
/* 80024788 000216E8 83 83 00 04 */ lwz r28, 4(r3)
/* 8002478C 000216EC FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80024790 000216F0 4C 41 13 82 */ cror 2, 1, 2
/* 80024794 000216F4 40 82 00 18 */ bne lbl_800247AC
/* 80024798 000216F8 80 7D 00 14 */ lwz r3, 0x14(r29)
/* 8002479C 000216FC 80 63 00 00 */ lwz r3, 0(r3)
/* 800247A0 00021700 48 02 02 15 */ bl SpecialSkipCinematic__13CStateManagerFv
/* 800247A4 00021704 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 800247A8 00021708 40 82 00 28 */ bne lbl_800247D0
lbl_800247AC:
/* 800247AC 0002170C 28 1C 00 00 */ cmplwi r28, 0
/* 800247B0 00021710 41 82 00 20 */ beq lbl_800247D0
/* 800247B4 00021714 80 1C 02 1C */ lwz r0, 0x21c(r28)
/* 800247B8 00021718 54 00 06 F7 */ rlwinm. r0, r0, 0, 0x1b, 0x1b
/* 800247BC 0002171C 41 82 00 44 */ beq lbl_80024800
/* 800247C0 00021720 A0 7D 00 28 */ lhz r3, 0x28(r29)
/* 800247C4 00021724 A0 1C 00 08 */ lhz r0, 8(r28)
/* 800247C8 00021728 7C 03 00 40 */ cmplw r3, r0
/* 800247CC 0002172C 41 82 00 34 */ beq lbl_80024800
lbl_800247D0:
/* 800247D0 00021730 80 6D A0 78 */ lwz r3, gpMain@sda21(r13)
/* 800247D4 00021734 38 80 00 00 */ li r4, 0
/* 800247D8 00021738 88 03 01 60 */ lbz r0, 0x160(r3)
/* 800247DC 0002173C 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a
/* 800247E0 00021740 98 03 01 60 */ stb r0, 0x160(r3)
/* 800247E4 00021744 90 9D 00 1C */ stw r4, 0x1c(r29)
/* 800247E8 00021748 80 7D 00 18 */ lwz r3, 0x18(r29)
/* 800247EC 0002174C 80 63 00 00 */ lwz r3, 0(r3)
/* 800247F0 00021750 48 0E 4A 25 */ bl StartFadeIn__17CInGameGuiManagerFv
/* 800247F4 00021754 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13)
/* 800247F8 00021758 B0 1D 00 28 */ sth r0, 0x28(r29)
/* 800247FC 0002175C 48 00 02 24 */ b lbl_80024A20
lbl_80024800:
/* 80024800 00021760 80 7D 00 14 */ lwz r3, 0x14(r29)
/* 80024804 00021764 80 63 00 00 */ lwz r3, 0(r3)
/* 80024808 00021768 38 03 08 FC */ addi r0, r3, 0x8fc
/* 8002480C 0002176C 90 03 09 00 */ stw r0, 0x900(r3)
/* 80024810 00021770 80 7D 00 14 */ lwz r3, 0x14(r29)
/* 80024814 00021774 80 63 00 00 */ lwz r3, 0(r3)
/* 80024818 00021778 80 03 0F 90 */ lwz r0, 0xf90(r3)
/* 8002481C 0002177C 2C 00 00 03 */ cmpwi r0, 3
/* 80024820 00021780 41 82 00 70 */ beq lbl_80024890
/* 80024824 00021784 40 80 00 1C */ bge lbl_80024840
/* 80024828 00021788 2C 00 00 01 */ cmpwi r0, 1
/* 8002482C 0002178C 41 82 00 4C */ beq lbl_80024878
/* 80024830 00021790 40 80 00 54 */ bge lbl_80024884
/* 80024834 00021794 2C 00 00 00 */ cmpwi r0, 0
/* 80024838 00021798 40 80 00 18 */ bge lbl_80024850
/* 8002483C 0002179C 48 00 00 78 */ b lbl_800248B4
lbl_80024840:
/* 80024840 000217A0 2C 00 00 05 */ cmpwi r0, 5
/* 80024844 000217A4 41 82 00 64 */ beq lbl_800248A8
/* 80024848 000217A8 40 80 00 6C */ bge lbl_800248B4
/* 8002484C 000217AC 48 00 00 50 */ b lbl_8002489C
lbl_80024850:
/* 80024850 000217B0 FC 20 F8 90 */ fmr f1, f31
/* 80024854 000217B4 48 02 5F 79 */ bl Update__13CStateManagerFf
/* 80024858 000217B8 80 7D 00 14 */ lwz r3, 0x14(r29)
/* 8002485C 000217BC 80 63 00 00 */ lwz r3, 0(r3)
/* 80024860 000217C0 88 03 0F 94 */ lbz r0, 0xf94(r3)
/* 80024864 000217C4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f
/* 80024868 000217C8 41 82 00 4C */ beq lbl_800248B4
/* 8002486C 000217CC 38 60 00 00 */ li r3, 0
/* 80024870 000217D0 48 2E 4C 39 */ bl SetIsBeginSceneClearFb__9CGraphicsFb
/* 80024874 000217D4 48 00 00 40 */ b lbl_800248B4
lbl_80024878:
/* 80024878 000217D8 7F A3 EB 78 */ mr r3, r29
/* 8002487C 000217DC 4B FF FC 89 */ bl EnterMapScreen__7CMFGameFv
/* 80024880 000217E0 48 00 00 34 */ b lbl_800248B4
lbl_80024884:
/* 80024884 000217E4 7F A3 EB 78 */ mr r3, r29
/* 80024888 000217E8 4B FF FC 41 */ bl PauseGame__7CMFGameFv
/* 8002488C 000217EC 48 00 00 28 */ b lbl_800248B4
lbl_80024890:
/* 80024890 000217F0 7F A3 EB 78 */ mr r3, r29
/* 80024894 000217F4 4B FF FB F9 */ bl EnterLogBook__7CMFGameFv
/* 80024898 000217F8 48 00 00 1C */ b lbl_800248B4
lbl_8002489C:
/* 8002489C 000217FC 7F A3 EB 78 */ mr r3, r29
/* 800248A0 00021800 4B FF FB B1 */ bl SaveGame__7CMFGameFv
/* 800248A4 00021804 48 00 00 10 */ b lbl_800248B4
lbl_800248A8:
/* 800248A8 00021808 C0 23 0F 78 */ lfs f1, 0xf78(r3)
/* 800248AC 0002180C 7F A3 EB 78 */ mr r3, r29
/* 800248B0 00021810 4B FF FB 65 */ bl EnterMessageScreen__7CMFGameFf
lbl_800248B4:
/* 800248B4 00021814 88 1D 00 2A */ lbz r0, 0x2a(r29)
/* 800248B8 00021818 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f
/* 800248BC 0002181C 41 82 00 28 */ beq lbl_800248E4
/* 800248C0 00021820 80 7D 00 14 */ lwz r3, 0x14(r29)
/* 800248C4 00021824 80 63 00 00 */ lwz r3, 0(r3)
/* 800248C8 00021828 80 63 08 B8 */ lwz r3, 0x8b8(r3)
/* 800248CC 0002182C 80 63 00 00 */ lwz r3, 0(r3)
/* 800248D0 00021830 88 03 00 00 */ lbz r0, 0(r3)
/* 800248D4 00021834 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 800248D8 00021838 40 82 00 0C */ bne lbl_800248E4
/* 800248DC 0002183C 7F A3 EB 78 */ mr r3, r29
/* 800248E0 00021840 4B FF FA D1 */ bl PlayerDied__7CMFGameFv
lbl_800248E4:
/* 800248E4 00021844 80 7D 00 14 */ lwz r3, 0x14(r29)
/* 800248E8 00021848 38 00 00 00 */ li r0, 0
/* 800248EC 0002184C 80 63 00 00 */ lwz r3, 0(r3)
/* 800248F0 00021850 90 03 09 00 */ stw r0, 0x900(r3)
/* 800248F4 00021854 48 00 01 2C */ b lbl_80024A20
lbl_800248F8:
/* 800248F8 00021858 80 7D 00 18 */ lwz r3, 0x18(r29)
/* 800248FC 0002185C 38 80 00 00 */ li r4, 0
/* 80024900 00021860 7C 80 23 78 */ mr r0, r4
/* 80024904 00021864 80 A3 00 00 */ lwz r5, 0(r3)
/* 80024908 00021868 80 65 01 BC */ lwz r3, 0x1bc(r5)
/* 8002490C 0002186C 2C 03 00 00 */ cmpwi r3, 0
/* 80024910 00021870 41 80 00 10 */ blt lbl_80024920
/* 80024914 00021874 2C 03 00 01 */ cmpwi r3, 1
/* 80024918 00021878 41 81 00 08 */ bgt lbl_80024920
/* 8002491C 0002187C 38 00 00 01 */ li r0, 1
lbl_80024920:
/* 80024920 00021880 54 00 06 3F */ clrlwi. r0, r0, 0x18
/* 80024924 00021884 41 82 00 2C */ beq lbl_80024950
/* 80024928 00021888 80 65 01 C0 */ lwz r3, 0x1c0(r5)
/* 8002492C 0002188C 38 00 00 00 */ li r0, 0
/* 80024930 00021890 2C 03 00 00 */ cmpwi r3, 0
/* 80024934 00021894 41 80 00 10 */ blt lbl_80024944
/* 80024938 00021898 2C 03 00 01 */ cmpwi r3, 1
/* 8002493C 0002189C 41 81 00 08 */ bgt lbl_80024944
/* 80024940 000218A0 38 00 00 01 */ li r0, 1
lbl_80024944:
/* 80024944 000218A4 54 00 06 3F */ clrlwi. r0, r0, 0x18
/* 80024948 000218A8 41 82 00 08 */ beq lbl_80024950
/* 8002494C 000218AC 38 80 00 01 */ li r4, 1
lbl_80024950:
/* 80024950 000218B0 54 80 06 3F */ clrlwi. r0, r4, 0x18
/* 80024954 000218B4 41 82 00 CC */ beq lbl_80024A20
/* 80024958 000218B8 80 9D 00 14 */ lwz r4, 0x14(r29)
/* 8002495C 000218BC 7F A3 EB 78 */ mr r3, r29
/* 80024960 000218C0 88 05 01 F8 */ lbz r0, 0x1f8(r5)
/* 80024964 000218C4 80 84 00 00 */ lwz r4, 0(r4)
/* 80024968 000218C8 54 05 E7 FE */ rlwinm r5, r0, 0x1c, 0x1f, 0x1f
/* 8002496C 000218CC 88 04 0F 94 */ lbz r0, 0xf94(r4)
/* 80024970 000218D0 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c
/* 80024974 000218D4 98 04 0F 94 */ stb r0, 0xf94(r4)
/* 80024978 000218D8 4B FF FA 55 */ bl UnpauseGame__7CMFGameFv
/* 8002497C 000218DC 80 7D 00 14 */ lwz r3, 0x14(r29)
/* 80024980 000218E0 80 83 00 00 */ lwz r4, 0(r3)
/* 80024984 000218E4 80 64 0F 08 */ lwz r3, 0xf08(r4)
/* 80024988 000218E8 3C 03 00 01 */ addis r0, r3, 1
/* 8002498C 000218EC 28 00 FF FF */ cmplwi r0, 0xffff
/* 80024990 000218F0 41 82 00 90 */ beq lbl_80024A20
/* 80024994 000218F4 80 64 0F 80 */ lwz r3, 0xf80(r4)
/* 80024998 000218F8 38 03 00 01 */ addi r0, r3, 1
/* 8002499C 000218FC 90 04 0F 80 */ stw r0, 0xf80(r4)
/* 800249A0 00021900 48 00 00 80 */ b lbl_80024A20
lbl_800249A4:
/* 800249A4 00021904 80 7D 00 14 */ lwz r3, 0x14(r29)
/* 800249A8 00021908 80 63 00 00 */ lwz r3, 0(r3)
/* 800249AC 0002190C 80 63 08 4C */ lwz r3, 0x84c(r3)
/* 800249B0 00021910 4B FE D1 15 */ bl IsPlayerDeadEnough__7CPlayerCFv
/* 800249B4 00021914 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 800249B8 00021918 41 82 00 38 */ beq lbl_800249F0
/* 800249BC 0002191C 80 AD A0 78 */ lwz r5, gpMain@sda21(r13)
/* 800249C0 00021920 38 00 00 04 */ li r0, 4
/* 800249C4 00021924 38 61 00 24 */ addi r3, r1, 0x24
/* 800249C8 00021928 38 80 00 01 */ li r4, 1
/* 800249CC 0002192C 90 05 01 2C */ stw r0, 0x12c(r5)
/* 800249D0 00021930 48 02 CF 91 */ bl CreateQuitGameplay__7MakeMsgF14EArchMsgTarget
/* 800249D4 00021934 7F C3 F3 78 */ mr r3, r30
/* 800249D8 00021938 38 81 00 24 */ addi r4, r1, 0x24
/* 800249DC 0002193C 4B FE 23 25 */ bl InsertMsg__18CArchitectureQueueFRC20CArchitectureMessage
/* 800249E0 00021940 34 61 00 2C */ addic. r3, r1, 0x2c
/* 800249E4 00021944 41 82 00 3C */ beq lbl_80024A20
/* 800249E8 00021948 4B FE 3D 25 */ bl sub_8000870c
/* 800249EC 0002194C 48 00 00 34 */ b lbl_80024A20
lbl_800249F0:
/* 800249F0 00021950 80 7D 00 14 */ lwz r3, 0x14(r29)
/* 800249F4 00021954 FC 20 F8 90 */ fmr f1, f31
/* 800249F8 00021958 80 63 00 00 */ lwz r3, 0(r3)
/* 800249FC 0002195C 38 03 08 FC */ addi r0, r3, 0x8fc
/* 80024A00 00021960 90 03 09 00 */ stw r0, 0x900(r3)
/* 80024A04 00021964 80 7D 00 14 */ lwz r3, 0x14(r29)
/* 80024A08 00021968 80 63 00 00 */ lwz r3, 0(r3)
/* 80024A0C 0002196C 48 02 5D C1 */ bl Update__13CStateManagerFf
/* 80024A10 00021970 80 7D 00 14 */ lwz r3, 0x14(r29)
/* 80024A14 00021974 38 00 00 00 */ li r0, 0
/* 80024A18 00021978 80 63 00 00 */ lwz r3, 0(r3)
/* 80024A1C 0002197C 90 03 09 00 */ stw r0, 0x900(r3)
lbl_80024A20:
/* 80024A20 00021980 80 BD 00 14 */ lwz r5, 0x14(r29)
/* 80024A24 00021984 7F A3 EB 78 */ mr r3, r29
/* 80024A28 00021988 80 9D 00 18 */ lwz r4, 0x18(r29)
/* 80024A2C 0002198C 83 A5 00 00 */ lwz r29, 0(r5)
/* 80024A30 00021990 83 84 00 00 */ lwz r28, 0(r4)
/* 80024A34 00021994 4B FF F9 59 */ bl IsCameraActiveFlow__7CMFGameFv
/* 80024A38 00021998 FC 20 F8 90 */ fmr f1, f31
/* 80024A3C 0002199C 7C 66 1B 78 */ mr r6, r3
/* 80024A40 000219A0 7F 83 E3 78 */ mr r3, r28
/* 80024A44 000219A4 7F A4 EB 78 */ mr r4, r29
/* 80024A48 000219A8 7F C5 F3 78 */ mr r5, r30
/* 80024A4C 000219AC 48 0E 35 FD */ bl Update__17CInGameGuiManagerFRC13CStateManagerfR18CArchitectureQueueb
/* 80024A50 000219B0 28 1F 00 00 */ cmplwi r31, 0
/* 80024A54 000219B4 40 82 00 18 */ bne lbl_80024A6C
/* 80024A58 000219B8 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13)
/* 80024A5C 000219BC 48 1A EE BD */ bl WorldTransitionManager__10CGameStateFv
/* 80024A60 000219C0 80 63 00 00 */ lwz r3, 0(r3)
/* 80024A64 000219C4 80 63 00 00 */ lwz r3, 0(r3)
/* 80024A68 000219C8 48 1E 60 F1 */ bl EndTransition__18CWorldTransManagerFv
lbl_80024A6C:
/* 80024A6C 000219CC 38 60 00 01 */ li r3, 1
/* 80024A70 000219D0 48 00 02 DC */ b lbl_80024D4C
/* 80024A74 000219D4 88 1D 00 2A */ lbz r0, 0x2a(r29)
/* 80024A78 000219D8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 80024A7C 000219DC 41 82 02 CC */ beq lbl_80024D48
/* 80024A80 000219E0 7C 83 23 78 */ mr r3, r4
/* 80024A84 000219E4 48 02 D0 61 */ bl GetParmUserInput__7MakeMsgFRC20CArchitectureMessage
/* 80024A88 000219E8 3C A0 80 3E */ lis r5, lbl_803D8E9C@ha
/* 80024A8C 000219EC 3C 80 80 3E */ lis r4, lbl_803D9810@ha
/* 80024A90 000219F0 38 05 8E 9C */ addi r0, r5, lbl_803D8E9C@l
/* 80024A94 000219F4 90 01 00 60 */ stw r0, 0x60(r1)
/* 80024A98 000219F8 38 04 98 10 */ addi r0, r4, lbl_803D9810@l
/* 80024A9C 000219FC 90 01 00 60 */ stw r0, 0x60(r1)
/* 80024AA0 00021A00 C0 03 00 04 */ lfs f0, 4(r3)
/* 80024AA4 00021A04 D0 01 00 64 */ stfs f0, 0x64(r1)
/* 80024AA8 00021A08 80 03 00 08 */ lwz r0, 8(r3)
/* 80024AAC 00021A0C 90 01 00 68 */ stw r0, 0x68(r1)
/* 80024AB0 00021A10 C0 03 00 0C */ lfs f0, 0xc(r3)
/* 80024AB4 00021A14 D0 01 00 6C */ stfs f0, 0x6c(r1)
/* 80024AB8 00021A18 C0 03 00 10 */ lfs f0, 0x10(r3)
/* 80024ABC 00021A1C D0 01 00 70 */ stfs f0, 0x70(r1)
/* 80024AC0 00021A20 C0 03 00 14 */ lfs f0, 0x14(r3)
/* 80024AC4 00021A24 D0 01 00 74 */ stfs f0, 0x74(r1)
/* 80024AC8 00021A28 C0 03 00 18 */ lfs f0, 0x18(r3)
/* 80024ACC 00021A2C D0 01 00 78 */ stfs f0, 0x78(r1)
/* 80024AD0 00021A30 C0 03 00 1C */ lfs f0, 0x1c(r3)
/* 80024AD4 00021A34 D0 01 00 7C */ stfs f0, 0x7c(r1)
/* 80024AD8 00021A38 C0 03 00 20 */ lfs f0, 0x20(r3)
/* 80024ADC 00021A3C D0 01 00 80 */ stfs f0, 0x80(r1)
/* 80024AE0 00021A40 88 03 00 24 */ lbz r0, 0x24(r3)
/* 80024AE4 00021A44 98 01 00 84 */ stb r0, 0x84(r1)
/* 80024AE8 00021A48 88 03 00 25 */ lbz r0, 0x25(r3)
/* 80024AEC 00021A4C 98 01 00 85 */ stb r0, 0x85(r1)
/* 80024AF0 00021A50 88 03 00 26 */ lbz r0, 0x26(r3)
/* 80024AF4 00021A54 98 01 00 86 */ stb r0, 0x86(r1)
/* 80024AF8 00021A58 88 03 00 27 */ lbz r0, 0x27(r3)
/* 80024AFC 00021A5C 98 01 00 87 */ stb r0, 0x87(r1)
/* 80024B00 00021A60 C0 03 00 28 */ lfs f0, 0x28(r3)
/* 80024B04 00021A64 D0 01 00 88 */ stfs f0, 0x88(r1)
/* 80024B08 00021A68 C0 03 00 2C */ lfs f0, 0x2c(r3)
/* 80024B0C 00021A6C D0 01 00 8C */ stfs f0, 0x8c(r1)
/* 80024B10 00021A70 88 03 00 30 */ lbz r0, 0x30(r3)
/* 80024B14 00021A74 98 01 00 90 */ stb r0, 0x90(r1)
/* 80024B18 00021A78 88 03 00 31 */ lbz r0, 0x31(r3)
/* 80024B1C 00021A7C 98 01 00 91 */ stb r0, 0x91(r1)
/* 80024B20 00021A80 88 03 00 32 */ lbz r0, 0x32(r3)
/* 80024B24 00021A84 38 61 00 60 */ addi r3, r1, 0x60
/* 80024B28 00021A88 98 01 00 92 */ stb r0, 0x92(r1)
/* 80024B2C 00021A8C 4B FF 6E B9 */ bl GetUserInput__21CArchMsgParmUserInputCFv
/* 80024B30 00021A90 C0 03 00 00 */ lfs f0, 0(r3)
/* 80024B34 00021A94 D0 01 00 30 */ stfs f0, 0x30(r1)
/* 80024B38 00021A98 80 83 00 04 */ lwz r4, 4(r3)
/* 80024B3C 00021A9C 90 81 00 34 */ stw r4, 0x34(r1)
/* 80024B40 00021AA0 C0 03 00 08 */ lfs f0, 8(r3)
/* 80024B44 00021AA4 D0 01 00 38 */ stfs f0, 0x38(r1)
/* 80024B48 00021AA8 C0 03 00 0C */ lfs f0, 0xc(r3)
/* 80024B4C 00021AAC D0 01 00 3C */ stfs f0, 0x3c(r1)
/* 80024B50 00021AB0 C0 03 00 10 */ lfs f0, 0x10(r3)
/* 80024B54 00021AB4 D0 01 00 40 */ stfs f0, 0x40(r1)
/* 80024B58 00021AB8 C0 03 00 14 */ lfs f0, 0x14(r3)
/* 80024B5C 00021ABC D0 01 00 44 */ stfs f0, 0x44(r1)
/* 80024B60 00021AC0 C0 03 00 18 */ lfs f0, 0x18(r3)
/* 80024B64 00021AC4 D0 01 00 48 */ stfs f0, 0x48(r1)
/* 80024B68 00021AC8 C0 03 00 1C */ lfs f0, 0x1c(r3)
/* 80024B6C 00021ACC D0 01 00 4C */ stfs f0, 0x4c(r1)
/* 80024B70 00021AD0 88 03 00 20 */ lbz r0, 0x20(r3)
/* 80024B74 00021AD4 98 01 00 50 */ stb r0, 0x50(r1)
/* 80024B78 00021AD8 88 03 00 21 */ lbz r0, 0x21(r3)
/* 80024B7C 00021ADC 98 01 00 51 */ stb r0, 0x51(r1)
/* 80024B80 00021AE0 88 03 00 22 */ lbz r0, 0x22(r3)
/* 80024B84 00021AE4 98 01 00 52 */ stb r0, 0x52(r1)
/* 80024B88 00021AE8 88 03 00 23 */ lbz r0, 0x23(r3)
/* 80024B8C 00021AEC 98 01 00 53 */ stb r0, 0x53(r1)
/* 80024B90 00021AF0 C0 03 00 24 */ lfs f0, 0x24(r3)
/* 80024B94 00021AF4 D0 01 00 54 */ stfs f0, 0x54(r1)
/* 80024B98 00021AF8 C0 03 00 28 */ lfs f0, 0x28(r3)
/* 80024B9C 00021AFC D0 01 00 58 */ stfs f0, 0x58(r1)
/* 80024BA0 00021B00 88 03 00 2C */ lbz r0, 0x2c(r3)
/* 80024BA4 00021B04 98 01 00 5C */ stb r0, 0x5c(r1)
/* 80024BA8 00021B08 88 03 00 2D */ lbz r0, 0x2d(r3)
/* 80024BAC 00021B0C 98 01 00 5D */ stb r0, 0x5d(r1)
/* 80024BB0 00021B10 88 03 00 2E */ lbz r0, 0x2e(r3)
/* 80024BB4 00021B14 98 01 00 5E */ stb r0, 0x5e(r1)
/* 80024BB8 00021B18 80 1D 00 1C */ lwz r0, 0x1c(r29)
/* 80024BBC 00021B1C 2C 00 00 00 */ cmpwi r0, 0
/* 80024BC0 00021B20 40 82 01 08 */ bne lbl_80024CC8
/* 80024BC4 00021B24 2C 04 00 00 */ cmpwi r4, 0
/* 80024BC8 00021B28 40 82 00 D0 */ bne lbl_80024C98
/* 80024BCC 00021B2C 80 7D 00 14 */ lwz r3, 0x14(r29)
/* 80024BD0 00021B30 80 83 00 00 */ lwz r4, 0(r3)
/* 80024BD4 00021B34 80 64 08 70 */ lwz r3, 0x870(r4)
/* 80024BD8 00021B38 4B FE 6F 41 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager
/* 80024BDC 00021B3C 7C 60 1B 78 */ mr r0, r3
/* 80024BE0 00021B40 38 61 00 08 */ addi r3, r1, 8
/* 80024BE4 00021B44 7C 04 03 78 */ mr r4, r0
/* 80024BE8 00021B48 48 08 AB 49 */ bl "__ct__30TCastToPtr<16CCinematicCamera>FR7CEntity"
/* 80024BEC 00021B4C 88 81 00 5E */ lbz r4, 0x5e(r1)
/* 80024BF0 00021B50 83 83 00 04 */ lwz r28, 4(r3)
/* 80024BF4 00021B54 54 80 07 FF */ clrlwi. r0, r4, 0x1f
/* 80024BF8 00021B58 41 82 00 6C */ beq lbl_80024C64
/* 80024BFC 00021B5C 28 1C 00 00 */ cmplwi r28, 0
/* 80024C00 00021B60 41 82 00 48 */ beq lbl_80024C48
/* 80024C04 00021B64 80 7D 00 14 */ lwz r3, 0x14(r29)
/* 80024C08 00021B68 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13)
/* 80024C0C 00021B6C 80 63 00 00 */ lwz r3, 0(r3)
/* 80024C10 00021B70 A0 63 0F 38 */ lhz r3, 0xf38(r3)
/* 80024C14 00021B74 7C 03 00 40 */ cmplw r3, r0
/* 80024C18 00021B78 41 82 00 30 */ beq lbl_80024C48
/* 80024C1C 00021B7C 48 33 44 05 */ bl StopAll__12CMidiManagerFv
/* 80024C20 00021B80 A0 9C 00 08 */ lhz r4, 8(r28)
/* 80024C24 00021B84 38 00 00 03 */ li r0, 3
/* 80024C28 00021B88 C0 02 83 0C */ lfs f0, lbl_805AA02C@sda21(r2)
/* 80024C2C 00021B8C 38 61 00 60 */ addi r3, r1, 0x60
/* 80024C30 00021B90 B0 9D 00 28 */ sth r4, 0x28(r29)
/* 80024C34 00021B94 38 80 FF FF */ li r4, -1
/* 80024C38 00021B98 90 1D 00 1C */ stw r0, 0x1c(r29)
/* 80024C3C 00021B9C D0 1D 00 20 */ stfs f0, 0x20(r29)
/* 80024C40 00021BA0 4B FF 6D AD */ bl __dt__21CArchMsgParmUserInputFv
/* 80024C44 00021BA4 48 00 01 04 */ b lbl_80024D48
lbl_80024C48:
/* 80024C48 00021BA8 28 1C 00 00 */ cmplwi r28, 0
/* 80024C4C 00021BAC 40 82 00 4C */ bne lbl_80024C98
/* 80024C50 00021BB0 80 7D 00 14 */ lwz r3, 0x14(r29)
/* 80024C54 00021BB4 38 80 00 02 */ li r4, 2
/* 80024C58 00021BB8 80 63 00 00 */ lwz r3, 0(r3)
/* 80024C5C 00021BBC 48 01 FC 05 */ bl DeferStateTransition__13CStateManagerF23EStateManagerTransition
/* 80024C60 00021BC0 48 00 00 38 */ b lbl_80024C98
lbl_80024C64:
/* 80024C64 00021BC4 54 80 CF FF */ rlwinm. r0, r4, 0x19, 0x1f, 0x1f
/* 80024C68 00021BC8 41 82 00 30 */ beq lbl_80024C98
/* 80024C6C 00021BCC 28 1C 00 00 */ cmplwi r28, 0
/* 80024C70 00021BD0 40 82 00 28 */ bne lbl_80024C98
/* 80024C74 00021BD4 80 7D 00 14 */ lwz r3, 0x14(r29)
/* 80024C78 00021BD8 80 63 00 00 */ lwz r3, 0(r3)
/* 80024C7C 00021BDC 48 01 FB 71 */ bl CanShowMapScreen__13CStateManagerFv
/* 80024C80 00021BE0 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80024C84 00021BE4 41 82 00 14 */ beq lbl_80024C98
/* 80024C88 00021BE8 80 7D 00 14 */ lwz r3, 0x14(r29)
/* 80024C8C 00021BEC 38 80 00 01 */ li r4, 1
/* 80024C90 00021BF0 80 63 00 00 */ lwz r3, 0(r3)
/* 80024C94 00021BF4 48 01 FB CD */ bl DeferStateTransition__13CStateManagerF23EStateManagerTransition
lbl_80024C98:
/* 80024C98 00021BF8 80 7D 00 14 */ lwz r3, 0x14(r29)
/* 80024C9C 00021BFC 38 81 00 30 */ addi r4, r1, 0x30
/* 80024CA0 00021C00 80 63 00 00 */ lwz r3, 0(r3)
/* 80024CA4 00021C04 38 03 08 FC */ addi r0, r3, 0x8fc
/* 80024CA8 00021C08 90 03 09 00 */ stw r0, 0x900(r3)
/* 80024CAC 00021C0C 80 7D 00 14 */ lwz r3, 0x14(r29)
/* 80024CB0 00021C10 80 63 00 00 */ lwz r3, 0(r3)
/* 80024CB4 00021C14 48 02 59 59 */ bl ProcessInput__13CStateManagerFRC11CFinalInput
/* 80024CB8 00021C18 80 7D 00 14 */ lwz r3, 0x14(r29)
/* 80024CBC 00021C1C 38 00 00 00 */ li r0, 0
/* 80024CC0 00021C20 80 63 00 00 */ lwz r3, 0(r3)
/* 80024CC4 00021C24 90 03 09 00 */ stw r0, 0x900(r3)
lbl_80024CC8:
/* 80024CC8 00021C28 80 7D 00 18 */ lwz r3, 0x18(r29)
/* 80024CCC 00021C2C 7F C6 F3 78 */ mr r6, r30
/* 80024CD0 00021C30 80 9D 00 14 */ lwz r4, 0x14(r29)
/* 80024CD4 00021C34 38 A1 00 30 */ addi r5, r1, 0x30
/* 80024CD8 00021C38 80 63 00 00 */ lwz r3, 0(r3)
/* 80024CDC 00021C3C 80 84 00 00 */ lwz r4, 0(r4)
/* 80024CE0 00021C40 48 0E 2B BD */ bl ProcessControllerInput__17CInGameGuiManagerFRC13CStateManagerRC11CFinalInputR18CArchitectureQueue
/* 80024CE4 00021C44 38 61 00 60 */ addi r3, r1, 0x60
/* 80024CE8 00021C48 38 80 FF FF */ li r4, -1
/* 80024CEC 00021C4C 4B FF 6D 01 */ bl __dt__21CArchMsgParmUserInputFv
/* 80024CF0 00021C50 48 00 00 58 */ b lbl_80024D48
/* 80024CF4 00021C54 80 7D 00 14 */ lwz r3, 0x14(r29)
/* 80024CF8 00021C58 80 63 00 00 */ lwz r3, 0(r3)
/* 80024CFC 00021C5C 48 02 58 A9 */ bl FrameEnd__13CStateManagerFv
/* 80024D00 00021C60 80 7D 00 14 */ lwz r3, 0x14(r29)
/* 80024D04 00021C64 80 63 00 00 */ lwz r3, 0(r3)
/* 80024D08 00021C68 88 03 0F 94 */ lbz r0, 0xf94(r3)
/* 80024D0C 00021C6C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f
/* 80024D10 00021C70 41 82 00 38 */ beq lbl_80024D48
/* 80024D14 00021C74 38 61 00 18 */ addi r3, r1, 0x18
/* 80024D18 00021C78 38 80 00 01 */ li r4, 1
/* 80024D1C 00021C7C 48 02 CC 45 */ bl CreateQuitGameplay__7MakeMsgF14EArchMsgTarget
/* 80024D20 00021C80 7F C3 F3 78 */ mr r3, r30
/* 80024D24 00021C84 38 81 00 18 */ addi r4, r1, 0x18
/* 80024D28 00021C88 4B FE 1F D9 */ bl InsertMsg__18CArchitectureQueueFRC20CArchitectureMessage
/* 80024D2C 00021C8C 34 61 00 20 */ addic. r3, r1, 0x20
/* 80024D30 00021C90 41 82 00 18 */ beq lbl_80024D48
/* 80024D34 00021C94 4B FE 39 D9 */ bl sub_8000870c
/* 80024D38 00021C98 48 00 00 10 */ b lbl_80024D48
/* 80024D3C 00021C9C 48 34 7F C1 */ bl sub_8036ccfc
/* 80024D40 00021CA0 38 60 00 03 */ li r3, 3
/* 80024D44 00021CA4 48 00 00 08 */ b lbl_80024D4C
lbl_80024D48:
/* 80024D48 00021CA8 38 60 00 00 */ li r3, 0
lbl_80024D4C:
/* 80024D4C 00021CAC E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0
/* 80024D50 00021CB0 80 01 00 C4 */ lwz r0, 0xc4(r1)
/* 80024D54 00021CB4 CB E1 00 B0 */ lfd f31, 0xb0(r1)
/* 80024D58 00021CB8 83 E1 00 AC */ lwz r31, 0xac(r1)
/* 80024D5C 00021CBC 83 C1 00 A8 */ lwz r30, 0xa8(r1)
/* 80024D60 00021CC0 83 A1 00 A4 */ lwz r29, 0xa4(r1)
/* 80024D64 00021CC4 83 81 00 A0 */ lwz r28, 0xa0(r1)
/* 80024D68 00021CC8 7C 08 03 A6 */ mtlr r0
/* 80024D6C 00021CCC 38 21 00 C0 */ addi r1, r1, 0xc0
/* 80024D70 00021CD0 4E 80 00 20 */ blr
.global Touch__7CMFGameFv
Touch__7CMFGameFv:
/* 80024D74 00021CD4 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80024D78 00021CD8 7C 08 02 A6 */ mflr r0
/* 80024D7C 00021CDC 90 01 00 24 */ stw r0, 0x24(r1)
/* 80024D80 00021CE0 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80024D84 00021CE4 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80024D88 00021CE8 93 A1 00 14 */ stw r29, 0x14(r1)
/* 80024D8C 00021CEC 93 81 00 10 */ stw r28, 0x10(r1)
/* 80024D90 00021CF0 80 63 00 14 */ lwz r3, 0x14(r3)
/* 80024D94 00021CF4 83 E3 00 00 */ lwz r31, 0(r3)
/* 80024D98 00021CF8 7F E3 FB 78 */ mr r3, r31
/* 80024D9C 00021CFC 48 02 06 3D */ bl TouchSky__13CStateManagerCFv
/* 80024DA0 00021D00 7F E3 FB 78 */ mr r3, r31
/* 80024DA4 00021D04 48 02 05 E1 */ bl TouchPlayerActor__13CStateManagerFv
/* 80024DA8 00021D08 83 DF 08 4C */ lwz r30, 0x84c(r31)
/* 80024DAC 00021D0C 3B A0 00 00 */ li r29, 0
/* 80024DB0 00021D10 3B 80 00 00 */ li r28, 0
/* 80024DB4 00021D14 38 60 00 00 */ li r3, 0
/* 80024DB8 00021D18 80 1E 02 F8 */ lwz r0, 0x2f8(r30)
/* 80024DBC 00021D1C 2C 00 00 02 */ cmpwi r0, 2
/* 80024DC0 00021D20 41 82 00 34 */ beq lbl_80024DF4
/* 80024DC4 00021D24 40 80 00 14 */ bge lbl_80024DD8
/* 80024DC8 00021D28 2C 00 00 00 */ cmpwi r0, 0
/* 80024DCC 00021D2C 41 82 00 18 */ beq lbl_80024DE4
/* 80024DD0 00021D30 40 80 00 1C */ bge lbl_80024DEC
/* 80024DD4 00021D34 48 00 00 34 */ b lbl_80024E08
lbl_80024DD8:
/* 80024DD8 00021D38 2C 00 00 04 */ cmpwi r0, 4
/* 80024DDC 00021D3C 40 80 00 2C */ bge lbl_80024E08
/* 80024DE0 00021D40 48 00 00 20 */ b lbl_80024E00
lbl_80024DE4:
/* 80024DE4 00021D44 38 60 00 01 */ li r3, 1
/* 80024DE8 00021D48 48 00 00 20 */ b lbl_80024E08
lbl_80024DEC:
/* 80024DEC 00021D4C 3B 80 00 01 */ li r28, 1
/* 80024DF0 00021D50 48 00 00 18 */ b lbl_80024E08
lbl_80024DF4:
/* 80024DF4 00021D54 3B 80 00 01 */ li r28, 1
/* 80024DF8 00021D58 3B A0 00 01 */ li r29, 1
/* 80024DFC 00021D5C 48 00 00 0C */ b lbl_80024E08
lbl_80024E00:
/* 80024E00 00021D60 38 60 00 01 */ li r3, 1
/* 80024E04 00021D64 3B A0 00 01 */ li r29, 1
lbl_80024E08:
/* 80024E08 00021D68 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80024E0C 00021D6C 41 82 00 10 */ beq lbl_80024E1C
/* 80024E10 00021D70 80 7E 04 90 */ lwz r3, 0x490(r30)
/* 80024E14 00021D74 7F E4 FB 78 */ mr r4, r31
/* 80024E18 00021D78 48 01 D5 65 */ bl TouchModel__10CPlayerGunCFRC13CStateManager
lbl_80024E1C:
/* 80024E1C 00021D7C 57 A0 06 3F */ clrlwi. r0, r29, 0x18
/* 80024E20 00021D80 41 82 00 14 */ beq lbl_80024E34
/* 80024E24 00021D84 80 7E 00 64 */ lwz r3, 0x64(r30)
/* 80024E28 00021D88 7F E4 FB 78 */ mr r4, r31
/* 80024E2C 00021D8C 38 A0 00 00 */ li r5, 0
/* 80024E30 00021D90 48 0F 0E E1 */ bl Touch__10CModelDataCFRC13CStateManageri
lbl_80024E34:
/* 80024E34 00021D94 57 80 06 3F */ clrlwi. r0, r28, 0x18
/* 80024E38 00021D98 41 82 00 10 */ beq lbl_80024E48
/* 80024E3C 00021D9C 80 7E 07 68 */ lwz r3, 0x768(r30)
/* 80024E40 00021DA0 7F E4 FB 78 */ mr r4, r31
/* 80024E44 00021DA4 48 0C A1 79 */ bl TouchModel__10CMorphBallCFRC13CStateManager
lbl_80024E48:
/* 80024E48 00021DA8 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80024E4C 00021DAC 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80024E50 00021DB0 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80024E54 00021DB4 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80024E58 00021DB8 83 81 00 10 */ lwz r28, 0x10(r1)
/* 80024E5C 00021DBC 7C 08 03 A6 */ mtlr r0
/* 80024E60 00021DC0 38 21 00 20 */ addi r1, r1, 0x20
/* 80024E64 00021DC4 4E 80 00 20 */ blr
.global __dt__7CMFGameFv
__dt__7CMFGameFv:
/* 80024E68 00021DC8 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80024E6C 00021DCC 7C 08 02 A6 */ mflr r0
/* 80024E70 00021DD0 90 01 00 14 */ stw r0, 0x14(r1)
/* 80024E74 00021DD4 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80024E78 00021DD8 7C 9F 23 78 */ mr r31, r4
/* 80024E7C 00021DDC 93 C1 00 08 */ stw r30, 8(r1)
/* 80024E80 00021DE0 7C 7E 1B 79 */ or. r30, r3, r3
/* 80024E84 00021DE4 41 82 00 9C */ beq lbl_80024F20
/* 80024E88 00021DE8 3C 60 80 3E */ lis r3, lbl_803D99D4@ha
/* 80024E8C 00021DEC 38 80 00 00 */ li r4, 0
/* 80024E90 00021DF0 38 03 99 D4 */ addi r0, r3, lbl_803D99D4@l
/* 80024E94 00021DF4 90 1E 00 00 */ stw r0, 0(r30)
/* 80024E98 00021DF8 80 6D A0 78 */ lwz r3, gpMain@sda21(r13)
/* 80024E9C 00021DFC 88 03 01 60 */ lbz r0, 0x160(r3)
/* 80024EA0 00021E00 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19
/* 80024EA4 00021E04 98 03 01 60 */ stb r0, 0x160(r3)
/* 80024EA8 00021E08 80 6D A0 78 */ lwz r3, gpMain@sda21(r13)
/* 80024EAC 00021E0C 88 03 01 60 */ lbz r0, 0x160(r3)
/* 80024EB0 00021E10 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a
/* 80024EB4 00021E14 98 03 01 60 */ stb r0, 0x160(r3)
/* 80024EB8 00021E18 48 0F 25 D1 */ bl Reinitialize__13CDecalManagerFv
/* 80024EBC 00021E1C 34 1E 00 24 */ addic. r0, r30, 0x24
/* 80024EC0 00021E20 41 82 00 14 */ beq lbl_80024ED4
/* 80024EC4 00021E24 80 7E 00 24 */ lwz r3, 0x24(r30)
/* 80024EC8 00021E28 28 03 00 00 */ cmplwi r3, 0
/* 80024ECC 00021E2C 41 82 00 08 */ beq lbl_80024ED4
/* 80024ED0 00021E30 48 2F 0A 61 */ bl Free__7CMemoryFPCv
lbl_80024ED4:
/* 80024ED4 00021E34 34 1E 00 18 */ addic. r0, r30, 0x18
/* 80024ED8 00021E38 41 82 00 14 */ beq lbl_80024EEC
/* 80024EDC 00021E3C 34 1E 00 18 */ addic. r0, r30, 0x18
/* 80024EE0 00021E40 41 82 00 0C */ beq lbl_80024EEC
/* 80024EE4 00021E44 38 7E 00 18 */ addi r3, r30, 0x18
/* 80024EE8 00021E48 48 00 01 3D */ bl sub_80025024
lbl_80024EEC:
/* 80024EEC 00021E4C 34 1E 00 14 */ addic. r0, r30, 0x14
/* 80024EF0 00021E50 41 82 00 14 */ beq lbl_80024F04
/* 80024EF4 00021E54 34 1E 00 14 */ addic. r0, r30, 0x14
/* 80024EF8 00021E58 41 82 00 0C */ beq lbl_80024F04
/* 80024EFC 00021E5C 38 7E 00 14 */ addi r3, r30, 0x14
/* 80024F00 00021E60 48 00 01 81 */ bl sub_80025080
lbl_80024F04:
/* 80024F04 00021E64 7F C3 F3 78 */ mr r3, r30
/* 80024F08 00021E68 38 80 00 00 */ li r4, 0
/* 80024F0C 00021E6C 48 02 DC 99 */ bl __dt__6CIOWinFv
/* 80024F10 00021E70 7F E0 07 35 */ extsh. r0, r31
/* 80024F14 00021E74 40 81 00 0C */ ble lbl_80024F20
/* 80024F18 00021E78 7F C3 F3 78 */ mr r3, r30
/* 80024F1C 00021E7C 48 2F 0A 15 */ bl Free__7CMemoryFPCv
lbl_80024F20:
/* 80024F20 00021E80 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80024F24 00021E84 7F C3 F3 78 */ mr r3, r30
/* 80024F28 00021E88 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80024F2C 00021E8C 83 C1 00 08 */ lwz r30, 8(r1)
/* 80024F30 00021E90 7C 08 03 A6 */ mtlr r0
/* 80024F34 00021E94 38 21 00 10 */ addi r1, r1, 0x10
/* 80024F38 00021E98 4E 80 00 20 */ blr
.global "__ct__7CMFGameFQ24rstl25ncrc_ptr<13CStateManager>Q24rstl29ncrc_ptr<17CInGameGuiManager>R18CArchitectureQueue"
"__ct__7CMFGameFQ24rstl25ncrc_ptr<13CStateManager>Q24rstl29ncrc_ptr<17CInGameGuiManager>R18CArchitectureQueue":
/* 80024F3C 00021E9C 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80024F40 00021EA0 7C 08 02 A6 */ mflr r0
/* 80024F44 00021EA4 3C C0 80 3D */ lis r6, lbl_803CCAB8@ha
/* 80024F48 00021EA8 90 01 00 34 */ stw r0, 0x34(r1)
/* 80024F4C 00021EAC 38 C6 CA B8 */ addi r6, r6, lbl_803CCAB8@l
/* 80024F50 00021EB0 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 80024F54 00021EB4 7C 7F 1B 78 */ mr r31, r3
/* 80024F58 00021EB8 38 61 00 08 */ addi r3, r1, 8
/* 80024F5C 00021EBC 93 C1 00 28 */ stw r30, 0x28(r1)
/* 80024F60 00021EC0 7C BE 2B 78 */ mr r30, r5
/* 80024F64 00021EC4 93 A1 00 24 */ stw r29, 0x24(r1)
/* 80024F68 00021EC8 7C 9D 23 78 */ mr r29, r4
/* 80024F6C 00021ECC 38 86 00 53 */ addi r4, r6, 0x53
/* 80024F70 00021ED0 4B FD FD 49 */ bl string_l__4rstlFPCc
/* 80024F74 00021ED4 7F E3 FB 78 */ mr r3, r31
/* 80024F78 00021ED8 38 81 00 08 */ addi r4, r1, 8
/* 80024F7C 00021EDC 48 02 DC 91 */ bl "__ct__6CIOWinFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 80024F80 00021EE0 38 61 00 08 */ addi r3, r1, 8
/* 80024F84 00021EE4 48 31 8B 5D */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 80024F88 00021EE8 3C 60 80 3E */ lis r3, lbl_803D99D4@ha
/* 80024F8C 00021EEC 38 80 00 00 */ li r4, 0
/* 80024F90 00021EF0 38 03 99 D4 */ addi r0, r3, lbl_803D99D4@l
/* 80024F94 00021EF4 38 A0 00 01 */ li r5, 1
/* 80024F98 00021EF8 90 1F 00 00 */ stw r0, 0(r31)
/* 80024F9C 00021EFC 7F E3 FB 78 */ mr r3, r31
/* 80024FA0 00021F00 80 1D 00 00 */ lwz r0, 0(r29)
/* 80024FA4 00021F04 90 1F 00 14 */ stw r0, 0x14(r31)
/* 80024FA8 00021F08 80 FF 00 14 */ lwz r7, 0x14(r31)
/* 80024FAC 00021F0C 80 C7 00 04 */ lwz r6, 4(r7)
/* 80024FB0 00021F10 38 06 00 01 */ addi r0, r6, 1
/* 80024FB4 00021F14 90 07 00 04 */ stw r0, 4(r7)
/* 80024FB8 00021F18 80 1E 00 00 */ lwz r0, 0(r30)
/* 80024FBC 00021F1C 90 1F 00 18 */ stw r0, 0x18(r31)
/* 80024FC0 00021F20 80 FF 00 18 */ lwz r7, 0x18(r31)
/* 80024FC4 00021F24 80 C7 00 04 */ lwz r6, 4(r7)
/* 80024FC8 00021F28 38 06 00 01 */ addi r0, r6, 1
/* 80024FCC 00021F2C 90 07 00 04 */ stw r0, 4(r7)
/* 80024FD0 00021F30 90 9F 00 1C */ stw r4, 0x1c(r31)
/* 80024FD4 00021F34 90 9F 00 24 */ stw r4, 0x24(r31)
/* 80024FD8 00021F38 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13)
/* 80024FDC 00021F3C B0 1F 00 28 */ sth r0, 0x28(r31)
/* 80024FE0 00021F40 88 1F 00 2A */ lbz r0, 0x2a(r31)
/* 80024FE4 00021F44 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18
/* 80024FE8 00021F48 98 1F 00 2A */ stb r0, 0x2a(r31)
/* 80024FEC 00021F4C 88 1F 00 2A */ lbz r0, 0x2a(r31)
/* 80024FF0 00021F50 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19
/* 80024FF4 00021F54 98 1F 00 2A */ stb r0, 0x2a(r31)
/* 80024FF8 00021F58 80 8D A0 78 */ lwz r4, gpMain@sda21(r13)
/* 80024FFC 00021F5C 88 04 01 60 */ lbz r0, 0x160(r4)
/* 80025000 00021F60 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19
/* 80025004 00021F64 98 04 01 60 */ stb r0, 0x160(r4)
/* 80025008 00021F68 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 8002500C 00021F6C 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 80025010 00021F70 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 80025014 00021F74 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80025018 00021F78 7C 08 03 A6 */ mtlr r0
/* 8002501C 00021F7C 38 21 00 30 */ addi r1, r1, 0x30
/* 80025020 00021F80 4E 80 00 20 */ blr
.global sub_80025024
sub_80025024:
/* 80025024 00021F84 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80025028 00021F88 7C 08 02 A6 */ mflr r0
/* 8002502C 00021F8C 90 01 00 14 */ stw r0, 0x14(r1)
/* 80025030 00021F90 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80025034 00021F94 7C 7F 1B 78 */ mr r31, r3
/* 80025038 00021F98 80 83 00 00 */ lwz r4, 0(r3)
/* 8002503C 00021F9C 80 64 00 04 */ lwz r3, 4(r4)
/* 80025040 00021FA0 34 03 FF FF */ addic. r0, r3, -1
/* 80025044 00021FA4 90 04 00 04 */ stw r0, 4(r4)
/* 80025048 00021FA8 41 81 00 24 */ bgt lbl_8002506C
/* 8002504C 00021FAC 80 7F 00 00 */ lwz r3, 0(r31)
/* 80025050 00021FB0 38 80 00 01 */ li r4, 1
/* 80025054 00021FB4 80 63 00 00 */ lwz r3, 0(r3)
/* 80025058 00021FB8 48 0E 4C 29 */ bl __dt__17CInGameGuiManagerFv
/* 8002505C 00021FBC 80 7F 00 00 */ lwz r3, 0(r31)
/* 80025060 00021FC0 28 03 00 00 */ cmplwi r3, 0
/* 80025064 00021FC4 41 82 00 08 */ beq lbl_8002506C
/* 80025068 00021FC8 48 2F 08 C9 */ bl Free__7CMemoryFPCv
lbl_8002506C:
/* 8002506C 00021FCC 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80025070 00021FD0 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80025074 00021FD4 7C 08 03 A6 */ mtlr r0
/* 80025078 00021FD8 38 21 00 10 */ addi r1, r1, 0x10
/* 8002507C 00021FDC 4E 80 00 20 */ blr
.global sub_80025080
sub_80025080:
/* 80025080 00021FE0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80025084 00021FE4 7C 08 02 A6 */ mflr r0
/* 80025088 00021FE8 90 01 00 14 */ stw r0, 0x14(r1)
/* 8002508C 00021FEC 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80025090 00021FF0 7C 7F 1B 78 */ mr r31, r3
/* 80025094 00021FF4 80 83 00 00 */ lwz r4, 0(r3)
/* 80025098 00021FF8 80 64 00 04 */ lwz r3, 4(r4)
/* 8002509C 00021FFC 34 03 FF FF */ addic. r0, r3, -1
/* 800250A0 00022000 90 04 00 04 */ stw r0, 4(r4)
/* 800250A4 00022004 41 81 00 24 */ bgt lbl_800250C8
/* 800250A8 00022008 80 7F 00 00 */ lwz r3, 0(r31)
/* 800250AC 0002200C 38 80 00 01 */ li r4, 1
/* 800250B0 00022010 80 63 00 00 */ lwz r3, 0(r3)
/* 800250B4 00022014 48 02 80 F9 */ bl __dt__13CStateManagerFv
/* 800250B8 00022018 80 7F 00 00 */ lwz r3, 0(r31)
/* 800250BC 0002201C 28 03 00 00 */ cmplwi r3, 0
/* 800250C0 00022020 41 82 00 08 */ beq lbl_800250C8
/* 800250C4 00022024 48 2F 08 6D */ bl Free__7CMemoryFPCv
lbl_800250C8:
/* 800250C8 00022028 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800250CC 0002202C 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 800250D0 00022030 7C 08 03 A6 */ mtlr r0
/* 800250D4 00022034 38 21 00 10 */ addi r1, r1, 0x10
/* 800250D8 00022038 4E 80 00 20 */ blr
.global "__nw__27TOneStatic<13CStateManager>FUlPCcPCc"
"__nw__27TOneStatic<13CStateManager>FUlPCcPCc":
/* 800250DC 0002203C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800250E0 00022040 7C 08 02 A6 */ mflr r0
/* 800250E4 00022044 90 01 00 14 */ stw r0, 0x14(r1)
/* 800250E8 00022048 48 00 00 31 */ bl "ReferenceCount__27TOneStatic<13CStateManager>Fv"
/* 800250EC 0002204C 80 83 00 00 */ lwz r4, 0(r3)
/* 800250F0 00022050 38 04 00 01 */ addi r0, r4, 1
/* 800250F4 00022054 90 03 00 00 */ stw r0, 0(r3)
/* 800250F8 00022058 48 00 00 15 */ bl "GetAllocSpace__27TOneStatic<13CStateManager>Fv"
/* 800250FC 0002205C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80025100 00022060 7C 08 03 A6 */ mtlr r0
/* 80025104 00022064 38 21 00 10 */ addi r1, r1, 0x10
/* 80025108 00022068 4E 80 00 20 */ blr
.global "GetAllocSpace__27TOneStatic<13CStateManager>Fv"
"GetAllocSpace__27TOneStatic<13CStateManager>Fv":
/* 8002510C 0002206C 3C 60 80 46 */ lis r3, lbl_8045A1A8@ha
/* 80025110 00022070 38 63 A1 A8 */ addi r3, r3, lbl_8045A1A8@l
/* 80025114 00022074 4E 80 00 20 */ blr
.global "ReferenceCount__27TOneStatic<13CStateManager>Fv"
"ReferenceCount__27TOneStatic<13CStateManager>Fv":
/* 80025118 00022078 88 0D A1 04 */ lbz r0, lbl_805A8CC4@sda21(r13)
/* 8002511C 0002207C 7C 00 07 75 */ extsb. r0, r0
/* 80025120 00022080 40 82 00 14 */ bne lbl_80025134
/* 80025124 00022084 38 60 00 00 */ li r3, 0
/* 80025128 00022088 38 00 00 01 */ li r0, 1
/* 8002512C 0002208C 90 6D A1 00 */ stw r3, lbl_805A8CC0@sda21(r13)
/* 80025130 00022090 98 0D A1 04 */ stb r0, lbl_805A8CC4@sda21(r13)
lbl_80025134:
/* 80025134 00022094 38 6D A1 00 */ addi r3, r13, lbl_805A8CC0@sda21
/* 80025138 00022098 4E 80 00 20 */ blr
.global __sinit_CMFGame_cpp
__sinit_CMFGame_cpp:
/* 8002513C 0002209C 3C 60 4D 4C */ lis r3, 0x4D4C564C@ha
/* 80025140 000220A0 3C 80 15 8F */ lis r4, 0x158EFE17@ha
/* 80025144 000220A4 38 A3 56 4C */ addi r5, r3, 0x4D4C564C@l
/* 80025148 000220A8 38 6D A0 F8 */ addi r3, r13, lbl_805A8CB8@sda21
/* 8002514C 000220AC 38 04 FE 17 */ addi r0, r4, 0x158EFE17@l
/* 80025150 000220B0 90 AD A0 F8 */ stw r5, lbl_805A8CB8@sda21(r13)
/* 80025154 000220B4 90 03 00 04 */ stw r0, 4(r3)
/* 80025158 000220B8 4E 80 00 20 */ blr

View File

@ -0,0 +1,665 @@
.include "macros.inc"
.section .text, "ax"
.global Draw__13CMFGameLoaderCFv
Draw__13CMFGameLoaderCFv:
/* 80023A24 00020984 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80023A28 00020988 7C 08 02 A6 */ mflr r0
/* 80023A2C 0002098C 90 01 00 14 */ stw r0, 0x14(r1)
/* 80023A30 00020990 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13)
/* 80023A34 00020994 48 1A FE E5 */ bl WorldTransitionManager__10CGameStateFv
/* 80023A38 00020998 80 63 00 00 */ lwz r3, 0(r3)
/* 80023A3C 0002099C 80 63 00 00 */ lwz r3, 0(r3)
/* 80023A40 000209A0 48 1E 6D 3D */ bl Draw__18CWorldTransManagerCFv
/* 80023A44 000209A4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80023A48 000209A8 7C 08 03 A6 */ mtlr r0
/* 80023A4C 000209AC 38 21 00 10 */ addi r1, r1, 0x10
/* 80023A50 000209B0 4E 80 00 20 */ blr
.global OnMessage__13CMFGameLoaderFRC20CArchitectureMessageR18CArchitectureQueue
OnMessage__13CMFGameLoaderFRC20CArchitectureMessageR18CArchitectureQueue:
/* 80023A54 000209B4 94 21 FF 90 */ stwu r1, -0x70(r1)
/* 80023A58 000209B8 7C 08 02 A6 */ mflr r0
/* 80023A5C 000209BC 90 01 00 74 */ stw r0, 0x74(r1)
/* 80023A60 000209C0 DB E1 00 60 */ stfd f31, 0x60(r1)
/* 80023A64 000209C4 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0
/* 80023A68 000209C8 BF 01 00 40 */ stmw r24, 0x40(r1)
/* 80023A6C 000209CC 7C 7D 1B 78 */ mr r29, r3
/* 80023A70 000209D0 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13)
/* 80023A74 000209D4 7C 98 23 78 */ mr r24, r4
/* 80023A78 000209D8 7C BE 2B 78 */ mr r30, r5
/* 80023A7C 000209DC 48 1A FE 9D */ bl WorldTransitionManager__10CGameStateFv
/* 80023A80 000209E0 80 18 00 04 */ lwz r0, 4(r24)
/* 80023A84 000209E4 7C 7F 1B 78 */ mr r31, r3
/* 80023A88 000209E8 2C 00 00 04 */ cmpwi r0, 4
/* 80023A8C 000209EC 40 82 03 58 */ bne lbl_80023DE4
/* 80023A90 000209F0 7F 03 C3 78 */ mr r3, r24
/* 80023A94 000209F4 48 02 E1 29 */ bl GetParmTimerTick__7MakeMsgFRC20CArchitectureMessage
/* 80023A98 000209F8 88 1D 00 2C */ lbz r0, 0x2c(r29)
/* 80023A9C 000209FC C3 E3 00 04 */ lfs f31, 4(r3)
/* 80023AA0 00020A00 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 80023AA4 00020A04 40 82 00 A4 */ bne lbl_80023B48
/* 80023AA8 00020A08 80 1D 00 20 */ lwz r0, 0x20(r29)
/* 80023AAC 00020A0C 2C 00 00 00 */ cmpwi r0, 0
/* 80023AB0 00020A10 40 82 00 20 */ bne lbl_80023AD0
/* 80023AB4 00020A14 7F A3 EB 78 */ mr r3, r29
/* 80023AB8 00020A18 48 00 04 2D */ bl MakeLoadDependancyList__13CMFGameLoaderFv
/* 80023ABC 00020A1C 80 7F 00 00 */ lwz r3, 0(r31)
/* 80023AC0 00020A20 80 63 00 00 */ lwz r3, 0(r3)
/* 80023AC4 00020A24 48 1E 70 B5 */ bl StartTransition__18CWorldTransManagerFv
/* 80023AC8 00020A28 38 60 00 01 */ li r3, 1
/* 80023ACC 00020A2C 48 00 03 FC */ b lbl_80023EC8
lbl_80023AD0:
/* 80023AD0 00020A30 83 3D 00 28 */ lwz r25, 0x28(r29)
/* 80023AD4 00020A34 3B 40 00 00 */ li r26, 0
/* 80023AD8 00020A38 48 00 00 24 */ b lbl_80023AFC
lbl_80023ADC:
/* 80023ADC 00020A3C 7F 23 CB 78 */ mr r3, r25
/* 80023AE0 00020A40 48 31 D2 A5 */ bl Lock__6CTokenFv
/* 80023AE4 00020A44 80 79 00 00 */ lwz r3, 0(r25)
/* 80023AE8 00020A48 80 03 00 10 */ lwz r0, 0x10(r3)
/* 80023AEC 00020A4C 28 00 00 00 */ cmplwi r0, 0
/* 80023AF0 00020A50 40 82 00 08 */ bne lbl_80023AF8
/* 80023AF4 00020A54 3B 5A 00 01 */ addi r26, r26, 1
lbl_80023AF8:
/* 80023AF8 00020A58 3B 39 00 08 */ addi r25, r25, 8
lbl_80023AFC:
/* 80023AFC 00020A5C 80 1D 00 20 */ lwz r0, 0x20(r29)
/* 80023B00 00020A60 80 7D 00 28 */ lwz r3, 0x28(r29)
/* 80023B04 00020A64 54 00 18 38 */ slwi r0, r0, 3
/* 80023B08 00020A68 7C 03 02 14 */ add r0, r3, r0
/* 80023B0C 00020A6C 7C 19 00 40 */ cmplw r25, r0
/* 80023B10 00020A70 40 82 FF CC */ bne lbl_80023ADC
/* 80023B14 00020A74 80 7F 00 00 */ lwz r3, 0(r31)
/* 80023B18 00020A78 FC 20 F8 90 */ fmr f1, f31
/* 80023B1C 00020A7C 80 63 00 00 */ lwz r3, 0(r3)
/* 80023B20 00020A80 48 1E 6F D5 */ bl Update__18CWorldTransManagerFf
/* 80023B24 00020A84 2C 1A 00 00 */ cmpwi r26, 0
/* 80023B28 00020A88 41 82 00 0C */ beq lbl_80023B34
/* 80023B2C 00020A8C 38 60 00 01 */ li r3, 1
/* 80023B30 00020A90 48 00 03 98 */ b lbl_80023EC8
lbl_80023B34:
/* 80023B34 00020A94 88 1D 00 2C */ lbz r0, 0x2c(r29)
/* 80023B38 00020A98 38 60 00 01 */ li r3, 1
/* 80023B3C 00020A9C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18
/* 80023B40 00020AA0 98 1D 00 2C */ stb r0, 0x2c(r29)
/* 80023B44 00020AA4 48 00 00 14 */ b lbl_80023B58
lbl_80023B48:
/* 80023B48 00020AA8 80 7F 00 00 */ lwz r3, 0(r31)
/* 80023B4C 00020AAC FC 20 F8 90 */ fmr f1, f31
/* 80023B50 00020AB0 80 63 00 00 */ lwz r3, 0(r3)
/* 80023B54 00020AB4 48 1E 6F A1 */ bl Update__18CWorldTransManagerFf
lbl_80023B58:
/* 80023B58 00020AB8 80 7D 00 14 */ lwz r3, 0x14(r29)
/* 80023B5C 00020ABC 80 03 00 00 */ lwz r0, 0(r3)
/* 80023B60 00020AC0 28 00 00 00 */ cmplwi r0, 0
/* 80023B64 00020AC4 40 82 00 F0 */ bne lbl_80023C54
/* 80023B68 00020AC8 80 7F 00 00 */ lwz r3, 0(r31)
/* 80023B6C 00020ACC 80 63 00 00 */ lwz r3, 0(r3)
/* 80023B70 00020AD0 48 1E 52 A9 */ bl WaitForModelsAndTextures__18CWorldTransManagerFv
/* 80023B74 00020AD4 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13)
/* 80023B78 00020AD8 48 1A FE 35 */ bl CurrentWorldState__10CGameStateFv
/* 80023B7C 00020ADC 3C 80 80 3D */ lis r4, lbl_803CCAB8@ha
/* 80023B80 00020AE0 7C 60 1B 78 */ mr r0, r3
/* 80023B84 00020AE4 38 84 CA B8 */ addi r4, r4, lbl_803CCAB8@l
/* 80023B88 00020AE8 38 60 0F 98 */ li r3, 0xf98
/* 80023B8C 00020AEC 7C 18 03 78 */ mr r24, r0
/* 80023B90 00020AF0 38 A0 00 00 */ li r5, 0
/* 80023B94 00020AF4 38 84 00 2A */ addi r4, r4, 0x2a
/* 80023B98 00020AF8 48 00 15 45 */ bl "__nw__27TOneStatic<13CStateManager>FUlPCcPCc"
/* 80023B9C 00020AFC 7C 79 1B 79 */ or. r25, r3, r3
/* 80023BA0 00020B00 41 82 00 50 */ beq lbl_80023BF0
/* 80023BA4 00020B04 7F 03 C3 78 */ mr r3, r24
/* 80023BA8 00020B08 48 1B 11 8D */ bl GetLayerState__11CWorldStateFv
/* 80023BAC 00020B0C 7C 7A 1B 78 */ mr r26, r3
/* 80023BB0 00020B10 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13)
/* 80023BB4 00020B14 48 1A FD 89 */ bl PlayerState__10CGameStateFv
/* 80023BB8 00020B18 7C 7B 1B 78 */ mr r27, r3
/* 80023BBC 00020B1C 7F 03 C3 78 */ mr r3, r24
/* 80023BC0 00020B20 48 1B 11 C1 */ bl MapWorldInfo__11CWorldStateFv
/* 80023BC4 00020B24 7C 7C 1B 78 */ mr r28, r3
/* 80023BC8 00020B28 7F 03 C3 78 */ mr r3, r24
/* 80023BCC 00020B2C 48 1B 11 BD */ bl Mailbox__11CWorldStateFv
/* 80023BD0 00020B30 7C 64 1B 78 */ mr r4, r3
/* 80023BD4 00020B34 7F 23 CB 78 */ mr r3, r25
/* 80023BD8 00020B38 7F 85 E3 78 */ mr r5, r28
/* 80023BDC 00020B3C 7F 66 DB 78 */ mr r6, r27
/* 80023BE0 00020B40 7F E7 FB 78 */ mr r7, r31
/* 80023BE4 00020B44 7F 48 D3 78 */ mr r8, r26
/* 80023BE8 00020B48 48 02 A5 4D */ bl "__ct__13CStateManagerFRCQ24rstl26ncrc_ptr<14CScriptMailbox>RCQ24rstl25ncrc_ptr<13CMapWorldInfo>RCQ24rstl24ncrc_ptr<12CPlayerState>RCQ24rstl30ncrc_ptr<18CWorldTransManager>"
/* 80023BEC 00020B4C 7C 79 1B 78 */ mr r25, r3
lbl_80023BF0:
/* 80023BF0 00020B50 3C 80 80 3D */ lis r4, lbl_803CCAB8@ha
/* 80023BF4 00020B54 38 60 00 08 */ li r3, 8
/* 80023BF8 00020B58 38 84 CA B8 */ addi r4, r4, lbl_803CCAB8@l
/* 80023BFC 00020B5C 38 A0 00 00 */ li r5, 0
/* 80023C00 00020B60 38 84 00 2A */ addi r4, r4, 0x2a
/* 80023C04 00020B64 48 2F 1C 69 */ bl __nw__FUlPCcPCc
/* 80023C08 00020B68 28 03 00 00 */ cmplwi r3, 0
/* 80023C0C 00020B6C 41 82 00 10 */ beq lbl_80023C1C
/* 80023C10 00020B70 93 23 00 00 */ stw r25, 0(r3)
/* 80023C14 00020B74 38 00 00 01 */ li r0, 1
/* 80023C18 00020B78 90 03 00 04 */ stw r0, 4(r3)
lbl_80023C1C:
/* 80023C1C 00020B7C 90 61 00 2C */ stw r3, 0x2c(r1)
/* 80023C20 00020B80 80 1D 00 14 */ lwz r0, 0x14(r29)
/* 80023C24 00020B84 7C 00 18 40 */ cmplw r0, r3
/* 80023C28 00020B88 41 82 00 24 */ beq lbl_80023C4C
/* 80023C2C 00020B8C 38 7D 00 14 */ addi r3, r29, 0x14
/* 80023C30 00020B90 48 00 14 51 */ bl sub_80025080
/* 80023C34 00020B94 80 01 00 2C */ lwz r0, 0x2c(r1)
/* 80023C38 00020B98 90 1D 00 14 */ stw r0, 0x14(r29)
/* 80023C3C 00020B9C 80 9D 00 14 */ lwz r4, 0x14(r29)
/* 80023C40 00020BA0 80 64 00 04 */ lwz r3, 4(r4)
/* 80023C44 00020BA4 38 03 00 01 */ addi r0, r3, 1
/* 80023C48 00020BA8 90 04 00 04 */ stw r0, 4(r4)
lbl_80023C4C:
/* 80023C4C 00020BAC 38 61 00 2C */ addi r3, r1, 0x2c
/* 80023C50 00020BB0 48 00 14 31 */ bl sub_80025080
lbl_80023C54:
/* 80023C54 00020BB4 80 7D 00 14 */ lwz r3, 0x14(r29)
/* 80023C58 00020BB8 80 63 00 00 */ lwz r3, 0(r3)
/* 80023C5C 00020BBC 80 03 0B 3C */ lwz r0, 0xb3c(r3)
/* 80023C60 00020BC0 2C 00 00 02 */ cmpwi r0, 2
/* 80023C64 00020BC4 41 82 00 60 */ beq lbl_80023CC4
/* 80023C68 00020BC8 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13)
/* 80023C6C 00020BCC 48 1A FD 41 */ bl CurrentWorldState__10CGameStateFv
/* 80023C70 00020BD0 7C 60 1B 78 */ mr r0, r3
/* 80023C74 00020BD4 38 61 00 20 */ addi r3, r1, 0x20
/* 80023C78 00020BD8 7C 18 03 78 */ mr r24, r0
/* 80023C7C 00020BDC 7F 04 C3 78 */ mr r4, r24
/* 80023C80 00020BE0 48 1B 10 D9 */ bl GetCurrentArea__11CWorldStateCFv
/* 80023C84 00020BE4 80 01 00 20 */ lwz r0, 0x20(r1)
/* 80023C88 00020BE8 7F 03 C3 78 */ mr r3, r24
/* 80023C8C 00020BEC 90 01 00 24 */ stw r0, 0x24(r1)
/* 80023C90 00020BF0 80 9D 00 14 */ lwz r4, 0x14(r29)
/* 80023C94 00020BF4 83 24 00 00 */ lwz r25, 0(r4)
/* 80023C98 00020BF8 48 1B 10 AD */ bl GetDesiredAreaAssetId__11CWorldStateCFv
/* 80023C9C 00020BFC 7C 7D 1B 78 */ mr r29, r3
/* 80023CA0 00020C00 7F 03 C3 78 */ mr r3, r24
/* 80023CA4 00020C04 48 1B 10 ED */ bl GetWorldAssetId__11CWorldStateCFv
/* 80023CA8 00020C08 7C 64 1B 78 */ mr r4, r3
/* 80023CAC 00020C0C 7F 23 CB 78 */ mr r3, r25
/* 80023CB0 00020C10 7F A6 EB 78 */ mr r6, r29
/* 80023CB4 00020C14 38 A1 00 24 */ addi r5, r1, 0x24
/* 80023CB8 00020C18 48 02 78 E1 */ bl InitializeState__13CStateManagerFUi7TAreaIdUi
/* 80023CBC 00020C1C 38 60 00 01 */ li r3, 1
/* 80023CC0 00020C20 48 00 02 08 */ b lbl_80023EC8
lbl_80023CC4:
/* 80023CC4 00020C24 80 7D 00 18 */ lwz r3, 0x18(r29)
/* 80023CC8 00020C28 80 03 00 00 */ lwz r0, 0(r3)
/* 80023CCC 00020C2C 28 00 00 00 */ cmplwi r0, 0
/* 80023CD0 00020C30 40 82 00 80 */ bne lbl_80023D50
/* 80023CD4 00020C34 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13)
/* 80023CD8 00020C38 48 1A FC D5 */ bl CurrentWorldState__10CGameStateFv
/* 80023CDC 00020C3C 38 80 FF FF */ li r4, -1
/* 80023CE0 00020C40 48 1B 10 5D */ bl SetDesiredAreaAssetId__11CWorldStateFUi
/* 80023CE4 00020C44 3C 80 80 3D */ lis r4, lbl_803CCAB8@ha
/* 80023CE8 00020C48 38 60 01 FC */ li r3, 0x1fc
/* 80023CEC 00020C4C 38 84 CA B8 */ addi r4, r4, lbl_803CCAB8@l
/* 80023CF0 00020C50 38 A0 00 00 */ li r5, 0
/* 80023CF4 00020C54 38 84 00 2A */ addi r4, r4, 0x2a
/* 80023CF8 00020C58 48 2F 1B 75 */ bl __nw__FUlPCcPCc
/* 80023CFC 00020C5C 7C 79 1B 79 */ or. r25, r3, r3
/* 80023D00 00020C60 41 82 00 18 */ beq lbl_80023D18
/* 80023D04 00020C64 80 9D 00 14 */ lwz r4, 0x14(r29)
/* 80023D08 00020C68 7F C5 F3 78 */ mr r5, r30
/* 80023D0C 00020C6C 80 84 00 00 */ lwz r4, 0(r4)
/* 80023D10 00020C70 48 0E 63 79 */ bl __ct__17CInGameGuiManagerFRC13CStateManagerR18CArchitectureQueue
/* 80023D14 00020C74 7C 79 1B 78 */ mr r25, r3
lbl_80023D18:
/* 80023D18 00020C78 38 7D 00 18 */ addi r3, r29, 0x18
/* 80023D1C 00020C7C 48 00 13 09 */ bl sub_80025024
/* 80023D20 00020C80 3C 80 80 3D */ lis r4, lbl_803CCAB8@ha
/* 80023D24 00020C84 38 60 00 08 */ li r3, 8
/* 80023D28 00020C88 38 84 CA B8 */ addi r4, r4, lbl_803CCAB8@l
/* 80023D2C 00020C8C 38 A0 00 00 */ li r5, 0
/* 80023D30 00020C90 38 84 00 2A */ addi r4, r4, 0x2a
/* 80023D34 00020C94 48 2F 1B 39 */ bl __nw__FUlPCcPCc
/* 80023D38 00020C98 28 03 00 00 */ cmplwi r3, 0
/* 80023D3C 00020C9C 41 82 00 10 */ beq lbl_80023D4C
/* 80023D40 00020CA0 93 23 00 00 */ stw r25, 0(r3)
/* 80023D44 00020CA4 38 00 00 01 */ li r0, 1
/* 80023D48 00020CA8 90 03 00 04 */ stw r0, 4(r3)
lbl_80023D4C:
/* 80023D4C 00020CAC 90 7D 00 18 */ stw r3, 0x18(r29)
lbl_80023D50:
/* 80023D50 00020CB0 80 7D 00 18 */ lwz r3, 0x18(r29)
/* 80023D54 00020CB4 80 9D 00 14 */ lwz r4, 0x14(r29)
/* 80023D58 00020CB8 80 63 00 00 */ lwz r3, 0(r3)
/* 80023D5C 00020CBC 80 84 00 00 */ lwz r4, 0(r4)
/* 80023D60 00020CC0 48 0E 55 09 */ bl CheckLoadComplete__17CInGameGuiManagerFRC13CStateManager
/* 80023D64 00020CC4 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80023D68 00020CC8 40 82 00 0C */ bne lbl_80023D74
/* 80023D6C 00020CCC 38 60 00 01 */ li r3, 1
/* 80023D70 00020CD0 48 00 01 58 */ b lbl_80023EC8
lbl_80023D74:
/* 80023D74 00020CD4 80 1D 00 20 */ lwz r0, 0x20(r29)
/* 80023D78 00020CD8 83 3D 00 28 */ lwz r25, 0x28(r29)
/* 80023D7C 00020CDC 54 00 18 38 */ slwi r0, r0, 3
/* 80023D80 00020CE0 7F D9 02 14 */ add r30, r25, r0
/* 80023D84 00020CE4 93 21 00 0C */ stw r25, 0xc(r1)
/* 80023D88 00020CE8 93 C1 00 14 */ stw r30, 0x14(r1)
/* 80023D8C 00020CEC 93 C1 00 10 */ stw r30, 0x10(r1)
/* 80023D90 00020CF0 93 21 00 08 */ stw r25, 8(r1)
/* 80023D94 00020CF4 48 00 00 14 */ b lbl_80023DA8
lbl_80023D98:
/* 80023D98 00020CF8 7F 23 CB 78 */ mr r3, r25
/* 80023D9C 00020CFC 38 80 FF FF */ li r4, -1
/* 80023DA0 00020D00 48 31 D0 A1 */ bl __dt__6CTokenFv
/* 80023DA4 00020D04 3B 39 00 08 */ addi r25, r25, 8
lbl_80023DA8:
/* 80023DA8 00020D08 7C 19 F0 40 */ cmplw r25, r30
/* 80023DAC 00020D0C 40 82 FF EC */ bne lbl_80023D98
/* 80023DB0 00020D10 38 00 00 00 */ li r0, 0
/* 80023DB4 00020D14 90 1D 00 20 */ stw r0, 0x20(r29)
/* 80023DB8 00020D18 80 7F 00 00 */ lwz r3, 0(r31)
/* 80023DBC 00020D1C 80 63 00 00 */ lwz r3, 0(r3)
/* 80023DC0 00020D20 48 1E 54 99 */ bl StartTextFadeOut__18CWorldTransManagerFv
/* 80023DC4 00020D24 80 9F 00 00 */ lwz r4, 0(r31)
/* 80023DC8 00020D28 38 60 00 01 */ li r3, 1
/* 80023DCC 00020D2C 88 1D 00 2C */ lbz r0, 0x2c(r29)
/* 80023DD0 00020D30 80 84 00 00 */ lwz r4, 0(r4)
/* 80023DD4 00020D34 88 84 00 44 */ lbz r4, 0x44(r4)
/* 80023DD8 00020D38 50 80 FE 72 */ rlwimi r0, r4, 0x1f, 0x19, 0x19
/* 80023DDC 00020D3C 98 1D 00 2C */ stb r0, 0x2c(r29)
/* 80023DE0 00020D40 48 00 00 E8 */ b lbl_80023EC8
lbl_80023DE4:
/* 80023DE4 00020D44 2C 00 00 0B */ cmpwi r0, 0xb
/* 80023DE8 00020D48 40 82 00 DC */ bne lbl_80023EC4
/* 80023DEC 00020D4C 88 1D 00 2C */ lbz r0, 0x2c(r29)
/* 80023DF0 00020D50 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f
/* 80023DF4 00020D54 41 82 00 D0 */ beq lbl_80023EC4
/* 80023DF8 00020D58 3C 60 80 3D */ lis r3, lbl_803CCAB8@ha
/* 80023DFC 00020D5C 3B 00 00 00 */ li r24, 0
/* 80023E00 00020D60 38 63 CA B8 */ addi r3, r3, lbl_803CCAB8@l
/* 80023E04 00020D64 3B 20 00 00 */ li r25, 0
/* 80023E08 00020D68 38 83 00 2A */ addi r4, r3, 0x2a
/* 80023E0C 00020D6C 38 60 00 2C */ li r3, 0x2c
/* 80023E10 00020D70 38 A0 00 00 */ li r5, 0
/* 80023E14 00020D74 48 2F 1A 59 */ bl __nw__FUlPCcPCc
/* 80023E18 00020D78 7C 64 1B 79 */ or. r4, r3, r3
/* 80023E1C 00020D7C 41 82 00 48 */ beq lbl_80023E64
/* 80023E20 00020D80 81 1D 00 14 */ lwz r8, 0x14(r29)
/* 80023E24 00020D84 7F C6 F3 78 */ mr r6, r30
/* 80023E28 00020D88 38 81 00 18 */ addi r4, r1, 0x18
/* 80023E2C 00020D8C 38 A1 00 1C */ addi r5, r1, 0x1c
/* 80023E30 00020D90 91 01 00 18 */ stw r8, 0x18(r1)
/* 80023E34 00020D94 3B 20 00 01 */ li r25, 1
/* 80023E38 00020D98 3B 00 00 01 */ li r24, 1
/* 80023E3C 00020D9C 80 E8 00 04 */ lwz r7, 4(r8)
/* 80023E40 00020DA0 38 07 00 01 */ addi r0, r7, 1
/* 80023E44 00020DA4 90 08 00 04 */ stw r0, 4(r8)
/* 80023E48 00020DA8 81 1D 00 18 */ lwz r8, 0x18(r29)
/* 80023E4C 00020DAC 91 01 00 1C */ stw r8, 0x1c(r1)
/* 80023E50 00020DB0 80 E8 00 04 */ lwz r7, 4(r8)
/* 80023E54 00020DB4 38 07 00 01 */ addi r0, r7, 1
/* 80023E58 00020DB8 90 08 00 04 */ stw r0, 4(r8)
/* 80023E5C 00020DBC 48 00 10 E1 */ bl "__ct__7CMFGameFQ24rstl25ncrc_ptr<13CStateManager>Q24rstl29ncrc_ptr<17CInGameGuiManager>R18CArchitectureQueue"
/* 80023E60 00020DC0 7C 64 1B 78 */ mr r4, r3
lbl_80023E64:
/* 80023E64 00020DC4 7F 20 07 75 */ extsb. r0, r25
/* 80023E68 00020DC8 90 81 00 28 */ stw r4, 0x28(r1)
/* 80023E6C 00020DCC 41 82 00 0C */ beq lbl_80023E78
/* 80023E70 00020DD0 38 61 00 18 */ addi r3, r1, 0x18
/* 80023E74 00020DD4 48 00 12 0D */ bl sub_80025080
lbl_80023E78:
/* 80023E78 00020DD8 7F 00 07 75 */ extsb. r0, r24
/* 80023E7C 00020DDC 41 82 00 0C */ beq lbl_80023E88
/* 80023E80 00020DE0 38 61 00 1C */ addi r3, r1, 0x1c
/* 80023E84 00020DE4 48 00 11 A1 */ bl sub_80025024
lbl_80023E88:
/* 80023E88 00020DE8 38 61 00 30 */ addi r3, r1, 0x30
/* 80023E8C 00020DEC 38 E1 00 28 */ addi r7, r1, 0x28
/* 80023E90 00020DF0 38 80 00 00 */ li r4, 0
/* 80023E94 00020DF4 38 AD 81 8C */ addi r5, r13, lbl_805A6D4C@sda21
/* 80023E98 00020DF8 38 CD 81 90 */ addi r6, r13, lbl_805A6D50@sda21
/* 80023E9C 00020DFC 48 02 DE 11 */ bl CreateCreateIOWin__7MakeMsgF14EArchMsgTargetRCiRCiRCP6CIOWin
/* 80023EA0 00020E00 7F C3 F3 78 */ mr r3, r30
/* 80023EA4 00020E04 38 81 00 30 */ addi r4, r1, 0x30
/* 80023EA8 00020E08 4B FE 2E 59 */ bl InsertMsg__18CArchitectureQueueFRC20CArchitectureMessage
/* 80023EAC 00020E0C 34 61 00 38 */ addic. r3, r1, 0x38
/* 80023EB0 00020E10 41 82 00 08 */ beq lbl_80023EB8
/* 80023EB4 00020E14 4B FE 48 59 */ bl sub_8000870c
lbl_80023EB8:
/* 80023EB8 00020E18 48 33 14 BD */ bl EnableTextureTimeout__6CModelFv
/* 80023EBC 00020E1C 38 60 00 02 */ li r3, 2
/* 80023EC0 00020E20 48 00 00 08 */ b lbl_80023EC8
lbl_80023EC4:
/* 80023EC4 00020E24 38 60 00 01 */ li r3, 1
lbl_80023EC8:
/* 80023EC8 00020E28 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0
/* 80023ECC 00020E2C CB E1 00 60 */ lfd f31, 0x60(r1)
/* 80023ED0 00020E30 BB 01 00 40 */ lmw r24, 0x40(r1)
/* 80023ED4 00020E34 80 01 00 74 */ lwz r0, 0x74(r1)
/* 80023ED8 00020E38 7C 08 03 A6 */ mtlr r0
/* 80023EDC 00020E3C 38 21 00 70 */ addi r1, r1, 0x70
/* 80023EE0 00020E40 4E 80 00 20 */ blr
.global MakeLoadDependancyList__13CMFGameLoaderFv
MakeLoadDependancyList__13CMFGameLoaderFv:
/* 80023EE4 00020E44 94 21 FF A0 */ stwu r1, -0x60(r1)
/* 80023EE8 00020E48 7C 08 02 A6 */ mflr r0
/* 80023EEC 00020E4C 3C 80 80 3E */ lis r4, lbl_803D9988@ha
/* 80023EF0 00020E50 90 01 00 64 */ stw r0, 0x64(r1)
/* 80023EF4 00020E54 38 04 99 88 */ addi r0, r4, lbl_803D9988@l
/* 80023EF8 00020E58 BF 61 00 4C */ stmw r27, 0x4c(r1)
/* 80023EFC 00020E5C 7C 7E 1B 78 */ mr r30, r3
/* 80023F00 00020E60 3B 60 00 00 */ li r27, 0
/* 80023F04 00020E64 7C 1C 03 78 */ mr r28, r0
/* 80023F08 00020E68 48 00 00 3C */ b lbl_80023F44
lbl_80023F0C:
/* 80023F0C 00020E6C 38 61 00 30 */ addi r3, r1, 0x30
/* 80023F10 00020E70 4B FE 0D A9 */ bl string_l__4rstlFPCc
/* 80023F14 00020E74 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13)
/* 80023F18 00020E78 38 81 00 30 */ addi r4, r1, 0x30
/* 80023F1C 00020E7C 38 63 00 04 */ addi r3, r3, 4
/* 80023F20 00020E80 48 31 74 1D */ bl "GetTagListForFile__10CResLoaderCFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 80023F24 00020E84 7C 7D 1B 78 */ mr r29, r3
/* 80023F28 00020E88 38 61 00 30 */ addi r3, r1, 0x30
/* 80023F2C 00020E8C 48 31 9B B5 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 80023F30 00020E90 28 1D 00 00 */ cmplwi r29, 0
/* 80023F34 00020E94 41 82 00 0C */ beq lbl_80023F40
/* 80023F38 00020E98 80 1D 00 04 */ lwz r0, 4(r29)
/* 80023F3C 00020E9C 7F 7B 02 14 */ add r27, r27, r0
lbl_80023F40:
/* 80023F40 00020EA0 3B 9C 00 04 */ addi r28, r28, 4
lbl_80023F44:
/* 80023F44 00020EA4 80 9C 00 00 */ lwz r4, 0(r28)
/* 80023F48 00020EA8 28 04 00 00 */ cmplwi r4, 0
/* 80023F4C 00020EAC 40 82 FF C0 */ bne lbl_80023F0C
/* 80023F50 00020EB0 7F 64 DB 78 */ mr r4, r27
/* 80023F54 00020EB4 38 7E 00 1C */ addi r3, r30, 0x1c
/* 80023F58 00020EB8 4B FE 4A 05 */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi"
/* 80023F5C 00020EBC 3C 60 80 3E */ lis r3, lbl_803D9988@ha
/* 80023F60 00020EC0 38 03 99 88 */ addi r0, r3, lbl_803D9988@l
/* 80023F64 00020EC4 7C 1F 03 78 */ mr r31, r0
/* 80023F68 00020EC8 48 00 01 04 */ b lbl_8002406C
lbl_80023F6C:
/* 80023F6C 00020ECC 38 61 00 20 */ addi r3, r1, 0x20
/* 80023F70 00020ED0 4B FE 0D 49 */ bl string_l__4rstlFPCc
/* 80023F74 00020ED4 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13)
/* 80023F78 00020ED8 38 81 00 20 */ addi r4, r1, 0x20
/* 80023F7C 00020EDC 38 63 00 04 */ addi r3, r3, 4
/* 80023F80 00020EE0 48 31 73 BD */ bl "GetTagListForFile__10CResLoaderCFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 80023F84 00020EE4 7C 7D 1B 78 */ mr r29, r3
/* 80023F88 00020EE8 38 61 00 20 */ addi r3, r1, 0x20
/* 80023F8C 00020EEC 48 31 9B 55 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 80023F90 00020EF0 28 1D 00 00 */ cmplwi r29, 0
/* 80023F94 00020EF4 41 82 00 D4 */ beq lbl_80024068
/* 80023F98 00020EF8 83 9D 00 0C */ lwz r28, 0xc(r29)
/* 80023F9C 00020EFC 48 00 00 B4 */ b lbl_80024050
lbl_80023FA0:
/* 80023FA0 00020F00 83 7C 00 00 */ lwz r27, 0(r28)
/* 80023FA4 00020F04 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13)
/* 80023FA8 00020F08 7F 64 DB 78 */ mr r4, r27
/* 80023FAC 00020F0C 38 63 00 04 */ addi r3, r3, 4
/* 80023FB0 00020F10 48 31 7D 1D */ bl GetResourceTypeById__10CResLoaderCFUi
/* 80023FB4 00020F14 90 61 00 18 */ stw r3, 0x18(r1)
/* 80023FB8 00020F18 38 61 00 08 */ addi r3, r1, 8
/* 80023FBC 00020F1C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
/* 80023FC0 00020F20 38 A1 00 18 */ addi r5, r1, 0x18
/* 80023FC4 00020F24 93 61 00 1C */ stw r27, 0x1c(r1)
/* 80023FC8 00020F28 81 84 00 00 */ lwz r12, 0(r4)
/* 80023FCC 00020F2C 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 80023FD0 00020F30 7D 89 03 A6 */ mtctr r12
/* 80023FD4 00020F34 4E 80 04 21 */ bctrl
/* 80023FD8 00020F38 38 61 00 10 */ addi r3, r1, 0x10
/* 80023FDC 00020F3C 38 81 00 08 */ addi r4, r1, 8
/* 80023FE0 00020F40 48 31 CE C9 */ bl __ct__6CTokenFRC6CToken
/* 80023FE4 00020F44 38 61 00 08 */ addi r3, r1, 8
/* 80023FE8 00020F48 38 80 FF FF */ li r4, -1
/* 80023FEC 00020F4C 48 31 CE 55 */ bl __dt__6CTokenFv
/* 80023FF0 00020F50 80 1E 00 20 */ lwz r0, 0x20(r30)
/* 80023FF4 00020F54 80 BE 00 24 */ lwz r5, 0x24(r30)
/* 80023FF8 00020F58 7C 00 28 00 */ cmpw r0, r5
/* 80023FFC 00020F5C 41 80 00 1C */ blt lbl_80024018
/* 80024000 00020F60 2C 05 00 00 */ cmpwi r5, 0
/* 80024004 00020F64 38 7E 00 1C */ addi r3, r30, 0x1c
/* 80024008 00020F68 38 80 00 04 */ li r4, 4
/* 8002400C 00020F6C 41 82 00 08 */ beq lbl_80024014
/* 80024010 00020F70 54 A4 08 3C */ slwi r4, r5, 1
lbl_80024014:
/* 80024014 00020F74 4B FE 49 49 */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi"
lbl_80024018:
/* 80024018 00020F78 80 1E 00 20 */ lwz r0, 0x20(r30)
/* 8002401C 00020F7C 80 7E 00 28 */ lwz r3, 0x28(r30)
/* 80024020 00020F80 54 00 18 38 */ slwi r0, r0, 3
/* 80024024 00020F84 7C 63 02 15 */ add. r3, r3, r0
/* 80024028 00020F88 41 82 00 0C */ beq lbl_80024034
/* 8002402C 00020F8C 38 81 00 10 */ addi r4, r1, 0x10
/* 80024030 00020F90 48 31 CE 79 */ bl __ct__6CTokenFRC6CToken
lbl_80024034:
/* 80024034 00020F94 80 BE 00 20 */ lwz r5, 0x20(r30)
/* 80024038 00020F98 38 61 00 10 */ addi r3, r1, 0x10
/* 8002403C 00020F9C 38 80 FF FF */ li r4, -1
/* 80024040 00020FA0 38 05 00 01 */ addi r0, r5, 1
/* 80024044 00020FA4 90 1E 00 20 */ stw r0, 0x20(r30)
/* 80024048 00020FA8 48 31 CD F9 */ bl __dt__6CTokenFv
/* 8002404C 00020FAC 3B 9C 00 04 */ addi r28, r28, 4
lbl_80024050:
/* 80024050 00020FB0 80 1D 00 04 */ lwz r0, 4(r29)
/* 80024054 00020FB4 80 7D 00 0C */ lwz r3, 0xc(r29)
/* 80024058 00020FB8 54 00 10 3A */ slwi r0, r0, 2
/* 8002405C 00020FBC 7C 03 02 14 */ add r0, r3, r0
/* 80024060 00020FC0 7C 1C 00 40 */ cmplw r28, r0
/* 80024064 00020FC4 40 82 FF 3C */ bne lbl_80023FA0
lbl_80024068:
/* 80024068 00020FC8 3B FF 00 04 */ addi r31, r31, 4
lbl_8002406C:
/* 8002406C 00020FCC 80 9F 00 00 */ lwz r4, 0(r31)
/* 80024070 00020FD0 28 04 00 00 */ cmplwi r4, 0
/* 80024074 00020FD4 40 82 FE F8 */ bne lbl_80023F6C
/* 80024078 00020FD8 BB 61 00 4C */ lmw r27, 0x4c(r1)
/* 8002407C 00020FDC 80 01 00 64 */ lwz r0, 0x64(r1)
/* 80024080 00020FE0 7C 08 03 A6 */ mtlr r0
/* 80024084 00020FE4 38 21 00 60 */ addi r1, r1, 0x60
/* 80024088 00020FE8 4E 80 00 20 */ blr
.global __dt__13CMFGameLoaderFv
__dt__13CMFGameLoaderFv:
/* 8002408C 00020FEC 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80024090 00020FF0 7C 08 02 A6 */ mflr r0
/* 80024094 00020FF4 90 01 00 34 */ stw r0, 0x34(r1)
/* 80024098 00020FF8 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 8002409C 00020FFC 93 C1 00 28 */ stw r30, 0x28(r1)
/* 800240A0 00021000 93 A1 00 24 */ stw r29, 0x24(r1)
/* 800240A4 00021004 7C 9D 23 78 */ mr r29, r4
/* 800240A8 00021008 93 81 00 20 */ stw r28, 0x20(r1)
/* 800240AC 0002100C 7C 7C 1B 79 */ or. r28, r3, r3
/* 800240B0 00021010 41 82 00 C0 */ beq lbl_80024170
/* 800240B4 00021014 3C 80 80 3E */ lis r4, lbl_803D9998@ha
/* 800240B8 00021018 38 60 00 01 */ li r3, 1
/* 800240BC 0002101C 38 04 99 98 */ addi r0, r4, lbl_803D9998@l
/* 800240C0 00021020 90 1C 00 00 */ stw r0, 0(r28)
/* 800240C4 00021024 48 2E 53 E5 */ bl SetIsBeginSceneClearFb__9CGraphicsFb
/* 800240C8 00021028 38 60 00 02 */ li r3, 2
/* 800240CC 0002102C 34 1C 00 1C */ addic. r0, r28, 0x1c
/* 800240D0 00021030 90 6D 9D 48 */ stw r3, lbl_805A8908@sda21(r13)
/* 800240D4 00021034 41 82 00 50 */ beq lbl_80024124
/* 800240D8 00021038 80 1C 00 20 */ lwz r0, 0x20(r28)
/* 800240DC 0002103C 83 DC 00 28 */ lwz r30, 0x28(r28)
/* 800240E0 00021040 54 00 18 38 */ slwi r0, r0, 3
/* 800240E4 00021044 7F FE 02 14 */ add r31, r30, r0
/* 800240E8 00021048 93 C1 00 0C */ stw r30, 0xc(r1)
/* 800240EC 0002104C 93 E1 00 14 */ stw r31, 0x14(r1)
/* 800240F0 00021050 93 E1 00 10 */ stw r31, 0x10(r1)
/* 800240F4 00021054 93 C1 00 08 */ stw r30, 8(r1)
/* 800240F8 00021058 48 00 00 14 */ b lbl_8002410C
lbl_800240FC:
/* 800240FC 0002105C 7F C3 F3 78 */ mr r3, r30
/* 80024100 00021060 38 80 FF FF */ li r4, -1
/* 80024104 00021064 48 31 CD 3D */ bl __dt__6CTokenFv
/* 80024108 00021068 3B DE 00 08 */ addi r30, r30, 8
lbl_8002410C:
/* 8002410C 0002106C 7C 1E F8 40 */ cmplw r30, r31
/* 80024110 00021070 40 82 FF EC */ bne lbl_800240FC
/* 80024114 00021074 80 7C 00 28 */ lwz r3, 0x28(r28)
/* 80024118 00021078 28 03 00 00 */ cmplwi r3, 0
/* 8002411C 0002107C 41 82 00 08 */ beq lbl_80024124
/* 80024120 00021080 48 2F 18 11 */ bl Free__7CMemoryFPCv
lbl_80024124:
/* 80024124 00021084 34 1C 00 18 */ addic. r0, r28, 0x18
/* 80024128 00021088 41 82 00 14 */ beq lbl_8002413C
/* 8002412C 0002108C 34 1C 00 18 */ addic. r0, r28, 0x18
/* 80024130 00021090 41 82 00 0C */ beq lbl_8002413C
/* 80024134 00021094 38 7C 00 18 */ addi r3, r28, 0x18
/* 80024138 00021098 48 00 0E ED */ bl sub_80025024
lbl_8002413C:
/* 8002413C 0002109C 34 1C 00 14 */ addic. r0, r28, 0x14
/* 80024140 000210A0 41 82 00 14 */ beq lbl_80024154
/* 80024144 000210A4 34 1C 00 14 */ addic. r0, r28, 0x14
/* 80024148 000210A8 41 82 00 0C */ beq lbl_80024154
/* 8002414C 000210AC 38 7C 00 14 */ addi r3, r28, 0x14
/* 80024150 000210B0 48 00 0F 31 */ bl sub_80025080
lbl_80024154:
/* 80024154 000210B4 7F 83 E3 78 */ mr r3, r28
/* 80024158 000210B8 38 80 00 00 */ li r4, 0
/* 8002415C 000210BC 48 02 EA 49 */ bl __dt__6CIOWinFv
/* 80024160 000210C0 7F A0 07 35 */ extsh. r0, r29
/* 80024164 000210C4 40 81 00 0C */ ble lbl_80024170
/* 80024168 000210C8 7F 83 E3 78 */ mr r3, r28
/* 8002416C 000210CC 48 2F 17 C5 */ bl Free__7CMemoryFPCv
lbl_80024170:
/* 80024170 000210D0 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80024174 000210D4 7F 83 E3 78 */ mr r3, r28
/* 80024178 000210D8 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 8002417C 000210DC 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 80024180 000210E0 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 80024184 000210E4 83 81 00 20 */ lwz r28, 0x20(r1)
/* 80024188 000210E8 7C 08 03 A6 */ mtlr r0
/* 8002418C 000210EC 38 21 00 30 */ addi r1, r1, 0x30
/* 80024190 000210F0 4E 80 00 20 */ blr
.global __ct__13CMFGameLoaderFv
__ct__13CMFGameLoaderFv:
/* 80024194 000210F4 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80024198 000210F8 7C 08 02 A6 */ mflr r0
/* 8002419C 000210FC 3C 80 80 3D */ lis r4, lbl_803CCAB8@ha
/* 800241A0 00021100 90 01 00 34 */ stw r0, 0x34(r1)
/* 800241A4 00021104 38 84 CA B8 */ addi r4, r4, lbl_803CCAB8@l
/* 800241A8 00021108 38 84 00 31 */ addi r4, r4, 0x31
/* 800241AC 0002110C 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 800241B0 00021110 7C 7F 1B 78 */ mr r31, r3
/* 800241B4 00021114 38 61 00 0C */ addi r3, r1, 0xc
/* 800241B8 00021118 93 C1 00 28 */ stw r30, 0x28(r1)
/* 800241BC 0002111C 4B FE 0A FD */ bl string_l__4rstlFPCc
/* 800241C0 00021120 7F E3 FB 78 */ mr r3, r31
/* 800241C4 00021124 38 81 00 0C */ addi r4, r1, 0xc
/* 800241C8 00021128 48 02 EA 45 */ bl "__ct__6CIOWinFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 800241CC 0002112C 38 61 00 0C */ addi r3, r1, 0xc
/* 800241D0 00021130 48 31 99 11 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 800241D4 00021134 3C 60 80 3E */ lis r3, lbl_803D9998@ha
/* 800241D8 00021138 38 CD A9 28 */ addi r6, r13, lbl_805A94E8@sda21
/* 800241DC 0002113C 38 03 99 98 */ addi r0, r3, lbl_803D9998@l
/* 800241E0 00021140 38 80 00 00 */ li r4, 0
/* 800241E4 00021144 90 1F 00 00 */ stw r0, 0(r31)
/* 800241E8 00021148 38 00 00 01 */ li r0, 1
/* 800241EC 0002114C 90 DF 00 14 */ stw r6, 0x14(r31)
/* 800241F0 00021150 80 BF 00 14 */ lwz r5, 0x14(r31)
/* 800241F4 00021154 80 65 00 04 */ lwz r3, 4(r5)
/* 800241F8 00021158 38 63 00 01 */ addi r3, r3, 1
/* 800241FC 0002115C 90 65 00 04 */ stw r3, 4(r5)
/* 80024200 00021160 90 DF 00 18 */ stw r6, 0x18(r31)
/* 80024204 00021164 80 BF 00 18 */ lwz r5, 0x18(r31)
/* 80024208 00021168 80 65 00 04 */ lwz r3, 4(r5)
/* 8002420C 0002116C 38 63 00 01 */ addi r3, r3, 1
/* 80024210 00021170 90 65 00 04 */ stw r3, 4(r5)
/* 80024214 00021174 90 9F 00 20 */ stw r4, 0x20(r31)
/* 80024218 00021178 90 9F 00 24 */ stw r4, 0x24(r31)
/* 8002421C 0002117C 90 9F 00 28 */ stw r4, 0x28(r31)
/* 80024220 00021180 88 7F 00 2C */ lbz r3, 0x2c(r31)
/* 80024224 00021184 50 83 3E 30 */ rlwimi r3, r4, 7, 0x18, 0x18
/* 80024228 00021188 98 7F 00 2C */ stb r3, 0x2c(r31)
/* 8002422C 0002118C 88 7F 00 2C */ lbz r3, 0x2c(r31)
/* 80024230 00021190 50 83 36 72 */ rlwimi r3, r4, 6, 0x19, 0x19
/* 80024234 00021194 98 7F 00 2C */ stb r3, 0x2c(r31)
/* 80024238 00021198 90 0D 9D 48 */ stw r0, lbl_805A8908@sda21(r13)
/* 8002423C 0002119C 48 33 11 45 */ bl DisableTextureTimeout__6CModelFv
/* 80024240 000211A0 80 6D A0 78 */ lwz r3, gpMain@sda21(r13)
/* 80024244 000211A4 80 03 01 2C */ lwz r0, 0x12c(r3)
/* 80024248 000211A8 2C 00 00 05 */ cmpwi r0, 5
/* 8002424C 000211AC 41 82 00 0C */ beq lbl_80024258
/* 80024250 000211B0 2C 00 00 06 */ cmpwi r0, 6
/* 80024254 000211B4 40 82 00 7C */ bne lbl_800242D0
lbl_80024258:
/* 80024258 000211B8 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13)
/* 8002425C 000211BC 48 1A F7 75 */ bl CurrentWorldAssetId__10CGameStateCFv
/* 80024260 000211C0 7C 60 1B 78 */ mr r0, r3
/* 80024264 000211C4 80 6D A0 84 */ lwz r3, gpMemoryCard@sda21(r13)
/* 80024268 000211C8 7C 1E 03 78 */ mr r30, r0
/* 8002426C 000211CC 7F C4 F3 78 */ mr r4, r30
/* 80024270 000211D0 48 22 4D 49 */ bl HasSaveWorldMemory__15CMemoryCardSysFi
/* 80024274 000211D4 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80024278 000211D8 41 82 00 58 */ beq lbl_800242D0
/* 8002427C 000211DC 80 6D A0 84 */ lwz r3, gpMemoryCard@sda21(r13)
/* 80024280 000211E0 7F C4 F3 78 */ mr r4, r30
/* 80024284 000211E4 48 22 4C 89 */ bl GetSaveWorldMemory__14CMemoryCardSysCFi
/* 80024288 000211E8 7C 7E 1B 78 */ mr r30, r3
/* 8002428C 000211EC 80 63 00 00 */ lwz r3, 0(r3)
/* 80024290 000211F0 3C 03 00 01 */ addis r0, r3, 1
/* 80024294 000211F4 28 00 FF FF */ cmplwi r0, 0xffff
/* 80024298 000211F8 41 82 00 38 */ beq lbl_800242D0
/* 8002429C 000211FC 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13)
/* 800242A0 00021200 48 1A F6 79 */ bl WorldTransitionManager__10CGameStateFv
/* 800242A4 00021204 80 C3 00 00 */ lwz r6, 0(r3)
/* 800242A8 00021208 3C 60 B7 BC */ lis r3, 0xB7BBD0B4@ha
/* 800242AC 0002120C 80 BE 00 00 */ lwz r5, 0(r30)
/* 800242B0 00021210 38 83 D0 B4 */ addi r4, r3, 0xB7BBD0B4@l
/* 800242B4 00021214 80 66 00 00 */ lwz r3, 0(r6)
/* 800242B8 00021218 38 C0 00 01 */ li r6, 1
/* 800242BC 0002121C C0 22 83 00 */ lfs f1, lbl_805AA020@sda21(r2)
/* 800242C0 00021220 38 E0 00 00 */ li r7, 0
/* 800242C4 00021224 C0 42 83 04 */ lfs f2, lbl_805AA024@sda21(r2)
/* 800242C8 00021228 C0 62 83 08 */ lfs f3, lbl_805AA028@sda21(r2)
/* 800242CC 0002122C 48 1E 53 25 */ bl EnableTransition__18CWorldTransManagerFviibbfff
lbl_800242D0:
/* 800242D0 00021230 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13)
/* 800242D4 00021234 48 1A F6 FD */ bl CurrentWorldAssetId__10CGameStateCFv
/* 800242D8 00021238 38 8D A0 F8 */ addi r4, r13, lbl_805A8CB8@sda21
/* 800242DC 0002123C 80 04 00 04 */ lwz r0, 4(r4)
/* 800242E0 00021240 7C 03 00 40 */ cmplw r3, r0
/* 800242E4 00021244 40 82 00 7C */ bne lbl_80024360
/* 800242E8 00021248 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13)
/* 800242EC 0002124C 48 1A F6 9D */ bl GetCurrentWorldState__10CGameStateCFv
/* 800242F0 00021250 7C 64 1B 78 */ mr r4, r3
/* 800242F4 00021254 38 61 00 08 */ addi r3, r1, 8
/* 800242F8 00021258 48 1B 0A 61 */ bl GetCurrentArea__11CWorldStateCFv
/* 800242FC 0002125C 80 01 00 08 */ lwz r0, 8(r1)
/* 80024300 00021260 2C 00 00 00 */ cmpwi r0, 0
/* 80024304 00021264 40 82 00 5C */ bne lbl_80024360
/* 80024308 00021268 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13)
/* 8002430C 0002126C 3C 80 80 3D */ lis r4, lbl_803CCAB8@ha
/* 80024310 00021270 38 84 CA B8 */ addi r4, r4, lbl_803CCAB8@l
/* 80024314 00021274 81 83 00 00 */ lwz r12, 0(r3)
/* 80024318 00021278 38 84 00 3F */ addi r4, r4, 0x3f
/* 8002431C 0002127C 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 80024320 00021280 7D 89 03 A6 */ mtctr r12
/* 80024324 00021284 4E 80 04 21 */ bctrl
/* 80024328 00021288 7C 7E 1B 79 */ or. r30, r3, r3
/* 8002432C 0002128C 41 82 00 34 */ beq lbl_80024360
/* 80024330 00021290 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13)
/* 80024334 00021294 48 1A F5 E5 */ bl WorldTransitionManager__10CGameStateFv
/* 80024338 00021298 80 63 00 00 */ lwz r3, 0(r3)
/* 8002433C 0002129C 38 80 FF FF */ li r4, -1
/* 80024340 000212A0 80 BE 00 04 */ lwz r5, 4(r30)
/* 80024344 000212A4 38 C0 00 00 */ li r6, 0
/* 80024348 000212A8 80 63 00 00 */ lwz r3, 0(r3)
/* 8002434C 000212AC 38 E0 00 00 */ li r7, 0
/* 80024350 000212B0 C0 22 83 00 */ lfs f1, lbl_805AA020@sda21(r2)
/* 80024354 000212B4 C0 42 83 04 */ lfs f2, lbl_805AA024@sda21(r2)
/* 80024358 000212B8 C0 62 83 08 */ lfs f3, lbl_805AA028@sda21(r2)
/* 8002435C 000212BC 48 1E 52 95 */ bl EnableTransition__18CWorldTransManagerFviibbfff
lbl_80024360:
/* 80024360 000212C0 88 1F 00 2C */ lbz r0, 0x2c(r31)
/* 80024364 000212C4 38 60 00 01 */ li r3, 1
/* 80024368 000212C8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18
/* 8002436C 000212CC 7F E3 FB 78 */ mr r3, r31
/* 80024370 000212D0 98 1F 00 2C */ stb r0, 0x2c(r31)
/* 80024374 000212D4 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 80024378 000212D8 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 8002437C 000212DC 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80024380 000212E0 7C 08 03 A6 */ mtlr r0
/* 80024384 000212E4 38 21 00 30 */ addi r1, r1, 0x30
/* 80024388 000212E8 4E 80 00 20 */ blr

368
asm/Kyoto_CWD/CMainFlow.s Normal file
View File

@ -0,0 +1,368 @@
.include "macros.inc"
.section .text, "ax"
.global __dt__9CMainFlowFv
__dt__9CMainFlowFv:
/* 80023524 00020484 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80023528 00020488 7C 08 02 A6 */ mflr r0
/* 8002352C 0002048C 90 01 00 14 */ stw r0, 0x14(r1)
/* 80023530 00020490 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80023534 00020494 7C 9F 23 78 */ mr r31, r4
/* 80023538 00020498 93 C1 00 08 */ stw r30, 8(r1)
/* 8002353C 0002049C 7C 7E 1B 79 */ or. r30, r3, r3
/* 80023540 000204A0 41 82 00 28 */ beq lbl_80023568
/* 80023544 000204A4 3C A0 80 3E */ lis r5, lbl_803D9928@ha
/* 80023548 000204A8 38 80 00 00 */ li r4, 0
/* 8002354C 000204AC 38 05 99 28 */ addi r0, r5, lbl_803D9928@l
/* 80023550 000204B0 90 1E 00 00 */ stw r0, 0(r30)
/* 80023554 000204B4 48 02 F6 51 */ bl __dt__6CIOWinFv
/* 80023558 000204B8 7F E0 07 35 */ extsh. r0, r31
/* 8002355C 000204BC 40 81 00 0C */ ble lbl_80023568
/* 80023560 000204C0 7F C3 F3 78 */ mr r3, r30
/* 80023564 000204C4 48 2F 23 CD */ bl Free__7CMemoryFPCv
lbl_80023568:
/* 80023568 000204C8 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8002356C 000204CC 7F C3 F3 78 */ mr r3, r30
/* 80023570 000204D0 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80023574 000204D4 83 C1 00 08 */ lwz r30, 8(r1)
/* 80023578 000204D8 7C 08 03 A6 */ mtlr r0
/* 8002357C 000204DC 38 21 00 10 */ addi r1, r1, 0x10
/* 80023580 000204E0 4E 80 00 20 */ blr
.global SetGameState__9CMainFlowF17EClientFlowStatesR18CArchitectureQueue
SetGameState__9CMainFlowF17EClientFlowStatesR18CArchitectureQueue:
/* 80023584 000204E4 94 21 FF A0 */ stwu r1, -0x60(r1)
/* 80023588 000204E8 7C 08 02 A6 */ mflr r0
/* 8002358C 000204EC 90 01 00 64 */ stw r0, 0x64(r1)
/* 80023590 000204F0 93 E1 00 5C */ stw r31, 0x5c(r1)
/* 80023594 000204F4 7C BF 2B 78 */ mr r31, r5
/* 80023598 000204F8 90 83 00 14 */ stw r4, 0x14(r3)
/* 8002359C 000204FC 80 03 00 14 */ lwz r0, 0x14(r3)
/* 800235A0 00020500 2C 00 00 0E */ cmpwi r0, 0xe
/* 800235A4 00020504 41 82 02 2C */ beq lbl_800237D0
/* 800235A8 00020508 40 80 00 1C */ bge lbl_800235C4
/* 800235AC 0002050C 2C 00 00 08 */ cmpwi r0, 8
/* 800235B0 00020510 41 82 01 80 */ beq lbl_80023730
/* 800235B4 00020514 40 80 02 8C */ bge lbl_80023840
/* 800235B8 00020518 2C 00 00 07 */ cmpwi r0, 7
/* 800235BC 0002051C 40 80 01 08 */ bge lbl_800236C4
/* 800235C0 00020520 48 00 02 80 */ b lbl_80023840
lbl_800235C4:
/* 800235C4 00020524 2C 00 00 10 */ cmpwi r0, 0x10
/* 800235C8 00020528 40 80 02 78 */ bge lbl_80023840
/* 800235CC 0002052C 80 6D A0 78 */ lwz r3, gpMain@sda21(r13)
/* 800235D0 00020530 38 00 00 00 */ li r0, 0
/* 800235D4 00020534 80 63 01 2C */ lwz r3, 0x12c(r3)
/* 800235D8 00020538 2C 03 00 01 */ cmpwi r3, 1
/* 800235DC 0002053C 41 80 00 10 */ blt lbl_800235EC
/* 800235E0 00020540 2C 03 00 04 */ cmpwi r3, 4
/* 800235E4 00020544 41 81 00 08 */ bgt lbl_800235EC
/* 800235E8 00020548 38 00 00 01 */ li r0, 1
lbl_800235EC:
/* 800235EC 0002054C 54 00 06 3F */ clrlwi. r0, r0, 0x18
/* 800235F0 00020550 41 82 02 50 */ beq lbl_80023840
/* 800235F4 00020554 2C 03 00 04 */ cmpwi r3, 4
/* 800235F8 00020558 40 80 00 6C */ bge lbl_80023664
/* 800235FC 0002055C 2C 03 00 01 */ cmpwi r3, 1
/* 80023600 00020560 40 80 00 08 */ bge lbl_80023608
/* 80023604 00020564 48 00 00 60 */ b lbl_80023664
lbl_80023608:
/* 80023608 00020568 3C 80 80 3D */ lis r4, lbl_803CCAA8@ha
/* 8002360C 0002056C 38 60 00 60 */ li r3, 0x60
/* 80023610 00020570 38 84 CA A8 */ addi r4, r4, lbl_803CCAA8@l
/* 80023614 00020574 38 A0 00 00 */ li r5, 0
/* 80023618 00020578 48 2F 22 55 */ bl __nw__FUlPCcPCc
/* 8002361C 0002057C 7C 60 1B 79 */ or. r0, r3, r3
/* 80023620 00020580 41 82 00 0C */ beq lbl_8002362C
/* 80023624 00020584 48 00 2C 99 */ bl __ct__8CCreditsFv
/* 80023628 00020588 7C 60 1B 78 */ mr r0, r3
lbl_8002362C:
/* 8002362C 0002058C 90 01 00 18 */ stw r0, 0x18(r1)
/* 80023630 00020590 38 61 00 4C */ addi r3, r1, 0x4c
/* 80023634 00020594 38 E1 00 18 */ addi r7, r1, 0x18
/* 80023638 00020598 38 80 00 00 */ li r4, 0
/* 8002363C 0002059C 38 AD 81 60 */ addi r5, r13, lbl_805A6D20@sda21
/* 80023640 000205A0 38 CD 81 64 */ addi r6, r13, lbl_805A6D24@sda21
/* 80023644 000205A4 48 02 E6 69 */ bl CreateCreateIOWin__7MakeMsgF14EArchMsgTargetRCiRCiRCP6CIOWin
/* 80023648 000205A8 7F E3 FB 78 */ mr r3, r31
/* 8002364C 000205AC 38 81 00 4C */ addi r4, r1, 0x4c
/* 80023650 000205B0 4B FE 36 B1 */ bl InsertMsg__18CArchitectureQueueFRC20CArchitectureMessage
/* 80023654 000205B4 34 61 00 54 */ addic. r3, r1, 0x54
/* 80023658 000205B8 41 82 01 E8 */ beq lbl_80023840
/* 8002365C 000205BC 4B FE 50 B1 */ bl sub_8000870c
/* 80023660 000205C0 48 00 01 E0 */ b lbl_80023840
lbl_80023664:
/* 80023664 000205C4 3C 80 80 3D */ lis r4, lbl_803CCAA8@ha
/* 80023668 000205C8 38 60 00 7C */ li r3, 0x7c
/* 8002366C 000205CC 38 84 CA A8 */ addi r4, r4, lbl_803CCAA8@l
/* 80023670 000205D0 38 A0 00 00 */ li r5, 0
/* 80023674 000205D4 48 2F 21 F9 */ bl __nw__FUlPCcPCc
/* 80023678 000205D8 7C 60 1B 79 */ or. r0, r3, r3
/* 8002367C 000205DC 41 82 00 10 */ beq lbl_8002368C
/* 80023680 000205E0 38 80 00 03 */ li r4, 3
/* 80023684 000205E4 48 00 40 E1 */ bl __ct__10CPlayMovieFQ210CPlayMovie11EWhichMovie
/* 80023688 000205E8 7C 60 1B 78 */ mr r0, r3
lbl_8002368C:
/* 8002368C 000205EC 90 01 00 14 */ stw r0, 0x14(r1)
/* 80023690 000205F0 38 61 00 40 */ addi r3, r1, 0x40
/* 80023694 000205F4 38 E1 00 14 */ addi r7, r1, 0x14
/* 80023698 000205F8 38 80 00 00 */ li r4, 0
/* 8002369C 000205FC 38 AD 81 68 */ addi r5, r13, lbl_805A6D28@sda21
/* 800236A0 00020600 38 CD 81 6C */ addi r6, r13, lbl_805A6D2C@sda21
/* 800236A4 00020604 48 02 E6 09 */ bl CreateCreateIOWin__7MakeMsgF14EArchMsgTargetRCiRCiRCP6CIOWin
/* 800236A8 00020608 7F E3 FB 78 */ mr r3, r31
/* 800236AC 0002060C 38 81 00 40 */ addi r4, r1, 0x40
/* 800236B0 00020610 4B FE 36 51 */ bl InsertMsg__18CArchitectureQueueFRC20CArchitectureMessage
/* 800236B4 00020614 34 61 00 48 */ addic. r3, r1, 0x48
/* 800236B8 00020618 41 82 01 88 */ beq lbl_80023840
/* 800236BC 0002061C 4B FE 50 51 */ bl sub_8000870c
/* 800236C0 00020620 48 00 01 80 */ b lbl_80023840
lbl_800236C4:
/* 800236C4 00020624 80 6D A0 78 */ lwz r3, gpMain@sda21(r13)
/* 800236C8 00020628 80 03 01 2C */ lwz r0, 0x12c(r3)
/* 800236CC 0002062C 2C 00 00 00 */ cmpwi r0, 0
/* 800236D0 00020630 41 82 01 70 */ beq lbl_80023840
/* 800236D4 00020634 3C 80 80 3D */ lis r4, lbl_803CCAA8@ha
/* 800236D8 00020638 38 60 00 18 */ li r3, 0x18
/* 800236DC 0002063C 38 84 CA A8 */ addi r4, r4, lbl_803CCAA8@l
/* 800236E0 00020640 38 A0 00 00 */ li r5, 0
/* 800236E4 00020644 48 2F 21 89 */ bl __nw__FUlPCcPCc
/* 800236E8 00020648 7C 60 1B 79 */ or. r0, r3, r3
/* 800236EC 0002064C 41 82 00 0C */ beq lbl_800236F8
/* 800236F0 00020650 48 27 AE F1 */ bl __ct__12CPreFrontEndFv
/* 800236F4 00020654 7C 60 1B 78 */ mr r0, r3
lbl_800236F8:
/* 800236F8 00020658 90 01 00 10 */ stw r0, 0x10(r1)
/* 800236FC 0002065C 38 61 00 34 */ addi r3, r1, 0x34
/* 80023700 00020660 38 E1 00 10 */ addi r7, r1, 0x10
/* 80023704 00020664 38 80 00 00 */ li r4, 0
/* 80023708 00020668 38 AD 81 70 */ addi r5, r13, lbl_805A6D30@sda21
/* 8002370C 0002066C 38 CD 81 74 */ addi r6, r13, lbl_805A6D34@sda21
/* 80023710 00020670 48 02 E5 9D */ bl CreateCreateIOWin__7MakeMsgF14EArchMsgTargetRCiRCiRCP6CIOWin
/* 80023714 00020674 7F E3 FB 78 */ mr r3, r31
/* 80023718 00020678 38 81 00 34 */ addi r4, r1, 0x34
/* 8002371C 0002067C 4B FE 35 E5 */ bl InsertMsg__18CArchitectureQueueFRC20CArchitectureMessage
/* 80023720 00020680 34 61 00 3C */ addic. r3, r1, 0x3c
/* 80023724 00020684 41 82 01 1C */ beq lbl_80023840
/* 80023728 00020688 4B FE 4F E5 */ bl sub_8000870c
/* 8002372C 0002068C 48 00 01 14 */ b lbl_80023840
lbl_80023730:
/* 80023730 00020690 80 6D A0 78 */ lwz r3, gpMain@sda21(r13)
/* 80023734 00020694 80 03 01 2C */ lwz r0, 0x12c(r3)
/* 80023738 00020698 2C 00 00 00 */ cmpwi r0, 0
/* 8002373C 0002069C 41 82 01 04 */ beq lbl_80023840
/* 80023740 000206A0 2C 00 00 06 */ cmpwi r0, 6
/* 80023744 000206A4 40 82 00 30 */ bne lbl_80023774
/* 80023748 000206A8 3C 80 80 3D */ lis r4, lbl_803CCAA8@ha
/* 8002374C 000206AC 38 60 00 14 */ li r3, 0x14
/* 80023750 000206B0 38 84 CA A8 */ addi r4, r4, lbl_803CCAA8@l
/* 80023754 000206B4 38 A0 00 00 */ li r5, 0
/* 80023758 000206B8 48 2F 21 15 */ bl __nw__FUlPCcPCc
/* 8002375C 000206BC 7C 60 1B 79 */ or. r0, r3, r3
/* 80023760 000206C0 41 82 00 0C */ beq lbl_8002376C
/* 80023764 000206C4 4B FF E3 35 */ bl __ct__16CStateSetterFlowFv
/* 80023768 000206C8 7C 60 1B 78 */ mr r0, r3
lbl_8002376C:
/* 8002376C 000206CC 90 01 00 0C */ stw r0, 0xc(r1)
/* 80023770 000206D0 48 00 00 2C */ b lbl_8002379C
lbl_80023774:
/* 80023774 000206D4 3C 80 80 3D */ lis r4, lbl_803CCAA8@ha
/* 80023778 000206D8 38 60 00 F8 */ li r3, 0xf8
/* 8002377C 000206DC 38 84 CA A8 */ addi r4, r4, lbl_803CCAA8@l
/* 80023780 000206E0 38 A0 00 00 */ li r5, 0
/* 80023784 000206E4 48 2F 20 E9 */ bl __nw__FUlPCcPCc
/* 80023788 000206E8 7C 60 1B 79 */ or. r0, r3, r3
/* 8002378C 000206EC 41 82 00 0C */ beq lbl_80023798
/* 80023790 000206F0 4B FF A4 49 */ bl __ct__11CFrontEndUIFR18CArchitectureQueue
/* 80023794 000206F4 7C 60 1B 78 */ mr r0, r3
lbl_80023798:
/* 80023798 000206F8 90 01 00 0C */ stw r0, 0xc(r1)
lbl_8002379C:
/* 8002379C 000206FC 38 61 00 28 */ addi r3, r1, 0x28
/* 800237A0 00020700 38 E1 00 0C */ addi r7, r1, 0xc
/* 800237A4 00020704 38 80 00 00 */ li r4, 0
/* 800237A8 00020708 38 AD 81 78 */ addi r5, r13, lbl_805A6D38@sda21
/* 800237AC 0002070C 38 CD 81 7C */ addi r6, r13, lbl_805A6D3C@sda21
/* 800237B0 00020710 48 02 E4 FD */ bl CreateCreateIOWin__7MakeMsgF14EArchMsgTargetRCiRCiRCP6CIOWin
/* 800237B4 00020714 7F E3 FB 78 */ mr r3, r31
/* 800237B8 00020718 38 81 00 28 */ addi r4, r1, 0x28
/* 800237BC 0002071C 4B FE 35 45 */ bl InsertMsg__18CArchitectureQueueFRC20CArchitectureMessage
/* 800237C0 00020720 34 61 00 30 */ addic. r3, r1, 0x30
/* 800237C4 00020724 41 82 00 7C */ beq lbl_80023840
/* 800237C8 00020728 4B FE 4F 45 */ bl sub_8000870c
/* 800237CC 0002072C 48 00 00 74 */ b lbl_80023840
lbl_800237D0:
/* 800237D0 00020730 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13)
/* 800237D4 00020734 38 63 01 7C */ addi r3, r3, 0x17c
/* 800237D8 00020738 48 1E B9 25 */ bl EnsureOptions__12CGameOptionsFv
/* 800237DC 0002073C 3C 80 80 3D */ lis r4, lbl_803CCAA8@ha
/* 800237E0 00020740 38 60 00 30 */ li r3, 0x30
/* 800237E4 00020744 38 84 CA A8 */ addi r4, r4, lbl_803CCAA8@l
/* 800237E8 00020748 38 A0 00 00 */ li r5, 0
/* 800237EC 0002074C 48 2F 20 81 */ bl __nw__FUlPCcPCc
/* 800237F0 00020750 7C 64 1B 79 */ or. r4, r3, r3
/* 800237F4 00020754 41 82 00 0C */ beq lbl_80023800
/* 800237F8 00020758 48 00 09 9D */ bl __ct__13CMFGameLoaderFv
/* 800237FC 0002075C 7C 64 1B 78 */ mr r4, r3
lbl_80023800:
/* 80023800 00020760 80 AD A0 78 */ lwz r5, gpMain@sda21(r13)
/* 80023804 00020764 38 00 00 05 */ li r0, 5
/* 80023808 00020768 90 81 00 08 */ stw r4, 8(r1)
/* 8002380C 0002076C 38 61 00 1C */ addi r3, r1, 0x1c
/* 80023810 00020770 38 E1 00 08 */ addi r7, r1, 8
/* 80023814 00020774 38 80 00 00 */ li r4, 0
/* 80023818 00020778 90 05 01 2C */ stw r0, 0x12c(r5)
/* 8002381C 0002077C 38 AD 81 80 */ addi r5, r13, lbl_805A6D40@sda21
/* 80023820 00020780 38 CD 81 84 */ addi r6, r13, lbl_805A6D44@sda21
/* 80023824 00020784 48 02 E4 89 */ bl CreateCreateIOWin__7MakeMsgF14EArchMsgTargetRCiRCiRCP6CIOWin
/* 80023828 00020788 7F E3 FB 78 */ mr r3, r31
/* 8002382C 0002078C 38 81 00 1C */ addi r4, r1, 0x1c
/* 80023830 00020790 4B FE 34 D1 */ bl InsertMsg__18CArchitectureQueueFRC20CArchitectureMessage
/* 80023834 00020794 34 61 00 24 */ addic. r3, r1, 0x24
/* 80023838 00020798 41 82 00 08 */ beq lbl_80023840
/* 8002383C 0002079C 4B FE 4E D1 */ bl sub_8000870c
lbl_80023840:
/* 80023840 000207A0 80 01 00 64 */ lwz r0, 0x64(r1)
/* 80023844 000207A4 83 E1 00 5C */ lwz r31, 0x5c(r1)
/* 80023848 000207A8 7C 08 03 A6 */ mtlr r0
/* 8002384C 000207AC 38 21 00 60 */ addi r1, r1, 0x60
/* 80023850 000207B0 4E 80 00 20 */ blr
.global AdvanceGameState__9CMainFlowFR18CArchitectureQueue
AdvanceGameState__9CMainFlowFR18CArchitectureQueue:
/* 80023854 000207B4 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80023858 000207B8 7C 08 02 A6 */ mflr r0
/* 8002385C 000207BC 90 01 00 14 */ stw r0, 0x14(r1)
/* 80023860 000207C0 80 A3 00 14 */ lwz r5, 0x14(r3)
/* 80023864 000207C4 38 05 00 01 */ addi r0, r5, 1
/* 80023868 000207C8 28 00 00 10 */ cmplwi r0, 0x10
/* 8002386C 000207CC 41 81 00 80 */ bgt lbl_800238EC
/* 80023870 000207D0 3C A0 80 3E */ lis r5, lbl_803D9944@ha
/* 80023874 000207D4 54 00 10 3A */ slwi r0, r0, 2
/* 80023878 000207D8 38 A5 99 44 */ addi r5, r5, lbl_803D9944@l
/* 8002387C 000207DC 7C 05 00 2E */ lwzx r0, r5, r0
/* 80023880 000207E0 7C 09 03 A6 */ mtctr r0
/* 80023884 000207E4 4E 80 04 20 */ bctr
/* 80023888 000207E8 7C 85 23 78 */ mr r5, r4
/* 8002388C 000207EC 38 80 00 0F */ li r4, 0xf
/* 80023890 000207F0 4B FF FC F5 */ bl SetGameState__9CMainFlowF17EClientFlowStatesR18CArchitectureQueue
/* 80023894 000207F4 48 00 00 58 */ b lbl_800238EC
/* 80023898 000207F8 7C 85 23 78 */ mr r5, r4
/* 8002389C 000207FC 38 80 00 08 */ li r4, 8
/* 800238A0 00020800 4B FF FC E5 */ bl SetGameState__9CMainFlowF17EClientFlowStatesR18CArchitectureQueue
/* 800238A4 00020804 48 00 00 48 */ b lbl_800238EC
/* 800238A8 00020808 7C 85 23 78 */ mr r5, r4
/* 800238AC 0002080C 38 80 00 0E */ li r4, 0xe
/* 800238B0 00020810 4B FF FC D5 */ bl SetGameState__9CMainFlowF17EClientFlowStatesR18CArchitectureQueue
/* 800238B4 00020814 48 00 00 38 */ b lbl_800238EC
/* 800238B8 00020818 80 CD A0 78 */ lwz r6, gpMain@sda21(r13)
/* 800238BC 0002081C 80 06 01 2C */ lwz r0, 0x12c(r6)
/* 800238C0 00020820 2C 00 00 00 */ cmpwi r0, 0
/* 800238C4 00020824 41 82 00 1C */ beq lbl_800238E0
/* 800238C8 00020828 2C 00 00 06 */ cmpwi r0, 6
/* 800238CC 0002082C 41 82 00 14 */ beq lbl_800238E0
/* 800238D0 00020830 88 06 01 60 */ lbz r0, 0x160(r6)
/* 800238D4 00020834 38 A0 00 01 */ li r5, 1
/* 800238D8 00020838 50 A0 0F BC */ rlwimi r0, r5, 1, 0x1e, 0x1e
/* 800238DC 0002083C 98 06 01 60 */ stb r0, 0x160(r6)
lbl_800238E0:
/* 800238E0 00020840 7C 85 23 78 */ mr r5, r4
/* 800238E4 00020844 38 80 00 07 */ li r4, 7
/* 800238E8 00020848 4B FF FC 9D */ bl SetGameState__9CMainFlowF17EClientFlowStatesR18CArchitectureQueue
lbl_800238EC:
/* 800238EC 0002084C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800238F0 00020850 7C 08 03 A6 */ mtlr r0
/* 800238F4 00020854 38 21 00 10 */ addi r1, r1, 0x10
/* 800238F8 00020858 4E 80 00 20 */ blr
.global Draw__9CMainFlowCFv
Draw__9CMainFlowCFv:
/* 800238FC 0002085C 4E 80 00 20 */ blr
.global GetIsContinueDraw__9CMainFlowCFv
GetIsContinueDraw__9CMainFlowCFv:
/* 80023900 00020860 38 60 00 00 */ li r3, 0
/* 80023904 00020864 4E 80 00 20 */ blr
.global OnMessage__9CMainFlowFRC20CArchitectureMessageR18CArchitectureQueue
OnMessage__9CMainFlowFRC20CArchitectureMessageR18CArchitectureQueue:
/* 80023908 00020868 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8002390C 0002086C 7C 08 02 A6 */ mflr r0
/* 80023910 00020870 90 01 00 24 */ stw r0, 0x24(r1)
/* 80023914 00020874 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80023918 00020878 7C BF 2B 78 */ mr r31, r5
/* 8002391C 0002087C 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80023920 00020880 7C 7E 1B 78 */ mr r30, r3
/* 80023924 00020884 80 04 00 04 */ lwz r0, 4(r4)
/* 80023928 00020888 2C 00 00 05 */ cmpwi r0, 5
/* 8002392C 0002088C 41 82 00 74 */ beq lbl_800239A0
/* 80023930 00020890 40 80 00 10 */ bge lbl_80023940
/* 80023934 00020894 2C 00 00 04 */ cmpwi r0, 4
/* 80023938 00020898 40 80 00 14 */ bge lbl_8002394C
/* 8002393C 0002089C 48 00 00 64 */ b lbl_800239A0
lbl_80023940:
/* 80023940 000208A0 2C 00 00 07 */ cmpwi r0, 7
/* 80023944 000208A4 40 80 00 5C */ bge lbl_800239A0
/* 80023948 000208A8 48 00 00 10 */ b lbl_80023958
lbl_8002394C:
/* 8002394C 000208AC 7F E4 FB 78 */ mr r4, r31
/* 80023950 000208B0 4B FF FF 05 */ bl AdvanceGameState__9CMainFlowFR18CArchitectureQueue
/* 80023954 000208B4 48 00 00 4C */ b lbl_800239A0
lbl_80023958:
/* 80023958 000208B8 7C 83 23 78 */ mr r3, r4
/* 8002395C 000208BC 48 02 E1 7D */ bl GetParmNewGameflowState__7MakeMsgFRC20CArchitectureMessage
/* 80023960 000208C0 3C A0 80 3E */ lis r5, lbl_803D8E9C@ha
/* 80023964 000208C4 3C 80 80 3E */ lis r4, lbl_803D9E50@ha
/* 80023968 000208C8 38 05 8E 9C */ addi r0, r5, lbl_803D8E9C@l
/* 8002396C 000208CC 90 01 00 08 */ stw r0, 8(r1)
/* 80023970 000208D0 38 04 9E 50 */ addi r0, r4, lbl_803D9E50@l
/* 80023974 000208D4 7F E5 FB 78 */ mr r5, r31
/* 80023978 000208D8 90 01 00 08 */ stw r0, 8(r1)
/* 8002397C 000208DC 80 83 00 04 */ lwz r4, 4(r3)
/* 80023980 000208E0 7F C3 F3 78 */ mr r3, r30
/* 80023984 000208E4 90 81 00 0C */ stw r4, 0xc(r1)
/* 80023988 000208E8 4B FF FB FD */ bl SetGameState__9CMainFlowF17EClientFlowStatesR18CArchitectureQueue
/* 8002398C 000208EC 38 61 00 08 */ addi r3, r1, 8
/* 80023990 000208F0 38 80 FF FF */ li r4, -1
/* 80023994 000208F4 48 02 DC 35 */ bl __dt__17CArchMsgParmInt32Fv
/* 80023998 000208F8 38 60 00 01 */ li r3, 1
/* 8002399C 000208FC 48 00 00 08 */ b lbl_800239A4
lbl_800239A0:
/* 800239A0 00020900 38 60 00 00 */ li r3, 0
lbl_800239A4:
/* 800239A4 00020904 80 01 00 24 */ lwz r0, 0x24(r1)
/* 800239A8 00020908 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 800239AC 0002090C 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 800239B0 00020910 7C 08 03 A6 */ mtlr r0
/* 800239B4 00020914 38 21 00 20 */ addi r1, r1, 0x20
/* 800239B8 00020918 4E 80 00 20 */ blr
.global __ct__9CMainFlowFv
__ct__9CMainFlowFv:
/* 800239BC 0002091C 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 800239C0 00020920 7C 08 02 A6 */ mflr r0
/* 800239C4 00020924 3C 80 80 3D */ lis r4, lbl_803CCAA8@ha
/* 800239C8 00020928 90 01 00 24 */ stw r0, 0x24(r1)
/* 800239CC 0002092C 38 84 CA A8 */ addi r4, r4, lbl_803CCAA8@l
/* 800239D0 00020930 38 84 00 07 */ addi r4, r4, 7
/* 800239D4 00020934 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 800239D8 00020938 7C 7F 1B 78 */ mr r31, r3
/* 800239DC 0002093C 38 61 00 08 */ addi r3, r1, 8
/* 800239E0 00020940 4B FE 12 D9 */ bl string_l__4rstlFPCc
/* 800239E4 00020944 7F E3 FB 78 */ mr r3, r31
/* 800239E8 00020948 38 81 00 08 */ addi r4, r1, 8
/* 800239EC 0002094C 48 02 F2 21 */ bl "__ct__6CIOWinFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 800239F0 00020950 38 61 00 08 */ addi r3, r1, 8
/* 800239F4 00020954 48 31 A0 ED */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 800239F8 00020958 3C 60 80 3E */ lis r3, lbl_803D9928@ha
/* 800239FC 0002095C 38 00 FF FF */ li r0, -1
/* 80023A00 00020960 38 83 99 28 */ addi r4, r3, lbl_803D9928@l
/* 80023A04 00020964 7F E3 FB 78 */ mr r3, r31
/* 80023A08 00020968 90 9F 00 00 */ stw r4, 0(r31)
/* 80023A0C 0002096C 90 1F 00 14 */ stw r0, 0x14(r31)
/* 80023A10 00020970 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80023A14 00020974 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80023A18 00020978 7C 08 03 A6 */ mtlr r0
/* 80023A1C 0002097C 38 21 00 20 */ addi r1, r1, 0x20
/* 80023A20 00020980 4E 80 00 20 */ blr

2097
asm/Kyoto_CWD/CPlayMovie.s Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,280 @@
.include "macros.inc"
.section .bss
.global lbl_80457908
lbl_80457908:
.skip 0xC0
.global lbl_804579C8
lbl_804579C8:
.skip 0x20
.global lbl_804579E8
lbl_804579E8:
.skip 0x10
.global lbl_804579F8
lbl_804579F8:
.skip 0x18
.global lbl_80457A10
lbl_80457A10:
.skip 0x838
.global lbl_80458248
lbl_80458248:
.skip 0x108
.global lbl_80458350
lbl_80458350:
.skip 0x1E58
.section .rodata
.global lbl_803CC438
lbl_803CC438:
.incbin "baserom.dol", 0x3C9438, 0x30
.global lbl_803CC468
lbl_803CC468:
.incbin "baserom.dol", 0x3C9468, 0x30
.global lbl_803CC498
lbl_803CC498:
.incbin "baserom.dol", 0x3C9498, 0x30
.global lbl_803CC4C8
lbl_803CC4C8:
.incbin "baserom.dol", 0x3C94C8, 0x30
.global lbl_803CC4F8
lbl_803CC4F8:
.incbin "baserom.dol", 0x3C94F8, 0x48
.section .sbss
# CPlayer
.global lbl_805A8C78
lbl_805A8C78:
.skip 0x4
.global lbl_805A8C7C
lbl_805A8C7C:
.skip 0x4
.global lbl_805A8C80
lbl_805A8C80:
.skip 0x1
.global lbl_805A8C81
lbl_805A8C81:
.skip 0x3
.global lbl_805A8C84
lbl_805A8C84:
.skip 0x4
.global lbl_805A8C88
lbl_805A8C88:
.skip 0x4
# TOneStatic<CPlayerGun>
.global lbl_805A8C8C
lbl_805A8C8C:
.skip 0x4
.global lbl_805A8C90
lbl_805A8C90:
.skip 0x4
# TOneStatic<CPlayerCameraBob>
.global lbl_805A8C94
lbl_805A8C94:
.skip 0x4
.global lbl_805A8C98
lbl_805A8C98:
.skip 0x4
# TOneStatic<CMorphBall>
.global lbl_805A8C9C
lbl_805A8C9C:
.skip 0x4
.global lbl_805A8CA0
lbl_805A8CA0:
.skip 0x4
# TOneStatic<CPlayer>
.global lbl_805A8CA4
lbl_805A8CA4:
.skip 0x4
.global lbl_805A8CA8
lbl_805A8CA8:
.skip 0x8
.section .sdata
.global lbl_805A6C48
lbl_805A6C48:
# ROM: 0x3F45E8
.4byte 0x00000013
.global lbl_805A6C4C
lbl_805A6C4C:
# ROM: 0x3F45EC
.4byte 0x00000011
.global lbl_805A6C50
lbl_805A6C50:
# ROM: 0x3F45F0
.4byte 0x00000035
.global lbl_805A6C54
lbl_805A6C54:
# ROM: 0x3F45F4
.4byte 0x0000000D
.global lbl_805A6C58
lbl_805A6C58:
# ROM: 0x3F45F8
.4byte 0x00000032
.global lbl_805A6C5C
lbl_805A6C5C:
# ROM: 0x3F45FC
.4byte 0x00000005
.global lbl_805A6C60
lbl_805A6C60:
# ROM: 0x3F4600
.4byte 0x00000034
.global lbl_805A6C64
lbl_805A6C64:
# ROM: 0x3F4604
.4byte 0x00000009
.global lbl_805A6C68
lbl_805A6C68:
# ROM: 0x3F4608
.4byte 0x00000033
.global lbl_805A6C6C
lbl_805A6C6C:
# ROM: 0x3F460C
.4byte 0x41A00000
.global lbl_805A6C70
lbl_805A6C70:
# ROM: 0x3F4610
.4byte 0x42A00000
.global lbl_805A6C74
lbl_805A6C74:
# ROM: 0x3F4614
.4byte 0x42A00000
.global lbl_805A6C78
lbl_805A6C78:
# ROM: 0x3F4618
.4byte 0x43870000
.global lbl_805A6C7C
lbl_805A6C7C:
# ROM: 0x3F461C
.4byte 0
.global lbl_805A6C80
lbl_805A6C80:
# ROM: 0x3F4620
.4byte 0
.global lbl_805A6C84
lbl_805A6C84:
# ROM: 0x3F4624
.4byte 0x3F800000
.global lbl_805A6C88
lbl_805A6C88:
# ROM: 0x3F4628
.4byte 0x00000013
.global lbl_805A6C8C
lbl_805A6C8C:
# ROM: 0x3F462C
.4byte 0x3F800000
.global lbl_805A6C90
lbl_805A6C90:
# ROM: 0x3F4630
.4byte 0x00000013
.global lbl_805A6C94
lbl_805A6C94:
# ROM: 0x3F4634
.4byte 0x3F800000
.global lbl_805A6C98
lbl_805A6C98:
# ROM: 0x3F4638
.4byte 0
.global lbl_805A6C9C
lbl_805A6C9C:
# ROM: 0x3F463C
.4byte 0x3F800000
.global lbl_805A6CA0
lbl_805A6CA0:
# ROM: 0x3F4640
.4byte 0
.global lbl_805A6CA4
lbl_805A6CA4:
# ROM: 0x3F4644
.4byte 0x3F800000
.global lbl_805A6CA8
lbl_805A6CA8:
# ROM: 0x3F4648
.4byte 0
.global lbl_805A6CAC
lbl_805A6CAC:
# ROM: 0x3F464C
.4byte 0x3F800000
.global lbl_805A6CB0
lbl_805A6CB0:
# ROM: 0x3F4650
.4byte 0
.global lbl_805A6CB4
lbl_805A6CB4:
# ROM: 0x3F4654
.4byte 0x3F800000
.global lbl_805A6CB8
lbl_805A6CB8:
# ROM: 0x3F4658
.4byte 0x00000013
.global lbl_805A6CBC
lbl_805A6CBC:
# ROM: 0x3F465C
.4byte 0x3F800000
.global lbl_805A6CC0
lbl_805A6CC0:
# ROM: 0x3F4660
.4byte 0x00000007
.global lbl_805A6CC4
lbl_805A6CC4:
# ROM: 0x3F4664
.4byte 0x00000020
.global lbl_805A6CC8
lbl_805A6CC8:
# ROM: 0x3F4668
.4byte 0x00000013
.global lbl_805A6CCC
lbl_805A6CCC:
# ROM: 0x3F466C
.4byte 0
.global lbl_805A6CD0
lbl_805A6CD0:
# ROM: 0x3F4670
.4byte 0x3F800000
.global lbl_805A6CD4
lbl_805A6CD4:
# ROM: 0x3F4674
.4byte 0
.section .text, "ax"
.global __dt__7CPlayerFv

10471
asm/Kyoto_CWD/CPlayerGun.s Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,997 @@
.include "macros.inc"
.section .text, "ax"
.global SetSpawned__13CScriptPickupFv
SetSpawned__13CScriptPickupFv:
/* 800C25F0 000BF550 88 03 02 8C */ lbz r0, 0x28c(r3)
/* 800C25F4 000BF554 38 80 00 01 */ li r4, 1
/* 800C25F8 000BF558 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18
/* 800C25FC 000BF55C 98 03 02 8C */ stb r0, 0x28c(r3)
/* 800C2600 000BF560 4E 80 00 20 */ blr
.global GetPossibility__13CScriptPickupCFv
GetPossibility__13CScriptPickupCFv:
/* 800C2604 000BF564 C0 23 02 64 */ lfs f1, 0x264(r3)
/* 800C2608 000BF568 4E 80 00 20 */ blr
.global GetItem__13CScriptPickupCFv
GetItem__13CScriptPickupCFv:
/* 800C260C 000BF56C 80 63 02 58 */ lwz r3, 0x258(r3)
/* 800C2610 000BF570 4E 80 00 20 */ blr
.global Accept__13CScriptPickupFR8IVisitor
Accept__13CScriptPickupFR8IVisitor:
/* 800C2614 000BF574 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800C2618 000BF578 7C 08 02 A6 */ mflr r0
/* 800C261C 000BF57C 90 01 00 14 */ stw r0, 0x14(r1)
/* 800C2620 000BF580 7C 60 1B 78 */ mr r0, r3
/* 800C2624 000BF584 7C 83 23 78 */ mr r3, r4
/* 800C2628 000BF588 81 84 00 00 */ lwz r12, 0(r4)
/* 800C262C 000BF58C 7C 04 03 78 */ mr r4, r0
/* 800C2630 000BF590 81 8C 00 98 */ lwz r12, 0x98(r12)
/* 800C2634 000BF594 7D 89 03 A6 */ mtctr r12
/* 800C2638 000BF598 4E 80 04 21 */ bctrl
/* 800C263C 000BF59C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800C2640 000BF5A0 7C 08 03 A6 */ mtlr r0
/* 800C2644 000BF5A4 38 21 00 10 */ addi r1, r1, 0x10
/* 800C2648 000BF5A8 4E 80 00 20 */ blr
.global Render__13CScriptPickupCFRC13CStateManager
Render__13CScriptPickupCFRC13CStateManager:
/* 800C264C 000BF5AC 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800C2650 000BF5B0 7C 08 02 A6 */ mflr r0
/* 800C2654 000BF5B4 90 01 00 14 */ stw r0, 0x14(r1)
/* 800C2658 000BF5B8 48 05 7E 91 */ bl Render__13CPhysicsActorCFRC13CStateManager
/* 800C265C 000BF5BC 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800C2660 000BF5C0 7C 08 03 A6 */ mtlr r0
/* 800C2664 000BF5C4 38 21 00 10 */ addi r1, r1, 0x10
/* 800C2668 000BF5C8 4E 80 00 20 */ blr
.global AcceptScriptMsg__13CScriptPickupF20EScriptObjectMessage9TUniqueIdR13CStateManager
AcceptScriptMsg__13CScriptPickupF20EScriptObjectMessage9TUniqueIdR13CStateManager:
/* 800C266C 000BF5CC 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800C2670 000BF5D0 7C 08 02 A6 */ mflr r0
/* 800C2674 000BF5D4 90 01 00 14 */ stw r0, 0x14(r1)
/* 800C2678 000BF5D8 A0 05 00 00 */ lhz r0, 0(r5)
/* 800C267C 000BF5DC 38 A1 00 08 */ addi r5, r1, 8
/* 800C2680 000BF5E0 B0 01 00 08 */ sth r0, 8(r1)
/* 800C2684 000BF5E4 4B F9 0F 91 */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager
/* 800C2688 000BF5E8 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800C268C 000BF5EC 7C 08 03 A6 */ mtlr r0
/* 800C2690 000BF5F0 38 21 00 10 */ addi r1, r1, 0x10
/* 800C2694 000BF5F4 4E 80 00 20 */ blr
.global GetTouchBounds__13CScriptPickupCFv
GetTouchBounds__13CScriptPickupCFv:
/* 800C2698 000BF5F8 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 800C269C 000BF5FC 7C 08 02 A6 */ mflr r0
/* 800C26A0 000BF600 90 01 00 34 */ stw r0, 0x34(r1)
/* 800C26A4 000BF604 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 800C26A8 000BF608 7C 7F 1B 78 */ mr r31, r3
/* 800C26AC 000BF60C 38 61 00 08 */ addi r3, r1, 8
/* 800C26B0 000BF610 48 05 82 7D */ bl GetBoundingBox__13CPhysicsActorCFv
/* 800C26B4 000BF614 38 00 00 01 */ li r0, 1
/* 800C26B8 000BF618 28 1F 00 00 */ cmplwi r31, 0
/* 800C26BC 000BF61C 98 1F 00 18 */ stb r0, 0x18(r31)
/* 800C26C0 000BF620 41 82 00 34 */ beq lbl_800C26F4
/* 800C26C4 000BF624 C0 01 00 08 */ lfs f0, 8(r1)
/* 800C26C8 000BF628 D0 1F 00 00 */ stfs f0, 0(r31)
/* 800C26CC 000BF62C C0 01 00 0C */ lfs f0, 0xc(r1)
/* 800C26D0 000BF630 D0 1F 00 04 */ stfs f0, 4(r31)
/* 800C26D4 000BF634 C0 01 00 10 */ lfs f0, 0x10(r1)
/* 800C26D8 000BF638 D0 1F 00 08 */ stfs f0, 8(r31)
/* 800C26DC 000BF63C C0 01 00 14 */ lfs f0, 0x14(r1)
/* 800C26E0 000BF640 D0 1F 00 0C */ stfs f0, 0xc(r31)
/* 800C26E4 000BF644 C0 01 00 18 */ lfs f0, 0x18(r1)
/* 800C26E8 000BF648 D0 1F 00 10 */ stfs f0, 0x10(r31)
/* 800C26EC 000BF64C C0 01 00 1C */ lfs f0, 0x1c(r1)
/* 800C26F0 000BF650 D0 1F 00 14 */ stfs f0, 0x14(r31)
lbl_800C26F4:
/* 800C26F4 000BF654 80 01 00 34 */ lwz r0, 0x34(r1)
/* 800C26F8 000BF658 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 800C26FC 000BF65C 7C 08 03 A6 */ mtlr r0
/* 800C2700 000BF660 38 21 00 30 */ addi r1, r1, 0x30
/* 800C2704 000BF664 4E 80 00 20 */ blr
.global Touch__13CScriptPickupFR6CActorR13CStateManager
Touch__13CScriptPickupFR6CActorR13CStateManager:
/* 800C2708 000BF668 94 21 FF 40 */ stwu r1, -0xc0(r1)
/* 800C270C 000BF66C 7C 08 02 A6 */ mflr r0
/* 800C2710 000BF670 90 01 00 C4 */ stw r0, 0xc4(r1)
/* 800C2714 000BF674 BF 21 00 A4 */ stmw r25, 0xa4(r1)
/* 800C2718 000BF678 7C 7D 1B 78 */ mr r29, r3
/* 800C271C 000BF67C 7C BE 2B 78 */ mr r30, r5
/* 800C2720 000BF680 88 03 00 30 */ lbz r0, 0x30(r3)
/* 800C2724 000BF684 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 800C2728 000BF688 41 82 03 44 */ beq lbl_800C2A6C
/* 800C272C 000BF68C C0 3D 02 78 */ lfs f1, 0x278(r29)
/* 800C2730 000BF690 C0 02 8D C8 */ lfs f0, lbl_805AAAE8@sda21(r2)
/* 800C2734 000BF694 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 800C2738 000BF698 4C 41 13 82 */ cror 2, 1, 2
/* 800C273C 000BF69C 41 82 03 30 */ beq lbl_800C2A6C
/* 800C2740 000BF6A0 38 61 00 44 */ addi r3, r1, 0x44
/* 800C2744 000BF6A4 4B FE 9C BD */ bl "__ct__20TCastToPtr<7CPlayer>FR7CEntity"
/* 800C2748 000BF6A8 80 03 00 04 */ lwz r0, 4(r3)
/* 800C274C 000BF6AC 28 00 00 00 */ cmplwi r0, 0
/* 800C2750 000BF6B0 41 82 03 1C */ beq lbl_800C2A6C
/* 800C2754 000BF6B4 83 FD 02 58 */ lwz r31, 0x258(r29)
/* 800C2758 000BF6B8 2C 1F 00 1D */ cmpwi r31, 0x1d
/* 800C275C 000BF6BC 41 80 00 34 */ blt lbl_800C2790
/* 800C2760 000BF6C0 2C 1F 00 28 */ cmpwi r31, 0x28
/* 800C2764 000BF6C4 41 81 00 2C */ bgt lbl_800C2790
/* 800C2768 000BF6C8 7F E3 FB 78 */ mr r3, r31
/* 800C276C 000BF6CC 48 1D A1 CD */ bl GetArtifactHeadScanFromItemType__13CArtifactDollF9EItemType
/* 800C2770 000BF6D0 3C 03 00 01 */ addis r0, r3, 1
/* 800C2774 000BF6D4 28 00 FF FF */ cmplwi r0, 0xffff
/* 800C2778 000BF6D8 41 82 00 18 */ beq lbl_800C2790
/* 800C277C 000BF6DC 80 BE 08 B8 */ lwz r5, 0x8b8(r30)
/* 800C2780 000BF6E0 7C 64 1B 78 */ mr r4, r3
/* 800C2784 000BF6E4 C0 22 8D CC */ lfs f1, lbl_805AAAEC@sda21(r2)
/* 800C2788 000BF6E8 80 65 00 00 */ lwz r3, 0(r5)
/* 800C278C 000BF6EC 4B FC EE 49 */ bl SetScanTime__12CPlayerStateFUif
lbl_800C2790:
/* 800C2790 000BF6F0 88 1D 02 88 */ lbz r0, 0x288(r29)
/* 800C2794 000BF6F4 28 00 00 00 */ cmplwi r0, 0
/* 800C2798 000BF6F8 41 82 01 84 */ beq lbl_800C291C
/* 800C279C 000BF6FC 80 7E 08 B8 */ lwz r3, 0x8b8(r30)
/* 800C27A0 000BF700 7F C4 F3 78 */ mr r4, r30
/* 800C27A4 000BF704 80 63 00 00 */ lwz r3, 0(r3)
/* 800C27A8 000BF708 4B FC ED B1 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager
/* 800C27AC 000BF70C 2C 03 00 03 */ cmpwi r3, 3
/* 800C27B0 000BF710 41 82 01 6C */ beq lbl_800C291C
/* 800C27B4 000BF714 3C 60 80 3D */ lis r3, lbl_803CE020@ha
/* 800C27B8 000BF718 3B 80 00 00 */ li r28, 0
/* 800C27BC 000BF71C 38 83 E0 20 */ addi r4, r3, lbl_803CE020@l
/* 800C27C0 000BF720 3B 20 00 00 */ li r25, 0
/* 800C27C4 000BF724 3B 60 00 00 */ li r27, 0
/* 800C27C8 000BF728 38 60 01 00 */ li r3, 0x100
/* 800C27CC 000BF72C 38 A0 00 00 */ li r5, 0
/* 800C27D0 000BF730 48 25 30 9D */ bl __nw__FUlPCcPCc
/* 800C27D4 000BF734 7C 7A 1B 79 */ or. r26, r3, r3
/* 800C27D8 000BF738 41 82 00 CC */ beq lbl_800C28A4
/* 800C27DC 000BF73C 3B 21 00 5C */ addi r25, r1, 0x5c
/* 800C27E0 000BF740 38 9D 02 7C */ addi r4, r29, 0x27c
/* 800C27E4 000BF744 7F 23 CB 78 */ mr r3, r25
/* 800C27E8 000BF748 48 27 E6 C1 */ bl __ct__6CTokenFRC6CToken
/* 800C27EC 000BF74C 7F 23 CB 78 */ mr r3, r25
/* 800C27F0 000BF750 48 27 E6 1D */ bl GetObj__6CTokenFv
/* 800C27F4 000BF754 80 03 00 04 */ lwz r0, 4(r3)
/* 800C27F8 000BF758 7F C4 F3 78 */ mr r4, r30
/* 800C27FC 000BF75C 38 61 00 18 */ addi r3, r1, 0x18
/* 800C2800 000BF760 3B 60 00 01 */ li r27, 1
/* 800C2804 000BF764 90 01 00 64 */ stw r0, 0x64(r1)
/* 800C2808 000BF768 4B F8 A8 D5 */ bl AllocateUniqueId__13CStateManagerFv
/* 800C280C 000BF76C A0 81 00 18 */ lhz r4, 0x18(r1)
/* 800C2810 000BF770 3C 60 80 57 */ lis r3, lbl_8056D410@ha
/* 800C2814 000BF774 38 A3 D4 10 */ addi r5, r3, lbl_8056D410@l
/* 800C2818 000BF778 80 0D A3 88 */ lwz r0, lbl_805A8F48@sda21(r13)
/* 800C281C 000BF77C B0 81 00 1C */ sth r4, 0x1c(r1)
/* 800C2820 000BF780 38 61 00 84 */ addi r3, r1, 0x84
/* 800C2824 000BF784 38 81 00 34 */ addi r4, r1, 0x34
/* 800C2828 000BF788 38 C1 00 38 */ addi r6, r1, 0x38
/* 800C282C 000BF78C 80 FD 00 04 */ lwz r7, 4(r29)
/* 800C2830 000BF790 90 E1 00 30 */ stw r7, 0x30(r1)
/* 800C2834 000BF794 90 E1 00 34 */ stw r7, 0x34(r1)
/* 800C2838 000BF798 90 01 00 38 */ stw r0, 0x38(r1)
/* 800C283C 000BF79C 4B F8 EC 49 */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId"
/* 800C2840 000BF7A0 3C 80 80 3D */ lis r4, lbl_803CE020@ha
/* 800C2844 000BF7A4 38 61 00 68 */ addi r3, r1, 0x68
/* 800C2848 000BF7A8 38 84 E0 20 */ addi r4, r4, lbl_803CE020@l
/* 800C284C 000BF7AC 3B 20 00 01 */ li r25, 1
/* 800C2850 000BF7B0 38 84 00 07 */ addi r4, r4, 7
/* 800C2854 000BF7B4 4B F4 24 65 */ bl string_l__4rstlFPCc
/* 800C2858 000BF7B8 C0 02 8D D0 */ lfs f0, lbl_805AAAF0@sda21(r2)
/* 800C285C 000BF7BC 3B 80 00 01 */ li r28, 1
/* 800C2860 000BF7C0 D0 01 00 78 */ stfs f0, 0x78(r1)
/* 800C2864 000BF7C4 D0 01 00 7C */ stfs f0, 0x7c(r1)
/* 800C2868 000BF7C8 D0 01 00 80 */ stfs f0, 0x80(r1)
/* 800C286C 000BF7CC 48 28 77 41 */ bl White__6CColorFv
/* 800C2870 000BF7D0 38 01 00 78 */ addi r0, r1, 0x78
/* 800C2874 000BF7D4 38 81 00 5C */ addi r4, r1, 0x5c
/* 800C2878 000BF7D8 90 01 00 08 */ stw r0, 8(r1)
/* 800C287C 000BF7DC 38 A1 00 1C */ addi r5, r1, 0x1c
/* 800C2880 000BF7E0 38 E1 00 84 */ addi r7, r1, 0x84
/* 800C2884 000BF7E4 39 01 00 68 */ addi r8, r1, 0x68
/* 800C2888 000BF7E8 90 61 00 0C */ stw r3, 0xc(r1)
/* 800C288C 000BF7EC 7F 43 D3 78 */ mr r3, r26
/* 800C2890 000BF7F0 39 3D 00 34 */ addi r9, r29, 0x34
/* 800C2894 000BF7F4 38 C0 00 01 */ li r6, 1
/* 800C2898 000BF7F8 39 40 00 00 */ li r10, 0
/* 800C289C 000BF7FC 4B F9 82 5D */ bl "__ct__10CExplosionFRC31TLockedToken<15CGenDescription>9TUniqueIdbRC11CEntityInfoRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC12CTransform4fUiRC9CVector3fRC6CColor"
/* 800C28A0 000BF800 7C 7A 1B 78 */ mr r26, r3
lbl_800C28A4:
/* 800C28A4 000BF804 7F C3 F3 78 */ mr r3, r30
/* 800C28A8 000BF808 7F 44 D3 78 */ mr r4, r26
/* 800C28AC 000BF80C 4B F8 A4 49 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence
/* 800C28B0 000BF810 7F 60 07 75 */ extsb. r0, r27
/* 800C28B4 000BF814 41 82 00 10 */ beq lbl_800C28C4
/* 800C28B8 000BF818 38 61 00 5C */ addi r3, r1, 0x5c
/* 800C28BC 000BF81C 38 80 00 00 */ li r4, 0
/* 800C28C0 000BF820 48 27 E5 81 */ bl __dt__6CTokenFv
lbl_800C28C4:
/* 800C28C4 000BF824 7F 20 07 75 */ extsb. r0, r25
/* 800C28C8 000BF828 41 82 00 44 */ beq lbl_800C290C
/* 800C28CC 000BF82C 80 01 00 8C */ lwz r0, 0x8c(r1)
/* 800C28D0 000BF830 80 61 00 94 */ lwz r3, 0x94(r1)
/* 800C28D4 000BF834 1C 00 00 0C */ mulli r0, r0, 0xc
/* 800C28D8 000BF838 90 61 00 24 */ stw r3, 0x24(r1)
/* 800C28DC 000BF83C 7C 64 1B 78 */ mr r4, r3
/* 800C28E0 000BF840 7C 03 02 14 */ add r0, r3, r0
/* 800C28E4 000BF844 90 61 00 20 */ stw r3, 0x20(r1)
/* 800C28E8 000BF848 90 01 00 2C */ stw r0, 0x2c(r1)
/* 800C28EC 000BF84C 90 01 00 28 */ stw r0, 0x28(r1)
/* 800C28F0 000BF850 48 00 00 08 */ b lbl_800C28F8
lbl_800C28F4:
/* 800C28F4 000BF854 38 84 00 0C */ addi r4, r4, 0xc
lbl_800C28F8:
/* 800C28F8 000BF858 7C 04 00 40 */ cmplw r4, r0
/* 800C28FC 000BF85C 40 82 FF F8 */ bne lbl_800C28F4
/* 800C2900 000BF860 28 03 00 00 */ cmplwi r3, 0
/* 800C2904 000BF864 41 82 00 08 */ beq lbl_800C290C
/* 800C2908 000BF868 48 25 30 29 */ bl Free__7CMemoryFPCv
lbl_800C290C:
/* 800C290C 000BF86C 7F 80 07 75 */ extsb. r0, r28
/* 800C2910 000BF870 41 82 00 0C */ beq lbl_800C291C
/* 800C2914 000BF874 38 61 00 68 */ addi r3, r1, 0x68
/* 800C2918 000BF878 48 27 B1 C9 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_800C291C:
/* 800C291C 000BF87C 80 7E 08 B8 */ lwz r3, 0x8b8(r30)
/* 800C2920 000BF880 7F E4 FB 78 */ mr r4, r31
/* 800C2924 000BF884 80 BD 02 60 */ lwz r5, 0x260(r29)
/* 800C2928 000BF888 80 63 00 00 */ lwz r3, 0(r3)
/* 800C292C 000BF88C 4B FC F4 3D */ bl InitializePowerUp__12CPlayerStateFQ212CPlayerState9EItemTypei
/* 800C2930 000BF890 80 7E 08 B8 */ lwz r3, 0x8b8(r30)
/* 800C2934 000BF894 7F E4 FB 78 */ mr r4, r31
/* 800C2938 000BF898 80 BD 02 5C */ lwz r5, 0x25c(r29)
/* 800C293C 000BF89C 80 63 00 00 */ lwz r3, 0(r3)
/* 800C2940 000BF8A0 4B FC F2 B1 */ bl IncrPickUp__12CPlayerStateFQ212CPlayerState9EItemTypei
/* 800C2944 000BF8A4 A0 1D 00 08 */ lhz r0, 8(r29)
/* 800C2948 000BF8A8 7F C3 F3 78 */ mr r3, r30
/* 800C294C 000BF8AC 38 81 00 14 */ addi r4, r1, 0x14
/* 800C2950 000BF8B0 B0 01 00 10 */ sth r0, 0x10(r1)
/* 800C2954 000BF8B4 B0 01 00 14 */ sth r0, 0x14(r1)
/* 800C2958 000BF8B8 4B F8 99 15 */ bl FreeScriptObject__13CStateManagerF9TUniqueId
/* 800C295C 000BF8BC 7F A3 EB 78 */ mr r3, r29
/* 800C2960 000BF8C0 7F C5 F3 78 */ mr r5, r30
/* 800C2964 000BF8C4 38 80 00 01 */ li r4, 1
/* 800C2968 000BF8C8 38 C0 FF FF */ li r6, -1
/* 800C296C 000BF8CC 4B F8 E7 55 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage
/* 800C2970 000BF8D0 80 1D 02 60 */ lwz r0, 0x260(r29)
/* 800C2974 000BF8D4 2C 00 00 00 */ cmpwi r0, 0
/* 800C2978 000BF8D8 40 81 00 84 */ ble lbl_800C29FC
/* 800C297C 000BF8DC 80 7E 08 B8 */ lwz r3, 0x8b8(r30)
/* 800C2980 000BF8E0 83 43 00 00 */ lwz r26, 0(r3)
/* 800C2984 000BF8E4 7F 43 D3 78 */ mr r3, r26
/* 800C2988 000BF8E8 4B FC EB 25 */ bl GetTotalPickupCount__12CPlayerStateFv
/* 800C298C 000BF8EC 7C 7B 1B 78 */ mr r27, r3
/* 800C2990 000BF8F0 7F 43 D3 78 */ mr r3, r26
/* 800C2994 000BF8F4 4B FC E8 A1 */ bl CalculateItemCollectionRate__12CPlayerStateFv
/* 800C2998 000BF8F8 7C 03 D8 00 */ cmpw r3, r27
/* 800C299C 000BF8FC 40 82 00 60 */ bne lbl_800C29FC
/* 800C29A0 000BF900 80 8D A0 80 */ lwz r4, gpGameState@sda21(r13)
/* 800C29A4 000BF904 3C 60 80 3D */ lis r3, lbl_803CE020@ha
/* 800C29A8 000BF908 38 A3 E0 20 */ addi r5, r3, lbl_803CE020@l
/* 800C29AC 000BF90C 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13)
/* 800C29B0 000BF910 88 04 01 78 */ lbz r0, 0x178(r4)
/* 800C29B4 000BF914 3B 44 00 A8 */ addi r26, r4, 0xa8
/* 800C29B8 000BF918 38 85 00 38 */ addi r4, r5, 0x38
/* 800C29BC 000BF91C 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f
/* 800C29C0 000BF920 41 82 00 08 */ beq lbl_800C29C8
/* 800C29C4 000BF924 38 85 00 21 */ addi r4, r5, 0x21
lbl_800C29C8:
/* 800C29C8 000BF928 81 83 00 00 */ lwz r12, 0(r3)
/* 800C29CC 000BF92C 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 800C29D0 000BF930 7D 89 03 A6 */ mtctr r12
/* 800C29D4 000BF934 4E 80 04 21 */ bctrl
/* 800C29D8 000BF938 80 9E 0F 80 */ lwz r4, 0xf80(r30)
/* 800C29DC 000BF93C 80 A3 00 04 */ lwz r5, 4(r3)
/* 800C29E0 000BF940 7F C3 F3 78 */ mr r3, r30
/* 800C29E4 000BF944 C0 22 8D C8 */ lfs f1, lbl_805AAAE8@sda21(r2)
/* 800C29E8 000BF948 38 84 00 01 */ addi r4, r4, 1
/* 800C29EC 000BF94C 4B F8 15 41 */ bl sub_80043f2c
/* 800C29F0 000BF950 7F 43 D3 78 */ mr r3, r26
/* 800C29F4 000BF954 38 80 00 01 */ li r4, 1
/* 800C29F8 000BF958 48 11 27 B9 */ bl SetAllItemsCollected__14CSystemOptionsFb
lbl_800C29FC:
/* 800C29FC 000BF95C 2C 1F 00 07 */ cmpwi r31, 7
/* 800C2A00 000BF960 40 82 00 6C */ bne lbl_800C2A6C
/* 800C2A04 000BF964 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13)
/* 800C2A08 000BF968 3B 43 00 A8 */ addi r26, r3, 0xa8
/* 800C2A0C 000BF96C 7F 43 D3 78 */ mr r3, r26
/* 800C2A10 000BF970 48 11 28 45 */ bl sub_801d5254
/* 800C2A14 000BF974 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 800C2A18 000BF978 41 82 00 54 */ beq lbl_800C2A6C
/* 800C2A1C 000BF97C 7F 43 D3 78 */ mr r3, r26
/* 800C2A20 000BF980 48 11 28 01 */ bl sub_801d5220
/* 800C2A24 000BF984 80 6D A0 74 */ lwz r3, gpStringTable@sda21(r13)
/* 800C2A28 000BF988 38 80 00 6D */ li r4, 0x6d
/* 800C2A2C 000BF98C 48 29 3C D1 */ bl GetString__12CStringTableCFi
/* 800C2A30 000BF990 7C 64 1B 78 */ mr r4, r3
/* 800C2A34 000BF994 38 61 00 4C */ addi r3, r1, 0x4c
/* 800C2A38 000BF998 4B F5 2F B9 */ bl wstring_l__4rstlFPCw
/* 800C2A3C 000BF99C C0 02 8D D4 */ lfs f0, lbl_805AAAF4@sda21(r2)
/* 800C2A40 000BF9A0 38 00 00 00 */ li r0, 0
/* 800C2A44 000BF9A4 38 A0 00 01 */ li r5, 1
/* 800C2A48 000BF9A8 98 01 00 41 */ stb r0, 0x41(r1)
/* 800C2A4C 000BF9AC 38 61 00 4C */ addi r3, r1, 0x4c
/* 800C2A50 000BF9B0 38 81 00 3C */ addi r4, r1, 0x3c
/* 800C2A54 000BF9B4 D0 01 00 3C */ stfs f0, 0x3c(r1)
/* 800C2A58 000BF9B8 98 A1 00 40 */ stb r5, 0x40(r1)
/* 800C2A5C 000BF9BC 98 01 00 42 */ stb r0, 0x42(r1)
/* 800C2A60 000BF9C0 4B FA 92 09 */ bl DisplayHudMemo__9CSamusHudFRC7wstringRC12SHudMemoInfo
/* 800C2A64 000BF9C4 38 61 00 4C */ addi r3, r1, 0x4c
/* 800C2A68 000BF9C8 48 27 A6 CD */ bl "internal_dereference__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>Fv"
lbl_800C2A6C:
/* 800C2A6C 000BF9CC BB 21 00 A4 */ lmw r25, 0xa4(r1)
/* 800C2A70 000BF9D0 80 01 00 C4 */ lwz r0, 0xc4(r1)
/* 800C2A74 000BF9D4 7C 08 03 A6 */ mtlr r0
/* 800C2A78 000BF9D8 38 21 00 C0 */ addi r1, r1, 0xc0
/* 800C2A7C 000BF9DC 4E 80 00 20 */ blr
.global Think__13CScriptPickupFfR13CStateManager
Think__13CScriptPickupFfR13CStateManager:
/* 800C2A80 000BF9E0 94 21 FF 10 */ stwu r1, -0xf0(r1)
/* 800C2A84 000BF9E4 7C 08 02 A6 */ mflr r0
/* 800C2A88 000BF9E8 90 01 00 F4 */ stw r0, 0xf4(r1)
/* 800C2A8C 000BF9EC DB E1 00 E0 */ stfd f31, 0xe0(r1)
/* 800C2A90 000BF9F0 F3 E1 00 E8 */ psq_st f31, 232(r1), 0, qr0
/* 800C2A94 000BF9F4 DB C1 00 D0 */ stfd f30, 0xd0(r1)
/* 800C2A98 000BF9F8 F3 C1 00 D8 */ psq_st f30, 216(r1), 0, qr0
/* 800C2A9C 000BF9FC DB A1 00 C0 */ stfd f29, 0xc0(r1)
/* 800C2AA0 000BFA00 F3 A1 00 C8 */ psq_st f29, 200(r1), 0, qr0
/* 800C2AA4 000BFA04 93 E1 00 BC */ stw r31, 0xbc(r1)
/* 800C2AA8 000BFA08 93 C1 00 B8 */ stw r30, 0xb8(r1)
/* 800C2AAC 000BFA0C 93 A1 00 B4 */ stw r29, 0xb4(r1)
/* 800C2AB0 000BFA10 88 03 00 30 */ lbz r0, 0x30(r3)
/* 800C2AB4 000BFA14 FF E0 08 90 */ fmr f31, f1
/* 800C2AB8 000BFA18 7C 7E 1B 78 */ mr r30, r3
/* 800C2ABC 000BFA1C 7C 9F 23 78 */ mr r31, r4
/* 800C2AC0 000BFA20 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 800C2AC4 000BFA24 41 82 05 64 */ beq lbl_800C3028
/* 800C2AC8 000BFA28 C0 3E 02 78 */ lfs f1, 0x278(r30)
/* 800C2ACC 000BFA2C C0 02 8D C8 */ lfs f0, lbl_805AAAE8@sda21(r2)
/* 800C2AD0 000BFA30 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 800C2AD4 000BFA34 4C 41 13 82 */ cror 2, 1, 2
/* 800C2AD8 000BFA38 40 82 00 18 */ bne lbl_800C2AF0
/* 800C2ADC 000BFA3C 48 05 88 9D */ bl Stop__13CPhysicsActorFv
/* 800C2AE0 000BFA40 C0 1E 02 78 */ lfs f0, 0x278(r30)
/* 800C2AE4 000BFA44 EC 00 F8 28 */ fsubs f0, f0, f31
/* 800C2AE8 000BFA48 D0 1E 02 78 */ stfs f0, 0x278(r30)
/* 800C2AEC 000BFA4C 48 00 05 3C */ b lbl_800C3028
lbl_800C2AF0:
/* 800C2AF0 000BFA50 C0 1E 02 70 */ lfs f0, 0x270(r30)
/* 800C2AF4 000BFA54 EC 00 F8 2A */ fadds f0, f0, f31
/* 800C2AF8 000BFA58 D0 1E 02 70 */ stfs f0, 0x270(r30)
/* 800C2AFC 000BFA5C 88 1E 02 8C */ lbz r0, 0x28c(r30)
/* 800C2B00 000BFA60 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f
/* 800C2B04 000BFA64 41 82 00 54 */ beq lbl_800C2B58
/* 800C2B08 000BFA68 C0 1E 02 6C */ lfs f0, 0x26c(r30)
/* 800C2B0C 000BFA6C C0 3E 02 70 */ lfs f1, 0x270(r30)
/* 800C2B10 000BFA70 C0 62 8D D8 */ lfs f3, lbl_805AAAF8@sda21(r2)
/* 800C2B14 000BFA74 EC 00 08 28 */ fsubs f0, f0, f1
/* 800C2B18 000BFA78 FC 00 18 40 */ fcmpo cr0, f0, f3
/* 800C2B1C 000BFA7C 40 80 00 3C */ bge lbl_800C2B58
/* 800C2B20 000BFA80 EC 43 0F FC */ fnmsubs f2, f3, f31, f1
/* 800C2B24 000BFA84 C0 02 8D DC */ lfs f0, lbl_805AAAFC@sda21(r2)
/* 800C2B28 000BFA88 D0 41 00 10 */ stfs f2, 0x10(r1)
/* 800C2B2C 000BFA8C C0 3E 02 6C */ lfs f1, 0x26c(r30)
/* 800C2B30 000BFA90 EC 21 18 28 */ fsubs f1, f1, f3
/* 800C2B34 000BFA94 EC 01 00 28 */ fsubs f0, f1, f0
/* 800C2B38 000BFA98 FC 00 10 40 */ fcmpo cr0, f0, f2
/* 800C2B3C 000BFA9C D0 01 00 14 */ stfs f0, 0x14(r1)
/* 800C2B40 000BFAA0 40 80 00 0C */ bge lbl_800C2B4C
/* 800C2B44 000BFAA4 38 61 00 10 */ addi r3, r1, 0x10
/* 800C2B48 000BFAA8 48 00 00 08 */ b lbl_800C2B50
lbl_800C2B4C:
/* 800C2B4C 000BFAAC 38 61 00 14 */ addi r3, r1, 0x14
lbl_800C2B50:
/* 800C2B50 000BFAB0 C0 03 00 00 */ lfs f0, 0(r3)
/* 800C2B54 000BFAB4 D0 1E 02 70 */ stfs f0, 0x270(r30)
lbl_800C2B58:
/* 800C2B58 000BFAB8 C0 22 8D D0 */ lfs f1, lbl_805AAAF0@sda21(r2)
/* 800C2B5C 000BFABC 38 80 00 00 */ li r4, 0
/* 800C2B60 000BFAC0 38 00 00 03 */ li r0, 3
/* 800C2B64 000BFAC4 98 81 00 28 */ stb r4, 0x28(r1)
/* 800C2B68 000BFAC8 FC 40 08 90 */ fmr f2, f1
/* 800C2B6C 000BFACC 38 61 00 2C */ addi r3, r1, 0x2c
/* 800C2B70 000BFAD0 FC 60 08 90 */ fmr f3, f1
/* 800C2B74 000BFAD4 98 81 00 29 */ stb r4, 0x29(r1)
/* 800C2B78 000BFAD8 FC 80 08 90 */ fmr f4, f1
/* 800C2B7C 000BFADC B0 01 00 2A */ sth r0, 0x2a(r1)
/* 800C2B80 000BFAE0 48 2A 08 6D */ bl __ct__6CColorFffff
/* 800C2B84 000BFAE4 C0 3E 02 68 */ lfs f1, 0x268(r30)
/* 800C2B88 000BFAE8 C0 02 8D C8 */ lfs f0, lbl_805AAAE8@sda21(r2)
/* 800C2B8C 000BFAEC 88 61 00 28 */ lbz r3, 0x28(r1)
/* 800C2B90 000BFAF0 FC 01 00 00 */ fcmpu cr0, f1, f0
/* 800C2B94 000BFAF4 88 81 00 29 */ lbz r4, 0x29(r1)
/* 800C2B98 000BFAF8 A0 01 00 2A */ lhz r0, 0x2a(r1)
/* 800C2B9C 000BFAFC 80 A1 00 2C */ lwz r5, 0x2c(r1)
/* 800C2BA0 000BFB00 41 82 00 68 */ beq lbl_800C2C08
/* 800C2BA4 000BFB04 C0 5E 02 70 */ lfs f2, 0x270(r30)
/* 800C2BA8 000BFB08 FC 02 08 40 */ fcmpo cr0, f2, f1
/* 800C2BAC 000BFB0C 40 80 00 54 */ bge lbl_800C2C00
/* 800C2BB0 000BFB10 EC 82 08 24 */ fdivs f4, f2, f1
/* 800C2BB4 000BFB14 C0 22 8D D0 */ lfs f1, lbl_805AAAF0@sda21(r2)
/* 800C2BB8 000BFB18 38 A0 00 05 */ li r5, 5
/* 800C2BBC 000BFB1C 38 80 00 00 */ li r4, 0
/* 800C2BC0 000BFB20 38 00 00 03 */ li r0, 3
/* 800C2BC4 000BFB24 98 A1 00 20 */ stb r5, 0x20(r1)
/* 800C2BC8 000BFB28 FC 40 08 90 */ fmr f2, f1
/* 800C2BCC 000BFB2C 98 81 00 21 */ stb r4, 0x21(r1)
/* 800C2BD0 000BFB30 FC 60 08 90 */ fmr f3, f1
/* 800C2BD4 000BFB34 38 61 00 24 */ addi r3, r1, 0x24
/* 800C2BD8 000BFB38 B0 01 00 22 */ sth r0, 0x22(r1)
/* 800C2BDC 000BFB3C 48 2A 08 11 */ bl __ct__6CColorFffff
/* 800C2BE0 000BFB40 A0 01 00 22 */ lhz r0, 0x22(r1)
/* 800C2BE4 000BFB44 88 61 00 20 */ lbz r3, 0x20(r1)
/* 800C2BE8 000BFB48 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d
/* 800C2BEC 000BFB4C 88 81 00 21 */ lbz r4, 0x21(r1)
/* 800C2BF0 000BFB50 60 00 00 01 */ ori r0, r0, 1
/* 800C2BF4 000BFB54 80 A1 00 24 */ lwz r5, 0x24(r1)
/* 800C2BF8 000BFB58 54 00 04 3E */ clrlwi r0, r0, 0x10
/* 800C2BFC 000BFB5C 48 00 00 98 */ b lbl_800C2C94
lbl_800C2C00:
/* 800C2C00 000BFB60 D0 1E 02 68 */ stfs f0, 0x268(r30)
/* 800C2C04 000BFB64 48 00 00 90 */ b lbl_800C2C94
lbl_800C2C08:
/* 800C2C08 000BFB68 C0 5E 02 6C */ lfs f2, 0x26c(r30)
/* 800C2C0C 000BFB6C FC 02 00 00 */ fcmpu cr0, f2, f0
/* 800C2C10 000BFB70 41 82 00 84 */ beq lbl_800C2C94
/* 800C2C14 000BFB74 C0 22 8D D8 */ lfs f1, lbl_805AAAF8@sda21(r2)
/* 800C2C18 000BFB78 C0 82 8D D0 */ lfs f4, lbl_805AAAF0@sda21(r2)
/* 800C2C1C 000BFB7C FC 02 08 40 */ fcmpo cr0, f2, f1
/* 800C2C20 000BFB80 40 80 00 14 */ bge lbl_800C2C34
/* 800C2C24 000BFB84 C0 1E 02 70 */ lfs f0, 0x270(r30)
/* 800C2C28 000BFB88 EC 02 00 24 */ fdivs f0, f2, f0
/* 800C2C2C 000BFB8C EC 84 00 28 */ fsubs f4, f4, f0
/* 800C2C30 000BFB90 48 00 00 1C */ b lbl_800C2C4C
lbl_800C2C34:
/* 800C2C34 000BFB94 C0 1E 02 70 */ lfs f0, 0x270(r30)
/* 800C2C38 000BFB98 EC 42 00 28 */ fsubs f2, f2, f0
/* 800C2C3C 000BFB9C FC 02 08 40 */ fcmpo cr0, f2, f1
/* 800C2C40 000BFBA0 40 80 00 0C */ bge lbl_800C2C4C
/* 800C2C44 000BFBA4 C0 02 8D CC */ lfs f0, lbl_805AAAEC@sda21(r2)
/* 800C2C48 000BFBA8 EC 82 00 32 */ fmuls f4, f2, f0
lbl_800C2C4C:
/* 800C2C4C 000BFBAC C0 22 8D D0 */ lfs f1, lbl_805AAAF0@sda21(r2)
/* 800C2C50 000BFBB0 38 A0 00 05 */ li r5, 5
/* 800C2C54 000BFBB4 38 80 00 00 */ li r4, 0
/* 800C2C58 000BFBB8 38 00 00 03 */ li r0, 3
/* 800C2C5C 000BFBBC FC 40 08 90 */ fmr f2, f1
/* 800C2C60 000BFBC0 98 A1 00 18 */ stb r5, 0x18(r1)
/* 800C2C64 000BFBC4 FC 60 08 90 */ fmr f3, f1
/* 800C2C68 000BFBC8 38 61 00 1C */ addi r3, r1, 0x1c
/* 800C2C6C 000BFBCC 98 81 00 19 */ stb r4, 0x19(r1)
/* 800C2C70 000BFBD0 B0 01 00 1A */ sth r0, 0x1a(r1)
/* 800C2C74 000BFBD4 48 2A 07 79 */ bl __ct__6CColorFffff
/* 800C2C78 000BFBD8 A0 01 00 1A */ lhz r0, 0x1a(r1)
/* 800C2C7C 000BFBDC 88 61 00 18 */ lbz r3, 0x18(r1)
/* 800C2C80 000BFBE0 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d
/* 800C2C84 000BFBE4 88 81 00 19 */ lbz r4, 0x19(r1)
/* 800C2C88 000BFBE8 60 00 00 01 */ ori r0, r0, 1
/* 800C2C8C 000BFBEC 80 A1 00 1C */ lwz r5, 0x1c(r1)
/* 800C2C90 000BFBF0 54 00 04 3E */ clrlwi r0, r0, 0x10
lbl_800C2C94:
/* 800C2C94 000BFBF4 98 7E 00 B4 */ stb r3, 0xb4(r30)
/* 800C2C98 000BFBF8 38 60 00 00 */ li r3, 0
/* 800C2C9C 000BFBFC 98 9E 00 B5 */ stb r4, 0xb5(r30)
/* 800C2CA0 000BFC00 B0 1E 00 B6 */ sth r0, 0xb6(r30)
/* 800C2CA4 000BFC04 90 BE 00 B8 */ stw r5, 0xb8(r30)
/* 800C2CA8 000BFC08 80 9E 00 64 */ lwz r4, 0x64(r30)
/* 800C2CAC 000BFC0C 28 04 00 00 */ cmplwi r4, 0
/* 800C2CB0 000BFC10 41 82 00 14 */ beq lbl_800C2CC4
/* 800C2CB4 000BFC14 80 04 00 10 */ lwz r0, 0x10(r4)
/* 800C2CB8 000BFC18 28 00 00 00 */ cmplwi r0, 0
/* 800C2CBC 000BFC1C 41 82 00 08 */ beq lbl_800C2CC4
/* 800C2CC0 000BFC20 38 60 00 01 */ li r3, 1
lbl_800C2CC4:
/* 800C2CC4 000BFC24 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 800C2CC8 000BFC28 41 82 00 78 */ beq lbl_800C2D40
/* 800C2CCC 000BFC2C FC 20 F8 90 */ fmr f1, f31
/* 800C2CD0 000BFC30 7F C4 F3 78 */ mr r4, r30
/* 800C2CD4 000BFC34 7F E5 FB 78 */ mr r5, r31
/* 800C2CD8 000BFC38 38 61 00 60 */ addi r3, r1, 0x60
/* 800C2CDC 000BFC3C 38 C0 00 01 */ li r6, 1
/* 800C2CE0 000BFC40 4B F9 25 BD */ bl UpdateAnimation__6CActorFfR13CStateManagerb
/* 800C2CE4 000BFC44 C0 E1 00 60 */ lfs f7, 0x60(r1)
/* 800C2CE8 000BFC48 FC 20 F8 90 */ fmr f1, f31
/* 800C2CEC 000BFC4C C0 C1 00 64 */ lfs f6, 0x64(r1)
/* 800C2CF0 000BFC50 7F C3 F3 78 */ mr r3, r30
/* 800C2CF4 000BFC54 C0 A1 00 68 */ lfs f5, 0x68(r1)
/* 800C2CF8 000BFC58 3B A1 00 88 */ addi r29, r1, 0x88
/* 800C2CFC 000BFC5C C0 81 00 6C */ lfs f4, 0x6c(r1)
/* 800C2D00 000BFC60 C0 61 00 70 */ lfs f3, 0x70(r1)
/* 800C2D04 000BFC64 38 81 00 7C */ addi r4, r1, 0x7c
/* 800C2D08 000BFC68 C0 41 00 74 */ lfs f2, 0x74(r1)
/* 800C2D0C 000BFC6C C0 01 00 78 */ lfs f0, 0x78(r1)
/* 800C2D10 000BFC70 D0 E1 00 7C */ stfs f7, 0x7c(r1)
/* 800C2D14 000BFC74 D0 C1 00 80 */ stfs f6, 0x80(r1)
/* 800C2D18 000BFC78 D0 A1 00 84 */ stfs f5, 0x84(r1)
/* 800C2D1C 000BFC7C D0 81 00 88 */ stfs f4, 0x88(r1)
/* 800C2D20 000BFC80 D0 61 00 8C */ stfs f3, 0x8c(r1)
/* 800C2D24 000BFC84 D0 41 00 90 */ stfs f2, 0x90(r1)
/* 800C2D28 000BFC88 D0 01 00 94 */ stfs f0, 0x94(r1)
/* 800C2D2C 000BFC8C 48 05 81 4D */ bl MoveToOR__13CPhysicsActorFRC9CVector3ff
/* 800C2D30 000BFC90 FC 20 F8 90 */ fmr f1, f31
/* 800C2D34 000BFC94 7F C3 F3 78 */ mr r3, r30
/* 800C2D38 000BFC98 7F A4 EB 78 */ mr r4, r29
/* 800C2D3C 000BFC9C 48 05 80 D9 */ bl RotateToOR__13CPhysicsActorFRC11CQuaternionf
lbl_800C2D40:
/* 800C2D40 000BFCA0 88 7E 02 8C */ lbz r3, 0x28c(r30)
/* 800C2D44 000BFCA4 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f
/* 800C2D48 000BFCA8 41 82 01 54 */ beq lbl_800C2E9C
/* 800C2D4C 000BFCAC 3C 60 80 5A */ lis r3, lbl_805A66F4@ha
/* 800C2D50 000BFCB0 80 9F 08 4C */ lwz r4, 0x84c(r31)
/* 800C2D54 000BFCB4 38 63 66 F4 */ addi r3, r3, lbl_805A66F4@l
/* 800C2D58 000BFCB8 C0 A2 8D D8 */ lfs f5, lbl_805AAAF8@sda21(r2)
/* 800C2D5C 000BFCBC C0 43 00 04 */ lfs f2, 4(r3)
/* 800C2D60 000BFCC0 C0 23 00 08 */ lfs f1, 8(r3)
/* 800C2D64 000BFCC4 C0 03 00 00 */ lfs f0, 0(r3)
/* 800C2D68 000BFCC8 EC 85 00 B2 */ fmuls f4, f5, f2
/* 800C2D6C 000BFCCC C0 C4 00 50 */ lfs f6, 0x50(r4)
/* 800C2D70 000BFCD0 EC 45 00 72 */ fmuls f2, f5, f1
/* 800C2D74 000BFCD4 C0 64 00 60 */ lfs f3, 0x60(r4)
/* 800C2D78 000BFCD8 EC 05 00 32 */ fmuls f0, f5, f0
/* 800C2D7C 000BFCDC C0 24 00 40 */ lfs f1, 0x40(r4)
/* 800C2D80 000BFCE0 EC A6 20 2A */ fadds f5, f6, f4
/* 800C2D84 000BFCE4 C0 9E 00 50 */ lfs f4, 0x50(r30)
/* 800C2D88 000BFCE8 EC 63 10 2A */ fadds f3, f3, f2
/* 800C2D8C 000BFCEC C0 5E 00 60 */ lfs f2, 0x60(r30)
/* 800C2D90 000BFCF0 EC 21 00 2A */ fadds f1, f1, f0
/* 800C2D94 000BFCF4 C0 1E 00 40 */ lfs f0, 0x40(r30)
/* 800C2D98 000BFCF8 EC 85 20 28 */ fsubs f4, f5, f4
/* 800C2D9C 000BFCFC EC 43 10 28 */ fsubs f2, f3, f2
/* 800C2DA0 000BFD00 EC 01 00 28 */ fsubs f0, f1, f0
/* 800C2DA4 000BFD04 D0 81 00 58 */ stfs f4, 0x58(r1)
/* 800C2DA8 000BFD08 D0 01 00 54 */ stfs f0, 0x54(r1)
/* 800C2DAC 000BFD0C D0 41 00 5C */ stfs f2, 0x5c(r1)
/* 800C2DB0 000BFD10 C0 1E 02 74 */ lfs f0, 0x274(r30)
/* 800C2DB4 000BFD14 EC 00 F8 2A */ fadds f0, f0, f31
/* 800C2DB8 000BFD18 D0 1E 02 74 */ stfs f0, 0x274(r30)
/* 800C2DBC 000BFD1C C0 2D 86 C4 */ lfs f1, lbl_805A7284@sda21(r13)
/* 800C2DC0 000BFD20 C0 1E 02 74 */ lfs f0, 0x274(r30)
/* 800C2DC4 000BFD24 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 800C2DC8 000BFD28 40 80 00 0C */ bge lbl_800C2DD4
/* 800C2DCC 000BFD2C 38 8D 86 C4 */ addi r4, r13, lbl_805A7284@sda21
/* 800C2DD0 000BFD30 48 00 00 08 */ b lbl_800C2DD8
lbl_800C2DD4:
/* 800C2DD4 000BFD34 38 9E 02 74 */ addi r4, r30, 0x274
lbl_800C2DD8:
/* 800C2DD8 000BFD38 C0 22 8D CC */ lfs f1, lbl_805AAAEC@sda21(r2)
/* 800C2DDC 000BFD3C 38 61 00 3C */ addi r3, r1, 0x3c
/* 800C2DE0 000BFD40 C0 04 00 00 */ lfs f0, 0(r4)
/* 800C2DE4 000BFD44 38 81 00 54 */ addi r4, r1, 0x54
/* 800C2DE8 000BFD48 EF A1 00 32 */ fmuls f29, f1, f0
/* 800C2DEC 000BFD4C 48 25 1A 65 */ bl AsNormalized__9CVector3fCFv
/* 800C2DF0 000BFD50 C0 02 8D E0 */ lfs f0, lbl_805AAB00@sda21(r2)
/* 800C2DF4 000BFD54 C0 41 00 3C */ lfs f2, 0x3c(r1)
/* 800C2DF8 000BFD58 EC 60 07 72 */ fmuls f3, f0, f29
/* 800C2DFC 000BFD5C C0 21 00 44 */ lfs f1, 0x44(r1)
/* 800C2E00 000BFD60 C0 01 00 40 */ lfs f0, 0x40(r1)
/* 800C2E04 000BFD64 EC 43 00 B2 */ fmuls f2, f3, f2
/* 800C2E08 000BFD68 EC 23 00 72 */ fmuls f1, f3, f1
/* 800C2E0C 000BFD6C EC 03 00 32 */ fmuls f0, f3, f0
/* 800C2E10 000BFD70 D0 41 00 54 */ stfs f2, 0x54(r1)
/* 800C2E14 000BFD74 D0 01 00 58 */ stfs f0, 0x58(r1)
/* 800C2E18 000BFD78 D0 21 00 5C */ stfs f1, 0x5c(r1)
/* 800C2E1C 000BFD7C 88 1E 02 8C */ lbz r0, 0x28c(r30)
/* 800C2E20 000BFD80 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f
/* 800C2E24 000BFD84 41 82 00 68 */ beq lbl_800C2E8C
/* 800C2E28 000BFD88 80 7F 08 4C */ lwz r3, 0x84c(r31)
/* 800C2E2C 000BFD8C 80 63 04 90 */ lwz r3, 0x490(r3)
/* 800C2E30 000BFD90 88 03 08 34 */ lbz r0, 0x834(r3)
/* 800C2E34 000BFD94 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 800C2E38 000BFD98 41 82 00 0C */ beq lbl_800C2E44
/* 800C2E3C 000BFD9C C0 23 03 40 */ lfs f1, 0x340(r3)
/* 800C2E40 000BFDA0 48 00 00 08 */ b lbl_800C2E48
lbl_800C2E44:
/* 800C2E44 000BFDA4 C0 22 8D C8 */ lfs f1, lbl_805AAAE8@sda21(r2)
lbl_800C2E48:
/* 800C2E48 000BFDA8 C0 0D A1 B0 */ lfs f0, lbl_805A8D70@sda21(r13)
/* 800C2E4C 000BFDAC FC 01 00 40 */ fcmpo cr0, f1, f0
/* 800C2E50 000BFDB0 40 80 00 3C */ bge lbl_800C2E8C
/* 800C2E54 000BFDB4 88 1E 02 8C */ lbz r0, 0x28c(r30)
/* 800C2E58 000BFDB8 38 80 00 00 */ li r4, 0
/* 800C2E5C 000BFDBC 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a
/* 800C2E60 000BFDC0 3C 60 80 5A */ lis r3, skZero3f@ha
/* 800C2E64 000BFDC4 98 1E 02 8C */ stb r0, 0x28c(r30)
/* 800C2E68 000BFDC8 88 1E 02 8C */ lbz r0, 0x28c(r30)
/* 800C2E6C 000BFDCC 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19
/* 800C2E70 000BFDD0 98 1E 02 8C */ stb r0, 0x28c(r30)
/* 800C2E74 000BFDD4 C4 43 66 A0 */ lfsu f2, skZero3f@l(r3)
/* 800C2E78 000BFDD8 C0 23 00 04 */ lfs f1, 4(r3)
/* 800C2E7C 000BFDDC C0 03 00 08 */ lfs f0, 8(r3)
/* 800C2E80 000BFDE0 D0 41 00 54 */ stfs f2, 0x54(r1)
/* 800C2E84 000BFDE4 D0 21 00 58 */ stfs f1, 0x58(r1)
/* 800C2E88 000BFDE8 D0 01 00 5C */ stfs f0, 0x5c(r1)
lbl_800C2E8C:
/* 800C2E8C 000BFDEC 7F C3 F3 78 */ mr r3, r30
/* 800C2E90 000BFDF0 38 81 00 54 */ addi r4, r1, 0x54
/* 800C2E94 000BFDF4 48 05 7E 0D */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f
/* 800C2E98 000BFDF8 48 00 01 5C */ b lbl_800C2FF4
lbl_800C2E9C:
/* 800C2E9C 000BFDFC 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f
/* 800C2EA0 000BFE00 41 82 01 54 */ beq lbl_800C2FF4
/* 800C2EA4 000BFE04 80 7F 08 4C */ lwz r3, 0x84c(r31)
/* 800C2EA8 000BFE08 80 63 04 90 */ lwz r3, 0x490(r3)
/* 800C2EAC 000BFE0C 88 03 08 34 */ lbz r0, 0x834(r3)
/* 800C2EB0 000BFE10 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 800C2EB4 000BFE14 41 82 00 0C */ beq lbl_800C2EC0
/* 800C2EB8 000BFE18 C0 23 03 40 */ lfs f1, 0x340(r3)
/* 800C2EBC 000BFE1C 48 00 00 08 */ b lbl_800C2EC4
lbl_800C2EC0:
/* 800C2EC0 000BFE20 C0 22 8D C8 */ lfs f1, lbl_805AAAE8@sda21(r2)
lbl_800C2EC4:
/* 800C2EC4 000BFE24 C0 0D A1 B0 */ lfs f0, lbl_805A8D70@sda21(r13)
/* 800C2EC8 000BFE28 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 800C2ECC 000BFE2C 40 81 01 28 */ ble lbl_800C2FF4
/* 800C2ED0 000BFE30 80 BF 08 70 */ lwz r5, 0x870(r31)
/* 800C2ED4 000BFE34 38 61 00 30 */ addi r3, r1, 0x30
/* 800C2ED8 000BFE38 C0 9E 00 50 */ lfs f4, 0x50(r30)
/* 800C2EDC 000BFE3C 38 81 00 48 */ addi r4, r1, 0x48
/* 800C2EE0 000BFE40 80 A5 00 7C */ lwz r5, 0x7c(r5)
/* 800C2EE4 000BFE44 C0 7E 00 60 */ lfs f3, 0x60(r30)
/* 800C2EE8 000BFE48 C0 05 00 50 */ lfs f0, 0x50(r5)
/* 800C2EEC 000BFE4C C0 45 00 60 */ lfs f2, 0x60(r5)
/* 800C2EF0 000BFE50 C0 3E 00 40 */ lfs f1, 0x40(r30)
/* 800C2EF4 000BFE54 EC 84 00 28 */ fsubs f4, f4, f0
/* 800C2EF8 000BFE58 C0 05 00 40 */ lfs f0, 0x40(r5)
/* 800C2EFC 000BFE5C EC 43 10 28 */ fsubs f2, f3, f2
/* 800C2F00 000BFE60 EC 01 00 28 */ fsubs f0, f1, f0
/* 800C2F04 000BFE64 D0 81 00 4C */ stfs f4, 0x4c(r1)
/* 800C2F08 000BFE68 D0 41 00 50 */ stfs f2, 0x50(r1)
/* 800C2F0C 000BFE6C D0 01 00 48 */ stfs f0, 0x48(r1)
/* 800C2F10 000BFE70 C3 A5 00 58 */ lfs f29, 0x58(r5)
/* 800C2F14 000BFE74 C3 C5 00 48 */ lfs f30, 0x48(r5)
/* 800C2F18 000BFE78 C3 E5 00 38 */ lfs f31, 0x38(r5)
/* 800C2F1C 000BFE7C 48 25 19 35 */ bl AsNormalized__9CVector3fCFv
/* 800C2F20 000BFE80 80 6D A1 20 */ lwz r3, gpTweakGame@sda21(r13)
/* 800C2F24 000BFE84 3C 00 43 30 */ lis r0, 0x4330
/* 800C2F28 000BFE88 C0 41 00 34 */ lfs f2, 0x34(r1)
/* 800C2F2C 000BFE8C C0 22 8D E4 */ lfs f1, lbl_805AAB04@sda21(r2)
/* 800C2F30 000BFE90 C0 03 00 24 */ lfs f0, 0x24(r3)
/* 800C2F34 000BFE94 EC 5E 00 B2 */ fmuls f2, f30, f2
/* 800C2F38 000BFE98 C0 61 00 30 */ lfs f3, 0x30(r1)
/* 800C2F3C 000BFE9C EC 81 00 32 */ fmuls f4, f1, f0
/* 800C2F40 000BFEA0 C0 02 8D E8 */ lfs f0, lbl_805AAB08@sda21(r2)
/* 800C2F44 000BFEA4 EC 3F 10 FA */ fmadds f1, f31, f3, f2
/* 800C2F48 000BFEA8 C0 41 00 38 */ lfs f2, 0x38(r1)
/* 800C2F4C 000BFEAC 90 01 00 A0 */ stw r0, 0xa0(r1)
/* 800C2F50 000BFEB0 EC 04 00 32 */ fmuls f0, f4, f0
/* 800C2F54 000BFEB4 EF BD 08 BA */ fmadds f29, f29, f2, f1
/* 800C2F58 000BFEB8 C8 62 8D F0 */ lfd f3, lbl_805AAB10@sda21(r2)
/* 800C2F5C 000BFEBC C0 42 8D EC */ lfs f2, lbl_805AAB0C@sda21(r2)
/* 800C2F60 000BFEC0 FC 20 00 1E */ fctiwz f1, f0
/* 800C2F64 000BFEC4 C0 02 8D C8 */ lfs f0, lbl_805AAAE8@sda21(r2)
/* 800C2F68 000BFEC8 D8 21 00 98 */ stfd f1, 0x98(r1)
/* 800C2F6C 000BFECC 80 01 00 9C */ lwz r0, 0x9c(r1)
/* 800C2F70 000BFED0 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 800C2F74 000BFED4 90 01 00 A4 */ stw r0, 0xa4(r1)
/* 800C2F78 000BFED8 C8 21 00 A0 */ lfd f1, 0xa0(r1)
/* 800C2F7C 000BFEDC EC 21 18 28 */ fsubs f1, f1, f3
/* 800C2F80 000BFEE0 EC 21 20 BC */ fnmsubs f1, f1, f2, f4
/* 800C2F84 000BFEE4 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 800C2F88 000BFEE8 40 80 00 08 */ bge lbl_800C2F90
/* 800C2F8C 000BFEEC EC 21 10 2A */ fadds f1, f1, f2
lbl_800C2F90:
/* 800C2F90 000BFEF0 48 2D 14 61 */ bl cos
/* 800C2F94 000BFEF4 FC 00 08 18 */ frsp f0, f1
/* 800C2F98 000BFEF8 FC 1D 00 40 */ fcmpo cr0, f29, f0
/* 800C2F9C 000BFEFC 40 81 00 58 */ ble lbl_800C2FF4
/* 800C2FA0 000BFF00 C0 21 00 48 */ lfs f1, 0x48(r1)
/* 800C2FA4 000BFF04 C0 01 00 4C */ lfs f0, 0x4c(r1)
/* 800C2FA8 000BFF08 EC 41 00 72 */ fmuls f2, f1, f1
/* 800C2FAC 000BFF0C C0 61 00 50 */ lfs f3, 0x50(r1)
/* 800C2FB0 000BFF10 EC 20 00 32 */ fmuls f1, f0, f0
/* 800C2FB4 000BFF14 C0 0D 86 C0 */ lfs f0, lbl_805A7280@sda21(r13)
/* 800C2FB8 000BFF18 EC 63 00 F2 */ fmuls f3, f3, f3
/* 800C2FBC 000BFF1C EC 00 00 32 */ fmuls f0, f0, f0
/* 800C2FC0 000BFF20 EC 22 08 2A */ fadds f1, f2, f1
/* 800C2FC4 000BFF24 EC 23 08 2A */ fadds f1, f3, f1
/* 800C2FC8 000BFF28 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 800C2FCC 000BFF2C 40 80 00 28 */ bge lbl_800C2FF4
/* 800C2FD0 000BFF30 88 1E 02 8C */ lbz r0, 0x28c(r30)
/* 800C2FD4 000BFF34 38 60 00 01 */ li r3, 1
/* 800C2FD8 000BFF38 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19
/* 800C2FDC 000BFF3C C0 02 8D C8 */ lfs f0, lbl_805AAAE8@sda21(r2)
/* 800C2FE0 000BFF40 98 1E 02 8C */ stb r0, 0x28c(r30)
/* 800C2FE4 000BFF44 88 1E 02 8C */ lbz r0, 0x28c(r30)
/* 800C2FE8 000BFF48 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a
/* 800C2FEC 000BFF4C 98 1E 02 8C */ stb r0, 0x28c(r30)
/* 800C2FF0 000BFF50 D0 1E 02 74 */ stfs f0, 0x274(r30)
lbl_800C2FF4:
/* 800C2FF4 000BFF54 C0 3E 02 6C */ lfs f1, 0x26c(r30)
/* 800C2FF8 000BFF58 C0 02 8D C8 */ lfs f0, lbl_805AAAE8@sda21(r2)
/* 800C2FFC 000BFF5C FC 01 00 00 */ fcmpu cr0, f1, f0
/* 800C3000 000BFF60 41 82 00 28 */ beq lbl_800C3028
/* 800C3004 000BFF64 C0 1E 02 70 */ lfs f0, 0x270(r30)
/* 800C3008 000BFF68 FC 00 08 40 */ fcmpo cr0, f0, f1
/* 800C300C 000BFF6C 40 81 00 1C */ ble lbl_800C3028
/* 800C3010 000BFF70 A0 1E 00 08 */ lhz r0, 8(r30)
/* 800C3014 000BFF74 7F E3 FB 78 */ mr r3, r31
/* 800C3018 000BFF78 38 81 00 0C */ addi r4, r1, 0xc
/* 800C301C 000BFF7C B0 01 00 08 */ sth r0, 8(r1)
/* 800C3020 000BFF80 B0 01 00 0C */ sth r0, 0xc(r1)
/* 800C3024 000BFF84 4B F8 92 49 */ bl FreeScriptObject__13CStateManagerF9TUniqueId
lbl_800C3028:
/* 800C3028 000BFF88 E3 E1 00 E8 */ psq_l f31, 232(r1), 0, qr0
/* 800C302C 000BFF8C CB E1 00 E0 */ lfd f31, 0xe0(r1)
/* 800C3030 000BFF90 E3 C1 00 D8 */ psq_l f30, 216(r1), 0, qr0
/* 800C3034 000BFF94 CB C1 00 D0 */ lfd f30, 0xd0(r1)
/* 800C3038 000BFF98 E3 A1 00 C8 */ psq_l f29, 200(r1), 0, qr0
/* 800C303C 000BFF9C CB A1 00 C0 */ lfd f29, 0xc0(r1)
/* 800C3040 000BFFA0 83 E1 00 BC */ lwz r31, 0xbc(r1)
/* 800C3044 000BFFA4 83 C1 00 B8 */ lwz r30, 0xb8(r1)
/* 800C3048 000BFFA8 80 01 00 F4 */ lwz r0, 0xf4(r1)
/* 800C304C 000BFFAC 83 A1 00 B4 */ lwz r29, 0xb4(r1)
/* 800C3050 000BFFB0 7C 08 03 A6 */ mtlr r0
/* 800C3054 000BFFB4 38 21 00 F0 */ addi r1, r1, 0xf0
/* 800C3058 000BFFB8 4E 80 00 20 */ blr
.global __dt__13CScriptPickup
__dt__13CScriptPickup:
/* 800C305C 000BFFBC 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800C3060 000BFFC0 7C 08 02 A6 */ mflr r0
/* 800C3064 000BFFC4 90 01 00 14 */ stw r0, 0x14(r1)
/* 800C3068 000BFFC8 93 E1 00 0C */ stw r31, 0xc(r1)
/* 800C306C 000BFFCC 7C 9F 23 78 */ mr r31, r4
/* 800C3070 000BFFD0 93 C1 00 08 */ stw r30, 8(r1)
/* 800C3074 000BFFD4 7C 7E 1B 79 */ or. r30, r3, r3
/* 800C3078 000BFFD8 41 82 00 60 */ beq lbl_800C30D8
/* 800C307C 000BFFDC 3C 60 80 3E */ lis r3, lbl_803DF4F8@ha
/* 800C3080 000BFFE0 34 1E 02 7C */ addic. r0, r30, 0x27c
/* 800C3084 000BFFE4 38 03 F4 F8 */ addi r0, r3, lbl_803DF4F8@l
/* 800C3088 000BFFE8 90 1E 00 00 */ stw r0, 0(r30)
/* 800C308C 000BFFEC 41 82 00 30 */ beq lbl_800C30BC
/* 800C3090 000BFFF0 88 1E 02 88 */ lbz r0, 0x288(r30)
/* 800C3094 000BFFF4 28 00 00 00 */ cmplwi r0, 0
/* 800C3098 000BFFF8 41 82 00 1C */ beq lbl_800C30B4
/* 800C309C 000BFFFC 34 7E 02 7C */ addic. r3, r30, 0x27c
/* 800C30A0 000C0000 41 82 00 14 */ beq lbl_800C30B4
/* 800C30A4 000C0004 28 03 00 00 */ cmplwi r3, 0
/* 800C30A8 000C0008 41 82 00 0C */ beq lbl_800C30B4
/* 800C30AC 000C000C 38 80 00 00 */ li r4, 0
/* 800C30B0 000C0010 48 27 DD 91 */ bl __dt__6CTokenFv
lbl_800C30B4:
/* 800C30B4 000C0014 38 00 00 00 */ li r0, 0
/* 800C30B8 000C0018 98 1E 02 88 */ stb r0, 0x288(r30)
lbl_800C30BC:
/* 800C30BC 000C001C 7F C3 F3 78 */ mr r3, r30
/* 800C30C0 000C0020 38 80 00 00 */ li r4, 0
/* 800C30C4 000C0024 48 05 93 51 */ bl __dt__13CPhysicsActorFv
/* 800C30C8 000C0028 7F E0 07 35 */ extsh. r0, r31
/* 800C30CC 000C002C 40 81 00 0C */ ble lbl_800C30D8
/* 800C30D0 000C0030 7F C3 F3 78 */ mr r3, r30
/* 800C30D4 000C0034 48 25 28 5D */ bl Free__7CMemoryFPCv
lbl_800C30D8:
/* 800C30D8 000C0038 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800C30DC 000C003C 7F C3 F3 78 */ mr r3, r30
/* 800C30E0 000C0040 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 800C30E4 000C0044 83 C1 00 08 */ lwz r30, 8(r1)
/* 800C30E8 000C0048 7C 08 03 A6 */ mtlr r0
/* 800C30EC 000C004C 38 21 00 10 */ addi r1, r1, 0x10
/* 800C30F0 000C0050 4E 80 00 20 */ blr
.global "__ct__13CScriptPickupF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersRC6CAABoxiiiiffffb"
"__ct__13CScriptPickupF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersRC6CAABoxiiiiffffb":
/* 800C30F4 000C0054 94 21 FE E0 */ stwu r1, -0x120(r1)
/* 800C30F8 000C0058 7C 08 02 A6 */ mflr r0
/* 800C30FC 000C005C 90 01 01 24 */ stw r0, 0x124(r1)
/* 800C3100 000C0060 DB E1 01 10 */ stfd f31, 0x110(r1)
/* 800C3104 000C0064 F3 E1 01 18 */ psq_st f31, 280(r1), 0, qr0
/* 800C3108 000C0068 DB C1 01 00 */ stfd f30, 0x100(r1)
/* 800C310C 000C006C F3 C1 01 08 */ psq_st f30, 264(r1), 0, qr0
/* 800C3110 000C0070 DB A1 00 F0 */ stfd f29, 0xf0(r1)
/* 800C3114 000C0074 F3 A1 00 F8 */ psq_st f29, 248(r1), 0, qr0
/* 800C3118 000C0078 DB 81 00 E0 */ stfd f28, 0xe0(r1)
/* 800C311C 000C007C F3 81 00 E8 */ psq_st f28, 232(r1), 0, qr0
/* 800C3120 000C0080 BE 41 00 A8 */ stmw r18, 0xa8(r1)
/* 800C3124 000C0084 FF 80 08 90 */ fmr f28, f1
/* 800C3128 000C0088 83 41 01 28 */ lwz r26, 0x128(r1)
/* 800C312C 000C008C FF A0 10 90 */ fmr f29, f2
/* 800C3130 000C0090 83 61 01 2C */ lwz r27, 0x12c(r1)
/* 800C3134 000C0094 FF C0 18 90 */ fmr f30, f3
/* 800C3138 000C0098 83 81 01 30 */ lwz r28, 0x130(r1)
/* 800C313C 000C009C FF E0 20 90 */ fmr f31, f4
/* 800C3140 000C00A0 83 A1 01 34 */ lwz r29, 0x134(r1)
/* 800C3144 000C00A4 8B C1 01 3B */ lbz r30, 0x13b(r1)
/* 800C3148 000C00A8 7C 73 1B 78 */ mr r19, r3
/* 800C314C 000C00AC 7C 92 23 78 */ mr r18, r4
/* 800C3150 000C00B0 7C B4 2B 78 */ mr r20, r5
/* 800C3154 000C00B4 7C D5 33 78 */ mr r21, r6
/* 800C3158 000C00B8 7C F6 3B 78 */ mr r22, r7
/* 800C315C 000C00BC 7D 17 43 78 */ mr r23, r8
/* 800C3160 000C00C0 7D 38 4B 78 */ mr r24, r9
/* 800C3164 000C00C4 7D 59 53 78 */ mr r25, r10
/* 800C3168 000C00C8 4B F5 83 CD */ bl Identity__10CAxisAngleFv
/* 800C316C 000C00CC 7C 7F 1B 78 */ mr r31, r3
/* 800C3170 000C00D0 4B F5 83 C5 */ bl Identity__10CAxisAngleFv
/* 800C3174 000C00D4 3C 80 80 5A */ lis r4, skZero3f@ha
/* 800C3178 000C00D8 C4 84 66 A0 */ lfsu f4, skZero3f@l(r4)
/* 800C317C 000C00DC C0 02 8D D0 */ lfs f0, lbl_805AAAF0@sda21(r2)
/* 800C3180 000C00E0 39 80 00 00 */ li r12, 0
/* 800C3184 000C00E4 C0 A4 00 04 */ lfs f5, 4(r4)
/* 800C3188 000C00E8 38 01 00 74 */ addi r0, r1, 0x74
/* 800C318C 000C00EC C0 C4 00 08 */ lfs f6, 8(r4)
/* 800C3190 000C00F0 7F C5 F3 78 */ mr r5, r30
/* 800C3194 000C00F4 D0 81 00 74 */ stfs f4, 0x74(r1)
/* 800C3198 000C00F8 7E 86 A3 78 */ mr r6, r20
/* 800C319C 000C00FC A1 72 00 00 */ lhz r11, 0(r18)
/* 800C31A0 000C0100 7E A7 AB 78 */ mr r7, r21
/* 800C31A4 000C0104 D0 A1 00 78 */ stfs f5, 0x78(r1)
/* 800C31A8 000C0108 7E C8 B3 78 */ mr r8, r22
/* 800C31AC 000C010C C0 22 8D F8 */ lfs f1, lbl_805AAB18@sda21(r2)
/* 800C31B0 000C0110 7E E9 BB 78 */ mr r9, r23
/* 800C31B4 000C0114 D0 C1 00 7C */ stfs f6, 0x7c(r1)
/* 800C31B8 000C0118 38 81 00 18 */ addi r4, r1, 0x18
/* 800C31BC 000C011C C0 42 8D FC */ lfs f2, lbl_805AAB1C@sda21(r2)
/* 800C31C0 000C0120 39 41 00 38 */ addi r10, r1, 0x38
/* 800C31C4 000C0124 C0 63 00 00 */ lfs f3, 0(r3)
/* 800C31C8 000C0128 D0 61 00 80 */ stfs f3, 0x80(r1)
/* 800C31CC 000C012C C0 63 00 04 */ lfs f3, 4(r3)
/* 800C31D0 000C0130 D0 61 00 84 */ stfs f3, 0x84(r1)
/* 800C31D4 000C0134 C0 63 00 08 */ lfs f3, 8(r3)
/* 800C31D8 000C0138 7E 63 9B 78 */ mr r3, r19
/* 800C31DC 000C013C D0 61 00 88 */ stfs f3, 0x88(r1)
/* 800C31E0 000C0140 D0 81 00 8C */ stfs f4, 0x8c(r1)
/* 800C31E4 000C0144 D0 A1 00 90 */ stfs f5, 0x90(r1)
/* 800C31E8 000C0148 D0 C1 00 94 */ stfs f6, 0x94(r1)
/* 800C31EC 000C014C C0 7F 00 00 */ lfs f3, 0(r31)
/* 800C31F0 000C0150 D0 61 00 98 */ stfs f3, 0x98(r1)
/* 800C31F4 000C0154 C0 7F 00 04 */ lfs f3, 4(r31)
/* 800C31F8 000C0158 D0 61 00 9C */ stfs f3, 0x9c(r1)
/* 800C31FC 000C015C C0 7F 00 08 */ lfs f3, 8(r31)
/* 800C3200 000C0160 D0 61 00 A0 */ stfs f3, 0xa0(r1)
/* 800C3204 000C0164 D0 01 00 A4 */ stfs f0, 0xa4(r1)
/* 800C3208 000C0168 91 81 00 3C */ stw r12, 0x3c(r1)
/* 800C320C 000C016C 91 81 00 38 */ stw r12, 0x38(r1)
/* 800C3210 000C0170 B1 61 00 18 */ sth r11, 0x18(r1)
/* 800C3214 000C0174 93 21 00 08 */ stw r25, 8(r1)
/* 800C3218 000C0178 90 01 00 0C */ stw r0, 0xc(r1)
/* 800C321C 000C017C 93 01 00 10 */ stw r24, 0x10(r1)
/* 800C3220 000C0180 48 05 92 91 */ bl "__ct__13CPhysicsActorF9TUniqueIdbRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC6CAABoxRC10SMoverDataRC16CActorParametersff"
/* 800C3224 000C0184 3C 60 80 3E */ lis r3, lbl_803DF4F8@ha
/* 800C3228 000C0188 3C 1D 00 01 */ addis r0, r29, 1
/* 800C322C 000C018C 38 63 F4 F8 */ addi r3, r3, lbl_803DF4F8@l
/* 800C3230 000C0190 C0 02 8D C8 */ lfs f0, lbl_805AAAE8@sda21(r2)
/* 800C3234 000C0194 90 73 00 00 */ stw r3, 0(r19)
/* 800C3238 000C0198 38 60 00 00 */ li r3, 0
/* 800C323C 000C019C 28 00 FF FF */ cmplwi r0, 0xffff
/* 800C3240 000C01A0 93 53 02 58 */ stw r26, 0x258(r19)
/* 800C3244 000C01A4 93 73 02 5C */ stw r27, 0x25c(r19)
/* 800C3248 000C01A8 93 93 02 60 */ stw r28, 0x260(r19)
/* 800C324C 000C01AC D3 93 02 64 */ stfs f28, 0x264(r19)
/* 800C3250 000C01B0 D3 D3 02 68 */ stfs f30, 0x268(r19)
/* 800C3254 000C01B4 D3 B3 02 6C */ stfs f29, 0x26c(r19)
/* 800C3258 000C01B8 D0 13 02 70 */ stfs f0, 0x270(r19)
/* 800C325C 000C01BC D3 F3 02 78 */ stfs f31, 0x278(r19)
/* 800C3260 000C01C0 98 73 02 88 */ stb r3, 0x288(r19)
/* 800C3264 000C01C4 88 13 02 8C */ lbz r0, 0x28c(r19)
/* 800C3268 000C01C8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18
/* 800C326C 000C01CC 98 13 02 8C */ stb r0, 0x28c(r19)
/* 800C3270 000C01D0 88 13 02 8C */ lbz r0, 0x28c(r19)
/* 800C3274 000C01D4 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19
/* 800C3278 000C01D8 98 13 02 8C */ stb r0, 0x28c(r19)
/* 800C327C 000C01DC 88 13 02 8C */ lbz r0, 0x28c(r19)
/* 800C3280 000C01E0 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a
/* 800C3284 000C01E4 98 13 02 8C */ stb r0, 0x28c(r19)
/* 800C3288 000C01E8 41 82 00 B0 */ beq lbl_800C3338
/* 800C328C 000C01EC 3C 60 50 41 */ lis r3, 0x50415254@ha
/* 800C3290 000C01F0 93 A1 00 30 */ stw r29, 0x30(r1)
/* 800C3294 000C01F4 38 03 52 54 */ addi r0, r3, 0x50415254@l
/* 800C3298 000C01F8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
/* 800C329C 000C01FC 90 01 00 2C */ stw r0, 0x2c(r1)
/* 800C32A0 000C0200 38 61 00 24 */ addi r3, r1, 0x24
/* 800C32A4 000C0204 38 A1 00 2C */ addi r5, r1, 0x2c
/* 800C32A8 000C0208 81 84 00 00 */ lwz r12, 0(r4)
/* 800C32AC 000C020C 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 800C32B0 000C0210 7D 89 03 A6 */ mtctr r12
/* 800C32B4 000C0214 4E 80 04 21 */ bctrl
/* 800C32B8 000C0218 38 61 00 40 */ addi r3, r1, 0x40
/* 800C32BC 000C021C 38 81 00 24 */ addi r4, r1, 0x24
/* 800C32C0 000C0220 48 27 DB E9 */ bl __ct__6CTokenFRC6CToken
/* 800C32C4 000C0224 38 00 00 00 */ li r0, 0
/* 800C32C8 000C0228 90 01 00 48 */ stw r0, 0x48(r1)
/* 800C32CC 000C022C 88 13 02 88 */ lbz r0, 0x288(r19)
/* 800C32D0 000C0230 28 00 00 00 */ cmplwi r0, 0
/* 800C32D4 000C0234 40 82 00 2C */ bne lbl_800C3300
/* 800C32D8 000C0238 36 93 02 7C */ addic. r20, r19, 0x27c
/* 800C32DC 000C023C 41 82 00 18 */ beq lbl_800C32F4
/* 800C32E0 000C0240 7E 83 A3 78 */ mr r3, r20
/* 800C32E4 000C0244 38 81 00 40 */ addi r4, r1, 0x40
/* 800C32E8 000C0248 48 27 DB C1 */ bl __ct__6CTokenFRC6CToken
/* 800C32EC 000C024C 80 01 00 48 */ lwz r0, 0x48(r1)
/* 800C32F0 000C0250 90 14 00 08 */ stw r0, 8(r20)
lbl_800C32F4:
/* 800C32F4 000C0254 38 00 00 01 */ li r0, 1
/* 800C32F8 000C0258 98 13 02 88 */ stb r0, 0x288(r19)
/* 800C32FC 000C025C 48 00 00 1C */ b lbl_800C3318
lbl_800C3300:
/* 800C3300 000C0260 3A 93 02 7C */ addi r20, r19, 0x27c
/* 800C3304 000C0264 38 81 00 40 */ addi r4, r1, 0x40
/* 800C3308 000C0268 7E 83 A3 78 */ mr r3, r20
/* 800C330C 000C026C 48 27 D9 B9 */ bl __as__6CTokenFRC6CToken
/* 800C3310 000C0270 80 01 00 48 */ lwz r0, 0x48(r1)
/* 800C3314 000C0274 90 14 00 08 */ stw r0, 8(r20)
lbl_800C3318:
/* 800C3318 000C0278 38 61 00 40 */ addi r3, r1, 0x40
/* 800C331C 000C027C 38 80 00 00 */ li r4, 0
/* 800C3320 000C0280 48 27 DB 21 */ bl __dt__6CTokenFv
/* 800C3324 000C0284 38 61 00 24 */ addi r3, r1, 0x24
/* 800C3328 000C0288 38 80 FF FF */ li r4, -1
/* 800C332C 000C028C 48 27 DB 15 */ bl __dt__6CTokenFv
/* 800C3330 000C0290 38 73 02 7C */ addi r3, r19, 0x27c
/* 800C3334 000C0294 48 27 DA 51 */ bl Lock__6CTokenFv
lbl_800C3338:
/* 800C3338 000C0298 80 93 00 64 */ lwz r4, 0x64(r19)
/* 800C333C 000C029C 38 60 00 00 */ li r3, 0
/* 800C3340 000C02A0 28 04 00 00 */ cmplwi r4, 0
/* 800C3344 000C02A4 41 82 00 14 */ beq lbl_800C3358
/* 800C3348 000C02A8 80 04 00 10 */ lwz r0, 0x10(r4)
/* 800C334C 000C02AC 28 00 00 00 */ cmplwi r0, 0
/* 800C3350 000C02B0 41 82 00 08 */ beq lbl_800C3358
/* 800C3354 000C02B4 38 60 00 01 */ li r3, 1
lbl_800C3358:
/* 800C3358 000C02B8 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 800C335C 000C02BC 41 82 00 50 */ beq lbl_800C33AC
/* 800C3360 000C02C0 C0 02 8D D0 */ lfs f0, lbl_805AAAF0@sda21(r2)
/* 800C3364 000C02C4 38 C0 00 00 */ li r6, 0
/* 800C3368 000C02C8 38 60 FF FF */ li r3, -1
/* 800C336C 000C02CC 38 00 00 01 */ li r0, 1
/* 800C3370 000C02D0 90 C1 00 4C */ stw r6, 0x4c(r1)
/* 800C3374 000C02D4 38 81 00 4C */ addi r4, r1, 0x4c
/* 800C3378 000C02D8 38 A0 00 00 */ li r5, 0
/* 800C337C 000C02DC 90 61 00 50 */ stw r3, 0x50(r1)
/* 800C3380 000C02E0 D0 01 00 54 */ stfs f0, 0x54(r1)
/* 800C3384 000C02E4 98 01 00 58 */ stb r0, 0x58(r1)
/* 800C3388 000C02E8 90 C1 00 5C */ stw r6, 0x5c(r1)
/* 800C338C 000C02EC 90 C1 00 60 */ stw r6, 0x60(r1)
/* 800C3390 000C02F0 98 C1 00 64 */ stb r6, 0x64(r1)
/* 800C3394 000C02F4 90 C1 00 68 */ stw r6, 0x68(r1)
/* 800C3398 000C02F8 90 C1 00 6C */ stw r6, 0x6c(r1)
/* 800C339C 000C02FC 90 C1 00 70 */ stw r6, 0x70(r1)
/* 800C33A0 000C0300 80 73 00 64 */ lwz r3, 0x64(r19)
/* 800C33A4 000C0304 80 63 00 10 */ lwz r3, 0x10(r3)
/* 800C33A8 000C0308 4B F6 99 D5 */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb
lbl_800C33AC:
/* 800C33AC 000C030C C0 13 02 68 */ lfs f0, 0x268(r19)
/* 800C33B0 000C0310 C0 82 8D C8 */ lfs f4, lbl_805AAAE8@sda21(r2)
/* 800C33B4 000C0314 FC 00 20 00 */ fcmpu cr0, f0, f4
/* 800C33B8 000C0318 41 82 00 58 */ beq lbl_800C3410
/* 800C33BC 000C031C C0 22 8D D0 */ lfs f1, lbl_805AAAF0@sda21(r2)
/* 800C33C0 000C0320 38 A0 00 05 */ li r5, 5
/* 800C33C4 000C0324 38 80 00 00 */ li r4, 0
/* 800C33C8 000C0328 38 00 00 03 */ li r0, 3
/* 800C33CC 000C032C FC 40 08 90 */ fmr f2, f1
/* 800C33D0 000C0330 98 A1 00 1C */ stb r5, 0x1c(r1)
/* 800C33D4 000C0334 FC 60 08 90 */ fmr f3, f1
/* 800C33D8 000C0338 38 61 00 20 */ addi r3, r1, 0x20
/* 800C33DC 000C033C 98 81 00 1D */ stb r4, 0x1d(r1)
/* 800C33E0 000C0340 B0 01 00 1E */ sth r0, 0x1e(r1)
/* 800C33E4 000C0344 48 2A 00 09 */ bl __ct__6CColorFffff
/* 800C33E8 000C0348 A0 01 00 1E */ lhz r0, 0x1e(r1)
/* 800C33EC 000C034C 88 81 00 1D */ lbz r4, 0x1d(r1)
/* 800C33F0 000C0350 54 03 00 3A */ rlwinm r3, r0, 0, 0, 0x1d
/* 800C33F4 000C0354 80 A1 00 20 */ lwz r5, 0x20(r1)
/* 800C33F8 000C0358 88 01 00 1C */ lbz r0, 0x1c(r1)
/* 800C33FC 000C035C 60 63 00 01 */ ori r3, r3, 1
/* 800C3400 000C0360 98 13 00 B4 */ stb r0, 0xb4(r19)
/* 800C3404 000C0364 98 93 00 B5 */ stb r4, 0xb5(r19)
/* 800C3408 000C0368 B0 73 00 B6 */ sth r3, 0xb6(r19)
/* 800C340C 000C036C 90 B3 00 B8 */ stw r5, 0xb8(r19)
lbl_800C3410:
/* 800C3410 000C0370 7E 63 9B 78 */ mr r3, r19
/* 800C3414 000C0374 E3 E1 01 18 */ psq_l f31, 280(r1), 0, qr0
/* 800C3418 000C0378 CB E1 01 10 */ lfd f31, 0x110(r1)
/* 800C341C 000C037C E3 C1 01 08 */ psq_l f30, 264(r1), 0, qr0
/* 800C3420 000C0380 CB C1 01 00 */ lfd f30, 0x100(r1)
/* 800C3424 000C0384 E3 A1 00 F8 */ psq_l f29, 248(r1), 0, qr0
/* 800C3428 000C0388 CB A1 00 F0 */ lfd f29, 0xf0(r1)
/* 800C342C 000C038C E3 81 00 E8 */ psq_l f28, 232(r1), 0, qr0
/* 800C3430 000C0390 CB 81 00 E0 */ lfd f28, 0xe0(r1)
/* 800C3434 000C0394 BA 41 00 A8 */ lmw r18, 0xa8(r1)
/* 800C3438 000C0398 80 01 01 24 */ lwz r0, 0x124(r1)
/* 800C343C 000C039C 7C 08 03 A6 */ mtlr r0
/* 800C3440 000C03A0 38 21 01 20 */ addi r1, r1, 0x120
/* 800C3444 000C03A4 4E 80 00 20 */ blr

File diff suppressed because it is too large Load Diff

13955
asm/Kyoto_CWD/CStateManager.s Normal file

File diff suppressed because it is too large Load Diff

151
asm/Kyoto_CWD/CTweakGame.s Normal file
View File

@ -0,0 +1,151 @@
.include "macros.inc"
.section .text, "ax"
.global __ct__10CTweakGameFR12CInputStream
__ct__10CTweakGameFR12CInputStream:
/* 800371E4 00034144 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 800371E8 00034148 7C 08 02 A6 */ mflr r0
/* 800371EC 0003414C 3C A0 80 3E */ lis r5, lbl_803D9CC4@ha
/* 800371F0 00034150 90 01 00 24 */ stw r0, 0x24(r1)
/* 800371F4 00034154 38 05 9C C4 */ addi r0, r5, lbl_803D9CC4@l
/* 800371F8 00034158 38 A1 00 0C */ addi r5, r1, 0xc
/* 800371FC 0003415C 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80037200 00034160 7C 9F 23 78 */ mr r31, r4
/* 80037204 00034164 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80037208 00034168 7C 7E 1B 78 */ mr r30, r3
/* 8003720C 0003416C 3C 60 80 3E */ lis r3, lbl_803D9CD0@ha
/* 80037210 00034170 90 1E 00 00 */ stw r0, 0(r30)
/* 80037214 00034174 38 03 9C D0 */ addi r0, r3, lbl_803D9CD0@l
/* 80037218 00034178 38 7E 00 04 */ addi r3, r30, 4
/* 8003721C 0003417C 90 1E 00 00 */ stw r0, 0(r30)
/* 80037220 00034180 48 30 70 D9 */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator"
/* 80037224 00034184 7F E4 FB 78 */ mr r4, r31
/* 80037228 00034188 38 7E 00 14 */ addi r3, r30, 0x14
/* 8003722C 0003418C 38 A1 00 08 */ addi r5, r1, 8
/* 80037230 00034190 48 30 70 C9 */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator"
/* 80037234 00034194 7F E3 FB 78 */ mr r3, r31
/* 80037238 00034198 48 30 79 F1 */ bl ReadFloat__12CInputStreamFv
/* 8003723C 0003419C D0 3E 00 24 */ stfs f1, 0x24(r30)
/* 80037240 000341A0 7F E3 FB 78 */ mr r3, r31
/* 80037244 000341A4 48 30 7A 99 */ bl ReadBool__12CInputStreamFv
/* 80037248 000341A8 98 7E 00 28 */ stb r3, 0x28(r30)
/* 8003724C 000341AC 7F E3 FB 78 */ mr r3, r31
/* 80037250 000341B0 48 30 7A 8D */ bl ReadBool__12CInputStreamFv
/* 80037254 000341B4 98 7E 00 29 */ stb r3, 0x29(r30)
/* 80037258 000341B8 7F E3 FB 78 */ mr r3, r31
/* 8003725C 000341BC 48 30 7A 81 */ bl ReadBool__12CInputStreamFv
/* 80037260 000341C0 98 7E 00 2A */ stb r3, 0x2a(r30)
/* 80037264 000341C4 7F E3 FB 78 */ mr r3, r31
/* 80037268 000341C8 48 30 7A 75 */ bl ReadBool__12CInputStreamFv
/* 8003726C 000341CC 98 7E 00 2B */ stb r3, 0x2b(r30)
/* 80037270 000341D0 7F E3 FB 78 */ mr r3, r31
/* 80037274 000341D4 48 30 79 B5 */ bl ReadFloat__12CInputStreamFv
/* 80037278 000341D8 D0 3E 00 2C */ stfs f1, 0x2c(r30)
/* 8003727C 000341DC 7F E3 FB 78 */ mr r3, r31
/* 80037280 000341E0 48 30 79 A9 */ bl ReadFloat__12CInputStreamFv
/* 80037284 000341E4 D0 3E 00 30 */ stfs f1, 0x30(r30)
/* 80037288 000341E8 7F E3 FB 78 */ mr r3, r31
/* 8003728C 000341EC 48 30 79 9D */ bl ReadFloat__12CInputStreamFv
/* 80037290 000341F0 D0 3E 00 34 */ stfs f1, 0x34(r30)
/* 80037294 000341F4 7F E3 FB 78 */ mr r3, r31
/* 80037298 000341F8 48 30 79 91 */ bl ReadFloat__12CInputStreamFv
/* 8003729C 000341FC D0 3E 00 38 */ stfs f1, 0x38(r30)
/* 800372A0 00034200 7F E3 FB 78 */ mr r3, r31
/* 800372A4 00034204 48 30 79 85 */ bl ReadFloat__12CInputStreamFv
/* 800372A8 00034208 D0 3E 00 3C */ stfs f1, 0x3c(r30)
/* 800372AC 0003420C 7F E3 FB 78 */ mr r3, r31
/* 800372B0 00034210 48 30 79 79 */ bl ReadFloat__12CInputStreamFv
/* 800372B4 00034214 D0 3E 00 40 */ stfs f1, 0x40(r30)
/* 800372B8 00034218 7F E3 FB 78 */ mr r3, r31
/* 800372BC 0003421C 48 30 79 6D */ bl ReadFloat__12CInputStreamFv
/* 800372C0 00034220 D0 3E 00 44 */ stfs f1, 0x44(r30)
/* 800372C4 00034224 7F E3 FB 78 */ mr r3, r31
/* 800372C8 00034228 48 30 79 61 */ bl ReadFloat__12CInputStreamFv
/* 800372CC 0003422C D0 3E 00 48 */ stfs f1, 0x48(r30)
/* 800372D0 00034230 7F E3 FB 78 */ mr r3, r31
/* 800372D4 00034234 48 30 79 55 */ bl ReadFloat__12CInputStreamFv
/* 800372D8 00034238 D0 3E 00 4C */ stfs f1, 0x4c(r30)
/* 800372DC 0003423C 7F E3 FB 78 */ mr r3, r31
/* 800372E0 00034240 48 30 79 49 */ bl ReadFloat__12CInputStreamFv
/* 800372E4 00034244 D0 3E 00 50 */ stfs f1, 0x50(r30)
/* 800372E8 00034248 7F E3 FB 78 */ mr r3, r31
/* 800372EC 0003424C 48 30 79 3D */ bl ReadFloat__12CInputStreamFv
/* 800372F0 00034250 D0 3E 00 54 */ stfs f1, 0x54(r30)
/* 800372F4 00034254 7F E3 FB 78 */ mr r3, r31
/* 800372F8 00034258 48 30 79 31 */ bl ReadFloat__12CInputStreamFv
/* 800372FC 0003425C D0 3E 00 58 */ stfs f1, 0x58(r30)
/* 80037300 00034260 7F E3 FB 78 */ mr r3, r31
/* 80037304 00034264 48 30 79 25 */ bl ReadFloat__12CInputStreamFv
/* 80037308 00034268 D0 3E 00 5C */ stfs f1, 0x5c(r30)
/* 8003730C 0003426C 7F E3 FB 78 */ mr r3, r31
/* 80037310 00034270 48 30 79 19 */ bl ReadFloat__12CInputStreamFv
/* 80037314 00034274 D0 3E 00 60 */ stfs f1, 0x60(r30)
/* 80037318 00034278 7F E3 FB 78 */ mr r3, r31
/* 8003731C 0003427C 48 30 79 0D */ bl ReadFloat__12CInputStreamFv
/* 80037320 00034280 D0 3E 00 64 */ stfs f1, 0x64(r30)
/* 80037324 00034284 38 00 00 00 */ li r0, 0
/* 80037328 00034288 7F C3 F3 78 */ mr r3, r30
/* 8003732C 0003428C 98 1E 00 2B */ stb r0, 0x2b(r30)
/* 80037330 00034290 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80037334 00034294 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80037338 00034298 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8003733C 0003429C 7C 08 03 A6 */ mtlr r0
/* 80037340 000342A0 38 21 00 20 */ addi r1, r1, 0x20
/* 80037344 000342A4 4E 80 00 20 */ blr
.global __dt__10CTweakGameFv
__dt__10CTweakGameFv:
/* 80037348 000342A8 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8003734C 000342AC 7C 08 02 A6 */ mflr r0
/* 80037350 000342B0 90 01 00 14 */ stw r0, 0x14(r1)
/* 80037354 000342B4 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80037358 000342B8 7C 9F 23 78 */ mr r31, r4
/* 8003735C 000342BC 93 C1 00 08 */ stw r30, 8(r1)
/* 80037360 000342C0 7C 7E 1B 79 */ or. r30, r3, r3
/* 80037364 000342C4 41 82 00 54 */ beq lbl_800373B8
/* 80037368 000342C8 3C 60 80 3E */ lis r3, lbl_803D9CD0@ha
/* 8003736C 000342CC 34 1E 00 14 */ addic. r0, r30, 0x14
/* 80037370 000342D0 38 03 9C D0 */ addi r0, r3, lbl_803D9CD0@l
/* 80037374 000342D4 90 1E 00 00 */ stw r0, 0(r30)
/* 80037378 000342D8 41 82 00 0C */ beq lbl_80037384
/* 8003737C 000342DC 38 7E 00 14 */ addi r3, r30, 0x14
/* 80037380 000342E0 48 30 67 61 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_80037384:
/* 80037384 000342E4 34 1E 00 04 */ addic. r0, r30, 4
/* 80037388 000342E8 41 82 00 0C */ beq lbl_80037394
/* 8003738C 000342EC 38 7E 00 04 */ addi r3, r30, 4
/* 80037390 000342F0 48 30 67 51 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_80037394:
/* 80037394 000342F4 28 1E 00 00 */ cmplwi r30, 0
/* 80037398 000342F8 41 82 00 10 */ beq lbl_800373A8
/* 8003739C 000342FC 3C 60 80 3E */ lis r3, lbl_803D9CC4@ha
/* 800373A0 00034300 38 03 9C C4 */ addi r0, r3, lbl_803D9CC4@l
/* 800373A4 00034304 90 1E 00 00 */ stw r0, 0(r30)
lbl_800373A8:
/* 800373A8 00034308 7F E0 07 35 */ extsh. r0, r31
/* 800373AC 0003430C 40 81 00 0C */ ble lbl_800373B8
/* 800373B0 00034310 7F C3 F3 78 */ mr r3, r30
/* 800373B4 00034314 48 00 00 21 */ bl "__dl__24TOneStatic<10CTweakGame>FPv"
lbl_800373B8:
/* 800373B8 00034318 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800373BC 0003431C 7F C3 F3 78 */ mr r3, r30
/* 800373C0 00034320 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 800373C4 00034324 83 C1 00 08 */ lwz r30, 8(r1)
/* 800373C8 00034328 7C 08 03 A6 */ mtlr r0
/* 800373CC 0003432C 38 21 00 10 */ addi r1, r1, 0x10
/* 800373D0 00034330 4E 80 00 20 */ blr
.global "__dl__24TOneStatic<10CTweakGame>FPv"
"__dl__24TOneStatic<10CTweakGame>FPv":
/* 800373D4 00034334 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800373D8 00034338 7C 08 02 A6 */ mflr r0
/* 800373DC 0003433C 90 01 00 14 */ stw r0, 0x14(r1)
/* 800373E0 00034340 4B FF FD 45 */ bl "ReferenceCount__24TOneStatic<10CTweakGame>Fv"
/* 800373E4 00034344 80 83 00 00 */ lwz r4, 0(r3)
/* 800373E8 00034348 38 04 FF FF */ addi r0, r4, -1
/* 800373EC 0003434C 90 03 00 00 */ stw r0, 0(r3)
/* 800373F0 00034350 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800373F4 00034354 7C 08 03 A6 */ mtlr r0
/* 800373F8 00034358 38 21 00 10 */ addi r1, r1, 0x10
/* 800373FC 0003435C 4E 80 00 20 */ blr

View File

@ -0,0 +1,763 @@
.include "macros.inc"
.section .text, "ax"
.global __ct__12CTweakPlayerFR12CInputStream
__ct__12CTweakPlayerFR12CInputStream:
/* 80034E04 00031D64 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80034E08 00031D68 7C 08 02 A6 */ mflr r0
/* 80034E0C 00031D6C 3C C0 80 3E */ lis r6, lbl_803D9CC4@ha
/* 80034E10 00031D70 3C A0 80 3E */ lis r5, lbl_803D9CB8@ha
/* 80034E14 00031D74 90 01 00 24 */ stw r0, 0x24(r1)
/* 80034E18 00031D78 38 05 9C B8 */ addi r0, r5, lbl_803D9CB8@l
/* 80034E1C 00031D7C C0 02 83 F8 */ lfs f0, lbl_805AA118@sda21(r2)
/* 80034E20 00031D80 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80034E24 00031D84 7C 9F 23 78 */ mr r31, r4
/* 80034E28 00031D88 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80034E2C 00031D8C 7C 7E 1B 78 */ mr r30, r3
/* 80034E30 00031D90 38 66 9C C4 */ addi r3, r6, lbl_803D9CC4@l
/* 80034E34 00031D94 93 A1 00 14 */ stw r29, 0x14(r1)
/* 80034E38 00031D98 3B A0 00 00 */ li r29, 0
/* 80034E3C 00031D9C 93 81 00 10 */ stw r28, 0x10(r1)
/* 80034E40 00031DA0 3B 80 00 00 */ li r28, 0
/* 80034E44 00031DA4 90 7E 00 00 */ stw r3, 0(r30)
/* 80034E48 00031DA8 90 1E 00 00 */ stw r0, 0(r30)
/* 80034E4C 00031DAC D0 1E 02 D8 */ stfs f0, 0x2d8(r30)
/* 80034E50 00031DB0 D0 1E 02 DC */ stfs f0, 0x2dc(r30)
/* 80034E54 00031DB4 D0 1E 02 E0 */ stfs f0, 0x2e0(r30)
/* 80034E58 00031DB8 D0 1E 02 E4 */ stfs f0, 0x2e4(r30)
lbl_80034E5C:
/* 80034E5C 00031DBC 7F E3 FB 78 */ mr r3, r31
/* 80034E60 00031DC0 48 30 9D C9 */ bl ReadFloat__12CInputStreamFv
/* 80034E64 00031DC4 3B 9C 00 01 */ addi r28, r28, 1
/* 80034E68 00031DC8 38 1D 00 04 */ addi r0, r29, 4
/* 80034E6C 00031DCC 2C 1C 00 08 */ cmpwi r28, 8
/* 80034E70 00031DD0 7C 3E 05 2E */ stfsx f1, r30, r0
/* 80034E74 00031DD4 3B BD 00 04 */ addi r29, r29, 4
/* 80034E78 00031DD8 41 80 FF E4 */ blt lbl_80034E5C
/* 80034E7C 00031DDC 3B 80 00 00 */ li r28, 0
/* 80034E80 00031DE0 7F 9D E3 78 */ mr r29, r28
lbl_80034E84:
/* 80034E84 00031DE4 7F E3 FB 78 */ mr r3, r31
/* 80034E88 00031DE8 48 30 9D A1 */ bl ReadFloat__12CInputStreamFv
/* 80034E8C 00031DEC 3B 9C 00 01 */ addi r28, r28, 1
/* 80034E90 00031DF0 38 1D 00 24 */ addi r0, r29, 0x24
/* 80034E94 00031DF4 2C 1C 00 08 */ cmpwi r28, 8
/* 80034E98 00031DF8 7C 3E 05 2E */ stfsx f1, r30, r0
/* 80034E9C 00031DFC 3B BD 00 04 */ addi r29, r29, 4
/* 80034EA0 00031E00 41 80 FF E4 */ blt lbl_80034E84
/* 80034EA4 00031E04 3B 80 00 00 */ li r28, 0
/* 80034EA8 00031E08 7F 9D E3 78 */ mr r29, r28
lbl_80034EAC:
/* 80034EAC 00031E0C 7F E3 FB 78 */ mr r3, r31
/* 80034EB0 00031E10 48 30 9D 79 */ bl ReadFloat__12CInputStreamFv
/* 80034EB4 00031E14 3B 9C 00 01 */ addi r28, r28, 1
/* 80034EB8 00031E18 38 1D 00 44 */ addi r0, r29, 0x44
/* 80034EBC 00031E1C 2C 1C 00 08 */ cmpwi r28, 8
/* 80034EC0 00031E20 7C 3E 05 2E */ stfsx f1, r30, r0
/* 80034EC4 00031E24 3B BD 00 04 */ addi r29, r29, 4
/* 80034EC8 00031E28 41 80 FF E4 */ blt lbl_80034EAC
/* 80034ECC 00031E2C 3B 80 00 00 */ li r28, 0
/* 80034ED0 00031E30 7F 9D E3 78 */ mr r29, r28
lbl_80034ED4:
/* 80034ED4 00031E34 7F E3 FB 78 */ mr r3, r31
/* 80034ED8 00031E38 48 30 9D 51 */ bl ReadFloat__12CInputStreamFv
/* 80034EDC 00031E3C 3B 9C 00 01 */ addi r28, r28, 1
/* 80034EE0 00031E40 38 1D 00 64 */ addi r0, r29, 0x64
/* 80034EE4 00031E44 2C 1C 00 08 */ cmpwi r28, 8
/* 80034EE8 00031E48 7C 3E 05 2E */ stfsx f1, r30, r0
/* 80034EEC 00031E4C 3B BD 00 04 */ addi r29, r29, 4
/* 80034EF0 00031E50 41 80 FF E4 */ blt lbl_80034ED4
/* 80034EF4 00031E54 3B 80 00 00 */ li r28, 0
/* 80034EF8 00031E58 7F 9D E3 78 */ mr r29, r28
lbl_80034EFC:
/* 80034EFC 00031E5C 7F E3 FB 78 */ mr r3, r31
/* 80034F00 00031E60 48 30 9D 29 */ bl ReadFloat__12CInputStreamFv
/* 80034F04 00031E64 3B 9C 00 01 */ addi r28, r28, 1
/* 80034F08 00031E68 38 1D 00 84 */ addi r0, r29, 0x84
/* 80034F0C 00031E6C 2C 1C 00 08 */ cmpwi r28, 8
/* 80034F10 00031E70 7C 3E 05 2E */ stfsx f1, r30, r0
/* 80034F14 00031E74 3B BD 00 04 */ addi r29, r29, 4
/* 80034F18 00031E78 41 80 FF E4 */ blt lbl_80034EFC
/* 80034F1C 00031E7C 3B 80 00 00 */ li r28, 0
/* 80034F20 00031E80 7F 9D E3 78 */ mr r29, r28
lbl_80034F24:
/* 80034F24 00031E84 7F E3 FB 78 */ mr r3, r31
/* 80034F28 00031E88 48 30 9D 01 */ bl ReadFloat__12CInputStreamFv
/* 80034F2C 00031E8C 3B 9C 00 01 */ addi r28, r28, 1
/* 80034F30 00031E90 38 1D 00 A4 */ addi r0, r29, 0xa4
/* 80034F34 00031E94 2C 1C 00 08 */ cmpwi r28, 8
/* 80034F38 00031E98 7C 3E 05 2E */ stfsx f1, r30, r0
/* 80034F3C 00031E9C 3B BD 00 04 */ addi r29, r29, 4
/* 80034F40 00031EA0 41 80 FF E4 */ blt lbl_80034F24
/* 80034F44 00031EA4 7F E3 FB 78 */ mr r3, r31
/* 80034F48 00031EA8 48 30 9C E1 */ bl ReadFloat__12CInputStreamFv
/* 80034F4C 00031EAC D0 3E 00 C4 */ stfs f1, 0xc4(r30)
/* 80034F50 00031EB0 7F E3 FB 78 */ mr r3, r31
/* 80034F54 00031EB4 48 30 9C D5 */ bl ReadFloat__12CInputStreamFv
/* 80034F58 00031EB8 D0 3E 00 C8 */ stfs f1, 0xc8(r30)
/* 80034F5C 00031EBC 7F E3 FB 78 */ mr r3, r31
/* 80034F60 00031EC0 48 30 9C C9 */ bl ReadFloat__12CInputStreamFv
/* 80034F64 00031EC4 D0 3E 00 CC */ stfs f1, 0xcc(r30)
/* 80034F68 00031EC8 7F E3 FB 78 */ mr r3, r31
/* 80034F6C 00031ECC 48 30 9C BD */ bl ReadFloat__12CInputStreamFv
/* 80034F70 00031ED0 D0 3E 00 D0 */ stfs f1, 0xd0(r30)
/* 80034F74 00031ED4 7F E3 FB 78 */ mr r3, r31
/* 80034F78 00031ED8 48 30 9C B1 */ bl ReadFloat__12CInputStreamFv
/* 80034F7C 00031EDC D0 3E 00 D4 */ stfs f1, 0xd4(r30)
/* 80034F80 00031EE0 7F E3 FB 78 */ mr r3, r31
/* 80034F84 00031EE4 48 30 9C A5 */ bl ReadFloat__12CInputStreamFv
/* 80034F88 00031EE8 D0 3E 00 D8 */ stfs f1, 0xd8(r30)
/* 80034F8C 00031EEC 7F E3 FB 78 */ mr r3, r31
/* 80034F90 00031EF0 48 30 9C 99 */ bl ReadFloat__12CInputStreamFv
/* 80034F94 00031EF4 D0 3E 00 DC */ stfs f1, 0xdc(r30)
/* 80034F98 00031EF8 7F E3 FB 78 */ mr r3, r31
/* 80034F9C 00031EFC 48 30 9C 8D */ bl ReadFloat__12CInputStreamFv
/* 80034FA0 00031F00 D0 3E 00 E0 */ stfs f1, 0xe0(r30)
/* 80034FA4 00031F04 7F E3 FB 78 */ mr r3, r31
/* 80034FA8 00031F08 48 30 9C 81 */ bl ReadFloat__12CInputStreamFv
/* 80034FAC 00031F0C D0 3E 00 E4 */ stfs f1, 0xe4(r30)
/* 80034FB0 00031F10 7F E3 FB 78 */ mr r3, r31
/* 80034FB4 00031F14 48 30 9C 75 */ bl ReadFloat__12CInputStreamFv
/* 80034FB8 00031F18 D0 3E 00 E8 */ stfs f1, 0xe8(r30)
/* 80034FBC 00031F1C 7F E3 FB 78 */ mr r3, r31
/* 80034FC0 00031F20 48 30 9C 69 */ bl ReadFloat__12CInputStreamFv
/* 80034FC4 00031F24 D0 3E 00 EC */ stfs f1, 0xec(r30)
/* 80034FC8 00031F28 7F E3 FB 78 */ mr r3, r31
/* 80034FCC 00031F2C 48 30 9C 5D */ bl ReadFloat__12CInputStreamFv
/* 80034FD0 00031F30 D0 3E 00 F0 */ stfs f1, 0xf0(r30)
/* 80034FD4 00031F34 7F E3 FB 78 */ mr r3, r31
/* 80034FD8 00031F38 48 30 9C 51 */ bl ReadFloat__12CInputStreamFv
/* 80034FDC 00031F3C D0 3E 00 F4 */ stfs f1, 0xf4(r30)
/* 80034FE0 00031F40 7F E3 FB 78 */ mr r3, r31
/* 80034FE4 00031F44 48 30 9C 45 */ bl ReadFloat__12CInputStreamFv
/* 80034FE8 00031F48 D0 3E 00 F8 */ stfs f1, 0xf8(r30)
/* 80034FEC 00031F4C 7F E3 FB 78 */ mr r3, r31
/* 80034FF0 00031F50 48 30 9C 39 */ bl ReadFloat__12CInputStreamFv
/* 80034FF4 00031F54 D0 3E 00 FC */ stfs f1, 0xfc(r30)
/* 80034FF8 00031F58 7F E3 FB 78 */ mr r3, r31
/* 80034FFC 00031F5C 48 30 9C 2D */ bl ReadFloat__12CInputStreamFv
/* 80035000 00031F60 D0 3E 01 00 */ stfs f1, 0x100(r30)
/* 80035004 00031F64 7F E3 FB 78 */ mr r3, r31
/* 80035008 00031F68 48 30 9C 21 */ bl ReadFloat__12CInputStreamFv
/* 8003500C 00031F6C D0 3E 01 04 */ stfs f1, 0x104(r30)
/* 80035010 00031F70 7F E3 FB 78 */ mr r3, r31
/* 80035014 00031F74 48 30 9C 15 */ bl ReadFloat__12CInputStreamFv
/* 80035018 00031F78 D0 3E 01 08 */ stfs f1, 0x108(r30)
/* 8003501C 00031F7C 7F E3 FB 78 */ mr r3, r31
/* 80035020 00031F80 48 30 9C 09 */ bl ReadFloat__12CInputStreamFv
/* 80035024 00031F84 D0 3E 01 0C */ stfs f1, 0x10c(r30)
/* 80035028 00031F88 7F E3 FB 78 */ mr r3, r31
/* 8003502C 00031F8C 48 30 9B FD */ bl ReadFloat__12CInputStreamFv
/* 80035030 00031F90 D0 3E 01 10 */ stfs f1, 0x110(r30)
/* 80035034 00031F94 7F E3 FB 78 */ mr r3, r31
/* 80035038 00031F98 48 30 9B F1 */ bl ReadFloat__12CInputStreamFv
/* 8003503C 00031F9C D0 3E 01 14 */ stfs f1, 0x114(r30)
/* 80035040 00031FA0 7F E3 FB 78 */ mr r3, r31
/* 80035044 00031FA4 48 30 9B E5 */ bl ReadFloat__12CInputStreamFv
/* 80035048 00031FA8 D0 3E 01 18 */ stfs f1, 0x118(r30)
/* 8003504C 00031FAC 7F E3 FB 78 */ mr r3, r31
/* 80035050 00031FB0 48 30 9B D9 */ bl ReadFloat__12CInputStreamFv
/* 80035054 00031FB4 D0 3E 01 1C */ stfs f1, 0x11c(r30)
/* 80035058 00031FB8 7F E3 FB 78 */ mr r3, r31
/* 8003505C 00031FBC 48 30 9B CD */ bl ReadFloat__12CInputStreamFv
/* 80035060 00031FC0 D0 3E 01 20 */ stfs f1, 0x120(r30)
/* 80035064 00031FC4 7F E3 FB 78 */ mr r3, r31
/* 80035068 00031FC8 48 30 9B C1 */ bl ReadFloat__12CInputStreamFv
/* 8003506C 00031FCC D0 3E 01 24 */ stfs f1, 0x124(r30)
/* 80035070 00031FD0 7F E3 FB 78 */ mr r3, r31
/* 80035074 00031FD4 48 30 9B B5 */ bl ReadFloat__12CInputStreamFv
/* 80035078 00031FD8 D0 3E 01 28 */ stfs f1, 0x128(r30)
/* 8003507C 00031FDC 7F E3 FB 78 */ mr r3, r31
/* 80035080 00031FE0 48 30 9B A9 */ bl ReadFloat__12CInputStreamFv
/* 80035084 00031FE4 D0 3E 01 2C */ stfs f1, 0x12c(r30)
/* 80035088 00031FE8 7F E3 FB 78 */ mr r3, r31
/* 8003508C 00031FEC 48 30 9B 9D */ bl ReadFloat__12CInputStreamFv
/* 80035090 00031FF0 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2)
/* 80035094 00031FF4 7F E3 FB 78 */ mr r3, r31
/* 80035098 00031FF8 EC 00 00 72 */ fmuls f0, f0, f1
/* 8003509C 00031FFC D0 1E 01 30 */ stfs f0, 0x130(r30)
/* 800350A0 00032000 48 30 9B 89 */ bl ReadFloat__12CInputStreamFv
/* 800350A4 00032004 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2)
/* 800350A8 00032008 7F E3 FB 78 */ mr r3, r31
/* 800350AC 0003200C EC 00 00 72 */ fmuls f0, f0, f1
/* 800350B0 00032010 D0 1E 01 34 */ stfs f0, 0x134(r30)
/* 800350B4 00032014 48 30 9B 75 */ bl ReadFloat__12CInputStreamFv
/* 800350B8 00032018 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2)
/* 800350BC 0003201C 7F E3 FB 78 */ mr r3, r31
/* 800350C0 00032020 EC 00 00 72 */ fmuls f0, f0, f1
/* 800350C4 00032024 D0 1E 01 38 */ stfs f0, 0x138(r30)
/* 800350C8 00032028 48 30 9B 61 */ bl ReadFloat__12CInputStreamFv
/* 800350CC 0003202C C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2)
/* 800350D0 00032030 7F E3 FB 78 */ mr r3, r31
/* 800350D4 00032034 EC 00 00 72 */ fmuls f0, f0, f1
/* 800350D8 00032038 D0 1E 01 3C */ stfs f0, 0x13c(r30)
/* 800350DC 0003203C 48 30 9B 4D */ bl ReadFloat__12CInputStreamFv
/* 800350E0 00032040 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2)
/* 800350E4 00032044 7F E3 FB 78 */ mr r3, r31
/* 800350E8 00032048 EC 00 00 72 */ fmuls f0, f0, f1
/* 800350EC 0003204C D0 1E 01 40 */ stfs f0, 0x140(r30)
/* 800350F0 00032050 48 30 9B 39 */ bl ReadFloat__12CInputStreamFv
/* 800350F4 00032054 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2)
/* 800350F8 00032058 7F E3 FB 78 */ mr r3, r31
/* 800350FC 0003205C EC 00 00 72 */ fmuls f0, f0, f1
/* 80035100 00032060 D0 1E 01 44 */ stfs f0, 0x144(r30)
/* 80035104 00032064 48 30 9B 25 */ bl ReadFloat__12CInputStreamFv
/* 80035108 00032068 D0 3E 01 48 */ stfs f1, 0x148(r30)
/* 8003510C 0003206C 7F E3 FB 78 */ mr r3, r31
/* 80035110 00032070 48 30 9B 19 */ bl ReadFloat__12CInputStreamFv
/* 80035114 00032074 D0 3E 01 4C */ stfs f1, 0x14c(r30)
/* 80035118 00032078 7F E3 FB 78 */ mr r3, r31
/* 8003511C 0003207C 48 30 9B 0D */ bl ReadFloat__12CInputStreamFv
/* 80035120 00032080 D0 3E 01 50 */ stfs f1, 0x150(r30)
/* 80035124 00032084 7F E3 FB 78 */ mr r3, r31
/* 80035128 00032088 48 30 9B 01 */ bl ReadFloat__12CInputStreamFv
/* 8003512C 0003208C D0 3E 01 54 */ stfs f1, 0x154(r30)
/* 80035130 00032090 7F E3 FB 78 */ mr r3, r31
/* 80035134 00032094 48 30 9B A9 */ bl ReadBool__12CInputStreamFv
/* 80035138 00032098 88 1E 02 28 */ lbz r0, 0x228(r30)
/* 8003513C 0003209C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18
/* 80035140 000320A0 7F E3 FB 78 */ mr r3, r31
/* 80035144 000320A4 98 1E 02 28 */ stb r0, 0x228(r30)
/* 80035148 000320A8 48 30 9B 95 */ bl ReadBool__12CInputStreamFv
/* 8003514C 000320AC 88 1E 02 28 */ lbz r0, 0x228(r30)
/* 80035150 000320B0 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19
/* 80035154 000320B4 7F E3 FB 78 */ mr r3, r31
/* 80035158 000320B8 98 1E 02 28 */ stb r0, 0x228(r30)
/* 8003515C 000320BC 48 30 9B 81 */ bl ReadBool__12CInputStreamFv
/* 80035160 000320C0 88 1E 02 28 */ lbz r0, 0x228(r30)
/* 80035164 000320C4 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a
/* 80035168 000320C8 7F E3 FB 78 */ mr r3, r31
/* 8003516C 000320CC 98 1E 02 28 */ stb r0, 0x228(r30)
/* 80035170 000320D0 48 30 9B 6D */ bl ReadBool__12CInputStreamFv
/* 80035174 000320D4 88 1E 02 28 */ lbz r0, 0x228(r30)
/* 80035178 000320D8 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b
/* 8003517C 000320DC 7F E3 FB 78 */ mr r3, r31
/* 80035180 000320E0 98 1E 02 28 */ stb r0, 0x228(r30)
/* 80035184 000320E4 48 30 9B 59 */ bl ReadBool__12CInputStreamFv
/* 80035188 000320E8 88 1E 02 28 */ lbz r0, 0x228(r30)
/* 8003518C 000320EC 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c
/* 80035190 000320F0 7F E3 FB 78 */ mr r3, r31
/* 80035194 000320F4 98 1E 02 28 */ stb r0, 0x228(r30)
/* 80035198 000320F8 48 30 9B 45 */ bl ReadBool__12CInputStreamFv
/* 8003519C 000320FC 88 1E 02 28 */ lbz r0, 0x228(r30)
/* 800351A0 00032100 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d
/* 800351A4 00032104 7F E3 FB 78 */ mr r3, r31
/* 800351A8 00032108 98 1E 02 28 */ stb r0, 0x228(r30)
/* 800351AC 0003210C 48 30 9B 31 */ bl ReadBool__12CInputStreamFv
/* 800351B0 00032110 88 1E 02 28 */ lbz r0, 0x228(r30)
/* 800351B4 00032114 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e
/* 800351B8 00032118 7F E3 FB 78 */ mr r3, r31
/* 800351BC 0003211C 98 1E 02 28 */ stb r0, 0x228(r30)
/* 800351C0 00032120 48 30 9B 1D */ bl ReadBool__12CInputStreamFv
/* 800351C4 00032124 88 1E 02 28 */ lbz r0, 0x228(r30)
/* 800351C8 00032128 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f
/* 800351CC 0003212C 7F E3 FB 78 */ mr r3, r31
/* 800351D0 00032130 98 1E 02 28 */ stb r0, 0x228(r30)
/* 800351D4 00032134 48 30 9B 09 */ bl ReadBool__12CInputStreamFv
/* 800351D8 00032138 88 1E 02 29 */ lbz r0, 0x229(r30)
/* 800351DC 0003213C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18
/* 800351E0 00032140 7F E3 FB 78 */ mr r3, r31
/* 800351E4 00032144 98 1E 02 29 */ stb r0, 0x229(r30)
/* 800351E8 00032148 48 30 9A F5 */ bl ReadBool__12CInputStreamFv
/* 800351EC 0003214C 88 1E 02 29 */ lbz r0, 0x229(r30)
/* 800351F0 00032150 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19
/* 800351F4 00032154 7F E3 FB 78 */ mr r3, r31
/* 800351F8 00032158 98 1E 02 29 */ stb r0, 0x229(r30)
/* 800351FC 0003215C 48 30 9A E1 */ bl ReadBool__12CInputStreamFv
/* 80035200 00032160 88 1E 02 29 */ lbz r0, 0x229(r30)
/* 80035204 00032164 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a
/* 80035208 00032168 7F E3 FB 78 */ mr r3, r31
/* 8003520C 0003216C 98 1E 02 29 */ stb r0, 0x229(r30)
/* 80035210 00032170 48 30 9A CD */ bl ReadBool__12CInputStreamFv
/* 80035214 00032174 88 1E 02 29 */ lbz r0, 0x229(r30)
/* 80035218 00032178 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b
/* 8003521C 0003217C 7F E3 FB 78 */ mr r3, r31
/* 80035220 00032180 98 1E 02 29 */ stb r0, 0x229(r30)
/* 80035224 00032184 48 30 9A B9 */ bl ReadBool__12CInputStreamFv
/* 80035228 00032188 88 1E 02 29 */ lbz r0, 0x229(r30)
/* 8003522C 0003218C 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c
/* 80035230 00032190 7F E3 FB 78 */ mr r3, r31
/* 80035234 00032194 98 1E 02 29 */ stb r0, 0x229(r30)
/* 80035238 00032198 48 30 9A A5 */ bl ReadBool__12CInputStreamFv
/* 8003523C 0003219C 88 1E 02 29 */ lbz r0, 0x229(r30)
/* 80035240 000321A0 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d
/* 80035244 000321A4 7F E3 FB 78 */ mr r3, r31
/* 80035248 000321A8 98 1E 02 29 */ stb r0, 0x229(r30)
/* 8003524C 000321AC 48 30 9A 91 */ bl ReadBool__12CInputStreamFv
/* 80035250 000321B0 88 1E 02 29 */ lbz r0, 0x229(r30)
/* 80035254 000321B4 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e
/* 80035258 000321B8 7F E3 FB 78 */ mr r3, r31
/* 8003525C 000321BC 98 1E 02 29 */ stb r0, 0x229(r30)
/* 80035260 000321C0 48 30 9A 7D */ bl ReadBool__12CInputStreamFv
/* 80035264 000321C4 88 1E 02 29 */ lbz r0, 0x229(r30)
/* 80035268 000321C8 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f
/* 8003526C 000321CC 7F E3 FB 78 */ mr r3, r31
/* 80035270 000321D0 98 1E 02 29 */ stb r0, 0x229(r30)
/* 80035274 000321D4 48 30 9A 69 */ bl ReadBool__12CInputStreamFv
/* 80035278 000321D8 88 1E 02 2A */ lbz r0, 0x22a(r30)
/* 8003527C 000321DC 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18
/* 80035280 000321E0 7F E3 FB 78 */ mr r3, r31
/* 80035284 000321E4 98 1E 02 2A */ stb r0, 0x22a(r30)
/* 80035288 000321E8 48 30 9A 55 */ bl ReadBool__12CInputStreamFv
/* 8003528C 000321EC 88 1E 02 2A */ lbz r0, 0x22a(r30)
/* 80035290 000321F0 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19
/* 80035294 000321F4 7F E3 FB 78 */ mr r3, r31
/* 80035298 000321F8 98 1E 02 2A */ stb r0, 0x22a(r30)
/* 8003529C 000321FC 48 30 9A 41 */ bl ReadBool__12CInputStreamFv
/* 800352A0 00032200 88 1E 02 2A */ lbz r0, 0x22a(r30)
/* 800352A4 00032204 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a
/* 800352A8 00032208 7F E3 FB 78 */ mr r3, r31
/* 800352AC 0003220C 98 1E 02 2A */ stb r0, 0x22a(r30)
/* 800352B0 00032210 48 30 9A 2D */ bl ReadBool__12CInputStreamFv
/* 800352B4 00032214 88 1E 02 2A */ lbz r0, 0x22a(r30)
/* 800352B8 00032218 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b
/* 800352BC 0003221C 7F E3 FB 78 */ mr r3, r31
/* 800352C0 00032220 98 1E 02 2A */ stb r0, 0x22a(r30)
/* 800352C4 00032224 48 30 9A 19 */ bl ReadBool__12CInputStreamFv
/* 800352C8 00032228 88 1E 02 2A */ lbz r0, 0x22a(r30)
/* 800352CC 0003222C 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c
/* 800352D0 00032230 7F E3 FB 78 */ mr r3, r31
/* 800352D4 00032234 98 1E 02 2A */ stb r0, 0x22a(r30)
/* 800352D8 00032238 48 30 99 51 */ bl ReadFloat__12CInputStreamFv
/* 800352DC 0003223C D0 3E 02 2C */ stfs f1, 0x22c(r30)
/* 800352E0 00032240 7F E3 FB 78 */ mr r3, r31
/* 800352E4 00032244 48 30 99 45 */ bl ReadFloat__12CInputStreamFv
/* 800352E8 00032248 D0 3E 02 30 */ stfs f1, 0x230(r30)
/* 800352EC 0003224C 7F E3 FB 78 */ mr r3, r31
/* 800352F0 00032250 48 30 99 39 */ bl ReadFloat__12CInputStreamFv
/* 800352F4 00032254 D0 3E 02 34 */ stfs f1, 0x234(r30)
/* 800352F8 00032258 7F E3 FB 78 */ mr r3, r31
/* 800352FC 0003225C 48 30 99 2D */ bl ReadFloat__12CInputStreamFv
/* 80035300 00032260 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2)
/* 80035304 00032264 7F E3 FB 78 */ mr r3, r31
/* 80035308 00032268 EC 00 00 72 */ fmuls f0, f0, f1
/* 8003530C 0003226C D0 1E 02 38 */ stfs f0, 0x238(r30)
/* 80035310 00032270 48 30 99 19 */ bl ReadFloat__12CInputStreamFv
/* 80035314 00032274 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2)
/* 80035318 00032278 7F E3 FB 78 */ mr r3, r31
/* 8003531C 0003227C EC 00 00 72 */ fmuls f0, f0, f1
/* 80035320 00032280 D0 1E 02 3C */ stfs f0, 0x23c(r30)
/* 80035324 00032284 48 30 99 05 */ bl ReadFloat__12CInputStreamFv
/* 80035328 00032288 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2)
/* 8003532C 0003228C 7F E3 FB 78 */ mr r3, r31
/* 80035330 00032290 EC 00 00 72 */ fmuls f0, f0, f1
/* 80035334 00032294 D0 1E 02 40 */ stfs f0, 0x240(r30)
/* 80035338 00032298 48 30 98 F1 */ bl ReadFloat__12CInputStreamFv
/* 8003533C 0003229C C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2)
/* 80035340 000322A0 7F E3 FB 78 */ mr r3, r31
/* 80035344 000322A4 EC 00 00 72 */ fmuls f0, f0, f1
/* 80035348 000322A8 D0 1E 02 44 */ stfs f0, 0x244(r30)
/* 8003534C 000322AC 48 30 98 DD */ bl ReadFloat__12CInputStreamFv
/* 80035350 000322B0 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2)
/* 80035354 000322B4 7F E3 FB 78 */ mr r3, r31
/* 80035358 000322B8 EC 00 00 72 */ fmuls f0, f0, f1
/* 8003535C 000322BC D0 1E 02 48 */ stfs f0, 0x248(r30)
/* 80035360 000322C0 48 30 98 C9 */ bl ReadFloat__12CInputStreamFv
/* 80035364 000322C4 D0 3E 02 4C */ stfs f1, 0x24c(r30)
/* 80035368 000322C8 7F E3 FB 78 */ mr r3, r31
/* 8003536C 000322CC 48 30 98 BD */ bl ReadFloat__12CInputStreamFv
/* 80035370 000322D0 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2)
/* 80035374 000322D4 7F E3 FB 78 */ mr r3, r31
/* 80035378 000322D8 EC 00 00 72 */ fmuls f0, f0, f1
/* 8003537C 000322DC D0 1E 02 50 */ stfs f0, 0x250(r30)
/* 80035380 000322E0 48 30 98 A9 */ bl ReadFloat__12CInputStreamFv
/* 80035384 000322E4 D0 3E 02 54 */ stfs f1, 0x254(r30)
/* 80035388 000322E8 7F E3 FB 78 */ mr r3, r31
/* 8003538C 000322EC 48 30 98 9D */ bl ReadFloat__12CInputStreamFv
/* 80035390 000322F0 D0 3E 02 58 */ stfs f1, 0x258(r30)
/* 80035394 000322F4 7F E3 FB 78 */ mr r3, r31
/* 80035398 000322F8 48 30 98 91 */ bl ReadFloat__12CInputStreamFv
/* 8003539C 000322FC D0 3E 02 5C */ stfs f1, 0x25c(r30)
/* 800353A0 00032300 7F E3 FB 78 */ mr r3, r31
/* 800353A4 00032304 48 30 98 85 */ bl ReadFloat__12CInputStreamFv
/* 800353A8 00032308 D0 3E 02 60 */ stfs f1, 0x260(r30)
/* 800353AC 0003230C 7F E3 FB 78 */ mr r3, r31
/* 800353B0 00032310 48 30 98 79 */ bl ReadFloat__12CInputStreamFv
/* 800353B4 00032314 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2)
/* 800353B8 00032318 7F E3 FB 78 */ mr r3, r31
/* 800353BC 0003231C EC 00 00 72 */ fmuls f0, f0, f1
/* 800353C0 00032320 D0 1E 02 64 */ stfs f0, 0x264(r30)
/* 800353C4 00032324 48 30 98 65 */ bl ReadFloat__12CInputStreamFv
/* 800353C8 00032328 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2)
/* 800353CC 0003232C 3B 80 00 00 */ li r28, 0
/* 800353D0 00032330 7F 9D E3 78 */ mr r29, r28
/* 800353D4 00032334 EC 00 00 72 */ fmuls f0, f0, f1
/* 800353D8 00032338 D0 1E 02 68 */ stfs f0, 0x268(r30)
lbl_800353DC:
/* 800353DC 0003233C 7F E3 FB 78 */ mr r3, r31
/* 800353E0 00032340 48 30 98 49 */ bl ReadFloat__12CInputStreamFv
/* 800353E4 00032344 38 1D 01 58 */ addi r0, r29, 0x158
/* 800353E8 00032348 7F E3 FB 78 */ mr r3, r31
/* 800353EC 0003234C 7C 3E 05 2E */ stfsx f1, r30, r0
/* 800353F0 00032350 48 30 98 39 */ bl ReadFloat__12CInputStreamFv
/* 800353F4 00032354 38 1D 01 64 */ addi r0, r29, 0x164
/* 800353F8 00032358 7F E3 FB 78 */ mr r3, r31
/* 800353FC 0003235C 7C 3E 05 2E */ stfsx f1, r30, r0
/* 80035400 00032360 48 30 98 29 */ bl ReadFloat__12CInputStreamFv
/* 80035404 00032364 3B 9C 00 01 */ addi r28, r28, 1
/* 80035408 00032368 38 1D 01 70 */ addi r0, r29, 0x170
/* 8003540C 0003236C 2C 1C 00 03 */ cmpwi r28, 3
/* 80035410 00032370 7C 3E 05 2E */ stfsx f1, r30, r0
/* 80035414 00032374 3B BD 00 04 */ addi r29, r29, 4
/* 80035418 00032378 41 80 FF C4 */ blt lbl_800353DC
/* 8003541C 0003237C 7F E3 FB 78 */ mr r3, r31
/* 80035420 00032380 48 30 98 09 */ bl ReadFloat__12CInputStreamFv
/* 80035424 00032384 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2)
/* 80035428 00032388 7F E3 FB 78 */ mr r3, r31
/* 8003542C 0003238C EC 00 00 72 */ fmuls f0, f0, f1
/* 80035430 00032390 D0 1E 01 7C */ stfs f0, 0x17c(r30)
/* 80035434 00032394 48 30 97 F5 */ bl ReadFloat__12CInputStreamFv
/* 80035438 00032398 D0 3E 01 80 */ stfs f1, 0x180(r30)
/* 8003543C 0003239C 7F E3 FB 78 */ mr r3, r31
/* 80035440 000323A0 48 30 97 E9 */ bl ReadFloat__12CInputStreamFv
/* 80035444 000323A4 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2)
/* 80035448 000323A8 7F E3 FB 78 */ mr r3, r31
/* 8003544C 000323AC EC 00 00 72 */ fmuls f0, f0, f1
/* 80035450 000323B0 D0 1E 01 84 */ stfs f0, 0x184(r30)
/* 80035454 000323B4 48 30 97 D5 */ bl ReadFloat__12CInputStreamFv
/* 80035458 000323B8 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2)
/* 8003545C 000323BC 7F E3 FB 78 */ mr r3, r31
/* 80035460 000323C0 EC 00 00 72 */ fmuls f0, f0, f1
/* 80035464 000323C4 D0 1E 01 88 */ stfs f0, 0x188(r30)
/* 80035468 000323C8 48 30 97 C1 */ bl ReadFloat__12CInputStreamFv
/* 8003546C 000323CC C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2)
/* 80035470 000323D0 7F E3 FB 78 */ mr r3, r31
/* 80035474 000323D4 EC 00 00 72 */ fmuls f0, f0, f1
/* 80035478 000323D8 D0 1E 01 8C */ stfs f0, 0x18c(r30)
/* 8003547C 000323DC 48 30 97 AD */ bl ReadFloat__12CInputStreamFv
/* 80035480 000323E0 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2)
/* 80035484 000323E4 7F E3 FB 78 */ mr r3, r31
/* 80035488 000323E8 EC 00 00 72 */ fmuls f0, f0, f1
/* 8003548C 000323EC D0 1E 01 90 */ stfs f0, 0x190(r30)
/* 80035490 000323F0 48 30 97 99 */ bl ReadFloat__12CInputStreamFv
/* 80035494 000323F4 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2)
/* 80035498 000323F8 7F E3 FB 78 */ mr r3, r31
/* 8003549C 000323FC EC 00 00 72 */ fmuls f0, f0, f1
/* 800354A0 00032400 D0 1E 01 94 */ stfs f0, 0x194(r30)
/* 800354A4 00032404 48 30 97 85 */ bl ReadFloat__12CInputStreamFv
/* 800354A8 00032408 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2)
/* 800354AC 0003240C 7F E3 FB 78 */ mr r3, r31
/* 800354B0 00032410 EC 00 00 72 */ fmuls f0, f0, f1
/* 800354B4 00032414 D0 1E 01 98 */ stfs f0, 0x198(r30)
/* 800354B8 00032418 48 30 97 71 */ bl ReadFloat__12CInputStreamFv
/* 800354BC 0003241C D0 3E 01 9C */ stfs f1, 0x19c(r30)
/* 800354C0 00032420 7F E3 FB 78 */ mr r3, r31
/* 800354C4 00032424 48 30 97 65 */ bl ReadFloat__12CInputStreamFv
/* 800354C8 00032428 D0 3E 01 A0 */ stfs f1, 0x1a0(r30)
/* 800354CC 0003242C 7F E3 FB 78 */ mr r3, r31
/* 800354D0 00032430 48 30 97 59 */ bl ReadFloat__12CInputStreamFv
/* 800354D4 00032434 3B 80 00 00 */ li r28, 0
/* 800354D8 00032438 D0 3E 01 A4 */ stfs f1, 0x1a4(r30)
/* 800354DC 0003243C 7F 9D E3 78 */ mr r29, r28
lbl_800354E0:
/* 800354E0 00032440 7F E3 FB 78 */ mr r3, r31
/* 800354E4 00032444 48 30 97 A1 */ bl ReadLong__12CInputStreamFv
/* 800354E8 00032448 38 1D 01 A8 */ addi r0, r29, 0x1a8
/* 800354EC 0003244C 7C 7E 01 2E */ stwx r3, r30, r0
/* 800354F0 00032450 7F E3 FB 78 */ mr r3, r31
/* 800354F4 00032454 48 30 97 91 */ bl ReadLong__12CInputStreamFv
/* 800354F8 00032458 38 1D 01 B0 */ addi r0, r29, 0x1b0
/* 800354FC 0003245C 7C 7E 01 2E */ stwx r3, r30, r0
/* 80035500 00032460 7F E3 FB 78 */ mr r3, r31
/* 80035504 00032464 48 30 97 81 */ bl ReadLong__12CInputStreamFv
/* 80035508 00032468 38 1D 01 B8 */ addi r0, r29, 0x1b8
/* 8003550C 0003246C 7C 7E 01 2E */ stwx r3, r30, r0
/* 80035510 00032470 7F E3 FB 78 */ mr r3, r31
/* 80035514 00032474 48 30 97 71 */ bl ReadLong__12CInputStreamFv
/* 80035518 00032478 38 1D 01 C0 */ addi r0, r29, 0x1c0
/* 8003551C 0003247C 7C 7E 01 2E */ stwx r3, r30, r0
/* 80035520 00032480 7F E3 FB 78 */ mr r3, r31
/* 80035524 00032484 48 30 97 61 */ bl ReadLong__12CInputStreamFv
/* 80035528 00032488 38 1D 01 C8 */ addi r0, r29, 0x1c8
/* 8003552C 0003248C 7C 7E 01 2E */ stwx r3, r30, r0
/* 80035530 00032490 7F E3 FB 78 */ mr r3, r31
/* 80035534 00032494 48 30 97 51 */ bl ReadLong__12CInputStreamFv
/* 80035538 00032498 3B 9C 00 01 */ addi r28, r28, 1
/* 8003553C 0003249C 38 1D 01 D0 */ addi r0, r29, 0x1d0
/* 80035540 000324A0 2C 1C 00 02 */ cmpwi r28, 2
/* 80035544 000324A4 7C 7E 01 2E */ stwx r3, r30, r0
/* 80035548 000324A8 3B BD 00 04 */ addi r29, r29, 4
/* 8003554C 000324AC 41 80 FF 94 */ blt lbl_800354E0
/* 80035550 000324B0 7F E3 FB 78 */ mr r3, r31
/* 80035554 000324B4 48 30 96 D5 */ bl ReadFloat__12CInputStreamFv
/* 80035558 000324B8 D0 3E 01 D8 */ stfs f1, 0x1d8(r30)
/* 8003555C 000324BC 7F E3 FB 78 */ mr r3, r31
/* 80035560 000324C0 48 30 96 C9 */ bl ReadFloat__12CInputStreamFv
/* 80035564 000324C4 D0 3E 01 DC */ stfs f1, 0x1dc(r30)
/* 80035568 000324C8 7F E3 FB 78 */ mr r3, r31
/* 8003556C 000324CC 48 30 96 BD */ bl ReadFloat__12CInputStreamFv
/* 80035570 000324D0 D0 3E 01 E0 */ stfs f1, 0x1e0(r30)
/* 80035574 000324D4 7F E3 FB 78 */ mr r3, r31
/* 80035578 000324D8 48 30 96 B1 */ bl ReadFloat__12CInputStreamFv
/* 8003557C 000324DC D0 3E 01 E4 */ stfs f1, 0x1e4(r30)
/* 80035580 000324E0 7F E3 FB 78 */ mr r3, r31
/* 80035584 000324E4 48 30 96 A5 */ bl ReadFloat__12CInputStreamFv
/* 80035588 000324E8 D0 3E 01 E8 */ stfs f1, 0x1e8(r30)
/* 8003558C 000324EC 7F E3 FB 78 */ mr r3, r31
/* 80035590 000324F0 48 30 96 99 */ bl ReadFloat__12CInputStreamFv
/* 80035594 000324F4 D0 3E 01 EC */ stfs f1, 0x1ec(r30)
/* 80035598 000324F8 7F E3 FB 78 */ mr r3, r31
/* 8003559C 000324FC 48 30 96 8D */ bl ReadFloat__12CInputStreamFv
/* 800355A0 00032500 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2)
/* 800355A4 00032504 7F E3 FB 78 */ mr r3, r31
/* 800355A8 00032508 EC 00 00 72 */ fmuls f0, f0, f1
/* 800355AC 0003250C D0 1E 01 F0 */ stfs f0, 0x1f0(r30)
/* 800355B0 00032510 48 30 96 79 */ bl ReadFloat__12CInputStreamFv
/* 800355B4 00032514 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2)
/* 800355B8 00032518 7F E3 FB 78 */ mr r3, r31
/* 800355BC 0003251C EC 00 00 72 */ fmuls f0, f0, f1
/* 800355C0 00032520 D0 1E 01 F4 */ stfs f0, 0x1f4(r30)
/* 800355C4 00032524 48 30 96 65 */ bl ReadFloat__12CInputStreamFv
/* 800355C8 00032528 D0 3E 01 F8 */ stfs f1, 0x1f8(r30)
/* 800355CC 0003252C 7F E3 FB 78 */ mr r3, r31
/* 800355D0 00032530 48 30 96 59 */ bl ReadFloat__12CInputStreamFv
/* 800355D4 00032534 D0 3E 01 FC */ stfs f1, 0x1fc(r30)
/* 800355D8 00032538 7F E3 FB 78 */ mr r3, r31
/* 800355DC 0003253C 48 30 97 01 */ bl ReadBool__12CInputStreamFv
/* 800355E0 00032540 88 1E 02 00 */ lbz r0, 0x200(r30)
/* 800355E4 00032544 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18
/* 800355E8 00032548 7F E3 FB 78 */ mr r3, r31
/* 800355EC 0003254C 98 1E 02 00 */ stb r0, 0x200(r30)
/* 800355F0 00032550 48 30 96 ED */ bl ReadBool__12CInputStreamFv
/* 800355F4 00032554 88 1E 02 00 */ lbz r0, 0x200(r30)
/* 800355F8 00032558 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19
/* 800355FC 0003255C 7F E3 FB 78 */ mr r3, r31
/* 80035600 00032560 98 1E 02 00 */ stb r0, 0x200(r30)
/* 80035604 00032564 48 30 96 25 */ bl ReadFloat__12CInputStreamFv
/* 80035608 00032568 D0 3E 02 04 */ stfs f1, 0x204(r30)
/* 8003560C 0003256C 7F E3 FB 78 */ mr r3, r31
/* 80035610 00032570 48 30 96 19 */ bl ReadFloat__12CInputStreamFv
/* 80035614 00032574 D0 3E 02 08 */ stfs f1, 0x208(r30)
/* 80035618 00032578 7F E3 FB 78 */ mr r3, r31
/* 8003561C 0003257C 48 30 96 0D */ bl ReadFloat__12CInputStreamFv
/* 80035620 00032580 D0 3E 02 0C */ stfs f1, 0x20c(r30)
/* 80035624 00032584 7F E3 FB 78 */ mr r3, r31
/* 80035628 00032588 48 30 96 01 */ bl ReadFloat__12CInputStreamFv
/* 8003562C 0003258C D0 3E 02 10 */ stfs f1, 0x210(r30)
/* 80035630 00032590 7F E3 FB 78 */ mr r3, r31
/* 80035634 00032594 48 30 95 F5 */ bl ReadFloat__12CInputStreamFv
/* 80035638 00032598 D0 3E 02 14 */ stfs f1, 0x214(r30)
/* 8003563C 0003259C 7F E3 FB 78 */ mr r3, r31
/* 80035640 000325A0 48 30 95 E9 */ bl ReadFloat__12CInputStreamFv
/* 80035644 000325A4 D0 3E 02 18 */ stfs f1, 0x218(r30)
/* 80035648 000325A8 7F E3 FB 78 */ mr r3, r31
/* 8003564C 000325AC 48 30 96 91 */ bl ReadBool__12CInputStreamFv
/* 80035650 000325B0 88 1E 02 1C */ lbz r0, 0x21c(r30)
/* 80035654 000325B4 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18
/* 80035658 000325B8 7F E3 FB 78 */ mr r3, r31
/* 8003565C 000325BC 98 1E 02 1C */ stb r0, 0x21c(r30)
/* 80035660 000325C0 48 30 96 7D */ bl ReadBool__12CInputStreamFv
/* 80035664 000325C4 88 1E 02 1C */ lbz r0, 0x21c(r30)
/* 80035668 000325C8 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19
/* 8003566C 000325CC 7F E3 FB 78 */ mr r3, r31
/* 80035670 000325D0 98 1E 02 1C */ stb r0, 0x21c(r30)
/* 80035674 000325D4 48 30 96 69 */ bl ReadBool__12CInputStreamFv
/* 80035678 000325D8 88 1E 02 1C */ lbz r0, 0x21c(r30)
/* 8003567C 000325DC 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a
/* 80035680 000325E0 7F E3 FB 78 */ mr r3, r31
/* 80035684 000325E4 98 1E 02 1C */ stb r0, 0x21c(r30)
/* 80035688 000325E8 48 30 95 A1 */ bl ReadFloat__12CInputStreamFv
/* 8003568C 000325EC D0 3E 02 20 */ stfs f1, 0x220(r30)
/* 80035690 000325F0 7F E3 FB 78 */ mr r3, r31
/* 80035694 000325F4 48 30 95 95 */ bl ReadFloat__12CInputStreamFv
/* 80035698 000325F8 D0 3E 02 24 */ stfs f1, 0x224(r30)
/* 8003569C 000325FC 7F E3 FB 78 */ mr r3, r31
/* 800356A0 00032600 48 30 95 89 */ bl ReadFloat__12CInputStreamFv
/* 800356A4 00032604 D0 3E 02 A0 */ stfs f1, 0x2a0(r30)
/* 800356A8 00032608 7F E3 FB 78 */ mr r3, r31
/* 800356AC 0003260C 48 30 95 7D */ bl ReadFloat__12CInputStreamFv
/* 800356B0 00032610 D0 3E 02 A4 */ stfs f1, 0x2a4(r30)
/* 800356B4 00032614 7F E3 FB 78 */ mr r3, r31
/* 800356B8 00032618 48 30 95 71 */ bl ReadFloat__12CInputStreamFv
/* 800356BC 0003261C D0 3E 02 A8 */ stfs f1, 0x2a8(r30)
/* 800356C0 00032620 7F E3 FB 78 */ mr r3, r31
/* 800356C4 00032624 48 30 95 65 */ bl ReadFloat__12CInputStreamFv
/* 800356C8 00032628 D0 3E 02 AC */ stfs f1, 0x2ac(r30)
/* 800356CC 0003262C 7F E3 FB 78 */ mr r3, r31
/* 800356D0 00032630 48 30 95 59 */ bl ReadFloat__12CInputStreamFv
/* 800356D4 00032634 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2)
/* 800356D8 00032638 7F E3 FB 78 */ mr r3, r31
/* 800356DC 0003263C EC 00 00 72 */ fmuls f0, f0, f1
/* 800356E0 00032640 D0 1E 02 B0 */ stfs f0, 0x2b0(r30)
/* 800356E4 00032644 48 30 95 45 */ bl ReadFloat__12CInputStreamFv
/* 800356E8 00032648 D0 3E 02 B4 */ stfs f1, 0x2b4(r30)
/* 800356EC 0003264C 7F E3 FB 78 */ mr r3, r31
/* 800356F0 00032650 48 30 95 39 */ bl ReadFloat__12CInputStreamFv
/* 800356F4 00032654 D0 3E 02 B8 */ stfs f1, 0x2b8(r30)
/* 800356F8 00032658 7F E3 FB 78 */ mr r3, r31
/* 800356FC 0003265C 48 30 95 2D */ bl ReadFloat__12CInputStreamFv
/* 80035700 00032660 D0 3E 02 BC */ stfs f1, 0x2bc(r30)
/* 80035704 00032664 7F E3 FB 78 */ mr r3, r31
/* 80035708 00032668 48 30 95 21 */ bl ReadFloat__12CInputStreamFv
/* 8003570C 0003266C C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2)
/* 80035710 00032670 7F E3 FB 78 */ mr r3, r31
/* 80035714 00032674 EC 00 00 72 */ fmuls f0, f0, f1
/* 80035718 00032678 D0 1E 02 C0 */ stfs f0, 0x2c0(r30)
/* 8003571C 0003267C 48 30 95 0D */ bl ReadFloat__12CInputStreamFv
/* 80035720 00032680 D0 3E 02 C4 */ stfs f1, 0x2c4(r30)
/* 80035724 00032684 7F E3 FB 78 */ mr r3, r31
/* 80035728 00032688 48 30 95 01 */ bl ReadFloat__12CInputStreamFv
/* 8003572C 0003268C D0 3E 02 C8 */ stfs f1, 0x2c8(r30)
/* 80035730 00032690 7F E3 FB 78 */ mr r3, r31
/* 80035734 00032694 48 30 94 F5 */ bl ReadFloat__12CInputStreamFv
/* 80035738 00032698 D0 3E 02 CC */ stfs f1, 0x2cc(r30)
/* 8003573C 0003269C 7F E3 FB 78 */ mr r3, r31
/* 80035740 000326A0 48 30 95 45 */ bl ReadLong__12CInputStreamFv
/* 80035744 000326A4 90 7E 02 D0 */ stw r3, 0x2d0(r30)
/* 80035748 000326A8 7F E3 FB 78 */ mr r3, r31
/* 8003574C 000326AC 48 30 95 91 */ bl ReadBool__12CInputStreamFv
/* 80035750 000326B0 98 7E 02 D4 */ stb r3, 0x2d4(r30)
/* 80035754 000326B4 7F E3 FB 78 */ mr r3, r31
/* 80035758 000326B8 48 30 95 85 */ bl ReadBool__12CInputStreamFv
/* 8003575C 000326BC 98 7E 02 D5 */ stb r3, 0x2d5(r30)
/* 80035760 000326C0 7F E3 FB 78 */ mr r3, r31
/* 80035764 000326C4 48 30 94 C5 */ bl ReadFloat__12CInputStreamFv
/* 80035768 000326C8 D0 3E 02 D8 */ stfs f1, 0x2d8(r30)
/* 8003576C 000326CC 7F E3 FB 78 */ mr r3, r31
/* 80035770 000326D0 48 30 94 B9 */ bl ReadFloat__12CInputStreamFv
/* 80035774 000326D4 D0 3E 02 DC */ stfs f1, 0x2dc(r30)
/* 80035778 000326D8 7F E3 FB 78 */ mr r3, r31
/* 8003577C 000326DC 48 30 94 AD */ bl ReadFloat__12CInputStreamFv
/* 80035780 000326E0 D0 3E 02 E0 */ stfs f1, 0x2e0(r30)
/* 80035784 000326E4 7F E3 FB 78 */ mr r3, r31
/* 80035788 000326E8 48 30 94 A1 */ bl ReadFloat__12CInputStreamFv
/* 8003578C 000326EC D0 3E 02 E4 */ stfs f1, 0x2e4(r30)
/* 80035790 000326F0 7F E3 FB 78 */ mr r3, r31
/* 80035794 000326F4 48 30 94 95 */ bl ReadFloat__12CInputStreamFv
/* 80035798 000326F8 D0 3E 02 6C */ stfs f1, 0x26c(r30)
/* 8003579C 000326FC 7F E3 FB 78 */ mr r3, r31
/* 800357A0 00032700 48 30 94 89 */ bl ReadFloat__12CInputStreamFv
/* 800357A4 00032704 D0 3E 02 70 */ stfs f1, 0x270(r30)
/* 800357A8 00032708 7F E3 FB 78 */ mr r3, r31
/* 800357AC 0003270C 48 30 94 7D */ bl ReadFloat__12CInputStreamFv
/* 800357B0 00032710 D0 3E 02 74 */ stfs f1, 0x274(r30)
/* 800357B4 00032714 7F E3 FB 78 */ mr r3, r31
/* 800357B8 00032718 48 30 94 71 */ bl ReadFloat__12CInputStreamFv
/* 800357BC 0003271C D0 3E 02 78 */ stfs f1, 0x278(r30)
/* 800357C0 00032720 7F E3 FB 78 */ mr r3, r31
/* 800357C4 00032724 48 30 94 65 */ bl ReadFloat__12CInputStreamFv
/* 800357C8 00032728 D0 3E 02 7C */ stfs f1, 0x27c(r30)
/* 800357CC 0003272C 7F E3 FB 78 */ mr r3, r31
/* 800357D0 00032730 48 30 94 59 */ bl ReadFloat__12CInputStreamFv
/* 800357D4 00032734 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2)
/* 800357D8 00032738 7F E3 FB 78 */ mr r3, r31
/* 800357DC 0003273C EC 00 00 72 */ fmuls f0, f0, f1
/* 800357E0 00032740 D0 1E 02 80 */ stfs f0, 0x280(r30)
/* 800357E4 00032744 48 30 94 45 */ bl ReadFloat__12CInputStreamFv
/* 800357E8 00032748 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2)
/* 800357EC 0003274C 7F E3 FB 78 */ mr r3, r31
/* 800357F0 00032750 EC 00 00 72 */ fmuls f0, f0, f1
/* 800357F4 00032754 D0 1E 02 84 */ stfs f0, 0x284(r30)
/* 800357F8 00032758 48 30 94 31 */ bl ReadFloat__12CInputStreamFv
/* 800357FC 0003275C D0 3E 02 88 */ stfs f1, 0x288(r30)
/* 80035800 00032760 7F E3 FB 78 */ mr r3, r31
/* 80035804 00032764 48 30 94 25 */ bl ReadFloat__12CInputStreamFv
/* 80035808 00032768 D0 3E 02 8C */ stfs f1, 0x28c(r30)
/* 8003580C 0003276C 7F E3 FB 78 */ mr r3, r31
/* 80035810 00032770 48 30 94 19 */ bl ReadFloat__12CInputStreamFv
/* 80035814 00032774 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2)
/* 80035818 00032778 7F E3 FB 78 */ mr r3, r31
/* 8003581C 0003277C EC 00 00 72 */ fmuls f0, f0, f1
/* 80035820 00032780 D0 1E 02 90 */ stfs f0, 0x290(r30)
/* 80035824 00032784 48 30 94 05 */ bl ReadFloat__12CInputStreamFv
/* 80035828 00032788 D0 3E 02 94 */ stfs f1, 0x294(r30)
/* 8003582C 0003278C 7F E3 FB 78 */ mr r3, r31
/* 80035830 00032790 48 30 93 F9 */ bl ReadFloat__12CInputStreamFv
/* 80035834 00032794 D0 3E 02 98 */ stfs f1, 0x298(r30)
/* 80035838 00032798 7F E3 FB 78 */ mr r3, r31
/* 8003583C 0003279C 48 30 93 ED */ bl ReadFloat__12CInputStreamFv
/* 80035840 000327A0 C0 02 83 FC */ lfs f0, lbl_805AA11C@sda21(r2)
/* 80035844 000327A4 7F E3 FB 78 */ mr r3, r31
/* 80035848 000327A8 EC 00 00 72 */ fmuls f0, f0, f1
/* 8003584C 000327AC D0 1E 02 9C */ stfs f0, 0x29c(r30)
/* 80035850 000327B0 48 30 93 D9 */ bl ReadFloat__12CInputStreamFv
/* 80035854 000327B4 D0 3E 02 E8 */ stfs f1, 0x2e8(r30)
/* 80035858 000327B8 7F E3 FB 78 */ mr r3, r31
/* 8003585C 000327BC 48 30 93 CD */ bl ReadFloat__12CInputStreamFv
/* 80035860 000327C0 D0 3E 02 EC */ stfs f1, 0x2ec(r30)
/* 80035864 000327C4 7F E3 FB 78 */ mr r3, r31
/* 80035868 000327C8 48 30 93 C1 */ bl ReadFloat__12CInputStreamFv
/* 8003586C 000327CC D0 3E 02 F0 */ stfs f1, 0x2f0(r30)
/* 80035870 000327D0 7F E3 FB 78 */ mr r3, r31
/* 80035874 000327D4 48 30 94 69 */ bl ReadBool__12CInputStreamFv
/* 80035878 000327D8 98 7E 02 F4 */ stb r3, 0x2f4(r30)
/* 8003587C 000327DC 7F E3 FB 78 */ mr r3, r31
/* 80035880 000327E0 48 30 93 A9 */ bl ReadFloat__12CInputStreamFv
/* 80035884 000327E4 D0 3E 02 F8 */ stfs f1, 0x2f8(r30)
/* 80035888 000327E8 7F E3 FB 78 */ mr r3, r31
/* 8003588C 000327EC 48 30 93 F9 */ bl ReadLong__12CInputStreamFv
/* 80035890 000327F0 90 7E 02 FC */ stw r3, 0x2fc(r30)
/* 80035894 000327F4 7F E3 FB 78 */ mr r3, r31
/* 80035898 000327F8 48 30 93 91 */ bl ReadFloat__12CInputStreamFv
/* 8003589C 000327FC D0 3E 03 00 */ stfs f1, 0x300(r30)
/* 800358A0 00032800 7F E3 FB 78 */ mr r3, r31
/* 800358A4 00032804 48 30 93 85 */ bl ReadFloat__12CInputStreamFv
/* 800358A8 00032808 D0 3E 03 04 */ stfs f1, 0x304(r30)
/* 800358AC 0003280C 7F E3 FB 78 */ mr r3, r31
/* 800358B0 00032810 48 30 93 79 */ bl ReadFloat__12CInputStreamFv
/* 800358B4 00032814 D0 3E 03 08 */ stfs f1, 0x308(r30)
/* 800358B8 00032818 7F C3 F3 78 */ mr r3, r30
/* 800358BC 0003281C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 800358C0 00032820 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 800358C4 00032824 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 800358C8 00032828 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 800358CC 0003282C 83 81 00 10 */ lwz r28, 0x10(r1)
/* 800358D0 00032830 7C 08 03 A6 */ mtlr r0
/* 800358D4 00032834 38 21 00 20 */ addi r1, r1, 0x20
/* 800358D8 00032838 4E 80 00 20 */ blr
.global __dt__12CTweakPlayerFv
__dt__12CTweakPlayerFv:
/* 800358DC 0003283C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800358E0 00032840 7C 08 02 A6 */ mflr r0
/* 800358E4 00032844 90 01 00 14 */ stw r0, 0x14(r1)
/* 800358E8 00032848 93 E1 00 0C */ stw r31, 0xc(r1)
/* 800358EC 0003284C 7C 7F 1B 79 */ or. r31, r3, r3
/* 800358F0 00032850 41 82 00 30 */ beq lbl_80035920
/* 800358F4 00032854 3C 60 80 3E */ lis r3, lbl_803D9CB8@ha
/* 800358F8 00032858 38 03 9C B8 */ addi r0, r3, lbl_803D9CB8@l
/* 800358FC 0003285C 90 1F 00 00 */ stw r0, 0(r31)
/* 80035900 00032860 41 82 00 10 */ beq lbl_80035910
/* 80035904 00032864 3C 60 80 3E */ lis r3, lbl_803D9CC4@ha
/* 80035908 00032868 38 03 9C C4 */ addi r0, r3, lbl_803D9CC4@l
/* 8003590C 0003286C 90 1F 00 00 */ stw r0, 0(r31)
lbl_80035910:
/* 80035910 00032870 7C 80 07 35 */ extsh. r0, r4
/* 80035914 00032874 40 81 00 0C */ ble lbl_80035920
/* 80035918 00032878 7F E3 FB 78 */ mr r3, r31
/* 8003591C 0003287C 48 00 00 1D */ bl "__dl__26TOneStatic<12CTweakPlayer>FPv"
lbl_80035920:
/* 80035920 00032880 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80035924 00032884 7F E3 FB 78 */ mr r3, r31
/* 80035928 00032888 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8003592C 0003288C 7C 08 03 A6 */ mtlr r0
/* 80035930 00032890 38 21 00 10 */ addi r1, r1, 0x10
/* 80035934 00032894 4E 80 00 20 */ blr
.global "__dl__26TOneStatic<12CTweakPlayer>FPv"
"__dl__26TOneStatic<12CTweakPlayer>FPv":
/* 80035938 00032898 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8003593C 0003289C 7C 08 02 A6 */ mflr r0
/* 80035940 000328A0 90 01 00 14 */ stw r0, 0x14(r1)
/* 80035944 000328A4 48 00 00 21 */ bl "ReferenceCount__26TOneStatic<12CTweakPlayer>Fv"
/* 80035948 000328A8 80 83 00 00 */ lwz r4, 0(r3)
/* 8003594C 000328AC 38 04 FF FF */ addi r0, r4, -1
/* 80035950 000328B0 90 03 00 00 */ stw r0, 0(r3)
/* 80035954 000328B4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80035958 000328B8 7C 08 03 A6 */ mtlr r0
/* 8003595C 000328BC 38 21 00 10 */ addi r1, r1, 0x10
/* 80035960 000328C0 4E 80 00 20 */ blr
.global "ReferenceCount__26TOneStatic<12CTweakPlayer>Fv"
"ReferenceCount__26TOneStatic<12CTweakPlayer>Fv":
/* 80035964 000328C4 88 0D A1 14 */ lbz r0, lbl_805A8CD4@sda21(r13)
/* 80035968 000328C8 7C 00 07 75 */ extsb. r0, r0
/* 8003596C 000328CC 40 82 00 14 */ bne lbl_80035980
/* 80035970 000328D0 38 60 00 00 */ li r3, 0
/* 80035974 000328D4 38 00 00 01 */ li r0, 1
/* 80035978 000328D8 90 6D A1 10 */ stw r3, lbl_805A8CD0@sda21(r13)
/* 8003597C 000328DC 98 0D A1 14 */ stb r0, lbl_805A8CD4@sda21(r13)
lbl_80035980:
/* 80035980 000328E0 38 6D A1 10 */ addi r3, r13, lbl_805A8CD0@sda21
/* 80035984 000328E4 4E 80 00 20 */ blr

1774
asm/Kyoto_CWD/CTweaks.s Normal file

File diff suppressed because it is too large Load Diff

137602
asm/Kyoto_CWD/CWeaponMgr.s Normal file

File diff suppressed because it is too large Load Diff

View File

@ -2,9 +2,14 @@
.section .bss
.global lbl_803F7560
lbl_803F7560:
.skip 0x60168
.global sGraphicsFifo
sGraphicsFifo:
.skip 0x60000
.global sMainSpace
sMainSpace:
.skip 0x168
.global lbl_804576C8
lbl_804576C8:
.skip 0xD0
@ -5896,12 +5901,12 @@ __ct__18CGameGlobalObjectsFR10COsContextR10CMemorySys:
/* 80007AF0 00004A50 38 9F 00 04 */ addi r4, r31, 4
/* 80007AF4 00004A54 48 33 8C E1 */ bl __ct__11CSimplePoolFR8IFactory
/* 80007AF8 00004A58 38 7F 00 EC */ addi r3, r31, 0xec
/* 80007AFC 00004A5C 48 02 CE F1 */ bl __ct__24CCharacterFactoryBuilderFv_0
/* 80007AFC 00004A5C 48 02 CE F1 */ bl __ct__24CCharacterFactoryBuilderFv
/* 80007B00 00004A60 38 7F 01 10 */ addi r3, r31, 0x110
/* 80007B04 00004A64 48 09 B8 29 */ bl __ct__10CAiFuncMapFv
/* 80007B08 00004A68 3C 60 80 3F */ lis r3, lbl_803F7560@ha
/* 80007B08 00004A68 3C 60 80 3F */ lis r3, sGraphicsFifo@ha
/* 80007B0C 00004A6C 7F A4 EB 78 */ mr r4, r29
/* 80007B10 00004A70 38 E3 75 60 */ addi r7, r3, lbl_803F7560@l
/* 80007B10 00004A70 38 E3 75 60 */ addi r7, r3, sGraphicsFifo@l
/* 80007B14 00004A74 7F C5 F3 78 */ mr r5, r30
/* 80007B18 00004A78 38 7F 01 30 */ addi r3, r31, 0x130
/* 80007B1C 00004A7C 3C C0 00 06 */ lis r6, 6
@ -6634,8 +6639,8 @@ main:
/* 80008524 00005484 38 60 00 01 */ li r3, 1
/* 80008528 00005488 48 36 C8 A5 */ bl DVDSetAutoFatalMessaging
/* 8000852C 0000548C 48 2C E3 D1 */ bl SetErrorHandlers
/* 80008530 00005490 3C 60 80 45 */ lis r3, 0x8045
/* 80008534 00005494 37 E3 75 60 */ addic. r31, r3, 0x7560
/* 80008530 00005490 3C 60 80 45 */ lis r3, sMainSpace@ha
/* 80008534 00005494 37 E3 75 60 */ addic. r31, r3, sMainSpace@l
/* 80008538 00005498 41 82 00 10 */ beq lbl_80008548
/* 8000853C 0000549C 7F E3 FB 78 */ mr r3, r31
/* 80008540 000054A0 4B FF FC C5 */ bl __ct__5CMainFv

View File

@ -2,27 +2,6 @@
.section .bss, "wa" # 0x803F7560 - 0x805A6BBF
.global lbl_80457908
lbl_80457908:
.skip 0xC0
.global lbl_804579C8
lbl_804579C8:
.skip 0x20
.global lbl_804579E8
lbl_804579E8:
.skip 0x10
.global lbl_804579F8
lbl_804579F8:
.skip 0x18
.global lbl_80457A10
lbl_80457A10:
.skip 0x838
.global lbl_80458248
lbl_80458248:
.skip 0x108
.global lbl_80458350
lbl_80458350:
.skip 0x1E58
.global lbl_8045A1A8
lbl_8045A1A8:
.skip 0xF98

View File

@ -2,51 +2,6 @@
.section .rodata, "a" # 0x803CB3A0 - 0x803D8D60
.global lbl_803CC420
lbl_803CC420:
.incbin "baserom.dol", 0x3C9420, 0x18
.global lbl_803CC438
lbl_803CC438:
.incbin "baserom.dol", 0x3C9438, 0x30
.global lbl_803CC468
lbl_803CC468:
.incbin "baserom.dol", 0x3C9468, 0x30
.global lbl_803CC498
lbl_803CC498:
.incbin "baserom.dol", 0x3C9498, 0x30
.global lbl_803CC4C8
lbl_803CC4C8:
.incbin "baserom.dol", 0x3C94C8, 0x30
.global lbl_803CC4F8
lbl_803CC4F8:
.incbin "baserom.dol", 0x3C94F8, 0x48
.global lbl_803CC540
lbl_803CC540:
.incbin "baserom.dol", 0x3C9540, 0x84
.global lbl_803CC5C4
lbl_803CC5C4:
.incbin "baserom.dol", 0x3C95C4, 0xC
.global lbl_803CC5D0
lbl_803CC5D0:
.incbin "baserom.dol", 0x3C95D0, 0xC
.global lbl_803CC5DC
lbl_803CC5DC:
.incbin "baserom.dol", 0x3C95DC, 0xC
.global lbl_803CC5E8
lbl_803CC5E8:
.incbin "baserom.dol", 0x3C95E8, 0xC
.global lbl_803CC5F4
lbl_803CC5F4:
.incbin "baserom.dol", 0x3C95F4, 0x28
.global lbl_803CC61C
lbl_803CC61C:
.incbin "baserom.dol", 0x3C961C, 0x28
.global lbl_803CC644
lbl_803CC644:
.incbin "baserom.dol", 0x3C9644, 0x45C
.global lbl_803CCAA0
lbl_803CCAA0:
.incbin "baserom.dol", 0x3C9AA0, 0x8
.global lbl_803CCAA8
lbl_803CCAA8:
.incbin "baserom.dol", 0x3C9AA8, 0x10

View File

@ -2,63 +2,6 @@
.section .sbss, "wa" # 0x805A8C20 - 0x805A9D1F
# CPlayer
.global lbl_805A8C78
lbl_805A8C78:
.skip 0x4
.global lbl_805A8C7C
lbl_805A8C7C:
.skip 0x4
.global lbl_805A8C80
lbl_805A8C80:
.skip 0x1
.global lbl_805A8C81
lbl_805A8C81:
.skip 0x3
.global lbl_805A8C84
lbl_805A8C84:
.skip 0x4
.global lbl_805A8C88
lbl_805A8C88:
.skip 0x4
# TOneStatic<CPlayerGun>
.global lbl_805A8C8C
lbl_805A8C8C:
.skip 0x4
.global lbl_805A8C90
lbl_805A8C90:
.skip 0x4
# TOneStatic<CPlayerCameraBob>
.global lbl_805A8C94
lbl_805A8C94:
.skip 0x4
.global lbl_805A8C98
lbl_805A8C98:
.skip 0x4
# TOneStatic<CMorphBall>
.global lbl_805A8C9C
lbl_805A8C9C:
.skip 0x4
.global lbl_805A8CA0
lbl_805A8CA0:
.skip 0x4
# TOneStatic<CPlayer>
.global lbl_805A8CA4
lbl_805A8CA4:
.skip 0x4
.global lbl_805A8CA8
lbl_805A8CA8:
.skip 0x8
# CFrontEndUI
.global lbl_805A8CB0
lbl_805A8CB0:
.skip 0x8
# CMFGame
.global lbl_805A8CB8
lbl_805A8CB8:

View File

@ -2,360 +2,6 @@
.section .sdata, "wa" # 0x805A6BC0 - 0x805A8C1C
.global lbl_805A6BF8
lbl_805A6BF8:
# ROM: 0x3F4598
.4byte 0
.global lbl_805A6BFC
lbl_805A6BFC:
# ROM: 0x3F459C
.4byte 0x3F800000
.global lbl_805A6C00
lbl_805A6C00:
# ROM: 0x3F45A0
.4byte 0
.global lbl_805A6C04
lbl_805A6C04:
# ROM: 0x3F45A4
.4byte 0x3F800000
.global lbl_805A6C08
lbl_805A6C08:
# ROM: 0x3F45A8
.4byte 0
.global lbl_805A6C0C
lbl_805A6C0C:
# ROM: 0x3F45AC
.4byte 0x3F800000
.global lbl_805A6C10
lbl_805A6C10:
# ROM: 0x3F45B0
.4byte 0
.global lbl_805A6C14
lbl_805A6C14:
# ROM: 0x3F45B4
.4byte 0x3F800000
.global lbl_805A6C18
lbl_805A6C18:
# ROM: 0x3F45B8
.4byte 0
.global lbl_805A6C1C
lbl_805A6C1C:
# ROM: 0x3F45BC
.4byte 0x3F800000
.global lbl_805A6C20
lbl_805A6C20:
# ROM: 0x3F45C0
.4byte 0
.global lbl_805A6C24
lbl_805A6C24:
# ROM: 0x3F45C4
.4byte 0x3F800000
.global lbl_805A6C28
lbl_805A6C28:
# ROM: 0x3F45C8
.4byte 0
.global lbl_805A6C2C
lbl_805A6C2C:
# ROM: 0x3F45CC
.4byte 0x3F800000
.global lbl_805A6C30
lbl_805A6C30:
# ROM: 0x3F45D0
.4byte 0
.global lbl_805A6C34
lbl_805A6C34:
# ROM: 0x3F45D4
.4byte 0x3F800000
.global lbl_805A6C38
lbl_805A6C38:
# ROM: 0x3F45D8
.4byte 0
.global lbl_805A6C3C
lbl_805A6C3C:
# ROM: 0x3F45DC
.4byte 0x3F800000
.global lbl_805A6C40
lbl_805A6C40:
# ROM: 0x3F45E0
.4byte 0
.global lbl_805A6C44
lbl_805A6C44:
# ROM: 0x3F45E4
.4byte 0x3F800000
.global lbl_805A6C48
lbl_805A6C48:
# ROM: 0x3F45E8
.4byte 0x00000013
.global lbl_805A6C4C
lbl_805A6C4C:
# ROM: 0x3F45EC
.4byte 0x00000011
.global lbl_805A6C50
lbl_805A6C50:
# ROM: 0x3F45F0
.4byte 0x00000035
.global lbl_805A6C54
lbl_805A6C54:
# ROM: 0x3F45F4
.4byte 0x0000000D
.global lbl_805A6C58
lbl_805A6C58:
# ROM: 0x3F45F8
.4byte 0x00000032
.global lbl_805A6C5C
lbl_805A6C5C:
# ROM: 0x3F45FC
.4byte 0x00000005
.global lbl_805A6C60
lbl_805A6C60:
# ROM: 0x3F4600
.4byte 0x00000034
.global lbl_805A6C64
lbl_805A6C64:
# ROM: 0x3F4604
.4byte 0x00000009
.global lbl_805A6C68
lbl_805A6C68:
# ROM: 0x3F4608
.4byte 0x00000033
.global lbl_805A6C6C
lbl_805A6C6C:
# ROM: 0x3F460C
.4byte 0x41A00000
.global lbl_805A6C70
lbl_805A6C70:
# ROM: 0x3F4610
.4byte 0x42A00000
.global lbl_805A6C74
lbl_805A6C74:
# ROM: 0x3F4614
.4byte 0x42A00000
.global lbl_805A6C78
lbl_805A6C78:
# ROM: 0x3F4618
.4byte 0x43870000
.global lbl_805A6C7C
lbl_805A6C7C:
# ROM: 0x3F461C
.4byte 0
.global lbl_805A6C80
lbl_805A6C80:
# ROM: 0x3F4620
.4byte 0
.global lbl_805A6C84
lbl_805A6C84:
# ROM: 0x3F4624
.4byte 0x3F800000
.global lbl_805A6C88
lbl_805A6C88:
# ROM: 0x3F4628
.4byte 0x00000013
.global lbl_805A6C8C
lbl_805A6C8C:
# ROM: 0x3F462C
.4byte 0x3F800000
.global lbl_805A6C90
lbl_805A6C90:
# ROM: 0x3F4630
.4byte 0x00000013
.global lbl_805A6C94
lbl_805A6C94:
# ROM: 0x3F4634
.4byte 0x3F800000
.global lbl_805A6C98
lbl_805A6C98:
# ROM: 0x3F4638
.4byte 0
.global lbl_805A6C9C
lbl_805A6C9C:
# ROM: 0x3F463C
.4byte 0x3F800000
.global lbl_805A6CA0
lbl_805A6CA0:
# ROM: 0x3F4640
.4byte 0
.global lbl_805A6CA4
lbl_805A6CA4:
# ROM: 0x3F4644
.4byte 0x3F800000
.global lbl_805A6CA8
lbl_805A6CA8:
# ROM: 0x3F4648
.4byte 0
.global lbl_805A6CAC
lbl_805A6CAC:
# ROM: 0x3F464C
.4byte 0x3F800000
.global lbl_805A6CB0
lbl_805A6CB0:
# ROM: 0x3F4650
.4byte 0
.global lbl_805A6CB4
lbl_805A6CB4:
# ROM: 0x3F4654
.4byte 0x3F800000
.global lbl_805A6CB8
lbl_805A6CB8:
# ROM: 0x3F4658
.4byte 0x00000013
.global lbl_805A6CBC
lbl_805A6CBC:
# ROM: 0x3F465C
.4byte 0x3F800000
.global lbl_805A6CC0
lbl_805A6CC0:
# ROM: 0x3F4660
.4byte 0x00000007
.global lbl_805A6CC4
lbl_805A6CC4:
# ROM: 0x3F4664
.4byte 0x00000020
.global lbl_805A6CC8
lbl_805A6CC8:
# ROM: 0x3F4668
.4byte 0x00000013
.global lbl_805A6CCC
lbl_805A6CCC:
# ROM: 0x3F466C
.4byte 0
.global lbl_805A6CD0
lbl_805A6CD0:
# ROM: 0x3F4670
.4byte 0x3F800000
.global lbl_805A6CD4
lbl_805A6CD4:
# ROM: 0x3F4674
.4byte 0
.global lbl_805A6CD8
lbl_805A6CD8:
# ROM: 0x3F4678
.4byte 0
.global lbl_805A6CDC
lbl_805A6CDC:
# ROM: 0x3F467C
.4byte 0x3F800000
.global lbl_805A6CE0
lbl_805A6CE0:
# ROM: 0x3F4680
.4byte 0
.global lbl_805A6CE4
lbl_805A6CE4:
# ROM: 0x3F4684
.4byte 0
.global lbl_805A6CE8
lbl_805A6CE8:
# ROM: 0x3F4688
.4byte 0x3F800000
.global lbl_805A6CEC
lbl_805A6CEC:
# ROM: 0x3F468C
.4byte 0
.global lbl_805A6CF0
lbl_805A6CF0:
# ROM: 0x3F4690
.4byte 0x3F800000
.global lbl_805A6CF4
lbl_805A6CF4:
# ROM: 0x3F4694
.4byte 0
.global lbl_805A6CF8
lbl_805A6CF8:
# ROM: 0x3F4698
.4byte 0x3F800000
.global lbl_805A6CFC
lbl_805A6CFC:
# ROM: 0x3F469C
.4byte 0
.global lbl_805A6D00
lbl_805A6D00:
# ROM: 0x3F46A0
.4byte 0x3F800000
.global lbl_805A6D04
lbl_805A6D04:
# ROM: 0x3F46A4
.4byte 0x0000000C
.global lbl_805A6D08
lbl_805A6D08:
# ROM: 0x3F46A8
.4byte 0x0000000B
.global lbl_805A6D0C
lbl_805A6D0C:
# ROM: 0x3F46AC
.4byte 0x0000003F
.4byte 0x003F003F
.4byte 0x003F003F
.4byte 0x003F0000
.4byte 0
.global lbl_805A6D20
lbl_805A6D20:
# ROM: 0x3F46C0

View File

@ -2,58 +2,6 @@
.section .sdata2, "a" # 0x805A9D20 - 0x805AF45C
.global lbl_805A9DD0
lbl_805A9DD0:
# ROM: 0x3F6670
.4byte 0
.global lbl_805A9DD4
lbl_805A9DD4:
# ROM: 0x3F6674
.4byte 0x3F800000
.global lbl_805A9DD8
lbl_805A9DD8:
# ROM: 0x3F6678
.4byte 0x3727C5AC
.4byte 0
.global lbl_805A9DE0
lbl_805A9DE0:
# ROM: 0x3F6680
.4byte 0x3FF00000
.4byte 0
.global lbl_805A9DE8
lbl_805A9DE8:
# ROM: 0x3F6688
.4byte 0xBF800000
.global lbl_805A9DEC
lbl_805A9DEC:
# ROM: 0x3F668C
.4byte 0x38D1B717
.global lbl_805A9DF0
lbl_805A9DF0:
# ROM: 0x3F6690
.4byte 0x40C90FDB
.global lbl_805A9DF4
lbl_805A9DF4:
# ROM: 0x3F6694
.4byte 0x3F000000
.global lbl_805A9DF8
lbl_805A9DF8:
# ROM: 0x3F6698
.4byte 0x3E800000
.global lbl_805A9DFC
lbl_805A9DFC:
# ROM: 0x3F669C
.4byte 0x3F7FF972
.global lbl_805A9E00
lbl_805A9E00:
# ROM: 0x3F66A0

189295
asm/text.s

File diff suppressed because it is too large Load Diff

View File

@ -18,7 +18,26 @@ KYOTO_CWD :=\
$(BUILD_DIR)/asm/Kyoto_CWD/CEulerAngles.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CFrontEndUI.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CInputGenerator.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CMainFlow.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CMFGameLoader.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CMFGame.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CAutoSave.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CCredits.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CPlayMovie.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CSplashScreen.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CInstruction.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CAnimData.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CCharacterFactory.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CAssetFactory.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CTweakPlayer.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CTweaks.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CTweakGame.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CGameProjectile.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CPlayerGun.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CStateManager.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CWeaponMgr.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CScriptPickup.o\
AI_FILES :=\
$(BUILD_DIR)/asm/Dolphin/ai.o