prime/asm/Kyoto/Audio/CDSPStreamManager.s

1902 lines
99 KiB
ArmAsm
Raw Normal View History

2022-04-16 07:50:32 +00:00
.include "macros.inc"
2022-08-10 05:34:11 +00:00
.section .ctors, "wa"
lbl_ctor:
.4byte __sinit_CDSPStreamManager_cpp
2022-04-16 23:18:42 +00:00
.section .bss
.balign 8
2022-04-16 23:18:42 +00:00
2022-08-11 02:27:22 +00:00
.comm lbl_805A6860, 0x300, 4
.lcomm lbl_80540520, 0x30, 4
2022-07-14 05:36:41 +00:00
.section .sbss, "wa"
.balign 8
2022-07-14 05:36:41 +00:00
.global lbl_805A9678
lbl_805A9678:
.skip 0x8
2022-07-14 05:48:03 +00:00
2022-07-14 05:36:41 +00:00
.section .text, "ax"
2022-04-16 07:50:32 +00:00
.global AllocateStream__17CDSPStreamManagerFv
AllocateStream__17CDSPStreamManagerFv:
/* 803634E0 00360440 54 2B 06 FE */ clrlwi r11, r1, 0x1b
/* 803634E4 00360444 7C 2C 0B 78 */ mr r12, r1
/* 803634E8 00360448 21 6B FC 80 */ subfic r11, r11, -896
/* 803634EC 0036044C 7C 21 59 6E */ stwux r1, r1, r11
/* 803634F0 00360450 7C 08 02 A6 */ mflr r0
/* 803634F4 00360454 1C A3 00 C0 */ mulli r5, r3, 0xc0
/* 803634F8 00360458 3C 80 80 5A */ lis r4, lbl_805A6860@ha
/* 803634FC 0036045C 90 0C 00 04 */ stw r0, 4(r12)
/* 80363500 00360460 38 61 00 5C */ addi r3, r1, 0x5c
/* 80363504 00360464 38 04 68 60 */ addi r0, r4, lbl_805A6860@l
/* 80363508 00360468 BF 4C FF E8 */ stmw r26, -0x18(r12)
/* 8036350C 0036046C 7F E0 2A 14 */ add r31, r0, r5
/* 80363510 00360470 7F E4 FB 78 */ mr r4, r31
/* 80363514 00360474 48 00 07 59 */ bl __ct__14SDSPStreamInfoFRC17CDSPStreamManager
/* 80363518 00360478 88 1F 00 71 */ lbz r0, 0x71(r31)
/* 8036351C 0036047C 83 C1 00 5C */ lwz r30, 0x5c(r1)
/* 80363520 00360480 7C 00 07 74 */ extsb r0, r0
/* 80363524 00360484 83 A1 00 60 */ lwz r29, 0x60(r1)
/* 80363528 00360488 83 81 00 64 */ lwz r28, 0x64(r1)
/* 8036352C 0036048C 2C 00 FF FF */ cmpwi r0, -1
/* 80363530 00360490 83 61 00 68 */ lwz r27, 0x68(r1)
/* 80363534 00360494 83 41 00 6C */ lwz r26, 0x6c(r1)
/* 80363538 00360498 81 81 00 70 */ lwz r12, 0x70(r1)
/* 8036353C 0036049C 81 61 00 74 */ lwz r11, 0x74(r1)
/* 80363540 003604A0 81 41 00 78 */ lwz r10, 0x78(r1)
/* 80363544 003604A4 81 21 00 7C */ lwz r9, 0x7c(r1)
/* 80363548 003604A8 81 01 00 80 */ lwz r8, 0x80(r1)
/* 8036354C 003604AC 80 E1 00 84 */ lwz r7, 0x84(r1)
/* 80363550 003604B0 80 C1 00 88 */ lwz r6, 0x88(r1)
/* 80363554 003604B4 80 A1 00 8C */ lwz r5, 0x8c(r1)
/* 80363558 003604B8 80 81 00 90 */ lwz r4, 0x90(r1)
/* 8036355C 003604BC 80 61 00 94 */ lwz r3, 0x94(r1)
/* 80363560 003604C0 93 C1 00 D4 */ stw r30, 0xd4(r1)
/* 80363564 003604C4 93 A1 00 D8 */ stw r29, 0xd8(r1)
/* 80363568 003604C8 93 81 00 DC */ stw r28, 0xdc(r1)
/* 8036356C 003604CC 93 61 00 E0 */ stw r27, 0xe0(r1)
/* 80363570 003604D0 93 41 00 E4 */ stw r26, 0xe4(r1)
/* 80363574 003604D4 91 81 00 E8 */ stw r12, 0xe8(r1)
/* 80363578 003604D8 91 61 00 EC */ stw r11, 0xec(r1)
/* 8036357C 003604DC 91 41 00 F0 */ stw r10, 0xf0(r1)
/* 80363580 003604E0 91 21 00 F4 */ stw r9, 0xf4(r1)
/* 80363584 003604E4 91 01 00 F8 */ stw r8, 0xf8(r1)
/* 80363588 003604E8 90 E1 00 FC */ stw r7, 0xfc(r1)
/* 8036358C 003604EC 90 C1 01 00 */ stw r6, 0x100(r1)
/* 80363590 003604F0 90 A1 01 04 */ stw r5, 0x104(r1)
/* 80363594 003604F4 90 81 01 08 */ stw r4, 0x108(r1)
/* 80363598 003604F8 90 61 01 0C */ stw r3, 0x10c(r1)
/* 8036359C 003604FC 40 82 00 64 */ bne lbl_80363600
/* 803635A0 00360500 88 1F 00 70 */ lbz r0, 0x70(r31)
/* 803635A4 00360504 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f
/* 803635A8 00360508 40 82 00 20 */ bne lbl_803635C8
/* 803635AC 0036050C 88 DF 00 74 */ lbz r6, 0x74(r31)
/* 803635B0 00360510 38 61 00 D4 */ addi r3, r1, 0xd4
/* 803635B4 00360514 88 9F 00 73 */ lbz r4, 0x73(r31)
/* 803635B8 00360518 38 A0 00 40 */ li r5, 0x40
/* 803635BC 0036051C 7C C6 07 74 */ extsb r6, r6
/* 803635C0 00360520 48 00 76 ED */ bl AllocateMono__10SDSPStreamFRC11SStreamInfocci
/* 803635C4 00360524 90 7F 00 7C */ stw r3, 0x7c(r31)
lbl_803635C8:
/* 803635C8 00360528 80 7F 00 7C */ lwz r3, 0x7c(r31)
/* 803635CC 0036052C 3C 03 00 01 */ addis r0, r3, 1
/* 803635D0 00360530 28 00 FF FF */ cmplwi r0, 0xffff
/* 803635D4 00360534 40 82 01 40 */ bne lbl_80363714
/* 803635D8 00360538 38 61 02 A0 */ addi r3, r1, 0x2a0
/* 803635DC 0036053C 38 80 00 00 */ li r4, 0
/* 803635E0 00360540 48 00 13 6D */ bl __ct__17CDSPStreamManagerFv
/* 803635E4 00360544 7F E3 FB 78 */ mr r3, r31
/* 803635E8 00360548 38 81 02 A0 */ addi r4, r1, 0x2a0
/* 803635EC 0036054C 48 00 10 F9 */ bl __as__17CDSPStreamManagerFRC17CDSPStreamManager
/* 803635F0 00360550 34 61 03 00 */ addic. r3, r1, 0x300
/* 803635F4 00360554 41 82 01 20 */ beq lbl_80363714
/* 803635F8 00360558 4B FD A4 E9 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 803635FC 0036055C 48 00 01 18 */ b lbl_80363714
lbl_80363600:
/* 80363600 00360560 1C A0 00 C0 */ mulli r5, r0, 0xc0
/* 80363604 00360564 3C 80 80 5A */ lis r4, lbl_805A6860@ha
/* 80363608 00360568 38 61 00 20 */ addi r3, r1, 0x20
/* 8036360C 0036056C 38 04 68 60 */ addi r0, r4, lbl_805A6860@l
/* 80363610 00360570 7F C0 2A 14 */ add r30, r0, r5
/* 80363614 00360574 7F C4 F3 78 */ mr r4, r30
/* 80363618 00360578 48 00 06 55 */ bl __ct__14SDSPStreamInfoFRC17CDSPStreamManager
/* 8036361C 0036057C 88 1F 00 70 */ lbz r0, 0x70(r31)
/* 80363620 00360580 83 41 00 20 */ lwz r26, 0x20(r1)
/* 80363624 00360584 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f
/* 80363628 00360588 83 61 00 24 */ lwz r27, 0x24(r1)
/* 8036362C 0036058C 83 81 00 28 */ lwz r28, 0x28(r1)
/* 80363630 00360590 83 A1 00 2C */ lwz r29, 0x2c(r1)
/* 80363634 00360594 81 81 00 30 */ lwz r12, 0x30(r1)
/* 80363638 00360598 81 61 00 34 */ lwz r11, 0x34(r1)
/* 8036363C 0036059C 81 41 00 38 */ lwz r10, 0x38(r1)
/* 80363640 003605A0 81 21 00 3C */ lwz r9, 0x3c(r1)
/* 80363644 003605A4 81 01 00 40 */ lwz r8, 0x40(r1)
/* 80363648 003605A8 80 E1 00 44 */ lwz r7, 0x44(r1)
/* 8036364C 003605AC 80 C1 00 48 */ lwz r6, 0x48(r1)
/* 80363650 003605B0 80 A1 00 4C */ lwz r5, 0x4c(r1)
/* 80363654 003605B4 80 81 00 50 */ lwz r4, 0x50(r1)
/* 80363658 003605B8 80 61 00 54 */ lwz r3, 0x54(r1)
/* 8036365C 003605BC 80 01 00 58 */ lwz r0, 0x58(r1)
/* 80363660 003605C0 93 41 00 98 */ stw r26, 0x98(r1)
/* 80363664 003605C4 93 61 00 9C */ stw r27, 0x9c(r1)
/* 80363668 003605C8 93 81 00 A0 */ stw r28, 0xa0(r1)
/* 8036366C 003605CC 93 A1 00 A4 */ stw r29, 0xa4(r1)
/* 80363670 003605D0 91 81 00 A8 */ stw r12, 0xa8(r1)
/* 80363674 003605D4 91 61 00 AC */ stw r11, 0xac(r1)
/* 80363678 003605D8 91 41 00 B0 */ stw r10, 0xb0(r1)
/* 8036367C 003605DC 91 21 00 B4 */ stw r9, 0xb4(r1)
/* 80363680 003605E0 91 01 00 B8 */ stw r8, 0xb8(r1)
/* 80363684 003605E4 90 E1 00 BC */ stw r7, 0xbc(r1)
/* 80363688 003605E8 90 C1 00 C0 */ stw r6, 0xc0(r1)
/* 8036368C 003605EC 90 A1 00 C4 */ stw r5, 0xc4(r1)
/* 80363690 003605F0 90 81 00 C8 */ stw r4, 0xc8(r1)
/* 80363694 003605F4 90 61 00 CC */ stw r3, 0xcc(r1)
/* 80363698 003605F8 90 01 00 D0 */ stw r0, 0xd0(r1)
/* 8036369C 003605FC 40 82 00 20 */ bne lbl_803636BC
/* 803636A0 00360600 88 DF 00 74 */ lbz r6, 0x74(r31)
/* 803636A4 00360604 38 61 00 D4 */ addi r3, r1, 0xd4
/* 803636A8 00360608 88 BF 00 73 */ lbz r5, 0x73(r31)
/* 803636AC 0036060C 38 81 00 98 */ addi r4, r1, 0x98
/* 803636B0 00360610 7C C6 07 74 */ extsb r6, r6
/* 803636B4 00360614 48 00 74 19 */ bl AllocateStereo__10SDSPStreamFRC11SStreamInfoRC11SStreamInfoci
/* 803636B8 00360618 90 7F 00 7C */ stw r3, 0x7c(r31)
lbl_803636BC:
/* 803636BC 0036061C 80 7F 00 7C */ lwz r3, 0x7c(r31)
/* 803636C0 00360620 3C 03 00 01 */ addis r0, r3, 1
/* 803636C4 00360624 28 00 FF FF */ cmplwi r0, 0xffff
/* 803636C8 00360628 40 82 00 4C */ bne lbl_80363714
/* 803636CC 0036062C 38 61 01 E0 */ addi r3, r1, 0x1e0
/* 803636D0 00360630 38 80 00 00 */ li r4, 0
/* 803636D4 00360634 48 00 12 79 */ bl __ct__17CDSPStreamManagerFv
/* 803636D8 00360638 7F E3 FB 78 */ mr r3, r31
/* 803636DC 0036063C 38 81 01 E0 */ addi r4, r1, 0x1e0
/* 803636E0 00360640 48 00 10 05 */ bl __as__17CDSPStreamManagerFRC17CDSPStreamManager
/* 803636E4 00360644 34 61 02 40 */ addic. r3, r1, 0x240
/* 803636E8 00360648 41 82 00 08 */ beq lbl_803636F0
/* 803636EC 0036064C 4B FD A3 F5 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_803636F0:
/* 803636F0 00360650 38 61 01 20 */ addi r3, r1, 0x120
/* 803636F4 00360654 38 80 00 00 */ li r4, 0
/* 803636F8 00360658 48 00 12 55 */ bl __ct__17CDSPStreamManagerFv
/* 803636FC 0036065C 7F C3 F3 78 */ mr r3, r30
/* 80363700 00360660 38 81 01 20 */ addi r4, r1, 0x120
/* 80363704 00360664 48 00 0F E1 */ bl __as__17CDSPStreamManagerFRC17CDSPStreamManager
/* 80363708 00360668 34 61 01 80 */ addic. r3, r1, 0x180
/* 8036370C 0036066C 41 82 00 08 */ beq lbl_80363714
/* 80363710 00360670 4B FD A3 D1 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_80363714:
/* 80363714 00360674 81 41 00 00 */ lwz r10, 0(r1)
/* 80363718 00360678 BB 4A FF E8 */ lmw r26, -0x18(r10)
/* 8036371C 0036067C 80 0A 00 04 */ lwz r0, 4(r10)
/* 80363720 00360680 7C 08 03 A6 */ mtlr r0
/* 80363724 00360684 7D 41 53 78 */ mr r1, r10
2022-07-14 05:48:03 +00:00
/* 80363728 00360688 4E 80 00 20 */ blr
2022-04-16 07:50:32 +00:00
.global sub_8036372c
sub_8036372c:
/* 8036372C 0036068C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80363730 00360690 7C 08 02 A6 */ mflr r0
/* 80363734 00360694 90 01 00 14 */ stw r0, 0x14(r1)
/* 80363738 00360698 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8036373C 0036069C 7C 9F 23 78 */ mr r31, r4
/* 80363740 003606A0 93 C1 00 08 */ stw r30, 8(r1)
/* 80363744 003606A4 7C 7E 1B 79 */ or. r30, r3, r3
/* 80363748 003606A8 41 82 00 24 */ beq lbl_8036376C
/* 8036374C 003606AC 34 1E 00 60 */ addic. r0, r30, 0x60
/* 80363750 003606B0 41 82 00 0C */ beq lbl_8036375C
/* 80363754 003606B4 38 7E 00 60 */ addi r3, r30, 0x60
/* 80363758 003606B8 4B FD A3 89 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_8036375C:
/* 8036375C 003606BC 7F E0 07 35 */ extsh. r0, r31
/* 80363760 003606C0 40 81 00 0C */ ble lbl_8036376C
/* 80363764 003606C4 7F C3 F3 78 */ mr r3, r30
/* 80363768 003606C8 4B FB 21 C9 */ bl Free__7CMemoryFPCv
lbl_8036376C:
/* 8036376C 003606CC 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80363770 003606D0 7F C3 F3 78 */ mr r3, r30
/* 80363774 003606D4 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80363778 003606D8 83 C1 00 08 */ lwz r30, 8(r1)
/* 8036377C 003606DC 7C 08 03 A6 */ mtlr r0
/* 80363780 003606E0 38 21 00 10 */ addi r1, r1, 0x10
2022-07-14 05:48:03 +00:00
/* 80363784 003606E4 4E 80 00 20 */ blr
2022-04-16 07:50:32 +00:00
.global HeaderReadComplete__17CDSPStreamManagerFiP11DVDFileInfo
HeaderReadComplete__17CDSPStreamManagerFiP11DVDFileInfo:
/* 80363788 003606E8 54 2B 06 FE */ clrlwi r11, r1, 0x1b
/* 8036378C 003606EC 7C 2C 0B 78 */ mr r12, r1
/* 80363790 003606F0 21 6B FE 20 */ subfic r11, r11, -480
/* 80363794 003606F4 7C 21 59 6E */ stwux r1, r1, r11
/* 80363798 003606F8 7C 08 02 A6 */ mflr r0
/* 8036379C 003606FC 90 0C 00 04 */ stw r0, 4(r12)
/* 803637A0 00360700 93 EC FF FC */ stw r31, -4(r12)
/* 803637A4 00360704 93 CC FF F8 */ stw r30, -8(r12)
/* 803637A8 00360708 93 AC FF F4 */ stw r29, -0xc(r12)
/* 803637AC 0036070C 7C 9D 23 78 */ mr r29, r4
/* 803637B0 00360710 93 8C FF F0 */ stw r28, -0x10(r12)
/* 803637B4 00360714 7C 7C 1B 78 */ mr r28, r3
/* 803637B8 00360718 7F A3 EB 78 */ mr r3, r29
/* 803637BC 0036071C 48 00 DF 91 */ bl DVDClose
/* 803637C0 00360720 3C 60 80 5A */ lis r3, lbl_805A6860@ha
/* 803637C4 00360724 38 00 00 04 */ li r0, 4
/* 803637C8 00360728 3B E3 68 60 */ addi r31, r3, lbl_805A6860@l
/* 803637CC 0036072C 3B C0 00 00 */ li r30, 0
/* 803637D0 00360730 7C 09 03 A6 */ mtctr r0
lbl_803637D4:
/* 803637D4 00360734 38 1F 00 80 */ addi r0, r31, 0x80
/* 803637D8 00360738 7C 00 E8 40 */ cmplw r0, r29
/* 803637DC 0036073C 40 82 01 70 */ bne lbl_8036394C
/* 803637E0 00360740 88 1F 00 70 */ lbz r0, 0x70(r31)
/* 803637E4 00360744 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 803637E8 00360748 40 82 01 64 */ bne lbl_8036394C
/* 803637EC 0036074C 48 01 DE 75 */ bl OSDisableInterrupts
/* 803637F0 00360750 7C 03 00 D0 */ neg r0, r3
/* 803637F4 00360754 2C 1C 00 00 */ cmpwi r28, 0
/* 803637F8 00360758 7C 00 1B 78 */ or r0, r0, r3
/* 803637FC 0036075C 54 00 0F FE */ srwi r0, r0, 0x1f
/* 80363800 00360760 98 01 00 20 */ stb r0, 0x20(r1)
/* 80363804 00360764 40 81 00 14 */ ble lbl_80363818
/* 80363808 00360768 7F E3 FB 78 */ mr r3, r31
/* 8036380C 0036076C 48 00 10 65 */ bl sub_80364870
/* 80363810 00360770 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80363814 00360774 40 82 00 34 */ bne lbl_80363848
lbl_80363818:
/* 80363818 00360778 38 61 01 00 */ addi r3, r1, 0x100
/* 8036381C 0036077C 38 80 00 00 */ li r4, 0
/* 80363820 00360780 48 00 11 2D */ bl __ct__17CDSPStreamManagerFv
/* 80363824 00360784 7F E3 FB 78 */ mr r3, r31
/* 80363828 00360788 38 81 01 00 */ addi r4, r1, 0x100
/* 8036382C 0036078C 48 00 0E B9 */ bl __as__17CDSPStreamManagerFRC17CDSPStreamManager
/* 80363830 00360790 34 61 01 60 */ addic. r3, r1, 0x160
/* 80363834 00360794 41 82 00 08 */ beq lbl_8036383C
/* 80363838 00360798 4B FD A2 A9 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_8036383C:
/* 8036383C 0036079C 88 61 00 20 */ lbz r3, 0x20(r1)
/* 80363840 003607A0 48 01 DE 49 */ bl OSRestoreInterrupts
/* 80363844 003607A4 48 00 01 14 */ b lbl_80363958
lbl_80363848:
/* 80363848 003607A8 88 1F 00 70 */ lbz r0, 0x70(r31)
/* 8036384C 003607AC 38 60 00 02 */ li r3, 2
/* 80363850 003607B0 50 60 26 B6 */ rlwimi r0, r3, 4, 0x1a, 0x1b
/* 80363854 003607B4 38 60 FF FF */ li r3, -1
/* 80363858 003607B8 98 1F 00 70 */ stb r0, 0x70(r31)
/* 8036385C 003607BC 88 1F 00 72 */ lbz r0, 0x72(r31)
/* 80363860 003607C0 7C 00 07 74 */ extsb r0, r0
/* 80363864 003607C4 2C 00 FF FF */ cmpwi r0, -1
/* 80363868 003607C8 41 82 00 0C */ beq lbl_80363874
/* 8036386C 003607CC 7C 03 03 78 */ mr r3, r0
/* 80363870 003607D0 48 00 00 18 */ b lbl_80363888
lbl_80363874:
/* 80363874 003607D4 88 1F 00 71 */ lbz r0, 0x71(r31)
/* 80363878 003607D8 7C 00 07 74 */ extsb r0, r0
/* 8036387C 003607DC 2C 00 FF FF */ cmpwi r0, -1
/* 80363880 003607E0 41 82 00 08 */ beq lbl_80363888
/* 80363884 003607E4 7C 03 03 78 */ mr r3, r0
lbl_80363888:
/* 80363888 003607E8 2C 03 FF FF */ cmpwi r3, -1
/* 8036388C 003607EC 41 82 00 AC */ beq lbl_80363938
/* 80363890 003607F0 1C A3 00 C0 */ mulli r5, r3, 0xc0
/* 80363894 003607F4 3C 80 80 5A */ lis r4, lbl_805A6860@ha
/* 80363898 003607F8 38 04 68 60 */ addi r0, r4, lbl_805A6860@l
/* 8036389C 003607FC 7C A0 2A 14 */ add r5, r0, r5
/* 803638A0 00360800 88 85 00 70 */ lbz r4, 0x70(r5)
/* 803638A4 00360804 54 80 CF FF */ rlwinm. r0, r4, 0x19, 0x1f, 0x1f
/* 803638A8 00360808 54 86 E7 BE */ rlwinm r6, r4, 0x1c, 0x1e, 0x1f
/* 803638AC 0036080C 40 82 00 2C */ bne lbl_803638D8
/* 803638B0 00360810 2C 06 00 00 */ cmpwi r6, 0
/* 803638B4 00360814 41 82 00 24 */ beq lbl_803638D8
/* 803638B8 00360818 88 85 00 71 */ lbz r4, 0x71(r5)
/* 803638BC 0036081C 7C 80 07 74 */ extsb r0, r4
/* 803638C0 00360820 7C 1E 00 00 */ cmpw r30, r0
/* 803638C4 00360824 41 82 00 44 */ beq lbl_80363908
/* 803638C8 00360828 88 05 00 72 */ lbz r0, 0x72(r5)
/* 803638CC 0036082C 7C 00 07 74 */ extsb r0, r0
/* 803638D0 00360830 7C 1E 00 00 */ cmpw r30, r0
/* 803638D4 00360834 41 82 00 34 */ beq lbl_80363908
lbl_803638D8:
/* 803638D8 00360838 38 61 00 40 */ addi r3, r1, 0x40
/* 803638DC 0036083C 38 80 00 00 */ li r4, 0
/* 803638E0 00360840 48 00 10 6D */ bl __ct__17CDSPStreamManagerFv
/* 803638E4 00360844 7F E3 FB 78 */ mr r3, r31
/* 803638E8 00360848 38 81 00 40 */ addi r4, r1, 0x40
/* 803638EC 0036084C 48 00 0D F9 */ bl __as__17CDSPStreamManagerFRC17CDSPStreamManager
/* 803638F0 00360850 34 61 00 A0 */ addic. r3, r1, 0xa0
/* 803638F4 00360854 41 82 00 08 */ beq lbl_803638FC
/* 803638F8 00360858 4B FD A1 E9 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_803638FC:
/* 803638FC 0036085C 88 61 00 20 */ lbz r3, 0x20(r1)
/* 80363900 00360860 48 01 DD 89 */ bl OSRestoreInterrupts
/* 80363904 00360864 48 00 00 54 */ b lbl_80363958
lbl_80363908:
/* 80363908 00360868 2C 06 00 01 */ cmpwi r6, 1
/* 8036390C 0036086C 40 82 00 10 */ bne lbl_8036391C
/* 80363910 00360870 88 61 00 20 */ lbz r3, 0x20(r1)
/* 80363914 00360874 48 01 DD 75 */ bl OSRestoreInterrupts
/* 80363918 00360878 48 00 00 40 */ b lbl_80363958
lbl_8036391C:
/* 8036391C 0036087C 7C 80 07 74 */ extsb r0, r4
/* 80363920 00360880 2C 00 FF FF */ cmpwi r0, -1
/* 80363924 00360884 41 82 00 14 */ beq lbl_80363938
/* 80363928 00360888 4B FF FB B9 */ bl AllocateStream__17CDSPStreamManagerFv
/* 8036392C 0036088C 88 61 00 20 */ lbz r3, 0x20(r1)
/* 80363930 00360890 48 01 DD 59 */ bl OSRestoreInterrupts
/* 80363934 00360894 48 00 00 24 */ b lbl_80363958
lbl_80363938:
/* 80363938 00360898 7F C3 F3 78 */ mr r3, r30
/* 8036393C 0036089C 4B FF FB A5 */ bl AllocateStream__17CDSPStreamManagerFv
/* 80363940 003608A0 88 61 00 20 */ lbz r3, 0x20(r1)
/* 80363944 003608A4 48 01 DD 45 */ bl OSRestoreInterrupts
/* 80363948 003608A8 48 00 00 10 */ b lbl_80363958
lbl_8036394C:
/* 8036394C 003608AC 3B FF 00 C0 */ addi r31, r31, 0xc0
/* 80363950 003608B0 3B DE 00 01 */ addi r30, r30, 1
/* 80363954 003608B4 42 00 FE 80 */ bdnz lbl_803637D4
lbl_80363958:
/* 80363958 003608B8 81 41 00 00 */ lwz r10, 0(r1)
/* 8036395C 003608BC 80 0A 00 04 */ lwz r0, 4(r10)
/* 80363960 003608C0 83 EA FF FC */ lwz r31, -4(r10)
/* 80363964 003608C4 83 CA FF F8 */ lwz r30, -8(r10)
/* 80363968 003608C8 83 AA FF F4 */ lwz r29, -0xc(r10)
/* 8036396C 003608CC 83 8A FF F0 */ lwz r28, -0x10(r10)
/* 80363970 003608D0 7C 08 03 A6 */ mtlr r0
/* 80363974 003608D4 7D 41 53 78 */ mr r1, r10
2022-07-14 05:48:03 +00:00
/* 80363978 003608D8 4E 80 00 20 */ blr
2022-04-16 07:50:32 +00:00
.global GetStreamState__17CDSPStreamManagerFi
GetStreamState__17CDSPStreamManagerFi:
/* 8036397C 003608DC 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80363980 003608E0 7C 08 02 A6 */ mflr r0
/* 80363984 003608E4 90 01 00 24 */ stw r0, 0x24(r1)
/* 80363988 003608E8 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8036398C 003608EC 7C 7F 1B 78 */ mr r31, r3
/* 80363990 003608F0 48 01 DC D1 */ bl OSDisableInterrupts
/* 80363994 003608F4 7C 03 00 D0 */ neg r0, r3
/* 80363998 003608F8 7C 00 1B 78 */ or r0, r0, r3
/* 8036399C 003608FC 7F E3 FB 78 */ mr r3, r31
/* 803639A0 00360900 54 00 0F FE */ srwi r0, r0, 0x1f
/* 803639A4 00360904 98 01 00 08 */ stb r0, 8(r1)
/* 803639A8 00360908 48 00 05 21 */ bl FindClaimedStreamIdx__17CDSPStreamManagerFi
/* 803639AC 0036090C 2C 03 FF FF */ cmpwi r3, -1
/* 803639B0 00360910 40 82 00 14 */ bne lbl_803639C4
/* 803639B4 00360914 88 61 00 08 */ lbz r3, 8(r1)
/* 803639B8 00360918 48 01 DC D1 */ bl OSRestoreInterrupts
/* 803639BC 0036091C 38 60 00 01 */ li r3, 1
/* 803639C0 00360920 48 00 00 78 */ b lbl_80363A38
lbl_803639C4:
/* 803639C4 00360924 1C 83 00 C0 */ mulli r4, r3, 0xc0
/* 803639C8 00360928 3C 60 80 5A */ lis r3, lbl_805A6860@ha
/* 803639CC 0036092C 38 03 68 60 */ addi r0, r3, lbl_805A6860@l
/* 803639D0 00360930 7C 60 22 14 */ add r3, r0, r4
/* 803639D4 00360934 88 03 00 70 */ lbz r0, 0x70(r3)
/* 803639D8 00360938 54 00 E7 BE */ rlwinm r0, r0, 0x1c, 0x1e, 0x1f
/* 803639DC 0036093C 2C 00 00 01 */ cmpwi r0, 1
/* 803639E0 00360940 41 82 00 4C */ beq lbl_80363A2C
/* 803639E4 00360944 40 80 00 10 */ bge lbl_803639F4
/* 803639E8 00360948 2C 00 00 00 */ cmpwi r0, 0
/* 803639EC 0036094C 40 80 00 14 */ bge lbl_80363A00
/* 803639F0 00360950 48 00 00 3C */ b lbl_80363A2C
lbl_803639F4:
/* 803639F4 00360954 2C 00 00 03 */ cmpwi r0, 3
/* 803639F8 00360958 40 80 00 34 */ bge lbl_80363A2C
/* 803639FC 0036095C 48 00 00 14 */ b lbl_80363A10
lbl_80363A00:
/* 80363A00 00360960 88 61 00 08 */ lbz r3, 8(r1)
/* 80363A04 00360964 48 01 DC 85 */ bl OSRestoreInterrupts
/* 80363A08 00360968 38 60 00 01 */ li r3, 1
/* 80363A0C 0036096C 48 00 00 2C */ b lbl_80363A38
lbl_80363A10:
/* 80363A10 00360970 A0 03 00 0C */ lhz r0, 0xc(r3)
/* 80363A14 00360974 88 61 00 08 */ lbz r3, 8(r1)
/* 80363A18 00360978 7C 00 00 34 */ cntlzw r0, r0
/* 80363A1C 0036097C 54 1F D9 7E */ srwi r31, r0, 5
/* 80363A20 00360980 48 01 DC 69 */ bl OSRestoreInterrupts
/* 80363A24 00360984 7F E3 FB 78 */ mr r3, r31
/* 80363A28 00360988 48 00 00 10 */ b lbl_80363A38
lbl_80363A2C:
/* 80363A2C 0036098C 88 61 00 08 */ lbz r3, 8(r1)
/* 80363A30 00360990 48 01 DC 59 */ bl OSRestoreInterrupts
/* 80363A34 00360994 38 60 00 02 */ li r3, 2
lbl_80363A38:
/* 80363A38 00360998 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80363A3C 0036099C 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80363A40 003609A0 7C 08 03 A6 */ mtlr r0
/* 80363A44 003609A4 38 21 00 20 */ addi r1, r1, 0x20
2022-07-14 05:48:03 +00:00
/* 80363A48 003609A8 4E 80 00 20 */ blr
2022-04-16 07:50:32 +00:00
.global CanStop__17CDSPStreamManagerFi
CanStop__17CDSPStreamManagerFi:
/* 80363A4C 003609AC 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80363A50 003609B0 7C 08 02 A6 */ mflr r0
/* 80363A54 003609B4 90 01 00 24 */ stw r0, 0x24(r1)
/* 80363A58 003609B8 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80363A5C 003609BC 7C 7F 1B 78 */ mr r31, r3
/* 80363A60 003609C0 48 01 DC 01 */ bl OSDisableInterrupts
/* 80363A64 003609C4 7C 03 00 D0 */ neg r0, r3
/* 80363A68 003609C8 7C 00 1B 78 */ or r0, r0, r3
/* 80363A6C 003609CC 7F E3 FB 78 */ mr r3, r31
/* 80363A70 003609D0 54 00 0F FE */ srwi r0, r0, 0x1f
/* 80363A74 003609D4 98 01 00 08 */ stb r0, 8(r1)
/* 80363A78 003609D8 48 00 04 51 */ bl FindClaimedStreamIdx__17CDSPStreamManagerFi
/* 80363A7C 003609DC 2C 03 FF FF */ cmpwi r3, -1
/* 80363A80 003609E0 40 82 00 14 */ bne lbl_80363A94
/* 80363A84 003609E4 88 61 00 08 */ lbz r3, 8(r1)
/* 80363A88 003609E8 48 01 DC 01 */ bl OSRestoreInterrupts
/* 80363A8C 003609EC 38 60 00 01 */ li r3, 1
/* 80363A90 003609F0 48 00 00 70 */ b lbl_80363B00
lbl_80363A94:
/* 80363A94 003609F4 1C 83 00 C0 */ mulli r4, r3, 0xc0
/* 80363A98 003609F8 3C 60 80 5A */ lis r3, lbl_805A6860@ha
/* 80363A9C 003609FC 38 03 68 60 */ addi r0, r3, lbl_805A6860@l
/* 80363AA0 00360A00 7C 60 22 14 */ add r3, r0, r4
/* 80363AA4 00360A04 88 03 00 70 */ lbz r0, 0x70(r3)
/* 80363AA8 00360A08 54 00 E7 BE */ rlwinm r0, r0, 0x1c, 0x1e, 0x1f
/* 80363AAC 00360A0C 2C 00 00 01 */ cmpwi r0, 1
/* 80363AB0 00360A10 40 82 00 14 */ bne lbl_80363AC4
/* 80363AB4 00360A14 88 61 00 08 */ lbz r3, 8(r1)
/* 80363AB8 00360A18 48 01 DB D1 */ bl OSRestoreInterrupts
/* 80363ABC 00360A1C 38 60 00 00 */ li r3, 0
/* 80363AC0 00360A20 48 00 00 40 */ b lbl_80363B00
lbl_80363AC4:
/* 80363AC4 00360A24 80 63 00 7C */ lwz r3, 0x7c(r3)
/* 80363AC8 00360A28 3C 03 00 01 */ addis r0, r3, 1
/* 80363ACC 00360A2C 28 00 FF FF */ cmplwi r0, 0xffff
/* 80363AD0 00360A30 40 82 00 14 */ bne lbl_80363AE4
/* 80363AD4 00360A34 88 61 00 08 */ lbz r3, 8(r1)
/* 80363AD8 00360A38 48 01 DB B1 */ bl OSRestoreInterrupts
/* 80363ADC 00360A3C 38 60 00 01 */ li r3, 1
/* 80363AE0 00360A40 48 00 00 20 */ b lbl_80363B00
lbl_80363AE4:
/* 80363AE4 00360A44 48 00 6D 65 */ bl IsStreamActive__10SDSPStreamFi
/* 80363AE8 00360A48 54 60 06 3E */ clrlwi r0, r3, 0x18
/* 80363AEC 00360A4C 88 61 00 08 */ lbz r3, 8(r1)
/* 80363AF0 00360A50 7C 00 00 34 */ cntlzw r0, r0
/* 80363AF4 00360A54 54 1F D9 7E */ srwi r31, r0, 5
/* 80363AF8 00360A58 48 01 DB 91 */ bl OSRestoreInterrupts
/* 80363AFC 00360A5C 7F E3 FB 78 */ mr r3, r31
lbl_80363B00:
/* 80363B00 00360A60 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80363B04 00360A64 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80363B08 00360A68 7C 08 03 A6 */ mtlr r0
/* 80363B0C 00360A6C 38 21 00 20 */ addi r1, r1, 0x20
2022-07-14 05:48:03 +00:00
/* 80363B10 00360A70 4E 80 00 20 */ blr
2022-04-16 07:50:32 +00:00
.global IsStreamAvailable__17CDSPStreamManagerFi
IsStreamAvailable__17CDSPStreamManagerFi:
/* 80363B14 00360A74 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80363B18 00360A78 7C 08 02 A6 */ mflr r0
/* 80363B1C 00360A7C 90 01 00 24 */ stw r0, 0x24(r1)
/* 80363B20 00360A80 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80363B24 00360A84 7C 7F 1B 78 */ mr r31, r3
/* 80363B28 00360A88 48 01 DB 39 */ bl OSDisableInterrupts
/* 80363B2C 00360A8C 7C 03 00 D0 */ neg r0, r3
/* 80363B30 00360A90 7C 00 1B 78 */ or r0, r0, r3
/* 80363B34 00360A94 7F E3 FB 78 */ mr r3, r31
/* 80363B38 00360A98 54 00 0F FE */ srwi r0, r0, 0x1f
/* 80363B3C 00360A9C 98 01 00 08 */ stb r0, 8(r1)
/* 80363B40 00360AA0 48 00 03 89 */ bl FindClaimedStreamIdx__17CDSPStreamManagerFi
/* 80363B44 00360AA4 2C 03 FF FF */ cmpwi r3, -1
/* 80363B48 00360AA8 40 82 00 14 */ bne lbl_80363B5C
/* 80363B4C 00360AAC 88 61 00 08 */ lbz r3, 8(r1)
/* 80363B50 00360AB0 48 01 DB 39 */ bl OSRestoreInterrupts
/* 80363B54 00360AB4 38 60 00 00 */ li r3, 0
/* 80363B58 00360AB8 48 00 00 68 */ b lbl_80363BC0
lbl_80363B5C:
/* 80363B5C 00360ABC 1C 83 00 C0 */ mulli r4, r3, 0xc0
/* 80363B60 00360AC0 3C 60 80 5A */ lis r3, lbl_805A6860@ha
/* 80363B64 00360AC4 38 03 68 60 */ addi r0, r3, lbl_805A6860@l
/* 80363B68 00360AC8 7C 60 22 14 */ add r3, r0, r4
/* 80363B6C 00360ACC 88 03 00 70 */ lbz r0, 0x70(r3)
/* 80363B70 00360AD0 54 00 E7 BE */ rlwinm r0, r0, 0x1c, 0x1e, 0x1f
/* 80363B74 00360AD4 2C 00 00 01 */ cmpwi r0, 1
/* 80363B78 00360AD8 40 82 00 14 */ bne lbl_80363B8C
/* 80363B7C 00360ADC 88 61 00 08 */ lbz r3, 8(r1)
/* 80363B80 00360AE0 48 01 DB 09 */ bl OSRestoreInterrupts
/* 80363B84 00360AE4 38 60 00 00 */ li r3, 0
/* 80363B88 00360AE8 48 00 00 38 */ b lbl_80363BC0
lbl_80363B8C:
/* 80363B8C 00360AEC 80 63 00 7C */ lwz r3, 0x7c(r3)
/* 80363B90 00360AF0 3C 03 00 01 */ addis r0, r3, 1
/* 80363B94 00360AF4 28 00 FF FF */ cmplwi r0, 0xffff
/* 80363B98 00360AF8 40 82 00 14 */ bne lbl_80363BAC
/* 80363B9C 00360AFC 88 61 00 08 */ lbz r3, 8(r1)
/* 80363BA0 00360B00 48 01 DA E9 */ bl OSRestoreInterrupts
/* 80363BA4 00360B04 38 60 00 00 */ li r3, 0
/* 80363BA8 00360B08 48 00 00 18 */ b lbl_80363BC0
lbl_80363BAC:
/* 80363BAC 00360B0C 48 00 6C 21 */ bl IsStreamAvailable__10SDSPStreamFi
/* 80363BB0 00360B10 7C 7F 1B 78 */ mr r31, r3
/* 80363BB4 00360B14 88 61 00 08 */ lbz r3, 8(r1)
/* 80363BB8 00360B18 48 01 DA D1 */ bl OSRestoreInterrupts
/* 80363BBC 00360B1C 7F E3 FB 78 */ mr r3, r31
lbl_80363BC0:
/* 80363BC0 00360B20 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80363BC4 00360B24 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80363BC8 00360B28 7C 08 03 A6 */ mtlr r0
/* 80363BCC 00360B2C 38 21 00 20 */ addi r1, r1, 0x20
2022-07-14 05:48:03 +00:00
/* 80363BD0 00360B30 4E 80 00 20 */ blr
2022-04-16 07:50:32 +00:00
.global UpdateVolume__17CDSPStreamManagerFic
UpdateVolume__17CDSPStreamManagerFic:
/* 80363BD4 00360B34 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80363BD8 00360B38 7C 08 02 A6 */ mflr r0
/* 80363BDC 00360B3C 90 01 00 24 */ stw r0, 0x24(r1)
/* 80363BE0 00360B40 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80363BE4 00360B44 7C 9F 23 78 */ mr r31, r4
/* 80363BE8 00360B48 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80363BEC 00360B4C 7C 7E 1B 78 */ mr r30, r3
/* 80363BF0 00360B50 48 01 DA 71 */ bl OSDisableInterrupts
/* 80363BF4 00360B54 7C 03 00 D0 */ neg r0, r3
/* 80363BF8 00360B58 7C 00 1B 78 */ or r0, r0, r3
/* 80363BFC 00360B5C 7F C3 F3 78 */ mr r3, r30
/* 80363C00 00360B60 54 00 0F FE */ srwi r0, r0, 0x1f
/* 80363C04 00360B64 98 01 00 08 */ stb r0, 8(r1)
/* 80363C08 00360B68 48 00 02 C1 */ bl FindClaimedStreamIdx__17CDSPStreamManagerFi
/* 80363C0C 00360B6C 2C 03 FF FF */ cmpwi r3, -1
/* 80363C10 00360B70 40 82 00 10 */ bne lbl_80363C20
/* 80363C14 00360B74 88 61 00 08 */ lbz r3, 8(r1)
/* 80363C18 00360B78 48 01 DA 71 */ bl OSRestoreInterrupts
/* 80363C1C 00360B7C 48 00 00 38 */ b lbl_80363C54
lbl_80363C20:
/* 80363C20 00360B80 1C 83 00 C0 */ mulli r4, r3, 0xc0
/* 80363C24 00360B84 3C 60 80 5A */ lis r3, lbl_805A6860@ha
/* 80363C28 00360B88 38 03 68 60 */ addi r0, r3, lbl_805A6860@l
/* 80363C2C 00360B8C 7C 60 22 14 */ add r3, r0, r4
/* 80363C30 00360B90 9B E3 00 73 */ stb r31, 0x73(r3)
/* 80363C34 00360B94 80 63 00 7C */ lwz r3, 0x7c(r3)
/* 80363C38 00360B98 3C 03 00 01 */ addis r0, r3, 1
/* 80363C3C 00360B9C 28 00 FF FF */ cmplwi r0, 0xffff
/* 80363C40 00360BA0 41 82 00 0C */ beq lbl_80363C4C
/* 80363C44 00360BA4 7F E4 FB 78 */ mr r4, r31
/* 80363C48 00360BA8 48 00 6C 7D */ bl UpdateVolume__10SDSPStreamFi
lbl_80363C4C:
/* 80363C4C 00360BAC 88 61 00 08 */ lbz r3, 8(r1)
/* 80363C50 00360BB0 48 01 DA 39 */ bl OSRestoreInterrupts
lbl_80363C54:
/* 80363C54 00360BB4 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80363C58 00360BB8 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80363C5C 00360BBC 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80363C60 00360BC0 7C 08 03 A6 */ mtlr r0
/* 80363C64 00360BC4 38 21 00 20 */ addi r1, r1, 0x20
2022-07-14 05:48:03 +00:00
/* 80363C68 00360BC8 4E 80 00 20 */ blr
2022-04-16 07:50:32 +00:00
.global __ct__14SDSPStreamInfoFRC17CDSPStreamManager
__ct__14SDSPStreamInfoFRC17CDSPStreamManager:
/* 80363C6C 00360BCC 94 21 FF B0 */ stwu r1, -0x50(r1)
/* 80363C70 00360BD0 7C 08 02 A6 */ mflr r0
/* 80363C74 00360BD4 38 A0 00 60 */ li r5, 0x60
/* 80363C78 00360BD8 90 01 00 54 */ stw r0, 0x54(r1)
/* 80363C7C 00360BDC 93 E1 00 4C */ stw r31, 0x4c(r1)
/* 80363C80 00360BE0 7C 7F 1B 78 */ mr r31, r3
/* 80363C84 00360BE4 80 C4 00 04 */ lwz r6, 4(r4)
/* 80363C88 00360BE8 A0 04 00 0C */ lhz r0, 0xc(r4)
/* 80363C8C 00360BEC 80 64 00 08 */ lwz r3, 8(r4)
/* 80363C90 00360BF0 54 C6 F8 74 */ rlwinm r6, r6, 0x1f, 1, 0x1a
/* 80363C94 00360BF4 80 E4 00 60 */ lwz r7, 0x60(r4)
/* 80363C98 00360BF8 28 00 00 00 */ cmplwi r0, 0
/* 80363C9C 00360BFC B0 61 00 0C */ sth r3, 0xc(r1)
/* 80363CA0 00360C00 90 E1 00 08 */ stw r7, 8(r1)
/* 80363CA4 00360C04 90 C1 00 14 */ stw r6, 0x14(r1)
/* 80363CA8 00360C08 90 A1 00 10 */ stw r5, 0x10(r1)
/* 80363CAC 00360C0C 41 82 00 38 */ beq lbl_80363CE4
/* 80363CB0 00360C10 80 04 00 14 */ lwz r0, 0x14(r4)
/* 80363CB4 00360C14 38 A0 00 01 */ li r5, 1
/* 80363CB8 00360C18 80 64 00 10 */ lwz r3, 0x10(r4)
/* 80363CBC 00360C1C 54 07 F8 74 */ rlwinm r7, r0, 0x1f, 1, 0x1a
/* 80363CC0 00360C20 98 A1 00 18 */ stb r5, 0x18(r1)
/* 80363CC4 00360C24 54 60 F8 74 */ rlwinm r0, r3, 0x1f, 1, 0x1a
/* 80363CC8 00360C28 7C 07 30 40 */ cmplw r7, r6
/* 80363CCC 00360C2C 90 01 00 1C */ stw r0, 0x1c(r1)
/* 80363CD0 00360C30 40 81 00 0C */ ble lbl_80363CDC
/* 80363CD4 00360C34 90 C1 00 20 */ stw r6, 0x20(r1)
/* 80363CD8 00360C38 48 00 00 1C */ b lbl_80363CF4
lbl_80363CDC:
/* 80363CDC 00360C3C 90 E1 00 20 */ stw r7, 0x20(r1)
/* 80363CE0 00360C40 48 00 00 14 */ b lbl_80363CF4
lbl_80363CE4:
/* 80363CE4 00360C44 38 00 00 00 */ li r0, 0
/* 80363CE8 00360C48 98 01 00 18 */ stb r0, 0x18(r1)
/* 80363CEC 00360C4C 90 01 00 1C */ stw r0, 0x1c(r1)
/* 80363CF0 00360C50 90 01 00 20 */ stw r0, 0x20(r1)
lbl_80363CF4:
/* 80363CF4 00360C54 38 61 00 24 */ addi r3, r1, 0x24
/* 80363CF8 00360C58 38 84 00 1C */ addi r4, r4, 0x1c
/* 80363CFC 00360C5C 38 A0 00 20 */ li r5, 0x20
/* 80363D00 00360C60 4B C9 F7 91 */ bl memcpy
/* 80363D04 00360C64 80 61 00 08 */ lwz r3, 8(r1)
/* 80363D08 00360C68 80 01 00 0C */ lwz r0, 0xc(r1)
/* 80363D0C 00360C6C 90 7F 00 00 */ stw r3, 0(r31)
/* 80363D10 00360C70 90 1F 00 04 */ stw r0, 4(r31)
/* 80363D14 00360C74 80 61 00 10 */ lwz r3, 0x10(r1)
/* 80363D18 00360C78 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80363D1C 00360C7C 90 7F 00 08 */ stw r3, 8(r31)
/* 80363D20 00360C80 90 1F 00 0C */ stw r0, 0xc(r31)
/* 80363D24 00360C84 80 61 00 18 */ lwz r3, 0x18(r1)
/* 80363D28 00360C88 80 01 00 1C */ lwz r0, 0x1c(r1)
/* 80363D2C 00360C8C 90 7F 00 10 */ stw r3, 0x10(r31)
/* 80363D30 00360C90 90 1F 00 14 */ stw r0, 0x14(r31)
/* 80363D34 00360C94 80 61 00 20 */ lwz r3, 0x20(r1)
/* 80363D38 00360C98 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80363D3C 00360C9C 90 7F 00 18 */ stw r3, 0x18(r31)
/* 80363D40 00360CA0 90 1F 00 1C */ stw r0, 0x1c(r31)
/* 80363D44 00360CA4 80 61 00 28 */ lwz r3, 0x28(r1)
/* 80363D48 00360CA8 80 01 00 2C */ lwz r0, 0x2c(r1)
/* 80363D4C 00360CAC 90 7F 00 20 */ stw r3, 0x20(r31)
/* 80363D50 00360CB0 90 1F 00 24 */ stw r0, 0x24(r31)
/* 80363D54 00360CB4 80 61 00 30 */ lwz r3, 0x30(r1)
/* 80363D58 00360CB8 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80363D5C 00360CBC 90 7F 00 28 */ stw r3, 0x28(r31)
/* 80363D60 00360CC0 90 1F 00 2C */ stw r0, 0x2c(r31)
/* 80363D64 00360CC4 80 61 00 38 */ lwz r3, 0x38(r1)
/* 80363D68 00360CC8 80 01 00 3C */ lwz r0, 0x3c(r1)
/* 80363D6C 00360CCC 90 7F 00 30 */ stw r3, 0x30(r31)
/* 80363D70 00360CD0 90 1F 00 34 */ stw r0, 0x34(r31)
/* 80363D74 00360CD4 80 01 00 40 */ lwz r0, 0x40(r1)
/* 80363D78 00360CD8 90 1F 00 38 */ stw r0, 0x38(r31)
/* 80363D7C 00360CDC 83 E1 00 4C */ lwz r31, 0x4c(r1)
/* 80363D80 00360CE0 80 01 00 54 */ lwz r0, 0x54(r1)
/* 80363D84 00360CE4 7C 08 03 A6 */ mtlr r0
/* 80363D88 00360CE8 38 21 00 50 */ addi r1, r1, 0x50
2022-07-14 05:48:03 +00:00
/* 80363D8C 00360CEC 4E 80 00 20 */ blr
2022-04-16 07:50:32 +00:00
.global StopStreaming__17CDSPStreamManagerFi
StopStreaming__17CDSPStreamManagerFi:
/* 80363D90 00360CF0 54 2B 06 FE */ clrlwi r11, r1, 0x1b
/* 80363D94 00360CF4 7C 2C 0B 78 */ mr r12, r1
/* 80363D98 00360CF8 21 6B FE 20 */ subfic r11, r11, -480
/* 80363D9C 00360CFC 7C 21 59 6E */ stwux r1, r1, r11
/* 80363DA0 00360D00 7C 08 02 A6 */ mflr r0
/* 80363DA4 00360D04 90 0C 00 04 */ stw r0, 4(r12)
/* 80363DA8 00360D08 93 EC FF FC */ stw r31, -4(r12)
/* 80363DAC 00360D0C 93 CC FF F8 */ stw r30, -8(r12)
/* 80363DB0 00360D10 7C 7E 1B 78 */ mr r30, r3
/* 80363DB4 00360D14 48 01 D8 AD */ bl OSDisableInterrupts
/* 80363DB8 00360D18 7C 03 00 D0 */ neg r0, r3
/* 80363DBC 00360D1C 7C 00 1B 78 */ or r0, r0, r3
/* 80363DC0 00360D20 7F C3 F3 78 */ mr r3, r30
/* 80363DC4 00360D24 54 00 0F FE */ srwi r0, r0, 0x1f
/* 80363DC8 00360D28 98 01 00 20 */ stb r0, 0x20(r1)
/* 80363DCC 00360D2C 48 00 00 FD */ bl FindClaimedStreamIdx__17CDSPStreamManagerFi
/* 80363DD0 00360D30 2C 03 FF FF */ cmpwi r3, -1
/* 80363DD4 00360D34 40 82 00 10 */ bne lbl_80363DE4
/* 80363DD8 00360D38 88 61 00 20 */ lbz r3, 0x20(r1)
/* 80363DDC 00360D3C 48 01 D8 AD */ bl OSRestoreInterrupts
/* 80363DE0 00360D40 48 00 00 CC */ b lbl_80363EAC
lbl_80363DE4:
/* 80363DE4 00360D44 1C 83 00 C0 */ mulli r4, r3, 0xc0
/* 80363DE8 00360D48 3C 60 80 5A */ lis r3, lbl_805A6860@ha
/* 80363DEC 00360D4C 38 03 68 60 */ addi r0, r3, lbl_805A6860@l
/* 80363DF0 00360D50 7F C0 22 14 */ add r30, r0, r4
/* 80363DF4 00360D54 88 7E 00 70 */ lbz r3, 0x70(r30)
/* 80363DF8 00360D58 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f
/* 80363DFC 00360D5C 41 82 00 10 */ beq lbl_80363E0C
/* 80363E00 00360D60 88 61 00 20 */ lbz r3, 0x20(r1)
/* 80363E04 00360D64 48 01 D8 85 */ bl OSRestoreInterrupts
/* 80363E08 00360D68 48 00 00 A4 */ b lbl_80363EAC
lbl_80363E0C:
/* 80363E0C 00360D6C 54 60 E7 BE */ rlwinm r0, r3, 0x1c, 0x1e, 0x1f
/* 80363E10 00360D70 2C 00 00 01 */ cmpwi r0, 1
/* 80363E14 00360D74 40 82 00 20 */ bne lbl_80363E34
/* 80363E18 00360D78 88 1E 00 70 */ lbz r0, 0x70(r30)
/* 80363E1C 00360D7C 38 60 00 01 */ li r3, 1
/* 80363E20 00360D80 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19
/* 80363E24 00360D84 88 61 00 20 */ lbz r3, 0x20(r1)
/* 80363E28 00360D88 98 1E 00 70 */ stb r0, 0x70(r30)
/* 80363E2C 00360D8C 48 01 D8 5D */ bl OSRestoreInterrupts
/* 80363E30 00360D90 48 00 00 7C */ b lbl_80363EAC
lbl_80363E34:
/* 80363E34 00360D94 8B FE 00 71 */ lbz r31, 0x71(r30)
/* 80363E38 00360D98 7F E0 07 74 */ extsb r0, r31
/* 80363E3C 00360D9C 2C 00 FF FF */ cmpwi r0, -1
/* 80363E40 00360DA0 41 82 00 38 */ beq lbl_80363E78
/* 80363E44 00360DA4 38 61 01 00 */ addi r3, r1, 0x100
/* 80363E48 00360DA8 38 80 00 00 */ li r4, 0
/* 80363E4C 00360DAC 48 00 0B 01 */ bl __ct__17CDSPStreamManagerFv
/* 80363E50 00360DB0 7F E0 07 74 */ extsb r0, r31
/* 80363E54 00360DB4 3C 60 80 5A */ lis r3, lbl_805A6860@ha
/* 80363E58 00360DB8 1C A0 00 C0 */ mulli r5, r0, 0xc0
/* 80363E5C 00360DBC 38 81 01 00 */ addi r4, r1, 0x100
/* 80363E60 00360DC0 38 03 68 60 */ addi r0, r3, lbl_805A6860@l
/* 80363E64 00360DC4 7C 60 2A 14 */ add r3, r0, r5
/* 80363E68 00360DC8 48 00 08 7D */ bl __as__17CDSPStreamManagerFRC17CDSPStreamManager
/* 80363E6C 00360DCC 34 61 01 60 */ addic. r3, r1, 0x160
/* 80363E70 00360DD0 41 82 00 08 */ beq lbl_80363E78
/* 80363E74 00360DD4 4B FD 9C 6D */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_80363E78:
/* 80363E78 00360DD8 80 7E 00 7C */ lwz r3, 0x7c(r30)
/* 80363E7C 00360DDC 48 00 6B 49 */ bl Silence__10SDSPStreamFv
/* 80363E80 00360DE0 38 61 00 40 */ addi r3, r1, 0x40
/* 80363E84 00360DE4 38 80 00 00 */ li r4, 0
/* 80363E88 00360DE8 48 00 0A C5 */ bl __ct__17CDSPStreamManagerFv
/* 80363E8C 00360DEC 7F C3 F3 78 */ mr r3, r30
/* 80363E90 00360DF0 38 81 00 40 */ addi r4, r1, 0x40
/* 80363E94 00360DF4 48 00 08 51 */ bl __as__17CDSPStreamManagerFRC17CDSPStreamManager
/* 80363E98 00360DF8 34 61 00 A0 */ addic. r3, r1, 0xa0
/* 80363E9C 00360DFC 41 82 00 08 */ beq lbl_80363EA4
/* 80363EA0 00360E00 4B FD 9C 41 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_80363EA4:
/* 80363EA4 00360E04 88 61 00 20 */ lbz r3, 0x20(r1)
/* 80363EA8 00360E08 48 01 D7 E1 */ bl OSRestoreInterrupts
lbl_80363EAC:
/* 80363EAC 00360E0C 81 41 00 00 */ lwz r10, 0(r1)
/* 80363EB0 00360E10 80 0A 00 04 */ lwz r0, 4(r10)
/* 80363EB4 00360E14 83 EA FF FC */ lwz r31, -4(r10)
/* 80363EB8 00360E18 83 CA FF F8 */ lwz r30, -8(r10)
/* 80363EBC 00360E1C 7C 08 03 A6 */ mtlr r0
/* 80363EC0 00360E20 7D 41 53 78 */ mr r1, r10
2022-07-14 05:48:03 +00:00
/* 80363EC4 00360E24 4E 80 00 20 */ blr
2022-04-16 07:50:32 +00:00
.global FindClaimedStreamIdx__17CDSPStreamManagerFi
FindClaimedStreamIdx__17CDSPStreamManagerFi:
/* 80363EC8 00360E28 3C 80 80 5A */ lis r4, lbl_805A6860@ha
/* 80363ECC 00360E2C 38 84 68 60 */ addi r4, r4, lbl_805A6860@l
/* 80363ED0 00360E30 88 04 00 70 */ lbz r0, 0x70(r4)
/* 80363ED4 00360E34 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 80363ED8 00360E38 40 82 00 18 */ bne lbl_80363EF0
/* 80363EDC 00360E3C 80 04 00 78 */ lwz r0, 0x78(r4)
/* 80363EE0 00360E40 7C 03 00 00 */ cmpw r3, r0
/* 80363EE4 00360E44 40 82 00 0C */ bne lbl_80363EF0
/* 80363EE8 00360E48 38 60 00 00 */ li r3, 0
2022-07-14 05:48:03 +00:00
/* 80363EEC 00360E4C 4E 80 00 20 */ blr
2022-04-16 07:50:32 +00:00
lbl_80363EF0:
/* 80363EF0 00360E50 38 84 00 C0 */ addi r4, r4, 0xc0
/* 80363EF4 00360E54 88 04 00 70 */ lbz r0, 0x70(r4)
/* 80363EF8 00360E58 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 80363EFC 00360E5C 40 82 00 18 */ bne lbl_80363F14
/* 80363F00 00360E60 80 04 00 78 */ lwz r0, 0x78(r4)
/* 80363F04 00360E64 7C 03 00 00 */ cmpw r3, r0
/* 80363F08 00360E68 40 82 00 0C */ bne lbl_80363F14
/* 80363F0C 00360E6C 38 60 00 01 */ li r3, 1
2022-07-14 05:48:03 +00:00
/* 80363F10 00360E70 4E 80 00 20 */ blr
2022-04-16 07:50:32 +00:00
lbl_80363F14:
/* 80363F14 00360E74 88 04 01 30 */ lbz r0, 0x130(r4)
/* 80363F18 00360E78 38 84 00 C0 */ addi r4, r4, 0xc0
/* 80363F1C 00360E7C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 80363F20 00360E80 40 82 00 18 */ bne lbl_80363F38
/* 80363F24 00360E84 80 04 00 78 */ lwz r0, 0x78(r4)
/* 80363F28 00360E88 7C 03 00 00 */ cmpw r3, r0
/* 80363F2C 00360E8C 40 82 00 0C */ bne lbl_80363F38
/* 80363F30 00360E90 38 60 00 02 */ li r3, 2
2022-07-14 05:48:03 +00:00
/* 80363F34 00360E94 4E 80 00 20 */ blr
2022-04-16 07:50:32 +00:00
lbl_80363F38:
/* 80363F38 00360E98 88 04 01 30 */ lbz r0, 0x130(r4)
/* 80363F3C 00360E9C 38 84 00 C0 */ addi r4, r4, 0xc0
/* 80363F40 00360EA0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 80363F44 00360EA4 40 82 00 18 */ bne lbl_80363F5C
/* 80363F48 00360EA8 80 04 00 78 */ lwz r0, 0x78(r4)
/* 80363F4C 00360EAC 7C 03 00 00 */ cmpw r3, r0
/* 80363F50 00360EB0 40 82 00 0C */ bne lbl_80363F5C
/* 80363F54 00360EB4 38 60 00 03 */ li r3, 3
2022-07-14 05:48:03 +00:00
/* 80363F58 00360EB8 4E 80 00 20 */ blr
2022-04-16 07:50:32 +00:00
lbl_80363F5C:
/* 80363F5C 00360EBC 38 60 FF FF */ li r3, -1
2022-07-14 05:48:03 +00:00
/* 80363F60 00360EC0 4E 80 00 20 */ blr
2022-04-16 07:50:32 +00:00
.global GetFreeHandleId__17CDSPStreamManagerFv
GetFreeHandleId__17CDSPStreamManagerFv:
/* 80363F64 00360EC4 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80363F68 00360EC8 7C 08 02 A6 */ mflr r0
/* 80363F6C 00360ECC 90 01 00 24 */ stw r0, 0x24(r1)
/* 80363F70 00360ED0 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80363F74 00360ED4 48 01 D6 ED */ bl OSDisableInterrupts
/* 80363F78 00360ED8 7C 03 00 D0 */ neg r0, r3
/* 80363F7C 00360EDC 7C 00 1B 78 */ or r0, r0, r3
/* 80363F80 00360EE0 54 00 0F FE */ srwi r0, r0, 0x1f
/* 80363F84 00360EE4 98 01 00 08 */ stb r0, 8(r1)
lbl_80363F88:
/* 80363F88 00360EE8 80 6D AA B8 */ lwz r3, lbl_805A9678@sda21(r13)
/* 80363F8C 00360EEC 38 80 00 01 */ li r4, 1
/* 80363F90 00360EF0 3B E3 00 01 */ addi r31, r3, 1
/* 80363F94 00360EF4 2C 1F FF FF */ cmpwi r31, -1
/* 80363F98 00360EF8 93 ED AA B8 */ stw r31, lbl_805A9678@sda21(r13)
/* 80363F9C 00360EFC 40 82 00 0C */ bne lbl_80363FA8
/* 80363FA0 00360F00 38 80 00 00 */ li r4, 0
/* 80363FA4 00360F04 48 00 00 94 */ b lbl_80364038
lbl_80363FA8:
/* 80363FA8 00360F08 3C 60 80 5A */ lis r3, lbl_805A6860@ha
/* 80363FAC 00360F0C 38 63 68 60 */ addi r3, r3, lbl_805A6860@l
/* 80363FB0 00360F10 88 03 00 70 */ lbz r0, 0x70(r3)
/* 80363FB4 00360F14 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 80363FB8 00360F18 40 82 00 18 */ bne lbl_80363FD0
/* 80363FBC 00360F1C 80 03 00 78 */ lwz r0, 0x78(r3)
/* 80363FC0 00360F20 7C 1F 00 00 */ cmpw r31, r0
/* 80363FC4 00360F24 40 82 00 0C */ bne lbl_80363FD0
/* 80363FC8 00360F28 38 80 00 00 */ li r4, 0
/* 80363FCC 00360F2C 48 00 00 6C */ b lbl_80364038
lbl_80363FD0:
/* 80363FD0 00360F30 38 63 00 C0 */ addi r3, r3, 0xc0
/* 80363FD4 00360F34 88 03 00 70 */ lbz r0, 0x70(r3)
/* 80363FD8 00360F38 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 80363FDC 00360F3C 40 82 00 18 */ bne lbl_80363FF4
/* 80363FE0 00360F40 80 03 00 78 */ lwz r0, 0x78(r3)
/* 80363FE4 00360F44 7C 1F 00 00 */ cmpw r31, r0
/* 80363FE8 00360F48 40 82 00 0C */ bne lbl_80363FF4
/* 80363FEC 00360F4C 38 80 00 00 */ li r4, 0
/* 80363FF0 00360F50 48 00 00 48 */ b lbl_80364038
lbl_80363FF4:
/* 80363FF4 00360F54 88 03 01 30 */ lbz r0, 0x130(r3)
/* 80363FF8 00360F58 38 63 00 C0 */ addi r3, r3, 0xc0
/* 80363FFC 00360F5C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 80364000 00360F60 40 82 00 18 */ bne lbl_80364018
/* 80364004 00360F64 80 03 00 78 */ lwz r0, 0x78(r3)
/* 80364008 00360F68 7C 1F 00 00 */ cmpw r31, r0
/* 8036400C 00360F6C 40 82 00 0C */ bne lbl_80364018
/* 80364010 00360F70 38 80 00 00 */ li r4, 0
/* 80364014 00360F74 48 00 00 24 */ b lbl_80364038
lbl_80364018:
/* 80364018 00360F78 88 03 01 30 */ lbz r0, 0x130(r3)
/* 8036401C 00360F7C 38 63 00 C0 */ addi r3, r3, 0xc0
/* 80364020 00360F80 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 80364024 00360F84 40 82 00 14 */ bne lbl_80364038
/* 80364028 00360F88 80 03 00 78 */ lwz r0, 0x78(r3)
/* 8036402C 00360F8C 7C 1F 00 00 */ cmpw r31, r0
/* 80364030 00360F90 40 82 00 08 */ bne lbl_80364038
/* 80364034 00360F94 38 80 00 00 */ li r4, 0
lbl_80364038:
/* 80364038 00360F98 54 80 06 3F */ clrlwi. r0, r4, 0x18
/* 8036403C 00360F9C 41 82 FF 4C */ beq lbl_80363F88
/* 80364040 00360FA0 88 61 00 08 */ lbz r3, 8(r1)
/* 80364044 00360FA4 48 01 D6 45 */ bl OSRestoreInterrupts
/* 80364048 00360FA8 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8036404C 00360FAC 7F E3 FB 78 */ mr r3, r31
/* 80364050 00360FB0 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80364054 00360FB4 7C 08 03 A6 */ mtlr r0
/* 80364058 00360FB8 38 21 00 20 */ addi r1, r1, 0x20
2022-07-14 05:48:03 +00:00
/* 8036405C 00360FBC 4E 80 00 20 */ blr
2022-04-16 07:50:32 +00:00
.global FindUnclaimedStereoPair__17CDSPStreamManagerFRiRi
FindUnclaimedStereoPair__17CDSPStreamManagerFRiRi:
/* 80364060 00360FC0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80364064 00360FC4 7C 08 02 A6 */ mflr r0
/* 80364068 00360FC8 90 01 00 14 */ stw r0, 0x14(r1)
/* 8036406C 00360FCC 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80364070 00360FD0 7C 9F 23 78 */ mr r31, r4
/* 80364074 00360FD4 93 C1 00 08 */ stw r30, 8(r1)
/* 80364078 00360FD8 7C 7E 1B 78 */ mr r30, r3
/* 8036407C 00360FDC 48 00 00 D1 */ bl FindUnclaimedStreamIdx__17CDSPStreamManagerFv
/* 80364080 00360FE0 3C 80 80 5A */ lis r4, lbl_805A6860@ha
/* 80364084 00360FE4 38 A0 00 00 */ li r5, 0
/* 80364088 00360FE8 38 84 68 60 */ addi r4, r4, lbl_805A6860@l
/* 8036408C 00360FEC 88 04 00 70 */ lbz r0, 0x70(r4)
/* 80364090 00360FF0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 80364094 00360FF4 41 82 00 1C */ beq lbl_803640B0
/* 80364098 00360FF8 7C 03 28 00 */ cmpw r3, r5
/* 8036409C 00360FFC 41 82 00 14 */ beq lbl_803640B0
/* 803640A0 00361000 90 7E 00 00 */ stw r3, 0(r30)
/* 803640A4 00361004 38 60 00 01 */ li r3, 1
/* 803640A8 00361008 90 BF 00 00 */ stw r5, 0(r31)
/* 803640AC 0036100C 48 00 00 88 */ b lbl_80364134
lbl_803640B0:
/* 803640B0 00361010 38 84 00 C0 */ addi r4, r4, 0xc0
/* 803640B4 00361014 38 A0 00 01 */ li r5, 1
/* 803640B8 00361018 88 04 00 70 */ lbz r0, 0x70(r4)
/* 803640BC 0036101C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 803640C0 00361020 41 82 00 1C */ beq lbl_803640DC
/* 803640C4 00361024 7C 03 28 00 */ cmpw r3, r5
/* 803640C8 00361028 41 82 00 14 */ beq lbl_803640DC
/* 803640CC 0036102C 90 7E 00 00 */ stw r3, 0(r30)
/* 803640D0 00361030 38 60 00 01 */ li r3, 1
/* 803640D4 00361034 90 BF 00 00 */ stw r5, 0(r31)
/* 803640D8 00361038 48 00 00 5C */ b lbl_80364134
lbl_803640DC:
/* 803640DC 0036103C 88 04 01 30 */ lbz r0, 0x130(r4)
/* 803640E0 00361040 38 A0 00 02 */ li r5, 2
/* 803640E4 00361044 38 84 00 C0 */ addi r4, r4, 0xc0
/* 803640E8 00361048 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 803640EC 0036104C 41 82 00 1C */ beq lbl_80364108
/* 803640F0 00361050 7C 03 28 00 */ cmpw r3, r5
/* 803640F4 00361054 41 82 00 14 */ beq lbl_80364108
/* 803640F8 00361058 90 7E 00 00 */ stw r3, 0(r30)
/* 803640FC 0036105C 38 60 00 01 */ li r3, 1
/* 80364100 00361060 90 BF 00 00 */ stw r5, 0(r31)
/* 80364104 00361064 48 00 00 30 */ b lbl_80364134
lbl_80364108:
/* 80364108 00361068 88 04 01 30 */ lbz r0, 0x130(r4)
/* 8036410C 0036106C 38 A0 00 03 */ li r5, 3
/* 80364110 00361070 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 80364114 00361074 41 82 00 1C */ beq lbl_80364130
/* 80364118 00361078 7C 03 28 00 */ cmpw r3, r5
/* 8036411C 0036107C 41 82 00 14 */ beq lbl_80364130
/* 80364120 00361080 90 7E 00 00 */ stw r3, 0(r30)
/* 80364124 00361084 38 60 00 01 */ li r3, 1
/* 80364128 00361088 90 BF 00 00 */ stw r5, 0(r31)
/* 8036412C 0036108C 48 00 00 08 */ b lbl_80364134
lbl_80364130:
/* 80364130 00361090 38 60 00 00 */ li r3, 0
lbl_80364134:
/* 80364134 00361094 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80364138 00361098 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8036413C 0036109C 83 C1 00 08 */ lwz r30, 8(r1)
/* 80364140 003610A0 7C 08 03 A6 */ mtlr r0
/* 80364144 003610A4 38 21 00 10 */ addi r1, r1, 0x10
2022-07-14 05:48:03 +00:00
/* 80364148 003610A8 4E 80 00 20 */ blr
2022-04-16 07:50:32 +00:00
.global FindUnclaimedStreamIdx__17CDSPStreamManagerFv
FindUnclaimedStreamIdx__17CDSPStreamManagerFv:
/* 8036414C 003610AC 3C 60 80 5A */ lis r3, lbl_805A6860@ha
/* 80364150 003610B0 38 63 68 60 */ addi r3, r3, lbl_805A6860@l
/* 80364154 003610B4 88 03 00 70 */ lbz r0, 0x70(r3)
/* 80364158 003610B8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8036415C 003610BC 41 82 00 0C */ beq lbl_80364168
/* 80364160 003610C0 38 60 00 00 */ li r3, 0
2022-07-14 05:48:03 +00:00
/* 80364164 003610C4 4E 80 00 20 */ blr
2022-04-16 07:50:32 +00:00
lbl_80364168:
/* 80364168 003610C8 38 63 00 C0 */ addi r3, r3, 0xc0
/* 8036416C 003610CC 88 03 00 70 */ lbz r0, 0x70(r3)
/* 80364170 003610D0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 80364174 003610D4 41 82 00 0C */ beq lbl_80364180
/* 80364178 003610D8 38 60 00 01 */ li r3, 1
2022-07-14 05:48:03 +00:00
/* 8036417C 003610DC 4E 80 00 20 */ blr
2022-04-16 07:50:32 +00:00
lbl_80364180:
/* 80364180 003610E0 88 03 01 30 */ lbz r0, 0x130(r3)
/* 80364184 003610E4 38 63 00 C0 */ addi r3, r3, 0xc0
/* 80364188 003610E8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8036418C 003610EC 41 82 00 0C */ beq lbl_80364198
/* 80364190 003610F0 38 60 00 02 */ li r3, 2
2022-07-14 05:48:03 +00:00
/* 80364194 003610F4 4E 80 00 20 */ blr
2022-04-16 07:50:32 +00:00
lbl_80364198:
/* 80364198 003610F8 88 03 01 30 */ lbz r0, 0x130(r3)
/* 8036419C 003610FC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 803641A0 00361100 41 82 00 0C */ beq lbl_803641AC
/* 803641A4 00361104 38 60 00 03 */ li r3, 3
2022-07-14 05:48:03 +00:00
/* 803641A8 00361108 4E 80 00 20 */ blr
2022-04-16 07:50:32 +00:00
lbl_803641AC:
/* 803641AC 0036110C 38 60 FF FF */ li r3, -1
2022-07-14 05:48:03 +00:00
/* 803641B0 00361110 4E 80 00 20 */ blr
2022-04-16 07:50:32 +00:00
.global StartStreaming__17CDSPStreamManagerFRCQ24rstl6stringcb
StartStreaming__17CDSPStreamManagerFRCQ24rstl6stringcb:
/* 803641B4 00361114 54 2B 06 FE */ clrlwi r11, r1, 0x1b
/* 803641B8 00361118 7C 2C 0B 78 */ mr r12, r1
/* 803641BC 0036111C 21 6B FB 00 */ subfic r11, r11, -1280
/* 803641C0 00361120 7C 21 59 6E */ stwux r1, r1, r11
/* 803641C4 00361124 7C 08 02 A6 */ mflr r0
/* 803641C8 00361128 90 0C 00 04 */ stw r0, 4(r12)
/* 803641CC 0036112C 93 EC FF FC */ stw r31, -4(r12)
/* 803641D0 00361130 93 CC FF F8 */ stw r30, -8(r12)
/* 803641D4 00361134 7C BE 2B 78 */ mr r30, r5
/* 803641D8 00361138 93 AC FF F4 */ stw r29, -0xc(r12)
/* 803641DC 0036113C 7C 9D 23 78 */ mr r29, r4
/* 803641E0 00361140 93 8C FF F0 */ stw r28, -0x10(r12)
/* 803641E4 00361144 7C 7C 1B 78 */ mr r28, r3
/* 803641E8 00361148 48 01 D4 79 */ bl OSDisableInterrupts
/* 803641EC 0036114C 7C 83 00 D0 */ neg r4, r3
/* 803641F0 00361150 7C 1E 00 D0 */ neg r0, r30
/* 803641F4 00361154 7C 84 1B 78 */ or r4, r4, r3
/* 803641F8 00361158 7F 83 E3 78 */ mr r3, r28
/* 803641FC 0036115C 54 84 0F FE */ srwi r4, r4, 0x1f
/* 80364200 00361160 7C 00 F3 78 */ or r0, r0, r30
/* 80364204 00361164 98 81 00 28 */ stb r4, 0x28(r1)
/* 80364208 00361168 54 1E 0F FE */ srwi r30, r0, 0x1f
/* 8036420C 0036116C 38 80 00 7C */ li r4, 0x7c
/* 80364210 00361170 38 A0 00 00 */ li r5, 0
/* 80364214 00361174 4B EA 7F 41 */ bl sub_8020c154
/* 80364218 00361178 7C 7F 1B 78 */ mr r31, r3
/* 8036421C 0036117C 2C 1F FF FF */ cmpwi r31, -1
/* 80364220 00361180 40 82 00 FC */ bne lbl_8036431C
/* 80364224 00361184 4B FF FF 29 */ bl FindUnclaimedStreamIdx__17CDSPStreamManagerFv
/* 80364228 00361188 7C 7F 1B 78 */ mr r31, r3
/* 8036422C 0036118C 2C 1F FF FF */ cmpwi r31, -1
/* 80364230 00361190 40 82 00 14 */ bne lbl_80364244
/* 80364234 00361194 88 61 00 28 */ lbz r3, 0x28(r1)
/* 80364238 00361198 48 01 D4 51 */ bl OSRestoreInterrupts
/* 8036423C 0036119C 38 60 FF FF */ li r3, -1
/* 80364240 003611A0 48 00 03 60 */ b lbl_803645A0
lbl_80364244:
/* 80364244 003611A4 4B FF FD 21 */ bl GetFreeHandleId__17CDSPStreamManagerFv
/* 80364248 003611A8 7C 65 1B 78 */ mr r5, r3
/* 8036424C 003611AC 7F 84 E3 78 */ mr r4, r28
/* 80364250 003611B0 7F A6 EB 78 */ mr r6, r29
/* 80364254 003611B4 7F C7 F3 78 */ mr r7, r30
/* 80364258 003611B8 38 61 04 20 */ addi r3, r1, 0x420
/* 8036425C 003611BC 48 00 07 85 */ bl __ct__17CDSPStreamManagerFRCQ24rstl6stringicc
/* 80364260 003611C0 88 01 04 90 */ lbz r0, 0x490(r1)
/* 80364264 003611C4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 80364268 003611C8 40 82 00 98 */ bne lbl_80364300
/* 8036426C 003611CC 1C BF 00 C0 */ mulli r5, r31, 0xc0
/* 80364270 003611D0 3C 60 80 5A */ lis r3, lbl_805A6860@ha
/* 80364274 003611D4 38 81 04 20 */ addi r4, r1, 0x420
/* 80364278 003611D8 38 03 68 60 */ addi r0, r3, lbl_805A6860@l
/* 8036427C 003611DC 7F C0 2A 14 */ add r30, r0, r5
/* 80364280 003611E0 7F C3 F3 78 */ mr r3, r30
/* 80364284 003611E4 48 00 04 61 */ bl __as__17CDSPStreamManagerFRC17CDSPStreamManager
/* 80364288 003611E8 3C 80 80 36 */ lis r4, HeaderReadComplete__17CDSPStreamManagerFiP11DVDFileInfo@ha
/* 8036428C 003611EC 7F C3 F3 78 */ mr r3, r30
/* 80364290 003611F0 38 84 37 88 */ addi r4, r4, HeaderReadComplete__17CDSPStreamManagerFiP11DVDFileInfo@l
/* 80364294 003611F4 48 00 05 F1 */ bl StartHeaderRead__17CDSPStreamManagerF11DVDCallback
/* 80364298 003611F8 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8036429C 003611FC 40 82 00 44 */ bne lbl_803642E0
/* 803642A0 00361200 38 61 01 E0 */ addi r3, r1, 0x1e0
/* 803642A4 00361204 38 80 00 00 */ li r4, 0
/* 803642A8 00361208 48 00 06 A5 */ bl __ct__17CDSPStreamManagerFv
/* 803642AC 0036120C 7F C3 F3 78 */ mr r3, r30
/* 803642B0 00361210 38 81 01 E0 */ addi r4, r1, 0x1e0
/* 803642B4 00361214 48 00 04 31 */ bl __as__17CDSPStreamManagerFRC17CDSPStreamManager
/* 803642B8 00361218 34 61 02 40 */ addic. r3, r1, 0x240
/* 803642BC 0036121C 41 82 00 08 */ beq lbl_803642C4
/* 803642C0 00361220 4B FD 98 21 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_803642C4:
/* 803642C4 00361224 34 61 04 80 */ addic. r3, r1, 0x480
/* 803642C8 00361228 41 82 00 08 */ beq lbl_803642D0
/* 803642CC 0036122C 4B FD 98 15 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_803642D0:
/* 803642D0 00361230 88 61 00 28 */ lbz r3, 0x28(r1)
/* 803642D4 00361234 48 01 D3 B5 */ bl OSRestoreInterrupts
/* 803642D8 00361238 38 60 FF FF */ li r3, -1
/* 803642DC 0036123C 48 00 02 C4 */ b lbl_803645A0
lbl_803642E0:
/* 803642E0 00361240 34 61 04 80 */ addic. r3, r1, 0x480
/* 803642E4 00361244 83 C1 04 98 */ lwz r30, 0x498(r1)
/* 803642E8 00361248 41 82 00 08 */ beq lbl_803642F0
/* 803642EC 0036124C 4B FD 97 F5 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_803642F0:
/* 803642F0 00361250 88 61 00 28 */ lbz r3, 0x28(r1)
/* 803642F4 00361254 48 01 D3 95 */ bl OSRestoreInterrupts
/* 803642F8 00361258 7F C3 F3 78 */ mr r3, r30
/* 803642FC 0036125C 48 00 02 A4 */ b lbl_803645A0
lbl_80364300:
/* 80364300 00361260 34 61 04 80 */ addic. r3, r1, 0x480
/* 80364304 00361264 41 82 00 08 */ beq lbl_8036430C
/* 80364308 00361268 4B FD 97 D9 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_8036430C:
/* 8036430C 0036126C 88 61 00 28 */ lbz r3, 0x28(r1)
/* 80364310 00361270 48 01 D3 79 */ bl OSRestoreInterrupts
/* 80364314 00361274 38 60 FF FF */ li r3, -1
/* 80364318 00361278 48 00 02 88 */ b lbl_803645A0
lbl_8036431C:
/* 8036431C 0036127C 38 00 00 00 */ li r0, 0
/* 80364320 00361280 38 61 00 30 */ addi r3, r1, 0x30
/* 80364324 00361284 90 01 00 30 */ stw r0, 0x30(r1)
/* 80364328 00361288 38 81 00 2C */ addi r4, r1, 0x2c
/* 8036432C 0036128C 90 01 00 2C */ stw r0, 0x2c(r1)
/* 80364330 00361290 4B FF FD 31 */ bl FindUnclaimedStereoPair__17CDSPStreamManagerFRiRi
/* 80364334 00361294 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80364338 00361298 40 82 00 14 */ bne lbl_8036434C
/* 8036433C 0036129C 88 61 00 28 */ lbz r3, 0x28(r1)
/* 80364340 003612A0 48 01 D3 49 */ bl OSRestoreInterrupts
/* 80364344 003612A4 38 60 FF FF */ li r3, -1
/* 80364348 003612A8 48 00 02 58 */ b lbl_803645A0
lbl_8036434C:
/* 8036434C 003612AC 80 9C 00 00 */ lwz r4, 0(r28)
/* 80364350 003612B0 7F E5 FB 78 */ mr r5, r31
/* 80364354 003612B4 38 61 00 44 */ addi r3, r1, 0x44
/* 80364358 003612B8 38 C1 00 24 */ addi r6, r1, 0x24
/* 8036435C 003612BC 4B FD 9E 39 */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator"
/* 80364360 003612C0 80 1C 00 00 */ lwz r0, 0(r28)
/* 80364364 003612C4 38 9F 00 01 */ addi r4, r31, 1
/* 80364368 003612C8 38 61 00 34 */ addi r3, r1, 0x34
/* 8036436C 003612CC 38 C1 00 20 */ addi r6, r1, 0x20
/* 80364370 003612D0 7C 80 22 14 */ add r4, r0, r4
/* 80364374 003612D4 38 A0 FF FF */ li r5, -1
/* 80364378 003612D8 4B FD 9E 1D */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator"
/* 8036437C 003612DC 4B FF FB E9 */ bl GetFreeHandleId__17CDSPStreamManagerFv
/* 80364380 003612E0 7C 65 1B 78 */ mr r5, r3
/* 80364384 003612E4 7F A6 EB 78 */ mr r6, r29
/* 80364388 003612E8 7F C7 F3 78 */ mr r7, r30
/* 8036438C 003612EC 38 61 03 60 */ addi r3, r1, 0x360
/* 80364390 003612F0 38 81 00 44 */ addi r4, r1, 0x44
/* 80364394 003612F4 48 00 06 4D */ bl __ct__17CDSPStreamManagerFRCQ24rstl6stringicc
/* 80364398 003612F8 4B FF FB CD */ bl GetFreeHandleId__17CDSPStreamManagerFv
/* 8036439C 003612FC 7C 65 1B 78 */ mr r5, r3
/* 803643A0 00361300 7F A6 EB 78 */ mr r6, r29
/* 803643A4 00361304 7F C7 F3 78 */ mr r7, r30
/* 803643A8 00361308 38 61 02 A0 */ addi r3, r1, 0x2a0
/* 803643AC 0036130C 38 81 00 34 */ addi r4, r1, 0x34
/* 803643B0 00361310 48 00 06 31 */ bl __ct__17CDSPStreamManagerFRCQ24rstl6stringicc
/* 803643B4 00361314 88 01 03 D0 */ lbz r0, 0x3d0(r1)
/* 803643B8 00361318 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 803643BC 0036131C 40 82 00 10 */ bne lbl_803643CC
/* 803643C0 00361320 88 01 03 10 */ lbz r0, 0x310(r1)
/* 803643C4 00361324 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 803643C8 00361328 41 82 00 3C */ beq lbl_80364404
lbl_803643CC:
/* 803643CC 0036132C 34 61 03 00 */ addic. r3, r1, 0x300
/* 803643D0 00361330 41 82 00 08 */ beq lbl_803643D8
/* 803643D4 00361334 4B FD 97 0D */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_803643D8:
/* 803643D8 00361338 34 61 03 C0 */ addic. r3, r1, 0x3c0
/* 803643DC 0036133C 41 82 00 08 */ beq lbl_803643E4
/* 803643E0 00361340 4B FD 97 01 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_803643E4:
/* 803643E4 00361344 38 61 00 34 */ addi r3, r1, 0x34
/* 803643E8 00361348 4B FD 96 F9 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 803643EC 0036134C 38 61 00 44 */ addi r3, r1, 0x44
/* 803643F0 00361350 4B FD 96 F1 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 803643F4 00361354 88 61 00 28 */ lbz r3, 0x28(r1)
/* 803643F8 00361358 48 01 D2 91 */ bl OSRestoreInterrupts
/* 803643FC 0036135C 38 60 FF FF */ li r3, -1
/* 80364400 00361360 48 00 01 A0 */ b lbl_803645A0
lbl_80364404:
/* 80364404 00361364 80 A1 00 30 */ lwz r5, 0x30(r1)
/* 80364408 00361368 3C 60 80 5A */ lis r3, lbl_805A6860@ha
/* 8036440C 0036136C 80 81 00 2C */ lwz r4, 0x2c(r1)
/* 80364410 00361370 38 03 68 60 */ addi r0, r3, lbl_805A6860@l
/* 80364414 00361374 1C 65 00 C0 */ mulli r3, r5, 0xc0
/* 80364418 00361378 98 A1 03 12 */ stb r5, 0x312(r1)
/* 8036441C 0036137C 98 81 03 D1 */ stb r4, 0x3d1(r1)
/* 80364420 00361380 38 81 03 60 */ addi r4, r1, 0x360
/* 80364424 00361384 7C 60 1A 14 */ add r3, r0, r3
/* 80364428 00361388 48 00 02 BD */ bl __as__17CDSPStreamManagerFRC17CDSPStreamManager
/* 8036442C 0036138C 80 A1 00 2C */ lwz r5, 0x2c(r1)
/* 80364430 00361390 3C 60 80 5A */ lis r3, lbl_805A6860@ha
/* 80364434 00361394 38 03 68 60 */ addi r0, r3, lbl_805A6860@l
/* 80364438 00361398 38 81 02 A0 */ addi r4, r1, 0x2a0
/* 8036443C 0036139C 1C 65 00 C0 */ mulli r3, r5, 0xc0
/* 80364440 003613A0 7C 60 1A 14 */ add r3, r0, r3
/* 80364444 003613A4 48 00 02 A1 */ bl __as__17CDSPStreamManagerFRC17CDSPStreamManager
/* 80364448 003613A8 80 01 00 2C */ lwz r0, 0x2c(r1)
/* 8036444C 003613AC 3C 80 80 5A */ lis r4, lbl_805A6860@ha
/* 80364450 003613B0 3C 60 80 36 */ lis r3, HeaderReadComplete__17CDSPStreamManagerFiP11DVDFileInfo@ha
/* 80364454 003613B4 1C A0 00 C0 */ mulli r5, r0, 0xc0
/* 80364458 003613B8 38 04 68 60 */ addi r0, r4, lbl_805A6860@l
/* 8036445C 003613BC 38 83 37 88 */ addi r4, r3, HeaderReadComplete__17CDSPStreamManagerFiP11DVDFileInfo@l
/* 80364460 003613C0 7C 60 2A 14 */ add r3, r0, r5
/* 80364464 003613C4 48 00 04 21 */ bl StartHeaderRead__17CDSPStreamManagerF11DVDCallback
/* 80364468 003613C8 80 01 00 30 */ lwz r0, 0x30(r1)
/* 8036446C 003613CC 7C 7F 1B 78 */ mr r31, r3
/* 80364470 003613D0 3C 80 80 36 */ lis r4, HeaderReadComplete__17CDSPStreamManagerFiP11DVDFileInfo@ha
/* 80364474 003613D4 3C A0 80 5A */ lis r5, lbl_805A6860@ha
/* 80364478 003613D8 1C 60 00 C0 */ mulli r3, r0, 0xc0
/* 8036447C 003613DC 38 05 68 60 */ addi r0, r5, lbl_805A6860@l
/* 80364480 003613E0 38 84 37 88 */ addi r4, r4, HeaderReadComplete__17CDSPStreamManagerFiP11DVDFileInfo@l
/* 80364484 003613E4 7C 60 1A 14 */ add r3, r0, r3
/* 80364488 003613E8 48 00 03 FD */ bl StartHeaderRead__17CDSPStreamManagerF11DVDCallback
/* 8036448C 003613EC 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80364490 003613F0 41 82 00 0C */ beq lbl_8036449C
/* 80364494 003613F4 57 E0 06 3F */ clrlwi. r0, r31, 0x18
/* 80364498 003613F8 40 82 00 D0 */ bne lbl_80364568
lbl_8036449C:
/* 8036449C 003613FC 80 81 00 30 */ lwz r4, 0x30(r1)
/* 803644A0 00361400 3C 60 80 5A */ lis r3, lbl_805A6860@ha
/* 803644A4 00361404 80 01 00 2C */ lwz r0, 0x2c(r1)
/* 803644A8 00361408 38 C3 68 60 */ addi r6, r3, lbl_805A6860@l
/* 803644AC 0036140C 1C 64 00 C0 */ mulli r3, r4, 0xc0
/* 803644B0 00361410 38 80 00 01 */ li r4, 1
/* 803644B4 00361414 7F C6 1A 14 */ add r30, r6, r3
/* 803644B8 00361418 1C A0 00 C0 */ mulli r5, r0, 0xc0
/* 803644BC 0036141C 88 1E 00 70 */ lbz r0, 0x70(r30)
/* 803644C0 00361420 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19
/* 803644C4 00361424 98 1E 00 70 */ stb r0, 0x70(r30)
/* 803644C8 00361428 7F C3 F3 78 */ mr r3, r30
/* 803644CC 0036142C 7F E6 2A 14 */ add r31, r6, r5
/* 803644D0 00361430 88 1F 00 70 */ lbz r0, 0x70(r31)
/* 803644D4 00361434 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19
/* 803644D8 00361438 98 1F 00 70 */ stb r0, 0x70(r31)
/* 803644DC 0036143C 48 00 03 3D */ bl WaitForReadCompletion__17CDSPStreamManagerFv
/* 803644E0 00361440 7F E3 FB 78 */ mr r3, r31
/* 803644E4 00361444 48 00 03 35 */ bl WaitForReadCompletion__17CDSPStreamManagerFv
/* 803644E8 00361448 38 61 01 20 */ addi r3, r1, 0x120
/* 803644EC 0036144C 38 80 00 00 */ li r4, 0
/* 803644F0 00361450 48 00 04 5D */ bl __ct__17CDSPStreamManagerFv
/* 803644F4 00361454 7F C3 F3 78 */ mr r3, r30
/* 803644F8 00361458 38 81 01 20 */ addi r4, r1, 0x120
/* 803644FC 0036145C 48 00 01 E9 */ bl __as__17CDSPStreamManagerFRC17CDSPStreamManager
/* 80364500 00361460 34 61 01 80 */ addic. r3, r1, 0x180
/* 80364504 00361464 41 82 00 08 */ beq lbl_8036450C
/* 80364508 00361468 4B FD 95 D9 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_8036450C:
/* 8036450C 0036146C 38 61 00 60 */ addi r3, r1, 0x60
/* 80364510 00361470 38 80 00 00 */ li r4, 0
/* 80364514 00361474 48 00 04 39 */ bl __ct__17CDSPStreamManagerFv
/* 80364518 00361478 7F E3 FB 78 */ mr r3, r31
/* 8036451C 0036147C 38 81 00 60 */ addi r4, r1, 0x60
/* 80364520 00361480 48 00 01 C5 */ bl __as__17CDSPStreamManagerFRC17CDSPStreamManager
/* 80364524 00361484 34 61 00 C0 */ addic. r3, r1, 0xc0
/* 80364528 00361488 41 82 00 08 */ beq lbl_80364530
/* 8036452C 0036148C 4B FD 95 B5 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_80364530:
/* 80364530 00361490 34 61 03 00 */ addic. r3, r1, 0x300
/* 80364534 00361494 41 82 00 08 */ beq lbl_8036453C
/* 80364538 00361498 4B FD 95 A9 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_8036453C:
/* 8036453C 0036149C 34 61 03 C0 */ addic. r3, r1, 0x3c0
/* 80364540 003614A0 41 82 00 08 */ beq lbl_80364548
/* 80364544 003614A4 4B FD 95 9D */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_80364548:
/* 80364548 003614A8 38 61 00 34 */ addi r3, r1, 0x34
/* 8036454C 003614AC 4B FD 95 95 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 80364550 003614B0 38 61 00 44 */ addi r3, r1, 0x44
/* 80364554 003614B4 4B FD 95 8D */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 80364558 003614B8 88 61 00 28 */ lbz r3, 0x28(r1)
/* 8036455C 003614BC 48 01 D1 2D */ bl OSRestoreInterrupts
/* 80364560 003614C0 38 60 FF FF */ li r3, -1
/* 80364564 003614C4 48 00 00 3C */ b lbl_803645A0
lbl_80364568:
/* 80364568 003614C8 34 61 03 00 */ addic. r3, r1, 0x300
/* 8036456C 003614CC 83 C1 03 D8 */ lwz r30, 0x3d8(r1)
/* 80364570 003614D0 41 82 00 08 */ beq lbl_80364578
/* 80364574 003614D4 4B FD 95 6D */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_80364578:
/* 80364578 003614D8 34 61 03 C0 */ addic. r3, r1, 0x3c0
/* 8036457C 003614DC 41 82 00 08 */ beq lbl_80364584
/* 80364580 003614E0 4B FD 95 61 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_80364584:
/* 80364584 003614E4 38 61 00 34 */ addi r3, r1, 0x34
/* 80364588 003614E8 4B FD 95 59 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 8036458C 003614EC 38 61 00 44 */ addi r3, r1, 0x44
/* 80364590 003614F0 4B FD 95 51 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 80364594 003614F4 88 61 00 28 */ lbz r3, 0x28(r1)
/* 80364598 003614F8 48 01 D0 F1 */ bl OSRestoreInterrupts
/* 8036459C 003614FC 7F C3 F3 78 */ mr r3, r30
lbl_803645A0:
/* 803645A0 00361500 81 41 00 00 */ lwz r10, 0(r1)
/* 803645A4 00361504 80 0A 00 04 */ lwz r0, 4(r10)
/* 803645A8 00361508 83 EA FF FC */ lwz r31, -4(r10)
/* 803645AC 0036150C 83 CA FF F8 */ lwz r30, -8(r10)
/* 803645B0 00361510 83 AA FF F4 */ lwz r29, -0xc(r10)
/* 803645B4 00361514 83 8A FF F0 */ lwz r28, -0x10(r10)
/* 803645B8 00361518 7C 08 03 A6 */ mtlr r0
/* 803645BC 0036151C 7D 41 53 78 */ mr r1, r10
2022-07-14 05:48:03 +00:00
/* 803645C0 00361520 4E 80 00 20 */ blr
2022-04-16 07:50:32 +00:00
.global Shutdown__17CDSPStreamManagerFv
Shutdown__17CDSPStreamManagerFv:
/* 803645C4 00361524 54 2B 06 FE */ clrlwi r11, r1, 0x1b
/* 803645C8 00361528 7C 2C 0B 78 */ mr r12, r1
/* 803645CC 0036152C 21 6B FF 00 */ subfic r11, r11, -256
/* 803645D0 00361530 7C 21 59 6E */ stwux r1, r1, r11
/* 803645D4 00361534 7C 08 02 A6 */ mflr r0
/* 803645D8 00361538 90 0C 00 04 */ stw r0, 4(r12)
/* 803645DC 0036153C 93 EC FF FC */ stw r31, -4(r12)
/* 803645E0 00361540 93 CC FF F8 */ stw r30, -8(r12)
/* 803645E4 00361544 93 AC FF F4 */ stw r29, -0xc(r12)
/* 803645E8 00361548 48 00 68 E9 */ bl FreeAllStreams__10SDSPStreamFi
/* 803645EC 0036154C 3C 60 80 5A */ lis r3, lbl_805A6860@ha
/* 803645F0 00361550 3B C1 00 80 */ addi r30, r1, 0x80
/* 803645F4 00361554 3B E3 68 60 */ addi r31, r3, lbl_805A6860@l
/* 803645F8 00361558 3B A0 00 00 */ li r29, 0
lbl_803645FC:
/* 803645FC 0036155C 38 61 00 20 */ addi r3, r1, 0x20
/* 80364600 00361560 38 80 00 00 */ li r4, 0
/* 80364604 00361564 48 00 03 49 */ bl __ct__17CDSPStreamManagerFv
/* 80364608 00361568 7F E3 FB 78 */ mr r3, r31
/* 8036460C 0036156C 38 81 00 20 */ addi r4, r1, 0x20
/* 80364610 00361570 48 00 00 D5 */ bl __as__17CDSPStreamManagerFRC17CDSPStreamManager
/* 80364614 00361574 28 1E 00 00 */ cmplwi r30, 0
/* 80364618 00361578 41 82 00 0C */ beq lbl_80364624
/* 8036461C 0036157C 7F C3 F3 78 */ mr r3, r30
/* 80364620 00361580 4B FD 94 C1 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_80364624:
/* 80364624 00361584 3B BD 00 01 */ addi r29, r29, 1
/* 80364628 00361588 3B FF 00 C0 */ addi r31, r31, 0xc0
/* 8036462C 0036158C 2C 1D 00 04 */ cmpwi r29, 4
/* 80364630 00361590 41 80 FF CC */ blt lbl_803645FC
/* 80364634 00361594 81 41 00 00 */ lwz r10, 0(r1)
/* 80364638 00361598 80 0A 00 04 */ lwz r0, 4(r10)
/* 8036463C 0036159C 83 EA FF FC */ lwz r31, -4(r10)
/* 80364640 003615A0 83 CA FF F8 */ lwz r30, -8(r10)
/* 80364644 003615A4 83 AA FF F4 */ lwz r29, -0xc(r10)
/* 80364648 003615A8 7C 08 03 A6 */ mtlr r0
/* 8036464C 003615AC 7D 41 53 78 */ mr r1, r10
2022-07-14 05:48:03 +00:00
/* 80364650 003615B0 4E 80 00 20 */ blr
2022-04-16 07:50:32 +00:00
.global Initialize__17CDSPStreamManagerFv
Initialize__17CDSPStreamManagerFv:
/* 80364654 003615B4 54 2B 06 FE */ clrlwi r11, r1, 0x1b
/* 80364658 003615B8 7C 2C 0B 78 */ mr r12, r1
/* 8036465C 003615BC 21 6B FF 00 */ subfic r11, r11, -256
/* 80364660 003615C0 7C 21 59 6E */ stwux r1, r1, r11
/* 80364664 003615C4 7C 08 02 A6 */ mflr r0
/* 80364668 003615C8 90 0C 00 04 */ stw r0, 4(r12)
/* 8036466C 003615CC 93 EC FF FC */ stw r31, -4(r12)
/* 80364670 003615D0 93 CC FF F8 */ stw r30, -8(r12)
/* 80364674 003615D4 93 AC FF F4 */ stw r29, -0xc(r12)
/* 80364678 003615D8 48 00 68 B1 */ bl Initialize__10SDSPStreamFv
/* 8036467C 003615DC 3C 60 80 5A */ lis r3, lbl_805A6860@ha
/* 80364680 003615E0 3B C1 00 80 */ addi r30, r1, 0x80
/* 80364684 003615E4 3B E3 68 60 */ addi r31, r3, lbl_805A6860@l
/* 80364688 003615E8 3B A0 00 00 */ li r29, 0
lbl_8036468C:
/* 8036468C 003615EC 38 61 00 20 */ addi r3, r1, 0x20
/* 80364690 003615F0 38 80 00 00 */ li r4, 0
/* 80364694 003615F4 48 00 02 B9 */ bl __ct__17CDSPStreamManagerFv
/* 80364698 003615F8 7F E3 FB 78 */ mr r3, r31
/* 8036469C 003615FC 38 81 00 20 */ addi r4, r1, 0x20
/* 803646A0 00361600 48 00 00 45 */ bl __as__17CDSPStreamManagerFRC17CDSPStreamManager
/* 803646A4 00361604 28 1E 00 00 */ cmplwi r30, 0
/* 803646A8 00361608 41 82 00 0C */ beq lbl_803646B4
/* 803646AC 0036160C 7F C3 F3 78 */ mr r3, r30
/* 803646B0 00361610 4B FD 94 31 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_803646B4:
/* 803646B4 00361614 3B BD 00 01 */ addi r29, r29, 1
/* 803646B8 00361618 3B FF 00 C0 */ addi r31, r31, 0xc0
/* 803646BC 0036161C 2C 1D 00 04 */ cmpwi r29, 4
/* 803646C0 00361620 41 80 FF CC */ blt lbl_8036468C
/* 803646C4 00361624 81 41 00 00 */ lwz r10, 0(r1)
/* 803646C8 00361628 80 0A 00 04 */ lwz r0, 4(r10)
/* 803646CC 0036162C 83 EA FF FC */ lwz r31, -4(r10)
/* 803646D0 00361630 83 CA FF F8 */ lwz r30, -8(r10)
/* 803646D4 00361634 83 AA FF F4 */ lwz r29, -0xc(r10)
/* 803646D8 00361638 7C 08 03 A6 */ mtlr r0
/* 803646DC 0036163C 7D 41 53 78 */ mr r1, r10
2022-07-14 05:48:03 +00:00
/* 803646E0 00361640 4E 80 00 20 */ blr
2022-04-16 07:50:32 +00:00
.global __as__17CDSPStreamManagerFRC17CDSPStreamManager
__as__17CDSPStreamManagerFRC17CDSPStreamManager:
/* 803646E4 00361644 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 803646E8 00361648 7C 08 02 A6 */ mflr r0
/* 803646EC 0036164C 90 01 00 14 */ stw r0, 0x14(r1)
/* 803646F0 00361650 93 E1 00 0C */ stw r31, 0xc(r1)
/* 803646F4 00361654 7C 9F 23 78 */ mr r31, r4
/* 803646F8 00361658 93 C1 00 08 */ stw r30, 8(r1)
/* 803646FC 0036165C 7C 7E 1B 79 */ or. r30, r3, r3
/* 80364700 00361660 41 82 00 14 */ beq lbl_80364714
/* 80364704 00361664 34 1E 00 60 */ addic. r0, r30, 0x60
/* 80364708 00361668 41 82 00 0C */ beq lbl_80364714
/* 8036470C 0036166C 38 7E 00 60 */ addi r3, r30, 0x60
/* 80364710 00361670 4B FD 93 D1 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_80364714:
/* 80364714 00361674 28 1E 00 00 */ cmplwi r30, 0
/* 80364718 00361678 41 82 00 E4 */ beq lbl_803647FC
/* 8036471C 0036167C 38 00 00 0C */ li r0, 0xc
/* 80364720 00361680 38 BE FF FC */ addi r5, r30, -4
/* 80364724 00361684 38 9F FF FC */ addi r4, r31, -4
/* 80364728 00361688 7C 09 03 A6 */ mtctr r0
lbl_8036472C:
/* 8036472C 0036168C 80 64 00 04 */ lwz r3, 4(r4)
/* 80364730 00361690 84 04 00 08 */ lwzu r0, 8(r4)
/* 80364734 00361694 90 65 00 04 */ stw r3, 4(r5)
/* 80364738 00361698 94 05 00 08 */ stwu r0, 8(r5)
/* 8036473C 0036169C 42 00 FF F0 */ bdnz lbl_8036472C
/* 80364740 003616A0 38 7E 00 60 */ addi r3, r30, 0x60
/* 80364744 003616A4 38 9F 00 60 */ addi r4, r31, 0x60
/* 80364748 003616A8 4B FD 9A 19 */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 8036474C 003616AC 88 1F 00 70 */ lbz r0, 0x70(r31)
/* 80364750 003616B0 98 1E 00 70 */ stb r0, 0x70(r30)
/* 80364754 003616B4 88 1F 00 71 */ lbz r0, 0x71(r31)
/* 80364758 003616B8 98 1E 00 71 */ stb r0, 0x71(r30)
/* 8036475C 003616BC 88 1F 00 72 */ lbz r0, 0x72(r31)
/* 80364760 003616C0 98 1E 00 72 */ stb r0, 0x72(r30)
/* 80364764 003616C4 88 1F 00 73 */ lbz r0, 0x73(r31)
/* 80364768 003616C8 98 1E 00 73 */ stb r0, 0x73(r30)
/* 8036476C 003616CC 88 1F 00 74 */ lbz r0, 0x74(r31)
/* 80364770 003616D0 98 1E 00 74 */ stb r0, 0x74(r30)
/* 80364774 003616D4 80 1F 00 78 */ lwz r0, 0x78(r31)
/* 80364778 003616D8 90 1E 00 78 */ stw r0, 0x78(r30)
/* 8036477C 003616DC 80 1F 00 7C */ lwz r0, 0x7c(r31)
/* 80364780 003616E0 90 1E 00 7C */ stw r0, 0x7c(r30)
/* 80364784 003616E4 80 7F 00 80 */ lwz r3, 0x80(r31)
/* 80364788 003616E8 80 1F 00 84 */ lwz r0, 0x84(r31)
/* 8036478C 003616EC 90 7E 00 80 */ stw r3, 0x80(r30)
/* 80364790 003616F0 90 1E 00 84 */ stw r0, 0x84(r30)
/* 80364794 003616F4 80 7F 00 88 */ lwz r3, 0x88(r31)
/* 80364798 003616F8 80 1F 00 8C */ lwz r0, 0x8c(r31)
/* 8036479C 003616FC 90 7E 00 88 */ stw r3, 0x88(r30)
/* 803647A0 00361700 90 1E 00 8C */ stw r0, 0x8c(r30)
/* 803647A4 00361704 80 7F 00 90 */ lwz r3, 0x90(r31)
/* 803647A8 00361708 80 1F 00 94 */ lwz r0, 0x94(r31)
/* 803647AC 0036170C 90 7E 00 90 */ stw r3, 0x90(r30)
/* 803647B0 00361710 90 1E 00 94 */ stw r0, 0x94(r30)
/* 803647B4 00361714 80 7F 00 98 */ lwz r3, 0x98(r31)
/* 803647B8 00361718 80 1F 00 9C */ lwz r0, 0x9c(r31)
/* 803647BC 0036171C 90 7E 00 98 */ stw r3, 0x98(r30)
/* 803647C0 00361720 90 1E 00 9C */ stw r0, 0x9c(r30)
/* 803647C4 00361724 80 7F 00 A0 */ lwz r3, 0xa0(r31)
/* 803647C8 00361728 80 1F 00 A4 */ lwz r0, 0xa4(r31)
/* 803647CC 0036172C 90 7E 00 A0 */ stw r3, 0xa0(r30)
/* 803647D0 00361730 90 1E 00 A4 */ stw r0, 0xa4(r30)
/* 803647D4 00361734 80 7F 00 A8 */ lwz r3, 0xa8(r31)
/* 803647D8 00361738 80 1F 00 AC */ lwz r0, 0xac(r31)
/* 803647DC 0036173C 90 7E 00 A8 */ stw r3, 0xa8(r30)
/* 803647E0 00361740 90 1E 00 AC */ stw r0, 0xac(r30)
/* 803647E4 00361744 80 7F 00 B0 */ lwz r3, 0xb0(r31)
/* 803647E8 00361748 80 1F 00 B4 */ lwz r0, 0xb4(r31)
/* 803647EC 0036174C 90 7E 00 B0 */ stw r3, 0xb0(r30)
/* 803647F0 00361750 90 1E 00 B4 */ stw r0, 0xb4(r30)
/* 803647F4 00361754 80 1F 00 B8 */ lwz r0, 0xb8(r31)
/* 803647F8 00361758 90 1E 00 B8 */ stw r0, 0xb8(r30)
lbl_803647FC:
/* 803647FC 0036175C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80364800 00361760 7F C3 F3 78 */ mr r3, r30
/* 80364804 00361764 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80364808 00361768 83 C1 00 08 */ lwz r30, 8(r1)
/* 8036480C 0036176C 7C 08 03 A6 */ mtlr r0
/* 80364810 00361770 38 21 00 10 */ addi r1, r1, 0x10
2022-07-14 05:48:03 +00:00
/* 80364814 00361774 4E 80 00 20 */ blr
2022-04-16 07:50:32 +00:00
.global WaitForReadCompletion__17CDSPStreamManagerFv
WaitForReadCompletion__17CDSPStreamManagerFv:
/* 80364818 00361778 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8036481C 0036177C 7C 08 02 A6 */ mflr r0
/* 80364820 00361780 90 01 00 14 */ stw r0, 0x14(r1)
/* 80364824 00361784 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80364828 00361788 93 C1 00 08 */ stw r30, 8(r1)
/* 8036482C 0036178C 7C 7E 1B 78 */ mr r30, r3
/* 80364830 00361790 48 01 CE 45 */ bl OSEnableInterrupts
/* 80364834 00361794 7C 7F 1B 78 */ mr r31, r3
/* 80364838 00361798 48 00 00 08 */ b lbl_80364840
lbl_8036483C:
/* 8036483C 0036179C 48 02 02 E1 */ bl OSYieldThread
lbl_80364840:
/* 80364840 003617A0 88 1E 00 70 */ lbz r0, 0x70(r30)
/* 80364844 003617A4 54 00 E7 BE */ rlwinm r0, r0, 0x1c, 0x1e, 0x1f
/* 80364848 003617A8 28 00 00 01 */ cmplwi r0, 1
/* 8036484C 003617AC 41 82 FF F0 */ beq lbl_8036483C
/* 80364850 003617B0 7F E3 FB 78 */ mr r3, r31
/* 80364854 003617B4 48 01 CE 35 */ bl OSRestoreInterrupts
/* 80364858 003617B8 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8036485C 003617BC 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80364860 003617C0 83 C1 00 08 */ lwz r30, 8(r1)
/* 80364864 003617C4 7C 08 03 A6 */ mtlr r0
/* 80364868 003617C8 38 21 00 10 */ addi r1, r1, 0x10
2022-07-14 05:48:03 +00:00
/* 8036486C 003617CC 4E 80 00 20 */ blr
2022-04-16 07:50:32 +00:00
.global sub_80364870
sub_80364870:
/* 80364870 003617D0 80 03 00 08 */ lwz r0, 8(r3)
/* 80364874 003617D4 20 00 7D 00 */ subfic r0, r0, 0x7d00
/* 80364878 003617D8 7C 00 00 34 */ cntlzw r0, r0
/* 8036487C 003617DC 54 03 D9 7E */ srwi r3, r0, 5
2022-07-14 05:48:03 +00:00
/* 80364880 003617E0 4E 80 00 20 */ blr
2022-04-16 07:50:32 +00:00
.global StartHeaderRead__17CDSPStreamManagerF11DVDCallback
StartHeaderRead__17CDSPStreamManagerF11DVDCallback:
/* 80364884 003617E4 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80364888 003617E8 7C 08 02 A6 */ mflr r0
/* 8036488C 003617EC 90 01 00 24 */ stw r0, 0x24(r1)
/* 80364890 003617F0 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80364894 003617F4 7C 9F 23 78 */ mr r31, r4
/* 80364898 003617F8 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8036489C 003617FC 7C 7E 1B 78 */ mr r30, r3
/* 803648A0 00361800 48 01 CD C1 */ bl OSDisableInterrupts
/* 803648A4 00361804 7C 03 00 D0 */ neg r0, r3
/* 803648A8 00361808 88 9E 00 70 */ lbz r4, 0x70(r30)
/* 803648AC 0036180C 7C 03 1B 78 */ or r3, r0, r3
/* 803648B0 00361810 54 63 0F FE */ srwi r3, r3, 0x1f
/* 803648B4 00361814 54 80 E7 BF */ rlwinm. r0, r4, 0x1c, 0x1e, 0x1f
/* 803648B8 00361818 98 61 00 08 */ stb r3, 8(r1)
/* 803648BC 0036181C 40 82 00 0C */ bne lbl_803648C8
/* 803648C0 00361820 54 80 CF FF */ rlwinm. r0, r4, 0x19, 0x1f, 0x1f
/* 803648C4 00361824 41 82 00 14 */ beq lbl_803648D8
lbl_803648C8:
/* 803648C8 00361828 88 61 00 08 */ lbz r3, 8(r1)
/* 803648CC 0036182C 48 01 CD BD */ bl OSRestoreInterrupts
/* 803648D0 00361830 38 60 00 00 */ li r3, 0
/* 803648D4 00361834 48 00 00 60 */ b lbl_80364934
lbl_803648D8:
/* 803648D8 00361838 80 7E 00 60 */ lwz r3, 0x60(r30)
/* 803648DC 0036183C 38 9E 00 80 */ addi r4, r30, 0x80
/* 803648E0 00361840 48 00 CD A5 */ bl DVDOpen
/* 803648E4 00361844 2C 03 00 00 */ cmpwi r3, 0
/* 803648E8 00361848 40 82 00 14 */ bne lbl_803648FC
/* 803648EC 0036184C 88 61 00 08 */ lbz r3, 8(r1)
/* 803648F0 00361850 48 01 CD 99 */ bl OSRestoreInterrupts
/* 803648F4 00361854 38 60 00 00 */ li r3, 0
/* 803648F8 00361858 48 00 00 3C */ b lbl_80364934
lbl_803648FC:
/* 803648FC 0036185C 7F C4 F3 78 */ mr r4, r30
/* 80364900 00361860 7F E7 FB 78 */ mr r7, r31
/* 80364904 00361864 38 7E 00 80 */ addi r3, r30, 0x80
/* 80364908 00361868 38 A0 00 60 */ li r5, 0x60
/* 8036490C 0036186C 38 C0 00 00 */ li r6, 0
/* 80364910 00361870 39 00 00 01 */ li r8, 1
/* 80364914 00361874 48 00 D0 81 */ bl DVDReadAsyncPrio
/* 80364918 00361878 88 1E 00 70 */ lbz r0, 0x70(r30)
/* 8036491C 0036187C 38 60 00 01 */ li r3, 1
/* 80364920 00361880 50 60 26 B6 */ rlwimi r0, r3, 4, 0x1a, 0x1b
/* 80364924 00361884 88 61 00 08 */ lbz r3, 8(r1)
/* 80364928 00361888 98 1E 00 70 */ stb r0, 0x70(r30)
/* 8036492C 0036188C 48 01 CD 5D */ bl OSRestoreInterrupts
/* 80364930 00361890 38 60 00 01 */ li r3, 1
lbl_80364934:
/* 80364934 00361894 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80364938 00361898 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8036493C 0036189C 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80364940 003618A0 7C 08 03 A6 */ mtlr r0
/* 80364944 003618A4 38 21 00 20 */ addi r1, r1, 0x20
2022-07-14 05:48:03 +00:00
/* 80364948 003618A8 4E 80 00 20 */ blr
2022-04-16 07:50:32 +00:00
.global __ct__17CDSPStreamManagerFv
__ct__17CDSPStreamManagerFv:
/* 8036494C 003618AC 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80364950 003618B0 7C 08 02 A6 */ mflr r0
/* 80364954 003618B4 3C 80 80 3E */ lis r4, lbl_803D8400@ha
/* 80364958 003618B8 90 01 00 24 */ stw r0, 0x24(r1)
/* 8036495C 003618BC 38 84 84 00 */ addi r4, r4, lbl_803D8400@l
/* 80364960 003618C0 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80364964 003618C4 7C 7F 1B 78 */ mr r31, r3
/* 80364968 003618C8 38 61 00 08 */ addi r3, r1, 8
/* 8036496C 003618CC 4B CA 03 4D */ bl string_l__4rstlFPCc
/* 80364970 003618D0 38 7F 00 60 */ addi r3, r31, 0x60
/* 80364974 003618D4 38 81 00 08 */ addi r4, r1, 8
/* 80364978 003618D8 4B FD 97 E9 */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 8036497C 003618DC 38 61 00 08 */ addi r3, r1, 8
/* 80364980 003618E0 4B FD 91 61 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 80364984 003618E4 88 1F 00 70 */ lbz r0, 0x70(r31)
/* 80364988 003618E8 38 60 00 01 */ li r3, 1
/* 8036498C 003618EC 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18
/* 80364990 003618F0 38 A0 00 00 */ li r5, 0
/* 80364994 003618F4 98 1F 00 70 */ stb r0, 0x70(r31)
/* 80364998 003618F8 38 00 FF FF */ li r0, -1
/* 8036499C 003618FC 7F E3 FB 78 */ mr r3, r31
/* 803649A0 00361900 88 9F 00 70 */ lbz r4, 0x70(r31)
/* 803649A4 00361904 50 A4 36 72 */ rlwimi r4, r5, 6, 0x19, 0x19
/* 803649A8 00361908 98 9F 00 70 */ stb r4, 0x70(r31)
/* 803649AC 0036190C 88 9F 00 70 */ lbz r4, 0x70(r31)
/* 803649B0 00361910 50 A4 26 B6 */ rlwimi r4, r5, 4, 0x1a, 0x1b
/* 803649B4 00361914 98 9F 00 70 */ stb r4, 0x70(r31)
/* 803649B8 00361918 98 1F 00 71 */ stb r0, 0x71(r31)
/* 803649BC 0036191C 98 1F 00 72 */ stb r0, 0x72(r31)
/* 803649C0 00361920 98 BF 00 73 */ stb r5, 0x73(r31)
/* 803649C4 00361924 90 1F 00 78 */ stw r0, 0x78(r31)
/* 803649C8 00361928 90 1F 00 7C */ stw r0, 0x7c(r31)
/* 803649CC 0036192C 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 803649D0 00361930 80 01 00 24 */ lwz r0, 0x24(r1)
/* 803649D4 00361934 7C 08 03 A6 */ mtlr r0
/* 803649D8 00361938 38 21 00 20 */ addi r1, r1, 0x20
2022-07-14 05:48:03 +00:00
/* 803649DC 0036193C 4E 80 00 20 */ blr
2022-04-16 07:50:32 +00:00
.global __ct__17CDSPStreamManagerFRCQ24rstl6stringicc
__ct__17CDSPStreamManagerFRCQ24rstl6stringicc:
/* 803649E0 00361940 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 803649E4 00361944 7C 08 02 A6 */ mflr r0
/* 803649E8 00361948 90 01 00 24 */ stw r0, 0x24(r1)
/* 803649EC 0036194C BF 61 00 0C */ stmw r27, 0xc(r1)
/* 803649F0 00361950 7C 7B 1B 78 */ mr r27, r3
/* 803649F4 00361954 7C 9C 23 78 */ mr r28, r4
/* 803649F8 00361958 7C BD 2B 78 */ mr r29, r5
/* 803649FC 0036195C 7C DE 33 78 */ mr r30, r6
/* 80364A00 00361960 7C FF 3B 78 */ mr r31, r7
/* 80364A04 00361964 38 7B 00 60 */ addi r3, r27, 0x60
/* 80364A08 00361968 4B FD 97 59 */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 80364A0C 0036196C 88 7B 00 70 */ lbz r3, 0x70(r27)
/* 80364A10 00361970 38 80 00 00 */ li r4, 0
/* 80364A14 00361974 50 83 3E 30 */ rlwimi r3, r4, 7, 0x18, 0x18
/* 80364A18 00361978 38 00 FF FF */ li r0, -1
/* 80364A1C 0036197C 98 7B 00 70 */ stb r3, 0x70(r27)
/* 80364A20 00361980 88 7B 00 70 */ lbz r3, 0x70(r27)
/* 80364A24 00361984 50 83 36 72 */ rlwimi r3, r4, 6, 0x19, 0x19
/* 80364A28 00361988 98 7B 00 70 */ stb r3, 0x70(r27)
/* 80364A2C 0036198C 88 7B 00 70 */ lbz r3, 0x70(r27)
/* 80364A30 00361990 50 83 26 B6 */ rlwimi r3, r4, 4, 0x1a, 0x1b
/* 80364A34 00361994 98 7B 00 70 */ stb r3, 0x70(r27)
/* 80364A38 00361998 98 1B 00 71 */ stb r0, 0x71(r27)
/* 80364A3C 0036199C 98 1B 00 72 */ stb r0, 0x72(r27)
/* 80364A40 003619A0 9B DB 00 73 */ stb r30, 0x73(r27)
/* 80364A44 003619A4 9B FB 00 74 */ stb r31, 0x74(r27)
/* 80364A48 003619A8 93 BB 00 78 */ stw r29, 0x78(r27)
/* 80364A4C 003619AC 90 1B 00 7C */ stw r0, 0x7c(r27)
/* 80364A50 003619B0 80 7C 00 00 */ lwz r3, 0(r28)
/* 80364A54 003619B4 4B FE AE F9 */ bl FileExists__8CDvdFileFPCc
/* 80364A58 003619B8 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80364A5C 003619BC 40 82 00 1C */ bne lbl_80364A78
/* 80364A60 003619C0 88 1B 00 70 */ lbz r0, 0x70(r27)
/* 80364A64 003619C4 38 60 00 01 */ li r3, 1
/* 80364A68 003619C8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18
/* 80364A6C 003619CC 7F 63 DB 78 */ mr r3, r27
/* 80364A70 003619D0 98 1B 00 70 */ stb r0, 0x70(r27)
/* 80364A74 003619D4 48 00 00 08 */ b lbl_80364A7C
lbl_80364A78:
/* 80364A78 003619D8 7F 63 DB 78 */ mr r3, r27
lbl_80364A7C:
/* 80364A7C 003619DC BB 61 00 0C */ lmw r27, 0xc(r1)
/* 80364A80 003619E0 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80364A84 003619E4 7C 08 03 A6 */ mtlr r0
/* 80364A88 003619E8 38 21 00 20 */ addi r1, r1, 0x20
2022-07-14 05:48:03 +00:00
/* 80364A8C 003619EC 4E 80 00 20 */ blr
2022-04-16 07:50:32 +00:00
.global __sinit_CDSPStreamManager_cpp
__sinit_CDSPStreamManager_cpp:
/* 80364A90 003619F0 54 2B 06 FE */ clrlwi r11, r1, 0x1b
/* 80364A94 003619F4 7C 2C 0B 78 */ mr r12, r1
/* 80364A98 003619F8 21 6B FC 80 */ subfic r11, r11, -896
/* 80364A9C 003619FC 7C 21 59 6E */ stwux r1, r1, r11
/* 80364AA0 00361A00 7C 08 02 A6 */ mflr r0
/* 80364AA4 00361A04 3C 80 80 54 */ lis r4, lbl_80540520@ha
/* 80364AA8 00361A08 90 0C 00 04 */ stw r0, 4(r12)
/* 80364AAC 00361A0C 38 61 02 60 */ addi r3, r1, 0x260
/* 80364AB0 00361A10 BD EC FF BC */ stmw r15, -0x44(r12)
/* 80364AB4 00361A14 3B E4 05 20 */ addi r31, r4, lbl_80540520@l
/* 80364AB8 00361A18 38 80 00 00 */ li r4, 0
/* 80364ABC 00361A1C 4B FF FE 91 */ bl __ct__17CDSPStreamManagerFv
/* 80364AC0 00361A20 3C 60 80 5A */ lis r3, lbl_805A6860@ha
/* 80364AC4 00361A24 38 00 00 0C */ li r0, 0xc
/* 80364AC8 00361A28 38 63 68 60 */ addi r3, r3, lbl_805A6860@l
/* 80364ACC 00361A2C 38 81 02 5C */ addi r4, r1, 0x25c
/* 80364AD0 00361A30 38 A3 FF FC */ addi r5, r3, -4
/* 80364AD4 00361A34 7C 09 03 A6 */ mtctr r0
lbl_80364AD8:
/* 80364AD8 00361A38 80 64 00 04 */ lwz r3, 4(r4)
/* 80364ADC 00361A3C 84 04 00 08 */ lwzu r0, 8(r4)
/* 80364AE0 00361A40 90 65 00 04 */ stw r3, 4(r5)
/* 80364AE4 00361A44 94 05 00 08 */ stwu r0, 8(r5)
/* 80364AE8 00361A48 42 00 FF F0 */ bdnz lbl_80364AD8
/* 80364AEC 00361A4C 3C 60 80 5A */ lis r3, lbl_805A6860@ha
/* 80364AF0 00361A50 3B C1 02 C0 */ addi r30, r1, 0x2c0
/* 80364AF4 00361A54 38 63 68 60 */ addi r3, r3, lbl_805A6860@l
/* 80364AF8 00361A58 7F C4 F3 78 */ mr r4, r30
/* 80364AFC 00361A5C 38 63 00 60 */ addi r3, r3, 0x60
/* 80364B00 00361A60 4B FD 96 61 */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 80364B04 00361A64 3C 60 80 5A */ lis r3, lbl_805A6860@ha
/* 80364B08 00361A68 89 41 02 D0 */ lbz r10, 0x2d0(r1)
/* 80364B0C 00361A6C 38 63 68 60 */ addi r3, r3, lbl_805A6860@l
/* 80364B10 00361A70 89 21 02 D1 */ lbz r9, 0x2d1(r1)
/* 80364B14 00361A74 89 01 02 D2 */ lbz r8, 0x2d2(r1)
/* 80364B18 00361A78 3C 80 80 36 */ lis r4, sub_8036372c@ha
/* 80364B1C 00361A7C 88 E1 02 D3 */ lbz r7, 0x2d3(r1)
/* 80364B20 00361A80 38 84 37 2C */ addi r4, r4, sub_8036372c@l
/* 80364B24 00361A84 88 C1 02 D4 */ lbz r6, 0x2d4(r1)
/* 80364B28 00361A88 38 BF 00 00 */ addi r5, r31, 0
/* 80364B2C 00361A8C 80 01 02 D8 */ lwz r0, 0x2d8(r1)
/* 80364B30 00361A90 83 81 02 DC */ lwz r28, 0x2dc(r1)
/* 80364B34 00361A94 83 61 02 E0 */ lwz r27, 0x2e0(r1)
/* 80364B38 00361A98 83 41 02 E4 */ lwz r26, 0x2e4(r1)
/* 80364B3C 00361A9C 83 21 02 E8 */ lwz r25, 0x2e8(r1)
/* 80364B40 00361AA0 83 01 02 EC */ lwz r24, 0x2ec(r1)
/* 80364B44 00361AA4 82 E1 02 F0 */ lwz r23, 0x2f0(r1)
/* 80364B48 00361AA8 82 C1 02 F4 */ lwz r22, 0x2f4(r1)
/* 80364B4C 00361AAC 82 A1 02 F8 */ lwz r21, 0x2f8(r1)
/* 80364B50 00361AB0 82 81 02 FC */ lwz r20, 0x2fc(r1)
/* 80364B54 00361AB4 82 61 03 00 */ lwz r19, 0x300(r1)
/* 80364B58 00361AB8 82 41 03 04 */ lwz r18, 0x304(r1)
/* 80364B5C 00361ABC 82 21 03 08 */ lwz r17, 0x308(r1)
/* 80364B60 00361AC0 82 01 03 0C */ lwz r16, 0x30c(r1)
/* 80364B64 00361AC4 81 E1 03 10 */ lwz r15, 0x310(r1)
/* 80364B68 00361AC8 81 81 03 14 */ lwz r12, 0x314(r1)
/* 80364B6C 00361ACC 81 61 03 18 */ lwz r11, 0x318(r1)
/* 80364B70 00361AD0 99 43 00 70 */ stb r10, 0x70(r3)
/* 80364B74 00361AD4 99 23 00 71 */ stb r9, 0x71(r3)
/* 80364B78 00361AD8 99 03 00 72 */ stb r8, 0x72(r3)
/* 80364B7C 00361ADC 98 E3 00 73 */ stb r7, 0x73(r3)
/* 80364B80 00361AE0 98 C3 00 74 */ stb r6, 0x74(r3)
/* 80364B84 00361AE4 90 03 00 78 */ stw r0, 0x78(r3)
/* 80364B88 00361AE8 93 83 00 7C */ stw r28, 0x7c(r3)
/* 80364B8C 00361AEC 93 63 00 80 */ stw r27, 0x80(r3)
/* 80364B90 00361AF0 93 43 00 84 */ stw r26, 0x84(r3)
/* 80364B94 00361AF4 93 23 00 88 */ stw r25, 0x88(r3)
/* 80364B98 00361AF8 93 03 00 8C */ stw r24, 0x8c(r3)
/* 80364B9C 00361AFC 92 E3 00 90 */ stw r23, 0x90(r3)
/* 80364BA0 00361B00 92 C3 00 94 */ stw r22, 0x94(r3)
/* 80364BA4 00361B04 92 A3 00 98 */ stw r21, 0x98(r3)
/* 80364BA8 00361B08 92 83 00 9C */ stw r20, 0x9c(r3)
/* 80364BAC 00361B0C 92 63 00 A0 */ stw r19, 0xa0(r3)
/* 80364BB0 00361B10 92 43 00 A4 */ stw r18, 0xa4(r3)
/* 80364BB4 00361B14 92 23 00 A8 */ stw r17, 0xa8(r3)
/* 80364BB8 00361B18 92 03 00 AC */ stw r16, 0xac(r3)
/* 80364BBC 00361B1C 91 E3 00 B0 */ stw r15, 0xb0(r3)
/* 80364BC0 00361B20 91 83 00 B4 */ stw r12, 0xb4(r3)
/* 80364BC4 00361B24 91 63 00 B8 */ stw r11, 0xb8(r3)
/* 80364BC8 00361B28 48 02 4A C5 */ bl __register_global_object
/* 80364BCC 00361B2C 28 1E 00 00 */ cmplwi r30, 0
/* 80364BD0 00361B30 41 82 00 0C */ beq lbl_80364BDC
/* 80364BD4 00361B34 7F C3 F3 78 */ mr r3, r30
/* 80364BD8 00361B38 4B FD 8F 09 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_80364BDC:
/* 80364BDC 00361B3C 38 61 01 A0 */ addi r3, r1, 0x1a0
/* 80364BE0 00361B40 38 80 00 00 */ li r4, 0
/* 80364BE4 00361B44 4B FF FD 69 */ bl __ct__17CDSPStreamManagerFv
/* 80364BE8 00361B48 3C 60 80 5A */ lis r3, lbl_805A6860@ha
/* 80364BEC 00361B4C 38 00 00 0C */ li r0, 0xc
/* 80364BF0 00361B50 38 63 68 60 */ addi r3, r3, lbl_805A6860@l
/* 80364BF4 00361B54 38 81 01 9C */ addi r4, r1, 0x19c
/* 80364BF8 00361B58 3B A3 00 C0 */ addi r29, r3, 0xc0
/* 80364BFC 00361B5C 38 BD FF FC */ addi r5, r29, -4
/* 80364C00 00361B60 7C 09 03 A6 */ mtctr r0
lbl_80364C04:
/* 80364C04 00361B64 80 64 00 04 */ lwz r3, 4(r4)
/* 80364C08 00361B68 84 04 00 08 */ lwzu r0, 8(r4)
/* 80364C0C 00361B6C 90 65 00 04 */ stw r3, 4(r5)
/* 80364C10 00361B70 94 05 00 08 */ stwu r0, 8(r5)
/* 80364C14 00361B74 42 00 FF F0 */ bdnz lbl_80364C04
/* 80364C18 00361B78 3B C1 02 00 */ addi r30, r1, 0x200
/* 80364C1C 00361B7C 38 7D 00 60 */ addi r3, r29, 0x60
/* 80364C20 00361B80 7F C4 F3 78 */ mr r4, r30
/* 80364C24 00361B84 4B FD 95 3D */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 80364C28 00361B88 89 01 02 10 */ lbz r8, 0x210(r1)
/* 80364C2C 00361B8C 3C 60 80 36 */ lis r3, sub_8036372c@ha
/* 80364C30 00361B90 88 E1 02 11 */ lbz r7, 0x211(r1)
/* 80364C34 00361B94 38 83 37 2C */ addi r4, r3, sub_8036372c@l
/* 80364C38 00361B98 88 C1 02 12 */ lbz r6, 0x212(r1)
/* 80364C3C 00361B9C 7F A3 EB 78 */ mr r3, r29
/* 80364C40 00361BA0 88 01 02 13 */ lbz r0, 0x213(r1)
/* 80364C44 00361BA4 38 BF 00 0C */ addi r5, r31, 0xc
/* 80364C48 00361BA8 8B 81 02 14 */ lbz r28, 0x214(r1)
/* 80364C4C 00361BAC 83 61 02 18 */ lwz r27, 0x218(r1)
/* 80364C50 00361BB0 83 41 02 1C */ lwz r26, 0x21c(r1)
/* 80364C54 00361BB4 83 21 02 20 */ lwz r25, 0x220(r1)
/* 80364C58 00361BB8 83 01 02 24 */ lwz r24, 0x224(r1)
/* 80364C5C 00361BBC 82 E1 02 28 */ lwz r23, 0x228(r1)
/* 80364C60 00361BC0 82 C1 02 2C */ lwz r22, 0x22c(r1)
/* 80364C64 00361BC4 82 A1 02 30 */ lwz r21, 0x230(r1)
/* 80364C68 00361BC8 82 81 02 34 */ lwz r20, 0x234(r1)
/* 80364C6C 00361BCC 82 61 02 38 */ lwz r19, 0x238(r1)
/* 80364C70 00361BD0 82 41 02 3C */ lwz r18, 0x23c(r1)
/* 80364C74 00361BD4 82 21 02 40 */ lwz r17, 0x240(r1)
/* 80364C78 00361BD8 82 01 02 44 */ lwz r16, 0x244(r1)
/* 80364C7C 00361BDC 81 E1 02 48 */ lwz r15, 0x248(r1)
/* 80364C80 00361BE0 81 81 02 4C */ lwz r12, 0x24c(r1)
/* 80364C84 00361BE4 81 61 02 50 */ lwz r11, 0x250(r1)
/* 80364C88 00361BE8 81 41 02 54 */ lwz r10, 0x254(r1)
/* 80364C8C 00361BEC 81 21 02 58 */ lwz r9, 0x258(r1)
/* 80364C90 00361BF0 99 1D 00 70 */ stb r8, 0x70(r29)
/* 80364C94 00361BF4 98 FD 00 71 */ stb r7, 0x71(r29)
/* 80364C98 00361BF8 98 DD 00 72 */ stb r6, 0x72(r29)
/* 80364C9C 00361BFC 98 1D 00 73 */ stb r0, 0x73(r29)
/* 80364CA0 00361C00 9B 9D 00 74 */ stb r28, 0x74(r29)
/* 80364CA4 00361C04 93 7D 00 78 */ stw r27, 0x78(r29)
/* 80364CA8 00361C08 93 5D 00 7C */ stw r26, 0x7c(r29)
/* 80364CAC 00361C0C 93 3D 00 80 */ stw r25, 0x80(r29)
/* 80364CB0 00361C10 93 1D 00 84 */ stw r24, 0x84(r29)
/* 80364CB4 00361C14 92 FD 00 88 */ stw r23, 0x88(r29)
/* 80364CB8 00361C18 92 DD 00 8C */ stw r22, 0x8c(r29)
/* 80364CBC 00361C1C 92 BD 00 90 */ stw r21, 0x90(r29)
/* 80364CC0 00361C20 92 9D 00 94 */ stw r20, 0x94(r29)
/* 80364CC4 00361C24 92 7D 00 98 */ stw r19, 0x98(r29)
/* 80364CC8 00361C28 92 5D 00 9C */ stw r18, 0x9c(r29)
/* 80364CCC 00361C2C 92 3D 00 A0 */ stw r17, 0xa0(r29)
/* 80364CD0 00361C30 92 1D 00 A4 */ stw r16, 0xa4(r29)
/* 80364CD4 00361C34 91 FD 00 A8 */ stw r15, 0xa8(r29)
/* 80364CD8 00361C38 91 9D 00 AC */ stw r12, 0xac(r29)
/* 80364CDC 00361C3C 91 7D 00 B0 */ stw r11, 0xb0(r29)
/* 80364CE0 00361C40 91 5D 00 B4 */ stw r10, 0xb4(r29)
/* 80364CE4 00361C44 91 3D 00 B8 */ stw r9, 0xb8(r29)
/* 80364CE8 00361C48 48 02 49 A5 */ bl __register_global_object
/* 80364CEC 00361C4C 28 1E 00 00 */ cmplwi r30, 0
/* 80364CF0 00361C50 41 82 00 0C */ beq lbl_80364CFC
/* 80364CF4 00361C54 7F C3 F3 78 */ mr r3, r30
/* 80364CF8 00361C58 4B FD 8D E9 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_80364CFC:
/* 80364CFC 00361C5C 38 61 00 E0 */ addi r3, r1, 0xe0
/* 80364D00 00361C60 38 80 00 00 */ li r4, 0
/* 80364D04 00361C64 4B FF FC 49 */ bl __ct__17CDSPStreamManagerFv
/* 80364D08 00361C68 3C 60 80 5A */ lis r3, lbl_805A6860@ha
/* 80364D0C 00361C6C 38 00 00 0C */ li r0, 0xc
/* 80364D10 00361C70 38 63 68 60 */ addi r3, r3, lbl_805A6860@l
/* 80364D14 00361C74 38 81 00 DC */ addi r4, r1, 0xdc
/* 80364D18 00361C78 3B A3 01 80 */ addi r29, r3, 0x180
/* 80364D1C 00361C7C 38 BD FF FC */ addi r5, r29, -4
/* 80364D20 00361C80 7C 09 03 A6 */ mtctr r0
lbl_80364D24:
/* 80364D24 00361C84 80 64 00 04 */ lwz r3, 4(r4)
/* 80364D28 00361C88 84 04 00 08 */ lwzu r0, 8(r4)
/* 80364D2C 00361C8C 90 65 00 04 */ stw r3, 4(r5)
/* 80364D30 00361C90 94 05 00 08 */ stwu r0, 8(r5)
/* 80364D34 00361C94 42 00 FF F0 */ bdnz lbl_80364D24
/* 80364D38 00361C98 3B C1 01 40 */ addi r30, r1, 0x140
/* 80364D3C 00361C9C 38 7D 00 60 */ addi r3, r29, 0x60
/* 80364D40 00361CA0 7F C4 F3 78 */ mr r4, r30
/* 80364D44 00361CA4 4B FD 94 1D */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 80364D48 00361CA8 89 01 01 50 */ lbz r8, 0x150(r1)
/* 80364D4C 00361CAC 3C 60 80 36 */ lis r3, sub_8036372c@ha
/* 80364D50 00361CB0 88 E1 01 51 */ lbz r7, 0x151(r1)
/* 80364D54 00361CB4 38 83 37 2C */ addi r4, r3, sub_8036372c@l
/* 80364D58 00361CB8 88 C1 01 52 */ lbz r6, 0x152(r1)
/* 80364D5C 00361CBC 7F A3 EB 78 */ mr r3, r29
/* 80364D60 00361CC0 88 01 01 53 */ lbz r0, 0x153(r1)
/* 80364D64 00361CC4 38 BF 00 18 */ addi r5, r31, 0x18
/* 80364D68 00361CC8 89 E1 01 54 */ lbz r15, 0x154(r1)
/* 80364D6C 00361CCC 83 81 01 58 */ lwz r28, 0x158(r1)
/* 80364D70 00361CD0 83 61 01 5C */ lwz r27, 0x15c(r1)
/* 80364D74 00361CD4 83 41 01 60 */ lwz r26, 0x160(r1)
/* 80364D78 00361CD8 83 21 01 64 */ lwz r25, 0x164(r1)
/* 80364D7C 00361CDC 83 01 01 68 */ lwz r24, 0x168(r1)
/* 80364D80 00361CE0 82 E1 01 6C */ lwz r23, 0x16c(r1)
/* 80364D84 00361CE4 82 C1 01 70 */ lwz r22, 0x170(r1)
/* 80364D88 00361CE8 82 A1 01 74 */ lwz r21, 0x174(r1)
/* 80364D8C 00361CEC 82 81 01 78 */ lwz r20, 0x178(r1)
/* 80364D90 00361CF0 82 61 01 7C */ lwz r19, 0x17c(r1)
/* 80364D94 00361CF4 82 41 01 80 */ lwz r18, 0x180(r1)
/* 80364D98 00361CF8 82 21 01 84 */ lwz r17, 0x184(r1)
/* 80364D9C 00361CFC 82 01 01 88 */ lwz r16, 0x188(r1)
/* 80364DA0 00361D00 81 81 01 8C */ lwz r12, 0x18c(r1)
/* 80364DA4 00361D04 81 61 01 90 */ lwz r11, 0x190(r1)
/* 80364DA8 00361D08 81 41 01 94 */ lwz r10, 0x194(r1)
/* 80364DAC 00361D0C 81 21 01 98 */ lwz r9, 0x198(r1)
/* 80364DB0 00361D10 99 1D 00 70 */ stb r8, 0x70(r29)
/* 80364DB4 00361D14 98 FD 00 71 */ stb r7, 0x71(r29)
/* 80364DB8 00361D18 98 DD 00 72 */ stb r6, 0x72(r29)
/* 80364DBC 00361D1C 98 1D 00 73 */ stb r0, 0x73(r29)
/* 80364DC0 00361D20 99 FD 00 74 */ stb r15, 0x74(r29)
/* 80364DC4 00361D24 93 9D 00 78 */ stw r28, 0x78(r29)
/* 80364DC8 00361D28 93 7D 00 7C */ stw r27, 0x7c(r29)
/* 80364DCC 00361D2C 93 5D 00 80 */ stw r26, 0x80(r29)
/* 80364DD0 00361D30 93 3D 00 84 */ stw r25, 0x84(r29)
/* 80364DD4 00361D34 93 1D 00 88 */ stw r24, 0x88(r29)
/* 80364DD8 00361D38 92 FD 00 8C */ stw r23, 0x8c(r29)
/* 80364DDC 00361D3C 92 DD 00 90 */ stw r22, 0x90(r29)
/* 80364DE0 00361D40 92 BD 00 94 */ stw r21, 0x94(r29)
/* 80364DE4 00361D44 92 9D 00 98 */ stw r20, 0x98(r29)
/* 80364DE8 00361D48 92 7D 00 9C */ stw r19, 0x9c(r29)
/* 80364DEC 00361D4C 92 5D 00 A0 */ stw r18, 0xa0(r29)
/* 80364DF0 00361D50 92 3D 00 A4 */ stw r17, 0xa4(r29)
/* 80364DF4 00361D54 92 1D 00 A8 */ stw r16, 0xa8(r29)
/* 80364DF8 00361D58 91 9D 00 AC */ stw r12, 0xac(r29)
/* 80364DFC 00361D5C 91 7D 00 B0 */ stw r11, 0xb0(r29)
/* 80364E00 00361D60 91 5D 00 B4 */ stw r10, 0xb4(r29)
/* 80364E04 00361D64 91 3D 00 B8 */ stw r9, 0xb8(r29)
/* 80364E08 00361D68 48 02 48 85 */ bl __register_global_object
/* 80364E0C 00361D6C 28 1E 00 00 */ cmplwi r30, 0
/* 80364E10 00361D70 41 82 00 0C */ beq lbl_80364E1C
/* 80364E14 00361D74 7F C3 F3 78 */ mr r3, r30
/* 80364E18 00361D78 4B FD 8C C9 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_80364E1C:
/* 80364E1C 00361D7C 38 61 00 20 */ addi r3, r1, 0x20
/* 80364E20 00361D80 38 80 00 00 */ li r4, 0
/* 80364E24 00361D84 4B FF FB 29 */ bl __ct__17CDSPStreamManagerFv
/* 80364E28 00361D88 3C 60 80 5A */ lis r3, lbl_805A6860@ha
/* 80364E2C 00361D8C 38 00 00 0C */ li r0, 0xc
/* 80364E30 00361D90 38 63 68 60 */ addi r3, r3, lbl_805A6860@l
/* 80364E34 00361D94 38 81 00 1C */ addi r4, r1, 0x1c
/* 80364E38 00361D98 3B A3 02 40 */ addi r29, r3, 0x240
/* 80364E3C 00361D9C 38 BD FF FC */ addi r5, r29, -4
/* 80364E40 00361DA0 7C 09 03 A6 */ mtctr r0
lbl_80364E44:
/* 80364E44 00361DA4 80 64 00 04 */ lwz r3, 4(r4)
/* 80364E48 00361DA8 84 04 00 08 */ lwzu r0, 8(r4)
/* 80364E4C 00361DAC 90 65 00 04 */ stw r3, 4(r5)
/* 80364E50 00361DB0 94 05 00 08 */ stwu r0, 8(r5)
/* 80364E54 00361DB4 42 00 FF F0 */ bdnz lbl_80364E44
/* 80364E58 00361DB8 3B C1 00 80 */ addi r30, r1, 0x80
/* 80364E5C 00361DBC 38 7D 00 60 */ addi r3, r29, 0x60
/* 80364E60 00361DC0 7F C4 F3 78 */ mr r4, r30
/* 80364E64 00361DC4 4B FD 92 FD */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 80364E68 00361DC8 89 01 00 90 */ lbz r8, 0x90(r1)
/* 80364E6C 00361DCC 38 BF 00 24 */ addi r5, r31, 0x24
/* 80364E70 00361DD0 88 E1 00 91 */ lbz r7, 0x91(r1)
/* 80364E74 00361DD4 3C 60 80 36 */ lis r3, sub_8036372c@ha
/* 80364E78 00361DD8 88 C1 00 92 */ lbz r6, 0x92(r1)
/* 80364E7C 00361DDC 38 83 37 2C */ addi r4, r3, sub_8036372c@l
/* 80364E80 00361DE0 88 01 00 93 */ lbz r0, 0x93(r1)
/* 80364E84 00361DE4 7F A3 EB 78 */ mr r3, r29
/* 80364E88 00361DE8 8A 01 00 94 */ lbz r16, 0x94(r1)
/* 80364E8C 00361DEC 82 21 00 98 */ lwz r17, 0x98(r1)
/* 80364E90 00361DF0 82 41 00 9C */ lwz r18, 0x9c(r1)
/* 80364E94 00361DF4 82 61 00 A0 */ lwz r19, 0xa0(r1)
/* 80364E98 00361DF8 82 81 00 A4 */ lwz r20, 0xa4(r1)
/* 80364E9C 00361DFC 82 A1 00 A8 */ lwz r21, 0xa8(r1)
/* 80364EA0 00361E00 82 C1 00 AC */ lwz r22, 0xac(r1)
/* 80364EA4 00361E04 82 E1 00 B0 */ lwz r23, 0xb0(r1)
/* 80364EA8 00361E08 83 01 00 B4 */ lwz r24, 0xb4(r1)
/* 80364EAC 00361E0C 83 21 00 B8 */ lwz r25, 0xb8(r1)
/* 80364EB0 00361E10 83 41 00 BC */ lwz r26, 0xbc(r1)
/* 80364EB4 00361E14 83 61 00 C0 */ lwz r27, 0xc0(r1)
/* 80364EB8 00361E18 83 81 00 C4 */ lwz r28, 0xc4(r1)
/* 80364EBC 00361E1C 83 E1 00 C8 */ lwz r31, 0xc8(r1)
/* 80364EC0 00361E20 81 81 00 CC */ lwz r12, 0xcc(r1)
/* 80364EC4 00361E24 81 61 00 D0 */ lwz r11, 0xd0(r1)
/* 80364EC8 00361E28 81 41 00 D4 */ lwz r10, 0xd4(r1)
/* 80364ECC 00361E2C 81 21 00 D8 */ lwz r9, 0xd8(r1)
/* 80364ED0 00361E30 99 1D 00 70 */ stb r8, 0x70(r29)
/* 80364ED4 00361E34 98 FD 00 71 */ stb r7, 0x71(r29)
/* 80364ED8 00361E38 98 DD 00 72 */ stb r6, 0x72(r29)
/* 80364EDC 00361E3C 98 1D 00 73 */ stb r0, 0x73(r29)
/* 80364EE0 00361E40 9A 1D 00 74 */ stb r16, 0x74(r29)
/* 80364EE4 00361E44 92 3D 00 78 */ stw r17, 0x78(r29)
/* 80364EE8 00361E48 92 5D 00 7C */ stw r18, 0x7c(r29)
/* 80364EEC 00361E4C 92 7D 00 80 */ stw r19, 0x80(r29)
/* 80364EF0 00361E50 92 9D 00 84 */ stw r20, 0x84(r29)
/* 80364EF4 00361E54 92 BD 00 88 */ stw r21, 0x88(r29)
/* 80364EF8 00361E58 92 DD 00 8C */ stw r22, 0x8c(r29)
/* 80364EFC 00361E5C 92 FD 00 90 */ stw r23, 0x90(r29)
/* 80364F00 00361E60 93 1D 00 94 */ stw r24, 0x94(r29)
/* 80364F04 00361E64 93 3D 00 98 */ stw r25, 0x98(r29)
/* 80364F08 00361E68 93 5D 00 9C */ stw r26, 0x9c(r29)
/* 80364F0C 00361E6C 93 7D 00 A0 */ stw r27, 0xa0(r29)
/* 80364F10 00361E70 93 9D 00 A4 */ stw r28, 0xa4(r29)
/* 80364F14 00361E74 93 FD 00 A8 */ stw r31, 0xa8(r29)
/* 80364F18 00361E78 91 9D 00 AC */ stw r12, 0xac(r29)
/* 80364F1C 00361E7C 91 7D 00 B0 */ stw r11, 0xb0(r29)
/* 80364F20 00361E80 91 5D 00 B4 */ stw r10, 0xb4(r29)
/* 80364F24 00361E84 91 3D 00 B8 */ stw r9, 0xb8(r29)
/* 80364F28 00361E88 48 02 47 65 */ bl __register_global_object
/* 80364F2C 00361E8C 28 1E 00 00 */ cmplwi r30, 0
/* 80364F30 00361E90 41 82 00 0C */ beq lbl_80364F3C
/* 80364F34 00361E94 7F C3 F3 78 */ mr r3, r30
/* 80364F38 00361E98 4B FD 8B A9 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_80364F3C:
/* 80364F3C 00361E9C 81 41 00 00 */ lwz r10, 0(r1)
/* 80364F40 00361EA0 B9 EA FF BC */ lmw r15, -0x44(r10)
/* 80364F44 00361EA4 80 0A 00 04 */ lwz r0, 4(r10)
/* 80364F48 00361EA8 7C 08 03 A6 */ mtlr r0
/* 80364F4C 00361EAC 7D 41 53 78 */ mr r1, r10
/* 80364F50 00361EB0 4E 80 00 20 */ blr
2022-07-18 05:21:27 +00:00
.section .rodata
.balign 8
2022-07-18 05:21:27 +00:00
.global lbl_803D8400
lbl_803D8400:
# ROM: 0x3D5400
.4byte 0
.4byte 0