prime/asm/MetroidPrime/CSaveGameScreen.s

1813 lines
90 KiB
ArmAsm

.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global SetInGame__15CSaveGameScreenb
SetInGame__15CSaveGameScreenb:
/* 8024F16C 0024C0CC 98 83 00 93 */ stb r4, 0x93(r3)
/* 8024F170 0024C0D0 4E 80 00 20 */ blr
.global SetUIColors__15CSaveGameScreenFv
SetUIColors__15CSaveGameScreenFv:
/* 8024F174 0024C0D4 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8024F178 0024C0D8 7C 08 02 A6 */ mflr r0
/* 8024F17C 0024C0DC 38 C0 00 A0 */ li r6, 0xa0
/* 8024F180 0024C0E0 38 80 FF FF */ li r4, -1
/* 8024F184 0024C0E4 90 01 00 14 */ stw r0, 0x14(r1)
/* 8024F188 0024C0E8 38 00 00 C8 */ li r0, 0xc8
/* 8024F18C 0024C0EC 38 A1 00 08 */ addi r5, r1, 8
/* 8024F190 0024C0F0 90 81 00 0C */ stw r4, 0xc(r1)
/* 8024F194 0024C0F4 38 81 00 0C */ addi r4, r1, 0xc
/* 8024F198 0024C0F8 98 C1 00 08 */ stb r6, 8(r1)
/* 8024F19C 0024C0FC 98 C1 00 09 */ stb r6, 9(r1)
/* 8024F1A0 0024C100 98 C1 00 0A */ stb r6, 0xa(r1)
/* 8024F1A4 0024C104 98 01 00 0B */ stb r0, 0xb(r1)
/* 8024F1A8 0024C108 80 63 00 58 */ lwz r3, 0x58(r3)
/* 8024F1AC 0024C10C 48 07 74 51 */ bl SetColors__14CGuiTableGroupCFRC6CColorRC6CColor
/* 8024F1B0 0024C110 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8024F1B4 0024C114 7C 08 03 A6 */ mtlr r0
/* 8024F1B8 0024C118 38 21 00 10 */ addi r1, r1, 0x10
/* 8024F1BC 0024C11C 4E 80 00 20 */ blr
.global DoSelectionChange__15CSaveGameScreenFP14CGuiTableGroup
DoSelectionChange__15CSaveGameScreenFP14CGuiTableGroup:
/* 8024F1C0 0024C120 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8024F1C4 0024C124 7C 08 02 A6 */ mflr r0
/* 8024F1C8 0024C128 90 01 00 24 */ stw r0, 0x24(r1)
/* 8024F1CC 0024C12C 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8024F1D0 0024C130 7C 7F 1B 78 */ mr r31, r3
/* 8024F1D4 0024C134 4B FF FF A1 */ bl SetUIColors__15CSaveGameScreenFv
/* 8024F1D8 0024C138 80 1F 00 88 */ lwz r0, 0x88(r31)
/* 8024F1DC 0024C13C 38 61 00 08 */ addi r3, r1, 8
/* 8024F1E0 0024C140 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2)
/* 8024F1E4 0024C144 38 A0 00 7F */ li r5, 0x7f
/* 8024F1E8 0024C148 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2)
/* 8024F1EC 0024C14C 54 04 04 3E */ clrlwi r4, r0, 0x10
/* 8024F1F0 0024C150 38 C0 00 40 */ li r6, 0x40
/* 8024F1F4 0024C154 38 E0 00 00 */ li r7, 0
/* 8024F1F8 0024C158 39 20 00 00 */ li r9, 0
/* 8024F1FC 0024C15C 48 09 AB 79 */ bl SfxStart__11CSfxManagerFUsssbsbi
/* 8024F200 0024C160 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8024F204 0024C164 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8024F208 0024C168 7C 08 03 A6 */ mtlr r0
/* 8024F20C 0024C16C 38 21 00 20 */ addi r1, r1, 0x20
/* 8024F210 0024C170 4E 80 00 20 */ blr
.global DoAdvance__15CSaveGameScreenFP14CGuiTableGroup
DoAdvance__15CSaveGameScreenFP14CGuiTableGroup:
/* 8024F214 0024C174 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8024F218 0024C178 7C 08 02 A6 */ mflr r0
/* 8024F21C 0024C17C 38 C0 FF FF */ li r6, -1
/* 8024F220 0024C180 90 01 00 24 */ stw r0, 0x24(r1)
/* 8024F224 0024C184 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8024F228 0024C188 7C 7F 1B 78 */ mr r31, r3
/* 8024F22C 0024C18C 80 03 00 10 */ lwz r0, 0x10(r3)
/* 8024F230 0024C190 80 83 00 58 */ lwz r4, 0x58(r3)
/* 8024F234 0024C194 28 00 00 10 */ cmplwi r0, 0x10
/* 8024F238 0024C198 80 A4 00 C4 */ lwz r5, 0xc4(r4)
/* 8024F23C 0024C19C 41 81 03 78 */ bgt lbl_8024F5B4
/* 8024F240 0024C1A0 3C 80 80 3F */ lis r4, lbl_803E8DB8@ha
/* 8024F244 0024C1A4 54 00 10 3A */ slwi r0, r0, 2
/* 8024F248 0024C1A8 38 84 8D B8 */ addi r4, r4, lbl_803E8DB8@l
/* 8024F24C 0024C1AC 7C 04 00 2E */ lwzx r0, r4, r0
/* 8024F250 0024C1B0 7C 09 03 A6 */ mtctr r0
/* 8024F254 0024C1B4 4E 80 04 20 */ bctr
/* 8024F258 0024C1B8 2C 05 00 00 */ cmpwi r5, 0
/* 8024F25C 0024C1BC 40 82 00 2C */ bne lbl_8024F288
/* 8024F260 0024C1C0 80 1F 00 00 */ lwz r0, 0(r31)
/* 8024F264 0024C1C4 2C 00 00 01 */ cmpwi r0, 1
/* 8024F268 0024C1C8 40 82 00 10 */ bne lbl_8024F278
/* 8024F26C 0024C1CC 38 00 00 02 */ li r0, 2
/* 8024F270 0024C1D0 90 1F 00 80 */ stw r0, 0x80(r31)
/* 8024F274 0024C1D4 48 00 00 0C */ b lbl_8024F280
lbl_8024F278:
/* 8024F278 0024C1D8 7F E3 FB 78 */ mr r3, r31
/* 8024F27C 0024C1DC 48 00 04 D9 */ bl ContinueWithoutSaving__15CSaveGameScreenFv
lbl_8024F280:
/* 8024F280 0024C1E0 80 DF 00 8C */ lwz r6, 0x8c(r31)
/* 8024F284 0024C1E4 48 00 03 30 */ b lbl_8024F5B4
lbl_8024F288:
/* 8024F288 0024C1E8 2C 05 00 01 */ cmpwi r5, 1
/* 8024F28C 0024C1EC 40 82 03 28 */ bne lbl_8024F5B4
/* 8024F290 0024C1F0 7F E3 FB 78 */ mr r3, r31
/* 8024F294 0024C1F4 48 00 0A F9 */ bl ResetCardDriver__15CSaveGameScreenFv
/* 8024F298 0024C1F8 80 DF 00 84 */ lwz r6, 0x84(r31)
/* 8024F29C 0024C1FC 48 00 03 18 */ b lbl_8024F5B4
/* 8024F2A0 0024C200 2C 05 00 00 */ cmpwi r5, 0
/* 8024F2A4 0024C204 40 82 00 2C */ bne lbl_8024F2D0
/* 8024F2A8 0024C208 80 1F 00 00 */ lwz r0, 0(r31)
/* 8024F2AC 0024C20C 2C 00 00 01 */ cmpwi r0, 1
/* 8024F2B0 0024C210 40 82 00 10 */ bne lbl_8024F2C0
/* 8024F2B4 0024C214 38 00 00 02 */ li r0, 2
/* 8024F2B8 0024C218 90 1F 00 80 */ stw r0, 0x80(r31)
/* 8024F2BC 0024C21C 48 00 00 0C */ b lbl_8024F2C8
lbl_8024F2C0:
/* 8024F2C0 0024C220 7F E3 FB 78 */ mr r3, r31
/* 8024F2C4 0024C224 48 00 04 91 */ bl ContinueWithoutSaving__15CSaveGameScreenFv
lbl_8024F2C8:
/* 8024F2C8 0024C228 80 DF 00 8C */ lwz r6, 0x8c(r31)
/* 8024F2CC 0024C22C 48 00 02 E8 */ b lbl_8024F5B4
lbl_8024F2D0:
/* 8024F2D0 0024C230 2C 05 00 01 */ cmpwi r5, 1
/* 8024F2D4 0024C234 40 82 00 14 */ bne lbl_8024F2E8
/* 8024F2D8 0024C238 7F E3 FB 78 */ mr r3, r31
/* 8024F2DC 0024C23C 48 00 0A B1 */ bl ResetCardDriver__15CSaveGameScreenFv
/* 8024F2E0 0024C240 80 DF 00 84 */ lwz r6, 0x84(r31)
/* 8024F2E4 0024C244 48 00 02 D0 */ b lbl_8024F5B4
lbl_8024F2E8:
/* 8024F2E8 0024C248 2C 05 00 02 */ cmpwi r5, 2
/* 8024F2EC 0024C24C 40 82 02 C8 */ bne lbl_8024F5B4
/* 8024F2F0 0024C250 38 60 00 0F */ li r3, 0xf
/* 8024F2F4 0024C254 38 00 00 01 */ li r0, 1
/* 8024F2F8 0024C258 90 7F 00 10 */ stw r3, 0x10(r31)
/* 8024F2FC 0024C25C 98 1F 00 91 */ stb r0, 0x91(r31)
/* 8024F300 0024C260 80 DF 00 84 */ lwz r6, 0x84(r31)
/* 8024F304 0024C264 48 00 02 B0 */ b lbl_8024F5B4
/* 8024F308 0024C268 2C 05 00 00 */ cmpwi r5, 0
/* 8024F30C 0024C26C 40 82 00 2C */ bne lbl_8024F338
/* 8024F310 0024C270 80 1F 00 00 */ lwz r0, 0(r31)
/* 8024F314 0024C274 2C 00 00 01 */ cmpwi r0, 1
/* 8024F318 0024C278 40 82 00 10 */ bne lbl_8024F328
/* 8024F31C 0024C27C 38 00 00 02 */ li r0, 2
/* 8024F320 0024C280 90 1F 00 80 */ stw r0, 0x80(r31)
/* 8024F324 0024C284 48 00 00 0C */ b lbl_8024F330
lbl_8024F328:
/* 8024F328 0024C288 7F E3 FB 78 */ mr r3, r31
/* 8024F32C 0024C28C 48 00 04 29 */ bl ContinueWithoutSaving__15CSaveGameScreenFv
lbl_8024F330:
/* 8024F330 0024C290 80 DF 00 8C */ lwz r6, 0x8c(r31)
/* 8024F334 0024C294 48 00 02 80 */ b lbl_8024F5B4
lbl_8024F338:
/* 8024F338 0024C298 2C 05 00 01 */ cmpwi r5, 1
/* 8024F33C 0024C29C 40 82 00 14 */ bne lbl_8024F350
/* 8024F340 0024C2A0 7F E3 FB 78 */ mr r3, r31
/* 8024F344 0024C2A4 48 00 0A 49 */ bl ResetCardDriver__15CSaveGameScreenFv
/* 8024F348 0024C2A8 80 DF 00 84 */ lwz r6, 0x84(r31)
/* 8024F34C 0024C2AC 48 00 02 68 */ b lbl_8024F5B4
lbl_8024F350:
/* 8024F350 0024C2B0 2C 05 00 02 */ cmpwi r5, 2
/* 8024F354 0024C2B4 40 82 02 60 */ bne lbl_8024F5B4
/* 8024F358 0024C2B8 80 1F 00 00 */ lwz r0, 0(r31)
/* 8024F35C 0024C2BC 2C 00 00 01 */ cmpwi r0, 1
/* 8024F360 0024C2C0 40 82 00 1C */ bne lbl_8024F37C
/* 8024F364 0024C2C4 38 60 00 0D */ li r3, 0xd
/* 8024F368 0024C2C8 38 00 00 01 */ li r0, 1
/* 8024F36C 0024C2CC 90 7F 00 10 */ stw r3, 0x10(r31)
/* 8024F370 0024C2D0 98 1F 00 91 */ stb r0, 0x91(r31)
/* 8024F374 0024C2D4 80 DF 00 84 */ lwz r6, 0x84(r31)
/* 8024F378 0024C2D8 48 00 02 3C */ b lbl_8024F5B4
lbl_8024F37C:
/* 8024F37C 0024C2DC 80 6D A0 78 */ lwz r3, gpMain@sda21(r13)
/* 8024F380 0024C2E0 38 80 00 01 */ li r4, 1
/* 8024F384 0024C2E4 88 03 01 60 */ lbz r0, 0x160(r3)
/* 8024F388 0024C2E8 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c
/* 8024F38C 0024C2EC 98 03 01 60 */ stb r0, 0x160(r3)
/* 8024F390 0024C2F0 48 00 02 24 */ b lbl_8024F5B4
/* 8024F394 0024C2F4 2C 05 00 00 */ cmpwi r5, 0
/* 8024F398 0024C2F8 40 82 00 14 */ bne lbl_8024F3AC
/* 8024F39C 0024C2FC 80 7F 00 6C */ lwz r3, 0x6c(r31)
/* 8024F3A0 0024C300 4B FF E6 A9 */ bl StartFileDeleteBad__17CMemoryCardDriverFv
/* 8024F3A4 0024C304 80 DF 00 84 */ lwz r6, 0x84(r31)
/* 8024F3A8 0024C308 48 00 02 0C */ b lbl_8024F5B4
lbl_8024F3AC:
/* 8024F3AC 0024C30C 2C 05 00 01 */ cmpwi r5, 1
/* 8024F3B0 0024C310 40 82 00 28 */ bne lbl_8024F3D8
/* 8024F3B4 0024C314 80 1F 00 00 */ lwz r0, 0(r31)
/* 8024F3B8 0024C318 2C 00 00 01 */ cmpwi r0, 1
/* 8024F3BC 0024C31C 40 82 00 10 */ bne lbl_8024F3CC
/* 8024F3C0 0024C320 38 00 00 02 */ li r0, 2
/* 8024F3C4 0024C324 90 1F 00 80 */ stw r0, 0x80(r31)
/* 8024F3C8 0024C328 48 00 00 08 */ b lbl_8024F3D0
lbl_8024F3CC:
/* 8024F3CC 0024C32C 48 00 03 89 */ bl ContinueWithoutSaving__15CSaveGameScreenFv
lbl_8024F3D0:
/* 8024F3D0 0024C330 80 DF 00 8C */ lwz r6, 0x8c(r31)
/* 8024F3D4 0024C334 48 00 01 E0 */ b lbl_8024F5B4
lbl_8024F3D8:
/* 8024F3D8 0024C338 2C 05 00 02 */ cmpwi r5, 2
/* 8024F3DC 0024C33C 40 82 01 D8 */ bne lbl_8024F5B4
/* 8024F3E0 0024C340 48 00 09 AD */ bl ResetCardDriver__15CSaveGameScreenFv
/* 8024F3E4 0024C344 80 DF 00 84 */ lwz r6, 0x84(r31)
/* 8024F3E8 0024C348 48 00 01 CC */ b lbl_8024F5B4
/* 8024F3EC 0024C34C 80 1F 00 00 */ lwz r0, 0(r31)
/* 8024F3F0 0024C350 2C 00 00 01 */ cmpwi r0, 1
/* 8024F3F4 0024C354 40 82 00 50 */ bne lbl_8024F444
/* 8024F3F8 0024C358 2C 05 00 00 */ cmpwi r5, 0
/* 8024F3FC 0024C35C 40 82 00 14 */ bne lbl_8024F410
/* 8024F400 0024C360 38 00 00 02 */ li r0, 2
/* 8024F404 0024C364 90 1F 00 80 */ stw r0, 0x80(r31)
/* 8024F408 0024C368 80 DF 00 8C */ lwz r6, 0x8c(r31)
/* 8024F40C 0024C36C 48 00 01 A8 */ b lbl_8024F5B4
lbl_8024F410:
/* 8024F410 0024C370 2C 05 00 01 */ cmpwi r5, 1
/* 8024F414 0024C374 40 82 00 10 */ bne lbl_8024F424
/* 8024F418 0024C378 48 00 09 75 */ bl ResetCardDriver__15CSaveGameScreenFv
/* 8024F41C 0024C37C 80 DF 00 84 */ lwz r6, 0x84(r31)
/* 8024F420 0024C380 48 00 01 94 */ b lbl_8024F5B4
lbl_8024F424:
/* 8024F424 0024C384 2C 05 00 02 */ cmpwi r5, 2
/* 8024F428 0024C388 40 82 01 8C */ bne lbl_8024F5B4
/* 8024F42C 0024C38C 38 60 00 0D */ li r3, 0xd
/* 8024F430 0024C390 38 00 00 01 */ li r0, 1
/* 8024F434 0024C394 90 7F 00 10 */ stw r3, 0x10(r31)
/* 8024F438 0024C398 98 1F 00 91 */ stb r0, 0x91(r31)
/* 8024F43C 0024C39C 80 DF 00 84 */ lwz r6, 0x84(r31)
/* 8024F440 0024C3A0 48 00 01 74 */ b lbl_8024F5B4
lbl_8024F444:
/* 8024F444 0024C3A4 2C 05 00 00 */ cmpwi r5, 0
/* 8024F448 0024C3A8 40 82 00 38 */ bne lbl_8024F480
/* 8024F44C 0024C3AC 88 1F 00 93 */ lbz r0, 0x93(r31)
/* 8024F450 0024C3B0 28 00 00 00 */ cmplwi r0, 0
/* 8024F454 0024C3B4 41 82 00 14 */ beq lbl_8024F468
/* 8024F458 0024C3B8 38 00 00 02 */ li r0, 2
/* 8024F45C 0024C3BC 90 1F 00 80 */ stw r0, 0x80(r31)
/* 8024F460 0024C3C0 80 DF 00 8C */ lwz r6, 0x8c(r31)
/* 8024F464 0024C3C4 48 00 01 50 */ b lbl_8024F5B4
lbl_8024F468:
/* 8024F468 0024C3C8 80 7F 00 6C */ lwz r3, 0x6c(r31)
/* 8024F46C 0024C3CC 4B FF E8 F1 */ bl ClearError__17CMemoryCardDriverFv
/* 8024F470 0024C3D0 38 00 00 01 */ li r0, 1
/* 8024F474 0024C3D4 98 1F 00 92 */ stb r0, 0x92(r31)
/* 8024F478 0024C3D8 80 DF 00 84 */ lwz r6, 0x84(r31)
/* 8024F47C 0024C3DC 48 00 01 38 */ b lbl_8024F5B4
lbl_8024F480:
/* 8024F480 0024C3E0 2C 05 00 01 */ cmpwi r5, 1
/* 8024F484 0024C3E4 40 82 00 10 */ bne lbl_8024F494
/* 8024F488 0024C3E8 48 00 09 05 */ bl ResetCardDriver__15CSaveGameScreenFv
/* 8024F48C 0024C3EC 80 DF 00 84 */ lwz r6, 0x84(r31)
/* 8024F490 0024C3F0 48 00 01 24 */ b lbl_8024F5B4
lbl_8024F494:
/* 8024F494 0024C3F4 2C 05 00 02 */ cmpwi r5, 2
/* 8024F498 0024C3F8 40 82 01 1C */ bne lbl_8024F5B4
/* 8024F49C 0024C3FC 80 6D A0 78 */ lwz r3, gpMain@sda21(r13)
/* 8024F4A0 0024C400 38 80 00 01 */ li r4, 1
/* 8024F4A4 0024C404 88 03 01 60 */ lbz r0, 0x160(r3)
/* 8024F4A8 0024C408 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c
/* 8024F4AC 0024C40C 98 03 01 60 */ stb r0, 0x160(r3)
/* 8024F4B0 0024C410 48 00 01 04 */ b lbl_8024F5B4
/* 8024F4B4 0024C414 2C 05 00 01 */ cmpwi r5, 1
/* 8024F4B8 0024C418 40 82 00 1C */ bne lbl_8024F4D4
/* 8024F4BC 0024C41C 80 6D A0 78 */ lwz r3, gpMain@sda21(r13)
/* 8024F4C0 0024C420 38 80 00 01 */ li r4, 1
/* 8024F4C4 0024C424 88 03 01 60 */ lbz r0, 0x160(r3)
/* 8024F4C8 0024C428 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c
/* 8024F4CC 0024C42C 98 03 01 60 */ stb r0, 0x160(r3)
/* 8024F4D0 0024C430 48 00 00 E4 */ b lbl_8024F5B4
lbl_8024F4D4:
/* 8024F4D4 0024C434 2C 05 00 00 */ cmpwi r5, 0
/* 8024F4D8 0024C438 40 82 00 DC */ bne lbl_8024F5B4
/* 8024F4DC 0024C43C 38 00 00 02 */ li r0, 2
/* 8024F4E0 0024C440 90 1F 00 80 */ stw r0, 0x80(r31)
/* 8024F4E4 0024C444 80 DF 00 8C */ lwz r6, 0x8c(r31)
/* 8024F4E8 0024C448 48 00 00 CC */ b lbl_8024F5B4
/* 8024F4EC 0024C44C 2C 05 00 01 */ cmpwi r5, 1
/* 8024F4F0 0024C450 40 82 00 30 */ bne lbl_8024F520
/* 8024F4F4 0024C454 80 9F 00 6C */ lwz r4, 0x6c(r31)
/* 8024F4F8 0024C458 38 00 00 00 */ li r0, 0
/* 8024F4FC 0024C45C 80 64 00 28 */ lwz r3, 0x28(r4)
/* 8024F500 0024C460 80 84 00 2C */ lwz r4, 0x2c(r4)
/* 8024F504 0024C464 90 9F 00 0C */ stw r4, 0xc(r31)
/* 8024F508 0024C468 90 7F 00 08 */ stw r3, 8(r31)
/* 8024F50C 0024C46C 90 1F 00 10 */ stw r0, 0x10(r31)
/* 8024F510 0024C470 80 7F 00 6C */ lwz r3, 0x6c(r31)
/* 8024F514 0024C474 4B FF E5 C1 */ bl IndexFiles__17CMemoryCardDriverFv
/* 8024F518 0024C478 80 DF 00 84 */ lwz r6, 0x84(r31)
/* 8024F51C 0024C47C 48 00 00 98 */ b lbl_8024F5B4
lbl_8024F520:
/* 8024F520 0024C480 2C 05 00 00 */ cmpwi r5, 0
/* 8024F524 0024C484 40 82 00 90 */ bne lbl_8024F5B4
/* 8024F528 0024C488 38 00 00 02 */ li r0, 2
/* 8024F52C 0024C48C 90 1F 00 80 */ stw r0, 0x80(r31)
/* 8024F530 0024C490 80 DF 00 8C */ lwz r6, 0x8c(r31)
/* 8024F534 0024C494 48 00 00 80 */ b lbl_8024F5B4
/* 8024F538 0024C498 2C 05 00 00 */ cmpwi r5, 0
/* 8024F53C 0024C49C 40 82 00 1C */ bne lbl_8024F558
/* 8024F540 0024C4A0 80 7F 00 6C */ lwz r3, 0x6c(r31)
/* 8024F544 0024C4A4 4B FF DE 9D */ bl StartCardFormat__17CMemoryCardDriverFv
/* 8024F548 0024C4A8 38 00 00 00 */ li r0, 0
/* 8024F54C 0024C4AC 90 1F 00 10 */ stw r0, 0x10(r31)
/* 8024F550 0024C4B0 80 DF 00 84 */ lwz r6, 0x84(r31)
/* 8024F554 0024C4B4 48 00 00 60 */ b lbl_8024F5B4
lbl_8024F558:
/* 8024F558 0024C4B8 2C 05 00 01 */ cmpwi r5, 1
/* 8024F55C 0024C4BC 40 82 00 58 */ bne lbl_8024F5B4
/* 8024F560 0024C4C0 48 00 08 2D */ bl ResetCardDriver__15CSaveGameScreenFv
/* 8024F564 0024C4C4 80 DF 00 8C */ lwz r6, 0x8c(r31)
/* 8024F568 0024C4C8 48 00 00 4C */ b lbl_8024F5B4
/* 8024F56C 0024C4CC 80 1F 00 00 */ lwz r0, 0(r31)
/* 8024F570 0024C4D0 2C 00 00 00 */ cmpwi r0, 0
/* 8024F574 0024C4D4 41 82 00 40 */ beq lbl_8024F5B4
/* 8024F578 0024C4D8 2C 05 00 00 */ cmpwi r5, 0
/* 8024F57C 0024C4DC 40 82 00 24 */ bne lbl_8024F5A0
/* 8024F580 0024C4E0 80 8D A0 80 */ lwz r4, gpGameState@sda21(r13)
/* 8024F584 0024C4E4 80 7F 00 6C */ lwz r3, 0x6c(r31)
/* 8024F588 0024C4E8 80 84 02 0C */ lwz r4, 0x20c(r4)
/* 8024F58C 0024C4EC 4B FF D3 61 */ bl BuildExistingFileSlot__17CMemoryCardDriverFi
/* 8024F590 0024C4F0 80 7F 00 6C */ lwz r3, 0x6c(r31)
/* 8024F594 0024C4F4 4B FF DF 79 */ bl StartFileCreateTransactional__17CMemoryCardDriverFv
/* 8024F598 0024C4F8 80 DF 00 84 */ lwz r6, 0x84(r31)
/* 8024F59C 0024C4FC 48 00 00 18 */ b lbl_8024F5B4
lbl_8024F5A0:
/* 8024F5A0 0024C500 2C 05 00 01 */ cmpwi r5, 1
/* 8024F5A4 0024C504 40 82 00 10 */ bne lbl_8024F5B4
/* 8024F5A8 0024C508 38 00 00 02 */ li r0, 2
/* 8024F5AC 0024C50C 90 1F 00 80 */ stw r0, 0x80(r31)
/* 8024F5B0 0024C510 80 DF 00 8C */ lwz r6, 0x8c(r31)
lbl_8024F5B4:
/* 8024F5B4 0024C514 2C 06 00 00 */ cmpwi r6, 0
/* 8024F5B8 0024C518 41 80 00 28 */ blt lbl_8024F5E0
/* 8024F5BC 0024C51C A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2)
/* 8024F5C0 0024C520 38 61 00 08 */ addi r3, r1, 8
/* 8024F5C4 0024C524 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2)
/* 8024F5C8 0024C528 54 C4 04 3E */ clrlwi r4, r6, 0x10
/* 8024F5CC 0024C52C 38 A0 00 7F */ li r5, 0x7f
/* 8024F5D0 0024C530 38 C0 00 40 */ li r6, 0x40
/* 8024F5D4 0024C534 38 E0 00 00 */ li r7, 0
/* 8024F5D8 0024C538 39 20 00 00 */ li r9, 0
/* 8024F5DC 0024C53C 48 09 A7 99 */ bl SfxStart__11CSfxManagerFUsssbsbi
lbl_8024F5E0:
/* 8024F5E0 0024C540 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8024F5E4 0024C544 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8024F5E8 0024C548 7C 08 03 A6 */ mtlr r0
/* 8024F5EC 0024C54C 38 21 00 20 */ addi r1, r1, 0x20
/* 8024F5F0 0024C550 4E 80 00 20 */ blr
.global StartGame__15CSaveGameScreenFi
StartGame__15CSaveGameScreenFi:
/* 8024F5F4 0024C554 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8024F5F8 0024C558 7C 08 02 A6 */ mflr r0
/* 8024F5FC 0024C55C 90 01 00 24 */ stw r0, 0x24(r1)
/* 8024F600 0024C560 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8024F604 0024C564 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8024F608 0024C568 7C 9E 23 78 */ mr r30, r4
/* 8024F60C 0024C56C 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8024F610 0024C570 7C 7D 1B 78 */ mr r29, r3
/* 8024F614 0024C574 80 63 00 6C */ lwz r3, 0x6c(r3)
/* 8024F618 0024C578 4B FF CC CD */ bl GetGameFileStateInfo__17CMemoryCardDriverFi
/* 8024F61C 0024C57C 7C 60 00 34 */ cntlzw r0, r3
/* 8024F620 0024C580 80 7D 00 6C */ lwz r3, 0x6c(r29)
/* 8024F624 0024C584 54 1F D9 7E */ srwi r31, r0, 5
/* 8024F628 0024C588 4B FF D1 B5 */ bl ExportPersistentOptions__17CMemoryCardDriverFv
/* 8024F62C 0024C58C 80 7D 00 6C */ lwz r3, 0x6c(r29)
/* 8024F630 0024C590 7F C4 F3 78 */ mr r4, r30
/* 8024F634 0024C594 4B FF D4 89 */ bl BuildNewFileSlot__17CMemoryCardDriverFi
/* 8024F638 0024C598 57 E0 06 3F */ clrlwi. r0, r31, 0x18
/* 8024F63C 0024C59C 41 82 00 10 */ beq lbl_8024F64C
/* 8024F640 0024C5A0 80 7D 00 6C */ lwz r3, 0x6c(r29)
/* 8024F644 0024C5A4 4B FF DE C9 */ bl StartFileCreateTransactional__17CMemoryCardDriverFv
/* 8024F648 0024C5A8 48 00 00 0C */ b lbl_8024F654
lbl_8024F64C:
/* 8024F64C 0024C5AC 38 00 00 01 */ li r0, 1
/* 8024F650 0024C5B0 90 1D 00 80 */ stw r0, 0x80(r29)
lbl_8024F654:
/* 8024F654 0024C5B4 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8024F658 0024C5B8 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8024F65C 0024C5BC 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8024F660 0024C5C0 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 8024F664 0024C5C4 7C 08 03 A6 */ mtlr r0
/* 8024F668 0024C5C8 38 21 00 20 */ addi r1, r1, 0x20
/* 8024F66C 0024C5CC 4E 80 00 20 */ blr
.global SaveNESState__15CSaveGameScreenFv
SaveNESState__15CSaveGameScreenFv:
/* 8024F670 0024C5D0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8024F674 0024C5D4 7C 08 02 A6 */ mflr r0
/* 8024F678 0024C5D8 90 01 00 14 */ stw r0, 0x14(r1)
/* 8024F67C 0024C5DC 88 03 00 92 */ lbz r0, 0x92(r3)
/* 8024F680 0024C5E0 28 00 00 00 */ cmplwi r0, 0
/* 8024F684 0024C5E4 40 82 00 28 */ bne lbl_8024F6AC
/* 8024F688 0024C5E8 38 00 00 01 */ li r0, 1
/* 8024F68C 0024C5EC 98 03 00 90 */ stb r0, 0x90(r3)
/* 8024F690 0024C5F0 80 83 00 6C */ lwz r4, 0x6c(r3)
/* 8024F694 0024C5F4 80 04 00 28 */ lwz r0, 0x28(r4)
/* 8024F698 0024C5F8 80 84 00 2C */ lwz r4, 0x2c(r4)
/* 8024F69C 0024C5FC 90 83 00 0C */ stw r4, 0xc(r3)
/* 8024F6A0 0024C600 90 03 00 08 */ stw r0, 8(r3)
/* 8024F6A4 0024C604 80 63 00 6C */ lwz r3, 0x6c(r3)
/* 8024F6A8 0024C608 4B FF DE 65 */ bl StartFileCreateTransactional__17CMemoryCardDriverFv
lbl_8024F6AC:
/* 8024F6AC 0024C60C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8024F6B0 0024C610 7C 08 03 A6 */ mtlr r0
/* 8024F6B4 0024C614 38 21 00 10 */ addi r1, r1, 0x10
/* 8024F6B8 0024C618 4E 80 00 20 */ blr
.global EraseGame__15CSaveGameScreenFi
EraseGame__15CSaveGameScreenFi:
/* 8024F6BC 0024C61C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8024F6C0 0024C620 7C 08 02 A6 */ mflr r0
/* 8024F6C4 0024C624 90 01 00 14 */ stw r0, 0x14(r1)
/* 8024F6C8 0024C628 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8024F6CC 0024C62C 7C 7F 1B 78 */ mr r31, r3
/* 8024F6D0 0024C630 80 63 00 6C */ lwz r3, 0x6c(r3)
/* 8024F6D4 0024C634 4B FF D6 09 */ bl EraseFileSlot__17CMemoryCardDriverFi
/* 8024F6D8 0024C638 38 00 00 01 */ li r0, 1
/* 8024F6DC 0024C63C 98 1F 00 90 */ stb r0, 0x90(r31)
/* 8024F6E0 0024C640 80 7F 00 6C */ lwz r3, 0x6c(r31)
/* 8024F6E4 0024C644 4B FF DE 29 */ bl StartFileCreateTransactional__17CMemoryCardDriverFv
/* 8024F6E8 0024C648 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8024F6EC 0024C64C 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8024F6F0 0024C650 7C 08 03 A6 */ mtlr r0
/* 8024F6F4 0024C654 38 21 00 10 */ addi r1, r1, 0x10
/* 8024F6F8 0024C658 4E 80 00 20 */ blr
.global GetGameData__15CSaveGameScreenFi
GetGameData__15CSaveGameScreenFi:
/* 8024F6FC 0024C65C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8024F700 0024C660 7C 08 02 A6 */ mflr r0
/* 8024F704 0024C664 90 01 00 14 */ stw r0, 0x14(r1)
/* 8024F708 0024C668 80 63 00 6C */ lwz r3, 0x6c(r3)
/* 8024F70C 0024C66C 4B FF CB D9 */ bl GetGameFileStateInfo__17CMemoryCardDriverFi
/* 8024F710 0024C670 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8024F714 0024C674 7C 08 03 A6 */ mtlr r0
/* 8024F718 0024C678 38 21 00 10 */ addi r1, r1, 0x10
/* 8024F71C 0024C67C 4E 80 00 20 */ blr
.global Draw__15CSaveGameScreenFv
Draw__15CSaveGameScreenFv:
/* 8024F720 0024C680 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8024F724 0024C684 7C 08 02 A6 */ mflr r0
/* 8024F728 0024C688 90 01 00 14 */ stw r0, 0x14(r1)
/* 8024F72C 0024C68C 80 63 00 50 */ lwz r3, 0x50(r3)
/* 8024F730 0024C690 28 03 00 00 */ cmplwi r3, 0
/* 8024F734 0024C694 41 82 00 10 */ beq lbl_8024F744
/* 8024F738 0024C698 3C 80 80 5A */ lis r4, lbl_8059FD08@ha
/* 8024F73C 0024C69C 38 84 FD 08 */ addi r4, r4, lbl_8059FD08@l
/* 8024F740 0024C6A0 48 07 2F F5 */ bl Draw__9CGuiFrameCFRC19CGuiWidgetDrawParms
lbl_8024F744:
/* 8024F744 0024C6A4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8024F748 0024C6A8 7C 08 03 A6 */ mtlr r0
/* 8024F74C 0024C6AC 38 21 00 10 */ addi r1, r1, 0x10
/* 8024F750 0024C6B0 4E 80 00 20 */ blr
.global ContinueWithoutSaving__15CSaveGameScreenFv
ContinueWithoutSaving__15CSaveGameScreenFv:
/* 8024F754 0024C6B4 38 80 00 03 */ li r4, 3
/* 8024F758 0024C6B8 38 00 00 00 */ li r0, 0
/* 8024F75C 0024C6BC 90 83 00 80 */ stw r4, 0x80(r3)
/* 8024F760 0024C6C0 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13)
/* 8024F764 0024C6C4 90 03 02 14 */ stw r0, 0x214(r3)
/* 8024F768 0024C6C8 90 03 02 10 */ stw r0, 0x210(r3)
/* 8024F76C 0024C6CC 4E 80 00 20 */ blr
.global ProcessUserInput__15CSaveGameScreenFRC11CFinalInput
ProcessUserInput__15CSaveGameScreenFRC11CFinalInput:
/* 8024F770 0024C6D0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8024F774 0024C6D4 7C 08 02 A6 */ mflr r0
/* 8024F778 0024C6D8 90 01 00 14 */ stw r0, 0x14(r1)
/* 8024F77C 0024C6DC 80 63 00 50 */ lwz r3, 0x50(r3)
/* 8024F780 0024C6E0 28 03 00 00 */ cmplwi r3, 0
/* 8024F784 0024C6E4 41 82 00 08 */ beq lbl_8024F78C
/* 8024F788 0024C6E8 48 07 2E D1 */ bl ProcessUserInput__9CGuiFrameFRC11CFinalInput
lbl_8024F78C:
/* 8024F78C 0024C6EC 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8024F790 0024C6F0 7C 08 03 A6 */ mtlr r0
/* 8024F794 0024C6F4 38 21 00 10 */ addi r1, r1, 0x10
/* 8024F798 0024C6F8 4E 80 00 20 */ blr
.global Update__15CSaveGameScreenFf
Update__15CSaveGameScreenFf:
/* 8024F79C 0024C6FC 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 8024F7A0 0024C700 7C 08 02 A6 */ mflr r0
/* 8024F7A4 0024C704 90 01 00 44 */ stw r0, 0x44(r1)
/* 8024F7A8 0024C708 DB E1 00 38 */ stfd f31, 0x38(r1)
/* 8024F7AC 0024C70C FF E0 08 90 */ fmr f31, f1
/* 8024F7B0 0024C710 93 E1 00 34 */ stw r31, 0x34(r1)
/* 8024F7B4 0024C714 93 C1 00 30 */ stw r30, 0x30(r1)
/* 8024F7B8 0024C718 93 A1 00 2C */ stw r29, 0x2c(r1)
/* 8024F7BC 0024C71C 7C 7D 1B 78 */ mr r29, r3
/* 8024F7C0 0024C720 93 81 00 28 */ stw r28, 0x28(r1)
/* 8024F7C4 0024C724 48 00 01 E1 */ bl PumpLoad__15CSaveGameScreenFv
/* 8024F7C8 0024C728 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8024F7CC 0024C72C 40 82 00 0C */ bne lbl_8024F7D8
/* 8024F7D0 0024C730 38 60 00 00 */ li r3, 0
/* 8024F7D4 0024C734 48 00 01 AC */ b lbl_8024F980
lbl_8024F7D8:
/* 8024F7D8 0024C738 FC 20 F8 90 */ fmr f1, f31
/* 8024F7DC 0024C73C 80 7D 00 50 */ lwz r3, 0x50(r29)
/* 8024F7E0 0024C740 48 07 2F 25 */ bl Update__9CGuiFrameFf
/* 8024F7E4 0024C744 80 7D 00 6C */ lwz r3, 0x6c(r29)
/* 8024F7E8 0024C748 4B FF EE 29 */ bl Update__17CMemoryCardDriverFv
/* 8024F7EC 0024C74C 80 7D 00 6C */ lwz r3, 0x6c(r29)
/* 8024F7F0 0024C750 83 E3 00 10 */ lwz r31, 0x10(r3)
/* 8024F7F4 0024C754 83 C3 00 14 */ lwz r30, 0x14(r3)
/* 8024F7F8 0024C758 2C 1F 00 03 */ cmpwi r31, 3
/* 8024F7FC 0024C75C 40 82 00 30 */ bne lbl_8024F82C
/* 8024F800 0024C760 88 1D 00 90 */ lbz r0, 0x90(r29)
/* 8024F804 0024C764 28 00 00 00 */ cmplwi r0, 0
/* 8024F808 0024C768 41 82 00 18 */ beq lbl_8024F820
/* 8024F80C 0024C76C 7F A3 EB 78 */ mr r3, r29
/* 8024F810 0024C770 48 00 05 7D */ bl ResetCardDriver__15CSaveGameScreenFv
/* 8024F814 0024C774 38 00 00 00 */ li r0, 0
/* 8024F818 0024C778 98 1D 00 90 */ stb r0, 0x90(r29)
/* 8024F81C 0024C77C 48 00 00 AC */ b lbl_8024F8C8
lbl_8024F820:
/* 8024F820 0024C780 38 00 00 01 */ li r0, 1
/* 8024F824 0024C784 90 1D 00 80 */ stw r0, 0x80(r29)
/* 8024F828 0024C788 48 00 00 A0 */ b lbl_8024F8C8
lbl_8024F82C:
/* 8024F82C 0024C78C 2C 1F 00 07 */ cmpwi r31, 7
/* 8024F830 0024C790 40 82 00 80 */ bne lbl_8024F8B0
/* 8024F834 0024C794 80 1D 00 10 */ lwz r0, 0x10(r29)
/* 8024F838 0024C798 2C 00 00 0E */ cmpwi r0, 0xe
/* 8024F83C 0024C79C 41 82 00 74 */ beq lbl_8024F8B0
/* 8024F840 0024C7A0 80 A3 00 28 */ lwz r5, 0x28(r3)
/* 8024F844 0024C7A4 38 80 00 00 */ li r4, 0
/* 8024F848 0024C7A8 80 C3 00 2C */ lwz r6, 0x2c(r3)
/* 8024F84C 0024C7AC 7C A0 22 78 */ xor r0, r5, r4
/* 8024F850 0024C7B0 7C C4 22 78 */ xor r4, r6, r4
/* 8024F854 0024C7B4 7C 80 03 79 */ or. r0, r4, r0
/* 8024F858 0024C7B8 41 82 00 50 */ beq lbl_8024F8A8
/* 8024F85C 0024C7BC 80 1D 00 08 */ lwz r0, 8(r29)
/* 8024F860 0024C7C0 80 9D 00 0C */ lwz r4, 0xc(r29)
/* 8024F864 0024C7C4 7C A0 02 78 */ xor r0, r5, r0
/* 8024F868 0024C7C8 7C C4 22 78 */ xor r4, r6, r4
/* 8024F86C 0024C7CC 7C 80 03 79 */ or. r0, r4, r0
/* 8024F870 0024C7D0 41 82 00 38 */ beq lbl_8024F8A8
/* 8024F874 0024C7D4 88 1D 00 93 */ lbz r0, 0x93(r29)
/* 8024F878 0024C7D8 28 00 00 00 */ cmplwi r0, 0
/* 8024F87C 0024C7DC 41 82 00 18 */ beq lbl_8024F894
/* 8024F880 0024C7E0 38 60 00 0E */ li r3, 0xe
/* 8024F884 0024C7E4 38 00 00 01 */ li r0, 1
/* 8024F888 0024C7E8 90 7D 00 10 */ stw r3, 0x10(r29)
/* 8024F88C 0024C7EC 98 1D 00 91 */ stb r0, 0x91(r29)
/* 8024F890 0024C7F0 48 00 00 38 */ b lbl_8024F8C8
lbl_8024F894:
/* 8024F894 0024C7F4 90 DD 00 0C */ stw r6, 0xc(r29)
/* 8024F898 0024C7F8 90 BD 00 08 */ stw r5, 8(r29)
/* 8024F89C 0024C7FC 80 7D 00 6C */ lwz r3, 0x6c(r29)
/* 8024F8A0 0024C800 4B FF E2 35 */ bl IndexFiles__17CMemoryCardDriverFv
/* 8024F8A4 0024C804 48 00 00 24 */ b lbl_8024F8C8
lbl_8024F8A8:
/* 8024F8A8 0024C808 4B FF E2 2D */ bl IndexFiles__17CMemoryCardDriverFv
/* 8024F8AC 0024C80C 48 00 00 1C */ b lbl_8024F8C8
lbl_8024F8B0:
/* 8024F8B0 0024C810 2C 1F 00 01 */ cmpwi r31, 1
/* 8024F8B4 0024C814 40 82 00 14 */ bne lbl_8024F8C8
/* 8024F8B8 0024C818 88 1D 00 90 */ lbz r0, 0x90(r29)
/* 8024F8BC 0024C81C 28 00 00 00 */ cmplwi r0, 0
/* 8024F8C0 0024C820 41 82 00 08 */ beq lbl_8024F8C8
/* 8024F8C4 0024C824 4B FF DC 49 */ bl StartFileCreateTransactional__17CMemoryCardDriverFv
lbl_8024F8C8:
/* 8024F8C8 0024C828 80 7D 00 80 */ lwz r3, 0x80(r29)
/* 8024F8CC 0024C82C 2C 03 00 00 */ cmpwi r3, 0
/* 8024F8D0 0024C830 41 82 00 08 */ beq lbl_8024F8D8
/* 8024F8D4 0024C834 48 00 00 AC */ b lbl_8024F980
lbl_8024F8D8:
/* 8024F8D8 0024C838 83 9D 00 10 */ lwz r28, 0x10(r29)
/* 8024F8DC 0024C83C 7F A3 EB 78 */ mr r3, r29
/* 8024F8E0 0024C840 48 00 0F 45 */ bl SelectUIType__15CSaveGameScreenFv
/* 8024F8E4 0024C844 90 7D 00 10 */ stw r3, 0x10(r29)
/* 8024F8E8 0024C848 80 1D 00 10 */ lwz r0, 0x10(r29)
/* 8024F8EC 0024C84C 7C 1C 00 00 */ cmpw r28, r0
/* 8024F8F0 0024C850 40 82 00 10 */ bne lbl_8024F900
/* 8024F8F4 0024C854 88 1D 00 91 */ lbz r0, 0x91(r29)
/* 8024F8F8 0024C858 28 00 00 00 */ cmplwi r0, 0
/* 8024F8FC 0024C85C 41 82 00 0C */ beq lbl_8024F908
lbl_8024F900:
/* 8024F900 0024C860 7F A3 EB 78 */ mr r3, r29
/* 8024F904 0024C864 48 00 0A 89 */ bl SetUIText__15CSaveGameScreenFv
lbl_8024F908:
/* 8024F908 0024C868 2C 1F 00 02 */ cmpwi r31, 2
/* 8024F90C 0024C86C 40 82 00 44 */ bne lbl_8024F950
/* 8024F910 0024C870 38 61 00 08 */ addi r3, r1, 8
/* 8024F914 0024C874 38 80 00 00 */ li r4, 0
/* 8024F918 0024C878 48 0F EA F5 */ bl IsMemoryCardInserted__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort
/* 8024F91C 0024C87C 80 81 00 08 */ lwz r4, 8(r1)
/* 8024F920 0024C880 80 61 00 0C */ lwz r3, 0xc(r1)
/* 8024F924 0024C884 80 01 00 10 */ lwz r0, 0x10(r1)
/* 8024F928 0024C888 2C 04 00 00 */ cmpwi r4, 0
/* 8024F92C 0024C88C 90 81 00 14 */ stw r4, 0x14(r1)
/* 8024F930 0024C890 90 61 00 18 */ stw r3, 0x18(r1)
/* 8024F934 0024C894 90 01 00 1C */ stw r0, 0x1c(r1)
/* 8024F938 0024C898 41 82 00 0C */ beq lbl_8024F944
/* 8024F93C 0024C89C 2C 04 FF FE */ cmpwi r4, -2
/* 8024F940 0024C8A0 40 82 00 3C */ bne lbl_8024F97C
lbl_8024F944:
/* 8024F944 0024C8A4 7F A3 EB 78 */ mr r3, r29
/* 8024F948 0024C8A8 48 00 04 45 */ bl ResetCardDriver__15CSaveGameScreenFv
/* 8024F94C 0024C8AC 48 00 00 30 */ b lbl_8024F97C
lbl_8024F950:
/* 8024F950 0024C8B0 2C 1F 00 04 */ cmpwi r31, 4
/* 8024F954 0024C8B4 40 82 00 10 */ bne lbl_8024F964
/* 8024F958 0024C8B8 7F A3 EB 78 */ mr r3, r29
/* 8024F95C 0024C8BC 48 00 04 31 */ bl ResetCardDriver__15CSaveGameScreenFv
/* 8024F960 0024C8C0 48 00 00 1C */ b lbl_8024F97C
lbl_8024F964:
/* 8024F964 0024C8C4 2C 1F 00 11 */ cmpwi r31, 0x11
/* 8024F968 0024C8C8 40 82 00 14 */ bne lbl_8024F97C
/* 8024F96C 0024C8CC 2C 1E 00 08 */ cmpwi r30, 8
/* 8024F970 0024C8D0 40 82 00 0C */ bne lbl_8024F97C
/* 8024F974 0024C8D4 80 7D 00 6C */ lwz r3, 0x6c(r29)
/* 8024F978 0024C8D8 4B FF DE C9 */ bl StartFileCreate__17CMemoryCardDriverFv
lbl_8024F97C:
/* 8024F97C 0024C8DC 38 60 00 00 */ li r3, 0
lbl_8024F980:
/* 8024F980 0024C8E0 80 01 00 44 */ lwz r0, 0x44(r1)
/* 8024F984 0024C8E4 CB E1 00 38 */ lfd f31, 0x38(r1)
/* 8024F988 0024C8E8 83 E1 00 34 */ lwz r31, 0x34(r1)
/* 8024F98C 0024C8EC 83 C1 00 30 */ lwz r30, 0x30(r1)
/* 8024F990 0024C8F0 83 A1 00 2C */ lwz r29, 0x2c(r1)
/* 8024F994 0024C8F4 83 81 00 28 */ lwz r28, 0x28(r1)
/* 8024F998 0024C8F8 7C 08 03 A6 */ mtlr r0
/* 8024F99C 0024C8FC 38 21 00 40 */ addi r1, r1, 0x40
/* 8024F9A0 0024C900 4E 80 00 20 */ blr
.global PumpLoad__15CSaveGameScreenFv
PumpLoad__15CSaveGameScreenFv:
/* 8024F9A4 0024C904 94 21 FF 90 */ stwu r1, -0x70(r1)
/* 8024F9A8 0024C908 7C 08 02 A6 */ mflr r0
/* 8024F9AC 0024C90C 90 01 00 74 */ stw r0, 0x74(r1)
/* 8024F9B0 0024C910 93 E1 00 6C */ stw r31, 0x6c(r1)
/* 8024F9B4 0024C914 7C 7F 1B 78 */ mr r31, r3
/* 8024F9B8 0024C918 80 03 00 50 */ lwz r0, 0x50(r3)
/* 8024F9BC 0024C91C 28 00 00 00 */ cmplwi r0, 0
/* 8024F9C0 0024C920 41 82 00 0C */ beq lbl_8024F9CC
/* 8024F9C4 0024C924 38 60 00 01 */ li r3, 1
/* 8024F9C8 0024C928 48 00 02 F8 */ b lbl_8024FCC0
lbl_8024F9CC:
/* 8024F9CC 0024C92C 80 1F 00 1C */ lwz r0, 0x1c(r31)
/* 8024F9D0 0024C930 38 80 00 00 */ li r4, 0
/* 8024F9D4 0024C934 28 00 00 00 */ cmplwi r0, 0
/* 8024F9D8 0024C938 40 82 00 14 */ bne lbl_8024F9EC
/* 8024F9DC 0024C93C 80 7F 00 14 */ lwz r3, 0x14(r31)
/* 8024F9E0 0024C940 80 03 00 10 */ lwz r0, 0x10(r3)
/* 8024F9E4 0024C944 28 00 00 00 */ cmplwi r0, 0
/* 8024F9E8 0024C948 41 82 00 08 */ beq lbl_8024F9F0
lbl_8024F9EC:
/* 8024F9EC 0024C94C 38 80 00 01 */ li r4, 1
lbl_8024F9F0:
/* 8024F9F0 0024C950 54 80 06 3F */ clrlwi. r0, r4, 0x18
/* 8024F9F4 0024C954 41 82 00 B0 */ beq lbl_8024FAA4
/* 8024F9F8 0024C958 80 1F 00 28 */ lwz r0, 0x28(r31)
/* 8024F9FC 0024C95C 38 80 00 00 */ li r4, 0
/* 8024FA00 0024C960 28 00 00 00 */ cmplwi r0, 0
/* 8024FA04 0024C964 40 82 00 14 */ bne lbl_8024FA18
/* 8024FA08 0024C968 80 7F 00 20 */ lwz r3, 0x20(r31)
/* 8024FA0C 0024C96C 80 03 00 10 */ lwz r0, 0x10(r3)
/* 8024FA10 0024C970 28 00 00 00 */ cmplwi r0, 0
/* 8024FA14 0024C974 41 82 00 08 */ beq lbl_8024FA1C
lbl_8024FA18:
/* 8024FA18 0024C978 38 80 00 01 */ li r4, 1
lbl_8024FA1C:
/* 8024FA1C 0024C97C 54 80 06 3F */ clrlwi. r0, r4, 0x18
/* 8024FA20 0024C980 41 82 00 84 */ beq lbl_8024FAA4
/* 8024FA24 0024C984 80 1F 00 34 */ lwz r0, 0x34(r31)
/* 8024FA28 0024C988 38 80 00 00 */ li r4, 0
/* 8024FA2C 0024C98C 28 00 00 00 */ cmplwi r0, 0
/* 8024FA30 0024C990 40 82 00 14 */ bne lbl_8024FA44
/* 8024FA34 0024C994 80 7F 00 2C */ lwz r3, 0x2c(r31)
/* 8024FA38 0024C998 80 03 00 10 */ lwz r0, 0x10(r3)
/* 8024FA3C 0024C99C 28 00 00 00 */ cmplwi r0, 0
/* 8024FA40 0024C9A0 41 82 00 08 */ beq lbl_8024FA48
lbl_8024FA44:
/* 8024FA44 0024C9A4 38 80 00 01 */ li r4, 1
lbl_8024FA48:
/* 8024FA48 0024C9A8 54 80 06 3F */ clrlwi. r0, r4, 0x18
/* 8024FA4C 0024C9AC 41 82 00 58 */ beq lbl_8024FAA4
/* 8024FA50 0024C9B0 80 1F 00 40 */ lwz r0, 0x40(r31)
/* 8024FA54 0024C9B4 28 00 00 00 */ cmplwi r0, 0
/* 8024FA58 0024C9B8 41 82 00 0C */ beq lbl_8024FA64
/* 8024FA5C 0024C9BC 38 60 00 01 */ li r3, 1
/* 8024FA60 0024C9C0 48 00 00 3C */ b lbl_8024FA9C
lbl_8024FA64:
/* 8024FA64 0024C9C4 88 1F 00 3C */ lbz r0, 0x3c(r31)
/* 8024FA68 0024C9C8 28 00 00 00 */ cmplwi r0, 0
/* 8024FA6C 0024C9CC 41 82 00 2C */ beq lbl_8024FA98
/* 8024FA70 0024C9D0 80 7F 00 38 */ lwz r3, 0x38(r31)
/* 8024FA74 0024C9D4 80 03 00 10 */ lwz r0, 0x10(r3)
/* 8024FA78 0024C9D8 28 00 00 00 */ cmplwi r0, 0
/* 8024FA7C 0024C9DC 41 82 00 1C */ beq lbl_8024FA98
/* 8024FA80 0024C9E0 38 7F 00 38 */ addi r3, r31, 0x38
/* 8024FA84 0024C9E4 48 0F 13 89 */ bl GetObj__6CTokenFv
/* 8024FA88 0024C9E8 80 03 00 04 */ lwz r0, 4(r3)
/* 8024FA8C 0024C9EC 38 60 00 01 */ li r3, 1
/* 8024FA90 0024C9F0 90 1F 00 40 */ stw r0, 0x40(r31)
/* 8024FA94 0024C9F4 48 00 00 08 */ b lbl_8024FA9C
lbl_8024FA98:
/* 8024FA98 0024C9F8 38 60 00 00 */ li r3, 0
lbl_8024FA9C:
/* 8024FA9C 0024C9FC 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8024FAA0 0024CA00 40 82 00 0C */ bne lbl_8024FAAC
lbl_8024FAA4:
/* 8024FAA4 0024CA04 38 60 00 00 */ li r3, 0
/* 8024FAA8 0024CA08 48 00 02 18 */ b lbl_8024FCC0
lbl_8024FAAC:
/* 8024FAAC 0024CA0C 80 1F 00 74 */ lwz r0, 0x74(r31)
/* 8024FAB0 0024CA10 80 BF 00 7C */ lwz r5, 0x7c(r31)
/* 8024FAB4 0024CA14 54 00 18 38 */ slwi r0, r0, 3
/* 8024FAB8 0024CA18 7C 85 02 14 */ add r4, r5, r0
/* 8024FABC 0024CA1C 48 00 00 20 */ b lbl_8024FADC
lbl_8024FAC0:
/* 8024FAC0 0024CA20 80 65 00 00 */ lwz r3, 0(r5)
/* 8024FAC4 0024CA24 80 03 00 10 */ lwz r0, 0x10(r3)
/* 8024FAC8 0024CA28 28 00 00 00 */ cmplwi r0, 0
/* 8024FACC 0024CA2C 40 82 00 0C */ bne lbl_8024FAD8
/* 8024FAD0 0024CA30 38 60 00 00 */ li r3, 0
/* 8024FAD4 0024CA34 48 00 01 EC */ b lbl_8024FCC0
lbl_8024FAD8:
/* 8024FAD8 0024CA38 38 A5 00 08 */ addi r5, r5, 8
lbl_8024FADC:
/* 8024FADC 0024CA3C 7C 05 20 40 */ cmplw r5, r4
/* 8024FAE0 0024CA40 40 82 FF E0 */ bne lbl_8024FAC0
/* 8024FAE4 0024CA44 80 1F 00 4C */ lwz r0, 0x4c(r31)
/* 8024FAE8 0024CA48 28 00 00 00 */ cmplwi r0, 0
/* 8024FAEC 0024CA4C 41 82 00 0C */ beq lbl_8024FAF8
/* 8024FAF0 0024CA50 38 60 00 01 */ li r3, 1
/* 8024FAF4 0024CA54 48 00 00 3C */ b lbl_8024FB30
lbl_8024FAF8:
/* 8024FAF8 0024CA58 88 1F 00 48 */ lbz r0, 0x48(r31)
/* 8024FAFC 0024CA5C 28 00 00 00 */ cmplwi r0, 0
/* 8024FB00 0024CA60 41 82 00 2C */ beq lbl_8024FB2C
/* 8024FB04 0024CA64 80 7F 00 44 */ lwz r3, 0x44(r31)
/* 8024FB08 0024CA68 80 03 00 10 */ lwz r0, 0x10(r3)
/* 8024FB0C 0024CA6C 28 00 00 00 */ cmplwi r0, 0
/* 8024FB10 0024CA70 41 82 00 1C */ beq lbl_8024FB2C
/* 8024FB14 0024CA74 38 7F 00 44 */ addi r3, r31, 0x44
/* 8024FB18 0024CA78 48 0F 12 F5 */ bl GetObj__6CTokenFv
/* 8024FB1C 0024CA7C 80 03 00 04 */ lwz r0, 4(r3)
/* 8024FB20 0024CA80 38 60 00 01 */ li r3, 1
/* 8024FB24 0024CA84 90 1F 00 4C */ stw r0, 0x4c(r31)
/* 8024FB28 0024CA88 48 00 00 08 */ b lbl_8024FB30
lbl_8024FB2C:
/* 8024FB2C 0024CA8C 38 60 00 00 */ li r3, 0
lbl_8024FB30:
/* 8024FB30 0024CA90 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8024FB34 0024CA94 41 82 01 58 */ beq lbl_8024FC8C
/* 8024FB38 0024CA98 80 1F 00 4C */ lwz r0, 0x4c(r31)
/* 8024FB3C 0024CA9C 3C 60 80 3D */ lis r3, lbl_803D4A90@ha
/* 8024FB40 0024CAA0 38 63 4A 90 */ addi r3, r3, lbl_803D4A90@l
/* 8024FB44 0024CAA4 90 1F 00 50 */ stw r0, 0x50(r31)
/* 8024FB48 0024CAA8 38 83 00 4F */ addi r4, r3, 0x4f
/* 8024FB4C 0024CAAC 80 7F 00 50 */ lwz r3, 0x50(r31)
/* 8024FB50 0024CAB0 48 07 26 05 */ bl FindWidget__9CGuiFrameCFPCc
/* 8024FB54 0024CAB4 90 7F 00 54 */ stw r3, 0x54(r31)
/* 8024FB58 0024CAB8 3C 60 80 3D */ lis r3, lbl_803D4A90@ha
/* 8024FB5C 0024CABC 38 83 4A 90 */ addi r4, r3, lbl_803D4A90@l
/* 8024FB60 0024CAC0 80 7F 00 50 */ lwz r3, 0x50(r31)
/* 8024FB64 0024CAC4 38 84 00 60 */ addi r4, r4, 0x60
/* 8024FB68 0024CAC8 48 07 25 ED */ bl FindWidget__9CGuiFrameCFPCc
/* 8024FB6C 0024CACC 90 7F 00 58 */ stw r3, 0x58(r31)
/* 8024FB70 0024CAD0 3C 60 80 3D */ lis r3, lbl_803D4A90@ha
/* 8024FB74 0024CAD4 38 83 4A 90 */ addi r4, r3, lbl_803D4A90@l
/* 8024FB78 0024CAD8 80 7F 00 50 */ lwz r3, 0x50(r31)
/* 8024FB7C 0024CADC 38 84 00 73 */ addi r4, r4, 0x73
/* 8024FB80 0024CAE0 48 07 25 D5 */ bl FindWidget__9CGuiFrameCFPCc
/* 8024FB84 0024CAE4 90 7F 00 5C */ stw r3, 0x5c(r31)
/* 8024FB88 0024CAE8 3C 60 80 3D */ lis r3, lbl_803D4A90@ha
/* 8024FB8C 0024CAEC 38 83 4A 90 */ addi r4, r3, lbl_803D4A90@l
/* 8024FB90 0024CAF0 80 7F 00 50 */ lwz r3, 0x50(r31)
/* 8024FB94 0024CAF4 38 84 00 84 */ addi r4, r4, 0x84
/* 8024FB98 0024CAF8 48 07 25 BD */ bl FindWidget__9CGuiFrameCFPCc
/* 8024FB9C 0024CAFC 90 7F 00 60 */ stw r3, 0x60(r31)
/* 8024FBA0 0024CB00 3C 60 80 3D */ lis r3, lbl_803D4A90@ha
/* 8024FBA4 0024CB04 38 83 4A 90 */ addi r4, r3, lbl_803D4A90@l
/* 8024FBA8 0024CB08 80 7F 00 50 */ lwz r3, 0x50(r31)
/* 8024FBAC 0024CB0C 38 84 00 95 */ addi r4, r4, 0x95
/* 8024FBB0 0024CB10 48 07 25 A5 */ bl FindWidget__9CGuiFrameCFPCc
/* 8024FBB4 0024CB14 90 7F 00 64 */ stw r3, 0x64(r31)
/* 8024FBB8 0024CB18 3C 60 80 3D */ lis r3, lbl_803D4A90@ha
/* 8024FBBC 0024CB1C 38 83 4A 90 */ addi r4, r3, lbl_803D4A90@l
/* 8024FBC0 0024CB20 80 7F 00 50 */ lwz r3, 0x50(r31)
/* 8024FBC4 0024CB24 38 84 00 A6 */ addi r4, r4, 0xa6
/* 8024FBC8 0024CB28 48 07 25 8D */ bl FindWidget__9CGuiFrameCFPCc
/* 8024FBCC 0024CB2C 90 7F 00 68 */ stw r3, 0x68(r31)
/* 8024FBD0 0024CB30 3C 60 80 3F */ lis r3, lbl_803E8DA0@ha
/* 8024FBD4 0024CB34 39 03 8D A0 */ addi r8, r3, lbl_803E8DA0@l
/* 8024FBD8 0024CB38 38 61 00 14 */ addi r3, r1, 0x14
/* 8024FBDC 0024CB3C 80 E8 00 00 */ lwz r7, 0(r8)
/* 8024FBE0 0024CB40 38 81 00 2C */ addi r4, r1, 0x2c
/* 8024FBE4 0024CB44 80 C8 00 04 */ lwz r6, 4(r8)
/* 8024FBE8 0024CB48 38 A0 00 0C */ li r5, 0xc
/* 8024FBEC 0024CB4C 80 08 00 08 */ lwz r0, 8(r8)
/* 8024FBF0 0024CB50 90 E1 00 2C */ stw r7, 0x2c(r1)
/* 8024FBF4 0024CB54 90 C1 00 30 */ stw r6, 0x30(r1)
/* 8024FBF8 0024CB58 90 01 00 34 */ stw r0, 0x34(r1)
/* 8024FBFC 0024CB5C 4B DB 38 95 */ bl memcpy
/* 8024FC00 0024CB60 3C 60 80 25 */ lis r3, sub_8024fd38@ha
/* 8024FC04 0024CB64 93 E1 00 54 */ stw r31, 0x54(r1)
/* 8024FC08 0024CB68 38 03 FD 38 */ addi r0, r3, sub_8024fd38@l
/* 8024FC0C 0024CB6C 38 61 00 58 */ addi r3, r1, 0x58
/* 8024FC10 0024CB70 90 01 00 50 */ stw r0, 0x50(r1)
/* 8024FC14 0024CB74 38 81 00 14 */ addi r4, r1, 0x14
/* 8024FC18 0024CB78 38 A0 00 0C */ li r5, 0xc
/* 8024FC1C 0024CB7C 4B DB 38 75 */ bl memcpy
/* 8024FC20 0024CB80 80 7F 00 58 */ lwz r3, 0x58(r31)
/* 8024FC24 0024CB84 38 81 00 50 */ addi r4, r1, 0x50
/* 8024FC28 0024CB88 48 07 6C 31 */ bl "SetMenuAdvanceCallback__14CGuiTableGroupFRC29TFunctor1<CP14CGuiTableGroup>"
/* 8024FC2C 0024CB8C 3C 80 80 3F */ lis r4, lbl_803E8DAC@ha
/* 8024FC30 0024CB90 38 61 00 08 */ addi r3, r1, 8
/* 8024FC34 0024CB94 39 04 8D AC */ addi r8, r4, lbl_803E8DAC@l
/* 8024FC38 0024CB98 38 81 00 20 */ addi r4, r1, 0x20
/* 8024FC3C 0024CB9C 80 E8 00 00 */ lwz r7, 0(r8)
/* 8024FC40 0024CBA0 38 A0 00 0C */ li r5, 0xc
/* 8024FC44 0024CBA4 80 C8 00 04 */ lwz r6, 4(r8)
/* 8024FC48 0024CBA8 80 08 00 08 */ lwz r0, 8(r8)
/* 8024FC4C 0024CBAC 90 E1 00 20 */ stw r7, 0x20(r1)
/* 8024FC50 0024CBB0 90 C1 00 24 */ stw r6, 0x24(r1)
/* 8024FC54 0024CBB4 90 01 00 28 */ stw r0, 0x28(r1)
/* 8024FC58 0024CBB8 4B DB 38 39 */ bl memcpy
/* 8024FC5C 0024CBBC 3C 60 80 25 */ lis r3, sub_8024fcd4@ha
/* 8024FC60 0024CBC0 93 E1 00 3C */ stw r31, 0x3c(r1)
/* 8024FC64 0024CBC4 38 03 FC D4 */ addi r0, r3, sub_8024fcd4@l
/* 8024FC68 0024CBC8 38 61 00 40 */ addi r3, r1, 0x40
/* 8024FC6C 0024CBCC 90 01 00 38 */ stw r0, 0x38(r1)
/* 8024FC70 0024CBD0 38 81 00 08 */ addi r4, r1, 8
/* 8024FC74 0024CBD4 38 A0 00 0C */ li r5, 0xc
/* 8024FC78 0024CBD8 4B DB 38 19 */ bl memcpy
/* 8024FC7C 0024CBDC 80 7F 00 58 */ lwz r3, 0x58(r31)
/* 8024FC80 0024CBE0 38 81 00 38 */ addi r4, r1, 0x38
/* 8024FC84 0024CBE4 48 07 6B 6D */ bl "SetMenuSelectionChangeCallback__14CGuiTableGroupFRC35TFunctor3<CP14CGuiTableGroup,Ci,Ci>"
/* 8024FC88 0024CBE8 48 00 00 0C */ b lbl_8024FC94
lbl_8024FC8C:
/* 8024FC8C 0024CBEC 38 60 00 00 */ li r3, 0
/* 8024FC90 0024CBF0 48 00 00 30 */ b lbl_8024FCC0
lbl_8024FC94:
/* 8024FC94 0024CBF4 80 1F 00 00 */ lwz r0, 0(r31)
/* 8024FC98 0024CBF8 2C 00 00 01 */ cmpwi r0, 1
/* 8024FC9C 0024CBFC 40 82 00 0C */ bne lbl_8024FCA8
/* 8024FCA0 0024CC00 80 7F 00 6C */ lwz r3, 0x6c(r31)
/* 8024FCA4 0024CC04 4B FF E2 15 */ bl StartCardProbe__17CMemoryCardDriverFv
lbl_8024FCA8:
/* 8024FCA8 0024CC08 7F E3 FB 78 */ mr r3, r31
/* 8024FCAC 0024CC0C 48 00 0B 79 */ bl SelectUIType__15CSaveGameScreenFv
/* 8024FCB0 0024CC10 90 7F 00 10 */ stw r3, 0x10(r31)
/* 8024FCB4 0024CC14 7F E3 FB 78 */ mr r3, r31
/* 8024FCB8 0024CC18 48 00 06 D5 */ bl SetUIText__15CSaveGameScreenFv
/* 8024FCBC 0024CC1C 38 60 00 01 */ li r3, 1
lbl_8024FCC0:
/* 8024FCC0 0024CC20 80 01 00 74 */ lwz r0, 0x74(r1)
/* 8024FCC4 0024CC24 83 E1 00 6C */ lwz r31, 0x6c(r1)
/* 8024FCC8 0024CC28 7C 08 03 A6 */ mtlr r0
/* 8024FCCC 0024CC2C 38 21 00 70 */ addi r1, r1, 0x70
/* 8024FCD0 0024CC30 4E 80 00 20 */ blr
.global sub_8024fcd4
sub_8024fcd4:
/* 8024FCD4 0024CC34 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8024FCD8 0024CC38 7C 08 02 A6 */ mflr r0
/* 8024FCDC 0024CC3C 90 01 00 34 */ stw r0, 0x34(r1)
/* 8024FCE0 0024CC40 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 8024FCE4 0024CC44 7C DF 33 78 */ mr r31, r6
/* 8024FCE8 0024CC48 93 C1 00 28 */ stw r30, 0x28(r1)
/* 8024FCEC 0024CC4C 7C BE 2B 78 */ mr r30, r5
/* 8024FCF0 0024CC50 38 A0 00 0C */ li r5, 0xc
/* 8024FCF4 0024CC54 93 A1 00 24 */ stw r29, 0x24(r1)
/* 8024FCF8 0024CC58 7C 7D 1B 78 */ mr r29, r3
/* 8024FCFC 0024CC5C 38 61 00 08 */ addi r3, r1, 8
/* 8024FD00 0024CC60 4B DB 37 91 */ bl memcpy
/* 8024FD04 0024CC64 7F A3 EB 78 */ mr r3, r29
/* 8024FD08 0024CC68 7F C4 F3 78 */ mr r4, r30
/* 8024FD0C 0024CC6C 7F E5 FB 78 */ mr r5, r31
/* 8024FD10 0024CC70 39 81 00 08 */ addi r12, r1, 8
/* 8024FD14 0024CC74 48 13 9C 19 */ bl __ptmf_scall
/* 8024FD18 0024CC78 60 00 00 00 */ nop
/* 8024FD1C 0024CC7C 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8024FD20 0024CC80 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 8024FD24 0024CC84 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 8024FD28 0024CC88 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 8024FD2C 0024CC8C 7C 08 03 A6 */ mtlr r0
/* 8024FD30 0024CC90 38 21 00 30 */ addi r1, r1, 0x30
/* 8024FD34 0024CC94 4E 80 00 20 */ blr
.global sub_8024fd38
sub_8024fd38:
/* 8024FD38 0024CC98 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8024FD3C 0024CC9C 7C 08 02 A6 */ mflr r0
/* 8024FD40 0024CCA0 90 01 00 24 */ stw r0, 0x24(r1)
/* 8024FD44 0024CCA4 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8024FD48 0024CCA8 7C BF 2B 78 */ mr r31, r5
/* 8024FD4C 0024CCAC 38 A0 00 0C */ li r5, 0xc
/* 8024FD50 0024CCB0 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8024FD54 0024CCB4 7C 7E 1B 78 */ mr r30, r3
/* 8024FD58 0024CCB8 38 61 00 08 */ addi r3, r1, 8
/* 8024FD5C 0024CCBC 4B DB 37 35 */ bl memcpy
/* 8024FD60 0024CCC0 7F C3 F3 78 */ mr r3, r30
/* 8024FD64 0024CCC4 7F E4 FB 78 */ mr r4, r31
/* 8024FD68 0024CCC8 39 81 00 08 */ addi r12, r1, 8
/* 8024FD6C 0024CCCC 48 13 9B C1 */ bl __ptmf_scall
/* 8024FD70 0024CCD0 60 00 00 00 */ nop
/* 8024FD74 0024CCD4 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8024FD78 0024CCD8 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8024FD7C 0024CCDC 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8024FD80 0024CCE0 7C 08 03 A6 */ mtlr r0
/* 8024FD84 0024CCE4 38 21 00 20 */ addi r1, r1, 0x20
/* 8024FD88 0024CCE8 4E 80 00 20 */ blr
.global ResetCardDriver__15CSaveGameScreenFv
ResetCardDriver__15CSaveGameScreenFv:
/* 8024FD8C 0024CCEC 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8024FD90 0024CCF0 7C 08 02 A6 */ mflr r0
/* 8024FD94 0024CCF4 38 80 00 01 */ li r4, 1
/* 8024FD98 0024CCF8 90 01 00 14 */ stw r0, 0x14(r1)
/* 8024FD9C 0024CCFC 38 00 00 00 */ li r0, 0
/* 8024FDA0 0024CD00 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8024FDA4 0024CD04 93 C1 00 08 */ stw r30, 8(r1)
/* 8024FDA8 0024CD08 7C 7E 1B 78 */ mr r30, r3
/* 8024FDAC 0024CD0C 98 03 00 92 */ stb r0, 0x92(r3)
/* 8024FDB0 0024CD10 80 63 00 6C */ lwz r3, 0x6c(r3)
/* 8024FDB4 0024CD14 4B FF EA 35 */ bl __dt__17CMemoryCardDriverFv
/* 8024FDB8 0024CD18 38 60 00 00 */ li r3, 0
/* 8024FDBC 0024CD1C 90 7E 00 6C */ stw r3, 0x6c(r30)
/* 8024FDC0 0024CD20 80 1E 00 00 */ lwz r0, 0(r30)
/* 8024FDC4 0024CD24 2C 00 00 00 */ cmpwi r0, 0
/* 8024FDC8 0024CD28 40 82 00 14 */ bne lbl_8024FDDC
/* 8024FDCC 0024CD2C 88 1E 00 90 */ lbz r0, 0x90(r30)
/* 8024FDD0 0024CD30 28 00 00 00 */ cmplwi r0, 0
/* 8024FDD4 0024CD34 40 82 00 08 */ bne lbl_8024FDDC
/* 8024FDD8 0024CD38 38 60 00 01 */ li r3, 1
lbl_8024FDDC:
/* 8024FDDC 0024CD3C 48 00 04 DD */ bl ConstructCardDriver__15CSaveGameScreen
/* 8024FDE0 0024CD40 7C 7F 1B 78 */ mr r31, r3
/* 8024FDE4 0024CD44 80 7E 00 6C */ lwz r3, 0x6c(r30)
/* 8024FDE8 0024CD48 38 80 00 01 */ li r4, 1
/* 8024FDEC 0024CD4C 4B FF E9 FD */ bl __dt__17CMemoryCardDriverFv
/* 8024FDF0 0024CD50 93 FE 00 6C */ stw r31, 0x6c(r30)
/* 8024FDF4 0024CD54 80 7E 00 6C */ lwz r3, 0x6c(r30)
/* 8024FDF8 0024CD58 4B FF E0 C1 */ bl StartCardProbe__17CMemoryCardDriverFv
/* 8024FDFC 0024CD5C 38 00 00 00 */ li r0, 0
/* 8024FE00 0024CD60 7F C3 F3 78 */ mr r3, r30
/* 8024FE04 0024CD64 90 1E 00 10 */ stw r0, 0x10(r30)
/* 8024FE08 0024CD68 48 00 05 85 */ bl SetUIText__15CSaveGameScreenFv
/* 8024FE0C 0024CD6C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8024FE10 0024CD70 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8024FE14 0024CD74 83 C1 00 08 */ lwz r30, 8(r1)
/* 8024FE18 0024CD78 7C 08 03 A6 */ mtlr r0
/* 8024FE1C 0024CD7C 38 21 00 10 */ addi r1, r1, 0x10
/* 8024FE20 0024CD80 4E 80 00 20 */ blr
.global __dt__15CSaveGameScreenFv
__dt__15CSaveGameScreenFv:
/* 8024FE24 0024CD84 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8024FE28 0024CD88 7C 08 02 A6 */ mflr r0
/* 8024FE2C 0024CD8C 90 01 00 34 */ stw r0, 0x34(r1)
/* 8024FE30 0024CD90 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 8024FE34 0024CD94 7C 9F 23 78 */ mr r31, r4
/* 8024FE38 0024CD98 93 C1 00 28 */ stw r30, 0x28(r1)
/* 8024FE3C 0024CD9C 7C 7E 1B 79 */ or. r30, r3, r3
/* 8024FE40 0024CDA0 93 A1 00 24 */ stw r29, 0x24(r1)
/* 8024FE44 0024CDA4 93 81 00 20 */ stw r28, 0x20(r1)
/* 8024FE48 0024CDA8 41 82 01 10 */ beq lbl_8024FF58
/* 8024FE4C 0024CDAC 34 1E 00 70 */ addic. r0, r30, 0x70
/* 8024FE50 0024CDB0 41 82 00 58 */ beq lbl_8024FEA8
/* 8024FE54 0024CDB4 80 1E 00 74 */ lwz r0, 0x74(r30)
/* 8024FE58 0024CDB8 83 9E 00 7C */ lwz r28, 0x7c(r30)
/* 8024FE5C 0024CDBC 54 00 18 38 */ slwi r0, r0, 3
/* 8024FE60 0024CDC0 7F BC 02 14 */ add r29, r28, r0
/* 8024FE64 0024CDC4 93 81 00 0C */ stw r28, 0xc(r1)
/* 8024FE68 0024CDC8 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8024FE6C 0024CDCC 93 A1 00 10 */ stw r29, 0x10(r1)
/* 8024FE70 0024CDD0 93 81 00 08 */ stw r28, 8(r1)
/* 8024FE74 0024CDD4 48 00 00 1C */ b lbl_8024FE90
lbl_8024FE78:
/* 8024FE78 0024CDD8 28 1C 00 00 */ cmplwi r28, 0
/* 8024FE7C 0024CDDC 41 82 00 10 */ beq lbl_8024FE8C
/* 8024FE80 0024CDE0 7F 83 E3 78 */ mr r3, r28
/* 8024FE84 0024CDE4 38 80 00 00 */ li r4, 0
/* 8024FE88 0024CDE8 48 0F 0F B9 */ bl __dt__6CTokenFv
lbl_8024FE8C:
/* 8024FE8C 0024CDEC 3B 9C 00 08 */ addi r28, r28, 8
lbl_8024FE90:
/* 8024FE90 0024CDF0 7C 1C E8 40 */ cmplw r28, r29
/* 8024FE94 0024CDF4 40 82 FF E4 */ bne lbl_8024FE78
/* 8024FE98 0024CDF8 80 7E 00 7C */ lwz r3, 0x7c(r30)
/* 8024FE9C 0024CDFC 28 03 00 00 */ cmplwi r3, 0
/* 8024FEA0 0024CE00 41 82 00 08 */ beq lbl_8024FEA8
/* 8024FEA4 0024CE04 48 0C 5A 8D */ bl Free__7CMemoryFPCv
lbl_8024FEA8:
/* 8024FEA8 0024CE08 34 1E 00 6C */ addic. r0, r30, 0x6c
/* 8024FEAC 0024CE0C 41 82 00 10 */ beq lbl_8024FEBC
/* 8024FEB0 0024CE10 80 7E 00 6C */ lwz r3, 0x6c(r30)
/* 8024FEB4 0024CE14 38 80 00 01 */ li r4, 1
/* 8024FEB8 0024CE18 4B FF E9 31 */ bl __dt__17CMemoryCardDriverFv
lbl_8024FEBC:
/* 8024FEBC 0024CE1C 34 1E 00 44 */ addic. r0, r30, 0x44
/* 8024FEC0 0024CE20 41 82 00 18 */ beq lbl_8024FED8
/* 8024FEC4 0024CE24 34 1E 00 44 */ addic. r0, r30, 0x44
/* 8024FEC8 0024CE28 41 82 00 10 */ beq lbl_8024FED8
/* 8024FECC 0024CE2C 38 7E 00 44 */ addi r3, r30, 0x44
/* 8024FED0 0024CE30 38 80 00 00 */ li r4, 0
/* 8024FED4 0024CE34 48 0F 0F 6D */ bl __dt__6CTokenFv
lbl_8024FED8:
/* 8024FED8 0024CE38 34 1E 00 38 */ addic. r0, r30, 0x38
/* 8024FEDC 0024CE3C 41 82 00 18 */ beq lbl_8024FEF4
/* 8024FEE0 0024CE40 34 1E 00 38 */ addic. r0, r30, 0x38
/* 8024FEE4 0024CE44 41 82 00 10 */ beq lbl_8024FEF4
/* 8024FEE8 0024CE48 38 7E 00 38 */ addi r3, r30, 0x38
/* 8024FEEC 0024CE4C 38 80 00 00 */ li r4, 0
/* 8024FEF0 0024CE50 48 0F 0F 51 */ bl __dt__6CTokenFv
lbl_8024FEF4:
/* 8024FEF4 0024CE54 34 1E 00 2C */ addic. r0, r30, 0x2c
/* 8024FEF8 0024CE58 41 82 00 18 */ beq lbl_8024FF10
/* 8024FEFC 0024CE5C 34 1E 00 2C */ addic. r0, r30, 0x2c
/* 8024FF00 0024CE60 41 82 00 10 */ beq lbl_8024FF10
/* 8024FF04 0024CE64 38 7E 00 2C */ addi r3, r30, 0x2c
/* 8024FF08 0024CE68 38 80 00 00 */ li r4, 0
/* 8024FF0C 0024CE6C 48 0F 0F 35 */ bl __dt__6CTokenFv
lbl_8024FF10:
/* 8024FF10 0024CE70 34 1E 00 20 */ addic. r0, r30, 0x20
/* 8024FF14 0024CE74 41 82 00 18 */ beq lbl_8024FF2C
/* 8024FF18 0024CE78 34 1E 00 20 */ addic. r0, r30, 0x20
/* 8024FF1C 0024CE7C 41 82 00 10 */ beq lbl_8024FF2C
/* 8024FF20 0024CE80 38 7E 00 20 */ addi r3, r30, 0x20
/* 8024FF24 0024CE84 38 80 00 00 */ li r4, 0
/* 8024FF28 0024CE88 48 0F 0F 19 */ bl __dt__6CTokenFv
lbl_8024FF2C:
/* 8024FF2C 0024CE8C 34 1E 00 14 */ addic. r0, r30, 0x14
/* 8024FF30 0024CE90 41 82 00 18 */ beq lbl_8024FF48
/* 8024FF34 0024CE94 34 1E 00 14 */ addic. r0, r30, 0x14
/* 8024FF38 0024CE98 41 82 00 10 */ beq lbl_8024FF48
/* 8024FF3C 0024CE9C 38 7E 00 14 */ addi r3, r30, 0x14
/* 8024FF40 0024CEA0 38 80 00 00 */ li r4, 0
/* 8024FF44 0024CEA4 48 0F 0E FD */ bl __dt__6CTokenFv
lbl_8024FF48:
/* 8024FF48 0024CEA8 7F E0 07 35 */ extsh. r0, r31
/* 8024FF4C 0024CEAC 40 81 00 0C */ ble lbl_8024FF58
/* 8024FF50 0024CEB0 7F C3 F3 78 */ mr r3, r30
/* 8024FF54 0024CEB4 48 0C 59 DD */ bl Free__7CMemoryFPCv
lbl_8024FF58:
/* 8024FF58 0024CEB8 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8024FF5C 0024CEBC 7F C3 F3 78 */ mr r3, r30
/* 8024FF60 0024CEC0 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 8024FF64 0024CEC4 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 8024FF68 0024CEC8 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 8024FF6C 0024CECC 83 81 00 20 */ lwz r28, 0x20(r1)
/* 8024FF70 0024CED0 7C 08 03 A6 */ mtlr r0
/* 8024FF74 0024CED4 38 21 00 30 */ addi r1, r1, 0x30
/* 8024FF78 0024CED8 4E 80 00 20 */ blr
.global __ct__15CSaveGameScreen
__ct__15CSaveGameScreen:
/* 8024FF7C 0024CEDC 94 21 FF A0 */ stwu r1, -0x60(r1)
/* 8024FF80 0024CEE0 7C 08 02 A6 */ mflr r0
/* 8024FF84 0024CEE4 90 01 00 64 */ stw r0, 0x64(r1)
/* 8024FF88 0024CEE8 38 00 00 00 */ li r0, 0
/* 8024FF8C 0024CEEC 93 E1 00 5C */ stw r31, 0x5c(r1)
/* 8024FF90 0024CEF0 7C 7F 1B 78 */ mr r31, r3
/* 8024FF94 0024CEF4 93 C1 00 58 */ stw r30, 0x58(r1)
/* 8024FF98 0024CEF8 93 A1 00 54 */ stw r29, 0x54(r1)
/* 8024FF9C 0024CEFC 93 81 00 50 */ stw r28, 0x50(r1)
/* 8024FFA0 0024CF00 90 83 00 00 */ stw r4, 0(r3)
/* 8024FFA4 0024CF04 38 61 00 38 */ addi r3, r1, 0x38
/* 8024FFA8 0024CF08 90 DF 00 0C */ stw r6, 0xc(r31)
/* 8024FFAC 0024CF0C 90 BF 00 08 */ stw r5, 8(r31)
/* 8024FFB0 0024CF10 80 A2 B8 B8 */ lwz r5, lbl_805AD5D8@sda21(r2)
/* 8024FFB4 0024CF14 90 1F 00 10 */ stw r0, 0x10(r31)
/* 8024FFB8 0024CF18 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
/* 8024FFBC 0024CF1C 81 84 00 00 */ lwz r12, 0(r4)
/* 8024FFC0 0024CF20 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 8024FFC4 0024CF24 7D 89 03 A6 */ mtctr r12
/* 8024FFC8 0024CF28 4E 80 04 21 */ bctrl
/* 8024FFCC 0024CF2C 3B 9F 00 14 */ addi r28, r31, 0x14
/* 8024FFD0 0024CF30 38 81 00 38 */ addi r4, r1, 0x38
/* 8024FFD4 0024CF34 7F 83 E3 78 */ mr r3, r28
/* 8024FFD8 0024CF38 48 0F 0E D1 */ bl __ct__6CTokenFRC6CToken
/* 8024FFDC 0024CF3C 38 00 00 00 */ li r0, 0
/* 8024FFE0 0024CF40 38 61 00 38 */ addi r3, r1, 0x38
/* 8024FFE4 0024CF44 90 1C 00 08 */ stw r0, 8(r28)
/* 8024FFE8 0024CF48 38 80 FF FF */ li r4, -1
/* 8024FFEC 0024CF4C 48 0F 0E 55 */ bl __dt__6CTokenFv
/* 8024FFF0 0024CF50 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
/* 8024FFF4 0024CF54 38 61 00 30 */ addi r3, r1, 0x30
/* 8024FFF8 0024CF58 80 A2 B8 BC */ lwz r5, lbl_805AD5DC@sda21(r2)
/* 8024FFFC 0024CF5C 81 84 00 00 */ lwz r12, 0(r4)
/* 80250000 0024CF60 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 80250004 0024CF64 7D 89 03 A6 */ mtctr r12
/* 80250008 0024CF68 4E 80 04 21 */ bctrl
/* 8025000C 0024CF6C 3B 9F 00 20 */ addi r28, r31, 0x20
/* 80250010 0024CF70 38 81 00 30 */ addi r4, r1, 0x30
/* 80250014 0024CF74 7F 83 E3 78 */ mr r3, r28
/* 80250018 0024CF78 48 0F 0E 91 */ bl __ct__6CTokenFRC6CToken
/* 8025001C 0024CF7C 38 00 00 00 */ li r0, 0
/* 80250020 0024CF80 38 61 00 30 */ addi r3, r1, 0x30
/* 80250024 0024CF84 90 1C 00 08 */ stw r0, 8(r28)
/* 80250028 0024CF88 38 80 FF FF */ li r4, -1
/* 8025002C 0024CF8C 48 0F 0E 15 */ bl __dt__6CTokenFv
/* 80250030 0024CF90 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
/* 80250034 0024CF94 38 61 00 28 */ addi r3, r1, 0x28
/* 80250038 0024CF98 80 A2 B8 C0 */ lwz r5, lbl_805AD5E0@sda21(r2)
/* 8025003C 0024CF9C 81 84 00 00 */ lwz r12, 0(r4)
/* 80250040 0024CFA0 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 80250044 0024CFA4 7D 89 03 A6 */ mtctr r12
/* 80250048 0024CFA8 4E 80 04 21 */ bctrl
/* 8025004C 0024CFAC 3B 9F 00 2C */ addi r28, r31, 0x2c
/* 80250050 0024CFB0 38 81 00 28 */ addi r4, r1, 0x28
/* 80250054 0024CFB4 7F 83 E3 78 */ mr r3, r28
/* 80250058 0024CFB8 48 0F 0E 51 */ bl __ct__6CTokenFRC6CToken
/* 8025005C 0024CFBC 38 00 00 00 */ li r0, 0
/* 80250060 0024CFC0 38 61 00 28 */ addi r3, r1, 0x28
/* 80250064 0024CFC4 90 1C 00 08 */ stw r0, 8(r28)
/* 80250068 0024CFC8 38 80 FF FF */ li r4, -1
/* 8025006C 0024CFCC 48 0F 0D D5 */ bl __dt__6CTokenFv
/* 80250070 0024CFD0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
/* 80250074 0024CFD4 38 61 00 20 */ addi r3, r1, 0x20
/* 80250078 0024CFD8 80 A2 B8 C4 */ lwz r5, lbl_805AD5E4@sda21(r2)
/* 8025007C 0024CFDC 81 84 00 00 */ lwz r12, 0(r4)
/* 80250080 0024CFE0 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 80250084 0024CFE4 7D 89 03 A6 */ mtctr r12
/* 80250088 0024CFE8 4E 80 04 21 */ bctrl
/* 8025008C 0024CFEC 3B 9F 00 38 */ addi r28, r31, 0x38
/* 80250090 0024CFF0 38 81 00 20 */ addi r4, r1, 0x20
/* 80250094 0024CFF4 7F 83 E3 78 */ mr r3, r28
/* 80250098 0024CFF8 48 0F 0E 11 */ bl __ct__6CTokenFRC6CToken
/* 8025009C 0024CFFC 38 00 00 00 */ li r0, 0
/* 802500A0 0024D000 38 61 00 20 */ addi r3, r1, 0x20
/* 802500A4 0024D004 90 1C 00 08 */ stw r0, 8(r28)
/* 802500A8 0024D008 38 80 FF FF */ li r4, -1
/* 802500AC 0024D00C 48 0F 0D 95 */ bl __dt__6CTokenFv
/* 802500B0 0024D010 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
/* 802500B4 0024D014 38 61 00 18 */ addi r3, r1, 0x18
/* 802500B8 0024D018 80 A2 B8 C8 */ lwz r5, lbl_805AD5E8@sda21(r2)
/* 802500BC 0024D01C 81 84 00 00 */ lwz r12, 0(r4)
/* 802500C0 0024D020 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 802500C4 0024D024 7D 89 03 A6 */ mtctr r12
/* 802500C8 0024D028 4E 80 04 21 */ bctrl
/* 802500CC 0024D02C 3B 9F 00 44 */ addi r28, r31, 0x44
/* 802500D0 0024D030 38 81 00 18 */ addi r4, r1, 0x18
/* 802500D4 0024D034 7F 83 E3 78 */ mr r3, r28
/* 802500D8 0024D038 48 0F 0D D1 */ bl __ct__6CTokenFRC6CToken
/* 802500DC 0024D03C 38 00 00 00 */ li r0, 0
/* 802500E0 0024D040 38 61 00 18 */ addi r3, r1, 0x18
/* 802500E4 0024D044 90 1C 00 08 */ stw r0, 8(r28)
/* 802500E8 0024D048 38 80 FF FF */ li r4, -1
/* 802500EC 0024D04C 48 0F 0D 55 */ bl __dt__6CTokenFv
/* 802500F0 0024D050 38 00 00 00 */ li r0, 0
/* 802500F4 0024D054 90 1F 00 50 */ stw r0, 0x50(r31)
/* 802500F8 0024D058 80 1F 00 00 */ lwz r0, 0(r31)
/* 802500FC 0024D05C 7C 00 00 34 */ cntlzw r0, r0
/* 80250100 0024D060 54 03 D9 7E */ srwi r3, r0, 5
/* 80250104 0024D064 48 00 01 B5 */ bl ConstructCardDriver__15CSaveGameScreen
/* 80250108 0024D068 90 7F 00 6C */ stw r3, 0x6c(r31)
/* 8025010C 0024D06C 38 00 00 00 */ li r0, 0
/* 80250110 0024D070 38 60 05 B4 */ li r3, 0x5b4
/* 80250114 0024D074 90 1F 00 74 */ stw r0, 0x74(r31)
/* 80250118 0024D078 90 1F 00 78 */ stw r0, 0x78(r31)
/* 8025011C 0024D07C 90 1F 00 7C */ stw r0, 0x7c(r31)
/* 80250120 0024D080 90 1F 00 80 */ stw r0, 0x80(r31)
/* 80250124 0024D084 80 1F 00 00 */ lwz r0, 0(r31)
/* 80250128 0024D088 2C 00 00 01 */ cmpwi r0, 1
/* 8025012C 0024D08C 40 82 00 08 */ bne lbl_80250134
/* 80250130 0024D090 38 60 05 98 */ li r3, 0x598
lbl_80250134:
/* 80250134 0024D094 90 7F 00 84 */ stw r3, 0x84(r31)
/* 80250138 0024D098 38 60 05 B5 */ li r3, 0x5b5
/* 8025013C 0024D09C 80 1F 00 00 */ lwz r0, 0(r31)
/* 80250140 0024D0A0 2C 00 00 01 */ cmpwi r0, 1
/* 80250144 0024D0A4 40 82 00 08 */ bne lbl_8025014C
/* 80250148 0024D0A8 38 60 05 9C */ li r3, 0x59c
lbl_8025014C:
/* 8025014C 0024D0AC 90 7F 00 88 */ stw r3, 0x88(r31)
/* 80250150 0024D0B0 38 60 05 B3 */ li r3, 0x5b3
/* 80250154 0024D0B4 80 1F 00 00 */ lwz r0, 0(r31)
/* 80250158 0024D0B8 2C 00 00 01 */ cmpwi r0, 1
/* 8025015C 0024D0BC 40 82 00 08 */ bne lbl_80250164
/* 80250160 0024D0C0 38 60 05 97 */ li r3, 0x597
lbl_80250164:
/* 80250164 0024D0C4 90 7F 00 8C */ stw r3, 0x8c(r31)
/* 80250168 0024D0C8 38 00 00 00 */ li r0, 0
/* 8025016C 0024D0CC 38 7F 00 14 */ addi r3, r31, 0x14
/* 80250170 0024D0D0 98 1F 00 90 */ stb r0, 0x90(r31)
/* 80250174 0024D0D4 98 1F 00 91 */ stb r0, 0x91(r31)
/* 80250178 0024D0D8 98 1F 00 92 */ stb r0, 0x92(r31)
/* 8025017C 0024D0DC 80 1F 00 00 */ lwz r0, 0(r31)
/* 80250180 0024D0E0 20 00 00 01 */ subfic r0, r0, 1
/* 80250184 0024D0E4 7C 00 00 34 */ cntlzw r0, r0
/* 80250188 0024D0E8 54 00 D9 7E */ srwi r0, r0, 5
/* 8025018C 0024D0EC 98 1F 00 93 */ stb r0, 0x93(r31)
/* 80250190 0024D0F0 48 0F 0B F5 */ bl Lock__6CTokenFv
/* 80250194 0024D0F4 38 7F 00 20 */ addi r3, r31, 0x20
/* 80250198 0024D0F8 48 0F 0B ED */ bl Lock__6CTokenFv
/* 8025019C 0024D0FC 38 7F 00 2C */ addi r3, r31, 0x2c
/* 802501A0 0024D100 48 0F 0B E5 */ bl Lock__6CTokenFv
/* 802501A4 0024D104 38 7F 00 38 */ addi r3, r31, 0x38
/* 802501A8 0024D108 48 0F 0B DD */ bl Lock__6CTokenFv
/* 802501AC 0024D10C 38 7F 00 44 */ addi r3, r31, 0x44
/* 802501B0 0024D110 48 0F 0B D5 */ bl Lock__6CTokenFv
/* 802501B4 0024D114 83 AD A0 84 */ lwz r29, gpMemoryCard@sda21(r13)
/* 802501B8 0024D118 38 7F 00 70 */ addi r3, r31, 0x70
/* 802501BC 0024D11C 80 9D 00 10 */ lwz r4, 0x10(r29)
/* 802501C0 0024D120 48 00 07 C5 */ bl sub_80250984
/* 802501C4 0024D124 3C 60 53 41 */ lis r3, 0x53415657@ha
/* 802501C8 0024D128 83 9D 00 18 */ lwz r28, 0x18(r29)
/* 802501CC 0024D12C 3B C3 56 57 */ addi r30, r3, 0x53415657@l
/* 802501D0 0024D130 48 00 00 AC */ b lbl_8025027C
lbl_802501D4:
/* 802501D4 0024D134 80 1C 00 08 */ lwz r0, 8(r28)
/* 802501D8 0024D138 38 61 00 08 */ addi r3, r1, 8
/* 802501DC 0024D13C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
/* 802501E0 0024D140 38 A1 00 10 */ addi r5, r1, 0x10
/* 802501E4 0024D144 93 C1 00 10 */ stw r30, 0x10(r1)
/* 802501E8 0024D148 90 01 00 14 */ stw r0, 0x14(r1)
/* 802501EC 0024D14C 81 84 00 00 */ lwz r12, 0(r4)
/* 802501F0 0024D150 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 802501F4 0024D154 7D 89 03 A6 */ mtctr r12
/* 802501F8 0024D158 4E 80 04 21 */ bctrl
/* 802501FC 0024D15C 38 61 00 40 */ addi r3, r1, 0x40
/* 80250200 0024D160 38 81 00 08 */ addi r4, r1, 8
/* 80250204 0024D164 48 0F 0C A5 */ bl __ct__6CTokenFRC6CToken
/* 80250208 0024D168 38 61 00 08 */ addi r3, r1, 8
/* 8025020C 0024D16C 38 80 FF FF */ li r4, -1
/* 80250210 0024D170 48 0F 0C 31 */ bl __dt__6CTokenFv
/* 80250214 0024D174 38 61 00 40 */ addi r3, r1, 0x40
/* 80250218 0024D178 48 0F 0B 6D */ bl Lock__6CTokenFv
/* 8025021C 0024D17C 80 1F 00 74 */ lwz r0, 0x74(r31)
/* 80250220 0024D180 80 BF 00 78 */ lwz r5, 0x78(r31)
/* 80250224 0024D184 7C 00 28 00 */ cmpw r0, r5
/* 80250228 0024D188 41 80 00 1C */ blt lbl_80250244
/* 8025022C 0024D18C 2C 05 00 00 */ cmpwi r5, 0
/* 80250230 0024D190 38 7F 00 70 */ addi r3, r31, 0x70
/* 80250234 0024D194 38 80 00 04 */ li r4, 4
/* 80250238 0024D198 41 82 00 08 */ beq lbl_80250240
/* 8025023C 0024D19C 54 A4 08 3C */ slwi r4, r5, 1
lbl_80250240:
/* 80250240 0024D1A0 48 00 07 45 */ bl sub_80250984
lbl_80250244:
/* 80250244 0024D1A4 80 1F 00 74 */ lwz r0, 0x74(r31)
/* 80250248 0024D1A8 80 7F 00 7C */ lwz r3, 0x7c(r31)
/* 8025024C 0024D1AC 54 00 18 38 */ slwi r0, r0, 3
/* 80250250 0024D1B0 7C 63 02 15 */ add. r3, r3, r0
/* 80250254 0024D1B4 41 82 00 0C */ beq lbl_80250260
/* 80250258 0024D1B8 38 81 00 40 */ addi r4, r1, 0x40
/* 8025025C 0024D1BC 48 0F 0C 4D */ bl __ct__6CTokenFRC6CToken
lbl_80250260:
/* 80250260 0024D1C0 80 BF 00 74 */ lwz r5, 0x74(r31)
/* 80250264 0024D1C4 38 61 00 40 */ addi r3, r1, 0x40
/* 80250268 0024D1C8 38 80 00 00 */ li r4, 0
/* 8025026C 0024D1CC 38 05 00 01 */ addi r0, r5, 1
/* 80250270 0024D1D0 90 1F 00 74 */ stw r0, 0x74(r31)
/* 80250274 0024D1D4 48 0F 0B CD */ bl __dt__6CTokenFv
/* 80250278 0024D1D8 3B 9C 00 4C */ addi r28, r28, 0x4c
lbl_8025027C:
/* 8025027C 0024D1DC 80 1D 00 10 */ lwz r0, 0x10(r29)
/* 80250280 0024D1E0 80 7D 00 18 */ lwz r3, 0x18(r29)
/* 80250284 0024D1E4 1C 00 00 4C */ mulli r0, r0, 0x4c
/* 80250288 0024D1E8 7C 03 02 14 */ add r0, r3, r0
/* 8025028C 0024D1EC 7C 1C 00 40 */ cmplw r28, r0
/* 80250290 0024D1F0 40 82 FF 44 */ bne lbl_802501D4
/* 80250294 0024D1F4 80 01 00 64 */ lwz r0, 0x64(r1)
/* 80250298 0024D1F8 7F E3 FB 78 */ mr r3, r31
/* 8025029C 0024D1FC 83 E1 00 5C */ lwz r31, 0x5c(r1)
/* 802502A0 0024D200 83 C1 00 58 */ lwz r30, 0x58(r1)
/* 802502A4 0024D204 83 A1 00 54 */ lwz r29, 0x54(r1)
/* 802502A8 0024D208 83 81 00 50 */ lwz r28, 0x50(r1)
/* 802502AC 0024D20C 7C 08 03 A6 */ mtlr r0
/* 802502B0 0024D210 38 21 00 60 */ addi r1, r1, 0x60
/* 802502B4 0024D214 4E 80 00 20 */ blr
.global ConstructCardDriver__15CSaveGameScreen
ConstructCardDriver__15CSaveGameScreen:
/* 802502B8 0024D218 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 802502BC 0024D21C 7C 08 02 A6 */ mflr r0
/* 802502C0 0024D220 3C 80 80 3D */ lis r4, lbl_803D4A90@ha
/* 802502C4 0024D224 38 A0 00 00 */ li r5, 0
/* 802502C8 0024D228 90 01 00 24 */ stw r0, 0x24(r1)
/* 802502CC 0024D22C 38 84 4A 90 */ addi r4, r4, lbl_803D4A90@l
/* 802502D0 0024D230 38 84 00 B7 */ addi r4, r4, 0xb7
/* 802502D4 0024D234 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 802502D8 0024D238 93 C1 00 18 */ stw r30, 0x18(r1)
/* 802502DC 0024D23C 93 A1 00 14 */ stw r29, 0x14(r1)
/* 802502E0 0024D240 93 81 00 10 */ stw r28, 0x10(r1)
/* 802502E4 0024D244 7C 7C 1B 78 */ mr r28, r3
/* 802502E8 0024D248 38 60 01 A0 */ li r3, 0x1a0
/* 802502EC 0024D24C 48 0C 55 81 */ bl __nw__FUlPCcPCc
/* 802502F0 0024D250 7C 7D 1B 79 */ or. r29, r3, r3
/* 802502F4 0024D254 41 82 00 74 */ beq lbl_80250368
/* 802502F8 0024D258 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13)
/* 802502FC 0024D25C 80 82 B8 C0 */ lwz r4, lbl_805AD5E0@sda21(r2)
/* 80250300 0024D260 81 83 00 00 */ lwz r12, 0(r3)
/* 80250304 0024D264 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 80250308 0024D268 7D 89 03 A6 */ mtctr r12
/* 8025030C 0024D26C 4E 80 04 21 */ bctrl
/* 80250310 0024D270 7C 7E 1B 78 */ mr r30, r3
/* 80250314 0024D274 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13)
/* 80250318 0024D278 80 82 B8 BC */ lwz r4, lbl_805AD5DC@sda21(r2)
/* 8025031C 0024D27C 81 83 00 00 */ lwz r12, 0(r3)
/* 80250320 0024D280 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 80250324 0024D284 7D 89 03 A6 */ mtctr r12
/* 80250328 0024D288 4E 80 04 21 */ bctrl
/* 8025032C 0024D28C 7C 7F 1B 78 */ mr r31, r3
/* 80250330 0024D290 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13)
/* 80250334 0024D294 80 82 B8 B8 */ lwz r4, lbl_805AD5D8@sda21(r2)
/* 80250338 0024D298 81 83 00 00 */ lwz r12, 0(r3)
/* 8025033C 0024D29C 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 80250340 0024D2A0 7D 89 03 A6 */ mtctr r12
/* 80250344 0024D2A4 4E 80 04 21 */ bctrl
/* 80250348 0024D2A8 80 A3 00 04 */ lwz r5, 4(r3)
/* 8025034C 0024D2AC 7F A3 EB 78 */ mr r3, r29
/* 80250350 0024D2B0 80 DF 00 04 */ lwz r6, 4(r31)
/* 80250354 0024D2B4 7F 88 E3 78 */ mr r8, r28
/* 80250358 0024D2B8 80 FE 00 04 */ lwz r7, 4(r30)
/* 8025035C 0024D2BC 38 80 00 00 */ li r4, 0
/* 80250360 0024D2C0 4B FF E8 B9 */ bl __ct__17CMemoryCardDriverFv
/* 80250364 0024D2C4 7C 7D 1B 78 */ mr r29, r3
lbl_80250368:
/* 80250368 0024D2C8 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8025036C 0024D2CC 7F A3 EB 78 */ mr r3, r29
/* 80250370 0024D2D0 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80250374 0024D2D4 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80250378 0024D2D8 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 8025037C 0024D2DC 83 81 00 10 */ lwz r28, 0x10(r1)
/* 80250380 0024D2E0 7C 08 03 A6 */ mtlr r0
/* 80250384 0024D2E4 38 21 00 20 */ addi r1, r1, 0x20
/* 80250388 0024D2E8 4E 80 00 20 */ blr
.global SetUIText__15CSaveGameScreenFv
SetUIText__15CSaveGameScreenFv:
/* 8025038C 0024D2EC 94 21 FF 30 */ stwu r1, -0xd0(r1)
/* 80250390 0024D2F0 7C 08 02 A6 */ mflr r0
/* 80250394 0024D2F4 90 01 00 D4 */ stw r0, 0xd4(r1)
/* 80250398 0024D2F8 38 00 00 00 */ li r0, 0
/* 8025039C 0024D2FC BF 01 00 B0 */ stmw r24, 0xb0(r1)
/* 802503A0 0024D300 7C 7C 1B 78 */ mr r28, r3
/* 802503A4 0024D304 3B 40 FF FF */ li r26, -1
/* 802503A8 0024D308 3B 20 FF FF */ li r25, -1
/* 802503AC 0024D30C 3B E0 FF FF */ li r31, -1
/* 802503B0 0024D310 3B C0 FF FF */ li r30, -1
/* 802503B4 0024D314 3B A0 FF FF */ li r29, -1
/* 802503B8 0024D318 98 03 00 91 */ stb r0, 0x91(r3)
/* 802503BC 0024D31C 80 03 00 10 */ lwz r0, 0x10(r3)
/* 802503C0 0024D320 83 63 00 40 */ lwz r27, 0x40(r3)
/* 802503C4 0024D324 28 00 00 10 */ cmplwi r0, 0x10
/* 802503C8 0024D328 41 81 01 80 */ bgt lbl_80250548
/* 802503CC 0024D32C 3C 60 80 3F */ lis r3, lbl_803E8DFC@ha
/* 802503D0 0024D330 54 00 10 3A */ slwi r0, r0, 2
/* 802503D4 0024D334 38 63 8D FC */ addi r3, r3, lbl_803E8DFC@l
/* 802503D8 0024D338 7C 03 00 2E */ lwzx r0, r3, r0
/* 802503DC 0024D33C 7C 09 03 A6 */ mtctr r0
/* 802503E0 0024D340 4E 80 04 20 */ bctr
/* 802503E4 0024D344 3B 20 00 18 */ li r25, 0x18
/* 802503E8 0024D348 48 00 01 60 */ b lbl_80250548
/* 802503EC 0024D34C 3B 20 00 19 */ li r25, 0x19
/* 802503F0 0024D350 48 00 01 58 */ b lbl_80250548
/* 802503F4 0024D354 3B 20 00 00 */ li r25, 0
/* 802503F8 0024D358 3B E0 00 11 */ li r31, 0x11
/* 802503FC 0024D35C 3B C0 00 12 */ li r30, 0x12
/* 80250400 0024D360 48 00 01 48 */ b lbl_80250548
/* 80250404 0024D364 3B 20 00 01 */ li r25, 1
/* 80250408 0024D368 3B E0 00 11 */ li r31, 0x11
/* 8025040C 0024D36C 3B C0 00 12 */ li r30, 0x12
/* 80250410 0024D370 3B A0 00 14 */ li r29, 0x14
/* 80250414 0024D374 48 00 01 34 */ b lbl_80250548
/* 80250418 0024D378 3B 20 00 02 */ li r25, 2
/* 8025041C 0024D37C 3B E0 00 11 */ li r31, 0x11
/* 80250420 0024D380 3B C0 00 12 */ li r30, 0x12
/* 80250424 0024D384 3B A0 00 14 */ li r29, 0x14
/* 80250428 0024D388 48 00 01 20 */ b lbl_80250548
/* 8025042C 0024D38C 3B 20 00 03 */ li r25, 3
/* 80250430 0024D390 3B E0 00 11 */ li r31, 0x11
/* 80250434 0024D394 3B C0 00 12 */ li r30, 0x12
/* 80250438 0024D398 48 00 01 10 */ b lbl_80250548
/* 8025043C 0024D39C 3B 20 00 05 */ li r25, 5
/* 80250440 0024D3A0 3B E0 00 11 */ li r31, 0x11
/* 80250444 0024D3A4 3B C0 00 12 */ li r30, 0x12
/* 80250448 0024D3A8 48 00 01 00 */ b lbl_80250548
/* 8025044C 0024D3AC 3B 20 00 06 */ li r25, 6
/* 80250450 0024D3B0 3B E0 00 11 */ li r31, 0x11
/* 80250454 0024D3B4 3B C0 00 12 */ li r30, 0x12
/* 80250458 0024D3B8 3B A0 00 13 */ li r29, 0x13
/* 8025045C 0024D3BC 48 00 00 EC */ b lbl_80250548
/* 80250460 0024D3C0 80 1C 00 00 */ lwz r0, 0(r28)
/* 80250464 0024D3C4 3B E0 00 11 */ li r31, 0x11
/* 80250468 0024D3C8 3B C0 00 12 */ li r30, 0x12
/* 8025046C 0024D3CC 3B A0 00 13 */ li r29, 0x13
/* 80250470 0024D3D0 20 00 00 01 */ subfic r0, r0, 1
/* 80250474 0024D3D4 7C 00 00 34 */ cntlzw r0, r0
/* 80250478 0024D3D8 54 03 D9 7E */ srwi r3, r0, 5
/* 8025047C 0024D3DC 38 03 00 09 */ addi r0, r3, 9
/* 80250480 0024D3E0 7C 19 03 78 */ mr r25, r0
/* 80250484 0024D3E4 48 00 00 C4 */ b lbl_80250548
/* 80250488 0024D3E8 3B 20 00 07 */ li r25, 7
/* 8025048C 0024D3EC 3B E0 00 11 */ li r31, 0x11
/* 80250490 0024D3F0 3B C0 00 12 */ li r30, 0x12
/* 80250494 0024D3F4 48 00 00 B4 */ b lbl_80250548
/* 80250498 0024D3F8 3B 20 00 04 */ li r25, 4
/* 8025049C 0024D3FC 3B E0 00 16 */ li r31, 0x16
/* 802504A0 0024D400 3B C0 00 11 */ li r30, 0x11
/* 802504A4 0024D404 3B A0 00 12 */ li r29, 0x12
/* 802504A8 0024D408 48 00 00 A0 */ b lbl_80250548
/* 802504AC 0024D40C 80 1C 00 00 */ lwz r0, 0(r28)
/* 802504B0 0024D410 2C 00 00 01 */ cmpwi r0, 1
/* 802504B4 0024D414 40 82 00 18 */ bne lbl_802504CC
/* 802504B8 0024D418 3B 20 00 0A */ li r25, 0xa
/* 802504BC 0024D41C 3B E0 00 11 */ li r31, 0x11
/* 802504C0 0024D420 3B C0 00 12 */ li r30, 0x12
/* 802504C4 0024D424 3B A0 00 13 */ li r29, 0x13
/* 802504C8 0024D428 48 00 00 80 */ b lbl_80250548
lbl_802504CC:
/* 802504CC 0024D42C 3B 20 00 09 */ li r25, 9
/* 802504D0 0024D430 3B E0 00 11 */ li r31, 0x11
/* 802504D4 0024D434 3B C0 00 12 */ li r30, 0x12
/* 802504D8 0024D438 3B A0 00 13 */ li r29, 0x13
/* 802504DC 0024D43C 48 00 00 6C */ b lbl_80250548
/* 802504E0 0024D440 3B 40 00 1C */ li r26, 0x1c
/* 802504E4 0024D444 3B 20 00 0B */ li r25, 0xb
/* 802504E8 0024D448 3B E0 00 15 */ li r31, 0x15
/* 802504EC 0024D44C 3B C0 00 10 */ li r30, 0x10
/* 802504F0 0024D450 48 00 00 58 */ b lbl_80250548
/* 802504F4 0024D454 80 1C 00 00 */ lwz r0, 0(r28)
/* 802504F8 0024D458 3B 40 00 1C */ li r26, 0x1c
/* 802504FC 0024D45C 3B 20 00 0C */ li r25, 0xc
/* 80250500 0024D460 38 60 00 11 */ li r3, 0x11
/* 80250504 0024D464 2C 00 00 01 */ cmpwi r0, 1
/* 80250508 0024D468 40 82 00 08 */ bne lbl_80250510
/* 8025050C 0024D46C 38 60 00 15 */ li r3, 0x15
lbl_80250510:
/* 80250510 0024D470 7C 7F 1B 78 */ mr r31, r3
/* 80250514 0024D474 3B C0 00 10 */ li r30, 0x10
/* 80250518 0024D478 48 00 00 30 */ b lbl_80250548
/* 8025051C 0024D47C 3B 40 00 1C */ li r26, 0x1c
/* 80250520 0024D480 3B 20 00 0D */ li r25, 0xd
/* 80250524 0024D484 3B E0 00 10 */ li r31, 0x10
/* 80250528 0024D488 3B C0 00 15 */ li r30, 0x15
/* 8025052C 0024D48C 48 00 00 1C */ b lbl_80250548
/* 80250530 0024D490 80 1C 00 00 */ lwz r0, 0(r28)
/* 80250534 0024D494 2C 00 00 01 */ cmpwi r0, 1
/* 80250538 0024D498 40 82 00 10 */ bne lbl_80250548
/* 8025053C 0024D49C 3B 20 00 08 */ li r25, 8
/* 80250540 0024D4A0 3B E0 00 0E */ li r31, 0xe
/* 80250544 0024D4A4 3B C0 00 0F */ li r30, 0xf
lbl_80250548:
/* 80250548 0024D4A8 38 61 00 68 */ addi r3, r1, 0x68
/* 8025054C 0024D4AC 38 8D 97 18 */ addi r4, r13, lbl_805A82D8@sda21
/* 80250550 0024D4B0 4B DC 54 A1 */ bl wstring_l__4rstlFPCw
/* 80250554 0024D4B4 38 61 00 98 */ addi r3, r1, 0x98
/* 80250558 0024D4B8 38 81 00 68 */ addi r4, r1, 0x68
/* 8025055C 0024D4BC 48 0E D2 2D */ bl "__ct__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>"
/* 80250560 0024D4C0 38 61 00 68 */ addi r3, r1, 0x68
/* 80250564 0024D4C4 48 0E CB D1 */ bl "internal_dereference__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>Fv"
/* 80250568 0024D4C8 2C 1A FF FF */ cmpwi r26, -1
/* 8025056C 0024D4CC 3B 00 00 00 */ li r24, 0
/* 80250570 0024D4D0 40 82 00 0C */ bne lbl_8025057C
/* 80250574 0024D4D4 38 81 00 98 */ addi r4, r1, 0x98
/* 80250578 0024D4D8 48 00 00 24 */ b lbl_8025059C
lbl_8025057C:
/* 8025057C 0024D4DC 7F 63 DB 78 */ mr r3, r27
/* 80250580 0024D4E0 7F 44 D3 78 */ mr r4, r26
/* 80250584 0024D4E4 48 10 61 79 */ bl GetString__12CStringTableCFi
/* 80250588 0024D4E8 7C 64 1B 78 */ mr r4, r3
/* 8025058C 0024D4EC 38 61 00 58 */ addi r3, r1, 0x58
/* 80250590 0024D4F0 4B DC 54 61 */ bl wstring_l__4rstlFPCw
/* 80250594 0024D4F4 3B 00 00 01 */ li r24, 1
/* 80250598 0024D4F8 38 81 00 58 */ addi r4, r1, 0x58
lbl_8025059C:
/* 8025059C 0024D4FC 38 61 00 88 */ addi r3, r1, 0x88
/* 802505A0 0024D500 48 0E D1 E9 */ bl "__ct__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>"
/* 802505A4 0024D504 7F 00 07 75 */ extsb. r0, r24
/* 802505A8 0024D508 41 82 00 0C */ beq lbl_802505B4
/* 802505AC 0024D50C 38 61 00 58 */ addi r3, r1, 0x58
/* 802505B0 0024D510 48 0E CB 85 */ bl "internal_dereference__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>Fv"
lbl_802505B4:
/* 802505B4 0024D514 2C 19 FF FF */ cmpwi r25, -1
/* 802505B8 0024D518 3B 00 00 00 */ li r24, 0
/* 802505BC 0024D51C 40 82 00 0C */ bne lbl_802505C8
/* 802505C0 0024D520 38 A1 00 98 */ addi r5, r1, 0x98
/* 802505C4 0024D524 48 00 00 24 */ b lbl_802505E8
lbl_802505C8:
/* 802505C8 0024D528 7F 63 DB 78 */ mr r3, r27
/* 802505CC 0024D52C 7F 24 CB 78 */ mr r4, r25
/* 802505D0 0024D530 48 10 61 2D */ bl GetString__12CStringTableCFi
/* 802505D4 0024D534 7C 64 1B 78 */ mr r4, r3
/* 802505D8 0024D538 38 61 00 48 */ addi r3, r1, 0x48
/* 802505DC 0024D53C 4B DC 54 15 */ bl wstring_l__4rstlFPCw
/* 802505E0 0024D540 3B 00 00 01 */ li r24, 1
/* 802505E4 0024D544 38 A1 00 48 */ addi r5, r1, 0x48
lbl_802505E8:
/* 802505E8 0024D548 38 61 00 38 */ addi r3, r1, 0x38
/* 802505EC 0024D54C 38 81 00 88 */ addi r4, r1, 0x88
/* 802505F0 0024D550 4B DC FA 75 */ bl sub_80020064
/* 802505F4 0024D554 38 61 00 78 */ addi r3, r1, 0x78
/* 802505F8 0024D558 38 81 00 38 */ addi r4, r1, 0x38
/* 802505FC 0024D55C 48 0E D1 8D */ bl "__ct__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>"
/* 80250600 0024D560 38 61 00 38 */ addi r3, r1, 0x38
/* 80250604 0024D564 48 0E CB 31 */ bl "internal_dereference__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>Fv"
/* 80250608 0024D568 7F 00 07 75 */ extsb. r0, r24
/* 8025060C 0024D56C 41 82 00 0C */ beq lbl_80250618
/* 80250610 0024D570 38 61 00 48 */ addi r3, r1, 0x48
/* 80250614 0024D574 48 0E CB 21 */ bl "internal_dereference__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>Fv"
lbl_80250618:
/* 80250618 0024D578 80 7C 00 54 */ lwz r3, 0x54(r28)
/* 8025061C 0024D57C 38 81 00 78 */ addi r4, r1, 0x78
/* 80250620 0024D580 38 A0 00 00 */ li r5, 0
/* 80250624 0024D584 38 63 00 D4 */ addi r3, r3, 0xd4
/* 80250628 0024D588 48 07 92 5D */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>"
/* 8025062C 0024D58C 2C 1F FF FF */ cmpwi r31, -1
/* 80250630 0024D590 3B 00 00 00 */ li r24, 0
/* 80250634 0024D594 40 82 00 0C */ bne lbl_80250640
/* 80250638 0024D598 38 81 00 98 */ addi r4, r1, 0x98
/* 8025063C 0024D59C 48 00 00 24 */ b lbl_80250660
lbl_80250640:
/* 80250640 0024D5A0 7F 63 DB 78 */ mr r3, r27
/* 80250644 0024D5A4 7F E4 FB 78 */ mr r4, r31
/* 80250648 0024D5A8 48 10 60 B5 */ bl GetString__12CStringTableCFi
/* 8025064C 0024D5AC 7C 64 1B 78 */ mr r4, r3
/* 80250650 0024D5B0 38 61 00 28 */ addi r3, r1, 0x28
/* 80250654 0024D5B4 4B DC 53 9D */ bl wstring_l__4rstlFPCw
/* 80250658 0024D5B8 3B 00 00 01 */ li r24, 1
/* 8025065C 0024D5BC 38 81 00 28 */ addi r4, r1, 0x28
lbl_80250660:
/* 80250660 0024D5C0 80 7C 00 5C */ lwz r3, 0x5c(r28)
/* 80250664 0024D5C4 38 A0 00 00 */ li r5, 0
/* 80250668 0024D5C8 38 63 00 D4 */ addi r3, r3, 0xd4
/* 8025066C 0024D5CC 48 07 92 19 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>"
/* 80250670 0024D5D0 7F 00 07 75 */ extsb. r0, r24
/* 80250674 0024D5D4 41 82 00 0C */ beq lbl_80250680
/* 80250678 0024D5D8 38 61 00 28 */ addi r3, r1, 0x28
/* 8025067C 0024D5DC 48 0E CA B9 */ bl "internal_dereference__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>Fv"
lbl_80250680:
/* 80250680 0024D5E0 2C 1E FF FF */ cmpwi r30, -1
/* 80250684 0024D5E4 3B 00 00 00 */ li r24, 0
/* 80250688 0024D5E8 40 82 00 0C */ bne lbl_80250694
/* 8025068C 0024D5EC 38 81 00 98 */ addi r4, r1, 0x98
/* 80250690 0024D5F0 48 00 00 24 */ b lbl_802506B4
lbl_80250694:
/* 80250694 0024D5F4 7F 63 DB 78 */ mr r3, r27
/* 80250698 0024D5F8 7F C4 F3 78 */ mr r4, r30
/* 8025069C 0024D5FC 48 10 60 61 */ bl GetString__12CStringTableCFi
/* 802506A0 0024D600 7C 64 1B 78 */ mr r4, r3
/* 802506A4 0024D604 38 61 00 18 */ addi r3, r1, 0x18
/* 802506A8 0024D608 4B DC 53 49 */ bl wstring_l__4rstlFPCw
/* 802506AC 0024D60C 3B 00 00 01 */ li r24, 1
/* 802506B0 0024D610 38 81 00 18 */ addi r4, r1, 0x18
lbl_802506B4:
/* 802506B4 0024D614 80 7C 00 60 */ lwz r3, 0x60(r28)
/* 802506B8 0024D618 38 A0 00 00 */ li r5, 0
/* 802506BC 0024D61C 38 63 00 D4 */ addi r3, r3, 0xd4
/* 802506C0 0024D620 48 07 91 C5 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>"
/* 802506C4 0024D624 7F 00 07 75 */ extsb. r0, r24
/* 802506C8 0024D628 41 82 00 0C */ beq lbl_802506D4
/* 802506CC 0024D62C 38 61 00 18 */ addi r3, r1, 0x18
/* 802506D0 0024D630 48 0E CA 65 */ bl "internal_dereference__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>Fv"
lbl_802506D4:
/* 802506D4 0024D634 2C 1D FF FF */ cmpwi r29, -1
/* 802506D8 0024D638 3B 00 00 00 */ li r24, 0
/* 802506DC 0024D63C 40 82 00 0C */ bne lbl_802506E8
/* 802506E0 0024D640 38 81 00 98 */ addi r4, r1, 0x98
/* 802506E4 0024D644 48 00 00 24 */ b lbl_80250708
lbl_802506E8:
/* 802506E8 0024D648 7F 63 DB 78 */ mr r3, r27
/* 802506EC 0024D64C 7F A4 EB 78 */ mr r4, r29
/* 802506F0 0024D650 48 10 60 0D */ bl GetString__12CStringTableCFi
/* 802506F4 0024D654 7C 64 1B 78 */ mr r4, r3
/* 802506F8 0024D658 38 61 00 08 */ addi r3, r1, 8
/* 802506FC 0024D65C 4B DC 52 F5 */ bl wstring_l__4rstlFPCw
/* 80250700 0024D660 3B 00 00 01 */ li r24, 1
/* 80250704 0024D664 38 81 00 08 */ addi r4, r1, 8
lbl_80250708:
/* 80250708 0024D668 80 7C 00 64 */ lwz r3, 0x64(r28)
/* 8025070C 0024D66C 38 A0 00 00 */ li r5, 0
/* 80250710 0024D670 38 63 00 D4 */ addi r3, r3, 0xd4
/* 80250714 0024D674 48 07 91 71 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>"
/* 80250718 0024D678 7F 00 07 75 */ extsb. r0, r24
/* 8025071C 0024D67C 41 82 00 0C */ beq lbl_80250728
/* 80250720 0024D680 38 61 00 08 */ addi r3, r1, 8
/* 80250724 0024D684 48 0E CA 11 */ bl "internal_dereference__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>Fv"
lbl_80250728:
/* 80250728 0024D688 80 7C 00 68 */ lwz r3, 0x68(r28)
/* 8025072C 0024D68C 38 81 00 98 */ addi r4, r1, 0x98
/* 80250730 0024D690 38 A0 00 00 */ li r5, 0
/* 80250734 0024D694 38 63 00 D4 */ addi r3, r3, 0xd4
/* 80250738 0024D698 48 07 91 4D */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>"
/* 8025073C 0024D69C 80 DC 00 5C */ lwz r6, 0x5c(r28)
/* 80250740 0024D6A0 20 7F FF FF */ subfic r3, r31, -1
/* 80250744 0024D6A4 38 1F 00 01 */ addi r0, r31, 1
/* 80250748 0024D6A8 38 A0 00 00 */ li r5, 0
/* 8025074C 0024D6AC 7C 60 03 78 */ or r0, r3, r0
/* 80250750 0024D6B0 88 86 00 B6 */ lbz r4, 0xb6(r6)
/* 80250754 0024D6B4 50 04 2E F6 */ rlwimi r4, r0, 5, 0x1b, 0x1b
/* 80250758 0024D6B8 20 7E FF FF */ subfic r3, r30, -1
/* 8025075C 0024D6BC 98 86 00 B6 */ stb r4, 0xb6(r6)
/* 80250760 0024D6C0 38 1E 00 01 */ addi r0, r30, 1
/* 80250764 0024D6C4 7C 60 03 78 */ or r0, r3, r0
/* 80250768 0024D6C8 20 7D FF FF */ subfic r3, r29, -1
/* 8025076C 0024D6CC 80 9C 00 60 */ lwz r4, 0x60(r28)
/* 80250770 0024D6D0 54 06 0F FE */ srwi r6, r0, 0x1f
/* 80250774 0024D6D4 38 1D 00 01 */ addi r0, r29, 1
/* 80250778 0024D6D8 2C 1F FF FF */ cmpwi r31, -1
/* 8025077C 0024D6DC 7C 60 03 78 */ or r0, r3, r0
/* 80250780 0024D6E0 88 64 00 B6 */ lbz r3, 0xb6(r4)
/* 80250784 0024D6E4 50 C3 26 F6 */ rlwimi r3, r6, 4, 0x1b, 0x1b
/* 80250788 0024D6E8 98 64 00 B6 */ stb r3, 0xb6(r4)
/* 8025078C 0024D6EC 54 06 0F FE */ srwi r6, r0, 0x1f
/* 80250790 0024D6F0 38 80 00 01 */ li r4, 1
/* 80250794 0024D6F4 80 7C 00 64 */ lwz r3, 0x64(r28)
/* 80250798 0024D6F8 88 03 00 B6 */ lbz r0, 0xb6(r3)
/* 8025079C 0024D6FC 50 C0 26 F6 */ rlwimi r0, r6, 4, 0x1b, 0x1b
/* 802507A0 0024D700 98 03 00 B6 */ stb r0, 0xb6(r3)
/* 802507A4 0024D704 80 7C 00 68 */ lwz r3, 0x68(r28)
/* 802507A8 0024D708 88 03 00 B6 */ lbz r0, 0xb6(r3)
/* 802507AC 0024D70C 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b
/* 802507B0 0024D710 98 03 00 B6 */ stb r0, 0xb6(r3)
/* 802507B4 0024D714 80 7C 00 58 */ lwz r3, 0x58(r28)
/* 802507B8 0024D718 80 03 00 C4 */ lwz r0, 0xc4(r3)
/* 802507BC 0024D71C 90 03 00 C8 */ stw r0, 0xc8(r3)
/* 802507C0 0024D720 90 A3 00 C4 */ stw r5, 0xc4(r3)
/* 802507C4 0024D724 40 82 00 14 */ bne lbl_802507D8
/* 802507C8 0024D728 2C 1E FF FF */ cmpwi r30, -1
/* 802507CC 0024D72C 40 82 00 0C */ bne lbl_802507D8
/* 802507D0 0024D730 2C 1D FF FF */ cmpwi r29, -1
/* 802507D4 0024D734 41 82 00 08 */ beq lbl_802507DC
lbl_802507D8:
/* 802507D8 0024D738 38 A0 00 01 */ li r5, 1
lbl_802507DC:
/* 802507DC 0024D73C 54 A0 06 3F */ clrlwi. r0, r5, 0x18
/* 802507E0 0024D740 40 82 00 08 */ bne lbl_802507E8
/* 802507E4 0024D744 38 80 00 00 */ li r4, 0
lbl_802507E8:
/* 802507E8 0024D748 80 7C 00 58 */ lwz r3, 0x58(r28)
/* 802507EC 0024D74C 48 07 9D F9 */ bl SetIsActive__10CGuiWidgetFb
/* 802507F0 0024D750 7F 83 E3 78 */ mr r3, r28
/* 802507F4 0024D754 4B FF E9 81 */ bl SetUIColors__15CSaveGameScreenFv
/* 802507F8 0024D758 38 61 00 78 */ addi r3, r1, 0x78
/* 802507FC 0024D75C 48 0E C9 39 */ bl "internal_dereference__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>Fv"
/* 80250800 0024D760 38 61 00 88 */ addi r3, r1, 0x88
/* 80250804 0024D764 48 0E C9 31 */ bl "internal_dereference__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>Fv"
/* 80250808 0024D768 38 61 00 98 */ addi r3, r1, 0x98
/* 8025080C 0024D76C 48 0E C9 29 */ bl "internal_dereference__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>Fv"
/* 80250810 0024D770 BB 01 00 B0 */ lmw r24, 0xb0(r1)
/* 80250814 0024D774 80 01 00 D4 */ lwz r0, 0xd4(r1)
/* 80250818 0024D778 7C 08 03 A6 */ mtlr r0
/* 8025081C 0024D77C 38 21 00 D0 */ addi r1, r1, 0xd0
/* 80250820 0024D780 4E 80 00 20 */ blr
.global SelectUIType__15CSaveGameScreenFv
SelectUIType__15CSaveGameScreenFv:
/* 80250824 0024D784 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80250828 0024D788 7C 08 02 A6 */ mflr r0
/* 8025082C 0024D78C 90 01 00 14 */ stw r0, 0x14(r1)
/* 80250830 0024D790 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80250834 0024D794 93 C1 00 08 */ stw r30, 8(r1)
/* 80250838 0024D798 80 83 00 6C */ lwz r4, 0x6c(r3)
/* 8025083C 0024D79C 83 E4 00 10 */ lwz r31, 0x10(r4)
/* 80250840 0024D7A0 83 C4 00 14 */ lwz r30, 0x14(r4)
/* 80250844 0024D7A4 2C 1F 00 02 */ cmpwi r31, 2
/* 80250848 0024D7A8 40 82 00 0C */ bne lbl_80250854
/* 8025084C 0024D7AC 38 60 00 03 */ li r3, 3
/* 80250850 0024D7B0 48 00 00 EC */ b lbl_8025093C
lbl_80250854:
/* 80250854 0024D7B4 80 03 00 10 */ lwz r0, 0x10(r3)
/* 80250858 0024D7B8 2C 00 00 0D */ cmpwi r0, 0xd
/* 8025085C 0024D7BC 41 82 00 14 */ beq lbl_80250870
/* 80250860 0024D7C0 2C 00 00 0F */ cmpwi r0, 0xf
/* 80250864 0024D7C4 41 82 00 0C */ beq lbl_80250870
/* 80250868 0024D7C8 2C 00 00 0E */ cmpwi r0, 0xe
/* 8025086C 0024D7CC 40 82 00 0C */ bne lbl_80250878
lbl_80250870:
/* 80250870 0024D7D0 80 63 00 10 */ lwz r3, 0x10(r3)
/* 80250874 0024D7D4 48 00 00 C8 */ b lbl_8025093C
lbl_80250878:
/* 80250878 0024D7D8 7F E3 FB 78 */ mr r3, r31
/* 8025087C 0024D7DC 4B FF E8 D1 */ bl IsCardBusy__17CMemoryCardDriverF6EState
/* 80250880 0024D7E0 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80250884 0024D7E4 41 82 00 20 */ beq lbl_802508A4
/* 80250888 0024D7E8 7F E3 FB 78 */ mr r3, r31
/* 8025088C 0024D7EC 4B FF E8 65 */ bl IsCardWriting__17CMemoryCardDriverF6EState
/* 80250890 0024D7F0 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80250894 0024D7F4 38 60 00 02 */ li r3, 2
/* 80250898 0024D7F8 41 82 00 A4 */ beq lbl_8025093C
/* 8025089C 0024D7FC 38 60 00 01 */ li r3, 1
/* 802508A0 0024D800 48 00 00 9C */ b lbl_8025093C
lbl_802508A4:
/* 802508A4 0024D804 2C 1F 00 01 */ cmpwi r31, 1
/* 802508A8 0024D808 40 82 00 18 */ bne lbl_802508C0
/* 802508AC 0024D80C 2C 1E 00 06 */ cmpwi r30, 6
/* 802508B0 0024D810 38 60 00 10 */ li r3, 0x10
/* 802508B4 0024D814 40 82 00 88 */ bne lbl_8025093C
/* 802508B8 0024D818 38 60 00 0C */ li r3, 0xc
/* 802508BC 0024D81C 48 00 00 80 */ b lbl_8025093C
lbl_802508C0:
/* 802508C0 0024D820 2C 1E 00 01 */ cmpwi r30, 1
/* 802508C4 0024D824 40 82 00 0C */ bne lbl_802508D0
/* 802508C8 0024D828 38 60 00 04 */ li r3, 4
/* 802508CC 0024D82C 48 00 00 70 */ b lbl_8025093C
lbl_802508D0:
/* 802508D0 0024D830 2C 1E 00 02 */ cmpwi r30, 2
/* 802508D4 0024D834 40 82 00 0C */ bne lbl_802508E0
/* 802508D8 0024D838 38 60 00 05 */ li r3, 5
/* 802508DC 0024D83C 48 00 00 60 */ b lbl_8025093C
lbl_802508E0:
/* 802508E0 0024D840 2C 1E 00 04 */ cmpwi r30, 4
/* 802508E4 0024D844 40 82 00 0C */ bne lbl_802508F0
/* 802508E8 0024D848 38 60 00 07 */ li r3, 7
/* 802508EC 0024D84C 48 00 00 50 */ b lbl_8025093C
lbl_802508F0:
/* 802508F0 0024D850 2C 1E 00 05 */ cmpwi r30, 5
/* 802508F4 0024D854 40 82 00 18 */ bne lbl_8025090C
/* 802508F8 0024D858 2C 1F 00 14 */ cmpwi r31, 0x14
/* 802508FC 0024D85C 38 60 00 09 */ li r3, 9
/* 80250900 0024D860 40 82 00 3C */ bne lbl_8025093C
/* 80250904 0024D864 38 60 00 08 */ li r3, 8
/* 80250908 0024D868 48 00 00 34 */ b lbl_8025093C
lbl_8025090C:
/* 8025090C 0024D86C 2C 1E 00 07 */ cmpwi r30, 7
/* 80250910 0024D870 40 82 00 0C */ bne lbl_8025091C
/* 80250914 0024D874 38 60 00 0A */ li r3, 0xa
/* 80250918 0024D878 48 00 00 24 */ b lbl_8025093C
lbl_8025091C:
/* 8025091C 0024D87C 2C 1E 00 09 */ cmpwi r30, 9
/* 80250920 0024D880 40 82 00 0C */ bne lbl_8025092C
/* 80250924 0024D884 38 60 00 0B */ li r3, 0xb
/* 80250928 0024D888 48 00 00 14 */ b lbl_8025093C
lbl_8025092C:
/* 8025092C 0024D88C 2C 1E 00 03 */ cmpwi r30, 3
/* 80250930 0024D890 38 60 00 00 */ li r3, 0
/* 80250934 0024D894 40 82 00 08 */ bne lbl_8025093C
/* 80250938 0024D898 38 60 00 06 */ li r3, 6
lbl_8025093C:
/* 8025093C 0024D89C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80250940 0024D8A0 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80250944 0024D8A4 83 C1 00 08 */ lwz r30, 8(r1)
/* 80250948 0024D8A8 7C 08 03 A6 */ mtlr r0
/* 8025094C 0024D8AC 38 21 00 10 */ addi r1, r1, 0x10
/* 80250950 0024D8B0 4E 80 00 20 */ blr
.global IsHiddenFromFrontEnd__15CSaveGameScreenFv
IsHiddenFromFrontEnd__15CSaveGameScreenFv:
/* 80250954 0024D8B4 2C 03 00 10 */ cmpwi r3, 0x10
/* 80250958 0024D8B8 41 82 00 1C */ beq lbl_80250974
/* 8025095C 0024D8BC 40 80 00 20 */ bge lbl_8025097C
/* 80250960 0024D8C0 2C 03 00 03 */ cmpwi r3, 3
/* 80250964 0024D8C4 40 80 00 18 */ bge lbl_8025097C
/* 80250968 0024D8C8 2C 03 00 00 */ cmpwi r3, 0
/* 8025096C 0024D8CC 40 80 00 08 */ bge lbl_80250974
/* 80250970 0024D8D0 48 00 00 0C */ b lbl_8025097C
lbl_80250974:
/* 80250974 0024D8D4 38 60 00 00 */ li r3, 0
/* 80250978 0024D8D8 4E 80 00 20 */ blr
lbl_8025097C:
/* 8025097C 0024D8DC 38 60 00 01 */ li r3, 1
/* 80250980 0024D8E0 4E 80 00 20 */ blr
.global sub_80250984
sub_80250984:
/* 80250984 0024D8E4 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80250988 0024D8E8 7C 08 02 A6 */ mflr r0
/* 8025098C 0024D8EC 90 01 00 34 */ stw r0, 0x34(r1)
/* 80250990 0024D8F0 BF 41 00 18 */ stmw r26, 0x18(r1)
/* 80250994 0024D8F4 7C 9F 23 78 */ mr r31, r4
/* 80250998 0024D8F8 7C 7E 1B 78 */ mr r30, r3
/* 8025099C 0024D8FC 80 03 00 08 */ lwz r0, 8(r3)
/* 802509A0 0024D900 7C 1F 00 00 */ cmpw r31, r0
/* 802509A4 0024D904 40 81 00 C4 */ ble lbl_80250A68
/* 802509A8 0024D908 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c
/* 802509AC 0024D90C 40 82 00 0C */ bne lbl_802509B8
/* 802509B0 0024D910 3B 80 00 00 */ li r28, 0
/* 802509B4 0024D914 48 00 00 1C */ b lbl_802509D0
lbl_802509B8:
/* 802509B8 0024D918 3C 80 80 3D */ lis r4, lbl_803D4A90@ha
/* 802509BC 0024D91C 38 A0 00 00 */ li r5, 0
/* 802509C0 0024D920 38 84 4A 90 */ addi r4, r4, lbl_803D4A90@l
/* 802509C4 0024D924 38 84 00 B7 */ addi r4, r4, 0xb7
/* 802509C8 0024D928 48 0C 4E 51 */ bl __nwa__FUlPCcPCc
/* 802509CC 0024D92C 7C 7C 1B 78 */ mr r28, r3
lbl_802509D0:
/* 802509D0 0024D930 80 1E 00 04 */ lwz r0, 4(r30)
/* 802509D4 0024D934 7F 9B E3 78 */ mr r27, r28
/* 802509D8 0024D938 83 5E 00 0C */ lwz r26, 0xc(r30)
/* 802509DC 0024D93C 54 00 18 38 */ slwi r0, r0, 3
/* 802509E0 0024D940 7F BA 02 14 */ add r29, r26, r0
/* 802509E4 0024D944 93 41 00 10 */ stw r26, 0x10(r1)
/* 802509E8 0024D948 93 A1 00 08 */ stw r29, 8(r1)
/* 802509EC 0024D94C 93 A1 00 0C */ stw r29, 0xc(r1)
/* 802509F0 0024D950 93 41 00 14 */ stw r26, 0x14(r1)
/* 802509F4 0024D954 48 00 00 20 */ b lbl_80250A14
lbl_802509F8:
/* 802509F8 0024D958 28 1B 00 00 */ cmplwi r27, 0
/* 802509FC 0024D95C 41 82 00 10 */ beq lbl_80250A0C
/* 80250A00 0024D960 7F 63 DB 78 */ mr r3, r27
/* 80250A04 0024D964 7F 44 D3 78 */ mr r4, r26
/* 80250A08 0024D968 48 0F 04 A1 */ bl __ct__6CTokenFRC6CToken
lbl_80250A0C:
/* 80250A0C 0024D96C 3B 7B 00 08 */ addi r27, r27, 8
/* 80250A10 0024D970 3B 5A 00 08 */ addi r26, r26, 8
lbl_80250A14:
/* 80250A14 0024D974 7C 1A E8 40 */ cmplw r26, r29
/* 80250A18 0024D978 40 82 FF E0 */ bne lbl_802509F8
/* 80250A1C 0024D97C 80 1E 00 04 */ lwz r0, 4(r30)
/* 80250A20 0024D980 83 5E 00 0C */ lwz r26, 0xc(r30)
/* 80250A24 0024D984 54 00 18 38 */ slwi r0, r0, 3
/* 80250A28 0024D988 7F 7A 02 14 */ add r27, r26, r0
/* 80250A2C 0024D98C 48 00 00 1C */ b lbl_80250A48
lbl_80250A30:
/* 80250A30 0024D990 28 1A 00 00 */ cmplwi r26, 0
/* 80250A34 0024D994 41 82 00 10 */ beq lbl_80250A44
/* 80250A38 0024D998 7F 43 D3 78 */ mr r3, r26
/* 80250A3C 0024D99C 38 80 00 00 */ li r4, 0
/* 80250A40 0024D9A0 48 0F 04 01 */ bl __dt__6CTokenFv
lbl_80250A44:
/* 80250A44 0024D9A4 3B 5A 00 08 */ addi r26, r26, 8
lbl_80250A48:
/* 80250A48 0024D9A8 7C 1A D8 40 */ cmplw r26, r27
/* 80250A4C 0024D9AC 40 82 FF E4 */ bne lbl_80250A30
/* 80250A50 0024D9B0 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 80250A54 0024D9B4 28 03 00 00 */ cmplwi r3, 0
/* 80250A58 0024D9B8 41 82 00 08 */ beq lbl_80250A60
/* 80250A5C 0024D9BC 48 0C 4E D5 */ bl Free__7CMemoryFPCv
lbl_80250A60:
/* 80250A60 0024D9C0 93 9E 00 0C */ stw r28, 0xc(r30)
/* 80250A64 0024D9C4 93 FE 00 08 */ stw r31, 8(r30)
lbl_80250A68:
/* 80250A68 0024D9C8 BB 41 00 18 */ lmw r26, 0x18(r1)
/* 80250A6C 0024D9CC 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80250A70 0024D9D0 7C 08 03 A6 */ mtlr r0
/* 80250A74 0024D9D4 38 21 00 30 */ addi r1, r1, 0x30
/* 80250A78 0024D9D8 4E 80 00 20 */ blr