prime/asm/MetroidPrime/CSlideShow.s

5659 lines
280 KiB
ArmAsm
Raw Normal View History

.include "macros.inc"
2022-08-10 05:34:11 +00:00
.section .ctors, "wa"
lbl_ctor:
.4byte __sinit_CSlideShow_cpp
2022-04-18 04:19:18 +00:00
.section .data
.balign 8
2022-04-18 04:19:18 +00:00
.global lbl_803EBFB8
lbl_803EBFB8:
# ROM: 0x3E8FB8
.4byte 0
.4byte 0
.4byte __dt__10CSlideShowFv
.4byte OnMessage__10CSlideShowFv
.4byte GetIsContinueDraw__10CSlideShowFv
.4byte Draw__10CSlideShowFv
.4byte PreDraw__6CIOWinCFv
.global lbl_803EBFD4
lbl_803EBFD4:
# ROM: 0x3E8FD4
.4byte lbl_8029C030
.4byte lbl_8029BFF0
.4byte lbl_8029C010
.4byte lbl_8029C030
.4byte lbl_8029C000
.4byte lbl_8029BFF8
.4byte lbl_8029C008
.4byte lbl_8029C030
.4byte lbl_8029C020
.4byte lbl_8029C028
.4byte lbl_8029C018
2022-04-18 04:29:59 +00:00
.section .sbss2, "", @nobits
.balign 8
2022-04-18 04:29:59 +00:00
# CSlideShow
.global lbl_805AF478
lbl_805AF478:
.skip 0x4
.global lbl_805AF47C
lbl_805AF47C:
.skip 0x4
2022-04-23 07:19:32 +00:00
.section .sdata
.balign 8
2022-04-23 07:19:32 +00:00
.global lbl_805A8590
lbl_805A8590:
# ROM: 0x3F5F30
.4byte 0
.global lbl_805A8594
lbl_805A8594:
# ROM: 0x3F5F34
.4byte 0
.global lbl_805A8598
lbl_805A8598:
# ROM: 0x3F5F38
2022-07-18 05:20:04 +00:00
.float 1.0
2022-04-23 07:19:32 +00:00
.global lbl_805A859C
lbl_805A859C:
# ROM: 0x3F5F3C
.4byte 0
.global lbl_805A85A0
lbl_805A85A0:
# ROM: 0x3F5F40
.4byte 0
.global lbl_805A85A4
lbl_805A85A4:
# ROM: 0x3F5F44
.4byte 0
.global lbl_805A85A8
lbl_805A85A8:
# ROM: 0x3F5F48
.4byte 0x00000001
.global lbl_805A85AC
lbl_805A85AC:
# ROM: 0x3F5F4C
.4byte 0
.global lbl_805A85B0
lbl_805A85B0:
# ROM: 0x3F5F50
.4byte 0
.global lbl_805A85B4
lbl_805A85B4:
# ROM: 0x3F5F54
.4byte 0
.global lbl_805A85B8
lbl_805A85B8:
# ROM: 0x3F5F58
2022-07-18 05:20:04 +00:00
.float 1.0
2022-04-23 07:19:32 +00:00
.global lbl_805A85BC
lbl_805A85BC:
# ROM: 0x3F5F5C
.4byte 0
.global lbl_805A85C0
lbl_805A85C0:
# ROM: 0x3F5F60
2022-07-18 05:20:04 +00:00
.float 1.0
2022-04-23 07:19:32 +00:00
.global lbl_805A85C4
lbl_805A85C4:
# ROM: 0x3F5F64
.4byte 0
.global lbl_805A85C8
lbl_805A85C8:
# ROM: 0x3F5F68
.4byte 0
.4byte 0
2022-07-14 05:36:41 +00:00
.section .sbss, "wa"
.balign 8
2022-07-14 05:36:41 +00:00
.global lbl_805A9168
lbl_805A9168:
.skip 0x8
.section .text, "ax"
.global GetIsContinueDraw__10CSlideShowFv
GetIsContinueDraw__10CSlideShowFv:
/* 802979E4 00294944 38 60 00 00 */ li r3, 0
2022-07-14 05:48:03 +00:00
/* 802979E8 00294948 4E 80 00 20 */ blr
.global sub_802979ec
sub_802979ec:
/* 802979EC 0029494C 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 802979F0 00294950 7C 08 02 A6 */ mflr r0
/* 802979F4 00294954 90 01 00 34 */ stw r0, 0x34(r1)
/* 802979F8 00294958 DB E1 00 20 */ stfd f31, 0x20(r1)
/* 802979FC 0029495C F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0
/* 80297A00 00294960 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80297A04 00294964 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80297A08 00294968 7C 7E 1B 78 */ mr r30, r3
/* 80297A0C 0029496C 38 A0 FF FF */ li r5, -1
/* 80297A10 00294970 90 A3 00 04 */ stw r5, 4(r3)
/* 80297A14 00294974 38 61 00 0C */ addi r3, r1, 0xc
/* 80297A18 00294978 38 1E 00 0C */ addi r0, r30, 0xc
/* 80297A1C 0029497C 38 80 00 00 */ li r4, 0
/* 80297A20 00294980 90 BE 00 08 */ stw r5, 8(r30)
/* 80297A24 00294984 7C 03 00 40 */ cmplw r3, r0
/* 80297A28 00294988 98 81 00 0C */ stb r4, 0xc(r1)
/* 80297A2C 0029498C 90 81 00 10 */ stw r4, 0x10(r1)
/* 80297A30 00294990 41 82 00 48 */ beq lbl_80297A78
/* 80297A34 00294994 88 1E 00 0C */ lbz r0, 0xc(r30)
/* 80297A38 00294998 28 00 00 00 */ cmplwi r0, 0
/* 80297A3C 0029499C 41 82 00 24 */ beq lbl_80297A60
/* 80297A40 002949A0 83 FE 00 10 */ lwz r31, 0x10(r30)
/* 80297A44 002949A4 28 1F 00 00 */ cmplwi r31, 0
/* 80297A48 002949A8 41 82 00 18 */ beq lbl_80297A60
/* 80297A4C 002949AC 7F E3 FB 78 */ mr r3, r31
/* 80297A50 002949B0 38 80 00 00 */ li r4, 0
/* 80297A54 002949B4 48 0A 93 ED */ bl __dt__6CTokenFv
/* 80297A58 002949B8 7F E3 FB 78 */ mr r3, r31
/* 80297A5C 002949BC 48 07 DE D5 */ bl Free__7CMemoryFPCv
lbl_80297A60:
/* 80297A60 002949C0 88 61 00 0C */ lbz r3, 0xc(r1)
/* 80297A64 002949C4 38 00 00 00 */ li r0, 0
/* 80297A68 002949C8 98 7E 00 0C */ stb r3, 0xc(r30)
/* 80297A6C 002949CC 80 61 00 10 */ lwz r3, 0x10(r1)
/* 80297A70 002949D0 90 7E 00 10 */ stw r3, 0x10(r30)
/* 80297A74 002949D4 98 01 00 0C */ stb r0, 0xc(r1)
lbl_80297A78:
/* 80297A78 002949D8 88 01 00 0C */ lbz r0, 0xc(r1)
/* 80297A7C 002949DC 28 00 00 00 */ cmplwi r0, 0
/* 80297A80 002949E0 41 82 00 24 */ beq lbl_80297AA4
/* 80297A84 002949E4 83 E1 00 10 */ lwz r31, 0x10(r1)
/* 80297A88 002949E8 28 1F 00 00 */ cmplwi r31, 0
/* 80297A8C 002949EC 41 82 00 18 */ beq lbl_80297AA4
/* 80297A90 002949F0 7F E3 FB 78 */ mr r3, r31
/* 80297A94 002949F4 38 80 00 00 */ li r4, 0
/* 80297A98 002949F8 48 0A 93 A9 */ bl __dt__6CTokenFv
/* 80297A9C 002949FC 7F E3 FB 78 */ mr r3, r31
/* 80297AA0 00294A00 48 07 DE 91 */ bl Free__7CMemoryFPCv
lbl_80297AA4:
/* 80297AA4 00294A04 38 00 00 00 */ li r0, 0
/* 80297AA8 00294A08 38 6D A5 A8 */ addi r3, r13, lbl_805A9168@sda21
/* 80297AAC 00294A0C 98 1E 00 14 */ stb r0, 0x14(r30)
/* 80297AB0 00294A10 C0 0D A5 A8 */ lfs f0, lbl_805A9168@sda21(r13)
/* 80297AB4 00294A14 D0 1E 00 18 */ stfs f0, 0x18(r30)
/* 80297AB8 00294A18 C0 03 00 04 */ lfs f0, 4(r3)
/* 80297ABC 00294A1C D0 1E 00 1C */ stfs f0, 0x1c(r30)
/* 80297AC0 00294A20 C0 0D A5 A8 */ lfs f0, lbl_805A9168@sda21(r13)
/* 80297AC4 00294A24 D0 1E 00 20 */ stfs f0, 0x20(r30)
/* 80297AC8 00294A28 C0 03 00 04 */ lfs f0, 4(r3)
/* 80297ACC 00294A2C D0 1E 00 24 */ stfs f0, 0x24(r30)
/* 80297AD0 00294A30 C0 0D A5 A8 */ lfs f0, lbl_805A9168@sda21(r13)
/* 80297AD4 00294A34 D0 1E 00 28 */ stfs f0, 0x28(r30)
/* 80297AD8 00294A38 C0 03 00 04 */ lfs f0, 4(r3)
/* 80297ADC 00294A3C D0 1E 00 2C */ stfs f0, 0x2c(r30)
/* 80297AE0 00294A40 48 0B 24 CD */ bl White__6CColorFv
/* 80297AE4 00294A44 80 03 00 00 */ lwz r0, 0(r3)
/* 80297AE8 00294A48 C3 E2 BF F0 */ lfs f31, lbl_805ADD10@sda21(r2)
/* 80297AEC 00294A4C 90 1E 00 30 */ stw r0, 0x30(r30)
/* 80297AF0 00294A50 F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2
/* 80297AF4 00294A54 88 01 00 08 */ lbz r0, 8(r1)
/* 80297AF8 00294A58 98 1E 00 33 */ stb r0, 0x33(r30)
/* 80297AFC 00294A5C E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0
/* 80297B00 00294A60 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80297B04 00294A64 CB E1 00 20 */ lfd f31, 0x20(r1)
/* 80297B08 00294A68 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80297B0C 00294A6C 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80297B10 00294A70 7C 08 03 A6 */ mtlr r0
/* 80297B14 00294A74 38 21 00 30 */ addi r1, r1, 0x30
2022-07-14 05:48:03 +00:00
/* 80297B18 00294A78 4E 80 00 20 */ blr
.global sub_80297b1c
sub_80297b1c:
/* 80297B1C 00294A7C 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80297B20 00294A80 7C 08 02 A6 */ mflr r0
/* 80297B24 00294A84 38 A0 00 00 */ li r5, 0
/* 80297B28 00294A88 90 01 00 34 */ stw r0, 0x34(r1)
/* 80297B2C 00294A8C 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 80297B30 00294A90 93 C1 00 28 */ stw r30, 0x28(r1)
/* 80297B34 00294A94 7C 7E 1B 78 */ mr r30, r3
/* 80297B38 00294A98 80 63 00 10 */ lwz r3, 0x10(r3)
/* 80297B3C 00294A9C 28 03 00 00 */ cmplwi r3, 0
/* 80297B40 00294AA0 41 82 00 24 */ beq lbl_80297B64
/* 80297B44 00294AA4 80 83 00 00 */ lwz r4, 0(r3)
/* 80297B48 00294AA8 80 04 00 10 */ lwz r0, 0x10(r4)
/* 80297B4C 00294AAC 28 00 00 00 */ cmplwi r0, 0
/* 80297B50 00294AB0 41 82 00 14 */ beq lbl_80297B64
/* 80297B54 00294AB4 88 1E 00 14 */ lbz r0, 0x14(r30)
/* 80297B58 00294AB8 28 00 00 00 */ cmplwi r0, 0
/* 80297B5C 00294ABC 41 82 00 08 */ beq lbl_80297B64
/* 80297B60 00294AC0 38 A0 00 01 */ li r5, 1
lbl_80297B64:
/* 80297B64 00294AC4 54 A0 06 3F */ clrlwi. r0, r5, 0x18
/* 80297B68 00294AC8 41 82 00 94 */ beq lbl_80297BFC
/* 80297B6C 00294ACC 48 0A 92 A1 */ bl GetObj__6CTokenFv
/* 80297B70 00294AD0 80 83 00 04 */ lwz r4, 4(r3)
/* 80297B74 00294AD4 80 7E 00 10 */ lwz r3, 0x10(r30)
/* 80297B78 00294AD8 AB E4 00 04 */ lha r31, 4(r4)
/* 80297B7C 00294ADC 48 0A 92 91 */ bl GetObj__6CTokenFv
/* 80297B80 00294AE0 80 63 00 04 */ lwz r3, 4(r3)
/* 80297B84 00294AE4 3D 00 43 30 */ lis r8, 0x4330
/* 80297B88 00294AE8 6F E0 80 00 */ xoris r0, r31, 0x8000
/* 80297B8C 00294AEC 91 01 00 18 */ stw r8, 0x18(r1)
/* 80297B90 00294AF0 A8 A3 00 06 */ lha r5, 6(r3)
/* 80297B94 00294AF4 38 7E 00 0C */ addi r3, r30, 0xc
/* 80297B98 00294AF8 C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2)
/* 80297B9C 00294AFC 38 81 00 08 */ addi r4, r1, 8
/* 80297BA0 00294B00 6C A6 80 00 */ xoris r6, r5, 0x8000
/* 80297BA4 00294B04 90 01 00 24 */ stw r0, 0x24(r1)
/* 80297BA8 00294B08 C8 62 BF F8 */ lfd f3, lbl_805ADD18@sda21(r2)
/* 80297BAC 00294B0C 38 BE 00 30 */ addi r5, r30, 0x30
/* 80297BB0 00294B10 90 C1 00 1C */ stw r6, 0x1c(r1)
/* 80297BB4 00294B14 38 DE 00 18 */ addi r6, r30, 0x18
/* 80297BB8 00294B18 C0 BE 00 2C */ lfs f5, 0x2c(r30)
/* 80297BBC 00294B1C 38 FE 00 20 */ addi r7, r30, 0x20
/* 80297BC0 00294B20 91 01 00 20 */ stw r8, 0x20(r1)
/* 80297BC4 00294B24 C8 41 00 18 */ lfd f2, 0x18(r1)
/* 80297BC8 00294B28 C8 21 00 20 */ lfd f1, 0x20(r1)
/* 80297BCC 00294B2C EC 82 18 28 */ fsubs f4, f2, f3
/* 80297BD0 00294B30 C0 5E 00 28 */ lfs f2, 0x28(r30)
/* 80297BD4 00294B34 EC 21 18 28 */ fsubs f1, f1, f3
/* 80297BD8 00294B38 C0 62 BF F4 */ lfs f3, lbl_805ADD14@sda21(r2)
/* 80297BDC 00294B3C D0 01 00 0C */ stfs f0, 0xc(r1)
/* 80297BE0 00294B40 EC 85 20 28 */ fsubs f4, f5, f4
/* 80297BE4 00294B44 EC 02 08 28 */ fsubs f0, f2, f1
/* 80297BE8 00294B48 EC 24 00 F2 */ fmuls f1, f4, f3
/* 80297BEC 00294B4C EC 00 00 F2 */ fmuls f0, f0, f3
/* 80297BF0 00294B50 D0 21 00 10 */ stfs f1, 0x10(r1)
/* 80297BF4 00294B54 D0 01 00 08 */ stfs f0, 8(r1)
/* 80297BF8 00294B58 48 00 41 2D */ bl sub_8029bd24
lbl_80297BFC:
/* 80297BFC 00294B5C 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80297C00 00294B60 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 80297C04 00294B64 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 80297C08 00294B68 7C 08 03 A6 */ mtlr r0
/* 80297C0C 00294B6C 38 21 00 30 */ addi r1, r1, 0x30
2022-07-14 05:48:03 +00:00
/* 80297C10 00294B70 4E 80 00 20 */ blr
.global sub_80297c14
sub_80297c14:
/* 80297C14 00294B74 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 80297C18 00294B78 7C 08 02 A6 */ mflr r0
/* 80297C1C 00294B7C 38 A0 00 00 */ li r5, 0
/* 80297C20 00294B80 90 01 00 44 */ stw r0, 0x44(r1)
/* 80297C24 00294B84 93 E1 00 3C */ stw r31, 0x3c(r1)
/* 80297C28 00294B88 7C 7F 1B 78 */ mr r31, r3
/* 80297C2C 00294B8C 80 63 00 10 */ lwz r3, 0x10(r3)
/* 80297C30 00294B90 28 03 00 00 */ cmplwi r3, 0
/* 80297C34 00294B94 41 82 00 18 */ beq lbl_80297C4C
/* 80297C38 00294B98 80 83 00 00 */ lwz r4, 0(r3)
/* 80297C3C 00294B9C 80 04 00 10 */ lwz r0, 0x10(r4)
/* 80297C40 00294BA0 28 00 00 00 */ cmplwi r0, 0
/* 80297C44 00294BA4 41 82 00 08 */ beq lbl_80297C4C
/* 80297C48 00294BA8 38 A0 00 01 */ li r5, 1
lbl_80297C4C:
/* 80297C4C 00294BAC 54 A0 06 3F */ clrlwi. r0, r5, 0x18
/* 80297C50 00294BB0 41 82 00 FC */ beq lbl_80297D4C
/* 80297C54 00294BB4 48 0A 91 B9 */ bl GetObj__6CTokenFv
/* 80297C58 00294BB8 80 83 00 04 */ lwz r4, 4(r3)
/* 80297C5C 00294BBC 3C 60 80 3F */ lis r3, lbl_803ED910@ha
/* 80297C60 00294BC0 38 A3 D9 10 */ addi r5, r3, lbl_803ED910@l
/* 80297C64 00294BC4 3C E0 43 30 */ lis r7, 0x4330
/* 80297C68 00294BC8 A8 04 00 04 */ lha r0, 4(r4)
/* 80297C6C 00294BCC 38 6D A5 A8 */ addi r3, r13, lbl_805A9168@sda21
/* 80297C70 00294BD0 A8 C4 00 06 */ lha r6, 6(r4)
/* 80297C74 00294BD4 80 85 00 08 */ lwz r4, 8(r5)
/* 80297C78 00294BD8 6C 08 80 00 */ xoris r8, r0, 0x8000
/* 80297C7C 00294BDC 80 05 00 0C */ lwz r0, 0xc(r5)
/* 80297C80 00294BE0 6C C5 80 00 */ xoris r5, r6, 0x8000
/* 80297C84 00294BE4 6C 84 80 00 */ xoris r4, r4, 0x8000
/* 80297C88 00294BE8 91 01 00 1C */ stw r8, 0x1c(r1)
/* 80297C8C 00294BEC 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 80297C90 00294BF0 C8 A2 BF F8 */ lfd f5, lbl_805ADD18@sda21(r2)
/* 80297C94 00294BF4 90 E1 00 18 */ stw r7, 0x18(r1)
/* 80297C98 00294BF8 C0 0D A5 A8 */ lfs f0, lbl_805A9168@sda21(r13)
/* 80297C9C 00294BFC C8 21 00 18 */ lfd f1, 0x18(r1)
/* 80297CA0 00294C00 90 A1 00 24 */ stw r5, 0x24(r1)
/* 80297CA4 00294C04 EC 21 28 28 */ fsubs f1, f1, f5
/* 80297CA8 00294C08 90 E1 00 20 */ stw r7, 0x20(r1)
/* 80297CAC 00294C0C C8 41 00 20 */ lfd f2, 0x20(r1)
/* 80297CB0 00294C10 90 81 00 2C */ stw r4, 0x2c(r1)
/* 80297CB4 00294C14 EC 42 28 28 */ fsubs f2, f2, f5
/* 80297CB8 00294C18 90 E1 00 28 */ stw r7, 0x28(r1)
/* 80297CBC 00294C1C C8 81 00 28 */ lfd f4, 0x28(r1)
/* 80297CC0 00294C20 EC C1 10 24 */ fdivs f6, f1, f2
/* 80297CC4 00294C24 90 01 00 34 */ stw r0, 0x34(r1)
/* 80297CC8 00294C28 90 E1 00 30 */ stw r7, 0x30(r1)
/* 80297CCC 00294C2C C8 61 00 30 */ lfd f3, 0x30(r1)
/* 80297CD0 00294C30 D0 1F 00 18 */ stfs f0, 0x18(r31)
/* 80297CD4 00294C34 C0 03 00 04 */ lfs f0, 4(r3)
/* 80297CD8 00294C38 EC 84 28 28 */ fsubs f4, f4, f5
/* 80297CDC 00294C3C D0 1F 00 1C */ stfs f0, 0x1c(r31)
/* 80297CE0 00294C40 EC 03 28 28 */ fsubs f0, f3, f5
/* 80297CE4 00294C44 EC 04 00 24 */ fdivs f0, f4, f0
/* 80297CE8 00294C48 FC 06 00 00 */ fcmpu cr0, f6, f0
/* 80297CEC 00294C4C 41 82 00 48 */ beq lbl_80297D34
/* 80297CF0 00294C50 FC 06 00 40 */ fcmpo cr0, f6, f0
/* 80297CF4 00294C54 40 81 00 24 */ ble lbl_80297D18
/* 80297CF8 00294C58 EC 41 00 24 */ fdivs f2, f1, f0
/* 80297CFC 00294C5C 38 61 00 10 */ addi r3, r1, 0x10
/* 80297D00 00294C60 48 07 C5 01 */ bl __ct__9CVector2fFff
/* 80297D04 00294C64 C0 01 00 10 */ lfs f0, 0x10(r1)
/* 80297D08 00294C68 D0 1F 00 20 */ stfs f0, 0x20(r31)
/* 80297D0C 00294C6C C0 01 00 14 */ lfs f0, 0x14(r1)
/* 80297D10 00294C70 D0 1F 00 24 */ stfs f0, 0x24(r31)
/* 80297D14 00294C74 48 00 00 20 */ b lbl_80297D34
lbl_80297D18:
/* 80297D18 00294C78 EC 22 00 32 */ fmuls f1, f2, f0
/* 80297D1C 00294C7C 38 61 00 08 */ addi r3, r1, 8
/* 80297D20 00294C80 48 07 C4 E1 */ bl __ct__9CVector2fFff
/* 80297D24 00294C84 C0 01 00 08 */ lfs f0, 8(r1)
/* 80297D28 00294C88 D0 1F 00 20 */ stfs f0, 0x20(r31)
/* 80297D2C 00294C8C C0 01 00 0C */ lfs f0, 0xc(r1)
/* 80297D30 00294C90 D0 1F 00 24 */ stfs f0, 0x24(r31)
lbl_80297D34:
/* 80297D34 00294C94 C0 1F 00 20 */ lfs f0, 0x20(r31)
/* 80297D38 00294C98 38 00 00 01 */ li r0, 1
/* 80297D3C 00294C9C D0 1F 00 28 */ stfs f0, 0x28(r31)
/* 80297D40 00294CA0 C0 1F 00 24 */ lfs f0, 0x24(r31)
/* 80297D44 00294CA4 D0 1F 00 2C */ stfs f0, 0x2c(r31)
/* 80297D48 00294CA8 98 1F 00 14 */ stb r0, 0x14(r31)
lbl_80297D4C:
/* 80297D4C 00294CAC 80 01 00 44 */ lwz r0, 0x44(r1)
/* 80297D50 00294CB0 83 E1 00 3C */ lwz r31, 0x3c(r1)
/* 80297D54 00294CB4 7C 08 03 A6 */ mtlr r0
/* 80297D58 00294CB8 38 21 00 40 */ addi r1, r1, 0x40
2022-07-14 05:48:03 +00:00
/* 80297D5C 00294CBC 4E 80 00 20 */ blr
.global sub_80297d60
sub_80297d60:
/* 80297D60 00294CC0 94 21 FF 20 */ stwu r1, -0xe0(r1)
/* 80297D64 00294CC4 7C 08 02 A6 */ mflr r0
/* 80297D68 00294CC8 90 01 00 E4 */ stw r0, 0xe4(r1)
/* 80297D6C 00294CCC DB E1 00 D0 */ stfd f31, 0xd0(r1)
/* 80297D70 00294CD0 F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0
/* 80297D74 00294CD4 DB C1 00 C0 */ stfd f30, 0xc0(r1)
/* 80297D78 00294CD8 F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0
/* 80297D7C 00294CDC DB A1 00 B0 */ stfd f29, 0xb0(r1)
/* 80297D80 00294CE0 F3 A1 00 B8 */ psq_st f29, 184(r1), 0, qr0
/* 80297D84 00294CE4 DB 81 00 A0 */ stfd f28, 0xa0(r1)
/* 80297D88 00294CE8 F3 81 00 A8 */ psq_st f28, 168(r1), 0, qr0
/* 80297D8C 00294CEC DB 61 00 90 */ stfd f27, 0x90(r1)
/* 80297D90 00294CF0 F3 61 00 98 */ psq_st f27, 152(r1), 0, qr0
/* 80297D94 00294CF4 93 E1 00 8C */ stw r31, 0x8c(r1)
/* 80297D98 00294CF8 93 C1 00 88 */ stw r30, 0x88(r1)
/* 80297D9C 00294CFC 93 A1 00 84 */ stw r29, 0x84(r1)
/* 80297DA0 00294D00 93 81 00 80 */ stw r28, 0x80(r1)
/* 80297DA4 00294D04 7C 7E 1B 78 */ mr r30, r3
/* 80297DA8 00294D08 7C 9F 23 78 */ mr r31, r4
/* 80297DAC 00294D0C 80 63 00 10 */ lwz r3, 0x10(r3)
/* 80297DB0 00294D10 38 A0 00 00 */ li r5, 0
/* 80297DB4 00294D14 28 03 00 00 */ cmplwi r3, 0
/* 80297DB8 00294D18 41 82 00 24 */ beq lbl_80297DDC
/* 80297DBC 00294D1C 80 83 00 00 */ lwz r4, 0(r3)
/* 80297DC0 00294D20 80 04 00 10 */ lwz r0, 0x10(r4)
/* 80297DC4 00294D24 28 00 00 00 */ cmplwi r0, 0
/* 80297DC8 00294D28 41 82 00 14 */ beq lbl_80297DDC
/* 80297DCC 00294D2C 88 1E 00 14 */ lbz r0, 0x14(r30)
/* 80297DD0 00294D30 28 00 00 00 */ cmplwi r0, 0
/* 80297DD4 00294D34 41 82 00 08 */ beq lbl_80297DDC
/* 80297DD8 00294D38 38 A0 00 01 */ li r5, 1
lbl_80297DDC:
/* 80297DDC 00294D3C 54 A0 06 3F */ clrlwi. r0, r5, 0x18
/* 80297DE0 00294D40 41 82 03 98 */ beq lbl_80298178
/* 80297DE4 00294D44 48 0A 90 29 */ bl GetObj__6CTokenFv
/* 80297DE8 00294D48 3C 80 80 3F */ lis r4, lbl_803ED910@ha
/* 80297DEC 00294D4C 3C C0 43 30 */ lis r6, 0x4330
/* 80297DF0 00294D50 38 A4 D9 10 */ addi r5, r4, lbl_803ED910@l
/* 80297DF4 00294D54 81 03 00 04 */ lwz r8, 4(r3)
/* 80297DF8 00294D58 83 A5 00 08 */ lwz r29, 8(r5)
/* 80297DFC 00294D5C 7F E4 FB 78 */ mr r4, r31
/* 80297E00 00294D60 83 85 00 0C */ lwz r28, 0xc(r5)
/* 80297E04 00294D64 38 60 00 2E */ li r3, 0x2e
/* 80297E08 00294D68 6F A5 80 00 */ xoris r5, r29, 0x8000
/* 80297E0C 00294D6C A8 E8 00 04 */ lha r7, 4(r8)
/* 80297E10 00294D70 6F 80 80 00 */ xoris r0, r28, 0x8000
/* 80297E14 00294D74 90 A1 00 74 */ stw r5, 0x74(r1)
/* 80297E18 00294D78 A8 A8 00 06 */ lha r5, 6(r8)
/* 80297E1C 00294D7C 6C E7 80 00 */ xoris r7, r7, 0x8000
/* 80297E20 00294D80 90 C1 00 70 */ stw r6, 0x70(r1)
/* 80297E24 00294D84 C8 42 BF F8 */ lfd f2, lbl_805ADD18@sda21(r2)
/* 80297E28 00294D88 6C A5 80 00 */ xoris r5, r5, 0x8000
/* 80297E2C 00294D8C C8 01 00 70 */ lfd f0, 0x70(r1)
/* 80297E30 00294D90 90 01 00 7C */ stw r0, 0x7c(r1)
/* 80297E34 00294D94 EC 20 10 28 */ fsubs f1, f0, f2
/* 80297E38 00294D98 90 C1 00 78 */ stw r6, 0x78(r1)
/* 80297E3C 00294D9C C8 01 00 78 */ lfd f0, 0x78(r1)
/* 80297E40 00294DA0 90 E1 00 64 */ stw r7, 0x64(r1)
/* 80297E44 00294DA4 EC 00 10 28 */ fsubs f0, f0, f2
/* 80297E48 00294DA8 90 C1 00 60 */ stw r6, 0x60(r1)
/* 80297E4C 00294DAC EF 81 00 24 */ fdivs f28, f1, f0
/* 80297E50 00294DB0 C8 21 00 60 */ lfd f1, 0x60(r1)
/* 80297E54 00294DB4 90 A1 00 6C */ stw r5, 0x6c(r1)
/* 80297E58 00294DB8 90 C1 00 68 */ stw r6, 0x68(r1)
/* 80297E5C 00294DBC C8 01 00 68 */ lfd f0, 0x68(r1)
/* 80297E60 00294DC0 EF E1 10 28 */ fsubs f31, f1, f2
/* 80297E64 00294DC4 EF A0 10 28 */ fsubs f29, f0, f2
/* 80297E68 00294DC8 4B D7 4A B1 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput
/* 80297E6C 00294DCC FF 60 08 90 */ fmr f27, f1
/* 80297E70 00294DD0 7F E4 FB 78 */ mr r4, r31
/* 80297E74 00294DD4 38 60 00 2F */ li r3, 0x2f
/* 80297E78 00294DD8 4B D7 4A A1 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput
/* 80297E7C 00294DDC C0 5E 00 20 */ lfs f2, 0x20(r30)
/* 80297E80 00294DE0 EC 61 D8 28 */ fsubs f3, f1, f27
/* 80297E84 00294DE4 C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2)
/* 80297E88 00294DE8 D0 41 00 58 */ stfs f2, 0x58(r1)
/* 80297E8C 00294DEC FC 00 18 00 */ fcmpu cr0, f0, f3
/* 80297E90 00294DF0 C0 1E 00 24 */ lfs f0, 0x24(r30)
/* 80297E94 00294DF4 D0 01 00 5C */ stfs f0, 0x5c(r1)
/* 80297E98 00294DF8 41 82 00 E4 */ beq lbl_80297F7C
/* 80297E9C 00294DFC D0 41 00 50 */ stfs f2, 0x50(r1)
/* 80297EA0 00294E00 6F A6 80 00 */ xoris r6, r29, 0x8000
/* 80297EA4 00294E04 80 AD A1 50 */ lwz r5, gpTweakSlideShow@sda21(r13)
/* 80297EA8 00294E08 3C 00 43 30 */ lis r0, 0x4330
/* 80297EAC 00294E0C D0 01 00 54 */ stfs f0, 0x54(r1)
/* 80297EB0 00294E10 38 61 00 44 */ addi r3, r1, 0x44
/* 80297EB4 00294E14 C8 22 BF F8 */ lfd f1, lbl_805ADD18@sda21(r2)
/* 80297EB8 00294E18 38 81 00 40 */ addi r4, r1, 0x40
/* 80297EBC 00294E1C C0 45 00 38 */ lfs f2, 0x38(r5)
/* 80297EC0 00294E20 38 A1 00 3C */ addi r5, r1, 0x3c
/* 80297EC4 00294E24 C0 1E 00 20 */ lfs f0, 0x20(r30)
/* 80297EC8 00294E28 EC 62 00 F2 */ fmuls f3, f2, f3
/* 80297ECC 00294E2C 90 C1 00 7C */ stw r6, 0x7c(r1)
/* 80297ED0 00294E30 90 01 00 78 */ stw r0, 0x78(r1)
/* 80297ED4 00294E34 EC 5C 00 FA */ fmadds f2, f28, f3, f0
/* 80297ED8 00294E38 C8 01 00 78 */ lfd f0, 0x78(r1)
/* 80297EDC 00294E3C D0 5E 00 20 */ stfs f2, 0x20(r30)
/* 80297EE0 00294E40 EC 00 08 28 */ fsubs f0, f0, f1
/* 80297EE4 00294E44 C0 3E 00 24 */ lfs f1, 0x24(r30)
/* 80297EE8 00294E48 EC 21 18 2A */ fadds f1, f1, f3
/* 80297EEC 00294E4C D0 3E 00 24 */ stfs f1, 0x24(r30)
/* 80297EF0 00294E50 C0 3E 00 28 */ lfs f1, 0x28(r30)
/* 80297EF4 00294E54 D0 21 00 3C */ stfs f1, 0x3c(r1)
/* 80297EF8 00294E58 C0 3E 00 20 */ lfs f1, 0x20(r30)
/* 80297EFC 00294E5C D0 21 00 40 */ stfs f1, 0x40(r1)
/* 80297F00 00294E60 D0 01 00 44 */ stfs f0, 0x44(r1)
/* 80297F04 00294E64 4B D7 43 B1 */ bl "Clamp<f>__5CMathFRCfRCfRCf"
/* 80297F08 00294E68 C0 03 00 00 */ lfs f0, 0(r3)
/* 80297F0C 00294E6C 6F 83 80 00 */ xoris r3, r28, 0x8000
/* 80297F10 00294E70 3C 00 43 30 */ lis r0, 0x4330
/* 80297F14 00294E74 90 61 00 74 */ stw r3, 0x74(r1)
/* 80297F18 00294E78 C8 22 BF F8 */ lfd f1, lbl_805ADD18@sda21(r2)
/* 80297F1C 00294E7C 38 61 00 38 */ addi r3, r1, 0x38
/* 80297F20 00294E80 D0 1E 00 20 */ stfs f0, 0x20(r30)
/* 80297F24 00294E84 38 81 00 34 */ addi r4, r1, 0x34
/* 80297F28 00294E88 38 A1 00 30 */ addi r5, r1, 0x30
/* 80297F2C 00294E8C 90 01 00 70 */ stw r0, 0x70(r1)
/* 80297F30 00294E90 C0 5E 00 2C */ lfs f2, 0x2c(r30)
/* 80297F34 00294E94 C8 01 00 70 */ lfd f0, 0x70(r1)
/* 80297F38 00294E98 D0 41 00 30 */ stfs f2, 0x30(r1)
/* 80297F3C 00294E9C EC 00 08 28 */ fsubs f0, f0, f1
/* 80297F40 00294EA0 C0 3E 00 24 */ lfs f1, 0x24(r30)
/* 80297F44 00294EA4 D0 21 00 34 */ stfs f1, 0x34(r1)
/* 80297F48 00294EA8 D0 01 00 38 */ stfs f0, 0x38(r1)
/* 80297F4C 00294EAC 4B D7 43 69 */ bl "Clamp<f>__5CMathFRCfRCfRCf"
/* 80297F50 00294EB0 C0 03 00 00 */ lfs f0, 0(r3)
/* 80297F54 00294EB4 38 61 00 50 */ addi r3, r1, 0x50
/* 80297F58 00294EB8 38 9E 00 20 */ addi r4, r30, 0x20
/* 80297F5C 00294EBC D0 1E 00 24 */ stfs f0, 0x24(r30)
/* 80297F60 00294EC0 48 07 C2 09 */ bl sub_80314168
/* 80297F64 00294EC4 C0 22 C0 00 */ lfs f1, lbl_805ADD20@sda21(r2)
/* 80297F68 00294EC8 38 61 00 50 */ addi r3, r1, 0x50
/* 80297F6C 00294ECC 48 07 C1 BD */ bl sub_80314128
/* 80297F70 00294ED0 38 7E 00 18 */ addi r3, r30, 0x18
/* 80297F74 00294ED4 38 81 00 50 */ addi r4, r1, 0x50
/* 80297F78 00294ED8 48 07 C2 15 */ bl __apl__9CVector2fFRC9CVector2f
lbl_80297F7C:
/* 80297F7C 00294EDC 38 61 00 58 */ addi r3, r1, 0x58
/* 80297F80 00294EE0 38 9E 00 20 */ addi r4, r30, 0x20
/* 80297F84 00294EE4 48 07 BF 85 */ bl __eq__FRC9CVector2fRC9CVector2f
/* 80297F88 00294EE8 54 60 06 3E */ clrlwi r0, r3, 0x18
/* 80297F8C 00294EEC 80 7E 00 00 */ lwz r3, 0(r30)
/* 80297F90 00294EF0 7C 00 00 34 */ cntlzw r0, r0
/* 80297F94 00294EF4 54 04 D9 7E */ srwi r4, r0, 5
/* 80297F98 00294EF8 48 00 0B 39 */ bl sub_80298ad0
/* 80297F9C 00294EFC C0 1E 00 18 */ lfs f0, 0x18(r30)
/* 80297FA0 00294F00 7F E4 FB 78 */ mr r4, r31
/* 80297FA4 00294F04 38 60 00 2A */ li r3, 0x2a
/* 80297FA8 00294F08 D0 01 00 48 */ stfs f0, 0x48(r1)
/* 80297FAC 00294F0C C0 1E 00 1C */ lfs f0, 0x1c(r30)
/* 80297FB0 00294F10 D0 01 00 4C */ stfs f0, 0x4c(r1)
/* 80297FB4 00294F14 4B D7 49 65 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput
/* 80297FB8 00294F18 FF 60 08 90 */ fmr f27, f1
/* 80297FBC 00294F1C 7F E4 FB 78 */ mr r4, r31
/* 80297FC0 00294F20 38 60 00 2B */ li r3, 0x2b
/* 80297FC4 00294F24 4B D7 49 55 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput
/* 80297FC8 00294F28 FF 80 08 90 */ fmr f28, f1
/* 80297FCC 00294F2C 7F E4 FB 78 */ mr r4, r31
/* 80297FD0 00294F30 38 60 00 2C */ li r3, 0x2c
/* 80297FD4 00294F34 4B D7 49 45 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput
/* 80297FD8 00294F38 FF C0 08 90 */ fmr f30, f1
/* 80297FDC 00294F3C 7F E4 FB 78 */ mr r4, r31
/* 80297FE0 00294F40 38 60 00 2D */ li r3, 0x2d
/* 80297FE4 00294F44 4B D7 49 35 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput
/* 80297FE8 00294F48 80 6D A1 50 */ lwz r3, gpTweakSlideShow@sda21(r13)
/* 80297FEC 00294F4C 38 81 00 2C */ addi r4, r1, 0x2c
/* 80297FF0 00294F50 C0 1E 00 18 */ lfs f0, 0x18(r30)
/* 80297FF4 00294F54 38 A1 00 28 */ addi r5, r1, 0x28
/* 80297FF8 00294F58 C0 43 00 34 */ lfs f2, 0x34(r3)
/* 80297FFC 00294F5C 38 6D 9A 04 */ addi r3, r13, lbl_805A85C4@sda21
/* 80298000 00294F60 EC 02 07 BC */ fnmsubs f0, f2, f30, f0
/* 80298004 00294F64 D0 1E 00 18 */ stfs f0, 0x18(r30)
/* 80298008 00294F68 C0 1E 00 18 */ lfs f0, 0x18(r30)
/* 8029800C 00294F6C EC 02 00 7A */ fmadds f0, f2, f1, f0
/* 80298010 00294F70 D0 1E 00 18 */ stfs f0, 0x18(r30)
/* 80298014 00294F74 C0 1E 00 1C */ lfs f0, 0x1c(r30)
/* 80298018 00294F78 EC 02 06 FA */ fmadds f0, f2, f27, f0
/* 8029801C 00294F7C D0 1E 00 1C */ stfs f0, 0x1c(r30)
/* 80298020 00294F80 C0 1E 00 1C */ lfs f0, 0x1c(r30)
/* 80298024 00294F84 EC 02 07 3C */ fnmsubs f0, f2, f28, f0
/* 80298028 00294F88 D0 1E 00 1C */ stfs f0, 0x1c(r30)
/* 8029802C 00294F8C C0 3E 00 28 */ lfs f1, 0x28(r30)
/* 80298030 00294F90 C0 1E 00 20 */ lfs f0, 0x20(r30)
/* 80298034 00294F94 EC 01 00 28 */ fsubs f0, f1, f0
/* 80298038 00294F98 D0 01 00 28 */ stfs f0, 0x28(r1)
/* 8029803C 00294F9C C0 1E 00 18 */ lfs f0, 0x18(r30)
/* 80298040 00294FA0 D0 01 00 2C */ stfs f0, 0x2c(r1)
/* 80298044 00294FA4 4B D7 42 71 */ bl "Clamp<f>__5CMathFRCfRCfRCf"
/* 80298048 00294FA8 C0 03 00 00 */ lfs f0, 0(r3)
/* 8029804C 00294FAC 38 81 00 24 */ addi r4, r1, 0x24
/* 80298050 00294FB0 38 A1 00 20 */ addi r5, r1, 0x20
/* 80298054 00294FB4 38 6D 9A 08 */ addi r3, r13, lbl_805A85C8@sda21
/* 80298058 00294FB8 D0 1E 00 18 */ stfs f0, 0x18(r30)
/* 8029805C 00294FBC C0 3E 00 2C */ lfs f1, 0x2c(r30)
/* 80298060 00294FC0 C0 1E 00 24 */ lfs f0, 0x24(r30)
/* 80298064 00294FC4 EC 01 00 28 */ fsubs f0, f1, f0
/* 80298068 00294FC8 D0 01 00 20 */ stfs f0, 0x20(r1)
/* 8029806C 00294FCC C0 1E 00 1C */ lfs f0, 0x1c(r30)
/* 80298070 00294FD0 D0 01 00 24 */ stfs f0, 0x24(r1)
/* 80298074 00294FD4 4B D7 42 41 */ bl "Clamp<f>__5CMathFRCfRCfRCf"
/* 80298078 00294FD8 C0 03 00 00 */ lfs f0, 0(r3)
/* 8029807C 00294FDC C0 22 BF F4 */ lfs f1, lbl_805ADD14@sda21(r2)
/* 80298080 00294FE0 D0 1E 00 1C */ stfs f0, 0x1c(r30)
/* 80298084 00294FE4 C0 62 BF F0 */ lfs f3, lbl_805ADD10@sda21(r2)
/* 80298088 00294FE8 C3 DE 00 20 */ lfs f30, 0x20(r30)
/* 8029808C 00294FEC EC 1E 00 72 */ fmuls f0, f30, f1
/* 80298090 00294FF0 EC 1F 00 78 */ fmsubs f0, f31, f1, f0
/* 80298094 00294FF4 FC 00 18 40 */ fcmpo cr0, f0, f3
/* 80298098 00294FF8 40 81 00 08 */ ble lbl_802980A0
/* 8029809C 00294FFC FC 60 00 90 */ fmr f3, f0
lbl_802980A0:
/* 802980A0 00295000 C0 22 BF F4 */ lfs f1, lbl_805ADD14@sda21(r2)
/* 802980A4 00295004 C0 1E 00 24 */ lfs f0, 0x24(r30)
/* 802980A8 00295008 C3 E2 BF F0 */ lfs f31, lbl_805ADD10@sda21(r2)
/* 802980AC 0029500C EC 00 00 72 */ fmuls f0, f0, f1
/* 802980B0 00295010 EC 1D 00 78 */ fmsubs f0, f29, f1, f0
/* 802980B4 00295014 FC 00 F8 40 */ fcmpo cr0, f0, f31
/* 802980B8 00295018 40 81 00 08 */ ble lbl_802980C0
/* 802980BC 0029501C FF E0 00 90 */ fmr f31, f0
lbl_802980C0:
/* 802980C0 00295020 C0 1E 00 28 */ lfs f0, 0x28(r30)
/* 802980C4 00295024 38 61 00 1C */ addi r3, r1, 0x1c
/* 802980C8 00295028 C0 42 BF F4 */ lfs f2, lbl_805ADD14@sda21(r2)
/* 802980CC 0029502C 38 81 00 18 */ addi r4, r1, 0x18
/* 802980D0 00295030 38 A1 00 14 */ addi r5, r1, 0x14
/* 802980D4 00295034 EC 00 18 BA */ fmadds f0, f0, f2, f3
/* 802980D8 00295038 D0 01 00 14 */ stfs f0, 0x14(r1)
/* 802980DC 0029503C C0 3E 00 20 */ lfs f1, 0x20(r30)
/* 802980E0 00295040 C0 1E 00 18 */ lfs f0, 0x18(r30)
/* 802980E4 00295044 EC 01 00 BA */ fmadds f0, f1, f2, f0
/* 802980E8 00295048 D0 01 00 18 */ stfs f0, 0x18(r1)
/* 802980EC 0029504C C0 1E 00 28 */ lfs f0, 0x28(r30)
/* 802980F0 00295050 EC 00 18 B8 */ fmsubs f0, f0, f2, f3
/* 802980F4 00295054 D0 01 00 1C */ stfs f0, 0x1c(r1)
/* 802980F8 00295058 4B D7 41 BD */ bl "Clamp<f>__5CMathFRCfRCfRCf"
/* 802980FC 0029505C C0 03 00 00 */ lfs f0, 0(r3)
/* 80298100 00295060 38 61 00 10 */ addi r3, r1, 0x10
/* 80298104 00295064 C0 42 BF F4 */ lfs f2, lbl_805ADD14@sda21(r2)
/* 80298108 00295068 38 81 00 0C */ addi r4, r1, 0xc
/* 8029810C 0029506C 38 A1 00 08 */ addi r5, r1, 8
/* 80298110 00295070 EC 1E 00 BC */ fnmsubs f0, f30, f2, f0
/* 80298114 00295074 D0 1E 00 18 */ stfs f0, 0x18(r30)
/* 80298118 00295078 C0 1E 00 2C */ lfs f0, 0x2c(r30)
/* 8029811C 0029507C C3 7E 00 24 */ lfs f27, 0x24(r30)
/* 80298120 00295080 EC 00 F8 BA */ fmadds f0, f0, f2, f31
/* 80298124 00295084 D0 01 00 08 */ stfs f0, 8(r1)
/* 80298128 00295088 C0 3E 00 24 */ lfs f1, 0x24(r30)
/* 8029812C 0029508C C0 1E 00 1C */ lfs f0, 0x1c(r30)
/* 80298130 00295090 EC 01 00 BA */ fmadds f0, f1, f2, f0
/* 80298134 00295094 D0 01 00 0C */ stfs f0, 0xc(r1)
/* 80298138 00295098 C0 1E 00 2C */ lfs f0, 0x2c(r30)
/* 8029813C 0029509C EC 00 F8 B8 */ fmsubs f0, f0, f2, f31
/* 80298140 002950A0 D0 01 00 10 */ stfs f0, 0x10(r1)
/* 80298144 002950A4 4B D7 41 71 */ bl "Clamp<f>__5CMathFRCfRCfRCf"
/* 80298148 002950A8 C0 23 00 00 */ lfs f1, 0(r3)
/* 8029814C 002950AC 38 61 00 48 */ addi r3, r1, 0x48
/* 80298150 002950B0 C0 02 BF F4 */ lfs f0, lbl_805ADD14@sda21(r2)
/* 80298154 002950B4 38 9E 00 18 */ addi r4, r30, 0x18
/* 80298158 002950B8 EC 1B 08 3C */ fnmsubs f0, f27, f0, f1
/* 8029815C 002950BC D0 1E 00 1C */ stfs f0, 0x1c(r30)
/* 80298160 002950C0 48 07 BD A9 */ bl __eq__FRC9CVector2fRC9CVector2f
/* 80298164 002950C4 54 60 06 3E */ clrlwi r0, r3, 0x18
/* 80298168 002950C8 80 7E 00 00 */ lwz r3, 0(r30)
/* 8029816C 002950CC 7C 00 00 34 */ cntlzw r0, r0
/* 80298170 002950D0 54 04 D9 7E */ srwi r4, r0, 5
/* 80298174 002950D4 48 00 09 E1 */ bl sub_80298b54
lbl_80298178:
/* 80298178 002950D8 38 60 00 01 */ li r3, 1
/* 8029817C 002950DC E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0
/* 80298180 002950E0 CB E1 00 D0 */ lfd f31, 0xd0(r1)
/* 80298184 002950E4 E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0
/* 80298188 002950E8 CB C1 00 C0 */ lfd f30, 0xc0(r1)
/* 8029818C 002950EC E3 A1 00 B8 */ psq_l f29, 184(r1), 0, qr0
/* 80298190 002950F0 CB A1 00 B0 */ lfd f29, 0xb0(r1)
/* 80298194 002950F4 E3 81 00 A8 */ psq_l f28, 168(r1), 0, qr0
/* 80298198 002950F8 CB 81 00 A0 */ lfd f28, 0xa0(r1)
/* 8029819C 002950FC E3 61 00 98 */ psq_l f27, 152(r1), 0, qr0
/* 802981A0 00295100 CB 61 00 90 */ lfd f27, 0x90(r1)
/* 802981A4 00295104 83 E1 00 8C */ lwz r31, 0x8c(r1)
/* 802981A8 00295108 83 C1 00 88 */ lwz r30, 0x88(r1)
/* 802981AC 0029510C 83 A1 00 84 */ lwz r29, 0x84(r1)
/* 802981B0 00295110 80 01 00 E4 */ lwz r0, 0xe4(r1)
/* 802981B4 00295114 83 81 00 80 */ lwz r28, 0x80(r1)
/* 802981B8 00295118 7C 08 03 A6 */ mtlr r0
/* 802981BC 0029511C 38 21 00 E0 */ addi r1, r1, 0xe0
2022-07-14 05:48:03 +00:00
/* 802981C0 00295120 4E 80 00 20 */ blr
.global sub_802981c4
sub_802981c4:
/* 802981C4 00295124 94 21 FE B0 */ stwu r1, -0x150(r1)
/* 802981C8 00295128 7C 08 02 A6 */ mflr r0
/* 802981CC 0029512C 90 01 01 54 */ stw r0, 0x154(r1)
/* 802981D0 00295130 DB E1 01 40 */ stfd f31, 0x140(r1)
/* 802981D4 00295134 F3 E1 01 48 */ psq_st f31, 328(r1), 0, qr0
/* 802981D8 00295138 93 E1 01 3C */ stw r31, 0x13c(r1)
/* 802981DC 0029513C 93 C1 01 38 */ stw r30, 0x138(r1)
/* 802981E0 00295140 93 A1 01 34 */ stw r29, 0x134(r1)
/* 802981E4 00295144 7C 7F 1B 78 */ mr r31, r3
/* 802981E8 00295148 80 03 00 38 */ lwz r0, 0x38(r3)
/* 802981EC 0029514C 28 00 00 00 */ cmplwi r0, 0
/* 802981F0 00295150 41 82 02 5C */ beq lbl_8029844C
/* 802981F4 00295154 80 8D A0 68 */ lwz r4, gpRender@sda21(r13)
/* 802981F8 00295158 3C 60 80 3F */ lis r3, lbl_803ED910@ha
/* 802981FC 0029515C 38 C3 D9 10 */ addi r6, r3, lbl_803ED910@l
/* 80298200 00295160 38 61 00 34 */ addi r3, r1, 0x34
/* 80298204 00295164 81 84 00 00 */ lwz r12, 0(r4)
/* 80298208 00295168 38 A0 00 01 */ li r5, 1
/* 8029820C 0029516C 83 C6 00 08 */ lwz r30, 8(r6)
/* 80298210 00295170 81 8C 00 54 */ lwz r12, 0x54(r12)
/* 80298214 00295174 83 A6 00 0C */ lwz r29, 0xc(r6)
/* 80298218 00295178 C0 22 C0 04 */ lfs f1, lbl_805ADD24@sda21(r2)
/* 8029821C 0029517C C0 42 C0 08 */ lfs f2, lbl_805ADD28@sda21(r2)
/* 80298220 00295180 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80298224 00295184 4E 80 04 21 */ bctrl
/* 80298228 00295188 3C 60 80 5A */ lis r3, skIdentity4f@ha
/* 8029822C 0029518C 38 63 66 70 */ addi r3, r3, skIdentity4f@l
/* 80298230 00295190 48 07 45 1D */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f
/* 80298234 00295194 80 7F 00 38 */ lwz r3, 0x38(r31)
/* 80298238 00295198 48 0A 8B D5 */ bl GetObj__6CTokenFv
/* 8029823C 0029519C 80 83 00 04 */ lwz r4, 4(r3)
/* 80298240 002951A0 6F C3 80 00 */ xoris r3, r30, 0x8000
/* 80298244 002951A4 3C 00 43 30 */ lis r0, 0x4330
/* 80298248 002951A8 90 61 01 24 */ stw r3, 0x124(r1)
/* 8029824C 002951AC 80 A4 00 28 */ lwz r5, 0x28(r4)
/* 80298250 002951B0 38 61 00 10 */ addi r3, r1, 0x10
/* 80298254 002951B4 90 01 01 20 */ stw r0, 0x120(r1)
/* 80298258 002951B8 38 81 00 44 */ addi r4, r1, 0x44
/* 8029825C 002951BC C0 65 00 20 */ lfs f3, 0x20(r5)
/* 80298260 002951C0 C8 22 BF F8 */ lfd f1, lbl_805ADD18@sda21(r2)
/* 80298264 002951C4 D0 61 00 44 */ stfs f3, 0x44(r1)
/* 80298268 002951C8 C8 01 01 20 */ lfd f0, 0x120(r1)
/* 8029826C 002951CC C0 45 00 24 */ lfs f2, 0x24(r5)
/* 80298270 002951D0 EC 20 08 28 */ fsubs f1, f0, f1
/* 80298274 002951D4 C0 02 C0 0C */ lfs f0, lbl_805ADD2C@sda21(r2)
/* 80298278 002951D8 D0 41 00 48 */ stfs f2, 0x48(r1)
/* 8029827C 002951DC C0 45 00 28 */ lfs f2, 0x28(r5)
/* 80298280 002951E0 EC 21 00 28 */ fsubs f1, f1, f0
/* 80298284 002951E4 D0 41 00 4C */ stfs f2, 0x4c(r1)
/* 80298288 002951E8 C0 45 00 2C */ lfs f2, 0x2c(r5)
/* 8029828C 002951EC EC 02 18 28 */ fsubs f0, f2, f3
/* 80298290 002951F0 D0 41 00 50 */ stfs f2, 0x50(r1)
/* 80298294 002951F4 C0 45 00 30 */ lfs f2, 0x30(r5)
/* 80298298 002951F8 EF E1 00 24 */ fdivs f31, f1, f0
/* 8029829C 002951FC D0 41 00 54 */ stfs f2, 0x54(r1)
/* 802982A0 00295200 C0 05 00 34 */ lfs f0, 0x34(r5)
/* 802982A4 00295204 D0 01 00 58 */ stfs f0, 0x58(r1)
/* 802982A8 00295208 48 09 F3 65 */ bl GetCenterPoint__6CAABoxCFv
/* 802982AC 0029520C C0 62 C0 10 */ lfs f3, lbl_805ADD30@sda21(r2)
/* 802982B0 00295210 38 61 00 BC */ addi r3, r1, 0xbc
/* 802982B4 00295214 C0 01 00 18 */ lfs f0, 0x18(r1)
/* 802982B8 00295218 38 81 00 28 */ addi r4, r1, 0x28
/* 802982BC 0029521C C0 21 00 10 */ lfs f1, 0x10(r1)
/* 802982C0 00295220 EC 83 00 32 */ fmuls f4, f3, f0
/* 802982C4 00295224 C0 01 00 14 */ lfs f0, 0x14(r1)
/* 802982C8 00295228 EC 43 00 72 */ fmuls f2, f3, f1
/* 802982CC 0029522C EC 23 00 32 */ fmuls f1, f3, f0
/* 802982D0 00295230 EC 7F 01 32 */ fmuls f3, f31, f4
/* 802982D4 00295234 D0 81 00 24 */ stfs f4, 0x24(r1)
/* 802982D8 00295238 EC 1F 00 B2 */ fmuls f0, f31, f2
/* 802982DC 0029523C EC 9F 00 72 */ fmuls f4, f31, f1
/* 802982E0 00295240 D0 41 00 1C */ stfs f2, 0x1c(r1)
/* 802982E4 00295244 D0 21 00 20 */ stfs f1, 0x20(r1)
/* 802982E8 00295248 D0 01 00 28 */ stfs f0, 0x28(r1)
/* 802982EC 0029524C D0 81 00 2C */ stfs f4, 0x2c(r1)
/* 802982F0 00295250 D0 61 00 30 */ stfs f3, 0x30(r1)
/* 802982F4 00295254 48 07 AE 4D */ bl Translate__12CTransform4fFRC9CVector3f
/* 802982F8 00295258 38 61 00 EC */ addi r3, r1, 0xec
/* 802982FC 0029525C 38 81 00 BC */ addi r4, r1, 0xbc
/* 80298300 00295260 48 07 A8 75 */ bl __ct__12CTransform4fFRC12CTransform4f
/* 80298304 00295264 FC 20 F8 90 */ fmr f1, f31
/* 80298308 00295268 C0 42 C0 14 */ lfs f2, lbl_805ADD34@sda21(r2)
/* 8029830C 0029526C FC 60 F8 90 */ fmr f3, f31
/* 80298310 00295270 38 61 00 8C */ addi r3, r1, 0x8c
/* 80298314 00295274 48 07 AE F5 */ bl Scale__12CTransform4fFfff
/* 80298318 00295278 38 61 00 5C */ addi r3, r1, 0x5c
/* 8029831C 0029527C 38 81 00 EC */ addi r4, r1, 0xec
/* 80298320 00295280 38 A1 00 8C */ addi r5, r1, 0x8c
/* 80298324 00295284 48 07 A6 2D */ bl __ml__12CTransform4fCFRC12CTransform4f
/* 80298328 00295288 38 61 00 EC */ addi r3, r1, 0xec
/* 8029832C 0029528C 38 81 00 5C */ addi r4, r1, 0x5c
/* 80298330 00295290 48 07 A8 11 */ bl __as__12CTransform4fFRC12CTransform4f
/* 80298334 00295294 6F A3 80 00 */ xoris r3, r29, 0x8000
/* 80298338 00295298 3C 00 43 30 */ lis r0, 0x4330
/* 8029833C 0029529C 90 61 01 2C */ stw r3, 0x12c(r1)
/* 80298340 002952A0 7F E3 FB 78 */ mr r3, r31
/* 80298344 002952A4 C0 61 00 58 */ lfs f3, 0x58(r1)
/* 80298348 002952A8 90 01 01 28 */ stw r0, 0x128(r1)
/* 8029834C 002952AC C0 41 00 4C */ lfs f2, 0x4c(r1)
/* 80298350 002952B0 C8 22 BF F8 */ lfd f1, lbl_805ADD18@sda21(r2)
/* 80298354 002952B4 C8 01 01 28 */ lfd f0, 0x128(r1)
/* 80298358 002952B8 EC 63 10 28 */ fsubs f3, f3, f2
/* 8029835C 002952BC C0 A2 BF F4 */ lfs f5, lbl_805ADD14@sda21(r2)
/* 80298360 002952C0 EC 00 08 28 */ fsubs f0, f0, f1
/* 80298364 002952C4 C0 41 00 F8 */ lfs f2, 0xf8(r1)
/* 80298368 002952C8 EC DF 00 F2 */ fmuls f6, f31, f3
/* 8029836C 002952CC C0 62 BF F0 */ lfs f3, lbl_805ADD10@sda21(r2)
/* 80298370 002952D0 C0 21 01 08 */ lfs f1, 0x108(r1)
/* 80298374 002952D4 EC 80 01 72 */ fmuls f4, f0, f5
/* 80298378 002952D8 C0 01 01 18 */ lfs f0, 0x118(r1)
/* 8029837C 002952DC EC 42 18 2A */ fadds f2, f2, f3
/* 80298380 002952E0 EC 21 18 2A */ fadds f1, f1, f3
/* 80298384 002952E4 EC 66 21 78 */ fmsubs f3, f6, f5, f4
/* 80298388 002952E8 D0 41 00 F8 */ stfs f2, 0xf8(r1)
/* 8029838C 002952EC EC 00 18 2A */ fadds f0, f0, f3
/* 80298390 002952F0 D0 21 01 08 */ stfs f1, 0x108(r1)
/* 80298394 002952F4 D0 01 01 18 */ stfs f0, 0x118(r1)
/* 80298398 002952F8 48 00 10 B5 */ bl sub_8029944c
/* 8029839C 002952FC C0 42 C0 18 */ lfs f2, lbl_805ADD38@sda21(r2)
/* 802983A0 00295300 38 61 00 EC */ addi r3, r1, 0xec
/* 802983A4 00295304 C0 1F 01 28 */ lfs f0, 0x128(r31)
/* 802983A8 00295308 C0 A2 BF F4 */ lfs f5, lbl_805ADD14@sda21(r2)
/* 802983AC 0029530C EC 02 00 2A */ fadds f0, f2, f0
/* 802983B0 00295310 C0 61 00 F8 */ lfs f3, 0xf8(r1)
/* 802983B4 00295314 C0 82 BF F0 */ lfs f4, lbl_805ADD10@sda21(r2)
/* 802983B8 00295318 C0 41 01 08 */ lfs f2, 0x108(r1)
/* 802983BC 0029531C EC A1 01 7A */ fmadds f5, f1, f5, f0
/* 802983C0 00295320 C0 01 01 18 */ lfs f0, 0x118(r1)
/* 802983C4 00295324 EC 63 20 2A */ fadds f3, f3, f4
/* 802983C8 00295328 EC 22 20 2A */ fadds f1, f2, f4
/* 802983CC 0029532C EC 00 28 2A */ fadds f0, f0, f5
/* 802983D0 00295330 D0 61 00 F8 */ stfs f3, 0xf8(r1)
/* 802983D4 00295334 D0 21 01 08 */ stfs f1, 0x108(r1)
/* 802983D8 00295338 D0 01 01 18 */ stfs f0, 0x118(r1)
/* 802983DC 0029533C 48 07 42 05 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f
/* 802983E0 00295340 38 80 00 01 */ li r4, 1
/* 802983E4 00295344 38 60 00 00 */ li r3, 0
/* 802983E8 00295348 38 00 00 03 */ li r0, 3
/* 802983EC 0029534C 98 81 00 08 */ stb r4, 8(r1)
/* 802983F0 00295350 80 8D A1 50 */ lwz r4, gpTweakSlideShow@sda21(r13)
/* 802983F4 00295354 98 61 00 09 */ stb r3, 9(r1)
/* 802983F8 00295358 80 7F 00 38 */ lwz r3, 0x38(r31)
/* 802983FC 0029535C B0 01 00 0A */ sth r0, 0xa(r1)
/* 80298400 00295360 80 04 00 40 */ lwz r0, 0x40(r4)
/* 80298404 00295364 90 01 00 0C */ stw r0, 0xc(r1)
/* 80298408 00295368 48 0A 8A 05 */ bl GetObj__6CTokenFv
/* 8029840C 0029536C 7C 64 1B 78 */ mr r4, r3
/* 80298410 00295370 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 80298414 00295374 38 A1 00 08 */ addi r5, r1, 8
/* 80298418 00295378 80 84 00 04 */ lwz r4, 4(r4)
/* 8029841C 0029537C 81 83 00 00 */ lwz r12, 0(r3)
/* 80298420 00295380 38 C0 00 00 */ li r6, 0
/* 80298424 00295384 38 E0 00 00 */ li r7, 0
/* 80298428 00295388 39 00 00 00 */ li r8, 0
/* 8029842C 0029538C 81 8C 00 D8 */ lwz r12, 0xd8(r12)
/* 80298430 00295390 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80298434 00295394 4E 80 04 21 */ bctrl
/* 80298438 00295398 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 8029843C 0029539C 81 83 00 00 */ lwz r12, 0(r3)
/* 80298440 002953A0 81 8C 00 68 */ lwz r12, 0x68(r12)
/* 80298444 002953A4 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80298448 002953A8 4E 80 04 21 */ bctrl
lbl_8029844C:
/* 8029844C 002953AC E3 E1 01 48 */ psq_l f31, 328(r1), 0, qr0
/* 80298450 002953B0 80 01 01 54 */ lwz r0, 0x154(r1)
/* 80298454 002953B4 CB E1 01 40 */ lfd f31, 0x140(r1)
/* 80298458 002953B8 83 E1 01 3C */ lwz r31, 0x13c(r1)
/* 8029845C 002953BC 83 C1 01 38 */ lwz r30, 0x138(r1)
/* 80298460 002953C0 83 A1 01 34 */ lwz r29, 0x134(r1)
/* 80298464 002953C4 7C 08 03 A6 */ mtlr r0
/* 80298468 002953C8 38 21 01 50 */ addi r1, r1, 0x150
2022-07-14 05:48:03 +00:00
/* 8029846C 002953CC 4E 80 00 20 */ blr
.global sub_80298470
sub_80298470:
/* 80298470 002953D0 94 21 FF A0 */ stwu r1, -0x60(r1)
/* 80298474 002953D4 7C 08 02 A6 */ mflr r0
/* 80298478 002953D8 90 01 00 64 */ stw r0, 0x64(r1)
/* 8029847C 002953DC 93 E1 00 5C */ stw r31, 0x5c(r1)
/* 80298480 002953E0 93 C1 00 58 */ stw r30, 0x58(r1)
/* 80298484 002953E4 7C 7E 1B 78 */ mr r30, r3
/* 80298488 002953E8 80 03 00 C4 */ lwz r0, 0xc4(r3)
/* 8029848C 002953EC 28 00 00 00 */ cmplwi r0, 0
/* 80298490 002953F0 41 82 00 B4 */ beq lbl_80298544
/* 80298494 002953F4 80 8D A0 68 */ lwz r4, gpRender@sda21(r13)
/* 80298498 002953F8 3C 60 80 3F */ lis r3, lbl_803ED910@ha
/* 8029849C 002953FC 38 C3 D9 10 */ addi r6, r3, lbl_803ED910@l
/* 802984A0 00295400 38 61 00 08 */ addi r3, r1, 8
/* 802984A4 00295404 81 84 00 00 */ lwz r12, 0(r4)
/* 802984A8 00295408 38 A0 00 00 */ li r5, 0
/* 802984AC 0029540C 83 E6 00 0C */ lwz r31, 0xc(r6)
/* 802984B0 00295410 81 8C 00 54 */ lwz r12, 0x54(r12)
/* 802984B4 00295414 C0 22 C0 04 */ lfs f1, lbl_805ADD24@sda21(r2)
/* 802984B8 00295418 C0 42 C0 08 */ lfs f2, lbl_805ADD28@sda21(r2)
/* 802984BC 0029541C 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 802984C0 00295420 4E 80 04 21 */ bctrl
/* 802984C4 00295424 6F E3 80 00 */ xoris r3, r31, 0x8000
/* 802984C8 00295428 3C 00 43 30 */ lis r0, 0x4330
/* 802984CC 0029542C 90 61 00 4C */ stw r3, 0x4c(r1)
/* 802984D0 00295430 38 61 00 18 */ addi r3, r1, 0x18
/* 802984D4 00295434 C0 22 BF F0 */ lfs f1, lbl_805ADD10@sda21(r2)
/* 802984D8 00295438 90 01 00 48 */ stw r0, 0x48(r1)
/* 802984DC 0029543C C8 82 BF F8 */ lfd f4, lbl_805ADD18@sda21(r2)
/* 802984E0 00295440 FC 40 08 90 */ fmr f2, f1
/* 802984E4 00295444 C8 61 00 48 */ lfd f3, 0x48(r1)
/* 802984E8 00295448 C0 1E 01 28 */ lfs f0, 0x128(r30)
/* 802984EC 0029544C EC 63 20 28 */ fsubs f3, f3, f4
/* 802984F0 00295450 EC 63 00 2A */ fadds f3, f3, f0
/* 802984F4 00295454 48 07 AC 95 */ bl Translate__12CTransform4fFfff
/* 802984F8 00295458 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 802984FC 0029545C 38 81 00 18 */ addi r4, r1, 0x18
/* 80298500 00295460 81 83 00 00 */ lwz r12, 0(r3)
/* 80298504 00295464 81 8C 00 30 */ lwz r12, 0x30(r12)
/* 80298508 00295468 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 8029850C 0029546C 4E 80 04 21 */ bctrl
/* 80298510 00295470 38 60 00 00 */ li r3, 0
/* 80298514 00295474 48 07 35 5D */ bl SetCullMode__9CGraphicsF12ERglCullMode
/* 80298518 00295478 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 8029851C 0029547C 38 80 00 00 */ li r4, 0
/* 80298520 00295480 38 A0 00 00 */ li r5, 0
/* 80298524 00295484 81 83 00 00 */ lwz r12, 0(r3)
/* 80298528 00295488 81 8C 00 60 */ lwz r12, 0x60(r12)
/* 8029852C 0029548C 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80298530 00295490 4E 80 04 21 */ bctrl
/* 80298534 00295494 80 7E 00 C4 */ lwz r3, 0xc4(r30)
/* 80298538 00295498 48 03 10 0D */ bl Render__15CGuiTextSupportFv
/* 8029853C 0029549C 7F C3 F3 78 */ mr r3, r30
/* 80298540 002954A0 4B FF FC 85 */ bl sub_802981c4
lbl_80298544:
/* 80298544 002954A4 80 01 00 64 */ lwz r0, 0x64(r1)
/* 80298548 002954A8 83 E1 00 5C */ lwz r31, 0x5c(r1)
/* 8029854C 002954AC 83 C1 00 58 */ lwz r30, 0x58(r1)
/* 80298550 002954B0 7C 08 03 A6 */ mtlr r0
/* 80298554 002954B4 38 21 00 60 */ addi r1, r1, 0x60
2022-07-14 05:48:03 +00:00
/* 80298558 002954B8 4E 80 00 20 */ blr
.global sub_8029855c
sub_8029855c:
/* 8029855C 002954BC 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 80298560 002954C0 7C 08 02 A6 */ mflr r0
/* 80298564 002954C4 90 01 00 44 */ stw r0, 0x44(r1)
/* 80298568 002954C8 DB E1 00 30 */ stfd f31, 0x30(r1)
/* 8029856C 002954CC F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0
/* 80298570 002954D0 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 80298574 002954D4 7C 7F 1B 78 */ mr r31, r3
/* 80298578 002954D8 FF E0 08 90 */ fmr f31, f1
/* 8029857C 002954DC 80 03 00 C8 */ lwz r0, 0xc8(r3)
/* 80298580 002954E0 28 00 00 00 */ cmplwi r0, 0
/* 80298584 002954E4 41 82 01 1C */ beq lbl_802986A0
/* 80298588 002954E8 80 1F 00 2C */ lwz r0, 0x2c(r31)
/* 8029858C 002954EC 2C 00 00 00 */ cmpwi r0, 0
/* 80298590 002954F0 41 82 01 10 */ beq lbl_802986A0
/* 80298594 002954F4 80 BF 00 44 */ lwz r5, 0x44(r31)
/* 80298598 002954F8 39 20 00 00 */ li r9, 0
/* 8029859C 002954FC 81 1F 00 48 */ lwz r8, 0x48(r31)
/* 802985A0 00295500 2C 05 00 00 */ cmpwi r5, 0
/* 802985A4 00295504 40 81 00 A8 */ ble lbl_8029864C
/* 802985A8 00295508 2C 05 00 08 */ cmpwi r5, 8
/* 802985AC 0029550C 38 65 FF F8 */ addi r3, r5, -8
/* 802985B0 00295510 40 81 00 70 */ ble lbl_80298620
/* 802985B4 00295514 38 03 00 07 */ addi r0, r3, 7
/* 802985B8 00295518 38 80 00 00 */ li r4, 0
/* 802985BC 0029551C 54 00 E8 FE */ srwi r0, r0, 3
/* 802985C0 00295520 7C 09 03 A6 */ mtctr r0
/* 802985C4 00295524 2C 03 00 00 */ cmpwi r3, 0
/* 802985C8 00295528 40 81 00 58 */ ble lbl_80298620
lbl_802985CC:
/* 802985CC 0029552C 80 1F 00 34 */ lwz r0, 0x34(r31)
/* 802985D0 00295530 39 29 00 08 */ addi r9, r9, 8
/* 802985D4 00295534 7C 60 22 14 */ add r3, r0, r4
/* 802985D8 00295538 38 84 00 A0 */ addi r4, r4, 0xa0
/* 802985DC 0029553C 80 03 00 08 */ lwz r0, 8(r3)
/* 802985E0 00295540 80 E3 00 1C */ lwz r7, 0x1c(r3)
/* 802985E4 00295544 7D 08 02 14 */ add r8, r8, r0
/* 802985E8 00295548 80 C3 00 30 */ lwz r6, 0x30(r3)
/* 802985EC 0029554C 7D 08 3A 14 */ add r8, r8, r7
/* 802985F0 00295550 80 03 00 44 */ lwz r0, 0x44(r3)
/* 802985F4 00295554 7D 08 32 14 */ add r8, r8, r6
/* 802985F8 00295558 80 C3 00 58 */ lwz r6, 0x58(r3)
/* 802985FC 0029555C 7D 08 02 14 */ add r8, r8, r0
/* 80298600 00295560 80 03 00 6C */ lwz r0, 0x6c(r3)
/* 80298604 00295564 7D 08 32 14 */ add r8, r8, r6
/* 80298608 00295568 80 C3 00 80 */ lwz r6, 0x80(r3)
/* 8029860C 0029556C 7D 08 02 14 */ add r8, r8, r0
/* 80298610 00295570 80 03 00 94 */ lwz r0, 0x94(r3)
/* 80298614 00295574 7D 08 32 14 */ add r8, r8, r6
/* 80298618 00295578 7D 08 02 14 */ add r8, r8, r0
/* 8029861C 0029557C 42 00 FF B0 */ bdnz lbl_802985CC
lbl_80298620:
/* 80298620 00295580 7C 09 28 50 */ subf r0, r9, r5
/* 80298624 00295584 1C 89 00 14 */ mulli r4, r9, 0x14
/* 80298628 00295588 7C 09 03 A6 */ mtctr r0
/* 8029862C 0029558C 7C 09 28 00 */ cmpw r9, r5
/* 80298630 00295590 40 80 00 1C */ bge lbl_8029864C
lbl_80298634:
/* 80298634 00295594 80 7F 00 34 */ lwz r3, 0x34(r31)
/* 80298638 00295598 38 04 00 08 */ addi r0, r4, 8
/* 8029863C 0029559C 38 84 00 14 */ addi r4, r4, 0x14
/* 80298640 002955A0 7C 03 00 2E */ lwzx r0, r3, r0
/* 80298644 002955A4 7D 08 02 14 */ add r8, r8, r0
/* 80298648 002955A8 42 00 FF EC */ bdnz lbl_80298634
lbl_8029864C:
/* 8029864C 002955AC 3C 60 80 3D */ lis r3, lbl_803D5C48@ha
/* 80298650 002955B0 80 BF 00 40 */ lwz r5, 0x40(r31)
/* 80298654 002955B4 38 63 5C 48 */ addi r3, r3, lbl_803D5C48@l
/* 80298658 002955B8 38 88 00 01 */ addi r4, r8, 1
/* 8029865C 002955BC 38 63 00 8D */ addi r3, r3, 0x8d
/* 80298660 002955C0 4C C6 31 82 */ crclr 6
/* 80298664 002955C4 48 03 DB 4D */ bl Stringize__7CBasicsFPCce
/* 80298668 002955C8 7C 64 1B 78 */ mr r4, r3
/* 8029866C 002955CC 38 61 00 0C */ addi r3, r1, 0xc
/* 80298670 002955D0 38 C1 00 08 */ addi r6, r1, 8
/* 80298674 002955D4 38 A0 FF FF */ li r5, -1
/* 80298678 002955D8 48 0A 5B 1D */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator"
/* 8029867C 002955DC 80 7F 00 C8 */ lwz r3, 0xc8(r31)
/* 80298680 002955E0 38 81 00 0C */ addi r4, r1, 0xc
/* 80298684 002955E4 38 A0 00 00 */ li r5, 0
/* 80298688 002955E8 48 03 14 81 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 8029868C 002955EC FC 20 F8 90 */ fmr f1, f31
/* 80298690 002955F0 80 7F 00 C8 */ lwz r3, 0xc8(r31)
/* 80298694 002955F4 48 02 FA E5 */ bl Update__15CGuiTextSupportFf
/* 80298698 002955F8 38 61 00 0C */ addi r3, r1, 0xc
/* 8029869C 002955FC 48 0A 54 45 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_802986A0:
/* 802986A0 00295600 80 6D A1 50 */ lwz r3, gpTweakSlideShow@sda21(r13)
/* 802986A4 00295604 C0 3F 00 58 */ lfs f1, 0x58(r31)
/* 802986A8 00295608 C0 03 00 50 */ lfs f0, 0x50(r3)
/* 802986AC 0029560C FC 01 00 00 */ fcmpu cr0, f1, f0
/* 802986B0 00295610 40 82 00 14 */ bne lbl_802986C4
/* 802986B4 00295614 88 1F 01 35 */ lbz r0, 0x135(r31)
/* 802986B8 00295618 38 60 00 00 */ li r3, 0
/* 802986BC 0029561C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18
/* 802986C0 00295620 98 1F 01 35 */ stb r0, 0x135(r31)
lbl_802986C4:
/* 802986C4 00295624 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0
/* 802986C8 00295628 80 01 00 44 */ lwz r0, 0x44(r1)
/* 802986CC 0029562C CB E1 00 30 */ lfd f31, 0x30(r1)
/* 802986D0 00295630 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 802986D4 00295634 7C 08 03 A6 */ mtlr r0
/* 802986D8 00295638 38 21 00 40 */ addi r1, r1, 0x40
2022-07-14 05:48:03 +00:00
/* 802986DC 0029563C 4E 80 00 20 */ blr
.global sub_802986e0
sub_802986e0:
/* 802986E0 00295640 94 21 FF 50 */ stwu r1, -0xb0(r1)
/* 802986E4 00295644 7C 08 02 A6 */ mflr r0
/* 802986E8 00295648 90 01 00 B4 */ stw r0, 0xb4(r1)
/* 802986EC 0029564C DB E1 00 A0 */ stfd f31, 0xa0(r1)
/* 802986F0 00295650 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0
/* 802986F4 00295654 DB C1 00 90 */ stfd f30, 0x90(r1)
/* 802986F8 00295658 F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0
/* 802986FC 0029565C DB A1 00 80 */ stfd f29, 0x80(r1)
/* 80298700 00295660 F3 A1 00 88 */ psq_st f29, 136(r1), 0, qr0
/* 80298704 00295664 93 E1 00 7C */ stw r31, 0x7c(r1)
/* 80298708 00295668 93 C1 00 78 */ stw r30, 0x78(r1)
/* 8029870C 0029566C 7C 7F 1B 78 */ mr r31, r3
/* 80298710 00295670 80 03 00 C8 */ lwz r0, 0xc8(r3)
/* 80298714 00295674 28 00 00 00 */ cmplwi r0, 0
/* 80298718 00295678 41 82 01 AC */ beq lbl_802988C4
/* 8029871C 0029567C 80 6D A1 50 */ lwz r3, gpTweakSlideShow@sda21(r13)
/* 80298720 00295680 3C 80 80 3F */ lis r4, lbl_803ED910@ha
/* 80298724 00295684 38 A4 D9 10 */ addi r5, r4, lbl_803ED910@l
/* 80298728 00295688 C0 1F 00 58 */ lfs f0, 0x58(r31)
/* 8029872C 0029568C C0 23 00 50 */ lfs f1, 0x50(r3)
/* 80298730 00295690 38 81 00 14 */ addi r4, r1, 0x14
/* 80298734 00295694 83 C5 00 0C */ lwz r30, 0xc(r5)
/* 80298738 00295698 38 6D 99 FC */ addi r3, r13, lbl_805A85BC@sda21
/* 8029873C 0029569C EC 01 00 28 */ fsubs f0, f1, f0
/* 80298740 002956A0 38 AD 9A 00 */ addi r5, r13, lbl_805A85C0@sda21
/* 80298744 002956A4 EC 00 08 24 */ fdivs f0, f0, f1
/* 80298748 002956A8 D0 01 00 14 */ stfs f0, 0x14(r1)
/* 8029874C 002956AC 4B D7 3B 69 */ bl "Clamp<f>__5CMathFRCfRCfRCf"
/* 80298750 002956B0 80 8D A0 68 */ lwz r4, gpRender@sda21(r13)
/* 80298754 002956B4 38 A0 00 00 */ li r5, 0
/* 80298758 002956B8 C3 A3 00 00 */ lfs f29, 0(r3)
/* 8029875C 002956BC 38 61 00 24 */ addi r3, r1, 0x24
/* 80298760 002956C0 81 84 00 00 */ lwz r12, 0(r4)
/* 80298764 002956C4 C0 22 C0 04 */ lfs f1, lbl_805ADD24@sda21(r2)
/* 80298768 002956C8 81 8C 00 54 */ lwz r12, 0x54(r12)
/* 8029876C 002956CC C0 42 C0 08 */ lfs f2, lbl_805ADD28@sda21(r2)
/* 80298770 002956D0 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80298774 002956D4 4E 80 04 21 */ bctrl
/* 80298778 002956D8 6F C3 80 00 */ xoris r3, r30, 0x8000
/* 8029877C 002956DC 3C 00 43 30 */ lis r0, 0x4330
/* 80298780 002956E0 90 61 00 6C */ stw r3, 0x6c(r1)
/* 80298784 002956E4 38 61 00 34 */ addi r3, r1, 0x34
/* 80298788 002956E8 C8 62 BF F8 */ lfd f3, lbl_805ADD18@sda21(r2)
/* 8029878C 002956EC 90 01 00 68 */ stw r0, 0x68(r1)
/* 80298790 002956F0 C0 1F 01 2C */ lfs f0, 0x12c(r31)
/* 80298794 002956F4 C8 41 00 68 */ lfd f2, 0x68(r1)
/* 80298798 002956F8 C0 22 C0 1C */ lfs f1, lbl_805ADD3C@sda21(r2)
/* 8029879C 002956FC EC 62 18 28 */ fsubs f3, f2, f3
/* 802987A0 00295700 C0 42 BF F0 */ lfs f2, lbl_805ADD10@sda21(r2)
/* 802987A4 00295704 EC 63 00 2A */ fadds f3, f3, f0
/* 802987A8 00295708 48 07 A9 E1 */ bl Translate__12CTransform4fFfff
/* 802987AC 0029570C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 802987B0 00295710 38 81 00 34 */ addi r4, r1, 0x34
/* 802987B4 00295714 81 83 00 00 */ lwz r12, 0(r3)
/* 802987B8 00295718 81 8C 00 30 */ lwz r12, 0x30(r12)
/* 802987BC 0029571C 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 802987C0 00295720 4E 80 04 21 */ bctrl
/* 802987C4 00295724 38 60 00 00 */ li r3, 0
/* 802987C8 00295728 48 07 32 A9 */ bl SetCullMode__9CGraphicsF12ERglCullMode
/* 802987CC 0029572C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 802987D0 00295730 38 80 00 00 */ li r4, 0
/* 802987D4 00295734 38 A0 00 00 */ li r5, 0
/* 802987D8 00295738 81 83 00 00 */ lwz r12, 0(r3)
/* 802987DC 0029573C 81 8C 00 60 */ lwz r12, 0x60(r12)
/* 802987E0 00295740 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 802987E4 00295744 4E 80 04 21 */ bctrl
/* 802987E8 00295748 83 DF 00 C8 */ lwz r30, 0xc8(r31)
/* 802987EC 0029574C 48 0B 17 C1 */ bl White__6CColorFv
/* 802987F0 00295750 88 83 00 03 */ lbz r4, 3(r3)
/* 802987F4 00295754 3C 00 43 30 */ lis r0, 0x4330
/* 802987F8 00295758 90 01 00 70 */ stw r0, 0x70(r1)
/* 802987FC 0029575C C8 22 C0 20 */ lfd f1, lbl_805ADD40@sda21(r2)
/* 80298800 00295760 90 81 00 74 */ stw r4, 0x74(r1)
/* 80298804 00295764 C8 01 00 70 */ lfd f0, 0x70(r1)
/* 80298808 00295768 EC 00 08 28 */ fsubs f0, f0, f1
/* 8029880C 0029576C EF FD 00 32 */ fmuls f31, f29, f0
/* 80298810 00295770 F3 E1 A0 09 */ psq_st f31, 9(r1), 1, qr2
/* 80298814 00295774 38 81 00 10 */ addi r4, r1, 0x10
/* 80298818 00295778 80 A3 00 00 */ lwz r5, 0(r3)
/* 8029881C 0029577C 7F C3 F3 78 */ mr r3, r30
/* 80298820 00295780 88 01 00 09 */ lbz r0, 9(r1)
/* 80298824 00295784 50 A0 00 2E */ rlwimi r0, r5, 0, 0, 0x17
/* 80298828 00295788 90 01 00 10 */ stw r0, 0x10(r1)
/* 8029882C 0029578C 48 03 0D E1 */ bl SetGeometryColor__15CGuiTextSupportFRC6CColor
/* 80298830 00295790 80 7F 00 C8 */ lwz r3, 0xc8(r31)
/* 80298834 00295794 48 03 0D 11 */ bl Render__15CGuiTextSupportFv
/* 80298838 00295798 80 1F 00 44 */ lwz r0, 0x44(r31)
/* 8029883C 0029579C 80 7F 00 DC */ lwz r3, 0xdc(r31)
/* 80298840 002957A0 54 00 18 38 */ slwi r0, r0, 3
/* 80298844 002957A4 7C 63 02 14 */ add r3, r3, r0
/* 80298848 002957A8 80 03 00 04 */ lwz r0, 4(r3)
/* 8029884C 002957AC 28 00 00 00 */ cmplwi r0, 0
/* 80298850 002957B0 41 82 00 74 */ beq lbl_802988C4
/* 80298854 002957B4 88 1F 01 35 */ lbz r0, 0x135(r31)
/* 80298858 002957B8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8029885C 002957BC 41 82 00 68 */ beq lbl_802988C4
/* 80298860 002957C0 C0 5F 01 2C */ lfs f2, 0x12c(r31)
/* 80298864 002957C4 3C 00 43 30 */ lis r0, 0x4330
/* 80298868 002957C8 C0 22 C0 0C */ lfs f1, lbl_805ADD2C@sda21(r2)
/* 8029886C 002957CC C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2)
/* 80298870 002957D0 D0 21 00 18 */ stfs f1, 0x18(r1)
/* 80298874 002957D4 80 AD A1 50 */ lwz r5, gpTweakSlideShow@sda21(r13)
/* 80298878 002957D8 D0 01 00 1C */ stfs f0, 0x1c(r1)
/* 8029887C 002957DC C8 22 C0 20 */ lfd f1, lbl_805ADD40@sda21(r2)
/* 80298880 002957E0 D0 41 00 20 */ stfs f2, 0x20(r1)
/* 80298884 002957E4 88 85 00 27 */ lbz r4, 0x27(r5)
/* 80298888 002957E8 90 01 00 70 */ stw r0, 0x70(r1)
/* 8029888C 002957EC 90 81 00 74 */ stw r4, 0x74(r1)
/* 80298890 002957F0 C8 01 00 70 */ lfd f0, 0x70(r1)
/* 80298894 002957F4 EC 00 08 28 */ fsubs f0, f0, f1
/* 80298898 002957F8 EF DD 00 32 */ fmuls f30, f29, f0
/* 8029889C 002957FC F3 C1 A0 08 */ psq_st f30, 8(r1), 1, qr2
/* 802988A0 00295800 38 81 00 18 */ addi r4, r1, 0x18
/* 802988A4 00295804 81 05 00 24 */ lwz r8, 0x24(r5)
/* 802988A8 00295808 38 A1 00 0C */ addi r5, r1, 0xc
/* 802988AC 0029580C 88 01 00 08 */ lbz r0, 8(r1)
/* 802988B0 00295810 38 C0 00 00 */ li r6, 0
/* 802988B4 00295814 51 00 00 2E */ rlwimi r0, r8, 0, 0, 0x17
/* 802988B8 00295818 38 E0 00 00 */ li r7, 0
/* 802988BC 0029581C 90 01 00 0C */ stw r0, 0xc(r1)
/* 802988C0 00295820 48 00 34 65 */ bl sub_8029bd24
lbl_802988C4:
/* 802988C4 00295824 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0
/* 802988C8 00295828 CB E1 00 A0 */ lfd f31, 0xa0(r1)
/* 802988CC 0029582C E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0
/* 802988D0 00295830 CB C1 00 90 */ lfd f30, 0x90(r1)
/* 802988D4 00295834 E3 A1 00 88 */ psq_l f29, 136(r1), 0, qr0
/* 802988D8 00295838 CB A1 00 80 */ lfd f29, 0x80(r1)
/* 802988DC 0029583C 83 E1 00 7C */ lwz r31, 0x7c(r1)
/* 802988E0 00295840 80 01 00 B4 */ lwz r0, 0xb4(r1)
/* 802988E4 00295844 83 C1 00 78 */ lwz r30, 0x78(r1)
/* 802988E8 00295848 7C 08 03 A6 */ mtlr r0
/* 802988EC 0029584C 38 21 00 B0 */ addi r1, r1, 0xb0
2022-07-14 05:48:03 +00:00
/* 802988F0 00295850 4E 80 00 20 */ blr
.global sub_802988f4
sub_802988f4:
/* 802988F4 00295854 80 04 00 04 */ lwz r0, 4(r4)
/* 802988F8 00295858 80 A4 00 0C */ lwz r5, 0xc(r4)
/* 802988FC 0029585C 54 00 18 38 */ slwi r0, r0, 3
/* 80298900 00295860 7C 85 02 14 */ add r4, r5, r0
/* 80298904 00295864 48 00 00 20 */ b lbl_80298924
lbl_80298908:
/* 80298908 00295868 80 65 00 00 */ lwz r3, 0(r5)
/* 8029890C 0029586C 80 03 00 10 */ lwz r0, 0x10(r3)
/* 80298910 00295870 28 00 00 00 */ cmplwi r0, 0
/* 80298914 00295874 40 82 00 0C */ bne lbl_80298920
/* 80298918 00295878 38 60 00 00 */ li r3, 0
2022-07-14 05:48:03 +00:00
/* 8029891C 0029587C 4E 80 00 20 */ blr
lbl_80298920:
/* 80298920 00295880 38 A5 00 08 */ addi r5, r5, 8
lbl_80298924:
/* 80298924 00295884 7C 05 20 40 */ cmplw r5, r4
/* 80298928 00295888 40 82 FF E0 */ bne lbl_80298908
/* 8029892C 0029588C 38 60 00 01 */ li r3, 1
2022-07-14 05:48:03 +00:00
/* 80298930 00295890 4E 80 00 20 */ blr
.global sub_80298934
sub_80298934:
/* 80298934 00295894 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80298938 00295898 7C 08 02 A6 */ mflr r0
/* 8029893C 0029589C 90 01 00 24 */ stw r0, 0x24(r1)
/* 80298940 002958A0 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80298944 002958A4 54 BF 06 3E */ clrlwi r31, r5, 0x18
/* 80298948 002958A8 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8029894C 002958AC 93 A1 00 14 */ stw r29, 0x14(r1)
/* 80298950 002958B0 7C 9D 23 78 */ mr r29, r4
/* 80298954 002958B4 83 C4 00 0C */ lwz r30, 0xc(r4)
/* 80298958 002958B8 48 00 00 24 */ b lbl_8029897C
lbl_8029895C:
/* 8029895C 002958BC 28 1F 00 00 */ cmplwi r31, 0
/* 80298960 002958C0 41 82 00 10 */ beq lbl_80298970
/* 80298964 002958C4 7F C3 F3 78 */ mr r3, r30
/* 80298968 002958C8 48 0A 84 1D */ bl Lock__6CTokenFv
/* 8029896C 002958CC 48 00 00 0C */ b lbl_80298978
lbl_80298970:
/* 80298970 002958D0 7F C3 F3 78 */ mr r3, r30
/* 80298974 002958D4 48 0A 83 CD */ bl Unlock__6CTokenFv
lbl_80298978:
/* 80298978 002958D8 3B DE 00 08 */ addi r30, r30, 8
lbl_8029897C:
/* 8029897C 002958DC 80 1D 00 04 */ lwz r0, 4(r29)
/* 80298980 002958E0 80 7D 00 0C */ lwz r3, 0xc(r29)
/* 80298984 002958E4 54 00 18 38 */ slwi r0, r0, 3
/* 80298988 002958E8 7C 03 02 14 */ add r0, r3, r0
/* 8029898C 002958EC 7C 1E 00 40 */ cmplw r30, r0
/* 80298990 002958F0 40 82 FF CC */ bne lbl_8029895C
/* 80298994 002958F4 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80298998 002958F8 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8029899C 002958FC 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 802989A0 00295900 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 802989A4 00295904 7C 08 03 A6 */ mtlr r0
/* 802989A8 00295908 38 21 00 20 */ addi r1, r1, 0x20
2022-07-14 05:48:03 +00:00
/* 802989AC 0029590C 4E 80 00 20 */ blr
.global sub_802989b0
sub_802989b0:
/* 802989B0 00295910 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 802989B4 00295914 7C 08 02 A6 */ mflr r0
/* 802989B8 00295918 90 01 00 24 */ stw r0, 0x24(r1)
/* 802989BC 0029591C 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 802989C0 00295920 54 BF 06 3E */ clrlwi r31, r5, 0x18
/* 802989C4 00295924 93 C1 00 18 */ stw r30, 0x18(r1)
/* 802989C8 00295928 93 A1 00 14 */ stw r29, 0x14(r1)
/* 802989CC 0029592C 7C 9D 23 78 */ mr r29, r4
/* 802989D0 00295930 83 C4 00 0C */ lwz r30, 0xc(r4)
/* 802989D4 00295934 48 00 00 24 */ b lbl_802989F8
lbl_802989D8:
/* 802989D8 00295938 28 1F 00 00 */ cmplwi r31, 0
/* 802989DC 0029593C 41 82 00 10 */ beq lbl_802989EC
/* 802989E0 00295940 7F C3 F3 78 */ mr r3, r30
/* 802989E4 00295944 48 0A 83 A1 */ bl Lock__6CTokenFv
/* 802989E8 00295948 48 00 00 0C */ b lbl_802989F4
lbl_802989EC:
/* 802989EC 0029594C 7F C3 F3 78 */ mr r3, r30
/* 802989F0 00295950 48 0A 83 51 */ bl Unlock__6CTokenFv
lbl_802989F4:
/* 802989F4 00295954 3B DE 00 08 */ addi r30, r30, 8
lbl_802989F8:
/* 802989F8 00295958 80 1D 00 04 */ lwz r0, 4(r29)
/* 802989FC 0029595C 80 7D 00 0C */ lwz r3, 0xc(r29)
/* 80298A00 00295960 54 00 18 38 */ slwi r0, r0, 3
/* 80298A04 00295964 7C 03 02 14 */ add r0, r3, r0
/* 80298A08 00295968 7C 1E 00 40 */ cmplw r30, r0
/* 80298A0C 0029596C 40 82 FF CC */ bne lbl_802989D8
/* 80298A10 00295970 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80298A14 00295974 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80298A18 00295978 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80298A1C 0029597C 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80298A20 00295980 7C 08 03 A6 */ mtlr r0
/* 80298A24 00295984 38 21 00 20 */ addi r1, r1, 0x20
2022-07-14 05:48:03 +00:00
/* 80298A28 00295988 4E 80 00 20 */ blr
.global sub_80298a2c
sub_80298a2c:
/* 80298A2C 0029598C 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80298A30 00295990 7C 08 02 A6 */ mflr r0
/* 80298A34 00295994 90 01 00 34 */ stw r0, 0x34(r1)
/* 80298A38 00295998 DB E1 00 20 */ stfd f31, 0x20(r1)
/* 80298A3C 0029599C F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0
/* 80298A40 002959A0 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80298A44 002959A4 80 AD A1 50 */ lwz r5, gpTweakSlideShow@sda21(r13)
/* 80298A48 002959A8 7C 7F 1B 78 */ mr r31, r3
/* 80298A4C 002959AC 38 81 00 0C */ addi r4, r1, 0xc
/* 80298A50 002959B0 38 6D 99 F4 */ addi r3, r13, lbl_805A85B4@sda21
/* 80298A54 002959B4 C0 05 00 58 */ lfs f0, 0x58(r5)
/* 80298A58 002959B8 38 AD 99 F8 */ addi r5, r13, lbl_805A85B8@sda21
/* 80298A5C 002959BC EC 01 00 24 */ fdivs f0, f1, f0
/* 80298A60 002959C0 D0 01 00 0C */ stfs f0, 0xc(r1)
/* 80298A64 002959C4 4B D7 38 51 */ bl "Clamp<f>__5CMathFRCfRCfRCf"
/* 80298A68 002959C8 80 8D A0 80 */ lwz r4, gpGameState@sda21(r13)
/* 80298A6C 002959CC 3C 00 43 30 */ lis r0, 0x4330
/* 80298A70 002959D0 90 01 00 10 */ stw r0, 0x10(r1)
/* 80298A74 002959D4 80 04 01 D8 */ lwz r0, 0x1d8(r4)
/* 80298A78 002959D8 C0 43 00 00 */ lfs f2, 0(r3)
/* 80298A7C 002959DC 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 80298A80 002959E0 C0 02 C0 28 */ lfs f0, lbl_805ADD48@sda21(r2)
/* 80298A84 002959E4 90 01 00 14 */ stw r0, 0x14(r1)
/* 80298A88 002959E8 EC 40 00 B2 */ fmuls f2, f0, f2
/* 80298A8C 002959EC C8 22 BF F8 */ lfd f1, lbl_805ADD18@sda21(r2)
/* 80298A90 002959F0 C8 01 00 10 */ lfd f0, 0x10(r1)
/* 80298A94 002959F4 EC 00 08 28 */ fsubs f0, f0, f1
/* 80298A98 002959F8 EF E2 00 32 */ fmuls f31, f2, f0
/* 80298A9C 002959FC F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2
/* 80298AA0 00295A00 80 7F 00 CC */ lwz r3, 0xcc(r31)
/* 80298AA4 00295A04 88 81 00 08 */ lbz r4, 8(r1)
/* 80298AA8 00295A08 48 0D 31 8D */ bl SetVolume__18CStaticAudioPlayerFc
/* 80298AAC 00295A0C 80 7F 00 CC */ lwz r3, 0xcc(r31)
/* 80298AB0 00295A10 48 0D 35 81 */ bl StartMixOut__18CStaticAudioPlayerFv
/* 80298AB4 00295A14 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0
/* 80298AB8 00295A18 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80298ABC 00295A1C CB E1 00 20 */ lfd f31, 0x20(r1)
/* 80298AC0 00295A20 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80298AC4 00295A24 7C 08 03 A6 */ mtlr r0
/* 80298AC8 00295A28 38 21 00 30 */ addi r1, r1, 0x30
2022-07-14 05:48:03 +00:00
/* 80298ACC 00295A2C 4E 80 00 20 */ blr
.global sub_80298ad0
sub_80298ad0:
/* 80298AD0 00295A30 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80298AD4 00295A34 7C 08 02 A6 */ mflr r0
/* 80298AD8 00295A38 90 01 00 24 */ stw r0, 0x24(r1)
/* 80298ADC 00295A3C 54 80 06 3F */ clrlwi. r0, r4, 0x18
/* 80298AE0 00295A40 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80298AE4 00295A44 7C 7F 1B 78 */ mr r31, r3
/* 80298AE8 00295A48 41 82 00 40 */ beq lbl_80298B28
/* 80298AEC 00295A4C 80 1F 00 E4 */ lwz r0, 0xe4(r31)
/* 80298AF0 00295A50 28 00 00 00 */ cmplwi r0, 0
/* 80298AF4 00295A54 40 82 00 4C */ bne lbl_80298B40
/* 80298AF8 00295A58 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2)
/* 80298AFC 00295A5C 38 61 00 0C */ addi r3, r1, 0xc
/* 80298B00 00295A60 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2)
/* 80298B04 00295A64 38 80 05 AF */ li r4, 0x5af
/* 80298B08 00295A68 38 A0 00 7F */ li r5, 0x7f
/* 80298B0C 00295A6C 38 C0 00 40 */ li r6, 0x40
/* 80298B10 00295A70 38 E0 00 00 */ li r7, 0
/* 80298B14 00295A74 39 20 00 01 */ li r9, 1
/* 80298B18 00295A78 48 05 12 5D */ bl SfxStart__11CSfxManagerFUsssbsbi
/* 80298B1C 00295A7C 80 01 00 0C */ lwz r0, 0xc(r1)
/* 80298B20 00295A80 90 1F 00 E4 */ stw r0, 0xe4(r31)
/* 80298B24 00295A84 48 00 00 1C */ b lbl_80298B40
lbl_80298B28:
/* 80298B28 00295A88 80 1F 00 E4 */ lwz r0, 0xe4(r31)
/* 80298B2C 00295A8C 38 61 00 08 */ addi r3, r1, 8
/* 80298B30 00295A90 90 01 00 08 */ stw r0, 8(r1)
/* 80298B34 00295A94 48 05 12 15 */ bl SfxStop__11CSfxManagerFRC10CSfxHandle
/* 80298B38 00295A98 38 00 00 00 */ li r0, 0
/* 80298B3C 00295A9C 90 1F 00 E4 */ stw r0, 0xe4(r31)
lbl_80298B40:
/* 80298B40 00295AA0 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80298B44 00295AA4 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80298B48 00295AA8 7C 08 03 A6 */ mtlr r0
/* 80298B4C 00295AAC 38 21 00 20 */ addi r1, r1, 0x20
2022-07-14 05:48:03 +00:00
/* 80298B50 00295AB0 4E 80 00 20 */ blr
.global sub_80298b54
sub_80298b54:
/* 80298B54 00295AB4 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80298B58 00295AB8 7C 08 02 A6 */ mflr r0
/* 80298B5C 00295ABC 90 01 00 24 */ stw r0, 0x24(r1)
/* 80298B60 00295AC0 54 80 06 3F */ clrlwi. r0, r4, 0x18
/* 80298B64 00295AC4 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80298B68 00295AC8 7C 7F 1B 78 */ mr r31, r3
/* 80298B6C 00295ACC 41 82 00 40 */ beq lbl_80298BAC
/* 80298B70 00295AD0 80 1F 00 E0 */ lwz r0, 0xe0(r31)
/* 80298B74 00295AD4 28 00 00 00 */ cmplwi r0, 0
/* 80298B78 00295AD8 40 82 00 4C */ bne lbl_80298BC4
/* 80298B7C 00295ADC A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2)
/* 80298B80 00295AE0 38 61 00 0C */ addi r3, r1, 0xc
/* 80298B84 00295AE4 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2)
/* 80298B88 00295AE8 38 80 05 AE */ li r4, 0x5ae
/* 80298B8C 00295AEC 38 A0 00 7F */ li r5, 0x7f
/* 80298B90 00295AF0 38 C0 00 40 */ li r6, 0x40
/* 80298B94 00295AF4 38 E0 00 00 */ li r7, 0
/* 80298B98 00295AF8 39 20 00 01 */ li r9, 1
/* 80298B9C 00295AFC 48 05 11 D9 */ bl SfxStart__11CSfxManagerFUsssbsbi
/* 80298BA0 00295B00 80 01 00 0C */ lwz r0, 0xc(r1)
/* 80298BA4 00295B04 90 1F 00 E0 */ stw r0, 0xe0(r31)
/* 80298BA8 00295B08 48 00 00 1C */ b lbl_80298BC4
lbl_80298BAC:
/* 80298BAC 00295B0C 80 1F 00 E0 */ lwz r0, 0xe0(r31)
/* 80298BB0 00295B10 38 61 00 08 */ addi r3, r1, 8
/* 80298BB4 00295B14 90 01 00 08 */ stw r0, 8(r1)
/* 80298BB8 00295B18 48 05 11 91 */ bl SfxStop__11CSfxManagerFRC10CSfxHandle
/* 80298BBC 00295B1C 38 00 00 00 */ li r0, 0
/* 80298BC0 00295B20 90 1F 00 E0 */ stw r0, 0xe0(r31)
lbl_80298BC4:
/* 80298BC4 00295B24 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80298BC8 00295B28 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80298BCC 00295B2C 7C 08 03 A6 */ mtlr r0
/* 80298BD0 00295B30 38 21 00 20 */ addi r1, r1, 0x20
2022-07-14 05:48:03 +00:00
/* 80298BD4 00295B34 4E 80 00 20 */ blr
.global sub_80298bd8
sub_80298bd8:
/* 80298BD8 00295B38 94 21 FD D0 */ stwu r1, -0x230(r1)
/* 80298BDC 00295B3C 7C 08 02 A6 */ mflr r0
/* 80298BE0 00295B40 90 01 02 34 */ stw r0, 0x234(r1)
/* 80298BE4 00295B44 DB E1 02 20 */ stfd f31, 0x220(r1)
/* 80298BE8 00295B48 F3 E1 02 28 */ psq_st f31, 552(r1), 0, qr0
/* 80298BEC 00295B4C DB C1 02 10 */ stfd f30, 0x210(r1)
/* 80298BF0 00295B50 F3 C1 02 18 */ psq_st f30, 536(r1), 0, qr0
/* 80298BF4 00295B54 DB A1 02 00 */ stfd f29, 0x200(r1)
/* 80298BF8 00295B58 F3 A1 02 08 */ psq_st f29, 520(r1), 0, qr0
/* 80298BFC 00295B5C 93 E1 01 FC */ stw r31, 0x1fc(r1)
/* 80298C00 00295B60 93 C1 01 F8 */ stw r30, 0x1f8(r1)
/* 80298C04 00295B64 7C 7F 1B 78 */ mr r31, r3
/* 80298C08 00295B68 7C 9E 23 78 */ mr r30, r4
/* 80298C0C 00295B6C 80 03 00 C4 */ lwz r0, 0xc4(r3)
/* 80298C10 00295B70 28 00 00 00 */ cmplwi r0, 0
/* 80298C14 00295B74 41 82 06 10 */ beq lbl_80299224
/* 80298C18 00295B78 38 60 00 2D */ li r3, 0x2d
/* 80298C1C 00295B7C 4B D7 3C FD */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput
/* 80298C20 00295B80 FF E0 08 90 */ fmr f31, f1
/* 80298C24 00295B84 7F C4 F3 78 */ mr r4, r30
/* 80298C28 00295B88 38 60 00 2C */ li r3, 0x2c
/* 80298C2C 00295B8C 4B D7 3C ED */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput
/* 80298C30 00295B90 FF C0 08 90 */ fmr f30, f1
/* 80298C34 00295B94 7F C4 F3 78 */ mr r4, r30
/* 80298C38 00295B98 38 60 00 2B */ li r3, 0x2b
/* 80298C3C 00295B9C 4B D7 3C DD */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput
/* 80298C40 00295BA0 FF A0 08 90 */ fmr f29, f1
/* 80298C44 00295BA4 7F C4 F3 78 */ mr r4, r30
/* 80298C48 00295BA8 38 60 00 2A */ li r3, 0x2a
/* 80298C4C 00295BAC 4B D7 3C CD */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput
/* 80298C50 00295BB0 FC 40 E8 90 */ fmr f2, f29
/* 80298C54 00295BB4 FC 60 F0 90 */ fmr f3, f30
/* 80298C58 00295BB8 FC 80 F8 90 */ fmr f4, f31
/* 80298C5C 00295BBC 48 00 33 31 */ bl sub_8029bf8c
/* 80298C60 00295BC0 90 7F 00 EC */ stw r3, 0xec(r31)
/* 80298C64 00295BC4 7F C4 F3 78 */ mr r4, r30
/* 80298C68 00295BC8 38 60 00 29 */ li r3, 0x29
/* 80298C6C 00295BCC 4B D7 3C AD */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput
/* 80298C70 00295BD0 FF A0 08 90 */ fmr f29, f1
/* 80298C74 00295BD4 7F C4 F3 78 */ mr r4, r30
/* 80298C78 00295BD8 38 60 00 28 */ li r3, 0x28
/* 80298C7C 00295BDC 4B D7 3C 9D */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput
/* 80298C80 00295BE0 FF C0 08 90 */ fmr f30, f1
/* 80298C84 00295BE4 7F C4 F3 78 */ mr r4, r30
/* 80298C88 00295BE8 38 60 00 26 */ li r3, 0x26
/* 80298C8C 00295BEC 4B D7 3C 8D */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput
/* 80298C90 00295BF0 FF E0 08 90 */ fmr f31, f1
/* 80298C94 00295BF4 7F C4 F3 78 */ mr r4, r30
/* 80298C98 00295BF8 38 60 00 27 */ li r3, 0x27
/* 80298C9C 00295BFC 4B D7 3C 7D */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput
/* 80298CA0 00295C00 FC 40 F8 90 */ fmr f2, f31
/* 80298CA4 00295C04 FC 60 F0 90 */ fmr f3, f30
/* 80298CA8 00295C08 FC 80 E8 90 */ fmr f4, f29
/* 80298CAC 00295C0C 48 00 32 E1 */ bl sub_8029bf8c
/* 80298CB0 00295C10 90 7F 00 E8 */ stw r3, 0xe8(r31)
/* 80298CB4 00295C14 7F C4 F3 78 */ mr r4, r30
/* 80298CB8 00295C18 38 60 00 2E */ li r3, 0x2e
/* 80298CBC 00295C1C 4B D7 3C 5D */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput
/* 80298CC0 00295C20 FF E0 08 90 */ fmr f31, f1
/* 80298CC4 00295C24 7F C4 F3 78 */ mr r4, r30
/* 80298CC8 00295C28 38 60 00 2F */ li r3, 0x2f
/* 80298CCC 00295C2C 4B D7 3C 4D */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput
/* 80298CD0 00295C30 C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2)
/* 80298CD4 00295C34 FC 1F 00 40 */ fcmpo cr0, f31, f0
/* 80298CD8 00295C38 40 81 00 0C */ ble lbl_80298CE4
/* 80298CDC 00295C3C 38 00 00 01 */ li r0, 1
/* 80298CE0 00295C40 48 00 00 08 */ b lbl_80298CE8
lbl_80298CE4:
/* 80298CE4 00295C44 38 00 00 00 */ li r0, 0
lbl_80298CE8:
/* 80298CE8 00295C48 C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2)
/* 80298CEC 00295C4C 90 1F 00 F4 */ stw r0, 0xf4(r31)
/* 80298CF0 00295C50 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80298CF4 00295C54 40 81 00 0C */ ble lbl_80298D00
/* 80298CF8 00295C58 38 00 00 01 */ li r0, 1
/* 80298CFC 00295C5C 48 00 00 08 */ b lbl_80298D04
lbl_80298D00:
/* 80298D00 00295C60 38 00 00 00 */ li r0, 0
lbl_80298D04:
/* 80298D04 00295C64 90 1F 00 F0 */ stw r0, 0xf0(r31)
/* 80298D08 00295C68 38 00 00 00 */ li r0, 0
/* 80298D0C 00295C6C 38 8D A9 1A */ addi r4, r13, lbl_805A94DA@sda21
/* 80298D10 00295C70 38 61 01 E0 */ addi r3, r1, 0x1e0
/* 80298D14 00295C74 90 81 01 E0 */ stw r4, 0x1e0(r1)
/* 80298D18 00295C78 38 80 01 00 */ li r4, 0x100
/* 80298D1C 00295C7C 83 CD A0 74 */ lwz r30, gpStringTable@sda21(r13)
/* 80298D20 00295C80 38 A0 00 01 */ li r5, 1
/* 80298D24 00295C84 90 01 01 E4 */ stw r0, 0x1e4(r1)
/* 80298D28 00295C88 90 01 01 E8 */ stw r0, 0x1e8(r1)
/* 80298D2C 00295C8C 48 0A 42 49 */ bl "internal_prepare_to_write__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>Fib"
/* 80298D30 00295C90 80 1F 00 E8 */ lwz r0, 0xe8(r31)
/* 80298D34 00295C94 3C 80 80 3D */ lis r4, lbl_803D5C48@ha
/* 80298D38 00295C98 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13)
/* 80298D3C 00295C9C 38 C4 5C 48 */ addi r6, r4, lbl_803D5C48@l
/* 80298D40 00295CA0 54 00 10 3A */ slwi r0, r0, 2
/* 80298D44 00295CA4 38 82 BF DC */ addi r4, r2, lbl_805ADCFC@sda21
/* 80298D48 00295CA8 7C A3 02 14 */ add r5, r3, r0
/* 80298D4C 00295CAC 38 66 00 93 */ addi r3, r6, 0x93
/* 80298D50 00295CB0 80 A5 00 24 */ lwz r5, 0x24(r5)
/* 80298D54 00295CB4 38 C2 BF E4 */ addi r6, r2, lbl_805ADD04@sda21
/* 80298D58 00295CB8 4C C6 31 82 */ crclr 6
/* 80298D5C 00295CBC 48 03 D4 55 */ bl Stringize__7CBasicsFPCce
/* 80298D60 00295CC0 7C 64 1B 78 */ mr r4, r3
/* 80298D64 00295CC4 38 61 01 D0 */ addi r3, r1, 0x1d0
/* 80298D68 00295CC8 38 C1 00 1C */ addi r6, r1, 0x1c
/* 80298D6C 00295CCC 38 A0 FF FF */ li r5, -1
/* 80298D70 00295CD0 48 0A 54 25 */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator"
/* 80298D74 00295CD4 38 61 01 C0 */ addi r3, r1, 0x1c0
/* 80298D78 00295CD8 38 81 01 D0 */ addi r4, r1, 0x1d0
/* 80298D7C 00295CDC 48 0A 59 A5 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 80298D80 00295CE0 38 61 01 E0 */ addi r3, r1, 0x1e0
/* 80298D84 00295CE4 38 81 01 C0 */ addi r4, r1, 0x1c0
/* 80298D88 00295CE8 48 0A 48 C5 */ bl "append__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>"
/* 80298D8C 00295CEC 38 61 01 C0 */ addi r3, r1, 0x1c0
/* 80298D90 00295CF0 48 0A 43 A5 */ bl "internal_dereference__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>Fv"
/* 80298D94 00295CF4 38 61 01 D0 */ addi r3, r1, 0x1d0
/* 80298D98 00295CF8 48 0A 4D 49 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 80298D9C 00295CFC 7F C3 F3 78 */ mr r3, r30
/* 80298DA0 00295D00 38 80 00 38 */ li r4, 0x38
/* 80298DA4 00295D04 48 0B D9 59 */ bl GetString__12CStringTableCFi
/* 80298DA8 00295D08 7C 64 1B 78 */ mr r4, r3
/* 80298DAC 00295D0C 38 61 01 E0 */ addi r3, r1, 0x1e0
/* 80298DB0 00295D10 38 A0 FF FF */ li r5, -1
/* 80298DB4 00295D14 48 0A 47 31 */ bl sub_8033d4e4
/* 80298DB8 00295D18 3C 80 80 3D */ lis r4, lbl_803D5C48@ha
/* 80298DBC 00295D1C 38 61 01 B0 */ addi r3, r1, 0x1b0
/* 80298DC0 00295D20 38 84 5C 48 */ addi r4, r4, lbl_803D5C48@l
/* 80298DC4 00295D24 38 84 00 A8 */ addi r4, r4, 0xa8
/* 80298DC8 00295D28 4B D6 BE F1 */ bl string_l__4rstlFPCc
/* 80298DCC 00295D2C 38 61 01 A0 */ addi r3, r1, 0x1a0
/* 80298DD0 00295D30 38 81 01 B0 */ addi r4, r1, 0x1b0
/* 80298DD4 00295D34 48 0A 59 4D */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 80298DD8 00295D38 38 61 01 E0 */ addi r3, r1, 0x1e0
/* 80298DDC 00295D3C 38 81 01 A0 */ addi r4, r1, 0x1a0
/* 80298DE0 00295D40 48 0A 48 6D */ bl "append__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>"
/* 80298DE4 00295D44 38 61 01 A0 */ addi r3, r1, 0x1a0
/* 80298DE8 00295D48 48 0A 43 4D */ bl "internal_dereference__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>Fv"
/* 80298DEC 00295D4C 38 61 01 B0 */ addi r3, r1, 0x1b0
/* 80298DF0 00295D50 48 0A 4C F1 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 80298DF4 00295D54 80 1F 00 F0 */ lwz r0, 0xf0(r31)
/* 80298DF8 00295D58 3C 80 80 3D */ lis r4, lbl_803D5C48@ha
/* 80298DFC 00295D5C 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13)
/* 80298E00 00295D60 38 C4 5C 48 */ addi r6, r4, lbl_803D5C48@l
/* 80298E04 00295D64 54 00 10 3A */ slwi r0, r0, 2
/* 80298E08 00295D68 38 82 BF DC */ addi r4, r2, lbl_805ADCFC@sda21
/* 80298E0C 00295D6C 7C A3 02 14 */ add r5, r3, r0
/* 80298E10 00295D70 38 66 00 AC */ addi r3, r6, 0xac
/* 80298E14 00295D74 80 A5 00 74 */ lwz r5, 0x74(r5)
/* 80298E18 00295D78 38 C2 BF E4 */ addi r6, r2, lbl_805ADD04@sda21
/* 80298E1C 00295D7C 4C C6 31 82 */ crclr 6
/* 80298E20 00295D80 48 03 D3 91 */ bl Stringize__7CBasicsFPCce
/* 80298E24 00295D84 7C 64 1B 78 */ mr r4, r3
/* 80298E28 00295D88 38 61 01 90 */ addi r3, r1, 0x190
/* 80298E2C 00295D8C 38 C1 00 18 */ addi r6, r1, 0x18
/* 80298E30 00295D90 38 A0 FF FF */ li r5, -1
/* 80298E34 00295D94 48 0A 53 61 */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator"
/* 80298E38 00295D98 38 61 01 80 */ addi r3, r1, 0x180
/* 80298E3C 00295D9C 38 81 01 90 */ addi r4, r1, 0x190
/* 80298E40 00295DA0 48 0A 58 E1 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 80298E44 00295DA4 38 61 01 E0 */ addi r3, r1, 0x1e0
/* 80298E48 00295DA8 38 81 01 80 */ addi r4, r1, 0x180
/* 80298E4C 00295DAC 48 0A 48 01 */ bl "append__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>"
/* 80298E50 00295DB0 38 61 01 80 */ addi r3, r1, 0x180
/* 80298E54 00295DB4 48 0A 42 E1 */ bl "internal_dereference__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>Fv"
/* 80298E58 00295DB8 38 61 01 90 */ addi r3, r1, 0x190
/* 80298E5C 00295DBC 48 0A 4C 85 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 80298E60 00295DC0 3C 80 80 3D */ lis r4, lbl_803D5C48@ha
/* 80298E64 00295DC4 38 61 01 70 */ addi r3, r1, 0x170
/* 80298E68 00295DC8 38 84 5C 48 */ addi r4, r4, lbl_803D5C48@l
/* 80298E6C 00295DCC 38 84 00 B6 */ addi r4, r4, 0xb6
/* 80298E70 00295DD0 4B D6 BE 49 */ bl string_l__4rstlFPCc
/* 80298E74 00295DD4 38 61 01 60 */ addi r3, r1, 0x160
/* 80298E78 00295DD8 38 81 01 70 */ addi r4, r1, 0x170
/* 80298E7C 00295DDC 48 0A 58 A5 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 80298E80 00295DE0 38 61 01 E0 */ addi r3, r1, 0x1e0
/* 80298E84 00295DE4 38 81 01 60 */ addi r4, r1, 0x160
/* 80298E88 00295DE8 48 0A 47 C5 */ bl "append__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>"
/* 80298E8C 00295DEC 38 61 01 60 */ addi r3, r1, 0x160
/* 80298E90 00295DF0 48 0A 42 A5 */ bl "internal_dereference__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>Fv"
/* 80298E94 00295DF4 38 61 01 70 */ addi r3, r1, 0x170
/* 80298E98 00295DF8 48 0A 4C 49 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 80298E9C 00295DFC 7F C3 F3 78 */ mr r3, r30
/* 80298EA0 00295E00 38 80 00 3A */ li r4, 0x3a
/* 80298EA4 00295E04 48 0B D8 59 */ bl GetString__12CStringTableCFi
/* 80298EA8 00295E08 7C 64 1B 78 */ mr r4, r3
/* 80298EAC 00295E0C 38 61 01 E0 */ addi r3, r1, 0x1e0
/* 80298EB0 00295E10 38 A0 FF FF */ li r5, -1
/* 80298EB4 00295E14 48 0A 46 31 */ bl sub_8033d4e4
/* 80298EB8 00295E18 3C 80 80 3D */ lis r4, lbl_803D5C48@ha
/* 80298EBC 00295E1C 38 61 01 50 */ addi r3, r1, 0x150
/* 80298EC0 00295E20 38 84 5C 48 */ addi r4, r4, lbl_803D5C48@l
/* 80298EC4 00295E24 38 84 00 B6 */ addi r4, r4, 0xb6
/* 80298EC8 00295E28 4B D6 BD F1 */ bl string_l__4rstlFPCc
/* 80298ECC 00295E2C 38 61 01 40 */ addi r3, r1, 0x140
/* 80298ED0 00295E30 38 81 01 50 */ addi r4, r1, 0x150
/* 80298ED4 00295E34 48 0A 58 4D */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 80298ED8 00295E38 38 61 01 E0 */ addi r3, r1, 0x1e0
/* 80298EDC 00295E3C 38 81 01 40 */ addi r4, r1, 0x140
/* 80298EE0 00295E40 48 0A 47 6D */ bl "append__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>"
/* 80298EE4 00295E44 38 61 01 40 */ addi r3, r1, 0x140
/* 80298EE8 00295E48 48 0A 42 4D */ bl "internal_dereference__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>Fv"
/* 80298EEC 00295E4C 38 61 01 50 */ addi r3, r1, 0x150
/* 80298EF0 00295E50 48 0A 4B F1 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 80298EF4 00295E54 80 1F 00 F4 */ lwz r0, 0xf4(r31)
/* 80298EF8 00295E58 3C 80 80 3D */ lis r4, lbl_803D5C48@ha
/* 80298EFC 00295E5C 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13)
/* 80298F00 00295E60 38 C4 5C 48 */ addi r6, r4, lbl_803D5C48@l
/* 80298F04 00295E64 54 00 10 3A */ slwi r0, r0, 2
/* 80298F08 00295E68 38 82 BF DC */ addi r4, r2, lbl_805ADCFC@sda21
/* 80298F0C 00295E6C 7C A3 02 14 */ add r5, r3, r0
/* 80298F10 00295E70 38 66 00 AC */ addi r3, r6, 0xac
/* 80298F14 00295E74 80 A5 00 80 */ lwz r5, 0x80(r5)
/* 80298F18 00295E78 38 C2 BF E4 */ addi r6, r2, lbl_805ADD04@sda21
/* 80298F1C 00295E7C 4C C6 31 82 */ crclr 6
/* 80298F20 00295E80 48 03 D2 91 */ bl Stringize__7CBasicsFPCce
/* 80298F24 00295E84 7C 64 1B 78 */ mr r4, r3
/* 80298F28 00295E88 38 61 01 30 */ addi r3, r1, 0x130
/* 80298F2C 00295E8C 38 C1 00 14 */ addi r6, r1, 0x14
/* 80298F30 00295E90 38 A0 FF FF */ li r5, -1
/* 80298F34 00295E94 48 0A 52 61 */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator"
/* 80298F38 00295E98 38 61 01 20 */ addi r3, r1, 0x120
/* 80298F3C 00295E9C 38 81 01 30 */ addi r4, r1, 0x130
/* 80298F40 00295EA0 48 0A 57 E1 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 80298F44 00295EA4 38 61 01 E0 */ addi r3, r1, 0x1e0
/* 80298F48 00295EA8 38 81 01 20 */ addi r4, r1, 0x120
/* 80298F4C 00295EAC 48 0A 47 01 */ bl "append__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>"
/* 80298F50 00295EB0 38 61 01 20 */ addi r3, r1, 0x120
/* 80298F54 00295EB4 48 0A 41 E1 */ bl "internal_dereference__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>Fv"
/* 80298F58 00295EB8 38 61 01 30 */ addi r3, r1, 0x130
/* 80298F5C 00295EBC 48 0A 4B 85 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 80298F60 00295EC0 3C 80 80 3D */ lis r4, lbl_803D5C48@ha
/* 80298F64 00295EC4 38 61 01 10 */ addi r3, r1, 0x110
/* 80298F68 00295EC8 38 84 5C 48 */ addi r4, r4, lbl_803D5C48@l
/* 80298F6C 00295ECC 38 84 00 B8 */ addi r4, r4, 0xb8
/* 80298F70 00295ED0 4B D6 BD 49 */ bl string_l__4rstlFPCc
/* 80298F74 00295ED4 38 61 01 00 */ addi r3, r1, 0x100
/* 80298F78 00295ED8 38 81 01 10 */ addi r4, r1, 0x110
/* 80298F7C 00295EDC 48 0A 57 A5 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 80298F80 00295EE0 38 61 01 E0 */ addi r3, r1, 0x1e0
/* 80298F84 00295EE4 38 81 01 00 */ addi r4, r1, 0x100
/* 80298F88 00295EE8 48 0A 46 C5 */ bl "append__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>"
/* 80298F8C 00295EEC 38 61 01 00 */ addi r3, r1, 0x100
/* 80298F90 00295EF0 48 0A 41 A5 */ bl "internal_dereference__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>Fv"
/* 80298F94 00295EF4 38 61 01 10 */ addi r3, r1, 0x110
/* 80298F98 00295EF8 48 0A 4B 49 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 80298F9C 00295EFC 80 1F 00 EC */ lwz r0, 0xec(r31)
/* 80298FA0 00295F00 3C 80 80 3D */ lis r4, lbl_803D5C48@ha
/* 80298FA4 00295F04 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13)
/* 80298FA8 00295F08 38 C4 5C 48 */ addi r6, r4, lbl_803D5C48@l
/* 80298FAC 00295F0C 54 00 10 3A */ slwi r0, r0, 2
/* 80298FB0 00295F10 38 82 BF DC */ addi r4, r2, lbl_805ADCFC@sda21
/* 80298FB4 00295F14 7C A3 02 14 */ add r5, r3, r0
/* 80298FB8 00295F18 38 66 00 93 */ addi r3, r6, 0x93
/* 80298FBC 00295F1C 80 A5 00 4C */ lwz r5, 0x4c(r5)
/* 80298FC0 00295F20 38 C2 BF E4 */ addi r6, r2, lbl_805ADD04@sda21
/* 80298FC4 00295F24 4C C6 31 82 */ crclr 6
/* 80298FC8 00295F28 48 03 D1 E9 */ bl Stringize__7CBasicsFPCce
/* 80298FCC 00295F2C 7C 64 1B 78 */ mr r4, r3
/* 80298FD0 00295F30 38 61 00 F0 */ addi r3, r1, 0xf0
/* 80298FD4 00295F34 38 C1 00 10 */ addi r6, r1, 0x10
/* 80298FD8 00295F38 38 A0 FF FF */ li r5, -1
/* 80298FDC 00295F3C 48 0A 51 B9 */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator"
/* 80298FE0 00295F40 38 61 00 E0 */ addi r3, r1, 0xe0
/* 80298FE4 00295F44 38 81 00 F0 */ addi r4, r1, 0xf0
/* 80298FE8 00295F48 48 0A 57 39 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 80298FEC 00295F4C 38 61 01 E0 */ addi r3, r1, 0x1e0
/* 80298FF0 00295F50 38 81 00 E0 */ addi r4, r1, 0xe0
/* 80298FF4 00295F54 48 0A 46 59 */ bl "append__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>"
/* 80298FF8 00295F58 38 61 00 E0 */ addi r3, r1, 0xe0
/* 80298FFC 00295F5C 48 0A 41 39 */ bl "internal_dereference__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>Fv"
/* 80299000 00295F60 38 61 00 F0 */ addi r3, r1, 0xf0
/* 80299004 00295F64 48 0A 4A DD */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 80299008 00295F68 7F C3 F3 78 */ mr r3, r30
/* 8029900C 00295F6C 38 80 00 39 */ li r4, 0x39
/* 80299010 00295F70 48 0B D6 ED */ bl GetString__12CStringTableCFi
/* 80299014 00295F74 7C 64 1B 78 */ mr r4, r3
/* 80299018 00295F78 38 61 01 E0 */ addi r3, r1, 0x1e0
/* 8029901C 00295F7C 38 A0 FF FF */ li r5, -1
/* 80299020 00295F80 48 0A 44 C5 */ bl sub_8033d4e4
/* 80299024 00295F84 3C 80 80 3D */ lis r4, lbl_803D5C48@ha
/* 80299028 00295F88 38 61 00 D0 */ addi r3, r1, 0xd0
/* 8029902C 00295F8C 38 84 5C 48 */ addi r4, r4, lbl_803D5C48@l
/* 80299030 00295F90 38 84 00 A8 */ addi r4, r4, 0xa8
/* 80299034 00295F94 4B D6 BC 85 */ bl string_l__4rstlFPCc
/* 80299038 00295F98 38 61 00 C0 */ addi r3, r1, 0xc0
/* 8029903C 00295F9C 38 81 00 D0 */ addi r4, r1, 0xd0
/* 80299040 00295FA0 48 0A 56 E1 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 80299044 00295FA4 38 61 01 E0 */ addi r3, r1, 0x1e0
/* 80299048 00295FA8 38 81 00 C0 */ addi r4, r1, 0xc0
/* 8029904C 00295FAC 48 0A 46 01 */ bl "append__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>"
/* 80299050 00295FB0 38 61 00 C0 */ addi r3, r1, 0xc0
/* 80299054 00295FB4 48 0A 40 E1 */ bl "internal_dereference__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>Fv"
/* 80299058 00295FB8 38 61 00 D0 */ addi r3, r1, 0xd0
/* 8029905C 00295FBC 48 0A 4A 85 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 80299060 00295FC0 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13)
/* 80299064 00295FC4 3C 80 80 3D */ lis r4, lbl_803D5C48@ha
/* 80299068 00295FC8 38 C4 5C 48 */ addi r6, r4, lbl_803D5C48@l
/* 8029906C 00295FCC 38 82 BF DC */ addi r4, r2, lbl_805ADCFC@sda21
/* 80299070 00295FD0 80 A3 00 BC */ lwz r5, 0xbc(r3)
/* 80299074 00295FD4 38 66 00 BB */ addi r3, r6, 0xbb
/* 80299078 00295FD8 38 C2 BF E4 */ addi r6, r2, lbl_805ADD04@sda21
/* 8029907C 00295FDC 4C C6 31 82 */ crclr 6
/* 80299080 00295FE0 48 03 D1 31 */ bl Stringize__7CBasicsFPCce
/* 80299084 00295FE4 7C 64 1B 78 */ mr r4, r3
/* 80299088 00295FE8 38 61 00 B0 */ addi r3, r1, 0xb0
/* 8029908C 00295FEC 38 C1 00 0C */ addi r6, r1, 0xc
/* 80299090 00295FF0 38 A0 FF FF */ li r5, -1
/* 80299094 00295FF4 48 0A 51 01 */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator"
/* 80299098 00295FF8 38 61 00 A0 */ addi r3, r1, 0xa0
/* 8029909C 00295FFC 38 81 00 B0 */ addi r4, r1, 0xb0
/* 802990A0 00296000 48 0A 56 81 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 802990A4 00296004 38 61 01 E0 */ addi r3, r1, 0x1e0
/* 802990A8 00296008 38 81 00 A0 */ addi r4, r1, 0xa0
/* 802990AC 0029600C 48 0A 45 A1 */ bl "append__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>"
/* 802990B0 00296010 38 61 00 A0 */ addi r3, r1, 0xa0
/* 802990B4 00296014 48 0A 40 81 */ bl "internal_dereference__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>Fv"
/* 802990B8 00296018 38 61 00 B0 */ addi r3, r1, 0xb0
/* 802990BC 0029601C 48 0A 4A 25 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 802990C0 00296020 3C 80 80 3D */ lis r4, lbl_803D5C48@ha
/* 802990C4 00296024 38 61 00 90 */ addi r3, r1, 0x90
/* 802990C8 00296028 38 84 5C 48 */ addi r4, r4, lbl_803D5C48@l
/* 802990CC 0029602C 38 84 00 B6 */ addi r4, r4, 0xb6
/* 802990D0 00296030 4B D6 BB E9 */ bl string_l__4rstlFPCc
/* 802990D4 00296034 38 61 00 80 */ addi r3, r1, 0x80
/* 802990D8 00296038 38 81 00 90 */ addi r4, r1, 0x90
/* 802990DC 0029603C 48 0A 56 45 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 802990E0 00296040 38 61 01 E0 */ addi r3, r1, 0x1e0
/* 802990E4 00296044 38 81 00 80 */ addi r4, r1, 0x80
/* 802990E8 00296048 48 0A 45 65 */ bl "append__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>"
/* 802990EC 0029604C 38 61 00 80 */ addi r3, r1, 0x80
/* 802990F0 00296050 48 0A 40 45 */ bl "internal_dereference__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>Fv"
/* 802990F4 00296054 38 61 00 90 */ addi r3, r1, 0x90
/* 802990F8 00296058 48 0A 49 E9 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 802990FC 0029605C 7F C3 F3 78 */ mr r3, r30
/* 80299100 00296060 38 80 00 37 */ li r4, 0x37
/* 80299104 00296064 48 0B D5 F9 */ bl GetString__12CStringTableCFi
/* 80299108 00296068 7C 64 1B 78 */ mr r4, r3
/* 8029910C 0029606C 38 61 01 E0 */ addi r3, r1, 0x1e0
/* 80299110 00296070 38 A0 FF FF */ li r5, -1
/* 80299114 00296074 48 0A 43 D1 */ bl sub_8033d4e4
/* 80299118 00296078 3C 80 80 3D */ lis r4, lbl_803D5C48@ha
/* 8029911C 0029607C 38 61 00 70 */ addi r3, r1, 0x70
/* 80299120 00296080 38 84 5C 48 */ addi r4, r4, lbl_803D5C48@l
/* 80299124 00296084 38 84 00 A8 */ addi r4, r4, 0xa8
/* 80299128 00296088 4B D6 BB 91 */ bl string_l__4rstlFPCc
/* 8029912C 0029608C 38 61 00 60 */ addi r3, r1, 0x60
/* 80299130 00296090 38 81 00 70 */ addi r4, r1, 0x70
/* 80299134 00296094 48 0A 55 ED */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 80299138 00296098 38 61 01 E0 */ addi r3, r1, 0x1e0
/* 8029913C 0029609C 38 81 00 60 */ addi r4, r1, 0x60
/* 80299140 002960A0 48 0A 45 0D */ bl "append__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>"
/* 80299144 002960A4 38 61 00 60 */ addi r3, r1, 0x60
/* 80299148 002960A8 48 0A 3F ED */ bl "internal_dereference__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>Fv"
/* 8029914C 002960AC 38 61 00 70 */ addi r3, r1, 0x70
/* 80299150 002960B0 48 0A 49 91 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 80299154 002960B4 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13)
/* 80299158 002960B8 3C 80 80 3D */ lis r4, lbl_803D5C48@ha
/* 8029915C 002960BC 38 C4 5C 48 */ addi r6, r4, lbl_803D5C48@l
/* 80299160 002960C0 38 82 BF DC */ addi r4, r2, lbl_805ADCFC@sda21
/* 80299164 002960C4 80 A3 00 A4 */ lwz r5, 0xa4(r3)
/* 80299168 002960C8 38 66 00 93 */ addi r3, r6, 0x93
/* 8029916C 002960CC 38 C2 BF E4 */ addi r6, r2, lbl_805ADD04@sda21
/* 80299170 002960D0 4C C6 31 82 */ crclr 6
/* 80299174 002960D4 48 03 D0 3D */ bl Stringize__7CBasicsFPCce
/* 80299178 002960D8 7C 64 1B 78 */ mr r4, r3
/* 8029917C 002960DC 38 61 00 50 */ addi r3, r1, 0x50
/* 80299180 002960E0 38 C1 00 08 */ addi r6, r1, 8
/* 80299184 002960E4 38 A0 FF FF */ li r5, -1
/* 80299188 002960E8 48 0A 50 0D */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator"
/* 8029918C 002960EC 38 61 00 40 */ addi r3, r1, 0x40
/* 80299190 002960F0 38 81 00 50 */ addi r4, r1, 0x50
/* 80299194 002960F4 48 0A 55 8D */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 80299198 002960F8 38 61 01 E0 */ addi r3, r1, 0x1e0
/* 8029919C 002960FC 38 81 00 40 */ addi r4, r1, 0x40
/* 802991A0 00296100 48 0A 44 AD */ bl "append__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>"
/* 802991A4 00296104 38 61 00 40 */ addi r3, r1, 0x40
/* 802991A8 00296108 48 0A 3F 8D */ bl "internal_dereference__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>Fv"
/* 802991AC 0029610C 38 61 00 50 */ addi r3, r1, 0x50
/* 802991B0 00296110 48 0A 49 31 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 802991B4 00296114 3C 80 80 3D */ lis r4, lbl_803D5C48@ha
/* 802991B8 00296118 38 61 00 30 */ addi r3, r1, 0x30
/* 802991BC 0029611C 38 84 5C 48 */ addi r4, r4, lbl_803D5C48@l
/* 802991C0 00296120 38 84 00 B6 */ addi r4, r4, 0xb6
/* 802991C4 00296124 4B D6 BA F5 */ bl string_l__4rstlFPCc
/* 802991C8 00296128 38 61 00 20 */ addi r3, r1, 0x20
/* 802991CC 0029612C 38 81 00 30 */ addi r4, r1, 0x30
/* 802991D0 00296130 48 0A 55 51 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 802991D4 00296134 38 61 01 E0 */ addi r3, r1, 0x1e0
/* 802991D8 00296138 38 81 00 20 */ addi r4, r1, 0x20
/* 802991DC 0029613C 48 0A 44 71 */ bl "append__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>"
/* 802991E0 00296140 38 61 00 20 */ addi r3, r1, 0x20
/* 802991E4 00296144 48 0A 3F 51 */ bl "internal_dereference__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>Fv"
/* 802991E8 00296148 38 61 00 30 */ addi r3, r1, 0x30
/* 802991EC 0029614C 48 0A 48 F5 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 802991F0 00296150 7F C3 F3 78 */ mr r3, r30
/* 802991F4 00296154 38 80 00 3D */ li r4, 0x3d
/* 802991F8 00296158 48 0B D5 05 */ bl GetString__12CStringTableCFi
/* 802991FC 0029615C 7C 64 1B 78 */ mr r4, r3
/* 80299200 00296160 38 61 01 E0 */ addi r3, r1, 0x1e0
/* 80299204 00296164 38 A0 FF FF */ li r5, -1
/* 80299208 00296168 48 0A 42 DD */ bl sub_8033d4e4
/* 8029920C 0029616C 80 7F 00 C4 */ lwz r3, 0xc4(r31)
/* 80299210 00296170 38 81 01 E0 */ addi r4, r1, 0x1e0
/* 80299214 00296174 38 A0 00 00 */ li r5, 0
/* 80299218 00296178 48 03 06 6D */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>"
/* 8029921C 0029617C 38 61 01 E0 */ addi r3, r1, 0x1e0
/* 80299220 00296180 48 0A 3F 15 */ bl "internal_dereference__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>Fv"
lbl_80299224:
/* 80299224 00296184 E3 E1 02 28 */ psq_l f31, 552(r1), 0, qr0
/* 80299228 00296188 CB E1 02 20 */ lfd f31, 0x220(r1)
/* 8029922C 0029618C E3 C1 02 18 */ psq_l f30, 536(r1), 0, qr0
/* 80299230 00296190 CB C1 02 10 */ lfd f30, 0x210(r1)
/* 80299234 00296194 E3 A1 02 08 */ psq_l f29, 520(r1), 0, qr0
/* 80299238 00296198 CB A1 02 00 */ lfd f29, 0x200(r1)
/* 8029923C 0029619C 83 E1 01 FC */ lwz r31, 0x1fc(r1)
/* 80299240 002961A0 80 01 02 34 */ lwz r0, 0x234(r1)
/* 80299244 002961A4 83 C1 01 F8 */ lwz r30, 0x1f8(r1)
/* 80299248 002961A8 7C 08 03 A6 */ mtlr r0
/* 8029924C 002961AC 38 21 02 30 */ addi r1, r1, 0x230
2022-07-14 05:48:03 +00:00
/* 80299250 002961B0 4E 80 00 20 */ blr
.global sub_80299254
sub_80299254:
/* 80299254 002961B4 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80299258 002961B8 7C 08 02 A6 */ mflr r0
/* 8029925C 002961BC 90 01 00 34 */ stw r0, 0x34(r1)
/* 80299260 002961C0 DB E1 00 20 */ stfd f31, 0x20(r1)
/* 80299264 002961C4 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0
/* 80299268 002961C8 DB C1 00 10 */ stfd f30, 0x10(r1)
/* 8029926C 002961CC F3 C1 00 18 */ psq_st f30, 24(r1), 0, qr0
/* 80299270 002961D0 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80299274 002961D4 7C 7F 1B 78 */ mr r31, r3
/* 80299278 002961D8 FF E0 08 90 */ fmr f31, f1
/* 8029927C 002961DC 80 03 00 C4 */ lwz r0, 0xc4(r3)
/* 80299280 002961E0 28 00 00 00 */ cmplwi r0, 0
/* 80299284 002961E4 41 82 01 20 */ beq lbl_802993A4
/* 80299288 002961E8 48 00 02 11 */ bl sub_80299498
/* 8029928C 002961EC 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80299290 002961F0 40 82 00 18 */ bne lbl_802992A8
/* 80299294 002961F4 7F E3 FB 78 */ mr r3, r31
/* 80299298 002961F8 48 00 01 31 */ bl sub_802993c8
/* 8029929C 002961FC FC 00 08 50 */ fneg f0, f1
/* 802992A0 00296200 D0 1F 01 28 */ stfs f0, 0x128(r31)
/* 802992A4 00296204 48 00 00 CC */ b lbl_80299370
lbl_802992A8:
/* 802992A8 00296208 88 7F 01 34 */ lbz r3, 0x134(r31)
/* 802992AC 0029620C 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f
/* 802992B0 00296210 41 82 00 54 */ beq lbl_80299304
/* 802992B4 00296214 7F E3 FB 78 */ mr r3, r31
/* 802992B8 00296218 48 00 01 11 */ bl sub_802993c8
/* 802992BC 0029621C 80 6D A1 50 */ lwz r3, gpTweakSlideShow@sda21(r13)
/* 802992C0 00296220 C0 82 C0 0C */ lfs f4, lbl_805ADD2C@sda21(r2)
/* 802992C4 00296224 C0 43 00 44 */ lfs f2, 0x44(r3)
/* 802992C8 00296228 EC 64 08 2A */ fadds f3, f4, f1
/* 802992CC 0029622C C0 1F 01 28 */ lfs f0, 0x128(r31)
/* 802992D0 00296230 EC 3F 10 24 */ fdivs f1, f31, f2
/* 802992D4 00296234 EC 01 00 FA */ fmadds f0, f1, f3, f0
/* 802992D8 00296238 D0 1F 01 28 */ stfs f0, 0x128(r31)
/* 802992DC 0029623C C0 1F 01 28 */ lfs f0, 0x128(r31)
/* 802992E0 00296240 FC 00 20 40 */ fcmpo cr0, f0, f4
/* 802992E4 00296244 4C 41 13 82 */ cror 2, 1, 2
/* 802992E8 00296248 40 82 00 88 */ bne lbl_80299370
/* 802992EC 0029624C 88 1F 01 34 */ lbz r0, 0x134(r31)
/* 802992F0 00296250 38 60 00 00 */ li r3, 0
/* 802992F4 00296254 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19
/* 802992F8 00296258 98 1F 01 34 */ stb r0, 0x134(r31)
/* 802992FC 0029625C D0 9F 01 28 */ stfs f4, 0x128(r31)
/* 80299300 00296260 48 00 00 70 */ b lbl_80299370
lbl_80299304:
/* 80299304 00296264 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f
/* 80299308 00296268 41 82 00 68 */ beq lbl_80299370
/* 8029930C 0029626C 7F E3 FB 78 */ mr r3, r31
/* 80299310 00296270 48 00 00 B9 */ bl sub_802993c8
/* 80299314 00296274 FF C0 08 50 */ fneg f30, f1
/* 80299318 00296278 7F E3 FB 78 */ mr r3, r31
/* 8029931C 0029627C 48 00 00 AD */ bl sub_802993c8
/* 80299320 00296280 80 6D A1 50 */ lwz r3, gpTweakSlideShow@sda21(r13)
/* 80299324 00296284 C0 02 C0 0C */ lfs f0, lbl_805ADD2C@sda21(r2)
/* 80299328 00296288 C0 43 00 44 */ lfs f2, 0x44(r3)
/* 8029932C 0029628C EC 60 08 2A */ fadds f3, f0, f1
/* 80299330 00296290 C0 1F 01 28 */ lfs f0, 0x128(r31)
/* 80299334 00296294 EC 3F 10 24 */ fdivs f1, f31, f2
/* 80299338 00296298 EC 01 00 FC */ fnmsubs f0, f1, f3, f0
/* 8029933C 0029629C D0 1F 01 28 */ stfs f0, 0x128(r31)
/* 80299340 002962A0 C0 1F 01 28 */ lfs f0, 0x128(r31)
/* 80299344 002962A4 FC 00 F0 40 */ fcmpo cr0, f0, f30
/* 80299348 002962A8 4C 40 13 82 */ cror 2, 0, 2
/* 8029934C 002962AC 40 82 00 24 */ bne lbl_80299370
/* 80299350 002962B0 88 1F 01 34 */ lbz r0, 0x134(r31)
/* 80299354 002962B4 38 60 00 00 */ li r3, 0
/* 80299358 002962B8 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a
/* 8029935C 002962BC 98 1F 01 34 */ stb r0, 0x134(r31)
/* 80299360 002962C0 88 1F 01 34 */ lbz r0, 0x134(r31)
/* 80299364 002962C4 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18
/* 80299368 002962C8 98 1F 01 34 */ stb r0, 0x134(r31)
/* 8029936C 002962CC D3 DF 01 28 */ stfs f30, 0x128(r31)
lbl_80299370:
/* 80299370 002962D0 7F E3 FB 78 */ mr r3, r31
/* 80299374 002962D4 48 00 00 55 */ bl sub_802993c8
/* 80299378 002962D8 C0 5F 01 28 */ lfs f2, 0x128(r31)
/* 8029937C 002962DC C0 02 C0 0C */ lfs f0, lbl_805ADD2C@sda21(r2)
/* 80299380 002962E0 EC 22 08 2A */ fadds f1, f2, f1
/* 80299384 002962E4 D0 3F 01 2C */ stfs f1, 0x12c(r31)
/* 80299388 002962E8 C0 3F 01 2C */ lfs f1, 0x12c(r31)
/* 8029938C 002962EC FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80299390 002962F0 40 80 00 08 */ bge lbl_80299398
/* 80299394 002962F4 D0 1F 01 2C */ stfs f0, 0x12c(r31)
lbl_80299398:
/* 80299398 002962F8 FC 20 F8 90 */ fmr f1, f31
/* 8029939C 002962FC 80 7F 00 C4 */ lwz r3, 0xc4(r31)
/* 802993A0 00296300 48 02 ED D9 */ bl Update__15CGuiTextSupportFf
lbl_802993A4:
/* 802993A4 00296304 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0
/* 802993A8 00296308 CB E1 00 20 */ lfd f31, 0x20(r1)
/* 802993AC 0029630C E3 C1 00 18 */ psq_l f30, 24(r1), 0, qr0
/* 802993B0 00296310 CB C1 00 10 */ lfd f30, 0x10(r1)
/* 802993B4 00296314 80 01 00 34 */ lwz r0, 0x34(r1)
/* 802993B8 00296318 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 802993BC 0029631C 7C 08 03 A6 */ mtlr r0
/* 802993C0 00296320 38 21 00 30 */ addi r1, r1, 0x30
2022-07-14 05:48:03 +00:00
/* 802993C4 00296324 4E 80 00 20 */ blr
.global sub_802993c8
sub_802993c8:
/* 802993C8 00296328 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 802993CC 0029632C 7C 08 02 A6 */ mflr r0
/* 802993D0 00296330 3C 80 80 3F */ lis r4, lbl_803ED910@ha
/* 802993D4 00296334 90 01 00 24 */ stw r0, 0x24(r1)
/* 802993D8 00296338 38 84 D9 10 */ addi r4, r4, lbl_803ED910@l
/* 802993DC 0029633C 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 802993E0 00296340 80 63 00 38 */ lwz r3, 0x38(r3)
/* 802993E4 00296344 83 E4 00 08 */ lwz r31, 8(r4)
/* 802993E8 00296348 48 0A 7A 25 */ bl GetObj__6CTokenFv
/* 802993EC 0029634C 6F E4 80 00 */ xoris r4, r31, 0x8000
/* 802993F0 00296350 3C 00 43 30 */ lis r0, 0x4330
/* 802993F4 00296354 90 81 00 0C */ stw r4, 0xc(r1)
/* 802993F8 00296358 80 63 00 04 */ lwz r3, 4(r3)
/* 802993FC 0029635C 90 01 00 08 */ stw r0, 8(r1)
/* 80299400 00296360 80 63 00 28 */ lwz r3, 0x28(r3)
/* 80299404 00296364 C8 42 BF F8 */ lfd f2, lbl_805ADD18@sda21(r2)
/* 80299408 00296368 C8 21 00 08 */ lfd f1, 8(r1)
/* 8029940C 0029636C C0 02 C0 0C */ lfs f0, lbl_805ADD2C@sda21(r2)
/* 80299410 00296370 EC 81 10 28 */ fsubs f4, f1, f2
/* 80299414 00296374 C0 63 00 2C */ lfs f3, 0x2c(r3)
/* 80299418 00296378 C0 43 00 20 */ lfs f2, 0x20(r3)
/* 8029941C 0029637C C0 23 00 34 */ lfs f1, 0x34(r3)
/* 80299420 00296380 EC 84 00 28 */ fsubs f4, f4, f0
/* 80299424 00296384 C0 03 00 28 */ lfs f0, 0x28(r3)
/* 80299428 00296388 EC 43 10 28 */ fsubs f2, f3, f2
/* 8029942C 0029638C EC 01 00 28 */ fsubs f0, f1, f0
/* 80299430 00296390 EC 24 10 24 */ fdivs f1, f4, f2
/* 80299434 00296394 EC 21 00 32 */ fmuls f1, f1, f0
/* 80299438 00296398 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8029943C 0029639C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80299440 002963A0 7C 08 03 A6 */ mtlr r0
/* 80299444 002963A4 38 21 00 20 */ addi r1, r1, 0x20
2022-07-14 05:48:03 +00:00
/* 80299448 002963A8 4E 80 00 20 */ blr
.global sub_8029944c
sub_8029944c:
/* 8029944C 002963AC 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80299450 002963B0 7C 08 02 A6 */ mflr r0
/* 80299454 002963B4 90 01 00 14 */ stw r0, 0x14(r1)
/* 80299458 002963B8 80 63 00 C4 */ lwz r3, 0xc4(r3)
/* 8029945C 002963BC 48 02 E9 15 */ bl GetBounds__15CGuiTextSupportFv
/* 80299460 002963C0 80 83 00 0C */ lwz r4, 0xc(r3)
/* 80299464 002963C4 3C 00 43 30 */ lis r0, 0x4330
/* 80299468 002963C8 80 63 00 04 */ lwz r3, 4(r3)
/* 8029946C 002963CC 90 01 00 08 */ stw r0, 8(r1)
/* 80299470 002963D0 7C 04 18 50 */ subf r0, r4, r3
/* 80299474 002963D4 C8 22 BF F8 */ lfd f1, lbl_805ADD18@sda21(r2)
/* 80299478 002963D8 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 8029947C 002963DC 90 01 00 0C */ stw r0, 0xc(r1)
/* 80299480 002963E0 C8 01 00 08 */ lfd f0, 8(r1)
/* 80299484 002963E4 EC 20 08 28 */ fsubs f1, f0, f1
/* 80299488 002963E8 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8029948C 002963EC 7C 08 03 A6 */ mtlr r0
/* 80299490 002963F0 38 21 00 10 */ addi r1, r1, 0x10
2022-07-14 05:48:03 +00:00
/* 80299494 002963F4 4E 80 00 20 */ blr
.global sub_80299498
sub_80299498:
/* 80299498 002963F8 88 83 01 34 */ lbz r4, 0x134(r3)
/* 8029949C 002963FC 38 60 00 00 */ li r3, 0
/* 802994A0 00296400 54 80 CF FF */ rlwinm. r0, r4, 0x19, 0x1f, 0x1f
/* 802994A4 00296404 40 82 00 14 */ bne lbl_802994B8
/* 802994A8 00296408 54 80 D7 FF */ rlwinm. r0, r4, 0x1a, 0x1f, 0x1f
/* 802994AC 0029640C 40 82 00 0C */ bne lbl_802994B8
/* 802994B0 00296410 54 80 DF FF */ rlwinm. r0, r4, 0x1b, 0x1f, 0x1f
2022-07-14 05:48:03 +00:00
/* 802994B4 00296414 4D 82 00 20 */ beqlr
lbl_802994B8:
/* 802994B8 00296418 38 60 00 01 */ li r3, 1
2022-07-14 05:48:03 +00:00
/* 802994BC 0029641C 4E 80 00 20 */ blr
.global sub_802994c0
sub_802994c0:
/* 802994C0 00296420 54 85 06 3E */ clrlwi r5, r4, 0x18
/* 802994C4 00296424 88 03 01 34 */ lbz r0, 0x134(r3)
/* 802994C8 00296428 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19
/* 802994CC 0029642C 98 03 01 34 */ stb r0, 0x134(r3)
/* 802994D0 00296430 7C A0 00 34 */ cntlzw r0, r5
/* 802994D4 00296434 54 04 D9 7E */ srwi r4, r0, 5
/* 802994D8 00296438 88 03 01 34 */ lbz r0, 0x134(r3)
/* 802994DC 0029643C 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a
/* 802994E0 00296440 98 03 01 34 */ stb r0, 0x134(r3)
/* 802994E4 00296444 88 03 01 34 */ lbz r0, 0x134(r3)
/* 802994E8 00296448 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18
/* 802994EC 0029644C 98 03 01 34 */ stb r0, 0x134(r3)
2022-07-14 05:48:03 +00:00
/* 802994F0 00296450 4E 80 00 20 */ blr
.global sub_802994f4
sub_802994f4:
/* 802994F4 00296454 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 802994F8 00296458 7C 08 02 A6 */ mflr r0
/* 802994FC 0029645C 90 01 00 34 */ stw r0, 0x34(r1)
/* 80299500 00296460 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 80299504 00296464 7C 7F 1B 78 */ mr r31, r3
/* 80299508 00296468 93 C1 00 28 */ stw r30, 0x28(r1)
/* 8029950C 0029646C 93 A1 00 24 */ stw r29, 0x24(r1)
/* 80299510 00296470 93 81 00 20 */ stw r28, 0x20(r1)
/* 80299514 00296474 80 03 00 A0 */ lwz r0, 0xa0(r3)
/* 80299518 00296478 28 00 00 00 */ cmplwi r0, 0
/* 8029951C 0029647C 40 82 01 7C */ bne lbl_80299698
/* 80299520 00296480 80 1F 00 60 */ lwz r0, 0x60(r31)
/* 80299524 00296484 80 9F 00 44 */ lwz r4, 0x44(r31)
/* 80299528 00296488 7C 00 20 00 */ cmpw r0, r4
/* 8029952C 0029648C 40 82 00 14 */ bne lbl_80299540
/* 80299530 00296490 80 7F 00 64 */ lwz r3, 0x64(r31)
/* 80299534 00296494 80 1F 00 48 */ lwz r0, 0x48(r31)
/* 80299538 00296498 7C 03 00 00 */ cmpw r3, r0
/* 8029953C 0029649C 41 82 01 5C */ beq lbl_80299698
lbl_80299540:
/* 80299540 002964A0 1C 64 00 14 */ mulli r3, r4, 0x14
/* 80299544 002964A4 80 1F 00 48 */ lwz r0, 0x48(r31)
/* 80299548 002964A8 80 9F 00 34 */ lwz r4, 0x34(r31)
/* 8029954C 002964AC 54 00 10 3A */ slwi r0, r0, 2
/* 80299550 002964B0 38 63 00 10 */ addi r3, r3, 0x10
/* 80299554 002964B4 7C 64 18 2E */ lwzx r3, r4, r3
/* 80299558 002964B8 7F 83 00 2E */ lwzx r28, r3, r0
/* 8029955C 002964BC 28 1C 00 00 */ cmplwi r28, 0
/* 80299560 002964C0 41 82 01 38 */ beq lbl_80299698
/* 80299564 002964C4 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13)
/* 80299568 002964C8 80 9C 00 04 */ lwz r4, 4(r28)
/* 8029956C 002964CC 38 63 00 04 */ addi r3, r3, 4
/* 80299570 002964D0 48 0A 27 5D */ bl GetResourceTypeById__10CResLoaderCFUi
/* 80299574 002964D4 3C 03 AB A8 */ addis r0, r3, 0xaba8
/* 80299578 002964D8 28 00 54 52 */ cmplwi r0, 0x5452
/* 8029957C 002964DC 40 82 01 1C */ bne lbl_80299698
/* 80299580 002964E0 80 1F 00 44 */ lwz r0, 0x44(r31)
/* 80299584 002964E4 3C 60 80 3D */ lis r3, lbl_803D5C48@ha
/* 80299588 002964E8 38 63 5C 48 */ addi r3, r3, lbl_803D5C48@l
/* 8029958C 002964EC 3B C0 00 00 */ li r30, 0
/* 80299590 002964F0 90 1F 00 94 */ stw r0, 0x94(r31)
/* 80299594 002964F4 38 83 00 D0 */ addi r4, r3, 0xd0
/* 80299598 002964F8 38 60 00 08 */ li r3, 8
/* 8029959C 002964FC 38 A0 00 00 */ li r5, 0
/* 802995A0 00296500 80 1F 00 48 */ lwz r0, 0x48(r31)
/* 802995A4 00296504 90 1F 00 98 */ stw r0, 0x98(r31)
/* 802995A8 00296508 48 07 C2 C5 */ bl __nw__FUlPCcPCc
/* 802995AC 0029650C 7C 7D 1B 79 */ or. r29, r3, r3
/* 802995B0 00296510 41 82 00 30 */ beq lbl_802995E0
/* 802995B4 00296514 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
/* 802995B8 00296518 7F 85 E3 78 */ mr r5, r28
/* 802995BC 0029651C 38 61 00 10 */ addi r3, r1, 0x10
/* 802995C0 00296520 81 84 00 00 */ lwz r12, 0(r4)
/* 802995C4 00296524 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 802995C8 00296528 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 802995CC 0029652C 4E 80 04 21 */ bctrl
/* 802995D0 00296530 7F A3 EB 78 */ mr r3, r29
/* 802995D4 00296534 38 81 00 10 */ addi r4, r1, 0x10
/* 802995D8 00296538 3B C0 00 01 */ li r30, 1
/* 802995DC 0029653C 48 0A 78 CD */ bl __ct__6CTokenFRC6CToken
lbl_802995E0:
/* 802995E0 00296540 7C 1D 00 D0 */ neg r0, r29
/* 802995E4 00296544 38 61 00 08 */ addi r3, r1, 8
/* 802995E8 00296548 7C 04 EB 78 */ or r4, r0, r29
/* 802995EC 0029654C 38 1F 00 9C */ addi r0, r31, 0x9c
/* 802995F0 00296550 54 84 0F FE */ srwi r4, r4, 0x1f
/* 802995F4 00296554 93 A1 00 0C */ stw r29, 0xc(r1)
/* 802995F8 00296558 7C 03 00 40 */ cmplw r3, r0
/* 802995FC 0029655C 98 81 00 08 */ stb r4, 8(r1)
/* 80299600 00296560 41 82 00 48 */ beq lbl_80299648
/* 80299604 00296564 88 1F 00 9C */ lbz r0, 0x9c(r31)
/* 80299608 00296568 28 00 00 00 */ cmplwi r0, 0
/* 8029960C 0029656C 41 82 00 24 */ beq lbl_80299630
/* 80299610 00296570 83 BF 00 A0 */ lwz r29, 0xa0(r31)
/* 80299614 00296574 28 1D 00 00 */ cmplwi r29, 0
/* 80299618 00296578 41 82 00 18 */ beq lbl_80299630
/* 8029961C 0029657C 7F A3 EB 78 */ mr r3, r29
/* 80299620 00296580 38 80 00 00 */ li r4, 0
/* 80299624 00296584 48 0A 78 1D */ bl __dt__6CTokenFv
/* 80299628 00296588 7F A3 EB 78 */ mr r3, r29
/* 8029962C 0029658C 48 07 C3 05 */ bl Free__7CMemoryFPCv
lbl_80299630:
/* 80299630 00296590 88 61 00 08 */ lbz r3, 8(r1)
/* 80299634 00296594 38 00 00 00 */ li r0, 0
/* 80299638 00296598 98 7F 00 9C */ stb r3, 0x9c(r31)
/* 8029963C 0029659C 80 61 00 0C */ lwz r3, 0xc(r1)
/* 80299640 002965A0 90 7F 00 A0 */ stw r3, 0xa0(r31)
/* 80299644 002965A4 98 01 00 08 */ stb r0, 8(r1)
lbl_80299648:
/* 80299648 002965A8 88 01 00 08 */ lbz r0, 8(r1)
/* 8029964C 002965AC 28 00 00 00 */ cmplwi r0, 0
/* 80299650 002965B0 41 82 00 24 */ beq lbl_80299674
/* 80299654 002965B4 83 A1 00 0C */ lwz r29, 0xc(r1)
/* 80299658 002965B8 28 1D 00 00 */ cmplwi r29, 0
/* 8029965C 002965BC 41 82 00 18 */ beq lbl_80299674
/* 80299660 002965C0 7F A3 EB 78 */ mr r3, r29
/* 80299664 002965C4 38 80 00 00 */ li r4, 0
/* 80299668 002965C8 48 0A 77 D9 */ bl __dt__6CTokenFv
/* 8029966C 002965CC 7F A3 EB 78 */ mr r3, r29
/* 80299670 002965D0 48 07 C2 C1 */ bl Free__7CMemoryFPCv
lbl_80299674:
/* 80299674 002965D4 7F C0 07 75 */ extsb. r0, r30
/* 80299678 002965D8 41 82 00 10 */ beq lbl_80299688
/* 8029967C 002965DC 38 61 00 10 */ addi r3, r1, 0x10
/* 80299680 002965E0 38 80 FF FF */ li r4, -1
/* 80299684 002965E4 48 0A 77 BD */ bl __dt__6CTokenFv
lbl_80299688:
/* 80299688 002965E8 80 7F 00 A0 */ lwz r3, 0xa0(r31)
/* 8029968C 002965EC 48 0A 76 F9 */ bl Lock__6CTokenFv
/* 80299690 002965F0 38 7F 00 90 */ addi r3, r31, 0x90
/* 80299694 002965F4 4B FF E5 81 */ bl sub_80297c14
lbl_80299698:
/* 80299698 002965F8 80 7F 00 A0 */ lwz r3, 0xa0(r31)
/* 8029969C 002965FC 38 80 00 00 */ li r4, 0
/* 802996A0 00296600 28 03 00 00 */ cmplwi r3, 0
/* 802996A4 00296604 41 82 00 18 */ beq lbl_802996BC
/* 802996A8 00296608 80 63 00 00 */ lwz r3, 0(r3)
/* 802996AC 0029660C 80 03 00 10 */ lwz r0, 0x10(r3)
/* 802996B0 00296610 28 00 00 00 */ cmplwi r0, 0
/* 802996B4 00296614 41 82 00 08 */ beq lbl_802996BC
/* 802996B8 00296618 38 80 00 01 */ li r4, 1
lbl_802996BC:
/* 802996BC 0029661C 54 80 06 3F */ clrlwi. r0, r4, 0x18
/* 802996C0 00296620 41 82 00 18 */ beq lbl_802996D8
/* 802996C4 00296624 88 1F 00 A4 */ lbz r0, 0xa4(r31)
/* 802996C8 00296628 28 00 00 00 */ cmplwi r0, 0
/* 802996CC 0029662C 40 82 00 0C */ bne lbl_802996D8
/* 802996D0 00296630 38 7F 00 90 */ addi r3, r31, 0x90
/* 802996D4 00296634 4B FF E5 41 */ bl sub_80297c14
lbl_802996D8:
/* 802996D8 00296638 80 01 00 34 */ lwz r0, 0x34(r1)
/* 802996DC 0029663C 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 802996E0 00296640 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 802996E4 00296644 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 802996E8 00296648 83 81 00 20 */ lwz r28, 0x20(r1)
/* 802996EC 0029664C 7C 08 03 A6 */ mtlr r0
/* 802996F0 00296650 38 21 00 30 */ addi r1, r1, 0x30
2022-07-14 05:48:03 +00:00
/* 802996F4 00296654 4E 80 00 20 */ blr
.global sub_802996f8
sub_802996f8:
/* 802996F8 00296658 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 802996FC 0029665C 7C 08 02 A6 */ mflr r0
/* 80299700 00296660 90 01 00 24 */ stw r0, 0x24(r1)
/* 80299704 00296664 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80299708 00296668 7C 7F 1B 78 */ mr r31, r3
/* 8029970C 0029666C 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80299710 00296670 7C 9E 23 78 */ mr r30, r4
/* 80299714 00296674 80 03 00 2C */ lwz r0, 0x2c(r3)
/* 80299718 00296678 2C 00 00 00 */ cmpwi r0, 0
/* 8029971C 0029667C 41 82 01 2C */ beq lbl_80299848
/* 80299720 00296680 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2)
/* 80299724 00296684 38 61 00 08 */ addi r3, r1, 8
/* 80299728 00296688 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2)
/* 8029972C 0029668C 38 80 04 45 */ li r4, 0x445
/* 80299730 00296690 38 A0 00 7F */ li r5, 0x7f
/* 80299734 00296694 38 C0 00 40 */ li r6, 0x40
/* 80299738 00296698 38 E0 00 00 */ li r7, 0
/* 8029973C 0029669C 39 20 00 00 */ li r9, 0
/* 80299740 002966A0 48 05 06 35 */ bl SfxStart__11CSfxManagerFUsssbsbi
/* 80299744 002966A4 57 C0 06 3F */ clrlwi. r0, r30, 0x18
/* 80299748 002966A8 41 82 00 14 */ beq lbl_8029975C
/* 8029974C 002966AC 80 7F 00 48 */ lwz r3, 0x48(r31)
/* 80299750 002966B0 38 03 00 01 */ addi r0, r3, 1
/* 80299754 002966B4 90 1F 00 48 */ stw r0, 0x48(r31)
/* 80299758 002966B8 48 00 00 10 */ b lbl_80299768
lbl_8029975C:
/* 8029975C 002966BC 80 7F 00 48 */ lwz r3, 0x48(r31)
/* 80299760 002966C0 38 03 FF FF */ addi r0, r3, -1
/* 80299764 002966C4 90 1F 00 48 */ stw r0, 0x48(r31)
lbl_80299768:
/* 80299768 002966C8 80 DF 00 48 */ lwz r6, 0x48(r31)
/* 8029976C 002966CC 80 BF 00 44 */ lwz r5, 0x44(r31)
/* 80299770 002966D0 2C 06 00 00 */ cmpwi r6, 0
/* 80299774 002966D4 40 80 00 20 */ bge lbl_80299794
/* 80299778 002966D8 38 05 FF FF */ addi r0, r5, -1
/* 8029977C 002966DC 38 60 00 01 */ li r3, 1
/* 80299780 002966E0 90 1F 00 44 */ stw r0, 0x44(r31)
/* 80299784 002966E4 88 1F 01 35 */ lbz r0, 0x135(r31)
/* 80299788 002966E8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18
/* 8029978C 002966EC 98 1F 01 35 */ stb r0, 0x135(r31)
/* 80299790 002966F0 48 00 00 34 */ b lbl_802997C4
lbl_80299794:
/* 80299794 002966F4 1C 65 00 14 */ mulli r3, r5, 0x14
/* 80299798 002966F8 80 9F 00 34 */ lwz r4, 0x34(r31)
/* 8029979C 002966FC 38 03 00 08 */ addi r0, r3, 8
/* 802997A0 00296700 7C 04 00 2E */ lwzx r0, r4, r0
/* 802997A4 00296704 7C 06 00 00 */ cmpw r6, r0
/* 802997A8 00296708 41 80 00 1C */ blt lbl_802997C4
/* 802997AC 0029670C 38 05 00 01 */ addi r0, r5, 1
/* 802997B0 00296710 38 60 00 01 */ li r3, 1
/* 802997B4 00296714 90 1F 00 44 */ stw r0, 0x44(r31)
/* 802997B8 00296718 88 1F 01 35 */ lbz r0, 0x135(r31)
/* 802997BC 0029671C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18
/* 802997C0 00296720 98 1F 01 35 */ stb r0, 0x135(r31)
lbl_802997C4:
/* 802997C4 00296724 80 7F 00 44 */ lwz r3, 0x44(r31)
/* 802997C8 00296728 2C 03 00 00 */ cmpwi r3, 0
/* 802997CC 0029672C 40 80 00 30 */ bge lbl_802997FC
/* 802997D0 00296730 80 7F 00 2C */ lwz r3, 0x2c(r31)
/* 802997D4 00296734 38 03 FF FF */ addi r0, r3, -1
/* 802997D8 00296738 90 1F 00 44 */ stw r0, 0x44(r31)
/* 802997DC 0029673C 80 1F 00 44 */ lwz r0, 0x44(r31)
/* 802997E0 00296740 80 9F 00 34 */ lwz r4, 0x34(r31)
/* 802997E4 00296744 1C 60 00 14 */ mulli r3, r0, 0x14
/* 802997E8 00296748 38 03 00 08 */ addi r0, r3, 8
/* 802997EC 0029674C 7C 64 00 2E */ lwzx r3, r4, r0
/* 802997F0 00296750 38 03 FF FF */ addi r0, r3, -1
/* 802997F4 00296754 90 1F 00 48 */ stw r0, 0x48(r31)
/* 802997F8 00296758 48 00 00 50 */ b lbl_80299848
lbl_802997FC:
/* 802997FC 0029675C 80 1F 00 2C */ lwz r0, 0x2c(r31)
/* 80299800 00296760 7C 03 00 00 */ cmpw r3, r0
/* 80299804 00296764 41 80 00 14 */ blt lbl_80299818
/* 80299808 00296768 38 00 00 00 */ li r0, 0
/* 8029980C 0029676C 90 1F 00 48 */ stw r0, 0x48(r31)
/* 80299810 00296770 90 1F 00 44 */ stw r0, 0x44(r31)
/* 80299814 00296774 48 00 00 34 */ b lbl_80299848
lbl_80299818:
/* 80299818 00296778 7C 03 28 00 */ cmpw r3, r5
/* 8029981C 0029677C 40 81 00 10 */ ble lbl_8029982C
/* 80299820 00296780 38 00 00 00 */ li r0, 0
/* 80299824 00296784 90 1F 00 48 */ stw r0, 0x48(r31)
/* 80299828 00296788 48 00 00 20 */ b lbl_80299848
lbl_8029982C:
/* 8029982C 0029678C 40 80 00 1C */ bge lbl_80299848
/* 80299830 00296790 1C 63 00 14 */ mulli r3, r3, 0x14
/* 80299834 00296794 80 9F 00 34 */ lwz r4, 0x34(r31)
/* 80299838 00296798 38 03 00 08 */ addi r0, r3, 8
/* 8029983C 0029679C 7C 64 00 2E */ lwzx r3, r4, r0
/* 80299840 002967A0 38 03 FF FF */ addi r0, r3, -1
/* 80299844 002967A4 90 1F 00 48 */ stw r0, 0x48(r31)
lbl_80299848:
/* 80299848 002967A8 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8029984C 002967AC 38 60 00 01 */ li r3, 1
/* 80299850 002967B0 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80299854 002967B4 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80299858 002967B8 7C 08 03 A6 */ mtlr r0
/* 8029985C 002967BC 38 21 00 20 */ addi r1, r1, 0x20
2022-07-14 05:48:03 +00:00
/* 80299860 002967C0 4E 80 00 20 */ blr
.global ProcessUserInput__10CSlideShowFRC11CFinalInput
ProcessUserInput__10CSlideShowFRC11CFinalInput:
/* 80299864 002967C4 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80299868 002967C8 7C 08 02 A6 */ mflr r0
/* 8029986C 002967CC 90 01 00 34 */ stw r0, 0x34(r1)
/* 80299870 002967D0 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 80299874 002967D4 93 C1 00 28 */ stw r30, 0x28(r1)
/* 80299878 002967D8 7C 9E 23 78 */ mr r30, r4
/* 8029987C 002967DC 93 A1 00 24 */ stw r29, 0x24(r1)
/* 80299880 002967E0 7C 7D 1B 78 */ mr r29, r3
/* 80299884 002967E4 88 03 01 34 */ lbz r0, 0x134(r3)
/* 80299888 002967E8 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f
/* 8029988C 002967EC 40 82 03 28 */ bne lbl_80299BB4
/* 80299890 002967F0 4B FF FC 09 */ bl sub_80299498
/* 80299894 002967F4 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80299898 002967F8 41 82 00 10 */ beq lbl_802998A8
/* 8029989C 002967FC 7F A3 EB 78 */ mr r3, r29
/* 802998A0 00296800 7F C4 F3 78 */ mr r4, r30
/* 802998A4 00296804 4B FF F3 35 */ bl sub_80298bd8
lbl_802998A8:
/* 802998A8 00296808 88 7E 00 2D */ lbz r3, 0x2d(r30)
/* 802998AC 0029680C 54 60 F7 FF */ rlwinm. r0, r3, 0x1e, 0x1f, 0x1f
/* 802998B0 00296810 41 82 00 64 */ beq lbl_80299914
/* 802998B4 00296814 7F A3 EB 78 */ mr r3, r29
/* 802998B8 00296818 38 80 00 00 */ li r4, 0
/* 802998BC 0029681C 4B FF F2 99 */ bl sub_80298b54
/* 802998C0 00296820 7F A3 EB 78 */ mr r3, r29
/* 802998C4 00296824 38 80 00 00 */ li r4, 0
/* 802998C8 00296828 4B FF F2 09 */ bl sub_80298ad0
/* 802998CC 0029682C A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2)
/* 802998D0 00296830 38 61 00 10 */ addi r3, r1, 0x10
/* 802998D4 00296834 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2)
/* 802998D8 00296838 38 80 04 46 */ li r4, 0x446
/* 802998DC 0029683C 38 A0 00 7F */ li r5, 0x7f
/* 802998E0 00296840 38 C0 00 40 */ li r6, 0x40
/* 802998E4 00296844 38 E0 00 00 */ li r7, 0
/* 802998E8 00296848 39 20 00 00 */ li r9, 0
/* 802998EC 0029684C 48 05 04 89 */ bl SfxStart__11CSfxManagerFUsssbsbi
/* 802998F0 00296850 88 1D 01 34 */ lbz r0, 0x134(r29)
/* 802998F4 00296854 38 80 00 01 */ li r4, 1
/* 802998F8 00296858 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c
/* 802998FC 0029685C 38 60 00 01 */ li r3, 1
/* 80299900 00296860 98 1D 01 34 */ stb r0, 0x134(r29)
/* 80299904 00296864 88 1D 01 34 */ lbz r0, 0x134(r29)
/* 80299908 00296868 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f
/* 8029990C 0029686C 98 1D 01 34 */ stb r0, 0x134(r29)
/* 80299910 00296870 48 00 02 A8 */ b lbl_80299BB8
lbl_80299914:
/* 80299914 00296874 54 60 07 FF */ clrlwi. r0, r3, 0x1f
/* 80299918 00296878 41 82 00 84 */ beq lbl_8029999C
/* 8029991C 0029687C 88 1D 01 34 */ lbz r0, 0x134(r29)
/* 80299920 00296880 7F A3 EB 78 */ mr r3, r29
/* 80299924 00296884 54 00 CF FE */ rlwinm r0, r0, 0x19, 0x1f, 0x1f
/* 80299928 00296888 7C 00 00 34 */ cntlzw r0, r0
/* 8029992C 0029688C 54 04 D9 7E */ srwi r4, r0, 5
/* 80299930 00296890 4B FF FB 91 */ bl sub_802994c0
/* 80299934 00296894 88 1D 01 34 */ lbz r0, 0x134(r29)
/* 80299938 00296898 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8029993C 0029689C 41 82 00 3C */ beq lbl_80299978
/* 80299940 002968A0 88 1D 01 35 */ lbz r0, 0x135(r29)
/* 80299944 002968A4 38 60 00 01 */ li r3, 1
/* 80299948 002968A8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18
/* 8029994C 002968AC A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2)
/* 80299950 002968B0 98 1D 01 35 */ stb r0, 0x135(r29)
/* 80299954 002968B4 38 61 00 0C */ addi r3, r1, 0xc
/* 80299958 002968B8 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2)
/* 8029995C 002968BC 38 80 05 B1 */ li r4, 0x5b1
/* 80299960 002968C0 38 A0 00 7F */ li r5, 0x7f
/* 80299964 002968C4 38 C0 00 40 */ li r6, 0x40
/* 80299968 002968C8 38 E0 00 00 */ li r7, 0
/* 8029996C 002968CC 39 20 00 00 */ li r9, 0
/* 80299970 002968D0 48 05 04 05 */ bl SfxStart__11CSfxManagerFUsssbsbi
/* 80299974 002968D4 48 00 00 28 */ b lbl_8029999C
lbl_80299978:
/* 80299978 002968D8 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2)
/* 8029997C 002968DC 38 61 00 08 */ addi r3, r1, 8
/* 80299980 002968E0 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2)
/* 80299984 002968E4 38 80 05 B0 */ li r4, 0x5b0
/* 80299988 002968E8 38 A0 00 7F */ li r5, 0x7f
/* 8029998C 002968EC 38 C0 00 40 */ li r6, 0x40
/* 80299990 002968F0 38 E0 00 00 */ li r7, 0
/* 80299994 002968F4 39 20 00 00 */ li r9, 0
/* 80299998 002968F8 48 05 03 DD */ bl SfxStart__11CSfxManagerFUsssbsbi
lbl_8029999C:
/* 8029999C 002968FC 88 7E 00 2E */ lbz r3, 0x2e(r30)
/* 802999A0 00296900 3B E0 00 00 */ li r31, 0
/* 802999A4 00296904 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f
/* 802999A8 00296908 41 82 00 4C */ beq lbl_802999F4
/* 802999AC 0029690C 80 7D 00 44 */ lwz r3, 0x44(r29)
/* 802999B0 00296910 38 00 FF FF */ li r0, -1
/* 802999B4 00296914 80 FD 00 2C */ lwz r7, 0x2c(r29)
/* 802999B8 00296918 38 A0 00 01 */ li r5, 1
/* 802999BC 0029691C 39 03 00 01 */ addi r8, r3, 1
/* 802999C0 00296920 7F A3 EB 78 */ mr r3, r29
/* 802999C4 00296924 7C C8 3B D6 */ divw r6, r8, r7
/* 802999C8 00296928 3B E0 00 01 */ li r31, 1
/* 802999CC 0029692C 38 80 00 01 */ li r4, 1
/* 802999D0 00296930 7C C6 39 D6 */ mullw r6, r6, r7
/* 802999D4 00296934 7C C6 40 50 */ subf r6, r6, r8
/* 802999D8 00296938 90 DD 00 44 */ stw r6, 0x44(r29)
/* 802999DC 0029693C 90 1D 00 48 */ stw r0, 0x48(r29)
/* 802999E0 00296940 88 1D 01 35 */ lbz r0, 0x135(r29)
/* 802999E4 00296944 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18
/* 802999E8 00296948 98 1D 01 35 */ stb r0, 0x135(r29)
/* 802999EC 0029694C 4B FF FD 0D */ bl sub_802996f8
/* 802999F0 00296950 48 00 01 68 */ b lbl_80299B58
lbl_802999F4:
/* 802999F4 00296954 54 60 FF FF */ rlwinm. r0, r3, 0x1f, 0x1f, 0x1f
/* 802999F8 00296958 41 82 00 54 */ beq lbl_80299A4C
/* 802999FC 0029695C 80 7D 00 44 */ lwz r3, 0x44(r29)
/* 80299A00 00296960 38 03 FF FF */ addi r0, r3, -1
/* 80299A04 00296964 90 1D 00 44 */ stw r0, 0x44(r29)
/* 80299A08 00296968 80 1D 00 44 */ lwz r0, 0x44(r29)
/* 80299A0C 0029696C 2C 00 00 00 */ cmpwi r0, 0
/* 80299A10 00296970 40 80 00 10 */ bge lbl_80299A20
/* 80299A14 00296974 80 7D 00 2C */ lwz r3, 0x2c(r29)
/* 80299A18 00296978 38 03 FF FF */ addi r0, r3, -1
/* 80299A1C 0029697C 90 1D 00 44 */ stw r0, 0x44(r29)
lbl_80299A20:
/* 80299A20 00296980 38 00 FF FF */ li r0, -1
/* 80299A24 00296984 38 A0 00 01 */ li r5, 1
/* 80299A28 00296988 90 1D 00 48 */ stw r0, 0x48(r29)
/* 80299A2C 0029698C 7F A3 EB 78 */ mr r3, r29
/* 80299A30 00296990 3B E0 00 01 */ li r31, 1
/* 80299A34 00296994 38 80 00 01 */ li r4, 1
/* 80299A38 00296998 88 1D 01 35 */ lbz r0, 0x135(r29)
/* 80299A3C 0029699C 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18
/* 80299A40 002969A0 98 1D 01 35 */ stb r0, 0x135(r29)
/* 80299A44 002969A4 4B FF FC B5 */ bl sub_802996f8
/* 80299A48 002969A8 48 00 01 10 */ b lbl_80299B58
lbl_80299A4C:
/* 80299A4C 002969AC 7F C4 F3 78 */ mr r4, r30
/* 80299A50 002969B0 38 60 00 29 */ li r3, 0x29
/* 80299A54 002969B4 4B D7 2D 7D */ bl GetPressInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput
/* 80299A58 002969B8 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80299A5C 002969BC 40 82 00 10 */ bne lbl_80299A6C
/* 80299A60 002969C0 88 1E 00 2D */ lbz r0, 0x2d(r30)
/* 80299A64 002969C4 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f
/* 80299A68 002969C8 41 82 00 18 */ beq lbl_80299A80
lbl_80299A6C:
/* 80299A6C 002969CC 7F A3 EB 78 */ mr r3, r29
/* 80299A70 002969D0 3B E0 00 01 */ li r31, 1
/* 80299A74 002969D4 38 80 00 01 */ li r4, 1
/* 80299A78 002969D8 4B FF FC 81 */ bl sub_802996f8
/* 80299A7C 002969DC 48 00 00 DC */ b lbl_80299B58
lbl_80299A80:
/* 80299A80 002969E0 7F C4 F3 78 */ mr r4, r30
/* 80299A84 002969E4 38 60 00 28 */ li r3, 0x28
/* 80299A88 002969E8 4B D7 2D 49 */ bl GetPressInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput
/* 80299A8C 002969EC 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80299A90 002969F0 41 82 00 18 */ beq lbl_80299AA8
/* 80299A94 002969F4 7F A3 EB 78 */ mr r3, r29
/* 80299A98 002969F8 3B E0 00 01 */ li r31, 1
/* 80299A9C 002969FC 38 80 00 00 */ li r4, 0
/* 80299AA0 00296A00 4B FF FC 59 */ bl sub_802996f8
/* 80299AA4 00296A04 48 00 00 B4 */ b lbl_80299B58
lbl_80299AA8:
/* 80299AA8 00296A08 7F C4 F3 78 */ mr r4, r30
/* 80299AAC 00296A0C 38 60 00 29 */ li r3, 0x29
/* 80299AB0 00296A10 4B D7 2E 69 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput
/* 80299AB4 00296A14 C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2)
/* 80299AB8 00296A18 FC 01 00 00 */ fcmpu cr0, f1, f0
/* 80299ABC 00296A1C 40 82 00 10 */ bne lbl_80299ACC
/* 80299AC0 00296A20 88 1E 00 2C */ lbz r0, 0x2c(r30)
/* 80299AC4 00296A24 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 80299AC8 00296A28 41 82 00 3C */ beq lbl_80299B04
lbl_80299ACC:
/* 80299ACC 00296A2C C0 2D 99 EC */ lfs f1, lbl_805A85AC@sda21(r13)
/* 80299AD0 00296A30 C0 1D 00 50 */ lfs f0, 0x50(r29)
/* 80299AD4 00296A34 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80299AD8 00296A38 40 80 00 0C */ bge lbl_80299AE4
/* 80299ADC 00296A3C 38 7D 00 50 */ addi r3, r29, 0x50
/* 80299AE0 00296A40 48 00 00 08 */ b lbl_80299AE8
lbl_80299AE4:
/* 80299AE4 00296A44 38 6D 99 EC */ addi r3, r13, lbl_805A85AC@sda21
lbl_80299AE8:
/* 80299AE8 00296A48 C0 03 00 00 */ lfs f0, 0(r3)
/* 80299AEC 00296A4C D0 1D 00 50 */ stfs f0, 0x50(r29)
/* 80299AF0 00296A50 C0 3D 00 50 */ lfs f1, 0x50(r29)
/* 80299AF4 00296A54 C0 1E 00 00 */ lfs f0, 0(r30)
/* 80299AF8 00296A58 EC 01 00 2A */ fadds f0, f1, f0
/* 80299AFC 00296A5C D0 1D 00 50 */ stfs f0, 0x50(r29)
/* 80299B00 00296A60 48 00 00 58 */ b lbl_80299B58
lbl_80299B04:
/* 80299B04 00296A64 7F C4 F3 78 */ mr r4, r30
/* 80299B08 00296A68 38 60 00 28 */ li r3, 0x28
/* 80299B0C 00296A6C 4B D7 2E 0D */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput
/* 80299B10 00296A70 C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2)
/* 80299B14 00296A74 FC 01 00 00 */ fcmpu cr0, f1, f0
/* 80299B18 00296A78 41 82 00 3C */ beq lbl_80299B54
/* 80299B1C 00296A7C C0 3D 00 50 */ lfs f1, 0x50(r29)
/* 80299B20 00296A80 C0 0D 99 F0 */ lfs f0, lbl_805A85B0@sda21(r13)
/* 80299B24 00296A84 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80299B28 00296A88 40 80 00 0C */ bge lbl_80299B34
/* 80299B2C 00296A8C 38 7D 00 50 */ addi r3, r29, 0x50
/* 80299B30 00296A90 48 00 00 08 */ b lbl_80299B38
lbl_80299B34:
/* 80299B34 00296A94 38 6D 99 F0 */ addi r3, r13, lbl_805A85B0@sda21
lbl_80299B38:
/* 80299B38 00296A98 C0 03 00 00 */ lfs f0, 0(r3)
/* 80299B3C 00296A9C D0 1D 00 50 */ stfs f0, 0x50(r29)
/* 80299B40 00296AA0 C0 3D 00 50 */ lfs f1, 0x50(r29)
/* 80299B44 00296AA4 C0 1E 00 00 */ lfs f0, 0(r30)
/* 80299B48 00296AA8 EC 01 00 28 */ fsubs f0, f1, f0
/* 80299B4C 00296AAC D0 1D 00 50 */ stfs f0, 0x50(r29)
/* 80299B50 00296AB0 48 00 00 08 */ b lbl_80299B58
lbl_80299B54:
/* 80299B54 00296AB4 D0 1D 00 50 */ stfs f0, 0x50(r29)
lbl_80299B58:
/* 80299B58 00296AB8 57 E0 06 3F */ clrlwi. r0, r31, 0x18
/* 80299B5C 00296ABC 41 82 00 10 */ beq lbl_80299B6C
/* 80299B60 00296AC0 C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2)
/* 80299B64 00296AC4 D0 1D 00 50 */ stfs f0, 0x50(r29)
/* 80299B68 00296AC8 D0 1D 00 54 */ stfs f0, 0x54(r29)
lbl_80299B6C:
/* 80299B6C 00296ACC 80 7D 00 6C */ lwz r3, 0x6c(r29)
/* 80299B70 00296AD0 38 80 00 00 */ li r4, 0
/* 80299B74 00296AD4 28 03 00 00 */ cmplwi r3, 0
/* 80299B78 00296AD8 41 82 00 24 */ beq lbl_80299B9C
/* 80299B7C 00296ADC 80 63 00 00 */ lwz r3, 0(r3)
/* 80299B80 00296AE0 80 03 00 10 */ lwz r0, 0x10(r3)
/* 80299B84 00296AE4 28 00 00 00 */ cmplwi r0, 0
/* 80299B88 00296AE8 41 82 00 14 */ beq lbl_80299B9C
/* 80299B8C 00296AEC 88 1D 00 70 */ lbz r0, 0x70(r29)
/* 80299B90 00296AF0 28 00 00 00 */ cmplwi r0, 0
/* 80299B94 00296AF4 41 82 00 08 */ beq lbl_80299B9C
/* 80299B98 00296AF8 38 80 00 01 */ li r4, 1
lbl_80299B9C:
/* 80299B9C 00296AFC 54 80 06 3F */ clrlwi. r0, r4, 0x18
/* 80299BA0 00296B00 41 82 00 14 */ beq lbl_80299BB4
/* 80299BA4 00296B04 7F C4 F3 78 */ mr r4, r30
/* 80299BA8 00296B08 38 7D 00 5C */ addi r3, r29, 0x5c
/* 80299BAC 00296B0C 4B FF E1 B5 */ bl sub_80297d60
/* 80299BB0 00296B10 48 00 00 08 */ b lbl_80299BB8
lbl_80299BB4:
/* 80299BB4 00296B14 38 60 00 01 */ li r3, 1
lbl_80299BB8:
/* 80299BB8 00296B18 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80299BBC 00296B1C 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 80299BC0 00296B20 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 80299BC4 00296B24 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 80299BC8 00296B28 7C 08 03 A6 */ mtlr r0
/* 80299BCC 00296B2C 38 21 00 30 */ addi r1, r1, 0x30
2022-07-14 05:48:03 +00:00
/* 80299BD0 00296B30 4E 80 00 20 */ blr
.global UpdatePersistentScanPercent__FUiUiUi
UpdatePersistentScanPercent__FUiUiUi:
/* 80299BD4 00296B34 94 21 FF 50 */ stwu r1, -0xb0(r1)
/* 80299BD8 00296B38 7C 08 02 A6 */ mflr r0
/* 80299BDC 00296B3C 90 01 00 B4 */ stw r0, 0xb4(r1)
/* 80299BE0 00296B40 DB E1 00 A0 */ stfd f31, 0xa0(r1)
/* 80299BE4 00296B44 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0
/* 80299BE8 00296B48 DB C1 00 90 */ stfd f30, 0x90(r1)
/* 80299BEC 00296B4C F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0
/* 80299BF0 00296B50 93 E1 00 8C */ stw r31, 0x8c(r1)
/* 80299BF4 00296B54 93 C1 00 88 */ stw r30, 0x88(r1)
/* 80299BF8 00296B58 93 A1 00 84 */ stw r29, 0x84(r1)
/* 80299BFC 00296B5C 7C 7E 1B 78 */ mr r30, r3
/* 80299C00 00296B60 7C BD 2B 78 */ mr r29, r5
/* 80299C04 00296B64 7C 1E 20 00 */ cmpw r30, r4
/* 80299C08 00296B68 41 82 01 8C */ beq lbl_80299D94
/* 80299C0C 00296B6C 3C A0 43 30 */ lis r5, 0x4330
/* 80299C10 00296B70 6C 83 80 00 */ xoris r3, r4, 0x8000
/* 80299C14 00296B74 6F A0 80 00 */ xoris r0, r29, 0x8000
/* 80299C18 00296B78 90 61 00 44 */ stw r3, 0x44(r1)
/* 80299C1C 00296B7C 80 8D A1 50 */ lwz r4, gpTweakSlideShow@sda21(r13)
/* 80299C20 00296B80 90 A1 00 40 */ stw r5, 0x40(r1)
/* 80299C24 00296B84 C8 42 BF F8 */ lfd f2, lbl_805ADD18@sda21(r2)
/* 80299C28 00296B88 C8 01 00 40 */ lfd f0, 0x40(r1)
/* 80299C2C 00296B8C 90 01 00 4C */ stw r0, 0x4c(r1)
/* 80299C30 00296B90 EC 20 10 28 */ fsubs f1, f0, f2
/* 80299C34 00296B94 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13)
/* 80299C38 00296B98 90 A1 00 48 */ stw r5, 0x48(r1)
/* 80299C3C 00296B9C C0 62 C0 2C */ lfs f3, lbl_805ADD4C@sda21(r2)
/* 80299C40 00296BA0 38 63 00 A8 */ addi r3, r3, 0xa8
/* 80299C44 00296BA4 C8 01 00 48 */ lfd f0, 0x48(r1)
/* 80299C48 00296BA8 C3 E4 00 2C */ lfs f31, 0x2c(r4)
/* 80299C4C 00296BAC EC 00 10 28 */ fsubs f0, f0, f2
/* 80299C50 00296BB0 EC 01 00 24 */ fdivs f0, f1, f0
/* 80299C54 00296BB4 EF C3 00 32 */ fmuls f30, f3, f0
/* 80299C58 00296BB8 4B F3 B5 B1 */ bl GetLogScanCount__14CSystemOptionsFv
/* 80299C5C 00296BBC 3C 80 43 30 */ lis r4, 0x4330
/* 80299C60 00296BC0 6F C5 80 00 */ xoris r5, r30, 0x8000
/* 80299C64 00296BC4 90 A1 00 5C */ stw r5, 0x5c(r1)
/* 80299C68 00296BC8 6F A0 80 00 */ xoris r0, r29, 0x8000
/* 80299C6C 00296BCC EC 1E F8 24 */ fdivs f0, f30, f31
/* 80299C70 00296BD0 C8 62 BF F8 */ lfd f3, lbl_805ADD18@sda21(r2)
/* 80299C74 00296BD4 90 81 00 58 */ stw r4, 0x58(r1)
/* 80299C78 00296BD8 C0 82 C0 2C */ lfs f4, lbl_805ADD4C@sda21(r2)
/* 80299C7C 00296BDC C8 21 00 58 */ lfd f1, 0x58(r1)
/* 80299C80 00296BE0 90 01 00 64 */ stw r0, 0x64(r1)
/* 80299C84 00296BE4 90 81 00 60 */ stw r4, 0x60(r1)
/* 80299C88 00296BE8 EC 41 18 28 */ fsubs f2, f1, f3
/* 80299C8C 00296BEC FC 00 00 1E */ fctiwz f0, f0
/* 80299C90 00296BF0 C8 21 00 60 */ lfd f1, 0x60(r1)
/* 80299C94 00296BF4 FC A0 F0 1E */ fctiwz f5, f30
/* 80299C98 00296BF8 EC 21 18 28 */ fsubs f1, f1, f3
/* 80299C9C 00296BFC D8 01 00 70 */ stfd f0, 0x70(r1)
/* 80299CA0 00296C00 D8 A1 00 50 */ stfd f5, 0x50(r1)
/* 80299CA4 00296C04 EC 22 08 24 */ fdivs f1, f2, f1
/* 80299CA8 00296C08 83 C1 00 74 */ lwz r30, 0x74(r1)
/* 80299CAC 00296C0C 80 81 00 54 */ lwz r4, 0x54(r1)
/* 80299CB0 00296C10 7C 80 1A 78 */ xor r0, r4, r3
/* 80299CB4 00296C14 7C 03 0E 70 */ srawi r3, r0, 1
/* 80299CB8 00296C18 7C 00 20 38 */ and r0, r0, r4
/* 80299CBC 00296C1C EC 04 00 72 */ fmuls f0, f4, f1
/* 80299CC0 00296C20 7C 00 18 50 */ subf r0, r0, r3
/* 80299CC4 00296C24 54 1D 0F FF */ rlwinm. r29, r0, 1, 0x1f, 0x1f
/* 80299CC8 00296C28 EC 00 F8 24 */ fdivs f0, f0, f31
/* 80299CCC 00296C2C FC 00 00 1E */ fctiwz f0, f0
/* 80299CD0 00296C30 D8 01 00 68 */ stfd f0, 0x68(r1)
/* 80299CD4 00296C34 83 E1 00 6C */ lwz r31, 0x6c(r1)
/* 80299CD8 00296C38 41 82 00 10 */ beq lbl_80299CE8
/* 80299CDC 00296C3C 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13)
/* 80299CE0 00296C40 38 63 00 A8 */ addi r3, r3, 0xa8
/* 80299CE4 00296C44 4B F3 B5 1D */ bl SetLogScanCount__14CSystemOptionsFi
lbl_80299CE8:
/* 80299CE8 00296C48 7C 1E F8 00 */ cmpw r30, r31
/* 80299CEC 00296C4C 40 81 00 A8 */ ble lbl_80299D94
/* 80299CF0 00296C50 38 1E FF FF */ addi r0, r30, -1
/* 80299CF4 00296C54 38 81 00 0C */ addi r4, r1, 0xc
/* 80299CF8 00296C58 90 01 00 0C */ stw r0, 0xc(r1)
/* 80299CFC 00296C5C 38 6D 99 E4 */ addi r3, r13, lbl_805A85A4@sda21
/* 80299D00 00296C60 38 AD 99 E8 */ addi r5, r13, lbl_805A85A8@sda21
/* 80299D04 00296C64 4B DC 03 61 */ bl "Clamp<i>__5CMathFRCiRCiRCi"
/* 80299D08 00296C68 80 03 00 00 */ lwz r0, 0(r3)
/* 80299D0C 00296C6C 38 82 BF E8 */ addi r4, r2, lbl_805ADD08@sda21
/* 80299D10 00296C70 38 61 00 20 */ addi r3, r1, 0x20
/* 80299D14 00296C74 38 C1 00 08 */ addi r6, r1, 8
/* 80299D18 00296C78 54 00 10 3A */ slwi r0, r0, 2
/* 80299D1C 00296C7C 38 A0 FF FF */ li r5, -1
/* 80299D20 00296C80 7C 84 00 2E */ lwzx r4, r4, r0
/* 80299D24 00296C84 48 0A 44 71 */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator"
/* 80299D28 00296C88 3C 60 80 3D */ lis r3, lbl_803D5C48@ha
/* 80299D2C 00296C8C 28 1D 00 00 */ cmplwi r29, 0
/* 80299D30 00296C90 38 C3 5C 48 */ addi r6, r3, lbl_803D5C48@l
/* 80299D34 00296C94 38 61 00 10 */ addi r3, r1, 0x10
/* 80299D38 00296C98 38 81 00 20 */ addi r4, r1, 0x20
/* 80299D3C 00296C9C 38 A6 00 D9 */ addi r5, r6, 0xd9
/* 80299D40 00296CA0 41 82 00 08 */ beq lbl_80299D48
/* 80299D44 00296CA4 38 A6 00 D7 */ addi r5, r6, 0xd7
lbl_80299D48:
/* 80299D48 00296CA8 4B F7 23 AD */ bl "__pl__4rstlFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>PCc"
/* 80299D4C 00296CAC 38 61 00 30 */ addi r3, r1, 0x30
/* 80299D50 00296CB0 38 81 00 10 */ addi r4, r1, 0x10
/* 80299D54 00296CB4 48 0A 44 0D */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 80299D58 00296CB8 38 61 00 10 */ addi r3, r1, 0x10
/* 80299D5C 00296CBC 48 0A 3D 85 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 80299D60 00296CC0 38 61 00 20 */ addi r3, r1, 0x20
/* 80299D64 00296CC4 48 0A 3D 7D */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 80299D68 00296CC8 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13)
/* 80299D6C 00296CCC 80 81 00 30 */ lwz r4, 0x30(r1)
/* 80299D70 00296CD0 81 83 00 00 */ lwz r12, 0(r3)
/* 80299D74 00296CD4 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 80299D78 00296CD8 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 80299D7C 00296CDC 4E 80 04 21 */ bctrl
/* 80299D80 00296CE0 83 E3 00 04 */ lwz r31, 4(r3)
/* 80299D84 00296CE4 38 61 00 30 */ addi r3, r1, 0x30
/* 80299D88 00296CE8 48 0A 3D 59 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 80299D8C 00296CEC 7F E3 FB 78 */ mr r3, r31
/* 80299D90 00296CF0 48 00 00 08 */ b lbl_80299D98
lbl_80299D94:
/* 80299D94 00296CF4 38 60 FF FF */ li r3, -1
lbl_80299D98:
/* 80299D98 00296CF8 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0
/* 80299D9C 00296CFC CB E1 00 A0 */ lfd f31, 0xa0(r1)
/* 80299DA0 00296D00 E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0
/* 80299DA4 00296D04 CB C1 00 90 */ lfd f30, 0x90(r1)
/* 80299DA8 00296D08 83 E1 00 8C */ lwz r31, 0x8c(r1)
/* 80299DAC 00296D0C 83 C1 00 88 */ lwz r30, 0x88(r1)
/* 80299DB0 00296D10 80 01 00 B4 */ lwz r0, 0xb4(r1)
/* 80299DB4 00296D14 83 A1 00 84 */ lwz r29, 0x84(r1)
/* 80299DB8 00296D18 7C 08 03 A6 */ mtlr r0
/* 80299DBC 00296D1C 38 21 00 B0 */ addi r1, r1, 0xb0
2022-07-14 05:48:03 +00:00
/* 80299DC0 00296D20 4E 80 00 20 */ blr
.global CalculateScanCompletionRate__13CStateManagerFv
CalculateScanCompletionRate__13CStateManagerFv:
/* 80299DC4 00296D24 80 84 08 B8 */ lwz r4, 0x8b8(r4)
/* 80299DC8 00296D28 39 20 00 00 */ li r9, 0
/* 80299DCC 00296D2C 80 CD A0 84 */ lwz r6, gpMemoryCard@sda21(r13)
/* 80299DD0 00296D30 39 40 00 00 */ li r10, 0
/* 80299DD4 00296D34 80 E4 00 00 */ lwz r7, 0(r4)
/* 80299DD8 00296D38 39 00 00 00 */ li r8, 0
/* 80299DDC 00296D3C 80 07 01 74 */ lwz r0, 0x174(r7)
/* 80299DE0 00296D40 7C 09 03 A6 */ mtctr r0
/* 80299DE4 00296D44 2C 00 00 00 */ cmpwi r0, 0
/* 80299DE8 00296D48 40 81 00 60 */ ble lbl_80299E48
/* 80299DEC 00296D4C C0 22 C0 14 */ lfs f1, lbl_805ADD34@sda21(r2)
lbl_80299DF0:
/* 80299DF0 00296D50 80 86 00 2C */ lwz r4, 0x2c(r6)
/* 80299DF4 00296D54 38 08 00 04 */ addi r0, r8, 4
/* 80299DF8 00296D58 80 A7 01 7C */ lwz r5, 0x17c(r7)
/* 80299DFC 00296D5C 7D 64 00 2E */ lwzx r11, r4, r0
/* 80299E00 00296D60 7C 85 42 14 */ add r4, r5, r8
/* 80299E04 00296D64 38 0B FF FF */ addi r0, r11, -1
/* 80299E08 00296D68 28 00 00 01 */ cmplwi r0, 1
/* 80299E0C 00296D6C 40 81 00 0C */ ble lbl_80299E18
/* 80299E10 00296D70 28 0B 00 03 */ cmplwi r11, 3
/* 80299E14 00296D74 40 82 00 0C */ bne lbl_80299E20
lbl_80299E18:
/* 80299E18 00296D78 38 00 00 01 */ li r0, 1
/* 80299E1C 00296D7C 48 00 00 08 */ b lbl_80299E24
lbl_80299E20:
/* 80299E20 00296D80 38 00 00 00 */ li r0, 0
lbl_80299E24:
/* 80299E24 00296D84 54 00 06 3F */ clrlwi. r0, r0, 0x18
/* 80299E28 00296D88 41 82 00 18 */ beq lbl_80299E40
/* 80299E2C 00296D8C C0 04 00 04 */ lfs f0, 4(r4)
/* 80299E30 00296D90 39 29 00 01 */ addi r9, r9, 1
/* 80299E34 00296D94 FC 01 00 00 */ fcmpu cr0, f1, f0
/* 80299E38 00296D98 40 82 00 08 */ bne lbl_80299E40
/* 80299E3C 00296D9C 39 4A 00 01 */ addi r10, r10, 1
lbl_80299E40:
/* 80299E40 00296DA0 39 08 00 08 */ addi r8, r8, 8
/* 80299E44 00296DA4 42 00 FF AC */ bdnz lbl_80299DF0
lbl_80299E48:
/* 80299E48 00296DA8 91 43 00 00 */ stw r10, 0(r3)
/* 80299E4C 00296DAC 91 23 00 04 */ stw r9, 4(r3)
2022-07-14 05:48:03 +00:00
/* 80299E50 00296DB0 4E 80 00 20 */ blr
.global IsDataLoreResearchScan__FUi
IsDataLoreResearchScan__FUi:
/* 80299E54 00296DB4 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 80299E58 00296DB8 7C 08 02 A6 */ mflr r0
/* 80299E5C 00296DBC 90 01 00 44 */ stw r0, 0x44(r1)
/* 80299E60 00296DC0 38 81 00 20 */ addi r4, r1, 0x20
/* 80299E64 00296DC4 89 21 00 10 */ lbz r9, 0x10(r1)
/* 80299E68 00296DC8 38 A1 00 24 */ addi r5, r1, 0x24
/* 80299E6C 00296DCC 93 E1 00 3C */ stw r31, 0x3c(r1)
/* 80299E70 00296DD0 38 C1 00 08 */ addi r6, r1, 8
/* 80299E74 00296DD4 38 E1 00 0C */ addi r7, r1, 0xc
/* 80299E78 00296DD8 83 ED A0 84 */ lwz r31, gpMemoryCard@sda21(r13)
/* 80299E7C 00296DDC 90 61 00 08 */ stw r3, 8(r1)
/* 80299E80 00296DE0 38 61 00 1C */ addi r3, r1, 0x1c
/* 80299E84 00296DE4 80 1F 00 24 */ lwz r0, 0x24(r31)
/* 80299E88 00296DE8 81 1F 00 2C */ lwz r8, 0x2c(r31)
/* 80299E8C 00296DEC 54 00 18 38 */ slwi r0, r0, 3
/* 80299E90 00296DF0 99 21 00 14 */ stb r9, 0x14(r1)
/* 80299E94 00296DF4 7D 08 02 14 */ add r8, r8, r0
/* 80299E98 00296DF8 91 01 00 2C */ stw r8, 0x2c(r1)
/* 80299E9C 00296DFC 80 1F 00 2C */ lwz r0, 0x2c(r31)
/* 80299EA0 00296E00 91 01 00 28 */ stw r8, 0x28(r1)
/* 80299EA4 00296E04 90 01 00 30 */ stw r0, 0x30(r1)
/* 80299EA8 00296E08 99 21 00 0C */ stb r9, 0xc(r1)
/* 80299EAC 00296E0C 91 01 00 24 */ stw r8, 0x24(r1)
/* 80299EB0 00296E10 90 01 00 20 */ stw r0, 0x20(r1)
/* 80299EB4 00296E14 48 00 21 85 */ bl sub_8029c038
/* 80299EB8 00296E18 80 A1 00 1C */ lwz r5, 0x1c(r1)
/* 80299EBC 00296E1C 38 80 00 00 */ li r4, 0
/* 80299EC0 00296E20 80 01 00 2C */ lwz r0, 0x2c(r1)
/* 80299EC4 00296E24 90 A1 00 18 */ stw r5, 0x18(r1)
/* 80299EC8 00296E28 7C 05 00 40 */ cmplw r5, r0
/* 80299ECC 00296E2C 41 82 00 18 */ beq lbl_80299EE4
/* 80299ED0 00296E30 80 61 00 08 */ lwz r3, 8(r1)
/* 80299ED4 00296E34 80 05 00 00 */ lwz r0, 0(r5)
/* 80299ED8 00296E38 7C 03 00 40 */ cmplw r3, r0
/* 80299EDC 00296E3C 41 80 00 08 */ blt lbl_80299EE4
/* 80299EE0 00296E40 38 80 00 01 */ li r4, 1
lbl_80299EE4:
/* 80299EE4 00296E44 54 80 06 3F */ clrlwi. r0, r4, 0x18
/* 80299EE8 00296E48 38 81 00 2C */ addi r4, r1, 0x2c
/* 80299EEC 00296E4C 41 82 00 08 */ beq lbl_80299EF4
/* 80299EF0 00296E50 38 81 00 18 */ addi r4, r1, 0x18
lbl_80299EF4:
/* 80299EF4 00296E54 80 1F 00 24 */ lwz r0, 0x24(r31)
/* 80299EF8 00296E58 80 7F 00 2C */ lwz r3, 0x2c(r31)
/* 80299EFC 00296E5C 54 00 18 38 */ slwi r0, r0, 3
/* 80299F00 00296E60 80 84 00 00 */ lwz r4, 0(r4)
/* 80299F04 00296E64 7C 03 02 14 */ add r0, r3, r0
/* 80299F08 00296E68 7C 04 00 40 */ cmplw r4, r0
/* 80299F0C 00296E6C 41 82 00 38 */ beq lbl_80299F44
/* 80299F10 00296E70 80 64 00 04 */ lwz r3, 4(r4)
/* 80299F14 00296E74 38 03 FF FF */ addi r0, r3, -1
/* 80299F18 00296E78 28 00 00 01 */ cmplwi r0, 1
/* 80299F1C 00296E7C 40 81 00 0C */ ble lbl_80299F28
/* 80299F20 00296E80 28 03 00 03 */ cmplwi r3, 3
/* 80299F24 00296E84 40 82 00 0C */ bne lbl_80299F30
lbl_80299F28:
/* 80299F28 00296E88 38 00 00 01 */ li r0, 1
/* 80299F2C 00296E8C 48 00 00 08 */ b lbl_80299F34
lbl_80299F30:
/* 80299F30 00296E90 38 00 00 00 */ li r0, 0
lbl_80299F34:
/* 80299F34 00296E94 54 00 06 3F */ clrlwi. r0, r0, 0x18
/* 80299F38 00296E98 41 82 00 0C */ beq lbl_80299F44
/* 80299F3C 00296E9C 38 60 00 01 */ li r3, 1
/* 80299F40 00296EA0 48 00 00 08 */ b lbl_80299F48
lbl_80299F44:
/* 80299F44 00296EA4 38 60 00 00 */ li r3, 0
lbl_80299F48:
/* 80299F48 00296EA8 80 01 00 44 */ lwz r0, 0x44(r1)
/* 80299F4C 00296EAC 83 E1 00 3C */ lwz r31, 0x3c(r1)
/* 80299F50 00296EB0 7C 08 03 A6 */ mtlr r0
/* 80299F54 00296EB4 38 21 00 40 */ addi r1, r1, 0x40
2022-07-14 05:48:03 +00:00
/* 80299F58 00296EB8 4E 80 00 20 */ blr
.global Draw__10CSlideShowFv
Draw__10CSlideShowFv:
/* 80299F5C 00296EBC 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 80299F60 00296EC0 7C 08 02 A6 */ mflr r0
/* 80299F64 00296EC4 90 01 00 44 */ stw r0, 0x44(r1)
/* 80299F68 00296EC8 DB E1 00 30 */ stfd f31, 0x30(r1)
/* 80299F6C 00296ECC F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0
/* 80299F70 00296ED0 DB C1 00 20 */ stfd f30, 0x20(r1)
/* 80299F74 00296ED4 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0
/* 80299F78 00296ED8 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80299F7C 00296EDC 7C 7F 1B 78 */ mr r31, r3
/* 80299F80 00296EE0 80 03 00 14 */ lwz r0, 0x14(r3)
/* 80299F84 00296EE4 2C 00 00 05 */ cmpwi r0, 5
/* 80299F88 00296EE8 40 82 01 48 */ bne lbl_8029A0D0
/* 80299F8C 00296EEC 80 7F 00 6C */ lwz r3, 0x6c(r31)
/* 80299F90 00296EF0 38 80 00 00 */ li r4, 0
/* 80299F94 00296EF4 28 03 00 00 */ cmplwi r3, 0
/* 80299F98 00296EF8 41 82 00 24 */ beq lbl_80299FBC
/* 80299F9C 00296EFC 80 63 00 00 */ lwz r3, 0(r3)
/* 80299FA0 00296F00 80 03 00 10 */ lwz r0, 0x10(r3)
/* 80299FA4 00296F04 28 00 00 00 */ cmplwi r0, 0
/* 80299FA8 00296F08 41 82 00 14 */ beq lbl_80299FBC
/* 80299FAC 00296F0C 88 1F 00 70 */ lbz r0, 0x70(r31)
/* 80299FB0 00296F10 28 00 00 00 */ cmplwi r0, 0
/* 80299FB4 00296F14 41 82 00 08 */ beq lbl_80299FBC
/* 80299FB8 00296F18 38 80 00 01 */ li r4, 1
lbl_80299FBC:
/* 80299FBC 00296F1C 54 80 06 3F */ clrlwi. r0, r4, 0x18
/* 80299FC0 00296F20 41 82 00 0C */ beq lbl_80299FCC
/* 80299FC4 00296F24 38 7F 00 5C */ addi r3, r31, 0x5c
/* 80299FC8 00296F28 4B FF DB 55 */ bl sub_80297b1c
lbl_80299FCC:
/* 80299FCC 00296F2C 80 7F 00 A0 */ lwz r3, 0xa0(r31)
/* 80299FD0 00296F30 38 80 00 00 */ li r4, 0
/* 80299FD4 00296F34 28 03 00 00 */ cmplwi r3, 0
/* 80299FD8 00296F38 41 82 00 24 */ beq lbl_80299FFC
/* 80299FDC 00296F3C 80 63 00 00 */ lwz r3, 0(r3)
/* 80299FE0 00296F40 80 03 00 10 */ lwz r0, 0x10(r3)
/* 80299FE4 00296F44 28 00 00 00 */ cmplwi r0, 0
/* 80299FE8 00296F48 41 82 00 14 */ beq lbl_80299FFC
/* 80299FEC 00296F4C 88 1F 00 A4 */ lbz r0, 0xa4(r31)
/* 80299FF0 00296F50 28 00 00 00 */ cmplwi r0, 0
/* 80299FF4 00296F54 41 82 00 08 */ beq lbl_80299FFC
/* 80299FF8 00296F58 38 80 00 01 */ li r4, 1
lbl_80299FFC:
/* 80299FFC 00296F5C 54 80 06 3F */ clrlwi. r0, r4, 0x18
/* 8029A000 00296F60 41 82 00 0C */ beq lbl_8029A00C
/* 8029A004 00296F64 38 7F 00 90 */ addi r3, r31, 0x90
/* 8029A008 00296F68 4B FF DB 15 */ bl sub_80297b1c
lbl_8029A00C:
/* 8029A00C 00296F6C 80 1F 00 C8 */ lwz r0, 0xc8(r31)
/* 8029A010 00296F70 28 00 00 00 */ cmplwi r0, 0
/* 8029A014 00296F74 41 82 00 20 */ beq lbl_8029A034
/* 8029A018 00296F78 80 6D A1 50 */ lwz r3, gpTweakSlideShow@sda21(r13)
/* 8029A01C 00296F7C C0 3F 00 58 */ lfs f1, 0x58(r31)
/* 8029A020 00296F80 C0 03 00 50 */ lfs f0, 0x50(r3)
/* 8029A024 00296F84 FC 01 00 00 */ fcmpu cr0, f1, f0
/* 8029A028 00296F88 41 82 00 0C */ beq lbl_8029A034
/* 8029A02C 00296F8C 7F E3 FB 78 */ mr r3, r31
/* 8029A030 00296F90 4B FF E6 B1 */ bl sub_802986e0
lbl_8029A034:
/* 8029A034 00296F94 7F E3 FB 78 */ mr r3, r31
/* 8029A038 00296F98 4B FF F4 61 */ bl sub_80299498
/* 8029A03C 00296F9C 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8029A040 00296FA0 41 82 00 0C */ beq lbl_8029A04C
/* 8029A044 00296FA4 7F E3 FB 78 */ mr r3, r31
/* 8029A048 00296FA8 4B FF E4 29 */ bl sub_80298470
lbl_8029A04C:
/* 8029A04C 00296FAC 88 1F 01 34 */ lbz r0, 0x134(r31)
/* 8029A050 00296FB0 54 03 FF FF */ rlwinm. r3, r0, 0x1f, 0x1f, 0x1f
/* 8029A054 00296FB4 40 82 00 0C */ bne lbl_8029A060
/* 8029A058 00296FB8 54 00 07 FF */ clrlwi. r0, r0, 0x1f
/* 8029A05C 00296FBC 41 82 00 74 */ beq lbl_8029A0D0
lbl_8029A060:
/* 8029A060 00296FC0 28 03 00 00 */ cmplwi r3, 0
/* 8029A064 00296FC4 C0 3F 01 30 */ lfs f1, 0x130(r31)
/* 8029A068 00296FC8 41 82 00 10 */ beq lbl_8029A078
/* 8029A06C 00296FCC 80 6D A1 50 */ lwz r3, gpTweakSlideShow@sda21(r13)
/* 8029A070 00296FD0 C0 03 00 54 */ lfs f0, 0x54(r3)
/* 8029A074 00296FD4 48 00 00 0C */ b lbl_8029A080
lbl_8029A078:
/* 8029A078 00296FD8 80 6D A1 50 */ lwz r3, gpTweakSlideShow@sda21(r13)
/* 8029A07C 00296FDC C0 03 00 58 */ lfs f0, 0x58(r3)
lbl_8029A080:
/* 8029A080 00296FE0 EF C1 00 24 */ fdivs f30, f1, f0
/* 8029A084 00296FE4 88 1F 01 34 */ lbz r0, 0x134(r31)
/* 8029A088 00296FE8 54 00 07 FF */ clrlwi. r0, r0, 0x1f
/* 8029A08C 00296FEC 41 82 00 0C */ beq lbl_8029A098
/* 8029A090 00296FF0 C0 02 C0 14 */ lfs f0, lbl_805ADD34@sda21(r2)
/* 8029A094 00296FF4 EF C0 F0 28 */ fsubs f30, f0, f30
lbl_8029A098:
/* 8029A098 00296FF8 48 0A FF 1D */ bl Black__6CColorFv
/* 8029A09C 00296FFC C0 02 C0 30 */ lfs f0, lbl_805ADD50@sda21(r2)
/* 8029A0A0 00297000 EF E0 07 B2 */ fmuls f31, f0, f30
/* 8029A0A4 00297004 F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2
/* 8029A0A8 00297008 38 A1 00 0C */ addi r5, r1, 0xc
/* 8029A0AC 0029700C 80 E3 00 00 */ lwz r7, 0(r3)
/* 8029A0B0 00297010 38 60 00 05 */ li r3, 5
/* 8029A0B4 00297014 88 01 00 08 */ lbz r0, 8(r1)
/* 8029A0B8 00297018 38 80 00 00 */ li r4, 0
/* 8029A0BC 0029701C 50 E0 00 2E */ rlwimi r0, r7, 0, 0, 0x17
/* 8029A0C0 00297020 C0 22 C0 14 */ lfs f1, lbl_805ADD34@sda21(r2)
/* 8029A0C4 00297024 90 01 00 0C */ stw r0, 0xc(r1)
/* 8029A0C8 00297028 38 C0 00 00 */ li r6, 0
/* 8029A0CC 0029702C 4B E5 20 7D */ bl DrawFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapeRC6CColorPC8CTexturef
lbl_8029A0D0:
/* 8029A0D0 00297030 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0
/* 8029A0D4 00297034 CB E1 00 30 */ lfd f31, 0x30(r1)
/* 8029A0D8 00297038 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0
/* 8029A0DC 0029703C CB C1 00 20 */ lfd f30, 0x20(r1)
/* 8029A0E0 00297040 80 01 00 44 */ lwz r0, 0x44(r1)
/* 8029A0E4 00297044 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8029A0E8 00297048 7C 08 03 A6 */ mtlr r0
/* 8029A0EC 0029704C 38 21 00 40 */ addi r1, r1, 0x40
2022-07-14 05:48:03 +00:00
/* 8029A0F0 00297050 4E 80 00 20 */ blr
.global OnMessage__10CSlideShowFv
OnMessage__10CSlideShowFv:
/* 8029A0F4 00297054 94 21 FE E0 */ stwu r1, -0x120(r1)
/* 8029A0F8 00297058 7C 08 02 A6 */ mflr r0
/* 8029A0FC 0029705C 90 01 01 24 */ stw r0, 0x124(r1)
/* 8029A100 00297060 DB E1 01 10 */ stfd f31, 0x110(r1)
/* 8029A104 00297064 F3 E1 01 18 */ psq_st f31, 280(r1), 0, qr0
/* 8029A108 00297068 DB C1 01 00 */ stfd f30, 0x100(r1)
/* 8029A10C 0029706C F3 C1 01 08 */ psq_st f30, 264(r1), 0, qr0
/* 8029A110 00297070 DB A1 00 F0 */ stfd f29, 0xf0(r1)
/* 8029A114 00297074 F3 A1 00 F8 */ psq_st f29, 248(r1), 0, qr0
/* 8029A118 00297078 BF 21 00 D4 */ stmw r25, 0xd4(r1)
/* 8029A11C 0029707C 80 04 00 04 */ lwz r0, 4(r4)
/* 8029A120 00297080 7C 7F 1B 78 */ mr r31, r3
/* 8029A124 00297084 2C 00 00 05 */ cmpwi r0, 5
/* 8029A128 00297088 41 82 08 EC */ beq lbl_8029AA14
/* 8029A12C 0029708C 40 80 0A 58 */ bge lbl_8029AB84
/* 8029A130 00297090 2C 00 00 04 */ cmpwi r0, 4
/* 8029A134 00297094 40 80 00 08 */ bge lbl_8029A13C
/* 8029A138 00297098 48 00 0A 4C */ b lbl_8029AB84
lbl_8029A13C:
/* 8029A13C 0029709C 88 1F 01 34 */ lbz r0, 0x134(r31)
/* 8029A140 002970A0 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f
/* 8029A144 002970A4 41 82 00 0C */ beq lbl_8029A150
/* 8029A148 002970A8 38 60 00 02 */ li r3, 2
/* 8029A14C 002970AC 48 00 0A 3C */ b lbl_8029AB88
lbl_8029A150:
/* 8029A150 002970B0 7C 83 23 78 */ mr r3, r4
/* 8029A154 002970B4 4B DB 7A 69 */ bl GetParmTimerTick__7MakeMsgFRC20CArchitectureMessage
/* 8029A158 002970B8 80 1F 00 14 */ lwz r0, 0x14(r31)
/* 8029A15C 002970BC C3 E3 00 04 */ lfs f31, 4(r3)
/* 8029A160 002970C0 2C 00 00 03 */ cmpwi r0, 3
/* 8029A164 002970C4 41 82 01 10 */ beq lbl_8029A274
/* 8029A168 002970C8 40 80 00 1C */ bge lbl_8029A184
/* 8029A16C 002970CC 2C 00 00 01 */ cmpwi r0, 1
/* 8029A170 002970D0 41 82 00 50 */ beq lbl_8029A1C0
/* 8029A174 002970D4 40 80 01 5C */ bge lbl_8029A2D0
/* 8029A178 002970D8 2C 00 00 00 */ cmpwi r0, 0
/* 8029A17C 002970DC 40 80 00 18 */ bge lbl_8029A194
/* 8029A180 002970E0 48 00 0A 04 */ b lbl_8029AB84
lbl_8029A184:
/* 8029A184 002970E4 2C 00 00 05 */ cmpwi r0, 5
/* 8029A188 002970E8 41 82 05 48 */ beq lbl_8029A6D0
/* 8029A18C 002970EC 40 80 09 F8 */ bge lbl_8029AB84
/* 8029A190 002970F0 48 00 04 90 */ b lbl_8029A620
lbl_8029A194:
/* 8029A194 002970F4 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13)
/* 8029A198 002970F8 38 63 00 04 */ addi r3, r3, 4
/* 8029A19C 002970FC 48 0A 1C 15 */ bl AreAllPaksLoaded__10CResLoaderCFv
/* 8029A1A0 00297100 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8029A1A4 00297104 40 82 00 14 */ bne lbl_8029A1B8
/* 8029A1A8 00297108 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13)
/* 8029A1AC 0029710C 38 63 00 04 */ addi r3, r3, 4
/* 8029A1B0 00297110 48 0A 1C 11 */ bl AsyncIdlePakLoading__10CResLoaderFv
/* 8029A1B4 00297114 48 00 09 D0 */ b lbl_8029AB84
lbl_8029A1B8:
/* 8029A1B8 00297118 38 00 00 01 */ li r0, 1
/* 8029A1BC 0029711C 90 1F 00 14 */ stw r0, 0x14(r31)
lbl_8029A1C0:
/* 8029A1C0 00297120 80 1F 00 1C */ lwz r0, 0x1c(r31)
/* 8029A1C4 00297124 2C 00 00 00 */ cmpwi r0, 0
/* 8029A1C8 00297128 40 82 00 90 */ bne lbl_8029A258
/* 8029A1CC 0029712C 38 7F 00 18 */ addi r3, r31, 0x18
/* 8029A1D0 00297130 38 80 00 05 */ li r4, 5
/* 8029A1D4 00297134 4B E7 06 39 */ bl sub_8010a80c
/* 8029A1D8 00297138 3C 60 80 3D */ lis r3, lbl_803D5C48@ha
/* 8029A1DC 0029713C 3B 40 00 01 */ li r26, 1
/* 8029A1E0 00297140 3B 63 5C 48 */ addi r27, r3, lbl_803D5C48@l
lbl_8029A1E4:
/* 8029A1E4 00297144 80 82 BF C8 */ lwz r4, lbl_805ADCE8@sda21(r2)
/* 8029A1E8 00297148 7F 45 D3 78 */ mr r5, r26
/* 8029A1EC 0029714C 38 7B 00 DB */ addi r3, r27, 0xdb
/* 8029A1F0 00297150 4C C6 31 82 */ crclr 6
/* 8029A1F4 00297154 48 03 BF BD */ bl Stringize__7CBasicsFPCce
/* 8029A1F8 00297158 7C 64 1B 78 */ mr r4, r3
/* 8029A1FC 0029715C 38 61 00 50 */ addi r3, r1, 0x50
/* 8029A200 00297160 38 C1 00 0C */ addi r6, r1, 0xc
/* 8029A204 00297164 38 A0 FF FF */ li r5, -1
/* 8029A208 00297168 48 0A 3F 8D */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator"
/* 8029A20C 0029716C 80 81 00 50 */ lwz r4, 0x50(r1)
/* 8029A210 00297170 7F E3 FB 78 */ mr r3, r31
/* 8029A214 00297174 48 00 09 A1 */ bl sub_8029abb4
/* 8029A218 00297178 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8029A21C 0029717C 40 82 00 10 */ bne lbl_8029A22C
/* 8029A220 00297180 38 61 00 50 */ addi r3, r1, 0x50
/* 8029A224 00297184 48 0A 38 BD */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 8029A228 00297188 48 00 00 14 */ b lbl_8029A23C
lbl_8029A22C:
/* 8029A22C 0029718C 38 61 00 50 */ addi r3, r1, 0x50
/* 8029A230 00297190 48 0A 38 B1 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 8029A234 00297194 3B 5A 00 01 */ addi r26, r26, 1
/* 8029A238 00297198 4B FF FF AC */ b lbl_8029A1E4
lbl_8029A23C:
/* 8029A23C 0029719C 80 82 BF CC */ lwz r4, lbl_805ADCEC@sda21(r2)
/* 8029A240 002971A0 7F E3 FB 78 */ mr r3, r31
/* 8029A244 002971A4 48 00 09 71 */ bl sub_8029abb4
/* 8029A248 002971A8 7F E3 FB 78 */ mr r3, r31
/* 8029A24C 002971AC 38 9F 00 18 */ addi r4, r31, 0x18
/* 8029A250 002971B0 38 A0 00 01 */ li r5, 1
/* 8029A254 002971B4 4B FF E6 E1 */ bl sub_80298934
lbl_8029A258:
/* 8029A258 002971B8 7F E3 FB 78 */ mr r3, r31
/* 8029A25C 002971BC 38 9F 00 18 */ addi r4, r31, 0x18
/* 8029A260 002971C0 4B FF E6 95 */ bl sub_802988f4
/* 8029A264 002971C4 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8029A268 002971C8 41 82 09 1C */ beq lbl_8029AB84
/* 8029A26C 002971CC 38 00 00 03 */ li r0, 3
/* 8029A270 002971D0 90 1F 00 14 */ stw r0, 0x14(r31)
lbl_8029A274:
/* 8029A274 002971D4 48 00 0F 61 */ bl SlideShowGalleryFlags__10CSlideShowFv
/* 8029A278 002971D8 7C 64 1B 78 */ mr r4, r3
/* 8029A27C 002971DC 7F E3 FB 78 */ mr r3, r31
/* 8029A280 002971E0 48 00 0A 4D */ bl sub_8029accc
/* 8029A284 002971E4 38 C0 00 00 */ li r6, 0
/* 8029A288 002971E8 38 A0 00 00 */ li r5, 0
/* 8029A28C 002971EC 48 00 00 24 */ b lbl_8029A2B0
lbl_8029A290:
/* 8029A290 002971F0 80 7F 00 34 */ lwz r3, 0x34(r31)
/* 8029A294 002971F4 38 05 00 08 */ addi r0, r5, 8
/* 8029A298 002971F8 80 9F 00 40 */ lwz r4, 0x40(r31)
/* 8029A29C 002971FC 38 A5 00 14 */ addi r5, r5, 0x14
/* 8029A2A0 00297200 7C 03 00 2E */ lwzx r0, r3, r0
/* 8029A2A4 00297204 38 C6 00 01 */ addi r6, r6, 1
/* 8029A2A8 00297208 7C 04 02 14 */ add r0, r4, r0
/* 8029A2AC 0029720C 90 1F 00 40 */ stw r0, 0x40(r31)
lbl_8029A2B0:
/* 8029A2B0 00297210 80 1F 00 2C */ lwz r0, 0x2c(r31)
/* 8029A2B4 00297214 7C 06 00 00 */ cmpw r6, r0
/* 8029A2B8 00297218 41 80 FF D8 */ blt lbl_8029A290
/* 8029A2BC 0029721C 7F E3 FB 78 */ mr r3, r31
/* 8029A2C0 00297220 38 80 00 01 */ li r4, 1
/* 8029A2C4 00297224 4B FF F4 35 */ bl sub_802996f8
/* 8029A2C8 00297228 38 00 00 02 */ li r0, 2
/* 8029A2CC 0029722C 90 1F 00 14 */ stw r0, 0x14(r31)
lbl_8029A2D0:
/* 8029A2D0 00297230 80 1F 00 D4 */ lwz r0, 0xd4(r31)
/* 8029A2D4 00297234 80 9F 00 2C */ lwz r4, 0x2c(r31)
/* 8029A2D8 00297238 7C 00 20 00 */ cmpw r0, r4
/* 8029A2DC 0029723C 41 82 02 E8 */ beq lbl_8029A5C4
/* 8029A2E0 00297240 38 7F 00 D0 */ addi r3, r31, 0xd0
/* 8029A2E4 00297244 48 00 21 29 */ bl sub_8029c40c
/* 8029A2E8 00297248 3C 60 80 3D */ lis r3, lbl_803D5C48@ha
/* 8029A2EC 0029724C 3B 80 00 00 */ li r28, 0
/* 8029A2F0 00297250 3B C3 5C 48 */ addi r30, r3, lbl_803D5C48@l
/* 8029A2F4 00297254 3B A0 00 00 */ li r29, 0
/* 8029A2F8 00297258 48 00 02 08 */ b lbl_8029A500
lbl_8029A2FC:
/* 8029A2FC 0029725C 80 BF 00 34 */ lwz r5, 0x34(r31)
/* 8029A300 00297260 38 7E 00 E7 */ addi r3, r30, 0xe7
/* 8029A304 00297264 80 82 BF D0 */ lwz r4, lbl_805ADCF0@sda21(r2)
/* 8029A308 00297268 7C A5 E8 2E */ lwzx r5, r5, r29
/* 8029A30C 0029726C 38 A5 00 01 */ addi r5, r5, 1
/* 8029A310 00297270 4C C6 31 82 */ crclr 6
/* 8029A314 00297274 48 03 BE 9D */ bl Stringize__7CBasicsFPCce
/* 8029A318 00297278 7C 60 1B 78 */ mr r0, r3
/* 8029A31C 0029727C 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13)
/* 8029A320 00297280 7C 04 03 78 */ mr r4, r0
/* 8029A324 00297284 81 83 00 00 */ lwz r12, 0(r3)
/* 8029A328 00297288 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 8029A32C 0029728C 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 8029A330 00297290 4E 80 04 21 */ bctrl
/* 8029A334 00297294 7C 79 1B 79 */ or. r25, r3, r3
/* 8029A338 00297298 40 82 00 A0 */ bne lbl_8029A3D8
/* 8029A33C 0029729C 80 1F 00 D4 */ lwz r0, 0xd4(r31)
/* 8029A340 002972A0 38 60 00 00 */ li r3, 0
/* 8029A344 002972A4 80 BF 00 D8 */ lwz r5, 0xd8(r31)
/* 8029A348 002972A8 98 61 00 38 */ stb r3, 0x38(r1)
/* 8029A34C 002972AC 7C 00 28 00 */ cmpw r0, r5
/* 8029A350 002972B0 90 61 00 3C */ stw r3, 0x3c(r1)
/* 8029A354 002972B4 41 80 00 1C */ blt lbl_8029A370
/* 8029A358 002972B8 2C 05 00 00 */ cmpwi r5, 0
/* 8029A35C 002972BC 38 7F 00 D0 */ addi r3, r31, 0xd0
/* 8029A360 002972C0 38 80 00 04 */ li r4, 4
/* 8029A364 002972C4 41 82 00 08 */ beq lbl_8029A36C
/* 8029A368 002972C8 54 A4 08 3C */ slwi r4, r5, 1
lbl_8029A36C:
/* 8029A36C 002972CC 48 00 20 A1 */ bl sub_8029c40c
lbl_8029A370:
/* 8029A370 002972D0 80 1F 00 D4 */ lwz r0, 0xd4(r31)
/* 8029A374 002972D4 80 7F 00 DC */ lwz r3, 0xdc(r31)
/* 8029A378 002972D8 54 00 18 38 */ slwi r0, r0, 3
/* 8029A37C 002972DC 7C A3 02 15 */ add. r5, r3, r0
/* 8029A380 002972E0 41 82 00 1C */ beq lbl_8029A39C
/* 8029A384 002972E4 88 81 00 38 */ lbz r4, 0x38(r1)
/* 8029A388 002972E8 38 00 00 00 */ li r0, 0
/* 8029A38C 002972EC 80 61 00 3C */ lwz r3, 0x3c(r1)
/* 8029A390 002972F0 98 85 00 00 */ stb r4, 0(r5)
/* 8029A394 002972F4 90 65 00 04 */ stw r3, 4(r5)
/* 8029A398 002972F8 98 01 00 38 */ stb r0, 0x38(r1)
lbl_8029A39C:
/* 8029A39C 002972FC 80 7F 00 D4 */ lwz r3, 0xd4(r31)
/* 8029A3A0 00297300 88 01 00 38 */ lbz r0, 0x38(r1)
/* 8029A3A4 00297304 38 63 00 01 */ addi r3, r3, 1
/* 8029A3A8 00297308 28 00 00 00 */ cmplwi r0, 0
/* 8029A3AC 0029730C 90 7F 00 D4 */ stw r3, 0xd4(r31)
/* 8029A3B0 00297310 41 82 01 48 */ beq lbl_8029A4F8
/* 8029A3B4 00297314 83 61 00 3C */ lwz r27, 0x3c(r1)
/* 8029A3B8 00297318 28 1B 00 00 */ cmplwi r27, 0
/* 8029A3BC 0029731C 41 82 01 3C */ beq lbl_8029A4F8
/* 8029A3C0 00297320 7F 63 DB 78 */ mr r3, r27
/* 8029A3C4 00297324 38 80 00 00 */ li r4, 0
/* 8029A3C8 00297328 48 0A 6A 79 */ bl __dt__6CTokenFv
/* 8029A3CC 0029732C 7F 63 DB 78 */ mr r3, r27
/* 8029A3D0 00297330 48 07 B5 61 */ bl Free__7CMemoryFPCv
/* 8029A3D4 00297334 48 00 01 24 */ b lbl_8029A4F8
lbl_8029A3D8:
/* 8029A3D8 00297338 3C 60 80 3D */ lis r3, lbl_803D5C48@ha
/* 8029A3DC 0029733C 3B 60 00 00 */ li r27, 0
/* 8029A3E0 00297340 38 83 5C 48 */ addi r4, r3, lbl_803D5C48@l
/* 8029A3E4 00297344 38 60 00 08 */ li r3, 8
/* 8029A3E8 00297348 38 84 00 D0 */ addi r4, r4, 0xd0
/* 8029A3EC 0029734C 38 A0 00 00 */ li r5, 0
/* 8029A3F0 00297350 48 07 B4 7D */ bl __nw__FUlPCcPCc
/* 8029A3F4 00297354 7C 7A 1B 79 */ or. r26, r3, r3
/* 8029A3F8 00297358 41 82 00 30 */ beq lbl_8029A428
/* 8029A3FC 0029735C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
/* 8029A400 00297360 7F 25 CB 78 */ mr r5, r25
/* 8029A404 00297364 38 61 00 30 */ addi r3, r1, 0x30
/* 8029A408 00297368 81 84 00 00 */ lwz r12, 0(r4)
/* 8029A40C 0029736C 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 8029A410 00297370 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 8029A414 00297374 4E 80 04 21 */ bctrl
/* 8029A418 00297378 7F 43 D3 78 */ mr r3, r26
/* 8029A41C 0029737C 38 81 00 30 */ addi r4, r1, 0x30
/* 8029A420 00297380 3B 60 00 01 */ li r27, 1
/* 8029A424 00297384 48 0A 6A 85 */ bl __ct__6CTokenFRC6CToken
lbl_8029A428:
/* 8029A428 00297388 7C 7A 00 D0 */ neg r3, r26
/* 8029A42C 0029738C 80 1F 00 D4 */ lwz r0, 0xd4(r31)
/* 8029A430 00297390 80 BF 00 D8 */ lwz r5, 0xd8(r31)
/* 8029A434 00297394 7C 63 D3 78 */ or r3, r3, r26
/* 8029A438 00297398 54 63 0F FE */ srwi r3, r3, 0x1f
/* 8029A43C 0029739C 93 41 00 2C */ stw r26, 0x2c(r1)
/* 8029A440 002973A0 7C 00 28 00 */ cmpw r0, r5
/* 8029A444 002973A4 98 61 00 28 */ stb r3, 0x28(r1)
/* 8029A448 002973A8 41 80 00 1C */ blt lbl_8029A464
/* 8029A44C 002973AC 2C 05 00 00 */ cmpwi r5, 0
/* 8029A450 002973B0 38 7F 00 D0 */ addi r3, r31, 0xd0
/* 8029A454 002973B4 38 80 00 04 */ li r4, 4
/* 8029A458 002973B8 41 82 00 08 */ beq lbl_8029A460
/* 8029A45C 002973BC 54 A4 08 3C */ slwi r4, r5, 1
lbl_8029A460:
/* 8029A460 002973C0 48 00 1F AD */ bl sub_8029c40c
lbl_8029A464:
/* 8029A464 002973C4 80 1F 00 D4 */ lwz r0, 0xd4(r31)
/* 8029A468 002973C8 80 7F 00 DC */ lwz r3, 0xdc(r31)
/* 8029A46C 002973CC 54 00 18 38 */ slwi r0, r0, 3
/* 8029A470 002973D0 7C A3 02 15 */ add. r5, r3, r0
/* 8029A474 002973D4 41 82 00 1C */ beq lbl_8029A490
/* 8029A478 002973D8 88 81 00 28 */ lbz r4, 0x28(r1)
/* 8029A47C 002973DC 38 00 00 00 */ li r0, 0
/* 8029A480 002973E0 80 61 00 2C */ lwz r3, 0x2c(r1)
/* 8029A484 002973E4 98 85 00 00 */ stb r4, 0(r5)
/* 8029A488 002973E8 90 65 00 04 */ stw r3, 4(r5)
/* 8029A48C 002973EC 98 01 00 28 */ stb r0, 0x28(r1)
lbl_8029A490:
/* 8029A490 002973F0 80 7F 00 D4 */ lwz r3, 0xd4(r31)
/* 8029A494 002973F4 88 01 00 28 */ lbz r0, 0x28(r1)
/* 8029A498 002973F8 38 63 00 01 */ addi r3, r3, 1
/* 8029A49C 002973FC 28 00 00 00 */ cmplwi r0, 0
/* 8029A4A0 00297400 90 7F 00 D4 */ stw r3, 0xd4(r31)
/* 8029A4A4 00297404 41 82 00 24 */ beq lbl_8029A4C8
/* 8029A4A8 00297408 83 41 00 2C */ lwz r26, 0x2c(r1)
/* 8029A4AC 0029740C 28 1A 00 00 */ cmplwi r26, 0
/* 8029A4B0 00297410 41 82 00 18 */ beq lbl_8029A4C8
/* 8029A4B4 00297414 7F 43 D3 78 */ mr r3, r26
/* 8029A4B8 00297418 38 80 00 00 */ li r4, 0
/* 8029A4BC 0029741C 48 0A 69 85 */ bl __dt__6CTokenFv
/* 8029A4C0 00297420 7F 43 D3 78 */ mr r3, r26
/* 8029A4C4 00297424 48 07 B4 6D */ bl Free__7CMemoryFPCv
lbl_8029A4C8:
/* 8029A4C8 00297428 7F 60 07 75 */ extsb. r0, r27
/* 8029A4CC 0029742C 41 82 00 10 */ beq lbl_8029A4DC
/* 8029A4D0 00297430 38 61 00 30 */ addi r3, r1, 0x30
/* 8029A4D4 00297434 38 80 FF FF */ li r4, -1
/* 8029A4D8 00297438 48 0A 69 69 */ bl __dt__6CTokenFv
lbl_8029A4DC:
/* 8029A4DC 0029743C 80 7F 00 D4 */ lwz r3, 0xd4(r31)
/* 8029A4E0 00297440 80 9F 00 DC */ lwz r4, 0xdc(r31)
/* 8029A4E4 00297444 38 03 FF FF */ addi r0, r3, -1
/* 8029A4E8 00297448 54 03 18 38 */ slwi r3, r0, 3
/* 8029A4EC 0029744C 38 03 00 04 */ addi r0, r3, 4
/* 8029A4F0 00297450 7C 64 00 2E */ lwzx r3, r4, r0
/* 8029A4F4 00297454 48 0A 68 91 */ bl Lock__6CTokenFv
lbl_8029A4F8:
/* 8029A4F8 00297458 3B BD 00 14 */ addi r29, r29, 0x14
/* 8029A4FC 0029745C 3B 9C 00 01 */ addi r28, r28, 1
lbl_8029A500:
/* 8029A500 00297460 80 1F 00 2C */ lwz r0, 0x2c(r31)
/* 8029A504 00297464 7C 1C 00 00 */ cmpw r28, r0
/* 8029A508 00297468 41 80 FD F4 */ blt lbl_8029A2FC
/* 8029A50C 0029746C 80 1F 00 38 */ lwz r0, 0x38(r31)
/* 8029A510 00297470 28 00 00 00 */ cmplwi r0, 0
/* 8029A514 00297474 40 82 00 B0 */ bne lbl_8029A5C4
/* 8029A518 00297478 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13)
/* 8029A51C 0029747C 80 82 BF D4 */ lwz r4, lbl_805ADCF4@sda21(r2)
/* 8029A520 00297480 81 83 00 00 */ lwz r12, 0(r3)
/* 8029A524 00297484 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 8029A528 00297488 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 8029A52C 0029748C 4E 80 04 21 */ bctrl
/* 8029A530 00297490 3C 80 80 3D */ lis r4, lbl_803D5C48@ha
/* 8029A534 00297494 7C 79 1B 78 */ mr r25, r3
/* 8029A538 00297498 38 84 5C 48 */ addi r4, r4, lbl_803D5C48@l
/* 8029A53C 0029749C 3B 80 00 00 */ li r28, 0
/* 8029A540 002974A0 38 60 00 08 */ li r3, 8
/* 8029A544 002974A4 38 A0 00 00 */ li r5, 0
/* 8029A548 002974A8 38 84 00 D0 */ addi r4, r4, 0xd0
/* 8029A54C 002974AC 48 07 B3 21 */ bl __nw__FUlPCcPCc
/* 8029A550 002974B0 7C 7A 1B 79 */ or. r26, r3, r3
/* 8029A554 002974B4 41 82 00 30 */ beq lbl_8029A584
/* 8029A558 002974B8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
/* 8029A55C 002974BC 7F 25 CB 78 */ mr r5, r25
/* 8029A560 002974C0 38 61 00 20 */ addi r3, r1, 0x20
/* 8029A564 002974C4 81 84 00 00 */ lwz r12, 0(r4)
/* 8029A568 002974C8 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 8029A56C 002974CC 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 8029A570 002974D0 4E 80 04 21 */ bctrl
/* 8029A574 002974D4 7F 43 D3 78 */ mr r3, r26
/* 8029A578 002974D8 38 81 00 20 */ addi r4, r1, 0x20
/* 8029A57C 002974DC 3B 80 00 01 */ li r28, 1
/* 8029A580 002974E0 48 0A 69 29 */ bl __ct__6CTokenFRC6CToken
lbl_8029A584:
/* 8029A584 002974E4 83 7F 00 38 */ lwz r27, 0x38(r31)
/* 8029A588 002974E8 28 1B 00 00 */ cmplwi r27, 0
/* 8029A58C 002974EC 41 82 00 18 */ beq lbl_8029A5A4
/* 8029A590 002974F0 7F 63 DB 78 */ mr r3, r27
/* 8029A594 002974F4 38 80 00 00 */ li r4, 0
/* 8029A598 002974F8 48 0A 68 A9 */ bl __dt__6CTokenFv
/* 8029A59C 002974FC 7F 63 DB 78 */ mr r3, r27
/* 8029A5A0 00297500 48 07 B3 91 */ bl Free__7CMemoryFPCv
lbl_8029A5A4:
/* 8029A5A4 00297504 7F 80 07 75 */ extsb. r0, r28
/* 8029A5A8 00297508 93 5F 00 38 */ stw r26, 0x38(r31)
/* 8029A5AC 0029750C 41 82 00 10 */ beq lbl_8029A5BC
/* 8029A5B0 00297510 38 61 00 20 */ addi r3, r1, 0x20
/* 8029A5B4 00297514 38 80 FF FF */ li r4, -1
/* 8029A5B8 00297518 48 0A 68 89 */ bl __dt__6CTokenFv
lbl_8029A5BC:
/* 8029A5BC 0029751C 80 7F 00 38 */ lwz r3, 0x38(r31)
/* 8029A5C0 00297520 48 0A 67 C5 */ bl Lock__6CTokenFv
lbl_8029A5C4:
/* 8029A5C4 00297524 80 7F 00 38 */ lwz r3, 0x38(r31)
/* 8029A5C8 00297528 80 63 00 00 */ lwz r3, 0(r3)
/* 8029A5CC 0029752C 80 03 00 10 */ lwz r0, 0x10(r3)
/* 8029A5D0 00297530 28 00 00 00 */ cmplwi r0, 0
/* 8029A5D4 00297534 41 82 05 B0 */ beq lbl_8029AB84
/* 8029A5D8 00297538 80 1F 00 D4 */ lwz r0, 0xd4(r31)
/* 8029A5DC 0029753C 38 80 00 00 */ li r4, 0
/* 8029A5E0 00297540 7C 09 03 A6 */ mtctr r0
/* 8029A5E4 00297544 2C 00 00 00 */ cmpwi r0, 0
/* 8029A5E8 00297548 40 81 00 30 */ ble lbl_8029A618
lbl_8029A5EC:
/* 8029A5EC 0029754C 80 1F 00 DC */ lwz r0, 0xdc(r31)
/* 8029A5F0 00297550 7C 60 22 14 */ add r3, r0, r4
/* 8029A5F4 00297554 80 63 00 04 */ lwz r3, 4(r3)
/* 8029A5F8 00297558 28 03 00 00 */ cmplwi r3, 0
/* 8029A5FC 0029755C 41 82 00 14 */ beq lbl_8029A610
/* 8029A600 00297560 80 63 00 00 */ lwz r3, 0(r3)
/* 8029A604 00297564 80 03 00 10 */ lwz r0, 0x10(r3)
/* 8029A608 00297568 28 00 00 00 */ cmplwi r0, 0
/* 8029A60C 0029756C 41 82 00 0C */ beq lbl_8029A618
lbl_8029A610:
/* 8029A610 00297570 38 84 00 08 */ addi r4, r4, 8
/* 8029A614 00297574 42 00 FF D8 */ bdnz lbl_8029A5EC
lbl_8029A618:
/* 8029A618 00297578 38 00 00 04 */ li r0, 4
/* 8029A61C 0029757C 90 1F 00 14 */ stw r0, 0x14(r31)
lbl_8029A620:
/* 8029A620 00297580 80 1F 00 CC */ lwz r0, 0xcc(r31)
/* 8029A624 00297584 28 00 00 00 */ cmplwi r0, 0
/* 8029A628 00297588 40 82 00 78 */ bne lbl_8029A6A0
/* 8029A62C 0029758C 3C 60 80 3D */ lis r3, lbl_803D5C48@ha
/* 8029A630 00297590 3B 20 00 00 */ li r25, 0
/* 8029A634 00297594 38 83 5C 48 */ addi r4, r3, lbl_803D5C48@l
/* 8029A638 00297598 38 60 00 C4 */ li r3, 0xc4
/* 8029A63C 0029759C 38 84 00 D0 */ addi r4, r4, 0xd0
/* 8029A640 002975A0 38 A0 00 00 */ li r5, 0
/* 8029A644 002975A4 48 07 B2 29 */ bl __nw__FUlPCcPCc
/* 8029A648 002975A8 7C 7A 1B 79 */ or. r26, r3, r3
/* 8029A64C 002975AC 41 82 00 34 */ beq lbl_8029A680
/* 8029A650 002975B0 80 82 BF D8 */ lwz r4, lbl_805ADCF8@sda21(r2)
/* 8029A654 002975B4 38 61 00 40 */ addi r3, r1, 0x40
/* 8029A658 002975B8 4B D6 A6 61 */ bl string_l__4rstlFPCc
/* 8029A65C 002975BC 3C A0 00 06 */ lis r5, 0x00065AF0@ha
/* 8029A660 002975C0 3C C0 00 1E */ lis r6, 0x001E1DB0@ha
/* 8029A664 002975C4 7F 43 D3 78 */ mr r3, r26
/* 8029A668 002975C8 38 81 00 40 */ addi r4, r1, 0x40
/* 8029A66C 002975CC 38 A5 5A F0 */ addi r5, r5, 0x00065AF0@l
/* 8029A670 002975D0 38 C6 1D B0 */ addi r6, r6, 0x001E1DB0@l
/* 8029A674 002975D4 3B 20 00 01 */ li r25, 1
/* 8029A678 002975D8 48 0D 1C 61 */ bl __ct__18CStaticAudioPlayerFRCQ24rstl12basic_stringii
/* 8029A67C 002975DC 7C 7A 1B 78 */ mr r26, r3
lbl_8029A680:
/* 8029A680 002975E0 80 7F 00 CC */ lwz r3, 0xcc(r31)
/* 8029A684 002975E4 38 80 00 01 */ li r4, 1
/* 8029A688 002975E8 48 0D 1A D1 */ bl __dt__18CStaticAudioPlayer
/* 8029A68C 002975EC 7F 20 07 75 */ extsb. r0, r25
/* 8029A690 002975F0 93 5F 00 CC */ stw r26, 0xcc(r31)
/* 8029A694 002975F4 41 82 00 0C */ beq lbl_8029A6A0
/* 8029A698 002975F8 38 61 00 40 */ addi r3, r1, 0x40
/* 8029A69C 002975FC 48 0A 34 45 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_8029A6A0:
/* 8029A6A0 00297600 80 7F 00 CC */ lwz r3, 0xcc(r31)
/* 8029A6A4 00297604 48 0D 1A 61 */ bl IsReady__18CStaticAudioPlayer
/* 8029A6A8 00297608 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8029A6AC 0029760C 41 82 04 D8 */ beq lbl_8029AB84
/* 8029A6B0 00297610 80 8D A1 50 */ lwz r4, gpTweakSlideShow@sda21(r13)
/* 8029A6B4 00297614 7F E3 FB 78 */ mr r3, r31
/* 8029A6B8 00297618 C0 24 00 58 */ lfs f1, 0x58(r4)
/* 8029A6BC 0029761C 4B FF E3 71 */ bl sub_80298a2c
/* 8029A6C0 00297620 80 7F 00 CC */ lwz r3, 0xcc(r31)
/* 8029A6C4 00297624 48 0D 19 6D */ bl StartMixOut__18CStaticAudioPlayerFv
/* 8029A6C8 00297628 38 00 00 05 */ li r0, 5
/* 8029A6CC 0029762C 90 1F 00 14 */ stw r0, 0x14(r31)
lbl_8029A6D0:
/* 8029A6D0 00297630 88 7F 01 34 */ lbz r3, 0x134(r31)
/* 8029A6D4 00297634 54 60 FF FF */ rlwinm. r0, r3, 0x1f, 0x1f, 0x1f
/* 8029A6D8 00297638 40 82 00 0C */ bne lbl_8029A6E4
/* 8029A6DC 0029763C 54 60 07 FF */ clrlwi. r0, r3, 0x1f
/* 8029A6E0 00297640 41 82 00 84 */ beq lbl_8029A764
lbl_8029A6E4:
/* 8029A6E4 00297644 C0 3F 01 30 */ lfs f1, 0x130(r31)
/* 8029A6E8 00297648 C0 0D 99 D0 */ lfs f0, lbl_805A8590@sda21(r13)
/* 8029A6EC 0029764C EC 21 F8 28 */ fsubs f1, f1, f31
/* 8029A6F0 00297650 FC 00 08 40 */ fcmpo cr0, f0, f1
/* 8029A6F4 00297654 D0 21 00 18 */ stfs f1, 0x18(r1)
/* 8029A6F8 00297658 40 80 00 0C */ bge lbl_8029A704
/* 8029A6FC 0029765C 38 61 00 18 */ addi r3, r1, 0x18
/* 8029A700 00297660 48 00 00 08 */ b lbl_8029A708
lbl_8029A704:
/* 8029A704 00297664 38 6D 99 D0 */ addi r3, r13, lbl_805A8590@sda21
lbl_8029A708:
/* 8029A708 00297668 C0 23 00 00 */ lfs f1, 0(r3)
/* 8029A70C 0029766C C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2)
/* 8029A710 00297670 D0 3F 01 30 */ stfs f1, 0x130(r31)
/* 8029A714 00297674 C0 3F 01 30 */ lfs f1, 0x130(r31)
/* 8029A718 00297678 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8029A71C 0029767C 4C 40 13 82 */ cror 2, 0, 2
/* 8029A720 00297680 40 82 00 44 */ bne lbl_8029A764
/* 8029A724 00297684 88 9F 01 34 */ lbz r4, 0x134(r31)
/* 8029A728 00297688 54 80 EF FF */ rlwinm. r0, r4, 0x1d, 0x1f, 0x1f
/* 8029A72C 0029768C 41 82 00 14 */ beq lbl_8029A740
/* 8029A730 00297690 38 00 00 01 */ li r0, 1
/* 8029A734 00297694 50 04 17 7A */ rlwimi r4, r0, 2, 0x1d, 0x1d
/* 8029A738 00297698 98 9F 01 34 */ stb r4, 0x134(r31)
/* 8029A73C 0029769C 48 00 00 28 */ b lbl_8029A764
lbl_8029A740:
/* 8029A740 002976A0 38 60 00 00 */ li r3, 0
/* 8029A744 002976A4 50 64 0F BC */ rlwimi r4, r3, 1, 0x1e, 0x1e
/* 8029A748 002976A8 98 9F 01 34 */ stb r4, 0x134(r31)
/* 8029A74C 002976AC 88 1F 01 34 */ lbz r0, 0x134(r31)
/* 8029A750 002976B0 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f
/* 8029A754 002976B4 98 1F 01 34 */ stb r0, 0x134(r31)
/* 8029A758 002976B8 80 6D A1 50 */ lwz r3, gpTweakSlideShow@sda21(r13)
/* 8029A75C 002976BC C0 03 00 58 */ lfs f0, 0x58(r3)
/* 8029A760 002976C0 D0 1F 01 30 */ stfs f0, 0x130(r31)
lbl_8029A764:
/* 8029A764 002976C4 80 7F 00 38 */ lwz r3, 0x38(r31)
/* 8029A768 002976C8 48 0A 66 A5 */ bl GetObj__6CTokenFv
/* 8029A76C 002976CC 80 63 00 04 */ lwz r3, 4(r3)
/* 8029A770 002976D0 38 80 00 00 */ li r4, 0
/* 8029A774 002976D4 48 0B AE C1 */ bl Touch__6CModelCFi
/* 8029A778 002976D8 7F E3 FB 78 */ mr r3, r31
/* 8029A77C 002976DC 4B FF ED 79 */ bl sub_802994f4
/* 8029A780 002976E0 80 7F 00 A0 */ lwz r3, 0xa0(r31)
/* 8029A784 002976E4 38 80 00 00 */ li r4, 0
/* 8029A788 002976E8 28 03 00 00 */ cmplwi r3, 0
/* 8029A78C 002976EC 41 82 00 24 */ beq lbl_8029A7B0
/* 8029A790 002976F0 80 63 00 00 */ lwz r3, 0(r3)
/* 8029A794 002976F4 80 03 00 10 */ lwz r0, 0x10(r3)
/* 8029A798 002976F8 28 00 00 00 */ cmplwi r0, 0
/* 8029A79C 002976FC 41 82 00 14 */ beq lbl_8029A7B0
/* 8029A7A0 00297700 88 1F 00 A4 */ lbz r0, 0xa4(r31)
/* 8029A7A4 00297704 28 00 00 00 */ cmplwi r0, 0
/* 8029A7A8 00297708 41 82 00 08 */ beq lbl_8029A7B0
/* 8029A7AC 0029770C 38 80 00 01 */ li r4, 1
lbl_8029A7B0:
/* 8029A7B0 00297710 54 80 06 3F */ clrlwi. r0, r4, 0x18
/* 8029A7B4 00297714 41 82 01 58 */ beq lbl_8029A90C
/* 8029A7B8 00297718 80 6D A1 50 */ lwz r3, gpTweakSlideShow@sda21(r13)
/* 8029A7BC 0029771C C0 1F 00 4C */ lfs f0, 0x4c(r31)
/* 8029A7C0 00297720 C0 23 00 48 */ lfs f1, 0x48(r3)
/* 8029A7C4 00297724 FC 00 08 40 */ fcmpo cr0, f0, f1
/* 8029A7C8 00297728 40 81 00 EC */ ble lbl_8029A8B4
/* 8029A7CC 0029772C 80 9F 00 90 */ lwz r4, 0x90(r31)
/* 8029A7D0 00297730 38 7F 00 9C */ addi r3, r31, 0x9c
/* 8029A7D4 00297734 38 1F 00 68 */ addi r0, r31, 0x68
/* 8029A7D8 00297738 90 9F 00 5C */ stw r4, 0x5c(r31)
/* 8029A7DC 0029773C 7C 03 00 40 */ cmplw r3, r0
/* 8029A7E0 00297740 80 1F 00 94 */ lwz r0, 0x94(r31)
/* 8029A7E4 00297744 90 1F 00 60 */ stw r0, 0x60(r31)
/* 8029A7E8 00297748 80 1F 00 98 */ lwz r0, 0x98(r31)
/* 8029A7EC 0029774C 90 1F 00 64 */ stw r0, 0x64(r31)
/* 8029A7F0 00297750 41 82 00 48 */ beq lbl_8029A838
/* 8029A7F4 00297754 88 1F 00 68 */ lbz r0, 0x68(r31)
/* 8029A7F8 00297758 28 00 00 00 */ cmplwi r0, 0
/* 8029A7FC 0029775C 41 82 00 24 */ beq lbl_8029A820
/* 8029A800 00297760 83 5F 00 6C */ lwz r26, 0x6c(r31)
/* 8029A804 00297764 28 1A 00 00 */ cmplwi r26, 0
/* 8029A808 00297768 41 82 00 18 */ beq lbl_8029A820
/* 8029A80C 0029776C 7F 43 D3 78 */ mr r3, r26
/* 8029A810 00297770 38 80 00 00 */ li r4, 0
/* 8029A814 00297774 48 0A 66 2D */ bl __dt__6CTokenFv
/* 8029A818 00297778 7F 43 D3 78 */ mr r3, r26
/* 8029A81C 0029777C 48 07 B1 15 */ bl Free__7CMemoryFPCv
lbl_8029A820:
/* 8029A820 00297780 88 7F 00 9C */ lbz r3, 0x9c(r31)
/* 8029A824 00297784 38 00 00 00 */ li r0, 0
/* 8029A828 00297788 98 7F 00 68 */ stb r3, 0x68(r31)
/* 8029A82C 0029778C 80 7F 00 A0 */ lwz r3, 0xa0(r31)
/* 8029A830 00297790 90 7F 00 6C */ stw r3, 0x6c(r31)
/* 8029A834 00297794 98 1F 00 9C */ stb r0, 0x9c(r31)
lbl_8029A838:
/* 8029A838 00297798 88 1F 00 A4 */ lbz r0, 0xa4(r31)
/* 8029A83C 0029779C 7F E3 FB 78 */ mr r3, r31
/* 8029A840 002977A0 38 80 00 00 */ li r4, 0
/* 8029A844 002977A4 98 1F 00 70 */ stb r0, 0x70(r31)
/* 8029A848 002977A8 80 BF 00 A8 */ lwz r5, 0xa8(r31)
/* 8029A84C 002977AC 80 1F 00 AC */ lwz r0, 0xac(r31)
/* 8029A850 002977B0 90 BF 00 74 */ stw r5, 0x74(r31)
/* 8029A854 002977B4 90 1F 00 78 */ stw r0, 0x78(r31)
/* 8029A858 002977B8 80 BF 00 B0 */ lwz r5, 0xb0(r31)
/* 8029A85C 002977BC 80 1F 00 B4 */ lwz r0, 0xb4(r31)
/* 8029A860 002977C0 90 BF 00 7C */ stw r5, 0x7c(r31)
/* 8029A864 002977C4 90 1F 00 80 */ stw r0, 0x80(r31)
/* 8029A868 002977C8 80 BF 00 B8 */ lwz r5, 0xb8(r31)
/* 8029A86C 002977CC 80 1F 00 BC */ lwz r0, 0xbc(r31)
/* 8029A870 002977D0 90 BF 00 84 */ stw r5, 0x84(r31)
/* 8029A874 002977D4 90 1F 00 88 */ stw r0, 0x88(r31)
/* 8029A878 002977D8 80 1F 00 C0 */ lwz r0, 0xc0(r31)
/* 8029A87C 002977DC 90 1F 00 8C */ stw r0, 0x8c(r31)
/* 8029A880 002977E0 4B FF E2 D5 */ bl sub_80298b54
/* 8029A884 002977E4 7F E3 FB 78 */ mr r3, r31
/* 8029A888 002977E8 38 80 00 00 */ li r4, 0
/* 8029A88C 002977EC 4B FF E2 45 */ bl sub_80298ad0
/* 8029A890 002977F0 C3 C2 C0 30 */ lfs f30, lbl_805ADD50@sda21(r2)
/* 8029A894 002977F4 F3 C1 A0 0A */ psq_st f30, 10(r1), 1, qr2
/* 8029A898 002977F8 38 7F 00 90 */ addi r3, r31, 0x90
/* 8029A89C 002977FC 88 01 00 0A */ lbz r0, 0xa(r1)
/* 8029A8A0 00297800 98 1F 00 8F */ stb r0, 0x8f(r31)
/* 8029A8A4 00297804 4B FF D1 49 */ bl sub_802979ec
/* 8029A8A8 00297808 C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2)
/* 8029A8AC 0029780C D0 1F 00 4C */ stfs f0, 0x4c(r31)
/* 8029A8B0 00297810 48 00 00 98 */ b lbl_8029A948
lbl_8029A8B4:
/* 8029A8B4 00297814 EC 00 08 24 */ fdivs f0, f0, f1
/* 8029A8B8 00297818 38 81 00 14 */ addi r4, r1, 0x14
/* 8029A8BC 0029781C 38 6D 99 D4 */ addi r3, r13, lbl_805A8594@sda21
/* 8029A8C0 00297820 38 AD 99 D8 */ addi r5, r13, lbl_805A8598@sda21
/* 8029A8C4 00297824 D0 01 00 14 */ stfs f0, 0x14(r1)
/* 8029A8C8 00297828 4B D7 19 ED */ bl "Clamp<f>__5CMathFRCfRCfRCf"
/* 8029A8CC 0029782C C0 43 00 00 */ lfs f2, 0(r3)
/* 8029A8D0 00297830 C0 02 C0 14 */ lfs f0, lbl_805ADD34@sda21(r2)
/* 8029A8D4 00297834 C0 22 C0 30 */ lfs f1, lbl_805ADD50@sda21(r2)
/* 8029A8D8 00297838 EC 00 10 28 */ fsubs f0, f0, f2
/* 8029A8DC 0029783C EF C1 00 32 */ fmuls f30, f1, f0
/* 8029A8E0 00297840 F3 C1 A0 09 */ psq_st f30, 9(r1), 1, qr2
/* 8029A8E4 00297844 EF A1 00 B2 */ fmuls f29, f1, f2
/* 8029A8E8 00297848 88 01 00 09 */ lbz r0, 9(r1)
/* 8029A8EC 0029784C 98 1F 00 8F */ stb r0, 0x8f(r31)
/* 8029A8F0 00297850 F3 A1 A0 08 */ psq_st f29, 8(r1), 1, qr2
/* 8029A8F4 00297854 88 01 00 08 */ lbz r0, 8(r1)
/* 8029A8F8 00297858 98 1F 00 C3 */ stb r0, 0xc3(r31)
/* 8029A8FC 0029785C C0 1F 00 4C */ lfs f0, 0x4c(r31)
/* 8029A900 00297860 EC 00 F8 2A */ fadds f0, f0, f31
/* 8029A904 00297864 D0 1F 00 4C */ stfs f0, 0x4c(r31)
/* 8029A908 00297868 48 00 00 40 */ b lbl_8029A948
lbl_8029A90C:
/* 8029A90C 0029786C C0 5F 00 50 */ lfs f2, 0x50(r31)
/* 8029A910 00297870 80 6D A1 50 */ lwz r3, gpTweakSlideShow@sda21(r13)
/* 8029A914 00297874 FC 20 12 10 */ fabs f1, f2
/* 8029A918 00297878 C0 03 00 3C */ lfs f0, 0x3c(r3)
/* 8029A91C 0029787C FC 20 08 18 */ frsp f1, f1
/* 8029A920 00297880 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8029A924 00297884 40 81 00 24 */ ble lbl_8029A948
/* 8029A928 00297888 C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2)
/* 8029A92C 0029788C 7F E3 FB 78 */ mr r3, r31
/* 8029A930 00297890 FC 02 00 40 */ fcmpo cr0, f2, f0
/* 8029A934 00297894 7C 00 00 26 */ mfcr r0
/* 8029A938 00297898 54 04 17 FE */ rlwinm r4, r0, 2, 0x1f, 0x1f
/* 8029A93C 0029789C 4B FF ED BD */ bl sub_802996f8
/* 8029A940 002978A0 C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2)
/* 8029A944 002978A4 D0 1F 00 50 */ stfs f0, 0x50(r31)
lbl_8029A948:
/* 8029A948 002978A8 7F E3 FB 78 */ mr r3, r31
/* 8029A94C 002978AC 4B FF EB 4D */ bl sub_80299498
/* 8029A950 002978B0 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8029A954 002978B4 41 82 00 0C */ beq lbl_8029A960
/* 8029A958 002978B8 C0 22 BF F0 */ lfs f1, lbl_805ADD10@sda21(r2)
/* 8029A95C 002978BC 48 00 00 0C */ b lbl_8029A968
lbl_8029A960:
/* 8029A960 002978C0 80 6D A1 50 */ lwz r3, gpTweakSlideShow@sda21(r13)
/* 8029A964 002978C4 C0 23 00 4C */ lfs f1, 0x4c(r3)
lbl_8029A968:
/* 8029A968 002978C8 C0 1F 00 54 */ lfs f0, 0x54(r31)
/* 8029A96C 002978CC 38 81 00 10 */ addi r4, r1, 0x10
/* 8029A970 002978D0 D0 21 00 1C */ stfs f1, 0x1c(r1)
/* 8029A974 002978D4 38 A1 00 1C */ addi r5, r1, 0x1c
/* 8029A978 002978D8 EC 00 F8 2A */ fadds f0, f0, f31
/* 8029A97C 002978DC 38 6D 99 DC */ addi r3, r13, lbl_805A859C@sda21
/* 8029A980 002978E0 D0 01 00 10 */ stfs f0, 0x10(r1)
/* 8029A984 002978E4 4B D7 19 31 */ bl "Clamp<f>__5CMathFRCfRCfRCf"
/* 8029A988 002978E8 C0 03 00 00 */ lfs f0, 0(r3)
/* 8029A98C 002978EC D0 1F 00 54 */ stfs f0, 0x54(r31)
/* 8029A990 002978F0 80 6D A1 50 */ lwz r3, gpTweakSlideShow@sda21(r13)
/* 8029A994 002978F4 C0 3F 00 54 */ lfs f1, 0x54(r31)
/* 8029A998 002978F8 C0 03 00 4C */ lfs f0, 0x4c(r3)
/* 8029A99C 002978FC FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8029A9A0 00297900 4C 41 13 82 */ cror 2, 1, 2
/* 8029A9A4 00297904 40 82 00 14 */ bne lbl_8029A9B8
/* 8029A9A8 00297908 C0 1F 00 58 */ lfs f0, 0x58(r31)
/* 8029A9AC 0029790C EC 00 F8 2A */ fadds f0, f0, f31
/* 8029A9B0 00297910 D0 1F 00 58 */ stfs f0, 0x58(r31)
/* 8029A9B4 00297914 48 00 00 10 */ b lbl_8029A9C4
lbl_8029A9B8:
/* 8029A9B8 00297918 C0 1F 00 58 */ lfs f0, 0x58(r31)
/* 8029A9BC 0029791C EC 00 F8 28 */ fsubs f0, f0, f31
/* 8029A9C0 00297920 D0 1F 00 58 */ stfs f0, 0x58(r31)
lbl_8029A9C4:
/* 8029A9C4 00297924 80 AD A1 50 */ lwz r5, gpTweakSlideShow@sda21(r13)
/* 8029A9C8 00297928 38 9F 00 58 */ addi r4, r31, 0x58
/* 8029A9CC 0029792C 38 6D 99 E0 */ addi r3, r13, lbl_805A85A0@sda21
/* 8029A9D0 00297930 38 A5 00 50 */ addi r5, r5, 0x50
/* 8029A9D4 00297934 4B D7 18 E1 */ bl "Clamp<f>__5CMathFRCfRCfRCf"
/* 8029A9D8 00297938 C0 03 00 00 */ lfs f0, 0(r3)
/* 8029A9DC 0029793C FC 20 F8 90 */ fmr f1, f31
/* 8029A9E0 00297940 7F E3 FB 78 */ mr r3, r31
/* 8029A9E4 00297944 D0 1F 00 58 */ stfs f0, 0x58(r31)
/* 8029A9E8 00297948 4B FF E8 6D */ bl sub_80299254
/* 8029A9EC 0029794C FC 20 F8 90 */ fmr f1, f31
/* 8029A9F0 00297950 7F E3 FB 78 */ mr r3, r31
/* 8029A9F4 00297954 4B FF DB 69 */ bl sub_8029855c
/* 8029A9F8 00297958 88 1F 01 34 */ lbz r0, 0x134(r31)
/* 8029A9FC 0029795C 54 00 07 FF */ clrlwi. r0, r0, 0x1f
/* 8029AA00 00297960 41 82 01 84 */ beq lbl_8029AB84
/* 8029AA04 00297964 C0 3F 01 30 */ lfs f1, 0x130(r31)
/* 8029AA08 00297968 7F E3 FB 78 */ mr r3, r31
/* 8029AA0C 0029796C 4B FF E0 21 */ bl sub_80298a2c
/* 8029AA10 00297970 48 00 01 74 */ b lbl_8029AB84
lbl_8029AA14:
/* 8029AA14 00297974 7C 83 23 78 */ mr r3, r4
/* 8029AA18 00297978 4B DB 70 CD */ bl GetParmUserInput__7MakeMsgFRC20CArchitectureMessage
/* 8029AA1C 0029797C 3C A0 80 3E */ lis r5, lbl_803D8E9C@ha
/* 8029AA20 00297980 3C 80 80 3E */ lis r4, lbl_803D9810@ha
/* 8029AA24 00297984 38 05 8E 9C */ addi r0, r5, lbl_803D8E9C@l
/* 8029AA28 00297988 90 01 00 90 */ stw r0, 0x90(r1)
/* 8029AA2C 0029798C 38 04 98 10 */ addi r0, r4, lbl_803D9810@l
/* 8029AA30 00297990 90 01 00 90 */ stw r0, 0x90(r1)
/* 8029AA34 00297994 C0 03 00 04 */ lfs f0, 4(r3)
/* 8029AA38 00297998 D0 01 00 94 */ stfs f0, 0x94(r1)
/* 8029AA3C 0029799C 80 03 00 08 */ lwz r0, 8(r3)
/* 8029AA40 002979A0 90 01 00 98 */ stw r0, 0x98(r1)
/* 8029AA44 002979A4 C0 03 00 0C */ lfs f0, 0xc(r3)
/* 8029AA48 002979A8 D0 01 00 9C */ stfs f0, 0x9c(r1)
/* 8029AA4C 002979AC C0 03 00 10 */ lfs f0, 0x10(r3)
/* 8029AA50 002979B0 D0 01 00 A0 */ stfs f0, 0xa0(r1)
/* 8029AA54 002979B4 C0 03 00 14 */ lfs f0, 0x14(r3)
/* 8029AA58 002979B8 D0 01 00 A4 */ stfs f0, 0xa4(r1)
/* 8029AA5C 002979BC C0 03 00 18 */ lfs f0, 0x18(r3)
/* 8029AA60 002979C0 D0 01 00 A8 */ stfs f0, 0xa8(r1)
/* 8029AA64 002979C4 C0 03 00 1C */ lfs f0, 0x1c(r3)
/* 8029AA68 002979C8 D0 01 00 AC */ stfs f0, 0xac(r1)
/* 8029AA6C 002979CC C0 03 00 20 */ lfs f0, 0x20(r3)
/* 8029AA70 002979D0 D0 01 00 B0 */ stfs f0, 0xb0(r1)
/* 8029AA74 002979D4 88 03 00 24 */ lbz r0, 0x24(r3)
/* 8029AA78 002979D8 98 01 00 B4 */ stb r0, 0xb4(r1)
/* 8029AA7C 002979DC 88 03 00 25 */ lbz r0, 0x25(r3)
/* 8029AA80 002979E0 98 01 00 B5 */ stb r0, 0xb5(r1)
/* 8029AA84 002979E4 88 03 00 26 */ lbz r0, 0x26(r3)
/* 8029AA88 002979E8 98 01 00 B6 */ stb r0, 0xb6(r1)
/* 8029AA8C 002979EC 88 03 00 27 */ lbz r0, 0x27(r3)
/* 8029AA90 002979F0 98 01 00 B7 */ stb r0, 0xb7(r1)
/* 8029AA94 002979F4 C0 03 00 28 */ lfs f0, 0x28(r3)
/* 8029AA98 002979F8 D0 01 00 B8 */ stfs f0, 0xb8(r1)
/* 8029AA9C 002979FC C0 03 00 2C */ lfs f0, 0x2c(r3)
/* 8029AAA0 00297A00 D0 01 00 BC */ stfs f0, 0xbc(r1)
/* 8029AAA4 00297A04 88 03 00 30 */ lbz r0, 0x30(r3)
/* 8029AAA8 00297A08 98 01 00 C0 */ stb r0, 0xc0(r1)
/* 8029AAAC 00297A0C 88 03 00 31 */ lbz r0, 0x31(r3)
/* 8029AAB0 00297A10 98 01 00 C1 */ stb r0, 0xc1(r1)
/* 8029AAB4 00297A14 88 03 00 32 */ lbz r0, 0x32(r3)
/* 8029AAB8 00297A18 38 61 00 90 */ addi r3, r1, 0x90
/* 8029AABC 00297A1C 98 01 00 C2 */ stb r0, 0xc2(r1)
/* 8029AAC0 00297A20 4B D8 0F 25 */ bl GetUserInput__21CArchMsgParmUserInputCFv
/* 8029AAC4 00297A24 C0 03 00 00 */ lfs f0, 0(r3)
/* 8029AAC8 00297A28 D0 01 00 60 */ stfs f0, 0x60(r1)
/* 8029AACC 00297A2C 80 03 00 04 */ lwz r0, 4(r3)
/* 8029AAD0 00297A30 90 01 00 64 */ stw r0, 0x64(r1)
/* 8029AAD4 00297A34 2C 00 00 00 */ cmpwi r0, 0
/* 8029AAD8 00297A38 C0 03 00 08 */ lfs f0, 8(r3)
/* 8029AADC 00297A3C D0 01 00 68 */ stfs f0, 0x68(r1)
/* 8029AAE0 00297A40 C0 03 00 0C */ lfs f0, 0xc(r3)
/* 8029AAE4 00297A44 D0 01 00 6C */ stfs f0, 0x6c(r1)
/* 8029AAE8 00297A48 C0 03 00 10 */ lfs f0, 0x10(r3)
/* 8029AAEC 00297A4C D0 01 00 70 */ stfs f0, 0x70(r1)
/* 8029AAF0 00297A50 C0 03 00 14 */ lfs f0, 0x14(r3)
/* 8029AAF4 00297A54 D0 01 00 74 */ stfs f0, 0x74(r1)
/* 8029AAF8 00297A58 C0 03 00 18 */ lfs f0, 0x18(r3)
/* 8029AAFC 00297A5C D0 01 00 78 */ stfs f0, 0x78(r1)
/* 8029AB00 00297A60 C0 03 00 1C */ lfs f0, 0x1c(r3)
/* 8029AB04 00297A64 D0 01 00 7C */ stfs f0, 0x7c(r1)
/* 8029AB08 00297A68 88 03 00 20 */ lbz r0, 0x20(r3)
/* 8029AB0C 00297A6C 98 01 00 80 */ stb r0, 0x80(r1)
/* 8029AB10 00297A70 88 03 00 21 */ lbz r0, 0x21(r3)
/* 8029AB14 00297A74 98 01 00 81 */ stb r0, 0x81(r1)
/* 8029AB18 00297A78 88 03 00 22 */ lbz r0, 0x22(r3)
/* 8029AB1C 00297A7C 98 01 00 82 */ stb r0, 0x82(r1)
/* 8029AB20 00297A80 88 03 00 23 */ lbz r0, 0x23(r3)
/* 8029AB24 00297A84 98 01 00 83 */ stb r0, 0x83(r1)
/* 8029AB28 00297A88 C0 03 00 24 */ lfs f0, 0x24(r3)
/* 8029AB2C 00297A8C D0 01 00 84 */ stfs f0, 0x84(r1)
/* 8029AB30 00297A90 C0 03 00 28 */ lfs f0, 0x28(r3)
/* 8029AB34 00297A94 D0 01 00 88 */ stfs f0, 0x88(r1)
/* 8029AB38 00297A98 88 03 00 2C */ lbz r0, 0x2c(r3)
/* 8029AB3C 00297A9C 98 01 00 8C */ stb r0, 0x8c(r1)
/* 8029AB40 00297AA0 88 03 00 2D */ lbz r0, 0x2d(r3)
/* 8029AB44 00297AA4 98 01 00 8D */ stb r0, 0x8d(r1)
/* 8029AB48 00297AA8 88 03 00 2E */ lbz r0, 0x2e(r3)
/* 8029AB4C 00297AAC 98 01 00 8E */ stb r0, 0x8e(r1)
/* 8029AB50 00297AB0 40 82 00 28 */ bne lbl_8029AB78
/* 8029AB54 00297AB4 7F E3 FB 78 */ mr r3, r31
/* 8029AB58 00297AB8 38 81 00 60 */ addi r4, r1, 0x60
/* 8029AB5C 00297ABC 4B FF ED 09 */ bl ProcessUserInput__10CSlideShowFRC11CFinalInput
/* 8029AB60 00297AC0 7C 7B 1B 78 */ mr r27, r3
/* 8029AB64 00297AC4 38 61 00 90 */ addi r3, r1, 0x90
/* 8029AB68 00297AC8 38 80 FF FF */ li r4, -1
/* 8029AB6C 00297ACC 4B D8 0E 81 */ bl __dt__21CArchMsgParmUserInputFv
/* 8029AB70 00297AD0 7F 63 DB 78 */ mr r3, r27
/* 8029AB74 00297AD4 48 00 00 14 */ b lbl_8029AB88
lbl_8029AB78:
/* 8029AB78 00297AD8 38 61 00 90 */ addi r3, r1, 0x90
/* 8029AB7C 00297ADC 38 80 FF FF */ li r4, -1
/* 8029AB80 00297AE0 4B D8 0E 6D */ bl __dt__21CArchMsgParmUserInputFv
lbl_8029AB84:
/* 8029AB84 00297AE4 38 60 00 01 */ li r3, 1
lbl_8029AB88:
/* 8029AB88 00297AE8 E3 E1 01 18 */ psq_l f31, 280(r1), 0, qr0
/* 8029AB8C 00297AEC CB E1 01 10 */ lfd f31, 0x110(r1)
/* 8029AB90 00297AF0 E3 C1 01 08 */ psq_l f30, 264(r1), 0, qr0
/* 8029AB94 00297AF4 CB C1 01 00 */ lfd f30, 0x100(r1)
/* 8029AB98 00297AF8 E3 A1 00 F8 */ psq_l f29, 248(r1), 0, qr0
/* 8029AB9C 00297AFC CB A1 00 F0 */ lfd f29, 0xf0(r1)
/* 8029ABA0 00297B00 BB 21 00 D4 */ lmw r25, 0xd4(r1)
/* 8029ABA4 00297B04 80 01 01 24 */ lwz r0, 0x124(r1)
/* 8029ABA8 00297B08 7C 08 03 A6 */ mtlr r0
/* 8029ABAC 00297B0C 38 21 01 20 */ addi r1, r1, 0x120
2022-07-14 05:48:03 +00:00
/* 8029ABB0 00297B10 4E 80 00 20 */ blr
.global sub_8029abb4
sub_8029abb4:
/* 8029ABB4 00297B14 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8029ABB8 00297B18 7C 08 02 A6 */ mflr r0
/* 8029ABBC 00297B1C 90 01 00 24 */ stw r0, 0x24(r1)
/* 8029ABC0 00297B20 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8029ABC4 00297B24 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8029ABC8 00297B28 7C 7E 1B 78 */ mr r30, r3
/* 8029ABCC 00297B2C 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13)
/* 8029ABD0 00297B30 81 83 00 00 */ lwz r12, 0(r3)
/* 8029ABD4 00297B34 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 8029ABD8 00297B38 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 8029ABDC 00297B3C 4E 80 04 21 */ bctrl
/* 8029ABE0 00297B40 7C 7F 1B 79 */ or. r31, r3, r3
/* 8029ABE4 00297B44 41 82 00 C4 */ beq lbl_8029ACA8
/* 8029ABE8 00297B48 80 7F 00 00 */ lwz r3, 0(r31)
/* 8029ABEC 00297B4C 3C 03 BB B9 */ addis r0, r3, 0xbbb9
/* 8029ABF0 00297B50 28 00 52 50 */ cmplwi r0, 0x5250
/* 8029ABF4 00297B54 40 82 00 B4 */ bne lbl_8029ACA8
/* 8029ABF8 00297B58 80 7E 00 1C */ lwz r3, 0x1c(r30)
/* 8029ABFC 00297B5C 80 1E 00 20 */ lwz r0, 0x20(r30)
/* 8029AC00 00297B60 38 83 00 01 */ addi r4, r3, 1
/* 8029AC04 00297B64 7C 04 00 00 */ cmpw r4, r0
/* 8029AC08 00297B68 40 81 00 0C */ ble lbl_8029AC14
/* 8029AC0C 00297B6C 38 7E 00 18 */ addi r3, r30, 0x18
/* 8029AC10 00297B70 4B E6 FB FD */ bl sub_8010a80c
lbl_8029AC14:
/* 8029AC14 00297B74 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
/* 8029AC18 00297B78 7F E5 FB 78 */ mr r5, r31
/* 8029AC1C 00297B7C 38 61 00 10 */ addi r3, r1, 0x10
/* 8029AC20 00297B80 81 84 00 00 */ lwz r12, 0(r4)
/* 8029AC24 00297B84 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 8029AC28 00297B88 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 8029AC2C 00297B8C 4E 80 04 21 */ bctrl
/* 8029AC30 00297B90 38 61 00 08 */ addi r3, r1, 8
/* 8029AC34 00297B94 38 81 00 10 */ addi r4, r1, 0x10
/* 8029AC38 00297B98 48 0A 62 71 */ bl __ct__6CTokenFRC6CToken
/* 8029AC3C 00297B9C 80 1E 00 1C */ lwz r0, 0x1c(r30)
/* 8029AC40 00297BA0 80 BE 00 20 */ lwz r5, 0x20(r30)
/* 8029AC44 00297BA4 7C 00 28 00 */ cmpw r0, r5
/* 8029AC48 00297BA8 41 80 00 1C */ blt lbl_8029AC64
/* 8029AC4C 00297BAC 2C 05 00 00 */ cmpwi r5, 0
/* 8029AC50 00297BB0 38 7E 00 18 */ addi r3, r30, 0x18
/* 8029AC54 00297BB4 38 80 00 04 */ li r4, 4
/* 8029AC58 00297BB8 41 82 00 08 */ beq lbl_8029AC60
/* 8029AC5C 00297BBC 54 A4 08 3C */ slwi r4, r5, 1
lbl_8029AC60:
/* 8029AC60 00297BC0 4B E6 FB AD */ bl sub_8010a80c
lbl_8029AC64:
/* 8029AC64 00297BC4 80 1E 00 1C */ lwz r0, 0x1c(r30)
/* 8029AC68 00297BC8 80 7E 00 24 */ lwz r3, 0x24(r30)
/* 8029AC6C 00297BCC 54 00 18 38 */ slwi r0, r0, 3
/* 8029AC70 00297BD0 7C 63 02 15 */ add. r3, r3, r0
/* 8029AC74 00297BD4 41 82 00 0C */ beq lbl_8029AC80
/* 8029AC78 00297BD8 38 81 00 08 */ addi r4, r1, 8
/* 8029AC7C 00297BDC 48 0A 62 2D */ bl __ct__6CTokenFRC6CToken
lbl_8029AC80:
/* 8029AC80 00297BE0 80 BE 00 1C */ lwz r5, 0x1c(r30)
/* 8029AC84 00297BE4 38 61 00 08 */ addi r3, r1, 8
/* 8029AC88 00297BE8 38 80 00 00 */ li r4, 0
/* 8029AC8C 00297BEC 38 05 00 01 */ addi r0, r5, 1
/* 8029AC90 00297BF0 90 1E 00 1C */ stw r0, 0x1c(r30)
/* 8029AC94 00297BF4 48 0A 61 AD */ bl __dt__6CTokenFv
/* 8029AC98 00297BF8 38 61 00 10 */ addi r3, r1, 0x10
/* 8029AC9C 00297BFC 38 80 FF FF */ li r4, -1
/* 8029ACA0 00297C00 48 0A 61 A1 */ bl __dt__6CTokenFv
/* 8029ACA4 00297C04 48 00 00 0C */ b lbl_8029ACB0
lbl_8029ACA8:
/* 8029ACA8 00297C08 38 60 00 00 */ li r3, 0
/* 8029ACAC 00297C0C 48 00 00 08 */ b lbl_8029ACB4
lbl_8029ACB0:
/* 8029ACB0 00297C10 38 60 00 01 */ li r3, 1
lbl_8029ACB4:
/* 8029ACB4 00297C14 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8029ACB8 00297C18 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8029ACBC 00297C1C 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8029ACC0 00297C20 7C 08 03 A6 */ mtlr r0
/* 8029ACC4 00297C24 38 21 00 20 */ addi r1, r1, 0x20
2022-07-14 05:48:03 +00:00
/* 8029ACC8 00297C28 4E 80 00 20 */ blr
.global sub_8029accc
sub_8029accc:
/* 8029ACCC 00297C2C 94 21 FF 80 */ stwu r1, -0x80(r1)
/* 8029ACD0 00297C30 7C 08 02 A6 */ mflr r0
/* 8029ACD4 00297C34 90 01 00 84 */ stw r0, 0x84(r1)
/* 8029ACD8 00297C38 BE C1 00 58 */ stmw r22, 0x58(r1)
/* 8029ACDC 00297C3C 7C 98 23 78 */ mr r24, r4
/* 8029ACE0 00297C40 7C 77 1B 78 */ mr r23, r3
/* 8029ACE4 00297C44 80 83 00 1C */ lwz r4, 0x1c(r3)
/* 8029ACE8 00297C48 38 77 00 28 */ addi r3, r23, 0x28
/* 8029ACEC 00297C4C 3B 64 FF FF */ addi r27, r4, -1
/* 8029ACF0 00297C50 7F 64 DB 78 */ mr r4, r27
/* 8029ACF4 00297C54 48 00 14 F5 */ bl sub_8029c1e8
/* 8029ACF8 00297C58 80 17 00 24 */ lwz r0, 0x24(r23)
/* 8029ACFC 00297C5C 3B 81 00 48 */ addi r28, r1, 0x48
/* 8029AD00 00297C60 3B 40 00 00 */ li r26, 0
/* 8029AD04 00297C64 90 01 00 30 */ stw r0, 0x30(r1)
/* 8029AD08 00297C68 48 00 02 40 */ b lbl_8029AF48
lbl_8029AD0C:
/* 8029AD0C 00297C6C 38 00 00 01 */ li r0, 1
/* 8029AD10 00297C70 7C 00 D0 30 */ slw r0, r0, r26
/* 8029AD14 00297C74 7F 00 00 39 */ and. r0, r24, r0
/* 8029AD18 00297C78 40 82 00 28 */ bne lbl_8029AD40
/* 8029AD1C 00297C7C 80 01 00 30 */ lwz r0, 0x30(r1)
/* 8029AD20 00297C80 38 61 00 2C */ addi r3, r1, 0x2c
/* 8029AD24 00297C84 38 97 00 18 */ addi r4, r23, 0x18
/* 8029AD28 00297C88 38 A1 00 28 */ addi r5, r1, 0x28
/* 8029AD2C 00297C8C 90 01 00 28 */ stw r0, 0x28(r1)
/* 8029AD30 00297C90 48 00 03 71 */ bl sub_8029b0a0
/* 8029AD34 00297C94 80 01 00 2C */ lwz r0, 0x2c(r1)
/* 8029AD38 00297C98 90 01 00 30 */ stw r0, 0x30(r1)
/* 8029AD3C 00297C9C 48 00 02 08 */ b lbl_8029AF44
lbl_8029AD40:
/* 8029AD40 00297CA0 80 61 00 30 */ lwz r3, 0x30(r1)
/* 8029AD44 00297CA4 48 0A 60 C9 */ bl GetObj__6CTokenFv
/* 8029AD48 00297CA8 80 63 00 04 */ lwz r3, 4(r3)
/* 8029AD4C 00297CAC 38 00 00 00 */ li r0, 0
/* 8029AD50 00297CB0 2C 00 00 00 */ cmpwi r0, 0
/* 8029AD54 00297CB4 90 01 00 38 */ stw r0, 0x38(r1)
/* 8029AD58 00297CB8 83 C3 00 04 */ lwz r30, 4(r3)
/* 8029AD5C 00297CBC 90 01 00 3C */ stw r0, 0x3c(r1)
/* 8029AD60 00297CC0 90 01 00 40 */ stw r0, 0x40(r1)
/* 8029AD64 00297CC4 93 41 00 44 */ stw r26, 0x44(r1)
/* 8029AD68 00297CC8 90 01 00 4C */ stw r0, 0x4c(r1)
/* 8029AD6C 00297CCC 90 01 00 50 */ stw r0, 0x50(r1)
/* 8029AD70 00297CD0 40 82 00 10 */ bne lbl_8029AD80
/* 8029AD74 00297CD4 40 82 00 0C */ bne lbl_8029AD80
/* 8029AD78 00297CD8 90 01 00 54 */ stw r0, 0x54(r1)
/* 8029AD7C 00297CDC 48 00 00 68 */ b lbl_8029ADE4
lbl_8029AD80:
/* 8029AD80 00297CE0 80 01 00 50 */ lwz r0, 0x50(r1)
/* 8029AD84 00297CE4 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d
/* 8029AD88 00297CE8 40 82 00 10 */ bne lbl_8029AD98
/* 8029AD8C 00297CEC 38 00 00 00 */ li r0, 0
/* 8029AD90 00297CF0 90 01 00 54 */ stw r0, 0x54(r1)
/* 8029AD94 00297CF4 48 00 00 1C */ b lbl_8029ADB0
lbl_8029AD98:
/* 8029AD98 00297CF8 3C 80 80 3D */ lis r4, lbl_803D5C48@ha
/* 8029AD9C 00297CFC 38 A0 00 00 */ li r5, 0
/* 8029ADA0 00297D00 38 84 5C 48 */ addi r4, r4, lbl_803D5C48@l
/* 8029ADA4 00297D04 38 84 00 D0 */ addi r4, r4, 0xd0
/* 8029ADA8 00297D08 48 07 AA 71 */ bl __nwa__FUlPCcPCc
/* 8029ADAC 00297D0C 90 61 00 54 */ stw r3, 0x54(r1)
lbl_8029ADB0:
/* 8029ADB0 00297D10 80 01 00 4C */ lwz r0, 0x4c(r1)
/* 8029ADB4 00297D14 80 81 00 40 */ lwz r4, 0x40(r1)
/* 8029ADB8 00297D18 80 61 00 54 */ lwz r3, 0x54(r1)
/* 8029ADBC 00297D1C 7C 09 03 A6 */ mtctr r0
/* 8029ADC0 00297D20 2C 00 00 00 */ cmpwi r0, 0
/* 8029ADC4 00297D24 40 81 00 20 */ ble lbl_8029ADE4
lbl_8029ADC8:
/* 8029ADC8 00297D28 28 03 00 00 */ cmplwi r3, 0
/* 8029ADCC 00297D2C 41 82 00 0C */ beq lbl_8029ADD8
/* 8029ADD0 00297D30 80 04 00 00 */ lwz r0, 0(r4)
/* 8029ADD4 00297D34 90 03 00 00 */ stw r0, 0(r3)
lbl_8029ADD8:
/* 8029ADD8 00297D38 38 63 00 04 */ addi r3, r3, 4
/* 8029ADDC 00297D3C 38 84 00 04 */ addi r4, r4, 4
/* 8029ADE0 00297D40 42 00 FF E8 */ bdnz lbl_8029ADC8
lbl_8029ADE4:
/* 8029ADE4 00297D44 38 77 00 28 */ addi r3, r23, 0x28
/* 8029ADE8 00297D48 38 81 00 44 */ addi r4, r1, 0x44
/* 8029ADEC 00297D4C 48 00 01 95 */ bl sub_8029af80
/* 8029ADF0 00297D50 28 1C 00 00 */ cmplwi r28, 0
/* 8029ADF4 00297D54 41 82 00 44 */ beq lbl_8029AE38
/* 8029ADF8 00297D58 80 01 00 4C */ lwz r0, 0x4c(r1)
/* 8029ADFC 00297D5C 80 61 00 54 */ lwz r3, 0x54(r1)
/* 8029AE00 00297D60 54 00 10 3A */ slwi r0, r0, 2
/* 8029AE04 00297D64 7C 03 02 14 */ add r0, r3, r0
/* 8029AE08 00297D68 90 61 00 0C */ stw r3, 0xc(r1)
/* 8029AE0C 00297D6C 7C 64 1B 78 */ mr r4, r3
/* 8029AE10 00297D70 90 01 00 14 */ stw r0, 0x14(r1)
/* 8029AE14 00297D74 90 01 00 10 */ stw r0, 0x10(r1)
/* 8029AE18 00297D78 90 61 00 08 */ stw r3, 8(r1)
/* 8029AE1C 00297D7C 48 00 00 08 */ b lbl_8029AE24
lbl_8029AE20:
/* 8029AE20 00297D80 38 84 00 04 */ addi r4, r4, 4
lbl_8029AE24:
/* 8029AE24 00297D84 7C 04 00 40 */ cmplw r4, r0
/* 8029AE28 00297D88 40 82 FF F8 */ bne lbl_8029AE20
/* 8029AE2C 00297D8C 28 03 00 00 */ cmplwi r3, 0
/* 8029AE30 00297D90 41 82 00 08 */ beq lbl_8029AE38
/* 8029AE34 00297D94 48 07 AA FD */ bl Free__7CMemoryFPCv
lbl_8029AE38:
/* 8029AE38 00297D98 80 01 00 38 */ lwz r0, 0x38(r1)
/* 8029AE3C 00297D9C 80 61 00 40 */ lwz r3, 0x40(r1)
/* 8029AE40 00297DA0 54 00 10 3A */ slwi r0, r0, 2
/* 8029AE44 00297DA4 7C 03 02 14 */ add r0, r3, r0
/* 8029AE48 00297DA8 90 61 00 1C */ stw r3, 0x1c(r1)
/* 8029AE4C 00297DAC 7C 64 1B 78 */ mr r4, r3
/* 8029AE50 00297DB0 90 01 00 24 */ stw r0, 0x24(r1)
/* 8029AE54 00297DB4 90 01 00 20 */ stw r0, 0x20(r1)
/* 8029AE58 00297DB8 90 61 00 18 */ stw r3, 0x18(r1)
/* 8029AE5C 00297DBC 48 00 00 08 */ b lbl_8029AE64
lbl_8029AE60:
/* 8029AE60 00297DC0 38 84 00 04 */ addi r4, r4, 4
lbl_8029AE64:
/* 8029AE64 00297DC4 7C 04 00 40 */ cmplw r4, r0
/* 8029AE68 00297DC8 40 82 FF F8 */ bne lbl_8029AE60
/* 8029AE6C 00297DCC 28 03 00 00 */ cmplwi r3, 0
/* 8029AE70 00297DD0 41 82 00 08 */ beq lbl_8029AE78
/* 8029AE74 00297DD4 48 07 AA BD */ bl Free__7CMemoryFPCv
lbl_8029AE78:
/* 8029AE78 00297DD8 80 77 00 2C */ lwz r3, 0x2c(r23)
/* 8029AE7C 00297DDC 7F C4 F3 78 */ mr r4, r30
/* 8029AE80 00297DE0 80 B7 00 34 */ lwz r5, 0x34(r23)
/* 8029AE84 00297DE4 38 03 FF FF */ addi r0, r3, -1
/* 8029AE88 00297DE8 1C 00 00 14 */ mulli r0, r0, 0x14
/* 8029AE8C 00297DEC 7F A5 02 14 */ add r29, r5, r0
/* 8029AE90 00297DF0 38 7D 00 04 */ addi r3, r29, 4
/* 8029AE94 00297DF4 48 00 12 65 */ bl sub_8029c0f8
/* 8029AE98 00297DF8 3C 60 80 3D */ lis r3, lbl_803D5C48@ha
/* 8029AE9C 00297DFC 3B 20 00 00 */ li r25, 0
/* 8029AEA0 00297E00 3B E3 5C 48 */ addi r31, r3, lbl_803D5C48@l
/* 8029AEA4 00297E04 48 00 00 8C */ b lbl_8029AF30
lbl_8029AEA8:
/* 8029AEA8 00297E08 7F E4 FB 78 */ mr r4, r31
/* 8029AEAC 00297E0C 7F 45 D3 78 */ mr r5, r26
/* 8029AEB0 00297E10 7F 26 CB 78 */ mr r6, r25
/* 8029AEB4 00297E14 38 7F 00 EE */ addi r3, r31, 0xee
/* 8029AEB8 00297E18 4C C6 31 82 */ crclr 6
/* 8029AEBC 00297E1C 48 03 B2 F5 */ bl Stringize__7CBasicsFPCce
/* 8029AEC0 00297E20 7C 60 1B 78 */ mr r0, r3
/* 8029AEC4 00297E24 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13)
/* 8029AEC8 00297E28 7C 04 03 78 */ mr r4, r0
/* 8029AECC 00297E2C 81 83 00 00 */ lwz r12, 0(r3)
/* 8029AED0 00297E30 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 8029AED4 00297E34 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 8029AED8 00297E38 4E 80 04 21 */ bctrl
/* 8029AEDC 00297E3C 80 1D 00 08 */ lwz r0, 8(r29)
/* 8029AEE0 00297E40 7C 76 1B 78 */ mr r22, r3
/* 8029AEE4 00297E44 80 BD 00 0C */ lwz r5, 0xc(r29)
/* 8029AEE8 00297E48 7C 00 28 00 */ cmpw r0, r5
/* 8029AEEC 00297E4C 41 80 00 1C */ blt lbl_8029AF08
/* 8029AEF0 00297E50 2C 05 00 00 */ cmpwi r5, 0
/* 8029AEF4 00297E54 38 7D 00 04 */ addi r3, r29, 4
/* 8029AEF8 00297E58 38 80 00 04 */ li r4, 4
/* 8029AEFC 00297E5C 41 82 00 08 */ beq lbl_8029AF04
/* 8029AF00 00297E60 54 A4 08 3C */ slwi r4, r5, 1
lbl_8029AF04:
/* 8029AF04 00297E64 48 00 11 F5 */ bl sub_8029c0f8
lbl_8029AF08:
/* 8029AF08 00297E68 80 1D 00 08 */ lwz r0, 8(r29)
/* 8029AF0C 00297E6C 80 7D 00 10 */ lwz r3, 0x10(r29)
/* 8029AF10 00297E70 54 00 10 3A */ slwi r0, r0, 2
/* 8029AF14 00297E74 7C 63 02 15 */ add. r3, r3, r0
/* 8029AF18 00297E78 41 82 00 08 */ beq lbl_8029AF20
/* 8029AF1C 00297E7C 92 C3 00 00 */ stw r22, 0(r3)
lbl_8029AF20:
/* 8029AF20 00297E80 80 7D 00 08 */ lwz r3, 8(r29)
/* 8029AF24 00297E84 3B 39 00 01 */ addi r25, r25, 1
/* 8029AF28 00297E88 38 03 00 01 */ addi r0, r3, 1
/* 8029AF2C 00297E8C 90 1D 00 08 */ stw r0, 8(r29)
lbl_8029AF30:
/* 8029AF30 00297E90 7C 19 F0 00 */ cmpw r25, r30
/* 8029AF34 00297E94 41 80 FF 74 */ blt lbl_8029AEA8
/* 8029AF38 00297E98 80 61 00 30 */ lwz r3, 0x30(r1)
/* 8029AF3C 00297E9C 38 03 00 08 */ addi r0, r3, 8
/* 8029AF40 00297EA0 90 01 00 30 */ stw r0, 0x30(r1)
lbl_8029AF44:
/* 8029AF44 00297EA4 3B 5A 00 01 */ addi r26, r26, 1
lbl_8029AF48:
/* 8029AF48 00297EA8 80 17 00 1C */ lwz r0, 0x1c(r23)
/* 8029AF4C 00297EAC 80 77 00 24 */ lwz r3, 0x24(r23)
/* 8029AF50 00297EB0 54 00 18 38 */ slwi r0, r0, 3
/* 8029AF54 00297EB4 80 81 00 30 */ lwz r4, 0x30(r1)
/* 8029AF58 00297EB8 7C 03 02 14 */ add r0, r3, r0
/* 8029AF5C 00297EBC 7C 04 00 40 */ cmplw r4, r0
/* 8029AF60 00297EC0 41 82 00 0C */ beq lbl_8029AF6C
/* 8029AF64 00297EC4 7C 1A D8 00 */ cmpw r26, r27
/* 8029AF68 00297EC8 41 80 FD A4 */ blt lbl_8029AD0C
lbl_8029AF6C:
/* 8029AF6C 00297ECC BA C1 00 58 */ lmw r22, 0x58(r1)
/* 8029AF70 00297ED0 80 01 00 84 */ lwz r0, 0x84(r1)
/* 8029AF74 00297ED4 7C 08 03 A6 */ mtlr r0
/* 8029AF78 00297ED8 38 21 00 80 */ addi r1, r1, 0x80
2022-07-14 05:48:03 +00:00
/* 8029AF7C 00297EDC 4E 80 00 20 */ blr
.global sub_8029af80
sub_8029af80:
/* 8029AF80 00297EE0 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8029AF84 00297EE4 7C 08 02 A6 */ mflr r0
/* 8029AF88 00297EE8 90 01 00 24 */ stw r0, 0x24(r1)
/* 8029AF8C 00297EEC 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8029AF90 00297EF0 7C 9F 23 78 */ mr r31, r4
/* 8029AF94 00297EF4 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8029AF98 00297EF8 7C 7E 1B 78 */ mr r30, r3
/* 8029AF9C 00297EFC 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8029AFA0 00297F00 80 03 00 04 */ lwz r0, 4(r3)
/* 8029AFA4 00297F04 80 A3 00 08 */ lwz r5, 8(r3)
/* 8029AFA8 00297F08 7C 00 28 00 */ cmpw r0, r5
/* 8029AFAC 00297F0C 41 80 00 18 */ blt lbl_8029AFC4
/* 8029AFB0 00297F10 2C 05 00 00 */ cmpwi r5, 0
/* 8029AFB4 00297F14 38 80 00 04 */ li r4, 4
/* 8029AFB8 00297F18 41 82 00 08 */ beq lbl_8029AFC0
/* 8029AFBC 00297F1C 54 A4 08 3C */ slwi r4, r5, 1
lbl_8029AFC0:
/* 8029AFC0 00297F20 48 00 12 29 */ bl sub_8029c1e8
lbl_8029AFC4:
/* 8029AFC4 00297F24 80 1E 00 04 */ lwz r0, 4(r30)
/* 8029AFC8 00297F28 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 8029AFCC 00297F2C 1C 00 00 14 */ mulli r0, r0, 0x14
/* 8029AFD0 00297F30 7F A3 02 15 */ add. r29, r3, r0
/* 8029AFD4 00297F34 41 82 00 A4 */ beq lbl_8029B078
/* 8029AFD8 00297F38 80 1F 00 00 */ lwz r0, 0(r31)
/* 8029AFDC 00297F3C 90 1D 00 00 */ stw r0, 0(r29)
/* 8029AFE0 00297F40 80 1F 00 08 */ lwz r0, 8(r31)
/* 8029AFE4 00297F44 90 1D 00 08 */ stw r0, 8(r29)
/* 8029AFE8 00297F48 80 1F 00 0C */ lwz r0, 0xc(r31)
/* 8029AFEC 00297F4C 90 1D 00 0C */ stw r0, 0xc(r29)
/* 8029AFF0 00297F50 80 1F 00 08 */ lwz r0, 8(r31)
/* 8029AFF4 00297F54 2C 00 00 00 */ cmpwi r0, 0
/* 8029AFF8 00297F58 40 82 00 1C */ bne lbl_8029B014
/* 8029AFFC 00297F5C 80 1F 00 0C */ lwz r0, 0xc(r31)
/* 8029B000 00297F60 2C 00 00 00 */ cmpwi r0, 0
/* 8029B004 00297F64 40 82 00 10 */ bne lbl_8029B014
/* 8029B008 00297F68 38 00 00 00 */ li r0, 0
/* 8029B00C 00297F6C 90 1D 00 10 */ stw r0, 0x10(r29)
/* 8029B010 00297F70 48 00 00 68 */ b lbl_8029B078
lbl_8029B014:
/* 8029B014 00297F74 80 1D 00 0C */ lwz r0, 0xc(r29)
/* 8029B018 00297F78 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d
/* 8029B01C 00297F7C 40 82 00 10 */ bne lbl_8029B02C
/* 8029B020 00297F80 38 00 00 00 */ li r0, 0
/* 8029B024 00297F84 90 1D 00 10 */ stw r0, 0x10(r29)
/* 8029B028 00297F88 48 00 00 1C */ b lbl_8029B044
lbl_8029B02C:
/* 8029B02C 00297F8C 3C 80 80 3D */ lis r4, lbl_803D5C48@ha
/* 8029B030 00297F90 38 A0 00 00 */ li r5, 0
/* 8029B034 00297F94 38 84 5C 48 */ addi r4, r4, lbl_803D5C48@l
/* 8029B038 00297F98 38 84 00 D0 */ addi r4, r4, 0xd0
/* 8029B03C 00297F9C 48 07 A7 DD */ bl __nwa__FUlPCcPCc
/* 8029B040 00297FA0 90 7D 00 10 */ stw r3, 0x10(r29)
lbl_8029B044:
/* 8029B044 00297FA4 80 1D 00 08 */ lwz r0, 8(r29)
/* 8029B048 00297FA8 80 9F 00 10 */ lwz r4, 0x10(r31)
/* 8029B04C 00297FAC 80 7D 00 10 */ lwz r3, 0x10(r29)
/* 8029B050 00297FB0 7C 09 03 A6 */ mtctr r0
/* 8029B054 00297FB4 2C 00 00 00 */ cmpwi r0, 0
/* 8029B058 00297FB8 40 81 00 20 */ ble lbl_8029B078
lbl_8029B05C:
/* 8029B05C 00297FBC 28 03 00 00 */ cmplwi r3, 0
/* 8029B060 00297FC0 41 82 00 0C */ beq lbl_8029B06C
/* 8029B064 00297FC4 80 04 00 00 */ lwz r0, 0(r4)
/* 8029B068 00297FC8 90 03 00 00 */ stw r0, 0(r3)
lbl_8029B06C:
/* 8029B06C 00297FCC 38 63 00 04 */ addi r3, r3, 4
/* 8029B070 00297FD0 38 84 00 04 */ addi r4, r4, 4
/* 8029B074 00297FD4 42 00 FF E8 */ bdnz lbl_8029B05C
lbl_8029B078:
/* 8029B078 00297FD8 80 7E 00 04 */ lwz r3, 4(r30)
/* 8029B07C 00297FDC 38 03 00 01 */ addi r0, r3, 1
/* 8029B080 00297FE0 90 1E 00 04 */ stw r0, 4(r30)
/* 8029B084 00297FE4 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8029B088 00297FE8 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8029B08C 00297FEC 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 8029B090 00297FF0 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8029B094 00297FF4 7C 08 03 A6 */ mtlr r0
/* 8029B098 00297FF8 38 21 00 20 */ addi r1, r1, 0x20
2022-07-14 05:48:03 +00:00
/* 8029B09C 00297FFC 4E 80 00 20 */ blr
.global sub_8029b0a0
sub_8029b0a0:
/* 8029B0A0 00298000 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8029B0A4 00298004 7C 08 02 A6 */ mflr r0
/* 8029B0A8 00298008 90 01 00 24 */ stw r0, 0x24(r1)
/* 8029B0AC 0029800C 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8029B0B0 00298010 7C 7F 1B 78 */ mr r31, r3
/* 8029B0B4 00298014 80 C5 00 00 */ lwz r6, 0(r5)
/* 8029B0B8 00298018 80 05 00 00 */ lwz r0, 0(r5)
/* 8029B0BC 0029801C 38 A1 00 10 */ addi r5, r1, 0x10
/* 8029B0C0 00298020 38 E6 00 08 */ addi r7, r6, 8
/* 8029B0C4 00298024 38 C1 00 0C */ addi r6, r1, 0xc
/* 8029B0C8 00298028 90 E1 00 08 */ stw r7, 8(r1)
/* 8029B0CC 0029802C 90 E1 00 0C */ stw r7, 0xc(r1)
/* 8029B0D0 00298030 90 01 00 10 */ stw r0, 0x10(r1)
/* 8029B0D4 00298034 48 00 00 19 */ bl sub_8029b0ec
/* 8029B0D8 00298038 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8029B0DC 0029803C 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8029B0E0 00298040 7C 08 03 A6 */ mtlr r0
/* 8029B0E4 00298044 38 21 00 20 */ addi r1, r1, 0x20
2022-07-14 05:48:03 +00:00
/* 8029B0E8 00298048 4E 80 00 20 */ blr
.global sub_8029b0ec
sub_8029b0ec:
/* 8029B0EC 0029804C 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8029B0F0 00298050 7C 08 02 A6 */ mflr r0
/* 8029B0F4 00298054 90 01 00 34 */ stw r0, 0x34(r1)
/* 8029B0F8 00298058 BF 41 00 18 */ stmw r26, 0x18(r1)
/* 8029B0FC 0029805C 7C BF 2B 78 */ mr r31, r5
/* 8029B100 00298060 7C DA 33 78 */ mr r26, r6
/* 8029B104 00298064 7C 7D 1B 78 */ mr r29, r3
/* 8029B108 00298068 7C 9E 23 78 */ mr r30, r4
/* 8029B10C 0029806C 83 65 00 00 */ lwz r27, 0(r5)
/* 8029B110 00298070 83 86 00 00 */ lwz r28, 0(r6)
/* 8029B114 00298074 93 61 00 0C */ stw r27, 0xc(r1)
/* 8029B118 00298078 93 81 00 08 */ stw r28, 8(r1)
/* 8029B11C 0029807C 48 00 00 1C */ b lbl_8029B138
lbl_8029B120:
/* 8029B120 00298080 28 1B 00 00 */ cmplwi r27, 0
/* 8029B124 00298084 41 82 00 10 */ beq lbl_8029B134
/* 8029B128 00298088 7F 63 DB 78 */ mr r3, r27
/* 8029B12C 0029808C 38 80 00 00 */ li r4, 0
/* 8029B130 00298090 48 0A 5D 11 */ bl __dt__6CTokenFv
lbl_8029B134:
/* 8029B134 00298094 3B 7B 00 08 */ addi r27, r27, 8
lbl_8029B138:
/* 8029B138 00298098 7C 1B E0 40 */ cmplw r27, r28
/* 8029B13C 0029809C 40 82 FF E4 */ bne lbl_8029B120
/* 8029B140 002980A0 80 9E 00 0C */ lwz r4, 0xc(r30)
/* 8029B144 002980A4 80 1F 00 00 */ lwz r0, 0(r31)
/* 8029B148 002980A8 83 7A 00 00 */ lwz r27, 0(r26)
/* 8029B14C 002980AC 7C 04 00 50 */ subf r0, r4, r0
/* 8029B150 002980B0 7C 00 1E 70 */ srawi r0, r0, 3
/* 8029B154 002980B4 7C 60 01 94 */ addze r3, r0
/* 8029B158 002980B8 54 60 18 38 */ slwi r0, r3, 3
/* 8029B15C 002980BC 7C 7A 1B 78 */ mr r26, r3
/* 8029B160 002980C0 7F 84 02 14 */ add r28, r4, r0
/* 8029B164 002980C4 48 00 00 38 */ b lbl_8029B19C
lbl_8029B168:
/* 8029B168 002980C8 28 1C 00 00 */ cmplwi r28, 0
/* 8029B16C 002980CC 41 82 00 10 */ beq lbl_8029B17C
/* 8029B170 002980D0 7F 83 E3 78 */ mr r3, r28
/* 8029B174 002980D4 7F 64 DB 78 */ mr r4, r27
/* 8029B178 002980D8 48 0A 5D 31 */ bl __ct__6CTokenFRC6CToken
lbl_8029B17C:
/* 8029B17C 002980DC 28 1B 00 00 */ cmplwi r27, 0
/* 8029B180 002980E0 41 82 00 10 */ beq lbl_8029B190
/* 8029B184 002980E4 7F 63 DB 78 */ mr r3, r27
/* 8029B188 002980E8 38 80 00 00 */ li r4, 0
/* 8029B18C 002980EC 48 0A 5C B5 */ bl __dt__6CTokenFv
lbl_8029B190:
/* 8029B190 002980F0 3B 9C 00 08 */ addi r28, r28, 8
/* 8029B194 002980F4 3B 5A 00 01 */ addi r26, r26, 1
/* 8029B198 002980F8 3B 7B 00 08 */ addi r27, r27, 8
lbl_8029B19C:
/* 8029B19C 002980FC 80 1E 00 04 */ lwz r0, 4(r30)
/* 8029B1A0 00298100 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 8029B1A4 00298104 54 00 18 38 */ slwi r0, r0, 3
/* 8029B1A8 00298108 7C 03 02 14 */ add r0, r3, r0
/* 8029B1AC 0029810C 7C 1B 00 40 */ cmplw r27, r0
/* 8029B1B0 00298110 40 82 FF B8 */ bne lbl_8029B168
/* 8029B1B4 00298114 93 5E 00 04 */ stw r26, 4(r30)
/* 8029B1B8 00298118 80 1F 00 00 */ lwz r0, 0(r31)
/* 8029B1BC 0029811C 90 1D 00 00 */ stw r0, 0(r29)
/* 8029B1C0 00298120 BB 41 00 18 */ lmw r26, 0x18(r1)
/* 8029B1C4 00298124 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8029B1C8 00298128 7C 08 03 A6 */ mtlr r0
/* 8029B1CC 0029812C 38 21 00 30 */ addi r1, r1, 0x30
2022-07-14 05:48:03 +00:00
/* 8029B1D0 00298130 4E 80 00 20 */ blr
.global SlideShowGalleryFlags__10CSlideShowFv
SlideShowGalleryFlags__10CSlideShowFv:
/* 8029B1D4 00298134 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8029B1D8 00298138 7C 08 02 A6 */ mflr r0
/* 8029B1DC 0029813C 90 01 00 14 */ stw r0, 0x14(r1)
/* 8029B1E0 00298140 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8029B1E4 00298144 3B E0 00 00 */ li r31, 0
/* 8029B1E8 00298148 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13)
/* 8029B1EC 0029814C 28 03 00 00 */ cmplwi r3, 0
/* 8029B1F0 00298150 41 82 00 48 */ beq lbl_8029B238
/* 8029B1F4 00298154 38 63 00 A8 */ addi r3, r3, 0xa8
/* 8029B1F8 00298158 4B F3 A0 11 */ bl GetLogScanCount__14CSystemOptionsFv
/* 8029B1FC 0029815C 2C 03 00 32 */ cmpwi r3, 0x32
/* 8029B200 00298160 41 80 00 08 */ blt lbl_8029B208
/* 8029B204 00298164 63 FF 00 01 */ ori r31, r31, 1
lbl_8029B208:
/* 8029B208 00298168 2C 03 00 64 */ cmpwi r3, 0x64
/* 8029B20C 0029816C 40 82 00 08 */ bne lbl_8029B214
/* 8029B210 00298170 63 FF 00 02 */ ori r31, r31, 2
lbl_8029B214:
/* 8029B214 00298174 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13)
/* 8029B218 00298178 88 03 01 78 */ lbz r0, 0x178(r3)
/* 8029B21C 0029817C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f
/* 8029B220 00298180 41 82 00 08 */ beq lbl_8029B228
/* 8029B224 00298184 63 FF 00 04 */ ori r31, r31, 4
lbl_8029B228:
/* 8029B228 00298188 88 03 01 78 */ lbz r0, 0x178(r3)
/* 8029B22C 0029818C 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f
/* 8029B230 00298190 41 82 00 08 */ beq lbl_8029B238
/* 8029B234 00298194 63 FF 00 08 */ ori r31, r31, 8
lbl_8029B238:
/* 8029B238 00298198 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8029B23C 0029819C 7F E3 FB 78 */ mr r3, r31
/* 8029B240 002981A0 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8029B244 002981A4 7C 08 03 A6 */ mtlr r0
/* 8029B248 002981A8 38 21 00 10 */ addi r1, r1, 0x10
2022-07-14 05:48:03 +00:00
/* 8029B24C 002981AC 4E 80 00 20 */ blr
.global __dt__10CSlideShowFv
__dt__10CSlideShowFv:
/* 8029B250 002981B0 94 21 FF A0 */ stwu r1, -0x60(r1)
/* 8029B254 002981B4 7C 08 02 A6 */ mflr r0
/* 8029B258 002981B8 90 01 00 64 */ stw r0, 0x64(r1)
/* 8029B25C 002981BC 93 E1 00 5C */ stw r31, 0x5c(r1)
/* 8029B260 002981C0 7C 9F 23 78 */ mr r31, r4
/* 8029B264 002981C4 93 C1 00 58 */ stw r30, 0x58(r1)
/* 8029B268 002981C8 7C 7E 1B 79 */ or. r30, r3, r3
/* 8029B26C 002981CC 93 A1 00 54 */ stw r29, 0x54(r1)
/* 8029B270 002981D0 93 81 00 50 */ stw r28, 0x50(r1)
/* 8029B274 002981D4 41 82 02 8C */ beq lbl_8029B500
/* 8029B278 002981D8 3C 60 80 3F */ lis r3, lbl_803EBFB8@ha
/* 8029B27C 002981DC 38 03 BF B8 */ addi r0, r3, lbl_803EBFB8@l
/* 8029B280 002981E0 90 1E 00 00 */ stw r0, 0(r30)
/* 8029B284 002981E4 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13)
/* 8029B288 002981E8 80 8D A1 50 */ lwz r4, gpTweakSlideShow@sda21(r13)
/* 8029B28C 002981EC 38 63 00 04 */ addi r3, r3, 4
/* 8029B290 002981F0 38 84 00 04 */ addi r4, r4, 4
/* 8029B294 002981F4 48 0A 01 89 */ bl sub_8033b41c
/* 8029B298 002981F8 34 1E 01 18 */ addic. r0, r30, 0x118
/* 8029B29C 002981FC 41 82 00 50 */ beq lbl_8029B2EC
/* 8029B2A0 00298200 80 1E 01 1C */ lwz r0, 0x11c(r30)
/* 8029B2A4 00298204 83 9E 01 24 */ lwz r28, 0x124(r30)
/* 8029B2A8 00298208 54 00 18 38 */ slwi r0, r0, 3
/* 8029B2AC 0029820C 7F BC 02 14 */ add r29, r28, r0
/* 8029B2B0 00298210 93 81 00 3C */ stw r28, 0x3c(r1)
/* 8029B2B4 00298214 93 A1 00 44 */ stw r29, 0x44(r1)
/* 8029B2B8 00298218 93 A1 00 40 */ stw r29, 0x40(r1)
/* 8029B2BC 0029821C 93 81 00 38 */ stw r28, 0x38(r1)
/* 8029B2C0 00298220 48 00 00 14 */ b lbl_8029B2D4
lbl_8029B2C4:
/* 8029B2C4 00298224 7F 83 E3 78 */ mr r3, r28
/* 8029B2C8 00298228 38 80 FF FF */ li r4, -1
/* 8029B2CC 0029822C 48 0A 5B 75 */ bl __dt__6CTokenFv
/* 8029B2D0 00298230 3B 9C 00 08 */ addi r28, r28, 8
lbl_8029B2D4:
/* 8029B2D4 00298234 7C 1C E8 40 */ cmplw r28, r29
/* 8029B2D8 00298238 40 82 FF EC */ bne lbl_8029B2C4
/* 8029B2DC 0029823C 80 7E 01 24 */ lwz r3, 0x124(r30)
/* 8029B2E0 00298240 28 03 00 00 */ cmplwi r3, 0
/* 8029B2E4 00298244 41 82 00 08 */ beq lbl_8029B2EC
/* 8029B2E8 00298248 48 07 A6 49 */ bl Free__7CMemoryFPCv
lbl_8029B2EC:
/* 8029B2EC 0029824C 34 1E 01 08 */ addic. r0, r30, 0x108
/* 8029B2F0 00298250 41 82 00 50 */ beq lbl_8029B340
/* 8029B2F4 00298254 80 1E 01 0C */ lwz r0, 0x10c(r30)
/* 8029B2F8 00298258 83 9E 01 14 */ lwz r28, 0x114(r30)
/* 8029B2FC 0029825C 54 00 18 38 */ slwi r0, r0, 3
/* 8029B300 00298260 7F BC 02 14 */ add r29, r28, r0
/* 8029B304 00298264 93 81 00 2C */ stw r28, 0x2c(r1)
/* 8029B308 00298268 93 A1 00 34 */ stw r29, 0x34(r1)
/* 8029B30C 0029826C 93 A1 00 30 */ stw r29, 0x30(r1)
/* 8029B310 00298270 93 81 00 28 */ stw r28, 0x28(r1)
/* 8029B314 00298274 48 00 00 14 */ b lbl_8029B328
lbl_8029B318:
/* 8029B318 00298278 7F 83 E3 78 */ mr r3, r28
/* 8029B31C 0029827C 38 80 FF FF */ li r4, -1
/* 8029B320 00298280 48 0A 5B 21 */ bl __dt__6CTokenFv
/* 8029B324 00298284 3B 9C 00 08 */ addi r28, r28, 8
lbl_8029B328:
/* 8029B328 00298288 7C 1C E8 40 */ cmplw r28, r29
/* 8029B32C 0029828C 40 82 FF EC */ bne lbl_8029B318
/* 8029B330 00298290 80 7E 01 14 */ lwz r3, 0x114(r30)
/* 8029B334 00298294 28 03 00 00 */ cmplwi r3, 0
/* 8029B338 00298298 41 82 00 08 */ beq lbl_8029B340
/* 8029B33C 0029829C 48 07 A5 F5 */ bl Free__7CMemoryFPCv
lbl_8029B340:
/* 8029B340 002982A0 34 1E 00 F8 */ addic. r0, r30, 0xf8
/* 8029B344 002982A4 41 82 00 50 */ beq lbl_8029B394
/* 8029B348 002982A8 80 1E 00 FC */ lwz r0, 0xfc(r30)
/* 8029B34C 002982AC 83 9E 01 04 */ lwz r28, 0x104(r30)
/* 8029B350 002982B0 54 00 18 38 */ slwi r0, r0, 3
/* 8029B354 002982B4 7F BC 02 14 */ add r29, r28, r0
/* 8029B358 002982B8 93 81 00 1C */ stw r28, 0x1c(r1)
/* 8029B35C 002982BC 93 A1 00 24 */ stw r29, 0x24(r1)
/* 8029B360 002982C0 93 A1 00 20 */ stw r29, 0x20(r1)
/* 8029B364 002982C4 93 81 00 18 */ stw r28, 0x18(r1)
/* 8029B368 002982C8 48 00 00 14 */ b lbl_8029B37C
lbl_8029B36C:
/* 8029B36C 002982CC 7F 83 E3 78 */ mr r3, r28
/* 8029B370 002982D0 38 80 FF FF */ li r4, -1
/* 8029B374 002982D4 48 0A 5A CD */ bl __dt__6CTokenFv
/* 8029B378 002982D8 3B 9C 00 08 */ addi r28, r28, 8
lbl_8029B37C:
/* 8029B37C 002982DC 7C 1C E8 40 */ cmplw r28, r29
/* 8029B380 002982E0 40 82 FF EC */ bne lbl_8029B36C
/* 8029B384 002982E4 80 7E 01 04 */ lwz r3, 0x104(r30)
/* 8029B388 002982E8 28 03 00 00 */ cmplwi r3, 0
/* 8029B38C 002982EC 41 82 00 08 */ beq lbl_8029B394
/* 8029B390 002982F0 48 07 A5 A1 */ bl Free__7CMemoryFPCv
lbl_8029B394:
/* 8029B394 002982F4 38 7E 00 D0 */ addi r3, r30, 0xd0
/* 8029B398 002982F8 38 80 FF FF */ li r4, -1
/* 8029B39C 002982FC 48 00 02 D1 */ bl sub_8029b66c
/* 8029B3A0 00298300 34 1E 00 CC */ addic. r0, r30, 0xcc
/* 8029B3A4 00298304 41 82 00 10 */ beq lbl_8029B3B4
/* 8029B3A8 00298308 80 7E 00 CC */ lwz r3, 0xcc(r30)
/* 8029B3AC 0029830C 38 80 00 01 */ li r4, 1
/* 8029B3B0 00298310 48 0D 0D A9 */ bl __dt__18CStaticAudioPlayer
lbl_8029B3B4:
/* 8029B3B4 00298314 34 1E 00 C8 */ addic. r0, r30, 0xc8
/* 8029B3B8 00298318 41 82 00 10 */ beq lbl_8029B3C8
/* 8029B3BC 0029831C 80 7E 00 C8 */ lwz r3, 0xc8(r30)
/* 8029B3C0 00298320 38 80 00 01 */ li r4, 1
/* 8029B3C4 00298324 48 02 E8 D5 */ bl __dt__15CGuiTextSupportFv
lbl_8029B3C8:
/* 8029B3C8 00298328 34 1E 00 C4 */ addic. r0, r30, 0xc4
/* 8029B3CC 0029832C 41 82 00 10 */ beq lbl_8029B3DC
/* 8029B3D0 00298330 80 7E 00 C4 */ lwz r3, 0xc4(r30)
/* 8029B3D4 00298334 38 80 00 01 */ li r4, 1
/* 8029B3D8 00298338 48 02 E8 C1 */ bl __dt__15CGuiTextSupportFv
lbl_8029B3DC:
/* 8029B3DC 0029833C 34 1E 00 90 */ addic. r0, r30, 0x90
/* 8029B3E0 00298340 41 82 00 38 */ beq lbl_8029B418
/* 8029B3E4 00298344 34 1E 00 9C */ addic. r0, r30, 0x9c
/* 8029B3E8 00298348 41 82 00 30 */ beq lbl_8029B418
/* 8029B3EC 0029834C 88 1E 00 9C */ lbz r0, 0x9c(r30)
/* 8029B3F0 00298350 28 00 00 00 */ cmplwi r0, 0
/* 8029B3F4 00298354 41 82 00 24 */ beq lbl_8029B418
/* 8029B3F8 00298358 83 BE 00 A0 */ lwz r29, 0xa0(r30)
/* 8029B3FC 0029835C 28 1D 00 00 */ cmplwi r29, 0
/* 8029B400 00298360 41 82 00 18 */ beq lbl_8029B418
/* 8029B404 00298364 7F A3 EB 78 */ mr r3, r29
/* 8029B408 00298368 38 80 00 00 */ li r4, 0
/* 8029B40C 0029836C 48 0A 5A 35 */ bl __dt__6CTokenFv
/* 8029B410 00298370 7F A3 EB 78 */ mr r3, r29
/* 8029B414 00298374 48 07 A5 1D */ bl Free__7CMemoryFPCv
lbl_8029B418:
/* 8029B418 00298378 34 1E 00 5C */ addic. r0, r30, 0x5c
/* 8029B41C 0029837C 41 82 00 38 */ beq lbl_8029B454
/* 8029B420 00298380 34 1E 00 68 */ addic. r0, r30, 0x68
/* 8029B424 00298384 41 82 00 30 */ beq lbl_8029B454
/* 8029B428 00298388 88 1E 00 68 */ lbz r0, 0x68(r30)
/* 8029B42C 0029838C 28 00 00 00 */ cmplwi r0, 0
/* 8029B430 00298390 41 82 00 24 */ beq lbl_8029B454
/* 8029B434 00298394 83 BE 00 6C */ lwz r29, 0x6c(r30)
/* 8029B438 00298398 28 1D 00 00 */ cmplwi r29, 0
/* 8029B43C 0029839C 41 82 00 18 */ beq lbl_8029B454
/* 8029B440 002983A0 7F A3 EB 78 */ mr r3, r29
/* 8029B444 002983A4 38 80 00 00 */ li r4, 0
/* 8029B448 002983A8 48 0A 59 F9 */ bl __dt__6CTokenFv
/* 8029B44C 002983AC 7F A3 EB 78 */ mr r3, r29
/* 8029B450 002983B0 48 07 A4 E1 */ bl Free__7CMemoryFPCv
lbl_8029B454:
/* 8029B454 002983B4 34 1E 00 38 */ addic. r0, r30, 0x38
/* 8029B458 002983B8 41 82 00 24 */ beq lbl_8029B47C
/* 8029B45C 002983BC 83 BE 00 38 */ lwz r29, 0x38(r30)
/* 8029B460 002983C0 28 1D 00 00 */ cmplwi r29, 0
/* 8029B464 002983C4 41 82 00 18 */ beq lbl_8029B47C
/* 8029B468 002983C8 7F A3 EB 78 */ mr r3, r29
/* 8029B46C 002983CC 38 80 00 00 */ li r4, 0
/* 8029B470 002983D0 48 0A 59 D1 */ bl __dt__6CTokenFv
/* 8029B474 002983D4 7F A3 EB 78 */ mr r3, r29
/* 8029B478 002983D8 48 07 A4 B9 */ bl Free__7CMemoryFPCv
lbl_8029B47C:
/* 8029B47C 002983DC 38 7E 00 28 */ addi r3, r30, 0x28
/* 8029B480 002983E0 38 80 FF FF */ li r4, -1
/* 8029B484 002983E4 48 00 00 A1 */ bl sub_8029b524
/* 8029B488 002983E8 34 1E 00 18 */ addic. r0, r30, 0x18
/* 8029B48C 002983EC 41 82 00 58 */ beq lbl_8029B4E4
/* 8029B490 002983F0 80 1E 00 1C */ lwz r0, 0x1c(r30)
/* 8029B494 002983F4 83 9E 00 24 */ lwz r28, 0x24(r30)
/* 8029B498 002983F8 54 00 18 38 */ slwi r0, r0, 3
/* 8029B49C 002983FC 7F BC 02 14 */ add r29, r28, r0
/* 8029B4A0 00298400 93 81 00 0C */ stw r28, 0xc(r1)
/* 8029B4A4 00298404 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8029B4A8 00298408 93 A1 00 10 */ stw r29, 0x10(r1)
/* 8029B4AC 0029840C 93 81 00 08 */ stw r28, 8(r1)
/* 8029B4B0 00298410 48 00 00 1C */ b lbl_8029B4CC
lbl_8029B4B4:
/* 8029B4B4 00298414 28 1C 00 00 */ cmplwi r28, 0
/* 8029B4B8 00298418 41 82 00 10 */ beq lbl_8029B4C8
/* 8029B4BC 0029841C 7F 83 E3 78 */ mr r3, r28
/* 8029B4C0 00298420 38 80 00 00 */ li r4, 0
/* 8029B4C4 00298424 48 0A 59 7D */ bl __dt__6CTokenFv
lbl_8029B4C8:
/* 8029B4C8 00298428 3B 9C 00 08 */ addi r28, r28, 8
lbl_8029B4CC:
/* 8029B4CC 0029842C 7C 1C E8 40 */ cmplw r28, r29
/* 8029B4D0 00298430 40 82 FF E4 */ bne lbl_8029B4B4
/* 8029B4D4 00298434 80 7E 00 24 */ lwz r3, 0x24(r30)
/* 8029B4D8 00298438 28 03 00 00 */ cmplwi r3, 0
/* 8029B4DC 0029843C 41 82 00 08 */ beq lbl_8029B4E4
/* 8029B4E0 00298440 48 07 A4 51 */ bl Free__7CMemoryFPCv
lbl_8029B4E4:
/* 8029B4E4 00298444 7F C3 F3 78 */ mr r3, r30
/* 8029B4E8 00298448 38 80 00 00 */ li r4, 0
/* 8029B4EC 0029844C 4B DB 76 B9 */ bl __dt__6CIOWinFv
/* 8029B4F0 00298450 7F E0 07 35 */ extsh. r0, r31
/* 8029B4F4 00298454 40 81 00 0C */ ble lbl_8029B500
/* 8029B4F8 00298458 7F C3 F3 78 */ mr r3, r30
/* 8029B4FC 0029845C 48 07 A4 35 */ bl Free__7CMemoryFPCv
lbl_8029B500:
/* 8029B500 00298460 80 01 00 64 */ lwz r0, 0x64(r1)
/* 8029B504 00298464 7F C3 F3 78 */ mr r3, r30
/* 8029B508 00298468 83 E1 00 5C */ lwz r31, 0x5c(r1)
/* 8029B50C 0029846C 83 C1 00 58 */ lwz r30, 0x58(r1)
/* 8029B510 00298470 83 A1 00 54 */ lwz r29, 0x54(r1)
/* 8029B514 00298474 83 81 00 50 */ lwz r28, 0x50(r1)
/* 8029B518 00298478 7C 08 03 A6 */ mtlr r0
/* 8029B51C 0029847C 38 21 00 60 */ addi r1, r1, 0x60
2022-07-14 05:48:03 +00:00
/* 8029B520 00298480 4E 80 00 20 */ blr
.global sub_8029b524
sub_8029b524:
/* 8029B524 00298484 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8029B528 00298488 7C 08 02 A6 */ mflr r0
/* 8029B52C 0029848C 90 01 00 24 */ stw r0, 0x24(r1)
/* 8029B530 00298490 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8029B534 00298494 7C 9F 23 78 */ mr r31, r4
/* 8029B538 00298498 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8029B53C 0029849C 7C 7E 1B 79 */ or. r30, r3, r3
/* 8029B540 002984A0 41 82 00 54 */ beq lbl_8029B594
/* 8029B544 002984A4 80 1E 00 04 */ lwz r0, 4(r30)
/* 8029B548 002984A8 38 61 00 14 */ addi r3, r1, 0x14
/* 8029B54C 002984AC 80 BE 00 0C */ lwz r5, 0xc(r30)
/* 8029B550 002984B0 38 81 00 0C */ addi r4, r1, 0xc
/* 8029B554 002984B4 1C 00 00 14 */ mulli r0, r0, 0x14
/* 8029B558 002984B8 7C A5 02 14 */ add r5, r5, r0
/* 8029B55C 002984BC 90 A1 00 0C */ stw r5, 0xc(r1)
/* 8029B560 002984C0 80 1E 00 0C */ lwz r0, 0xc(r30)
/* 8029B564 002984C4 90 A1 00 08 */ stw r5, 8(r1)
/* 8029B568 002984C8 90 01 00 10 */ stw r0, 0x10(r1)
/* 8029B56C 002984CC 90 01 00 14 */ stw r0, 0x14(r1)
/* 8029B570 002984D0 48 00 00 41 */ bl sub_8029b5b0
/* 8029B574 002984D4 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 8029B578 002984D8 28 03 00 00 */ cmplwi r3, 0
/* 8029B57C 002984DC 41 82 00 08 */ beq lbl_8029B584
/* 8029B580 002984E0 48 07 A3 B1 */ bl Free__7CMemoryFPCv
lbl_8029B584:
/* 8029B584 002984E4 7F E0 07 35 */ extsh. r0, r31
/* 8029B588 002984E8 40 81 00 0C */ ble lbl_8029B594
/* 8029B58C 002984EC 7F C3 F3 78 */ mr r3, r30
/* 8029B590 002984F0 48 07 A3 A1 */ bl Free__7CMemoryFPCv
lbl_8029B594:
/* 8029B594 002984F4 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8029B598 002984F8 7F C3 F3 78 */ mr r3, r30
/* 8029B59C 002984FC 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8029B5A0 00298500 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8029B5A4 00298504 7C 08 03 A6 */ mtlr r0
/* 8029B5A8 00298508 38 21 00 20 */ addi r1, r1, 0x20
2022-07-14 05:48:03 +00:00
/* 8029B5AC 0029850C 4E 80 00 20 */ blr
.global sub_8029b5b0
sub_8029b5b0:
/* 8029B5B0 00298510 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8029B5B4 00298514 7C 08 02 A6 */ mflr r0
/* 8029B5B8 00298518 90 01 00 14 */ stw r0, 0x14(r1)
/* 8029B5BC 0029851C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8029B5C0 00298520 93 C1 00 08 */ stw r30, 8(r1)
/* 8029B5C4 00298524 7C 9E 23 78 */ mr r30, r4
/* 8029B5C8 00298528 83 E3 00 00 */ lwz r31, 0(r3)
/* 8029B5CC 0029852C 48 00 00 10 */ b lbl_8029B5DC
lbl_8029B5D0:
/* 8029B5D0 00298530 7F E3 FB 78 */ mr r3, r31
/* 8029B5D4 00298534 48 00 00 2D */ bl sub_8029b600
/* 8029B5D8 00298538 3B FF 00 14 */ addi r31, r31, 0x14
lbl_8029B5DC:
/* 8029B5DC 0029853C 80 1E 00 00 */ lwz r0, 0(r30)
/* 8029B5E0 00298540 7C 1F 00 40 */ cmplw r31, r0
/* 8029B5E4 00298544 40 82 FF EC */ bne lbl_8029B5D0
/* 8029B5E8 00298548 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8029B5EC 0029854C 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8029B5F0 00298550 83 C1 00 08 */ lwz r30, 8(r1)
/* 8029B5F4 00298554 7C 08 03 A6 */ mtlr r0
/* 8029B5F8 00298558 38 21 00 10 */ addi r1, r1, 0x10
2022-07-14 05:48:03 +00:00
/* 8029B5FC 0029855C 4E 80 00 20 */ blr
.global sub_8029b600
sub_8029b600:
/* 8029B600 00298560 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8029B604 00298564 7C 08 02 A6 */ mflr r0
/* 8029B608 00298568 28 03 00 00 */ cmplwi r3, 0
/* 8029B60C 0029856C 90 01 00 24 */ stw r0, 0x24(r1)
/* 8029B610 00298570 41 82 00 4C */ beq lbl_8029B65C
/* 8029B614 00298574 34 03 00 04 */ addic. r0, r3, 4
/* 8029B618 00298578 41 82 00 44 */ beq lbl_8029B65C
/* 8029B61C 0029857C 80 03 00 08 */ lwz r0, 8(r3)
/* 8029B620 00298580 80 63 00 10 */ lwz r3, 0x10(r3)
/* 8029B624 00298584 54 00 10 3A */ slwi r0, r0, 2
/* 8029B628 00298588 7C 03 02 14 */ add r0, r3, r0
/* 8029B62C 0029858C 90 61 00 0C */ stw r3, 0xc(r1)
/* 8029B630 00298590 7C 64 1B 78 */ mr r4, r3
/* 8029B634 00298594 90 01 00 14 */ stw r0, 0x14(r1)
/* 8029B638 00298598 90 01 00 10 */ stw r0, 0x10(r1)
/* 8029B63C 0029859C 90 61 00 08 */ stw r3, 8(r1)
/* 8029B640 002985A0 48 00 00 08 */ b lbl_8029B648
lbl_8029B644:
/* 8029B644 002985A4 38 84 00 04 */ addi r4, r4, 4
lbl_8029B648:
/* 8029B648 002985A8 7C 04 00 40 */ cmplw r4, r0
/* 8029B64C 002985AC 40 82 FF F8 */ bne lbl_8029B644
/* 8029B650 002985B0 28 03 00 00 */ cmplwi r3, 0
/* 8029B654 002985B4 41 82 00 08 */ beq lbl_8029B65C
/* 8029B658 002985B8 48 07 A2 D9 */ bl Free__7CMemoryFPCv
lbl_8029B65C:
/* 8029B65C 002985BC 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8029B660 002985C0 7C 08 03 A6 */ mtlr r0
/* 8029B664 002985C4 38 21 00 20 */ addi r1, r1, 0x20
2022-07-14 05:48:03 +00:00
/* 8029B668 002985C8 4E 80 00 20 */ blr
.global sub_8029b66c
sub_8029b66c:
/* 8029B66C 002985CC 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8029B670 002985D0 7C 08 02 A6 */ mflr r0
/* 8029B674 002985D4 90 01 00 34 */ stw r0, 0x34(r1)
/* 8029B678 002985D8 BF 61 00 1C */ stmw r27, 0x1c(r1)
/* 8029B67C 002985DC 7C 7B 1B 79 */ or. r27, r3, r3
/* 8029B680 002985E0 7C 9C 23 78 */ mr r28, r4
/* 8029B684 002985E4 41 82 00 88 */ beq lbl_8029B70C
/* 8029B688 002985E8 80 1B 00 04 */ lwz r0, 4(r27)
/* 8029B68C 002985EC 83 BB 00 0C */ lwz r29, 0xc(r27)
/* 8029B690 002985F0 54 00 18 38 */ slwi r0, r0, 3
/* 8029B694 002985F4 7F FD 02 14 */ add r31, r29, r0
/* 8029B698 002985F8 93 A1 00 10 */ stw r29, 0x10(r1)
/* 8029B69C 002985FC 93 E1 00 08 */ stw r31, 8(r1)
/* 8029B6A0 00298600 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8029B6A4 00298604 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8029B6A8 00298608 48 00 00 3C */ b lbl_8029B6E4
lbl_8029B6AC:
/* 8029B6AC 0029860C 28 1D 00 00 */ cmplwi r29, 0
/* 8029B6B0 00298610 41 82 00 30 */ beq lbl_8029B6E0
/* 8029B6B4 00298614 88 1D 00 00 */ lbz r0, 0(r29)
/* 8029B6B8 00298618 28 00 00 00 */ cmplwi r0, 0
/* 8029B6BC 0029861C 41 82 00 24 */ beq lbl_8029B6E0
/* 8029B6C0 00298620 83 DD 00 04 */ lwz r30, 4(r29)
/* 8029B6C4 00298624 28 1E 00 00 */ cmplwi r30, 0
/* 8029B6C8 00298628 41 82 00 18 */ beq lbl_8029B6E0
/* 8029B6CC 0029862C 7F C3 F3 78 */ mr r3, r30
/* 8029B6D0 00298630 38 80 00 00 */ li r4, 0
/* 8029B6D4 00298634 48 0A 57 6D */ bl __dt__6CTokenFv
/* 8029B6D8 00298638 7F C3 F3 78 */ mr r3, r30
/* 8029B6DC 0029863C 48 07 A2 55 */ bl Free__7CMemoryFPCv
lbl_8029B6E0:
/* 8029B6E0 00298640 3B BD 00 08 */ addi r29, r29, 8
lbl_8029B6E4:
/* 8029B6E4 00298644 7C 1D F8 40 */ cmplw r29, r31
/* 8029B6E8 00298648 40 82 FF C4 */ bne lbl_8029B6AC
/* 8029B6EC 0029864C 80 7B 00 0C */ lwz r3, 0xc(r27)
/* 8029B6F0 00298650 28 03 00 00 */ cmplwi r3, 0
/* 8029B6F4 00298654 41 82 00 08 */ beq lbl_8029B6FC
/* 8029B6F8 00298658 48 07 A2 39 */ bl Free__7CMemoryFPCv
lbl_8029B6FC:
/* 8029B6FC 0029865C 7F 80 07 35 */ extsh. r0, r28
/* 8029B700 00298660 40 81 00 0C */ ble lbl_8029B70C
/* 8029B704 00298664 7F 63 DB 78 */ mr r3, r27
/* 8029B708 00298668 48 07 A2 29 */ bl Free__7CMemoryFPCv
lbl_8029B70C:
/* 8029B70C 0029866C 7F 63 DB 78 */ mr r3, r27
/* 8029B710 00298670 BB 61 00 1C */ lmw r27, 0x1c(r1)
/* 8029B714 00298674 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8029B718 00298678 7C 08 03 A6 */ mtlr r0
/* 8029B71C 0029867C 38 21 00 30 */ addi r1, r1, 0x30
2022-07-14 05:48:03 +00:00
/* 8029B720 00298680 4E 80 00 20 */ blr
.global __ct__10CSlideShowFv
__ct__10CSlideShowFv:
/* 8029B724 00298684 94 21 FF 40 */ stwu r1, -0xc0(r1)
/* 8029B728 00298688 7C 08 02 A6 */ mflr r0
/* 8029B72C 0029868C 90 01 00 C4 */ stw r0, 0xc4(r1)
/* 8029B730 00298690 DB E1 00 B0 */ stfd f31, 0xb0(r1)
/* 8029B734 00298694 F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0
/* 8029B738 00298698 DB C1 00 A0 */ stfd f30, 0xa0(r1)
/* 8029B73C 0029869C F3 C1 00 A8 */ psq_st f30, 168(r1), 0, qr0
/* 8029B740 002986A0 BF 01 00 80 */ stmw r24, 0x80(r1)
/* 8029B744 002986A4 3C 80 80 3D */ lis r4, lbl_803D5C48@ha
/* 8029B748 002986A8 7C 7F 1B 78 */ mr r31, r3
/* 8029B74C 002986AC 38 84 5C 48 */ addi r4, r4, lbl_803D5C48@l
/* 8029B750 002986B0 38 61 00 5C */ addi r3, r1, 0x5c
/* 8029B754 002986B4 38 84 00 FB */ addi r4, r4, 0xfb
/* 8029B758 002986B8 4B D6 95 61 */ bl string_l__4rstlFPCc
/* 8029B75C 002986BC 7F E3 FB 78 */ mr r3, r31
/* 8029B760 002986C0 38 81 00 5C */ addi r4, r1, 0x5c
/* 8029B764 002986C4 4B DB 74 A9 */ bl "__ct__6CIOWinFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 8029B768 002986C8 38 61 00 5C */ addi r3, r1, 0x5c
/* 8029B76C 002986CC 48 0A 23 75 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 8029B770 002986D0 3C 60 80 3F */ lis r3, lbl_803EBFB8@ha
/* 8029B774 002986D4 C0 22 BF F0 */ lfs f1, lbl_805ADD10@sda21(r2)
/* 8029B778 002986D8 38 03 BF B8 */ addi r0, r3, lbl_803EBFB8@l
/* 8029B77C 002986DC 38 80 00 00 */ li r4, 0
/* 8029B780 002986E0 90 1F 00 00 */ stw r0, 0(r31)
/* 8029B784 002986E4 38 00 FF FF */ li r0, -1
/* 8029B788 002986E8 FC 40 08 90 */ fmr f2, f1
/* 8029B78C 002986EC 38 7F 00 74 */ addi r3, r31, 0x74
/* 8029B790 002986F0 90 9F 00 14 */ stw r4, 0x14(r31)
/* 8029B794 002986F4 90 9F 00 1C */ stw r4, 0x1c(r31)
/* 8029B798 002986F8 90 9F 00 20 */ stw r4, 0x20(r31)
/* 8029B79C 002986FC 90 9F 00 24 */ stw r4, 0x24(r31)
/* 8029B7A0 00298700 90 9F 00 2C */ stw r4, 0x2c(r31)
/* 8029B7A4 00298704 90 9F 00 30 */ stw r4, 0x30(r31)
/* 8029B7A8 00298708 90 9F 00 34 */ stw r4, 0x34(r31)
/* 8029B7AC 0029870C 90 9F 00 38 */ stw r4, 0x38(r31)
/* 8029B7B0 00298710 90 9F 00 3C */ stw r4, 0x3c(r31)
/* 8029B7B4 00298714 90 9F 00 40 */ stw r4, 0x40(r31)
/* 8029B7B8 00298718 90 9F 00 44 */ stw r4, 0x44(r31)
/* 8029B7BC 0029871C 90 1F 00 48 */ stw r0, 0x48(r31)
/* 8029B7C0 00298720 D0 3F 00 4C */ stfs f1, 0x4c(r31)
/* 8029B7C4 00298724 D0 3F 00 50 */ stfs f1, 0x50(r31)
/* 8029B7C8 00298728 D0 3F 00 54 */ stfs f1, 0x54(r31)
/* 8029B7CC 0029872C D0 3F 00 58 */ stfs f1, 0x58(r31)
/* 8029B7D0 00298730 90 9F 00 5C */ stw r4, 0x5c(r31)
/* 8029B7D4 00298734 90 1F 00 60 */ stw r0, 0x60(r31)
/* 8029B7D8 00298738 90 1F 00 64 */ stw r0, 0x64(r31)
/* 8029B7DC 0029873C 98 9F 00 68 */ stb r4, 0x68(r31)
/* 8029B7E0 00298740 90 9F 00 6C */ stw r4, 0x6c(r31)
/* 8029B7E4 00298744 98 9F 00 70 */ stb r4, 0x70(r31)
/* 8029B7E8 00298748 48 07 8A 19 */ bl __ct__9CVector2fFff
/* 8029B7EC 0029874C C0 22 BF F0 */ lfs f1, lbl_805ADD10@sda21(r2)
/* 8029B7F0 00298750 38 7F 00 7C */ addi r3, r31, 0x7c
/* 8029B7F4 00298754 FC 40 08 90 */ fmr f2, f1
/* 8029B7F8 00298758 48 07 8A 09 */ bl __ct__9CVector2fFff
/* 8029B7FC 0029875C C0 22 BF F0 */ lfs f1, lbl_805ADD10@sda21(r2)
/* 8029B800 00298760 38 7F 00 84 */ addi r3, r31, 0x84
/* 8029B804 00298764 FC 40 08 90 */ fmr f2, f1
/* 8029B808 00298768 48 07 89 F9 */ bl __ct__9CVector2fFff
/* 8029B80C 0029876C 48 0A E7 A1 */ bl White__6CColorFv
/* 8029B810 00298770 80 03 00 00 */ lwz r0, 0(r3)
/* 8029B814 00298774 C3 E2 BF F0 */ lfs f31, lbl_805ADD10@sda21(r2)
/* 8029B818 00298778 90 1F 00 8C */ stw r0, 0x8c(r31)
/* 8029B81C 0029877C F3 E1 A0 11 */ psq_st f31, 17(r1), 1, qr2
/* 8029B820 00298780 38 80 00 00 */ li r4, 0
/* 8029B824 00298784 38 00 FF FF */ li r0, -1
/* 8029B828 00298788 10 20 F8 90 */ ps_mr f1, f31
/* 8029B82C 0029878C 88 A1 00 11 */ lbz r5, 0x11(r1)
/* 8029B830 00298790 10 40 F8 90 */ ps_mr f2, f31
/* 8029B834 00298794 38 7F 00 A8 */ addi r3, r31, 0xa8
/* 8029B838 00298798 98 BF 00 8F */ stb r5, 0x8f(r31)
/* 8029B83C 0029879C 90 9F 00 90 */ stw r4, 0x90(r31)
/* 8029B840 002987A0 90 1F 00 94 */ stw r0, 0x94(r31)
/* 8029B844 002987A4 90 1F 00 98 */ stw r0, 0x98(r31)
/* 8029B848 002987A8 98 9F 00 9C */ stb r4, 0x9c(r31)
/* 8029B84C 002987AC 90 9F 00 A0 */ stw r4, 0xa0(r31)
/* 8029B850 002987B0 98 9F 00 A4 */ stb r4, 0xa4(r31)
/* 8029B854 002987B4 48 07 89 AD */ bl __ct__9CVector2fFff
/* 8029B858 002987B8 C0 22 BF F0 */ lfs f1, lbl_805ADD10@sda21(r2)
/* 8029B85C 002987BC 38 7F 00 B0 */ addi r3, r31, 0xb0
/* 8029B860 002987C0 FC 40 08 90 */ fmr f2, f1
/* 8029B864 002987C4 48 07 89 9D */ bl __ct__9CVector2fFff
/* 8029B868 002987C8 C0 22 BF F0 */ lfs f1, lbl_805ADD10@sda21(r2)
/* 8029B86C 002987CC 38 7F 00 B8 */ addi r3, r31, 0xb8
/* 8029B870 002987D0 FC 40 08 90 */ fmr f2, f1
/* 8029B874 002987D4 48 07 89 8D */ bl __ct__9CVector2fFff
/* 8029B878 002987D8 48 0A E7 35 */ bl White__6CColorFv
/* 8029B87C 002987DC 80 03 00 00 */ lwz r0, 0(r3)
/* 8029B880 002987E0 C3 C2 BF F0 */ lfs f30, lbl_805ADD10@sda21(r2)
/* 8029B884 002987E4 90 1F 00 C0 */ stw r0, 0xc0(r31)
/* 8029B888 002987E8 F3 C1 A0 10 */ psq_st f30, 16(r1), 1, qr2
/* 8029B88C 002987EC 38 E0 00 00 */ li r7, 0
/* 8029B890 002987F0 C0 02 C0 0C */ lfs f0, lbl_805ADD2C@sda21(r2)
/* 8029B894 002987F4 38 60 00 01 */ li r3, 1
/* 8029B898 002987F8 88 01 00 10 */ lbz r0, 0x10(r1)
/* 8029B89C 002987FC 38 A0 00 00 */ li r5, 0
/* 8029B8A0 00298800 38 C0 00 00 */ li r6, 0
/* 8029B8A4 00298804 98 1F 00 C3 */ stb r0, 0xc3(r31)
/* 8029B8A8 00298808 90 FF 00 C4 */ stw r7, 0xc4(r31)
/* 8029B8AC 0029880C 90 FF 00 C8 */ stw r7, 0xc8(r31)
/* 8029B8B0 00298810 90 FF 00 CC */ stw r7, 0xcc(r31)
/* 8029B8B4 00298814 90 FF 00 D4 */ stw r7, 0xd4(r31)
/* 8029B8B8 00298818 90 FF 00 D8 */ stw r7, 0xd8(r31)
/* 8029B8BC 0029881C 90 FF 00 DC */ stw r7, 0xdc(r31)
/* 8029B8C0 00298820 90 FF 00 E0 */ stw r7, 0xe0(r31)
/* 8029B8C4 00298824 90 FF 00 E4 */ stw r7, 0xe4(r31)
/* 8029B8C8 00298828 90 FF 00 E8 */ stw r7, 0xe8(r31)
/* 8029B8CC 0029882C 90 FF 00 EC */ stw r7, 0xec(r31)
/* 8029B8D0 00298830 90 FF 00 F0 */ stw r7, 0xf0(r31)
/* 8029B8D4 00298834 90 FF 00 F4 */ stw r7, 0xf4(r31)
/* 8029B8D8 00298838 90 FF 00 FC */ stw r7, 0xfc(r31)
/* 8029B8DC 0029883C 90 FF 01 00 */ stw r7, 0x100(r31)
/* 8029B8E0 00298840 90 FF 01 04 */ stw r7, 0x104(r31)
/* 8029B8E4 00298844 90 FF 01 0C */ stw r7, 0x10c(r31)
/* 8029B8E8 00298848 90 FF 01 10 */ stw r7, 0x110(r31)
/* 8029B8EC 0029884C 90 FF 01 14 */ stw r7, 0x114(r31)
/* 8029B8F0 00298850 90 FF 01 1C */ stw r7, 0x11c(r31)
/* 8029B8F4 00298854 90 FF 01 20 */ stw r7, 0x120(r31)
/* 8029B8F8 00298858 90 FF 01 24 */ stw r7, 0x124(r31)
/* 8029B8FC 0029885C D0 1F 01 28 */ stfs f0, 0x128(r31)
/* 8029B900 00298860 D0 1F 01 2C */ stfs f0, 0x12c(r31)
/* 8029B904 00298864 80 8D A1 50 */ lwz r4, gpTweakSlideShow@sda21(r13)
/* 8029B908 00298868 C0 04 00 54 */ lfs f0, 0x54(r4)
/* 8029B90C 0029886C D0 1F 01 30 */ stfs f0, 0x130(r31)
/* 8029B910 00298870 88 1F 01 34 */ lbz r0, 0x134(r31)
/* 8029B914 00298874 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18
/* 8029B918 00298878 98 1F 01 34 */ stb r0, 0x134(r31)
/* 8029B91C 0029887C 88 1F 01 34 */ lbz r0, 0x134(r31)
/* 8029B920 00298880 50 E0 36 72 */ rlwimi r0, r7, 6, 0x19, 0x19
/* 8029B924 00298884 98 1F 01 34 */ stb r0, 0x134(r31)
/* 8029B928 00298888 88 1F 01 34 */ lbz r0, 0x134(r31)
/* 8029B92C 0029888C 50 E0 2E B4 */ rlwimi r0, r7, 5, 0x1a, 0x1a
/* 8029B930 00298890 98 1F 01 34 */ stb r0, 0x134(r31)
/* 8029B934 00298894 88 1F 01 34 */ lbz r0, 0x134(r31)
/* 8029B938 00298898 50 E0 1F 38 */ rlwimi r0, r7, 3, 0x1c, 0x1c
/* 8029B93C 0029889C 98 1F 01 34 */ stb r0, 0x134(r31)
/* 8029B940 002988A0 88 1F 01 34 */ lbz r0, 0x134(r31)
/* 8029B944 002988A4 50 E0 17 7A */ rlwimi r0, r7, 2, 0x1d, 0x1d
/* 8029B948 002988A8 98 1F 01 34 */ stb r0, 0x134(r31)
/* 8029B94C 002988AC 88 1F 01 34 */ lbz r0, 0x134(r31)
/* 8029B950 002988B0 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e
/* 8029B954 002988B4 98 1F 01 34 */ stb r0, 0x134(r31)
/* 8029B958 002988B8 88 1F 01 34 */ lbz r0, 0x134(r31)
/* 8029B95C 002988BC 50 E0 07 FE */ rlwimi r0, r7, 0, 0x1f, 0x1f
/* 8029B960 002988C0 98 1F 01 34 */ stb r0, 0x134(r31)
/* 8029B964 002988C4 88 1F 01 35 */ lbz r0, 0x135(r31)
/* 8029B968 002988C8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18
/* 8029B96C 002988CC 98 1F 01 35 */ stb r0, 0x135(r31)
/* 8029B970 002988D0 93 FF 00 5C */ stw r31, 0x5c(r31)
/* 8029B974 002988D4 93 FF 00 90 */ stw r31, 0x90(r31)
/* 8029B978 002988D8 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13)
/* 8029B97C 002988DC 80 8D A1 50 */ lwz r4, gpTweakSlideShow@sda21(r13)
/* 8029B980 002988E0 38 63 00 04 */ addi r3, r3, 4
/* 8029B984 002988E4 38 84 00 04 */ addi r4, r4, 4
/* 8029B988 002988E8 48 09 FB D5 */ bl "AddPakFileAsync__10CResLoaderFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>b"
/* 8029B98C 002988EC 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13)
/* 8029B990 002988F0 3C 80 80 3F */ lis r4, lbl_803ED910@ha
/* 8029B994 002988F4 80 AD A1 50 */ lwz r5, gpTweakSlideShow@sda21(r13)
/* 8029B998 002988F8 38 84 D9 10 */ addi r4, r4, lbl_803ED910@l
/* 8029B99C 002988FC 81 83 00 00 */ lwz r12, 0(r3)
/* 8029B9A0 00298900 3B 65 00 24 */ addi r27, r5, 0x24
/* 8029B9A4 00298904 3B 45 00 28 */ addi r26, r5, 0x28
/* 8029B9A8 00298908 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 8029B9AC 0029890C 83 A4 00 08 */ lwz r29, 8(r4)
/* 8029B9B0 00298910 83 84 00 0C */ lwz r28, 0xc(r4)
/* 8029B9B4 00298914 80 85 00 14 */ lwz r4, 0x14(r5)
/* 8029B9B8 00298918 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 8029B9BC 0029891C 4E 80 04 21 */ bctrl
/* 8029B9C0 00298920 3C 80 80 3D */ lis r4, lbl_803D5C48@ha
/* 8029B9C4 00298924 7C 7E 1B 78 */ mr r30, r3
/* 8029B9C8 00298928 38 84 5C 48 */ addi r4, r4, lbl_803D5C48@l
/* 8029B9CC 0029892C 38 60 03 0C */ li r3, 0x30c
/* 8029B9D0 00298930 38 84 00 D0 */ addi r4, r4, 0xd0
/* 8029B9D4 00298934 38 A0 00 00 */ li r5, 0
/* 8029B9D8 00298938 48 07 9E 95 */ bl __nw__FUlPCcPCc
/* 8029B9DC 0029893C 7C 78 1B 79 */ or. r24, r3, r3
/* 8029B9E0 00298940 41 82 00 58 */ beq lbl_8029BA38
/* 8029B9E4 00298944 48 0A E5 C9 */ bl White__6CColorFv
/* 8029B9E8 00298948 7C 79 1B 78 */ mr r25, r3
/* 8029B9EC 0029894C 38 61 00 4C */ addi r3, r1, 0x4c
/* 8029B9F0 00298950 38 80 00 00 */ li r4, 0
/* 8029B9F4 00298954 38 A0 00 01 */ li r5, 1
/* 8029B9F8 00298958 38 C0 00 01 */ li r6, 1
/* 8029B9FC 0029895C 38 E0 00 02 */ li r7, 2
/* 8029BA00 00298960 39 00 00 00 */ li r8, 0
/* 8029BA04 00298964 48 02 E6 41 */ bl __ct__18CGuiTextPropertiesFv
/* 8029BA08 00298968 80 0D A0 64 */ lwz r0, gpSimplePool@sda21(r13)
/* 8029BA0C 0029896C 7C 65 1B 78 */ mr r5, r3
/* 8029BA10 00298970 7F 03 C3 78 */ mr r3, r24
/* 8029BA14 00298974 7F 66 DB 78 */ mr r6, r27
/* 8029BA18 00298978 90 01 00 08 */ stw r0, 8(r1)
/* 8029BA1C 0029897C 7F 47 D3 78 */ mr r7, r26
/* 8029BA20 00298980 7F 28 CB 78 */ mr r8, r25
/* 8029BA24 00298984 7F A9 EB 78 */ mr r9, r29
/* 8029BA28 00298988 80 9E 00 04 */ lwz r4, 4(r30)
/* 8029BA2C 0029898C 7F 8A E3 78 */ mr r10, r28
/* 8029BA30 00298990 48 02 E4 0D */ bl __ct__15CGuiTextSupportFv
/* 8029BA34 00298994 7C 78 1B 78 */ mr r24, r3
lbl_8029BA38:
/* 8029BA38 00298998 80 7F 00 C4 */ lwz r3, 0xc4(r31)
/* 8029BA3C 0029899C 38 80 00 01 */ li r4, 1
/* 8029BA40 002989A0 48 02 E2 59 */ bl __dt__15CGuiTextSupportFv
/* 8029BA44 002989A4 3C 60 80 3D */ lis r3, lbl_803D5C48@ha
/* 8029BA48 002989A8 93 1F 00 C4 */ stw r24, 0xc4(r31)
/* 8029BA4C 002989AC 38 83 5C 48 */ addi r4, r3, lbl_803D5C48@l
/* 8029BA50 002989B0 38 60 03 0C */ li r3, 0x30c
/* 8029BA54 002989B4 38 84 00 D0 */ addi r4, r4, 0xd0
/* 8029BA58 002989B8 38 A0 00 00 */ li r5, 0
/* 8029BA5C 002989BC 48 07 9E 11 */ bl __nw__FUlPCcPCc
/* 8029BA60 002989C0 7C 78 1B 79 */ or. r24, r3, r3
/* 8029BA64 002989C4 41 82 00 58 */ beq lbl_8029BABC
/* 8029BA68 002989C8 48 0A E5 45 */ bl White__6CColorFv
/* 8029BA6C 002989CC 7C 79 1B 78 */ mr r25, r3
/* 8029BA70 002989D0 38 61 00 3C */ addi r3, r1, 0x3c
/* 8029BA74 002989D4 38 80 00 00 */ li r4, 0
/* 8029BA78 002989D8 38 A0 00 01 */ li r5, 1
/* 8029BA7C 002989DC 38 C0 00 02 */ li r6, 2
/* 8029BA80 002989E0 38 E0 00 02 */ li r7, 2
/* 8029BA84 002989E4 39 00 00 00 */ li r8, 0
/* 8029BA88 002989E8 48 02 E5 BD */ bl __ct__18CGuiTextPropertiesFv
/* 8029BA8C 002989EC 80 0D A0 64 */ lwz r0, gpSimplePool@sda21(r13)
/* 8029BA90 002989F0 7C 65 1B 78 */ mr r5, r3
/* 8029BA94 002989F4 7F 03 C3 78 */ mr r3, r24
/* 8029BA98 002989F8 7F 66 DB 78 */ mr r6, r27
/* 8029BA9C 002989FC 90 01 00 08 */ stw r0, 8(r1)
/* 8029BAA0 00298A00 7F 47 D3 78 */ mr r7, r26
/* 8029BAA4 00298A04 7F 28 CB 78 */ mr r8, r25
/* 8029BAA8 00298A08 7F A9 EB 78 */ mr r9, r29
/* 8029BAAC 00298A0C 80 9E 00 04 */ lwz r4, 4(r30)
/* 8029BAB0 00298A10 7F 8A E3 78 */ mr r10, r28
/* 8029BAB4 00298A14 48 02 E3 89 */ bl __ct__15CGuiTextSupportFv
/* 8029BAB8 00298A18 7C 78 1B 78 */ mr r24, r3
lbl_8029BABC:
/* 8029BABC 00298A1C 80 7F 00 C8 */ lwz r3, 0xc8(r31)
/* 8029BAC0 00298A20 38 80 00 01 */ li r4, 1
/* 8029BAC4 00298A24 48 02 E1 D5 */ bl __dt__15CGuiTextSupportFv
/* 8029BAC8 00298A28 93 1F 00 C8 */ stw r24, 0xc8(r31)
/* 8029BACC 00298A2C 38 7F 00 F8 */ addi r3, r31, 0xf8
/* 8029BAD0 00298A30 38 80 00 12 */ li r4, 0x12
/* 8029BAD4 00298A34 80 02 D7 58 */ lwz r0, lbl_805AF478@sda21(r2)
/* 8029BAD8 00298A38 80 ED A1 4C */ lwz r7, gpTweakPlayerRes@sda21(r13)
/* 8029BADC 00298A3C 80 C2 D7 5C */ lwz r6, lbl_805AF47C@sda21(r2)
/* 8029BAE0 00298A40 90 01 00 34 */ stw r0, 0x34(r1)
/* 8029BAE4 00298A44 38 A7 00 20 */ addi r5, r7, 0x20
/* 8029BAE8 00298A48 38 07 00 48 */ addi r0, r7, 0x48
/* 8029BAEC 00298A4C 90 C1 00 38 */ stw r6, 0x38(r1)
/* 8029BAF0 00298A50 90 A1 00 34 */ stw r5, 0x34(r1)
/* 8029BAF4 00298A54 90 01 00 38 */ stw r0, 0x38(r1)
/* 8029BAF8 00298A58 4B D6 CE 65 */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi"
/* 8029BAFC 00298A5C 3C 60 54 58 */ lis r3, 0x54585452@ha
/* 8029BB00 00298A60 3B C1 00 34 */ addi r30, r1, 0x34
/* 8029BB04 00298A64 3B 83 54 52 */ addi r28, r3, 0x54585452@l
/* 8029BB08 00298A68 3B 40 00 00 */ li r26, 0
lbl_8029BB0C:
/* 8029BB0C 00298A6C 3B 60 00 00 */ li r27, 0
/* 8029BB10 00298A70 3B 00 00 00 */ li r24, 0
lbl_8029BB14:
/* 8029BB14 00298A74 80 1E 00 00 */ lwz r0, 0(r30)
/* 8029BB18 00298A78 38 61 00 24 */ addi r3, r1, 0x24
/* 8029BB1C 00298A7C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
/* 8029BB20 00298A80 38 A1 00 2C */ addi r5, r1, 0x2c
/* 8029BB24 00298A84 7C C0 C2 14 */ add r6, r0, r24
/* 8029BB28 00298A88 80 06 00 04 */ lwz r0, 4(r6)
/* 8029BB2C 00298A8C 93 81 00 2C */ stw r28, 0x2c(r1)
/* 8029BB30 00298A90 90 01 00 30 */ stw r0, 0x30(r1)
/* 8029BB34 00298A94 81 84 00 00 */ lwz r12, 0(r4)
/* 8029BB38 00298A98 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 8029BB3C 00298A9C 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 8029BB40 00298AA0 4E 80 04 21 */ bctrl
/* 8029BB44 00298AA4 80 1F 00 FC */ lwz r0, 0xfc(r31)
/* 8029BB48 00298AA8 80 BF 01 00 */ lwz r5, 0x100(r31)
/* 8029BB4C 00298AAC 7C 00 28 00 */ cmpw r0, r5
/* 8029BB50 00298AB0 41 80 00 1C */ blt lbl_8029BB6C
/* 8029BB54 00298AB4 2C 05 00 00 */ cmpwi r5, 0
/* 8029BB58 00298AB8 38 7F 00 F8 */ addi r3, r31, 0xf8
/* 8029BB5C 00298ABC 38 80 00 04 */ li r4, 4
/* 8029BB60 00298AC0 41 82 00 08 */ beq lbl_8029BB68
/* 8029BB64 00298AC4 54 A4 08 3C */ slwi r4, r5, 1
lbl_8029BB68:
/* 8029BB68 00298AC8 4B D6 CD F5 */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi"
lbl_8029BB6C:
/* 8029BB6C 00298ACC 80 1F 00 FC */ lwz r0, 0xfc(r31)
/* 8029BB70 00298AD0 80 7F 01 04 */ lwz r3, 0x104(r31)
/* 8029BB74 00298AD4 54 00 18 38 */ slwi r0, r0, 3
/* 8029BB78 00298AD8 7C 63 02 15 */ add. r3, r3, r0
/* 8029BB7C 00298ADC 41 82 00 0C */ beq lbl_8029BB88
/* 8029BB80 00298AE0 38 81 00 24 */ addi r4, r1, 0x24
/* 8029BB84 00298AE4 48 0A 53 25 */ bl __ct__6CTokenFRC6CToken
lbl_8029BB88:
/* 8029BB88 00298AE8 80 BF 00 FC */ lwz r5, 0xfc(r31)
/* 8029BB8C 00298AEC 38 61 00 24 */ addi r3, r1, 0x24
/* 8029BB90 00298AF0 38 80 FF FF */ li r4, -1
/* 8029BB94 00298AF4 38 05 00 01 */ addi r0, r5, 1
/* 8029BB98 00298AF8 90 1F 00 FC */ stw r0, 0xfc(r31)
/* 8029BB9C 00298AFC 48 0A 52 A5 */ bl __dt__6CTokenFv
/* 8029BBA0 00298B00 3B 7B 00 01 */ addi r27, r27, 1
/* 8029BBA4 00298B04 3B 18 00 04 */ addi r24, r24, 4
/* 8029BBA8 00298B08 2C 1B 00 09 */ cmpwi r27, 9
/* 8029BBAC 00298B0C 41 80 FF 68 */ blt lbl_8029BB14
/* 8029BBB0 00298B10 3B 5A 00 01 */ addi r26, r26, 1
/* 8029BBB4 00298B14 3B DE 00 04 */ addi r30, r30, 4
/* 8029BBB8 00298B18 2C 1A 00 02 */ cmpwi r26, 2
/* 8029BBBC 00298B1C 41 80 FF 50 */ blt lbl_8029BB0C
/* 8029BBC0 00298B20 7F E3 FB 78 */ mr r3, r31
/* 8029BBC4 00298B24 38 9F 00 F8 */ addi r4, r31, 0xf8
/* 8029BBC8 00298B28 38 A0 00 01 */ li r5, 1
/* 8029BBCC 00298B2C 4B FF CD E5 */ bl sub_802989b0
/* 8029BBD0 00298B30 3C 60 80 3D */ lis r3, lbl_803D5C38@ha
/* 8029BBD4 00298B34 81 6D A1 4C */ lwz r11, gpTweakPlayerRes@sda21(r13)
/* 8029BBD8 00298B38 39 03 5C 38 */ addi r8, r3, lbl_803D5C38@l
/* 8029BBDC 00298B3C 38 7F 01 08 */ addi r3, r31, 0x108
/* 8029BBE0 00298B40 80 88 00 00 */ lwz r4, 0(r8)
/* 8029BBE4 00298B44 38 EB 00 70 */ addi r7, r11, 0x70
/* 8029BBE8 00298B48 81 48 00 04 */ lwz r10, 4(r8)
/* 8029BBEC 00298B4C 38 CB 00 7C */ addi r6, r11, 0x7c
/* 8029BBF0 00298B50 81 28 00 08 */ lwz r9, 8(r8)
/* 8029BBF4 00298B54 38 AB 00 A0 */ addi r5, r11, 0xa0
/* 8029BBF8 00298B58 81 08 00 0C */ lwz r8, 0xc(r8)
/* 8029BBFC 00298B5C 38 0B 00 B8 */ addi r0, r11, 0xb8
/* 8029BC00 00298B60 90 81 00 6C */ stw r4, 0x6c(r1)
/* 8029BC04 00298B64 38 80 00 08 */ li r4, 8
/* 8029BC08 00298B68 91 41 00 70 */ stw r10, 0x70(r1)
/* 8029BC0C 00298B6C 91 21 00 74 */ stw r9, 0x74(r1)
/* 8029BC10 00298B70 91 01 00 78 */ stw r8, 0x78(r1)
/* 8029BC14 00298B74 90 E1 00 6C */ stw r7, 0x6c(r1)
/* 8029BC18 00298B78 90 C1 00 70 */ stw r6, 0x70(r1)
/* 8029BC1C 00298B7C 90 A1 00 74 */ stw r5, 0x74(r1)
/* 8029BC20 00298B80 90 01 00 78 */ stw r0, 0x78(r1)
/* 8029BC24 00298B84 4B D6 CD 39 */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi"
/* 8029BC28 00298B88 3C 60 54 58 */ lis r3, 0x54585452@ha
/* 8029BC2C 00298B8C 3B C1 00 6C */ addi r30, r1, 0x6c
/* 8029BC30 00298B90 3B 83 54 52 */ addi r28, r3, 0x54585452@l
/* 8029BC34 00298B94 3B 40 00 00 */ li r26, 0
lbl_8029BC38:
/* 8029BC38 00298B98 3B 60 00 00 */ li r27, 0
/* 8029BC3C 00298B9C 3B 00 00 00 */ li r24, 0
lbl_8029BC40:
/* 8029BC40 00298BA0 80 1E 00 00 */ lwz r0, 0(r30)
/* 8029BC44 00298BA4 38 61 00 14 */ addi r3, r1, 0x14
/* 8029BC48 00298BA8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
/* 8029BC4C 00298BAC 38 A1 00 1C */ addi r5, r1, 0x1c
/* 8029BC50 00298BB0 7C C0 C2 14 */ add r6, r0, r24
/* 8029BC54 00298BB4 80 06 00 04 */ lwz r0, 4(r6)
/* 8029BC58 00298BB8 93 81 00 1C */ stw r28, 0x1c(r1)
/* 8029BC5C 00298BBC 90 01 00 20 */ stw r0, 0x20(r1)
/* 8029BC60 00298BC0 81 84 00 00 */ lwz r12, 0(r4)
/* 8029BC64 00298BC4 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 8029BC68 00298BC8 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 8029BC6C 00298BCC 4E 80 04 21 */ bctrl
/* 8029BC70 00298BD0 80 1F 01 0C */ lwz r0, 0x10c(r31)
/* 8029BC74 00298BD4 80 BF 01 10 */ lwz r5, 0x110(r31)
/* 8029BC78 00298BD8 7C 00 28 00 */ cmpw r0, r5
/* 8029BC7C 00298BDC 41 80 00 1C */ blt lbl_8029BC98
/* 8029BC80 00298BE0 2C 05 00 00 */ cmpwi r5, 0
/* 8029BC84 00298BE4 38 7F 01 08 */ addi r3, r31, 0x108
/* 8029BC88 00298BE8 38 80 00 04 */ li r4, 4
/* 8029BC8C 00298BEC 41 82 00 08 */ beq lbl_8029BC94
/* 8029BC90 00298BF0 54 A4 08 3C */ slwi r4, r5, 1
lbl_8029BC94:
/* 8029BC94 00298BF4 4B D6 CC C9 */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi"
lbl_8029BC98:
/* 8029BC98 00298BF8 80 1F 01 0C */ lwz r0, 0x10c(r31)
/* 8029BC9C 00298BFC 80 7F 01 14 */ lwz r3, 0x114(r31)
/* 8029BCA0 00298C00 54 00 18 38 */ slwi r0, r0, 3
/* 8029BCA4 00298C04 7C 63 02 15 */ add. r3, r3, r0
/* 8029BCA8 00298C08 41 82 00 0C */ beq lbl_8029BCB4
/* 8029BCAC 00298C0C 38 81 00 14 */ addi r4, r1, 0x14
/* 8029BCB0 00298C10 48 0A 51 F9 */ bl __ct__6CTokenFRC6CToken
lbl_8029BCB4:
/* 8029BCB4 00298C14 80 BF 01 0C */ lwz r5, 0x10c(r31)
/* 8029BCB8 00298C18 38 61 00 14 */ addi r3, r1, 0x14
/* 8029BCBC 00298C1C 38 80 FF FF */ li r4, -1
/* 8029BCC0 00298C20 38 05 00 01 */ addi r0, r5, 1
/* 8029BCC4 00298C24 90 1F 01 0C */ stw r0, 0x10c(r31)
/* 8029BCC8 00298C28 48 0A 51 79 */ bl __dt__6CTokenFv
/* 8029BCCC 00298C2C 3B 7B 00 01 */ addi r27, r27, 1
/* 8029BCD0 00298C30 3B 18 00 04 */ addi r24, r24, 4
/* 8029BCD4 00298C34 2C 1B 00 02 */ cmpwi r27, 2
/* 8029BCD8 00298C38 41 80 FF 68 */ blt lbl_8029BC40
/* 8029BCDC 00298C3C 3B 5A 00 01 */ addi r26, r26, 1
/* 8029BCE0 00298C40 3B DE 00 04 */ addi r30, r30, 4
/* 8029BCE4 00298C44 2C 1A 00 04 */ cmpwi r26, 4
/* 8029BCE8 00298C48 41 80 FF 50 */ blt lbl_8029BC38
/* 8029BCEC 00298C4C 7F E3 FB 78 */ mr r3, r31
/* 8029BCF0 00298C50 38 9F 01 08 */ addi r4, r31, 0x108
/* 8029BCF4 00298C54 38 A0 00 01 */ li r5, 1
/* 8029BCF8 00298C58 4B FF CC B9 */ bl sub_802989b0
/* 8029BCFC 00298C5C 7F E3 FB 78 */ mr r3, r31
/* 8029BD00 00298C60 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0
/* 8029BD04 00298C64 CB E1 00 B0 */ lfd f31, 0xb0(r1)
/* 8029BD08 00298C68 E3 C1 00 A8 */ psq_l f30, 168(r1), 0, qr0
/* 8029BD0C 00298C6C CB C1 00 A0 */ lfd f30, 0xa0(r1)
/* 8029BD10 00298C70 BB 01 00 80 */ lmw r24, 0x80(r1)
/* 8029BD14 00298C74 80 01 00 C4 */ lwz r0, 0xc4(r1)
/* 8029BD18 00298C78 7C 08 03 A6 */ mtlr r0
/* 8029BD1C 00298C7C 38 21 00 C0 */ addi r1, r1, 0xc0
2022-07-14 05:48:03 +00:00
/* 8029BD20 00298C80 4E 80 00 20 */ blr
.global sub_8029bd24
sub_8029bd24:
/* 8029BD24 00298C84 94 21 FF 30 */ stwu r1, -0xd0(r1)
/* 8029BD28 00298C88 7C 08 02 A6 */ mflr r0
/* 8029BD2C 00298C8C 90 01 00 D4 */ stw r0, 0xd4(r1)
/* 8029BD30 00298C90 DB E1 00 C0 */ stfd f31, 0xc0(r1)
/* 8029BD34 00298C94 F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0
/* 8029BD38 00298C98 DB C1 00 B0 */ stfd f30, 0xb0(r1)
/* 8029BD3C 00298C9C F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0
/* 8029BD40 00298CA0 BE E1 00 8C */ stmw r23, 0x8c(r1)
/* 8029BD44 00298CA4 80 63 00 04 */ lwz r3, 4(r3)
/* 8029BD48 00298CA8 7C 9D 23 78 */ mr r29, r4
/* 8029BD4C 00298CAC 7C BE 2B 78 */ mr r30, r5
/* 8029BD50 00298CB0 7C D7 33 78 */ mr r23, r6
/* 8029BD54 00298CB4 28 03 00 00 */ cmplwi r3, 0
/* 8029BD58 00298CB8 7C F8 3B 78 */ mr r24, r7
/* 8029BD5C 00298CBC 41 82 02 0C */ beq lbl_8029BF68
/* 8029BD60 00298CC0 48 0A 50 AD */ bl GetObj__6CTokenFv
/* 8029BD64 00298CC4 83 E3 00 04 */ lwz r31, 4(r3)
/* 8029BD68 00298CC8 3C 80 43 30 */ lis r4, 0x4330
/* 8029BD6C 00298CCC 3C 60 80 3F */ lis r3, lbl_803F0004@ha
/* 8029BD70 00298CD0 87 83 D9 10 */ lwzu r28, -0x26f0(r3)
/* 8029BD74 00298CD4 A8 BF 00 04 */ lha r5, 4(r31)
/* 8029BD78 00298CD8 28 17 00 00 */ cmplwi r23, 0
/* 8029BD7C 00298CDC A8 1F 00 06 */ lha r0, 6(r31)
/* 8029BD80 00298CE0 6C A5 80 00 */ xoris r5, r5, 0x8000
/* 8029BD84 00298CE4 90 81 00 60 */ stw r4, 0x60(r1)
/* 8029BD88 00298CE8 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 8029BD8C 00298CEC C8 42 BF F8 */ lfd f2, lbl_805ADD18@sda21(r2)
/* 8029BD90 00298CF0 90 A1 00 64 */ stw r5, 0x64(r1)
/* 8029BD94 00298CF4 83 63 00 04 */ lwz r27, lbl_803F0004@l(r3)
/* 8029BD98 00298CF8 C8 21 00 60 */ lfd f1, 0x60(r1)
/* 8029BD9C 00298CFC 90 81 00 68 */ stw r4, 0x68(r1)
/* 8029BDA0 00298D00 EF E1 10 28 */ fsubs f31, f1, f2
/* 8029BDA4 00298D04 83 43 00 08 */ lwz r26, 8(r3)
/* 8029BDA8 00298D08 90 01 00 6C */ stw r0, 0x6c(r1)
/* 8029BDAC 00298D0C 83 23 00 0C */ lwz r25, 0xc(r3)
/* 8029BDB0 00298D10 C8 01 00 68 */ lfd f0, 0x68(r1)
/* 8029BDB4 00298D14 EF C0 10 28 */ fsubs f30, f0, f2
/* 8029BDB8 00298D18 41 82 00 24 */ beq lbl_8029BDDC
/* 8029BDBC 00298D1C C0 37 00 00 */ lfs f1, 0(r23)
/* 8029BDC0 00298D20 C0 17 00 04 */ lfs f0, 4(r23)
/* 8029BDC4 00298D24 FC 20 08 1E */ fctiwz f1, f1
/* 8029BDC8 00298D28 FC 00 00 1E */ fctiwz f0, f0
/* 8029BDCC 00298D2C D8 21 00 68 */ stfd f1, 0x68(r1)
/* 8029BDD0 00298D30 D8 01 00 60 */ stfd f0, 0x60(r1)
/* 8029BDD4 00298D34 83 81 00 6C */ lwz r28, 0x6c(r1)
/* 8029BDD8 00298D38 83 61 00 64 */ lwz r27, 0x64(r1)
lbl_8029BDDC:
/* 8029BDDC 00298D3C 28 18 00 00 */ cmplwi r24, 0
/* 8029BDE0 00298D40 41 82 00 24 */ beq lbl_8029BE04
/* 8029BDE4 00298D44 C0 38 00 00 */ lfs f1, 0(r24)
/* 8029BDE8 00298D48 C0 18 00 04 */ lfs f0, 4(r24)
/* 8029BDEC 00298D4C FC 20 08 1E */ fctiwz f1, f1
/* 8029BDF0 00298D50 FC 00 00 1E */ fctiwz f0, f0
/* 8029BDF4 00298D54 D8 21 00 68 */ stfd f1, 0x68(r1)
/* 8029BDF8 00298D58 D8 01 00 60 */ stfd f0, 0x60(r1)
/* 8029BDFC 00298D5C 83 41 00 6C */ lwz r26, 0x6c(r1)
/* 8029BE00 00298D60 83 21 00 64 */ lwz r25, 0x64(r1)
lbl_8029BE04:
/* 8029BE04 00298D64 38 60 00 01 */ li r3, 1
/* 8029BE08 00298D68 38 80 00 04 */ li r4, 4
/* 8029BE0C 00298D6C 38 A0 00 05 */ li r5, 5
/* 8029BE10 00298D70 38 C0 00 00 */ li r6, 0
/* 8029BE14 00298D74 48 06 FC 3D */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp
/* 8029BE18 00298D78 7C 7C D2 14 */ add r3, r28, r26
/* 8029BE1C 00298D7C 7C 1B CA 14 */ add r0, r27, r25
/* 8029BE20 00298D80 3C A0 43 30 */ lis r5, 0x4330
/* 8029BE24 00298D84 6F 86 80 00 */ xoris r6, r28, 0x8000
/* 8029BE28 00298D88 6C 64 80 00 */ xoris r4, r3, 0x8000
/* 8029BE2C 00298D8C 6C 03 80 00 */ xoris r3, r0, 0x8000
/* 8029BE30 00298D90 6F 60 80 00 */ xoris r0, r27, 0x8000
/* 8029BE34 00298D94 90 C1 00 6C */ stw r6, 0x6c(r1)
/* 8029BE38 00298D98 C8 82 BF F8 */ lfd f4, lbl_805ADD18@sda21(r2)
/* 8029BE3C 00298D9C 90 A1 00 68 */ stw r5, 0x68(r1)
/* 8029BE40 00298DA0 C0 A2 C0 10 */ lfs f5, lbl_805ADD30@sda21(r2)
/* 8029BE44 00298DA4 C8 01 00 68 */ lfd f0, 0x68(r1)
/* 8029BE48 00298DA8 90 81 00 64 */ stw r4, 0x64(r1)
/* 8029BE4C 00298DAC EC 20 20 28 */ fsubs f1, f0, f4
/* 8029BE50 00298DB0 C0 C2 C0 14 */ lfs f6, lbl_805ADD34@sda21(r2)
/* 8029BE54 00298DB4 90 A1 00 60 */ stw r5, 0x60(r1)
/* 8029BE58 00298DB8 C8 01 00 60 */ lfd f0, 0x60(r1)
/* 8029BE5C 00298DBC 90 61 00 74 */ stw r3, 0x74(r1)
/* 8029BE60 00298DC0 EC 40 20 28 */ fsubs f2, f0, f4
/* 8029BE64 00298DC4 90 A1 00 70 */ stw r5, 0x70(r1)
/* 8029BE68 00298DC8 C8 01 00 70 */ lfd f0, 0x70(r1)
/* 8029BE6C 00298DCC 90 01 00 7C */ stw r0, 0x7c(r1)
/* 8029BE70 00298DD0 EC 60 20 28 */ fsubs f3, f0, f4
/* 8029BE74 00298DD4 90 A1 00 78 */ stw r5, 0x78(r1)
/* 8029BE78 00298DD8 C8 01 00 78 */ lfd f0, 0x78(r1)
/* 8029BE7C 00298DDC EC 80 20 28 */ fsubs f4, f0, f4
/* 8029BE80 00298DE0 48 07 06 D5 */ bl SetOrtho__9CGraphicsFffffff
/* 8029BE84 00298DE4 3C 60 80 5A */ lis r3, skIdentity4f@ha
/* 8029BE88 00298DE8 38 63 66 70 */ addi r3, r3, skIdentity4f@l
/* 8029BE8C 00298DEC 48 07 08 C1 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f
/* 8029BE90 00298DF0 7F A4 EB 78 */ mr r4, r29
/* 8029BE94 00298DF4 38 61 00 2C */ addi r3, r1, 0x2c
/* 8029BE98 00298DF8 48 07 72 A9 */ bl Translate__12CTransform4fFRC9CVector3f
/* 8029BE9C 00298DFC 38 61 00 2C */ addi r3, r1, 0x2c
/* 8029BEA0 00298E00 48 07 07 41 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f
/* 8029BEA4 00298E04 3C 80 80 5A */ lis r4, lbl_805A5EBC@ha
/* 8029BEA8 00298E08 38 60 00 00 */ li r3, 0
/* 8029BEAC 00298E0C 38 84 5E BC */ addi r4, r4, lbl_805A5EBC@l
/* 8029BEB0 00298E10 48 06 E4 09 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass
/* 8029BEB4 00298E14 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13)
/* 8029BEB8 00298E18 38 60 00 01 */ li r3, 1
/* 8029BEBC 00298E1C 48 06 E3 FD */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass
/* 8029BEC0 00298E20 7F E3 FB 78 */ mr r3, r31
/* 8029BEC4 00298E24 38 80 00 00 */ li r4, 0
/* 8029BEC8 00298E28 38 A0 00 01 */ li r5, 1
/* 8029BECC 00298E2C 48 07 38 71 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode
/* 8029BED0 00298E30 38 60 00 80 */ li r3, 0x80
/* 8029BED4 00298E34 48 06 F7 95 */ bl StreamBegin__9CGraphicsF13ERglPrimitive
/* 8029BED8 00298E38 7F C3 F3 78 */ mr r3, r30
/* 8029BEDC 00298E3C 48 06 F6 6D */ bl StreamColor__9CGraphicsFRC6CColor
/* 8029BEE0 00298E40 C0 22 BF F0 */ lfs f1, lbl_805ADD10@sda21(r2)
/* 8029BEE4 00298E44 FC 40 08 90 */ fmr f2, f1
/* 8029BEE8 00298E48 48 06 F5 7D */ bl StreamTexcoord__9CGraphicsFff
/* 8029BEEC 00298E4C 3C 60 80 5A */ lis r3, skZero3f@ha
/* 8029BEF0 00298E50 38 63 66 A0 */ addi r3, r3, skZero3f@l
/* 8029BEF4 00298E54 48 06 F6 CD */ bl StreamVertex__9CGraphicsFRC9CVector3f
/* 8029BEF8 00298E58 C0 22 C0 14 */ lfs f1, lbl_805ADD34@sda21(r2)
/* 8029BEFC 00298E5C C0 42 BF F0 */ lfs f2, lbl_805ADD10@sda21(r2)
/* 8029BF00 00298E60 48 06 F5 65 */ bl StreamTexcoord__9CGraphicsFff
/* 8029BF04 00298E64 C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2)
/* 8029BF08 00298E68 38 61 00 20 */ addi r3, r1, 0x20
/* 8029BF0C 00298E6C D3 E1 00 20 */ stfs f31, 0x20(r1)
/* 8029BF10 00298E70 D0 01 00 24 */ stfs f0, 0x24(r1)
/* 8029BF14 00298E74 D0 01 00 28 */ stfs f0, 0x28(r1)
/* 8029BF18 00298E78 48 06 F6 A9 */ bl StreamVertex__9CGraphicsFRC9CVector3f
/* 8029BF1C 00298E7C C0 22 C0 14 */ lfs f1, lbl_805ADD34@sda21(r2)
/* 8029BF20 00298E80 FC 40 08 90 */ fmr f2, f1
/* 8029BF24 00298E84 48 06 F5 41 */ bl StreamTexcoord__9CGraphicsFff
/* 8029BF28 00298E88 C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2)
/* 8029BF2C 00298E8C 38 61 00 14 */ addi r3, r1, 0x14
/* 8029BF30 00298E90 D3 E1 00 14 */ stfs f31, 0x14(r1)
/* 8029BF34 00298E94 D0 01 00 18 */ stfs f0, 0x18(r1)
/* 8029BF38 00298E98 D3 C1 00 1C */ stfs f30, 0x1c(r1)
/* 8029BF3C 00298E9C 48 06 F6 85 */ bl StreamVertex__9CGraphicsFRC9CVector3f
/* 8029BF40 00298EA0 C0 22 BF F0 */ lfs f1, lbl_805ADD10@sda21(r2)
/* 8029BF44 00298EA4 C0 42 C0 14 */ lfs f2, lbl_805ADD34@sda21(r2)
/* 8029BF48 00298EA8 48 06 F5 1D */ bl StreamTexcoord__9CGraphicsFff
/* 8029BF4C 00298EAC C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2)
/* 8029BF50 00298EB0 38 61 00 08 */ addi r3, r1, 8
/* 8029BF54 00298EB4 D3 C1 00 10 */ stfs f30, 0x10(r1)
/* 8029BF58 00298EB8 D0 01 00 08 */ stfs f0, 8(r1)
/* 8029BF5C 00298EBC D0 01 00 0C */ stfs f0, 0xc(r1)
/* 8029BF60 00298EC0 48 06 F6 61 */ bl StreamVertex__9CGraphicsFRC9CVector3f
/* 8029BF64 00298EC4 48 06 F4 AD */ bl StreamEnd__9CGraphicsFv
lbl_8029BF68:
/* 8029BF68 00298EC8 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0
/* 8029BF6C 00298ECC CB E1 00 C0 */ lfd f31, 0xc0(r1)
/* 8029BF70 00298ED0 E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0
/* 8029BF74 00298ED4 CB C1 00 B0 */ lfd f30, 0xb0(r1)
/* 8029BF78 00298ED8 BA E1 00 8C */ lmw r23, 0x8c(r1)
/* 8029BF7C 00298EDC 80 01 00 D4 */ lwz r0, 0xd4(r1)
/* 8029BF80 00298EE0 7C 08 03 A6 */ mtlr r0
/* 8029BF84 00298EE4 38 21 00 D0 */ addi r1, r1, 0xd0
2022-07-14 05:48:03 +00:00
/* 8029BF88 00298EE8 4E 80 00 20 */ blr
.global sub_8029bf8c
sub_8029bf8c:
/* 8029BF8C 00298EEC C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2)
/* 8029BF90 00298EF0 38 00 00 00 */ li r0, 0
/* 8029BF94 00298EF4 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8029BF98 00298EF8 40 81 00 08 */ ble lbl_8029BFA0
/* 8029BF9C 00298EFC 60 00 00 01 */ ori r0, r0, 1
lbl_8029BFA0:
/* 8029BFA0 00298F00 C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2)
/* 8029BFA4 00298F04 FC 02 00 40 */ fcmpo cr0, f2, f0
/* 8029BFA8 00298F08 40 81 00 08 */ ble lbl_8029BFB0
/* 8029BFAC 00298F0C 60 00 00 02 */ ori r0, r0, 2
lbl_8029BFB0:
/* 8029BFB0 00298F10 C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2)
/* 8029BFB4 00298F14 FC 03 00 40 */ fcmpo cr0, f3, f0
/* 8029BFB8 00298F18 40 81 00 08 */ ble lbl_8029BFC0
/* 8029BFBC 00298F1C 60 00 00 04 */ ori r0, r0, 4
lbl_8029BFC0:
/* 8029BFC0 00298F20 C0 02 BF F0 */ lfs f0, lbl_805ADD10@sda21(r2)
/* 8029BFC4 00298F24 FC 04 00 40 */ fcmpo cr0, f4, f0
/* 8029BFC8 00298F28 40 81 00 08 */ ble lbl_8029BFD0
/* 8029BFCC 00298F2C 60 00 00 08 */ ori r0, r0, 8
lbl_8029BFD0:
/* 8029BFD0 00298F30 28 00 00 0A */ cmplwi r0, 0xa
/* 8029BFD4 00298F34 41 81 00 5C */ bgt lbl_8029C030
/* 8029BFD8 00298F38 3C 60 80 3F */ lis r3, lbl_803EBFD4@ha
/* 8029BFDC 00298F3C 54 00 10 3A */ slwi r0, r0, 2
/* 8029BFE0 00298F40 38 63 BF D4 */ addi r3, r3, lbl_803EBFD4@l
/* 8029BFE4 00298F44 7C 03 00 2E */ lwzx r0, r3, r0
/* 8029BFE8 00298F48 7C 09 03 A6 */ mtctr r0
2022-07-14 05:48:03 +00:00
/* 8029BFEC 00298F4C 4E 80 04 20 */ bctr
2022-04-17 00:22:26 +00:00
.global lbl_8029BFF0
lbl_8029BFF0:
/* 8029BFF0 00298F50 38 60 00 01 */ li r3, 1
2022-07-14 05:48:03 +00:00
/* 8029BFF4 00298F54 4E 80 00 20 */ blr
2022-04-17 00:22:26 +00:00
.global lbl_8029BFF8
lbl_8029BFF8:
/* 8029BFF8 00298F58 38 60 00 02 */ li r3, 2
2022-07-14 05:48:03 +00:00
/* 8029BFFC 00298F5C 4E 80 00 20 */ blr
2022-04-17 00:22:26 +00:00
.global lbl_8029C000
lbl_8029C000:
/* 8029C000 00298F60 38 60 00 03 */ li r3, 3
2022-07-14 05:48:03 +00:00
/* 8029C004 00298F64 4E 80 00 20 */ blr
2022-04-17 00:22:26 +00:00
.global lbl_8029C008
lbl_8029C008:
/* 8029C008 00298F68 38 60 00 04 */ li r3, 4
2022-07-14 05:48:03 +00:00
/* 8029C00C 00298F6C 4E 80 00 20 */ blr
2022-04-17 00:22:26 +00:00
.global lbl_8029C010
lbl_8029C010:
/* 8029C010 00298F70 38 60 00 05 */ li r3, 5
2022-07-14 05:48:03 +00:00
/* 8029C014 00298F74 4E 80 00 20 */ blr
2022-04-17 00:22:26 +00:00
.global lbl_8029C018
lbl_8029C018:
/* 8029C018 00298F78 38 60 00 06 */ li r3, 6
2022-07-14 05:48:03 +00:00
/* 8029C01C 00298F7C 4E 80 00 20 */ blr
2022-04-17 00:22:26 +00:00
.global lbl_8029C020
lbl_8029C020:
/* 8029C020 00298F80 38 60 00 07 */ li r3, 7
2022-07-14 05:48:03 +00:00
/* 8029C024 00298F84 4E 80 00 20 */ blr
2022-04-17 00:22:26 +00:00
.global lbl_8029C028
lbl_8029C028:
/* 8029C028 00298F88 38 60 00 08 */ li r3, 8
2022-07-14 05:48:03 +00:00
/* 8029C02C 00298F8C 4E 80 00 20 */ blr
2022-04-17 00:22:26 +00:00
.global lbl_8029C030
lbl_8029C030:
/* 8029C030 00298F90 38 60 00 00 */ li r3, 0
2022-07-14 05:48:03 +00:00
/* 8029C034 00298F94 4E 80 00 20 */ blr
.global sub_8029c038
sub_8029c038:
/* 8029C038 00298F98 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8029C03C 00298F9C 7C 08 02 A6 */ mflr r0
/* 8029C040 00298FA0 90 01 00 34 */ stw r0, 0x34(r1)
/* 8029C044 00298FA4 BF 61 00 1C */ stmw r27, 0x1c(r1)
/* 8029C048 00298FA8 7C 9F 23 78 */ mr r31, r4
/* 8029C04C 00298FAC 7C 7E 1B 78 */ mr r30, r3
/* 8029C050 00298FB0 7C DB 33 78 */ mr r27, r6
/* 8029C054 00298FB4 38 61 00 0C */ addi r3, r1, 0xc
/* 8029C058 00298FB8 80 85 00 00 */ lwz r4, 0(r5)
/* 8029C05C 00298FBC 80 1F 00 00 */ lwz r0, 0(r31)
/* 8029C060 00298FC0 90 81 00 08 */ stw r4, 8(r1)
/* 8029C064 00298FC4 38 81 00 08 */ addi r4, r1, 8
/* 8029C068 00298FC8 90 01 00 0C */ stw r0, 0xc(r1)
/* 8029C06C 00298FCC 48 00 05 05 */ bl sub_8029c570
/* 8029C070 00298FD0 80 1F 00 00 */ lwz r0, 0(r31)
/* 8029C074 00298FD4 7C 7D 1B 78 */ mr r29, r3
/* 8029C078 00298FD8 90 01 00 10 */ stw r0, 0x10(r1)
/* 8029C07C 00298FDC 48 00 00 58 */ b lbl_8029C0D4
lbl_8029C080:
/* 8029C080 00298FE0 57 A3 0F FE */ srwi r3, r29, 0x1f
/* 8029C084 00298FE4 80 1F 00 00 */ lwz r0, 0(r31)
/* 8029C088 00298FE8 7C 83 EA 14 */ add r4, r3, r29
/* 8029C08C 00298FEC 38 61 00 10 */ addi r3, r1, 0x10
/* 8029C090 00298FF0 7C 9C 0E 70 */ srawi r28, r4, 1
/* 8029C094 00298FF4 90 01 00 10 */ stw r0, 0x10(r1)
/* 8029C098 00298FF8 7F 84 E3 78 */ mr r4, r28
/* 8029C09C 00298FFC 48 00 04 95 */ bl sub_8029c530
/* 8029C0A0 00299000 80 81 00 10 */ lwz r4, 0x10(r1)
/* 8029C0A4 00299004 80 1B 00 00 */ lwz r0, 0(r27)
/* 8029C0A8 00299008 80 64 00 00 */ lwz r3, 0(r4)
/* 8029C0AC 0029900C 7C 03 00 40 */ cmplw r3, r0
/* 8029C0B0 00299010 40 80 00 20 */ bge lbl_8029C0D0
/* 8029C0B4 00299014 90 9F 00 00 */ stw r4, 0(r31)
/* 8029C0B8 00299018 7C 7C E8 50 */ subf r3, r28, r29
/* 8029C0BC 0029901C 3B A3 FF FF */ addi r29, r3, -1
/* 8029C0C0 00299020 80 7F 00 00 */ lwz r3, 0(r31)
/* 8029C0C4 00299024 38 03 00 08 */ addi r0, r3, 8
/* 8029C0C8 00299028 90 1F 00 00 */ stw r0, 0(r31)
/* 8029C0CC 0029902C 48 00 00 08 */ b lbl_8029C0D4
lbl_8029C0D0:
/* 8029C0D0 00299030 7F 9D E3 78 */ mr r29, r28
lbl_8029C0D4:
/* 8029C0D4 00299034 2C 1D 00 00 */ cmpwi r29, 0
/* 8029C0D8 00299038 41 81 FF A8 */ bgt lbl_8029C080
/* 8029C0DC 0029903C 80 1F 00 00 */ lwz r0, 0(r31)
/* 8029C0E0 00299040 90 1E 00 00 */ stw r0, 0(r30)
/* 8029C0E4 00299044 BB 61 00 1C */ lmw r27, 0x1c(r1)
/* 8029C0E8 00299048 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8029C0EC 0029904C 7C 08 03 A6 */ mtlr r0
/* 8029C0F0 00299050 38 21 00 30 */ addi r1, r1, 0x30
2022-07-14 05:48:03 +00:00
/* 8029C0F4 00299054 4E 80 00 20 */ blr
.global sub_8029c0f8
sub_8029c0f8:
/* 8029C0F8 00299058 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8029C0FC 0029905C 7C 08 02 A6 */ mflr r0
/* 8029C100 00299060 90 01 00 34 */ stw r0, 0x34(r1)
/* 8029C104 00299064 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 8029C108 00299068 7C 9F 23 78 */ mr r31, r4
/* 8029C10C 0029906C 93 C1 00 28 */ stw r30, 0x28(r1)
/* 8029C110 00299070 7C 7E 1B 78 */ mr r30, r3
/* 8029C114 00299074 93 A1 00 24 */ stw r29, 0x24(r1)
/* 8029C118 00299078 80 03 00 08 */ lwz r0, 8(r3)
/* 8029C11C 0029907C 7C 1F 00 00 */ cmpw r31, r0
/* 8029C120 00299080 40 81 00 AC */ ble lbl_8029C1CC
/* 8029C124 00299084 57 E3 10 3B */ rlwinm. r3, r31, 2, 0, 0x1d
/* 8029C128 00299088 40 82 00 0C */ bne lbl_8029C134
/* 8029C12C 0029908C 3B A0 00 00 */ li r29, 0
/* 8029C130 00299090 48 00 00 1C */ b lbl_8029C14C
lbl_8029C134:
/* 8029C134 00299094 3C 80 80 3D */ lis r4, lbl_803D5C48@ha
/* 8029C138 00299098 38 A0 00 00 */ li r5, 0
/* 8029C13C 0029909C 38 84 5C 48 */ addi r4, r4, lbl_803D5C48@l
/* 8029C140 002990A0 38 84 00 D0 */ addi r4, r4, 0xd0
/* 8029C144 002990A4 48 07 96 D5 */ bl __nwa__FUlPCcPCc
/* 8029C148 002990A8 7C 7D 1B 78 */ mr r29, r3
lbl_8029C14C:
/* 8029C14C 002990AC 80 1E 00 04 */ lwz r0, 4(r30)
/* 8029C150 002990B0 7F A4 EB 78 */ mr r4, r29
/* 8029C154 002990B4 80 BE 00 0C */ lwz r5, 0xc(r30)
/* 8029C158 002990B8 54 00 10 3A */ slwi r0, r0, 2
/* 8029C15C 002990BC 7C 65 02 14 */ add r3, r5, r0
/* 8029C160 002990C0 90 A1 00 10 */ stw r5, 0x10(r1)
/* 8029C164 002990C4 90 61 00 08 */ stw r3, 8(r1)
/* 8029C168 002990C8 90 61 00 0C */ stw r3, 0xc(r1)
/* 8029C16C 002990CC 90 A1 00 14 */ stw r5, 0x14(r1)
/* 8029C170 002990D0 48 00 00 1C */ b lbl_8029C18C
lbl_8029C174:
/* 8029C174 002990D4 28 04 00 00 */ cmplwi r4, 0
/* 8029C178 002990D8 41 82 00 0C */ beq lbl_8029C184
/* 8029C17C 002990DC 80 05 00 00 */ lwz r0, 0(r5)
/* 8029C180 002990E0 90 04 00 00 */ stw r0, 0(r4)
lbl_8029C184:
/* 8029C184 002990E4 38 84 00 04 */ addi r4, r4, 4
/* 8029C188 002990E8 38 A5 00 04 */ addi r5, r5, 4
lbl_8029C18C:
/* 8029C18C 002990EC 7C 05 18 40 */ cmplw r5, r3
/* 8029C190 002990F0 40 82 FF E4 */ bne lbl_8029C174
/* 8029C194 002990F4 80 1E 00 04 */ lwz r0, 4(r30)
/* 8029C198 002990F8 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 8029C19C 002990FC 54 00 10 3A */ slwi r0, r0, 2
/* 8029C1A0 00299100 7C 64 1B 78 */ mr r4, r3
/* 8029C1A4 00299104 7C 03 02 14 */ add r0, r3, r0
/* 8029C1A8 00299108 48 00 00 08 */ b lbl_8029C1B0
lbl_8029C1AC:
/* 8029C1AC 0029910C 38 84 00 04 */ addi r4, r4, 4
lbl_8029C1B0:
/* 8029C1B0 00299110 7C 04 00 40 */ cmplw r4, r0
/* 8029C1B4 00299114 40 82 FF F8 */ bne lbl_8029C1AC
/* 8029C1B8 00299118 28 03 00 00 */ cmplwi r3, 0
/* 8029C1BC 0029911C 41 82 00 08 */ beq lbl_8029C1C4
/* 8029C1C0 00299120 48 07 97 71 */ bl Free__7CMemoryFPCv
lbl_8029C1C4:
/* 8029C1C4 00299124 93 BE 00 0C */ stw r29, 0xc(r30)
/* 8029C1C8 00299128 93 FE 00 08 */ stw r31, 8(r30)
lbl_8029C1CC:
/* 8029C1CC 0029912C 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8029C1D0 00299130 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 8029C1D4 00299134 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 8029C1D8 00299138 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 8029C1DC 0029913C 7C 08 03 A6 */ mtlr r0
/* 8029C1E0 00299140 38 21 00 30 */ addi r1, r1, 0x30
2022-07-14 05:48:03 +00:00
/* 8029C1E4 00299144 4E 80 00 20 */ blr
.global sub_8029c1e8
sub_8029c1e8:
/* 8029C1E8 00299148 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8029C1EC 0029914C 7C 08 02 A6 */ mflr r0
/* 8029C1F0 00299150 90 01 00 34 */ stw r0, 0x34(r1)
/* 8029C1F4 00299154 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 8029C1F8 00299158 93 C1 00 28 */ stw r30, 0x28(r1)
/* 8029C1FC 0029915C 7C 9E 23 78 */ mr r30, r4
/* 8029C200 00299160 93 A1 00 24 */ stw r29, 0x24(r1)
/* 8029C204 00299164 7C 7D 1B 78 */ mr r29, r3
/* 8029C208 00299168 80 03 00 08 */ lwz r0, 8(r3)
/* 8029C20C 0029916C 7C 1E 00 00 */ cmpw r30, r0
/* 8029C210 00299170 40 81 00 90 */ ble lbl_8029C2A0
/* 8029C214 00299174 1C 7E 00 14 */ mulli r3, r30, 0x14
/* 8029C218 00299178 2C 03 00 00 */ cmpwi r3, 0
/* 8029C21C 0029917C 40 82 00 0C */ bne lbl_8029C228
/* 8029C220 00299180 3B E0 00 00 */ li r31, 0
/* 8029C224 00299184 48 00 00 1C */ b lbl_8029C240
lbl_8029C228:
/* 8029C228 00299188 3C 80 80 3D */ lis r4, lbl_803D5C48@ha
/* 8029C22C 0029918C 38 A0 00 00 */ li r5, 0
/* 8029C230 00299190 38 84 5C 48 */ addi r4, r4, lbl_803D5C48@l
/* 8029C234 00299194 38 84 00 D0 */ addi r4, r4, 0xd0
/* 8029C238 00299198 48 07 95 E1 */ bl __nwa__FUlPCcPCc
/* 8029C23C 0029919C 7C 7F 1B 78 */ mr r31, r3
lbl_8029C240:
/* 8029C240 002991A0 80 1D 00 04 */ lwz r0, 4(r29)
/* 8029C244 002991A4 7F E5 FB 78 */ mr r5, r31
/* 8029C248 002991A8 80 DD 00 0C */ lwz r6, 0xc(r29)
/* 8029C24C 002991AC 38 61 00 14 */ addi r3, r1, 0x14
/* 8029C250 002991B0 1C 00 00 14 */ mulli r0, r0, 0x14
/* 8029C254 002991B4 38 81 00 0C */ addi r4, r1, 0xc
/* 8029C258 002991B8 7C C6 02 14 */ add r6, r6, r0
/* 8029C25C 002991BC 90 C1 00 0C */ stw r6, 0xc(r1)
/* 8029C260 002991C0 80 1D 00 0C */ lwz r0, 0xc(r29)
/* 8029C264 002991C4 90 C1 00 08 */ stw r6, 8(r1)
/* 8029C268 002991C8 90 01 00 10 */ stw r0, 0x10(r1)
/* 8029C26C 002991CC 90 01 00 14 */ stw r0, 0x14(r1)
/* 8029C270 002991D0 48 00 00 99 */ bl sub_8029c308
/* 8029C274 002991D4 80 1D 00 04 */ lwz r0, 4(r29)
/* 8029C278 002991D8 80 7D 00 0C */ lwz r3, 0xc(r29)
/* 8029C27C 002991DC 1C 00 00 14 */ mulli r0, r0, 0x14
/* 8029C280 002991E0 7C 83 02 14 */ add r4, r3, r0
/* 8029C284 002991E4 48 00 00 39 */ bl sub_8029c2bc
/* 8029C288 002991E8 80 7D 00 0C */ lwz r3, 0xc(r29)
/* 8029C28C 002991EC 28 03 00 00 */ cmplwi r3, 0
/* 8029C290 002991F0 41 82 00 08 */ beq lbl_8029C298
/* 8029C294 002991F4 48 07 96 9D */ bl Free__7CMemoryFPCv
lbl_8029C298:
/* 8029C298 002991F8 93 FD 00 0C */ stw r31, 0xc(r29)
/* 8029C29C 002991FC 93 DD 00 08 */ stw r30, 8(r29)
lbl_8029C2A0:
/* 8029C2A0 00299200 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8029C2A4 00299204 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 8029C2A8 00299208 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 8029C2AC 0029920C 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 8029C2B0 00299210 7C 08 03 A6 */ mtlr r0
/* 8029C2B4 00299214 38 21 00 30 */ addi r1, r1, 0x30
2022-07-14 05:48:03 +00:00
/* 8029C2B8 00299218 4E 80 00 20 */ blr
.global sub_8029c2bc
sub_8029c2bc:
/* 8029C2BC 0029921C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8029C2C0 00299220 7C 08 02 A6 */ mflr r0
/* 8029C2C4 00299224 90 01 00 14 */ stw r0, 0x14(r1)
/* 8029C2C8 00299228 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8029C2CC 0029922C 7C 7F 1B 78 */ mr r31, r3
/* 8029C2D0 00299230 93 C1 00 08 */ stw r30, 8(r1)
/* 8029C2D4 00299234 7C 9E 23 78 */ mr r30, r4
/* 8029C2D8 00299238 48 00 00 10 */ b lbl_8029C2E8
lbl_8029C2DC:
/* 8029C2DC 0029923C 7F E3 FB 78 */ mr r3, r31
/* 8029C2E0 00299240 4B FF F3 21 */ bl sub_8029b600
/* 8029C2E4 00299244 3B FF 00 14 */ addi r31, r31, 0x14
lbl_8029C2E8:
/* 8029C2E8 00299248 7C 1F F0 40 */ cmplw r31, r30
/* 8029C2EC 0029924C 40 82 FF F0 */ bne lbl_8029C2DC
/* 8029C2F0 00299250 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8029C2F4 00299254 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8029C2F8 00299258 83 C1 00 08 */ lwz r30, 8(r1)
/* 8029C2FC 0029925C 7C 08 03 A6 */ mtlr r0
/* 8029C300 00299260 38 21 00 10 */ addi r1, r1, 0x10
2022-07-14 05:48:03 +00:00
/* 8029C304 00299264 4E 80 00 20 */ blr
.global sub_8029c308
sub_8029c308:
/* 8029C308 00299268 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8029C30C 0029926C 7C 08 02 A6 */ mflr r0
/* 8029C310 00299270 90 01 00 24 */ stw r0, 0x24(r1)
/* 8029C314 00299274 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8029C318 00299278 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8029C31C 0029927C 7C BE 2B 78 */ mr r30, r5
/* 8029C320 00299280 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8029C324 00299284 7C 9D 23 78 */ mr r29, r4
/* 8029C328 00299288 83 E3 00 00 */ lwz r31, 0(r3)
/* 8029C32C 0029928C 48 00 00 B4 */ b lbl_8029C3E0
lbl_8029C330:
/* 8029C330 00299290 28 1E 00 00 */ cmplwi r30, 0
/* 8029C334 00299294 41 82 00 A4 */ beq lbl_8029C3D8
/* 8029C338 00299298 80 1F 00 00 */ lwz r0, 0(r31)
/* 8029C33C 0029929C 90 1E 00 00 */ stw r0, 0(r30)
/* 8029C340 002992A0 80 1F 00 08 */ lwz r0, 8(r31)
/* 8029C344 002992A4 90 1E 00 08 */ stw r0, 8(r30)
/* 8029C348 002992A8 80 1F 00 0C */ lwz r0, 0xc(r31)
/* 8029C34C 002992AC 90 1E 00 0C */ stw r0, 0xc(r30)
/* 8029C350 002992B0 80 1F 00 08 */ lwz r0, 8(r31)
/* 8029C354 002992B4 2C 00 00 00 */ cmpwi r0, 0
/* 8029C358 002992B8 40 82 00 1C */ bne lbl_8029C374
/* 8029C35C 002992BC 80 1F 00 0C */ lwz r0, 0xc(r31)
/* 8029C360 002992C0 2C 00 00 00 */ cmpwi r0, 0
/* 8029C364 002992C4 40 82 00 10 */ bne lbl_8029C374
/* 8029C368 002992C8 38 00 00 00 */ li r0, 0
/* 8029C36C 002992CC 90 1E 00 10 */ stw r0, 0x10(r30)
/* 8029C370 002992D0 48 00 00 68 */ b lbl_8029C3D8
lbl_8029C374:
/* 8029C374 002992D4 80 1E 00 0C */ lwz r0, 0xc(r30)
/* 8029C378 002992D8 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d
/* 8029C37C 002992DC 40 82 00 10 */ bne lbl_8029C38C
/* 8029C380 002992E0 38 00 00 00 */ li r0, 0
/* 8029C384 002992E4 90 1E 00 10 */ stw r0, 0x10(r30)
/* 8029C388 002992E8 48 00 00 1C */ b lbl_8029C3A4
lbl_8029C38C:
/* 8029C38C 002992EC 3C 80 80 3D */ lis r4, lbl_803D5C48@ha
/* 8029C390 002992F0 38 A0 00 00 */ li r5, 0
/* 8029C394 002992F4 38 84 5C 48 */ addi r4, r4, lbl_803D5C48@l
/* 8029C398 002992F8 38 84 00 D0 */ addi r4, r4, 0xd0
/* 8029C39C 002992FC 48 07 94 7D */ bl __nwa__FUlPCcPCc
/* 8029C3A0 00299300 90 7E 00 10 */ stw r3, 0x10(r30)
lbl_8029C3A4:
/* 8029C3A4 00299304 80 1E 00 08 */ lwz r0, 8(r30)
/* 8029C3A8 00299308 80 9F 00 10 */ lwz r4, 0x10(r31)
/* 8029C3AC 0029930C 80 7E 00 10 */ lwz r3, 0x10(r30)
/* 8029C3B0 00299310 7C 09 03 A6 */ mtctr r0
/* 8029C3B4 00299314 2C 00 00 00 */ cmpwi r0, 0
/* 8029C3B8 00299318 40 81 00 20 */ ble lbl_8029C3D8
lbl_8029C3BC:
/* 8029C3BC 0029931C 28 03 00 00 */ cmplwi r3, 0
/* 8029C3C0 00299320 41 82 00 0C */ beq lbl_8029C3CC
/* 8029C3C4 00299324 80 04 00 00 */ lwz r0, 0(r4)
/* 8029C3C8 00299328 90 03 00 00 */ stw r0, 0(r3)
lbl_8029C3CC:
/* 8029C3CC 0029932C 38 63 00 04 */ addi r3, r3, 4
/* 8029C3D0 00299330 38 84 00 04 */ addi r4, r4, 4
/* 8029C3D4 00299334 42 00 FF E8 */ bdnz lbl_8029C3BC
lbl_8029C3D8:
/* 8029C3D8 00299338 3B DE 00 14 */ addi r30, r30, 0x14
/* 8029C3DC 0029933C 3B FF 00 14 */ addi r31, r31, 0x14
lbl_8029C3E0:
/* 8029C3E0 00299340 80 1D 00 00 */ lwz r0, 0(r29)
/* 8029C3E4 00299344 7C 1F 00 40 */ cmplw r31, r0
/* 8029C3E8 00299348 40 82 FF 48 */ bne lbl_8029C330
/* 8029C3EC 0029934C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8029C3F0 00299350 7F C3 F3 78 */ mr r3, r30
/* 8029C3F4 00299354 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8029C3F8 00299358 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8029C3FC 0029935C 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 8029C400 00299360 7C 08 03 A6 */ mtlr r0
/* 8029C404 00299364 38 21 00 20 */ addi r1, r1, 0x20
2022-07-14 05:48:03 +00:00
/* 8029C408 00299368 4E 80 00 20 */ blr
.global sub_8029c40c
sub_8029c40c:
/* 8029C40C 0029936C 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8029C410 00299370 7C 08 02 A6 */ mflr r0
/* 8029C414 00299374 90 01 00 34 */ stw r0, 0x34(r1)
/* 8029C418 00299378 BF 41 00 18 */ stmw r26, 0x18(r1)
/* 8029C41C 0029937C 7C 9F 23 78 */ mr r31, r4
/* 8029C420 00299380 7C 7E 1B 78 */ mr r30, r3
/* 8029C424 00299384 80 03 00 08 */ lwz r0, 8(r3)
/* 8029C428 00299388 7C 1F 00 00 */ cmpw r31, r0
/* 8029C42C 0029938C 40 81 00 F0 */ ble lbl_8029C51C
/* 8029C430 00299390 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c
/* 8029C434 00299394 40 82 00 0C */ bne lbl_8029C440
/* 8029C438 00299398 3B A0 00 00 */ li r29, 0
/* 8029C43C 0029939C 48 00 00 1C */ b lbl_8029C458
lbl_8029C440:
/* 8029C440 002993A0 3C 80 80 3D */ lis r4, lbl_803D5C48@ha
/* 8029C444 002993A4 38 A0 00 00 */ li r5, 0
/* 8029C448 002993A8 38 84 5C 48 */ addi r4, r4, lbl_803D5C48@l
/* 8029C44C 002993AC 38 84 00 D0 */ addi r4, r4, 0xd0
/* 8029C450 002993B0 48 07 93 C9 */ bl __nwa__FUlPCcPCc
/* 8029C454 002993B4 7C 7D 1B 78 */ mr r29, r3
lbl_8029C458:
/* 8029C458 002993B8 80 7E 00 04 */ lwz r3, 4(r30)
/* 8029C45C 002993BC 7F A5 EB 78 */ mr r5, r29
/* 8029C460 002993C0 80 DE 00 0C */ lwz r6, 0xc(r30)
/* 8029C464 002993C4 38 00 00 00 */ li r0, 0
/* 8029C468 002993C8 54 63 18 38 */ slwi r3, r3, 3
/* 8029C46C 002993CC 7C 86 1A 14 */ add r4, r6, r3
/* 8029C470 002993D0 90 C1 00 10 */ stw r6, 0x10(r1)
/* 8029C474 002993D4 90 81 00 08 */ stw r4, 8(r1)
/* 8029C478 002993D8 90 81 00 0C */ stw r4, 0xc(r1)
/* 8029C47C 002993DC 90 C1 00 14 */ stw r6, 0x14(r1)
/* 8029C480 002993E0 48 00 00 28 */ b lbl_8029C4A8
lbl_8029C484:
/* 8029C484 002993E4 28 05 00 00 */ cmplwi r5, 0
/* 8029C488 002993E8 41 82 00 18 */ beq lbl_8029C4A0
/* 8029C48C 002993EC 88 66 00 00 */ lbz r3, 0(r6)
/* 8029C490 002993F0 98 65 00 00 */ stb r3, 0(r5)
/* 8029C494 002993F4 80 66 00 04 */ lwz r3, 4(r6)
/* 8029C498 002993F8 90 65 00 04 */ stw r3, 4(r5)
/* 8029C49C 002993FC 98 06 00 00 */ stb r0, 0(r6)
lbl_8029C4A0:
/* 8029C4A0 00299400 38 A5 00 08 */ addi r5, r5, 8
/* 8029C4A4 00299404 38 C6 00 08 */ addi r6, r6, 8
lbl_8029C4A8:
/* 8029C4A8 00299408 7C 06 20 40 */ cmplw r6, r4
/* 8029C4AC 0029940C 40 82 FF D8 */ bne lbl_8029C484
/* 8029C4B0 00299410 80 1E 00 04 */ lwz r0, 4(r30)
/* 8029C4B4 00299414 83 5E 00 0C */ lwz r26, 0xc(r30)
/* 8029C4B8 00299418 54 00 18 38 */ slwi r0, r0, 3
/* 8029C4BC 0029941C 7F 9A 02 14 */ add r28, r26, r0
/* 8029C4C0 00299420 48 00 00 3C */ b lbl_8029C4FC
lbl_8029C4C4:
/* 8029C4C4 00299424 28 1A 00 00 */ cmplwi r26, 0
/* 8029C4C8 00299428 41 82 00 30 */ beq lbl_8029C4F8
/* 8029C4CC 0029942C 88 1A 00 00 */ lbz r0, 0(r26)
/* 8029C4D0 00299430 28 00 00 00 */ cmplwi r0, 0
/* 8029C4D4 00299434 41 82 00 24 */ beq lbl_8029C4F8
/* 8029C4D8 00299438 83 7A 00 04 */ lwz r27, 4(r26)
/* 8029C4DC 0029943C 28 1B 00 00 */ cmplwi r27, 0
/* 8029C4E0 00299440 41 82 00 18 */ beq lbl_8029C4F8
/* 8029C4E4 00299444 7F 63 DB 78 */ mr r3, r27
/* 8029C4E8 00299448 38 80 00 00 */ li r4, 0
/* 8029C4EC 0029944C 48 0A 49 55 */ bl __dt__6CTokenFv
/* 8029C4F0 00299450 7F 63 DB 78 */ mr r3, r27
/* 8029C4F4 00299454 48 07 94 3D */ bl Free__7CMemoryFPCv
lbl_8029C4F8:
/* 8029C4F8 00299458 3B 5A 00 08 */ addi r26, r26, 8
lbl_8029C4FC:
/* 8029C4FC 0029945C 7C 1A E0 40 */ cmplw r26, r28
/* 8029C500 00299460 40 82 FF C4 */ bne lbl_8029C4C4
/* 8029C504 00299464 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 8029C508 00299468 28 03 00 00 */ cmplwi r3, 0
/* 8029C50C 0029946C 41 82 00 08 */ beq lbl_8029C514
/* 8029C510 00299470 48 07 94 21 */ bl Free__7CMemoryFPCv
lbl_8029C514:
/* 8029C514 00299474 93 BE 00 0C */ stw r29, 0xc(r30)
/* 8029C518 00299478 93 FE 00 08 */ stw r31, 8(r30)
lbl_8029C51C:
/* 8029C51C 0029947C BB 41 00 18 */ lmw r26, 0x18(r1)
/* 8029C520 00299480 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8029C524 00299484 7C 08 03 A6 */ mtlr r0
/* 8029C528 00299488 38 21 00 30 */ addi r1, r1, 0x30
2022-07-14 05:48:03 +00:00
/* 8029C52C 0029948C 4E 80 00 20 */ blr
.global sub_8029c530
sub_8029c530:
/* 8029C530 00299490 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8029C534 00299494 7C 08 02 A6 */ mflr r0
/* 8029C538 00299498 90 01 00 14 */ stw r0, 0x14(r1)
/* 8029C53C 0029949C 38 A1 00 0C */ addi r5, r1, 0xc
/* 8029C540 002994A0 88 01 00 08 */ lbz r0, 8(r1)
/* 8029C544 002994A4 98 01 00 0C */ stb r0, 0xc(r1)
/* 8029C548 002994A8 48 00 00 15 */ bl sub_8029c55c
/* 8029C54C 002994AC 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8029C550 002994B0 7C 08 03 A6 */ mtlr r0
/* 8029C554 002994B4 38 21 00 10 */ addi r1, r1, 0x10
2022-07-14 05:48:03 +00:00
/* 8029C558 002994B8 4E 80 00 20 */ blr
.global sub_8029c55c
sub_8029c55c:
/* 8029C55C 002994BC 80 A3 00 00 */ lwz r5, 0(r3)
/* 8029C560 002994C0 54 80 18 38 */ slwi r0, r4, 3
/* 8029C564 002994C4 7C 05 02 14 */ add r0, r5, r0
/* 8029C568 002994C8 90 03 00 00 */ stw r0, 0(r3)
2022-07-14 05:48:03 +00:00
/* 8029C56C 002994CC 4E 80 00 20 */ blr
.global sub_8029c570
sub_8029c570:
/* 8029C570 002994D0 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8029C574 002994D4 7C 08 02 A6 */ mflr r0
/* 8029C578 002994D8 90 01 00 24 */ stw r0, 0x24(r1)
/* 8029C57C 002994DC 38 A1 00 0C */ addi r5, r1, 0xc
/* 8029C580 002994E0 88 E1 00 08 */ lbz r7, 8(r1)
/* 8029C584 002994E4 80 C4 00 00 */ lwz r6, 0(r4)
/* 8029C588 002994E8 38 81 00 10 */ addi r4, r1, 0x10
/* 8029C58C 002994EC 80 03 00 00 */ lwz r0, 0(r3)
/* 8029C590 002994F0 38 61 00 14 */ addi r3, r1, 0x14
/* 8029C594 002994F4 90 C1 00 10 */ stw r6, 0x10(r1)
/* 8029C598 002994F8 98 E1 00 0C */ stb r7, 0xc(r1)
/* 8029C59C 002994FC 90 01 00 14 */ stw r0, 0x14(r1)
/* 8029C5A0 00299500 48 00 00 15 */ bl sub_8029c5b4
/* 8029C5A4 00299504 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8029C5A8 00299508 7C 08 03 A6 */ mtlr r0
/* 8029C5AC 0029950C 38 21 00 20 */ addi r1, r1, 0x20
2022-07-14 05:48:03 +00:00
/* 8029C5B0 00299510 4E 80 00 20 */ blr
.global sub_8029c5b4
sub_8029c5b4:
/* 8029C5B4 00299514 80 63 00 00 */ lwz r3, 0(r3)
/* 8029C5B8 00299518 80 04 00 00 */ lwz r0, 0(r4)
/* 8029C5BC 0029951C 7C 03 00 50 */ subf r0, r3, r0
/* 8029C5C0 00299520 7C 00 1E 70 */ srawi r0, r0, 3
/* 8029C5C4 00299524 7C 60 01 94 */ addze r3, r0
2022-07-14 05:48:03 +00:00
/* 8029C5C8 00299528 4E 80 00 20 */ blr
.global __sinit_CSlideShow_cpp
__sinit_CSlideShow_cpp:
/* 8029C5CC 0029952C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8029C5D0 00299530 7C 08 02 A6 */ mflr r0
/* 8029C5D4 00299534 C0 22 BF F0 */ lfs f1, lbl_805ADD10@sda21(r2)
/* 8029C5D8 00299538 38 6D A5 A8 */ addi r3, r13, lbl_805A9168@sda21
/* 8029C5DC 0029953C 90 01 00 14 */ stw r0, 0x14(r1)
/* 8029C5E0 00299540 FC 40 08 90 */ fmr f2, f1
/* 8029C5E4 00299544 48 07 7C 1D */ bl __ct__9CVector2fFff
/* 8029C5E8 00299548 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8029C5EC 0029954C 7C 08 03 A6 */ mtlr r0
/* 8029C5F0 00299550 38 21 00 10 */ addi r1, r1, 0x10
/* 8029C5F4 00299554 4E 80 00 20 */ blr
2022-07-18 05:20:04 +00:00
.section .sdata2, "a"
.balign 8
2022-07-18 05:20:04 +00:00
.global lbl_805ADCE8
lbl_805ADCE8:
# ROM: 0x3FA588
.4byte 0x803D5C52
.global lbl_805ADCEC
lbl_805ADCEC:
# ROM: 0x3FA58C
.4byte 0x803D5C5A
.global lbl_805ADCF0
lbl_805ADCF0:
# ROM: 0x3FA590
.4byte 0x803D5C6D
.global lbl_805ADCF4
lbl_805ADCF4:
# ROM: 0x3FA594
.4byte 0x803D5C7D
.global lbl_805ADCF8
lbl_805ADCF8:
# ROM: 0x3FA598
.4byte 0x803D5C90
.global lbl_805ADCFC
lbl_805ADCFC:
# ROM: 0x3FA59C
.asciz "&image="
.global lbl_805ADD04
lbl_805ADD04:
# ROM: 0x3FA5A4
.4byte 0x3B000000
.global lbl_805ADD08
lbl_805ADD08:
# ROM: 0x3FA5A8
.4byte 0x803D5CA5
.4byte 0x803D5CBD
.global lbl_805ADD10
lbl_805ADD10:
# ROM: 0x3FA5B0
.4byte 0
.global lbl_805ADD14
lbl_805ADD14:
# ROM: 0x3FA5B4
.float 0.5
.global lbl_805ADD18
lbl_805ADD18:
# ROM: 0x3FA5B8
.double 4.503601774854144E15
.global lbl_805ADD20
lbl_805ADD20:
# ROM: 0x3FA5C0
.float 2.0
.global lbl_805ADD24
lbl_805ADD24:
# ROM: 0x3FA5C4
.4byte 0xC5800000
.global lbl_805ADD28
lbl_805ADD28:
# ROM: 0x3FA5C8
.4byte 0x45800000
.global lbl_805ADD2C
lbl_805ADD2C:
# ROM: 0x3FA5CC
.4byte 0x42000000
.global lbl_805ADD30
lbl_805ADD30:
# ROM: 0x3FA5D0
.float -1.0
.global lbl_805ADD34
lbl_805ADD34:
# ROM: 0x3FA5D4
.float 1.0
.global lbl_805ADD38
lbl_805ADD38:
# ROM: 0x3FA5D8
.float 5.0
.global lbl_805ADD3C
lbl_805ADD3C:
# ROM: 0x3FA5DC
.4byte 0xC2000000
.global lbl_805ADD40
lbl_805ADD40:
# ROM: 0x3FA5E0
.4byte 0x43300000
.4byte 0
.global lbl_805ADD48
lbl_805ADD48:
# ROM: 0x3FA5E8
.4byte 0x3F3E0000
.global lbl_805ADD4C
lbl_805ADD4C:
# ROM: 0x3FA5EC
.4byte 0x42C80000
.global lbl_805ADD50
lbl_805ADD50:
# ROM: 0x3FA5F0
.float 255.0
.4byte 0
2022-07-18 05:21:27 +00:00
.section .rodata
.balign 8
2022-07-18 05:21:27 +00:00
.global lbl_803D5C38
lbl_803D5C38:
# ROM: 0x3D2C38
.4byte 0
.4byte 0
.4byte 0
.4byte 0
.global lbl_803D5C48
lbl_803D5C48:
# ROM: 0x3D2C48
.asciz "slideshow"
.byte 0x47, 0x61
.asciz "llery"
.byte 0x47, 0x61
.asciz "lleryAssets_DGRP"
.byte 0x54, 0x58, 0x54
.asciz "R_GalleryTag"
.byte 0x43, 0x4D, 0x44
.asciz "L_GalleryBorder"
.asciz "Audio/frontend_1.rsf"
.byte 0x53, 0x54, 0x52
.asciz "G_SlideShow_Unlock1_"
.byte 0x53, 0x54, 0x52
.asciz "G_SlideShow_Unlock2_"
.byte 0x25, 0x64, 0x2F
.4byte 0x25640025
.asciz "sSI,0.6,1.0,%8.8X%s"
.4byte 0x20202000
.asciz "%s%8.8X%s"
.byte 0x20, 0x00
.4byte 0x20200025
.asciz "sSI,1.0,1.0,%8.8X%s"
.asciz "??(??)"
.byte 0x31
.4byte 0x00320025
.asciz "s%02d_DGRP"
.byte 0x25
.asciz "s%02d"
.byte 0x25, 0x73
.asciz "_%02d_%03d"
.byte 0x53
.asciz "lideShow"
.balign 4