2022-04-16 07:50:32 +00:00
|
|
|
.include "macros.inc"
|
|
|
|
|
2022-07-14 05:36:41 +00:00
|
|
|
.section .text, "ax"
|
2022-04-16 07:50:32 +00:00
|
|
|
|
|
|
|
.global ReadCompleted__10SDSPStreamFiP11DVDFileInfo
|
|
|
|
ReadCompleted__10SDSPStreamFiP11DVDFileInfo:
|
|
|
|
/* 8036A1F4 00367154 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
|
|
/* 8036A1F8 00367158 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 8036A1FC 0036715C 3C 60 80 54 */ lis r3, lbl_80540640@ha
|
|
|
|
/* 8036A200 00367160 38 A0 00 00 */ li r5, 0
|
|
|
|
/* 8036A204 00367164 90 01 00 14 */ stw r0, 0x14(r1)
|
|
|
|
/* 8036A208 00367168 38 63 06 40 */ addi r3, r3, lbl_80540640@l
|
|
|
|
/* 8036A20C 0036716C 38 03 00 50 */ addi r0, r3, 0x50
|
|
|
|
/* 8036A210 00367170 7C 00 20 40 */ cmplw r0, r4
|
|
|
|
/* 8036A214 00367174 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
|
|
/* 8036A218 00367178 41 82 00 74 */ beq lbl_8036A28C
|
|
|
|
/* 8036A21C 0036717C 38 03 00 8C */ addi r0, r3, 0x8c
|
|
|
|
/* 8036A220 00367180 7C 00 20 40 */ cmplw r0, r4
|
|
|
|
/* 8036A224 00367184 41 82 00 68 */ beq lbl_8036A28C
|
|
|
|
/* 8036A228 00367188 38 63 00 F4 */ addi r3, r3, 0xf4
|
|
|
|
/* 8036A22C 0036718C 38 A0 00 01 */ li r5, 1
|
|
|
|
/* 8036A230 00367190 38 03 00 50 */ addi r0, r3, 0x50
|
|
|
|
/* 8036A234 00367194 7C 00 20 40 */ cmplw r0, r4
|
|
|
|
/* 8036A238 00367198 41 82 00 54 */ beq lbl_8036A28C
|
|
|
|
/* 8036A23C 0036719C 38 03 00 8C */ addi r0, r3, 0x8c
|
|
|
|
/* 8036A240 003671A0 7C 00 20 40 */ cmplw r0, r4
|
|
|
|
/* 8036A244 003671A4 41 82 00 48 */ beq lbl_8036A28C
|
|
|
|
/* 8036A248 003671A8 38 03 01 44 */ addi r0, r3, 0x144
|
|
|
|
/* 8036A24C 003671AC 38 A0 00 02 */ li r5, 2
|
|
|
|
/* 8036A250 003671B0 7C 00 20 40 */ cmplw r0, r4
|
|
|
|
/* 8036A254 003671B4 38 63 00 F4 */ addi r3, r3, 0xf4
|
|
|
|
/* 8036A258 003671B8 41 82 00 34 */ beq lbl_8036A28C
|
|
|
|
/* 8036A25C 003671BC 38 03 00 8C */ addi r0, r3, 0x8c
|
|
|
|
/* 8036A260 003671C0 7C 00 20 40 */ cmplw r0, r4
|
|
|
|
/* 8036A264 003671C4 41 82 00 28 */ beq lbl_8036A28C
|
|
|
|
/* 8036A268 003671C8 38 03 01 44 */ addi r0, r3, 0x144
|
|
|
|
/* 8036A26C 003671CC 38 A0 00 03 */ li r5, 3
|
|
|
|
/* 8036A270 003671D0 7C 00 20 40 */ cmplw r0, r4
|
|
|
|
/* 8036A274 003671D4 38 63 00 F4 */ addi r3, r3, 0xf4
|
|
|
|
/* 8036A278 003671D8 41 82 00 14 */ beq lbl_8036A28C
|
|
|
|
/* 8036A27C 003671DC 38 03 00 8C */ addi r0, r3, 0x8c
|
|
|
|
/* 8036A280 003671E0 7C 00 20 40 */ cmplw r0, r4
|
|
|
|
/* 8036A284 003671E4 41 82 00 08 */ beq lbl_8036A28C
|
|
|
|
/* 8036A288 003671E8 38 A0 00 04 */ li r5, 4
|
|
|
|
lbl_8036A28C:
|
|
|
|
/* 8036A28C 003671EC 1C A5 00 F4 */ mulli r5, r5, 0xf4
|
|
|
|
/* 8036A290 003671F0 3C 60 80 54 */ lis r3, lbl_80540640@ha
|
|
|
|
/* 8036A294 003671F4 38 03 06 40 */ addi r0, r3, lbl_80540640@l
|
|
|
|
/* 8036A298 003671F8 7F E0 2A 14 */ add r31, r0, r5
|
|
|
|
/* 8036A29C 003671FC 88 7F 00 EC */ lbz r3, 0xec(r31)
|
|
|
|
/* 8036A2A0 00367200 38 03 FF FF */ addi r0, r3, -1
|
|
|
|
/* 8036A2A4 00367204 98 1F 00 EC */ stb r0, 0xec(r31)
|
|
|
|
/* 8036A2A8 00367208 88 1F 00 EC */ lbz r0, 0xec(r31)
|
|
|
|
/* 8036A2AC 0036720C 28 00 00 00 */ cmplwi r0, 0
|
|
|
|
/* 8036A2B0 00367210 40 82 01 94 */ bne lbl_8036A444
|
|
|
|
/* 8036A2B4 00367214 80 1F 00 F0 */ lwz r0, 0xf0(r31)
|
|
|
|
/* 8036A2B8 00367218 2C 00 00 00 */ cmpwi r0, 0
|
|
|
|
/* 8036A2BC 0036721C 41 82 00 20 */ beq lbl_8036A2DC
|
|
|
|
/* 8036A2C0 00367220 38 00 00 00 */ li r0, 0
|
|
|
|
/* 8036A2C4 00367224 7F E3 FB 78 */ mr r3, r31
|
|
|
|
/* 8036A2C8 00367228 90 1F 00 F0 */ stw r0, 0xf0(r31)
|
|
|
|
/* 8036A2CC 0036722C 48 00 0F 6D */ bl CloseFiles__10SDSPStreamFv
|
|
|
|
/* 8036A2D0 00367230 7F E3 FB 78 */ mr r3, r31
|
|
|
|
/* 8036A2D4 00367234 48 00 09 39 */ bl DeallocateStream__10SDSPStreamFv
|
|
|
|
/* 8036A2D8 00367238 48 00 01 6C */ b lbl_8036A444
|
|
|
|
lbl_8036A2DC:
|
|
|
|
/* 8036A2DC 0036723C 7C 83 23 78 */ mr r3, r4
|
|
|
|
/* 8036A2E0 00367240 48 00 9E 25 */ bl DVDGetCommandBlockStatus
|
|
|
|
/* 8036A2E4 00367244 2C 03 00 00 */ cmpwi r3, 0
|
|
|
|
/* 8036A2E8 00367248 40 82 01 10 */ bne lbl_8036A3F8
|
|
|
|
/* 8036A2EC 0036724C 88 1F 00 00 */ lbz r0, 0(r31)
|
|
|
|
/* 8036A2F0 00367250 2C 00 00 03 */ cmpwi r0, 3
|
|
|
|
/* 8036A2F4 00367254 41 82 01 50 */ beq lbl_8036A444
|
|
|
|
/* 8036A2F8 00367258 40 80 00 10 */ bge lbl_8036A308
|
|
|
|
/* 8036A2FC 0036725C 2C 00 00 02 */ cmpwi r0, 2
|
|
|
|
/* 8036A300 00367260 40 80 00 14 */ bge lbl_8036A314
|
|
|
|
/* 8036A304 00367264 48 00 01 40 */ b lbl_8036A444
|
|
|
|
lbl_8036A308:
|
|
|
|
/* 8036A308 00367268 2C 00 00 05 */ cmpwi r0, 5
|
|
|
|
/* 8036A30C 0036726C 40 80 01 38 */ bge lbl_8036A444
|
|
|
|
/* 8036A310 00367270 48 00 00 B0 */ b lbl_8036A3C0
|
|
|
|
lbl_8036A314:
|
|
|
|
/* 8036A314 00367274 80 7F 00 08 */ lwz r3, 8(r31)
|
|
|
|
/* 8036A318 00367278 28 03 00 00 */ cmplwi r3, 0
|
|
|
|
/* 8036A31C 0036727C 41 82 00 30 */ beq lbl_8036A34C
|
|
|
|
/* 8036A320 00367280 88 03 00 00 */ lbz r0, 0(r3)
|
|
|
|
/* 8036A324 00367284 28 00 00 03 */ cmplwi r0, 3
|
|
|
|
/* 8036A328 00367288 41 82 00 10 */ beq lbl_8036A338
|
|
|
|
/* 8036A32C 0036728C 38 00 00 03 */ li r0, 3
|
|
|
|
/* 8036A330 00367290 98 1F 00 00 */ stb r0, 0(r31)
|
|
|
|
/* 8036A334 00367294 48 00 01 10 */ b lbl_8036A444
|
|
|
|
lbl_8036A338:
|
|
|
|
/* 8036A338 00367298 48 00 01 21 */ bl InitializeStream__10SDSPStreamFv
|
|
|
|
/* 8036A33C 0036729C 2C 03 00 00 */ cmpwi r3, 0
|
|
|
|
/* 8036A340 003672A0 40 82 00 0C */ bne lbl_8036A34C
|
|
|
|
/* 8036A344 003672A4 38 00 00 00 */ li r0, 0
|
|
|
|
/* 8036A348 003672A8 90 1F 00 08 */ stw r0, 8(r31)
|
|
|
|
lbl_8036A34C:
|
|
|
|
/* 8036A34C 003672AC 80 7F 00 0C */ lwz r3, 0xc(r31)
|
|
|
|
/* 8036A350 003672B0 28 03 00 00 */ cmplwi r3, 0
|
|
|
|
/* 8036A354 003672B4 41 82 00 30 */ beq lbl_8036A384
|
|
|
|
/* 8036A358 003672B8 88 03 00 00 */ lbz r0, 0(r3)
|
|
|
|
/* 8036A35C 003672BC 28 00 00 03 */ cmplwi r0, 3
|
|
|
|
/* 8036A360 003672C0 41 82 00 10 */ beq lbl_8036A370
|
|
|
|
/* 8036A364 003672C4 38 00 00 03 */ li r0, 3
|
|
|
|
/* 8036A368 003672C8 98 1F 00 00 */ stb r0, 0(r31)
|
|
|
|
/* 8036A36C 003672CC 48 00 00 D8 */ b lbl_8036A444
|
|
|
|
lbl_8036A370:
|
|
|
|
/* 8036A370 003672D0 48 00 00 E9 */ bl InitializeStream__10SDSPStreamFv
|
|
|
|
/* 8036A374 003672D4 2C 03 00 00 */ cmpwi r3, 0
|
|
|
|
/* 8036A378 003672D8 40 82 00 0C */ bne lbl_8036A384
|
|
|
|
/* 8036A37C 003672DC 38 00 00 00 */ li r0, 0
|
|
|
|
/* 8036A380 003672E0 90 1F 00 0C */ stw r0, 0xc(r31)
|
|
|
|
lbl_8036A384:
|
|
|
|
/* 8036A384 003672E4 7F E3 FB 78 */ mr r3, r31
|
|
|
|
/* 8036A388 003672E8 48 00 00 D1 */ bl InitializeStream__10SDSPStreamFv
|
|
|
|
/* 8036A38C 003672EC 2C 03 00 00 */ cmpwi r3, 0
|
|
|
|
/* 8036A390 003672F0 40 82 00 B4 */ bne lbl_8036A444
|
|
|
|
/* 8036A394 003672F4 80 7F 00 08 */ lwz r3, 8(r31)
|
|
|
|
/* 8036A398 003672F8 28 03 00 00 */ cmplwi r3, 0
|
|
|
|
/* 8036A39C 003672FC 41 82 00 0C */ beq lbl_8036A3A8
|
|
|
|
/* 8036A3A0 00367300 38 00 00 00 */ li r0, 0
|
|
|
|
/* 8036A3A4 00367304 90 03 00 0C */ stw r0, 0xc(r3)
|
|
|
|
lbl_8036A3A8:
|
|
|
|
/* 8036A3A8 00367308 80 7F 00 0C */ lwz r3, 0xc(r31)
|
|
|
|
/* 8036A3AC 0036730C 28 03 00 00 */ cmplwi r3, 0
|
|
|
|
/* 8036A3B0 00367310 41 82 00 94 */ beq lbl_8036A444
|
|
|
|
/* 8036A3B4 00367314 38 00 00 00 */ li r0, 0
|
|
|
|
/* 8036A3B8 00367318 90 03 00 08 */ stw r0, 8(r3)
|
|
|
|
/* 8036A3BC 0036731C 48 00 00 88 */ b lbl_8036A444
|
|
|
|
lbl_8036A3C0:
|
|
|
|
/* 8036A3C0 00367320 88 1F 00 E0 */ lbz r0, 0xe0(r31)
|
|
|
|
/* 8036A3C4 00367324 80 7F 00 C8 */ lwz r3, 0xc8(r31)
|
|
|
|
/* 8036A3C8 00367328 28 00 00 00 */ cmplwi r0, 0
|
|
|
|
/* 8036A3CC 0036732C 41 82 00 0C */ beq lbl_8036A3D8
|
|
|
|
/* 8036A3D0 00367330 38 80 00 00 */ li r4, 0
|
|
|
|
/* 8036A3D4 00367334 48 00 00 0C */ b lbl_8036A3E0
|
|
|
|
lbl_8036A3D8:
|
|
|
|
/* 8036A3D8 00367338 80 1F 00 DC */ lwz r0, 0xdc(r31)
|
|
|
|
/* 8036A3DC 0036733C 54 04 F8 7E */ srwi r4, r0, 1
|
|
|
|
lbl_8036A3E0:
|
|
|
|
/* 8036A3E0 00367340 80 1F 00 DC */ lwz r0, 0xdc(r31)
|
|
|
|
/* 8036A3E4 00367344 38 C0 00 00 */ li r6, 0
|
|
|
|
/* 8036A3E8 00367348 38 E0 00 00 */ li r7, 0
|
|
|
|
/* 8036A3EC 0036734C 54 05 F8 7E */ srwi r5, r0, 1
|
|
|
|
/* 8036A3F0 00367350 48 03 30 51 */ bl sndStreamARAMUpdate
|
|
|
|
/* 8036A3F4 00367354 48 00 00 50 */ b lbl_8036A444
|
|
|
|
lbl_8036A3F8:
|
|
|
|
/* 8036A3F8 00367358 88 1F 00 00 */ lbz r0, 0(r31)
|
|
|
|
/* 8036A3FC 0036735C 28 00 00 04 */ cmplwi r0, 4
|
|
|
|
/* 8036A400 00367360 40 82 00 0C */ bne lbl_8036A40C
|
|
|
|
/* 8036A404 00367364 80 7F 00 C8 */ lwz r3, 0xc8(r31)
|
|
|
|
/* 8036A408 00367368 48 03 61 19 */ bl sndStreamDeactivate
|
|
|
|
lbl_8036A40C:
|
|
|
|
/* 8036A40C 0036736C 7F E3 FB 78 */ mr r3, r31
|
|
|
|
/* 8036A410 00367370 48 00 0E 29 */ bl CloseFiles__10SDSPStreamFv
|
|
|
|
/* 8036A414 00367374 7F E3 FB 78 */ mr r3, r31
|
|
|
|
/* 8036A418 00367378 48 00 07 F5 */ bl DeallocateStream__10SDSPStreamFv
|
|
|
|
/* 8036A41C 0036737C 80 7F 00 08 */ lwz r3, 8(r31)
|
|
|
|
/* 8036A420 00367380 28 03 00 00 */ cmplwi r3, 0
|
|
|
|
/* 8036A424 00367384 41 82 00 0C */ beq lbl_8036A430
|
|
|
|
/* 8036A428 00367388 38 00 00 00 */ li r0, 0
|
|
|
|
/* 8036A42C 0036738C 90 03 00 0C */ stw r0, 0xc(r3)
|
|
|
|
lbl_8036A430:
|
|
|
|
/* 8036A430 00367390 80 7F 00 0C */ lwz r3, 0xc(r31)
|
|
|
|
/* 8036A434 00367394 28 03 00 00 */ cmplwi r3, 0
|
|
|
|
/* 8036A438 00367398 41 82 00 0C */ beq lbl_8036A444
|
|
|
|
/* 8036A43C 0036739C 38 00 00 00 */ li r0, 0
|
|
|
|
/* 8036A440 003673A0 90 03 00 08 */ stw r0, 8(r3)
|
|
|
|
lbl_8036A444:
|
|
|
|
/* 8036A444 003673A4 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
|
|
/* 8036A448 003673A8 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
|
|
/* 8036A44C 003673AC 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 8036A450 003673B0 38 21 00 10 */ addi r1, r1, 0x10
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 8036A454 003673B4 4E 80 00 20 */ blr
|
2022-04-16 07:50:32 +00:00
|
|
|
|
|
|
|
.global InitializeStream__10SDSPStreamFv
|
|
|
|
InitializeStream__10SDSPStreamFv:
|
|
|
|
/* 8036A458 003673B8 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
|
|
/* 8036A45C 003673BC 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 8036A460 003673C0 90 01 00 14 */ stw r0, 0x14(r1)
|
|
|
|
/* 8036A464 003673C4 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
|
|
/* 8036A468 003673C8 7C 7F 1B 78 */ mr r31, r3
|
|
|
|
/* 8036A46C 003673CC 88 03 00 00 */ lbz r0, 0(r3)
|
|
|
|
/* 8036A470 003673D0 28 00 00 00 */ cmplwi r0, 0
|
|
|
|
/* 8036A474 003673D4 40 82 00 0C */ bne lbl_8036A480
|
|
|
|
/* 8036A478 003673D8 38 60 00 00 */ li r3, 0
|
|
|
|
/* 8036A47C 003673DC 48 00 00 90 */ b lbl_8036A50C
|
|
|
|
lbl_8036A480:
|
|
|
|
/* 8036A480 003673E0 80 7F 00 C8 */ lwz r3, 0xc8(r31)
|
|
|
|
/* 8036A484 003673E4 38 C0 00 00 */ li r6, 0
|
|
|
|
/* 8036A488 003673E8 88 9F 00 4C */ lbz r4, 0x4c(r31)
|
|
|
|
/* 8036A48C 003673EC 38 E0 00 00 */ li r7, 0
|
|
|
|
/* 8036A490 003673F0 88 BF 00 4D */ lbz r5, 0x4d(r31)
|
|
|
|
/* 8036A494 003673F4 39 00 00 00 */ li r8, 0
|
|
|
|
/* 8036A498 003673F8 48 03 47 99 */ bl sndStreamMixParameterEx
|
|
|
|
/* 8036A49C 003673FC 80 7F 00 C8 */ lwz r3, 0xc8(r31)
|
|
|
|
/* 8036A4A0 00367400 A0 9F 00 14 */ lhz r4, 0x14(r31)
|
|
|
|
/* 8036A4A4 00367404 48 03 4C E9 */ bl sndStreamFrq
|
|
|
|
/* 8036A4A8 00367408 80 7F 00 C8 */ lwz r3, 0xc8(r31)
|
|
|
|
/* 8036A4AC 0036740C 38 9F 00 2C */ addi r4, r31, 0x2c
|
|
|
|
/* 8036A4B0 00367410 48 03 3B 79 */ bl sndStreamADPCMParameter
|
|
|
|
/* 8036A4B4 00367414 80 1F 00 DC */ lwz r0, 0xdc(r31)
|
|
|
|
/* 8036A4B8 00367418 38 80 00 00 */ li r4, 0
|
|
|
|
/* 8036A4BC 0036741C 80 7F 00 C8 */ lwz r3, 0xc8(r31)
|
|
|
|
/* 8036A4C0 00367420 38 C0 00 00 */ li r6, 0
|
|
|
|
/* 8036A4C4 00367424 54 05 F8 7E */ srwi r5, r0, 1
|
|
|
|
/* 8036A4C8 00367428 38 E0 00 00 */ li r7, 0
|
|
|
|
/* 8036A4CC 0036742C 48 03 2F 75 */ bl sndStreamARAMUpdate
|
|
|
|
/* 8036A4D0 00367430 80 7F 00 C8 */ lwz r3, 0xc8(r31)
|
|
|
|
/* 8036A4D4 00367434 48 03 59 F5 */ bl sndStreamActivate
|
|
|
|
/* 8036A4D8 00367438 54 60 06 3F */ clrlwi. r0, r3, 0x18
|
|
|
|
/* 8036A4DC 0036743C 41 82 00 1C */ beq lbl_8036A4F8
|
|
|
|
/* 8036A4E0 00367440 38 00 00 04 */ li r0, 4
|
|
|
|
/* 8036A4E4 00367444 7F E3 FB 78 */ mr r3, r31
|
|
|
|
/* 8036A4E8 00367448 98 1F 00 00 */ stb r0, 0(r31)
|
|
|
|
/* 8036A4EC 0036744C 48 00 00 B9 */ bl BufferStream__10SDSPStreamFv
|
|
|
|
/* 8036A4F0 00367450 38 60 00 01 */ li r3, 1
|
|
|
|
/* 8036A4F4 00367454 48 00 00 18 */ b lbl_8036A50C
|
|
|
|
lbl_8036A4F8:
|
|
|
|
/* 8036A4F8 00367458 7F E3 FB 78 */ mr r3, r31
|
|
|
|
/* 8036A4FC 0036745C 48 00 07 11 */ bl DeallocateStream__10SDSPStreamFv
|
|
|
|
/* 8036A500 00367460 7F E3 FB 78 */ mr r3, r31
|
|
|
|
/* 8036A504 00367464 48 00 0D 35 */ bl CloseFiles__10SDSPStreamFv
|
|
|
|
/* 8036A508 00367468 38 60 00 00 */ li r3, 0
|
|
|
|
lbl_8036A50C:
|
|
|
|
/* 8036A50C 0036746C 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
|
|
/* 8036A510 00367470 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
|
|
/* 8036A514 00367474 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 8036A518 00367478 38 21 00 10 */ addi r1, r1, 0x10
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 8036A51C 0036747C 4E 80 00 20 */ blr
|
2022-04-16 07:50:32 +00:00
|
|
|
|
|
|
|
.global UpdateStream__10SDSPStreamFPviPvii
|
|
|
|
UpdateStream__10SDSPStreamFPviPvii:
|
|
|
|
/* 8036A520 00367480 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
|
|
/* 8036A524 00367484 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 8036A528 00367488 90 01 00 14 */ stw r0, 0x14(r1)
|
|
|
|
/* 8036A52C 0036748C 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
|
|
/* 8036A530 00367490 7C FF 3B 78 */ mr r31, r7
|
|
|
|
/* 8036A534 00367494 80 07 00 E8 */ lwz r0, 0xe8(r7)
|
|
|
|
/* 8036A538 00367498 2C 00 00 00 */ cmpwi r0, 0
|
|
|
|
/* 8036A53C 0036749C 41 82 00 14 */ beq lbl_8036A550
|
|
|
|
/* 8036A540 003674A0 7F E3 FB 78 */ mr r3, r31
|
|
|
|
/* 8036A544 003674A4 48 00 02 3D */ bl StopStream__10SDSPStreamFv
|
|
|
|
/* 8036A548 003674A8 38 60 00 00 */ li r3, 0
|
|
|
|
/* 8036A54C 003674AC 48 00 00 44 */ b lbl_8036A590
|
|
|
|
lbl_8036A550:
|
|
|
|
/* 8036A550 003674B0 80 1F 00 DC */ lwz r0, 0xdc(r31)
|
|
|
|
/* 8036A554 003674B4 7C 64 32 14 */ add r3, r4, r6
|
|
|
|
/* 8036A558 003674B8 54 00 F8 7E */ srwi r0, r0, 1
|
|
|
|
/* 8036A55C 003674BC 7C 03 00 40 */ cmplw r3, r0
|
|
|
|
/* 8036A560 003674C0 40 80 00 0C */ bge lbl_8036A56C
|
|
|
|
/* 8036A564 003674C4 38 60 00 00 */ li r3, 0
|
|
|
|
/* 8036A568 003674C8 48 00 00 28 */ b lbl_8036A590
|
|
|
|
lbl_8036A56C:
|
|
|
|
/* 8036A56C 003674CC 88 1F 00 EC */ lbz r0, 0xec(r31)
|
|
|
|
/* 8036A570 003674D0 28 00 00 00 */ cmplwi r0, 0
|
|
|
|
/* 8036A574 003674D4 40 82 00 18 */ bne lbl_8036A58C
|
|
|
|
/* 8036A578 003674D8 7F E3 FB 78 */ mr r3, r31
|
|
|
|
/* 8036A57C 003674DC 48 00 00 29 */ bl BufferStream__10SDSPStreamFv
|
|
|
|
/* 8036A580 003674E0 80 1F 00 DC */ lwz r0, 0xdc(r31)
|
|
|
|
/* 8036A584 003674E4 54 03 F8 7E */ srwi r3, r0, 1
|
|
|
|
/* 8036A588 003674E8 48 00 00 08 */ b lbl_8036A590
|
|
|
|
lbl_8036A58C:
|
|
|
|
/* 8036A58C 003674EC 38 60 00 00 */ li r3, 0
|
|
|
|
lbl_8036A590:
|
|
|
|
/* 8036A590 003674F0 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
|
|
/* 8036A594 003674F4 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
|
|
/* 8036A598 003674F8 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 8036A59C 003674FC 38 21 00 10 */ addi r1, r1, 0x10
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 8036A5A0 00367500 4E 80 00 20 */ blr
|
2022-04-16 07:50:32 +00:00
|
|
|
|
|
|
|
.global BufferStream__10SDSPStreamFv
|
|
|
|
BufferStream__10SDSPStreamFv:
|
|
|
|
/* 8036A5A4 00367504 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
|
|
/* 8036A5A8 00367508 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 8036A5AC 0036750C 90 01 00 24 */ stw r0, 0x24(r1)
|
|
|
|
/* 8036A5B0 00367510 BF 61 00 0C */ stmw r27, 0xc(r1)
|
|
|
|
/* 8036A5B4 00367514 7C 7B 1B 78 */ mr r27, r3
|
|
|
|
/* 8036A5B8 00367518 3B A0 00 00 */ li r29, 0
|
|
|
|
/* 8036A5BC 0036751C 88 03 00 E0 */ lbz r0, 0xe0(r3)
|
|
|
|
/* 8036A5C0 00367520 80 63 00 D8 */ lwz r3, 0xd8(r3)
|
|
|
|
/* 8036A5C4 00367524 28 00 00 00 */ cmplwi r0, 0
|
|
|
|
/* 8036A5C8 00367528 54 65 F8 7E */ srwi r5, r3, 1
|
|
|
|
/* 8036A5CC 0036752C 7C BE 2B 78 */ mr r30, r5
|
|
|
|
/* 8036A5D0 00367530 41 82 00 10 */ beq lbl_8036A5E0
|
|
|
|
/* 8036A5D4 00367534 80 1B 00 D4 */ lwz r0, 0xd4(r27)
|
|
|
|
/* 8036A5D8 00367538 7F E0 2A 14 */ add r31, r0, r5
|
|
|
|
/* 8036A5DC 0036753C 48 00 00 08 */ b lbl_8036A5E4
|
|
|
|
lbl_8036A5E0:
|
|
|
|
/* 8036A5E0 00367540 83 FB 00 D4 */ lwz r31, 0xd4(r27)
|
|
|
|
lbl_8036A5E4:
|
|
|
|
/* 8036A5E4 00367544 88 9B 00 20 */ lbz r4, 0x20(r27)
|
|
|
|
/* 8036A5E8 00367548 28 04 00 00 */ cmplwi r4, 0
|
|
|
|
/* 8036A5EC 0036754C 41 82 00 0C */ beq lbl_8036A5F8
|
|
|
|
/* 8036A5F0 00367550 80 DB 00 28 */ lwz r6, 0x28(r27)
|
|
|
|
/* 8036A5F4 00367554 48 00 00 08 */ b lbl_8036A5FC
|
|
|
|
lbl_8036A5F8:
|
|
|
|
/* 8036A5F8 00367558 80 DB 00 D0 */ lwz r6, 0xd0(r27)
|
|
|
|
lbl_8036A5FC:
|
|
|
|
/* 8036A5FC 0036755C 80 7B 00 CC */ lwz r3, 0xcc(r27)
|
|
|
|
/* 8036A600 00367560 7C 03 F2 14 */ add r0, r3, r30
|
|
|
|
/* 8036A604 00367564 7C 00 30 40 */ cmplw r0, r6
|
|
|
|
/* 8036A608 00367568 40 81 00 8C */ ble lbl_8036A694
|
|
|
|
/* 8036A60C 0036756C 7C 06 18 40 */ cmplw r6, r3
|
|
|
|
/* 8036A610 00367570 40 81 00 2C */ ble lbl_8036A63C
|
|
|
|
/* 8036A614 00367574 28 04 00 00 */ cmplwi r4, 0
|
|
|
|
/* 8036A618 00367578 7F C3 30 50 */ subf r30, r3, r6
|
|
|
|
/* 8036A61C 0036757C 41 82 00 0C */ beq lbl_8036A628
|
|
|
|
/* 8036A620 00367580 7F BE 28 50 */ subf r29, r30, r5
|
|
|
|
/* 8036A624 00367584 48 00 00 70 */ b lbl_8036A694
|
|
|
|
lbl_8036A628:
|
|
|
|
/* 8036A628 00367588 7C 7F F2 14 */ add r3, r31, r30
|
|
|
|
/* 8036A62C 0036758C 7C BE 28 50 */ subf r5, r30, r5
|
|
|
|
/* 8036A630 00367590 38 80 00 00 */ li r4, 0
|
|
|
|
/* 8036A634 00367594 4B C9 8D 75 */ bl memset
|
|
|
|
/* 8036A638 00367598 48 00 00 5C */ b lbl_8036A694
|
|
|
|
lbl_8036A63C:
|
|
|
|
/* 8036A63C 0036759C 28 04 00 00 */ cmplwi r4, 0
|
|
|
|
/* 8036A640 003675A0 41 82 00 10 */ beq lbl_8036A650
|
|
|
|
/* 8036A644 003675A4 80 1B 00 24 */ lwz r0, 0x24(r27)
|
|
|
|
/* 8036A648 003675A8 90 1B 00 CC */ stw r0, 0xcc(r27)
|
|
|
|
/* 8036A64C 003675AC 48 00 00 48 */ b lbl_8036A694
|
|
|
|
lbl_8036A650:
|
|
|
|
/* 8036A650 003675B0 7F E3 FB 78 */ mr r3, r31
|
|
|
|
/* 8036A654 003675B4 38 80 00 00 */ li r4, 0
|
|
|
|
/* 8036A658 003675B8 4B C9 8D 51 */ bl memset
|
|
|
|
/* 8036A65C 003675BC 88 1B 00 E0 */ lbz r0, 0xe0(r27)
|
|
|
|
/* 8036A660 003675C0 80 7B 00 C8 */ lwz r3, 0xc8(r27)
|
|
|
|
/* 8036A664 003675C4 28 00 00 00 */ cmplwi r0, 0
|
|
|
|
/* 8036A668 003675C8 41 82 00 10 */ beq lbl_8036A678
|
|
|
|
/* 8036A66C 003675CC 80 1B 00 DC */ lwz r0, 0xdc(r27)
|
|
|
|
/* 8036A670 003675D0 54 04 F8 7E */ srwi r4, r0, 1
|
|
|
|
/* 8036A674 003675D4 48 00 00 08 */ b lbl_8036A67C
|
|
|
|
lbl_8036A678:
|
|
|
|
/* 8036A678 003675D8 38 80 00 00 */ li r4, 0
|
|
|
|
lbl_8036A67C:
|
|
|
|
/* 8036A67C 003675DC 80 1B 00 DC */ lwz r0, 0xdc(r27)
|
|
|
|
/* 8036A680 003675E0 38 C0 00 00 */ li r6, 0
|
|
|
|
/* 8036A684 003675E4 38 E0 00 00 */ li r7, 0
|
|
|
|
/* 8036A688 003675E8 54 05 F8 7E */ srwi r5, r0, 1
|
|
|
|
/* 8036A68C 003675EC 48 03 2D B5 */ bl sndStreamARAMUpdate
|
|
|
|
/* 8036A690 003675F0 3B C0 00 00 */ li r30, 0
|
|
|
|
lbl_8036A694:
|
|
|
|
/* 8036A694 003675F4 48 01 6F CD */ bl OSDisableInterrupts
|
|
|
|
/* 8036A698 003675F8 28 1E 00 00 */ cmplwi r30, 0
|
|
|
|
/* 8036A69C 003675FC 7C 7C 1B 78 */ mr r28, r3
|
|
|
|
/* 8036A6A0 00367600 41 82 00 98 */ beq lbl_8036A738
|
|
|
|
/* 8036A6A4 00367604 88 1B 00 EC */ lbz r0, 0xec(r27)
|
|
|
|
/* 8036A6A8 00367608 28 00 00 00 */ cmplwi r0, 0
|
|
|
|
/* 8036A6AC 0036760C 40 82 00 AC */ bne lbl_8036A758
|
|
|
|
/* 8036A6B0 00367610 80 DB 00 18 */ lwz r6, 0x18(r27)
|
|
|
|
/* 8036A6B4 00367614 3C 60 80 37 */ lis r3, ReadCompleted__10SDSPStreamFiP11DVDFileInfo@ha
|
|
|
|
/* 8036A6B8 00367618 80 1B 00 CC */ lwz r0, 0xcc(r27)
|
|
|
|
/* 8036A6BC 0036761C 38 E3 A1 F4 */ addi r7, r3, ReadCompleted__10SDSPStreamFiP11DVDFileInfo@l
|
|
|
|
/* 8036A6C0 00367620 7F E4 FB 78 */ mr r4, r31
|
|
|
|
/* 8036A6C4 00367624 7F C5 F3 78 */ mr r5, r30
|
|
|
|
/* 8036A6C8 00367628 38 7B 00 50 */ addi r3, r27, 0x50
|
|
|
|
/* 8036A6CC 0036762C 7C C6 02 14 */ add r6, r6, r0
|
|
|
|
/* 8036A6D0 00367630 39 00 00 01 */ li r8, 1
|
|
|
|
/* 8036A6D4 00367634 48 00 72 C1 */ bl DVDReadAsyncPrio
|
|
|
|
/* 8036A6D8 00367638 28 1D 00 00 */ cmplwi r29, 0
|
|
|
|
/* 8036A6DC 0036763C 41 82 00 44 */ beq lbl_8036A720
|
|
|
|
/* 8036A6E0 00367640 80 DB 00 18 */ lwz r6, 0x18(r27)
|
|
|
|
/* 8036A6E4 00367644 3C 60 80 37 */ lis r3, ReadCompleted__10SDSPStreamFiP11DVDFileInfo@ha
|
|
|
|
/* 8036A6E8 00367648 80 1B 00 24 */ lwz r0, 0x24(r27)
|
|
|
|
/* 8036A6EC 0036764C 38 E3 A1 F4 */ addi r7, r3, ReadCompleted__10SDSPStreamFiP11DVDFileInfo@l
|
|
|
|
/* 8036A6F0 00367650 7F A5 EB 78 */ mr r5, r29
|
|
|
|
/* 8036A6F4 00367654 38 7B 00 8C */ addi r3, r27, 0x8c
|
|
|
|
/* 8036A6F8 00367658 7C 9F F2 14 */ add r4, r31, r30
|
|
|
|
/* 8036A6FC 0036765C 7C C6 02 14 */ add r6, r6, r0
|
|
|
|
/* 8036A700 00367660 39 00 00 01 */ li r8, 1
|
|
|
|
/* 8036A704 00367664 48 00 72 91 */ bl DVDReadAsyncPrio
|
|
|
|
/* 8036A708 00367668 38 00 00 02 */ li r0, 2
|
|
|
|
/* 8036A70C 0036766C 98 1B 00 EC */ stb r0, 0xec(r27)
|
|
|
|
/* 8036A710 00367670 80 1B 00 24 */ lwz r0, 0x24(r27)
|
|
|
|
/* 8036A714 00367674 7C 1D 02 14 */ add r0, r29, r0
|
|
|
|
/* 8036A718 00367678 90 1B 00 CC */ stw r0, 0xcc(r27)
|
|
|
|
/* 8036A71C 0036767C 48 00 00 3C */ b lbl_8036A758
|
|
|
|
lbl_8036A720:
|
|
|
|
/* 8036A720 00367680 38 00 00 01 */ li r0, 1
|
|
|
|
/* 8036A724 00367684 98 1B 00 EC */ stb r0, 0xec(r27)
|
|
|
|
/* 8036A728 00367688 80 1B 00 CC */ lwz r0, 0xcc(r27)
|
|
|
|
/* 8036A72C 0036768C 7C 00 F2 14 */ add r0, r0, r30
|
|
|
|
/* 8036A730 00367690 90 1B 00 CC */ stw r0, 0xcc(r27)
|
|
|
|
/* 8036A734 00367694 48 00 00 24 */ b lbl_8036A758
|
|
|
|
lbl_8036A738:
|
|
|
|
/* 8036A738 00367698 80 1B 00 E4 */ lwz r0, 0xe4(r27)
|
|
|
|
/* 8036A73C 0036769C 2C 00 00 00 */ cmpwi r0, 0
|
|
|
|
/* 8036A740 003676A0 41 82 00 10 */ beq lbl_8036A750
|
|
|
|
/* 8036A744 003676A4 38 00 00 00 */ li r0, 0
|
|
|
|
/* 8036A748 003676A8 90 1B 00 E4 */ stw r0, 0xe4(r27)
|
|
|
|
/* 8036A74C 003676AC 48 00 00 0C */ b lbl_8036A758
|
|
|
|
lbl_8036A750:
|
|
|
|
/* 8036A750 003676B0 7F 63 DB 78 */ mr r3, r27
|
|
|
|
/* 8036A754 003676B4 48 00 00 2D */ bl StopStream__10SDSPStreamFv
|
|
|
|
lbl_8036A758:
|
|
|
|
/* 8036A758 003676B8 88 1B 00 E0 */ lbz r0, 0xe0(r27)
|
|
|
|
/* 8036A75C 003676BC 7F 83 E3 78 */ mr r3, r28
|
|
|
|
/* 8036A760 003676C0 68 00 00 01 */ xori r0, r0, 1
|
|
|
|
/* 8036A764 003676C4 98 1B 00 E0 */ stb r0, 0xe0(r27)
|
|
|
|
/* 8036A768 003676C8 48 01 6F 21 */ bl OSRestoreInterrupts
|
|
|
|
/* 8036A76C 003676CC BB 61 00 0C */ lmw r27, 0xc(r1)
|
|
|
|
/* 8036A770 003676D0 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
|
|
/* 8036A774 003676D4 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 8036A778 003676D8 38 21 00 20 */ addi r1, r1, 0x20
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 8036A77C 003676DC 4E 80 00 20 */ blr
|
2022-04-16 07:50:32 +00:00
|
|
|
|
|
|
|
.global StopStream__10SDSPStreamFv
|
|
|
|
StopStream__10SDSPStreamFv:
|
|
|
|
/* 8036A780 003676E0 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
|
|
/* 8036A784 003676E4 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 8036A788 003676E8 90 01 00 14 */ stw r0, 0x14(r1)
|
|
|
|
/* 8036A78C 003676EC 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
|
|
/* 8036A790 003676F0 7C 7F 1B 78 */ mr r31, r3
|
|
|
|
/* 8036A794 003676F4 88 03 00 EC */ lbz r0, 0xec(r3)
|
|
|
|
/* 8036A798 003676F8 28 00 00 00 */ cmplwi r0, 0
|
|
|
|
/* 8036A79C 003676FC 40 82 00 14 */ bne lbl_8036A7B0
|
|
|
|
/* 8036A7A0 00367700 48 00 0A 99 */ bl CloseFiles__10SDSPStreamFv
|
|
|
|
/* 8036A7A4 00367704 7F E3 FB 78 */ mr r3, r31
|
|
|
|
/* 8036A7A8 00367708 48 00 04 65 */ bl DeallocateStream__10SDSPStreamFv
|
|
|
|
/* 8036A7AC 0036770C 48 00 00 0C */ b lbl_8036A7B8
|
|
|
|
lbl_8036A7B0:
|
|
|
|
/* 8036A7B0 00367710 38 00 00 01 */ li r0, 1
|
|
|
|
/* 8036A7B4 00367714 90 1F 00 F0 */ stw r0, 0xf0(r31)
|
|
|
|
lbl_8036A7B8:
|
|
|
|
/* 8036A7B8 00367718 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
|
|
/* 8036A7BC 0036771C 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
|
|
/* 8036A7C0 00367720 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 8036A7C4 00367724 38 21 00 10 */ addi r1, r1, 0x10
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 8036A7C8 00367728 4E 80 00 20 */ blr
|
2022-04-16 07:50:32 +00:00
|
|
|
|
|
|
|
.global IsStreamAvailable__10SDSPStreamFi
|
|
|
|
IsStreamAvailable__10SDSPStreamFi:
|
|
|
|
/* 8036A7CC 0036772C 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
|
|
/* 8036A7D0 00367730 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 8036A7D4 00367734 90 01 00 14 */ stw r0, 0x14(r1)
|
|
|
|
/* 8036A7D8 00367738 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
|
|
/* 8036A7DC 0036773C 3B E0 00 00 */ li r31, 0
|
|
|
|
/* 8036A7E0 00367740 93 C1 00 08 */ stw r30, 8(r1)
|
|
|
|
/* 8036A7E4 00367744 7C 7E 1B 78 */ mr r30, r3
|
|
|
|
/* 8036A7E8 00367748 48 01 6E 79 */ bl OSDisableInterrupts
|
|
|
|
/* 8036A7EC 0036774C 7C 60 1B 78 */ mr r0, r3
|
|
|
|
/* 8036A7F0 00367750 7F C3 F3 78 */ mr r3, r30
|
|
|
|
/* 8036A7F4 00367754 7C 1E 03 78 */ mr r30, r0
|
|
|
|
/* 8036A7F8 00367758 48 00 08 89 */ bl FindStreamIdx__10SDSPStreamFi
|
|
|
|
/* 8036A7FC 0036775C 3C 03 00 01 */ addis r0, r3, 1
|
|
|
|
/* 8036A800 00367760 28 00 FF FF */ cmplwi r0, 0xffff
|
|
|
|
/* 8036A804 00367764 41 82 00 20 */ beq lbl_8036A824
|
|
|
|
/* 8036A808 00367768 1C 03 00 F4 */ mulli r0, r3, 0xf4
|
|
|
|
/* 8036A80C 0036776C 3C 60 80 54 */ lis r3, lbl_80540640@ha
|
|
|
|
/* 8036A810 00367770 38 63 06 40 */ addi r3, r3, lbl_80540640@l
|
|
|
|
/* 8036A814 00367774 7C 03 00 AE */ lbzx r0, r3, r0
|
|
|
|
/* 8036A818 00367778 20 00 00 04 */ subfic r0, r0, 4
|
|
|
|
/* 8036A81C 0036777C 7C 00 00 34 */ cntlzw r0, r0
|
|
|
|
/* 8036A820 00367780 54 1F D9 7E */ srwi r31, r0, 5
|
|
|
|
lbl_8036A824:
|
|
|
|
/* 8036A824 00367784 7F C3 F3 78 */ mr r3, r30
|
|
|
|
/* 8036A828 00367788 48 01 6E 61 */ bl OSRestoreInterrupts
|
|
|
|
/* 8036A82C 0036778C 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
|
|
/* 8036A830 00367790 7F E3 FB 78 */ mr r3, r31
|
|
|
|
/* 8036A834 00367794 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
|
|
/* 8036A838 00367798 83 C1 00 08 */ lwz r30, 8(r1)
|
|
|
|
/* 8036A83C 0036779C 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 8036A840 003677A0 38 21 00 10 */ addi r1, r1, 0x10
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 8036A844 003677A4 4E 80 00 20 */ blr
|
2022-04-16 07:50:32 +00:00
|
|
|
|
|
|
|
.global IsStreamActive__10SDSPStreamFi
|
|
|
|
IsStreamActive__10SDSPStreamFi:
|
|
|
|
/* 8036A848 003677A8 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
|
|
/* 8036A84C 003677AC 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 8036A850 003677B0 90 01 00 14 */ stw r0, 0x14(r1)
|
|
|
|
/* 8036A854 003677B4 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
|
|
/* 8036A858 003677B8 3B E0 00 00 */ li r31, 0
|
|
|
|
/* 8036A85C 003677BC 93 C1 00 08 */ stw r30, 8(r1)
|
|
|
|
/* 8036A860 003677C0 7C 7E 1B 78 */ mr r30, r3
|
|
|
|
/* 8036A864 003677C4 48 01 6D FD */ bl OSDisableInterrupts
|
|
|
|
/* 8036A868 003677C8 7C 60 1B 78 */ mr r0, r3
|
|
|
|
/* 8036A86C 003677CC 7F C3 F3 78 */ mr r3, r30
|
|
|
|
/* 8036A870 003677D0 7C 1E 03 78 */ mr r30, r0
|
|
|
|
/* 8036A874 003677D4 48 00 08 0D */ bl FindStreamIdx__10SDSPStreamFi
|
|
|
|
/* 8036A878 003677D8 3C 03 00 01 */ addis r0, r3, 1
|
|
|
|
/* 8036A87C 003677DC 28 00 FF FF */ cmplwi r0, 0xffff
|
|
|
|
/* 8036A880 003677E0 41 82 00 20 */ beq lbl_8036A8A0
|
|
|
|
/* 8036A884 003677E4 1C 03 00 F4 */ mulli r0, r3, 0xf4
|
|
|
|
/* 8036A888 003677E8 3C 60 80 54 */ lis r3, lbl_80540640@ha
|
|
|
|
/* 8036A88C 003677EC 38 63 06 40 */ addi r3, r3, lbl_80540640@l
|
|
|
|
/* 8036A890 003677F0 7C 63 00 AE */ lbzx r3, r3, r0
|
|
|
|
/* 8036A894 003677F4 7C 03 00 D0 */ neg r0, r3
|
|
|
|
/* 8036A898 003677F8 7C 00 1B 78 */ or r0, r0, r3
|
|
|
|
/* 8036A89C 003677FC 54 1F 0F FE */ srwi r31, r0, 0x1f
|
|
|
|
lbl_8036A8A0:
|
|
|
|
/* 8036A8A0 00367800 7F C3 F3 78 */ mr r3, r30
|
|
|
|
/* 8036A8A4 00367804 48 01 6D E5 */ bl OSRestoreInterrupts
|
|
|
|
/* 8036A8A8 00367808 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
|
|
/* 8036A8AC 0036780C 7F E3 FB 78 */ mr r3, r31
|
|
|
|
/* 8036A8B0 00367810 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
|
|
/* 8036A8B4 00367814 83 C1 00 08 */ lwz r30, 8(r1)
|
|
|
|
/* 8036A8B8 00367818 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 8036A8BC 0036781C 38 21 00 10 */ addi r1, r1, 0x10
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 8036A8C0 00367820 4E 80 00 20 */ blr
|
2022-04-16 07:50:32 +00:00
|
|
|
|
|
|
|
.global UpdateVolume__10SDSPStreamFi
|
|
|
|
UpdateVolume__10SDSPStreamFi:
|
|
|
|
/* 8036A8C4 00367824 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
|
|
/* 8036A8C8 00367828 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 8036A8CC 0036782C 90 01 00 24 */ stw r0, 0x24(r1)
|
|
|
|
/* 8036A8D0 00367830 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
|
|
/* 8036A8D4 00367834 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
|
|
/* 8036A8D8 00367838 7C 7E 1B 78 */ mr r30, r3
|
|
|
|
/* 8036A8DC 0036783C 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
|
|
/* 8036A8E0 00367840 7C 9D 23 78 */ mr r29, r4
|
|
|
|
/* 8036A8E4 00367844 48 01 6D 7D */ bl OSDisableInterrupts
|
|
|
|
/* 8036A8E8 00367848 7C 60 1B 78 */ mr r0, r3
|
|
|
|
/* 8036A8EC 0036784C 7F C3 F3 78 */ mr r3, r30
|
|
|
|
/* 8036A8F0 00367850 7C 1F 03 78 */ mr r31, r0
|
|
|
|
/* 8036A8F4 00367854 48 00 07 8D */ bl FindStreamIdx__10SDSPStreamFi
|
|
|
|
/* 8036A8F8 00367858 3C 03 00 01 */ addis r0, r3, 1
|
|
|
|
/* 8036A8FC 0036785C 28 00 FF FF */ cmplwi r0, 0xffff
|
|
|
|
/* 8036A900 00367860 41 82 00 48 */ beq lbl_8036A948
|
|
|
|
/* 8036A904 00367864 1C A3 00 F4 */ mulli r5, r3, 0xf4
|
|
|
|
/* 8036A908 00367868 3C 60 80 54 */ lis r3, lbl_80540640@ha
|
|
|
|
/* 8036A90C 0036786C 7F A4 EB 78 */ mr r4, r29
|
|
|
|
/* 8036A910 00367870 38 03 06 40 */ addi r0, r3, lbl_80540640@l
|
|
|
|
/* 8036A914 00367874 7F C0 2A 14 */ add r30, r0, r5
|
|
|
|
/* 8036A918 00367878 7F C3 F3 78 */ mr r3, r30
|
|
|
|
/* 8036A91C 0036787C 48 00 00 51 */ bl UpdateStreamVolume__10SDSPStreamFi
|
|
|
|
/* 8036A920 00367880 80 7E 00 08 */ lwz r3, 8(r30)
|
|
|
|
/* 8036A924 00367884 28 03 00 00 */ cmplwi r3, 0
|
|
|
|
/* 8036A928 00367888 41 82 00 0C */ beq lbl_8036A934
|
|
|
|
/* 8036A92C 0036788C 7F A4 EB 78 */ mr r4, r29
|
|
|
|
/* 8036A930 00367890 48 00 00 3D */ bl UpdateStreamVolume__10SDSPStreamFi
|
|
|
|
lbl_8036A934:
|
|
|
|
/* 8036A934 00367894 80 7E 00 0C */ lwz r3, 0xc(r30)
|
|
|
|
/* 8036A938 00367898 28 03 00 00 */ cmplwi r3, 0
|
|
|
|
/* 8036A93C 0036789C 41 82 00 0C */ beq lbl_8036A948
|
|
|
|
/* 8036A940 003678A0 7F A4 EB 78 */ mr r4, r29
|
|
|
|
/* 8036A944 003678A4 48 00 00 29 */ bl UpdateStreamVolume__10SDSPStreamFi
|
|
|
|
lbl_8036A948:
|
|
|
|
/* 8036A948 003678A8 7F E3 FB 78 */ mr r3, r31
|
|
|
|
/* 8036A94C 003678AC 48 01 6D 3D */ bl OSRestoreInterrupts
|
|
|
|
/* 8036A950 003678B0 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
|
|
/* 8036A954 003678B4 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
|
|
/* 8036A958 003678B8 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
|
|
/* 8036A95C 003678BC 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
|
|
/* 8036A960 003678C0 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 8036A964 003678C4 38 21 00 20 */ addi r1, r1, 0x20
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 8036A968 003678C8 4E 80 00 20 */ blr
|
2022-04-16 07:50:32 +00:00
|
|
|
|
|
|
|
.global UpdateStreamVolume__10SDSPStreamFi
|
|
|
|
UpdateStreamVolume__10SDSPStreamFi:
|
|
|
|
/* 8036A96C 003678CC 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
|
|
/* 8036A970 003678D0 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 8036A974 003678D4 7C 65 1B 78 */ mr r5, r3
|
|
|
|
/* 8036A978 003678D8 90 01 00 14 */ stw r0, 0x14(r1)
|
|
|
|
/* 8036A97C 003678DC 98 83 00 4C */ stb r4, 0x4c(r3)
|
|
|
|
/* 8036A980 003678E0 88 03 00 00 */ lbz r0, 0(r3)
|
|
|
|
/* 8036A984 003678E4 28 00 00 00 */ cmplwi r0, 0
|
|
|
|
/* 8036A988 003678E8 41 82 00 2C */ beq lbl_8036A9B4
|
|
|
|
/* 8036A98C 003678EC 80 05 00 E8 */ lwz r0, 0xe8(r5)
|
|
|
|
/* 8036A990 003678F0 2C 00 00 00 */ cmpwi r0, 0
|
|
|
|
/* 8036A994 003678F4 40 82 00 20 */ bne lbl_8036A9B4
|
|
|
|
/* 8036A998 003678F8 80 65 00 C8 */ lwz r3, 0xc8(r5)
|
|
|
|
/* 8036A99C 003678FC 38 C0 00 00 */ li r6, 0
|
|
|
|
/* 8036A9A0 00367900 88 85 00 4C */ lbz r4, 0x4c(r5)
|
|
|
|
/* 8036A9A4 00367904 38 E0 00 00 */ li r7, 0
|
|
|
|
/* 8036A9A8 00367908 88 A5 00 4D */ lbz r5, 0x4d(r5)
|
|
|
|
/* 8036A9AC 0036790C 39 00 00 00 */ li r8, 0
|
|
|
|
/* 8036A9B0 00367910 48 03 42 81 */ bl sndStreamMixParameterEx
|
|
|
|
lbl_8036A9B4:
|
|
|
|
/* 8036A9B4 00367914 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
|
|
/* 8036A9B8 00367918 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 8036A9BC 0036791C 38 21 00 10 */ addi r1, r1, 0x10
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 8036A9C0 00367920 4E 80 00 20 */ blr
|
2022-04-16 07:50:32 +00:00
|
|
|
|
|
|
|
.global Silence__10SDSPStreamFv
|
|
|
|
Silence__10SDSPStreamFv:
|
|
|
|
/* 8036A9C4 00367924 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
|
|
/* 8036A9C8 00367928 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 8036A9CC 0036792C 90 01 00 14 */ stw r0, 0x14(r1)
|
|
|
|
/* 8036A9D0 00367930 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
|
|
/* 8036A9D4 00367934 93 C1 00 08 */ stw r30, 8(r1)
|
|
|
|
/* 8036A9D8 00367938 7C 7E 1B 78 */ mr r30, r3
|
|
|
|
/* 8036A9DC 0036793C 48 01 6C 85 */ bl OSDisableInterrupts
|
|
|
|
/* 8036A9E0 00367940 7C 60 1B 78 */ mr r0, r3
|
|
|
|
/* 8036A9E4 00367944 7F C3 F3 78 */ mr r3, r30
|
|
|
|
/* 8036A9E8 00367948 7C 1E 03 78 */ mr r30, r0
|
|
|
|
/* 8036A9EC 0036794C 48 00 06 95 */ bl FindStreamIdx__10SDSPStreamFi
|
|
|
|
/* 8036A9F0 00367950 3C 03 00 01 */ addis r0, r3, 1
|
|
|
|
/* 8036A9F4 00367954 28 00 FF FF */ cmplwi r0, 0xffff
|
|
|
|
/* 8036A9F8 00367958 41 82 00 50 */ beq lbl_8036AA48
|
|
|
|
/* 8036A9FC 0036795C 1F E3 00 F4 */ mulli r31, r3, 0xf4
|
|
|
|
/* 8036AA00 00367960 3C 60 80 54 */ lis r3, lbl_80540640@ha
|
|
|
|
/* 8036AA04 00367964 38 03 06 40 */ addi r0, r3, lbl_80540640@l
|
|
|
|
/* 8036AA08 00367968 7C 60 FA 14 */ add r3, r0, r31
|
|
|
|
/* 8036AA0C 0036796C 48 00 00 5D */ bl SilenceStream__10SDSPStreamFv
|
|
|
|
/* 8036AA10 00367970 3C 60 80 54 */ lis r3, lbl_80540640@ha
|
|
|
|
/* 8036AA14 00367974 38 03 06 40 */ addi r0, r3, lbl_80540640@l
|
|
|
|
/* 8036AA18 00367978 7C 60 FA 14 */ add r3, r0, r31
|
|
|
|
/* 8036AA1C 0036797C 80 63 00 08 */ lwz r3, 8(r3)
|
|
|
|
/* 8036AA20 00367980 28 03 00 00 */ cmplwi r3, 0
|
|
|
|
/* 8036AA24 00367984 41 82 00 08 */ beq lbl_8036AA2C
|
|
|
|
/* 8036AA28 00367988 48 00 00 41 */ bl SilenceStream__10SDSPStreamFv
|
|
|
|
lbl_8036AA2C:
|
|
|
|
/* 8036AA2C 0036798C 3C 60 80 54 */ lis r3, lbl_80540640@ha
|
|
|
|
/* 8036AA30 00367990 38 03 06 40 */ addi r0, r3, lbl_80540640@l
|
|
|
|
/* 8036AA34 00367994 7C 60 FA 14 */ add r3, r0, r31
|
|
|
|
/* 8036AA38 00367998 80 63 00 0C */ lwz r3, 0xc(r3)
|
|
|
|
/* 8036AA3C 0036799C 28 03 00 00 */ cmplwi r3, 0
|
|
|
|
/* 8036AA40 003679A0 41 82 00 08 */ beq lbl_8036AA48
|
|
|
|
/* 8036AA44 003679A4 48 00 00 25 */ bl SilenceStream__10SDSPStreamFv
|
|
|
|
lbl_8036AA48:
|
|
|
|
/* 8036AA48 003679A8 7F C3 F3 78 */ mr r3, r30
|
|
|
|
/* 8036AA4C 003679AC 48 01 6C 3D */ bl OSRestoreInterrupts
|
|
|
|
/* 8036AA50 003679B0 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
|
|
/* 8036AA54 003679B4 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
|
|
/* 8036AA58 003679B8 83 C1 00 08 */ lwz r30, 8(r1)
|
|
|
|
/* 8036AA5C 003679BC 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 8036AA60 003679C0 38 21 00 10 */ addi r1, r1, 0x10
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 8036AA64 003679C4 4E 80 00 20 */ blr
|
2022-04-16 07:50:32 +00:00
|
|
|
|
|
|
|
.global SilenceStream__10SDSPStreamFv
|
|
|
|
SilenceStream__10SDSPStreamFv:
|
|
|
|
/* 8036AA68 003679C8 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
|
|
/* 8036AA6C 003679CC 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 8036AA70 003679D0 90 01 00 14 */ stw r0, 0x14(r1)
|
|
|
|
/* 8036AA74 003679D4 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
|
|
/* 8036AA78 003679D8 7C 7F 1B 78 */ mr r31, r3
|
|
|
|
/* 8036AA7C 003679DC 88 03 00 00 */ lbz r0, 0(r3)
|
|
|
|
/* 8036AA80 003679E0 28 00 00 00 */ cmplwi r0, 0
|
|
|
|
/* 8036AA84 003679E4 41 82 00 34 */ beq lbl_8036AAB8
|
|
|
|
/* 8036AA88 003679E8 80 1F 00 E8 */ lwz r0, 0xe8(r31)
|
|
|
|
/* 8036AA8C 003679EC 2C 00 00 00 */ cmpwi r0, 0
|
|
|
|
/* 8036AA90 003679F0 40 82 00 28 */ bne lbl_8036AAB8
|
|
|
|
/* 8036AA94 003679F4 80 7F 00 C8 */ lwz r3, 0xc8(r31)
|
|
|
|
/* 8036AA98 003679F8 38 80 00 00 */ li r4, 0
|
|
|
|
/* 8036AA9C 003679FC 88 BF 00 4D */ lbz r5, 0x4d(r31)
|
|
|
|
/* 8036AAA0 00367A00 38 C0 00 00 */ li r6, 0
|
|
|
|
/* 8036AAA4 00367A04 38 E0 00 00 */ li r7, 0
|
|
|
|
/* 8036AAA8 00367A08 39 00 00 00 */ li r8, 0
|
|
|
|
/* 8036AAAC 00367A0C 48 03 41 85 */ bl sndStreamMixParameterEx
|
|
|
|
/* 8036AAB0 00367A10 38 00 00 01 */ li r0, 1
|
|
|
|
/* 8036AAB4 00367A14 90 1F 00 E8 */ stw r0, 0xe8(r31)
|
|
|
|
lbl_8036AAB8:
|
|
|
|
/* 8036AAB8 00367A18 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
|
|
/* 8036AABC 00367A1C 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
|
|
/* 8036AAC0 00367A20 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 8036AAC4 00367A24 38 21 00 10 */ addi r1, r1, 0x10
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 8036AAC8 00367A28 4E 80 00 20 */ blr
|
2022-04-16 07:50:32 +00:00
|
|
|
|
|
|
|
.global AllocateStereo__10SDSPStreamFRC11SStreamInfoRC11SStreamInfoci
|
|
|
|
AllocateStereo__10SDSPStreamFRC11SStreamInfoRC11SStreamInfoci:
|
|
|
|
/* 8036AACC 00367A2C 94 21 FF D0 */ stwu r1, -0x30(r1)
|
|
|
|
/* 8036AAD0 00367A30 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 8036AAD4 00367A34 90 01 00 34 */ stw r0, 0x34(r1)
|
|
|
|
/* 8036AAD8 00367A38 BF 41 00 18 */ stmw r26, 0x18(r1)
|
|
|
|
/* 8036AADC 00367A3C 7C 7E 1B 78 */ mr r30, r3
|
|
|
|
/* 8036AAE0 00367A40 7C 9A 23 78 */ mr r26, r4
|
|
|
|
/* 8036AAE4 00367A44 7C BB 2B 78 */ mr r27, r5
|
|
|
|
/* 8036AAE8 00367A48 7C DD 33 78 */ mr r29, r6
|
|
|
|
/* 8036AAEC 00367A4C 48 01 6B 75 */ bl OSDisableInterrupts
|
|
|
|
/* 8036AAF0 00367A50 7C 7C 1B 78 */ mr r28, r3
|
|
|
|
/* 8036AAF4 00367A54 7F A4 EB 78 */ mr r4, r29
|
|
|
|
/* 8036AAF8 00367A58 38 61 00 08 */ addi r3, r1, 8
|
|
|
|
/* 8036AAFC 00367A5C 48 00 06 11 */ bl PickFreeStream__10SDSPStreamFi
|
|
|
|
/* 8036AB00 00367A60 7C 7F 1B 78 */ mr r31, r3
|
|
|
|
/* 8036AB04 00367A64 3C 1F 00 01 */ addis r0, r31, 1
|
|
|
|
/* 8036AB08 00367A68 28 00 FF FF */ cmplwi r0, 0xffff
|
|
|
|
/* 8036AB0C 00367A6C 41 82 00 E0 */ beq lbl_8036ABEC
|
|
|
|
/* 8036AB10 00367A70 38 61 00 0C */ addi r3, r1, 0xc
|
|
|
|
/* 8036AB14 00367A74 7F A4 EB 78 */ mr r4, r29
|
|
|
|
/* 8036AB18 00367A78 48 00 05 F5 */ bl PickFreeStream__10SDSPStreamFi
|
|
|
|
/* 8036AB1C 00367A7C 3C 03 00 01 */ addis r0, r3, 1
|
|
|
|
/* 8036AB20 00367A80 28 00 FF FF */ cmplwi r0, 0xffff
|
|
|
|
/* 8036AB24 00367A84 41 82 00 BC */ beq lbl_8036ABE0
|
|
|
|
/* 8036AB28 00367A88 80 01 00 0C */ lwz r0, 0xc(r1)
|
|
|
|
/* 8036AB2C 00367A8C 7F C4 F3 78 */ mr r4, r30
|
|
|
|
/* 8036AB30 00367A90 80 61 00 08 */ lwz r3, 8(r1)
|
|
|
|
/* 8036AB34 00367A94 7F 65 DB 78 */ mr r5, r27
|
|
|
|
/* 8036AB38 00367A98 38 C0 00 00 */ li r6, 0
|
|
|
|
/* 8036AB3C 00367A9C 90 03 00 08 */ stw r0, 8(r3)
|
|
|
|
/* 8036AB40 00367AA0 80 01 00 08 */ lwz r0, 8(r1)
|
|
|
|
/* 8036AB44 00367AA4 80 61 00 0C */ lwz r3, 0xc(r1)
|
|
|
|
/* 8036AB48 00367AA8 90 03 00 0C */ stw r0, 0xc(r3)
|
|
|
|
/* 8036AB4C 00367AAC 80 61 00 08 */ lwz r3, 8(r1)
|
|
|
|
/* 8036AB50 00367AB0 48 00 02 1D */ bl AllocateStream__10SDSPStreamFi
|
|
|
|
/* 8036AB54 00367AB4 7C 7E 1B 78 */ mr r30, r3
|
|
|
|
/* 8036AB58 00367AB8 80 61 00 0C */ lwz r3, 0xc(r1)
|
|
|
|
/* 8036AB5C 00367ABC 7F 44 D3 78 */ mr r4, r26
|
|
|
|
/* 8036AB60 00367AC0 7F 65 DB 78 */ mr r5, r27
|
|
|
|
/* 8036AB64 00367AC4 38 C0 00 7F */ li r6, 0x7f
|
|
|
|
/* 8036AB68 00367AC8 48 00 02 05 */ bl AllocateStream__10SDSPStreamFi
|
|
|
|
/* 8036AB6C 00367ACC 7C 7D 1B 78 */ mr r29, r3
|
|
|
|
/* 8036AB70 00367AD0 7F 83 E3 78 */ mr r3, r28
|
|
|
|
/* 8036AB74 00367AD4 48 01 6B 15 */ bl OSRestoreInterrupts
|
|
|
|
/* 8036AB78 00367AD8 80 81 00 08 */ lwz r4, 8(r1)
|
|
|
|
/* 8036AB7C 00367ADC 80 64 00 10 */ lwz r3, 0x10(r4)
|
|
|
|
/* 8036AB80 00367AE0 48 00 06 F1 */ bl OpenFiles__10SDSPStreamFPCc
|
|
|
|
/* 8036AB84 00367AE4 80 81 00 0C */ lwz r4, 0xc(r1)
|
|
|
|
/* 8036AB88 00367AE8 80 64 00 10 */ lwz r3, 0x10(r4)
|
|
|
|
/* 8036AB8C 00367AEC 48 00 06 E5 */ bl OpenFiles__10SDSPStreamFPCc
|
|
|
|
/* 8036AB90 00367AF0 81 01 00 08 */ lwz r8, 8(r1)
|
|
|
|
/* 8036AB94 00367AF4 3C 60 80 37 */ lis r3, ReadCompleted__10SDSPStreamFiP11DVDFileInfo@ha
|
|
|
|
/* 8036AB98 00367AF8 38 E3 A1 F4 */ addi r7, r3, ReadCompleted__10SDSPStreamFiP11DVDFileInfo@l
|
|
|
|
/* 8036AB9C 00367AFC 7F C5 F3 78 */ mr r5, r30
|
|
|
|
/* 8036ABA0 00367B00 80 88 00 D4 */ lwz r4, 0xd4(r8)
|
|
|
|
/* 8036ABA4 00367B04 38 68 00 50 */ addi r3, r8, 0x50
|
|
|
|
/* 8036ABA8 00367B08 80 C8 00 18 */ lwz r6, 0x18(r8)
|
|
|
|
/* 8036ABAC 00367B0C 39 00 00 01 */ li r8, 1
|
|
|
|
/* 8036ABB0 00367B10 48 00 6D E5 */ bl DVDReadAsyncPrio
|
|
|
|
/* 8036ABB4 00367B14 81 01 00 0C */ lwz r8, 0xc(r1)
|
|
|
|
/* 8036ABB8 00367B18 3C 60 80 37 */ lis r3, ReadCompleted__10SDSPStreamFiP11DVDFileInfo@ha
|
|
|
|
/* 8036ABBC 00367B1C 38 E3 A1 F4 */ addi r7, r3, ReadCompleted__10SDSPStreamFiP11DVDFileInfo@l
|
|
|
|
/* 8036ABC0 00367B20 7F A5 EB 78 */ mr r5, r29
|
|
|
|
/* 8036ABC4 00367B24 80 88 00 D4 */ lwz r4, 0xd4(r8)
|
|
|
|
/* 8036ABC8 00367B28 38 68 00 50 */ addi r3, r8, 0x50
|
|
|
|
/* 8036ABCC 00367B2C 80 C8 00 18 */ lwz r6, 0x18(r8)
|
|
|
|
/* 8036ABD0 00367B30 39 00 00 01 */ li r8, 1
|
|
|
|
/* 8036ABD4 00367B34 48 00 6D C1 */ bl DVDReadAsyncPrio
|
|
|
|
/* 8036ABD8 00367B38 7F E3 FB 78 */ mr r3, r31
|
|
|
|
/* 8036ABDC 00367B3C 48 00 00 1C */ b lbl_8036ABF8
|
|
|
|
lbl_8036ABE0:
|
|
|
|
/* 8036ABE0 00367B40 80 61 00 08 */ lwz r3, 8(r1)
|
|
|
|
/* 8036ABE4 00367B44 48 00 00 29 */ bl DeallocateStream__10SDSPStreamFv
|
|
|
|
/* 8036ABE8 00367B48 3B E0 FF FF */ li r31, -1
|
|
|
|
lbl_8036ABEC:
|
|
|
|
/* 8036ABEC 00367B4C 7F 83 E3 78 */ mr r3, r28
|
|
|
|
/* 8036ABF0 00367B50 48 01 6A 99 */ bl OSRestoreInterrupts
|
|
|
|
/* 8036ABF4 00367B54 7F E3 FB 78 */ mr r3, r31
|
|
|
|
lbl_8036ABF8:
|
|
|
|
/* 8036ABF8 00367B58 BB 41 00 18 */ lmw r26, 0x18(r1)
|
|
|
|
/* 8036ABFC 00367B5C 80 01 00 34 */ lwz r0, 0x34(r1)
|
|
|
|
/* 8036AC00 00367B60 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 8036AC04 00367B64 38 21 00 30 */ addi r1, r1, 0x30
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 8036AC08 00367B68 4E 80 00 20 */ blr
|
2022-04-16 07:50:32 +00:00
|
|
|
|
|
|
|
.global DeallocateStream__10SDSPStreamFv
|
|
|
|
DeallocateStream__10SDSPStreamFv:
|
|
|
|
/* 8036AC0C 00367B6C 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
|
|
/* 8036AC10 00367B70 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 8036AC14 00367B74 90 01 00 14 */ stw r0, 0x14(r1)
|
|
|
|
/* 8036AC18 00367B78 38 00 00 00 */ li r0, 0
|
|
|
|
/* 8036AC1C 00367B7C 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
|
|
/* 8036AC20 00367B80 7C 7F 1B 78 */ mr r31, r3
|
|
|
|
/* 8036AC24 00367B84 98 03 00 00 */ stb r0, 0(r3)
|
|
|
|
/* 8036AC28 00367B88 88 03 00 01 */ lbz r0, 1(r3)
|
|
|
|
/* 8036AC2C 00367B8C 2C 00 00 01 */ cmpwi r0, 1
|
|
|
|
/* 8036AC30 00367B90 41 82 00 2C */ beq lbl_8036AC5C
|
|
|
|
/* 8036AC34 00367B94 40 80 00 64 */ bge lbl_8036AC98
|
|
|
|
/* 8036AC38 00367B98 2C 00 00 00 */ cmpwi r0, 0
|
|
|
|
/* 8036AC3C 00367B9C 40 80 00 08 */ bge lbl_8036AC44
|
|
|
|
/* 8036AC40 00367BA0 48 00 00 58 */ b lbl_8036AC98
|
|
|
|
lbl_8036AC44:
|
|
|
|
/* 8036AC44 00367BA4 80 7F 00 C8 */ lwz r3, 0xc8(r31)
|
|
|
|
/* 8036AC48 00367BA8 3C 03 00 01 */ addis r0, r3, 1
|
|
|
|
/* 8036AC4C 00367BAC 28 00 FF FF */ cmplwi r0, 0xffff
|
|
|
|
/* 8036AC50 00367BB0 41 82 00 48 */ beq lbl_8036AC98
|
|
|
|
/* 8036AC54 00367BB4 48 03 58 CD */ bl sndStreamDeactivate
|
|
|
|
/* 8036AC58 00367BB8 48 00 00 40 */ b lbl_8036AC98
|
|
|
|
lbl_8036AC5C:
|
|
|
|
/* 8036AC5C 00367BBC 80 7F 00 D4 */ lwz r3, 0xd4(r31)
|
|
|
|
/* 8036AC60 00367BC0 28 03 00 00 */ cmplwi r3, 0
|
|
|
|
/* 8036AC64 00367BC4 41 82 00 34 */ beq lbl_8036AC98
|
|
|
|
/* 8036AC68 00367BC8 4B FA AC C9 */ bl Free__7CMemoryFPCv
|
|
|
|
/* 8036AC6C 00367BCC 38 00 00 00 */ li r0, 0
|
|
|
|
/* 8036AC70 00367BD0 90 1F 00 D4 */ stw r0, 0xd4(r31)
|
|
|
|
/* 8036AC74 00367BD4 80 7F 00 C8 */ lwz r3, 0xc8(r31)
|
|
|
|
/* 8036AC78 00367BD8 3C 03 00 01 */ addis r0, r3, 1
|
|
|
|
/* 8036AC7C 00367BDC 28 00 FF FF */ cmplwi r0, 0xffff
|
|
|
|
/* 8036AC80 00367BE0 41 82 00 18 */ beq lbl_8036AC98
|
|
|
|
/* 8036AC84 00367BE4 48 03 58 9D */ bl sndStreamDeactivate
|
|
|
|
/* 8036AC88 00367BE8 80 7F 00 C8 */ lwz r3, 0xc8(r31)
|
|
|
|
/* 8036AC8C 00367BEC 48 03 4B 69 */ bl sndStreamFree
|
|
|
|
/* 8036AC90 00367BF0 38 00 FF FF */ li r0, -1
|
|
|
|
/* 8036AC94 00367BF4 90 1F 00 C8 */ stw r0, 0xc8(r31)
|
|
|
|
lbl_8036AC98:
|
|
|
|
/* 8036AC98 00367BF8 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
|
|
/* 8036AC9C 00367BFC 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
|
|
/* 8036ACA0 00367C00 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 8036ACA4 00367C04 38 21 00 10 */ addi r1, r1, 0x10
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 8036ACA8 00367C08 4E 80 00 20 */ blr
|
2022-04-16 07:50:32 +00:00
|
|
|
|
|
|
|
.global AllocateMono__10SDSPStreamFRC11SStreamInfocci
|
|
|
|
AllocateMono__10SDSPStreamFRC11SStreamInfocci:
|
|
|
|
/* 8036ACAC 00367C0C 94 21 FF D0 */ stwu r1, -0x30(r1)
|
|
|
|
/* 8036ACB0 00367C10 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 8036ACB4 00367C14 90 01 00 34 */ stw r0, 0x34(r1)
|
|
|
|
/* 8036ACB8 00367C18 BF 61 00 1C */ stmw r27, 0x1c(r1)
|
|
|
|
/* 8036ACBC 00367C1C 7C 7B 1B 78 */ mr r27, r3
|
|
|
|
/* 8036ACC0 00367C20 7C 9C 23 78 */ mr r28, r4
|
|
|
|
/* 8036ACC4 00367C24 7C BD 2B 78 */ mr r29, r5
|
|
|
|
/* 8036ACC8 00367C28 7C DE 33 78 */ mr r30, r6
|
|
|
|
/* 8036ACCC 00367C2C 48 01 69 95 */ bl OSDisableInterrupts
|
|
|
|
/* 8036ACD0 00367C30 7F C4 F3 78 */ mr r4, r30
|
|
|
|
/* 8036ACD4 00367C34 7C 7E 1B 78 */ mr r30, r3
|
|
|
|
/* 8036ACD8 00367C38 38 61 00 08 */ addi r3, r1, 8
|
|
|
|
/* 8036ACDC 00367C3C 48 00 04 31 */ bl PickFreeStream__10SDSPStreamFi
|
|
|
|
/* 8036ACE0 00367C40 7C 7F 1B 78 */ mr r31, r3
|
|
|
|
/* 8036ACE4 00367C44 3C 1F 00 01 */ addis r0, r31, 1
|
|
|
|
/* 8036ACE8 00367C48 28 00 FF FF */ cmplwi r0, 0xffff
|
|
|
|
/* 8036ACEC 00367C4C 41 82 00 60 */ beq lbl_8036AD4C
|
|
|
|
/* 8036ACF0 00367C50 80 61 00 08 */ lwz r3, 8(r1)
|
|
|
|
/* 8036ACF4 00367C54 7F 64 DB 78 */ mr r4, r27
|
|
|
|
/* 8036ACF8 00367C58 7F 85 E3 78 */ mr r5, r28
|
|
|
|
/* 8036ACFC 00367C5C 7F A6 EB 78 */ mr r6, r29
|
|
|
|
/* 8036AD00 00367C60 48 00 00 6D */ bl AllocateStream__10SDSPStreamFi
|
|
|
|
/* 8036AD04 00367C64 7C 60 1B 78 */ mr r0, r3
|
|
|
|
/* 8036AD08 00367C68 7F C3 F3 78 */ mr r3, r30
|
|
|
|
/* 8036AD0C 00367C6C 7C 1E 03 78 */ mr r30, r0
|
|
|
|
/* 8036AD10 00367C70 48 01 69 79 */ bl OSRestoreInterrupts
|
|
|
|
/* 8036AD14 00367C74 80 81 00 08 */ lwz r4, 8(r1)
|
|
|
|
/* 8036AD18 00367C78 80 64 00 10 */ lwz r3, 0x10(r4)
|
|
|
|
/* 8036AD1C 00367C7C 48 00 05 55 */ bl OpenFiles__10SDSPStreamFPCc
|
|
|
|
/* 8036AD20 00367C80 81 01 00 08 */ lwz r8, 8(r1)
|
|
|
|
/* 8036AD24 00367C84 3C 60 80 37 */ lis r3, ReadCompleted__10SDSPStreamFiP11DVDFileInfo@ha
|
|
|
|
/* 8036AD28 00367C88 38 E3 A1 F4 */ addi r7, r3, ReadCompleted__10SDSPStreamFiP11DVDFileInfo@l
|
|
|
|
/* 8036AD2C 00367C8C 7F C5 F3 78 */ mr r5, r30
|
|
|
|
/* 8036AD30 00367C90 80 88 00 D4 */ lwz r4, 0xd4(r8)
|
|
|
|
/* 8036AD34 00367C94 38 68 00 50 */ addi r3, r8, 0x50
|
|
|
|
/* 8036AD38 00367C98 80 C8 00 18 */ lwz r6, 0x18(r8)
|
|
|
|
/* 8036AD3C 00367C9C 39 00 00 01 */ li r8, 1
|
|
|
|
/* 8036AD40 00367CA0 48 00 6C 55 */ bl DVDReadAsyncPrio
|
|
|
|
/* 8036AD44 00367CA4 7F E3 FB 78 */ mr r3, r31
|
|
|
|
/* 8036AD48 00367CA8 48 00 00 10 */ b lbl_8036AD58
|
|
|
|
lbl_8036AD4C:
|
|
|
|
/* 8036AD4C 00367CAC 7F C3 F3 78 */ mr r3, r30
|
|
|
|
/* 8036AD50 00367CB0 48 01 69 39 */ bl OSRestoreInterrupts
|
|
|
|
/* 8036AD54 00367CB4 7F E3 FB 78 */ mr r3, r31
|
|
|
|
lbl_8036AD58:
|
|
|
|
/* 8036AD58 00367CB8 BB 61 00 1C */ lmw r27, 0x1c(r1)
|
|
|
|
/* 8036AD5C 00367CBC 80 01 00 34 */ lwz r0, 0x34(r1)
|
|
|
|
/* 8036AD60 00367CC0 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 8036AD64 00367CC4 38 21 00 30 */ addi r1, r1, 0x30
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 8036AD68 00367CC8 4E 80 00 20 */ blr
|
2022-04-16 07:50:32 +00:00
|
|
|
|
|
|
|
.global AllocateStream__10SDSPStreamFi
|
|
|
|
AllocateStream__10SDSPStreamFi:
|
|
|
|
/* 8036AD6C 00367CCC 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
|
|
/* 8036AD70 00367CD0 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 8036AD74 00367CD4 90 01 00 24 */ stw r0, 0x24(r1)
|
|
|
|
/* 8036AD78 00367CD8 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
|
|
/* 8036AD7C 00367CDC 7C DF 33 78 */ mr r31, r6
|
|
|
|
/* 8036AD80 00367CE0 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
|
|
/* 8036AD84 00367CE4 7C BE 2B 78 */ mr r30, r5
|
|
|
|
/* 8036AD88 00367CE8 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
|
|
/* 8036AD8C 00367CEC 7C 7D 1B 78 */ mr r29, r3
|
|
|
|
/* 8036AD90 00367CF0 80 04 00 00 */ lwz r0, 0(r4)
|
|
|
|
/* 8036AD94 00367CF4 90 03 00 10 */ stw r0, 0x10(r3)
|
|
|
|
/* 8036AD98 00367CF8 A0 04 00 04 */ lhz r0, 4(r4)
|
|
|
|
/* 8036AD9C 00367CFC B0 03 00 14 */ sth r0, 0x14(r3)
|
|
|
|
/* 8036ADA0 00367D00 80 04 00 08 */ lwz r0, 8(r4)
|
|
|
|
/* 8036ADA4 00367D04 90 03 00 18 */ stw r0, 0x18(r3)
|
|
|
|
/* 8036ADA8 00367D08 80 04 00 0C */ lwz r0, 0xc(r4)
|
|
|
|
/* 8036ADAC 00367D0C 90 03 00 1C */ stw r0, 0x1c(r3)
|
|
|
|
/* 8036ADB0 00367D10 88 04 00 10 */ lbz r0, 0x10(r4)
|
|
|
|
/* 8036ADB4 00367D14 98 03 00 20 */ stb r0, 0x20(r3)
|
|
|
|
/* 8036ADB8 00367D18 80 04 00 14 */ lwz r0, 0x14(r4)
|
|
|
|
/* 8036ADBC 00367D1C 90 03 00 24 */ stw r0, 0x24(r3)
|
|
|
|
/* 8036ADC0 00367D20 80 04 00 18 */ lwz r0, 0x18(r4)
|
|
|
|
/* 8036ADC4 00367D24 90 03 00 28 */ stw r0, 0x28(r3)
|
|
|
|
/* 8036ADC8 00367D28 80 A4 00 1C */ lwz r5, 0x1c(r4)
|
|
|
|
/* 8036ADCC 00367D2C 80 04 00 20 */ lwz r0, 0x20(r4)
|
|
|
|
/* 8036ADD0 00367D30 90 A3 00 2C */ stw r5, 0x2c(r3)
|
|
|
|
/* 8036ADD4 00367D34 90 03 00 30 */ stw r0, 0x30(r3)
|
|
|
|
/* 8036ADD8 00367D38 80 A4 00 24 */ lwz r5, 0x24(r4)
|
|
|
|
/* 8036ADDC 00367D3C 80 04 00 28 */ lwz r0, 0x28(r4)
|
|
|
|
/* 8036ADE0 00367D40 90 A3 00 34 */ stw r5, 0x34(r3)
|
|
|
|
/* 8036ADE4 00367D44 90 03 00 38 */ stw r0, 0x38(r3)
|
|
|
|
/* 8036ADE8 00367D48 80 A4 00 2C */ lwz r5, 0x2c(r4)
|
|
|
|
/* 8036ADEC 00367D4C 80 04 00 30 */ lwz r0, 0x30(r4)
|
|
|
|
/* 8036ADF0 00367D50 90 A3 00 3C */ stw r5, 0x3c(r3)
|
|
|
|
/* 8036ADF4 00367D54 90 03 00 40 */ stw r0, 0x40(r3)
|
|
|
|
/* 8036ADF8 00367D58 80 A4 00 34 */ lwz r5, 0x34(r4)
|
|
|
|
/* 8036ADFC 00367D5C 80 04 00 38 */ lwz r0, 0x38(r4)
|
|
|
|
/* 8036AE00 00367D60 90 A3 00 44 */ stw r5, 0x44(r3)
|
|
|
|
/* 8036AE04 00367D64 90 03 00 48 */ stw r0, 0x48(r3)
|
|
|
|
/* 8036AE08 00367D68 80 03 00 D4 */ lwz r0, 0xd4(r3)
|
|
|
|
/* 8036AE0C 00367D6C 28 00 00 00 */ cmplwi r0, 0
|
|
|
|
/* 8036AE10 00367D70 40 82 00 08 */ bne lbl_8036AE18
|
|
|
|
/* 8036AE14 00367D74 48 00 01 B5 */ bl DoAllocateStream__10SDSPStreamFi
|
|
|
|
lbl_8036AE18:
|
|
|
|
/* 8036AE18 00367D78 9B DD 00 4C */ stb r30, 0x4c(r29)
|
|
|
|
/* 8036AE1C 00367D7C 3C 60 00 01 */ lis r3, 0x00011DC0@ha
|
|
|
|
/* 8036AE20 00367D80 38 80 00 01 */ li r4, 1
|
|
|
|
/* 8036AE24 00367D84 38 00 00 00 */ li r0, 0
|
|
|
|
/* 8036AE28 00367D88 9B FD 00 4D */ stb r31, 0x4d(r29)
|
|
|
|
/* 8036AE2C 00367D8C 38 63 1D C0 */ addi r3, r3, 0x00011DC0@l
|
|
|
|
/* 8036AE30 00367D90 90 9D 00 E4 */ stw r4, 0xe4(r29)
|
|
|
|
/* 8036AE34 00367D94 90 1D 00 E8 */ stw r0, 0xe8(r29)
|
|
|
|
/* 8036AE38 00367D98 90 1D 00 F0 */ stw r0, 0xf0(r29)
|
|
|
|
/* 8036AE3C 00367D9C 98 9D 00 EC */ stb r4, 0xec(r29)
|
|
|
|
/* 8036AE40 00367DA0 98 9D 00 E0 */ stb r4, 0xe0(r29)
|
|
|
|
/* 8036AE44 00367DA4 90 7D 00 D8 */ stw r3, 0xd8(r29)
|
|
|
|
/* 8036AE48 00367DA8 80 1D 00 D8 */ lwz r0, 0xd8(r29)
|
|
|
|
/* 8036AE4C 00367DAC 54 00 E8 FE */ srwi r0, r0, 3
|
|
|
|
/* 8036AE50 00367DB0 1C 00 00 0E */ mulli r0, r0, 0xe
|
|
|
|
/* 8036AE54 00367DB4 90 1D 00 DC */ stw r0, 0xdc(r29)
|
|
|
|
/* 8036AE58 00367DB8 80 1D 00 D8 */ lwz r0, 0xd8(r29)
|
|
|
|
/* 8036AE5C 00367DBC 7C 00 18 40 */ cmplw r0, r3
|
|
|
|
/* 8036AE60 00367DC0 40 81 00 08 */ ble lbl_8036AE68
|
|
|
|
/* 8036AE64 00367DC4 90 7D 00 D8 */ stw r3, 0xd8(r29)
|
|
|
|
lbl_8036AE68:
|
|
|
|
/* 8036AE68 00367DC8 80 1D 00 D8 */ lwz r0, 0xd8(r29)
|
|
|
|
/* 8036AE6C 00367DCC 54 04 F8 7E */ srwi r4, r0, 1
|
|
|
|
/* 8036AE70 00367DD0 90 9D 00 CC */ stw r4, 0xcc(r29)
|
|
|
|
/* 8036AE74 00367DD4 80 1D 00 1C */ lwz r0, 0x1c(r29)
|
|
|
|
/* 8036AE78 00367DD8 90 1D 00 D0 */ stw r0, 0xd0(r29)
|
|
|
|
/* 8036AE7C 00367DDC 80 7D 00 D0 */ lwz r3, 0xd0(r29)
|
|
|
|
/* 8036AE80 00367DE0 7C 03 20 40 */ cmplw r3, r4
|
|
|
|
/* 8036AE84 00367DE4 40 80 00 20 */ bge lbl_8036AEA4
|
|
|
|
/* 8036AE88 00367DE8 80 1D 00 D4 */ lwz r0, 0xd4(r29)
|
|
|
|
/* 8036AE8C 00367DEC 7C 7E 1B 78 */ mr r30, r3
|
|
|
|
/* 8036AE90 00367DF0 7C A3 20 50 */ subf r5, r3, r4
|
|
|
|
/* 8036AE94 00367DF4 38 80 00 00 */ li r4, 0
|
|
|
|
/* 8036AE98 00367DF8 7C 60 1A 14 */ add r3, r0, r3
|
|
|
|
/* 8036AE9C 00367DFC 4B C9 85 0D */ bl memset
|
|
|
|
/* 8036AEA0 00367E00 48 00 00 08 */ b lbl_8036AEA8
|
|
|
|
lbl_8036AEA4:
|
|
|
|
/* 8036AEA4 00367E04 7C 9E 23 78 */ mr r30, r4
|
|
|
|
lbl_8036AEA8:
|
|
|
|
/* 8036AEA8 00367E08 38 00 00 02 */ li r0, 2
|
|
|
|
/* 8036AEAC 00367E0C 7F C3 F3 78 */ mr r3, r30
|
|
|
|
/* 8036AEB0 00367E10 98 1D 00 00 */ stb r0, 0(r29)
|
|
|
|
/* 8036AEB4 00367E14 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
|
|
/* 8036AEB8 00367E18 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
|
|
/* 8036AEBC 00367E1C 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
|
|
/* 8036AEC0 00367E20 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
|
|
/* 8036AEC4 00367E24 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 8036AEC8 00367E28 38 21 00 20 */ addi r1, r1, 0x20
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 8036AECC 00367E2C 4E 80 00 20 */ blr
|
2022-04-16 07:50:32 +00:00
|
|
|
|
|
|
|
.global FreeAllStreams__10SDSPStreamFi
|
|
|
|
FreeAllStreams__10SDSPStreamFi:
|
|
|
|
/* 8036AED0 00367E30 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
|
|
/* 8036AED4 00367E34 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 8036AED8 00367E38 3C 60 80 54 */ lis r3, lbl_80540640@ha
|
|
|
|
/* 8036AEDC 00367E3C 90 01 00 14 */ stw r0, 0x14(r1)
|
|
|
|
/* 8036AEE0 00367E40 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
|
|
/* 8036AEE4 00367E44 3B E3 06 40 */ addi r31, r3, lbl_80540640@l
|
|
|
|
/* 8036AEE8 00367E48 93 C1 00 08 */ stw r30, 8(r1)
|
|
|
|
/* 8036AEEC 00367E4C 3B C0 00 00 */ li r30, 0
|
|
|
|
lbl_8036AEF0:
|
|
|
|
/* 8036AEF0 00367E50 80 7F 00 C8 */ lwz r3, 0xc8(r31)
|
|
|
|
/* 8036AEF4 00367E54 48 03 49 01 */ bl sndStreamFree
|
|
|
|
/* 8036AEF8 00367E58 80 7F 00 D4 */ lwz r3, 0xd4(r31)
|
|
|
|
/* 8036AEFC 00367E5C 4B FA AA 35 */ bl Free__7CMemoryFPCv
|
|
|
|
/* 8036AF00 00367E60 3B DE 00 01 */ addi r30, r30, 1
|
|
|
|
/* 8036AF04 00367E64 3B FF 00 F4 */ addi r31, r31, 0xf4
|
|
|
|
/* 8036AF08 00367E68 28 1E 00 04 */ cmplwi r30, 4
|
|
|
|
/* 8036AF0C 00367E6C 41 80 FF E4 */ blt lbl_8036AEF0
|
|
|
|
/* 8036AF10 00367E70 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
|
|
/* 8036AF14 00367E74 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
|
|
/* 8036AF18 00367E78 83 C1 00 08 */ lwz r30, 8(r1)
|
|
|
|
/* 8036AF1C 00367E7C 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 8036AF20 00367E80 38 21 00 10 */ addi r1, r1, 0x10
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 8036AF24 00367E84 4E 80 00 20 */ blr
|
2022-04-16 07:50:32 +00:00
|
|
|
|
|
|
|
.global Initialize__10SDSPStreamFv
|
|
|
|
Initialize__10SDSPStreamFv:
|
|
|
|
/* 8036AF28 00367E88 94 21 FF D0 */ stwu r1, -0x30(r1)
|
|
|
|
/* 8036AF2C 00367E8C 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 8036AF30 00367E90 3C 60 80 54 */ lis r3, lbl_80540640@ha
|
|
|
|
/* 8036AF34 00367E94 3C 80 00 01 */ lis r4, 0x00011DC0@ha
|
|
|
|
/* 8036AF38 00367E98 90 01 00 34 */ stw r0, 0x34(r1)
|
|
|
|
/* 8036AF3C 00367E9C BF 21 00 14 */ stmw r25, 0x14(r1)
|
|
|
|
/* 8036AF40 00367EA0 3B 43 06 40 */ addi r26, r3, lbl_80540640@l
|
|
|
|
/* 8036AF44 00367EA4 3C 60 00 02 */ lis r3, 0x0001F410@ha
|
|
|
|
/* 8036AF48 00367EA8 3B 84 1D C0 */ addi r28, r4, 0x00011DC0@l
|
|
|
|
/* 8036AF4C 00367EAC 3B A3 F4 10 */ addi r29, r3, 0x0001F410@l
|
|
|
|
/* 8036AF50 00367EB0 3B 20 00 00 */ li r25, 0
|
|
|
|
/* 8036AF54 00367EB4 3B 60 00 00 */ li r27, 0
|
|
|
|
/* 8036AF58 00367EB8 3B C0 FF FF */ li r30, -1
|
|
|
|
/* 8036AF5C 00367EBC 3B E0 00 01 */ li r31, 1
|
|
|
|
lbl_8036AF60:
|
|
|
|
/* 8036AF60 00367EC0 9B 7A 00 00 */ stb r27, 0(r26)
|
|
|
|
/* 8036AF64 00367EC4 28 19 00 02 */ cmplwi r25, 2
|
|
|
|
/* 8036AF68 00367EC8 93 7A 00 D4 */ stw r27, 0xd4(r26)
|
|
|
|
/* 8036AF6C 00367ECC 93 9A 00 D8 */ stw r28, 0xd8(r26)
|
|
|
|
/* 8036AF70 00367ED0 93 BA 00 DC */ stw r29, 0xdc(r26)
|
|
|
|
/* 8036AF74 00367ED4 93 DA 00 C8 */ stw r30, 0xc8(r26)
|
|
|
|
/* 8036AF78 00367ED8 40 80 00 14 */ bge lbl_8036AF8C
|
|
|
|
/* 8036AF7C 00367EDC 9B 7A 00 01 */ stb r27, 1(r26)
|
|
|
|
/* 8036AF80 00367EE0 7F 43 D3 78 */ mr r3, r26
|
|
|
|
/* 8036AF84 00367EE4 48 00 00 45 */ bl DoAllocateStream__10SDSPStreamFi
|
|
|
|
/* 8036AF88 00367EE8 48 00 00 08 */ b lbl_8036AF90
|
|
|
|
lbl_8036AF8C:
|
|
|
|
/* 8036AF8C 00367EEC 9B FA 00 01 */ stb r31, 1(r26)
|
|
|
|
lbl_8036AF90:
|
|
|
|
/* 8036AF90 00367EF0 3B 39 00 01 */ addi r25, r25, 1
|
|
|
|
/* 8036AF94 00367EF4 3B 5A 00 F4 */ addi r26, r26, 0xf4
|
|
|
|
/* 8036AF98 00367EF8 28 19 00 04 */ cmplwi r25, 4
|
|
|
|
/* 8036AF9C 00367EFC 41 80 FF C4 */ blt lbl_8036AF60
|
|
|
|
/* 8036AFA0 00367F00 3C 60 80 54 */ lis r3, lbl_80540640@ha
|
|
|
|
/* 8036AFA4 00367F04 38 00 00 00 */ li r0, 0
|
|
|
|
/* 8036AFA8 00367F08 38 63 06 40 */ addi r3, r3, lbl_80540640@l
|
|
|
|
/* 8036AFAC 00367F0C 90 03 03 D0 */ stw r0, 0x3d0(r3)
|
|
|
|
/* 8036AFB0 00367F10 90 03 03 D8 */ stw r0, 0x3d8(r3)
|
|
|
|
/* 8036AFB4 00367F14 BB 21 00 14 */ lmw r25, 0x14(r1)
|
|
|
|
/* 8036AFB8 00367F18 80 01 00 34 */ lwz r0, 0x34(r1)
|
|
|
|
/* 8036AFBC 00367F1C 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 8036AFC0 00367F20 38 21 00 30 */ addi r1, r1, 0x30
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 8036AFC4 00367F24 4E 80 00 20 */ blr
|
2022-04-16 07:50:32 +00:00
|
|
|
|
|
|
|
.global DoAllocateStream__10SDSPStreamFi
|
|
|
|
DoAllocateStream__10SDSPStreamFi:
|
|
|
|
/* 8036AFC8 00367F28 94 21 FF D0 */ stwu r1, -0x30(r1)
|
|
|
|
/* 8036AFCC 00367F2C 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 8036AFD0 00367F30 3C A0 80 3E */ lis r5, lbl_803D8558@ha
|
|
|
|
/* 8036AFD4 00367F34 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha
|
|
|
|
/* 8036AFD8 00367F38 90 01 00 34 */ stw r0, 0x34(r1)
|
|
|
|
/* 8036AFDC 00367F3C 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l
|
|
|
|
/* 8036AFE0 00367F40 38 A5 85 58 */ addi r5, r5, lbl_803D8558@l
|
|
|
|
/* 8036AFE4 00367F44 38 80 FF FF */ li r4, -1
|
|
|
|
/* 8036AFE8 00367F48 93 E1 00 2C */ stw r31, 0x2c(r1)
|
|
|
|
/* 8036AFEC 00367F4C 7C 7F 1B 78 */ mr r31, r3
|
|
|
|
/* 8036AFF0 00367F50 38 61 00 20 */ addi r3, r1, 0x20
|
|
|
|
/* 8036AFF4 00367F54 4B F6 B3 E1 */ bl __ct__10CCallStackFUiPCcPCc
|
|
|
|
/* 8036AFF8 00367F58 3C A0 00 01 */ lis r5, 0x00011DC0@ha
|
|
|
|
/* 8036AFFC 00367F5C 7C 67 1B 78 */ mr r7, r3
|
|
|
|
/* 8036B000 00367F60 38 65 1D C0 */ addi r3, r5, 0x00011DC0@l
|
|
|
|
/* 8036B004 00367F64 38 80 00 02 */ li r4, 2
|
|
|
|
/* 8036B008 00367F68 38 A0 00 01 */ li r5, 1
|
|
|
|
/* 8036B00C 00367F6C 38 C0 00 00 */ li r6, 0
|
|
|
|
/* 8036B010 00367F70 4B FA A9 85 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack
|
|
|
|
/* 8036B014 00367F74 90 7F 00 D4 */ stw r3, 0xd4(r31)
|
|
|
|
/* 8036B018 00367F78 38 A0 00 00 */ li r5, 0
|
|
|
|
/* 8036B01C 00367F7C 3C 80 00 03 */ lis r4, 0x00030001@ha
|
|
|
|
/* 8036B020 00367F80 3C 60 80 37 */ lis r3, UpdateStream__10SDSPStreamFPviPvii@ha
|
|
|
|
/* 8036B024 00367F84 90 A1 00 08 */ stw r5, 8(r1)
|
|
|
|
/* 8036B028 00367F88 38 84 00 01 */ addi r4, r4, 0x00030001@l
|
|
|
|
/* 8036B02C 00367F8C 38 03 A5 20 */ addi r0, r3, UpdateStream__10SDSPStreamFPviPvii@l
|
|
|
|
/* 8036B030 00367F90 38 60 00 FF */ li r3, 0xff
|
|
|
|
/* 8036B034 00367F94 90 A1 00 0C */ stw r5, 0xc(r1)
|
|
|
|
/* 8036B038 00367F98 38 C0 7D 00 */ li r6, 0x7d00
|
|
|
|
/* 8036B03C 00367F9C 38 E0 00 00 */ li r7, 0
|
|
|
|
/* 8036B040 00367FA0 39 00 00 40 */ li r8, 0x40
|
|
|
|
/* 8036B044 00367FA4 90 81 00 10 */ stw r4, 0x10(r1)
|
|
|
|
/* 8036B048 00367FA8 39 20 00 00 */ li r9, 0
|
|
|
|
/* 8036B04C 00367FAC 39 40 00 00 */ li r10, 0
|
|
|
|
/* 8036B050 00367FB0 90 01 00 14 */ stw r0, 0x14(r1)
|
|
|
|
/* 8036B054 00367FB4 93 E1 00 18 */ stw r31, 0x18(r1)
|
|
|
|
/* 8036B058 00367FB8 90 A1 00 1C */ stw r5, 0x1c(r1)
|
|
|
|
/* 8036B05C 00367FBC 80 9F 00 D4 */ lwz r4, 0xd4(r31)
|
|
|
|
/* 8036B060 00367FC0 80 BF 00 DC */ lwz r5, 0xdc(r31)
|
|
|
|
/* 8036B064 00367FC4 48 03 28 69 */ bl sndStreamAllocEx
|
|
|
|
/* 8036B068 00367FC8 90 7F 00 C8 */ stw r3, 0xc8(r31)
|
|
|
|
/* 8036B06C 00367FCC 80 01 00 34 */ lwz r0, 0x34(r1)
|
|
|
|
/* 8036B070 00367FD0 83 E1 00 2C */ lwz r31, 0x2c(r1)
|
|
|
|
/* 8036B074 00367FD4 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 8036B078 00367FD8 38 21 00 30 */ addi r1, r1, 0x30
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 8036B07C 00367FDC 4E 80 00 20 */ blr
|
2022-04-16 07:50:32 +00:00
|
|
|
|
|
|
|
.global FindStreamIdx__10SDSPStreamFi
|
|
|
|
FindStreamIdx__10SDSPStreamFi:
|
|
|
|
/* 8036B080 00367FE0 3C 80 80 54 */ lis r4, lbl_80540640@ha
|
|
|
|
/* 8036B084 00367FE4 8C 04 06 40 */ lbzu r0, lbl_80540640@l(r4)
|
|
|
|
/* 8036B088 00367FE8 28 00 00 00 */ cmplwi r0, 0
|
|
|
|
/* 8036B08C 00367FEC 41 82 00 18 */ beq lbl_8036B0A4
|
|
|
|
/* 8036B090 00367FF0 80 04 00 04 */ lwz r0, 4(r4)
|
|
|
|
/* 8036B094 00367FF4 7C 03 00 40 */ cmplw r3, r0
|
|
|
|
/* 8036B098 00367FF8 40 82 00 0C */ bne lbl_8036B0A4
|
|
|
|
/* 8036B09C 00367FFC 38 60 00 00 */ li r3, 0
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 8036B0A0 00368000 4E 80 00 20 */ blr
|
2022-04-16 07:50:32 +00:00
|
|
|
lbl_8036B0A4:
|
|
|
|
/* 8036B0A4 00368004 8C 04 00 F4 */ lbzu r0, 0xf4(r4)
|
|
|
|
/* 8036B0A8 00368008 28 00 00 00 */ cmplwi r0, 0
|
|
|
|
/* 8036B0AC 0036800C 41 82 00 18 */ beq lbl_8036B0C4
|
|
|
|
/* 8036B0B0 00368010 80 04 00 04 */ lwz r0, 4(r4)
|
|
|
|
/* 8036B0B4 00368014 7C 03 00 40 */ cmplw r3, r0
|
|
|
|
/* 8036B0B8 00368018 40 82 00 0C */ bne lbl_8036B0C4
|
|
|
|
/* 8036B0BC 0036801C 38 60 00 01 */ li r3, 1
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 8036B0C0 00368020 4E 80 00 20 */ blr
|
2022-04-16 07:50:32 +00:00
|
|
|
lbl_8036B0C4:
|
|
|
|
/* 8036B0C4 00368024 8C 04 00 F4 */ lbzu r0, 0xf4(r4)
|
|
|
|
/* 8036B0C8 00368028 28 00 00 00 */ cmplwi r0, 0
|
|
|
|
/* 8036B0CC 0036802C 41 82 00 18 */ beq lbl_8036B0E4
|
|
|
|
/* 8036B0D0 00368030 80 04 00 04 */ lwz r0, 4(r4)
|
|
|
|
/* 8036B0D4 00368034 7C 03 00 40 */ cmplw r3, r0
|
|
|
|
/* 8036B0D8 00368038 40 82 00 0C */ bne lbl_8036B0E4
|
|
|
|
/* 8036B0DC 0036803C 38 60 00 02 */ li r3, 2
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 8036B0E0 00368040 4E 80 00 20 */ blr
|
2022-04-16 07:50:32 +00:00
|
|
|
lbl_8036B0E4:
|
|
|
|
/* 8036B0E4 00368044 8C 04 00 F4 */ lbzu r0, 0xf4(r4)
|
|
|
|
/* 8036B0E8 00368048 28 00 00 00 */ cmplwi r0, 0
|
|
|
|
/* 8036B0EC 0036804C 41 82 00 18 */ beq lbl_8036B104
|
|
|
|
/* 8036B0F0 00368050 80 04 00 04 */ lwz r0, 4(r4)
|
|
|
|
/* 8036B0F4 00368054 7C 03 00 40 */ cmplw r3, r0
|
|
|
|
/* 8036B0F8 00368058 40 82 00 0C */ bne lbl_8036B104
|
|
|
|
/* 8036B0FC 0036805C 38 60 00 03 */ li r3, 3
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 8036B100 00368060 4E 80 00 20 */ blr
|
2022-04-16 07:50:32 +00:00
|
|
|
lbl_8036B104:
|
|
|
|
/* 8036B104 00368064 38 60 FF FF */ li r3, -1
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 8036B108 00368068 4E 80 00 20 */ blr
|
2022-04-16 07:50:32 +00:00
|
|
|
|
|
|
|
.global PickFreeStream__10SDSPStreamFi
|
|
|
|
PickFreeStream__10SDSPStreamFi:
|
|
|
|
/* 8036B10C 0036806C 3C A0 80 54 */ lis r5, lbl_80540640@ha
|
|
|
|
/* 8036B110 00368070 38 00 00 04 */ li r0, 4
|
|
|
|
/* 8036B114 00368074 38 E5 06 40 */ addi r7, r5, lbl_80540640@l
|
|
|
|
/* 8036B118 00368078 39 00 00 00 */ li r8, 0
|
|
|
|
/* 8036B11C 0036807C 7C E5 3B 78 */ mr r5, r7
|
|
|
|
/* 8036B120 00368080 7C 09 03 A6 */ mtctr r0
|
|
|
|
lbl_8036B124:
|
|
|
|
/* 8036B124 00368084 88 05 00 00 */ lbz r0, 0(r5)
|
|
|
|
/* 8036B128 00368088 28 00 00 00 */ cmplwi r0, 0
|
|
|
|
/* 8036B12C 0036808C 40 82 00 F8 */ bne lbl_8036B224
|
|
|
|
/* 8036B130 00368090 88 05 00 01 */ lbz r0, 1(r5)
|
|
|
|
/* 8036B134 00368094 7C 04 00 00 */ cmpw r4, r0
|
|
|
|
/* 8036B138 00368098 40 82 00 EC */ bne lbl_8036B224
|
|
|
|
/* 8036B13C 0036809C 3C 80 80 54 */ lis r4, lbl_80540640@ha
|
|
|
|
/* 8036B140 003680A0 38 C4 06 40 */ addi r6, r4, lbl_80540640@l
|
|
|
|
lbl_8036B144:
|
|
|
|
/* 8036B144 003680A4 80 A6 03 D0 */ lwz r5, 0x3d0(r6)
|
|
|
|
/* 8036B148 003680A8 3C 05 00 01 */ addis r0, r5, 1
|
|
|
|
/* 8036B14C 003680AC 38 85 00 01 */ addi r4, r5, 1
|
|
|
|
/* 8036B150 003680B0 28 00 FF FF */ cmplwi r0, 0xffff
|
|
|
|
/* 8036B154 003680B4 90 86 03 D0 */ stw r4, 0x3d0(r6)
|
|
|
|
/* 8036B158 003680B8 7C A9 2B 78 */ mr r9, r5
|
|
|
|
/* 8036B15C 003680BC 40 82 00 10 */ bne lbl_8036B16C
|
|
|
|
/* 8036B160 003680C0 38 04 00 01 */ addi r0, r4, 1
|
|
|
|
/* 8036B164 003680C4 7C 89 23 78 */ mr r9, r4
|
|
|
|
/* 8036B168 003680C8 90 06 03 D0 */ stw r0, 0x3d0(r6)
|
|
|
|
lbl_8036B16C:
|
|
|
|
/* 8036B16C 003680CC 88 07 00 00 */ lbz r0, 0(r7)
|
|
|
|
/* 8036B170 003680D0 38 A0 00 00 */ li r5, 0
|
|
|
|
/* 8036B174 003680D4 28 00 00 00 */ cmplwi r0, 0
|
|
|
|
/* 8036B178 003680D8 41 82 00 10 */ beq lbl_8036B188
|
|
|
|
/* 8036B17C 003680DC 80 07 00 04 */ lwz r0, 4(r7)
|
|
|
|
/* 8036B180 003680E0 7C 09 00 40 */ cmplw r9, r0
|
|
|
|
/* 8036B184 003680E4 41 82 00 64 */ beq lbl_8036B1E8
|
|
|
|
lbl_8036B188:
|
|
|
|
/* 8036B188 003680E8 38 87 00 F4 */ addi r4, r7, 0xf4
|
|
|
|
/* 8036B18C 003680EC 38 A0 00 01 */ li r5, 1
|
|
|
|
/* 8036B190 003680F0 88 07 00 F4 */ lbz r0, 0xf4(r7)
|
|
|
|
/* 8036B194 003680F4 28 00 00 00 */ cmplwi r0, 0
|
|
|
|
/* 8036B198 003680F8 41 82 00 10 */ beq lbl_8036B1A8
|
|
|
|
/* 8036B19C 003680FC 80 04 00 04 */ lwz r0, 4(r4)
|
|
|
|
/* 8036B1A0 00368100 7C 09 00 40 */ cmplw r9, r0
|
|
|
|
/* 8036B1A4 00368104 41 82 00 44 */ beq lbl_8036B1E8
|
|
|
|
lbl_8036B1A8:
|
|
|
|
/* 8036B1A8 00368108 8C 04 00 F4 */ lbzu r0, 0xf4(r4)
|
|
|
|
/* 8036B1AC 0036810C 38 A0 00 02 */ li r5, 2
|
|
|
|
/* 8036B1B0 00368110 28 00 00 00 */ cmplwi r0, 0
|
|
|
|
/* 8036B1B4 00368114 41 82 00 10 */ beq lbl_8036B1C4
|
|
|
|
/* 8036B1B8 00368118 80 04 00 04 */ lwz r0, 4(r4)
|
|
|
|
/* 8036B1BC 0036811C 7C 09 00 40 */ cmplw r9, r0
|
|
|
|
/* 8036B1C0 00368120 41 82 00 28 */ beq lbl_8036B1E8
|
|
|
|
lbl_8036B1C4:
|
|
|
|
/* 8036B1C4 00368124 88 04 00 F4 */ lbz r0, 0xf4(r4)
|
|
|
|
/* 8036B1C8 00368128 38 A0 00 03 */ li r5, 3
|
|
|
|
/* 8036B1CC 0036812C 38 84 00 F4 */ addi r4, r4, 0xf4
|
|
|
|
/* 8036B1D0 00368130 28 00 00 00 */ cmplwi r0, 0
|
|
|
|
/* 8036B1D4 00368134 41 82 00 10 */ beq lbl_8036B1E4
|
|
|
|
/* 8036B1D8 00368138 80 04 00 04 */ lwz r0, 4(r4)
|
|
|
|
/* 8036B1DC 0036813C 7C 09 00 40 */ cmplw r9, r0
|
|
|
|
/* 8036B1E0 00368140 41 82 00 08 */ beq lbl_8036B1E8
|
|
|
|
lbl_8036B1E4:
|
|
|
|
/* 8036B1E4 00368144 38 A0 00 04 */ li r5, 4
|
|
|
|
lbl_8036B1E8:
|
|
|
|
/* 8036B1E8 00368148 28 05 00 04 */ cmplwi r5, 4
|
|
|
|
/* 8036B1EC 0036814C 40 82 FF 58 */ bne lbl_8036B144
|
|
|
|
/* 8036B1F0 00368150 1C C8 00 F4 */ mulli r6, r8, 0xf4
|
|
|
|
/* 8036B1F4 00368154 3C 80 80 54 */ lis r4, lbl_80540640@ha
|
|
|
|
/* 8036B1F8 00368158 38 A0 00 01 */ li r5, 1
|
|
|
|
/* 8036B1FC 0036815C 38 04 06 40 */ addi r0, r4, lbl_80540640@l
|
|
|
|
/* 8036B200 00368160 7C 80 32 14 */ add r4, r0, r6
|
|
|
|
/* 8036B204 00368164 38 00 00 00 */ li r0, 0
|
|
|
|
/* 8036B208 00368168 98 A4 00 00 */ stb r5, 0(r4)
|
|
|
|
/* 8036B20C 0036816C 91 24 00 04 */ stw r9, 4(r4)
|
|
|
|
/* 8036B210 00368170 90 04 00 08 */ stw r0, 8(r4)
|
|
|
|
/* 8036B214 00368174 90 04 00 0C */ stw r0, 0xc(r4)
|
|
|
|
/* 8036B218 00368178 90 83 00 00 */ stw r4, 0(r3)
|
|
|
|
/* 8036B21C 0036817C 7D 23 4B 78 */ mr r3, r9
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 8036B220 00368180 4E 80 00 20 */ blr
|
2022-04-16 07:50:32 +00:00
|
|
|
lbl_8036B224:
|
|
|
|
/* 8036B224 00368184 38 A5 00 F4 */ addi r5, r5, 0xf4
|
|
|
|
/* 8036B228 00368188 39 08 00 01 */ addi r8, r8, 1
|
|
|
|
/* 8036B22C 0036818C 42 00 FE F8 */ bdnz lbl_8036B124
|
|
|
|
/* 8036B230 00368190 38 60 FF FF */ li r3, -1
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 8036B234 00368194 4E 80 00 20 */ blr
|
2022-04-16 07:50:32 +00:00
|
|
|
|
|
|
|
.global CloseFiles__10SDSPStreamFv
|
|
|
|
CloseFiles__10SDSPStreamFv:
|
|
|
|
/* 8036B238 00368198 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
|
|
/* 8036B23C 0036819C 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 8036B240 003681A0 90 01 00 14 */ stw r0, 0x14(r1)
|
|
|
|
/* 8036B244 003681A4 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
|
|
/* 8036B248 003681A8 7C 7F 1B 78 */ mr r31, r3
|
|
|
|
/* 8036B24C 003681AC 38 7F 00 50 */ addi r3, r31, 0x50
|
|
|
|
/* 8036B250 003681B0 48 00 64 FD */ bl DVDClose
|
|
|
|
/* 8036B254 003681B4 38 7F 00 8C */ addi r3, r31, 0x8c
|
|
|
|
/* 8036B258 003681B8 48 00 64 F5 */ bl DVDClose
|
|
|
|
/* 8036B25C 003681BC 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
|
|
/* 8036B260 003681C0 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
|
|
/* 8036B264 003681C4 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 8036B268 003681C8 38 21 00 10 */ addi r1, r1, 0x10
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 8036B26C 003681CC 4E 80 00 20 */ blr
|
2022-04-16 07:50:32 +00:00
|
|
|
|
|
|
|
.global OpenFiles__10SDSPStreamFPCc
|
|
|
|
OpenFiles__10SDSPStreamFPCc:
|
|
|
|
/* 8036B270 003681D0 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
|
|
/* 8036B274 003681D4 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 8036B278 003681D8 90 01 00 14 */ stw r0, 0x14(r1)
|
|
|
|
/* 8036B27C 003681DC 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
|
|
/* 8036B280 003681E0 7C 9F 23 78 */ mr r31, r4
|
|
|
|
/* 8036B284 003681E4 38 9F 00 50 */ addi r4, r31, 0x50
|
|
|
|
/* 8036B288 003681E8 93 C1 00 08 */ stw r30, 8(r1)
|
|
|
|
/* 8036B28C 003681EC 7C 7E 1B 78 */ mr r30, r3
|
|
|
|
/* 8036B290 003681F0 48 00 63 F5 */ bl DVDOpen
|
|
|
|
/* 8036B294 003681F4 7F C3 F3 78 */ mr r3, r30
|
|
|
|
/* 8036B298 003681F8 38 9F 00 8C */ addi r4, r31, 0x8c
|
|
|
|
/* 8036B29C 003681FC 48 00 63 E9 */ bl DVDOpen
|
|
|
|
/* 8036B2A0 00368200 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
|
|
/* 8036B2A4 00368204 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
|
|
/* 8036B2A8 00368208 83 C1 00 08 */ lwz r30, 8(r1)
|
|
|
|
/* 8036B2AC 0036820C 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 8036B2B0 00368210 38 21 00 10 */ addi r1, r1, 0x10
|
|
|
|
/* 8036B2B4 00368214 4E 80 00 20 */ blr
|
2022-07-18 05:21:27 +00:00
|
|
|
|
|
|
|
.section .rodata
|
2022-08-10 23:08:58 +00:00
|
|
|
.balign 8
|
2022-07-18 05:21:27 +00:00
|
|
|
.global lbl_803D8558
|
|
|
|
lbl_803D8558:
|
|
|
|
# ROM: 0x3D5558
|
|
|
|
.asciz "??(??)"
|
|
|
|
.balign 4
|
|
|
|
|