prime/asm/Kyoto/Graphics/CCubeMoviePlayer.s

3102 lines
151 KiB
ArmAsm

.include "macros.inc"
.section .sdata
.balign 8
.global lbl_805A89E8
lbl_805A89E8:
# ROM: 0x3F6388
.byte 0x01
.global lbl_805A89E9
lbl_805A89E9:
# ROM: 0x3F6389
.byte 0x7F, 0x00, 0x00
.global lbl_805A89EC
lbl_805A89EC:
# ROM: 0x3F638C
.4byte 0x0000007F
.global lbl_805A89F0
lbl_805A89F0:
# ROM: 0x3F6390
.4byte 0x7F000000
.4byte 0
.section .bss
.balign 8
.lcomm lbl_80540020, 0x500, 4
.section .sbss, "wa"
.balign 8
.global lbl_805A9660
lbl_805A9660:
.skip 0x4
.global lbl_805A9664
lbl_805A9664:
.skip 0x4
.global lbl_805A9668
lbl_805A9668:
.skip 0x4
.global lbl_805A966C
lbl_805A966C:
.skip 0x4
.global lbl_805A9670
lbl_805A9670:
.skip 0x1
.global lbl_805A9671
lbl_805A9671:
.skip 0x7
.section .text, "ax"
.global SetSfxVolume__12CMoviePlayerFUc
SetSfxVolume__12CMoviePlayerFUc:
/* 8035B5DC 0035853C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8035B5E0 00358540 54 64 06 3E */ clrlwi r4, r3, 0x18
/* 8035B5E4 00358544 88 0D 9E 30 */ lbz r0, lbl_805A89F0@sda21(r13)
/* 8035B5E8 00358548 98 61 00 08 */ stb r3, 8(r1)
/* 8035B5EC 0035854C 38 6D 9E 30 */ addi r3, r13, lbl_805A89F0@sda21
/* 8035B5F0 00358550 7C 04 00 40 */ cmplw r4, r0
/* 8035B5F4 00358554 40 80 00 08 */ bge lbl_8035B5FC
/* 8035B5F8 00358558 38 61 00 08 */ addi r3, r1, 8
lbl_8035B5FC:
/* 8035B5FC 0035855C 88 03 00 00 */ lbz r0, 0(r3)
/* 8035B600 00358560 98 0D 9E 29 */ stb r0, lbl_805A89E9@sda21(r13)
/* 8035B604 00358564 38 21 00 10 */ addi r1, r1, 0x10
/* 8035B608 00358568 4E 80 00 20 */ blr
.global sub_8035b60c
sub_8035b60c:
/* 8035B60C 0035856C 88 6D 9E 28 */ lbz r3, lbl_805A89E8@sda21(r13)
/* 8035B610 00358570 4E 80 00 20 */ blr
.global sub_8035b614
sub_8035b614:
/* 8035B614 00358574 98 6D 9E 28 */ stb r3, lbl_805A89E8@sda21(r13)
/* 8035B618 00358578 4E 80 00 20 */ blr
.global sub_8035b61c
sub_8035b61c:
/* 8035B61C 0035857C 80 63 00 70 */ lwz r3, 0x70(r3)
/* 8035B620 00358580 4E 80 00 20 */ blr
.global sub_8035b624
sub_8035b624:
/* 8035B624 00358584 80 63 00 6C */ lwz r3, 0x6c(r3)
/* 8035B628 00358588 4E 80 00 20 */ blr
.global VerifyCallbackStatus__12CMoviePlayerFv
VerifyCallbackStatus__12CMoviePlayerFv:
/* 8035B62C 0035858C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8035B630 00358590 7C 08 02 A6 */ mflr r0
/* 8035B634 00358594 90 01 00 14 */ stw r0, 0x14(r1)
/* 8035B638 00358598 80 0D AA A0 */ lwz r0, lbl_805A9660@sda21(r13)
/* 8035B63C 0035859C 2C 00 00 00 */ cmpwi r0, 0
/* 8035B640 003585A0 40 81 00 14 */ ble lbl_8035B654
/* 8035B644 003585A4 3C 60 80 36 */ lis r3, StaticMyAudioCallback__12CMoviePlayerFv@ha
/* 8035B648 003585A8 38 63 B8 84 */ addi r3, r3, StaticMyAudioCallback__12CMoviePlayerFv@l
/* 8035B64C 003585AC 48 01 11 91 */ bl RunDMACallback__18CStaticAudioPlayerFv
/* 8035B650 003585B0 48 00 00 10 */ b lbl_8035B660
lbl_8035B654:
/* 8035B654 003585B4 3C 60 80 36 */ lis r3, StaticMyAudioCallback__12CMoviePlayerFv@ha
/* 8035B658 003585B8 38 63 B8 84 */ addi r3, r3, StaticMyAudioCallback__12CMoviePlayerFv@l
/* 8035B65C 003585BC 48 01 10 A9 */ bl sub_8036c704
lbl_8035B660:
/* 8035B660 003585C0 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8035B664 003585C4 7C 08 03 A6 */ mtlr r0
/* 8035B668 003585C8 38 21 00 10 */ addi r1, r1, 0x10
/* 8035B66C 003585CC 4E 80 00 20 */ blr
.global MixAudio__12CMoviePlayerFPsPCsUl
MixAudio__12CMoviePlayerFPsPCsUl:
/* 8035B670 003585D0 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8035B674 003585D4 7C 08 02 A6 */ mflr r0
/* 8035B678 003585D8 7C A7 2B 78 */ mr r7, r5
/* 8035B67C 003585DC 90 01 00 24 */ stw r0, 0x24(r1)
/* 8035B680 003585E0 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8035B684 003585E4 80 03 00 D4 */ lwz r0, 0xd4(r3)
/* 8035B688 003585E8 2C 00 FF FF */ cmpwi r0, -1
/* 8035B68C 003585EC 40 82 00 34 */ bne lbl_8035B6C0
/* 8035B690 003585F0 28 05 00 00 */ cmplwi r5, 0
/* 8035B694 003585F4 41 82 00 18 */ beq lbl_8035B6AC
/* 8035B698 003585F8 7C 83 23 78 */ mr r3, r4
/* 8035B69C 003585FC 7C A4 2B 78 */ mr r4, r5
/* 8035B6A0 00358600 54 C5 10 3A */ slwi r5, r6, 2
/* 8035B6A4 00358604 4B CA 7D ED */ bl memcpy
/* 8035B6A8 00358608 48 00 01 C8 */ b lbl_8035B870
lbl_8035B6AC:
/* 8035B6AC 0035860C 7C 83 23 78 */ mr r3, r4
/* 8035B6B0 00358610 54 C5 10 3A */ slwi r5, r6, 2
/* 8035B6B4 00358614 38 80 00 00 */ li r4, 0
/* 8035B6B8 00358618 4B CA 7C F1 */ bl memset
/* 8035B6BC 0035861C 48 00 01 B4 */ b lbl_8035B870
lbl_8035B6C0:
/* 8035B6C0 00358620 89 2D 9E 29 */ lbz r9, lbl_805A89E9@sda21(r13)
/* 8035B6C4 00358624 39 0D 9E 2C */ addi r8, r13, lbl_805A89EC@sda21
/* 8035B6C8 00358628 80 0D 9E 2C */ lwz r0, lbl_805A89EC@sda21(r13)
/* 8035B6CC 0035862C 1D 29 00 64 */ mulli r9, r9, 0x64
/* 8035B6D0 00358630 7D 29 3E 70 */ srawi r9, r9, 7
/* 8035B6D4 00358634 7C 09 00 00 */ cmpw r9, r0
/* 8035B6D8 00358638 91 21 00 08 */ stw r9, 8(r1)
/* 8035B6DC 0035863C 40 80 00 08 */ bge lbl_8035B6E4
/* 8035B6E0 00358640 39 01 00 08 */ addi r8, r1, 8
lbl_8035B6E4:
/* 8035B6E4 00358644 88 0D 9E 28 */ lbz r0, lbl_805A89E8@sda21(r13)
/* 8035B6E8 00358648 81 08 00 00 */ lwz r8, 0(r8)
/* 8035B6EC 0035864C 28 00 00 00 */ cmplwi r0, 0
/* 8035B6F0 00358650 55 00 06 3E */ clrlwi r0, r8, 0x18
/* 8035B6F4 00358654 41 82 00 18 */ beq lbl_8035B70C
/* 8035B6F8 00358658 3D 00 80 3E */ lis r8, lbl_803D8110@ha
/* 8035B6FC 0035865C 54 00 0D FC */ rlwinm r0, r0, 1, 0x17, 0x1e
/* 8035B700 00358660 39 08 81 10 */ addi r8, r8, lbl_803D8110@l
/* 8035B704 00358664 7C 08 02 2E */ lhzx r0, r8, r0
/* 8035B708 00358668 48 00 00 08 */ b lbl_8035B710
lbl_8035B70C:
/* 8035B70C 0035866C 38 00 00 00 */ li r0, 0
lbl_8035B710:
/* 8035B710 00358670 54 0B 04 3E */ clrlwi r11, r0, 0x10
/* 8035B714 00358674 39 00 00 00 */ li r8, 0
/* 8035B718 00358678 48 00 01 14 */ b lbl_8035B82C
lbl_8035B71C:
/* 8035B71C 0035867C 81 43 00 D4 */ lwz r10, 0xd4(r3)
/* 8035B720 00358680 81 23 00 8C */ lwz r9, 0x8c(r3)
/* 8035B724 00358684 1C 0A 00 28 */ mulli r0, r10, 0x28
/* 8035B728 00358688 7D 89 02 14 */ add r12, r9, r0
/* 8035B72C 0035868C 81 2C 00 24 */ lwz r9, 0x24(r12)
/* 8035B730 00358690 80 0C 00 20 */ lwz r0, 0x20(r12)
/* 8035B734 00358694 7F E9 00 50 */ subf r31, r9, r0
/* 8035B738 00358698 7C 1F 30 40 */ cmplw r31, r6
/* 8035B73C 0035869C 40 81 00 0C */ ble lbl_8035B748
/* 8035B740 003586A0 7C DF 33 78 */ mr r31, r6
/* 8035B744 003586A4 48 00 00 20 */ b lbl_8035B764
lbl_8035B748:
/* 8035B748 003586A8 39 2A 00 01 */ addi r9, r10, 1
/* 8035B74C 003586AC 91 23 00 D4 */ stw r9, 0xd4(r3)
/* 8035B750 003586B0 80 03 00 84 */ lwz r0, 0x84(r3)
/* 8035B754 003586B4 7C 09 00 00 */ cmpw r9, r0
/* 8035B758 003586B8 40 82 00 0C */ bne lbl_8035B764
/* 8035B75C 003586BC 38 00 00 00 */ li r0, 0
/* 8035B760 003586C0 90 03 00 D4 */ stw r0, 0xd4(r3)
lbl_8035B764:
/* 8035B764 003586C4 81 2C 00 24 */ lwz r9, 0x24(r12)
/* 8035B768 003586C8 28 05 00 00 */ cmplwi r5, 0
/* 8035B76C 003586CC 81 4C 00 1C */ lwz r10, 0x1c(r12)
/* 8035B770 003586D0 7C 1F 4A 14 */ add r0, r31, r9
/* 8035B774 003586D4 55 29 10 3A */ slwi r9, r9, 2
/* 8035B778 003586D8 90 0C 00 24 */ stw r0, 0x24(r12)
/* 8035B77C 003586DC 7D 4A 4A 14 */ add r10, r10, r9
/* 8035B780 003586E0 41 82 00 5C */ beq lbl_8035B7DC
/* 8035B784 003586E4 57 E0 08 3C */ slwi r0, r31, 1
/* 8035B788 003586E8 7C 09 03 A6 */ mtctr r0
/* 8035B78C 003586EC 28 00 00 00 */ cmplwi r0, 0
/* 8035B790 003586F0 40 81 00 94 */ ble lbl_8035B824
lbl_8035B794:
/* 8035B794 003586F4 A8 0A 00 00 */ lha r0, 0(r10)
/* 8035B798 003586F8 A9 27 00 00 */ lha r9, 0(r7)
/* 8035B79C 003586FC 7C 0B 01 D6 */ mullw r0, r11, r0
/* 8035B7A0 00358700 7C 00 7E 70 */ srawi r0, r0, 0xf
/* 8035B7A4 00358704 7C 09 02 14 */ add r0, r9, r0
/* 8035B7A8 00358708 2C 00 80 00 */ cmpwi r0, -32768
/* 8035B7AC 0035870C 40 80 00 0C */ bge lbl_8035B7B8
/* 8035B7B0 00358710 38 00 80 00 */ li r0, -32768
/* 8035B7B4 00358714 48 00 00 10 */ b lbl_8035B7C4
lbl_8035B7B8:
/* 8035B7B8 00358718 2C 00 7F FF */ cmpwi r0, 0x7fff
/* 8035B7BC 0035871C 40 81 00 08 */ ble lbl_8035B7C4
/* 8035B7C0 00358720 38 00 7F FF */ li r0, 0x7fff
lbl_8035B7C4:
/* 8035B7C4 00358724 B0 04 00 00 */ sth r0, 0(r4)
/* 8035B7C8 00358728 38 84 00 02 */ addi r4, r4, 2
/* 8035B7CC 0035872C 38 E7 00 02 */ addi r7, r7, 2
/* 8035B7D0 00358730 39 4A 00 02 */ addi r10, r10, 2
/* 8035B7D4 00358734 42 00 FF C0 */ bdnz lbl_8035B794
/* 8035B7D8 00358738 48 00 00 4C */ b lbl_8035B824
lbl_8035B7DC:
/* 8035B7DC 0035873C 57 E0 08 3C */ slwi r0, r31, 1
/* 8035B7E0 00358740 7C 09 03 A6 */ mtctr r0
/* 8035B7E4 00358744 28 00 00 00 */ cmplwi r0, 0
/* 8035B7E8 00358748 40 81 00 3C */ ble lbl_8035B824
lbl_8035B7EC:
/* 8035B7EC 0035874C A8 0A 00 00 */ lha r0, 0(r10)
/* 8035B7F0 00358750 7C 0B 01 D6 */ mullw r0, r11, r0
/* 8035B7F4 00358754 7C 00 7E 70 */ srawi r0, r0, 0xf
/* 8035B7F8 00358758 2C 00 80 00 */ cmpwi r0, -32768
/* 8035B7FC 0035875C 40 80 00 0C */ bge lbl_8035B808
/* 8035B800 00358760 38 00 80 00 */ li r0, -32768
/* 8035B804 00358764 48 00 00 10 */ b lbl_8035B814
lbl_8035B808:
/* 8035B808 00358768 2C 00 7F FF */ cmpwi r0, 0x7fff
/* 8035B80C 0035876C 40 81 00 08 */ ble lbl_8035B814
/* 8035B810 00358770 38 00 7F FF */ li r0, 0x7fff
lbl_8035B814:
/* 8035B814 00358774 B0 04 00 00 */ sth r0, 0(r4)
/* 8035B818 00358778 38 84 00 02 */ addi r4, r4, 2
/* 8035B81C 0035877C 39 4A 00 02 */ addi r10, r10, 2
/* 8035B820 00358780 42 00 FF CC */ bdnz lbl_8035B7EC
lbl_8035B824:
/* 8035B824 00358784 7C DF 30 50 */ subf r6, r31, r6
/* 8035B828 00358788 39 08 00 01 */ addi r8, r8, 1
lbl_8035B82C:
/* 8035B82C 0035878C 28 06 00 00 */ cmplwi r6, 0
/* 8035B830 00358790 41 82 00 0C */ beq lbl_8035B83C
/* 8035B834 00358794 2C 08 00 03 */ cmpwi r8, 3
/* 8035B838 00358798 41 80 FE E4 */ blt lbl_8035B71C
lbl_8035B83C:
/* 8035B83C 0035879C 28 06 00 00 */ cmplwi r6, 0
/* 8035B840 003587A0 41 82 00 30 */ beq lbl_8035B870
/* 8035B844 003587A4 28 05 00 00 */ cmplwi r5, 0
/* 8035B848 003587A8 41 82 00 18 */ beq lbl_8035B860
/* 8035B84C 003587AC 7C 83 23 78 */ mr r3, r4
/* 8035B850 003587B0 7C E4 3B 78 */ mr r4, r7
/* 8035B854 003587B4 54 C5 10 3A */ slwi r5, r6, 2
/* 8035B858 003587B8 4B CA 7C 39 */ bl memcpy
/* 8035B85C 003587BC 48 00 00 14 */ b lbl_8035B870
lbl_8035B860:
/* 8035B860 003587C0 7C 83 23 78 */ mr r3, r4
/* 8035B864 003587C4 54 C5 10 3A */ slwi r5, r6, 2
/* 8035B868 003587C8 38 80 00 00 */ li r4, 0
/* 8035B86C 003587CC 4B CA 7B 3D */ bl memset
lbl_8035B870:
/* 8035B870 003587D0 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8035B874 003587D4 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8035B878 003587D8 7C 08 03 A6 */ mtlr r0
/* 8035B87C 003587DC 38 21 00 20 */ addi r1, r1, 0x20
/* 8035B880 003587E0 4E 80 00 20 */ blr
.global StaticMyAudioCallback__12CMoviePlayerFv
StaticMyAudioCallback__12CMoviePlayerFv:
/* 8035B884 003587E4 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8035B888 003587E8 7C 08 02 A6 */ mflr r0
/* 8035B88C 003587EC 90 01 00 14 */ stw r0, 0x14(r1)
/* 8035B890 003587F0 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8035B894 003587F4 93 C1 00 08 */ stw r30, 8(r1)
/* 8035B898 003587F8 80 6D AA A4 */ lwz r3, lbl_805A9664@sda21(r13)
/* 8035B89C 003587FC 28 03 00 00 */ cmplwi r3, 0
/* 8035B8A0 00358800 41 82 00 8C */ beq lbl_8035B92C
/* 8035B8A4 00358804 88 03 00 F4 */ lbz r0, 0xf4(r3)
/* 8035B8A8 00358808 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f
/* 8035B8AC 0035880C 41 82 00 80 */ beq lbl_8035B92C
/* 8035B8B0 00358810 48 01 17 89 */ bl AIGetDMAStartAddr
/* 8035B8B4 00358814 80 0D AA AC */ lwz r0, lbl_805A966C@sda21(r13)
/* 8035B8B8 00358818 3C A0 80 54 */ lis r5, lbl_80540020@ha
/* 8035B8BC 0035881C 3C E3 80 00 */ addis r7, r3, 0x8000
/* 8035B8C0 00358820 38 80 02 80 */ li r4, 0x280
/* 8035B8C4 00358824 68 06 00 01 */ xori r6, r0, 1
/* 8035B8C8 00358828 38 05 00 20 */ addi r0, r5, lbl_80540020@l
/* 8035B8CC 0035882C 1C 66 02 80 */ mulli r3, r6, 0x280
/* 8035B8D0 00358830 90 ED AA A8 */ stw r7, lbl_805A9668@sda21(r13)
/* 8035B8D4 00358834 90 CD AA AC */ stw r6, lbl_805A966C@sda21(r13)
/* 8035B8D8 00358838 7F E0 1A 14 */ add r31, r0, r3
/* 8035B8DC 0035883C 7F E3 FB 78 */ mr r3, r31
/* 8035B8E0 00358840 48 01 16 A1 */ bl AIInitDMA
/* 8035B8E4 00358844 48 02 5D 91 */ bl OSEnableInterrupts
/* 8035B8E8 00358848 80 0D AA A8 */ lwz r0, lbl_805A9668@sda21(r13)
/* 8035B8EC 0035884C 7C 7E 1B 78 */ mr r30, r3
/* 8035B8F0 00358850 28 00 00 00 */ cmplwi r0, 0
/* 8035B8F4 00358854 41 82 00 10 */ beq lbl_8035B904
/* 8035B8F8 00358858 7C 03 03 78 */ mr r3, r0
/* 8035B8FC 0035885C 38 80 02 80 */ li r4, 0x280
/* 8035B900 00358860 48 02 31 85 */ bl DCInvalidateRange
lbl_8035B904:
/* 8035B904 00358864 80 6D AA A4 */ lwz r3, lbl_805A9664@sda21(r13)
/* 8035B908 00358868 7F E4 FB 78 */ mr r4, r31
/* 8035B90C 0035886C 80 AD AA A8 */ lwz r5, lbl_805A9668@sda21(r13)
/* 8035B910 00358870 38 C0 00 A0 */ li r6, 0xa0
/* 8035B914 00358874 4B FF FD 5D */ bl MixAudio__12CMoviePlayerFPsPCsUl
/* 8035B918 00358878 7F E3 FB 78 */ mr r3, r31
/* 8035B91C 0035887C 38 80 02 80 */ li r4, 0x280
/* 8035B920 00358880 48 02 31 91 */ bl DCFlushRange
/* 8035B924 00358884 7F C3 F3 78 */ mr r3, r30
/* 8035B928 00358888 48 02 5D 61 */ bl OSRestoreInterrupts
lbl_8035B92C:
/* 8035B92C 0035888C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8035B930 00358890 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8035B934 00358894 83 C1 00 08 */ lwz r30, 8(r1)
/* 8035B938 00358898 7C 08 03 A6 */ mtlr r0
/* 8035B93C 0035889C 38 21 00 10 */ addi r1, r1, 0x10
/* 8035B940 003588A0 4E 80 00 20 */ blr
.global Rewind__12CMoviePlayerFv
Rewind__12CMoviePlayerFv:
/* 8035B944 003588A4 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8035B948 003588A8 7C 08 02 A6 */ mflr r0
/* 8035B94C 003588AC 90 01 00 24 */ stw r0, 0x24(r1)
/* 8035B950 003588B0 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8035B954 003588B4 7C 7F 1B 78 */ mr r31, r3
/* 8035B958 003588B8 80 63 00 98 */ lwz r3, 0x98(r3)
/* 8035B95C 003588BC 28 03 00 00 */ cmplwi r3, 0
/* 8035B960 003588C0 41 82 00 3C */ beq lbl_8035B99C
/* 8035B964 003588C4 81 83 00 00 */ lwz r12, 0(r3)
/* 8035B968 003588C8 81 8C 00 14 */ lwz r12, 0x14(r12)
/* 8035B96C 003588CC 7D 89 03 A6 */ mtctr r12
/* 8035B970 003588D0 4E 80 04 21 */ bctrl
/* 8035B974 003588D4 80 7F 00 98 */ lwz r3, 0x98(r31)
/* 8035B978 003588D8 28 03 00 00 */ cmplwi r3, 0
/* 8035B97C 003588DC 41 82 00 18 */ beq lbl_8035B994
/* 8035B980 003588E0 81 83 00 00 */ lwz r12, 0(r3)
/* 8035B984 003588E4 38 80 00 01 */ li r4, 1
/* 8035B988 003588E8 81 8C 00 08 */ lwz r12, 8(r12)
/* 8035B98C 003588EC 7D 89 03 A6 */ mtctr r12
/* 8035B990 003588F0 4E 80 04 21 */ bctrl
lbl_8035B994:
/* 8035B994 003588F4 38 00 00 00 */ li r0, 0
/* 8035B998 003588F8 90 1F 00 98 */ stw r0, 0x98(r31)
lbl_8035B99C:
/* 8035B99C 003588FC 38 61 00 08 */ addi r3, r1, 8
/* 8035B9A0 00358900 38 1F 00 90 */ addi r0, r31, 0x90
/* 8035B9A4 00358904 38 80 00 00 */ li r4, 0
/* 8035B9A8 00358908 7C 03 00 40 */ cmplw r3, r0
/* 8035B9AC 0035890C 98 81 00 08 */ stb r4, 8(r1)
/* 8035B9B0 00358910 90 81 00 0C */ stw r4, 0xc(r1)
/* 8035B9B4 00358914 41 82 00 30 */ beq lbl_8035B9E4
/* 8035B9B8 00358918 88 1F 00 90 */ lbz r0, 0x90(r31)
/* 8035B9BC 0035891C 28 00 00 00 */ cmplwi r0, 0
/* 8035B9C0 00358920 41 82 00 0C */ beq lbl_8035B9CC
/* 8035B9C4 00358924 80 7F 00 94 */ lwz r3, 0x94(r31)
/* 8035B9C8 00358928 4B FB 9F 69 */ bl Free__7CMemoryFPCv
lbl_8035B9CC:
/* 8035B9CC 0035892C 88 61 00 08 */ lbz r3, 8(r1)
/* 8035B9D0 00358930 38 00 00 00 */ li r0, 0
/* 8035B9D4 00358934 98 7F 00 90 */ stb r3, 0x90(r31)
/* 8035B9D8 00358938 80 61 00 0C */ lwz r3, 0xc(r1)
/* 8035B9DC 0035893C 90 7F 00 94 */ stw r3, 0x94(r31)
/* 8035B9E0 00358940 98 01 00 08 */ stb r0, 8(r1)
lbl_8035B9E4:
/* 8035B9E4 00358944 88 01 00 08 */ lbz r0, 8(r1)
/* 8035B9E8 00358948 28 00 00 00 */ cmplwi r0, 0
/* 8035B9EC 0035894C 41 82 00 0C */ beq lbl_8035B9F8
/* 8035B9F0 00358950 80 61 00 0C */ lwz r3, 0xc(r1)
/* 8035B9F4 00358954 4B FB 9F 3D */ bl Free__7CMemoryFPCv
lbl_8035B9F8:
/* 8035B9F8 00358958 80 7F 00 40 */ lwz r3, 0x40(r31)
/* 8035B9FC 0035895C 38 80 00 00 */ li r4, 0
/* 8035BA00 00358960 38 00 FF FF */ li r0, -1
/* 8035BA04 00358964 C0 02 CD 24 */ lfs f0, lbl_805AEA44@sda21(r2)
/* 8035BA08 00358968 90 7F 00 B0 */ stw r3, 0xb0(r31)
/* 8035BA0C 0035896C 38 7F 00 80 */ addi r3, r31, 0x80
/* 8035BA10 00358970 80 BF 00 50 */ lwz r5, 0x50(r31)
/* 8035BA14 00358974 90 BF 00 B4 */ stw r5, 0xb4(r31)
/* 8035BA18 00358978 80 BF 00 40 */ lwz r5, 0x40(r31)
/* 8035BA1C 0035897C 90 BF 00 B8 */ stw r5, 0xb8(r31)
/* 8035BA20 00358980 80 BF 00 50 */ lwz r5, 0x50(r31)
/* 8035BA24 00358984 90 BF 00 BC */ stw r5, 0xbc(r31)
/* 8035BA28 00358988 90 9F 00 C0 */ stw r4, 0xc0(r31)
/* 8035BA2C 0035898C 90 9F 00 C4 */ stw r4, 0xc4(r31)
/* 8035BA30 00358990 90 9F 00 C8 */ stw r4, 0xc8(r31)
/* 8035BA34 00358994 90 9F 00 CC */ stw r4, 0xcc(r31)
/* 8035BA38 00358998 90 1F 00 D0 */ stw r0, 0xd0(r31)
/* 8035BA3C 0035899C 90 1F 00 D4 */ stw r0, 0xd4(r31)
/* 8035BA40 003589A0 90 9F 00 D8 */ stw r4, 0xd8(r31)
/* 8035BA44 003589A4 D0 1F 00 DC */ stfs f0, 0xdc(r31)
/* 8035BA48 003589A8 D0 1F 00 E8 */ stfs f0, 0xe8(r31)
/* 8035BA4C 003589AC 48 00 00 19 */ bl "clear__Q24rstl67vector<Q212CMoviePlayer14CTHPTextureSet,Q24rstl17rmemory_allocator>Fv"
/* 8035BA50 003589B0 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8035BA54 003589B4 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8035BA58 003589B8 7C 08 03 A6 */ mtlr r0
/* 8035BA5C 003589BC 38 21 00 20 */ addi r1, r1, 0x20
/* 8035BA60 003589C0 4E 80 00 20 */ blr
.global "clear__Q24rstl67vector<Q212CMoviePlayer14CTHPTextureSet,Q24rstl17rmemory_allocator>Fv"
"clear__Q24rstl67vector<Q212CMoviePlayer14CTHPTextureSet,Q24rstl17rmemory_allocator>Fv":
/* 8035BA64 003589C4 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8035BA68 003589C8 7C 08 02 A6 */ mflr r0
/* 8035BA6C 003589CC 90 01 00 24 */ stw r0, 0x24(r1)
/* 8035BA70 003589D0 38 81 00 0C */ addi r4, r1, 0xc
/* 8035BA74 003589D4 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8035BA78 003589D8 7C 7F 1B 78 */ mr r31, r3
/* 8035BA7C 003589DC 38 61 00 14 */ addi r3, r1, 0x14
/* 8035BA80 003589E0 80 1F 00 04 */ lwz r0, 4(r31)
/* 8035BA84 003589E4 80 BF 00 0C */ lwz r5, 0xc(r31)
/* 8035BA88 003589E8 1C 00 00 28 */ mulli r0, r0, 0x28
/* 8035BA8C 003589EC 7C A5 02 14 */ add r5, r5, r0
/* 8035BA90 003589F0 90 A1 00 0C */ stw r5, 0xc(r1)
/* 8035BA94 003589F4 80 1F 00 0C */ lwz r0, 0xc(r31)
/* 8035BA98 003589F8 90 A1 00 08 */ stw r5, 8(r1)
/* 8035BA9C 003589FC 90 01 00 10 */ stw r0, 0x10(r1)
/* 8035BAA0 00358A00 90 01 00 14 */ stw r0, 0x14(r1)
/* 8035BAA4 00358A04 48 00 00 21 */ bl "destroy<Q24rstl154pointer_iterator<Q212CMoviePlayer14CTHPTextureSet,Q24rstl67vector<Q212CMoviePlayer14CTHPTextureSet,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl154pointer_iterator<Q212CMoviePlayer14CTHPTextureSet,Q24rstl67vector<Q212CMoviePlayer14CTHPTextureSet,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl154pointer_iterator<Q212CMoviePlayer14CTHPTextureSet,Q24rstl67vector<Q212CMoviePlayer14CTHPTextureSet,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>"
/* 8035BAA8 00358A08 38 00 00 00 */ li r0, 0
/* 8035BAAC 00358A0C 90 1F 00 04 */ stw r0, 4(r31)
/* 8035BAB0 00358A10 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8035BAB4 00358A14 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8035BAB8 00358A18 7C 08 03 A6 */ mtlr r0
/* 8035BABC 00358A1C 38 21 00 20 */ addi r1, r1, 0x20
/* 8035BAC0 00358A20 4E 80 00 20 */ blr
.global "destroy<Q24rstl154pointer_iterator<Q212CMoviePlayer14CTHPTextureSet,Q24rstl67vector<Q212CMoviePlayer14CTHPTextureSet,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl154pointer_iterator<Q212CMoviePlayer14CTHPTextureSet,Q24rstl67vector<Q212CMoviePlayer14CTHPTextureSet,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl154pointer_iterator<Q212CMoviePlayer14CTHPTextureSet,Q24rstl67vector<Q212CMoviePlayer14CTHPTextureSet,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>"
"destroy<Q24rstl154pointer_iterator<Q212CMoviePlayer14CTHPTextureSet,Q24rstl67vector<Q212CMoviePlayer14CTHPTextureSet,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl154pointer_iterator<Q212CMoviePlayer14CTHPTextureSet,Q24rstl67vector<Q212CMoviePlayer14CTHPTextureSet,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl154pointer_iterator<Q212CMoviePlayer14CTHPTextureSet,Q24rstl67vector<Q212CMoviePlayer14CTHPTextureSet,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>":
/* 8035BAC4 00358A24 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8035BAC8 00358A28 7C 08 02 A6 */ mflr r0
/* 8035BACC 00358A2C 90 01 00 14 */ stw r0, 0x14(r1)
/* 8035BAD0 00358A30 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8035BAD4 00358A34 93 C1 00 08 */ stw r30, 8(r1)
/* 8035BAD8 00358A38 7C 9E 23 78 */ mr r30, r4
/* 8035BADC 00358A3C 83 E3 00 00 */ lwz r31, 0(r3)
/* 8035BAE0 00358A40 48 00 00 80 */ b lbl_8035BB60
lbl_8035BAE4:
/* 8035BAE4 00358A44 28 1F 00 00 */ cmplwi r31, 0
/* 8035BAE8 00358A48 41 82 00 74 */ beq lbl_8035BB5C
/* 8035BAEC 00358A4C 34 1F 00 18 */ addic. r0, r31, 0x18
/* 8035BAF0 00358A50 41 82 00 18 */ beq lbl_8035BB08
/* 8035BAF4 00358A54 88 1F 00 18 */ lbz r0, 0x18(r31)
/* 8035BAF8 00358A58 28 00 00 00 */ cmplwi r0, 0
/* 8035BAFC 00358A5C 41 82 00 0C */ beq lbl_8035BB08
/* 8035BB00 00358A60 80 7F 00 1C */ lwz r3, 0x1c(r31)
/* 8035BB04 00358A64 4B FB 9E 2D */ bl Free__7CMemoryFPCv
lbl_8035BB08:
/* 8035BB08 00358A68 34 1F 00 10 */ addic. r0, r31, 0x10
/* 8035BB0C 00358A6C 41 82 00 18 */ beq lbl_8035BB24
/* 8035BB10 00358A70 88 1F 00 10 */ lbz r0, 0x10(r31)
/* 8035BB14 00358A74 28 00 00 00 */ cmplwi r0, 0
/* 8035BB18 00358A78 41 82 00 0C */ beq lbl_8035BB24
/* 8035BB1C 00358A7C 80 7F 00 14 */ lwz r3, 0x14(r31)
/* 8035BB20 00358A80 4B FB 9E 11 */ bl Free__7CMemoryFPCv
lbl_8035BB24:
/* 8035BB24 00358A84 34 1F 00 08 */ addic. r0, r31, 8
/* 8035BB28 00358A88 41 82 00 18 */ beq lbl_8035BB40
/* 8035BB2C 00358A8C 88 1F 00 08 */ lbz r0, 8(r31)
/* 8035BB30 00358A90 28 00 00 00 */ cmplwi r0, 0
/* 8035BB34 00358A94 41 82 00 0C */ beq lbl_8035BB40
/* 8035BB38 00358A98 80 7F 00 0C */ lwz r3, 0xc(r31)
/* 8035BB3C 00358A9C 4B FB 9D F5 */ bl Free__7CMemoryFPCv
lbl_8035BB40:
/* 8035BB40 00358AA0 28 1F 00 00 */ cmplwi r31, 0
/* 8035BB44 00358AA4 41 82 00 18 */ beq lbl_8035BB5C
/* 8035BB48 00358AA8 88 1F 00 00 */ lbz r0, 0(r31)
/* 8035BB4C 00358AAC 28 00 00 00 */ cmplwi r0, 0
/* 8035BB50 00358AB0 41 82 00 0C */ beq lbl_8035BB5C
/* 8035BB54 00358AB4 80 7F 00 04 */ lwz r3, 4(r31)
/* 8035BB58 00358AB8 4B FB 9D D9 */ bl Free__7CMemoryFPCv
lbl_8035BB5C:
/* 8035BB5C 00358ABC 3B FF 00 28 */ addi r31, r31, 0x28
lbl_8035BB60:
/* 8035BB60 00358AC0 80 1E 00 00 */ lwz r0, 0(r30)
/* 8035BB64 00358AC4 7C 1F 00 40 */ cmplw r31, r0
/* 8035BB68 00358AC8 40 82 FF 7C */ bne lbl_8035BAE4
/* 8035BB6C 00358ACC 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8035BB70 00358AD0 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8035BB74 00358AD4 83 C1 00 08 */ lwz r30, 8(r1)
/* 8035BB78 00358AD8 7C 08 03 A6 */ mtlr r0
/* 8035BB7C 00358ADC 38 21 00 10 */ addi r1, r1, 0x10
/* 8035BB80 00358AE0 4E 80 00 20 */ blr
.global GetIsMovieFinishedPlaying__12CMoviePlayerCFv
GetIsMovieFinishedPlaying__12CMoviePlayerCFv:
/* 8035BB84 00358AE4 88 03 00 F4 */ lbz r0, 0xf4(r3)
/* 8035BB88 00358AE8 38 A0 00 00 */ li r5, 0
/* 8035BB8C 00358AEC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8035BB90 00358AF0 40 82 00 18 */ bne lbl_8035BBA8
/* 8035BB94 00358AF4 80 83 00 C8 */ lwz r4, 0xc8(r3)
/* 8035BB98 00358AF8 80 03 00 3C */ lwz r0, 0x3c(r3)
/* 8035BB9C 00358AFC 7C 04 00 40 */ cmplw r4, r0
/* 8035BBA0 00358B00 40 82 00 08 */ bne lbl_8035BBA8
/* 8035BBA4 00358B04 38 A0 00 01 */ li r5, 1
lbl_8035BBA8:
/* 8035BBA8 00358B08 7C A3 2B 78 */ mr r3, r5
/* 8035BBAC 00358B0C 4E 80 00 20 */ blr
.global GetIsFullyCached__12CMoviePlayerCFv
GetIsFullyCached__12CMoviePlayerCFv:
/* 8035BBB0 00358B10 80 A3 00 A0 */ lwz r5, 0xa0(r3)
/* 8035BBB4 00358B14 80 03 00 F0 */ lwz r0, 0xf0(r3)
/* 8035BBB8 00358B18 7C A4 FE 70 */ srawi r4, r5, 0x1f
/* 8035BBBC 00358B1C 54 03 0F FE */ srwi r3, r0, 0x1f
/* 8035BBC0 00358B20 7C 00 28 10 */ subfc r0, r0, r5
/* 8035BBC4 00358B24 7C 64 19 14 */ adde r3, r4, r3
/* 8035BBC8 00358B28 4E 80 00 20 */ blr
.global GetPlayedSeconds__12CMoviePlayerCFv
GetPlayedSeconds__12CMoviePlayerCFv:
/* 8035BBCC 00358B2C C0 23 00 E8 */ lfs f1, 0xe8(r3)
/* 8035BBD0 00358B30 C0 03 00 DC */ lfs f0, 0xdc(r3)
/* 8035BBD4 00358B34 EC 21 00 2A */ fadds f1, f1, f0
/* 8035BBD8 00358B38 4E 80 00 20 */ blr
.global GetTotalSeconds__12CMoviePlayerCFv
GetTotalSeconds__12CMoviePlayerCFv:
/* 8035BBDC 00358B3C C0 23 00 E4 */ lfs f1, 0xe4(r3)
/* 8035BBE0 00358B40 4E 80 00 20 */ blr
.global SetPlayMode__12CMoviePlayerFQ212CMoviePlayer9EPlayMode
SetPlayMode__12CMoviePlayerFQ212CMoviePlayer9EPlayMode:
/* 8035BBE4 00358B44 90 83 00 E0 */ stw r4, 0xe0(r3)
/* 8035BBE8 00358B48 4E 80 00 20 */ blr
.global DrawFrame__12CMoviePlayerFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f
DrawFrame__12CMoviePlayerFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f:
/* 8035BBEC 00358B4C 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8035BBF0 00358B50 7C 08 02 A6 */ mflr r0
/* 8035BBF4 00358B54 90 01 00 34 */ stw r0, 0x34(r1)
/* 8035BBF8 00358B58 BF 21 00 14 */ stmw r25, 0x14(r1)
/* 8035BBFC 00358B5C 7C 7B 1B 78 */ mr r27, r3
/* 8035BC00 00358B60 7C 9C 23 78 */ mr r28, r4
/* 8035BC04 00358B64 7C BD 2B 78 */ mr r29, r5
/* 8035BC08 00358B68 7C DE 33 78 */ mr r30, r6
/* 8035BC0C 00358B6C 7C FF 3B 78 */ mr r31, r7
/* 8035BC10 00358B70 80 03 00 D0 */ lwz r0, 0xd0(r3)
/* 8035BC14 00358B74 2C 00 FF FF */ cmpwi r0, -1
/* 8035BC18 00358B78 41 82 01 34 */ beq lbl_8035BD4C
/* 8035BC1C 00358B7C 88 1B 00 F4 */ lbz r0, 0xf4(r27)
/* 8035BC20 00358B80 54 03 D7 FE */ rlwinm r3, r0, 0x1a, 0x1f, 0x1f
/* 8035BC24 00358B84 4B FA DB E9 */ bl SetUseVideoFilter__9CGraphicsFb
/* 8035BC28 00358B88 48 02 5A 39 */ bl OSDisableInterrupts
/* 8035BC2C 00358B8C 93 6D AA A4 */ stw r27, lbl_805A9664@sda21(r13)
/* 8035BC30 00358B90 48 02 5A 59 */ bl OSRestoreInterrupts
/* 8035BC34 00358B94 80 7B 00 D0 */ lwz r3, 0xd0(r27)
/* 8035BC38 00358B98 88 1B 00 F4 */ lbz r0, 0xf4(r27)
/* 8035BC3C 00358B9C 1C A3 00 28 */ mulli r5, r3, 0x28
/* 8035BC40 00358BA0 80 DB 00 8C */ lwz r6, 0x8c(r27)
/* 8035BC44 00358BA4 8B 2D A8 14 */ lbz r25, mLastFrameUsedAbove__9CGraphics@sda21(r13)
/* 8035BC48 00358BA8 54 04 D7 FE */ rlwinm r4, r0, 0x1a, 0x1f, 0x1f
/* 8035BC4C 00358BAC 7F 23 CB 78 */ mr r3, r25
/* 8035BC50 00358BB0 7F 46 2A 14 */ add r26, r6, r5
/* 8035BC54 00358BB4 48 00 16 41 */ bl MyTHPGXYuv2RgbSetup__Fb
/* 8035BC58 00358BB8 80 9B 00 6C */ lwz r4, 0x6c(r27)
/* 8035BC5C 00358BBC 80 1B 00 70 */ lwz r0, 0x70(r27)
/* 8035BC60 00358BC0 80 7A 00 04 */ lwz r3, 4(r26)
/* 8035BC64 00358BC4 54 86 04 3E */ clrlwi r6, r4, 0x10
/* 8035BC68 00358BC8 80 9A 00 0C */ lwz r4, 0xc(r26)
/* 8035BC6C 00358BCC 54 07 04 3E */ clrlwi r7, r0, 0x10
/* 8035BC70 00358BD0 80 BA 00 14 */ lwz r5, 0x14(r26)
/* 8035BC74 00358BD4 48 00 14 AD */ bl MyTHPYuv2RgbTextureSetup__FPvPvPvUsUs
/* 8035BC78 00358BD8 38 60 00 A0 */ li r3, 0xa0
/* 8035BC7C 00358BDC 38 80 00 07 */ li r4, 7
/* 8035BC80 00358BE0 38 A0 00 04 */ li r5, 4
/* 8035BC84 00358BE4 4B FA C9 01 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs
/* 8035BC88 00358BE8 C0 3C 00 08 */ lfs f1, 8(r28)
/* 8035BC8C 00358BEC 3C 80 CC 01 */ lis r4, 0xCC008000@ha
/* 8035BC90 00358BF0 C0 5C 00 04 */ lfs f2, 4(r28)
/* 8035BC94 00358BF4 38 60 00 00 */ li r3, 0
/* 8035BC98 00358BF8 C0 1C 00 00 */ lfs f0, 0(r28)
/* 8035BC9C 00358BFC 38 00 00 01 */ li r0, 1
/* 8035BCA0 00358C00 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4)
/* 8035BCA4 00358C04 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4)
/* 8035BCA8 00358C08 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4)
/* 8035BCAC 00358C0C B0 64 80 00 */ sth r3, 0xCC008000@l(r4)
/* 8035BCB0 00358C10 B0 64 80 00 */ sth r3, 0xCC008000@l(r4)
/* 8035BCB4 00358C14 C0 3E 00 08 */ lfs f1, 8(r30)
/* 8035BCB8 00358C18 C0 5E 00 04 */ lfs f2, 4(r30)
/* 8035BCBC 00358C1C C0 1E 00 00 */ lfs f0, 0(r30)
/* 8035BCC0 00358C20 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4)
/* 8035BCC4 00358C24 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4)
/* 8035BCC8 00358C28 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4)
/* 8035BCCC 00358C2C B0 64 80 00 */ sth r3, 0xCC008000@l(r4)
/* 8035BCD0 00358C30 B0 04 80 00 */ sth r0, 0xCC008000@l(r4)
/* 8035BCD4 00358C34 C0 3F 00 08 */ lfs f1, 8(r31)
/* 8035BCD8 00358C38 C0 5F 00 04 */ lfs f2, 4(r31)
/* 8035BCDC 00358C3C C0 1F 00 00 */ lfs f0, 0(r31)
/* 8035BCE0 00358C40 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4)
/* 8035BCE4 00358C44 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4)
/* 8035BCE8 00358C48 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4)
/* 8035BCEC 00358C4C B0 04 80 00 */ sth r0, 0xCC008000@l(r4)
/* 8035BCF0 00358C50 B0 04 80 00 */ sth r0, 0xCC008000@l(r4)
/* 8035BCF4 00358C54 C0 3D 00 08 */ lfs f1, 8(r29)
/* 8035BCF8 00358C58 C0 5D 00 04 */ lfs f2, 4(r29)
/* 8035BCFC 00358C5C C0 1D 00 00 */ lfs f0, 0(r29)
/* 8035BD00 00358C60 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4)
/* 8035BD04 00358C64 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4)
/* 8035BD08 00358C68 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4)
/* 8035BD0C 00358C6C B0 04 80 00 */ sth r0, 0xCC008000@l(r4)
/* 8035BD10 00358C70 B0 64 80 00 */ sth r3, 0xCC008000@l(r4)
/* 8035BD14 00358C74 4B FA C8 6D */ bl End__3CGXFv
/* 8035BD18 00358C78 48 00 1A 99 */ bl MyTHPGXRestore__Fv
/* 8035BD1C 00358C7C 80 1B 00 FC */ lwz r0, 0xfc(r27)
/* 8035BD20 00358C80 2C 00 00 00 */ cmpwi r0, 0
/* 8035BD24 00358C84 40 82 00 1C */ bne lbl_8035BD40
/* 8035BD28 00358C88 28 19 00 00 */ cmplwi r25, 0
/* 8035BD2C 00358C8C 41 82 00 14 */ beq lbl_8035BD40
/* 8035BD30 00358C90 88 1B 00 F4 */ lbz r0, 0xf4(r27)
/* 8035BD34 00358C94 38 60 00 01 */ li r3, 1
/* 8035BD38 00358C98 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b
/* 8035BD3C 00358C9C 98 1B 00 F4 */ stb r0, 0xf4(r27)
lbl_8035BD40:
/* 8035BD40 00358CA0 80 7B 00 FC */ lwz r3, 0xfc(r27)
/* 8035BD44 00358CA4 38 03 00 01 */ addi r0, r3, 1
/* 8035BD48 00358CA8 90 1B 00 FC */ stw r0, 0xfc(r27)
lbl_8035BD4C:
/* 8035BD4C 00358CAC BB 21 00 14 */ lmw r25, 0x14(r1)
/* 8035BD50 00358CB0 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8035BD54 00358CB4 7C 08 03 A6 */ mtlr r0
/* 8035BD58 00358CB8 38 21 00 30 */ addi r1, r1, 0x30
/* 8035BD5C 00358CBC 4E 80 00 20 */ blr
.if version == 1
.global Update__12CMoviePlayerFf
Update__12CMoviePlayerFf:
/* 8035BE64 00358DC4 94 21 FF A0 */ stwu r1, -0x60(r1)
/* 8035BE68 00358DC8 7C 08 02 A6 */ mflr r0
/* 8035BE6C 00358DCC 90 01 00 64 */ stw r0, 0x64(r1)
/* 8035BE70 00358DD0 DB E1 00 50 */ stfd f31, 0x50(r1)
/* 8035BE74 00358DD4 F3 E1 00 58 */ psq_st f31, 0x58(r1), 0, qr0
/* 8035BE78 00358DD8 DB C1 00 40 */ stfd f30, 0x40(r1)
/* 8035BE7C 00358DDC F3 C1 00 48 */ psq_st f30, 0x48(r1), 0, qr0
/* 8035BE80 00358DE0 DB A1 00 30 */ stfd f29, 0x30(r1)
/* 8035BE84 00358DE4 F3 A1 00 38 */ psq_st f29, 0x38(r1), 0, qr0
/* 8035BE88 00358DE8 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 8035BE8C 00358DEC 93 C1 00 28 */ stw r30, 0x28(r1)
/* 8035BE90 00358DF0 7C 7F 1B 78 */ mr r31, r3
/* 8035BE94 00358DF4 FF A0 08 90 */ fmr f29, f1
/* 8035BE98 00358DF8 80 A3 00 C0 */ lwz r5, 0xc0(r3)
/* 8035BE9C 00358DFC 80 03 00 F0 */ lwz r0, 0xf0(r3)
/* 8035BEA0 00358E00 7C 05 00 00 */ cmpw r5, r0
/* 8035BEA4 00358E04 40 80 00 64 */ bge lbl_8035BF08
/* 8035BEA8 00358E08 80 7F 00 98 */ lwz r3, 0x98(r31)
/* 8035BEAC 00358E0C 28 03 00 00 */ cmplwi r3, 0x0
/* 8035BEB0 00358E10 41 82 01 E0 */ beq lbl_8035C090
/* 8035BEB4 00358E14 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8035BEB8 00358E18 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 8035BEBC 00358E1C 7D 89 03 A6 */ mtctr r12
/* 8035BEC0 00358E20 4E 80 04 21 */ bctrl
/* 8035BEC4 00358E24 54 60 06 3F */ clrlwi. r0, r3, 24
/* 8035BEC8 00358E28 41 82 01 C8 */ beq lbl_8035C090
/* 8035BECC 00358E2C 7F E3 FB 78 */ mr r3, r31
/* 8035BED0 00358E30 48 00 05 21 */ bl ReadCompleted__12CMoviePlayerFv
/* 8035BED4 00358E34 80 7F 00 C0 */ lwz r3, 0xc0(r31)
/* 8035BED8 00358E38 80 9F 00 A0 */ lwz r4, 0xa0(r31)
/* 8035BEDC 00358E3C 7C 03 20 00 */ cmpw r3, r4
/* 8035BEE0 00358E40 41 80 01 B0 */ blt lbl_8035C090
/* 8035BEE4 00358E44 80 1F 00 F0 */ lwz r0, 0xf0(r31)
/* 8035BEE8 00358E48 7C 03 00 00 */ cmpw r3, r0
/* 8035BEEC 00358E4C 40 80 01 A4 */ bge lbl_8035C090
/* 8035BEF0 00358E50 80 1F 00 3C */ lwz r0, 0x3c(r31)
/* 8035BEF4 00358E54 7C 04 00 40 */ cmplw r4, r0
/* 8035BEF8 00358E58 40 80 01 98 */ bge lbl_8035C090
/* 8035BEFC 00358E5C 7F E3 FB 78 */ mr r3, r31
/* 8035BF00 00358E60 48 00 06 65 */ bl PostDVDReadRequestIfNeeded__12CMoviePlayerFv
/* 8035BF04 00358E64 48 00 01 8C */ b lbl_8035C090
lbl_8035BF08:
/* 8035BF08 00358E68 80 7F 00 98 */ lwz r3, 0x98(r31)
/* 8035BF0C 00358E6C 28 03 00 00 */ cmplwi r3, 0x0
/* 8035BF10 00358E70 41 82 01 80 */ beq lbl_8035C090
/* 8035BF14 00358E74 80 1F 00 C4 */ lwz r0, 0xc4(r31)
/* 8035BF18 00358E78 3B C0 00 00 */ li r30, 0x0
/* 8035BF1C 00358E7C 80 9F 00 A0 */ lwz r4, 0xa0(r31)
/* 8035BF20 00358E80 7C 00 20 00 */ cmpw r0, r4
/* 8035BF24 00358E84 41 80 00 10 */ blt lbl_8035BF34
/* 8035BF28 00358E88 7C 05 20 00 */ cmpw r5, r4
/* 8035BF2C 00358E8C 41 80 00 08 */ blt lbl_8035BF34
/* 8035BF30 00358E90 3B C0 00 01 */ li r30, 0x1
lbl_8035BF34:
/* 8035BF34 00358E94 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8035BF38 00358E98 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 8035BF3C 00358E9C 7D 89 03 A6 */ mtctr r12
/* 8035BF40 00358EA0 4E 80 04 21 */ bctrl
/* 8035BF44 00358EA4 54 60 06 3F */ clrlwi. r0, r3, 24
/* 8035BF48 00358EA8 41 82 01 48 */ beq lbl_8035C090
/* 8035BF4C 00358EAC 80 1F 00 D8 */ lwz r0, 0xd8(r31)
/* 8035BF50 00358EB0 2C 00 00 02 */ cmpwi r0, 0x2
/* 8035BF54 00358EB4 40 80 01 3C */ bge lbl_8035C090
/* 8035BF58 00358EB8 57 C0 06 3F */ clrlwi. r0, r30, 24
/* 8035BF5C 00358EBC 41 82 01 34 */ beq lbl_8035C090
/* 8035BF60 00358EC0 7F E3 FB 78 */ mr r3, r31
/* 8035BF64 00358EC4 48 00 04 8D */ bl ReadCompleted__12CMoviePlayerFv
/* 8035BF68 00358EC8 38 A0 00 00 */ li r5, 0x0
/* 8035BF6C 00358ECC 98 A1 00 14 */ stb r5, 0x14(r1)
/* 8035BF70 00358ED0 90 A1 00 18 */ stw r5, 0x18(r1)
/* 8035BF74 00358ED4 80 7F 00 C0 */ lwz r3, 0xc0(r31)
/* 8035BF78 00358ED8 80 1F 00 3C */ lwz r0, 0x3c(r31)
/* 8035BF7C 00358EDC 7C 03 00 40 */ cmplw r3, r0
/* 8035BF80 00358EE0 40 80 00 40 */ bge lbl_8035BFC0
/* 8035BF84 00358EE4 38 7F 00 90 */ addi r3, r31, 0x90
/* 8035BF88 00358EE8 38 01 00 14 */ addi r0, r1, 0x14
/* 8035BF8C 00358EEC 7C 03 00 40 */ cmplw r3, r0
/* 8035BF90 00358EF0 41 82 00 9C */ beq lbl_8035C02C
/* 8035BF94 00358EF4 28 05 00 00 */ cmplwi r5, 0x0
/* 8035BF98 00358EF8 41 82 00 0C */ beq lbl_8035BFA4
/* 8035BF9C 00358EFC 38 60 00 00 */ li r3, 0x0
/* 8035BFA0 00358F00 4B FB 9A 71 */ bl Free__7CMemoryFPCv
lbl_8035BFA4:
/* 8035BFA4 00358F04 88 7F 00 90 */ lbz r3, 0x90(r31)
/* 8035BFA8 00358F08 38 00 00 00 */ li r0, 0x0
/* 8035BFAC 00358F0C 98 61 00 14 */ stb r3, 0x14(r1)
/* 8035BFB0 00358F10 80 7F 00 94 */ lwz r3, 0x94(r31)
/* 8035BFB4 00358F14 90 61 00 18 */ stw r3, 0x18(r1)
/* 8035BFB8 00358F18 98 1F 00 90 */ stb r0, 0x90(r31)
/* 8035BFBC 00358F1C 48 00 00 70 */ b lbl_8035C02C
lbl_8035BFC0:
/* 8035BFC0 00358F20 80 DF 00 94 */ lwz r6, 0x94(r31)
/* 8035BFC4 00358F24 38 61 00 0C */ addi r3, r1, 0xc
/* 8035BFC8 00358F28 38 01 00 14 */ addi r0, r1, 0x14
/* 8035BFCC 00358F2C 7C 86 00 D0 */ neg r4, r6
/* 8035BFD0 00358F30 90 C1 00 10 */ stw r6, 0x10(r1)
/* 8035BFD4 00358F34 7C 84 33 78 */ or r4, r4, r6
/* 8035BFD8 00358F38 7C 03 00 40 */ cmplw r3, r0
/* 8035BFDC 00358F3C 54 80 0F FE */ srwi r0, r4, 31
/* 8035BFE0 00358F40 98 01 00 0C */ stb r0, 0xc(r1)
/* 8035BFE4 00358F44 41 82 00 2C */ beq lbl_8035C010
/* 8035BFE8 00358F48 28 05 00 00 */ cmplwi r5, 0x0
/* 8035BFEC 00358F4C 41 82 00 0C */ beq lbl_8035BFF8
/* 8035BFF0 00358F50 38 60 00 00 */ li r3, 0x0
/* 8035BFF4 00358F54 4B FB 9A 1D */ bl Free__7CMemoryFPCv
lbl_8035BFF8:
/* 8035BFF8 00358F58 88 81 00 0C */ lbz r4, 0xc(r1)
/* 8035BFFC 00358F5C 38 00 00 00 */ li r0, 0x0
/* 8035C000 00358F60 80 61 00 10 */ lwz r3, 0x10(r1)
/* 8035C004 00358F64 98 81 00 14 */ stb r4, 0x14(r1)
/* 8035C008 00358F68 90 61 00 18 */ stw r3, 0x18(r1)
/* 8035C00C 00358F6C 98 01 00 0C */ stb r0, 0xc(r1)
lbl_8035C010:
/* 8035C010 00358F70 88 01 00 0C */ lbz r0, 0xc(r1)
/* 8035C014 00358F74 28 00 00 00 */ cmplwi r0, 0x0
/* 8035C018 00358F78 41 82 00 0C */ beq lbl_8035C024
/* 8035C01C 00358F7C 80 61 00 10 */ lwz r3, 0x10(r1)
/* 8035C020 00358F80 4B FB 99 F1 */ bl Free__7CMemoryFPCv
lbl_8035C024:
/* 8035C024 00358F84 38 00 00 00 */ li r0, 0x0
/* 8035C028 00358F88 98 01 00 14 */ stb r0, 0x14(r1)
lbl_8035C02C:
/* 8035C02C 00358F8C 7F E3 FB 78 */ mr r3, r31
/* 8035C030 00358F90 48 00 05 35 */ bl PostDVDReadRequestIfNeeded__12CMoviePlayerFv
/* 8035C034 00358F94 80 81 00 18 */ lwz r4, 0x18(r1)
/* 8035C038 00358F98 7F E3 FB 78 */ mr r3, r31
/* 8035C03C 00358F9C 48 00 02 99 */ bl DecodeFromRead__12CMoviePlayerFPCv
/* 8035C040 00358FA0 80 7F 00 D8 */ lwz r3, 0xd8(r31)
/* 8035C044 00358FA4 38 03 00 01 */ addi r0, r3, 0x1
/* 8035C048 00358FA8 90 1F 00 D8 */ stw r0, 0xd8(r31)
/* 8035C04C 00358FAC 80 7F 00 C4 */ lwz r3, 0xc4(r31)
/* 8035C050 00358FB0 38 03 00 01 */ addi r0, r3, 0x1
/* 8035C054 00358FB4 90 1F 00 C4 */ stw r0, 0xc4(r31)
/* 8035C058 00358FB8 80 7F 00 C4 */ lwz r3, 0xc4(r31)
/* 8035C05C 00358FBC 80 1F 00 3C */ lwz r0, 0x3c(r31)
/* 8035C060 00358FC0 7C 03 00 40 */ cmplw r3, r0
/* 8035C064 00358FC4 41 80 00 18 */ blt lbl_8035C07C
/* 8035C068 00358FC8 88 1F 00 F4 */ lbz r0, 0xf4(r31)
/* 8035C06C 00358FCC 54 00 CF FF */ rlwinm. r0, r0, 25, 31, 31
/* 8035C070 00358FD0 41 82 00 0C */ beq lbl_8035C07C
/* 8035C074 00358FD4 38 00 00 00 */ li r0, 0x0
/* 8035C078 00358FD8 90 1F 00 C4 */ stw r0, 0xc4(r31)
lbl_8035C07C:
/* 8035C07C 00358FDC 88 01 00 14 */ lbz r0, 0x14(r1)
/* 8035C080 00358FE0 28 00 00 00 */ cmplwi r0, 0x0
/* 8035C084 00358FE4 41 82 00 0C */ beq lbl_8035C090
/* 8035C088 00358FE8 80 61 00 18 */ lwz r3, 0x18(r1)
/* 8035C08C 00358FEC 4B FB 99 85 */ bl Free__7CMemoryFPCv
lbl_8035C090:
/* 8035C090 00358FF0 80 1F 00 98 */ lwz r0, 0x98(r31)
/* 8035C094 00358FF4 28 00 00 00 */ cmplwi r0, 0x0
/* 8035C098 00358FF8 40 82 00 28 */ bne lbl_8035C0C0
/* 8035C09C 00358FFC 80 1F 00 E0 */ lwz r0, 0xe0(r31)
/* 8035C0A0 00359000 2C 00 00 01 */ cmpwi r0, 0x1
/* 8035C0A4 00359004 40 82 00 1C */ bne lbl_8035C0C0
/* 8035C0A8 00359008 80 7F 00 A0 */ lwz r3, 0xa0(r31)
/* 8035C0AC 0035900C 80 1F 00 3C */ lwz r0, 0x3c(r31)
/* 8035C0B0 00359010 7C 03 00 40 */ cmplw r3, r0
/* 8035C0B4 00359014 40 80 00 0C */ bge lbl_8035C0C0
/* 8035C0B8 00359018 7F E3 FB 78 */ mr r3, r31
/* 8035C0BC 0035901C 48 00 04 A9 */ bl PostDVDReadRequestIfNeeded__12CMoviePlayerFv
lbl_8035C0C0:
/* 8035C0C0 00359020 80 1F 00 D8 */ lwz r0, 0xd8(r31)
/* 8035C0C4 00359024 2C 00 00 02 */ cmpwi r0, 0x2
/* 8035C0C8 00359028 40 80 00 A4 */ bge lbl_8035C16C
/* 8035C0CC 0035902C 80 1F 00 E0 */ lwz r0, 0xe0(r31)
/* 8035C0D0 00359030 2C 00 00 01 */ cmpwi r0, 0x1
/* 8035C0D4 00359034 40 82 00 98 */ bne lbl_8035C16C
/* 8035C0D8 00359038 80 7F 00 C4 */ lwz r3, 0xc4(r31)
/* 8035C0DC 0035903C 80 1F 00 F0 */ lwz r0, 0xf0(r31)
/* 8035C0E0 00359040 7C 03 00 00 */ cmpw r3, r0
/* 8035C0E4 00359044 40 80 00 88 */ bge lbl_8035C16C
/* 8035C0E8 00359048 80 7F 00 A0 */ lwz r3, 0xa0(r31)
/* 8035C0EC 0035904C 38 63 FF FF */ addi r3, r3, -0x1
/* 8035C0F0 00359050 90 61 00 08 */ stw r3, 0x8(r1)
/* 8035C0F4 00359054 80 1F 00 C4 */ lwz r0, 0xc4(r31)
/* 8035C0F8 00359058 7C 03 00 00 */ cmpw r3, r0
/* 8035C0FC 0035905C 40 80 00 0C */ bge lbl_8035C108
/* 8035C100 00359060 38 61 00 08 */ addi r3, r1, 0x8
/* 8035C104 00359064 48 00 00 08 */ b lbl_8035C10C
lbl_8035C108:
/* 8035C108 00359068 38 7F 00 C4 */ addi r3, r31, 0xc4
lbl_8035C10C:
/* 8035C10C 0035906C 80 03 00 00 */ lwz r0, 0x0(r3)
/* 8035C110 00359070 2C 00 FF FF */ cmpwi r0, -0x1
/* 8035C114 00359074 41 82 01 90 */ beq lbl_8035C2A4
/* 8035C118 00359078 54 03 18 38 */ slwi r3, r0, 3
/* 8035C11C 0035907C 80 9F 00 A8 */ lwz r4, 0xa8(r31)
/* 8035C120 00359080 38 03 00 04 */ addi r0, r3, 0x4
/* 8035C124 00359084 7F E3 FB 78 */ mr r3, r31
/* 8035C128 00359088 7C 84 00 2E */ lwzx r4, r4, r0
/* 8035C12C 0035908C 48 00 01 A9 */ bl DecodeFromRead__12CMoviePlayerFPCv
/* 8035C130 00359090 80 7F 00 D8 */ lwz r3, 0xd8(r31)
/* 8035C134 00359094 38 03 00 01 */ addi r0, r3, 0x1
/* 8035C138 00359098 90 1F 00 D8 */ stw r0, 0xd8(r31)
/* 8035C13C 0035909C 80 7F 00 C4 */ lwz r3, 0xc4(r31)
/* 8035C140 003590A0 38 03 00 01 */ addi r0, r3, 0x1
/* 8035C144 003590A4 90 1F 00 C4 */ stw r0, 0xc4(r31)
/* 8035C148 003590A8 80 7F 00 C4 */ lwz r3, 0xc4(r31)
/* 8035C14C 003590AC 80 1F 00 3C */ lwz r0, 0x3c(r31)
/* 8035C150 003590B0 7C 03 00 40 */ cmplw r3, r0
/* 8035C154 003590B4 41 80 00 18 */ blt lbl_8035C16C
/* 8035C158 003590B8 88 1F 00 F4 */ lbz r0, 0xf4(r31)
/* 8035C15C 003590BC 54 00 CF FF */ rlwinm. r0, r0, 25, 31, 31
/* 8035C160 003590C0 41 82 00 0C */ beq lbl_8035C16C
/* 8035C164 003590C4 38 00 00 00 */ li r0, 0x0
/* 8035C168 003590C8 90 1F 00 C4 */ stw r0, 0xc4(r31)
lbl_8035C16C:
/* 8035C16C 003590CC 80 1F 00 D8 */ lwz r0, 0xd8(r31)
/* 8035C170 003590D0 2C 00 00 00 */ cmpwi r0, 0x0
/* 8035C174 003590D4 40 81 01 30 */ ble lbl_8035C2A4
/* 8035C178 003590D8 80 1F 00 E0 */ lwz r0, 0xe0(r31)
/* 8035C17C 003590DC 2C 00 00 01 */ cmpwi r0, 0x1
/* 8035C180 003590E0 40 82 01 24 */ bne lbl_8035C2A4
/* 8035C184 003590E4 C0 1F 00 E8 */ lfs f0, 0xe8(r31)
/* 8035C188 003590E8 EC 00 E8 2A */ fadds f0, f0, f29
/* 8035C18C 003590EC D0 1F 00 E8 */ stfs f0, 0xe8(r31)
/* 8035C190 003590F0 88 1F 00 F4 */ lbz r0, 0xf4(r31)
/* 8035C194 003590F4 54 00 CF FF */ rlwinm. r0, r0, 25, 31, 31
/* 8035C198 003590F8 41 82 00 1C */ beq lbl_8035C1B4
/* 8035C19C 003590FC C0 3F 00 E8 */ lfs f1, 0xe8(r31)
/* 8035C1A0 00359100 C0 5F 00 E4 */ lfs f2, 0xe4(r31)
/* 8035C1A4 00359104 48 03 8C E5 */ bl fmod
/* 8035C1A8 00359108 FC 00 08 18 */ frsp f0, f1
/* 8035C1AC 0035910C D0 1F 00 E8 */ stfs f0, 0xe8(r31)
/* 8035C1B0 00359110 48 00 00 28 */ b lbl_8035C1D8
lbl_8035C1B4:
/* 8035C1B4 00359114 C0 3F 00 E4 */ lfs f1, 0xe4(r31)
/* 8035C1B8 00359118 C0 1F 00 E8 */ lfs f0, 0xe8(r31)
/* 8035C1BC 0035911C FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8035C1C0 00359120 40 80 00 0C */ bge lbl_8035C1CC
/* 8035C1C4 00359124 38 7F 00 E4 */ addi r3, r31, 0xe4
/* 8035C1C8 00359128 48 00 00 08 */ b lbl_8035C1D0
lbl_8035C1CC:
/* 8035C1CC 0035912C 38 7F 00 E8 */ addi r3, r31, 0xe8
lbl_8035C1D0:
/* 8035C1D0 00359130 C0 03 00 00 */ lfs f0, 0x0(r3)
/* 8035C1D4 00359134 D0 1F 00 E8 */ stfs f0, 0xe8(r31)
lbl_8035C1D8:
/* 8035C1D8 00359138 C0 22 CD 28 */ lfs f1, lbl_805AEA48@sda21(r2)
/* 8035C1DC 0035913C C0 1F 00 38 */ lfs f0, 0x38(r31)
/* 8035C1E0 00359140 C0 5F 00 DC */ lfs f2, 0xdc(r31)
/* 8035C1E4 00359144 EF C1 00 24 */ fdivs f30, f1, f0
/* 8035C1E8 00359148 C0 02 CD 24 */ lfs f0, lbl_805AEA44@sda21(r2)
/* 8035C1EC 0035914C EF E2 E8 28 */ fsubs f31, f2, f29
/* 8035C1F0 00359150 FC 1F 00 40 */ fcmpo cr0, f31, f0
/* 8035C1F4 00359154 4C 40 13 82 */ cror 2, 0, 2
/* 8035C1F8 00359158 40 82 00 A8 */ bne lbl_8035C2A0
/* 8035C1FC 0035915C 88 7F 00 F4 */ lbz r3, 0xf4(r31)
/* 8035C200 00359160 54 60 E7 FF */ rlwinm. r0, r3, 28, 31, 31
/* 8035C204 00359164 40 82 00 8C */ bne lbl_8035C290_
/* 8035C208 00359168 80 7F 00 D0 */ lwz r3, 0xd0(r31)
/* 8035C20C 0035916C 38 63 00 01 */ addi r3, r3, 0x1
/* 8035C210 00359170 90 7F 00 D0 */ stw r3, 0xd0(r31)
/* 8035C214 00359174 80 1F 00 84 */ lwz r0, 0x84(r31)
/* 8035C218 00359178 7C 03 00 00 */ cmpw r3, r0
/* 8035C21C 0035917C 41 80 00 0C */ blt lbl_8035C228
/* 8035C220 00359180 38 00 00 00 */ li r0, 0x0
/* 8035C224 00359184 90 1F 00 D0 */ stw r0, 0xd0(r31)
lbl_8035C228:
/* 8035C228 00359188 48 02 56 15 */ bl OSDisableInterrupts
/* 8035C22C 0035918C 80 1F 00 D4 */ lwz r0, 0xd4(r31)
/* 8035C230 00359190 2C 00 FF FF */ cmpwi r0, -0x1
/* 8035C234 00359194 40 82 00 0C */ bne lbl_8035C240
/* 8035C238 00359198 38 00 00 00 */ li r0, 0x0
/* 8035C23C 0035919C 90 1F 00 D4 */ stw r0, 0xd4(r31)
lbl_8035C240:
/* 8035C240 003591A0 48 02 56 25 */ bl OSRestoreInterrupts
/* 8035C244 003591A4 80 7F 00 D8 */ lwz r3, 0xd8(r31)
/* 8035C248 003591A8 38 03 FF FF */ addi r0, r3, -0x1
/* 8035C24C 003591AC 90 1F 00 D8 */ stw r0, 0xd8(r31)
/* 8035C250 003591B0 80 7F 00 C8 */ lwz r3, 0xc8(r31)
/* 8035C254 003591B4 38 03 00 01 */ addi r0, r3, 0x1
/* 8035C258 003591B8 90 1F 00 C8 */ stw r0, 0xc8(r31)
/* 8035C25C 003591BC 80 7F 00 C8 */ lwz r3, 0xc8(r31)
/* 8035C260 003591C0 80 1F 00 3C */ lwz r0, 0x3c(r31)
/* 8035C264 003591C4 7C 03 00 40 */ cmplw r3, r0
/* 8035C268 003591C8 40 82 00 18 */ bne lbl_8035C280
/* 8035C26C 003591CC 88 1F 00 F4 */ lbz r0, 0xf4(r31)
/* 8035C270 003591D0 54 00 CF FF */ rlwinm. r0, r0, 25, 31, 31
/* 8035C274 003591D4 41 82 00 0C */ beq lbl_8035C280
/* 8035C278 003591D8 38 00 00 00 */ li r0, 0x0
/* 8035C27C 003591DC 90 1F 00 C8 */ stw r0, 0xc8(r31)
lbl_8035C280:
/* 8035C280 003591E0 38 00 00 00 */ li r0, 0x0
/* 8035C284 003591E4 EF FF F0 2A */ fadds f31, f31, f30
/* 8035C288 003591E8 90 1F 00 FC */ stw r0, 0xfc(r31)
/* 8035C28C 003591EC 48 00 00 14 */ b lbl_8035C2A0
lbl_8035C290_:
/* 8035C290 003591F0 38 00 00 00 */ li r0, 0x0
/* 8035C294 003591F4 EF FF E8 2A */ fadds f31, f31, f29
/* 8035C298 003591F8 50 03 26 F6 */ rlwimi r3, r0, 4, 27, 27
/* 8035C29C 003591FC 98 7F 00 F4 */ stb r3, 0xf4(r31)
lbl_8035C2A0:
/* 8035C2A0 00359200 D3 FF 00 DC */ stfs f31, 0xdc(r31)
lbl_8035C2A4:
/* 8035C2A4 00359204 E3 E1 00 58 */ psq_l f31, 0x58(r1), 0, qr0
/* 8035C2A8 00359208 CB E1 00 50 */ lfd f31, 0x50(r1)
/* 8035C2AC 0035920C E3 C1 00 48 */ psq_l f30, 0x48(r1), 0, qr0
/* 8035C2B0 00359210 CB C1 00 40 */ lfd f30, 0x40(r1)
/* 8035C2B4 00359214 E3 A1 00 38 */ psq_l f29, 0x38(r1), 0, qr0
/* 8035C2B8 00359218 CB A1 00 30 */ lfd f29, 0x30(r1)
/* 8035C2BC 0035921C 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 8035C2C0 00359220 80 01 00 64 */ lwz r0, 0x64(r1)
/* 8035C2C4 00359224 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 8035C2C8 00359228 7C 08 03 A6 */ mtlr r0
/* 8035C2CC 0035922C 38 21 00 60 */ addi r1, r1, 0x60
/* 8035C2D0 00359230 4E 80 00 20 */ blr
.else
.global Update__12CMoviePlayerFf
Update__12CMoviePlayerFf:
/* 8035BD60 00358CC0 94 21 FF B0 */ stwu r1, -0x50(r1)
/* 8035BD64 00358CC4 7C 08 02 A6 */ mflr r0
/* 8035BD68 00358CC8 90 01 00 54 */ stw r0, 0x54(r1)
/* 8035BD6C 00358CCC DB E1 00 40 */ stfd f31, 0x40(r1)
/* 8035BD70 00358CD0 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0
/* 8035BD74 00358CD4 DB C1 00 30 */ stfd f30, 0x30(r1)
/* 8035BD78 00358CD8 F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0
/* 8035BD7C 00358CDC DB A1 00 20 */ stfd f29, 0x20(r1)
/* 8035BD80 00358CE0 F3 A1 00 28 */ psq_st f29, 40(r1), 0, qr0
/* 8035BD84 00358CE4 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8035BD88 00358CE8 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8035BD8C 00358CEC 7C 7F 1B 78 */ mr r31, r3
/* 8035BD90 00358CF0 FF A0 08 90 */ fmr f29, f1
/* 8035BD94 00358CF4 80 A3 00 C0 */ lwz r5, 0xc0(r3)
/* 8035BD98 00358CF8 80 03 00 F0 */ lwz r0, 0xf0(r3)
/* 8035BD9C 00358CFC 7C 05 00 00 */ cmpw r5, r0
/* 8035BDA0 00358D00 40 80 00 64 */ bge lbl_8035BE04
/* 8035BDA4 00358D04 80 7F 00 98 */ lwz r3, 0x98(r31)
/* 8035BDA8 00358D08 28 03 00 00 */ cmplwi r3, 0
/* 8035BDAC 00358D0C 41 82 01 08 */ beq lbl_8035BEB4
/* 8035BDB0 00358D10 81 83 00 00 */ lwz r12, 0(r3)
/* 8035BDB4 00358D14 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 8035BDB8 00358D18 7D 89 03 A6 */ mtctr r12
/* 8035BDBC 00358D1C 4E 80 04 21 */ bctrl
/* 8035BDC0 00358D20 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8035BDC4 00358D24 41 82 00 F0 */ beq lbl_8035BEB4
/* 8035BDC8 00358D28 7F E3 FB 78 */ mr r3, r31
/* 8035BDCC 00358D2C 48 00 04 49 */ bl ReadCompleted__12CMoviePlayerFv
/* 8035BDD0 00358D30 80 7F 00 C0 */ lwz r3, 0xc0(r31)
/* 8035BDD4 00358D34 80 9F 00 A0 */ lwz r4, 0xa0(r31)
/* 8035BDD8 00358D38 7C 03 20 00 */ cmpw r3, r4
/* 8035BDDC 00358D3C 41 80 00 D8 */ blt lbl_8035BEB4
/* 8035BDE0 00358D40 80 1F 00 F0 */ lwz r0, 0xf0(r31)
/* 8035BDE4 00358D44 7C 03 00 00 */ cmpw r3, r0
/* 8035BDE8 00358D48 40 80 00 CC */ bge lbl_8035BEB4
/* 8035BDEC 00358D4C 80 1F 00 3C */ lwz r0, 0x3c(r31)
/* 8035BDF0 00358D50 7C 04 00 40 */ cmplw r4, r0
/* 8035BDF4 00358D54 40 80 00 C0 */ bge lbl_8035BEB4
/* 8035BDF8 00358D58 7F E3 FB 78 */ mr r3, r31
/* 8035BDFC 00358D5C 48 00 05 8D */ bl PostDVDReadRequestIfNeeded__12CMoviePlayerFv
/* 8035BE00 00358D60 48 00 00 B4 */ b lbl_8035BEB4
lbl_8035BE04:
/* 8035BE04 00358D64 80 7F 00 98 */ lwz r3, 0x98(r31)
/* 8035BE08 00358D68 28 03 00 00 */ cmplwi r3, 0
/* 8035BE0C 00358D6C 41 82 00 A8 */ beq lbl_8035BEB4
/* 8035BE10 00358D70 80 1F 00 C4 */ lwz r0, 0xc4(r31)
/* 8035BE14 00358D74 3B C0 00 00 */ li r30, 0
/* 8035BE18 00358D78 80 9F 00 A0 */ lwz r4, 0xa0(r31)
/* 8035BE1C 00358D7C 7C 00 20 00 */ cmpw r0, r4
/* 8035BE20 00358D80 41 80 00 10 */ blt lbl_8035BE30
/* 8035BE24 00358D84 7C 05 20 00 */ cmpw r5, r4
/* 8035BE28 00358D88 41 80 00 08 */ blt lbl_8035BE30
/* 8035BE2C 00358D8C 3B C0 00 01 */ li r30, 1
lbl_8035BE30:
/* 8035BE30 00358D90 81 83 00 00 */ lwz r12, 0(r3)
/* 8035BE34 00358D94 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 8035BE38 00358D98 7D 89 03 A6 */ mtctr r12
/* 8035BE3C 00358D9C 4E 80 04 21 */ bctrl
/* 8035BE40 00358DA0 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8035BE44 00358DA4 41 82 00 70 */ beq lbl_8035BEB4
/* 8035BE48 00358DA8 80 1F 00 D8 */ lwz r0, 0xd8(r31)
/* 8035BE4C 00358DAC 2C 00 00 02 */ cmpwi r0, 2
/* 8035BE50 00358DB0 40 80 00 64 */ bge lbl_8035BEB4
/* 8035BE54 00358DB4 57 C0 06 3F */ clrlwi. r0, r30, 0x18
/* 8035BE58 00358DB8 41 82 00 5C */ beq lbl_8035BEB4
/* 8035BE5C 00358DBC 80 9F 00 94 */ lwz r4, 0x94(r31)
/* 8035BE60 00358DC0 7F E3 FB 78 */ mr r3, r31
/* 8035BE64 00358DC4 48 00 02 95 */ bl DecodeFromRead__12CMoviePlayerFPCv
/* 8035BE68 00358DC8 7F E3 FB 78 */ mr r3, r31
/* 8035BE6C 00358DCC 48 00 03 A9 */ bl ReadCompleted__12CMoviePlayerFv
/* 8035BE70 00358DD0 7F E3 FB 78 */ mr r3, r31
/* 8035BE74 00358DD4 48 00 05 15 */ bl PostDVDReadRequestIfNeeded__12CMoviePlayerFv
/* 8035BE78 00358DD8 80 7F 00 D8 */ lwz r3, 0xd8(r31)
/* 8035BE7C 00358DDC 38 03 00 01 */ addi r0, r3, 1
/* 8035BE80 00358DE0 90 1F 00 D8 */ stw r0, 0xd8(r31)
/* 8035BE84 00358DE4 80 7F 00 C4 */ lwz r3, 0xc4(r31)
/* 8035BE88 00358DE8 38 03 00 01 */ addi r0, r3, 1
/* 8035BE8C 00358DEC 90 1F 00 C4 */ stw r0, 0xc4(r31)
/* 8035BE90 00358DF0 80 7F 00 C4 */ lwz r3, 0xc4(r31)
/* 8035BE94 00358DF4 80 1F 00 3C */ lwz r0, 0x3c(r31)
/* 8035BE98 00358DF8 7C 03 00 40 */ cmplw r3, r0
/* 8035BE9C 00358DFC 41 80 00 18 */ blt lbl_8035BEB4
/* 8035BEA0 00358E00 88 1F 00 F4 */ lbz r0, 0xf4(r31)
/* 8035BEA4 00358E04 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8035BEA8 00358E08 41 82 00 0C */ beq lbl_8035BEB4
/* 8035BEAC 00358E0C 38 00 00 00 */ li r0, 0
/* 8035BEB0 00358E10 90 1F 00 C4 */ stw r0, 0xc4(r31)
lbl_8035BEB4:
/* 8035BEB4 00358E14 80 1F 00 98 */ lwz r0, 0x98(r31)
/* 8035BEB8 00358E18 28 00 00 00 */ cmplwi r0, 0
/* 8035BEBC 00358E1C 40 82 00 28 */ bne lbl_8035BEE4
/* 8035BEC0 00358E20 80 1F 00 E0 */ lwz r0, 0xe0(r31)
/* 8035BEC4 00358E24 2C 00 00 01 */ cmpwi r0, 1
/* 8035BEC8 00358E28 40 82 00 1C */ bne lbl_8035BEE4
/* 8035BECC 00358E2C 80 7F 00 A0 */ lwz r3, 0xa0(r31)
/* 8035BED0 00358E30 80 1F 00 3C */ lwz r0, 0x3c(r31)
/* 8035BED4 00358E34 7C 03 00 40 */ cmplw r3, r0
/* 8035BED8 00358E38 40 80 00 0C */ bge lbl_8035BEE4
/* 8035BEDC 00358E3C 7F E3 FB 78 */ mr r3, r31
/* 8035BEE0 00358E40 48 00 04 A9 */ bl PostDVDReadRequestIfNeeded__12CMoviePlayerFv
lbl_8035BEE4:
/* 8035BEE4 00358E44 80 1F 00 D8 */ lwz r0, 0xd8(r31)
/* 8035BEE8 00358E48 2C 00 00 02 */ cmpwi r0, 2
/* 8035BEEC 00358E4C 40 80 00 A4 */ bge lbl_8035BF90
/* 8035BEF0 00358E50 80 1F 00 E0 */ lwz r0, 0xe0(r31)
/* 8035BEF4 00358E54 2C 00 00 01 */ cmpwi r0, 1
/* 8035BEF8 00358E58 40 82 00 98 */ bne lbl_8035BF90
/* 8035BEFC 00358E5C 80 7F 00 C4 */ lwz r3, 0xc4(r31)
/* 8035BF00 00358E60 80 1F 00 F0 */ lwz r0, 0xf0(r31)
/* 8035BF04 00358E64 7C 03 00 00 */ cmpw r3, r0
/* 8035BF08 00358E68 40 80 00 88 */ bge lbl_8035BF90
/* 8035BF0C 00358E6C 80 7F 00 A0 */ lwz r3, 0xa0(r31)
/* 8035BF10 00358E70 38 63 FF FF */ addi r3, r3, -1
/* 8035BF14 00358E74 90 61 00 08 */ stw r3, 8(r1)
/* 8035BF18 00358E78 80 1F 00 C4 */ lwz r0, 0xc4(r31)
/* 8035BF1C 00358E7C 7C 03 00 00 */ cmpw r3, r0
/* 8035BF20 00358E80 40 80 00 0C */ bge lbl_8035BF2C
/* 8035BF24 00358E84 38 61 00 08 */ addi r3, r1, 8
/* 8035BF28 00358E88 48 00 00 08 */ b lbl_8035BF30
lbl_8035BF2C:
/* 8035BF2C 00358E8C 38 7F 00 C4 */ addi r3, r31, 0xc4
lbl_8035BF30:
/* 8035BF30 00358E90 80 03 00 00 */ lwz r0, 0(r3)
/* 8035BF34 00358E94 2C 00 FF FF */ cmpwi r0, -1
/* 8035BF38 00358E98 41 82 01 90 */ beq lbl_8035C0C8
/* 8035BF3C 00358E9C 54 03 18 38 */ slwi r3, r0, 3
/* 8035BF40 00358EA0 80 9F 00 A8 */ lwz r4, 0xa8(r31)
/* 8035BF44 00358EA4 38 03 00 04 */ addi r0, r3, 4
/* 8035BF48 00358EA8 7F E3 FB 78 */ mr r3, r31
/* 8035BF4C 00358EAC 7C 84 00 2E */ lwzx r4, r4, r0
/* 8035BF50 00358EB0 48 00 01 A9 */ bl DecodeFromRead__12CMoviePlayerFPCv
/* 8035BF54 00358EB4 80 7F 00 D8 */ lwz r3, 0xd8(r31)
/* 8035BF58 00358EB8 38 03 00 01 */ addi r0, r3, 1
/* 8035BF5C 00358EBC 90 1F 00 D8 */ stw r0, 0xd8(r31)
/* 8035BF60 00358EC0 80 7F 00 C4 */ lwz r3, 0xc4(r31)
/* 8035BF64 00358EC4 38 03 00 01 */ addi r0, r3, 1
/* 8035BF68 00358EC8 90 1F 00 C4 */ stw r0, 0xc4(r31)
/* 8035BF6C 00358ECC 80 7F 00 C4 */ lwz r3, 0xc4(r31)
/* 8035BF70 00358ED0 80 1F 00 3C */ lwz r0, 0x3c(r31)
/* 8035BF74 00358ED4 7C 03 00 40 */ cmplw r3, r0
/* 8035BF78 00358ED8 41 80 00 18 */ blt lbl_8035BF90
/* 8035BF7C 00358EDC 88 1F 00 F4 */ lbz r0, 0xf4(r31)
/* 8035BF80 00358EE0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8035BF84 00358EE4 41 82 00 0C */ beq lbl_8035BF90
/* 8035BF88 00358EE8 38 00 00 00 */ li r0, 0
/* 8035BF8C 00358EEC 90 1F 00 C4 */ stw r0, 0xc4(r31)
lbl_8035BF90:
/* 8035BF90 00358EF0 80 1F 00 D8 */ lwz r0, 0xd8(r31)
/* 8035BF94 00358EF4 2C 00 00 00 */ cmpwi r0, 0
/* 8035BF98 00358EF8 40 81 01 30 */ ble lbl_8035C0C8
/* 8035BF9C 00358EFC 80 1F 00 E0 */ lwz r0, 0xe0(r31)
/* 8035BFA0 00358F00 2C 00 00 01 */ cmpwi r0, 1
/* 8035BFA4 00358F04 40 82 01 24 */ bne lbl_8035C0C8
/* 8035BFA8 00358F08 C0 1F 00 E8 */ lfs f0, 0xe8(r31)
/* 8035BFAC 00358F0C EC 00 E8 2A */ fadds f0, f0, f29
/* 8035BFB0 00358F10 D0 1F 00 E8 */ stfs f0, 0xe8(r31)
/* 8035BFB4 00358F14 88 1F 00 F4 */ lbz r0, 0xf4(r31)
/* 8035BFB8 00358F18 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8035BFBC 00358F1C 41 82 00 1C */ beq lbl_8035BFD8
/* 8035BFC0 00358F20 C0 3F 00 E8 */ lfs f1, 0xe8(r31)
/* 8035BFC4 00358F24 C0 5F 00 E4 */ lfs f2, 0xe4(r31)
/* 8035BFC8 00358F28 48 03 8C E5 */ bl fmod
/* 8035BFCC 00358F2C FC 00 08 18 */ frsp f0, f1
/* 8035BFD0 00358F30 D0 1F 00 E8 */ stfs f0, 0xe8(r31)
/* 8035BFD4 00358F34 48 00 00 28 */ b lbl_8035BFFC
lbl_8035BFD8:
/* 8035BFD8 00358F38 C0 3F 00 E4 */ lfs f1, 0xe4(r31)
/* 8035BFDC 00358F3C C0 1F 00 E8 */ lfs f0, 0xe8(r31)
/* 8035BFE0 00358F40 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8035BFE4 00358F44 40 80 00 0C */ bge lbl_8035BFF0
/* 8035BFE8 00358F48 38 7F 00 E4 */ addi r3, r31, 0xe4
/* 8035BFEC 00358F4C 48 00 00 08 */ b lbl_8035BFF4
lbl_8035BFF0:
/* 8035BFF0 00358F50 38 7F 00 E8 */ addi r3, r31, 0xe8
lbl_8035BFF4:
/* 8035BFF4 00358F54 C0 03 00 00 */ lfs f0, 0(r3)
/* 8035BFF8 00358F58 D0 1F 00 E8 */ stfs f0, 0xe8(r31)
lbl_8035BFFC:
/* 8035BFFC 00358F5C C0 22 CD 28 */ lfs f1, lbl_805AEA48@sda21(r2)
/* 8035C000 00358F60 C0 1F 00 38 */ lfs f0, 0x38(r31)
/* 8035C004 00358F64 C0 5F 00 DC */ lfs f2, 0xdc(r31)
/* 8035C008 00358F68 EF C1 00 24 */ fdivs f30, f1, f0
/* 8035C00C 00358F6C C0 02 CD 24 */ lfs f0, lbl_805AEA44@sda21(r2)
/* 8035C010 00358F70 EF E2 E8 28 */ fsubs f31, f2, f29
/* 8035C014 00358F74 FC 1F 00 40 */ fcmpo cr0, f31, f0
/* 8035C018 00358F78 4C 40 13 82 */ cror 2, 0, 2
/* 8035C01C 00358F7C 40 82 00 A8 */ bne lbl_8035C0C4
/* 8035C020 00358F80 88 7F 00 F4 */ lbz r3, 0xf4(r31)
/* 8035C024 00358F84 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f
/* 8035C028 00358F88 40 82 00 8C */ bne lbl_8035C0B4
/* 8035C02C 00358F8C 80 7F 00 D0 */ lwz r3, 0xd0(r31)
/* 8035C030 00358F90 38 63 00 01 */ addi r3, r3, 1
/* 8035C034 00358F94 90 7F 00 D0 */ stw r3, 0xd0(r31)
/* 8035C038 00358F98 80 1F 00 84 */ lwz r0, 0x84(r31)
/* 8035C03C 00358F9C 7C 03 00 00 */ cmpw r3, r0
/* 8035C040 00358FA0 41 80 00 0C */ blt lbl_8035C04C
/* 8035C044 00358FA4 38 00 00 00 */ li r0, 0
/* 8035C048 00358FA8 90 1F 00 D0 */ stw r0, 0xd0(r31)
lbl_8035C04C:
/* 8035C04C 00358FAC 48 02 56 15 */ bl OSDisableInterrupts
/* 8035C050 00358FB0 80 1F 00 D4 */ lwz r0, 0xd4(r31)
/* 8035C054 00358FB4 2C 00 FF FF */ cmpwi r0, -1
/* 8035C058 00358FB8 40 82 00 0C */ bne lbl_8035C064
/* 8035C05C 00358FBC 38 00 00 00 */ li r0, 0
/* 8035C060 00358FC0 90 1F 00 D4 */ stw r0, 0xd4(r31)
lbl_8035C064:
/* 8035C064 00358FC4 48 02 56 25 */ bl OSRestoreInterrupts
/* 8035C068 00358FC8 80 7F 00 D8 */ lwz r3, 0xd8(r31)
/* 8035C06C 00358FCC 38 03 FF FF */ addi r0, r3, -1
/* 8035C070 00358FD0 90 1F 00 D8 */ stw r0, 0xd8(r31)
/* 8035C074 00358FD4 80 7F 00 C8 */ lwz r3, 0xc8(r31)
/* 8035C078 00358FD8 38 03 00 01 */ addi r0, r3, 1
/* 8035C07C 00358FDC 90 1F 00 C8 */ stw r0, 0xc8(r31)
/* 8035C080 00358FE0 80 7F 00 C8 */ lwz r3, 0xc8(r31)
/* 8035C084 00358FE4 80 1F 00 3C */ lwz r0, 0x3c(r31)
/* 8035C088 00358FE8 7C 03 00 40 */ cmplw r3, r0
/* 8035C08C 00358FEC 40 82 00 18 */ bne lbl_8035C0A4
/* 8035C090 00358FF0 88 1F 00 F4 */ lbz r0, 0xf4(r31)
/* 8035C094 00358FF4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8035C098 00358FF8 41 82 00 0C */ beq lbl_8035C0A4
/* 8035C09C 00358FFC 38 00 00 00 */ li r0, 0
/* 8035C0A0 00359000 90 1F 00 C8 */ stw r0, 0xc8(r31)
lbl_8035C0A4:
/* 8035C0A4 00359004 38 00 00 00 */ li r0, 0
/* 8035C0A8 00359008 EF FF F0 2A */ fadds f31, f31, f30
/* 8035C0AC 0035900C 90 1F 00 FC */ stw r0, 0xfc(r31)
/* 8035C0B0 00359010 48 00 00 14 */ b lbl_8035C0C4
lbl_8035C0B4:
/* 8035C0B4 00359014 38 00 00 00 */ li r0, 0
/* 8035C0B8 00359018 EF FF E8 2A */ fadds f31, f31, f29
/* 8035C0BC 0035901C 50 03 26 F6 */ rlwimi r3, r0, 4, 0x1b, 0x1b
/* 8035C0C0 00359020 98 7F 00 F4 */ stb r3, 0xf4(r31)
lbl_8035C0C4:
/* 8035C0C4 00359024 D3 FF 00 DC */ stfs f31, 0xdc(r31)
lbl_8035C0C8:
/* 8035C0C8 00359028 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0
/* 8035C0CC 0035902C CB E1 00 40 */ lfd f31, 0x40(r1)
/* 8035C0D0 00359030 E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0
/* 8035C0D4 00359034 CB C1 00 30 */ lfd f30, 0x30(r1)
/* 8035C0D8 00359038 E3 A1 00 28 */ psq_l f29, 40(r1), 0, qr0
/* 8035C0DC 0035903C CB A1 00 20 */ lfd f29, 0x20(r1)
/* 8035C0E0 00359040 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8035C0E4 00359044 80 01 00 54 */ lwz r0, 0x54(r1)
/* 8035C0E8 00359048 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8035C0EC 0035904C 7C 08 03 A6 */ mtlr r0
/* 8035C0F0 00359050 38 21 00 50 */ addi r1, r1, 0x50
/* 8035C0F4 00359054 4E 80 00 20 */ blr
.endif
.global DecodeFromRead__12CMoviePlayerFPCv
DecodeFromRead__12CMoviePlayerFPCv:
/* 8035C0F8 00359058 94 21 EF B0 */ stwu r1, -0x1050(r1)
/* 8035C0FC 0035905C 7C 08 02 A6 */ mflr r0
/* 8035C100 00359060 90 01 10 54 */ stw r0, 0x1054(r1)
/* 8035C104 00359064 38 A1 00 27 */ addi r5, r1, 0x27
/* 8035C108 00359068 BF 01 10 30 */ stmw r24, 0x1030(r1)
/* 8035C10C 0035906C 7C 7F 1B 78 */ mr r31, r3
/* 8035C110 00359070 7C 98 23 78 */ mr r24, r4
/* 8035C114 00359074 54 BC 00 34 */ rlwinm r28, r5, 0, 0, 0x1a
/* 8035C118 00359078 80 03 00 84 */ lwz r0, 0x84(r3)
/* 8035C11C 0035907C 2C 00 00 00 */ cmpwi r0, 0
/* 8035C120 00359080 40 82 00 08 */ bne lbl_8035C128
/* 8035C124 00359084 48 00 03 81 */ bl InitializeTextures__12CMoviePlayerFv
lbl_8035C128:
/* 8035C128 00359088 80 9F 00 CC */ lwz r4, 0xcc(r31)
/* 8035C12C 0035908C 38 00 00 00 */ li r0, 0
/* 8035C130 00359090 80 7F 00 58 */ lwz r3, 0x58(r31)
/* 8035C134 00359094 3B 78 00 08 */ addi r27, r24, 8
/* 8035C138 00359098 1C 84 00 28 */ mulli r4, r4, 0x28
/* 8035C13C 0035909C 80 BF 00 8C */ lwz r5, 0x8c(r31)
/* 8035C140 003590A0 54 63 10 3A */ slwi r3, r3, 2
/* 8035C144 003590A4 3B 20 00 00 */ li r25, 0
/* 8035C148 003590A8 7F A5 22 14 */ add r29, r5, r4
/* 8035C14C 003590AC 3B 43 00 08 */ addi r26, r3, 8
/* 8035C150 003590B0 90 1D 00 24 */ stw r0, 0x24(r29)
/* 8035C154 003590B4 7F 58 D2 14 */ add r26, r24, r26
/* 8035C158 003590B8 3B 00 00 00 */ li r24, 0
/* 8035C15C 003590BC 90 1D 00 20 */ stw r0, 0x20(r29)
/* 8035C160 003590C0 48 00 00 74 */ b lbl_8035C1D4
lbl_8035C164:
/* 8035C164 003590C4 38 18 00 5C */ addi r0, r24, 0x5c
/* 8035C168 003590C8 7C 1F 00 AE */ lbzx r0, r31, r0
/* 8035C16C 003590CC 28 00 00 00 */ cmplwi r0, 0
/* 8035C170 003590D0 40 82 00 20 */ bne lbl_8035C190
/* 8035C174 003590D4 80 9D 00 04 */ lwz r4, 4(r29)
/* 8035C178 003590D8 7F 43 D3 78 */ mr r3, r26
/* 8035C17C 003590DC 80 BD 00 0C */ lwz r5, 0xc(r29)
/* 8035C180 003590E0 7F 87 E3 78 */ mr r7, r28
/* 8035C184 003590E4 80 DD 00 14 */ lwz r6, 0x14(r29)
/* 8035C188 003590E8 48 06 59 D9 */ bl THPVideoDecode
/* 8035C18C 003590EC 48 00 00 34 */ b lbl_8035C1C0
lbl_8035C190:
/* 8035C190 003590F0 28 00 00 01 */ cmplwi r0, 1
/* 8035C194 003590F4 40 82 00 2C */ bne lbl_8035C1C0
/* 8035C198 003590F8 80 7D 00 1C */ lwz r3, 0x1c(r29)
/* 8035C19C 003590FC 7F 44 D3 78 */ mr r4, r26
/* 8035C1A0 00359100 38 A0 00 00 */ li r5, 0
/* 8035C1A4 00359104 48 06 CF 25 */ bl THPAudioDecode
/* 8035C1A8 00359108 7C 7E 1B 78 */ mr r30, r3
/* 8035C1AC 0035910C 48 02 54 B5 */ bl OSDisableInterrupts
/* 8035C1B0 00359110 93 DD 00 20 */ stw r30, 0x20(r29)
/* 8035C1B4 00359114 38 00 00 00 */ li r0, 0
/* 8035C1B8 00359118 90 1D 00 24 */ stw r0, 0x24(r29)
/* 8035C1BC 0035911C 48 02 54 CD */ bl OSRestoreInterrupts
lbl_8035C1C0:
/* 8035C1C0 00359120 80 1B 00 00 */ lwz r0, 0(r27)
/* 8035C1C4 00359124 3B 7B 00 04 */ addi r27, r27, 4
/* 8035C1C8 00359128 3B 18 00 01 */ addi r24, r24, 1
/* 8035C1CC 0035912C 7F 39 02 14 */ add r25, r25, r0
/* 8035C1D0 00359130 7F 5A 02 14 */ add r26, r26, r0
lbl_8035C1D4:
/* 8035C1D4 00359134 80 1F 00 58 */ lwz r0, 0x58(r31)
/* 8035C1D8 00359138 7C 18 00 40 */ cmplw r24, r0
/* 8035C1DC 0035913C 41 80 FF 88 */ blt lbl_8035C164
/* 8035C1E0 00359140 80 7F 00 CC */ lwz r3, 0xcc(r31)
/* 8035C1E4 00359144 38 63 00 01 */ addi r3, r3, 1
/* 8035C1E8 00359148 90 7F 00 CC */ stw r3, 0xcc(r31)
/* 8035C1EC 0035914C 80 1F 00 84 */ lwz r0, 0x84(r31)
/* 8035C1F0 00359150 7C 03 00 00 */ cmpw r3, r0
/* 8035C1F4 00359154 40 82 00 0C */ bne lbl_8035C200
/* 8035C1F8 00359158 38 00 00 00 */ li r0, 0
/* 8035C1FC 0035915C 90 1F 00 CC */ stw r0, 0xcc(r31)
lbl_8035C200:
/* 8035C200 00359160 BB 01 10 30 */ lmw r24, 0x1030(r1)
/* 8035C204 00359164 80 01 10 54 */ lwz r0, 0x1054(r1)
/* 8035C208 00359168 7C 08 03 A6 */ mtlr r0
/* 8035C20C 0035916C 38 21 10 50 */ addi r1, r1, 0x1050
/* 8035C210 00359170 4E 80 00 20 */ blr
.global ReadCompleted__12CMoviePlayerFv
ReadCompleted__12CMoviePlayerFv:
/* 8035C214 00359174 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8035C218 00359178 7C 08 02 A6 */ mflr r0
/* 8035C21C 0035917C 90 01 00 14 */ stw r0, 0x14(r1)
/* 8035C220 00359180 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8035C224 00359184 7C 7F 1B 78 */ mr r31, r3
/* 8035C228 00359188 80 63 00 98 */ lwz r3, 0x98(r3)
/* 8035C22C 0035918C 28 03 00 00 */ cmplwi r3, 0
/* 8035C230 00359190 41 82 00 18 */ beq lbl_8035C248
/* 8035C234 00359194 81 83 00 00 */ lwz r12, 0(r3)
/* 8035C238 00359198 38 80 00 01 */ li r4, 1
/* 8035C23C 0035919C 81 8C 00 08 */ lwz r12, 8(r12)
/* 8035C240 003591A0 7D 89 03 A6 */ mtctr r12
/* 8035C244 003591A4 4E 80 04 21 */ bctrl
lbl_8035C248:
/* 8035C248 003591A8 38 00 00 00 */ li r0, 0
/* 8035C24C 003591AC 90 1F 00 98 */ stw r0, 0x98(r31)
/* 8035C250 003591B0 80 7F 00 C0 */ lwz r3, 0xc0(r31)
/* 8035C254 003591B4 80 9F 00 A0 */ lwz r4, 0xa0(r31)
/* 8035C258 003591B8 7C 03 20 00 */ cmpw r3, r4
/* 8035C25C 003591BC 40 82 00 7C */ bne lbl_8035C2D8
/* 8035C260 003591C0 80 1F 00 F0 */ lwz r0, 0xf0(r31)
/* 8035C264 003591C4 7C 00 18 00 */ cmpw r0, r3
/* 8035C268 003591C8 40 81 00 70 */ ble lbl_8035C2D8
/* 8035C26C 003591CC 80 1F 00 A4 */ lwz r0, 0xa4(r31)
/* 8035C270 003591D0 7C 04 00 00 */ cmpw r4, r0
/* 8035C274 003591D4 41 80 00 1C */ blt lbl_8035C290
/* 8035C278 003591D8 2C 00 00 00 */ cmpwi r0, 0
/* 8035C27C 003591DC 38 7F 00 9C */ addi r3, r31, 0x9c
/* 8035C280 003591E0 38 80 00 04 */ li r4, 4
/* 8035C284 003591E4 41 82 00 08 */ beq lbl_8035C28C
/* 8035C288 003591E8 54 04 08 3C */ slwi r4, r0, 1
lbl_8035C28C:
/* 8035C28C 003591EC 48 00 17 7D */ bl "reserve__Q24rstl56vector<Q24rstl12auto_ptr<Uc>,Q24rstl17rmemory_allocator>Fi"
lbl_8035C290:
/* 8035C290 003591F0 80 1F 00 A0 */ lwz r0, 0xa0(r31)
/* 8035C294 003591F4 80 7F 00 A8 */ lwz r3, 0xa8(r31)
/* 8035C298 003591F8 54 00 18 38 */ slwi r0, r0, 3
/* 8035C29C 003591FC 7C 83 02 15 */ add. r4, r3, r0
/* 8035C2A0 00359200 41 82 00 1C */ beq lbl_8035C2BC
/* 8035C2A4 00359204 88 7F 00 90 */ lbz r3, 0x90(r31)
/* 8035C2A8 00359208 38 00 00 00 */ li r0, 0
/* 8035C2AC 0035920C 98 64 00 00 */ stb r3, 0(r4)
/* 8035C2B0 00359210 80 7F 00 94 */ lwz r3, 0x94(r31)
/* 8035C2B4 00359214 90 64 00 04 */ stw r3, 4(r4)
/* 8035C2B8 00359218 98 1F 00 90 */ stb r0, 0x90(r31)
lbl_8035C2BC:
/* 8035C2BC 0035921C 80 7F 00 A0 */ lwz r3, 0xa0(r31)
/* 8035C2C0 00359220 38 03 00 01 */ addi r0, r3, 1
/* 8035C2C4 00359224 90 1F 00 A0 */ stw r0, 0xa0(r31)
/* 8035C2C8 00359228 80 7F 00 F8 */ lwz r3, 0xf8(r31)
/* 8035C2CC 0035922C 80 1F 00 B0 */ lwz r0, 0xb0(r31)
/* 8035C2D0 00359230 7C 03 02 14 */ add r0, r3, r0
/* 8035C2D4 00359234 90 1F 00 F8 */ stw r0, 0xf8(r31)
lbl_8035C2D8:
/* 8035C2D8 00359238 80 7F 00 B4 */ lwz r3, 0xb4(r31)
/* 8035C2DC 0035923C 80 1F 00 B0 */ lwz r0, 0xb0(r31)
/* 8035C2E0 00359240 7C 03 02 14 */ add r0, r3, r0
/* 8035C2E4 00359244 90 1F 00 B4 */ stw r0, 0xb4(r31)
/* 8035C2E8 00359248 80 7F 00 94 */ lwz r3, 0x94(r31)
/* 8035C2EC 0035924C 80 03 00 00 */ lwz r0, 0(r3)
/* 8035C2F0 00359250 90 1F 00 B0 */ stw r0, 0xb0(r31)
/* 8035C2F4 00359254 80 7F 00 C0 */ lwz r3, 0xc0(r31)
/* 8035C2F8 00359258 38 03 00 01 */ addi r0, r3, 1
/* 8035C2FC 0035925C 90 1F 00 C0 */ stw r0, 0xc0(r31)
/* 8035C300 00359260 80 7F 00 C0 */ lwz r3, 0xc0(r31)
/* 8035C304 00359264 80 1F 00 F0 */ lwz r0, 0xf0(r31)
/* 8035C308 00359268 7C 03 00 00 */ cmpw r3, r0
/* 8035C30C 0035926C 40 82 00 34 */ bne lbl_8035C340
/* 8035C310 00359270 80 1F 00 3C */ lwz r0, 0x3c(r31)
/* 8035C314 00359274 7C 03 00 40 */ cmplw r3, r0
/* 8035C318 00359278 40 82 00 18 */ bne lbl_8035C330
/* 8035C31C 0035927C 80 1F 00 40 */ lwz r0, 0x40(r31)
/* 8035C320 00359280 90 1F 00 B8 */ stw r0, 0xb8(r31)
/* 8035C324 00359284 80 1F 00 50 */ lwz r0, 0x50(r31)
/* 8035C328 00359288 90 1F 00 BC */ stw r0, 0xbc(r31)
/* 8035C32C 0035928C 48 00 00 14 */ b lbl_8035C340
lbl_8035C330:
/* 8035C330 00359290 80 1F 00 B0 */ lwz r0, 0xb0(r31)
/* 8035C334 00359294 90 1F 00 B8 */ stw r0, 0xb8(r31)
/* 8035C338 00359298 80 1F 00 B4 */ lwz r0, 0xb4(r31)
/* 8035C33C 0035929C 90 1F 00 BC */ stw r0, 0xbc(r31)
lbl_8035C340:
/* 8035C340 003592A0 80 7F 00 C0 */ lwz r3, 0xc0(r31)
/* 8035C344 003592A4 80 1F 00 3C */ lwz r0, 0x3c(r31)
/* 8035C348 003592A8 7C 03 00 40 */ cmplw r3, r0
/* 8035C34C 003592AC 41 80 00 28 */ blt lbl_8035C374
/* 8035C350 003592B0 88 1F 00 F4 */ lbz r0, 0xf4(r31)
/* 8035C354 003592B4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8035C358 003592B8 41 82 00 1C */ beq lbl_8035C374
/* 8035C35C 003592BC 80 1F 00 BC */ lwz r0, 0xbc(r31)
/* 8035C360 003592C0 90 1F 00 B4 */ stw r0, 0xb4(r31)
/* 8035C364 003592C4 80 1F 00 B8 */ lwz r0, 0xb8(r31)
/* 8035C368 003592C8 90 1F 00 B0 */ stw r0, 0xb0(r31)
/* 8035C36C 003592CC 80 1F 00 F0 */ lwz r0, 0xf0(r31)
/* 8035C370 003592D0 90 1F 00 C0 */ stw r0, 0xc0(r31)
lbl_8035C374:
/* 8035C374 003592D4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8035C378 003592D8 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8035C37C 003592DC 7C 08 03 A6 */ mtlr r0
/* 8035C380 003592E0 38 21 00 10 */ addi r1, r1, 0x10
/* 8035C384 003592E4 4E 80 00 20 */ blr
.global PostDVDReadRequestIfNeeded__12CMoviePlayerFv
PostDVDReadRequestIfNeeded__12CMoviePlayerFv:
/* 8035C388 003592E8 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8035C38C 003592EC 7C 08 02 A6 */ mflr r0
/* 8035C390 003592F0 90 01 00 24 */ stw r0, 0x24(r1)
/* 8035C394 003592F4 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8035C398 003592F8 7C 7F 1B 78 */ mr r31, r3
/* 8035C39C 003592FC 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8035C3A0 00359300 80 63 00 C0 */ lwz r3, 0xc0(r3)
/* 8035C3A4 00359304 80 1F 00 3C */ lwz r0, 0x3c(r31)
/* 8035C3A8 00359308 7C 03 00 40 */ cmplw r3, r0
/* 8035C3AC 0035930C 40 80 00 E0 */ bge lbl_8035C48C
/* 8035C3B0 00359310 3C 60 80 3E */ lis r3, lbl_803D83D8@ha
/* 8035C3B4 00359314 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha
/* 8035C3B8 00359318 38 A3 83 D8 */ addi r5, r3, lbl_803D83D8@l
/* 8035C3BC 0035931C 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l
/* 8035C3C0 00359320 38 61 00 10 */ addi r3, r1, 0x10
/* 8035C3C4 00359324 38 80 FF FF */ li r4, -1
/* 8035C3C8 00359328 4B F7 A0 0D */ bl __ct__10CCallStackFUiPCcPCc
/* 8035C3CC 0035932C 7C 67 1B 78 */ mr r7, r3
/* 8035C3D0 00359330 80 7F 00 B0 */ lwz r3, 0xb0(r31)
/* 8035C3D4 00359334 38 80 00 02 */ li r4, 2
/* 8035C3D8 00359338 38 A0 00 01 */ li r5, 1
/* 8035C3DC 0035933C 38 C0 00 00 */ li r6, 0
/* 8035C3E0 00359340 4B FB 95 B5 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack
/* 8035C3E4 00359344 7C 03 00 D0 */ neg r0, r3
/* 8035C3E8 00359348 38 81 00 08 */ addi r4, r1, 8
/* 8035C3EC 0035934C 7C 05 1B 78 */ or r5, r0, r3
/* 8035C3F0 00359350 38 1F 00 90 */ addi r0, r31, 0x90
/* 8035C3F4 00359354 54 A5 0F FE */ srwi r5, r5, 0x1f
/* 8035C3F8 00359358 90 61 00 0C */ stw r3, 0xc(r1)
/* 8035C3FC 0035935C 7C 04 00 40 */ cmplw r4, r0
/* 8035C400 00359360 98 A1 00 08 */ stb r5, 8(r1)
/* 8035C404 00359364 41 82 00 30 */ beq lbl_8035C434
/* 8035C408 00359368 88 1F 00 90 */ lbz r0, 0x90(r31)
/* 8035C40C 0035936C 28 00 00 00 */ cmplwi r0, 0
/* 8035C410 00359370 41 82 00 0C */ beq lbl_8035C41C
/* 8035C414 00359374 80 7F 00 94 */ lwz r3, 0x94(r31)
/* 8035C418 00359378 4B FB 95 19 */ bl Free__7CMemoryFPCv
lbl_8035C41C:
/* 8035C41C 0035937C 88 61 00 08 */ lbz r3, 8(r1)
/* 8035C420 00359380 38 00 00 00 */ li r0, 0
/* 8035C424 00359384 98 7F 00 90 */ stb r3, 0x90(r31)
/* 8035C428 00359388 80 61 00 0C */ lwz r3, 0xc(r1)
/* 8035C42C 0035938C 90 7F 00 94 */ stw r3, 0x94(r31)
/* 8035C430 00359390 98 01 00 08 */ stb r0, 8(r1)
lbl_8035C434:
/* 8035C434 00359394 88 01 00 08 */ lbz r0, 8(r1)
/* 8035C438 00359398 28 00 00 00 */ cmplwi r0, 0
/* 8035C43C 0035939C 41 82 00 0C */ beq lbl_8035C448
/* 8035C440 003593A0 80 61 00 0C */ lwz r3, 0xc(r1)
/* 8035C444 003593A4 4B FB 94 ED */ bl Free__7CMemoryFPCv
lbl_8035C448:
/* 8035C448 003593A8 80 9F 00 94 */ lwz r4, 0x94(r31)
/* 8035C44C 003593AC 7F E3 FB 78 */ mr r3, r31
/* 8035C450 003593B0 80 BF 00 B0 */ lwz r5, 0xb0(r31)
/* 8035C454 003593B4 38 C0 00 00 */ li r6, 0
/* 8035C458 003593B8 80 FF 00 B4 */ lwz r7, 0xb4(r31)
/* 8035C45C 003593BC 4B FF 35 65 */ bl AsyncSeekRead__8CDvdFileFPvUi11ESeekOrigini
/* 8035C460 003593C0 80 1F 00 98 */ lwz r0, 0x98(r31)
/* 8035C464 003593C4 7C 7E 1B 78 */ mr r30, r3
/* 8035C468 003593C8 28 00 00 00 */ cmplwi r0, 0
/* 8035C46C 003593CC 41 82 00 1C */ beq lbl_8035C488
/* 8035C470 003593D0 7C 03 03 78 */ mr r3, r0
/* 8035C474 003593D4 38 80 00 01 */ li r4, 1
/* 8035C478 003593D8 81 83 00 00 */ lwz r12, 0(r3)
/* 8035C47C 003593DC 81 8C 00 08 */ lwz r12, 8(r12)
/* 8035C480 003593E0 7D 89 03 A6 */ mtctr r12
/* 8035C484 003593E4 4E 80 04 21 */ bctrl
lbl_8035C488:
/* 8035C488 003593E8 93 DF 00 98 */ stw r30, 0x98(r31)
lbl_8035C48C:
/* 8035C48C 003593EC 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8035C490 003593F0 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8035C494 003593F4 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8035C498 003593F8 7C 08 03 A6 */ mtlr r0
/* 8035C49C 003593FC 38 21 00 20 */ addi r1, r1, 0x20
/* 8035C4A0 00359400 4E 80 00 20 */ blr
.global InitializeTextures__12CMoviePlayerFv
InitializeTextures__12CMoviePlayerFv:
/* 8035C4A4 00359404 94 21 FF 60 */ stwu r1, -0xa0(r1)
/* 8035C4A8 00359408 7C 08 02 A6 */ mflr r0
/* 8035C4AC 0035940C 90 01 00 A4 */ stw r0, 0xa4(r1)
/* 8035C4B0 00359410 BD C1 00 58 */ stmw r14, 0x58(r1)
/* 8035C4B4 00359414 7C 7B 1B 78 */ mr r27, r3
/* 8035C4B8 00359418 3C 60 80 3E */ lis r3, lbl_803D83D8@ha
/* 8035C4BC 0035941C 39 C1 00 30 */ addi r14, r1, 0x30
/* 8035C4C0 00359420 3B 03 83 D8 */ addi r24, r3, lbl_803D83D8@l
/* 8035C4C4 00359424 39 E1 00 38 */ addi r15, r1, 0x38
/* 8035C4C8 00359428 3C 60 80 3D */ lis r3, lbl_803D6AA8@ha
/* 8035C4CC 0035942C 3A 01 00 40 */ addi r16, r1, 0x40
/* 8035C4D0 00359430 3B 23 6A A8 */ addi r25, r3, lbl_803D6AA8@l
/* 8035C4D4 00359434 7F 1A C3 78 */ mr r26, r24
/* 8035C4D8 00359438 7F 37 CB 78 */ mr r23, r25
/* 8035C4DC 0035943C 7F 15 C3 78 */ mr r21, r24
/* 8035C4E0 00359440 7F 33 CB 78 */ mr r19, r25
/* 8035C4E4 00359444 3B 80 00 00 */ li r28, 0
/* 8035C4E8 00359448 80 BB 00 6C */ lwz r5, 0x6c(r27)
/* 8035C4EC 0035944C 80 9B 00 70 */ lwz r4, 0x70(r27)
/* 8035C4F0 00359450 80 1B 00 34 */ lwz r0, 0x34(r27)
/* 8035C4F4 00359454 7C 65 21 D6 */ mullw r3, r5, r4
/* 8035C4F8 00359458 54 1D 10 3A */ slwi r29, r0, 2
/* 8035C4FC 0035945C 38 83 00 1F */ addi r4, r3, 0x1f
/* 8035C500 00359460 54 63 F0 BE */ srwi r3, r3, 2
/* 8035C504 00359464 54 84 00 34 */ rlwinm r4, r4, 0, 0, 0x1a
/* 8035C508 00359468 38 63 00 1F */ addi r3, r3, 0x1f
/* 8035C50C 0035946C 7C 9F 23 78 */ mr r31, r4
/* 8035C510 00359470 54 7E 00 34 */ rlwinm r30, r3, 0, 0, 0x1a
/* 8035C514 00359474 48 00 02 6C */ b lbl_8035C780
lbl_8035C518:
/* 8035C518 00359478 7F 05 C3 78 */ mr r5, r24
/* 8035C51C 0035947C 7F 26 CB 78 */ mr r6, r25
/* 8035C520 00359480 38 61 00 20 */ addi r3, r1, 0x20
/* 8035C524 00359484 38 80 FF FF */ li r4, -1
/* 8035C528 00359488 4B F7 9E AD */ bl __ct__10CCallStackFUiPCcPCc
/* 8035C52C 0035948C 7C 67 1B 78 */ mr r7, r3
/* 8035C530 00359490 7F E3 FB 78 */ mr r3, r31
/* 8035C534 00359494 38 80 00 02 */ li r4, 2
/* 8035C538 00359498 38 A0 00 01 */ li r5, 1
/* 8035C53C 0035949C 38 C0 00 00 */ li r6, 0
/* 8035C540 003594A0 4B FB 94 55 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack
/* 8035C544 003594A4 7C 76 1B 78 */ mr r22, r3
/* 8035C548 003594A8 7F 05 C3 78 */ mr r5, r24
/* 8035C54C 003594AC 7F 26 CB 78 */ mr r6, r25
/* 8035C550 003594B0 38 61 00 18 */ addi r3, r1, 0x18
/* 8035C554 003594B4 38 80 FF FF */ li r4, -1
/* 8035C558 003594B8 4B F7 9E 7D */ bl __ct__10CCallStackFUiPCcPCc
/* 8035C55C 003594BC 7C 67 1B 78 */ mr r7, r3
/* 8035C560 003594C0 7F C3 F3 78 */ mr r3, r30
/* 8035C564 003594C4 38 80 00 02 */ li r4, 2
/* 8035C568 003594C8 38 A0 00 01 */ li r5, 1
/* 8035C56C 003594CC 38 C0 00 00 */ li r6, 0
/* 8035C570 003594D0 4B FB 94 25 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack
/* 8035C574 003594D4 7C 74 1B 78 */ mr r20, r3
/* 8035C578 003594D8 7F 45 D3 78 */ mr r5, r26
/* 8035C57C 003594DC 7E E6 BB 78 */ mr r6, r23
/* 8035C580 003594E0 38 61 00 10 */ addi r3, r1, 0x10
/* 8035C584 003594E4 38 80 FF FF */ li r4, -1
/* 8035C588 003594E8 4B F7 9E 4D */ bl __ct__10CCallStackFUiPCcPCc
/* 8035C58C 003594EC 7C 67 1B 78 */ mr r7, r3
/* 8035C590 003594F0 7F C3 F3 78 */ mr r3, r30
/* 8035C594 003594F4 38 80 00 02 */ li r4, 2
/* 8035C598 003594F8 38 A0 00 01 */ li r5, 1
/* 8035C59C 003594FC 38 C0 00 00 */ li r6, 0
/* 8035C5A0 00359500 4B FB 93 F5 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack
/* 8035C5A4 00359504 7C 72 1B 78 */ mr r18, r3
/* 8035C5A8 00359508 7E A5 AB 78 */ mr r5, r21
/* 8035C5AC 0035950C 7E 66 9B 78 */ mr r6, r19
/* 8035C5B0 00359510 38 61 00 08 */ addi r3, r1, 8
/* 8035C5B4 00359514 38 80 FF FF */ li r4, -1
/* 8035C5B8 00359518 4B F7 9E 1D */ bl __ct__10CCallStackFUiPCcPCc
/* 8035C5BC 0035951C 7C 67 1B 78 */ mr r7, r3
/* 8035C5C0 00359520 7F A3 EB 78 */ mr r3, r29
/* 8035C5C4 00359524 38 80 00 02 */ li r4, 2
/* 8035C5C8 00359528 38 A0 00 01 */ li r5, 1
/* 8035C5CC 0035952C 38 C0 00 00 */ li r6, 0
/* 8035C5D0 00359530 4B FB 93 C5 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack
/* 8035C5D4 00359534 7C 60 1B 78 */ mr r0, r3
/* 8035C5D8 00359538 7E C3 B3 78 */ mr r3, r22
/* 8035C5DC 0035953C 7C 11 03 78 */ mr r17, r0
/* 8035C5E0 00359540 7F E4 FB 78 */ mr r4, r31
/* 8035C5E4 00359544 48 02 25 2D */ bl DCFlushRangeNoSync
/* 8035C5E8 00359548 7E 83 A3 78 */ mr r3, r20
/* 8035C5EC 0035954C 7F C4 F3 78 */ mr r4, r30
/* 8035C5F0 00359550 48 02 25 21 */ bl DCFlushRangeNoSync
/* 8035C5F4 00359554 7E 43 93 78 */ mr r3, r18
/* 8035C5F8 00359558 7F C4 F3 78 */ mr r4, r30
/* 8035C5FC 0035955C 48 02 25 15 */ bl DCFlushRangeNoSync
/* 8035C600 00359560 7E 23 8B 78 */ mr r3, r17
/* 8035C604 00359564 7F A4 EB 78 */ mr r4, r29
/* 8035C608 00359568 48 02 25 09 */ bl DCFlushRangeNoSync
/* 8035C60C 0035956C 7C D6 00 D0 */ neg r6, r22
/* 8035C610 00359570 7C B4 00 D0 */ neg r5, r20
/* 8035C614 00359574 7C 92 00 D0 */ neg r4, r18
/* 8035C618 00359578 7C 71 00 D0 */ neg r3, r17
/* 8035C61C 0035957C 38 00 00 00 */ li r0, 0
/* 8035C620 00359580 7C C6 B3 78 */ or r6, r6, r22
/* 8035C624 00359584 7C A5 A3 78 */ or r5, r5, r20
/* 8035C628 00359588 7C 84 93 78 */ or r4, r4, r18
/* 8035C62C 0035958C 7C 63 8B 78 */ or r3, r3, r17
/* 8035C630 00359590 54 C6 0F FE */ srwi r6, r6, 0x1f
/* 8035C634 00359594 54 A5 0F FE */ srwi r5, r5, 0x1f
/* 8035C638 00359598 54 84 0F FE */ srwi r4, r4, 0x1f
/* 8035C63C 0035959C 54 63 0F FE */ srwi r3, r3, 0x1f
/* 8035C640 003595A0 98 C1 00 28 */ stb r6, 0x28(r1)
/* 8035C644 003595A4 92 C1 00 2C */ stw r22, 0x2c(r1)
/* 8035C648 003595A8 98 A1 00 30 */ stb r5, 0x30(r1)
/* 8035C64C 003595AC 92 81 00 34 */ stw r20, 0x34(r1)
/* 8035C650 003595B0 98 81 00 38 */ stb r4, 0x38(r1)
/* 8035C654 003595B4 92 41 00 3C */ stw r18, 0x3c(r1)
/* 8035C658 003595B8 98 61 00 40 */ stb r3, 0x40(r1)
/* 8035C65C 003595BC 92 21 00 44 */ stw r17, 0x44(r1)
/* 8035C660 003595C0 90 01 00 48 */ stw r0, 0x48(r1)
/* 8035C664 003595C4 90 01 00 4C */ stw r0, 0x4c(r1)
/* 8035C668 003595C8 80 1B 00 84 */ lwz r0, 0x84(r27)
/* 8035C66C 003595CC 80 BB 00 88 */ lwz r5, 0x88(r27)
/* 8035C670 003595D0 7C 00 28 00 */ cmpw r0, r5
/* 8035C674 003595D4 41 80 00 1C */ blt lbl_8035C690
/* 8035C678 003595D8 2C 05 00 00 */ cmpwi r5, 0
/* 8035C67C 003595DC 38 7B 00 80 */ addi r3, r27, 0x80
/* 8035C680 003595E0 38 80 00 04 */ li r4, 4
/* 8035C684 003595E4 41 82 00 08 */ beq lbl_8035C68C
/* 8035C688 003595E8 54 A4 08 3C */ slwi r4, r5, 1
lbl_8035C68C:
/* 8035C68C 003595EC 48 00 11 A9 */ bl "reserve__Q24rstl67vector<Q212CMoviePlayer14CTHPTextureSet,Q24rstl17rmemory_allocator>Fi"
lbl_8035C690:
/* 8035C690 003595F0 80 1B 00 84 */ lwz r0, 0x84(r27)
/* 8035C694 003595F4 80 7B 00 8C */ lwz r3, 0x8c(r27)
/* 8035C698 003595F8 1C 00 00 28 */ mulli r0, r0, 0x28
/* 8035C69C 003595FC 7C 63 02 15 */ add. r3, r3, r0
/* 8035C6A0 00359600 41 82 00 68 */ beq lbl_8035C708
/* 8035C6A4 00359604 88 01 00 28 */ lbz r0, 0x28(r1)
/* 8035C6A8 00359608 38 80 00 00 */ li r4, 0
/* 8035C6AC 0035960C 98 03 00 00 */ stb r0, 0(r3)
/* 8035C6B0 00359610 80 01 00 2C */ lwz r0, 0x2c(r1)
/* 8035C6B4 00359614 90 03 00 04 */ stw r0, 4(r3)
/* 8035C6B8 00359618 98 81 00 28 */ stb r4, 0x28(r1)
/* 8035C6BC 0035961C 88 01 00 30 */ lbz r0, 0x30(r1)
/* 8035C6C0 00359620 98 03 00 08 */ stb r0, 8(r3)
/* 8035C6C4 00359624 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8035C6C8 00359628 90 03 00 0C */ stw r0, 0xc(r3)
/* 8035C6CC 0035962C 98 81 00 30 */ stb r4, 0x30(r1)
/* 8035C6D0 00359630 88 01 00 38 */ lbz r0, 0x38(r1)
/* 8035C6D4 00359634 98 03 00 10 */ stb r0, 0x10(r3)
/* 8035C6D8 00359638 80 01 00 3C */ lwz r0, 0x3c(r1)
/* 8035C6DC 0035963C 90 03 00 14 */ stw r0, 0x14(r3)
/* 8035C6E0 00359640 98 81 00 38 */ stb r4, 0x38(r1)
/* 8035C6E4 00359644 88 01 00 40 */ lbz r0, 0x40(r1)
/* 8035C6E8 00359648 98 03 00 18 */ stb r0, 0x18(r3)
/* 8035C6EC 0035964C 80 01 00 44 */ lwz r0, 0x44(r1)
/* 8035C6F0 00359650 90 03 00 1C */ stw r0, 0x1c(r3)
/* 8035C6F4 00359654 98 81 00 40 */ stb r4, 0x40(r1)
/* 8035C6F8 00359658 80 01 00 48 */ lwz r0, 0x48(r1)
/* 8035C6FC 0035965C 90 03 00 20 */ stw r0, 0x20(r3)
/* 8035C700 00359660 80 01 00 4C */ lwz r0, 0x4c(r1)
/* 8035C704 00359664 90 03 00 24 */ stw r0, 0x24(r3)
lbl_8035C708:
/* 8035C708 00359668 80 7B 00 84 */ lwz r3, 0x84(r27)
/* 8035C70C 0035966C 28 10 00 00 */ cmplwi r16, 0
/* 8035C710 00359670 38 03 00 01 */ addi r0, r3, 1
/* 8035C714 00359674 90 1B 00 84 */ stw r0, 0x84(r27)
/* 8035C718 00359678 41 82 00 18 */ beq lbl_8035C730
/* 8035C71C 0035967C 88 01 00 40 */ lbz r0, 0x40(r1)
/* 8035C720 00359680 28 00 00 00 */ cmplwi r0, 0
/* 8035C724 00359684 41 82 00 0C */ beq lbl_8035C730
/* 8035C728 00359688 80 61 00 44 */ lwz r3, 0x44(r1)
/* 8035C72C 0035968C 4B FB 92 05 */ bl Free__7CMemoryFPCv
lbl_8035C730:
/* 8035C730 00359690 28 0F 00 00 */ cmplwi r15, 0
/* 8035C734 00359694 41 82 00 18 */ beq lbl_8035C74C
/* 8035C738 00359698 88 01 00 38 */ lbz r0, 0x38(r1)
/* 8035C73C 0035969C 28 00 00 00 */ cmplwi r0, 0
/* 8035C740 003596A0 41 82 00 0C */ beq lbl_8035C74C
/* 8035C744 003596A4 80 61 00 3C */ lwz r3, 0x3c(r1)
/* 8035C748 003596A8 4B FB 91 E9 */ bl Free__7CMemoryFPCv
lbl_8035C74C:
/* 8035C74C 003596AC 28 0E 00 00 */ cmplwi r14, 0
/* 8035C750 003596B0 41 82 00 18 */ beq lbl_8035C768
/* 8035C754 003596B4 88 01 00 30 */ lbz r0, 0x30(r1)
/* 8035C758 003596B8 28 00 00 00 */ cmplwi r0, 0
/* 8035C75C 003596BC 41 82 00 0C */ beq lbl_8035C768
/* 8035C760 003596C0 80 61 00 34 */ lwz r3, 0x34(r1)
/* 8035C764 003596C4 4B FB 91 CD */ bl Free__7CMemoryFPCv
lbl_8035C768:
/* 8035C768 003596C8 88 01 00 28 */ lbz r0, 0x28(r1)
/* 8035C76C 003596CC 28 00 00 00 */ cmplwi r0, 0
/* 8035C770 003596D0 41 82 00 0C */ beq lbl_8035C77C
/* 8035C774 003596D4 80 61 00 2C */ lwz r3, 0x2c(r1)
/* 8035C778 003596D8 4B FB 91 B9 */ bl Free__7CMemoryFPCv
lbl_8035C77C:
/* 8035C77C 003596DC 3B 9C 00 01 */ addi r28, r28, 1
lbl_8035C780:
/* 8035C780 003596E0 80 1B 00 88 */ lwz r0, 0x88(r27)
/* 8035C784 003596E4 7C 1C 00 00 */ cmpw r28, r0
/* 8035C788 003596E8 41 80 FD 90 */ blt lbl_8035C518
/* 8035C78C 003596EC 48 01 30 81 */ bl PPCSync
/* 8035C790 003596F0 38 60 00 00 */ li r3, 0
/* 8035C794 003596F4 38 00 FF FF */ li r0, -1
/* 8035C798 003596F8 90 7B 00 CC */ stw r3, 0xcc(r27)
/* 8035C79C 003596FC 90 1B 00 D0 */ stw r0, 0xd0(r27)
/* 8035C7A0 00359700 90 1B 00 D4 */ stw r0, 0xd4(r27)
/* 8035C7A4 00359704 B9 C1 00 58 */ lmw r14, 0x58(r1)
/* 8035C7A8 00359708 80 01 00 A4 */ lwz r0, 0xa4(r1)
/* 8035C7AC 0035970C 7C 08 03 A6 */ mtlr r0
/* 8035C7B0 00359710 38 21 00 A0 */ addi r1, r1, 0xa0
/* 8035C7B4 00359714 4E 80 00 20 */ blr
.global __dt__12CMoviePlayerFv
__dt__12CMoviePlayerFv:
/* 8035C7B8 00359718 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8035C7BC 0035971C 7C 08 02 A6 */ mflr r0
/* 8035C7C0 00359720 90 01 00 24 */ stw r0, 0x24(r1)
/* 8035C7C4 00359724 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8035C7C8 00359728 7C 7F 1B 79 */ or. r31, r3, r3
/* 8035C7CC 0035972C 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8035C7D0 00359730 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8035C7D4 00359734 7C 9D 23 78 */ mr r29, r4
/* 8035C7D8 00359738 41 82 01 44 */ beq lbl_8035C91C
/* 8035C7DC 0035973C 80 6D AA A0 */ lwz r3, lbl_805A9660@sda21(r13)
/* 8035C7E0 00359740 38 03 FF FF */ addi r0, r3, -1
/* 8035C7E4 00359744 90 0D AA A0 */ stw r0, lbl_805A9660@sda21(r13)
/* 8035C7E8 00359748 4B FF EE 45 */ bl VerifyCallbackStatus__12CMoviePlayerFv
/* 8035C7EC 0035974C 80 0D AA A4 */ lwz r0, lbl_805A9664@sda21(r13)
/* 8035C7F0 00359750 7C 00 F8 40 */ cmplw r0, r31
/* 8035C7F4 00359754 40 82 00 0C */ bne lbl_8035C800
/* 8035C7F8 00359758 38 00 00 00 */ li r0, 0
/* 8035C7FC 0035975C 90 0D AA A4 */ stw r0, lbl_805A9664@sda21(r13)
lbl_8035C800:
/* 8035C800 00359760 34 1F 00 AC */ addic. r0, r31, 0xac
/* 8035C804 00359764 41 82 00 A0 */ beq lbl_8035C8A4
/* 8035C808 00359768 83 DF 00 AC */ lwz r30, 0xac(r31)
/* 8035C80C 0035976C 28 1E 00 00 */ cmplwi r30, 0
/* 8035C810 00359770 41 82 00 94 */ beq lbl_8035C8A4
/* 8035C814 00359774 34 1E 00 0C */ addic. r0, r30, 0xc
/* 8035C818 00359778 41 82 00 0C */ beq lbl_8035C824
/* 8035C81C 0035977C 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 8035C820 00359780 4B FB 91 11 */ bl Free__7CMemoryFPCv
lbl_8035C824:
/* 8035C824 00359784 34 1E 00 08 */ addic. r0, r30, 8
/* 8035C828 00359788 41 82 00 24 */ beq lbl_8035C84C
/* 8035C82C 0035978C 80 7E 00 08 */ lwz r3, 8(r30)
/* 8035C830 00359790 28 03 00 00 */ cmplwi r3, 0
/* 8035C834 00359794 41 82 00 18 */ beq lbl_8035C84C
/* 8035C838 00359798 81 83 00 00 */ lwz r12, 0(r3)
/* 8035C83C 0035979C 38 80 00 01 */ li r4, 1
/* 8035C840 003597A0 81 8C 00 08 */ lwz r12, 8(r12)
/* 8035C844 003597A4 7D 89 03 A6 */ mtctr r12
/* 8035C848 003597A8 4E 80 04 21 */ bctrl
lbl_8035C84C:
/* 8035C84C 003597AC 34 1E 00 04 */ addic. r0, r30, 4
/* 8035C850 003597B0 41 82 00 24 */ beq lbl_8035C874
/* 8035C854 003597B4 80 7E 00 04 */ lwz r3, 4(r30)
/* 8035C858 003597B8 28 03 00 00 */ cmplwi r3, 0
/* 8035C85C 003597BC 41 82 00 18 */ beq lbl_8035C874
/* 8035C860 003597C0 81 83 00 00 */ lwz r12, 0(r3)
/* 8035C864 003597C4 38 80 00 01 */ li r4, 1
/* 8035C868 003597C8 81 8C 00 08 */ lwz r12, 8(r12)
/* 8035C86C 003597CC 7D 89 03 A6 */ mtctr r12
/* 8035C870 003597D0 4E 80 04 21 */ bctrl
lbl_8035C874:
/* 8035C874 003597D4 28 1E 00 00 */ cmplwi r30, 0
/* 8035C878 003597D8 41 82 00 24 */ beq lbl_8035C89C
/* 8035C87C 003597DC 80 7E 00 00 */ lwz r3, 0(r30)
/* 8035C880 003597E0 28 03 00 00 */ cmplwi r3, 0
/* 8035C884 003597E4 41 82 00 18 */ beq lbl_8035C89C
/* 8035C888 003597E8 81 83 00 00 */ lwz r12, 0(r3)
/* 8035C88C 003597EC 38 80 00 01 */ li r4, 1
/* 8035C890 003597F0 81 8C 00 08 */ lwz r12, 8(r12)
/* 8035C894 003597F4 7D 89 03 A6 */ mtctr r12
/* 8035C898 003597F8 4E 80 04 21 */ bctrl
lbl_8035C89C:
/* 8035C89C 003597FC 7F C3 F3 78 */ mr r3, r30
/* 8035C8A0 00359800 4B FB 90 91 */ bl Free__7CMemoryFPCv
lbl_8035C8A4:
/* 8035C8A4 00359804 38 7F 00 9C */ addi r3, r31, 0x9c
/* 8035C8A8 00359808 38 80 FF FF */ li r4, -1
/* 8035C8AC 0035980C 48 00 01 1D */ bl "__dt__Q24rstl56vector<Q24rstl12auto_ptr<Uc>,Q24rstl17rmemory_allocator>Fv"
/* 8035C8B0 00359810 34 1F 00 98 */ addic. r0, r31, 0x98
/* 8035C8B4 00359814 41 82 00 24 */ beq lbl_8035C8D8
/* 8035C8B8 00359818 80 7F 00 98 */ lwz r3, 0x98(r31)
/* 8035C8BC 0035981C 28 03 00 00 */ cmplwi r3, 0
/* 8035C8C0 00359820 41 82 00 18 */ beq lbl_8035C8D8
/* 8035C8C4 00359824 81 83 00 00 */ lwz r12, 0(r3)
/* 8035C8C8 00359828 38 80 00 01 */ li r4, 1
/* 8035C8CC 0035982C 81 8C 00 08 */ lwz r12, 8(r12)
/* 8035C8D0 00359830 7D 89 03 A6 */ mtctr r12
/* 8035C8D4 00359834 4E 80 04 21 */ bctrl
lbl_8035C8D8:
/* 8035C8D8 00359838 34 1F 00 90 */ addic. r0, r31, 0x90
/* 8035C8DC 0035983C 41 82 00 18 */ beq lbl_8035C8F4
/* 8035C8E0 00359840 88 1F 00 90 */ lbz r0, 0x90(r31)
/* 8035C8E4 00359844 28 00 00 00 */ cmplwi r0, 0
/* 8035C8E8 00359848 41 82 00 0C */ beq lbl_8035C8F4
/* 8035C8EC 0035984C 80 7F 00 94 */ lwz r3, 0x94(r31)
/* 8035C8F0 00359850 4B FB 90 41 */ bl Free__7CMemoryFPCv
lbl_8035C8F4:
/* 8035C8F4 00359854 38 7F 00 80 */ addi r3, r31, 0x80
/* 8035C8F8 00359858 38 80 FF FF */ li r4, -1
/* 8035C8FC 0035985C 48 00 00 41 */ bl "__dt__Q24rstl67vector<Q212CMoviePlayer14CTHPTextureSet,Q24rstl17rmemory_allocator>Fv"
/* 8035C900 00359860 7F E3 FB 78 */ mr r3, r31
/* 8035C904 00359864 38 80 FF FF */ li r4, -1
/* 8035C908 00359868 4B FF 33 09 */ bl __dt__8CDvdFileFv
/* 8035C90C 0035986C 7F A0 07 35 */ extsh. r0, r29
/* 8035C910 00359870 40 81 00 0C */ ble lbl_8035C91C
/* 8035C914 00359874 7F E3 FB 78 */ mr r3, r31
/* 8035C918 00359878 4B FB 90 19 */ bl Free__7CMemoryFPCv
lbl_8035C91C:
/* 8035C91C 0035987C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8035C920 00359880 7F E3 FB 78 */ mr r3, r31
/* 8035C924 00359884 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8035C928 00359888 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8035C92C 0035988C 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 8035C930 00359890 7C 08 03 A6 */ mtlr r0
/* 8035C934 00359894 38 21 00 20 */ addi r1, r1, 0x20
/* 8035C938 00359898 4E 80 00 20 */ blr
.global "__dt__Q24rstl67vector<Q212CMoviePlayer14CTHPTextureSet,Q24rstl17rmemory_allocator>Fv"
"__dt__Q24rstl67vector<Q212CMoviePlayer14CTHPTextureSet,Q24rstl17rmemory_allocator>Fv":
/* 8035C93C 0035989C 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8035C940 003598A0 7C 08 02 A6 */ mflr r0
/* 8035C944 003598A4 90 01 00 24 */ stw r0, 0x24(r1)
/* 8035C948 003598A8 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8035C94C 003598AC 7C 9F 23 78 */ mr r31, r4
/* 8035C950 003598B0 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8035C954 003598B4 7C 7E 1B 79 */ or. r30, r3, r3
/* 8035C958 003598B8 41 82 00 54 */ beq lbl_8035C9AC
/* 8035C95C 003598BC 80 1E 00 04 */ lwz r0, 4(r30)
/* 8035C960 003598C0 38 61 00 14 */ addi r3, r1, 0x14
/* 8035C964 003598C4 80 BE 00 0C */ lwz r5, 0xc(r30)
/* 8035C968 003598C8 38 81 00 0C */ addi r4, r1, 0xc
/* 8035C96C 003598CC 1C 00 00 28 */ mulli r0, r0, 0x28
/* 8035C970 003598D0 7C A5 02 14 */ add r5, r5, r0
/* 8035C974 003598D4 90 A1 00 0C */ stw r5, 0xc(r1)
/* 8035C978 003598D8 80 1E 00 0C */ lwz r0, 0xc(r30)
/* 8035C97C 003598DC 90 A1 00 08 */ stw r5, 8(r1)
/* 8035C980 003598E0 90 01 00 10 */ stw r0, 0x10(r1)
/* 8035C984 003598E4 90 01 00 14 */ stw r0, 0x14(r1)
/* 8035C988 003598E8 4B FF F1 3D */ bl "destroy<Q24rstl154pointer_iterator<Q212CMoviePlayer14CTHPTextureSet,Q24rstl67vector<Q212CMoviePlayer14CTHPTextureSet,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl154pointer_iterator<Q212CMoviePlayer14CTHPTextureSet,Q24rstl67vector<Q212CMoviePlayer14CTHPTextureSet,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl154pointer_iterator<Q212CMoviePlayer14CTHPTextureSet,Q24rstl67vector<Q212CMoviePlayer14CTHPTextureSet,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>"
/* 8035C98C 003598EC 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 8035C990 003598F0 28 03 00 00 */ cmplwi r3, 0
/* 8035C994 003598F4 41 82 00 08 */ beq lbl_8035C99C
/* 8035C998 003598F8 4B FB 8F 99 */ bl Free__7CMemoryFPCv
lbl_8035C99C:
/* 8035C99C 003598FC 7F E0 07 35 */ extsh. r0, r31
/* 8035C9A0 00359900 40 81 00 0C */ ble lbl_8035C9AC
/* 8035C9A4 00359904 7F C3 F3 78 */ mr r3, r30
/* 8035C9A8 00359908 4B FB 8F 89 */ bl Free__7CMemoryFPCv
lbl_8035C9AC:
/* 8035C9AC 0035990C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8035C9B0 00359910 7F C3 F3 78 */ mr r3, r30
/* 8035C9B4 00359914 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8035C9B8 00359918 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8035C9BC 0035991C 7C 08 03 A6 */ mtlr r0
/* 8035C9C0 00359920 38 21 00 20 */ addi r1, r1, 0x20
/* 8035C9C4 00359924 4E 80 00 20 */ blr
.global "__dt__Q24rstl56vector<Q24rstl12auto_ptr<Uc>,Q24rstl17rmemory_allocator>Fv"
"__dt__Q24rstl56vector<Q24rstl12auto_ptr<Uc>,Q24rstl17rmemory_allocator>Fv":
/* 8035C9C8 00359928 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8035C9CC 0035992C 7C 08 02 A6 */ mflr r0
/* 8035C9D0 00359930 90 01 00 34 */ stw r0, 0x34(r1)
/* 8035C9D4 00359934 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 8035C9D8 00359938 93 C1 00 28 */ stw r30, 0x28(r1)
/* 8035C9DC 0035993C 93 A1 00 24 */ stw r29, 0x24(r1)
/* 8035C9E0 00359940 7C 9D 23 78 */ mr r29, r4
/* 8035C9E4 00359944 93 81 00 20 */ stw r28, 0x20(r1)
/* 8035C9E8 00359948 7C 7C 1B 79 */ or. r28, r3, r3
/* 8035C9EC 0035994C 41 82 00 70 */ beq lbl_8035CA5C
/* 8035C9F0 00359950 80 1C 00 04 */ lwz r0, 4(r28)
/* 8035C9F4 00359954 83 DC 00 0C */ lwz r30, 0xc(r28)
/* 8035C9F8 00359958 54 00 18 38 */ slwi r0, r0, 3
/* 8035C9FC 0035995C 7F FE 02 14 */ add r31, r30, r0
/* 8035CA00 00359960 93 C1 00 10 */ stw r30, 0x10(r1)
/* 8035CA04 00359964 93 E1 00 08 */ stw r31, 8(r1)
/* 8035CA08 00359968 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8035CA0C 0035996C 93 C1 00 14 */ stw r30, 0x14(r1)
/* 8035CA10 00359970 48 00 00 24 */ b lbl_8035CA34
lbl_8035CA14:
/* 8035CA14 00359974 28 1E 00 00 */ cmplwi r30, 0
/* 8035CA18 00359978 41 82 00 18 */ beq lbl_8035CA30
/* 8035CA1C 0035997C 88 1E 00 00 */ lbz r0, 0(r30)
/* 8035CA20 00359980 28 00 00 00 */ cmplwi r0, 0
/* 8035CA24 00359984 41 82 00 0C */ beq lbl_8035CA30
/* 8035CA28 00359988 80 7E 00 04 */ lwz r3, 4(r30)
/* 8035CA2C 0035998C 4B FB 8F 05 */ bl Free__7CMemoryFPCv
lbl_8035CA30:
/* 8035CA30 00359990 3B DE 00 08 */ addi r30, r30, 8
lbl_8035CA34:
/* 8035CA34 00359994 7C 1E F8 40 */ cmplw r30, r31
/* 8035CA38 00359998 40 82 FF DC */ bne lbl_8035CA14
/* 8035CA3C 0035999C 80 7C 00 0C */ lwz r3, 0xc(r28)
/* 8035CA40 003599A0 28 03 00 00 */ cmplwi r3, 0
/* 8035CA44 003599A4 41 82 00 08 */ beq lbl_8035CA4C
/* 8035CA48 003599A8 4B FB 8E E9 */ bl Free__7CMemoryFPCv
lbl_8035CA4C:
/* 8035CA4C 003599AC 7F A0 07 35 */ extsh. r0, r29
/* 8035CA50 003599B0 40 81 00 0C */ ble lbl_8035CA5C
/* 8035CA54 003599B4 7F 83 E3 78 */ mr r3, r28
/* 8035CA58 003599B8 4B FB 8E D9 */ bl Free__7CMemoryFPCv
lbl_8035CA5C:
/* 8035CA5C 003599BC 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8035CA60 003599C0 7F 83 E3 78 */ mr r3, r28
/* 8035CA64 003599C4 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 8035CA68 003599C8 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 8035CA6C 003599CC 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 8035CA70 003599D0 83 81 00 20 */ lwz r28, 0x20(r1)
/* 8035CA74 003599D4 7C 08 03 A6 */ mtlr r0
/* 8035CA78 003599D8 38 21 00 30 */ addi r1, r1, 0x30
/* 8035CA7C 003599DC 4E 80 00 20 */ blr
.global PumpIndexLoad__12CMoviePlayerFv
PumpIndexLoad__12CMoviePlayerFv:
/* 8035CA80 003599E0 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 8035CA84 003599E4 7C 08 02 A6 */ mflr r0
/* 8035CA88 003599E8 90 01 00 44 */ stw r0, 0x44(r1)
/* 8035CA8C 003599EC BF 21 00 24 */ stmw r25, 0x24(r1)
/* 8035CA90 003599F0 7C 7E 1B 78 */ mr r30, r3
/* 8035CA94 003599F4 80 63 00 AC */ lwz r3, 0xac(r3)
/* 8035CA98 003599F8 28 03 00 00 */ cmplwi r3, 0
/* 8035CA9C 003599FC 40 82 00 0C */ bne lbl_8035CAA8
/* 8035CAA0 00359A00 38 60 00 00 */ li r3, 0
/* 8035CAA4 00359A04 48 00 04 64 */ b lbl_8035CF08
lbl_8035CAA8:
/* 8035CAA8 00359A08 80 03 00 10 */ lwz r0, 0x10(r3)
/* 8035CAAC 00359A0C 83 E3 00 0C */ lwz r31, 0xc(r3)
/* 8035CAB0 00359A10 2C 00 00 01 */ cmpwi r0, 1
/* 8035CAB4 00359A14 41 82 00 AC */ beq lbl_8035CB60
/* 8035CAB8 00359A18 40 80 00 10 */ bge lbl_8035CAC8
/* 8035CABC 00359A1C 2C 00 00 00 */ cmpwi r0, 0
/* 8035CAC0 00359A20 40 80 00 14 */ bge lbl_8035CAD4
/* 8035CAC4 00359A24 48 00 02 B0 */ b lbl_8035CD74
lbl_8035CAC8:
/* 8035CAC8 00359A28 2C 00 00 03 */ cmpwi r0, 3
/* 8035CACC 00359A2C 40 80 02 A8 */ bge lbl_8035CD74
/* 8035CAD0 00359A30 48 00 01 F0 */ b lbl_8035CCC0
lbl_8035CAD4:
/* 8035CAD4 00359A34 80 63 00 00 */ lwz r3, 0(r3)
/* 8035CAD8 00359A38 81 83 00 00 */ lwz r12, 0(r3)
/* 8035CADC 00359A3C 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 8035CAE0 00359A40 7D 89 03 A6 */ mtctr r12
/* 8035CAE4 00359A44 4E 80 04 21 */ bctrl
/* 8035CAE8 00359A48 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8035CAEC 00359A4C 41 82 00 6C */ beq lbl_8035CB58
/* 8035CAF0 00359A50 7F E4 FB 78 */ mr r4, r31
/* 8035CAF4 00359A54 38 7E 00 28 */ addi r3, r30, 0x28
/* 8035CAF8 00359A58 38 A0 00 30 */ li r5, 0x30
/* 8035CAFC 00359A5C 4B CA 69 95 */ bl memcpy
/* 8035CB00 00359A60 80 FE 00 48 */ lwz r7, 0x48(r30)
/* 8035CB04 00359A64 7F C3 F3 78 */ mr r3, r30
/* 8035CB08 00359A68 7F E4 FB 78 */ mr r4, r31
/* 8035CB0C 00359A6C 38 A0 00 20 */ li r5, 0x20
/* 8035CB10 00359A70 38 C0 00 00 */ li r6, 0
/* 8035CB14 00359A74 4B FF 2E AD */ bl AsyncSeekRead__8CDvdFileFPvUi11ESeekOrigini
/* 8035CB18 00359A78 83 BE 00 AC */ lwz r29, 0xac(r30)
/* 8035CB1C 00359A7C 7C 7C 1B 78 */ mr r28, r3
/* 8035CB20 00359A80 80 7D 00 00 */ lwz r3, 0(r29)
/* 8035CB24 00359A84 28 03 00 00 */ cmplwi r3, 0
/* 8035CB28 00359A88 41 82 00 18 */ beq lbl_8035CB40
/* 8035CB2C 00359A8C 81 83 00 00 */ lwz r12, 0(r3)
/* 8035CB30 00359A90 38 80 00 01 */ li r4, 1
/* 8035CB34 00359A94 81 8C 00 08 */ lwz r12, 8(r12)
/* 8035CB38 00359A98 7D 89 03 A6 */ mtctr r12
/* 8035CB3C 00359A9C 4E 80 04 21 */ bctrl
lbl_8035CB40:
/* 8035CB40 00359AA0 93 9D 00 00 */ stw r28, 0(r29)
/* 8035CB44 00359AA4 80 9E 00 AC */ lwz r4, 0xac(r30)
/* 8035CB48 00359AA8 80 64 00 10 */ lwz r3, 0x10(r4)
/* 8035CB4C 00359AAC 38 03 00 01 */ addi r0, r3, 1
/* 8035CB50 00359AB0 90 04 00 10 */ stw r0, 0x10(r4)
/* 8035CB54 00359AB4 48 00 00 0C */ b lbl_8035CB60
lbl_8035CB58:
/* 8035CB58 00359AB8 38 60 00 01 */ li r3, 1
/* 8035CB5C 00359ABC 48 00 03 AC */ b lbl_8035CF08
lbl_8035CB60:
/* 8035CB60 00359AC0 80 7E 00 AC */ lwz r3, 0xac(r30)
/* 8035CB64 00359AC4 80 63 00 00 */ lwz r3, 0(r3)
/* 8035CB68 00359AC8 81 83 00 00 */ lwz r12, 0(r3)
/* 8035CB6C 00359ACC 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 8035CB70 00359AD0 7D 89 03 A6 */ mtctr r12
/* 8035CB74 00359AD4 4E 80 04 21 */ bctrl
/* 8035CB78 00359AD8 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8035CB7C 00359ADC 41 82 01 3C */ beq lbl_8035CCB8
/* 8035CB80 00359AE0 7F E4 FB 78 */ mr r4, r31
/* 8035CB84 00359AE4 38 7E 00 58 */ addi r3, r30, 0x58
/* 8035CB88 00359AE8 38 A0 00 14 */ li r5, 0x14
/* 8035CB8C 00359AEC 4B CA 69 05 */ bl memcpy
/* 8035CB90 00359AF0 83 9E 00 AC */ lwz r28, 0xac(r30)
/* 8035CB94 00359AF4 80 7C 00 00 */ lwz r3, 0(r28)
/* 8035CB98 00359AF8 28 03 00 00 */ cmplwi r3, 0
/* 8035CB9C 00359AFC 41 82 00 18 */ beq lbl_8035CBB4
/* 8035CBA0 00359B00 81 83 00 00 */ lwz r12, 0(r3)
/* 8035CBA4 00359B04 38 80 00 01 */ li r4, 1
/* 8035CBA8 00359B08 81 8C 00 08 */ lwz r12, 8(r12)
/* 8035CBAC 00359B0C 7D 89 03 A6 */ mtctr r12
/* 8035CBB0 00359B10 4E 80 04 21 */ bctrl
lbl_8035CBB4:
/* 8035CBB4 00359B14 38 00 00 00 */ li r0, 0
/* 8035CBB8 00359B18 3B 7F 00 20 */ addi r27, r31, 0x20
/* 8035CBBC 00359B1C 90 1C 00 00 */ stw r0, 0(r28)
/* 8035CBC0 00359B20 3B 20 00 00 */ li r25, 0
/* 8035CBC4 00359B24 80 7E 00 48 */ lwz r3, 0x48(r30)
/* 8035CBC8 00359B28 3B 43 00 14 */ addi r26, r3, 0x14
/* 8035CBCC 00359B2C 48 00 00 CC */ b lbl_8035CC98
lbl_8035CBD0:
/* 8035CBD0 00359B30 38 19 00 5C */ addi r0, r25, 0x5c
/* 8035CBD4 00359B34 7C 1E 00 AE */ lbzx r0, r30, r0
/* 8035CBD8 00359B38 2C 00 00 01 */ cmpwi r0, 1
/* 8035CBDC 00359B3C 41 82 00 60 */ beq lbl_8035CC3C
/* 8035CBE0 00359B40 40 80 00 B4 */ bge lbl_8035CC94
/* 8035CBE4 00359B44 2C 00 00 00 */ cmpwi r0, 0
/* 8035CBE8 00359B48 40 80 00 08 */ bge lbl_8035CBF0
/* 8035CBEC 00359B4C 48 00 00 A8 */ b lbl_8035CC94
lbl_8035CBF0:
/* 8035CBF0 00359B50 7F C3 F3 78 */ mr r3, r30
/* 8035CBF4 00359B54 7F E4 FB 78 */ mr r4, r31
/* 8035CBF8 00359B58 7F 47 D3 78 */ mr r7, r26
/* 8035CBFC 00359B5C 38 A0 00 20 */ li r5, 0x20
/* 8035CC00 00359B60 38 C0 00 00 */ li r6, 0
/* 8035CC04 00359B64 4B FF 2D BD */ bl AsyncSeekRead__8CDvdFileFPvUi11ESeekOrigini
/* 8035CC08 00359B68 83 9E 00 AC */ lwz r28, 0xac(r30)
/* 8035CC0C 00359B6C 7C 7D 1B 78 */ mr r29, r3
/* 8035CC10 00359B70 80 7C 00 04 */ lwz r3, 4(r28)
/* 8035CC14 00359B74 28 03 00 00 */ cmplwi r3, 0
/* 8035CC18 00359B78 41 82 00 18 */ beq lbl_8035CC30
/* 8035CC1C 00359B7C 81 83 00 00 */ lwz r12, 0(r3)
/* 8035CC20 00359B80 38 80 00 01 */ li r4, 1
/* 8035CC24 00359B84 81 8C 00 08 */ lwz r12, 8(r12)
/* 8035CC28 00359B88 7D 89 03 A6 */ mtctr r12
/* 8035CC2C 00359B8C 4E 80 04 21 */ bctrl
lbl_8035CC30:
/* 8035CC30 00359B90 93 BC 00 04 */ stw r29, 4(r28)
/* 8035CC34 00359B94 3B 5A 00 08 */ addi r26, r26, 8
/* 8035CC38 00359B98 48 00 00 5C */ b lbl_8035CC94
lbl_8035CC3C:
/* 8035CC3C 00359B9C 7F C3 F3 78 */ mr r3, r30
/* 8035CC40 00359BA0 7F 64 DB 78 */ mr r4, r27
/* 8035CC44 00359BA4 7F 47 D3 78 */ mr r7, r26
/* 8035CC48 00359BA8 38 A0 00 20 */ li r5, 0x20
/* 8035CC4C 00359BAC 38 C0 00 00 */ li r6, 0
/* 8035CC50 00359BB0 4B FF 2D 71 */ bl AsyncSeekRead__8CDvdFileFPvUi11ESeekOrigini
/* 8035CC54 00359BB4 83 9E 00 AC */ lwz r28, 0xac(r30)
/* 8035CC58 00359BB8 7C 7D 1B 78 */ mr r29, r3
/* 8035CC5C 00359BBC 80 7C 00 08 */ lwz r3, 8(r28)
/* 8035CC60 00359BC0 28 03 00 00 */ cmplwi r3, 0
/* 8035CC64 00359BC4 41 82 00 18 */ beq lbl_8035CC7C
/* 8035CC68 00359BC8 81 83 00 00 */ lwz r12, 0(r3)
/* 8035CC6C 00359BCC 38 80 00 01 */ li r4, 1
/* 8035CC70 00359BD0 81 8C 00 08 */ lwz r12, 8(r12)
/* 8035CC74 00359BD4 7D 89 03 A6 */ mtctr r12
/* 8035CC78 00359BD8 4E 80 04 21 */ bctrl
lbl_8035CC7C:
/* 8035CC7C 00359BDC 93 BC 00 08 */ stw r29, 8(r28)
/* 8035CC80 00359BE0 38 60 00 01 */ li r3, 1
/* 8035CC84 00359BE4 3B 5A 00 0C */ addi r26, r26, 0xc
/* 8035CC88 00359BE8 88 1E 00 F4 */ lbz r0, 0xf4(r30)
/* 8035CC8C 00359BEC 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a
/* 8035CC90 00359BF0 98 1E 00 F4 */ stb r0, 0xf4(r30)
lbl_8035CC94:
/* 8035CC94 00359BF4 3B 39 00 01 */ addi r25, r25, 1
lbl_8035CC98:
/* 8035CC98 00359BF8 80 1E 00 58 */ lwz r0, 0x58(r30)
/* 8035CC9C 00359BFC 7C 19 00 40 */ cmplw r25, r0
/* 8035CCA0 00359C00 41 80 FF 30 */ blt lbl_8035CBD0
/* 8035CCA4 00359C04 80 9E 00 AC */ lwz r4, 0xac(r30)
/* 8035CCA8 00359C08 80 64 00 10 */ lwz r3, 0x10(r4)
/* 8035CCAC 00359C0C 38 03 00 01 */ addi r0, r3, 1
/* 8035CCB0 00359C10 90 04 00 10 */ stw r0, 0x10(r4)
/* 8035CCB4 00359C14 48 00 00 0C */ b lbl_8035CCC0
lbl_8035CCB8:
/* 8035CCB8 00359C18 38 60 00 01 */ li r3, 1
/* 8035CCBC 00359C1C 48 00 02 4C */ b lbl_8035CF08
lbl_8035CCC0:
/* 8035CCC0 00359C20 80 9E 00 AC */ lwz r4, 0xac(r30)
/* 8035CCC4 00359C24 3B 20 00 01 */ li r25, 1
/* 8035CCC8 00359C28 80 64 00 04 */ lwz r3, 4(r4)
/* 8035CCCC 00359C2C 80 84 00 08 */ lwz r4, 8(r4)
/* 8035CCD0 00359C30 7C 03 00 D0 */ neg r0, r3
/* 8035CCD4 00359C34 7C 05 1B 78 */ or r5, r0, r3
/* 8035CCD8 00359C38 7C 04 00 D0 */ neg r0, r4
/* 8035CCDC 00359C3C 7C 00 23 78 */ or r0, r0, r4
/* 8035CCE0 00359C40 54 BC 0F FF */ rlwinm. r28, r5, 1, 0x1f, 0x1f
/* 8035CCE4 00359C44 54 1D 0F FE */ srwi r29, r0, 0x1f
/* 8035CCE8 00359C48 41 82 00 20 */ beq lbl_8035CD08
/* 8035CCEC 00359C4C 81 83 00 00 */ lwz r12, 0(r3)
/* 8035CCF0 00359C50 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 8035CCF4 00359C54 7D 89 03 A6 */ mtctr r12
/* 8035CCF8 00359C58 4E 80 04 21 */ bctrl
/* 8035CCFC 00359C5C 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8035CD00 00359C60 40 82 00 08 */ bne lbl_8035CD08
/* 8035CD04 00359C64 3B 20 00 00 */ li r25, 0
lbl_8035CD08:
/* 8035CD08 00359C68 28 1D 00 00 */ cmplwi r29, 0
/* 8035CD0C 00359C6C 41 82 00 28 */ beq lbl_8035CD34
/* 8035CD10 00359C70 80 7E 00 AC */ lwz r3, 0xac(r30)
/* 8035CD14 00359C74 80 63 00 08 */ lwz r3, 8(r3)
/* 8035CD18 00359C78 81 83 00 00 */ lwz r12, 0(r3)
/* 8035CD1C 00359C7C 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 8035CD20 00359C80 7D 89 03 A6 */ mtctr r12
/* 8035CD24 00359C84 4E 80 04 21 */ bctrl
/* 8035CD28 00359C88 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8035CD2C 00359C8C 40 82 00 08 */ bne lbl_8035CD34
/* 8035CD30 00359C90 3B 20 00 00 */ li r25, 0
lbl_8035CD34:
/* 8035CD34 00359C94 57 20 06 3F */ clrlwi. r0, r25, 0x18
/* 8035CD38 00359C98 40 82 00 0C */ bne lbl_8035CD44
/* 8035CD3C 00359C9C 38 60 00 01 */ li r3, 1
/* 8035CD40 00359CA0 48 00 01 C8 */ b lbl_8035CF08
lbl_8035CD44:
/* 8035CD44 00359CA4 28 1C 00 00 */ cmplwi r28, 0
/* 8035CD48 00359CA8 41 82 00 14 */ beq lbl_8035CD5C
/* 8035CD4C 00359CAC 7F E4 FB 78 */ mr r4, r31
/* 8035CD50 00359CB0 38 7E 00 6C */ addi r3, r30, 0x6c
/* 8035CD54 00359CB4 38 A0 00 08 */ li r5, 8
/* 8035CD58 00359CB8 4B CA 67 39 */ bl memcpy
lbl_8035CD5C:
/* 8035CD5C 00359CBC 28 1D 00 00 */ cmplwi r29, 0
/* 8035CD60 00359CC0 41 82 00 14 */ beq lbl_8035CD74
/* 8035CD64 00359CC4 38 7E 00 74 */ addi r3, r30, 0x74
/* 8035CD68 00359CC8 38 9F 00 20 */ addi r4, r31, 0x20
/* 8035CD6C 00359CCC 38 A0 00 0C */ li r5, 0xc
/* 8035CD70 00359CD0 4B CA 67 21 */ bl memcpy
lbl_8035CD74:
/* 8035CD74 00359CD4 83 9E 00 AC */ lwz r28, 0xac(r30)
/* 8035CD78 00359CD8 28 1C 00 00 */ cmplwi r28, 0
/* 8035CD7C 00359CDC 41 82 00 94 */ beq lbl_8035CE10
/* 8035CD80 00359CE0 34 1C 00 0C */ addic. r0, r28, 0xc
/* 8035CD84 00359CE4 41 82 00 0C */ beq lbl_8035CD90
/* 8035CD88 00359CE8 80 7C 00 0C */ lwz r3, 0xc(r28)
/* 8035CD8C 00359CEC 4B FB 8B A5 */ bl Free__7CMemoryFPCv
lbl_8035CD90:
/* 8035CD90 00359CF0 34 1C 00 08 */ addic. r0, r28, 8
/* 8035CD94 00359CF4 41 82 00 24 */ beq lbl_8035CDB8
/* 8035CD98 00359CF8 80 7C 00 08 */ lwz r3, 8(r28)
/* 8035CD9C 00359CFC 28 03 00 00 */ cmplwi r3, 0
/* 8035CDA0 00359D00 41 82 00 18 */ beq lbl_8035CDB8
/* 8035CDA4 00359D04 81 83 00 00 */ lwz r12, 0(r3)
/* 8035CDA8 00359D08 38 80 00 01 */ li r4, 1
/* 8035CDAC 00359D0C 81 8C 00 08 */ lwz r12, 8(r12)
/* 8035CDB0 00359D10 7D 89 03 A6 */ mtctr r12
/* 8035CDB4 00359D14 4E 80 04 21 */ bctrl
lbl_8035CDB8:
/* 8035CDB8 00359D18 34 1C 00 04 */ addic. r0, r28, 4
/* 8035CDBC 00359D1C 41 82 00 24 */ beq lbl_8035CDE0
/* 8035CDC0 00359D20 80 7C 00 04 */ lwz r3, 4(r28)
/* 8035CDC4 00359D24 28 03 00 00 */ cmplwi r3, 0
/* 8035CDC8 00359D28 41 82 00 18 */ beq lbl_8035CDE0
/* 8035CDCC 00359D2C 81 83 00 00 */ lwz r12, 0(r3)
/* 8035CDD0 00359D30 38 80 00 01 */ li r4, 1
/* 8035CDD4 00359D34 81 8C 00 08 */ lwz r12, 8(r12)
/* 8035CDD8 00359D38 7D 89 03 A6 */ mtctr r12
/* 8035CDDC 00359D3C 4E 80 04 21 */ bctrl
lbl_8035CDE0:
/* 8035CDE0 00359D40 28 1C 00 00 */ cmplwi r28, 0
/* 8035CDE4 00359D44 41 82 00 24 */ beq lbl_8035CE08
/* 8035CDE8 00359D48 80 7C 00 00 */ lwz r3, 0(r28)
/* 8035CDEC 00359D4C 28 03 00 00 */ cmplwi r3, 0
/* 8035CDF0 00359D50 41 82 00 18 */ beq lbl_8035CE08
/* 8035CDF4 00359D54 81 83 00 00 */ lwz r12, 0(r3)
/* 8035CDF8 00359D58 38 80 00 01 */ li r4, 1
/* 8035CDFC 00359D5C 81 8C 00 08 */ lwz r12, 8(r12)
/* 8035CE00 00359D60 7D 89 03 A6 */ mtctr r12
/* 8035CE04 00359D64 4E 80 04 21 */ bctrl
lbl_8035CE08:
/* 8035CE08 00359D68 7F 83 E3 78 */ mr r3, r28
/* 8035CE0C 00359D6C 4B FB 8B 25 */ bl Free__7CMemoryFPCv
lbl_8035CE10:
/* 8035CE10 00359D70 38 00 00 00 */ li r0, 0
/* 8035CE14 00359D74 38 7E 00 80 */ addi r3, r30, 0x80
/* 8035CE18 00359D78 90 1E 00 AC */ stw r0, 0xac(r30)
/* 8035CE1C 00359D7C 38 80 00 03 */ li r4, 3
/* 8035CE20 00359D80 48 00 0A 15 */ bl "reserve__Q24rstl67vector<Q212CMoviePlayer14CTHPTextureSet,Q24rstl17rmemory_allocator>Fi"
/* 8035CE24 00359D84 80 7E 00 50 */ lwz r3, 0x50(r30)
/* 8035CE28 00359D88 3C 00 43 30 */ lis r0, 0x4330
/* 8035CE2C 00359D8C 90 01 00 10 */ stw r0, 0x10(r1)
/* 8035CE30 00359D90 C8 62 CD 30 */ lfd f3, lbl_805AEA50@sda21(r2)
/* 8035CE34 00359D94 90 7E 00 B4 */ stw r3, 0xb4(r30)
/* 8035CE38 00359D98 C0 02 CD 24 */ lfs f0, lbl_805AEA44@sda21(r2)
/* 8035CE3C 00359D9C 80 1E 00 40 */ lwz r0, 0x40(r30)
/* 8035CE40 00359DA0 90 1E 00 B0 */ stw r0, 0xb0(r30)
/* 8035CE44 00359DA4 80 1E 00 40 */ lwz r0, 0x40(r30)
/* 8035CE48 00359DA8 90 1E 00 B8 */ stw r0, 0xb8(r30)
/* 8035CE4C 00359DAC 80 1E 00 50 */ lwz r0, 0x50(r30)
/* 8035CE50 00359DB0 90 1E 00 BC */ stw r0, 0xbc(r30)
/* 8035CE54 00359DB4 80 1E 00 3C */ lwz r0, 0x3c(r30)
/* 8035CE58 00359DB8 C0 3E 00 38 */ lfs f1, 0x38(r30)
/* 8035CE5C 00359DBC 90 01 00 14 */ stw r0, 0x14(r1)
/* 8035CE60 00359DC0 C8 41 00 10 */ lfd f2, 0x10(r1)
/* 8035CE64 00359DC4 EC 42 18 28 */ fsubs f2, f2, f3
/* 8035CE68 00359DC8 EC 22 08 24 */ fdivs f1, f2, f1
/* 8035CE6C 00359DCC D0 3E 00 E4 */ stfs f1, 0xe4(r30)
/* 8035CE70 00359DD0 C0 3E 00 EC */ lfs f1, 0xec(r30)
/* 8035CE74 00359DD4 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8035CE78 00359DD8 40 80 00 18 */ bge lbl_8035CE90
/* 8035CE7C 00359DDC C0 1E 00 E4 */ lfs f0, 0xe4(r30)
/* 8035CE80 00359DE0 D0 1E 00 EC */ stfs f0, 0xec(r30)
/* 8035CE84 00359DE4 80 1E 00 3C */ lwz r0, 0x3c(r30)
/* 8035CE88 00359DE8 90 1E 00 F0 */ stw r0, 0xf0(r30)
/* 8035CE8C 00359DEC 48 00 00 5C */ b lbl_8035CEE8
lbl_8035CE90:
/* 8035CE90 00359DF0 40 81 00 58 */ ble lbl_8035CEE8
/* 8035CE94 00359DF4 C0 1E 00 38 */ lfs f0, 0x38(r30)
/* 8035CE98 00359DF8 EC 21 00 32 */ fmuls f1, f1, f0
/* 8035CE9C 00359DFC 48 02 CA B9 */ bl __cvt_fp2unsigned
/* 8035CEA0 00359E00 90 61 00 08 */ stw r3, 8(r1)
/* 8035CEA4 00359E04 38 81 00 0C */ addi r4, r1, 0xc
/* 8035CEA8 00359E08 80 1E 00 3C */ lwz r0, 0x3c(r30)
/* 8035CEAC 00359E0C 7C 03 00 40 */ cmplw r3, r0
/* 8035CEB0 00359E10 90 01 00 0C */ stw r0, 0xc(r1)
/* 8035CEB4 00359E14 40 80 00 08 */ bge lbl_8035CEBC
/* 8035CEB8 00359E18 38 81 00 08 */ addi r4, r1, 8
lbl_8035CEBC:
/* 8035CEBC 00359E1C 80 04 00 00 */ lwz r0, 0(r4)
/* 8035CEC0 00359E20 90 1E 00 F0 */ stw r0, 0xf0(r30)
/* 8035CEC4 00359E24 C0 3E 00 E4 */ lfs f1, 0xe4(r30)
/* 8035CEC8 00359E28 C0 1E 00 EC */ lfs f0, 0xec(r30)
/* 8035CECC 00359E2C FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8035CED0 00359E30 40 80 00 0C */ bge lbl_8035CEDC
/* 8035CED4 00359E34 38 7E 00 E4 */ addi r3, r30, 0xe4
/* 8035CED8 00359E38 48 00 00 08 */ b lbl_8035CEE0
lbl_8035CEDC:
/* 8035CEDC 00359E3C 38 7E 00 EC */ addi r3, r30, 0xec
lbl_8035CEE0:
/* 8035CEE0 00359E40 C0 03 00 00 */ lfs f0, 0(r3)
/* 8035CEE4 00359E44 D0 1E 00 EC */ stfs f0, 0xec(r30)
lbl_8035CEE8:
/* 8035CEE8 00359E48 80 9E 00 F0 */ lwz r4, 0xf0(r30)
/* 8035CEEC 00359E4C 2C 04 00 00 */ cmpwi r4, 0
/* 8035CEF0 00359E50 40 81 00 0C */ ble lbl_8035CEFC
/* 8035CEF4 00359E54 38 7E 00 9C */ addi r3, r30, 0x9c
/* 8035CEF8 00359E58 48 00 0B 11 */ bl "reserve__Q24rstl56vector<Q24rstl12auto_ptr<Uc>,Q24rstl17rmemory_allocator>Fi"
lbl_8035CEFC:
/* 8035CEFC 00359E5C 7F C3 F3 78 */ mr r3, r30
/* 8035CF00 00359E60 4B FF F4 89 */ bl PostDVDReadRequestIfNeeded__12CMoviePlayerFv
/* 8035CF04 00359E64 38 60 00 00 */ li r3, 0
lbl_8035CF08:
/* 8035CF08 00359E68 BB 21 00 24 */ lmw r25, 0x24(r1)
/* 8035CF0C 00359E6C 80 01 00 44 */ lwz r0, 0x44(r1)
/* 8035CF10 00359E70 7C 08 03 A6 */ mtlr r0
/* 8035CF14 00359E74 38 21 00 40 */ addi r1, r1, 0x40
/* 8035CF18 00359E78 4E 80 00 20 */ blr
.global __ct__12CMoviePlayerFPCcfb
__ct__12CMoviePlayerFPCcfb:
/* 8035CF1C 00359E7C 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8035CF20 00359E80 7C 08 02 A6 */ mflr r0
/* 8035CF24 00359E84 90 01 00 34 */ stw r0, 0x34(r1)
/* 8035CF28 00359E88 DB E1 00 20 */ stfd f31, 0x20(r1)
/* 8035CF2C 00359E8C F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0
/* 8035CF30 00359E90 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8035CF34 00359E94 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8035CF38 00359E98 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8035CF3C 00359E9C 93 81 00 10 */ stw r28, 0x10(r1)
/* 8035CF40 00359EA0 FF E0 08 90 */ fmr f31, f1
/* 8035CF44 00359EA4 7C 7D 1B 78 */ mr r29, r3
/* 8035CF48 00359EA8 7C BE 2B 78 */ mr r30, r5
/* 8035CF4C 00359EAC 7C DF 33 78 */ mr r31, r6
/* 8035CF50 00359EB0 4B FF 2D 81 */ bl __ct__8CDvdFileFPCc
/* 8035CF54 00359EB4 38 00 00 00 */ li r0, 0
/* 8035CF58 00359EB8 3C 60 80 3E */ lis r3, lbl_803D83D8@ha
/* 8035CF5C 00359EBC 90 1D 00 84 */ stw r0, 0x84(r29)
/* 8035CF60 00359EC0 38 83 83 D8 */ addi r4, r3, lbl_803D83D8@l
/* 8035CF64 00359EC4 38 60 00 14 */ li r3, 0x14
/* 8035CF68 00359EC8 38 A0 00 00 */ li r5, 0
/* 8035CF6C 00359ECC 90 1D 00 88 */ stw r0, 0x88(r29)
/* 8035CF70 00359ED0 90 1D 00 8C */ stw r0, 0x8c(r29)
/* 8035CF74 00359ED4 98 1D 00 90 */ stb r0, 0x90(r29)
/* 8035CF78 00359ED8 90 1D 00 94 */ stw r0, 0x94(r29)
/* 8035CF7C 00359EDC 90 1D 00 98 */ stw r0, 0x98(r29)
/* 8035CF80 00359EE0 90 1D 00 A0 */ stw r0, 0xa0(r29)
/* 8035CF84 00359EE4 90 1D 00 A4 */ stw r0, 0xa4(r29)
/* 8035CF88 00359EE8 90 1D 00 A8 */ stw r0, 0xa8(r29)
/* 8035CF8C 00359EEC 4B FB 88 E1 */ bl __nw__FUlPCcPCc
/* 8035CF90 00359EF0 7C 7C 1B 79 */ or. r28, r3, r3
/* 8035CF94 00359EF4 41 82 00 54 */ beq lbl_8035CFE8
/* 8035CF98 00359EF8 38 00 00 00 */ li r0, 0
/* 8035CF9C 00359EFC 3C 80 80 3E */ lis r4, lbl_803D83D8@ha
/* 8035CFA0 00359F00 90 1C 00 00 */ stw r0, 0(r28)
/* 8035CFA4 00359F04 3C 60 80 3D */ lis r3, lbl_803D6AA8@ha
/* 8035CFA8 00359F08 38 A4 83 D8 */ addi r5, r4, lbl_803D83D8@l
/* 8035CFAC 00359F0C 38 80 FF FF */ li r4, -1
/* 8035CFB0 00359F10 90 1C 00 04 */ stw r0, 4(r28)
/* 8035CFB4 00359F14 38 C3 6A A8 */ addi r6, r3, lbl_803D6AA8@l
/* 8035CFB8 00359F18 38 61 00 08 */ addi r3, r1, 8
/* 8035CFBC 00359F1C 90 1C 00 08 */ stw r0, 8(r28)
/* 8035CFC0 00359F20 4B F7 94 15 */ bl __ct__10CCallStackFUiPCcPCc
/* 8035CFC4 00359F24 7C 67 1B 78 */ mr r7, r3
/* 8035CFC8 00359F28 38 60 00 40 */ li r3, 0x40
/* 8035CFCC 00359F2C 38 80 00 02 */ li r4, 2
/* 8035CFD0 00359F30 38 A0 00 01 */ li r5, 1
/* 8035CFD4 00359F34 38 C0 00 00 */ li r6, 0
/* 8035CFD8 00359F38 4B FB 89 BD */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack
/* 8035CFDC 00359F3C 90 7C 00 0C */ stw r3, 0xc(r28)
/* 8035CFE0 00359F40 38 00 00 00 */ li r0, 0
/* 8035CFE4 00359F44 90 1C 00 10 */ stw r0, 0x10(r28)
lbl_8035CFE8:
/* 8035CFE8 00359F48 93 9D 00 AC */ stw r28, 0xac(r29)
/* 8035CFEC 00359F4C 38 C0 00 00 */ li r6, 0
/* 8035CFF0 00359F50 38 00 FF FF */ li r0, -1
/* 8035CFF4 00359F54 C0 02 CD 24 */ lfs f0, lbl_805AEA44@sda21(r2)
/* 8035CFF8 00359F58 90 DD 00 B0 */ stw r6, 0xb0(r29)
/* 8035CFFC 00359F5C 38 A0 00 01 */ li r5, 1
/* 8035D000 00359F60 90 DD 00 B4 */ stw r6, 0xb4(r29)
/* 8035D004 00359F64 90 DD 00 B8 */ stw r6, 0xb8(r29)
/* 8035D008 00359F68 90 DD 00 BC */ stw r6, 0xbc(r29)
/* 8035D00C 00359F6C 90 DD 00 C0 */ stw r6, 0xc0(r29)
/* 8035D010 00359F70 90 DD 00 C4 */ stw r6, 0xc4(r29)
/* 8035D014 00359F74 90 DD 00 C8 */ stw r6, 0xc8(r29)
/* 8035D018 00359F78 90 DD 00 CC */ stw r6, 0xcc(r29)
/* 8035D01C 00359F7C 90 1D 00 D0 */ stw r0, 0xd0(r29)
/* 8035D020 00359F80 90 1D 00 D4 */ stw r0, 0xd4(r29)
/* 8035D024 00359F84 90 DD 00 D8 */ stw r6, 0xd8(r29)
/* 8035D028 00359F88 D0 1D 00 DC */ stfs f0, 0xdc(r29)
/* 8035D02C 00359F8C 90 BD 00 E0 */ stw r5, 0xe0(r29)
/* 8035D030 00359F90 D0 1D 00 E4 */ stfs f0, 0xe4(r29)
/* 8035D034 00359F94 D0 1D 00 E8 */ stfs f0, 0xe8(r29)
/* 8035D038 00359F98 D3 FD 00 EC */ stfs f31, 0xec(r29)
/* 8035D03C 00359F9C 90 DD 00 F0 */ stw r6, 0xf0(r29)
/* 8035D040 00359FA0 88 1D 00 F4 */ lbz r0, 0xf4(r29)
/* 8035D044 00359FA4 53 C0 3E 30 */ rlwimi r0, r30, 7, 0x18, 0x18
/* 8035D048 00359FA8 98 1D 00 F4 */ stb r0, 0xf4(r29)
/* 8035D04C 00359FAC 88 1D 00 F4 */ lbz r0, 0xf4(r29)
/* 8035D050 00359FB0 53 E0 36 72 */ rlwimi r0, r31, 6, 0x19, 0x19
/* 8035D054 00359FB4 98 1D 00 F4 */ stb r0, 0xf4(r29)
/* 8035D058 00359FB8 88 1D 00 F4 */ lbz r0, 0xf4(r29)
/* 8035D05C 00359FBC 50 C0 2E B4 */ rlwimi r0, r6, 5, 0x1a, 0x1a
/* 8035D060 00359FC0 98 1D 00 F4 */ stb r0, 0xf4(r29)
/* 8035D064 00359FC4 88 1D 00 F4 */ lbz r0, 0xf4(r29)
/* 8035D068 00359FC8 50 C0 26 F6 */ rlwimi r0, r6, 4, 0x1b, 0x1b
/* 8035D06C 00359FCC 98 1D 00 F4 */ stb r0, 0xf4(r29)
/* 8035D070 00359FD0 90 DD 00 F8 */ stw r6, 0xf8(r29)
/* 8035D074 00359FD4 90 DD 00 FC */ stw r6, 0xfc(r29)
/* 8035D078 00359FD8 88 0D AA B1 */ lbz r0, lbl_805A9671@sda21(r13)
/* 8035D07C 00359FDC 7C 00 07 75 */ extsb. r0, r0
/* 8035D080 00359FE0 40 82 00 0C */ bne lbl_8035D08C
/* 8035D084 00359FE4 98 CD AA B0 */ stb r6, lbl_805A9670@sda21(r13)
/* 8035D088 00359FE8 98 AD AA B1 */ stb r5, lbl_805A9671@sda21(r13)
lbl_8035D08C:
/* 8035D08C 00359FEC 88 0D AA B0 */ lbz r0, lbl_805A9670@sda21(r13)
/* 8035D090 00359FF0 28 00 00 00 */ cmplwi r0, 0
/* 8035D094 00359FF4 40 82 00 10 */ bne lbl_8035D0A4
/* 8035D098 00359FF8 38 00 00 01 */ li r0, 1
/* 8035D09C 00359FFC 98 0D AA B0 */ stb r0, lbl_805A9670@sda21(r13)
/* 8035D0A0 0035A000 48 06 BF 89 */ bl THPInit
lbl_8035D0A4:
/* 8035D0A4 0035A004 80 6D AA A0 */ lwz r3, lbl_805A9660@sda21(r13)
/* 8035D0A8 0035A008 38 03 00 01 */ addi r0, r3, 1
/* 8035D0AC 0035A00C 90 0D AA A0 */ stw r0, lbl_805A9660@sda21(r13)
/* 8035D0B0 0035A010 4B FF E5 7D */ bl VerifyCallbackStatus__12CMoviePlayerFv
/* 8035D0B4 0035A014 80 9D 00 AC */ lwz r4, 0xac(r29)
/* 8035D0B8 0035A018 7F A3 EB 78 */ mr r3, r29
/* 8035D0BC 0035A01C 38 A0 00 40 */ li r5, 0x40
/* 8035D0C0 0035A020 80 84 00 0C */ lwz r4, 0xc(r4)
/* 8035D0C4 0035A024 4B FF 2B 25 */ bl SyncRead__8CDvdFileFPvUi
/* 8035D0C8 0035A028 83 9D 00 AC */ lwz r28, 0xac(r29)
/* 8035D0CC 0035A02C 7C 7E 1B 78 */ mr r30, r3
/* 8035D0D0 0035A030 80 7C 00 00 */ lwz r3, 0(r28)
/* 8035D0D4 0035A034 28 03 00 00 */ cmplwi r3, 0
/* 8035D0D8 0035A038 41 82 00 18 */ beq lbl_8035D0F0
/* 8035D0DC 0035A03C 81 83 00 00 */ lwz r12, 0(r3)
/* 8035D0E0 0035A040 38 80 00 01 */ li r4, 1
/* 8035D0E4 0035A044 81 8C 00 08 */ lwz r12, 8(r12)
/* 8035D0E8 0035A048 7D 89 03 A6 */ mtctr r12
/* 8035D0EC 0035A04C 4E 80 04 21 */ bctrl
lbl_8035D0F0:
/* 8035D0F0 0035A050 93 DC 00 00 */ stw r30, 0(r28)
/* 8035D0F4 0035A054 7F A3 EB 78 */ mr r3, r29
/* 8035D0F8 0035A058 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0
/* 8035D0FC 0035A05C 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8035D100 0035A060 CB E1 00 20 */ lfd f31, 0x20(r1)
/* 8035D104 0035A064 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8035D108 0035A068 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8035D10C 0035A06C 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 8035D110 0035A070 83 81 00 10 */ lwz r28, 0x10(r1)
/* 8035D114 0035A074 7C 08 03 A6 */ mtlr r0
/* 8035D118 0035A078 38 21 00 30 */ addi r1, r1, 0x30
/* 8035D11C 0035A07C 4E 80 00 20 */ blr
.global MyTHPYuv2RgbTextureSetup__FPvPvPvUsUs
MyTHPYuv2RgbTextureSetup__FPvPvPvUsUs:
/* 8035D120 0035A080 94 21 FF 80 */ stwu r1, -0x80(r1)
/* 8035D124 0035A084 7C 08 02 A6 */ mflr r0
/* 8035D128 0035A088 39 00 00 00 */ li r8, 0
/* 8035D12C 0035A08C 39 20 00 00 */ li r9, 0
/* 8035D130 0035A090 90 01 00 84 */ stw r0, 0x84(r1)
/* 8035D134 0035A094 39 40 00 00 */ li r10, 0
/* 8035D138 0035A098 93 E1 00 7C */ stw r31, 0x7c(r1)
/* 8035D13C 0035A09C 7C FF 3B 78 */ mr r31, r7
/* 8035D140 0035A0A0 38 E0 00 01 */ li r7, 1
/* 8035D144 0035A0A4 93 C1 00 78 */ stw r30, 0x78(r1)
/* 8035D148 0035A0A8 7C DE 33 78 */ mr r30, r6
/* 8035D14C 0035A0AC 7F E6 FB 78 */ mr r6, r31
/* 8035D150 0035A0B0 93 A1 00 74 */ stw r29, 0x74(r1)
/* 8035D154 0035A0B4 7C BD 2B 78 */ mr r29, r5
/* 8035D158 0035A0B8 7F C5 F3 78 */ mr r5, r30
/* 8035D15C 0035A0BC 93 81 00 70 */ stw r28, 0x70(r1)
/* 8035D160 0035A0C0 7C 9C 23 78 */ mr r28, r4
/* 8035D164 0035A0C4 7C 64 1B 78 */ mr r4, r3
/* 8035D168 0035A0C8 38 61 00 48 */ addi r3, r1, 0x48
/* 8035D16C 0035A0CC 48 01 CC F9 */ bl GXInitTexObj
/* 8035D170 0035A0D0 C0 22 CD 24 */ lfs f1, lbl_805AEA44@sda21(r2)
/* 8035D174 0035A0D4 38 61 00 48 */ addi r3, r1, 0x48
/* 8035D178 0035A0D8 38 80 00 00 */ li r4, 0
/* 8035D17C 0035A0DC 38 A0 00 00 */ li r5, 0
/* 8035D180 0035A0E0 FC 40 08 90 */ fmr f2, f1
/* 8035D184 0035A0E4 38 C0 00 00 */ li r6, 0
/* 8035D188 0035A0E8 FC 60 08 90 */ fmr f3, f1
/* 8035D18C 0035A0EC 38 E0 00 00 */ li r7, 0
/* 8035D190 0035A0F0 39 00 00 00 */ li r8, 0
/* 8035D194 0035A0F4 48 01 CF 8D */ bl GXInitTexObjLOD
/* 8035D198 0035A0F8 38 61 00 48 */ addi r3, r1, 0x48
/* 8035D19C 0035A0FC 38 80 00 00 */ li r4, 0
/* 8035D1A0 0035A100 48 01 D2 F5 */ bl GXLoadTexObj
/* 8035D1A4 0035A104 57 DE FC 7E */ rlwinm r30, r30, 0x1f, 0x11, 0x1f
/* 8035D1A8 0035A108 57 FF FC 7E */ rlwinm r31, r31, 0x1f, 0x11, 0x1f
/* 8035D1AC 0035A10C 7F 84 E3 78 */ mr r4, r28
/* 8035D1B0 0035A110 38 61 00 28 */ addi r3, r1, 0x28
/* 8035D1B4 0035A114 7F C5 F3 78 */ mr r5, r30
/* 8035D1B8 0035A118 7F E6 FB 78 */ mr r6, r31
/* 8035D1BC 0035A11C 38 E0 00 01 */ li r7, 1
/* 8035D1C0 0035A120 39 00 00 00 */ li r8, 0
/* 8035D1C4 0035A124 39 20 00 00 */ li r9, 0
/* 8035D1C8 0035A128 39 40 00 00 */ li r10, 0
/* 8035D1CC 0035A12C 48 01 CC 99 */ bl GXInitTexObj
/* 8035D1D0 0035A130 C0 22 CD 24 */ lfs f1, lbl_805AEA44@sda21(r2)
/* 8035D1D4 0035A134 38 61 00 28 */ addi r3, r1, 0x28
/* 8035D1D8 0035A138 38 80 00 00 */ li r4, 0
/* 8035D1DC 0035A13C 38 A0 00 00 */ li r5, 0
/* 8035D1E0 0035A140 FC 40 08 90 */ fmr f2, f1
/* 8035D1E4 0035A144 38 C0 00 00 */ li r6, 0
/* 8035D1E8 0035A148 FC 60 08 90 */ fmr f3, f1
/* 8035D1EC 0035A14C 38 E0 00 00 */ li r7, 0
/* 8035D1F0 0035A150 39 00 00 00 */ li r8, 0
/* 8035D1F4 0035A154 48 01 CF 2D */ bl GXInitTexObjLOD
/* 8035D1F8 0035A158 38 61 00 28 */ addi r3, r1, 0x28
/* 8035D1FC 0035A15C 38 80 00 01 */ li r4, 1
/* 8035D200 0035A160 48 01 D2 95 */ bl GXLoadTexObj
/* 8035D204 0035A164 7F A4 EB 78 */ mr r4, r29
/* 8035D208 0035A168 7F E6 FB 78 */ mr r6, r31
/* 8035D20C 0035A16C 38 61 00 08 */ addi r3, r1, 8
/* 8035D210 0035A170 57 C5 04 3E */ clrlwi r5, r30, 0x10
/* 8035D214 0035A174 38 E0 00 01 */ li r7, 1
/* 8035D218 0035A178 39 00 00 00 */ li r8, 0
/* 8035D21C 0035A17C 39 20 00 00 */ li r9, 0
/* 8035D220 0035A180 39 40 00 00 */ li r10, 0
/* 8035D224 0035A184 48 01 CC 41 */ bl GXInitTexObj
/* 8035D228 0035A188 C0 22 CD 24 */ lfs f1, lbl_805AEA44@sda21(r2)
/* 8035D22C 0035A18C 38 61 00 08 */ addi r3, r1, 8
/* 8035D230 0035A190 38 80 00 00 */ li r4, 0
/* 8035D234 0035A194 38 A0 00 00 */ li r5, 0
/* 8035D238 0035A198 FC 40 08 90 */ fmr f2, f1
/* 8035D23C 0035A19C 38 C0 00 00 */ li r6, 0
/* 8035D240 0035A1A0 FC 60 08 90 */ fmr f3, f1
/* 8035D244 0035A1A4 38 E0 00 00 */ li r7, 0
/* 8035D248 0035A1A8 39 00 00 00 */ li r8, 0
/* 8035D24C 0035A1AC 48 01 CE D5 */ bl GXInitTexObjLOD
/* 8035D250 0035A1B0 38 61 00 08 */ addi r3, r1, 8
/* 8035D254 0035A1B4 38 80 00 02 */ li r4, 2
/* 8035D258 0035A1B8 48 01 D2 3D */ bl GXLoadTexObj
/* 8035D25C 0035A1BC 38 60 00 00 */ li r3, 0
/* 8035D260 0035A1C0 4B FB 0E E9 */ bl InvalidateTexmap__8CTextureF11_GXTexMapID
/* 8035D264 0035A1C4 38 60 00 01 */ li r3, 1
/* 8035D268 0035A1C8 4B FB 0E E1 */ bl InvalidateTexmap__8CTextureF11_GXTexMapID
/* 8035D26C 0035A1CC 38 60 00 02 */ li r3, 2
/* 8035D270 0035A1D0 4B FB 0E D9 */ bl InvalidateTexmap__8CTextureF11_GXTexMapID
/* 8035D274 0035A1D4 80 01 00 84 */ lwz r0, 0x84(r1)
/* 8035D278 0035A1D8 83 E1 00 7C */ lwz r31, 0x7c(r1)
/* 8035D27C 0035A1DC 83 C1 00 78 */ lwz r30, 0x78(r1)
/* 8035D280 0035A1E0 83 A1 00 74 */ lwz r29, 0x74(r1)
/* 8035D284 0035A1E4 83 81 00 70 */ lwz r28, 0x70(r1)
/* 8035D288 0035A1E8 7C 08 03 A6 */ mtlr r0
/* 8035D28C 0035A1EC 38 21 00 80 */ addi r1, r1, 0x80
/* 8035D290 0035A1F0 4E 80 00 20 */ blr
.global MyTHPGXYuv2RgbSetup__Fb
MyTHPGXYuv2RgbSetup__Fb:
/* 8035D294 0035A1F4 94 21 FF 70 */ stwu r1, -0x90(r1)
/* 8035D298 0035A1F8 7C 08 02 A6 */ mflr r0
/* 8035D29C 0035A1FC 3C A0 80 3E */ lis r5, lbl_803D8380@ha
/* 8035D2A0 0035A200 90 01 00 94 */ stw r0, 0x94(r1)
/* 8035D2A4 0035A204 93 E1 00 8C */ stw r31, 0x8c(r1)
/* 8035D2A8 0035A208 3B E5 83 80 */ addi r31, r5, lbl_803D8380@l
/* 8035D2AC 0035A20C 38 A0 00 00 */ li r5, 0
/* 8035D2B0 0035A210 93 C1 00 88 */ stw r30, 0x88(r1)
/* 8035D2B4 0035A214 7C 9E 23 78 */ mr r30, r4
/* 8035D2B8 0035A218 38 80 00 07 */ li r4, 7
/* 8035D2BC 0035A21C 93 A1 00 84 */ stw r29, 0x84(r1)
/* 8035D2C0 0035A220 7C 7D 1B 78 */ mr r29, r3
/* 8035D2C4 0035A224 38 60 00 01 */ li r3, 1
/* 8035D2C8 0035A228 81 5F 00 20 */ lwz r10, 0x20(r31)
/* 8035D2CC 0035A22C 81 3F 00 24 */ lwz r9, 0x24(r31)
/* 8035D2D0 0035A230 81 1F 00 28 */ lwz r8, 0x28(r31)
/* 8035D2D4 0035A234 80 FF 00 2C */ lwz r7, 0x2c(r31)
/* 8035D2D8 0035A238 80 DF 00 30 */ lwz r6, 0x30(r31)
/* 8035D2DC 0035A23C 80 1F 00 34 */ lwz r0, 0x34(r31)
/* 8035D2E0 0035A240 91 41 00 5C */ stw r10, 0x5c(r1)
/* 8035D2E4 0035A244 91 21 00 60 */ stw r9, 0x60(r1)
/* 8035D2E8 0035A248 91 01 00 64 */ stw r8, 0x64(r1)
/* 8035D2EC 0035A24C 90 E1 00 68 */ stw r7, 0x68(r1)
/* 8035D2F0 0035A250 90 C1 00 6C */ stw r6, 0x6c(r1)
/* 8035D2F4 0035A254 90 01 00 70 */ stw r0, 0x70(r1)
/* 8035D2F8 0035A258 4B FA B5 85 */ bl SetZMode__3CGXFb10_GXCompareb
/* 8035D2FC 0035A25C 38 60 00 00 */ li r3, 0
/* 8035D300 0035A260 38 80 00 01 */ li r4, 1
/* 8035D304 0035A264 38 A0 00 00 */ li r5, 0
/* 8035D308 0035A268 38 C0 00 00 */ li r6, 0
/* 8035D30C 0035A26C 4B FA B5 C5 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp
/* 8035D310 0035A270 38 60 00 00 */ li r3, 0
/* 8035D314 0035A274 4B FA BB 3D */ bl SetNumChans__3CGXFUc
/* 8035D318 0035A278 38 60 00 00 */ li r3, 0
/* 8035D31C 0035A27C 38 80 00 01 */ li r4, 1
/* 8035D320 0035A280 38 A0 00 04 */ li r5, 4
/* 8035D324 0035A284 38 C0 00 3C */ li r6, 0x3c
/* 8035D328 0035A288 38 E0 00 00 */ li r7, 0
/* 8035D32C 0035A28C 39 00 00 7D */ li r8, 0x7d
/* 8035D330 0035A290 4B FA B3 9D */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx
/* 8035D334 0035A294 38 60 00 01 */ li r3, 1
/* 8035D338 0035A298 38 80 00 01 */ li r4, 1
/* 8035D33C 0035A29C 38 A0 00 04 */ li r5, 4
/* 8035D340 0035A2A0 38 C0 00 3C */ li r6, 0x3c
/* 8035D344 0035A2A4 38 E0 00 00 */ li r7, 0
/* 8035D348 0035A2A8 39 00 00 7D */ li r8, 0x7d
/* 8035D34C 0035A2AC 4B FA B3 81 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx
/* 8035D350 0035A2B0 57 C0 06 3F */ clrlwi. r0, r30, 0x18
/* 8035D354 0035A2B4 41 82 00 18 */ beq lbl_8035D36C
/* 8035D358 0035A2B8 38 60 00 02 */ li r3, 2
/* 8035D35C 0035A2BC 4B FA BA B9 */ bl SetNumTexGens__3CGXFUc
/* 8035D360 0035A2C0 38 60 00 04 */ li r3, 4
/* 8035D364 0035A2C4 4B FA B9 2D */ bl SetNumTevStages__3CGXFUc
/* 8035D368 0035A2C8 48 00 01 5C */ b lbl_8035D4C4
lbl_8035D36C:
/* 8035D36C 0035A2CC 38 60 00 03 */ li r3, 3
/* 8035D370 0035A2D0 4B FA BA A5 */ bl SetNumTexGens__3CGXFUc
/* 8035D374 0035A2D4 38 60 00 02 */ li r3, 2
/* 8035D378 0035A2D8 38 80 00 01 */ li r4, 1
/* 8035D37C 0035A2DC 38 A0 00 00 */ li r5, 0
/* 8035D380 0035A2E0 38 C0 00 1E */ li r6, 0x1e
/* 8035D384 0035A2E4 38 E0 00 00 */ li r7, 0
/* 8035D388 0035A2E8 39 00 00 7D */ li r8, 0x7d
/* 8035D38C 0035A2EC 4B FA B3 41 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx
/* 8035D390 0035A2F0 57 A0 06 3F */ clrlwi. r0, r29, 0x18
/* 8035D394 0035A2F4 41 82 00 0C */ beq lbl_8035D3A0
/* 8035D398 0035A2F8 C0 02 CD 38 */ lfs f0, lbl_805AEA58@sda21(r2)
/* 8035D39C 0035A2FC 48 00 00 08 */ b lbl_8035D3A4
lbl_8035D3A0:
/* 8035D3A0 0035A300 C0 02 CD 24 */ lfs f0, lbl_805AEA44@sda21(r2)
lbl_8035D3A4:
/* 8035D3A4 0035A304 80 1F 00 54 */ lwz r0, 0x54(r31)
/* 8035D3A8 0035A308 38 61 00 3C */ addi r3, r1, 0x3c
/* 8035D3AC 0035A30C 81 7F 00 38 */ lwz r11, 0x38(r31)
/* 8035D3B0 0035A310 38 80 00 1E */ li r4, 0x1e
/* 8035D3B4 0035A314 90 01 00 58 */ stw r0, 0x58(r1)
/* 8035D3B8 0035A318 38 A0 00 01 */ li r5, 1
/* 8035D3BC 0035A31C 81 5F 00 3C */ lwz r10, 0x3c(r31)
/* 8035D3C0 0035A320 81 3F 00 40 */ lwz r9, 0x40(r31)
/* 8035D3C4 0035A324 81 1F 00 44 */ lwz r8, 0x44(r31)
/* 8035D3C8 0035A328 80 FF 00 48 */ lwz r7, 0x48(r31)
/* 8035D3CC 0035A32C 80 DF 00 4C */ lwz r6, 0x4c(r31)
/* 8035D3D0 0035A330 80 1F 00 50 */ lwz r0, 0x50(r31)
/* 8035D3D4 0035A334 91 61 00 3C */ stw r11, 0x3c(r1)
/* 8035D3D8 0035A338 91 41 00 40 */ stw r10, 0x40(r1)
/* 8035D3DC 0035A33C 91 21 00 44 */ stw r9, 0x44(r1)
/* 8035D3E0 0035A340 91 01 00 48 */ stw r8, 0x48(r1)
/* 8035D3E4 0035A344 90 E1 00 4C */ stw r7, 0x4c(r1)
/* 8035D3E8 0035A348 90 C1 00 50 */ stw r6, 0x50(r1)
/* 8035D3EC 0035A34C 90 01 00 54 */ stw r0, 0x54(r1)
/* 8035D3F0 0035A350 D0 01 00 58 */ stfs f0, 0x58(r1)
/* 8035D3F4 0035A354 48 01 F0 9D */ bl GXLoadTexMtxImm
/* 8035D3F8 0035A358 38 61 00 1C */ addi r3, r1, 0x1c
/* 8035D3FC 0035A35C 38 9F 00 00 */ addi r4, r31, 0
/* 8035D400 0035A360 38 A0 00 08 */ li r5, 8
/* 8035D404 0035A364 38 C0 00 04 */ li r6, 4
/* 8035D408 0035A368 38 E0 00 01 */ li r7, 1
/* 8035D40C 0035A36C 39 00 00 01 */ li r8, 1
/* 8035D410 0035A370 39 20 00 01 */ li r9, 1
/* 8035D414 0035A374 39 40 00 00 */ li r10, 0
/* 8035D418 0035A378 48 01 CA 4D */ bl GXInitTexObj
/* 8035D41C 0035A37C C0 22 CD 24 */ lfs f1, lbl_805AEA44@sda21(r2)
/* 8035D420 0035A380 38 61 00 1C */ addi r3, r1, 0x1c
/* 8035D424 0035A384 38 80 00 00 */ li r4, 0
/* 8035D428 0035A388 38 A0 00 00 */ li r5, 0
/* 8035D42C 0035A38C FC 40 08 90 */ fmr f2, f1
/* 8035D430 0035A390 38 C0 00 00 */ li r6, 0
/* 8035D434 0035A394 FC 60 08 90 */ fmr f3, f1
/* 8035D438 0035A398 38 E0 00 00 */ li r7, 0
/* 8035D43C 0035A39C 39 00 00 00 */ li r8, 0
/* 8035D440 0035A3A0 48 01 CC E1 */ bl GXInitTexObjLOD
/* 8035D444 0035A3A4 38 61 00 1C */ addi r3, r1, 0x1c
/* 8035D448 0035A3A8 38 80 00 03 */ li r4, 3
/* 8035D44C 0035A3AC 48 01 D0 49 */ bl GXLoadTexObj
/* 8035D450 0035A3B0 38 60 00 03 */ li r3, 3
/* 8035D454 0035A3B4 4B FB 0C F5 */ bl InvalidateTexmap__8CTextureF11_GXTexMapID
/* 8035D458 0035A3B8 38 60 00 04 */ li r3, 4
/* 8035D45C 0035A3BC 38 80 00 02 */ li r4, 2
/* 8035D460 0035A3C0 38 A0 00 03 */ li r5, 3
/* 8035D464 0035A3C4 38 C0 00 FF */ li r6, 0xff
/* 8035D468 0035A3C8 4B FA B4 E5 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID
/* 8035D46C 0035A3CC 38 60 00 04 */ li r3, 4
/* 8035D470 0035A3D0 4B FA A7 E1 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID
/* 8035D474 0035A3D4 38 60 00 04 */ li r3, 4
/* 8035D478 0035A3D8 38 80 00 0F */ li r4, 0xf
/* 8035D47C 0035A3DC 38 A0 00 0F */ li r5, 0xf
/* 8035D480 0035A3E0 38 C0 00 0F */ li r6, 0xf
/* 8035D484 0035A3E4 38 E0 00 00 */ li r7, 0
/* 8035D488 0035A3E8 4B FA B7 65 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg
/* 8035D48C 0035A3EC 38 60 00 04 */ li r3, 4
/* 8035D490 0035A3F0 38 80 00 07 */ li r4, 7
/* 8035D494 0035A3F4 38 A0 00 07 */ li r5, 7
/* 8035D498 0035A3F8 38 C0 00 07 */ li r6, 7
/* 8035D49C 0035A3FC 38 E0 00 04 */ li r7, 4
/* 8035D4A0 0035A400 4B FA B6 F5 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg
/* 8035D4A4 0035A404 38 60 00 01 */ li r3, 1
/* 8035D4A8 0035A408 38 80 00 80 */ li r4, 0x80
/* 8035D4AC 0035A40C 38 A0 00 00 */ li r5, 0
/* 8035D4B0 0035A410 38 C0 00 07 */ li r6, 7
/* 8035D4B4 0035A414 38 E0 00 00 */ li r7, 0
/* 8035D4B8 0035A418 4B FA B3 5D */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc
/* 8035D4BC 0035A41C 38 60 00 05 */ li r3, 5
/* 8035D4C0 0035A420 4B FA B7 D1 */ bl SetNumTevStages__3CGXFUc
lbl_8035D4C4:
/* 8035D4C4 0035A424 38 61 00 5C */ addi r3, r1, 0x5c
/* 8035D4C8 0035A428 4B FA A9 61 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList
/* 8035D4CC 0035A42C 38 60 00 01 */ li r3, 1
/* 8035D4D0 0035A430 48 01 EA 31 */ bl GXSetColorUpdate
/* 8035D4D4 0035A434 38 60 00 00 */ li r3, 0
/* 8035D4D8 0035A438 48 01 EA 55 */ bl GXSetAlphaUpdate
/* 8035D4DC 0035A43C 48 01 D3 65 */ bl GXInvalidateTexAll
/* 8035D4E0 0035A440 38 60 00 07 */ li r3, 7
/* 8035D4E4 0035A444 38 80 00 09 */ li r4, 9
/* 8035D4E8 0035A448 38 A0 00 01 */ li r5, 1
/* 8035D4EC 0035A44C 38 C0 00 04 */ li r6, 4
/* 8035D4F0 0035A450 38 E0 00 00 */ li r7, 0
/* 8035D4F4 0035A454 48 01 A2 99 */ bl GXSetVtxAttrFmt
/* 8035D4F8 0035A458 38 60 00 07 */ li r3, 7
/* 8035D4FC 0035A45C 38 80 00 0D */ li r4, 0xd
/* 8035D500 0035A460 38 A0 00 01 */ li r5, 1
/* 8035D504 0035A464 38 C0 00 02 */ li r6, 2
/* 8035D508 0035A468 38 E0 00 00 */ li r7, 0
/* 8035D50C 0035A46C 48 01 A2 81 */ bl GXSetVtxAttrFmt
/* 8035D510 0035A470 38 60 00 00 */ li r3, 0
/* 8035D514 0035A474 38 80 00 01 */ li r4, 1
/* 8035D518 0035A478 38 A0 00 01 */ li r5, 1
/* 8035D51C 0035A47C 38 C0 00 FF */ li r6, 0xff
/* 8035D520 0035A480 4B FA B4 2D */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID
/* 8035D524 0035A484 38 60 00 00 */ li r3, 0
/* 8035D528 0035A488 38 80 00 0F */ li r4, 0xf
/* 8035D52C 0035A48C 38 A0 00 08 */ li r5, 8
/* 8035D530 0035A490 38 C0 00 0E */ li r6, 0xe
/* 8035D534 0035A494 38 E0 00 02 */ li r7, 2
/* 8035D538 0035A498 4B FA B6 B5 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg
/* 8035D53C 0035A49C 38 60 00 00 */ li r3, 0
/* 8035D540 0035A4A0 38 80 00 00 */ li r4, 0
/* 8035D544 0035A4A4 38 A0 00 00 */ li r5, 0
/* 8035D548 0035A4A8 38 C0 00 00 */ li r6, 0
/* 8035D54C 0035A4AC 38 E0 00 00 */ li r7, 0
/* 8035D550 0035A4B0 39 00 00 00 */ li r8, 0
/* 8035D554 0035A4B4 4B FA B5 E5 */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID
/* 8035D558 0035A4B8 38 60 00 00 */ li r3, 0
/* 8035D55C 0035A4BC 38 80 00 07 */ li r4, 7
/* 8035D560 0035A4C0 38 A0 00 04 */ li r5, 4
/* 8035D564 0035A4C4 38 C0 00 06 */ li r6, 6
/* 8035D568 0035A4C8 38 E0 00 01 */ li r7, 1
/* 8035D56C 0035A4CC 4B FA B6 29 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg
/* 8035D570 0035A4D0 38 60 00 00 */ li r3, 0
/* 8035D574 0035A4D4 38 80 00 01 */ li r4, 1
/* 8035D578 0035A4D8 38 A0 00 00 */ li r5, 0
/* 8035D57C 0035A4DC 38 C0 00 00 */ li r6, 0
/* 8035D580 0035A4E0 38 E0 00 00 */ li r7, 0
/* 8035D584 0035A4E4 39 00 00 00 */ li r8, 0
/* 8035D588 0035A4E8 4B FA B4 F9 */ bl SetTevAlphaOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID
/* 8035D58C 0035A4EC 38 60 00 00 */ li r3, 0
/* 8035D590 0035A4F0 38 80 00 0C */ li r4, 0xc
/* 8035D594 0035A4F4 4B FA B4 4D */ bl SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel
/* 8035D598 0035A4F8 38 60 00 00 */ li r3, 0
/* 8035D59C 0035A4FC 38 80 00 1C */ li r4, 0x1c
/* 8035D5A0 0035A500 4B FA B3 FD */ bl SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel
/* 8035D5A4 0035A504 38 60 00 01 */ li r3, 1
/* 8035D5A8 0035A508 38 80 00 01 */ li r4, 1
/* 8035D5AC 0035A50C 38 A0 00 02 */ li r5, 2
/* 8035D5B0 0035A510 38 C0 00 FF */ li r6, 0xff
/* 8035D5B4 0035A514 4B FA B3 99 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID
/* 8035D5B8 0035A518 38 60 00 01 */ li r3, 1
/* 8035D5BC 0035A51C 38 80 00 0F */ li r4, 0xf
/* 8035D5C0 0035A520 38 A0 00 08 */ li r5, 8
/* 8035D5C4 0035A524 38 C0 00 0E */ li r6, 0xe
/* 8035D5C8 0035A528 38 E0 00 00 */ li r7, 0
/* 8035D5CC 0035A52C 4B FA B6 21 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg
/* 8035D5D0 0035A530 38 60 00 01 */ li r3, 1
/* 8035D5D4 0035A534 38 80 00 00 */ li r4, 0
/* 8035D5D8 0035A538 38 A0 00 00 */ li r5, 0
/* 8035D5DC 0035A53C 38 C0 00 01 */ li r6, 1
/* 8035D5E0 0035A540 38 E0 00 00 */ li r7, 0
/* 8035D5E4 0035A544 39 00 00 00 */ li r8, 0
/* 8035D5E8 0035A548 4B FA B5 51 */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID
/* 8035D5EC 0035A54C 38 60 00 01 */ li r3, 1
/* 8035D5F0 0035A550 38 80 00 07 */ li r4, 7
/* 8035D5F4 0035A554 38 A0 00 04 */ li r5, 4
/* 8035D5F8 0035A558 38 C0 00 06 */ li r6, 6
/* 8035D5FC 0035A55C 38 E0 00 00 */ li r7, 0
/* 8035D600 0035A560 4B FA B5 95 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg
/* 8035D604 0035A564 38 60 00 01 */ li r3, 1
/* 8035D608 0035A568 38 80 00 01 */ li r4, 1
/* 8035D60C 0035A56C 38 A0 00 00 */ li r5, 0
/* 8035D610 0035A570 38 C0 00 00 */ li r6, 0
/* 8035D614 0035A574 38 E0 00 00 */ li r7, 0
/* 8035D618 0035A578 39 00 00 00 */ li r8, 0
/* 8035D61C 0035A57C 4B FA B4 65 */ bl SetTevAlphaOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID
/* 8035D620 0035A580 38 60 00 01 */ li r3, 1
/* 8035D624 0035A584 38 80 00 0D */ li r4, 0xd
/* 8035D628 0035A588 4B FA B3 B9 */ bl SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel
/* 8035D62C 0035A58C 38 60 00 01 */ li r3, 1
/* 8035D630 0035A590 38 80 00 1D */ li r4, 0x1d
/* 8035D634 0035A594 4B FA B3 69 */ bl SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel
/* 8035D638 0035A598 38 60 00 02 */ li r3, 2
/* 8035D63C 0035A59C 38 80 00 00 */ li r4, 0
/* 8035D640 0035A5A0 38 A0 00 00 */ li r5, 0
/* 8035D644 0035A5A4 38 C0 00 FF */ li r6, 0xff
/* 8035D648 0035A5A8 4B FA B3 05 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID
/* 8035D64C 0035A5AC 38 60 00 02 */ li r3, 2
/* 8035D650 0035A5B0 38 80 00 0F */ li r4, 0xf
/* 8035D654 0035A5B4 38 A0 00 08 */ li r5, 8
/* 8035D658 0035A5B8 38 C0 00 0C */ li r6, 0xc
/* 8035D65C 0035A5BC 38 E0 00 00 */ li r7, 0
/* 8035D660 0035A5C0 4B FA B5 8D */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg
/* 8035D664 0035A5C4 38 60 00 02 */ li r3, 2
/* 8035D668 0035A5C8 38 80 00 00 */ li r4, 0
/* 8035D66C 0035A5CC 38 A0 00 00 */ li r5, 0
/* 8035D670 0035A5D0 38 C0 00 00 */ li r6, 0
/* 8035D674 0035A5D4 38 E0 00 01 */ li r7, 1
/* 8035D678 0035A5D8 39 00 00 00 */ li r8, 0
/* 8035D67C 0035A5DC 4B FA B4 BD */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID
/* 8035D680 0035A5E0 38 60 00 02 */ li r3, 2
/* 8035D684 0035A5E4 38 80 00 04 */ li r4, 4
/* 8035D688 0035A5E8 38 A0 00 07 */ li r5, 7
/* 8035D68C 0035A5EC 38 C0 00 07 */ li r6, 7
/* 8035D690 0035A5F0 38 E0 00 00 */ li r7, 0
/* 8035D694 0035A5F4 4B FA B5 01 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg
/* 8035D698 0035A5F8 38 60 00 02 */ li r3, 2
/* 8035D69C 0035A5FC 38 80 00 00 */ li r4, 0
/* 8035D6A0 0035A600 38 A0 00 00 */ li r5, 0
/* 8035D6A4 0035A604 38 C0 00 00 */ li r6, 0
/* 8035D6A8 0035A608 38 E0 00 01 */ li r7, 1
/* 8035D6AC 0035A60C 39 00 00 00 */ li r8, 0
/* 8035D6B0 0035A610 4B FA B3 D1 */ bl SetTevAlphaOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID
/* 8035D6B4 0035A614 38 60 00 03 */ li r3, 3
/* 8035D6B8 0035A618 38 80 00 FF */ li r4, 0xff
/* 8035D6BC 0035A61C 38 A0 00 FF */ li r5, 0xff
/* 8035D6C0 0035A620 38 C0 00 FF */ li r6, 0xff
/* 8035D6C4 0035A624 4B FA B2 89 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID
/* 8035D6C8 0035A628 38 60 00 03 */ li r3, 3
/* 8035D6CC 0035A62C 38 80 00 01 */ li r4, 1
/* 8035D6D0 0035A630 38 A0 00 00 */ li r5, 0
/* 8035D6D4 0035A634 38 C0 00 0E */ li r6, 0xe
/* 8035D6D8 0035A638 38 E0 00 0F */ li r7, 0xf
/* 8035D6DC 0035A63C 4B FA B5 11 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg
/* 8035D6E0 0035A640 38 60 00 03 */ li r3, 3
/* 8035D6E4 0035A644 38 80 00 00 */ li r4, 0
/* 8035D6E8 0035A648 38 A0 00 00 */ li r5, 0
/* 8035D6EC 0035A64C 38 C0 00 00 */ li r6, 0
/* 8035D6F0 0035A650 38 E0 00 01 */ li r7, 1
/* 8035D6F4 0035A654 39 00 00 00 */ li r8, 0
/* 8035D6F8 0035A658 4B FA B4 41 */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID
/* 8035D6FC 0035A65C 38 60 00 03 */ li r3, 3
/* 8035D700 0035A660 38 80 00 07 */ li r4, 7
/* 8035D704 0035A664 38 A0 00 07 */ li r5, 7
/* 8035D708 0035A668 38 C0 00 07 */ li r6, 7
/* 8035D70C 0035A66C 38 E0 00 07 */ li r7, 7
/* 8035D710 0035A670 4B FA B4 85 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg
/* 8035D714 0035A674 38 60 00 03 */ li r3, 3
/* 8035D718 0035A678 38 80 00 00 */ li r4, 0
/* 8035D71C 0035A67C 38 A0 00 00 */ li r5, 0
/* 8035D720 0035A680 38 C0 00 00 */ li r6, 0
/* 8035D724 0035A684 38 E0 00 01 */ li r7, 1
/* 8035D728 0035A688 39 00 00 00 */ li r8, 0
/* 8035D72C 0035A68C 4B FA B3 55 */ bl SetTevAlphaOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID
/* 8035D730 0035A690 38 60 00 03 */ li r3, 3
/* 8035D734 0035A694 38 80 00 0E */ li r4, 0xe
/* 8035D738 0035A698 4B FA B2 A9 */ bl SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel
/* 8035D73C 0035A69C 80 A2 CD 10 */ lwz r5, lbl_805AEA30@sda21(r2)
/* 8035D740 0035A6A0 38 81 00 14 */ addi r4, r1, 0x14
/* 8035D744 0035A6A4 80 02 CD 14 */ lwz r0, lbl_805AEA34@sda21(r2)
/* 8035D748 0035A6A8 38 60 00 01 */ li r3, 1
/* 8035D74C 0035A6AC 90 A1 00 14 */ stw r5, 0x14(r1)
/* 8035D750 0035A6B0 90 01 00 18 */ stw r0, 0x18(r1)
/* 8035D754 0035A6B4 48 01 DF 1D */ bl GXSetTevColorS10
/* 8035D758 0035A6B8 80 02 CD 18 */ lwz r0, lbl_805AEA38@sda21(r2)
/* 8035D75C 0035A6BC 38 81 00 10 */ addi r4, r1, 0x10
/* 8035D760 0035A6C0 38 60 00 00 */ li r3, 0
/* 8035D764 0035A6C4 90 01 00 10 */ stw r0, 0x10(r1)
/* 8035D768 0035A6C8 4B FA B4 DD */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor
/* 8035D76C 0035A6CC 80 02 CD 1C */ lwz r0, lbl_805AEA3C@sda21(r2)
/* 8035D770 0035A6D0 38 81 00 0C */ addi r4, r1, 0xc
/* 8035D774 0035A6D4 38 60 00 01 */ li r3, 1
/* 8035D778 0035A6D8 90 01 00 0C */ stw r0, 0xc(r1)
/* 8035D77C 0035A6DC 4B FA B4 C9 */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor
/* 8035D780 0035A6E0 80 02 CD 20 */ lwz r0, lbl_805AEA40@sda21(r2)
/* 8035D784 0035A6E4 38 81 00 08 */ addi r4, r1, 8
/* 8035D788 0035A6E8 38 60 00 02 */ li r3, 2
/* 8035D78C 0035A6EC 90 01 00 08 */ stw r0, 8(r1)
/* 8035D790 0035A6F0 4B FA B4 B5 */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor
/* 8035D794 0035A6F4 80 01 00 94 */ lwz r0, 0x94(r1)
/* 8035D798 0035A6F8 83 E1 00 8C */ lwz r31, 0x8c(r1)
/* 8035D79C 0035A6FC 83 C1 00 88 */ lwz r30, 0x88(r1)
/* 8035D7A0 0035A700 83 A1 00 84 */ lwz r29, 0x84(r1)
/* 8035D7A4 0035A704 7C 08 03 A6 */ mtlr r0
/* 8035D7A8 0035A708 38 21 00 90 */ addi r1, r1, 0x90
/* 8035D7AC 0035A70C 4E 80 00 20 */ blr
.global MyTHPGXRestore__Fv
MyTHPGXRestore__Fv:
/* 8035D7B0 0035A710 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8035D7B4 0035A714 7C 08 02 A6 */ mflr r0
/* 8035D7B8 0035A718 38 60 00 01 */ li r3, 1
/* 8035D7BC 0035A71C 38 80 00 07 */ li r4, 7
/* 8035D7C0 0035A720 90 01 00 14 */ stw r0, 0x14(r1)
/* 8035D7C4 0035A724 38 A0 00 00 */ li r5, 0
/* 8035D7C8 0035A728 4B FA B0 B5 */ bl SetZMode__3CGXFb10_GXCompareb
/* 8035D7CC 0035A72C 38 60 00 00 */ li r3, 0
/* 8035D7D0 0035A730 38 80 00 01 */ li r4, 1
/* 8035D7D4 0035A734 38 A0 00 00 */ li r5, 0
/* 8035D7D8 0035A738 38 C0 00 0F */ li r6, 0xf
/* 8035D7DC 0035A73C 4B FA B0 F5 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp
/* 8035D7E0 0035A740 38 60 00 01 */ li r3, 1
/* 8035D7E4 0035A744 4B FA B6 31 */ bl SetNumTexGens__3CGXFUc
/* 8035D7E8 0035A748 38 60 00 00 */ li r3, 0
/* 8035D7EC 0035A74C 4B FA B6 65 */ bl SetNumChans__3CGXFUc
/* 8035D7F0 0035A750 38 60 00 01 */ li r3, 1
/* 8035D7F4 0035A754 4B FA B4 9D */ bl SetNumTevStages__3CGXFUc
/* 8035D7F8 0035A758 38 60 00 00 */ li r3, 0
/* 8035D7FC 0035A75C 38 80 00 00 */ li r4, 0
/* 8035D800 0035A760 38 A0 00 00 */ li r5, 0
/* 8035D804 0035A764 38 C0 00 FF */ li r6, 0xff
/* 8035D808 0035A768 4B FA B1 45 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID
/* 8035D80C 0035A76C 38 60 00 07 */ li r3, 7
/* 8035D810 0035A770 38 80 00 00 */ li r4, 0
/* 8035D814 0035A774 38 A0 00 00 */ li r5, 0
/* 8035D818 0035A778 38 C0 00 07 */ li r6, 7
/* 8035D81C 0035A77C 38 E0 00 00 */ li r7, 0
/* 8035D820 0035A780 4B FA AF F5 */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc
/* 8035D824 0035A784 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8035D828 0035A788 7C 08 03 A6 */ mtlr r0
/* 8035D82C 0035A78C 38 21 00 10 */ addi r1, r1, 0x10
/* 8035D830 0035A790 4E 80 00 20 */ blr
.global "reserve__Q24rstl67vector<Q212CMoviePlayer14CTHPTextureSet,Q24rstl17rmemory_allocator>Fi"
"reserve__Q24rstl67vector<Q212CMoviePlayer14CTHPTextureSet,Q24rstl17rmemory_allocator>Fi":
/* 8035D834 0035A794 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8035D838 0035A798 7C 08 02 A6 */ mflr r0
/* 8035D83C 0035A79C 90 01 00 34 */ stw r0, 0x34(r1)
/* 8035D840 0035A7A0 BF 61 00 1C */ stmw r27, 0x1c(r1)
/* 8035D844 0035A7A4 7C 9E 23 78 */ mr r30, r4
/* 8035D848 0035A7A8 7C 7D 1B 78 */ mr r29, r3
/* 8035D84C 0035A7AC 80 03 00 08 */ lwz r0, 8(r3)
/* 8035D850 0035A7B0 7C 1E 00 00 */ cmpw r30, r0
/* 8035D854 0035A7B4 40 81 01 10 */ ble lbl_8035D964
/* 8035D858 0035A7B8 1C 7E 00 28 */ mulli r3, r30, 0x28
/* 8035D85C 0035A7BC 2C 03 00 00 */ cmpwi r3, 0
/* 8035D860 0035A7C0 40 82 00 0C */ bne lbl_8035D86C
/* 8035D864 0035A7C4 3B E0 00 00 */ li r31, 0
/* 8035D868 0035A7C8 48 00 00 18 */ b lbl_8035D880
lbl_8035D86C:
/* 8035D86C 0035A7CC 3C 80 80 3E */ lis r4, lbl_803D83D8@ha
/* 8035D870 0035A7D0 38 A0 00 00 */ li r5, 0
/* 8035D874 0035A7D4 38 84 83 D8 */ addi r4, r4, lbl_803D83D8@l
/* 8035D878 0035A7D8 4B FB 7F A1 */ bl __nwa__FUlPCcPCc
/* 8035D87C 0035A7DC 7C 7F 1B 78 */ mr r31, r3
lbl_8035D880:
/* 8035D880 0035A7E0 80 1D 00 04 */ lwz r0, 4(r29)
/* 8035D884 0035A7E4 7F E5 FB 78 */ mr r5, r31
/* 8035D888 0035A7E8 80 DD 00 0C */ lwz r6, 0xc(r29)
/* 8035D88C 0035A7EC 38 61 00 14 */ addi r3, r1, 0x14
/* 8035D890 0035A7F0 1C 00 00 28 */ mulli r0, r0, 0x28
/* 8035D894 0035A7F4 38 81 00 0C */ addi r4, r1, 0xc
/* 8035D898 0035A7F8 7C C6 02 14 */ add r6, r6, r0
/* 8035D89C 0035A7FC 90 C1 00 0C */ stw r6, 0xc(r1)
/* 8035D8A0 0035A800 80 1D 00 0C */ lwz r0, 0xc(r29)
/* 8035D8A4 0035A804 90 C1 00 08 */ stw r6, 8(r1)
/* 8035D8A8 0035A808 90 01 00 10 */ stw r0, 0x10(r1)
/* 8035D8AC 0035A80C 90 01 00 14 */ stw r0, 0x14(r1)
/* 8035D8B0 0035A810 48 00 00 C9 */ bl "construct<Q212CMoviePlayer14CTHPTextureSet>__4rstlFPvRCQ212CMoviePlayer14CTHPTextureSet"
/* 8035D8B4 0035A814 80 1D 00 04 */ lwz r0, 4(r29)
/* 8035D8B8 0035A818 83 7D 00 0C */ lwz r27, 0xc(r29)
/* 8035D8BC 0035A81C 1C 00 00 28 */ mulli r0, r0, 0x28
/* 8035D8C0 0035A820 7F 9B 02 14 */ add r28, r27, r0
/* 8035D8C4 0035A824 48 00 00 80 */ b lbl_8035D944
lbl_8035D8C8:
/* 8035D8C8 0035A828 28 1B 00 00 */ cmplwi r27, 0
/* 8035D8CC 0035A82C 41 82 00 74 */ beq lbl_8035D940
/* 8035D8D0 0035A830 34 1B 00 18 */ addic. r0, r27, 0x18
/* 8035D8D4 0035A834 41 82 00 18 */ beq lbl_8035D8EC
/* 8035D8D8 0035A838 88 1B 00 18 */ lbz r0, 0x18(r27)
/* 8035D8DC 0035A83C 28 00 00 00 */ cmplwi r0, 0
/* 8035D8E0 0035A840 41 82 00 0C */ beq lbl_8035D8EC
/* 8035D8E4 0035A844 80 7B 00 1C */ lwz r3, 0x1c(r27)
/* 8035D8E8 0035A848 4B FB 80 49 */ bl Free__7CMemoryFPCv
lbl_8035D8EC:
/* 8035D8EC 0035A84C 34 1B 00 10 */ addic. r0, r27, 0x10
/* 8035D8F0 0035A850 41 82 00 18 */ beq lbl_8035D908
/* 8035D8F4 0035A854 88 1B 00 10 */ lbz r0, 0x10(r27)
/* 8035D8F8 0035A858 28 00 00 00 */ cmplwi r0, 0
/* 8035D8FC 0035A85C 41 82 00 0C */ beq lbl_8035D908
/* 8035D900 0035A860 80 7B 00 14 */ lwz r3, 0x14(r27)
/* 8035D904 0035A864 4B FB 80 2D */ bl Free__7CMemoryFPCv
lbl_8035D908:
/* 8035D908 0035A868 34 1B 00 08 */ addic. r0, r27, 8
/* 8035D90C 0035A86C 41 82 00 18 */ beq lbl_8035D924
/* 8035D910 0035A870 88 1B 00 08 */ lbz r0, 8(r27)
/* 8035D914 0035A874 28 00 00 00 */ cmplwi r0, 0
/* 8035D918 0035A878 41 82 00 0C */ beq lbl_8035D924
/* 8035D91C 0035A87C 80 7B 00 0C */ lwz r3, 0xc(r27)
/* 8035D920 0035A880 4B FB 80 11 */ bl Free__7CMemoryFPCv
lbl_8035D924:
/* 8035D924 0035A884 28 1B 00 00 */ cmplwi r27, 0
/* 8035D928 0035A888 41 82 00 18 */ beq lbl_8035D940
/* 8035D92C 0035A88C 88 1B 00 00 */ lbz r0, 0(r27)
/* 8035D930 0035A890 28 00 00 00 */ cmplwi r0, 0
/* 8035D934 0035A894 41 82 00 0C */ beq lbl_8035D940
/* 8035D938 0035A898 80 7B 00 04 */ lwz r3, 4(r27)
/* 8035D93C 0035A89C 4B FB 7F F5 */ bl Free__7CMemoryFPCv
lbl_8035D940:
/* 8035D940 0035A8A0 3B 7B 00 28 */ addi r27, r27, 0x28
lbl_8035D944:
/* 8035D944 0035A8A4 7C 1B E0 40 */ cmplw r27, r28
/* 8035D948 0035A8A8 40 82 FF 80 */ bne lbl_8035D8C8
/* 8035D94C 0035A8AC 80 7D 00 0C */ lwz r3, 0xc(r29)
/* 8035D950 0035A8B0 28 03 00 00 */ cmplwi r3, 0
/* 8035D954 0035A8B4 41 82 00 08 */ beq lbl_8035D95C
/* 8035D958 0035A8B8 4B FB 7F D9 */ bl Free__7CMemoryFPCv
lbl_8035D95C:
/* 8035D95C 0035A8BC 93 FD 00 0C */ stw r31, 0xc(r29)
/* 8035D960 0035A8C0 93 DD 00 08 */ stw r30, 8(r29)
lbl_8035D964:
/* 8035D964 0035A8C4 BB 61 00 1C */ lmw r27, 0x1c(r1)
/* 8035D968 0035A8C8 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8035D96C 0035A8CC 7C 08 03 A6 */ mtlr r0
/* 8035D970 0035A8D0 38 21 00 30 */ addi r1, r1, 0x30
/* 8035D974 0035A8D4 4E 80 00 20 */ blr
.global "construct<Q212CMoviePlayer14CTHPTextureSet>__4rstlFPvRCQ212CMoviePlayer14CTHPTextureSet"
"construct<Q212CMoviePlayer14CTHPTextureSet>__4rstlFPvRCQ212CMoviePlayer14CTHPTextureSet":
/* 8035D978 0035A8D8 80 C3 00 00 */ lwz r6, 0(r3)
/* 8035D97C 0035A8DC 48 00 00 78 */ b lbl_8035D9F4
lbl_8035D980:
/* 8035D980 0035A8E0 28 05 00 00 */ cmplwi r5, 0
/* 8035D984 0035A8E4 41 82 00 68 */ beq lbl_8035D9EC
/* 8035D988 0035A8E8 88 06 00 00 */ lbz r0, 0(r6)
/* 8035D98C 0035A8EC 38 60 00 00 */ li r3, 0
/* 8035D990 0035A8F0 98 05 00 00 */ stb r0, 0(r5)
/* 8035D994 0035A8F4 80 06 00 04 */ lwz r0, 4(r6)
/* 8035D998 0035A8F8 90 05 00 04 */ stw r0, 4(r5)
/* 8035D99C 0035A8FC 98 66 00 00 */ stb r3, 0(r6)
/* 8035D9A0 0035A900 88 06 00 08 */ lbz r0, 8(r6)
/* 8035D9A4 0035A904 98 05 00 08 */ stb r0, 8(r5)
/* 8035D9A8 0035A908 80 06 00 0C */ lwz r0, 0xc(r6)
/* 8035D9AC 0035A90C 90 05 00 0C */ stw r0, 0xc(r5)
/* 8035D9B0 0035A910 98 66 00 08 */ stb r3, 8(r6)
/* 8035D9B4 0035A914 88 06 00 10 */ lbz r0, 0x10(r6)
/* 8035D9B8 0035A918 98 05 00 10 */ stb r0, 0x10(r5)
/* 8035D9BC 0035A91C 80 06 00 14 */ lwz r0, 0x14(r6)
/* 8035D9C0 0035A920 90 05 00 14 */ stw r0, 0x14(r5)
/* 8035D9C4 0035A924 98 66 00 10 */ stb r3, 0x10(r6)
/* 8035D9C8 0035A928 88 06 00 18 */ lbz r0, 0x18(r6)
/* 8035D9CC 0035A92C 98 05 00 18 */ stb r0, 0x18(r5)
/* 8035D9D0 0035A930 80 06 00 1C */ lwz r0, 0x1c(r6)
/* 8035D9D4 0035A934 90 05 00 1C */ stw r0, 0x1c(r5)
/* 8035D9D8 0035A938 98 66 00 18 */ stb r3, 0x18(r6)
/* 8035D9DC 0035A93C 80 06 00 20 */ lwz r0, 0x20(r6)
/* 8035D9E0 0035A940 90 05 00 20 */ stw r0, 0x20(r5)
/* 8035D9E4 0035A944 80 06 00 24 */ lwz r0, 0x24(r6)
/* 8035D9E8 0035A948 90 05 00 24 */ stw r0, 0x24(r5)
lbl_8035D9EC:
/* 8035D9EC 0035A94C 38 A5 00 28 */ addi r5, r5, 0x28
/* 8035D9F0 0035A950 38 C6 00 28 */ addi r6, r6, 0x28
lbl_8035D9F4:
/* 8035D9F4 0035A954 80 04 00 00 */ lwz r0, 0(r4)
/* 8035D9F8 0035A958 7C 06 00 40 */ cmplw r6, r0
/* 8035D9FC 0035A95C 40 82 FF 84 */ bne lbl_8035D980
/* 8035DA00 0035A960 7C A3 2B 78 */ mr r3, r5
/* 8035DA04 0035A964 4E 80 00 20 */ blr
.global "reserve__Q24rstl56vector<Q24rstl12auto_ptr<Uc>,Q24rstl17rmemory_allocator>Fi"
"reserve__Q24rstl56vector<Q24rstl12auto_ptr<Uc>,Q24rstl17rmemory_allocator>Fi":
/* 8035DA08 0035A968 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8035DA0C 0035A96C 7C 08 02 A6 */ mflr r0
/* 8035DA10 0035A970 90 01 00 34 */ stw r0, 0x34(r1)
/* 8035DA14 0035A974 BF 61 00 1C */ stmw r27, 0x1c(r1)
/* 8035DA18 0035A978 7C 9F 23 78 */ mr r31, r4
/* 8035DA1C 0035A97C 7C 7E 1B 78 */ mr r30, r3
/* 8035DA20 0035A980 80 03 00 08 */ lwz r0, 8(r3)
/* 8035DA24 0035A984 7C 1F 00 00 */ cmpw r31, r0
/* 8035DA28 0035A988 40 81 00 D4 */ ble lbl_8035DAFC
/* 8035DA2C 0035A98C 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c
/* 8035DA30 0035A990 40 82 00 0C */ bne lbl_8035DA3C
/* 8035DA34 0035A994 3B A0 00 00 */ li r29, 0
/* 8035DA38 0035A998 48 00 00 18 */ b lbl_8035DA50
lbl_8035DA3C:
/* 8035DA3C 0035A99C 3C 80 80 3E */ lis r4, lbl_803D83D8@ha
/* 8035DA40 0035A9A0 38 A0 00 00 */ li r5, 0
/* 8035DA44 0035A9A4 38 84 83 D8 */ addi r4, r4, lbl_803D83D8@l
/* 8035DA48 0035A9A8 4B FB 7D D1 */ bl __nwa__FUlPCcPCc
/* 8035DA4C 0035A9AC 7C 7D 1B 78 */ mr r29, r3
lbl_8035DA50:
/* 8035DA50 0035A9B0 80 7E 00 04 */ lwz r3, 4(r30)
/* 8035DA54 0035A9B4 7F A5 EB 78 */ mr r5, r29
/* 8035DA58 0035A9B8 80 DE 00 0C */ lwz r6, 0xc(r30)
/* 8035DA5C 0035A9BC 38 00 00 00 */ li r0, 0
/* 8035DA60 0035A9C0 54 63 18 38 */ slwi r3, r3, 3
/* 8035DA64 0035A9C4 7C 86 1A 14 */ add r4, r6, r3
/* 8035DA68 0035A9C8 90 C1 00 10 */ stw r6, 0x10(r1)
/* 8035DA6C 0035A9CC 90 81 00 08 */ stw r4, 8(r1)
/* 8035DA70 0035A9D0 90 81 00 0C */ stw r4, 0xc(r1)
/* 8035DA74 0035A9D4 90 C1 00 14 */ stw r6, 0x14(r1)
/* 8035DA78 0035A9D8 48 00 00 28 */ b lbl_8035DAA0
lbl_8035DA7C:
/* 8035DA7C 0035A9DC 28 05 00 00 */ cmplwi r5, 0
/* 8035DA80 0035A9E0 41 82 00 18 */ beq lbl_8035DA98
/* 8035DA84 0035A9E4 88 66 00 00 */ lbz r3, 0(r6)
/* 8035DA88 0035A9E8 98 65 00 00 */ stb r3, 0(r5)
/* 8035DA8C 0035A9EC 80 66 00 04 */ lwz r3, 4(r6)
/* 8035DA90 0035A9F0 90 65 00 04 */ stw r3, 4(r5)
/* 8035DA94 0035A9F4 98 06 00 00 */ stb r0, 0(r6)
lbl_8035DA98:
/* 8035DA98 0035A9F8 38 A5 00 08 */ addi r5, r5, 8
/* 8035DA9C 0035A9FC 38 C6 00 08 */ addi r6, r6, 8
lbl_8035DAA0:
/* 8035DAA0 0035AA00 7C 06 20 40 */ cmplw r6, r4
/* 8035DAA4 0035AA04 40 82 FF D8 */ bne lbl_8035DA7C
/* 8035DAA8 0035AA08 80 1E 00 04 */ lwz r0, 4(r30)
/* 8035DAAC 0035AA0C 83 7E 00 0C */ lwz r27, 0xc(r30)
/* 8035DAB0 0035AA10 54 00 18 38 */ slwi r0, r0, 3
/* 8035DAB4 0035AA14 7F 9B 02 14 */ add r28, r27, r0
/* 8035DAB8 0035AA18 48 00 00 24 */ b lbl_8035DADC
lbl_8035DABC:
/* 8035DABC 0035AA1C 28 1B 00 00 */ cmplwi r27, 0
/* 8035DAC0 0035AA20 41 82 00 18 */ beq lbl_8035DAD8
/* 8035DAC4 0035AA24 88 1B 00 00 */ lbz r0, 0(r27)
/* 8035DAC8 0035AA28 28 00 00 00 */ cmplwi r0, 0
/* 8035DACC 0035AA2C 41 82 00 0C */ beq lbl_8035DAD8
/* 8035DAD0 0035AA30 80 7B 00 04 */ lwz r3, 4(r27)
/* 8035DAD4 0035AA34 4B FB 7E 5D */ bl Free__7CMemoryFPCv
lbl_8035DAD8:
/* 8035DAD8 0035AA38 3B 7B 00 08 */ addi r27, r27, 8
lbl_8035DADC:
/* 8035DADC 0035AA3C 7C 1B E0 40 */ cmplw r27, r28
/* 8035DAE0 0035AA40 40 82 FF DC */ bne lbl_8035DABC
/* 8035DAE4 0035AA44 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 8035DAE8 0035AA48 28 03 00 00 */ cmplwi r3, 0
/* 8035DAEC 0035AA4C 41 82 00 08 */ beq lbl_8035DAF4
/* 8035DAF0 0035AA50 4B FB 7E 41 */ bl Free__7CMemoryFPCv
lbl_8035DAF4:
/* 8035DAF4 0035AA54 93 BE 00 0C */ stw r29, 0xc(r30)
/* 8035DAF8 0035AA58 93 FE 00 08 */ stw r31, 8(r30)
lbl_8035DAFC:
/* 8035DAFC 0035AA5C BB 61 00 1C */ lmw r27, 0x1c(r1)
/* 8035DB00 0035AA60 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8035DB04 0035AA64 7C 08 03 A6 */ mtlr r0
/* 8035DB08 0035AA68 38 21 00 30 */ addi r1, r1, 0x30
/* 8035DB0C 0035AA6C 4E 80 00 20 */ blr
.section .sdata2, "a"
.balign 8
.global lbl_805AEA30
lbl_805AEA30:
# ROM: 0x3FB2D0
.4byte 0xFFA60000
.global lbl_805AEA34
lbl_805AEA34:
# ROM: 0x3FB2D4
.4byte 0xFF8E0087
.global lbl_805AEA38
lbl_805AEA38:
# ROM: 0x3FB2D8
.4byte 0x0000E258
.global lbl_805AEA3C
lbl_805AEA3C:
# ROM: 0x3FB2DC
.4byte 0xB30000B6
.global lbl_805AEA40
lbl_805AEA40:
# ROM: 0x3FB2E0
.4byte 0xFF00FF80
.global lbl_805AEA44
lbl_805AEA44:
# ROM: 0x3FB2E4
.4byte 0
.global lbl_805AEA48
lbl_805AEA48:
# ROM: 0x3FB2E8
.float 1.0
.4byte 0
.global lbl_805AEA50
lbl_805AEA50:
# ROM: 0x3FB2F0
.4byte 0x43300000
.4byte 0
.global lbl_805AEA58
lbl_805AEA58:
# ROM: 0x3FB2F8
.float 0.25
.4byte 0
.section .rodata
.balign 8
.global lbl_803D8380
lbl_803D8380:
# ROM: 0x3D5380
.4byte 0xFFFFFFFF
.4byte 0xFFFFFFFF
.4byte 0
.4byte 0
.4byte 0xFFFFFFFF
.4byte 0xFFFFFFFF
.4byte 0
.4byte 0
.4byte 0x00000009
.4byte 0x00000001
.4byte 0x0000000D
.4byte 0x00000001
.4byte 0x000000FF
.4byte 0
.float 0.125
.4byte 0
.4byte 0
.4byte 0
.4byte 0
.4byte 0
.float 0.25
.4byte 0
.global lbl_803D83D8
lbl_803D83D8:
# ROM: 0x3D53D8
.asciz "??(??)"
.balign 4