mirror of https://github.com/PrimeDecomp/prime.git
3298 lines
158 KiB
ArmAsm
3298 lines
158 KiB
ArmAsm
.include "macros.inc"
|
|
|
|
.section .data
|
|
.balign 8
|
|
|
|
.global lbl_803E8B78
|
|
lbl_803E8B78:
|
|
# ROM: 0x3E5B78
|
|
.4byte 0
|
|
.4byte 0
|
|
.4byte __dt__14CLogBookScreenFv
|
|
.4byte InputDisabled__14CLogBookScreenCFv
|
|
.4byte TransitioningAway__14CLogBookScreenFv
|
|
.4byte Update__14CLogBookScreenFfR9CRandom16R18CArchitectureQueue
|
|
.4byte Touch__14CLogBookScreenFv
|
|
.4byte ProcessInput__14CLogBookScreenFRC11CFinalInput
|
|
.4byte Draw__14CLogBookScreenCFfff
|
|
.4byte GetCameraYBias__16CPauseScreenBaseCFv
|
|
.4byte VReady__14CLogBookScreenCFv
|
|
.4byte VActivate__14CLogBookScreenFv
|
|
.4byte RightTableSelectionChanged__14CLogBookScreenFii
|
|
.4byte ChangedMode__14CLogBookScreenQ216CPauseScreenBase5EMode
|
|
.4byte UpdateRightTable__14CLogBookScreenFv
|
|
.4byte ShouldLeftTableAdvance__14CLogBookScreenFv
|
|
.4byte ShouldRightTableAdvance__14CLogBookScreenFv
|
|
.4byte GetRightTableCount__14CLogBookScreenCFv
|
|
.4byte IsRightLogDynamic__16CPauseScreenBaseCFv
|
|
.4byte UpdateRightLogColors__16CPauseScreenBaseFbRC6CColor
|
|
.4byte UpdateRightLogHighlight__16CPauseScreenBaseFbiRC6CColorRC6CColor
|
|
|
|
.global lbl_803E8BCC
|
|
lbl_803E8BCC:
|
|
# ROM: 0x3E5BCC
|
|
.4byte 0x004E006F
|
|
.4byte 0x00200054
|
|
.4byte 0x00690074
|
|
.4byte 0x006C0065
|
|
.4byte 0x00210000
|
|
.4byte 0x003F003F
|
|
.4byte 0x003F003F
|
|
.4byte 0x003F003F
|
|
.4byte 0x0000002E
|
|
.4byte 0x002E002E
|
|
.4byte 0x002E002E
|
|
.4byte 0x002E002E
|
|
.4byte 0x002E0000
|
|
.4byte 0x0000000A
|
|
.4byte 0x000A0000
|
|
.4byte 0x000A000A
|
|
.4byte 0x000A000A
|
|
.4byte 0x000A000A
|
|
.4byte 0
|
|
|
|
.section .sdata
|
|
.balign 8
|
|
|
|
.global lbl_805A82A8
|
|
lbl_805A82A8:
|
|
# ROM: 0x3F5C48
|
|
.float 1.0
|
|
|
|
.global lbl_805A82AC
|
|
lbl_805A82AC:
|
|
# ROM: 0x3F5C4C
|
|
.4byte 0
|
|
|
|
.global lbl_805A82B0
|
|
lbl_805A82B0:
|
|
# ROM: 0x3F5C50
|
|
.4byte 0
|
|
|
|
.global lbl_805A82B4
|
|
lbl_805A82B4:
|
|
# ROM: 0x3F5C54
|
|
.4byte 0x00000005
|
|
|
|
.section .sbss, "wa"
|
|
.balign 8
|
|
|
|
.global lbl_805A9108
|
|
lbl_805A9108:
|
|
.skip 0x8
|
|
|
|
.section .text, "ax"
|
|
|
|
.global IsScanComplete__14CLogBookScreenF13EScanCategoryUiRC12CPlayerState
|
|
IsScanComplete__14CLogBookScreenF13EScanCategoryUiRC12CPlayerState:
|
|
/* 80245A30 00242990 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80245A34 00242994 7C 08 02 A6 */ mflr r0
|
|
/* 80245A38 00242998 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80245A3C 0024299C 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 80245A40 002429A0 7C 7F 1B 78 */ mr r31, r3
|
|
/* 80245A44 002429A4 7C A3 2B 78 */ mr r3, r5
|
|
/* 80245A48 002429A8 4B E4 BC 49 */ bl GetScanTime__12CPlayerStateCFUi
|
|
/* 80245A4C 002429AC 2C 1F 00 05 */ cmpwi r31, 5
|
|
/* 80245A50 002429B0 40 82 00 1C */ bne lbl_80245A6C
|
|
/* 80245A54 002429B4 C0 02 B8 5C */ lfs f0, lbl_805AD57C@sda21(r2)
|
|
/* 80245A58 002429B8 FC 01 00 40 */ fcmpo cr0, f1, f0
|
|
/* 80245A5C 002429BC 4C 41 13 82 */ cror 2, 1, 2
|
|
/* 80245A60 002429C0 7C 00 00 26 */ mfcr r0
|
|
/* 80245A64 002429C4 54 03 1F FE */ rlwinm r3, r0, 3, 0x1f, 0x1f
|
|
/* 80245A68 002429C8 48 00 00 18 */ b lbl_80245A80
|
|
lbl_80245A6C:
|
|
/* 80245A6C 002429CC C0 02 B8 60 */ lfs f0, lbl_805AD580@sda21(r2)
|
|
/* 80245A70 002429D0 FC 01 00 40 */ fcmpo cr0, f1, f0
|
|
/* 80245A74 002429D4 4C 41 13 82 */ cror 2, 1, 2
|
|
/* 80245A78 002429D8 7C 00 00 26 */ mfcr r0
|
|
/* 80245A7C 002429DC 54 03 1F FE */ rlwinm r3, r0, 3, 0x1f, 0x1f
|
|
lbl_80245A80:
|
|
/* 80245A80 002429E0 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80245A84 002429E4 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80245A88 002429E8 7C 08 03 A6 */ mtlr r0
|
|
/* 80245A8C 002429EC 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80245A90 002429F0 4E 80 00 20 */ blr
|
|
|
|
.global IsScanCategoryReady__14CLogBookScreenF13EScanCategory
|
|
IsScanCategoryReady__14CLogBookScreenF13EScanCategory:
|
|
/* 80245A94 002429F4 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 80245A98 002429F8 7C 08 02 A6 */ mflr r0
|
|
/* 80245A9C 002429FC 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 80245AA0 00242A00 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 80245AA4 00242A04 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
/* 80245AA8 00242A08 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
/* 80245AAC 00242A0C 93 81 00 10 */ stw r28, 0x10(r1)
|
|
/* 80245AB0 00242A10 7C 9C 23 78 */ mr r28, r4
|
|
/* 80245AB4 00242A14 80 63 00 04 */ lwz r3, 4(r3)
|
|
/* 80245AB8 00242A18 83 ED A0 84 */ lwz r31, gpMemoryCard@sda21(r13)
|
|
/* 80245ABC 00242A1C 80 63 08 B8 */ lwz r3, 0x8b8(r3)
|
|
/* 80245AC0 00242A20 83 BF 00 2C */ lwz r29, 0x2c(r31)
|
|
/* 80245AC4 00242A24 83 C3 00 00 */ lwz r30, 0(r3)
|
|
/* 80245AC8 00242A28 48 00 00 30 */ b lbl_80245AF8
|
|
lbl_80245ACC:
|
|
/* 80245ACC 00242A2C 80 7D 00 04 */ lwz r3, 4(r29)
|
|
/* 80245AD0 00242A30 7C 03 E0 40 */ cmplw r3, r28
|
|
/* 80245AD4 00242A34 40 82 00 20 */ bne lbl_80245AF4
|
|
/* 80245AD8 00242A38 80 9D 00 00 */ lwz r4, 0(r29)
|
|
/* 80245ADC 00242A3C 7F C5 F3 78 */ mr r5, r30
|
|
/* 80245AE0 00242A40 4B FF FF 51 */ bl IsScanComplete__14CLogBookScreenF13EScanCategoryUiRC12CPlayerState
|
|
/* 80245AE4 00242A44 54 60 06 3F */ clrlwi. r0, r3, 0x18
|
|
/* 80245AE8 00242A48 41 82 00 0C */ beq lbl_80245AF4
|
|
/* 80245AEC 00242A4C 38 60 00 01 */ li r3, 1
|
|
/* 80245AF0 00242A50 48 00 00 24 */ b lbl_80245B14
|
|
lbl_80245AF4:
|
|
/* 80245AF4 00242A54 3B BD 00 08 */ addi r29, r29, 8
|
|
lbl_80245AF8:
|
|
/* 80245AF8 00242A58 80 1F 00 24 */ lwz r0, 0x24(r31)
|
|
/* 80245AFC 00242A5C 80 7F 00 2C */ lwz r3, 0x2c(r31)
|
|
/* 80245B00 00242A60 54 00 18 38 */ slwi r0, r0, 3
|
|
/* 80245B04 00242A64 7C 03 02 14 */ add r0, r3, r0
|
|
/* 80245B08 00242A68 7C 1D 00 40 */ cmplw r29, r0
|
|
/* 80245B0C 00242A6C 40 82 FF C0 */ bne lbl_80245ACC
|
|
/* 80245B10 00242A70 38 60 00 00 */ li r3, 0
|
|
lbl_80245B14:
|
|
/* 80245B14 00242A74 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 80245B18 00242A78 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 80245B1C 00242A7C 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
/* 80245B20 00242A80 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
/* 80245B24 00242A84 83 81 00 10 */ lwz r28, 0x10(r1)
|
|
/* 80245B28 00242A88 7C 08 03 A6 */ mtlr r0
|
|
/* 80245B2C 00242A8C 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 80245B30 00242A90 4E 80 00 20 */ blr
|
|
|
|
.global InputDisabled__14CLogBookScreenCFv
|
|
InputDisabled__14CLogBookScreenCFv:
|
|
/* 80245B34 00242A94 80 03 02 5C */ lwz r0, 0x25c(r3)
|
|
/* 80245B38 00242A98 20 00 00 01 */ subfic r0, r0, 1
|
|
/* 80245B3C 00242A9C 7C 00 00 34 */ cntlzw r0, r0
|
|
/* 80245B40 00242AA0 54 03 D9 7E */ srwi r3, r0, 5
|
|
/* 80245B44 00242AA4 4E 80 00 20 */ blr
|
|
|
|
.global TransitioningAway__14CLogBookScreenFv
|
|
TransitioningAway__14CLogBookScreenFv:
|
|
/* 80245B48 00242AA8 38 00 00 01 */ li r0, 1
|
|
/* 80245B4C 00242AAC 90 03 02 5C */ stw r0, 0x25c(r3)
|
|
/* 80245B50 00242AB0 4E 80 00 20 */ blr
|
|
|
|
.global UpdateRightTitles__14CLogBookScreenFv
|
|
UpdateRightTitles__14CLogBookScreenFv:
|
|
/* 80245B54 00242AB4 94 21 FF 00 */ stwu r1, -0x100(r1)
|
|
/* 80245B58 00242AB8 7C 08 02 A6 */ mflr r0
|
|
/* 80245B5C 00242ABC 90 01 01 04 */ stw r0, 0x104(r1)
|
|
/* 80245B60 00242AC0 DB E1 00 F0 */ stfd f31, 0xf0(r1)
|
|
/* 80245B64 00242AC4 F3 E1 00 F8 */ psq_st f31, 248(r1), 0, qr0
|
|
/* 80245B68 00242AC8 BF 21 00 D4 */ stmw r25, 0xd4(r1)
|
|
/* 80245B6C 00242ACC 7C 7C 1B 78 */ mr r28, r3
|
|
/* 80245B70 00242AD0 3B A0 00 00 */ li r29, 0
|
|
/* 80245B74 00242AD4 80 63 00 70 */ lwz r3, 0x70(r3)
|
|
/* 80245B78 00242AD8 3B DC 00 DC */ addi r30, r28, 0xdc
|
|
/* 80245B7C 00242ADC 80 03 00 C4 */ lwz r0, 0xc4(r3)
|
|
/* 80245B80 00242AE0 54 00 20 36 */ slwi r0, r0, 4
|
|
/* 80245B84 00242AE4 7F FC 02 14 */ add r31, r28, r0
|
|
/* 80245B88 00242AE8 48 00 01 54 */ b lbl_80245CDC
|
|
lbl_80245B8C:
|
|
/* 80245B8C 00242AEC 80 9C 00 18 */ lwz r4, 0x18(r28)
|
|
/* 80245B90 00242AF0 38 00 00 00 */ li r0, 0
|
|
/* 80245B94 00242AF4 38 6D A9 1A */ addi r3, r13, lbl_805A94DA@sda21
|
|
/* 80245B98 00242AF8 90 61 00 4C */ stw r3, 0x4c(r1)
|
|
/* 80245B9C 00242AFC 7C 84 EA 14 */ add r4, r4, r29
|
|
/* 80245BA0 00242B00 90 01 00 50 */ stw r0, 0x50(r1)
|
|
/* 80245BA4 00242B04 90 01 00 54 */ stw r0, 0x54(r1)
|
|
/* 80245BA8 00242B08 80 1C 01 F4 */ lwz r0, 0x1f4(r28)
|
|
/* 80245BAC 00242B0C 7C 04 00 00 */ cmpw r4, r0
|
|
/* 80245BB0 00242B10 40 80 01 08 */ bge lbl_80245CB8
|
|
/* 80245BB4 00242B14 1C 64 00 1C */ mulli r3, r4, 0x1c
|
|
/* 80245BB8 00242B18 80 1C 01 FC */ lwz r0, 0x1fc(r28)
|
|
/* 80245BBC 00242B1C 38 63 00 0C */ addi r3, r3, 0xc
|
|
/* 80245BC0 00242B20 7C 60 1A 14 */ add r3, r0, r3
|
|
/* 80245BC4 00242B24 88 03 00 0C */ lbz r0, 0xc(r3)
|
|
/* 80245BC8 00242B28 28 00 00 00 */ cmplwi r0, 0
|
|
/* 80245BCC 00242B2C 41 82 00 B8 */ beq lbl_80245C84
|
|
/* 80245BD0 00242B30 80 63 00 08 */ lwz r3, 8(r3)
|
|
/* 80245BD4 00242B34 28 03 00 00 */ cmplwi r3, 0
|
|
/* 80245BD8 00242B38 41 82 00 AC */ beq lbl_80245C84
|
|
/* 80245BDC 00242B3C 54 84 18 38 */ slwi r4, r4, 3
|
|
/* 80245BE0 00242B40 80 BF 01 AC */ lwz r5, 0x1ac(r31)
|
|
/* 80245BE4 00242B44 38 04 00 04 */ addi r0, r4, 4
|
|
/* 80245BE8 00242B48 7C 05 00 AE */ lbzx r0, r5, r0
|
|
/* 80245BEC 00242B4C 28 00 00 00 */ cmplwi r0, 0
|
|
/* 80245BF0 00242B50 41 82 00 6C */ beq lbl_80245C5C
|
|
/* 80245BF4 00242B54 80 03 00 00 */ lwz r0, 0(r3)
|
|
/* 80245BF8 00242B58 2C 00 00 01 */ cmpwi r0, 1
|
|
/* 80245BFC 00242B5C 40 81 00 38 */ ble lbl_80245C34
|
|
/* 80245C00 00242B60 38 80 00 01 */ li r4, 1
|
|
/* 80245C04 00242B64 48 11 0A F9 */ bl GetString__12CStringTableCFi
|
|
/* 80245C08 00242B68 7C 64 1B 78 */ mr r4, r3
|
|
/* 80245C0C 00242B6C 38 61 00 3C */ addi r3, r1, 0x3c
|
|
/* 80245C10 00242B70 38 C1 00 08 */ addi r6, r1, 8
|
|
/* 80245C14 00242B74 38 A0 FF FF */ li r5, -1
|
|
/* 80245C18 00242B78 48 0F 7B A5 */ bl "__ct__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator"
|
|
/* 80245C1C 00242B7C 38 61 00 4C */ addi r3, r1, 0x4c
|
|
/* 80245C20 00242B80 38 81 00 3C */ addi r4, r1, 0x3c
|
|
/* 80245C24 00242B84 48 0F 77 29 */ bl sub_8033d34c
|
|
/* 80245C28 00242B88 38 61 00 3C */ addi r3, r1, 0x3c
|
|
/* 80245C2C 00242B8C 48 0F 75 09 */ bl "internal_dereference__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>Fv"
|
|
/* 80245C30 00242B90 48 00 00 54 */ b lbl_80245C84
|
|
lbl_80245C34:
|
|
/* 80245C34 00242B94 3C 80 80 3F */ lis r4, lbl_803E8BCC@ha
|
|
/* 80245C38 00242B98 38 61 00 2C */ addi r3, r1, 0x2c
|
|
/* 80245C3C 00242B9C 38 84 8B CC */ addi r4, r4, lbl_803E8BCC@l
|
|
/* 80245C40 00242BA0 4B DC FD B1 */ bl wstring_l__4rstlFPCw
|
|
/* 80245C44 00242BA4 38 61 00 4C */ addi r3, r1, 0x4c
|
|
/* 80245C48 00242BA8 38 81 00 2C */ addi r4, r1, 0x2c
|
|
/* 80245C4C 00242BAC 48 0F 77 01 */ bl sub_8033d34c
|
|
/* 80245C50 00242BB0 38 61 00 2C */ addi r3, r1, 0x2c
|
|
/* 80245C54 00242BB4 48 0F 74 E1 */ bl "internal_dereference__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>Fv"
|
|
/* 80245C58 00242BB8 48 00 00 2C */ b lbl_80245C84
|
|
lbl_80245C5C:
|
|
/* 80245C5C 00242BBC 3C 80 80 3F */ lis r4, lbl_803E8BCC@ha
|
|
/* 80245C60 00242BC0 38 61 00 1C */ addi r3, r1, 0x1c
|
|
/* 80245C64 00242BC4 38 84 8B CC */ addi r4, r4, lbl_803E8BCC@l
|
|
/* 80245C68 00242BC8 38 84 00 14 */ addi r4, r4, 0x14
|
|
/* 80245C6C 00242BCC 4B DC FD 85 */ bl wstring_l__4rstlFPCw
|
|
/* 80245C70 00242BD0 38 61 00 4C */ addi r3, r1, 0x4c
|
|
/* 80245C74 00242BD4 38 81 00 1C */ addi r4, r1, 0x1c
|
|
/* 80245C78 00242BD8 48 0F 76 D5 */ bl sub_8033d34c
|
|
/* 80245C7C 00242BDC 38 61 00 1C */ addi r3, r1, 0x1c
|
|
/* 80245C80 00242BE0 48 0F 74 B5 */ bl "internal_dereference__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>Fv"
|
|
lbl_80245C84:
|
|
/* 80245C84 00242BE4 80 01 00 54 */ lwz r0, 0x54(r1)
|
|
/* 80245C88 00242BE8 2C 00 00 00 */ cmpwi r0, 0
|
|
/* 80245C8C 00242BEC 40 82 00 2C */ bne lbl_80245CB8
|
|
/* 80245C90 00242BF0 3C 80 80 3F */ lis r4, lbl_803E8BCC@ha
|
|
/* 80245C94 00242BF4 38 61 00 0C */ addi r3, r1, 0xc
|
|
/* 80245C98 00242BF8 38 84 8B CC */ addi r4, r4, lbl_803E8BCC@l
|
|
/* 80245C9C 00242BFC 38 84 00 22 */ addi r4, r4, 0x22
|
|
/* 80245CA0 00242C00 4B DC FD 51 */ bl wstring_l__4rstlFPCw
|
|
/* 80245CA4 00242C04 38 61 00 4C */ addi r3, r1, 0x4c
|
|
/* 80245CA8 00242C08 38 81 00 0C */ addi r4, r1, 0xc
|
|
/* 80245CAC 00242C0C 48 0F 76 A1 */ bl sub_8033d34c
|
|
/* 80245CB0 00242C10 38 61 00 0C */ addi r3, r1, 0xc
|
|
/* 80245CB4 00242C14 48 0F 74 81 */ bl "internal_dereference__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>Fv"
|
|
lbl_80245CB8:
|
|
/* 80245CB8 00242C18 80 7E 00 00 */ lwz r3, 0(r30)
|
|
/* 80245CBC 00242C1C 38 81 00 4C */ addi r4, r1, 0x4c
|
|
/* 80245CC0 00242C20 38 A0 00 00 */ li r5, 0
|
|
/* 80245CC4 00242C24 38 63 00 D4 */ addi r3, r3, 0xd4
|
|
/* 80245CC8 00242C28 48 08 3B BD */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>"
|
|
/* 80245CCC 00242C2C 38 61 00 4C */ addi r3, r1, 0x4c
|
|
/* 80245CD0 00242C30 48 0F 74 65 */ bl "internal_dereference__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>Fv"
|
|
/* 80245CD4 00242C34 3B DE 00 04 */ addi r30, r30, 4
|
|
/* 80245CD8 00242C38 3B BD 00 01 */ addi r29, r29, 1
|
|
lbl_80245CDC:
|
|
/* 80245CDC 00242C3C 80 1C 00 D8 */ lwz r0, 0xd8(r28)
|
|
/* 80245CE0 00242C40 7C 1D 00 00 */ cmpw r29, r0
|
|
/* 80245CE4 00242C44 41 80 FE A8 */ blt lbl_80245B8C
|
|
/* 80245CE8 00242C48 3C 60 66 66 */ lis r3, 0x66666667@ha
|
|
/* 80245CEC 00242C4C 80 9C 00 18 */ lwz r4, 0x18(r28)
|
|
/* 80245CF0 00242C50 38 03 66 67 */ addi r0, r3, 0x66666667@l
|
|
/* 80245CF4 00242C54 CB E2 B8 68 */ lfd f31, lbl_805AD588@sda21(r2)
|
|
/* 80245CF8 00242C58 7C 00 20 96 */ mulhw r0, r0, r4
|
|
/* 80245CFC 00242C5C 3B DC 01 48 */ addi r30, r28, 0x148
|
|
/* 80245D00 00242C60 3B 40 00 00 */ li r26, 0
|
|
/* 80245D04 00242C64 3F A0 43 30 */ lis r29, 0x4330
|
|
/* 80245D08 00242C68 7C 00 0E 70 */ srawi r0, r0, 1
|
|
/* 80245D0C 00242C6C 54 03 0F FE */ srwi r3, r0, 0x1f
|
|
/* 80245D10 00242C70 7C 00 1A 14 */ add r0, r0, r3
|
|
/* 80245D14 00242C74 1C 00 00 05 */ mulli r0, r0, 5
|
|
/* 80245D18 00242C78 7F 60 20 50 */ subf r27, r0, r4
|
|
/* 80245D1C 00242C7C 23 FB 00 05 */ subfic r31, r27, 5
|
|
/* 80245D20 00242C80 48 00 00 70 */ b lbl_80245D90
|
|
lbl_80245D24:
|
|
/* 80245D24 00242C84 7C 1A D8 00 */ cmpw r26, r27
|
|
/* 80245D28 00242C88 83 3E 00 00 */ lwz r25, 0(r30)
|
|
/* 80245D2C 00242C8C 7F E0 FB 78 */ mr r0, r31
|
|
/* 80245D30 00242C90 41 80 00 08 */ blt lbl_80245D38
|
|
/* 80245D34 00242C94 38 1F FF FB */ addi r0, r31, -5
|
|
lbl_80245D38:
|
|
/* 80245D38 00242C98 6C 00 80 00 */ xoris r0, r0, 0x8000
|
|
/* 80245D3C 00242C9C C0 22 B8 58 */ lfs f1, lbl_805AD578@sda21(r2)
|
|
/* 80245D40 00242CA0 90 01 00 C4 */ stw r0, 0xc4(r1)
|
|
/* 80245D44 00242CA4 38 61 00 5C */ addi r3, r1, 0x5c
|
|
/* 80245D48 00242CA8 C0 7C 00 38 */ lfs f3, 0x38(r28)
|
|
/* 80245D4C 00242CAC FC 40 08 90 */ fmr f2, f1
|
|
/* 80245D50 00242CB0 93 A1 00 C0 */ stw r29, 0xc0(r1)
|
|
/* 80245D54 00242CB4 C8 01 00 C0 */ lfd f0, 0xc0(r1)
|
|
/* 80245D58 00242CB8 EC 00 F8 28 */ fsubs f0, f0, f31
|
|
/* 80245D5C 00242CBC EC 63 00 32 */ fmuls f3, f3, f0
|
|
/* 80245D60 00242CC0 48 0C D4 29 */ bl Translate__12CTransform4fFfff
|
|
/* 80245D64 00242CC4 38 61 00 8C */ addi r3, r1, 0x8c
|
|
/* 80245D68 00242CC8 38 81 00 5C */ addi r4, r1, 0x5c
|
|
/* 80245D6C 00242CCC 38 B9 00 74 */ addi r5, r25, 0x74
|
|
/* 80245D70 00242CD0 48 0C CB E1 */ bl __ml__12CTransform4fCFRC12CTransform4f
|
|
/* 80245D74 00242CD4 38 79 00 04 */ addi r3, r25, 4
|
|
/* 80245D78 00242CD8 38 81 00 8C */ addi r4, r1, 0x8c
|
|
/* 80245D7C 00242CDC 48 0C CD C5 */ bl __as__12CTransform4fFRC12CTransform4f
|
|
/* 80245D80 00242CE0 7F 23 CB 78 */ mr r3, r25
|
|
/* 80245D84 00242CE4 48 07 EA 65 */ bl RecalculateTransforms__10CGuiObjectFv
|
|
/* 80245D88 00242CE8 3B DE 00 04 */ addi r30, r30, 4
|
|
/* 80245D8C 00242CEC 3B 5A 00 01 */ addi r26, r26, 1
|
|
lbl_80245D90:
|
|
/* 80245D90 00242CF0 80 1C 01 44 */ lwz r0, 0x144(r28)
|
|
/* 80245D94 00242CF4 7C 1A 00 00 */ cmpw r26, r0
|
|
/* 80245D98 00242CF8 41 80 FF 8C */ blt lbl_80245D24
|
|
/* 80245D9C 00242CFC E3 E1 00 F8 */ psq_l f31, 248(r1), 0, qr0
|
|
/* 80245DA0 00242D00 CB E1 00 F0 */ lfd f31, 0xf0(r1)
|
|
/* 80245DA4 00242D04 BB 21 00 D4 */ lmw r25, 0xd4(r1)
|
|
/* 80245DA8 00242D08 80 01 01 04 */ lwz r0, 0x104(r1)
|
|
/* 80245DAC 00242D0C 7C 08 03 A6 */ mtlr r0
|
|
/* 80245DB0 00242D10 38 21 01 00 */ addi r1, r1, 0x100
|
|
/* 80245DB4 00242D14 4E 80 00 20 */ blr
|
|
|
|
.global UpdateBodyText__14CLogBookScreenFv
|
|
UpdateBodyText__14CLogBookScreenFv:
|
|
/* 80245DB8 00242D18 94 21 FF A0 */ stwu r1, -0x60(r1)
|
|
/* 80245DBC 00242D1C 7C 08 02 A6 */ mflr r0
|
|
/* 80245DC0 00242D20 90 01 00 64 */ stw r0, 0x64(r1)
|
|
/* 80245DC4 00242D24 93 E1 00 5C */ stw r31, 0x5c(r1)
|
|
/* 80245DC8 00242D28 7C 7F 1B 78 */ mr r31, r3
|
|
/* 80245DCC 00242D2C 93 C1 00 58 */ stw r30, 0x58(r1)
|
|
/* 80245DD0 00242D30 93 A1 00 54 */ stw r29, 0x54(r1)
|
|
/* 80245DD4 00242D34 80 03 00 10 */ lwz r0, 0x10(r3)
|
|
/* 80245DD8 00242D38 2C 00 00 02 */ cmpwi r0, 2
|
|
/* 80245DDC 00242D3C 41 82 00 38 */ beq lbl_80245E14
|
|
/* 80245DE0 00242D40 3C 80 80 3F */ lis r4, lbl_803E8BCC@ha
|
|
/* 80245DE4 00242D44 38 61 00 30 */ addi r3, r1, 0x30
|
|
/* 80245DE8 00242D48 38 84 8B CC */ addi r4, r4, lbl_803E8BCC@l
|
|
/* 80245DEC 00242D4C 38 84 00 34 */ addi r4, r4, 0x34
|
|
/* 80245DF0 00242D50 4B DC FC 01 */ bl wstring_l__4rstlFPCw
|
|
/* 80245DF4 00242D54 80 7F 01 74 */ lwz r3, 0x174(r31)
|
|
/* 80245DF8 00242D58 38 81 00 30 */ addi r4, r1, 0x30
|
|
/* 80245DFC 00242D5C 38 A0 00 00 */ li r5, 0
|
|
/* 80245E00 00242D60 38 63 00 D4 */ addi r3, r3, 0xd4
|
|
/* 80245E04 00242D64 48 08 3A 81 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>"
|
|
/* 80245E08 00242D68 38 61 00 30 */ addi r3, r1, 0x30
|
|
/* 80245E0C 00242D6C 48 0F 73 29 */ bl "internal_dereference__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>Fv"
|
|
/* 80245E10 00242D70 48 00 01 A4 */ b lbl_80245FB4
|
|
lbl_80245E14:
|
|
/* 80245E14 00242D74 80 1F 00 1C */ lwz r0, 0x1c(r31)
|
|
/* 80245E18 00242D78 80 9F 01 FC */ lwz r4, 0x1fc(r31)
|
|
/* 80245E1C 00242D7C 1C 60 00 1C */ mulli r3, r0, 0x1c
|
|
/* 80245E20 00242D80 3B A3 00 0C */ addi r29, r3, 0xc
|
|
/* 80245E24 00242D84 7F A4 EA 14 */ add r29, r4, r29
|
|
/* 80245E28 00242D88 88 1D 00 0C */ lbz r0, 0xc(r29)
|
|
/* 80245E2C 00242D8C 28 00 00 00 */ cmplwi r0, 0
|
|
/* 80245E30 00242D90 41 82 01 84 */ beq lbl_80245FB4
|
|
/* 80245E34 00242D94 80 1D 00 08 */ lwz r0, 8(r29)
|
|
/* 80245E38 00242D98 28 00 00 00 */ cmplwi r0, 0
|
|
/* 80245E3C 00242D9C 41 82 00 0C */ beq lbl_80245E48
|
|
/* 80245E40 00242DA0 38 60 00 01 */ li r3, 1
|
|
/* 80245E44 00242DA4 48 00 00 3C */ b lbl_80245E80
|
|
lbl_80245E48:
|
|
/* 80245E48 00242DA8 88 1D 00 04 */ lbz r0, 4(r29)
|
|
/* 80245E4C 00242DAC 28 00 00 00 */ cmplwi r0, 0
|
|
/* 80245E50 00242DB0 41 82 00 2C */ beq lbl_80245E7C
|
|
/* 80245E54 00242DB4 80 7D 00 00 */ lwz r3, 0(r29)
|
|
/* 80245E58 00242DB8 80 03 00 10 */ lwz r0, 0x10(r3)
|
|
/* 80245E5C 00242DBC 28 00 00 00 */ cmplwi r0, 0
|
|
/* 80245E60 00242DC0 41 82 00 1C */ beq lbl_80245E7C
|
|
/* 80245E64 00242DC4 7F A3 EB 78 */ mr r3, r29
|
|
/* 80245E68 00242DC8 48 0F AF A5 */ bl GetObj__6CTokenFv
|
|
/* 80245E6C 00242DCC 80 03 00 04 */ lwz r0, 4(r3)
|
|
/* 80245E70 00242DD0 38 60 00 01 */ li r3, 1
|
|
/* 80245E74 00242DD4 90 1D 00 08 */ stw r0, 8(r29)
|
|
/* 80245E78 00242DD8 48 00 00 08 */ b lbl_80245E80
|
|
lbl_80245E7C:
|
|
/* 80245E7C 00242DDC 38 60 00 00 */ li r3, 0
|
|
lbl_80245E80:
|
|
/* 80245E80 00242DE0 54 60 06 3F */ clrlwi. r0, r3, 0x18
|
|
/* 80245E84 00242DE4 41 82 01 30 */ beq lbl_80245FB4
|
|
/* 80245E88 00242DE8 80 7F 01 74 */ lwz r3, 0x174(r31)
|
|
/* 80245E8C 00242DEC 80 03 00 DC */ lwz r0, 0xdc(r3)
|
|
/* 80245E90 00242DF0 2C 00 00 00 */ cmpwi r0, 0
|
|
/* 80245E94 00242DF4 40 82 01 20 */ bne lbl_80245FB4
|
|
/* 80245E98 00242DF8 83 BD 00 08 */ lwz r29, 8(r29)
|
|
/* 80245E9C 00242DFC 38 80 00 00 */ li r4, 0
|
|
/* 80245EA0 00242E00 7F A3 EB 78 */ mr r3, r29
|
|
/* 80245EA4 00242E04 48 11 08 59 */ bl GetString__12CStringTableCFi
|
|
/* 80245EA8 00242E08 7C 64 1B 78 */ mr r4, r3
|
|
/* 80245EAC 00242E0C 38 61 00 40 */ addi r3, r1, 0x40
|
|
/* 80245EB0 00242E10 38 C1 00 08 */ addi r6, r1, 8
|
|
/* 80245EB4 00242E14 38 A0 FF FF */ li r5, -1
|
|
/* 80245EB8 00242E18 48 0F 79 05 */ bl "__ct__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator"
|
|
/* 80245EBC 00242E1C 80 1D 00 00 */ lwz r0, 0(r29)
|
|
/* 80245EC0 00242E20 2C 00 00 02 */ cmpwi r0, 2
|
|
/* 80245EC4 00242E24 40 81 00 38 */ ble lbl_80245EFC
|
|
/* 80245EC8 00242E28 3C 80 80 3F */ lis r4, lbl_803E8BCC@ha
|
|
/* 80245ECC 00242E2C 38 61 00 40 */ addi r3, r1, 0x40
|
|
/* 80245ED0 00242E30 38 84 8B CC */ addi r4, r4, lbl_803E8BCC@l
|
|
/* 80245ED4 00242E34 38 A0 FF FF */ li r5, -1
|
|
/* 80245ED8 00242E38 38 84 00 36 */ addi r4, r4, 0x36
|
|
/* 80245EDC 00242E3C 48 0F 76 09 */ bl sub_8033d4e4
|
|
/* 80245EE0 00242E40 7F A3 EB 78 */ mr r3, r29
|
|
/* 80245EE4 00242E44 38 80 00 02 */ li r4, 2
|
|
/* 80245EE8 00242E48 48 11 08 15 */ bl GetString__12CStringTableCFi
|
|
/* 80245EEC 00242E4C 7C 64 1B 78 */ mr r4, r3
|
|
/* 80245EF0 00242E50 38 61 00 40 */ addi r3, r1, 0x40
|
|
/* 80245EF4 00242E54 38 A0 FF FF */ li r5, -1
|
|
/* 80245EF8 00242E58 48 0F 75 ED */ bl sub_8033d4e4
|
|
lbl_80245EFC:
|
|
/* 80245EFC 00242E5C 7F E3 FB 78 */ mr r3, r31
|
|
/* 80245F00 00242E60 48 00 17 99 */ bl IsArtifactCategorySelected__14CLogBookScreenCFv
|
|
/* 80245F04 00242E64 54 60 06 3F */ clrlwi. r0, r3, 0x18
|
|
/* 80245F08 00242E68 41 82 00 90 */ beq lbl_80245F98
|
|
/* 80245F0C 00242E6C 7F E3 FB 78 */ mr r3, r31
|
|
/* 80245F10 00242E70 48 00 17 35 */ bl GetSelectedArtifactHeadScanIndex__14CLogBookScreenFv
|
|
/* 80245F14 00242E74 7C 7E 1B 79 */ or. r30, r3, r3
|
|
/* 80245F18 00242E78 41 80 00 80 */ blt lbl_80245F98
|
|
/* 80245F1C 00242E7C 80 8D A0 80 */ lwz r4, gpGameState@sda21(r13)
|
|
/* 80245F20 00242E80 38 61 00 0C */ addi r3, r1, 0xc
|
|
/* 80245F24 00242E84 4B F8 D9 FD */ bl GetPlayerState__10CGameStateCFv
|
|
/* 80245F28 00242E88 80 81 00 0C */ lwz r4, 0xc(r1)
|
|
/* 80245F2C 00242E8C 38 61 00 0C */ addi r3, r1, 0xc
|
|
/* 80245F30 00242E90 83 A4 00 00 */ lwz r29, 0(r4)
|
|
/* 80245F34 00242E94 4B DC 2F D9 */ bl sub_80008f0c
|
|
/* 80245F38 00242E98 7F A3 EB 78 */ mr r3, r29
|
|
/* 80245F3C 00242E9C 38 9E 00 1D */ addi r4, r30, 0x1d
|
|
/* 80245F40 00242EA0 4B E4 BB 81 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType
|
|
/* 80245F44 00242EA4 54 60 06 3F */ clrlwi. r0, r3, 0x18
|
|
/* 80245F48 00242EA8 41 82 00 50 */ beq lbl_80245F98
|
|
/* 80245F4C 00242EAC 3C 80 80 3F */ lis r4, lbl_803E8BCC@ha
|
|
/* 80245F50 00242EB0 38 61 00 20 */ addi r3, r1, 0x20
|
|
/* 80245F54 00242EB4 38 84 8B CC */ addi r4, r4, lbl_803E8BCC@l
|
|
/* 80245F58 00242EB8 38 84 00 3C */ addi r4, r4, 0x3c
|
|
/* 80245F5C 00242EBC 4B DC FA 95 */ bl wstring_l__4rstlFPCw
|
|
/* 80245F60 00242EC0 80 6D A0 74 */ lwz r3, gpStringTable@sda21(r13)
|
|
/* 80245F64 00242EC4 38 80 00 69 */ li r4, 0x69
|
|
/* 80245F68 00242EC8 48 11 07 95 */ bl GetString__12CStringTableCFi
|
|
/* 80245F6C 00242ECC 7C 65 1B 78 */ mr r5, r3
|
|
/* 80245F70 00242ED0 38 61 00 10 */ addi r3, r1, 0x10
|
|
/* 80245F74 00242ED4 38 81 00 20 */ addi r4, r1, 0x20
|
|
/* 80245F78 00242ED8 48 00 00 59 */ bl sub_80245fd0
|
|
/* 80245F7C 00242EDC 38 61 00 40 */ addi r3, r1, 0x40
|
|
/* 80245F80 00242EE0 38 81 00 10 */ addi r4, r1, 0x10
|
|
/* 80245F84 00242EE4 48 0F 73 C9 */ bl sub_8033d34c
|
|
/* 80245F88 00242EE8 38 61 00 10 */ addi r3, r1, 0x10
|
|
/* 80245F8C 00242EEC 48 0F 71 A9 */ bl "internal_dereference__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>Fv"
|
|
/* 80245F90 00242EF0 38 61 00 20 */ addi r3, r1, 0x20
|
|
/* 80245F94 00242EF4 48 0F 71 A1 */ bl "internal_dereference__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>Fv"
|
|
lbl_80245F98:
|
|
/* 80245F98 00242EF8 80 7F 01 74 */ lwz r3, 0x174(r31)
|
|
/* 80245F9C 00242EFC 38 81 00 40 */ addi r4, r1, 0x40
|
|
/* 80245FA0 00242F00 38 A0 00 01 */ li r5, 1
|
|
/* 80245FA4 00242F04 38 63 00 D4 */ addi r3, r3, 0xd4
|
|
/* 80245FA8 00242F08 48 08 38 DD */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>"
|
|
/* 80245FAC 00242F0C 38 61 00 40 */ addi r3, r1, 0x40
|
|
/* 80245FB0 00242F10 48 0F 71 85 */ bl "internal_dereference__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>Fv"
|
|
lbl_80245FB4:
|
|
/* 80245FB4 00242F14 80 01 00 64 */ lwz r0, 0x64(r1)
|
|
/* 80245FB8 00242F18 83 E1 00 5C */ lwz r31, 0x5c(r1)
|
|
/* 80245FBC 00242F1C 83 C1 00 58 */ lwz r30, 0x58(r1)
|
|
/* 80245FC0 00242F20 83 A1 00 54 */ lwz r29, 0x54(r1)
|
|
/* 80245FC4 00242F24 7C 08 03 A6 */ mtlr r0
|
|
/* 80245FC8 00242F28 38 21 00 60 */ addi r1, r1, 0x60
|
|
/* 80245FCC 00242F2C 4E 80 00 20 */ blr
|
|
|
|
.global sub_80245fd0
|
|
sub_80245fd0:
|
|
/* 80245FD0 00242F30 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 80245FD4 00242F34 7C 08 02 A6 */ mflr r0
|
|
/* 80245FD8 00242F38 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 80245FDC 00242F3C 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 80245FE0 00242F40 7C BF 2B 78 */ mr r31, r5
|
|
/* 80245FE4 00242F44 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
/* 80245FE8 00242F48 7C 7E 1B 78 */ mr r30, r3
|
|
/* 80245FEC 00242F4C 38 61 00 08 */ addi r3, r1, 8
|
|
/* 80245FF0 00242F50 48 0F 77 99 */ bl "__ct__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>"
|
|
/* 80245FF4 00242F54 7F E4 FB 78 */ mr r4, r31
|
|
/* 80245FF8 00242F58 38 61 00 08 */ addi r3, r1, 8
|
|
/* 80245FFC 00242F5C 38 A0 FF FF */ li r5, -1
|
|
/* 80246000 00242F60 48 0F 74 E5 */ bl sub_8033d4e4
|
|
/* 80246004 00242F64 7F C3 F3 78 */ mr r3, r30
|
|
/* 80246008 00242F68 38 81 00 08 */ addi r4, r1, 8
|
|
/* 8024600C 00242F6C 48 0F 77 7D */ bl "__ct__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>"
|
|
/* 80246010 00242F70 38 61 00 08 */ addi r3, r1, 8
|
|
/* 80246014 00242F74 48 0F 71 21 */ bl "internal_dereference__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>Fv"
|
|
/* 80246018 00242F78 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 8024601C 00242F7C 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 80246020 00242F80 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
/* 80246024 00242F84 7C 08 03 A6 */ mtlr r0
|
|
/* 80246028 00242F88 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 8024602C 00242F8C 4E 80 00 20 */ blr
|
|
|
|
.global UpdateBodyImagesAndText__14CLogBookScreenFv
|
|
UpdateBodyImagesAndText__14CLogBookScreenFv:
|
|
/* 80246030 00242F90 94 21 FF B0 */ stwu r1, -0x50(r1)
|
|
/* 80246034 00242F94 7C 08 02 A6 */ mflr r0
|
|
/* 80246038 00242F98 90 01 00 54 */ stw r0, 0x54(r1)
|
|
/* 8024603C 00242F9C DB E1 00 40 */ stfd f31, 0x40(r1)
|
|
/* 80246040 00242FA0 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0
|
|
/* 80246044 00242FA4 BF 41 00 28 */ stmw r26, 0x28(r1)
|
|
/* 80246048 00242FA8 7C 7F 1B 78 */ mr r31, r3
|
|
/* 8024604C 00242FAC 3B 60 00 00 */ li r27, 0
|
|
/* 80246050 00242FB0 80 03 00 1C */ lwz r0, 0x1c(r3)
|
|
/* 80246054 00242FB4 3B BF 00 F4 */ addi r29, r31, 0xf4
|
|
/* 80246058 00242FB8 80 83 01 FC */ lwz r4, 0x1fc(r3)
|
|
/* 8024605C 00242FBC 7F BE EB 78 */ mr r30, r29
|
|
/* 80246060 00242FC0 1C 60 00 1C */ mulli r3, r0, 0x1c
|
|
/* 80246064 00242FC4 38 03 00 08 */ addi r0, r3, 8
|
|
/* 80246068 00242FC8 7F 84 00 2E */ lwzx r28, r4, r0
|
|
/* 8024606C 00242FCC 48 00 00 34 */ b lbl_802460A0
|
|
lbl_80246070:
|
|
/* 80246070 00242FD0 83 5E 00 00 */ lwz r26, 0(r30)
|
|
/* 80246074 00242FD4 38 80 FF FF */ li r4, -1
|
|
/* 80246078 00242FD8 80 AD A0 64 */ lwz r5, gpSimplePool@sda21(r13)
|
|
/* 8024607C 00242FDC 7F 43 D3 78 */ mr r3, r26
|
|
/* 80246080 00242FE0 48 08 5E 4D */ bl SetTextureID0__13CAuiImagePaneFUib
|
|
/* 80246084 00242FE4 C0 22 B8 58 */ lfs f1, lbl_805AD578@sda21(r2)
|
|
/* 80246088 00242FE8 7F 43 D3 78 */ mr r3, r26
|
|
/* 8024608C 00242FEC 38 8D A8 98 */ addi r4, r13, lbl_805A9458@sda21
|
|
/* 80246090 00242FF0 FC 40 08 90 */ fmr f2, f1
|
|
/* 80246094 00242FF4 48 08 6E 15 */ bl SetAnimationParms__13CAuiImagePaneFRC9CVector2fff
|
|
/* 80246098 00242FF8 3B DE 00 04 */ addi r30, r30, 4
|
|
/* 8024609C 00242FFC 3B 7B 00 01 */ addi r27, r27, 1
|
|
lbl_802460A0:
|
|
/* 802460A0 00243000 80 1F 00 F0 */ lwz r0, 0xf0(r31)
|
|
/* 802460A4 00243004 7C 1B 00 00 */ cmpw r27, r0
|
|
/* 802460A8 00243008 41 80 FF C8 */ blt lbl_80246070
|
|
/* 802460AC 0024300C 3B 40 00 00 */ li r26, 0
|
|
/* 802460B0 00243010 3B DC 00 18 */ addi r30, r28, 0x18
|
|
lbl_802460B4:
|
|
/* 802460B4 00243014 80 1E 00 08 */ lwz r0, 8(r30)
|
|
/* 802460B8 00243018 2C 00 FF FF */ cmpwi r0, -1
|
|
/* 802460BC 0024301C 41 82 00 88 */ beq lbl_80246144
|
|
/* 802460C0 00243020 C3 FE 00 14 */ lfs f31, 0x14(r30)
|
|
/* 802460C4 00243024 54 00 10 3A */ slwi r0, r0, 2
|
|
/* 802460C8 00243028 C0 02 B8 58 */ lfs f0, lbl_805AD578@sda21(r2)
|
|
/* 802460CC 0024302C 7F 7D 00 2E */ lwzx r27, r29, r0
|
|
/* 802460D0 00243030 FC 1F 00 40 */ fcmpo cr0, f31, f0
|
|
/* 802460D4 00243034 40 81 00 58 */ ble lbl_8024612C
|
|
/* 802460D8 00243038 80 BE 00 0C */ lwz r5, 0xc(r30)
|
|
/* 802460DC 0024303C 3C 80 43 30 */ lis r4, 0x4330
|
|
/* 802460E0 00243040 80 1E 00 10 */ lwz r0, 0x10(r30)
|
|
/* 802460E4 00243044 38 61 00 08 */ addi r3, r1, 8
|
|
/* 802460E8 00243048 6C A5 80 00 */ xoris r5, r5, 0x8000
|
|
/* 802460EC 0024304C 90 81 00 10 */ stw r4, 0x10(r1)
|
|
/* 802460F0 00243050 6C 00 80 00 */ xoris r0, r0, 0x8000
|
|
/* 802460F4 00243054 C8 42 B8 68 */ lfd f2, lbl_805AD588@sda21(r2)
|
|
/* 802460F8 00243058 90 A1 00 14 */ stw r5, 0x14(r1)
|
|
/* 802460FC 0024305C C8 01 00 10 */ lfd f0, 0x10(r1)
|
|
/* 80246100 00243060 90 01 00 1C */ stw r0, 0x1c(r1)
|
|
/* 80246104 00243064 EC 20 10 28 */ fsubs f1, f0, f2
|
|
/* 80246108 00243068 90 81 00 18 */ stw r4, 0x18(r1)
|
|
/* 8024610C 0024306C C8 01 00 18 */ lfd f0, 0x18(r1)
|
|
/* 80246110 00243070 EC 40 10 28 */ fsubs f2, f0, f2
|
|
/* 80246114 00243074 48 0C E0 ED */ bl __ct__9CVector2fFff
|
|
/* 80246118 00243078 FC 20 F8 90 */ fmr f1, f31
|
|
/* 8024611C 0024307C 7C 64 1B 78 */ mr r4, r3
|
|
/* 80246120 00243080 C0 5E 00 18 */ lfs f2, 0x18(r30)
|
|
/* 80246124 00243084 7F 63 DB 78 */ mr r3, r27
|
|
/* 80246128 00243088 48 08 6D 81 */ bl SetAnimationParms__13CAuiImagePaneFRC9CVector2fff
|
|
lbl_8024612C:
|
|
/* 8024612C 0024308C 80 9E 00 00 */ lwz r4, 0(r30)
|
|
/* 80246130 00243090 7F 63 DB 78 */ mr r3, r27
|
|
/* 80246134 00243094 80 AD A0 64 */ lwz r5, gpSimplePool@sda21(r13)
|
|
/* 80246138 00243098 48 08 5D 95 */ bl SetTextureID0__13CAuiImagePaneFUib
|
|
/* 8024613C 0024309C C0 02 B8 58 */ lfs f0, lbl_805AD578@sda21(r2)
|
|
/* 80246140 002430A0 D0 1B 01 50 */ stfs f0, 0x150(r27)
|
|
lbl_80246144:
|
|
/* 80246144 002430A4 3B 5A 00 01 */ addi r26, r26, 1
|
|
/* 80246148 002430A8 3B DE 00 1C */ addi r30, r30, 0x1c
|
|
/* 8024614C 002430AC 2C 1A 00 04 */ cmpwi r26, 4
|
|
/* 80246150 002430B0 41 80 FF 64 */ blt lbl_802460B4
|
|
/* 80246154 002430B4 88 1F 02 60 */ lbz r0, 0x260(r31)
|
|
/* 80246158 002430B8 38 60 00 00 */ li r3, 0
|
|
/* 8024615C 002430BC 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a
|
|
/* 80246160 002430C0 7F E3 FB 78 */ mr r3, r31
|
|
/* 80246164 002430C4 98 1F 02 60 */ stb r0, 0x260(r31)
|
|
/* 80246168 002430C8 4B FF FC 51 */ bl UpdateBodyText__14CLogBookScreenFv
|
|
/* 8024616C 002430CC E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0
|
|
/* 80246170 002430D0 CB E1 00 40 */ lfd f31, 0x40(r1)
|
|
/* 80246174 002430D4 BB 41 00 28 */ lmw r26, 0x28(r1)
|
|
/* 80246178 002430D8 80 01 00 54 */ lwz r0, 0x54(r1)
|
|
/* 8024617C 002430DC 7C 08 03 A6 */ mtlr r0
|
|
/* 80246180 002430E0 38 21 00 50 */ addi r1, r1, 0x50
|
|
/* 80246184 002430E4 4E 80 00 20 */ blr
|
|
|
|
.global NextSurroundingArticleIndex__14CLogBookScreenFi
|
|
NextSurroundingArticleIndex__14CLogBookScreenFi:
|
|
/* 80246188 002430E8 80 C3 00 18 */ lwz r6, 0x18(r3)
|
|
/* 8024618C 002430EC 7C 04 30 00 */ cmpw r4, r6
|
|
/* 80246190 002430F0 40 80 00 28 */ bge lbl_802461B8
|
|
/* 80246194 002430F4 7C A4 30 50 */ subf r5, r4, r6
|
|
/* 80246198 002430F8 80 03 01 F4 */ lwz r0, 0x1f4(r3)
|
|
/* 8024619C 002430FC 38 A5 00 06 */ addi r5, r5, 6
|
|
/* 802461A0 00243100 38 64 FF FF */ addi r3, r4, -1
|
|
/* 802461A4 00243104 7C A6 2A 14 */ add r5, r6, r5
|
|
/* 802461A8 00243108 7C 05 00 00 */ cmpw r5, r0
|
|
/* 802461AC 0024310C 4C 80 00 20 */ bgelr
|
|
/* 802461B0 00243110 7C A3 2B 78 */ mr r3, r5
|
|
/* 802461B4 00243114 4E 80 00 20 */ blr
|
|
lbl_802461B8:
|
|
/* 802461B8 00243118 38 06 00 06 */ addi r0, r6, 6
|
|
/* 802461BC 0024311C 7C 04 00 00 */ cmpw r4, r0
|
|
/* 802461C0 00243120 40 80 00 28 */ bge lbl_802461E8
|
|
/* 802461C4 00243124 80 03 01 F4 */ lwz r0, 0x1f4(r3)
|
|
/* 802461C8 00243128 38 64 00 01 */ addi r3, r4, 1
|
|
/* 802461CC 0024312C 7C 03 00 00 */ cmpw r3, r0
|
|
/* 802461D0 00243130 4D 80 00 20 */ bltlr
|
|
/* 802461D4 00243134 2C 06 00 00 */ cmpwi r6, 0
|
|
/* 802461D8 00243138 38 60 FF FF */ li r3, -1
|
|
/* 802461DC 0024313C 4D 82 00 20 */ beqlr
|
|
/* 802461E0 00243140 38 66 FF FF */ addi r3, r6, -1
|
|
/* 802461E4 00243144 4E 80 00 20 */ blr
|
|
lbl_802461E8:
|
|
/* 802461E8 00243148 38 06 00 05 */ addi r0, r6, 5
|
|
/* 802461EC 0024314C 7C 00 20 50 */ subf r0, r0, r4
|
|
/* 802461F0 00243150 7C 00 30 51 */ subf. r0, r0, r6
|
|
/* 802461F4 00243154 41 80 00 0C */ blt lbl_80246200
|
|
/* 802461F8 00243158 7C 03 03 78 */ mr r3, r0
|
|
/* 802461FC 0024315C 4E 80 00 20 */ blr
|
|
lbl_80246200:
|
|
/* 80246200 00243160 80 A3 01 F4 */ lwz r5, 0x1f4(r3)
|
|
/* 80246204 00243164 38 60 FF FF */ li r3, -1
|
|
/* 80246208 00243168 38 05 FF FF */ addi r0, r5, -1
|
|
/* 8024620C 0024316C 7C 04 00 00 */ cmpw r4, r0
|
|
/* 80246210 00243170 4C 80 00 20 */ bgelr
|
|
/* 80246214 00243174 38 64 00 01 */ addi r3, r4, 1
|
|
/* 80246218 00243178 4E 80 00 20 */ blr
|
|
|
|
.global PumpArticleLoad__14CLogBookScreenFv
|
|
PumpArticleLoad__14CLogBookScreenFv:
|
|
/* 8024621C 0024317C 94 21 FF A0 */ stwu r1, -0x60(r1)
|
|
/* 80246220 00243180 7C 08 02 A6 */ mflr r0
|
|
/* 80246224 00243184 90 01 00 64 */ stw r0, 0x64(r1)
|
|
/* 80246228 00243188 BF 61 00 4C */ stmw r27, 0x4c(r1)
|
|
/* 8024622C 0024318C 7C 7B 1B 78 */ mr r27, r3
|
|
/* 80246230 00243190 3B DB 02 04 */ addi r30, r27, 0x204
|
|
/* 80246234 00243194 38 60 00 01 */ li r3, 1
|
|
/* 80246238 00243198 7F DD F3 78 */ mr r29, r30
|
|
/* 8024623C 0024319C 88 1B 02 60 */ lbz r0, 0x260(r27)
|
|
/* 80246240 002431A0 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18
|
|
/* 80246244 002431A4 98 1B 02 60 */ stb r0, 0x260(r27)
|
|
/* 80246248 002431A8 48 00 01 A0 */ b lbl_802463E8
|
|
lbl_8024624C:
|
|
/* 8024624C 002431AC 83 FD 00 0C */ lwz r31, 0xc(r29)
|
|
/* 80246250 002431B0 48 00 01 7C */ b lbl_802463CC
|
|
lbl_80246254:
|
|
/* 80246254 002431B4 80 1F 00 08 */ lwz r0, 8(r31)
|
|
/* 80246258 002431B8 28 00 00 00 */ cmplwi r0, 0
|
|
/* 8024625C 002431BC 41 82 00 0C */ beq lbl_80246268
|
|
/* 80246260 002431C0 38 60 00 01 */ li r3, 1
|
|
/* 80246264 002431C4 48 00 00 3C */ b lbl_802462A0
|
|
lbl_80246268:
|
|
/* 80246268 002431C8 88 1F 00 04 */ lbz r0, 4(r31)
|
|
/* 8024626C 002431CC 28 00 00 00 */ cmplwi r0, 0
|
|
/* 80246270 002431D0 41 82 00 2C */ beq lbl_8024629C
|
|
/* 80246274 002431D4 80 7F 00 00 */ lwz r3, 0(r31)
|
|
/* 80246278 002431D8 80 03 00 10 */ lwz r0, 0x10(r3)
|
|
/* 8024627C 002431DC 28 00 00 00 */ cmplwi r0, 0
|
|
/* 80246280 002431E0 41 82 00 1C */ beq lbl_8024629C
|
|
/* 80246284 002431E4 7F E3 FB 78 */ mr r3, r31
|
|
/* 80246288 002431E8 48 0F AB 85 */ bl GetObj__6CTokenFv
|
|
/* 8024628C 002431EC 80 03 00 04 */ lwz r0, 4(r3)
|
|
/* 80246290 002431F0 38 60 00 01 */ li r3, 1
|
|
/* 80246294 002431F4 90 1F 00 08 */ stw r0, 8(r31)
|
|
/* 80246298 002431F8 48 00 00 08 */ b lbl_802462A0
|
|
lbl_8024629C:
|
|
/* 8024629C 002431FC 38 60 00 00 */ li r3, 0
|
|
lbl_802462A0:
|
|
/* 802462A0 00243200 54 60 06 3F */ clrlwi. r0, r3, 0x18
|
|
/* 802462A4 00243204 41 82 01 14 */ beq lbl_802463B8
|
|
/* 802462A8 00243208 3B 9F 00 0C */ addi r28, r31, 0xc
|
|
/* 802462AC 0024320C 88 1F 00 18 */ lbz r0, 0x18(r31)
|
|
/* 802462B0 00243210 28 00 00 00 */ cmplwi r0, 0
|
|
/* 802462B4 00243214 41 82 00 40 */ beq lbl_802462F4
|
|
/* 802462B8 00243218 80 1C 00 08 */ lwz r0, 8(r28)
|
|
/* 802462BC 0024321C 28 00 00 00 */ cmplwi r0, 0
|
|
/* 802462C0 00243220 40 82 01 08 */ bne lbl_802463C8
|
|
/* 802462C4 00243224 88 1C 00 04 */ lbz r0, 4(r28)
|
|
/* 802462C8 00243228 28 00 00 00 */ cmplwi r0, 0
|
|
/* 802462CC 0024322C 41 82 00 FC */ beq lbl_802463C8
|
|
/* 802462D0 00243230 80 7C 00 00 */ lwz r3, 0(r28)
|
|
/* 802462D4 00243234 80 03 00 10 */ lwz r0, 0x10(r3)
|
|
/* 802462D8 00243238 28 00 00 00 */ cmplwi r0, 0
|
|
/* 802462DC 0024323C 41 82 00 EC */ beq lbl_802463C8
|
|
/* 802462E0 00243240 7F 83 E3 78 */ mr r3, r28
|
|
/* 802462E4 00243244 48 0F AB 29 */ bl GetObj__6CTokenFv
|
|
/* 802462E8 00243248 80 03 00 04 */ lwz r0, 4(r3)
|
|
/* 802462EC 0024324C 90 1C 00 08 */ stw r0, 8(r28)
|
|
/* 802462F0 00243250 48 00 00 D8 */ b lbl_802463C8
|
|
lbl_802462F4:
|
|
/* 802462F4 00243254 80 BF 00 08 */ lwz r5, 8(r31)
|
|
/* 802462F8 00243258 3C 60 53 54 */ lis r3, 0x53545247@ha
|
|
/* 802462FC 0024325C 38 03 52 47 */ addi r0, r3, 0x53545247@l
|
|
/* 80246300 00243260 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
|
|
/* 80246304 00243264 80 C5 00 04 */ lwz r6, 4(r5)
|
|
/* 80246308 00243268 38 61 00 18 */ addi r3, r1, 0x18
|
|
/* 8024630C 0024326C 38 A1 00 20 */ addi r5, r1, 0x20
|
|
/* 80246310 00243270 90 01 00 20 */ stw r0, 0x20(r1)
|
|
/* 80246314 00243274 90 C1 00 24 */ stw r6, 0x24(r1)
|
|
/* 80246318 00243278 81 84 00 00 */ lwz r12, 0(r4)
|
|
/* 8024631C 0024327C 81 8C 00 0C */ lwz r12, 0xc(r12)
|
|
/* 80246320 00243280 7D 89 03 A6 */ mtctr r12
|
|
/* 80246324 00243284 4E 80 04 21 */ bctrl
|
|
/* 80246328 00243288 38 61 00 34 */ addi r3, r1, 0x34
|
|
/* 8024632C 0024328C 38 81 00 18 */ addi r4, r1, 0x18
|
|
/* 80246330 00243290 48 0F AB 79 */ bl __ct__6CTokenFRC6CToken
|
|
/* 80246334 00243294 38 00 00 00 */ li r0, 0
|
|
/* 80246338 00243298 90 01 00 3C */ stw r0, 0x3c(r1)
|
|
/* 8024633C 0024329C 88 1C 00 0C */ lbz r0, 0xc(r28)
|
|
/* 80246340 002432A0 28 00 00 00 */ cmplwi r0, 0
|
|
/* 80246344 002432A4 40 82 00 2C */ bne lbl_80246370
|
|
/* 80246348 002432A8 28 1C 00 00 */ cmplwi r28, 0
|
|
/* 8024634C 002432AC 41 82 00 18 */ beq lbl_80246364
|
|
/* 80246350 002432B0 7F 83 E3 78 */ mr r3, r28
|
|
/* 80246354 002432B4 38 81 00 34 */ addi r4, r1, 0x34
|
|
/* 80246358 002432B8 48 0F AB 51 */ bl __ct__6CTokenFRC6CToken
|
|
/* 8024635C 002432BC 80 01 00 3C */ lwz r0, 0x3c(r1)
|
|
/* 80246360 002432C0 90 1C 00 08 */ stw r0, 8(r28)
|
|
lbl_80246364:
|
|
/* 80246364 002432C4 38 00 00 01 */ li r0, 1
|
|
/* 80246368 002432C8 98 1C 00 0C */ stb r0, 0xc(r28)
|
|
/* 8024636C 002432CC 48 00 00 18 */ b lbl_80246384
|
|
lbl_80246370:
|
|
/* 80246370 002432D0 7F 83 E3 78 */ mr r3, r28
|
|
/* 80246374 002432D4 38 81 00 34 */ addi r4, r1, 0x34
|
|
/* 80246378 002432D8 48 0F A9 4D */ bl __as__6CTokenFRC6CToken
|
|
/* 8024637C 002432DC 80 01 00 3C */ lwz r0, 0x3c(r1)
|
|
/* 80246380 002432E0 90 1C 00 08 */ stw r0, 8(r28)
|
|
lbl_80246384:
|
|
/* 80246384 002432E4 38 61 00 34 */ addi r3, r1, 0x34
|
|
/* 80246388 002432E8 38 80 00 00 */ li r4, 0
|
|
/* 8024638C 002432EC 48 0F AA B5 */ bl __dt__6CTokenFv
|
|
/* 80246390 002432F0 38 61 00 18 */ addi r3, r1, 0x18
|
|
/* 80246394 002432F4 38 80 FF FF */ li r4, -1
|
|
/* 80246398 002432F8 48 0F AA A9 */ bl __dt__6CTokenFv
|
|
/* 8024639C 002432FC 7F 83 E3 78 */ mr r3, r28
|
|
/* 802463A0 00243300 48 0F A9 E5 */ bl Lock__6CTokenFv
|
|
/* 802463A4 00243304 88 1B 02 60 */ lbz r0, 0x260(r27)
|
|
/* 802463A8 00243308 38 60 00 00 */ li r3, 0
|
|
/* 802463AC 0024330C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18
|
|
/* 802463B0 00243310 98 1B 02 60 */ stb r0, 0x260(r27)
|
|
/* 802463B4 00243314 48 00 00 14 */ b lbl_802463C8
|
|
lbl_802463B8:
|
|
/* 802463B8 00243318 88 1B 02 60 */ lbz r0, 0x260(r27)
|
|
/* 802463BC 0024331C 38 60 00 00 */ li r3, 0
|
|
/* 802463C0 00243320 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18
|
|
/* 802463C4 00243324 98 1B 02 60 */ stb r0, 0x260(r27)
|
|
lbl_802463C8:
|
|
/* 802463C8 00243328 3B FF 00 1C */ addi r31, r31, 0x1c
|
|
lbl_802463CC:
|
|
/* 802463CC 0024332C 80 1D 00 04 */ lwz r0, 4(r29)
|
|
/* 802463D0 00243330 80 7D 00 0C */ lwz r3, 0xc(r29)
|
|
/* 802463D4 00243334 1C 00 00 1C */ mulli r0, r0, 0x1c
|
|
/* 802463D8 00243338 7C 03 02 14 */ add r0, r3, r0
|
|
/* 802463DC 0024333C 7C 1F 00 40 */ cmplw r31, r0
|
|
/* 802463E0 00243340 40 82 FE 74 */ bne lbl_80246254
|
|
/* 802463E4 00243344 3B BD 00 10 */ addi r29, r29, 0x10
|
|
lbl_802463E8:
|
|
/* 802463E8 00243348 80 1B 02 00 */ lwz r0, 0x200(r27)
|
|
/* 802463EC 0024334C 54 00 20 36 */ slwi r0, r0, 4
|
|
/* 802463F0 00243350 7C 1E 02 14 */ add r0, r30, r0
|
|
/* 802463F4 00243354 7C 1D 00 40 */ cmplw r29, r0
|
|
/* 802463F8 00243358 40 82 FE 54 */ bne lbl_8024624C
|
|
/* 802463FC 0024335C 83 FB 01 FC */ lwz r31, 0x1fc(r27)
|
|
/* 80246400 00243360 3B 80 00 06 */ li r28, 6
|
|
/* 80246404 00243364 48 00 01 54 */ b lbl_80246558
|
|
lbl_80246408:
|
|
/* 80246408 00243368 80 1F 00 08 */ lwz r0, 8(r31)
|
|
/* 8024640C 0024336C 38 80 00 00 */ li r4, 0
|
|
/* 80246410 00243370 28 00 00 00 */ cmplwi r0, 0
|
|
/* 80246414 00243374 40 82 00 14 */ bne lbl_80246428
|
|
/* 80246418 00243378 80 7F 00 00 */ lwz r3, 0(r31)
|
|
/* 8024641C 0024337C 80 03 00 10 */ lwz r0, 0x10(r3)
|
|
/* 80246420 00243380 28 00 00 00 */ cmplwi r0, 0
|
|
/* 80246424 00243384 41 82 00 08 */ beq lbl_8024642C
|
|
lbl_80246428:
|
|
/* 80246428 00243388 38 80 00 01 */ li r4, 1
|
|
lbl_8024642C:
|
|
/* 8024642C 0024338C 54 80 06 3F */ clrlwi. r0, r4, 0x18
|
|
/* 80246430 00243390 41 82 01 0C */ beq lbl_8024653C
|
|
/* 80246434 00243394 7F E3 FB 78 */ mr r3, r31
|
|
/* 80246438 00243398 48 0F A9 4D */ bl Lock__6CTokenFv
|
|
/* 8024643C 0024339C 80 1F 00 08 */ lwz r0, 8(r31)
|
|
/* 80246440 002433A0 28 00 00 00 */ cmplwi r0, 0
|
|
/* 80246444 002433A4 40 82 00 30 */ bne lbl_80246474
|
|
/* 80246448 002433A8 88 1F 00 04 */ lbz r0, 4(r31)
|
|
/* 8024644C 002433AC 28 00 00 00 */ cmplwi r0, 0
|
|
/* 80246450 002433B0 41 82 00 24 */ beq lbl_80246474
|
|
/* 80246454 002433B4 80 7F 00 00 */ lwz r3, 0(r31)
|
|
/* 80246458 002433B8 80 03 00 10 */ lwz r0, 0x10(r3)
|
|
/* 8024645C 002433BC 28 00 00 00 */ cmplwi r0, 0
|
|
/* 80246460 002433C0 41 82 00 14 */ beq lbl_80246474
|
|
/* 80246464 002433C4 7F E3 FB 78 */ mr r3, r31
|
|
/* 80246468 002433C8 48 0F A9 A5 */ bl GetObj__6CTokenFv
|
|
/* 8024646C 002433CC 80 03 00 04 */ lwz r0, 4(r3)
|
|
/* 80246470 002433D0 90 1F 00 08 */ stw r0, 8(r31)
|
|
lbl_80246474:
|
|
/* 80246474 002433D4 3B BF 00 0C */ addi r29, r31, 0xc
|
|
/* 80246478 002433D8 88 1F 00 18 */ lbz r0, 0x18(r31)
|
|
/* 8024647C 002433DC 28 00 00 00 */ cmplwi r0, 0
|
|
/* 80246480 002433E0 40 82 00 CC */ bne lbl_8024654C
|
|
/* 80246484 002433E4 80 BF 00 08 */ lwz r5, 8(r31)
|
|
/* 80246488 002433E8 3C 60 53 54 */ lis r3, 0x53545247@ha
|
|
/* 8024648C 002433EC 38 03 52 47 */ addi r0, r3, 0x53545247@l
|
|
/* 80246490 002433F0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
|
|
/* 80246494 002433F4 80 C5 00 04 */ lwz r6, 4(r5)
|
|
/* 80246498 002433F8 38 61 00 08 */ addi r3, r1, 8
|
|
/* 8024649C 002433FC 38 A1 00 10 */ addi r5, r1, 0x10
|
|
/* 802464A0 00243400 90 01 00 10 */ stw r0, 0x10(r1)
|
|
/* 802464A4 00243404 90 C1 00 14 */ stw r6, 0x14(r1)
|
|
/* 802464A8 00243408 81 84 00 00 */ lwz r12, 0(r4)
|
|
/* 802464AC 0024340C 81 8C 00 0C */ lwz r12, 0xc(r12)
|
|
/* 802464B0 00243410 7D 89 03 A6 */ mtctr r12
|
|
/* 802464B4 00243414 4E 80 04 21 */ bctrl
|
|
/* 802464B8 00243418 38 61 00 28 */ addi r3, r1, 0x28
|
|
/* 802464BC 0024341C 38 81 00 08 */ addi r4, r1, 8
|
|
/* 802464C0 00243420 48 0F A9 E9 */ bl __ct__6CTokenFRC6CToken
|
|
/* 802464C4 00243424 38 00 00 00 */ li r0, 0
|
|
/* 802464C8 00243428 90 01 00 30 */ stw r0, 0x30(r1)
|
|
/* 802464CC 0024342C 88 1D 00 0C */ lbz r0, 0xc(r29)
|
|
/* 802464D0 00243430 28 00 00 00 */ cmplwi r0, 0
|
|
/* 802464D4 00243434 40 82 00 2C */ bne lbl_80246500
|
|
/* 802464D8 00243438 28 1D 00 00 */ cmplwi r29, 0
|
|
/* 802464DC 0024343C 41 82 00 18 */ beq lbl_802464F4
|
|
/* 802464E0 00243440 7F A3 EB 78 */ mr r3, r29
|
|
/* 802464E4 00243444 38 81 00 28 */ addi r4, r1, 0x28
|
|
/* 802464E8 00243448 48 0F A9 C1 */ bl __ct__6CTokenFRC6CToken
|
|
/* 802464EC 0024344C 80 01 00 30 */ lwz r0, 0x30(r1)
|
|
/* 802464F0 00243450 90 1D 00 08 */ stw r0, 8(r29)
|
|
lbl_802464F4:
|
|
/* 802464F4 00243454 38 00 00 01 */ li r0, 1
|
|
/* 802464F8 00243458 98 1D 00 0C */ stb r0, 0xc(r29)
|
|
/* 802464FC 0024345C 48 00 00 18 */ b lbl_80246514
|
|
lbl_80246500:
|
|
/* 80246500 00243460 7F A3 EB 78 */ mr r3, r29
|
|
/* 80246504 00243464 38 81 00 28 */ addi r4, r1, 0x28
|
|
/* 80246508 00243468 48 0F A7 BD */ bl __as__6CTokenFRC6CToken
|
|
/* 8024650C 0024346C 80 01 00 30 */ lwz r0, 0x30(r1)
|
|
/* 80246510 00243470 90 1D 00 08 */ stw r0, 8(r29)
|
|
lbl_80246514:
|
|
/* 80246514 00243474 38 61 00 28 */ addi r3, r1, 0x28
|
|
/* 80246518 00243478 38 80 00 00 */ li r4, 0
|
|
/* 8024651C 0024347C 48 0F A9 25 */ bl __dt__6CTokenFv
|
|
/* 80246520 00243480 38 61 00 08 */ addi r3, r1, 8
|
|
/* 80246524 00243484 38 80 FF FF */ li r4, -1
|
|
/* 80246528 00243488 48 0F A9 19 */ bl __dt__6CTokenFv
|
|
/* 8024652C 0024348C 7F A3 EB 78 */ mr r3, r29
|
|
/* 80246530 00243490 48 0F A8 55 */ bl Lock__6CTokenFv
|
|
/* 80246534 00243494 3B 9C FF FF */ addi r28, r28, -1
|
|
/* 80246538 00243498 48 00 00 14 */ b lbl_8024654C
|
|
lbl_8024653C:
|
|
/* 8024653C 0024349C 88 1F 00 04 */ lbz r0, 4(r31)
|
|
/* 80246540 002434A0 28 00 00 00 */ cmplwi r0, 0
|
|
/* 80246544 002434A4 41 82 00 08 */ beq lbl_8024654C
|
|
/* 80246548 002434A8 3B 9C FF FF */ addi r28, r28, -1
|
|
lbl_8024654C:
|
|
/* 8024654C 002434AC 2C 1C 00 00 */ cmpwi r28, 0
|
|
/* 80246550 002434B0 41 82 00 20 */ beq lbl_80246570
|
|
/* 80246554 002434B4 3B FF 00 1C */ addi r31, r31, 0x1c
|
|
lbl_80246558:
|
|
/* 80246558 002434B8 80 1B 01 F4 */ lwz r0, 0x1f4(r27)
|
|
/* 8024655C 002434BC 80 7B 01 FC */ lwz r3, 0x1fc(r27)
|
|
/* 80246560 002434C0 1C 00 00 1C */ mulli r0, r0, 0x1c
|
|
/* 80246564 002434C4 7C 03 02 14 */ add r0, r3, r0
|
|
/* 80246568 002434C8 7C 1F 00 40 */ cmplw r31, r0
|
|
/* 8024656C 002434CC 40 82 FE 9C */ bne lbl_80246408
|
|
lbl_80246570:
|
|
/* 80246570 002434D0 80 1B 01 F4 */ lwz r0, 0x1f4(r27)
|
|
/* 80246574 002434D4 80 7B 00 18 */ lwz r3, 0x18(r27)
|
|
/* 80246578 002434D8 2C 00 00 00 */ cmpwi r0, 0
|
|
/* 8024657C 002434DC 41 82 00 48 */ beq lbl_802465C4
|
|
/* 80246580 002434E0 48 00 00 3C */ b lbl_802465BC
|
|
lbl_80246584:
|
|
/* 80246584 002434E4 1C 03 00 1C */ mulli r0, r3, 0x1c
|
|
/* 80246588 002434E8 80 9B 01 FC */ lwz r4, 0x1fc(r27)
|
|
/* 8024658C 002434EC 7C 7D 1B 78 */ mr r29, r3
|
|
/* 80246590 002434F0 7C 64 02 14 */ add r3, r4, r0
|
|
/* 80246594 002434F4 88 03 00 04 */ lbz r0, 4(r3)
|
|
/* 80246598 002434F8 28 00 00 00 */ cmplwi r0, 0
|
|
/* 8024659C 002434FC 40 82 00 0C */ bne lbl_802465A8
|
|
/* 802465A0 00243500 48 0F A7 E5 */ bl Lock__6CTokenFv
|
|
/* 802465A4 00243504 3B 9C FF FF */ addi r28, r28, -1
|
|
lbl_802465A8:
|
|
/* 802465A8 00243508 7F 63 DB 78 */ mr r3, r27
|
|
/* 802465AC 0024350C 7F A4 EB 78 */ mr r4, r29
|
|
/* 802465B0 00243510 4B FF FB D9 */ bl NextSurroundingArticleIndex__14CLogBookScreenFi
|
|
/* 802465B4 00243514 2C 03 FF FF */ cmpwi r3, -1
|
|
/* 802465B8 00243518 41 82 00 0C */ beq lbl_802465C4
|
|
lbl_802465BC:
|
|
/* 802465BC 0024351C 2C 1C 00 00 */ cmpwi r28, 0
|
|
/* 802465C0 00243520 41 81 FF C4 */ bgt lbl_80246584
|
|
lbl_802465C4:
|
|
/* 802465C4 00243524 3B 80 00 00 */ li r28, 0
|
|
/* 802465C8 00243528 3B E0 00 00 */ li r31, 0
|
|
/* 802465CC 0024352C 48 00 00 E4 */ b lbl_802466B0
|
|
lbl_802465D0:
|
|
/* 802465D0 00243530 80 1B 01 FC */ lwz r0, 0x1fc(r27)
|
|
/* 802465D4 00243534 7F A0 FA 14 */ add r29, r0, r31
|
|
/* 802465D8 00243538 80 1D 00 08 */ lwz r0, 8(r29)
|
|
/* 802465DC 0024353C 28 00 00 00 */ cmplwi r0, 0
|
|
/* 802465E0 00243540 41 82 00 0C */ beq lbl_802465EC
|
|
/* 802465E4 00243544 38 60 00 01 */ li r3, 1
|
|
/* 802465E8 00243548 48 00 00 3C */ b lbl_80246624
|
|
lbl_802465EC:
|
|
/* 802465EC 0024354C 88 1D 00 04 */ lbz r0, 4(r29)
|
|
/* 802465F0 00243550 28 00 00 00 */ cmplwi r0, 0
|
|
/* 802465F4 00243554 41 82 00 2C */ beq lbl_80246620
|
|
/* 802465F8 00243558 80 7D 00 00 */ lwz r3, 0(r29)
|
|
/* 802465FC 0024355C 80 03 00 10 */ lwz r0, 0x10(r3)
|
|
/* 80246600 00243560 28 00 00 00 */ cmplwi r0, 0
|
|
/* 80246604 00243564 41 82 00 1C */ beq lbl_80246620
|
|
/* 80246608 00243568 7F A3 EB 78 */ mr r3, r29
|
|
/* 8024660C 0024356C 48 0F A8 01 */ bl GetObj__6CTokenFv
|
|
/* 80246610 00243570 80 03 00 04 */ lwz r0, 4(r3)
|
|
/* 80246614 00243574 38 60 00 01 */ li r3, 1
|
|
/* 80246618 00243578 90 1D 00 08 */ stw r0, 8(r29)
|
|
/* 8024661C 0024357C 48 00 00 08 */ b lbl_80246624
|
|
lbl_80246620:
|
|
/* 80246620 00243580 38 60 00 00 */ li r3, 0
|
|
lbl_80246624:
|
|
/* 80246624 00243584 54 60 06 3F */ clrlwi. r0, r3, 0x18
|
|
/* 80246628 00243588 41 82 00 80 */ beq lbl_802466A8
|
|
/* 8024662C 0024358C 80 1B 01 FC */ lwz r0, 0x1fc(r27)
|
|
/* 80246630 00243590 3B BF 00 0C */ addi r29, r31, 0xc
|
|
/* 80246634 00243594 7F A0 EA 14 */ add r29, r0, r29
|
|
/* 80246638 00243598 88 1D 00 0C */ lbz r0, 0xc(r29)
|
|
/* 8024663C 0024359C 28 00 00 00 */ cmplwi r0, 0
|
|
/* 80246640 002435A0 41 82 00 68 */ beq lbl_802466A8
|
|
/* 80246644 002435A4 80 1D 00 08 */ lwz r0, 8(r29)
|
|
/* 80246648 002435A8 28 00 00 00 */ cmplwi r0, 0
|
|
/* 8024664C 002435AC 41 82 00 0C */ beq lbl_80246658
|
|
/* 80246650 002435B0 38 60 00 01 */ li r3, 1
|
|
/* 80246654 002435B4 48 00 00 3C */ b lbl_80246690
|
|
lbl_80246658:
|
|
/* 80246658 002435B8 88 1D 00 04 */ lbz r0, 4(r29)
|
|
/* 8024665C 002435BC 28 00 00 00 */ cmplwi r0, 0
|
|
/* 80246660 002435C0 41 82 00 2C */ beq lbl_8024668C
|
|
/* 80246664 002435C4 80 7D 00 00 */ lwz r3, 0(r29)
|
|
/* 80246668 002435C8 80 03 00 10 */ lwz r0, 0x10(r3)
|
|
/* 8024666C 002435CC 28 00 00 00 */ cmplwi r0, 0
|
|
/* 80246670 002435D0 41 82 00 1C */ beq lbl_8024668C
|
|
/* 80246674 002435D4 7F A3 EB 78 */ mr r3, r29
|
|
/* 80246678 002435D8 48 0F A7 95 */ bl GetObj__6CTokenFv
|
|
/* 8024667C 002435DC 80 03 00 04 */ lwz r0, 4(r3)
|
|
/* 80246680 002435E0 38 60 00 01 */ li r3, 1
|
|
/* 80246684 002435E4 90 1D 00 08 */ stw r0, 8(r29)
|
|
/* 80246688 002435E8 48 00 00 08 */ b lbl_80246690
|
|
lbl_8024668C:
|
|
/* 8024668C 002435EC 38 60 00 00 */ li r3, 0
|
|
lbl_80246690:
|
|
/* 80246690 002435F0 54 60 06 3F */ clrlwi. r0, r3, 0x18
|
|
/* 80246694 002435F4 41 82 00 14 */ beq lbl_802466A8
|
|
/* 80246698 002435F8 7F 63 DB 78 */ mr r3, r27
|
|
/* 8024669C 002435FC 4B FF F4 B9 */ bl UpdateRightTitles__14CLogBookScreenFv
|
|
/* 802466A0 00243600 7F 63 DB 78 */ mr r3, r27
|
|
/* 802466A4 00243604 4B FF F7 15 */ bl UpdateBodyText__14CLogBookScreenFv
|
|
lbl_802466A8:
|
|
/* 802466A8 00243608 3B FF 00 1C */ addi r31, r31, 0x1c
|
|
/* 802466AC 0024360C 3B 9C 00 01 */ addi r28, r28, 1
|
|
lbl_802466B0:
|
|
/* 802466B0 00243610 80 1B 01 F4 */ lwz r0, 0x1f4(r27)
|
|
/* 802466B4 00243614 7C 1C 00 00 */ cmpw r28, r0
|
|
/* 802466B8 00243618 41 80 FF 18 */ blt lbl_802465D0
|
|
/* 802466BC 0024361C BB 61 00 4C */ lmw r27, 0x4c(r1)
|
|
/* 802466C0 00243620 80 01 00 64 */ lwz r0, 0x64(r1)
|
|
/* 802466C4 00243624 7C 08 03 A6 */ mtlr r0
|
|
/* 802466C8 00243628 38 21 00 60 */ addi r1, r1, 0x60
|
|
/* 802466CC 0024362C 4E 80 00 20 */ blr
|
|
|
|
.global InitializeLogBook__14CLogBookScreenFv
|
|
InitializeLogBook__14CLogBookScreenFv:
|
|
/* 802466D0 00243630 94 21 FF 60 */ stwu r1, -0xa0(r1)
|
|
/* 802466D4 00243634 7C 08 02 A6 */ mflr r0
|
|
/* 802466D8 00243638 90 01 00 A4 */ stw r0, 0xa4(r1)
|
|
/* 802466DC 0024363C BE 81 00 70 */ stmw r20, 0x70(r1)
|
|
/* 802466E0 00243640 7C 7F 1B 78 */ mr r31, r3
|
|
/* 802466E4 00243644 3B 3F 01 A0 */ addi r25, r31, 0x1a0
|
|
/* 802466E8 00243648 3A A0 00 00 */ li r21, 0
|
|
/* 802466EC 0024364C 7F 34 CB 78 */ mr r20, r25
|
|
/* 802466F0 00243650 82 C3 00 04 */ lwz r22, 4(r3)
|
|
lbl_802466F4:
|
|
/* 802466F4 00243654 38 15 00 01 */ addi r0, r21, 1
|
|
/* 802466F8 00243658 80 8D A0 84 */ lwz r4, gpMemoryCard@sda21(r13)
|
|
/* 802466FC 0024365C 54 00 10 3A */ slwi r0, r0, 2
|
|
/* 80246700 00243660 7E 83 A3 78 */ mr r3, r20
|
|
/* 80246704 00243664 7C 84 02 14 */ add r4, r4, r0
|
|
/* 80246708 00243668 80 84 00 34 */ lwz r4, 0x34(r4)
|
|
/* 8024670C 0024366C 48 00 1A A1 */ bl sub_802481ac
|
|
/* 80246710 00243670 3A B5 00 01 */ addi r21, r21, 1
|
|
/* 80246714 00243674 3A 94 00 10 */ addi r20, r20, 0x10
|
|
/* 80246718 00243678 2C 15 00 05 */ cmpwi r21, 5
|
|
/* 8024671C 0024367C 41 80 FF D8 */ blt lbl_802466F4
|
|
/* 80246720 00243680 82 AD A0 84 */ lwz r21, gpMemoryCard@sda21(r13)
|
|
/* 80246724 00243684 80 76 08 B8 */ lwz r3, 0x8b8(r22)
|
|
/* 80246728 00243688 82 D5 00 2C */ lwz r22, 0x2c(r21)
|
|
/* 8024672C 0024368C 82 83 00 00 */ lwz r20, 0(r3)
|
|
/* 80246730 00243690 48 00 00 84 */ b lbl_802467B4
|
|
lbl_80246734:
|
|
/* 80246734 00243694 80 76 00 04 */ lwz r3, 4(r22)
|
|
/* 80246738 00243698 28 03 00 00 */ cmplwi r3, 0
|
|
/* 8024673C 0024369C 41 82 00 74 */ beq lbl_802467B0
|
|
/* 80246740 002436A0 38 03 FF FF */ addi r0, r3, -1
|
|
/* 80246744 002436A4 82 F6 00 00 */ lwz r23, 0(r22)
|
|
/* 80246748 002436A8 54 00 20 36 */ slwi r0, r0, 4
|
|
/* 8024674C 002436AC 7E 85 A3 78 */ mr r5, r20
|
|
/* 80246750 002436B0 7E E4 BB 78 */ mr r4, r23
|
|
/* 80246754 002436B4 7F 19 02 14 */ add r24, r25, r0
|
|
/* 80246758 002436B8 4B FF F2 D9 */ bl IsScanComplete__14CLogBookScreenF13EScanCategoryUiRC12CPlayerState
|
|
/* 8024675C 002436BC 80 18 00 04 */ lwz r0, 4(r24)
|
|
/* 80246760 002436C0 54 7A 06 3E */ clrlwi r26, r3, 0x18
|
|
/* 80246764 002436C4 80 B8 00 08 */ lwz r5, 8(r24)
|
|
/* 80246768 002436C8 7C 00 28 00 */ cmpw r0, r5
|
|
/* 8024676C 002436CC 41 80 00 1C */ blt lbl_80246788
|
|
/* 80246770 002436D0 2C 05 00 00 */ cmpwi r5, 0
|
|
/* 80246774 002436D4 7F 03 C3 78 */ mr r3, r24
|
|
/* 80246778 002436D8 38 80 00 04 */ li r4, 4
|
|
/* 8024677C 002436DC 41 82 00 08 */ beq lbl_80246784
|
|
/* 80246780 002436E0 54 A4 08 3C */ slwi r4, r5, 1
|
|
lbl_80246784:
|
|
/* 80246784 002436E4 48 00 1A 29 */ bl sub_802481ac
|
|
lbl_80246788:
|
|
/* 80246788 002436E8 80 18 00 04 */ lwz r0, 4(r24)
|
|
/* 8024678C 002436EC 80 78 00 0C */ lwz r3, 0xc(r24)
|
|
/* 80246790 002436F0 54 00 18 38 */ slwi r0, r0, 3
|
|
/* 80246794 002436F4 7C 63 02 15 */ add. r3, r3, r0
|
|
/* 80246798 002436F8 41 82 00 0C */ beq lbl_802467A4
|
|
/* 8024679C 002436FC 92 E3 00 00 */ stw r23, 0(r3)
|
|
/* 802467A0 00243700 9B 43 00 04 */ stb r26, 4(r3)
|
|
lbl_802467A4:
|
|
/* 802467A4 00243704 80 78 00 04 */ lwz r3, 4(r24)
|
|
/* 802467A8 00243708 38 03 00 01 */ addi r0, r3, 1
|
|
/* 802467AC 0024370C 90 18 00 04 */ stw r0, 4(r24)
|
|
lbl_802467B0:
|
|
/* 802467B0 00243710 3A D6 00 08 */ addi r22, r22, 8
|
|
lbl_802467B4:
|
|
/* 802467B4 00243714 80 15 00 24 */ lwz r0, 0x24(r21)
|
|
/* 802467B8 00243718 80 75 00 2C */ lwz r3, 0x2c(r21)
|
|
/* 802467BC 0024371C 54 00 18 38 */ slwi r0, r0, 3
|
|
/* 802467C0 00243720 7C 03 02 14 */ add r0, r3, r0
|
|
/* 802467C4 00243724 7C 16 00 40 */ cmplw r22, r0
|
|
/* 802467C8 00243728 40 82 FF 6C */ bne lbl_80246734
|
|
/* 802467CC 0024372C 88 0D A5 48 */ lbz r0, lbl_805A9108@sda21(r13)
|
|
/* 802467D0 00243730 38 61 00 1C */ addi r3, r1, 0x1c
|
|
/* 802467D4 00243734 38 81 00 14 */ addi r4, r1, 0x14
|
|
/* 802467D8 00243738 38 A1 00 08 */ addi r5, r1, 8
|
|
/* 802467DC 0024373C 98 01 00 08 */ stb r0, 8(r1)
|
|
/* 802467E0 00243740 80 19 00 44 */ lwz r0, 0x44(r25)
|
|
/* 802467E4 00243744 80 D9 00 4C */ lwz r6, 0x4c(r25)
|
|
/* 802467E8 00243748 54 00 18 38 */ slwi r0, r0, 3
|
|
/* 802467EC 0024374C 7C C6 02 14 */ add r6, r6, r0
|
|
/* 802467F0 00243750 90 C1 00 14 */ stw r6, 0x14(r1)
|
|
/* 802467F4 00243754 80 19 00 4C */ lwz r0, 0x4c(r25)
|
|
/* 802467F8 00243758 90 C1 00 10 */ stw r6, 0x10(r1)
|
|
/* 802467FC 0024375C 90 01 00 18 */ stw r0, 0x18(r1)
|
|
/* 80246800 00243760 90 01 00 1C */ stw r0, 0x1c(r1)
|
|
/* 80246804 00243764 48 00 17 D9 */ bl sub_80247fdc
|
|
/* 80246808 00243768 3C 60 53 43 */ lis r3, 0x5343414E@ha
|
|
/* 8024680C 0024376C 3B 41 00 58 */ addi r26, r1, 0x58
|
|
/* 80246810 00243770 3A A1 00 4C */ addi r21, r1, 0x4c
|
|
/* 80246814 00243774 3B 7F 02 04 */ addi r27, r31, 0x204
|
|
/* 80246818 00243778 3B C3 41 4E */ addi r30, r3, 0x5343414E@l
|
|
/* 8024681C 0024377C 3B 00 00 00 */ li r24, 0
|
|
/* 80246820 00243780 48 00 02 00 */ b lbl_80246A20
|
|
lbl_80246824:
|
|
/* 80246824 00243784 80 99 00 04 */ lwz r4, 4(r25)
|
|
/* 80246828 00243788 38 6D 96 F4 */ addi r3, r13, lbl_805A82B4@sda21
|
|
/* 8024682C 0024378C 80 0D 96 F4 */ lwz r0, lbl_805A82B4@sda21(r13)
|
|
/* 80246830 00243790 90 81 00 0C */ stw r4, 0xc(r1)
|
|
/* 80246834 00243794 7C 04 00 00 */ cmpw r4, r0
|
|
/* 80246838 00243798 40 80 00 08 */ bge lbl_80246840
|
|
/* 8024683C 0024379C 38 61 00 0C */ addi r3, r1, 0xc
|
|
lbl_80246840:
|
|
/* 80246840 002437A0 82 E3 00 00 */ lwz r23, 0(r3)
|
|
/* 80246844 002437A4 7F 63 DB 78 */ mr r3, r27
|
|
/* 80246848 002437A8 7E E4 BB 78 */ mr r4, r23
|
|
/* 8024684C 002437AC 48 00 1A 55 */ bl sub_802482a0
|
|
/* 80246850 002437B0 3B A0 00 00 */ li r29, 0
|
|
/* 80246854 002437B4 3A C0 00 00 */ li r22, 0
|
|
/* 80246858 002437B8 7F BC EB 78 */ mr r28, r29
|
|
/* 8024685C 002437BC 48 00 01 B0 */ b lbl_80246A0C
|
|
lbl_80246860:
|
|
/* 80246860 002437C0 80 D9 00 0C */ lwz r6, 0xc(r25)
|
|
/* 80246864 002437C4 38 61 00 20 */ addi r3, r1, 0x20
|
|
/* 80246868 002437C8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
|
|
/* 8024686C 002437CC 38 A1 00 28 */ addi r5, r1, 0x28
|
|
/* 80246870 002437D0 7C 06 E8 2E */ lwzx r0, r6, r29
|
|
/* 80246874 002437D4 93 C1 00 28 */ stw r30, 0x28(r1)
|
|
/* 80246878 002437D8 90 01 00 2C */ stw r0, 0x2c(r1)
|
|
/* 8024687C 002437DC 81 84 00 00 */ lwz r12, 0(r4)
|
|
/* 80246880 002437E0 81 8C 00 0C */ lwz r12, 0xc(r12)
|
|
/* 80246884 002437E4 7D 89 03 A6 */ mtctr r12
|
|
/* 80246888 002437E8 4E 80 04 21 */ bctrl
|
|
/* 8024688C 002437EC 38 61 00 40 */ addi r3, r1, 0x40
|
|
/* 80246890 002437F0 38 81 00 20 */ addi r4, r1, 0x20
|
|
/* 80246894 002437F4 48 0F A6 15 */ bl __ct__6CTokenFRC6CToken
|
|
/* 80246898 002437F8 38 00 00 00 */ li r0, 0
|
|
/* 8024689C 002437FC 7E A3 AB 78 */ mr r3, r21
|
|
/* 802468A0 00243800 90 01 00 48 */ stw r0, 0x48(r1)
|
|
/* 802468A4 00243804 38 81 00 40 */ addi r4, r1, 0x40
|
|
/* 802468A8 00243808 98 01 00 3C */ stb r0, 0x3c(r1)
|
|
/* 802468AC 0024380C 48 0F A5 FD */ bl __ct__6CTokenFRC6CToken
|
|
/* 802468B0 00243810 88 01 00 3C */ lbz r0, 0x3c(r1)
|
|
/* 802468B4 00243814 80 61 00 48 */ lwz r3, 0x48(r1)
|
|
/* 802468B8 00243818 28 00 00 00 */ cmplwi r0, 0
|
|
/* 802468BC 0024381C 98 01 00 64 */ stb r0, 0x64(r1)
|
|
/* 802468C0 00243820 90 75 00 08 */ stw r3, 8(r21)
|
|
/* 802468C4 00243824 41 82 00 20 */ beq lbl_802468E4
|
|
/* 802468C8 00243828 36 95 00 0C */ addic. r20, r21, 0xc
|
|
/* 802468CC 0024382C 38 81 00 30 */ addi r4, r1, 0x30
|
|
/* 802468D0 00243830 41 82 00 14 */ beq lbl_802468E4
|
|
/* 802468D4 00243834 7E 83 A3 78 */ mr r3, r20
|
|
/* 802468D8 00243838 48 0F A5 D1 */ bl __ct__6CTokenFRC6CToken
|
|
/* 802468DC 0024383C 80 01 00 38 */ lwz r0, 0x38(r1)
|
|
/* 802468E0 00243840 90 14 00 08 */ stw r0, 8(r20)
|
|
lbl_802468E4:
|
|
/* 802468E4 00243844 80 1B 00 04 */ lwz r0, 4(r27)
|
|
/* 802468E8 00243848 80 BB 00 08 */ lwz r5, 8(r27)
|
|
/* 802468EC 0024384C 7C 00 28 00 */ cmpw r0, r5
|
|
/* 802468F0 00243850 41 80 00 1C */ blt lbl_8024690C
|
|
/* 802468F4 00243854 2C 05 00 00 */ cmpwi r5, 0
|
|
/* 802468F8 00243858 7F 63 DB 78 */ mr r3, r27
|
|
/* 802468FC 0024385C 38 80 00 04 */ li r4, 4
|
|
/* 80246900 00243860 41 82 00 08 */ beq lbl_80246908
|
|
/* 80246904 00243864 54 A4 08 3C */ slwi r4, r5, 1
|
|
lbl_80246908:
|
|
/* 80246908 00243868 48 00 19 99 */ bl sub_802482a0
|
|
lbl_8024690C:
|
|
/* 8024690C 0024386C 80 1B 00 04 */ lwz r0, 4(r27)
|
|
/* 80246910 00243870 80 7B 00 0C */ lwz r3, 0xc(r27)
|
|
/* 80246914 00243874 1C 00 00 1C */ mulli r0, r0, 0x1c
|
|
/* 80246918 00243878 7E 83 02 15 */ add. r20, r3, r0
|
|
/* 8024691C 0024387C 41 82 00 48 */ beq lbl_80246964
|
|
/* 80246920 00243880 7E 83 A3 78 */ mr r3, r20
|
|
/* 80246924 00243884 38 81 00 4C */ addi r4, r1, 0x4c
|
|
/* 80246928 00243888 48 0F A5 81 */ bl __ct__6CTokenFRC6CToken
|
|
/* 8024692C 0024388C 80 01 00 54 */ lwz r0, 0x54(r1)
|
|
/* 80246930 00243890 90 14 00 08 */ stw r0, 8(r20)
|
|
/* 80246934 00243894 88 01 00 64 */ lbz r0, 0x64(r1)
|
|
/* 80246938 00243898 98 14 00 18 */ stb r0, 0x18(r20)
|
|
/* 8024693C 0024389C 88 01 00 64 */ lbz r0, 0x64(r1)
|
|
/* 80246940 002438A0 28 00 00 00 */ cmplwi r0, 0
|
|
/* 80246944 002438A4 41 82 00 20 */ beq lbl_80246964
|
|
/* 80246948 002438A8 36 94 00 0C */ addic. r20, r20, 0xc
|
|
/* 8024694C 002438AC 41 82 00 18 */ beq lbl_80246964
|
|
/* 80246950 002438B0 7E 83 A3 78 */ mr r3, r20
|
|
/* 80246954 002438B4 7F 44 D3 78 */ mr r4, r26
|
|
/* 80246958 002438B8 48 0F A5 51 */ bl __ct__6CTokenFRC6CToken
|
|
/* 8024695C 002438BC 80 1A 00 08 */ lwz r0, 8(r26)
|
|
/* 80246960 002438C0 90 14 00 08 */ stw r0, 8(r20)
|
|
lbl_80246964:
|
|
/* 80246964 002438C4 80 7B 00 04 */ lwz r3, 4(r27)
|
|
/* 80246968 002438C8 28 1A 00 00 */ cmplwi r26, 0
|
|
/* 8024696C 002438CC 38 03 00 01 */ addi r0, r3, 1
|
|
/* 80246970 002438D0 90 1B 00 04 */ stw r0, 4(r27)
|
|
/* 80246974 002438D4 41 82 00 30 */ beq lbl_802469A4
|
|
/* 80246978 002438D8 88 01 00 64 */ lbz r0, 0x64(r1)
|
|
/* 8024697C 002438DC 28 00 00 00 */ cmplwi r0, 0
|
|
/* 80246980 002438E0 41 82 00 1C */ beq lbl_8024699C
|
|
/* 80246984 002438E4 28 1A 00 00 */ cmplwi r26, 0
|
|
/* 80246988 002438E8 41 82 00 14 */ beq lbl_8024699C
|
|
/* 8024698C 002438EC 41 82 00 10 */ beq lbl_8024699C
|
|
/* 80246990 002438F0 7F 43 D3 78 */ mr r3, r26
|
|
/* 80246994 002438F4 38 80 00 00 */ li r4, 0
|
|
/* 80246998 002438F8 48 0F A4 A9 */ bl __dt__6CTokenFv
|
|
lbl_8024699C:
|
|
/* 8024699C 002438FC 38 00 00 00 */ li r0, 0
|
|
/* 802469A0 00243900 98 01 00 64 */ stb r0, 0x64(r1)
|
|
lbl_802469A4:
|
|
/* 802469A4 00243904 38 61 00 4C */ addi r3, r1, 0x4c
|
|
/* 802469A8 00243908 38 80 00 00 */ li r4, 0
|
|
/* 802469AC 0024390C 48 0F A4 95 */ bl __dt__6CTokenFv
|
|
/* 802469B0 00243910 88 01 00 3C */ lbz r0, 0x3c(r1)
|
|
/* 802469B4 00243914 28 00 00 00 */ cmplwi r0, 0
|
|
/* 802469B8 00243918 41 82 00 1C */ beq lbl_802469D4
|
|
/* 802469BC 0024391C 34 61 00 30 */ addic. r3, r1, 0x30
|
|
/* 802469C0 00243920 41 82 00 14 */ beq lbl_802469D4
|
|
/* 802469C4 00243924 28 03 00 00 */ cmplwi r3, 0
|
|
/* 802469C8 00243928 41 82 00 0C */ beq lbl_802469D4
|
|
/* 802469CC 0024392C 38 80 00 00 */ li r4, 0
|
|
/* 802469D0 00243930 48 0F A4 71 */ bl __dt__6CTokenFv
|
|
lbl_802469D4:
|
|
/* 802469D4 00243934 38 00 00 00 */ li r0, 0
|
|
/* 802469D8 00243938 38 61 00 40 */ addi r3, r1, 0x40
|
|
/* 802469DC 0024393C 98 01 00 3C */ stb r0, 0x3c(r1)
|
|
/* 802469E0 00243940 38 80 00 00 */ li r4, 0
|
|
/* 802469E4 00243944 48 0F A4 5D */ bl __dt__6CTokenFv
|
|
/* 802469E8 00243948 38 61 00 20 */ addi r3, r1, 0x20
|
|
/* 802469EC 0024394C 38 80 FF FF */ li r4, -1
|
|
/* 802469F0 00243950 48 0F A4 51 */ bl __dt__6CTokenFv
|
|
/* 802469F4 00243954 80 1B 00 0C */ lwz r0, 0xc(r27)
|
|
/* 802469F8 00243958 7C 60 E2 14 */ add r3, r0, r28
|
|
/* 802469FC 0024395C 48 0F A3 89 */ bl Lock__6CTokenFv
|
|
/* 80246A00 00243960 3B BD 00 08 */ addi r29, r29, 8
|
|
/* 80246A04 00243964 3B 9C 00 1C */ addi r28, r28, 0x1c
|
|
/* 80246A08 00243968 3A D6 00 01 */ addi r22, r22, 1
|
|
lbl_80246A0C:
|
|
/* 80246A0C 0024396C 7C 16 B8 00 */ cmpw r22, r23
|
|
/* 80246A10 00243970 41 80 FE 50 */ blt lbl_80246860
|
|
/* 80246A14 00243974 3B 39 00 10 */ addi r25, r25, 0x10
|
|
/* 80246A18 00243978 3B 7B 00 10 */ addi r27, r27, 0x10
|
|
/* 80246A1C 0024397C 3B 18 00 01 */ addi r24, r24, 1
|
|
lbl_80246A20:
|
|
/* 80246A20 00243980 80 1F 01 9C */ lwz r0, 0x19c(r31)
|
|
/* 80246A24 00243984 7C 18 00 00 */ cmpw r24, r0
|
|
/* 80246A28 00243988 41 80 FD FC */ blt lbl_80246824
|
|
/* 80246A2C 0024398C BA 81 00 70 */ lmw r20, 0x70(r1)
|
|
/* 80246A30 00243990 80 01 00 A4 */ lwz r0, 0xa4(r1)
|
|
/* 80246A34 00243994 7C 08 03 A6 */ mtlr r0
|
|
/* 80246A38 00243998 38 21 00 A0 */ addi r1, r1, 0xa0
|
|
/* 80246A3C 0024399C 4E 80 00 20 */ blr
|
|
|
|
.global RightTableSelectionChanged__14CLogBookScreenFii
|
|
RightTableSelectionChanged__14CLogBookScreenFii:
|
|
/* 80246A40 002439A0 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80246A44 002439A4 7C 08 02 A6 */ mflr r0
|
|
/* 80246A48 002439A8 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80246A4C 002439AC 4B FF F1 09 */ bl UpdateRightTitles__14CLogBookScreenFv
|
|
/* 80246A50 002439B0 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80246A54 002439B4 7C 08 03 A6 */ mtlr r0
|
|
/* 80246A58 002439B8 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80246A5C 002439BC 4E 80 00 20 */ blr
|
|
|
|
.global GetRightTableCount__14CLogBookScreenCFv
|
|
GetRightTableCount__14CLogBookScreenCFv:
|
|
/* 80246A60 002439C0 80 63 01 F4 */ lwz r3, 0x1f4(r3)
|
|
/* 80246A64 002439C4 4E 80 00 20 */ blr
|
|
|
|
.global ShouldRightTableAdvance__14CLogBookScreenFv
|
|
ShouldRightTableAdvance__14CLogBookScreenFv:
|
|
/* 80246A68 002439C8 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80246A6C 002439CC 7C 08 02 A6 */ mflr r0
|
|
/* 80246A70 002439D0 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80246A74 002439D4 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 80246A78 002439D8 7C 7F 1B 78 */ mr r31, r3
|
|
/* 80246A7C 002439DC 93 C1 00 08 */ stw r30, 8(r1)
|
|
/* 80246A80 002439E0 80 03 00 1C */ lwz r0, 0x1c(r3)
|
|
/* 80246A84 002439E4 80 63 01 FC */ lwz r3, 0x1fc(r3)
|
|
/* 80246A88 002439E8 1C 00 00 1C */ mulli r0, r0, 0x1c
|
|
/* 80246A8C 002439EC 7F C3 02 14 */ add r30, r3, r0
|
|
/* 80246A90 002439F0 80 1E 00 08 */ lwz r0, 8(r30)
|
|
/* 80246A94 002439F4 28 00 00 00 */ cmplwi r0, 0
|
|
/* 80246A98 002439F8 41 82 00 0C */ beq lbl_80246AA4
|
|
/* 80246A9C 002439FC 38 60 00 01 */ li r3, 1
|
|
/* 80246AA0 00243A00 48 00 00 3C */ b lbl_80246ADC
|
|
lbl_80246AA4:
|
|
/* 80246AA4 00243A04 88 1E 00 04 */ lbz r0, 4(r30)
|
|
/* 80246AA8 00243A08 28 00 00 00 */ cmplwi r0, 0
|
|
/* 80246AAC 00243A0C 41 82 00 2C */ beq lbl_80246AD8
|
|
/* 80246AB0 00243A10 80 7E 00 00 */ lwz r3, 0(r30)
|
|
/* 80246AB4 00243A14 80 03 00 10 */ lwz r0, 0x10(r3)
|
|
/* 80246AB8 00243A18 28 00 00 00 */ cmplwi r0, 0
|
|
/* 80246ABC 00243A1C 41 82 00 1C */ beq lbl_80246AD8
|
|
/* 80246AC0 00243A20 7F C3 F3 78 */ mr r3, r30
|
|
/* 80246AC4 00243A24 48 0F A3 49 */ bl GetObj__6CTokenFv
|
|
/* 80246AC8 00243A28 80 03 00 04 */ lwz r0, 4(r3)
|
|
/* 80246ACC 00243A2C 38 60 00 01 */ li r3, 1
|
|
/* 80246AD0 00243A30 90 1E 00 08 */ stw r0, 8(r30)
|
|
/* 80246AD4 00243A34 48 00 00 08 */ b lbl_80246ADC
|
|
lbl_80246AD8:
|
|
/* 80246AD8 00243A38 38 60 00 00 */ li r3, 0
|
|
lbl_80246ADC:
|
|
/* 80246ADC 00243A3C 54 60 06 3F */ clrlwi. r0, r3, 0x18
|
|
/* 80246AE0 00243A40 40 82 00 0C */ bne lbl_80246AEC
|
|
/* 80246AE4 00243A44 38 60 00 00 */ li r3, 0
|
|
/* 80246AE8 00243A48 48 00 00 BC */ b lbl_80246BA4
|
|
lbl_80246AEC:
|
|
/* 80246AEC 00243A4C 88 1E 00 18 */ lbz r0, 0x18(r30)
|
|
/* 80246AF0 00243A50 28 00 00 00 */ cmplwi r0, 0
|
|
/* 80246AF4 00243A54 40 82 00 0C */ bne lbl_80246B00
|
|
/* 80246AF8 00243A58 38 60 00 00 */ li r3, 0
|
|
/* 80246AFC 00243A5C 48 00 00 A8 */ b lbl_80246BA4
|
|
lbl_80246B00:
|
|
/* 80246B00 00243A60 3B DE 00 0C */ addi r30, r30, 0xc
|
|
/* 80246B04 00243A64 80 1E 00 08 */ lwz r0, 8(r30)
|
|
/* 80246B08 00243A68 28 00 00 00 */ cmplwi r0, 0
|
|
/* 80246B0C 00243A6C 41 82 00 0C */ beq lbl_80246B18
|
|
/* 80246B10 00243A70 38 60 00 01 */ li r3, 1
|
|
/* 80246B14 00243A74 48 00 00 3C */ b lbl_80246B50
|
|
lbl_80246B18:
|
|
/* 80246B18 00243A78 88 1E 00 04 */ lbz r0, 4(r30)
|
|
/* 80246B1C 00243A7C 28 00 00 00 */ cmplwi r0, 0
|
|
/* 80246B20 00243A80 41 82 00 2C */ beq lbl_80246B4C
|
|
/* 80246B24 00243A84 80 7E 00 00 */ lwz r3, 0(r30)
|
|
/* 80246B28 00243A88 80 03 00 10 */ lwz r0, 0x10(r3)
|
|
/* 80246B2C 00243A8C 28 00 00 00 */ cmplwi r0, 0
|
|
/* 80246B30 00243A90 41 82 00 1C */ beq lbl_80246B4C
|
|
/* 80246B34 00243A94 7F C3 F3 78 */ mr r3, r30
|
|
/* 80246B38 00243A98 48 0F A2 D5 */ bl GetObj__6CTokenFv
|
|
/* 80246B3C 00243A9C 80 03 00 04 */ lwz r0, 4(r3)
|
|
/* 80246B40 00243AA0 38 60 00 01 */ li r3, 1
|
|
/* 80246B44 00243AA4 90 1E 00 08 */ stw r0, 8(r30)
|
|
/* 80246B48 00243AA8 48 00 00 08 */ b lbl_80246B50
|
|
lbl_80246B4C:
|
|
/* 80246B4C 00243AAC 38 60 00 00 */ li r3, 0
|
|
lbl_80246B50:
|
|
/* 80246B50 00243AB0 54 60 06 3F */ clrlwi. r0, r3, 0x18
|
|
/* 80246B54 00243AB4 40 82 00 0C */ bne lbl_80246B60
|
|
/* 80246B58 00243AB8 38 60 00 00 */ li r3, 0
|
|
/* 80246B5C 00243ABC 48 00 00 48 */ b lbl_80246BA4
|
|
lbl_80246B60:
|
|
/* 80246B60 00243AC0 88 1F 01 98 */ lbz r0, 0x198(r31)
|
|
/* 80246B64 00243AC4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f
|
|
/* 80246B68 00243AC8 40 82 00 38 */ bne lbl_80246BA0
|
|
/* 80246B6C 00243ACC 80 7F 00 70 */ lwz r3, 0x70(r31)
|
|
/* 80246B70 00243AD0 80 1F 00 1C */ lwz r0, 0x1c(r31)
|
|
/* 80246B74 00243AD4 80 83 00 C4 */ lwz r4, 0xc4(r3)
|
|
/* 80246B78 00243AD8 54 03 18 38 */ slwi r3, r0, 3
|
|
/* 80246B7C 00243ADC 54 80 20 36 */ slwi r0, r4, 4
|
|
/* 80246B80 00243AE0 7C 9F 02 14 */ add r4, r31, r0
|
|
/* 80246B84 00243AE4 38 03 00 04 */ addi r0, r3, 4
|
|
/* 80246B88 00243AE8 80 64 01 AC */ lwz r3, 0x1ac(r4)
|
|
/* 80246B8C 00243AEC 7C 03 00 AE */ lbzx r0, r3, r0
|
|
/* 80246B90 00243AF0 28 00 00 00 */ cmplwi r0, 0
|
|
/* 80246B94 00243AF4 41 82 00 0C */ beq lbl_80246BA0
|
|
/* 80246B98 00243AF8 38 60 00 01 */ li r3, 1
|
|
/* 80246B9C 00243AFC 48 00 00 08 */ b lbl_80246BA4
|
|
lbl_80246BA0:
|
|
/* 80246BA0 00243B00 38 60 00 00 */ li r3, 0
|
|
lbl_80246BA4:
|
|
/* 80246BA4 00243B04 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80246BA8 00243B08 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80246BAC 00243B0C 83 C1 00 08 */ lwz r30, 8(r1)
|
|
/* 80246BB0 00243B10 7C 08 03 A6 */ mtlr r0
|
|
/* 80246BB4 00243B14 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80246BB8 00243B18 4E 80 00 20 */ blr
|
|
|
|
.global ShouldLeftTableAdvance__14CLogBookScreenFv
|
|
ShouldLeftTableAdvance__14CLogBookScreenFv:
|
|
/* 80246BBC 00243B1C 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80246BC0 00243B20 7C 08 02 A6 */ mflr r0
|
|
/* 80246BC4 00243B24 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80246BC8 00243B28 88 03 02 60 */ lbz r0, 0x260(r3)
|
|
/* 80246BCC 00243B2C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
|
|
/* 80246BD0 00243B30 41 82 00 10 */ beq lbl_80246BE0
|
|
/* 80246BD4 00243B34 80 03 01 F4 */ lwz r0, 0x1f4(r3)
|
|
/* 80246BD8 00243B38 2C 00 00 00 */ cmpwi r0, 0
|
|
/* 80246BDC 00243B3C 40 82 00 0C */ bne lbl_80246BE8
|
|
lbl_80246BE0:
|
|
/* 80246BE0 00243B40 38 60 00 00 */ li r3, 0
|
|
/* 80246BE4 00243B44 48 00 00 14 */ b lbl_80246BF8
|
|
lbl_80246BE8:
|
|
/* 80246BE8 00243B48 80 83 00 70 */ lwz r4, 0x70(r3)
|
|
/* 80246BEC 00243B4C 80 84 00 C4 */ lwz r4, 0xc4(r4)
|
|
/* 80246BF0 00243B50 38 84 00 01 */ addi r4, r4, 1
|
|
/* 80246BF4 00243B54 4B FF EE A1 */ bl IsScanCategoryReady__14CLogBookScreenF13EScanCategory
|
|
lbl_80246BF8:
|
|
/* 80246BF8 00243B58 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80246BFC 00243B5C 7C 08 03 A6 */ mtlr r0
|
|
/* 80246C00 00243B60 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80246C04 00243B64 4E 80 00 20 */ blr
|
|
|
|
.global UpdateRightTable__14CLogBookScreenFv
|
|
UpdateRightTable__14CLogBookScreenFv:
|
|
/* 80246C08 00243B68 94 21 FF 80 */ stwu r1, -0x80(r1)
|
|
/* 80246C0C 00243B6C 7C 08 02 A6 */ mflr r0
|
|
/* 80246C10 00243B70 90 01 00 84 */ stw r0, 0x84(r1)
|
|
/* 80246C14 00243B74 BF 21 00 64 */ stmw r25, 0x64(r1)
|
|
/* 80246C18 00243B78 7C 7B 1B 78 */ mr r27, r3
|
|
/* 80246C1C 00243B7C 4B E2 A1 B1 */ bl UpdateRightTable__16CPauseScreenBaseFv
|
|
/* 80246C20 00243B80 80 BB 00 70 */ lwz r5, 0x70(r27)
|
|
/* 80246C24 00243B84 38 00 00 00 */ li r0, 0
|
|
/* 80246C28 00243B88 38 7B 01 F0 */ addi r3, r27, 0x1f0
|
|
/* 80246C2C 00243B8C 38 81 00 28 */ addi r4, r1, 0x28
|
|
/* 80246C30 00243B90 80 A5 00 C4 */ lwz r5, 0xc4(r5)
|
|
/* 80246C34 00243B94 54 A5 20 36 */ slwi r5, r5, 4
|
|
/* 80246C38 00243B98 7F DB 2A 14 */ add r30, r27, r5
|
|
/* 80246C3C 00243B9C 83 3E 01 A4 */ lwz r25, 0x1a4(r30)
|
|
/* 80246C40 00243BA0 90 01 00 2C */ stw r0, 0x2c(r1)
|
|
/* 80246C44 00243BA4 90 01 00 30 */ stw r0, 0x30(r1)
|
|
/* 80246C48 00243BA8 90 01 00 34 */ stw r0, 0x34(r1)
|
|
/* 80246C4C 00243BAC 48 00 02 09 */ bl sub_80246e54
|
|
/* 80246C50 00243BB0 38 61 00 28 */ addi r3, r1, 0x28
|
|
/* 80246C54 00243BB4 38 80 FF FF */ li r4, -1
|
|
/* 80246C58 00243BB8 48 00 03 F1 */ bl sub_80247048
|
|
/* 80246C5C 00243BBC 7F 24 CB 78 */ mr r4, r25
|
|
/* 80246C60 00243BC0 38 7B 01 F0 */ addi r3, r27, 0x1f0
|
|
/* 80246C64 00243BC4 48 00 16 3D */ bl sub_802482a0
|
|
/* 80246C68 00243BC8 3C 60 53 43 */ lis r3, 0x5343414E@ha
|
|
/* 80246C6C 00243BCC 83 BE 01 AC */ lwz r29, 0x1ac(r30)
|
|
/* 80246C70 00243BD0 3B 41 00 44 */ addi r26, r1, 0x44
|
|
/* 80246C74 00243BD4 3B 81 00 50 */ addi r28, r1, 0x50
|
|
/* 80246C78 00243BD8 3B E3 41 4E */ addi r31, r3, 0x5343414E@l
|
|
/* 80246C7C 00243BDC 48 00 01 9C */ b lbl_80246E18
|
|
lbl_80246C80:
|
|
/* 80246C80 00243BE0 80 1D 00 00 */ lwz r0, 0(r29)
|
|
/* 80246C84 00243BE4 38 61 00 08 */ addi r3, r1, 8
|
|
/* 80246C88 00243BE8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
|
|
/* 80246C8C 00243BEC 38 A1 00 10 */ addi r5, r1, 0x10
|
|
/* 80246C90 00243BF0 93 E1 00 10 */ stw r31, 0x10(r1)
|
|
/* 80246C94 00243BF4 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80246C98 00243BF8 81 84 00 00 */ lwz r12, 0(r4)
|
|
/* 80246C9C 00243BFC 81 8C 00 0C */ lwz r12, 0xc(r12)
|
|
/* 80246CA0 00243C00 7D 89 03 A6 */ mtctr r12
|
|
/* 80246CA4 00243C04 4E 80 04 21 */ bctrl
|
|
/* 80246CA8 00243C08 38 61 00 38 */ addi r3, r1, 0x38
|
|
/* 80246CAC 00243C0C 38 81 00 08 */ addi r4, r1, 8
|
|
/* 80246CB0 00243C10 48 0F A1 F9 */ bl __ct__6CTokenFRC6CToken
|
|
/* 80246CB4 00243C14 38 00 00 00 */ li r0, 0
|
|
/* 80246CB8 00243C18 38 61 00 08 */ addi r3, r1, 8
|
|
/* 80246CBC 00243C1C 90 01 00 40 */ stw r0, 0x40(r1)
|
|
/* 80246CC0 00243C20 38 80 FF FF */ li r4, -1
|
|
/* 80246CC4 00243C24 48 0F A1 7D */ bl __dt__6CTokenFv
|
|
/* 80246CC8 00243C28 38 00 00 00 */ li r0, 0
|
|
/* 80246CCC 00243C2C 7F 43 D3 78 */ mr r3, r26
|
|
/* 80246CD0 00243C30 98 01 00 24 */ stb r0, 0x24(r1)
|
|
/* 80246CD4 00243C34 38 81 00 38 */ addi r4, r1, 0x38
|
|
/* 80246CD8 00243C38 48 0F A1 D1 */ bl __ct__6CTokenFRC6CToken
|
|
/* 80246CDC 00243C3C 88 01 00 24 */ lbz r0, 0x24(r1)
|
|
/* 80246CE0 00243C40 80 61 00 40 */ lwz r3, 0x40(r1)
|
|
/* 80246CE4 00243C44 28 00 00 00 */ cmplwi r0, 0
|
|
/* 80246CE8 00243C48 98 01 00 5C */ stb r0, 0x5c(r1)
|
|
/* 80246CEC 00243C4C 90 7A 00 08 */ stw r3, 8(r26)
|
|
/* 80246CF0 00243C50 41 82 00 20 */ beq lbl_80246D10
|
|
/* 80246CF4 00243C54 37 3A 00 0C */ addic. r25, r26, 0xc
|
|
/* 80246CF8 00243C58 38 81 00 18 */ addi r4, r1, 0x18
|
|
/* 80246CFC 00243C5C 41 82 00 14 */ beq lbl_80246D10
|
|
/* 80246D00 00243C60 7F 23 CB 78 */ mr r3, r25
|
|
/* 80246D04 00243C64 48 0F A1 A5 */ bl __ct__6CTokenFRC6CToken
|
|
/* 80246D08 00243C68 80 01 00 20 */ lwz r0, 0x20(r1)
|
|
/* 80246D0C 00243C6C 90 19 00 08 */ stw r0, 8(r25)
|
|
lbl_80246D10:
|
|
/* 80246D10 00243C70 80 1B 01 F4 */ lwz r0, 0x1f4(r27)
|
|
/* 80246D14 00243C74 80 BB 01 F8 */ lwz r5, 0x1f8(r27)
|
|
/* 80246D18 00243C78 7C 00 28 00 */ cmpw r0, r5
|
|
/* 80246D1C 00243C7C 41 80 00 1C */ blt lbl_80246D38
|
|
/* 80246D20 00243C80 2C 05 00 00 */ cmpwi r5, 0
|
|
/* 80246D24 00243C84 38 7B 01 F0 */ addi r3, r27, 0x1f0
|
|
/* 80246D28 00243C88 38 80 00 04 */ li r4, 4
|
|
/* 80246D2C 00243C8C 41 82 00 08 */ beq lbl_80246D34
|
|
/* 80246D30 00243C90 54 A4 08 3C */ slwi r4, r5, 1
|
|
lbl_80246D34:
|
|
/* 80246D34 00243C94 48 00 15 6D */ bl sub_802482a0
|
|
lbl_80246D38:
|
|
/* 80246D38 00243C98 80 1B 01 F4 */ lwz r0, 0x1f4(r27)
|
|
/* 80246D3C 00243C9C 80 7B 01 FC */ lwz r3, 0x1fc(r27)
|
|
/* 80246D40 00243CA0 1C 00 00 1C */ mulli r0, r0, 0x1c
|
|
/* 80246D44 00243CA4 7F 23 02 15 */ add. r25, r3, r0
|
|
/* 80246D48 00243CA8 41 82 00 48 */ beq lbl_80246D90
|
|
/* 80246D4C 00243CAC 7F 23 CB 78 */ mr r3, r25
|
|
/* 80246D50 00243CB0 38 81 00 44 */ addi r4, r1, 0x44
|
|
/* 80246D54 00243CB4 48 0F A1 55 */ bl __ct__6CTokenFRC6CToken
|
|
/* 80246D58 00243CB8 80 01 00 4C */ lwz r0, 0x4c(r1)
|
|
/* 80246D5C 00243CBC 90 19 00 08 */ stw r0, 8(r25)
|
|
/* 80246D60 00243CC0 88 01 00 5C */ lbz r0, 0x5c(r1)
|
|
/* 80246D64 00243CC4 98 19 00 18 */ stb r0, 0x18(r25)
|
|
/* 80246D68 00243CC8 88 01 00 5C */ lbz r0, 0x5c(r1)
|
|
/* 80246D6C 00243CCC 28 00 00 00 */ cmplwi r0, 0
|
|
/* 80246D70 00243CD0 41 82 00 20 */ beq lbl_80246D90
|
|
/* 80246D74 00243CD4 37 39 00 0C */ addic. r25, r25, 0xc
|
|
/* 80246D78 00243CD8 41 82 00 18 */ beq lbl_80246D90
|
|
/* 80246D7C 00243CDC 7F 23 CB 78 */ mr r3, r25
|
|
/* 80246D80 00243CE0 7F 84 E3 78 */ mr r4, r28
|
|
/* 80246D84 00243CE4 48 0F A1 25 */ bl __ct__6CTokenFRC6CToken
|
|
/* 80246D88 00243CE8 80 01 00 58 */ lwz r0, 0x58(r1)
|
|
/* 80246D8C 00243CEC 90 19 00 08 */ stw r0, 8(r25)
|
|
lbl_80246D90:
|
|
/* 80246D90 00243CF0 80 7B 01 F4 */ lwz r3, 0x1f4(r27)
|
|
/* 80246D94 00243CF4 28 1C 00 00 */ cmplwi r28, 0
|
|
/* 80246D98 00243CF8 38 03 00 01 */ addi r0, r3, 1
|
|
/* 80246D9C 00243CFC 90 1B 01 F4 */ stw r0, 0x1f4(r27)
|
|
/* 80246DA0 00243D00 41 82 00 30 */ beq lbl_80246DD0
|
|
/* 80246DA4 00243D04 88 01 00 5C */ lbz r0, 0x5c(r1)
|
|
/* 80246DA8 00243D08 28 00 00 00 */ cmplwi r0, 0
|
|
/* 80246DAC 00243D0C 41 82 00 1C */ beq lbl_80246DC8
|
|
/* 80246DB0 00243D10 28 1C 00 00 */ cmplwi r28, 0
|
|
/* 80246DB4 00243D14 41 82 00 14 */ beq lbl_80246DC8
|
|
/* 80246DB8 00243D18 41 82 00 10 */ beq lbl_80246DC8
|
|
/* 80246DBC 00243D1C 7F 83 E3 78 */ mr r3, r28
|
|
/* 80246DC0 00243D20 38 80 00 00 */ li r4, 0
|
|
/* 80246DC4 00243D24 48 0F A0 7D */ bl __dt__6CTokenFv
|
|
lbl_80246DC8:
|
|
/* 80246DC8 00243D28 38 00 00 00 */ li r0, 0
|
|
/* 80246DCC 00243D2C 98 01 00 5C */ stb r0, 0x5c(r1)
|
|
lbl_80246DD0:
|
|
/* 80246DD0 00243D30 38 61 00 44 */ addi r3, r1, 0x44
|
|
/* 80246DD4 00243D34 38 80 00 00 */ li r4, 0
|
|
/* 80246DD8 00243D38 48 0F A0 69 */ bl __dt__6CTokenFv
|
|
/* 80246DDC 00243D3C 88 01 00 24 */ lbz r0, 0x24(r1)
|
|
/* 80246DE0 00243D40 28 00 00 00 */ cmplwi r0, 0
|
|
/* 80246DE4 00243D44 41 82 00 1C */ beq lbl_80246E00
|
|
/* 80246DE8 00243D48 34 61 00 18 */ addic. r3, r1, 0x18
|
|
/* 80246DEC 00243D4C 41 82 00 14 */ beq lbl_80246E00
|
|
/* 80246DF0 00243D50 28 03 00 00 */ cmplwi r3, 0
|
|
/* 80246DF4 00243D54 41 82 00 0C */ beq lbl_80246E00
|
|
/* 80246DF8 00243D58 38 80 00 00 */ li r4, 0
|
|
/* 80246DFC 00243D5C 48 0F A0 45 */ bl __dt__6CTokenFv
|
|
lbl_80246E00:
|
|
/* 80246E00 00243D60 38 00 00 00 */ li r0, 0
|
|
/* 80246E04 00243D64 38 61 00 38 */ addi r3, r1, 0x38
|
|
/* 80246E08 00243D68 98 01 00 24 */ stb r0, 0x24(r1)
|
|
/* 80246E0C 00243D6C 38 80 00 00 */ li r4, 0
|
|
/* 80246E10 00243D70 48 0F A0 31 */ bl __dt__6CTokenFv
|
|
/* 80246E14 00243D74 3B BD 00 08 */ addi r29, r29, 8
|
|
lbl_80246E18:
|
|
/* 80246E18 00243D78 80 1E 01 A4 */ lwz r0, 0x1a4(r30)
|
|
/* 80246E1C 00243D7C 80 7E 01 AC */ lwz r3, 0x1ac(r30)
|
|
/* 80246E20 00243D80 54 00 18 38 */ slwi r0, r0, 3
|
|
/* 80246E24 00243D84 7C 03 02 14 */ add r0, r3, r0
|
|
/* 80246E28 00243D88 7C 1D 00 40 */ cmplw r29, r0
|
|
/* 80246E2C 00243D8C 40 82 FE 54 */ bne lbl_80246C80
|
|
/* 80246E30 00243D90 7F 63 DB 78 */ mr r3, r27
|
|
/* 80246E34 00243D94 4B FF F3 E9 */ bl PumpArticleLoad__14CLogBookScreenFv
|
|
/* 80246E38 00243D98 7F 63 DB 78 */ mr r3, r27
|
|
/* 80246E3C 00243D9C 4B FF ED 19 */ bl UpdateRightTitles__14CLogBookScreenFv
|
|
/* 80246E40 00243DA0 BB 21 00 64 */ lmw r25, 0x64(r1)
|
|
/* 80246E44 00243DA4 80 01 00 84 */ lwz r0, 0x84(r1)
|
|
/* 80246E48 00243DA8 7C 08 03 A6 */ mtlr r0
|
|
/* 80246E4C 00243DAC 38 21 00 80 */ addi r1, r1, 0x80
|
|
/* 80246E50 00243DB0 4E 80 00 20 */ blr
|
|
|
|
.global sub_80246e54
|
|
sub_80246e54:
|
|
/* 80246E54 00243DB4 94 21 FF D0 */ stwu r1, -0x30(r1)
|
|
/* 80246E58 00243DB8 7C 08 02 A6 */ mflr r0
|
|
/* 80246E5C 00243DBC 90 01 00 34 */ stw r0, 0x34(r1)
|
|
/* 80246E60 00243DC0 BF 21 00 14 */ stmw r25, 0x14(r1)
|
|
/* 80246E64 00243DC4 7C 79 1B 78 */ mr r25, r3
|
|
/* 80246E68 00243DC8 7C 9A 23 78 */ mr r26, r4
|
|
/* 80246E6C 00243DCC 7C 19 D0 40 */ cmplw r25, r26
|
|
/* 80246E70 00243DD0 40 82 00 08 */ bne lbl_80246E78
|
|
/* 80246E74 00243DD4 48 00 00 C4 */ b lbl_80246F38
|
|
lbl_80246E78:
|
|
/* 80246E78 00243DD8 48 00 00 D5 */ bl sub_80246f4c
|
|
/* 80246E7C 00243DDC 80 9A 00 04 */ lwz r4, 4(r26)
|
|
/* 80246E80 00243DE0 2C 04 00 00 */ cmpwi r4, 0
|
|
/* 80246E84 00243DE4 40 82 00 28 */ bne lbl_80246EAC
|
|
/* 80246E88 00243DE8 80 79 00 0C */ lwz r3, 0xc(r25)
|
|
/* 80246E8C 00243DEC 28 03 00 00 */ cmplwi r3, 0
|
|
/* 80246E90 00243DF0 41 82 00 08 */ beq lbl_80246E98
|
|
/* 80246E94 00243DF4 48 0C EA 9D */ bl Free__7CMemoryFPCv
|
|
lbl_80246E98:
|
|
/* 80246E98 00243DF8 38 00 00 00 */ li r0, 0
|
|
/* 80246E9C 00243DFC 90 19 00 04 */ stw r0, 4(r25)
|
|
/* 80246EA0 00243E00 90 19 00 08 */ stw r0, 8(r25)
|
|
/* 80246EA4 00243E04 90 19 00 0C */ stw r0, 0xc(r25)
|
|
/* 80246EA8 00243E08 48 00 00 8C */ b lbl_80246F34
|
|
lbl_80246EAC:
|
|
/* 80246EAC 00243E0C 7F 23 CB 78 */ mr r3, r25
|
|
/* 80246EB0 00243E10 48 00 13 F1 */ bl sub_802482a0
|
|
/* 80246EB4 00243E14 80 1A 00 04 */ lwz r0, 4(r26)
|
|
/* 80246EB8 00243E18 83 7A 00 0C */ lwz r27, 0xc(r26)
|
|
/* 80246EBC 00243E1C 1C 00 00 1C */ mulli r0, r0, 0x1c
|
|
/* 80246EC0 00243E20 83 F9 00 0C */ lwz r31, 0xc(r25)
|
|
/* 80246EC4 00243E24 7F DB 02 14 */ add r30, r27, r0
|
|
/* 80246EC8 00243E28 48 00 00 5C */ b lbl_80246F24
|
|
lbl_80246ECC:
|
|
/* 80246ECC 00243E2C 28 1F 00 00 */ cmplwi r31, 0
|
|
/* 80246ED0 00243E30 41 82 00 4C */ beq lbl_80246F1C
|
|
/* 80246ED4 00243E34 7F E3 FB 78 */ mr r3, r31
|
|
/* 80246ED8 00243E38 7F 64 DB 78 */ mr r4, r27
|
|
/* 80246EDC 00243E3C 48 0F 9F CD */ bl __ct__6CTokenFRC6CToken
|
|
/* 80246EE0 00243E40 80 1B 00 08 */ lwz r0, 8(r27)
|
|
/* 80246EE4 00243E44 90 1F 00 08 */ stw r0, 8(r31)
|
|
/* 80246EE8 00243E48 88 1B 00 18 */ lbz r0, 0x18(r27)
|
|
/* 80246EEC 00243E4C 98 1F 00 18 */ stb r0, 0x18(r31)
|
|
/* 80246EF0 00243E50 88 1B 00 18 */ lbz r0, 0x18(r27)
|
|
/* 80246EF4 00243E54 28 00 00 00 */ cmplwi r0, 0
|
|
/* 80246EF8 00243E58 41 82 00 24 */ beq lbl_80246F1C
|
|
/* 80246EFC 00243E5C 37 BF 00 0C */ addic. r29, r31, 0xc
|
|
/* 80246F00 00243E60 3B 9B 00 0C */ addi r28, r27, 0xc
|
|
/* 80246F04 00243E64 41 82 00 18 */ beq lbl_80246F1C
|
|
/* 80246F08 00243E68 7F A3 EB 78 */ mr r3, r29
|
|
/* 80246F0C 00243E6C 7F 84 E3 78 */ mr r4, r28
|
|
/* 80246F10 00243E70 48 0F 9F 99 */ bl __ct__6CTokenFRC6CToken
|
|
/* 80246F14 00243E74 80 1C 00 08 */ lwz r0, 8(r28)
|
|
/* 80246F18 00243E78 90 1D 00 08 */ stw r0, 8(r29)
|
|
lbl_80246F1C:
|
|
/* 80246F1C 00243E7C 3B FF 00 1C */ addi r31, r31, 0x1c
|
|
/* 80246F20 00243E80 3B 7B 00 1C */ addi r27, r27, 0x1c
|
|
lbl_80246F24:
|
|
/* 80246F24 00243E84 7C 1B F0 40 */ cmplw r27, r30
|
|
/* 80246F28 00243E88 40 82 FF A4 */ bne lbl_80246ECC
|
|
/* 80246F2C 00243E8C 80 1A 00 04 */ lwz r0, 4(r26)
|
|
/* 80246F30 00243E90 90 19 00 04 */ stw r0, 4(r25)
|
|
lbl_80246F34:
|
|
/* 80246F34 00243E94 7F 23 CB 78 */ mr r3, r25
|
|
lbl_80246F38:
|
|
/* 80246F38 00243E98 BB 21 00 14 */ lmw r25, 0x14(r1)
|
|
/* 80246F3C 00243E9C 80 01 00 34 */ lwz r0, 0x34(r1)
|
|
/* 80246F40 00243EA0 7C 08 03 A6 */ mtlr r0
|
|
/* 80246F44 00243EA4 38 21 00 30 */ addi r1, r1, 0x30
|
|
/* 80246F48 00243EA8 4E 80 00 20 */ blr
|
|
|
|
.global sub_80246f4c
|
|
sub_80246f4c:
|
|
/* 80246F4C 00243EAC 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 80246F50 00243EB0 7C 08 02 A6 */ mflr r0
|
|
/* 80246F54 00243EB4 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 80246F58 00243EB8 38 81 00 0C */ addi r4, r1, 0xc
|
|
/* 80246F5C 00243EBC 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 80246F60 00243EC0 7C 7F 1B 78 */ mr r31, r3
|
|
/* 80246F64 00243EC4 38 61 00 14 */ addi r3, r1, 0x14
|
|
/* 80246F68 00243EC8 80 1F 00 04 */ lwz r0, 4(r31)
|
|
/* 80246F6C 00243ECC 80 BF 00 0C */ lwz r5, 0xc(r31)
|
|
/* 80246F70 00243ED0 1C 00 00 1C */ mulli r0, r0, 0x1c
|
|
/* 80246F74 00243ED4 7C A5 02 14 */ add r5, r5, r0
|
|
/* 80246F78 00243ED8 90 A1 00 0C */ stw r5, 0xc(r1)
|
|
/* 80246F7C 00243EDC 80 1F 00 0C */ lwz r0, 0xc(r31)
|
|
/* 80246F80 00243EE0 90 A1 00 08 */ stw r5, 8(r1)
|
|
/* 80246F84 00243EE4 90 01 00 10 */ stw r0, 0x10(r1)
|
|
/* 80246F88 00243EE8 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80246F8C 00243EEC 48 00 00 21 */ bl sub_80246fac
|
|
/* 80246F90 00243EF0 38 00 00 00 */ li r0, 0
|
|
/* 80246F94 00243EF4 90 1F 00 04 */ stw r0, 4(r31)
|
|
/* 80246F98 00243EF8 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 80246F9C 00243EFC 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 80246FA0 00243F00 7C 08 03 A6 */ mtlr r0
|
|
/* 80246FA4 00243F04 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 80246FA8 00243F08 4E 80 00 20 */ blr
|
|
|
|
.global sub_80246fac
|
|
sub_80246fac:
|
|
/* 80246FAC 00243F0C 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80246FB0 00243F10 7C 08 02 A6 */ mflr r0
|
|
/* 80246FB4 00243F14 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80246FB8 00243F18 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 80246FBC 00243F1C 93 C1 00 08 */ stw r30, 8(r1)
|
|
/* 80246FC0 00243F20 7C 9E 23 78 */ mr r30, r4
|
|
/* 80246FC4 00243F24 83 E3 00 00 */ lwz r31, 0(r3)
|
|
/* 80246FC8 00243F28 48 00 00 5C */ b lbl_80247024
|
|
lbl_80246FCC:
|
|
/* 80246FCC 00243F2C 28 1F 00 00 */ cmplwi r31, 0
|
|
/* 80246FD0 00243F30 41 82 00 50 */ beq lbl_80247020
|
|
/* 80246FD4 00243F34 34 1F 00 0C */ addic. r0, r31, 0xc
|
|
/* 80246FD8 00243F38 41 82 00 30 */ beq lbl_80247008
|
|
/* 80246FDC 00243F3C 88 1F 00 18 */ lbz r0, 0x18(r31)
|
|
/* 80246FE0 00243F40 28 00 00 00 */ cmplwi r0, 0
|
|
/* 80246FE4 00243F44 41 82 00 1C */ beq lbl_80247000
|
|
/* 80246FE8 00243F48 34 7F 00 0C */ addic. r3, r31, 0xc
|
|
/* 80246FEC 00243F4C 41 82 00 14 */ beq lbl_80247000
|
|
/* 80246FF0 00243F50 28 03 00 00 */ cmplwi r3, 0
|
|
/* 80246FF4 00243F54 41 82 00 0C */ beq lbl_80247000
|
|
/* 80246FF8 00243F58 38 80 00 00 */ li r4, 0
|
|
/* 80246FFC 00243F5C 48 0F 9E 45 */ bl __dt__6CTokenFv
|
|
lbl_80247000:
|
|
/* 80247000 00243F60 38 00 00 00 */ li r0, 0
|
|
/* 80247004 00243F64 98 1F 00 18 */ stb r0, 0x18(r31)
|
|
lbl_80247008:
|
|
/* 80247008 00243F68 28 1F 00 00 */ cmplwi r31, 0
|
|
/* 8024700C 00243F6C 41 82 00 14 */ beq lbl_80247020
|
|
/* 80247010 00243F70 41 82 00 10 */ beq lbl_80247020
|
|
/* 80247014 00243F74 7F E3 FB 78 */ mr r3, r31
|
|
/* 80247018 00243F78 38 80 00 00 */ li r4, 0
|
|
/* 8024701C 00243F7C 48 0F 9E 25 */ bl __dt__6CTokenFv
|
|
lbl_80247020:
|
|
/* 80247020 00243F80 3B FF 00 1C */ addi r31, r31, 0x1c
|
|
lbl_80247024:
|
|
/* 80247024 00243F84 80 1E 00 00 */ lwz r0, 0(r30)
|
|
/* 80247028 00243F88 7C 1F 00 40 */ cmplw r31, r0
|
|
/* 8024702C 00243F8C 40 82 FF A0 */ bne lbl_80246FCC
|
|
/* 80247030 00243F90 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80247034 00243F94 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80247038 00243F98 83 C1 00 08 */ lwz r30, 8(r1)
|
|
/* 8024703C 00243F9C 7C 08 03 A6 */ mtlr r0
|
|
/* 80247040 00243FA0 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80247044 00243FA4 4E 80 00 20 */ blr
|
|
|
|
.global sub_80247048
|
|
sub_80247048:
|
|
/* 80247048 00243FA8 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 8024704C 00243FAC 7C 08 02 A6 */ mflr r0
|
|
/* 80247050 00243FB0 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 80247054 00243FB4 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 80247058 00243FB8 7C 9F 23 78 */ mr r31, r4
|
|
/* 8024705C 00243FBC 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
/* 80247060 00243FC0 7C 7E 1B 79 */ or. r30, r3, r3
|
|
/* 80247064 00243FC4 41 82 00 54 */ beq lbl_802470B8
|
|
/* 80247068 00243FC8 80 1E 00 04 */ lwz r0, 4(r30)
|
|
/* 8024706C 00243FCC 38 61 00 14 */ addi r3, r1, 0x14
|
|
/* 80247070 00243FD0 80 BE 00 0C */ lwz r5, 0xc(r30)
|
|
/* 80247074 00243FD4 38 81 00 0C */ addi r4, r1, 0xc
|
|
/* 80247078 00243FD8 1C 00 00 1C */ mulli r0, r0, 0x1c
|
|
/* 8024707C 00243FDC 7C A5 02 14 */ add r5, r5, r0
|
|
/* 80247080 00243FE0 90 A1 00 0C */ stw r5, 0xc(r1)
|
|
/* 80247084 00243FE4 80 1E 00 0C */ lwz r0, 0xc(r30)
|
|
/* 80247088 00243FE8 90 A1 00 08 */ stw r5, 8(r1)
|
|
/* 8024708C 00243FEC 90 01 00 10 */ stw r0, 0x10(r1)
|
|
/* 80247090 00243FF0 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80247094 00243FF4 4B FF FF 19 */ bl sub_80246fac
|
|
/* 80247098 00243FF8 80 7E 00 0C */ lwz r3, 0xc(r30)
|
|
/* 8024709C 00243FFC 28 03 00 00 */ cmplwi r3, 0
|
|
/* 802470A0 00244000 41 82 00 08 */ beq lbl_802470A8
|
|
/* 802470A4 00244004 48 0C E8 8D */ bl Free__7CMemoryFPCv
|
|
lbl_802470A8:
|
|
/* 802470A8 00244008 7F E0 07 35 */ extsh. r0, r31
|
|
/* 802470AC 0024400C 40 81 00 0C */ ble lbl_802470B8
|
|
/* 802470B0 00244010 7F C3 F3 78 */ mr r3, r30
|
|
/* 802470B4 00244014 48 0C E8 7D */ bl Free__7CMemoryFPCv
|
|
lbl_802470B8:
|
|
/* 802470B8 00244018 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 802470BC 0024401C 7F C3 F3 78 */ mr r3, r30
|
|
/* 802470C0 00244020 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 802470C4 00244024 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
/* 802470C8 00244028 7C 08 03 A6 */ mtlr r0
|
|
/* 802470CC 0024402C 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 802470D0 00244030 4E 80 00 20 */ blr
|
|
|
|
.global ChangedMode__14CLogBookScreenQ216CPauseScreenBase5EMode
|
|
ChangedMode__14CLogBookScreenQ216CPauseScreenBase5EMode:
|
|
/* 802470D4 00244034 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 802470D8 00244038 7C 08 02 A6 */ mflr r0
|
|
/* 802470DC 0024403C 2C 04 00 02 */ cmpwi r4, 2
|
|
/* 802470E0 00244040 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 802470E4 00244044 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 802470E8 00244048 7C 7F 1B 78 */ mr r31, r3
|
|
/* 802470EC 0024404C 40 82 00 40 */ bne lbl_8024712C
|
|
/* 802470F0 00244050 80 7F 00 74 */ lwz r3, 0x74(r31)
|
|
/* 802470F4 00244054 38 80 00 00 */ li r4, 0
|
|
/* 802470F8 00244058 38 A0 00 01 */ li r5, 1
|
|
/* 802470FC 0024405C 48 08 35 ED */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode
|
|
/* 80247100 00244060 80 7F 00 88 */ lwz r3, 0x88(r31)
|
|
/* 80247104 00244064 38 80 00 00 */ li r4, 0
|
|
/* 80247108 00244068 38 A0 00 01 */ li r5, 1
|
|
/* 8024710C 0024406C 48 08 35 DD */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode
|
|
/* 80247110 00244070 7F E3 FB 78 */ mr r3, r31
|
|
/* 80247114 00244074 4B FF EC A5 */ bl UpdateBodyText__14CLogBookScreenFv
|
|
/* 80247118 00244078 80 7F 01 74 */ lwz r3, 0x174(r31)
|
|
/* 8024711C 0024407C 38 80 00 00 */ li r4, 0
|
|
/* 80247120 00244080 38 63 00 D4 */ addi r3, r3, 0xd4
|
|
/* 80247124 00244084 48 08 0C E5 */ bl SetPage__15CGuiTextSupportFi
|
|
/* 80247128 00244088 48 00 00 48 */ b lbl_80247170
|
|
lbl_8024712C:
|
|
/* 8024712C 0024408C 80 1F 00 10 */ lwz r0, 0x10(r31)
|
|
/* 80247130 00244090 2C 00 00 02 */ cmpwi r0, 2
|
|
/* 80247134 00244094 40 82 00 3C */ bne lbl_80247170
|
|
/* 80247138 00244098 80 7F 00 74 */ lwz r3, 0x74(r31)
|
|
/* 8024713C 0024409C 38 80 00 01 */ li r4, 1
|
|
/* 80247140 002440A0 38 A0 00 01 */ li r5, 1
|
|
/* 80247144 002440A4 48 08 35 A5 */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode
|
|
/* 80247148 002440A8 80 7F 00 88 */ lwz r3, 0x88(r31)
|
|
/* 8024714C 002440AC 38 80 00 01 */ li r4, 1
|
|
/* 80247150 002440B0 38 A0 00 01 */ li r5, 1
|
|
/* 80247154 002440B4 48 08 35 95 */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode
|
|
/* 80247158 002440B8 88 1F 02 60 */ lbz r0, 0x260(r31)
|
|
/* 8024715C 002440BC 38 60 00 01 */ li r3, 1
|
|
/* 80247160 002440C0 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19
|
|
/* 80247164 002440C4 7F E3 FB 78 */ mr r3, r31
|
|
/* 80247168 002440C8 98 1F 02 60 */ stb r0, 0x260(r31)
|
|
/* 8024716C 002440CC 4B FF EE C5 */ bl UpdateBodyImagesAndText__14CLogBookScreenFv
|
|
lbl_80247170:
|
|
/* 80247170 002440D0 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80247174 002440D4 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80247178 002440D8 7C 08 03 A6 */ mtlr r0
|
|
/* 8024717C 002440DC 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80247180 002440E0 4E 80 00 20 */ blr
|
|
|
|
.global VActivate__14CLogBookScreenFv
|
|
VActivate__14CLogBookScreenFv:
|
|
/* 80247184 002440E4 94 21 FF B0 */ stwu r1, -0x50(r1)
|
|
/* 80247188 002440E8 7C 08 02 A6 */ mflr r0
|
|
/* 8024718C 002440EC 90 01 00 54 */ stw r0, 0x54(r1)
|
|
/* 80247190 002440F0 93 E1 00 4C */ stw r31, 0x4c(r1)
|
|
/* 80247194 002440F4 93 C1 00 48 */ stw r30, 0x48(r1)
|
|
/* 80247198 002440F8 3B C0 00 00 */ li r30, 0
|
|
/* 8024719C 002440FC 93 A1 00 44 */ stw r29, 0x44(r1)
|
|
/* 802471A0 00244100 93 81 00 40 */ stw r28, 0x40(r1)
|
|
/* 802471A4 00244104 7C 7C 1B 78 */ mr r28, r3
|
|
/* 802471A8 00244108 3B FC 00 AC */ addi r31, r28, 0xac
|
|
lbl_802471AC:
|
|
/* 802471AC 0024410C 83 BF 00 00 */ lwz r29, 0(r31)
|
|
/* 802471B0 00244110 7F 83 E3 78 */ mr r3, r28
|
|
/* 802471B4 00244114 38 9E 00 01 */ addi r4, r30, 1
|
|
/* 802471B8 00244118 4B FF E8 DD */ bl IsScanCategoryReady__14CLogBookScreenF13EScanCategory
|
|
/* 802471BC 0024411C 54 60 06 3F */ clrlwi. r0, r3, 0x18
|
|
/* 802471C0 00244120 41 82 00 40 */ beq lbl_80247200
|
|
/* 802471C4 00244124 80 7C 00 0C */ lwz r3, 0xc(r28)
|
|
/* 802471C8 00244128 38 9E 00 01 */ addi r4, r30, 1
|
|
/* 802471CC 0024412C 48 10 F5 31 */ bl GetString__12CStringTableCFi
|
|
/* 802471D0 00244130 7C 64 1B 78 */ mr r4, r3
|
|
/* 802471D4 00244134 38 61 00 30 */ addi r3, r1, 0x30
|
|
/* 802471D8 00244138 38 C1 00 0C */ addi r6, r1, 0xc
|
|
/* 802471DC 0024413C 38 A0 FF FF */ li r5, -1
|
|
/* 802471E0 00244140 48 0F 65 DD */ bl "__ct__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator"
|
|
/* 802471E4 00244144 38 7D 00 D4 */ addi r3, r29, 0xd4
|
|
/* 802471E8 00244148 38 81 00 30 */ addi r4, r1, 0x30
|
|
/* 802471EC 0024414C 38 A0 00 00 */ li r5, 0
|
|
/* 802471F0 00244150 48 08 26 95 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>"
|
|
/* 802471F4 00244154 38 61 00 30 */ addi r3, r1, 0x30
|
|
/* 802471F8 00244158 48 0F 5F 3D */ bl "internal_dereference__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>Fv"
|
|
/* 802471FC 0024415C 48 00 00 58 */ b lbl_80247254
|
|
lbl_80247200:
|
|
/* 80247200 00244160 3C 80 80 3F */ lis r4, lbl_803E8BCC@ha
|
|
/* 80247204 00244164 38 61 00 20 */ addi r3, r1, 0x20
|
|
/* 80247208 00244168 38 84 8B CC */ addi r4, r4, lbl_803E8BCC@l
|
|
/* 8024720C 0024416C 38 84 00 14 */ addi r4, r4, 0x14
|
|
/* 80247210 00244170 4B DC E7 E1 */ bl wstring_l__4rstlFPCw
|
|
/* 80247214 00244174 38 7D 00 D4 */ addi r3, r29, 0xd4
|
|
/* 80247218 00244178 38 81 00 20 */ addi r4, r1, 0x20
|
|
/* 8024721C 0024417C 38 A0 00 00 */ li r5, 0
|
|
/* 80247220 00244180 48 08 26 65 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>"
|
|
/* 80247224 00244184 38 61 00 20 */ addi r3, r1, 0x20
|
|
/* 80247228 00244188 48 0F 5F 0D */ bl "internal_dereference__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>Fv"
|
|
/* 8024722C 0024418C 80 7C 00 70 */ lwz r3, 0x70(r28)
|
|
/* 80247230 00244190 7F C4 F3 78 */ mr r4, r30
|
|
/* 80247234 00244194 81 83 00 00 */ lwz r12, 0(r3)
|
|
/* 80247238 00244198 81 8C 00 3C */ lwz r12, 0x3c(r12)
|
|
/* 8024723C 0024419C 7D 89 03 A6 */ mtctr r12
|
|
/* 80247240 002441A0 4E 80 04 21 */ bctrl
|
|
/* 80247244 002441A4 88 03 00 B6 */ lbz r0, 0xb6(r3)
|
|
/* 80247248 002441A8 38 80 00 00 */ li r4, 0
|
|
/* 8024724C 002441AC 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b
|
|
/* 80247250 002441B0 98 03 00 B6 */ stb r0, 0xb6(r3)
|
|
lbl_80247254:
|
|
/* 80247254 002441B4 3B DE 00 01 */ addi r30, r30, 1
|
|
/* 80247258 002441B8 3B FF 00 04 */ addi r31, r31, 4
|
|
/* 8024725C 002441BC 2C 1E 00 05 */ cmpwi r30, 5
|
|
/* 80247260 002441C0 41 80 FF 4C */ blt lbl_802471AC
|
|
/* 80247264 002441C4 80 7C 00 0C */ lwz r3, 0xc(r28)
|
|
/* 80247268 002441C8 38 80 00 00 */ li r4, 0
|
|
/* 8024726C 002441CC 48 10 F4 91 */ bl GetString__12CStringTableCFi
|
|
/* 80247270 002441D0 7C 64 1B 78 */ mr r4, r3
|
|
/* 80247274 002441D4 38 61 00 10 */ addi r3, r1, 0x10
|
|
/* 80247278 002441D8 38 C1 00 08 */ addi r6, r1, 8
|
|
/* 8024727C 002441DC 38 A0 FF FF */ li r5, -1
|
|
/* 80247280 002441E0 48 0F 65 3D */ bl "__ct__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator"
|
|
/* 80247284 002441E4 80 7C 01 78 */ lwz r3, 0x178(r28)
|
|
/* 80247288 002441E8 38 81 00 10 */ addi r4, r1, 0x10
|
|
/* 8024728C 002441EC 38 A0 00 00 */ li r5, 0
|
|
/* 80247290 002441F0 38 63 00 D4 */ addi r3, r3, 0xd4
|
|
/* 80247294 002441F4 48 08 25 F1 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>"
|
|
/* 80247298 002441F8 38 61 00 10 */ addi r3, r1, 0x10
|
|
/* 8024729C 002441FC 48 0F 5E 99 */ bl "internal_dereference__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>Fv"
|
|
/* 802472A0 00244200 3B A0 00 05 */ li r29, 5
|
|
/* 802472A4 00244204 3B E0 00 00 */ li r31, 0
|
|
/* 802472A8 00244208 48 00 00 2C */ b lbl_802472D4
|
|
lbl_802472AC:
|
|
/* 802472AC 0024420C 80 7C 00 70 */ lwz r3, 0x70(r28)
|
|
/* 802472B0 00244210 7F A4 EB 78 */ mr r4, r29
|
|
/* 802472B4 00244214 81 83 00 00 */ lwz r12, 0(r3)
|
|
/* 802472B8 00244218 81 8C 00 3C */ lwz r12, 0x3c(r12)
|
|
/* 802472BC 0024421C 7D 89 03 A6 */ mtctr r12
|
|
/* 802472C0 00244220 4E 80 04 21 */ bctrl
|
|
/* 802472C4 00244224 88 03 00 B6 */ lbz r0, 0xb6(r3)
|
|
/* 802472C8 00244228 53 E0 26 F6 */ rlwimi r0, r31, 4, 0x1b, 0x1b
|
|
/* 802472CC 0024422C 3B BD 00 01 */ addi r29, r29, 1
|
|
/* 802472D0 00244230 98 03 00 B6 */ stb r0, 0xb6(r3)
|
|
lbl_802472D4:
|
|
/* 802472D4 00244234 2C 1D 00 05 */ cmpwi r29, 5
|
|
/* 802472D8 00244238 41 80 FF D4 */ blt lbl_802472AC
|
|
/* 802472DC 0024423C 80 01 00 54 */ lwz r0, 0x54(r1)
|
|
/* 802472E0 00244240 83 E1 00 4C */ lwz r31, 0x4c(r1)
|
|
/* 802472E4 00244244 83 C1 00 48 */ lwz r30, 0x48(r1)
|
|
/* 802472E8 00244248 83 A1 00 44 */ lwz r29, 0x44(r1)
|
|
/* 802472EC 0024424C 83 81 00 40 */ lwz r28, 0x40(r1)
|
|
/* 802472F0 00244250 7C 08 03 A6 */ mtlr r0
|
|
/* 802472F4 00244254 38 21 00 50 */ addi r1, r1, 0x50
|
|
/* 802472F8 00244258 4E 80 00 20 */ blr
|
|
|
|
.global VReady__14CLogBookScreenCFv
|
|
VReady__14CLogBookScreenCFv:
|
|
/* 802472FC 0024425C 38 60 00 01 */ li r3, 1
|
|
/* 80247300 00244260 4E 80 00 20 */ blr
|
|
|
|
.global ProcessInput__14CLogBookScreenFRC11CFinalInput
|
|
ProcessInput__14CLogBookScreenFRC11CFinalInput:
|
|
/* 80247304 00244264 94 21 FF D0 */ stwu r1, -0x30(r1)
|
|
/* 80247308 00244268 7C 08 02 A6 */ mflr r0
|
|
/* 8024730C 0024426C 90 01 00 34 */ stw r0, 0x34(r1)
|
|
/* 80247310 00244270 BF 61 00 1C */ stmw r27, 0x1c(r1)
|
|
/* 80247314 00244274 7C 7B 1B 78 */ mr r27, r3
|
|
/* 80247318 00244278 38 60 00 00 */ li r3, 0
|
|
/* 8024731C 0024427C 7C 9C 23 78 */ mr r28, r4
|
|
/* 80247320 00244280 88 1B 02 60 */ lbz r0, 0x260(r27)
|
|
/* 80247324 00244284 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19
|
|
/* 80247328 00244288 98 1B 02 60 */ stb r0, 0x260(r27)
|
|
/* 8024732C 0024428C 80 1B 02 5C */ lwz r0, 0x25c(r27)
|
|
/* 80247330 00244290 2C 00 00 02 */ cmpwi r0, 2
|
|
/* 80247334 00244294 41 82 02 64 */ beq lbl_80247598
|
|
/* 80247338 00244298 80 1B 00 10 */ lwz r0, 0x10(r27)
|
|
/* 8024733C 0024429C 2C 00 00 02 */ cmpwi r0, 2
|
|
/* 80247340 002442A0 40 82 02 14 */ bne lbl_80247554
|
|
/* 80247344 002442A4 80 7B 01 74 */ lwz r3, 0x174(r27)
|
|
/* 80247348 002442A8 38 63 00 D4 */ addi r3, r3, 0xd4
|
|
/* 8024734C 002442AC 83 E3 03 04 */ lwz r31, 0x304(r3)
|
|
/* 80247350 002442B0 7F FE FB 78 */ mr r30, r31
|
|
/* 80247354 002442B4 48 08 0B 05 */ bl GetTotalPageCount__15CGuiTextSupportFv
|
|
/* 80247358 002442B8 38 03 FF FF */ addi r0, r3, -1
|
|
/* 8024735C 002442BC 2C 03 FF FF */ cmpwi r3, -1
|
|
/* 80247360 002442C0 7C 1F 00 50 */ subf r0, r31, r0
|
|
/* 80247364 002442C4 7C 00 00 34 */ cntlzw r0, r0
|
|
/* 80247368 002442C8 54 1D D9 7E */ srwi r29, r0, 5
|
|
/* 8024736C 002442CC 41 82 01 34 */ beq lbl_802474A0
|
|
/* 80247370 002442D0 C0 02 CC 28 */ lfs f0, lbl_805AE948@sda21(r2)
|
|
/* 80247374 002442D4 38 80 00 00 */ li r4, 0
|
|
/* 80247378 002442D8 C0 3C 00 0C */ lfs f1, 0xc(r28)
|
|
/* 8024737C 002442DC FC 00 08 40 */ fcmpo cr0, f0, f1
|
|
/* 80247380 002442E0 40 80 00 0C */ bge lbl_8024738C
|
|
/* 80247384 002442E4 38 00 00 01 */ li r0, 1
|
|
/* 80247388 002442E8 48 00 00 08 */ b lbl_80247390
|
|
lbl_8024738C:
|
|
/* 8024738C 002442EC 7C 80 23 78 */ mr r0, r4
|
|
lbl_80247390:
|
|
/* 80247390 002442F0 54 00 06 3F */ clrlwi. r0, r0, 0x18
|
|
/* 80247394 002442F4 41 82 00 14 */ beq lbl_802473A8
|
|
/* 80247398 002442F8 88 1C 00 21 */ lbz r0, 0x21(r28)
|
|
/* 8024739C 002442FC 28 00 00 00 */ cmplwi r0, 0
|
|
/* 802473A0 00244300 41 82 00 08 */ beq lbl_802473A8
|
|
/* 802473A4 00244304 38 80 00 01 */ li r4, 1
|
|
lbl_802473A8:
|
|
/* 802473A8 00244308 54 80 06 3F */ clrlwi. r0, r4, 0x18
|
|
/* 802473AC 0024430C 41 82 00 28 */ beq lbl_802473D4
|
|
/* 802473B0 00244310 80 0D 96 F0 */ lwz r0, lbl_805A82B0@sda21(r13)
|
|
/* 802473B4 00244314 38 9F FF FF */ addi r4, r31, -1
|
|
/* 802473B8 00244318 90 81 00 14 */ stw r4, 0x14(r1)
|
|
/* 802473BC 0024431C 38 6D 96 F0 */ addi r3, r13, lbl_805A82B0@sda21
|
|
/* 802473C0 00244320 7C 00 20 00 */ cmpw r0, r4
|
|
/* 802473C4 00244324 40 80 00 08 */ bge lbl_802473CC
|
|
/* 802473C8 00244328 38 61 00 14 */ addi r3, r1, 0x14
|
|
lbl_802473CC:
|
|
/* 802473CC 0024432C 83 C3 00 00 */ lwz r30, 0(r3)
|
|
/* 802473D0 00244330 48 00 00 64 */ b lbl_80247434
|
|
lbl_802473D4:
|
|
/* 802473D4 00244334 FC 00 00 50 */ fneg f0, f0
|
|
/* 802473D8 00244338 38 80 00 00 */ li r4, 0
|
|
/* 802473DC 0024433C FC 00 08 40 */ fcmpo cr0, f0, f1
|
|
/* 802473E0 00244340 40 81 00 14 */ ble lbl_802473F4
|
|
/* 802473E4 00244344 88 1C 00 21 */ lbz r0, 0x21(r28)
|
|
/* 802473E8 00244348 28 00 00 00 */ cmplwi r0, 0
|
|
/* 802473EC 0024434C 41 82 00 08 */ beq lbl_802473F4
|
|
/* 802473F0 00244350 38 80 00 01 */ li r4, 1
|
|
lbl_802473F4:
|
|
/* 802473F4 00244354 54 80 06 3F */ clrlwi. r0, r4, 0x18
|
|
/* 802473F8 00244358 40 82 00 18 */ bne lbl_80247410
|
|
/* 802473FC 0024435C 88 1C 00 2D */ lbz r0, 0x2d(r28)
|
|
/* 80247400 00244360 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f
|
|
/* 80247404 00244364 41 82 00 30 */ beq lbl_80247434
|
|
/* 80247408 00244368 57 A0 06 3F */ clrlwi. r0, r29, 0x18
|
|
/* 8024740C 0024436C 40 82 00 28 */ bne lbl_80247434
|
|
lbl_80247410:
|
|
/* 80247410 00244370 38 9F 00 01 */ addi r4, r31, 1
|
|
/* 80247414 00244374 38 03 FF FF */ addi r0, r3, -1
|
|
/* 80247418 00244378 7C 04 00 00 */ cmpw r4, r0
|
|
/* 8024741C 0024437C 90 81 00 0C */ stw r4, 0xc(r1)
|
|
/* 80247420 00244380 38 61 00 10 */ addi r3, r1, 0x10
|
|
/* 80247424 00244384 90 01 00 10 */ stw r0, 0x10(r1)
|
|
/* 80247428 00244388 40 80 00 08 */ bge lbl_80247430
|
|
/* 8024742C 0024438C 38 61 00 0C */ addi r3, r1, 0xc
|
|
lbl_80247430:
|
|
/* 80247430 00244390 83 C3 00 00 */ lwz r30, 0(r3)
|
|
lbl_80247434:
|
|
/* 80247434 00244394 80 7B 01 74 */ lwz r3, 0x174(r27)
|
|
/* 80247438 00244398 7F C4 F3 78 */ mr r4, r30
|
|
/* 8024743C 0024439C 38 63 00 D4 */ addi r3, r3, 0xd4
|
|
/* 80247440 002443A0 48 08 09 C9 */ bl SetPage__15CGuiTextSupportFi
|
|
/* 80247444 002443A4 7C 1F F0 00 */ cmpw r31, r30
|
|
/* 80247448 002443A8 41 82 00 28 */ beq lbl_80247470
|
|
/* 8024744C 002443AC A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2)
|
|
/* 80247450 002443B0 38 61 00 08 */ addi r3, r1, 8
|
|
/* 80247454 002443B4 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2)
|
|
/* 80247458 002443B8 38 80 05 A4 */ li r4, 0x5a4
|
|
/* 8024745C 002443BC 38 A0 00 7F */ li r5, 0x7f
|
|
/* 80247460 002443C0 38 C0 00 40 */ li r6, 0x40
|
|
/* 80247464 002443C4 38 E0 00 00 */ li r7, 0
|
|
/* 80247468 002443C8 39 20 00 00 */ li r9, 0
|
|
/* 8024746C 002443CC 48 0A 29 09 */ bl SfxStart__11CSfxManagerFUsssbsbi
|
|
lbl_80247470:
|
|
/* 80247470 002443D0 7C 7E 00 D0 */ neg r3, r30
|
|
/* 80247474 002443D4 57 A0 06 3E */ clrlwi r0, r29, 0x18
|
|
/* 80247478 002443D8 7C 64 F0 78 */ andc r4, r3, r30
|
|
/* 8024747C 002443DC 88 7B 01 98 */ lbz r3, 0x198(r27)
|
|
/* 80247480 002443E0 50 83 27 38 */ rlwimi r3, r4, 4, 0x1c, 0x1c
|
|
/* 80247484 002443E4 7C 00 00 34 */ cntlzw r0, r0
|
|
/* 80247488 002443E8 98 7B 01 98 */ stb r3, 0x198(r27)
|
|
/* 8024748C 002443EC 54 03 D9 7E */ srwi r3, r0, 5
|
|
/* 80247490 002443F0 88 1B 01 98 */ lbz r0, 0x198(r27)
|
|
/* 80247494 002443F4 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d
|
|
/* 80247498 002443F8 98 1B 01 98 */ stb r0, 0x198(r27)
|
|
/* 8024749C 002443FC 48 00 00 24 */ b lbl_802474C0
|
|
lbl_802474A0:
|
|
/* 802474A0 00244400 88 1B 01 98 */ lbz r0, 0x198(r27)
|
|
/* 802474A4 00244404 38 60 00 00 */ li r3, 0
|
|
/* 802474A8 00244408 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d
|
|
/* 802474AC 0024440C 98 1B 01 98 */ stb r0, 0x198(r27)
|
|
/* 802474B0 00244410 54 03 F7 FE */ rlwinm r3, r0, 0x1e, 0x1f, 0x1f
|
|
/* 802474B4 00244414 88 1B 01 98 */ lbz r0, 0x198(r27)
|
|
/* 802474B8 00244418 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c
|
|
/* 802474BC 0024441C 98 1B 01 98 */ stb r0, 0x198(r27)
|
|
lbl_802474C0:
|
|
/* 802474C0 00244420 88 1B 02 60 */ lbz r0, 0x260(r27)
|
|
/* 802474C4 00244424 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f
|
|
/* 802474C8 00244428 40 82 00 44 */ bne lbl_8024750C
|
|
/* 802474CC 0024442C 88 7C 00 2D */ lbz r3, 0x2d(r28)
|
|
/* 802474D0 00244430 38 80 00 01 */ li r4, 1
|
|
/* 802474D4 00244434 54 60 F7 FF */ rlwinm. r0, r3, 0x1e, 0x1f, 0x1f
|
|
/* 802474D8 00244438 40 82 00 28 */ bne lbl_80247500
|
|
/* 802474DC 0024443C 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f
|
|
/* 802474E0 00244440 38 60 00 00 */ li r3, 0
|
|
/* 802474E4 00244444 41 82 00 10 */ beq lbl_802474F4
|
|
/* 802474E8 00244448 57 A0 06 3F */ clrlwi. r0, r29, 0x18
|
|
/* 802474EC 0024444C 41 82 00 08 */ beq lbl_802474F4
|
|
/* 802474F0 00244450 7C 83 23 78 */ mr r3, r4
|
|
lbl_802474F4:
|
|
/* 802474F4 00244454 54 60 06 3F */ clrlwi. r0, r3, 0x18
|
|
/* 802474F8 00244458 40 82 00 08 */ bne lbl_80247500
|
|
/* 802474FC 0024445C 38 80 00 00 */ li r4, 0
|
|
lbl_80247500:
|
|
/* 80247500 00244460 88 1B 02 60 */ lbz r0, 0x260(r27)
|
|
/* 80247504 00244464 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a
|
|
/* 80247508 00244468 98 1B 02 60 */ stb r0, 0x260(r27)
|
|
lbl_8024750C:
|
|
/* 8024750C 0024446C 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13)
|
|
/* 80247510 00244470 88 03 02 75 */ lbz r0, 0x275(r3)
|
|
/* 80247514 00244474 28 00 00 00 */ cmplwi r0, 0
|
|
/* 80247518 00244478 41 82 00 18 */ beq lbl_80247530
|
|
/* 8024751C 0024447C 88 1B 02 60 */ lbz r0, 0x260(r27)
|
|
/* 80247520 00244480 54 00 DF FE */ rlwinm r0, r0, 0x1b, 0x1f, 0x1f
|
|
/* 80247524 00244484 7C 00 00 34 */ cntlzw r0, r0
|
|
/* 80247528 00244488 54 03 D9 7E */ srwi r3, r0, 5
|
|
/* 8024752C 0024448C 48 00 00 18 */ b lbl_80247544
|
|
lbl_80247530:
|
|
/* 80247530 00244490 88 1C 00 2C */ lbz r0, 0x2c(r28)
|
|
/* 80247534 00244494 54 03 CF FE */ rlwinm r3, r0, 0x19, 0x1f, 0x1f
|
|
/* 80247538 00244498 7C 03 00 D0 */ neg r0, r3
|
|
/* 8024753C 0024449C 7C 00 1B 78 */ or r0, r0, r3
|
|
/* 80247540 002444A0 54 03 0F FE */ srwi r3, r0, 0x1f
|
|
lbl_80247544:
|
|
/* 80247544 002444A4 88 1B 02 60 */ lbz r0, 0x260(r27)
|
|
/* 80247548 002444A8 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19
|
|
/* 8024754C 002444AC 98 1B 02 60 */ stb r0, 0x260(r27)
|
|
/* 80247550 002444B0 48 00 00 20 */ b lbl_80247570
|
|
lbl_80247554:
|
|
/* 80247554 002444B4 88 1B 01 98 */ lbz r0, 0x198(r27)
|
|
/* 80247558 002444B8 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d
|
|
/* 8024755C 002444BC 98 1B 01 98 */ stb r0, 0x198(r27)
|
|
/* 80247560 002444C0 54 03 F7 FE */ rlwinm r3, r0, 0x1e, 0x1f, 0x1f
|
|
/* 80247564 002444C4 88 1B 01 98 */ lbz r0, 0x198(r27)
|
|
/* 80247568 002444C8 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c
|
|
/* 8024756C 002444CC 98 1B 01 98 */ stb r0, 0x198(r27)
|
|
lbl_80247570:
|
|
/* 80247570 002444D0 80 1B 02 5C */ lwz r0, 0x25c(r27)
|
|
/* 80247574 002444D4 2C 00 00 01 */ cmpwi r0, 1
|
|
/* 80247578 002444D8 40 82 00 14 */ bne lbl_8024758C
|
|
/* 8024757C 002444DC 88 1B 02 60 */ lbz r0, 0x260(r27)
|
|
/* 80247580 002444E0 38 60 00 00 */ li r3, 0
|
|
/* 80247584 002444E4 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19
|
|
/* 80247588 002444E8 98 1B 02 60 */ stb r0, 0x260(r27)
|
|
lbl_8024758C:
|
|
/* 8024758C 002444EC 7F 63 DB 78 */ mr r3, r27
|
|
/* 80247590 002444F0 7F 84 E3 78 */ mr r4, r28
|
|
/* 80247594 002444F4 4B E2 9D C9 */ bl ProcessInput__16CPauseScreenBaseFRC11CFinalInput
|
|
lbl_80247598:
|
|
/* 80247598 002444F8 BB 61 00 1C */ lmw r27, 0x1c(r1)
|
|
/* 8024759C 002444FC 80 01 00 34 */ lwz r0, 0x34(r1)
|
|
/* 802475A0 00244500 7C 08 03 A6 */ mtlr r0
|
|
/* 802475A4 00244504 38 21 00 30 */ addi r1, r1, 0x30
|
|
/* 802475A8 00244508 4E 80 00 20 */ blr
|
|
|
|
.global Draw__14CLogBookScreenCFfff
|
|
Draw__14CLogBookScreenCFfff:
|
|
/* 802475AC 0024450C 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 802475B0 00244510 7C 08 02 A6 */ mflr r0
|
|
/* 802475B4 00244514 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 802475B8 00244518 DB E1 00 10 */ stfd f31, 0x10(r1)
|
|
/* 802475BC 0024451C F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0
|
|
/* 802475C0 00244520 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 802475C4 00244524 93 C1 00 08 */ stw r30, 8(r1)
|
|
/* 802475C8 00244528 7C 7E 1B 78 */ mr r30, r3
|
|
/* 802475CC 0024452C FF E0 08 90 */ fmr f31, f1
|
|
/* 802475D0 00244530 4B E2 9D C1 */ bl Draw__16CPauseScreenBaseCFfff
|
|
/* 802475D4 00244534 80 1E 00 10 */ lwz r0, 0x10(r30)
|
|
/* 802475D8 00244538 3B E0 00 00 */ li r31, 0
|
|
/* 802475DC 0024453C 2C 00 00 01 */ cmpwi r0, 1
|
|
/* 802475E0 00244540 40 82 00 18 */ bne lbl_802475F8
|
|
/* 802475E4 00244544 7F C3 F3 78 */ mr r3, r30
|
|
/* 802475E8 00244548 48 00 00 B1 */ bl IsArtifactCategorySelected__14CLogBookScreenCFv
|
|
/* 802475EC 0024454C 54 60 06 3F */ clrlwi. r0, r3, 0x18
|
|
/* 802475F0 00244550 41 82 00 08 */ beq lbl_802475F8
|
|
/* 802475F4 00244554 3B E0 00 01 */ li r31, 1
|
|
lbl_802475F8:
|
|
/* 802475F8 00244558 7F C3 F3 78 */ mr r3, r30
|
|
/* 802475FC 0024455C 48 00 00 49 */ bl GetSelectedArtifactHeadScanIndex__14CLogBookScreenFv
|
|
/* 80247600 00244560 C0 22 B8 60 */ lfs f1, lbl_805AD580@sda21(r2)
|
|
/* 80247604 00244564 7C 66 1B 78 */ mr r6, r3
|
|
/* 80247608 00244568 C0 1E 02 54 */ lfs f0, 0x254(r30)
|
|
/* 8024760C 0024456C 7F E5 FB 78 */ mr r5, r31
|
|
/* 80247610 00244570 80 7E 02 58 */ lwz r3, 0x258(r30)
|
|
/* 80247614 00244574 EC 01 00 28 */ fsubs f0, f1, f0
|
|
/* 80247618 00244578 80 9E 00 04 */ lwz r4, 4(r30)
|
|
/* 8024761C 0024457C EC 3F 00 32 */ fmuls f1, f31, f0
|
|
/* 80247620 00244580 48 05 53 49 */ bl Draw__13CArtifactDollFfRC13CStateManagerbUi
|
|
/* 80247624 00244584 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0
|
|
/* 80247628 00244588 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 8024762C 0024458C CB E1 00 10 */ lfd f31, 0x10(r1)
|
|
/* 80247630 00244590 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80247634 00244594 83 C1 00 08 */ lwz r30, 8(r1)
|
|
/* 80247638 00244598 7C 08 03 A6 */ mtlr r0
|
|
/* 8024763C 0024459C 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 80247640 002445A0 4E 80 00 20 */ blr
|
|
|
|
.global GetSelectedArtifactHeadScanIndex__14CLogBookScreenFv
|
|
GetSelectedArtifactHeadScanIndex__14CLogBookScreenFv:
|
|
/* 80247644 002445A4 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80247648 002445A8 7C 08 02 A6 */ mflr r0
|
|
/* 8024764C 002445AC 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80247650 002445B0 80 83 00 70 */ lwz r4, 0x70(r3)
|
|
/* 80247654 002445B4 80 A3 00 1C */ lwz r5, 0x1c(r3)
|
|
/* 80247658 002445B8 80 04 00 C4 */ lwz r0, 0xc4(r4)
|
|
/* 8024765C 002445BC 54 00 20 36 */ slwi r0, r0, 4
|
|
/* 80247660 002445C0 7C 63 02 14 */ add r3, r3, r0
|
|
/* 80247664 002445C4 80 03 01 A4 */ lwz r0, 0x1a4(r3)
|
|
/* 80247668 002445C8 7C 05 00 00 */ cmpw r5, r0
|
|
/* 8024766C 002445CC 40 80 00 18 */ bge lbl_80247684
|
|
/* 80247670 002445D0 80 63 01 AC */ lwz r3, 0x1ac(r3)
|
|
/* 80247674 002445D4 54 A0 18 38 */ slwi r0, r5, 3
|
|
/* 80247678 002445D8 7C 63 00 2E */ lwzx r3, r3, r0
|
|
/* 8024767C 002445DC 48 05 52 09 */ bl GetArtifactHeadScanIndex__13CArtifactDollFUi
|
|
/* 80247680 002445E0 48 00 00 08 */ b lbl_80247688
|
|
lbl_80247684:
|
|
/* 80247684 002445E4 38 60 FF FF */ li r3, -1
|
|
lbl_80247688:
|
|
/* 80247688 002445E8 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 8024768C 002445EC 7C 08 03 A6 */ mtlr r0
|
|
/* 80247690 002445F0 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80247694 002445F4 4E 80 00 20 */ blr
|
|
|
|
.global IsArtifactCategorySelected__14CLogBookScreenCFv
|
|
IsArtifactCategorySelected__14CLogBookScreenCFv:
|
|
/* 80247698 002445F8 80 63 00 70 */ lwz r3, 0x70(r3)
|
|
/* 8024769C 002445FC 80 63 00 C4 */ lwz r3, 0xc4(r3)
|
|
/* 802476A0 00244600 38 03 00 01 */ addi r0, r3, 1
|
|
/* 802476A4 00244604 20 00 00 05 */ subfic r0, r0, 5
|
|
/* 802476A8 00244608 7C 00 00 34 */ cntlzw r0, r0
|
|
/* 802476AC 0024460C 54 03 D9 7E */ srwi r3, r0, 5
|
|
/* 802476B0 00244610 4E 80 00 20 */ blr
|
|
|
|
.global Touch__14CLogBookScreenFv
|
|
Touch__14CLogBookScreenFv:
|
|
/* 802476B4 00244614 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 802476B8 00244618 7C 08 02 A6 */ mflr r0
|
|
/* 802476BC 0024461C 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 802476C0 00244620 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 802476C4 00244624 7C 7F 1B 78 */ mr r31, r3
|
|
/* 802476C8 00244628 4B E2 9D D5 */ bl Touch__16CPauseScreenBaseFv
|
|
/* 802476CC 0024462C 80 7F 02 58 */ lwz r3, 0x258(r31)
|
|
/* 802476D0 00244630 48 05 58 E1 */ bl Touch__13CArtifactDollFv
|
|
/* 802476D4 00244634 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 802476D8 00244638 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 802476DC 0024463C 7C 08 03 A6 */ mtlr r0
|
|
/* 802476E0 00244640 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 802476E4 00244644 4E 80 00 20 */ blr
|
|
|
|
.global Update__14CLogBookScreenFfR9CRandom16R18CArchitectureQueue
|
|
Update__14CLogBookScreenFfR9CRandom16R18CArchitectureQueue:
|
|
/* 802476E8 00244648 94 21 FF A0 */ stwu r1, -0x60(r1)
|
|
/* 802476EC 0024464C 7C 08 02 A6 */ mflr r0
|
|
/* 802476F0 00244650 90 01 00 64 */ stw r0, 0x64(r1)
|
|
/* 802476F4 00244654 DB E1 00 50 */ stfd f31, 0x50(r1)
|
|
/* 802476F8 00244658 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0
|
|
/* 802476FC 0024465C DB C1 00 40 */ stfd f30, 0x40(r1)
|
|
/* 80247700 00244660 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0
|
|
/* 80247704 00244664 DB A1 00 30 */ stfd f29, 0x30(r1)
|
|
/* 80247708 00244668 F3 A1 00 38 */ psq_st f29, 56(r1), 0, qr0
|
|
/* 8024770C 0024466C 93 E1 00 2C */ stw r31, 0x2c(r1)
|
|
/* 80247710 00244670 7C 7F 1B 78 */ mr r31, r3
|
|
/* 80247714 00244674 FF E0 08 90 */ fmr f31, f1
|
|
/* 80247718 00244678 4B E2 9D 89 */ bl Update__16CPauseScreenBaseFfR9CRandom16R18CArchitectureQueue
|
|
/* 8024771C 0024467C FC 20 F8 90 */ fmr f1, f31
|
|
/* 80247720 00244680 80 7F 02 58 */ lwz r3, 0x258(r31)
|
|
/* 80247724 00244684 80 9F 00 04 */ lwz r4, 4(r31)
|
|
/* 80247728 00244688 48 05 57 CD */ bl Update__13CArtifactDollFfRC13CStateManager
|
|
/* 8024772C 0024468C 7F E3 FB 78 */ mr r3, r31
|
|
/* 80247730 00244690 4B FF EA ED */ bl PumpArticleLoad__14CLogBookScreenFv
|
|
/* 80247734 00244694 80 1F 00 10 */ lwz r0, 0x10(r31)
|
|
/* 80247738 00244698 2C 00 00 02 */ cmpwi r0, 2
|
|
/* 8024773C 0024469C 40 82 01 68 */ bne lbl_802478A4
|
|
/* 80247740 002446A0 88 1F 02 60 */ lbz r0, 0x260(r31)
|
|
/* 80247744 002446A4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f
|
|
/* 80247748 002446A8 41 82 00 38 */ beq lbl_80247780
|
|
/* 8024774C 002446AC C0 42 B8 70 */ lfs f2, lbl_805AD590@sda21(r2)
|
|
/* 80247750 002446B0 C0 3F 02 54 */ lfs f1, 0x254(r31)
|
|
/* 80247754 002446B4 C0 0D 96 E8 */ lfs f0, lbl_805A82A8@sda21(r13)
|
|
/* 80247758 002446B8 EC 22 0F FA */ fmadds f1, f2, f31, f1
|
|
/* 8024775C 002446BC FC 01 00 40 */ fcmpo cr0, f1, f0
|
|
/* 80247760 002446C0 D0 21 00 10 */ stfs f1, 0x10(r1)
|
|
/* 80247764 002446C4 40 80 00 0C */ bge lbl_80247770
|
|
/* 80247768 002446C8 38 61 00 10 */ addi r3, r1, 0x10
|
|
/* 8024776C 002446CC 48 00 00 08 */ b lbl_80247774
|
|
lbl_80247770:
|
|
/* 80247770 002446D0 38 6D 96 E8 */ addi r3, r13, lbl_805A82A8@sda21
|
|
lbl_80247774:
|
|
/* 80247774 002446D4 C0 03 00 00 */ lfs f0, 0(r3)
|
|
/* 80247778 002446D8 D0 1F 02 54 */ stfs f0, 0x254(r31)
|
|
/* 8024777C 002446DC 48 00 00 34 */ b lbl_802477B0
|
|
lbl_80247780:
|
|
/* 80247780 002446E0 C0 42 B8 70 */ lfs f2, lbl_805AD590@sda21(r2)
|
|
/* 80247784 002446E4 C0 3F 02 54 */ lfs f1, 0x254(r31)
|
|
/* 80247788 002446E8 C0 0D 96 EC */ lfs f0, lbl_805A82AC@sda21(r13)
|
|
/* 8024778C 002446EC EC 22 0F FC */ fnmsubs f1, f2, f31, f1
|
|
/* 80247790 002446F0 FC 00 08 40 */ fcmpo cr0, f0, f1
|
|
/* 80247794 002446F4 D0 21 00 0C */ stfs f1, 0xc(r1)
|
|
/* 80247798 002446F8 40 80 00 0C */ bge lbl_802477A4
|
|
/* 8024779C 002446FC 38 61 00 0C */ addi r3, r1, 0xc
|
|
/* 802477A0 00244700 48 00 00 08 */ b lbl_802477A8
|
|
lbl_802477A4:
|
|
/* 802477A4 00244704 38 6D 96 EC */ addi r3, r13, lbl_805A82AC@sda21
|
|
lbl_802477A8:
|
|
/* 802477A8 00244708 C0 03 00 00 */ lfs f0, 0(r3)
|
|
/* 802477AC 0024470C D0 1F 02 54 */ stfs f0, 0x254(r31)
|
|
lbl_802477B0:
|
|
/* 802477B0 00244710 C3 FF 02 54 */ lfs f31, 0x254(r31)
|
|
/* 802477B4 00244714 48 10 27 F9 */ bl White__6CColorFv
|
|
/* 802477B8 00244718 C0 02 B8 74 */ lfs f0, lbl_805AD594@sda21(r2)
|
|
/* 802477BC 0024471C EF C0 07 F2 */ fmuls f30, f0, f31
|
|
/* 802477C0 00244720 F3 C1 A0 09 */ psq_st f30, 9(r1), 1, qr2
|
|
/* 802477C4 00244724 38 81 00 18 */ addi r4, r1, 0x18
|
|
/* 802477C8 00244728 80 63 00 00 */ lwz r3, 0(r3)
|
|
/* 802477CC 0024472C 88 01 00 09 */ lbz r0, 9(r1)
|
|
/* 802477D0 00244730 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17
|
|
/* 802477D4 00244734 90 01 00 18 */ stw r0, 0x18(r1)
|
|
/* 802477D8 00244738 80 7F 00 74 */ lwz r3, 0x74(r31)
|
|
/* 802477DC 0024473C 48 08 30 91 */ bl SetColor__10CGuiWidgetFRC6CColor
|
|
/* 802477E0 00244740 80 7F 00 88 */ lwz r3, 0x88(r31)
|
|
/* 802477E4 00244744 38 81 00 18 */ addi r4, r1, 0x18
|
|
/* 802477E8 00244748 48 08 30 85 */ bl SetColor__10CGuiWidgetFRC6CColor
|
|
/* 802477EC 0024474C C0 22 B8 60 */ lfs f1, lbl_805AD580@sda21(r2)
|
|
/* 802477F0 00244750 C0 1F 02 54 */ lfs f0, 0x254(r31)
|
|
/* 802477F4 00244754 EF E1 00 28 */ fsubs f31, f1, f0
|
|
/* 802477F8 00244758 48 10 27 B5 */ bl White__6CColorFv
|
|
/* 802477FC 0024475C C0 02 B8 74 */ lfs f0, lbl_805AD594@sda21(r2)
|
|
/* 80247800 00244760 EF A0 07 F2 */ fmuls f29, f0, f31
|
|
/* 80247804 00244764 F3 A1 A0 08 */ psq_st f29, 8(r1), 1, qr2
|
|
/* 80247808 00244768 38 81 00 14 */ addi r4, r1, 0x14
|
|
/* 8024780C 0024476C 80 63 00 00 */ lwz r3, 0(r3)
|
|
/* 80247810 00244770 88 01 00 08 */ lbz r0, 8(r1)
|
|
/* 80247814 00244774 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17
|
|
/* 80247818 00244778 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8024781C 0024477C 80 7F 00 70 */ lwz r3, 0x70(r31)
|
|
/* 80247820 00244780 48 08 30 4D */ bl SetColor__10CGuiWidgetFRC6CColor
|
|
/* 80247824 00244784 80 7F 00 84 */ lwz r3, 0x84(r31)
|
|
/* 80247828 00244788 38 81 00 14 */ addi r4, r1, 0x14
|
|
/* 8024782C 0024478C 48 08 30 41 */ bl SetColor__10CGuiWidgetFRC6CColor
|
|
/* 80247830 00244790 80 7F 01 7C */ lwz r3, 0x17c(r31)
|
|
/* 80247834 00244794 38 81 00 14 */ addi r4, r1, 0x14
|
|
/* 80247838 00244798 48 08 30 35 */ bl SetColor__10CGuiWidgetFRC6CColor
|
|
/* 8024783C 0024479C 80 7F 01 74 */ lwz r3, 0x174(r31)
|
|
/* 80247840 002447A0 38 81 00 18 */ addi r4, r1, 0x18
|
|
/* 80247844 002447A4 48 08 30 29 */ bl SetColor__10CGuiWidgetFRC6CColor
|
|
/* 80247848 002447A8 C0 22 B8 60 */ lfs f1, lbl_805AD580@sda21(r2)
|
|
/* 8024784C 002447AC 38 9F 00 F4 */ addi r4, r31, 0xf4
|
|
/* 80247850 002447B0 38 A0 00 00 */ li r5, 0
|
|
/* 80247854 002447B4 48 00 00 1C */ b lbl_80247870
|
|
lbl_80247858:
|
|
/* 80247858 002447B8 C0 1F 02 54 */ lfs f0, 0x254(r31)
|
|
/* 8024785C 002447BC 38 A5 00 01 */ addi r5, r5, 1
|
|
/* 80247860 002447C0 80 64 00 00 */ lwz r3, 0(r4)
|
|
/* 80247864 002447C4 38 84 00 04 */ addi r4, r4, 4
|
|
/* 80247868 002447C8 EC 01 00 28 */ fsubs f0, f1, f0
|
|
/* 8024786C 002447CC D0 03 01 4C */ stfs f0, 0x14c(r3)
|
|
lbl_80247870:
|
|
/* 80247870 002447D0 80 1F 00 F0 */ lwz r0, 0xf0(r31)
|
|
/* 80247874 002447D4 7C 05 00 00 */ cmpw r5, r0
|
|
/* 80247878 002447D8 41 80 FF E0 */ blt lbl_80247858
|
|
/* 8024787C 002447DC C0 22 B8 58 */ lfs f1, lbl_805AD578@sda21(r2)
|
|
/* 80247880 002447E0 C0 1F 02 54 */ lfs f0, 0x254(r31)
|
|
/* 80247884 002447E4 FC 01 00 00 */ fcmpu cr0, f1, f0
|
|
/* 80247888 002447E8 40 82 00 1C */ bne lbl_802478A4
|
|
/* 8024788C 002447EC 80 1F 02 5C */ lwz r0, 0x25c(r31)
|
|
/* 80247890 002447F0 2C 00 00 00 */ cmpwi r0, 0
|
|
/* 80247894 002447F4 40 82 00 10 */ bne lbl_802478A4
|
|
/* 80247898 002447F8 7F E3 FB 78 */ mr r3, r31
|
|
/* 8024789C 002447FC 38 80 00 01 */ li r4, 1
|
|
/* 802478A0 00244800 4B E2 95 75 */ bl ChangeMode__16CPauseScreenBaseFQ216CPauseScreenBase5EMode
|
|
lbl_802478A4:
|
|
/* 802478A4 00244804 80 1F 02 5C */ lwz r0, 0x25c(r31)
|
|
/* 802478A8 00244808 2C 00 00 01 */ cmpwi r0, 1
|
|
/* 802478AC 0024480C 40 82 00 1C */ bne lbl_802478C8
|
|
/* 802478B0 00244810 C0 22 B8 58 */ lfs f1, lbl_805AD578@sda21(r2)
|
|
/* 802478B4 00244814 C0 1F 02 54 */ lfs f0, 0x254(r31)
|
|
/* 802478B8 00244818 FC 01 00 00 */ fcmpu cr0, f1, f0
|
|
/* 802478BC 0024481C 40 82 00 0C */ bne lbl_802478C8
|
|
/* 802478C0 00244820 38 00 00 02 */ li r0, 2
|
|
/* 802478C4 00244824 90 1F 02 5C */ stw r0, 0x25c(r31)
|
|
lbl_802478C8:
|
|
/* 802478C8 00244828 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0
|
|
/* 802478CC 0024482C CB E1 00 50 */ lfd f31, 0x50(r1)
|
|
/* 802478D0 00244830 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0
|
|
/* 802478D4 00244834 CB C1 00 40 */ lfd f30, 0x40(r1)
|
|
/* 802478D8 00244838 E3 A1 00 38 */ psq_l f29, 56(r1), 0, qr0
|
|
/* 802478DC 0024483C CB A1 00 30 */ lfd f29, 0x30(r1)
|
|
/* 802478E0 00244840 80 01 00 64 */ lwz r0, 0x64(r1)
|
|
/* 802478E4 00244844 83 E1 00 2C */ lwz r31, 0x2c(r1)
|
|
/* 802478E8 00244848 7C 08 03 A6 */ mtlr r0
|
|
/* 802478EC 0024484C 38 21 00 60 */ addi r1, r1, 0x60
|
|
/* 802478F0 00244850 4E 80 00 20 */ blr
|
|
|
|
.global __dt__14CLogBookScreenFv
|
|
__dt__14CLogBookScreenFv:
|
|
/* 802478F4 00244854 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 802478F8 00244858 7C 08 02 A6 */ mflr r0
|
|
/* 802478FC 0024485C 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 80247900 00244860 BF 61 00 0C */ stmw r27, 0xc(r1)
|
|
/* 80247904 00244864 7C 7B 1B 79 */ or. r27, r3, r3
|
|
/* 80247908 00244868 7C 9C 23 78 */ mr r28, r4
|
|
/* 8024790C 0024486C 41 82 00 B4 */ beq lbl_802479C0
|
|
/* 80247910 00244870 3C 60 80 3F */ lis r3, lbl_803E8B78@ha
|
|
/* 80247914 00244874 38 03 8B 78 */ addi r0, r3, lbl_803E8B78@l
|
|
/* 80247918 00244878 90 1B 00 00 */ stw r0, 0(r27)
|
|
/* 8024791C 0024487C 80 7B 02 58 */ lwz r3, 0x258(r27)
|
|
/* 80247920 00244880 80 9B 00 04 */ lwz r4, 4(r27)
|
|
/* 80247924 00244884 48 05 55 A9 */ bl CompleteArtifactHeadScan__13CArtifactDollFRC13CStateManager
|
|
/* 80247928 00244888 3B FB 01 48 */ addi r31, r27, 0x148
|
|
/* 8024792C 0024488C 3B C0 00 00 */ li r30, 0
|
|
/* 80247930 00244890 48 00 00 24 */ b lbl_80247954
|
|
lbl_80247934:
|
|
/* 80247934 00244894 83 BF 00 00 */ lwz r29, 0(r31)
|
|
/* 80247938 00244898 38 7D 00 04 */ addi r3, r29, 4
|
|
/* 8024793C 0024489C 38 9D 00 74 */ addi r4, r29, 0x74
|
|
/* 80247940 002448A0 48 0C B2 01 */ bl __as__12CTransform4fFRC12CTransform4f
|
|
/* 80247944 002448A4 7F A3 EB 78 */ mr r3, r29
|
|
/* 80247948 002448A8 48 07 CE A1 */ bl RecalculateTransforms__10CGuiObjectFv
|
|
/* 8024794C 002448AC 3B FF 00 04 */ addi r31, r31, 4
|
|
/* 80247950 002448B0 3B DE 00 01 */ addi r30, r30, 1
|
|
lbl_80247954:
|
|
/* 80247954 002448B4 80 1B 01 44 */ lwz r0, 0x144(r27)
|
|
/* 80247958 002448B8 7C 1E 00 00 */ cmpw r30, r0
|
|
/* 8024795C 002448BC 41 80 FF D8 */ blt lbl_80247934
|
|
/* 80247960 002448C0 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13)
|
|
/* 80247964 002448C4 4B F8 C0 6D */ bl CurrentWorldAssetId__10CGameStateCFv
|
|
/* 80247968 002448C8 4B DB CF 15 */ bl EnsureWorldPakReady__5CMainFUi
|
|
/* 8024796C 002448CC 34 1B 02 58 */ addic. r0, r27, 0x258
|
|
/* 80247970 002448D0 41 82 00 10 */ beq lbl_80247980
|
|
/* 80247974 002448D4 80 7B 02 58 */ lwz r3, 0x258(r27)
|
|
/* 80247978 002448D8 38 80 00 01 */ li r4, 1
|
|
/* 8024797C 002448DC 48 05 59 99 */ bl __dt__13CArtifactDollFv
|
|
lbl_80247980:
|
|
/* 80247980 002448E0 38 7B 02 00 */ addi r3, r27, 0x200
|
|
/* 80247984 002448E4 38 80 FF FF */ li r4, -1
|
|
/* 80247988 002448E8 48 00 01 49 */ bl sub_80247ad0
|
|
/* 8024798C 002448EC 38 7B 01 F0 */ addi r3, r27, 0x1f0
|
|
/* 80247990 002448F0 38 80 FF FF */ li r4, -1
|
|
/* 80247994 002448F4 4B FF F6 B5 */ bl sub_80247048
|
|
/* 80247998 002448F8 38 7B 01 9C */ addi r3, r27, 0x19c
|
|
/* 8024799C 002448FC 38 80 FF FF */ li r4, -1
|
|
/* 802479A0 00244900 48 00 00 39 */ bl sub_802479d8
|
|
/* 802479A4 00244904 7F 63 DB 78 */ mr r3, r27
|
|
/* 802479A8 00244908 38 80 00 00 */ li r4, 0
|
|
/* 802479AC 0024490C 4B E2 AC 21 */ bl __dt__16CPauseScreenBaseFv
|
|
/* 802479B0 00244910 7F 80 07 35 */ extsh. r0, r28
|
|
/* 802479B4 00244914 40 81 00 0C */ ble lbl_802479C0
|
|
/* 802479B8 00244918 7F 63 DB 78 */ mr r3, r27
|
|
/* 802479BC 0024491C 48 0C DF 75 */ bl Free__7CMemoryFPCv
|
|
lbl_802479C0:
|
|
/* 802479C0 00244920 7F 63 DB 78 */ mr r3, r27
|
|
/* 802479C4 00244924 BB 61 00 0C */ lmw r27, 0xc(r1)
|
|
/* 802479C8 00244928 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 802479CC 0024492C 7C 08 03 A6 */ mtlr r0
|
|
/* 802479D0 00244930 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 802479D4 00244934 4E 80 00 20 */ blr
|
|
|
|
.global sub_802479d8
|
|
sub_802479d8:
|
|
/* 802479D8 00244938 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 802479DC 0024493C 7C 08 02 A6 */ mflr r0
|
|
/* 802479E0 00244940 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 802479E4 00244944 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 802479E8 00244948 7C 9F 23 78 */ mr r31, r4
|
|
/* 802479EC 0024494C 93 C1 00 08 */ stw r30, 8(r1)
|
|
/* 802479F0 00244950 7C 7E 1B 79 */ or. r30, r3, r3
|
|
/* 802479F4 00244954 41 82 00 18 */ beq lbl_80247A0C
|
|
/* 802479F8 00244958 48 00 00 31 */ bl sub_80247a28
|
|
/* 802479FC 0024495C 7F E0 07 35 */ extsh. r0, r31
|
|
/* 80247A00 00244960 40 81 00 0C */ ble lbl_80247A0C
|
|
/* 80247A04 00244964 7F C3 F3 78 */ mr r3, r30
|
|
/* 80247A08 00244968 48 0C DF 29 */ bl Free__7CMemoryFPCv
|
|
lbl_80247A0C:
|
|
/* 80247A0C 0024496C 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80247A10 00244970 7F C3 F3 78 */ mr r3, r30
|
|
/* 80247A14 00244974 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80247A18 00244978 83 C1 00 08 */ lwz r30, 8(r1)
|
|
/* 80247A1C 0024497C 7C 08 03 A6 */ mtlr r0
|
|
/* 80247A20 00244980 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80247A24 00244984 4E 80 00 20 */ blr
|
|
|
|
.global sub_80247a28
|
|
sub_80247a28:
|
|
/* 80247A28 00244988 94 21 FF D0 */ stwu r1, -0x30(r1)
|
|
/* 80247A2C 0024498C 7C 08 02 A6 */ mflr r0
|
|
/* 80247A30 00244990 90 01 00 34 */ stw r0, 0x34(r1)
|
|
/* 80247A34 00244994 93 E1 00 2C */ stw r31, 0x2c(r1)
|
|
/* 80247A38 00244998 93 C1 00 28 */ stw r30, 0x28(r1)
|
|
/* 80247A3C 0024499C 3B C0 00 00 */ li r30, 0
|
|
/* 80247A40 002449A0 93 A1 00 24 */ stw r29, 0x24(r1)
|
|
/* 80247A44 002449A4 7C 7D 1B 78 */ mr r29, r3
|
|
/* 80247A48 002449A8 3B FD 00 04 */ addi r31, r29, 4
|
|
/* 80247A4C 002449AC 48 00 00 54 */ b lbl_80247AA0
|
|
lbl_80247A50:
|
|
/* 80247A50 002449B0 28 1F 00 00 */ cmplwi r31, 0
|
|
/* 80247A54 002449B4 41 82 00 44 */ beq lbl_80247A98
|
|
/* 80247A58 002449B8 80 1F 00 04 */ lwz r0, 4(r31)
|
|
/* 80247A5C 002449BC 80 7F 00 0C */ lwz r3, 0xc(r31)
|
|
/* 80247A60 002449C0 54 00 18 38 */ slwi r0, r0, 3
|
|
/* 80247A64 002449C4 7C 03 02 14 */ add r0, r3, r0
|
|
/* 80247A68 002449C8 90 61 00 0C */ stw r3, 0xc(r1)
|
|
/* 80247A6C 002449CC 7C 64 1B 78 */ mr r4, r3
|
|
/* 80247A70 002449D0 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80247A74 002449D4 90 01 00 10 */ stw r0, 0x10(r1)
|
|
/* 80247A78 002449D8 90 61 00 08 */ stw r3, 8(r1)
|
|
/* 80247A7C 002449DC 48 00 00 08 */ b lbl_80247A84
|
|
lbl_80247A80:
|
|
/* 80247A80 002449E0 38 84 00 08 */ addi r4, r4, 8
|
|
lbl_80247A84:
|
|
/* 80247A84 002449E4 7C 04 00 40 */ cmplw r4, r0
|
|
/* 80247A88 002449E8 40 82 FF F8 */ bne lbl_80247A80
|
|
/* 80247A8C 002449EC 28 03 00 00 */ cmplwi r3, 0
|
|
/* 80247A90 002449F0 41 82 00 08 */ beq lbl_80247A98
|
|
/* 80247A94 002449F4 48 0C DE 9D */ bl Free__7CMemoryFPCv
|
|
lbl_80247A98:
|
|
/* 80247A98 002449F8 3B FF 00 10 */ addi r31, r31, 0x10
|
|
/* 80247A9C 002449FC 3B DE 00 01 */ addi r30, r30, 1
|
|
lbl_80247AA0:
|
|
/* 80247AA0 00244A00 80 1D 00 00 */ lwz r0, 0(r29)
|
|
/* 80247AA4 00244A04 7C 1E 00 00 */ cmpw r30, r0
|
|
/* 80247AA8 00244A08 41 80 FF A8 */ blt lbl_80247A50
|
|
/* 80247AAC 00244A0C 38 00 00 00 */ li r0, 0
|
|
/* 80247AB0 00244A10 90 1D 00 00 */ stw r0, 0(r29)
|
|
/* 80247AB4 00244A14 80 01 00 34 */ lwz r0, 0x34(r1)
|
|
/* 80247AB8 00244A18 83 E1 00 2C */ lwz r31, 0x2c(r1)
|
|
/* 80247ABC 00244A1C 83 C1 00 28 */ lwz r30, 0x28(r1)
|
|
/* 80247AC0 00244A20 83 A1 00 24 */ lwz r29, 0x24(r1)
|
|
/* 80247AC4 00244A24 7C 08 03 A6 */ mtlr r0
|
|
/* 80247AC8 00244A28 38 21 00 30 */ addi r1, r1, 0x30
|
|
/* 80247ACC 00244A2C 4E 80 00 20 */ blr
|
|
|
|
.global sub_80247ad0
|
|
sub_80247ad0:
|
|
/* 80247AD0 00244A30 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80247AD4 00244A34 7C 08 02 A6 */ mflr r0
|
|
/* 80247AD8 00244A38 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80247ADC 00244A3C 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 80247AE0 00244A40 7C 9F 23 78 */ mr r31, r4
|
|
/* 80247AE4 00244A44 93 C1 00 08 */ stw r30, 8(r1)
|
|
/* 80247AE8 00244A48 7C 7E 1B 79 */ or. r30, r3, r3
|
|
/* 80247AEC 00244A4C 41 82 00 18 */ beq lbl_80247B04
|
|
/* 80247AF0 00244A50 48 00 00 31 */ bl sub_80247b20
|
|
/* 80247AF4 00244A54 7F E0 07 35 */ extsh. r0, r31
|
|
/* 80247AF8 00244A58 40 81 00 0C */ ble lbl_80247B04
|
|
/* 80247AFC 00244A5C 7F C3 F3 78 */ mr r3, r30
|
|
/* 80247B00 00244A60 48 0C DE 31 */ bl Free__7CMemoryFPCv
|
|
lbl_80247B04:
|
|
/* 80247B04 00244A64 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80247B08 00244A68 7F C3 F3 78 */ mr r3, r30
|
|
/* 80247B0C 00244A6C 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80247B10 00244A70 83 C1 00 08 */ lwz r30, 8(r1)
|
|
/* 80247B14 00244A74 7C 08 03 A6 */ mtlr r0
|
|
/* 80247B18 00244A78 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80247B1C 00244A7C 4E 80 00 20 */ blr
|
|
|
|
.global sub_80247b20
|
|
sub_80247b20:
|
|
/* 80247B20 00244A80 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 80247B24 00244A84 7C 08 02 A6 */ mflr r0
|
|
/* 80247B28 00244A88 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 80247B2C 00244A8C 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 80247B30 00244A90 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
/* 80247B34 00244A94 3B C0 00 00 */ li r30, 0
|
|
/* 80247B38 00244A98 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
/* 80247B3C 00244A9C 7C 7D 1B 78 */ mr r29, r3
|
|
/* 80247B40 00244AA0 3B FD 00 04 */ addi r31, r29, 4
|
|
/* 80247B44 00244AA4 48 00 00 14 */ b lbl_80247B58
|
|
lbl_80247B48:
|
|
/* 80247B48 00244AA8 7F E3 FB 78 */ mr r3, r31
|
|
/* 80247B4C 00244AAC 48 00 00 3D */ bl sub_80247b88
|
|
/* 80247B50 00244AB0 3B FF 00 10 */ addi r31, r31, 0x10
|
|
/* 80247B54 00244AB4 3B DE 00 01 */ addi r30, r30, 1
|
|
lbl_80247B58:
|
|
/* 80247B58 00244AB8 80 1D 00 00 */ lwz r0, 0(r29)
|
|
/* 80247B5C 00244ABC 7C 1E 00 00 */ cmpw r30, r0
|
|
/* 80247B60 00244AC0 41 80 FF E8 */ blt lbl_80247B48
|
|
/* 80247B64 00244AC4 38 00 00 00 */ li r0, 0
|
|
/* 80247B68 00244AC8 90 1D 00 00 */ stw r0, 0(r29)
|
|
/* 80247B6C 00244ACC 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 80247B70 00244AD0 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 80247B74 00244AD4 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
/* 80247B78 00244AD8 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
/* 80247B7C 00244ADC 7C 08 03 A6 */ mtlr r0
|
|
/* 80247B80 00244AE0 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 80247B84 00244AE4 4E 80 00 20 */ blr
|
|
|
|
.global sub_80247b88
|
|
sub_80247b88:
|
|
/* 80247B88 00244AE8 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80247B8C 00244AEC 7C 08 02 A6 */ mflr r0
|
|
/* 80247B90 00244AF0 38 80 FF FF */ li r4, -1
|
|
/* 80247B94 00244AF4 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80247B98 00244AF8 4B FF F4 B1 */ bl sub_80247048
|
|
/* 80247B9C 00244AFC 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80247BA0 00244B00 7C 08 03 A6 */ mtlr r0
|
|
/* 80247BA4 00244B04 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80247BA8 00244B08 4E 80 00 20 */ blr
|
|
|
|
.global __ct__14CLogBookScreenFRC13CStateManagerRC9CGuiFrameRC12CStringTable
|
|
__ct__14CLogBookScreenFRC13CStateManagerRC9CGuiFrameRC12CStringTable:
|
|
/* 80247BAC 00244B0C 94 21 FF C0 */ stwu r1, -0x40(r1)
|
|
/* 80247BB0 00244B10 7C 08 02 A6 */ mflr r0
|
|
/* 80247BB4 00244B14 90 01 00 44 */ stw r0, 0x44(r1)
|
|
/* 80247BB8 00244B18 93 E1 00 3C */ stw r31, 0x3c(r1)
|
|
/* 80247BBC 00244B1C 7C 7F 1B 78 */ mr r31, r3
|
|
/* 80247BC0 00244B20 4B E2 AC 91 */ bl __ct__16CPauseScreenBaseFRC13CStateManagerRC9CGuiFrameRC12CStringTable
|
|
/* 80247BC4 00244B24 3C 60 80 3F */ lis r3, lbl_803E8B78@ha
|
|
/* 80247BC8 00244B28 38 00 00 00 */ li r0, 0
|
|
/* 80247BCC 00244B2C 38 83 8B 78 */ addi r4, r3, lbl_803E8B78@l
|
|
/* 80247BD0 00244B30 38 7F 01 9C */ addi r3, r31, 0x19c
|
|
/* 80247BD4 00244B34 90 9F 00 00 */ stw r4, 0(r31)
|
|
/* 80247BD8 00244B38 38 A1 00 28 */ addi r5, r1, 0x28
|
|
/* 80247BDC 00244B3C 38 80 00 05 */ li r4, 5
|
|
/* 80247BE0 00244B40 90 01 00 2C */ stw r0, 0x2c(r1)
|
|
/* 80247BE4 00244B44 90 01 00 30 */ stw r0, 0x30(r1)
|
|
/* 80247BE8 00244B48 90 01 00 34 */ stw r0, 0x34(r1)
|
|
/* 80247BEC 00244B4C 48 00 02 B5 */ bl sub_80247ea0
|
|
/* 80247BF0 00244B50 80 01 00 2C */ lwz r0, 0x2c(r1)
|
|
/* 80247BF4 00244B54 80 61 00 34 */ lwz r3, 0x34(r1)
|
|
/* 80247BF8 00244B58 54 00 18 38 */ slwi r0, r0, 3
|
|
/* 80247BFC 00244B5C 7C 03 02 14 */ add r0, r3, r0
|
|
/* 80247C00 00244B60 90 61 00 0C */ stw r3, 0xc(r1)
|
|
/* 80247C04 00244B64 7C 64 1B 78 */ mr r4, r3
|
|
/* 80247C08 00244B68 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80247C0C 00244B6C 90 01 00 10 */ stw r0, 0x10(r1)
|
|
/* 80247C10 00244B70 90 61 00 08 */ stw r3, 8(r1)
|
|
/* 80247C14 00244B74 48 00 00 08 */ b lbl_80247C1C
|
|
lbl_80247C18:
|
|
/* 80247C18 00244B78 38 84 00 08 */ addi r4, r4, 8
|
|
lbl_80247C1C:
|
|
/* 80247C1C 00244B7C 7C 04 00 40 */ cmplw r4, r0
|
|
/* 80247C20 00244B80 40 82 FF F8 */ bne lbl_80247C18
|
|
/* 80247C24 00244B84 28 03 00 00 */ cmplwi r3, 0
|
|
/* 80247C28 00244B88 41 82 00 08 */ beq lbl_80247C30
|
|
/* 80247C2C 00244B8C 48 0C DD 05 */ bl Free__7CMemoryFPCv
|
|
lbl_80247C30:
|
|
/* 80247C30 00244B90 38 00 00 00 */ li r0, 0
|
|
/* 80247C34 00244B94 38 7F 02 00 */ addi r3, r31, 0x200
|
|
/* 80247C38 00244B98 90 1F 01 F4 */ stw r0, 0x1f4(r31)
|
|
/* 80247C3C 00244B9C 38 A1 00 18 */ addi r5, r1, 0x18
|
|
/* 80247C40 00244BA0 38 80 00 05 */ li r4, 5
|
|
/* 80247C44 00244BA4 90 1F 01 F8 */ stw r0, 0x1f8(r31)
|
|
/* 80247C48 00244BA8 90 1F 01 FC */ stw r0, 0x1fc(r31)
|
|
/* 80247C4C 00244BAC 90 01 00 1C */ stw r0, 0x1c(r1)
|
|
/* 80247C50 00244BB0 90 01 00 20 */ stw r0, 0x20(r1)
|
|
/* 80247C54 00244BB4 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 80247C58 00244BB8 48 00 00 91 */ bl sub_80247ce8
|
|
/* 80247C5C 00244BBC 38 61 00 18 */ addi r3, r1, 0x18
|
|
/* 80247C60 00244BC0 38 80 FF FF */ li r4, -1
|
|
/* 80247C64 00244BC4 4B FF F3 E5 */ bl sub_80247048
|
|
/* 80247C68 00244BC8 C0 02 B8 58 */ lfs f0, lbl_805AD578@sda21(r2)
|
|
/* 80247C6C 00244BCC 3C 60 80 3D */ lis r3, lbl_803D4760@ha
|
|
/* 80247C70 00244BD0 38 83 47 60 */ addi r4, r3, lbl_803D4760@l
|
|
/* 80247C74 00244BD4 38 A0 00 00 */ li r5, 0
|
|
/* 80247C78 00244BD8 D0 1F 02 54 */ stfs f0, 0x254(r31)
|
|
/* 80247C7C 00244BDC 38 60 00 2C */ li r3, 0x2c
|
|
/* 80247C80 00244BE0 48 0C DB ED */ bl __nw__FUlPCcPCc
|
|
/* 80247C84 00244BE4 7C 60 1B 79 */ or. r0, r3, r3
|
|
/* 80247C88 00244BE8 41 82 00 0C */ beq lbl_80247C94
|
|
/* 80247C8C 00244BEC 48 05 58 35 */ bl __ct__13CArtifactDollFv
|
|
/* 80247C90 00244BF0 7C 60 1B 78 */ mr r0, r3
|
|
lbl_80247C94:
|
|
/* 80247C94 00244BF4 90 1F 02 58 */ stw r0, 0x258(r31)
|
|
/* 80247C98 00244BF8 38 60 00 00 */ li r3, 0
|
|
/* 80247C9C 00244BFC 90 7F 02 5C */ stw r3, 0x25c(r31)
|
|
/* 80247CA0 00244C00 88 1F 02 60 */ lbz r0, 0x260(r31)
|
|
/* 80247CA4 00244C04 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18
|
|
/* 80247CA8 00244C08 98 1F 02 60 */ stb r0, 0x260(r31)
|
|
/* 80247CAC 00244C0C 88 1F 02 60 */ lbz r0, 0x260(r31)
|
|
/* 80247CB0 00244C10 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19
|
|
/* 80247CB4 00244C14 98 1F 02 60 */ stb r0, 0x260(r31)
|
|
/* 80247CB8 00244C18 88 1F 02 60 */ lbz r0, 0x260(r31)
|
|
/* 80247CBC 00244C1C 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a
|
|
/* 80247CC0 00244C20 98 1F 02 60 */ stb r0, 0x260(r31)
|
|
/* 80247CC4 00244C24 4B DB CB 4D */ bl EnsureWorldPaksReady__5CMainFv
|
|
/* 80247CC8 00244C28 7F E3 FB 78 */ mr r3, r31
|
|
/* 80247CCC 00244C2C 4B FF EA 05 */ bl InitializeLogBook__14CLogBookScreenFv
|
|
/* 80247CD0 00244C30 80 01 00 44 */ lwz r0, 0x44(r1)
|
|
/* 80247CD4 00244C34 7F E3 FB 78 */ mr r3, r31
|
|
/* 80247CD8 00244C38 83 E1 00 3C */ lwz r31, 0x3c(r1)
|
|
/* 80247CDC 00244C3C 7C 08 03 A6 */ mtlr r0
|
|
/* 80247CE0 00244C40 38 21 00 40 */ addi r1, r1, 0x40
|
|
/* 80247CE4 00244C44 4E 80 00 20 */ blr
|
|
|
|
.global sub_80247ce8
|
|
sub_80247ce8:
|
|
/* 80247CE8 00244C48 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80247CEC 00244C4C 7C 08 02 A6 */ mflr r0
|
|
/* 80247CF0 00244C50 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80247CF4 00244C54 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 80247CF8 00244C58 7C 7F 1B 78 */ mr r31, r3
|
|
/* 80247CFC 00244C5C 90 83 00 00 */ stw r4, 0(r3)
|
|
/* 80247D00 00244C60 38 7F 00 04 */ addi r3, r31, 4
|
|
/* 80247D04 00244C64 48 00 00 1D */ bl sub_80247d20
|
|
/* 80247D08 00244C68 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80247D0C 00244C6C 7F E3 FB 78 */ mr r3, r31
|
|
/* 80247D10 00244C70 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80247D14 00244C74 7C 08 03 A6 */ mtlr r0
|
|
/* 80247D18 00244C78 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80247D1C 00244C7C 4E 80 00 20 */ blr
|
|
|
|
.global sub_80247d20
|
|
sub_80247d20:
|
|
/* 80247D20 00244C80 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 80247D24 00244C84 7C 08 02 A6 */ mflr r0
|
|
/* 80247D28 00244C88 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 80247D2C 00244C8C 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 80247D30 00244C90 7C 7F 1B 78 */ mr r31, r3
|
|
/* 80247D34 00244C94 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
/* 80247D38 00244C98 3B C0 00 00 */ li r30, 0
|
|
/* 80247D3C 00244C9C 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
/* 80247D40 00244CA0 7C BD 2B 78 */ mr r29, r5
|
|
/* 80247D44 00244CA4 93 81 00 10 */ stw r28, 0x10(r1)
|
|
/* 80247D48 00244CA8 7C 9C 23 78 */ mr r28, r4
|
|
/* 80247D4C 00244CAC 48 00 00 20 */ b lbl_80247D6C
|
|
lbl_80247D50:
|
|
/* 80247D50 00244CB0 28 1F 00 00 */ cmplwi r31, 0
|
|
/* 80247D54 00244CB4 41 82 00 10 */ beq lbl_80247D64
|
|
/* 80247D58 00244CB8 7F E3 FB 78 */ mr r3, r31
|
|
/* 80247D5C 00244CBC 7F A4 EB 78 */ mr r4, r29
|
|
/* 80247D60 00244CC0 48 00 00 35 */ bl sub_80247d94
|
|
lbl_80247D64:
|
|
/* 80247D64 00244CC4 3B DE 00 01 */ addi r30, r30, 1
|
|
/* 80247D68 00244CC8 3B FF 00 10 */ addi r31, r31, 0x10
|
|
lbl_80247D6C:
|
|
/* 80247D6C 00244CCC 7C 1E E0 00 */ cmpw r30, r28
|
|
/* 80247D70 00244CD0 41 80 FF E0 */ blt lbl_80247D50
|
|
/* 80247D74 00244CD4 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 80247D78 00244CD8 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 80247D7C 00244CDC 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
/* 80247D80 00244CE0 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
/* 80247D84 00244CE4 83 81 00 10 */ lwz r28, 0x10(r1)
|
|
/* 80247D88 00244CE8 7C 08 03 A6 */ mtlr r0
|
|
/* 80247D8C 00244CEC 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 80247D90 00244CF0 4E 80 00 20 */ blr
|
|
|
|
.global sub_80247d94
|
|
sub_80247d94:
|
|
/* 80247D94 00244CF4 94 21 FF D0 */ stwu r1, -0x30(r1)
|
|
/* 80247D98 00244CF8 7C 08 02 A6 */ mflr r0
|
|
/* 80247D9C 00244CFC 90 01 00 34 */ stw r0, 0x34(r1)
|
|
/* 80247DA0 00244D00 BF 21 00 14 */ stmw r25, 0x14(r1)
|
|
/* 80247DA4 00244D04 7C 99 23 78 */ mr r25, r4
|
|
/* 80247DA8 00244D08 7C 7F 1B 78 */ mr r31, r3
|
|
/* 80247DAC 00244D0C 80 04 00 04 */ lwz r0, 4(r4)
|
|
/* 80247DB0 00244D10 90 03 00 04 */ stw r0, 4(r3)
|
|
/* 80247DB4 00244D14 80 04 00 08 */ lwz r0, 8(r4)
|
|
/* 80247DB8 00244D18 90 03 00 08 */ stw r0, 8(r3)
|
|
/* 80247DBC 00244D1C 80 04 00 04 */ lwz r0, 4(r4)
|
|
/* 80247DC0 00244D20 2C 00 00 00 */ cmpwi r0, 0
|
|
/* 80247DC4 00244D24 40 82 00 1C */ bne lbl_80247DE0
|
|
/* 80247DC8 00244D28 80 19 00 08 */ lwz r0, 8(r25)
|
|
/* 80247DCC 00244D2C 2C 00 00 00 */ cmpwi r0, 0
|
|
/* 80247DD0 00244D30 40 82 00 10 */ bne lbl_80247DE0
|
|
/* 80247DD4 00244D34 38 00 00 00 */ li r0, 0
|
|
/* 80247DD8 00244D38 90 1F 00 0C */ stw r0, 0xc(r31)
|
|
/* 80247DDC 00244D3C 48 00 00 AC */ b lbl_80247E88
|
|
lbl_80247DE0:
|
|
/* 80247DE0 00244D40 80 1F 00 08 */ lwz r0, 8(r31)
|
|
/* 80247DE4 00244D44 1C 60 00 1C */ mulli r3, r0, 0x1c
|
|
/* 80247DE8 00244D48 2C 03 00 00 */ cmpwi r3, 0
|
|
/* 80247DEC 00244D4C 40 82 00 10 */ bne lbl_80247DFC
|
|
/* 80247DF0 00244D50 38 00 00 00 */ li r0, 0
|
|
/* 80247DF4 00244D54 90 1F 00 0C */ stw r0, 0xc(r31)
|
|
/* 80247DF8 00244D58 48 00 00 18 */ b lbl_80247E10
|
|
lbl_80247DFC:
|
|
/* 80247DFC 00244D5C 3C 80 80 3D */ lis r4, lbl_803D4760@ha
|
|
/* 80247E00 00244D60 38 A0 00 00 */ li r5, 0
|
|
/* 80247E04 00244D64 38 84 47 60 */ addi r4, r4, lbl_803D4760@l
|
|
/* 80247E08 00244D68 48 0C DA 11 */ bl __nwa__FUlPCcPCc
|
|
/* 80247E0C 00244D6C 90 7F 00 0C */ stw r3, 0xc(r31)
|
|
lbl_80247E10:
|
|
/* 80247E10 00244D70 83 7F 00 04 */ lwz r27, 4(r31)
|
|
/* 80247E14 00244D74 3B C0 00 00 */ li r30, 0
|
|
/* 80247E18 00244D78 83 99 00 0C */ lwz r28, 0xc(r25)
|
|
/* 80247E1C 00244D7C 83 BF 00 0C */ lwz r29, 0xc(r31)
|
|
/* 80247E20 00244D80 48 00 00 60 */ b lbl_80247E80
|
|
lbl_80247E24:
|
|
/* 80247E24 00244D84 28 1D 00 00 */ cmplwi r29, 0
|
|
/* 80247E28 00244D88 41 82 00 4C */ beq lbl_80247E74
|
|
/* 80247E2C 00244D8C 7F A3 EB 78 */ mr r3, r29
|
|
/* 80247E30 00244D90 7F 84 E3 78 */ mr r4, r28
|
|
/* 80247E34 00244D94 48 0F 90 75 */ bl __ct__6CTokenFRC6CToken
|
|
/* 80247E38 00244D98 80 1C 00 08 */ lwz r0, 8(r28)
|
|
/* 80247E3C 00244D9C 90 1D 00 08 */ stw r0, 8(r29)
|
|
/* 80247E40 00244DA0 88 1C 00 18 */ lbz r0, 0x18(r28)
|
|
/* 80247E44 00244DA4 98 1D 00 18 */ stb r0, 0x18(r29)
|
|
/* 80247E48 00244DA8 88 1C 00 18 */ lbz r0, 0x18(r28)
|
|
/* 80247E4C 00244DAC 28 00 00 00 */ cmplwi r0, 0
|
|
/* 80247E50 00244DB0 41 82 00 24 */ beq lbl_80247E74
|
|
/* 80247E54 00244DB4 37 5D 00 0C */ addic. r26, r29, 0xc
|
|
/* 80247E58 00244DB8 3B 3C 00 0C */ addi r25, r28, 0xc
|
|
/* 80247E5C 00244DBC 41 82 00 18 */ beq lbl_80247E74
|
|
/* 80247E60 00244DC0 7F 43 D3 78 */ mr r3, r26
|
|
/* 80247E64 00244DC4 7F 24 CB 78 */ mr r4, r25
|
|
/* 80247E68 00244DC8 48 0F 90 41 */ bl __ct__6CTokenFRC6CToken
|
|
/* 80247E6C 00244DCC 80 19 00 08 */ lwz r0, 8(r25)
|
|
/* 80247E70 00244DD0 90 1A 00 08 */ stw r0, 8(r26)
|
|
lbl_80247E74:
|
|
/* 80247E74 00244DD4 3B BD 00 1C */ addi r29, r29, 0x1c
|
|
/* 80247E78 00244DD8 3B DE 00 01 */ addi r30, r30, 1
|
|
/* 80247E7C 00244DDC 3B 9C 00 1C */ addi r28, r28, 0x1c
|
|
lbl_80247E80:
|
|
/* 80247E80 00244DE0 7C 1E D8 00 */ cmpw r30, r27
|
|
/* 80247E84 00244DE4 41 80 FF A0 */ blt lbl_80247E24
|
|
lbl_80247E88:
|
|
/* 80247E88 00244DE8 7F E3 FB 78 */ mr r3, r31
|
|
/* 80247E8C 00244DEC BB 21 00 14 */ lmw r25, 0x14(r1)
|
|
/* 80247E90 00244DF0 80 01 00 34 */ lwz r0, 0x34(r1)
|
|
/* 80247E94 00244DF4 7C 08 03 A6 */ mtlr r0
|
|
/* 80247E98 00244DF8 38 21 00 30 */ addi r1, r1, 0x30
|
|
/* 80247E9C 00244DFC 4E 80 00 20 */ blr
|
|
|
|
.global sub_80247ea0
|
|
sub_80247ea0:
|
|
/* 80247EA0 00244E00 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80247EA4 00244E04 7C 08 02 A6 */ mflr r0
|
|
/* 80247EA8 00244E08 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80247EAC 00244E0C 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 80247EB0 00244E10 7C 7F 1B 78 */ mr r31, r3
|
|
/* 80247EB4 00244E14 90 83 00 00 */ stw r4, 0(r3)
|
|
/* 80247EB8 00244E18 38 7F 00 04 */ addi r3, r31, 4
|
|
/* 80247EBC 00244E1C 48 00 00 1D */ bl sub_80247ed8
|
|
/* 80247EC0 00244E20 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80247EC4 00244E24 7F E3 FB 78 */ mr r3, r31
|
|
/* 80247EC8 00244E28 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80247ECC 00244E2C 7C 08 03 A6 */ mtlr r0
|
|
/* 80247ED0 00244E30 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80247ED4 00244E34 4E 80 00 20 */ blr
|
|
|
|
.global sub_80247ed8
|
|
sub_80247ed8:
|
|
/* 80247ED8 00244E38 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 80247EDC 00244E3C 7C 08 02 A6 */ mflr r0
|
|
/* 80247EE0 00244E40 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 80247EE4 00244E44 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 80247EE8 00244E48 7C 7F 1B 78 */ mr r31, r3
|
|
/* 80247EEC 00244E4C 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
/* 80247EF0 00244E50 3B C0 00 00 */ li r30, 0
|
|
/* 80247EF4 00244E54 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
/* 80247EF8 00244E58 7C BD 2B 78 */ mr r29, r5
|
|
/* 80247EFC 00244E5C 93 81 00 10 */ stw r28, 0x10(r1)
|
|
/* 80247F00 00244E60 7C 9C 23 78 */ mr r28, r4
|
|
/* 80247F04 00244E64 48 00 00 B0 */ b lbl_80247FB4
|
|
lbl_80247F08:
|
|
/* 80247F08 00244E68 28 1F 00 00 */ cmplwi r31, 0
|
|
/* 80247F0C 00244E6C 41 82 00 A0 */ beq lbl_80247FAC
|
|
/* 80247F10 00244E70 80 1D 00 04 */ lwz r0, 4(r29)
|
|
/* 80247F14 00244E74 90 1F 00 04 */ stw r0, 4(r31)
|
|
/* 80247F18 00244E78 80 1D 00 08 */ lwz r0, 8(r29)
|
|
/* 80247F1C 00244E7C 90 1F 00 08 */ stw r0, 8(r31)
|
|
/* 80247F20 00244E80 80 1D 00 04 */ lwz r0, 4(r29)
|
|
/* 80247F24 00244E84 2C 00 00 00 */ cmpwi r0, 0
|
|
/* 80247F28 00244E88 40 82 00 1C */ bne lbl_80247F44
|
|
/* 80247F2C 00244E8C 80 1D 00 08 */ lwz r0, 8(r29)
|
|
/* 80247F30 00244E90 2C 00 00 00 */ cmpwi r0, 0
|
|
/* 80247F34 00244E94 40 82 00 10 */ bne lbl_80247F44
|
|
/* 80247F38 00244E98 38 00 00 00 */ li r0, 0
|
|
/* 80247F3C 00244E9C 90 1F 00 0C */ stw r0, 0xc(r31)
|
|
/* 80247F40 00244EA0 48 00 00 6C */ b lbl_80247FAC
|
|
lbl_80247F44:
|
|
/* 80247F44 00244EA4 80 1F 00 08 */ lwz r0, 8(r31)
|
|
/* 80247F48 00244EA8 54 03 18 39 */ rlwinm. r3, r0, 3, 0, 0x1c
|
|
/* 80247F4C 00244EAC 40 82 00 10 */ bne lbl_80247F5C
|
|
/* 80247F50 00244EB0 38 00 00 00 */ li r0, 0
|
|
/* 80247F54 00244EB4 90 1F 00 0C */ stw r0, 0xc(r31)
|
|
/* 80247F58 00244EB8 48 00 00 18 */ b lbl_80247F70
|
|
lbl_80247F5C:
|
|
/* 80247F5C 00244EBC 3C 80 80 3D */ lis r4, lbl_803D4760@ha
|
|
/* 80247F60 00244EC0 38 A0 00 00 */ li r5, 0
|
|
/* 80247F64 00244EC4 38 84 47 60 */ addi r4, r4, lbl_803D4760@l
|
|
/* 80247F68 00244EC8 48 0C D8 B1 */ bl __nwa__FUlPCcPCc
|
|
/* 80247F6C 00244ECC 90 7F 00 0C */ stw r3, 0xc(r31)
|
|
lbl_80247F70:
|
|
/* 80247F70 00244ED0 80 1F 00 04 */ lwz r0, 4(r31)
|
|
/* 80247F74 00244ED4 80 9D 00 0C */ lwz r4, 0xc(r29)
|
|
/* 80247F78 00244ED8 80 7F 00 0C */ lwz r3, 0xc(r31)
|
|
/* 80247F7C 00244EDC 7C 09 03 A6 */ mtctr r0
|
|
/* 80247F80 00244EE0 2C 00 00 00 */ cmpwi r0, 0
|
|
/* 80247F84 00244EE4 40 81 00 28 */ ble lbl_80247FAC
|
|
lbl_80247F88:
|
|
/* 80247F88 00244EE8 28 03 00 00 */ cmplwi r3, 0
|
|
/* 80247F8C 00244EEC 41 82 00 14 */ beq lbl_80247FA0
|
|
/* 80247F90 00244EF0 80 04 00 00 */ lwz r0, 0(r4)
|
|
/* 80247F94 00244EF4 90 03 00 00 */ stw r0, 0(r3)
|
|
/* 80247F98 00244EF8 88 04 00 04 */ lbz r0, 4(r4)
|
|
/* 80247F9C 00244EFC 98 03 00 04 */ stb r0, 4(r3)
|
|
lbl_80247FA0:
|
|
/* 80247FA0 00244F00 38 63 00 08 */ addi r3, r3, 8
|
|
/* 80247FA4 00244F04 38 84 00 08 */ addi r4, r4, 8
|
|
/* 80247FA8 00244F08 42 00 FF E0 */ bdnz lbl_80247F88
|
|
lbl_80247FAC:
|
|
/* 80247FAC 00244F0C 3B DE 00 01 */ addi r30, r30, 1
|
|
/* 80247FB0 00244F10 3B FF 00 10 */ addi r31, r31, 0x10
|
|
lbl_80247FB4:
|
|
/* 80247FB4 00244F14 7C 1E E0 00 */ cmpw r30, r28
|
|
/* 80247FB8 00244F18 41 80 FF 50 */ blt lbl_80247F08
|
|
/* 80247FBC 00244F1C 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 80247FC0 00244F20 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 80247FC4 00244F24 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
/* 80247FC8 00244F28 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
/* 80247FCC 00244F2C 83 81 00 10 */ lwz r28, 0x10(r1)
|
|
/* 80247FD0 00244F30 7C 08 03 A6 */ mtlr r0
|
|
/* 80247FD4 00244F34 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 80247FD8 00244F38 4E 80 00 20 */ blr
|
|
|
|
.global sub_80247fdc
|
|
sub_80247fdc:
|
|
/* 80247FDC 00244F3C 94 21 FF A0 */ stwu r1, -0x60(r1)
|
|
/* 80247FE0 00244F40 7C 08 02 A6 */ mflr r0
|
|
/* 80247FE4 00244F44 90 01 00 64 */ stw r0, 0x64(r1)
|
|
/* 80247FE8 00244F48 BF 61 00 4C */ stmw r27, 0x4c(r1)
|
|
/* 80247FEC 00244F4C 7C 7C 1B 78 */ mr r28, r3
|
|
/* 80247FF0 00244F50 7C BE 2B 78 */ mr r30, r5
|
|
/* 80247FF4 00244F54 7C 9D 23 78 */ mr r29, r4
|
|
/* 80247FF8 00244F58 80 63 00 00 */ lwz r3, 0(r3)
|
|
/* 80247FFC 00244F5C 80 A4 00 00 */ lwz r5, 0(r4)
|
|
/* 80248000 00244F60 7C 03 28 50 */ subf r0, r3, r5
|
|
/* 80248004 00244F64 7C 00 1E 70 */ srawi r0, r0, 3
|
|
/* 80248008 00244F68 7C 80 01 94 */ addze r4, r0
|
|
/* 8024800C 00244F6C 2C 04 00 01 */ cmpwi r4, 1
|
|
/* 80248010 00244F70 40 81 01 88 */ ble lbl_80248198
|
|
/* 80248014 00244F74 2C 04 00 14 */ cmpwi r4, 0x14
|
|
/* 80248018 00244F78 41 81 00 30 */ bgt lbl_80248048
|
|
/* 8024801C 00244F7C 88 FE 00 00 */ lbz r7, 0(r30)
|
|
/* 80248020 00244F80 38 61 00 34 */ addi r3, r1, 0x34
|
|
/* 80248024 00244F84 80 DD 00 00 */ lwz r6, 0(r29)
|
|
/* 80248028 00244F88 38 81 00 30 */ addi r4, r1, 0x30
|
|
/* 8024802C 00244F8C 80 1C 00 00 */ lwz r0, 0(r28)
|
|
/* 80248030 00244F90 38 A1 00 14 */ addi r5, r1, 0x14
|
|
/* 80248034 00244F94 98 E1 00 14 */ stb r7, 0x14(r1)
|
|
/* 80248038 00244F98 90 C1 00 30 */ stw r6, 0x30(r1)
|
|
/* 8024803C 00244F9C 90 01 00 34 */ stw r0, 0x34(r1)
|
|
/* 80248040 00244FA0 48 00 04 F1 */ bl sub_80248530
|
|
/* 80248044 00244FA4 48 00 01 54 */ b lbl_80248198
|
|
lbl_80248048:
|
|
/* 80248048 00244FA8 54 80 0F FE */ srwi r0, r4, 0x1f
|
|
/* 8024804C 00244FAC 38 A5 FF F8 */ addi r5, r5, -8
|
|
/* 80248050 00244FB0 7C 80 22 14 */ add r4, r0, r4
|
|
/* 80248054 00244FB4 88 1E 00 00 */ lbz r0, 0(r30)
|
|
/* 80248058 00244FB8 7C 84 0E 70 */ srawi r4, r4, 1
|
|
/* 8024805C 00244FBC 90 A1 00 3C */ stw r5, 0x3c(r1)
|
|
/* 80248060 00244FC0 54 84 18 38 */ slwi r4, r4, 3
|
|
/* 80248064 00244FC4 38 C1 00 10 */ addi r6, r1, 0x10
|
|
/* 80248068 00244FC8 7F 63 22 14 */ add r27, r3, r4
|
|
/* 8024806C 00244FCC 98 01 00 10 */ stb r0, 0x10(r1)
|
|
/* 80248070 00244FD0 7F 64 DB 78 */ mr r4, r27
|
|
/* 80248074 00244FD4 48 00 03 DD */ bl sub_80248450
|
|
/* 80248078 00244FD8 80 9C 00 00 */ lwz r4, 0(r28)
|
|
/* 8024807C 00244FDC 80 61 00 3C */ lwz r3, 0x3c(r1)
|
|
/* 80248080 00244FE0 38 84 00 08 */ addi r4, r4, 8
|
|
/* 80248084 00244FE4 83 FB 00 00 */ lwz r31, 0(r27)
|
|
/* 80248088 00244FE8 38 03 FF F8 */ addi r0, r3, -8
|
|
/* 8024808C 00244FEC 90 81 00 38 */ stw r4, 0x38(r1)
|
|
/* 80248090 00244FF0 90 01 00 3C */ stw r0, 0x3c(r1)
|
|
/* 80248094 00244FF4 48 00 00 10 */ b lbl_802480A4
|
|
lbl_80248098:
|
|
/* 80248098 00244FF8 80 61 00 38 */ lwz r3, 0x38(r1)
|
|
/* 8024809C 00244FFC 38 03 00 08 */ addi r0, r3, 8
|
|
/* 802480A0 00245000 90 01 00 38 */ stw r0, 0x38(r1)
|
|
lbl_802480A4:
|
|
/* 802480A4 00245004 7F E3 FB 78 */ mr r3, r31
|
|
/* 802480A8 00245008 48 05 47 DD */ bl GetArtifactHeadScanIndex__13CArtifactDollFUi
|
|
/* 802480AC 0024500C 80 81 00 38 */ lwz r4, 0x38(r1)
|
|
/* 802480B0 00245010 7C 7B 1B 78 */ mr r27, r3
|
|
/* 802480B4 00245014 80 64 00 00 */ lwz r3, 0(r4)
|
|
/* 802480B8 00245018 48 05 47 CD */ bl GetArtifactHeadScanIndex__13CArtifactDollFUi
|
|
/* 802480BC 0024501C 7C 03 D8 00 */ cmpw r3, r27
|
|
/* 802480C0 00245020 41 80 FF D8 */ blt lbl_80248098
|
|
/* 802480C4 00245024 48 00 00 10 */ b lbl_802480D4
|
|
lbl_802480C8:
|
|
/* 802480C8 00245028 80 61 00 3C */ lwz r3, 0x3c(r1)
|
|
/* 802480CC 0024502C 38 03 FF F8 */ addi r0, r3, -8
|
|
/* 802480D0 00245030 90 01 00 3C */ stw r0, 0x3c(r1)
|
|
lbl_802480D4:
|
|
/* 802480D4 00245034 80 61 00 3C */ lwz r3, 0x3c(r1)
|
|
/* 802480D8 00245038 80 63 00 00 */ lwz r3, 0(r3)
|
|
/* 802480DC 0024503C 48 05 47 A9 */ bl GetArtifactHeadScanIndex__13CArtifactDollFUi
|
|
/* 802480E0 00245040 7C 7B 1B 78 */ mr r27, r3
|
|
/* 802480E4 00245044 7F E3 FB 78 */ mr r3, r31
|
|
/* 802480E8 00245048 48 05 47 9D */ bl GetArtifactHeadScanIndex__13CArtifactDollFUi
|
|
/* 802480EC 0024504C 7C 03 D8 00 */ cmpw r3, r27
|
|
/* 802480F0 00245050 41 80 FF D8 */ blt lbl_802480C8
|
|
/* 802480F4 00245054 80 61 00 38 */ lwz r3, 0x38(r1)
|
|
/* 802480F8 00245058 80 01 00 3C */ lwz r0, 0x3c(r1)
|
|
/* 802480FC 0024505C 7C 03 00 40 */ cmplw r3, r0
|
|
/* 80248100 00245060 40 80 00 48 */ bge lbl_80248148
|
|
/* 80248104 00245064 80 A1 00 38 */ lwz r5, 0x38(r1)
|
|
/* 80248108 00245068 80 C1 00 3C */ lwz r6, 0x3c(r1)
|
|
/* 8024810C 0024506C 80 E5 00 00 */ lwz r7, 0(r5)
|
|
/* 80248110 00245070 38 65 00 08 */ addi r3, r5, 8
|
|
/* 80248114 00245074 89 05 00 04 */ lbz r8, 4(r5)
|
|
/* 80248118 00245078 38 06 FF F8 */ addi r0, r6, -8
|
|
/* 8024811C 0024507C 80 86 00 00 */ lwz r4, 0(r6)
|
|
/* 80248120 00245080 90 C1 00 28 */ stw r6, 0x28(r1)
|
|
/* 80248124 00245084 90 85 00 00 */ stw r4, 0(r5)
|
|
/* 80248128 00245088 88 86 00 04 */ lbz r4, 4(r6)
|
|
/* 8024812C 0024508C 90 A1 00 2C */ stw r5, 0x2c(r1)
|
|
/* 80248130 00245090 98 85 00 04 */ stb r4, 4(r5)
|
|
/* 80248134 00245094 90 E6 00 00 */ stw r7, 0(r6)
|
|
/* 80248138 00245098 99 06 00 04 */ stb r8, 4(r6)
|
|
/* 8024813C 0024509C 90 61 00 38 */ stw r3, 0x38(r1)
|
|
/* 80248140 002450A0 90 01 00 3C */ stw r0, 0x3c(r1)
|
|
/* 80248144 002450A4 4B FF FF 60 */ b lbl_802480A4
|
|
lbl_80248148:
|
|
/* 80248148 002450A8 88 FE 00 00 */ lbz r7, 0(r30)
|
|
/* 8024814C 002450AC 38 61 00 24 */ addi r3, r1, 0x24
|
|
/* 80248150 002450B0 80 C1 00 38 */ lwz r6, 0x38(r1)
|
|
/* 80248154 002450B4 38 81 00 20 */ addi r4, r1, 0x20
|
|
/* 80248158 002450B8 80 1C 00 00 */ lwz r0, 0(r28)
|
|
/* 8024815C 002450BC 38 A1 00 0C */ addi r5, r1, 0xc
|
|
/* 80248160 002450C0 98 E1 00 0C */ stb r7, 0xc(r1)
|
|
/* 80248164 002450C4 90 C1 00 20 */ stw r6, 0x20(r1)
|
|
/* 80248168 002450C8 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 8024816C 002450CC 4B FF FE 71 */ bl sub_80247fdc
|
|
/* 80248170 002450D0 88 FE 00 00 */ lbz r7, 0(r30)
|
|
/* 80248174 002450D4 38 61 00 1C */ addi r3, r1, 0x1c
|
|
/* 80248178 002450D8 80 DD 00 00 */ lwz r6, 0(r29)
|
|
/* 8024817C 002450DC 38 81 00 18 */ addi r4, r1, 0x18
|
|
/* 80248180 002450E0 80 01 00 38 */ lwz r0, 0x38(r1)
|
|
/* 80248184 002450E4 38 A1 00 08 */ addi r5, r1, 8
|
|
/* 80248188 002450E8 98 E1 00 08 */ stb r7, 8(r1)
|
|
/* 8024818C 002450EC 90 C1 00 18 */ stw r6, 0x18(r1)
|
|
/* 80248190 002450F0 90 01 00 1C */ stw r0, 0x1c(r1)
|
|
/* 80248194 002450F4 4B FF FE 49 */ bl sub_80247fdc
|
|
lbl_80248198:
|
|
/* 80248198 002450F8 BB 61 00 4C */ lmw r27, 0x4c(r1)
|
|
/* 8024819C 002450FC 80 01 00 64 */ lwz r0, 0x64(r1)
|
|
/* 802481A0 00245100 7C 08 03 A6 */ mtlr r0
|
|
/* 802481A4 00245104 38 21 00 60 */ addi r1, r1, 0x60
|
|
/* 802481A8 00245108 4E 80 00 20 */ blr
|
|
|
|
.global sub_802481ac
|
|
sub_802481ac:
|
|
/* 802481AC 0024510C 94 21 FF D0 */ stwu r1, -0x30(r1)
|
|
/* 802481B0 00245110 7C 08 02 A6 */ mflr r0
|
|
/* 802481B4 00245114 90 01 00 34 */ stw r0, 0x34(r1)
|
|
/* 802481B8 00245118 93 E1 00 2C */ stw r31, 0x2c(r1)
|
|
/* 802481BC 0024511C 7C 9F 23 78 */ mr r31, r4
|
|
/* 802481C0 00245120 93 C1 00 28 */ stw r30, 0x28(r1)
|
|
/* 802481C4 00245124 7C 7E 1B 78 */ mr r30, r3
|
|
/* 802481C8 00245128 93 A1 00 24 */ stw r29, 0x24(r1)
|
|
/* 802481CC 0024512C 80 03 00 08 */ lwz r0, 8(r3)
|
|
/* 802481D0 00245130 7C 1F 00 00 */ cmpw r31, r0
|
|
/* 802481D4 00245134 40 81 00 B0 */ ble lbl_80248284
|
|
/* 802481D8 00245138 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c
|
|
/* 802481DC 0024513C 40 82 00 0C */ bne lbl_802481E8
|
|
/* 802481E0 00245140 3B A0 00 00 */ li r29, 0
|
|
/* 802481E4 00245144 48 00 00 18 */ b lbl_802481FC
|
|
lbl_802481E8:
|
|
/* 802481E8 00245148 3C 80 80 3D */ lis r4, lbl_803D4760@ha
|
|
/* 802481EC 0024514C 38 A0 00 00 */ li r5, 0
|
|
/* 802481F0 00245150 38 84 47 60 */ addi r4, r4, lbl_803D4760@l
|
|
/* 802481F4 00245154 48 0C D6 25 */ bl __nwa__FUlPCcPCc
|
|
/* 802481F8 00245158 7C 7D 1B 78 */ mr r29, r3
|
|
lbl_802481FC:
|
|
/* 802481FC 0024515C 80 1E 00 04 */ lwz r0, 4(r30)
|
|
/* 80248200 00245160 7F A4 EB 78 */ mr r4, r29
|
|
/* 80248204 00245164 80 BE 00 0C */ lwz r5, 0xc(r30)
|
|
/* 80248208 00245168 54 00 18 38 */ slwi r0, r0, 3
|
|
/* 8024820C 0024516C 7C 65 02 14 */ add r3, r5, r0
|
|
/* 80248210 00245170 90 A1 00 10 */ stw r5, 0x10(r1)
|
|
/* 80248214 00245174 90 61 00 08 */ stw r3, 8(r1)
|
|
/* 80248218 00245178 90 61 00 0C */ stw r3, 0xc(r1)
|
|
/* 8024821C 0024517C 90 A1 00 14 */ stw r5, 0x14(r1)
|
|
/* 80248220 00245180 48 00 00 24 */ b lbl_80248244
|
|
lbl_80248224:
|
|
/* 80248224 00245184 28 04 00 00 */ cmplwi r4, 0
|
|
/* 80248228 00245188 41 82 00 14 */ beq lbl_8024823C
|
|
/* 8024822C 0024518C 80 05 00 00 */ lwz r0, 0(r5)
|
|
/* 80248230 00245190 90 04 00 00 */ stw r0, 0(r4)
|
|
/* 80248234 00245194 88 05 00 04 */ lbz r0, 4(r5)
|
|
/* 80248238 00245198 98 04 00 04 */ stb r0, 4(r4)
|
|
lbl_8024823C:
|
|
/* 8024823C 0024519C 38 84 00 08 */ addi r4, r4, 8
|
|
/* 80248240 002451A0 38 A5 00 08 */ addi r5, r5, 8
|
|
lbl_80248244:
|
|
/* 80248244 002451A4 7C 05 18 40 */ cmplw r5, r3
|
|
/* 80248248 002451A8 40 82 FF DC */ bne lbl_80248224
|
|
/* 8024824C 002451AC 80 1E 00 04 */ lwz r0, 4(r30)
|
|
/* 80248250 002451B0 80 7E 00 0C */ lwz r3, 0xc(r30)
|
|
/* 80248254 002451B4 54 00 18 38 */ slwi r0, r0, 3
|
|
/* 80248258 002451B8 7C 64 1B 78 */ mr r4, r3
|
|
/* 8024825C 002451BC 7C 03 02 14 */ add r0, r3, r0
|
|
/* 80248260 002451C0 48 00 00 08 */ b lbl_80248268
|
|
lbl_80248264:
|
|
/* 80248264 002451C4 38 84 00 08 */ addi r4, r4, 8
|
|
lbl_80248268:
|
|
/* 80248268 002451C8 7C 04 00 40 */ cmplw r4, r0
|
|
/* 8024826C 002451CC 40 82 FF F8 */ bne lbl_80248264
|
|
/* 80248270 002451D0 28 03 00 00 */ cmplwi r3, 0
|
|
/* 80248274 002451D4 41 82 00 08 */ beq lbl_8024827C
|
|
/* 80248278 002451D8 48 0C D6 B9 */ bl Free__7CMemoryFPCv
|
|
lbl_8024827C:
|
|
/* 8024827C 002451DC 93 BE 00 0C */ stw r29, 0xc(r30)
|
|
/* 80248280 002451E0 93 FE 00 08 */ stw r31, 8(r30)
|
|
lbl_80248284:
|
|
/* 80248284 002451E4 80 01 00 34 */ lwz r0, 0x34(r1)
|
|
/* 80248288 002451E8 83 E1 00 2C */ lwz r31, 0x2c(r1)
|
|
/* 8024828C 002451EC 83 C1 00 28 */ lwz r30, 0x28(r1)
|
|
/* 80248290 002451F0 83 A1 00 24 */ lwz r29, 0x24(r1)
|
|
/* 80248294 002451F4 7C 08 03 A6 */ mtlr r0
|
|
/* 80248298 002451F8 38 21 00 30 */ addi r1, r1, 0x30
|
|
/* 8024829C 002451FC 4E 80 00 20 */ blr
|
|
|
|
.global sub_802482a0
|
|
sub_802482a0:
|
|
/* 802482A0 00245200 94 21 FF C0 */ stwu r1, -0x40(r1)
|
|
/* 802482A4 00245204 7C 08 02 A6 */ mflr r0
|
|
/* 802482A8 00245208 90 01 00 44 */ stw r0, 0x44(r1)
|
|
/* 802482AC 0024520C BF 01 00 20 */ stmw r24, 0x20(r1)
|
|
/* 802482B0 00245210 7C 9F 23 78 */ mr r31, r4
|
|
/* 802482B4 00245214 7C 7E 1B 78 */ mr r30, r3
|
|
/* 802482B8 00245218 80 03 00 08 */ lwz r0, 8(r3)
|
|
/* 802482BC 0024521C 7C 1F 00 00 */ cmpw r31, r0
|
|
/* 802482C0 00245220 40 81 00 E0 */ ble lbl_802483A0
|
|
/* 802482C4 00245224 1C 7F 00 1C */ mulli r3, r31, 0x1c
|
|
/* 802482C8 00245228 2C 03 00 00 */ cmpwi r3, 0
|
|
/* 802482CC 0024522C 40 82 00 0C */ bne lbl_802482D8
|
|
/* 802482D0 00245230 3B 80 00 00 */ li r28, 0
|
|
/* 802482D4 00245234 48 00 00 18 */ b lbl_802482EC
|
|
lbl_802482D8:
|
|
/* 802482D8 00245238 3C 80 80 3D */ lis r4, lbl_803D4760@ha
|
|
/* 802482DC 0024523C 38 A0 00 00 */ li r5, 0
|
|
/* 802482E0 00245240 38 84 47 60 */ addi r4, r4, lbl_803D4760@l
|
|
/* 802482E4 00245244 48 0C D5 35 */ bl __nwa__FUlPCcPCc
|
|
/* 802482E8 00245248 7C 7C 1B 78 */ mr r28, r3
|
|
lbl_802482EC:
|
|
/* 802482EC 0024524C 80 1E 00 04 */ lwz r0, 4(r30)
|
|
/* 802482F0 00245250 7F 9B E3 78 */ mr r27, r28
|
|
/* 802482F4 00245254 83 1E 00 0C */ lwz r24, 0xc(r30)
|
|
/* 802482F8 00245258 1C 00 00 1C */ mulli r0, r0, 0x1c
|
|
/* 802482FC 0024525C 93 01 00 10 */ stw r24, 0x10(r1)
|
|
/* 80248300 00245260 7F B8 02 14 */ add r29, r24, r0
|
|
/* 80248304 00245264 93 01 00 14 */ stw r24, 0x14(r1)
|
|
/* 80248308 00245268 93 A1 00 08 */ stw r29, 8(r1)
|
|
/* 8024830C 0024526C 93 A1 00 0C */ stw r29, 0xc(r1)
|
|
/* 80248310 00245270 48 00 00 5C */ b lbl_8024836C
|
|
lbl_80248314:
|
|
/* 80248314 00245274 28 1B 00 00 */ cmplwi r27, 0
|
|
/* 80248318 00245278 41 82 00 4C */ beq lbl_80248364
|
|
/* 8024831C 0024527C 7F 63 DB 78 */ mr r3, r27
|
|
/* 80248320 00245280 7F 04 C3 78 */ mr r4, r24
|
|
/* 80248324 00245284 48 0F 8B 85 */ bl __ct__6CTokenFRC6CToken
|
|
/* 80248328 00245288 80 18 00 08 */ lwz r0, 8(r24)
|
|
/* 8024832C 0024528C 90 1B 00 08 */ stw r0, 8(r27)
|
|
/* 80248330 00245290 88 18 00 18 */ lbz r0, 0x18(r24)
|
|
/* 80248334 00245294 98 1B 00 18 */ stb r0, 0x18(r27)
|
|
/* 80248338 00245298 88 18 00 18 */ lbz r0, 0x18(r24)
|
|
/* 8024833C 0024529C 28 00 00 00 */ cmplwi r0, 0
|
|
/* 80248340 002452A0 41 82 00 24 */ beq lbl_80248364
|
|
/* 80248344 002452A4 37 5B 00 0C */ addic. r26, r27, 0xc
|
|
/* 80248348 002452A8 3B 38 00 0C */ addi r25, r24, 0xc
|
|
/* 8024834C 002452AC 41 82 00 18 */ beq lbl_80248364
|
|
/* 80248350 002452B0 7F 43 D3 78 */ mr r3, r26
|
|
/* 80248354 002452B4 7F 24 CB 78 */ mr r4, r25
|
|
/* 80248358 002452B8 48 0F 8B 51 */ bl __ct__6CTokenFRC6CToken
|
|
/* 8024835C 002452BC 80 19 00 08 */ lwz r0, 8(r25)
|
|
/* 80248360 002452C0 90 1A 00 08 */ stw r0, 8(r26)
|
|
lbl_80248364:
|
|
/* 80248364 002452C4 3B 7B 00 1C */ addi r27, r27, 0x1c
|
|
/* 80248368 002452C8 3B 18 00 1C */ addi r24, r24, 0x1c
|
|
lbl_8024836C:
|
|
/* 8024836C 002452CC 7C 18 E8 40 */ cmplw r24, r29
|
|
/* 80248370 002452D0 40 82 FF A4 */ bne lbl_80248314
|
|
/* 80248374 002452D4 80 1E 00 04 */ lwz r0, 4(r30)
|
|
/* 80248378 002452D8 80 7E 00 0C */ lwz r3, 0xc(r30)
|
|
/* 8024837C 002452DC 1C 00 00 1C */ mulli r0, r0, 0x1c
|
|
/* 80248380 002452E0 7C 83 02 14 */ add r4, r3, r0
|
|
/* 80248384 002452E4 48 00 00 31 */ bl sub_802483b4
|
|
/* 80248388 002452E8 80 7E 00 0C */ lwz r3, 0xc(r30)
|
|
/* 8024838C 002452EC 28 03 00 00 */ cmplwi r3, 0
|
|
/* 80248390 002452F0 41 82 00 08 */ beq lbl_80248398
|
|
/* 80248394 002452F4 48 0C D5 9D */ bl Free__7CMemoryFPCv
|
|
lbl_80248398:
|
|
/* 80248398 002452F8 93 9E 00 0C */ stw r28, 0xc(r30)
|
|
/* 8024839C 002452FC 93 FE 00 08 */ stw r31, 8(r30)
|
|
lbl_802483A0:
|
|
/* 802483A0 00245300 BB 01 00 20 */ lmw r24, 0x20(r1)
|
|
/* 802483A4 00245304 80 01 00 44 */ lwz r0, 0x44(r1)
|
|
/* 802483A8 00245308 7C 08 03 A6 */ mtlr r0
|
|
/* 802483AC 0024530C 38 21 00 40 */ addi r1, r1, 0x40
|
|
/* 802483B0 00245310 4E 80 00 20 */ blr
|
|
|
|
.global sub_802483b4
|
|
sub_802483b4:
|
|
/* 802483B4 00245314 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 802483B8 00245318 7C 08 02 A6 */ mflr r0
|
|
/* 802483BC 0024531C 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 802483C0 00245320 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 802483C4 00245324 3B E0 00 00 */ li r31, 0
|
|
/* 802483C8 00245328 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
/* 802483CC 0024532C 7C 7E 1B 78 */ mr r30, r3
|
|
/* 802483D0 00245330 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
/* 802483D4 00245334 7C 9D 23 78 */ mr r29, r4
|
|
/* 802483D8 00245338 48 00 00 54 */ b lbl_8024842C
|
|
lbl_802483DC:
|
|
/* 802483DC 0024533C 28 1E 00 00 */ cmplwi r30, 0
|
|
/* 802483E0 00245340 41 82 00 48 */ beq lbl_80248428
|
|
/* 802483E4 00245344 34 7E 00 0C */ addic. r3, r30, 0xc
|
|
/* 802483E8 00245348 41 82 00 28 */ beq lbl_80248410
|
|
/* 802483EC 0024534C 88 1E 00 18 */ lbz r0, 0x18(r30)
|
|
/* 802483F0 00245350 28 00 00 00 */ cmplwi r0, 0
|
|
/* 802483F4 00245354 41 82 00 18 */ beq lbl_8024840C
|
|
/* 802483F8 00245358 28 03 00 00 */ cmplwi r3, 0
|
|
/* 802483FC 0024535C 41 82 00 10 */ beq lbl_8024840C
|
|
/* 80248400 00245360 41 82 00 0C */ beq lbl_8024840C
|
|
/* 80248404 00245364 38 80 00 00 */ li r4, 0
|
|
/* 80248408 00245368 48 0F 8A 39 */ bl __dt__6CTokenFv
|
|
lbl_8024840C:
|
|
/* 8024840C 0024536C 9B FE 00 18 */ stb r31, 0x18(r30)
|
|
lbl_80248410:
|
|
/* 80248410 00245370 28 1E 00 00 */ cmplwi r30, 0
|
|
/* 80248414 00245374 41 82 00 14 */ beq lbl_80248428
|
|
/* 80248418 00245378 41 82 00 10 */ beq lbl_80248428
|
|
/* 8024841C 0024537C 7F C3 F3 78 */ mr r3, r30
|
|
/* 80248420 00245380 38 80 00 00 */ li r4, 0
|
|
/* 80248424 00245384 48 0F 8A 1D */ bl __dt__6CTokenFv
|
|
lbl_80248428:
|
|
/* 80248428 00245388 3B DE 00 1C */ addi r30, r30, 0x1c
|
|
lbl_8024842C:
|
|
/* 8024842C 0024538C 7C 1E E8 40 */ cmplw r30, r29
|
|
/* 80248430 00245390 40 82 FF AC */ bne lbl_802483DC
|
|
/* 80248434 00245394 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 80248438 00245398 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 8024843C 0024539C 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
/* 80248440 002453A0 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
/* 80248444 002453A4 7C 08 03 A6 */ mtlr r0
|
|
/* 80248448 002453A8 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 8024844C 002453AC 4E 80 00 20 */ blr
|
|
|
|
.global sub_80248450
|
|
sub_80248450:
|
|
/* 80248450 002453B0 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 80248454 002453B4 7C 08 02 A6 */ mflr r0
|
|
/* 80248458 002453B8 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 8024845C 002453BC BF 41 00 08 */ stmw r26, 8(r1)
|
|
/* 80248460 002453C0 7C 7A 1B 78 */ mr r26, r3
|
|
/* 80248464 002453C4 7C 9B 23 78 */ mr r27, r4
|
|
/* 80248468 002453C8 7C BC 2B 78 */ mr r28, r5
|
|
/* 8024846C 002453CC 80 63 00 00 */ lwz r3, 0(r3)
|
|
/* 80248470 002453D0 48 05 44 15 */ bl GetArtifactHeadScanIndex__13CArtifactDollFUi
|
|
/* 80248474 002453D4 7C 7F 1B 78 */ mr r31, r3
|
|
/* 80248478 002453D8 80 7B 00 00 */ lwz r3, 0(r27)
|
|
/* 8024847C 002453DC 48 05 44 09 */ bl GetArtifactHeadScanIndex__13CArtifactDollFUi
|
|
/* 80248480 002453E0 7C 03 F8 00 */ cmpw r3, r31
|
|
/* 80248484 002453E4 40 80 00 24 */ bge lbl_802484A8
|
|
/* 80248488 002453E8 80 7A 00 00 */ lwz r3, 0(r26)
|
|
/* 8024848C 002453EC 88 9A 00 04 */ lbz r4, 4(r26)
|
|
/* 80248490 002453F0 80 1B 00 00 */ lwz r0, 0(r27)
|
|
/* 80248494 002453F4 90 1A 00 00 */ stw r0, 0(r26)
|
|
/* 80248498 002453F8 88 1B 00 04 */ lbz r0, 4(r27)
|
|
/* 8024849C 002453FC 98 1A 00 04 */ stb r0, 4(r26)
|
|
/* 802484A0 00245400 90 7B 00 00 */ stw r3, 0(r27)
|
|
/* 802484A4 00245404 98 9B 00 04 */ stb r4, 4(r27)
|
|
lbl_802484A8:
|
|
/* 802484A8 00245408 80 7B 00 00 */ lwz r3, 0(r27)
|
|
/* 802484AC 0024540C 48 05 43 D9 */ bl GetArtifactHeadScanIndex__13CArtifactDollFUi
|
|
/* 802484B0 00245410 7C 7F 1B 78 */ mr r31, r3
|
|
/* 802484B4 00245414 80 7C 00 00 */ lwz r3, 0(r28)
|
|
/* 802484B8 00245418 48 05 43 CD */ bl GetArtifactHeadScanIndex__13CArtifactDollFUi
|
|
/* 802484BC 0024541C 7C 03 F8 00 */ cmpw r3, r31
|
|
/* 802484C0 00245420 40 80 00 5C */ bge lbl_8024851C
|
|
/* 802484C4 00245424 83 DC 00 00 */ lwz r30, 0(r28)
|
|
/* 802484C8 00245428 8B BC 00 04 */ lbz r29, 4(r28)
|
|
/* 802484CC 0024542C 80 1B 00 00 */ lwz r0, 0(r27)
|
|
/* 802484D0 00245430 90 1C 00 00 */ stw r0, 0(r28)
|
|
/* 802484D4 00245434 88 1B 00 04 */ lbz r0, 4(r27)
|
|
/* 802484D8 00245438 98 1C 00 04 */ stb r0, 4(r28)
|
|
/* 802484DC 0024543C 80 7A 00 00 */ lwz r3, 0(r26)
|
|
/* 802484E0 00245440 48 05 43 A5 */ bl GetArtifactHeadScanIndex__13CArtifactDollFUi
|
|
/* 802484E4 00245444 7C 7F 1B 78 */ mr r31, r3
|
|
/* 802484E8 00245448 7F C3 F3 78 */ mr r3, r30
|
|
/* 802484EC 0024544C 48 05 43 99 */ bl GetArtifactHeadScanIndex__13CArtifactDollFUi
|
|
/* 802484F0 00245450 7C 03 F8 00 */ cmpw r3, r31
|
|
/* 802484F4 00245454 40 80 00 20 */ bge lbl_80248514
|
|
/* 802484F8 00245458 80 1A 00 00 */ lwz r0, 0(r26)
|
|
/* 802484FC 0024545C 90 1B 00 00 */ stw r0, 0(r27)
|
|
/* 80248500 00245460 88 1A 00 04 */ lbz r0, 4(r26)
|
|
/* 80248504 00245464 98 1B 00 04 */ stb r0, 4(r27)
|
|
/* 80248508 00245468 93 DA 00 00 */ stw r30, 0(r26)
|
|
/* 8024850C 0024546C 9B BA 00 04 */ stb r29, 4(r26)
|
|
/* 80248510 00245470 48 00 00 0C */ b lbl_8024851C
|
|
lbl_80248514:
|
|
/* 80248514 00245474 93 DB 00 00 */ stw r30, 0(r27)
|
|
/* 80248518 00245478 9B BB 00 04 */ stb r29, 4(r27)
|
|
lbl_8024851C:
|
|
/* 8024851C 0024547C BB 41 00 08 */ lmw r26, 8(r1)
|
|
/* 80248520 00245480 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 80248524 00245484 7C 08 03 A6 */ mtlr r0
|
|
/* 80248528 00245488 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 8024852C 0024548C 4E 80 00 20 */ blr
|
|
|
|
.global sub_80248530
|
|
sub_80248530:
|
|
/* 80248530 00245490 94 21 FF D0 */ stwu r1, -0x30(r1)
|
|
/* 80248534 00245494 7C 08 02 A6 */ mflr r0
|
|
/* 80248538 00245498 90 01 00 34 */ stw r0, 0x34(r1)
|
|
/* 8024853C 0024549C BF 01 00 10 */ stmw r24, 0x10(r1)
|
|
/* 80248540 002454A0 7C 78 1B 78 */ mr r24, r3
|
|
/* 80248544 002454A4 7C 99 23 78 */ mr r25, r4
|
|
/* 80248548 002454A8 83 C3 00 00 */ lwz r30, 0(r3)
|
|
/* 8024854C 002454AC 3B DE 00 08 */ addi r30, r30, 8
|
|
/* 80248550 002454B0 48 00 00 64 */ b lbl_802485B4
|
|
lbl_80248554:
|
|
/* 80248554 002454B4 83 BE 00 00 */ lwz r29, 0(r30)
|
|
/* 80248558 002454B8 7F DA F3 78 */ mr r26, r30
|
|
/* 8024855C 002454BC 8B 9E 00 04 */ lbz r28, 4(r30)
|
|
/* 80248560 002454C0 3B 7E FF F8 */ addi r27, r30, -8
|
|
/* 80248564 002454C4 48 00 00 1C */ b lbl_80248580
|
|
lbl_80248568:
|
|
/* 80248568 002454C8 80 1B 00 00 */ lwz r0, 0(r27)
|
|
/* 8024856C 002454CC 90 1A 00 00 */ stw r0, 0(r26)
|
|
/* 80248570 002454D0 88 1B 00 04 */ lbz r0, 4(r27)
|
|
/* 80248574 002454D4 3B 7B FF F8 */ addi r27, r27, -8
|
|
/* 80248578 002454D8 98 1A 00 04 */ stb r0, 4(r26)
|
|
/* 8024857C 002454DC 3B 5A FF F8 */ addi r26, r26, -8
|
|
lbl_80248580:
|
|
/* 80248580 002454E0 80 18 00 00 */ lwz r0, 0(r24)
|
|
/* 80248584 002454E4 7C 00 D0 40 */ cmplw r0, r26
|
|
/* 80248588 002454E8 40 80 00 20 */ bge lbl_802485A8
|
|
/* 8024858C 002454EC 80 7B 00 00 */ lwz r3, 0(r27)
|
|
/* 80248590 002454F0 48 05 42 F5 */ bl GetArtifactHeadScanIndex__13CArtifactDollFUi
|
|
/* 80248594 002454F4 7C 7F 1B 78 */ mr r31, r3
|
|
/* 80248598 002454F8 7F A3 EB 78 */ mr r3, r29
|
|
/* 8024859C 002454FC 48 05 42 E9 */ bl GetArtifactHeadScanIndex__13CArtifactDollFUi
|
|
/* 802485A0 00245500 7C 03 F8 00 */ cmpw r3, r31
|
|
/* 802485A4 00245504 41 80 FF C4 */ blt lbl_80248568
|
|
lbl_802485A8:
|
|
/* 802485A8 00245508 93 BA 00 00 */ stw r29, 0(r26)
|
|
/* 802485AC 0024550C 3B DE 00 08 */ addi r30, r30, 8
|
|
/* 802485B0 00245510 9B 9A 00 04 */ stb r28, 4(r26)
|
|
lbl_802485B4:
|
|
/* 802485B4 00245514 80 19 00 00 */ lwz r0, 0(r25)
|
|
/* 802485B8 00245518 7C 1E 00 40 */ cmplw r30, r0
|
|
/* 802485BC 0024551C 41 80 FF 98 */ blt lbl_80248554
|
|
/* 802485C0 00245520 BB 01 00 10 */ lmw r24, 0x10(r1)
|
|
/* 802485C4 00245524 80 01 00 34 */ lwz r0, 0x34(r1)
|
|
/* 802485C8 00245528 7C 08 03 A6 */ mtlr r0
|
|
/* 802485CC 0024552C 38 21 00 30 */ addi r1, r1, 0x30
|
|
/* 802485D0 00245530 4E 80 00 20 */ blr
|
|
|
|
.section .sdata2, "a"
|
|
.balign 8
|
|
.global lbl_805AD578
|
|
lbl_805AD578:
|
|
# ROM: 0x3F9E18
|
|
.4byte 0
|
|
|
|
.global lbl_805AD57C
|
|
lbl_805AD57C:
|
|
# ROM: 0x3F9E1C
|
|
.float 0.5
|
|
|
|
.global lbl_805AD580
|
|
lbl_805AD580:
|
|
# ROM: 0x3F9E20
|
|
.float 1.0
|
|
.4byte 0
|
|
|
|
.global lbl_805AD588
|
|
lbl_805AD588:
|
|
# ROM: 0x3F9E28
|
|
.double 4.503601774854144E15
|
|
|
|
.global lbl_805AD590
|
|
lbl_805AD590:
|
|
# ROM: 0x3F9E30
|
|
.float 4.0
|
|
|
|
.global lbl_805AD594
|
|
lbl_805AD594:
|
|
# ROM: 0x3F9E34
|
|
.float 255.0
|
|
|
|
|
|
.section .rodata
|
|
.balign 8
|
|
.global lbl_803D4760
|
|
lbl_803D4760:
|
|
# ROM: 0x3D1760
|
|
.asciz "??(??)"
|
|
.balign 4
|
|
|