prime/asm/MetroidPrime/CQuitGameScreen.s

495 lines
25 KiB
ArmAsm

.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global SetColors__15CQuitGameScreenFv
SetColors__15CQuitGameScreenFv:
/* 802444A0 00241400 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 802444A4 00241404 7C 08 02 A6 */ mflr r0
/* 802444A8 00241408 38 A0 00 C8 */ li r5, 0xc8
/* 802444AC 0024140C 38 80 00 FF */ li r4, 0xff
/* 802444B0 00241410 90 01 00 24 */ stw r0, 0x24(r1)
/* 802444B4 00241414 38 00 00 32 */ li r0, 0x32
/* 802444B8 00241418 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 802444BC 0024141C 93 C1 00 18 */ stw r30, 0x18(r1)
/* 802444C0 00241420 3B C0 00 00 */ li r30, 0
/* 802444C4 00241424 93 A1 00 14 */ stw r29, 0x14(r1)
/* 802444C8 00241428 7C 7D 1B 78 */ mr r29, r3
/* 802444CC 0024142C 98 A1 00 0C */ stb r5, 0xc(r1)
/* 802444D0 00241430 98 A1 00 0D */ stb r5, 0xd(r1)
/* 802444D4 00241434 98 A1 00 0E */ stb r5, 0xe(r1)
/* 802444D8 00241438 98 81 00 0F */ stb r4, 0xf(r1)
/* 802444DC 0024143C 98 01 00 08 */ stb r0, 8(r1)
/* 802444E0 00241440 98 01 00 09 */ stb r0, 9(r1)
/* 802444E4 00241444 98 01 00 0A */ stb r0, 0xa(r1)
/* 802444E8 00241448 98 81 00 0B */ stb r4, 0xb(r1)
/* 802444EC 0024144C 80 63 00 14 */ lwz r3, 0x14(r3)
/* 802444F0 00241450 83 E3 00 C4 */ lwz r31, 0xc4(r3)
lbl_802444F4:
/* 802444F4 00241454 80 7D 00 14 */ lwz r3, 0x14(r29)
/* 802444F8 00241458 7F C4 F3 78 */ mr r4, r30
/* 802444FC 0024145C 81 83 00 00 */ lwz r12, 0(r3)
/* 80244500 00241460 81 8C 00 3C */ lwz r12, 0x3c(r12)
/* 80244504 00241464 7D 89 03 A6 */ mtctr r12
/* 80244508 00241468 4E 80 04 21 */ bctrl
/* 8024450C 0024146C 7C 1E F8 00 */ cmpw r30, r31
/* 80244510 00241470 38 81 00 08 */ addi r4, r1, 8
/* 80244514 00241474 40 82 00 08 */ bne lbl_8024451C
/* 80244518 00241478 38 81 00 0C */ addi r4, r1, 0xc
lbl_8024451C:
/* 8024451C 0024147C 48 08 63 51 */ bl SetColor__10CGuiWidgetFRC6CColor
/* 80244520 00241480 3B DE 00 01 */ addi r30, r30, 1
/* 80244524 00241484 2C 1E 00 02 */ cmpwi r30, 2
/* 80244528 00241488 41 80 FF CC */ blt lbl_802444F4
/* 8024452C 0024148C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80244530 00241490 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80244534 00241494 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80244538 00241498 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 8024453C 0024149C 7C 08 03 A6 */ mtlr r0
/* 80244540 002414A0 38 21 00 20 */ addi r1, r1, 0x20
/* 80244544 002414A4 4E 80 00 20 */ blr
.global FinishedLoading__15CQuitGameScreenFv
FinishedLoading__15CQuitGameScreenFv:
/* 80244548 002414A8 94 21 FF 40 */ stwu r1, -0xc0(r1)
/* 8024454C 002414AC 7C 08 02 A6 */ mflr r0
/* 80244550 002414B0 90 01 00 C4 */ stw r0, 0xc4(r1)
/* 80244554 002414B4 93 E1 00 BC */ stw r31, 0xbc(r1)
/* 80244558 002414B8 7C 7F 1B 78 */ mr r31, r3
/* 8024455C 002414BC 3C 60 80 3D */ lis r3, lbl_803D45B4@ha
/* 80244560 002414C0 93 C1 00 B8 */ stw r30, 0xb8(r1)
/* 80244564 002414C4 38 63 45 B4 */ addi r3, r3, lbl_803D45B4@l
/* 80244568 002414C8 38 83 01 3B */ addi r4, r3, 0x13b
/* 8024456C 002414CC 80 1F 00 0C */ lwz r0, 0xc(r31)
/* 80244570 002414D0 90 1F 00 10 */ stw r0, 0x10(r31)
/* 80244574 002414D4 80 7F 00 10 */ lwz r3, 0x10(r31)
/* 80244578 002414D8 48 07 DB DD */ bl FindWidget__9CGuiFrameCFPCc
/* 8024457C 002414DC 90 7F 00 14 */ stw r3, 0x14(r31)
/* 80244580 002414E0 3C 80 80 3F */ lis r4, lbl_803E8708@ha
/* 80244584 002414E4 38 00 00 00 */ li r0, 0
/* 80244588 002414E8 38 61 00 14 */ addi r3, r1, 0x14
/* 8024458C 002414EC 80 DF 00 14 */ lwz r6, 0x14(r31)
/* 80244590 002414F0 39 04 87 08 */ addi r8, r4, lbl_803E8708@l
/* 80244594 002414F4 38 81 00 5C */ addi r4, r1, 0x5c
/* 80244598 002414F8 38 A0 00 0C */ li r5, 0xc
/* 8024459C 002414FC 98 06 00 D1 */ stb r0, 0xd1(r6)
/* 802445A0 00241500 80 E8 00 00 */ lwz r7, 0(r8)
/* 802445A4 00241504 80 C8 00 04 */ lwz r6, 4(r8)
/* 802445A8 00241508 80 08 00 08 */ lwz r0, 8(r8)
/* 802445AC 0024150C 90 E1 00 5C */ stw r7, 0x5c(r1)
/* 802445B0 00241510 90 C1 00 60 */ stw r6, 0x60(r1)
/* 802445B4 00241514 90 01 00 64 */ stw r0, 0x64(r1)
/* 802445B8 00241518 4B DB EE D9 */ bl memcpy
/* 802445BC 0024151C 3C 60 80 24 */ lis r3, sub_80244800@ha
/* 802445C0 00241520 93 E1 00 84 */ stw r31, 0x84(r1)
/* 802445C4 00241524 38 03 48 00 */ addi r0, r3, sub_80244800@l
/* 802445C8 00241528 38 61 00 88 */ addi r3, r1, 0x88
/* 802445CC 0024152C 90 01 00 80 */ stw r0, 0x80(r1)
/* 802445D0 00241530 38 81 00 14 */ addi r4, r1, 0x14
/* 802445D4 00241534 38 A0 00 0C */ li r5, 0xc
/* 802445D8 00241538 4B DB EE B9 */ bl memcpy
/* 802445DC 0024153C 80 7F 00 14 */ lwz r3, 0x14(r31)
/* 802445E0 00241540 38 81 00 80 */ addi r4, r1, 0x80
/* 802445E4 00241544 48 08 22 75 */ bl "SetMenuAdvanceCallback__14CGuiTableGroupFRC29TFunctor1<CP14CGuiTableGroup>"
/* 802445E8 00241548 3C 80 80 3F */ lis r4, lbl_803E8714@ha
/* 802445EC 0024154C 38 61 00 08 */ addi r3, r1, 8
/* 802445F0 00241550 39 04 87 14 */ addi r8, r4, lbl_803E8714@l
/* 802445F4 00241554 38 81 00 50 */ addi r4, r1, 0x50
/* 802445F8 00241558 80 E8 00 00 */ lwz r7, 0(r8)
/* 802445FC 0024155C 38 A0 00 0C */ li r5, 0xc
/* 80244600 00241560 80 C8 00 04 */ lwz r6, 4(r8)
/* 80244604 00241564 80 08 00 08 */ lwz r0, 8(r8)
/* 80244608 00241568 90 E1 00 50 */ stw r7, 0x50(r1)
/* 8024460C 0024156C 90 C1 00 54 */ stw r6, 0x54(r1)
/* 80244610 00241570 90 01 00 58 */ stw r0, 0x58(r1)
/* 80244614 00241574 4B DB EE 7D */ bl memcpy
/* 80244618 00241578 3C 60 80 24 */ lis r3, sub_8024479c@ha
/* 8024461C 0024157C 93 E1 00 6C */ stw r31, 0x6c(r1)
/* 80244620 00241580 38 03 47 9C */ addi r0, r3, sub_8024479c@l
/* 80244624 00241584 38 61 00 70 */ addi r3, r1, 0x70
/* 80244628 00241588 90 01 00 68 */ stw r0, 0x68(r1)
/* 8024462C 0024158C 38 81 00 08 */ addi r4, r1, 8
/* 80244630 00241590 38 A0 00 0C */ li r5, 0xc
/* 80244634 00241594 4B DB EE 5D */ bl memcpy
/* 80244638 00241598 80 7F 00 14 */ lwz r3, 0x14(r31)
/* 8024463C 0024159C 38 81 00 68 */ addi r4, r1, 0x68
/* 80244640 002415A0 48 08 21 B1 */ bl "SetMenuSelectionChangeCallback__14CGuiTableGroupFRC35TFunctor3<CP14CGuiTableGroup,Ci,Ci>"
/* 80244644 002415A4 3C 80 80 3D */ lis r4, lbl_803D45B4@ha
/* 80244648 002415A8 80 7F 00 10 */ lwz r3, 0x10(r31)
/* 8024464C 002415AC 38 84 45 B4 */ addi r4, r4, lbl_803D45B4@l
/* 80244650 002415B0 38 84 00 C6 */ addi r4, r4, 0xc6
/* 80244654 002415B4 48 07 DB 01 */ bl FindWidget__9CGuiFrameCFPCc
/* 80244658 002415B8 80 1F 00 00 */ lwz r0, 0(r31)
/* 8024465C 002415BC 3C 80 80 3D */ lis r4, lbl_803D43C8@ha
/* 80244660 002415C0 7C 7E 1B 78 */ mr r30, r3
/* 80244664 002415C4 80 6D A0 74 */ lwz r3, gpStringTable@sda21(r13)
/* 80244668 002415C8 54 00 10 3A */ slwi r0, r0, 2
/* 8024466C 002415CC 38 84 43 C8 */ addi r4, r4, lbl_803D43C8@l
/* 80244670 002415D0 7C 84 00 2E */ lwzx r4, r4, r0
/* 80244674 002415D4 48 11 20 89 */ bl GetString__12CStringTableCFi
/* 80244678 002415D8 7C 64 1B 78 */ mr r4, r3
/* 8024467C 002415DC 38 61 00 40 */ addi r3, r1, 0x40
/* 80244680 002415E0 4B DD 13 71 */ bl wstring_l__4rstlFPCw
/* 80244684 002415E4 38 7E 00 D4 */ addi r3, r30, 0xd4
/* 80244688 002415E8 38 81 00 40 */ addi r4, r1, 0x40
/* 8024468C 002415EC 38 A0 00 00 */ li r5, 0
/* 80244690 002415F0 48 08 51 F5 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>"
/* 80244694 002415F4 38 61 00 40 */ addi r3, r1, 0x40
/* 80244698 002415F8 48 0F 8A 9D */ bl "internal_dereference__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>Fv"
/* 8024469C 002415FC 3C 80 80 3D */ lis r4, lbl_803D45B4@ha
/* 802446A0 00241600 80 7F 00 10 */ lwz r3, 0x10(r31)
/* 802446A4 00241604 38 84 45 B4 */ addi r4, r4, lbl_803D45B4@l
/* 802446A8 00241608 38 84 01 4F */ addi r4, r4, 0x14f
/* 802446AC 0024160C 48 07 DA A9 */ bl FindWidget__9CGuiFrameCFPCc
/* 802446B0 00241610 7C 7E 1B 78 */ mr r30, r3
/* 802446B4 00241614 80 6D A0 74 */ lwz r3, gpStringTable@sda21(r13)
/* 802446B8 00241618 38 80 00 16 */ li r4, 0x16
/* 802446BC 0024161C 48 11 20 41 */ bl GetString__12CStringTableCFi
/* 802446C0 00241620 7C 64 1B 78 */ mr r4, r3
/* 802446C4 00241624 38 61 00 30 */ addi r3, r1, 0x30
/* 802446C8 00241628 4B DD 13 29 */ bl wstring_l__4rstlFPCw
/* 802446CC 0024162C 38 7E 00 D4 */ addi r3, r30, 0xd4
/* 802446D0 00241630 38 81 00 30 */ addi r4, r1, 0x30
/* 802446D4 00241634 38 A0 00 00 */ li r5, 0
/* 802446D8 00241638 48 08 51 AD */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>"
/* 802446DC 0024163C 38 61 00 30 */ addi r3, r1, 0x30
/* 802446E0 00241640 48 0F 8A 55 */ bl "internal_dereference__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>Fv"
/* 802446E4 00241644 3C 80 80 3D */ lis r4, lbl_803D45B4@ha
/* 802446E8 00241648 80 7F 00 10 */ lwz r3, 0x10(r31)
/* 802446EC 0024164C 38 84 45 B4 */ addi r4, r4, lbl_803D45B4@l
/* 802446F0 00241650 38 84 01 5C */ addi r4, r4, 0x15c
/* 802446F4 00241654 48 07 DA 61 */ bl FindWidget__9CGuiFrameCFPCc
/* 802446F8 00241658 7C 7E 1B 78 */ mr r30, r3
/* 802446FC 0024165C 80 6D A0 74 */ lwz r3, gpStringTable@sda21(r13)
/* 80244700 00241660 38 80 00 17 */ li r4, 0x17
/* 80244704 00241664 48 11 1F F9 */ bl GetString__12CStringTableCFi
/* 80244708 00241668 7C 64 1B 78 */ mr r4, r3
/* 8024470C 0024166C 38 61 00 20 */ addi r3, r1, 0x20
/* 80244710 00241670 4B DD 12 E1 */ bl wstring_l__4rstlFPCw
/* 80244714 00241674 38 7E 00 D4 */ addi r3, r30, 0xd4
/* 80244718 00241678 38 81 00 20 */ addi r4, r1, 0x20
/* 8024471C 0024167C 38 A0 00 00 */ li r5, 0
/* 80244720 00241680 48 08 51 65 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>"
/* 80244724 00241684 38 61 00 20 */ addi r3, r1, 0x20
/* 80244728 00241688 48 0F 8A 0D */ bl "internal_dereference__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>Fv"
/* 8024472C 0024168C 3C 60 80 3D */ lis r3, lbl_803D43F0@ha
/* 80244730 00241690 81 7F 00 14 */ lwz r11, 0x14(r31)
/* 80244734 00241694 38 C3 43 F0 */ addi r6, r3, lbl_803D43F0@l
/* 80244738 00241698 80 1F 00 00 */ lwz r0, 0(r31)
/* 8024473C 0024169C 81 46 00 00 */ lwz r10, 0(r6)
/* 80244740 002416A0 38 81 00 98 */ addi r4, r1, 0x98
/* 80244744 002416A4 81 26 00 04 */ lwz r9, 4(r6)
/* 80244748 002416A8 54 05 10 3A */ slwi r5, r0, 2
/* 8024474C 002416AC 81 06 00 08 */ lwz r8, 8(r6)
/* 80244750 002416B0 7F E3 FB 78 */ mr r3, r31
/* 80244754 002416B4 80 E6 00 0C */ lwz r7, 0xc(r6)
/* 80244758 002416B8 80 C6 00 10 */ lwz r6, 0x10(r6)
/* 8024475C 002416BC 80 0B 00 C4 */ lwz r0, 0xc4(r11)
/* 80244760 002416C0 91 41 00 98 */ stw r10, 0x98(r1)
/* 80244764 002416C4 91 21 00 9C */ stw r9, 0x9c(r1)
/* 80244768 002416C8 91 01 00 A0 */ stw r8, 0xa0(r1)
/* 8024476C 002416CC 90 E1 00 A4 */ stw r7, 0xa4(r1)
/* 80244770 002416D0 90 C1 00 A8 */ stw r6, 0xa8(r1)
/* 80244774 002416D4 90 0B 00 C8 */ stw r0, 0xc8(r11)
/* 80244778 002416D8 7C 04 28 2E */ lwzx r0, r4, r5
/* 8024477C 002416DC 90 0B 00 C4 */ stw r0, 0xc4(r11)
/* 80244780 002416E0 4B FF FD 21 */ bl SetColors__15CQuitGameScreenFv
/* 80244784 002416E4 80 01 00 C4 */ lwz r0, 0xc4(r1)
/* 80244788 002416E8 83 E1 00 BC */ lwz r31, 0xbc(r1)
/* 8024478C 002416EC 83 C1 00 B8 */ lwz r30, 0xb8(r1)
/* 80244790 002416F0 7C 08 03 A6 */ mtlr r0
/* 80244794 002416F4 38 21 00 C0 */ addi r1, r1, 0xc0
/* 80244798 002416F8 4E 80 00 20 */ blr
.global sub_8024479c
sub_8024479c:
/* 8024479C 002416FC 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 802447A0 00241700 7C 08 02 A6 */ mflr r0
/* 802447A4 00241704 90 01 00 34 */ stw r0, 0x34(r1)
/* 802447A8 00241708 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 802447AC 0024170C 7C DF 33 78 */ mr r31, r6
/* 802447B0 00241710 93 C1 00 28 */ stw r30, 0x28(r1)
/* 802447B4 00241714 7C BE 2B 78 */ mr r30, r5
/* 802447B8 00241718 38 A0 00 0C */ li r5, 0xc
/* 802447BC 0024171C 93 A1 00 24 */ stw r29, 0x24(r1)
/* 802447C0 00241720 7C 7D 1B 78 */ mr r29, r3
/* 802447C4 00241724 38 61 00 08 */ addi r3, r1, 8
/* 802447C8 00241728 4B DB EC C9 */ bl memcpy
/* 802447CC 0024172C 7F A3 EB 78 */ mr r3, r29
/* 802447D0 00241730 7F C4 F3 78 */ mr r4, r30
/* 802447D4 00241734 7F E5 FB 78 */ mr r5, r31
/* 802447D8 00241738 39 81 00 08 */ addi r12, r1, 8
/* 802447DC 0024173C 48 14 51 51 */ bl __ptmf_scall
/* 802447E0 00241740 60 00 00 00 */ nop
/* 802447E4 00241744 80 01 00 34 */ lwz r0, 0x34(r1)
/* 802447E8 00241748 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 802447EC 0024174C 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 802447F0 00241750 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 802447F4 00241754 7C 08 03 A6 */ mtlr r0
/* 802447F8 00241758 38 21 00 30 */ addi r1, r1, 0x30
/* 802447FC 0024175C 4E 80 00 20 */ blr
.global sub_80244800
sub_80244800:
/* 80244800 00241760 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80244804 00241764 7C 08 02 A6 */ mflr r0
/* 80244808 00241768 90 01 00 24 */ stw r0, 0x24(r1)
/* 8024480C 0024176C 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80244810 00241770 7C BF 2B 78 */ mr r31, r5
/* 80244814 00241774 38 A0 00 0C */ li r5, 0xc
/* 80244818 00241778 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8024481C 0024177C 7C 7E 1B 78 */ mr r30, r3
/* 80244820 00241780 38 61 00 08 */ addi r3, r1, 8
/* 80244824 00241784 4B DB EC 6D */ bl memcpy
/* 80244828 00241788 7F C3 F3 78 */ mr r3, r30
/* 8024482C 0024178C 7F E4 FB 78 */ mr r4, r31
/* 80244830 00241790 39 81 00 08 */ addi r12, r1, 8
/* 80244834 00241794 48 14 50 F9 */ bl __ptmf_scall
/* 80244838 00241798 60 00 00 00 */ nop
/* 8024483C 0024179C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80244840 002417A0 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80244844 002417A4 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80244848 002417A8 7C 08 03 A6 */ mtlr r0
/* 8024484C 002417AC 38 21 00 20 */ addi r1, r1, 0x20
/* 80244850 002417B0 4E 80 00 20 */ blr
.global DoSelectionChange__15CQuitGameScreenFP14CGuiTableGroup
DoSelectionChange__15CQuitGameScreenFP14CGuiTableGroup:
/* 80244854 002417B4 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80244858 002417B8 7C 08 02 A6 */ mflr r0
/* 8024485C 002417BC 90 01 00 14 */ stw r0, 0x14(r1)
/* 80244860 002417C0 4B FF FC 41 */ bl SetColors__15CQuitGameScreenFv
/* 80244864 002417C4 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2)
/* 80244868 002417C8 38 61 00 08 */ addi r3, r1, 8
/* 8024486C 002417CC 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2)
/* 80244870 002417D0 38 80 05 90 */ li r4, 0x590
/* 80244874 002417D4 38 A0 00 7F */ li r5, 0x7f
/* 80244878 002417D8 38 C0 00 40 */ li r6, 0x40
/* 8024487C 002417DC 38 E0 00 00 */ li r7, 0
/* 80244880 002417E0 39 20 00 00 */ li r9, 0
/* 80244884 002417E4 48 0A 54 F1 */ bl SfxStart__11CSfxManagerFUsssbsbi
/* 80244888 002417E8 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8024488C 002417EC 7C 08 03 A6 */ mtlr r0
/* 80244890 002417F0 38 21 00 10 */ addi r1, r1, 0x10
/* 80244894 002417F4 4E 80 00 20 */ blr
.global DoAdvance__15CQuitGameScreenFP14CGuiTableGroup
DoAdvance__15CQuitGameScreenFP14CGuiTableGroup:
/* 80244898 002417F8 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8024489C 002417FC 7C 08 02 A6 */ mflr r0
/* 802448A0 00241800 90 01 00 24 */ stw r0, 0x24(r1)
/* 802448A4 00241804 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 802448A8 00241808 7C 7F 1B 78 */ mr r31, r3
/* 802448AC 0024180C 80 04 00 C4 */ lwz r0, 0xc4(r4)
/* 802448B0 00241810 2C 00 00 00 */ cmpwi r0, 0
/* 802448B4 00241814 40 82 00 34 */ bne lbl_802448E8
/* 802448B8 00241818 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2)
/* 802448BC 0024181C 38 61 00 0C */ addi r3, r1, 0xc
/* 802448C0 00241820 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2)
/* 802448C4 00241824 38 80 05 98 */ li r4, 0x598
/* 802448C8 00241828 38 A0 00 7F */ li r5, 0x7f
/* 802448CC 0024182C 38 C0 00 40 */ li r6, 0x40
/* 802448D0 00241830 38 E0 00 00 */ li r7, 0
/* 802448D4 00241834 39 20 00 00 */ li r9, 0
/* 802448D8 00241838 48 0A 54 9D */ bl SfxStart__11CSfxManagerFUsssbsbi
/* 802448DC 0024183C 38 00 00 01 */ li r0, 1
/* 802448E0 00241840 90 1F 00 18 */ stw r0, 0x18(r31)
/* 802448E4 00241844 48 00 00 30 */ b lbl_80244914
lbl_802448E8:
/* 802448E8 00241848 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2)
/* 802448EC 0024184C 38 61 00 08 */ addi r3, r1, 8
/* 802448F0 00241850 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2)
/* 802448F4 00241854 38 80 05 97 */ li r4, 0x597
/* 802448F8 00241858 38 A0 00 7F */ li r5, 0x7f
/* 802448FC 0024185C 38 C0 00 40 */ li r6, 0x40
/* 80244900 00241860 38 E0 00 00 */ li r7, 0
/* 80244904 00241864 39 20 00 00 */ li r9, 0
/* 80244908 00241868 48 0A 54 6D */ bl SfxStart__11CSfxManagerFUsssbsbi
/* 8024490C 0024186C 38 00 00 02 */ li r0, 2
/* 80244910 00241870 90 1F 00 18 */ stw r0, 0x18(r31)
lbl_80244914:
/* 80244914 00241874 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80244918 00241878 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8024491C 0024187C 7C 08 03 A6 */ mtlr r0
/* 80244920 00241880 38 21 00 20 */ addi r1, r1, 0x20
/* 80244924 00241884 4E 80 00 20 */ blr
.global Update__15CQuitGameScreenFv
Update__15CQuitGameScreenFv:
/* 80244928 00241888 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8024492C 0024188C 7C 08 02 A6 */ mflr r0
/* 80244930 00241890 90 01 00 14 */ stw r0, 0x14(r1)
/* 80244934 00241894 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80244938 00241898 7C 7F 1B 78 */ mr r31, r3
/* 8024493C 0024189C 80 03 00 10 */ lwz r0, 0x10(r3)
/* 80244940 002418A0 28 00 00 00 */ cmplwi r0, 0
/* 80244944 002418A4 40 82 00 60 */ bne lbl_802449A4
/* 80244948 002418A8 80 1F 00 0C */ lwz r0, 0xc(r31)
/* 8024494C 002418AC 28 00 00 00 */ cmplwi r0, 0
/* 80244950 002418B0 41 82 00 0C */ beq lbl_8024495C
/* 80244954 002418B4 38 60 00 01 */ li r3, 1
/* 80244958 002418B8 48 00 00 3C */ b lbl_80244994
lbl_8024495C:
/* 8024495C 002418BC 88 1F 00 08 */ lbz r0, 8(r31)
/* 80244960 002418C0 28 00 00 00 */ cmplwi r0, 0
/* 80244964 002418C4 41 82 00 2C */ beq lbl_80244990
/* 80244968 002418C8 80 7F 00 04 */ lwz r3, 4(r31)
/* 8024496C 002418CC 80 03 00 10 */ lwz r0, 0x10(r3)
/* 80244970 002418D0 28 00 00 00 */ cmplwi r0, 0
/* 80244974 002418D4 41 82 00 1C */ beq lbl_80244990
/* 80244978 002418D8 38 7F 00 04 */ addi r3, r31, 4
/* 8024497C 002418DC 48 0F C4 91 */ bl GetObj__6CTokenFv
/* 80244980 002418E0 80 03 00 04 */ lwz r0, 4(r3)
/* 80244984 002418E4 38 60 00 01 */ li r3, 1
/* 80244988 002418E8 90 1F 00 0C */ stw r0, 0xc(r31)
/* 8024498C 002418EC 48 00 00 08 */ b lbl_80244994
lbl_80244990:
/* 80244990 002418F0 38 60 00 00 */ li r3, 0
lbl_80244994:
/* 80244994 002418F4 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80244998 002418F8 41 82 00 0C */ beq lbl_802449A4
/* 8024499C 002418FC 7F E3 FB 78 */ mr r3, r31
/* 802449A0 00241900 4B FF FB A9 */ bl FinishedLoading__15CQuitGameScreenFv
lbl_802449A4:
/* 802449A4 00241904 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802449A8 00241908 80 7F 00 18 */ lwz r3, 0x18(r31)
/* 802449AC 0024190C 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 802449B0 00241910 7C 08 03 A6 */ mtlr r0
/* 802449B4 00241914 38 21 00 10 */ addi r1, r1, 0x10
/* 802449B8 00241918 4E 80 00 20 */ blr
.global Draw__15CQuitGameScreenFv
Draw__15CQuitGameScreenFv:
/* 802449BC 0024191C 94 21 FF B0 */ stwu r1, -0x50(r1)
/* 802449C0 00241920 7C 08 02 A6 */ mflr r0
/* 802449C4 00241924 90 01 00 54 */ stw r0, 0x54(r1)
/* 802449C8 00241928 DB E1 00 40 */ stfd f31, 0x40(r1)
/* 802449CC 0024192C F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0
/* 802449D0 00241930 93 E1 00 3C */ stw r31, 0x3c(r1)
/* 802449D4 00241934 7C 7F 1B 78 */ mr r31, r3
/* 802449D8 00241938 80 03 00 00 */ lwz r0, 0(r3)
/* 802449DC 0024193C 2C 00 00 00 */ cmpwi r0, 0
/* 802449E0 00241940 40 82 00 38 */ bne lbl_80244A18
/* 802449E4 00241944 48 10 55 D1 */ bl Black__6CColorFv
/* 802449E8 00241948 C3 E2 B8 38 */ lfs f31, lbl_805AD558@sda21(r2)
/* 802449EC 0024194C F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2
/* 802449F0 00241950 38 A1 00 0C */ addi r5, r1, 0xc
/* 802449F4 00241954 80 E3 00 00 */ lwz r7, 0(r3)
/* 802449F8 00241958 38 60 00 05 */ li r3, 5
/* 802449FC 0024195C 88 01 00 08 */ lbz r0, 8(r1)
/* 80244A00 00241960 38 80 00 00 */ li r4, 0
/* 80244A04 00241964 50 E0 00 2E */ rlwimi r0, r7, 0, 0, 0x17
/* 80244A08 00241968 C0 22 B8 14 */ lfs f1, lbl_805AD534@sda21(r2)
/* 80244A0C 0024196C 90 01 00 0C */ stw r0, 0xc(r1)
/* 80244A10 00241970 38 C0 00 00 */ li r6, 0
/* 80244A14 00241974 4B EA 77 35 */ bl DrawFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapeRC6CColorPC8CTexturef
lbl_80244A18:
/* 80244A18 00241978 3C 80 80 3D */ lis r4, lbl_803D43DC@ha
/* 80244A1C 0024197C 80 7F 00 10 */ lwz r3, 0x10(r31)
/* 80244A20 00241980 39 04 43 DC */ addi r8, r4, lbl_803D43DC@l
/* 80244A24 00241984 80 E8 00 00 */ lwz r7, 0(r8)
/* 80244A28 00241988 28 03 00 00 */ cmplwi r3, 0
/* 80244A2C 0024198C 80 C8 00 04 */ lwz r6, 4(r8)
/* 80244A30 00241990 80 A8 00 08 */ lwz r5, 8(r8)
/* 80244A34 00241994 80 88 00 0C */ lwz r4, 0xc(r8)
/* 80244A38 00241998 80 08 00 10 */ lwz r0, 0x10(r8)
/* 80244A3C 0024199C 90 E1 00 20 */ stw r7, 0x20(r1)
/* 80244A40 002419A0 90 C1 00 24 */ stw r6, 0x24(r1)
/* 80244A44 002419A4 90 A1 00 28 */ stw r5, 0x28(r1)
/* 80244A48 002419A8 90 81 00 2C */ stw r4, 0x2c(r1)
/* 80244A4C 002419AC 90 01 00 30 */ stw r0, 0x30(r1)
/* 80244A50 002419B0 41 82 00 34 */ beq lbl_80244A84
/* 80244A54 002419B4 80 1F 00 00 */ lwz r0, 0(r31)
/* 80244A58 002419B8 38 81 00 20 */ addi r4, r1, 0x20
/* 80244A5C 002419BC C0 02 B8 10 */ lfs f0, lbl_805AD530@sda21(r2)
/* 80244A60 002419C0 54 00 10 3A */ slwi r0, r0, 2
/* 80244A64 002419C4 C0 22 B8 14 */ lfs f1, lbl_805AD534@sda21(r2)
/* 80244A68 002419C8 7C 44 04 2E */ lfsx f2, r4, r0
/* 80244A6C 002419CC 38 81 00 10 */ addi r4, r1, 0x10
/* 80244A70 002419D0 D0 21 00 10 */ stfs f1, 0x10(r1)
/* 80244A74 002419D4 D0 01 00 14 */ stfs f0, 0x14(r1)
/* 80244A78 002419D8 D0 01 00 18 */ stfs f0, 0x18(r1)
/* 80244A7C 002419DC D0 41 00 1C */ stfs f2, 0x1c(r1)
/* 80244A80 002419E0 48 07 DC B5 */ bl Draw__9CGuiFrameCFRC19CGuiWidgetDrawParms
lbl_80244A84:
/* 80244A84 002419E4 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0
/* 80244A88 002419E8 80 01 00 54 */ lwz r0, 0x54(r1)
/* 80244A8C 002419EC CB E1 00 40 */ lfd f31, 0x40(r1)
/* 80244A90 002419F0 83 E1 00 3C */ lwz r31, 0x3c(r1)
/* 80244A94 002419F4 7C 08 03 A6 */ mtlr r0
/* 80244A98 002419F8 38 21 00 50 */ addi r1, r1, 0x50
/* 80244A9C 002419FC 4E 80 00 20 */ blr
.global ProcessUserInput__15CQuitGameScreenFRC11CFinalInput
ProcessUserInput__15CQuitGameScreenFRC11CFinalInput:
/* 80244AA0 00241A00 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80244AA4 00241A04 7C 08 02 A6 */ mflr r0
/* 80244AA8 00241A08 90 01 00 14 */ stw r0, 0x14(r1)
/* 80244AAC 00241A0C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80244AB0 00241A10 7C 9F 23 78 */ mr r31, r4
/* 80244AB4 00241A14 93 C1 00 08 */ stw r30, 8(r1)
/* 80244AB8 00241A18 7C 7E 1B 78 */ mr r30, r3
/* 80244ABC 00241A1C 80 04 00 04 */ lwz r0, 4(r4)
/* 80244AC0 00241A20 2C 00 00 00 */ cmpwi r0, 0
/* 80244AC4 00241A24 40 82 00 34 */ bne lbl_80244AF8
/* 80244AC8 00241A28 80 7E 00 10 */ lwz r3, 0x10(r30)
/* 80244ACC 00241A2C 28 03 00 00 */ cmplwi r3, 0
/* 80244AD0 00241A30 41 82 00 28 */ beq lbl_80244AF8
/* 80244AD4 00241A34 48 07 DB 85 */ bl ProcessUserInput__9CGuiFrameFRC11CFinalInput
/* 80244AD8 00241A38 88 1F 00 2D */ lbz r0, 0x2d(r31)
/* 80244ADC 00241A3C 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f
/* 80244AE0 00241A40 41 82 00 18 */ beq lbl_80244AF8
/* 80244AE4 00241A44 80 1E 00 00 */ lwz r0, 0(r30)
/* 80244AE8 00241A48 2C 00 00 01 */ cmpwi r0, 1
/* 80244AEC 00241A4C 41 82 00 0C */ beq lbl_80244AF8
/* 80244AF0 00241A50 38 00 00 02 */ li r0, 2
/* 80244AF4 00241A54 90 1E 00 18 */ stw r0, 0x18(r30)
lbl_80244AF8:
/* 80244AF8 00241A58 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80244AFC 00241A5C 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80244B00 00241A60 83 C1 00 08 */ lwz r30, 8(r1)
/* 80244B04 00241A64 7C 08 03 A6 */ mtlr r0
/* 80244B08 00241A68 38 21 00 10 */ addi r1, r1, 0x10
/* 80244B0C 00241A6C 4E 80 00 20 */ blr
.global __ct__15CQuitGameScreenF9EQuitType
__ct__15CQuitGameScreenF9EQuitType:
/* 80244B10 00241A70 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80244B14 00241A74 7C 08 02 A6 */ mflr r0
/* 80244B18 00241A78 90 01 00 24 */ stw r0, 0x24(r1)
/* 80244B1C 00241A7C 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80244B20 00241A80 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80244B24 00241A84 7C 7E 1B 78 */ mr r30, r3
/* 80244B28 00241A88 3C 60 80 3D */ lis r3, lbl_803D45B4@ha
/* 80244B2C 00241A8C 90 9E 00 00 */ stw r4, 0(r30)
/* 80244B30 00241A90 38 A3 45 B4 */ addi r5, r3, lbl_803D45B4@l
/* 80244B34 00241A94 38 61 00 08 */ addi r3, r1, 8
/* 80244B38 00241A98 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
/* 80244B3C 00241A9C 38 A5 01 68 */ addi r5, r5, 0x168
/* 80244B40 00241AA0 81 84 00 00 */ lwz r12, 0(r4)
/* 80244B44 00241AA4 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 80244B48 00241AA8 7D 89 03 A6 */ mtctr r12
/* 80244B4C 00241AAC 4E 80 04 21 */ bctrl
/* 80244B50 00241AB0 3B FE 00 04 */ addi r31, r30, 4
/* 80244B54 00241AB4 38 81 00 08 */ addi r4, r1, 8
/* 80244B58 00241AB8 7F E3 FB 78 */ mr r3, r31
/* 80244B5C 00241ABC 48 0F C3 4D */ bl __ct__6CTokenFRC6CToken
/* 80244B60 00241AC0 38 00 00 00 */ li r0, 0
/* 80244B64 00241AC4 38 61 00 08 */ addi r3, r1, 8
/* 80244B68 00241AC8 90 1F 00 08 */ stw r0, 8(r31)
/* 80244B6C 00241ACC 38 80 FF FF */ li r4, -1
/* 80244B70 00241AD0 48 0F C2 D1 */ bl __dt__6CTokenFv
/* 80244B74 00241AD4 38 00 00 00 */ li r0, 0
/* 80244B78 00241AD8 7F E3 FB 78 */ mr r3, r31
/* 80244B7C 00241ADC 90 1E 00 10 */ stw r0, 0x10(r30)
/* 80244B80 00241AE0 90 1E 00 14 */ stw r0, 0x14(r30)
/* 80244B84 00241AE4 90 1E 00 18 */ stw r0, 0x18(r30)
/* 80244B88 00241AE8 48 0F C1 FD */ bl Lock__6CTokenFv
/* 80244B8C 00241AEC 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80244B90 00241AF0 7F C3 F3 78 */ mr r3, r30
/* 80244B94 00241AF4 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80244B98 00241AF8 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80244B9C 00241AFC 7C 08 03 A6 */ mtlr r0
/* 80244BA0 00241B00 38 21 00 20 */ addi r1, r1, 0x20
/* 80244BA4 00241B04 4E 80 00 20 */ blr